Alignment to FASTA object
Convert alignment/sequence in matrix/vector format to FASTA object.
as.fasta(x, id=NULL, ...)
This function provides basic functionality to convert a sequence character matrix/vector to a FASTA object.
Returns a list of class "fasta"
with the following components:
ali |
an alignment character matrix with a row per sequence and a column per equivalent aminoacid/nucleotide. |
id |
sequence names as identifers. |
call |
the matched call. |
Lars Skjaerven
Grant, B.J. et al. (2006) Bioinformatics 22, 2695–2696.
as.fasta(c("A", "C", "D"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.