
Input Visibility Transformator
Source:R/input_visibility_transformator.R
input_visibility_transformator.RdCreates a teal_transform_module that auto-discovers Shiny inputs in the
module's encoding panel and provides toggle controls to show or hide them.
Usage
input_visibility_transformator(
label = "Toggle Input Visibility",
hidden_by_default = character(0)
)Examples
if (FALSE) { # \dontrun{
teal.modules.clinical::tm_t_events(
label = "AE Table",
dataname = "ADAE",
arm_var = teal.transform::choices_selected(c("ARM", "ARMCD"), "ARM"),
llt = teal.transform::choices_selected("AEDECOD", "AEDECOD"),
hlt = teal.transform::choices_selected("AEBODSYS", "AEBODSYS"),
transformators = list(
input_visibility_transformator(
hidden_by_default = c("Sort", "Prune")
)
)
)
} # }