allelicRichness: Allelic Richness

Description Usage Arguments Value Author(s) Examples

View source: R/allelicRichness.R

Description

Calculate allelic richness for each locus.

Usage

1
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

1
2

strataG documentation built on Feb. 28, 2020, 9:07 a.m.