add force button
This commit is contained in:
parent
f5d5923e42
commit
47cc8c2661
3 changed files with 12 additions and 2 deletions
|
@ -65,7 +65,8 @@ load_target_globals=function(target){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#### Local Functions ####
|
#### Local Functions ####
|
||||||
# Generate a conditionalPanel() for a given graph function and sidebar name combination
|
# Generate a conditionalPanel() for a given graph function and sidebar name combination
|
||||||
|
|
|
@ -26,7 +26,11 @@ function(input, output, session) {
|
||||||
|
|
||||||
|
|
||||||
#### observeEvent() Fun(tm) ####
|
#### observeEvent() Fun(tm) ####
|
||||||
observeEvent(input$clear_ngl, {
|
observeEvent(
|
||||||
|
{
|
||||||
|
input$clear_ngl
|
||||||
|
input$force
|
||||||
|
}, {
|
||||||
NGLVieweR_proxy("structure") %>%
|
NGLVieweR_proxy("structure") %>%
|
||||||
removeSelection("Pos")
|
removeSelection("Pos")
|
||||||
})
|
})
|
||||||
|
@ -51,6 +55,7 @@ function(input, output, session) {
|
||||||
input$snp_ligand_dist
|
input$snp_ligand_dist
|
||||||
input$snp_nca_dist
|
input$snp_nca_dist
|
||||||
input$snp_interface_dist
|
input$snp_interface_dist
|
||||||
|
input$force
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
print("entering main observeEvent()")
|
print("entering main observeEvent()")
|
||||||
|
|
|
@ -27,6 +27,10 @@ dashboardPage(skin="purple",
|
||||||
menuItem("Consurf", tabName="Consurf"),
|
menuItem("Consurf", tabName="Consurf"),
|
||||||
menuItem("LogoP OR", tabName="LogoP OR"),
|
menuItem("LogoP OR", tabName="LogoP OR"),
|
||||||
menuItem("Lineage", tabName="Lineage"),
|
menuItem("Lineage", tabName="Lineage"),
|
||||||
|
actionButton("force",
|
||||||
|
"Force Refresh")
|
||||||
|
),
|
||||||
|
|
||||||
#menuItem('Stability count', tabName='Stability count'),
|
#menuItem('Stability count', tabName='Stability count'),
|
||||||
|
|
||||||
# These conditionalPanel()s make extra settings appear in the sidebar when needed
|
# These conditionalPanel()s make extra settings appear in the sidebar when needed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue