map_value_to_color: Mapping value to HEX color

Description Usage Arguments Value

View source: R/visualize_network.R

Description

Maps continuous values to HEX color values. The positive values are mapped to the "Reds" palette from Color Brewer 2 http://colorbrewer2.org/#type=sequential&scheme=Reds&n=3, and the negative values are oppsitely mapped to the "Blues" palette from the Color Brewer 2 http://colorbrewer2.org/#type=sequential&scheme=Blues&n=3.

Usage

1

Arguments

value

a numeric vector storing values to map

Value

a character vector storing the mapped HEX color values


greenelab/ADAGEpath documentation built on Sept. 24, 2017, 2:35 a.m.