hweTest | R Documentation |
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 )
g |
a gtypes object. |
use.genepop |
logical. Use GENEPOP to calculate HWE p-values?
If |
which, enumeration, dememorization, batches |
parameters for GENEPOP MCMC
HWE procedure as defined in |
num.rep |
the number of replicates for the Monte Carlo procedure for
|
delete.files |
logical. Delete GENEPOP files when done? |
label |
character string to use to label GENEPOP files. |
a vector of p-values for each locus.
Eric Archer eric.archer@noaa.gov
genepop
, hw.test
data(msats.g) hweTest(msats.g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.