color_ranges_Spectral {HDXBoxeR}R Documentation

Returns Spectral pallette with colors matching defined ranges

Description

Spectral pallette for timecourse data

Usage

color_ranges_Spectral(ranges, colors_initial)

Arguments

ranges

vector of numbers. Should have the same mumber of positive and negative values and contain 0.

colors_initial

additional color that should be first in the pallette.

Value

color scheme for number

Examples

color_ranges_Spectral(ranges=c(-Inf, -100, -50, 0, 50, 100, Inf), colors_initial="white")

[Package HDXBoxeR version 0.0.1 Index]