theislab / ehrapy

Electronic Health Record Analysis with Python.
https://ehrapy.readthedocs.io/
Apache License 2.0
232 stars 19 forks source link

Visualization of CoxPH models #743

Open mhaist94 opened 5 months ago

mhaist94 commented 5 months ago

Description of feature

Hi all,

me again.... Another very commonly used analysis in clinical data analysis are CoxPH models (and its great that you already implemented those!). Most commonly univariate CoxPH models are just presented as a simple table which you already implemented! However, one visual representation that is commonly used for multivariate CoxPH models might enhance the visual feedback of users: the Forestplot. A documentation of forestplots for CoxPH models can be found in the ggforestplot package (R) and an example in Figure 2B of the following publication: https://jitc.bmj.com/content/11/9/e007630. The forestplot would also be useful to show results of multivariate CoxPH models (that would be great to implement into ehrapy as well - will open another issue on that).

Zethson commented 5 months ago

Excellent, thank you!