Entering edit mode
2.6 years ago
annamariabugaj
•
0
Hi,
I am working with WGCNA on my data and I would like to plot the heatmaps in color-blind friendly colors. I checked the function but I couldn't understand if this is possible and how. I am referring to the function below, it only produces Red - Green heatmap which is bad for color-blind people and therefore it is not recommended in journals:
plotMat(t(scale(datExpr[,moduleColors==which.module ]) ),nrgcols=30,rlabels=T,
clabels=T,rcols=which.module,
title=which.module )
Please help me if anyone knows how to solve this issue.
there is nothing special about
plotMat
. You can use anyheatmap
function to plotdatExpr[,moduleColors==which.module ]