Description Usage Arguments Value Author(s)
The function uses the effects data of the genetic determinant to construct a linear predictor(LP). The outcome is a normally distributed variable generated with a mean equal to the LP and a standard deviation of 1.
1 2 | sim.pheno.qtl.G(num.subjects = 10000, pheno.mean = 0, pheno.sd = 1,
genotype = NULL, geno.efkt = 0.25)
|
num.subjects |
number of subjects to generate. |
pheno.mean |
statistical mean |
pheno.sd |
standard deviation |
genotype |
a vector that represents the exposure data |
geno.efkt |
effect size of related to the 'at risk' allele. |
a binary vector that represents the phenotype data.
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.