R/utils.het.pop.r
utils.het.pop.Rd
Calculates expected mean expected heterozygosity per population
utils.het.pop(x, t_het)
A genlight object containing the SNP genotypes [required].
A string specifying the type of expected heterozygosity to be calculated. Options are "He" for expected heterozygosity and "Ho" for observed
A vector with the mean expected heterozygosity for each population
Bernd Gruber & Luis Mijangos (bugs? Post to https://groups.google.com/d/forum/dartr)
out <- utils.het.pop(testset.gl,t_het="He")