scanGenomeMotif {esATAC} | R Documentation |
Scan motif position from the given genome.
scanGenomeMotif(motifPWM = NULL, refgenome = NULL, min.score = NULL, n.core = NULL, output = NULL)
motifPWM |
|
refgenome |
reference genome. |
min.score |
The minimum score for counting a match. Can be given as a character string containing a percentage (e.g. "85 possible score or as a single number. |
n.core |
How many core to run this function. |
output |
Where to save the result, please with suffix ".rds". |
Scan motif position from the given genome.
the result of saveRDS
Wei Zhang
pwm <- readRDS(system.file("extdata", "motifPWM.rds", package="esATAC")) #library(BSgenome.Hsapiens.UCSC.hg19) #scanGenomeMotif(motifPWM = pwm, refgenome = BSgenome.Hsapiens.UCSC.hg19, #min.score = "90%", n.core = 2, output = "motif.rds")