simulate_genos_from_posterior | R Documentation |
simulate values for the genotypes given the observed genotype, then estimate allele frequencies, and the genotyping error rate.
This is a helper function for the estimate_m function
simulate_genos_from_posterior(D, p, m)
D |
an 012,-1 matrix of observed genotypes |
p |
the estimated allele freqs |
m |
the genotyping error rate (must be a scalar) |
Eric Anderson eric.anderson@noaa.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.