Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

bmotif: A package for motif analyses of bipartite networks

Domain:

environment and energy

Record type:

software
Creator:
BI MJMM SLV
Host:avatar
Bipartite 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 indices that capture different aspects of network architecture. While these indices capture useful properties of networks, they are relatively insensitive to changes in network structure. Consequently, variation in ecologically-important interactions can be missed. Network motifs are a way to characterise network structure that is substantially more sensitive to changes in pairwise interactions and is 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. Here we introduce bmotif: a package for motif analyses of 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. We 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. bmotif 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.

Visit

figshare.com

Tags

bipartite networksfood webMATLABmotifspollinationPythonseed dispersal

Licenses

CC BY

Similar

cito: An R package for training neural networks using torchPAReTT: a Python package for the Automated Retrieval and management of divergence time data from the TimeTree resource for downstream analyses (Dataset)suruleredotdev/symbolic-motif-analysisDevelopment of a Software Package for Cattle Identification in NigeriaReplication Package for JCEConversational Pattern Mining using Motif Detection

cito: An R package for training neural networks using torch

Deep Neural Networks (DNN) have become a central method in ecology. Most current deep learning (DL)

PAReTT: a Python package for the Automated Retrieval and management of divergence time data from the TimeTree resource for downstream analyses (Dataset)

Dataset for article by the same title submitted the the Journal of Molecular Evol

suruleredotdev/symbolic-motif-analysis

Computational Semiotics, focused on Yoruba artifacts to start # symbolic-motif-analysis A computer

Development of a Software Package for Cattle Identification in Nigeria

Open grazing or free-range grazing is one of the methods employed by the Nigeria nomadic cattle herd

Replication Package for JCE

This repository contains replication materials only for the study "Institutional Origins of

Conversational Pattern Mining using Motif Detection

The subject of conversational mining has become of great interest recently due to the explosion of s