getFootprintsForGene: Get Footprints for Gene

Description Usage Arguments Value See Also Examples

Description

Using the getGenePromoterRegion and getFootprintsInRegion functions in conjunction with the gtf table inside the genome database specified by the FootprintFinder object, retrieve a dataframe containing the footprints for a specified gene

Usage

1
2
3
4
## S4 method for signature 'FootprintFinder'
getFootprintsForGene(obj, gene,
  size.upstream = 1000, size.downstream = 0, biotype = "protein_coding",
  moleculetype = "gene")

Arguments

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")

Value

A dataframe containing all footprints for the specified gene and accompanying parameters

See Also

Other FootprintFinder methods: FootprintFinder-class, closeDatabaseConnections,FootprintFinder-method, getChromLoc,FootprintFinder-method, getFootprintsInRegion,FootprintFinder-method, getGenePromoterRegion,FootprintFinder-method, getGtfGeneBioTypes,FootprintFinder-method, getGtfMoleculeTypes,FootprintFinder-method, getPromoterRegionsAllGenes,FootprintFinder-method, mapMotifsToTFsMergeIntoTable,FootprintFinder-method

Examples

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)

footprints <- getFootprintsForGene(fp, gene = "MEF2C")

TReNA documentation built on Nov. 17, 2017, 12:35 p.m.