bioRxivAnimal Behavior & Cognition
pavo 2: new tools for the spectral and spatial analysis of colour in R
Abstract
O_LIBiological colouration presents a canvas for the study of ecological and evolutionary processes. Enduring interest in colour-based phenotypes has driven, and been driven by, improved techniques for quantifying colour patterns in ever-more relevant ways, yet the need for flexible, open frameworks for data processing and analysis persists.\nC_LIO_LIHere we introduce pavo 2, the latest iteration of the R package pavo. This release represents the extensive refinement and expansion of existing methods, as well as a suite of new tools for the cohesive analysis of the spectral and (now) spatial structure of colour patterns and perception. At its core, the package retains a broad focus on (a) the organisation and processing of spectral and spatial data, and tools for the alternating (b) visualisation, and (c) analysis of data. Significantly, pavo 2 introduces image-analysis capabilities, providing a cohesive workflow for the comprehensive analysis of colour patterns.\nC_LIO_LIWe demonstrate the utility of pavo with a brief example centred on mimicry in Heliconius butterflies. Drawing on visual modelling, adjacency, and boundary strength analyses, we show that the combined spectral (colour and luminance) and spatial (pattern element distribution and boundary salience) features of putative models and mimics are closely aligned.\nC_LIO_LIpavo 2 offers a flexible and reproducible environment for the analysis of colour, with renewed potential to assist researchers in answering fundamental questions in sensory ecology and evolution.\nC_LI
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Quantitative Colour Pattern Analysis (QCPA): A Comprehensive Framework for the Analysis of Colour Patterns in Nature
C. P. van den Berg, J. Troscianko, … K. L. Cheney·Methods in Ecology and EvolutionPeer-reviewed·Dec 2, 2019
- Dude, Everyone Wants Pattern Analysis Tools (DEWPAT): Tools for measuring visual pattern diversity from digital images
Jillian A. Sanderson, Tristan Aumentado‐Armstrong, … D. Luke Mahler·bioRxiv·Jan 29, 2025
- Patternize: An R Package For Quantifying Color Pattern Variation
Steven M. Van Belleghem, Riccardo Papa, … Brian A. Counterman·Methods in Ecology and EvolutionPeer-reviewed·Jul 11, 2017
- Colour vision models: a practical guide, some simulations, and colourvision R package.
F. M. Gawryszewski·bioRxiv·Jan 27, 2017
- Automated Workflows Using Quantitative Colour Pattern Analysis (QCPA): A Guide to Batch Processing and Downstream Data Analysis
C. P. van den Berg, N. D. Condon, … K. L. Cheney·bioRxiv·Feb 2, 2023
- Polychrome: Creating and Assessing Qualitative Palettes With Many Colors
Kevin R. Coombes, Guy Nathaniel Brock, … Lynne V. Abruzzo·Journal of Statistical SoftwarePeer-reviewed·Jan 1, 2019