... | ... |
@@ -17,6 +17,11 @@ data frame or a list of data frames |
17 | 17 |
\description{ |
18 | 18 |
extract data used in \code{facet_plot} or \code{geom_facet} |
19 | 19 |
} |
20 |
+\references{ |
|
21 |
+G Yu, TTY Lam, H Zhu, Y Guan (2018). Two methods for mapping and visualizing associated data |
|
22 |
+on phylogeny using ggtree. Molecular Biology and Evolution, 35(2):3041-3043. |
|
23 |
+\url{https://doi.org/10.1093/molbev/msy194} |
|
24 |
+} |
|
20 | 25 |
\author{ |
21 | 26 |
Guangchuang Yu |
22 | 27 |
} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,22 @@ |
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 |
+% Please edit documentation in R/facet_plot.R |
|
3 |
+\name{facet_data} |
|
4 |
+\alias{facet_data} |
|
5 |
+\title{facet_data} |
|
6 |
+\usage{ |
|
7 |
+facet_data(tree_view, panel) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{tree_view}{ggtree object} |
|
11 |
+ |
|
12 |
+\item{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.} |
|
13 |
+} |
|
14 |
+\value{ |
|
15 |
+data frame or a list of data frames |
|
16 |
+} |
|
17 |
+\description{ |
|
18 |
+extract data used in `facet_plot` or `geom_facet` |
|
19 |
+} |
|
20 |
+\author{ |
|
21 |
+Guangchuang Yu |
|
22 |
+} |