Search bioRxiv⌕ Search

Biology subjects

Luerig, M. D.

Publications and source records attributed to Luerig, M. D..

3 recordsLinked to original sources

Aposematic color patterns are the dominant axis of phenotypic diversification in Nymphalid butterflies

Butterfly wing patterns serve diverse roles in visual communication, from aposematic signaling and mimicry to mate attraction and camouflage. In brush-footed butterflies (Nymphalidae), this diversity can be traced to the wing pattern "ground plan" that generates phenotypes deterministic in origin yet highly multidimensional in form. Quantifying such complexity at scale has long been a challenge, limiting our understanding of how visual signals interact, constrain one another, and evolve. Here, we used computer vision to extract high-dimensional traits from standardized museum specimens and assembled the largest comparative dataset of wing color patterns to date, spanning over one third of all known Nymphalid species. We first tested whether chemically defended species occupy a distinct region in morphospace and then derived a quantitative score for aposematism from the principal color patterns associated with defense. Using this score, we examined whether aposematic signals are expressed consistently across wing surfaces and sexes, and whether their origins are linked to shifts in evolutionary rate. We found that the dominant axis of morphospace is defined by chromatic and achromatic contrast, along which defended and undefended species cluster. Validation with an expert-labeled moth dataset confirmed that this axis separates aposematic from non-aposematic phenotypes across Lepidoptera. Consistent with theory, strongly aposematic species showed greater visual similarity between dorsal and ventral surfaces, between sexes, and among individuals. Rate analyses further indicated that aposematic patterns evolved repeatedly and were associated with non-linear shifts in evolutionary tempo. Together, these results identify aposematism as the dominant organizing axis of wing color pattern evolution in Nymphalidae. Significance statementButterflies are renowned for their striking diversity of wing patterns, including the warning colors that signal chemical defense to predators. Yet whether such warning patterns share common features across lineages has remained unclear. Here, we applied a metric computer vision model to more than 16,000 museum specimens spanning one third of all Nymphalid species, encoding their wing patterns into a common morphospace. Within this space, high-contrast aposematic patterns emerged as the dominant axis of diversification, explaining up to 20% of phenotypic variance. These signals were expressed consistently across wing surfaces, sexes, and individuals, and evolved repeatedly across the family. Our approach demonstrates how computer vision enables meaningful comparative analyses of complex patterns, revealing general principles of butterfly diversification.

evolutionary biology↗

BioEncoder: a metric learning toolkit for comparative organismal biology

In the realm of biological image analysis, deep learning (DL) has been a transformative force. Tasks like finding areas of interest within an image (segmentation) and/or sorting images into groups (classification), can now be automated and achieve unprecedented efficiency and accuracy. However, conventional DL methods are challenged by large-scale biodiversity datasets, which are characterized by unbalanced classes and small phenotypic differences between them. Here we present BioEncoder, a user-friendly toolkit for metric learning, which overcomes the aforementioned challenges by focussing on learning relationships between individual data points rather than on the separability of classes. This approach simplifies training of robust image classification models for biologists, democratizing access to advanced DL techniques. BioEncoder is encapsulated in a Python package, crafted for ease of use and flexibility across diverse datasets. It features taxon-agnostic data loaders, custom augmentation options, and streamlined hyperparameter adjustments through text-based configuration files. The toolkits significance lies in its potential to unlock new possibilities in biological image analysis - from phenomics and disease diagnosis to species identification and ecosystem monitoring. BioEncoder focuses on the urgent need for toolkits bridging the gap between complex DL methodologies and practical applications in biological research.

evolutionary biology↗

phenopype: a phenotyping pipeline for Python

O_LIDigital images are an intuitive way to capture, store and analyze organismal phenotypes. Many biologists are taking images to collect high-dimensional phenotypic information from specimens, which are key to investigating complex ecological, evolutionary and developmental phenomena, such as relationships between trait diversity and ecosystem function, multivariate natural selection, or developmental plasticity. As a consequence, images are being collected at ever increasing rates, but extraction of the contained phenotypic information still poses a veritable analytical bottleneck. C_LIO_LIphenopype is a high throughput phenotyping pipeline for the programming language Python that aims at alleviating this bottleneck. The package facilitates immediate extraction of high dimensional phenotypic data from laboratory grade digital images with low levels of background noise and complexity. At the core, phenopype provides functionality for rapid signal processing based image preprocessing and segmentation, followed by trait extraction, visualization and numerous options for data export. The functionality is provided by wrapping low-level Python computer vision libraries (e.g. OpenCV) into accessible functions, facilitating their incorporation into scientific image analysis workflows. In addition, phenopype provides a project management ecosystem to further simplify rapid data collection and to increase reproducibility. C_LIO_LIphenopype offers two different workflows that support users during different stages of scientific image analysis. The low-throughput workflow uses regular Python syntax and has greater flexibility at the cost of reproducibility, which is suitable for prototyping during the initial stage of a research project. The high-throughput workflow allows users to specify and store image-specific settings for analysis in human-readable YAML format, and then execute all functions in one step by means of an interactive parser. This approach facilitates rapid program-user interactions during batch processing, and greatly increases scientific reproducibility. C_LIO_LIOverall, phenopype intends to make the features of powerful but technically involved low-level CV libraries available to biologists with little or no Python coding experience. Therefore, phenopype is aiming to augment, rather than replace the utility of existing Python CV libraries, allowing biologists to focus on rapid and reproducible data collection. Furthermore, image annotations produced by phenopype can be used as training data, thus presenting a stepping stone towards the application of deep learning architectures. C_LI

evolutionary biology↗