Skip to contents

Random-effects meta-analysis (DerSimonian-Laird, via metafor::rma) of one S-LDSC quantity for one annotation across multiple traits.

Usage

metaSldscRandom(
  perTraitEstimates,
  category,
  quantity = c("tauStar", "enrichment", "enrichstat")
)

Arguments

perTraitEstimates

Named list of per-trait results (each with a `summary` data frame).

category

Character. Annotation name to meta-analyze.

quantity

Character: `"tauStar"`, `"enrichment"`, or `"enrichstat"`.

Value

List with `mean`, `se`, `p`, `nTraits`, `traitsUsed`, `tau2`.

Details

Per-trait \(SE_i\) sources: - `quantity = "tauStar"`: jackknife SE from per-block \(\tau^*\). - `quantity = "enrichment"`: polyfun-reported `Enrichment_std_error`. - `quantity = "enrichstat"`: back-solved SE from polyfun's `Enrichment_p`.