Browse code

update man files and fixed R check

Guangchuang Yu authored on 23/03/2022 04:13:34
Showing 1 changed files
... ...
@@ -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
 }
Browse code

update man

Guangchuang Yu authored on 30/08/2020 09:34:25
Showing 1 changed files
... ...
@@ -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
 }
Browse code

zoomClade and geom_zoom_clade

Guangchuang Yu authored on 03/08/2020 16:21:17
Showing 1 changed files
... ...
@@ -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
Browse code

geom_motif #148

guangchuang yu authored on 22/08/2017 08:22:37
Showing 1 changed files
... ...
@@ -20,4 +20,3 @@ get taxa name of a selected node (or tree if node=NULL) sorted by their position
20 20
 \author{
21 21
 Guangchuang Yu
22 22
 }
23
-
Browse code

update docs

guangchuang yu authored on 16/08/2017 02:36:13
Showing 1 changed files
... ...
@@ -20,3 +20,4 @@ get taxa name of a selected node (or tree if node=NULL) sorted by their position
20 20
 \author{
21 21
 Guangchuang Yu
22 22
 }
23
+
Browse code

add extend parameter in geom_cladelabel

guangchuang yu authored on 26/07/2017 02:13:53
Showing 1 changed files
... ...
@@ -20,4 +20,3 @@ get taxa name of a selected node (or tree if node=NULL) sorted by their position
20 20
 \author{
21 21
 Guangchuang Yu
22 22
 }
23
-
Browse code

fixed geom_tiplab(geom="label")

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@127093 bc3139a8-67e5-0310-9ffc-ced21a209358

Guangchuang Yu authored on 02/03/2017 03:05:18
Showing 1 changed files
... ...
@@ -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
Browse code

viewClade, scaleClade, collapse, expand, rotate, flip, get_taxa_name and scale_x_ggtree accepts input tree_view=NULL.

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@112503 bc3139a8-67e5-0310-9ffc-ced21a209358

Guangchuang Yu authored on 13/01/2016 07:47:55
Showing 1 changed files
... ...
@@ -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}
Browse code

lots updates

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@111813 bc3139a8-67e5-0310-9ffc-ced21a209358

Guangchuang Yu authored on 22/12/2015 04:08:02
Showing 1 changed files
... ...
@@ -1,4 +1,4 @@
1
-% Generated by roxygen2 (4.1.1): do not edit by hand
1
+% Generated by roxygen2: do not edit by hand
2 2
 % Please edit documentation in R/ggtree.R
3 3
 \name{get_taxa_name}
4 4
 \alias{get_taxa_name}
Browse code

flip and rotate

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@106546 bc3139a8-67e5-0310-9ffc-ced21a209358

Guangchuang Yu authored on 19/07/2015 12:49:14
Showing 1 changed files
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
+