Figures
Abstract
Least-cost modelling and circuit theory are common analogs used in ecology and evolution to model gene flow or animal movement across landscapes. Least-cost modelling estimates the least-cost distance, whereas circuit theory estimates resistance distance. The bias added in choosing one method over the other has not been well documented. We designed an experiment to test whether both methods were linearly related. We also tested the sensitivity of these metrics to variation in Euclidean distance, spatial autocorrelation, the number of pixels representing the landscape, and data aggregation. We found that least-cost and resistance distance were not linearly related unless a transformation was applied. Resistance distance was less sensitive to the number of pixels representing a landscape and was also less sensitive than least-cost distance to the Euclidean distance between nodes. Spatial autocorrelation did not affect either method or the relationship between methods. Resistance distance was more sensitive to aggregation in any form compared to least-cost distance. Therefore, the metric used to infer movement or gene flow and the manipulations applied to the data used to calculate these metrics may govern findings.
Citation: Marrotte RR, Bowman J (2017) The relationship between least-cost and resistance distance. PLoS ONE 12(3): e0174212. https://doi.org/10.1371/journal.pone.0174212
Editor: Yongtang Shi, Nankai University, CHINA
Received: August 25, 2016; Accepted: March 6, 2017; Published: March 28, 2017
Copyright: © 2017 Marrotte, Bowman. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the paper and its Supporting Information files.
Funding: Funding was provided by a Natural Sciences and Engineering Research Council of Canada Discovery grant to JB, a Natural Sciences and Engineering Research Council of Canada postgraduate scholarship to RRM and by the Ontario Ministry of Natural Resources and Forestry. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Early work by Doyle and Snell [1] revealed that current in an electrical circuit travels similarly to a random walk. Two decades later McRae [2] applied this concept to model gene flow. Since then, circuit theory and associated software Circuitscape [2], has been used to simulate movement and gene flow of a multitude of species in the fields of ecology and evolution (e.g., [3], [4], [5], [6], [7]). At the same time, least-cost modelling has also been commonly used for very similar applications (e.g., [8], [9], [10], [11], [12]). The popularity of these methods in ecology is quickly increasing (Fig 1). A Google Scholar search with the query: “least-cost modelling” AND “ecology”, revealed that peer reviewed articles mentioning this approach have increased from 4 articles in 2000 to 108 in 2015. On the other hand, the search query: “Circuitscape” AND “Ecology”, revealed 0 articles in 2000 and 109 articles in 2015. Circuitscape was first conceived by McRae [2], however the name of the software was not coined in peer reviewed literature until 2007 [7], [13], [14]. Conversely, least-cost modelling in ecology has been around since the early 2000s [15], [16], [17]. While the usage of both approaches is likely to increase, few studies have investigated their quantitative differences [18], [19], [20].
Cumulative increase in the number of Google Scholar articles that have mentioned Circuitscape and least-cost modelling in the field of Ecology since 2000.
Both methods have the common objective of predicting gene flow or movement between locations while considering the influence of the landscape. In both cases, the landscape is represented as a cost surface, where a high cost is considered highly resistant to movement. Consequently, the distance or time to travel between locations is hindered by the cost to travel through obstacles. The straight Euclidean path is deviated around obstructions causing spatial distortion that is not in accordance with Tobler’s 1st law of geography [21], [22]. Both continuous and discrete (categorical) resistance surfaces are frequently used to infer movement and gene flow of populations or individuals. Continuous resistance surfaces are frequently used to infer the effect of gradients of a continuous variable such as elevation [23], [24], snow depth [25], temperature [26], slope [27], habitat suitability [28], or species distribution [29] on the movement pattern or gene flow of a species. On the other hand, discrete resistance surfaces are often generated from land use [30] or land cover maps [31], [32].
The relationship between least-cost and resistance distance has not been studied in great depth [18], [19], [20], and researchers ought to recognise the bias they might be adding when choosing one method over another. Both methods are different in the way movement is characterised. Least-cost modelling expresses movement as the least-cost path between two focal points. Circuit theory expresses movement as the probability of a random walk between focal nodes [33]. The distance between nodes is then expressed as the accumulated cost of the least-cost path or the resistance distance [15], [34]. However, both distance measures are similar in accounting for the influence of the landscape on the movement or gene flow of individuals. Both measures also complement one another and have been used together for this very reason (e.g., [35]). Furthermore, there is an apparent relationship between the methods. In a scenario where only one pathway exists between two nodes, the resistance distance is equal to the least-cost distance [33]. Where there are multiple independent pathways between nodes, the average least-cost distance of these pathways is equivalent to the resistance distance. Therefore, a coarse measure of the number of pathways or the redundancy between nodes is the ratio between least-cost and resistance distance [33]:
(1)
where
is resistance distance. Least-cost and resistance methods have been combined in a diverse number of different ways [35], [36], [37], [38]. However, the use of the redundancy metric is rare in the literature [18].
Recently, McClure et al. [20] compared the predictability of cost and resistance distance and found that least-cost distance predicted elk migration path slightly better and resistance distance predicted wolverine dispersal paths better. Also, these methods produced different results when used to find habitat patches that should be prioritized for conservation [19]. The importance of patches as connectors to facilitate dispersal was overestimated using least-cost compared to resistance distance for short or medium dispersals. Koen et al. [18] showed that if high quality elements of habitat were held constant at low movement cost while low quality habitat was sequentially increased, there was a positive linear change in both least-cost and resistance distance. All other responses were asymptotic for both least-cost and resistance distance. This study highlights the sensitivity of both resistance and least-cost distance to the cost weights assigned to landscape elements. Schwartz et al. [6] found that wolverine gene flow was more correlated to least-cost distance compared to resistance distance and both methods only converged in narrow areas. They suggested that least-cost distance may explain southern wolverine gene flow better because these populations are often found in linear habitat connected by chains of mountains. Essentially, the wolverine is restricted within this habitat and its movement behaviour and consequently its gene flow mirrors a least-cost path.
Such findings highlight the importance of investigating assumptions of both effective distance measures. Researchers should choose a movement or gene flow metric that closely matches the behavior, biology, and ecology of the focal entity. For instance, least-cost distance inherently assumes that an animal will follow the path of least resistance between focal locations [6] and resistance distance assumes multiple pathways between sites [2]. We suspect that the data used to quantify these distances are a major contributor that governs how both methods perform. In this study, we define least-cost distance as the cost-distance of the least-cost path between focal points [34]. This metric is often named the accumulated cost and is occasionally confused with the least-cost path length. It is important to recognize the difference, because this latter metric is highly correlated with Euclidean distance and consequently is a poor measure of connectivity [34], unless there is high uncertainty about cost weights [18].
We sought to better understand the difference between these commonly used methods to estimate effective distance between locations by comparing their outcomes on landscapes simulated using spatially correlated random fields. Our prior understanding was that these methods were related by a quantity referred to as redundancy (Eq 1). In addition, we also thought that the number of pathways between focal points monotonically decreases with the Euclidean distance and spatial heterogeneity. Our reasoning was that Euclidean distance and heterogeneity limit movement by reducing the number of pathways between focal areas. Thus, increasing the distance between focal points and the degree of spatial autocorrelation should lead to a divergence between least-cost and resistance distance. We also thought that the relationship between methods could be influenced by the number of pixels representing the landscape. Our logic was that the number of pathways between nodes increases monotonically with the number of pixels. Therefore, as the number of pixels increases we should also see an equivalent increase in redundancy. Finally, we also expected that aggregation in the form of spatial and thematic accuracy should lead to convergence of the two methods. Our reasoning was that aggregation in any form should lead to a reduction in the number of pathways between focal points and subsequently both methods converge with increasing aggregation. Aggregation is very commonly used, since the algorithms using least-cost distance are processor and memory intensive, leading many researchers to spatially aggregate their data at coarse resolutions [6], [39], [40].
Materials and methods
Landscape creation
We used unconditional Gaussian simulations [41–43], also known as spatially correlated random fields [44], in the ‘gstat’ package [45] of the R statistical language [46] to generate landscape simulations.
To determine linearity, the effect of Euclidean distance, spatial autocorrelation, and the response of these methods to aggregation we simulated 1,000 landscapes with varying degrees of spatial autocorrelation. We first generated template landscapes with spatial dimensions of 1,000 x 1,000 units; equivalent to 1 million pixels. Next, for each of these landscapes, we created an exponential variogram model with a sill of 0.025 and we assigned a random spatial range. The range of each of these models was randomly sampled from a bounded uniform distribution between 1 and 1000 units. As the range increased from 1 to 1000, so did the degree of spatial autocorrelation between neighbouring pixels. We then predicted the model into Cartesian space as a continuous raster surface, scaled between 1 and 1000 integer values. These values represented landscape resistance or cost of movement, where a high value of 1000 had greater cost of movement. Subsequently, with these same landscapes, we independently performed spatial and thematic aggregation to determine their effect on the congruence between least-cost and resistance distance. We aggregated each landscape by a factor of 1 to 20 to simulate different levels of spatial aggregation. In parallel, we aggregated the cost values into a random number of discrete groups using quantiles to generated different levels of thematic resolution. The number of categories ranged from 2 categories (i.e., a patch-matrix landscape) to 20 possible values (e.g., a land use or land cover classification). Essentially, we used the cost values to generate a ramp of discrete classifications and compared these to the continuous cost landscape.
To determine the effect of the number of pixels on the relationship between least-cost and resistance distance, we simulated an additional 1,000 landscapes with varying number of pixels and degree of spatial autocorrelation. We first assigned a square spatial dimension to each perspective landscape ranging from 100 to 1000 units. This generated square blank landscapes that had from 10,000 to 1 million pixels. As in the previous analysis we modelled this spatial extent with a variogram with a sill of 0.025 and a spatial range randomly sampled for a uniform distribution. We restricted the creation of landscapes that had duplicate representations, that had less than 10,000 pixels, or that had a spatial autocorrelation range larger than the dimension of the spatial extent (e.g., 1000 units).
In both sets of simulations, for each resistance surface generated, we randomly placed 15 focal nodes on the landscape and calculated pairwise measures of least-cost and resistance distance between all node pairs. To reduce edge effect, we did not place sites within a buffer zone within 10% of a landscape’s dimension [47]. To calculate resistance distance, we used Circuitscape [2]. To calculate the least-cost distance we used Dijkstra’s algorithm weighted by cost that is implemented in the cost distance function in the ‘gdistance’ R package [48], [49]. We configured analyses in all platforms to use pairwise modelling with 8 neighbours. We used the average resistance to calculate these effective distances. We also tested average conductance, but found no noticeable differences in our subsequent results.
Opportunistically, we also compared resistance distance to an alternative method that directly estimates the commute-time or the expected time it takes for a random walk from one node to another. Given that commute-time is easily calculated in R, we were interested to evaluate whether commute-time and resistance distance were equivalent, as both reflect the underlying properties of a random walk. To calculate the commute-time, we used the algorithm given by Fouss et al. [50] implemented in the commute-time distance function in the ‘gdistance’ R package [48]. We expected a direct, proportional relationship between these distance measures [33], [51].
Statistical analysis
We compared the effective distance between all pairs for both methods for each landscape represented by 1 million pixels. To determine whether linearity existed between least-cost and resistance distance, and to test the effect of Euclidean distance and spatial autocorrelation on the relationship between least-cost and resistance distance we compared the pairwise distances calculated by each method on each landscape of 1 million pixels with a measure of rank correlation. We did not want to bias our analysis by assuming linearity between both metrics, consequently we used a Spearman’s rank correlation (p). In addition, our prior analyses indicated that these measures were not linearly associated (See Results). To determine the effect of the number of pixels representing a landscape on the relationship between these methods we calculated the rate of change of the distances of both measures against the associated number of pixels representing the landscape. We additionally verified the relationship between methods by comparing their distances with a Spearman’s rank correlation on all landscapes represented by 1 million pixels. Finally, to determine the effect of aggregation, we first assessed the concordance of least-cost and resistance distance before aggregation and we then compared this baseline value to those after aggregation. Our measure of change due to aggregation was the difference in the rank correlation (Δp) between the baseline landscape of 1 million pixels and the aggregated landscape for both types of aggregation. We assessed the variability of each method due to aggregation by comparing their measures before and after aggregation with a Spearman’s rank correlation.
Results
Linearity between methods
The relationship between least-cost distance and resistance distance was non-linear (Fig 2). The response was curvilinear and exponential. When we square-root transformed the least-cost distance or squared the resistance distance the response was linearized (S1 and S2 Figs). The distribution of the rank correlation between least-cost and resistance distance for all 1,000 landscapes ranged from 0.25 and 0.93 (μ = 0.720 and σ = 0.101; S3 Fig). The relationship between resistance distance from Circuitscape and commute-time was linear (p = 0.87 for a subset of 5,000 paths; S4 Fig). The distribution of the rank correlation between resistance distance and commute-time for all 1,000 landscapes did not vary much from the average (μ = 0.998 and σ = 0.001).
The relationship between least-cost and resistance distance for a subset of 5,000 random pairs sampled from 1000 different simulated landscapes (p = 0.731). We had to randomly subset the data to make the figures more visually appealing, since there were 105,000 actual points. Landscape size (number of pixels) was held constant at 1,000,000.
Euclidean distance and spatial autocorrelation
Both least-cost and resistance distance increased monotonically with Euclidean distance (Fig 3). Least-cost distance increased at a much higher rate compared to resistance distance (slope = 345 vs. 0.28). Euclidean distance explained 71.0% of the variation in least-cost distance and only 18.9% of variation in resistance distance. In general, a 100 unit increase in Euclidean space between two focal points led to only a 28 unit increase in resistance distance, compared to a 34,500 unit increase in least-cost distance. The degree of spatial autocorrelation of a landscape did not seem to affect the estimates of either method (S5 Fig) and did not affect their relationship (S6 Fig).
The effect of Euclidean distance on both methods for a subset of 5,000 random paths sampled from 1000 different simulated landscapes represented with 1 million pixels or nodes. The y-axis in this graph is on a logarithmic scale for visualization purposes only. Least-cost distance increases linearly with Euclidean distance while resistance distance increases linearly to quite a lesser extent. Landscape size (number of pixels) is held constant at 1,000,000.
Number of pixels
For both least-cost and resistance distance there was an exponential response with the number of pixels representing the landscape (Fig 4). In addition, this trend was stronger for least-cost compared to resistance distance. A 100% increase in the number of nodes led to a 50% increase in least-cost distance and only a 7% increase in resistance distance. The trend for least-cost distance was predominantly explained by the number of pixels (r2 = 0.53) but this was not the case for resistance distance (r2 = 0.09). The Spearman’s rank correlation calculated between both methods between all pairwise combinations of the 15 nodes decreased as the number of pixels representing the landscape increased (Fig 5). This indicated that the agreement between these effective distances decreased as the number of pixels (or the number of pathways) through the landscape increased. For instance, the rank correlation between methods for a landscape represented by 100,000 pixels would be ~0.78, for a landscape represented by 1 million pixels would be approximately 0.73, and a landscape represented by 10 million pixels would be ~0.67. Therefore, we should not expect the same degree of agreement between methods on landscapes represented by different numbers of pixels. In other words, the magnitude of agreement between measures depends on the number of pixels representing the landscape.
The least-cost and resistance distance in relation with the varying number of pixels for a subset of 5,000 random paths sampled from 1,000 deferent landscapes with varying degrees of spatial autocorrelation and number of pixels representing the landscape. Both axes are on a logarithmic scale. In this case both the response and explanatory variables were log-transformed to calculate the linear model. Landscape size (number of pixels) is varied from 10 thousand to 1 million pixels.
The rank agreement (p) between least-cost distance in relation with the log transformed number of pixels representing 1,000 different landscapes with varying spatial autocorrelation. The x-axis is on a logarithmic scale. Landscape size (number of pixels) is varied from 10 thousand to 1 million pixels.
Aggregation
Both spatial and thematic aggregation decreased the rank correlation between least-cost and resistance distance (Fig 6). However, spatial aggregation had a greater impact on the rank correlation between the two methods. In addition, we tested whether the methods themselves varied independently due to both types of aggregation. We found that spatial aggregation did not affect least-cost distance, but did affect resistance distance (Fig 7). We also found that thematic aggregation affected both methods, but resistance distance to a lesser degree than least-cost distance (Fig 8). Generally, resistance distance was more sensitive to both types of aggregation.
The effect of aggregation on the relationship between least-cost and resistance distance. One thousand landscapes were simulated with varying degrees of spatial autocorrelation and least-cost and resistance distance were calculated between 15 sites. The Spearman’s rank correlation (p) between these methods was then calculated. These landscapes were then, in parallel, spatially and thematically aggregated by a random factor between 2 and 20. Pairwise distances were once again calculated and subsequently the rank correlations. We then deducted these subsequent rank correlations from the baseline correlations. Thus, |Δp| is the absolute change in rank correlation between methods after aggregation. The degree of spatial aggregation is simply the spatial aggregation factor. The degree of thematic aggregation is ‘22—the number of discrete classes’. This means that if cost values were aggregated into 2 discrete classes the degree of thematic aggregation was 20. This figure illustrates that both spatial and thematic aggregation increase the difference between the rankings of the distances of both methods. Consequently, these methods increasingly disagree as aggregation increases.
The effect of spatial aggregation on least-cost and resistance distance. One thousand landscapes were simulated with varying degrees of spatial autocorrelation. Least-cost and resistance distance between 15 sites was then calculated for all landscapes. These landscapes were then spatially aggregated by a random factor between 2 and 20. Pairwise distances were once again calculated. We then calculated the Spearman’s rank correlation between each method before and after aggregation. The degree of spatial aggregation is simply the spatial aggregation factor. This figure illustrates the effect of spatial aggregation on either method. Least-cost distance is not affected by spatial aggregation, but the effect of aggregation on resistance distance monotonically increases with the degree of spatial aggregation.
One thousand landscapes were simulated with varying degrees of spatial autocorrelation. Least-cost and resistance distance between 15 sites was then calculated for all landscapes. The cost values on these landscapes were then aggregated within discrete categorizes. The number of categorizes ranged from 2 to 20 discrete cost values. A cost surface with 20 discrete cost values would represent a land use land cover map and 2 discrete cost values would represent a binary surface. The degree of data aggregation is ‘22—the number of discrete classes’. This means that if cost values were aggregated into 2 discrete classes the degree of thematic aggregation was 20. Pairwise distances were once again calculated. We then calculated the Spearman’s rank correlation between each method before and after aggregation. This figure illustrates that thematic aggregation decreases the agreement between the rankings of the distances. The effect is more apparent for resistance distance compared to least-cost distance.
Discussion
We found that least-cost and resistance distance did not have a direct linear response, but rather, were curvilinear. This was not surprising, as redundancy should scale with area, which is a square. We could linearize the relationship between these measures by using a square-root transformation of least-cost distance or a squared transformation of resistance distance (S1 and S2 Figs):
(2)
where redundancy’ is the linearized version of redundancy after transforming least-cost or resistance distance. In any case, these methods produce somewhat the same rank order (S3 Fig), but there are many cases where their association is quite low (where p < 0.7). We can interpret S3 Fig as a probability distribution and infer that in 50% of landscapes the rank correlation between least-cost and resistance distance is < 0.72. This means, 50% of the time the methods have poor agreement in the rankings of their distances. Depending on the type of analysis these differences could be quite important (e.g., [6,19]). Researchers should not use one method as an alternative to the other, since they are not linearly related (Fig 2) and do not agree 50% of the time. They represent difference concepts and additionally function on different spatial and thematic scales.
We also found that commute-time is very similar to resistance distance (S4 Fig), which may be of interest for researchers that use the R statistical language. The commute-time function in the ‘gdistance’ package in R can be used as an alternative to estimating resistance distance in Circuitscape.
Both least-cost and resistance distances estimates responded much differently to the Euclidean distance between focal points, when measured on a log-log scale. They both have linear relationship with Euclidean distance, but the rate of increase of least-cost distance was ~500 times higher than resistance distance. Hence, least-cost distance is more sensitive to changes in Euclidean space when compared to resistance distance. Seeing as Euclidean distance alone explains ~71% of the variance in least-cost distance we could easily approximate least-cost distances on a landscape by simply knowing a few pairwise measures; we could estimate least-cost distance from the Euclidean distance without using Dijkstra’s shortest path algorithm [49].
We had previously thought that spatial autocorrelation would play an important role in explaining the relationship between these methods. However, we did not find any evidence to support this idea (S5 and S6 Figs). This suggests that spatial autocorrelation is not an important consideration when choosing a method for estimating effective distance.
Both metrics also responded differently to the number of pixels representing a landscape (Fig 4). This relationship is quite similar to the Euclidean distance (Fig 3), but in this case the trends are on a log-log scale. Once again, resistance distance had a much smaller rate of change with the number of pixels compared to least-cost distance. Most of the variance in least-cost distance was explained by the number of pixels representing the landscape. If we added the log-transformed Euclidean distance as an explanatory variable, the amount of total variance explained increased to 87.4% for least-cost distance and only 30.6% for resistance distance. This shows that least-cost distance is sensitive to the Euclidean distance and the number of pixels representing a landscape. This is not true to the same extent for resistance distance. Also, we found that there is a gradual trend between the number of pixels representing a landscape and the agreement between the rank orders of both methods (Fig 5). We suggest that there is a baseline correlation between these methods that is a function of the number of pixels. In other words, on landscapes represented by more than 10 million pixels we would expect higher rank correlation compared to a landscape represented by 1 million pixels. This suggests that it should be rare to have a high rank correlation between these methods using data represented by relatively few pixels. It is therefore not surprising that Avon and Bergès [19] found different results when comparing the two methods. Their landscapes were of 7,090 km2 and 31,700 km2 and their spatial data resolution was 100 m. The number of pixels representing these landscapes was about 0.79 and 3.17 million pixels. Therefore, the baseline Spearman’s rank correlation between these methods would have been between 0.70 and 0.73.
Finally, aggregation is quite common for these types of analyses (e.g., [6,39]). Data manipulation eventually affects the relationship between the methods (Fig 6). Spatial aggregation affects the relationship the most and is a common approach used to reduce processing time and virtual memory usage. For landscapes that are represented by 1 million pixels, spatial aggregation can change the relationship between least-cost and resistance distance on average by 0.11 p units, no matter the degree of spatial aggregation. In many cases, data of much finer resolution are represented by many more pixels, consequently aggregation will affect these methods more. It was previously common knowledge that spatial aggregation did not affect resistance distance much, but our results suggest that resistance distance is more sensitive than least-cost distance (Figs 7 and 8). In fact, McRae et al. [33] noted that the pairwise resistance distance between focal nodes from a finer scale habitat map at a resolution of 1000 x 1000 pixels compared to its coarser version of 100 x 100 were highly correlated (R2 = 0.963; [33]). However, we found that spatial aggregation by a factor ranging between 2 to 20 produced on average an R2 of 0.935 (We squared Spearman’s rank correlation). However, we did not test spatial aggregation of a factor of 100, such as McRae et al [33]. We did find that a 20-fold aggregation produced a correlation (R2) between resistance distance of 0.89 (Fig 7). We do suspect an asymptotic response of this correlation.
Conclusions
In summary, least-cost and resistance distance are not linearly related unless a transformation is applied to either metric. The least-cost distance is partly a function of the number of pixels representing the landscape and the Euclidean distance between focal points. Resistance distance is less sensitive to these factors. Spatial autocorrelation does not affect either method or their relationship. The agreement between these methods is affected by the number of pixels representing the landscape and aggregation. The former is explained by the fact that resistance distance is more sensitive to aggregation than least-cost distance. Consequently, data and data manipulations may govern the differences between these methods and their independent outcome, but not the actually landscape entity being studied. Our findings are relevant for users who wish to evaluate landscape connectivity in a variety of contexts [14], [15], [52]. Researchers should investigate how closely both methods match the biology, behaviour, and ecology of their focal entity. Whether studying gene flow or movement, the biological meaning of least-cost or resistance distance should be appropriate.
Supporting information
S1 Fig. The relationship between square-root of least-cost and resistance distance.
Square-root transformation of least-cost distance in relation with resistance distance (See Fig 2). The relationship between least-cost and resistance distance for a subset of 5,000 random pairs sampled from 1000 different simulated landscapes. We had to randomly subset the data to make the figures more visually appealing, since there are 105,000 actual points. Landscape size (number of pixels) is held constant at 1,000,000.
https://doi.org/10.1371/journal.pone.0174212.s001
(TIFF)
S2 Fig. The relationship between least-cost and resistance distance squared.
Least-cost distance in relation with resistance distance squared (See Figs 2 & 3). The relationship between least-cost and resistance distance for a subset of 5,000 random pairs sampled from 1000 different simulated landscapes. We had to randomly subset the data to make the figures more visually appealing, since there are 105,000 actual points. Landscape size (number of pixels) is held constant at 1,000,000.
https://doi.org/10.1371/journal.pone.0174212.s002
(TIFF)
S3 Fig. The agreement between the rank order of both methods.
The distribution of the Spearman’s rank correlation between least-cost and resistance distance for 15 randomly place pairwise focal points on 1000 generated landscapes (μ = 0.720, σ = 0.101, range: 0.246–0.929). Landscape size (number of pixels) is held constant at 1,000,000.
https://doi.org/10.1371/journal.pone.0174212.s003
(TIFF)
S4 Fig. The relationship between resistance distance and commute-time distance.
The relationship between resistance distance from Circuitscape [2] and commute-time from the R package gdistance [48] for a subset of 5,000 random pairs sampled from 1000 different simulated landscapes. The average Spearman’s rank correlation between resistance distance and commute-time for pairwise measure between 15 randomly placed focal points on 1000 generated landscapes was 0.99 (σ = 0.00005). Landscape size (number of pixels) is held constant at 1,000,000.
https://doi.org/10.1371/journal.pone.0174212.s004
(TIFF)
S5 Fig. The effect of spatial autocorrelation.
The relationship between least-cost and resistance distance and the degree of spatial autocorrelation for a subset of 5,000 random pairs sampled from 1000 different simulated landscapes. The y-axis in this graph is on a logarithmic scale for comparison purposes only. Landscape size (number of pixels) is held constant at 1,000,000.
https://doi.org/10.1371/journal.pone.0174212.s005
(TIFF)
S6 Fig. Spatial autocorrelation and rank order agreement.
The association between least-cost and resistance distance for pairwise measurements of 15 pairwise focal points on 1000 generated landscapes with varying degrees of spatial autocorrelation. The range of spatial autocorrelation of a landscape does not affect the association between least-cost and resistance distance. Landscape size (number of pixels) is held constant at 1,000,000.
https://doi.org/10.1371/journal.pone.0174212.s006
(TIFF)
S1 File. Rscript.zip.
Compressed R scripts used to perform all the analyses mentioned in the “Materials and Methods” section.
https://doi.org/10.1371/journal.pone.0174212.s007
(ZIP)
Acknowledgments
We thank the Natural Sciences and Engineering Research Council of Canada (Discovery Grant to JB and Scholarship to RRM), Trent University, and the Ontario Ministry of Natural Resources and Forestry for computing resources and research support.
Author Contributions
- Conceptualization: RRM.
- Data curation: RRM.
- Formal analysis: RRM.
- Funding acquisition: RRM JB.
- Investigation: RRM.
- Methodology: RRM.
- Project administration: RRM.
- Resources: JB.
- Software: RRM.
- Supervision: JB.
- Validation: RRM.
- Visualization: RRM.
- Writing – original draft: RRM.
- Writing – review & editing: RRM JB.
References
- 1.
Doyle PG, Snell JL. Random walks and electric networks. Mathematical Association of America,; 1984.
- 2. McRae BH. Isolation by resistance. Evolution (N Y). 2006;60: 1551–1561.
- 3. Cañedo-Argüelles M, Boersma KS, Bogan MT, Olden JD, Phillipsen I, Schriever TA, et al. Dispersal strength determines meta-community structure in a dendritic riverine network. J Biogeogr. 2015;42: 778–790.
- 4. Phillipsen I, Lytle D. Aquatic insects in a sea of desert: population genetic structure is shaped by limited dispersal in a naturally fragmented landscape. Ecography (Cop). 2013; Available: http://onlinelibrary.wiley.com/doi/10.1111/j.1600-0587.2012.00002.x/full
- 5. Zeigler SL, Neel MC, Oliveira L, Raboy BE, Fagan WF. Conspecific and heterospecific attraction in assessments of functional connectivity. Biodivers Conserv. 2011;20: 2779–2796.
- 6. Schwartz MK, Copeland JP, Anderson NJ, Squires JR, Inman RM, McKelvey KS, et al. Wolverine gene flow across a narrow climatic niche. Ecology. 2009;90: 3222–3232. pmid:19967877
- 7. Smit HA, Robinson TJ, Van Vuuren BJ. Coalescence methods reveal the impact of vicariance on the spatial genetic structure of Elephantulus edwardii (Afrotheria, Macroscelidea). Mol Ecol. 2007;16: 2680–2692. pmid:17594439
- 8. Proctor MF, Nielsen SE, Kasworm WF, Servheen C, Radandt TG, Machutchon AG, et al. Grizzly bear connectivity mapping in the Canada-United States trans-border region. J Wildl Manage. 2015;79: 544–558.
- 9. Stevenson CD, Ferryman M, Nevin OT, Ramsey AD, Bailey S, Watts K. Using GPS telemetry to validate least-cost modeling of gray squirrel (Sciurus carolinensis) movement within a fragmented landscape. Ecol Evol. 2013;3: 2350–2361. pmid:23919175
- 10. Struebig MJ, Kingston T, Petit EJ, Le Comber SC, Zubaid A, Mohd-Adnan A, et al. Parallel declines in species and genetic diversity in tropical forest fragments. Ecol Lett. 2011;14: 582–590. pmid:21564453
- 11. Beier P, Majka DR, Newell SL. Uncertainty analysis of least-cost modeling for designing wildlife linkages. Ecol Appl. 2009;19: 2067–2077. pmid:20014579
- 12. Vanreusel W, Van Dyck H. When functional habitat does not match vegetation types: A resource-based approach to map butterfly habitat. Biol Conserv. 2007;135: 202–211.
- 13. Storfer a, Murphy M, Evans J. Putting the “landscape”in landscape genetics. Heredity (Edinb). 2006;98: 128–142.
- 14. McRae BH, Beier P. Circuit theory predicts gene flow in plant and animal populations. Proc Natl Acad Sci U S A. 2007;104: 19885–19890. pmid:18056641
- 15. Adriaensen F, Chardon JP, De Blust G, Swinnen E, Villalba S, Gulinck H, et al. The application of “least-cost”modelling as a functional landscape model. Landsc Urban Plan. 2003;64: 233–247.
- 16. Schadt S, Knauer F, Kaczensky P, Revilla E, Wiegand T, Trepl L. Rule-based assessment of suitable habitat and patch connectivity for the Eurasian lynx. Ecol Appl. 2002;12: 1469–1483.
- 17. Pomeroy PP, Twiss SD, Duck CD. Expansion of a grey seal (Halichoerus grypus) breeding colony: changes in pupping site use at the Isle of May, Scotland. J Zool. 2000;250: 1–12.
- 18. Koen EL, Bowman J, Walpole AA. The effect of cost surface parameterization on landscape resistance estimates. Mol Ecol Resour. 2012;12: 686–696. pmid:22353473
- 19. Avon C, Bergès L. Prioritization of habitat patches for landscape connectivity conservation differs between least-cost and resistance distances. Landscape Ecology. 2016: 1–15.
- 20. McClure ML, Hansen AJ, Inman RM. Connecting models to movements: testing connectivity model predictions against empirical migration and dispersal data. Landscape Ecology. 2016: 1–14.
- 21. Tobler WR. Geographic area and map projections. Geogr Rev. 1963;53: 59–78.
- 22.
Tobler W. Map transformations of geographic space. 1961; http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.519.6473&rep=rep1&type=pdf
- 23. Yannic G, Pellissier L, Dubey S, Vega R, Basset P, Mazzotti S, et al. Multiple refugia and barriers explain the phylogeography of the Valais shrew, Sorex antinorii (Mammalia: Soricomorpha). Biol J Linn Soc. 2012;105: 864–880.
- 24. Melles SJ, Jones NE, Schmidt B, Rayfield B. A least-cost path approach to stream delineation using lakes as patches and a digital elevation model as the cost surface. Procedia Environmental Sciences. 2011. pp. 240–245.
- 25. Garroway CJ, Bowman J, Wilson PJ. Using a genetic network to parameterize a landscape resistance surface for fishers, Martes pennanti. Mol Ecol. 2011;20: 3978–3988. pmid:21883589
- 26. Richards-Zawacki C. Effects of slope and riparian habitat connectivity on gene flow in an endangered Panamanian frog, Atelopus varius. Divers Distrib. 2009; Available: http://onlinelibrary.wiley.com/doi/10.1111/j.1472-4642.2009.00582.x/full
- 27. Spear SF, Peterson CR, Matocq MD, Storfer A. Landscape genetics of the blotched tiger salamander (Ambystoma tigrinum melanostictum). Mol Ecol. 2005;14: 2553–2564. pmid:15969734
- 28. Poor EE, Loucks C, Jakes A, Urban DL. Comparing Habitat Suitability and Connectivity Modeling Methods for Conserving Pronghorn Migrations. PLoS One. 2012;7.
- 29. Sacks B, Brazeal J, Lewis J. Landscape genetics of the nonnative red fox of California. Ecol Evol. 2016; Available: http://onlinelibrary.wiley.com/doi/10.1002/ece3.2229/full
- 30. Gimona A, Poggio L, Brown I, Castellazzi M. Woodland networks in a changing climate: Threats from land use change. Biol Conserv. 2012;149: 93–102.
- 31. Decout S, Manel S, Miaud C, Luque S. Integrative approach for landscape-based graph connectivity analysis: A case study with the common frog (Rana temporaria) in human-dominated landscapes. Landsc Ecol. 2012;27: 267–279.
- 32. Wang IJ, Savage WK, Bradley Shaffer H. Landscape genetics and least-cost path analysis reveal unexpected dispersal routes in the California tiger salamander (Ambystoma californiense). Mol Ecol. 2009;18: 1365–1374. pmid:19368644
- 33. McRae B, Dickson B, Keitt T, Shah V. Using circuit theory to model connectivity in ecology, evolution, and conservation. Ecology. 2008;89: 2712–2724. pmid:18959309
- 34. Etherington TR, Penelope Holland E. Least-cost path length versus accumulated-cost as connectivity measures. Landsc Ecol. 2013;28: 1223–1229.
- 35. Van Strien MJ, Keller D, Holderegger R. A new analytical approach to landscape genetic modelling: Least-cost transect analysis and linear mixed models. Mol Ecol. 2012;21: 4010–4023. pmid:22738667
- 36. Dilts T, Weisberg P, Leitner P, Matocq MD, Inman RD, Nussear KE, et al. Multi-scale connectivity and graph theory highlight critical areas for conservation under climate change. Ecol Appl. 2016;in press.
- 37. Wang F, McShea WJ, Wang D, Li S, Zhao Q, Wang H, et al. Evaluating landscape options for corridor restoration between giant panda reserves. PLoS One. 2014;9: e105086. pmid:25133757
- 38. Row JR, Blouin-Demers G, Lougheed SC. Habitat distribution influences dispersal and fine-scale genetic population structure of eastern foxsnakes (Mintonius gloydi) across a fragmented landscape. Mol Ecol. 2010;19: 5157–5171. pmid:20977510
- 39. Marrotte RR, Gonzalez A, Millien V. Landscape resistance and habitat combine to provide an optimal model of genetic structure and connectivity at the range margin of a small mammal. Mol Ecol. 2014;23: 3983–98. pmid:24975474
- 40. Simon JA, Marrotte RR, Desrosiers N, Fiset J, Gaitan J, Gonzalez A, et al. Climate change and habitat fragmentation drive the occurrence of Borrelia burgdorferi, the agent of Lyme disease, at the northeastern limit of its distribution. Evol Appl. 2014;7: 750–64. pmid:25469157
- 41.
Gebbers R, De Bruin S. Application of geostatistical simulation in precision agriculture. Geostatistical Appl Precis. 2010; http://link.springer.com/10.1007/978-90-481-9133-8_11
- 42. Dietrich CR, Newsam GN. A fast and exact method for multidimensional gaussian stochastic simulations. Water Resour Res. 1993;29: 2861–2869.
- 43.
Borgman L, Taheri M, Hagan R. Three-dimensional, frequency-domain simulations of geological variables. Geostatistics Nat Resour. 1984; http://link.springer.com/chapter/10.1007/978-94-009-3699-7_30
- 44. Fang J, Tacher L. An efficient and accurate algorithm for generating spatially-correlated random fields. Commun Numer Methods Eng. 2003;19: 801–808.
- 45.
Pebesma E, Graeler B. Package “gstat” [Internet]. CRAN Reference manual. 2016. https://cran.r-project.org/web/packages/gstat/index.html
- 46.
R Core Team. R: A Language and Environment for Statistical Computing [Internet]. R Foundation for Statistical Computing Vienna Austria. 2015. pp. {ISBN} 3–900051–07–0. https://doi.org/ISBN 3-900051-07-0
- 47. Koen EL, Garroway CJ, Wilson PJ, Bowman J. The Effect of Map Boundary on Estimates of Landscape Resistance to Animal Movement. Bersier L-F, editor. PLoS One. Public Library of Science; 2010;5: e11785.
- 48. van Etten J. R Package gdistance: Distances and Routes on Geographical Grids. R Stud Help Packag. 2014; 21.
- 49. Dijkstra EW. A note on two problems in connexion with graphs. Numer Math. 1959;1: 269–271.
- 50. Fouss F, Pirotte A, Renders JM, Saerens M. Random-walk computation of similarities between nodes of a graph with application to collaborative recommendation. IEEE Trans Knowl Data Eng. 2007;19: 355–369.
- 51. Chandra AK, Raghavan P, Ruzzo WL, Smolensky R, Tiwari P. The electrical resistance of a graph captures its commute and cover times. Comput Complex. 1996;6: 312–340.
- 52. Leonard PB, Duffy EB, Baldwin RF, McRae BH, Shah VB, Mohapatra TK. gflow: software for modelling circuit theory-based connectivity at any scale. Methods Ecol Evol. 2016; n/a–n/a.