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

Add cohort timeline visualization function #151

Open
Oufattole opened this issue Nov 14, 2024 · 3 comments
Open

Add cohort timeline visualization function #151

Oufattole opened this issue Nov 14, 2024 · 3 comments
Labels
Code Cleanliness/Ease of Development Relates to the cleanliness, organization, and overall maintainability of the codebase Documentation Improvements or additions to documentation Enhancement New feature or request priority:low Things that are not on an immediate roadmap, but may be addressed in time or by contributors

Comments

@Oufattole
Copy link
Contributor

Oufattole commented Nov 14, 2024

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

  • The windows, their temporal relationships, and inclusion criteria for each window
  • It should have clear timeline markers showing start/end dates of windows

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
Copy link
Owner

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

@justin13601 justin13601 added Documentation Improvements or additions to documentation Enhancement New feature or request priority:low Things that are not on an immediate roadmap, but may be addressed in time or by contributors Code Cleanliness/Ease of Development Relates to the cleanliness, organization, and overall maintainability of the codebase labels Nov 14, 2024
@Oufattole
Copy link
Contributor Author

Oufattole commented Nov 15, 2024

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

@justin13601
Copy link
Owner

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanliness/Ease of Development Relates to the cleanliness, organization, and overall maintainability of the codebase Documentation Improvements or additions to documentation Enhancement New feature or request priority:low Things that are not on an immediate roadmap, but may be addressed in time or by contributors
Projects
None yet
Development

No branches or pull requests

2 participants