Skip to contents

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 GwasSumStats object.

ldRef

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.