latag2n | R Documentation |
Substitutes leading and trailing alignment gaps in aligned sequences
into N
(i.e., A, C, G, or T). The gaps in the middle of the
sequences are left unchanged.
latag2n(x)
x |
an object of class |
This function is called by others in ape and in pegas. It is documented here in case it needs to be called by other packages.
an object of class "DNAbin"
.
Emmanuel Paradis
DNAbin
x <- as.DNAbin(matrix(c("-", "A", "G", "-", "T", "C"), 2, 3))
y <- latag2n(x)
alview(x)
alview(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.