Hi, I plot the KM for my data. This is the script:
ggsurvplot(survfit(recsurv~T1_signature, data = MSKCC), size = 1, palette = c("#E7B800", "#2E9FDF"), conf.int = FALSE, pval = TRUE, risk.table = TRUE, risk.table.col = "strata", # Risk table color by groups ggtheme = theme_bw()+theme(plot.title = element_text(hjust = 0.5), panel.grid.major = element_blank(), panel.grid.minor = element_blank(), panel.background = element_blank()))
and this is the plot:
I calculated the HR and it is 9.3. I want to include it in the plot. Anyone knows how to do it?