HW.pval calculates plain and fully conditional root-mean-square, chi-square, and log likelihood-ratio P-values for the user-provided genotypic counts to be consistent with the Hardy-Weinberg equilibrium model. For further information on the Hardy-Weinberg equilibrium model and the pseudocode, refer to the paper "Testing Hardy-Weinberg equilibrium with a simple root-mean-square statistic" by Rachel Ward.

Install the latest version of this package by entering the following in R:

`install.packages("HW.pval")`

Author | Shubhodeep Mukherji <deep.mukherji@utexas.edu> |

Date of publication | 2012-07-11 12:43:08 |

Maintainer | Shubhodeep Mukherji <deep.mukherji@utexas.edu> |

License | GPL-3 |

Version | 1.0 |

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

**HW.cond:** Computing the fully conditional P-value for a given...

**HW.plain:** Computing the plain P-Value for a given lower-triangular...

**HW.pval:** Testing Hardy-Weinberg Equilibrium for Multiallelic Genes

**HW.pval-package:** Testing Hardy-Weinberg Equilibrium for Multiallelic Genes

**test.chisq:** Computing the chi-square test statistic

**test.gsq:** Computing the log likelihood-ratio test statistic

**test.rms:** Computing the root-mean-square test statistic

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.