Learn R Programming

TreeTools (version 1.16.1)

Treeness: Relative length of internal branches

Description

Treeness (also termed stemminess) is the proportion of a tree's length found on internal branches Lanyon1988TreeTools. Insofar as external branches do not contain phylogenetic (grouping) signal, trees with a high treeness can be interpreted as containing a higher signal:noise ratio Phillips2003TreeTools.

Usage

Treeness(tree)

Stemminess(tree)

Value

Treeness() returns a numeric vector reporting the treeness of each tree.

Arguments

tree

A tree of class phylo, or a list of trees of class list or multiPhylo.

References

See Also

Other tree properties: ConsensusWithout(), LongBranch(), MatchEdges(), NSplits(), NTip(), NodeNumbers(), PathLengths(), SplitsInBinaryTree(), TipLabels(), TreeIsRooted()

Examples

Run this code
lowTree <- BalancedTree(6, lengths = c(1, 1, 4, 4, 4, 1, 1, 4, 4, 4))
plot(lowTree)
Treeness(lowTree)
highTree <- BalancedTree(6, lengths = c(6, 6, 1, 1, 1, 6, 6, 1, 1, 1))
plot(highTree)
Treeness(c(lowTree, highTree))

Run the code above in your browser using DataLab