4 Getting started - programs

We’ll use a few programs throughout this practical. You’ll probably need these for your (future) genetic epidemiology work too (Table 4.1).

Table 4.1: Programs needed for genetic epidemiology.

Program

Link

Description

PLINK

https://www.cog-genomics.org/plink2/

PLINK is a free, open-source genetic analysis tool set, designed to perform a range of basic data parsing and quality control, as well as basic and large-scale analyses in a computationally efficient manner.

R

https://cran.r-project.org/

A program to perform statistical analysis and visualizations.

RStudio

https://www.rstudio.com

A user-friendly R-wrap-around for code editing, debugging, analyses, and visualization.

Homebrew

https://brew.sh

A great extension for Mac-users to install really useful programs that Apple didn't.

4.1 RStudio

RStudio is a very user-friendly interface around R that makes your R-scripting-life a lot easier. You should get used to that. RStudio comes with R so you don’t have to worry about that.

4.3 Other programs

Mendelian randomization can be done either with the SMR or GSMR function from GCTA, or with R-packages, like TwoSampleMR.

As you are following the Genetic Epidemiology course, the next thing we’ll cover are the CoCalc-instructions in Chapter 5.