-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
102 lines (100 loc) · 2.52 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
library(markdown)
shinyUI(
navbarPage("Emergence of neuronal diversity during vertebrate brain development",
tabPanel("Seurat",
sidebarLayout(
sidebarPanel(
helpText(paste0("Seurat v", seurat.version)),
selectInput(
"path",
"Select file",
choices=path.to.load),
selectInput(
"cluster",
"Select cluster(s) -- n >= 1",
choices=clusters,
multiple = T),
selectInput(
"gene",
"Select gene(s) -- 0 <= n <= 2",
choices=genes,
multiple = T),
radioButtons("overlay",
label = "2 gene plot:",
choices = list("Overlay" = 1,"Separate" = 2)
),
selectInput(
"format",
"Downlaod format",
choices=device),
selectInput(
"units",
"Size units",
choices=units),
textInput("height", "height", "200"),
textInput("width", "width", "400"),
downloadButton(
"downloadMainTsne",
label = "Clusters tSNE"
),
downloadButton(
"downloadGeneOverlay",
label = "Gene Expr tSNE"
),
downloadButton(
"downloadViolin",
label = "Violin Plot"
),
width = "3"
),
mainPanel(
fluidRow(
withSpinner(DT::dataTableOutput("metaTable")),
withSpinner(plotOutput("umap")),
withSpinner(plotOutput("umap_gene")),
withSpinner(plotOutput("violin"))
)
)
)
),
tabPanel("URD",
sidebarLayout(
sidebarPanel(
helpText(paste0("URD v", urd.version)),
selectInput(
"path.urd",
"Select file",
choices=path.to.load),
selectInput(
"feature.urd",
"Select feature(s)",
choices=features.urd,
multiple = T),
selectInput(
"format.urd",
"Downlaod format",
choices=device),
selectInput(
"units.urd",
"Size units",
choices=units),
textInput("height.urd", "height", "200"),
textInput("width.urd", "width", "400"),
downloadButton(
"downloadTree",
label = "Tree"
),
width = "3"
),
mainPanel(
fluidRow(
withSpinner(plotOutput("tree"))
)
)
)
),
tabPanel("About",
includeMarkdown("README.md")
)
)
)