Learn R Programming

strataG (version 2.0.2)

numAlleles: Number of Alleles

Description

Return the number of alleles for each locus.

Usage

numAlleles(g)

Arguments

g

a '>gtypes object.

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