Estimation of observed heterozygosity

Usage

point_Hobs(genotypes, ploidy)

Arguments

genotypes
A matrix of estimated genotypes returned from the function get_map_genotypes.
ploidy
The ploidy level of individuals in the population (must be >= 2).

Value

Returns per locus estimates of observed heterozygosity (per_locus_Hobs).

Description

INTERNAL: Estimates a posterior distribution for the per locus observed heterozygosity using the unbiased estimator of Hardy (2015) and the poterior samples of genotypes calculated by polyfreqs.

Details

Posterior distributions for the per locus observed heterozygosity are automatically calculated and returned by the polyfreqs function.

References

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.