When the Reference Does Not Represent the Query Tissue
A cell-type annotation method can only choose among the labels it has been given. When a query comes from a tissue or cell state that the reference atlas represents incompletely, the method may assign it to the nearest available label even if that label is biologically wrong. A high prediction score does not by itself rule out this kind of reference mismatch: it may indicate only that one available label fits better than the other available labels.
The practical task is to assess whether the prediction is credible at the available level of detail. This tutorial focuses on combining prediction scores with marker evidence to decide whether to retain a broad lineage label, report a candidate identity with uncertainty, or use an unknown label. A mismatch is a possibility to investigate, not a conclusion to draw from one low score or one unusual marker.
What Prediction Scores Can and Cannot Establish
Let \(q_{ik}\) be the prediction score for query cell \(i\) and reference label \(k\), with \(K\) labels in the model. If the scores are probabilities over the reference labels, then \(q_{ik}\geq 0\) and \(\sum_{k=1}^{K}q_{ik}=1\). Even a calibrated model can be calibrated only with respect to the labels and conditions represented in its validation data. Calibration among known classes does not establish that the set of classes is complete.
This limitation follows directly from the closed-set setup. Suppose a model converts compatibility values \(L_k\) into scores proportional to \(L_k\pi_k\), where \(\pi_k\) is the reference prevalence for class \(k\). If a true class \(u\) is omitted, its compatibility value is not included in the normalization. The scores for the represented labels still sum to one:
Thus, the largest score can be substantial even if every represented label fits poorly relative to the missing class. These scores are useful for describing how the model distributes support across the available labels; they are not, on their own, probabilities that the true identity is among those labels. The introductory material on detecting cell types missing from the reference establishes why open-set evidence matters; here the emphasis is on evaluating that possibility in a tissue-specific case.
For a cluster \(C\) of \(m\) cells, a descriptive summary is the average score for label \(k\), \(\bar q_{Ck}=m^{-1}\sum_{i\in C}q_{ik}\). The average can be useful, but it must be read alongside cell-level scores. A cluster average may conceal a mixture—for example, half the cells may strongly support one label and half another. Inspect score distributions, top-label frequencies, and consistency across biological replicates or donors, rather than treating the cluster mean as a prediction for every cell.
A Tissue-Aware Assessment
A reference-mismatch interpretation is more persuasive when multiple kinds of evidence agree. First, check whether the query cluster is technically credible: assess basic quality-control measures, possible doublets, ambient RNA, and whether a batch effect could account for the pattern. Then ask whether the leading reference label is supported by its expected markers and whether the tissue context makes an omitted type plausible. Marker evidence should be interpreted as a coherent pattern, not as a single detected gene. Single-cell measurements are sparse, and marker expression can vary with state, depth, and assay.
A useful distinction is between the level of identity supported by the data and the most specific name one can imagine. If several independent markers support a parent lineage but evidence for a particular subtype is incomplete, retain the parent label and flag the fine identity as uncertain. If even the parent lineage is unsupported, an unknown label may be more honest. A biologically plausible candidate can be noted as a candidate without presenting it as a settled annotation.
Inspect per-cell top labels, score distributions, and the leading-score margin. Compare the pattern with performance and thresholds validated for the relevant tissue and labels.
Look for mixed score patterns, quality problems, or donor-specific behavior that could produce an apparent mismatch.
Ask whether multiple expected markers support a known identity, a broader lineage, or a plausible type omitted from the atlas. Consider whether the markers could instead reflect contamination or a technical artifact.
Use a specific label only when evidence supports it. Otherwise state a supported broad label, or mark the identity unknown at the resolution in question.
Worked Examples
Worked Example: Airway Cells Mapped to a Familiar Epithelial Type
Suppose a hypothetical lung query contains a coherent cluster of 12 airway cells. The reference contains ciliated, secretory, and basal epithelial labels, but no ionocyte label. Averaged prediction scores for the cluster are 0.14 for ciliated, 0.61 for secretory, and 0.25 for basal. The scores sum to \(0.14+0.61+0.25=1.00\), so secretory is the model’s leading available label.
Suppose 10 of the 12 cells detect FOXI1 and 9 detect CFTR, while only 1 detects the secretory marker SCGB1A1. In this hypothetical case, the FOXI1 and CFTR pattern is compatible with an airway ionocyte identity, whereas the low SCGB1A1 detection provides little support for calling the cluster secretory. Marker detection is not proof: sparse counts can miss genuine expression, and the marker pattern should be checked for quality and reproducibility.
The 0.61 score means secretory is favored over the other represented labels by this model; it does not show that the cluster is secretory or that ionocytes are absent. The mismatch explanation is plausible because the reference omits the candidate type and the marker pattern does not fit the top label well. A defensible annotation is airway epithelial, fine identity unknown; ionocyte-like candidate, pending further evidence. Calling all 12 cells secretory would overstate what the combined evidence supports.
Worked Example: A Kidney Subtype Missing From the Atlas
Consider a hypothetical cluster of 20 kidney cells from two donors. A reference lacks intercalated cells but includes principal cells, distal tubular cells, proximal tubular cells, and stromal cells. The cluster’s mean scores are 0.48, 0.32, 0.12, and 0.08, respectively; they sum to 1.00. The top-label margin between principal and distal tubular cells is \(0.48-0.32=0.16\). That margin describes separation among the available labels; it is not a test for an omitted cell type.
Assume 17 of 20 cells detect ATP6V1B1, 14 detect SLC4A1, and none detect the principal-cell marker AQP2. The cells with these marker detections occur in both donors. The combination is consistent with an intercalated-cell candidate and inconsistent with a straightforward principal-cell call, although marker detection alone does not establish the subtype. Donor replication makes a single-donor artifact less likely, but does not rule out shared technical effects.
The available evidence supports a kidney epithelial identity and suggests that the reference’s best available label is a poor fine-grained match. The appropriate output is a broad epithelial or collecting-duct-related label if that parent category is supported by the data, with the fine identity recorded as unknown or as an intercalated-cell candidate. It would be unjustified to report a definite intercalated-cell annotation solely from this score-and-marker pattern.
Worked Example: Distinguishing a Missing Mural Type From a Mixed Cluster
In a hypothetical heart query, a reference includes endothelial cells, fibroblasts, and cardiomyocytes, but not pericytes. A cluster of 24 cells has mean scores 0.67 for fibroblast, 0.20 for endothelial, and 0.13 for cardiomyocyte. The fibroblast score is high relative to the other available classes. Suppose 18 cells detect RGS5, 16 detect PDGFRB, and 15 detect CSPG4, while only 3 detect the fibroblast-associated marker COL1A1.
The first check is whether the markers and scores co-occur in the same cells. If the RGS5, PDGFRB, and CSPG4 signal is concentrated in one group, while COL1A1 and fibroblast scores characterize another, the cluster may contain a mixture rather than one missing type. If, instead, the mural-marker pattern is shared across cells and appears in both of two donors, a missing pericyte or related mural label becomes more plausible. Here assume the three mural markers co-occur in most cells across both donors and the cluster is not flagged as low quality or doublets.
The fibroblast score of 0.67 is not enough to override the marker mismatch: it is conditional on a reference with no pericyte class. A cautious annotation is mural/perivascular, fine identity uncertain, or unknown at the subtype level if the available annotation scheme has no supported parent label. The analysis should not convert a plausible candidate into a definite cell-type claim.
Why the Reasoning Works, and Where It Can Fail
A simple score property explains why maximum score alone cannot establish a match. Since the \(K\) scores sum to one, at least one must be at least \(1/K\); otherwise every score would be less than \(1/K\), and their sum would be less than one. This lower bound says nothing about biological correctness. For example, with four available labels, a maximum score of 0.40 is mathematically compatible with the true type being absent. More generally, renormalizing compatibility across only represented classes forces the model to distribute all its score among those classes.
This reasoning assumes that scores are meaningfully comparable for the model being used and that the query cells and markers have passed appropriate quality checks. It does not assume that a marker list is exhaustive, or that a particular score cutoff is universal. Thresholds for abstention or mismatch should be selected using validation data relevant to the tissue, reference, and assay. A score threshold validated on one tissue should not automatically be transferred to another.
Several alternatives help diagnose a suspected mismatch, but answer different questions. A calibrated classifier estimates reliability within the evaluated label system; it cannot guarantee that an omitted class is represented. An abstention rule can prevent an unsupported specific call, but abstention does not identify the missing type. A missing-class detector can provide additional evidence, but its performance depends on how it was validated and on the shift between reference and query. Marker-based annotation adds biological evidence, but can be misleading when markers are nonspecific, sparse, or affected by contamination. No one of these approaches replaces checking cell-level coherence and tissue context.
Warning signs include a top predicted label whose expected markers are consistently absent, a coherent set of markers not represented by any reference label, markedly different predictions across donors, or a cluster average that hides distinct per-cell groups. These signs have alternatives: low sequencing depth can cause marker dropout; a batch effect can change expression patterns; ambient RNA can create misleading marker detections; and a mixed cluster can combine distinct identities. If the pattern does not replicate across cells or donors, or disappears after quality checks, the evidence for a missing tissue-specific type weakens.
Common Mistake
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- A query cell has scores 0.72 for the top reference label and 0.28 for another label. What does the 0.72 establish, and what does it not establish?
- A cluster has an average score of 0.55 for one label, but half its cells strongly favor that label and half strongly favor a different label. Why is the average insufficient for annotation?
- Several markers suggest a tissue-specific cell type absent from the atlas, but the signal appears only in one donor. Give one cautious interpretation and one next check.
- When is a broad label more appropriate than a candidate fine-grained label?
Solutions. (1) It establishes that the model favors that label among the labels represented, given its scoring procedure. It does not establish that the true type is represented or that the label is biologically correct. (2) The mean conceals possible heterogeneity or a mixed cluster; inspect cell-level score patterns and determine whether the groups are distinct before assigning a cluster-wide label. (3) Record the candidate as uncertain rather than claiming a tissue-specific identity, and check donor-level technical or biological differences and whether the marker pattern replicates in additional data. (4) Use the broad label when lineage-level evidence is coherent but evidence distinguishing the proposed subtype is incomplete; use a candidate fine-grained label only when it is clearly marked as tentative and supported by relevant evidence.