plot_facets_color: Color facet strips by a variable

View source: R/plot.R

plot_facets_colorR Documentation

Color facet strips by a variable

Description

Color facet strips by a variable

Usage

plot_facets_color(p, strip_color, palette)

Arguments

p

A ggplot object for the original facetted plot.

strip_color

Categorical column in the data for the original plot to use to color the facet strips. Tidyeval is used here.

palette

A character vector of colors. Can be named to assign each color to a value in 'strip_color'.

Value

Nothing, the plot is printed to device.


pachterlab/museumst documentation built on July 25, 2022, 11:53 a.m.