summarizeLoci: Locus Summaries

Description Usage Arguments Value Author(s) Examples

View source: R/summarizeLoci.R

Description

Compile standard by-locus summaries.

Usage

1
summarizeLoci(g, by.strata = FALSE)

Arguments

g

a gtypes object.

by.strata

logical. If TRUE, return a list of summary matrices for each stratum.

Value

A matrix with rows for each locus and columns containing summaries of:

num.genotyped

The number of samples genotyped

prop.genotyped

The proportion of samples genotyped

num.alleles

The number of alleles in the locus

allelic.richness

The allelic richness of the locus

prop.unique.alleles

Proportion of alleles found in a single sample

expt.heterozygosity

Expected heterozygosity

obsvd.heterozygosity

Observed heterozygosity

Author(s)

Eric Archer eric.archer@noaa.gov

Examples

1
2
3
4

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