indelcoder-methods | R Documentation |
Function for coding gaps separately. Only simple indel coding method is available in the current version.
## S4 method for signature 'Dna'
indelcoder(x)
x |
an object of class |
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.