teal.modules.clinical icon indicating copy to clipboard operation
teal.modules.clinical copied to clipboard

[Feature Request]: dynamic encoding based on the filtered data

Open kumamiao opened this issue 4 months ago • 0 comments

Feature description

Similar requests have been brought up before in the last round of UI updates, and the decision was to keep teal.slice simple and only performs data slicing and not data manipulation such as dropping factor levels here. So the dynamic filtering would then need to occur on the module level. Happy to hear your thoughts on this @khatril @shajoezhu @donyunardi

User story:

is it possible to have dynamic updating for the encodings based on the active filters?

Here's an example of what I am asking:

Take the Kaplan Meier Plot... if I add ADSL.ARM as an active filter and click off "C: Combination", the Groups for the arm_ref_group do not get updated to omit "C: Combination" as an option. image

Doing so instead results like so:

image "Current ADSL data does not have observations from the reference and comparison treatments."

... which isn't unexpected, but I am wondering if instead we can have it dynamically remove filtered out values?

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • [X] I agree to follow this project's Contribution Guidelines.

Security Policy

  • [X] I agree to follow this project's Security Policy.

kumamiao avatar Oct 09 '24 00:10 kumamiao