heterozygosity: Calculate heterozygosity by marker

Description Usage Arguments Value

Description

Calculate heterozygosity by marker

Usage

1
heterozygosity(gty, hwe = FALSE, na.rm = TRUE, ...)

Arguments

gty

a genotypes object

hwe

if TRUE, compute the MLE hat{h} assuming Hardy-Weinberg equilibrium

na.rm

logical; ignore missing genotypes?

...

ignored

Value

a named vector with the heterozygosity of each marker


andrewparkermorgan/argyle documentation built on May 10, 2019, 11:08 a.m.