offspring_geno | R Documentation |
Takes as input the offspring genotype frequencies and a sample size and returns simulated genotypes.
offspring_geno(gf, n)
gf |
Vector of offspring genotype frequencies |
n |
Sample size |
Simulated genotypes
Mira Thakkar
set.seed(1)
gf <- offspring_gf_2(alpha = 1/6, xi1 = 1/3, xi2 = 1/3, p1 = 2, p2 = 3)
offspring_geno(gf = gf, n = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.