point_Hexp(p_samp, genotypes, ploidy)
polyfreqs
.per_locus_Hexp
)
INTERNAL: Estimates a posterior distribution for the per locus expected heterozygosity using the unbiased estimator of Hardy (2015) and the poterior samples of allele frequencies calculated by polyfreqs
.
Posterior distributions for the per locus expected heterozygosity are automatically calculated and returned by the polyfreqs
function.
Hardy, OJ. 2015. Population genetics of autopolyploids under a mixed mating model and the estimation of selfing rate. Molecular Ecology Resources, doi: 10.1111/1755-0998.12431.