Description Usage Arguments Value Author(s)
Uses the effects data of the determinants to construct a linear predictor(LP). The outcome is normally distributed variable generated with a mean equal to LP and a standard deviation of 1. Some error is then added to the simulated outcome to obtained the observed outcome.
1 2 3 | sim.pheno.qtl.GxE(numsubjects = NULL, pheno.mean = NULL, pheno.sd = NULL,
genotype = NULL, geno.efkt = NULL, environment = NULL,
env.efkt = NULL, interaction = NULL, int.efkt = NULL)
|
num.subjects |
Number of subjects to simulate |
pheno.mean |
statistical mean |
pheno.sd |
standard deviation |
genotype |
Genotype |
geno.efkt |
Effects of the genetic variant |
environment |
Exposure data for environment |
env.efkt |
Effects of the environmental determiants |
interaction |
data |
int.efkt |
Interaction effect |
A dataframe of phenotype
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.