Package: vennDiagramLab 2.9.0

vennDiagramLab: Headless Venn Diagram Analysis and Rendering

Headless companion to the 'Venn Diagram Lab' web tool (<https://www.venndiagramlab.org/>). Build, render, and statistically analyze Venn / 'UpSet' diagrams from 'CSV' / 'TSV' / 'GMT' / 'GMX' inputs. Provides the same 44 SVG models, intersection / 'Jaccard' / hypergeometric statistics, and PDF report layout as the web tool, with byte-equivalent 'TSV' exports (parity-tested against the published Python package). Integrates with 'ggplot2', 'tidygraph', and 'broom'.

Authors:Zoltán Dul [aut, cre], Márton Ölbei [aut], N. Shaun B. Thomas [aut], Azeddine Si Ammour [aut], Attila Csikász-Nagy [aut]

vennDiagramLab_2.9.0.tar.gz
vennDiagramLab_2.9.0.zip(r-4.7-any)vennDiagramLab_2.9.0.zip(r-4.6-any)vennDiagramLab_2.9.0.zip(r-4.5-any)
vennDiagramLab_2.9.0.tgz(r-4.6-any)vennDiagramLab_2.9.0.tgz(r-4.5-any)
vennDiagramLab_2.9.0.tar.gz(r-4.7-any)vennDiagramLab_2.9.0.tar.gz(r-4.6-any)
vennDiagramLab_2.9.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
vennDiagramLab/json (API)

# Install 'vennDiagramLab' in R:
install.packages('vennDiagramLab', repos = c('https://zoliqua.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/zoliqua/venn-diagram-lab/issues

Pkgdown/docs site:https://zoliqua.github.io

On CRAN:

Conda:

visualizationgenesetenrichmentsoftwareadelaidebioinformaticsdata-visualizationedwards-venneulerhamiltoninteractivemanawatumasseypalmerton-northpython-packagereactset-theorysvgtypescriptupsetplotvennvenn-diagramvenndiagramvictoria

6.70 score 5 stars 416 downloads 50 exports 58 dependencies

Last updated from:9c41b0e80b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK194
source / vignettesOK324
linux-releaseOK191
macos-releaseOK304
macos-oldrelOK257
windows-develOK266
windows-releaseOK281
windows-oldrelOK266
wasm-releaseOK133

Exports:analyzeanalyze_data_qualitybh_fdrcircle_intersection_areacluster_set_ordercompute_pairwisediceeffective_universeexclusive_itemsfold_enrichmentfold_enrichment_cigenerate_proportional_svggeom_vennhypergeometric_p_valueintersection_itemsitem_share_distributionjaccardlist_modelslist_samplesload_csvload_gmtload_gmxload_sampleload_tsvone_vs_rest_enrichmentoverlap_coefficientparse_region_expressionrender_cluster_heatmaprender_enrichment_barrender_enrichment_lollipoprender_networkrender_share_distributionrender_upsetrender_venn_svgsolve_2setsolve_3setstatisticsto_excel_workbookto_matrix_tsvto_network_graphmlto_network_sifto_one_vs_rest_tsvto_pdf_reportto_region_summary_tsvto_result_jsonto_statistics_tsvto_zip_reportunion_itemsvalidate_datasetvdl_version

Dependencies:base64encBiocGenericscachemclicolorspaceComplexUpsetcpp11dplyrfarverfastmapgenericsggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtableigraphisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmemoiseopenxlsxpatchworkpillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadillorlangrsvgS7scalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8vctrsviridisviridisLitewithrxml2zip

Area-proportional 2/3-set diagrams
When to use proportional | A 2-set example | A 3-set example | Low-level helpers | circle_intersection_area(r1, r2, d) | solve_2set(a_only, b_only, ab) | solve_3set(regions) | What's next

Last update: 2026-05-12
Started: 2026-05-04

Choosing UpSet vs Venn vs Network
Quick guidance | Venn | UpSet | Network | When the three views disagree | What's next

Last update: 2026-05-12
Started: 2026-05-04

Custom styling and export
Custom names | Custom colors | Hide the count labels | Post-render SVG manipulation with xml2 | Embed in a ggplot2 chain | Multi-format export | What's next

Last update: 2026-05-12
Started: 2026-05-04

PDF reports
Generating the report | What the report contains | What's next

Last update: 2026-05-12
Started: 2026-05-04

Pipeline integration (targets / drake)
Pipeline integration | broom methods | Combining with dplyr | targets pipeline (sketch) | Caching tip | What's next

Last update: 2026-05-12
Started: 2026-05-04

Quickstart
1. Load the package | 2. Pick a bundled sample | 3. Load it as a VennDataset | 4. Analyze | 5. Render | What's next

Last update: 2026-05-12
Started: 2026-05-04

Real cancer drivers walkthrough
Set sizes | Universe | Analyze | Set sizes (inclusive) and intersection layout | A summary at a glance | Render the venn diagram | UpSet view | Top significant intersections | Item-level annotation | Save the region summary | What's next

Last update: 2026-05-12
Started: 2026-05-04

Statistics deep dive (Jaccard, Dice, hypergeometric, BH-FDR)
Statistics deep dive | The five metrics | Compute one metric directly | All pairs at once | BH-FDR adjustment | broom-compatible long-form | Reproducing the web tool's coloring | What's next

Last update: 2026-05-12
Started: 2026-05-04

Readme and manuals

Help Manual

Help pageTopics
Analyze a Venn diagram datasetanalyze
Analyze a parsed table for data-quality issuesanalyze_data_quality
Augment method for RegionResult (broom-compatible)augment.RegionResult
Benjamini-Hochberg FDR adjustmentbh_fdr
Lens-shaped intersection area of two circlescircle_intersection_area
Hierarchical clustering on a symmetric distance matrix.cluster_set_order
Compute all 5 pairwise statistical tablescompute_pairwise
Sorensen-Dice coefficientdice
Effective hypergeometric universe size for a RegionResulteffective_universe effective_universe,RegionResult-method
Items exclusive to a specific set combinationexclusive_items
Fold enrichment (observed / expected ratio)fold_enrichment
Approximate 95% confidence interval for the fold enrichmentfold_enrichment_ci
Generate an area-proportional SVG for a 2- or 3-set RegionResultgenerate_proportional_svg
Embed a rendered Venn diagram as a ggplot2 layergeom_venn
Glance method for RegionResult (broom-compatible)glance.RegionResult
One-sided hypergeometric p-value (over-representation)hypergeometric_p_value
Items in the intersection of the named setsintersection_items
Item Share Distributionitem_share_distribution
Jaccard similarity indexjaccard
List all bundled Venn diagram modelslist_models
List bundled sample dataset nameslist_samples
Load a delimited file (CSV/TSV) into a [`VennDataset-class`]load_csv
Load a GMT (Gene Matrix Transposed) file into a [`VennDataset-class`]load_gmt
Load a GMX file (transposed GMT) into a [`VennDataset-class`]load_gmx
Load a bundled sample dataset by nameload_sample
Load a tab-separated file into a [`VennDataset-class`]load_tsv
One-vs-rest enrichment: each set tested against the union of all OTHER setsone_vs_rest_enrichment
Szymkiewicz-Simpson overlap coefficientoverlap_coefficient
Parse a Boolean region expression into bitmasksparse_region_expression
RegionData: one region of a Venn diagramRegionData-class
RegionResult: result of analyze()RegionResult-class
Render a cluster-ordered Jaccard similarity heatmaprender_cluster_heatmap
Render the pairwise enrichment bar chartrender_enrichment_bar
Render the pairwise enrichment lollipop chartrender_enrichment_lollipop
Render a force-directed network plot from a RegionResultrender_network
Render the Item Share Distribution histogramrender_share_distribution
Render an UpSet plot from a RegionResultrender_upset
Render a RegionResult onto its model SVG and return the raw SVG stringrender_venn_svg
Area-proportional 2-set circle layoutsolve_2set
Area-proportional 3-set circle layout (Wilkinson 2012-style triangulation)solve_3set
Lazy pairwise statistics for a RegionResultstatistics statistics,RegionResult-method
StatisticsResult: container for pairwise statistical metric tablesStatisticsResult-class
SvgImage: wrapper for rendered SVG outputSvgImage-class
Tidy method for RegionResult (broom-compatible)tidy.RegionResult
Write a 3-sheet Excel workbook matching the webtool's ZIP bundleto_excel_workbook
Write the Item Matrix TSVto_matrix_tsv to_matrix_tsv,RegionResult-method
Write the Cytoscape GraphML network exportto_network_graphml to_network_graphml,RegionResult-method
Write the Cytoscape SIF network exportto_network_sif to_network_sif,RegionResult-method
Write the one-vs-rest Enrichment TSVto_one_vs_rest_tsv to_one_vs_rest_tsv,RegionResult-method
Compose a multi-page PDF report from a RegionResultto_pdf_report
Write the Region Summary TSVto_region_summary_tsv to_region_summary_tsv,RegionResult-method
Write the full Venn result + statistics as canonical JSONto_result_json to_result_json,RegionResult-method
Write the pairwise Statistics TSVto_statistics_tsv to_statistics_tsv,RegionResult-method
Write a Full Report ZIP bundleto_zip_report
Items in the union of the named setsunion_items
Load a CSV/TSV file and report data-quality issues, with an opt-in warningvalidate_dataset
Get the vennDiagramLab package versionvdl_version
VennDataset: in-memory representation of a Venn-diagram inputVennDataset-class