discrete_coloring: Generates the parameters necessary for discrete coloring and...

View source: R/utils.R

discrete_coloringR Documentation

Generates the parameters necessary for discrete coloring and colorbar

Description

Generates the parameters necessary for discrete coloring and colorbar

Usage

discrete_coloring(df, color_palette, categorical_color_range, legend_items)

Arguments

df

catmaply tibble

color_palette

the color palette

categorical_color_range

whether to use categorical color range or not.

legend_items

distinct/unique items of ordered legend items

Value

list(colorscale, tickvals, ticktext)


yvesmauron/bt documentation built on June 13, 2025, 5:50 p.m.