mutation box info for all mutations

This commit is contained in:
Tanushree Tunstall 2022-12-12 17:33:46 +00:00
parent 38323f6c34
commit 07fe6b51da

View file

@ -94,7 +94,6 @@ shinyServer(function(input, output){
# Now update the 3D structure to highlight the clicked thing and then zoom in. # Now update the 3D structure to highlight the clicked thing and then zoom in.
NGLVieweR_proxy("structure") %>% NGLVieweR_proxy("structure") %>%
#addSelection('ball+stick'
addSelection('spacefill' addSelection('spacefill'
, param = list( , param = list(
name = "Pos" name = "Pos"
@ -105,7 +104,6 @@ shinyServer(function(input, output){
) )
) )
NGLVieweR_proxy("af_structure") %>% NGLVieweR_proxy("af_structure") %>%
#addSelection('ball+stick'
addSelection('spacefill' addSelection('spacefill'
, param = list( , param = list(
name = "Pos" name = "Pos"
@ -248,6 +246,15 @@ shinyServer(function(input, output){
#opacity = 1 #opacity = 1
) )
) )
output$information <- renderUI({
selected_gene=input$gene
HTML(paste0("<strong>PDB ID: </strong>", as.character(genes[genes$Gene==selected_gene,"PDB"]),"<br/>",
"<strong>AlphaFold ID: </strong>", as.character(genes[genes$Gene==selected_gene,"AF_PDB"]), "<br/>"
)
)
})
}) })
}) })