Skip to content

rinivarg/ReproRehab-Pod3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


ReproRehab POD-3 (2025-26)

TAs: Andrew Hooyman and Rini Varghese
Learn more about ReproRehab here: https://www.reprorehab.usc.edu

Getting Started

Welcome Pod 3! We have created a GitHub repository as a centralized location to store and share all the materials/code/resources discussed during the bootcamp. To get started with using this repository, follow 3 steps:

Step 1: Fork this repository by clicking here
Step 2: Download and install git on your computer here
Step 3: Clone this repository locally to your computer by following instructions here

You will now be able to access all the code and materials and follow along each week.

Overview of the Course

Each week, we will share a “codebook” that contains the code and explanations for what we covered in class. To make it accessible, the codebook will be available in three formats:

  1. .R format: A script that can be run in RStudio. Contains the same code with comments, but without the step-by-step explanations and outputs.

  2. .ipynb format (Jupyter Notebook): An interactive notebook with code and explanations. Run it step-by-step, view outputs, and read notes. Open locally in Jupyter (install tutorial) or in Google Colab.Open In Colab

  3. .pdf format: A static version of the notebook with code and explanations, but not interactive.

Curriculum

Below is the curriculum which shows the week-wise breakdown of the topics we will cover. Everything on here is subject to change as the needs of the pod evolve. Looking forward to 8 weeks of learning and teamwork!

Click to expand

Week 1: Tutorial on R/Rstudio and “Cheatsheets”

This lesson is focused on orienting learners to R and RStudio. We will go over how to use the many default libraries in R and how to install popular packages for us all within RStudio Learners have different goals and sometimes it is difficult to link how R can help a learner achieve that goal. To this end, we will connect learners with all the available “Cheatsheets” that can provide an overview of most of R’s functionality, from data manipulation to data visualization to deep learning.

Week 2: Importing Data into R

The first step to using R for research is to import one’s data in R’s memory. There are good base functions to import basic file types such as .csv files, but many times the format and file type of the data we wish to import can vary in a way base functions in R do not support. We will go over how to import data of different files types, including: SPSS files, SAS files, Excel spreadsheets, and even using library APIs to import data from REDCap databases and Google sheets.

Week 3: Data Cleaning and Manipulation

Once data is loaded into R it rarely is in the structure or format that is ready for analysis. In this lesson we will provide the best practices for handling missing data, converting data into different variable types, and converting data from wide to long and from long to wide formats.

Week 4: Summarizing and Visualizing Data

A good sanity check before plugging in your now clean and formatted data into a statistical model is to visualize it. This is good for a priori check of outliers, normality, and overall trends you may or may not expect. We will also present methods for compiling data into modifiable demographic tables that are publication ready.

Week 5: Statistical Analysis

Now that you have imported, cleaned, manipulated, and visually checked your data you are ready to confidentally analyze it. In this lesson we will present how to use base functions in R to run general and generalize linear models for statistical analysis. Additionally, we will go over how to use a library specific for mixed effects models for repeated measures designs and the incorporation of random effects.

Week 6: Codebooks and Cloud Computing

You now have the makings of a working analytical pipeline that fits your data and your research question. One day you will want to share it with the world! In this lesson we will present different methods for sharing your code either a vignette or notebook that makes your work accessible to a variety of audiences.

Week 7 & 8: Personalized Lessons!!

We have now covered the basics on all things R that are necessary for reproducible research in rehabilitation science. Now it is your turn to tell us what you would like to learn next! Don’t be afraid to think big or aim for a deep dive into one specific area! Even if it is something that we are unfamiliar with, will make sure to connect you with someone in the ReproRehab cohort that can help!

Bonus Content: Intro to Git & GitHub

You've probably heard by now about GitHub for sharing your code and data, but it's much more than that! In fact, Git (the software that the GitHub platform uses) is first and foremost a version-control tool. Through that very function, it allows you to travel in time on some version of your own code and collaborate with others on the same code without needing to have a million versions (e.g., code_FINAL_RV, code_FINAL_RV_AH, code_FINALFINAL_AH_RV_RV2024... lol, you get the gist).
To learn more, visit the content folder.


About

this repository contains course materials for pod 3 of the 2025-2026 ReproRehab cohort

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages