Auxiliary function that maps a numeric vector, the average node filtering function values, to a color vector.
map_to_color(x, limits = NULL)A vector of the same length of x with colors ranging from blue to red.
A vector of numeric values storing the average filtering function values found in the samples placed into a specific node.
A two element numeric vector including the range of values. This is optional.