E3ValMat2ColMat: Convert a matrix of values (range [-Inf,Inf] to colors using...

Description Usage Arguments

Description

See also E3Val2Col. Uses val2hex from package Rpipelines

Usage

1
E3ValMat2ColMat(x, col = c("#0000ff", "#ff0000"), maxval = 1)

Arguments

x

- numeric matrix.

col

- vector of two colors in #XXXXXX format. First element determines color associated with negative values. Second element determines color associated with positive values

maxval

- numeric. Value for which color reaches saturation


tkonopka/ExpCube documentation built on May 31, 2019, 3:44 p.m.