Learn R Programming

HDXBoxeR (version 0.0.2)

color_ranges_Spectral: Returns Spectral pallette with colors matching defined ranges

Description

Spectral pallette for timecourse data

Usage

color_ranges_Spectral(ranges, colors_initial)

Value

color scheme for number

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.

Examples

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

Run the code above in your browser using DataLab