R/scfigs.r
plot_color_bar.Rd
Plot a color bar with values
plot_color_bar(vals, cols, fig_fn = NULL, title = "", show_vals_ind = NULL)
to plot
colors of the values (same length as vals)
if null - plot inline
of legend
logical vector - which values to show