FragLenDistr | R Documentation |
These functions are used to generate fragment distribution plot. The fourier transform of fragment distribution will be calculated. Strength distribution around period at 10.4bp and 180bp will be shown in another two plots.
atacFragLenDistr(atacProc, reportPrefix = NULL, bedInput = NULL, ...) ## S4 method for signature 'ATACProc' atacFragLenDistr(atacProc, reportPrefix = NULL, bedInput = NULL, ...) fragLenDistr(bedInput, reportPrefix = NULL, ...)
atacProc |
|
reportPrefix |
|
bedInput |
|
... |
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,
you can use fragLenDistr
instead.
An invisible ATACProc-class
object scalar for downstream analysis.
Zheng Wei
atacSamToBed
samToBed
atacBedUtils
bedUtils
library(R.utils) td <- tempdir() setTmpDir(td) bedbzfile <- system.file(package="esATAC", "extdata", "chr20.50000.bed.bz2") bedfile <- file.path(td,"chr20.50000.bed") ## Not run: bunzip2(bedbzfile,destname=bedfile,overwrite=TRUE,remove=FALSE) fragLenDistr(bedfile) ## End(Not run) dir(td)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.