# A distance-based framework for assessing the ex-situ conservation status of plants

Marwa El Graoui, Michel Edmond Ghanem, Moez Amri, Robert J. Hijmans

<figure><img src="image_1.png" /></figure>

## To cite this version:

Marwa El Graoui, Michel Edmond Ghanem, Moez Amri, Robert J. Hijmans. A distance-based framework for assessing the ex-situ conservation status of plants. PLoS ONE, 2025, 20 (6), pp.e0324820. 10.1371/journal.pone.0324820. hal-05100056

HAL Id: hal-05100056

https://hal.inrae.fr/hal-05100056v1

Submitted on 5 Jun 2025

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_2.png" /></figure>
RESEARCH ARTICLE

# A distance-based framework for assessing the ex-situ conservation status of plants

Marwa El Graoui<sup>1,2*</sup>, Michel Edmond Ghanem<sup>1,3,4</sup>, Moez Amri<sup>1</sup>, Robert J. Hijmans<sup>1,2</sup>

1 Agrobiosciences department, College of Agricultural and Environmental Sciences, Mohammed VI Polytechnic university, Benguerir, Morocco, 2 Department of Environmental Science and Policy, University of California, Davis, California, United States of America, 3 CIRAD, UMR AGAP Institut, Montpellier, France, 4 UMR AGAP Institut, Univ Montpellier, CIRAD, INRAE, Institut Agro, Montpellier, France

* elgraoui.marwa@gmail.com

<figure><img src="image_3.png" /></figure>

## Abstract

We present a framework to assess the ex-situ conservation status of plant species, by estimating the fraction of extant genetic diversity that has been conserved as seeds or other living material outside their natural habitat. We use a species distribution model to predict the area that is suitable for a species, and use inclusion and exclusion buffers to estimate its range. The range is divided into a number of zones that is proportional to the square root of its size. The geographic and environmental distance between zones is combined into a single distance metric that is used as to set weights on the links of a network connecting neighboring zones. An adjusted network is created by setting the distance between zones with seed samples to zero and halving the distance to neighboring zones for which there is no seed sample. The ex-situ conservation score (XC, between 0 and 1) is then computed as the reduction in the sum of the weights of the shortest paths between the nodes in the adjusted network relative to the sum the weights of the shortest paths in the original network. We adjust XC for small seed sample sizes and for the number of seed samples with unknown geographic origin. We illustrate our framework for 61 wild Vigna species in Africa. Twenty-three species were not conserved ex-situ (XC=0), and 42 species had very low conservation scores (XC<0.2). Range sizes were very different from the suitable area sizes predicted with the species distribution model (r=0.09). The geographic and environmental distances were weakly correlated (r=0.29), illustrating the importance of considering both. The Pearson correlation coefficient between XC and seed sample size for each species was 0.94, suggesting that seed sample size can be useful for quickly evaluating ex-situ conservation status.

## Introduction

The seeds of many plant species have been collected and deposited in “seed banks” for conservation and research. For crops and their wild relatives, there are

<figure><img src="image_4.png" /></figure>

### OPEN ACCESS

**Citation:** El Graoui M, Ghanem ME, Amri M, Hijmans RJ (2025) A distance-based framework for assessing the ex-situ conservation status of plants. PLoS One 20(6): e0324820. https://doi.org/10.1371/journal.pone.0324820

**Editor:** Edvard Mizsei, HUN-REN Centre for Ecological Research, HUNGARY

**Received:** December 15, 2024

**Accepted:** May 1, 2025

**Published:** June 3, 2025

**Copyright:** © 2025 Graoui et al. 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 statement:** All relevant data are within the article and its Supporting Information files. Vigna species occurrence data are available to download via the XSdata package, which can be set up using resources available at https://github.com/ElGraouiM/dis-tance_exsitu_paper.git.
**Funding:** This work was supported by the Mohammed VI Polytechnic University (UM6P) and the ERA-Net FOSC project "Towards Resilient and Sustainable Integrated Agro-ecosystems Through Appropriate Climate-Smart Farming Practices", funded by the European Union's Horizon 2020 research and innovation programme under grant agreement No. 862555.

**Competing interests:** The authors have declared that no competing interests exist.

specialized collections referred to as “gene banks” that are an important resource for crop research and breeding [1]. The conservation of these seeds, or other living materials, outside their natural habitat, is referred to as “*ex-situ* conservation” — as opposed to “*in-situ* conservation” where the habitat in which species of interest occur is protected. Given the rapid global change in land use and climate, it is important to understand and evaluate the ex-situ conservation status of plant species to inform priority setting for future collection as well as in-situ conservation actions [2].

In essence, we would like to measure the proportion of the overall genetic diversity of species, or other taxonomic groups, that is conserved in seed banks. As we generally do not have sufficient genetic data to compute that, proxies have been used. For example, the method proposed by Ramírez-Villegas et al. [3] and refined by Khoury et al. [4] uses three metrics with values ranging between zero and one. The first metric (geographic representativeness) estimates the fraction of the geographic range covered by the seed samples. The second metric (environmental representativeness) estimates the fraction of the environmental variability of the entire range that is represented by the seed samples. The third metric (sampling representativeness) is the ratio of the number of seed samples to all (seed, herbarium, and other observations) samples. The three metrics are averaged to compute the “final conservation score”. Hereinafter, we refer to this score and method as the *FCS*.

In this paper we present an alternative framework to assess the *ex-situ* conservation status of taxa. We predict the suitable area for a species and, to reduce error of commission and omission, we use inclusion and exclusion buffers around known occurrence locations to derive a range. We also consider that the genetic distance between plant populations tends to increase linearly with distance [5], and thus proportionally to the square root of range size. We use this relation to determine the number of sampling zones into which we divide a species' range. Strong environmental gradients may lead to more genetic differentiation than expected by geographic distance alone. We express environmental distance in terms of geographic distance and sum these two distance measures into a single metric that serves as link-weights on a network that connects the sampling zones. We create an adjusted network to account for the zones for which we have a seed sample, and we compute the ex-situ conservation score *XC* as the reduction in the sum of the weights of the shortest paths between all nodes in the adjusted network, divided by the sum of the weights of the shortest paths between all nodes in the original network. We also consider a minimum sample size, and the seed-bank samples for which we do not have geographic coordinates of the collection locations.

Here we first describe our new framework in detail, and we then illustrate its use in a case study on the African wild species in the *Vigna* genus. We include a sensitivity analyses for two important parameters, and we compare our results with those obtained with the *FCS* method.

# Analytical framework

## Determine a species' range

There are multiple techniques to estimate the range of a species from localities of known occurrence [6], that include buffering (or “circular area”, CA) [7] and species
distribution models (SDM) [8]. SDMs compute the similarity of the environment at any location to the environment at locations with a species occurrence record. An optimal threshold can be computed to classify locations as “similar” and “dissimilar”. Areas with an environment similar to that of the localities with occurrence records are generally referred to as “suitable” for the species. This predicted suitable area may be biased by the spatial distribution of the occurrence records, potentially excluding areas where the species actually occurs. Moreover, the model may identify areas with a suitable environment that are far away from where the species occurs [9]. To address the problem of under- and overprediction we derived a species range by only including suitable areas that are within an exclusion buffer around all occurrence localities where the taxon was observed, thus reducing overprediction. We also use a smaller “inclusion buffer” around all occurrence localities to include areas where the species has been observed but have a somewhat atypical environment such that they are not considered suitable by the SDM. It is important to check such locations for errors and if deemed unreliable, they could be removed. This procedure is illustrated in Fig 1A, B.

## Zones

We propose to use the commonly found linear relationship between geographic and genetic distance [5,10] to divide the putative range of the species into “conservation zones”. When considering a circle, the farthest distance between two points on a circle of size A is its diameter, $2\sqrt{\frac{A}{\pi}}$ and, therefore, genetic diversity is expected to be proportional to $\sqrt{\frac{R}{\pi}}$, where R is the range size. The number of seed samples required for a perfect score thus increases with range size, but the sampling density required is higher for a species with a small range than for a species with a large range. The number of conservation zones that ideally should all be sampled can be computed with Equation 1, where $Z_R$ is the number of zones into which range with size R (km²) should be divided, and a scaling parameter $\omega$.

$$Z_R = \max \left( 1, \omega \sqrt{\frac{R}{\pi}} \right) \qquad (1)$$

The value of $\omega$ is somewhat arbitrary, in this paper we use 0.025 (Fig 1C) and we evaluate additional values in a sensitivity analysis. $\omega=0.025$ implies that an area of $70.9 \times 70.9=5,027$ km² would be divided into exactly one zone, and an area of $709 \times 709=502,655$ km² would divided into exactly ten zones. If $\omega$ doubles, the sides of these squares halve (35 km for one zone if $\omega=0.05$) and they double if $\omega$ halves (142 km for one zone if $\omega=0.0125$). The zones are a tessellation of the range, that is, they are non-overlapping and there are no gaps between them within the range. Such zones can be computed with k-means clustering.

To get the highest conservation score there should be at least $\eta$ seed samples in each zone. In this paper we use the simplest case of $\eta=1$. The required number of locations, populations, or organisms sampled per zone could be increased to get a stronger coverage requirement. It would also be possible to increase $\omega$ and thus the number of zones. But subdividing the putative range into many relatively small adjacent areas would increase the chance of creating zones where the species does not actually occur.

## Conservation score

We then compute an ex-situ conservation score, $XC$, that expresses the reduction in geo-environmental distance when considering the zones with a seed sample, relative to the distance between all zones. Seed samples from two neighboring zones are likely more similar than those from two zones that are far apart. We account for this by creating a network that connects the centroids of all adjacent zones. (Fig 1D). If the range is not contiguous, such that there are geographic sub-ranges, these are connected to their nearest sub-range such that all zones are connected.

The geographic distance between zones is expressed as the shortest distance between the zones' centroids. To account for the effect of environmental distance as well [11,12] we first fit a model that predicts the geographic distance
<figure><img src="image_5.png" /><figcaption>**Fig 1.** An illustration of major steps in the XC ex-situ conservation assessment framework, based on the occurrence records of *Vigna friesiorum*, but using hypothetical seed samples. A: species distribution model prediction for the entire region of interest showing areas that are suitable; suitable and inside a 250 km exclusion zone (areas further than that distance from an occurrence record are not considered part of the range); and unsuitable but within a 100 km inclusion zone (all areas within that distance from an occurrence record are included in the range). B: The same as A but only showing the region where the species occurs, and also showing seed bank and other occurrence records; C: 15 conservation zones computed with k-means clustering and the collection location and zones of the seed bank samples; D: Zone numbers and network links (edges) between neighboring zones that are used to compute the XC conservation score. The link width is proportional to the weights used to compute the distance between nodes. The blue lines show the original weights, and the red lines the adjusted weights after considering the three zones with seed samples; including the three new links with zero weight between these zones. See S1 Diagrams for similar figures for the species used in our case study. (Source. Country boundary data from gadm.org).</figcaption></figure>

https://doi.org/10.1371/journal.pone.0324820.g001
from environmental distance. Such a model can be derived from the environmental and geographic distance data for all species in the group of interest (e.g., a genus) or for a set of sampled locations from the study area. The model can then be used to predict the expected (minimal) geographic distance between zones given their environmental distance. This measure can be added to (or averaged with) the geographic distance to create a single geo-environmental distance measure. The geo-environmental distance can be capped to a maximum to avoid that disjunct sub-ranges get too much influence on the conservation score.

The geo-environmental distance is used to give a weight to the network links (edges). This allows us to compute the shortest geo-environmental distance between a zone (node of the network) to any other zone. We refer to the sum of these distances as $D_A$. We then consider the zones for which seed samples are conserved by setting the distance between these zones to zero and halving the distance to neighboring zones for which there is no seed sample. This means that, where necessary, we add new links (with weight zero) to directly connect zones that were previously indirectly connected. If $\eta > 1$, the change in edge weight is inversely proportional to the number of seed samples in a zone if it is below $\eta$. We recompute the sum of the distances and refer to that number as $D_S$. The conservation score is then computed with equation 2.

$$XC = 1 - \frac{D_S}{D_A} \qquad (2)$$

## Adjustments

Adjustments may be needed to avoid giving high conservation scores to taxa with very small ranges and very low sample sizes. If the total number of seed samples $n$ is below a minimum threshold $n_{min}$, we suggest adjusting $XC$ by multiplying it with the ratio of the actual and minimal sample size (equation 3) or, alternatively, a non-linear variation thereof.

$$XC = XC \times \min \left( 1, \left( \frac{n}{n_{min}} \right) \right) \qquad (3)$$

It may be important to adjust for missing georeferences. For example, if there are no seed samples that can be georeferenced, this does not mean that the species is not conserved at all. We suggest using the relationship between the number of georeferenced observations and $XC$ across taxa to compute expected $XC$ ($E_{xc}$) given that sample size. $XC$ can then be adjusted for the number of non-georeferenced samples according to equation 4.

$$XC = \max(XC, E_{xc}) \qquad (4)$$

## Materials and methods

### Data collection and cleaning

We used the framework described in the previous section to evaluate the ex-situ conservation status of the wild species in the Vigna genus (Fabaceae) that occur in Africa. Vigna is a pantropical genus that includes over a hundred species, of which ten are cultivated. Sixty-one of the wild species occur in Africa across a wide geographic and environmental range [2,13].

Vigna occurrence records were obtained from GBIF [14] and Genesys [15] (S1 Table). Taxonomic names were standardized to accepted names according to the World Checklist of Vascular Plants [16]. Coordinates for the collecting locations were checked and those with swapped longitude and latitude values and with missing minus sign were fixed. We (re-)georeferenced collecting locations that had a locality description but no coordinates or with coordinates that were
inconsistent with the country they were reported to be in. The occurrence localities of each species were visually inspected and checked for their plausibility of outliers with the published literature and online resources. Records from Genesys were classified as “seed” and records from GBIF as “not-seed”. GBIF also has seed collection records, but it is not possible to reliably determine which records are from seed conservation collections and which are from herbaria or other observations. Since including seed bank samples as “not-seed” samples as well should not affect our results, we were not concerned by this. *V. unguiculata’s* wild subspecies and varieties were all grouped and recorded as *V. unguiculata*.

## Species' range

We used the MaxEnt species distribution modeling algorithm [17,18] with *R* packages “predicts” [19] and “terra” [20] to model the similarity of all grid cells to the grid cells in which the species had been observed. We used no more than one observation per grid cell. Climate data [21] at 10 minute spatial resolution were used as predictor variables. Seven out of nineteen bioclimatic variables were chosen: Annual temperature, Mean Temperature of Wettest Quarter, Mean Temperature of Driest Quarter, Annual precipitation, Precipitation Seasonality, Precipitation of Wettest Quarter, Precipitation of Driest Quarter. These were selected based on their importance to the models and their low collinearity [22]. MaxEnt predictions were classified as similar/dissimilar using the “equal sensitivity specificity” threshold.

We defined the species range as all areas that are within an inclusion buffer of 100 km of an observation and all areas classified as “similar” to the occurrence localities by the SDM if they were within an exclusion buffer of 250 km from an observation (Fig 1A, B and S1 Diagrams). We ran a sensitivity analysis to present how different buffer sizes in both inclusion and exclusion buffers influence the XC scores. We considered the following inclusion/exclusion buffer combinations: 0/0 km, 0/125 km, 0/250 km, 0/500 km, 50/125 km, 50/250 km, 50/500 km, 100/125 km, 100/250 km, 100/500 km, 200/250 km and 200/500 km.

## Zones

The number of zones ($Z_A$) for each species was computed based on its range size and using a value of 1/40 for scaling parameter $\omega$ in Equation 1. We created a tessellation with *k*-means clustering. We ran a sensitivity analysis to present how the number of zones influences the results by comparing the effect of setting $\omega$ at 1/20, 1/40, and 1/80.

The environmental distances between zones were computed from the mean annual temperature and the annual precipitation in each zone. We fit LOESS local regression models, for all species combined, between these environmental variables and geographic distances between zones. For each environmental variable we fit two models. The model residuals of the first model were used to remove outliers that had a geographic distance more than 250 km further than expected given the distance in temperature or precipitation. It is of course possible to find a similar temperature and rainfall conditions in places that are very far apart but we were not interested in that. We want to capture the typical distance needed to observe a certain amount of environmental change. The second model was used to transform the two environmental distances to its equivalent (minimum) geographic distance (Fig VI in S1 Figures), and these two distances were averaged. For each species, the geo-environmental distance was computed by summing the geographic distance and the transformed environmental distance.

We then created a network between the centroids of all adjacent zones and between the nearest centroids of otherwise disconnected parts of the species range using *R* package “igraph” [23]. Link weights were set to the geo-environmental distance between zones. These weights were capped at 1500 km to avoid that network distances would be too much influenced by links between disjunct zones.

We used these networks to compute *XC* for each species using functions implemented in *R* package “conexus” [24]. Because *k*-means clustering is a stochastic process, we ran the *k*-means algorithm, and all subsequent steps ten times and averaged the *XC* score. The conservation score was adjusted for low seed sample sizes with equation 3, using a minimum sample size of 10; and for non-georeferenced seed samples with equation 4.
<figure><img src="image_6.png" /></figure>

## Comparison with the FCS method

We compared our results with the FCS method [25]. We used MaxEnt as described above to compute the entire suitable area of each species, without adjusting with the inclusion/exclusion buffers. We also computed the 50 km circular area (buffer) ($CA_{50}$) range of the seed bank collecting locations of the species. We then determined (1) the “geographical representativeness” (GR) as the proportion of the suitable area that is covered by the $CA_{50}$ range; (2) the “ecological representativeness” (ER) as the proportion of ecoregions [26] that intersect with the $CA_{50}$ and the suitable area; and (3) the sampling representativeness score (SR) as the number of seed bank collection locations divided by the number of non-seed bank occurrence records. We capped this number at 1. We averaged these three scores to obtain the FCS.

## Results

### Observations

The total number of accepted records for the 61 wild *Vigna* species with coordinates was 13,076, from which 1542 were seed-bank samples. From the original data, 54 records were removed because their coordinates were not on land. We also identified 309 outliers that showed inconsistencies in their localities and kept them as non-georeferenced points in the dataset. We identified and removed 546 duplicates. Wild *Vigna* species are distributed across Sub-Saharan Africa, except for the driest areas such as the Sahara and large stretches in Namibia (Fig 2A). The number of georeferenced unique localities per species ranged between 1 and 2631, with a median of 64. For *V. unguiculata* (2631), *V. racemosa* (1304) and *V. reticulata* (1083) we had more than 1000 observations each. The average number of seed bank records was 5.3% of the total number of records for each species (Fig 2B) (S2 Table). The number of seed bank records by species ranged between 0 and 661, with an average of 25.3 and a median of 1. For 45 species we had fewer than 10 seed bank records.

<figure><img src="image_7.png" /><figcaption>**Fig 2.** African wild *Vigna* species data available. (A) Locations of known occurrence and (B) the number of seed bank records and other records by species. (Source. Country boundary data from gadm.org).</figcaption></figure>

https://doi.org/10.1371/journal.pone.0324820.g002
<figure><img src="image_8.png" /><figcaption>**Fig 3.** The ex-situ conservation status (XC) of African wild *Vigna* species. Species are sorted by their XC scores.</figcaption></figure>

https://doi.org/10.1371/journal.pone.0324820.g003
XC scores were > 0.5 for 15 species and > 0.9 for four species: *V.ambacensis*, *V. hosei*, *V. oblongifolia*, and *V. unguiculata*. Nine species had an XC between 0.1 and 0.5 and thirty-seven species had an XC below 0.1 (Fig 3; S2 Table). The XC scores were not very sensitive to the number of regions used (ω in formula 1; Fig 1 in S1 Figures). The average XC was 0.26 for ω = 1/80, 0.23 for ω = 1/40 and 0.21 for ω = 1/20. Pearson correlation coefficients between XC scores computed with these values for ω were > 0.98. The adjustment for non-georeferenced points marginally increased the XC of two species: *V. fischeri* (from 0 to 0.027) and *V. triphylla* (from 0.001 to 0.027) (S2 Table).

Geo-environmental distance

There was only a weak Pearson correlation coefficient (r=0.29) between the species level average geographic and envi-
ronmental distances. Species with a much larger environmental distance than geographical distance included V. debanen-
sis, V. venulosa, V. membranacea and V. microsperma. In contrast, V. platyloba, V. monantha, V. pygmaea, V. juncea, V.
nuda, and V. antunesii had a somewhat lower environmental distance than expected based on the geographic distances
between their zones (Fig 4 & S4 Table).

Range size adjustment

The adjusted range sizes spanned from a 94,333 km² for *V. keraudrenii* to 9,216,420 km² for *V. reticulata* and 12,969,542 km² for *V. unguiculata*; with a mean of 2,398,227 km², and a median of 1,798,584 km². Adjusting the suitable area with the

<figure><img src="image_9.png" /><figcaption>**Fig 4.** Average environmental and geographic distance for conservation zones of African wild *Vigna* species. Environmental distance is expressed in terms of expected geographic distance. The red dashed line represented the fitted regression model, and the gray line shows the identity line (y=x). Selected extreme cases are labeled.</figcaption></figure>

https://doi.org/10.1371/journal.pone.0324820.g004
<figure><img src="image_10.png" /></figure>

inclusion and exclusion buffers change the range size between -96 and +87%. The average relative change was -33.7% and the median -31.3%. The largest reductions in range size (because of removing suitable areas far away from the places where the species has been observed) were for *V. tisserantiana* (-96.2%), and *V. monantha* (-95.8%) (S2 Table). A species with a very large increase in range size was *V. unguiculata* (+48%) because large areas in West Africa where the species clearly occurs were not classified as suitable (See Supplemental diagrams). The suitable area and the range size had a very low correlation coefficient (r = 0.09) (Fig 5).

Most species with an XC score above 0.5 had a range size between 2–10 × 10⁶ km². Most species with a XC below 0.25 had a range size below than 2 × 10⁶ km² (Fig II in S1 Figures).

The sensitivity analysis with twelve different inclusion/exclusion buffer size combinations showed a correlation coefficients for the XC scores of at least 0.95. The average XC score was lowest (0.19) when using no adjustment, and also relatively low when using no inclusion buffer and 500 km exclusion buffer (0.2) or a 250 km exclusion buffer (0.21). The highest average XC scores were observed for an exclusion buffer of 125 km and an inclusion buffer of 50 (0.24) (Fig III in S1 Figures).

## Sample size

The Pearson correlation coefficient between the XC and the natural log of the number of seed samples was 0.94 (Fig 6). Species with less than 10 seed samples had XC scores ranging from 0 to about 0.5. XC reached 0.85 for species with about 30 seed samples or more (Fig 6).

<figure><img src="image_11.png" /><figcaption>**Fig 5. Estimated range size vs suitable area for wild Vigna species in Africa.** Suitable area was predicted with a species distribution model. Range size was computed by adjusting the suitable area with a 100 km inclusion buffer and a 250 km exclusion buffer. Three species had suitable area of more than 30 × 10⁶ km², covering the entire study region. This was an artifact of the SDM not being able to fit meaningful model for having very few occurrence localities, and these are not included in this figure.</figcaption></figure>

https://doi.org/10.1371/journal.pone.0324820.g005
<figure><img src="image_12.png" /><figcaption>Fig 6. Ex-situ conservation score (XC) in relation to the number of seedbank samples for wild *Vigna* species in Africa.</figcaption></figure>

https://doi.org/10.1371/journal.pone.0324820.g006

## Comparison with FCS

The FCS ranked from 0 to 0.45 (S2 Table). The highest score was for *V. unguiculata* that had 661 seed samples and an XC of 0.95. The scores for *V. oblongifolia* were also strikingly different. We had 84 seed sample records for this species that has a range that spans much of Sub-Saharan Africa. The FCS was 0.22 and the XC was 0.92. The FCS score was mainly low due to the low geographic representativeness score of 0.065 (S2 Table).

The Pearson correlation coefficient between the FCS and XC scores was 0.89 and the Spearman rank correlation was 0.98 (Fig IV in S1 Figures). For fifteen species, XC was one to eight ranks higher than FCS, and for fourteen species FCS was one to seven ranks higher than XC. The species with the largest change, *V. comosa*, had an FCS of 0.034 and rank of 31, and a XC of 0.34 and rank of 44 (Fig IV in S1 Figures). Species with a much lower XC score included *V. kokii* went from rank 35 in FCS to rank 28 in XC, followed by, in order of decreasing differences (FCS rank, XC rank), *V. mude-nia* (39, 27), *V. wittei* (60, 54), and *V. pubigera* (41, 35).

The correlation coefficient between the number of ecoregions (environmental metric used for computing the FCS score) occupied by seed samples and the geo-environmental distance was 0.46 (Fig V in S1 Figures; S3 Table; S4 Table). The sampling representativeness score had a considerable impact on the FCS (S2 Table). For instance, *V. wittei* had a geo-graphical representativeness score of 0.03, environmental representativeness score of 0.21, and a sampling representa-tiveness score of 0.92, which resulted in an FCS of 0.39 (S2 Table).

## Discussion

We described a new distance-based framework to assess the *ex-situ* conservation status of plant species and illustrated this method using African wild *Vigna* species. A key element of our method is that we consider that genetic distance between populations is generally associated with the geographic distance between them. We divided the species range into contiguous zones and developed a method to expressing environmental distance between zones in terms of expected
geographic distance, such that geographic and environmental distance can be expressed in a single geo-environmental distance metric. We used a network that connects adjacent zones, using the geo-environmental distance as link-weights, and computed XC as proportional reduction in network distance weight, after accounting for ex-situ conservation.

The XC score is inspired by the phylogenetic diversity (PD) metric [27]. Phylogenetic diversity is computed as the relative decrease in the summed branch lengths of a phylogenetic tree, after setting branch length for conserved species to zero. XC expresses the relative decrease in summed network distances after considering conservation. We used a network because it is a more direct representation of geographic data than a tree structure, and because it avoids the data loss associated with creating a tree from a distance matrix.

The weak correlation between geographic and environmental distances suggests that there is scope for more research to explore ways to combine geographic and environmental distance into a single variable to explain genetic distance between populations. Future work could also consider modeling geographic distance based on landscape resistance, that is, to account for environmental barriers that would make the likely gene flow paths deviate from the shortest path [28,29].

We considered a minimum number of seed samples required for a high conservation score. If a species' range is very small; the seed samples for a species with a high score should ideally be from multiple populations, even if they occur near each other. In that case, if a species is only known to occur in a single locality it may not be possible to reach a high conservation score. Cases like this could be adjusted after computing the conservation score in a prioritization context. For example, the likelihood of finding more seed samples could be evaluated considering the overall sampling effort for a genus in the general area of occurrence of the species.

Determining the geographic range of a species is a key step in assessing its ex-situ conservation status. The best way to determine a geographic range will depend on the type and quality of available data. In some countries observation networks are so comprehensive that it is not needed to use modeling to determine a species range. We used SDMs and adjusted the predicted area of suitability with inclusion and exclusion buffers. This led to large changes in range size relative to the area of suitability, underlining the need to inspect the SDM predictions, and possibly adjust them for omission and commission error, especially in large regions where suitable environments may exist very far from where the species occurs.

We used 100 km inclusion buffers around observations to avoid omission error and 250 km exclusion buffers to avoid commission error. These buffer sizes are somewhat arbitrary and could vary with the extent of the study area and other aspects of the data. Our sensitivity analysis showed that XC is not very sensitive to the exact buffer sizes, as long as a reasonable exclusion buffer is used. The exclusion buffer size could be made adaptive to the number of observations of other species. That is, if there is a higher number of observations for closely related species in an area, it becomes less likely that the focal species occurs there if it was not observed. Even if the environment is suitable, the species may be absent due to dispersal limitation or interspecific competition [30,31]. Other approaches, such as buffered convex polygons around occurrence locations have also been employed [13]. That may work well in some instances, but convex polygons are highly sensitive to geographic outliers and the shape of the range. Moreover, if there are disjunct populations it may greatly overestimate the actual range. Inclusion buffers could be made adaptive to the SDM similarity score, using a lower threshold than used for suitable/unsuitable, to avoid including area that are clearly unsuitable.

The XC method has a few other parameters in addition to the inclusion and exclusion buffer. These include $\omega$, which is used to determine the number of zones to create given a range size. We do not have a good reason to prefer a particular value, but fortunately our method was not very sensitive to this parameter either. This is because to get a high score, zones that are far away from each other need to be covered. Having a somewhat lower or higher number of zones does not change much in that computation.

## Vigna conservation

Most of the African wild *Vigna* species are poorly conserved in seed banks. Forty-two species had $XC \le 0.2$ and could be considered a priority for collection and conservation; but in an actual priority setting other factors such as accessibility,
efficiency (visiting areas where multiple species can be collected), and perceived value of the species in crop breeding [32] could play an important role as well. Our method could be used to compute the expected change in *XC* arising from alternative collecting expeditions, and it could also be adapted to evaluate the in-situ conservation status of species.

Van Zonneveld et al [13] assessed the conservation status of wild and cultivated African *Vigna* species by comparing the spatial distribution of taxonomic richness computed from seed collections with richness computed from herbaria data. They identified geographic sampling gaps as areas with a high taxonomic richness and a low coverage of samples in seedbanks and concluded that the following where highly underrepresented *Vigna* species in seed banks (with our *XC* scores in parenthesis): V. keraudrenii (0), V. monantha (0), V. somaliensis (0), V. gazensis (0), V. bosseri (0), and V. mendesii (0); illustrating that very different method can identify the same (extreme) cases.

Maxted et al [2] reported that *V. comosa* subsp. *abercomensis*, *V. debanensis*, and *V. dolomitica* were the most threatened in the Red List of *Vigna* species. In our analysis *V. comosa* (the entire species) had rank 44 (out of 61; a low number is a high priority for conservation), *V. debanensis* had rank 12 and *V. dolomitica* had rank 34. This is a large discrepancy, but these authors already indicated that the Red List assessment is not a good reflecting the proper status of threat and conservation of these species [2].

## Comparison with the FCS method

In both the *XC* and the *FCS* methods, the entire range needs to be sampled to obtain the highest score. In the *FCS* method, this is implemented as follows. Each sample is assumed to cover a circle with a radius of 50 km, that is a zone of 7854 km². Since overlapping areas are counted only once, the actual minimum number of seed samples needed to cover the entire range will always be higher than *R* / 7854 km², where *R* is the range size. The underlying assumption in the *FCS* that there is a linear increase of diversity with range size is questionable, as genetic distance generally increases linearly with distance, that is, diversity is more likely to be proportional to the square root of range size. The *FCS* will therefore overestimate the seed-sample size required for species with a large range as was illustrated for some of the best conserved species, such as *V. unguiculata* that had 661 samples and an *XC* of 0.95 but a *FCS* of only 0.45 and *V. oblongifolia* that had 88 seed samples and an *XC* of 0.93 and an *FCS* of 0.2. Overestimation of the number of seeds required is also expected because the *FCS* does not adjust SDM predictions by excluding suitable areas that are far away from the areas where a taxon is known to occur.

The *FCS* method uses a separate measure for environmental distance using ecoregions [33]. The use of ecoregions to assess environmental variation is suboptimal as the actual environmental distances between locations within a single ecoregion could be much larger than between nearby locations that are across ecoregion borders. The number of ecoregions covered may not be a good indication of the amount of environmental variation covered, as the environment of a pair of two ecoregions may be very similar or a very different. We note, however, that the use of ecoregions can have the benefit that it may implicitly account for the degree to which the seed samples are geographically spread out; which is something desirable that is built into the *XC* through the creation of conservation zones.

We did not consider the third *FCS* metric, the sampling representativeness, which is computed as the ratio of seed bank to other (herbarium) records. This score had a considerable impact on the *FCS* for *Vigna*, even after correcting it by capping it at one. We did not incorporate an equivalent metric in the *XC* method, as we do not consider it to be relevant: the *ex-situ* conservation status of a species (the proportion of extant genetic diversity in seed banks) is not affected by the number of known herbarium samples, and it should not go down if the number of herbarium records increases. Any future work that employs the *FCS* method should not include this third metric.

## Data quality

The type of data analysis described in this paper requires good quality occurrence data for seed samples and other records [2]. GBIF is an indispensable resource for species distribution data, but it is a federated database with many providers, and GBIF exercises limited quality control. Specifically for this type of work, it is important to know whether
a record refers to a living seed sample or something else such as herbarium and/or observation. GBIF has as "basis of records" field with six valid possible entries, including "living specimens". However, many genebanks use the ambiguous term "occurrence" for seed samples and several previous studies have described this as a synonym to "living specimens" [4,34–36]. We noted that for the *Vigna* species we worked on this would clearly be wrong. We found thousands of "occurrence" records for *Vigna* that in fact refer to herbarium specimens and this finding casts some doubt on the results reported by these prior studies. We therefore used records in the Genesys database as the source of "seed" samples. Whereas there may be more seed samples than reported by Genesys, the genebanks that do not have their data in Genesys are also least likely to supply seed upon request; and the long-term conservation of these samples may also be less certain. In fact, one could argue that to say that seed from a location has been conserved, there should be a sample in at least two collections in different countries; or a backup copy in another country, such as in the Svalbard Global Seed Vault.

Data cleaning is a challenging task, and currently, there are limited options for community contributions to enhance data quality. Geographic outliers can be difficult to handle with certainty. They may be caused by inaccuracies in geo-referencing and other errors such as taxonomic misclassification, but if they are correct they may of great interest. Most observations do not have associated Internet accessible images, and even with such images it may be a very challenging task to determine whether a record was correctly classified.

We found that many records are duplicated in GBIF; but these can be hard to detect given the absence of standard collector numbers. For example, it is common to find different location coordinates, from different georeferencing efforts, for records representing the same samples. This could be addressed by assigning globally unique identifiers (IDs) to samples. The Treaty for Plant Genetic Resources for Food and Agriculture has assigned DOIs to some seed samples, and in principle such a system could be expanded or complemented for other sample types. This would facilitate the creation of data curation and cleaning processes that not only enhance the original data but also ensure the continuous curation of improved data that would allow for updating cleaned and compiled databases. The current dire situation is essentially that each project starts from scratch because there is no easy way to update cleaned compiled databases.

## Outlook

The XC is especially useful for species with few seed samples and many other samples such that parts of the full range from which no seed samples have been collected can be identified. The species with most seed samples had the highest XC scores, suggesting that the number of seed bank samples can be a robust and very simple first estimate of *ex-situ* conservation status.

The XC scores reflect relative rather than absolute conservation status. Genetic data were unavailable for our samples, but it would be of interest to compare the geo-environmental distance estimates with genetic distance estimates for taxa for which such data are available [12]. This would allow for a more objective setting of some of the parameter values in our model. It could also allow for interpreting the XC between different genera, as some may encompass significantly more diversity than others.

The actual distribution of genetic diversity on the landscape is often far more complex than our method assumes. Species with large ranges may have undergone recent expansions and some parts of their range might not be as genetically diverse as those with smaller ranges. Genetic diversity within a species may also be concentrated near former refugia [37]. Although we lack detailed knowledge of such patterns for most species, these could potentially be modeled [38] and incorporated into the XC approach. Species traits could also be used to set XC parameters. For example, species that are wind-pollinated, and that have seeds that are easily transported by wind are expected to have a smaller increase in genetic distance per unit geographic distance than species that are insect pollinated and have heavier seeds [39,40]. Parameter ω could be reduced for species that are expected to have a relatively small increase in genetic distance per unit geographic distance, but then the number of samples per zone should probably be increased because a weaker
geographic gradient does not imply that the same fraction of a species' genetic diversity can be captured with a smaller sample. Explicit accounting for the degree of within-population genetic differentiation [41] could also be considered.

**Supporting information**

**S1 Diagrams.** The major steps to compute XC for 61 African wild *Vigna* species.

(DOCX)

**S1 Figures.** Supporting figures I to VII.

(DOCX)

**S1 Table.** Data of wild *Vigna* species occurrences. Abbreviations: "sample_type"=seed or non-seed.

(CSV)

**S2 Table.** Species level statistics of African wild *Vigna* species. Abbreviations: "nseed"=number of georeferenced seed sample records; "nother"=number of georeferenced non-seed sample records; "nall"=total number of georeferenced records; "sdm_range size"=raw SDM predicted range size in km²; "adjusted_range size"=size of the inclusion/exclusion buffers adjusted range in km²; "relative_change_range"=relative change of range size between the raw and adjusted range sizes (%) ; "XC"=XC scores. "XCadj"=XC scores adjusted by accounting for non-georeferenced seed samples; "GRex"=FCS/geographical representativeness score; "ERex"=FCS/ecological representativeness score; "SRex"=FCS/ sampling representativeness score; "FCS"=final conservation scores of the FCS method; "rank_XC"=ranks of XC scores; "rank_FCS"=ranks of FCS scores; "nogeoref_seed"=number of non-georeferenced seed samples.

(CSV)

**S3 Table.** Statistics on the number of ecoregions covered by wild *Vigna* species' seedbank samples, their temperature and precipitation ranges. Abbreviations: "necoregions"=Number of ecoregions covered by seed samples; "range_temp"=Temperature range of seed samples (°C); "range_precision"=Precision range of seed samples (mm).

(CSV)

**S4 Table.** Environmental versus geographic distance for African wild *Vigna* species. Environmental distance is expressed in terms of expected geographic distance. Abbreviations: "dst"=sum of geographic and transformed environmental distance; "geodst"=geographical distance; "envdst"=environmental distances expressed as expected geographic distance.

(CSV)

**Author contributions**

**Conceptualization:** Marwa El Graoui, Robert J. Hijmans.

**Data curation:** Marwa El Graoui, Robert J. Hijmans.

**Formal analysis:** Marwa El Graoui, Robert J. Hijmans.

**Funding acquisition:** Michel Edmond Ghanem, Moez Amri.

**Methodology:** Marwa El Graoui, Robert J. Hijmans.

**Software:** Marwa El Graoui, Robert J. Hijmans.

**Supervision:** Robert J. Hijmans.

**Validation:** Marwa El Graoui, Robert J. Hijmans.

**Visualization:** Marwa El Graoui, Robert J. Hijmans.
**Writing – original draft:** Marwa El Graoui, Robert J. Hijmans.

**Writing – review & editing:** Marwa El Graoui, Michel Edmond Ghanem, Moez Amri, Robert J. Hijmans.

## References

1. Hajjar R, Hodgkin T. The use of wild relatives in crop improvement: A survey of developments over the last 20 years. Euphytica 2007;156(1-2):1-13.

2. Maxted N, Mabuza-Diamini P, Moss H, Padulosi S, Jarvis A, Guarino L. An ecogeographic study of African Vigna. Systematic and ecogeographic studies on crop genepools. No. 11. Rome: International Plant Genetic Resources Institute; 2004. 454 p.

3. Ramírez-Villegas J, Khoury C, Jarvis A, Debouck DG, Guarino L. A gap analysis methodology for collecting crop genepools: a case study with phaseolus beans. PLoS One. 2010;5(10):e13497. https://doi.org/10.1371/journal.pone.0013497 PMID: 20976009

4. Khoury CK, Carver D, Barchenger DW, Barboza GE, van Zonneveld M, Jarret R. Modelled distributions and conservation status of the wild relatives of chile peppers (Capsicum L.). Divers Distrib. 2020;26(2):209-25.

5. Wright S. Isolation by Distance. Genetics. 1943;28(2):114-38. https://doi.org/10.1093/genetics/28.2.114 PMID: 17247074

6. Graham CH, Hijmans RJ. A comparison of methods for mapping species ranges and species richness. Glob Ecol Biogeogr. 2006;15(6):578-87.

7. Hijmans RJ, Spooner DM. Geographic distribution of wild potato species. Am J Bot. 2001;88(11):2101-12. PMID: 21669641

8. Elith J, Leathwick J. Species distribution models: ecological explanation and prediction across space and time. Annu Rev Ecol Evol Syst. 2009;40(1):677-97.

9. Gomes VHF, IJff SD, Raes N, Amaral IL, Salomão RP, de Souza Coelho L, et al. Species Distribution Modelling: Contrasting presence-only models with plot abundance data. Sci Rep. 2018;8(1):1003. https://doi.org/10.1038/s41598-017-18927-1 PMID: 29343741

10. Pusadee T, Jamjod S, Chiang Y-C, Rerkasem B, Schaal BA. Genetic structure and isolation by distance in a landrace of Thai rice. Proc Natl Acad Sci U S A. 2009;106(33):13880-5. https://doi.org/10.1073/pnas.0906720106 PMID: 19651617

11. Hanson JO, Rhodes JR, Riginos C, Fuller RA. Environmental and geographic variables are effective surrogates for genetic variation in conservation planning. Proc Natl Acad Sci U S A. 2017;114(48):12755-60. https://doi.org/10.1073/pnas.1711009114 PMID: 29087942

12. N Di Santo L, Hamilton JA. Using environmental and geographic data to optimize ex situ collections and preserve evolutionary potential. Conserv Biol. 2021;35(2):733-44. https://doi.org/10.1111/cobi.13568 PMID: 32519757

13. van Zonneveld M, Rakha M, Tan SY, Chou Y-Y, Chang C-H, Yen J-Y, et al. Mapping patterns of abiotic and biotic stress resilience uncovers conservation gaps and breeding potential of Vigna wild relatives. Sci Rep. 2020;10(1):2111. https://doi.org/10.1038/s41598-020-58646-8 PMID: 32034221

14. GBIF. [cited 27 October 2022]. Data accessed from https://www.gbif.org

15. Genesys. [cited 27 July 2024]. Data accessed from https://www.genesys-pgr.org

16. Govaerts R, NicLughadha E, Black N, Turner R, Paton A. The world checklist of vascular plants, a continuously updated resource for exploring global plant diversity. Sci Data. 2021;8(1).

17. Phillips SJ, Dudík M. Modeling of species distributions with Maxent: new extensions and a comprehensive evaluation. Ecography. 2008;31(2):161-75.

18. Elith J, Phillips S, Hastie T, Dudík M, Chee Y, Yates C. A statistical explanation of MaxEnt for ecologists. Divers Distrib. 2011;17(1):43-57.

19. Hijmans RJ. predicts: Spatial Prediction Tools. R package version 0.1-11. 2023a. Available from: https://cran.r-project.org/package=predicts

20. Hijmans RJ. terra: Spatial Data Analysis. R package version 1.7-78. 2023b. Available from: https://cran.r-project.org/package=terra

21. Fick SE, Hijmans RJ. Worldclim 2: new 1-km spatial resolution climate surfaces for global land areas. Int J Climatol. 2017;37(12):4302-15.

22. Dormann CF, Elith J, Bacher S, Buchmann C, Carl G, Carré G, et al. Collinearity: a review of methods to deal with it and a simulation study evaluating their performance. Ecography. 2012;36(1):27-46. https://doi.org/10.1111/j.1600-0587.2012.07348.x

23. Csárdi G, Nepusz T, Traag V, Horvát S, Zanini F, Noom D. Igraph: network analysis and visualization in R. 2025.

24. El Graoui M, Hijmans RJ. conexus: Network approaches for biological conservation assessments. 2025. R package version 1.1.0. Available from: https://github.com/rspatial/conexus

25. Carver D, Sosa C, Khoury K, Achicanoy H, Diaz M, Sotelo S. Gap analysis: an R package to calculate conservation indicators using spatial information. Ecography. 2021;44(7):1000-9.

26. Olson DM, Dinerstein E. The global 200: priority ecoregions for global conservation. Ann Missouri Bot Gard. 2002;89(2):199-224.

27. Faith D. Conservation evaluation and phylogenetic diversity. Biol Conserv. 1992;61(1):1-10.

28. Sork V, Nason J, Campbell D, Fernandez J. Landscape approaches to historical and contemporary gene flow in plants. Trends Ecol Evol. 1999;14(6):219-24. https://doi.org/10.1016/s0169-5347(98)01585-7 PMID: 10354623

29. van Etten J, Hijmans RJ. A geospatial modelling approach integrating archaeobotany and genetics to trace the origin and dispersal of domesticated plants. PLoS One. 2010;5(8):e12060. https://doi.org/10.1371/journal.pone.0012060 PMID: 20711460
30. Mpakairi KS, Ndaimani H, Tagwireyi P, Gara TW, Zvidzai M, Madhlamoto D. Missing in action: Species competition is a neglected predictor variable in species distribution modelling. PLoS One. 2017;12(7):e0181088. https://doi.org/10.1371/journal.pone.0181088 PMID: 28708854

31. Thuiller W, Pollock LJ, Gueguen M, Münkemüller T. From species distributions to meta-communities. Ecol Lett. 2015;18(12):1321–8. https://doi.org/10.1111/ele.12526 PMID: 26439311

32. Catarino S, Rangel J, Darbyshire I, Costa E, Duarte M, Romeiras M. Conservation priorities for African Vigna species: unveiling Angola's diversity hotspots. Glob Ecol Conserv. 2021;25:e01415.

33. Khoury CK, Castañeda-Alvarez NP, Achicanoy HA, Sosa CC, Bernau V, Kassa MT, et al. Crop wild relatives of pigeonpea [Cajanus cajan (L.) Millsp.]: distributions, ex situ conservation status, and potential genetic resources for abiotic stress tolerance. Biol Conserv. 2015;184:259–70.

34. Khoury CK, Carver D, Kates HR, Achicanoy HA, van Zonneveld M, Thomas E, et al. Distributions, conservation status, and abiotic stress tolerance potential of wild cucurbits (Cucurbita L.). Plants People Planet. 2019;2(3):269–83. https://doi.org/10.1002/ppp3.10085

35. Lebeda A, Křístková E, Kitner M, Majeský Ľ, Doležalová I, Khoury CK, et al. Research Gaps and Challenges in the Conservation and Use of North American Wild Lettuce Germplasm. Crop Science. 2019;59(6):2337–56. https://doi.org/10.2135/cropsci2019.05.0350

36. Mezghani N, Khoury CK, Carver D, Achicanoy HA, Simon P, Flores FM, et al. Distributions and Conservation Status of Carrot Wild Relatives in Tunisia: A Case Study in the Western Mediterranean Basin. Crop Science. 2019;59(6):2317–28. https://doi.org/10.2135/cropsci2019.05.0333

37. Carnaval AC, Moritz C. Historical climate modelling predicts patterns of current biodiversity in the Brazilian Atlantic forest. Journal of Biogeography. 2008;35(7):1187–201. https://doi.org/10.1111/j.1365-2699.2007.01870.x

38. Waltari E, Hijmans RJ, Peterson AT, Nyári AS, Perkins SL, Guralnick RP. Locating pleistocene refugia: comparing phylogeographic and ecological niche model predictions. PLoS One. 2007;2(6):e563. https://doi.org/10.1371/journal.pone.0000563 PMID: 17622339

39. Pautasso M. Geographical genetics and the conservation of forest trees. Perspectives in Plant Ecology, Evolution and Systematics. 2009;11(3):157–89. https://doi.org/10.1016/j.ppees.2009.01.003

40. Seale M, Nakayama N. From passive to informed: mechanical mechanisms of seed dispersal. New Phytol. 2020;225:653–8.

41. Gianoli E, Torres-Díaz C, Ruiz E, Salgado-Luarte C, Molina-Montenegro MA, Saldaña A, et al. Woody climbers show greater population genetic differentiation than trees: Insights into the link between ecological traits and diversification. Evolution. 2016;70(12):2736–45. https://doi.org/10.1111/evo.13073 PMID: 27669683