tree.remove.leaf: Removes a single leaf from the tree and returns a copy.

Description Usage Arguments Value

Description

Removes a single leaf from the tree and returns a copy.

Usage

1
  tree.remove.leaf(phylo, leaf)

Arguments

phylo,

input phylo object

leaf,

the node index of the desired leaf to remove.

Value

phylo, a new phylo object with the altered tree structure.


gjuggler/ggphylo documentation built on May 17, 2019, 6:05 a.m.