saezlab / decoupler-py

Python package to perform enrichment analysis from omics data.
https://decoupler-py.readthedocs.io/
GNU General Public License v3.0
145 stars 21 forks source link

decoupler.plot_barplot ax #104

Closed annita-louloupi closed 3 months ago

annita-louloupi commented 4 months ago

Describe your question Hi! Thank you for developing this wonderful package! I have a request/question Would it be possible to add the option of defining the ax when using dc.plot_barplot? I have noticed that some plot functions have this option and some don't. Is there a reason for it? Thank you!

PauBadiaM commented 4 months ago

Hi @annita-louloupi,

Thanks for pointing this out. Indeed there is no reason not to, I will add it in the next release.

In the meantime, you can use the analogous function dc.plot_barplot_df. Hope this is helpful!

PauBadiaM commented 3 months ago

Hi @annita-louloupi,

I've added the argument ax to dc.plot_barplot. You can use it after installing the latest version from GitHub:

pip install git+https://github.com/saezlab/decoupler-py

Hope this is helpful!

annita-louloupi commented 3 months ago

Hi @PauBadiaM thank you for taking my request into consideration! Much appreciated!