Under the infinitesimal model, with per-s.d. effect sizes β ~ N(0, D), BLUP effect sizes are:
where GraphLD approximates
import polars as pl
import graphld as gld
sumstats_with_weights: pl.DataFrame = gld.run_blup(
ldgm_metadata_path="data/metadata.csv",
sumstats=sumstats_dataframe_with_z_scores,
heritability=0.1,
)This workflow assumes heritability is equally distributed among the variants with Z scores provided, corresponding to
See also: