Implements overall survival analysis or progression-free survival analysis, depending upon the datatypes supplied to surv_designation, and gives a summary of the results.
summary_km(omicsData, percent = NULL, ...)
if `percent` is provided then the time at which that probability of death is returned; else, the summary of the `survival` object is returned
if (FALSE) { # \dontrun{
library(OvarianPepdataBP)
attr(tcga_ovarian_pepdata_bp, "survDF") <- list(t_death = "survival_time",
ind_death = "vital_status")
# No percent is provided so the entire object is returned
summary_km(tcga_ovarian_pepdata_bp)
# Percent is provided so corresponding time point is returned
summary_km(tcga_ovarian_pepdata_bp, .4)
} # }