Genotype frequencies of an F1 population under a generalized model.
Source:R/higher_freq.R
gf_freq.RdGenotype frequencies of an F1 population under a generalized model.
Arguments
- p1_g, p1_ploidy, p1_gamma, p1_alpha, p1_beta, p1_type, p1_add_dr
The first parent's version of the parameters in
gamfreq().- p2_g, p2_ploidy, p2_gamma, p2_alpha, p2_beta, p2_type, p2_add_dr
The second parent's version of the parameters in
gamfreq().- pi
The proportion of outliers.
- nudge
Zeros go to nudge
Value
A vector of genotype frequencies. Element i is the probability
and offspring has genotype i - 1.
See also
gamfreq().
Examples
q <- gf_freq(
p1_g = 2,
p1_ploidy = 4,
p1_gamma = c(0.1, 0.9),
p1_type = "mix",
p2_g = 2,
p2_ploidy = 6,
p2_alpha = 0.1,
p2_type = "polysomic",
pi = 0.05)