Skip to content
Jude Thaddeau Data edited this page May 2, 2024 · 2 revisions

This guide outlines the steps to access and set up the GMM application using RStudio on OnDemand. This following steps are:

  1. Login to OnDemand
  2. Open RStudio and Install Dependencies
  3. Clone Code Repository and Download Dependencies
  4. Configure and Launch ShinyApp

1. Login to OnDemand

First, navigate to the OnDemand login page and enter your credentials to log in.

Login Page

2. Open RStudio and Install Dependencies

2.1 Select RStudio Latest Version

From the OnDemand dashboard, select the latest version of RStudio.

Select RStudio

2.2 Configure RStudio

Configure RStudio with the default settings, ensuring that the R version is set to 4.2.3. For runtime hours, CPUs, and Memory configuration, set these to 1 as we only need RStudio to install dependencies.

Configure RStudio

2.3 Launch RStudio

Click the Launch button to start RStudio.

Launch RStudio

2.4 Connect to RStudio Server

Once RStudio is ready, click on Connect to RStudio Server. A new browser tab will open.

Connect to RStudio Server

3. Clone Code Repository and Download Dependencies

3.1 Clone Code from GitHub

Select the Terminal in RStudio and enter the following command to clone the repository:

git clone https://github.com/WEHI-ResearchComputing/Genomics-Metadata-Multiplexing.git gmm

You should now see a gmm folder in the file browser.

Navigate to the gmm folder and pull the ShinyServer content:

cd gmm
git pull origin shinyServer

Set this folder as the working directory.

3.2 Install R Dependencies

Open setup.R and run the script to install the required R dependencies.

You can click the source button or use the command line:

source("~/gmm/setup.R")

4. Configure and Launch ShinyApp

Open Shiny App Configuration

Navigate to the Shiny App configuration section.

Configure the Shiny App with the following settings:

  • Partition: interactive
  • R Version: 4.2.3
  • #CPU: 4
  • Memory: 8GB
  • Runtime hours: 24
  • Shiny App directory: Select the gmm folder

Click launch and wait for the app to start. Once launched, you will see the following page:

Finally, click Connect to Shiny App to access the application.

This documentation has been updated for clarity and thoroughness, ensuring users can follow the steps to set up and launch the Genomics Metadata Multiplexing project successfully.