permutation: permutation for case-control data

Description Usage Arguments Value Author(s) References

Description

This function is to permute cases and controls randomly.

Usage

1
 permuC(phenotype,genotype) 

Arguments

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.

Value

The matrix in which the first column is the phenotype and others are the corresponding genotype after permutation.

Author(s)

Chan Wang and Yue-Qing Hu

References

Chan Wang, Shufang Deng, Leiming Sun, Liming Li and Yue-Qing Hu, Nonparametric and Inheritance Model-free Test for Association with Multiple Loci in the Retrospective Case-control Study


YQHuFD/SLIDE documentation built on May 23, 2019, 1:09 p.m.