Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Compare multimodal integration methods

After the core Read RNA and protein together with CITE-seq workflow, check whether RNA and ADT support similar populations. We will compare their cluster assignments, inspect where each assay contributes to the default WNN integration, and compare WNN with SNN. SNN combines the assay graphs using their edge weights and shared neighbours. It provides a comparison without learned cell-specific modality weights, although its neighbour selection also differs from WNN.

Open the matched results

DataStore has 7299 (7865) cells with 2 assays: ADT RNA Cell metadata: 'I', 'ids', 'names', 'ADT_UMAP1', 'ADT_UMAP2', 'ADT_leiden_cluster', 'ADT_nCounts', 'ADT_nFeatures', 'RNA+ADT_UMAP1', 'RNA+ADT_UMAP2', 'RNA+ADT_leiden_cluster', 'RNA+ADT_wnn_UMAP1', 'RNA+ADT_wnn_UMAP2', 'RNA+ADT_wnn_leiden_cluster', 'RNA_UMAP1', 'RNA_UMAP2', 'RNA_clusters', 'RNA_leiden_cluster', 'RNA_nCounts', 'RNA_nFeatures', 'RNA_percentMito', 'RNA_percentRibo' ADT assay has 17 features and following metadata: 'I', 'ids', 'names', 'dropOuts', 'feature_type', 'genome', 'nCells', 'pattern', 'read', 'sequence' RNA assay has 33538 features and following metadata: 'I', 'ids', 'names', 'dropOuts', 'feature_type', 'genome', 'nCells', 'pattern', 'read', 'sequence'

Started: 2026-10-11T18:54:52.178398Z | Wall time: 13.287 s

The prepared store already contains RNA, ADT, WNN, and SNN results. Start by reopening the ADT results to compare them with RNA. If you are continuing your own analysis, keep the references returned by its analysis steps instead.

The searches specify which assay, method, and upstream graph each result belongs to. Each search expects one match in this prepared store. If you have added more analyses, narrow the search to the result you intend to compare.

{'ADT layout': ArtifactRef(assay='ADT', kind='embedding', artifact_id='df1f302c9c45...'), 'ADT clusters': ArtifactRef(assay='ADT', kind='cluster_labels', artifact_id='82c4313ef80f...')}

Started: 2026-10-11T18:55:05.467643Z | Wall time: 0.016 s

Check RNA and ADT concordance

Where do the assay-specific partitions agree or disagree?

RNA UMAP coloured by ADT clusters beside ADT UMAP coloured by RNA clusters. Broad populations correspond, with several regions split differently by the two assays.

Started: 2026-10-11T18:55:05.485676Z | Wall time: 1.485 s

Broad agreement supports a shared population structure. Local differences are not automatically errors: protein abundance and RNA expression can differ, and protein can resolve a population whose transcript is sparse. Investigate large contradictory regions before integration, using markers and assay quality to distinguish complementary biology from technical problems.

Inspect WNN modality weights

Where does each assay contribute most strongly to the integrated graph? Open the WNN graph and the layout made from it:

ArtifactRef(datastore, kind='embedding', artifact_id='3d0b3b9746b5...')

Started: 2026-10-11T18:55:06.973647Z | Wall time: 0.014 s

Two WNN UMAP panels show RNA and ADT weights from zero to one. Relative modality contributions vary among regions and among nearby cells.

Started: 2026-10-11T18:55:06.989862Z | Wall time: 0.494 s

Spatial shifts show where RNA or ADT contributes more strongly. Check unexpected shifts against markers and assay quality; noisy features or retained control antibodies can also change the weights.

Compare WNN with SNN

SNN ranks candidate edges using connectivity weights and shared-neighbour support, applying the same rule to each assay. WNN uses the neighbour artifacts and their reduced coordinates to learn a per-cell contribution for each modality. Both preserve their exact source references. Pass the chosen graph explicitly to downstream methods.

Open the SNN result only when making this comparison:

ArtifactRef(datastore, kind='embedding', artifact_id='ada3a9cd9367...')

Started: 2026-10-11T18:55:07.486148Z | Wall time: 0.013 s

Retrieve the cluster labels from each integrated graph:

{'SNN clusters': ArtifactRef(datastore, kind='cluster_labels', artifact_id='bb75f57b0f17...'), 'WNN clusters': ArtifactRef(datastore, kind='cluster_labels', artifact_id='cbdf7519e896...')}

Started: 2026-10-11T18:55:07.501168Z | Wall time: 0.011 s

Which integration preserves CD16 protein geography better?

Four panels compare WNN and SNN cluster assignments with CD16 protein on each method's UMAP. CD16-rich cells occupy distinct regions in both layouts.

Started: 2026-10-11T18:55:07.514689Z | Wall time: 4.075 s

Compare the marker pattern with the assay-specific partitions and the other measured markers. A marker can occur in several populations, so a single compact patch does not establish a better integration. Investigate apparent mixing using several markers and known populations.

Partition concordance quantifies similarity without declaring a winner:

comparisonARINMI
0RNA vs ADT0.5899050.683815
1RNA vs SNN0.6561730.773921
2RNA vs WNN0.7543230.830901
3ADT vs SNN0.7251420.789331
4ADT vs WNN0.6496580.745831
5SNN vs WNN0.7707780.850922

Started: 2026-10-11T18:55:11.592876Z | Wall time: 0.309 s

The adjusted Rand index (ARI) compares which cell pairs the two partitions place together or apart, correcting for chance agreement. An ARI of 1 means identical partitions; values near 0 indicate chance-level agreement, and negative values can occur. Normalized mutual information (NMI) measures how much knowing one partition’s labels tells us about the other. It ranges from 0 to 1 but is not corrected for chance. Both ignore the names assigned to clusters, and neither tells us which partition is biologically correct. Interpret them alongside markers and assay design instead of trying to maximize the scores.

Choose and validate an integration

Choosing WNN or SNN

  • WNN adapts to local information. It can be useful when ADT separates some populations clearly while RNA resolves populations that the antibody panel does not cover. Its weights describe the relative contribution of each modality for each cell; inspect whether those contributions agree with the measurements and the panel design.

  • SNN provides an equal-standing comparison. Use it when you want to combine the graphs without learned cell-specific modality weights. Comparing it with WNN helps identify structures that depend strongly on one modality’s contribution.

Checks to make before interpreting the joint graph

  • Inspect modality weights. Local shifts can reflect complementary information, such as strong ADT separation among lymphocytes. If one modality dominates across most cells, inspect normalization, technical dropout, feature selection, and the antibody panel’s coverage. There is no universal weight cutoff that establishes a failed assay.

  • Overlay several markers. Compare CD16 with other markers relevant to your populations, such as CD4 and CD19 when they are measured. Investigate unexpected mixing of populations using both the expression data and the graph, since a compact UMAP alone does not validate an integration.

  • Interpret partition agreement in context. Different cluster numbers, complementary biology, and assay quality all affect ARI and NMI. There is no fixed ARI range that proves success. If agreement is unexpectedly low, check cell alignment, batch effects, and markers before interpreting it as biology.

When the integration needs more work

Ambient ADT background or nonspecific antibody binding can connect unrelated cells. Uncorrected batch effects in either assay can also shape the integrated graph. If distinct lineages appear to collapse together, revisit those technical explanations and the neighbour parameters before accepting either integration. Changing the integration method alone may not address the cause.

See Correcting batch effects with Harmony for a worked correction workflow, Integration and metrics API reference for algorithm and input contracts, and Reuse results and compare analysis settings for tracing the results you compare.