get_bivalent_probs: Returns segregation probabilities, pairing representation
and number of ref alleles given the ploidy.
Description
Returns segregation probabilities, pairing representation
and number of ref alleles given the ploidy.
Usage
get_bivalent_probs(ploidy)
Arguments
ploidy
The ploidy of the individual. Should be even
and greater than 0.
Value
A list of three elements
probmat
The rows index the pairing configuration
and the columns index the number of reference alleles
segregating. The elements are the probability of
segregating the given number of reference alleles
in a given category.
pmat
The pairing representation of the
configuration.
lvec
The number of reference alleles an individual
has given their pairing configuration in pmat.