Browse code

geom_highlight

Guangchuang Yu authored on 08/01/2020 02:55:39
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,28 +0,0 @@
1
-% Generated by roxygen2: do not edit by hand
2
-% Please edit documentation in R/geom_hilight.R
3
-\name{geom_hilight}
4
-\alias{geom_hilight}
5
-\title{geom_hilight}
6
-\usage{
7
-geom_hilight(node, fill = "steelblue", alpha = 0.5, extend = 0, ...)
8
-}
9
-\arguments{
10
-\item{node}{selected node to hilight (required)}
11
-
12
-\item{fill}{color fill (default = steelblue)}
13
-
14
-\item{alpha}{alpha transparency, (default = 0.5)}
15
-
16
-\item{extend}{extend xmax of the rectangle (default = 0)}
17
-
18
-\item{...}{additional parameters}
19
-}
20
-\value{
21
-ggplot2
22
-}
23
-\description{
24
-layer of hilight clade with rectangle
25
-}
26
-\author{
27
-Guangchuang Yu
28
-}
Browse code

geom-hilight

Guangchuang Yu authored on 28/08/2019 08:27:43
Showing 1 changed files
... ...
@@ -4,8 +4,7 @@
4 4
 \alias{geom_hilight}
5 5
 \title{geom_hilight}
6 6
 \usage{
7
-geom_hilight(node, fill = "steelblue", alpha = 0.5, extend = 0,
8
-  extendto = NULL)
7
+geom_hilight(node, fill = "steelblue", alpha = 0.5, extend = 0, ...)
9 8
 }
10 9
 \arguments{
11 10
 \item{node}{selected node to hilight (required)}
... ...
@@ -16,7 +15,7 @@ geom_hilight(node, fill = "steelblue", alpha = 0.5, extend = 0,
16 15
 
17 16
 \item{extend}{extend xmax of the rectangle (default = 0)}
18 17
 
19
-\item{extendto}{extend xmax to extendto (default = NULL)}
18
+\item{...}{additional parameters}
20 19
 }
21 20
 \value{
22 21
 ggplot2
Browse code

Added revised geom_hilight_encircle() function to highlight clades of unrooted trees.

Fixed layoutDaylight ave_change calculation.

Fixed bug in getTreeArcAngles() for cases where the branch root node and origin node are the same.

Added getNodeEuclDistances() function.

Fixed isTip() function to check if nodes has children, instead of checking of the data variable had the isTip field set.

JustGitting authored on 29/06/2017 03:43:04
Showing 1 changed files
... ...
@@ -8,15 +8,15 @@ geom_hilight(node, fill = "steelblue", alpha = 0.5, extend = 0,
8 8
   extendto = NULL)
9 9
 }
10 10
 \arguments{
11
-\item{node}{selected node to hilight}
11
+\item{node}{selected node to hilight (required)}
12 12
 
13
-\item{fill}{color fill}
13
+\item{fill}{color fill (default = steelblue)}
14 14
 
15
-\item{alpha}{alpha (transparency)}
15
+\item{alpha}{alpha transparency, (default = 0.5)}
16 16
 
17
-\item{extend}{extend xmax of the rectangle}
17
+\item{extend}{extend xmax of the rectangle (default = 0)}
18 18
 
19
-\item{extendto}{extend xmax to extendto}
19
+\item{extendto}{extend xmax to extendto (default = NULL)}
20 20
 }
21 21
 \value{
22 22
 ggplot2
... ...
@@ -27,4 +27,3 @@ layer of hilight clade with rectangle
27 27
 \author{
28 28
 Guangchuang Yu
29 29
 }
30
-
Browse code

update geom_hilight

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

g.yu authored on 10/05/2016 10:16:07
Showing 1 changed files
... ...
@@ -4,7 +4,8 @@
4 4
 \alias{geom_hilight}
5 5
 \title{geom_hilight}
6 6
 \usage{
7
-geom_hilight(node, fill = "steelblue", alpha = 0.5)
7
+geom_hilight(node, fill = "steelblue", alpha = 0.5, extend = 0,
8
+  extendto = NULL)
8 9
 }
9 10
 \arguments{
10 11
 \item{node}{selected node to hilight}
... ...
@@ -12,6 +13,10 @@ geom_hilight(node, fill = "steelblue", alpha = 0.5)
12 13
 \item{fill}{color fill}
13 14
 
14 15
 \item{alpha}{alpha (transparency)}
16
+
17
+\item{extend}{extend xmax of the rectangle}
18
+
19
+\item{extendto}{extend xmax to extendto}
15 20
 }
16 21
 \value{
17 22
 ggplot2
Browse code

update ggtree with new features according to ggplot2 v2

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

g.yu authored on 29/12/2015 11:53:44
Showing 1 changed files
... ...
@@ -2,14 +2,9 @@
2 2
 % Please edit documentation in R/geom_hilight.R
3 3
 \name{geom_hilight}
4 4
 \alias{geom_hilight}
5
-\alias{stat_hilight}
6 5
 \title{geom_hilight}
7 6
 \usage{
8 7
 geom_hilight(node, fill = "steelblue", alpha = 0.5)
9
-
10
-stat_hilight(mapping = NULL, data = NULL, geom = "rect",
11
-  position = "identity", node, show.legend = NA, inherit.aes = FALSE,
12
-  fill, alpha, ...)
13 8
 }
14 9
 \arguments{
15 10
 \item{node}{selected node to hilight}
... ...
@@ -17,16 +12,12 @@ stat_hilight(mapping = NULL, data = NULL, geom = "rect",
17 12
 \item{fill}{color fill}
18 13
 
19 14
 \item{alpha}{alpha (transparency)}
20
-
21
-\item{geom}{geometric object}
22 15
 }
23 16
 \value{
24 17
 ggplot2
25 18
 }
26 19
 \description{
27 20
 layer of hilight clade with rectangle
28
-
29
-stat_hilight
30 21
 }
31 22
 \author{
32 23
 Guangchuang Yu
Browse code

lots updates

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

g.yu authored on 22/12/2015 04:08:02
Showing 1 changed files
... ...
@@ -1,23 +1,32 @@
1
-% Generated by roxygen2 (4.1.1): do not edit by hand
2
-% Please edit documentation in R/ggtree.R
1
+% Generated by roxygen2: do not edit by hand
2
+% Please edit documentation in R/geom_hilight.R
3 3
 \name{geom_hilight}
4 4
 \alias{geom_hilight}
5
+\alias{stat_hilight}
5 6
 \title{geom_hilight}
6 7
 \usage{
7
-geom_hilight(tree_object, node, ...)
8
+geom_hilight(node, fill = "steelblue", alpha = 0.5)
9
+
10
+stat_hilight(mapping = NULL, data = NULL, geom = "rect",
11
+  position = "identity", node, show.legend = NA, inherit.aes = FALSE,
12
+  fill, alpha, ...)
8 13
 }
9 14
 \arguments{
10
-\item{tree_object}{supported tree object}
15
+\item{node}{selected node to hilight}
16
+
17
+\item{fill}{color fill}
11 18
 
12
-\item{node}{internal node}
19
+\item{alpha}{alpha (transparency)}
13 20
 
14
-\item{...}{additional parameters}
21
+\item{geom}{geometric object}
15 22
 }
16 23
 \value{
17
-ggplot layer
24
+ggplot2
18 25
 }
19 26
 \description{
20
-hilight clade with rectangle
27
+layer of hilight clade with rectangle
28
+
29
+stat_hilight
21 30
 }
22 31
 \author{
23 32
 Guangchuang Yu
Browse code

Commit made by the Bioconductor Git-SVN bridge.

Commit id: ca17acc22b608158936b9c2790bff2f7504f38d9

add author



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

g.yu authored on 27/04/2015 03:15:40
Showing 1 changed files
... ...
@@ -1,4 +1,4 @@
1
-% Generated by roxygen2 (4.1.0): do not edit by hand
1
+% Generated by roxygen2 (4.1.1): do not edit by hand
2 2
 % Please edit documentation in R/ggtree.R
3 3
 \name{geom_hilight}
4 4
 \alias{geom_hilight}
Browse code

Commit made by the Bioconductor Git-SVN bridge. Consists of 3 commits.

Commit information:

Commit id: cd270be7dff4e811297283d7cd5da2826d4c60aa

update news

Committed by: GuangchuangYu
Author Name: GuangchuangYu
Commit date: 2015-02-04 16:24:25 +0800
Author date: 2015-02-04 16:24:25 +0800

Commit id: 240a0ebc95b76ce091f0c59c95d53db841127493

gzoom methods

Committed by: GuangchuangYu
Author Name: GuangchuangYu
Commit date: 2015-02-04 16:23:19 +0800
Author date: 2015-02-04 16:23:19 +0800

Commit id: 55f42d1fa0d7bcddc8cf8bcdcff87f887b215acf

geom_hilight

Committed by: GuangchuangYu
Author Name: GuangchuangYu
Commit date: 2015-02-04 15:54:42 +0800
Author date: 2015-02-04 15:54:42 +0800


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

g.yu authored on 04/02/2015 08:24:48
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,25 @@
1
+% Generated by roxygen2 (4.1.0): do not edit by hand
2
+% Please edit documentation in R/ggtree.R
3
+\name{geom_hilight}
4
+\alias{geom_hilight}
5
+\title{geom_hilight}
6
+\usage{
7
+geom_hilight(tree_object, node, ...)
8
+}
9
+\arguments{
10
+\item{tree_object}{supported tree object}
11
+
12
+\item{node}{internal node}
13
+
14
+\item{...}{additional parameters}
15
+}
16
+\value{
17
+ggplot layer
18
+}
19
+\description{
20
+hilight clade with rectangle
21
+}
22
+\author{
23
+Guangchuang Yu
24
+}
25
+