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)
summary.SeqFastaAA(object,...)
NULL
a character string specifying a name for the sequenceNULL
a character string specifying some annotations for the sequenceas.SeqFastaAA
returns an object sequence of class SeqFastaAA
.
summary.SeqFastaAA
returns a list which the following components: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
Run the code above in your browser using DataLab