Description Usage Arguments Details Value Author(s) See Also Examples
Use uniform distribution to generate background sequence regions from genome. The size of foreground regions will be unified into the length specified in argument.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 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
1 2 3 | setGenome("testgenome") #Use "hg19","hg38",etc. for your application
foregroundBedPath <- system.file(package = "enrichTF", "extdata","testregion.bed")
gen <- genBackground(inputForegroundBed = foregroundBedPath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.