-
Notifications
You must be signed in to change notification settings - Fork 41
/
ui.R
87 lines (81 loc) · 4.33 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
## ==================================================================================== ##
# 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(
#
tagList(
tags$head(
tags$style(HTML(" .shiny-output-error-validation {color: darkred; } ")),
tags$style(".mybuttonclass{background-color:#CD0000;} .mybuttonclass{color: #fff;} .mybuttonclass{border-color: #9E0000;}")
),
navbarPage(
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",
source("ui-tab-landing.R",local=TRUE)$value,
## =========================================================================== ##
## DOWNLOAD DATA TABS
## =========================================================================== ##
source("ui-tab-inputdata.R",local=TRUE)$value,
source("ui-tab-filterdata.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,
source("ui-tab-help.R",local=TRUE)$value,
source("ui-tab-news.R",local=TRUE)$value,
source("ui-tab-terms.R",local=TRUE)$value,
#end definitions of tabs, now footer
## ============================================================================ ##
## INFO TAB
## ============================================================================ ##
## ==================================================================================== ##
## 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),
p(a("Nelson JW, Sklenar J, Barnes AP, Minnier J. (2016) `The START App: A Web-Based RNAseq Analysis and Visualization Resource.` Bioinformatics. doi: 10.1093/bioinformatics/btw624.",href="http://bioinformatics.oxfordjournals.org/content/early/2016/09/27/bioinformatics.btw624.abstract"),align="center",width=4)
),
## ==================================================================================== ##
## end
## ==================================================================================== ##
tags$head(includeScript("google-analytics.js"))
) #end navbarpage
) #end taglist