Skip to contents

Estimate SNP heritability from GWAS summary statistics using one of three methods: LDER, g-LDSC, or HDL/sHDL.

Usage

estimateH2(
  sumstats,
  ld_ref,
  method = "lder",
  annotations = NULL,
  local = FALSE,
  ...
)

# S4 method for class 'GWASSumStats,LDStatistic'
estimateH2(
  sumstats,
  ld_ref,
  method = "lder",
  annotations = NULL,
  local = FALSE,
  ...
)

Arguments

sumstats

A GWASSumStats object.

ld_ref

An LDStatistic object (method-appropriate subclass).

method

Character, one of "lder", "gldsc", "hdl".

annotations

An AnnotationMatrix object, or NULL for unstratified estimation.

local

Logical, whether to compute per-block local estimates.

...

Additional method-specific arguments.

Value

An H2Estimate object.