
Build one shared color palette across every value in an annotation data frame
Source:R/heatmap.R
combinedAnnotationColors.Rdheatmaply's col_side_colors/row_side_colors mechanism encodes
the values of all annotation variables onto a single combined color scale,
so a single palette covering every unique value across every column is
needed, rather than one palette per column.