legaultmarc / cohort-manager

Utility to manage and explore collections of phenotype data.
2 stars 2 forks source link

Add virtual phenotypes #2

Closed legaultmarc closed 8 years ago

legaultmarc commented 8 years ago

Virtual phenotypes are phenotypes created from combinations of existing phenotypes. They can be used to implement diagnostic algorithms.

legaultmarc commented 8 years ago

This was done using the

v = manager.virtual
(v("Age") > 25) & v("pacemaker")

syntax.

You can see the virtual name variable_type "expression" command in the REPL.