ggpLayerColorGroupScale.Rd
Creates a color spectrum from the color used to represent a group to transparent white (can be changed) to maintain a consistent color scheme.
ggpLayerColorGroupScale(
object,
grouping,
group,
clrp,
clrp_adjust = NULL,
low = ggplot2::alpha("white", 0),
aes = "color",
...
)
An object of class spata2
.
The colorpalette and adjustment used to visualize the grouping.
The color against which to plot.
Either 'color' or 'fill'.
Additional arguments given to ggplot2::scale_color_gradient()
ggpLayer*()
-functions return lists of ggproto
objects
that can be added to ggplots via the +
operator. In most of the cases
they are supposed to be added to plots created with the plotSurface*()
family.