{"id":68830,"date":"2026-11-14T21:03:27","date_gmt":"2026-11-14T13:03:27","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=68830"},"modified":"2026-11-14T21:03:27","modified_gmt":"2026-11-14T13:03:27","slug":"xenium-ranger-segmentation-transcript-assignment-audit","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/xenium-ranger-segmentation-transcript-assignment-audit\/","title":{"rendered":"Xenium \u6362\u4e86\u7ec6\u80de\u5206\u5272\u540e\uff0c\u4e00\u4e2a\u57fa\u56e0\u4e3a\u4ec0\u4e48\u4ece\u4e0a\u76ae\u8dd1\u5230\u4e86\u514d\u75ab\u7ec6\u80de\uff1f"},"content":{"rendered":"<div class=\"ysx-method-guide\" style=\"max-width:820px;min-width:0;margin:0 auto;color:#26374a;line-height:1.86;overflow-wrap:anywhere\">\n<p>\u5bf9\u540c\u4e00\u5757\u7ec4\u7ec7\u91cd\u590d\u4f7f\u7528\u4e24\u5957\u7ec6\u80de\u8fb9\u754c\uff0c\u57fa\u56e0\u7532\u5728\u514d\u75ab\u7ec6\u80de\u4e2d\u7a81\u7136\u53d8\u591a\u4e86\u3002\u6b64\u65f6\u6709\u4e00\u4e2a\u6bd4\u91cd\u65b0\u805a\u7c7b\u66f4\u5feb\u7684\u529e\u6cd5\uff0c\u6311\u51fa\u4f4d\u7f6e\u6ca1\u53d8\u7684\u90a3\u51e0\u4e2a\u8f6c\u5f55\u672c\uff0c\u770b\u5b83\u4eec\u5728\u4e24\u5957\u8fb9\u754c\u4e0b\u5206\u522b\u5f52\u7ed9\u8c01\u3002Xenium Ranger \u53ef\u4ee5\u5728\u540c\u4e00\u5b9e\u9a8c\u7ed3\u679c\u4e0a\u5bfc\u5165\u7ec6\u80de\u6216\u7ec6\u80de\u6838\u5206\u5272\u5e76\u91cd\u65b0\u6c47\u603b\u3002\u5206\u5b50\u4f4d\u7f6e\u3001\u5206\u5272\u8fb9\u754c\u548c\u7ec6\u80de\u7c7b\u578b\u6807\u7b7e\u5206\u522b\u6765\u81ea\u4e0d\u540c\u6b65\u9aa4\uff0c\u5148\u5f04\u6e05\u6539\u4e86\u54ea\u4e00\u5c42\uff0c\u624d\u8c08\u5f97\u4e0a\u8fd9\u4e2a\u57fa\u56e0\u662f\u5426\u771f\u6709\u8de8\u8c31\u7cfb\u8868\u8fbe\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u5148\u56fa\u5b9a\u5206\u5b50\u6e05\u5355\uff0c\u518d\u8bf4\u660e\u6362\u7684\u662f\u54ea\u79cd\u8fb9\u754c<\/h2>\n<p>\u4fdd\u7559\u539f\u59cb\u5206\u6790\u5305\u3001\u56fe\u50cf\u5750\u6807\u6846\u67b6\u548c\u672c\u6b21\u8981\u4f7f\u7528\u7684\u5206\u5b50\u96c6\u5408\u3002\u6bd4\u8f83\u65f6\u8981\u8ba9\u4e24\u7248\u4f7f\u7528\u76f8\u540c\u7684\u57fa\u56e0\u9762\u677f\u3001\u8d28\u91cf\u9608\u503c\u548c\u8f6c\u5f55\u672c\u6807\u8bc6\u3002\u5b98\u65b9\u7b97\u6cd5\u8bf4\u660e\u4e2d\uff0c\u6784\u5efa\u7ec6\u80de\u7279\u5f81\u77e9\u9635\u65f6\u91c7\u7528\u8d28\u91cf\u503c\u8fbe\u5230\u4e8c\u5341\u7684\u8f6c\u5f55\u672c\u3002\u5728\u6f14\u793a\u5355\u4e2a\u57fa\u56e0\u7684\u6539\u53d8\u65f6\uff0c\u8fd8\u5e94\u5355\u72ec\u8bc6\u522b\u9634\u6027\u5bf9\u7167\u63a2\u9488\u6216\u5176\u4ed6\u63a7\u5236\u7279\u5f81\u3002\u82e5\u4e00\u7248\u7528\u5168\u90e8\u68c0\u6d4b\u70b9\u3001\u53e6\u4e00\u7248\u53ea\u753b\u901a\u8fc7\u9608\u503c\u7684\u5206\u5b50\uff0c\u5c31\u540c\u65f6\u6539\u53d8\u4e86\u5206\u5b50\u6e05\u5355\u548c\u8fb9\u754c\uff0c\u540e\u7eed\u5dee\u503c\u65e0\u6cd5\u53ea\u5f52\u56e0\u4e8e\u5206\u5272\u3002<a style=\"color:#815538;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/www.10xgenomics.com\/support\/software\/xenium-ranger\/latest\/algorithms-overview\/XR-algorithms-doc\">Xenium Ranger \u7b97\u6cd5\u4e0e\u5206\u5b50\u8ba1\u6570\u8bf4\u660e<\/a><\/p>\n<p>\u5f04\u6e05\u8f93\u5165\u6765\u81ea\u6838\u3001\u6574\u7ec6\u80de\u63a9\u819c\u3001\u7ec6\u80de\u591a\u8fb9\u5f62\uff0c\u8fd8\u662f\u5df2\u6709\u7684\u9010\u5206\u5b50\u5f52\u5c5e\u8868\u3002\u53ea\u63d0\u4f9b\u6838\u65f6\uff0c\u540e\u7eed\u7ec6\u80de\u8fb9\u754c\u53ef\u4ee5\u7531\u6838\u5411\u5916\u6269\u5c55\u5f97\u5230\uff0c\u63d0\u4f9b\u6574\u7ec6\u80de\u7ed3\u679c\u5219\u662f\u5728\u8ba8\u8bba\u53e6\u4e00\u79cd\u8fb9\u754c\u5b9a\u4e49\u3002\u5bfc\u5165\u5df2\u6709\u9010\u5206\u5b50\u5f52\u5c5e\u65f6\uff0c\u8fd8\u8981\u786e\u8ba4\u8f6c\u5f55\u672c\u6807\u8bc6\u4e0e\u539f\u5b9e\u9a8c\u51c6\u786e\u5bf9\u5e94\u3002\u4e09\u79cd\u8def\u7ebf\u90fd\u80fd\u5f97\u5230\u4e00\u4e2a\u6309\u7ec6\u80de\u6c47\u603b\u7684\u8868\uff0c\u5dee\u522b\u5728\u4e8e\u201c\u8fd9\u679a\u5206\u5b50\u4e3a\u4ec0\u4e48\u7b97\u8fdb\u6765\u201d\u7684\u8bc1\u636e\u6765\u6e90\u3002\u5c06\u8f93\u5165\u7c7b\u578b\u548c\u8fd0\u884c\u53c2\u6570\u5199\u8fdb\u56fe\u6ce8\uff0c\u6bd4\u7b3c\u7edf\u8bf4\u6362\u4e86\u65b0\u7248\u5206\u5272\u66f4\u6709\u610f\u4e49\u3002<a style=\"color:#815538;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/www.10xgenomics.com\/support\/software\/xenium-ranger\/latest\/analysis\/XR-import-segmentation\">\u5bfc\u5165\u6838\u3001\u7ec6\u80de\u8fb9\u754c\u6216\u8f6c\u5f55\u672c\u5206\u914d\u7684\u5b98\u65b9\u6d41\u7a0b<\/a><\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u505a\u4e00\u5f20\u5206\u5b50\u53bb\u5411\u8868\uff0c\u4e0d\u53ea\u6bd4\u8f83\u4e24\u4e2a\u603b\u6570<\/h2>\n<p>\u5047\u5b9a\u67d0\u89c6\u91ce\u91cc\u57fa\u56e0\u7532\u6070\u6709\u4e00\u767e\u679a\u7b26\u5408\u7b5b\u9009\u6761\u4ef6\u7684\u5206\u5b50\uff0c\u4e14\u5df2\u7ecf\u901a\u8fc7\u7ec4\u7ec7\u548c\u6838\u4f4d\u7f6e\u8ffd\u8e2a\u5230\u4e86\u540c\u4e00\u5bf9\u76f8\u90bb\u7ec6\u80de\u3002\u65e7\u8fb9\u754c\u7ed9\u4e0a\u76ae\u7ec6\u80de\u516d\u5341\u679a\u3001\u514d\u75ab\u7ec6\u80de\u4e8c\u5341\u679a\uff0c\u53e6\u6709\u4e8c\u5341\u679a\u672a\u5206\u914d\u3002\u65b0\u8fb9\u754c\u8ba9\u4e0a\u76ae\u7684\u516b\u679a\u5212\u5165\u514d\u75ab\u7ec6\u80de\uff0c\u8ba9\u539f\u6765\u672a\u5206\u914d\u7684\u56db\u679a\u5212\u5165\u4e0a\u76ae\uff0c\u5176\u4f59\u5206\u5b50\u4e0d\u52a8\u3002\u7ed3\u679c\u4e0a\u76ae\u5f97\u5230\u4e94\u5341\u516d\u679a\uff0c\u514d\u75ab\u5f97\u5230\u4e8c\u5341\u516b\u679a\uff0c\u672a\u5206\u914d\u5341\u516d\u679a\u3002\u4e0a\u76ae\u8868\u9762\u4e0a\u53ea\u51cf\u5c11\u56db\u679a\uff0c\u5b9e\u9645\u79bb\u5f00\u5b83\u7684\u5374\u6709\u516b\u679a\u3002<\/p>\n<div class=\"guide-table\" style=\"max-width:100%;overflow-x:auto;margin:18px 0\">\n<table style=\"display:table;width:100%;max-width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:.92em;line-height:1.6\">\n<thead>\n<tr>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#fff6e9;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u65e7\u5f52\u5c5e \u2192 \u65b0\u5f52\u5c5e<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#fff6e9;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u4e0a\u76ae<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#fff6e9;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u514d\u75ab<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#fff6e9;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u672a\u5206\u914d<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#fff6e9;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u65e7\u5408\u8ba1<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u4e0a\u76ae<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">52<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">8<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">60<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u514d\u75ab<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">20<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">20<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u672a\u5206\u914d<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">4<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">16<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">20<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u65b0\u5408\u8ba1<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">56<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">28<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">16<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">100<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<figure class=\"guide-figure\" style=\"margin:24px 0 28px\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/xenium-ranger-segmentation-transcript-assignment-audit-guide.png?resize=1200%2C840&#038;ssl=1\" alt=\"\u5230\u5e95\u6709\u51e0\u679a\u5206\u5b50\u8d8a\u8fc7\u4e86\u8fb9\u754c\u3002\u6559\u5b66\u7b97\u4f8b\uff5c\u76f8\u540c\u7684\u4e00\u767e\u679a\u5206\u5b50\uff0c\u4e24\u7248\u5206\u5272\u7684\u6700\u7ec8\u8ba1\u6570\u4e0d\u540c\u30028 \u679a\uff0c\u4ece\u4e0a\u76ae\u79fb\u5230\u514d\u75ab\u7ec6\u80de\uff0c\u539f\u59cb\u4f4d\u7f6e\u4e0d\u53d8\uff0c\u5f52\u5c5e\u968f\u8fb9\u754c\u6539\u53d8\u30024 \u679a\uff0c\u4ece\u672a\u5206\u914d\u79fb\u5165\u4e0a\u76ae\uff0c\u8fc1\u5165\u3001\u8fc1\u51fa\u62b5\u6d88\u540e\uff0c\u4e0a\u76ae\u51c0\u5c11\u56db\u679a\u300284%\uff0c\u65b0\u65b9\u6848\u7684\u5df2\u5206\u914d\u6bd4\u4f8b\uff0c\u539f\u65b9\u6848\u662f 80%\uff0c\u8fd8\u987b\u67e5\u8de8\u754c\u5206\u914d\u662f\u5426\u5408\u7406\u3002\" width=\"1200\" height=\"840\" style=\"display:block;width:100%;height:auto;border-radius:10px\"><figcaption style=\"font-size:14px;line-height:1.6;margin:9px 2px 0;color:#475569\">\u6559\u5b66\u7b97\u4f8b\uff5c\u76f8\u540c\u7684\u4e00\u767e\u679a\u5206\u5b50\uff0c\u4e24\u7248\u5206\u5272\u7684\u6700\u7ec8\u8ba1\u6570\u4e0d\u540c\u3002<\/figcaption><\/figure>\n<p>\u6cbf\u884c\u8bfb\u662f\u539f\u6765\u8fd9\u7c7b\u5206\u5b50\u7684\u53bb\u5411\uff0c\u6cbf\u5217\u8bfb\u662f\u65b0\u5f52\u5c5e\u7684\u6765\u6e90\u3002\u6559\u5b66\u7b97\u4f8b\u4e2d\u603b\u4f53\u5df2\u5206\u914d\u6bd4\u4f8b\u4ece\u516b\u6210\u5347\u5230\u516b\u6210\u56db\uff0c\u4f46\u8fd9\u53ea\u8bf4\u660e\u66f4\u5c11\u5206\u5b50\u843d\u5728\u6240\u6709\u7ec6\u80de\u4e4b\u5916\uff0c\u4e0d\u80fd\u8bf4\u660e\u90a3\u516b\u4e2a\u65b0\u8fdb\u5165\u514d\u75ab\u7ec6\u80de\u7684\u5206\u5b50\u4e00\u5b9a\u88ab\u5206\u5bf9\u3002\u6269\u5927\u8fb9\u754c\u5c31\u53ef\u4ee5\u8ba9\u5206\u914d\u7387\u4e0a\u5347\uff0c\u540c\u65f6\u4e5f\u6709\u673a\u4f1a\u628a\u6765\u81ea\u9694\u58c1\u7684\u4fe1\u53f7\u5e26\u8fdb\u6765\u3002\u6bd4\u8f83\u65b9\u6848\u65f6\u5e94\u540c\u65f6\u62a5\u544a\u7559\u5728\u539f\u7fa4\u3001\u8de8\u7fa4\u8f6c\u79fb\u548c\u7531\u672a\u5206\u914d\u8f6c\u5165\u7684\u6570\u76ee\u3002\u53ea\u770b\u65b0\u77e9\u9635\u6bcf\u5217\u603b\u91cf\u4f1a\u4e22\u5931\u8fd9\u4e09\u4e2a\u6765\u6e90\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u539f\u6765\u7684\u7ec6\u80de\u7f16\u53f7\u8fd8\u80fd\u4e0d\u80fd\u76f4\u63a5\u7528<\/h2>\n<p>\u91cd\u65b0\u5206\u5272\u53ef\u80fd\u628a\u4e00\u4e2a\u539f\u7ec6\u80de\u62c6\u6210\u591a\u4e2a\u5bf9\u8c61\uff0c\u4e5f\u53ef\u80fd\u628a\u4e24\u4e2a\u76f8\u90bb\u7684\u6838\u5f52\u8fdb\u4e00\u4e2a\u5bf9\u8c61\u3002\u5373\u4f7f\u524d\u540e\u90fd\u6709\u4e00\u4e2a\u53eb\u5341\u4e03\u53f7\u7684\u7ec6\u80de\uff0c\u4e5f\u4e0d\u80fd\u6839\u636e\u7f16\u53f7\u76f8\u540c\u5224\u5b9a\u662f\u540c\u4e00\u5b9e\u4f53\u3002\u5148\u5728\u540c\u4e00\u5750\u6807\u7cfb\u4e2d\u53e0\u52a0\u539f\u59cb\u6838\u56fe\u50cf\u548c\u4e24\u5957\u63a9\u819c\uff0c\u68c0\u67e5\u6838\u4f4d\u7f6e\u3001\u8f6e\u5ed3\u91cd\u53e0\u4ee5\u53ca\u76f8\u90bb\u7ec6\u80de\u5173\u7cfb\u3002\u53ef\u4ee5\u5148\u4ee5\u8f83\u6e05\u695a\u7684\u4e00\u5bf9\u4e00\u5339\u914d\u4f5c\u793a\u8303\uff0c\u5728\u5355\u72ec\u7684\u8868\u4e2d\u5217\u51fa\u4e00\u5bf9\u591a\u3001\u591a\u5bf9\u4e00\u548c\u65e0\u6cd5\u5339\u914d\u7684\u533a\u57df\uff0c\u907f\u514d\u4e3a\u4e86\u753b\u6f02\u4eae\u7684\u4e00\u5bf9\u4e00\u6563\u70b9\u56fe\u800c\u5220\u9664\u6700\u5bb9\u6613\u51fa\u9519\u7684\u5730\u65b9\u3002<\/p>\n<p>\u9010\u5206\u5b50\u8ffd\u8e2a\u65f6\uff0c\u4ee5\u539f\u5b9e\u9a8c\u7684\u5206\u5b50\u6807\u8bc6\u4f5c\u8fde\u63a5\u952e\uff0c\u5e76\u68c0\u67e5\u91cd\u590d\u548c\u7f3a\u5931\u3002\u7528\u5916\u8fde\u63a5\u5148\u770b\u6e05\u4e24\u7248\u5230\u5e95\u7f3a\u4e86\u4ec0\u4e48\uff0c\u518d\u5bf9\u4e24\u4fa7\u90fd\u51fa\u73b0\u7684\u5206\u5b50\u7f16\u53f7\u5efa\u7acb\u53bb\u5411\u8868\u3002\u4e0b\u9762\u5047\u5b9a\u4e24\u5f20\u7ecf\u8d28\u91cf\u7b5b\u9009\u7684\u8868\u90fd\u542b\u5206\u5b50\u6807\u8bc6\u548c\u5df2\u7ecf\u6838\u5b9e\u3001\u53ef\u4ee5\u8de8\u7248\u6bd4\u8f83\u7684\u7ec6\u80de\u7c7b\u522b\uff0c\u5206\u5b50\u672a\u5206\u914d\u65f6\u7c7b\u522b\u4e3a\u7a7a\u3002\u82e5\u67d0\u4e2a\u5206\u5b50\u53ea\u51fa\u73b0\u5728\u4e00\u4efd\u6587\u4ef6\u4e2d\uff0c\u5e94\u53e6\u67e5\u8fc7\u6ee4\u539f\u56e0\uff0c\u4e0d\u80fd\u628a\u5b83\u5f53\u4f5c\u201c\u5206\u5b50\u4ecd\u5728\uff0c\u4f46\u672a\u5206\u914d\u201d\u3002<\/p>\n<pre style=\"max-width:100%;box-sizing:border-box;overflow-x:auto;margin:18px 0;padding:14px 16px;background:#f3f6fa;color:#1a293c;border:1px solid #d8e1ea;border-radius:8px;line-height:1.55;white-space:pre;overflow-wrap:normal;word-break:normal\"><code class=\"language-python\">import pandas as pd\r\n\r\njoint = old.merge(new, on=&quot;transcript_id&quot;, how=&quot;outer&quot;,\r\n                  suffixes=(&quot;_old&quot;, &quot;_new&quot;), indicator=True,\r\n                  validate=&quot;one_to_one&quot;)\r\nprint(joint[&quot;_merge&quot;].value_counts())\r\nboth = joint.loc[joint[&quot;_merge&quot;].eq(&quot;both&quot;)]\r\nprint(pd.crosstab(both[&quot;cell_type_old&quot;].fillna(&quot;unassigned&quot;),\r\n                  both[&quot;cell_type_new&quot;].fillna(&quot;unassigned&quot;)))\r\n<\/code><\/pre>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u5b9e\u8dd1\u7ecf\u9a8c\uff5c\u8ffd\u8e2a\u4e94\u4e07\u6761\u516c\u5f00\u4e73\u817a\u7ec4\u7ec7\u5206\u5b50\u8bb0\u5f55<\/h2>\n<p>\u6211\u4eec\u7528 pandas 3.1.1 \u8bfb\u53d6\u5b98\u65b9\u4eba\u4e73\u817a\u764c\u6837\u672c\u7b2c\u4e00\u4e2a\u6280\u672f\u91cd\u590d\u7684\u8f6c\u5f55\u672c\u6587\u4ef6\uff0c\u56fa\u5b9a\u53d6\u6587\u4ef6\u5f00\u5934\u4e94\u4e07\u6761\u3002\u4e94\u4e07\u6761\u7f16\u53f7\u4e92\u4e0d\u91cd\u590d\uff0c\u901a\u8fc7\u8d28\u91cf\u503c\u4e8c\u5341\u8fd9\u4e00\u95e8\u69db\u7684\u6709 41,025 \u6761\uff0c\u5176\u4e2d\u5341\u4e5d\u6761\u4e3a\u5bf9\u7167\u7279\u5f81\u3002\u5176\u4f59 41,006 \u6761\u8fdb\u5165\u6bd4\u8f83\u3002\u8fd9\u4e2a\u65e9\u671f\u6587\u4ef6\u7528\u8d1f\u4e00\u8868\u793a\u672a\u5206\u914d\uff0c\u5982\u679c\u53ea\u627e\u7a7a\u503c\uff0c\u4f1a\u628a\u539f\u672c\u6ca1\u6709\u6240\u5c5e\u7ec6\u80de\u7684\u4e5d\u5341\u56db\u6761\u4e5f\u7b97\u6210\u5df2\u5206\u914d\u3002\u590d\u7528\u6587\u4e2d\u7684\u8fde\u63a5\u4ee3\u7801\u65f6\uff0c\u8981\u5148\u628a\u5f53\u524d\u7248\u672c\u6587\u4ef6\u4e2d\u7684\u672a\u5206\u914d\u6807\u8bc6\u8f6c\u6210\u7edf\u4e00\u7684\u7a7a\u503c\u3002<a style=\"color:#815538;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/github.com\/10XGenomics\/janesick_nature_comms_2023_companion\">\u8be5\u6837\u672c\u7684\u539f\u7814\u7a76\u6570\u636e\u548c\u6587\u4ef6\u6765\u6e90<\/a> \u00b7 <a style=\"color:#815538;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/cf.10xgenomics.com\/supp\/xenium\/xenium_documentation.html\">\u6240\u7528\u6587\u4ef6\u7684\u5217\u5b9a\u4e49<\/a><\/p>\n<p>\u8fd9\u6b21\u6211\u4eec\u4fdd\u7559\u539f\u6709\u7ec6\u80de\u7f16\u53f7\uff0c\u505a\u4e00\u6b21\u53ef\u91cd\u590d\u7684\u53e3\u5f84\u5bf9\u7167\u3002\u539f\u6765\u5f52\u5c5e\u4e8e\u7ec6\u80de\u7684\u6709 40,912 \u6761\uff0c\u5982\u679c\u8fdb\u4e00\u6b65\u8981\u6c42\u8be5\u8f6c\u5f55\u672c\u5e26\u6709\u843d\u5728\u6838\u5185\u7684\u6807\u8bb0\uff0c\u53ea\u5269 18,853 \u6761\u3002\u4e24\u8005\u76f8\u5dee\u7684 22,059 \u6761\u4ecd\u5728\u539f\u6587\u4ef6\u4e2d\uff0c\u53ea\u662f\u88ab\u8fd9\u6761\u989d\u5916\u7684\u7b5b\u9009\u6761\u4ef6\u6392\u9664\u3002\u5176\u4e2d SCD \u6709 3,528 \u6761\u3002\u8fd9\u91cc\u6bd4\u8f83\u7684\u662f\u540c\u4e00\u7248\u8fb9\u754c\u4e0b\u6574\u7ec6\u80de\u548c\u6838\u5185\u6807\u8bb0\u4e24\u79cd\u53e3\u5f84\uff0c\u6ca1\u6709\u8fd0\u884c\u65b0\u7684\u7ec6\u80de\u5206\u5272\uff0c\u4e5f\u4e0d\u80fd\u628a\u7b5b\u6389\u7684\u8bfb\u6570\u89e3\u91ca\u6210\u539f\u5206\u5272\u9519\u8bef\u3002\u6587\u4ef6\u524d\u4e94\u4e07\u884c\u662f\u53ef\u590d\u53d6\u7684\u4f4d\u7f6e\u7247\u6bb5\uff0c\u4e0d\u80fd\u4ee3\u8868\u6574\u5f20\u5207\u7247\u7684\u5206\u5b50\u6bd4\u4f8b\u3002\u62ff\u5230\u4e24\u7248\u771f\u6b63\u7684\u5206\u5272\u65f6\uff0c\u4e5f\u53ef\u4ee5\u5148\u56fa\u5b9a\u540c\u4e00\u6279\u7f16\u53f7\uff0c\u7528\u540c\u6837\u7684\u5b88\u6052\u5173\u7cfb\u8ffd\u67e5\u5dee\u989d\uff0c\u518d\u51b3\u5b9a\u8981\u82b1\u65f6\u95f4\u67e5\u770b\u54ea\u4e00\u5757\u7ec4\u7ec7\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u5728\u7ec4\u7ec7\u8fb9\u7f18\u548c\u7ec6\u80de\u63a5\u89e6\u5904\u770b\u54ea\u4e9b\u8bc1\u636e<\/h2>\n<p>\u6311\u4e00\u5757\u6838\u8fb9\u754c\u6e05\u695a\u3001\u7ec6\u80de\u6392\u5217\u758f\u677e\u7684\u533a\u57df\uff0c\u518d\u6311\u4e00\u5757\u4e0a\u76ae\u548c\u514d\u75ab\u7ec6\u80de\u7d27\u8d34\u7684\u533a\u57df\u3002\u5206\u522b\u4ee5\u540c\u6837\u5927\u5c0f\u7684\u89c6\u91ce\u3001\u540c\u6837\u8d28\u91cf\u9608\u503c\u753b\u51fa\u57fa\u56e0\u7532\u548c\u51e0\u79cd\u72ec\u7acb\u8c31\u7cfb\u6807\u8bb0\u7684\u5206\u5b50\u70b9\u3002\u82e5\u65b0\u589e\u4fe1\u53f7\u90fd\u6cbf\u7740\u4e24\u7ec6\u80de\u76f8\u63a5\u7684\u4e00\u6761\u7ec6\u8fb9\uff0c\u4e14\u4e3b\u8981\u90bb\u8fd1\u5f3a\u8868\u8fbe\u7684\u4e0a\u76ae\u7ec6\u80de\uff0c\u4f18\u5148\u8003\u8651\u8de8\u754c\u5206\u914d\u3002\u82e5\u591a\u679a\u514d\u75ab\u7ec6\u80de\u5185\u90e8\u3001\u8fdc\u79bb\u53ef\u7591\u63a5\u89e6\u8fb9\u7f18\u4ecd\u53ef\u89c2\u5bdf\u5230\u6210\u7ec4\u4fe1\u53f7\uff0c\u5e76\u80fd\u5728\u5176\u4ed6\u5207\u7247\u590d\u73b0\uff0c\u624d\u66f4\u503c\u5f97\u8fdb\u4e00\u6b65\u6838\u5b9e\u771f\u5b9e\u8868\u8fbe\u3002\u7ec6\u80de\u819c\u67d3\u8272\u3001\u72ec\u7acb\u63a2\u9488\u6216\u86cb\u767d\u68c0\u6d4b\u90fd\u53ef\u4ee5\u63d0\u4f9b\u4e0d\u540c\u5c42\u9762\u7684\u8bc1\u636e\u3002<\/p>\n<p>\u591a\u8fb9\u5f62\u548c\u50cf\u7d20\u63a9\u819c\u4e5f\u6709\u7ec6\u8282\u3002\u5916\u90e8\u56fe\u50cf\u751f\u6210\u7684\u591a\u8fb9\u5f62\u53ef\u80fd\u5305\u542b\u91cd\u53e0\u50cf\u7d20\uff0c\u7b97\u6cd5\u5728\u5bfc\u5165\u65f6\u4f1a\u5bf9\u4e0d\u660e\u786e\u533a\u57df\u8fdb\u884c\u5904\u7406\u3002\u5207\u52ff\u5047\u5b9a\u5728\u7ed8\u56fe\u8f6f\u4ef6\u4e2d\u89c6\u89c9\u4e0a\u201c\u4e24\u4e2a\u8f6e\u5ed3\u51e0\u4e4e\u4e0d\u78b0\u201d\u5c31\u7b49\u4e8e\u6240\u6709\u5206\u5b50\u6709\u552f\u4e00\u5f52\u5c5e\u3002\u5148\u67e5\u7b97\u6cd5\u62a5\u544a\u4e2d\u7684\u91cd\u53e0\u548c\u5f02\u5e38\u5bf9\u8c61\uff0c\u518d\u5728\u6700\u654f\u611f\u7684\u63a5\u89e6\u9762\u6838\u5bf9\u3002\u82e5\u5916\u90e8\u8f6f\u4ef6\u4f7f\u7528\u50cf\u7d20\u5750\u6807\uff0c\u800c\u5206\u5b50\u8868\u4f7f\u7528\u5fae\u7c73\uff0c\u8fd8\u5e94\u786e\u8ba4\u53d8\u6362\u3001\u539f\u70b9\u548c\u65cb\u8f6c\u90fd\u5df2\u6b63\u786e\u5e94\u7528\u3002\u5927\u8303\u56f4\u6574\u4f53\u5e73\u79fb\u65f6\uff0c\u5148\u4fee\u51e0\u4f55\u914d\u51c6\uff0c\u5c40\u90e8\u8c03\u6574\u7ec6\u80de\u6269\u5f20\u8ddd\u79bb\u4e0d\u80fd\u7ea0\u6b63\u6574\u5f20\u56fe\u9519\u4f4d\u3002<\/p>\n<p class=\"guide-end\" style=\"margin-top:1.6em;padding-top:1.0em;border-top:1px solid #d7e0e9\">\u6700\u7ec8\u5199\u7ed3\u679c\u53ef\u4ee5\u660e\u786e\u6307\u51fa\uff0c\u5728\u56fa\u5b9a\u5206\u5b50\u96c6\u5408\u4e0a\uff0c\u6709\u591a\u5c11\u53d8\u5316\u6765\u81ea\u5206\u5272\uff0c\u6709\u591a\u5c11\u7ec6\u80de\u5b58\u5728\u5339\u914d\u6b67\u4e49\uff0c\u54ea\u4e9b\u6807\u8bb0\u548c\u72ec\u7acb\u56fe\u50cf\u652f\u6301\u65b0\u7684\u5224\u65ad\u3002\u8fd9\u6837\u7684\u62a5\u544a\u80fd\u8ba9\u5b9e\u9a8c\u4eba\u5458\u76f4\u63a5\u9009\u51fa\u590d\u6838\u7684\u7ec6\u80de\u548c\u89c6\u91ce\u3002\u591a\u5207\u7247\u9700\u8981\u4fdd\u7559\u5206\u5b50\u7ea7\u539f\u59cb\u6570\u636e\u548c\u591a\u5957\u5206\u5272\u7ed3\u679c\u4f9b\u56e2\u961f\u5bf9\u7167\u65f6\uff0c\u53ef\u4e86\u89e3<a data-ysx-event=\"contact_click\" style=\"color:#815538;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/compute-services\/shared-research-workspace\/\">\u4e91\u751f\u4fe1\u7684\u751f\u7269\u4fe1\u606f\u5206\u6790\u670d\u52a1\u5668<\/a>\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u4e00\u767e\u5206\u5b50\u7684\u53bb\u5411\u8868\u89e3\u91ca\u51c0\u5dee\uff0c\u5904\u7406\u91cd\u5206\u5272\u540e\u7ec6\u80de\u7f16\u53f7\u53d8\u5316\u548c\u76f8\u90bb\u8c31\u7cfb\u7684\u8de8\u754c\u4fe1\u53f7\u3002<\/p>\n","protected":false},"author":1,"featured_media":68829,"comment_status":"closed","ping_status":"closed","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":[49,72],"tags":[419,379,420],"class_list":["post-68830","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-transcriptomics","tag-xenium-ranger","tag-379","tag-420"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/xenium-ranger-segmentation-transcript-assignment-audit-guide.png?fit=1200%2C840&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/68830","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=68830"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/68830\/revisions"}],"predecessor-version":[{"id":68833,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/68830\/revisions\/68833"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/68829"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=68830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=68830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=68830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}