View source: R/utils.het.pop.r
utils.het.pop | R Documentation |
Calculates expected mean expected heterozygosity per population
utils.het.pop(x, t_het)
x |
A genlight object containing the SNP genotypes [required]. |
t_het |
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.