Exact Tests for Hardy-Weinberg Proportions


[Up] [Top]

Documentation for package ‘HWxtest’ version 1.1.7

Help Pages

acount Find Approximate Number of Genotype Tables
alleleCounts mungeData
clearUpper mungeData
defaultHistobounds Functions to plot a histogram of test statistic
df.to.matrices mungeData
fillUpper mungeData
genepop.to.genind Imports a '.txt' file in 'GenePop' format into an object of type 'genind'
HWcases This is a data file with some HW examples in matrix form
hwdf Construct a data frame from 'hwx.test' output
hwx.test Test for HW by either full enumeration or Monte Carlo.
listify Convert results of 'hwx.test' to a single list of 'hwtest' objects.
makeHistogram Functions to plot a histogram of test statistic
matrix.to.vec mungeData
mtest Performs an "exact" test using Monte Carlo trials for Hardy-Weinberg proportions
observedLLR Compute observed statistics for a genotype count matrix
observedProb Compute observed statistics for a genotype count matrix
observedU Compute observed statistics for a genotype count matrix
observedX2 Compute observed statistics for a genotype count matrix
p.value Extract just the P value(s) from a Hardy-Weinberg test.
print.hwtest S3 Method for printing 'hwtest' objects
remove.missing.alleles mungeData
vec.to.matrix mungeData
whales.df Bowhead whale data from Morin et al. 2012
xcount Find Exact Number of Genotype Tables
xcountCutoff Determine immediately whether number of tables is over a limit
xtest Performs an exact test with full enumeration for Hardy-Weinberg proportions.