An implementation of scale functions for setting axis breaks of a ‘gg’ plot.
Guangchuang YU & Shuangbin XU
School of Basic Medical Sciences, Southern Medical University
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.
Get the released version from CRAN:
install.packages("ggbreak")
Or the development version from github:
remotes::install_github("YuLab-SMU/ggbreak")
For more details, please refer to the online vignette.