Description Usage Arguments Value See Also
computeEigenvector
computes the eigenvector centrality of a rooted binary phylo tree.
1 | computeEigenvector(tree, weight = FALSE, scale = FALSE)
|
tree |
A phylo tree; needs to be binary and rooted, but the root can be arbitrary. |
weight |
A logical scalar; if TRUE, branch lengths are used; if a root edge is present, it is ignored! |
scale |
A logical scalar; if TRUE, the resulting vector is scaled to have a maximum value of 1. If no scaling is used (the default), the eigenvector has unit length in the Euclidean norm. |
A list containing the dominant eigenvector and its corresponding eigenvalue.
Other network science-based tree shape statistics: computeBetweenness
,
computeCloseness
,
computeDiameter
,
computeFarness
,
computeWienerIndex
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.