HWExactMat: Matrix version of HWExact

View source: R/HWExactMat.R

HWExactMatR Documentation

Matrix version of HWExact

Description

Function HWExactMat is deprecated; use HWExactStats instead.

Usage

HWExactMat(X, ...)

Arguments

X

A n times 3 matrix of genotypic counts (AA,AB,BB)

...

extra arguments that are passed on to HWExact

Value

pvalvec

Vector with the p-values of each test

Author(s)

Jan Graffelman jan.graffelman@upc.edu

See Also

HWExact HWExactStats

Examples

X <- HWData(100,100)
colnames(X) <- c("MM","MN","NN")
Results <- HWExactMat(X)
Output <- cbind(X,Results)
print(Output)

HardyWeinberg documentation built on May 29, 2024, 6:17 a.m.