Cox Proportional Hazards Regression




cox_reg




print(ggforest(cox_reg,data=datasurvfit))




Kaplan Meier Analysis based on median




ggsurvplot(c_meanexp,data=datasurvfit,
                         pval = TRUE, conf.int = TRUE,
                         risk.table = TRUE, # Add risk table
                         risk.table.col = "strata", # Change risk table color by groups
                         linetype = "strata", # Change line type by groups
                         surv.median.line = NULL, # Specify median survival
                         font.tickslab = c(12, "plain", "black"),
                         ggtheme = theme_classic(), # Change ggplot2 theme
                         xlab = "Time in years",
                         legend = "bottom",
                         legend.labs = c("Low Expression", "High Expression"),
                         risk.table.y.text = FALSE)




summary(c_meanexp)$table






broadinstitute/ImagingAMARETTO documentation built on Dec. 3, 2019, 6:38 p.m.