Description Extends Fields Methods Author(s) See Also Examples
The Seq
class implements a nucleic acid sequence as well as
various sequence transformations. It's aim is to illustrate the usage
of reference classes.
All reference classes extend and inherit methods from "envRefClass"
.
id
:Object of class character
defining the
sequence identifier.
alphabet
:Object of class character
defining
the sequence alphabet.
sequence
:Object of class character
with the
actual sequence string.
transcribe()
:Transcribes a DNA sequence into RNA.
seq()
:Retuns the sequence string.
comp()
:Complements the sequence.
rev()
:Reverses the sequence.
valid()
:Checks sequence validity.
setAlphabet()
:Sets the sequence alphabet.
show()
:Shows the 'Seq' instance.
Laurent Gatto <lg390@cam.ac.uk>
DnaSeq
for a S4 implementation of the same subject.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.