lowFreqSubs: Low Frequency Substitutions

View source: R/lowFreqSubs.R

lowFreqSubsR Documentation

Low Frequency Substitutions

Description

Check nucleotide sites for low frequency substitutions.

Usage

lowFreqSubs(x, min.freq = 3, motif.length = 10, simplify = TRUE)

Arguments

x

a DNAbin object.

min.freq

minimum frequency of base to be flagged.

motif.length

length of motif around low frequency base to output.

simplify

if there is a single locus, return result in a simplified form? If FALSE a list will be returned wth one element per locus.

Value

data.frame listing id, site number, and motif around low frequency base call.

Author(s)

Eric Archer eric.archer@noaa.gov

Examples

data(dolph.haps)

lowFreqSubs(dolph.haps)


EricArcher/strataG documentation built on Feb. 12, 2023, 4:11 a.m.