This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Comparing low and high gene expression for 2 genes using KaplanMeir plot

Hello!

I am trying to make a Kaplan Meir plot. I am trying to plot a Kaplan Meir curve that looks at CD20High:CD8High and CD20Low:CD8High expression. However, when I run the code it creates multiple comparisons such as CD8Low:CD20High and CD8Low:CD20Low which I do not need.

This is the command and results I am getting:

fit <- survfit(Surv(time = Survivalmonths, event = Alive0_Allotherstates1) ~ CD20StromaRank + CD8StromaRank , data = panc)

print(fit)

Call: survfit(formula = Surv(time = Survivalmonths, event = Alive0_Allotherstates1) ~ CD20StromaRank + CD8StromaRank, data = panc)

                                         n events median 0.95LCL 0.95UCL                           CD20StromaRank=High, CD8StromaRank=High 18     18  26.65   15.50      37                                            **CD20StromaRank=High, CD8StromaRank=Low   1      1  14.70      NA      NA**                                              CD20StromaRank=Low, CD8StromaRank=High   1      1   8.60      NA      NA                                              **CD20StromaRank=Low, CD8StromaRank=Low    6      6   8.96    4.57      NA**

Is there a different way I can plot the curve I can plot the curves to avoid the once that are starred or group them together so the main focus is on the unstarred ones?

survival kaplanmeir

0 answers

No answers yet.

Log in to answer this question.