Description Usage Arguments Value Author(s) References
This function is to permute cases and controls randomly.
1 | permuC(phenotype,genotype)
|
phenotype |
numeric vector with phenotype status: 0=controls, 1=cases. No missing data allowed |
genotype |
numeric matrix or data frame with genotype data coded as 0, 1, 2. No missing data is allowed. |
The matrix in which the first column is the phenotype and others are the corresponding genotype after permutation.
Chan Wang and Yue-Qing Hu
Chan Wang, Leiming Sun, Liming Li and Yue-Qing Hu, Retrospective Score Test for Case-Control Association Study
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.