get_r_from_lor | R Documentation |
This uses equation 10 in Lee et al. A Better Coefficient of Determination for Genetic Profile Analysis. Genetic Epidemiology 36: 214–224 (2012) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1002/gepi.21614")}.
get_r_from_lor(
lor,
af,
ncase,
ncontrol,
prevalence,
model = "logit",
correction = FALSE
)
lor |
Vector of Log odds ratio. |
af |
Vector of allele frequencies. |
ncase |
Vector of Number of cases. |
ncontrol |
Vector of Number of controls. |
prevalence |
Vector of Disease prevalence in the population. |
model |
Is the effect size estimated from the |
correction |
Scale the estimated r by correction value. The default is |
Vector of signed r values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.