pharmaverse / ggsurvfit

http://www.danieldsjoberg.com/ggsurvfit/
Other
67 stars 19 forks source link

Feature request: Expand ggsurvfit to include cox regression objects to plot adjusted survival curves #140

Closed bnolan7 closed 1 year ago

bnolan7 commented 1 year ago

Not sure if this is possible, but looking for a solution similar to how the survminer package does adjusted survival curves. So far, I have not had much success with using the survminer package for this, as the ggadjustedcurves function does not allow for tidy data, which seems odd. However, ggsurvfit has been great across the board for KM curves and risk tables.

ddsjoberg commented 1 year ago

is this what you have in mind? or are you planning on a different kind of adjusted curve? https://github.com/ddsjoberg/ggsurvfit/issues/9

ddsjoberg commented 1 year ago

feel free to re-open if needed

bnolan7 commented 1 year ago

Yes it was. Thank you for pointing that out, I must have overlooked it!

Yunuuuu commented 6 months ago

@ddsjoberg Hi, the adjusted survival curve information is currently missing for the issue discussed on https://github.com/ddsjoberg/ggsurvfit/issues/9. Could you please provide any available details regarding the adjusted survival curves ?

ddsjoberg commented 6 months ago

@Yunuuuu thanks for the post.

You're commenting on a closed issue and it's closed because the feature has been implemented. I am not sure what you're asking about

Yunuuuu commented 6 months ago

Thanks for the reply, I want to use ggsurvfit to plot adjusted survival curves for a cox regression like survminer package, but I cannot find the informations in the manual

ddsjoberg commented 6 months ago

@Yunuuuu please open a new issue with a minimal reproducible example (aka a reprex) illustrating the request. A reprex includes both code and data I can run on my machine.

Yunuuuu commented 6 months ago

Thank you for your response. I will post it tomorrow as it is currently too late for me.