Provides a powerful and flexible tool for visualizing proportional data across spatially resolved contexts. By combining the concepts of scatter plots and stacked bar charts, 'scatterbar' allows users to create scattered bar chart plots, which effectively display the proportions of different categories at each (x, y) location. This visualization is particularly useful for applications where understanding the distribution of categories across spatial coordinates is essential. This package features automatic determination of optimal scaling factors based on data, customizable scaling and padding options for both x and y axes, flexibility to specify custom colors for each category, options to customize the legend title, and integration with 'ggplot2' for robust and high-quality visualizations. For more details, see Velazquez et al. (2024) <doi:10.1101/2024.08.14.606810>.
Version: | 0.1.0 |
Depends: | R (≥ 3.5.0) |
Imports: | magrittr, dplyr, tidyr, ggplot2 |
Suggests: | knitr, rmarkdown, patchwork |
Published: | 2024-11-25 |
DOI: | 10.32614/CRAN.package.scatterbar |
Author: | Dee Velazquez [aut, cre], Jean Fan [aut, rev] |
Maintainer: | Dee Velazquez <dvelazq5 at jhu.edu> |
BugReports: | https://github.com/JEFworks-Lab/scatterbar/issues |
License: | GPL-3 |
URL: | https://github.com/JEFworks-Lab/scatterbar, http://jef.works/scatterbar/ |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | scatterbar results |
Package source: | scatterbar_0.1.0.tar.gz |
Windows binaries: | r-devel: scatterbar_0.1.0.zip, r-release: not available, r-oldrel: scatterbar_0.1.0.zip |
macOS binaries: | r-release (arm64): scatterbar_0.1.0.tgz, r-oldrel (arm64): scatterbar_0.1.0.tgz, r-release (x86_64): scatterbar_0.1.0.tgz, r-oldrel (x86_64): scatterbar_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=scatterbar to link to this page.