-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
55 lines (48 loc) · 1.84 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
# This is the user-interface definition of a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
library(shinydashboard)
library(raster)
library(rgdal)
header <- dashboardHeader(title = "Spatial RIN")
sidebar <- dashboardSidebar(
#uiOutput("bg_removal"),
uiOutput("background"),
uiOutput("plot_name"),
downloadButton("dl_plot", label = "Download the plot")
)
body <- dashboardBody(
fluidPage(
tabBox(
title = "Spatial RIN",
id = "srin",
width = 12,
tabPanel("Data Input", width = "auto",
fluidPage(
column(width = 6,
fileInput("sRIN_probe1", "Upload the Probe1 file here", multiple = FALSE,
accept = "tiff", buttonLabel = "Browse"),
fileInput("sRIN_probe2", "Upload the Probe2 file here", multiple = FALSE,
accept = "tiff", buttonLabel = "Browse"),
fileInput("sRIN_probe3", "Upload the Probe3 file here", multiple = FALSE,
accept = "tiff", buttonLabel = "Browse"),
fileInput("sRIN_probe4", "Upload the Probe4 file here", multiple = FALSE,
accept = "tiff", buttonLabel = "Browse")
),
column(width = 6,
fileInput("no_probes", "Choose background file to upload", multiple = FALSE,
accept = "tiff", buttonLabel = "Browse"))
)
),
tabPanel("sRIN Heatmap", width = "auto",
fluidPage(
plotOutput("plot_whole_array", height = 1000)
)
)
)
)
)
dashboardPage(header,sidebar,body)