findVennCounts {ChIPpeakAnno} | R Documentation |
Obtain Venn Counts for two peak ranges using chromosome ranges or feature field, internal function for makeVennDigram
findVennCounts(Peaks, NameOfPeaks, maxgap = -1L, minoverlap = 0L, totalTest, useFeature=FALSE)
Peaks |
RangedDataList: See example below. |
NameOfPeaks |
Character vector to specify the name of Peaks, e.g., c("TF1", "TF2"), this will be used as label in the Venn Diagram. |
maxgap,minoverlap |
Used in the internal call to |
totalTest |
Numeric value to specify the total number of tests performed to obtain the list of peaks. |
useFeature |
TRUE or FALSE, default FALSE, true means using feature field in the RangedData for calculating overlap, false means using chromosome range for calculating overlap. |
p.value |
hypergeometric testing result |
vennCounts |
vennCounts objects containing counts for Venn Diagram generation, see details in limma package vennCounts |
Lihua Julie Zhu
makeVennDiagram