forked from jminnier/STARTapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
75 lines (71 loc) · 3.54 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
## ==================================================================================== ##
# START Shiny App for analysis and visualization of transcriptome data.
# Copyright (C) 2016 Jessica Minnier
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# You may contact the author of this code, Jessica Minnier, at <[email protected]>
## ==================================================================================== ##
##
##
# ui.R
source("helpers.R")
customHeaderPanel <- function(title,windowTitle=title){
tagList(
tags$head(
tags$title(windowTitle),
tags$link(rel="stylesheet", type="text/css",
href="app.css"),
tags$h1(a(href="http://www.ohsu.edu/xd/health/services/heart-vascular/"))
)
)
}
# collects all of the tab UIs
#shinyUI(
#
navbarPage(
fluid = TRUE,
theme = "bootstrap.min.united.updated.css",
#United theme from http://bootswatch.com/
#customHeaderPanel(title="START: RNAseq Analysis and Visualization Resource"),#img(src="KCardio_CMYK_4C_pos_small.jpg",height=50,width= 92,align="right") ,
title="START: Shiny Transcriptome Analysis Resource Tool",
## =========================================================================== ##
## DOWNLOAD DATA TABS
## =========================================================================== ##
source("ui-tab-inputdata.R",local=TRUE)$value,
## =========================================================================== ##
## Visualization TABS
## =========================================================================== ##
source("ui-tab-samplegroupplots.R",local=TRUE)$value,
source("ui-tab-analysisres.R",local=TRUE)$value,
source("ui-tab-dotplot.R",local=TRUE)$value,
source("ui-tab-heatmap.R",local=TRUE)$value,
## ============================================================================ ##
## INFO TAB
## ============================================================================ ##
tabPanel("Info",
includeMarkdown("instructions/Instructions.md")),#end definitions of tabs, now footer
## ==================================================================================== ##
## FOOTER
## ==================================================================================== ##
footer=p(hr(),p("ShinyApp created by ", strong("{Jessica Minnier + Jiri Sklenar + Jonathan Nelson}")," of ",align="center",width=4),
p(("Knight Cardiovascular Institute, Oregon Health & Science University"),align="center",width=4),
p(("Copyright (C) 2016, code licensed under GPLv3"),align="center",width=4),
p(("Code available on Github:"),a("https://github.com/jminnier/STARTapp",href="https://github.com/jminnier/STARTapp"),align="center",width=4)
),
## ==================================================================================== ##
## end
## ==================================================================================== ##
tags$head(includeScript("google-analytics.js"))
) #end Navbar