makeBackgroundFeather | R Documentation |
Create a background cisTarget ranking out of the genome-wide cisTarget regions based on given regions.
makeBackgroundFeather(
pathToFeather,
subsetRegions = NULL,
subsetMotifs = NULL,
pathToSave,
...
)
pathToFeather |
Path to the feather database to use. Note that this database has to match the genome used for mapping. |
subsetRegions |
Subset of regions to be re-ranked (optional). |
subsetMotifs |
Subset of motifs to be used from the database (optional). |
pathToSave |
Path to save background database. |
... |
See RcisTarget |
The created database can be used as input for topicsRcisTarget()
; using reduced_database = TRUE. Subsetting by
regions and motifs is optional, but at least one of them as to be filled.
A file containing the feather database.
pathToFeather <- "hg19-regions-1M-9species.all_regions.mc9nr.feather"
subsetRegion <- cisTopicObject@region.data$CtxLabels
pathToSave <- "hg19-regions-subsetMelanoma.feather"
makeBackgroundFeather(pathToFeather, subsetRegion, pathToSave)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.