computeLMStats: Summaries of the distance Lapalcian spectrum (normalized or...

Description Usage Arguments Value See Also

View source: R/Drivers.R

Description

computeLMStats computes various summaries of the distance Laplacian specturm of a rooted binary phylo tree.

Usage

1
computeLMStats(tree, norm = FALSE, unitMean = FALSE)

Arguments

tree

A tree of class phylo. The tree should be binary and rooted; if it is not, it will be coerced into a rooted tree using root and/or binarized using multi2di.

norm

A logical vector; a TRUE (FALSE) entry means the Laplacian is (not) normalized.

unitMean

A logical scalar; if TRUE, the tree's branch lengths are scaled to unit mean beforehand.

Value

A named list containing spectral summary statistics: asymmetry, kurtosis, densityMax and lambdaMax.

See Also

Other drivers for computing summary statistics: computeBasicStats, computeNetworkStats, computeSpectralStats, rankDiscriminatoryStats


Leonardini/treeCentrality documentation built on April 7, 2020, 3:18 p.m.