nodiv
Compares the Distribution of Sister Clades Through a Phylogeny
An implementation of the nodiv algorithm, see Borregaard, M.K., Rahbek, C., Fjeldsaa, J., Parra, J.L., Whittaker, R.J. & Graham, C.H. (2014) "Node-based analysis of species distributions." Methods in Ecology and Evolution 5(11): 1225-1235. <doi:10.1111/2041-210X.12283>. Package for phylogenetic analysis of species distributions. The main function goes through each node in the phylogeny, compares the distributions of the two descendant nodes, and compares the result to a null model. This highlights nodes where major distributional divergence have occurred. The distributional divergence for these nodes is mapped.
README
The `nodiv` R package [](https://cran.r-project.org/package=nodiv) [](https://cran.r-project.org/package=nodiv) [](https://app.codecov.io/github/mkborregaard/nodiv) ## nodiv - Node-based analysis of species distributions The package implements Borregaard et al. (2014) method for identifying nodes in a phylogeny associated with divergent distributions. The main algorithm goes through each node in the phylogeny and relates node overlap to a null model. The package also provides functions for preparing the data sets, for exploratory plots and further analysis. The workflow starts by creating `nodiv_data` data object, which makes sure that the phylogeny, the species distributions and the spatial coordinates of sites are matched correctly. The function takes a number of data types. There are several functions for exploratory data analysis, including `plot`, `summary`, `richness`, `Node_occupancy`, `Node_size` etc. The core of the package are the functions `Nodesig`, which compares the distributions of the two clades descending from a node, and `Node_analysis`, which applies this function to all nodes in the phylogeny and summarizes the results as a `nodiv_result` object. There is a set of functions for interpretation of the results, including `plot`, `plotSOS`, and `summary`. The package also provides basic functions for plotting and manipulating data sets that combine spatial distributions with phylogenies, e.g. `subsample`, `plot_grid` and `plot_points`.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.4.4 |
rolling linux/jammy R-4.5 | nodiv_1.4.4.tar.gz |
298.8 KiB |
1.4.4 |
rolling linux/noble R-4.5 | nodiv_1.4.4.tar.gz |
496.2 KiB |
1.4.4 |
rolling source/ R- | nodiv_1.4.4.tar.gz |
298.8 KiB |
1.4.4 |
latest linux/jammy R-4.5 | nodiv_1.4.4.tar.gz |
298.8 KiB |
1.4.4 |
latest linux/noble R-4.5 | nodiv_1.4.4.tar.gz |
496.2 KiB |
1.4.4 |
latest source/ R- | nodiv_1.4.4.tar.gz |
298.8 KiB |
1.4.4 |
2026-04-23 source/ R- | nodiv_1.4.4.tar.gz |
0 B |
1.4.2 |
2025-04-20 source/ R- | nodiv_1.4.2.tar.gz |
299.1 KiB |