tree.label.info: Show information about a label in a phylogenetic tree

Description Usage Arguments Value Author(s) See Also Examples

View source: R/tree.label.info.R

Description

Function for discover the edge position, edge length, edge height, max height of tree and type of the label in a phylogenetic tree. This function is based in the function nodeHeights.

Usage

1
tree.label.info(tree, label)

Arguments

tree

phylogeny as an object of class "phylo".

label

One tip label or one node label.

Value

A data.frame with type of label, edge position, edge length, edge height and max height of tree.

Author(s)

Vanderlei Julio Debastiani <vanderleidebastiani@yahoo.com.br>

See Also

nodeHeights

Examples

1
2
3
tree <- read.tree(text = "(C:32,(B:16,A:16)N2:16)N1;")
plot(tree, show.node = TRUE)
tree.label.info(tree, label = "A")

vanderleidebastiani/daee documentation built on Jan. 22, 2021, 2:41 p.m.