How to add annotation columns with specific colors to the heatmap?
Hello,
I wanted to create a heatmap with 4-5 annotation columns, the point is these annotations might have values 0 or 1 , like the uploaded image each column should have different color to the other.
for example column A1(1,1,1,0,0,1,1,0).
When the value is 1 it shows the color in the case of 0 it doesn't show anything. I have made the plot with ComplexHeatmap but the color is defined by a range.

• 1,038 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Show us your exact code - it is quite easy to tweak colors in ComplexHeatmap with the
col=argument.