Estimate SNP heritability from GWAS summary statistics using one of three methods: LDER, g-LDSC, or HDL/sHDL.
Usage
estimateH2(
sumstats,
ldRef,
method = "lder",
annotations = NULL,
local = FALSE,
...
)
# S4 method for class 'GwasSumStats,LdStatistic'
estimateH2(
sumstats,
ldRef,
method = "lder",
annotations = NULL,
local = FALSE,
study = NULL,
...
)Arguments
- sumstats
A
GwasSumStatsobject.- ldRef
An
LdStatisticobject (method-appropriate subclass).- method
Character, one of "lder", "gldsc", "hdl".
- annotations
An
AnnotationMatrixobject, or NULL for unstratified estimation.- local
Logical, whether to compute per-block local estimates.
- ...
Additional method-specific arguments.