subsetGRanges: Subset a GRanges object

subsetGRangesR Documentation

Subset a GRanges object

Description

Subsets a GRanges object with reference to it's ID column using a ID vector.

Usage

subsetGRanges(OGREDataSet, IDs, name)

Arguments

OGREDataSet

An OGREDataSet

IDs

character vector with IDs used to subset the GRanges object defined in name

name

character Name of the GRanges object for subsetting. One of the GRanges objects in a OGREDataSet

Value

OGREDataSet.

Examples

myOGRE <- makeExampleOGREDataSet()
myOGRE <- loadAnnotations(myOGRE)
myOGRE <- subsetGRanges(myOGRE,c("ENSG00000142168","ENSG00000256715"),"genes")

svenbioinf/OGRE documentation built on Jan. 30, 2023, 10:55 p.m.