-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui-tab-inputdata.R
45 lines (30 loc) · 1.22 KB
/
ui-tab-inputdata.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
fluidRow(
column(width = 3,
box(width=NULL,
numericInput("ncomps", "Number of comparisons", value = 1, min = 1, step = 1),
column(width=5,
radioButtons("file_ext", "Data format:", choices = c("xls/xlsx", "csv", "txt"), selected = "xls/xlsx", inline=F)
),
column(width=3,
conditionalPanel(condition=("input.file_ext=='xls/xlsx'"), numericInput("file_sheet", "Sheet:", value=1, min=1)),
conditionalPanel(condition=("input.file_ext=='csv'"), selectInput("file_sep", "Separator:", choices = c(",", ";", "\t"), selected = ","))
),
column(width=3,
selectInput("file_dec", "Decimal:", choices = c(".", ","), selected = ".")
)
),
wellPanel(
uiOutput("fileInputs")
)
),
column(9,
fluidRow(
uiOutput("fileInputs2")
),
fluidRow(
bsCollapse(
bsCollapsePanel(title = "", value = "proc_panel", DT::dataTableOutput("contents_proc"))
)
)
)
)