scaleClade {ggtree}R Documentation

scaleClade

Description

scale clade

Usage

scaleClade(tree_view = NULL, node, scale = 1, vertical_only = TRUE)

Arguments

tree_view

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

node

internal node number to specify a clade. If NULL, using the whole tree

scale

scale

vertical_only

logical. If TRUE, only vertical will be scaled. If FALSE, the clade will be scaled vertical and horizontally. TRUE by default.

Value

tree view

Author(s)

Guangchuang Yu


[Package ggtree version 3.1.6 Index]