Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cellranger_mkfastq
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
BICF
Astrocyte
cellranger_mkfastq
Commits
61ebdc45
Commit
61ebdc45
authored
5 years ago
by
Jeremy Mathews
Browse files
Options
Downloads
Patches
Plain Diff
Delete files
parent
2f118aab
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!59
Develop
,
!58
Develop
,
!47
Add Vizapp of multiqc results
Pipeline
#4809
passed with stages
in 1 minute and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vizapp/server.R
+0
-20
0 additions, 20 deletions
vizapp/server.R
vizapp/ui.R
+0
-30
0 additions, 30 deletions
vizapp/ui.R
with
0 additions
and
50 deletions
vizapp/server.R
deleted
100644 → 0
+
0
−
20
View file @
2f118aab
# This example implements a simple file browser for accessing results.
library
(
shiny
)
library
(
shinyFiles
)
# Results are available in the directory specified by the outputDir environment
# variable, red by Sys.getenv
rootdir
<-
Sys.getenv
(
'outputDir'
)
shinyServer
(
function
(
input
,
output
,
session
)
{
# The backend for a simple file chooser, restricted to the
# rootdir we obtained above.
# See https://github.com/thomasp85/shinyFiles
shinyFileChoose
(
input
,
'files'
,
roots
=
c
(
'workflow'
=
rootdir
),
filetypes
=
c
(
''
,
'bed'
,
'xls'
,
'wig'
),
session
=
session
)
})
This diff is collapsed.
Click to expand it.
vizapp/ui.R
deleted
100644 → 0
+
0
−
30
View file @
2f118aab
library
(
shiny
)
library
(
shinyFiles
)
shinyUI
(
fluidPage
(
verticalLayout
(
# Application title
titlePanel
(
"Astrocyte Example"
),
wellPanel
(
helpText
(
"This is a minimal example, demonstrating how
a Shiny visualization application can access the output of a workflow.
Here we provide a file browser using the shinyFiles package. Real
Astrocyte vizapps would provide custom methods to access and visualize
output."
),
helpText
(
"The workflow output is in the directory set in the
outputDir environment variable. this can be retrieved in R with the
command Sys.getenv('outputDir')"
),
# A simple file browser within the workflow output directory
# See https://github.com/thomasp85/shinyFiles
shinyFilesButton
(
'files'
,
label
=
'Browse workflow output'
,
title
=
'Please select a file'
,
multiple
=
FALSE
)
)
)
))
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment