main_p2 | R Documentation |
This uses all genotypes, as opposed to main_p3()
,
which only uses homozygosity versus heterzygosity.
main_p2(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_p(c(0.5, 0.1), n = 100) main_p2(nm = nm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.