HWAlltests | R Documentation |
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
HWLratio
, HWChisq
, HWExact
x <- c(298,489,213)
names(x) <- c("MM","MN","NN")
HWAlltests(x,verbose=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.