» Articles » PMID: 36919162

Ggalluvial: Layered Grammar for Alluvial Plots

Overview
Date 2023 Mar 15
PMID 36919162
Authors
Affiliations
Soon will be listed here.
Abstract

Alluvial diagrams use stacked bar plots and variable-width ribbons to represent multi-dimensional or repeated-measures data comprising categorical or ordinal variables (Bojanowski & Edwards, 2016; Rosvall & Bergstrom, 2010). The ggalluvial package extends the layered grammar of graphics of ggplot2 (Wickham, 2016) to generate alluvial diagrams from tidy data (Wickham, 2014). The package makes two key contributions to the R ecosystem. First, ggalluvial anchors the imprecise notion of an alluvial diagram to the rigid grammar of graphics (Wilkinson, 2006), which lends the plots more precise meaning and opens up many combinatorial possibilities. Second, ggalluvial adopts a distinctive geological nomenclature to distinguish "alluvial plots" and their graphical elements from Sankey diagrams and parallel sets plots, which I hope prove useful as these visualization tools converge toward common standards.

Citing Articles

Time-resolved oxidative signal convergence across the algae-embryophyte divide.

Rieseberg T, Dadras A, Darienko T, Post S, Herrfurth C, Furst-Jansen J Nat Commun. 2025; 16(1):1780.

PMID: 39971942 PMC: 11840003. DOI: 10.1038/s41467-025-56939-y.


Towards a unifying phylogenomic framework for tailed phages.

Weinheimer A, Ha A, Aylward F PLoS Genet. 2025; 21(2):e1011595.

PMID: 39908317 PMC: 11835377. DOI: 10.1371/journal.pgen.1011595.


A systematic scoping review reveals that geographic and taxonomic patterns influence the scientific and societal interest in urban soil microbial diversity.

Masson S, Chialva M, Bongiovanni D, Adamo M, Stefanini I, Lanfranco L Environ Microbiome. 2025; 20(1):17.

PMID: 39905522 PMC: 11792354. DOI: 10.1186/s40793-025-00677-7.


Advancing personalized cancer therapy: Onko_DrugCombScreen-a novel Shiny app for precision drug combination screening.

Yang J, Wang M, Donitz J, Chapuy B, Beissbarth T NAR Genom Bioinform. 2025; 7(1):lqaf004.

PMID: 39897104 PMC: 11783568. DOI: 10.1093/nargab/lqaf004.


Classification performance and reproducibility of GPT-4 omni for information extraction from veterinary electronic health records.

Wulcan J, Jacques K, Lee M, Kovacs S, Dausend N, Prince L Front Vet Sci. 2025; 11:1490030.

PMID: 39885843 PMC: 11780673. DOI: 10.3389/fvets.2024.1490030.


References
1.
Kosara R, Bendix F, Hauser H . Parallel sets: interactive exploration and visual analysis of categorical data. IEEE Trans Vis Comput Graph. 2006; 12(4):558-68. DOI: 10.1109/TVCG.2006.76. View

2.
Rosvall M, Bergstrom C . Mapping change in large networks. PLoS One. 2010; 5(1):e8694. PMC: 2811724. DOI: 10.1371/journal.pone.0008694. View

3.
Brunson J . ggalluvial: Layered Grammar for Alluvial Plots. J Open Source Softw. 2023; 5(49). PMC: 10010671. DOI: 10.21105/joss.02017. View

4.
Hofmann H, Vendettuoli M . Common angle plots as perception-true visualizations of categorical associations. IEEE Trans Vis Comput Graph. 2013; 19(12):2297-305. DOI: 10.1109/TVCG.2013.140. View

5.
Sjoding M, Gong M, Haas C, Iwashyna T . Evaluating Delivery of Low Tidal Volume Ventilation in Six ICUs Using Electronic Health Record Data. Crit Care Med. 2018; 47(1):56-61. PMC: 6298798. DOI: 10.1097/CCM.0000000000003469. View