Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Kimberly Isobel Meechan
Image Data Explorer
Commits
29c353d4
Commit
29c353d4
authored
Oct 22, 2020
by
Jean-Karim Heriche
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added CRAN mirrors to image_data_explorer.R
parent
6628ce52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
R/explore_plot.R
R/explore_plot.R
+1
-1
image_data_explorer.R
image_data_explorer.R
+3
-1
No files found.
R/explore_plot.R
View file @
29c353d4
...
...
@@ -114,7 +114,7 @@ plot_server <- function(input, output, session, rv) {
})
### Interactions with the plot
Interaction_Plot
<-
function
(){
Interaction_Plot
<-
function
(){
observe
({
req
(
rv
$
data
)
isolate
({
...
...
image_data_explorer.R
View file @
29c353d4
...
...
@@ -10,13 +10,15 @@ options(shiny.maxRequestSize=500*1024^2)
## Increase amount of RAM allocated to the JVM to allow BioFormats to read large files. This needs to be done before loading rJava (or packages using it).
# options(java.parameters = "-Xmx8g")
cran.mirrors
<-
c
(
'https://ftp.gwdg.de/pub/misc/cran/'
,
'https://cloud.r-project.org/'
)
## Install required packages if missing
## CRAN packages
pkg
<-
c
(
"devtools"
,
"BiocManager"
,
"DT"
,
"shiny"
,
"shinyFiles"
,
"shinycssloaders"
,
"shinydashboard"
,
"shinyjs"
,
"shinyWidgets"
,
"shinybusy"
,
"assertthat"
,
"ggplot2"
,
"plotly"
,
"RANN"
,
"MASS"
,
"uwot"
)
new.pkg
<-
pkg
[
!
(
pkg
%in%
installed.packages
())]
if
(
length
(
new.pkg
))
{
message
(
paste0
(
"Installing "
,
new.pkg
,
"\n"
))
install.packages
(
new.pkg
)
install.packages
(
new.pkg
,
repos
=
cran.mirrors
)
}
## Bioconductor packages
if
(
!
"RBioFormats"
%in%
installed.packages
())
{
...
...
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