justin13601 / ACES

ACES: Automatic Cohort Extraction System for Event-Streams
https://eventstreamaces.readthedocs.io/en/latest/
MIT License
25 stars 1 forks source link

Add cohort timeline visualization function #151

Open Oufattole opened 18 hours ago

Oufattole commented 18 hours ago

How hard would it be to create a helper function that visualizes an aces yaml. I imagine it would just be a public utility function, and plot

This will help users better understand the cohort configuration, and aid in communicating these cohorts with clinicians (who may not be compelled to look at a dark mode vscode yaml file).

I'm inspired mainly by the plots you have in the tutorial: image

justin13601 commented 16 hours ago

I think this is a cool idea - not really sure how to go about this though given how varied the configuration files may be, but happy to look into it

Oufattole commented 14 hours ago

I think this does the trick @justin13601 : https://colab.research.google.com/drive/12YCgq3wE2lythDb3719hrMyY8B2xb_Wd?usp=sharing

justin13601 commented 14 hours ago

I think this does the trick @justin13601 : https://colab.research.google.com/drive/12YCgq3wE2lythDb3719hrMyY8B2xb_Wd?usp=sharing

Nice! I will see if I can integrate something like this into src/aces/utils.py so it could be called easily - thank you :)