L-PGC represents the polar Gini curve for spatial gene interactions. This manuscript provides the source code for the L-PGC method, implemented in Matlab. The code has been tested and is compatible with Matlab 2019 and higher versions. All related source code and data files are available for download in the repository. Below are the instructions for running the code and analyzing the data:

A. Running the Code:

Download the dataset before running the pipelineExample.m script. This script will demonstrate how to implement the L-PGC algorithm.

B. Dataset Analysis:

Instructions for dataset analysis are available in the downloaded documentation.

C. Simulated Expressions:

The complete dataset and source code for simulating gene expressions are also included in the download package.