extractPromoters: Extract promoter

extractPromotersR Documentation

Extract promoter

Description

A wrapper of GenomicRanges::promoters() to extract promoter regions of a GRanges object stored in a OGREDataSet

Usage

extractPromoters(OGREDataSet, name, upstream = 2000, downstream = 200)

Arguments

OGREDataSet

An OGREDataSet

name

character Name of the GRanges object

upstream

int (positive) upstream=2000(default)

downstream

int (positive) downstream=200(default)

Value

OGREDataSet

Examples

myOGRE <- makeExampleOGREDataSet()
myOGRE <- loadAnnotations(myOGRE)
myOGRE <- extractPromoters(myOGRE,"genes", upstream=2000, downstream=200)

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