scatterbar: Scattered Stacked Bar Chart Plots

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>.

Package details

AuthorDee Velazquez [aut, cre] (<https://orcid.org/0009-0004-4380-4794>), Jean Fan [aut, rev] (<https://orcid.org/0000-0002-0212-5451>)
MaintainerDee Velazquez <dvelazq5@jhu.edu>
LicenseGPL-3
Version0.1.0
URL https://github.com/JEFworks-Lab/scatterbar http://jef.works/scatterbar/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("scatterbar")

Try the scatterbar package in your browser

Any scripts or data that you put into this service are public.

scatterbar documentation built on April 4, 2025, 5:23 a.m.