TY - JOUR T1 - Patternize: An R package for quantifying color pattern variation JF - bioRxiv DO - 10.1101/121962 SP - 121962 AU - Steven M. Van Belleghem AU - Riccardo Papa AU - Humberto Ortiz-Zuazaga AU - Frederik Hendrickx AU - Chris D. Jiggins AU - W. Owen McMillan AU - Brian A. Counterman Y1 - 2017/01/01 UR - http://biorxiv.org/content/early/2017/03/29/121962.abstract N2 - The use of image data to quantify, study and compare variation in the colors and patterns of organisms requires the alignment of images to establish homology, followed by color-based segmentation of images. Here we describe an R package for image alignment and segmentation that has applications to quantify color patterns in a wide range of organisms.patternize is an R package that quantifies variation in color patterns obtained from image data. patternize first defines homology between pattern positions across specimens either through fixed landmarks or automated image registration. Pattern identification is performed by categorizing the distribution of colors using either an RGB threshold or unsupervised image segmentation.We demonstrate that patternize can be used for quantification of the color patterns in a variety of organisms by analyzing image data for butterflies, guppies and spiders. Image data can be compared between sets of specimens, visualized as heatmaps and analyzed using principal component analysis (PCA).patternize has potential applications for fine scale quantification of color pattern phenotypes in population comparisons, genetic association studies and investigating the genetic basis of color pattern expression across a wide range of organisms. ER -