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

Feature request: Adding other types of features than code-based to the Phenotype class #45

Open
strayMat opened this issue Apr 6, 2023 · 0 comments

Comments

@strayMat
Copy link
Contributor

strayMat commented Apr 6, 2023

Feature type

A new method for Phenotype Class:

def add_inclusion_criteria(self, inclusion_criteria: pd.DataFrame, level="patient", threshold=1):

Description

In order to improve the Phenotype class and make it more universal, I would very much be able to add inclusion other than purely code based.

examples of such non-code features I would need to use this class for my study:

  • include patient having at least a minimum number of hospitalization.
  • include patient only being adult at a given date

The feature would make a filtering of the data based on the provided inclusion criteria.

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

No branches or pull requests

1 participant