Learn R Programming

strataG (version 1.0.3)

fixedSites: Fixed Sites

Description

Identify fixed sites among sequences.

Usage

fixedSites(x, bases = c("a", "c", "g", "t", "-"))

Arguments

x
a gtypes object with sequences, a list of sequences, or a consensus sequence. Sequences must be aligned.
bases
a character vector of valid bases to consider.

Value

  • a vector of fixed sites. Element names are site positions in the original sequence.

See Also

variableSites

Examples

Run this code
data(dolph.haps)

fixedSites(dolph.haps)

Run the code above in your browser using DataLab