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") )