... | ... |
@@ -7,7 +7,7 @@ |
7 | 7 |
get_taxa_name(tree_view = NULL, node = NULL) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{tree_view}{tree view (i.e. the ggtree object). If tree_view is NULL, the last ggplot will be used.} |
|
10 |
+\item{tree_view}{tree view (i.e. the ggtree object). If tree_view is NULL, the last ggplot object will be used.} |
|
11 | 11 |
|
12 | 12 |
\item{node}{internal node number to specify a clade. If NULL, using the whole tree} |
13 | 13 |
} |
... | ... |
@@ -9,14 +9,23 @@ get_taxa_name(tree_view = NULL, node = NULL) |
9 | 9 |
\arguments{ |
10 | 10 |
\item{tree_view}{tree view (i.e. the ggtree object). If tree_view is NULL, the last ggplot will be used.} |
11 | 11 |
|
12 |
-\item{node}{internal node number} |
|
12 |
+\item{node}{internal node number to specify a clade. If NULL, using the whole tree} |
|
13 | 13 |
} |
14 | 14 |
\value{ |
15 |
-taxa name vector |
|
15 |
+ordered taxa name vector |
|
16 | 16 |
} |
17 | 17 |
\description{ |
18 | 18 |
get taxa name of a selected node (or tree if node=NULL) sorted by their position in plotting |
19 | 19 |
} |
20 |
+\details{ |
|
21 |
+This function extract an ordered vector of the tips from selected clade or the whole tree |
|
22 |
+based on the ggtree() plot. |
|
23 |
+} |
|
24 |
+\examples{ |
|
25 |
+tree <- rtree(30) |
|
26 |
+p <- ggtree(tree) |
|
27 |
+get_taxa_name(p) |
|
28 |
+} |
|
20 | 29 |
\author{ |
21 | 30 |
Guangchuang Yu |
22 | 31 |
} |
... | ... |
@@ -7,9 +7,9 @@ |
7 | 7 |
get_taxa_name(tree_view = NULL, node = NULL) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{tree_view}{tree view} |
|
10 |
+\item{tree_view}{tree view (i.e. the ggtree object). If tree_view is NULL, the last ggplot will be used.} |
|
11 | 11 |
|
12 |
-\item{node}{node} |
|
12 |
+\item{node}{internal node number} |
|
13 | 13 |
} |
14 | 14 |
\value{ |
15 | 15 |
taxa name vector |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@127093 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -4,7 +4,7 @@ |
4 | 4 |
\alias{get_taxa_name} |
5 | 5 |
\title{get_taxa_name} |
6 | 6 |
\usage{ |
7 |
-get_taxa_name(tree_view = NULL, node) |
|
7 |
+get_taxa_name(tree_view = NULL, node = NULL) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 | 10 |
\item{tree_view}{tree view} |
... | ... |
@@ -15,7 +15,7 @@ get_taxa_name(tree_view = NULL, node) |
15 | 15 |
taxa name vector |
16 | 16 |
} |
17 | 17 |
\description{ |
18 |
-get taxa name of a selected node |
|
18 |
+get taxa name of a selected node (or tree if node=NULL) sorted by their position in plotting |
|
19 | 19 |
} |
20 | 20 |
\author{ |
21 | 21 |
Guangchuang Yu |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@112503 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,10 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/ggtree.R |
|
2 |
+% Please edit documentation in R/clade-functions.R |
|
3 | 3 |
\name{get_taxa_name} |
4 | 4 |
\alias{get_taxa_name} |
5 | 5 |
\title{get_taxa_name} |
6 | 6 |
\usage{ |
7 |
-get_taxa_name(tree_view, node) |
|
7 |
+get_taxa_name(tree_view = NULL, node) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 | 10 |
\item{tree_view}{tree view} |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@111813 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@106546 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,23 @@ |
1 |
+% Generated by roxygen2 (4.1.1): do not edit by hand |
|
2 |
+% Please edit documentation in R/ggtree.R |
|
3 |
+\name{get_taxa_name} |
|
4 |
+\alias{get_taxa_name} |
|
5 |
+\title{get_taxa_name} |
|
6 |
+\usage{ |
|
7 |
+get_taxa_name(tree_view, node) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{tree_view}{tree view} |
|
11 |
+ |
|
12 |
+\item{node}{node} |
|
13 |
+} |
|
14 |
+\value{ |
|
15 |
+taxa name vector |
|
16 |
+} |
|
17 |
+\description{ |
|
18 |
+get taxa name of a selected node |
|
19 |
+} |
|
20 |
+\author{ |
|
21 |
+Guangchuang Yu |
|
22 |
+} |
|
23 |
+ |