Skip to content

M3

A deep generative framework that learns factorised, condition-aware embeddings for multimodal, multi-condition, multi-sample single-cell data, separating biological signal from condition and batch effects so integration, patient-level inference, and attribution stay internally consistent.

conda create -n m3 python=3.11 -y
conda activate m3
pip install m3-sc

Python 3.10 or newer. Without conda, see Installation.

Get started How it works

1 Factorised dimension reduction
Factorised, condition-aware M3 learns embeddings that separate three sources of variation explicitly, biological signal, condition effect, and batch effect, so batch correction does not overcorrect the signal you actually care about.
Multimodal and mosaic A product-of-experts fuses modality-specific encoders into one shared biological embedding per cell, handling both fully observed and mosaic designs where some samples are missing a modality.
Interpretable across tasks Every result decodes from one shared, condition-aware representation, keeping integration, patient-level inference, generation, and gene-, cell-, and cell-type-level attribution internally consistent.