View source: R/sim.QTL.data.GxE.R
sim.QTL.data.GxE | R Documentation |
Generates the specified number of subjects
sim.QTL.data.GxE(
n = NULL,
ph.mean = NULL,
ph.sd = NULL,
g.nvar = NULL,
g.frac_causal = NULL,
freq = NULL,
g.model = NULL,
g.efkt = NULL,
e.model = NULL,
e.efkt = NULL,
e.prev = NULL,
e.mean = NULL,
e.sd = NULL,
e.low.lim = NULL,
e.up.lim = NULL,
i.efkt = NULL,
pheno.rel = NULL
)
n |
Number of subjects to simulate |
ph.mean |
statistical mean |
ph.sd |
standard deviation |
g.nvar |
Integer number of genetic variants to simulate |
g.frac_causal |
Fraction of causal genetic variants |
freq |
Minor allele frequencies of the genetic variants |
g.model |
Genetic model; 0 for binary and 1 for continuous |
g.efkt |
Effects of the genetic variant |
e.model |
Model of the environmental exposure |
e.efkt |
Effects of the environment determinats |
e.prev |
Prevalences of the environmental determinants |
e.mean |
Mean under quantitative-normal model |
e.sd |
Standard deviation under quantitative-normal model |
e.low.lim |
lower limit under quantitative-uniform model |
e.up.lim |
upper limit under quantitative-uniform model |
i.efkt |
Interaction effect |
pheno.rel |
reliability of the assessment for a quantitative outcome. |
A matrix
Gaye A.; Westerman K.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.