saezlab / decoupler-py

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

run_ora_df #101

Closed mcjmigdal closed 8 months ago

mcjmigdal commented 8 months ago

Describe your question documentation mentions function to run Over Representation Analysis on results of differential expression analysis (decoupler.run_ora_df). However, there seems to be no such function in the package?

help(decoupler.run_ora_df)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[153], line 1
----> 1 help(decoupler.run_ora_df)

AttributeError: module 'decoupler' has no attribute 'run_ora_df'
PauBadiaM commented 8 months ago

Hi @mcjmigdal,

Thanks for noticing this. It was a mistake in the documentation, the actual name of the function is get_ora_df, not run_ora_df. See its docs here and an example of how to use it here. I've updated the docs accordingly f3bc59b48985d8aa361b78a5de2e8cac8cd031eb. Hope this is helpful!

mcjmigdal commented 8 months ago

Hi @PauBadiaM this is helpful, thank you!