facet_data {ggtree}R Documentation

facet_data

Description

extract data used in 'facet_plot' or 'geom_facet'

Usage

facet_data(tree_view, panel)

Arguments

tree_view

ggtree object

panel

data plotted in specific panel. If only one dataset used in the panel, return the data frame, else return a list of data frames.

Value

data frame or a list of data frames

Author(s)

Guangchuang Yu


[Package ggtree version 1.16.5 Index]