color_ranges_Spectral {HDXBoxeR} | R Documentation |
Spectral pallette for timecourse data
color_ranges_Spectral(ranges, colors_initial)
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. |
color scheme for number
color_ranges_Spectral(ranges=c(-Inf, -100, -50, 0, 50, 100, Inf), colors_initial="white")