Armitage.MCPerm(case_11, case_12, case_22, control_11, control_12, control_22, repeatNum = 1000)"Armitage.MCPerm" simulates permutation method to correct p value, by twice generating random numbers for the
hypergeometric distribution based on the genotype statistic of original data. Seealso chisq.MCPerm.
statgen.org(2007): A derivation for Armitage's trend test for the 2x3 genotype table.
OR,
OR.TradPerm,
OR.MCPerm,
Armitage,
Armitage.TradPerm,
chisq.test,
chisq.TradPerm,
chisq.MCPerm,
fisher.test,
fisher.TradPerm,
fisher.MCPerm,
meta,
meta.TradPerm,
meta.MCPerm,
permuteGenotype,
rhyper,
permuteGenotypeCount,
genotypeStat
## Armitage.MCPerm(case_11=4,case_12=1,case_22=1,control_11=3,
# control_12=5,control_22=7,repeatNum=10000)
Run the code above in your browser using DataLab