1.4 First LearnR

Interactive tutorials introducing various data science concepts

1.4.1 Purpose

The purpose of this assignment is to (1) join the class SciServer group so you can access course materials, and (2) learn how to access the tutorials for this course on SciServer.

1.4.2 Learning Objectives

  1. Accept invitation to join class SciServer Group
  2. Start up a C-MOOR LearnR compute container
  3. Complete your first LearnR tutorial
  4. Delete your C-MOOR LearnR compute container

1.4.3 Introduction

Before beginning this assignment, you should have already created a SciServer account and submitted your SciServer username to your instructor. In this assignment you will learn how to set up a “compute container” on SciServer. Compute containers are how you use programs on SciServer. In this course you will use two compute containers: “C-MOOR LearnR” has tutorials that will teach you how to run data analyses, and “C-MOOR R-Studio” is where you will work on your own data analysis projects. This assignment shows you how to set up the C-MOOR LearnR compute container and start up your first tutorial.

1.4.4 Instructions

1.4.4.1 Accept invitation to join class SciServer group

This video (video)(slides) shows you how to join a SciServer group. You can follow along with the video, or follow the steps below.

  1. Open sciserver.org in a web browser and log in to your account.
  2. Click “Groups”
  3. On the left, you should see a list of all the groups you have joined or been invited to. Click on the name of the group for this course, then click “Accept invitation”.
    1. Your instructor must have your username to invite you to the group. If you do not see an invitation, contact your instructor with your SciServer username.
  4. Confirm that you can access course data
    1. On the top menu bar, click “Files”
    2. On the left-hand menu, click “Data Volumes”
    3. Confirm that you see “C-MOOR-Data”
  5. Confirm that you can access course computing resources
    1. Click “Home” in the top menu to return to the home page.
    2. Scroll down to the second set of boxes and click “Compute”
    3. Click “Create container”
    4. In the “Compute Image” drop-down menu, confirm that you can see “C-MOOR LearnR” and “C-MOOR R-Studio”
    5. Under “Data Volumes”, confirm that you can see “C-MOOR Data”
    6. You can close the Create Container dialog box (by clicking the “X” in the top right) once you’ve confirmed that you can see the C-MOOR content

1.4.4.2 Start up a “C-MOOR LearnR” compute container

This video (video)(slides) shows you how to create and start up a C-MOOR LearnR compute container. You can follow along with the video, or follow the steps below.

  1. Open sciserver.org in a web browser and log in to your account.
    1. If you are already logged in, click “Home” in the top menu to return to the home page.
  2. Scroll down to the second set of boxes and click “Compute”
  3. Click “Create container”
    1. Give your container a name. This can be anything you like, but it’s useful if it says something about the purpose of the container so you can tell your containers apart. You could name this container “Tutorials”, since you’ll be using it to access tutorials.
    2. In the “Compute Image” drop-down menu, select “C-MOOR LearnR
    3. Under “Data Volumes”, check the box next to “C-MOOR Data
    4. Click “Create”. This may take a moment.
  4. You should now see a new entry in your list of containers
    1. “Created At” should be a few moments ago.
    2. “Name” should be the name you chose
    3. “Image” should be “C-MOOR LearnR”
  5. Start your C-MOOR LearnR container by clicking on its name (whatever name you chose when you created it). This will open in a new tab.
    1. You should see a list of tutorials, organized by date.
    2. If instead you see an error message, you most likely forgot to check the box next to “C-MOOR Data” when you created the container.
    3. If you see something else, you may have picked the wrong “Compute Image” from the drop-down menu.

If anything goes wrong, you can always delete your container by clicking the red “X” in the last column, and create a new container.

1.4.4.3 Complete your first LearnR tutorial

  1. If you’re not there already, go to the SciServer compute page and start up the C-MOOR LearnR container.
    1. Open sciserver.org in a web browser and log in to your account.
    2. If you are already logged in, click “Home” in the top menu to return to the home page.
    3. Scroll down to the second set of boxes and click “Compute”.
    4. Start your C-MOOR LearnR container by clicking on its name.
  2. Click on “Biological Databases”. The tutorial will open in a new tab.
  3. Complete the tutorial.

1.4.4.4 Delete your C-MOOR LearnR compute container

Compute containers are meant to be temporary, and you can only have 3 containers total on SciServer. So it’s generally a good idea to clean up after yourself and delete your containers when you’re done using them. Also, in this course, we will be updating the tutorials on the C-MOOR LearnR container, and you will need to create a new container to get the latest updates.

Deleting your container will delete your progress in a tutorial, so don’t delete the container until you have completed the tutorial and submitted any required items to your instructor. Later on in the course you will learn how to save things permanently on SciServer.

To delete a container:

  1. If you’re not there already, go to the SciServer compute page.
    1. Open sciserver.org in a web browser and log in to your account.
    2. If you are already logged in, click “Home” in the top menu to return to the home page.
    3. Scroll down to the second set of boxes and click “Compute”.
    4. Start your C-MOOR LearnR container by clicking on its name.
  2. Find the container you want to delete.
  3. Click on the red “X” in the last column.

1.4.5 Footnotes

1.4.5.1 Contributions and Affiliations

  • Katherine Cox, Johns Hopkins University
  • Frederick Tan, Carnegie Institution

Last Revised: May 13, 2021