Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bagueneau Mathias
Shiny SChnurR
Commits
7912764e
Commit
7912764e
authored
May 22, 2019
by
Bagueneau Mathias
Browse files
- Ajout du jeux de données 8kpbmc
parent
9c9428e1
Changes
2
Show whitespace changes
Inline
Side-by-side
app.R
View file @
7912764e
...
...
@@ -74,7 +74,7 @@ sidebar <- dashboardSidebar(
uiOutput
(
"group"
),
br
(),
radioButtons
(
"gographtype"
,
label
=
"Choose a graph type :"
,
choices
=
c
(
"Dotplot"
=
"dplot"
,
"Barplot"
=
"bplot"
,
"Emapplot"
=
"eplot"
)),
br
(),
radioButtons
(
"ontology"
,
label
=
"Choose an ontology :"
,
choices
=
c
(
"Biological Process"
=
"BP"
,
"Molecular Function"
=
"MF"
,
"Cellular Component"
=
"CC"
)),
br
(),
br
(),
actionButton
(
"gogo"
,
icon
=
icon
(
"far fa-arrow-alt-circle-right"
),
label
=
"Do Gene Ontology"
)
actionButton
(
"gogo"
,
icon
=
icon
(
"far fa-arrow-alt-circle-right"
),
label
=
"Do Gene Ontology"
)
)
)
)
...
...
@@ -156,7 +156,8 @@ sidebar <- dashboardSidebar(
radioButtons
(
inputId
=
"graph_grid"
,
label
=
"Choose the graph mode :"
,
c
(
"t-SNE"
=
"tsne"
,
"UMAP"
=
"umap"
)),
sliderInput
(
inputId
=
"ptsize_grid"
,
label
=
"Point size :"
,
min
=
0.1
,
max
=
2
,
step
=
0.1
,
value
=
0.6
,
ticks
=
FALSE
),
hr
(),
selectizeInput
(
inputId
=
"listminigenes"
,
label
=
"Choose a gene :"
,
choices
=
""
,
multiple
=
TRUE
)
selectizeInput
(
inputId
=
"listminigenes"
,
label
=
"Choose a gene :"
,
choices
=
""
,
multiple
=
TRUE
),
br
(),
uiOutput
(
"dlgrid"
)
)
)
)
...
...
@@ -470,7 +471,7 @@ server <- function(input, output, session) {
}
})
##
9
Grid Genes Miniplots Generation & Outputs --------
## Grid Genes Miniplots Generation & Outputs --------
output
$
minigenes
<-
renderPlot
({
req
(
wrfile
())
...
...
@@ -741,6 +742,23 @@ server <- function(input, output, session) {
}
)
output
$
dlgrid
<-
renderUI
({
# Grid Page
req
(
gridData
()
!=
""
)
downloadButton
(
"dlminiplots_grid"
,
label
=
""
)
})
output
$
dlminiplots_grid
<-
downloadHandler
(
# Grid Page
filename
=
function
()
{
paste0
(
file_path_sans_ext
(
filedata
$
name
),
"_gridplot_"
,
input
$
graph_grid
,
".svg"
)
},
content
=
function
(
file
)
{
svg
(
file
)
print
(
gridData
())
dev.off
()
}
)
## Information Visualize text --------
output
$
information
<-
renderUI
({
req
(
wrfile
())
...
...
data/8kpbmc.rds
0 → 100644
View file @
7912764e
File added
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment