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 RangedData object or 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; either RangedData or GRangesList

Value

coerce

A RangedData 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,"RangedData") type(annot)

## End(Not run)

genomeIntervals documentation built on Nov. 1, 2018, 3:48 a.m.