View source: R/variableSites.R
variableSites | R Documentation |
Identify variable sites among sequences.
variableSites(x, bases = c("a", "c", "g", "t", "-"), simplify = TRUE)
x |
a gtypes object with sequences,
a |
bases |
character vector of bases to consider. |
simplify |
if there is a single locus, return result in a simplified
form? If |
A list with:
a DNAbin
object composed of variable sites.
a matrix of base pair frequencies by site.
Eric Archer eric.archer@noaa.gov
fixedSites
data(dolph.haps)
variableSites(dolph.haps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.