SeqFastaAA | R Documentation |
as.SeqFastaAA
is called by the function as read.fasta
. It creates an object of class SeqFastaAA
.
is.SeqFastaAA
returns TRUE if the object is of class SeqFastaAA
.
summary.SeqFastaAA
gives the AA composition of an object of class SeqFastaAA
.
as.SeqFastaAA(object, name = NULL, Annot = NULL)
is.SeqFastaAA(object)
## S3 method for class 'SeqFastaAA'
summary(object,...)
object |
a vector of chars representing a biological sequence |
name |
|
Annot |
|
... |
additional arguments affecting the summary produced |
as.SeqFastaAA
returns an object sequence of class SeqFastaAA
.
summary.SeqFastaAA
returns a list which the following components:
composition |
the AA counting of the sequence |
AA.Property |
the percentage of each group of amino acid in the sequence. By example, the groups are small, tiny, aliphatic, aromatic ... |
D. Charif
citation("seqinr")
s <- read.fasta(file = system.file("sequences/seqAA.fasta", package = "seqinr"), seqtype="AA")
is.SeqFastaAA(s[[1]])
summary(s[[1]])
myseq <- s2c("MSPTAYRRGSPAFLV*")
as.SeqFastaAA(myseq, name = "myseq", Annot = "blablabla")
myseq
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.