{"id":68074,"date":"2026-11-14T20:11:45","date_gmt":"2026-11-14T12:11:45","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=68074"},"modified":"2026-11-14T21:00:04","modified_gmt":"2026-11-14T13:00:04","slug":"harmony-batch-overcorrection-pca-cell-states","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/harmony-batch-overcorrection-pca-cell-states\/","title":{"rendered":"Harmony \u6574\u5408\u540e\u7ec6\u80de\u90fd\u6df7\u5728\u4e00\u8d77\uff0c\u600e\u4e48\u67e5\u662f\u6279\u6b21\u6821\u6b63\u8fd8\u662f\u8fc7\u5ea6\u6574\u5408\uff1f"},"content":{"rendered":"<div class=\"ysx-method-guide\" style=\"max-width:820px;min-width:0;margin:0 auto;color:#26374a;line-height:1.86;overflow-wrap:anywhere\">\n<p>\u4e00\u5f20\u6309\u4f9b\u4f53\u7740\u8272\u7684\u56fe\uff0c\u6574\u5408\u524d\u5206\u6210\u4e24\u56e2\uff0c\u6574\u5408\u540e\u84dd\u70b9\u548c\u6a59\u70b9\u6df7\u5728\u4e00\u8d77\u3002\u7528\u8fd9\u4e24\u5f20\u56fe\u5411\u5408\u4f5c\u8005\u6c47\u62a5\u65f6\uff0c\u4e00\u4e2a\u5408\u7406\u7684\u8ffd\u95ee\u662f\uff0c\u90a3\u4e24\u56e2\u539f\u6765\u662f\u5426\u4ee3\u8868\u540c\u4e00\u79cd\u7ec6\u80de\uff1f\u5982\u679c\u4e00\u56e2\u4e3b\u8981\u662f\u6dcb\u5df4\u7ec6\u80de\uff0c\u53e6\u4e00\u56e2\u4e3b\u8981\u662f\u4e0a\u76ae\u7ec6\u80de\uff0c\u8ba9\u5b83\u4eec\u6df7\u5408\u5e76\u975e\u8fd9\u6b21\u5206\u6790\u8981\u5f97\u5230\u7684\u7ed3\u679c\u3002Harmony \u6821\u6b63\u7684\u662f\u964d\u7ef4\u7a7a\u95f4\u4e2d\u7684\u8868\u793a\u3002\u8981\u5224\u65ad\u8fd9\u6b21\u6821\u6b63\u662f\u5426\u5408\u7406\uff0c\u6700\u597d\u63d0\u524d\u6311\u51fa\u5e94\u8be5\u76f8\u4e92\u63a5\u8fd1\u7684\u7ec6\u80de\uff0c\u4e5f\u6307\u660e\u54ea\u4e9b\u72b6\u6001\u7406\u5e94\u7ee7\u7eed\u5206\u5f00\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u628a\u6279\u6b21\u3001\u4f9b\u4f53\u548c\u5904\u7406\u6761\u4ef6\u4ea4\u53c9\u5217\u51fa\u6765<\/h2>\n<p>\u5148\u505a\u4e00\u4e2a\u7ec6\u80de\u6570\u4ea4\u53c9\u8868\uff0c\u884c\u662f\u4f9b\u4f53\uff0c\u5217\u662f\u5efa\u5e93\u6216\u4e0a\u673a\u6279\u6b21\uff0c\u5e76\u5728\u65c1\u8fb9\u6807\u51fa\u5b9e\u9a8c\u5904\u7406\u3002\u5982\u679c\u4e00\u4e2a\u4f9b\u4f53\u8de8\u4e24\u4e2a\u6279\u6b21\u6d4b\u5e8f\uff0c\u8fd9\u662f\u89c2\u5bdf\u6280\u672f\u5dee\u5f02\u5f88\u597d\u7684\u5185\u90e8\u5bf9\u7167\u3002\u82e5\u6240\u6709\u5bf9\u7167\u4f9b\u4f53\u53ea\u5728\u7b2c\u4e00\u6279\uff0c\u6240\u6709\u5904\u7406\u4f9b\u4f53\u53ea\u5728\u7b2c\u4e8c\u6279\uff0c\u6280\u672f\u548c\u5904\u7406\u5c31\u6ca1\u6709\u673a\u4f1a\u5728\u6570\u636e\u4e2d\u72ec\u7acb\u53d8\u5316\u3002\u770b\u5230\u6309\u6279\u6b21\u7740\u8272\u5206\u5f00\uff0c\u65e0\u6cd5\u4ece\u8fd9\u5f20\u56fe\u76f4\u63a5\u5224\u65ad\u5e94\u5f53\u53bb\u6389\u7684\u504f\u79fb\u7a76\u7adf\u6709\u591a\u5c11\u3002\u6b64\u65f6\u4e00\u5473\u589e\u5927\u6821\u6b63\u529b\u5ea6\uff0c\u53ef\u80fd\u628a\u771f\u6b63\u7684\u5904\u7406\u54cd\u5e94\u4e00\u540c\u538b\u5e73\u3002<\/p>\n<p>\u518d\u7ed9\u6bcf\u4e2a\u4e3b\u8981\u7ec6\u80de\u7c7b\u578b\u7edf\u8ba1\u5404\u6279\u6b21\u7684\u7ec6\u80de\u6570\u3002\u4e00\u4e2a\u6279\u6b21\u4e2d\u6ca1\u6709\u89c2\u5bdf\u5230\u67d0\u79cd\u7a00\u6709\u7fa4\u4f53\uff0c\u5b83\u5c31\u7f3a\u5c11\u53ef\u5728\u53e6\u4e00\u6279\u76f4\u63a5\u5bf9\u7167\u7684\u540c\u7c7b\u7ec6\u80de\u3002\u5148\u628a\u8fd9\u4e9b\u5355\u6279\u6b21\u7fa4\u4f53\u5708\u51fa\u6765\uff0c\u540e\u9762\u6838\u67e5\u65f6\u5e94\u770b\u5b83\u4eec\u662f\u5426\u4fdd\u7559\u4e86\u53ef\u9760\u7684\u6807\u8bb0\u548c\u7ec4\u7ec7\u5b9a\u4f4d\uff0c\u800c\u4e0d\u662f\u7ed9\u5b83\u4eec\u786c\u8ba2\u4e00\u4e2a\u201c\u5fc5\u987b\u548c\u53e6\u4e00\u79cd\u989c\u8272\u6df7\u5408\u201d\u7684\u6307\u6807\u3002\u4e00\u4e2a\u6837\u672c\u4e2d\u542b\u6709\u67d0\u4e2a\u7fa4\u4f53\u548c\u8fd9\u4e2a\u7fa4\u4f53\u5728\u8be5\u6837\u672c\u4e2d\u5360\u6bd4\u9ad8\uff0c\u4e5f\u662f\u4e24\u4e2a\u9700\u8981\u5206\u522b\u8bb0\u5f55\u7684\u4e8b\u5b9e\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u5206\u6e05\u6821\u6b63\u5750\u6807\u4e0e\u539f\u59cb\u8868\u8fbe<\/h2>\n<p>\u5178\u578b Seurat \u6d41\u7a0b\u4ece\u5df2\u6709\u4e3b\u6210\u5206\u51fa\u53d1\uff0c\u628a\u9700\u8981\u8003\u8651\u7684\u6279\u6b21\u5b57\u6bb5\u4f20\u7ed9 Harmony\uff0c\u7136\u540e\u5c06\u5f97\u5230\u7684\u4f4e\u7ef4\u8868\u793a\u7528\u4e8e\u5efa\u90bb\u5c45\u56fe\u3002\u8f93\u5165\u77e9\u9635\u662f\u57fa\u56e0\u8868\u8fbe\uff0c\u4e3b\u6210\u5206\u662f\u82e5\u5e72\u7efc\u5408\u65b9\u5411\uff0cHarmony \u8fd4\u56de\u7684\u662f\u7ecf\u8fc7\u8c03\u6574\u7684\u7ec6\u80de\u5750\u6807\u3002\u4e00\u4e2a\u7ec6\u80de\u5728\u6821\u6b63\u5750\u6807\u4e0a\u53d1\u751f\u79fb\u52a8\uff0c\u4e0d\u4ee3\u8868\u5176\u67d0\u4e2a\u57fa\u56e0\u88ab\u6263\u6389\u4e86\u51e0\u4e2a\u5206\u5b50\u3002\u6838\u5b9e\u8c31\u7cfb\u3001\u505a\u4f9b\u4f53\u5185\u8868\u8fbe\u68c0\u67e5\u65f6\uff0c\u5e94\u56de\u5230\u4e0e\u95ee\u9898\u5339\u914d\u7684\u8868\u8fbe\u5c42\u3002<a style=\"color:#3c6685;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/portals.broadinstitute.org\/harmony\/\">Harmony \u7684\u65b9\u6cd5\u8bf4\u660e<\/a> \u00b7 <a style=\"color:#3c6685;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/portals.broadinstitute.org\/harmony\/reference\/RunHarmony.html\">RunHarmony \u53c2\u6570\u53ca\u8fd4\u56de\u503c<\/a><\/p>\n<p>\u4e0b\u9762\u5047\u5b9a\u5bf9\u8c61\u5df2\u5b8c\u6210\u5f52\u4e00\u5316\u548c\u4e3b\u6210\u5206\u5206\u6790\uff0c\u53e6\u6709\u5df2\u786e\u8ba4\u7684\u6279\u6b21\u5217\uff0c\u4e3b\u6210\u5206\u6570\u81f3\u5c11\u4e3a\u4e8c\u5341\u3002\u628a\u7528\u4e8e\u7ed8\u56fe\u7684\u5404\u7248\u672c\u5206\u522b\u547d\u540d\uff0c\u80fd\u907f\u514d\u4e24\u6b21\u5c55\u793a\u65f6\u8bef\u7528\u540c\u4e00\u4e2a\u9ed8\u8ba4\u964d\u7ef4\u3002\u5982\u679c\u63d0\u524d\u505a\u8fc7\u6574\u5408\uff0c\u8bf7\u5148\u786e\u8ba4\u5f53\u524d\u4e3b\u6210\u5206\u662f\u4ece\u54ea\u5957\u7279\u5f81\u6216\u8868\u8fbe\u5c42\u7b97\u6765\u7684\uff0c\u907f\u514d\u628a\u5df2\u7ecf\u6821\u6b63\u8fc7\u7684\u8868\u793a\u5f53\u4f5c\u672a\u7ecf\u5904\u7406\u7684\u57fa\u7ebf\u3002<\/p>\n<pre style=\"max-width:100%;box-sizing:border-box;overflow-x:auto;margin:18px 0;padding:14px 16px;background:#f3f6fa;color:#1a293c;border:1px solid #d8e1ea;border-radius:8px;line-height:1.55;white-space:pre;overflow-wrap:normal;word-break:normal\"><code class=\"language-r\">library(Seurat)\r\nlibrary(harmony)\r\nobj &lt;- RunHarmony(obj, group.by.vars = &quot;batch&quot;)\r\nobj &lt;- RunUMAP(obj, reduction = &quot;pca&quot;, dims = 1:20,\r\n               reduction.name = &quot;umap.pca&quot;)\r\nobj &lt;- RunUMAP(obj, reduction = &quot;harmony&quot;, dims = 1:20,\r\n               reduction.name = &quot;umap.harmony&quot;)\r\n<\/code><\/pre>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u7ed9\u4e00\u5f20\u6df7\u8272\u56fe\u914d\u4e0a\u4e24\u4e2a\u53cd\u4f8b<\/h2>\n<p>\u8bbe\u5728\u4e00\u4e2a\u6559\u5b66\u6837\u672c\u4e2d\uff0c\u7532\u3001\u4e59\u4e24\u6279\u5404\u6709\u4e94\u5341\u4e2a\u521d\u59cb\u6dcb\u5df4\u7ec6\u80de\uff0c\u4e24\u6279\u53c8\u5404\u6709\u4e94\u5341\u4e2a\u6548\u5e94\u7ec6\u80de\u3002\u7b2c\u4e00\u6b21\u770b\u56fe\u65f6\u5148\u5728\u521d\u59cb\u7ec6\u80de\u5185\u90e8\u6bd4\u8f83\uff0c\u7b2c\u4e8c\u6b21\u53ea\u770b\u6548\u5e94\u7ec6\u80de\u3002\u82e5\u6821\u6b63\u540e\u4e24\u4e2a\u7c7b\u578b\u5404\u81ea\u90fd\u6df7\u5408\uff0c\u540c\u65f6\u7c7b\u578b\u4e4b\u95f4\u4ecd\u6309\u6574\u7ec4\u6807\u8bb0\u5206\u5f00\uff0c\u8fd9\u4e2a\u73b0\u8c61\u4e0e\u9884\u671f\u4e00\u81f4\u3002\u82e5\u628a\u4e24\u7c7b\u7ec6\u80de\u5408\u8d77\u6765\u770b\uff0c\u54ea\u6015\u521d\u59cb\u7ec6\u80de\u96c6\u4e2d\u5728\u7532\u3001\u6548\u5e94\u7ec6\u80de\u96c6\u4e2d\u5728\u4e59\uff0c\u53ea\u8981\u5728\u6295\u5f71\u8fb9\u7f18\u6324\u5728\u540c\u4e00\u7247\uff0c\u4e5f\u53ef\u80fd\u770b\u8d77\u6765\u201c\u989c\u8272\u6df7\u5f97\u4e0d\u9519\u201d\u3002<\/p>\n<div class=\"guide-table\" style=\"max-width:100%;overflow-x:auto;margin:18px 0\">\n<table style=\"display:table;width:100%;max-width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:.92em;line-height:1.6\">\n<thead>\n<tr>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#ecf8fb;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u5148\u56fa\u5b9a\u7684\u5bf9\u8c61<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#ecf8fb;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u60f3\u4fdd\u7559\u7684\u73b0\u8c61<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#ecf8fb;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u51fa\u73b0\u4ec0\u4e48\u60c5\u51b5\u9700\u8981\u91cd\u67e5<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u4e24\u6279\u5747\u6709\u7684\u540c\u4e00\u7ec6\u80de\u7c7b\u578b<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u4f9b\u4f53\u95f4\u76f8\u4f3c\u7ec6\u80de\u80fd\u6210\u4e3a\u90bb\u5c45<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u540c\u4e00\u4f9b\u4f53\u59cb\u7ec8\u72ec\u5360\u5927\u90e8\u5206\u8fd1\u90bb<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u751f\u7269\u5b66\u6807\u8bb0\u6e05\u695a\u7684\u4e24\u4e2a\u72b6\u6001<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u72b6\u6001\u6807\u8bb0\u4ecd\u5728\u5bf9\u5e94\u7ec6\u80de\u5171\u540c\u51fa\u73b0<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u6821\u6b63\u540e\u5f7c\u6b64\u5145\u5f53\u8fd1\u90bb\uff0c\u539f\u59cb\u6807\u8bb0\u5374\u7a33\u5b9a\u5206\u79bb<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u53ea\u5728\u4e00\u6279\u89c2\u6d4b\u5230\u7684\u7a00\u6709\u7fa4<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u5bf9\u5176\u72ec\u6709\u72b6\u6001\u4fdd\u7559\u89e3\u91ca\u7a7a\u95f4<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u88ab\u5e76\u5165\u4e0d\u540c\u8c31\u7cfb\uff0c\u53ea\u5269\u6279\u6b21\u6df7\u5408\u6307\u6807\u53d8\u597d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<figure class=\"guide-figure\" style=\"margin:24px 0 28px\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/harmony-batch-overcorrection-pca-cell-states-guide.png?resize=1200%2C840&#038;ssl=1\" alt=\"\u600e\u6837\u770b\u51fa\u6821\u6b63\u8fc7\u4e86\u5934\u3002\u5728\u6821\u6b63\u5750\u6807\u770b\u90bb\u5c45\uff0c\u5728\u8868\u8fbe\u77e9\u9635\u6838\u5bf9\u6807\u8bb0\u3002\u540c\u4e00\u7c7b\u578b\uff0c\u6279\u6b21\u4e4b\u95f4\u5e94\u6709\u53ef\u6bd4\u5bf9\u8c61\uff0c\u5148\u56fa\u5b9a\u7ec6\u80de\u7c7b\u578b\uff0c\u5206\u522b\u6309\u4f9b\u4f53\u7edf\u8ba1\u8de8\u6279\u8fd1\u90bb\u3002\u4e24\u79cd\u72b6\u6001\uff0c\u4fdd\u7559\u5df2\u77e5\u7684\u6807\u8bb0\u7ec4\u5408\uff0c\u8bb0\u5f55\u6807\u8bb0\u53ef\u5206\u7684\u7ec6\u80de\u6821\u6b63\u540e\u662f\u5426\u6df7\u4e3a\u8fd1\u90bb\u3002\u5355\u6279\u7a00\u6709\u7fa4\uff0c\u68c0\u67e5\u72ec\u7acb\u7684\u8eab\u4efd\u4f9d\u636e\uff0c\u5355\u72ec\u67e5\u770b\u7a00\u6709\u7fa4\uff0c\u4e0d\u8ba9\u5927\u7fa4\u4f53\u7684\u5e73\u5747\u6570\u906e\u4f4f\u53d8\u5316\u3002\" width=\"1200\" height=\"840\" style=\"display:block;width:100%;height:auto;border-radius:10px\"><figcaption style=\"font-size:14px;line-height:1.6;margin:9px 2px 0;color:#475569\">\u5728\u6821\u6b63\u5750\u6807\u770b\u90bb\u5c45\uff0c\u5728\u8868\u8fbe\u77e9\u9635\u6838\u5bf9\u6807\u8bb0\u3002<\/figcaption><\/figure>\n<p>\u53e6\u4e00\u4e2a\u53cd\u4f8b\u4e0e\u7ec4\u5206\u6709\u5173\u3002\u5047\u8bbe\u67d0\u7c7b\u7ec6\u80de\u5728\u7532\u5360\u4e5d\u5341\u4e2a\u3001\u4e59\u5360\u5341\u4e2a\u3002\u4e00\u4e2a\u7532\u7ec6\u80de\u9644\u8fd1\u5341\u4e2a\u540c\u7c7b\u91cc\u53ea\u6709\u4e00\u4e2a\u4e59\uff0c\u4ecd\u53ef\u80fd\u6070\u597d\u7b26\u5408\u8fd9\u4e2a\u7fa4\u4f53\u7684\u6765\u6e90\u6784\u6210\u3002\u8bf7\u5148\u5728\u7ec6\u80de\u7c7b\u578b\u5c42\u9762\u8ba1\u7b97\u57fa\u7ebf\uff0c\u518d\u6c47\u603b\u591a\u4e2a\u7ec6\u80de\u7684\u8fd1\u90bb\u7ec4\u6210\uff0c\u6700\u597d\u8fd8\u80fd\u6309\u4f9b\u4f53\u6c47\u603b\u3002\u4e0d\u8981\u4ece\u56fe\u4e2d\u592e\u6311\u4e00\u4e2a\u770b\u8d77\u6765\u6700\u5747\u5300\u7684\u5c40\u90e8\u66ff\u6574\u5957\u6570\u636e\u4f5c\u7ed3\u8bba\u3002\u5c24\u5176\u9700\u8981\u68c0\u6d4b\u7f55\u89c1\u72b6\u6001\u662f\u5426\u8fd8\u80fd\u88ab\u627e\u5230\u65f6\uff0c\u5b81\u53ef\u628a\u8fd9\u7fa4\u7ec6\u80de\u5355\u72ec\u5217\u51fa\u6765\uff0c\u4e5f\u4e0d\u8981\u8ba9\u5927\u7fa4\u4f53\u7684\u5e73\u5747\u8868\u73b0\u628a\u5b83\u4eec\u6df9\u6ca1\u3002<\/p>\n<p>\u53c2\u6570\u4e5f\u5bb9\u6613\u8c03\u53cd\u3002\u56fa\u5b9a\u5176\u4ed6\u8bbe\u7f6e\u65f6\uff0c\u589e\u5927\u591a\u6837\u6027\u60e9\u7f5a theta \u4f1a\u66f4\u9f13\u52b1\u540c\u4e00\u8f6f\u805a\u7c7b\u5185\u51fa\u73b0\u4e0d\u540c\u6279\u6b21\u3002\u5cad\u56de\u5f52\u60e9\u7f5a lambda \u7528\u5728\u4f30\u8ba1\u6821\u6b63\u9879\u7684\u6b65\u9aa4\uff0c\u5728\u624b\u52a8\u7ed9\u5b9a\u6b63\u503c\u65f6\uff0c\u8f83\u5c0f\u7684\u60e9\u7f5a\u901a\u5e38\u5141\u8bb8\u66f4\u5f3a\u7684\u6821\u6b63\u3002\u4e24\u8005\u4f5c\u7528\u5728\u4e0d\u540c\u73af\u8282\u3002\u4e00\u6b21\u540c\u65f6\u63d0\u9ad8\u4e24\u4e2a\u6570\uff0c\u5373\u4f7f\u56fe\u50cf\u53d8\u5316\u4e5f\u5f88\u96be\u89e3\u91ca\u662f\u54ea\u9879\u64cd\u4f5c\u9020\u6210\u3002\u53ef\u4ee5\u5148\u6311\u4e00\u7ec4\u8de8\u6279\u6280\u672f\u91cd\u590d\uff0c\u56fa\u5b9a\u5cad\u60e9\u7f5a\u53ea\u6539\u53d8\u591a\u6837\u6027\u8981\u6c42\uff0c\u518d\u56fa\u5b9a\u591a\u6837\u6027\u8981\u6c42\u53ea\u6bd4\u8f83\u5cad\u60e9\u7f5a\u3002\u4e3a\u6bcf\u6b21\u8ba1\u7b97\u53e6\u5b58\u6821\u6b63\u5750\u6807\uff0c\u540c\u65f6\u8bb0\u5f55\u6700\u5bb9\u6613\u53d7\u5f71\u54cd\u7684\u90a3\u4e2a\u7a00\u6709\u7fa4\u6709\u591a\u5c11\u7ec6\u80de\u4ecd\u4e0e\u76f8\u540c\u8c31\u7cfb\u4e92\u4e3a\u8fd1\u90bb\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u5b9e\u8dd1\u7ecf\u9a8c\uff5c\u540c\u4e00\u5343\u516d\u767e\u6761\u90bb\u5c45\u5173\u7cfb\u8981\u67e5\u4e24\u904d<\/h2>\n<p>\u6211\u4eec\u5728 Ubuntu \u7684 R 4.3.3 \u4e2d\u5b89\u88c5 Harmony 2.0.5\uff0c\u505a\u4e86\u4e00\u4e2a\u5df2\u77e5\u771f\u5b9e\u5206\u7ec4\u7684\u5bf9\u7167\u3002\u6a21\u62df\u4e00\u767e\u516d\u5341\u4e2a\u7ec6\u80de\uff0c\u4e24\u79cd\u751f\u7269\u72b6\u6001\u3001\u4e24\u4e2a\u6279\u6b21\uff0c\u6bcf\u4e00\u4e2a\u72b6\u6001\u548c\u6279\u6b21\u7684\u7ec4\u5408\u5404\u6709\u56db\u5341\u4e2a\u7ec6\u80de\u3002\u516d\u7ef4\u8f93\u5165\u7684\u7b2c\u4e00\u7ef4\u4e3b\u8981\u627f\u8f7d\u72b6\u6001\u5dee\u5f02\uff0c\u7b2c\u4e8c\u7ef4\u4e3b\u8981\u627f\u8f7d\u6279\u6b21\u4f4d\u79fb\uff0c\u5176\u4f59\u7ef4\u5ea6\u52a0\u5165\u968f\u673a\u6270\u52a8\u3002\u56fa\u5b9a\u79cd\u5b50\u4e09\u5341\u4e03\uff0c\u53ea\u8ba9 Harmony \u4f7f\u7528\u6279\u6b21\u5217\uff0c\u72b6\u6001\u5217\u7559\u5230\u8bc4\u4f30\u65f6\u624d\u6253\u5f00\u3002\u6bcf\u4e2a\u7ec6\u80de\u5728\u539f\u5750\u6807\u548c\u6821\u6b63\u5750\u6807\u4e2d\u5404\u627e\u5341\u4e2a\u8fd1\u90bb\uff0c\u6392\u9664\u81ea\u5df1\uff0c\u4e24\u6b21\u5206\u6bcd\u5747\u662f\u4e00\u5343\u516d\u767e\u6761\u6709\u5411\u5173\u7cfb\u3002<\/p>\n<p>\u6821\u6b63\u524d\uff0c\u8de8\u6279\u6b21\u7684\u90bb\u5c45\u53ea\u6709\u4e09\u6761\uff0c\u6821\u6b63\u540e\u589e\u81f3\u516d\u767e\u4e03\u5341\u4e8c\u6761\u3002\u518d\u7528\u540c\u4e00\u5957\u90bb\u5c45\u7f16\u53f7\u6838\u5bf9\u72b6\u6001\uff0c\u6821\u6b63\u524d\u540e\u5404\u6709\u4e00\u5343\u516d\u767e\u6761\u540c\u72b6\u6001\u5173\u7cfb\u3002\u8fd9\u4e2a\u6559\u5b66\u8bbe\u8ba1\u4e2d\uff0c\u7b97\u6cd5\u6539\u5584\u4e86\u540c\u7c7b\u7ec6\u80de\u7684\u8de8\u6279\u63a5\u8fd1\u7a0b\u5ea6\uff0c\u4fdd\u7559\u4e86\u4eba\u4e3a\u653e\u5728\u7b2c\u4e00\u7ef4\u7684\u6e05\u6670\u5206\u7ec4\u3002\u80fd\u5f97\u5230\u8fd9\u6837\u7684\u5bf9\u7167\uff0c\u662f\u56e0\u4e3a\u6bcf\u4e2a\u7ec4\u5408\u90fd\u771f\u6709\u7ec6\u80de\uff0c\u4e14\u72b6\u6001\u6807\u7b7e\u72ec\u7acb\u4e8e\u6821\u6b63\u8f93\u5165\u3002\u771f\u5b9e\u6570\u636e\u82e5\u6709\u67d0\u4e2a\u5904\u7406\u7ec4\u4ec5\u6765\u81ea\u5355\u4e00\u6279\u6b21\uff0c\u5c31\u4e0d\u80fd\u671f\u5f85\u901a\u8fc7\u540c\u4e00\u5957\u6570\u503c\u533a\u5206\u4e24\u8005\u3002\u5b89\u88c5\u65f6\u8fd8\u9047\u5230\u4e86\u53ef\u91cd\u590d\u5b9a\u4f4d\u7684\u95ee\u9898\uff0c\u7cfb\u7edf\u6709\u7f16\u8bd1\u5668\u5374\u7f3a\u5c11 BLAS\u3001LAPACK \u548c Fortran \u94fe\u63a5\u5e93\uff0c\u5b89\u88c5\u76f8\u5e94\u5f00\u53d1\u5305\u540e\u624d\u987a\u5229\u52a0\u8f7d\u3002\u5904\u7406\u7c7b\u4f3c\u62a5\u9519\u5e94\u5148\u770b\u94fe\u63a5\u5668\u5217\u51fa\u7684\u5e93\u540d\uff0c\u8c03\u6574\u751f\u7269\u5b66\u53c2\u6570\u89e3\u51b3\u4e0d\u4e86\u5b89\u88c5\u5931\u8d25\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u4ece\u4e00\u6b21\u6821\u6b63\u4f30\u8ba1\uff0c\u5230\u53ef\u4ee5\u590d\u6838\u7684\u7ed3\u8bba<\/h2>\n<p>\u53ef\u4ee5\u56fa\u5b9a\u7ec6\u80de\u548c\u57fa\u56e0\u96c6\u5408\u3001\u4e3b\u6210\u5206\u6570\u3001\u90bb\u5c45\u8bbe\u7f6e\u4ee5\u53ca\u53ef\u89c6\u5316\u65b9\u5f0f\uff0c\u53ea\u6539\u4e00\u4e2a\u4f1a\u5f71\u54cd Harmony \u6821\u6b63\u5f3a\u5ea6\u7684\u53c2\u6570\u3002\u6bd4\u5982\u56f4\u7ed5\u591a\u6837\u6027\u60e9\u7f5a\u53c2\u6570\u6bd4\u8f83\u51e0\u4e2a\u8bbe\u7f6e\uff0c\u8bb0\u5f55\u6bcf\u4e2a\u8bbe\u7f6e\u4e0b\u5171\u540c\u7ec6\u80de\u7c7b\u578b\u7684\u8de8\u6279\u8fd1\u90bb\u6bd4\u4f8b\u3001\u5df2\u77e5\u72b6\u6001\u95f4\u7684\u6df7\u6dc6\uff0c\u4ee5\u53ca\u591a\u4e2a\u72ec\u7acb\u4f9b\u4f53\u7684\u7ed3\u679c\u662f\u5426\u4e00\u81f4\u3002\u53c2\u6570\u672c\u8eab\u6ca1\u6709\u8131\u79bb\u6570\u636e\u4ecd\u6700\u4f18\u7684\u6570\u503c\u3002\u89c2\u5bdf\u5230\u66f4\u5f3a\u7684\u6df7\u5408\u540e\uff0c\u8fd8\u8981\u68c0\u67e5\u80fd\u5426\u901a\u8fc7\u66f4\u6362\u5408\u7406\u53c2\u6570\u5f97\u5230\u540c\u6837\u7684\u751f\u7269\u89e3\u91ca\u3002\u82e5\u7ed3\u8bba\u4ec5\u5728\u67d0\u4e2a\u6781\u7aef\u8bbe\u7f6e\u4e0b\u6210\u7acb\uff0c\u5e94\u5f53\u5c06\u8fd9\u4e00\u654f\u611f\u6027\u5199\u8fdb\u62a5\u544a\u3002<\/p>\n<p>\u5728\u786e\u5b9a\u662f\u5426\u8fc7\u5ea6\u6821\u6b63\u65f6\uff0c\u8fd8\u53ef\u4ee5\u628a\u6700\u503c\u5f97\u6000\u7591\u7684\u7fa4\u4f53\u6cbf\u539f\u59cb\u5750\u6807\u548c\u6821\u6b63\u5750\u6807\u5206\u522b\u9ad8\u4eae\uff0c\u90bb\u5c45\u8fde\u7ebf\u6240\u7528\u7684\u8868\u793a\u4e5f\u5199\u6e05\u3002\u67e5\u770b\u51e0\u6761\u4e8b\u5148\u9009\u597d\u7684\u8c31\u7cfb\u6807\u8bb0\uff0c\u800c\u975e\u5728\u7ed3\u679c\u91cc\u4e8b\u540e\u627e\u6700\u914d\u5408\u56fe\u5f62\u53d8\u5316\u7684\u57fa\u56e0\u3002\u82e5\u540c\u4e00\u72b6\u6001\u5728\u591a\u4e2a\u4f9b\u4f53\u4e2d\u90fd\u4fdd\u6301\u4e00\u81f4\u6807\u8bb0\uff0c\u5374\u53ea\u6709\u6821\u6b63\u56fe\u628a\u5b83\u6df7\u8fdb\u53e6\u4e00\u7fa4\uff0c\u4f18\u5148\u4fdd\u7559\u4e24\u79cd\u89e3\u91ca\u5e76\u5bfb\u6c42\u72ec\u7acb\u8bc1\u636e\u3002\u82e5\u53d8\u5316\u53ea\u6765\u81ea\u67d0\u4e2a\u4f4e\u8d28\u91cf\u4f9b\u4f53\uff0c\u5e94\u56de\u770b\u8be5\u6837\u672c\u7684\u6d4b\u5e8f\u6df1\u5ea6\u3001\u7ebf\u7c92\u4f53\u6bd4\u4f8b\u548c\u5b9e\u9a8c\u5904\u7406\uff0c\u4e0d\u80fd\u671f\u671b\u964d\u7ef4\u6821\u6b63\u66ff\u4ee3\u6837\u672c\u8d28\u91cf\u68c0\u67e5\u3002<\/p>\n<p class=\"guide-end\" style=\"margin-top:1.6em;padding-top:1.0em;border-top:1px solid #d7e0e9\">\u6700\u7ec8\u4ea4\u7ed9\u5408\u4f5c\u8005\u7684\u56fe\u6ce8\u5e94\u8bf4\u660e\u6821\u6b63\u5b57\u6bb5\u3001\u8f93\u5165\u4e3b\u6210\u5206\u3001\u540e\u7eed\u5efa\u56fe\u4f7f\u7528\u54ea\u4e2a\u8868\u793a\uff0c\u4ee5\u53ca\u8868\u8fbe\u56fe\u6765\u81ea\u54ea\u5957\u539f\u59cb\u6216\u5f52\u4e00\u5316\u6570\u636e\u3002\u82e5\u9700\u8981\u5bf9\u5904\u7406\u6761\u4ef6\u505a\u5dee\u5f02\u8868\u8fbe\u68c0\u9a8c\uff0c\u5e94\u6309\u72ec\u7acb\u6837\u672c\u8bbe\u8ba1\u5206\u6790\uff0c\u4e0d\u80fd\u628a Harmony \u5750\u6807\u672c\u8eab\u5f53\u4f5c\u57fa\u56e0\u8ba1\u6570\u3002\u7b49\u4e00\u4efd\u56fe\u8c31\u7684\u6838\u67e5\u65b9\u5f0f\u7a33\u5b9a\u540e\uff0c\u56e2\u961f\u5e38\u9700\u8981\u5171\u7528\u65e2\u6709\u5bf9\u8c61\uff0c\u540c\u65f6\u91cd\u8dd1\u53c2\u6570\u5bf9\u7167\u3002\u9700\u8981\u8fd9\u6837\u7684\u5171\u4eab\u73af\u5883\u65f6\uff0c\u53ef\u4e86\u89e3<a data-ysx-event=\"contact_click\" style=\"color:#3c6685;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/compute-services\/shared-research-workspace\/\">\u4e91\u751f\u4fe1\u7684\u751f\u7269\u4fe1\u606f\u5206\u6790\u670d\u52a1\u5668<\/a>\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u8de8\u6279\u91cd\u590d\u548c\u5355\u6279\u7a00\u6709\u7fa4\u5165\u624b\uff0c\u6bd4\u8f83 Harmony \u5750\u6807\u4e2d\u7684\u90bb\u5c45\u4e0e\u539f\u59cb\u8868\u8fbe\u91cc\u7684\u6807\u8bb0\uff0c\u8bc6\u522b\u8fc7\u5ea6\u6821\u6b63\u3002<\/p>\n","protected":false},"author":1,"featured_media":68073,"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":[49,71],"tags":[658,659,660],"class_list":["post-68074","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-single-cell","tag-harmony","tag-659","tag-660"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/harmony-batch-overcorrection-pca-cell-states-guide.png?fit=1200%2C840&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/68074","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=68074"}],"version-history":[{"count":2,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/68074\/revisions"}],"predecessor-version":[{"id":68676,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/68074\/revisions\/68676"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/68073"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=68074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=68074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=68074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}