Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example App ``` data <- teal_data() data <- within(data, { ADSL <- teal.modules.general::rADSL }) datanames <- c("ADSL") datanames(data) <- datanames join_keys(data) <- default_cdisc_join_keys[datanames] fact_vars_adsl <- names(Filter(isTRUE, sapply(data[["ADSL"]], is.factor))) vars <- choices_selected(variable_choices(data[["ADSL"]], fact_vars_adsl)) app <- teal::init( data = data, modules = teal::modules( teal.modules.general::tm_outliers( outlier_var = list( teal.transform::data_extract_spec( dataname = "ADSL", select = select_spec( label = "Select variable:", choices = variable_choices(data[["ADSL"]], c("AGE", "BMRKR1")), selected = "AGE", multiple = FALSE, fixed = FALSE ) ) ), categorical_var = list( teal.transform::data_extract_spec( dataname = "ADSL", filter = teal.transform::filter_spec( vars = vars, choices = value_choices(data[["ADSL"]], vars$selected), selected = value_choices(data[["ADSL"]], vars$selected), multiple = TRUE ) ) ), ggplot2_args = list( teal.widgets::ggplot2_args( labs = list(subtitle = "Plot generated by Outliers Module") ) ) ) ) ) shinyApp(app$ui, app$server) ```
- Loading branch information