{"id":72379,"date":"2026-11-17T13:34:39","date_gmt":"2026-11-17T05:34:39","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=72379"},"modified":"2026-11-17T13:34:39","modified_gmt":"2026-11-17T05:34:39","slug":"ysx-sc-practice-093-enrichment-testable-background","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/ysx-sc-practice-093-enrichment-testable-background\/","title":{"rendered":"\u5bcc\u96c6\u5206\u6790\u6362\u4e86\u80cc\u666f\u57fa\u56e0\uff0c\u7b2c\u4e00\u540d\u901a\u8def\u4e3a\u4ec0\u4e48\u53d8\u4e86\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>\u5355\u7ec6\u80de\u6587\u7ae0\u91cc\u5e38\u89c1\u8fd9\u6837\u4e00\u5f20\u56fe\uff1a\u67d0\u7c7b\u7ec6\u80de\u5904\u7406\u540e\u4e0a\u8c03\u4e86\u56db\u5341\u4e2a\u57fa\u56e0\uff0c\u4e00\u4e2a\u901a\u8def\u6392\u5728\u5bcc\u96c6\u7ed3\u679c\u7b2c\u4e00\u540d\u3002\u540c\u4e8b\u53ea\u6362\u4e86\u4e00\u4e2a\u80cc\u666f\u57fa\u56e0\u6587\u4ef6\uff0c\u5dee\u5f02\u8868\u4e00\u4e2a\u5b57\u90fd\u6ca1\u52a8\uff0c\u7b2c\u4e00\u540d\u5c31\u53d8\u6210\u53e6\u4e00\u6761\u3002\u7a76\u7adf\u54ea\u4e00\u6b65\u6539\u4e86\u7edf\u8ba1\u95ee\u9898\uff1f\u6211\u4eec\u505a\u4e86\u4e00\u4e2a\u80fd\u7528\u56db\u4e2a\u6574\u6570\u590d\u7b97\u7684\u4f8b\u5b50\u3002\u4e24\u6761\u901a\u8def\u5206\u522b\u547d\u4e2d\u5341\u56db\u548c\u5341\u4e2a\u57fa\u56e0\uff0c\u4ece\u5934\u5230\u5c3e\u6ca1\u6709\u53d8\u5316\u3002\u7b49\u628a\u201c\u5f53\u521d\u6709\u673a\u4f1a\u6210\u4e3a\u5dee\u5f02\u57fa\u56e0\u7684\u5019\u9009\u201d\u4e5f\u5217\u51fa\u6765\uff0c\u540d\u6b21\u4e92\u6362\u7684\u539f\u56e0\u5c31\u80fd\u7528\u7b97\u672f\u8bf4\u6e05\u3002\u4ee3\u7801\u3001\u5019\u9009\u751f\u6210\u5668\u548c\u5b8c\u6574\u6210\u5458\u8868\u90fd\u5728\u4e0b\u8f7d\u5305\u91cc\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=\"\u540c\u4e00\u4efd\u5dee\u5f02\u57fa\u56e0\uff0c\u4e3a\u4f55\u7b2c\u4e00\u540d\u6362\u4e86\uff1f\uff0c\u628a\u56db\u4e2a\u6574\u6570\u5199\u5728\u5bcc\u96c6\u56fe\u65c1\u8fb9\u300240 \u4e2a\u4e0a\u8c03\u57fa\u56e0\uff0c\u4e24\u6761\u901a\u8def\u5404\u547d\u4e2d 14\u300110 \u4e2a\uff1b\u5168\u57fa\u56e0\u7ec4 10,000\uff0c\u5b9e\u9645\u53d7\u68c0 1,000\uff1b\u6613\u68c0\u51fa\u901a\u8def\u4ece\u7b2c\u4e00\u964d\u5230\u7b2c\u4e8c\uff0c\u7d27\u51d1\u54cd\u5e94\u5347\u81f3\u7b2c\u4e00\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-093-enrichment-testable-background.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-093-enrichment-testable-background.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-093-enrichment-testable-background.pdf\">\u4e0b\u8f7d\u56fe\u6587\u64cd\u4f5c\u624b\u518c\uff08PDF\uff09<\/a><\/p>\n<h2>\u627e\u5230\u5dee\u5f02\u68c0\u9a8c\u4e4b\u524d\u7559\u4e0b\u7684\u90a3\u4efd\u57fa\u56e0\u8868<\/h2>\n<p>\u7ec3\u4e60\u6709\u4e00\u4e07\u4e2a\u865a\u62df\u57fa\u56e0\uff0c\u53ea\u6709\u4e00\u5343\u4e2a\u5728\u76ee\u6807\u7ec6\u80de\u7c7b\u578b\u91cc\u901a\u8fc7\u8868\u8fbe\u8fc7\u6ee4\u5e76\u5b9e\u9645\u8fdb\u5165\u5dee\u5f02\u68c0\u9a8c\u3002\u4ece\u8fd9\u4e00\u5343\u4e2a\u57fa\u56e0\u4e2d\u5f97\u5230\u56db\u5341\u4e2a\u4e0a\u8c03\u5019\u9009\u3002\u8868\u91cc\u6709\u72ec\u7acb\u7684\u4e24\u5217\uff0c\u6807\u8bb0\u201c\u6709\u8d44\u683c\u88ab\u68c0\u9a8c\u201d\u548c\u201c\u88ab\u9009\u4e2d\u201d\u3002\u5176\u4f59\u57fa\u56e0\u4ecd\u5728\u7269\u79cd\u57fa\u56e0\u7ec4\u4e2d\uff0c\u4e5f\u53ef\u80fd\u5c5e\u4e8e\u7814\u7a76\u8005\u611f\u5174\u8da3\u7684\u901a\u8def\uff0c\u4f46\u5728\u8fd9\u6b21\u7279\u5b9a\u7b5b\u9009\u91cc\uff0c\u5b83\u4eec\u6ca1\u6709\u673a\u4f1a\u51fa\u73b0\u5728\u663e\u8457\u540d\u5355\u91cc\u3002\u5f53\u95ee\u9898\u662f\u201c\u5728\u8fd9\u4e2a\u7ec6\u80de\u7c7b\u578b\u5b9e\u9645\u6d4b\u8bd5\u7684\u57fa\u56e0\u91cc\u9762\uff0c\u67d0\u901a\u8def\u662f\u5426\u7279\u522b\u96c6\u4e2d\u201d\uff0c\u80cc\u666f\u5c31\u5e94\u53cd\u6620\u8fd9\u4e00\u8f6e\u7684\u9009\u62e9\u673a\u4f1a\u3002\u57fa\u56e0\u7ec4\u3001\u68c0\u6d4b\u9762\u677f\u548c\u672c\u6b21\u53d7\u68c0\u6e05\u5355\u662f\u4e09\u79cd\u53ef\u5206\u522b\u4fdd\u5b58\u7684\u96c6\u5408\u3002<a href=\"https:\/\/geneontology.org\/docs\/go-enrichment-analysis\/\">GO \u5bf9\u53c2\u8003\u57fa\u56e0\u5217\u8868\u7684\u5b9a\u4e49<\/a><\/p>\n<p>\u56de\u5230\u771f\u5b9e\u9879\u76ee\uff0c\u6700\u6709\u4ef7\u503c\u7684\u5f80\u5f80\u4e0d\u662f\u6700\u7ec8\u706b\u5c71\u56fe\uff0c\u800c\u662f\u6a21\u578b\u8fd0\u884c\u524d\u540e\u7684\u5b8c\u6574\u7ed3\u679c\u8868\u3002\u8868\u8fbe\u6ee4\u9664\u3001\u7f3a\u5c11\u6709\u6548\u4f30\u8ba1\u3001\u72ec\u7acb\u8fc7\u6ee4\u3001\u57fa\u56e0\u6620\u5c04\u5931\u8d25\u53ef\u80fd\u53d1\u751f\u5728\u4e0d\u540c\u9636\u6bb5\u3002\u5148\u660e\u786e\u54ea\u4e9b\u57fa\u56e0\u7406\u8bba\u4e0a\u53ef\u4ee5\u6309\u4f60\u8bbe\u7684\u5b9e\u9645\u6761\u4ef6\u8fdb\u5165\u6700\u7ec8\u67e5\u8be2\uff0c\u518d\u4ece\u5bf9\u5e94\u8868\u4e2d\u53d6\u80cc\u666f\u3002\u4e0d\u80fd\u628a\u6700\u7ec8\u663e\u8457\u57fa\u56e0\u76f4\u63a5\u7528\u4f5c\u80cc\u666f\uff0c\u4e5f\u4e0d\u80fd\u4e3a\u4e86\u8ba9\u67d0\u6761\u901a\u8def\u540d\u6b21\u597d\u770b\uff0c\u5c55\u793a\u7ed3\u679c\u4e4b\u540e\u518d\u8c03\u6574\u68c0\u6d4b\u9608\u503c\u3002\u5bf9\u4e8e\u4e24\u7c7b\u7ec6\u80de\u5206\u522b\u505a\u7684\u68c0\u9a8c\uff0c\u5b83\u4eec\u7684\u68c0\u51fa\u8303\u56f4\u53ef\u80fd\u4e0d\u540c\uff0c\u80cc\u666f\u4e5f\u8981\u5206\u522b\u5b58\u6863\u3002\u6574\u6279\u6837\u672c\u91cc\u5076\u7136\u6d4b\u5230\u8fc7\u4e00\u6b21\u7684\u57fa\u56e0\uff0c\u4e0d\u4fdd\u8bc1\u5728\u6bcf\u79cd\u7c7b\u578b\u5185\u90fd\u5177\u5907\u68c0\u9a8c\u8d44\u683c\u3002<\/p>\n<h2>\u5c06\u6bcf\u6761\u901a\u8def\u5316\u6210\u56db\u4e2a\u80fd\u6838\u5bf9\u7684\u6574\u6570<\/h2>\n<p>\u8bbe\u80cc\u666f\u57fa\u56e0\u603b\u6570\u4e3a N\uff0c\u80cc\u666f\u4e2d\u5c5e\u4e8e\u8fd9\u6761\u901a\u8def\u7684\u6210\u5458\u6570\u662f K\uff0c\u67e5\u8be2\u540d\u5355\u4e2d\u786e\u5b9e\u5c5e\u4e8e\u8fd9\u4e2a\u80cc\u666f\u7684\u57fa\u56e0\u6570\u662f n\uff0c\u5176\u4e2d\u540c\u65f6\u5c5e\u4e8e\u901a\u8def\u7684\u4e3a k\u3002\u96f6\u5047\u8bbe\u53ef\u4ee5\u60f3\u6210\u4ece N \u4e2a\u5019\u9009\u4e2d\u4e0d\u653e\u56de\u968f\u673a\u53d6 n \u4e2a\uff0c\u8ba1\u7b97\u5f97\u5230\u81f3\u5c11 k \u4e2a\u901a\u8def\u6210\u5458\u7684\u6982\u7387\u3002\u5bcc\u96c6\u500d\u6570\u5219\u662f\u67e5\u8be2\u540d\u5355\u5185\u7684\u901a\u8def\u6bd4\u4f8b\u9664\u4ee5\u80cc\u666f\u4e2d\u7684\u901a\u8def\u6bd4\u4f8b\u3002\u4e0b\u9762\u7684\u51fd\u6570\u5bf9\u901a\u8def\u4e0e\u67e5\u8be2\u540d\u5355\u90fd\u5148\u548c\u5f53\u524d\u80cc\u666f\u53d6\u4ea4\u96c6\uff0c\u518d\u8fdb\u884c\u8ba1\u7b97\u3002\u5b83\u540c\u65f6\u8f93\u51fa\u5177\u4f53\u91cd\u53e0\u7684\u57fa\u56e0\u540d\uff0c\u4fbf\u4e8e\u53d1\u73b0\u540c\u4e49\u8bcd\u6620\u5c04\u91cd\u590d\u3001\u4e00\u6761\u8bb0\u5f55\u62fc\u9519\u6216\u540c\u4e00\u4e2a\u57fa\u56e0\u88ab\u591a\u6b21\u8ba1\u5165\u7684\u95ee\u9898\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 test_set(query,universe,members):\n    eligible=members&amp;universe;active=query&amp;universe;overlap=eligible&amp;active\n    N,K,n,k=len(universe),len(eligible),len(active),len(overlap)\n    return N,K,n,k,(k\/n)\/(K\/N) if n and K else np.nan,hypergeom.sf(k-1,N,K,n),&quot;,&quot;.join(sorted(overlap))\n<\/code><\/pre>\n<p>\u5148\u770b\u6613\u68c0\u51fa\u7684\u6559\u5b66\u901a\u8def\u3002\u6574\u4e2a\u7269\u79cd\u91cc\u5b83\u6709\u4e00\u767e\u4e2a\u6210\u5458\uff0c\u82e5\u4ee5\u4e00\u4e07\u4e3a\u80cc\u666f\uff0c\u968f\u673a\u62bd\u56db\u5341\u4e2a\uff0c\u671f\u671b\u547d\u4e2d\u96f6\u70b9\u56db\u4e2a\u3002\u5b9e\u9645\u547d\u4e2d\u5341\u56db\u4e2a\uff0c\u76f8\u5f53\u4e8e\u671f\u671b\u7684\u4e09\u5341\u4e94\u500d\u3002\u6362\u6210\u53d7\u68c0\u80cc\u666f\uff0c\u5b83\u5728\u4e00\u5343\u4e2a\u57fa\u56e0\u91cc\u5c31\u6709\u4e5d\u5341\u4e94\u4e2a\u6210\u5458\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u901a\u8def\u7684\u5927\u90e8\u5206\u6210\u5458\u672c\u6765\u5c31\u5bb9\u6613\u88ab\u6d4b\u5230\u3002\u968f\u673a\u540d\u5355\u4e2d\u671f\u671b\u51fa\u73b0\u4e09\u70b9\u516b\u4e2a\uff0c\u5341\u56db\u4e2a\u4ecd\u6709\u805a\u96c6\uff0c\u4f46\u5bcc\u96c6\u500d\u6570\u964d\u4e3a\u7ea6\u4e09\u70b9\u516d\u516b\u3002\u6ca1\u6709\u4efb\u4f55\u4e00\u4e2a\u4e0a\u8c03\u57fa\u56e0\u88ab\u62ff\u8d70\uff0c\u771f\u6b63\u53d8\u7684\u662f\u201c\u4e00\u4e2a\u666e\u901a\u7684\u56db\u5341\u57fa\u56e0\u540d\u5355\u901a\u5e38\u4f1a\u547d\u4e2d\u591a\u5c11\u201d\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:#ffebc5\">\u901a\u8def\u53ca\u80cc\u666f<\/th>\n<th style=\"padding:9px;text-align:left;background:#ffebc5\">N<\/th>\n<th style=\"padding:9px;text-align:left;background:#ffebc5\">K<\/th>\n<th style=\"padding:9px;text-align:left;background:#ffebc5\">n<\/th>\n<th style=\"padding:9px;text-align:left;background:#ffebc5\">k<\/th>\n<th style=\"padding:9px;text-align:left;background:#ffebc5\">\u5bcc\u96c6\u500d\u6570<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u6613\u68c0\u51fa\uff0c\u5168\u57fa\u56e0\u7ec4<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">10,000<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">100<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">40<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">14<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">35.00<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u6613\u68c0\u51fa\uff0c\u5b9e\u9645\u53d7\u68c0<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">1,000<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">95<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">40<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">14<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">3.68<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u7d27\u51d1\u54cd\u5e94\uff0c\u5168\u57fa\u56e0\u7ec4<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">10,000<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">300<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">40<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">10<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">8.33<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u7d27\u51d1\u54cd\u5e94\uff0c\u5b9e\u9645\u53d7\u68c0<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">1,000<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">22<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">40<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">10<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">11.36<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u7b2c\u4e8c\u6761\u865a\u62df\u901a\u8def\u6070\u597d\u76f8\u53cd\u3002\u5b83\u5728\u5168\u90e8\u57fa\u56e0\u4e2d\u6709\u4e09\u767e\u4e2a\u6210\u5458\uff0c\u5b9e\u9645\u8fdb\u5165\u68c0\u9a8c\u7684\u53ea\u6709\u4e8c\u5341\u4e8c\u4e2a\uff0c\u67e5\u8be2\u4e2d\u5374\u6709\u5341\u4e2a\u3002\u4ee5\u53d7\u68c0\u5217\u8868\u4f5c\u80cc\u666f\uff0c\u671f\u671b\u53ea\u6709\u96f6\u70b9\u516b\u516b\u4e2a\uff0c\u5bcc\u96c6\u53d8\u4e3a\u7ea6\u5341\u4e00\u70b9\u4e09\u516d\u500d\u3002\u8bfb\u8005\u53ef\u4ee5\u5148\u6839\u636e\u8fd9\u56db\u884c\u9884\u6d4b\u54ea\u4e00\u6761\u66f4\u53ef\u80fd\u6392\u7b2c\u4e00\uff0c\u518d\u6253\u5f00\u7ed3\u679c\u8868\u3002\u5728\u5168\u57fa\u56e0\u7ec4\u4e0b\u7b2c\u4e00\u6761\u901a\u8def\u7684\u5355\u4fa7\u5c3e\u90e8\u6982\u7387\u66f4\u5c0f\uff0c\u4f7f\u7528\u53d7\u68c0\u80cc\u666f\u540e\u7b2c\u4e8c\u6761\u901a\u8def\u7684\u6570\u503c\u66f4\u5c0f\u3002\u6bcf\u4e00\u4e2a\u80cc\u666f\u5185\u90fd\u5bf9\u540c\u6837\u56db\u6761\u901a\u8def\u7684\u6982\u7387\u8fdb\u884c\u72ec\u7acb\u7684\u591a\u91cd\u6bd4\u8f83\u6821\u6b63\u3002\u505a\u591a\u5e93\u3001\u591a\u65b9\u5411\u6216\u591a\u4e2a\u7ec6\u80de\u7fa4\u7684\u5206\u6790\uff0c\u8fd8\u5e94\u8bf4\u660e\u6821\u6b63\u7684\u68c0\u9a8c\u5bb6\u65cf\u5982\u4f55\u5b9a\u4e49\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\n<\/code><\/pre>\n<h2>\u5148\u5bf9\u9f50\u57fa\u56e0\u6807\u8bc6\uff0c\u518d\u8c08\u751f\u7269\u5b66\u89e3\u91ca<\/h2>\n<p>\u5047\u8bbe\u5dee\u5f02\u8868\u7528\u7684\u662f\u5e26\u7248\u672c\u53f7\u7684\u7269\u79cd\u57fa\u56e0\u6807\u8bc6\uff0c\u6ce8\u91ca\u5e93\u7528\u7684\u662f\u57fa\u56e0\u7b26\u53f7\u3002\u53bb\u6389\u7248\u672c\u53f7\u3001\u5408\u5e76\u540c\u4e49\u8bcd\u3001\u5904\u7406\u4e00\u4e2a\u65e7\u7b26\u53f7\u5bf9\u5e94\u591a\u4e2a\u65b0\u6761\u76ee\u7684\u89c4\u5219\uff0c\u90fd\u8981\u540c\u65f6\u4f5c\u7528\u4e8e\u80cc\u666f\u548c\u67e5\u8be2\u3002\u53ea\u628a\u67e5\u8be2\u540d\u5355\u7684\u65e7\u540d\u6362\u8fc7\u6765\uff0c\u5374\u8ba9\u80cc\u666f\u4fdd\u7559\u65e7\u540d\uff0c\u4f1a\u9020\u6210\u67e5\u8be2\u57fa\u56e0\u843d\u5728\u80cc\u666f\u4e4b\u5916\u3002\u6211\u4eec\u5728\u52a0\u8f7d\u65f6\u76f4\u63a5\u68c0\u67e5\u9009\u4e2d\u540d\u5355\u662f\u5426\u5c5e\u4e8e\u53d7\u68c0\u96c6\u5408\uff1b\u78b0\u5230\u610f\u5916\u5148\u6253\u5370\u5177\u4f53\u540d\u5b57\u3002\u771f\u6b63\u7684\u9879\u76ee\u4e2d\u8fd8\u8981\u62a5\u544a\u9001\u5165\u5de5\u5177\u524d\u6709\u591a\u5c11\u57fa\u56e0\u3001\u6570\u636e\u5e93\u8bc6\u522b\u591a\u5c11\u3001\u6700\u7ec8\u53c2\u4e0e\u5404\u4e2a\u96c6\u5408\u8ba1\u7b97\u6709\u591a\u5c11\u3002\u82e5\u7ed3\u679c\u9875\u53ea\u7ed9\u5bcc\u96c6\u56fe\uff0c\u4e0d\u7ed9\u8f93\u5165\u4e0e\u6620\u5c04\u65e5\u5fd7\uff0c\u7b2c\u4e00\u540d\u53d8\u5316\u65f6\u5c31\u51e0\u4e4e\u6ca1\u6cd5\u8ffd\u67e5\u3002<\/p>\n<p>\u8fd9\u91cc\u53e6\u4e00\u4e2a\u503c\u5f97\u6838\u5bf9\u7684\u6570\u662f\u6bcf\u6761\u901a\u8def\u7684 K\u3002\u6709\u4e9b\u8f6f\u4ef6\u4ec5\u5728\u201c\u672c\u5e93\u6709\u6ce8\u91ca\u7684\u57fa\u56e0\u201d\u6784\u6210\u7684\u96c6\u5408\u4e2d\u68c0\u9a8c\uff0c\u6709\u4e9b\u5141\u8bb8\u628a\u672a\u6ce8\u91ca\u4f46\u786e\u5b9e\u6d4b\u8fc7\u7684\u80cc\u666f\u4e00\u8d77\u5e26\u5165\u3002\u53ea\u8981 N \u4e0e K \u7684\u5b9a\u4e49\u8ddf\u7740\u5de5\u5177\u53d8\u5316\uff0c\u5c3e\u90e8\u6982\u7387\u5c31\u53ef\u80fd\u53d8\u5316\u3002\u5305\u91cc\u7684\u56db\u6761\u6559\u5b66\u901a\u8def\u90fd\u660e\u786e\u7ed9\u51fa\u6210\u5458\uff0c\u5168\u4f53\u80cc\u666f\u7531\u8f93\u5165\u5b9a\u4e49\uff0c\u56e0\u6b64\u7ed3\u679c\u53ef\u4ee5\u4ece\u6e90\u8868\u590d\u7b97\u3002\u6362\u5230\u516c\u5171\u6570\u636e\u5e93\uff0c\u5e94\u4fdd\u5b58\u6570\u636e\u5e93\u7248\u672c\u3001\u7269\u79cd\u3001\u9009\u62e9\u7684\u672c\u4f53\u5206\u652f\u53ca\u6700\u5c0f\u6700\u5927\u96c6\u5408\u5927\u5c0f\u3002\u4e24\u6b21\u5206\u6790\u7684\u6761\u76ee\u7b5b\u9009\u4e0d\u540c\uff0c\u5373\u4fbf\u540c\u4e00\u6761\u7684\u539f\u59cb\u6982\u7387\u4e00\u81f4\uff0c\u591a\u91cd\u6821\u6b63\u540e\u7684\u6392\u5e8f\u4e5f\u53ef\u80fd\u6539\u53d8\u3002<a href=\"https:\/\/doi.org\/10.1371\/journal.pcbi.1002827\">\u5173\u4e8e\u5bcc\u96c6\u68c0\u9a8c\u4e2d\u53c2\u8003\u96c6\u5408\u7684\u8bf4\u660e<\/a><\/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\">import pandas as pd\nt = pd.read_csv(&quot;results\/enrichment.tsv&quot;, sep=&quot;\\t&quot;)\ncols = [&quot;background&quot;,&quot;pathway&quot;,&quot;N&quot;,&quot;K&quot;,&quot;n&quot;,&quot;k&quot;,&quot;fold_enrichment&quot;,&quot;rank&quot;]\nprint(t.loc[t.pathway.isin([&quot;readily_detected&quot;,&quot;compact_response&quot;]), cols].to_string(index=False))\n<\/code><\/pre>\n<h2>\u5f53\u4e24\u4efd\u80cc\u666f\u7ed9\u51fa\u4e0d\u540c\u6392\u540d\uff0c\u600e\u6837\u5199\u8fdb\u6b63\u6587<\/h2>\n<p>\u6709\u4e9b\u6761\u76ee\u542b\u6709\u5927\u91cf\u5230\u5904\u8868\u8fbe\u7684\u57fa\u56e0\uff0c\u6362\u6210\u53d7\u68c0\u80cc\u666f\u540e\u540d\u6b21\u4e0b\u964d\uff0c\u4ecd\u53ef\u80fd\u4e0e\u771f\u5b9e\u751f\u7269\u5b66\u6709\u5173\uff1b\u540d\u6b21\u4e0b\u964d\u53ea\u8bf4\u660e\u6b64\u524d\u7684\u7a81\u51fa\u7a0b\u5ea6\u6709\u4e00\u90e8\u5206\u6765\u81ea\u5bb9\u6613\u88ab\u6311\u4e2d\u3002\u53cd\u8fc7\u6765\uff0c\u5c0f\u800c\u7d27\u51d1\u7684\u901a\u8def\u4ee5\u5c11\u6570\u6210\u5458\u53d6\u5f97\u9ad8\u5bcc\u96c6\uff0c\u4e5f\u8981\u67e5\u770b\u662f\u5426\u7531\u51e0\u4e2a\u9ad8\u5ea6\u76f8\u5173\u6216\u5171\u4eab\u4e8e\u591a\u4e2a\u6761\u76ee\u7684\u57fa\u56e0\u63a8\u52a8\u3002\u53ef\u5c06\u4e24\u6761\u901a\u8def\u5b9e\u9645\u547d\u4e2d\u7684\u57fa\u56e0\u9010\u4e2a\u63a5\u56de\u5dee\u5f02\u8868\uff0c\u68c0\u67e5\u65b9\u5411\u3001\u6548\u5e94\u91cf\u3001\u4f9b\u8005\u95f4\u4e00\u81f4\u6027\u53ca\u6ce8\u91ca\u7684\u5177\u4f53\u5185\u5bb9\u3002\u82e5\u4e24\u4e2a\u6761\u76ee\u540d\u4e0d\u540c\u4f46\u6210\u5458\u9ad8\u5ea6\u91cd\u53e0\uff0c\u4e0d\u8981\u628a\u5b83\u4eec\u5199\u6210\u4e24\u6761\u76f8\u4e92\u72ec\u7acb\u7684\u673a\u5236\u8bc1\u636e\u3002\u529f\u80fd\u5bcc\u96c6\u9002\u5408\u7ec4\u7ec7\u63a2\u7d22\u7ebf\u7d22\uff0c\u7b5b\u9009\u6761\u4ef6\u4e0e\u5b9e\u9a8c\u5bf9\u5e94\u624d\u662f\u540e\u7eed\u5224\u65ad\u7684\u57fa\u7840\u3002<\/p>\n<p>\u7ed9\u5408\u4f5c\u8005\u770b\u7684\u6700\u7ec8\u8868\u8fd8\u53ef\u4ee5\u4fdd\u7559\u4e00\u5217\u201c\u53ea\u5728\u5168\u5e93\u6709\u6ce8\u91ca\u3001\u6ca1\u6709\u8fdb\u5165\u672c\u6b21\u68c0\u9a8c\u201d\u7684\u6210\u5458\u3002\u5b83\u4eec\u6570\u91cf\u4e00\u5927\uff0c\u5c31\u5bb9\u6613\u8bf4\u660e\u67d0\u4e2a\u770b\u4f3c\u5e9e\u5927\u7684\u901a\u8def\u5728\u672c\u5b9e\u9a8c\u4e2d\u5176\u5b9e\u53ea\u6709\u5f88\u5c0f\u7684\u53ef\u6d4b\u90e8\u5206\u3002\u82e5\u5173\u952e\u8c03\u63a7\u57fa\u56e0\u6070\u597d\u90fd\u4e0d\u5728\u53ef\u6d4b\u8303\u56f4\uff0c\u8ba8\u8bba\u5e94\u9650\u5b9a\u5728\u89c2\u6d4b\u5230\u7684\u90a3\u4e9b\u6210\u5458\u4e0a\uff0c\u4e0d\u80fd\u628a\u6574\u6761\u901a\u8def\u7684\u6240\u6709\u73af\u8282\u90fd\u63cf\u8ff0\u4e3a\u5904\u7406\u540e\u53d7\u5230\u5f71\u54cd\u3002<\/p>\n<p>\u53ef\u4ee5\u518d\u505a\u4e00\u6b21\u53cd\u67e5\uff0c\u4fdd\u6301\u540c\u4e00\u5957\u53d7\u68c0\u80cc\u666f\uff0c\u53ea\u9010\u4e00\u62ff\u6389\u6700\u9ad8\u8868\u8fbe\u7684\u4e00\u4e2a\u5019\u9009\uff0c\u770b\u770b\u7b2c\u4e00\u540d\u662f\u5426\u957f\u671f\u4f9d\u8d56\u540c\u4e00\u4e2a\u57fa\u56e0\uff1b\u6216\u8005\u5c06\u67e5\u8be2\u6539\u4e3a\u4e0b\u8c03\u57fa\u56e0\uff0c\u53e6\u4f5c\u4e00\u7ec4\u7ed3\u679c\u3002\u4e24\u79cd\u5b9e\u9a8c\u5fc5\u987b\u5206\u5f00\uff0c\u56e0\u4e3a\u524d\u8005\u95ee\u7ed3\u679c\u5bf9\u5355\u4e2a\u6210\u5458\u7684\u654f\u611f\u6027\uff0c\u540e\u8005\u6539\u53d8\u4e86\u751f\u7269\u5b66\u65b9\u5411\u3002\u4fdd\u5b58\u6bcf\u6b21\u8f93\u5165\u6e05\u5355\uff0c\u753b\u4e00\u5f20\u5217\u51fa\u771f\u5b9e\u91cd\u53e0\u57fa\u56e0\u6570\u7684\u5c0f\u8868\uff0c\u5f80\u5f80\u6bd4\u518d\u52a0\u4e00\u5e45\u66f4\u82b1\u54e8\u7684\u6c14\u6ce1\u56fe\u66f4\u5bb9\u6613\u8ba9\u5408\u4f5c\u8005\u5224\u65ad\u3002\u9700\u8981\u5728\u8bb8\u591a\u7c7b\u578b\u548c\u4f9b\u8005\u8bbe\u8ba1\u4e2d\u91cd\u590d\u5b8c\u6210\u5dee\u5f02\u7b5b\u9009\u3001\u6ce8\u91ca\u6620\u5c04\u548c\u80cc\u666f\u590d\u6838\u65f6\uff0c\u518d\u6309\u539f\u8ba1\u6570\u77e9\u9635\u548c\u6279\u91cf\u8ba1\u7b97\u89c4\u6a21\u9009\u62e9<a href=\"https:\/\/www.biocloudservice.com\/wordpress\/compute-services\/\">\u4e91\u751f\u4fe1\u79d1\u7814\u670d\u52a1\u5668\u79df\u8d41<\/a>\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u56fa\u5b9a\u540c\u4e00\u4efd\u56db\u5341\u57fa\u56e0\u4e0a\u8c03\u540d\u5355\uff0c\u9010\u901a\u8def\u624b\u7b97\u8d85\u51e0\u4f55\u68c0\u9a8c\uff0c\u68c0\u67e5\u5168\u57fa\u56e0\u7ec4\u4e0e\u771f\u6b63\u8fdb\u5165\u6bd4\u8f83\u7684\u68c0\u6d4b\u80cc\u666f\u4e3a\u4f55\u4e92\u6362\u7b2c\u4e00\u540d\u3002<\/p>\n","protected":false},"author":1,"featured_media":72376,"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-72379","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-093-enrichment-testable-background.png?fit=1240%2C800&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/72379","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=72379"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/72379\/revisions"}],"predecessor-version":[{"id":73731,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/72379\/revisions\/73731"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/72376"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=72379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=72379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=72379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}