Learn R Programming

strataG (version 2.4.905)

lowFreqSubs: 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.

Examples

Run this code
# NOT RUN {
data(dolph.haps)

lowFreqSubs(dolph.haps)

# }

Run the code above in your browser using DataLab