bioRxivEcology
habCluster: Identifying Geographical Boundary among Intraspecific Units Using Community Detection Algorithm in R
Abstract
Conservation management for a species generally rests on intraspecific units, while identification of their geographic boundaries is necessary for the implementation. Intraspecific units can be discriminated using population genetic methods, yet an analytical approach is still lacking for detecting their geographic boundaries. Here, based on landscape connectivity, we present a geographical boundary delineation method, habCluster, using community detection algorithm. Community detection is an algorithm in graph theory used to identify clusters of highly connected nodes within a network. We assume that the habitat raster cells with better connections tend to form a continuous habitat patch than the others, thus making the range of an intraspecific unit. The method is tested on grey wolf (Canis lupus) habitat in Europe and on giant panda (Ailuropoda melanoleuca) habitat in China. The habitat suitability for grey wolves and giant pandas were evaluated using species distribution modeling. Each cell in the habitat suitability index (HSI) raster is treated as a node and directly connected with its eight neighbor cells. The edge weight between nodes is the distance between the center of them weighted by the average of their HSI values. We implement habCluster using R programming language with inline C++ code to speed up the computing. The geographical clusters detected were compared with the HSI maps for both species and with the nature reserves for giant panda. We found the boundaries of the clusters delineated using habCluster could serve as a good indicator of habitat patches, and they match generally well with nature reserves in the giant panda case. habCluster can provide spatial analysis basis for conservation management plans such as monitoring, translocation and reintroduction, as well as for population structure research.
- organism: human
- organism: mouse
- assay: spatial transcriptomics
- research focus: clustering
- approach: deep learning
- approach: statistical model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- WolfPackR: An R package for identifying wolf packs based on genetic and spatial data
Etienne Boncourt·bioRxiv·Apr 29, 2026
- Integrity and miss grouping as support for clusters in agglomerative hierarchical methods: the R-package octopucs
Ian MacGregor‐Fors, Roger Guevara·bioRxiv·Aug 1, 2024
- Integrating habitat suitability modeling with gene flow improves delineation of landscape connections among African savanna elephants
A. de Flamingh, N. Alexander, … A. Roca·bioRxiv·Aug 22, 2023
- geoGraph: Connectivity modelling across geographic space with hexagonal discrete global grids
Dominik C. Jud, Evelyn J. Carter, … Andrea Manica·bioRxiv·Oct 20, 2026
- Landscape matters: Deriving a generalizable understanding of population connectivity using empirical data and graph theory
Divyashree Rana, Samuel A. Cushman, Uma Ramakrishnan·bioRxiv·Sep 5, 2025
- Genetic network analysis uncovers spatial variation in diversity and connectivity of a species presenting a continuous distribution
C. Fournier, M. Manseau, … P. Wilson·Global Ecology and ConservationPeer-reviewed·Oct 1, 2024