vennDiagramLab

R CMD check Lifecycle: stable License: MIT DOI (all versions)

vennDiagramLab is the R companion to the Venn Diagram Lab web tool and the Python venn-diagram-lab package. It provides headless Venn / UpSet / Network diagram analysis and rendering for bioinformaticians and biostatisticians who work natively in R, with byte-equivalent outputs that match the web tool and the Python package down to the byte.

Features

Install

install.packages("vennDiagramLab")

From Bioconductor (alternate channel once published)

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install("vennDiagramLab")

Development version (GitHub)

The package source lives in the r/ subdirectory of the monorepo:

install.packages("remotes")
remotes::install_github("ZoliQua/Venn-Diagram-Lab", subdir = "r")

A standalone mirror (no subdir = needed) is kept in sync on every push to main for Bioconductor’s Single Package Builder, which requires DESCRIPTION at repo root:

remotes::install_github("ZoliQua/vennDiagramLab")

Both installs produce the same package; the mirror exists purely to satisfy Bioc’s submission tooling.

Quickstart

library(vennDiagramLab)

# Load a bundled dataset (4 cancer driver source catalogs)
ds     <- load_sample("dataset_real_cancer_drivers_4")
result <- analyze(ds)

# Render the Venn diagram as SVG
svg <- render_venn_svg(result, title = "Cancer driver overlap")
writeLines(svg, "cancer_drivers.svg")

# Or get a tidy summary
broom::tidy(result)

# Or generate a multi-page PDF report
to_pdf_report(result, "cancer_drivers.pdf")

See vignette("v01_quickstart") for the full intro and browseVignettes("vennDiagramLab") for the complete eight-vignette gallery.

Documentation

vennDiagramLab is one of three coordinated implementations sharing the same SVG model library, statistics, and byte-equivalent TSV outputs:

Source repositories

The mirror is read-only — file changes should always be made in the monorepo. A GitHub Action splits the r/ subtree and force-pushes it (with a Bioc 0.99.z Version override) to the mirror on every push to main.

Citation

If you use vennDiagramLab in published work, please cite both the software and the version you used.

After install:

citation("vennDiagramLab")

returns a bibentry with the correct version + DOI for the installed copy.

Concept (all-versions) DOI

The Zenodo concept DOI 10.5281/zenodo.19510813 always resolves to the latest version of vennDiagramLab. Cite this DOI when you want readers to be pointed at whatever is current.

Version-specific DOI

Each tagged R release (r-vX.Y.Z) mints its own Zenodo deposit and DOI. The most recent version-specific record is at https://zenodo.org/records/20088768; the per-version DOI from any release archive is preferable for exact reproducibility.

Plain-text citation

Dul Z., Ölbei M., Thomas N.S.B., Si Ammour A., Csikász-Nagy A. (2026).
vennDiagramLab: Headless Venn diagram analysis and rendering.
R package version 2.0.4.
https://zoliqua.github.io/Venn-Diagram-Lab/r/
DOI: 10.5281/zenodo.19510813 (all versions)

Contributing + bug reports

License

MIT — see LICENSE.