HWExactMat | R Documentation |
HWExactMat executes a fast Exact test for HWE for each row in a matrix.
HWExactMat(X, ...)
X |
A n times 3 matrix of genotypic counts (AA,AB,BB) |
... |
extra arguments that are passed on to |
pvalvec |
Vector with the p-values of each test |
Jan Graffelman jan.graffelman@upc.edu
HWExact
X <- HWData(100,10) colnames(X) <- c("MM","MN","NN") Results <- HWExactMat(X) Output <- cbind(X,Results$pvalvec) print(Output)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.