{"id":69873,"date":"2026-11-14T21:58:48","date_gmt":"2026-11-14T13:58:48","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=69873"},"modified":"2026-11-14T21:58:48","modified_gmt":"2026-11-14T13:58:48","slug":"sparkx-spatial-genes-ring-projection-mixture-null","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/sparkx-spatial-genes-ring-projection-mixture-null\/","title":{"rendered":"SPARK-X \u80fd\u627e\u5230\u5de6\u53f3\u5206\u533a\uff0c\u5374\u6f0f\u6389\u73af\u5f62\u57fa\u56e0\uff1f\u7528\u4e00\u5f20\u53ef\u590d\u6838\u7684\u6a21\u62df\u7247\u770b\u539f\u56e0"},"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>\u8bbe\u60f3\u6709\u4e24\u4e2a\u8868\u8fbe\u90fd\u5f88\u6709\u7a7a\u95f4\u89c4\u5f8b\u7684\u57fa\u56e0\u3002\u7b2c\u4e00\u4e2a\u5728\u5207\u7247\u5de6\u534a\u90e8\u4f4e\u3001\u53f3\u534a\u90e8\u9ad8\u3002\u7b2c\u4e8c\u4e2a\u5728\u4e2d\u5fc3\u548c\u8fb9\u7f18\u4f4e\uff0c\u53ea\u5728\u5939\u5728\u4e24\u8005\u4e4b\u95f4\u7684\u4e00\u5708\u7ec4\u7ec7\u91cc\u9ad8\u3002\u770b\u6563\u70b9\u56fe\u65f6\uff0c\u4e24\u79cd\u6a21\u5f0f\u90fd\u4e0d\u96be\u8fa8\u8ba4\u3002\u82e5\u628a\u8868\u8fbe\u4e0e\u67d0\u4e00\u4e2a\u65b9\u5411\u7684\u4f4d\u7f6e\u8054\u7cfb\u8d77\u6765\uff0c\u524d\u4e00\u79cd\u5bb9\u6613\u88ab\u53d1\u73b0\uff0c\u540e\u4e00\u79cd\u5374\u53ef\u80fd\u56e0\u4e3a\u65b9\u5411\u76f8\u53cd\u7684\u53d8\u5316\u4e92\u76f8\u62b5\u6d88\u3002SPARK-X \u63d0\u4f9b\u591a\u79cd\u7a7a\u95f4\u6838\uff0c\u53ef\u5728\u4e00\u7ec4\u4e0d\u540c\u7a7a\u95f4\u5173\u7cfb\u4e0b\u68c0\u9a8c\u8868\u8fbe\u4e0e\u4f4d\u7f6e\u7684\u5173\u8054\u3002\u6211\u4eec\u7279\u610f\u628a\u4e24\u79cd\u6a21\u5f0f\u653e\u5230\u540c\u4e00\u5f20\u6a21\u62df\u7247\u4e0a\uff0c\u518d\u7528\u6253\u4e71\u5750\u6807\u7684\u8d1f\u5bf9\u7167\u68c0\u9a8c\u5224\u65ad\u6765\u81ea\u54ea\u91cc\u3002<a style=\"color:#3e718c;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/doi.org\/10.1186\/s13059-021-02404-0\">SPARK-X \u539f\u59cb\u7814\u7a76<\/a><\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u539f\u59cb\u8ba1\u6570\u3001\u7a7a\u95f4\u5750\u6807\u548c\u68c0\u6d4b\u8303\u56f4\u9700\u8981\u4e00\u8d77\u56fa\u5b9a<\/h2>\n<p>\u5148\u5217\u51fa\u4e09\u5f20\u8868\uff0c\u5206\u522b\u662f\u57fa\u56e0\u4e0e\u70b9\u4f4d\u7684\u8ba1\u6570\u77e9\u9635\u3001\u6bcf\u4e2a\u70b9\u4f4d\u5bf9\u5e94\u7684\u5750\u6807\u3001\u5728\u672c\u6b21\u68c0\u9a8c\u4e2d\u4fdd\u7559\u7684\u57fa\u56e0\u6e05\u5355\u3002\u6309\u7167\u8fdb\u5165\u7edf\u8ba1\u6a21\u578b\u7684\u8ba1\u6570\u5217\u91cd\u65b0\u6392\u5217\u5750\u6807\u884c\uff0c\u5148\u6838\u5bf9\u6761\u5f62\u7801\u662f\u5426\u5b8c\u5168\u76f8\u540c\uff0c\u518d\u5904\u7406\u4f4e\u8ba1\u6570\u70b9\u6216\u4f4e\u68c0\u51fa\u57fa\u56e0\u3002\u5982\u679c\u5148\u4ece\u4e24\u5f20\u8868\u5404\u81ea\u5220\u9664\u7a7a\u884c\uff0c\u518d\u6309\u539f\u987a\u5e8f\u62fc\u63a5\uff0c\u4e24\u4e2a\u5bf9\u8c61\u7684\u5c3a\u5bf8\u5b8c\u5168\u53ef\u80fd\u4e00\u6837\uff0c\u800c\u6bcf\u4e00\u5217\u5206\u5b50\u8ba1\u6570\u5df2\u7ecf\u5339\u914d\u5230\u9519\u8bef\u7684\u7ec4\u7ec7\u4f4d\u7f6e\u3002\u8fd9\u4e2a\u9519\u8bef\u4e0d\u4f1a\u901a\u8fc7\u67e5\u770b\u7ef4\u6570\u81ea\u52a8\u66b4\u9732\uff0c\u6700\u6709\u6548\u7684\u65e9\u671f\u68c0\u67e5\u662f\u62bd\u4e00\u679a\u4e0d\u5728\u4e2d\u5fc3\u7684\u6761\u5f62\u7801\uff0c\u628a\u8be5\u70b9\u8fde\u540c\u5468\u56f4\u90bb\u70b9\u753b\u56de\u7ec4\u7ec7\u5e95\u56fe\u3002<\/p>\n<p>\u663e\u8457\u6027\u6bd4\u8f83\u8fd8\u4f9d\u8d56\u53c2\u4e0e\u591a\u91cd\u6821\u6b63\u7684\u57fa\u56e0\u603b\u6570\u3002\u5148\u7528\u4e24\u5343\u4e2a\u53d8\u5f02\u8f83\u5927\u7684\u57fa\u56e0\u7b5b\u4e00\u904d\uff0c\u518d\u7528\u4e24\u4e07\u4e2a\u68c0\u51fa\u57fa\u56e0\u91cd\u65b0\u5206\u6790\uff0c\u54ea\u6015\u67d0\u4e2a\u57fa\u56e0\u7684\u539f\u59cb\u68c0\u9a8c\u6c34\u5e73\u63a5\u8fd1\uff0c\u6821\u6b63\u540e\u7ed3\u679c\u4e5f\u53ef\u80fd\u4e0d\u540c\u3002\u5e94\u4fdd\u5b58\u901a\u8fc7\u8868\u8fbe\u91cf\u6216\u68c0\u51fa\u7387\u8fc7\u6ee4\u7684\u57fa\u56e0\u6e05\u5355\uff0c\u5e76\u6807\u51fa\u8fc7\u6ee4\u53d1\u751f\u5728\u54ea\u4e00\u6b65\u3002\u6bd4\u8f83\u4e24\u79cd\u7a7a\u95f4\u6838\u65f6\uff0c\u628a\u8f93\u5165\u70b9\u4f4d\u548c\u68c0\u9a8c\u57fa\u56e0\u96c6\u5408\u56fa\u5b9a\uff0c\u53ef\u4ee5\u907f\u514d\u5c06\u591a\u91cd\u68c0\u9a8c\u5206\u6bcd\u7684\u53d8\u5316\u8bef\u8ba4\u4e3a\u4e00\u79cd\u6838\u66f4\u7075\u654f\u3002\u82e5\u8981\u5bf9\u591a\u5f20\u5207\u7247\u505a\u6c47\u603b\uff0c\u4e5f\u8981\u5206\u6e05\u6bcf\u5f20\u7247\u72ec\u7acb\u68c0\u6d4b\u4e0e\u8de8\u7247\u5408\u5e76\u68c0\u9a8c\u5404\u81ea\u7684\u57fa\u56e0\u96c6\u5408\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u5355\u6838\u4e0e\u6df7\u5408\u6838\u5206\u522b\u95ee\u4e86\u4ec0\u4e48<\/h2>\n<p>\u6295\u5f71\u6838\u5229\u7528\u70b9\u4f4d\u5750\u6807\u5f62\u6210\u4e00\u79cd\u7a7a\u95f4\u5173\u7cfb\uff0c\u9002\u5408\u53d1\u73b0\u67d0\u4e9b\u6709\u660e\u786e\u65b9\u5411\u7684\u53d8\u5316\u3002\u8f6f\u4ef6\u7684\u6df7\u5408\u9009\u9879\u8fd8\u5bf9\u5750\u6807\u4f7f\u7528\u591a\u7ec4\u9ad8\u65af\u4e0e\u5468\u671f\u6027\u53d8\u6362\uff0c\u518d\u7ec4\u5408\u4e0d\u540c\u6838\u652f\u6301\u7684\u8bc1\u636e\u3002\u5728\u67d0\u4e9b\u975e\u5355\u8c03\u56fe\u6848\u4e0a\uff0c\u989d\u5916\u7684\u53d8\u6362\u80fd\u591f\u8ba9\u539f\u672c\u4e0d\u660e\u663e\u7684\u7a7a\u95f4\u5173\u8054\u51fa\u73b0\u3002\u4f46\u591a\u4e00\u4e2a\u6838\u5e76\u4e0d\u610f\u5473\u7740\u6bcf\u4e2a\u57fa\u56e0\u90fd\u4f1a\u5f97\u5230\u66f4\u5c0f\u7684\u6570\uff0c\u4e5f\u4e0d\u610f\u5473\u7740\u80fd\u4ece\u6700\u5c0f\u7684\u4e00\u4e2a\u68c0\u9a8c\u503c\u76f4\u63a5\u547d\u540d\u7ec4\u7ec7\u7ed3\u6784\u3002\u4f5c\u8005\u5b9e\u73b0\u5206\u522b\u8fd4\u56de\u9010\u6838\u7ed3\u679c\u4e0e\u5df2\u7ecf\u8fc7\u7ec4\u5408\u3001\u6821\u6b63\u7684\u7ed3\u679c\u3002\u82e5\u53ea\u6d4f\u89c8\u9010\u6838\u7ed3\u679c\uff0c\u6311\u6bcf\u4e2a\u57fa\u56e0\u6700\u5c0f\u7684\u6570\u5957\u5165\u7edf\u4e00\u9608\u503c\uff0c\u4f1a\u6539\u53d8\u539f\u6765\u68c0\u9a8c\u7a0b\u5e8f\u7684\u542b\u4e49\u3002<a style=\"color:#3e718c;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/github.com\/xzhoulab\/SPARK\/blob\/master\/R\/sparkx.R\">\u4f5c\u8005\u7684\u68c0\u9a8c\u4e0e\u591a\u91cd\u6821\u6b63\u5b9e\u73b0<\/a><\/p>\n<p>\u4f5c\u4e3a\u6392\u9519\u624b\u6bb5\uff0c\u53ef\u4ee5\u5728\u540c\u4e00\u5f20\u56fe\u4e0a\u5e76\u6392\u753b\u539f\u59cb\u5206\u5b50\u8ba1\u6570\u3001\u5404\u70b9\u603b\u4f53\u6d4b\u5e8f\u6df1\u5ea6\u548c\u68c0\u6d4b\u5230\u7684\u57fa\u56e0\u6570\u3002\u4e00\u4e2a\u5448\u653e\u5c04\u72b6\u7684\u5019\u9009\u57fa\u56e0\u82e5\u603b\u662f\u4e0e\u4f4e\u8d28\u91cf\u533a\u57df\u76f8\u90bb\uff0c\u5e94\u5148\u67e5\u8be5\u6a21\u5f0f\u662f\u5426\u5f71\u54cd\u5927\u91cf\u4e92\u4e0d\u76f8\u5173\u7684\u57fa\u56e0\u3002\u56fe\u4e0a\u4e5f\u8981\u533a\u5206\u6bcf\u4e2a\u4f4d\u7f6e\u6709\u51e0\u4e2a\u5206\u5b50\u4e0e\u662f\u5426\u81f3\u5c11\u68c0\u51fa\u4e00\u4e2a\u5206\u5b50\u3002\u524d\u8005\u53ef\u80fd\u7531\u5c11\u91cf\u6781\u9ad8\u8868\u8fbe\u70b9\u4e3b\u5bfc\uff0c\u540e\u8005\u53ef\u80fd\u66f4\u654f\u611f\u4e8e\u6df1\u5ea6\u5dee\u5f02\u3002\u8fd9\u6837\u7684\u8bca\u65ad\u4e0d\u80fd\u66ff\u4ee3\u7edf\u8ba1\u68c0\u9a8c\uff0c\u5374\u80fd\u51b3\u5b9a\u4e00\u4e2a\u547d\u4e2d\u503c\u503c\u5f97\u6309\u7ec4\u7ec7\u7ed3\u6784\u8ffd\u95ee\uff0c\u8fd8\u662f\u5e94\u8be5\u5148\u89e3\u51b3\u53d6\u6750\u6216\u8ba1\u6570\u95ee\u9898\u3002<\/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:#edf8fd;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u6a21\u62df\u57fa\u56e0<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#edf8fd;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u53ea\u7528\u6295\u5f71\u6838\u7684\u6821\u6b63\u503c<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#edf8fd;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u5341\u4e00\u79cd\u6838\u7ec4\u5408\u540e\u7684\u6821\u6b63\u503c<\/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\">\u5de6\u53f3\u53f0\u9636<\/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\">\u7ea6 8.42 \u00d7 10\u207b\u00b9\u2079<\/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\">\u7ea6 9.26 \u00d7 10\u207b\u00b9\u2078<\/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\">\u4e2d\u95f4\u73af\u5e26<\/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\">1<\/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\">\u7ea6 0.00485<\/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\">\u7b49\u5747\u503c\u566a\u58f0\u793a\u4f8b<\/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\">1<\/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\">1<\/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\/sparkx-spatial-genes-ring-projection-mixture-null-guide.png\" alt=\"\u540c\u4e00\u5708\u9ad8\u8868\u8fbe\uff0c\u4e3a\u4ec0\u4e48\u6f0f\u68c0\u3002144 \u4e2a\u4f4d\u7f6e\u300140 \u4e2a\u57fa\u56e0\uff5c\u56fa\u5b9a\u8ba1\u6570\uff0c\u6539\u53d8\u7a7a\u95f4\u6838\u6216\u5750\u6807\u914d\u5bf9\u3002\u5355\u6838\uff0c\u4ec5\u6709\u53f0\u9636\u901a\u8fc7\uff0c\u73af\u5e26\u57fa\u56e0\u7684\u6821\u6b63\u503c\u4e3a 1\u3002\u6df7\u5408\u6838\uff0c\u53f0\u9636\u548c\u73af\u5e26\u901a\u8fc7\uff0c\u73af\u5e26\u7684\u6821\u6b63\u503c\u7ea6\u4e3a 0.00485\u3002\u6253\u4e71\u5750\u6807\uff0c\u6ca1\u6709\u57fa\u56e0\u901a\u8fc7\uff0c\u540c\u4e00\u5957\u8ba1\u6570\u548c\u68c0\u9a8c\u57fa\u56e0\u6e05\u5355\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\">144 \u4e2a\u4f4d\u7f6e\u300140 \u4e2a\u57fa\u56e0\uff5c\u56fa\u5b9a\u8ba1\u6570\uff0c\u6539\u53d8\u7a7a\u95f4\u6838\u6216\u5750\u6807\u914d\u5bf9\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\u73af\u5e26\u57fa\u56e0\u5728\u54ea\u4e00\u6b65\u901a\u8fc7\u4e86\u9608\u503c<\/h2>\n<p>\u6211\u4eec\u5728 Linux \u7684 R 4.3.3 \u73af\u5883\u5b89\u88c5\u4f5c\u8005\u7ef4\u62a4\u7684 SPARK 1.1.1\uff0c\u8fd0\u884c\u5176\u4e2d\u7684 sparkx\u3002\u6a21\u62df\u5207\u7247\u7528\u5341\u4e8c\u4e58\u5341\u4e8c\u7684\u89c4\u5219\u7f51\u683c\uff0c\u5171\u4e00\u767e\u56db\u5341\u56db\u4e2a\u70b9\u3002\u56db\u5341\u4e2a\u57fa\u56e0\u91cc\uff0c\u7b2c\u4e00\u4e2a\u57fa\u56e0\u7684\u671f\u671b\u8ba1\u6570\u5728\u5de6\u3001\u53f3\u4e24\u4fa7\u5206\u522b\u4e3a\u4e00\u548c\u5341\u4e94\u3002\u7b2c\u4e8c\u4e2a\u57fa\u56e0\u53ea\u5728\u8ddd\u79bb\u7f51\u683c\u4e2d\u5fc3\u5927\u4e8e\u4e09\u3001\u5c0f\u4e8e\u56db\u70b9\u516d\u7684\u73af\u5e26\u4e0a\u5c06\u671f\u671b\u8ba1\u6570\u63d0\u9ad8\u5230\u5341\u516b\uff0c\u5176\u4ed6\u4f4d\u7f6e\u8bbe\u4e3a\u4e00\u3002\u5269\u4e0b\u4e09\u5341\u516b\u4e2a\u57fa\u56e0\u5168\u7247\u671f\u671b\u8ba1\u6570\u540c\u4e3a\u4e8c\u3002\u968f\u540e\u4f7f\u7528\u540c\u4e00\u4e2a\u968f\u673a\u79cd\u5b50\u6309\u6cca\u677e\u5206\u5e03\u62bd\u6837\uff0c\u56e0\u6b64\u5373\u4fbf\u662f\u566a\u58f0\u57fa\u56e0\uff0c\u5355\u4e2a\u70b9\u7684\u89c2\u6d4b\u503c\u4e5f\u4e0d\u4f1a\u5904\u5904\u76f8\u7b49\u3002<\/p>\n<p>\u56fa\u5b9a\u8ba1\u6570\u548c\u6b63\u786e\u5750\u6807\uff0c\u5206\u522b\u8fd0\u884c\u5355\u6295\u5f71\u6838\u548c\u6df7\u5408\u6838\u3002\u6211\u4eec\u5728\u6bcf\u4e2a\u7ed3\u679c\u81ea\u5df1\u7684\u591a\u91cd\u6821\u6b63\u5217\u4e2d\u53d6\u5c0f\u4e8e\u96f6\u70b9\u96f6\u4e94\u7684\u57fa\u56e0\u3002\u5355\u6838\u53ea\u6709\u5de6\u53f3\u53f0\u9636\u901a\u8fc7\uff0c\u73af\u5e26\u57fa\u56e0\u539f\u59cb\u7ec4\u5408\u503c\u7ea6\u96f6\u70b9\u516b\u4e5d\u56db\uff0c\u6821\u6b63\u540e\u4e3a\u4e00\u3002\u6df7\u5408\u6838\u7684\u9010\u6838\u68c0\u9a8c\u8868\u6709\u5341\u4e00\u5217\uff0c\u6700\u7ec8\u6709\u4e24\u4e2a\u57fa\u56e0\u901a\u8fc7\uff0c\u6b63\u597d\u662f\u9884\u8bbe\u7684\u53f0\u9636\u4e0e\u73af\u5e26\u3002\u73af\u5e26\u7684\u7ec4\u5408\u503c\u7ea6\u4e3a 0.0000566\uff0c\u6821\u6b63\u540e\u7ea6\u4e3a 0.00485\u3002\u53f0\u9636\u57fa\u56e0\u5728\u6df7\u5408\u6838\u4e0b\u7684\u6821\u6b63\u503c\u6bd4\u5355\u6838\u7a0d\u5927\uff0c\u4ecd\u8fdc\u4f4e\u4e8e\u9608\u503c\u3002\u8fd9\u4e2a\u770b\u4f3c\u7ec6\u5fae\u7684\u53cd\u4f8b\u5f88\u91cd\u8981\uff0c\u6df7\u5408\u6838\u7684\u4ef7\u503c\u662f\u6269\u5145\u6240\u80fd\u53d1\u73b0\u7684\u5f62\u72b6\uff0c\u5e76\u4e0d\u627f\u8bfa\u6bcf\u4e2a\u57fa\u56e0\u7684\u6570\u503c\u90fd\u66f4\u5c0f\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\"># counts \u4e3a\u57fa\u56e0 \u00d7 \u70b9\u4f4d\uff0cxy \u7684\u6bcf\u4e00\u884c\u5bf9\u5e94\u4e00\u4e2a\u70b9\u4f4d\r\nstopifnot(identical(colnames(counts), rownames(xy)))\r\ns &lt;- SPARK::sparkx(counts, xy, numCores=1, option=&quot;mixture&quot;, verbose=FALSE)\r\ns$res_mtest[c(&quot;step&quot;, &quot;ring&quot;, &quot;white&quot;), c(&quot;combinedPval&quot;, &quot;adjustedPval&quot;)]\r\ncolnames(s$res_stest)\r\n<\/code><\/pre>\n<p>\u6700\u540e\u4fdd\u6301\u56db\u5341\u4e2a\u57fa\u56e0\u7684\u6bcf\u4e2a\u6570\u503c\u539f\u5c01\u4e0d\u52a8\uff0c\u968f\u673a\u6253\u4e71\u70b9\u4f4d\u4e0e\u5750\u6807\u4e4b\u95f4\u7684\u914d\u5bf9\uff0c\u91cd\u65b0\u8fd0\u884c\u6df7\u5408\u6838\u3002\u8fd9\u6b21\u56db\u5341\u4e2a\u57fa\u56e0\u6ca1\u6709\u4e00\u4e2a\u901a\u8fc7\u540c\u4e00\u6821\u6b63\u9608\u503c\u3002\u4e00\u6b21\u7f6e\u6362\u8db3\u4ee5\u6f14\u793a\u672c\u4f8b\u4f9d\u8d56\u7a7a\u95f4\u914d\u5bf9\uff0c\u5374\u65e0\u6cd5\u4f30\u8ba1\u771f\u5b9e\u6570\u636e\u4e0a\u7684\u957f\u671f\u8bef\u62a5\u7387\u3002\u5b9e\u9645\u7814\u7a76\u82e5\u8981\u505a\u7f6e\u6362\u8bc4\u4f30\uff0c\u5e94\u8be5\u4e8b\u5148\u9009\u5b9a\u6b21\u6570\u3001\u968f\u673a\u79cd\u5b50\u548c\u7f6e\u6362\u8303\u56f4\u3002\u591a\u5f20\u72ec\u7acb\u5207\u7247\u82e5\u968f\u610f\u4e92\u6362\u5750\u6807\uff0c\u7834\u574f\u7684\u53ef\u80fd\u65e2\u6709\u7247\u5185\u5e03\u5c40\uff0c\u4e5f\u6709\u7247\u95f4\u5dee\u5f02\u3002\u5e94\u4f9d\u7167\u8bbe\u8ba1\u5728\u9002\u5f53\u7684\u6837\u672c\u5185\u90e8\u6784\u9020\u5bf9\u7167\uff0c\u5e76\u628a\u7f6e\u6362\u7ed3\u679c\u548c\u539f\u59cb\u56fe\u540c\u65f6\u5b58\u6863\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u600e\u6837\u628a\u5019\u9009\u57fa\u56e0\u53d8\u6210\u53ef\u9a8c\u8bc1\u7684\u7ec4\u7ec7\u95ee\u9898<\/h2>\n<p>\u663e\u8457\u6027\u5217\u544a\u8bc9\u8bfb\u8005\u54ea\u4e9b\u57fa\u56e0\u7684\u8868\u8fbe\u4e0e\u4f4d\u7f6e\u6709\u5173\uff0c\u65e0\u6cd5\u4ec5\u51ed\u6570\u503c\u5224\u65ad\u5b83\u4f4d\u4e8e\u80bf\u7624\u8fb9\u7f18\u3001\u8840\u7ba1\u5468\u56f4\u8fd8\u662f\u7ec4\u7ec7\u8936\u76b1\u3002\u5bf9\u4e00\u4e2a\u5019\u9009\u73af\u5e26\uff0c\u53ef\u4ee5\u5148\u5728\u72ec\u7acb\u4e8e\u8868\u8fbe\u6570\u636e\u7684\u56fe\u50cf\u4e0a\u5708\u51fa\u8f6e\u5ed3\uff0c\u518d\u6309\u8ddd\u8f6e\u5ed3\u7684\u8ddd\u79bb\u5206\u5c42\u68c0\u67e5\u539f\u59cb\u8ba1\u6570\u548c\u68c0\u51fa\u6bd4\u4f8b\u3002\u82e5\u591a\u540d\u4f9b\u4f53\u6216\u76f8\u90bb\u5207\u7247\u90fd\u5728\u76f8\u4f3c\u4f4d\u7f6e\u51fa\u73b0\u4e00\u81f4\u6a21\u5f0f\uff0c\u8bc1\u636e\u4f1a\u66f4\u5177\u4f53\u3002\u82e5\u53ea\u6709\u4e00\u5757\u6df1\u67d3\u7684\u5c0f\u7247\u8d21\u732e\u591a\u6570\u5206\u5b50\uff0c\u5c31\u5e94\u628a\u4f4d\u7f6e\u3001\u70b9\u6570\u53ca\u53ef\u80fd\u7684\u7ec4\u7ec7\u4f2a\u5f71\u5199\u6e05\u695a\uff0c\u518d\u51b3\u5b9a\u662f\u5426\u5b89\u6392\u539f\u4f4d\u6210\u50cf\u9a8c\u8bc1\u3002<\/p>\n<p class=\"guide-end\" style=\"margin-top:1.6em;padding-top:1.0em;border-top:1px solid #d7e0e9\">\u591a\u5207\u7247\u9879\u76ee\u53ef\u5148\u56fa\u5b9a\u57fa\u56e0\u8fc7\u6ee4\u3001\u6838\u9009\u9879\u548c\u8d1f\u5bf9\u7167\uff0c\u518d\u6309\u6837\u672c\u6279\u91cf\u8fd0\u884c\u548c\u6c47\u603b\u3002\u9700\u8981\u96c6\u4e2d\u5904\u7406\u8fd9\u4e9b\u68c0\u9a8c\u5e76\u4fdd\u7559\u5404\u7247\u4e2d\u95f4\u7ed3\u679c\u65f6\uff0c\u53ef\u4e86\u89e3<a data-ysx-event=\"contact_click\" style=\"color:#3e718c;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>\u7528\u89c4\u5219\u7f51\u683c\u6a21\u62df\u53f0\u9636\u4e0e\u73af\u5e26\uff0c\u5b9e\u8dd1\u6295\u5f71\u6838\u3001\u6df7\u5408\u6838\u548c\u5750\u6807\u7f6e\u6362\uff0c\u5b66\u4f1a\u533a\u5206\u9010\u6838\u8bc1\u636e\u3001\u7ec4\u5408\u503c\u548c\u6821\u6b63\u503c\u3002<\/p>\n","protected":false},"author":1,"featured_media":69872,"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":[926,927,928],"class_list":["post-69873","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-transcriptomics","tag-spark-x","tag-927","tag-928"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/sparkx-spatial-genes-ring-projection-mixture-null-guide.png?fit=1200%2C840&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/69873","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=69873"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/69873\/revisions"}],"predecessor-version":[{"id":69874,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/69873\/revisions\/69874"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/69872"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=69873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=69873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=69873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}