Learn R Programming

easyRNASeq (version 2.8.2)

IRanges additional methods: Extension of the IRanges package

Description

Return the ranges of the genomic annotation.

Usage

## S3 method for class 'RNAseq':
ranges(x)

Arguments

x
An object of the RNAseq class

Value

  • An IRangesList object, where the split is performed by seqnames (e.g. chromosomes).

Details

It retrieves the object stored in the genomicAnnotation slot of the RNAseq object and apply the ranges function on it. The object retrieved can be of the RangedData or GRangesList class.

Examples

Run this code
library("RnaSeqTutorial")

	obj <- getAnnotation(
            AnnotParam(
              organism="Dmelanogaster",
              datasource=system.file(
    	          "extdata",
				        "Dmel-mRNA-exon-r5.52.gff3",
				        package="RnaSeqTutorial"),
  		        type="gff3"
  ))
  
	ranges(obj)

Run the code above in your browser using DataLab