
as.SeqFastadna
is called by many functions as read.fasta
. It creates an object of class SeqFastadna
.
is.SeqFastadna
returns TRUE if the object is of class SeqFastadna
.
summary.SeqFastadna
gives the base composition of an object of class SeqFastadna
.
as.SeqFastadna(object, name = NULL, Annot = NULL)
is.SeqFastadna(object)
"summary"(object, alphabet = s2c("acgt"), ...)
NULL
a character string specifying a name for the sequence NULL
a character string specifying some annotations for the sequence as.SeqFastadna
returns an object sequence of class SeqFastadna
.
summary.SeqFastadna
returns a list which the following components:citation("seqinr")
s <- read.fasta(system.file("sequences/malM.fasta",package="seqinr"))
is.SeqFastadna(s[[1]])
summary(s[[1]])
myseq <- s2c("acgttgatgctagctagcatcgat")
as.SeqFastadna(myseq, name = "myseq", Annot = "blablabla")
myseq
Run the code above in your browser using DataLab