-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathserver.R
More file actions
28 lines (24 loc) · 867 Bytes
/
server.R
File metadata and controls
28 lines (24 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
shinyServer(function(input,output,session) {
output$'dose-response-curves-main' <- renderLiDoseResponseCurves({
input="1"
})
observe({
query <- parseQueryString(session$clientData$url_search)
if(length(query) > 0) {
if (!is.null(query[['tab']]) & query[['tab']] %in%
c("Introduction", "AboutTraditional", "AboutGR", "Exploration",
"GRCalculator", "Authors")) {
updateTabsetPanel(session, "tabs", selected = query[['tab']])
}
}
})
observe({
query <- parseQueryString(session$clientData$url_search)
try(print(query))
try(print(class(query)))
try(print(str(query)))
if (!is.null(query[['currTab']])) {
if(query$currTab=="Explore") updateTabsetPanel(session,"tabs",selected="Exploration")
}
})
})