This course is compiled automatically on 2022-09-21
The course is tested and available on MacOS, Windows and
Ubuntu Linux for R version 4.2.1 (2022-06-23)
This course introduces R and statistical programming.
The course consists of 2 sections, 1 on basic R data types and data input/output and a second on conditionals and looping. Each section is presented as HTML presentations or single page document. Exercises and answer sheets are included after all subsections to practice techniques and provide future reference examples.
Course material and exercises are available to view as rendered HTML at https://rockefelleruniversity.github.io/RU_introtoR_abridged/. All material is available to download under GPL v2 license.
R can be installed from the R-project website.
The R website can be found here http://www.r-project.org/.
The download links and associated installation instructions for multiple platforms can be found below provided by Revolution Analytics. https://cran.revolutionanalytics.com
We recommend installing R 4.2.1 as this is the version used to compile the course. Direct downloads for R 4.2.1 for the main platforms can be found below:
RStudio can be installed from the RStudio website.
RStudio can be downloaded for all platforms at the link below
https://rstudio.com/products/rstudio/download/
install.packages('BiocManager')
BiocManager::install('RockefellerUniversity/RU_introtoR_abridged',subdir='introToRabridged')
install.packages('BiocManager')
BiocManager::install('methods')
BiocManager::install('ggplot2')
BiocManager::install('rmarkdown')
BiocManager::install('rio')
BiocManager::install('knitr')
BiocManager::install('testthat')
BiocManager::install('yaml')
This section focuses on R basics such as simple data types, data IO, plotting and statistics. Session sections:
The html slide presentation can be found at this link Slide
The single page html presentation can be found at this link Single Page
The code use in the presentations can be found at R code
In session 2, programmatic techniques such as looping and conditional expressions are introduced The session includes longer exercises and shorter slide decks and so more time should be allocated to exercises in this session.
Session sections:
The html slide presentation can be found at this link Slide
The single page html presentation can be found at this link Single Page
The code use in the presentations can be found at R code
For advice, help and comments for the material covered in this course please contact us at the issues page associated to this course.
The link to the help pages can be found here
If you would like contact us about general bioinformatics advice, support or collaboration, please contact us the Bioinformatics Resource Center at brc@rockefeller.edu.