请问解决了吗?遇到同样的问题
怀疑是R包更新后,默认颜色不同了,
library(gplots) myheatcol = colorpanel(250,'red',"orange",'lemonchiffon') TOMplot(plotTOM, geneTree, moduleColors, main = "Network heatmap plot, all genes", col=myheatcol)
用这个试试,我改了后就可以了,来自biostar