You have two options for following along with the code in the workshop.
Option 1: I have created a project on Posit Cloud. You can run the R code on the cloud server without installing anything on your own computer. All you have to do is sign up for a Posit Cloud account (already paid for by the Area Office), join the project group, and create your own copy of the project template. Participants will receive an invitation link by email. Instructions for signing up for an account and joining the project are here.
The Posit Cloud server is only for demonstration and teaching purposes. It is not secure. NO GOVERNMENT-OWNED DATA MAY BE UPLOADED TO THIS SERVER.
Option 2: Install R, RStudio, and all necessary R packages on your own computer. For Day 2 (omics), there is an additional step to install a Python virtual environment on your computer so that you can call Python code to do certain omics analyses from within R, using this omics workshop setup script. We may not have time during the workshop to troubleshoot any installation issues that may arise. However, if you want to analyze your own data with the methods you learn in the workshop, you will eventually need to install this software locally or run it on the SciNet cluster. Instructions on how to install R, RStudio, and the needed R packages on your own computer are here.
All necessary data and code worksheets are already pre-loaded on Posit Cloud. I have posted all materials here as well, in case people want to access them after the workshop when the Posit Cloud workspace is no longer available. You will need to bring your laptops to participate in hands-on sessions.
Location: SRRC
Full-text version | Slides | Worksheets | Answers to Exercises |
---|---|---|---|
Day 1, session 1: R Boot Camp: the very basics | Slides | Worksheet | Answers |
Day 1, session 2: R Boot Camp: working with data frames | Slides | Worksheet | Answers |
Location: SRRC
The code notebooks are already pre-loaded on the Posit Cloud workspace in both .Rmd (source code) and .html (generated output including figures) format. All necessary data is also pre-loaded on Posit Cloud.
Location: SRRC
The two hands-on lessons being taught on Day 3 are part of the “R for SAS Users” lesson series I developed. But it is not necessary to know any SAS to benefit from this lesson. All R code in these lessons is presented alongside equivalent SAS code so that if you’re already familiar with how to do something in SAS, you can see how to accomplish that same goal in R.
Full-text version | Slides | R Code Worksheet | SAS Code from Lesson | Answers to Exercises |
---|---|---|---|---|
Day 3, session 1: Intro to Mixed Models in R for SAS users | Slides | Worksheet | Lesson SAS code file | Answers |
Day 3, session 2: My first GLMMs in R for SAS users | Slides | Worksheet | Lesson SAS code file | Answers |
Location: Baton Rouge
Here are slides for the stats talks I am giving during the location visit.
Please help me improve future trainings by taking a quick (<5 minute) survey telling me what you thought about this workshop!
Page last updated 2024-02-24