This repository contains R code to perform Kaplan-Meier survival analysis on TARGET Osteosarcoma samples, categorized by cluster assignments. The goal is to evaluate whether survival differs significantly between groups.
survival_data.tsv
: Survival information for 60 TARGET Osteosarcoma samples.cluster_assignments_targetsamples.tsv
: Cluster assignments for 75 TARGET samples.
The script uses only the overlapping 60 samples between the two datasets.
git clone https://github.com/UCSC-Treehouse/os_kaplan_meier_plot.git
Install the required R packages:
install.packages(c("survival", "survminer", "dplyr", "readr"))