Phriction Projects Wikis Bioimaging And Optics Platform Image Processing OMERO OMERO Pilot Analyze data using R (statistical package)
Analyze data using R (statistical package)
Analyze data using R (statistical package)
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.
Tags
None
Subscribers
None
- Last Author
- stoffel
- Last Edited
- Feb 22 2021, 10:28