View source: R/as.matrix.alignment.R
as.matrix.alignment | R Documentation |
Converts an alignment into a matrix of characters
## S3 method for class 'alignment'
as.matrix(x, ...)
x |
an object of the class alignment. |
... |
additional arguments to be passed to or from methods. |
A matrix of characters.
J.R. Lobry
read.alignment
phylip <- read.alignment(file = system.file("sequences/test.phylip",
package = "seqinr"), format = "phylip")
as.matrix(phylip)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.