Methods in Ecology and Evolution (Nov 2023)
rphylopic: An R package for fetching, transforming, and visualising PhyloPic silhouettes
Abstract
Abstract Effective data visualisation is vital for data exploration, analysis and communication in research. In ecology and evolutionary biology, data are often associated with various taxonomic entities. Graphics of organisms associated with these taxa are valuable for framing results within a broader biological context. However, acquiring and using such resources can be challenging due to availability and licensing constraints. The PhyloPic database solves many of these issues by making organism silhouettes freely available. Tools that integrate this database with existing research workflows are needed to remove hurdles associated with data visualisation in the biological sciences. Here, we introduce rphylopic, an R package for fetching, transforming and visualising silhouettes of organisms from the PhyloPic database. In addition to making over 8000 organism silhouettes available within the R programming language, rphylopic empowers users to modify the appearance of these silhouettes for ultimate customisability when coding production–quality visualisations in both base R and ggplot2 workflows. In this work, we provide details about how the package can be installed, its implementation and potential use cases. For the latter, we showcase three examples across the ecology and evolutionary biology spectrum. Our hope is that rphylopic will make it easier for biologists to develop more accessible and engaging data visualisations by making external resources readily accessible, customisable and usable within R. In turn, by integrating into existing workflows, rphylopic helps to ensure that science is reproducible and accessible.
Keywords