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 (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).
- Version1.7.8
- R version≥ 1.8.0
- LicenseGPL-2
- LicenseGPL-3
- Needs compilation?Yes
- Last release04/06/2024
Documentation
- VignetteExample session with the HardyWeinberg package
- VignetteExploring diallelic genetic markers: the \pkg{HardyWeinberg} package
- MaterialHardyWeinberg citation info
- MaterialHardyWeinberg.pdf
- MaterialExample session with the HardyWeinberg package
- MaterialExploring diallelic genetic markers: the \pkg{HardyWeinberg} package
- In ViewsMissingData
Team
Jan Graffelman
Christopher Chang
Show author detailsRolesContributorXavi Puig
Show author detailsRolesContributorJan Wigginton
Show author detailsRolesContributorLeonardo Ortoleva
Show author detailsRolesContributorWilliam R. Engels
Show author detailsRolesContributor
Insights
Last 30 days
Last 365 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Depends4 packages
- Imports1 package
- Suggests2 packages
- Linking To1 package
- Reverse Imports2 packages
- Reverse Suggests2 packages