Obtains offspring genotype probabilities given parental probabilities, the ploidy of the species, and the overdispersion parameter, for all possible parental genotypes.
zsegarray(alpha, ploidy)
A numeric vector containing the double reduction parameter(s).
This should be a
vector of length floor(ploidy/4)
where alpha[i]
is the probability of exactly i
pairs of IBDR alleles
being in the gamete. Note that sum(alpha)
should be less than
1, as 1 - sum(alpha)
is the probability of no double reduction.
The ploidy of the species. This should be an even positive integer.
An array of probabilities. Element (i, j, k) contains the probability of offspring dosage k-1 given parental dosages i-1 and j-1.