color_ranges_Spectral: Returns Spectral pallette with colors matching defined ranges

View source: R/color_Spectral_pallette.R

color_ranges_SpectralR 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")

mkajano/HDXBoxeR documentation built on April 23, 2024, 12:28 a.m.