Browse code

update man files and fixed R check

Guangchuang Yu authored on 23/03/2022 04:13:34
Showing 1 changed files
... ...
@@ -56,7 +56,7 @@ geom_cladelabel(
56 56
 \item{parse}{logical, whether parse label}
57 57
 
58 58
 \item{horizontal}{logical, whether set label to horizontal,
59
-default is TRUE.}
59
+defaults to TRUE.}
60 60
 
61 61
 \item{...}{additional parameter}
62 62
 }
Browse code

modified the angle of clade labels and add horizontal parameter

xiangpin authored on 15/06/2020 05:03:03
Showing 1 changed files
... ...
@@ -20,6 +20,7 @@ geom_cladelabel(
20 20
   fill = NA,
21 21
   family = "sans",
22 22
   parse = FALSE,
23
+  horizontal = TRUE,
23 24
   ...
24 25
 )
25 26
 }
... ...
@@ -54,6 +55,9 @@ geom_cladelabel(
54 55
 
55 56
 \item{parse}{logical, whether parse label}
56 57
 
58
+\item{horizontal}{logical, whether set label to horizontal,
59
+default is TRUE.}
60
+
57 61
 \item{...}{additional parameter}
58 62
 }
59 63
 \value{
Browse code

clip="off" and update docs

Guangchuang Yu authored on 06/12/2019 03:01:17
Showing 1 changed files
... ...
@@ -4,10 +4,24 @@
4 4
 \alias{geom_cladelabel}
5 5
 \title{geom_cladelabel}
6 6
 \usage{
7
-geom_cladelabel(node, label, offset = 0, offset.text = 0, extend = 0,
8
-  align = FALSE, barsize = 0.5, fontsize = 3.88, angle = 0,
9
-  geom = "text", hjust = 0, color = NULL, fill = NA,
10
-  family = "sans", parse = FALSE, ...)
7
+geom_cladelabel(
8
+  node,
9
+  label,
10
+  offset = 0,
11
+  offset.text = 0,
12
+  extend = 0,
13
+  align = FALSE,
14
+  barsize = 0.5,
15
+  fontsize = 3.88,
16
+  angle = 0,
17
+  geom = "text",
18
+  hjust = 0,
19
+  color = NULL,
20
+  fill = NA,
21
+  family = "sans",
22
+  parse = FALSE,
23
+  ...
24
+)
11 25
 }
12 26
 \arguments{
13 27
 \item{node}{selected node}
Browse code

Cross link geom_cladelabel and geom_cladelabel2

Hugo Gruson authored on 26/06/2019 12:59:12
Showing 1 changed files
... ...
@@ -30,7 +30,7 @@ geom_cladelabel(node, label, offset = 0, offset.text = 0, extend = 0,
30 30
 
31 31
 \item{geom}{one of 'text' or 'label'}
32 32
 
33
-\item{hjust}{hjust}
33
+\item{hjust}{justify text horizontally}
34 34
 
35 35
 \item{color}{color for clade & label, of length 1 or 2}
36 36
 
... ...
@@ -48,6 +48,9 @@ ggplot layers
48 48
 \description{
49 49
 annotate a clade with bar and text label
50 50
 }
51
+\seealso{
52
+\link{geom_cladelabel2}
53
+}
51 54
 \author{
52 55
 Guangchuang Yu
53 56
 }
Browse code

bug fixed of viewClade

Guangchuang Yu authored on 07/08/2018 12:07:15
Showing 1 changed files
... ...
@@ -6,8 +6,8 @@
6 6
 \usage{
7 7
 geom_cladelabel(node, label, offset = 0, offset.text = 0, extend = 0,
8 8
   align = FALSE, barsize = 0.5, fontsize = 3.88, angle = 0,
9
-  geom = "text", hjust = 0, color = NULL, fill = NA, family = "sans",
10
-  parse = FALSE, ...)
9
+  geom = "text", hjust = 0, color = NULL, fill = NA,
10
+  family = "sans", parse = FALSE, ...)
11 11
 }
12 12
 \arguments{
13 13
 \item{node}{selected node}
Browse code

geom_motif #148

guangchuang yu authored on 22/08/2017 08:22:37
Showing 1 changed files
... ...
@@ -51,4 +51,3 @@ annotate a clade with bar and text label
51 51
 \author{
52 52
 Guangchuang Yu
53 53
 }
54
-
Browse code

update docs

guangchuang yu authored on 16/08/2017 02:36:13
Showing 1 changed files
... ...
@@ -51,3 +51,4 @@ annotate a clade with bar and text label
51 51
 \author{
52 52
 Guangchuang Yu
53 53
 }
54
+
Browse code

add extend parameter in geom_cladelabel

guangchuang yu authored on 26/07/2017 02:13:53
Showing 1 changed files
... ...
@@ -4,9 +4,10 @@
4 4
 \alias{geom_cladelabel}
5 5
 \title{geom_cladelabel}
6 6
 \usage{
7
-geom_cladelabel(node, label, offset = 0, offset.text = 0, align = FALSE,
8
-  barsize = 0.5, fontsize = 3.88, angle = 0, geom = "text", hjust = 0,
9
-  color = NULL, fill = NA, family = "sans", parse = FALSE, ...)
7
+geom_cladelabel(node, label, offset = 0, offset.text = 0, extend = 0,
8
+  align = FALSE, barsize = 0.5, fontsize = 3.88, angle = 0,
9
+  geom = "text", hjust = 0, color = NULL, fill = NA, family = "sans",
10
+  parse = FALSE, ...)
10 11
 }
11 12
 \arguments{
12 13
 \item{node}{selected node}
... ...
@@ -17,6 +18,8 @@ geom_cladelabel(node, label, offset = 0, offset.text = 0, align = FALSE,
17 18
 
18 19
 \item{offset.text}{offset of text from bar}
19 20
 
21
+\item{extend}{extend bar height}
22
+
20 23
 \item{align}{logical}
21 24
 
22 25
 \item{barsize}{size of bar}
... ...
@@ -48,4 +51,3 @@ annotate a clade with bar and text label
48 51
 \author{
49 52
 Guangchuang Yu
50 53
 }
51
-
Browse code

geom_cladelabel

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

Guangchuang Yu authored on 11/08/2016 06:54:44
Showing 1 changed files
... ...
@@ -6,7 +6,7 @@
6 6
 \usage{
7 7
 geom_cladelabel(node, label, offset = 0, offset.text = 0, align = FALSE,
8 8
   barsize = 0.5, fontsize = 3.88, angle = 0, geom = "text", hjust = 0,
9
-  fill = NA, family = "sans", ...)
9
+  color = NULL, fill = NA, family = "sans", parse = FALSE, ...)
10 10
 }
11 11
 \arguments{
12 12
 \item{node}{selected node}
... ...
@@ -29,10 +29,14 @@ geom_cladelabel(node, label, offset = 0, offset.text = 0, align = FALSE,
29 29
 
30 30
 \item{hjust}{hjust}
31 31
 
32
+\item{color}{color for clade & label, of length 1 or 2}
33
+
32 34
 \item{fill}{fill label background, only work with geom='label'}
33 35
 
34 36
 \item{family}{sans by default, can be any supported font}
35 37
 
38
+\item{parse}{logical, whether parse label}
39
+
36 40
 \item{...}{additional parameter}
37 41
 }
38 42
 \value{
Browse code

add family parameter in geom_cladelabel

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

Guangchuang Yu authored on 11/03/2016 04:31:20
Showing 1 changed files
... ...
@@ -6,7 +6,7 @@
6 6
 \usage{
7 7
 geom_cladelabel(node, label, offset = 0, offset.text = 0, align = FALSE,
8 8
   barsize = 0.5, fontsize = 3.88, angle = 0, geom = "text", hjust = 0,
9
-  fill = NA, ...)
9
+  fill = NA, family = "sans", ...)
10 10
 }
11 11
 \arguments{
12 12
 \item{node}{selected node}
... ...
@@ -31,6 +31,8 @@ geom_cladelabel(node, label, offset = 0, offset.text = 0, align = FALSE,
31 31
 
32 32
 \item{fill}{fill label background, only work with geom='label'}
33 33
 
34
+\item{family}{sans by default, can be any supported font}
35
+
34 36
 \item{...}{additional parameter}
35 37
 }
36 38
 \value{
Browse code

update ggtree with new features according to ggplot2 v2

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

Guangchuang Yu authored on 29/12/2015 11:53:44
Showing 1 changed files
... ...
@@ -27,6 +27,8 @@ geom_cladelabel(node, label, offset = 0, offset.text = 0, align = FALSE,
27 27
 
28 28
 \item{geom}{one of 'text' or 'label'}
29 29
 
30
+\item{hjust}{hjust}
31
+
30 32
 \item{fill}{fill label background, only work with geom='label'}
31 33
 
32 34
 \item{...}{additional parameter}
Browse code

lots of new layers

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

Guangchuang Yu authored on 22/12/2015 04:13:13
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,43 @@
1
+% Generated by roxygen2: do not edit by hand
2
+% Please edit documentation in R/geom_cladelabel.R
3
+\name{geom_cladelabel}
4
+\alias{geom_cladelabel}
5
+\title{geom_cladelabel}
6
+\usage{
7
+geom_cladelabel(node, label, offset = 0, offset.text = 0, align = FALSE,
8
+  barsize = 0.5, fontsize = 3.88, angle = 0, geom = "text", hjust = 0,
9
+  fill = NA, ...)
10
+}
11
+\arguments{
12
+\item{node}{selected node}
13
+
14
+\item{label}{clade label}
15
+
16
+\item{offset}{offset of bar and text from the clade}
17
+
18
+\item{offset.text}{offset of text from bar}
19
+
20
+\item{align}{logical}
21
+
22
+\item{barsize}{size of bar}
23
+
24
+\item{fontsize}{size of text}
25
+
26
+\item{angle}{angle of text}
27
+
28
+\item{geom}{one of 'text' or 'label'}
29
+
30
+\item{fill}{fill label background, only work with geom='label'}
31
+
32
+\item{...}{additional parameter}
33
+}
34
+\value{
35
+ggplot layers
36
+}
37
+\description{
38
+annotate a clade with bar and text label
39
+}
40
+\author{
41
+Guangchuang Yu
42
+}
43
+