I am reading up survival analysis of cancer patients and correlating them to gene expression. I came across this tutorial. Its mostly code. So what I still have not been able to understand is how exactly is the clinical data and the gene expression data merged?
For example, I have a matrix of clinical data (m by n) where there are m patients and n columns related to followup days, death days etc. I also have an gene expression data (m by t) where m is the number of patients and t is the genes. I first find the survival probability using Kaplan Meier method and plot it. Now how do I related the survival probability to the expression data?