{"id":71677,"date":"2026-11-17T13:34:24","date_gmt":"2026-11-17T05:34:24","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=71677"},"modified":"2026-11-17T13:34:24","modified_gmt":"2026-11-17T05:34:24","slug":"ysx-sc-practice-033-donor-balanced-cluster-stability","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/ysx-sc-practice-033-donor-balanced-cluster-stability\/","title":{"rendered":"\u4e00\u4f4d\u60a3\u8005\u8d21\u732e\u4e86\u534a\u6570\u7ec6\u80de\uff0c\u600e\u6837\u770b\u51fa\u805a\u7c7b\u662f\u5426\u88ab\u4ed6\u4e3b\u5bfc\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>\u56db\u4f4d\u60a3\u8005\u5408\u8d77\u6765\u6709\u4e8c\u767e\u56db\u5341\u9897\u7ec6\u80de\uff0c\u7b2c\u4e00\u4f4d\u5c31\u5360\u4e86\u4e00\u767e\u4e8c\u5341\u9897\u3002\u805a\u7c7b\u56fe\u91cc\u6709\u4e00\u4e2a\u5e72\u6270\u7d20\u53cd\u5e94\u660e\u663e\u7684\u7fa4\uff0c\u6807\u8bb0\u5f88\u6f02\u4eae\u3002\u8981\u5224\u65ad\u5b83\u662f\u5426\u7531\u8fd9\u4f4d\u60a3\u8005\u4e3b\u5bfc\uff0c\u9700\u8981\u5206\u5f00\u505a\u4e24\u9879\u68c0\u67e5\u3002\u4e00\u9879\u95ee\u5982\u679c\u6bcf\u4f4d\u60a3\u8005\u53ea\u8d21\u732e\u76f8\u540c\u6570\u91cf\u7684\u7ec6\u80de\uff0c\u7b97\u6cd5\u8fd8\u80fd\u4e0d\u80fd\u627e\u56de\u8fd9\u4e2a\u7fa4\uff1b\u53e6\u4e00\u9879\u95ee\u8fd9\u4e2a\u72b6\u6001\u6709\u6ca1\u6709\u5728\u591a\u4f4d\u60a3\u8005\u8eab\u4e0a\u51fa\u73b0\u3002\u4e00\u4e2a\u7fa4\u53ef\u4ee5\u5728\u56db\u5341\u6b21\u91cd\u65b0\u805a\u7c7b\u4e2d\u90fd\u88ab\u627e\u56de\uff0c\u5374\u4ecd\u7136\u53ea\u6709\u4e00\u4f4d\u60a3\u8005\u63d0\u4f9b\u4e86\u8bc1\u636e\u3002\u8fd9\u4e2a\u4f8b\u5b50\u503c\u5f97\u81ea\u5df1\u8dd1\u4e00\u904d\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=\"\u56db\u4f4d\u4f9b\u8005\u7b49\u989d\u62bd\u6837\uff0c\u68c0\u67e5\u5355\u4f9b\u8005\u7fa4\u7684\u6761\u7801\u7a33\u5b9a\u6027\u3001\u6837\u672c\u8986\u76d6\u548c\u6807\u8bb0\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-033-donor-balanced-cluster-stability.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-033-donor-balanced-cluster-stability.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-033-donor-balanced-cluster-stability.pdf\">\u4e0b\u8f7d\u56fe\u6587\u64cd\u4f5c\u624b\u518c\uff08PDF\uff09<\/a><\/p>\n<h2>\u5148\u770b\u6bcf\u4e2a\u7fa4\u7684\u6765\u6e90\uff0c\u518d\u51b3\u5b9a\u62bd\u6837\u5355\u4f4d<\/h2>\n<p>\u5b8c\u6574\u6570\u636e\u91cc\u56db\u4f4d\u4f9b\u8005\u5206\u522b\u8d21\u732e\u4e00\u767e\u4e8c\u5341\u3001\u56db\u5341\u3001\u56db\u5341\u3001\u56db\u5341\u9897\u7ec6\u80de\u3002\u8d44\u6599\u4e2d\u63d0\u4f9b\u56fa\u5b9a\u7684\u516d\u7ef4\u4e3b\u6210\u5206\u5750\u6807\u3001\u4f9b\u8005\u6807\u7b7e\u3001\u516b\u4e2a\u6559\u5b66\u6807\u8bb0\u7684\u8ba1\u6570\u548c\u8ba1\u7b97\u5f52\u4e00\u5316\u6240\u9700\u7684\u7ec6\u80de\u603b\u91cf\u3002\u5148\u5728\u6240\u6709\u7ec6\u80de\u4e0a\u805a\u7c7b\uff0c\u5f97\u5230\u4e00\u4efd\u53ef\u4ee5\u53c2\u7167\u7684\u5168\u91cf\u5206\u533a\uff0c\u7136\u540e\u8bb0\u5f55\u5404\u7fa4\u4e2d\u6bcf\u4f4d\u4f9b\u8005\u8d21\u732e\u4e86\u591a\u5c11\u3002\u8fd9\u91cc\u6709\u610f\u56fa\u5b9a\u4e3b\u6210\u5206\u7a7a\u95f4\u4e0e\u56db\u4e2a\u805a\u7c7b\u4e2d\u5fc3\u7684\u6570\u76ee\uff0c\u7528 K-means \u6f14\u793a\u6837\u672c\u6bd4\u4f8b\u600e\u6837\u5f71\u54cd\u7ed9\u5b9a\u7a7a\u95f4\u5185\u7684\u5206\u7ec4\uff1b\u5982\u679c\u9879\u76ee\u91c7\u7528\u56fe\u805a\u7c7b\uff0c\u53ef\u5728\u6bcf\u6b21\u62bd\u6837\u540e\u7528\u76f8\u540c\u53c2\u6570\u91cd\u5efa\u5176\u90bb\u5c45\u56fe\u3001\u91cd\u65b0\u8fd0\u884c\u539f\u6765\u7684\u805a\u7c7b\u7b97\u6cd5\uff0c\u518d\u7528\u76f8\u540c\u7684\u6761\u7801\u5339\u914d\u65b9\u5f0f\u590d\u6838\u3002<a href=\"https:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.cluster.KMeans.html\">scikit-learn \u7684 K-means \u5b9e\u73b0<\/a><\/p>\n<p>\u8fd0\u884c\u9ed8\u8ba4\u547d\u4ee4\u540e\u5148\u6253\u5f00 full_composition.tsv\u3002\u7b2c\u4e00\u7fa4\u4e5d\u5341\u4e8c\u9897\uff0c\u6765\u81ea\u7b2c\u4e00\u4f4d\u60a3\u8005\u7684\u6709\u4e09\u5341\u4e5d\u9897\uff0c\u5176\u4f59\u4e09\u4f4d\u4e5f\u90fd\u6709\u5341\u51e0\u9897\u3002\u7b2c\u4e09\u7fa4\u540c\u6837\u6709\u4e09\u5341\u4e5d\u9897\u6765\u81ea\u7b2c\u4e00\u4f4d\u60a3\u8005\uff0c\u4f46\u5b83\u5168\u7fa4\u4e00\u5171\u53ea\u6709\u8fd9\u4e09\u5341\u4e5d\u9897\uff0c\u53e6\u5916\u4e09\u4eba\u7684\u8d21\u732e\u5168\u90e8\u4e3a\u96f6\u3002\u76f8\u540c\u7684\u201c\u67d0\u60a3\u8005\u8d21\u732e\u4e09\u5341\u4e5d\u9897\u201d\u5728\u4e0d\u540c\u5206\u6bcd\u4e0b\u5b8c\u5168\u662f\u4e24\u79cd\u8bc1\u636e\u3002\u8fd8\u8981\u95ee\u7684\u662f\u8be5\u60a3\u8005\u5728\u5b8c\u6574\u6570\u636e\u91cc\u7684\u5360\u6bd4\u672c\u6765\u5c31\u6709\u591a\u9ad8\u3002\u5982\u679c\u67d0\u7fa4\u6070\u597d\u6709\u4e00\u534a\u6765\u81ea\u7b2c\u4e00\u4f4d\uff0c\u5e76\u4e0d\u6bd4\u5168\u961f\u5217\u4e00\u534a\u7684\u80cc\u666f\u66f4\u504f\uff1b\u82e5\u67d0\u7fa4\u5168\u90e8\u6765\u81ea\u4ed6\uff0c\u5c31\u8be5\u56de\u67e5\u75c5\u7406\u80cc\u666f\u3001\u53d6\u6837\u65f6\u95f4\u3001\u5efa\u5e93\u548c\u72ec\u7acb\u91cd\u590d\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>\u6bcf\u4eba\u7b49\u989d\u62bd\u53d6\uff0c\u4f46\u4e0d\u8981\u628a\u56db\u5341\u8f6e\u5f53\u6210\u56db\u5341\u4e2a\u75c5\u4eba<\/h2>\n<p>\u9ed8\u8ba4\u6bcf\u4f4d\u60a3\u8005\u6bcf\u8f6e\u65e0\u653e\u56de\u62bd\u4e8c\u5341\u4e94\u9897\uff0c\u4e00\u8f6e\u56e0\u6b64\u6709\u4e00\u767e\u9897\uff0c\u7b2c\u4e00\u4f4d\u7684\u4efd\u989d\u4ece\u4e8c\u5206\u4e4b\u4e00\u964d\u4e3a\u56db\u5206\u4e4b\u4e00\u3002\u6bcf\u4e00\u8f6e\u5185\u90e8\u4e0d\u91cd\u590d\uff0c\u540c\u4e00\u6761\u7801\u53ef\u4ee5\u51fa\u73b0\u5728\u4e0d\u540c\u8f6e\u6b21\u3002\u811a\u672c\u4f7f\u7528\u56fa\u5b9a\u7684\u968f\u673a\u6570\u5e8f\u5217\u51b3\u5b9a\u62bd\u5230\u54ea\u4e9b\u7ec6\u80de\uff0c\u5e76\u5728\u6bcf\u8f6e\u7528\u76f8\u540c\u805a\u7c7b\u521d\u59cb\u5316\u8bbe\u7f6e\uff0c\u907f\u514d\u79cd\u5b50\u53d8\u5316\u4e0e\u62bd\u6837\u6548\u5e94\u540c\u65f6\u6539\u53d8\u3002\u6240\u6709\u62bd\u5230\u7684\u6761\u7801\u3001\u539f\u6807\u7b7e\u548c\u672c\u8f6e\u65b0\u5206\u533a\u90fd\u5199\u5165 sampled_memberships.tsv\uff0c\u5171\u56db\u5343\u884c\u62bd\u6837\u8bb0\u5f55\u3002\u5b83\u4eec\u4ecd\u7136\u6765\u81ea\u6700\u521d\u90a3\u56db\u4f4d\u60a3\u8005\uff0c\u53ea\u80fd\u7528\u6765\u68c0\u67e5\u7ed3\u679c\u5bf9\u62bd\u53d6\u54ea\u4e9b\u7ec6\u80de\u6709\u591a\u654f\u611f\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 sample_donors(donors, quota, rng):\n    selected=[]\n    for d in sorted(set(donors)):\n        pool=np.flatnonzero(donors==d)\n        if len(pool)&lt;quota:raise ValueError(f&quot;{d} has only {len(pool)} cells for quota {quota}.&quot;)\n        selected.extend(rng.choice(pool,quota,replace=False))\n    return np.sort(selected)\n<\/code><\/pre>\n<p>\u82e5\u6362\u81ea\u5df1\u7684\u9879\u76ee\uff0c\u5148\u5217\u51fa\u6bcf\u4f4d\u4f9b\u8005\u5728\u76ee\u6807\u8c31\u7cfb\u4e2d\u7684\u53ef\u7528\u7ec6\u80de\u6570\u3002\u67d0\u4f4d\u60a3\u8005\u53ea\u6709\u4e94\u9897\uff0c\u9ed8\u8ba4\u914d\u989d\u4e8c\u5341\u4e94\u4fbf\u65e0\u6cd5\u4e0d\u653e\u56de\u62bd\u6ee1\u3002\u53ef\u4ee5\u964d\u4f4e\u914d\u989d\uff0c\u6216\u8005\u5728\u8bb0\u5f55\u7eb3\u5165\u6807\u51c6\u540e\u5206\u6790\u8986\u76d6\u5145\u5206\u7684\u4f9b\u8005\uff0c\u5e76\u628a\u5176\u4f59\u4eba\u5355\u72ec\u63cf\u8ff0\u3002\u64c5\u81ea\u628a\u4e94\u9897\u590d\u5236\u6210\u4e8c\u5341\u4e94\u9897\u4f1a\u91cd\u590d\u8ba1\u7b97\u5b8c\u5168\u76f8\u540c\u7684\u4f4d\u7f6e\uff0c\u6539\u53d8\u5c40\u90e8\u5bc6\u5ea6\u3002\u6709\u914d\u5bf9\u6cbb\u7597\u524d\u540e\u6837\u672c\u65f6\uff0c\u8fd8\u9700\u63d0\u65e9\u786e\u5b9a\u62bd\u6837\u662f\u6309\u4f9b\u8005\u3001\u6309\u4f9b\u8005\u548c\u65f6\u95f4\u7684\u7ec4\u5408\uff0c\u8fd8\u662f\u6309\u53d6\u6750\u90e8\u4f4d\u8fdb\u884c\uff0c\u4e0d\u540c\u9009\u62e9\u5bf9\u5e94\u4e0d\u540c\u7684\u7814\u7a76\u95ee\u9898\u548c\u5206\u6bcd\u3002<\/p>\n<h2>\u540c\u4e00\u4e2a\u7fa4\u6362\u4e86\u6570\u5b57\uff0c\u9760\u5171\u540c\u6761\u7801\u627e\u56de\u5b83<\/h2>\n<p>\u91cd\u8dd1\u805a\u7c7b\u540e\uff0c\u7b97\u6cd5\u7ed9\u7fa4\u7f16\u53f7\u7684\u6b21\u5e8f\u53ef\u80fd\u6539\u53d8\u3002\u7b2c\u4e00\u8f6e\u4e2d\u5168\u91cf\u7b2c\u4e09\u7fa4\u6070\u597d\u5bf9\u5e94\u65b0\u5206\u533a\u7684\u7b2c\u56db\u4e2a\u7f16\u53f7\uff1b\u770b\u65b0\u65e7\u6807\u7b7e\u6570\u5b57\u76f8\u540c\u4e0e\u5426\uff0c\u6839\u672c\u4e0d\u80fd\u5224\u65ad\u7fa4\u662f\u5426\u6d88\u5931\u3002\u53ef\u4ee5\u628a\u5168\u91cf\u6210\u5458\u9650\u5236\u5230\u672c\u6b21\u62bd\u4e2d\u7684\u6761\u7801\uff0c\u7136\u540e\u7528\u201c\u4ea4\u96c6\u6570\u9664\u4ee5\u5e76\u96c6\u6570\u201d\u8ba1\u7b97\u6bcf\u5bf9\u539f\u65b0\u7fa4\u7684 Jaccard \u76f8\u4f3c\u5ea6\u3002\u4ee3\u7801\u4e3a\u6240\u6709\u914d\u5bf9\u5efa\u7acb\u4e00\u5f20\u8868\uff0c\u518d\u6c42\u6574\u4f53\u5339\u914d\u603b\u5206\u6700\u5927\u7684\u5bf9\u5e94\uff0c\u4fdd\u7559\u4f4e\u5206\u548c\u5269\u4f59\u7684\u4ea4\u53c9\u6570\u3002\u8fd9\u6bd4\u628a\u4ece\u672a\u8fdb\u5165\u6b64\u6b21\u62bd\u6837\u7684\u7ec6\u80de\u4e5f\u8ba1\u5165\u5e76\u96c6\u66f4\u516c\u5e73\u3002\u8bfb\u8005\u5982\u679c\u6000\u7591\u67d0\u7fa4\u88ab\u62c6\u6210\u4e24\u534a\uff0c\u5e94\u8be5\u770b splits.tsv \u7684\u5168\u90e8\u4ea4\u53c9\u8bb0\u5f55\uff0c\u4e0d\u80fd\u53ea\u770b\u4e00\u5bf9\u4e00\u7684\u6700\u4f73\u5339\u914d\u3002<a href=\"https:\/\/bioconductor.org\/books\/release\/OSCA.advanced\/clustering-redux.html\">Bioconductor \u7684\u805a\u7c7b\u7a33\u5b9a\u6027\u68c0\u67e5<\/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 match_on_overlap(reference, fitted, size):\n    scores=np.zeros((size,size))\n    for a in range(size):\n        for b in range(size):\n            old,new=reference==a,fitted==b\n            union=(old|new).sum()\n            scores[a,b]=(old&amp;new).sum()\/union if union else 0\n    aa,bb=linear_sum_assignment(-scores)\n    return [(int(a),int(b),float(scores[a,b])) for a,b in zip(aa,bb)]\n<\/code><\/pre>\n<p>\u4ee5\u7b2c\u4e00\u8f6e\u7b2c\u4e09\u7fa4\u4e3a\u4f8b\u3002\u539f\u6765\u4e09\u5341\u4e5d\u9897\u4e2d\u8fd9\u4e00\u6b21\u62bd\u5230\u4e03\u9897\uff0c\u5339\u914d\u5230\u7684\u65b0\u7fa4\u4e5f\u6709\u4e03\u9897\uff0c\u4e03\u4e2a\u6761\u7801\u5168\u90e8\u76f8\u540c\uff0c\u6240\u4ee5\u76f8\u4f3c\u5ea6\u4e3a\u4e00\u3002\u4e0d\u80fd\u628a\u7ed3\u679c\u8bef\u5199\u6210\u65b0\u5206\u6790\u201c\u627e\u56de\u539f\u6765\u4e09\u5341\u4e5d\u9897\u4e2d\u7684\u767e\u5206\u4e4b\u767e\u201d\u3002\u5b83\u627e\u56de\u7684\u662f\u672c\u6b21\u53ef\u89c2\u5bdf\u7684\u4e03\u9897\u3002\u7a0b\u5e8f\u8fd8\u8bb0\u5f55\u4e24\u7ec4\u4e0d\u540c\u7684\u5206\u6bcd\uff1a\u5168\u56db\u5341\u8f6e\u4e2d\u6709\u591a\u5c11\u8f6e\u81f3\u5c11\u62bd\u5230\u8fc7\u4e00\u9897\u539f\u7fa4\u7ec6\u80de\uff0c\u4ee5\u53ca\u591a\u5c11\u8f6e\u7684\u5339\u914d\u5206\u6570\u8fbe\u5230\u6559\u5b66\u95e8\u69db\u96f6\u70b9\u516d\u4e94\u3002\u5982\u679c\u4e00\u8f6e\u6070\u597d\u6ca1\u6709\u62bd\u5230\u539f\u7fa4\u6210\u5458\uff0c\u7f3a\u4e4f\u8bc1\u636e\u8fdb\u884c\u6062\u590d\uff0c\u4e0d\u80fd\u628a\u5b83\u89e3\u91ca\u4e3a\u8fd9\u4e2a\u72b6\u6001\u5728\u8be5\u60a3\u8005\u7ec4\u7ec7\u4e2d\u6d88\u5931\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\">\u539f\u7fa4\u6216\u8bbe\u7f6e<\/th>\n<th style=\"padding:9px;text-align:left;background:#ffebc5\">\u6761\u7801\u5e26\u6765\u7684\u7ed3\u8bba<\/th>\n<th style=\"padding:9px;text-align:left;background:#ffebc5\">\u6807\u8bb0\u4e0e\u4f9b\u8005\u5e26\u6765\u7684\u8865\u5145<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u5168\u91cf\u7b2c\u4e09\u7fa4<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">39 \u9897\u5747\u6765\u81ea D1<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">ISG15 \u4e0e IFIT1 \u6392\u5728\u524d\u9762<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u6bcf\u4eba 25 \u9897\uff0c\u91cd\u590d 40 \u8f6e<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u7b2c\u4e09\u7fa4 40 \u8f6e\u5747\u88ab\u62bd\u5230\u5e76\u8fbe\u5230\u5339\u914d\u95e8\u69db<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u6bcf\u6b21\u4ecd\u7531\u540c\u4e00\u540d\u60a3\u8005\u652f\u6491<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u6bcf\u4eba 5 \u9897\uff0c\u91cd\u590d 40 \u8f6e<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u7b2c\u4e09\u7fa4 33 \u8f6e\u6709\u6210\u5458\uff0c31 \u8f6e\u5339\u914d\u8fbe\u6807<\/td>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u8fbe\u6807\u8f6e\u4e2d\u6709 30 \u8f6e\u4fdd\u7559\u4e24\u4e2a\u76f8\u540c\u6807\u8bb0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>\u51cf\u5c11\u6bcf\u4eba\u7ec6\u80de\u6570\uff0c\u89c2\u5bdf\u54ea\u91cc\u6700\u5148\u5931\u53bb\u8bc1\u636e<\/h2>\n<p>\u4fdd\u6301\u540c\u4e00\u4efd\u8f93\u5165\u548c\u540c\u4e00\u5957\u53c2\u6570\uff0c\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u914d\u989d\u964d\u5230\u6bcf\u4f4d\u4e94\u9897\uff0c\u628a\u7ed3\u679c\u5199\u5230\u53e6\u4e00\u4e2a\u76ee\u5f55\u3002\u8d44\u6599\u5305\u53e6\u9644\u8fd9\u7ec4\u8bbe\u7f6e\u7684\u9a8c\u7b97\u8868\u3002\u7b2c\u4e09\u7fa4\u5728\u4e03\u8f6e\u4e2d\u4e00\u9897\u6210\u5458\u90fd\u6ca1\u6709\u88ab\u62bd\u4e2d\uff0c\u6709\u6210\u5458\u7684\u4e09\u5341\u4e09\u8f6e\u4e2d\u4e09\u5341\u4e00\u8f6e\u8fbe\u5230\u6761\u7801\u5339\u914d\u95e8\u69db\uff0c\u800c\u8fd9\u4e09\u5341\u4e00\u8f6e\u4e2d\u6709\u4e09\u5341\u8f6e\u4fdd\u7559\u4e86\u76f8\u540c\u7684\u4e24\u4e2a\u9996\u4f4d\u6807\u8bb0\u3002\u4e09\u4e2a\u6570\u5206\u522b\u5bf9\u5e94\u88ab\u62bd\u4e2d\u3001\u4fdd\u4f4f\u5206\u533a\u3001\u4fdd\u4f4f\u8868\u8fbe\u7279\u5f81\uff0c\u4e0d\u80fd\u5408\u6210\u4e00\u4e2a\u6a21\u7cca\u7684\u201c\u51fa\u73b0\u4e86\u591a\u5c11\u6b21\u201d\u3002\u7279\u522b\u6ce8\u610f\u6807\u8bb0\u4e00\u81f4\u6027\u5728\u5339\u914d\u6210\u529f\u7684\u8f6e\u6b21\u4e2d\u8ba1\u7b97\uff0c\u82e5\u6539\u7528\u56db\u5341\u4f5c\u4e3a\u5206\u6bcd\uff0c\u5e94\u5728\u56fe\u8868\u4e2d\u660e\u786e\u8bf4\u660e\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 run.py --input example --out results-five --per-donor 5\n<\/code><\/pre>\n<p>\u6807\u8bb0\u600e\u6837\u6838\u5bf9\uff1f\u811a\u672c\u4f7f\u7528\u540c\u4e00\u6279\u793a\u4f8b\u57fa\u56e0\uff0c\u6309\u5168\u8f6c\u5f55\u7ec4\u603b\u91cf\u505a\u6bcf\u4e07\u5f52\u4e00\u5316\u3001\u53d6\u5bf9\u6570\uff0c\u518d\u6bd4\u8f83\u5019\u9009\u7fa4\u4e0e\u672c\u8f6e\u5176\u4f59\u7ec6\u80de\u7684\u5e73\u5747\u5bf9\u6570\u8868\u8fbe\uff0c\u6309\u5dee\u503c\u7ed9\u51fa\u524d\u4e24\u4f4d\u3002\u8fd9\u91cc\u68c0\u67e5\u540d\u5b57\u96c6\u5408\uff0c\u4e0d\u5f3a\u5236\u524d\u4e24\u4f4d\u6392\u5e8f\u76f8\u540c\u3002\u540c\u4e00\u7ec4\u589e\u6b96\u6807\u8bb0\u5728\u4e0d\u540c\u8f6e\u4e2d\u53ef\u80fd\u4e92\u6362\u7b2c\u4e00\u548c\u7b2c\u4e8c\u540d\uff0c\u800c\u6574\u4f53\u72b6\u6001\u4f9d\u7136\u4fdd\u7559\uff1b\u5982\u679c\u4e00\u4e2a\u6807\u8bb0\u88ab\u6362\u6210\u53e6\u4e00\u5957\u5b8c\u5168\u4e0d\u540c\u7684\u7a0b\u5e8f\uff0c\u5c31\u8be5\u8ffd\u67e5\u662f\u5019\u9009\u7fa4\u6df7\u5165\u522b\u7684\u8c31\u7cfb\uff0c\u8fd8\u662f\u62bd\u6837\u540e\u53c2\u7167\u7fa4\u7684\u7ec4\u6210\u4e5f\u53d8\u4e86\u3002\u811a\u672c\u65e2\u4fdd\u7559\u5168\u91cf\u6392\u540d\uff0c\u4e5f\u5199\u6bcf\u4e00\u8f6e\u5b9e\u9645\u9009\u4e2d\u7684\u4e24\u4e2a\u540d\u5b57\uff0c\u4fbf\u4e8e\u68c0\u67e5\u8fd9\u79cd\u5dee\u522b\u3002<\/p>\n<h2>\u600e\u6837\u5728\u62a5\u544a\u91cc\u533a\u5206\u60a3\u8005\u4e3b\u5bfc\u4e0e\u62bd\u6837\u4e0d\u7a33\u5b9a<\/h2>\n<p>\u8fd9\u4e2a\u4f8b\u5b50\u91cc\u9ed8\u8ba4\u914d\u989d\u4e0b\u56db\u4e2a\u7fa4\u90fd\u80fd\u7a33\u5b9a\u6062\u590d\u3002\u7b2c\u4e09\u7fa4\u5728\u56db\u5341\u8f6e\u4e2d\u5f88\u7a33\u5b9a\uff0c\u4e24\u79cd\u5e72\u6270\u7d20\u6807\u8bb0\u4e5f\u5f88\u7a33\u5b9a\uff0c\u4f46\u5176\u4e09\u5341\u4e5d\u9897\u7ec6\u80de\u59cb\u7ec8\u6765\u81ea D1\u3002\u56e0\u6b64\u6700\u7a33\u59a5\u7684\u63cf\u8ff0\u662f\u7b2c\u4e00\u4f4d\u4f9b\u8005\u5185\u6709\u4e00\u4e2a\u53ef\u91cd\u590d\u5206\u51fa\u7684\u5019\u9009\u72b6\u6001\uff0c\u5f53\u524d\u5176\u4ed6\u4e09\u4f4d\u4f9b\u8005\u4e2d\u672a\u89c1\u540c\u7fa4\u6761\u7801\u3002\u4e0d\u540c\u4f9b\u8005\u6d4b\u5f97\u7684\u76ee\u6807\u8c31\u7cfb\u592a\u5c11\u3001\u5efa\u5e93\u6761\u4ef6\u4e0d\u540c\uff0c\u90fd\u4f1a\u5f71\u54cd\u8fd9\u53e5\u8bdd\u53ef\u63a8\u5e7f\u5230\u4ec0\u4e48\u8303\u56f4\u3002\u82e5\u8981\u8bc1\u660e\u66f4\u666e\u904d\u7684\u53cd\u5e94\uff0c\u9700\u8981\u540c\u4e00\u4f9b\u8005\u7684\u72ec\u7acb\u6837\u672c\u3001\u66f4\u591a\u60a3\u8005\u3001\u5176\u4ed6\u5b9e\u9a8c\u8bfb\u6570\uff0c\u6216\u8005\u5728\u5177\u6709\u8db3\u591f\u8986\u76d6\u7684\u6837\u672c\u4e2d\u6709\u8ba1\u5212\u5730\u590d\u67e5\u76f8\u540c\u6807\u8bb0\u7ec4\u5408\u3002<\/p>\n<p>\u8fd8\u53ef\u4ee5\u628a\u7b2c\u4e00\u4f4d\u60a3\u8005\u5b8c\u5168\u7559\u51fa\uff0c\u5728\u5176\u4f59\u60a3\u8005\u4e2d\u91cd\u65b0\u67e5\u6807\u8bb0\u548c\u90bb\u5c45\uff0c\u518d\u5224\u65ad\u539f\u7fa4\u662f\u5426\u6709\u5bf9\u5e94\u72b6\u6001\u3002\u8fd9\u6837\u7684\u95ee\u9898\u4e0e\u6bcf\u4eba\u7b49\u989d\u62bd\u6837\u4e0d\u540c\uff0c\u524d\u8005\u62ff\u6389\u4e86\u72ec\u6709\u4fe1\u606f\u7684\u6765\u6e90\uff0c\u540e\u8005\u59cb\u7ec8\u7ed9\u6bcf\u4eba\u7559\u4e00\u4efd\u6570\u636e\u3002\u82e5\u539f\u59cb\u7279\u5f81\u9009\u62e9\u6216\u6574\u5408\u6a21\u578b\u672c\u8eab\u53ef\u80fd\u56e0\u7b2c\u4e00\u4f4d\u60a3\u8005\u5360\u6bd4\u8fc7\u9ad8\u800c\u6539\u53d8\uff0c\u8fd8\u5e94\u4ece\u539f\u59cb\u77e9\u9635\u5728\u65b0\u62bd\u6837\u4e0a\u91cd\u65b0\u9009\u7279\u5f81\u3001\u91cd\u7b97\u6295\u5f71\uff0c\u53e6\u505a\u4e00\u7ec4\u5b8c\u6574\u6d41\u7a0b\u7684\u654f\u611f\u6027\u68c0\u67e5\u3002\u5148\u5728\u56fa\u5b9a\u7a7a\u95f4\u8bfb\u61c2\u7b2c\u4e00\u5c42\u95ee\u9898\uff0c\u624d\u77e5\u9053\u503c\u5f97\u4e3a\u54ea\u4e9b\u6837\u672c\u91cd\u8dd1\u8f83\u5927\u7684\u5bf9\u8c61\u3002\u9700\u8981\u5728\u591a\u6b21\u5168\u6d41\u7a0b\u91cd\u7b97\u4e2d\u4fdd\u5b58\u6a21\u578b\u4e0e\u6761\u7801\u65f6\uff0c\u53ef\u7528\u4e00\u8f6e\u5b9e\u6d4b\u8017\u65f6\u548c\u5185\u5b58\u5b89\u6392<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>\u5bf9\u540c\u4e00\u7ec4\u516d\u7ef4\u5750\u6807\u505a\u56db\u5341\u6b21\u4f9b\u8005\u7b49\u989d\u62bd\u6837\uff0c\u91cd\u65b0\u805a\u7c7b\u3001\u6309\u5171\u540c\u6761\u7801\u5339\u914d\u5206\u533a\u5e76\u6838\u5bf9\u6807\u8bb0\uff0c\u533a\u5206\u62bd\u6837\u53ef\u91cd\u590d\u4e0e\u8de8\u4f9b\u8005\u91cd\u73b0\u3002<\/p>\n","protected":false},"author":1,"featured_media":71674,"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-71677","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-033-donor-balanced-cluster-stability.png?fit=1240%2C800&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71677","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=71677"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71677\/revisions"}],"predecessor-version":[{"id":73674,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71677\/revisions\/73674"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/71674"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=71677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=71677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=71677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}