powered by
Calculate Hardy-Weinberg equilibrium p-values.
hweTest(g, use.genepop = FALSE, B = 1000, show.output = FALSE, delete.files = TRUE, label = "HWE.genepop", ...)
a '>gtypes object.
logical. Use GENEPOP to calculate HWE p-values? If FALSE then hw.test is used.
FALSE
hw.test
the number of replicates for the Monte Carlo procedure for hw.test.
logical. Show output from GENEPOP?
logical. Delete GENEPOP files when done?
character string to use to label GENEPOP files.
arguments to be passed to genepop.
genepop
a vector of p-values for each locus.
genepop, hw.test
# NOT RUN { data(msats.g) hweTest(msats.g) # }
Run the code above in your browser using DataLab