class: center, middle, inverse, title-slide # 7.1 Introduction to R and RStudio ## MICB 405 101 2021W1 Bioinformatics ###
Stephan Koenig
### University of British Columbia ### February 17, 2022 --- ## Module outline - **Oct 26** Introduction to R and RStudio - **Oct 28** Differential analysis with DESeq2 - **Nov 2** R tidyverse: Wrangling data I - **Nov 4** R tidyverse: Wrangling data II - **Nov 9** R tidyverse: Visualizing data - **Nov 16** R Markdown: Reproducibility in R Most classes will be live-coding of R tutorials. All content in R tutorials is testable. On slides, testable content is indicated by a pencil
. To get PDF of slides, download HTML, open in Google Chrome, then print to PDF. --- ## Learning outcomes - Identify the different components of RStudio. - Declare variables in R. - Identify common data types and structures used in R. - Recognize and use functions. - Install and load R packages. - Interpret documentation for functions and packages. --- ## Why [R](https://cran.rproject.org/)?
- Open source -- - Reproducible research with R Markdown -- - Huge community of developers around the world -- - Custom packages (as of Sep 13, 2021) - 18,177 on [CRAN](https://cran.r-project.org/web/packages/available_packages_by_name.html) (The Comprehensive R Archive Network) - 2,042 on [Bioconductor](https://www.bioconductor.org/packages) - More on individual GitHub accounts ??? Numbers of packages are not testable. --- ## Why [RStudio](https://www.rstudio.com/)? Integrated development environment (IDE) for R - User friendly (particularly for novices) - Customizable visual interface - Integrated file, package, and plot management - Local help pages - Integration with other data science resources like Git/GitHub, Shiny apps, etc. --- class: center middle background-image: url(data:image/png;base64,#../../images/rstudio.png) background-size: cover # A tour of RStudio