Read a survival data file in Excel or CSV format and standardise the column names to a canonical schema.
Value
A molpath_parsed object whose data slot is a
tibble with columns patient_id, os_months,
os_status, pfs_months, and pfs_status.
Examples
# \donttest{
surv_file <- system.file("extdata", "survival.csv", package = "molpathR")
if (nzchar(surv_file)) {
result <- mp_read_survival(surv_file)
print(result)
}
# }