so i am running this simple code for overlapping of replicates so can anybody help me regrading standard "maxgap"...
library(VennDiagram)
library(ChIPpeakAnno)
# Read in your peak data
peaks1 <- toGRanges("EREB108_rep1_summits.bed")
peaks2 <- toGRanges("EREB108_rep2_summits.bed")
peaks3 <- toGRanges("EREB108_rep12_summits.bed")
peaks4 <- toGRanges("EREB108_rep21_summits.bed")
# Find overlapping peaks
overlap <- findOverlapsOfPeaks(peaks1, peaks2,peaks3,peaks4, maxgap=10)
# Plot the Venn diagram
makeVennDiagram(overlap)