Description Usage Arguments Value Author(s) Examples
use Cochran-Mantel-Haenszel Test to test differential peaks
1 |
counts |
output of countTable |
conditionA, conditionB |
condition A and B. Comparison will be A-B. |
... |
not used. |
an object of GRanges
Jianhong Ou
1 2 3 4 5 6 7 8 | path <- system.file("extdata", package = "diffPeaks", mustWork = TRUE)
bamfiles <- dir(path, "bam$")
peaks <- dir(path, "bed$")
p <- mergePeaks(file.path(path, peaks))
colData <- DataFrame(samples=bamfiles, condition=sub(".rep..bam", "", bamfiles),
pairs=rep(c(1,2,3), 2))
cnt <- countTable(p, file.path(path, bamfiles), colData)
CMHpeaks(cnt, conditionA="inj", conditionB="uni")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.