LIGER (Linked Inference of Genomic Experimental Relationships) is a computational algorithm that uses integrative non-negative matrix factorization (iNMF) to decompose single-cell datasets into a set of shared metagenes and dataset-specific factors. By jointly factoring multiple datasets, it identifies common biological patterns, such as cell types, that are present across all batches while explicitly modeling the unique technical variation inherent to each dataset.
Glossary
LIGER (Linked Inference of Genomic Experimental Relationships)

What is LIGER (Linked Inference of Genomic Experimental Relationships)?
LIGER is an integrative non-negative matrix factorization (iNMF) method designed to align and analyze single-cell multi-omic data from multiple sources, identifying shared and dataset-specific biological signals to correct for batch effects.
The method learns a low-dimensional representation where cells from different batches are aligned by their shared biological identity, effectively correcting for batch effects without requiring a pre-merged reference. Unlike methods that rely on mutual nearest neighbors or canonical correlation analysis, LIGER's iNMF approach allows for the discovery of both conserved and context-specific gene expression programs, making it particularly powerful for integrating data from different experimental platforms, species, or modalities like scRNA-seq and scATAC-seq.
Key Features of LIGER
LIGER identifies shared and dataset-specific factors from single-cell data, aligning cells from different batches by their shared biological signals.
Integrative Non-Negative Matrix Factorization (iNMF)
LIGER's core algorithm extends traditional NMF to a multi-dataset context. It decomposes each dataset's expression matrix into a set of shared metagenes (factors common across all batches) and dataset-specific metagenes (factors capturing unique technical or biological variation). This joint factorization is solved using block coordinate descent, alternating between updating the shared factor matrix, the dataset-specific factor matrices, and the cell loading matrices. The non-negativity constraint ensures that factors represent additive combinations of gene expression programs, yielding highly interpretable components that correspond to discrete cell types or biological processes.
Shared Factor Neighborhood Graph
After iNMF decomposition, LIGER constructs a joint cell neighborhood graph using the shared factor loadings (the H matrix). Because these loadings represent each cell's expression in terms of the common metagenes, they are directly comparable across batches. LIGER builds a k-nearest neighbor graph in this shared factor space, effectively aligning cells from different batches that exhibit similar biological states. This graph is then used for downstream tasks such as clustering, trajectory inference, and differential expression analysis, all performed on the batch-corrected, integrated representation.
Quantile Normalization Alignment
To further refine the integration, LIGER applies a quantile normalization step to the shared factor loadings. This process forces the empirical distribution of each factor's loadings to be identical across all datasets. By matching quantiles, LIGER corrects for any remaining distributional differences in the factor space that may arise from varying sequencing depths or other technical artifacts. This step is particularly effective at aligning datasets with substantially different total cell counts or dynamic ranges, ensuring that a shared factor represents the same biological signal at the same magnitude in every batch.
Online Learning for Scalability
LIGER includes an online iNMF algorithm designed to handle massive single-cell datasets that exceed available memory. Instead of loading all cells into RAM, the algorithm processes the data in mini-batches, iteratively updating the factor matrices using stochastic gradient descent. This approach allows LIGER to integrate millions of cells across dozens of batches on standard computational infrastructure. The online variant maintains the interpretability of the standard iNMF while dramatically reducing memory footprint, making it suitable for atlas-scale projects like the Human Cell Atlas.
Dataset-Specific Factor Interpretation
A key diagnostic feature of LIGER is the explicit modeling of dataset-specific factors. These factors capture variation that is unique to a single batch and not shared with others. By examining the gene loadings of these factors, analysts can identify the molecular signatures of batch effects, such as ribosomal protein expression or mitochondrial read contamination. Alternatively, dataset-specific factors can reveal genuine biological signals present in only one condition, such as a disease-specific cell state. This decomposition provides a transparent view of what variation is being removed versus preserved during integration.
Consensus Clustering on Integrated Data
LIGER performs consensus clustering on the integrated shared factor space to identify cell types robustly. The algorithm runs multiple rounds of community detection on the shared factor neighborhood graph with varying resolution parameters, then aggregates the results to find stable cluster assignments. This approach mitigates the stochasticity inherent in single-resolution clustering and provides a confidence metric for each cell's assignment. The resulting clusters represent cell populations that are consistently identified across all integrated batches, free from batch-specific biases.
Frequently Asked Questions
Clear, technical answers to the most common questions about the Linked Inference of Genomic Experimental Relationships (LIGER) algorithm for single-cell data integration.
LIGER (Linked Inference of Genomic Experimental Relationships) is an integrative non-negative matrix factorization (iNMF) method designed to align and analyze single-cell multi-omic data from multiple sources. It works by decomposing each dataset into a set of shared metagenes (factors common across all batches) and dataset-specific metagenes (factors capturing unique technical or biological variation). The core mathematical operation solves for a low-dimensional representation where cells from different batches are comparable based on their shared factor loadings. This joint factorization allows LIGER to identify both conserved and context-dependent biological signals, making it particularly powerful for comparative analyses across species, conditions, or experimental protocols without forcibly homogenizing the data.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
LIGER vs. Other Batch Correction Methods
A technical comparison of integrative non-negative matrix factorization against alternative single-cell data alignment strategies.
| Feature | LIGER (iNMF) | Harmony | Seurat (CCA) | MNN |
|---|---|---|---|---|
Core Algorithm | Integrative Non-Negative Matrix Factorization | Iterative Soft Clustering | Canonical Correlation Analysis | Mutual Nearest Neighbor Matching |
Shared Factor Identification | ||||
Dataset-Specific Factor Identification | ||||
Preserves Non-Negative Structure | ||||
Requires Pre-selected Anchor Cells | ||||
Scalability to Large Atlases | ||||
Online Learning Capability |
Related Terms
LIGER operates within a broader landscape of single-cell integration and batch correction methodologies. These related concepts define the mathematical frameworks, evaluation metrics, and alternative algorithms essential for mastering multi-dataset harmonization.
Integrative Non-Negative Matrix Factorization (iNMF)
The core mathematical engine of LIGER. Unlike standard NMF, iNMF decomposes multiple datasets simultaneously into a set of shared metagenes (factors common across all batches) and dataset-specific metagenes (factors capturing unique technical or biological variation). This joint decomposition is solved via block coordinate descent, alternating between updating the shared factor matrix and each dataset's specific factor matrix while enforcing non-negativity constraints. The shared factors define a low-dimensional space where cells from different batches are directly comparable.
Shared Factor Neighborhood Graph
After iNMF decomposition, LIGER constructs a k-nearest neighbor graph using the shared factor loadings (the H matrix) rather than the original gene expression space. This graph connects cells across batches based on their shared biological identity, effectively ignoring dataset-specific noise. The graph is then used for joint clustering via Louvain or Leiden community detection and for generating Uniform Manifold Approximation and Projection (UMAP) visualizations. The key insight is that batch correction is achieved not by transforming the raw data, but by redefining the neighborhood relationships.
Quantile Normalization by Cluster
A post-hoc refinement step unique to LIGER's workflow. After joint clustering, LIGER applies quantile normalization within each identified cluster across batches. This step aligns the empirical expression distributions of genes for cells assigned to the same biological group but originating from different datasets. This within-cluster normalization corrects for residual technical variation in feature magnitudes that may persist after the factor-level alignment, ensuring that downstream differential expression tests are not biased by batch-specific scaling differences.
Alignment Score
A quantitative metric to evaluate integration quality. The alignment score measures the proportion of a cell's k-nearest neighbors in the shared factor space that originate from a different batch than the query cell. A score near 1.0 indicates perfect mixing, where batch identity is irrelevant to local neighborhood composition. This metric complements Local Inverse Simpson's Index (LISI) and kBET by directly quantifying cross-batch connectivity in the reduced dimensional space. LIGER's alignment is often visualized using a Sankey diagram showing the flow of cells from original batches into integrated clusters.
Online iNMF for Scalability
A memory-efficient variant designed for massive datasets exceeding physical RAM limits. Online iNMF processes data in mini-batches, updating the shared factor matrix incrementally using stochastic gradient descent. This allows LIGER to integrate millions of cells without loading the entire dataset into memory simultaneously. The algorithm converges to a solution approximating the full batch iNMF, trading a small amount of precision for dramatic gains in scalability. This is critical for atlas-scale projects like the Human Cell Atlas.
UINMF for Multi-Modal Integration
An extension called Unshared Integrative NMF (UINMF) handles datasets that do not share the same feature space. For example, integrating scRNA-seq data with scATAC-seq or CITE-seq antibody-derived tags. UINMF learns a shared cell factor matrix from the intersecting features while simultaneously learning separate gene and peak factor matrices for the unshared modalities. This enables the joint analysis of transcriptomic and epigenomic profiles without requiring feature conversion or imputation, preserving the native structure of each data type.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us