# 标签转移

标签转移是单细胞基因组学中的一种计算方法，它将已注释参考数据集中的细胞类型标签赋予新的查询数据集中的细胞，为每个查询细胞同时输出一个预测标签和一个表达置信度或不确定性的分数。其输入包括一个带标签的参考数据集（带细胞类型注释的细胞×基因表达矩阵）和一个共享所测基因的无标签查询数据集。

| 关键事实 | 详情 |
|---|---|
| 输出 | 逐细胞预测标签及预测分数或不确定性分数；Seurat 将其存储为 `prediction.score.NAME` 测定数据和 `predicted.NAME` 元数据列 <sup>[1](https://satijalab.org/seurat/reference/transferdata)</sup> |
| 核心机制 | 将参考与查询数据映射到共享低维空间，然后通过互为最近邻的锚点或学习到的后验概率传播标签 <sup>[2](https://satijalab.org/seurat/reference/findtransferanchors)</sup> |
| 已报道准确率 | scArches 在 Tabula Muris 评估中所有组织上报告约 84% 的分类准确率 <sup>[3](https://link.springer.com/article/10.1038/s41587-021-01001-7)</sup> |
| 未知检测 | 不确定性超过 50% 阈值的细胞被报告为未知，从而标记出参考中不存在的细胞类型 <sup>[3](https://link.springer.com/article/10.1038/s41587-021-01001-7)</sup> |
| 运行时间 | scArches 在 1 小时内映射 100 万个查询细胞；popV 每 10 万个细胞需 5–60 分钟，取决于运行模式 <sup>[3](https://link.springer.com/article/10.1038/s41587-021-01001-7)</sup><sup> • </sup><sup>[4](https://www.nature.com/articles/s41588-024-01993-3)</sup> |
| 主要局限 | 性能取决于参考数据的质量与完整性；批次效应和缺失的细胞类型会导致错误 <sup>[5](https://www.mdpi.com/1422-0067/27/1/125)</sup> |

## 工作原理

标签转移的核心在于：尽管参考与查询数据在批次、平台和测序深度上存在差异，仍要使二者具有可比性。Seurat 基于锚点的方法将两个数据集压缩到一个共享低维空间中——最初使用典型相关分析（CCA）——然后识别锚点：在该空间中互为最近邻的参考-查询细胞对。<sup>[2](https://satijalab.org/seurat/reference/findtransferanchors)</sup><sup> • </sup><sup>[6](https://www.frontiersin.org/journals/bioinformatics/articles/10.3389/fbinf.2023.1150099/full)</sup> 当前的 Seurat 文档提供预计算参考结构的 PCA 投影、CCA 或 LSI 投影作为搜索空间，并可选择对嵌入向量进行 L2 归一化。<sup>[2](https://satijalab.org/seurat/reference/findtransferanchors)</sup>

每个锚点根据共享邻居重叠度获得一个分数，使用 0.01 和 0.90 分位数进行衰减，并重新缩放到 0–1。<sup>[2](https://satijalab.org/seurat/reference/findtransferanchors)</sup> 预测时，一个权重矩阵将每个查询细胞与锚点关联，权重计算为 1 减去归一化锚点距离再乘以锚点分数，并通过高斯核在 `k.weight` 个锚点上进行平滑。<sup>[1](https://satijalab.org/seurat/reference/transferdata)</sup> 一个二值分类矩阵（类别×锚点）乘以该权重矩阵的转置，即得到每个查询细胞每个类别的预测分数。<sup>[1](https://satijalab.org/seurat/reference/transferdata)</sup>

深度生成方法则走不同的路线。scANVI 直接从模型推导的近似后验分配 \( q_{\Phi}(c \mid x) \) 中预测未观测到的细胞类型标签，利用所有可用的标签。<sup>[7](https://doi.org/10.15252/msb.20209620)</sup>

## 操作方式

Seurat 工作流包含三个实践步骤。第一，`FindTransferAnchors` 执行降维（PCA 投影、CCA 或 LSI 投影）并寻找互为最近邻的锚点；当参考细胞不在查询细胞的前 `k.filter` 个邻居之内时，低置信度锚点被移除。<sup>[2](https://satijalab.org/seurat/reference/findtransferanchors)</sup> 第二，`TransferData` 从锚点权重计算类别预测分数。<sup>[1](https://satijalab.org/seurat/reference/transferdata)</sup> 第三，预测结果和分数作为测定数据和元数据列附加到查询对象上。<sup>[1](https://satijalab.org/seurat/reference/transferdata)</sup>

scANVI 工作流分为两阶段：先进行无监督的 SCVI 表征学习步骤，再进行半监督的 SCANVI 注释步骤，从而使模型同时利用有标签的参考数据和大规模无标签的查询数据。<sup>[8](https://broadinstitute.github.io/warp/docs/Pipelines/scANVI_Pipeline/README)</sup> scArches 变体则训练一个 scANVI 参考模型，然后将新的查询数据映射到该模型上进行预测。<sup>[9](https://openproblems.bio/benchmarks/label_projection/)</sup> SIMS 接收细胞×基因表达矩阵，用基于参考训练的模型对细胞进行分类，并提供从 FASTQ 文件开始的端到端 Terra 流程。<sup>[10](https://doi.org/10.1016/j.xgen.2024.100581)</sup>

## 起源

基于锚点的整合与标签转移流程由 Tim Stuart 及其同事于 2019 年在《细胞》（*Cell*）上报道，实现在开源 R 工具包 Seurat 的第 3 版中，支持将离散或连续数据从参考数据集转移到查询数据集。<sup>[11](https://doi.org/10.1016/j.cell.2019.05.031)</sup> 作为其基准对比的早期方法，scmap（含 scmap-cluster 和 scmap-cell 两种模式）由 Vladimir Yu Kiselev、Andrew Yiu 和 [Martin Hemberg](https://www.edgepedia.org/zh/martin-hemberg) 于 2018 年在《自然方法》（*Nature Methods*）上报道；scmap-cluster 直接在带标签的细胞上构建分类器，而非先协调数据集。<sup>[12](https://doi.org/10.1038/nmeth.4644)</sup><sup> • </sup><sup>[7](https://doi.org/10.15252/msb.20209620)</sup> Stuart 的论文通过将胰岛和视网膜双极细胞数据集拆分为参考集和查询集，构建了 166 个评估案例，以与 scmap-cluster 和 scmap-cell 进行比较。<sup>[11](https://doi.org/10.1016/j.cell.2019.05.031)</sup> 后续方法包括 scANVI（由 Chenling Xu 及其同事于 2021 年在《分子系统生物学》（*Molecular Systems Biology*）上报道）<sup>[7](https://doi.org/10.15252/msb.20209620)</sup> 和 scArches 参考映射（由 Mohammad Lotfollahi 及其同事于 2021 年在《自然生物技术》（*Nature Biotechnology*）上报道）。<sup>[3](https://link.springer.com/article/10.1038/s41587-021-01001-7)</sup>

## 变体

基于参考的注释方法可分为几个可辨识的族系。基于相关性的方法——包括 scmap、CHETAH、OnClass、SingleR 和 Symphony——通过最近邻搜索、层次化分配或富集评分来评估查询细胞与参考表达谱之间的相似性；SingleR 需要纯细胞类型的转录组数据集，并在可变基因上使用 Spearman 相关系数。<sup>[5](https://www.mdpi.com/1422-0067/27/1/125)</sup><sup> • </sup><sup>[10](https://doi.org/10.1016/j.xgen.2024.100581)</sup> 监督分类器如 scPred、SingleCellNet、scAnnotate、SciBet、PCLDA 和 scSorterDL 直接在带标签的参考数据上训练。<sup>[5](https://www.mdpi.com/1422-0067/27/1/125)</sup> 基于锚点的框架——Seurat 标签转移框架及其 Azimuth 流程——结合了共享潜在表征、精选参考图谱和邻域信息。<sup>[5](https://www.mdpi.com/1422-0067/27/1/125)</sup>

深度生成和基于传输的变体在数据集对齐方式上有所不同。TACCO 使用最优传输框架，用户可设置相似性度量、约束或偏置映射的边缘分布、控制其熵，从而将注释转移与混合细胞身份分解统一起来。<sup>[13](https://doi.org/10.1038/s41587-023-01657-3)</sup> popV 采用共识策略，在使用 scVI、BBKNN 和 Scanorama 进行批次校正后，运行包括随机森林、SVM、scANVI、OnClass、CellTypist 和 k-近邻在内的方法。<sup>[4](https://www.nature.com/articles/s41588-024-01993-3)</sup>

## 应用

标签转移用于依据精选图谱对新实验数据进行注释。popV 附带 Tabula Sapiens 全部 20 个器官的预训练模型，并在细胞本体（Cell Ontology）层级上聚合注释 <sup>[4](https://www.nature.com/articles/s41588-024-01993-3)</sup>；包括[人类细胞图谱](https://www.edgepedia.org/zh/human-cell-atlas)（Human Cell Atlas）、Tabula Muris 和小鼠细胞图谱（Mouse Cell Atlas）在内的大型项目支撑了基于参考的策略。<sup>[5](https://www.mdpi.com/1422-0067/27/1/125)</sup>

已报道的准确率因方法和设置而异。scArches 在 Tabula Muris 评估中所有组织上达到约 84% 的分类准确率。<sup>[3](https://link.springer.com/article/10.1038/s41587-021-01001-7)</sup> 在一项五方法基准测试中，Seurat、SingleR 和 SingleCellNet 在 PBMC 数据上 F1 分数相近，而 CellID 和 ItClust 表现显著较差，且没有一种方法能对所有细胞类型的预测准确率都高于 0.5。<sup>[6](https://www.frontiersin.org/journals/bioinformatics/articles/10.3389/fbinf.2023.1150099/full)</sup>

资源需求适中。scArches 对 scVI 和 scANVI 基础模型相比从头整合分别提供约五倍和八倍的加速，并在 1 小时内映射 100 万个查询细胞。<sup>[3](https://link.springer.com/article/10.1038/s41587-021-01001-7)</sup> popV 在重训练模式下每 10 万个细胞约需 1 小时，推理模式需 30 分钟，快速模式需 5 分钟。<sup>[4](https://www.nature.com/articles/s41588-024-01993-3)</sup>

## 局限与替代方案

主要失效模式涉及参考数据和查询数据的批次结构。性能受限于不完整或有偏的参考数据，并受批次效应和不准确的参考标签的混杂影响。<sup>[5](https://www.mdpi.com/1422-0067/27/1/125)</sup> 区分由未解决的技术批次效应引起的潜在空间中的偏移与由生物学差异（如新细胞类型或疾病相关细胞状态）引起的偏移，需要一个能提供不确定性度量的分类器。<sup>[14](https://ar5iv.labs.arxiv.org/html/2211.03793)</sup> scArches 映射中的高不确定性可能表明细胞处于两种表型之间、属于参考中缺失的细胞类型（人类肺细胞图谱中红细胞即为一例），或表明查询嵌入中批次效应去除失败。<sup>[15](https://docs.scarches.org/en/stable/hlca_map_classify.html)</sup>

参考中缺失的细胞通过标记而非强制赋值来处理。scArches 将不确定性超过 50% 的细胞报告为未知，以检测分布外细胞 <sup>[3](https://link.springer.com/article/10.1038/s41587-021-01001-7)</sup>；popV 的低共识分数在肺细胞图谱查询中标记出了 Tabula Sapiens 中不存在的支气管血管内皮细胞。<sup>[4](https://www.nature.com/articles/s41588-024-01993-3)</sup> 理想的工具特性包括：整合多个参考以平滑批次效应、层次化分类、相似性分数，以及返回“未分配”或“未知”的能力。<sup>[16](https://pmc.ncbi.nlm.nih.gov/articles/PMC7873570/)</sup>

与替代方案相比，标签转移属于标记数据库方法、与带标签参考的相关性方法、以及监督分类器这三族格局中的一员。<sup>[16](https://pmc.ncbi.nlm.nih.gov/articles/PMC7873570/)</sup> 基于 scArches 的标签投影与带拒判机制的 SVM、Seurat 第 3 版和逻辑回归分类器相比具有竞争力。<sup>[3](https://link.springer.com/article/10.1038/s41587-021-01001-7)</sup> 已发表的指南建议将自动注释与人工注释结合为三步工作流，而非单独依赖任何一种。<sup>[17](https://www.nature.com/articles/s41596-021-00534-0)</sup>

自 2023 年底以来，该领域已向共识和基础模型方法发展。popV（2024）和 SIMS（2024）增加了共识投票和数据高效的深度分类。<sup>[4](https://www.nature.com/articles/s41588-024-01993-3)</sup><sup> • </sup><sup>[10](https://doi.org/10.1016/j.xgen.2024.100581)</sup> 2024 年《自然方法》的一项评估发现 GPT-4 在细胞类型注释方面表现出色，超越了现有方法，但警告称噪声 scRNA-seq 数据、不可靠的差异基因和幻觉风险需要人类专家验证。<sup>[18](https://www.nature.com/articles/s41592-024-02235-4)</sup>

## References

1. [Transfer data, TransferData • Seurat](https://satijalab.org/seurat/reference/transferdata)
2. [Find transfer anchors, FindTransferAnchors • Seurat](https://satijalab.org/seurat/reference/findtransferanchors)
3. [Mapping single-cell data to reference atlases by transfer learning (scArches)](https://link.springer.com/article/10.1038/s41587-021-01001-7)
4. [Consensus prediction of cell type labels in single-cell data with popV](https://www.nature.com/articles/s41588-024-01993-3)
5. [scANMF: Prior Knowledge and Graph-Regularized NMF for Accurate Cell Type Annotation in scRNA-seq](https://www.mdpi.com/1422-0067/27/1/125)
6. [Adjustments to the reference dataset design improve cell type label transfer](https://www.frontiersin.org/journals/bioinformatics/articles/10.3389/fbinf.2023.1150099/full)
7. [Chenling Xu and colleagues (2021). Probabilistic harmonization and annotation of single‐cell transcriptomics data with deep generative models. Molecular Systems Biology.](https://doi.org/10.15252/msb.20209620)
8. [scANVI Overview | WARP (Broad Institute)](https://broadinstitute.github.io/warp/docs/Pipelines/scANVI_Pipeline/README)
9. [Label Projection | Open Problems](https://openproblems.bio/benchmarks/label_projection/)
10. [Jesus Gonzalez-Ferrer and colleagues (2024). SIMS: A deep-learning label transfer tool for single-cell RNA sequencing analysis. Cell Genomics.](https://doi.org/10.1016/j.xgen.2024.100581)
11. [Tim Stuart and colleagues (2019). Comprehensive Integration of Single-Cell Data. Cell.](https://doi.org/10.1016/j.cell.2019.05.031)
12. [Vladimir Yu Kiselev, Andrew Yiu, Martin Hemberg (2018). scmap: projection of single-cell RNA-seq data across data sets. Nature Methods.](https://doi.org/10.1038/nmeth.4644)
13. [Simon Mages and colleagues (2023). TACCO unifies annotation transfer and decomposition of cell identities for single-cell and spatial omics. Nature Biotechnology.](https://doi.org/10.1038/s41587-023-01657-3)
14. [Uncertainty Quantification for Atlas-Level Cell Type Transfer](https://ar5iv.labs.arxiv.org/html/2211.03793)
15. [scArches HLCA mapping and classification tutorial](https://docs.scarches.org/en/stable/hlca_map_classify.html)
16. [Automated methods for cell type annotation on scRNA-seq data](https://pmc.ncbi.nlm.nih.gov/articles/PMC7873570/)
17. [Tutorial: guidelines for annotating single-cell transcriptomic maps using automated and manual methods](https://www.nature.com/articles/s41596-021-00534-0)
18. [Assessing GPT-4 for cell type annotation in single-cell RNA-seq analysis](https://www.nature.com/articles/s41592-024-02235-4)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026; Oct 25, 2026*

Topic: 生命与健康 › 生物学基础 › 遗传学与基因组参考资料 › Genomics, sequencing, and genome resources › Single-cell and bulk transcriptomic methods

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/label-transfer

English original: https://www.edgepedia.org/label-transfer
