distanceDyad | R Documentation |
Calculate the distance of potential nucleosome dyad and the linear model for V.
distanceDyad(vPlotOut, fragLenRanges = c(60, 180, 250), draw = TRUE, ...)
vPlotOut |
The output of vPlot. |
fragLenRanges |
A numeric vector (length=3) for fragment size of nucleosome free and mono-nucleosome. Default c(60, 180, 250). |
draw |
Plot the results or not. Default TRUE. |
... |
Prameters could be passed to plot. |
an invisible list with distance of nucleosome and the linear model.
Jianhong Ou
vPlot
bamfile <- system.file("extdata", "GL1.bam",
package="ATACseqQC")
library(MotifDb)
CTCF <- query(MotifDb, c("CTCF"))
CTCF <- as.list(CTCF)
library(BSgenome.Hsapiens.UCSC.hg19)
vp <- vPlot(bamfile, pfm=CTCF[[1]],
genome=Hsapiens,
min.score="95%", seqlev="chr1",
draw=FALSE)
distanceDyad(vp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.