# Hardy-Weinberg Equilibrium in Polyploids

## Documentation for package ‘hwep’ version 2.0.2

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

hwep-package | Hardy-Weinberg Equilibrium in Polyploids
all_multinom | Get every possible non-negative tuple with of a given sum.
ddirmult | PMF of Dirichlet-multinomial distribution
dgamete | Gamete dosage probability
drbounds | Upper bounds on rates of double reduction
f1dr | Estimate Double Reduction in F1 Populations
freqnext | Update genotype frequencies after one generation
gibbs_gl | Gibbs sampler under random mating using genotype log-likelihoods.
gibbs_gl_alt | Gibbs sampler under the alternative of non-random mating using genotype log-likelihoods.
gibbs_known | Gibbs sampler under random mating with known genotypes.
gsegmat | Segregation probabilities of gametes
gsegmat_symb | Symbolic representation of the segregation probability matrix
hweboot | Bootstrap procedure to test for equilibrium
hwefit | Equilibrium and random mating estimation and testing for many loci.
hwefreq | Generate HWE genotype frequencies
hwelike | Maximum likelihood approach for equilibrium testing and double reduction estimation.
hwenodr | Test for HWE in autopolyploids under the assumption of no double reduction
hwep | Hardy-Weinberg Equilibrium in Polyploids
hweustat | U-process minimizer approach to equilibrium testing and double reduction estimation
menbayesgl | Bayes test for F1/S1 genotype frequencies using genotype likelihoods
p_from_alpha | Obtain gamete frequencies at equilibrium given rates of double reduction.
qqpvalue | QQ-plot for p-values
rmbayes | Bayes test for random mating with known genotypes
rmbayesgl | Bayes test for random mating using genotype log-likelihoods
rmlike | Likelihood inference for random mating
simgl | Simulator for genotype likelihoods.
ts_bands | Get simultaneous confidence bands for a uniform QQ-plot
zsegarray | Zygote segregation distributions.
zygdist | Zygote dosage probabilities.