通过使用命令:
heatmap.2(exp, col = greenred(100), scale="none", ColSideColors = Carcolors,
# dendrogram = "row",
key=T, symkey=FALSE, density.info="none", trace="none", cexRow=1, cexCol=0.9)
heatmap2 将“样本”绘制为列,将变量绘制为行。如何将热图逆时针旋转 90 度,以便样本名称列在右侧,变量列在顶部(RowSideColors 也在右侧)?谢谢!