{"id":71713,"date":"2026-11-17T13:34:24","date_gmt":"2026-11-17T05:34:24","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=71713"},"modified":"2026-11-17T13:34:24","modified_gmt":"2026-11-17T05:34:24","slug":"ysx-sc-practice-036-heldout-donor-reference-mapping","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/ysx-sc-practice-036-heldout-donor-reference-mapping\/","title":{"rendered":"\u65b0\u589e\u4e00\u4f4d\u60a3\u8005\uff0c\u600e\u6837\u6cbf\u7528\u65e7\u56fe\u8c31\u7684\u5750\u6807\u548c\u6ce8\u91ca\uff0c\u518d\u9a8c\u8bc1\u6620\u5c04\u9760\u4e0d\u9760\u8c31\uff1f"},"content":{"rendered":"<div style=\"max-width:820px;margin:0 auto;color:#263a47;font-size:17px;line-height:1.85;overflow-wrap:break-word\">\n<p>\u9879\u76ee\u5df2\u7ecf\u6709\u4e00\u5f20\u6309\u4f9b\u8005\u5ba1\u6838\u8fc7\u7684\u514d\u75ab\u7ec6\u80de\u56fe\u8c31\uff0c\u65b0\u6765\u4e00\u4f4d\u60a3\u8005\u540e\uff0c\u6700\u65b9\u4fbf\u7684\u505a\u6cd5\u662f\u6cbf\u7528\u4e0a\u6b21\u7684\u5750\u6807\u548c\u6ce8\u91ca\u3002\u600e\u4e48\u8bc1\u660e\u90a3\u5f20\u56fe\u4e5f\u9002\u5408\u4ed6\uff1f\u5148\u522b\u6025\u7740\u89e3\u91ca\u65b0\u60a3\u8005\u7684\u6295\u5f71\uff0c\u53ef\u4ee5\u628a\u4e00\u4f4d\u5df2\u6709\u4eba\u5de5\u4f5c\u8fc7\u6ce8\u91ca\u7684\u4f9b\u8005\u6682\u65f6\u85cf\u8d77\u6765\uff0c\u6309\u65b0\u6765\u7684\u6570\u636e\u8d70\u4e00\u904d\uff0c\u518d\u6253\u5f00\u771f\u503c\u6838\u5bf9\u3002\u9664\u4e86\u770b\u80fd\u5426\u731c\u4e2d T\u3001B \u548c\u9ad3\u7cfb\u7ec6\u80de\uff0c\u8fd8\u8981\u95ee\u56fe\u8c31\u6ca1\u6536\u5f55\u7684\u72b6\u6001\u4f1a\u88ab\u5206\u5230\u54ea\u91cc\uff0c\u4ee5\u53ca\u4e5d\u4e2a\u90bb\u5c45\u5168\u90fd\u6295\u540c\u4e00\u7968\u65f6\uff0c\u662f\u5426\u4ecd\u4f1a\u5206\u9519\u3002<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1240\" height=\"800\" style=\"width:100%;height:auto;display:block;border-radius:12px\" alt=\"\u5728\u56fa\u5b9a\u53c2\u8003\u56fe\u4e0a\u7528\u6574\u4f4d\u7559\u51fa\u4f9b\u8005\u590d\u6838\u4e5d\u90bb\u5c45\u6295\u7968\u548c\u62d2\u5224\uff0c\u68c0\u67e5\u9ad8\u7968\u9519\u5206\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-036-heldout-donor-reference-mapping.png?resize=1240%2C800&#038;ssl=1\" \/><\/p>\n<p><a download style=\"display:inline-block;margin:3px;padding:4px 10px;border:1px solid #bad0dd;border-radius:5px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-036-heldout-donor-reference-mapping.zip\">\u4e0b\u8f7d\u5b8c\u6574\u4ee3\u7801\u3001\u793a\u4f8b\u6570\u636e\u4e0e\u53c2\u8003\u8f93\u51fa\uff08ZIP\uff09<\/a> \u00b7 <a download style=\"display:inline-block;margin:3px;padding:4px 10px;border:1px solid #bad0dd;border-radius:5px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-036-heldout-donor-reference-mapping.pdf\">\u4e0b\u8f7d\u56fe\u6587\u64cd\u4f5c\u624b\u518c\uff08PDF\uff09<\/a><\/p>\n<h2>\u5148\u628a\u56fe\u8c31\u3001\u76f2\u6d4b\u548c\u771f\u6b63\u672a\u77e5\u7684\u67e5\u8be2\u5206\u5f00<\/h2>\n<p>\u6559\u5b66\u6570\u636e\u91cc\uff0c\u524d\u4e09\u4f4d\u4f9b\u8005\u4e00\u5171\u4e00\u767e\u516b\u5341\u9897\u7ec6\u80de\uff0c\u6784\u6210\u53c2\u8003\u3002\u6bcf\u4f4d\u90fd\u6709 T\u3001B \u548c\u9ad3\u7cfb\u4e09\u79cd\u6807\u7b7e\u3002\u7b2c\u56db\u4f4d\u6709\u516d\u5341\u516d\u9897\uff0c\u4f5c\u4e3a\u6574\u4f4d\u7559\u51fa\u7684\u76f2\u6d4b\u4f9b\u8005\uff0c\u53ea\u5728\u6700\u540e\u5224\u5206\u65f6\u8bfb\u5979\u7684\u53c2\u8003\u771f\u503c\u3002\u7b2c\u4e94\u4f4d\u540c\u6837\u6709\u516d\u5341\u516d\u9897\uff0c\u5728\u8f93\u5165\u8868\u4e2d\u4e0d\u63d0\u4f9b\u4efb\u4f55\u771f\u503c\uff0c\u6a21\u62df\u771f\u6b63\u7684\u65b0\u6837\u672c\u3002\u53c2\u8003\u3001\u76f2\u6d4b\u548c\u67e5\u8be2\u5404\u7528\u72ec\u7acb\u6761\u7801\u548c\u4f9b\u8005\u5b57\u6bb5\u3002\u4e0d\u8981\u968f\u673a\u6253\u6563\u5168\u90e8\u7ec6\u80de\u518d\u505a\u8bad\u7ec3\u6d4b\u8bd5\uff1a\u540c\u4e00\u4f4d\u60a3\u8005\u7684\u7ec6\u80de\u540c\u65f6\u8fdb\u5165\u4e24\u8fb9\uff0c\u4f1a\u8ba9\u6a21\u578b\u6709\u673a\u4f1a\u5229\u7528\u60a3\u8005\u7279\u6709\u7684\u6280\u672f\u504f\u5dee\u6216\u8868\u8fbe\u80cc\u666f\uff0c\u5f97\u5230\u7684\u6210\u7ee9\u6bd4\u9762\u5bf9\u65b0\u60a3\u8005\u4e50\u89c2\u3002<\/p>\n<p>\u5148\u89e3\u538b\u8d44\u6599\u5305\uff0c\u8fd0\u884c\u4e0b\u9762\u4e24\u884c\u3002\u4ee3\u7801\u4ece\u540c\u4e00\u4efd\u6559\u5b66\u8ba1\u6570\u4e2d\u6309\u4f9b\u8005\u89d2\u8272\u62c6\u7ec4\uff0c\u6240\u6709\u9009\u62e9\u6a21\u578b\u53c2\u6570\u7684\u6b65\u9aa4\u5747\u9650\u5236\u5728\u53c2\u8003\u6570\u636e\u5185\u3002\u5148\u5728\u6bcf\u9897\u7ec6\u80de\u5185\u90e8\u6309\u6587\u5e93\u603b\u91cf\u5f52\u4e00\u5316\u5e76\u53d6\u5bf9\u6570\uff0c\u518d\u7528\u53c2\u8003\u7ec6\u80de\u72ec\u7acb\u9009\u51fa\u6709\u65b9\u5dee\u7684\u7279\u5f81\uff0c\u4f30\u8ba1\u6bcf\u4e2a\u57fa\u56e0\u7684\u4e2d\u5fc3\u548c\u5c3a\u5ea6\uff0c\u62df\u5408\u4e5d\u7ef4 PCA\u3002\u628a\u6240\u5f97\u5747\u503c\u3001\u6807\u51c6\u5dee\u548c\u57fa\u56e0\u987a\u5e8f\u76f4\u63a5\u7528\u4e8e\u7559\u51fa\u4e0e\u67e5\u8be2\u7ec6\u80de\uff0c\u907f\u514d\u65b0\u60a3\u8005\u8d21\u732e\u7684\u6570\u636e\u53cd\u8fc7\u6765\u6539\u53d8\u53c2\u8003\u3002\u771f\u5b9e\u73af\u5883\u82e5\u6536\u5230\u7684\u662f\u72ec\u7acb\u77e9\u9635\uff0c\u5e94\u6309\u76f8\u540c\u57fa\u56e0\u7f16\u53f7\u663e\u5f0f\u5bf9\u9f50\uff0c\u5e76\u5217\u51fa\u65e0\u6cd5\u6620\u5c04\u7684\u7279\u5f81\u3002\u9759\u9ed8\u628a\u7f3a\u5931\u7684\u6d4b\u91cf\u5199\u6210\u96f6\uff0c\u53ef\u80fd\u628a\u4e00\u6574\u7c7b\u65b0\u7ec6\u80de\u63a8\u5411\u9519\u8bef\u4f4d\u7f6e\u3002<\/p>\n<pre style=\"max-width:100%;overflow:auto;padding:14px;box-sizing:border-box;background:#f1f6fa;line-height:1.6;font-size:0.9em\"><code class=\"language-sh\">python -m pip install -r requirements.txt\npython run.py --input example --out results\n<\/code><\/pre>\n<h2>\u628a\u5750\u6807\u6620\u5c04\u548c\u6807\u7b7e\u5224\u65ad\u5206\u522b\u9a8c\u7b97<\/h2>\n<p>\u9996\u5148\u5728\u53c2\u8003\u7684\u4e3b\u6210\u5206\u5f97\u5206\u4e0a\u62df\u5408 UMAP\uff0c\u4fdd\u5b58\u53c2\u8003\u5750\u6807\u3002\u65b0\u6570\u636e\u5148\u7ecf\u8fc7\u540c\u4e00\u4e2a PCA\uff0c\u518d\u8c03\u7528\u540c\u4e00\u4e2a UMAP \u6a21\u578b\u7684 transform \u5f97\u5230\u67e5\u8be2\u70b9\u7684\u4e8c\u7ef4\u4f4d\u7f6e\u3002\u51fd\u6570\u8fd0\u884c\u540e\u811a\u672c\u91cd\u65b0\u6bd4\u8f83\u6240\u6709\u539f\u53c2\u8003\u5750\u6807\uff0c\u4e0e\u6620\u5c04\u524d\u9010\u5143\u7d20\u4e00\u81f4\u3002\u8fd9\u6837\u6210\u679c\u624d\u80fd\u53eb\u6cbf\u7528\u65e7\u56fe\u8c31\u3002\u628a\u5168\u90e8\u4f9b\u8005\u5408\u5e76\u540e\u91cd\u7b97 UMAP\uff0c\u4e5f\u80fd\u753b\u51fa\u4e00\u5f20\u770b\u4f3c\u719f\u6089\u7684\u56fe\uff0c\u4f46\u662f\u539f\u6765\u7684\u70b9\u53ef\u80fd\u5df2\u7ecf\u6362\u4e86\u5750\u6807\uff0c\u4e0d\u9002\u5408\u548c\u65e7\u7248\u672c\u9010\u70b9\u53e0\u653e\u3002UMAP \u7684\u65b0\u70b9\u6295\u5f71\u4ecd\u4f9d\u8d56\u8bad\u7ec3\u6570\u636e\u662f\u5426\u8986\u76d6\u67e5\u8be2\u5206\u5e03\uff0c\u539f\u56fe\u6ca1\u89c1\u8fc7\u7684\u72b6\u6001\u5728\u4e8c\u7ef4\u56fe\u4e2d\u7167\u6837\u4f1a\u6709\u4e00\u4e2a\u4f4d\u7f6e\u3002<a href=\"https:\/\/umap-learn.readthedocs.io\/en\/latest\/transform.html\">UMAP \u6295\u5f71\u65b0\u6570\u636e\u7684\u5b98\u65b9\u6559\u7a0b<\/a><\/p>\n<p>\u6807\u7b7e\u5224\u65ad\u53d1\u751f\u5728\u4e5d\u7ef4\u53c2\u8003\u5f97\u5206\u7a7a\u95f4\uff0c\u4e0d\u4f7f\u7528\u8089\u773c\u770b\u5230\u7684\u4e8c\u7ef4\u5c4f\u5e55\u8ddd\u79bb\u3002\u4e3a\u6bcf\u9897\u67e5\u8be2\u7ec6\u80de\u627e\u5230\u4e5d\u4e2a\u6700\u8fd1\u7684\u53c2\u8003\u90bb\u5c45\uff0c\u8ba1\u7b97\u7968\u6570\u6700\u591a\u7684\u6807\u7b7e\u53ca\u5176\u6240\u5360\u6bd4\u4f8b\uff0c\u540c\u65f6\u8bb0\u5f55\u7b2c\u4e5d\u8fd1\u90bb\u7684\u8ddd\u79bb\u3002\u5982\u679c\u90bb\u5c45\u4e92\u76f8\u610f\u89c1\u4e0d\u4e00\uff0c\u6216\u8005\u4e5d\u4e2a\u6700\u8fd1\u70b9\u6574\u4f53\u79bb\u5b83\u90fd\u8fc7\u8fdc\uff0c\u5c31\u4fdd\u7559\u672a\u5206\u914d\u5e76\u5199\u6e05\u539f\u56e0\u3002\u672c\u7ec3\u4e60\u7528\u8bad\u7ec3\u53c2\u8003\u5185\u90e8\u3001\u6392\u9664\u540c\u4f9b\u8005\u540e\u7b2c\u4e5d\u8fd1\u90bb\u8ddd\u79bb\u7684\u767e\u5206\u4e4b\u4e5d\u5341\u516b\u5206\u4f4d\u6570\u4f5c\u4e3a\u8ddd\u79bb\u53c2\u8003\u3002\u8fd9\u662f\u53ef\u4ee5\u4fee\u6539\u7684\u6559\u5b66\u89c4\u5219\uff0c\u5e76\u975e\u75be\u75c5\u6216\u7ec4\u7ec7\u7684\u901a\u7528\u9608\u503c\u3002\u4e0b\u9762\u4e24\u4e2a\u51fd\u6570\u90fd\u80fd\u5728\u4e0b\u8f7d\u5305\u4e2d\u627e\u5230\uff0c\u4ea6\u53ef\u4ece\u6761\u7801\u8868\u72ec\u7acb\u6838\u5bf9\u4e00\u9897\u7ec6\u80de\u7684\u6295\u7968\u4e0e\u8ddd\u79bb\u3002<\/p>\n<pre style=\"max-width:100%;overflow:auto;padding:14px;box-sizing:border-box;background:#f1f6fa;line-height:1.6;font-size:0.9em\"><code class=\"language-python\">def cross_donor_radius(ref_scores, ref_donors, k, quantile):\n    distances=cdist(ref_scores,ref_scores)\n    distances[ref_donors[:,None]==ref_donors[None,:]]=np.inf\n    kth=np.partition(distances,k-1,axis=1)[:,k-1]\n    if not np.isfinite(kth).all():\n        raise ValueError(&quot;Not enough reference neighbors from different donors.&quot;)\n    return float(np.quantile(kth,quantile))\n<\/code><\/pre>\n<pre style=\"max-width:100%;overflow:auto;padding:14px;box-sizing:border-box;background:#f1f6fa;line-height:1.6;font-size:0.9em\"><code class=\"language-python\">def predict(query, reference, ref_labels, k, vote_min, radius):\n    distances=cdist(query,reference)\n    indices=np.argsort(distances,axis=1,kind=&quot;stable&quot;)[:,:k]\n    results=[]\n    for i,neighbor_ids in enumerate(indices):\n        nearest_labels=ref_labels[neighbor_ids]\n        votes=Counter(nearest_labels)\n        ranked=sorted(votes.items(),key=lambda item:(-item[1],item[0]))\n        label,count=ranked[0]\n        fraction=count\/k\n        distance=float(distances[i,neighbor_ids[-1]])\n        flags=[]\n        if fraction&lt;vote_min:flags.append(&quot;mixed_vote&quot;)\n        if distance&gt;radius:flags.append(&quot;far&quot;)\n        results.append((label,fraction,distance,&quot;|&quot;.join(flags) or &quot;pass&quot;,label if not flags else &quot;unassigned&quot;))\n    return results,indices\n<\/code><\/pre>\n<h2>\u7528\u4e00\u4efd\u6df7\u6dc6\u8868\u770b\u51fa\u603b\u4f53\u6b63\u786e\u7387\u906e\u4f4f\u7684\u95ee\u9898<\/h2>\n<p>\u6253\u5f00 validation_confusion.tsv\u3002\u884c\u662f\u7b2c\u56db\u4f4d\u4f9b\u8005\u7684\u5df2\u77e5\u72b6\u6001\uff0c\u5217\u662f\u6700\u540e\u63a5\u53d7\u7684\u6807\u7b7e\u6216\u672a\u5206\u914d\u3002\u4e8c\u5341\u4e2a\u771f\u5b9e B \u90fd\u8fdb\u5165 B\uff0c\u4e8c\u5341\u4e2a\u9ad3\u7cfb\u4e5f\u5168\u90e8\u6b63\u786e\u3002\u4e8c\u5341\u4e2a\u771f\u5b9e T \u4e2d\u5341\u4e03\u4e2a\u8fdb\u5165 T\uff0c\u53e6\u5916\u4e09\u4e2a\u88ab\u63a5\u53d7\u4e3a B\u3002\u8fd8\u6709\u516d\u4e2a\u7279\u610f\u8bbe\u8ba1\u6210\u53c2\u8003\u672a\u6536\u5f55\u72b6\u6001\u7684\u7ec6\u80de\uff0c\u5176\u4e2d\u4e94\u9897\u6807\u4e3a\u672a\u5206\u914d\uff0c\u4e00\u9897\u9519\u8bef\u63a5\u6536\u4e3a T\u3002\u82e5\u5148\u5220\u6389\u6240\u6709\u672a\u5206\u914d\u518d\u7b97\u51c6\u786e\u7387\uff0c\u5f97\u5230\u7684\u662f\u201c\u88ab\u6a21\u578b\u63a5\u6536\u8005\u4e2d\u6709\u591a\u5c11\u6b63\u786e\u201d\uff1b\u5982\u679c\u5e0c\u671b\u8bc4\u4f30\u80fd\u7ed9\u6574\u4f4d\u60a3\u8005\u591a\u5c11\u6709\u6548\u7b54\u6848\uff0c\u9700\u628a\u62d2\u5224\u7684\u603b\u6570\u548c\u5404\u7c7b\u7684\u8986\u76d6\u4e00\u540c\u62a5\u544a\u3002<\/p>\n<div style=\"overflow:auto\">\n<table style=\"width:100%;border-collapse:collapse\">\n<thead>\n<tr>\n<th style=\"padding:9px;text-align:left;background:#dcefff\">\u76f2\u6d4b\u771f\u503c<\/th>\n<th style=\"padding:9px;text-align:left;background:#dcefff\">\u7ec6\u80de\u6570<\/th>\n<th style=\"padding:9px;text-align:left;background:#dcefff\">\u83b7\u5f97\u53c2\u8003\u6807\u7b7e<\/th>\n<th style=\"padding:9px;text-align:left;background:#dcefff\">\u5176\u4e2d\u4e3b\u8981\u9519\u8bef<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">B<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">20<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">20<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">0<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">T<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">20<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">20<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u6709 3 \u9897\u9519\u5224\u6210 B<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u9ad3\u7cfb<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">20<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">20<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">0<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u53c2\u8003\u4e2d\u672a\u6536\u5f55\u7684\u72b6\u6001<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">6<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">1<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u8fd9 1 \u9897\u88ab\u63a5\u6536\u4e3a T\uff0c\u53e6 5 \u9897\u62d2\u5224<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u518d\u5230 assignments.tsv \u67e5 P4_C001\u3002\u8be5\u6761\u7801\u7684\u4e5d\u4e2a\u90bb\u5c45\u5168\u6295 B\uff0c\u8ddd\u79bb\u7ea6\u4e09\u70b9\u4e03\u4e03\uff0c\u4f4e\u4e8e\u793a\u4f8b\u4e2d\u7684\u53c2\u8003\u9608\u503c\u7ea6\u516d\u70b9\u56db\u516b\uff0c\u56e0\u6b64\u88ab\u63a5\u53d7\u4e3a B\uff0c\u4f46\u5b83\u7684\u9884\u8bbe\u771f\u503c\u662f T\u3002\u7d27\u968f\u5176\u540e\u7684\u4e24\u4e2a\u6761\u7801\u4e5f\u662f\u4e5d\u7968\u4e00\u81f4\u5374\u5206\u9519\u3002\u4f8b\u5b50\u523b\u610f\u4e3a\u8fd9\u4e09\u9897\u7ec6\u80de\u8d4b\u4e88\u63a5\u8fd1 B \u8868\u578b\u7684\u6d4b\u91cf\u503c\uff0c\u5c55\u793a\u201c\u53c2\u8003\u90bb\u5c45\u5f88\u4e00\u81f4\u201d\u4e0e\u201c\u771f\u5b9e\u8eab\u4efd\u6b63\u786e\u201d\u7684\u8ddd\u79bb\u3002\u771f\u5b9e\u9879\u76ee\u5e94\u5bf9\u6b64\u7c7b\u6761\u7801\u56de\u67e5\u591a\u4e2a\u8c31\u7cfb\u6807\u8bb0\u3001\u6d4b\u5e8f\u6df1\u5ea6\u3001\u53cc\u7ec6\u80de\u548c\u53c2\u8003\u6ce8\u91ca\u672c\u8eab\uff0c\u800c\u4e0d\u662f\u56e0\u5f97\u7968\u7387\u8fbe\u5230\u767e\u5206\u4e4b\u767e\u5c31\u5c06\u5176\u5199\u6210\u786e\u5b9a\u65e0\u7591\u3002\u7968\u6570\u8fd8\u662f\u79bb\u6563\u7684\uff0c\u4e5d\u7968\u4e2d\u4e00\u7968\u5c31\u8d85\u8fc7\u5341\u4e2a\u767e\u5206\u70b9\uff0c\u4e0d\u80fd\u5f53\u6210\u5df2\u7ecf\u6821\u51c6\u7684\u4e8b\u4ef6\u6982\u7387\u3002<\/p>\n<h2>\u6ca1\u89c1\u8fc7\u7684\u72b6\u6001\u6295\u8fdb\u6765\uff0c\u4e3a\u4ec0\u4e48\u4ecd\u7136\u4f1a\u6709\u540d\u5b57<\/h2>\n<p>\u8fd1\u90bb\u603b\u80fd\u5728\u6709\u9650\u7684\u53c2\u8003\u6807\u7b7e\u91cc\u627e\u5230\u6700\u63a5\u8fd1\u7684\u70b9\u3002\u5982\u679c\u53c2\u8003\u7f3a\u5c11\u81ea\u7136\u6740\u4f24\u7ec6\u80de\u3001\u6025\u6027\u5e94\u7b54\u72b6\u6001\u6216\u8be5\u7ec4\u7ec7\u7279\u6709\u8c31\u7cfb\uff0c\u90a3\u4e48\u6295\u7968\u7b2c\u4e00\u540d\u4e5f\u53ea\u80fd\u6765\u81ea\u73b0\u6709\u6807\u7b7e\u3002\u793a\u4f8b\u8ba9\u516d\u9897\u672a\u6536\u5f55\u72b6\u6001\u4e0e\u53c2\u8003\u6807\u8bb0\u7684\u7ec4\u5408\u5206\u5f00\uff0c\u5176\u4e2d\u4ecd\u6709\u4e00\u9897\u8de8\u8fc7\u4e86\u63a5\u6536\u95e8\u69db\uff0c\u8bf4\u660e\u53ea\u9760\u8ddd\u79bb\u548c\u6295\u7968\u4e0d\u80fd\u5b8c\u5168\u8bc6\u522b\u56fe\u8c31\u5916\u60c5\u51b5\u3002\u4fdd\u7559 top_label \u4f5c\u4e3a\u5019\u9009\uff0c\u5e76\u5c06\u5b9e\u9645\u63a5\u53d7\u7684 assigned \u4e0e review_reason \u5355\u72ec\u8f93\u51fa\uff0c\u540e\u7eed\u5c31\u80fd\u627e\u51fa\u201c\u6709\u4e00\u4e2a\u6700\u8fd1\u7c7b\u522b\uff0c\u4f46\u4ecd\u9700\u6838\u5b9e\u201d\u7684\u7ec6\u80de\u3002\u82e5\u5206\u5c42\u53c2\u8003\u7ed9\u51fa\u5927\u7c7b\u53ef\u9760\u3001\u7ec6\u5c0f\u4e9a\u7fa4\u4e0d\u7a33\uff0c\u53ef\u4ee5\u53d1\u5e03\u8f83\u7c97\u6807\u7b7e\uff0c\u5e76\u628a\u7ec6\u4e9a\u7fa4\u4fdd\u7559\u4e3a\u5019\u9009\u3002<\/p>\n<p>\u63a5\u7740\u6bd4\u8f83\u56fe\u680f\u7684\u4e24\u5e45\u6563\u70b9\u3002\u4e24\u8fb9\u7070\u8272\u5e95\u56fe\u662f\u76f8\u540c\u7684\u65e7\u53c2\u8003\uff0c\u5de6\u8fb9\u53e0\u52a0\u7559\u51fa\u7684\u5df2\u77e5\u4f9b\u8005\uff0c\u53f3\u8fb9\u53e0\u52a0\u771f\u6b63\u672a\u77e5\u7684\u90a3\u4f4d\u3002\u663e\u793a\u8f93\u5165\u6761\u7801\u7684\u6295\u5f71\u5206\u5e03\u662f\u6709\u7528\u7684\u8d28\u91cf\u68c0\u67e5\uff0c\u4f46\u5982\u679c\u4e00\u4e2a\u65b0\u6761\u7801\u6b63\u843d\u5728\u65e7 T \u7fa4\u7684\u4e2d\u5fc3\uff0c\u4ecd\u5e94\u6838\u5bf9\u5b83\u7684\u6295\u7968\u548c\u539f\u59cb\u6807\u8bb0\u3002\u8d44\u6599\u5305\u4e2d\u53ef\u5c06 reference_coordinates.tsv \u4e0e query_coordinates.tsv \u81ea\u884c\u53e0\u56fe\uff0c\u4e24\u8868\u7528\u5404\u81ea\u6761\u7801\u547d\u540d\uff0c\u6ca1\u6709\u628a\u65b0\u60a3\u8005\u7684\u8f93\u5165\u6084\u6084\u5199\u56de\u539f\u53c2\u8003\u6807\u7b7e\u3002\u82e5\u56e2\u961f\u539f\u672c\u4f7f\u7528 Seurat \u7684\u53c2\u8003\u6295\u5f71\uff0c\u53ef\u6309\u5df2\u6709\u8bad\u7ec3\u7ba1\u7ebf\u8c03\u7528\u76f8\u5e94\u7684\u6620\u5c04\u548c\u6807\u7b7e\u8f6c\u79fb\u5de5\u5177\uff0c\u518d\u91cd\u590d\u76f8\u540c\u7684\u6574\u4f4d\u7559\u51fa\u6838\u9a8c\u3002<a href=\"https:\/\/satijalab.org\/seurat\/articles\/integration_mapping.html\">Seurat \u53c2\u8003\u6620\u5c04\u5b9e\u4f8b<\/a><\/p>\n<h2>\u6362\u6210\u81ea\u5df1\u7684\u60a3\u8005\uff0c\u5148\u5199\u9a8c\u6536\u518d\u6253\u5f00\u65b0\u6837\u672c<\/h2>\n<p>\u5148\u6311\u4e00\u4e2a\u4e0e\u5b9e\u9645\u65b0\u6837\u672c\u6280\u672f\u548c\u7ec4\u7ec7\u6765\u6e90\u76f8\u8fd1\u7684\u5df2\u6ce8\u91ca\u60a3\u8005\uff0c\u7528\u5176\u4f59\u4eba\u62df\u5408\u53c2\u8003\u3002\u91cd\u590d\u7559\u51fa\u4e0d\u540c\u60a3\u8005\uff0c\u4f1a\u6bd4\u53ea\u7559\u51fa\u4e00\u4f4d\u66f4\u5bb9\u6613\u53d1\u73b0\u67d0\u4e2a\u6279\u6b21\u6216\u7279\u5b9a\u7ec6\u80de\u7c7b\u522b\u957f\u671f\u4e0d\u9002\u914d\u3002\u68c0\u67e5\u6bcf\u4e00\u7c7b\u7684\u603b\u6570\u3001\u88ab\u63a5\u53d7\u6570\u3001\u6b63\u786e\u6570\u548c\u9519\u8bef\u53bb\u5411\u3002\u5c0f\u7c7b\u53ea\u6709\u4e24\u9897\u65f6\uff0c\u4e00\u6b21\u9519\u5206\u5c31\u6539\u53d8\u4e00\u534a\u6bd4\u4f8b\uff0c\u9700\u8981\u628a\u5206\u5b50\u5206\u6bcd\u4e00\u5e76\u5199\u8fdb\u8868\u683c\u3002\u5bf9\u4e8e\u4e34\u5e8a\u6216\u5b9e\u9a8c\u4e0a\u7279\u522b\u91cd\u8981\u7684\u6807\u7b7e\uff0c\u53ef\u4ee5\u9884\u5148\u5199\u597d\u6700\u4f4e\u8986\u76d6\u548c\u5141\u8bb8\u8bef\u5dee\uff0c\u6216\u7ea6\u5b9a\u54ea\u4e9b\u51b2\u7a81\u5fc5\u987b\u53e6\u5916\u68c0\u67e5\uff0c\u4e0d\u8981\u770b\u5230\u771f\u6b63\u65b0\u60a3\u8005\u7684\u7406\u60f3\u7ed3\u679c\u540e\u624d\u53cd\u63a8\u9608\u503c\u3002<\/p>\n<p>\u6700\u540e\u53ef\u628a settings.json \u7684\u8ddd\u79bb\u5206\u4f4d\u6570\u6539\u5c0f\uff0c\u5199\u5230\u65b0\u76ee\u5f55\u91cd\u8dd1\uff0c\u67e5\u770b\u90a3\u4e94\u9897\u672a\u5206\u914d\u3001\u4e09\u4e2a\u9ad8\u7968\u9519\u5206\u548c\u539f\u672c\u6b63\u786e\u7684\u7ec6\u80de\u5206\u522b\u53d1\u751f\u4e86\u4ec0\u4e48\u3002\u4e25\u683c\u95e8\u69db\u901a\u5e38\u4f1a\u8ba9\u66f4\u591a\u6761\u7801\u9700\u8981\u590d\u67e5\uff0c\u672a\u5fc5\u80fd\u6392\u9664\u4ecd\u5f88\u9760\u8fd1\u8bad\u7ec3 B \u7ec6\u80de\u7684\u9ad8\u7968\u9519\u5206\u3002\u7b2c\u4e94\u4f4d\u60a3\u8005\u53ea\u6709\u9884\u6d4b\u548c\u5ba1\u67e5\u6807\u8bb0\uff0c\u4e0d\u53ef\u80fd\u4ec5\u51ed\u7a0b\u5e8f\u7ed9\u51fa\u201c\u51c6\u786e\u7387\u767e\u5206\u4e4b\u591a\u5c11\u201d\u3002\u4ea4\u4ed8\u65f6\u5e76\u5217\u4fdd\u5b58\u53c2\u8003\u7248\u672c\u3001\u6295\u5f71\u5750\u6807\u3001\u76f2\u6d4b\u6df7\u6dc6\u8868\u53ca\u65b0\u6837\u672c\u5019\u9009\uff0c\u540e\u7eed\u65b0\u60a3\u8005\u624d\u53ef\u4ee5\u6cbf\u7528\u540c\u4e00\u53e3\u5f84\u3002\u82e5\u5b9e\u9a8c\u5ba4\u8fde\u7eed\u6309\u540c\u4e00\u53c2\u8003\u5904\u7406\u591a\u6279\u67e5\u8be2\uff0c\u53ef\u4ee5\u6839\u636e\u9996\u6279\u5b9e\u6d4b\u7684\u6a21\u578b\u5185\u5b58\u4e0e\u6295\u5f71\u8017\u65f6\u5b89\u6392<a href=\"https:\/\/www.biocloudservice.com\/wordpress\/compute-services\/\">\u4e91\u751f\u4fe1\u79d1\u7814\u670d\u52a1\u5668\u79df\u8d41<\/a>\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e09\u4f4d\u53c2\u8003\u4f9b\u8005\u4e0a\u56fa\u5b9a PCA\u3001UMAP \u548c\u6807\u7b7e\uff0c\u518d\u5c06\u7b2c\u56db\u4f4d\u5df2\u77e5\u6807\u7b7e\u4f9b\u8005\u4f5c\u4e3a\u76f2\u6d4b\u96c6\uff0c\u6838\u5bf9\u9519\u5206\u3001\u62d2\u5224\u548c\u53c2\u8003\u56fe\u8c31\u5916\u7684\u72b6\u6001\uff0c\u6700\u540e\u6620\u5c04\u7b2c\u4e94\u4f4d\u3002<\/p>\n","protected":false},"author":1,"featured_media":71710,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[71],"tags":[],"class_list":["post-71713","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-single-cell"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-036-heldout-donor-reference-mapping.png?fit=1240%2C800&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/comments?post=71713"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71713\/revisions"}],"predecessor-version":[{"id":73677,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71713\/revisions\/73677"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/71710"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=71713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=71713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=71713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}