smorabit / hdWGCNA

High dimensional weighted gene co-expression network analysis
https://smorabit.github.io/hdWGCNA/
Other
316 stars 31 forks source link

EnrichrBarPlot bar / text color #184

Closed DelongZHOU closed 5 months ago

DelongZHOU commented 5 months ago

Hello,

I see in the code that EnrichrBarPlot automatically fetch the color of the module and use that to plot the enriched terms, and if the module is black then the text should be grey. Except it's not working for me: enriched terms

Would it be possible to turn off the color matching and use uniformed color?

Thank you!

smorabit commented 5 months ago

Hi,

I updated this function to have two new options, plot_bar_color and plot_text_color so you can make all of the plots have a uniform color as you suggested.