View source: R/eigen_centrality.R
| eigen_centrality | R Documentation |
Eigen vector centrality associates with each node v
the positive value e(v), such that:
\sum_{e}^v w(uv) * e(u) = \lambda * e(v) . Thus,
e(v) is the Perron-Frobenius eigenvector of the adjacency matrix of the
tree.
eigen_centrality(phy, weight = TRUE, scale = FALSE, use_rspectra = TRUE)
phy |
phylo object or ltable |
weight |
if TRUE, uses branch lengths. |
scale |
if TRUE, the Eigenvector is rescaled |
use_rspectra |
boolean to indicate whether the helping package RSpectra should be used, which is faster, but returns fewer eigen values. |
List with the Eigen vector and the leading Eigen value
Chindelevitch, Leonid, et al. "Network science inspires novel tree shape statistics." Plos one 16.12 (2021): e0259877.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.