obs.het.landscape {rmetasim}R Documentation

Calculate observed heterozygosity

Description

Calculate observed heterozygosity from a landscape

Usage

  hetmat <- obs.het.landscape(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

exp.het.landscape, Fst.landscape

Examples

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

[Package Contents]