Closed alexlenail closed 2 years ago
dotplot is not designed for GSEA results initially.
However, if you install gseapy from the lastest push, you could do this
from gseapy import dotplot
# to save your figure, make sure that ``ofname`` is not None
ax = dotplot(pre_res.res2d,
column="FDR q-val",
title='KEGG_2016',
cmap=plt.cm.viridis,
size=8, # adjust dot size
figsize=(4,5), cutoff=0.25)
from the docs
throws error:
the columsn of res2d are