Cytoscape and RStudio with CyREST/r2cytoscape connection
556
Cytoscape 3.6.0 (pre-release) from http://code.cytoscape.org/jenkins/job/cytoscape-3-gui-distribution/3595/org.cytoscape.distribution$cytoscape/artifact/org.cytoscape.distribution/cytoscape/3.6.0-20171018.011314-1020/cytoscape-3.6.0-20171018.011314-1020.tar.gz (18.10.2017 01:03:58)
Also the following scripts from the Cytoscape Github are downloaded and can be found at /home/rstudio
check-library-installation.Rcheck-cytoscape-connection.Rdocker run -dit \
-p 8787:8787 \
-p 1234:1234 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=$DISPLAY \
--name=cytoscape-rstudio \
flockowak/cytoscape
By default the username/password is rstudio:rstudio. To use a custom password by specifying the PASSWORD environmental variable
docker run -dit \
-p 8787:8787 \
-p 1234:1234 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=$DISPLAY \
-e PASSWORD=yourpasswordhere \
--name=cytoscape-rstudio \
flockowak/cytoscape
For more options see the documentation on the rocker/rstudio docker hub page.
You have to authorize your user to access the X Server from another host using xhost:
xhost +si:localuser:$USER
or
xhost +local
Open http://localhost:8787 in you browser
docker exec -u rstudio cytoscape-rstudio cytoscape
For more examples, explore the RCy3 documentation
?RCy3
or have a look at Cytoscape-Tutorials or Cytoscape Advanced Topic: Automation
To check, if all required libraries are installed, you can run the check-library-installation.R script in RStudio:
source('/home/rstudio/check-library-installation.R')
With Cytoscape running, you can test the connection between RStudio and Cytoscape running the check-cytoscape-connection.R script:
source('~/check-cytoscape-connection.R')
Content type
Image
Digest
Size
794.2 MB
Last updated
over 8 years ago
docker pull flockowak/cytoscape