lifelines

how to change color of censor tick and truncate KM curve if number at risk is < 5 using lifelines library?

how to change color of censor tick and truncate KM curve if number at risk is < 5 using lifelines library? Question: Is it possible to change the colour of the censor tag in lifelines? The code-chunk that I used was kmf.plot_survival_function( show_censors=True, censor_styles={‘ms’: 5, ‘marker’: ‘|’}, at_risk_counts=True, ci_show=False ) And how to truncate when …

Total answers: 1

Show Cancer Specific Survival at exact time (Kaplan Meier in Lifelines)

Show Cancer Specific Survival at exact time (Kaplan Meier in Lifelines) Question: kmf.survival_function_ (LifeLines Package) shows me Cancer Specific Survival (CSS) of my cohort at different times (0, 4, 6…128 month). How can CSS be shown at exactly 120 month? Asked By: Mischa || Source Answers: The survival_function_at_times() method will get you that value. Here …

Total answers: 2