Arguments
x
an object of class genind
.
pop
a factor giving the population of each individual. If NULL,
pop is seeked from x$pop.
permut
a logical passed to HWE.test
stating whether
Monte Carlo version (TRUE) should be used or not (FALSE, default).
nsim
number of simulations if Monte Carlo is used (passed to HWE.test
).
hide.NA
a logical stating whether non-tested loci (e.g., when
an allele is fixed) should be hidden in the results (TRUE, default)
or not (FALSE).
res.type
a character or a character vector whose only first
argument is considered giving the type of result to display. If
"full", then a list of complete tests is returned. If "matrix",
then a matrix of p-values is returned.