{"id":71731,"date":"2026-11-17T13:34:24","date_gmt":"2026-11-17T05:34:24","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=71731"},"modified":"2026-11-17T13:34:24","modified_gmt":"2026-11-17T05:34:24","slug":"ysx-sc-practice-037-scvi-batch-key-two-hospitals","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/ysx-sc-practice-037-scvi-batch-key-two-hospitals\/","title":{"rendered":"\u7528 scVI \u6574\u5408\u4e24\u5bb6\u533b\u9662\u7684\u6570\u636e\uff0c\u54ea\u4e00\u5217\u8be5\u586b\u8fdb batch_key\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>\u4e24\u5bb6\u533b\u9662\u9001\u6765\u5355\u7ec6\u80de\u6570\u636e\uff0c\u5143\u6570\u636e\u91cc\u540c\u65f6\u6709\u533b\u9662\u3001\u60a3\u8005\u3001\u5efa\u5e93\u6279\u6b21\u548c\u75c5\u4f8b\u5bf9\u7167\u56db\u5217\u3002\u8fd0\u884c scVI \u65f6\uff0cbatch_key \u90a3\u4e2a\u4f4d\u7f6e\u53ea\u586b\u4e00\u4e2a\u5b57\u6bb5\u3002\u9009\u533b\u9662\u4e4b\u540e\u4e24\u79cd\u989c\u8272\u6df7\u5f97\u5f88\u5747\u5300\uff0c\u6362\u6210\u60a3\u8005\u7f16\u53f7\u4f3c\u4e4e\u8fd8\u80fd\u6df7\u5f97\u66f4\u5f00\u3002\u54ea\u4e00\u4e2a\u624d\u5408\u9002\uff1f\u628a\u95ee\u9898\u62c6\u56de\u5b9e\u9a8c\u8bbe\u8ba1\uff1a\u60f3\u5904\u7406\u7684\u6280\u672f\u5dee\u522b\u53d1\u751f\u5728\u54ea\u4e00\u5c42\uff0c\u54ea\u4e9b\u7ec4\u4e4b\u95f4\u771f\u7684\u6709\u53ef\u4ee5\u5bf9\u7167\u7684\u72ec\u7acb\u6837\u672c\uff0c\u6574\u5408\u4ee5\u540e\u8bfe\u9898\u5173\u5fc3\u7684\u7ec6\u80de\u72b6\u6001\u8fd8\u80fd\u4e0d\u80fd\u627e\u5230\u3002\u672c\u6587\u7528\u540c\u4e00\u4efd\u539f\u59cb\u8ba1\u6570\u771f\u6b63\u8bad\u7ec3\u4e24\u5957\u6a21\u578b\uff0c\u5e76\u628a\u5b83\u4eec\u7684\u8fd1\u90bb\u6761\u7801\u548c\u539f\u59cb\u6807\u8bb0\u7559\u7ed9\u8bfb\u8005\u6838\u67e5\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\u539f\u59cb\u8ba1\u6570\u4e2d\u7684\u533b\u9662\u4e0e\u5236\u5907\u6279\u6b21\u4e24\u5957 scVI \u6a21\u578b\uff0c\u5728 T \u548c B \u5185\u5206\u522b\u68c0\u67e5\u6df7\u5408\u4e0e\u72b6\u6001\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-037-scvi-batch-key-two-hospitals.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-037-scvi-batch-key-two-hospitals.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-037-scvi-batch-key-two-hospitals.pdf\">\u4e0b\u8f7d\u56fe\u6587\u64cd\u4f5c\u624b\u518c\uff08PDF\uff09<\/a><\/p>\n<h2>\u5148\u770b\u54ea\u51e0\u5217\u4ee3\u8868\u6280\u672f\u8fc7\u7a0b\uff0c\u54ea\u51e0\u5217\u4ee3\u8868\u751f\u7269\u5b66\u95ee\u9898<\/h2>\n<p>\u7ec3\u4e60\u6a21\u62df\u4e24\u5bb6\u533b\u9662\uff0c\u6bcf\u5bb6\u6709\u4e24\u4f4d\u75c5\u4f8b\u548c\u4e24\u4f4d\u5bf9\u7167\uff0c\u603b\u5171\u516b\u4f4d\u72ec\u7acb\u4f9b\u8005\u3002\u6bcf\u5bb6\u533b\u9662\u5206\u4e24\u8f6e\u5236\u5907\uff0c\u6709\u90e8\u5206\u4f9b\u8005\u7684\u6750\u6599\u5728\u4e24\u8f6e\u90fd\u505a\u4e86\u4e00\u6b21\u6355\u83b7\u3002\u6bcf\u4e2a\u6280\u672f\u6279\u6b21\u4e2d\u90fd\u6709\u75c5\u4f8b\u548c\u5bf9\u7167\uff0c\u4e5f\u90fd\u5305\u542b T \u548c B \u7ec6\u80de\u3002\u5408\u8ba1\u4e09\u767e\u516b\u5341\u56db\u9897\uff0c\u5176\u4e2d\u4e24\u4e2a\u5927\u7c7b\u5404\u4e00\u767e\u4e5d\u5341\u4e8c\u9897\u3002\u6a21\u578b\u8bad\u7ec3\u8bfb\u53d6\u8868\u8fbe\u4e0e\u6307\u5b9a\u7684\u6279\u6b21\u5b57\u6bb5\uff0c\u75c5\u4f8b\u5bf9\u7167\u548c\u8c31\u7cfb\u5b57\u6bb5\u7559\u7ed9\u4e8b\u540e\u6838\u5bf9\u3002\u82e5\u771f\u5b9e\u961f\u5217\u6240\u6709\u75c5\u4f8b\u90fd\u5728\u4e00\u5bb6\u533b\u9662\u3001\u6240\u6709\u5bf9\u7167\u5728\u53e6\u4e00\u5bb6\uff0c\u6570\u636e\u672c\u8eab\u5c31\u7f3a\u5c11\u533b\u9662\u5185\u7684\u6761\u4ef6\u6bd4\u8f83\u3002\u6b64\u65f6\u4e0d\u80fd\u4ec5\u51ed\u6574\u5408\u524d\u540e\u7684\u56fe\u5224\u65ad\u67d0\u6bb5\u5dee\u5f02\u5e94\u8be5\u5f52\u7ed9\u75be\u75c5\u8fd8\u662f\u6280\u672f\u3002<\/p>\n<p>\u6253\u5f00 design_table.tsv \u770b\u4e00\u7ec4\u5177\u4f53\u6570\u5b57\u3002\u7b2c\u4e00\u5bb6\u533b\u9662\u603b\u5171\u6709\u4e5d\u5341\u516d\u9897\u75c5\u4f8b\u7ec6\u80de\u548c\u4e5d\u5341\u516d\u9897\u5bf9\u7167\u7ec6\u80de\uff0c\u6bcf\u8fb9\u5404\u6765\u81ea\u4e24\u4f4d\u4f9b\u8005\u3002\u7ec6\u770b\u7b2c\u4e00\u8f6e\u5236\u5907\uff0c\u4e24\u7ec4\u5404\u6709\u4e09\u5341\u4e8c\u9897\uff0c\u5374\u5404\u7531\u4e00\u4f4d\u4f9b\u8005\u8d21\u732e\uff1b\u7b2c\u4e8c\u8f6e\u624d\u5404\u6709\u4e24\u540d\u4f9b\u8005\u3002\u53ef\u89c1\u201c\u7ec6\u80de\u6570\u5dee\u4e0d\u591a\u201d\u548c\u201c\u72ec\u7acb\u6837\u672c\u8986\u76d6\u5145\u5206\u201d\u9700\u8981\u5206\u522b\u6838\u9a8c\u3002\u82e5\u7528\u6bcf\u4f4d\u60a3\u8005\u7684\u7f16\u53f7\u4f5c\u4e3a\u6279\u6b21\uff0c\u60a3\u8005\u4e4b\u95f4\u771f\u5b9e\u5b58\u5728\u7684\u4e2a\u4f53\u5dee\u5f02\u4e5f\u53ef\u80fd\u88ab\u5438\u6536\u5230\u6279\u6b21\u5efa\u6a21\u4e4b\u4e2d\u3002\u8fd9\u4e0d\u610f\u5473\u7740\u4f9b\u8005\u5728\u6240\u6709\u8bbe\u8ba1\u91cc\u90fd\u4e0d\u80fd\u505a\u6279\u6b21\uff0c\u800c\u662f\u5f53\u4f9b\u8005\u548c\u76ee\u6807\u6761\u4ef6\u4e00\u4e00\u5bf9\u5e94\u65f6\uff0c\u5fc5\u987b\u8bf4\u6e05\u8fd8\u80fd\u4f9d\u9760\u54ea\u4e00\u90e8\u5206\u8bbe\u8ba1\u533a\u5206\u4e8c\u8005\u3002<\/p>\n<h2>\u540c\u4e00\u4efd\u539f\u59cb\u8ba1\u6570\u62df\u5408\u4e24\u6b21\uff0c\u53ea\u6539\u53d8\u6279\u6b21\u53d8\u91cf<\/h2>\n<p>\u811a\u672c\u4ece Matrix Market \u8ba1\u6570\u3001\u57fa\u56e0\u548c\u6761\u7801\u8bfb\u53d6\u539f\u59cb\u975e\u8d1f\u6574\u6570\uff0c\u6309\u7ec6\u80de\u6392\u5217\u6210 AnnData \u9700\u8981\u7684\u65b9\u5411\u3002\u4e24\u6b21\u6a21\u578b\u4f7f\u7528\u76f8\u540c\u6570\u91cf\u7684\u57fa\u56e0\u548c\u7ec6\u80de\uff0c\u56fa\u5b9a\u968f\u673a\u79cd\u5b50\u3001\u6f5c\u5728\u7ef4\u6570\u3001\u9690\u5c42\u89c4\u6a21\u3001\u8fed\u4ee3\u8f6e\u6570\u548c\u9a8c\u8bc1\u5212\u5206\u8bbe\u7f6e\u3002\u7b2c\u4e00\u6b21\u5c06\u533b\u9662\u5217\u4ea4\u7ed9 setup_anndata\uff0c\u7b2c\u4e8c\u6b21\u5c06\u80fd\u8ffd\u6eaf\u5230\u5b9e\u9645\u5efa\u5e93\u7684 prep_batch \u5217\u4ea4\u7ed9\u5b83\u3002\u75c5\u4f8b\u5bf9\u7167\u4e0d\u8fdb\u5165 batch_key\u3002\u4e24\u4e2a\u6a21\u578b\u90fd\u5728 CPU \u4e0a\u8bad\u7ec3\u4e86\u4e03\u5341\u4e94\u8f6e\uff0c\u5e76\u5206\u522b\u8f93\u51fa\u516d\u7ef4\u6f5c\u5728\u8868\u793a\u3002\u8bad\u7ec3\u4ee3\u7801\u91cc\u6ca1\u6709\u4e8b\u5148\u505a\u6587\u5e93\u603b\u91cf\u5f52\u4e00\u5316\u6216\u53d6\u5bf9\u6570\uff0c\u8fd9\u662f\u8ba1\u6570\u6a21\u578b\u9700\u8981\u7684\u8f93\u5165\u7ea6\u5b9a\u3002<a href=\"https:\/\/docs.scvi-tools.org\/en\/stable\/tutorials\/notebooks\/quick_start\/api_overview.html\">scvi-tools \u7684\u6570\u636e\u6ce8\u518c\u4e0e\u5efa\u6a21\u5b9e\u4f8b<\/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\">def fit_one(counts, annotation, genes, key, cfg):\n    obj=anndata.AnnData(X=counts.T.astype(np.float32).tocsr(),obs=annotation.copy(),var=pd.DataFrame(index=genes))\n    scvi.settings.seed=cfg[&quot;seed&quot;]\n    scvi.model.SCVI.setup_anndata(obj,batch_key=key)\n    model=scvi.model.SCVI(obj,n_latent=6,n_layers=1,n_hidden=64,dropout_rate=.1,gene_likelihood=&quot;nb&quot;)\n    model.train(max_epochs=cfg[&quot;epochs&quot;],train_size=.9,batch_size=64,accelerator=&quot;cpu&quot;,devices=1,\n                early_stopping=False,enable_progress_bar=False,enable_model_summary=False,logger=False)\n    return model.get_latent_representation()\n<\/code><\/pre>\n<p>\u60f3\u5148\u8bfb\u61c2\u7ed3\u679c\uff0c\u53ef\u4ee5\u7528\u4e0b\u9762\u524d\u4e24\u884c\u76f4\u63a5\u6838\u5bf9 ZIP \u4e2d\u4fdd\u5b58\u7684\u4e24\u4efd\u8bad\u7ec3\u8f93\u51fa\uff1b\u5b83\u4eec\u6309\u6761\u7801\u4e0e\u539f\u59cb\u77e9\u9635\u4e00\u4e00\u5bf9\u5e94\u3002\u82e5\u60f3\u4eb2\u81ea\u91cd\u65b0\u8bad\u7ec3\uff0c\u5efa\u8bae\u53e6\u5efa Python 3.12 \u73af\u5883\uff0c\u5b89\u88c5\u6a21\u578b\u4f9d\u8d56\uff0c\u518d\u8fd0\u884c\u540e\u9762\u4e09\u884c\u3002\u91cd\u8bad\u7ed3\u679c\u5199\u5728\u65b0\u76ee\u5f55\uff0c\u6838\u5bf9\u65f6\u7528 models \u53c2\u6570\u663e\u5f0f\u5f15\u7528\uff0c\u4fbf\u4e8e\u4e0e\u968f\u6587\u7248\u672c\u6bd4\u8f83\u3002\u795e\u7ecf\u7f51\u7edc\u91cd\u65b0\u8bad\u7ec3\u4f1a\u53d7\u8f6f\u4ef6\u7248\u672c\u3001\u6570\u503c\u5e93\u548c\u8bbe\u5907\u5f71\u54cd\uff0c\u6bd4\u8f83\u5404\u9879\u8bfb\u6570\u65f6\u5e94\u8bb0\u5f55\u5b9e\u9645\u73af\u5883\u3002\u4e24\u4e2a\u6a21\u578b\u5404\u81ea\u7684\u7b2c\u4e00\u7ef4\u4e0d\u5fc5\u65b9\u5411\u76f8\u540c\uff0c\u4e0d\u8981\u76f4\u63a5\u62ff\u5b83\u4eec\u7684\u6a2a\u5750\u6807\u76f8\u51cf\u6765\u89e3\u91ca\u7ec6\u80de\u79fb\u52a8\u3002<a href=\"https:\/\/docs.scvi-tools.org\/en\/stable\/api\/reference\/scvi.model.SCVI.html\">SCVI \u5b98\u65b9\u6a21\u578b\u4e0e\u8bad\u7ec3\u63a5\u53e3<\/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-sh\">python -m pip install -r requirements.txt\npython run.py --input example --out results\n\npython -m pip install -r requirements-model.txt\npython fit_scvi.py --input example --out fitted\npython run.py --input example --models fitted --out results-refit\n<\/code><\/pre>\n<h2>\u4e3a\u4ec0\u4e48\u5148\u770b\u8c31\u7cfb\uff0c\u518d\u5728\u8c31\u7cfb\u5185\u90e8\u67e5\u6279\u6b21\u6df7\u5408<\/h2>\n<p>\u5bf9\u4e8e\u6bcf\u5957\u6f5c\u5728\u8868\u793a\uff0c\u5148\u5728\u5168\u90e8\u7ec6\u80de\u91cc\u4e3a\u6bcf\u9897\u7ec6\u80de\u627e\u5341\u4e2a\u90bb\u5c45\uff0c\u8ba1\u7b97\u540c\u5927\u7c7b\u6bd4\u4f8b\u3002\u518d\u53ea\u5141\u8bb8\u540c\u4e00\u5927\u7c7b\u7684\u5019\u9009\u4e92\u4e3a\u90bb\u5c45\uff0c\u5206\u522b\u8bb0\u5f55\u4e0d\u540c\u533b\u9662\u3001\u4e0d\u540c\u5236\u5907\u6279\u6b21\u4ee5\u53ca\u540c\u4e00\u75c5\u4f8b\u5bf9\u7167\u72b6\u6001\u7684\u90bb\u5c45\u6bd4\u4f8b\u3002\u8fd9\u4e24\u8f6e\u7684\u53c2\u7167\u4e0d\u540c\u3002\u9650\u5236\u540c\u7c7b\u578b\u540e\u672c\u6765\u5c31\u4e0d\u4f1a\u51fa\u73b0\u8de8\u7c7b\u578b\u90bb\u5c45\uff0c\u56e0\u800c\u4e0d\u80fd\u7528\u7b2c\u4e8c\u8f6e\u7684\u7ed3\u679c\u58f0\u79f0\u6a21\u578b\u6210\u529f\u4fdd\u4f4f\u4e86\u8c31\u7cfb\u8fb9\u754c\u3002\u7a0b\u5e8f\u5728\u7b2c\u4e00\u8f6e\u72ec\u7acb\u68c0\u67e5\u8be5\u8fb9\u754c\uff0c\u7136\u540e\u624d\u89e3\u91ca\u7b2c\u4e8c\u8f6e\u3002\u8bfb\u8005\u53ef\u4ee5\u5728 within_type_edges.tsv \u4e2d\u9009\u4e00\u4e2a\u7126\u70b9\uff0c\u624b\u52a8\u8fde\u63a5\u5404\u90bb\u5c45\u7684\u533b\u9662\u3001\u6279\u6b21\u3001\u6761\u4ef6\u4e0e\u4f9b\u8005\uff0c\u9a8c\u8bc1\u6bcf\u9879\u6bd4\u4f8b\u7684\u5206\u6bcd\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 nearest(latent,k,population=None):\n    distances=cdist(latent,latent)\n    np.fill_diagonal(distances,np.inf)\n    if population is not None:distances[population[:,None]!=population[None,:]]=np.inf\n    indices=np.argsort(distances,axis=1,kind=&quot;stable&quot;)[:,:k]\n    if not np.isfinite(np.take_along_axis(distances,indices,axis=1)).all():\n        raise ValueError(&quot;Not enough matched cells for the requested k.&quot;)\n    return indices\n<\/code><\/pre>\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:#eae0ff\">\u540c\u4e00\u6279 T \u7ec6\u80de\u7684\u8bfb\u6570<\/th>\n<th style=\"padding:9px;text-align:left;background:#eae0ff\">\u7528\u533b\u9662\u4f5c\u4e3a\u6279\u6b21<\/th>\n<th style=\"padding:9px;text-align:left;background:#eae0ff\">\u7528\u5236\u5907\u8f6e\u6b21\u4f5c\u4e3a\u6279\u6b21<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u5168\u4f53\u8fd1\u90bb\u4e2d\u540c\u5927\u7c7b\u6bd4\u4f8b<\/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\">1.000<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u540c\u7c7b\u8fd1\u90bb\u4e2d\u6765\u81ea\u5176\u4ed6\u533b\u9662<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">0.475<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">0.494<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u540c\u7c7b\u8fd1\u90bb\u4e2d\u6765\u81ea\u5176\u4ed6\u5236\u5907\u6279\u6b21<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">0.580<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">0.702<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u540c\u7c7b\u8fd1\u90bb\u4e2d\u540c\u75c5\u4f8b\u5bf9\u7167\u72b6\u6001<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">0.995<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">0.997<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u8fd9\u7ec4\u6570\u503c\u6709\u4e00\u4e2a\u5177\u4f53\u7684\u89e3\u91ca\u3002\u4ee5\u533b\u9662\u4e3a\u6279\u6b21\u65f6\uff0c\u6a21\u578b\u80fd\u533a\u5206\u533b\u9662\u8fd9\u4e00\u5c42\u7684\u6d4b\u91cf\u73af\u5883\uff0c\u4f46\u6bcf\u5bb6\u533b\u9662\u5185\u90e8\u8fd8\u6709\u4e24\u4e2a\u5236\u5907\u8f6e\u6b21\u3002\u76f4\u63a5\u5bf9\u5e94\u8be5\u6280\u672f\u8fc7\u7a0b\u7684\u6a21\u578b\u4e2d\uff0cT \u7ec6\u80de\u5341\u4e2a\u540c\u7c7b\u8fd1\u90bb\u91cc\u7ea6\u4e03\u6210\u6765\u81ea\u5176\u4ed6\u5236\u5907\u6279\u6b21\uff0c\u800c\u533b\u9662\u6a21\u578b\u7ea6\u4e3a\u4e94\u6210\u516b\u3002\u4e24\u4e2a\u6a21\u578b\u4e2d T \u548c B \u7684\u5927\u7c7b\u8fb9\u754c\u90fd\u6e05\u695a\uff0cT \u5185\u4fdd\u7559\u4e86\u6a21\u62df\u6761\u4ef6\u4fe1\u53f7\u3002\u8fd9\u91cc\u4e0d\u80fd\u62ff\u4e03\u6210\u53bb\u548c\u60f3\u8c61\u4e2d\u7684\u7406\u60f3\u767e\u5206\u4e4b\u767e\u6bd4\u8f83\u3002\u5373\u4f7f\u5b8c\u5168\u968f\u673a\u6df7\u5408\uff0c\u8fd1\u90bb\u6765\u6e90\u4e5f\u53d7\u5404\u6279\u6b21\u7ec6\u80de\u6570\u548c\u76ee\u6807\u72b6\u6001\u5206\u5e03\u9650\u5236\uff1b\u5bf9\u4e8e\u4e00\u4e2a\u51e0\u4e4e\u53ea\u5728\u67d0\u6279\u51fa\u73b0\u7684\u72b6\u6001\uff0c\u5f3a\u6c42\u6240\u6709\u90bb\u5c45\u8de8\u6279\u751a\u81f3\u53ef\u80fd\u6d88\u53bb\u7814\u7a76\u95ee\u9898\u672c\u8eab\u3002<\/p>\n<h2>\u628a\u75be\u75c5\u4fe1\u53f7\u5e26\u56de\u539f\u59cb\u8868\u8fbe\u77e9\u9635<\/h2>\n<p>\u75c5\u4f8b T \u7ec6\u80de\u7684\u5e72\u6270\u7d20\u7a0b\u5e8f\u5728\u5efa\u6a21\u62df\u6570\u636e\u65f6\u88ab\u63d0\u9ad8\uff0cB \u7ec6\u80de\u6ca1\u6709\u8fd9\u9879\u8bbe\u5b9a\u3002\u53bb\u770b raw_markers.tsv\uff0c\u7b2c\u4e00\u5bb6\u533b\u9662\u4e24\u4f4d\u75c5\u4f8b\u7684 T \u7ec6\u80de\u4e2d\uff0cISG15 \u90fd\u5728\u5168\u90e8\u7ec6\u80de\u68c0\u51fa\uff0c\u5e73\u5747\u5bf9\u6570\u5f52\u4e00\u5316\u8868\u8fbe\u5206\u522b\u7ea6\u4e94\u70b9\u4e5d\u4e00\u548c\u4e94\u70b9\u516b\u516d\uff1b\u540c\u9662\u4e24\u4f4d\u5bf9\u7167\u7684\u68c0\u51fa\u7387\u90fd\u662f\u767e\u5206\u4e4b\u4e09\u5341\u4e03\u70b9\u4e94\u3002\u7b2c\u4e8c\u5bb6\u533b\u9662\u4e5f\u80fd\u5728\u60a3\u8005\u5185\u68c0\u51fa\u75c5\u4f8b\u7684\u540c\u4e00\u65b9\u5411\u3002\u518d\u67e5 IFIT1 \u548c MX1\uff0c\u786e\u8ba4\u662f\u4e00\u7ec4\u57fa\u56e0\u5171\u540c\u652f\u6301\u3002\u8fd9\u4e2a\u8868\u4ece\u539f\u59cb\u8ba1\u6570\u751f\u6210\uff0c\u4e0e\u9009\u62e9\u54ea\u4e2a batch_key \u65e0\u5173\uff1b\u4e24\u5957\u6a21\u578b\u9700\u8981\u56de\u7b54\u7684\u662f\u5b83\u4eec\u5728\u6f5c\u5728\u7a7a\u95f4\u91cc\u662f\u5426\u4ecd\u4e3a\u8fd9\u7ec4\u7ec6\u80de\u4fdd\u7559\u76f8\u8fd1\u7684\u90bb\u5c45\u7ed3\u6784\u3002<\/p>\n<p>\u4e0e\u6b64\u5bf9\u5e94\uff0c\u4e24\u5957\u6a21\u578b\u91cc B \u7ec6\u80de\u7684\u540c\u6761\u4ef6\u8fd1\u90bb\u6bd4\u4f8b\u5206\u522b\u7ea6\u96f6\u70b9\u56db\u4e5d\u56db\u548c\u96f6\u70b9\u56db\u516b\u4e94\uff0c\u7ea6\u6709\u4e00\u534a\u90bb\u5c45\u6765\u81ea\u53e6\u4e00\u79cd\u6761\u4ef6\u3002\u5982\u679c\u628a\u6240\u6709 T \u548c B \u6df7\u8d77\u6765\u53d6\u5e73\u5747\uff0c\u4f1a\u628a\u4e00\u79cd\u8c31\u7cfb\u5185\u5f3a\u70c8\u7684\u6761\u4ef6\u7ed3\u6784\u4e0e\u53e6\u4e00\u79cd\u8c31\u7cfb\u5185\u5f88\u5f31\u7684\u7ed3\u6784\u6df7\u5728\u540c\u4e00\u4e2a\u6570\u5b57\u91cc\u3002\u540c\u6837\uff0c\u539f\u59cb RNA \u7684\u5747\u503c\u4e0e\u5d4c\u5165\u51e0\u4f55\u4e5f\u4e0d\u662f\u540c\u4e00\u79cd\u6548\u5e94\u91cf\u3002\u6a21\u578b\u4e0a\u7684\u540c\u6761\u4ef6\u90bb\u5c45\u6bd4\u4f8b\u5f88\u9ad8\uff0c\u4e0d\u7b49\u4e8e\u89c2\u5bdf\u5230\u4e86\u6cbb\u7597\u56e0\u679c\u6548\u5e94\u3002\u82e5\u8981\u8fdb\u884c\u75c5\u4f8b\u5bf9\u7167\u63a8\u65ad\uff0c\u8fd8\u9700\u5bf9\u6bcf\u4e00\u4f4d\u4f9b\u8005\u5728\u76f8\u5e94\u8c31\u7cfb\u7684\u539f\u59cb\u8868\u8fbe\u4f5c\u9002\u5f53\u6c47\u603b\uff0c\u7ed3\u5408\u53ef\u4f30\u7684\u8bbe\u8ba1\u548c\u751f\u7269\u5b66\u91cd\u590d\u8ba1\u7b97\u4e0d\u786e\u5b9a\u6027\u3002<\/p>\n<h2>\u5728\u771f\u5b9e\u4e24\u9662\u9879\u76ee\u91cc\u600e\u6837\u9009\u8fd9\u4e00\u5217<\/h2>\n<p>\u5148\u5411\u5b9e\u9a8c\u7aef\u6838\u5b9e\u533b\u9662\u7f16\u53f7\u662f\u4e0d\u662f\u4ec5\u8868\u793a\u9001\u6837\u673a\u6784\uff0c\u8fd8\u662f\u540c\u65f6\u4ee3\u8868\u4e0d\u540c\u5efa\u5e93\u4eea\u5668\u3001\u5316\u5b66\u7248\u672c\u6216\u65f6\u95f4\u6bb5\u3002\u82e5\u5b9e\u9645\u6280\u672f\u8fc7\u7a0b\u53d1\u751f\u5728\u9662\u5185\u4e0d\u540c\u6279\u6b21\uff0c\u800c\u4e14\u8fd9\u4e9b\u6279\u6b21\u91cc\u5747\u6709\u591a\u79cd\u6761\u4ef6\u548c\u76f8\u5173\u8c31\u7cfb\u53ef\u6bd4\u8f83\uff0c\u5236\u5907\u6279\u6b21\u662f\u6709\u76f4\u63a5\u4f9d\u636e\u7684\u5019\u9009\u3002\u5982\u679c\u6807\u8bc6\u8fc7\u7ec6\u5bfc\u81f4\u6bcf\u4e2a\u60a3\u8005\u90fd\u6210\u4e86\u72ec\u6709\u7684\u4e00\u6279\uff0c\u539f\u59cb\u8bbe\u8ba1\u63d0\u4f9b\u7684\u8de8\u60a3\u8005\u53c2\u7167\u53ef\u80fd\u4e0d\u591f\uff0c\u8fd9\u65f6\u5e72\u51c0\u7684\u5217\u8054\u8868\u6bd4\u7ee7\u7eed\u6269\u5927\u6a21\u578b\u590d\u6742\u5ea6\u66f4\u91cd\u8981\u3002\u771f\u5b9e\u8d44\u6599\u8fd8\u8981\u67e5\u6781\u5c11\u7ec6\u80de\u7684\u6279\u6b21\uff0c\u4e0d\u80fd\u56e0\u4e3a\u5927\u6279\u6b21\u6df7\u5f97\u597d\u5c31\u5ffd\u7565\u67d0\u4e2a\u5c0f\u6279\u6b21\u91cc\u7684\u6574\u7c7b\u7ec6\u80de\u90fd\u504f\u79bb\u3002<\/p>\n<p>\u4ea4\u4ed8\u65f6\u53ef\u4ee5\u628a\u4e24\u4e2a\u5019\u9009\u8bbe\u7f6e\u3001\u5b83\u4eec\u8981\u5904\u7406\u7684\u6280\u672f\u5dee\u5f02\u3001\u6309\u7ec6\u80de\u7c7b\u578b\u62c6\u5f00\u7684\u8fd1\u90bb\u8bfb\u6570\uff0c\u4ee5\u53ca\u6bcf\u4f4d\u4f9b\u8005\u7684\u539f\u59cb\u6807\u8bb0\u653e\u5728\u4e00\u9875\u3002\u540c\u884c\u636e\u6b64\u53ef\u4ee5\u8ba8\u8bba\u4e3a\u4ec0\u4e48\u672c\u4f8b\u503e\u5411\u5236\u5907\u6279\u6b21\uff0c\u4e5f\u53ef\u4ee5\u6307\u51fa\u67d0\u79cd\u5173\u952e\u72b6\u6001\u5728\u53e6\u4e00\u79cd\u8bbe\u7f6e\u4e0b\u66f4\u7a33\u3002\u8bfb\u8005\u82e5\u8981\u505a\u654f\u611f\u6027\u7ec3\u4e60\uff0c\u53ef\u5c06\u8fd1\u90bb\u6570\u7531\u5341\u6539\u4e3a\u5341\u4e94\uff0c\u5728\u540c\u4e00\u4efd\u6a21\u578b\u5750\u6807\u4e0a\u91cd\u7b97\u6838\u5bf9\u8868\uff0c\u89c2\u5bdf\u53ea\u6539\u8bc4\u4f30\u90bb\u57df\u80fd\u5426\u6539\u53d8\u5224\u65ad\u3002\u7b49\u9700\u8981\u5728\u591a\u4e2d\u5fc3\u5927\u578b\u961f\u5217\u6bd4\u8f83\u8bad\u7ec3\u53c2\u6570\u548c\u6a21\u578b\u91cd\u590d\u6027\u65f6\uff0c\u518d\u6309\u4e00\u5957\u6a21\u578b\u7684\u5b9e\u6d4b\u8d44\u6e90\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>\u4ece\u76f8\u540c\u539f\u59cb UMI \u8bad\u7ec3\u4e24\u5957 scVI\uff0c\u5206\u522b\u4ee5\u533b\u9662\u548c\u5b9e\u9645\u5236\u5907\u6279\u6b21\u4f5c\u4e3a batch_key\uff0c\u5728\u540c\u4e00\u7ec6\u80de\u7c7b\u578b\u91cc\u6838\u5bf9\u6df7\u5408\u7a0b\u5ea6\u3001\u75be\u75c5\u72b6\u6001\u548c\u4f9b\u8005\u539f\u59cb\u6807\u8bb0\u3002<\/p>\n","protected":false},"author":1,"featured_media":71728,"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-71731","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-037-scvi-batch-key-two-hospitals.png?fit=1240%2C800&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71731","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=71731"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71731\/revisions"}],"predecessor-version":[{"id":73678,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71731\/revisions\/73678"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/71728"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=71731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=71731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=71731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}