@@ -422,16 +422,16 @@ encoding_missing_data <- function(id, summary_per_patient = FALSE, ggtheme, data
422422 value = FALSE
423423 )
424424 },
425- ui_decorate_teal_data(ns(" dec_summary_plot" ), decorators = subset_decorators( " summary_plot" , decorators ))
425+ ui_decorate_teal_data(ns(" dec_summary_plot" ), decorators = select_decorators( decorators , " summary_plot" ))
426426 ),
427427 conditionalPanel(
428428 is_tab_active_js(ns(" summary_type" ), " Combinations" ),
429429 uiOutput(ns(" cutoff" )),
430- ui_decorate_teal_data(ns(" dec_combination_plot" ), decorators = subset_decorators( " combination_plot" , decorators ))
430+ ui_decorate_teal_data(ns(" dec_combination_plot" ), decorators = select_decorators( decorators , " combination_plot" ))
431431 ),
432432 conditionalPanel(
433433 is_tab_active_js(ns(" summary_type" ), " Grouped by Subject" ),
434- ui_decorate_teal_data(ns(" dec_by_subject_plot" ), decorators = subset_decorators( " by_subject_plot" , decorators ))
434+ ui_decorate_teal_data(ns(" dec_by_subject_plot" ), decorators = select_decorators( decorators , " by_subject_plot" ))
435435 ),
436436 conditionalPanel(
437437 is_tab_active_js(ns(" summary_type" ), " By Variable Levels" ),
@@ -444,7 +444,7 @@ encoding_missing_data <- function(id, summary_per_patient = FALSE, ggtheme, data
444444 selected = " counts" ,
445445 inline = TRUE
446446 ),
447- ui_decorate_teal_data(ns(" dec_summary_table" ), decorators = subset_decorators( " summary_table" , decorators ))
447+ ui_decorate_teal_data(ns(" dec_summary_table" ), decorators = select_decorators( decorators , " summary_table" ))
448448 ),
449449 teal.widgets :: panel_item(
450450 title = " Plot settings" ,
@@ -1262,7 +1262,7 @@ srv_missing_data <- function(id,
12621262 decorated_summary_plot_q <- srv_decorate_teal_data(
12631263 id = " dec_summary_plot" ,
12641264 data = summary_plot_q ,
1265- decorators = subset_decorators( " summary_plot" , decorators ),
1265+ decorators = select_decorators( decorators , " summary_plot" ),
12661266 expr = {
12671267 grid :: grid.newpage()
12681268 grid :: grid.draw(summary_plot )
@@ -1272,7 +1272,7 @@ srv_missing_data <- function(id,
12721272 decorated_combination_plot_q <- srv_decorate_teal_data(
12731273 id = " dec_combination_plot" ,
12741274 data = combination_plot_q ,
1275- decorators = subset_decorators( " combination_plot" , decorators ),
1275+ decorators = select_decorators( decorators , " combination_plot" ),
12761276 expr = {
12771277 grid :: grid.newpage()
12781278 grid :: grid.draw(combination_plot )
@@ -1282,14 +1282,14 @@ srv_missing_data <- function(id,
12821282 decorated_summary_table_q <- srv_decorate_teal_data(
12831283 id = " dec_summary_table" ,
12841284 data = summary_table_q ,
1285- decorators = subset_decorators( " summary_table" , decorators ),
1285+ decorators = select_decorators( decorators , " summary_table" ),
12861286 expr = table
12871287 )
12881288
12891289 decorated_by_subject_plot_q <- srv_decorate_teal_data(
12901290 id = " dec_by_subject_plot" ,
12911291 data = by_subject_plot_q ,
1292- decorators = subset_decorators( " by_subject_plot" , decorators ),
1292+ decorators = select_decorators( decorators , " by_subject_plot" ),
12931293 expr = print(by_subject_plot )
12941294 )
12951295
0 commit comments