I Use WGCNA for network analysis. So, one of the WGCNA steps is designing plot of Module-Trait Relationship. In this plot, we can see the relationship between different extracted modules and different Trait variables. Also, in this plot we can see P-Value for each Module-Trait Relationship.So, via these P-Values we can find significant relationships between modules and Traits. In my study, the number of modules is high and in the plot, the number of P-values for each relationship is mixed and not readable. I need help for extracting these p-value as a .csv file out of this plot.
I appreciate if any body help me for my problem.
I see. The correlation values are stored in modTraitCor; the P values relating to these are stored in modTraitP. You can change the size of the text with cex.text. You can also modify the dimensions of your plot by saving it as a PDF and modifying width and height: