Browse code

update docs

Guangchuang Yu authored on 29/09/2018 06:32:08
Showing 2 changed files

... ...
@@ -18,7 +18,7 @@ ggplot object with annotation data added
18 18
 add annotation data to a tree
19 19
 }
20 20
 \examples{
21
-nwk <- system.file("extdata", "sample.nwk", package="ggtree")
21
+nwk <- system.file("extdata", "sample.nwk", package="treeio")
22 22
 tree <- read.tree(nwk)
23 23
 p <- ggtree(tree)
24 24
 dd <- data.frame(taxa=LETTERS[1:13],
... ...
@@ -19,7 +19,7 @@ update tree
19 19
 }
20 20
 \examples{
21 21
 library("ggplot2")
22
-nwk <- system.file("extdata", "sample.nwk", package="ggtree")
22
+nwk <- system.file("extdata", "sample.nwk", package="treeio")
23 23
 tree <- read.tree(nwk)
24 24
 p <- ggtree(tree) + geom_tippoint(color="#b5e521", alpha=1/4, size=10)
25 25
 p \%<\% rtree(30)