How do I add ME labels (ex. MEcyan) to the left hand side of my eigengene adjacency heatmap? I’ve seen this figure produced in publications. Is there an argument for the plotEigengeneNetworks function that I can use?
Here is my script that produces the heatmap with colours for labels, but lacks the text labels:
plotEigengeneNetworks(MEs, "APOE astrocytes eigengene adjacency heatmap", setMargins=TRUE, plotHeatmaps=TRUE, plotDendrograms=FALSE)
I tried colorLabels=FALSE and nothing changed.
I tried ySymbols=names(MEs) which gave an error that the number of ySymbols must match the number of rows in the adjacency matrix.
I tried to figure out how to create the eigengene adjacency matrix on my own so that I could use the WGCNA function labeledHeatmap and have more control, but I could not figure out how to do this.
Thank you! Louisa
Cross-posted: https://www.biostars.org/p/406248/