getProximalPromoter.Rd
For the genome of a given Trena object, retrieve a data frame containing the region surrounding a target gene.
# S4 method for Trena getProximalPromoter(obj, geneSymbols, tssUpstream = 1000, tssDownstream = 1000)
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) |
A dataframe containing the regions surrounding the proximal promoter
if(interactive()) { # too slow for the bioc windows build # Retrieve the proximal promoter for MEF2C using a shoulder size of 2000 on each side trena <- Trena("hg38") regions <- getProximalPromoter(trena, "MEF2C", 2000, 2000) }