GenBackground {enrichTF} | R Documentation |
Use uniform distribution to generate background sequence regions from genome. The size of foreground regions will be unified into the length specified in argument.
enrichGenBackground(prevStep, inputForegroundBed = NULL, genome = NULL, outputForegroundBed = NULL, outputBackgroundBed = NULL, outputRegionBed = NULL, regionLen = 1000, sampleNumb = 10000, ...) ## S4 method for signature 'Step' enrichGenBackground(prevStep, inputForegroundBed = NULL, genome = NULL, outputForegroundBed = NULL, outputBackgroundBed = NULL, outputRegionBed = NULL, regionLen = 1000, sampleNumb = NULL, ...) genBackground(inputForegroundBed, genome = NULL, outputForegroundBed = NULL, outputBackgroundBed = NULL, outputRegionBed = NULL, regionLen = 1000, sampleNumb = NULL, ...)
prevStep |
|
inputForegroundBed |
|
genome |
|
outputForegroundBed |
|
outputBackgroundBed |
|
outputRegionBed |
|
regionLen |
|
sampleNumb |
|
... |
Additional arguments, currently unused. |
Use uniform distribution to generate background sequence regions from genome. The size of foreground regions will be unified into the length specified in argument.
An invisible EnrichStep-class
object (Step-class
based) scalar for downstream analysis.
Zheng Wei
regionConnectTargetGene
findMotifsInRegions
tfsEnrichInRegions
setGenome("testgenome") #Use "hg19","hg38",etc. for your application foregroundBedPath <- system.file(package = "enrichTF", "extdata","testregion.bed") gen <- genBackground(inputForegroundBed = foregroundBedPath)