This is a Preprint and has not been peer reviewed. This is version 1 of this Preprint.
MetaWeave: a reproducible framework for the spatial inference of ecological networks
Downloads
Authors
Abstract
A regional species-interaction network, or metaweb, describes interactions that potentially occur among species within a region. MetaWeave is an R package that combines regional metawebs, local species assemblages, and alternative interaction models to reconstruct local networks. Its main feature is to separate the effects of interaction assumptions from changes in community composition. We illustrate the package with three applications: a synthetic benchmark comparing interaction models against a known generating process; spatial downscaling of a Neotropical palm–mammal metaweb; and a reanalysis of six Ecuador plant–frugivore networks. In the Ecuador example, an externally fitted regional stochastic block model is applied to both observed and richness-matched alternative assemblages. Holding the observed assemblages fixed, the block model increased simulated nestedness relative to neutral link allocation at the two lowest sites, while the composition contrasts were less consistent across sites. These comparisons are conditional on species recorded in the interaction data and use a model fitted to the pooled networks. MetaWeave 1.0.0 is available on CRAN. By retaining local interaction matrices and allowing assemblages and interaction rules to vary independently, MetaWeave supports explicit comparisons of ecological network hypotheses across space.
DOI
https://doi.org/10.32942/X2T125
Subjects
Life Sciences
Keywords
Ecological networks, Metawebs, Spatial network inference, Species interactions, Rpackage
Dates
Published: 2026-11-09 21:13
Last Updated: 2026-11-09 21:13
License
CC-BY Attribution-NonCommercial 4.0 International
Additional Metadata
Conflict of interest statement:
None
Data and Code Availability Statement:
The Ecuador plant–frugivore interaction data are available from Zenodo at https://doi.org/10.5281/zenodo.5537283. The palm–frugivore interaction records are available from Dryad at https://doi.org/10.5061/dryad.rd46vq3. The manuscript’s analysis code, synthetic data, fitted models, and supplementary materials are available at https://github.com/fgabriel1891/metaweave_software_note
Language:
English
Metrics
Views: 6
Downloads: 0
There are no comments or no comments have been made public for this article.