Add Treatment filter
Closed this issue ยท 6 comments
We have more treatment metadata now and it would be nice to add this in as a filter:
- Design treatment dropdown
- Implement treatment dropdown
@SAHU-01 Yes, it should look something like this. We may need to curate/normalize the values though. For example, we we should probably only list Chemotherapy
as a filter value instead of Surgery, Chemotherapy
because Surgery
is already listed as a separate value.
When you mentioned a treatment filter were to referring to something like this?
@onursumer regarding the normalization would this work?
@SAHU-01 Functionality looks good but we should have more than two treatment values (Chemotherapy
and Surgery
). There is Therapy
information in syn_data.json
which we haven't processed into processed_syn_data.json
yet. We will need to modify processSynapseJson.ts to include more treatment data in the processed_syn_data.json
file.
We can probably generate a therapyByParticipantID
or something similar so that we can use it to construct the treatment dropdown in the front end.