Learn R Programming

⚠️There's a newer version (1.0.8) of this package.Take me there.

phyloregion

This is a computational infrastructure for biogeographic regionalization (the classification of geographical areas in terms of their biotas) and spatial conservation in the R scientific computing environment. Previously it was only possible to perform analysis of biogeographic regionalization on small datasets, often using tools that are difficult to replicate. With macroecological datasets of ever increasing size and complexity, phyloregion offers the possibility of handling and executing large scale biogeographic regionalization efficiently and with extreme speed. It also allows fast and efficient analysis of more standard conservation measures such as phylogenetic diversity, phylogenetic endemism, evolutionary distinctiveness and global endangerment. phyloregion can run on any operating system (Mac, Linux, Windows or even high performance computing cluster) with R 3.6.0 (or higher) installed.

Authors

Barnabas Daru

Klaus Schliep

How to cite

The original implementation of phyloregion is described in:

Daru B.H., Karunarathne, P. & Schliep, K. (2020) phyloregion: R package for biogeographic regionalization and spatial conservation. bioRxiv 2020.02.12.945691 doi: 10.1101/2020.02.12.945691

It is based on the method described in:

Daru, B.H., Farooq, H., Antonelli, A. & Faurby, S. (2020) Endemism patterns are scale dependent. Coming soon.

The original conceptual is described in:

Daru, B. H., Elliott, T. L., Park, D. S. & Davies, T. J. (2017), Understanding the processes underpinning patterns of phylogenetic regionalization. Trends in Ecology and Evolution 32: 845-860. doi: 10.1016/j.tree.2017.08.013

Feedback

If you have any questions, suggestions or issues regarding the package, please add them to GitHub issues

Installation

phyloregion is an open-source and free package hosted on GitHub. You will need to install the devtools package. In R, type:

if (!requireNamespace("devtools", quietly = TRUE)) 
    install.packages("devtools") 

Then:

devtools::install_github("darunabas/phyloregion")

Load the phyloregion package:

library(phyloregion)

Copy Link

Version

Install

install.packages('phyloregion')

Monthly Downloads

449

Version

1.0.2

License

AGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Barnabas H. Daru

Last Published

March 30th, 2020

Functions in phyloregion (1.0.2)

map_trait

Map species' trait values in geographic space
read.community

Read in sparse community matrices
raster2comm

Convert raw input distribution data to community
phylo_endemism

Phylogenetic Endemism
phylobeta_core

Phylogenetic beta diversity
hexcols

Generate diverging colors in HCL colour space.
mean_dist

Mean distance matrix from a set of distance matrices
timeslice

Slice phylogenetic tree at various time depths
PD

Phylogenetic diversity
selectbylocation

Select features within polygon from another layer
match_phylo_comm

Match taxa and in phylogeny and community matrix
long2sparse

Conversion of community data
select_linkage

Cluster algorithm selection and validation
phylobuilder

Create a subtree with largest overlap from a species list.
phyloregion-package

Biogeographic regionalization and spatial conservation
plot_evoldistinct

Visualize biogeographic patterns
reexports

Objects exported from other packages
phyloregion

Calculate evolutionary distinctiveness of phyloregions
random_species

Generate random species distributions in space
optimal_phyloregion

Determine optimal number of clusters
plot_swatch

Plot shapefile polygons based on slot values
weighted_endemism

Measure the distribution of narrow-ranged or endemic species.
collapse_range

Collapse nodes and ranges based on divergence times
EDGE

Evolutionary Distinctiveness and Global Endangerment
evol_distinct

Species' evolutionary distinctiveness
choropleth

Bin values
coldspots

Computes biodiversity coldspots and hotspots
get_clades

Get descendant nodes of phylogeny at a given time depth
fishnet

Create a fishnet of regular grids
africa

Plants of southern Africa
beta_core

Taxonomic (non-phylogenetic) beta diversity