Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shiny-timecourse-inspector
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pertz-lab
shiny-timecourse-inspector
Commits
c879b75d
Unverified
Commit
c879b75d
authored
Oct 16, 2019
by
Jacques Marc-Antoine
Committed by
GitHub
Oct 16, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10 from majpark21/master
Automatic missing packages install
parents
64a2da4e
a9a988b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
2 deletions
+39
-2
global.R
global.R
+38
-0
modules/auxfunc.R
modules/auxfunc.R
+1
-1
ui.R
ui.R
+0
-1
No files found.
global.R
View file @
c879b75d
# 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
))
{
cat
(
paste
(
"Missing packages:"
,
paste
(
missing_packages
,
collapse
=
";"
),
"\nAttempting to install them."
))
install.packages
(
missing_packages
)
}
# Load modules
source
(
'modules/auxfunc.R'
)
source
(
'modules/selOutliers.R'
)
source
(
'modules/downPlot.R'
)
...
...
modules/auxfunc.R
View file @
c879b75d
...
...
@@ -1152,7 +1152,7 @@ LOCplotTrajRibbon = function(dt.arg,
alpha
=
ribbon.alpha.arg
)
p.tmp
=
p.tmp
+
geom_line
(
aes_string
(
y
=
y.arg
,
colour
=
group.arg
))
p.tmp
=
p.tmp
+
geom_line
(
aes_string
(
y
=
y.arg
,
colour
=
group.arg
)
,
size
=
1.25
)
# plot stimulation bars underneath time series
...
...
ui.R
View file @
c879b75d
...
...
@@ -5,7 +5,6 @@
# This is the user-interface definition for a Shiny web application.
#
library
(
shiny
)
library
(
shinyjs
)
# http://deanattali.com/shinyjs/
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