drug-target dash

This commit is contained in:
Tanushree Tunstall 2022-09-26 15:50:37 +01:00
parent ff066b7d6a
commit 84662ec948

View file

@ -650,7 +650,6 @@ if (interactive()){
),
)
)
server <- function(input, output, session) {
#output$LogoPlotSnps = renderPlot(LogoPlotSnps(mutable_df3))
@ -818,8 +817,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)