expand_color_pal: Interpolates between entries in the input palette to make a...

Description Usage Arguments Value

View source: R/utils_color.R

Description

Interpolates between entries in the input palette to make a larger palette with COLOR_RES entries.

Usage

1
expand_color_pal(pal, COLOR_RES = 255)

Arguments

pal

The color palette to expand, as a data.frame with two columns: "color" (character: color hex codes) and "value" (numeric).

COLOR_RES

The number of entries to have in the output palette.

Value

A data.frame with two columns: "color" (character: color hex codes) and "value" (numeric)


neuroconductor/ciftiTools documentation built on Dec. 22, 2021, 1:09 a.m.