Learn R Programming

sequences (version 0.5.9)

Seq-class: Class "Seq"

Description

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.

Arguments

Extends

All reference classes extend and inherit methods from "envRefClass".

See Also

DnaSeq for a S4 implementation of the same subject.

Examples

Run this code
s <- Seq$new(id="My sequence",
             sequence="AGCAGCTACGACT",
             alphabet=c("A","C","G","T"))
s
s$rev()
s

Run the code above in your browser using DataLab