DnaSeq-class: Class "DnaSeq" and "RnaSeq"

DnaSeq-classR Documentation

Class "DnaSeq" and "RnaSeq"

Description

The DnaSeq and RnaSeq are instances of the virtual GenericSeq class for "DNA" and "RNA" respectively. Their alphabets are defined accordingly.

Objects from the Class

Instance of DnaSeq and RnaSeq can be created by reading fasta files using the readFasta function.

Slots

See the GenericSeq class for details about the generic slots and methods.

Extends

Class GenericSeq, directly.

Methods

See GenericSeq for inherited methods.

comp

signature(object = "DnaSeq"): return the complement of the sequence string of the sequence instance.

transcribe

signature(object = "DnaSeq"): transcribes the DnaSeq instance into a RnaSeq instance.

Author(s)

Laurent Gatto

See Also

See also the GenericSeq virtual class.

Examples

data("dnaseq")
dnaseq
rnaseq <- transcribe(dnaseq)
rnaseq

lgatto/sequences documentation built on Dec. 2, 2024, 1:57 a.m.