Comparing low and high gene expression for 2 genes using KaplanMeir plot
0
0
Entering edit mode
3.7 years ago

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 • 587 views
ADD COMMENT

Login before adding your answer.

Traffic: 2523 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6