-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathui-tab-pathview.R
65 lines (60 loc) · 2.72 KB
/
ui-tab-pathview.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
tabItem(tabName = "pathviewTab",
h2(strong("Pathview Plot")),
fluidRow(
column(3,
wellPanel(
selectizeInput("pathwayIds", label="Select Pathway ID",
choices=NULL,
multiple=F,
options = list(
placeholder =
'Start typing pathway id'
)
),
selectInput("geneid_type","Gene ID type:", choices = c(""), selected = NULL),
actionButton("generatePathview", "Generate Pathview", class = "btn btn-info"),
conditionalPanel("output.pathviewPlotsAvailable",
hr(),
downloadButton('downloadPathviewPng','Download .png', class = "btn btn-warning"),
downloadButton('downloadPathviewPdf','Download .pdf', class = "btn btn-warning")
)
)
),
column(9,
withSpinner(imageOutput(outputId = "pathview_plot", inline = T),type = 8)
)
)
# wellPanel(
# column(6,
#
# selectizeInput("pathwayIds", label="Select Pathway ID",
# choices=NULL,
# multiple=F,
# options = list(
# placeholder =
# 'Start typing pathway id'
# )
# )
#
# )
# ,
# column(6,
# selectInput("geneid_type","Gene ID type:", choices = c(""), selected = NULL)
# ),
# column(6,
# actionButton("generatePathview", "Generate Pathview", class = "btn btn-info")
# ),
# conditionalPanel("output.pathviewPlotsAvailable",
# column(3,
# downloadButton('downloadPathviewPng','Download .png', class = "btn btn-warning", style="margin: 7px;")
# ),
# column(3,
# downloadButton('downloadPathviewPdf','Download .pdf', class = "btn btn-warning", style="margin: 7px;")
# )
# )
# ,
# tags$div(class = "clearBoth")
#
# ),
# withSpinner(imageOutput(outputId = "pathview_plot", inline = T),type = 8)
)