This is a Python port of the Polar Gini Curve introduced by Nguyen et al. (2021). I've implemented the core functionality in Python, making it easier to integrate into Python-based data analysis workflows. The original MATLAB code is available in the aimed-lab/Polar-Gini-Curve repository.
To get started with the Polar Gini Curve in Python, you can install the package from TestPyPI, then use the CLI to compute the Polar Gini Curve from a CSV file containing your data. Here's a quick example:
pip install --index-url https://test.pypi.org/simple/ polargini
pgc --csv data.csv --plot
For more detailed usage, refer to the original documentation.
Nguyen, T.M., Jeevan, J.J., Xu, N. and Chen, J.Y., "Polar Gini Curve: a technique to discover gene expression spatial patterns from single-cell RNA-seq data," Genomics, Proteomics & Bioinformatics 19(3), 493-503 (2021).