Description Usage Arguments Author(s) See Also Examples
View source: R/binOverRegions.R
plot the output of binOverRegions or binOverGene
1  | plotBinOverRegions(dat, ...)
 | 
dat | 
 A list of matrix which indicate the coverage of regions per bin  | 
... | 
 Parameters could be used by matplot  | 
Jianhong Ou
binOverRegions, binOverGene
1 2 3 4 5 6 7 8 9 10 11 12 13  | if(interactive()){
path <- system.file("extdata", package="ChIPpeakAnno")
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
library(rtracklayer)
files <- dir(path, "bigWig")
if(.Platform$OS.type != "windows"){
cvglists <- lapply(file.path(path, files), import,
                   format="BigWig", as="RleList")
names(cvglists) <- sub(".bigWig", "", files)
d <- binOverGene(cvglists, TxDb.Hsapiens.UCSC.hg19.knownGene)
plotBinOverRegions(d)
}
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.