insightsengineering / teal.modules.general

General Purpose Teal Modules
https://insightsengineering.github.io/teal.modules.general/
Other
9 stars 13 forks source link

Outlier module: allow splitting on non-categorical variables #43

Open cicdguy opened 3 years ago

cicdguy commented 3 years ago

Allow splitting on variables other than categorical (i.e. there are some "numeric" variables which are actually representing factors).

Provenance:

Creator: mhallal1
cicdguy commented 3 years ago

I am fine with leaving the requirements to use factor variables only. For numerics we have dedicated module to convert it into the two or three level factor. It's teal.devel::dich_trich_input and teal.devel::srv_dich_trich_widget(). Please investigate potential usage here. Maybe include it into the example.

Provenance:

Creator: pawelru
kumamiao commented 2 years ago

The real-world use case, is for biomarkers to be used as the "Categorical factor" input in the outlier module, i.e., to look at one lab value by PD-L1 expression, where we need to categorize PD-L1 expression into factors within the module, where the teal.devel::dich_trich_input and teal.devel::srv_dich_trich_widget() could potential be used here.