Entering edit mode
                    5.3 years ago
        evelyn
        
    
        ▴
    
    230
    Hello,
I have made a heat map for module-trait relationship using WGCNA:
labeledHeatmap(Matrix = moduleTraitCor,
               xLabels = colnames(datTraits),
               yLabels = names(MEs),
               ySymbols = names(MEs),
               colorLabels = FALSE,
               colors = greenWhiteRed(83),
               textMatrix = textMatrix,
               setStdMargins = FALSE,
               cex.text = 0.5,
               zlim = c(-1,1),
               main = paste("Module-trait relationships"))
I have 50 traits in datTraits and 90 modules. This code results in a messy plot because of large number of traits with so many p-values. Is there a way to modify this plot to make it look better in terms of text size and may be by only displaying significant p-values to make the plot look less messy.
Is there an automated way to filter modules with significant p-values as it is hard to go through this large data manually.
Thank you!