hwep: Hardy-Weinberg Equilibrium in Polyploids

Inference concerning equilibrium and random mating in autopolyploids. Methods are available to test for equilibrium and random mating at any even ploidy level (>2) in the presence of double reduction at biallelic loci. For autopolyploid populations in equilibrium, methods are available to estimate the degree of double reduction. We also provide functions to calculate genotype frequencies at equilibrium, or after one or several rounds of random mating, given rates of double reduction. The main function is hwefit(). This material is based upon work supported by the National Science Foundation under Grant No. 2132247. The opinions, findings, and conclusions or recommendations expressed are those of the author and do not necessarily reflect the views of the National Science Foundation. For details of these methods, see Gerard (2022a) <doi:10.1111/biom.13722> and Gerard (2022b) <doi:10.1101/2022.08.11.503635>.

Version: 2.0.2
Depends: R (≥ 3.4.0)
Imports: bridgesampling, doFuture, doRNG, foreach, future, iterators, methods, pracma, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), rstantools (≥ 2.2.0), tensr, updog
LinkingTo: BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥ 2.18.0)
Suggests: testthat (≥ 3.0.0), covr, knitr, rmarkdown, ggplot2
Published: 2023-05-16
DOI: 10.32614/CRAN.package.hwep
Author: David Gerard ORCID iD [aut, cre], NSF DBI 2132247 [fnd] (https://www.nsf.gov/awardsearch/showAward?AWD_ID=2132247)
Maintainer: David Gerard <gerard.1787 at gmail.com>
BugReports: https://github.com/dcgerard/hwep/issues
License: GPL (≥ 3)
URL: https://dcgerard.github.io/hwep/
NeedsCompilation: yes
SystemRequirements: GNU make
Citation: hwep citation info
Materials: README NEWS
CRAN checks: hwep results

Documentation:

Reference manual: hwep.pdf
Vignettes: Introduction to the 'hwep' package

Downloads:

Package source: hwep_2.0.2.tar.gz
Windows binaries: r-devel: hwep_2.0.2.zip, r-release: hwep_2.0.2.zip, r-oldrel: hwep_2.0.2.zip
macOS binaries: r-release (arm64): hwep_2.0.2.tgz, r-oldrel (arm64): hwep_2.0.2.tgz, r-release (x86_64): hwep_2.0.2.tgz, r-oldrel (x86_64): hwep_2.0.2.tgz
Old sources: hwep archive

Linking:

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