Hello,
My data belong to subtype of TCGA breast cancer. I have to do survival analysis for this data set. I know "survival" package but I don't know how can I involve genes profiles to survival analysis. Surly, for OS analysis, I can use "survfit" as a function for survival analysis and by "Time" and "OS status" I can get my target. but really, I don't know how to input my transcriptom profile as input in my survival analysis. In other words, I want to know how can I gene survival analysis through "survival" package or another nice package. due to this research, I found "RTCGA" as a bioconductor package but it's not possible to customize arguments of "survivalTCGA" for for survival analysis about subtype of breasat cancer. I deeply appreciate if you share your comment with me.
Best Regards,
Mohammad Darzi
Dear Dr. Chris
Hello,
Thanks for your comment. Let me to explain more about my data in samples and patient for you. My genes profiles is data frame include N samples with M genes type as call it "mydata” based on below structure:
And my patient as call it "myclinicaldata" based on below structure:
Ok. I clusterd "mydata" based on genes and now I have 20 clusters that I called them cluster01, cluster02, cluster03…, cluster20 and in each cluster I have some genes. I would like to import each cluster to my survival analysis.
Once again, I deeply appreciate if you share your R solution based on my scenario.
Best Regards
Well you basically get the output of your cluster algorithm and then stick it together with your survival data in the correct order, then stick it in the equation above.
20 clusters sounds a bit high to me. How many patients do you have? I usually get under 10 clusters 100-800 patients. What method did you use?
all values in my last message are not real and were just for presenting my problem. but as you ask me, I would like to explain in real for you. I used WGCNA as a method for constructing my network and in my experiment I have 53 patient through 56000 gene types. so based on this method I have 62 modules (clusters). honestly, I think my modules number are more than my expectation and I don't know why? I will be happy if you share your experience with me.