Entering edit mode
17 months ago
ahmad mousavi
▴
800
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.
Show us your exact code - it is quite easy to tweak colors in ComplexHeatmap with the
col=
argument.