Learn R Programming

ggphylo (version 0.1)

tree.extract.subtree: Returns the minimum sub-tree connecting the given leaf nodes

Description

Returns the minimum sub-tree connecting the given leaf nodes

Usage

tree.extract.subtree(phylo, leaves)

Arguments

phylo,
input phylo object
leaves,
integer vector containing the node indices of the leaves from which to extract a sub-tree

Value

phylo, a phylo object containing the minimum spanning sub-tree defined by the given leaf nodes