Learn R Programming

strataG (version 2.4.905)

propUniqueAlleles: Proportion Unique Alleles

Description

Calculate the proportion of alleles that are unique.

Usage

propUniqueAlleles(g, by.strata = FALSE)

Arguments

g

a '>gtypes object.

by.strata

logical - return results grouped by strata?

Value

a vector of the proportion of unique (occuring only in one individual) alleles for each locus.

See Also

privateAlleles

Examples

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

propUniqueAlleles(msats.g)

# }

Run the code above in your browser using DataLab