geom_aline: geom_aline

View source: R/geom_segment.R

geom_alineR Documentation

geom_aline

Description

add horizontal align lines layer to a tree

Usage

geom_aline(mapping = NULL, linetype = "dotted", linewidth = 1, ...)

Arguments

mapping

aes mapping

linetype

set line type of the line, defaults to "dotted"

linewidth

set width of the line, defaults to 1

...

additional parameter

Details

'geom_aline'align all tips to the longest one by adding padding characters to the right side of the tip.

Value

aline layer

Author(s)

Yu Guangchuang


YuLab-SMU/ggtree documentation built on Nov. 3, 2024, 4:15 p.m.