'Reordering a heatmap for maximal contrast between subgroups
I've created a heatmap using aheatmap from NMF package:
aheatmap(x, scale="row",
color = "heat",
annColors = "Set2",
annCol=annotation,
Colv = NA,
Rowv = "man",
main = "All patients")
So I get the following result:
However, the heatmap does not really show what I intended... I want to have "lots of yellow", when the therapy group is high and "lots of red" when the therapy group is low. Is there any way to reorder the rows/columns, so that I can make the best out of the data? Should I perhaps use another heatmap package?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

