PLoS Computational Biology (Jan 2023)

SurvivalPath:A R package for conducting personalized survival path mapping based on time-series survival data.

  • Lujun Shen,
  • Jinqing Mo,
  • Changsheng Yang,
  • Yiquan Jiang,
  • Liangru Ke,
  • Dan Hou,
  • Jingdong Yan,
  • Tao Zhang,
  • Weijun Fan

DOI
https://doi.org/10.1371/journal.pcbi.1010830
Journal volume & issue
Vol. 19, no. 1
p. e1010830

Abstract

Read online

The survival path mapping approach has been proposed for dynamic prognostication of cancer patients using time-series survival data. The SurvivalPath R package was developed to facilitate building personalized survival path models. The package contains functions to convert time-series data into time-slices data by fixed interval based on time information of input medical records. After the pre-processing of data, under a user-defined parameters on covariates, significance level, minimum bifurcation sample size and number of time slices for analysis, survival paths can be computed using the main function, which can be visualized as a tree diagram, with important parameters annotated. The package also includes function for analyzing the connections between exposure/treatment and node transitions, and function for screening patient subgroup with specific features, which can be used for further exploration analysis. In this study, we demonstrate the application of this package in a large dataset of patients with hepatocellular carcinoma, which is embedded in the package. The SurvivalPath R package is freely available from CRAN, with source code and documentation hosted at https://github.com/zhangt369/SurvivalPath.