bioRxiv · 10.1101/302356
bmotif: a package for counting motifs in bipartite networks
Abstract
O_LIBipartite networks are widely-used to represent a diverse range of species interactions, such as pollination, herbivory, parasitism and seed dispersal. The structure of these networks is usually characterised by calculating one or more metrics that capture different aspects of network architecture. While these metrics capture useful properties of networks, they only consider structure at the scale of the whole network (the macro-scale) or individual species (the micro-scale). Meso-scale structure between these scales is usually ignored, despite representing ecologically-important interactions. Network motifs are a framework for capturing this meso-scale structure and are gaining in popularity. However, there is no software available in R, the most popular programming language among ecologists, for conducting motif analyses in bipartite networks. Similarly, no mathematical formalisation of bipartite motifs has been developed.\nC_LIO_LIHere we introduce bmotif: a package for counting motifs, and species positions within motifs, in bipartite networks. Our code is primarily an R package, but we also provide MATLAB and Python code of the core functionality. The software is based on a mathematical framework where, for the first time, we derive formal expressions for motif frequencies and the frequencies with which species occur in different positions within motifs. This framework means that analyses with bmotif are fast, making motif methods compatible with the permutational approaches often used in network studies, such as null model analyses.\nC_LIO_LIWe describe the package and demonstrate how it can be used to conduct ecological analyses, using two examples of plant-pollinator networks. We first use motifs to examine the assembly and disassembly of an Arctic plant-pollinator community, and then use them to compare the roles of native and introduced plant species in an unrestored site in Mauritius.\nC_LIO_LIbmotif will enable motif analyses of a wide range of bipartite ecological networks, allowing future research to characterise these complex networks without discarding important meso-scale structural detail.\nC_LI
Source connections
Explore related subjects
Keep this discovery
Simmons, B. I., Sweering, M. J. M., Dicks, L. V., Sutherland, W. J., Di Clemente, R.. 2018-04-17. bmotif: a package for counting motifs in bipartite networks. https://doi.org/10.1101/302356
Cite the original work for its findings. Save a collection to share your selection of sources.