Skip to main content

OTMODE is a computational framework built on Optimal Transport (OT) theory for improving cell-type annotation accuracy and for identifying differential features across conditions in single-cell multi-omics data.

Project description

OTMODE: Optimal Transport-Based Framework for Differential Feature Identification in Single-Cell Multi-Omics

Build Status License PyPI version Python Versions


🧬 Overview

OTMODE is a computational framework built on Optimal Transport (OT) theory for improving cell-type annotation accuracy and for identifying differential features across conditions in single-cell multi-omics data.

It provides interpretable metrics, including Sinkhorn distances, to compare cell types and clusters across predicted and true annotations. Please see our architecture of the OTMODE framework for more details!

OTMODE Architecture

To optimize the performance of OTMODE in differential feature detection, we evaluated its behavior under various parameter settings. Our results showed that parameter values between 0.1 and 1.0 generally yielded the highest performance.

OTMODE Architecture

🔬 Built with Python


📘 Tutorials

We provide interactive tutorials to help users get started with applying OTMODE to multi-omics single-cell data. These tutorials demonstrate real use cases such as cell type annotation and differential feature detection.

All tutorials are provided as Jupyter notebooks and are located in the tutorials/ folder.

🧪 Available Tutorials

Tutorial Description Link
Application 1: Cell Type Annotation Learn how to use OTMODE to annotate cell types using integrated multi-omics data. View Notebook ›
Application 2: Differential Feature Detection Step-by-step guide to detect differentially expressed genes or features across cell groups. View Notebook ›

📝 Notes for Users

Each tutorial is fully commented and includes the following steps:

  • 📂 Data Loading and Preparation
    Load example or user-provided multi-omics data and prepare it for analysis.

  • ⚙️ Application of the OTMODE Algorithm
    Apply the OTMODE method to integrate modalities and infer latent representations.

  • 📊 Visualization of Results
    Generate plots such as UMAP, heatmaps, and feature importance to interpret results.

  • 🔍 Interpretation of Outputs
    Understand clustering, annotations, or differential features identified by OTMODE.


Recommended Environment

  • Python ≥ 3.8
  • Libraries: scanpy, anndata, numpy, matplotlib, seaborn, and others listed in requirements.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

otmode-0.3.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

otmode-0.3.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file otmode-0.3.0.tar.gz.

File metadata

  • Download URL: otmode-0.3.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for otmode-0.3.0.tar.gz
Algorithm Hash digest
SHA256 02e1cd56a6b678b48259d3f0737bf55071987c1ee870eefb4593ac84424a9a66
MD5 0352e9eabd734ebf2a3fcc728e92eb70
BLAKE2b-256 3a0edfaa69d5eb74df3a02a8b6d1064b290ddb3e71437610fcb3f1f82fd3ecc3

See more details on using hashes here.

File details

Details for the file otmode-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: otmode-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for otmode-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e4e9541e989de959b5f74a420febe39d1dfcd88e3ed4a83b17500918c5bce10
MD5 d437d37472c3189bc844c8feae00ce6d
BLAKE2b-256 7216ea4cc36f48a7466036ddde54e3aec518569c21b58b081947da43bf4bbacb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page