PT - JOURNAL ARTICLE AU - William E. Peterman TI - <kbd>ResistanceGA</kbd>: An R package for the optimization of resistance surfaces using genetic algorithms AID - 10.1101/007575 DP - 2014 Jan 01 TA - bioRxiv PG - 007575 4099 - http://biorxiv.org/content/early/2014/07/29/007575.short 4100 - http://biorxiv.org/content/early/2014/07/29/007575.full AB - Understanding how landscape features affect functional connectivity among populations is a cornerstone of landscape genetic analyses. However, parameterization of resistance surfaces that best describe connectivity is largely a subjective process that explores a limited parameter space.ResistanceGA is a new R package that utilizes a genetic algorithm to optimize resistance surfaces based on pairwise genetic distances and either CIRCUITSCAPE resistance distances or cost distances calculated along least cost paths. Functions in this package allow for the optimization of both categorical and continuous resistance surfaces, as well as the simultaneous optimization of multiple resistance surfaces.There is considerable controversy concerning the use of Mantel tests to accurately relate pairwise genetic distances with resistance distances. Optimization in uses linear mixed effects models with the maximum likelihood population effects parameterization to determine AICc, which is the fitness function for the genetic algorithm.ResistanceGA fills a void in the landscape genetic toolbox, allowing for unbiased optimization of resistance surfaces and for the simultaneous optimization of multiple resistance surfaces to create a novel composite resistance surface.