This commit is contained in:
Tanushree Tunstall 2022-09-09 20:20:22 +01:00
parent ad323082d0
commit f9db5cbc33

View file

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