Colorblind-safe discrete colour / fill scales for ggplot2
Source:R/vis-theme.R
scale_color_physio.RdColorblind-safe discrete colour / fill scales for ggplot2
Arguments
- ...
Passed to
ggplot2::discrete_scale().
Value
A ggplot2 discrete scale using physioPalette.
Examples
if (requireNamespace("ggplot2", quietly = TRUE)) {
p <- ggplot2::ggplot(
iris,
ggplot2::aes(Sepal.Length, Sepal.Width, color = Species)) +
ggplot2::geom_point() + scale_color_physio() + theme_physio()
}