Description Usage Arguments Value See Also Examples
Using the getChromLoc
function in conjunction with the gtf table inside the genome
database specified by the FootprintFinder object, get the chromasome, starting location,
and ending location for gene promoter region.
1 2 3 4 | ## S4 method for signature 'FootprintFinder'
getGenePromoterRegion(obj, gene,
size.upstream = 1000, size.downstream = 0, biotype = "protein_coding",
moleculetype = "gene")
|
obj |
An object of class FootprintFinder |
gene |
A gene name of ID |
size.upstream |
An integer denoting the distance upstream of the target gene to look for footprints (default = 1000) |
size.downstream |
An integer denoting the distance downstream of the target gene to look for footprints (default = 0) |
biotype |
A type of biological unit (default="protein_coding") |
moleculetype |
A type of molecule (default="gene") |
A list containing 3 elements: 1) chr : The name of the chromasome containing the promoter region for the specified gene 2) start : The starting location of the promoter region for the specified gene 3) end : The ending location of the promoter region for the specified gene
Other FootprintFinder methods: FootprintFinder-class
,
closeDatabaseConnections,FootprintFinder-method
,
getChromLoc,FootprintFinder-method
,
getFootprintsForGene,FootprintFinder-method
,
getFootprintsInRegion,FootprintFinder-method
,
getGtfGeneBioTypes,FootprintFinder-method
,
getGtfMoleculeTypes,FootprintFinder-method
,
getPromoterRegionsAllGenes,FootprintFinder-method
,
mapMotifsToTFsMergeIntoTable,FootprintFinder-method
1 2 3 4 5 6 | db.address <- system.file(package="TReNA", "extdata")
genome.db.uri <- paste("sqlite:/",db.address,"genome.sub.db", sep = "/")
project.db.uri <- paste("sqlite:/",db.address,"project.sub.db", sep = "/")
fp <- FootprintFinder(genome.db.uri, project.db.uri)
prom.region <- getGenePromoterRegion(fp, gene = "MEF2C")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.