CPBP 8306-05: Probabilistic Inference in Biology

Librarian for Geospatial Systems and Data

Profile Photo
Alyssa Sklar
she/her
Contact:
Peabody Library
Room 309
1210 21st Ave S
Nashville, TN 37203
615-343-6704
Website

Resources for R

R is a free, open-source programming language designed for data analysis, statistics, and visualization. It is widely used in biology, bioinformatics, and many other disciplines. In this course, we’ll use R to apply statistical concepts directly to examples of real-world biological datasets, reinforcing your understanding through hands-on practice.

Getting Started with R

Step 1: Install R and RStudio

To begin, you’ll need two things:

Note: Install R first, then RStudio.

Installation guide: https://rstudio-education.github.io/hopr/starting.html

Step 2: Familiarize Yourself with the RStudio Interface

RStudio is a powerful interface that makes working in R much easier. It consists of four main panes:

  • Script Editor: Where you write and save your R code

  • Console: Where your code runs

  • Environment/History: Lists your variables and recent commands

  • Plots/Packages/Files/Help: Manage plots, install packages, access help

Beginner-Friendly Learning Resources

Getting Help with R

  • Stack Overflow: Global Q&A forum for programmers. You can search your error messages and questions. There is a very high chance that someone has had the same issue/question before!

  • Amplify: Vanderbilt's custom generative AI software

  • Ask a human: Your instructors, librarians on campus, and class mates are here for support! Don't hesitate to ask a classroom neighbor or another person for help!