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

View source: R/utils.R

discrete_coloring_categoricalR Documentation

Generates the parameters necessary for discrete coloring and colorbar

Description

Generates the parameters necessary for discrete coloring and colorbar

Usage

discrete_coloring_categorical(categories, col_palette, range_min, range_max)

Arguments

categories

categories, for coloring should done

col_palette

the color palette

range_min

max of z range; (default: length(categories))

Value

list(colorscale, tickvals, ticktext)


catmaply documentation built on June 8, 2025, 10:36 a.m.