utils.het.pop: Calculates expected mean expected heterozygosity per...

View source: R/utils.het.pop.r

utils.het.popR Documentation

Calculates expected mean expected heterozygosity per population

Description

Calculates expected mean expected heterozygosity per population

Usage

utils.het.pop(x, t_het)

Arguments

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

Value

A vector with the mean expected heterozygosity for each population

Author(s)

Bernd Gruber & Luis Mijangos (bugs? Post to https://groups.google.com/d/forum/dartr)

Examples

out <- utils.het.pop(testset.gl,t_het="He")

dartR documentation built on April 4, 2025, 12:23 a.m.