FRiPQC | R Documentation |
Calculate the fraction of reads falling within peak regions
atacFripQC( atacProc, atacProcPeak = NULL, bsgenome = NULL, reportOutput = NULL, readsBedInput = NULL, peakBedInput = NULL, ... ) ## S4 method for signature 'ATACProc' atacFripQC( atacProc, atacProcPeak = NULL, bsgenome = NULL, reportOutput = NULL, readsBedInput = NULL, peakBedInput = NULL, ... ) fripQC(readsBedInput, peakBedInput, bsgenome = NULL, reportOutput = NULL, ...)
atacProc |
|
atacProcPeak |
|
bsgenome |
|
reportOutput |
|
readsBedInput |
|
peakBedInput |
|
... |
Additional arguments, currently unused. |
The parameter related to input and output file path
will be automatically
obtained from ATACProc-class
object(atacProc
) or
generated based on known parameters
if their values are default(e.g. NULL
).
Otherwise, the generated values will be overwrited.
If you want to use this function independently,
or you can use fripQC
instead.
An invisible fripQC
object scalar for downstream analysis.
Zheng Wei
atacSamToBed
atacBedUtils
library(R.utils) library(BSgenome.Hsapiens.UCSC.hg19) library(magrittr) td <- tempdir() setTmpDir(td) bedbzfile <- system.file(package="esATAC", "extdata", "chr20.50000.bed.bz2") bedfile <- file.path(td,"chr20.50000.bed") bunzip2(bedbzfile,destname=bedfile,overwrite=TRUE,remove=FALSE) bedUtils(bedInput = bedfile,maxFragLen = 100, chrFilterList = NULL) %>% atacPeakCalling %>% atacFripQC(bsgenome=BSgenome.Hsapiens.UCSC.hg19) dir(td)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.