landscape.obs.het: Calculate observed heterozygosity

landscape.obs.hetR Documentation

Calculate observed heterozygosity

Description

Calculate observed heterozygosity from a landscape

Usage

  hetmat <- landscape.obs.het(rland)

Arguments

rland

the Rmetasim landscape object

Value

A matrix with num loci columns and num populations rows. Each element reflects the observed heterozygosity for that population x locus combination

See Also

landscape.exp.het, landscape.Fst

Examples

#  exampleland <- landscape.new.example()
#  exampleland <- landscape.simulate(exampleland, 4)
#  obshet <- landscape.obs.het(exampleland)
#  rm(exampleland)

stranda/quantsel documentation built on July 10, 2022, 2:28 p.m.