{"id":78932,"date":"2026-11-29T10:00:00","date_gmt":"2026-11-29T02:00:00","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=78932"},"modified":"2026-11-28T14:10:16","modified_gmt":"2026-11-28T06:10:16","slug":"bioagent-singlecell-course-10","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/bioagent-singlecell-course-10\/","title":{"rendered":"\u5355\u7ec6\u80de\u5b9e\u6218\u8bfe 10\uff5c\u4e24\u6761\u8fc7\u6ee4\u89c4\u5219\u540c\u65f6\u5931\u8d25\uff0c\u5e94\u8be5\u6263\u6389\u591a\u5c11\u4e2a\u7ec6\u80de"},"content":{"rendered":"<p>\u4e91\u751f\u4fe1 BioAgent \u5355\u7ec6\u80de\u5b9e\u6218\u8bfe\u3000\u00b7\u3000\u7b2c 10 \u7bc7\u3000\u00b7\u3000\u7ec3\u4e60<\/p>\n<p class=\"classroom-downloads\"><a href=\"https:\/\/www.biocloudservice.com\/bioagent\/\">\u6253\u5f00\u4e91\u751f\u4fe1 BioAgent<\/a>\u3000<a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-classroom-2026-lab-10.zip\">\u4e0b\u8f7d\u672c\u7bc7\u6570\u636e\u4e0e\u4ee3\u7801 ZIP<\/a>\u3000<a href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-classroom-2026-slides-09.pptx\">\u4e0b\u8f7d\u4e24\u7bc7\u5171\u7528\u7684\u6388\u8bfe PPT<\/a><\/p>\n<p>\u6309\u68c0\u51fa\u57fa\u56e0\u6570\u8fc7\u6ee4\u4f1a\u5254\u9664 5 \u4e2a\u7ec6\u80de\uff0c\u6309\u7ebf\u7c92\u4f53\u6bd4\u4f8b\u8fc7\u6ee4\u4f1a\u5254\u9664 439 \u4e2a\u3002\u5982\u679c\u4e24\u4efd\u6e05\u5355\u76f4\u63a5\u76f8\u52a0\uff0c\u5f97\u5230 444\u3002\u6253\u5f00\u7b2c 09 \u7bc7\u7684\u5b9e\u9645\u7ed3\u679c\uff0c\u5254\u9664\u6570\u5374\u662f 443\u3002\u8fd9\u4e2a\u76f8\u5dee\u7684 1 \u4e2a\u7ec6\u80de\u53ef\u4ee5\u6cbf\u7740\u6761\u7801\u627e\u5230\u3002<\/p>\n<h2>\u628a\u89c4\u5219\u7ffb\u6210\u53ef\u4ee5\u68c0\u67e5\u7684\u4e24\u4e2a\u6807\u8bb0<\/h2>\n<p>\u8fd9\u6b21\u7528 PBMC3k \u7684 2,700 \u4e2a\u6761\u7801\u3002\u57fa\u56e0\u6570\u5fc5\u987b\u5927\u4e8e 200 \u4e14\u5c0f\u4e8e 2,500\uff0c\u7ebf\u7c92\u4f53\u5360\u6bd4\u4e25\u683c\u4f4e\u4e8e 3%\u3002<code>percent_mt<\/code> \u91cc\u7684 3 \u8868\u793a 3%\u3002\u5148\u628a\u201c\u8fdd\u53cd\u57fa\u56e0\u6570\u201d\u548c\u201c\u8fdd\u53cd\u7ebf\u7c92\u4f53\u6bd4\u4f8b\u201d\u5404\u5199\u6210\u4e00\u5217\uff0c\u518d\u6309\u6761\u7801\u6c42\u5e76\u96c6\u3002<\/p>\n<blockquote><p>\u8bf7\u4ece\u540c\u4e00\u5f20\u9010\u7ec6\u80de\u8868\u5bfc\u51fa\u53ea\u8fdd\u53cd\u57fa\u56e0\u6570\u3001\u53ea\u8fdd\u53cd\u7ebf\u7c92\u4f53\u3001\u4e24\u6761\u5747\u8fdd\u53cd\u548c\u4e24\u6761\u5747\u901a\u8fc7\u56db\u4e2a\u4e92\u65a5\u683c\u3002\u6309\u6761\u7801\u7684\u5e76\u96c6\u6838\u5bf9\u5254\u9664\u6570\u3002\u518d\u6362\u5230 5% \u4e0e 10%\u3002<\/p><\/blockquote>\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-10.png\"><img decoding=\"async\" style=\"width:auto;max-width:100%;height:auto;display:block;margin:0 auto\" src=\"\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-classroom-2026-fig-10.png\" alt=\"\u4e09\u7ec4\u4e92\u65a5\u7684\u5931\u8d25\u6761\u7801\u5408\u8ba1 443 \u4e2a\u3002\"><\/picture><figcaption>\u4e09\u7ec4\u4e92\u65a5\u7684\u5931\u8d25\u6761\u7801\u5408\u8ba1 443 \u4e2a\u3002<\/figcaption><\/figure>\n<div style=\"overflow-x:auto\">\n<table style=\"width:100%;border-collapse:collapse\">\n<thead>\n<tr>\n<th scope=\"col\">\u7ebf\u7c92\u4f53\u4e0a\u9650<\/th>\n<th scope=\"col\">\u57fa\u56e0\u6570\u5931\u8d25<\/th>\n<th scope=\"col\">\u7ebf\u7c92\u4f53\u5931\u8d25<\/th>\n<th scope=\"col\">\u4e24\u8005\u90fd\u5931\u8d25<\/th>\n<th scope=\"col\">\u6700\u7ec8\u5254\u9664<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>3%<\/td>\n<td>5<\/td>\n<td>439<\/td>\n<td>1<\/td>\n<td>443<\/td>\n<\/tr>\n<tr>\n<td>5%<\/td>\n<td>5<\/td>\n<td>57<\/td>\n<td>0<\/td>\n<td>62<\/td>\n<\/tr>\n<tr>\n<td>10%<\/td>\n<td>5<\/td>\n<td>6<\/td>\n<td>0<\/td>\n<td>11<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>\u81ea\u5df1\u627e\u51fa\u91cd\u590d\u8ba1\u5165\u7684\u90a3\u4e2a\u6761\u7801<\/h2>\n<pre><code>import pandas as pd\r\nq = pd.read_csv(\"data\/pbmc3k_cell_qc.csv\")\r\ng = (q.nFeature_RNA &lt;= 200) | (q.nFeature_RNA &gt;= 2500)\r\nm = q.percent_mt &gt;= 3\r\nprint(q.loc[g &amp; m, [\"barcode\", \"nFeature_RNA\", \"percent_mt\"]])\r\nprint((g | m).sum())<\/code><\/pre>\n<p>\u5f97\u5230\u4e00\u884c\u540c\u65f6\u8fdd\u89c4\u7ec6\u80de\u548c 443 \u4e2a\u5254\u9664\u7ec6\u80de\u3002\u518d\u68c0\u9a8c 4\uff0b1\uff0b438\uff0b2,257\uff1d2,700\uff0c\u56db\u4e2a\u683c\u5b50\u6b63\u597d\u7528\u5b8c\u539f\u8868\u3002\u628a 3 \u6539\u6210 5 \u6216 10\uff0c\u89c2\u5bdf\u4ea4\u96c6\u4f55\u65f6\u4e3a\u7a7a\u3002<\/p>\n<h2>\u7559\u4e0b\u4e09\u4e2a\u80fd\u56de\u770b\u7684\u6587\u4ef6<\/h2>\n<p>\u5982\u9700\u5b8c\u6574\u590d\u8dd1\uff0c\u5728\u89e3\u538b\u76ee\u5f55\u4f9d\u6b21\u6267\u884c <code>python -m pip install -r requirements.txt<\/code>\u3001<code>python matrix_to_qc.py<\/code>\u3001<code>python run_local.py<\/code>\u3001<code>python verify_lesson.py<\/code>\u3002\u628a\u9010\u6761\u7801\u6807\u8bb0\u3001\u9608\u503c\u6c47\u603b\u548c\u6838\u5bf9\u65e5\u5fd7\u4fdd\u5b58\u5728\u540c\u4e00\u9879\u76ee\u76ee\u5f55\u3002<\/p>\n<p>\u4f5c\u4e1a\u662f\u4ea4\u4e00\u5f20\u56db\u683c\u8868\u548c\u4e00\u4e2a\u771f\u5b9e\u6761\u7801\uff0c\u8bf4\u660e\u4e24\u4efd\u6e05\u5355\u662f\u5426\u53ef\u4ee5\u76f4\u63a5\u76f8\u52a0\u3002\u56fe\u4e0a\u7684\u9608\u503c\u7528\u4e8e\u7ec3\u4e60\uff0c\u6362\u7ec4\u7ec7\u3001\u5efa\u5e93\u65b9\u5f0f\u6216\u6837\u672c\u540e\uff0c\u5e94\u5f53\u91cd\u65b0\u67e5\u770b\u5206\u5e03\u4e0e\u6807\u5fd7\u8868\u8fbe\u3002<\/p>\n<p>\u8d44\u6599\u6765\u6e90\u3000<a href=\"https:\/\/www.10xgenomics.com\/datasets\/3-k-pbm-cs-from-a-healthy-donor-1-standard-1-1-0\">10x PBMC3k \u539f\u59cb\u6570\u636e\u4e0e CC BY 4.0 \u6388\u6743<\/a>\u3000<a href=\"https:\/\/www.biocloudservice.com\/wordpress\/yunshengxin-agent-pbmc3k-qc-thresholds-20261120\/\">\u4e91\u751f\u4fe1\u539f Agent \u5b9e\u8dd1\u53ca\u4e0b\u8f7d\u8bb0\u5f55<\/a><\/p>\n<p><a href=\"https:\/\/www.biocloudservice.com\/wordpress\/bioagent-singlecell-course\/\">\u8fd4\u56de\u8bfe\u7a0b\u603b\u76ee\u5f55\uff0c\u9009\u62e9\u4e0b\u4e00\u7bc7<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 3% \u65b9\u6848\u590d\u6838 5\uff0b439\uff0d1\uff1d443\uff0c\u5e76\u68c0\u9a8c 5% \u548c 10% \u4e24\u7ec4\u3002<\/p>\n","protected":false},"author":1,"featured_media":78911,"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-78932","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-10.png?fit=1200%2C640&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/78932","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=78932"}],"version-history":[{"count":3,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/78932\/revisions"}],"predecessor-version":[{"id":79309,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/78932\/revisions\/79309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/78911"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=78932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=78932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=78932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}