Description Usage Value Examples

Calculates Nei's (1987) gene diversity (= Hs = expected heterozygosity corrected for small sample size) for each locus and each population sample. Code is modified from function hierfstat::basic.stats and relies on several functions from the hierfstat library: pop.freq(), ind.count(), getal.b().

1 |

A matrix of calculated Hs values, with one row per locus and one column per population sample.

1 |

Daniel-J-Schmidt/genrich documentation built on Aug. 15, 2017, 8:15 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.