ggVennDiagram: A 'ggplot2' Implement of Venn Diagram

Easy-to-use functions to generate 2-7 sets Venn or upset plot in publication quality. 'ggVennDiagram' plot Venn or upset using well-defined geometry dataset and 'ggplot2'. The shapes of 2-4 sets Venn use circles and ellipses, while the shapes of 4-7 sets Venn use irregular polygons (4 has both forms), which are developed and imported from another package 'venn', authored by Adrian Dusa. We provided internal functions to integrate shape data with user provided sets data, and calculated the geometry of every regions/intersections of them, then separately plot Venn in four components, set edges/labels, and region edges/labels. From version 1.0, it is possible to customize these components as you demand in ordinary 'ggplot2' grammar. From version 1.4.4, it supports unlimited number of sets, as it can draw a plain upset plot automatically when number of sets is more than 7.

Version: 1.5.2
Depends: R (≥ 4.1.0)
Imports: ggplot2 (≥ 3.4.0), dplyr, methods, tibble, aplot, venn (≥ 1.12), yulab.utils, forcats
Suggests: testthat (≥ 2.1.0), knitr, plotly, RColorBrewer, shiny, rmarkdown, tidyr
Published: 2024-02-20
DOI: 10.32614/CRAN.package.ggVennDiagram
Author: Chun-Hui Gao ORCID iD [aut, cre], Guangchuang Yu ORCID iD [ctb], Adrian Dusa ORCID iD [aut, cph] (Adrian Dusa is the author and copyright holder of venn, where ggVennDiagram imports the polygon coordinates enabling 5 - 7 sets Venn diagram.), Turgut Yigit Akyol ORCID iD [ctb]
Maintainer: Chun-Hui Gao <gaospecial at gmail.com>
License: GPL-3
URL: https://github.com/gaospecial/ggVennDiagram, https://gaospecial.github.io/ggVennDiagram/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: ggVennDiagram results

Documentation:

Reference manual: ggVennDiagram.pdf
Vignettes: VennCalculator
Fully Customed Venn Diagram
Tutorial: Using ggVennDiagram
Using New Shapes in Venn Diagram

Downloads:

Package source: ggVennDiagram_1.5.2.tar.gz
Windows binaries: r-devel: ggVennDiagram_1.5.2.zip, r-release: ggVennDiagram_1.5.2.zip, r-oldrel: ggVennDiagram_1.5.2.zip
macOS binaries: r-release (arm64): ggVennDiagram_1.5.2.tgz, r-oldrel (arm64): ggVennDiagram_1.5.2.tgz, r-release (x86_64): ggVennDiagram_1.5.2.tgz, r-oldrel (x86_64): ggVennDiagram_1.5.2.tgz
Old sources: ggVennDiagram archive

Reverse dependencies:

Reverse imports: biblioverlap, bulkAnalyseR, netShiny
Reverse suggests: ChIPseeker, manydata, MicrobiotaProcess, MiscMetabar, pcutils

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ggVennDiagram to link to this page.