tree_y: Get tree-based y-coordinates

View source: R/ggtree.R

tree_yR Documentation

Get tree-based y-coordinates

Description

Matches a ggtree and a tibble by shared labels, and returns the respective y-coordinates for the data.

Usage

tree_y(ggtree, data)

Arguments

ggtree

a ggtree plot object

data

a tibble with a 'label' column


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