root.phylo {treeio}R Documentation

root

Description

re-root a tree

Usage

## S3 method for class 'phylo'
root(object, node, ...)

## S3 method for class 'treedata'
root(object, node, ...)

Arguments

object

tree object

node

node to reroot

...

additional parameters

Value

rerooted tree

Author(s)

Guangchuang Yu


[Package treeio version 1.8.0 Index]