fixedDifferences: Fixed Differences

Description Usage Arguments Value Author(s) See Also Examples

View source: R/fixedDifferences.R

Description

Summarize fixed base pair differences between strata.

Usage

1
2
3
4
5
6
fixedDifferences(
  g,
  count.indels = TRUE,
  consec.indels.as.one = TRUE,
  bases = c("a", "c", "g", "t", "-")
)

Arguments

g

a gtypes object.

count.indels

logical. Count indels when evaluating sites for fixed differences?

consec.indels.as.one

logical. If count.indels is TRUE, count consecutive indels as a a single indel?

bases

a character vector of valid bases to consider.

Value

a list with components:

sites

list of sites with fixed differences for each pair of strata

num.fixed

data.frame of number of sites fixed between each pair of strata

Author(s)

Eric Archer <eric.archer@noaa.gov>

See Also

fixedSites, variableSites

Examples

1
2
3

strataG documentation built on Feb. 28, 2020, 9:07 a.m.