Author

Emily C. Zabor

Published

July 18, 2024

This website hosts R teaching materials for the Cleveland Clinic Molecular Medicine PhD program. The material will be split across 5 1-hour sessions as part of the Tools course, followed by 2 2-hour sessions as part of the Biostatistics and Epidemiology course.

Tools course

Session 1

Session 2

  • Loading data

    • .xlsx
    • .csv
    • Other formats
    • Variable names (janitor)
  • Reproducibility

    • RStudio projects
    • Project workflow and organization
    • {here} package

Session 3

  • Basic programming

    • Assigning objects
    • Functions
    • Getting help
    • The pipe operator
    • Testing for equality
    • Indexing
    • Subsetting

Session 4

  • Manipulate dataframes

    • The dplyr package
    • Rename columns
    • Add columns
    • Group a continuous variable
    • Recategorize a categorical variable
    • Sort by row

Session 5

Biostatistics and Epidemiology

Session 1

Session 2