survminer icon indicating copy to clipboard operation
survminer copied to clipboard

how to retain the confidence interval in plot when try to transform it to plotly object

Open skyroam opened this issue 1 year ago • 0 comments

Expected behavior

Hi, I plot a KM curve using ggsurvplot, and I want to make a interactive plot with plotly. I can extract the curve and risk table by using g[0] and g[1]. However, it seems that the plot loses the information of confidence interval in origin plot. How can I retain the information?

skyroam avatar Sep 06 '23 09:09 skyroam