Estimates observed and expected heterozygosity
heterozygosity(M = NULL)
M
The additive n \times p matrix coded with 0, 1, 2 coding (default = NULL).
n \times p
NULL
A list with vectors containing the observed (ho) and expected (he) heterozygosity.