This is a Python command-line tool for visualizing GSEAPy prerank results from .pkl files using plotnine and patchworklib. The tool creates an enrichment plot and saves it as an image file.
- π Line plot of RES (Running Enrichment Score)
- π¦ Hit indicator lines and colored gradient background
- π Easy CLI with Fire
- π¨ High-quality output using
plotnineandpatchworklib
git clone https://github.com/xpf10/gseapyvis.git
cd gseapyvis
python .\gseapyvis\cli.py .\data\test.pkl --output_file gsea_result.pdfwindows:
poetry install
Invoke-Expression (poetry env activate)
gseapyvis.cmd .\data\test.pkl
Linux:
poetry install
poetry env use python3
gseapyvis .\data\test.pkl