point_Hobs: Estimation of observed heterozygosity

Description Usage Arguments Details Value References

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.

Usage

1
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).

Details

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

Value

Returns per locus estimates of observed heterozygosity (per_locus_Hobs).

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.


polyfreqs documentation built on May 2, 2019, 9:28 a.m.