genomeIntervals coercion methods {genomeIntervals}R Documentation

Coercion methods of the genomeIntervals package

Description

coerce

This method allows to coerce a genomeIntervals object into a GRangesList object.

Usage

## S4 method for signature 'Genome_intervals'
as(from,to)

Arguments

from

An object of class Genome_intervals

to

a character string: GRanges or GRangesList

Value

coerce

A GRanges or GRangesList containing the result of the coercion.

Author(s)

Nicolas Delhomme

See Also

Examples

## Not run: 
annot<-readGff3(system.file("extdata",
                            "Dmel-mRNA-exon-r5.52.gff3",
                            package="RnaSeqTutorial")
gAnnot<-as(annot,"GRangesList") type(annot)

## End(Not run)

[Package genomeIntervals version 1.48.0 Index]