powered by
Simulate genotype likelihoods of F1 individuals.
simf1gl(n, g1, g2, rd = 10, alpha = 0, xi1 = 1/3, xi2 = 1/3)
The matrix of offspring genotype log-likelihoods.
Sample size.
The first parent's genotype.
The second parent's genotype.
The read depth.
The double reduction rate.
The first parent's preferential pairing parameter.
The second parent's preferential pairing parameter.
David Gerard
set.seed(1) simf1gl(n = 10, g1 = 1, g2 = 2)
Run the code above in your browser using DataLab