-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
35 lines (33 loc) · 1.28 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
library(shinydashboard)
library(plotly)
scan.num <- 20
shinyUI(
pageWithSidebar(
headerPanel("Spectra processing parameters investigation"),
sidebarPanel(
width = 3,
h3("Input spectra file"),
shiny::selectInput("input.select.file",
"Select spectra file",
"Loading files from DB",
multiple = FALSE,
selectize = FALSE),
h3("Processing parameters"),
shiny::selectInput("input.select.mode",
"Ion acquisition mode",
"Select spectra file",
multiple = FALSE,
selectize = FALSE),
numericInput("input.scan.num", "MS scan number", value = scan.num),
numericInput("input.scan.num.l", "MS scan position to the left", value = 10),
numericInput("input.scan.num.r", "MS scan position to the right", value = 10),
numericInput("input.halfWindowSize", "halfWindowSize", value = 9),
numericInput('input.tol.align', "Mass peak tolerance align", value = 2e-4),
numericInput('input.tol.bin.peaks', "Mass peak tolerance binPeaks", value = 2e-4)
),
mainPanel(
h3("Resulted spectra"),
plotlyOutput("pid.raw", height = "2100px")
)
)
)