From f9db5cbc33ebf3f70ef7e838658add567b8479ae Mon Sep 17 00:00:00 2001 From: Tanushree Tunstall Date: Fri, 9 Sep 2022 20:20:22 +0100 Subject: [PATCH] cowplot --- drug-target/global.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drug-target/global.R b/drug-target/global.R index 9066bad..076c508 100644 --- a/drug-target/global.R +++ b/drug-target/global.R @@ -818,7 +818,8 @@ if (interactive()){ ### NGLViewer #### # Structure Viewer WebGL/NGLViewR window output$structure <- renderNGLVieweR({ - ngl_gene=isolate(input$switch_target) + #ngl_gene=isolate(input$switch_target) + ngl_gene=input$switch_target ngl_drug=target_map[[ngl_gene]] ngl_pdb_file=paste0(load_dir, "Data/", ngl_drug, '/output/depth/', ngl_gene, '_complex.pdb') print(ngl_pdb_file)