create.model: Creating the Hardy-Weinberg model distribution from a given...

Description Usage Arguments Details Author(s) References See Also

View source: R/create.model.R

Description

Creates maximum-likelihood Hardy-Weinberg equilibrium model distribution from the observed genotype count matrix.

Usage

1
create.model(observed, n)

Arguments

observed

The genotype count matrix from which the Hardy-Weinberg equilibrium model distribution is created

n

Total number of genotypes.

Details

This function is called by HW.pval() and HW.plain() to create a model distribution.

Author(s)

Shubhodeep Mukherji <deep.mukherji@utexas.edu>

References

"Testing Hardy-Weinberg equilibrium with a simple root-mean-square statistic," by Rachel Ward

See Also

HW.pval, HW.plain


HW.pval documentation built on May 2, 2019, 1:44 p.m.