expand_tree: Tree expansion

Description Usage Arguments Value

Description

Expand a phylogenetic tree by adding extra nodes to each existing tip of the tree.

Usage

1
expand_tree(phylogenetic_tree, n_nodes, evolutionary_time = 0)

Arguments

phylogenetic_tree

Phylogenetic tree of relationships between observations

n_nodes

The number of nodes to be added to each tip of the tree.

evolutionary_time

The distance from the root of the nodes being added to each of the n_nodes tips.

Value

An object of class 'phylo' with a similar structure to the input phylogenetic_tree but with n_nodes node at each tip.


jpmeagher/sdsBAT documentation built on May 5, 2019, 3:50 a.m.