Learn R Programming

strataG (version 2.0.2)

maf: Minimum Allele Frequencies

Description

Calculate minimum allele frequencies for each locus.

Usage

maf(g, by.strata = FALSE)

Arguments

g

a '>gtypes object.

by.strata

logical. If TRUE every element in the return list is a three dimensional array where the third dimension contains frequencies and proportions for each stratum.

Value

A vector or array of minimum allele frequencies at each locus.

See Also

alleleFreqs

Examples

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

maf(msats.g)

# }

Run the code above in your browser using DataLab