This repository contains materials for an introductory R programming workshop, focusing on data analysis in bioinformatics and health sciences. The workshop is designed as a 4-day course with 2-hour sessions each day, taking participants from basic R programming concepts through to practical data analysis techniques.
Eren Ada, PhD
Research Associate in Immunology
Harvard Medical School
Email: [email protected]
TMEC 333 Conference Room
Tosteson Medical Education Center
260 Longwood Ave
Boston, MA 02115
Workshop Dates:
- Day 1: February 11, 10:00 AM - 12:00 PM
- Day 2: February 13, 10:00 AM - 12:00 PM
- Day 3: February 18, 10:00 AM - 12:00 PM
- Day 4: February 20, 10:00 AM - 12:00 PM
All workshop materials are available on our course website: https://hms-immunology.github.io/intro-R-workshop/
- Introduction to R and RStudio
- Objects and Variables
- Vectors and Matrices
- Practice Exercises
- Working with Data Frames
- Data Manipulation with dplyr and tidyr
- Practice with Real-world Examples
- Introduction to ggplot2
- Advanced Plotting Techniques
- Creating Publication-Ready Figures
- Extended Practice Sessions
- Basic Statistical Concepts
- Hypothesis Testing
- Advanced Topics (Optional)
- Workshop Wrap-up and Q&A
Each lesson is provided in multiple formats:
- Markdown (.md) files for direct viewing on the website
- R Markdown (.Rmd) files for downloading and running interactively in RStudio
- HTML rendered versions for local viewing
Before attending the workshop, please ensure you have:
- A laptop with R and RStudio installed
- Basic understanding of programming concepts (helpful but not required)
- Followed our setup instructions
intro-R-workshop/
├── class-materials/ # Main course content
│ ├── r_basics.Rmd # Day 1: R basics
│ ├── objects-variables.Rmd # Day 1: Objects
│ ├── vectors-matrices.Rmd # Day 1: Data structures
│ ├── data-frames.Rmd # Day 2: Data frames
│ ├── data-manipulation.Rmd # Day 2: Data manipulation
│ ├── data-visualization.Rmd# Day 3: Visualization
│ └── basic-statistics.Rmd # Day 4: Statistics
├── rendered-html/ # Rendered HTML versions
└── setup.md # Setup instructions
Each day consists of a 2-hour session structured as follows:
- 10:00 - 10:30: Introduction to R and RStudio
- 10:30 - 11:00: Objects and Variables
- 11:00 - 11:30: Vectors and Matrices
- 11:30 - 12:00: Practice and Q&A
- 10:00 - 10:45: Working with Data Frames
- 10:45 - 11:30: Data Manipulation (dplyr/tidyr)
- 11:30 - 12:00: Practice and Q&A
- 10:00 - 10:45: Introduction to ggplot2
- 10:45 - 11:30: Advanced Plotting Techniques
- 11:30 - 12:00: Visualization Practice
- 10:00 - 10:45: Basic Statistics
- 10:45 - 11:30: Advanced Topics
- 11:30 - 12:00: Workshop Wrap-up and Q&A
- Visit our course website for the most user-friendly experience
- Follow the setup instructions to prepare your computer
- Start with Day 1 materials and progress through the course
We welcome contributions to improve the workshop materials. Please:
- Fork the repository
- Create a feature branch
- Submit a pull request with your changes
For questions about the workshop or materials:
- Email: [email protected]
- Open an issue in this repository
- Use the discussion forums on our website
© 2024 Eren Ada, Harvard Medical School. All rights reserved.
This material is licensed under Creative Commons Attribution-ShareAlike 4.0 International License. You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, even commercially
Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made.
- ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
For questions about usage or permissions, please contact [email protected]
This workshop was developed by Eren Ada, PhD at the HMS Immunology Program. We thank all contributors and participants for their valuable feedback and suggestions.