transform_betas | R Documentation |
Transform betas from a linear model to a log odds ratio scale. Assumes betas have been derived from a linear model of case-control status regressed on SNP genotype (additively coded).
transform_betas(dat = NULL, effect = "lnor", effect.se = "se")
dat |
the target dataset rsids |
effect |
the column containing the beta. We wish to transform this to a log odds ratio scale |
effect.se |
standard error for the beta |
data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.