{"id":84057,"date":"2026-12-05T21:39:41","date_gmt":"2026-12-05T13:39:41","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=84057"},"modified":"2026-12-05T21:39:41","modified_gmt":"2026-12-05T13:39:41","slug":"spatial-bayesspace-demo","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/spatial-bayesspace-demo\/","title":{"rendered":"\u7a7a\u95f4\u805a\u7c7b\u9009\u591a\u5f3a\u7684\u5e73\u6ed1\u5148\u9a8c\uff1f\u7528\u771f\u5b9e\u4eba\u8111\u76ae\u5c427\u5c42\u5207\u7247\u5b9e\u8dd1BayesSpace\u4e0e6\u500d\u4e9a\u70b9\u4f4d\u589e\u5f3a"},"content":{"rendered":"<style>.ysx-wave8{width:100%;max-width:100%;box-sizing:border-box;font-size:18px;line-height:1.88;color:#1e293b;overflow-wrap:anywhere}.ysx-wave8 h2{font-size:25px;line-height:1.45;margin-top:36px;color:#0f172a}.ysx-wave8 h3{font-size:20px;line-height:1.45;margin-top:26px;color:#1e3a8a}.ysx-wave8 figure{margin:26px 0}.ysx-wave8 img{max-width:100%;height:auto;display:block;border-radius:10px;border:1px solid #dbe6f5}.ysx-wave8 figcaption{font-size:15px;color:#475569;line-height:1.68;margin-top:10px}.ysx-wave8 .table-scroll{overflow-x:auto;margin:18px 0}.ysx-wave8 table{border-collapse:collapse;min-width:520px;width:100%;font-size:15.5px}.ysx-wave8 td,.ysx-wave8 th{padding:11px 13px;border:1px solid #dbe6f5;text-align:left;vertical-align:top}.ysx-wave8 th{background:#eff6ff;color:#1e3a8a;font-weight:700}.ysx-wave8 pre{background:#f8fafc;border:1px solid #dbe6f5;border-radius:9px;padding:14px 16px;overflow-x:auto;font-size:14.5px;line-height:1.6;color:#0f172a}.ysx-wave8 code{background:#eff6ff;color:#1d4ed8;padding:2px 6px;border-radius:4px;font-size:.92em}.ysx-wave8 pre code{background:transparent;color:inherit;padding:0}.ysx-wave8 .cta{padding:18px 20px;background:#f0f7ff;border-left:4px solid #2563eb;border-radius:8px;margin:22px 0}.ysx-wave8 a{color:#2563eb;font-weight:600}<\/style>\n<article class=\"ysx-wave8\">\n<p class=\"cta\"><a href=\"https:\/\/www.biocloudservice.com\/spatial-lab\/bayesspace\/\">\u6253\u5f00\u4e91\u751f\u4fe1\u8d1d\u53f6\u65af\u7a7a\u95f4\u805a\u7c7b\u4e0e\u4e9a\u70b9\u4f4d\u589e\u5f3a\uff08BayesSpace\uff09\u5728\u7ebf\u5de5\u5177\uff0c\u4e00\u952e\u8fd0\u884c\u771f\u5b9e\u4eba\u8111\u76ae\u5c42\u6837\u4f8b<\/a>\u3002\u652f\u6301\u5207\u6362 Potts \u5e73\u6ed1\u53c2\u6570 gamma \u4e0e 6\u00d7\/9\u00d7 \u4e9a\u70b9\u4f4d\u589e\u5f3a\u6a21\u5f0f\u5e76\u5bfc\u51fa\u5b8c\u6574\u5206\u533a\u8868\u3002<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/12\/spatial-bayesspace-demo-figure.png\" alt=\"\u7a7a\u95f4\u805a\u7c7b\u9009\u591a\u5f3a\u7684\u5e73\u6ed1\u5148\u9a8c\uff1f\u7528\u771f\u5b9e\u4eba\u8111\u76ae\u5c427\u5c42\u5207\u7247\u5b9e\u8dd1BayesSpace\u4e0e6\u500d\u4e9a\u70b9\u4f4d\u589e\u5f3a\" loading=\"lazy\"><figcaption>BayesSpace 1.12.0 \u00b7 \u771f\u5b9e\u4eba\u7c7b\u80cc\u5916\u4fa7\u524d\u989d\u53f6\u76ae\u5c42\uff08DLPFC 151673\uff09496 \u70b9\u4e0e 2976 \u4e9a\u70b9\u4f4d\u5b9e\u6d4b<\/figcaption><\/figure>\n<h2>\u7a7a\u95f4\u5e73\u6ed1\u5148\u9a8c \u03b3 \u8d8a\u5927\uff0c\u5206\u51fa\u6765\u7684\u7ec4\u7ec7\u7ed3\u6784\u57df\u5c31\u8d8a\u51c6\u5417\uff1f<\/h2>\n<p>\u5728 10x Visium \u7b49\u9635\u5217\u5f0f\u7a7a\u95f4\u8f6c\u5f55\u7ec4\u5206\u6790\u4e2d\uff0c\u76f4\u63a5\u62ff\u5355\u7ec6\u80de\u6d41\u7a0b\u91cc\u7684 PCA + <code>mclust<\/code> \u6216 Louvain \u805a\u7c7b\u786c\u5957\uff0c\u5e38\u4f1a\u5728\u539f\u672c\u8fde\u7eed\u7684\u7ec4\u7ec7\u5c42\u5185\u90e8\u8dd1\u51fa\u661f\u661f\u70b9\u70b9\u7684\u201c\u6912\u76d0\u566a\u70b9\u201d\u3002Zhao \u7b49\u4eba\u63d0\u51fa\u7684 <strong>BayesSpace<\/strong> \u901a\u8fc7\u5728\u4f4e\u7ef4\u4e3b\u6210\u5206\u7a7a\u95f4\u5f15\u5165<strong>\u591a\u5143 t \u5206\u5e03\u4e0e Potts \u9a6c\u5c14\u53ef\u592b\u968f\u673a\u573a\u7a7a\u95f4\u5148\u9a8c<\/strong>\uff0c\u9f13\u52b1\u516d\u8fb9\u5f62\u6676\u683c\uff086 \u90bb\u57df\uff09\u6216\u65b9\u5f62\u6676\u683c\uff084 \u90bb\u57df\uff09\u4e0a\u7684\u76f8\u90bb\u70b9\u4f4d\u5f52\u5165\u540c\u4e00\u7a7a\u95f4\u57df\uff0c\u5e76\u80fd\u8fdb\u4e00\u6b65\u628a\u5355\u4e2a Visium \u70b9\u4f4d\u62c6\u6210 6 \u4e2a\u4e09\u89d2\u5f62\u4e9a\u70b9\u4f4d\u505a\u7edf\u8ba1\u91cd\u6784\u3002<\/p>\n<p>\u4f46\u5728\u771f\u5b9e\u8bfe\u9898\u91cc\uff0c\u5206\u6790\u8005\u6700\u5bb9\u6613\u5ffd\u7565\u7684\u4e00\u4e2a\u95ee\u9898\u662f\uff1a<strong>\u5e73\u6ed1\u5f3a\u5ea6\u53c2\u6570 <code>gamma<\/code> \u5e76\u4e0d\u662f\u8d8a\u5927\u8d8a\u597d<\/strong>\u3002\u5f53\u5207\u7247\u91cc\u540c\u65f6\u5b58\u5728\u51e0\u5341\u4e2a\u70b9\u4f4d\u539a\u7684\u767d\u8d28\u533a\u548c\u4ec5\u6709 1\u20142 \u4e2a\u70b9\u4f4d\u5bbd\u7684\u8584\u76ae\u8d28\u5c42\uff08\u5982\u4eba\u7c7b\u76ae\u5c42 L2 \u4e0e L4\uff09\u65f6\uff0c\u8fc7\u5f3a\u7684\u90bb\u57df\u60e9\u7f5a\u4f1a\u4e0d\u4f1a\u628a\u771f\u5b9e\u7684\u8584\u89e3\u5256\u5c42\u76f4\u63a5\u541e\u5e76\uff1f<\/p>\n<h2>\u5b9e\u6d4b\u6570\u636e\u4e0e 146 \u670d\u52a1\u5668\u8fd0\u884c\u73af\u5883\uff1aDLPFC 151673 \u4e03\u5c42\u76ae\u8d28\u7eb5\u5207\u6761\u5e26<\/h2>\n<p>\u4e3a\u4e86\u7528\u91d1\u6807\u51c6\u6ce8\u91ca\u5b9a\u91cf\u56de\u7b54\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u5728\u4e91\u751f\u4fe1 146 \u7b97\u529b\u670d\u52a1\u5668\uff08AMD EPYC 7542\uff0cR 4.5.0\uff0cBioconductor \u539f\u7248 <code>BayesSpace 1.12.0<\/code>\uff0c\u56fa\u5b9a\u968f\u673a\u79cd\u5b50 1729\uff09\u4e0a\uff0c\u4ece Maynard \u7b49\u4eba\u53d1\u8868\u4e8e <em>Nature Neuroscience<\/em> \u7684\u4eba\u7c7b\u80cc\u5916\u4fa7\u524d\u989d\u53f6\u76ae\u5c42\u7ecf\u5178\u5207\u7247 <code>151673<\/code> \u4e2d\uff0c\u63d0\u53d6\u4e86\u4e00\u6761\u5b8c\u6574\u8d2f\u7a7f\u8f6f\u8111\u819c\u81f3\u767d\u8d28\u7684\u8fde\u7eed\u7eb5\u5207\u6761\u5e26\uff08<code>col 36\u201349<\/code>\uff09\uff1a\u5171 <strong>496 \u4e2a\u771f\u5b9e Visium \u70b9\u4f4d\u30011800 \u4e2a\u5b9e\u6d4b\u9ad8\u53d8\u4e0e\u76ae\u8d28\u6807\u5fd7\u57fa\u56e0<\/strong>\uff08\u539f\u59cb\u975e\u8d1f\u6574\u6570\u8ba1\u6570\uff09\uff0c\u5b8c\u6574\u6db5\u76d6\u75c5\u7406\u5b66\u5bb6\u624b\u5de5\u6807\u6ce8\u7684\u4e03\u4e2a\u89e3\u5256\u5c42\u2014\u2014<code>L1<\/code>\uff0851 \u70b9\uff09\u3001<code>L2<\/code>\uff0816 \u70b9\uff09\u3001<code>L3<\/code>\uff0864 \u70b9\uff09\u3001<code>L4<\/code>\uff0823 \u70b9\uff09\u3001<code>L5<\/code>\uff0872 \u70b9\uff09\u3001<code>L6<\/code>\uff0880 \u70b9\uff09\u4e0e\u767d\u8d28 <code>WM<\/code>\uff08190 \u70b9\uff09\u3002<\/p>\n<p>\u5728\u540c\u4e00\u4efd\u8f93\u5165\u4e0a\uff0c\u6211\u4eec\u4e25\u683c\u8c03\u7528\u539f\u7248 <code>spatialPreprocess<\/code>\uff08\u63d0\u53d6\u524d 15 \u4e2a\u4e3b\u6210\u5206\uff09+ <code>spatialCluster<\/code>\uff08\u591a\u5143 t \u5206\u5e03\u6a21\u578b\uff0c2000 \u6b65 MCMC\uff0c\u524d 500 \u6b65\u4f5c\u4e3a burn-in\uff09\uff0c\u6b63\u9762\u5bf9\u6bd4\u4e86\u65e0\u7a7a\u95f4\u521d\u503c\u3001\u5f31\u5e73\u6ed1\uff08<code>\u03b3 = 1.0<\/code>\uff09\u3001\u5b98\u65b9 Visium \u9ed8\u8ba4\u5f3a\u5e73\u6ed1\uff08<code>\u03b3 = 3.0<\/code>\uff09\u4ee5\u53ca\u5f00\u542f <code>spatialEnhance<\/code> + <code>enhanceFeatures<\/code> \u7684 6 \u500d\u4e9a\u70b9\u4f4d\u589e\u5f3a\u6a21\u5f0f\u3002<\/p>\n<h2>\u56db\u7ec4\u6a21\u5f0f\u5b9e\u6d4b\u5bf9\u7167\uff1a\u4e3a\u4ec0\u4e48 \u03b3=1 \u7684\u91d1\u6807\u51c6 ARI \u53cd\u800c\u9ad8\u4e8e \u03b3=3\uff1f<\/h2>\n<div class=\"table-scroll\">\n<table>\n<thead>\n<tr>\n<th>\u8fd0\u884c\u65b9\u6848\uff08DLPFC 151673\uff0c496 \u70b9 \u00d7 1800 \u57fa\u56e0\uff09<\/th>\n<th>\u6709\u6548\u8f93\u51fa\u7c07\u6570<\/th>\n<th>6 \u8fd1\u90bb\u540c\u7c07\u7eaf\u5ea6<\/th>\n<th>\u91cd\u5206\u914d\u70b9\u4f4d\u6570<\/th>\n<th>\u5bf9\u7167 7 \u5c42\u75c5\u7406\u6ce8\u91ca ARI \/ NMI<\/th>\n<th>146 \u670d\u52a1\u5668\u8017\u65f6<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u65e0\u7a7a\u95f4\u57fa\u7ebf\uff08mclust \u524d 15 \u4e2a PC \u521d\u503c\uff09<\/td>\n<td>7 \u7c07\uff08\u70b9\u4f4d\u7ea7\uff09<\/td>\n<td>74.9%<\/td>\n<td>\u2014<\/td>\n<td>0.415 \/ 0.563<\/td>\n<td>\u2014<\/td>\n<\/tr>\n<tr>\n<td>BayesSpace \u5f31\u5e73\u6ed1\u5148\u9a8c\uff08q=7, \u03b3=1.0\uff09<\/td>\n<td>7 \u7c07\u5b8c\u6574\u4fdd\u7559<\/td>\n<td>78.3%<\/td>\n<td>113 \u70b9\uff0822.8%\uff09<\/td>\n<td>0.440 \/ 0.617<\/td>\n<td>21.2 \u79d2<\/td>\n<\/tr>\n<tr>\n<td>BayesSpace \u9ed8\u8ba4\u5f3a\u5e73\u6ed1\uff08q=7, \u03b3=3.0\uff09<\/td>\n<td>6 \u7c07\uff08\u8584\u8fc7\u6e21\u7c07 C5 \u88ab\u5e76\u5165\u90bb\u5c42\uff09<\/td>\n<td>91.7%<\/td>\n<td>73 \u70b9\uff0814.7%\uff09<\/td>\n<td>0.425 \/ 0.609<\/td>\n<td>22.3 \u79d2<\/td>\n<\/tr>\n<tr>\n<td>BayesSpace \u4e9a\u70b9\u4f4d\u589e\u5f3a\uff08q=7, \u03b3=3.0, 6\u00d7\uff09<\/td>\n<td>7 \u7c07\uff082976 \u4e2a\u4e9a\u70b9\u4f4d\uff0c\u8fb9\u754c\u6062\u590d 32 \u4e2a C5 \u5b50\u70b9\uff09<\/td>\n<td>91.7%\uff08\u7236\u70b9\u4f4d\uff09<\/td>\n<td>\u62c6\u5206\u4e3a 2976 \u4e9a\u70b9<\/td>\n<td>0.425 \/ 0.609<\/td>\n<td>115.8 \u79d2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u8fd9\u7ec4\u5b9e\u6d4b\u6570\u5b57\u628a\u201c\u7a7a\u95f4\u5e73\u6ed1\u7eaf\u5ea6\u201d\u548c\u201c\u8584\u5c42\u7ed3\u6784\u4fdd\u771f\u5ea6\u201d\u4e4b\u95f4\u7684\u6743\u8861\u63ed\u793a\u5f97\u975e\u5e38\u6e05\u695a\uff1a<\/p>\n<ul>\n<li><strong>\u9ed8\u8ba4\u5f3a\u5e73\u6ed1\uff08\u03b3 = 3.0\uff09\u663e\u8457\u538b\u5236\u566a\u70b9\uff0c\u4f46\u4f1a\u541e\u5e76\u7a84\u7c07<\/strong>\uff1a\u76f8\u6bd4\u65e0\u7a7a\u95f4 <code>mclust<\/code> \u521d\u503c\uff0c<code>\u03b3 = 3.0<\/code> \u628a\u5c40\u90e8 6 \u8fd1\u90bb\u540c\u7c07\u7eaf\u5ea6\u4ece <strong>74.9%<\/strong> \u5927\u5e45\u63a8\u9ad8\u5230 <strong>91.7%<\/strong>\uff0c\u4fee\u6b63\u4e86 73 \u4e2a\u6563\u5728\u70b9\u4f4d\uff1b\u4f46\u7531\u4e8e <code>L2<\/code>\uff0816 \u70b9\uff09\u548c <code>L4<\/code>\uff0823 \u70b9\uff09\u5728\u7eb5\u5207\u6761\u5e26\u4e2d\u539a\u5ea6\u4ec5 1\u20142 \u4e2a\u70b9\u4f4d\uff0c\u5f3a\u90bb\u57df\u60e9\u7f5a\u5c06\u521d\u503c\u4e2d 17 \u4e2a\u70b9\u7684\u8584\u8fc7\u6e21\u7c07 <code>C5<\/code> \u5b8c\u5168\u5e76\u5165\u76f8\u90bb\u4e2d\u6df1\u5c42\u76ae\u8d28\u7c07 <code>C6<\/code>\uff0c\u5bfc\u81f4\u6700\u7ec8\u53ea\u5269 6 \u4e2a\u975e\u7a7a\u7a7a\u95f4\u57df\u3002<\/li>\n<li><strong>\u9002\u5ea6\u8c03\u4f4e\u81f3 \u03b3 = 1.0 \u4fdd\u4f4f\u4e86\u5168\u90e8 7 \u4e2a\u7c07\uff0cARI \u4e0e NMI \u53cc\u53cc\u6700\u9ad8<\/strong>\uff1a\u5f53\u628a <code>gamma<\/code> \u4ece 3.0 \u964d\u5230 1.0 \u65f6\uff0c7 \u4e2a\u7a7a\u95f4\u7c07\u5168\u90e8\u5f97\u4ee5\u4fdd\u7559\uff08<code>C4<\/code> 59 \u70b9\u3001<code>C5<\/code> 95 \u70b9\u3001<code>C6<\/code> 83 \u70b9\u5206\u522b\u5bf9\u5e94\u4e0a\u4e2d\u4e0b\u76ae\u8d28\u5e26\uff09\uff0c\u5bf9\u7167\u75c5\u7406\u5b66\u5bb6\u4e03\u5c42\u6ce8\u91ca\u7684\u8c03\u6574\u5170\u5fb7\u6307\u6570 <code>ARI<\/code> \u8fbe\u5230\u5168\u7ec4\u6700\u9ad8\u7684 <strong>0.440<\/strong>\uff08<code>NMI = 0.617<\/code>\uff09\u3002<\/li>\n<li><strong>\u5f00\u542f 6\u00d7 \u4e9a\u70b9\u4f4d\u589e\u5f3a\uff08spatialEnhance\uff09\u53ef\u5728\u4ea4\u754c\u5904\u7ec6\u5316\u8fc7\u6e21\u5e26<\/strong>\uff1a\u5728 <code>\u03b3 = 3.0<\/code> \u57fa\u7840\u4e0a\u7ee7\u7eed\u8fd0\u884c <code>spatialEnhance<\/code>\uff0c496 \u4e2a\u6355\u83b7\u70b9\u88ab\u62c6\u5206\u4e3a <strong>2976 \u4e2a\u4e09\u89d2\u5f62\u4e9a\u70b9\u4f4d<\/strong>\uff1b\u539f\u672c\u5728\u70b9\u4f4d\u7ea7\u88ab\u541e\u5e76\u7684 <code>C5<\/code> \u5728\u5c42\u95f4\u8fc7\u6e21\u5e26\u91cd\u65b0\u5206\u79bb\u51fa 32 \u4e2a\u8fb9\u754c\u4e9a\u70b9\u4f4d\uff0c\u540c\u65f6\u901a\u8fc7 <code>enhanceFeatures<\/code> \u5c06 <code>PLP1<\/code>\u3001<code>MBP<\/code>\u3001<code>GFAP<\/code>\u3001<code>CRYAB<\/code>\u3001<code>CNP<\/code>\u3001<code>TF<\/code> \u7b49\u9ad3\u9798\u4e0e\u80f6\u8d28\u6807\u5fd7\u57fa\u56e0\u6620\u5c04\u81f3\u4e9a\u70b9\u4f4d\u5206\u8fa8\u7387\u3002<\/li>\n<\/ul>\n<figure><img decoding=\"async\" src=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/12\/spatial-bayesspace-demo-spatial.png\" alt=\"\u975e\u7a7a\u95f4\u805a\u7c7b\u521d\u503c\u4e0e BayesSpace \u7a7a\u95f4\u7ed3\u6784\u57df\u539f\u4f4d\u5206\u5e03\u5bf9\u6bd4\" loading=\"lazy\"><figcaption>\u56fe 1\uff1aDLPFC 151673 \u76ae\u5c42\u6761\u5e26\u5728\u65e0\u7a7a\u95f4 mclust \u521d\u503c\uff08\u5de6\uff09\u3001\u70b9\u4f4d\u7ea7 BayesSpace\uff08\u4e2d\uff0cq=7, \u03b3=3\uff09\u4e0e 6 \u500d\u4e9a\u70b9\u4f4d\u589e\u5f3a\u91cd\u6784\uff08\u53f3\uff0c2976 \u4e2a\u4e9a\u70b9\u4f4d\uff09\u4e0b\u7684\u7a7a\u95f4\u5206\u5e03\u5bf9\u6bd4\u3002<\/figcaption><\/figure>\n<h2>\u7ed3\u5408\u6807\u5fd7\u57fa\u56e0\u8bfb\u61c2\u65e0\u76d1\u7763\u7a7a\u95f4\u57df\u7684\u8eab\u4efd<\/h2>\n<p>BayesSpace \u8f93\u51fa\u7684 <code>C1..Cq<\/code> \u53ea\u662f\u7edf\u8ba1\u7c07\u7f16\u53f7\uff0c\u5fc5\u987b\u7ed3\u5408 <code>cluster_summary.tsv<\/code> \u4e0e <code>markers.tsv<\/code> \u8fd8\u539f\u7ec4\u7ec7\u5b66\u8eab\u4efd\u3002\u4ee5 <code>\u03b3 = 3.0<\/code> \u70b9\u4f4d\u7ea7\u7ed3\u679c\u4e3a\u4f8b\uff1a<\/p>\n<div class=\"table-scroll\">\n<table>\n<thead>\n<tr>\n<th>BayesSpace \u7a7a\u95f4\u57df\uff08\u03b3=3.0\uff09<\/th>\n<th>\u70b9\u4f4d\u6570\uff08\u5360\u6bd4\uff09<\/th>\n<th>6 \u8fd1\u90bb\u540c\u7c07\u7eaf\u5ea6<\/th>\n<th>\u663e\u8457\u5bcc\u96c6\u4ee3\u8868\u6807\u5fd7\u57fa\u56e0<\/th>\n<th>\u5bf9\u5e94\u4e3b\u5bfc\u75c5\u7406\u76ae\u8d28\u5c42<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>C1<\/td>\n<td>31 (6.2%)<\/td>\n<td>85.48%<\/td>\n<td>MGP,VIM,GFAP,MALAT1<\/td>\n<td>L1\uff08\u5c42\u7eaf\u5ea6 100.0%\uff09<\/td>\n<\/tr>\n<tr>\n<td>C2<\/td>\n<td>21 (4.2%)<\/td>\n<td>91.27%<\/td>\n<td>MALAT1,MUC1,SCGB2A2,TF<\/td>\n<td>WM\uff08\u5c42\u7eaf\u5ea6 100.0%\uff09<\/td>\n<\/tr>\n<tr>\n<td>C3<\/td>\n<td>134 (27.0%)<\/td>\n<td>93.66%<\/td>\n<td>TF,MOBP,MAG,PLP1<\/td>\n<td>WM\uff08\u5c42\u7eaf\u5ea6 100.0%\uff09<\/td>\n<\/tr>\n<tr>\n<td>C4<\/td>\n<td>62 (12.5%)<\/td>\n<td>86.29%<\/td>\n<td>ENC1,HPCAL1,HOPX,CCK<\/td>\n<td>L3\uff08\u5c42\u7eaf\u5ea6 41.94%\uff09<\/td>\n<\/tr>\n<tr>\n<td>C6<\/td>\n<td>178 (35.9%)<\/td>\n<td>96.35%<\/td>\n<td>NEFL,SYT1,LMO4,NEFM<\/td>\n<td>L5\uff08\u5c42\u7eaf\u5ea6 40.45%\uff09<\/td>\n<\/tr>\n<tr>\n<td>C7<\/td>\n<td>70 (14.1%)<\/td>\n<td>84.05%<\/td>\n<td>TF,MOBP,PLP1,GFAP<\/td>\n<td>WM\uff08\u5c42\u7eaf\u5ea6 50.0%\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<figure><img decoding=\"async\" src=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/12\/spatial-bayesspace-demo-secondary.png\" alt=\"\u7a7a\u95f4\u90bb\u57df\u540c\u8d28\u6027\u63d0\u5347\u4e0e\u7a7a\u95f4\u57df\u4ee3\u8868\u6807\u5fd7\u57fa\u56e0\u8c31\" loading=\"lazy\"><figcaption>\u56fe 2\uff1aPotts \u7a7a\u95f4\u5148\u9a8c\u524d\u540e\u7684\u5c40\u90e8 6 \u8fd1\u90bb\u540c\u7c07\u7eaf\u5ea6\u5bf9\u6bd4\uff08\u5de6\uff09\u4e0e\u5404\u7a7a\u95f4\u57df\u663e\u8457\u5bcc\u96c6\u6807\u5fd7\u57fa\u56e0 Z-score \u8868\u8fbe\u70ed\u56fe\uff08\u53f3\uff09\u3002<\/figcaption><\/figure>\n<p>\u4ece\u56fe 2 \u53f3\u4fa7\u70ed\u56fe\u53ef\u4ee5\u770b\u5230\u6e05\u6670\u7684\u5927\u8111\u76ae\u5c42\u2014\u767d\u8d28\u5206\u5b50\u68af\u5ea6\uff1a\u8868\u6d45\u5206\u5b50\u5c42\u7a7a\u95f4\u57df <code>C1<\/code>\uff08100% \u843d\u5728\u75c5\u7406\u6807\u6ce8 <code>L1<\/code>\uff09\u9ad8\u8868\u8fbe\u8f6f\u8111\u819c\/\u661f\u5f62\u80f6\u8d28\u76f8\u5173\u57fa\u56e0 <code>MGP<\/code>\u3001<code>VIM<\/code>\u3001<code>GFAP<\/code>\uff1b\u6d45\u4e2d\u5c42\u76ae\u8d28\u57df <code>C4<\/code> \u5bcc\u96c6\u9525\u4f53\u795e\u7ecf\u5143\u6807\u5fd7 <code>ENC1<\/code>\u3001<code>HPCAL1<\/code>\u3001<code>CCK<\/code>\uff1b\u4e2d\u6df1\u5c42\u76ae\u8d28\u57df <code>C6<\/code> \u5f3a\u8868\u8fbe\u795e\u7ecf\u4e1d\u86cb\u767d\u57fa\u56e0 <code>NEFL<\/code>\u3001<code>NEFM<\/code> \u4e0e\u7a81\u89e6\u56ca\u6ce1\u57fa\u56e0 <code>SYT1<\/code>\uff1b\u5e95\u90e8\u767d\u8d28\u57df <code>C3<\/code> \/ <code>C7<\/code> \u5219\u96c6\u4e2d\u9ad8\u8868\u8fbe\u5c11\u7a81\u80f6\u8d28\u9ad3\u9798\u6838\u5fc3\u57fa\u56e0 <code>MOBP<\/code>\u3001<code>PLP1<\/code>\u3001<code>MAG<\/code> \u4e0e <code>TF<\/code>\u3002<\/p>\n<h2>\u672c\u5730 R \u590d\u73b0\u4ee3\u7801\u4e0e\u4e00\u4e2a\u5bb9\u6613\u8e29\u7684\u5750\u6807\u65b9\u5411\u5751<\/h2>\n<p>\u5728\u672c\u5730\u8c03\u7528 <code>BayesSpace<\/code>\uff0c\u9664\u4e86\u5fc5\u987b\u63d0\u4f9b\u6574\u6570\u9635\u5217\u7f51\u683c\u5217 <code>row<\/code> \u548c <code>col<\/code> \u5916\uff0c\u8fd0\u884c <code>spatialEnhance<\/code> \u65f6\u8fd8\u6709\u4e00\u4e2a\u9690\u85cf\u7ec6\u8282\uff1a\u5305\u5185\u90e8\u51fd\u6570 <code>.compute_interspot_distances()<\/code> \u4f1a\u7528\u7ebf\u6027\u56de\u5f52 <code>coef(lm(imagerow ~ row))[2]<\/code> \u4f30\u7b97\u70b9\u95f4\u8ddd\u3002\u5982\u679c\u60a8\u4e3a\u4e86\u7ed8\u56fe\u6b63\u5411\u671d\u4e0a\u800c\u628a\u7269\u7406\u5750\u6807\u7ffb\u6210\u4e86\u8d1f\u53f7\uff08\u4f8b\u5982\u4ee4 <code>imagerow = -y<\/code> \u5bfc\u81f4\u5b83\u4e0e <code>row<\/code> \u8d1f\u76f8\u5173\uff09\uff0c\u7b97\u51fa\u7684 <code>ydist<\/code> \u4f1a\u53d8\u6210\u8d1f\u6570\u5e76\u7834\u574f\u4e9a\u70b9\u4f4d\u8fd1\u90bb\u56fe\uff01\u5728\u7ebf\u5de5\u5177\u5df2\u5728\u5e95\u5c42\u81ea\u52a8\u68c0\u6d4b\u534f\u65b9\u5dee\u7b26\u53f7\u5e76\u5728\u8f93\u51fa\u65f6\u8fd8\u539f\u7269\u7406\u5750\u6807\u65b9\u5411\u3002<\/p>\n<pre><code>library(SingleCellExperiment)\r\nlibrary(BayesSpace)\r\n\r\nsce &lt;- SingleCellExperiment(\r\n  assays = list(counts = sp_counts),\r\n  colData = DataFrame(row = coords$row, col = coords$col,\r\n                      imagecol = coords$x, imagerow = coords$y)\r\n)\r\nsce &lt;- spatialPreprocess(sce, platform = \"Visium\", n.PCs = 15, n.HVGs = 1800)\r\nsce &lt;- spatialCluster(sce, q = 7, platform = \"Visium\", d = 15,\r\n                      model = \"t\", gamma = 3.0, nrep = 2000, burn.in = 500)\r\n# \u53ef\u9009\uff1a6 \u500d Visium \u4e9a\u70b9\u4f4d\u5206\u8fa8\u7387\u589e\u5f3a\r\nsce_enh &lt;- spatialEnhance(sce, q = 7, platform = \"Visium\", d = 15,\r\n                          gamma = 3.0, nrep = 2000, burn.in = 500)<\/code><\/pre>\n<h3>\u5728\u4e91\u751f\u4fe1\u7a7a\u95f4\u5b9e\u9a8c\u5ba4\u76f4\u63a5\u8bd5\u8dd1<\/h3>\n<ol>\n<li>\u6253\u5f00 <a href=\"https:\/\/www.biocloudservice.com\/spatial-lab\/bayesspace\/\">\u8d1d\u53f6\u65af\u7a7a\u95f4\u805a\u7c7b\u4e0e\u4e9a\u70b9\u4f4d\u589e\u5f3a\uff08BayesSpace\uff09\u5728\u7ebf\u5de5\u5177<\/a>\uff0c\u9ed8\u8ba4\u52a0\u8f7d\u672c\u6587 DLPFC 151673 \u771f\u5b9e\u76ae\u5c42\u6837\u4f8b\uff0c\u70b9\u51fb\u201c\u8fd0\u884c\u6837\u4f8b\u201d\u7ea6 20 \u79d2\u5373\u53ef\u67e5\u770b\u7a7a\u95f4\u57df\u5bf9\u6bd4\u56fe\u4e0e\u6807\u5fd7\u57fa\u56e0\u8868\u3002<\/li>\n<li>\u5c06\u53c2\u6570 <code>gamma<\/code> \u6539\u4e3a <code>1.0<\/code>\uff0c\u6216\u5c06\u201c\u4e9a\u70b9\u4f4d\u5206\u8fa8\u7387\u589e\u5f3a\u201d\u5207\u4e3a\u201c\u662f\u201d\uff0c\u76f4\u89c2\u5bf9\u6bd4\u540c\u4e00\u5757\u76ae\u5c42\u5728\u4e0d\u540c\u5e73\u6ed1\u5f3a\u5ea6\u4e0e\u4e9a\u70b9\u4f4d\u62c6\u5206\u4e0b\u7684\u53d8\u5316\u3002<\/li>\n<li>\u4e0b\u8f7d\u6837\u4f8b\u5305\u5bf9\u7167\u4e0b\u8868\u6574\u7406\u81ea\u5df1\u7684 Space Ranger \u77e9\u9635\u4e0e\u5750\u6807\uff08<code>row<\/code> \/ <code>col<\/code>\uff09\uff0c\u5373\u53ef\u76f4\u63a5\u4e0a\u4f20\u8fd0\u884c\u3002<\/li>\n<\/ol>\n<div class=\"table-scroll\">\n<table>\n<thead>\n<tr>\n<th>\u8f93\u5165\u6587\u4ef6<\/th>\n<th>\u683c\u5f0f\u4e0e\u6838\u5fc3\u68c0\u67e5\u8981\u6c42<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u7a7a\u95f4\u539f\u59cb\u8ba1\u6570\u77e9\u9635 TSV<\/td>\n<td>\u9996\u5217 gene_id\uff0c\u540e\u7eed\u5217\u4e3a spot_id\uff1b\u987b\u4e3a\u672a\u7ecf log\/\u5f52\u4e00\u5316\u7684\u975e\u8d1f\u6574\u6570 UMI \u8ba1\u6570\uff0840\u20131500 \u4e2a\u70b9\u4f4d\uff0c50\u20136000 \u4e2a\u57fa\u56e0\uff09\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u7a7a\u95f4\u5750\u6807\u4e0e\u9635\u5217\u884c\u5217\u53f7 TSV<\/td>\n<td>\u987b\u5305\u542b spot_id\u3001x\u3001y\u3001row\u3001col \u4e94\u5217\uff08row\/col \u4e3a Space Ranger \u8f93\u51fa\u7684\u6574\u6570\u9635\u5217\u884c\u5217\u53f7\uff09\uff1b\u53ef\u9009\u7b2c 6 \u5217 reference_layer \u7528\u4e8e\u8ba1\u7b97\u4e0e\u5df2\u77e5\u5206\u5c42\u7684 ARI\/NMI\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>\u9002\u7528\u8303\u56f4\u4e0e\u89e3\u91ca\u8fb9\u754c<\/h2>\n<p>\u7b2c\u4e00\uff0c<code>BayesSpace<\/code> \u4e25\u683c\u4f9d\u8d56 Visium \u516d\u8fb9\u5f62\u6216 ST \u65b9\u5f62\u89c4\u5219\u9635\u5217\u884c\u5217\u53f7\uff08<code>row, col<\/code>\uff09\uff1b\u82e5\u60a8\u7684\u6570\u636e\u662f MERFISH\u3001Xenium\u3001CosMx \u6216 Slide-seq \u7b49<strong>\u975e\u89c4\u5219\u8fde\u7eed\u4e8c\u7ef4\u5355\u7ec6\u80de\u5750\u6807<\/strong>\uff0c\u8bf7\u6539\u7528\u540c\u76ee\u5f55\u4e0b\u7684 <a href=\"https:\/\/www.biocloudservice.com\/spatial-lab\/banksy\/\">BANKSY \u5728\u7ebf\u5de5\u5177<\/a>\u3002\u7b2c\u4e8c\uff0c<code>spatialEnhance<\/code> \u91cd\u6784\u51fa\u7684\u4e9a\u70b9\u4f4d\u8868\u8fbe\u672c\u8d28\u4e0a\u662f\u5728\u7236\u70b9\u4f4d\u4e3b\u6210\u5206\u5747\u503c\u7ea6\u675f\u4e0b\u7684\u7edf\u8ba1\u7a7a\u95f4\u63d2\u503c\uff0c\u9002\u5408\u8f85\u52a9\u63cf\u7ed8\u5c42\u95f4\u8fb9\u754c\uff0c\u4e0d\u80fd\u76f4\u63a5\u66ff\u4ee3\u5355\u5206\u5b50\u539f\u4f4d\u6742\u4ea4\u7684\u771f\u5b9e\u4e9a\u7ec6\u80de\u8bfb\u6570\u3002<\/p>\n<h2>\u65b9\u6cd5\u4e0e\u516c\u5f00\u6570\u636e\u6765\u6e90<\/h2>\n<ul>\n<li><a href=\"https:\/\/doi.org\/10.1038\/s41587-021-00935-2\">Zhao et al., Spatial transcriptomics at subspot resolution with BayesSpace, Nature Biotechnology 2021<\/a><\/li>\n<li><a href=\"https:\/\/bioconductor.org\/packages\/release\/bioc\/html\/BayesSpace.html\">Bioconductor BayesSpace \u5b98\u65b9\u8f6f\u4ef6\u5305\u6587\u6863<\/a><\/li>\n<li><a href=\"https:\/\/doi.org\/10.1038\/s41593-020-00787-0\">Maynard et al., Transcriptome-scale spatial gene expression in the human dorsolateral prefrontal cortex, Nature Neuroscience 2021<\/a><\/li>\n<\/ul>\n<p>\u672c\u6587\u5168\u90e8\u7edf\u8ba1\u6307\u6807\u4e0e\u914d\u56fe\u5747\u7531 2026 \u5e74 12 \u6708 5 \u65e5\u5728\u4e91\u751f\u4fe1 146 \u7b97\u529b\u670d\u52a1\u5668\u5b9e\u8dd1\u539f\u7248 <code>BayesSpace 1.12.0<\/code> \u751f\u6210\u3002\u5728\u7ebf\u7248\u652f\u6301 1500 \u70b9\u4f4d\u4ee5\u5185\u5207\u7247\u5feb\u901f\u8c03\u53c2\u4e0e\u4e9a\u70b9\u4f4d\u9a8c\u8bc1\uff1b\u82e5\u9700\u5728\u6570\u5343\u81f3\u6570\u4e07\u70b9\u5168\u5207\u7247\u4e0a\u6267\u884c 5 \u4e07\u6b65\u4ee5\u4e0a\u5b8c\u6574 MCMC \u94fe\u6536\u655b\u8bca\u65ad\u6216\u591a\u6837\u672c\u8054\u5408\u5206\u6790\uff0c\u53ef\u5728 <a href=\"https:\/\/www.biocloudservice.com\/spatial-lab\/bayesspace\/\">\u5728\u7ebf BayesSpace \u5de5\u5177<\/a> \u6478\u6e05\u5408\u9002 <code>q<\/code> \u4e0e <code>gamma<\/code> \u540e\uff0c\u5e73\u6ed1\u8854\u63a5 <a href=\"https:\/\/www.biocloudservice.com\/bioagent\/\">BioAgent<\/a> \u6216\u4e91\u751f\u4fe1\u72ec\u4eab\u7b97\u529b\u670d\u52a1\u5668\u8fd0\u884c\u3002<\/p>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u4e8e Maynard \u7b49\u4eba\u771f\u5b9e\u4eba\u7c7b\u524d\u989d\u53f6\u76ae\u5c42 DLPFC 151673 \u4e03\u5c42\u7eb5\u5207\u5207\u7247\uff0c\u5b9e\u8dd1\u539f\u7248 BayesSpace \u5bf9\u6bd4 \u03b3=1 \u4e0e \u03b3=3 \u5e73\u6ed1\u5148\u9a8c\u5bf9\u8584\u76ae\u8d28\u5c42\u7684\u5f71\u54cd\u53ca 6 \u500d\u4e9a\u70b9\u4f4d\u5206\u8fa8\u7387\u589e\u5f3a\u3002<\/p>\n","protected":false},"author":1,"featured_media":84058,"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":[743,4298,1929,504,4297],"class_list":["post-84057","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-single-cell","tag-bayesspace","tag-4298","tag-1929","tag-504","tag-4297"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/12\/spatial-bayesspace-demo-figure.png","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/84057","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=84057"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/84057\/revisions"}],"predecessor-version":[{"id":84061,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/84057\/revisions\/84061"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/84058"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=84057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=84057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=84057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}