Learn R Programming

strataG (version 1.0.3)

heterozygosity: Observed and Expected Heterozygosity

Description

Calculate observed heterozygosity for diploid data.

Usage

exptdHet(g)

obsvdHet(g)

Arguments

g
a gtypes object.

Examples

Run this code
data(msats.g)

exptdHet(msats.g)
obsvdHet(msats.g)

Run the code above in your browser using DataLab