Five steps to your first Venn diagram with
vennDiagramLab.
The package ships five sample datasets (3 biological, 2 mock).
VennDatasetload_sample() returns an S4 VennDataset
with deduplicated set members and first-seen item ordering (matching the
web tool’s CSV semantics).
analyze() resolves the model, enumerates regions, and
returns a RegionResult. With model = "auto"
(the default), it picks the canonical SVG model for the dataset’s set
count.
To save the SVG:
vignette("v02_real_cancer_drivers") — full walkthrough
with custom names, colors, and biological interpretation.vignette("v04_upset_vs_venn_vs_network") — choose the
right visualization per set count.vignette("v05_statistics_deep_dive") — Jaccard, Dice,
hypergeometric, BH-FDR with worked examples.vignette("v07_pdf_reports") — generate
publication-ready multi-page PDFs.