powered by
Function for coding gaps separately. Only simple indel coding method is available in the current version.
# S4 method for Dna indelcoder(x)
a list with two components:
indels
a matrix giving the indel positions (beginnings and ends) and lengths.
codematrix
a binary matrix giving the indel codings. Missing values are denoted by -1.
an object of class Dna.
Dna
signature(x = "Dna")
Function for coding gaps separately.
Caner Aktas, caktas.aca@gmail.com
Simmons, M., Ochoterena, H. (2000) Gaps as characters in sequence-based phylogenetic analyses. Systematic Biology 49, 369-381.
distance
data("dna.obj") x<-dna.obj ## Simple indel coding. indelcoder(x)
Run the code above in your browser using DataLab