bioRxiv Science⌕ Search

bioRxiv · 10.1101/2020.03.20.000612

maxnodf: an R package for fair and fast comparisons of nestedness between networks

Abstract

O_LINestedness is a widespread pattern in mutualistic networks that has high ecological and evolutionary importance due to its role in enhancing species persistence and community stability. Nestedness measures tend to be correlated with fundamental properties of networks, such as size and connectance, and so nestedness values must be normalised to enable fair comparisons between different ecological communities. Current approaches, such as using null-corrected nestedness values and z-scores, suffer from extensive statistical issues. Thus a new approach called NODFc was recently proposed, where nestedness is expressed relative to network size, connectance and the maximum nestedness that could be achieved in a particular network. While this approach is demonstrably effective in overcoming the issues of collinearity with basic network properties, it is computationally intensive to calculate, and current approaches are too slow to be practical for many types of analysis, or for analysing large networks. C_LIO_LIWe developed three highly-optimised algorithms, based on greedy, hillclimbing and simulated annealing approaches, for calculation of NODFc, spread along a speed-quality continuum. Users thus have the choice between a fast algorithm with a less accurate estimate, a slower algorithm with a more accurate estimate, and an intermediate option. C_LIO_LIWe outline the package, and its implementation, as well as provide comparative performance benchmarking and two example analyses. We show that maxnodf enables speed increases of hundreds of times faster than existing approaches, with large networks seeing the biggest improvements. For example, for a large network with 3000 links, computation time was reduced from 50 minutes using the fastest existing algorithm to 11 seconds using maxnodf. C_LIO_LImaxnodf makes correctly-normalised nestedness measures feasible for complex analyses of even large networks. Analyses that would previously take weeks to complete can now be finished in hours or even seconds. Given evidence that correctly normalising nestedness values can significantly change the conclusions of ecological studies, we believe this package will usher in necessary widespread use of appropriate comparative nestedness statistics. C_LI

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Hoeppke, C., Simmons, B. I.. 2020-03-23. maxnodf: an R package for fair and fast comparisons of nestedness between networks. https://doi.org/10.1101/2020.03.20.000612

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

MillionTrees: A global benchmark for tree detection across geography, sensor, and annotation geometry

Airborne tree monitoring using remotely sensed data, combined with the growth of computer vision models for object detection and segmentation, can facilitate broad scale assessment of tree health, ecology and ecosystem function. However, datasets for airborne tree detection have been largely limited to a single geography, resolution, or annotation approach, making it difficult to develop general models and benchmark their utility for broad applications. We compile existing and newly published annotation datasets to create a comprehensive dataset for training and evaluating airborne tree detection in RGB imagery. The MillionTrees dataset has over a million individual trees from a broad range of forest types, tree species, and geographic locations. In addition, it has six million weakly supervised annotations from a range of sources including airborne LiDAR and photogrammetry, arborist surveys, and simulated landscapes. An evaluation standard is provided to facilitate rapid model development. We benchmark several existing tree detection algorithms and demonstrate that while current open-source models do not generalize across the diverse datasets in the benchmark, training on MillionTrees improves both within-domain and out-of-domain performance. Held-out validation datasets using ground truth derived from terrestrial LiDAR paired with overhead RGB show that overfitting to test data is common and hyperparameter tuning is an underappreciated challenge towards a global zero shot tree detection method. We discuss the limitations of the currently available data for airborne RGB tree detection, how to create more robust evaluation data and the need for better understanding of the uncertainty and utility of tree detection from airborne remote sensing.

ecology↗

Individual-specific recovery of the healthy human gut microbiota after antibiotics

Following disruption by broad-spectrum antibiotics, the human gut microbiome undergoes a prolonged recovery where coarse ecological features, such as species richness and diversity, are largely restored. However, as these features are shared by most healthy individuals, it remains unclear whether, even after strong perturbation, individuals preferentially return toward their own pre-treatment composition ('individual-specific recovery') or instead switch to alternative equally healthy states. Resolving this question is fundamental for evaluating the long-term impacts of antibiotics, because an individual's health is affected by their unique microbiome composition, affecting immune regulation and metabolic processing, so a state switch, even to a broadly healthy configuration, could carry unintended consequences. Here we compare each subject's post-antibiotic endpoint with their own baseline and with the baselines of every other subject, across four cohorts (n = 121) whose regimens ranged from a five-day fluoroquinolone course to a four-day three-drug combination given to deplete the gut community. The recovered community was significantly closer to the subject's own baseline than to the alternative healthy baselines in more than 90% of individuals under the mildest regimen and in two thirds of those under regimens that broadly target the gut anaerobes, remaining above chance in every cohort and the majority outcome even where most baseline taxa fell below detection during treatment. This specificity is not merely the persistence and fast regrowth of survivors: it persists among baseline taxa that remain undetected for weeks to months, and the same taxon re-establishes more readily in a host where it was previously detected than in one where it was not. Newly established taxa are consistently more functionally similar to the pre-treatment community than transient arrivals, and their identity correlates with the surviving community's composition in a substantial fraction of subjects. State switching, in contrast, was uncommon and occurred almost exclusively among subjects with the largest reduction in detected taxa during the treatment. Together, these observations reveal the individual-specific nature of the microbiome resilience to broad-spectrum antibiotics, whereas the compositional changes are not random but rather functionally and ecologically associated with the subject's baseline.

ecology↗

Tropical Peatlands as Hotspots of Hidden Arcellinida Diversity: Insights from Maludam National Park, Borneo (Sarawak, Malaysia)

Recent investigations on tropical peatlands have shown their extremely high efficiency as carbon sinks, far beyond better studied boreal bogs. The microbial diversity found in those ecosystems, as well as their corresponding ecological and metabolic processes, are just starting to be revealed, and differ considerably from high latitudes systems. However, these efforts have been concentrated almost exclusively towards prokaryotes and fungi, leaving protist communities virtually unknown. Arcellinida (testate amoebae) are well acknowledged to play an important role in boreal and temperate peatland ecology by driving microbial community composition as top predators, but also as nutrient recyclers and carbon fixers. Yet, to our knowledge, no community-level study has addressed their diversity and its drivers in tropical peatlands. In this study, we surveyed Arcellinida communities' diversity across five functionally distinct vegetation-hydrological zones situated along a hydrological transect in a coastal tropical peatland in the Maludam National Park, Malaysia. Taxonomic composition of Arcellinida communities, characterized by a high diversity of Trigonopyxis-related taxa, indicated fundamental differences in diversity and community composition from extratropical ecosystems. Species richness was significantly higher in the zones with developed understory vegetation. Furthermore, the composition of diversity varied significantly among vegetation-hydrological zones. Altogether, this study shows unique Arcellinida communities in a Southeastern Asian peatland and suggests the importance of vegetation-hydrological characteristics for protist diversity.

ecology↗