Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/permuteGenotype.R
Permute the elements of genotype data.
1 | permuteGenotype(dataLine, fromCol)
|
dataLine |
A matrix with one row. |
fromCol |
A positive integer, the start column to permute. |
Permute the elements of genotype data.
The return value is a matrix with one row and the elements has been permutated.
Lanying Zhang and Yongshuai Jiang <jiangyongshuai@gmail.com>
William S Noble(Nat Biotechnol.2009): How does multiple testing correction work?
Edgington. E.S.(1995): Randomization tests, 3rd ed.
Armitage.TradPerm
,
OR.TradPerm
,
chisq.TradPerm
,
fisher.TradPerm
,
meta.TradPerm
,
permuteGenotypeCount
,
chisq.MCPerm
1 2 3 4 5 | # dataLine1=matrix(c("rs12","AA","AG","GG","CG","AA"),nrow=1)
# permuteGenotype(dataLine1,fromCol=2)
# dataLine2=matrix(c("rs12","AA","AG","GG","CG","AA",
# "rs12","AA","AG","GG","CG","AA"),nrow=2,byrow=TRUE)
# permuteGenotype(dataLine2,fromCol=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.