Description Usage Arguments Value References Examples
A function to run a power analysis for gene by environment interactions of both rare and common variants.
1 2 |
n |
is the number of subjects |
nSNP |
is the number of SNPS |
MAF |
is the minor allele frequency for the SNPS |
betaX |
is the genetic effect of each SNP |
betaI |
is the effect of interaction for each SNP |
zMu |
is the mean for the environmental effect |
zVar |
is the variance for the environmental effect |
yVar |
is the variance for the outcome Y |
nSim |
is the number of simulations |
alpha |
is the alpha level, default=0.05 |
plot.name |
is the name of the corresponding plot |
a matrix of the power of each SNP, and all SNPs together
Lutz SM, Frederiksen B, Begum F, Cho MH, Hobbs B, McDonald ML, Parker MM, DeMeo DL, Jiang L, Eringher M, Young K, Foreman MG, Kinney GL, Make BJ, Lomas DA, Bakke P, Gulsvik A, Crapo JD, Silverman EK, Beaty TH, Hokanson JE. (2018) Common and Rare Variants Analysis of Smoking Related Traits Among Current and Former Smokers of European and African Ancestry. (Submitted).
1 | gxeRC(n=5000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.