Session 4: Fine-Mapping and Colocalization

Tutorial notebook

Work through the Fine Mapping and Colocalization Lab (04_finemapping_colocalization.Rmd). Download the R Markdown file.

The lab uses GWAS summary statistics, linkage disequilibrium (LD), and gene-expression association data to explore candidate causal variants and shared association signals.

Setup

  1. Launch RStudio through NIH HPC OnDemand. See the Session 1 RStudio setup instructions.
  2. Open the Terminal tab in RStudio. The tutorial repository contains materials for all sessions, so you only need one copy.

    If you cloned the repository before, go to that existing folder and run git pull to get the latest materials:

    cd /data/$USER/Stats_Gen/statgen_workshop_tutorial
    git pull
    

    Replace the cd path with your existing repository location if you cloned it elsewhere. Run git pull from that folder before future sessions too.

    If this is your first time cloning the repository, run:

    cd /data/$USER/Stats_Gen
    git clone https://github.com/DCEG-workshops/statgen_workshop_tutorial.git
    
  3. In RStudio, choose File > Open File, browse to your statgen_workshop_tutorial folder, and open src/04_finemapping_colocalization.Rmd.
  4. Choose Session > Set Working Directory > To Source File Location. Changing directories in the Terminal does not change R’s working directory.
  5. Install any missing packages listed in the notebook: susieR, coloc, knitr, and rmarkdown.
  6. Run the setup chunks, then work through the analysis chunks in order. The notebook reads shared inputs from the directory below and saves results in /vf/users/<your-username>/Stats_Gen/workshop4.
/data/DCEG_shared/statgen_workshop_2026/data/workshop4

Lab activities

  1. Fine-mapping with SuSiE: Examine GWAS summary statistics and LD at FGFR2, run SuSiE, and interpret posterior inclusion probabilities and 95% credible sets.
  2. Colocalization with coloc: Compare GWAS and gene-expression signals in two tissues and interpret evidence for distinct versus shared causal variants. Discuss why colocalization does not establish mediation through gene expression.
  3. Optional extensions: Explore multiple signals at TERT and assess sensitivity to colocalization priors.

See the Session 4 reading materials for background on fine-mapping and colocalization.