Skip to content

Date cleaning and preprocessing | Data wrangling | Data visualization | Summary statistics | Kaplan Meier | Cox Proportional Hazards Regression| Stratification | Report Writing | Real world data

Notifications You must be signed in to change notification settings

andrewnana/R-survival-data-analysis

Repository files navigation

Disclaimer

This analysis is intended for educational and research purposes only and has not been peer-reviewed. While efforts have been made to ensure the accuracy of the methods and results, the author does not guarantee the correctness or completeness of the analysis. The author bears no responsibility or liability for any errors, omissions, or outcomes resulting from the use of this material. Use at your own discretion.

Head and Neck Cancer Survival Analysis in R

This project explores the impact of smoking history on the survival outcomes of patients with Head and Neck Squamous Cell Carcinoma (HNSCC), using real-world clinical data from 215 patients at the University of Texas MD Anderson Cancer Center. The data is publicly available at https://www.cancerimagingarchive.net/collection/hnscc/

Objectives

  • Exploratory data analysis
  • Provide a demographic table
  • Visualize survival probabilities using Kaplan-Meier curves
  • Construct a Directed Acyclic Graph (DAG) for the selection of covariates
  • Fit and interpret Cox proportional hazards models
  • Apply multiple imputation for handling missing data

Packages Used

This project uses the following R packages:

  • survival # Survival models
  • dplyr # Data manipulation
  • table1 # Summary tables
  • survminer # Kaplan-Meier visualization
  • readxl# Reading Excel files
  • dagitty # Causal DAGs
  • stargazer # Regression output formatting
  • pheatmap # Heatmaps
  • gtsummary # Publication-ready tables
  • mice # Multiple imputation for missing data

Report

The report is accessible at https://andrewnana.github.io/R-Smoking-and-head-and-neck-cancer/

About

Date cleaning and preprocessing | Data wrangling | Data visualization | Summary statistics | Kaplan Meier | Cox Proportional Hazards Regression| Stratification | Report Writing | Real world data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages