Page MenuHomec4science

Analyze data using R (statistical package)
Updated 1,160 Days AgoPublic

Version 6 of 7: You are viewing an older version of this document, as it appeared on Feb 22 2021, 10:28.

Installing and using romero.gateway package in RStudio

Windows

This example uses Windows 10, other Windows version should be similar.

  • Install a JDK, for example AdoptOpenJDK. Make sure to tick the checkbox to set the JAVA_HOME and PATH environment variables during the installation.
  • In Rstudio, go to Tools > Install Packages...
  • Install the dependencies httr, jpeg and rJava from CRAN:

  • Download the latest romero.gateway release zip from Github and install it:

Analyze OMERO data using R

Load the library:

library(romero.gateway)

Connect to OMERO (Enter your gaspar credentials)

user_name = readline('Username: ')
user_password = readline('Password: ')
server <- OMEROServer(host = 'omero.epfl.ch', port = 4064, username=user_name, password=user_password)
server <- connect(server)
paste('Successfully logged in as', server@user$getUserName())

You can see examples on how to analyze OMERO data with R in this jupyter notebook:

This notebook uses the EBImage package. If you don't have it, you can download it from here.

Last Author
stoffel
Last Edited
Feb 22 2021, 10:28

Event Timeline

stoffel created this document.Feb 22 2021, 09:37
stoffel edited the content of this document. (Show Details)
stoffel edited the content of this document. (Show Details)Feb 22 2021, 09:42
stoffel edited the content of this document. (Show Details)Feb 22 2021, 09:45
stoffel edited the content of this document. (Show Details)
stoffel edited the content of this document. (Show Details)Feb 22 2021, 09:50
stoffel published a new version of this document.Feb 22 2021, 09:57
stoffel changed the title from Analyse data using R (statistical package) to Analyze data using R (statistical package).Feb 22 2021, 10:28
dornier edited the content of this document. (Show Details)Aug 5 2022, 14:34