Entering edit mode
6.9 years ago
yuezh
▴
10
Does anyone know how to add an annotation color bar to a ggplot
or ggvis/plotly/... barplot
?
An example would be like "Heatmap 1" below, with a color bar (blue and red) representing sample information as type a or type b:
can you post some example data?