reroot {ggtree} | R Documentation

## reroot method

### Description

reroot a tree

### Usage

    reroot(object, node, ...)

    ## S4 method for signature 'beast'
    reroot(object, node, ...)

    ## S4 method for signature 'phylo'
    reroot(object, node, ...)

### Arguments

`object` | one of `phylo`, `nhx`, `phangorn`, `jplace`, `beast`, `hyphy`, `codeml`, `codeml_mlc`, `paml_rst` object
`node` | internal nnode number
`...` | additional parameter

### Value

tree object

[Package ggtree version 1.10.5 Index]