Description Usage Arguments Value Author(s)
Generates affected and non-affected subjects
1 2 3 | sim.pheno.bin.GxE(num.obs = NULL, disease.prev = NULL, genotype = NULL,
environment = NULL, interaction = NULL, subject.effect.data = NULL,
geno.OR = NULL, env.OR = NULL, int.OR = NULL)
|
num.obs |
Number of observations to generate per iteration |
disease.prev |
Prevalence of the binary outcome |
genotype |
Exposure data for genetic determinant |
environment |
Exposure data for environment |
interaction |
data |
subject.effect.data |
Subject effect data, reflects the heterogenity in baseline disease risk |
geno.OR |
Odds ratios of the genetic determinant |
env.OR |
Odds ratios of the two environments |
int.OR |
Odds ration of the interaction |
A dataframe of phenotype
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.