{"id":73913,"date":"2026-11-17T16:13:54","date_gmt":"2026-11-17T08:13:54","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=73913"},"modified":"2026-11-17T16:16:02","modified_gmt":"2026-11-17T08:16:02","slug":"revbayes-assignment-dependency-hky-posterior-practice","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/revbayes-assignment-dependency-hky-posterior-practice\/","title":{"rendered":"RevBayes \u5b9e\u8dd1\uff0c\u4e00\u4e2a\u8d4b\u503c\u7b26\u53f7\u7528\u9519\uff0c\u53c2\u6570\u53d8\u5316\u4e3a\u4f55\u6ca1\u6709\u8fdb\u5165\u4f3c\u7136"},"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>\u6a21\u578b\u811a\u672c\u80fd\u591f\u8fd0\u884c\uff0c\u5e76\u4e0d\u4ee3\u8868\u5b83\u8868\u8fbe\u4e86\u9884\u671f\u7684\u7edf\u8ba1\u5173\u7cfb\u3002\u4f7f\u7528 RevBayes \u65f6\uff0c\u666e\u901a\u8d4b\u503c\u548c\u786e\u5b9a\u6027\u8d4b\u503c\u4e4b\u95f4\u53ea\u6709\u7b26\u53f7\u5dee\u5f02\uff0c\u5374\u53ef\u80fd\u51b3\u5b9a\u4e00\u4e2a\u53c2\u6570\u7684\u53d8\u5316\u662f\u5426\u771f\u6b63\u4f20\u9012\u5230\u5e8f\u5217\u4f3c\u7136\u3002<\/p>\n<p>\u672c\u6587\u5b9e\u9645\u8fd0\u884c RevBayes 1.4.2\uff0c\u5148\u7528\u4e00\u4e2a\u56fa\u5b9a\u6811\u5b9e\u9a8c\u68c0\u67e5\u8fd9\u79cd\u4f9d\u8d56\uff0c\u518d\u5bf9\u66ff\u6362\u53c2\u6570\u6267\u884c\u4e24\u7ec4\u72ec\u7acb\u91c7\u6837\uff0c\u6700\u540e\u7528\u539f\u521b Python \u7a0b\u5e8f\u8ba1\u7b97\u540c\u4e00\u6a21\u578b\u7684\u4e00\u7ef4\u6570\u503c\u79ef\u5206\u3002\u8fd9\u6837\u65e2\u80fd\u770b\u5230\u9519\u8bef\u53d1\u751f\u5728\u54ea\u91cc\uff0c\u4e5f\u80fd\u68c0\u9a8c\u6b63\u786e\u6a21\u578b\u7684\u8f93\u51fa\u662f\u5426\u5408\u7406\u3002<\/p>\n<figure class=\"guide-figure\" style=\"margin:24px 0 28px\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wordpress\/wp-content\/uploads\/2026\/11\/revbayes-assignment-dependency-hky-posterior-practice-guide.png\" alt=\"\u53c2\u6570\u53d8\u4e86\uff0c\u4f3c\u7136\u4e3a\u4f55\u6ca1\u53d8\u3002\u901a\u8fc7\u8d4b\u503c\u5bf9\u7167\u548c\u72ec\u7acb\u79ef\u5206\u6838\u9a8c\u6a21\u578b\u662f\u5426\u6b63\u786e\u8fde\u63a5\u300201\uff0c\u5148\u67e5\u4f9d\u8d56\uff0c\u52a8\u6001\u77e9\u9635\u968f\u53c2\u6570\u66f4\u65b0\uff0c\u56fa\u5b9a\u77e9\u9635\u4fdd\u6301\u521d\u503c\u300202\uff0c\u518d\u8dd1\u91c7\u6837\uff0c\u4e24\u7ec4\u56fa\u5b9a\u6811 HKY \u53c2\u6570\u91c7\u6837\u300203\uff0c\u72ec\u7acb\u6838\u9a8c\uff0c\u7f51\u683c\u79ef\u5206\u5747\u503c 3.7422\uff0c\u4e0e\u91c7\u6837\u76f8\u7b26\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\">\u901a\u8fc7\u8d4b\u503c\u5bf9\u7167\u548c\u72ec\u7acb\u79ef\u5206\u6838\u9a8c\u6a21\u578b\u662f\u5426\u6b63\u786e\u8fde\u63a5<\/figcaption><\/figure>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u6a21\u578b\u811a\u672c\u63cf\u8ff0\u7684\u662f\u4f9d\u8d56\u5173\u7cfb<\/h2>\n<p>RevBayes \u4f7f\u7528 Rev \u8bed\u8a00\u7ec4\u7ec7\u6982\u7387\u6a21\u578b\u3002\u5e38\u91cf\u3001\u7531\u4e0a\u6e38\u5bf9\u8c61\u786e\u5b9a\u7684\u53d8\u91cf\uff0c\u4ee5\u53ca\u670d\u4ece\u67d0\u79cd\u5206\u5e03\u7684\u968f\u673a\u53d8\u91cf\uff0c\u627f\u62c5\u4e0d\u540c\u89d2\u8272\u3002\u6a21\u578b\u8ba1\u7b97\u9700\u8981\u77e5\u9053\u8fd9\u4e9b\u5bf9\u8c61\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u624d\u80fd\u5728\u53c2\u6570\u6539\u53d8\u65f6\u66f4\u65b0\u53d7\u5f71\u54cd\u7684\u90e8\u5206\u3002<\/p>\n<p>\u666e\u901a\u8d4b\u503c\u4f1a\u628a\u8868\u8fbe\u5f0f\u5f53\u524d\u7684\u503c\u4fdd\u5b58\u4e0b\u6765\u3002\u786e\u5b9a\u6027\u8d4b\u503c\u4f1a\u4fdd\u7559\u8ba1\u7b97\u5173\u7cfb\uff0c\u4f7f\u4e0b\u6e38\u5bf9\u8c61\u968f\u4e0a\u6e38\u53d8\u5316\u3002\u968f\u673a\u8d4b\u503c\u5219\u58f0\u660e\u4e00\u4e2a\u670d\u4ece\u6307\u5b9a\u5206\u5e03\u7684\u8282\u70b9\u3002\u4e09\u8005\u4e0d\u80fd\u4ec5\u6309\u201c\u770b\u8d77\u6765\u90fd\u628a\u53f3\u8fb9\u4ea4\u7ed9\u5de6\u8fb9\u201d\u6765\u4e92\u6362\u3002<\/p>\n<p><a style=\"color:#147b80;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/revbayes.github.io\/tutorials\/intro\/rev.html\">\u5b98\u65b9\u8bed\u8a00\u6559\u7a0b<\/a>\u89e3\u91ca\u4e86\u8fd9\u4e9b\u8d4b\u503c\u65b9\u5f0f\u3002\u521d\u5b66\u65f6\u6700\u503c\u5f97\u505a\u7684\u7ec3\u4e60\uff0c\u662f\u4e3b\u52a8\u6539\u53d8\u4e00\u4e2a\u4e0a\u6e38\u53d8\u91cf\uff0c\u89c2\u5bdf\u4e0b\u6e38\u662f\u5426\u6309\u9884\u671f\u66f4\u65b0\u3002\u8fd9\u4e2a\u5c0f\u68c0\u67e5\u6bd4\u5148\u8fd0\u884c\u5f88\u957f\u7684\u91c7\u6837\u66f4\u5bb9\u6613\u5b9a\u4f4d\u5efa\u6a21\u9519\u8bef\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-rev\">k &lt;- 1.0\r\nq_live := fnHKY(k, pi)\r\nq_frozen &lt;- fnHKY(k, pi)\r\n<\/code><\/pre>\n<p>\u8fd9\u91cc\u4e24\u79cd\u901f\u7387\u77e9\u9635\u6700\u521d\u4f7f\u7528\u540c\u6837\u7684\u53c2\u6570\uff0c\u56e0\u6b64\u521d\u503c\u76f8\u540c\u3002\u533a\u522b\u5728\u4e8e\uff0c\u7b2c\u4e00\u79cd\u4fdd\u7559\u4e86\u5bf9\u4e0a\u6e38\u53c2\u6570\u7684\u4f9d\u8d56\uff0c\u7b2c\u4e8c\u79cd\u4fdd\u5b58\u4e86\u5f53\u65f6\u8ba1\u7b97\u51fa\u7684\u77e9\u9635\u3002\u53ea\u6709\u5b9e\u9645\u6539\u53d8\u4e0a\u6e38\uff0c\u624d\u80fd\u89c2\u5bdf\u5230\u5dee\u5f02\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u672c\u6b21\u4eba\u5de5\u6570\u636e\u600e\u6837\u6784\u9020<\/h2>\n<p>\u7ec3\u4e60\u4f7f\u7528\u56db\u4e2a\u5206\u7c7b\u5355\u5143\uff0c\u6bcf\u6761\u5e8f\u5217\u4e00\u5343\u4e8c\u767e\u4e2a\u4f4d\u70b9\u3002\u56fa\u5b9a\u6811\u7531\u4e24\u4e2a\u59d0\u59b9\u7ec4\u6784\u6210\uff0c\u6240\u6709\u5206\u652f\u7684\u66ff\u6362\u957f\u5ea6\u5747\u4e3a\u96f6\u70b9\u4e00\u3002\u6839\u90e8\u5e8f\u5217\u6309\u56db\u79cd\u78b1\u57fa\u7b49\u9891\u751f\u6210\uff0c\u6cbf\u5206\u652f\u7528\u8fde\u7eed\u65f6\u95f4\u8fc7\u7a0b\u6a21\u62df\u53d8\u5316\u3002<\/p>\n<p>\u6a21\u62df\u65f6\u628a\u8f6c\u6362\u4ea4\u6362\u7387\u76f8\u5bf9\u4e8e\u5355\u7c7b\u98a0\u6362\u4ea4\u6362\u7387\u8bbe\u4e3a\u56db\uff0c\u540c\u65f6\u5c06\u6bcf\u4e2a\u4f4d\u70b9\u7684\u5e73\u5747\u79bb\u5f00\u901f\u7387\u6807\u51c6\u5316\u4e3a\u4e00\u3002\u7a0b\u5e8f\u901a\u8fc7\u6307\u6570\u7b49\u5f85\u65f6\u95f4\u51b3\u5b9a\u4f55\u65f6\u53d1\u751f\u66ff\u6362\uff0c\u518d\u6309\u76f8\u5bf9\u6743\u91cd\u9009\u62e9\u76ee\u6807\u78b1\u57fa\u3002\u8fd9\u5141\u8bb8\u540c\u4e00\u5206\u652f\u4e0a\u51fa\u73b0\u591a\u6b21\u53d8\u5316\uff0c\u4e0d\u662f\u7b80\u5355\u5730\u6309\u4e00\u4e2a\u6bd4\u4f8b\u968f\u673a\u6539\u5b57\u6bcd\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u8f93\u5165\u6765\u81ea\u5df2\u77e5\u53c2\u6570\u7684\u6a21\u62df\u6a21\u578b\uff0c\u800c\u4e0d\u662f\u4eba\u4e3a\u628a\u6bcf\u56db\u4e2a\u53d8\u5316\u786c\u51d1\u6210\u67d0\u4e2a\u56fa\u5b9a\u6bd4\u4f8b\u3002\u6709\u9650\u957f\u5ea6\u5e8f\u5217\u5b58\u5728\u968f\u673a\u6027\uff0c\u62df\u5408\u7ed3\u679c\u4e0d\u5fc5\u7cbe\u786e\u7b49\u4e8e\u751f\u6210\u53c2\u6570\u3002\u8fd9\u4e00\u70b9\u5bf9\u4e8e\u7406\u89e3\u540e\u9762\u7684\u540e\u9a8c\u5747\u503c\u5f88\u91cd\u8981\u3002<\/p>\n<p>\u672c\u6b21\u62df\u5408\u91c7\u7528 HKY\uff0c\u56fa\u5b9a\u78b1\u57fa\u9891\u7387\u548c\u6811\uff0c\u53ea\u4f30\u8ba1\u8f6c\u6362\u4e0e\u98a0\u6362\u7684\u76f8\u5bf9\u4ea4\u6362\u7387\u53c2\u6570\u3002\u7b49\u9891\u6761\u4ef6\u4f7f\u8be5\u6a21\u578b\u5728\u8fd9\u91cc\u53ef\u4ee5\u7528\u8f83\u7b80\u5355\u7684\u89e3\u6790\u8f6c\u79fb\u6982\u7387\u8fdb\u884c\u72ec\u7acb\u8ba1\u7b97\uff0c\u4e3a\u540e\u7eed\u6838\u9a8c\u63d0\u4f9b\u4e86\u65b9\u4fbf\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u5148\u505a\u4f9d\u8d56\u5173\u7cfb\u7684\u76f4\u63a5\u5bf9\u7167<\/h2>\n<p>\u811a\u672c\u5efa\u7acb\u4e24\u4e2a\u5e8f\u5217\u4f3c\u7136\u5bf9\u8c61\uff0c\u5206\u522b\u5f15\u7528\u52a8\u6001\u77e9\u9635\u548c\u5df2\u7ecf\u56fa\u5b9a\u7684\u77e9\u9635\uff0c\u7136\u540e\u5c06\u540c\u4e00\u4efd\u6bd4\u5bf9\u7ed1\u5b9a\u5230\u4e8c\u8005\u3002\u63a5\u7740\u628a\u4e0a\u6e38\u53c2\u6570\u4ece\u4e00\u6539\u4e3a\u516b\uff0c\u91cd\u65b0\u8bfb\u53d6\u4e24\u4e2a\u5bf9\u8c61\u7684\u5bf9\u6570\u6982\u7387\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:#eafafa;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u68c0\u67e5\u4f4d\u7f6e<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#eafafa;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u53c2\u6570\u4e3a 1<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#eafafa;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u53c2\u6570\u6539\u4e3a 8<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#eafafa;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u662f\u5426\u968f\u53c2\u6570\u6539\u53d8<\/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\">\u52a8\u6001\u77e9\u9635\u5bf9\u5e94\u7684\u5bf9\u6570\u4f3c\u7136<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">\u22124291.2<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">\u22124213.1<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u662f<\/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\">\u56fa\u5b9a\u77e9\u9635\u5bf9\u5e94\u7684\u5bf9\u6570\u4f3c\u7136<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">\u22124291.2<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">\u22124291.2<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u5426<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u4e24\u8005\u6700\u521d\u76f8\u540c\uff0c\u6392\u9664\u4e86\u8f93\u5165\u6216\u521d\u59cb\u6a21\u578b\u4e0d\u540c\u9020\u6210\u7684\u5e72\u6270\u3002\u6539\u53d8\u53c2\u6570\u540e\uff0c\u52a8\u6001\u5bf9\u8c61\u7684\u4f3c\u7136\u53d1\u751f\u660e\u663e\u53d8\u5316\uff0c\u56fa\u5b9a\u5bf9\u8c61\u4ecd\u4fdd\u6301\u539f\u503c\u3002\u8fd9\u6b63\u662f\u540e\u8005\u6ca1\u6709\u4fdd\u7559\u4e0a\u6e38\u4f9d\u8d56\u5173\u7cfb\u7684\u8868\u73b0\u3002<\/p>\n<p>\u8fd9\u4e2a\u5b9e\u9a8c\u6ca1\u6709\u4f9d\u9760\u540e\u9a8c\u8f68\u8ff9\u63a8\u6d4b\u9519\u8bef\uff0c\u800c\u662f\u76f4\u63a5\u68c0\u67e5\u8ba1\u7b97\u8def\u5f84\u3002\u5982\u679c\u4e00\u4e2a\u672c\u5e94\u5f71\u54cd\u5e8f\u5217\u6a21\u578b\u7684\u53c2\u6570\u6539\u53d8\u540e\uff0c\u76f8\u5173\u4f3c\u7136\u5b8c\u5168\u4e0d\u53d8\uff0c\u5c31\u5e94\u8ffd\u67e5\u8be5\u53c2\u6570\u662f\u5426\u88ab\u590d\u5236\u6210\u5e38\u91cf\u3001\u662f\u5426\u8fde\u63a5\u5230\u6b63\u786e\u5bf9\u8c61\uff0c\u6216\u8005\u5f53\u524d\u6570\u636e\u662f\u5426\u786e\u5b9e\u5bf9\u5b83\u4e0d\u654f\u611f\u3002<\/p>\n<p>\u4e0d\u80fd\u628a\u201c\u4e0d\u53d8\u201d\u4e00\u5f8b\u8ba4\u5b9a\u4e3a\u7a0b\u5e8f\u6545\u969c\u3002\u6709\u4e9b\u53c2\u6570\u53ea\u8fdb\u5165\u5148\u9a8c\uff0c\u6709\u4e9b\u53d8\u5316\u5728\u7279\u5b9a\u6570\u636e\u4e0b\u5f71\u54cd\u5f88\u5c0f\u3002\u5e94\u6839\u636e\u6a21\u578b\u7ed3\u6784\u4e8b\u5148\u5199\u4e0b\u9884\u671f\uff0c\u9009\u62e9\u5dee\u5f02\u8db3\u591f\u660e\u663e\u7684\u63a7\u5236\u503c\uff0c\u518d\u89e3\u91ca\u89c2\u5bdf\u7ed3\u679c\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u7ed1\u5b9a\u89c2\u6d4b\u6570\u636e\u662f\u53e6\u4e00\u9879\u72ec\u7acb\u68c0\u67e5<\/h2>\n<p>\u58f0\u660e\u4e00\u4e2a\u5e8f\u5217\u5206\u5e03\u5bf9\u8c61\u540e\uff0c\u8fd8\u8981\u628a\u5b9e\u9645\u6bd4\u5bf9\u7ed1\u5b9a\u5230\u8be5\u5bf9\u8c61\u3002\u672c\u6b21\u4f7f\u7528\u7ed1\u5b9a\u64cd\u4f5c\uff0c\u5e76\u901a\u8fc7\u8bfb\u53d6\u7ed3\u679c\u786e\u8ba4\u56db\u6761\u5e8f\u5217\u53ca\u4e00\u5343\u4e8c\u767e\u4e2a\u4f4d\u70b9\u5df2\u7ecf\u8fdb\u5165\u5206\u6790\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-rev\">Q := fnHKY(kappa, pi)\r\nphylo ~ dnPhyloCTMC(tree=tree, Q=Q, type=&quot;DNA&quot;)\r\nphylo.clamp(data)\r\n<\/code><\/pre>\n<p>\u8fd9\u91cc\u7684\u968f\u673a\u8282\u70b9\u8868\u8fbe\u5e8f\u5217\u5728\u6811\u548c\u66ff\u6362\u6a21\u578b\u4e0b\u7684\u5206\u5e03\uff0c\u7ed1\u5b9a\u64cd\u4f5c\u628a\u5b83\u4f5c\u4e3a\u89c2\u6d4b\u6570\u636e\u4f7f\u7528\u3002\u6570\u636e\u6587\u4ef6\u8bfb\u8fdb\u5185\u5b58\uff0c\u4e0e\u6570\u636e\u771f\u6b63\u8fde\u63a5\u5230\u4f3c\u7136\uff0c\u662f\u4e24\u4e2a\u4e0d\u540c\u6b65\u9aa4\u3002\u68c0\u67e5\u811a\u672c\u65f6\u5e94\u6cbf\u7740\u5b9e\u9645\u7528\u4e8e\u6784\u5efa\u6a21\u578b\u7684\u5bf9\u8c61\u6838\u5bf9\u3002<\/p>\n<p><a style=\"color:#147b80;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/revbayes.github.io\/documentation\/dnPhyloCTMC.html\">\u5e8f\u5217\u5206\u5e03\u7684\u5b98\u65b9\u8bf4\u660e<\/a>\u7ed9\u51fa\u4e86\u8bfb\u53d6\u3001\u7ed1\u5b9a\u4ee5\u53ca\u8ba1\u7b97\u5bf9\u6570\u6982\u7387\u7684\u793a\u4f8b\u3002\u6b63\u5f0f\u5206\u6790\u8fd8\u5e94\u6838\u5bf9\u6811\u4e0a\u7684\u5206\u7c7b\u5355\u5143\u6807\u7b7e\u4e0e\u6bd4\u5bf9\u6807\u7b7e\uff0c\u907f\u514d\u628a\u540d\u79f0\u5bf9\u5e94\u5173\u7cfb\u7684\u95ee\u9898\u8bef\u5f53\u6210\u91c7\u6837\u95ee\u9898\u3002<\/p>\n<p>\u4e5f\u4e0d\u8981\u628a\u201c\u7701\u7565\u7ed1\u5b9a\u201d\u7b80\u5355\u89e3\u91ca\u4e3a\u5408\u6cd5\u7684\u5148\u9a8c\u62bd\u6837\u3002\u672a\u7ed1\u5b9a\u7684\u968f\u673a\u5bf9\u8c61\u53ef\u80fd\u6d89\u53ca\u6a21\u62df\u6570\u636e\u53ca\u4e0d\u540c\u7684\u8ba1\u7b97\u5173\u7cfb\uff0c\u5177\u4f53\u542b\u4e49\u53d6\u51b3\u4e8e\u6574\u5f20\u6a21\u578b\u56fe\u3002\u8981\u5f00\u5c55\u5148\u9a8c\u5206\u6790\uff0c\u5e94\u660e\u786e\u6784\u5efa\u76f8\u5e94\u6d41\u7a0b\uff0c\u5e76\u6838\u5bf9\u5b9e\u9645\u53c2\u4e0e\u8ba1\u7b97\u7684\u8282\u70b9\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u6b63\u786e\u6a21\u578b\u4e2d\u7684\u5148\u9a8c\u3001\u79fb\u52a8\u548c\u76d1\u89c6\u5668<\/h2>\n<p>\u5b8c\u6210\u4f9d\u8d56\u68c0\u67e5\u540e\uff0c\u6211\u4eec\u53e6\u5efa\u6b63\u5f0f\u7684\u56fa\u5b9a\u6811\u5c0f\u6a21\u578b\u3002\u5f85\u4f30\u53c2\u6570\u91c7\u7528\u5bf9\u6570\u6b63\u6001\u5148\u9a8c\uff0c\u5bf9\u6570\u5c3a\u5ea6\u4e2d\u5fc3\u4e3a\u4e09\u7684\u81ea\u7136\u5bf9\u6570\uff0c\u6807\u51c6\u5dee\u4e3a\u96f6\u70b9\u4e03\u3002\u8fd9\u662f\u7ec3\u4e60\u6240\u9009\u7684\u5047\u8bbe\uff0c\u4e0d\u80fd\u5f53\u6210\u6240\u6709\u6570\u636e\u90fd\u9002\u7528\u7684\u9ed8\u8ba4\u503c\u3002<\/p>\n<p>\u5148\u9a8c\u4e4b\u5916\uff0c\u8fd8\u9700\u8981\u4e3a\u8be5\u53c2\u6570\u6dfb\u52a0\u91c7\u6837\u79fb\u52a8\u3002\u58f0\u660e\u4e00\u4e2a\u968f\u673a\u53d8\u91cf\uff0c\u53ea\u662f\u5b9a\u4e49\u5176\u6982\u7387\u5206\u5e03\uff0c\u4e0d\u7b49\u4e8e\u5df2\u7ecf\u4e3a\u5b83\u914d\u7f6e\u4e86\u9ad8\u6548\u63a2\u7d22\u673a\u5236\u3002\u672c\u6587\u4f7f\u7528\u5c3a\u5ea6\u79fb\u52a8\uff0c\u5e76\u5728\u9884\u70ed\u9636\u6bb5\u6309\u6307\u5b9a\u95f4\u9694\u8c03\u6574\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-rev\">kappa ~ dnLognormal(ln(3.0), 0.7)\r\nmoves = VectorMoves()\r\nmoves.append(mvScale(kappa, lambda=1.0, weight=1.0))\r\nmonitors = VectorMonitors()\r\nmonitors.append(mnModel(filename=&quot;chain1.log&quot;, printgen=10))\r\nmymodel = model(phylo)\r\nanalysis = mcmc(mymodel, monitors, moves)\r\nanalysis.burnin(generations=1000, tuningInterval=100)\r\nanalysis.run(generations=10000)\r\n<\/code><\/pre>\n<p>\u76d1\u89c6\u5668\u51b3\u5b9a\u4fdd\u5b58\u54ea\u4e9b\u4fe1\u606f\u4ee5\u53ca\u4fdd\u5b58\u9891\u7387\u3002\u5b83\u5f71\u54cd\u7ed3\u679c\u662f\u5426\u65b9\u4fbf\u5ba1\u9605\uff0c\u4f46\u4e0d\u4f1a\u56e0\u4e3a\u591a\u4fdd\u5b58\u51e0\u5217\u5c31\u81ea\u52a8\u6539\u5584\u91c7\u6837\u3002\u672c\u4f8b\u4fdd\u5b58\u540e\u9a8c\u3001\u4f3c\u7136\u3001\u5148\u9a8c\u548c\u53c2\u6570\uff0c\u4fbf\u4e8e\u68c0\u67e5\u76ee\u6807\u5206\u5e03\u4e0e\u5b9e\u9645\u8f68\u8ff9\u3002<\/p>\n<p>\u4e24\u7ec4\u8fd0\u884c\u5206\u522b\u4f7f\u7528\u4e0d\u540c\u79cd\u5b50\uff0c\u5404\u5148\u8fdb\u884c\u4e00\u5343\u4ee3\u9884\u70ed\uff0c\u518d\u8fd0\u884c\u4e00\u4e07\u4ee3\uff0c\u6bcf\u5341\u4ee3\u5199\u51fa\u4e00\u6b21\u8bb0\u5f55\u3002\u6bcf\u7ec4\u6700\u7ec8\u4fdd\u5b58\u4e00\u5343\u96f6\u4e00\u6761\u72b6\u6001\uff0c\u5305\u62ec\u6b63\u5f0f\u8fd0\u884c\u7684\u8d77\u70b9\u3002\u672c\u6587\u62a5\u544a\u7684\u5747\u503c\u4f7f\u7528\u8fd9\u4e9b\u8bb0\u5f55\uff0c\u6ca1\u6709\u518d\u989d\u5916\u5220\u53bb\u4e00\u6bb5\u6837\u672c\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u4e24\u7ec4\u91c7\u6837\u8f93\u51fa\u4e86\u4ec0\u4e48<\/h2>\n<p>\u7b2c\u4e00\u7ec4\u53c2\u6570\u5747\u503c\u7ea6\u4e3a\u4e09\u70b9\u4e03\u56db\u516d\u4e94\uff0c\u6837\u672c\u6807\u51c6\u5dee\u7ea6\u4e3a\u96f6\u70b9\u4e09\u4e00\u4e5d\u4e94\u3002\u7b2c\u4e8c\u7ec4\u5747\u503c\u7ea6\u4e3a\u4e09\u70b9\u4e03\u4e09\u4e5d\u4e94\uff0c\u6837\u672c\u6807\u51c6\u5dee\u7ea6\u4e3a\u96f6\u70b9\u4e09\u4e00\u4e8c\u4e09\u3002\u4e24\u7ec4\u90fd\u5728\u751f\u6210\u503c\u56db\u9644\u8fd1\u6ce2\u52a8\uff0c\u4f46\u4e2d\u5fc3\u6ca1\u6709\u7cbe\u786e\u7b49\u4e8e\u56db\u3002<\/p>\n<p>\u8fd9\u662f\u53ef\u4ee5\u7406\u89e3\u7684\u3002\u751f\u6210\u53c2\u6570\u51b3\u5b9a\u6570\u636e\u7684\u6982\u7387\u673a\u5236\uff0c\u89c2\u6d4b\u5230\u7684\u53ea\u662f\u4e00\u4efd\u6709\u9650\u957f\u5ea6\u6a21\u62df\u6570\u636e\uff0c\u62df\u5408\u65f6\u8fd8\u52a0\u5165\u4e86\u5148\u9a8c\u3002\u540e\u9a8c\u4f30\u8ba1\u65e2\u53d7\u8fd9\u4efd\u6570\u636e\u5f71\u54cd\uff0c\u4e5f\u53d7\u6240\u8bbe\u6a21\u578b\u4e0e\u5148\u9a8c\u5f71\u54cd\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:#eafafa;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u65b9\u6cd5<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#eafafa;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u53c2\u6570\u5747\u503c<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#eafafa;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u53c2\u6570\u5206\u5e03\u7684\u6807\u51c6\u5dee<\/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\">\u7b2c\u4e00\u7ec4\u91c7\u6837<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">3.7465<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0.3195<\/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\">\u7b2c\u4e8c\u7ec4\u91c7\u6837<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">3.7395<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0.3123<\/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\">\u72ec\u7acb\u7f51\u683c\u79ef\u5206<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">3.7422<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0.3201<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u8868\u4e2d\u7684\u6807\u51c6\u5dee\u63cf\u8ff0\u53c2\u6570\u5206\u5e03\u7684\u5bbd\u5ea6\uff0c\u4e0d\u662f\u5747\u503c\u7684\u8499\u7279\u5361\u6d1b\u6807\u51c6\u8bef\u3002\u82e5\u8981\u8ba8\u8bba\u5747\u503c\u4f30\u8ba1\u8fd8\u5b58\u5728\u591a\u5c11\u91c7\u6837\u8bef\u5dee\uff0c\u9700\u8981\u8003\u8651\u8f68\u8ff9\u76f8\u5173\u6027\u548c\u6709\u6548\u6837\u672c\u91cf\uff0c\u4e0d\u80fd\u76f4\u63a5\u628a\u6807\u51c6\u5dee\u9664\u4ee5\u4fdd\u5b58\u8bb0\u5f55\u6570\u5c31\u4f5c\u7ed3\u8bba\u3002<\/p>\n<p>\u4e24\u7ec4\u4e2d\u5fc3\u76f8\u8fd1\u662f\u4e00\u6761\u6709\u7528\u8bc1\u636e\uff0c\u4f46\u4e0d\u662f\u901a\u7528\u7684\u6536\u655b\u8bc1\u660e\u3002\u672c\u4f8b\u53ea\u6709\u4e00\u4e2a\u81ea\u7531\u53c2\u6570\u548c\u56fa\u5b9a\u6811\uff0c\u4e0d\u80fd\u636e\u6b64\u8ba4\u5b9a\u66f4\u590d\u6742\u7684\u6811\u6a21\u578b\u8fd0\u884c\u540c\u6837\u4ee3\u6570\u4e5f\u8db3\u591f\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u7528\u72ec\u7acb\u8ba1\u7b97\u6838\u5bf9\u76ee\u6807\u5206\u5e03<\/h2>\n<p>\u4e3a\u4e86\u8ba9\u6838\u9a8c\u4e0d\u6b62\u505c\u7559\u5728\u201c\u4e24\u6b21\u8fd0\u884c\u5dee\u4e0d\u591a\u201d\uff0c\u6211\u4eec\u6839\u636e\u7b49\u9891\u6a21\u578b\u7684\u89e3\u6790\u8f6c\u79fb\u6982\u7387\uff0c\u53e6\u5916\u5b9e\u73b0\u4e86\u56db\u53f6\u6811\u7684\u526a\u679d\u8ba1\u7b97\u3002\u5b83\u4ece\u6bcf\u4e2a\u4f4d\u70b9\u7684\u672b\u7aef\u78b1\u57fa\u5f80\u7956\u5148\u8282\u70b9\u7d2f\u52a0\uff0c\u518d\u6309\u6839\u90e8\u9891\u7387\u6c42\u548c\uff0c\u5f97\u5230\u8be5\u5217\u7684\u6982\u7387\u3002<\/p>\n<p>\u8ba1\u7b97\u8fc7\u7a0b\u4e2d\u5408\u5e76\u76f8\u540c\u5217\u578b\uff0c\u5e76\u7528\u51fa\u73b0\u6b21\u6570\u5bf9\u5176\u5bf9\u6570\u6982\u7387\u52a0\u6743\u3002\u968f\u540e\u52a0\u5165\u4e0e RevBayes \u76f8\u540c\u7684\u5bf9\u6570\u6b63\u6001\u5148\u9a8c\uff0c\u5728\u53c2\u6570\u96f6\u70b9\u4e8c\u5230\u5341\u4e8c\u7684\u533a\u95f4\u4e0a\uff0c\u4ee5\u96f6\u70b9\u96f6\u4e00\u4e3a\u95f4\u8ddd\u8fdb\u884c\u6570\u503c\u79ef\u5206\u3002<\/p>\n<p>\u7f51\u683c\u7ed3\u679c\u7684\u5747\u503c\u7ea6\u4e3a\u4e09\u70b9\u4e03\u56db\u4e8c\u4e8c\uff0c\u6807\u51c6\u5dee\u7ea6\u4e3a\u96f6\u70b9\u4e09\u4e8c\u96f6\u4e00\uff0c\u4e0e\u4e24\u7ec4\u91c7\u6837\u76f8\u7b26\u3002\u7f51\u683c\u4e24\u7aef\u7684\u76f8\u5bf9\u6743\u91cd\u6781\u4f4e\uff0c\u8bf4\u660e\u5728\u672c\u6b21\u8303\u56f4\u5185\u6ca1\u6709\u660e\u663e\u622a\u6389\u4e3b\u8981\u6982\u7387\u8d28\u91cf\u3002\u4e0d\u8fc7\u8fd9\u4ecd\u662f\u6709\u9650\u7f51\u683c\u7684\u6570\u503c\u8fd1\u4f3c\uff0c\u4e0d\u80fd\u79f0\u4e3a\u7cbe\u786e\u89e3\u6790\u540e\u9a8c\u3002<\/p>\n<p>\u6211\u4eec\u8fd8\u4ece\u6bcf\u7ec4\u65e5\u5fd7\u95f4\u9694\u62bd\u53d6\u72b6\u6001\uff0c\u4f7f\u7528\u65e5\u5fd7\u4e2d\u7684\u53c2\u6570\u503c\u91cd\u7b97\u4f3c\u7136\u3002\u6700\u5927\u7edd\u5bf9\u5dee\u4e0d\u5230\u4e07\u5206\u4e4b\u4e94\uff0c\u4e0e\u65e5\u5fd7\u663e\u793a\u7cbe\u5ea6\u76f8\u7b26\u3002\u8fd9\u4e2a\u6838\u9a8c\u6bd4\u53ea\u6bd4\u8f83\u6700\u7ec8\u5747\u503c\u66f4\u7ec6\uff0c\u56e0\u4e3a\u5b83\u540c\u65f6\u68c0\u67e5\u4e86\u53c2\u6570\u503c\u4e0e\u4f3c\u7136\u8ba1\u7b97\u7684\u5bf9\u5e94\u5173\u7cfb\u3002<\/p>\n<p>\u72ec\u7acb\u7a0b\u5e8f\u53ea\u9002\u7528\u4e8e\u8fd9\u91cc\u7684\u7b49\u9891\u3001\u56fa\u5b9a\u6811\u548c\u5355\u53c2\u6570\u6761\u4ef6\u3002\u82e5\u6539\u6210\u81ea\u7531\u78b1\u57fa\u9891\u7387\u3001\u5206\u533a\u6a21\u578b\u6216\u590d\u6742\u6811\u8fc7\u7a0b\uff0c\u5fc5\u987b\u91cd\u65b0\u63a8\u5bfc\u5bf9\u5e94\u8ba1\u7b97\uff0c\u4e0d\u80fd\u7ee7\u7eed\u6cbf\u7528\u672c\u4f8b\u516c\u5f0f\u4f5c\u4e3a\u901a\u7528\u7b54\u6848\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u4ea4\u6362\u7387\u53c2\u6570\u4e0d\u7b49\u4e8e\u89c2\u6d4b\u5230\u7684\u53d8\u5316\u6b21\u6570\u6bd4<\/h2>\n<p>HKY \u7684\u53c2\u6570\u901a\u8fc7\u901f\u7387\u77e9\u9635\u5b9a\u4e49\u66ff\u6362\u8fc7\u7a0b\u3002<a style=\"color:#147b80;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/revbayes.github.io\/documentation\/fnHKY.html\">\u5b98\u65b9\u51fd\u6570\u6587\u6863<\/a>\u8bf4\u660e\u4e86\u5b83\u4e0e\u78b1\u57fa\u9891\u7387\u5171\u540c\u6784\u9020\u77e9\u9635\u7684\u65b9\u5f0f\u3002\u56e0\u6b64\uff0c\u5bf9\u53c2\u6570\u7684\u89e3\u91ca\u5e94\u56de\u5230\u6a21\u578b\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u7edf\u8ba1\u6bd4\u5bf9\u4e2d\u4e24\u7c7b\u5dee\u5f02\u7684\u6570\u91cf\u3002<\/p>\n<p>\u5728\u7b49\u9891\u60c5\u5f62\u4e0b\uff0c\u4e00\u4e2a\u78b1\u57fa\u6709\u4e00\u79cd\u8f6c\u6362\u76ee\u6807\u3001\u4e24\u79cd\u98a0\u6362\u76ee\u6807\u3002\u5355\u7c7b\u4ea4\u6362\u7387\u7684\u76f8\u5bf9\u5927\u5c0f\uff0c\u4e0e\u6240\u6709\u8f6c\u6362\u548c\u6240\u6709\u98a0\u6362\u7d2f\u8ba1\u6b21\u6570\u7684\u6bd4\u503c\uff0c\u5e76\u4e0d\u662f\u540c\u4e00\u4ef6\u4e8b\u3002\u518d\u8003\u8651\u91cd\u590d\u66ff\u6362\u548c\u672a\u77e5\u7956\u5148\uff0c\u672b\u7aef\u5e8f\u5217\u5dee\u5f02\u7684\u6bd4\u4f8b\u8fd8\u4f1a\u8fdb\u4e00\u6b65\u504f\u79bb\u76f4\u63a5\u7684\u4e8b\u4ef6\u7edf\u8ba1\u3002<\/p>\n<p>\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u770b\u5230\u8f93\u5165\u4e2d\u8f6c\u6362\u5dee\u5f02\u5927\u7ea6\u5360\u67d0\u4e2a\u6bd4\u4f8b\uff0c\u5c31\u8981\u6c42\u540e\u9a8c\u53c2\u6570\u5fc5\u987b\u7b49\u4e8e\u90a3\u4e2a\u6bd4\u4f8b\u3002\u53c2\u6570\u3001\u6f5c\u5728\u66ff\u6362\u5386\u53f2\u548c\u6700\u7ec8\u89c2\u6d4b\u5dee\u5f02\u5c5e\u4e8e\u4e0d\u540c\u5c42\u6b21\uff0c\u6a21\u578b\u8ba1\u7b97\u8d1f\u8d23\u8fde\u63a5\u5b83\u4eec\u3002<\/p>\n<p>\u672c\u4f8b\u901a\u8fc7\u5df2\u77e5\u751f\u6210\u8fc7\u7a0b\u4e0e\u72ec\u7acb\u4f3c\u7136\u6838\u9a8c\uff0c\u8bf4\u660e\u8f6f\u4ef6\u4f30\u8ba1\u7684\u5bf9\u8c61\u4e0e\u811a\u672c\u8bbe\u5b9a\u4e00\u81f4\u3002\u5b83\u6ca1\u6709\u8bc4\u4f30\u771f\u5b9e\u6570\u636e\u662f\u5426\u9002\u5408\u8be5\u66ff\u6362\u6a21\u578b\uff0c\u4e5f\u6ca1\u6709\u6bd4\u8f83\u4e0d\u540c\u6a21\u578b\u7684\u8bc1\u636e\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u6392\u9519\u65f6\u6309\u4ec0\u4e48\u987a\u5e8f\u63a8\u8fdb<\/h2>\n<p>\u53ef\u4ee5\u5148\u56fa\u5b9a\u6811\u548c\u591a\u6570\u53c2\u6570\uff0c\u53ea\u68c0\u67e5\u6570\u636e\u662f\u5426\u6b63\u786e\u8fdb\u5165\u4f3c\u7136\uff0c\u518d\u6539\u53d8\u4e00\u4e2a\u53c2\u6570\u9a8c\u8bc1\u4f9d\u8d56\u3002\u786e\u8ba4\u6982\u7387\u8ba1\u7b97\u7b26\u5408\u9884\u671f\u540e\uff0c\u6dfb\u52a0\u76f8\u5e94\u79fb\u52a8\u548c\u76d1\u89c6\u5668\uff0c\u8fd0\u884c\u77ed\u94fe\u89c2\u5bdf\u53c2\u6570\u662f\u5426\u5b9e\u9645\u53d8\u5316\u3002<\/p>\n<p>\u5982\u679c\u53c2\u6570\u6709\u53d8\u5316\u800c\u4f3c\u7136\u4e0d\u53d8\uff0c\u68c0\u67e5\u5bf9\u8c61\u8fde\u63a5\u548c\u6570\u636e\u654f\u611f\u6027\u3002\u5982\u679c\u53c2\u6570\u59cb\u7ec8\u4e0d\u53d8\uff0c\u68c0\u67e5\u662f\u5426\u88ab\u56fa\u5b9a\u3001\u662f\u5426\u7f3a\u5c11\u79fb\u52a8\u3001\u662f\u5426\u9891\u7e41\u62d2\u7edd\u3002\u5982\u679c\u4e0d\u540c\u8fd0\u884c\u7ed9\u51fa\u660e\u663e\u4e0d\u540c\u533a\u57df\uff0c\u518d\u8003\u8651\u63a2\u7d22\u4e0d\u8db3\u6216\u6a21\u578b\u5177\u6709\u591a\u4e2a\u91cd\u8981\u533a\u57df\u3002<\/p>\n<p>\u8fd9\u79cd\u9010\u6b65\u6269\u5c55\u7684\u65b9\u5f0f\u80fd\u628a\u8bed\u6cd5\u9519\u8bef\u3001\u6a21\u578b\u9519\u8bef\u548c\u91c7\u6837\u95ee\u9898\u5206\u5f00\u3002\u4e00\u6b21\u52a0\u5165\u5f88\u591a\u81ea\u7531\u53c2\u6570\u65f6\uff0c\u5373\u4f7f\u8f68\u8ff9\u5f02\u5e38\uff0c\u4e5f\u5f88\u96be\u5224\u65ad\u7a76\u7adf\u662f\u54ea\u4e00\u5c42\u51fa\u4e86\u95ee\u9898\u3002<\/p>\n<p>RevBayes \u7684\u4f18\u52bf\u662f\u6a21\u578b\u5173\u7cfb\u53ef\u4ee5\u663e\u5f0f\u8868\u8fbe\u548c\u7ec4\u5408\uff0c\u4f7f\u7528\u8005\u80fd\u591f\u8ffd\u67e5\u6bcf\u4e2a\u5047\u8bbe\u5982\u4f55\u8fdb\u5165\u8ba1\u7b97\u3002\u76f8\u5e94\u7684\u5b66\u4e60\u6210\u672c\u662f\uff0c\u9700\u8981\u7406\u89e3\u6982\u7387\u56fe\u3001\u53d8\u91cf\u7c7b\u578b\u4e0e\u91c7\u6837\u914d\u7f6e\uff0c\u4e0d\u80fd\u53ea\u628a\u793a\u4f8b\u811a\u672c\u4e2d\u7684\u6587\u4ef6\u540d\u66ff\u6362\u4e00\u4e0b\u5c31\u89c6\u4e3a\u5b8c\u6210\u5206\u6790\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u590d\u73b0\u5165\u53e3\u4e0e\u7ed3\u679c\u8fb9\u754c<\/h2>\n<p><a style=\"color:#147b80;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-bioinformatics-practice-210-212-9e57a3de8ba4.zip\">\u4e0b\u8f7d\u672c\u7ec4\u5b9e\u8dd1\u811a\u672c\u548c\u8bb0\u5f55<\/a>\uff0c\u5728\u5177\u5907 Python 3\u3001Docker \u548c\u955c\u50cf\u4e0b\u8f7d\u6761\u4ef6\u7684 Linux \u73af\u5883\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002\u811a\u672c\u4f1a\u91cd\u65b0\u751f\u6210\u539f\u59cb\u6a21\u62df\u6570\u636e\u3001\u4f9d\u8d56\u5bf9\u7167\u3001\u4e24\u7ec4\u91c7\u6837\u548c\u72ec\u7acb\u7f51\u683c\u6838\u9a8c\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-bash\">python3 211-revbayes\/run.py \/tmp\/revbayes-dependency-demo\r\n<\/code><\/pre>\n<p>\u590d\u73b0\u65f6\u5148\u68c0\u67e5\u56db\u4e2a\u4f9d\u8d56\u5bf9\u7167\u6570\u503c\uff0c\u518d\u68c0\u67e5\u91c7\u6837\u5217\u540d\u548c\u8bb0\u5f55\u6570\uff0c\u6700\u540e\u6bd4\u8f83\u7f51\u683c\u7ed3\u679c\u3002\u5b8c\u6574\u7ed3\u679c\u4fdd\u7559\u4e86\u8f6f\u4ef6\u8f93\u51fa\u3001\u6a21\u62df\u53c2\u6570\u4e0e\u8ba1\u7b97\u65b9\u6cd5\uff0c\u4fbf\u4e8e\u533a\u5206\u5b9e\u9645\u89c2\u5bdf\u548c\u7406\u8bba\u89e3\u91ca\u3002<\/p>\n<p>\u8fd9\u6b21\u5b9e\u8dd1\u6700\u76f4\u63a5\u7684\u7ecf\u9a8c\u662f\uff0c\u5148\u8bc1\u660e\u53c2\u6570\u786e\u5b9e\u5f71\u54cd\u4e86\u5b83\u5e94\u8be5\u5f71\u54cd\u7684\u6982\u7387\u9879\uff0c\u518d\u8ba8\u8bba\u8fd0\u884c\u591a\u4e45\u3001\u4fdd\u5b58\u591a\u5c11\u6837\u672c\u4ee5\u53ca\u600e\u6837\u6c47\u603b\u540e\u9a8c\u3002\u8ba1\u7b97\u5173\u7cfb\u6b63\u786e\uff0c\u662f\u540e\u7eed\u8bca\u65ad\u6709\u610f\u4e49\u7684\u524d\u63d0\u3002<\/p>\n<p class=\"guide-end\" style=\"margin-top:1.6em;padding-top:1.0em;border-top:1px solid #d7e0e9\">\u5f53\u6a21\u578b\u6269\u5c55\u540e\u9700\u8981\u7ba1\u7406\u591a\u7ec4\u72ec\u7acb\u91c7\u6837\u4e0e\u53c2\u6570\u6bd4\u8f83\u65f6\uff0c\u53ef\u6309\u5b9e\u9645\u5206\u6790\u9700\u6c42\u4e86\u89e3<a data-ysx-event=\"contact_click\" style=\"color:#147b80;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/compute-services\/shared-research-workspace\/\">\u4e91\u751f\u4fe1\u751f\u7269\u5206\u6790\u670d\u52a1\u5668\u670d\u52a1<\/a>\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u9645\u8fd0\u884c RevBayes 1.4.2\uff0c\u6bd4\u8f83\u666e\u901a\u8d4b\u503c\u4e0e\u786e\u5b9a\u6027\u8d4b\u503c\uff0c\u5b8c\u6210\u4e24\u7ec4 HKY \u53c2\u6570\u91c7\u6837\uff0c\u5e76\u7528\u72ec\u7acb\u7f51\u683c\u79ef\u5206\u6838\u9a8c\u3002<\/p>\n","protected":false},"author":1,"featured_media":73912,"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],"tags":[1580,1578,584,1579],"class_list":["post-73913","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-hky","tag-revbayes","tag-584","tag-1579"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/revbayes-assignment-dependency-hky-posterior-practice-guide.png?fit=1200%2C840&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/73913","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=73913"}],"version-history":[{"count":2,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/73913\/revisions"}],"predecessor-version":[{"id":73920,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/73913\/revisions\/73920"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/73912"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=73913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=73913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=73913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}