code.simple.gaps {ips} | R Documentation |
code.simple.gaps
takes an aligned DNA sequence matrix and codes the simple gaps, i.e. gaps that do not overlap with other gaps. The gapped positions are excluded from the matrix and the coded gap characters are appended to the matrix.
code.simple.gaps(x, append = TRUE)
x |
An object of class |
append |
Logical. |
An object of class DNAbin.
Christoph Heibl
Simmons, M.P. & H. Ochoterena. 2000. Gaps as characters in sequence-based phylogenetic analyses. Systematic Biology 49(2): 369–381.
deleteGaps
, deleteEmptyCells
, trimEnds