-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
186 lines (185 loc) · 7.66 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
library(shinydashboard)
dashboardPage(
dashboardHeader(title = "Shiny Apps by Fürstlab",
tags$li(a(href = 'http://www.fuerstlab.com',
img(src = 'logo_wide_next.png',
title = "Shiny Apps by Fürstlab", height = "100px"),
style = "padding-top:10px; padding-bottom:10px;"),
class = "dropdown")),
dashboardSidebar(
sidebarMenu(id = "tab_menu",
menuItem("Tiny Shiny Bio Tools", tabName = "Tiny Shiny Bio Tools", icon = icon("wrench"), startExpanded = TRUE,
menuSubItem("CodonUsage", "CodonUsage", icon = icon("arrow-up-right-from-square")),
menuSubItem("AA2Codon", "AA2Codon", icon = icon("arrow-up-right-from-square")),
menuSubItem("MultiplePrimerEntry", "MultiplePrimerEntry", icon = icon("arrow-up-right-from-square")),
menuSubItem("IDT2gb", "IDT2gb", icon = icon("arrow-up-right-from-square"))
),
menuItem("Other", tabName = "Other", icon = icon("table-cells"), startExpanded = TRUE,
menuSubItem("TweetRial", "TweetRial", icon = icon("arrow-up-right-from-square")),
menuSubItem("WordleBattle", "WordleBattle", icon = icon("arrow-up-right-from-square"))
),
menuItem("Group-internal", tabName = "Group-internal", icon = icon("user"), startExpanded = TRUE,
menuSubItem("AFAS", "AFAS", icon = icon("arrow-up-right-from-square")),
menuSubItem("AlphaFold", "AlphaFold", icon = icon("key")),
menuSubItem("GroupStack", "GroupStack", icon = icon("arrow-up-right-from-square"))
)
)
),
dashboardBody(
tags$head(
tags$style(HTML(
'.customHeader {
font-size: 11px;
line-height: 50px;
text-align: left;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
padding: 0 15px;
overflow: hidden;
color: white;
}
')),
tags$style(HTML("
.frame {
width: 70vw;
border: 3px solid white;
background: #eee;
margin: auto;
padding: 15px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.frame2 {
width: 45vw;
border: 3px solid white;
background: #eee;
margin: auto;
padding: 15px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.frame3 {
height: 75vh;
width: 47vh;
border: 3px solid white;
background: #eee;
margin: auto;
padding: 15px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.frame4 {
width: 60vw;
border: 3px solid white;
background: #eee;
margin: auto;
padding: 15px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
img {
width: 100%;
height: 100%;
}"))
),
tags$script(HTML('
$(document).ready(function() {
$("header").find("nav").append(\'<span class="customHeader"> Scientific and non-scientific apps made by <a href = "https://www.fuerstlab.com/#about"><font color ="white">Max</font></a>. </span>\');
})
')),
tabItems(
tabItem(tabName = "CodonUsage",
h2("Codon Usage"),
HTML("<i><h4>A tiny shiny app that shows the genetic code and the codon usage in all sequenced organisms</h4></i>"),tags$hr(style="border-color: black;"),
div(class = 'frame',
tags$a(
href="codon_usage",
tags$img(src="/cod_use.png",
title="Access App",
width="80%")
))
),
tabItem(tabName = "AA2Codon",
h2("AA2Codon"),
HTML("<i><h4>A tiny shiny app that calculates possible codons, given a selection of amino acids</h4></i>"),tags$hr(style="border-color: black;"),
div(class = 'frame',
tags$a(
href="AA2Cod",
tags$img(src="/AA2Cod.png",
title="Access App",
width="80%")
))
),
tabItem(tabName = "MultiplePrimerEntry",
h2("MultiplePrimerEntry"),
HTML("<i><h4>A tiny shiny app that conveniently converts variable input of primer names and sequences to a copy and paste ready output for various vendor platforms.</h4></i>"),tags$hr(style="border-color: black;"),
div(class = 'frame',
tags$a(
href="MultiplePrimers",
tags$img(src="/MPI.png",
title="Access App",
width="80%")
))
),
tabItem(tabName = "IDT2gb",
h2("IDT2gb"),
HTML("<i><h4>A tiny shiny app that converts IDT-like base modifications to .gb format.</h4></i>"),tags$hr(style="border-color: black;"),
div(class = 'frame4',
tags$a(
href="IDT2gb",
tags$img(src="/IDT2gb.png",
title="Access App",
width="70%")
))
),
tabItem(tabName = "TweetRial",
h2("TweetRial"),
HTML("<i><h4>A tiny shiny app to prepare tweetorials (twitter threads).</h4></i>"), tags$hr(style="border-color: black;"),
div(class = 'frame4',
tags$a(
href="tweetRial",
tags$img(src="/TweetRial.png",
title="Access App",
width="80%")
))
),
tabItem(tabName = "WordleBattle",
h2("WordleBattle"),
HTML("<i><h4>A not so tiny shiny app to play a game inspired by the legendary wordle.</h4></i>"),tags$hr(style="border-color: black;"),
div(class = 'frame2',
tags$a(
href="wordle_battle_en",
tags$img(src="/wb.png",
title="Access App",
width="50%")
))
),
tabItem(tabName = "AFAS",
h2("AFAS"),
HTML("<i><h4>A tiny shiny app to search the internal webshop catalogue for purchasing.</h4></i>"),tags$hr(style="border-color: black;"),
div(class = 'frame2',
tags$a(
href="AFAS",
tags$img(src="/AFAS.png",
title="Access App",
width="80%")
)) ),
tabItem(tabName = "AlphaFold",
h2("AlphaFold"),
HTML("<i><h4>A tiny shiny app to submit Alphafold prediciton jobs to the computer cluster.</h4></i>"),tags$hr(style="border-color: black;"),
div(class = 'frame2',
tags$a(
href="AF_on_cluster",
tags$img(src="/AF.png",
title="Access App",
width="80%")
))
),
tabItem(tabName = "GroupStack",
h2("GroupStack"),
HTML("<i><h4>Our internal stackoverflow-like Q&A site.</h4></i>"),br(),
div(class = 'frame3',
tags$a(
href="https://stackoverflow.com/c/rug-comp-biotech/questions",
tags$img(src="/SO.png",
title="Access App")
))
)
)
)
)