| genomeIntervals coercion methods {genomeIntervals} | R Documentation |
This method allows to coerce a
genomeIntervals
object into a RangedData object or
GRangesList object.
## S4 method for signature 'Genome_intervals' as(from,to)
from |
An object of class |
to |
a character string; either RangedData or GRangesList |
A RangedData or
GRangesList
containing the result of the coercion.
Nicolas Delhomme
## Not run:
annot<-readGff3(system.file("extdata",
"Dmel-mRNA-exon-r5.52.gff3",
package="RnaSeqTutorial")
gAnnot<-as(annot,"RangedData") type(annot)
## End(Not run)