WGCNA - plotMat colors - how to change from RedGreen
0
0
Entering edit mode
24 months ago

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 • 471 views
ADD COMMENT
1
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 3156 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6