Description Usage Arguments Details Value Author(s) See Also Examples
Test each TF is enriched in regions or not
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 36 37 38 | enrichTFsEnrichInRegions(
prevStep,
inputRegionBed = NULL,
inputForegroundGeneBed = NULL,
inputBackgroundGeneBed = NULL,
inputRegionMotifBed = NULL,
outputTFsEnrichTxt = NULL,
inputMotifWeights = NULL,
inputTFgeneRelMtx = NULL,
inputMotifTFTable = NULL,
...
)
## S4 method for signature 'Step'
enrichTFsEnrichInRegions(
prevStep,
inputRegionBed = NULL,
inputForegroundGeneBed = NULL,
inputBackgroundGeneBed = NULL,
inputRegionMotifBed = NULL,
outputTFsEnrichTxt = NULL,
inputMotifWeights = NULL,
inputTFgeneRelMtx = NULL,
inputMotifTFTable = NULL,
...
)
tfsEnrichInRegions(
inputRegionBed,
inputForegroundGeneBed,
inputBackgroundGeneBed,
inputRegionMotifBed,
outputTFsEnrichTxt = NULL,
inputMotifWeights = NULL,
inputTFgeneRelMtx = NULL,
inputMotifTFTable = NULL,
...
)
|
prevStep |
|
inputRegionBed |
|
inputForegroundGeneBed |
|
inputBackgroundGeneBed |
|
inputRegionMotifBed |
|
outputTFsEnrichTxt |
|
inputMotifWeights |
|
inputTFgeneRelMtx |
|
inputMotifTFTable |
|
... |
Additional arguments, currently unused. |
Connect foreground and background regions to targetGene. If you only use this function without previous steps and you do not familiar with the data format of the input, you can run the example to see the example input from previous steps.
An invisible EnrichStep-class
object
(Step-class
based) scalar for downstream analysis.
Zheng Wei
genBackground
findMotifsInRegions
tfsEnrichInRegions
1 2 3 4 5 6 7 8 9 10 11 12 | library(magrittr)
setGenome("testgenome") #Use "hg19","hg38",etc. for your application
foregroundBedPath <- system.file(package = "enrichTF", "extdata","testregion.bed")
gen <- genBackground(inputForegroundBed = foregroundBedPath)
conTG <- enrichRegionConnectTargetGene(gen)
findMotif <- enrichFindMotifsInRegions(gen,motifRc="integrate")
result <- enrichTFsEnrichInRegions(gen)
genBackground(inputForegroundBed = foregroundBedPath) %>%
enrichRegionConnectTargetGene %>%
enrichFindMotifsInRegions(motifRc="integrate") %>%
enrichTFsEnrichInRegions
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.