landscape.obs.het: Calculate observed heterozygosity

Description Usage Arguments Value See Also Examples

View source: R/diversity.R

Description

Calculate observed heterozygosity from a landscape

Usage

1

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

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

rmetasim documentation built on Feb. 8, 2020, 1:06 a.m.