powered by
This function displays all base substitutions. If fifth=="TRUE", each gap is treated as a fifth state character.
fifth=="TRUE"
# S4 method for Dna subs(x,fifth=FALSE)
a list with three components:
subsmat
a sequence matrix showing substitutions.
subs
a list of matrices of the substitutions.
subsmnum
total number of substitutions.
an object of class Dna.
Dna
boolean; should gaps be treated as a fifth state character?
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)
Run the code above in your browser using DataLab