allelicRichness: Allelic Richness

View source: R/allelicRichness.R

allelicRichnessR Documentation

Allelic Richness

Description

Calculate allelic richness for each locus.

Usage

allelicRichness(g, by.strata = FALSE)

Arguments

g

a gtypes object.

by.strata

logical - return results grouped by strata?

Value

a data frame with the allelic richness of each locus calculated as the number of alleles divided by the number of samples without missing data at that locus.

Author(s)

Eric Archer eric.archer@noaa.gov

Examples

data(msats.g)
allelicRichness(msats.g)


EricArcher/strataG documentation built on May 17, 2024, 12:41 p.m.