Description Usage Arguments Value Author(s) References
extract data used in facet_plot
or geom_facet
1 | facet_data(tree_view, panel)
|
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. |
data frame or a list of data frames
Guangchuang Yu
G Yu, TTY Lam, H Zhu, Y Guan (2018). Two methods for mapping and visualizing associated data on phylogeny using ggtree. Molecular Biology and Evolution, 35(2):3041-3043. https://doi.org/10.1093/molbev/msy194
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.