Learn R Programming

strataG (version 2.4.905)

numAlleles: Number of Alleles

Description

Return the number of alleles for each locus.

Usage

numAlleles(g, by.strata = FALSE)

Arguments

g

a '>gtypes object.

by.strata

logical - return results grouped by strata?

Value

vector of number of alleles per locus.

Examples

Run this code
# NOT RUN {
data(msats.g)

numAlleles(msats.g)

# }

Run the code above in your browser using DataLab