Learn R Programming

strataG (version 2.0.2)

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
# NOT RUN {
data(msats.g)

# Expected heterozygosity
exptdHet(msats.g)

# Observed heterozygosity
obsvdHet(msats.g)

# }

Run the code above in your browser using DataLab