{"id":47749,"date":"2024-06-15T19:00:18","date_gmt":"2024-06-15T11:00:18","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=47749"},"modified":"2024-06-15T19:00:18","modified_gmt":"2024-06-15T11:00:18","slug":"%e5%8f%88%e5%87%86%e5%8f%88%e5%a5%bd%ef%bc%8cr%e8%af%ad%e8%a8%80%e7%bb%98%e5%88%b6%e5%88%97%e7%ba%bf%e5%9b%be%e5%92%8c%e6%a0%a1%e5%87%86%e5%9b%be-13","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=47749","title":{"rendered":"\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\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\":\"\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe\",\"time\":\"2022-11-09 19:00:15\",\"timeStamp\":\"1667991615\"};\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=2247483705&#038;idx=1&#038;sn=2703d7568b5aec31cc9edbbeb6fff260&#038;chksm=cf7c91fcf80b18ea047b7bfc890bfa1a4608d99dff44461b0112963af32ede023f2dd437360b#rd\" target=\"_blank\" rel=\"noopener\">\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe<\/a><\/h1>\n<div id=\"meta_content\" class=\"rich_media_meta_list\"><span id=\"copyright_logo\" class=\"wx_tap_link js_wx_tap_highlight rich_media_meta icon_appmsg_tag appmsg_title_tag weui-wa-hotarea\">\u539f\u521b&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_text\">\u5c0f\u679c&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\">2022-11-09 19:00:15<\/em><\/div>\n<p><content><\/p>\n<div class=\"topic\">\n<p>\u6536\u5f55\u4e8e\u8bdd\u9898<\/p>\n<p><a href=\"https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=Mzg3OTg3MjQyNg==&#038;action=getalbum&#038;album_id=2655932655762505729#wechat_redirect\" title=\"R\" target=\"_blank\" rel=\"noopener\">#R<\/a><a href=\"https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=Mzg3OTg3MjQyNg==&#038;action=getalbum&#038;album_id=2655932655728951298#wechat_redirect\" title=\"\u7ed8\u56fe\" target=\"_blank\" rel=\"noopener\">#\u7ed8\u56fe<\/a><a href=\"https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=Mzg3OTg3MjQyNg==&#038;action=getalbum&#038;album_id=2655932655410184193#wechat_redirect\" title=\"\u4ee3\u7801\" target=\"_blank\" rel=\"noopener\">#\u4ee3\u7801<\/a><\/p>\n<\/div>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.18518518518518517\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2022-11-09_\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe\/1_YHrH5kBzN1unDT7eHqLtdZO1vwdtrw.jpg\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/zcicibWZessAxZibD6iaowp2Zv5dgyZQqBVAac9npnibJvGYo1ZFiafpiayXgbaYHrH5kBzN1unDT7eHqLtdZO1vwdtrw\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"1080\" style=\"\"><\/p>\n<p style=\"text-align: justify;\"><span style=\"text-align: left;background-color: rgba(171, 186, 206, 0.07);\">\u4eca\u5929\u5c0f\u679c\u53c8\u9047\u5230\u4e86\u4e00\u4e2a\u5927\u9ebb\u70e6\uff0c\u5c0f\u679c\u5f88\u5934\u75bc\uff0c\u56e0\u4e3a\u5c0f\u679c\u8981\u505a\u7684\u662f\u72ec\u7acb\u6027\u5206\u6790\uff0c\u4e3b\u8981\u5305\u62ec\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u66f2\u7ebf\uff0c\u4e8e\u662f\u5c0f\u679c\u5c31\u53bb\u627e\u4e86\u4e2a\u5728\u7ebf\u5de5\u5177\uff0c\u7ed3\u679c\u753b\u51fa\u6765\u7684\u56fe\u548c\u4f5c\u4e3a\u6807\u51c6\u7684\u5bf9\u89d2\u7ebf\u76f8\u53bb\u751a\u8fdc\uff0c\u5c31\u50cf\u4e0b\u9762\u8fd9\u6837\u3002<\/span><\/p>\n<section>\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-bottom: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 100%;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgba(171, 186, 206, 0.07);padding: 20px;box-sizing: border-box;\">\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.6\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2022-11-09_\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe\/2_ZTicxfm2ugLAVAib8FNChjEIhey03Q.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAynCaKfGf9KFz2LBHr1g6t46ujicFh5d7PZpwtPJuib8LuMxABCZTicxfm2ugLAVAib8FNChjEIhey03Q\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"500\" style=\"vertical-align: middle;width: 100%;box-sizing: border-box;\"><\/section>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;box-sizing: border-box;\">\u5c0f\u679c\u4e00\u4e0b\u5b50\u5c31\u614c\u4e86\uff0c\u5624\u5624\u5624\uff0c\u95ee\u9898\u5230\u5e95\u51fa\u5728\u54ea\u513f\u5462\uff1f\u53ef\u80fd\u662f\u5728\u7ebf\u5de5\u5177\u9ed8\u8ba4\u4e86\u4e00\u4e9b\u53c2\u6570\uff0c\u65e0\u6cd5\u8c03\u6574\uff0c\u5c0f\u679c\u53bb\u67e5\u4e86\u4e00\u4e0b\uff0c\u6570\u636e\u5728\u505a\u5217\u7ebf\u56fe\u4e4b\u524d\u662f\u8981\u7ecf\u8fc7\u5355\u56e0\u7d20\u548c\u591a\u56e0\u7d20cox\u5206\u6790\u7684\uff0c\u5220\u6389\u4e0d\u663e\u8457\u7684\u7279\u5f81\u624d\u80fd\u505a\u5217\u7ebf\u56fe\u3002\u800c\u5728\u7ebf\u5de5\u5177\u628a\u591a\u56e0\u7d20\u548c\u5217\u7ebf\u56fe\u8fde\u8d77\u6765\u4e86\uff0c\u6839\u672c\u5c31\u4e0d\u7ed9\u4f60\u5220\u6389\u4e0d\u663e\u8457\u7279\u5f81\u7684\u673a\u4f1a\uff0c\u54fc\uff0c\u90a3\u5c31\u53ea\u6709\u81ea\u5df1\u7528\u4ee3\u7801\u8dd1\u4e86\u3002<\/p>\n<p style=\"white-space: normal;box-sizing: border-box;\"><br style=\"box-sizing: border-box;\"  \/><\/p>\n<p style=\"white-space: normal;box-sizing: border-box;\">\u4ee3\u7801\u5982\u4e0b<\/p>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\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<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(survival)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(survminer)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(rms)<\/span><\/code><code><span class=\"code-snippet_outer\">data=read.table(<span class=\"code-snippet__string\">\"D:\/\u5375\u5de2\u764c\u514d\u75ab\u548c\u5185\u8d28\u7f51\/\u72ec\u7acb\u6027\u5206\u6790\/liexian.txt\"<\/span>,header = T,sep=<span class=\"code-snippet__string\">\"t\"<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.6120907\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2022-11-09_\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe\/3_JriaicicZNZX5x7ZWw3Ywj8P0cVJfg.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAynCaKfGf9KFz2LBHr1g6t4TxKBiawjBzxkuJl56fmlnkDoqMJ6JriaicicZNZX5x7ZWw3Ywj8P0cVJfg\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"397\" style=\"vertical-align: middle;width: 100%;box-sizing: border-box;\"  \/><\/section>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;box-sizing: border-box;\"><br style=\"box-sizing: border-box;\"  \/><\/p>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\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<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">dd &lt;- datadist(data)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">options(datadist=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"dd\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\">f &lt;- cph(Surv(Time, Status) ~ chemoresponse+Risk, x=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, y=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, surv=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, data=data,time.inc=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>)<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#time.inc\u4e3a\u65f6\u95f4\u589e\u91cf\uff0c\u8fd9\u91cc\u53ef\u4ee5\u9009\u62e9\u7279\u5f81\uff0c\u56e0\u4e3a\u4e4b\u524d\u5c0f\u4e91\u5df2\u7ecf\u505a\u8fc7\u591a\u56e0\u7d20\u5206\u6790\u4e86\uff0c\u9636\u6bb5\u4e5f\u5c31\u662fstage\u8fd9\u4e2a\u7279\u5f81\u7684\u591a\u56e0\u7d20\u7ed3\u679c\u662f\u4e0d\u663e\u8457\u7684\uff0c\u56e0\u6b64\u5c0f\u4e91\u5728\u753b\u5217\u7ebf\u56fe\u65f6\u5c31\u4e0d\u5e26\u4e0a\u5b83\u4e86<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">surv &lt;- Survival(f)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">nom &lt;- nomogram(f, fun=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">list<\/span>(<span class=\"code-snippet__keyword\" style=\"box-sizing: border-box;\">function<\/span>(x) surv(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>, x), <span class=\"code-snippet__keyword\" style=\"box-sizing: border-box;\">function<\/span>(x) surv(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">3<\/span>, x), <span class=\"code-snippet__keyword\" style=\"box-sizing: border-box;\">function<\/span>(x) surv(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">5<\/span>, x)),<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">lp=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">F<\/span>, funlabel=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"1-year survival\"<\/span>, <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"3-year survival\"<\/span>, <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"5-year survival\"<\/span>), maxscale=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">100<\/span>,<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\">fun.at=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0.95<\/span>, <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0.9<\/span>, <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0.8<\/span>, <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0.7<\/span>, <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0.6<\/span>, <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0.5<\/span>))<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u6267\u884cNomogram\u5206\u6790<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">plot(nom,xfrac=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">.5<\/span>,cex.axis=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,cex.var=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.4834906\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2022-11-09_\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe\/4_Fzd5DdRGMvk20G78TqGW4xVMQ8LzNg.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAynCaKfGf9KFz2LBHr1g6t4cxbXYZ43ZwTBXQ0ysSB64kFrFzd5DdRGMvk20G78TqGW4xVMQ8LzNg\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"848\" style=\"vertical-align: middle;width: 100%;box-sizing: border-box;\"><\/section>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;box-sizing: border-box;\"><br style=\"box-sizing: border-box;\"  \/><\/p>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\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<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">validate(f, method=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"boot\"<\/span>, B=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1000<\/span>, dxy=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">rcorrcens(Surv(Time, Status) ~ predict(f), data = data)<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.1092814\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2022-11-09_\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe\/5_GSDrWMic5qPNcqJ8TOviaLRjibsG1A.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAynCaKfGf9KFz2LBHr1g6t4iaDVaLCrg87P1bkFfT1WibGtaJnzcGSDrWMic5qPNcqJ8TOviaLRjibsG1A\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"668\" style=\"vertical-align: middle;width: 100%;box-sizing: border-box;\"><\/section>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;box-sizing: border-box;\">#C\u6307\u6570\u4e3a1-C\uff0c\u4e5f\u5c31\u662f0.666\uff0c\u8fd9\u79cd\u65b9\u5f0f\u83b7\u5f97\u7684C\u6307\u6570\u6ca1\u6709\u7f6e\u4fe1\u533a\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528boot\u51fd\u6570\u8ba1\u7b97<\/p>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;box-sizing: border-box;\"><br style=\"box-sizing: border-box;\"  \/><\/p>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\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<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(boot)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">c_index &lt;- <span class=\"code-snippet__keyword\" style=\"box-sizing: border-box;\">function<\/span>(data,indices){<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp;dat &lt;- data[indices,]<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp;vames&lt;- <span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"chemoresponse\"<\/span>,<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"Risk\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp;FML &lt;- as.formula(paste(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">'Surv(Time, Status)~'<\/span>,paste(vames, collapse = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"+\"<\/span>)))<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp;fit&lt;- coxph(FML,data =dat )<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp;pr1&lt;-predict(fit,newdata=dat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp;Cindex=rcorrcens(Surv(time, status) ~ pr1, data =dat)[<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>]<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp;Cindex=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>-Cindex<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp;Cindex <\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">}<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">c_index(data,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>:<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">100<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\"><span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\"># [1] 0.666032<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">results &lt;- boot(data=data, statistic=c_index, R=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">500<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">boot.ci(results,conf = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0.95<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;\"><br  \/><\/section>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.5835189\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2022-11-09_\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe\/6_xniaCx6rb56CBQNictXt8N0H1HJicA.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAynCaKfGf9KFz2LBHr1g6t4nrC1RyMRLYKuDr0Hj5wjwA3dfcKxniaCx6rb56CBQNictXt8N0H1HJicA\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"449\" style=\"vertical-align: middle;width: 100%;box-sizing: border-box;\"><\/section>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;box-sizing: border-box;\"><br style=\"box-sizing: border-box;\"  \/><\/p>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\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<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\"><span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u4e0b\u9762\u7ed8\u5236\u6821\u51c6\u66f2\u7ebf<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">par(mfrow = <span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">3<\/span>))<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">f1 &lt;- cph(Surv(Time, Status) ~ chemoresponse+Risk, x=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, y=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, surv=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, data=data, time.inc=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">cal1 &lt;- calibrate(f1, cmethod=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"KM\"<\/span>, method=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"boot\"<\/span>, u=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,m=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">43<\/span>,B=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1000<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\">par(mar=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">6<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">5<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>),cex = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1.0<\/span>)<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u56fe\u5f62\u53c2\u6570<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\">plot(cal1,lwd=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>,lty=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,subtitles = <span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">F<\/span>,<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u5173\u95ed\u526f\u6807\u9898<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\"> &nbsp; &nbsp; errbar.col=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(rgb(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,maxColorValue=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">255<\/span>)),<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u8bef\u5dee\u7ebf\u7684\u989c\u8272<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\"> &nbsp; &nbsp; xlim=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>),ylim=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>),<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u5750\u6807\u8303\u56f4<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp; &nbsp; xlab=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"Predicted 1-year Overall Survival\"<\/span>,ylab=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"Actual 1-year Overall Survival\"<\/span>,<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\"> &nbsp; &nbsp; col=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(rgb(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">255<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,maxColorValue=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">255<\/span>))<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u6821\u6b63\u66f2\u7ebf\u7684\u989c\u8272<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\">abline(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,lty=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">3<\/span>,lwd=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>,col=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"blue\"<\/span>)<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u6dfb\u52a0\u53c2\u8003\u7ebf<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">f3 &lt;- cph(Surv(Time, Status) ~ chemoresponse+Risk, x=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, y=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, surv=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, data=data, time.inc=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">3<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">cal3 &lt;- calibrate(f3, cmethod=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"KM\"<\/span>, method=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"boot\"<\/span>, u=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">3<\/span>,m=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">43<\/span>,B=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1000<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\">par(mar=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">6<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">5<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>),cex = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1.0<\/span>)<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u56fe\u5f62\u53c2\u6570<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\">plot(cal3,lwd=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>,lty=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,subtitles = <span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">F<\/span>,<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u5173\u95ed\u526f\u6807\u9898<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp; &nbsp; errbar.col=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(rgb(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,maxColorValue=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">255<\/span>)),<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp; &nbsp; xlim=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>),ylim=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>),<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp; &nbsp; xlab=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"Predicted 3-year Overall Survival\"<\/span>,ylab=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"Actual 3-year Overall Survival\"<\/span>,<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp; &nbsp; col=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(rgb(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">255<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,maxColorValue=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">255<\/span>))<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">abline(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,lty=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">3<\/span>,lwd=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>,col=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"blue\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">f5 &lt;- cph(Surv(Time, Status) ~ chemoresponse+Risk, x=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, y=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, surv=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">T<\/span>, data=data, time.inc=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">5<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">cal5 &lt;- calibrate(f5, cmethod=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"KM\"<\/span>, method=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"boot\"<\/span>, u=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">5<\/span>,m=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">43<\/span>,B=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1000<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\">par(mar=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">6<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">5<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>),cex = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1.0<\/span>)<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u56fe\u5f62\u53c2\u6570<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box;\">plot(cal5,lwd=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>,lty=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,subtitles = <span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">F<\/span>,<span class=\"code-snippet__comment\" style=\"box-sizing: border-box;\">#\u5173\u95ed\u526f\u6807\u9898<\/span><\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp; &nbsp; errbar.col=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(rgb(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,maxColorValue=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">255<\/span>)),<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp; &nbsp; xlim=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>),ylim=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>),<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp; &nbsp; xlab=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"Predicted 5-year Overall Survival\"<\/span>,ylab=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"Actual 5-year Overall Survival\"<\/span>,<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp; &nbsp; col=<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">c<\/span>(rgb(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">255<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,maxColorValue=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">255<\/span>))<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">abline(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">0<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,lty=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">3<\/span>,lwd=<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>,col=<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"blue\"<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.3518519\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2022-11-09_\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe\/7_EFeiaxu0VbicLQLOBJoOPANvehmrWg.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAynCaKfGf9KFz2LBHr1g6t4fAry7s9v1ialqNEMQmJKhWwF2AvEFeiaxu0VbicLQLOBJoOPANvehmrWg\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"918\" style=\"vertical-align: middle;width: 100%;box-sizing: border-box;\"><\/section>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;box-sizing: border-box;\">\u770b\uff0c\u8fd9\u6837\u7684\u7ed3\u679c\u662f\u4e0d\u662f\u5c31\u597d\u591a\u4e86\uff0c\u548c\u5bf9\u89d2\u7ebf\u57fa\u672c\u4e00\u81f4\u4e86\u3002\u5c0f\u679c\u771f\u662f\u592a\u68d2\u4e86\uff01<\/p>\n<p style=\"white-space: normal;box-sizing: border-box;\"><br  \/><\/p>\n<p style=\"white-space: normal;box-sizing: border-box;\">\u5c0f\u4f19\u4f34\u4eec\u6709\u6ca1\u6709\u770b\u660e\u767d\u5462\uff0c\u5982\u679c\u6709\u4e0d\u660e\u767d\u7684\u6b22\u8fce\u6765\u548c\u5c0f\u679c\u8ba8\u8bba\u54df\uff01<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"box-sizing: border-box;font-size: 16px;\">\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;align-self: stretch;flex: 0 0 auto;background-color: rgb(226, 91, 91);min-width: 5%;max-width: 100%;height: auto;padding-top: 5px;padding-right: 9px;padding-left: 20px;box-sizing: border-box;\">\n<section style=\"text-align: justify;color: rgb(255, 255, 255);box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;box-sizing: border-box;\"><strong style=\"box-sizing: border-box;\">\u626b\u7801\u5173\u6ce8\u6211\u4eec<\/strong><\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;min-width: 5%;max-width: 100%;flex: 0 0 auto;height: auto;align-self: stretch;box-sizing: border-box;\">\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 0px;height: 0px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 38px 0px 0px 19px;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(226, 91, 91);box-sizing: border-box;\"><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 style=\"margin-bottom: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"background-color: rgb(226, 91, 91);height: 3px;box-sizing: border-box;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 20px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: 37%;align-self: center;flex: 0 0 auto;height: auto;box-sizing: border-box;\">\n<section style=\"text-align: center;margin-top: 10px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;width: 90%;height: auto;box-sizing: border-box;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"1\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2022-11-09_\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe\/8_89OwvlQm3aO2ML1v1qDzHNWAic9Tcg.jpg\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/zcicibWZessAwMHt5r1zOwBibker7jibV7yMuXX4P2dGIZhJQMKztBmhgNtxr89OwvlQm3aO2ML1v1qDzHNWAic9Tcg\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"344\" style=\"vertical-align: middle;width: 100%;box-sizing: border-box;\"><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: 57%;align-self: center;flex: 0 0 auto;height: auto;box-sizing: border-box;\">\n<section style=\"text-align: right;margin-bottom: 4px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"color: rgb(238, 216, 190);box-sizing: border-box;\">\n<p style=\"box-sizing: border-box;\">shengxinguoer<\/p>\n<\/section>\n<\/section>\n<section style=\"text-align: center;margin-top: -4px;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: right;color: rgb(226, 91, 91);font-size: 23px;line-height: 1.1;box-sizing: border-box;\">\n<p style=\"box-sizing: border-box;\"><strong style=\"box-sizing: border-box;\">\u751f\u4fe1\u679c<\/strong><\/p>\n<\/section>\n<\/section>\n<section style=\"text-align: justify;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;box-sizing: border-box;\"><br style=\"box-sizing: border-box;\"  \/><\/p>\n<\/section>\n<section style=\"text-align: center;box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: right;box-sizing: border-box;\">\n<p style=\"box-sizing: border-box;\">\u751f\u4fe1\u786c\u6838\u77e5\u8bc6\u89e3\u7b54<\/p>\n<p style=\"box-sizing: border-box;\">\u548c\u5c0f\u679c\u4e00\u8d77\u5b66\u751f\u4fe1<\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<p><\/content>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53c8\u51c6\u53c8\u597d\uff0cR\u8bed\u8a00\u7ed8\u5236\u5217\u7ebf\u56fe\u548c\u6821\u51c6\u56fe \u539f\u521b&nbsp;&nbsp;\u5c0f\u679c&nbsp;&nbsp;\u751f\u4fe1\u679c&nbsp; [&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\/47749"}],"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=47749"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/47749\/revisions"}],"predecessor-version":[{"id":47750,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/47749\/revisions\/47750"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=47749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=47749"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=47749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}