Description Usage Arguments Value Author(s)
Generates affected and non-affected subjects using the genotypes.
1 2 | sim.pheno.bin.G(num.obs = 10000, disease.prev = 0.1, genotype = NULL,
subject.effect.data = NULL, geno.OR = 1.5)
|
num.obs |
number of observations to generate per iteration. |
disease.prev |
prevalence of the binary outcome. |
genotype |
a vector that represents the exposure data. |
subject.effect.data |
subject effect data, reflects the heterogenity in baseline disease risk. |
geno.OR |
odds ratio related to the 'at risk' genotype. |
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.