R scripts used for subsampling and structure

This folder contains for each species the script that reads the datafile, writes it in Structure format and also creates 500 Structure files where the populations of the Alps have been subsampled to match the number of populations from the Carpathians. For each file it then proceeds to run a Structu...

Full description

Bibliographic Details
Main Author: Meirmans, Patrick
Format: Dataset
Language:unknown
Published: Dryad Digital Repository 2018
Subjects:
Online Access:https://dx.doi.org/10.5061/dryad.nh4366s/3
https://datadryad.org/resource/doi:10.5061/dryad.nh4366s/3
Description
Summary:This folder contains for each species the script that reads the datafile, writes it in Structure format and also creates 500 Structure files where the populations of the Alps have been subsampled to match the number of populations from the Carpathians. For each file it then proceeds to run a Structure analysis with ten replicate runs per datafile (the mainparams and extraparams files required by Structure are also included). The script also reads all the output produced by Structure and parses it. Note that this script requires the Structure executable in order to run correctly. Also the script takes an inordinate amount of time to finish.