man/collapse.Rd
6c9cd355
 % Generated by roxygen2: do not edit by hand
0b5c08bd
 % Please edit documentation in R/clade-functions.R
0266c285
 \name{collapse.ggtree}
 \alias{collapse.ggtree}
 \title{collapse-ggtree}
2245dbf2
 \usage{
fb0a330e
 \method{collapse}{ggtree}(x = NULL, node, mode = "none", clade_name = NULL, ...)
2245dbf2
 }
 \arguments{
0266c285
 \item{x}{tree view}
2245dbf2
 
 \item{node}{clade node}
0266c285
 
7f09bee0
 \item{mode}{one of 'none', 'max', 'min' and 'mixed'}
 
591825ec
 \item{clade_name}{set clade name. If clade_name = NULL, do nothing}
 
0266c285
 \item{...}{additional parameters}
2245dbf2
 }
 \value{
 tree view
 }
 \description{
 collapse a clade
 }
f0e199ad
 \seealso{
 expand
 }
363c0555
 \author{
 Guangchuang Yu
 }