Ligand-receptor co-localization is a computational analysis that identifies spatially proximal cell-type pairs where a ligand gene in one cell type and its cognate receptor gene in another are co-expressed. This method moves beyond simple co-expression by requiring physical adjacency, typically derived from spatial transcriptomics data, to infer biologically plausible cell-cell communication events within intact tissue architecture.
Glossary
Ligand-Receptor Co-localization

What is Ligand-Receptor Co-localization?
A computational framework for inferring intercellular communication by identifying spatially proximal cell-type pairs where a ligand gene in one cell type and its cognate receptor gene in another are co-expressed.
The analysis relies on curated databases of known ligand-receptor interactions and spatial neighborhood graphs constructed from tissue coordinates. Statistical tests, often spatial permutation tests, assess whether the observed co-localization frequency exceeds random chance. This approach is foundational for mapping spatial niche communication networks in tumor microenvironments, developmental biology, and neuroimmunology.
Key Features of Ligand-Receptor Co-localization Analysis
Ligand-receptor co-localization analysis identifies spatially proximal cell-type pairs where a ligand gene in one cell type and its cognate receptor gene in another are co-expressed, revealing the molecular basis of cell-cell communication within tissue architecture.
Spatial Neighborhood Graph Construction
The foundational data structure for co-localization analysis. A spatial neighborhood graph is built where each node represents a cell or spatial transcriptomics spot, and edges connect neighboring locations based on a distance threshold or k-nearest neighbors. This graph encodes the tissue's physical architecture, enabling the algorithm to restrict ligand-receptor pairing searches to biologically plausible interacting distances. Common distance thresholds range from 10-100 micrometers depending on the assay resolution and the signaling mode being investigated—juxtacrine signaling requires direct adjacency, while paracrine signaling permits slightly larger radii.
Ligand-Receptor Database Curation
Co-localization analysis relies on a curated reference database of known ligand-receptor pairs. Resources like CellChatDB, CellPhoneDB, and NicheNet catalog experimentally validated and literature-derived interactions. These databases include multi-subunit complexes—where a functional ligand or receptor requires co-expression of multiple gene products. The analysis cross-references the spatial expression matrix against this database to identify which pairs are simultaneously expressed in neighboring cell populations. Database selection critically influences results, as different resources prioritize distinct interaction types and species.
Permutation-Based Significance Testing
To distinguish genuine spatial co-localization from random co-expression, the analysis employs spatial permutation tests. The null distribution is generated by randomly shuffling cell-type labels across spatial locations while preserving the tissue's physical structure. For each ligand-receptor pair, the observed interaction frequency is compared against this null distribution to calculate a p-value. Pairs with statistically significant enrichment indicate that the co-expression is spatially non-random and likely biologically meaningful. Multiple testing correction, such as the Benjamini-Hochberg procedure, is applied to control the false discovery rate.
Cell-Type Specific Interaction Scoring
The analysis quantifies communication strength between specific sender and receiver cell-type pairs. For each interaction, a score is computed based on the average expression of the ligand in the sender population and the average expression of the receptor in the receiver population, weighted by the spatial proximity of the two populations. This produces a directed interaction network where edges represent communication channels. High-scoring pairs indicate dominant signaling axes within the tissue microenvironment, such as fibroblast-to-epithelial or immune-to-tumor interactions.
Multi-Subunit Complex Resolution
Advanced co-localization methods account for heteromeric protein complexes. Many functional ligands and receptors are composed of multiple subunits that must be co-expressed in the same cell. The analysis evaluates whether all required subunits are simultaneously detected before flagging an interaction as valid. For example, the IL-12 cytokine requires co-expression of IL12A and IL12B, while its receptor requires IL12RB1 and IL12RB2. Ignoring complex stoichiometry leads to false-positive interaction calls and inflated communication network complexity.
Downstream Signaling Pathway Inference
Beyond identifying which cells are communicating, the analysis can infer the intracellular signaling consequences in receiver cells. By integrating the receptor expression data with downstream transcription factor target gene databases, the method predicts which pathways are activated upon ligand binding. This connects the intercellular communication map to functional outcomes like proliferation, differentiation, or apoptosis. Tools like NicheNet model this by linking ligand activity to target gene expression changes observed in the receiver population.
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.
Frequently Asked Questions
Explore the computational foundations and analytical frameworks for identifying spatially proximal cell-cell communication events through co-expressed ligand-receptor pairs.
Ligand-receptor co-localization analysis is a computational method that identifies spatially adjacent cell-type pairs where a ligand gene in one cell type and its cognate receptor gene in another are co-expressed, inferring potential paracrine or juxtacrine signaling events. The analysis operates on spatial transcriptomics data by first mapping cell-type annotations onto tissue coordinates, then constructing a spatial neighborhood graph where edges connect cells or spots within a defined distance threshold. For each connected cell-type pair, the algorithm queries a curated ligand-receptor interaction database—such as CellPhoneDB, NicheNet, or CellChat—to test whether the sender cell expresses a ligand and the receiver cell expresses its matching receptor. Statistical significance is assessed through permutation tests that randomly shuffle cell-type labels while preserving spatial structure, generating a null distribution against which observed co-expression frequencies are compared. The output is a directed network of significant cell-cell communication axes, revealing the molecular wiring of tissue microenvironments.
Related Terms
Ligand-receptor co-localization is a computational inference that depends on a stack of upstream and downstream spatial analysis methods. The following concepts form the analytical backbone for identifying and validating cell-cell communication in situ.
Spatial Neighborhood Graph
The foundational data structure for co-localization analysis. Each cell or spot is a node, and edges connect k-nearest neighbors or locations within a defined distance threshold. This graph enables efficient querying of which cell types are physically adjacent before testing for ligand-receptor expression. Without a properly constructed neighborhood graph, co-localization is reduced to random chance.
Spatial Autocorrelation & Moran's I
A statistical prerequisite for validating that observed co-localization is non-random. Moran's I measures whether a gene's expression is spatially clustered, dispersed, or random across a tissue. A ligand-receptor pair is only biologically meaningful if both genes exhibit positive spatial autocorrelation—their expression is structured, not stochastic. This filters out false-positive interactions driven by ubiquitous expression.
Spatial Deconvolution
Essential when working with spot-level spatial transcriptomics technologies (e.g., Visium) where each capture location contains multiple cells. Deconvolution estimates the cell-type proportions within each spot, enabling ligand-receptor analysis between inferred cell types rather than mixed signals. Without deconvolution, a spot's expression profile is a confounded average, masking true sender-receiver relationships.
Spatial Niche Analysis
The downstream biological interpretation of co-localization results. While ligand-receptor analysis identifies pairwise interactions, spatial niche analysis characterizes the recurrent multicellular neighborhoods where these interactions occur. It answers: 'Is this ligand-receptor pair part of a larger tumor-immune hub or a developmental signaling center?' This contextualizes individual interactions within tissue architecture.
Cell Segmentation
A critical preprocessing step for single-cell resolution spatial technologies (e.g., MERFISH, Xenium). Accurate cell segmentation defines the boundaries of individual cells, assigning each transcript to a specific cell. Errors in segmentation—such as merging adjacent cells or fragmenting a single cell—directly corrupt the cell-type labels used in co-localization analysis, leading to spurious ligand-receptor calls.
Spatial Permutation Test
The gold-standard statistical framework for assessing the significance of observed ligand-receptor co-localization. The test randomly shuffles cell-type labels in space while preserving tissue structure, generating a null distribution of expected interaction frequencies. The observed interaction count is then compared to this null to compute an empirical p-value. This controls for the fact that abundant cell types will co-occur by chance.

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