obs.het.landscape {rmetasim} | R Documentation |
Calculate observed heterozygosity from a landscape
hetmat <- obs.het.landscape(rland)
rland |
the Rmetasim landscape object |
A matrix with num loci columns and num populations rows. Each element reflects the observed heterozygosity for that population x locus combination
exp.het.landscape, Fst.landscape
exampleland <- new.example.landscape() exampleland <- simulate.landscape(exampleland, 4) obshet <- obs.het.landscape(exampleland) rm(exampleland)