alleles: Get alleles of marker

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Returns all alleles found in the given freqt object for which the frequency is greater than 0.

Usage

1
alleles(x, ms)

Arguments

x

a freqt object

ms

a marker name or a list of marker names

Value

a list of allele names

Examples

1
2
3
4
5
6
# provided with only one marker, returns the possible alleles for that marker
alleles(ft_popstr_europe, "CSF1PO")

# provided with more than one marker, returns the union of the
# possible alleles for each of the provided markers
alleles(ft_popstr_europe, c("CSF1PO", "FGA"))

knifecake/fafreqs documentation built on March 13, 2020, 11:53 p.m.