50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


treestats (version 1.70.5)

eigen_centrality: Eigen vector centrality

Description

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.

Usage

eigen_centrality(phy, weight = TRUE, scale = FALSE)

Value

List with the eigen vector and the leading eigen value

Arguments

phy

phylo object or ltable

weight

if TRUE, uses branch lengths.

scale

if TRUE, the eigenvector is rescaled

References

Chindelevitch, Leonid, et al. "Network science inspires novel tree shape statistics." Plos one 16.12 (2021): e0259877.