-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui-IDconversion.R
61 lines (57 loc) · 1.54 KB
/
ui-IDconversion.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
#ui-conversion.R
fluidPage(fluidRow(column(
3,
box(
title = tagList(icon("cogs"), "Parameters"),
width = NULL,
solidHeader = TRUE,
status = "primary",
tagList(
selectInput( # organism
"chosendatabase",
"Choose your Organism",
c("Drosophila melanogaster" = "org.Dm.eg.db")
),
selectInput( # inoput type
"inputtype",
"Choose your input type",
c("EntrezID" = "ENTREZID",
"EnsemblID" = "ENSEMBL",
" Symbol" = "SYMBOL")
),
textAreaInput( # gene list
"inputids",
"Paste Gene List",
rows = 5,
placeholder = "Input genes, one gene per line."
)
)
),
do.call(actionBttn, c( # run button
list(
inputId = "convgo",
label = "Convert",
icon = icon("play")
)))
),
#result table
column(
9,
navbarPage("Results",
id = "convtabs",
tabPanel(
title = tagList(icon("question"), "Info"), # info panel
width = NULL,
solidHeader = TRUE,
status = "primary",
includeMarkdown("documents/IDconversioninfo.Rmd")
),
tabPanel(
title = tagList(icon("table"), "Result Table"), # result table panel
value = 'redirectconv',
width = NULL,
solidHeader = TRUE,
status = "primary",
uiOutput('ConversionResults')
)
))))