HardyWeinberg

Statistical Tests and Graphics for Hardy-Weinberg Equilibrium

CRAN Package

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).


Documentation


Team


Insights

Last 30 days

This package has been downloaded 3,770 times in the last 30 days. Consider this 'mid-tier influencer' status—if it were a TikTok, it would get a nod from nieces and nephews. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 154 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 9, 2025
0 downloadsMar 10, 2025
0 downloadsMar 11, 2025
0 downloadsMar 12, 2025
0 downloadsMar 13, 2025
123 downloadsMar 14, 2025
130 downloadsMar 15, 2025
77 downloadsMar 16, 2025
111 downloadsMar 17, 2025
110 downloadsMar 18, 2025
91 downloadsMar 19, 2025
103 downloadsMar 20, 2025
129 downloadsMar 21, 2025
138 downloadsMar 22, 2025
158 downloadsMar 23, 2025
145 downloadsMar 24, 2025
130 downloadsMar 25, 2025
114 downloadsMar 26, 2025
197 downloadsMar 27, 2025
233 downloadsMar 28, 2025
88 downloadsMar 29, 2025
75 downloadsMar 30, 2025
141 downloadsMar 31, 2025
153 downloadsApr 1, 2025
158 downloadsApr 2, 2025
180 downloadsApr 3, 2025
94 downloadsApr 4, 2025
71 downloadsApr 5, 2025
86 downloadsApr 6, 2025
110 downloadsApr 7, 2025
106 downloadsApr 8, 2025
129 downloadsApr 9, 2025
111 downloadsApr 10, 2025
125 downloadsApr 11, 2025
154 downloadsApr 12, 2025
71
233

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 45,442 times in the last 365 days. The academic equivalent of having a dedicated subreddit. There are fans, and maybe even a few trolls! The day with the most downloads was Sep 26, 2024 with 358 downloads.

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