SafetyGraphics / hep-explorer

Interactive Graphic for Exploring Liver Function Data in Clinical Trials
https://safetygraphics.github.io/hep-explorer/test/
MIT License
9 stars 3 forks source link

Demonstrate using the measure_values setting to support additional or alternate measures. #303

Closed samussiah closed 4 years ago

samussiah commented 4 years ago

For instance, to view another set of four measures this hack technically works:

    measure_values: {
        ALT: 'Albumin',
        AST: 'Calcium',
        TB: 'Creatinine',
        ALP: 'Sodium'
    },

but the controls still reference ALT/AST/TB/ALP. Need to think through how to generalize things like r-ratio, adding a y-axis control, etc.

jwildfire commented 4 years ago

Pretty sure this is already supported for any measure in the raw data (something derived like r-ratio might be harder though). Will see if I can throw together a quick example to demonstrate ...