Learn R Programming

ASRgenomics (version 1.1.4)

heterozygosity: Estimates observed and expected heterozygosity

Description

Estimates observed and expected heterozygosity

Usage

heterozygosity(M = NULL)

Value

A list with vectors containing the observed (ho) and expected (he) heterozygosity.

Arguments

M

The additive \(n \times p\) matrix coded with 0, 1, 2 coding (default = NULL).