apply_color_scale: Covert numbers to colors

Description Usage Arguments Value

Description

Convert numbers to colors. If colors are already supplied, return the input

Usage

1
2
apply_color_scale(values, color_series, interval = NULL,
  no_color_in_palette = 1000)

Arguments

values

(numeric) The numbers to represent as colors

color_series

(character) Hex values or a character in colors

interval

(numeric of length 2) The range values could have taken.

no_color_in_palette

(numeric of length 1) The number of distinct colors to use.

Value

character Hex color codes.



Search within the metacoder package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.