-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui_demo.R
98 lines (61 loc) · 1.68 KB
/
ui_demo.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
80
81
82
83
84
85
86
# library(shinyWidgets)
library(shiny)
# library(thematic)
library(shinythemes)
library(plotly)
# functions for UI --------------------------------------------------------
# UI ----------------------------------------------------------------------
# navbarPage
# tabBox
ui <- fluidPage(
shinythemes::themeSelector(),
titlePanel('SLE Bulk RNA-Seq data analysis and visualization',
windowTitle = 'SLE expression'
),
sidebarLayout(
sidebarPanel(
textInput(inputId = 'geneSymbol',
label = 'Input Gene Symbol',
value = 'IRF4'
),
width = 3
),
mainPanel(h2('DEGs across 33 GSE datasets'),
h4('note that: not all 33 datasets exists!'),
# tabsetPanel(
# tabPanel("Plot", plotOutput("plot1")),
# tabPanel("Table", tableOutput("table1"))
# )
)
),
fluidRow(
column(8,
# plotOutput("plot1"),
plotlyOutput('plot1_plotly'),
offset = 3)
),
hr(),
fluidRow(
column(3,
h5('Select different GSE'),
selectInput(inputId='GSEnum', label = 'GSE_num',
choices = chioce1
)
),
column(8,
tabsetPanel(
tabPanel('Plot', plotOutput('plot2')),
tabPanel('Summary', textOutput('text1'))
)
# plotOutput('plot2')
)
),
hr(),
fluidRow(
column(10,
h4('Expression by Tissue / Cell Type'),
plotOutput('tissue_plot'), offset = 2,
plotOutput('cell_plot')
)
)
)