-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathui.R
79 lines (52 loc) · 2.2 KB
/
ui.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
library(shiny)
# Define UI for application that draws a histogram
fluidPage(
tabsetPanel(
tabPanel("Deconvolution",
# Application title
titlePanel("Deconvolution of ABsolute Immune Signal"),
hr(),
fluidRow(
column(3,
wellPanel(
h4("Input:"),
fileInput('GeneExpr', strong('Choose gene expression file:'), multiple = FALSE,
accept = c('text/plain', ".txt")),
radioButtons("ExprType", "Technology",
c("RNA-Seq"="R", "Microarray"="M")),
actionButton("goButton", "Submit!")
),
### save the data panel
hr(),
wellPanel(
h4("Save results:"),
downloadButton("downloadData", "Download")
)
),
column(9,
tableOutput("TableDec")
)
)
),
tabPanel("Gene Viewer",
# Application title
titlePanel("Barplot gene expression"),
hr(),
fluidRow(
column(3,
wellPanel(
# h4("Input:"),
textInput("geneInput","Enter a Gene Symbol, Ensebl ID or Entrez ID","GZMB"),
actionButton("goButtonGeneViewer", "Submit!")
),
wellPanel(
h4("Gene visualized:"),
tableOutput("tabGene")
)
),
column(9, plotOutput("BarPlot", height="500px")
)
)
)
)
)