getProximalPromoter: Grab the region of the proximal promoter for a given gene...

Description Usage Arguments Value Examples

Description

For the genome of a given Trena object, retrieve a data frame containing the region surrounding a target gene.

Usage

1
2
3
## S4 method for signature 'Trena'
getProximalPromoter(obj, geneSymbols, tssUpstream = 1000,
  tssDownstream = 1000)

Arguments

obj

An object of class Trena

geneSymbols

A vector containing genes of interest

tssUpstream

A designated distance upstream of the promoter to use as a shoulder (default = 1000)

tssDownstream

A designated distance downstream of the promoter to use as a shoulder (default = 1000)

Value

A dataframe containing the regions surrounding the proximal promoter

Examples

1
2
3
# Retrieve the proximal promoter for MEF2C using a shoulder size of 2000 on each side
trena <- Trena("hg38")
regions <- getProximalPromoter(trena, "MEF2C", 2000, 2000)

PriceLab/trena-until-01mar2018 documentation built on May 25, 2019, 1:22 p.m.