{"id":69842,"date":"2026-11-14T21:54:03","date_gmt":"2026-11-14T13:54:03","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=69842"},"modified":"2026-11-14T21:54:03","modified_gmt":"2026-11-14T13:54:03","slug":"banksy-cell-type-versus-neighborhood-lambda","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/banksy-cell-type-versus-neighborhood-lambda\/","title":{"rendered":"BANKSY \u5206\u51fa\u7684\u7a76\u7adf\u662f\u7ec6\u80de\u7c7b\u578b\uff0c\u8fd8\u662f\u4e00\u7247\u7ec4\u7ec7\u5fae\u73af\u5883\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>\u5728\u80bf\u7624\u8fb9\u7f18\u548c\u7ec4\u7ec7\u5185\u90e8\u5404\u627e\u5230\u4e00\u679a\u8868\u8fbe\u76f8\u4f3c\u7684\u514d\u75ab\u7ec6\u80de\uff0c\u5b83\u4eec\u5e94\u8be5\u88ab\u5f52\u5165\u540c\u4e00\u7fa4\u5417\uff1f\u5982\u679c\u76ee\u6807\u662f\u5efa\u7acb\u7ec6\u80de\u7c7b\u578b\u6e05\u5355\uff0c\u53ef\u80fd\u5e0c\u671b\u5b83\u4eec\u9760\u5728\u4e00\u8d77\u3002\u5982\u679c\u8981\u627e\u514d\u75ab\u7ec6\u80de\u805a\u96c6\u7684\u8fb9\u754c\u548c\u7ec4\u7ec7\u751f\u6001\u4f4d\uff0c\u5219\u5e0c\u671b\u56fe\u80fd\u4fdd\u7559\u4e24\u5904\u90bb\u91cc\u7684\u5dee\u5f02\u3002BANKSY \u5c06\u7ec6\u80de\u81ea\u8eab\u7684\u8868\u8fbe\u4e0e\u5468\u56f4\u90bb\u5c45\u7684\u8868\u8fbe\u7279\u5f81\u7ec4\u5408\u8d77\u6765\uff0c\u5141\u8bb8\u5206\u6790\u8005\u8c03\u6574\u4e24\u90e8\u5206\u7684\u76f8\u5bf9\u8d21\u732e\u3002\u540c\u4e00\u4efd\u5750\u6807\u548c\u8ba1\u6570\uff0c\u53ef\u80fd\u56e0\u7814\u7a76\u76ee\u6807\u4e0d\u540c\u800c\u5f97\u5230\u4e24\u5957\u90fd\u6709\u751f\u7269\u610f\u4e49\u7684\u5206\u7ec4\u3002\u5f20\u8d34\u7ed3\u679c\u524d\uff0c\u503c\u5f97\u5148\u7528\u5df2\u77e5\u7c7b\u578b\u548c\u5df2\u77e5\u533a\u57df\u5206\u522b\u68c0\u67e5\u6a21\u578b\u4fdd\u7559\u4e86\u4ec0\u4e48\u3002<a style=\"color:#75538d;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/www.nature.com\/articles\/s41588-024-01664-3\">BANKSY \u539f\u59cb\u7814\u7a76<\/a><\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u753b\u51fa\u4e24\u79cd\u771f\u503c\uff0c\u518d\u51b3\u5b9a\u600e\u6837\u8bc4\u4ef7<\/h2>\n<p>\u8bbe\u60f3\u4e00\u5f20\u516b\u4e58\u516b\u7684\u7a7a\u95f4\u7f51\u683c\uff0c\u5de6\u53f3\u534a\u533a\u90fd\u6709\u7532\u548c\u4e59\u4e24\u7c7b\u7ec6\u80de\u3002\u5de6\u4fa7\u4e59\u591a\u7532\u5c11\uff0c\u53f3\u4fa7\u7532\u591a\u4e59\u5c11\u3002\u6b64\u65f6\u201c\u662f\u4e0d\u662f\u7532\u7c7b\u201d\u548c\u201c\u4f4d\u4e8e\u5de6\u533a\u8fd8\u662f\u53f3\u533a\u201d\u6709\u5173\u8054\uff0c\u4f46\u6ca1\u6709\u4efb\u4f55\u4e00\u9879\u80fd\u5b8c\u5168\u66ff\u4ee3\u53e6\u4e00\u9879\u3002\u4f8b\u5982\u5de6\u533a\u7684\u5c11\u91cf\u7532\u7ec6\u80de\uff0c\u82e5\u81ea\u8eab\u7532\u6807\u8bb0\u53ef\u9760\uff0c\u5728\u7c7b\u578b\u56fe\u4e0a\u5e94\u80fd\u4e0e\u53f3\u533a\u7684\u7532\u7ec6\u80de\u63a5\u8fd1\u3002\u5728\u533a\u57df\u56fe\u4e0a\uff0c\u5b83\u8eab\u8fb9\u7684\u5927\u591a\u6570\u7ec6\u80de\u5374\u662f\u4e59\u7c7b\u3002\u5148\u7528\u8fd9\u4e2a\u4f8b\u5b50\u9884\u6f14\uff0c\u518d\u95ee\u81ea\u5df1\u7684\u6570\u636e\u4e2d\u6709\u6ca1\u6709\u7c7b\u4f3c\u7684\u4ea4\u53c9\u5bf9\u7167\uff0c\u6bd4\u5355\u770b\u4e00\u5f20\u805a\u7c7b\u56fe\u7684\u989c\u8272\u662f\u5426\u8fde\u7247\u66f4\u80fd\u8bf4\u660e\u6a21\u578b\u884c\u4e3a\u3002<\/p>\n<p>\u7814\u7a76\u6570\u636e\u6ca1\u6709\u6a21\u62df\u771f\u503c\u65f6\uff0c\u53ef\u4ece\u4e24\u6761\u9014\u5f84\u5bfb\u627e\u8fd1\u4f3c\u5bf9\u7167\u3002\u7ec6\u80de\u7c7b\u578b\u7528\u72ec\u7acb\u6807\u8bb0\u7ec4\u5408\u3001\u53ef\u4fe1\u7684\u53c2\u8003\u6ce8\u91ca\u6216\u6210\u50cf\u590d\u6838\uff0c\u7ec4\u7ec7\u533a\u57df\u7528\u75c5\u7406\u8f6e\u5ed3\u3001\u5c42\u72b6\u7ed3\u6784\u6216\u72ec\u7acb\u5b9a\u4e49\u7684\u89e3\u5256\u4f4d\u7f6e\u3002\u5c3d\u91cf\u9009\u53d6\u540c\u4e00\u79cd\u7c7b\u578b\u5206\u5e03\u5728\u4e0d\u540c\u533a\u57df\u3001\u540c\u4e00\u533a\u57df\u5305\u542b\u4e0d\u540c\u7c7b\u578b\u7684\u70b9\uff0c\u5206\u522b\u89c2\u5bdf\u5b83\u4eec\u7684\u76f8\u4f3c\u6027\u3002\u82e5\u67d0\u7c7b\u578b\u53ea\u51fa\u73b0\u4e8e\u67d0\u4e2a\u89e3\u5256\u533a\u57df\uff0c\u4e24\u4e2a\u76ee\u6807\u5728\u8fd9\u4efd\u6570\u636e\u91cc\u5929\u7136\u5171\u53d8\uff0c\u4efb\u4f55\u9ad8\u5206\u90fd\u5f88\u96be\u8bf4\u660e\u533a\u522b\u6765\u81ea\u7ec6\u80de\u5185\u5728\u72b6\u6001\u8fd8\u662f\u90bb\u91cc\u7ec4\u6210\u3002\u628a\u53ef\u4ea4\u53c9\u6bd4\u8f83\u548c\u65e0\u6cd5\u533a\u5206\u7684\u90e8\u5206\u5982\u5b9e\u6807\u5728\u6837\u672c\u56fe\u4e0a\uff0c\u6709\u52a9\u4e8e\u9009\u62e9\u540e\u7eed\u9a8c\u8bc1\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u90bb\u57df\u534a\u5f84\u4e0e\u90bb\u57df\u6743\u91cd\u662f\u4e24\u4e2a\u95ee\u9898<\/h2>\n<p>\u4f7f\u7528\u56fa\u5b9a\u90bb\u5c45\u6570\u65f6\uff0c\u7a0b\u5e8f\u5148\u6839\u636e\u7a7a\u95f4\u51e0\u4f55\u51b3\u5b9a\u4ece\u54ea\u4e9b\u7ec6\u80de\u63d0\u53d6\u90bb\u57df\u7279\u5f81\u3002\u5bc6\u96c6\u533a\u57df\u548c\u7a00\u758f\u533a\u57df\u5373\u4f7f\u90fd\u53d6\u516b\u4e2a\u6700\u8fd1\u90bb\uff0c\u5b9e\u9645\u8986\u76d6\u7684\u5fae\u7c73\u8303\u56f4\u4e5f\u53ef\u80fd\u4e0d\u540c\u3002\u5e94\u62bd\u67e5\u7ec4\u7ec7\u4e2d\u5fc3\u3001\u5207\u7247\u8fb9\u7f18\u548c\u660e\u663e\u7a7a\u6d1e\u4e24\u4fa7\u7684\u90bb\u5c45\u8ddd\u79bb\uff0c\u786e\u8ba4\u5c40\u90e8\u5e73\u5747\u6ca1\u6709\u8de8\u8fc7\u672c\u4e0d\u76f8\u8fde\u7684\u533a\u57df\u3002\u82e5\u6765\u6e90\u662f\u591a\u5f20\u5207\u7247\uff0c\u5148\u6838\u5b9e\u5404\u5f20\u5207\u7247\u7684\u5750\u6807\u7cfb\u548c\u90bb\u63a5\u6784\u9020\uff0c\u5c24\u5176\u8981\u907f\u514d\u4e24\u5f20\u5c40\u90e8\u5750\u6807\u4ece\u96f6\u5f00\u59cb\u7684\u7ec4\u7ec7\u5728\u62fc\u63a5\u540e\u4e92\u76f8\u8d21\u732e\u90bb\u5c45\u3002\u8fd9\u79cd\u6c61\u67d3\u4e00\u65e6\u5199\u5165\u90bb\u57df\u77e9\u9635\uff0c\u518d\u8c03\u4f4e\u90bb\u57df\u6743\u91cd\u4e5f\u6ca1\u6709\u4fee\u590d\u9519\u8bef\u7684\u7a7a\u95f4\u5173\u7cfb\u3002<\/p>\n<p>\u90bb\u57df\u6743\u91cd\u51b3\u5b9a\u8fd9\u4e9b\u7279\u5f81\u53c2\u4e0e\u4e0b\u4e00\u6b65\u8868\u5f81\u7684\u7a0b\u5ea6\u3002\u539f\u672c\u90bb\u57df\u9009\u62e9\u548c\u8ba1\u7b97\u7279\u5f81\u7684\u8bbe\u7f6e\u5e94\u5148\u56fa\u5b9a\uff0c\u518d\u6539\u53d8\u6743\u91cd\uff0c\u4ee5\u514d\u540c\u65f6\u6539\u53d8\u8bc1\u636e\u6765\u6e90\u548c\u6df7\u5408\u6bd4\u4f8b\u540e\u65e0\u6cd5\u89e3\u91ca\u5dee\u5f02\u3002\u9009\u62e9\u53c2\u6570\u65f6\uff0c\u4e0d\u5c11\u4eba\u53ea\u770b\u4e8c\u7ef4\u964d\u7ef4\u56fe\u6709\u591a\u5c11\u4e2a\u6f02\u4eae\u5206\u652f\u3002\u76f8\u540c\u7684\u90bb\u63a5\u8f93\u5165\u53ef\u4ee5\u56e0\u964d\u7ef4\u79cd\u5b50\u3001\u6295\u5f71\u548c\u7ed8\u56fe\u987a\u5e8f\u663e\u5f97\u66f4\u7d27\u6216\u66f4\u6563\u3002\u53ef\u4ee5\u5148\u56de\u5230\u5b9e\u9645\u7279\u5f81\u77e9\u9635\uff0c\u4e3a\u6bcf\u4e2a\u7ec6\u80de\u5728\u8868\u5f81\u7a7a\u95f4\u627e\u4e00\u4e2a\u6700\u8fd1\u90bb\uff0c\u518d\u5206\u522b\u7edf\u8ba1\u6700\u8fd1\u90bb\u662f\u5426\u540c\u7c7b\u578b\u3001\u662f\u5426\u540c\u533a\u57df\u3002\u4f5c\u8005\u4e5f\u63d0\u4f9b\u4e86\u5728\u540c\u4e00\u6570\u636e\u4e0a\u6bd4\u8f83\u591a\u7ec4\u53c2\u6570\u7684\u5b9e\u4f8b\u3002<a style=\"color:#75538d;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/prabhakarlab.github.io\/Banksy\/articles\/parameter-selection.html\">\u4f5c\u8005\u7684\u53c2\u6570\u9009\u62e9\u6559\u7a0b<\/a><\/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:#f9f1ff;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u90bb\u57df\u6743\u91cd<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#f9f1ff;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u6700\u8fd1\u90bb\u540c\u7c7b\u578b\u7684\u7ec6\u80de<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#f9f1ff;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u6700\u8fd1\u90bb\u540c\u533a\u57df\u7684\u7ec6\u80de<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#f9f1ff;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u4e24\u9879\u90fd\u76f8\u540c<\/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\">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\">63 \/ 64<\/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\">44 \/ 64<\/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\">44 \/ 64<\/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\">0.2<\/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\">62 \/ 64<\/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\">58 \/ 64<\/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 \/ 64<\/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\">0.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\">48 \/ 64<\/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\">63 \/ 64<\/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\">48 \/ 64<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<figure class=\"guide-figure\" style=\"margin:24px 0 28px\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wordpress\/wp-content\/uploads\/2026\/11\/banksy-cell-type-versus-neighborhood-lambda-guide.png\" alt=\"\u6700\u8fd1\u90bb\u8ba4\u7684\u662f\u7c7b\u578b\u8fd8\u662f\u533a\u57df\u300264 \u679a\u6a21\u62df\u7ec6\u80de\uff5c\u5de6\u53f3\u533a\u57df\u90fd\u542b\u4e24\u7c7b\u7ec6\u80de\uff0c\u53ea\u6539\u53d8\u90bb\u57df\u6743\u91cd\u3002\u6743\u91cd 0\uff0c\u540c\u7c7b\u578b 63\uff0c\u540c\u533a\u57df 44\uff0c\u6bd4\u8f83\u6bcf\u679a\u7ec6\u80de\u5728\u8868\u8fbe\u8868\u5f81\u4e2d\u7684\u6700\u8fd1\u90bb\u3002\u6743\u91cd 0.2\uff0c\u540c\u7c7b\u578b 62\uff0c\u540c\u533a\u57df 58\uff0c\u52a0\u5165\u5468\u56f4\u516b\u4e2a\u7a7a\u95f4\u90bb\u5c45\u7684\u5747\u503c\u3002\u6743\u91cd 0.8\uff0c\u540c\u7c7b\u578b 48\uff0c\u540c\u533a\u57df 63\uff0c\u4e24\u79cd\u6307\u6807\u5bf9\u5e94\u4e0d\u540c\u7684\u751f\u7269\u95ee\u9898\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\">64 \u679a\u6a21\u62df\u7ec6\u80de\uff5c\u5de6\u53f3\u533a\u57df\u90fd\u542b\u4e24\u7c7b\u7ec6\u80de\uff0c\u53ea\u6539\u53d8\u90bb\u57df\u6743\u91cd\u3002<\/figcaption><\/figure>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u5b9e\u8dd1\u7ecf\u9a8c\uff5c\u540c\u533a\u57df\u7684\u90bb\u5c45\u53d8\u591a\uff0c\u540c\u7c7b\u578b\u7684\u5374\u53d8\u5c11<\/h2>\n<p>\u6211\u4eec\u5728 R 4.5.2 \u5b89\u88c5 Banksy 1.6.0\uff0c\u751f\u6210\u516d\u5341\u56db\u679a\u7ec6\u80de\u3001\u4e09\u5341\u4e2a\u57fa\u56e0\u7684\u6a21\u62df\u8ba1\u6570\u3002\u5de6\u534a\u533a\u6709\u516b\u679a\u7532\u548c\u4e8c\u5341\u56db\u679a\u4e59\uff0c\u53f3\u534a\u533a\u6070\u597d\u76f8\u53cd\u3002\u7ed9\u6bcf\u79cd\u7c7b\u578b\u516d\u4e2a\u504f\u597d\u8868\u8fbe\u57fa\u56e0\uff0c\u56fa\u5b9a\u8f93\u5165\u79cd\u5b50\u4e09\u5341\u4e03\u3002\u5148\u6309\u7ec6\u80de\u603b\u91cf\u5f52\u4e00\u5316\u5e76\u53d6\u5bf9\u6570\uff0c\u518d\u7528\u516b\u4e2a\u6700\u8fd1\u90bb\u7684\u5747\u5300\u6743\u91cd\u6784\u9020\u90bb\u57df\u5747\u503c\uff0c\u4e0d\u8ba1\u7b97\u89d2\u5ea6\u68af\u5ea6\u7279\u5f81\u3002\u968f\u540e\u53d6\u90bb\u57df\u6743\u91cd\u96f6\u3001\u96f6\u70b9\u4e8c\u548c\u96f6\u70b9\u516b\uff0c\u4fdd\u6301\u9884\u5904\u7406\u548c\u90bb\u63a5\u65b9\u5f0f\u5b8c\u5168\u4e00\u81f4\u3002\u5bf9\u6bcf\u4efd\u6309\u7279\u5f81\u6807\u51c6\u5316\u5e76\u52a0\u6743\u7684\u77e9\u9635\u8ba1\u7b97\u7ec6\u80de\u95f4\u6b27\u6c0f\u8ddd\u79bb\uff0c\u6392\u9664\u7ec6\u80de\u81ea\u8eab\uff0c\u9010\u4e00\u63d0\u53d6\u6700\u8fd1\u90bb\u3002<a style=\"color:#75538d;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/prabhakarlab.github.io\/Banksy\/reference\/getBanksyMatrix.html\">\u7ec4\u5408\u7279\u5f81\u77e9\u9635\u7684\u63a5\u53e3\u4e0e\u53c2\u6570<\/a><\/p>\n<p>\u6743\u91cd\u4e3a\u96f6\u65f6\uff0c\u516d\u5341\u56db\u679a\u7ec6\u80de\u4e2d\u516d\u5341\u4e09\u679a\u7684\u6700\u8fd1\u90bb\u4e0e\u81ea\u5df1\u540c\u7c7b\u578b\uff0c\u53ea\u6709\u56db\u5341\u56db\u679a\u540c\u533a\u57df\u3002\u6743\u91cd\u96f6\u70b9\u4e8c\u65f6\u540c\u7c7b\u578b\u6570\u4e3a\u516d\u5341\u4e8c\uff0c\u540c\u533a\u57df\u6570\u5347\u81f3\u4e94\u5341\u516b\u3002\u6743\u91cd\u96f6\u70b9\u516b\u65f6\u540c\u7c7b\u578b\u6570\u964d\u5230\u56db\u5341\u516b\uff0c\u540c\u533a\u57df\u6570\u5374\u5347\u5230\u516d\u5341\u4e09\u3002\u8868\u4e2d\u6700\u540e\u4e00\u5217\u53e6\u5916\u8981\u6c42\u4e24\u9879\u540c\u65f6\u6210\u7acb\uff0c\u6570\u76ee\u4e0e\u524d\u4e24\u9879\u7684\u8f83\u5c0f\u503c\u4e5f\u4e0d\u5fc5\u76f8\u7b49\u3002\u8fd9\u6b21\u6211\u4eec\u76f4\u63a5\u68c0\u67e5\u7684\u662f\u8868\u5f81\u7a7a\u95f4\u91cc\u6bcf\u4e2a\u7ec6\u80de\u7684\u4e00\u4e2a\u6700\u8fd1\u90bb\uff0c\u6ca1\u6709\u989d\u5916\u8fd0\u884c\u793e\u533a\u805a\u7c7b\u3002\u56e0\u800c\u4e0d\u80fd\u628a\u56db\u5341\u516b\u9664\u4ee5\u516d\u5341\u56db\u5199\u6210\u805a\u7c7b\u8f6f\u4ef6\u7684\u5206\u7c7b\u51c6\u786e\u7387\uff0c\u66f4\u4e0d\u80fd\u628a\u96f6\u70b9\u4e8c\u5f53\u6210\u9002\u7528\u4e8e\u6240\u6709\u5207\u7247\u7684\u63a8\u8350\u53c2\u6570\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-r\">z &lt;- as.matrix(Banksy::getBanksyMatrix(s, M=0, lambda=0.2,\r\n    assay_name=&quot;logcounts&quot;, scale=TRUE, verbose=FALSE))\r\nD &lt;- as.matrix(dist(t(z)))   # \u6bcf\u5217\u662f\u4e00\u679a\u7ec6\u80de\r\ndiag(D) &lt;- Inf\r\nnn &lt;- apply(D, 1, which.min)\r\nc(same_type=sum(type == type[nn]), same_region=sum(block == block[nn]))\r\n<\/code><\/pre>\n<p>\u8fd8\u53ef\u4ee5\u628a\u8fd9\u5f20\u8868\u62c6\u7ec6\u4e00\u5c42\u3002\u603b\u4f53\u4e0a\u90bb\u57df\u6743\u91cd\u589e\u52a0\u65f6\u533a\u57df\u4e00\u81f4\u6027\u53d8\u9ad8\uff0c\u5c24\u5176\u503c\u5f97\u56de\u770b\u7684\uff0c\u662f\u5c11\u6570\u7c7b\u578b\u6563\u5728\u53e6\u4e00\u7fa4\u4e2d\u7684\u7ec6\u80de\u3002\u5206\u522b\u7edf\u8ba1\u201c\u5de6\u533a\u7684\u7532\u201d\u201c\u53f3\u533a\u7684\u4e59\u201d\u4e0e\u5f53\u5730\u591a\u6570\u7c7b\u7684\u7ed3\u679c\uff0c\u518d\u753b\u51fa\u53d1\u751f\u6700\u8fd1\u90bb\u66f4\u6362\u7684\u7ec6\u80de\u53ca\u5176\u539f\u59cb\u6807\u8bb0\u3002\u82e5\u5c11\u6570\u7c7b\u578b\u7684\u81ea\u8eab\u6807\u8bb0\u7a33\u5b9a\uff0c\u5374\u5728\u9ad8\u90bb\u57df\u6743\u91cd\u4e0b\u88ab\u5468\u56f4\u7fa4\u4f53\u5305\u56f4\uff0c\u8fd9\u53ef\u80fd\u6b63\u7b26\u5408\u751f\u6001\u4f4d\u56fe\u7684\u7528\u9014\u3002\u82e5\u4efb\u52a1\u662f\u7ed9\u7a00\u6709\u7c7b\u578b\u505a\u7ec6\u80de\u6ce8\u91ca\uff0c\u5c31\u5e94\u4fdd\u7559\u5176\u81ea\u8eab\u8868\u8fbe\u8bc1\u636e\uff0c\u5e76\u8c28\u614e\u5904\u7406\u7531\u90bb\u91cc\u4e3b\u5bfc\u7684\u6807\u7b7e\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u600e\u6837\u4ea4\u4ed8\u4e24\u5f20\u4e0d\u4f1a\u4e92\u76f8\u5192\u5145\u7684\u56fe<\/h2>\n<p>\u5728\u7c7b\u578b\u56fe\u65c1\u5217\u51fa\u6700\u80fd\u533a\u5206\u7c7b\u522b\u7684\u81ea\u8eab\u6807\u8bb0\uff0c\u5728\u533a\u57df\u56fe\u65c1\u5217\u51fa\u90bb\u5c45\u7ec4\u6210\u548c\u51e0\u4f55\u5c3a\u5ea6\u3002\u5982\u679c\u540c\u4e00\u4e2a\u5019\u9009\u7ed3\u6784\u5728\u524d\u8005\u677e\u6563\u3001\u540e\u8005\u8fde\u7247\uff0c\u53ef\u4ee5\u5199\u6210\u201c\u8be5\u7fa4\u5728\u5c40\u90e8\u5fae\u73af\u5883\u4e0a\u76f8\u4f3c\u201d\uff0c\u5e76\u5c55\u793a\u54ea\u4e9b\u90bb\u91cc\u7279\u5f81\u652f\u6491\u8fd9\u4e00\u89e3\u91ca\u3002\u82e5\u8981\u4e3b\u5f20\u53d1\u73b0\u4e86\u65b0\u7684\u7ec6\u80de\u4e9a\u578b\uff0c\u5e94\u8865\u56de\u7ec6\u80de\u81ea\u8eab\u548c\u8de8\u6837\u672c\u91cd\u590d\u7684\u8bc1\u636e\u3002\u5bf9\u5bc6\u5ea6\u5dee\u5f02\u5927\u7684\u5207\u7247\uff0c\u53ef\u4ee5\u518d\u53d8\u5316\u90bb\u5c45\u6570\u91cf\uff0c\u8ba8\u8bba\u7814\u7a76\u7ed3\u8bba\u662f\u5426\u8de8\u5c3a\u5ea6\u7a33\u5b9a\u3002\u8fd9\u6bd4\u5728\u6240\u6709\u53c2\u6570\u91cc\u6311\u4e00\u5f20\u8f6e\u5ed3\u6700\u6574\u9f50\u7684\u56fe\u66f4\u4fbf\u4e8e\u590d\u73b0\u3002<\/p>\n<p class=\"guide-end\" style=\"margin-top:1.6em;padding-top:1.0em;border-top:1px solid #d7e0e9\">\u9700\u8981\u5728\u591a\u5f20\u5207\u7247\u4e0a\u91cd\u590d\u6bd4\u8f83\u90bb\u5c45\u6570\u91cf\u3001\u6743\u91cd\u548c\u72ec\u7acb\u6837\u672c\u65f6\uff0c\u53ef\u4ee5\u5148\u56fa\u5b9a\u4e0a\u8ff0\u4e24\u79cd\u8bc4\u4ef7\uff0c\u518d\u5b89\u6392\u6279\u91cf\u8fd0\u884c\u3002\u7814\u7a76\u56e2\u961f\u53ef\u4e86\u89e3<a data-ysx-event=\"contact_click\" style=\"color:#75538d;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>\u5bf9\u4ea4\u9519\u5206\u5e03\u7684\u4e24\u79cd\u6a21\u62df\u7c7b\u578b\u505a\u6700\u8fd1\u90bb\u590d\u6838\uff0c\u91cf\u5316\u63d0\u9ad8 BANKSY \u90bb\u57df\u6743\u91cd\u65f6\u7c7b\u578b\u548c\u533a\u57df\u4e00\u81f4\u6027\u600e\u6837\u53d8\u5316\u3002<\/p>\n","protected":false},"author":1,"featured_media":69841,"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":[911,913,912],"class_list":["post-69842","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-transcriptomics","tag-banksy","tag-913","tag-912"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/banksy-cell-type-versus-neighborhood-lambda-guide.png?fit=1200%2C840&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/69842","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=69842"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/69842\/revisions"}],"predecessor-version":[{"id":69843,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/69842\/revisions\/69843"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/69841"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=69842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=69842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=69842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}