You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get ax when calling barplot() without setting 'ofname' to visualize the enrichr results.
Actual behaviour
When I run ax = barplot(enr.res2d) , I got 'NoneType' object returned.
importgseapyasgpfromgseapy.plotimportbarplotenr=gp.enrichr(gene_list=gene_list, # or "./tests/data/gene_list.txt",gene_sets=['KEGG_2016','KEGG_2021_Human'],
organism='human', # don't forget to set organism to the one you desired! e.g. Yeastoutdir=None, # don't write to disk
)
ax=barplot(enr.res2d,title='KEGG_2021_Human', figsize=(3, 5))
print(type(ax))
output
Steps to reproduce
Thank you!
The text was updated successfully, but these errors were encountered:
Setup
I am reporting a problem with GSEApy version, Python version, and operating
system as follows:
Expected behaviour
get
ax
when callingbarplot()
without setting 'ofname' to visualize the enrichr results.Actual behaviour
When I run
ax = barplot(enr.res2d)
, I got 'NoneType' object returned.output
Steps to reproduce
Thank you!
The text was updated successfully, but these errors were encountered: