Skip to content

The color palette of official SomaLogic greyscale colors.

Usage

palette_soma_greys(n)

scale_color_soma_greys(...)

scale_fill_soma_greys(...)

Arguments

n

number of colors. This palette is set to the soma_colors_greys object, which is currently 6 elements in length. The palette is recycled as necessary.

...

Arguments passed to ggplot2::discrete_scale(), ggplot2::scale_fill_gradient(), or ggplot2::scale_color_gradient().

Functions

  • scale_color_soma_greys(): color discrete scale for greyscale graphics.

  • scale_fill_soma_greys(): fill discrete scale for greyscale graphics.

See also