From 2111843d4695add3be24d59a06d62836b0906d48 Mon Sep 17 00:00:00 2001 From: Tanushree Tunstall Date: Mon, 10 Oct 2022 17:08:49 +0100 Subject: [PATCH] isolating observeevent()s --- drug-target/server.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drug-target/server.R b/drug-target/server.R index ab45b1d..fab653b 100644 --- a/drug-target/server.R +++ b/drug-target/server.R @@ -166,8 +166,8 @@ function(input, output, session) { updateCheckboxGroupInput( session, "corr_selected", - choiceNames = colnames(get(paste0(input$switch_target,"_corr_df_m3_f"))), - choiceValues = colnames(get(paste0(input$switch_target,"_corr_df_m3_f"))), + choiceNames = colnames(get(paste0(input$switch_target,"_corr_df_m3_f")))[3:length(colnames(get(paste0(input$switch_target,"_corr_df_m3_f"))))], + choiceValues = colnames(get(paste0(input$switch_target,"_corr_df_m3_f")))[3:length(colnames(get(paste0(input$switch_target,"_corr_df_m3_f"))))], selected = c("FoldX", "DeepDDG", "mCSM.DUET") )