plot_color_bar: Plot a color bar with values

View source: R/scfigs.r

plot_color_barR Documentation

Plot a color bar with values

Description

Plot a color bar with values

Usage

plot_color_bar(vals, cols, fig_fn = NULL, title = "", show_vals_ind = NULL)

Arguments

vals

to plot

cols

colors of the values (same length as vals)

fig_fn

if null - plot inline

title

of legend

show_vals_ind

logical vector - which values to show


tanaylab/metacell documentation built on Oct. 19, 2023, 1:01 p.m.