Skip to main content

PILOT [Paper]

GitHub license

Although clinical applications represent the next challenge in single-cell genomics and digital pathology, we still lack computational methods to analyze single-cell or pathomics data to find sample-level trajectories or clusters associated with diseases. This remains challenging as single-cell/pathomics data are multi-scale, i.e., a sample is represented by clusters of cells/structures, and samples cannot be easily compared with each other. Here we propose PatIent Level analysis with Optimal Transport (PILOT). PILOT uses optimal transport to compute the Wasserstein distance between two individual single-cell samples. This allows us to perform unsupervised analysis at the sample level and uncover trajectories or cellular clusters associated with disease progression. We evaluate PILOT and competing approaches in single-cell genomics or pathomics studies involving various human diseases with up to 600 samples/patients and millions of cells or tissue structures. Our results demonstrate that PILOT detects disease-associated samples from large and complex single-cell or pathomics data. Moreover, PILOT provides a statistical approach to find changes in cell populations, gene expression, and tissue structures related to the trajectories or clusters supporting interpretation of predictions.

plot

Current version for PILOT is 2.0.15

Installation

The easiest way to install PILOT and the required packages is using the following way:

pip install pilotpy

Once you've completed these steps, you can proceed to run the tutorials and explore the features of PILOT. When doing so, remember to move to the tutorial folder, as all the work will be performed there:

git clone https://github.com/CostaLab/PILOT.git
cd PILOT/Tutorial

Tutorial&Data sets

There are five tutorials, one for Myocardial Infarction (single cell data), and the second tutorial for pathomics data, the combination of Kidney IgAN(G) & Kidney IgAN(T), and the third one for Patients sub-group detection and then ranking cells/genes (Pancreas data) and the forth one for evaluation of the presence of batch effects in Trajectory and the last one for evaluation of the presence of batch effects in detected sub-groups.

You can access the used data sets by PILOT in Part 1 DOI and Part 2 DOI

Citation

@article{joodaki2024detection,
  title={Detection of PatIent-Level distances from single cell genomics and pathomics data with Optimal Transport (PILOT)},
  author={Joodaki, Mehdi and Shaigan, Mina and Parra, Victor and B{\"u}low, Roman D and Kuppe, Christoph and H{\"o}lscher, David L and Cheng, Mingbo and Nagai, James S and Goedertier, Micha{\"e}l and Bouteldja, Nassim and others},
  journal={Molecular systems biology},
  volume={20},
  number={2},
  pages={57--74},
  year={2024},
  publisher={Nature Publishing Group UK London}
}

Metadata

Release files for pilotpy 2.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pilotpy 2.0.15
File Size Uploaded
pilotpy-2.0.15.tar.gz 74.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pilotpy 2.0.15
File Interpreter ABI Platform
pilotpy-2.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 152.4 kB

Release files / pilotpy-2.0.15.tar.gz

Download URL pilotpy-2.0.15.tar.gz
Size 74.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3da42b1b163c8f414f13dbde79bb9db5dc912fba23244c0216e74f814f55ff38
BLAKE2b-256 checksum
How to use checksums
995709cf987ff034cb6fe6dcd9a309bcbd9d5ef1139d633d703bb648c6267eff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / pilotpy-2.0.15-py3-none-any.whl

Download URL pilotpy-2.0.15-py3-none-any.whl
Size 77.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12fdcac5e665a2e0cf78df6316f2876b0ba5e2ce755bb8ecf130a08bfe92c093
BLAKE2b-256 checksum
How to use checksums
eba52b3d698be6d8c056fa9f2df42b7e42024f5f7607b026f869b28b6de48341
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

2.0.15 This release

2 release files

2.0.14

2 release files

2.0.9

2 release files

2.0.8

2 release files

2.0.7

2 release files

2.0.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page