getCandidates,FootprintFilter-method | R Documentation |
Get candidate genes using the footprint filter
## S4 method for signature 'FootprintFilter' getCandidates(obj)
obj |
An object of class FootprintFilter |
A list, where one element is the transcription factors found in the footprints and the other is a data frame containing all the meta data for the footprints
FootprintFilter
Other getCandidate Methods:
getCandidates,GeneOntologyFilter-method
,
getCandidates,HumanDHSFilter-method
,
getCandidates,VarianceFilter-method
,
getCandidates()
# Use footprint filter with the included SQLite database for MEF2C to filter candidates # in the included Alzheimer's dataset, using the Trena object to get regions ## Not run: target.gene <- "MEF2C" db.address <- system.file(package="trena", "extdata") genome.db.uri <- paste("sqlite:/",db.address,"mef2c.neighborhood.hg38.gtfAnnotation.db", sep = "/") project.db.uri <- paste("sqlite:/",db.address,"mef2c.neigborhood.hg38.footprints.db", sep = "/") size.upstream <- 1000 size.downstream <- 1000 # Construct a Trena object and use it to retrive the regions trena <- Trena("hg38") regions <- getProximalPromoter(trena,target.gene, size.upstream, size.downstream) footprint.filter <- FootprintFilter(genomeDB = genome.db.uri, footprintDB = project.db.uri, regions = regions) footprints <- getCandidates(footprint.filter) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.