For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cell–cell communication

Infer potential communication between cell types through ligand–receptor signaling, with interaction strength and significance scores calculated using LIANA+.

Infer potential communication between cell types through ligand–receptor signaling, with interaction strength and significance scores calculated using LIANA+.

Ligand-receptor communication

Description

Analysis summary

Infers signaling between cell types: which cell type sends which ligand to which receptor on which receiving cell type, with an interaction strength and a specificity or p-value for each candidate interaction. Runs LIANA+ over all cells pooled together, grouped by cell type.

Computation

Cell-level expression is pivoted into a cell x gene matrix and grouped by cell type. Candidate pairs come from a curated ligand-receptor resource (or an explicit pair list), filtered by expression: a pair is kept only where ligand and receptor are each expressed in at least a minimum fraction of the relevant group's cells, and groups below a minimum size are dropped. One of four LIANA+ scoring methods is then applied — CellChat (communication probability), CellPhoneDB (mean ligand x mean receptor expression), NATMI (expression product with edge-specificity weights), or a Reciprocal Rank Fusion consensus that runs CellPhoneDB and NATMI and fuses their per-method ranks — assigning every (source, target, ligand, receptor) interaction a strength and a specificity score returned under two canonical columns. The columns keep the same names across methods but not the same meaning: the strength score is higher = stronger (for the consensus, a rank-based score comparable only within the run), and the specificity score is a permutation p-value (lower = more significant) except for NATMI, where it is a specificity weight (higher = more specific). The result carries labels naming the exact statistic each column holds. Permutation p-values cannot resolve below one over the number of permutations, and the result states that floor. No group comparisons are computed: significance is per interaction within the pooled data.

When to use

Use for intercellular-communication questions: which cell types talk to each other, through which ligand-receptor pairs, and which interactions are strongest or most significant. For how much of each sample each cell type accounts for, use proportion_analysis; for how many cells express a gene or its mean level per group, use sparse_aggregation_analysis.

Caveats

A predicted interaction only means the sender expresses the ligand and the receiver the receptor — it does not establish physical contact, receptor binding or downstream signaling, so treat results as hypotheses to confirm in tissue or by other means. Cells are pooled into a single inference: there is no group or patient breakdown, so compare conditions by running the analysis separately per group. Rare cell types are dropped below the minimum group size, and pairs whose genes miss the expression threshold disappear — on small cohorts or targeted gene panels this can silently remove most interactions.

LIANA+ — the ligand-receptor inference toolkit. Documentation: https://liana.readthedocs.io/en/stable/ — method paper: https://www.nature.com/articles/s41556-024-01469-w.

Example questions

example questions
  • Cell-cell communication between cell types via ligand-receptor pairs.

  • Which cell types signal to T cells.

Input columns

input columns
column
type
required
description

index

any

required

Cell identifier (e.g. cell_id). One row per (cell, gene); becomes the AnnData obs index.

value

numeric

required

Log1p-normalized expression (e.g. count_lognorm) used directly as the expression matrix. Do not pass raw counts.

x_group

categorical

required

Gene name (e.g. gene_name). Pivoted into the columns of the cell x gene matrix. Provide the full gene space (no marker pre-filtering) in order to match the lig…

y_group

categorical

required

Cell type each cell belongs to (e.g. cell_type_level_2_mid); one label per cell.

patient_id

categorical

required

Patient identifier required by population-summary contract conventions. Carried for compliance only; the single pooled run ignores it.

Visualizations

  • dotplot How to read: Rows are ligand → receptor pairs, columns are the receiver cell types, and a dropdown selects the sender cell type whose outgoing interactions are shown. Dot colour encodes the interaction strength; the colour bar is labelled with the exact score in use, which changes with the scoring method. Dot size encodes statistical confidence and always grows with it: one minus the p-value for methods that have one (more significant = larger), the specificity weight itself for NATMI (more specific = larger); the size legend names which score applies. Read the plot as: from the chosen sender, which receivers are targeted by which ligand-receptor pairs, and how strong and how specific each interaction is.

  • parallel_categories How to read: One line per interaction, running left to right across four axes — Sender, Ligand, Receptor, Receiver — so following a line reads out the full path of one communication, and bundles of lines between the same cell types expose the dominant communication axes. Line colour, width and opacity all encode the interaction strength (the colour bar is labelled with the exact score in use). Hovering a line gives its exact strength and its p-value or specificity; p-values below the smallest value the permutation test can resolve are shown as '< floor' rather than a false zero. When only the strongest interactions are kept, a caption states how many of the evaluated interactions are drawn. This plot needs the ECharts engine; under Plotly the dotplot is drawn instead.

Example analysis 1

Name — Cell-Cell Communication (Bladder, Immune)

Visualization — dotplot

Cell-Cell Communication (Bladder, Immune)

Example analysis 2

Name — Cell-Cell Communication (Bladder, Immune)

Analysis parameters

analysis_name, analysis_params, viz_params

Visualization — parallel_categories

Cell-Cell Communication (Bladder, Immune)

Output table

descriptive_stats (first 10 of 200 rows)
ligand
ligand_complex
ligand_means
ligand_props
receptor
receptor_complex
receptor_means
receptor_props
source
target
lr_means
cellphone_pvals
rank_cellphonedb
ligand_natmi
ligand_means_natmi
ligand_means_sums
ligand_props_natmi
receptor_natmi
receptor_means_natmi
receptor_means_sums
receptor_props_natmi
expr_prod
spec_weight
rank_natmi
rrf_score
magnitude
pval_specificity

COL1A1

COL1A1

10.57

0.9898

CD93

CD93

5.576

0.7346

Fibroblast

Endothelial

8.072

0.0

1

COL1A1

10.57

37.85

0.9898

CD93

5.576

12.78

0.7346

58.93

0.1218

1

0.03279

1.0

0.0

COL1A1

COL1A1

10.57

0.9898

ITGA5

ITGA5

5.554

0.6809

Fibroblast

Muscle

8.062

0.0

2

COL1A1

10.57

37.85

0.9898

ITGA5

5.554

21.68

0.6809

58.7

0.07154

2

0.03226

0.9839

0.0

COL1A1

COL1A1

10.57

0.9898

ITGA5

ITGA5

5.423

0.74

Fibroblast

Endothelial

7.996

0.0

3

COL1A1

10.57

37.85

0.9898

ITGA5

5.423

21.68

0.74

57.31

0.06985

3

0.03175

0.9683

0.0

COL1A1

COL1A1

10.57

0.9898

CD44

CD44

5.281

0.6899

Fibroblast

Mast

7.925

0.0

4

COL1A1

10.57

37.85

0.9898

CD44

5.281

37.6

0.6899

55.81

0.03921

4

0.03125

0.9531

0.0

COL1A2

COL1A2

9.858

0.9898

CD93

CD93

5.576

0.7346

Fibroblast

Endothelial

7.717

0.0

6

COL1A2

9.858

34.44

0.9898

CD93

5.576

12.78

0.7346

54.97

0.1249

5

0.03054

0.9314

0.0

COL1A1

COL1A1

10.57

0.9898

SDC1

SDC1

4.959

0.7066

Fibroblast

Malignant

7.764

0.0

5

COL1A1

10.57

37.85

0.9898

SDC1

4.959

18.03

0.7066

52.42

0.07681

7

0.03031

0.9245

0.0

APP

APP

5.757

0.7747

CD74

CD74

9.468

0.9774

Endothelial

DC

7.612

0.0

8

APP

5.757

31.73

0.7747

CD74

9.468

56.8

0.9774

54.5

0.03024

6

0.02986

0.9107

0.0

COL1A1

COL1A1

10.57

0.9898

CD36

CD36

4.808

0.6615

Fibroblast

Stromal_other

7.688

0.0

7

COL1A1

10.57

37.85

0.9898

CD36

4.808

7.494

0.6615

50.81

0.1791

10

0.02921

0.8909

0.0

COL1A2

COL1A2

9.858

0.9898

CD44

CD44

5.281

0.6899

Fibroblast

Mast

7.569

0.0

9

COL1A2

9.858

34.44

0.9898

CD44

5.281

37.6

0.6899

52.06

0.04021

8

0.0292

0.8906

0.0

APP

APP

5.757

0.7747

CD74

CD74

8.992

0.9724

Endothelial

MoMac

7.375

0.0

13

APP

5.757

31.73

0.7747

CD74

8.992

56.8

0.9724

51.77

0.02872

9

0.02819

0.8598

0.0

Last updated

Was this helpful?