Browse code

new sticker

guangchuang yu authored on 13/03/2017 11:26:48
Showing3 changed files

... ...
@@ -12,6 +12,10 @@ rd:
12 12
 readme:
13 13
 	Rscript -e 'rmarkdown::render("README.Rmd")'
14 14
 
15
+sticker:
16
+	Rscript -e 'source("ggtree_sticker.R")';
17
+	rm Rplots.pdf
18
+
15 19
 build:
16 20
 	cd ..;\
17 21
 	R CMD build $(PKGSRC)
18 22
Binary files a/docs/ggtree.png and b/docs/ggtree.png differ
... ...
@@ -39,5 +39,6 @@ p2 <- p2 + theme_transparent() + theme(strip.text = element_blank())+xlim_tree(3
39 39
 #################################
40 40
 library(hexSticker)
41 41
 sticker(p2, package="ggtree", p_x=1, p_y=1.5, p_size=9, s_x=.85, s_y = .68, s_width=.95, s_height=.65,
42
-        h_color="#2C3E50", h_fill="#2574A9", filename="docs/ggtree.png")
42
+        ## h_color="#2C3E50", h_fill="#2574A9",
43
+        filename="docs/ggtree.png")
43 44