{"id":70095,"date":"2026-12-03T09:09:21","date_gmt":"2026-12-03T01:09:21","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=70095"},"modified":"2026-12-03T09:09:21","modified_gmt":"2026-12-03T01:09:21","slug":"baysor-%e5%a6%82%e4%bd%95%e4%bb%8e%e5%88%86%e5%ad%90%e7%82%b9%e4%ba%91%e6%89%be%e7%bb%86%e8%83%9e%ef%bc%9f%e6%8a%8a-306-%e6%9d%a1%e8%be%93%e5%85%a5%e4%b8%80%e8%b7%af%e8%bf%bd%e5%88%b0%e7%bb%86","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/baysor-%e5%a6%82%e4%bd%95%e4%bb%8e%e5%88%86%e5%ad%90%e7%82%b9%e4%ba%91%e6%89%be%e7%bb%86%e8%83%9e%ef%bc%9f%e6%8a%8a-306-%e6%9d%a1%e8%be%93%e5%85%a5%e4%b8%80%e8%b7%af%e8%bf%bd%e5%88%b0%e7%bb%86\/","title":{"rendered":"Baysor \u5982\u4f55\u4ece\u5206\u5b50\u70b9\u4e91\u627e\u7ec6\u80de\uff1f\u628a 306 \u6761\u8f93\u5165\u4e00\u8def\u8ffd\u5230\u7ec6\u80de\u8ba1\u6570\u8868"},"content":{"rendered":"<div id=\"articleContent\" style=\"max-width:860px;min-width:0;margin:auto;font-size:17px;line-height:1.85;\">\n<p>\u5728\u6210\u50cf\u578b\u7a7a\u95f4\u8f6c\u5f55\u7ec4\u91cc\uff0c\u6700\u539f\u59cb\u7684\u4e00\u7c7b\u7ed3\u679c\u662f\u5206\u5b50\u5750\u6807\uff1a\u4ec0\u4e48\u57fa\u56e0\uff0c\u5728\u7ec4\u7ec7\u7684\u4ec0\u4e48\u4f4d\u7f6e\u88ab\u68c0\u6d4b\u5230\u3002\u53ef\u7814\u7a76\u8005\u901a\u5e38\u8981\u7684\u662f\u53e6\u4e00\u79cd\u5bf9\u8c61\uff0c\u6bcf\u4e00\u884c\u662f\u7ec6\u80de\u3001\u6bcf\u4e00\u5217\u662f\u57fa\u56e0\u3002Baysor \u8bd5\u56fe\u8865\u4e0a\u4e2d\u95f4\u8fd9\u4e00\u5c42\uff0c\u5229\u7528\u5206\u5b50\u7684\u4f4d\u7f6e\u4e0e\u5c40\u90e8\u57fa\u56e0\u7ec4\u6210\u4f30\u8ba1\u54ea\u4e9b\u5206\u5b50\u5c5e\u4e8e\u540c\u4e00\u4e2a\u7ec6\u80de\uff0c\u4e5f\u53ef\u5229\u7528\u5df2\u6709\u5206\u5272\u4f5c\u4e3a\u5148\u9a8c\u3002\u4e3a\u4e86\u770b\u6e05\u5b83\u5230\u5e95\u8f93\u51fa\u4e86\u4ec0\u4e48\uff0c\u6211\u4eec\u5b9e\u9645\u8fd0\u884c\u4e86\u539f\u751f C++ \u7248 Baysor\uff0c\u5bf9\u4e09\u56e2\u4eba\u5de5\u751f\u6210\u7684\u5206\u5b50\u548c\u516d\u4e2a\u8fdc\u5904\u7684\u6563\u70b9\u505a\u5206\u5272\uff0c\u518d\u628a\u5206\u5b50\u8868\u4e0e\u7ec6\u80de\u7edf\u8ba1\u8868\u9010\u9879\u5bf9\u8d26\u3002<a href=\"https:\/\/github.com\/kharchenkolab\/Baysor\">\u9879\u76ee\u4ed3\u5e93<\/a> \u00b7 <a href=\"https:\/\/doi.org\/10.1038\/s41587-021-01044-w\">\u65b9\u6cd5\u8bba\u6587<\/a><\/p>\n<h2 style=\"margin-top:30px;color:#183850;\">\u5206\u5b50\u6709\u81ea\u5df1\u7684\u4f4d\u7f6e\uff0c\u7ec6\u80de\u8fb9\u754c\u9700\u8981\u63a8\u65ad<\/h2>\n<p>\u82e5\u4e24\u4e2a\u771f\u5b9e\u7ec6\u80de\u79bb\u5f97\u5f88\u8fdc\uff0c\u56f4\u7ed5\u5404\u81ea\u4e2d\u5fc3\u7684\u68c0\u6d4b\u5f80\u5f80\u5bb9\u6613\u5206\u5f00\u3002\u4e00\u65e6\u4e24\u4e2a\u7ec6\u80de\u8d34\u5728\u4e00\u8d77\uff0c\u4ec5\u9760\u8ddd\u79bb\u5c31\u53ef\u80fd\u5f04\u9519\u8fb9\u754c\uff1b\u82e5\u5b83\u4eec\u8868\u8fbe\u7684\u57fa\u56e0\u7ec4\u5408\u6709\u5dee\u5f02\uff0c\u8fd9\u90e8\u5206\u4fe1\u606f\u4fbf\u6709\u673a\u4f1a\u5e2e\u52a9\u5f52\u5c5e\u3002\u53cd\u8fc7\u6765\uff0c\u82e5\u9762\u677f\u8f83\u7a84\u3001\u76f8\u90bb\u7ec6\u80de\u7684\u7ec4\u6210\u9ad8\u5ea6\u76f8\u4f3c\uff0c\u6216\u8005\u68c0\u6d4b\u672c\u6765\u5c31\u5f88\u7a00\u758f\uff0c\u63a8\u65ad\u4e5f\u4f1a\u6709\u6b67\u4e49\u3002\u5df2\u6709\u7684\u6838\u5206\u5272\u6216\u5176\u4ed6\u8f6e\u5ed3\u53ef\u4ee5\u63d0\u4f9b\u8f85\u52a9\u4fe1\u606f\uff0c\u4f46\u5176\u8d28\u91cf\u3001\u5750\u6807\u914d\u51c6\u548c\u7f6e\u4fe1\u8bbe\u7f6e\u90fd\u4f1a\u5f71\u54cd\u7ed3\u679c\u3002\u5206\u5b50\u70b9\u3001\u63a8\u65ad\u7684\u5b9e\u4f8b\u3001\u53ef\u89c6\u5316\u591a\u8fb9\u5f62\u548c\u6700\u540e\u7684\u7ec6\u80de\u7c7b\u578b\u6ce8\u91ca\uff0c\u5e94\u5f53\u4f5c\u4e3a\u4e0d\u540c\u5bf9\u8c61\u5206\u522b\u8ffd\u6eaf\u3002<\/p>\n<p>\u672c\u4f8b\u7528\u53d1\u5e03\u7248 cpp-0.9.0 \u7684 Windows \u53ef\u6267\u884c\u7a0b\u5e8f\uff0c\u6ca1\u6709\u8f93\u5165\u5148\u9a8c\u63a9\u819c\u3002\u811a\u672c\u8bbe\u7f6e\u4e09\u4e2a\u5f7c\u6b64\u5206\u79bb\u7684\u4e2d\u5fc3\uff0c\u5404\u751f\u6210\u4e00\u767e\u6761\u5206\u5b50\uff0c\u5e76\u8ba9\u6bcf\u56e2\u6709\u81ea\u5df1\u7684\u8f83\u5e38\u89c1\u57fa\u56e0\uff0c\u540c\u65f6\u5171\u4eab\u4e00\u90e8\u5206\u540c\u540d\u57fa\u56e0\u3002\u53e6\u5916\u516d\u4e2a\u70b9\u653e\u5728\u8fdc\u79bb\u4e09\u56e2\u7684\u4f4d\u7f6e\u3002\u5750\u6807\u7528\u56fa\u5b9a\u79cd\u5b50\u751f\u6210\uff0c\u6bcf\u6b21\u9020\u51fa\u76f8\u540c\u7684\u6559\u5b66\u8f93\u5165\u3002\u8fd0\u884c\u65f6\u8fd1\u4f3c\u7ec6\u80de\u534a\u5f84\u8bbe\u4e09\u3001\u6700\u4f4e\u6bcf\u7ec6\u80de\u5206\u5b50\u53c2\u6570\u8bbe\u4e8c\u5341\u3001\u4f7f\u7528\u5355\u7ebf\u7a0b\uff0c\u5e76\u5c06\u8fed\u4ee3\u6570\u8bbe\u4e3a\u4e00\u767e\u3002\u8fd9\u4e9b\u6570\u662f\u4e3a\u4e86\u914d\u5408\u6211\u4eec\u9020\u7684\u70b9\u4e91\uff0c\u6ca1\u6709\u771f\u5b9e\u7ec4\u7ec7\u7684\u6807\u5b9a\u610f\u4e49\u3002<a href=\"https:\/\/github.com\/kharchenkolab\/Baysor\/blob\/619f09dbbfc5ebcfd7e7d1c93978d9039cbe39f2\/docs\/cli.md\">\u8be5\u7248\u672c\u64cd\u4f5c\u8bf4\u660e<\/a><\/p>\n<h2 style=\"margin-top:30px;color:#183850;\">\u5148\u7ed9\u6bcf\u4e2a\u5206\u5b50\u627e\u53bb\u5411\uff0c\u518d\u6570\u6709\u591a\u5c11\u4e2a\u7ec6\u80de<\/h2>\n<p>\u7a0b\u5e8f\u8f93\u51fa\u4e09\u884c\u7ec6\u80de\u7edf\u8ba1\uff0c\u540c\u65f6\u8f93\u51fa\u5305\u542b\u5168\u90e8\u4e09\u767e\u96f6\u516d\u6761\u8f93\u5165\u8bb0\u5f55\u7684\u5206\u5b50\u8868\u3002\u4e09\u9897\u63a8\u65ad\u7ec6\u80de\u5206\u522b\u63a5\u6536\u4e5d\u5341\u4e5d\u3001\u4e00\u767e\u548c\u4e00\u767e\u6761\u5206\u5b50\uff0c\u5176\u4f59\u4e03\u6761\u7684\u7ec6\u80de\u7f16\u53f7\u4e3a\u96f6\u3002\u5bf9\u7167\u751f\u6210\u6570\u636e\u65f6\u5df2\u77e5\u7684\u70b9\u4e91\u6765\u6e90\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u67e5\u51fa\u8fd9\u4e03\u6761\u6765\u81ea\u54ea\u91cc\u3002\u4e0b\u9762\u7684\u4ea4\u53c9\u8868\u662f\u5b9e\u9645\u8f93\u51fa\uff1b\u201c\u539f\u59cb\u70b9\u4e91\u201d\u5217\u662f\u6211\u4eec\u81ea\u5df1\u5728\u751f\u6210\u65f6\u4fdd\u7559\u7684\u8eab\u4efd\uff0c\u672a\u4f5c\u4e3a\u5206\u5272\u5148\u9a8c\u4f20\u7ed9\u6a21\u578b\u3002<\/p>\n<div style=\"max-width:100%;overflow-x:auto;\">\n<table style=\"min-width:525px;width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th style=\"padding:9px;text-align:left;background:#dcf2ff;color:#103d59;white-space:normal;\">\u539f\u59cb\u70b9\u4e91<\/th>\n<th style=\"text-align: right;\">\u5f52\u5165\u7ec6\u80de 1<\/th>\n<th style=\"text-align: right;\">\u5f52\u5165\u7ec6\u80de 2<\/th>\n<th style=\"text-align: right;\">\u5f52\u5165\u7ec6\u80de 3<\/th>\n<th style=\"text-align: right;\">\u7f16\u53f7\u4e3a 0<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">\u7b2c\u4e00\u56e2\u7684 100 \u6761\u5206\u5b50<\/td>\n<td style=\"text-align: right;\">99<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">\u7b2c\u4e8c\u56e2\u7684 100 \u6761\u5206\u5b50<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">100<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">\u7b2c\u4e09\u56e2\u7684 100 \u6761\u5206\u5b50<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">100<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">6 \u6761\u8fdc\u5904\u6563\u70b9<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"860\" class=\"wp-image-70094\" style=\"width:100%;height:auto;\" alt=\"Baysor \u5b9e\u8dd1\u540e\u7684\u5206\u5b50\u5750\u6807\u4e0e\u5206\u914d\uff0c\u4e09\u4e2a\u5b9e\u4f8b\u548c\u7f16\u53f7\u4e3a\u96f6\u7684\u8bb0\u5f55\u5206\u522b\u663e\u793a\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-085-kharchenkolab-baysor.png?resize=1080%2C860&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-085-kharchenkolab-baysor.png?w=1080&amp;ssl=1 1080w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-085-kharchenkolab-baysor.png?resize=300%2C239&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-085-kharchenkolab-baysor.png?resize=1024%2C815&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-085-kharchenkolab-baysor.png?resize=768%2C612&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-085-kharchenkolab-baysor.png?resize=600%2C478&amp;ssl=1 600w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>\u8fd9\u4e2a\u4f8b\u5b50\u91cc\uff0c\u516d\u6761\u8fdc\u5904\u6563\u70b9\u90fd\u6ca1\u6709\u8fdb\u5165\u4e09\u4e2a\u63a8\u65ad\u7ec6\u80de\uff0c\u4f46\u7f16\u53f7\u4e3a\u96f6\u7684\u8bb0\u5f55\u4e0d\u6b62\u516d\u6761\uff0c\u7b2c\u4e00\u56e2\u4e2d\u4e5f\u6709\u4e00\u6761\u6ca1\u6709\u88ab\u5f52\u5165\u5b9e\u4f8b\u3002\u56e0\u6b64\u201c\u5c5e\u4e8e\u6a21\u62df\u65f6\u7684\u67d0\u4e2a\u70b9\u4e91\u201d\u548c\u201c\u88ab\u6a21\u578b\u63a5\u53d7\u4e3a\u67d0\u4e2a\u7ec6\u80de\u7684\u5206\u5b50\u201d\u4e0d\u80fd\u6df7\u7528\u3002\u9762\u5bf9\u771f\u5b9e\u7ec4\u7ec7\uff0c\u6211\u4eec\u4e0d\u518d\u6709\u5de6\u4fa7\u8fd9\u5217\u7531\u4f5c\u8005\u4e8b\u5148\u751f\u6210\u7684\u7c7b\u522b\uff1b\u53ea\u80fd\u5229\u7528\u539f\u56fe\u3001\u72ec\u7acb\u8f6e\u5ed3\u3001\u7ec4\u7ec7\u5730\u6807\u548c\u53ef\u4fe1\u6807\u8bb0\u6765\u6838\u67e5\u3002\u4e5f\u6b63\u56e0\u4e3a\u4e09\u4e2a\u6a21\u62df\u56e2\u975e\u5e38\u6e05\u695a\uff0c\u4e0d\u80fd\u62ff\u8fd9\u6b21\u7ed3\u679c\u7ed9\u5176\u4ed6\u5e73\u53f0\u6216\u7ec4\u7ec7\u5199\u4e00\u4e2a\u901a\u7528\u51c6\u786e\u7387\u3002<\/p>\n<h2 style=\"margin-top:30px;color:#183850;\">\u8f93\u51fa\u4e2d\u7684 cell\u3001cluster \u548c\u8fb9\u754c\u5404\u81ea\u56de\u7b54\u4ec0\u4e48<\/h2>\n<p>\u5206\u5b50\u8868\u4e2d\u7684 cell \u7528\u4e8e\u8fde\u63a5\u540c\u4e00\u6b21\u8fd0\u884c\u7684\u7ec6\u80de\u7edf\u8ba1\u548c\u8868\u8fbe\u6c47\u603b\uff0c\u96f6\u8868\u793a\u566a\u58f0\u6216\u672a\u5206\u914d\uff0c\u4e0d\u80fd\u4f5c\u4e3a\u7b2c\u56db\u9897\u7ec6\u80de\u8ba1\u5165\u7ec6\u80de\u7c7b\u578b\u6bd4\u4f8b\u3002\u5206\u5b50\u6216\u7ec6\u80de\u7ed3\u679c\u91cc\u8fd8\u53ef\u80fd\u51fa\u73b0 cluster\u3001\u5206\u914d\u7f6e\u4fe1\u7b49\u5b57\u6bb5\u3002\u4e00\u4e2a\u6574\u6570\u7fa4\u53f7\u4e0d\u81ea\u5e26\u751f\u7269\u5b66\u540d\u5b57\uff0c\u9700\u8981\u7ed3\u5408\u6240\u7528\u6a21\u578b\u548c\u6807\u8bb0\u6765\u89e3\u91ca\u3002\u6bd4\u5982\u672c\u6b21\u7ec6\u80de\u7f16\u53f7\u7684\u987a\u5e8f\u4e0e\u751f\u6210\u7684\u4e09\u56e2\u78b0\u5de7\u76f8\u7b26\uff0c\u5e76\u4e0d\u4ee3\u8868\u53e6\u4e00\u5f20\u5207\u7247\u4e2d\u7684 cell_1 \u4e0e\u8fd9\u91cc\u7684 cell_1 \u662f\u540c\u4e00\u79cd\u7ec6\u80de\uff0c\u66f4\u4e0d\u4ee3\u8868\u662f\u540c\u4e00\u5b9e\u4f8b\u3002\u8de8\u6837\u672c\u6574\u7406\u65f6\uff0c\u5728\u7f16\u53f7\u524d\u52a0\u4e0a\u6837\u672c\u548c\u8fd0\u884c\u6807\u8bc6\uff0c\u5e76\u8bb0\u5f55\u5206\u5272\u7248\u672c\u3002<\/p>\n<p>\u8fb9\u754c\u6587\u4ef6\u670d\u52a1\u4e8e\u7a7a\u95f4\u5c55\u793a\u4e0e\u540e\u7eed\u5f62\u6001\u5206\u6790\uff0c\u4e0d\u5b9c\u53ea\u51ed\u4e00\u5f20\u586b\u8272\u56fe\u9a8c\u6536\u3002\u5982\u679c\u8ba1\u6570\u8868\u91cc\u6f0f\u6389\u7f16\u53f7\u4e3a\u96f6\u7684\u5206\u5b50\uff0c\u770b\u7740\u8fde\u8d2f\u7684\u8f6e\u5ed3\u53ef\u80fd\u4f1a\u7ed9\u4eba\u8fc7\u5ea6\u5b8c\u6574\u7684\u5370\u8c61\u3002\u53ef\u5c06\u539f\u59cb\u68c0\u6d4b\u70b9\u53e0\u5728\u56fe\u4e0a\uff0c\u7a81\u51fa\u663e\u793a\u672a\u5206\u914d\u70b9\u548c\u4f4e\u7f6e\u4fe1\u533a\u57df\uff0c\u91cd\u70b9\u770b\u9760\u8fd1\u7ec4\u7ec7\u8fb9\u7f18\u3001\u7ec6\u80de\u7d27\u8d34\u6216\u672c\u6765\u4fe1\u53f7\u8f83\u4f4e\u7684\u4f4d\u7f6e\u3002\u82e5\u8981\u7528\u63a8\u65ad\u8f6e\u5ed3\u505a\u7ec6\u80de\u9762\u79ef\u6bd4\u8f83\uff0c\u8fd8\u5e94\u786e\u8ba4\u8f93\u51fa\u5b9e\u4f8b\u4e0e\u5206\u5b50\u8868\u5c5e\u4e8e\u540c\u4e00\u6b21\u8fd0\u884c\uff0c\u67e5\u6e05\u8f93\u51fa\u683c\u5f0f\u3001\u5355\u4f4d\u53ca\u8fb9\u754c\u751f\u6210\u7684\u9650\u5236\u3002<a href=\"https:\/\/github.com\/kharchenkolab\/Baysor\/blob\/619f09dbbfc5ebcfd7e7d1c93978d9039cbe39f2\/docs\/outputs.md\">\u7ed3\u679c\u6587\u4ef6\u8bf4\u660e<\/a><\/p>\n<h2 style=\"margin-top:30px;color:#183850;\">\u534a\u5f84\u548c\u6700\u4f4e\u5206\u5b50\u53c2\u6570\u600e\u6837\u9009\u624d\u6709\u4f9d\u636e<\/h2>\n<p>\u6211\u4f1a\u5148\u5728\u6709\u4ee3\u8868\u6027\u7684\u89c6\u91ce\u91cc\u627e\u5230\u51e0\u9897\u8fb9\u754c\u76f8\u5bf9\u53ef\u4fe1\u7684\u7ec6\u80de\uff0c\u628a\u5176\u5c3a\u5bf8\u6362\u5230\u5206\u5b50\u5750\u6807\u6240\u7528\u5355\u4f4d\uff0c\u518d\u51b3\u5b9a\u6d4b\u8bd5\u534a\u5f84\u7684\u8303\u56f4\u3002\u6700\u4f4e\u5206\u5b50\u6570\u5219\u5e94\u7ed3\u5408\u9762\u677f\u8986\u76d6\u3001\u68c0\u6d4b\u6548\u7387\u548c\u7ec4\u7ec7\u7c7b\u578b\uff1b\u540c\u6837\u5927\u5c0f\u7684\u7ec6\u80de\u53ef\u80fd\u56e0\u4e3a\u5b9e\u9645\u6d4b\u5f97\u5f88\u5c11\u800c\u4e0d\u5bb9\u6613\u5f62\u6210\u7a33\u5b9a\u5b9e\u4f8b\u3002\u6bd4\u8f83\u53c2\u6570\u65f6\uff0c\u4e0d\u53ea\u770b\u6700\u7ec8\u7ec6\u80de\u603b\u6570\uff0c\u8fd8\u8981\u770b\u54ea\u4e9b\u5206\u5b50\u6362\u4e86\u5f52\u5c5e\u3001\u4f4e\u4fe1\u53f7\u533a\u57df\u662f\u5426\u6210\u7247\u88ab\u6392\u9664\u3001\u7d27\u6328\u7740\u7684\u4e24\u9897\u7ec6\u80de\u662f\u5426\u5408\u6210\u4e00\u9897\u3002\u4e24\u5957\u53c2\u6570\u5f97\u51fa\u76f8\u540c\u6570\u76ee\u7684\u5b9e\u4f8b\uff0c\u4ecd\u53ef\u80fd\u5bf9\u5e94\u5b8c\u5168\u4e0d\u540c\u7684\u7ec4\u7ec7\u8fb9\u754c\u3002<\/p>\n<p>\u8fd9\u6b21\u5bf9\u8d26\u8fd8\u9047\u5230\u4e00\u4e2a\u5b9e\u9645\u7ec6\u8282\uff1a\u5bfc\u51fa\u7684\u5206\u5b50\u5750\u6807\u6709\u5c0f\u6570\u820d\u5165\u3002\u76f4\u63a5\u8981\u6c42\u4e24\u4efd\u6d6e\u70b9\u5750\u6807\u6309\u5b57\u9762\u5b8c\u5168\u76f8\u7b49\uff0c\u5e76\u4e0d\u9002\u5408\u8fd9\u4e2a\u8f93\u51fa\u3002\u811a\u672c\u5148\u68c0\u67e5\u8fd9\u4e00\u4f8b\u4e2d\u8bb0\u5f55\u6570\u548c\u57fa\u56e0\u987a\u5e8f\uff0c\u518d\u6838\u5bf9\u6bcf\u5bf9\u5750\u6807\u662f\u5426\u5728\u5f88\u5c0f\u7684\u5bb9\u5dee\u5185\uff0c\u624d\u9010\u884c\u8fde\u63a5\u539f\u59cb\u70b9\u4e91\u3002\u8fd9\u4e2a\u505a\u6cd5\u4f9d\u8d56\u8be5\u6837\u4f8b\u6bcf\u4e00\u6761\u7684\u4f4d\u7f6e\u53ef\u533a\u5206\u4ee5\u53ca\u987a\u5e8f\u7ecf\u8fc7\u68c0\u67e5\uff0c\u5b9e\u9645\u9879\u76ee\u6700\u597d\u4fdd\u7559\u4e0a\u6e38\u7a33\u5b9a\u7684\u8f6c\u5f55\u672c\u7f16\u53f7\u3002\u590d\u73b0\u811a\u672c\u63a5\u53d7 Baysor \u53ef\u6267\u884c\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u4fdd\u5b58\u8f93\u5165\u3001\u5206\u5b50\u5f52\u5c5e\u8868\u3001\u7ec6\u80de\u8868\u548c\u4ea4\u53c9\u6838\u5bf9\u7ed3\u679c\u3002\u62ff\u5230\u81ea\u5df1\u7684\u6837\u672c\u65f6\uff0c\u5148\u628a\u5206\u6bcd\u548c\u53bb\u5411\u5bf9\u4e0a\uff0c\u518d\u8ba8\u8bba\u7ec6\u80de\u7fa4\u5dee\u5f02\u3002<\/p>\n<pre style=\"max-width:100%;overflow-x:auto;background:#f1f8ff;padding:14px;\"><code class=\"language-python\" style=\"color:#16354b;background:#f1f8ff;text-shadow:none;\">from pathlib import Path\nfrom tempfile import TemporaryDirectory\nimport subprocess\nimport sys\nimport numpy as np\nimport pandas as pd\n\nroot = Path(__file__).parent.resolve()\nexe = sys.argv[1]\nrng = np.random.default_rng(23)\nrows = []\nfor j, ((cx,cy),marker) in enumerate([((10,10),&quot;A&quot;),((35,11),&quot;B&quot;),((12,35),&quot;C&quot;)]):\n    for i,(dx,dy) in enumerate(rng.normal(0,1.3,(100,2))):\n        rows.append({&quot;x&quot;:cx+dx,&quot;y&quot;:cy+dy,&quot;gene&quot;:marker if i%5 else &quot;shared&quot;,&quot;cloud&quot;:j+1})\nrows.extend([{&quot;x&quot;:65+i*3,&quot;y&quot;:70+i*2,&quot;gene&quot;:&quot;shared&quot;,&quot;cloud&quot;:0} for i in range(6)])\nframe = pd.DataFrame(rows)\nframe.to_csv(root\/&quot;input.csv&quot;,index=False)\nwith TemporaryDirectory() as tmp:\n    out = Path(tmp)\/&quot;run&quot;\n    subprocess.run([exe,&quot;run&quot;,&quot;-m&quot;,&quot;20&quot;,&quot;-s&quot;,&quot;3&quot;,&quot;--threads&quot;,&quot;1&quot;,&quot;--iters&quot;,&quot;100&quot;,\n                    &quot;--count-matrix-format&quot;,&quot;tsv&quot;,&quot;-o&quot;,str(out),str(root\/&quot;input.csv&quot;)],check=True,cwd=tmp)\n    assign = pd.read_csv(out\/&quot;segmentation.csv&quot;)\n    cells = pd.read_csv(out\/&quot;segmentation_cell_stats.csv&quot;)\n    print(assign.columns.tolist(),cells.columns.tolist())\n    assign.to_csv(root\/&quot;molecules.csv&quot;,index=False)\n    cells.to_csv(root\/&quot;cells.csv&quot;,index=False)\n    assert frame.gene.tolist() == assign.gene.tolist()\n    np.testing.assert_allclose(frame[[&quot;x&quot;,&quot;y&quot;]],assign[[&quot;x&quot;,&quot;y&quot;]],atol=.0001,rtol=0)\n    check = pd.crosstab(frame.cloud,assign.cell)\n    check.to_csv(root\/&quot;assignment_by_cloud.csv&quot;)\n    print(check)\n    print(cells.to_string(index=False)[:1000])\n<\/code><\/pre>\n<p><a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-085-baysor-example.zip\">\u4e0b\u8f7d\u5b9e\u64cd\u4ee3\u7801\u3001\u793a\u4f8b\u6570\u636e\u4e0e\u590d\u73b0\u8bf4\u660e\uff08ZIP\uff09<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u8f6c\u5f55\u672c\u7a7a\u95f4\u4f4d\u7f6e\u63a8\u65ad\u7ec6\u80de\u8fb9\u754c<\/p>\n","protected":false},"author":1,"featured_media":70094,"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":[1,75],"tags":[450,605],"class_list":["post-70095","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-part","category-compute-environment","tag-baysor","tag-github-"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-085-kharchenkolab-baysor.png?fit=1080%2C860&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/70095","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=70095"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/70095\/revisions"}],"predecessor-version":[{"id":70694,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/70095\/revisions\/70694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/70094"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=70095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=70095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=70095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}