VennDiagram is a R package for generating high-resolution, customizable Venn diagrams with up to four sets and Euler diagrams with up to three sets. Includes handling for several special cases including two-case scaling, and extensive customization of plot shape and structure.
To install the latest public release of VennDiagram from CRAN:
install.packages('VennDiagram');
Or to install the latest development version from Github:
# If `devtools` is not already installed, run:
# install.packages("devtools");
devtools::install_github('uclahs-cds/public-R-VennDiagram');
How to make a simple Venn diagram:
library(VennDiagram);
vd <- VennDiagram::venn.diagram(list(A = 1:150, B = 121:170), filename = NULL);
grid::grid.draw(vd);
The four types of Venn diagrams drawn by the VennDiagram package:
Selected Venn diagram special cases and Euler diagrams drawn by the VennDiagram package.
A side-by-side comparison of an Euler diagram and a Venn diagram for the same hypothetical sets.
Available resources for VennDiagram include the package CRAN page and reference manual.
For guidance or support with VennDiagram check out Discussions
See Issues to submit bugs, suggest new features or view current works
Pull requests are also open for discussion.
Contributors to this package can be viewed here on GitHub.
To cite package VennDiagram
in publications, use:
Chen, H., Boutros, P.C. VennDiagram: a package for the generation of highly-customizable Venn and Euler diagrams in R. BMC Bioinformatics 12, 35 (2011). https://doi.org/10.1186/1471-2105-12-35
A BibTeX entry for LaTeX users is:
@Article{,
title = {VennDiagram: a package for the generation of highly-customizable Venn and Euler diagrams in R},
journal = {BMC Bioinformatics},
doi = {10.1186/1471-2105-12-35},
url = {https://doi.org/10.1186/1471-2105-12-35},
volume = {12},
number = {35},
year = {2011},
month = {January},
day = {26},
issn = {1471-2105},
author = {Hanbo Chen and Paul C Boutros}
}
This information is available via citation('VennDiagram')
Authors: Hanbo Chen, Dan Knight, Stefan Eng & Paul C. Boutros (PBoutros@mednet.ucla.edu)
VennDiagram is licensed under the GNU General Public License version 2. See the file LICENSE.md for the terms of the GNU GPL license.
VennDiagram is a R package enabling generation and customization of quality Venn diagrams and Euler diagrams.
Copyright (C) 2015-2018 Ontario Institute for Cancer Research and 2018-2023 University of California Los Angeles ("Boutros Lab") All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.