main_p3 | R Documentation |
This uses just homozygosity versus heterozygosity, as opposed to
main_p2()
, which uses all genotypes.
main_p3(nm, oiter = 10)
nm |
A vector of genotypes. |
oiter |
The number of EM iterations to run. |
A vector of length 2. The first element is the estimated allele frequency, the second element is the estimated double reduction parameter.
Libo Jiang
Jiang, Libo, Xiangyu Ren, and Rongling Wu. 2021. "Computational Characterization of Double Reduction in Autotetraploid Natural Populations." The Plant Journal 105 (6): 1703–9. doi: 10.1111/tpj.15126
nm <- sim_p3(c(0.5, 0.1), n = 100) main_p3(nm = nm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.