as.alignment | R Documentation |
Returns an object of (S3) class alignment.
as.alignment(nb = NULL, nam = NULL, seq = NULL, com = NULL)
nb |
integer. The number of sequences in the alignment. |
nam |
vector of |
seq |
vector of |
com |
vector of |
An object of class alignment
which is a list with the following components:
nb |
the number of aligned sequences |
nam |
a vector of strings containing the names of the aligned sequences |
seq |
a vector of strings containing the aligned sequences |
com |
a vector of strings containing the commentaries for each sequence or |
D. Charif, J.R. Lobry
citation("seqinr")
read.alignment
,
as.matrix.alignment
, read.fasta
,
write.fasta
, reverse.align
, dist.alignment
.
as.alignment(nb = 2, nam = c("one", "two"),
seq = c("-ACGT", "GACG-"), com = c("un", "deux"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.