Description Objects from the Class Slots Extends Methods Author(s) See Also Examples
The DnaSeq
and RnaSeq
are instances of the virtual
GenericSeq
class for "DNA" and "RNA"
respectively. Their alphabets are defined accordingly.
Instance of DnaSeq
and RnaSeq
can be created by reading
fasta
files using the readFasta
function.
See the GenericSeq
class for details about the
generic slots and methods.
Class GenericSeq
, directly.
See GenericSeq
for inherited methods.
signature(object = "DnaSeq")
: return the complement of
the sequence
string of the sequence
instance.
signature(object = "DnaSeq")
: transcribes
the DnaSeq
instance into a RnaSeq
instance.
Laurent Gatto <lg390@cam.ac.uk>
See also the GenericSeq
virutal class.
1 2 3 4 | data("dnaseq")
dnaseq
rnaseq <- transcribe(dnaseq)
rnaseq
|
Loading required package: Rcpp
This is package 'sequences'
Object of class DnaSeq
Id: example dna sequence
Length: 132
Alphabet: A C G T
Sequence: AGCATACGACGACTACGACACTACGACATCAGACACTACAGACTACTACGACTACAGACATCAGACACTACATATTTACATCATCAGAGATTATATTAACATCAGACATCGACACATCATCATCAGCATCAT
Object of class RnaSeq
Id: example dna sequence -- transcribed
Length: 132
Alphabet: A C G U
Sequence: AGCAUACGACGACUACGACACUACGACAUCAGACACUACAGACUACUACGACUACAGACAUCAGACACUACAUAUUUACAUCAUCAGAGAUUAUAUUAACAUCAGACAUCGACACAUCAUCAUCAGCAUCAU
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.