CODE

You can find R and Unix shell scripts that I wrote for data analyses in my GitHub page, here .

I provide code for my most recent projects. I plan to add code used in older manuscripts progressively.

I list my public GitHub repositories and their content below.




1. Prates et al. 2018 - Ecology and Evolution

This repository contains the following information:
  • R and Unix shell scripts used to prepare and filter the data and perform all analyses.
  • R code used to define prior ranges for the parameters of SNAPP and G-PhoCS analyses.
  • R code used to make plots of population genetic structure from SNMF results.
  • Processed genetic and environmental data used in all analyses.
  • Configuration files used in Ipyrad, SNAPP (.xml) and G-PhoCS (.ctl) analyses.
  • Results from analyses performed in R using the LEA package (LFMM, SNMF, genetic PCA).
  • Data used to make maps shown in Fig. 1 of the manuscript.



Ivan Prates
ivanprates [at] gmail [dot] com
© 2018 All Rights Reserved