-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.R
46 lines (39 loc) · 996 Bytes
/
app.R
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# deploy app
source("./global.R")
ui <- function() {
bootstrapPage("",
useShinyjs(),
theme = bs_theme(bootswatch = "flatly", secondary = "#2C3E50"),
navbarPage(
title = "GBM PDX STR search tool",
inverse = FALSE,
home_description,
tabPanel(
title = "STR Search",
myModuleUI(id = "str_gbm")
),
tabPanel(
title = "STR multi-query Search",
myModuleUI_multi_query(id = "str_gbm_multi_query")
)
),
tags$head(
tags$style(
HTML(".shiny-output-error-validation {
color: black;
}")
)
)
)
}
# Reminder: objects inside server function are instantiated per session...
server <- function(input, output, session) {
shinyhelper::observe_helpers(help_dir = "helpfiles", withMathJax = TRUE)
myModuleServer(
id = "str_gbm"
)
myModuleServer_multi_query(
id = "str_gbm_multi_query"
)
}
shinyApp(ui = ui, server = server)