CRAN/E | ggVennDiagram

ggVennDiagram

A 'ggplot2' Implement of Venn Diagram

Installation

About

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.

github.com/gaospecial/ggVennDiagram
gaospecial.github.io/ggVennDiagram/

Key Metrics

Version 1.5.2
R ≥ 4.1.0
Published 2024-02-20 69 days ago
Needs compilation? no
License GPL-3
CRAN checks ggVennDiagram results

Downloads

Yesterday 93 +33%
Last 7 days 1.223 -11%
Last 30 days 4.857 -23%
Last 90 days 17.606 +3%
Last 365 days 62.228 +28%

Maintainer

Maintainer

Chun-Hui Gao

gaospecial@gmail.com

Authors

Chun-Hui Gao

aut / cre

Guangchuang Yu

ctb

Adrian Dusa

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

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

VennCalculator
Fully Customed Venn Diagram
Tutorial: Using ggVennDiagram
Using New Shapes in Venn Diagram

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

ggVennDiagram archive

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

Reverse Imports

biblioverlap
bulkAnalyseR
netShiny

Reverse Suggests

ChIPseeker
MicrobiotaProcess
MiscMetabar