egenn commited on
Commit
e7b3428
·
1 Parent(s): ba4aba0
app.R CHANGED
@@ -4,7 +4,7 @@
4
 
5
  # shiny::runApp("./")
6
  # Setup
7
- rtemisseq_version <- "0.2.6"
8
  library(rtemis)
9
  library(rtemisbio)
10
  library(shiny)
@@ -16,7 +16,7 @@ source("data.R")
16
 
17
  # Colors
18
  primary <- "#72CDF4"
19
- info <- helpcol <- "#FEB2E0"
20
  success <- "#B4DC55"
21
 
22
  #' Create protein visualization shinylive app
@@ -117,9 +117,10 @@ seqvizlive <- function(
117
  title = "Welcome",
118
  icon = bsicons::bs_icon("stars"),
119
  bslib::card(
120
- h4("Welcome to rtemisSeq", style = "text-align: center;"),
121
  card_body(
122
  class = "d-inline text-center",
 
 
123
  HTML(paste0(
124
  "rtemisSeq is a web interface for ",
125
  as.character(a("rtemisbio", href = "https://rtemis.org/rtemisbio", target = "_blank")),
@@ -135,15 +136,15 @@ seqvizlive <- function(
135
  br(), br(),
136
  bslib::card_image(
137
  file = "./www/rtemisseq-splash.webp",
138
- alt = "rtemislive",
139
  align = "center",
140
  border_radius = "all",
141
  fill = FALSE,
142
  width = "40%",
143
  class = "mx-auto"
144
- )
145
- )
146
- )
147
  ), # /nav_panel Welcome
148
  ## [] Protein Visualization ----
149
  bslib::nav_panel(
@@ -210,40 +211,44 @@ seqvizlive <- function(
210
  title = "About",
211
  icon = bsicons::bs_icon("info-square"),
212
  bslib::card(
213
- card_image(
214
- file = "./www/rtemisbio_s.webp",
215
- href = "https://rtemis.org/rtemisbio",
216
- alt = "rtemislive",
217
- align = "center",
218
- border_radius = "all",
219
- fill = FALSE,
220
- width = "54%",
221
- class = "mx-auto"
222
- ),
223
- div(
224
- class = "d-inline text-center",
225
- HTML(paste0(
226
- "Created by the ",
227
- as.character(a("FTD CWOW", href = "https://cwow.ucsf.edu/", target = "_blank")),
228
- " Genomics & Transcriptomics core.<br/>",
229
- "Powered by rtemis & rtemisbio (",
230
- as.character(a("rtemis.org", href = "https://rtemis.org", target = "_blank")),
231
- ")."
232
- )),
233
- br(), br(),
234
- a(
235
- img(
236
- src = "rtemis_gray.png",
237
- alt = "rtemis",
238
- align = "center",
239
- width = "190px"
240
- ),
241
- href = "https://rtemis.org",
242
- target = "_blank"
243
  ),
244
- align = "center"
245
- )
246
- )
 
 
 
 
 
 
 
 
 
 
 
 
247
  ), # /nav_panel About
248
  bslib::nav_spacer(),
249
  bslib::nav_item(input_dark_mode(id = "dark_mode", mode = default_theme)),
@@ -316,13 +321,6 @@ seqvizlive <- function(
316
  bslib::card(
317
  bslib::card_title("a3 Dataset Info", container = htmltools::h6),
318
  bslib::card_body(
319
- # HTML("Sequence length:", paste0("<b>", length(a3_obj()$Sequence), "</b>")),
320
- # if (length(a3_obj()$UniprotID) > 0) {
321
- # HTML("Uniprot ID:", paste0("<b>", a3_obj()$UniprotID, "</b>"))
322
- # },
323
- # if (length(a3_obj()$Reference) > 0) {
324
- # a("Reference", href = a3_obj()$Reference, target = "_blank")
325
- # },
326
  summarize_a3(a3_obj()),
327
  fillable = FALSE
328
  ) # /card_body
 
4
 
5
  # shiny::runApp("./")
6
  # Setup
7
+ rtemisseq_version <- "0.2.7"
8
  library(rtemis)
9
  library(rtemisbio)
10
  library(shiny)
 
16
 
17
  # Colors
18
  primary <- "#72CDF4"
19
+ info <- helpcol <- "#B43880"
20
  success <- "#B4DC55"
21
 
22
  #' Create protein visualization shinylive app
 
117
  title = "Welcome",
118
  icon = bsicons::bs_icon("stars"),
119
  bslib::card(
 
120
  card_body(
121
  class = "d-inline text-center",
122
+ h4("Welcome to rtemisSeq", style = "text-align: center;"),
123
+ br(),
124
  HTML(paste0(
125
  "rtemisSeq is a web interface for ",
126
  as.character(a("rtemisbio", href = "https://rtemis.org/rtemisbio", target = "_blank")),
 
136
  br(), br(),
137
  bslib::card_image(
138
  file = "./www/rtemisseq-splash.webp",
139
+ alt = "rtemisseq",
140
  align = "center",
141
  border_radius = "all",
142
  fill = FALSE,
143
  width = "40%",
144
  class = "mx-auto"
145
+ ) # /card_image
146
+ ) # /card_body
147
+ ) # /card
148
  ), # /nav_panel Welcome
149
  ## [] Protein Visualization ----
150
  bslib::nav_panel(
 
211
  title = "About",
212
  icon = bsicons::bs_icon("info-square"),
213
  bslib::card(
214
+ class = "mx-auto",
215
+ bslib::card_body(
216
+ div(
217
+ class = "text-center",
218
+ HTML(paste0(
219
+ "Created by the ",
220
+ as.character(a("FTD CWOW", href = "https://cwow.ucsf.edu/", target = "_blank")),
221
+ " Genomics & Transcriptomics core.<br/>",
222
+ "Powered by rtemis & rtemisbio (",
223
+ as.character(a("rtemis.org", href = "https://rtemis.org", target = "_blank")),
224
+ ")."
225
+ ))
226
+ ), # /div
227
+ card_image(
228
+ file = "./www/rtemisbio.webp",
229
+ href = "https://rtemis.org/rtemisbio",
230
+ alt = "rtemisbio",
231
+ align = "center",
232
+ border_radius = "all",
233
+ fill = FALSE,
234
+ width = "54%",
235
+ class = "mx-auto"
 
 
 
 
 
 
 
 
236
  ),
237
+ div(
238
+ class = "text-center",
239
+ a(
240
+ img(
241
+ src = "rtemis_gray.png",
242
+ alt = "rtemis",
243
+ # align = "center",
244
+ width = "190px"
245
+ ),
246
+ href = "https://rtemis.org",
247
+ target = "_blank"
248
+ )
249
+ ) # /div
250
+ ) # /card_body
251
+ ) # /card
252
  ), # /nav_panel About
253
  bslib::nav_spacer(),
254
  bslib::nav_item(input_dark_mode(id = "dark_mode", mode = default_theme)),
 
321
  bslib::card(
322
  bslib::card_title("a3 Dataset Info", container = htmltools::h6),
323
  bslib::card_body(
 
 
 
 
 
 
 
324
  summarize_a3(a3_obj()),
325
  fillable = FALSE
326
  ) # /card_body
www/SVL_logo.webp DELETED
Binary file (168 kB)
 
www/{rtemisbio_s.webp → rtemisbio.webp} RENAMED
File without changes
www/svl.webp DELETED
Binary file (198 kB)