ExpHet_site {poolHelper}R Documentation

Compute expected heterozygosity per site

Description

Computes the expected heterozygosity for a given site.

Usage

ExpHet_site(geno_site)

Arguments

geno_site

is a vector where each entry contains the genotype for a single individual, coded as 0,1,2 and using NA for the missing data.

Value

a numerical value corresponding to the expected heterozygosity at that site.


[Package poolHelper version 1.1.0 Index]