Perform all tests for Hardy-Weinberg equilibrium
HWAlltests
performs all classical frequentists tests for
Hardy-Weinberg equilibrium and lists their p-values.
HWAlltests(x, verbose = TRUE, include.permutation.test = FALSE, x.linked = FALSE)
x |
a vector with a set of genotype counts (AA, AB, BB) |
verbose |
print output if set to TRUE |
include.permutation.test |
turns on the permutation test if set to TRUE |
x.linked |
|
By default the permutation test is not performed in order to reduce computing time.
A dataframe with test statistics and p-values.
Jan Graffelman jan.graffelman@upc.edu
x <- c(298,489,213) names(x) <- c("MM","MN","NN") HWAlltests(x,verbose=TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.