heterozygosity: Estimates observed and expected heterozygosity

View source: R/genomic_summaries.R

heterozygosityR Documentation

Estimates observed and expected heterozygosity

Description

Estimates observed and expected heterozygosity

Usage

heterozygosity(M = NULL)

Arguments

M

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

Value

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


ASRgenomics documentation built on May 13, 2026, 1:07 a.m.