legaultmarc / cohort-manager

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

Summary statistics for drugs or drug classes. #11

Closed legaultmarc closed 8 years ago

legaultmarc commented 8 years ago

The REPL should be able to say how many individuals are users for a drug/drug class. The broader problem would be to harmonize pharmacotherapy data and the other phenotypes.

legaultmarc commented 8 years ago

This was implemented by dynamically creating a discrete variable for drug users. The repl command

info drug ATC_CODE
info drug MOLREGNO

can be used.