bioRxivEvolutionary Biology
canaper: Categorical analysis of neo- and paleo-endemism in R
Abstract
O_LIBiodiversity has typically been quantified using species richness, but this ignores evolutionary history. Due to the increasing availability of robust phylogenies, methods have been developed that incorporate phylogenetic relationships into quantification of biodiversity. CANAPE (categorical analysis of neo- and paleo-endemism) is one such method that can provide insight into the evolutionary processes generating biodiversity. The only currently available software implementing CANAPE is Biodiverse, which is written in Perl and can be used either through a graphical user interface (GUI) or user-developed scripts. However, many researchers, particularly in the fields of ecology and evolutionary biology, use the R programming language to conduct their analyses. C_LIO_LIHere, we present canaper, a new R package that provides functions to conduct CANAPE in R. canaper implements methods for efficient computation, including parallelization and encoding of community data as sparse matrices. The interface is designed for maximum simplicity and reproducibility; CANAPE can be conducted with two functions, and parallel computing can be enabled with one line of code. C_LIO_LIOur case study shows that canaper produces equivalent results to Biodiverse and can complete computations on moderately sized datasets quickly (< 10 min to reproduce a canonical study). C_LIO_LIcanaper allows researchers to conduct all analyses from data import and cleaning through CANAPE within R, thereby averting the need to manually import and export data and analysis results between programs. We anticipate canaper will become a part of the toolkit for analyzing biodiversity in R. C_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
- phyloregion: R package for biogeographic regionalization and spatial conservation
Barnabas H. Daru, Piyal Karunarathne, Klaus Peter Schliep·Methods in Ecology and EvolutionPeer-reviewed·Aug 29, 2020
- BITE: an R package for biodiversity analyses
Marco Milanesi, Stefano Capomaccio, … Licia Colli·bioRxiv·Aug 29, 2017
- speciesgeocodeR: An R package for linking species occurrences, user-defined regions and phylogenetic trees for biogeography, ecology and evolution
Alexander Zizka, Alexandre Antonelli·bioRxiv·Nov 24, 2015
- DeepDiveR - A software for deep learning estimation of palaeodiversity from fossil occurrences
Rebecca B. Cooper, Bethany J. Allen, Daniele Silvestro·Methods in Ecology and EvolutionPeer-reviewed·Aug 7, 2025
- phylopath: Easy phylogenetic path analysis in R.
W. van der Bijl·bioRxiv·Oct 31, 2017
- SpeciesGeoCoder: Fast categorisation of species occurrences for analyses of biodiversity, biogeography, ecology and evolution
Mats Töpel, Maria Fernanda Calió, … Alexandre Antonelli·bioRxiv·Sep 18, 2014