CPSM: Cancer patient survival model - Workflow

Read full text Summarise with VIRAT
Authors: Harpreet Kaur, Pijush Das, Kevin A. Camphausen, Uma T. Shankavaram
Cited by: 0

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

# **CPSM: Cancer patient survival model - Workflow** # Introduction CPSM is an R package that provides a comprehensive computational pipeline for predicting survival probabilities and risk groups in cancer patients. It includes dedicated modules to perform key steps such as data preprocessing, training/test splitting, and normalization. CPSM enables feature selection through univariate cox-regression survival analysis, feature selection though LASSO method, and calculates a LASSO-based Prognostic Index (PI) score. It supports the development of predictive models using different feature sets and offers a suite of visualization tools, including survival curves based on predicted probabilities, barplots of predicted mean and median survival times, Kaplan-Meier (KM) plots overlaid with individual survival predictions, and nomograms for estimating 1-, 3-, 5-, and 10-year survival probabilities. Together, these functionalities make CPSM a powerful and versatile tool for survival analysis in cancer research. # Installation From Bioconductor To install this package, start R (version "4.4") and enter the code provided: ```{r, warning=FALSE, message=FALSE, eval=FALSE} if (!requireNamespace("BiocManager", quietly = TRUE)) { install.packages("BiocManager") } BiocManager::install("CPSM") ``` # Input Data The example input data object, **`Example_TCGA_LGG_FPKM_data`**, contains data for **184 LGG cancer samples** as rows and various features as columns. Gene expression data is represented in **FPKM values**. The dataset includes **11 clinical and demographic features**, **4 types of survival data** (with both time and event information), and **19,978 protein-coding genes**. The clinical and demographic features in the dataset include `Age`, `subtype`, `gender`, `race`, `ajcc_pathologic_tumor_stage`, `histological_type`, `histological_grade`, `treatment_outcome_first_course`, `radiation_treatment_adjuvant`, `sample_type`, and `type`. The four types of survival data included are **Overall Survival (OS)**, **Progression-Free Survival (PFS)**, **Disease-Specific Survival (DSS)**, and **Disease-Free Survival (DFS)**. In the dataset, the columns labeled **OS**, **PFS**, **DSS**, and **DFS** represent event occurrences, while the columns **OS.time**, **PFS.time**, **DSS.time**, and **DFS.time** provide survival times (in days). ```{r , warning=FALSE, message=FALSE} library(CPSM) ``` ```{r } library(SummarizedExperiment) set.seed(7) # set seed data(Example_TCGA_LGG_FPKM_data, package = "CPSM") Example_TCGA_LGG_FPKM_data ``` # Step 1- Data Processing ## Description The **data_process_f** function converts OS time (in days) into months and removes samples where OS/OS.time information is missing. ## Required inputs To use this function, the input data should be provided in TSV format. Additionally, you need to define `col_num` (the column number at which clinical, demographic, and survival information ends, e.g., 20), `surv_time` (the name of the column that contains survival time information, e.g., `OS.time`), and `output` (the desired name for the output, e.g., "New_data"). ## Example Code ```{r } data(Example_TCGA_LGG_FPKM_data, package = "CPSM") combined_df

Fields of Study & Subjects

Gene expression and cancer classification Breast Cancer Treatment Studies Statistical Methods and Inference

Publication details

Journal / source
WorkflowHub
Publication date
1 January 2026
Language
EN