scale_y_tree: Continious y-scale with fixed expansion space

View source: R/ggtree.R

scale_y_treeR Documentation

Continious y-scale with fixed expansion space

Description

Overwrites the default expand for continuous scales

Usage

scale_y_tree(expand = expand_scale(0, 0.6), ...)

Arguments

expand

For position scales, a vector of range expansion constants used to add some padding around the data to ensure that they are placed some distance away from the axes. Use the convenience function expansion() to generate the values for the expand argument. The defaults are to expand the scale by 5% on each side for continuous variables, and by 0.6 units on each side for discrete variables.

...

Other arguments passed on to ⁠scale_(x|y)_continuous()⁠


thackl/thacklr documentation built on Oct. 16, 2023, 9:15 p.m.