Seurat WNN is an unsupervised method that learns cell-specific modality weights to integrate multimodal single-cell data, such as RNA and protein measurements. It constructs a weighted combination of nearest-neighbor graphs from each modality, where the contribution of each data type is optimized per cell based on the predictive power of its local neighborhood. This approach ensures that informative modalities dominate the integrated representation while noisy or uninformative signals are down-weighted.
Glossary
Seurat WNN

What is Seurat WNN?
Seurat WNN (Weighted Nearest Neighbor) is an unsupervised framework for integrating multimodal single-cell data by learning cell-specific modality weights, enabling a unified analysis of measurements such as RNA expression and surface protein abundance.
The algorithm defines a single weighted joint neighbor graph that captures the cellular similarity structure across all modalities. By applying a smoothing function over the multimodal neighbors, WNN generates a unified low-dimensional embedding suitable for clustering, visualization, and trajectory inference. This framework is particularly effective for CITE-seq and other paired multimodal technologies, resolving cellular heterogeneity that is only visible when multiple molecular layers are analyzed simultaneously.
Key Features of Seurat WNN
Weighted Nearest Neighbor (WNN) analysis extends the Seurat framework to integrate multiple single-cell data modalities—such as RNA and protein—by learning cell-specific modality weights. This unsupervised method constructs a single, unified representation that reflects the relative information content of each modality for every cell.
Cell-Specific Modality Weighting
WNN learns a unique weight for each modality in every cell, rather than applying a global weighting scheme. For a cell where RNA data is noisy but protein signal is strong, the protein modality receives higher weight in defining its neighbors. This is achieved by minimizing the within-cluster cross-modality prediction error using a weighted k-nearest neighbor graph.
Unsupervised Graph Construction
The algorithm builds a shared nearest neighbor graph by first computing independent k-nearest neighbor graphs for each modality (e.g., RNA expression PCA space and protein ADT CLR space). It then learns modality weights that maximize agreement between these graphs, fusing them into a single weighted multimodal graph without requiring labeled training data.
Multimodal Clustering and Visualization
Once the WNN graph is constructed, standard Seurat workflows apply seamlessly. The unified graph is used for Leiden clustering to identify cell populations and as input to UMAP for visualization. This produces a single clustering and embedding that reflects both transcriptomic and epitope-defined cellular heterogeneity.
Modality Contribution Analysis
WNN provides tools to inspect the learned modality weights across cell populations. Users can visualize the relative contribution of RNA vs. protein data to the definition of each cluster. This reveals which modality drives the identification of specific cell types—for example, protein markers may dominate for immune subsets where surface markers are definitive.
Bridging CITE-seq and scRNA-seq
WNN is the core analytical engine for CITE-seq data within Seurat, simultaneously processing gene expression counts and antibody-derived tag (ADT) counts. It also supports other multimodal pairings, such as scRNA-seq with scATAC-seq, by applying the same weighted nearest neighbor framework to any set of modality-specific distance matrices.
Seamless Seurat Integration
WNN is implemented as a native workflow within the Seurat v4+ ecosystem. After creating a Seurat object with multiple assays, the analysis proceeds through a standard pipeline: FindMultiModalNeighbors() computes the weighted graph, and FindClusters() and RunUMAP() operate on the resulting wknn graph. All downstream differential expression and visualization tools remain accessible.
Frequently Asked Questions
Clear, technical answers to the most common questions about Weighted Nearest Neighbor analysis for multimodal single-cell data integration.
Seurat WNN (Weighted Nearest Neighbor) is an unsupervised analysis framework within the Seurat R toolkit that learns cell-specific modality weights to integrate multimodal single-cell data, such as RNA expression and surface protein abundance from CITE-seq. The algorithm constructs a separate k-nearest neighbor graph for each modality, then learns a weighted combination of these graphs where the contribution of each modality varies per cell. For a cell with ambiguous transcriptomic identity but clear protein markers, WNN automatically up-weights the protein modality. The result is a single weighted nearest neighbor graph that captures a unified cellular representation, enabling joint clustering, visualization, and downstream analysis that respects the information content of each modality at the individual cell level.
Applications of Seurat WNN
Seurat's Weighted Nearest Neighbor (WNN) analysis provides an unsupervised framework to integrate multiple single-cell modalities, such as RNA and protein data, by learning cell-specific modality weights. This enables a unified definition of cellular state that leverages the strengths of each data type.
Multimodal Cell Clustering
WNN constructs a single nearest-neighbor graph that integrates information from multiple assays (e.g., RNA-seq and ADT). By learning cell-specific modality weights, it down-weights noisy modalities for individual cells, resulting in more robust and biologically meaningful clusters than those derived from a single data type.
CITE-seq Data Analysis
A primary application is the analysis of CITE-seq data, which simultaneously measures transcriptomes and surface proteins. WNN resolves cellular heterogeneity by leveraging protein markers for definitive cell-type identification while using mRNA for deep phenotyping, overcoming the sparsity of single-cell RNA data.
Multi-Omics Reference Mapping
WNN enables the construction of multimodal reference atlases. New query cells can be projected onto a WNN-defined reference, facilitating automated cell-type annotation and the identification of novel states by comparing across multiple data modalities simultaneously.
Identifying Cross-Modal Relationships
The learned modality weights provide direct insight into the information content of each assay for every cell. This allows researchers to identify cell populations where RNA and protein measurements are discordant, revealing post-transcriptional regulation or other biological phenomena.
ATAC + RNA Co-Embedding
Beyond protein data, WNN can integrate scRNA-seq and scATAC-seq to link gene expression with chromatin accessibility. This joint analysis defines cell states by both their regulatory potential and transcriptional output, enabling the identification of distal regulators driving cell identity.
Supervised Multimodal Analysis
WNN can be extended to a supervised framework to identify multimodal biomarkers. By learning weights that best separate predefined classes, it pinpoints the exact features—whether transcriptomic or proteomic—that define a disease state or treatment response.
Seurat WNN vs. Other Integration Methods
Comparison of Seurat Weighted Nearest Neighbor analysis against alternative single-cell data integration and multimodal fusion methods.
| Feature | Seurat WNN | Harmony | scVI | MOFA+ |
|---|---|---|---|---|
Multimodal integration | ||||
Unsupervised modality weighting | ||||
Cell-specific modality weights | ||||
Batch effect correction | ||||
Cross-technology alignment | ||||
Probabilistic latent representation | ||||
Reference-based mapping | ||||
Handles missing modalities |
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.
Related Terms
Core concepts and complementary methods that contextualize Weighted Nearest Neighbor analysis within the broader single-cell multi-omics workflow.
CITE-seq
Cellular Indexing of Transcriptomes and Epitopes by Sequencing is the foundational multimodal assay that generates the paired RNA and protein data typically analyzed by Seurat WNN. It uses oligonucleotide-conjugated antibodies to simultaneously quantify surface protein abundance and whole transcriptome expression from the same single cell.
- Enables direct correlation of mRNA levels with protein expression
- Antibody-derived tags (ADTs) are counted alongside cDNA libraries
- Resolves cellular identity where transcript alone is ambiguous
Multi-Omics Integration
The computational fusion of distinct molecular layers—transcriptomics, epigenomics, and proteomics—into a unified latent representation. WNN is a specific instance of this broader paradigm, learning cell-specific modality weights rather than assuming equal contribution from each data type.
- Contrasts with early integration (concatenation) and late integration (separate analysis)
- WNN represents middle integration, fusing modality-specific similarities
- Enables discovery of cross-modal regulatory relationships
scATAC-seq
Single-cell Assay for Transposase-Accessible Chromatin with sequencing profiles open chromatin regions genome-wide in individual cells. When paired with scRNA-seq in the same cell via multiome assays, WNN can integrate transcriptomic and epigenomic modalities to define cell states through both gene expression and regulatory landscape.
- Captures cis-regulatory element activity
- Complements RNA velocity with chromatin accessibility dynamics
- WNN weights reveal which modality dominates for specific cell populations
Label Transfer
A supervised approach that projects cell-type annotations from a well-characterized reference atlas onto a query dataset. WNN extends this concept to multimodal references, where the weighted combination of modalities improves annotation confidence—particularly for ambiguous cell states where transcriptomic similarity alone is insufficient.
- Uses mutual nearest neighbors in the WNN graph
- Leverages protein or chromatin data as anchor constraints
- Reduces misclassification in immune cell subsets
Harmony
An iterative algorithm for single-cell data integration that soft-clusters cells and applies mixture model-based correction. While Harmony operates on a single modality (typically RNA), WNN can be applied post-integration to fuse the corrected RNA embedding with a second modality like antibody-derived tags, combining batch correction with multimodal weighting.
- Complements WNN in multi-batch experimental designs
- Harmony corrects technical variation; WNN fuses biological modalities
- Together enable atlas-scale multimodal integration
Single-Cell Foundation Model
Large-scale pretrained transformers like Geneformer and scGPT learn universal cell representations from massive single-cell corpora. These models provide an alternative to WNN by encoding multimodal information into a single pretrained embedding space rather than learning post-hoc modality weights.
- Geneformer uses attention-based context for zero-shot predictions
- Contrasts with WNN's unsupervised, dataset-specific weighting
- Foundation models may eventually subsume explicit modality weighting

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