-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathui.R
More file actions
58 lines (49 loc) · 1.47 KB
/
Copy pathui.R
File metadata and controls
58 lines (49 loc) · 1.47 KB
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
# Gene Expression Analysis App
# ui.r
#
# Nick Burns
# Sept, 2016
.libPaths('/srv/shiny-server/mik-apps/Rlibs/')
library(shiny)
library(DESeq2)
library(RColorBrewer)
library(data.table)
shinyUI(fluidPage(
theme = "interface_styles.css",
headerPanel(""),
sidebarPanel(
h2("Gene Expression Clustering", class = "heading"),
br(),
hr(),
br(),
fileInput("expr_data_file", p("Gene expression data file: ", class = "boldtext")),
hr(),
uiOutput("ui_info"),
br(),
hr(),
p("Clustering options", class = "boldtext"),
br(),
p("Adjust the slider below to filter out genes with little variance across samples.", class = "standardtext"),
sliderInput("sld_eps", p("Variance threshold:", class = "standardtext"),
min = 1, max = 10, step = 0.5, value = 4),
br(),
actionButton("btn_heatmap", "Display heatmap", class = "button"),
br(),
br(),
p("Input the number of clusters that you would like:", class = 'standardtext'),
textInput("txt_clusters", ""),
br(),
actionButton("btn_cluster", "Generate clusters", class = "button"),
br(),
br(),
hr(),
downloadButton("downloadData", "Save cluster data"),
br(),
br()
),
mainPanel(
uiOutput("ui_display"),
br(),
uiOutput("ui_table_data")
)
))