Description Usage Arguments Value See Also Examples
Get candidate genes using the footprint filter
1 2 | ## 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
Other getCandidate Methods: getCandidates,GeneOntologyFilter-method
,
getCandidates,HumanDHSFilter-method
,
getCandidates,VarianceFilter-method
,
getCandidates
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # 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
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.