plotVenn_gr | R Documentation |
Function to plot Venn diagram of overlapping peaks
plotVenn_gr(
x,
title = "Venn Diagram",
cols = "Dark2",
lty = "blank",
scale = F,
retVals = F
)
x |
named list of GenomicRagnes objects to compare. Maximum 5 sets of regions. |
title |
String indicating title of plot |
cols |
colour palette to use. Can be RColorBrewer Palette, or string of rgb, hexadecimal, or colour names the same length of 'x' |
lty |
Line type. Default="blank" for no lines. 1 for solid lines, 2 for dashed lines, etc. |
scale |
Boolean indicating if circles should be scaled to the size of each region. Works for comaparisons of less than 4. |
retVals |
Boolean indicating if overlap regions should be returned. Default=FALSE. |
Venn diagram plot and if retVals=T, a named list of GenomicRanges for each overlapping region
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.