... | ... |
@@ -4,7 +4,14 @@ |
4 | 4 |
\alias{nodepie} |
5 | 5 |
\title{nodepie} |
6 | 6 |
\usage{ |
7 |
-nodepie(data, cols, color, alpha = 1) |
|
7 |
+nodepie( |
|
8 |
+ data, |
|
9 |
+ cols, |
|
10 |
+ color, |
|
11 |
+ alpha = 1, |
|
12 |
+ outline.color = "transparent", |
|
13 |
+ outline.size = 0 |
|
14 |
+) |
|
8 | 15 |
} |
9 | 16 |
\arguments{ |
10 | 17 |
\item{data}{a data.frame of stats with an additional column of node number named "node"} |
... | ... |
@@ -14,6 +21,10 @@ nodepie(data, cols, color, alpha = 1) |
14 | 21 |
\item{color}{set color of bars} |
15 | 22 |
|
16 | 23 |
\item{alpha}{set transparency of the charts} |
24 |
+ |
|
25 |
+\item{outline.color}{color of outline} |
|
26 |
+ |
|
27 |
+\item{outline.size}{size of outline} |
|
17 | 28 |
} |
18 | 29 |
\value{ |
19 | 30 |
list of ggplot objects |
... | ... |
@@ -7,13 +7,13 @@ |
7 | 7 |
nodepie(data, cols, color, alpha = 1) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{data}{a data.frame of stats with an additional column of node number} |
|
10 |
+\item{data}{a data.frame of stats with an additional column of node number named "node"} |
|
11 | 11 |
|
12 |
-\item{cols}{column of stats} |
|
12 |
+\item{cols}{columns of the data.frame that store the stats} |
|
13 | 13 |
|
14 |
-\item{color}{color of bar} |
|
14 |
+\item{color}{set color of bars} |
|
15 | 15 |
|
16 |
-\item{alpha}{alpha} |
|
16 |
+\item{alpha}{set transparency of the charts} |
|
17 | 17 |
} |
18 | 18 |
\value{ |
19 | 19 |
list of ggplot objects |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@112112 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,27 @@ |
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 |
+% Please edit documentation in R/inset.R |
|
3 |
+\name{nodepie} |
|
4 |
+\alias{nodepie} |
|
5 |
+\title{nodepie} |
|
6 |
+\usage{ |
|
7 |
+nodepie(data, cols, color, alpha = 1) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{data}{a data.frame of stats with an additional column of node number} |
|
11 |
+ |
|
12 |
+\item{cols}{column of stats} |
|
13 |
+ |
|
14 |
+\item{color}{color of bar} |
|
15 |
+ |
|
16 |
+\item{alpha}{alpha} |
|
17 |
+} |
|
18 |
+\value{ |
|
19 |
+list of ggplot objects |
|
20 |
+} |
|
21 |
+\description{ |
|
22 |
+generate a list of pie charts for results of ancestral stat reconstruction |
|
23 |
+} |
|
24 |
+\author{ |
|
25 |
+Guangchuang Yu |
|
26 |
+} |
|
27 |
+ |