ResDisMapper-package: Calculates and maps environmental resistance to dispersal...

ResDisMapper-packageR Documentation

Calculates and maps environmental resistance to dispersal over a landscape

Description

The Resistance to Dispersal Mapper (ResDisMapper) package provides functions to calculate and map environmental resistance to dispersal over a landscape, for a population of individuals. Firstly, there is a function called rdm_IBD, which reads in the geographic coordinates and genetic data for the individuals and computes the geographic and genetic distance between each pair of individuals. This function compares the geographic and genetic distance for each pair of individuals to expected values in the case of Isolation by distance (IBD), and calculates the corresponding residuals. Secondly, there is a function rdm_residual, which takes the residuals and visualizes them using a 3-D plot, and outputs the residuals together with line segments representing pairs of individuals over the landscape. Thirdly, there is a function rdm_resistance, which uses the residuals and line segments to calculate the environmental resistance to dispersal over the landscape. Lastly, the function rdm_mapper visualizes the resistance values using a raster map, with contour lines indicating areas of high and low resistance.

Author(s)

Tang Qian, Tak Fung, Frank Rheindt

Maintainer: Tak Fung <tfung2000@gmail.com>, Tang Qian <tangqiannus@gmail.com>

References

Tang, Q., Fung, T., Rheindt, F.E. (2020). ResDisMapper: An R package for fine-scale mapping of resistance to dispersal. Molecular Ecology Resources 20 (3), 819-831 https://doi.org/10.1111/1755-0998.13127


takfung/ResDisMapper documentation built on Jan. 27, 2024, 8:36 a.m.