Hello all, when I use dba.plotVenn to get diagrams of my peaksets using DiffBind the Intervals numbers don't match the Venn diagram.
> tumors <- dba(sampleSheet='file.csv',minOverlap=F)
AFTER001_pre Breast ER pre 1 bed
AFTER001_post Breast ER post 1 bed
> tumors
17 Samples, 24627 sites in matrix:
ID Tissue Factor Condition Replicate Peak.caller Intervals
1 AFTER001_pre Breast ER pre 1 bed 2071
8 AFTER001_post Breast ER post 1 bed 3381
But the Venn diagram generated has 1204 AFTER001_pre only peaks, 242 AFTER001_post only peaks and 839 overlapping peaks. 1204+839!=2071. Anyone know what I'm doing wrong?
Thanks, Tesa
Sorry, I forgot session info.
> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] DiffBind_1.6.2 GenomicRanges_1.12.5 IRanges_1.18.3
[4] BiocGenerics_0.6.0 BiocInstaller_1.10.3
loaded via a namespace (and not attached):
[1] amap_0.8-12 bitops_1.0-6 caTools_1.17.1 edgeR_3.2.4
[5] gdata_2.13.3 gplots_2.14.2 gtools_3.4.1 KernSmooth_2.23-13
[9] limma_3.16.8 RColorBrewer_1.0-5 stats4_3.1.1 tools_3.1.1
[13] zlibbioc_1.6.0