{"id":77846,"date":"2026-11-27T12:10:35","date_gmt":"2026-11-27T04:10:35","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=77846"},"modified":"2026-11-27T12:10:35","modified_gmt":"2026-11-27T04:10:35","slug":"yunshengxin-agent-counts-sample-order-20261127","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/yunshengxin-agent-counts-sample-order-20261127\/","title":{"rendered":"\u8868\u8fbe\u77e9\u9635\u548c\u5206\u7ec4\u8868\u987a\u5e8f\u4e0d\u4e00\u81f4\u600e\u4e48\u529e\uff1f\u7528\u4e91\u751f\u4fe1agent\u4fee\u590d\u4e00\u6b21\u771f\u5b9e\u6570\u636e"},"content":{"rendered":"<style>.ysx-order{max-width:800px;margin:auto;color:#223449;font-size:17px;line-height:1.9;overflow-wrap:anywhere}.ysx-order h2{font-size:25px;margin:42px 0 18px;color:#15395e;line-height:1.4}.ysx-order p{margin:18px 0}.ysx-order a{color:#1569b7;text-decoration:underline}.ysx-order figure{margin:28px auto}.ysx-order img{display:block;width:100%;height:auto;border:0}.ysx-order .ui-shot{max-width:440px;padding:8px;border:1px solid #d5e0e8;border-radius:9px;background:#fff}.ysx-order .ui-shot img{width:auto;max-width:100%;margin:auto}.ysx-order figcaption{font-size:14px;line-height:1.6;color:#5c6b79;margin-top:12px;text-align:center}.ysx-order blockquote{border-left:4px solid #2877c1;padding:12px 20px;background:#eff6ff;margin:24px 0;font-size:16px;user-select:text;color:#233c56}.ysx-order .ysx-table{overflow-x:auto;margin:24px 0}.ysx-order table{border-collapse:collapse;width:100%;font-size:15px}.ysx-order th,.ysx-order td{border:1px solid #d7e1eb;padding:9px;text-align:left;min-width:84px;overflow-wrap:normal}.ysx-order th{background:#eaf3fc;color:#15395e}.ysx-order tbody tr:nth-child(even){background:#f8fbfe}.ysx-order pre{overflow:auto;padding:14px;background:#f1f5f9;font-size:14px;line-height:1.7;white-space:pre}.ysx-order code{overflow-wrap:normal}@media(max-width:600px){.ysx-order h2{font-size:23px}.ysx-order blockquote{padding:8px 12px}.ysx-order th,.ysx-order td{padding:7px;font-size:14px}.ysx-order .ui-shot{padding:3px}}<\/style>\n<div class=\"ysx-order\">\n<p>\u8868\u8fbe\u77e9\u9635\u91cc\u6709 12 \u4e2a\u6837\u672c\uff0c\u5206\u7ec4\u8868\u91cc\u4e5f\u662f 12 \u884c\uff1b\u4e24\u7ec4\u5404 6 \u4e2a\uff0c\u770b\u8d77\u6765\u90fd\u5bf9\u3002\u63a5\u4e0b\u6765\u76f4\u63a5\u628a\u5206\u7ec4\u8868\u7684\u7b2c\u4e00\u884c\u8d34\u7ed9\u77e9\u9635\u7b2c\u4e00\u5217\uff0c\u5e94\u8be5\u6ca1\u6709\u95ee\u9898\u5427\uff1f<\/p>\n<p>\u5b66\u4e60\u8f6c\u5f55\u7ec4\u5206\u6790\u65f6\uff0c\u8fd9\u4e00\u6b65\u5f88\u5bb9\u6613\u88ab\u5f53\u6210\u201c\u6574\u7406\u6587\u4ef6\u7684\u5c0f\u4e8b\u201d\u3002\u4f46\u53ea\u8981\u5206\u7ec4\u8868\u5728 Excel \u91cc\u6392\u8fc7\u5e8f\uff0c<strong>\u6837\u672c\u6570\u76f8\u540c\uff0c\u5c31\u53ef\u80fd\u4ecd\u7136\u628a\u6807\u7b7e\u8d34\u7ed9\u4e86\u53e6\u4e00\u4e2a\u6837\u672c<\/strong>\u3002\u6709\u7684\u8f6f\u4ef6\u4f1a\u62a5\u9519\u63d0\u9192\uff1b\u5982\u679c\u5148\u628a\u6837\u672c\u540d\u5f3a\u884c\u8986\u76d6\u6210\u4e00\u81f4\uff0c\u9519\u8bef\u53cd\u800c\u53ef\u80fd\u85cf\u8fdb\u540e\u9762\u7684\u56fe\u91cc\u3002<\/p>\n<p>\u8fd9\u6b21\u6211\u4eec\u7528\u771f\u5b9e\u516c\u5f00\u6570\u636e\u505a\u4e00\u4e2a\u53ef\u590d\u7b97\u7684\u6559\u5b66\u6848\u4f8b\uff1a\u8ba9\u4e91\u751f\u4fe1agent\u68c0\u67e5\u4e24\u4efd\u8868\u3001\u6309\u6837\u672c\u540d\u91cd\u65b0\u5339\u914d\uff0c\u518d\u753b\u51fa\u540c\u4e00\u4e2a\u57fa\u56e0\u4fee\u590d\u524d\u540e\u7684\u5206\u7ec4\u56fe\u3002\u63d0\u95ee\u548c\u68c0\u67e5\u4ee3\u7801\u76f4\u63a5\u653e\u5728\u6b63\u6587\uff0c\u64cd\u4f5c\u622a\u56fe\u53ea\u4fdd\u7559\u76f8\u5173\u533a\u57df\u3002<\/p>\n<figure class=\"science-figure\"><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-cover.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\u8868\u8fbe\u77e9\u9635\u4e0e\u5206\u7ec4\u8868\u987a\u5e8f\u4e0d\u4e00\u81f4\uff1a\u68c0\u67e5\u6837\u672c\u540d\u3001\u6309ID\u91cd\u6392\u3001\u518d\u753b\u56fe\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-cover.png?ssl=1\" \/><\/a><figcaption>\u8868\u8fbe\u77e9\u9635\u4e0e\u5206\u7ec4\u8868\u987a\u5e8f\u4e0d\u4e00\u81f4\uff1a\u68c0\u67e5\u6837\u672c\u540d\u3001\u6309ID\u91cd\u6392\u3001\u518d\u753b\u56fe<\/figcaption><\/figure>\n<h2>\u5148\u8bb2\u6e05\uff1a\u54ea\u4e9b\u662f\u771f\u5b9e\u6570\u636e\uff0c\u54ea\u91cc\u662f\u6559\u5b66\u6539\u52a8\uff1f<\/h2>\n<p>\u6570\u636e\u6765\u81ea\u5c0f\u9f20\u4e73\u817a\u7814\u7a76 GSE60450\u3002\u6211\u4eec\u4f7f\u7528 <a href=\"https:\/\/bioinf.wehi.edu.au\/edgeR\/MiMB2016\/index.html\">WEHI \u63d0\u4f9b\u7684 edgeR \u6559\u5b66\u6570\u636e<\/a>\uff0c\u5305\u542b\u4e24\u79cd\u7ec6\u80de\u7fa4\u3001\u4e09\u4e2a\u751f\u7406\u9636\u6bb5\uff0c\u6bcf\u79cd\u7ec4\u5408\u4e24\u4e2a\u6837\u672c\uff0c\u5171 12 \u4e2a\u6837\u672c\u3002B \u4ee3\u8868 basal\uff0cL \u4ee3\u8868 luminal\uff1b\u4e09\u4e2a\u9636\u6bb5\u4e3a virgin\u3001pregnant\u3001lactate\u3002<\/p>\n<p>\u5b9e\u9645\u8bfb\u53d6\u7684\u57fa\u56e0\u8ba1\u6570\u77e9\u9635\u6709 <strong>27,179 \u884c\u300112 \u4e2a\u6837\u672c\u5217<\/strong>\u3002\u6211\u4eec\u4f9d\u636e <a href=\"https:\/\/www.ncbi.nlm.nih.gov\/geo\/query\/acc.cgi?acc=GSE60450\">GEO \u7684 GSE60450 \u5143\u6570\u636e<\/a>\u4e2d\u6837\u672c\u9644\u5c5e\u6587\u4ef6\u7684\u540d\u79f0\uff0c\u5c06\u539f\u77e9\u9635\u957f\u5217\u540d\u5bf9\u5e94\u5230 GSM \u7f16\u53f7\uff0c\u5e76\u4e0e\u5b98\u65b9\u5206\u7ec4\u8868\u6838\u5bf9\u3002<\/p>\n<p>\u7136\u540e\u5efa\u7acb\u4e00\u4e2a\u660e\u786e\u6807\u8bb0\u7684\u6559\u5b66\u526f\u672c\uff1a\u628a\u5206\u7ec4\u8868\u524d\u4e09\u884c\u79fb\u5230\u672b\u5c3e\uff0c\u8ba1\u6570\u77e9\u9635\u4e0d\u52a8\uff0csample_id\u3001cell_type \u548c stage \u7684\u5185\u5bb9\u4e5f\u4e0d\u6539\u3002<strong>\u9519\u914d\u7531\u8fd9\u6b21\u6f14\u793a\u4eba\u4e3a\u5f15\u5165\uff0c\u4e0d\u662f\u539f\u7814\u7a76\u7684\u6570\u636e\u95ee\u9898\u3002<\/strong>\u539f\u59cb\u6587\u4ef6\u3001\u540d\u79f0\u6620\u5c04\u548c\u6574\u7406\u811a\u672c\u90fd\u653e\u5728\u6587\u672b\u4e0b\u8f7d\u5305\u4e2d\u3002<\/p>\n<p>\u8fd9\u4e00\u6539\u52a8\u5f88\u50cf\u5b66\u4e60\u8fc7\u7a0b\u4e2d\u5e38\u89c1\u7684\u573a\u666f\uff1a\u8868\u8fbe\u77e9\u9635\u4fdd\u6301\u539f\u987a\u5e8f\uff0c\u5206\u7ec4\u8868\u5374\u6309\u53e6\u4e00\u5217\u91cd\u65b0\u6392\u8fc7\u5e8f\u3002<\/p>\n<h2>\u68c0\u67e5\u987a\u5e8f\uff1a\u6570\u91cf\u3001\u540d\u5b57\u96c6\u5408\u3001\u9010\u4f4d\u987a\u5e8f<\/h2>\n<p>\u4e0a\u4f20 counts.csv \u548c samples_shuffled.csv \u540e\uff0c\u6211\u4eec\u5148\u8ba9 agent \u5ba1\u8ba1\u8f93\u5165\uff0c\u6ca1\u6709\u76f4\u63a5\u5f00\u59cb\u5dee\u5f02\u5206\u6790\u3002\u4e0b\u9762\u8fd9\u6bb5\u63d0\u95ee\u53ef\u4ee5\u590d\u5236\u4f7f\u7528\uff1a<\/p>\n<blockquote>\n<p>\u8bf7\u68c0\u67e5\u8868\u8fbe\u77e9\u9635\u5217\u540d\u4e0e\u5206\u7ec4\u8868 sample_id \u662f\u5426\u552f\u4e00\u3001\u6709\u65e0\u7f3a\u5931\uff0c\u6bd4\u8f83\u6837\u672c\u6570\u91cf\u3001\u6837\u672c\u540d\u96c6\u5408\u53ca\u9010\u4f4d\u987a\u5e8f\u3002\u5982\u679c\u6709\u91cd\u590d\u3001\u7f3a\u5931\u6216\u989d\u5916\u6837\u672c\uff0c\u5148\u5217\u51fa\u95ee\u9898\u5e76\u505c\u6b62\uff0c\u4e0d\u81ea\u52a8\u5220\u9664\u6216\u6539\u540d\u3002\u5982\u679c\u96c6\u5408\u5b8c\u5168\u76f8\u540c\uff0c\u53ea\u662f\u987a\u5e8f\u4e0d\u540c\uff0c\u8bf7\u6309\u8868\u8fbe\u77e9\u9635\u5217\u987a\u5e8f\uff0c\u7528 sample_id \u91cd\u6392\u5206\u7ec4\u8868\uff1b\u8f93\u51fa\u4fee\u590d\u8868\u548c\u9010\u6837\u672c\u5bf9\u5e94\u5173\u7cfb\uff0c\u518d\u786e\u8ba4\u4e24\u4e2a\u987a\u5e8f\u5b8c\u5168\u4e00\u81f4\u3002<\/p>\n<\/blockquote>\n<figure class=\"ui-shot\"><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-plan-chat.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\u5df2\u786e\u8ba4\u7684\u6837\u672c\u5339\u914d\u5206\u6790\u65b9\u6848\uff0c\u771f\u5b9e\u804a\u5929\u5c40\u90e8\u622a\u56fe\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-plan-chat.png?ssl=1\" \/><\/a><figcaption>\u5df2\u786e\u8ba4\u7684\u6837\u672c\u5339\u914d\u5206\u6790\u65b9\u6848\uff0c\u771f\u5b9e\u804a\u5929\u5c40\u90e8\u622a\u56fe<\/figcaption><\/figure>\n<p>\u4e09\u9879\u68c0\u67e5\u56de\u7b54\u7684\u662f\u4e0d\u540c\u7684\u95ee\u9898\uff0c\u4e0d\u80fd\u53ea\u505a\u7b2c\u4e00\u9879\uff1a<\/p>\n<div class=\"ysx-table\">\n<table>\n<thead>\n<tr>\n<th>\u68c0\u67e5<\/th>\n<th>\u8fd9\u6b21\u7684\u7ed3\u679c<\/th>\n<th>\u80fd\u8bf4\u660e\u4ec0\u4e48<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u6570\u91cf\u662f\u5426\u76f8\u540c<\/td>\n<td>12 \u5217\u4e0e 12 \u884c\uff0c\u76f8\u540c<\/td>\n<td>\u53ea\u8bf4\u660e\u6570\u91cf\u4e00\u81f4<\/td>\n<\/tr>\n<tr>\n<td>\u6837\u672c\u540d\u96c6\u5408\u662f\u5426\u76f8\u540c<\/td>\n<td>\u76f8\u540c\uff0c\u6ca1\u6709\u7f3a\u5931\u6216\u989d\u5916 ID<\/td>\n<td>\u4e24\u8fb9\u5305\u542b\u540c\u4e00\u6279\u6837\u672c<\/td>\n<\/tr>\n<tr>\n<td>\u9010\u4f4d\u6837\u672c\u540d\u662f\u5426\u76f8\u540c<\/td>\n<td>12 \u4e2a\u4f4d\u7f6e\u5747\u4e0d\u540c<\/td>\n<td>\u4e0d\u80fd\u76f4\u63a5\u6309\u884c\u53f7\u8d34\u6807\u7b7e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u8fd9\u4e5f\u662f <a href=\"https:\/\/bioconductor.org\/packages\/release\/bioc\/vignettes\/DESeq2\/inst\/doc\/DESeq2.html\">DESeq2 \u5b98\u65b9\u6559\u7a0b<\/a>\u4e13\u95e8\u5f3a\u8c03\u7684\u8f93\u5165\u5173\u7cfb\uff1a\u8ba1\u6570\u77e9\u9635\u7684\u5217\u4e0e\u6837\u672c\u4fe1\u606f\u7684\u884c\u5e94\u4fdd\u6301\u4e00\u81f4\u987a\u5e8f\u3002\u5de5\u5177\u5e76\u4e0d\u80fd\u66ff\u4f60\u731c\u6d4b\u67d0\u4e2a\u6807\u7b7e\u7a76\u7adf\u5c5e\u4e8e\u54ea\u4efd\u6837\u672c\u3002<\/p>\n<p>\u5b9e\u9645\u64cd\u4f5c\u5e76\u975e\u4e00\u6b21\u5c31\u8dd1\u901a\uff1a\u7b2c\u4e00\u8f6e\u6267\u884c\u5728\u201c\u662f\u5426\u4e3a\u6574\u6570\u201d\u7684\u6821\u9a8c\u5904\u9047\u5230\u4e86 <code>TypeError: ufunc bitwise_and<\/code>\u3002\u8fd9\u662f\u4ee3\u7801\u628a\u6d6e\u70b9\u6570\u7ec4\u7528\u4e8e\u4f4d\u8fd0\u7b97\u5bfc\u81f4\u7684\u9519\u8bef\uff0c\u4e0d\u4ee3\u8868\u6570\u636e\u4e00\u5b9a\u6709\u95ee\u9898\u3002\u6211\u4eec\u628a\u62a5\u9519\u53cd\u9988\u7ed9 agent\uff0c\u5c06\u68c0\u67e5\u6539\u4e3a\u6bd4\u8f83\u6570\u503c\u4e0e\u56db\u820d\u4e94\u5165\u7ed3\u679c\u7684\u5dee\uff0c\u5e76\u8981\u6c42\u4efb\u4f55\u5fc5\u9700\u6821\u9a8c\u5931\u8d25\u90fd\u505c\u6b62\u3002\u4fee\u590d\u540e\u91cd\u65b0\u6267\u884c\uff0c\u624d\u5f97\u5230\u4e0b\u6587\u7684\u56fe\u8868\u3002\u9047\u5230\u62a5\u9519\u65f6\uff0c\u5148\u770b\u5931\u8d25\u53d1\u751f\u5728\u54ea\u4e00\u6b65\uff0c\u901a\u5e38\u6bd4\u53cd\u590d\u4fee\u6539\u8f93\u5165\u6587\u4ef6\u66f4\u6709\u5e2e\u52a9\u3002<\/p>\n<h2>\u4e3a\u4ec0\u4e48\u201c\u4e24\u7ec4\u5404 6 \u4e2a\u201d\u4e5f\u68c0\u67e5\u4e0d\u51fa\u6765\uff1f<\/h2>\n<p>\u4e0b\u9762\u622a\u53d6\u77e9\u9635\u524d\u516d\u5217\uff0c\u770b\u770b\u9519\u8bef\u7684\u6309\u884c\u53f7\u8d4b\u503c\u4f1a\u53d1\u751f\u4ec0\u4e48\u3002\u771f\u6b63\u7684\u6807\u7b7e\u901a\u8fc7\u6837\u672c\u540d\u5339\u914d\u53d6\u5f97\uff0c\u9519\u8bef\u6807\u7b7e\u6765\u81ea\u5206\u7ec4\u8868\u5f53\u524d\u4f4d\u7f6e\u3002<\/p>\n<div class=\"ysx-table\">\n<table>\n<thead>\n<tr>\n<th>\u77e9\u9635\u6837\u672c<\/th>\n<th>\u5f53\u524d\u4f4d\u7f6e\u7684\u5206\u7ec4\u8868\u6837\u672c<\/th>\n<th>\u6309\u884c\u53f7\u53d6\u5230\u7684\u7c7b\u578b<\/th>\n<th>\u6309 ID \u5339\u914d\u7684\u7c7b\u578b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>GSM1480297<\/td>\n<td>GSM1480300<\/td>\n<td>B<\/td>\n<td>B<\/td>\n<\/tr>\n<tr>\n<td>GSM1480298<\/td>\n<td>GSM1480301<\/td>\n<td>B<\/td>\n<td>B<\/td>\n<\/tr>\n<tr>\n<td>GSM1480299<\/td>\n<td>GSM1480302<\/td>\n<td>B<\/td>\n<td>B<\/td>\n<\/tr>\n<tr>\n<td>GSM1480300<\/td>\n<td>GSM1480291<\/td>\n<td>L<\/td>\n<td>B<\/td>\n<\/tr>\n<tr>\n<td>GSM1480301<\/td>\n<td>GSM1480292<\/td>\n<td>L<\/td>\n<td>B<\/td>\n<\/tr>\n<tr>\n<td>GSM1480302<\/td>\n<td>GSM1480293<\/td>\n<td>L<\/td>\n<td>B<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u524d\u4e09\u884c\u7684\u7ec6\u80de\u7c7b\u578b\u78b0\u5de7\u4e00\u6837\uff0c\u4f46\u5b83\u4eec\u5bf9\u5e94\u7684\u6837\u672c\u5df2\u7ecf\u4e0d\u540c\uff0c\u9636\u6bb5\u4fe1\u606f\u4e5f\u9519\u4e86\u3002\u540e\u9762\u4e09\u884c\u5219\u76f4\u63a5\u628a B \u7c7b\u578b\u6837\u672c\u8d34\u6210\u4e86 L\u3002<\/p>\n<p>\u5b8c\u6574\u68c0\u67e5\u53d1\u73b0\uff1a\u6309\u884c\u53f7\u8d34\u6807\u7b7e\u65f6\uff0c<strong>12 \u4e2a\u6837\u672c\u8eab\u4efd\u4f4d\u7f6e\u9519\u914d\uff0c6 \u4e2a\u7ec6\u80de\u7c7b\u578b\u6807\u7b7e\u9519\u914d\uff0c12 \u4e2a\u9636\u6bb5\u6807\u7b7e\u9519\u914d<\/strong>\u3002\u7136\u800c B\u3001L \u7684\u4eba\u6570\u4ecd\u5404\u4e3a 6\uff1b\u4e09\u4e2a\u9636\u6bb5\u4e5f\u4ecd\u5404\u4e3a 4\u3002\u56e0\u4e3a\u79fb\u52a8\u884c\u4e0d\u4f1a\u6539\u53d8\u6807\u7b7e\u603b\u6570\uff0c\u53ea\u4f1a\u6539\u53d8\u6807\u7b7e\u4e0e\u8868\u8fbe\u6570\u636e\u4e4b\u95f4\u7684\u5bf9\u5e94\u5173\u7cfb\u3002<\/p>\n<p>\u56e0\u6b64\uff0c<code>table(group)<\/code> \u53ef\u4ee5\u5e2e\u52a9\u53d1\u73b0\u4eba\u6570\u5f02\u5e38\uff0c\u4f46\u65e0\u6cd5\u8bc1\u660e\u6807\u7b7e\u8d34\u5bf9\u4e86\u3002\u6837\u672c ID \u662f\u4e24\u4efd\u6587\u4ef6\u4e4b\u95f4\u7684\u5339\u914d\u952e\uff0c\u884c\u53f7\u53ea\u662f\u5f53\u524d\u6587\u4ef6\u91cc\u7684\u4f4d\u7f6e\u3002<\/p>\n<h2>\u4fee\u590d\u4ee5\u540e\uff0c\u8868\u8fbe\u503c\u6ca1\u53d8\uff0c\u56fe\u4e3a\u4ec0\u4e48\u53d8\u4e86\uff1f<\/h2>\n<p>agent \u6309 counts.csv \u7684\u5217\u987a\u5e8f\u91cd\u65b0\u6392\u5217\u5206\u7ec4\u8868\uff0c\u5bfc\u51fa samples_aligned.csv\uff0c\u518d\u6b21\u6838\u5bf9\u9010\u4f4d\u6837\u672c\u540d\u3002\u968f\u540e\uff0c\u6211\u4eec\u9009\u62e9 <a href=\"https:\/\/www.ncbi.nlm.nih.gov\/gene\/16668\">\u5c0f\u9f20 Krt18\uff0cEntrez ID 16668<\/a>\u4f5c\u4e00\u4e2a\u63cf\u8ff0\u6027\u5c55\u793a\u3002<\/p>\n<p>\u6bcf\u4e2a\u6837\u672c\u7684\u8ba1\u6570\u5148\u9664\u4ee5\u8be5\u6837\u672c\u5168\u90e8\u57fa\u56e0\u7684\u603b\u8ba1\u6570\uff0c\u518d\u4e58\u4e00\u767e\u4e07\u5f97\u5230 CPM\uff0c\u6700\u540e\u8ba1\u7b97 log2(CPM+1)\u3002\u4e24\u5f20\u56fe\u4f7f\u7528\u5b8c\u5168\u76f8\u540c\u7684 12 \u4e2a\u6570\u503c\u3001\u989c\u8272\u548c\u7eb5\u8f74\u8303\u56f4\uff0c\u53ea\u6539\u53d8\u8fd9\u4e9b\u70b9\u6240\u5c5e\u7684 B\/L \u5206\u7ec4\u3002\u6bcf\u4e2a\u70b9\u662f\u4e00\u4efd\u6837\u672c\uff0c\u77ed\u6a2a\u7ebf\u4e3a\u7ec4\u5747\u503c\u3002<\/p>\n<figure class=\"science-figure\"><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-by_row.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\u9519\u8bef\u793a\u8303\uff1a\u6309\u5206\u7ec4\u8868\u884c\u53f7\u7ed9\u6837\u672c\u8d34\u6807\u7b7e\u7684 Krt18 \u8868\u8fbe\u56fe\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-by_row.png?ssl=1\" \/><\/a><figcaption>\u9519\u8bef\u793a\u8303\uff1a\u6309\u5206\u7ec4\u8868\u884c\u53f7\u7ed9\u6837\u672c\u8d34\u6807\u7b7e\u7684 Krt18 \u8868\u8fbe\u56fe<\/figcaption><\/figure>\n<p><a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-by_row.pdf\">\u4e0b\u8f7d\u9519\u8bef\u793a\u8303\u56fe\u539f\u59cb PDF<\/a><\/p>\n<figure class=\"science-figure\"><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-by_id.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\u4fee\u590d\u540e\uff1a\u6309 sample_id \u5339\u914d\u7684 Krt18 \u8868\u8fbe\u56fe\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-by_id.png?ssl=1\" \/><\/a><figcaption>\u4fee\u590d\u540e\uff1a\u6309 sample_id \u5339\u914d\u7684 Krt18 \u8868\u8fbe\u56fe<\/figcaption><\/figure>\n<p><a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-by_id.pdf\">\u4e0b\u8f7d\u6309 ID \u5339\u914d\u56fe\u539f\u59cb PDF<\/a><\/p>\n<div class=\"ysx-table\">\n<table>\n<thead>\n<tr>\n<th>\u8d4b\u503c\u65b9\u5f0f<\/th>\n<th>B \u7ec4\u5747\u503c<\/th>\n<th>L \u7ec4\u5747\u503c<\/th>\n<th>L \u51cf B<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u9519\u8bef\u793a\u8303\uff1a\u6309\u884c\u53f7<\/td>\n<td>8.007<\/td>\n<td>8.756<\/td>\n<td>0.748<\/td>\n<\/tr>\n<tr>\n<td>\u4fee\u590d\uff1a\u6309\u6837\u672c ID<\/td>\n<td>6.636<\/td>\n<td>10.127<\/td>\n<td>3.492<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u6570\u503c\u5355\u4f4d\u5747\u4e3a log2(CPM+1) \u5c3a\u5ea6\u4e0a\u7684\u7ec4\u5747\u503c\u3002\u9519\u8bef\u5206\u7ec4\u628a\u539f\u672c\u6765\u81ea\u4e0d\u540c\u7ec6\u80de\u7fa4\u7684\u6837\u672c\u6df7\u5728\u4e00\u8d77\uff0c\u6539\u53d8\u4e86\u7ec4\u5747\u503c\u53ca\u70b9\u7684\u5206\u5e03\u3002\u4fee\u590d\u64cd\u4f5c\u5e76\u6ca1\u6709\u201c\u4f18\u5316\u201d\u8868\u8fbe\u91cf\uff0c\u4e5f\u6ca1\u6709\u5220\u6389\u4e0d\u559c\u6b22\u7684\u6837\u672c\uff1b\u5b83\u53ea\u662f\u6062\u590d\u4e86\u8ba1\u6570\u5217\u4e0e\u6837\u672c\u6807\u7b7e\u7684\u6b63\u786e\u5173\u7cfb\u3002<\/p>\n<p><strong>\u56fe\u5206\u5f97\u66f4\u5f00\u4e0d\u80fd\u7528\u6765\u8bc1\u660e\u5339\u914d\u6b63\u786e\u3002<\/strong>\u8fd9\u91cc\u6b63\u786e\u6027\u7684\u4f9d\u636e\u662f\u5b98\u65b9\u5143\u6570\u636e\u4e2d\u7684\u6837\u672c ID \u5bf9\u5e94\u5173\u7cfb\uff0c\u56fe\u53ea\u662f\u5c55\u793a\u9519\u914d\u4f1a\u9020\u6210\u4ec0\u4e48\u540e\u679c\u3002\u4e0d\u80fd\u53cd\u8fc7\u6765\u9009\u62e9\u4e00\u5957\u8ba9\u56fe\u66f4\u6f02\u4eae\u7684\u6807\u7b7e\u3002<\/p>\n<p>\u672c\u4f8b\u4e5f\u6ca1\u6709\u6267\u884c\u5b8c\u6574\u5dee\u5f02\u5206\u6790\uff1a\u672a\u8ba1\u7b97 P \u503c\u3001FDR\uff0c\u6ca1\u6709\u628a\u4e0a\u8ff0\u5747\u503c\u5dee\u79f0\u4e3a DESeq2 \u7684 log2FoldChange\u3002\u6570\u636e\u4e2d\u8fd8\u5305\u542b\u751f\u7406\u9636\u6bb5\u56e0\u7d20\uff0c\u6b63\u5f0f\u5206\u6790\u5e94\u6839\u636e\u7814\u7a76\u95ee\u9898\u8bbe\u8ba1\u6a21\u578b\uff1b\u8fd9\u91cc\u4ec5\u7528\u4e8e\u6f14\u793a\u8f93\u5165\u5bf9\u9f50\u7684\u91cd\u8981\u6027\u3002<\/p>\n<h2>\u5b66\u4e60 R \u65f6\uff0c\u53ef\u4ee5\u628a\u8fd9\u51e0\u884c\u653e\u5728\u8bfb\u8868\u4e4b\u540e<\/h2>\n<p>\u4e0b\u9762\u7684\u793a\u4f8b\u5047\u8bbe counts \u662f\u6570\u503c\u77e9\u9635\uff0c\u5217\u540d\u4e3a\u6837\u672c ID\uff1bmeta \u662f\u542b sample_id \u7684\u5206\u7ec4\u8868\u3002\u5b83\u5148\u68c0\u67e5\uff0c\u518d\u91cd\u6392\uff0c\u4e0d\u901a\u8fc7\u4fee\u6539\u540d\u5b57\u63a9\u76d6\u9519\u914d\u3002<\/p>\n<pre><code class=\"language-r\">stopifnot(!anyNA(colnames(counts)),\r\n          !anyNA(meta$sample_id),\r\n          all(nzchar(colnames(counts))),\r\n          all(nzchar(meta$sample_id)),\r\n          !anyDuplicated(colnames(counts)),\r\n          !anyDuplicated(meta$sample_id))\r\n\r\nsetdiff(colnames(counts), meta$sample_id) # \u77e9\u9635\u6709\uff0c\u5206\u7ec4\u8868\u6ca1\u6709\r\nsetdiff(meta$sample_id, colnames(counts)) # \u5206\u7ec4\u8868\u6709\uff0c\u77e9\u9635\u6ca1\u6709\r\nstopifnot(setequal(colnames(counts), meta$sample_id))\r\n\r\nmeta &lt;- meta[match(colnames(counts), meta$sample_id), , drop = FALSE]\r\nstopifnot(identical(colnames(counts), as.character(meta$sample_id)))\r\n<\/code><\/pre>\n<p><code>match()<\/code> \u8fd4\u56de\u6bcf\u4e2a\u77e9\u9635\u6837\u672c\u540d\u5728\u5206\u7ec4\u8868\u4e2d\u7684\u4f4d\u7f6e\uff0c\u518d\u6309\u8fd9\u4e2a\u4f4d\u7f6e\u91cd\u6392\u3002\u4e0d\u8981\u76f4\u63a5\u6267\u884c <code>meta$sample_id &lt;- colnames(counts)<\/code>\uff1a\u90a3\u53ea\u662f\u8986\u76d6\u4e86\u540d\u5b57\uff0c\u539f\u672c\u9519\u4f4d\u7684\u5206\u7ec4\u4fe1\u606f\u8fd8\u5728\u539f\u6765\u7684\u884c\u4e0a\u3002<\/p>\n<p>\u5982\u679c\u4e24\u8fb9\u6837\u672c\u540d\u96c6\u5408\u4e0d\u540c\uff0c\u5e94\u5148\u770b <code>setdiff()<\/code> \u5217\u51fa\u54ea\u4e9b ID\uff0c\u6392\u67e5\u62fc\u5199\u3001\u9996\u5c3e\u7a7a\u683c\u3001\u7f16\u53f7\u7248\u672c\u6216\u786e\u5b9e\u6f0f\u6837\u672c\u7684\u60c5\u51b5\u3002\u4e0d\u8981\u4e00\u4e0a\u6765\u53d6\u4ea4\u96c6\uff0c\u6084\u6084\u4e22\u6389\u4e0d\u5339\u914d\u7684\u6837\u672c\uff1b\u4e5f\u4e0d\u8981\u76f2\u76ee\u53bb\u6389\u540e\u7f00\uff0c\u8ba9\u539f\u672c\u4e0d\u540c\u7684 ID \u53d8\u6210\u540c\u4e00\u4e2a\u540d\u5b57\u3002<\/p>\n<h2>\u4e00\u4e2a\u5e38\u89c1\u201c\u4fee\u590d\u201d\uff1a\u76f4\u63a5\u628a\u6837\u672c\u540d\u6539\u6210\u4e00\u81f4\uff0c\u884c\u4e0d\u884c\uff1f<\/h2>\n<p>\u6211\u4eec\u5728\u540c\u4e00\u4f1a\u8bdd\u7ee7\u7eed\u8ffd\u95ee\uff0c\u4e0d\u65b0\u589e\u5206\u6790\u4efb\u52a1\uff1a<\/p>\n<blockquote>\n<p>\u4e3a\u4e86\u6d88\u9664\u987a\u5e8f\u4e0d\u4e00\u81f4\u7684\u62a5\u9519\uff0c\u80fd\u4e0d\u80fd\u76f4\u63a5\u6267\u884c meta$sample_id &lt;- colnames(counts)\uff1f\u8bf7\u7ed3\u5408\u672c\u6b21\u7ed3\u679c\uff0c\u7528100\u5b57\u4ee5\u5185\u89e3\u91ca\u4e3a\u4ec0\u4e48\uff1b\u4e0d\u65b0\u589e\u5206\u6790\u4efb\u52a1\u3002<\/p>\n<\/blockquote>\n<figure class=\"ui-shot\"><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-followup-question.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\u540c\u4e00\u4f1a\u8bdd\u8ffd\u95ee\uff1a\u80fd\u5426\u76f4\u63a5\u8986\u76d6\u6837\u672c\u540d\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-followup-question.png?ssl=1\" \/><\/a><figcaption>\u540c\u4e00\u4f1a\u8bdd\u8ffd\u95ee\uff1a\u80fd\u5426\u76f4\u63a5\u8986\u76d6\u6837\u672c\u540d<\/figcaption><\/figure>\n<figure class=\"ui-shot\"><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-followup-answer.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"agent\u5bf9\u8986\u76d6\u540d\u5b57\u4e0e\u91cd\u6392\u6570\u636e\u7684\u533a\u522b\u4f5c\u51fa\u8bf4\u660e\uff0c\u771f\u5b9e\u804a\u5929\u622a\u56fe\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-followup-answer.png?ssl=1\" \/><\/a><figcaption>agent\u5bf9\u8986\u76d6\u540d\u5b57\u4e0e\u91cd\u6392\u6570\u636e\u7684\u533a\u522b\u4f5c\u51fa\u8bf4\u660e\uff0c\u771f\u5b9e\u804a\u5929\u622a\u56fe<\/figcaption><\/figure>\n<p>\u76f4\u63a5\u66ff\u6362\u540d\u5b57\u540e\uff0c\u8868\u9762\u4e0a\u7684\u540d\u79f0\u68c0\u67e5\u53ef\u80fd\u901a\u8fc7\uff0c\u4f46\u5206\u7ec4\u6807\u7b7e\u6ca1\u6709\u8ddf\u7740\u6b63\u786e\u6837\u672c\u79fb\u52a8\u3002\u8fd9\u4e2a\u533a\u522b\u503c\u5f97\u5728\u7b2c\u4e00\u6b21\u5b66\u4e60\u8bfb\u8868\u65f6\u5c31\u5f04\u6e05\u695a\uff1a<strong>\u91cd\u6392\u6574\u884c\uff0c\u624d\u80fd\u628a\u5c5e\u4e8e\u8be5\u6837\u672c\u7684\u4fe1\u606f\u4e00\u8d77\u5e26\u8fc7\u6765\u3002<\/strong><\/p>\n<h2>\u4ece\u201c\u62a5\u9519\u600e\u4e48\u6539\u201d\u8d70\u5230\u201c\u8f93\u5165\u771f\u7684\u5bf9\u4e86\u5417\u201d<\/h2>\n<figure class=\"ui-shot\"><a href=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-results-files.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\u6210\u679c\u533a\u63d0\u4f9b\u4e24\u5f20\u79d1\u5b66\u56fe\u7684\u72ec\u7acbPNG\u548cPDF\u4e0b\u8f7d\u5165\u53e3\uff0c\u771f\u5b9e\u5c40\u90e8\u622a\u56fe\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-results-files.png?ssl=1\" \/><\/a><figcaption>\u6210\u679c\u533a\u63d0\u4f9b\u4e24\u5f20\u79d1\u5b66\u56fe\u7684\u72ec\u7acbPNG\u548cPDF\u4e0b\u8f7d\u5165\u53e3\uff0c\u771f\u5b9e\u5c40\u90e8\u622a\u56fe<\/figcaption><\/figure>\n<p><a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-sample-order-practice.zip\">\u4e0b\u8f7d\u5b8c\u6574\u7ec3\u4e60\u5305\uff1a\u516c\u5f00\u6570\u636e\u3001\u6559\u5b66\u526f\u672c\u3001\u4fee\u590d\u8868\u3001\u5ba1\u8ba1\u8868\u3001PNG\u3001PDF\u548c\u5b9e\u9645\u4ee3\u7801<\/a><\/p>\n<p>\u6b63\u6587\u5df2\u7ecf\u5217\u51fa\u4e3b\u8981\u68c0\u67e5\u3001\u6570\u503c\u548c\u4fee\u590d\u601d\u8def\u3002\u4e0b\u8f7d\u5305\u91cc\u7684 README \u8bf4\u660e\u539f\u59cb\u6587\u4ef6\u6765\u6e90\u3001\u6559\u5b66\u6539\u52a8\u53ca\u590d\u7b97\u65b9\u5f0f\uff0c\u8bfb\u8005\u53ef\u4ee5\u5148\u7406\u89e3\u95ee\u9898\uff0c\u518d\u52a8\u624b\u5c1d\u8bd5\u3002\u539f\u59cb\u6570\u636e\u548c\u9519\u8bef\u526f\u672c\u90fd\u88ab\u4fdd\u7559\uff0c\u4fbf\u4e8e\u5bf9\u7167\u3002<\/p>\n<p>\u8fd9\u7c7b\u8f93\u5165\u68c0\u67e5\u5f88\u9002\u5408\u62ff\u6765\u4f53\u9a8c\u804a\u5929\u505a\u5206\u6790\uff1a\u4e0a\u4f20\u81ea\u5df1\u7684\u8868\u8fbe\u77e9\u9635\u548c\u5206\u7ec4\u8868\uff0c\u5148\u8ba9 agent \u89e3\u91ca\u54ea\u91cc\u4e0d\u4e00\u81f4\uff0c\u786e\u8ba4\u4fee\u590d\u89c4\u5219\u540e\u518d\u8fd0\u884c\u3002\u6bd4\u8d77\u53ea\u95ee\u201c\u8fd9\u4e2a\u62a5\u9519\u600e\u4e48\u6d88\u6389\u201d\uff0c\u66f4\u6709\u7528\u7684\u95ee\u9898\u662f\uff1a<strong>\u201c\u6211\u7684\u6bcf\u4e00\u5217\u6570\u636e\uff0c\u662f\u5426\u771f\u7684\u5bf9\u5e94\u5230\u4e86\u6b63\u786e\u7684\u6837\u672c\u4fe1\u606f\uff1f\u201d<\/strong> <a href=\"https:\/\/www.biocloudservice.com\/bioagent\/login\">\u8fdb\u5165\u4e91\u751f\u4fe1agent\uff0c\u68c0\u67e5\u81ea\u5df1\u7684\u4e24\u4efd\u8868<\/a>\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e24\u4efd\u8868\u90fd\u662f12\u4e2a\u6837\u672c\u3001\u4e24\u7ec4\u54046\u4e2a\uff0c\u4e5f\u53ef\u80fd\u8d34\u9519\u6807\u7b7e\u3002\u7528\u771f\u5b9e\u516c\u5f00GSE60450\u6559\u5b66\u526f\u672c\uff0c\u6f14\u793a\u68c0\u67e5\u6837\u672cID\u3001\u6309ID\u91cd\u6392\u4e0e\u7ed8\u56fe\u6838\u5bf9\uff0c\u9644\u53ef\u590d\u5236R\u4ee3\u7801\u548c\u5b8c\u6574\u7ec3\u4e60\u5305\u3002<\/p>\n","protected":false},"author":1,"featured_media":77836,"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":[74,72],"tags":[1673,1813,1674,1930,1931],"class_list":["post-77846","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-visualization","category-transcriptomics","tag-gse60450","tag-agent","tag-1674","tag-1930","tag-1931"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/blog-20261127-agent-sample-order-cover.png?fit=1920%2C1440&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/77846","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=77846"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/77846\/revisions"}],"predecessor-version":[{"id":77847,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/77846\/revisions\/77847"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/77836"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=77846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=77846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=77846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}