{"id":72137,"date":"2026-11-17T13:34:33","date_gmt":"2026-11-17T05:34:33","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=72137"},"modified":"2026-11-17T13:34:33","modified_gmt":"2026-11-17T05:34:33","slug":"ysx-sc-practice-069-pyscenic-tf-and-regulon","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/ysx-sc-practice-069-pyscenic-tf-and-regulon\/","title":{"rendered":"\u4e00\u4e2a\u8f6c\u5f55\u56e0\u5b50\u8868\u8fbe\u4e0d\u9ad8\uff0c\u5b83\u7684\u8c03\u63a7\u7f51\u7edc\u5c31\u4e00\u5b9a\u4e0d\u6d3b\u8dc3\u5417\uff1f"},"content":{"rendered":"<div style=\"max-width:820px;margin:0 auto;color:#263a47;font-size:17px;line-height:1.85;overflow-wrap:break-word\">\n<p>\u5728\u4e00\u5f20\u5355\u7ec6\u80de\u8868\u8fbe\u56fe\u4e0a\uff0c\u67d0\u4e2a\u8f6c\u5f55\u56e0\u5b50\u53ea\u6709\u96f6\u661f\u51e0\u4e2a\u70b9\u4eae\u7740\u3002\u6362\u4e00\u5f20\u8c03\u63a7\u7f51\u7edc\u6d3b\u6027\u56fe\uff0c\u5927\u7247\u7ec6\u80de\u5374\u90fd\u6709\u989c\u8272\u3002\u8fd9\u65f6\u503c\u5f97\u8ffd\u95ee\u4e09\u4e2a\u7ec6\u8282\uff1a\u54ea\u4e9b\u57fa\u56e0\u56e0\u4e3a\u548c\u5b83\u5171\u540c\u53d8\u5316\u800c\u5165\u9009\uff0c\u54ea\u4e9b\u57fa\u56e0\u53c8\u901a\u8fc7\u57fa\u5e8f\u7b5b\u9009\u7559\u4e0b\uff0c\u6700\u540e\u662f\u54ea\u6279\u9776\u57fa\u56e0\u5728\u8fd9\u9897\u7ec6\u80de\u91cc\u6392\u5f97\u9760\u524d\u3002\u67e5\u6e05\u8fd9\u4e09\u4ef6\u4e8b\uff0c\u7ecf\u5e38\u6bd4\u4e89\u8bba\u4e24\u5f20\u56fe\u54ea\u4e00\u5f20\u201c\u5bf9\u201d\u66f4\u6709\u7528\u3002\u4e0b\u9762\u7684\u7ec3\u4e60\u4ece\u8868\u8fbe\u539f\u8868\u5f00\u59cb\uff0c\u5e26\u4f60\u8ffd\u5230\u5341\u4e2a\u8f6c\u5f55\u56e0\u5b50\u8ba1\u6570\u4e3a\u96f6\u3001\u9776\u57fa\u56e0\u96c6\u8bc4\u5206\u5374\u6392\u5728\u524d\u9762\u7684\u6761\u7801\u3002<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1240\" height=\"800\" style=\"width:100%;height:auto;display:block;border-radius:12px\" alt=\"\u4ece\u5171\u8868\u8fbe\u5019\u9009\u5230\u57fa\u5e8f\u7b5b\u9009\u548c\u5355\u7ec6\u80de\u8bc4\u5206\uff0c\u5341\u4e2a\u6a21\u62df\u6761\u7801\u7684 STAT1 \u8ba1\u6570\u4e3a\u96f6\u4f46\u8bc4\u5206\u9760\u524d\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-069-pyscenic-tf-and-regulon.png?resize=1240%2C800&#038;ssl=1\" \/><\/p>\n<p><a download style=\"display:inline-block;margin:3px;padding:4px 10px;border:1px solid #bad0dd;border-radius:5px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-069-pyscenic-tf-and-regulon.zip\">\u4e0b\u8f7d\u5b8c\u6574\u4ee3\u7801\u3001\u793a\u4f8b\u6570\u636e\u4e0e\u53c2\u8003\u8f93\u51fa\uff08ZIP\uff09<\/a> \u00b7 <a download style=\"display:inline-block;margin:3px;padding:4px 10px;border:1px solid #bad0dd;border-radius:5px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-069-pyscenic-tf-and-regulon.pdf\">\u4e0b\u8f7d\u56fe\u6587\u64cd\u4f5c\u624b\u518c\uff08PDF\uff09<\/a><\/p>\n<h2>\u5148\u660e\u786e\u624b\u91cc\u5404\u6709\u54ea\u79cd\u6d4b\u91cf<\/h2>\n<p>\u8f6c\u5f55\u672c\u8ba1\u6570\u53cd\u6620\u8fd9\u4e2a\u7ec6\u80de\u5728\u6d4b\u5e8f\u4e2d\u88ab\u6355\u83b7\u7684\u5206\u5b50\u3002\u86cb\u767d\u662f\u5426\u5df2\u5b58\u5728\u3001\u662f\u5426\u7ecf\u8fc7\u4fee\u9970\u3001\u662f\u5426\u8fdb\u5165\u7ec6\u80de\u6838\u4ee5\u53ca\u662f\u5426\u7ed3\u5408\u67d0\u4e00\u6bb5\u67d3\u8272\u8d28\uff0c\u90fd\u6ca1\u6709\u88ab\u8fd9\u4e00\u4e2a\u8ba1\u6570\u76f4\u63a5\u6d4b\u5230\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u4e00\u7ec4\u5019\u9009\u9776\u57fa\u56e0\u5728\u7ec6\u80de\u5185\u7684\u8868\u8fbe\u6392\u540d\u53ef\u4ee5\u5171\u540c\u9760\u524d\uff0c\u7ed9\u7814\u7a76\u8005\u63d0\u4f9b\u4e00\u79cd\u89c2\u5bdf\u7f51\u7edc\u72b6\u6001\u7684\u529e\u6cd5\u3002\u4e0d\u8fc7\u51e0\u4e2a\u9776\u57fa\u56e0\u4e5f\u53ef\u80fd\u4e00\u8d77\u54cd\u5e94\u53e6\u4e00\u4e2a\u4e0a\u6e38\u4fe1\u53f7\u3002\u628a\u56e0\u5b50\u8868\u8fbe\u3001\u9776\u96c6\u8bc4\u5206\u548c\u7ed3\u5408\u8bc1\u636e\u5206\u522b\u8bb0\u5728\u8868\u91cc\uff0c\u5c31\u53ef\u4ee5\u5bf9\u540c\u4e00\u9897\u7ec6\u80de\u95ee\u4e09\u4e2a\u4e0d\u540c\u7684\u95ee\u9898\uff0c\u907f\u514d\u7ed9\u7f51\u7edc\u56fe\u4e0a\u7684\u4e00\u4e2a\u989c\u8272\u8d4b\u4e88\u8fc7\u591a\u542b\u4e49\u3002<a href=\"https:\/\/doi.org\/10.1038\/nmeth.4463\">SCENIC \u539f\u59cb\u8bba\u6587<\/a><\/p>\n<p>\u4e0b\u8f7d\u5305\u7528\u56db\u4e2a\u6a21\u62df\u4f9b\u8005\u3001\u4e8c\u767e\u4e94\u5341\u516d\u4e2a\u6761\u7801\u548c\u4e09\u767e\u4e8c\u5341\u4e2a\u57fa\u56e0\u6784\u9020\u8fd9\u4e00\u573a\u666f\u3002\u4e09\u4e2a\u7528\u771f\u5b9e\u7b26\u53f7\u547d\u540d\u7684\u5019\u9009\u56e0\u5b50\u662f STAT1\u3001SPI1 \u548c JUN\uff0c\u540e\u7f00\u5e26 SIM \u7684\u9776\u57fa\u56e0\u5747\u4e3a\u865a\u6784\u3002\u6211\u4eec\u8fd8\u6784\u9020\u4e86\u4e00\u767e\u96f6\u4e09\u4e2a\u6559\u5b66\u57fa\u5e8f\u6392\u5e8f\uff0c\u7ed9\u4e09\u4e2a\u57fa\u5e8f\u9884\u5148\u653e\u5165\u9760\u524d\u7684\u5019\u9009\uff0c\u5e76\u52a0\u5165\u4e00\u767e\u4e2a\u6253\u4e71\u987a\u5e8f\u7684\u5bf9\u7167\u3002\u81ea\u8eab\u6570\u636e\u5206\u6790\u5fc5\u987b\u53e6\u9009\u4e0e\u7269\u79cd\u3001\u57fa\u56e0\u547d\u540d\u548c\u53c2\u8003\u57fa\u56e0\u7ec4\u4e00\u81f4\u7684\u771f\u5b9e\u6392\u5e8f\u5e93\u3002\u8fd9\u4e2a\u5c0f\u8d44\u6e90\u7ed9\u4f60\u770b\u6e05\u7b5b\u9009\u600e\u6837\u5de5\u4f5c\uff0c\u4e5f\u8ba9\u4f60\u6709\u673a\u4f1a\u5220\u6389\u82e5\u5e72\u5df2\u77e5\u652f\u6301\u9879\u518d\u9a8c\u8bc1\u7ed3\u679c\uff0c\u4f46\u4e0d\u80fd\u7528\u4e8e\u9274\u5b9a\u771f\u5b9e STAT1 \u7684\u9776\u57fa\u56e0\u3002<\/p>\n<h2>\u7b2c\u4e00\u5f20\u8868\uff1a\u4ece\u5171\u540c\u53d8\u5316\u63d0\u51fa\u5019\u9009<\/h2>\n<p>\u5728\u8f93\u5165\u8ba1\u6570\u8868\u4e2d\uff0c\u6bcf\u884c\u662f\u4e00\u4e2a\u6761\u7801\uff0c\u6bcf\u5217\u662f\u4e00\u4e2a\u57fa\u56e0\u3002\u6bcf\u4e2a\u76ee\u6807\u57fa\u56e0\u8f6e\u6d41\u4f5c\u4e3a\u54cd\u5e94\u91cf\uff0c\u4e09\u4e2a\u5019\u9009\u56e0\u5b50\u7684\u8868\u8fbe\u4f5c\u4e3a\u8f93\u5165\uff0c\u8c03\u7528 Arboreto \u7684\u68af\u5ea6\u63d0\u5347\u6811\u56de\u5f52\u8ba1\u7b97\u5019\u9009\u8fb9\u7684\u91cd\u8981\u5ea6\uff0c\u56fa\u5b9a\u62bd\u6837\u79cd\u5b50\u3002\u7ec3\u4e60\u91c7\u7528\u8f83\u5c0f\u7684\u6811\u6570\u4ee5\u4fbf\u4e2a\u4eba\u7535\u8111\u590d\u73b0\uff0c\u540c\u4e00\u56e0\u5b50\u6700\u91cd\u8981\u7684\u4e00\u6279\u5019\u9009\u518d\u7ecf\u8fc7\u6b63\u76f8\u5173\u7b5b\u9009\u3002\u8fd9\u91cc\u4ec5\u8ba8\u8bba\u6fc0\u6d3b\u65b9\u5411\u5019\u9009\u3002\u67d0\u4e2a\u57fa\u56e0\u4e00\u65e6\u8fdb\u5165\u8fd9\u5f20\u8868\uff0c\u53ea\u8bf4\u660e\u5728\u5f53\u524d\u6570\u636e\u4e2d\u5b83\u7684\u53d8\u5316\u80fd\u7531\u56e0\u5b50\u8868\u8fbe\u5e2e\u52a9\u9884\u6d4b\u3002\u7ec6\u80de\u7c7b\u578b\u6216\u523a\u6fc0\u6761\u4ef6\u540c\u65f6\u5f71\u54cd\u4e24\u4e2a\u53d8\u91cf\u65f6\uff0c\u540c\u6837\u4f1a\u4ea7\u751f\u5019\u9009\u8fb9\u3002\u4e5f\u4e0d\u8981\u628a\u6811\u6a21\u578b\u7684\u91cd\u8981\u5ea6\u8bfb\u6210\u8c03\u63a7\u5f3a\u5ea6\u6216\u500d\u6570\u53d8\u5316\u3002<\/p>\n<pre style=\"max-width:100%;overflow:auto;padding:14px;box-sizing:border-box;background:#f1f6fa;line-height:1.6;font-size:0.9em\"><code class=\"language-python\">def infer_edges(expression, factors):\n    predictor = expression[factors].to_numpy(dtype=float)\n    parameters = {&quot;learning_rate&quot;: .06, &quot;n_estimators&quot;: 120, &quot;max_features&quot;: 1., &quot;subsample&quot;: .85}\n    edges = []\n    for target in expression:\n        fit = infer_partial_network(&quot;GBM&quot;, parameters, predictor, factors, target,\n                                    expression[target].to_numpy(float), seed=69)\n        edges.append(fit)\n    return pd.concat(edges, ignore_index=True).sort_values([&quot;importance&quot;, &quot;TF&quot;, &quot;target&quot;], ascending=[False, True, True])\n<\/code><\/pre>\n<p>\u811a\u672c\u53d6\u6bcf\u4e2a\u56e0\u5b50\u7684\u524d\u56db\u5341\u516b\u4e2a\u5019\u9009\u3002\u6784\u9020\u6a21\u5757\u7684\u51fd\u6570\u53e6\u52a0\u56e0\u5b50\u81ea\u8eab\uff0c\u6240\u4ee5 STAT1 \u5019\u9009\u6a21\u5757\u6e05\u5355\u51fa\u73b0\u56db\u5341\u4e5d\u9879\u3002\u82e5\u4f60\u628a\u8fd9\u4e00\u884c\u4e5f\u7b97\u5165\u201c\u4e0b\u6e38\u9776\u57fa\u56e0\u6570\u201d\uff0c\u7b2c\u4e00\u6b65\u5c31\u4f1a\u591a\u7b97\u4e00\u4e2a\u3002\u4e0b\u8f7d\u5305\u9010\u57fa\u56e0\u6807\u8bb0\u4e86\u5b83\u662f\u5426\u4e3a\u56e0\u5b50\u672c\u8eab\uff0c\u5e76\u4fdd\u7559\u672a\u901a\u8fc7\u4e0b\u4e00\u6b65\u7684\u57fa\u56e0\u3002\u771f\u5b9e\u9879\u76ee\u4e2d\u53ef\u4ee5\u628a\u65c1\u8def\u9014\u5f84\u3001\u7ec6\u80de\u5468\u671f\u548c\u666e\u904d\u9ad8\u8868\u8fbe\u57fa\u56e0\u4e5f\u52a0\u4e0a\u7c7b\u522b\uff0c\u5148\u5224\u65ad\u5019\u9009\u8fb9\u6709\u6ca1\u6709\u660e\u663e\u7684\u7ec6\u80de\u7ec4\u6210\u6216\u6d4b\u5e8f\u6df1\u5ea6\u9a71\u52a8\u3002\u5373\u4fbf\u4e00\u79cd\u91cd\u8981\u5ea6\u5f88\u5c0f\uff0c\u53ea\u8981\u5019\u9009\u6e05\u5355\u91cc\u8fd8\u4fdd\u7559\u7740\uff0c\u540e\u7eed\u5c31\u80fd\u544a\u8bc9\u8bfb\u8005\u5f53\u521d\u4f7f\u7528\u7684\u5224\u636e\u3002<\/p>\n<h2>\u7b2c\u4e8c\u5f20\u8868\uff1a\u68c0\u67e5\u4ec0\u4e48\u8ba9\u4e00\u6761\u5019\u9009\u8fb9\u7559\u4e0b<\/h2>\n<p>pySCENIC \u5728\u6bcf\u4e2a\u5019\u9009\u6a21\u5757\u4e2d\uff0c\u68c0\u67e5\u5176\u57fa\u56e0\u662f\u5426\u96c6\u4e2d\u51fa\u73b0\u5728\u67d0\u4e00\u57fa\u5e8f\u6392\u5e8f\u7684\u524d\u6bb5\uff0c\u518d\u5c06\u5bcc\u96c6\u57fa\u5e8f\u4e0e\u56e0\u5b50\u6ce8\u91ca\u76f8\u63a5\u3002\u5b9e\u9645\u8c03\u7528\u91cc\u9700\u8981\u8bb0\u5f55\u6240\u7528\u6392\u5e8f\u3001\u68c0\u7d22\u8303\u56f4\u3001\u8bc4\u5206\u6240\u7528\u7684\u524d\u6bb5\u6bd4\u4f8b\u3001\u5bcc\u96c6\u9608\u503c\u548c\u57fa\u5e8f\u6ce8\u91ca\u7248\u672c\u3002\u8fd9\u4e00\u6b65\u4f1a\u4ece\u5f97\u5230\u652f\u6301\u7684\u57fa\u5e8f\u6062\u590d\u51fa\u6838\u5fc3\u5019\u9009\u3002\u771f\u5b9e\u6570\u636e\u5e93\u901a\u5e38\u7531\u8c03\u63a7\u533a\u57df\u4e2d\u7684\u5e8f\u5217\u6216\u8f68\u9053\u6784\u5efa\uff0c\u542f\u52a8\u5b50\u7a97\u53e3\u3001\u8fdc\u7aef\u8c03\u63a7\u533a\u57df\u8986\u76d6\u548c\u57fa\u56e0\u6620\u5c04\u65b9\u6cd5\u90fd\u4f1a\u5f71\u54cd\u7ed3\u679c\u3002\u4e00\u4e2a\u57fa\u56e0\u672a\u901a\u8fc7\u7b5b\u9009\u4e5f\u53ef\u80fd\u4e0e\u8d44\u6e90\u7684\u641c\u7d22\u8303\u56f4\u6709\u5173\u3002\u628a\u5b83\u5199\u6210\u201c\u672c\u6b21\u6392\u5e8f\u5e93\u6ca1\u6709\u7ed9\u51fa\u8db3\u591f\u652f\u6301\u201d\u6bd4\u5199\u6210\u201c\u8fd9\u4e2a\u56e0\u5b50\u4e00\u5b9a\u4e0d\u8c03\u5b83\u201d\u66f4\u7b26\u5408\u89c2\u5bdf\u3002<a href=\"https:\/\/pyscenic.readthedocs.io\/en\/latest\/tutorial.html\">pySCENIC \u4f5c\u8005\u6559\u7a0b<\/a><\/p>\n<p>\u6559\u5b66\u5e93\u7ecf\u8fc7\u5b9e\u9645\u7b5b\u9009\u540e\uff0cSTAT1 \u7559\u4e0b\u4e8c\u5341\u4e09\u4e2a\u5019\u9009\uff0cSPI1 \u7559\u4e0b\u4e8c\u5341\u56db\u4e2a\uff0cJUN \u7559\u4e0b\u4e8c\u5341\u4e09\u4e2a\u3002\u4f60\u53ef\u4ee5\u4ece\u53bb\u7559\u8868\u4e2d\u6311\u51fa STAT1 \u7684\u7b2c\u4e8c\u5341\u4e09\u53f7\u6a21\u62df\u9776\u57fa\u56e0\uff0c\u56de\u67e5\u5b83\u5728\u5177\u4f53\u57fa\u5e8f\u6392\u5e8f\u4e2d\u7684\u4f4d\u7f6e\uff0c\u518d\u5bf9\u7167\u4e00\u4e2a\u843d\u9009\u7684\u57fa\u56e0\u3002\u751f\u6210\u5668\u523b\u610f\u53ea\u628a\u524d\u4e8c\u5341\u4e8c\u4e2a\u8bbe\u8ba1\u9776\u57fa\u56e0\u6446\u5728\u6700\u524d\u9762\uff0c\u7b2c\u4e8c\u5341\u4e09\u4e2a\u4e5f\u6709\u53ef\u80fd\u56e0\u4e3a\u5269\u4f59\u4f4d\u7f6e\u7684\u968f\u673a\u6392\u5e8f\u800c\u901a\u8fc7\u3002\u8fd9\u6bd4\u89c4\u5b9a\u201c\u5199\u8fdb\u751f\u6210\u811a\u672c\u7684\u4e00\u5b9a\u5168\u90e8\u627e\u56de\u6765\u201d\u66f4\u63a5\u8fd1\u7b5b\u9009\u7ec3\u4e60\u7684\u5b9e\u9645\u610f\u4e49\u3002\u82e5\u7528\u540c\u4e00\u5bb6\u65cf\u6210\u5458\u5171\u4eab\u7684\u771f\u5b9e\u57fa\u5e8f\uff0c\u5355\u9760\u4e00\u6b21\u5bcc\u96c6\u4e5f\u4e0d\u80fd\u786e\u5b9a\u662f\u5bb6\u65cf\u91cc\u54ea\u4f4d\u6210\u5458\u771f\u6b63\u7ed3\u5408\u3002<\/p>\n<div style=\"overflow:auto\">\n<table style=\"width:100%;border-collapse:collapse\">\n<thead>\n<tr>\n<th style=\"padding:9px;text-align:left;background:#d9f4e5\">\u60f3\u6838\u5bf9\u4ec0\u4e48<\/th>\n<th style=\"padding:9px;text-align:left;background:#d9f4e5\">\u6253\u5f00\u54ea\u4efd\u8868<\/th>\n<th style=\"padding:9px;text-align:left;background:#d9f4e5\">\u5728\u54ea\u91cc\u5bfb\u627e\u8bc1\u636e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u4e3a\u4ec0\u4e48\u66fe\u5217\u4e3a\u5019\u9009<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">coexpression_edges.tsv<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u56e0\u5b50\u3001\u76ee\u6807\u57fa\u56e0\u548c\u6811\u56de\u5f52\u91cd\u8981\u5ea6<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u4e3a\u4ec0\u4e48\u4fdd\u7559\u6216\u79fb\u9664<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">candidate_modules.tsv\u3001motif_enrichment.tsv\u3001pruned_targets.tsv<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u539f\u5019\u9009\u3001\u5bcc\u96c6\u57fa\u5e8f\u3001\u6062\u590d\u51fa\u7684\u57fa\u56e0<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u54ea\u9897\u7ec6\u80de\u9776\u96c6\u6392\u540d\u9760\u524d<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">auc.tsv\u3001barcode_evidence.tsv<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u7528\u540c\u4e00\u6761\u7801\u63a5\u56de\u539f\u59cb\u56e0\u5b50\u8ba1\u6570<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>\u7b2c\u4e09\u5f20\u8868\uff1a\u628a\u7f51\u7edc\u8bc4\u5206\u63a5\u56de\u90a3\u4e00\u9897\u7ec6\u80de<\/h2>\n<p>AUCell \u5bf9\u6bcf\u4e2a\u7ec6\u80de\u5206\u522b\u5c06\u57fa\u56e0\u8868\u8fbe\u6392\u5e8f\uff0c\u68c0\u67e5\u6307\u5b9a\u9776\u96c6\u5728\u6392\u540d\u9760\u524d\u7684\u90e8\u5206\u6062\u590d\u5f97\u600e\u6837\u3002\u4f8b\u5982\u4e00\u4e2a\u7ec6\u80de\u6ca1\u6709\u8bfb\u5230 STAT1\uff0c\u4f46\u6709\u5341\u591a\u4e2a\u5019\u9009\u9776\u57fa\u56e0\u540c\u65f6\u6392\u5728\u524d\u6bb5\uff0c\u8fd9\u4e2a\u7ec6\u80de\u5c31\u53ef\u80fd\u6709\u4e00\u4e2a\u8f83\u9ad8\u7684 STAT1 \u9776\u96c6\u5f97\u5206\u3002\u8fd9\u91cc\u7ed9\u8bc4\u5206\u4f7f\u7528\u6392\u540d\u524d\u4e00\u6210\u7684\u533a\u57df\uff0c\u56fa\u5b9a\u5e76\u5217\u503c\u968f\u673a\u62c6\u5206\u7684\u79cd\u5b50\u3002\u518d\u7528\u6574\u6279\u7ec6\u80de\u5f97\u5206\u7684\u4e0a\u56db\u5206\u4f4d\u4f5c\u4e3a\u67e5\u627e\u6761\u7801\u7684\u6f14\u793a\u95e8\u69db\uff0c\u65b9\u4fbf\u5728\u56fe\u4e0a\u753b\u51fa\u4e00\u6761\u5bb9\u6613\u590d\u6838\u7684\u6c34\u5e73\u7ebf\u3002\u524d\u4e00\u4e2a\u6bd4\u4f8b\u5b9a\u4e49\u6bcf\u4e2a\u7ec6\u80de\u5185\u90e8\u5982\u4f55\u6253\u5206\uff0c\u540e\u4e00\u4e2a\u6bd4\u4f8b\u5b9a\u4e49\u8de8\u7ec6\u80de\u9009\u51fa\u8c01\uff0c\u4e24\u8005\u7528\u7684\u5206\u6bcd\u5b8c\u5168\u4e0d\u540c\u3002<\/p>\n<pre style=\"max-width:100%;overflow:auto;padding:14px;box-sizing:border-box;background:#f1f6fa;line-height:1.6;font-size:0.9em\"><code class=\"language-python\">def compare_measurements(counts, scores, metadata, factor, quantile):\n    regulon = factor + &quot;(+)&quot;\n    if set(counts.index) != set(scores.index) or set(counts.index) != set(metadata.index):\n        raise ValueError(&quot;Barcode sets disagree&quot;)\n    result = metadata[[&quot;donor&quot;, &quot;simulation_program&quot;]].copy()\n    result[&quot;tf_umi&quot;] = counts[factor]\n    result[&quot;regulon_auc&quot;] = scores[regulon]\n    cutoff = result.regulon_auc.quantile(quantile)\n    result[&quot;auc_in_upper_group&quot;] = result.regulon_auc &gt;= cutoff\n    result[&quot;zero_umi_upper_auc&quot;] = (result.tf_umi == 0) &amp; result.auc_in_upper_group\n    return result, cutoff\n<\/code><\/pre>\n<p>\u89e3\u538b\u540e\u53ef\u4ee5\u5148\u7528\u57fa\u7840\u73af\u5883\u590d\u7b97\u6240\u6709\u8868\uff0c\u518d\u7528\u5355\u72ec\u73af\u5883\u91cd\u62df\u5408\u4e09\u6b65\u7f51\u7edc\u3002\u7b2c\u4e00\u6761\u547d\u4ee4\u786e\u5b9a\u5de5\u4f5c\u76ee\u5f55\u542b\u6709\u539f\u59cb\u8ba1\u6570\uff0c\u8fd0\u884c\u540e\u5e94\u5728\u8f93\u51fa\u8868\u770b\u5230\u5341\u4e2a\u6761\u7801\u7b26\u5408\u4e24\u4e2a\u6761\u4ef6\u3002\u6539\u53d8\u6700\u540e\u4e00\u6761\u68c0\u67e5\u547d\u4ee4\u7684\u5206\u4f4d\u6570\u65f6\u8bf7\u4f7f\u7528\u65b0\u7684\u76ee\u5f55\uff0c\u968f\u540e\u6309\u6761\u7801\u6bd4\u8f83\u54ea\u4e9b\u521a\u597d\u8de8\u8fc7\u95e8\u69db\u3002\u9700\u8981\u4ece\u5934\u4f30\u8ba1\u5019\u9009\u7f51\u7edc\u65f6\uff0c\u6309\u538b\u7f29\u5305\u7684\u73af\u5883\u6587\u4ef6\u5b89\u88c5\u76f8\u5e94\u7248\u672c\u518d\u8fd0\u884c\u62df\u5408\u811a\u672c\uff0c\u4e0d\u5fc5\u628a\u6240\u6709\u4f9d\u8d56\u88c5\u8fdb\u73b0\u6709\u9879\u76ee\u3002<\/p>\n<pre style=\"max-width:100%;overflow:auto;padding:14px;box-sizing:border-box;background:#f1f6fa;line-height:1.6;font-size:0.9em\"><code class=\"language-sh\">python -m pip install -r requirements.txt\npython run.py --input example --out results\npython run.py --input example --out results_q90 --quantile 0.90\nconda env create -f model-environment.yml\nconda run -n scenic-lesson python fit_scenic.py example example\/fit-new\n<\/code><\/pre>\n<p>\u672c\u6b21\u4e8c\u767e\u4e94\u5341\u516d\u4e2a\u6761\u7801\u4e2d\uff0c\u4e00\u767e\u4e03\u5341\u56db\u4e2a\u6ca1\u6709\u8bfb\u5230 STAT1\uff0c\u516d\u5341\u56db\u4e2a\u4f4d\u4e8e\u8bc4\u5206\u524d\u56db\u5206\u4e4b\u4e00\u3002\u4e24\u9879\u540c\u65f6\u6ee1\u8db3\u7684\u6709\u5341\u4e2a\uff0c\u56db\u4e2a\u6a21\u62df\u4f9b\u8005\u5206\u522b\u8d21\u732e\u4e8c\u3001\u4e00\u3001\u4e09\u3001\u56db\u4e2a\u3002\u6253\u5f00\u7b2c\u4e00\u4f4d\u4f9b\u8005\u7684\u4e8c\u5341\u53f7\u6761\u7801\uff0cSTAT1 \u7684\u8ba1\u6570\u662f\u96f6\uff0c\u9776\u96c6\u8bc4\u5206\u7ea6\u96f6\u70b9\u4e94\u4e5d\u4e8c\uff0c\u660e\u663e\u9ad8\u4e8e\u8fd9\u4e00\u6279\u6761\u7801\u7ea6\u96f6\u70b9\u4e00\u4e00\u56db\u7684\u7b5b\u9009\u7ebf\u3002\u4e0e\u6b64\u540c\u65f6\uff0c\u6574\u6279\u56e0\u5b50\u8ba1\u6570\u4e0e\u8bc4\u5206\u7684\u79e9\u76f8\u5173\u7ea6\u4e3a\u96f6\u70b9\u516d\u516b\u4e5d\u3002\u603b\u4f53\u6b63\u76f8\u5173\u548c\u4e2a\u522b\u6761\u7801\u4e0d\u543b\u5408\u53ef\u4ee5\u5728\u540c\u4e00\u5f20\u8868\u91cc\u540c\u65f6\u6210\u7acb\u3002\u62a5\u544a\u65f6\u628a\u5206\u5b50\u3001\u5206\u6bcd\u548c\u5177\u4f53\u793a\u4f8b\u653e\u5728\u4e00\u8d77\uff0c\u53ef\u4ee5\u907f\u514d\u53ea\u5c55\u793a\u4e00\u9897\u6781\u7aef\u7ec6\u80de\u5c31\u63a8\u65ad\u6574\u7fa4\u72b6\u6001\u3002<\/p>\n<h2>\u600e\u6837\u628a\u4e00\u4e2a\u5019\u9009\u53d8\u6210\u53ef\u68c0\u9a8c\u7684\u95ee\u9898<\/h2>\n<p>\u771f\u5b9e\u9879\u76ee\u91cc\uff0c\u5148\u9650\u5b9a\u540c\u4e00\u79cd\u7ec6\u80de\u548c\u53ef\u6bd4\u8f83\u7684\u6761\u4ef6\uff0c\u6309\u4f9b\u8005\u5217\u51fa\u96f6\u8ba1\u6570\u800c\u9776\u96c6\u9760\u524d\u7684\u6570\u91cf\uff0c\u6838\u5bf9\u8fd9\u4e9b\u6761\u7801\u7684\u6587\u5e93\u6df1\u5ea6\u3001\u68c0\u6d4b\u57fa\u56e0\u6570\u548c\u9776\u96c6\u6709\u6548\u8986\u76d6\u3002\u518d\u4ece\u9776\u57fa\u56e0\u5217\u8868\u6311\u51fa\u51e0\u4e2a\u5728\u591a\u4f4d\u4f9b\u8005\u90fd\u51fa\u73b0\u7684\u6210\u5458\uff0c\u56de\u5230\u539f\u77e9\u9635\u68c0\u67e5\u5b83\u4eec\u662f\u5426\u53ea\u9760\u4e00\u4e24\u4e2a\u7279\u522b\u4e30\u5bcc\u7684\u57fa\u56e0\u652f\u6491\u3002\u53ef\u4ee5\u62c6\u6389\u9ad8\u6743\u91cd\u6210\u5458\u91cd\u7b97\u5f97\u5206\u3001\u5f15\u5165\u8868\u8fbe\u4e30\u5ea6\u5339\u914d\u7684\u5bf9\u7167\u57fa\u56e0\u96c6\uff0c\u6216\u5c06\u8bad\u7ec3\u7f51\u7edc\u548c\u8bc4\u4f30\u7f51\u7edc\u653e\u5728\u72ec\u7acb\u4f9b\u8005\u4e2d\u3002\u6700\u540e\u6309\u95ee\u9898\u9009\u62e9\u9a8c\u8bc1\uff1a\u8981\u770b\u56e0\u5b50\u662f\u5426\u7ed3\u5408\u5019\u9009\u533a\u57df\uff0c\u53ef\u8bbe\u8ba1\u76f8\u5e94\u7684\u7ed3\u5408\u5b9e\u9a8c\uff1b\u8981\u770b\u9776\u57fa\u56e0\u8868\u8fbe\u662f\u5426\u4f9d\u8d56\u5b83\uff0c\u53ef\u6270\u52a8\u56e0\u5b50\u518d\u6d4b\u54cd\u5e94\uff0c\u5e76\u4fdd\u7559\u975e\u9776\u5411\u5bf9\u7167\u548c\u591a\u4e2a\u72ec\u7acb\u5411\u5bfc\u3002<\/p>\n<p>\u5f53\u4f60\u80fd\u62ff\u7740\u67d0\u4e00\u9897\u7ec6\u80de\u7684\u8ba1\u6570\u3001\u5b83\u5bf9\u5e94\u7684\u9776\u57fa\u56e0\u4ee5\u53ca\u652f\u6301\u7b5b\u9009\u7684\u57fa\u5e8f\uff0c\u7ed3\u8bba\u5c31\u53ef\u4ee5\u5199\u5f97\u5177\u4f53\uff1a\u8fd9\u6279\u6761\u7801\u4e2d\u51fa\u73b0\u503c\u5f97\u590d\u6838\u7684\u8c03\u63a7\u7a0b\u5e8f\uff0c\u5176\u6765\u6e90\u5c1a\u5f85\u5b9e\u9a8c\u786e\u8ba4\u3002\u968f\u5305\u8ba1\u6570\u5f88\u5c0f\uff0c\u9002\u5408\u672c\u5730\u53cd\u590d\u8c03\u6574\u95e8\u69db\uff1b\u6362\u6210\u771f\u5b9e\u5168\u57fa\u56e0\u7ec4\u6392\u5e8f\u5e93\u3001\u591a\u4e2a\u4f9b\u8005\u548c\u591a\u6b21\u968f\u673a\u79cd\u5b50\u540e\uff0c\u53ef\u4ee5\u5728<a href=\"https:\/\/www.biocloudservice.com\/wordpress\/compute-services\/\">\u4e91\u751f\u4fe1\u79d1\u7814\u670d\u52a1\u5668\u79df\u8d41<\/a>\u4e0a\u6309\u7248\u672c\u4fdd\u5b58\u6392\u5e8f\u5e93\u53ca\u5404\u8f6e\u5019\u9009\u8868\uff0c\u7b49\u6240\u6709\u8fd0\u884c\u7ed3\u675f\u518d\u9010\u6761\u5bf9\u7167\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7528 GRNBoost2\u3001pySCENIC \u7684\u57fa\u5e8f\u7b5b\u9009\u548c AUCell \u4f9d\u6b21\u8ffd\u8e2a\u540c\u4e00\u6761\u7f51\u7edc\uff0c\u518d\u627e\u51fa\u8f6c\u5f55\u56e0\u5b50\u8ba1\u6570\u4e3a\u96f6\u3001\u9776\u57fa\u56e0\u96c6\u5f97\u5206\u5374\u8f83\u9ad8\u7684\u5177\u4f53\u6761\u7801\u3002<\/p>\n","protected":false},"author":1,"featured_media":72134,"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":[],"class_list":["post-72137","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-single-cell"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-069-pyscenic-tf-and-regulon.png?fit=1240%2C800&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/72137","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=72137"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/72137\/revisions"}],"predecessor-version":[{"id":73708,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/72137\/revisions\/73708"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/72134"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=72137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=72137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=72137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}