| MotifsInRegions {enrichTF} | R Documentation |
Scan for motif occurrences using the prepared PWMs and obtain the promising candidate motifs in these regions.
enrichFindMotifsInRegions(prevStep, inputRegionBed = NULL,
outputRegionMotifBed = NULL, motifRc = c("integrate", "jaspar",
"pwmfile"), inputPwmFile = getRefFiles("motifpwm"),
genome = getGenome(), threads = getThreads(), ...)
## S4 method for signature 'Step'
enrichFindMotifsInRegions(prevStep,
inputRegionBed = NULL, outputRegionMotifBed = NULL,
motifRc = c("integrate", "jaspar", "pwmfile"),
inputPwmFile = getRefFiles("motifpwm"), genome = getGenome(),
threads = getThreads(), ...)
findMotifsInRegions(inputRegionBed, outputRegionMotifBed = NULL,
motifRc = c("integrate", "jaspar", "pwmfile"),
inputPwmFile = getRefFiles("motifpwm"), genome = getGenome(),
threads = getThreads(), ...)
prevStep |
|
inputRegionBed |
|
outputRegionMotifBed |
|
motifRc |
|
inputPwmFile |
|
genome |
|
threads |
|
... |
Additional arguments, currently unused. |
Scan for motif occurrences using the prepared PWMs and obtain the promising candidate motifs in these regions.
An invisible EnrichStep-class object
(Step-class based) scalar for downstream analysis.
Zheng Wei
genBackground
findMotifsInRegions
tfsEnrichInRegions
setGenome("testgenome") #Use "hg19","hg38",etc. for your application
foregroundBedPath <- system.file(package = "enrichTF",
"extdata","testregion.bed")
gen <- genBackground(inputForegroundBed = foregroundBedPath)
findMotif <- enrichFindMotifsInRegions(gen,motifRc="integrate")