coef_to_liab {bigsnpr} | R Documentation |
Liability scale
Description
Coefficient to convert to the liability scale. E.g. h2_liab = coef * h2_obs.
Usage
coef_to_liab(K_pop, K_gwas = 0.5)
Arguments
K_pop |
Prevalence in the population. |
K_gwas |
Prevalence in the GWAS. You should provide this if you used
( |
Value
Scaling coefficient to convert e.g. heritability to the liability scale.
Examples
h2 <- 0.2
h2 * coef_to_liab(0.02)
[Package bigsnpr version 1.12.2 Index]