powered by
as.SeqFrag is called by all methods of getFrag, but not directly by the users. It creates an object sequence of class SeqFrag.
as.SeqFrag
getFrag
SeqFrag
as.SeqFrag(object, begin, end, name) is.SeqFrag(object)
as.SeqFrag returns a biological sequence with the following attributes:
the name of the sequence from which the sequence comes
the position of the first base of the fragment on the mother sequence
the position of the last base of the fragment on the mother sequence
SeqFrag which is the classfor sub-sequence
is.SeqFrag returns TRUE if the object is of class Seqfrag.
is.SeqFrag
an object sequence of class seqFastadna, seqFastaAA, seqAcnucWeb or seqFrag
seqFastadna
seqFastaAA
seqAcnucWeb
seqFrag
the first base of the fragment to get
the last base of the fragment to get
the name of the sequence
D. Charif, J.R. Lobry
citation("seqinr")
getFrag, getLength, getName, getSequence, getTrans
getLength
getName
getSequence
getTrans
s <- read.fasta(file = system.file("sequences/malM.fasta", package = "seqinr")) getFrag(s[[1]], 1, 10)
Run the code above in your browser using DataLab