Description Usage Arguments Value
Function to simulate the correlated binary data with given OR.
1 | sim.corr.binary.data(N, preval, mafco, OR, ncase, ncont)
|
N |
Population size, greater than ncase+ncont |
preval |
prevalence rate of the disease |
mafco |
MAF for controls |
OR |
the odds ratio |
ncase |
Number of cases in the taken sample, taken from case of the N population |
ncont |
Number of controls in the sample, take from the controls of N population |
a dataframe include genotype data (x) and phenotype data (y) in each column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.