ggbreak: set axis breaks for ‘ggplot2’
An implementation of scale functions for setting axis breaks of a ‘gg’ plot.
✍️ Authors
Guangchuang YU & Shuangbin XU
School of Basic Medical Sciences, Southern Medical University
📚 Citation
If you use ggbreak
in published research, please cite the following
paper:
- S Xu#, M Chen#, T Feng, L Zhan, L Zhou, G
Yu*. Use ggbreak to effectively utilize plotting space
to deal with large datasets and outliers. Frontiers in
Genetics. 2021, 12:774846. doi:
10.3389/fgene.2021.774846
- Supplemental file: https://github.com/YuLab-SMU/supplemental-ggbreak.
⏬ Installation
Get the released version from CRAN:
install.packages("ggbreak")
Or the development version from github:
remotes::install_github("YuLab-SMU/ggbreak")
🈯 Vignette
For more details, please refer to the online vignette.