HardyWeinberg: Statistical Tests and Graphics for Hardy-Weinberg Equilibrium

Contains tools for exploring Hardy-Weinberg equilibrium (Hardy, 1908; Weinberg, 1908) for bi and multi-allelic genetic marker data. All classical tests (chi-square, exact, likelihood-ratio and permutation tests) with bi-allelic variants are included in the package, as well as functions for power computation and for the simulation of marker data under equilibrium and disequilibrium. Routines for dealing with markers on the X-chromosome are included, including Bayesian procedures. Some exact and permutation procedures also work with multi-allelic variants. Special test procedures that jointly address Hardy-Weinberg equilibrium and equality of allele frequencies in both sexes are supplied, for the bi and multi-allelic case. Functions for testing equilibrium in the presence of missing data by using multiple imputation are also provided. Implements several graphics for exploring the equilibrium status of a large set of bi-allelic markers: ternary plots with acceptance regions, log-ratio plots and Q-Q plots.

Version: 1.5.9
Depends: R (≥ 1.8.0), mice, Rsolnp
Imports: Rcpp
LinkingTo: Rcpp
Published: 2017-12-16
Author: Jan Graffelman [aut, cre], Christopher Chang [ctb], Xavi Puig [ctb], Jan Wigginton [ctb]
Maintainer: Jan Graffelman <jan.graffelman at upc.edu>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://www.r-project.org, http://www-eio.upc.edu/~jan
NeedsCompilation: yes
Citation: HardyWeinberg citation info
In views: Genetics
CRAN checks: HardyWeinberg results

Downloads:

Reference manual: HardyWeinberg.pdf
Vignettes: Exploring diallelic genetic markers: the \pkg{HardyWeinberg} package
Package source: HardyWeinberg_1.5.9.tar.gz
Windows binaries: r-devel: HardyWeinberg_1.5.8.zip, r-release: HardyWeinberg_1.5.8.zip, r-oldrel: HardyWeinberg_1.5.8.zip
OS X El Capitan binaries: r-release: HardyWeinberg_1.5.8.tgz
OS X Mavericks binaries: r-oldrel: HardyWeinberg_1.5.8.tgz
Old sources: HardyWeinberg archive

Reverse dependencies:

Reverse depends: ToolsForCoDa
Reverse imports: cape, compareGroups, MultiPhen

Linking:

Please use the canonical form https://CRAN.R-project.org/package=HardyWeinberg to link to this page.