Description Usage Arguments Details Value See Also Examples
Calculate expected heterozygosity from a landscape
1 | landscape.exp.het(Rland)
|
Rland |
the Rmetasim landscape object |
Calculates the expected heterozygosity in each population:
1 - sum(p^2)
where p is a vector of allele frequencies for a locus in a population.
A matrix with num loci columns and num populations rows. Each element reflects the expected heterozygosity for that population x locus combination
landscape.obs.het, Fst.landscape
1 2 3 4 | exampleland <- landscape.new.example()
exampleland <- landscape.simulate(exampleland, 4)
exphet <- landscape.exp.het(exampleland)
rm(exampleland)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.