Tidy Plots for Scientific Papers (original) (raw)
The goal of tidyplots
is to streamline the creation of publication-ready plots for scientific papers. It allows to gradually add, remove and adjust plot components using a consistent and intuitive syntax.
Installation
You can install the released version of tidyplots from CRAN with:
And the development version from GitHub with:
# install.packages("pak")
pak::pak("jbengler/tidyplots")
Cheatsheet
This cheatsheet gives a high level overview of available functions.
Documentation
- Package index
Overview of all tidyplots functions - Get started
Getting started guide - Visualizing data
Article with examples for common data visualizations - Advanced plotting
Article about advanced plotting techniques and workflows - Color schemes
Article about the use of color schemes
Acknowledgements
I would like to thank Lars Binkle-Ladisch for our insightful discussions and for consistently challenging my decisions regarding the naming of functions and their arguments.
Many thanks to the R and tidyverse communities. tidyplots is built upon their software and coding paradigms, and it would not have been possible without their contributions.
tidyplots relies on several fantastic packages that handle all the heavy lifting behind the scenes. These include cli, dplyr, forcats, ggbeeswarm, ggplot2, ggpubr, ggrastr, ggrepel, glue, Hmisc, htmltools, lifecycle, patchwork, purrr, rlang, scales, stringr, tidyr, and tidyselect.