Description Usage Arguments Value Author(s)
Generates affected and non-affected subjects until the set sample size is achieved.
1 2 3 4 |
n |
Number of observations to generate per iteration |
ncases |
Number of cases to simulate |
ncontrols |
Number of controls to simulate |
max.sample.size |
Maximum number of observations allowed |
pheno.prev |
Prevalence of the binary outcome |
freq1 |
Minor allele frequency of the 1st genetic determinant |
g1.model |
Genetic model of the 1st genetic determinant; 0 for binary and 1 for additive |
g1.OR |
Odds ratios of the 1st genetic determinant |
freq2 |
Minor allele frequency of the 2st genetic determinant |
g2.model |
Genetic model of the 2st genetic determinant; 0 for binary and 1 for additive |
g2.OR |
Odds ratios of the 2st genetic determinant |
r |
desired level of correlation if the two SNPs are modelled as being in LD. |
b.OR |
Baseline odds ratio for subject on 95 percent population centile versus 5 percentile. This parameter reflects the heterogeneity in disease risk arising from determinates that have not been measured or have not been included in the model. |
ph.error |
misclassification rates: 1-sensitivity and 1-specificity |
A matrix
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.