Visualizing geographic structure and demographic history: (very) short course

This is the material for a short (3 hour) course I taught at the UCLA/La Kretz Workshop in Conservation Genomics, 22-27 March, 2015.

Goals/skills:

  1. Describe different causes and patterns of population structure.
  2. Use principal components analysis (PCA) to visualize population structure.
  3. Use BEDASSLE to fit models of isolation by distance and/or environment.

Incidental skills:

  1. Interpreting the output of a Markov chain Monte Carlo (MCMC) algorithm.

Prerequisites:

  1. Install R
  2. and the R package BEDASSLE:

    install.packages("BEDASSLE")

To get the data used in the examples, download and uncompress this tarball to the folder you've put this git repository in.

In this repository

  1. The presentation.
  2. Example of running PCA on some data.
  3. Example of running BEDASSLE on some simulated data.
  4. Example of running BEDASSLE on two real datasets: teosinte and the HGDP.

Each of the above html files are made from the corresponding Rmd files of the same name; you can read the source code to see what happens behind the scenes when the R code isn't in the presentation.

Outline

  1. PCA and visualization (45min)
  2. Doing PCA: hands-on (45min)
  3. Continuous geography (45min)
  4. Using BEDASSLE (45min)

License and reuse

Creative Commons License
This work, including the code and presentation, is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.