Browse code

update citation

GuangchuangYu authored on 20/01/2017 05:21:52
Showing 18 changed files

... ...
@@ -6,3 +6,4 @@ appveyor.yml
6 6
 .travis.yml
7 7
 docs
8 8
 mkdocs
9
+.gitmodules
... ...
@@ -1,7 +1,7 @@
1 1
 Package: ggtree
2 2
 Type: Package
3 3
 Title: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data
4
-Version: 1.7.6
4
+Version: 1.7.7
5 5
 Authors@R: c(
6 6
 	   person("Guangchuang", "Yu", email = "guangchuangyu@gmail.com", role = c("aut", "cre", "cph")),
7 7
 	   person("Tommy Tsan-Yuk", "Lam", email = "tylam.tommy@gmail.com", rol = c("aut", "ths")),
... ...
@@ -1,3 +1,7 @@
1
+CHANGES IN VERSION 1.7.7
2
+------------------------
3
+ o update citation info <2017-01-20, Fri>
4
+ 
1 5
 CHANGES IN VERSION 1.7.6
2 6
 ------------------------
3 7
  o inset support reverse scale <2017-01-05, Thu>
... ...
@@ -7,7 +7,7 @@
7 7
     citation <- paste0("If you use ", pkgname, " in published research, please cite:\n",
8 8
                   "Guangchuang Yu, David Smith, Huachen Zhu, Yi Guan, Tommy Tsan-Yuk Lam. ",
9 9
                   "ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. ",
10
-                  "Methods in Ecology and Evolution 2016, doi:10.1111/2041-210X.12628")
10
+                  "Methods in Ecology and Evolution 2017, 8(1):28-36, doi:10.1111/2041-210X.12628")
11 11
 
12 12
     packageStartupMessage(paste0(msg, citation))
13 13
 }
... ...
@@ -45,7 +45,8 @@ The `ggtree` package extending the `ggplot2` package. It based on grammar of gra
45 45
 
46 46
 Please cite the following article when using `ggtree`:
47 47
 
48
-__G Yu__, DK Smith, H Zhu, Y Guan, TTY Lam^\*^. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. __*Methods in Ecology and Evolution*__. _accepted_
48
+__G Yu__, DK Smith, H Zhu, Y Guan, TTY Lam^\*^. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. __*Methods in Ecology and Evolution*__. 2017, 8(1):28-36.
49
+
49 50
 
50 51
 `r badge_doi("10.1111/2041-210X.12628", "green")`
51 52
 `r badge_citation("HtEfBTGE9r8C", "7268358477862164627", "green")`
... ...
@@ -2,9 +2,9 @@
2 2
 ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data
3 3
 ===========================================================================================================================
4 4
 
5
-[![releaseVersion](https://img.shields.io/badge/release%20version-1.6.7-green.svg?style=flat)](https://bioconductor.org/packages/ggtree) [![develVersion](https://img.shields.io/badge/devel%20version-1.7.6-green.svg?style=flat)](https://github.com/GuangchuangYu/ggtree) [![Bioc](http://www.bioconductor.org/shields/years-in-bioc/ggtree.svg)](https://www.bioconductor.org/packages/devel/bioc/html/ggtree.html#since) [![total](https://img.shields.io/badge/downloads-19191/total-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree) [![month](https://img.shields.io/badge/downloads-1177/month-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree) <img src="logo.png" align="right" />
5
+[![releaseVersion](https://img.shields.io/badge/release%20version-1.6.7-green.svg?style=flat)](https://bioconductor.org/packages/ggtree) [![develVersion](https://img.shields.io/badge/devel%20version-1.7.7-green.svg?style=flat)](https://github.com/GuangchuangYu/ggtree) [![Bioc](http://www.bioconductor.org/shields/years-in-bioc/ggtree.svg)](https://www.bioconductor.org/packages/devel/bioc/html/ggtree.html#since) [![total](https://img.shields.io/badge/downloads-20046/total-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree) [![month](https://img.shields.io/badge/downloads-1177/month-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree) <img src="logo.png" align="right" />
6 6
 
7
-[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) [![codecov](https://codecov.io/gh/GuangchuangYu/ggtree/branch/master/graph/badge.svg)](https://codecov.io/gh/GuangchuangYu/ggtree) [![Last-changedate](https://img.shields.io/badge/last%20change-2017--01--05-green.svg)](https://github.com/GuangchuangYu/ggtree/commits/master) [![GitHub forks](https://img.shields.io/github/forks/GuangchuangYu/ggtree.svg)](https://github.com/GuangchuangYu/ggtree/network) [![GitHub stars](https://img.shields.io/github/stars/GuangchuangYu/ggtree.svg)](https://github.com/GuangchuangYu/ggtree/stargazers) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://awesome-r.com/#awesome-r-graphic-displays)
7
+[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) [![codecov](https://codecov.io/gh/GuangchuangYu/ggtree/branch/master/graph/badge.svg)](https://codecov.io/gh/GuangchuangYu/ggtree) [![Last-changedate](https://img.shields.io/badge/last%20change-2017--01--20-green.svg)](https://github.com/GuangchuangYu/ggtree/commits/master) [![GitHub forks](https://img.shields.io/github/forks/GuangchuangYu/ggtree.svg)](https://github.com/GuangchuangYu/ggtree/network) [![GitHub stars](https://img.shields.io/github/stars/GuangchuangYu/ggtree.svg)](https://github.com/GuangchuangYu/ggtree/stargazers) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://awesome-r.com/#awesome-r-graphic-displays)
8 8
 
9 9
 [![platform](http://www.bioconductor.org/shields/availability/devel/ggtree.svg)](https://www.bioconductor.org/packages/devel/bioc/html/ggtree.html#archives) [![Build Status](http://www.bioconductor.org/shields/build/devel/bioc/ggtree.svg)](https://bioconductor.org/checkResults/devel/bioc-LATEST/ggtree/) [![Linux/Mac Travis Build Status](https://img.shields.io/travis/GuangchuangYu/ggtree/master.svg?label=Mac%20OSX%20%26%20Linux)](https://travis-ci.org/GuangchuangYu/ggtree) [![AppVeyor Build Status](https://img.shields.io/appveyor/ci/Guangchuangyu/ggtree/master.svg?label=Windows)](https://ci.appveyor.com/project/GuangchuangYu/ggtree) [![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-green.svg?style=flat)](http://bioconda.github.io/recipes/bioconductor-ggtree/README.html)
10 10
 
... ...
@@ -16,9 +16,9 @@ The `ggtree` package extending the `ggplot2` package. It based on grammar of gra
16 16
 
17 17
 Please cite the following article when using `ggtree`:
18 18
 
19
-**G Yu**, DK Smith, H Zhu, Y Guan, TTY Lam<sup>\*</sup>. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. ***Methods in Ecology and Evolution***. *accepted*
19
+**G Yu**, DK Smith, H Zhu, Y Guan, TTY Lam<sup>\*</sup>. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. ***Methods in Ecology and Evolution***. 2017, 8(1):28-36.
20 20
 
21
-[![doi](https://img.shields.io/badge/doi-10.1111/2041--210X.12628-green.svg?style=flat)](http://dx.doi.org/10.1111/2041-210X.12628) [![citation](https://img.shields.io/badge/cited%20by-1-green.svg?style=flat)](https://scholar.google.com.hk/scholar?oi=bibs&hl=en&cites=7268358477862164627) [![Altmetric](https://img.shields.io/badge/Altmetric-287-green.svg?style=flat)](https://www.altmetric.com/details/10533079)
21
+[![doi](https://img.shields.io/badge/doi-10.1111/2041--210X.12628-green.svg?style=flat)](http://dx.doi.org/10.1111/2041-210X.12628) [![citation](https://img.shields.io/badge/cited%20by-1-green.svg?style=flat)](https://scholar.google.com.hk/scholar?oi=bibs&hl=en&cites=7268358477862164627) [![Altmetric](https://img.shields.io/badge/Altmetric-299-green.svg?style=flat)](https://www.altmetric.com/details/10533079)
22 22
 
23 23
 ------------------------------------------------------------------------
24 24
 
... ...
@@ -51,7 +51,7 @@ For details, please visit our project website, <https://guangchuangyu.github.io/
51 51
 
52 52
 ### Download stats
53 53
 
54
-[![download](http://www.bioconductor.org/shields/downloads/ggtree.svg)](https://bioconductor.org/packages/stats/bioc/ggtree) [![total](https://img.shields.io/badge/downloads-19191/total-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree) [![month](https://img.shields.io/badge/downloads-1177/month-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree)
54
+[![download](http://www.bioconductor.org/shields/downloads/ggtree.svg)](https://bioconductor.org/packages/stats/bioc/ggtree) [![total](https://img.shields.io/badge/downloads-20046/total-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree) [![month](https://img.shields.io/badge/downloads-1177/month-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree)
55 55
 
56 56
          ++---------------------+---------------------+---------------------+---------------------+----+
57 57
          |                                                                                    *        |
... ...
@@ -2,11 +2,42 @@ body {
2 2
     padding-top: 70px;
3 3
 }
4 4
 
5
-h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before, h6[id]:before {
5
+/*
6
+ * The code below adds some padding to the top of the current anchor target so
7
+ * that, when navigating to it, the header isn't hidden by the navbar at the
8
+ * top. This is especially complicated because we want to *remove* the padding
9
+ * after navigation so that hovering over the header shows the permalink icon
10
+ * correctly. Thus, we create a CSS animation to remove the extra padding after
11
+ * a second. We have two animations so that navigating to an anchor within the
12
+ * page always restarts the animation.
13
+ *
14
+ * See <https://github.com/mkdocs/mkdocs/issues/843> for more details.
15
+ */
16
+:target::before {
6 17
     content: "";
7 18
     display: block;
8 19
     margin-top: -75px;
9 20
     height: 75px;
21
+    pointer-events: none;
22
+    animation: 0s 1s forwards collapse-anchor-padding-1;
23
+}
24
+
25
+body.clicky :target::before {
26
+    animation-name: collapse-anchor-padding-2;
27
+}
28
+
29
+@keyframes collapse-anchor-padding-1 {
30
+    to {
31
+        margin-top: 0;
32
+        height: 0;
33
+    }
34
+}
35
+
36
+@keyframes collapse-anchor-padding-2 {
37
+    to {
38
+        margin-top: 0;
39
+        height: 0;
40
+    }
10 41
 }
11 42
 
12 43
 ul.nav li.main {
... ...
@@ -26,7 +57,27 @@ div.source-links {
26 57
 }
27 58
 
28 59
 div.col-md-9 img {
29
-  max-width: 100%;
60
+    max-width: 100%;
61
+}
62
+
63
+code {
64
+    padding: 1px 3px;
65
+    background: #f5f5f5;
66
+    border: solid 1px #ccc;
67
+    color: #333;
68
+}
69
+
70
+pre code {
71
+    background: transparent;
72
+    border: none;
73
+}
74
+
75
+a > code {
76
+    color: #008cba;
77
+}
78
+
79
+a > code:hover, a > code:focus {
80
+    color: #00526e;
30 81
 }
31 82
 
32 83
 /*
... ...
@@ -116,6 +167,15 @@ div.col-md-9 img {
116 167
     }
117 168
 }
118 169
 
170
+.headerlink {
171
+    display: none;
172
+    padding-left: .5em;
173
+}
174
+
175
+h1:hover .headerlink, h2:hover .headerlink, h3:hover .headerlink, h4:hover .headerlink, h5:hover .headerlink, h6:hover .headerlink{
176
+    display:inline-block;
177
+}
178
+
119 179
 /* display submenu relative to parent*/
120 180
 .dropdown-submenu {
121 181
     position: relative;
... ...
@@ -229,11 +229,11 @@
229 229
   }  
230 230
   </style>
231 231
 
232
-<div id = 'chart6b52366c186' class = 'rChart morris'></div>
232
+<div id = 'chart7044272d6fbc' class = 'rChart morris'></div>
233 233
 
234 234
 <script type='text/javascript'>
235 235
     var chartParams = {
236
- "element": "chart6b52366c186",
236
+ "element": "chart7044272d6fbc",
237 237
 "width":            800,
238 238
 "height":            400,
239 239
 "xkey": "year",
... ...
@@ -247,7 +247,7 @@
247 247
 "pubid": "HtEfBTGE9r8C" 
248 248
 } 
249 249
 ],
250
-"id": "chart6b52366c186",
250
+"id": "chart7044272d6fbc",
251 251
 "labels": "cites" 
252 252
 },
253 253
       chartType = "Bar"
... ...
@@ -242,8 +242,8 @@
242 242
 <p><img src="https://raw.githubusercontent.com/GuangchuangYu/ggtree/master/logo.png" align="right" /></p>
243 243
 <p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"></p>
244 244
 <p><a href="https://bioconductor.org/packages/ggtree"><img alt="releaseVersion" src="https://img.shields.io/badge/release%20version-1.6.7-blue.svg?style=flat" /></a>
245
-<a href="https://github.com/GuangchuangYu/ggtree"><img alt="develVersion" src="https://img.shields.io/badge/devel%20version-1.7.6-blue.svg?style=flat" /></a>
246
-<a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img alt="total" src="https://img.shields.io/badge/downloads-19191/total-blue.svg?style=flat" /></a>
245
+<a href="https://github.com/GuangchuangYu/ggtree"><img alt="develVersion" src="https://img.shields.io/badge/devel%20version-1.7.7-blue.svg?style=flat" /></a>
246
+<a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img alt="total" src="https://img.shields.io/badge/downloads-20046/total-blue.svg?style=flat" /></a>
247 247
 <a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img alt="month" src="https://img.shields.io/badge/downloads-1177/month-blue.svg?style=flat" /></a></p>
248 248
 <p>The <code>ggtree</code> package extending the <em>ggplot2</em> package. It based on grammar of graphics and takes all the good parts of <em>ggplot2</em>.  <em>ggtree</em> is designed for not only viewing phylogenetic tree but also displaying annotation data on the tree.
249 249
 <em>ggtree</em> is released within the <a href="https://bioconductor.org/packages/ggtree/">Bioconductor</a> project and the source code is hosted on <a href="https://github.com/GuangchuangYu/ggtree"><i class="fa fa-github fa-lg"></i> GitHub</a>.</p>
... ...
@@ -253,8 +253,8 @@
253 253
 <p>Please cite the following article when using <code>ggtree</code>:</p>
254 254
 <p><a href="http://dx.doi.org/10.1111/2041-210X.12628"><img alt="doi" src="https://img.shields.io/badge/doi-10.1111/2041--210X.12628-blue.svg?style=flat" /></a>
255 255
 <a href="https://scholar.google.com.hk/scholar?oi=bibs&amp;hl=en&amp;cites=7268358477862164627"><img alt="citation" src="https://img.shields.io/badge/cited%20by-1-blue.svg?style=flat" /></a>
256
-<a href="https://www.altmetric.com/details/10533079"><img alt="Altmetric" src="https://img.shields.io/badge/Altmetric-287-blue.svg?style=flat" /></a></p>
257
-<p><strong>G Yu</strong>, DK Smith, H Zhu, Y Guan, TTY Lam<sup>*</sup>. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. <strong><em>Methods in Ecology and Evolution</em></strong>. <em>accepted</em>.</p>
256
+<a href="https://www.altmetric.com/details/10533079"><img alt="Altmetric" src="https://img.shields.io/badge/Altmetric-299-blue.svg?style=flat" /></a></p>
257
+<p><strong>G Yu</strong>, DK Smith, H Zhu, Y Guan, TTY Lam<sup>*</sup>. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. <strong><em>Methods in Ecology and Evolution</em></strong>. 2017, 8(1):28-36.</p>
258 258
 <h2 id="featured-articles"><i class="fa fa-pencil"></i> Featured Articles</h2>
259 259
 <p><img alt="" src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /></p>
260 260
 <p><i class="fa fa-hand-o-right"></i> Find out more on <i class="fa fa-pencil"></i> <a href="https://guangchuangyu.github.io/ggtree/featuredArticles/">Featured Articles</a>.</p>
... ...
@@ -38,6 +38,11 @@ $('body').scrollspy({
38 38
     target: '.bs-sidebar',
39 39
 });
40 40
 
41
+/* Toggle the `clicky` class on the body when clicking links to let us
42
+   retrigger CSS animations. See ../css/base.css for more details. */
43
+$('a').click(function(e) {
44
+    $('body').toggleClass('clicky');
45
+});
41 46
 
42 47
 /* Prevent disabled links from causing a page reload */
43 48
 $("li.disabled a").click(function() {
... ...
@@ -1,268 +1,268 @@
1 1
 {
2 2
     "docs": [
3 3
         {
4
-            "location": "/", 
5
-            "text": "The \nggtree\n package extending the \nggplot2\n package. It based on grammar of graphics and takes all the good parts of \nggplot2\n.  \nggtree\n is designed for not only viewing phylogenetic tree but also displaying annotation data on the tree.\n\nggtree\n is released within the \nBioconductor\n project and the source code is hosted on \n GitHub\n.\n\n\n Authors\n\n\nGuangchuang Yu and Tommy Tsan-Yuk Lam, School of Public Health, The University of Hong Kong.\n\n\n Citation\n\n\nPlease cite the following article when using \nggtree\n:\n\n\n\n\n\n\n\n\nG Yu\n, DK Smith, H Zhu, Y Guan, TTY Lam\n*\n. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. \nMethods in Ecology and Evolution\n. \naccepted\n.\n\n\n Featured Articles\n\n\n\n\n Find out more on \n \nFeatured Articles\n.\n\n\n Installation\n\n\nInstall \nggtree\n is easy, follow the guide on the \nBioconductor page\n:\n\n\n## try http:// if https:// URLs are not supported\nsource(\nhttps://bioconductor.org/biocLite.R\n)\n## biocLite(\nBiocUpgrade\n) ## you may need this\nbiocLite(\nggtree\n)\n\n\n\n\nIf you have problems when installing some of the dependent packages, please refer to the \nggtree-installation\n wiki page.\n\n\n Overview\n\n\n Getting tree into R\n\n\n\n\ntree parsers: bring evolution evidences to be used/analyzed in \nR\n\n\nmerge_tree\n: allows evolution evidences to be merged and compared\n\n\nfortify\n methods: convert tree objects into tidy data frame\n\n\n\n\n Tree visualization \n annotation\n\n\n\n\nparsing tree as a collection of nodes allows grammar of graphics to be supported\n\n\ngeom_tree\n: extends \nggplot2\n to support tree structure\n\n\nseveral layers and functions for tree annotation\n\n\nsupports annotating phylogenetic trees with user's own data\n\n\n\n\n Tree manipulation\n\n\n\n\nhelper functions for tree manipulation, make it possible to explore the tree visually\n\n\n\n\n Find out details and examples on \n \nDocumentation\n.\n\n\n Projects that depend on \nggtree\n\n\n Bioconductor packages\n\n\n\n\nLINC\n: co-expression of lincRNAs and protein-coding genes\n\n\nphilr\n: Phylogenetic partitioning based ILR transform for metagenomics data\n\n\n\n\n Other applications\n\n\n\n\nBreadCrumbs\n: Collection of scripts for metagenomics analysis\n\n\nDegeneratePrimerTools\n: Utilities for Creating and Validating Degenerate primers\n\n\nphyloscan\n: scan phylogenies created along a genome for patterns\n\n\n\n\n Feedback\n\n\n\n    \n Please make sure you \nfollow the guide\n before posting any issue/question\n\n    \n For bugs or feature requests, please post to \n \ngithub issue\n\n    \n  For user questions, please post to \n \ngoogle group\n\n    \n We are also following every post tagged with \nggtree\n on \nBioconductor support site\n and \nBiostars\n\n    \n Join the group chat on \n and", 
4
+            "location": "/",
5
+            "text": "The \nggtree\n package extending the \nggplot2\n package. It based on grammar of graphics and takes all the good parts of \nggplot2\n.  \nggtree\n is designed for not only viewing phylogenetic tree but also displaying annotation data on the tree.\n\nggtree\n is released within the \nBioconductor\n project and the source code is hosted on \n GitHub\n.\n\n\n Authors\n\n\nGuangchuang Yu and Tommy Tsan-Yuk Lam, School of Public Health, The University of Hong Kong.\n\n\n Citation\n\n\nPlease cite the following article when using \nggtree\n:\n\n\n\n\n\n\n\n\nG Yu\n, DK Smith, H Zhu, Y Guan, TTY Lam\n*\n. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. \nMethods in Ecology and Evolution\n. 2017, 8(1):28-36.\n\n\n Featured Articles\n\n\n\n\n Find out more on \n \nFeatured Articles\n.\n\n\n Installation\n\n\nInstall \nggtree\n is easy, follow the guide on the \nBioconductor page\n:\n\n\n## try http:// if https:// URLs are not supported\nsource(\"https://bioconductor.org/biocLite.R\")\n## biocLite(\"BiocUpgrade\") ## you may need this\nbiocLite(\"ggtree\")\n\n\n\n\nIf you have problems when installing some of the dependent packages, please refer to the \nggtree-installation\n wiki page.\n\n\n Overview\n\n\n Getting tree into R\n\n\n\n\ntree parsers: bring evolution evidences to be used/analyzed in \nR\n\n\nmerge_tree\n: allows evolution evidences to be merged and compared\n\n\nfortify\n methods: convert tree objects into tidy data frame\n\n\n\n\n Tree visualization & annotation\n\n\n\n\nparsing tree as a collection of nodes allows grammar of graphics to be supported\n\n\ngeom_tree\n: extends \nggplot2\n to support tree structure\n\n\nseveral layers and functions for tree annotation\n\n\nsupports annotating phylogenetic trees with user's own data\n\n\n\n\n Tree manipulation\n\n\n\n\nhelper functions for tree manipulation, make it possible to explore the tree visually\n\n\n\n\n Find out details and examples on \n \nDocumentation\n.\n\n\n Projects that depend on \nggtree\n\n\n Bioconductor packages\n\n\n\n\nLINC\n: co-expression of lincRNAs and protein-coding genes\n\n\nphilr\n: Phylogenetic partitioning based ILR transform for metagenomics data\n\n\n\n\n Other applications\n\n\n\n\nBreadCrumbs\n: Collection of scripts for metagenomics analysis\n\n\nDegeneratePrimerTools\n: Utilities for Creating and Validating Degenerate primers\n\n\nphyloscan\n: scan phylogenies created along a genome for patterns\n\n\n\n\n Feedback\n\n\n\n    \n Please make sure you \nfollow the guide\n before posting any issue/question\n\n    \n For bugs or feature requests, please post to \n \ngithub issue\n\n    \n  For user questions, please post to \n \ngoogle group\n\n    \n We are also following every post tagged with \nggtree\n on \nBioconductor support site\n and \nBiostars\n\n    \n Join the group chat on \n and",
6 6
             "title": "Home"
7
-        }, 
7
+        },
8 8
         {
9
-            "location": "/#authors", 
10
-            "text": "Guangchuang Yu and Tommy Tsan-Yuk Lam, School of Public Health, The University of Hong Kong.", 
9
+            "location": "/#authors",
10
+            "text": "Guangchuang Yu and Tommy Tsan-Yuk Lam, School of Public Health, The University of Hong Kong.",
11 11
             "title": " Authors"
12
-        }, 
12
+        },
13 13
         {
14
-            "location": "/#citation", 
15
-            "text": "Please cite the following article when using  ggtree :     G Yu , DK Smith, H Zhu, Y Guan, TTY Lam * . ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data.  Methods in Ecology and Evolution .  accepted .", 
14
+            "location": "/#citation",
15
+            "text": "Please cite the following article when using  ggtree :     G Yu , DK Smith, H Zhu, Y Guan, TTY Lam * . ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data.  Methods in Ecology and Evolution . 2017, 8(1):28-36.",
16 16
             "title": " Citation"
17
-        }, 
17
+        },
18 18
         {
19
-            "location": "/#featured-articles", 
20
-            "text": "Find out more on    Featured Articles .", 
19
+            "location": "/#featured-articles",
20
+            "text": "Find out more on    Featured Articles .",
21 21
             "title": " Featured Articles"
22
-        }, 
22
+        },
23 23
         {
24
-            "location": "/#installation", 
25
-            "text": "Install  ggtree  is easy, follow the guide on the  Bioconductor page :  ## try http:// if https:// URLs are not supported\nsource( https://bioconductor.org/biocLite.R )\n## biocLite( BiocUpgrade ) ## you may need this\nbiocLite( ggtree )  If you have problems when installing some of the dependent packages, please refer to the  ggtree-installation  wiki page.", 
24
+            "location": "/#installation",
25
+            "text": "Install  ggtree  is easy, follow the guide on the  Bioconductor page :  ## try http:// if https:// URLs are not supported\nsource(\"https://bioconductor.org/biocLite.R\")\n## biocLite(\"BiocUpgrade\") ## you may need this\nbiocLite(\"ggtree\")  If you have problems when installing some of the dependent packages, please refer to the  ggtree-installation  wiki page.",
26 26
             "title": " Installation"
27
-        }, 
27
+        },
28 28
         {
29
-            "location": "/#overview", 
30
-            "text": "", 
29
+            "location": "/#overview",
30
+            "text": "",
31 31
             "title": " Overview"
32
-        }, 
32
+        },
33 33
         {
34
-            "location": "/#getting-tree-into-r", 
35
-            "text": "tree parsers: bring evolution evidences to be used/analyzed in  R  merge_tree : allows evolution evidences to be merged and compared  fortify  methods: convert tree objects into tidy data frame", 
34
+            "location": "/#getting-tree-into-r",
35
+            "text": "tree parsers: bring evolution evidences to be used/analyzed in  R  merge_tree : allows evolution evidences to be merged and compared  fortify  methods: convert tree objects into tidy data frame",
36 36
             "title": " Getting tree into R"
37
-        }, 
37
+        },
38 38
         {
39
-            "location": "/#tree-visualization-annotation", 
40
-            "text": "parsing tree as a collection of nodes allows grammar of graphics to be supported  geom_tree : extends  ggplot2  to support tree structure  several layers and functions for tree annotation  supports annotating phylogenetic trees with user's own data", 
39
+            "location": "/#tree-visualization-annotation",
40
+            "text": "parsing tree as a collection of nodes allows grammar of graphics to be supported  geom_tree : extends  ggplot2  to support tree structure  several layers and functions for tree annotation  supports annotating phylogenetic trees with user's own data",
41 41
             "title": " Tree visualization &amp; annotation"
42
-        }, 
42
+        },
43 43
         {
44
-            "location": "/#tree-manipulation", 
45
-            "text": "helper functions for tree manipulation, make it possible to explore the tree visually    Find out details and examples on    Documentation .", 
44
+            "location": "/#tree-manipulation",
45
+            "text": "helper functions for tree manipulation, make it possible to explore the tree visually    Find out details and examples on    Documentation .",
46 46
             "title": " Tree manipulation"
47
-        }, 
47
+        },
48 48
         {
49
-            "location": "/#projects-that-depend-on-ggtree", 
50
-            "text": "", 
49
+            "location": "/#projects-that-depend-on-ggtree",
50
+            "text": "",
51 51
             "title": " Projects that depend on ggtree"
52
-        }, 
52
+        },
53 53
         {
54
-            "location": "/#bioconductor-packages", 
55
-            "text": "LINC : co-expression of lincRNAs and protein-coding genes  philr : Phylogenetic partitioning based ILR transform for metagenomics data", 
54
+            "location": "/#bioconductor-packages",
55
+            "text": "LINC : co-expression of lincRNAs and protein-coding genes  philr : Phylogenetic partitioning based ILR transform for metagenomics data",
56 56
             "title": " Bioconductor packages"
57
-        }, 
57
+        },
58 58
         {
59
-            "location": "/#other-applications", 
60
-            "text": "BreadCrumbs : Collection of scripts for metagenomics analysis  DegeneratePrimerTools : Utilities for Creating and Validating Degenerate primers  phyloscan : scan phylogenies created along a genome for patterns", 
59
+            "location": "/#other-applications",
60
+            "text": "BreadCrumbs : Collection of scripts for metagenomics analysis  DegeneratePrimerTools : Utilities for Creating and Validating Degenerate primers  phyloscan : scan phylogenies created along a genome for patterns",
61 61
             "title": " Other applications"
62
-        }, 
62
+        },
63 63
         {
64
-            "location": "/#feedback", 
65
-            "text": "Please make sure you  follow the guide  before posting any issue/question \n      For bugs or feature requests, please post to    github issue \n       For user questions, please post to    google group \n      We are also following every post tagged with  ggtree  on  Bioconductor support site  and  Biostars \n      Join the group chat on   and", 
64
+            "location": "/#feedback",
65
+            "text": "Please make sure you  follow the guide  before posting any issue/question \n      For bugs or feature requests, please post to    github issue \n       For user questions, please post to    google group \n      We are also following every post tagged with  ggtree  on  Bioconductor support site  and  Biostars \n      Join the group chat on   and",
66 66
             "title": " Feedback"
67
-        }, 
67
+        },
68 68
         {
69
-            "location": "/documentation/", 
70
-            "text": "Vignettes\n\n\n\n\nggtree\n\n\nTree Data Import\n\n\nTree Visualization\n\n\nTree Annotation\n\n\nTree Manipulation\n\n\nAdvance Tree Annotation\n\n\nggtree utilities\n\n\n\n\n Blog posts\n\n\n News and updates\n\n\n\n\nviewing and annotating phylogenetic tree with ggtree\n\n\nggtree in Bioconductor 3.1\n\n\nBioC 3.1: NEWS of my BioC packages\n\n\nBioC 3.2: NEWS of my BioC packages\n\n\nNews of ggtree\n\n\nBioC 3.3: NEWS of my BioC packages\n\n\nBioC 3.4: NEWS of my BioC packages\n\n\nggtree paper published\n\n\n\n\n Data manipulation\n\n\n\n\nsubsetting data in ggtree\n\n\nggtree supports phylip tree format\n\n\nconvert graphic object to tree object using treeio\n\n\n\n\n Tree visualization\n\n\n\n\nggtree - updating a tree view\n\n\nan example of drawing beast tree using ggtree\n\n\n\n\n Tree annotation\n\n\n\n\nlabel edge number in ggtree\n\n\nEdge coloring with user data\n\n\nsubview\n\n\nAnnotate a phylogenetic tree with insets\n\n\nggtree annotate phylogenetic tree with local images\n\n\nembed images in ggplot2 via subview and annotate a phylogenetic tree with images using inset function\n\n\nidentify method for ggtree\n\n\nfacet_plot: a general solution to associate data with phylogenetic tree\n\n\nalign genomic features with phylogenetic tree\n\n\nxlim_tree: set x axis limits for only Tree panel\n\n\nadd layer to specific panel of facet_plot output\n\n\n\n\n Tree manipulation\n\n\n\n\nflip and rotate branches in ggtree\n\n\n\n\n Application\n\n\n\n\nggtree for microbiome data\n\n\nggtree for outbreak data\n\n\nggtree version of plotTree\n\n\nreproducible logo generated by ggtree\n\n\n\n\n Funny stuff\n\n\n\n\nggtree with funny fonts\n\n\ncomic phylogenetic tree with ggtree and comicR\n\n\nuse emoji font in R\n\n\n\n\n User's feedback\n\n\n\n\ntweets of ggtree\n\n\nJoin the group chat on \n and \n\n\n\n\n Find out more on \nhttps://guangchuangyu.github.io/tags/ggtree/\n.\n\n\n Slides\n\n\n\n\nGenerating publication quality figures using R \n ggplot2\n\n\nggtree for visualization and annotation of phylogenetic trees\n\n\n\n\n Video\n\n\n\n\ninteractive clade highlighting\n\n\ninteractive rotating clades\n\n\ninteractive clade labeling\n\n\n\n\n Workflow\n\n\n\n\nrecreate a tree from a publication (\nBloom\n \net al\n, \nScience\n 2010)", 
69
+            "location": "/documentation/",
70
+            "text": "Vignettes\n\n\n\n\nggtree\n\n\nTree Data Import\n\n\nTree Visualization\n\n\nTree Annotation\n\n\nTree Manipulation\n\n\nAdvance Tree Annotation\n\n\nggtree utilities\n\n\n\n\n Blog posts\n\n\n News and updates\n\n\n\n\nviewing and annotating phylogenetic tree with ggtree\n\n\nggtree in Bioconductor 3.1\n\n\nBioC 3.1: NEWS of my BioC packages\n\n\nBioC 3.2: NEWS of my BioC packages\n\n\nNews of ggtree\n\n\nBioC 3.3: NEWS of my BioC packages\n\n\nBioC 3.4: NEWS of my BioC packages\n\n\nggtree paper published\n\n\n\n\n Data manipulation\n\n\n\n\nsubsetting data in ggtree\n\n\nggtree supports phylip tree format\n\n\nconvert graphic object to tree object using treeio\n\n\n\n\n Tree visualization\n\n\n\n\nggtree - updating a tree view\n\n\nan example of drawing beast tree using ggtree\n\n\n\n\n Tree annotation\n\n\n\n\nlabel edge number in ggtree\n\n\nEdge coloring with user data\n\n\nsubview\n\n\nAnnotate a phylogenetic tree with insets\n\n\nggtree annotate phylogenetic tree with local images\n\n\nembed images in ggplot2 via subview and annotate a phylogenetic tree with images using inset function\n\n\nidentify method for ggtree\n\n\nfacet_plot: a general solution to associate data with phylogenetic tree\n\n\nalign genomic features with phylogenetic tree\n\n\nxlim_tree: set x axis limits for only Tree panel\n\n\nadd layer to specific panel of facet_plot output\n\n\n\n\n Tree manipulation\n\n\n\n\nflip and rotate branches in ggtree\n\n\n\n\n Application\n\n\n\n\nggtree for microbiome data\n\n\nggtree for outbreak data\n\n\nggtree version of plotTree\n\n\nreproducible logo generated by ggtree\n\n\n\n\n Funny stuff\n\n\n\n\nggtree with funny fonts\n\n\ncomic phylogenetic tree with ggtree and comicR\n\n\nuse emoji font in R\n\n\n\n\n User's feedback\n\n\n\n\ntweets of ggtree\n\n\nJoin the group chat on \n and \n\n\n\n\n Find out more on \nhttps://guangchuangyu.github.io/tags/ggtree/\n.\n\n\n Slides\n\n\n\n\nGenerating publication quality figures using R & ggplot2\n\n\nggtree for visualization and annotation of phylogenetic trees\n\n\n\n\n Video\n\n\n\n\ninteractive clade highlighting\n\n\ninteractive rotating clades\n\n\ninteractive clade labeling\n\n\n\n\n Workflow\n\n\n\n\nrecreate a tree from a publication (\nBloom\n \net al\n, \nScience\n 2010)",
71 71
             "title": "Documentation"
72
-        }, 
72
+        },
73 73
         {
74
-            "location": "/documentation/#vignettes", 
75
-            "text": "ggtree  Tree Data Import  Tree Visualization  Tree Annotation  Tree Manipulation  Advance Tree Annotation  ggtree utilities", 
74
+            "location": "/documentation/#vignettes",
75
+            "text": "ggtree  Tree Data Import  Tree Visualization  Tree Annotation  Tree Manipulation  Advance Tree Annotation  ggtree utilities",
76 76
             "title": " Vignettes"
77
-        }, 
77
+        },
78 78
         {
79
-            "location": "/documentation/#blog-posts", 
80
-            "text": "", 
79
+            "location": "/documentation/#blog-posts",
80
+            "text": "",
81 81
             "title": " Blog posts"
82
-        }, 
82
+        },
83 83
         {
84
-            "location": "/documentation/#news-and-updates", 
85
-            "text": "viewing and annotating phylogenetic tree with ggtree  ggtree in Bioconductor 3.1  BioC 3.1: NEWS of my BioC packages  BioC 3.2: NEWS of my BioC packages  News of ggtree  BioC 3.3: NEWS of my BioC packages  BioC 3.4: NEWS of my BioC packages  ggtree paper published", 
84
+            "location": "/documentation/#news-and-updates",
85
+            "text": "viewing and annotating phylogenetic tree with ggtree  ggtree in Bioconductor 3.1  BioC 3.1: NEWS of my BioC packages  BioC 3.2: NEWS of my BioC packages  News of ggtree  BioC 3.3: NEWS of my BioC packages  BioC 3.4: NEWS of my BioC packages  ggtree paper published",
86 86
             "title": " News and updates"
87
-        }, 
87
+        },
88 88
         {
89
-            "location": "/documentation/#data-manipulation", 
90
-            "text": "subsetting data in ggtree  ggtree supports phylip tree format  convert graphic object to tree object using treeio", 
89
+            "location": "/documentation/#data-manipulation",
90
+            "text": "subsetting data in ggtree  ggtree supports phylip tree format  convert graphic object to tree object using treeio",
91 91
             "title": " Data manipulation"
92
-        }, 
92
+        },
93 93
         {
94
-            "location": "/documentation/#tree-visualization", 
95
-            "text": "ggtree - updating a tree view  an example of drawing beast tree using ggtree", 
94
+            "location": "/documentation/#tree-visualization",
95
+            "text": "ggtree - updating a tree view  an example of drawing beast tree using ggtree",
96 96
             "title": " Tree visualization"
97
-        }, 
97
+        },
98 98
         {
99
-            "location": "/documentation/#tree-annotation", 
100
-            "text": "label edge number in ggtree  Edge coloring with user data  subview  Annotate a phylogenetic tree with insets  ggtree annotate phylogenetic tree with local images  embed images in ggplot2 via subview and annotate a phylogenetic tree with images using inset function  identify method for ggtree  facet_plot: a general solution to associate data with phylogenetic tree  align genomic features with phylogenetic tree  xlim_tree: set x axis limits for only Tree panel  add layer to specific panel of facet_plot output", 
99
+            "location": "/documentation/#tree-annotation",
100
+            "text": "label edge number in ggtree  Edge coloring with user data  subview  Annotate a phylogenetic tree with insets  ggtree annotate phylogenetic tree with local images  embed images in ggplot2 via subview and annotate a phylogenetic tree with images using inset function  identify method for ggtree  facet_plot: a general solution to associate data with phylogenetic tree  align genomic features with phylogenetic tree  xlim_tree: set x axis limits for only Tree panel  add layer to specific panel of facet_plot output",
101 101
             "title": " Tree annotation"
102
-        }, 
102
+        },
103 103
         {
104
-            "location": "/documentation/#tree-manipulation", 
105
-            "text": "flip and rotate branches in ggtree", 
104
+            "location": "/documentation/#tree-manipulation",
105
+            "text": "flip and rotate branches in ggtree",
106 106
             "title": " Tree manipulation"
107
-        }, 
107
+        },
108 108
         {
109
-            "location": "/documentation/#application", 
110
-            "text": "ggtree for microbiome data  ggtree for outbreak data  ggtree version of plotTree  reproducible logo generated by ggtree", 
109
+            "location": "/documentation/#application",
110
+            "text": "ggtree for microbiome data  ggtree for outbreak data  ggtree version of plotTree  reproducible logo generated by ggtree",
111 111
             "title": " Application"
112
-        }, 
112
+        },
113 113
         {
114
-            "location": "/documentation/#funny-stuff", 
115
-            "text": "ggtree with funny fonts  comic phylogenetic tree with ggtree and comicR  use emoji font in R", 
114
+            "location": "/documentation/#funny-stuff",
115
+            "text": "ggtree with funny fonts  comic phylogenetic tree with ggtree and comicR  use emoji font in R",
116 116
             "title": " Funny stuff"
117
-        }, 
117
+        },
118 118
         {
119
-            "location": "/documentation/#users-feedback", 
120
-            "text": "tweets of ggtree  Join the group chat on   and     Find out more on  https://guangchuangyu.github.io/tags/ggtree/ .", 
119
+            "location": "/documentation/#users-feedback",
120
+            "text": "tweets of ggtree  Join the group chat on   and     Find out more on  https://guangchuangyu.github.io/tags/ggtree/ .",
121 121
             "title": " User's feedback"
122
-        }, 
122
+        },
123 123
         {
124
-            "location": "/documentation/#slides", 
125
-            "text": "Generating publication quality figures using R   ggplot2  ggtree for visualization and annotation of phylogenetic trees", 
124
+            "location": "/documentation/#slides",
125
+            "text": "Generating publication quality figures using R & ggplot2  ggtree for visualization and annotation of phylogenetic trees",
126 126
             "title": " Slides"
127
-        }, 
127
+        },
128 128
         {
129
-            "location": "/documentation/#video", 
130
-            "text": "interactive clade highlighting  interactive rotating clades  interactive clade labeling", 
129
+            "location": "/documentation/#video",
130
+            "text": "interactive clade highlighting  interactive rotating clades  interactive clade labeling",
131 131
             "title": " Video"
132
-        }, 
132
+        },
133 133
         {
134
-            "location": "/documentation/#workflow", 
135
-            "text": "recreate a tree from a publication ( Bloom   et al ,  Science  2010)", 
134
+            "location": "/documentation/#workflow",
135
+            "text": "recreate a tree from a publication ( Bloom   et al ,  Science  2010)",
136 136
             "title": " Workflow"
137
-        }, 
137
+        },
138 138
         {
139
-            "location": "/faq/", 
140
-            "text": "Installation\n\n\n Could not find function\n\n\nIf you got \nthis error\n, please make sure you are using the latest R and \nggtree\n.\n\n\nPackages in Bioconductor, like \nggtree\n, have different release policy compare to CRAN. There are two branches, release and devel, in parallel. Release branch is more stable and only document improvement and bug fixes will commit to it. New functions will only commit to \ndevel\n branch.\n\n\nSometimes I may write blog post to introduce new functions which is not available in \nrelease\n branch, you need to install the \ndevel\n version of \nggtree\n in order to use these new functions.\n\n\nYou can download the \ndevel\n version of \nggtree\n from \nhttp://bioconductor.org/packages/devel/bioc/html/ggtree.html\n and install it, or install the github version of \nggtree\n.\n\n\nThis also applied to other of my packages, including \nGOSemSim\n, \nDOSE\n, \nclusterProfiler\n, \nReactomePA\n and \nChIPseeker\n. If you got the \ncould not find function\n error, upgrade your installation to latest release. If the error still exists after upgrading to latest release, you need to install the devel version.\n\n\n Text \n Label\n\n\n Tip label truncated\n\n\nggplot2 can't auto adjust xlim based on added text.\n\n\nlibrary(ggtree)\n## example tree from https://support.bioconductor.org/p/72398/\ntree\n-read.tree(text=\n(Organism1.006G249400.1:0.03977,(Organism2.022118m:0.01337,(Organism3.J34265.1:0.00284,Organism4.G02633.1:0.00468)0.51:0.0104):0.02469);\n)\nggtree(tree) + geom_tiplab()\n\n\n\n\nThis is because the units are in two different spaces (data and pixel). Users can use xlim to allocate more space for tip label.\n\n\nggtree(tree) + geom_tiplab() + xlim(0, 0.06)\n\n\n\n\n Modify (tip) labels\n\n\nThis could be easily done via the \n%\n+%\n operator to attach the\nmodified version of the labels and than use \ngeom_tiplab\n to display\nthe modified version.\n\n\nraxml_file \n- system.file(\nextdata/RAxML\n, \nRAxML_bipartitionsBranchLabels.H3\n, package=\nggtree\n)\nraxml \n- read.raxml(raxml_file)\n\nlb = get.tree(raxml)$tip.label\nd = data.frame(label=lb, label2 = paste(\nAA\n, substring(lb, 1, 5)))\nggtree(raxml) %\n+% d + geom_tiplab(aes(label=label2))\n\n\n\n\nsee also\n\n1\n\nand \n2\n.\n\n\n Formatting (tip) labels\n\n\nIf you want to format labels, you need to set \nparse=TRUE\n in \ngeom_text\n/\ngeom_tiplab\n and the \nlabel\n should be string that can be parsed into expression and displayed as described in \n?plotmath\n.\n\n\nFor example, the tiplabels contains two parts, species name and accession number and we want to display species name in \nitalic\n, we can use command like this:\n\n\nggtree(rtree(30)) + geom_tiplab(aes(subset=node==35), label='paste(italic(\nspecies name\n), \naccession number\n)', parse=T)\n\n\n\n\n Avoid overlapping text labels\n\n\nUser can use \nggrepel\n package to repel overlapping text labels.\n\n\nFor example:\n\n\nlibrary(ggrepel)\nlibrary(ggtree)\nraxml_file \n- system.file(\nextdata/RAxML\n, \nRAxML_bipartitionsBranchLabels.H3\n, package=\nggtree\n)\nraxml \n- read.raxml(raxml_file)\nggtree(raxml) + geom_label_repel(aes(label=bootstrap, fill=bootstrap))\n\n\n\n\nFor details, please refer to \nggrepel usage examples\n.\n\n\n bootstrap values from newick format\n\n\nIt's quite command to store \nbootstrap\n value as node label in \nnewick\n format. Visualizing node label is easy using \ngeom_text2(aes(subset = !isTip, label=label))\n.\n\n\nIf you want to only display a subset of \nbootstrap\n (e.g. bootstrap \n 80), you can't simply using \ngeom_text2(subset= (label \n 80), label=label)\n since \nlabel\n is a character vector, which contains node label (bootstrap value) and tip label (taxa name). If we use \ngeom_text2(subset=(as.numeric(label) \n 80), label=label)\n, it will also fail since \nNAs\n were introduced by coercion. We need to convert \nNAs\n to logical \nFALSE\n, this can be done by the following code:\n\n\nnwk \n- system.file(\nextdata/RAxML\n,\nRAxML_bipartitions.H3\n, package='ggtree')\ntr \n- read.tree(nwk)\nggtree(tr) + geom_text2(aes(label=label, subset = !is.na(as.numeric(label)) \n as.numeric(label) \n 80))\n\n\n\n\nAnother solution is converting the bootstrap value outside \nggtree\n as I recommended in \ngoogle group\n.\n\n\nq \n- ggtree(tr)\nd \n- q$data\nd \n- d[!d$isTip,]\nd$label \n- as.numeric(d$label)\nd \n- d[d$label \n 80,]\n\nq + geom_text(data=d, aes(label=label))\n\n\n\n\n \naesthetic\n mapping\n\n\n inherit \naes\n\n\nggtree(rtree(30)) + geom_point()\n\n\n\n\nFor example, we can add symbolic points to nodes with \ngeom_point()\n directly.\nThe magic here is we don't need to map \nx\n and \ny\n position of the points by providing \naes(x, y)\n to \ngeom_point()\n since it was already mapped by \nggtree\n function and it serves as a global mapping for all layers.\n\n\nBut what if we provide a \ndataset\n in a layer and the \ndataset\n doesn't contain column of \nx\n and/or \ny\n,\nthe layer function also try to map \nx\n and \ny\n and also others if you map them in \nggtree\n function.\nAs these variable is not available in your \ndataset\n, you will get the following error:\n\n\nError in eval(expr, envir, enclos) : object 'x' not found\n\n\n\n\nThis can be fixed by using parameter \ninherit.aes=FALSE\n which will disable inheriting mapping from \nggtree\n function.\n\n\n use \n$\n in aes\n\n\nNEVER DO THIS.\n\n\nsee the explaination in the \nggplot2 book 2ed\n:\n\n\n\n\nNever refer to a variable with \n$\n (e.g., \ndiamonds$carat\n) in \naes()\n. This breaks containment, so that the plot no longer contains everything it needs, and causes problems if ggplot2 changes the order of the rows, as it does when facetting.\n\n\n\n\nsee also\n\n1\n\nand \n2\n.\n\n\n Annotation\n\n\n colouring edges by user data\n\n\nsee my blog post:\n\nEdge coloring with user data\n\nand also my answer on \nhttps://github.com/GuangchuangYu/ggtree/issues/76\n\nand \nhttps://groups.google.com/forum/#!topic/bioc-ggtree/4GgivKqVjB8\n.", 
139
+            "location": "/faq/",
140
+            "text": "Installation\n\n\n Could not find function\n\n\nIf you got \nthis error\n, please make sure you are using the latest R and \nggtree\n.\n\n\nPackages in Bioconductor, like \nggtree\n, have different release policy compare to CRAN. There are two branches, release and devel, in parallel. Release branch is more stable and only document improvement and bug fixes will commit to it. New functions will only commit to \ndevel\n branch.\n\n\nSometimes I may write blog post to introduce new functions which is not available in \nrelease\n branch, you need to install the \ndevel\n version of \nggtree\n in order to use these new functions.\n\n\nYou can download the \ndevel\n version of \nggtree\n from \nhttp://bioconductor.org/packages/devel/bioc/html/ggtree.html\n and install it, or install the github version of \nggtree\n.\n\n\nThis also applied to other of my packages, including \nGOSemSim\n, \nDOSE\n, \nclusterProfiler\n, \nReactomePA\n and \nChIPseeker\n. If you got the \ncould not find function\n error, upgrade your installation to latest release. If the error still exists after upgrading to latest release, you need to install the devel version.\n\n\n Text & Label\n\n\n Tip label truncated\n\n\nggplot2 can't auto adjust xlim based on added text.\n\n\nlibrary(ggtree)\n## example tree from https://support.bioconductor.org/p/72398/\ntree<-read.tree(text=\"(Organism1.006G249400.1:0.03977,(Organism2.022118m:0.01337,(Organism3.J34265.1:0.00284,Organism4.G02633.1:0.00468)0.51:0.0104):0.02469);\")\nggtree(tree) + geom_tiplab()\n\n\n\n\nThis is because the units are in two different spaces (data and pixel). Users can use xlim to allocate more space for tip label.\n\n\nggtree(tree) + geom_tiplab() + xlim(0, 0.06)\n\n\n\n\n Modify (tip) labels\n\n\nThis could be easily done via the \n%<+%\n operator to attach the\nmodified version of the labels and than use \ngeom_tiplab\n to display\nthe modified version.\n\n\nraxml_file <- system.file(\"extdata/RAxML\", \"RAxML_bipartitionsBranchLabels.H3\", package=\"ggtree\")\nraxml <- read.raxml(raxml_file)\n\nlb = get.tree(raxml)$tip.label\nd = data.frame(label=lb, label2 = paste(\"AA\", substring(lb, 1, 5)))\nggtree(raxml) %<+% d + geom_tiplab(aes(label=label2))\n\n\n\n\nsee also\n\n1\n\nand \n2\n.\n\n\n Formatting (tip) labels\n\n\nIf you want to format labels, you need to set \nparse=TRUE\n in \ngeom_text\n/\ngeom_tiplab\n and the \nlabel\n should be string that can be parsed into expression and displayed as described in \n?plotmath\n.\n\n\nFor example, the tiplabels contains two parts, species name and accession number and we want to display species name in \nitalic\n, we can use command like this:\n\n\nggtree(rtree(30)) + geom_tiplab(aes(subset=node==35), label='paste(italic(\"species name\"), \"accession number\")', parse=T)\n\n\n\n\n Avoid overlapping text labels\n\n\nUser can use \nggrepel\n package to repel overlapping text labels.\n\n\nFor example:\n\n\nlibrary(ggrepel)\nlibrary(ggtree)\nraxml_file <- system.file(\"extdata/RAxML\", \"RAxML_bipartitionsBranchLabels.H3\", package=\"ggtree\")\nraxml <- read.raxml(raxml_file)\nggtree(raxml) + geom_label_repel(aes(label=bootstrap, fill=bootstrap))\n\n\n\n\nFor details, please refer to \nggrepel usage examples\n.\n\n\n bootstrap values from newick format\n\n\nIt's quite command to store \nbootstrap\n value as node label in \nnewick\n format. Visualizing node label is easy using \ngeom_text2(aes(subset = !isTip, label=label))\n.\n\n\nIf you want to only display a subset of \nbootstrap\n (e.g. bootstrap > 80), you can't simply using \ngeom_text2(subset= (label > 80), label=label)\n since \nlabel\n is a character vector, which contains node label (bootstrap value) and tip label (taxa name). If we use \ngeom_text2(subset=(as.numeric(label) > 80), label=label)\n, it will also fail since \nNAs\n were introduced by coercion. We need to convert \nNAs\n to logical \nFALSE\n, this can be done by the following code:\n\n\nnwk <- system.file(\"extdata/RAxML\",\"RAxML_bipartitions.H3\", package='ggtree')\ntr <- read.tree(nwk)\nggtree(tr) + geom_text2(aes(label=label, subset = !is.na(as.numeric(label)) & as.numeric(label) > 80))\n\n\n\n\nAnother solution is converting the bootstrap value outside \nggtree\n as I recommended in \ngoogle group\n.\n\n\nq <- ggtree(tr)\nd <- q$data\nd <- d[!d$isTip,]\nd$label <- as.numeric(d$label)\nd <- d[d$label > 80,]\n\nq + geom_text(data=d, aes(label=label))\n\n\n\n\n \naesthetic\n mapping\n\n\n inherit \naes\n\n\nggtree(rtree(30)) + geom_point()\n\n\n\n\nFor example, we can add symbolic points to nodes with \ngeom_point()\n directly.\nThe magic here is we don't need to map \nx\n and \ny\n position of the points by providing \naes(x, y)\n to \ngeom_point()\n since it was already mapped by \nggtree\n function and it serves as a global mapping for all layers.\n\n\nBut what if we provide a \ndataset\n in a layer and the \ndataset\n doesn't contain column of \nx\n and/or \ny\n,\nthe layer function also try to map \nx\n and \ny\n and also others if you map them in \nggtree\n function.\nAs these variable is not available in your \ndataset\n, you will get the following error:\n\n\nError in eval(expr, envir, enclos) : object 'x' not found\n\n\n\n\nThis can be fixed by using parameter \ninherit.aes=FALSE\n which will disable inheriting mapping from \nggtree\n function.\n\n\n use \n$\n in aes\n\n\nNEVER DO THIS.\n\n\nsee the explaination in the \nggplot2 book 2ed\n:\n\n\n\n\nNever refer to a variable with \n$\n (e.g., \ndiamonds$carat\n) in \naes()\n. This breaks containment, so that the plot no longer contains everything it needs, and causes problems if ggplot2 changes the order of the rows, as it does when facetting.\n\n\n\n\nsee also\n\n1\n\nand \n2\n.\n\n\n Annotation\n\n\n colouring edges by user data\n\n\nsee my blog post:\n\nEdge coloring with user data\n\nand also my answer on \nhttps://github.com/GuangchuangYu/ggtree/issues/76\n\nand \nhttps://groups.google.com/forum/#!topic/bioc-ggtree/4GgivKqVjB8\n.",
141 141
             "title": "FAQ"
142
-        }, 
142
+        },
143 143
         {
144
-            "location": "/faq/#installation", 
145
-            "text": "", 
144
+            "location": "/faq/#installation",
145
+            "text": "",
146 146
             "title": " Installation"
147
-        }, 
147
+        },
148 148
         {
149
-            "location": "/faq/#could-not-find-function", 
150
-            "text": "If you got  this error , please make sure you are using the latest R and  ggtree .  Packages in Bioconductor, like  ggtree , have different release policy compare to CRAN. There are two branches, release and devel, in parallel. Release branch is more stable and only document improvement and bug fixes will commit to it. New functions will only commit to  devel  branch.  Sometimes I may write blog post to introduce new functions which is not available in  release  branch, you need to install the  devel  version of  ggtree  in order to use these new functions.  You can download the  devel  version of  ggtree  from  http://bioconductor.org/packages/devel/bioc/html/ggtree.html  and install it, or install the github version of  ggtree .  This also applied to other of my packages, including  GOSemSim ,  DOSE ,  clusterProfiler ,  ReactomePA  and  ChIPseeker . If you got the  could not find function  error, upgrade your installation to latest release. If the error still exists after upgrading to latest release, you need to install the devel version.", 
149
+            "location": "/faq/#could-not-find-function",
150
+            "text": "If you got  this error , please make sure you are using the latest R and  ggtree .  Packages in Bioconductor, like  ggtree , have different release policy compare to CRAN. There are two branches, release and devel, in parallel. Release branch is more stable and only document improvement and bug fixes will commit to it. New functions will only commit to  devel  branch.  Sometimes I may write blog post to introduce new functions which is not available in  release  branch, you need to install the  devel  version of  ggtree  in order to use these new functions.  You can download the  devel  version of  ggtree  from  http://bioconductor.org/packages/devel/bioc/html/ggtree.html  and install it, or install the github version of  ggtree .  This also applied to other of my packages, including  GOSemSim ,  DOSE ,  clusterProfiler ,  ReactomePA  and  ChIPseeker . If you got the  could not find function  error, upgrade your installation to latest release. If the error still exists after upgrading to latest release, you need to install the devel version.",
151 151
             "title": " Could not find function"
152
-        }, 
152
+        },
153 153
         {
154
-            "location": "/faq/#text-label", 
155
-            "text": "", 
154
+            "location": "/faq/#text-label",
155
+            "text": "",
156 156
             "title": " Text &amp; Label"
157
-        }, 
157
+        },
158 158
         {
159
-            "location": "/faq/#tip-label-truncated", 
160
-            "text": "ggplot2 can't auto adjust xlim based on added text.  library(ggtree)\n## example tree from https://support.bioconductor.org/p/72398/\ntree -read.tree(text= (Organism1.006G249400.1:0.03977,(Organism2.022118m:0.01337,(Organism3.J34265.1:0.00284,Organism4.G02633.1:0.00468)0.51:0.0104):0.02469); )\nggtree(tree) + geom_tiplab()  This is because the units are in two different spaces (data and pixel). Users can use xlim to allocate more space for tip label.  ggtree(tree) + geom_tiplab() + xlim(0, 0.06)", 
159
+            "location": "/faq/#tip-label-truncated",
160
+            "text": "ggplot2 can't auto adjust xlim based on added text.  library(ggtree)\n## example tree from https://support.bioconductor.org/p/72398/\ntree<-read.tree(text=\"(Organism1.006G249400.1:0.03977,(Organism2.022118m:0.01337,(Organism3.J34265.1:0.00284,Organism4.G02633.1:0.00468)0.51:0.0104):0.02469);\")\nggtree(tree) + geom_tiplab()  This is because the units are in two different spaces (data and pixel). Users can use xlim to allocate more space for tip label.  ggtree(tree) + geom_tiplab() + xlim(0, 0.06)",
161 161
             "title": " Tip label truncated"
162
-        }, 
162
+        },
163 163
         {
164
-            "location": "/faq/#modify-tip-labels", 
165
-            "text": "This could be easily done via the  % +%  operator to attach the\nmodified version of the labels and than use  geom_tiplab  to display\nthe modified version.  raxml_file  - system.file( extdata/RAxML ,  RAxML_bipartitionsBranchLabels.H3 , package= ggtree )\nraxml  - read.raxml(raxml_file)\n\nlb = get.tree(raxml)$tip.label\nd = data.frame(label=lb, label2 = paste( AA , substring(lb, 1, 5)))\nggtree(raxml) % +% d + geom_tiplab(aes(label=label2))  see also 1 \nand  2 .", 
164
+            "location": "/faq/#modify-tip-labels",
165
+            "text": "This could be easily done via the  %<+%  operator to attach the\nmodified version of the labels and than use  geom_tiplab  to display\nthe modified version.  raxml_file <- system.file(\"extdata/RAxML\", \"RAxML_bipartitionsBranchLabels.H3\", package=\"ggtree\")\nraxml <- read.raxml(raxml_file)\n\nlb = get.tree(raxml)$tip.label\nd = data.frame(label=lb, label2 = paste(\"AA\", substring(lb, 1, 5)))\nggtree(raxml) %<+% d + geom_tiplab(aes(label=label2))  see also 1 \nand  2 .",
166 166
             "title": " Modify (tip) labels"
167
-        }, 
167
+        },
168 168
         {
169
-            "location": "/faq/#formatting-tip-labels", 
170
-            "text": "If you want to format labels, you need to set  parse=TRUE  in  geom_text / geom_tiplab  and the  label  should be string that can be parsed into expression and displayed as described in  ?plotmath .  For example, the tiplabels contains two parts, species name and accession number and we want to display species name in  italic , we can use command like this:  ggtree(rtree(30)) + geom_tiplab(aes(subset=node==35), label='paste(italic( species name ),  accession number )', parse=T)", 
169
+            "location": "/faq/#formatting-tip-labels",
170
+            "text": "If you want to format labels, you need to set  parse=TRUE  in  geom_text / geom_tiplab  and the  label  should be string that can be parsed into expression and displayed as described in  ?plotmath .  For example, the tiplabels contains two parts, species name and accession number and we want to display species name in  italic , we can use command like this:  ggtree(rtree(30)) + geom_tiplab(aes(subset=node==35), label='paste(italic(\"species name\"), \"accession number\")', parse=T)",
171 171
             "title": " Formatting (tip) labels"
172
-        }, 
172
+        },
173 173
         {
174
-            "location": "/faq/#avoid-overlapping-text-labels", 
175
-            "text": "User can use  ggrepel  package to repel overlapping text labels.  For example:  library(ggrepel)\nlibrary(ggtree)\nraxml_file  - system.file( extdata/RAxML ,  RAxML_bipartitionsBranchLabels.H3 , package= ggtree )\nraxml  - read.raxml(raxml_file)\nggtree(raxml) + geom_label_repel(aes(label=bootstrap, fill=bootstrap))  For details, please refer to  ggrepel usage examples .", 
174
+            "location": "/faq/#avoid-overlapping-text-labels",
175
+            "text": "User can use  ggrepel  package to repel overlapping text labels.  For example:  library(ggrepel)\nlibrary(ggtree)\nraxml_file <- system.file(\"extdata/RAxML\", \"RAxML_bipartitionsBranchLabels.H3\", package=\"ggtree\")\nraxml <- read.raxml(raxml_file)\nggtree(raxml) + geom_label_repel(aes(label=bootstrap, fill=bootstrap))  For details, please refer to  ggrepel usage examples .",
176 176
             "title": " Avoid overlapping text labels"
177
-        }, 
177
+        },
178 178
         {
179
-            "location": "/faq/#bootstrap-values-from-newick-format", 
180
-            "text": "It's quite command to store  bootstrap  value as node label in  newick  format. Visualizing node label is easy using  geom_text2(aes(subset = !isTip, label=label)) .  If you want to only display a subset of  bootstrap  (e.g. bootstrap   80), you can't simply using  geom_text2(subset= (label   80), label=label)  since  label  is a character vector, which contains node label (bootstrap value) and tip label (taxa name). If we use  geom_text2(subset=(as.numeric(label)   80), label=label) , it will also fail since  NAs  were introduced by coercion. We need to convert  NAs  to logical  FALSE , this can be done by the following code:  nwk  - system.file( extdata/RAxML , RAxML_bipartitions.H3 , package='ggtree')\ntr  - read.tree(nwk)\nggtree(tr) + geom_text2(aes(label=label, subset = !is.na(as.numeric(label))   as.numeric(label)   80))  Another solution is converting the bootstrap value outside  ggtree  as I recommended in  google group .  q  - ggtree(tr)\nd  - q$data\nd  - d[!d$isTip,]\nd$label  - as.numeric(d$label)\nd  - d[d$label   80,]\n\nq + geom_text(data=d, aes(label=label))", 
179
+            "location": "/faq/#bootstrap-values-from-newick-format",
180
+            "text": "It's quite command to store  bootstrap  value as node label in  newick  format. Visualizing node label is easy using  geom_text2(aes(subset = !isTip, label=label)) .  If you want to only display a subset of  bootstrap  (e.g. bootstrap > 80), you can't simply using  geom_text2(subset= (label > 80), label=label)  since  label  is a character vector, which contains node label (bootstrap value) and tip label (taxa name). If we use  geom_text2(subset=(as.numeric(label) > 80), label=label) , it will also fail since  NAs  were introduced by coercion. We need to convert  NAs  to logical  FALSE , this can be done by the following code:  nwk <- system.file(\"extdata/RAxML\",\"RAxML_bipartitions.H3\", package='ggtree')\ntr <- read.tree(nwk)\nggtree(tr) + geom_text2(aes(label=label, subset = !is.na(as.numeric(label)) & as.numeric(label) > 80))  Another solution is converting the bootstrap value outside  ggtree  as I recommended in  google group .  q <- ggtree(tr)\nd <- q$data\nd <- d[!d$isTip,]\nd$label <- as.numeric(d$label)\nd <- d[d$label > 80,]\n\nq + geom_text(data=d, aes(label=label))",
181 181
             "title": " bootstrap values from newick format"
182
-        }, 
182
+        },
183 183
         {
184
-            "location": "/faq/#aesthetic-mapping", 
185
-            "text": "", 
184
+            "location": "/faq/#aesthetic-mapping",
185
+            "text": "",
186 186
             "title": " aesthetic mapping"
187
-        }, 
187
+        },
188 188
         {
189
-            "location": "/faq/#inherit-aes", 
190
-            "text": "ggtree(rtree(30)) + geom_point()  For example, we can add symbolic points to nodes with  geom_point()  directly.\nThe magic here is we don't need to map  x  and  y  position of the points by providing  aes(x, y)  to  geom_point()  since it was already mapped by  ggtree  function and it serves as a global mapping for all layers.  But what if we provide a  dataset  in a layer and the  dataset  doesn't contain column of  x  and/or  y ,\nthe layer function also try to map  x  and  y  and also others if you map them in  ggtree  function.\nAs these variable is not available in your  dataset , you will get the following error:  Error in eval(expr, envir, enclos) : object 'x' not found  This can be fixed by using parameter  inherit.aes=FALSE  which will disable inheriting mapping from  ggtree  function.", 
189
+            "location": "/faq/#inherit-aes",
190
+            "text": "ggtree(rtree(30)) + geom_point()  For example, we can add symbolic points to nodes with  geom_point()  directly.\nThe magic here is we don't need to map  x  and  y  position of the points by providing  aes(x, y)  to  geom_point()  since it was already mapped by  ggtree  function and it serves as a global mapping for all layers.  But what if we provide a  dataset  in a layer and the  dataset  doesn't contain column of  x  and/or  y ,\nthe layer function also try to map  x  and  y  and also others if you map them in  ggtree  function.\nAs these variable is not available in your  dataset , you will get the following error:  Error in eval(expr, envir, enclos) : object 'x' not found  This can be fixed by using parameter  inherit.aes=FALSE  which will disable inheriting mapping from  ggtree  function.",
191 191
             "title": " inherit aes"
192
-        }, 
192
+        },
193 193
         {
194
-            "location": "/faq/#use-in-aes", 
195
-            "text": "NEVER DO THIS.  see the explaination in the  ggplot2 book 2ed :   Never refer to a variable with  $  (e.g.,  diamonds$carat ) in  aes() . This breaks containment, so that the plot no longer contains everything it needs, and causes problems if ggplot2 changes the order of the rows, as it does when facetting.   see also 1 \nand  2 .", 
194
+            "location": "/faq/#use-in-aes",
195
+            "text": "NEVER DO THIS.  see the explaination in the  ggplot2 book 2ed :   Never refer to a variable with  $  (e.g.,  diamonds$carat ) in  aes() . This breaks containment, so that the plot no longer contains everything it needs, and causes problems if ggplot2 changes the order of the rows, as it does when facetting.   see also 1 \nand  2 .",
196 196
             "title": " use $ in aes"
197
-        }, 
197
+        },
198 198
         {
199
-            "location": "/faq/#annotation", 
200
-            "text": "", 
199
+            "location": "/faq/#annotation",
200
+            "text": "",
201 201
             "title": " Annotation"
202
-        }, 
202
+        },
203 203
         {
204
-            "location": "/faq/#colouring-edges-by-user-data", 
205
-            "text": "see my blog post: Edge coloring with user data \nand also my answer on  https://github.com/GuangchuangYu/ggtree/issues/76 \nand  https://groups.google.com/forum/#!topic/bioc-ggtree/4GgivKqVjB8 .", 
204
+            "location": "/faq/#colouring-edges-by-user-data",
205
+            "text": "see my blog post: Edge coloring with user data \nand also my answer on  https://github.com/GuangchuangYu/ggtree/issues/76 \nand  https://groups.google.com/forum/#!topic/bioc-ggtree/4GgivKqVjB8 .",
206 206
             "title": " colouring edges by user data"
207
-        }, 
207
+        },
208 208
         {
209
-            "location": "/featuredArticles/", 
210
-            "text": "Let us know\n if you have published using \nggtree\n and your publication will be featured here.\n\n\n\n\n\n\n\n\n\n\n\n\n\n  .rChart {\n    display: block;\n    margin-left: auto; \n    margin-right: auto;\n    width: 800px;\n    height: 300px;\n  }  \n  \n\n\n\n\n\n\n\n    var chartParams = {\n \"element\": \"chart6b52366c186\",\n\"width\":            800,\n\"height\":            400,\n\"xkey\": \"year\",\n\"ykeys\": [\n \"cites\" \n],\n\"data\": [\n {\n \"year\": 2016,\n\"cites\":              1,\n\"pubid\": \"HtEfBTGE9r8C\" \n} \n],\n\"id\": \"chart6b52366c186\",\n\"labels\": \"cites\" \n},\n      chartType = \"Bar\"\n    new Morris[chartType](chartParams)\n\n\n\n\n 2016\n\n\nLack of GLYCOLATE OXIDASE 1, but not GLYCOLATE OXIDASE 2, attenuates the photorespiratory phenotype of CATALASE2-deficient \nArabidopsis\n\n\nPlant Physiology\n May. 2016 \n\n\n\n\nRange overlap drives chromosome inversion fixation in passerine birds\n\n\nbioRxiv\n May. 2016 \nhttp://dx.doi.org/10.1101/053371\n\n\n\n\nPhenotypic and Genotypic Characteristics of Shiga Toxin-Producing Escherichia coli Isolated from Surface Waters and Sediments in a Canadian Urban-Agricultural Landscape\n\n\nFront. Cell. Infect. Microbiol.\n Apr. 2016 \nhttp://dx.doi.org/10.3389%2Ffcimb.2016.00036\n\n\n\n\nWs-2\n Introgression in a Proportion of \nArabidopsis thaliana Col-0\n Stock Seed Produces Specific Phenotypes and Highlights the Importance of Routine Genetic Verification\n\n\nPlant Cell\n Mar. 2016 \nhttp://dx.doi.org/10.1105/tpc.16.00053\n\n\n\n\n 2015\n\n\nThe population genetics of drug resistance evolution in natural populations of viral, bacterial and eukaryotic pathogens\n\n\nMolecuar Ecology\n Dec. 2015 \nhttp://dx.doi.org/10.1111/mec.13474\n\n\n\n\nGenetic characterization of highly pathogenic H5 influenza viruses from poultry in Taiwan, 2015\n\n\nInfection, Genetics and Evolution\n Dec. 2015 \nhttp://dx.doi.org/10.1016/j.meegid.2015.12.006\n\n\n\n\nTrans-species polymorphism at antimicrobial innate immunity cathelicidin genes of Atlantic cod and related species\n\n\nPeerJ\n May 2015 \nhttps://doi.org/10.7717/peerj.976", 
209
+            "location": "/featuredArticles/",
210
+            "text": "Let us know\n if you have published using \nggtree\n and your publication will be featured here.\n\n\n\n\n\n\n\n\n\n\n\n\n\n  .rChart {\n    display: block;\n    margin-left: auto; \n    margin-right: auto;\n    width: 800px;\n    height: 300px;\n  }  \n  \n\n\n\n\n\n\n\n    var chartParams = {\n \"element\": \"chart7044272d6fbc\",\n\"width\":            800,\n\"height\":            400,\n\"xkey\": \"year\",\n\"ykeys\": [\n \"cites\" \n],\n\"data\": [\n {\n \"year\": 2016,\n\"cites\":              1,\n\"pubid\": \"HtEfBTGE9r8C\" \n} \n],\n\"id\": \"chart7044272d6fbc\",\n\"labels\": \"cites\" \n},\n      chartType = \"Bar\"\n    new Morris[chartType](chartParams)\n\n\n\n\n 2016\n\n\nLack of GLYCOLATE OXIDASE 1, but not GLYCOLATE OXIDASE 2, attenuates the photorespiratory phenotype of CATALASE2-deficient \nArabidopsis\n\n\nPlant Physiology\n May. 2016 \n\n\n\n\nRange overlap drives chromosome inversion fixation in passerine birds\n\n\nbioRxiv\n May. 2016 \nhttp://dx.doi.org/10.1101/053371\n\n\n\n\nPhenotypic and Genotypic Characteristics of Shiga Toxin-Producing Escherichia coli Isolated from Surface Waters and Sediments in a Canadian Urban-Agricultural Landscape\n\n\nFront. Cell. Infect. Microbiol.\n Apr. 2016 \nhttp://dx.doi.org/10.3389%2Ffcimb.2016.00036\n\n\n\n\nWs-2\n Introgression in a Proportion of \nArabidopsis thaliana Col-0\n Stock Seed Produces Specific Phenotypes and Highlights the Importance of Routine Genetic Verification\n\n\nPlant Cell\n Mar. 2016 \nhttp://dx.doi.org/10.1105/tpc.16.00053\n\n\n\n\n 2015\n\n\nThe population genetics of drug resistance evolution in natural populations of viral, bacterial and eukaryotic pathogens\n\n\nMolecuar Ecology\n Dec. 2015 \nhttp://dx.doi.org/10.1111/mec.13474\n\n\n\n\nGenetic characterization of highly pathogenic H5 influenza viruses from poultry in Taiwan, 2015\n\n\nInfection, Genetics and Evolution\n Dec. 2015 \nhttp://dx.doi.org/10.1016/j.meegid.2015.12.006\n\n\n\n\nTrans-species polymorphism at antimicrobial innate immunity cathelicidin genes of Atlantic cod and related species\n\n\nPeerJ\n May 2015 \nhttps://doi.org/10.7717/peerj.976",
211 211
             "title": "Featured Articles"
212
-        }, 
212
+        },
213 213
         {
214
-            "location": "/featuredArticles/#2016", 
215
-            "text": "Lack of GLYCOLATE OXIDASE 1, but not GLYCOLATE OXIDASE 2, attenuates the photorespiratory phenotype of CATALASE2-deficient  Arabidopsis  Plant Physiology  May. 2016    Range overlap drives chromosome inversion fixation in passerine birds  bioRxiv  May. 2016  http://dx.doi.org/10.1101/053371   Phenotypic and Genotypic Characteristics of Shiga Toxin-Producing Escherichia coli Isolated from Surface Waters and Sediments in a Canadian Urban-Agricultural Landscape  Front. Cell. Infect. Microbiol.  Apr. 2016  http://dx.doi.org/10.3389%2Ffcimb.2016.00036   Ws-2  Introgression in a Proportion of  Arabidopsis thaliana Col-0  Stock Seed Produces Specific Phenotypes and Highlights the Importance of Routine Genetic Verification  Plant Cell  Mar. 2016  http://dx.doi.org/10.1105/tpc.16.00053", 
214
+            "location": "/featuredArticles/#2016",
215
+            "text": "Lack of GLYCOLATE OXIDASE 1, but not GLYCOLATE OXIDASE 2, attenuates the photorespiratory phenotype of CATALASE2-deficient  Arabidopsis  Plant Physiology  May. 2016    Range overlap drives chromosome inversion fixation in passerine birds  bioRxiv  May. 2016  http://dx.doi.org/10.1101/053371   Phenotypic and Genotypic Characteristics of Shiga Toxin-Producing Escherichia coli Isolated from Surface Waters and Sediments in a Canadian Urban-Agricultural Landscape  Front. Cell. Infect. Microbiol.  Apr. 2016  http://dx.doi.org/10.3389%2Ffcimb.2016.00036   Ws-2  Introgression in a Proportion of  Arabidopsis thaliana Col-0  Stock Seed Produces Specific Phenotypes and Highlights the Importance of Routine Genetic Verification  Plant Cell  Mar. 2016  http://dx.doi.org/10.1105/tpc.16.00053",
216 216
             "title": " 2016"
217
-        }, 
217
+        },
218 218
         {
219
-            "location": "/featuredArticles/#2015", 
220
-            "text": "The population genetics of drug resistance evolution in natural populations of viral, bacterial and eukaryotic pathogens  Molecuar Ecology  Dec. 2015  http://dx.doi.org/10.1111/mec.13474   Genetic characterization of highly pathogenic H5 influenza viruses from poultry in Taiwan, 2015  Infection, Genetics and Evolution  Dec. 2015  http://dx.doi.org/10.1016/j.meegid.2015.12.006   Trans-species polymorphism at antimicrobial innate immunity cathelicidin genes of Atlantic cod and related species  PeerJ  May 2015  https://doi.org/10.7717/peerj.976", 
219
+            "location": "/featuredArticles/#2015",
220
+            "text": "The population genetics of drug resistance evolution in natural populations of viral, bacterial and eukaryotic pathogens  Molecuar Ecology  Dec. 2015  http://dx.doi.org/10.1111/mec.13474   Genetic characterization of highly pathogenic H5 influenza viruses from poultry in Taiwan, 2015  Infection, Genetics and Evolution  Dec. 2015  http://dx.doi.org/10.1016/j.meegid.2015.12.006   Trans-species polymorphism at antimicrobial innate immunity cathelicidin genes of Atlantic cod and related species  PeerJ  May 2015  https://doi.org/10.7717/peerj.976",
221 221
             "title": " 2015"
222
-        }, 
222
+        },
223 223
         {
224
-            "location": "/ChIPseeker/", 
225
-            "text": "", 
224
+            "location": "/ChIPseeker/",
225
+            "text": "",
226 226
             "title": "ChIPseeker"
227
-        }, 
227
+        },
228 228
         {
229
-            "location": "/clusterProfiler/", 
230
-            "text": "", 
229
+            "location": "/clusterProfiler/",
230
+            "text": "",
231 231
             "title": "clusterProfiler"
232
-        }, 
232
+        },
233 233
         {
234
-            "location": "/DOSE/", 
235
-            "text": "", 
234
+            "location": "/DOSE/",
235
+            "text": "",
236 236
             "title": "DOSE"
237
-        }, 
237
+        },
238 238
         {
239
-            "location": "/emojifont/", 
240
-            "text": "", 
239
+            "location": "/emojifont/",
240
+            "text": "",
241 241
             "title": "emojifont"
242
-        }, 
242
+        },
243 243
         {
244
-            "location": "/ggtree/", 
245
-            "text": "", 
244
+            "location": "/ggtree/",
245
+            "text": "",
246 246
             "title": "ggtree"
247
-        }, 
247
+        },
248 248
         {
249
-            "location": "/GOSemSim/", 
250
-            "text": "", 
249
+            "location": "/GOSemSim/",
250
+            "text": "",
251 251
             "title": "GOSemSim"
252
-        }, 
252
+        },
253 253
         {
254
-            "location": "/meshes/", 
255
-            "text": "", 
254
+            "location": "/meshes/",
255
+            "text": "",
256 256
             "title": "meshes"
257
-        }, 
257
+        },
258 258
         {
259
-            "location": "/ReactomePA/", 
260
-            "text": "", 
259
+            "location": "/ReactomePA/",
260
+            "text": "",
261 261
             "title": "ReactomePA"
262
-        }, 
262
+        },
263 263
         {
264
-            "location": "/treeio/", 
265
-            "text": "", 
264
+            "location": "/treeio/",
265
+            "text": "",
266 266
             "title": "treeio"
267 267
         }
268 268
     ]
... ...
@@ -1,4 +1,4 @@
1
-<div class="navbar navbar-default navbar-fixed-top" role="navigation">
1
+<div class="navbar {% if config.extra.theme_inverse %}navbar-inverse{% else %}navbar-default{% endif %} navbar-fixed-top" role="navigation">
2 2
     <div class="container">
3 3
 
4 4
         <!-- Collapsed navigation -->
... ...
@@ -4,7 +4,7 @@
4 4
     
5 5
     <url>
6 6
      <loc>https://guangchuangyu.github.io/ggtree/</loc>
7
-     <lastmod>2017-01-05</lastmod>
7
+     <lastmod>2017-01-20</lastmod>
8 8
      <changefreq>daily</changefreq>
9 9
     </url>
10 10
     
... ...
@@ -12,7 +12,7 @@
12 12
     
13 13
     <url>
14 14
      <loc>https://guangchuangyu.github.io/ggtree/documentation/</loc>
15
-     <lastmod>2017-01-05</lastmod>
15
+     <lastmod>2017-01-20</lastmod>
16 16
      <changefreq>daily</changefreq>
17 17
     </url>
18 18
     
... ...
@@ -20,7 +20,7 @@
20 20
     
21 21
     <url>
22 22
      <loc>https://guangchuangyu.github.io/ggtree/faq/</loc>
23
-     <lastmod>2017-01-05</lastmod>
23
+     <lastmod>2017-01-20</lastmod>
24 24
      <changefreq>daily</changefreq>
25 25
     </url>
26 26
     
... ...
@@ -28,7 +28,7 @@
28 28
     
29 29
     <url>
30 30
      <loc>https://guangchuangyu.github.io/ggtree/featuredArticles/</loc>
31
-     <lastmod>2017-01-05</lastmod>
31
+     <lastmod>2017-01-20</lastmod>
32 32
      <changefreq>daily</changefreq>
33 33
     </url>
34 34
     
... ...
@@ -37,55 +37,55 @@
37 37
         
38 38
     <url>
39 39
      <loc>https://guangchuangyu.github.io/ggtree/ChIPseeker/</loc>
40
-     <lastmod>2017-01-05</lastmod>
40
+     <lastmod>2017-01-20</lastmod>
41 41
      <changefreq>daily</changefreq>
42 42
     </url>
43 43
         
44 44
     <url>
45 45
      <loc>https://guangchuangyu.github.io/ggtree/clusterProfiler/</loc>
46
-     <lastmod>2017-01-05</lastmod>
46
+     <lastmod>2017-01-20</lastmod>
47 47
      <changefreq>daily</changefreq>
48 48
     </url>
49 49
         
50 50
     <url>
51 51
      <loc>https://guangchuangyu.github.io/ggtree/DOSE/</loc>
52
-     <lastmod>2017-01-05</lastmod>
52
+     <lastmod>2017-01-20</lastmod>
53 53
      <changefreq>daily</changefreq>
54 54
     </url>
55 55
         
56 56
     <url>
57 57
      <loc>https://guangchuangyu.github.io/ggtree/emojifont/</loc>
58
-     <lastmod>2017-01-05</lastmod>
58
+     <lastmod>2017-01-20</lastmod>
59 59
      <changefreq>daily</changefreq>
60 60
     </url>
61 61
         
62 62
     <url>
63 63
      <loc>https://guangchuangyu.github.io/ggtree/ggtree/</loc>
64
-     <lastmod>2017-01-05</lastmod>
64
+     <lastmod>2017-01-20</lastmod>
65 65
      <changefreq>daily</changefreq>
66 66
     </url>
67 67
         
68 68
     <url>
69 69
      <loc>https://guangchuangyu.github.io/ggtree/GOSemSim/</loc>
70
-     <lastmod>2017-01-05</lastmod>
70
+     <lastmod>2017-01-20</lastmod>
71 71
      <changefreq>daily</changefreq>
72 72
     </url>
73 73
         
74 74
     <url>
75 75
      <loc>https://guangchuangyu.github.io/ggtree/meshes/</loc>
76
-     <lastmod>2017-01-05</lastmod>
76
+     <lastmod>2017-01-20</lastmod>
77 77
      <changefreq>daily</changefreq>
78 78
     </url>
79 79
         
80 80
     <url>
81 81
      <loc>https://guangchuangyu.github.io/ggtree/ReactomePA/</loc>
82
-     <lastmod>2017-01-05</lastmod>
82
+     <lastmod>2017-01-20</lastmod>
83 83
      <changefreq>daily</changefreq>
84 84
     </url>
85 85
         
86 86
     <url>
87 87
      <loc>https://guangchuangyu.github.io/ggtree/treeio/</loc>
88
-     <lastmod>2017-01-05</lastmod>
88
+     <lastmod>2017-01-20</lastmod>
89 89
      <changefreq>daily</changefreq>
90 90
     </url>
91 91
         
... ...
@@ -10,17 +10,17 @@ citEntry(
10 10
         as.person("Yi Guan"),
11 11
         as.person("Tommy Tsan-Yuk Lam")
12 12
         ),
13
-    year    = "accepted",
13
+    year    = "2017",
14 14
     journal = "Methods in Ecology and Evolution",
15
-    volume  = "",
16
-    issue   = "",
15
+    volume  = "8",
16
+    issue   = "1",
17 17
     number  = "",
18
-    pages   = "",
18
+    pages   = "28-36",
19 19
     doi     = "10.1111/2041-210X.12628",
20 20
     PMID    = "",
21
-    url     = "", 
21
+    url     = "http://onlinelibrary.wiley.com/doi/10.1111/2041-210X.12628/abstract", 
22 22
     textVersion = paste("Guangchuang Yu, David Smith, Huachen Zhu, Yi Guan, Tommy Tsan-Yuk Lam.",
23 23
         "ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data.",
24
-        "Methods in Ecology and Evolution 2016 accepted, doi:10.1111/2041-210X.12628")
24
+        "Methods in Ecology and Evolution 2017, 8(1):28-36")
25 25
 )
26 26
 
... ...
@@ -36,10 +36,10 @@
36 36
   }  
37 37
   </style>
38 38
 
39
-<div id = 'chart6b52366c186' class = 'rChart morris'></div>
39
+<div id = 'chart7044272d6fbc' class = 'rChart morris'></div>
40 40
 <script type='text/javascript'>
41 41
     var chartParams = {
42
- "element": "chart6b52366c186",
42
+ "element": "chart7044272d6fbc",
43 43
 "width":            800,
44 44
 "height":            400,
45 45
 "xkey": "year",
... ...
@@ -53,7 +53,7 @@
53 53
 "pubid": "HtEfBTGE9r8C" 
54 54
 } 
55 55
 ],
56
-"id": "chart6b52366c186",
56
+"id": "chart7044272d6fbc",
57 57
 "labels": "cites" 
58 58
 },
59 59
       chartType = "Bar"
... ...
@@ -21,8 +21,8 @@
21 21
 <link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css">
22 22
 
23 23
 [![releaseVersion](https://img.shields.io/badge/release%20version-1.6.7-blue.svg?style=flat)](https://bioconductor.org/packages/ggtree)
24
-[![develVersion](https://img.shields.io/badge/devel%20version-1.7.6-blue.svg?style=flat)](https://github.com/GuangchuangYu/ggtree)
25
-[![total](https://img.shields.io/badge/downloads-19191/total-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree)
24
+[![develVersion](https://img.shields.io/badge/devel%20version-1.7.7-blue.svg?style=flat)](https://github.com/GuangchuangYu/ggtree)
25
+[![total](https://img.shields.io/badge/downloads-20046/total-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree)
26 26
 [![month](https://img.shields.io/badge/downloads-1177/month-blue.svg?style=flat)](https://bioconductor.org/packages/stats/bioc/ggtree)
27 27
 
28 28
 
... ...
@@ -40,9 +40,9 @@ Please cite the following article when using `ggtree`:
40 40
 
41 41
 [![doi](https://img.shields.io/badge/doi-10.1111/2041--210X.12628-blue.svg?style=flat)](http://dx.doi.org/10.1111/2041-210X.12628)
42 42
 [![citation](https://img.shields.io/badge/cited%20by-1-blue.svg?style=flat)](https://scholar.google.com.hk/scholar?oi=bibs&hl=en&cites=7268358477862164627)
43
-[![Altmetric](https://img.shields.io/badge/Altmetric-287-blue.svg?style=flat)](https://www.altmetric.com/details/10533079)
43
+[![Altmetric](https://img.shields.io/badge/Altmetric-299-blue.svg?style=flat)](https://www.altmetric.com/details/10533079)
44 44
 
45
-__G Yu__, DK Smith, H Zhu, Y Guan, TTY Lam<sup>\*</sup>. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. __*Methods in Ecology and Evolution*__. *accepted*.
45
+__G Yu__, DK Smith, H Zhu, Y Guan, TTY Lam<sup>\*</sup>. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. __*Methods in Ecology and Evolution*__. 2017, 8(1):28-36.
46 46
 
47 47
 ## <i class="fa fa-pencil"></i> Featured Articles
48 48
 
... ...
@@ -29,7 +29,7 @@ Please cite the following article when using `ggtree`:
29 29
 <!-- citation:=HtEfBTGE9r8C:=7268358477862164627 -->
30 30
 <!-- altmetric:=10533079 -->
31 31
 
32
-__G Yu__, DK Smith, H Zhu, Y Guan, TTY Lam<sup>\*</sup>. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. __*Methods in Ecology and Evolution*__. *accepted*.
32
+__G Yu__, DK Smith, H Zhu, Y Guan, TTY Lam<sup>\*</sup>. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. __*Methods in Ecology and Evolution*__. 2017, 8(1):28-36.
33 33
 
34 34
 ## <i class="fa fa-pencil"></i> Featured Articles
35 35
 
... ...
@@ -40,9 +40,10 @@ library("ggtree")
40 40
 
41 41
 
42 42
 # Citation
43
+
43 44
 If you use `ggtree` in published research, please cite:
44 45
 
45
-__G Yu__, DK Smith, H Zhu, Y Guan, TTY Lam^\*^. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. __*Methods in Ecology and Evolution*__. _accepted_. doi:[10.1111/2041-210X.12628](http://dx.doi.org/10.1111/2041-210X.12628)
46
+__G Yu__, DK Smith, H Zhu, Y Guan, TTY Lam^\*^. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. __*Methods in Ecology and Evolution*__. 2017, 8(1):28-36. doi:[10.1111/2041-210X.12628](http://dx.doi.org/10.1111/2041-210X.12628)
46 47
 
47 48
 
48 49
 # Introduction