subs-methods | R Documentation |
This function displays all base substitutions. If fifth=="TRUE"
, each gap is treated as a fifth state character.
## S4 method for signature 'Dna'
subs(x,fifth=FALSE)
x |
an object of class |
fifth |
boolean; should gaps be treated as a fifth state character? |
a list with three components:
subsmat
:a sequence matrix showing substitutions.
subs
:a list of matrices of the substitutions.
subsmnum
:total number of substitutions.
signature(x = "Dna")
Caner Aktas, caktas.aca@gmail.com.
data("dna.obj")
x<-dna.obj
## Base substitutions.
subs(x)
## Gaps are treated as a fifth state character.
subs(x,fifth=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.