{"id":56661,"date":"2024-06-16T18:13:35","date_gmt":"2024-06-16T10:13:35","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=56661"},"modified":"2024-06-16T18:13:35","modified_gmt":"2024-06-16T10:13:35","slug":"%e5%b8%88%e5%a6%b9%e5%b8%a6%e4%bd%a0%e7%bb%98%e5%88%b6%e4%b8%8d%e4%b8%80%e6%a0%b7%e7%9a%84%e4%b8%b4%e5%ba%8a%e7%9b%b8%e5%85%b3%e5%88%86%e6%9e%90%e7%83%ad%e5%9b%be","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=56661","title":{"rendered":"\u5e08\u59b9\u5e26\u4f60\u7ed8\u5236\u4e0d\u4e00\u6837\u7684\u4e34\u5e8a\u76f8\u5173\u5206\u6790\u70ed\u56fe"},"content":{"rendered":"<p><html><br \/>\n<head><br \/>\n<title><\/title><br \/>\n<meta charset=\"utf-8\"><br \/>\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover\"><\/p>\n<style>\n*{margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.6}img{z-index:999;position:relative;max-width:100%;margin:10px 0;}body{letter-spacing:.034em}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:16px}a{color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}td,th{word-wrap:break-word;padding:5px 10px;border:1px solid #DDD;}table{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}.rich_media_area_primary{padding:20px 16px 12px;background-color:#fafafa}@media (max-width:375px){.rich_media_area_primary{padding:20px 60px 15px 60px}.rich_media_area_extra{padding:0 60px 21px 60px}}@media (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner,body{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media{padding:20px;overflow:hidden;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}@media screen and (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media_content{overflow:hidden;color:#333;font-size:17px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-align:justify;position:relative;z-index:0}.rich_media_content *{max-width:100%!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;word-wrap:break-word!important}.rich_media_content p{clear:both;min-height:1em}.rich_media_content em{font-style:italic}.rich_media_content fieldset{min-width:0}.rich_media_content .list-paddingleft-1,.rich_media_content .list-paddingleft-2,.rich_media_content .list-paddingleft-3{padding-left:2.2em}.rich_media_content .list-paddingleft-1 .list-paddingleft-2,.rich_media_content .list-paddingleft-2 .list-paddingleft-2,.rich_media_content .list-paddingleft-3 .list-paddingleft-2{padding-left:30px}.rich_media_content .list-paddingleft-1{padding-left:1.2em}.rich_media_content .list-paddingleft-3{padding-left:3.2em}.rich_media_content .code-snippet,.rich_media_content .code-snippet__fix{max-width:1000%!important}.rich_media_content .code-snippet *,.rich_media_content .code-snippet__fix *{max-width:1000%!important}.rich_media_title{font-size:22px;line-height:1.4;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e7e7eb;}@supports(-webkit-overflow-scrolling:touch){.rich_media_title{font-weight:700}}.rich_media_meta{display:inline-block;vertical-align:middle;padding:0 0 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.rich_media_meta.icon_appmsg_tag{margin-right:0px}.rich_media_meta.meta_tag_text{margin-right:0}.rich_media_meta_list em{font-style:normal}.rich_media_meta_text{color:#a5a5a5;}p{margin:0;}.msgBox{margin-top:20px;padding-top:20px;padding-left:50px;overflow:hidden;border-top:2px dashed #09a2ff;}.msg{padding-top:7px;clear:both;}.msgBody{float:right;width:100%;margin-left:55px;padding-bottom:15px;border-bottom:1px dashed #e0e0e0;}.userHeadImg{float:left;margin-left:-50px;}.userHeadImg img{width:40px;height:40px;margin-right:10px;border-radius:3px;}.userName{color:#888888;line-height:24px;font-size:14px;margin:5px 0 5px 0;height:24px;}.replyBody,.autherBody{color:#565656;font-size:15px;}.replyIcon{border-left:4px solid #33ab01;margin-right:5px;}.ad{text-decoration:none;color:#d6d4d4;font-size:12px;}.msgBodyReply{padding-top:5px;}.userName span{float:right;color:#afafaf;font-size:14px;}code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;}.code-snippet__fix{font-size:14px;margin:10px 0;display:block;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:flex;padding-left:25px;line-height:26px}.code-snippet__fix code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;font-family:Consolas,\"Liberation Mono\",Menlo,Courier,monospace}.code-snippet__comment,.code-snippet__quote{color:#afafaf;font-style:italic}.code-snippet__keyword,.code-snippet__selector-tag,.code-snippet__subst{color:#ca7d37}.code-snippet__number,.code-snippet__literal,.code-snippet__variable,.code-snippet__template-variable,.code-snippet__tag .code-snippet__attr{color:#0e9ce5}.code-snippet__string,.code-snippet__doctag{color:#d14}.code-snippet__title,.code-snippet__section,.code-snippet__selector-id{color:#d14}.code-snippet__subst{font-weight:normal}.code-snippet__type,.code-snippet__class .code-snippet__title{color:#0e9ce5}.code-snippet__tag,.code-snippet__name,.code-snippet__attribute{color:#0e9ce5;font-weight:normal}.code-snippet__regexp,.code-snippet__link{color:#ca7d37}.code-snippet__symbol,.code-snippet__bullet{color:#d14}.code-snippet__built_in,.code-snippet__builtin-name{color:#ca7d37}.code-snippet__meta{color:#afafaf}.code-snippet__deletion{background:#fdd}.code-snippet__addition{background:#dfd}.code-snippet__emphasis{font-style:italic}.code-snippet__strong{font-weight:bold}.account_avatar{width:40px;height:40px;padding:0;}.account_info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;padding:20px 0;align-items:center}.flex_bd{padding-left:14px;}.account_nickname{display:inline-block;vertical-align:middle;line-height:1.2;color:#576b95;font-size:14px}.account_desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:rgba(0,0,0,0.3);font-size:14px;line-height:1.2;padding-top:.4em}.msg_source_url{text-align:left;word-break:break-all;margin-top:20px;}.msg_source_url a{padding-right:10px;}.msg_source_url .url_text{color:#a8a8a8;}.video-desc{font-size:14px;margin-top:15px;color:#6c6c6c;}.msg_source_url{text-align:left;}.original_primary_card_tips{color:rgba(0,0,0,0.3);line-height:1.4;font-size:15px;}.weui-flex__item{margin-bottom:20px;padding:20px 16px;margin-top:16px;line-height:1.4;align-items:center;background-color:#f7f7f7;border-radius:8px;position:relative;}.original_primary_desc{color:rgba(0,0,0,0.5);font-size:14px;padding-top:4px;width:auto;overflow:hidden;text-overflow:ellipsis;}.msgBodyReplyList{border-top:1px solid #e1e1e1;margin-top:10px;}.msgBodyReplyListTop{border-top:0;}.reply_like_num{float:right;font-size:14px;color:#c7c7c7;}.msgData{margin-top:20px;color:#626262;}.msgData span{font-size:14px;padding-right:15px;}.msgData .likes{float:right;padding-right:0;}.js_text_content p{font-size:18px;}.rich_media_meta_link{font-size:15px;}blockquote {padding-left: 10px;border-left: 3px solid #dbdbdb;color: rgba(0,0,0,0.5);font-size: 15px;padding-top: 4px;margin: 1em 0;}.video_iframe{width:500px;height:400px;}.blockquote_info{color:#b5b5b5;margin-top:10px;}#copyright_logo{color:#bdbdbd;}.rich_media_meta_list{margin-bottom:10px;}.reprint{background:#efefef;border-radius:5px;padding:8px;color:#1f1f1f;}.reprint a{word-break:break-all;}.topic{color:#8e8e8e;background:#f7f7f7;border-radius:5px;padding:10px 8px;}.topic a{padding-right:5px;}.topic p{margin-bottom:5px;}\n<\/style>\n<link href=\"https:\/\/www.juyifx.cn\/config\/css\/wxArticle.css\" rel=\"stylesheet\"\/>\n<\/head><script>\nvar data={\"mp\":\"\u751f\u4fe1\u679c\",\"title\":\"\u5e08\u59b9\u5e26\u4f60\u7ed8\u5236\u4e0d\u4e00\u6837\u7684\u4e34\u5e8a\u76f8\u5173\u5206\u6790\u70ed\u56fe\",\"time\":\"2023-07-26 19:01:02\",\"timeStamp\":\"1690369262\"};\n<\/script><br \/>\n<body><\/p>\n<div class=\"rich_media\">\n<h1 class=\"rich_media_title\" id=\"activity-name\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247490532&#038;idx=3&#038;sn=914d0aeeb895378b9f364c310425b06f&#038;chksm=cf7c8b21f80b023731818085702b581e562c6e6620474aabc4106f3a7fb372bafb70fd4b8b06#rd\" target=\"_blank\" rel=\"noopener\">\u5e08\u59b9\u5e26\u4f60\u7ed8\u5236\u4e0d\u4e00\u6837\u7684\u4e34\u5e8a\u76f8\u5173\u5206\u6790\u70ed\u56fe<\/a><\/h1>\n<div id=\"meta_content\" class=\"rich_media_meta_list\"><span class=\"rich_media_meta rich_media_meta_text\">\u5c0f\u5e08\u59b9&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_nickname\" id=\"profileBt\"><a href=\"javascript:void(0);\" class=\"wx_tap_link js_wx_tap_highlight weui-wa-hotarea\" id=\"js_name\">\u751f\u4fe1\u679c&nbsp;&nbsp;<\/a><\/span><em id=\"publish_time\" class=\"rich_media_meta rich_media_meta_text\">2023-07-26 19:01:02<\/em><\/div>\n<p><content><\/p>\n<div class=\"reprint\">\n<p>\u8f6c\u81ea\u516c\u4f17\u53f7\uff1aR\u8bed\u8a00\u5b66\u5f92<br \/><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247484664&#038;idx=1&#038;sn=a4f3898e400ad779af3d4af7340d00d1\" target=\"_blank\" title=\"\u9605\u8bfb\u539f\u6587\" rel=\"noopener\">http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247484664&#038;idx=1&#038;sn=a4f3898e400ad779af3d4af7340d00d1<\/a><\/p>\n<\/div>\n<section style=\"font-size: 16px;margin-bottom: 24px;\">\n<section style=\"text-align: center;justify-content: center;margin: 10px 0%;display: flex;flex-flow: row nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;\">\n<section style=\"font-size: 19px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>&nbsp;\u70b9<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section style=\"font-size: 19px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u51fb<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section style=\"font-size: 19px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u84dd<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section style=\"font-size: 19px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u5b57<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section style=\"color: rgb(255, 226, 93);font-size: 12px;\" powered-by=\"xiumi.us\">\n<p>\u2605<\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section style=\"font-size: 19px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u5173<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section style=\"font-size: 19px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u6ce8<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section style=\"font-size: 19px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u6211<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section style=\"font-size: 19px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;border-width: 1px;border-style: solid;border-color: rgb(249, 172, 172);background-color: rgb(249, 172, 172);width: 1.8em;height: 1.8em;line-height: 1.8em;border-radius: 100%;margin-left: auto;margin-right: auto;font-size: 17px;color: rgb(255, 255, 255);\">\n<p>\u4eec<\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\"><span style=\"text-indent: 2em;\">\u6839\u636e\u57fa\u56e0\u8868\u8fbe\u6570\u636e\u548c\u4e34\u5e8a\u6570\u636e\u751f\u6210\u70ed\u56fe\uff0c\u5e76\u53ef\u89c6\u5316\u57fa\u56e0\u8868\u8fbe\u6c34\u5e73\u548c\u4e34\u5e8a\u6027\u72b6\u4e4b\u95f4\u7684\u5173\u8054\u3002\u5176\u4e3b\u8981\u610f\u4e49\u5982\u4e0b\uff1a<\/span><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><strong>\u6570\u636e\u6574\u5408\uff1a<\/strong>\u4ee3\u7801\u5c06\u57fa\u56e0\u8868\u8fbe\u6570\u636e\u548c\u4e34\u5e8a\u6570\u636e\u8fdb\u884c\u6574\u5408\uff0c\u4ee5\u4fbf\u5728\u540e\u7eed\u5206\u6790\u4e2d\u540c\u65f6\u8003\u8651\u57fa\u56e0\u8868\u8fbe\u6c34\u5e73\u548c\u4e34\u5e8a\u6027\u72b6\u3002<\/p>\n<section><br  \/><\/section>\n<p style=\"text-indent: 0em;white-space: normal;\"><strong>\u5206\u7ec4\u548c\u6392\u5e8f\uff1a<\/strong>\u6839\u636e\u76ee\u6807\u57fa\u56e0\u7684\u8868\u8fbe\u91cf\uff0c\u5c06\u6837\u672c\u5206\u4e3a\u9ad8\u8868\u8fbe\u7ec4\u548c\u4f4e\u8868\u8fbe\u7ec4\uff0c\u5e76\u6839\u636e\u57fa\u56e0\u8868\u8fbe\u6c34\u5e73\u5bf9\u6837\u672c\u8fdb\u884c\u6392\u5e8f\uff0c\u4ee5\u4fbf\u540e\u7eed\u53ef\u89c6\u5316\u65f6\u80fd\u591f\u5448\u73b0\u57fa\u56e0\u8868\u8fbe\u7684\u6a21\u5f0f\u3002\u7edf\u8ba1\u5206\u6790\uff1a\u4ee3\u7801\u4f7f\u7528\u5361\u65b9\u68c0\u9a8c\uff08chisq.test\uff09\u6765\u8bc4\u4f30\u4e34\u5e8a\u6027\u72b6\u4e0e\u57fa\u56e0\u8868\u8fbe\u6c34\u5e73\u4e4b\u95f4\u7684\u5173\u8054\u6027\uff0c\u5e76\u6839\u636e\u68c0\u9a8c\u7ed3\u679c\u7ed9\u51fa\u663e\u8457\u6027\u6807\u8bb0\u3002\u8fd9\u6709\u52a9\u4e8e\u7814\u7a76\u4eba\u5458\u8bc6\u522b\u54ea\u4e9b\u4e34\u5e8a\u6027\u72b6\u4e0e\u57fa\u56e0\u8868\u8fbe\u5b58\u5728\u663e\u8457\u5173\u8054\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><strong>\u70ed\u56fe\u7ed8\u5236\uff1a<\/strong>\u4ee3\u7801\u4f7f\u7528ComplexHeatmap\u5305\u7ed8\u5236\u70ed\u56fe\uff0c\u5c06\u57fa\u56e0\u8868\u8fbe\u6570\u636e\u548c\u4e34\u5e8a\u6027\u72b6\u7684\u5173\u8054\u53ef\u89c6\u5316\u3002\u70ed\u56fe\u4e2d\uff0c\u884c\u8868\u793a\u6837\u672c\uff0c\u5217\u8868\u793a\u57fa\u56e0\u548c\u4e34\u5e8a\u6027\u72b6\uff0c\u989c\u8272\u8868\u793a\u57fa\u56e0\u8868\u8fbe\u6c34\u5e73\u548c\u4e34\u5e8a\u6027\u72b6\u7684\u4e0d\u540c\u7c7b\u522b\u3002\u7ed3\u679c\u5c55\u793a\uff1a\u6700\u7ec8\u751f\u6210\u7684\u70ed\u56fe\u53ef\u4ee5\u5e2e\u52a9\u7814\u7a76\u4eba\u5458\u76f4\u89c2\u5730\u4e86\u89e3\u57fa\u56e0\u8868\u8fbe\u6c34\u5e73\u548c\u4e34\u5e8a\u6027\u72b6\u4e4b\u95f4\u7684\u5173\u7cfb\u3002\u70ed\u56fe\u4e2d\u7684\u6a21\u5f0f\u548c\u989c\u8272\u7f16\u7801\u53ef\u4ee5\u63ed\u793a\u57fa\u56e0\u8868\u8fbe\u7684\u5dee\u5f02\u4ee5\u53ca\u57fa\u56e0\u4e0e\u4e34\u5e8a\u6027\u72b6\u4e4b\u95f4\u7684\u76f8\u5173\u6027\u3002<\/p>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"1.2702702702702702\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/1_bXMiaoriaMXAv3dMVUIcgJ6IbldwgA.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXOC7kNS99NupMQcbQm69DHnWOo3CRmqg6a7YPR8tVOada3vqbXMiaoriaMXAv3dMVUIcgJ6IbldwgA\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"629\" style=\"vertical-align: middle;width: 100%;\"  \/><\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#if (!requireNamespace(\"BiocManager\", quietly = TRUE))<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># &nbsp; &nbsp;install.packages(\"BiocManager\")<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#BiocManager::install(\"ComplexHeatmap\")<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#BiocManager::install(\"limma\")<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u5f15\u7528\u5305<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">library(limma)<\/span><\/code><code><span class=\"code-snippet_outer\">library(ComplexHeatmap)<\/span><\/code><code><span class=\"code-snippet_outer\">expFile=<span class=\"code-snippet__string\">\"geneExp.txt\"<\/span> &nbsp; &nbsp; &nbsp; <span class=\"code-snippet__comment\">#\u8868\u8fbe\u6570\u636e\u6587\u4ef6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">cliFile=<span class=\"code-snippet__string\">\"clinical.txt\"<\/span> &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\">#\u4e34\u5e8a\u6570\u636e\u6587\u4ef6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">setwd(<span class=\"code-snippet__string\">\"C:\\biowolf\\Gene\\14.cliHeatmap\"<\/span>) &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\">#\u8bbe\u7f6e\u5de5\u4f5c\u76ee\u5f55<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u901a\u8fc7library()\u51fd\u6570\u5f15\u7528\u4e86limma\u548cComplexHeatmap\u4e24\u4e2a\u5305\u3002\u6307\u5b9a\u8868\u8fbe\u6570\u636e\u6587\u4ef6\u8def\u5f84expFile\u548c\u4e34\u5e8a\u6570\u636e\u6587\u4ef6\u8def\u5f84cliFile\u3002<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u4f7f\u7528setwd()\u51fd\u6570\u8bbe\u7f6e\u5de5\u4f5c\u76ee\u5f55\u4e3a\"C:\\biowolf\\Gene\\14.cliHeatmap\"\u3002\u901a\u8fc7read.table()\u51fd\u6570\u8bfb\u53d6\u8868\u8fbe\u6570\u636e\u6587\u4ef6\u548c\u4e34\u5e8a\u6570\u636e\u6587\u4ef6\u3002\u63d0\u53d6\u8868\u8fbe\u6570\u636e\u6587\u4ef6\u4e2d\u7684\u57fa\u56e0\u540d\u79f0\u548c\u7b2c\u4e00\u4e2a\u57fa\u56e0\u7684\u5217\u6570\u636e\u3002\u5220\u9664\u6b63\u5e38\u6837\u672c\uff0c\u53ea\u4fdd\u7559\u80bf\u7624\u6837\u672c\u7684\u6570\u636e\uff0c\u5e76\u5bf9\u91cd\u590d\u6837\u672c\u6c42\u5747\u503c\u3002\u6839\u636e\u76ee\u6807\u57fa\u56e0\u7684\u8868\u8fbe\u91cf\u5c06\u6837\u672c\u8fdb\u884c\u5206\u7ec4\uff0c\u5e76\u5728\u6570\u636e\u6846\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u540d\u4e3a\"Type\"\u7684\u5217\u3002<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8bfb\u53d6\u8868\u8fbe\u6570\u636e\u6587\u4ef6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">rt=read.table(expFile, header=<span class=\"code-snippet__built_in\">T<\/span>, sep=<span class=\"code-snippet__string\">\"t\"<\/span>, check.names=<span class=\"code-snippet__built_in\">F<\/span>, row.names=<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">gene=colnames(rt)[<span class=\"code-snippet__number\">1<\/span>]<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u5220\u6389\u6b63\u5e38\u6837\u54c1<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">tumorData=rt[rt$Type==<span class=\"code-snippet__string\">\"Tumor\"<\/span>,<span class=\"code-snippet__number\">1<\/span>,drop=<span class=\"code-snippet__built_in\">F<\/span>]<\/span><\/code><code><span class=\"code-snippet_outer\">tumorData=as.matrix(tumorData)<\/span><\/code><code><span class=\"code-snippet_outer\">rownames(tumorData)=gsub(<span class=\"code-snippet__string\">\"(.*?)\\-(.*?)\\-(.*?)\\-(.*?)\\-.*\"<\/span>, <span class=\"code-snippet__string\">\"\\1\\-\\2\\-\\3\"<\/span>, rownames(tumorData))<\/span><\/code><code><span class=\"code-snippet_outer\">data=avereps(tumorData)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u6839\u636e\u76ee\u6807\u57fa\u56e0\u8868\u8fbe\u91cf\u5bf9\u6837\u54c1\u8fdb\u884c\u5206\u7ec4<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">Type=ifelse(data[,gene]&gt;median(data[,gene]), <span class=\"code-snippet__string\">\"High\"<\/span>, <span class=\"code-snippet__string\">\"Low\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">Type=factor(Type, levels=<span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"Low\"<\/span>,<span class=\"code-snippet__string\">\"High\"<\/span>))<\/span><\/code><code><span class=\"code-snippet_outer\">data=cbind(as.data.frame(data), Type)<\/span><\/code><code><span class=\"code-snippet_outer\">data=data[order(data[,gene]),]<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8bfb\u53d6\u4e34\u5e8a\u6570\u636e\u6587\u4ef6\uff0c\u5e76\u5bf9\u5176\u4e2d\u7684\"Age\"\u5217\u8fdb\u884c\u5206\u7c7b\uff0c\u6839\u636e\u5e74\u9f84\u5206\u4e3a\"&gt;65\"\u548c\"&lt;=65\"\u4e24\u7ec4\u3002<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">cli=read.table(cliFile, header=<span class=\"code-snippet__built_in\">T<\/span>, sep=<span class=\"code-snippet__string\">\"t\"<\/span>, check.names=<span class=\"code-snippet__built_in\">F<\/span>, row.names=<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">cli[,<span class=\"code-snippet__string\">\"Age\"<\/span>]=ifelse(cli[,<span class=\"code-snippet__string\">\"Age\"<\/span>]==<span class=\"code-snippet__string\">\"unknow\"<\/span>, <span class=\"code-snippet__string\">\"unknow\"<\/span>, ifelse(cli[,<span class=\"code-snippet__string\">\"Age\"<\/span>]&gt;<span class=\"code-snippet__number\">65<\/span>,<span class=\"code-snippet__string\">\"&gt;65\"<\/span>,<span class=\"code-snippet__string\">\"&lt;=65\"<\/span>))<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"1.3006535947712419\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/2_ot26CqrtaxgaWdOlwyD770wic6haoQ.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXOC7kNS99NupMQcbQm69DH6Ar5w0dN1CrFdzhdvVsEbsRJFot26CqrtaxgaWdOlwyD770wic6haoQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"612\" style=\"vertical-align: middle;width: 100%;\"  \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\">\u5bf9\u4e34\u5e8a\u6027\u72b6\u8fdb\u884c\u5faa\u73af\uff0c\u5bf9\u6bcf\u4e2a\u4e34\u5e8a\u6027\u72b6\u4e0e\u57fa\u56e0\u8868\u8fbe\u6c34\u5e73\u4e4b\u95f4\u7684\u5173\u8054\u8fdb\u884c\u5361\u65b9\u68c0\u9a8c\uff0c\u5f97\u5230\u663e\u8457\u6027\u6807\u8bb0\u3002\u5c06\u663e\u8457\u6027\u6807\u8bb0\u6dfb\u52a0\u5230\u70ed\u56fe\u6570\u636e\u6846rt\u7684\u5217\u540d\u4e2d\u3002<\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u5408\u5e76\u6570\u636e<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">samSample=intersect(row.names(data), row.names(cli))<\/span><\/code><code><span class=\"code-snippet_outer\">data=data[samSample,<span class=\"code-snippet__string\">\"Type\"<\/span>,drop=<span class=\"code-snippet__built_in\">F<\/span>]<\/span><\/code><code><span class=\"code-snippet_outer\">cli=cli[samSample,,drop=<span class=\"code-snippet__built_in\">F<\/span>]<\/span><\/code><code><span class=\"code-snippet_outer\">rt=cbind(data, cli)<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u5bf9\u4e34\u5e8a\u6027\u72b6\u8fdb\u884c\u5faa\u73af\uff0c\u89c2\u5bdf\u4e34\u5e8a\u6027\u72b6\u5728\u9ad8\u4f4e\u8868\u8fbe\u7ec4\u4e4b\u95f4\u662f\u5426\u5177\u6709\u5dee\u5f02\uff0c\u5f97\u5230\u663e\u8457\u6027\u6807\u8bb0<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">sigVec=<span class=\"code-snippet__built_in\">c<\/span>(gene)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">for<\/span>(clinical <span class=\"code-snippet__keyword\">in<\/span> colnames(rt[,<span class=\"code-snippet__number\">2<\/span>:ncol(rt)])){<\/span><\/code><code><span class=\"code-snippet_outer\">data=rt[<span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"Type\"<\/span>, clinical)]<\/span><\/code><code><span class=\"code-snippet_outer\">colnames(data)=<span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"Type\"<\/span>, <span class=\"code-snippet__string\">\"clinical\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">data=data[(data[,<span class=\"code-snippet__string\">\"clinical\"<\/span>]!=<span class=\"code-snippet__string\">\"unknow\"<\/span>),]<\/span><\/code><code><span class=\"code-snippet_outer\">tableStat=table(data)<\/span><\/code><code><span class=\"code-snippet_outer\">stat=chisq.test(tableStat)<\/span><\/code><code><span class=\"code-snippet_outer\">pvalue=stat$p.value<\/span><\/code><code><span class=\"code-snippet_outer\">Sig=ifelse(pvalue&lt;<span class=\"code-snippet__number\">0.001<\/span>,<span class=\"code-snippet__string\">\"***\"<\/span>,ifelse(pvalue&lt;<span class=\"code-snippet__number\">0.01<\/span>,<span class=\"code-snippet__string\">\"**\"<\/span>,ifelse(pvalue&lt;<span class=\"code-snippet__number\">0.05<\/span>,<span class=\"code-snippet__string\">\"*\"<\/span>,<span class=\"code-snippet__string\">\"\"<\/span>)))<\/span><\/code><code><span class=\"code-snippet_outer\">sigVec=<span class=\"code-snippet__built_in\">c<\/span>(sigVec, paste0(clinical, Sig))<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><code><span class=\"code-snippet_outer\">colnames(rt)=sigVec<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u5b9a\u4e49\u4e86\u70ed\u56fe\u6ce8\u91ca\u7684\u989c\u8272\u3002\u57fa\u56e0\u8868\u8fbe\u6c34\u5e73\u4f7f\u7528\u84dd\u8272\u548c\u7ea2\u8272\u8868\u793a\u4f4e\u548c\u9ad8\uff0c\u4e34\u5e8a\u6027\u72b6\u4f7f\u7528\u81ea\u5b9a\u4e49\u7684\u989c\u8272\u5411\u91cf\u8868\u793a\u3002<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#rt=rt[apply(rt,1,function(x)any(is.na(match('unknow',x)))),,drop=F]<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">bioCol=<span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"#0066FF\"<\/span>,<span class=\"code-snippet__string\">\"#FF9900\"<\/span>,<span class=\"code-snippet__string\">\"#FF0000\"<\/span>,<span class=\"code-snippet__string\">\"#ed1299\"<\/span>, <span class=\"code-snippet__string\">\"#0dbc21\"<\/span>, <span class=\"code-snippet__string\">\"#246b93\"<\/span>, <span class=\"code-snippet__string\">\"#cc8e12\"<\/span>, <span class=\"code-snippet__string\">\"#d561dd\"<\/span>, <span class=\"code-snippet__string\">\"#c93f00\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">\"#ce2523\"<\/span>, <span class=\"code-snippet__string\">\"#f7aa5d\"<\/span>, <span class=\"code-snippet__string\">\"#9ed84e\"<\/span>, <span class=\"code-snippet__string\">\"#39ba30\"<\/span>, <span class=\"code-snippet__string\">\"#6ad157\"<\/span>, <span class=\"code-snippet__string\">\"#373bbf\"<\/span>, <span class=\"code-snippet__string\">\"#a1ce4c\"<\/span>, <span class=\"code-snippet__string\">\"#ef3bb6\"<\/span>, <span class=\"code-snippet__string\">\"#d66551\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">\"#1a918f\"<\/span>, <span class=\"code-snippet__string\">\"#7149af\"<\/span>, <span class=\"code-snippet__string\">\"#ff66fc\"<\/span>, <span class=\"code-snippet__string\">\"#2927c4\"<\/span>, <span class=\"code-snippet__string\">\"#57e559\"<\/span> ,<span class=\"code-snippet__string\">\"#8e3af4\"<\/span> ,<span class=\"code-snippet__string\">\"#f9a270\"<\/span> ,<span class=\"code-snippet__string\">\"#22547f\"<\/span>, <span class=\"code-snippet__string\">\"#db5e92\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">\"#4aef7b\"<\/span>, <span class=\"code-snippet__string\">\"#e86502\"<\/span>, <span class=\"code-snippet__string\">\"#99db27\"<\/span>, <span class=\"code-snippet__string\">\"#e07233\"<\/span>, <span class=\"code-snippet__string\">\"#8249aa\"<\/span>,<span class=\"code-snippet__string\">\"#cebb10\"<\/span>, <span class=\"code-snippet__string\">\"#03827f\"<\/span>, <span class=\"code-snippet__string\">\"#931635\"<\/span>, <span class=\"code-snippet__string\">\"#ff523f\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">\"#edd05e\"<\/span>, <span class=\"code-snippet__string\">\"#6f25e8\"<\/span>, <span class=\"code-snippet__string\">\"#0dbc21\"<\/span>, <span class=\"code-snippet__string\">\"#167275\"<\/span>, <span class=\"code-snippet__string\">\"#280f7a\"<\/span>, <span class=\"code-snippet__string\">\"#6373ed\"<\/span>, <span class=\"code-snippet__string\">\"#5b910f\"<\/span> ,<span class=\"code-snippet__string\">\"#7b34c1\"<\/span> ,<span class=\"code-snippet__string\">\"#0cf29a\"<\/span> ,<span class=\"code-snippet__string\">\"#d80fc1\"<\/span>,<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">\"#dd27ce\"<\/span>, <span class=\"code-snippet__string\">\"#07a301\"<\/span>, <span class=\"code-snippet__string\">\"#ddd53e\"<\/span>, <span class=\"code-snippet__string\">\"#391c82\"<\/span>, <span class=\"code-snippet__string\">\"#2baeb5\"<\/span>,<span class=\"code-snippet__string\">\"#925bea\"<\/span>, <span class=\"code-snippet__string\">\"#09f9f5\"<\/span>, <span class=\"code-snippet__string\">\"#63ff4f\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">colorList=<span class=\"code-snippet__built_in\">list<\/span>()<\/span><\/code><code><span class=\"code-snippet_outer\">colorList[[gene]]=<span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"Low\"<\/span>=<span class=\"code-snippet__string\">\"blue\"<\/span>, <span class=\"code-snippet__string\">\"High\"<\/span>=<span class=\"code-snippet__string\">\"red\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">j=<span class=\"code-snippet__number\">0<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">for<\/span>(cli <span class=\"code-snippet__keyword\">in<\/span> colnames(rt[,<span class=\"code-snippet__number\">2<\/span>:ncol(rt)])){<\/span><\/code><code><span class=\"code-snippet_outer\">cliLength=<span class=\"code-snippet__built_in\">length<\/span>(levels(factor(rt[,cli])))<\/span><\/code><code><span class=\"code-snippet_outer\">cliCol=bioCol[(j+<span class=\"code-snippet__number\">1<\/span>):(j+cliLength)]<\/span><\/code><code><span class=\"code-snippet_outer\">j=j+cliLength<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__built_in\">names<\/span>(cliCol)=levels(factor(rt[,cli]))<\/span><\/code><code><span class=\"code-snippet_outer\">cliCol[<span class=\"code-snippet__string\">\"unknow\"<\/span>]=<span class=\"code-snippet__string\">\"grey75\"<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">colorList[[cli]]=cliCol<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u7ed8\u5236\u70ed\u56fe<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">ha=HeatmapAnnotation(df=rt, col=colorList)<\/span><\/code><code><span class=\"code-snippet_outer\">zero_row_mat=matrix(nrow=<span class=\"code-snippet__number\">0<\/span>, ncol=nrow(rt))<\/span><\/code><code><span class=\"code-snippet_outer\">Hm=Heatmap(zero_row_mat, top_annotation=ha)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u521b\u5efaHeatmapAnnotation\u5bf9\u8c61ha\uff0c\u7528\u4e8e\u5b9a\u4e49\u70ed\u56fe\u7684\u6ce8\u91ca\u3002\u7a7a\u7684\u77e9zero_row_mat\u4f5c\u4e3a\u70ed\u56fe\u7684\u4e3b\u4f53\u6570\u636e\u3002\u4f7f\u7528Heatmap()\u51fd\u6570\u521b\u5efa\u70ed\u56fe\u5bf9\u8c61Hm\uff0c\u5c06\u6ce8\u91ca\u5bf9\u8c61ha\u4f5c\u4e3a\u9876\u90e8\u6ce8\u91ca\u3002<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8f93\u51fa\u70ed\u56fe<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">pdf(file=<span class=\"code-snippet__string\">\"heatmap.pdf\"<\/span>, width=<span class=\"code-snippet__number\">7<\/span>, height=<span class=\"code-snippet__number\">5<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">draw(Hm, merge_legend = <span class=\"code-snippet__literal\">TRUE<\/span>, heatmap_legend_side = <span class=\"code-snippet__string\">\"bottom\"<\/span>, annotation_legend_side = <span class=\"code-snippet__string\">\"bottom\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">dev.off()<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u4f7f\u7528pdf()\u51fd\u6570\u521b\u5efa\u4e00\u4e2aPDF\u6587\u4ef6\uff0c\u6587\u4ef6\u540d\u4e3a\"heatmap.pdf\"\uff0c\u6307\u5b9a\u5bbd\u5ea6\u548c\u9ad8\u5ea6\u3002\u4f7f\u7528draw()\u51fd\u6570\u5c06\u70ed\u56fe\u5bf9\u8c61Hm\u7ed8\u5236\u5230PDF\u6587\u4ef6\u4e2d\u3002<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\">\u6765\u7ed9\u5927\u5bb6\u5c55\u793a\u5c55\u793a\u7ed3\u679c\u56fe\u5427\uff0c\u4f7f\u7528firefox\u547d\u4ee4\u3002<\/p>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.43796296296296294\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/3_trQq1IbE6DoVn7sYhaq0yM5YtEZ90A.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXOC7kNS99NupMQcbQm69DHOEpPWcYGAQ1S4EnN3gBGkfMMtrQq1IbE6DoVn7sYhaq0yM5YtEZ90A\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 100%;\"  \/><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\">\u603b\u4e4b\uff0c\u7efc\u5408\u5206\u6790\u57fa\u56e0\u8868\u8fbe\u6570\u636e\u548c\u4e34\u5e8a\u6570\u636e\uff0c\u5e76\u901a\u8fc7\u70ed\u56fe\u5c55\u793a\u5b83\u4eec\u4e4b\u95f4\u7684\u5173\u8054\u3002\u901a\u8fc7\u8fd9\u79cd\u7efc\u5408\u5206\u6790\u548c\u53ef\u89c6\u5316\uff0c\u53ef\u4ee5\u66f4\u5168\u9762\u5730\u7406\u89e3\u57fa\u56e0\u8868\u8fbe\u548c\u4e34\u5e8a\u6027\u72b6\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u63ed\u793a\u6f5c\u5728\u7684\u751f\u7269\u5b66\u673a\u5236\u548c\u6307\u5bfc\u8fdb\u4e00\u6b65\u7684\u7814\u7a76\u3002<br  \/><\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<p style=\"white-space: normal;\">\u4e0b\u671f\u5c06\u4e3a\u4f60\u5e26\u6765\u66f4\u591aR\u8bed\u8a00\u7684\u9a9a\u64cd\u4f5c\u6280\u5de7\uff0c\u4ee5\u4e0b\u63a8\u8350\u7684\u662f\u4e00\u4e2a\u591a\u529f\u80fd\u7684\u751f\u4fe1\u5e73\u53f0\u3002<\/p>\n<p style=\"white-space: normal;\">\u4e91\u751f\u4fe1\u5e73\u53f0\u94fe\u63a5\uff1a<\/p>\n<p style=\"white-space: normal;\">http:\/\/www.biocloudservice.com\/home.html\u3002<\/p>\n<\/section>\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: 33.33%;align-self: center;flex: 0 0 auto;\">\n<section style=\"margin-top: 0.5em;margin-bottom: 0.5em;\" powered-by=\"xiumi.us\">\n<section style=\"border-top: 1px dashed rgb(249, 172, 172);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;align-self: center;flex: 0 0 auto;min-width: 5%;height: auto;margin-right: 20px;margin-left: 20px;\">\n<section style=\"margin-top: -3px;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: justify;color: rgb(246, 207, 63);font-size: 20px;\">\n<p style=\"text-align: center;white-space: normal;\">\u2605<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: 33.3333%;align-self: center;flex: 0 0 auto;\">\n<section style=\"margin-top: 0.5em;margin-bottom: 0.5em;\" powered-by=\"xiumi.us\">\n<section style=\"border-top: 1px dashed rgb(249, 172, 172);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"margin-bottom: 24px;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.5555555555555556\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/4_akXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ-1.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJPnBD8yX0Z6OF2zocd2ngHpLOakXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"900\" style=\"\"  \/><\/p>\n<p style=\"margin-bottom: 24px;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.3488888888888889\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/5_orUJ7Wt6jfKhJga1B94BNRow1TXKfA-1.jpg\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/oCSOtP61aEXpV0iaewm4NOiaklxrhaox2keStd5BM9n21jcvEovKia3icPZrorUJ7Wt6jfKhJga1B94BNRow1TXKfA\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"900\" style=\"\"  \/><\/p>\n<p style=\"display: none;margin-bottom: 24px;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<div class=\"msg_source_url\"><a href=\"http:\/\/www.biocloudservice.com\/home.html\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<p><\/content><\/p>\n<div class=\"msg_source_url\"><a href=\"http:\/\/www.biocloudservice.com\/home.html\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5e08\u59b9\u5e26\u4f60\u7ed8\u5236\u4e0d\u4e00\u6837\u7684\u4e34\u5e8a\u76f8\u5173\u5206\u6790\u70ed\u56fe \u5c0f\u5e08\u59b9&nbsp;&nbsp;\u751f\u4fe1\u679c&nbsp;&nbsp;2023-0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/56661"}],"collection":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56661"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/56661\/revisions"}],"predecessor-version":[{"id":56667,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/56661\/revisions\/56667"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=56661"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=56661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}