{"id":79238,"date":"2026-12-03T10:00:00","date_gmt":"2026-12-03T02:00:00","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=79238"},"modified":"2026-11-28T14:10:17","modified_gmt":"2026-11-28T06:10:17","slug":"bioagent-singlecell-course-35","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/bioagent-singlecell-course-35\/","title":{"rendered":"\u5355\u7ec6\u80de\u5b9e\u6218\u8bfe 35\uff5c\u4ece\u5dee\u5f02\u57fa\u56e0\u8d70\u5230\u901a\u8def\uff0c\u518d\u56de\u6765\u6838\u5bf9\u57fa\u56e0"},"content":{"rendered":"<p>\u4e03\u5929\u5b9e\u6218\u8bfe \u00b7 \u7b2c 6 \u5929 \u00b7 \u7b2c 35 \u7bc7\u3000\u68c0\u9a8c\u5dee\u5f02\uff0c\u6311\u6218\u7ed3\u679c\u7a33\u5b9a\u6027<\/p>\n<h2>\u5bcc\u96c6\u5230\u5e72\u6270\u7d20\u901a\u8def\u4ee5\u540e\uff0c\u56de\u5230\u4f9b\u8005\u8eab\u4e0a\u770b\u57fa\u56e0<\/h2>\n<p>\u901a\u8def\u5206\u6790\u4ece\u4e00\u7ec4\u534f\u540c\u53d8\u5316\u7684\u57fa\u56e0\u63d0\u51fa\u89e3\u91ca\u3002\u5148\u6309\u5e26\u65b9\u5411\u7684\u6a21\u578b\u7edf\u8ba1\u91cf\u5bf9\u6240\u6709\u53d7\u68c0\u57fa\u56e0\u6392\u5e8f\uff0c\u518d\u770b\u901a\u8def\u6210\u5458\u662f\u5426\u96c6\u4e2d\u4e8e\u4e00\u7aef\uff0c\u53ef\u4ee5\u51cf\u5c11\u53ea\u76ef\u5c11\u6570\u663e\u8457\u57fa\u56e0\u7684\u5c40\u9650\u3002<\/p>\n<p><strong>\u8fd9\u7bc7\u8981\u4ea4\u7684\u7ed3\u679c<\/strong>\u3000\u5199\u4e24\u53e5\u53ef\u88ab\u6570\u636e\u652f\u6301\u7684\u89e3\u91ca\uff0c\u6ce8\u660e\u57fa\u56e0\u96c6\u6765\u6e90\u4e0e\u7248\u672c\u3002<\/p>\n<p class=\"classroom-downloads\"><a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-classroom-2026-lab-35.zip\">\u4e0b\u8f7d\u672c\u7bc7\u4ee3\u7801\u3001\u6570\u636e\u4e0e\u53c2\u8003\u7ed3\u679c\uff08ZIP\uff09<\/a>\u3000<a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-classroom-2026-slides-35.pptx\">\u4e0b\u8f7d\u7b2c 35\u201336 \u7bc7\u8bfe\u4ef6\uff08PPTX\uff09<\/a><\/p>\n<h2>\u5728 BioAgent \u91cc\u505a\u4e00\u904d<\/h2>\n<p>\u6253\u5f00\u9879\u76ee\u4f1a\u8bdd\uff0c\u4e0a\u4f20\u89e3\u538b\u540e\u7684\u76f8\u5e94\u6570\u636e\u6216\u5c06\u9879\u76ee\u653e\u5165\u5df2\u5173\u8054\u7684\u670d\u52a1\u5668\u76ee\u5f55\u3002\u628a\u4e0b\u9762\u8fd9\u53e5\u8bdd\u8fde\u540c\u6570\u636e\u6587\u4ef6\u540d\u53d1\u7ed9 Agent\u3002<\/p>\n<blockquote><p>\u8bf7\u6309\u51bb\u7ed3\u7684 Reactome \u9762\u677f\u505a\u5e26\u65b9\u5411\u7684\u79e9\u5bcc\u96c6\uff0c\u5bfc\u51fa leading edge \u4e0e NES\uff0c\u5e76\u753b\u4e00\u4e2a\u6838\u5fc3\u57fa\u56e0\u7684\u914d\u5bf9\u8868\u8fbe\u3002<\/p><\/blockquote>\n<p>\u4f7f\u7528\u7b2c 33 \u7bc7\u7684 sign(logFC)\u00d7\u221aF \u4f5c\u4e3a\u79e9\uff0c\u4f7f\u7528\u968f\u5305\u51bb\u7ed3\u7684 Reactome \u7b2c 98 \u7248\u6559\u5b66\u901a\u8def\u9762\u677f\u3002\u56fa\u5b9a\u968f\u673a\u79cd\u5b50\u8fd0\u884c fgsea\uff0c\u8bfb\u53d6 IFN \u03b1\/\u03b2 \u901a\u8def\u7684 NES \u4e0e leading edge\uff0c\u518d\u53d6\u9996\u4e2a\u6838\u5fc3\u57fa\u56e0\u753b\u516b\u7ec4\u914d\u5bf9\u8868\u8fbe\u3002<\/p>\n<p>\u9879\u76ee\u8f93\u5165\u3000bulk.csv.gz\u3001groups.csv\u3001contrast.csv.gz\u3001pathways.csv.gz\u3002<a href=\"https:\/\/www.biocloudservice.com\/bioagent\/\">\u6253\u5f00\u4e91\u751f\u4fe1 BioAgent<\/a><\/p>\n<h2>\u4ece\u56fe\u56de\u5230\u6570\u5b57<\/h2>\n<figure><picture class=\"ysx-course-original\"><source type=\"image\/png\" srcset=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-classroom-2026-fig-35.png\"><img decoding=\"async\" loading=\"lazy\" style=\"max-width:100%;height:auto\" src=\"\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-classroom-2026-fig-35.png\" alt=\"\u56fe\u753b\u56de\u4e00\u4e2a\u6838\u5fc3\u57fa\u56e0\u7684\u771f\u5b9e\u4f9b\u8005 logCPM\uff1b\u901a\u8def\u7ea7 NES \u5728\u7ed3\u679c\u8868\u3002\u9762\u677f\u5185\u7684\u591a\u91cd\u6821\u6b63\u9002\u7528\u4e8e\u672c\u6559\u5b66\u9762\u677f\uff0c\u4e0d\u80fd\u4ee3\u66ff\u5168\u5e93\u5206\u6790\u3002\"><\/picture><figcaption>\u56fe\u753b\u56de\u4e00\u4e2a\u6838\u5fc3\u57fa\u56e0\u7684\u771f\u5b9e\u4f9b\u8005 logCPM\uff1b\u901a\u8def\u7ea7 NES \u5728\u7ed3\u679c\u8868\u3002\u9762\u677f\u5185\u7684\u591a\u91cd\u6821\u6b63\u9002\u7528\u4e8e\u672c\u6559\u5b66\u9762\u677f\uff0c\u4e0d\u80fd\u4ee3\u66ff\u5168\u5e93\u5206\u6790\u3002<\/figcaption><\/figure>\n<table>\n<thead>\n<tr>\n<th>\u7528\u7ed3\u679c\u8868\u6838\u5bf9<\/th>\n<th>\u672c\u6b21\u5b9e\u8dd1\u503c<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th scope=\"row\">\u5b9e\u9645\u53c2\u4e0e\u79e9\u68c0\u9a8c\u7684\u901a\u8def<\/th>\n<td>17<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">IFN \u03b1\/\u03b2 \u901a\u8def NES<\/th>\n<td>2.42<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">\u5176\u6838\u5fc3\u57fa\u56e0\u6570<\/th>\n<td>39<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">\u56de\u67e5\u7684\u6838\u5fc3\u57fa\u56e0<\/th>\n<td>SOCS1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u4e0b\u8f7d\u540e\u590d\u8dd1<\/h2>\n<p>\u89e3\u538b\u4ee3\u7801\u5305\uff0c\u5728\u9879\u76ee\u6839\u76ee\u5f55\u6253\u5f00\u7ec8\u7aef\u3002\u7b2c\u4e00\u6b21\u8fd0\u884c\u6309\u4ee5\u4e0b\u6b65\u9aa4\u51c6\u5907\u73af\u5883\uff0c\u540c\u4e00\u73af\u5883\u53ef\u7ee7\u7eed\u7528\u4e8e\u540e\u7eed\u8bfe\u7a0b\u3002<\/p>\n<pre><code>\u5982\u5c1a\u672a\u5b89\u88c5\uff0c\u5148\u5728 R \u63a7\u5236\u53f0\u6267\u884c\r\nif (!requireNamespace(&quot;BiocManager&quot;, quietly=TRUE)) install.packages(&quot;BiocManager&quot;)\r\nBiocManager::install(c(&quot;edgeR&quot;,&quot;fgsea&quot;))\r\n\r\n\u56de\u5230\u7cfb\u7edf\u7ec8\u7aef\r\nRscript pathway_rank.R<\/code><\/pre>\n<p>\u5728 <code>results\/<\/code> \u4e2d\u5bf9\u7167 <code>table.csv<\/code>\u3001<code>metrics.csv<\/code> \u548c <code>figure.png<\/code>\u3002\u4e0b\u9762\u662f\u672c\u8bfe\u5165\u53e3\u4e2d\u7684\u4e00\u6bb5\u4ee3\u7801\uff0c\u5b8c\u6574\u7248\u672c\u5728\u538b\u7f29\u5305\u5185\u3002<\/p>\n<pre><code>t &lt;- read_data(&quot;contrast.csv.gz&quot;);s &lt;- t$rank_stat;names(s) &lt;- t$gene;s &lt;- sort(s,decreasing=TRUE)\r\nann &lt;- read_data(&quot;pathways.csv.gz&quot;);sets &lt;- split(ann$gene,ann$path)\r\nset.seed(2811);f &lt;- as.data.frame(fgsea::fgseaMultilevel(sets,s,minSize=10,maxSize=500,eps=1e-10,nproc=1));f &lt;- f[order(f$padj,-abs(f$NES)),]<\/code><\/pre>\n<h2>\u4ea4\u4f5c\u4e1a<\/h2>\n<p>\u540c\u4e00\u4e2a\u901a\u8def\u91cc\u6bcf\u4e2a\u57fa\u56e0\u90fd\u5e94\u663e\u8457\u5417\uff1f<\/p>\n<details>\n<summary>\u5c55\u5f00\u53c2\u8003\u7b54\u6848<\/summary>\n<p>\u5bcc\u96c6\u8861\u91cf\u6210\u5458\u6cbf\u6392\u540d\u7684\u5206\u5e03\uff0c\u6838\u5fc3\u96c6\u5408\u548c\u5404\u57fa\u56e0\u7684\u6548\u5e94\u4ecd\u9700\u5206\u522b\u6838\u5bf9\u3002<\/p>\n<\/details>\n<p><strong>\u6570\u636e\u51fa\u5904\u4e0e\u5904\u7406\u53e3\u5f84<\/strong>\u3000Kang GSE96583 \u6279\u6b21 2\uff0c\u516c\u5f00\u5bf9\u7167\u4e0e IFN-\u03b2 \u5904\u7406\u7684 PBMC\u3002\u4f7f\u7528\u539f\u59cb\u8ba1\u6570\u548c\u4f5c\u8005\u7684 singlet \u6807\u8bb0\uff1b\u4e24\u79cd\u6761\u4ef6\u5206\u522b\u6838\u5bf9\u6761\u7801\u5e8f\u5217\uff0c\u516b\u4f4d\u4f9b\u8005\u914d\u5bf9\u3002 \u4f2a\u6279\u91cf\u6309\u4f9b\u8005\u3001\u6761\u4ef6\u3001\u539f\u7ec6\u80de\u7c7b\u578b\u6c47\u603b\uff0c\u91cd\u590d\u7b26\u53f7\u6c42\u548c\uff1b\u6b63\u5f0f\u6a21\u578b\u4f7f\u7528 CD14\uff0c\u5e26\u65b9\u5411\u7684\u5bf9\u6bd4\u662f stim \u76f8\u5bf9 ctrl\u3002 \u6559\u5b66\u901a\u8def\u53d6 Reactome \u53d1\u5e03\u7248 98\uff0c\u6309\u7a33\u5b9a\u6807\u8bc6\u51bb\u7ed3\u4e3a\u5305\u5185\u7684\u8868\u3002 <a href=\"https:\/\/www.ncbi.nlm.nih.gov\/geo\/query\/acc.cgi?acc=GSE96583\">Kang \u539f\u59cb\u6570\u636e GSE96583<\/a>\u3000<a href=\"https:\/\/pmc.ncbi.nlm.nih.gov\/articles\/PMC5784859\/\">Kang \u7b49\u7684\u539f\u59cb\u8bba\u6587<\/a>\u3000<a href=\"https:\/\/bioconductor.org\/packages\/edgeR\/\">edgeR \u4f5c\u8005\u6587\u6863<\/a>\u3000<a href=\"https:\/\/reactome.org\/download-data\">Reactome \u5b98\u65b9\u6570\u636e\u4e0b\u8f7d<\/a>\u3000<a href=\"https:\/\/bioconductor.org\/packages\/fgsea\/\">fgsea \u4f5c\u8005\u6587\u6863<\/a><\/p>\n<p><a href=\"https:\/\/www.biocloudservice.com\/wordpress\/bioagent-singlecell-course\/\">\u8fd4\u56de\u4e03\u5929\u8bfe\u7a0b\u76ee\u5f55<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5199\u4e24\u53e5\u53ef\u88ab\u6570\u636e\u652f\u6301\u7684\u89e3\u91ca\uff0c\u6ce8\u660e\u57fa\u56e0\u96c6\u6765\u6e90\u4e0e\u7248\u672c\u3002<\/p>\n","protected":false},"author":1,"featured_media":79135,"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":[2056,71],"tags":[],"class_list":["post-79238","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bioagent-singlecell-class-2026","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-classroom-2026-fig-35.png?fit=1080%2C590&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/79238","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=79238"}],"version-history":[{"count":2,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/79238\/revisions"}],"predecessor-version":[{"id":79334,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/79238\/revisions\/79334"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/79135"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=79238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=79238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=79238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}