bioRxivScientific Communication & EducationPreprint
ggrain: a R package for raincloud plots
Nicholas JuddiD, Jordy van LangeniD, Davide PoggialiiD, Kirstie Jane WhitakeriD, Tom R. MarshalliD, Micah AlleniD, Rogier KievitiD
Abstract
Clear data visualization is essential to effectively communicate empirical findings across various research fields. Raincloud plots fill this need by offering a transparent and statistically robust approach to data visualization. This is achieved by combining three plots in an aesthetically pleasing fashion. First, a dot plot displays raw data with minimal distortion, allowing a fast glance at the sample size and outlier identification. Next, a box plot displays key distributional summary statistics such as the median and interquartile range. Lastly, a violin plot transparently displays the underlying distribution of the data. Despite the widespread use of raincloud plots, an R-package in alignment with the grammar of graphics was lacking. `ggrain` fills this need by offering one easy-to-use function (`geom_rain`) allowing the quick and seamless plotting of rainclouds in the R ecosystem. Further, it enables more complex plotting features such as factorial grouping, mapping with a secondary (continuous) covariate, and connecting observations longitudinally across multiple waves.
- Citations
- 1
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- ggrecipes: An R Package for Custom Visualizations using ggplot2
Ignophi Hu·bioRxiv·Dec 22, 2025
- PlotsOfData - a web app for visualizing data together with its summaries
M. Postma, J. Goedhart·bioRxiv·Nov 13, 2018
- SuperPlotsOfData - a web app for the transparent display and quantitative comparison of continuous data from discrete conditions
J. Goedhart·bioRxiv·Sep 1, 2020
- Plotgardener: Cultivating precise multi-panel figures in R
Nicole E Kramer, Eric S. Davis, … Douglas H. Phanstiel·BioinformaticsPeer-reviewed·Jan 28, 2022
- SinaPlot: an enhanced chart for simple and truthful representation of single observations over multiple classes
Nikos Sidiropoulos, Sina Hadi Sohi, … Frederik Otzen Bagger·Journal of Computational and Graphical StatisticsPeer-reviewed·May 17, 2018
- FlexDotPlot: a universal and modular dot plot visualization tool for complex multifaceted data
Simon Léonard, Aurélie Lardenois, … Frédéric Chalmel·Bioinformatics AdvancesPeer-reviewed·Jan 1, 2022