Adjust the GWAS Z-statistic for confounders like gene length.
adjust_zstat_txdb( dat, drop_MHC = TRUE, method = "bonferroni", model = NULL, formula = ZSTAT ~ NSNPS + logNSNPS + GENELEN + logGENELEN, verbose = TRUE, ... )
dat |
|
---|---|
drop_MHC | Drop genes from the MHC (Major Histocompatibility Complex) region. |
method | correction method, a |
model | Statistical model to use. Defaults to lm. |
formula | Formula to use in |
... | Additional arguments passed to |
dat
with the new column "ADJ_ZSTAT".
Used when you want to directly analyse the gene-level Z-scores corrected for gene length, etc.