collapse.ggtree {ggtree}R Documentation

collapse-ggtree

Description

collapse a clade

Usage

## S3 method for class 'ggtree'
collapse(x = NULL, node, mode = "none", clade_name = NULL, ...)

Arguments

x

tree view

node

clade node

mode

one of 'none', 'max', 'min' and 'mixed'

clade_name

set clade name. If clade_name = NULL, do nothing

...

additional parameters

Value

tree view

Author(s)

Guangchuang Yu

See Also

expand


[Package ggtree version 2.2.4 Index]