Description Usage Arguments Details Value Author(s) See Also Examples
Search motif position in genome according thr given motif and peak information.
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 | atacMotifScan(
atacProc,
peak = NULL,
genome = NULL,
motifs = NULL,
p.cutoff = 1e-06,
scanO.dir = NULL,
prefix = NULL,
...
)
## S4 method for signature 'ATACProc'
atacMotifScan(
atacProc,
peak = NULL,
genome = NULL,
motifs = NULL,
p.cutoff = 1e-06,
scanO.dir = NULL,
prefix = NULL,
...
)
motifscan(
peak = NULL,
genome = NULL,
motifs = NULL,
p.cutoff = 1e-06,
scanO.dir = NULL,
prefix = NULL,
...
)
|
atacProc |
|
peak |
|
genome |
BSgenome object, Default: from |
motifs |
either |
p.cutoff |
p-value cutoff for returning motifs. |
scanO.dir |
|
prefix |
prefix for Output file. |
... |
Additional arguments, currently unused. |
This function scan motif position in a given genome regions.
An invisible ATACProc-class
object scalar for
downstream analysis.
Wei Zhang
atacPeakCalling
atacCutSiteCount
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
library(R.utils)
library(BSgenome.Hsapiens.UCSC.hg19)
peak.path <- system.file("extdata", "Example_peak1.bed.bz2", package="esATAC")
peak.path <- as.vector(bunzip2(filename = peak.path, destname = file.path(getwd(), "Example_peak1.bed"), ext="bz2", FUN=bzfile, overwrite=TRUE , remove = FALSE))
motif <- readRDS(system.file("extdata", "MotifPFM.rds", package="esATAC"))
motifscan(peak = peak.path, genome = BSgenome.Hsapiens.UCSC.hg19, motifs = motif)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.