ROY_BIG_BL: "ROY_BIG_BL" color palette

View source: R/utils_color.R

ROY_BIG_BLR Documentation

"ROY_BIG_BL" color palette

Description

"ROY_BIG_BL", the default palette from the Connectome Workbench.

Usage

ROY_BIG_BL(min = 0, max = 1, mid = NULL, half = NULL, pos_half = FALSE)

Arguments

min

The minimum value for the color mapping. As in the original palette, the last color (aqua) is actually placed at the bottom .5\ the minimum and maximum. Default: 0

max

The maximum value for the color mapping. If this value is lower than the minimum, the color mapping will be reversed. If this is equal to the minimum, a palette with only the color black will be returned. Default: 1.

mid

(Optional) The midpoint value for the color mapping. If NULL (default), the true midpoint is used.

half

"positive" or "negative" to use the positive half (black –> red –> yellow) or negative half (black –> blue –> purple –> green –> aqua) only. NULL (default) or FALSE to use entire palette.

pos_half

Deprecated. Use half.

Details

Yields the landmark color hex codes and values for the "ROY_BIG_BL" palette. This is the same color palette as the default Connectome Workbench palette. Source: https://github.com/Washington-University/workbench/blob/master/src/Files/PaletteFile.cxx

Value

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

See Also

Other coloring: expand_color_pal(), make_color_pal(), use_color_pal()


mandymejia/ciftiTools documentation built on Feb. 28, 2024, 11:20 a.m.