WGCNA - plotMat colors - how to change from RedGreen
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.
• 901 views
•
link
0 answers
No answers yet.
Log in to answer this question.
there is nothing special about
plotMat. You can use anyheatmapfunction to plotdatExpr[,moduleColors==which.module ]