add_rootbranch: Add a branch to the root of the tree

add_rootbranchR Documentation

Add a branch to the root of the tree

Description

This function adds a branch to the root of the tree, adding one extra node in the process.

Usage

add_rootbranch(tree, branch_length = 1)

Arguments

tree

A phylogeny of class phylo, with edge lengths

branch_length

The length of the root branch

Value

An object of class phylo


SWittouck/tidygenomes documentation built on Feb. 1, 2023, 9:50 p.m.