StatisticsInR

The Course

This course introduces the basics of statistics and data manipulation with R. The course consists of three sections; session1: basics on probability theory, session2: linear models and session3: hypothesis testing. Each section is presented as both HTML and Rpres markdown ( to allow for intergration of the presentation in the RStudion enviroment itself). 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 slides or single page HTML at https://lmsbioinformatics.github.io/LMS_StatisticsInR/. All material is available to download under GPL v3 license.

For information on other courses run by our team see our web page.

The Team

This course was created and conducted by the MRC London Institute of Medical Sciences Bioinformatics Team at Imperial College London, Hammersmith Hospital. For more information on the team see our web page.

This course is free for MRC LMS and Imperial staff and students. If you would like to attend a future course contact yi-fang.wang@lms.mrc.ac.uk, Jesus.Urtasun@lms.mrc.ac.uk.

Setting up.

Install R.

R can be installed from the R-project website. R 4.1 or higher is required for this course.

http://www.r-project.org/

Install RStudio.

RStudio can be installed from the R-project website.

http://www.rstudio.com/

Install required packages.

Having downloaded R and RStudio, some additional packages are required (rmarkdown and ggplot2). To install these,

First launch RStudio

Install the packages in the R console

install.packages("ggplot2",dependencies=TRUE)
install.packages("rmarkdown",dependencies=TRUE)

Download the material

The material can either be downloaded as a zip

wget https://github.com/LMSBioinformatics/LMS_StatisticsInR/archive/master.zip ./

or checked out from our Github repository https://lmsbioinformatics.github.io/LMS_StatisticsInR/

Practical session

This section is Statistics in R for CBW 2022.

Link to HTML presentation - LMS_Statistics slides