collapse: collapse-ggtree

Description Usage Arguments Value Author(s) See Also

Description

collapse a clade

Usage

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

Arguments

x

tree view (i.e. the ggtree object). If tree_view is NULL, the last ggplot will be used.

node

internal node number

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


ggtree documentation built on Nov. 15, 2020, 2:09 a.m.