{"id":78824,"date":"2026-11-28T04:08:18","date_gmt":"2026-11-27T20:08:18","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=78824"},"modified":"2026-11-28T04:08:18","modified_gmt":"2026-11-27T20:08:18","slug":"bioagent-analysis20-b15-20261127","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/bioagent-analysis20-b15-20261127\/","title":{"rendered":"\u968f\u673a\u9a8c\u8bc10.55\uff0c\u7a7a\u95f4\u9a8c\u8bc10.39\uff1aAgent\u5b9e\u8dd17246\u4e2a\u7a7a\u95f4\u4f4d\u70b9"},"content":{"rendered":"<style>.bioagent-analysis-post{font-size:17px;line-height:1.9;color:#24344b;overflow-wrap:anywhere}.bioagent-analysis-post h2{margin:2em 0 .65em;color:#1757a8;font-size:1.45em}.bioagent-analysis-post h3{margin:1.5em 0 .5em;font-size:1.16em}.bioagent-analysis-post p{margin:.85em 0}.bioagent-analysis-post figure{margin:1.5em 0;padding:12px;border:1px solid #dce8f5;border-radius:12px;background:#fff}.bioagent-analysis-post figure img{display:block;max-width:100%;height:auto;margin:auto}.bioagent-analysis-post figcaption{font-size:14px;line-height:1.65;color:#526579;margin-top:10px}.bioagent-analysis-post pre{overflow-x:auto;max-width:100%;padding:16px;background:#f2f6fb;border:1px solid #dde6f1;border-radius:10px;white-space:pre}.bioagent-analysis-post code{font-size:.87em}.bioagent-analysis-post .table-scroll{overflow-x:auto;max-width:100%;margin:1.2em 0}.bioagent-analysis-post table{border-collapse:collapse;width:100%;font-size:.91em}.bioagent-analysis-post th,.bioagent-analysis-post td{border:1px solid #dce5f0;padding:9px 11px;text-align:left;vertical-align:top}.bioagent-analysis-post th{background:#edf4ff}.bioagent-analysis-post blockquote{border-left:4px solid #72a7ef;margin:1em 0;padding:4px 16px;background:#f5f9ff}.bioagent-analysis-post .reader-download{padding:20px;background:#eef6ff;border:1px solid #cbdff8;border-radius:12px;margin:2em 0}.bioagent-analysis-post .agent-next{padding:18px;border-top:1px solid #dbe7f3;margin-top:2em}@media(max-width:600px){.bioagent-analysis-post{font-size:16px}.bioagent-analysis-post figure{padding:5px;margin:1.2em 0}.bioagent-analysis-post th,.bioagent-analysis-post td{padding:7px}.bioagent-analysis-post h2{font-size:1.3em}}<\/style>\n<div class=\"bioagent-analysis-post\">\n<p>\u7a7a\u95f4\u8f6c\u5f55\u7ec4\u91cc\uff0c\u8bad\u7ec3\u96c6\u548c\u6d4b\u8bd5\u96c6\u90fd\u968f\u673a\u62bd spot\uff0c\u6a21\u578b\u5f80\u5f80\u8868\u73b0\u4e0d\u9519\u3002\u4f46\u5b83\u80fd\u56de\u7b54\u7684\u662f\u201c\u540c\u4e00\u5f20\u5207\u7247\u91cc\uff0c\u518d\u9047\u5230\u4e00\u4e2a\u76f8\u4f3c\u4f4d\u7f6e\u4f1a\u600e\u6837\u201d\u3002\u5982\u679c\u8981\u9884\u6d4b\u4e00\u6574\u5757\u6ca1\u89c1\u8fc7\u7684\u533a\u57df\uff0c\u6216\u8005\u53e6\u4e00\u5f20\u5207\u7247\uff0c\u9a8c\u8bc1\u65b9\u5f0f\u5c31\u8981\u8ddf\u7740\u95ee\u9898\u53d8\u5316\u3002<\/p>\n<p>\u6211\u4eec\u8ba9\u4e91\u751f\u4fe1 BioAgent \u5bf9\u540c\u4e00\u4e2a\u56fa\u5b9a\u5206\u7c7b\u5668\u505a\u4e09\u79cd\u9a8c\u8bc1\uff1a\u7247\u5185\u968f\u673a\u4e94\u6298\u3001\u7247\u5185\u7a7a\u95f4\u5206\u5757\u4e94\u6298\u3001\u6574\u5f20\u5207\u7247\u7559\u51fa\u3002\u771f\u5b9e\u7ed3\u679c\u662f\uff1a\u4e24\u5f20\u5207\u7247\u968f\u673a\u9a8c\u8bc1\u7684\u5b8f\u5e73\u5747 F1 \u4e3a <strong>0.555\uff0f0.553<\/strong>\uff0c\u7a7a\u95f4\u5206\u5757\u4e3a <strong>0.390\uff0f0.400<\/strong>\uff0c\u8de8\u5207\u7247\u4e3a <strong>0.541\uff0f0.551<\/strong>\u3002\u8fd9\u4efd\u6570\u636e\u4e2d\uff0c\u8de8\u5207\u7247\u5e76\u6ca1\u6709\u6700\u5dee\u3002\u503c\u5f97\u5b66\u4e60\u7684\u662f\u600e\u6837\u8bbe\u8ba1\u62c6\u5206\u3001\u4fdd\u8bc1\u6ca1\u6709\u4e32\u6837\uff0c\u4ee5\u53ca\u600e\u6837\u907f\u514d\u6df7\u7528\u4e24\u79cd\u5b8f\u5e73\u5747\u5206\u6570\u3002<\/p>\n<h2>\u5148\u628a\u9a8c\u8bc1\u76ee\u6807\u8bf4\u6e05\u695a<\/h2>\n<p>\u8f93\u5165\u6765\u81ea\u516c\u5f00 HumanPilot\uff0fspatialLIBD DLPFC \u6570\u636e\uff0c\u4f7f\u7528 151673 \u548c 151674 \u4e24\u5f20\u5207\u7247\uff0c\u5171 7312 \u4e2a\u539f\u59cb\u4f4d\u70b9\u3002\u4fdd\u7559\u4f5c\u8005 First_Round \u6ce8\u91ca\u4e14\u5728\u7ec4\u7ec7\u5185\u7684\u4f4d\u70b9\u540e\uff0c\u5206\u522b\u4e3a 3611 \u548c 3635\uff0c\u5171 <strong>7246 \u4e2a<\/strong>\uff1b\u6807\u7b7e\u4e3a Layer 1\u20136 \u548c WM\u3002<\/p>\n<p>\u4e24\u5f20\u5207\u7247\u6765\u81ea<strong>\u540c\u4e00\u4f9b\u8005<\/strong>\u3002\u56e0\u6b64\u6574\u7247\u7559\u51fa\u662f\u540c\u4f9b\u8005\u65b0\u5207\u7247\u6d4b\u8bd5\uff0c\u4e0d\u80fd\u79f0\u4e3a\u8de8\u60a3\u8005\u6216\u8de8\u4f9b\u8005\u9a8c\u8bc1\u3002\u4f5c\u8005\u9996\u8f6e\u5c42\u6ce8\u91ca\u4e5f\u662f\u8fd9\u6b21\u7684\u5b66\u4e60\u76ee\u6807\uff0c\u5c1a\u4e0d\u80fd\u5f53\u4f5c\u72ec\u7acb\u786e\u8ba4\u7684\u771f\u503c\u3002<\/p>\n<p>Agent \u56fa\u5b9a\u6a21\u578b\u4e3a LogisticRegression\uff0cC=1\u3001lbfgs\u3001\u6700\u5927 5000 \u6b21\u8fed\u4ee3\u3001\u968f\u673a\u79cd\u5b50 42\u3002\u9010 spot \u5f52\u4e00\u5316\u5230\u6bcf\u4e07\u8ba1\u6570\u540e log1p\uff0c\u5728\u5404\u8bad\u7ec3\u6298\u5185\u505a\u68c0\u51fa\u8fc7\u6ee4\u30012000 \u4e2a\u9ad8\u53d8\u7279\u5f81\u9009\u62e9\u3001\u6807\u51c6\u5316\u548c PCA 50 \u7ef4\uff0c\u518d\u8bad\u7ec3\u5206\u7c7b\u5668\u3002<\/p>\n<p>\u9ad8\u53d8\u7279\u5f81\u4f7f\u7528\u672c\u811a\u672c\u7684\u5206\u7bb1\u79bb\u6563\u5ea6\u5b9e\u73b0\uff0c\u4e0d\u80fd\u76f4\u63a5\u79f0\u4e3a\u5b8c\u6574\u590d\u73b0\u67d0\u4e2a\u8f6f\u4ef6\u7684\u9ed8\u8ba4 HVG\u3002\u6700\u5173\u952e\u7684\u662f\uff1a<strong>HVG\u3001\u5747\u503c\u65b9\u5dee\u548c PCA \u90fd\u53ea\u5728\u8bad\u7ec3\u6298\u62df\u5408\uff0c\u6d4b\u8bd5\u6298\u7528\u51bb\u7ed3\u53c2\u6570\u53d8\u6362\u3002<\/strong> \u4e0d\u80fd\u5148\u7528\u5168\u6570\u636e\u9009\u7279\u5f81\u518d\u5ba3\u5e03\u6d4b\u8bd5\u96c6\u5b8c\u5168\u72ec\u7acb\u3002<\/p>\n<p><figure><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-figure1.png?ssl=1\" rel=\"noopener\" target=\"_blank\"><img data-recalc-dims=\"1\" alt=\"\u56fe1\uff1a\u4e09\u79cd\u62c6\u5206\u7684\u7a7a\u95f4\u793a\u610f\u3002\u7247\u5185\u968f\u673a\u6298\u76f8\u4e92\u7a7f\u63d2\uff1b\u7a7a\u95f4\u6298\u7531\u5750\u6807\u533a\u5757\u5408\u5e76\u5f97\u5230\u8fde\u7eed\u533a\u57df\uff1b\u6574\u7247\u7559\u51fa\u4f7f\u7528\u540c\u4e00\u4f9b\u8005\u7684\u53e6\u4e00\u5f20\u5207\u7247\u3002\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-figure1.png?ssl=1\"\/><\/a><figcaption>\u56fe1\uff1a\u4e09\u79cd\u62c6\u5206\u7684\u7a7a\u95f4\u793a\u610f\u3002\u7247\u5185\u968f\u673a\u6298\u76f8\u4e92\u7a7f\u63d2\uff1b\u7a7a\u95f4\u6298\u7531\u5750\u6807\u533a\u5757\u5408\u5e76\u5f97\u5230\u8fde\u7eed\u533a\u57df\uff1b\u6574\u7247\u7559\u51fa\u4f7f\u7528\u540c\u4e00\u4f9b\u8005\u7684\u53e6\u4e00\u5f20\u5207\u7247\u3002\uff08\u70b9\u51fb\u56fe\u7247\u67e5\u770b\u539f\u56fe\uff09<\/figcaption><\/figure>\n<\/p>\n<p>\u968f\u673a\u65b9\u6848\u6309\u5c42\u5206\u5c42\u4e94\u6298\uff1b\u7a7a\u95f4\u65b9\u6848\u5148\u6309 array \u5750\u6807\u5212\u5206 8\u00d78 \u533a\u5757\uff0c\u518d\u7528\u533a\u5757\u4e2d\u5fc3\u5750\u6807\u7684 KMeans \u5408\u5e76\u6210\u4e94\u6298\uff0c\u4e0d\u4f7f\u7528\u8868\u8fbe\u6216\u5c42\u6807\u7b7e\u3002\u8fd9\u91cc\u6ca1\u6709\u989d\u5916\u8bbe\u7f6e\u8bad\u7ec3\u4e0e\u6d4b\u8bd5\u533a\u57df\u4e4b\u95f4\u7684\u7f13\u51b2\u5e26\uff0c\u6240\u4ee5\u5b83\u4e5f\u4e0d\u4ee3\u8868\u201c\u4efb\u610f\u8fdc\u8ddd\u79bb\u65b0\u7ec4\u7ec7\u201d\u7684\u4e25\u683c\u5916\u63a8\u3002<\/p>\n<h2>\u8fd0\u884c\u4e2d\u5148\u4fee\u6b63\u4e00\u4e2a\u4f1a\u9020\u6210\u4e32\u6837\u7684\u4e3b\u952e<\/h2>\n<p>\u4e24\u5f20\u5207\u7247\u6709 3485 \u4e2a\u91cd\u590d barcode\u3002\u82e5\u53ea\u7528 barcode \u5efa\u8bad\u7ec3\uff0f\u6d4b\u8bd5\u63a9\u7801\uff0c\u5c31\u53ef\u80fd\u628a\u53e6\u4e00\u5f20\u5207\u7247\u4e0a\u540c\u540d\u7684 spot \u4e00\u8d77\u9009\u5165\u3002<\/p>\n<p>\u6838\u9a8c\u53d1\u73b0\u8fd9\u4e2a\u95ee\u9898\u540e\uff0cAgent \u5b9e\u9645\u4fee\u6539\u63a9\u7801\u5e76\u91cd\u65b0\u8bad\u7ec3\u5168\u90e8\u65b9\u6848\uff0c\u4f7f\u7528\uff1a<\/p>\n<pre><code class=\"language-python\">uid = section.astype(str) + \"|\" + barcode\r\nassert not (set(train_uid) &amp; set(test_uid))\r\n<\/code><\/pre>\n<p>\u6700\u7ec8\u5305\u4fdd\u7559\u9010\u4f4d\u70b9\u9884\u6d4b\u3001\u6298\u5206\u914d\u3001\u8bad\u7ec3\uff0f\u6d4b\u8bd5\u7c7b\u522b\u548c\u8fb9\u754c\u65ad\u8a00\u3002\u6211\u4eec\u53c8\u72ec\u7acb\u91cd\u5efa\u4e86 22 \u4e2a\u6298\u7684\u8bad\u7ec3\uff0f\u6d4b\u8bd5\u96c6\u5408\uff0c\u786e\u8ba4\u96c6\u5408\u4e92\u65a5\u3001\u7247\u5185\u65b9\u6848\u6ca1\u6709\u6df7\u8fdb\u53e6\u4e00\u5207\u7247\u3001\u6bcf\u4e2a\u65b9\u6848\u6bcf\u4e2a\u6d4b\u8bd5\u4f4d\u70b9\u53ea\u6709\u4e00\u6b21\u9884\u6d4b\uff0c\u5e76\u91cd\u7b97\u6240\u6709\u5206\u6570\u3002\u6b63\u6587\u4ec5\u5f15\u7528\u4fee\u6b63\u540e\u7684\u7ed3\u679c\u3002<\/p>\n<h2>\u4e09\u79cd\u9a8c\u8bc1\uff0c\u5f97\u5230\u7684\u662f\u4e09\u4e2a\u4e0d\u540c\u95ee\u9898\u7684\u7b54\u6848<\/h2>\n<p>\u4e3b\u7ed3\u679c\u5148\u6c47\u603b\u4e00\u4e2a\u65b9\u6848\u5185\u6240\u6709\u6298\u5916\u9884\u6d4b\uff0c\u518d\u56fa\u5b9a\u4e03\u4e2a\u7c7b\u522b\u8ba1\u7b97 macro-F1\u3002\u8fd9\u6837\u6bcf\u4e2a spot \u5728\u5bf9\u5e94\u65b9\u6848\u4e2d\u53ea\u8d21\u732e\u4e00\u6b21\u6d4b\u8bd5\u9884\u6d4b\u3002<\/p>\n<div class=\"table-scroll\">\n<table>\n<thead>\n<tr>\n<th>\u6d4b\u8bd5\u5207\u7247<\/th>\n<th style=\"text-align: right;\">\u968f\u673a\u4e94\u6298\uff0c\u6c47\u603bF1<\/th>\n<th style=\"text-align: right;\">\u7a7a\u95f4\u4e94\u6298\uff0c\u6c47\u603bF1<\/th>\n<th style=\"text-align: right;\">\u53e6\u4e00\u5207\u7247\u8bad\u7ec3\u540e\u6d4b\u8bd5\uff0cF1<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>151673\uff0c3611\u4e2a\u4f4d\u70b9<\/td>\n<td style=\"text-align: right;\">0.555<\/td>\n<td style=\"text-align: right;\">0.390<\/td>\n<td style=\"text-align: right;\">0.541\uff0c\u8bad\u7ec3\u7247151674<\/td>\n<\/tr>\n<tr>\n<td>151674\uff0c3635\u4e2a\u4f4d\u70b9<\/td>\n<td style=\"text-align: right;\">0.553<\/td>\n<td style=\"text-align: right;\">0.400<\/td>\n<td style=\"text-align: right;\">0.551\uff0c\u8bad\u7ec3\u7247151673<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u7a7a\u95f4\u5206\u5757\u8981\u6c42\u6a21\u578b\u8d70\u8fdb\u4e00\u6574\u5757\u672a\u89c1\u533a\u57df\uff0c\u7c7b\u522b\u6bd4\u4f8b\u548c\u8868\u8fbe\u80cc\u666f\u90fd\u4f1a\u53d8\u5316\u3002\u968f\u673a\u9a8c\u8bc1\u4e2d\u90bb\u8fd1\u4f4d\u70b9\u5206\u6563\u5728\u8bad\u7ec3\uff0f\u6d4b\u8bd5\u4e24\u8fb9\uff0c\u4efb\u52a1\u4e0d\u540c\u3002\u8fd9\u4e9b\u5dee\u5f02\u652f\u6301\u201c\u9a8c\u8bc1\u62c6\u5206\u4f1a\u6539\u53d8\u6027\u80fd\u4f30\u8ba1\u201d\uff0c\u4f46\u4e0d\u80fd\u5355\u51ed\u5206\u6570\u5dee\u5c31\u65ad\u8a00\u539f\u6a21\u578b\u6709\u6570\u636e\u6cc4\u6f0f\u3002<\/p>\n<p>\u6574\u7247\u7559\u51fa\u5206\u6570\u63a5\u8fd1\u968f\u673a\uff0c\u4e5f\u4e0d\u610f\u5473\u7740\u8de8\u4f9b\u8005\u4e00\u5b9a\u5bb9\u6613\u3002\u4e24\u5f20\u7247\u6765\u81ea\u540c\u4e00\u4f9b\u8005\uff0c\u4e14\u6570\u636e\u51c6\u5907\u9636\u6bb5\u66fe\u5728 151673 \u4e0a\u505a\u8fc7\u4e00\u9879\u7279\u5f81\u65b9\u6848\u63a2\u7d22\u3002\u6700\u7ec8\u53c2\u6570\u4fdd\u6301\u56fa\u5b9a\uff0c\u4f46\u8be5\u7247\u4e0d\u80fd\u88ab\u63cf\u8ff0\u4e3a\u5b8c\u5168\u672a\u89e6\u78b0\u7684\u6d4b\u8bd5\u96c6\uff1b\u63a2\u7d22\u8bb0\u5f55\u548c\u8fd9\u4e2a\u9650\u5236\u90fd\u5728 README \u4e2d\u516c\u5f00\u3002<\/p>\n<p><figure><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-figure2.png?ssl=1\" rel=\"noopener\" target=\"_blank\"><img data-recalc-dims=\"1\" alt=\"\u56fe2\uff1a\u5de6\u4e3a\u6c47\u603b\u6240\u6709\u6298\u5916\u9884\u6d4b\u540e\u7684\u56fa\u5b9a\u4e03\u7c7b\u5b8f\u5e73\u5747F1\u53ca\u5e73\u8861\u51c6\u786e\u7387\uff1b\u53f3\u4e3a\u5148\u9010\u6298\u8ba1\u7b97\u56fa\u5b9a\u4e03\u7c7bF1\u518d\u53d6\u5e73\u5747\u3002\u7a7a\u95f4\u6298\u7684\u7c7b\u522b\u8986\u76d6\u4e0d\u540c\uff0c\u4e24\u79cd\u6c47\u603b\u4e0d\u80fd\u6df7\u7528\u3002\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-figure2.png?ssl=1\"\/><\/a><figcaption>\u56fe2\uff1a\u5de6\u4e3a\u6c47\u603b\u6240\u6709\u6298\u5916\u9884\u6d4b\u540e\u7684\u56fa\u5b9a\u4e03\u7c7b\u5b8f\u5e73\u5747F1\u53ca\u5e73\u8861\u51c6\u786e\u7387\uff1b\u53f3\u4e3a\u5148\u9010\u6298\u8ba1\u7b97\u56fa\u5b9a\u4e03\u7c7bF1\u518d\u53d6\u5e73\u5747\u3002\u7a7a\u95f4\u6298\u7684\u7c7b\u522b\u8986\u76d6\u4e0d\u540c\uff0c\u4e24\u79cd\u6c47\u603b\u4e0d\u80fd\u6df7\u7528\u3002\uff08\u70b9\u51fb\u56fe\u7247\u67e5\u770b\u539f\u56fe\uff09<\/figcaption><\/figure>\n<\/p>\n<h2>\u4e3a\u4ec0\u4e48\u540c\u4e00\u7a7a\u95f4\u9a8c\u8bc1\uff0c\u53c8\u80fd\u62a5\u51fa0.24<\/h2>\n<p>\u5728 151673 \u4e2d\uff0c\u7a7a\u95f4\u5206\u5757\u7684\u6c47\u603b F1 \u662f 0.390\uff0c\u4f46\u9010\u6298\u56fa\u5b9a\u4e03\u7c7b F1 \u7684\u5e73\u5747\u662f 0.242\u3002\u4e24\u8005\u5e76\u4e0d\u77db\u76fe\u3002<\/p>\n<p>\u6bcf\u4e2a\u7a7a\u95f4\u6d4b\u8bd5\u6298\u53ea\u6709 3\u20136 \u4e2a\u771f\u5b9e\u7c7b\u522b\u3002\u5982\u679c\u9010\u6298\u90fd\u7528\u56fa\u5b9a\u4e03\u7c7b\u5206\u6bcd\uff0c\u6ca1\u6709\u771f\u5b9e\u6837\u672c\u4e14\u672a\u9884\u6d4b\u7684\u7c7b\u522b\u4e5f\u6309\u96f6\u8ba1\u5165\uff0c\u4f1a\u538b\u4f4e\u8be5\u6298\u5b8f\u5e73\u5747\uff1b\u5c06\u4e94\u6298\u9884\u6d4b\u5408\u5e76\u4ee5\u540e\uff0c\u4e03\u7c7b\u90fd\u51fa\u73b0\u4e86\uff0c\u518d\u7b97\u4e00\u6b21 F1\uff0c\u6570\u503c\u81ea\u7136\u4e0d\u540c\u3002F1 \u672c\u8eab\u8fd8\u662f\u975e\u7ebf\u6027\u7684\uff0c\u4e0d\u80fd\u671f\u5f85\u5148\u7b97\u518d\u5e73\u5747\u4e0e\u5148\u5408\u5e76\u518d\u7b97\u76f8\u7b49\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u5bb9\u6613\u8bef\u8bfb\u7684\u5b57\u6bb5\u662f sklearn \u4e0d\u6307\u5b9a <code>labels=<\/code> \u7684 macro-F1\u3002\u5b83\u4f7f\u7528\u771f\u5b9e\u6807\u7b7e\u4e0e\u9884\u6d4b\u6807\u7b7e\u7684\u5e76\u96c6\uff0c\u4e0d\u662f\u201c\u53ea\u7b97\u6d4b\u8bd5\u96c6\u4e2d\u771f\u5b9e\u51fa\u73b0\u7684\u7c7b\u522b\u201d\u3002\u4e0b\u8f7d\u5305\u5c06\u8fd9\u4e24\u79cd\u5b9a\u4e49\u660e\u786e\u5206\u5217\u3002<\/p>\n<pre><code class=\"language-python\"># \u672c\u6587\u4e3b\u6307\u6807\uff1a\u5148\u5408\u5e76\u6bcf\u4e2aspot\u7684\u4e00\u6b21\u6298\u5916\u9884\u6d4b\uff0c\u518d\u56fa\u5b9a\u4e03\u7c7b\r\nf1_score(y_true_oof, y_pred_oof,\r\n         labels=seven_layers, average=\"macro\", zero_division=0)\r\n<\/code><\/pre>\n<p>\u56e0\u6b64\uff0c\u628a\u968f\u673a\u7684\u6c47\u603b 0.55 \u4e0e\u7a7a\u95f4\u7684\u9010\u6298\u5e73\u5747 0.24 \u653e\u5728\u540c\u4e00\u5217\uff0c\u4f1a\u540c\u65f6\u6df7\u5165\u4efb\u52a1\u53d8\u5316\u548c\u6c47\u603b\u53e3\u5f84\u53d8\u5316\uff0c\u5938\u5927\u4e00\u79cd\u7b80\u5355\u89e3\u91ca\u3002<\/p>\n<p><figure><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-figure3.png?ssl=1\" rel=\"noopener\" target=\"_blank\"><img data-recalc-dims=\"1\" alt=\"\u56fe3\uff1a\u540c\u4e00\u5f20151673\u5207\u7247\u5728\u4e09\u79cd\u9a8c\u8bc1\u65b9\u5f0f\u4e0b\u7684\u9519\u8bef\u4f4d\u7f6e\u3002\u7ea2\u70b9\u662f\u8bef\u5206\u7c7b\uff0c\u7070\u70b9\u662f\u6b63\u786e\u9884\u6d4b\uff1b\u56fe\u4e2d\u53ef\u4ee5\u67e5\u770b\u7a7a\u95f4\u8fde\u7eed\u9519\u8bef\u533a\u57df\u3002\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-figure3.png?ssl=1\"\/><\/a><figcaption>\u56fe3\uff1a\u540c\u4e00\u5f20151673\u5207\u7247\u5728\u4e09\u79cd\u9a8c\u8bc1\u65b9\u5f0f\u4e0b\u7684\u9519\u8bef\u4f4d\u7f6e\u3002\u7ea2\u70b9\u662f\u8bef\u5206\u7c7b\uff0c\u7070\u70b9\u662f\u6b63\u786e\u9884\u6d4b\uff1b\u56fe\u4e2d\u53ef\u4ee5\u67e5\u770b\u7a7a\u95f4\u8fde\u7eed\u9519\u8bef\u533a\u57df\u3002\uff08\u70b9\u51fb\u56fe\u7247\u67e5\u770b\u539f\u56fe\uff09<\/figcaption><\/figure>\n<\/p>\n<h2>\u603b\u5206\u4ee5\u5916\uff0cLayer 4\u51e0\u4e4e\u6ca1\u6709\u88ab\u8bc6\u522b\u51fa\u6765<\/h2>\n<p>\u6700\u7ec8\u6240\u6709\u8bad\u7ec3\u6298\u90fd\u6709\u4e03\u7c7b\uff0c\u6d4b\u8bd5\u96c6\u4e2d\u6ca1\u6709\u201c\u8bad\u7ec3\u4ece\u672a\u89c1\u8fc7\u7684\u7c7b\u522b\u201d\u3002\u7a7a\u95f4\u65b9\u6848\u8868\u73b0\u4e0b\u964d\u4e0d\u80fd\u5f52\u56e0\u4e3a\u672a\u89c1\u6807\u7b7e\u3002<\/p>\n<p>\u4f46\u7c7b\u522b\u53ec\u56de\u5dee\u5f02\u5f88\u660e\u663e\u3002Layer 4 \u5728\u5404\u65b9\u6848\u4e0b\u7684\u6c47\u603b\u53ec\u56de\u4ec5\u7ea6 <strong>0.9%\u20132.8%<\/strong>\u3002\u5373\u4f7f\u67d0\u4e2a\u603b\u5206\u770b\u8d77\u6765\u8fd8\u53ef\u4ee5\uff0c\u4e5f\u4e0d\u9002\u5408\u8bf4\u8fd9\u4e2a\u6a21\u578b\u5df2\u7ecf\u51c6\u786e\u8bc6\u522b\u6240\u6709\u76ae\u5c42\u5c42\u6b21\u3002<\/p>\n<p><figure><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-figure4.png?ssl=1\" rel=\"noopener\" target=\"_blank\"><img data-recalc-dims=\"1\" alt=\"\u56fe4\uff1a\u5de6\u4e3a\u5404\u65b9\u6848\u7684\u9010\u5c42\u53ec\u56de\u7387\uff0cLayer4\u6301\u7eed\u504f\u4f4e\uff1b\u53f3\u4e3a22\u4e2a\u6298\u7684\u8bad\u7ec3\u4e0e\u6d4b\u8bd5\u7c7b\u522b\u8986\u76d6\uff0c\u6240\u6709\u8bad\u7ec3\u6298\u90fd\u542b\u4e03\u7c7b\uff0c\u7a7a\u95f4\u6d4b\u8bd5\u6298\u7f3a\u5c11\u90e8\u5206\u771f\u5b9e\u7c7b\u522b\u3002\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-figure4.png?ssl=1\"\/><\/a><figcaption>\u56fe4\uff1a\u5de6\u4e3a\u5404\u65b9\u6848\u7684\u9010\u5c42\u53ec\u56de\u7387\uff0cLayer4\u6301\u7eed\u504f\u4f4e\uff1b\u53f3\u4e3a22\u4e2a\u6298\u7684\u8bad\u7ec3\u4e0e\u6d4b\u8bd5\u7c7b\u522b\u8986\u76d6\uff0c\u6240\u6709\u8bad\u7ec3\u6298\u90fd\u542b\u4e03\u7c7b\uff0c\u7a7a\u95f4\u6d4b\u8bd5\u6298\u7f3a\u5c11\u90e8\u5206\u771f\u5b9e\u7c7b\u522b\u3002\uff08\u70b9\u51fb\u56fe\u7247\u67e5\u770b\u539f\u56fe\uff09<\/figcaption><\/figure>\n<\/p>\n<p>\u6298\u4e4b\u95f4\u6765\u81ea\u540c\u4e00\u5f20\u5207\u7247\uff0c\u4e0d\u80fd\u628a\u4e94\u6298\u6807\u51c6\u5dee\u5f53\u4f5c\u4e94\u540d\u60a3\u8005\u4e4b\u95f4\u7684\u4e0d\u786e\u5b9a\u6027\u3002\u5bf9\u5b9e\u9645\u8bfe\u9898\uff0c\u66f4\u6709\u7528\u7684\u62a5\u544a\u5e94\u540c\u65f6\u7ed9\u51fa\u62c6\u5206\u4f9d\u636e\u3001\u4f9b\u8005\u6570\u3001\u6c47\u603b\u5b9a\u4e49\u3001\u6df7\u6dc6\u77e9\u9635\u548c\u9010\u7c7b\u53ec\u56de\u3002<\/p>\n<h2>\u4ee3\u7801\u5305\u91cc\u53ef\u4ee5\u68c0\u67e5\u54ea\u4e9b\u73af\u8282<\/h2>\n<p>\u4e0b\u8f7d\u5305\u5305\u542b\u539f\u59cb\u8f93\u5165\u83b7\u53d6\u4e0e SHA256 \u6821\u9a8c\u811a\u672c\u3001\u5b9e\u9645\u4f7f\u7528\u7684\u8868\u8fbe\u5b50\u96c6\u3001\u5750\u6807\u6807\u7b7e\u3001\u5b8c\u6574\u6a21\u578b\u811a\u672c\u300122 \u6298\u6307\u6807\u3001\u9010 spot \u9884\u6d4b\u3001\u56db\u5f20\u56fe\u4e0e\u9010\u56fe\u8868\u3002\u6309 README \u6267\u884c <code>bash scripts\/run_all.sh<\/code> \u53ef\u91cd\u7b97\u4e3b\u6d41\u7a0b\uff1b\u5df2\u6709\u8f93\u5165\u548c\u7ed3\u679c\u53ef\u7528\u4e8e\u53ea\u91cd\u7ed8\u3002<\/p>\n<p>\u5c06\u6d41\u7a0b\u7528\u4e8e\u81ea\u5df1\u7684\u6570\u636e\u65f6\uff0c\u5148\u786e\u5b9a\u6700\u7ec8\u8981\u9762\u5bf9\u7684\u662f\u540c\u7247\u65b0\u4f4d\u7f6e\u3001\u65b0\u5207\u7247\u8fd8\u662f\u65b0\u4f9b\u8005\uff0c\u518d\u9009\u62e9\u5bf9\u5e94\u6d4b\u8bd5\u5355\u4f4d\uff1b\u540c\u65f6\u7528\u201c\u6837\u672c\uff0f\u5207\u7247\uff0bbarcode\u201d\u5efa\u7acb\u552f\u4e00\u952e\u3002\u8fd9\u4e2a\u6848\u4f8b\u5c55\u793a\u7684\u4ef7\u503c\uff0c\u662f\u8ba9\u9a8c\u8bc1\u4efb\u52a1\u548c\u8bba\u6587\u91cc\u58f0\u79f0\u7684\u7528\u9014\u4fdd\u6301\u4e00\u81f4\u3002<\/p>\n<p>\u6570\u636e\u5165\u53e3\uff1a<a href=\"https:\/\/github.com\/LieberInstitute\/HumanPilot\/tree\/044446d6bd8fc154aa74f7be62ec67effb1ec376\">HumanPilot\u56fa\u5b9a\u7248\u672c<\/a>\u3001<a href=\"https:\/\/research.libd.org\/spatialLIBD\/\">spatialLIBD\u9879\u76ee<\/a>\u3001<a href=\"https:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.metrics.f1_score.html\">scikit-learn F1\u5b9a\u4e49<\/a>\u3002<\/p>\n<section class=\"reader-download\">\n<h2>\u4e0b\u8f7d\u672c\u7bc7\u5206\u6790\u4ee3\u7801\u4e0e\u5b8c\u6574\u7ed3\u679c<\/h2>\n<p>\u4ee3\u7801\u5305\u5305\u542b\u672c\u6b21\u5206\u6790\u811a\u672c\u3001\u53ef\u5206\u53d1\u8f93\u5165\u6216\u6570\u636e\u83b7\u53d6\u65b9\u6cd5\u3001\u9010\u56fe\u6570\u636e\u3001\u5b8c\u6574\u7ed3\u679c\u8868\u3001\u73af\u5883\u8bf4\u660e\u548cREADME\u3002\u8bf7\u5148\u6309README\u6838\u5bf9\u6570\u636e\u6765\u6e90\u3001\u7248\u672c\u548c\u8fd0\u884c\u5165\u53e3\u3002<\/p>\n<p><a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-b15-code-results.zip\" download>\u4e0b\u8f7d\u4ee3\u7801\u3001\u8f93\u5165\u8bf4\u660e\u4e0e\u7ed3\u679c ZIP<\/a><\/p>\n<\/section>\n<section class=\"agent-next\">\n<p>\u628a\u81ea\u5df1\u7684\u7814\u7a76\u95ee\u9898\u3001\u8868\u8fbe\u77e9\u9635\u548c\u6837\u672c\u5206\u7ec4\u6574\u7406\u597d\uff0c\u53ef\u4ee5\u5728<a href=\"https:\/\/www.biocloudservice.com\/bioagent\/\">\u4e91\u751f\u4fe1 BioAgent<\/a>\u4e2d\u63d0\u4ea4\u5206\u6790\u4efb\u52a1\uff0c\u5e76\u7ed3\u5408\u672c\u7bc7\u4ee3\u7801\u6838\u5bf9\u8f93\u5165\u3001\u56fe\u8868\u4e0e\u7ed3\u679c\u3002<\/p>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7a7a\u95f4\u8f6c\u5f55\u7ec4\u91cc\uff0c\u8bad\u7ec3\u96c6\u548c\u6d4b\u8bd5\u96c6\u90fd\u968f\u673a\u62bd spot\uff0c\u6a21\u578b\u5f80\u5f80\u8868\u73b0\u4e0d\u9519\u3002\u4f46\u5b83\u80fd\u56de\u7b54\u7684\u662f\u201c\u540c\u4e00\u5f20\u5207\u7247\u91cc\uff0c\u518d\u9047\u5230\u4e00\u4e2a\u76f8\u4f3c\u4f4d\u7f6e\u4f1a\u600e\u6837\u201d\u3002\u5982\u679c\u8981\u9884\u6d4b\u4e00\u6574\u5757\u6ca1\u89c1\u8fc7\u7684\u533a\u57df\uff0c\u6216\u8005\u53e6\u4e00\u5f20\u5207\u7247\uff0c\u9a8c\u8bc1\u65b9\u5f0f\u5c31\u8981\u8ddf\u7740\u95ee\u9898\u53d8\u5316\u3002<\/p>\n","protected":false},"author":1,"featured_media":78819,"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":[71],"tags":[1299,2023,379],"class_list":["post-78824","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-single-cell","tag-1299","tag-agent","tag-379"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/bioagent-analysis20-20261127-B15-figure1.png?fit=2800%2C2500&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/78824","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=78824"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/78824\/revisions"}],"predecessor-version":[{"id":78831,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/78824\/revisions\/78831"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/78819"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=78824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=78824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=78824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}