-
Notifications
You must be signed in to change notification settings - Fork 3
/
ui.R
92 lines (74 loc) · 3.01 KB
/
ui.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(shinydashboard)
library(shinythemes)
ui <- dashboardPage(
dashboardHeader(title = HTML('<center><img src = "tara_logo.png", height="40", width="40">Viral Voyager</center>')),
dashboardSidebar(
sidebarMenu(
menuItem("Welcome", tabName = "welcome", icon = icon("home")),
menuItem("Map", tabName = "map", icon = icon("globe")),
menuItem("Analysis", tabName = "analysis", icon = icon("flask")),
menuItem("Future Directions", tabName = "futuredirections", icon = icon("arrow-circle-right")),
menuItem("Team Members", tabName = "members", icon = icon("user-circle-o")),
group_ui('group')
)
),
dashboardBody(
tags$head(
tags$link(rel = "stylesheet", type = "text/css", href = "custom.css")
),
tabItems(
tabItem(tabName="welcome",
HTML('<center><img src = "tara_logo.png", height="240", width="240"></center>'),
welcome_ui()),
tabItem(tabName="map",
h1('Map of Viral Metabolic Pathways'),
fluidRow(
box(
title="Controls", width = 12, solidHeader = TRUE,
query_ui('query')
)
),
fluidRow(
box(
width = 12, solidHeader = TRUE,
tabsetPanel(id = 'map_or_table',
tabPanel('Map View',
value = 'map',
map_ui('map')),
tabPanel('Table View',
value = 'table',
table_ui('table'))
)
)
),
fluidRow(
box(
title="Sample Information", width = 12, solidHeader = TRUE,
sample_ui('sample')
)
)
),
tabItem(tabName="analysis",
tabsetPanel(
tabPanel('Heatmap',
test_analysis_ui('tana')),
tabPanel('Clustering',
clustering_ui('clustering'))
)),
tabItem(tabName="futuredirections",
future_ui()),
tabItem(tabName="members", h1('Meet the Team'),
team_ui()
)
)
)
)