Exact Tests for Hardy-Weinberg Proportions


[Up] [Top]

Documentation for package ‘HWxtest’ version 1.0.5

Help Pages

acount Find Approximate Number of Genotype Tables
alleleCounts Utility functions for handling genotype counts
clearUpper Utility functions for handling genotype counts
defaultHistobounds Functions to plot a histogram of test statistic
df.to.matrices Utility functions for handling genotype counts
fillUpper Utility functions for handling genotype counts
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.
matrix.to.vec Utility functions for handling genotype counts
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.
plotHistogram Functions to plot a histogram of test statistic
print.hwtest S3 Method for printing 'hwtest' objects
remove.missing.alleles Utility functions for handling genotype counts
vec.to.matrix Utility functions for handling genotype counts
whales.genind 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.