Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancing KM plot data depth and functionality #742

Open
mhaist94 opened this issue Jun 1, 2024 · 1 comment
Open

Enhancing KM plot data depth and functionality #742

mhaist94 opened this issue Jun 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mhaist94
Copy link

mhaist94 commented Jun 1, 2024

Description of feature

Hi all,

thanks for all the previous help on the ehrapy features - you´re a great team!
I have a couple of ideas that might help to enhance the visibility of ehrapy particularly for clinicians / clinician scientists (which could have a big impact on the progress in the field given that most clinicians still use old stat tech like spss or sas).
To keep things in order I will open up a new issue for each of those ideas (stop me if this might not be useful!).
One of those (which is probably an easy fix, but with making a big difference) is enhancing the data density within the KM plots (in order for clinicians to use ehrapy there´s a couple of features that have to be shown in such a KM plot) by adding the following:

  • No at risk table
  • Censors
  • results of log-rank test as p-value plotted within the KM figure
  • median survival highlighted

As I grew up mostly working with R I unfortunately dont have a python env at hand that implements all these features but can provide you the corresponding R-package (survminer, see https://rpkgs.datanovia.com/survminer/ or a general example in Figure 2A of this publication: https://jitc.bmj.com/content/11/9/e007630)

Let me know if this is somehow helpful or if you have any questions.
Thanks all!

@mhaist94 mhaist94 added the enhancement New feature or request label Jun 1, 2024
@Zethson
Copy link
Member

Zethson commented Jun 1, 2024

These ideas are great! Thank you very much, please keep them coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants