Using CubSFS
to get demographic reconstructions of a population using an SFS (allele/site frequency spectrum)
By the end of today you will:
- Be able to install
R Studio
and manually install anR
package - Know how to source
R
functions within R Studio - Read in an SFS file into
R
- Run a
CubSFS
analysis - Evaluate whether results are valid based on knot placement, bootstrap, and QC metrics.
- Plot the data
Head to the instructions for getting started
CubSFS paper:
Waltoft, B.L. and Hobolth, A., 2018. Non-parametric estimation of population size changes from the site frequency spectrum. Statistical applications in genetics and molecular biology, 17(3). https://www.degruyter.com/document/doi/10.1515/sagmb-2017-0061/html
CubSFS tutorial:
https://htmlpreview.github.io/?https://raw.githubusercontent.com/blwaltoft/CubSFS/master/CubSFS.html
CubSFS github:
https://github.com/blwaltoft/CubSFS