Learn R Programming

strataG (version 1.0.5)

jackHWE: Hardy-Weinberg Equlibrium Jackknife

Description

Test influence of samples on Hardy-Weinberg equilibrium via jackknife.

Usage

jackHWE(g, exclude.num = 1, min.hwe.samples = 5, show.progress = TRUE, use.genepop = FALSE, ...)
jackInfluential(jack.result, alpha = 0.05)
"plot"(x, main = "", ...)

Arguments

g
a gtypes object.
exclude.num
Number of samples to exclude at a time.
min.hwe.samples
minimum samples needed to calculate HWE.
show.progress
logical. Show progress of jackknife?
use.genepop
logical. Use GENEPOP to calculate HWE p-values? If FALSE then hw.test is used.
...
other arguments to be passed to GENEPOP.
jack.result
result from run of jackHWE.
alpha
critical value to determine if exclusion is "influential".
x
result from a call to jackInfluential.
main
main title for influential sample plots from plot.jack.influential.

Value

jackHWE returns a list with: returns a list with:jackInfluential returns a list with: returns a list with:

Details

References

Morin, P.A., R.G. LeDuc, F.I. Archer, K.K. Martien, R. Huebinger, J.W. Bickham, and B.L. Taylor. 2009. Significant deviations from Hardy-Weinberg equilibirum caused by low levels of microsatellite genotyping errors. Molecular Ecology Resources 9:498-504.

See Also

hweTest