Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shiny-timecourse-inspector
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pertz-lab
shiny-timecourse-inspector
Commits
070b4220
Commit
070b4220
authored
Oct 16, 2019
by
majpark21
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved automatic installation of packages into global.R
parent
325456b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
global.R
global.R
+8
-0
ui.R
ui.R
+0
-8
No files found.
global.R
View file @
070b4220
# Check if all required packages are installed, if not attempt to install the missing ones
required_packages
=
c
(
"shiny"
,
"shinyjs"
,
"shinyBS"
,
"shinycssloaders"
,
"data.table"
,
"DT"
,
"ggplot2"
,
"gplots"
,
"plotly"
,
"scales"
,
"grid"
,
"dendextend"
,
"RColorBrewer"
,
"ggthemes"
,
"sparcl"
,
"dtw"
,
"factoextra"
,
"imputeTS"
,
"MASS"
,
"robust"
,
"pracma"
,
"Hmisc"
)
missing_packages
<-
required_packages
[
!
(
required_packages
%in%
installed.packages
()[,
"Package"
])]
if
(
length
(
missing_packages
))
install.packages
(
missing_packages
)
source
(
'modules/auxfunc.R'
)
source
(
'modules/auxfunc.R'
)
source
(
'modules/selOutliers.R'
)
source
(
'modules/selOutliers.R'
)
source
(
'modules/downPlot.R'
)
source
(
'modules/downPlot.R'
)
...
...
ui.R
View file @
070b4220
...
@@ -5,14 +5,6 @@
...
@@ -5,14 +5,6 @@
# This is the user-interface definition for a Shiny web application.
# This is the user-interface definition for a Shiny web application.
#
#
required_packages
=
c
(
"shiny"
,
"shinyjs"
,
"shinyBS"
,
"shinycssloaders"
,
"data.table"
,
"DT"
,
"ggplot2"
,
"gplots"
,
"plotly"
,
"scales"
,
"grid"
,
"dendextend"
,
"RColorBrewer"
,
"ggthemes"
,
"sparcl"
,
"dtw"
,
"factoextra"
,
"imputeTS"
,
"MASS"
,
"robust"
,
"pracma"
,
"Hmisc"
)
missing_packages
<-
required_packages
[
!
(
required_packages
%in%
installed.packages
()[,
"Package"
])]
if
(
length
(
missing_packages
))
install.packages
(
missing_packages
)
library
(
shiny
)
library
(
shiny
)
library
(
shinyjs
)
# http://deanattali.com/shinyjs/
library
(
shinyjs
)
# http://deanattali.com/shinyjs/
library
(
shinyBS
)
# for tooltips
library
(
shinyBS
)
# for tooltips
...
...
Write
Preview
Markdown
is supported
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