a flag with value 1 indicating missing data are allowed
miss.val
missing value
n.sim
the number of permutations
locus.label
label of each locus
quietly
a flag if TRUE will suppress the screen output
Value
The returned value is a list containing (p.sim and ph when n.sim > 0):
x2obsthe observed chi-squared statistic
pobsthe associated p value
zobsthe observed z value for individual haplotypes
p.simsimulated p value for the global chi-squared statistic
phsimulated p values for individual haplotypes
References
Zhao JH, Curtis D, Sham PC (2000). Model-free analysis and permutation
tests for allelic associations. Human Heredity 50(2): 133-139
Zhao JH (2004). 2LD, GENECOUNTING and HAP: Computer programs for linkage
disequilibrium analysis. Bioinformatics 20: 1325-1326
Zhao JH, Qian WD Association analysis of unrelated individuals using
polymorphic genetic markers -- methods, implementation and application, Royal
Statistical Society 2003, Hassallt-Diepenbeek, Belgium.