Description Usage Arguments Value Examples
View source: R/power_function_environment_interaction_t_matrix_eqs.R
Calculates the t matrix for logistic outcome with binary environment interaction in recessive model
1 | rec.fun.t(MAF, P_e, OR_E, OR_G, OR_GE, Case.Rate)
|
MAF |
Vector of minor allele frequencies |
P_e |
Vector of proportions of the population with exposure to the environmental effect |
OR_E |
Vector of environmental odds ratios to detect |
OR_G |
Vector of genetic odds ratios to detect |
OR_GE |
Vector of genetic/environmental interaction odds ratios to detect |
Case.Rate |
proportion of cases in the sample (cases/(cases + controls)). |
t matrix for all combinations of environment/outcome
1 2 | rec.fun.t(MAF = 0.1, P_e = 0.2, Case.Rate = 0.5,
OR_G = 1.5, OR_E = 2, OR_GE = 1.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.