Welcome to the Introduction to R Workshop by the Nevada Bioinformatics Center with support from the NV INBRE Data Science Core. This workshop is designed to get you started with R programming for data analysis and statistics.
This hands-on workshop introduces participants to the R programming language and RStudio development environment. You'll learn essential skills for data manipulation and exploration using R's powerful tools and packages.
By the end of this workshop, you will be able to:
- Install and navigate R and RStudio
- Understand fundamental R concepts and data structures
- Import, explore, and manipulate data using base R and tidyverse packages
- Wrangle and reshape data using dplyr and tidyr (e.g., (filtering, joining, pivoting, recoding)
- Organize and manage R projects effectively
File: 00_Installation.md | HTML Version
- Installing R and RStudio
- Understanding the RStudio interface
- Setting up projects and organizing files
- Installing R packages
- Console vs. script workflows
File: 01_Data.md | HTML Version
- R fundamentals and syntax
- Data structures (vectors, data frames, lists)
- Working with built-in datasets
- Basic data exploration and manipulation
- Creating reproducible workflows
File: 02_Packages.md | HTML Version
- Introduction to R packages and the tidyverse
- Data manipulation with dplyr
- Data reshaping with tidyr
Introduction-R-Workshop/
├── 00_Installation.Rmd # Setup and installation guide
├── 01_Data.Rmd # Working with data in R
└── 02_Packages.Rmd # Data transformation packages
- No prior programming experience required
- Open the HTML versions of each module for easier reading
- Follow along with the instructor using the R Markdown (.Rmd) files
- Practice with the provided examples and exercises
- Ask questions - learning is collaborative!
This workshop uses several datasets for hands-on practice:
- Built-in R datasets:
mtcars,iris, and others - Workshop dataset:
subset_FFQ.csv- A sample food frequency questionnaire dataset
The workshop covers installation and use of:
tidyverse- A collection of data science packagesdplyr- Data manipulationtidyr- Data tidying and reshaping- many more
Create scripts that document your entire analysis process, making your work transparent and easy to replicate.
Access to thousands of packages for everything from basic statistics to machine learning, with specialized tools for various fields.
Create publication-quality visualizations with fine-grained control over every aspect of your plots.
No licensing fees, with a supportive community and transparent development process.
- Ask questions anytime
- Work with your neighbors
- Use the RStudio Help panel (
?function_name)
- R Documentation
- RStudio Cheat Sheets
- R for Data Science - Excellent online book
- Stack Overflow - Programming questions
- RStudio Community - Friendly R community
Nevada Bioinformatics Center
- Website: Nevada Bioinformatics Center
- For questions about this workshop or future training opportunities
This training was developed with support from a grant from the National Institute of General Medical Sciences (GM103440) from the National Institutes of Health.
This workshop content is provided for educational purposes only and not to be used for any other purposes.
Happy coding with R! 🎉
