get_hyper_weights: Return mixture weights needed to obtain a hypergeometric
distribution.
Description
Obtains the mixing weights for the mixing distributions
of get_bivalent_probs to return a hypergeometric
distribution where ploidy is the population size,
ell is the number of success states in the population,
and ploidy / 2 is the number of draws. If these
are the mixing weights in the population, then there is no
preferential pairing.
Usage
get_hyper_weights(ploidy, ell)
Arguments
ploidy
The ploidy of the individual.
ell
The number of reference alleles in the individual.
Value
A list with the following two elements:
pmat
Reach row is a category and the columns
index either aa, Aa, or AA.