This is a test version of Biostars. For the public version, visit https://www.biostars.org.
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.

wgcna

there is nothing special about plotMat. You can use any heatmap function to plot datExpr[,moduleColors==which.module ]

0 answers

No answers yet.

Log in to answer this question.