{"id":71951,"date":"2026-11-17T13:34:30","date_gmt":"2026-11-17T05:34:30","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=71951"},"modified":"2026-11-17T13:34:30","modified_gmt":"2026-11-17T05:34:30","slug":"ysx-sc-practice-053-expression-mixture-reversal","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/ysx-sc-practice-053-expression-mixture-reversal\/","title":{"rendered":"\u628a\u4e0d\u540c\u7ec6\u80de\u7c7b\u578b\u6df7\u5728\u4e00\u8d77\u505a\u5dee\u5f02\uff0c\u4e3a\u4ec0\u4e48\u7ed3\u679c\u548c\u5206\u5f00\u505a\u65b9\u5411\u76f8\u53cd\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>\u5047\u5982\u4e00\u4e2a\u57fa\u56e0\u5728\u5355\u6838\u7ec6\u80de\u91cc\u4ece\u5341\u5347\u5230\u5341\u4e8c\uff0c\u5728 T \u7ec6\u80de\u91cc\u4ece\u4e00\u5347\u5230\u4e8c\uff0c\u628a\u8fd9\u4e24\u7c7b\u7ec6\u80de\u62fc\u8d77\u6765\uff0c\u5747\u503c\u8fd8\u80fd\u4e0b\u964d\u5417\uff1f\u62ff\u4e00\u5f20\u7eb8\u7b97\u4e00\u904d\u5c31\u77e5\u9053\u53ef\u4ee5\u3002\u7b2c\u4e00\u6b21\u91c7\u6837\u65f6\uff0c\u6bcf\u4e00\u767e\u9897\u4e2d\u6709\u516b\u5341\u9897\u5355\u6838\u7ec6\u80de\uff0c\u7b97\u51fa\u7684\u5747\u503c\u662f\u516b\u70b9\u4e8c\u3002\u7b2c\u4e8c\u6b21\u53ea\u6709\u4e8c\u5341\u9897\u5355\u6838\u7ec6\u80de\uff0c\u53e6\u5916\u516b\u5341\u9897\u6362\u6210\u4e86\u8d77\u70b9\u8f83\u4f4e\u7684 T \u7ec6\u80de\uff0c\u603b\u5747\u503c\u53d8\u6210\u56db\u3002\u540c\u4e00\u4f4d\u4f9b\u8005\u3001\u540c\u4e00\u57fa\u56e0\u3001\u540c\u6837\u4e00\u767e\u9897\uff0c\u4e24\u5f20\u56fe\u5b8c\u5168\u53ef\u4ee5\u540c\u65f6\u6210\u7acb\u3002\u4e0b\u9762\u4ece\u516b\u767e\u4e2a\u6559\u5b66\u6761\u7801\u91cd\u7b97\u8fd9\u4e2a\u4f8b\u5b50\uff0c\u518d\u628a\u89c2\u5bdf\u5230\u7684\u53d8\u5316\u5206\u6210\u4e24\u90e8\u5206\uff0c\u770b\u770b\u54ea\u90e8\u5206\u8db3\u4ee5\u7ffb\u8f6c\u65b9\u5411\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\u6a21\u62df\u4f9b\u8005\u7684 LST1 \u603b\u4f53\u5747\u503c\u7531 8.2 \u964d\u81f3 4.0\uff0c\u4e24\u7c7b\u7ec6\u80de\u5185\u90e8\u5374\u90fd\u5347\u9ad8\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-sc-practice-053-expression-mixture-reversal.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-053-expression-mixture-reversal.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-053-expression-mixture-reversal.pdf\">\u4e0b\u8f7d\u56fe\u6587\u64cd\u4f5c\u624b\u518c\uff08PDF\uff09<\/a><\/p>\n<h2>\u628a\u6df7\u5408\u524d\u7684\u4e24\u5f20\u5c0f\u8868\u627e\u56de\u6765<\/h2>\n<p>\u6570\u636e\u4e2d\u56db\u4f4d\u6a21\u62df\u4f9b\u8005\u5404\u6709\u4e24\u6b21\u53d6\u6837\uff0c\u6bcf\u4efd\u6070\u597d\u4e00\u767e\u9897\u5df2\u786e\u8ba4\u5c5e\u4e8e\u5355\u6838\u6216 T \u5927\u7c7b\u7684\u7ec6\u80de\u3002\u6bcf\u4e2a\u6761\u7801\u7684\u603b\u6587\u5e93\u6df1\u5ea6\u90fd\u8bbe\u7f6e\u4e3a\u4e00\u4e07\uff0cLST1 \u8ba1\u6570\u5728\u6bcf\u7c7b\u5747\u503c\u5468\u56f4\u5c0f\u5e45\u6ce2\u52a8\u3002\u8fd9\u4e2a\u8bbe\u7f6e\u4e3a\u4e86\u5355\u72ec\u5c55\u793a\u7ec6\u80de\u7ec4\u6210\u7684\u4f5c\u7528\uff0c\u53bb\u6389\u4e86\u6d4b\u5e8f\u6df1\u5ea6\u53d8\u5316\u548c\u72ec\u7acb\u6837\u672c\u6570\u4e0d\u5e73\u8861\u7684\u5e72\u6270\u3002\u771f\u5b9e\u7684\u5916\u5468\u8840\u548c\u7ec4\u7ec7\u4e0d\u4f1a\u8fd9\u4e48\u6574\u9f50\uff0cT \u7ec6\u80de\u4e2d\u7684\u5c11\u91cf\u9ad3\u7cfb\u6807\u8bb0\u8fd8\u8981\u6838\u5bf9\u80cc\u666f\u548c\u53cc\u7ec6\u80de\uff1b\u6587\u4e2d\u7684\u5177\u4f53\u8868\u8fbe\u6570\u503c\u6765\u81ea\u6a21\u62df\uff0c\u4e0d\u5e94\u62ff\u53bb\u4f5c\u4e3a\u751f\u7269\u5b66\u9608\u503c\u3002<\/p>\n<p>\u5728\u5f00\u59cb\u753b\u7bb1\u7ebf\u56fe\u524d\uff0c\u628a\u6bcf\u4efd\u6837\u672c\u62c6\u6210\u4e24\u5f20\u80fd\u5171\u540c\u89e3\u91ca\u5747\u503c\u7684\u8868\u3002\u7b2c\u4e00\u5f20\u8bb0\u5f55\u6709\u591a\u5c11\u9897\u7ec6\u80de\u5c5e\u4e8e\u6bcf\u4e2a\u7c7b\u578b\uff0c\u9664\u4ee5\u8be5\u6837\u672c\u4e2d\u7eb3\u5165\u7684\u5168\u90e8\u7ec6\u80de\u5f97\u5230\u6743\u91cd\u3002\u7b2c\u4e8c\u5f20\u8bb0\u5f55\u8be5\u7c7b\u578b\u5185\u90e8\u76ee\u6807\u57fa\u56e0\u7684\u5e73\u5747\u8868\u8fbe\u3002\u628a\u540c\u4e00\u884c\u7684\u6743\u91cd\u4e58\u4e0a\u5bf9\u5e94\u7c7b\u578b\u7684\u5747\u503c\uff0c\u518d\u628a\u5404\u7c7b\u578b\u76f8\u52a0\uff0c\u5c31\u7b49\u4e8e\u76f4\u63a5\u5bf9\u8be5\u4efd\u6837\u672c\u6240\u6709\u7ec6\u80de\u6c42\u5e73\u5747\u3002\u8fd9\u91cc\u7684\u4ee3\u6570\u5728\u56fa\u5b9a\u8868\u8fbe\u5c3a\u5ea6\u4e0b\u6210\u7acb\uff0c\u6837\u672c\u4e2d\u6bcf\u9897\u7ec6\u80de\u7684\u6743\u91cd\u76f8\u540c\u3002\u5b83\u4e0d\u662f\u628a\u5168\u90e8\u539f\u59cb\u5206\u5b50\u52a0\u603b\u540e\u9664\u4ee5\u603b\u6587\u5e93\u5927\u5c0f\uff1b\u5f53\u4e0d\u540c\u7ec6\u80de\u7684\u5e93\u6df1\u5ea6\u5dee\u5f97\u5f88\u8fdc\uff0c\u8fd9\u4e24\u4e2a\u5e73\u5747\u91cf\u4ee3\u8868\u4e0d\u540c\u7684\u52a0\u6743\u65b9\u5f0f\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>\u7b2c\u4e00\u4f4d\u4f9b\u8005\u7684\u56db\u4e2a\u683c\u5b50<\/h2>\n<p>\u6253\u5f00\u7c7b\u578b\u5185\u7ed3\u679c\u8868\uff0c\u5148\u7b5b\u51fa\u7b2c\u4e00\u4f4d\u4f9b\u8005\u3002\u57fa\u7ebf\u65f6\u516b\u5341\u9897\u5355\u6838\u7ec6\u80de\u5e73\u5747\u5341\u4e2a\u5355\u4f4d\uff0c\u4e8c\u5341\u9897 T \u7ec6\u80de\u5e73\u5747\u4e00\u4e2a\u5355\u4f4d\u3002\u968f\u8bbf\u65f6\u4e8c\u5341\u9897\u5355\u6838\u7ec6\u80de\u5e73\u5747\u5341\u4e8c\u4e2a\u5355\u4f4d\uff0c\u516b\u5341\u9897 T \u7ec6\u80de\u5e73\u5747\u4e24\u4e2a\u5355\u4f4d\u3002\u4e24\u6b21\u5404\u81ea\u7684\u52a0\u6743\u548c\u5206\u522b\u662f\u516b\u767e\u4e8c\u5341\u9664\u4ee5\u4e00\u767e\u3001\u56db\u767e\u9664\u4ee5\u4e00\u767e\u3002\u73b0\u5728\u53ef\u4ee5\u51c6\u786e\u63cf\u8ff0\u7b2c\u4e00\u5f20\u56fe\uff1a\u5728\u6355\u83b7\u5e76\u7eb3\u5165\u7684\u5355\u6838\u548c T \u7ec6\u80de\u8054\u5408\u603b\u4f53\u4e2d\uff0c\u968f\u8bbf\u7684\u6bcf\u7ec6\u80de\u5e73\u5747\u8868\u8fbe\u4f4e\u4e86\u56db\u70b9\u4e8c\u3002\u82e5\u5220\u53bb\u201c\u8054\u5408\u603b\u4f53\u201d\u56db\u4e2a\u5b57\uff0c\u8fd9\u53e5\u8bdd\u5f88\u5bb9\u6613\u88ab\u8bef\u8bfb\u4e3a\u60a3\u8005\u7684\u6bcf\u4e00\u79cd\u7ec6\u80de\u90fd\u4e0b\u8c03\u4e86\u8be5\u57fa\u56e0\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\">\u7b2c\u4e00\u4f4d\u4f9b\u8005<\/th>\n<th style=\"text-align: right;\">\u5355\u6838\u7ec6\u80de\u6bd4\u4f8b<\/th>\n<th style=\"text-align: right;\">\u5355\u6838\u5747\u503c<\/th>\n<th style=\"text-align: right;\">T \u7ec6\u80de\u6bd4\u4f8b<\/th>\n<th style=\"text-align: right;\">T \u7ec6\u80de\u5747\u503c<\/th>\n<th style=\"text-align: right;\">\u6df7\u5408\u5747\u503c<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u57fa\u7ebf<\/td>\n<td style=\"text-align: right;\">80%<\/td>\n<td style=\"text-align: right;\">10<\/td>\n<td style=\"text-align: right;\">20%<\/td>\n<td style=\"text-align: right;\">1<\/td>\n<td style=\"text-align: right;\">8.2<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u968f\u8bbf<\/td>\n<td style=\"text-align: right;\">20%<\/td>\n<td style=\"text-align: right;\">12<\/td>\n<td style=\"text-align: right;\">80%<\/td>\n<td style=\"text-align: right;\">2<\/td>\n<td style=\"text-align: right;\">4.0<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u4e24\u7c7b\u56fa\u5b9a\u5404\u5360\u4e00\u534a\u7684\u57fa\u7ebf<\/td>\n<td style=\"text-align: right;\">50%<\/td>\n<td style=\"text-align: right;\">10<\/td>\n<td style=\"text-align: right;\">50%<\/td>\n<td style=\"text-align: right;\">1<\/td>\n<td style=\"text-align: right;\">5.5<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;vertical-align:top;border-bottom:1px solid #d6e0e7\">\u4e24\u7c7b\u56fa\u5b9a\u5404\u5360\u4e00\u534a\u7684\u968f\u8bbf<\/td>\n<td style=\"text-align: right;\">50%<\/td>\n<td style=\"text-align: right;\">12<\/td>\n<td style=\"text-align: right;\">50%<\/td>\n<td style=\"text-align: right;\">2<\/td>\n<td style=\"text-align: right;\">7.0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u7a0b\u5e8f\u8fd8\u4f1a\u628a\u6309\u6bd4\u4f8b\u91cd\u7ec4\u7684\u5747\u503c\u548c\u76f4\u63a5\u7528\u6761\u7801\u7b97\u51fa\u7684\u5747\u503c\u6bd4\u8f83\u3002\u5982\u679c\u8fd9\u4e24\u4e2a\u503c\u4e0d\u76f8\u7b49\uff0c\u5148\u522b\u7ed9\u5dee\u522b\u5199\u751f\u7269\u5b66\u89e3\u91ca\u3002\u5e38\u89c1\u539f\u56e0\u6709\u6309\u4f9b\u8005\u7b97\u6bd4\u4f8b\u5374\u7528\u5168\u961f\u5217\u7684\u7c7b\u578b\u5747\u503c\u3001\u7c7b\u578b\u8868\u8fc7\u6ee4\u6389\u672a\u5b9a\u7fa4\u4f46\u603b\u4f53\u8868\u4fdd\u7559\u4e86\u5b83\u4eec\u3001\u4e0d\u540c\u56fe\u5206\u522b\u7528\u4e86\u4e00\u52a0\u5bf9\u6570\u548c\u7ebf\u6027\u6570\u503c\u3002\u65e0\u8bba\u9009\u53d6\u4f55\u79cd\u5c3a\u5ea6\uff0c\u53c2\u4e0e\u76f8\u4e58\u548c\u6c47\u603b\u7684\u53d8\u91cf\u5f97\u5bf9\u5e94\u540c\u4e00\u6279\u7ec6\u80de\u548c\u540c\u4e00\u5355\u4f4d\u3002\u5982\u679c\u60f3\u6062\u590d\u7ebf\u6027\u8ba1\u6570\u5c3a\u5ea6\u4e0a\u7684\u95ee\u9898\uff0c\u4e0d\u80fd\u628a\u5df2\u7ecf\u53d6\u8fc7\u5bf9\u6570\u7684\u5747\u503c\u5f53\u4f5c\u7ebf\u6027\u5747\u503c\u8fd8\u539f\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 summarize(rows,types,gene):\n    values=defaultdict(list)\n    for row in rows:\n        if row[&quot;cell_type&quot;] not in types or int(row[&quot;library_umi&quot;])&lt;=0:raise ValueError(&quot;Unrecognized type or invalid depth.&quot;)\n        values[row[&quot;cell_type&quot;]].append(int(row[gene])*10000\/int(row[&quot;library_umi&quot;]))\n    if set(values)!=set(types):raise ValueError(&quot;A cell type is missing; its within-type mean cannot be estimated.&quot;)\n    size=sum(map(len,values.values()))\n    weights=np.array([len(values[t])\/size for t in types])\n    means=np.array([np.mean(values[t]) for t in types])\n    observed=np.mean([v for a in values.values() for v in a])\n    if not np.isclose(observed,weights@means):raise ValueError(&quot;Weighted and direct means disagree.&quot;)\n    return weights,means,observed\n<\/code><\/pre>\n<h2>\u56fa\u5b9a\u7ec4\u6210\uff0c\u518d\u95ee\u4e00\u6b21\u95ee\u9898<\/h2>\n<p>\u73b0\u5728\u7ed9\u6240\u6709\u4f9b\u8005\u7684\u6240\u6709\u6837\u672c\u5957\u7528\u540c\u4e00\u79cd\u53c2\u8003\u6784\u6210\uff0c\u4e24\u7c7b\u5404\u5360\u4e00\u534a\u3002\u5bf9\u7b2c\u4e00\u4f4d\u4f9b\u8005\uff0c\u57fa\u7ebf\u7684\u65b0\u5747\u503c\u662f\u4e94\u70b9\u4e94\uff0c\u968f\u8bbf\u662f\u4e03\uff0c\u65b9\u5411\u53d8\u6210\u4e0a\u5347\u3002\u8fd9\u4e2a\u7ec3\u4e60\u6ca1\u6709\u7ed9\u4efb\u4f55\u6761\u7801\u7be1\u6539\u8868\u8fbe\uff0c\u800c\u662f\u628a\u4e24\u7c7b\u5728\u6bd4\u8f83\u4e2d\u7684\u6743\u91cd\u56fa\u5b9a\u4e86\u3002\u5176\u4f59\u4e09\u4f4d\u4f9b\u8005\u4e5f\u5168\u90e8\u4e0a\u5347\u4e00\u70b9\u4e94\u3002\u8fd9\u4e2a\u7b54\u6848\u9002\u5408\u63cf\u8ff0\u201c\u5047\u5982\u4e24\u6b21\u6bd4\u8f83\u7684\u7c7b\u578b\u6784\u6210\u76f8\u540c\uff0c\u5e73\u5747\u8868\u8fbe\u4f1a\u600e\u6837\u53d8\u5316\u201d\u3002\u5b9e\u9645\u6355\u83b7\u7ec6\u80de\u7684\u5747\u503c\u5219\u4ecd\u7531\u516b\u70b9\u4e8c\u53d8\u4e3a\u56db\uff0c\u9002\u5408\u63cf\u8ff0\u8fd9\u6279\u56de\u6536\u7ec6\u80de\u7684\u603b\u4f53\u3002\u628a\u4e24\u4e2a\u7b54\u6848\u5199\u5728\u76f8\u90bb\u7684\u56fe\u7248\uff0c\u6bd4\u5728\u8ba8\u8bba\u90e8\u5206\u7b3c\u7edf\u8bf4\u4e00\u53e5\u201c\u6821\u6b63\u4e86\u7ec6\u80de\u7c7b\u578b\u201d\u66f4\u6e05\u695a\u3002<\/p>\n<p>\u5404\u5360\u4e00\u534a\u53ea\u662f\u53ef\u624b\u7b97\u7684\u53c2\u8003\uff0c\u4e0d\u4ee3\u8868\u8fd9\u4e24\u7c7b\u5728\u5916\u5468\u8840\u4e2d\u5e94\u5404\u5360\u4e00\u534a\u3002\u505a\u6b63\u5f0f\u9879\u76ee\u65f6\uff0c\u53ef\u4ee5\u7528\u4e8b\u5148\u5b9a\u4e49\u7684\u57fa\u7ebf\u961f\u5217\u6784\u6210\u6216\u6709\u4f9d\u636e\u7684\u76ee\u6807\u4eba\u7fa4\u6784\u6210\uff1b\u4e0d\u7ba1\u9009\u62e9\u54ea\u4e00\u5957\uff0c\u4e24\u7ec4\u90fd\u4f7f\u7528\u76f8\u540c\u7684\u6743\u91cd\uff0c\u800c\u4e14\u8981\u628a\u5b83\u4fdd\u5b58\u6210\u8868\u3002\u53ef\u4ee5\u5c06\u914d\u7f6e\u91cc\u7684\u5355\u6838\u6743\u91cd\u6539\u4e3a\u96f6\u70b9\u516b\uff0cT \u7ec6\u80de\u6539\u4e3a\u96f6\u70b9\u4e8c\u3002\u7528\u7b2c\u4e00\u4f4d\u7684\u6570\u5b57\u91cd\u65b0\u7b97\uff0c\u9884\u671f\u4e24\u6b21\u7684\u6807\u51c6\u5316\u5747\u503c\u5206\u522b\u4e3a\u516b\u70b9\u4e8c\u4e0e\u5341\uff0c\u5dee\u503c\u53d8\u4e3a\u4e00\u70b9\u516b\u3002\u8fd9\u4e2a\u53d8\u5316\u6765\u81ea\u7814\u7a76\u8005\u6539\u53d8\u4e86\u76ee\u6807\u4eba\u7fa4\uff0c\u4e0e\u6837\u672c\u88ab\u91cd\u65b0\u6d4b\u5e8f\u65e0\u5173\u3002\u82e5\u67d0\u7c7b\u578b\u5728\u4e00\u4f4d\u4f9b\u8005\u67d0\u6b21\u5b8c\u5168\u6ca1\u6355\u83b7\uff0c\u6743\u91cd\u518d\u5408\u7406\u4e5f\u65e0\u6cd5\u4ece\u90a3\u4e2a\u7a7a\u683c\u4f30\u8ba1\u5747\u503c\u3002<\/p>\n<h2>\u628a\u4e0b\u964d\u7684\u56db\u70b9\u4e8c\u5206\u6e05\u6765\u6e90<\/h2>\n<p>\u8fd8\u6709\u4e00\u79cd\u5e38\u89c1\u63d0\u95ee\uff1a\u5728\u8fd9\u4efd\u6570\u636e\u5b9e\u9645\u89c2\u5bdf\u5230\u7684\u603b\u53d8\u5316\u91cc\uff0c\u7ec4\u6210\u548c\u7c7b\u578b\u5185\u8868\u8fbe\u5404\u8d21\u732e\u4e86\u591a\u5c11\uff1f\u811a\u672c\u7528\u5bf9\u79f0\u5206\u89e3\u3002\u5148\u628a\u6bcf\u4e2a\u7c7b\u578b\u4e24\u6b21\u7684\u5747\u503c\u53d6\u4e2d\u70b9\uff0c\u4e58\u4ee5\u8be5\u7c7b\u578b\u6bd4\u4f8b\u7684\u53d8\u5316\u540e\u6c42\u548c\uff0c\u5f97\u5230\u7ec4\u6210\u9879\uff1b\u518d\u628a\u6bcf\u4e2a\u7c7b\u578b\u4e24\u6b21\u7684\u6bd4\u4f8b\u53d6\u4e2d\u70b9\uff0c\u4e58\u4ee5\u7c7b\u578b\u5185\u8868\u8fbe\u53d8\u5316\u540e\u6c42\u548c\uff0c\u5f97\u5230\u7c7b\u578b\u5185\u9879\u3002\u4e24\u9879\u76f8\u52a0\u7cbe\u786e\u7b49\u4e8e\u968f\u8bbf\u6df7\u5408\u5747\u503c\u51cf\u53bb\u57fa\u7ebf\u6df7\u5408\u5747\u503c\u3002\u8fd9\u91cc\u9009\u62e9\u4e24\u4fa7\u4e2d\u70b9\uff0c\u662f\u628a\u540c\u65f6\u6539\u53d8\u6bd4\u4f8b\u548c\u8868\u8fbe\u4ea7\u751f\u7684\u4ea4\u53c9\u90e8\u5206\u5e73\u5747\u5206\u914d\uff1b\u82e5\u9879\u76ee\u9009\u7528\u57fa\u7ebf\u4f5c\u552f\u4e00\u53c2\u7167\uff0c\u6240\u5f97\u4e24\u4e2a\u5206\u9879\u53ef\u80fd\u4e0d\u540c\uff0c\u4f46\u603b\u53d8\u5316\u4ecd\u8981\u5bf9\u5f97\u4e0a\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 decompose(w0,m0,w1,m1):\n    composition=float((w1-w0)@((m1+m0)\/2))\n    expression=float(((w1+w0)\/2)@(m1-m0))\n    total=float(w1@m1-w0@m0)\n    if not np.isclose(composition+expression,total):raise ArithmeticError(&quot;Decomposition does not close.&quot;)\n    return composition,expression,total\n<\/code><\/pre>\n<p>\u7b2c\u4e00\u4f4d\u4f9b\u8005\u7684\u7ec4\u6210\u9879\u4e3a\u8d1f\u4e94\u70b9\u4e03\uff0c\u7c7b\u578b\u5185\u9879\u4e3a\u6b63\u4e00\u70b9\u4e94\uff0c\u4e24\u9879\u4e4b\u548c\u6b63\u662f\u8d1f\u56db\u70b9\u4e8c\u3002\u7b2c\u4e09\u4f4d\u7684\u5355\u6838\u6bd4\u4f8b\u53d8\u52a8\u5c0f\u4e00\u4e9b\uff0c\u7ec4\u6210\u9879\u4e3a\u8d1f\u4e09\u70b9\u516b\uff0c\u62b5\u6d88\u7c7b\u578b\u5185\u589e\u52a0\u540e\uff0c\u603b\u4f53\u53ea\u964d\u4e86\u4e8c\u70b9\u4e09\u3002\u7b2c\u56db\u4f4d\u7684\u7ec4\u6210\u9879\u4e3a\u8d1f\u516d\u70b9\u516d\u4e94\uff0c\u603b\u4f53\u964d\u4e86\u4e94\u70b9\u4e00\u4e94\u3002\u8fd9\u6837\u53ef\u4ee5\u5177\u4f53\u56de\u7b54\u7ec4\u4f1a\u4e0a\u90a3\u53e5\u201c\u662f\u4e0d\u662f\u5c11\u6570\u6837\u672c\u5728\u5e26\u65b9\u5411\u201d\uff1a\u5728\u8fd9\u7ec4\u6559\u5b66\u6570\u636e\u91cc\uff0c\u56db\u4e2a\u4eba\u7684\u7ec4\u6210\u9879\u90fd\u5927\u4e8e\u7c7b\u578b\u5185\u9879\u7684\u7edd\u5bf9\u5f71\u54cd\uff0c\u89c2\u5bdf\u65b9\u5411\u4e00\u81f4\u3002\u771f\u5b9e\u961f\u5217\u82e5\u53ea\u6709\u4e00\u4eba\u5982\u6b64\uff0c\u5c31\u5e94\u7ed9\u51fa\u5176\u4f59\u4eba\u7684\u4e24\u9879\u6570\u503c\u548c\u91c7\u6837\u4fe1\u606f\u3002<\/p>\n<h2>\u7528\u81ea\u5df1\u7684\u57fa\u56e0\u65f6\uff0c\u5148\u770b\u96f6\u53d1\u751f\u5728\u54ea\u91cc<\/h2>\n<p>\u8fd9\u4e2a\u7ec3\u4e60\u53ef\u4ee5\u6362\u6210\u4e0a\u76ae\u6807\u8bb0\u3001\u514d\u75ab\u6807\u8bb0\u6216\u4e00\u4e2a\u4e8b\u5148\u9009\u5b9a\u7684\u57fa\u56e0\u96c6\u3002\u53ea\u8981\u67d0\u7c7b\u7ec6\u80de\u57fa\u7ebf\u9ad8\uff0c\u800c\u5b83\u5728\u4e24\u7ec4\u4e2d\u7684\u5360\u6bd4\u53d8\u5316\u660e\u663e\uff0c\u5c31\u503c\u5f97\u5148\u505a\u8fd9\u5f20\u62c6\u5206\u8868\u3002\u82e5\u67d0\u6837\u672c\u91cc\u6709\u51e0\u5341\u9897\u76ee\u6807\u7ec6\u80de\uff0c\u4f46\u76ee\u6807\u57fa\u56e0\u5728\u5b83\u4eec\u4e2d\u5168\u90e8\u4e3a\u96f6\uff0c\u5747\u503c\u662f\u53ef\u89c2\u5bdf\u7684\u96f6\uff1b\u82e5\u6839\u672c\u6ca1\u6709\u6355\u83b7\u8fd9\u7c7b\u7ec6\u80de\uff0c\u5b83\u7684\u7c7b\u578b\u5185\u5747\u503c\u5e94\u7559\u7a7a\u3002\u8fd9\u4e24\u79cd\u60c5\u51b5\u4f1a\u7ed9\u6807\u51c6\u5316\u9020\u6210\u5b8c\u5168\u4e0d\u540c\u7684\u95ee\u9898\uff0c\u4e0d\u80fd\u9760\u628a\u7a7a\u683c\u90fd\u586b\u6210\u96f6\u6765\u5f97\u5230\u4e00\u5f20\u5b8c\u6574\u7684\u70ed\u56fe\u3002\u53ef\u4ee5\u5148\u9650\u5236\u5728\u4e24\u4fa7\u90fd\u6709\u8db3\u591f\u8986\u76d6\u7684\u5171\u540c\u7c7b\u578b\uff0c\u540c\u65f6\u62a5\u544a\u8fd9\u4e2a\u9650\u5b9a\u4f7f\u7ed3\u8bba\u9002\u7528\u4e8e\u54ea\u4e00\u90e8\u5206\u4eba\u7fa4\u3002<\/p>\n<p>\u505a\u8bba\u6587\u4e2d\u7684\u7ec4\u95f4\u63a8\u65ad\u65f6\uff0c\u6062\u590d\u771f\u5b9e\u7684\u72ec\u7acb\u4f9b\u8005\u5c42\u7ea7\uff0c\u7ed9\u6bcf\u4e2a\u4eba\u4fdd\u7559\u4e00\u7ec4\u5b9e\u9645\u548c\u6807\u51c6\u5316\u7ed3\u679c\u3002\u5982\u679c\u5173\u6ce8\u67d0\u4e00\u7c7b\u7ec6\u80de\u5185\u90e8\u7684\u8f6c\u5f55\u54cd\u5e94\uff0c\u53ef\u5728\u8be5\u7c7b\u5185\u6309\u4f9b\u8005\u6c47\u603b\u539f\u59cb\u8ba1\u6570\uff0c\u518d\u7528\u7b26\u5408\u914d\u5bf9\u6216\u975e\u914d\u5bf9\u5b9e\u9a8c\u8bbe\u8ba1\u7684\u6a21\u578b\u4f30\u8ba1\u8868\u8fbe\u53d8\u5316\u3002\u82e5\u5173\u6ce8\u6574\u4f53\u7ec4\u7ec7\u7684 RNA \u8d21\u732e\uff0c\u8fd8\u8981\u8003\u8651\u6bcf\u79cd\u7ec6\u80de\u7684 RNA \u542b\u91cf\u3001\u7ec4\u7ec7\u89e3\u79bb\u504f\u5dee\u548c\u6355\u83b7\u6548\u7387\u3002\u7ec4\u7ec7\u8868\u8fbe\u53bb\u5377\u79ef\u7814\u7a76\u6b63\u662f\u628a\u8fd9\u7c7b\u6743\u91cd\u5f53\u4f5c\u5b9e\u9645\u6d4b\u91cf\u95ee\u9898\u5904\u7406\uff0c\u5355\u7ec6\u80de\u4e2d\u7684\u6355\u83b7\u6bd4\u4f8b\u4e0d\u80fd\u81ea\u52a8\u66ff\u4ee3\u7ec4\u7ec7\u771f\u5b9e\u6bd4\u4f8b\u3002<a href=\"https:\/\/doi.org\/10.1038\/s41467-018-08023-x\">MuSiC \u591a\u4f9b\u8005\u53c2\u8003\u7684\u539f\u59cb\u7814\u7a76<\/a> \u00b7 <a href=\"https:\/\/bioconductor.org\/packages\/release\/bioc\/vignettes\/muscat\/inst\/doc\/analysis.html\">muscat \u7c7b\u578b\u5185\u5dee\u5f02\u5206\u6790\u793a\u4f8b<\/a><\/p>\n<p>\u8fd9\u516b\u767e\u884c\u6570\u636e\u53ef\u4ee5\u5728\u666e\u901a\u7535\u8111\u4e0a\u8dd1\u3002\u6269\u5c55\u5230\u6574\u5e45\u56fe\u8c31\u3001\u9010\u60a3\u8005\u8ba1\u7b97\u6570\u5343\u4e2a\u57fa\u56e0\u7684\u4e24\u7c7b\u8d21\u732e\u65f6\uff0c\u53ef\u4ee5\u628a\u76f8\u540c\u7684\u7c7b\u578b\u6620\u5c04\u3001\u56fa\u5b9a\u6743\u91cd\u548c\u811a\u672c\u5e26\u5230<a href=\"https:\/\/www.biocloudservice.com\/wordpress\/compute-services\/\">\u4e91\u751f\u4fe1\u79d1\u7814\u670d\u52a1\u5668\u79df\u8d41<\/a>\uff0c\u4fdd\u7559\u6bcf\u4e2a\u57fa\u56e0\u80fd\u8ffd\u6eaf\u7684\u4e2d\u95f4\u8868\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u56db\u4f4d\u914d\u5bf9\u4f9b\u8005\u3001\u516b\u767e\u4e2a\u6559\u5b66\u6761\u7801\uff0c\u624b\u7b97\u7ec6\u80de\u7ec4\u6210\u5982\u4f55\u7ffb\u8f6c\u603b\u4f53\u65b9\u5411\uff0c\u518d\u56fa\u5b9a\u7c7b\u578b\u6743\u91cd\uff0c\u628a\u7ec4\u6210\u53d8\u5316\u548c\u7c7b\u578b\u5185\u53d8\u5316\u9010\u4eba\u62c6\u5f00\u3002<\/p>\n","protected":false},"author":1,"featured_media":71948,"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-71951","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-053-expression-mixture-reversal.png?fit=1240%2C800&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71951","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=71951"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71951\/revisions"}],"predecessor-version":[{"id":73692,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/71951\/revisions\/73692"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/71948"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=71951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=71951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=71951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}