-
Notifications
You must be signed in to change notification settings - Fork 7
/
ui-tab-boxplot.R
79 lines (73 loc) · 3.57 KB
/
ui-tab-boxplot.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
tabItem(tabName = "boxplotTab",
fluidRow(
box(title = "Gene Expression Boxplot", solidHeader = T, status = "primary", width = 12,
fluidRow(
column(6,
wellPanel(
column(12,
selectizeInput("sel_gene",
label="Gene Name/Id (Select 1 or more)",#or Ensembl ID",
choices = NULL,
multiple=TRUE,
options = list(
placeholder =
'Start typing to search for a gene name/id'# or ID',
) #,
)
),
column(12,
selectizeInput("sel_groups",
label="Select Groups",
multiple = T,
choices="", selected=""
)
),
column(12,
selectizeInput("sel_factors",
label="Select Factors",
multiple = T,
choices="", selected="",
options = list(minItems = 2)
)
),
div(style = "clear:both;")
)
),
column(6,
h4(strong("Plot Settings:")),
wellPanel(
fluidRow(
column(12,
selectInput("boxplotX","Group (x-axis)", choices = c())
),
column(12,
selectInput("boxplotFill", "Fill (group by)", choices = c())
)
),
# column(2,
# radioButtons("counttype","Y axis:",choices=c("counts","rlog","vst"))
# ),
# column(2,
# actionButton("genBoxplot","Generate Plot", class = "btn btn-primary", style = "width:100%;")
# ),
div(style = "clear:both;")
)
)
)
)
),
fluidRow(
hr(),
conditionalPanel("output.boxplotComputed",
tags$div(class = "BoxArea2",
column(12,
box(title = "Boxplot", solidHeader = T, status = "primary", width = 12,
withSpinner(plotlyOutput(outputId = "boxPlot")))
),
h4(p(class = "text-right",downloadButton('downloadBoxCsv','Download .csv', class = "btn btn-primary btn-sm"))),
withSpinner(dataTableOutput("boxplotData")),
div(style = "clear:both;")
)
)
)
)