powered by
Calculate Hardy-Weinberg equilibrium p-values.
hweTest( g, use.genepop = FALSE, which = c("Proba", "excess", "deficit"), enumeration = FALSE, dememorization = 10000, batches = 20, num.rep = 5000, delete.files = TRUE, label = NULL )
a '>gtypes object.
logical. Use GENEPOP to calculate HWE p-values? If FALSE then hw.test is used.
FALSE
hw.test
parameters for GENEPOP MCMC HWE procedure as defined in test_HW.
test_HW
the number of replicates for the Monte Carlo procedure for hw.test or number of iterations for test_HW.
logical. Delete GENEPOP files when done?
character string to use to label GENEPOP files.
a vector of p-values for each locus.
genepop, hw.test
genepop
# NOT RUN { data(msats.g) hweTest(msats.g) # }
Run the code above in your browser using DataLab