ML dashboard fixes

This commit is contained in:
Tanushree Tunstall 2022-09-12 14:03:11 +01:00
parent 27f70afb2c
commit b137ac688b
2 changed files with 18 additions and 18 deletions

View file

@ -818,8 +818,8 @@ if (interactive()){
### NGLViewer ####
# Structure Viewer WebGL/NGLViewR window
output$structure <- renderNGLVieweR({
#ngl_gene=isolate(input$switch_target)
ngl_gene=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)