{"id":84067,"date":"2026-12-05T22:40:53","date_gmt":"2026-12-05T14:40:53","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=84067"},"modified":"2026-12-05T22:40:53","modified_gmt":"2026-12-05T14:40:53","slug":"spatial-sparkx-demo","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/spatial-sparkx-demo\/","title":{"rendered":"SPARK-X\u9009\u6df7\u5408\u6838\u8fd8\u662f\u6295\u5f71\u6838\uff1f\u7528\u771f\u5b9e\u4e73\u817a\u764c\u5207\u7247\u5bf9\u716711\u6838\u7a7a\u95f4\u53d8\u5f02\u57fa\u56e0\u4e0e\u5206\u533a\u534f\u53d8\u91cf\u6821\u6b63"},"content":{"rendered":"<style>.ysx-wave9{width:100%;max-width:100%;box-sizing:border-box;font-size:18px;line-height:1.88;color:#1e293b;overflow-wrap:anywhere}.ysx-wave9 h2{font-size:25px;line-height:1.45;margin-top:36px;color:#0f172a}.ysx-wave9 h3{font-size:20px;line-height:1.45;margin-top:26px;color:#1e3a8a}.ysx-wave9 figure{margin:26px 0}.ysx-wave9 img{max-width:100%;height:auto;display:block;border-radius:10px;border:1px solid #dbe6f5}.ysx-wave9 figcaption{font-size:15px;color:#475569;line-height:1.68;margin-top:10px}.ysx-wave9 .table-scroll{overflow-x:auto;margin:18px 0}.ysx-wave9 table{border-collapse:collapse;min-width:520px;width:100%;font-size:15.5px}.ysx-wave9 td,.ysx-wave9 th{padding:11px 13px;border:1px solid #dbe6f5;text-align:left;vertical-align:top}.ysx-wave9 th{background:#eff6ff;color:#1e3a8a;font-weight:700}.ysx-wave9 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-wave9 code{background:#eff6ff;color:#1d4ed8;padding:2px 6px;border-radius:4px;font-size:.92em}.ysx-wave9 pre code{background:transparent;color:inherit;padding:0}.ysx-wave9 .cta{padding:18px 20px;background:#f0f7ff;border-left:4px solid #2563eb;border-radius:8px;margin:22px 0}.ysx-wave9 a{color:#2563eb;font-weight:600}<\/style>\n<article class=\"ysx-wave9\">\n<p class=\"cta\"><a href=\"https:\/\/www.biocloudservice.com\/spatial-lab\/sparkx\/\">\u6253\u5f00\u4e91\u751f\u4fe1\u9ad8\u901f\u591a\u6838\u7a7a\u95f4\u53d8\u5f02\u57fa\u56e0\u68c0\u9a8c\uff08SPARK-X\uff09\u5728\u7ebf\u5de5\u5177\uff0c\u4e00\u952e\u8fd0\u884c\u771f\u5b9e\u4eba\u7c7b\u4e73\u817a\u764c\u6837\u4f8b<\/a>\u3002\u57fa\u4e8e\u539f\u7248 SPARK \u975e\u53c2\u6570\u534f\u65b9\u5dee\u6838\u68c0\u9a8c\uff0c\u79d2\u7ea7\u8f93\u51fa 11 \u6838\u660e\u7ec6 P \u503c\u4e0e BY \u6821\u6b63\u7ed3\u679c\u3002<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/12\/spatial-sparkx-demo-figure.png\" alt=\"SPARK-X\u9009\u6df7\u5408\u6838\u8fd8\u662f\u6295\u5f71\u6838\uff1f\u7528\u771f\u5b9e\u4e73\u817a\u764c\u5207\u7247\u5bf9\u716711\u6838\u7a7a\u95f4\u53d8\u5f02\u57fa\u56e0\u4e0e\u5206\u533a\u534f\u53d8\u91cf\u6821\u6b63\" loading=\"lazy\"><figcaption>SPARK 1.1.1 (sparkx) \u00b7 \u771f\u5b9e\u4eba\u7c7b\u4e73\u817a\u764c\u5207\u7247 251 \u70b9 \u00d7 2500 \u57fa\u56e0\u4e09\u6a21\u5f0f\u5b9e\u6d4b\u5bf9\u7167<\/figcaption><\/figure>\n<h2>\u603b\u6570\u770b\u8d77\u6765\u5dee\u4e0d\u591a\uff08798 vs 792\uff09\uff0c\u4e3a\u4ec0\u4e48\u5185\u90e8\u5374\u6362\u6389\u4e86\u4e09\u5206\u4e4b\u4e00\u7684\u57fa\u56e0\uff1f<\/h2>\n<p>\u5728\u7a7a\u95f4\u8f6c\u5f55\u7ec4\u5206\u6790\u4e2d\uff0c\u7b5b\u9009<strong>\u7a7a\u95f4\u53d8\u5f02\u57fa\u56e0\uff08Spatially Variable Genes, SVG\uff09<\/strong>\u662f\u8fde\u63a5\u8d28\u63a7\u4e0e\u4e0b\u6e38\u6a21\u5757\u6316\u6398\u7684\u5173\u952e\u4e00\u6b65\u3002Zhu\u3001Sun \u4e0e Zhou \u5728 <em>Genome Biology<\/em> \u63d0\u51fa\u7684 <strong>SPARK-X<\/strong> \u4e4b\u6240\u4ee5\u6210\u4e3a\u5927\u961f\u5217\u4e0e\u9ad8\u5206\u8fa8\u7387\u5207\u7247\u7684\u4e3b\u6d41\u5de5\u5177\uff0c\u6838\u5fc3\u5728\u4e8e\u5b83\u629b\u5f03\u4e86\u8017\u65f6\u7684\u8d1f\u4e8c\u9879\u5e7f\u4e49\u7ebf\u6027\u6df7\u5408\u6a21\u578b\u8fed\u4ee3\uff0c\u6539\u7528\u975e\u53c2\u6570\u534f\u65b9\u5dee\u6838\u68c0\u9a8c\uff1a\u51e0\u79d2\u949f\u5c31\u80fd\u5b8c\u6210\u6570\u5343\u57fa\u56e0\u7684\u7cbe\u786e\u89e3\u6790 P \u503c\u8ba1\u7b97\u3002<\/p>\n<p>\u7136\u800c\u5728\u5b9e\u9645\u4f7f\u7528 <code>sparkx()<\/code> \u65f6\uff0c\u5f88\u591a\u5206\u6790\u8005\u5bf9\u4e24\u4e2a\u6838\u5fc3\u53c2\u6570\u53ea\u505c\u7559\u5728\u5b57\u9762\u7406\u89e3\uff1a\u7b2c\u4e00\uff0c<code>option = \"mixture\"<\/code>\uff0811 \u4e2a\u7a7a\u95f4\u6838\u7ecf ACAT \u67ef\u897f\u89c4\u5219\u5408\u5e76\uff09\u548c <code>option = \"single\"<\/code>\uff08\u4ec5\u7528 1 \u4e2a\u7ebf\u6027\u6295\u5f71\u6838\uff09\u7a76\u7adf\u5dee\u5728\u54ea\u91cc\uff1f\u7b2c\u4e8c\uff0c\u4f20\u5165\u534f\u53d8\u91cf\u77e9\u9635 <code>X_in<\/code> \u524d\u540e\uff0c\u7b5b\u51fa\u6765\u7684 SVG \u542b\u4e49\u6709\u4ec0\u4e48\u672c\u8d28\u53d8\u5316\uff1f<\/p>\n<h2>\u5b9e\u6d4b\u6570\u636e\u4e0e 146 \u670d\u52a1\u5668\u73af\u5883\uff1aSt\u00e5hl \u771f\u5b9e\u4eba\u7c7b\u4e73\u817a\u764c\u5207\u7247<\/h2>\n<p>\u6211\u4eec\u5728\u4e91\u751f\u4fe1 146 \u7b97\u529b\u670d\u52a1\u5668\uff08AMD EPYC 7542\uff0cR 4.5.0\uff0c<code>SPARK 1.1.1<\/code>\uff09\u4e0a\uff0c\u91c7\u7528\u4f5c\u8005\u5305\u5b98\u65b9\u5185\u7f6e\u7684 St\u00e5hl \u7b49\u4eba\uff08<em>Science<\/em> 2016\uff09\u771f\u5b9e\u4eba\u7c7b\u6d78\u6da6\u6027\u5bfc\u7ba1\u4e73\u817a\u764c\u5207\u7247\uff08<code>Layer2_BC_Count<\/code>\uff09\uff1a\u4fdd\u7559\u5168\u90e8 <strong>251 \u4e2a\u771f\u5b9e\u6355\u83b7\u70b9\u4f4d\u4e0e 2500 \u4e2a\u5b9e\u6d4b\u9ad8\u53d8\u8868\u8fbe\u57fa\u56e0<\/strong>\uff08\u539f\u59cb\u975e\u8d1f\u6574\u6570\u8ba1\u6570\u672a\u4fee\u6539\uff09\uff0c\u5e76\u9644\u4e0a\u57fa\u4e8e <code>ERBB2\/EPCAM<\/code> \u4e0e\u95f4\u8d28\u80f6\u539f\u6a21\u5757\u5212\u5206\u7684\u533a\u57df\u6807\u7b7e\u7528\u4e8e\u534f\u53d8\u91cf\u5bf9\u7167\u3002<\/p>\n<p>\u5728\u540c\u4e00\u4efd\u8ba1\u6570\u77e9\u9635\u4e0a\uff0c\u6211\u4eec\u8fde\u7eed\u5b9e\u8dd1\u4e86\u4e09\u7ec4\u914d\u7f6e\uff08\u5747\u91c7\u7528 SPARK-X \u539f\u751f\u4fdd\u5b88\u7684 Benjamini-Yekutieli <code>BY \u2264 0.05<\/code> \u663e\u8457\u6027\u6807\u51c6\uff09\uff1a<\/p>\n<div class=\"table-scroll\">\n<table>\n<thead>\n<tr>\n<th>SPARK-X \u8fd0\u884c\u6a21\u5f0f\uff08\u4e73\u817a\u764c 251 \u70b9 \u00d7 2500 \u57fa\u56e0\uff09<\/th>\n<th>\u7a7a\u95f4\u6838\u6570<\/th>\n<th>BY \u2264 0.05 \u663e\u8457\u57fa\u56e0\u6570<\/th>\n<th>\u4e3b\u5bfc\u6838\u5bb6\u65cf\u6784\u6210\uff08\u6295\u5f71 \/ \u9ad8\u65af \/ \u4f59\u5f26\uff09<\/th>\n<th>146 \u670d\u52a1\u5668\u8017\u65f6<\/th>\n<th>\u80fd\u89e3\u51b3\u7684\u6838\u5fc3\u95ee\u9898<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>mixture \u6df7\u5408\u6838\uff08\u9ed8\u8ba4\uff0c\u65e0\u534f\u53d8\u91cf\uff09<\/td>\n<td>11 \u6838<\/td>\n<td>798\uff0831.9%\uff09<\/td>\n<td>465 \/ 327 \/ 6<\/td>\n<td>7.8 \u79d2<\/td>\n<td>\u540c\u65f6\u6355\u83b7\u5168\u7247\u65b9\u5411\u68af\u5ea6\u3001\u5c40\u7076\u764c\u5de2\u70ed\u70b9\u4e0e\u5468\u671f\u6761\u5e26<\/td>\n<\/tr>\n<tr>\n<td>single \u5355\u4e00\u6295\u5f71\u6838\uff08\u65e0\u534f\u53d8\u91cf\uff09<\/td>\n<td>1 \u6838<\/td>\n<td>792\uff0831.7%\uff09<\/td>\n<td>792 \/ 0 \/ 0<\/td>\n<td>3.4 \u79d2<\/td>\n<td>\u4ec5\u6355\u83b7\u6cbf\u5750\u6807\u8f74\u7ebf\u6027\u5355\u8c03\u53d8\u5316\u7684\u68af\u5ea6\uff08\u6f0f\u68c0 267 \u4e2a\u5c40\u7076\u57fa\u56e0\uff09<\/td>\n<\/tr>\n<tr>\n<td>mixture \u6df7\u5408\u6838 + group \u534f\u53d8\u91cf\u6821\u6b63<\/td>\n<td>11 \u6838<\/td>\n<td>1006\uff0840.2%\uff09<\/td>\n<td>826 \/ 177 \/ 3<\/td>\n<td>8.6 \u79d2<\/td>\n<td>\u5265\u79bb ERBB2 \u533a\u4e0e\u95f4\u8d28\u533a\u5927\u4f53\u5747\u503c\u5dee\u540e\uff0c\u68c0\u9a8c\u533a\u57df\u5185\u6b8b\u5dee\u5fae\u68af\u5ea6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>\u5173\u952e\u53d1\u73b0\u4e00\uff1a\u5355\u6295\u5f71\u6838\uff08single\uff09\u5728\u771f\u5b9e\u4e73\u817a\u764c\u5207\u7247\u4e0a\u6f0f\u6389\u4e86 267 \u4e2a\u5c40\u7076\u764c\u5de2\u57fa\u56e0<\/h2>\n<p>\u5982\u679c\u53ea\u770b\u663e\u8457\u57fa\u56e0\u603b\u6570\uff0c<code>mixture<\/code> \u68c0\u51fa 798 \u4e2a\u3001<code>single<\/code> \u68c0\u51fa 792 \u4e2a\uff0c\u6781\u6613\u8ba9\u4eba\u8bef\u4ee5\u4e3a\u4e24\u8005\u7ed3\u679c\u51e0\u4e4e\u91cd\u5408\u3002\u4f46\u628a\u4e24\u5f20\u7ed3\u679c\u8868\u9010\u57fa\u56e0\u4ea4\u53c9\u6bd4\u5bf9\u5c31\u4f1a\u53d1\u73b0\uff1a<strong>\u6709\u591a\u8fbe 267 \u4e2a\u5728 11 \u6838\u6df7\u5408\u6a21\u5f0f\u4e0b\u663e\u8457\u7684\u57fa\u56e0\uff08\u5360 33.5%\uff09\uff0c\u5728\u5355\u4e00\u6295\u5f71\u6838\u4e0b\u5168\u90e8\u88ab\u5224\u4e3a\u4e0d\u663e\u8457\uff01<\/strong><\/p>\n<div class=\"table-scroll\">\n<table>\n<thead>\n<tr>\n<th>\u4ee3\u8868\u4e73\u817a\u764c\u57fa\u56e0<\/th>\n<th>\u751f\u7269\u5b66\u89d2\u8272<\/th>\n<th>mixture 11 \u6838 BY P \u503c<\/th>\n<th>\u6700\u4f18\u54cd\u5e94\u7a7a\u95f4\u6838\uff08\u5355\u6838 P \u503c\uff09<\/th>\n<th>single \u5355\u6295\u5f71\u6838 BY P \u503c<\/th>\n<th>\u70b9\u4f4d\u68c0\u51fa\u7387<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ERGIC3<\/td>\n<td>\u5185\u8d28\u7f51\u2014\u9ad8\u5c14\u57fa\u4f53\u8fd0\u8f93\u76f8\u5173\u80bf\u7624\u6807\u5fd7<\/td>\n<td>1.01e-06<\/td>\n<td>gaus2\uff082.28e-10\uff09<\/td>\n<td>1.00\uff08\u5b8c\u5168\u6f0f\u68c0\uff09<\/td>\n<td>55.4%<\/td>\n<\/tr>\n<tr>\n<td>LY6E<\/td>\n<td>\u4e73\u817a\u764c\u514d\u75ab\u9003\u9038\u4e0e ADC \u9776\u6807<\/td>\n<td>5.65e-06<\/td>\n<td>gaus2\uff082.19e-09\uff09<\/td>\n<td>1.00\uff08\u5b8c\u5168\u6f0f\u68c0\uff09<\/td>\n<td>63.8%<\/td>\n<\/tr>\n<tr>\n<td>SLC9A3R1<\/td>\n<td>\u8154\u9762\/HER2 \u4e73\u817a\u764c\u6781\u6027\u652f\u67b6\u86cb\u767d NHERF1<\/td>\n<td>3.44e-05<\/td>\n<td>gaus2\uff081.81e-08\uff09<\/td>\n<td>1.00\uff08\u5b8c\u5168\u6f0f\u68c0\uff09<\/td>\n<td>61.0%<\/td>\n<\/tr>\n<tr>\n<td>FXYD3<\/td>\n<td>\u4e73\u817a\u764c\u9ad8\u8868\u8fbe\u94a0\u94be\u6cf5\u8c03\u8282\u4e9a\u57fa<\/td>\n<td>3.88e-05<\/td>\n<td>gaus2\uff082.32e-08\uff09<\/td>\n<td>0.632\uff08\u4e0d\u663e\u8457\uff09<\/td>\n<td>90.4%<\/td>\n<\/tr>\n<tr>\n<td>CTSD<\/td>\n<td>\u7ec4\u7ec7\u86cb\u767d\u9176 D\uff08\u4e73\u817a\u764c\u4fb5\u88ad\u9884\u540e\u7ecf\u5178\u6307\u6807\uff09<\/td>\n<td>4.56e-05<\/td>\n<td>gaus2\uff082.17e-08\uff09<\/td>\n<td>1.00\uff08\u5b8c\u5168\u6f0f\u68c0\uff09<\/td>\n<td>92.8%<\/td>\n<\/tr>\n<tr>\n<td>WFDC2<\/td>\n<td>\u5206\u6ccc\u578b\u86cb\u767d\u9176\u6291\u5236\u56e0\u5b50 HE4<\/td>\n<td>9.15e-05<\/td>\n<td>gaus2\uff085.76e-08\uff09<\/td>\n<td>0.411\uff08\u4e0d\u663e\u8457\uff09<\/td>\n<td>44.6%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u4e3a\u4ec0\u4e48\u8fde\u68c0\u51fa\u7387\u9ad8\u8fbe 92.8% \u7684\u4e73\u817a\u764c\u7ecf\u5178\u86cb\u767d\u9176\u57fa\u56e0 <code>CTSD<\/code>\u3001ADC \u9776\u6807 <code>LY6E<\/code>\uff08<code>mixture BY = 5.65e-06<\/code>\uff09\u548c\u6781\u6027\u652f\u67b6\u57fa\u56e0 <code>SLC9A3R1<\/code>\uff0c\u5728 <code>single<\/code> \u6a21\u5f0f\u4e0b\u6821\u6b63 P \u503c\u5168\u90fd\u53d8\u6210\u4e86 <code>1.00<\/code>\uff1f<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/12\/spatial-sparkx-demo-spatial.png\" alt=\"\u6392\u540d\u524d\u56db\u4f4d\u663e\u8457\u7a7a\u95f4\u53d8\u5f02\u57fa\u56e0\uff08SVG\uff09\u539f\u4f4d\u8868\u8fbe\u5206\u5e03\" loading=\"lazy\"><figcaption>\u56fe 1\uff1aSPARK-X \u5728\u771f\u5b9e\u4eba\u7c7b\u4e73\u817a\u764c\u5207\u7247\u4e0a\u68c0\u51fa\u7684\u6392\u540d\u524d\u56db\u4f4d\u5168\u5c40\u95f4\u8d28\u68af\u5ea6\u57fa\u56e0\uff08COL1A1\u3001COL1A2\u3001COL3A1\u3001POSTN\uff09\u539f\u4f4d\u8868\u8fbe\u5206\u5e03\u3002<\/figcaption><\/figure>\n<figure><img decoding=\"async\" src=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/12\/spatial-sparkx-demo-secondary.png\" alt=\"\u5168\u57fa\u56e0\u663e\u8457\u6027\u5206\u5e03\u4e0e 11 \u4e2a\u7a7a\u95f4\u6838\u51fd\u6570\u54cd\u5e94\u8c31\" loading=\"lazy\"><figcaption>\u56fe 2\uff1a\u5168\u57fa\u56e0 -log10(BY P) \u6392\u5e8f\u66f2\u7ebf\uff08\u5de6\uff09\u4e0e\u6392\u540d\u524d 15 \u4f4d\u663e\u8457\u57fa\u56e0\u5728 11 \u4e2a\u7a7a\u95f4\u6838\u51fd\u6570\u4e0a\u7684\u54cd\u5e94\u70ed\u56fe\uff08\u53f3\uff09\u3002<\/figcaption><\/figure>\n<p>\u7ed3\u5408\u56fe 1 \u4e0e\u56fe 2 \u53f3\u4fa7\u7684\u591a\u6838\u70ed\u56fe\u5c31\u80fd\u4e00\u773c\u770b\u7a7f\u6570\u5b66\u539f\u56e0\uff1a\u50cf <code>COL1A1<\/code>\u3001<code>COL1A2<\/code>\u3001<code>POSTN<\/code> \u8fd9\u7c7b\u57fa\u8d28\u80f6\u539f\u57fa\u56e0\u4e3b\u8981\u5bcc\u96c6\u5728\u5207\u7247\u4e0b\u534a\u90e8\u4e0e\u5de6\u7ffc\u95f4\u8d28\u5e26\uff0c\u6cbf\u4e8c\u7ef4\u5750\u6807\u5448\u73b0\u5f3a\u70c8\u7684\u5168\u5c40\u5355\u8c03\u503e\u659c\uff0c\u56e0\u6b64\u7b2c 1 \u5217 <code>projection<\/code> \u6295\u5f71\u6838\u4fe1\u53f7\u6781\u5f3a\uff08<code>P = 1.77e-26<\/code>\uff09\uff1b\u76f8\u53cd\uff0c<code>LY6E<\/code>\u3001<code>CTSD<\/code>\u3001<code>ERGIC3<\/code> \u5bcc\u96c6\u5728\u5207\u7247\u5185\u90e8\u591a\u4e2a\u5b64\u7acb\u7684\u5bfc\u7ba1\u539f\u4f4d\u764c\/\u6d78\u6da6\u764c\u56e2\u5757\u4e2d\u2014\u2014\u4ece\u5de6\u5230\u53f3\u5148\u5347\u540e\u964d\u518d\u5347\uff0c\u7ebf\u6027\u6295\u5f71\u659c\u7387\u6b63\u8d1f\u62b5\u6d88\uff0c\u552f\u6709\u4e0d\u540c\u5e26\u5bbd\u7684<strong>\u9ad8\u65af\u5c40\u90e8\u6838\uff08<code>gaus2<\/code> \/ <code>gaus3<\/code>\uff0c\u5408\u8ba1\u4e3b\u5bfc\u4e86 327 \u4e2a\u663e\u8457 SVG\uff09<\/strong>\u624d\u80fd\u7cbe\u51c6\u6355\u6349\u8fd9\u79cd\u6591\u5757\u72b6\u80bf\u7624\u70ed\u70b9\uff01\u56e0\u6b64\uff0c\u771f\u5b9e\u80bf\u7624\u5207\u7247\u5207\u52ff\u56fe\u7701\u4e8b\u6539\u7528 <code>single<\/code> \u6a21\u5f0f\u3002<\/p>\n<h2>\u5173\u952e\u53d1\u73b0\u4e8c\uff1a\u52a0\u5165 group \u534f\u53d8\u91cf\u6821\u6b63\u540e\uff0cESR1 \u4e0e GREM1 \u4e3a\u4f55\u4e0d\u518d\u663e\u8457\uff1f<\/h2>\n<p>\u5728\u9ed8\u8ba4\u4e0d\u52a0\u534f\u53d8\u91cf\u65f6\uff0c\u68c0\u51fa\u7684 SVG \u540c\u65f6\u6df7\u5408\u4e86\u201c\u4e0d\u540c\u7ec4\u7ec7\u533a\u4e4b\u95f4\u7684\u8868\u8fbe\u5dee\u5f02\u201d\u548c\u201c\u540c\u4e00\u7ec4\u7ec7\u533a\u5185\u90e8\u7684\u7a7a\u95f4\u68af\u5ea6\u201d\u3002\u5f53\u6211\u4eec\u628a\u80bf\u7624\u9ad8\u8868\u8fbe\u533a\u4e0e\u95f4\u8d28\u5bcc\u96c6\u533a\u6784\u5efa\u4e3a\u6ee1\u79e9\u8bbe\u8ba1\u77e9\u9635 <code>X_in = model.matrix(~ factor(group))<\/code> \u4f20\u5165 <code>sparkx()<\/code> \u540e\uff0c\u539f\u5148\u663e\u8457\u7684 <strong>53 \u4e2a\u5178\u578b\u5206\u533a\u5dee\u5f02\u57fa\u56e0<\/strong>\u9000\u51fa\u4e86\u663e\u8457\u5217\u8868\u2014\u2014\u5176\u4e2d\u5305\u62ec\u96cc\u6fc0\u7d20\u53d7\u4f53\u57fa\u56e0 <code>ESR1<\/code>\uff08<code>BY P<\/code> \u4ece <code>0.0177<\/code> \u5347\u81f3 <code>0.0577<\/code>\uff09\u3001\u764c\u76f8\u5173\u6210\u7ea4\u7ef4\u7ec6\u80de\u56e0\u5b50 <code>GREM1<\/code>\uff08<code>0.0238 \u2192 0.0927<\/code>\uff09\u3001\u80f6\u539f\u4e9a\u57fa <code>COL6A2<\/code>\uff08<code>0.0121 \u2192 0.0852<\/code>\uff09\u4e0e\u514d\u75ab\u6807\u5fd7 <code>LAPTM5<\/code>\uff08<code>0.0137 \u2192 0.1436<\/code>\uff09\u3002<\/p>\n<p>\u8fd9\u8bf4\u660e\u8fd9\u6279\u57fa\u56e0\u7684\u7a7a\u95f4\u81ea\u76f8\u5173\u4e3b\u8981\u6765\u81ea\u201c\u764c\u5de2 vs \u95f4\u8d28\u201d\u4e24\u533a\u4e4b\u95f4\u7684\u9636\u8dc3\u5dee\u5f02\uff1b\u800c\u5728\u5265\u79bb\u4e24\u533a\u5747\u503c\u504f\u79fb\u540e\u4ecd\u7136\u4fdd\u6301\u663e\u8457\u7684\u57fa\u56e0\uff08\u5982 <code>COL1A1<\/code> \u5728\u95f4\u8d28\u5185\u90e8\u7531\u81f4\u5bc6\u786c\u5316\u6838\u5fc3\u5411\u5916\u56f4\u9012\u51cf\uff09\uff0c\u624d\u771f\u6b63\u4ee3\u8868\u533a\u57df\u5185\u90e8\u7684\u8fde\u7eed\u7a7a\u95f4\u5fae\u68af\u5ea6\u3002<\/p>\n<h2>\u672c\u5730 R \u590d\u73b0\u4ee3\u7801\u4e0e\u4e24\u4e2a\u5b9e\u64cd\u6ce8\u610f\u70b9<\/h2>\n<p>\u5728\u672c\u5730\u8c03\u7528 <code>SPARK::sparkx()<\/code> \u6709\u4e24\u4e2a\u5bb9\u6613\u8e29\u5751\u7684\u7ec6\u8282\uff1a\u7b2c\u4e00\uff0c\u5c3d\u7ba1\u51fd\u6570\u6587\u6863\u6ce8\u91ca\u5199\u7740 <code>n x p<\/code>\uff0c\u4f46\u6e90\u7801\u5185\u90e8\u5b9e\u9645\u4e0a\u6309<strong>\u884c\u4e3a\u57fa\u56e0\u3001\u5217\u4e3a\u70b9\u4f4d\uff08genes \u00d7 spots\uff09<\/strong>\u8ba1\u7b97\u5217\u603b\u8ba1\u6570\u4e0e\u884c\u57fa\u56e0\u540d\uff0c\u82e5\u624b\u52a8\u8f6c\u7f6e\u4f1a\u628a\u70b9\u4f4d\u5f53\u6210\u57fa\u56e0\u68c0\u9a8c\uff1b\u7b2c\u4e8c\uff0c\u534f\u53d8\u91cf\u77e9\u9635 <code>X_in<\/code> \u5185\u90e8\u76f4\u63a5\u505a <code>solve(crossprod(X_mat, X_mat))<\/code> \u6c42\u9006\uff0c\u5fc5\u987b\u4f7f\u7528 <code>model.matrix(~ group)<\/code> \u4fdd\u8bc1\u5217\u6ee1\u79e9\uff0c\u7edd\u5bf9\u4e0d\u80fd\u628a\u6240\u6709\u7c7b\u522b\u7684\u72ec\u70ed\u7f16\u7801\u8fde\u540c\u622a\u8ddd\u5217\u4e00\u8d77\u62fc\u8fdb\u53bb\uff1a<\/p>\n<pre><code>library(Matrix)\r\nlibrary(SPARK)\r\n\r\n# \u6ce8\u610f\uff1acount_in \u884c\u4e3a\u57fa\u56e0\u3001\u5217\u4e3a\u7a7a\u95f4\u70b9\u4f4d\uff08genes x spots \u7a00\u758f\u77e9\u9635\uff09\r\ncnt_sparse &lt;- as(as.matrix(raw_counts), \"sparseMatrix\")\r\nlocus_mat  &lt;- as.matrix(coords_df[, c(\"x\", \"y\")])\r\n\r\n# 1. \u5168\u7247 11 \u6838\u6df7\u5408\u68c0\u9a8c\r\nres_mix &lt;- sparkx(cnt_sparse, locus_mat, numCores = 1, option = \"mixture\", verbose = FALSE)\r\nhead(res_mix$res_mtest[order(res_mix$res_mtest$adjustedPval), ])\r\n\r\n# 2. \u6ee1\u79e9\u534f\u53d8\u91cf\u6821\u6b63\uff08\u68c0\u9a8c\u533a\u57df\u5185\u6b8b\u5dee SVG\uff09\r\nX_cov &lt;- model.matrix(~ factor(coords_df$group))\r\nres_cov &lt;- sparkx(cnt_sparse, locus_mat, X_in = X_cov, numCores = 1, option = \"mixture\", verbose = FALSE)<\/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\/sparkx\/\">\u9ad8\u901f\u591a\u6838\u7a7a\u95f4\u53d8\u5f02\u57fa\u56e0\u68c0\u9a8c\uff08SPARK-X\uff09\u5728\u7ebf\u5de5\u5177<\/a>\uff0c\u76f4\u63a5\u70b9\u51fb\u201c\u8fd0\u884c\u6837\u4f8b\u201d\uff0c\u6570\u79d2\u5185\u5373\u53ef\u67e5\u770b\u4e73\u817a\u764c\u5207\u7247\u524d\u56db\u4f4d SVG \u7a7a\u95f4\u5206\u5e03\u4e0e 11 \u6838\u54cd\u5e94\u70ed\u56fe\u3002<\/li>\n<li>\u5728\u53c2\u6570\u680f\u5c06\u6838\u6a21\u5f0f\u5207\u4e3a <code>single<\/code>\uff0c\u6216\u5c06\u534f\u53d8\u91cf\u6821\u6b63\u5207\u4e3a\u201c\u6821\u6b63 group \u5217\u201d\uff0c\u5bf9\u6bd4\u5bfc\u51fa <code>svg_results.tsv<\/code> \u4e2d\u5177\u4f53\u57fa\u56e0\u6392\u540d\u7684\u53d8\u5316\u3002<\/li>\n<li>\u4e0b\u8f7d\u6837\u4f8b\u538b\u7f29\u5305\u5bf9\u7167\u4e0b\u65b9\u8868\u683c\u51c6\u5907\u81ea\u5df1\u7684\u539f\u59cb\u6574\u6570\u8ba1\u6570\u4e0e\u5750\u6807 TSV\uff0c\u5373\u53ef\u4e0a\u4f20\u5728\u7ebf\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\u975e\u8d1f\u6574\u6570\u8ba1\u6570\uff0830\u20132500 \u4e2a\u70b9\u4f4d\uff0c20\u20136000 \u4e2a\u57fa\u56e0\uff09\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u7a7a\u95f4\u5750\u6807\u4e0e\u53ef\u9009\u534f\u53d8\u91cf\u8868 TSV<\/td>\n<td>\u987b\u5305\u542b spot_id\u3001x\u3001y \u4e09\u5217\u7269\u7406\u5750\u6807\uff1b\u53ef\u9009\u7b2c 4 \u5217 group\uff08\u533a\u57df\u6216\u4e3b\u5bfc\u7ec6\u80de\u7fa4\u6807\u7b7e\uff09\uff0c\u4f9b\u534f\u53d8\u91cf\u6821\u6b63\u6a21\u5f0f\u5265\u79bb\u5927\u4f53\u533a\u57df\u5dee\u5f02\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>\u65b9\u6cd5\u4e0e\u516c\u5f00\u6570\u636e\u6765\u6e90<\/h2>\n<ul>\n<li><a href=\"https:\/\/doi.org\/10.1186\/s13059-021-02404-0\">Zhu, Sun &amp; Zhou, SPARK-X: non-parametric modeling enables scalable and robust detection of spatial expression patterns for large spatial transcriptomic studies, Genome Biology 2021<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/xzhoulab\/SPARK\">xzhoulab\/SPARK \u5b98\u65b9\u4ee3\u7801\u4ed3\u5e93<\/a><\/li>\n<li><a href=\"https:\/\/doi.org\/10.1126\/science.aaf2403\">St\u00e5hl et al., Visualization and analysis of gene expression in tissue sections by spatial transcriptomics, Science 2016<\/a><\/li>\n<\/ul>\n<p>\u672c\u6587\u5168\u90e8\u7edf\u8ba1\u6570\u503c\u4e0e\u56fe\u4ef6\u5747\u7531 2026 \u5e74 12 \u6708 5 \u65e5\u5728\u4e91\u751f\u4fe1 146 \u7b97\u529b\u670d\u52a1\u5668\u5b9e\u8dd1\u539f\u7248 <code>SPARK 1.1.1<\/code> \u751f\u6210\u30022500 \u70b9\u4f4d\u4ee5\u5185\u7684\u7a7a\u95f4\u77e9\u9635\u53ef\u76f4\u63a5\u5728 <a href=\"https:\/\/www.biocloudservice.com\/spatial-lab\/sparkx\/\">SPARK-X \u5728\u7ebf\u5de5\u5177\u9875<\/a> \u79d2\u7ea7\u68c0\u9a8c\uff1b\u82e5\u60a8\u6b63\u5904\u7406\u5341\u4e07\u7ea7 bin \u7684 Visium HD \u6216 Stereo-seq \u5168\u8f6c\u5f55\u7ec4\u77e9\u9635\u5e76\u5e0c\u671b\u4e32\u8054\u4e0b\u6e38\u7a7a\u95f4\u5171\u8868\u8fbe\u6a21\u5757\u4e0e\u8c03\u63a7\u7f51\u7edc\uff0c\u53ef\u5728\u7f51\u9875\u7aef\u9a8c\u8bc1\u5206\u6790\u601d\u8def\u540e\uff0c\u987a\u7545\u8854\u63a5 <a href=\"https:\/\/www.biocloudservice.com\/bioagent\/\">BioAgent<\/a> \u6216\u4e91\u751f\u4fe1\u591a\u6838\u751f\u4fe1\u670d\u52a1\u5668\u6279\u5904\u7406\u3002<\/p>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528 St\u00e5hl \u7b49\u4eba\u771f\u5b9e\u4eba\u7c7b\u6d78\u6da6\u6027\u5bfc\u7ba1\u4e73\u817a\u764c\u5207\u7247\uff08251 \u70b9 \u00d7 2500 \u57fa\u56e0\uff09\u5b9e\u8dd1 SPARK-X\uff0c\u63ed\u793a 798 vs 792 \u603b\u6570\u80cc\u540e 267 \u4e2a\u88ab\u5355\u6295\u5f71\u6838\u6f0f\u68c0\u7684\u5c40\u7076\u4e73\u817a\u764c\u57fa\u56e0\uff0c\u5e76\u6f14\u793a\u533a\u57df\u534f\u53d8\u91cf\u6821\u6b63\u3002<\/p>\n","protected":false},"author":1,"featured_media":84068,"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":[926,516,1929,927,504],"class_list":["post-84067","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-single-cell","tag-spark-x","tag-516","tag-1929","tag-927","tag-504"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/12\/spatial-sparkx-demo-figure.png","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/84067","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=84067"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/84067\/revisions"}],"predecessor-version":[{"id":84071,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/84067\/revisions\/84071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/84068"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=84067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=84067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=84067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}