R scripts to test the effect of river networks on population genetic structure

Spatial explicit forward-time agent-based model scripts in R to simulate multi-locus genotypes for all individuals from every local population based on informed river shapes. For any questions please contact the paper's authors.