CRAN/E | HardyWeinberg

HardyWeinberg

Statistical Tests and Graphics for Hardy-Weinberg Equilibrium

Installation

About

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 (Graffelman & Weir, 2016) doi:10.1038/hdy.2016.20, 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. The functionality of the package is explained in detail in a related JSS paper doi:10.18637/jss.v064.i03.

Citation HardyWeinberg citation info
www.r-project.org
www-eio.upc.edu/~jan/

Key Metrics

Version 1.7.8
R ≥ 1.8.0
Published 2024-04-06 17 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks HardyWeinberg results

Downloads

Yesterday 85 0%
Last 7 days 1.039 -33%
Last 30 days 5.125 +56%
Last 90 days 11.569 +27%
Last 365 days 38.848 -5%

Maintainer

Maintainer

Jan Graffelman

jan.graffelman@upc.edu

Authors

Jan Graffelman

aut / cre

Christopher Chang

ctb

Xavi Puig

ctb

Jan Wigginton

ctb

Leonardo Ortoleva

ctb

William R. Engels

ctb

Material

Reference manual
Package source

In Views

MissingData

Vignettes

Example session with the HardyWeinberg package
Exploring diallelic genetic markers: the \pkg{HardyWeinberg} package

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

HardyWeinberg archive

Depends

R ≥ 1.8.0
mice
nnet
Rsolnp
shape

Imports

Rcpp

Suggests

knitr
rmarkdown

LinkingTo

Rcpp

Reverse Depends

ToolsForCoDa

Reverse Imports

compareGroups
midasHLA
MultiPhen

Reverse Suggests

dartR
dartR.base