-
Notifications
You must be signed in to change notification settings - Fork 6
/
ui-tab-wordcloud.R
42 lines (39 loc) · 1.85 KB
/
ui-tab-wordcloud.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
tabItem(tabName = "wordcloudTab",
h2(strong("GO Plots")),
box(title = "Word Cloud", solidHeader = T, status = "danger", width = 12, collapsible = T,id = "wordcloud",
fluidRow(
column(3,
wellPanel(
numericInput("maxWords", "Max. Words", value = 25),
radioButtons("wordsColor","Color theme:", c("Light"="random-light", "Dark"="random-dark")),
selectizeInput("wordShape","Shape:", c("circle","cardioid","diamond","triangle-forward","triangle","triangle","star")),
radioButtons("wordcloudGoOrKegg","Type:", choices = c("enrichGo","enrichKEGG")),
actionButton("plotWordcloud","Plot Word Cloud", class = "btn btn-info")
)
),
column(9,
wellPanel(
wordcloud2Output(outputId = "wordcloud")
)
)
)
)
# ,
# box(title = "Word Cloud", solidHeader = T, status = "danger", width = 12, collapsible = T,id = "wordcloud_kegg",
# fluidRow(
# column(3,
# wellPanel(
# numericInput("maxWords_kegg", "Max. Words", value = 25),
# radioButtons("wordsColor_kegg","Color theme:", c("Light"="random-light", "Dark"="random-dark")),
# selectizeInput("wordShape_kegg","Shape:", c("circle","cardioid","diamond","triangle-forward","triangle","triangle","star"))
# )
# ),
# column(9,
# wellPanel(
# wordcloud2Output(outputId = "wordcloud_kegg")
# )
#
# )
# )
# )
)