Repository logo
 

patternize: An R package for quantifying colour pattern variation

Accepted version
Peer-reviewed

Type

Article

Change log

Authors

Van Belleghem, SM 
Papa, R 
Ortiz-Zuazaga, H 
Hendrickx, F 
Jiggins, CD 

Abstract

  1. The use of image data to quantify, study and compare variation in the colours and patterns of organisms requires the alignment of images to establish homology, followed by colour‐based segmentation of images. Here, we describe an R package for image alignment and segmentation that has applications to quantify colour patterns in a wide range of organisms.

  2. patternize is an R package that quantifies variation in colour patterns obtained from image data. patternize first defines homology between pattern positions across specimens either through manually placed homologous landmarks or automated image registration. Pattern identification is performed by categorizing the distribution of colours using an RGB threshold, k‐means clustering or watershed transformation.

  3. We demonstrate that patternize can be used for quantification of the colour patterns in a variety of organisms by analysing image data for butterflies, guppies, spiders and salamanders. Image data can be compared between sets of specimens, visualized as heatmaps and analysed using principal component analysis.

  4. patternize has potential applications for fine scale quantification of colour pattern phenotypes in population comparisons, genetic association studies and investigating the basis of colour pattern variation across a wide range of organisms.

Description

Keywords

colour patterns, heatmap, image registration, image segmentation, landmarks

Journal Title

Methods in Ecology and Evolution

Conference Name

Journal ISSN

2041-210X
2041-210X

Volume Title

9

Publisher

Wiley
Sponsorship
European Research Council (339873)
Funding Information: - Directorate for Biological Sciences. Grant Number: DEB‐1257839 - Center for Information Technology. Grant Number: 5P20GM103475‐13 - NSF. Grant Number: DEB‐1257839 - NIH. Grant Number: 5P20GM103475‐13