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.1.0.tar.gz (15.7 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.1.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for otmode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 88d1cea511e560d28ee9a6df9689bccbdd4d0eabcf22ee113ad7fe04551ba030
MD5 161ca936bb5a2c4fe40536d785010bb2
BLAKE2b-256 3a8ae8f1796d7faaabcee1e4ae9c9378ca6264ebbd595de7f0cef94dba96eb54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: otmode-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0d343fd2ca26227e17dd2677fc4fd4bf37acb3379b64983598d8cd4295fcc71
MD5 1b1ac8343a707987d6d9678b0a6f9ad7
BLAKE2b-256 0f4249df0759f66fabad4552316cc8e7fa347dd56e7ae68728b7f9bc1bb86cf6

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