RMotifScan | R Documentation |
Search motif position in genome according thr given motif and peak information.
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
## 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.