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

View source: R/utils.R

discrete_coloring_rangeR Documentation

Generates the parameters necessary for discrete coloring and colorbar

Description

Generates the parameters necessary for discrete coloring and colorbar

Usage

discrete_coloring_range(df, color_palette, categorical_color_range)

Arguments

df

catmaply tibble

color_palette

the color palette

categorical_color_range

whether to use categorical color range or not.

Value

list(colorscale, tickvals, ticktext)


catmaply documentation built on May 29, 2024, 12:31 p.m.