Genome_intervals-coercion-methods: Coercion methods of the genomeIntervals package

Description Usage Arguments Value Author(s) See Also Examples

Description

coerce

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

Usage

1
2
## 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

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

## End(Not run)

genomeIntervals documentation built on Nov. 8, 2020, 4:56 p.m.