Description Usage Arguments Value Author(s) References Examples
Simulate data under the single f model with k alleles (so f=0 gives data under HWE).
1 |
npop |
population size. |
q |
vector of k allele frequencies. |
f |
value of inbreeding coefficient |
nvec |
vector of genotype counts, in the order n_{11}, n_{21}, n_{22}, ..., n_{k1}, n_{k2}, ..., n_{kk}. |
Jon Wakefield (jonno@u.washington.edu)
Wakefield, J. (2010). Bayesian methods for examining Hardy-Weinberg equilibrium. Biometrics; Vol 66:257-65
Weir, B.S. (1996). Genetic Data Analysis II. Sunderland MA: Sinauer.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.