powered by
Simulate genotype counts from F1 individuals
simf1g(n, g1, g2, alpha = 0, xi1 = 1/3, xi2 = 1/3)
A vector of counts, where element i is the number of simulated individuals with genotype i-1.
i
i-1
Sample size.
The first parent's genotype.
The second parent's genotype.
The double reduction rate.
The first parent's preferential pairing parameter.
The second parent's preferential pairing parameter.
David Gerard
set.seed(1) simf1g(n = 10, g1 = 1, g2 = 2)
Run the code above in your browser using DataLab