R-将生存数据添加到ggsurvplot_combine

时间:2018-11-27 08:34:02

标签: r survival-analysis survival

我目前正在研究显示卵巢癌每次复发后的总体生存率的Kaplan-Meier曲线。

我当前的图形如下:

enter image description here

已使用以下命令进行绘制:

ggsurvplot_combine(fitlistos,test6os, 
               risk.table = 'nrisk_cumevents',
               ggtheme = theme_bw() + theme(plot.title = element_text(hjust = 0.5, face="bold"))
               + theme(legend.text = element_text(size = 6))+
                 theme(legend.key.size = unit(0.4, 'lines')) + theme(legend.background = element_rect(fill = "transparent"))
               + theme(legend.box.background = element_rect(fill = "transparent", colour = "transparent")),
               conf.int = FALSE,
               xscale ="d_m",
               surv.median.line = "hv",
               break.time.by = 365.242199,
               xlab="Month",
               ylab="Survival Propability",
               risk.table.title = "Number at risk",
               title = "Overall Survival after each relapse",
               font.main = c("16", "bold", "Black"),
               font.x = c("12", "bold"),
               font.y = c("12", "bold"),
               legend.labs =c("OS median OS","1st relapse OS","2nd relapse OS","3rd relapse OS","4th relapse OS","5th relapse OS","6th relapse OS"),
               legend.title = element_blank(),
               legend = c(0.6,0.8),)

我对此很感兴趣

enter image description here

来自:二线至六线治疗对原发紫杉烷/铂基治疗后复发性卵巢癌生存的影响

问题是,我找不到一种简单的方法,图例引用了用于曲线的残差中的数据。

感谢您的帮助
问候
托比亚斯·伯格

0 个答案:

没有答案