... | ... |
@@ -10,7 +10,7 @@ |
10 | 10 |
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1"> |
11 | 11 |
<meta http-equiv="X-UA-Compatible" content="IE=10" /> |
12 | 12 |
<title>Documentation - ggtree</title> |
13 |
- <meta name="generator" content="Hugo 0.24.1" /> |
|
13 |
+ <meta name="generator" content="Hugo 0.30.2" /> |
|
14 | 14 |
|
15 | 15 |
|
16 | 16 |
<meta name="description" content="Visualization and annotation of phylogenetic trees."> |
... | ... |
@@ -322,15 +322,16 @@ |
322 | 322 |
|
323 | 323 |
|
324 | 324 |
<li> |
325 |
- <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
- Contact via email |
|
327 |
- </a> |
|
325 |
+ <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
+ Contact via email |
|
327 |
+ </a> |
|
328 | 328 |
</li> |
329 | 329 |
|
330 | 330 |
</ul> |
331 | 331 |
|
332 |
+ <center><span class="zaln"><a href="https://guangchuangyu.github.io/2017/11/bmc-journal-protects-paper-of-plagiarism/" class="zb">Plea to against BMC</a></span></center> |
|
332 | 333 |
<center><span class="zaln"><a href="https://mp.weixin.qq.com/s?__biz=MzI5NjUyNzkxMg==&mid=2247484170&idx=1&sn=ce5f7eb6df66d79661276a64bf25b4bc&chksm=ec43b24ddb343b5b2877574153aeccd049a6824716063883edb35c2338bd32c067caf3885f53#rd" class="zb">赞赏</a></span></center> |
333 |
-<div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 |
+ <div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 | 335 |
</div> |
335 | 336 |
</div> |
336 | 337 |
</div> |
... | ... |
@@ -343,7 +344,7 @@ |
343 | 344 |
<h1>Documentation </h1> |
344 | 345 |
|
345 | 346 |
<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"></p> |
346 |
-<div id="vignettes" class="section level2"> |
|
347 |
+<section id="vignettes" class="level2"> |
|
347 | 348 |
<h2><i class="fa fa-book"></i> Vignettes</h2> |
348 | 349 |
<ul> |
349 | 350 |
<li><a href="https://bioconductor.org/packages/devel/bioc/vignettes/ggtree/inst/doc/ggtree.html">ggtree</a></li> |
... | ... |
@@ -355,10 +356,10 @@ |
355 | 356 |
<li><a href="https://bioconductor.org/packages/devel/bioc/vignettes/ggtree/inst/doc/ggtreeUtilities.html">ggtree utilities</a></li> |
356 | 357 |
<li><a href="https://cran.r-project.org/web/packages/emojifont/vignettes/phylomoji.html">Phylomoji</a></li> |
357 | 358 |
</ul> |
358 |
-</div> |
|
359 |
-<div id="blog-posts" class="section level2"> |
|
359 |
+</section> |
|
360 |
+<section id="blog-posts" class="level2"> |
|
360 | 361 |
<h2><i class="fa fa-wordpress"></i> Blog posts</h2> |
361 |
-<div id="news-and-updates" class="section level3"> |
|
362 |
+<section id="news-and-updates" class="level3"> |
|
362 | 363 |
<h3><i class="fa fa-angle-double-right"></i> News and updates</h3> |
363 | 364 |
<ul> |
364 | 365 |
<li><a href="https://guangchuangyu.github.io/2014/12/viewing-and-annotating-phylogenetic-tree-with-ggtree">viewing and annotating phylogenetic tree with ggtree</a></li> |
... | ... |
@@ -370,16 +371,16 @@ |
370 | 371 |
<li><a href="https://guangchuangyu.github.io/2016/10/bioc-34-news-of-my-bioc-packages">BioC 3.4: NEWS of my BioC packages</a></li> |
371 | 372 |
<li><a href="https://guangchuangyu.github.io/2016/08/ggtree-paper-published">ggtree paper published</a></li> |
372 | 373 |
</ul> |
373 |
-</div> |
|
374 |
-<div id="data-manipulation" class="section level3"> |
|
374 |
+</section> |
|
375 |
+<section id="data-manipulation" class="level3"> |
|
375 | 376 |
<h3><i class="fa fa-angle-double-right"></i> Data manipulation</h3> |
376 | 377 |
<ul> |
377 | 378 |
<li><a href="https://guangchuangyu.github.io/2015/09/subsetting-data-in-ggtree">subsetting data in ggtree</a></li> |
378 | 379 |
<li><a href="https://guangchuangyu.github.io/2016/01/ggtree-supports-phylip-tree-format">ggtree supports phylip tree format</a></li> |
379 | 380 |
<li><a href="http://guangchuangyu.github.io/2017/01/convert-graphic-object-to-tree-object-using-treeio/">convert graphic object to tree object using treeio</a></li> |
380 | 381 |
</ul> |
381 |
-</div> |
|
382 |
-<div id="tree-visualization" class="section level3"> |
|
382 |
+</section> |
|
383 |
+<section id="tree-visualization" class="level3"> |
|
383 | 384 |
<h3><i class="fa fa-angle-double-right"></i> Tree visualization</h3> |
384 | 385 |
<ul> |
385 | 386 |
<li><a href="https://guangchuangyu.github.io/2015/02/ggtree---updating-a-tree-view/">ggtree - updating a tree view</a></li> |
... | ... |
@@ -388,8 +389,8 @@ |
388 | 389 |
<li><a href="https://phe-bioinformatics.github.io/blog/2017/06/14/ggtree_exploration">Growing a ggtree</a></li> |
389 | 390 |
<li><a href="https://phe-bioinformatics.github.io/blog/2017/07/07/ggtree_part2">Growing a ggtree - part 2, adding tip shapes</a></li> |
390 | 391 |
</ul> |
391 |
-</div> |
|
392 |
-<div id="tree-annotation" class="section level3"> |
|
392 |
+</section> |
|
393 |
+<section id="tree-annotation" class="level3"> |
|
393 | 394 |
<h3><i class="fa fa-angle-double-right"></i> Tree annotation</h3> |
394 | 395 |
<ul> |
395 | 396 |
<li><a href="https://guangchuangyu.github.io/2016/01/label-edge-number-in-ggtree">label edge number in ggtree</a></li> |
... | ... |
@@ -405,14 +406,14 @@ |
405 | 406 |
<li><a href="https://guangchuangyu.github.io/2016/10/xlim_tree-set-x-axis-limits-for-only-tree-panel/">xlim_tree: set x axis limits for only Tree panel</a></li> |
406 | 407 |
<li><a href="https://guangchuangyu.github.io/2016/12/add-layer-to-specific-panel-of-facet_plot-output/">add layer to specific panel of facet_plot output</a></li> |
407 | 408 |
</ul> |
408 |
-</div> |
|
409 |
-<div id="tree-manipulation" class="section level3"> |
|
409 |
+</section> |
|
410 |
+<section id="tree-manipulation" class="level3"> |
|
410 | 411 |
<h3><i class="fa fa-angle-double-right"></i> Tree manipulation</h3> |
411 | 412 |
<ul> |
412 | 413 |
<li><a href="https://guangchuangyu.github.io/2015/07/flip-and-rotate-branches-in-ggtree">flip and rotate branches in ggtree</a></li> |
413 | 414 |
</ul> |
414 |
-</div> |
|
415 |
-<div id="application" class="section level3"> |
|
415 |
+</section> |
|
416 |
+<section id="application" class="level3"> |
|
416 | 417 |
<h3><i class="fa fa-angle-double-right"></i> Application</h3> |
417 | 418 |
<ul> |
418 | 419 |
<li><a href="https://guangchuangyu.github.io/2016/09/ggtree-for-microbiome-data/">ggtree for microbiome data</a></li> |
... | ... |
@@ -420,37 +421,37 @@ |
420 | 421 |
<li><a href="http://guangchuangyu.github.io/2016/12/ggtree-version-of-plottree/">ggtree version of plotTree</a></li> |
421 | 422 |
<li><a href="https://guangchuangyu.github.io/2016/10/reproducible-logo-generated-by-ggtree">reproducible logo generated by ggtree</a></li> |
422 | 423 |
</ul> |
423 |
-</div> |
|
424 |
-<div id="funny-stuff" class="section level3"> |
|
424 |
+</section> |
|
425 |
+<section id="funny-stuff" class="level3"> |
|
425 | 426 |
<h3><i class="fa fa-angle-double-right"></i> Funny stuff</h3> |
426 | 427 |
<ul> |
427 | 428 |
<li><a href="https://guangchuangyu.github.io/2015/06/ggtree-with-funny-fonts">ggtree with funny fonts</a></li> |
428 | 429 |
<li><a href="https://guangchuangyu.github.io/2015/09/comic-phylogenetic-tree-with-ggtree-and-comicr">comic phylogenetic tree with ggtree and comicR</a></li> |
429 | 430 |
<li><a href="https://guangchuangyu.github.io/2015/12/use-emoji-font-in-r">use emoji font in R</a></li> |
430 | 431 |
</ul> |
431 |
-</div> |
|
432 |
-</div> |
|
433 |
-<div id="slides" class="section level2"> |
|
432 |
+</section> |
|
433 |
+</section> |
|
434 |
+<section id="slides" class="level2"> |
|
434 | 435 |
<h2><i class="fa fa-slideshare"></i> Slides</h2> |
435 | 436 |
<ul> |
436 | 437 |
<li><a href="https://guangchuangyu.github.io/presentation/2014-ggplot2/">Generating publication quality figures using R & ggplot2</a></li> |
437 | 438 |
<li><a href="https://guangchuangyu.github.io/presentation/2016-ggtree-chinar/">ggtree for visualization and annotation of phylogenetic trees</a></li> |
438 | 439 |
</ul> |
439 |
-</div> |
|
440 |
-<div id="video" class="section level2"> |
|
440 |
+</section> |
|
441 |
+<section id="video" class="level2"> |
|
441 | 442 |
<h2><i class="fa fa-youtube-play"></i> Video</h2> |
442 | 443 |
<ul> |
443 | 444 |
<li><a href="https://www.youtube.com/watch?v=KcF8Ec38mzI">interactive clade highlighting</a></li> |
444 | 445 |
<li><a href="https://www.youtube.com/watch?v=lKNn4QlPO0E">interactive rotating clades</a></li> |
445 | 446 |
<li><a href="https://www.youtube.com/watch?v=SmcceRD_jxg">interactive clade labeling</a></li> |
446 | 447 |
</ul> |
447 |
-</div> |
|
448 |
-<div id="workflow" class="section level2"> |
|
448 |
+</section> |
|
449 |
+<section id="workflow" class="level2"> |
|
449 | 450 |
<h2><i class="fa fa-gift"></i> Workflow</h2> |
450 | 451 |
<ul> |
451 | 452 |
<li><a href="https://rpubs.com/gutijosh9430/124817">recreate a tree from a publication (<strong>Bloom</strong> <em>et al</em>, <strong><em>Science</em></strong> 2010)</a></li> |
452 | 453 |
</ul> |
453 |
-</div> |
|
454 |
+</section> |
|
454 | 455 |
|
455 | 456 |
|
456 | 457 |
<aside class="copyright" role="note"> |
... | ... |
@@ -10,7 +10,7 @@ |
10 | 10 |
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1"> |
11 | 11 |
<meta http-equiv="X-UA-Compatible" content="IE=10" /> |
12 | 12 |
<title>FAQ - ggtree</title> |
13 |
- <meta name="generator" content="Hugo 0.24.1" /> |
|
13 |
+ <meta name="generator" content="Hugo 0.30.2" /> |
|
14 | 14 |
|
15 | 15 |
|
16 | 16 |
<meta name="description" content="Visualization and annotation of phylogenetic trees."> |
... | ... |
@@ -322,15 +322,16 @@ |
322 | 322 |
|
323 | 323 |
|
324 | 324 |
<li> |
325 |
- <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
- Contact via email |
|
327 |
- </a> |
|
325 |
+ <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
+ Contact via email |
|
327 |
+ </a> |
|
328 | 328 |
</li> |
329 | 329 |
|
330 | 330 |
</ul> |
331 | 331 |
|
332 |
+ <center><span class="zaln"><a href="https://guangchuangyu.github.io/2017/11/bmc-journal-protects-paper-of-plagiarism/" class="zb">Plea to against BMC</a></span></center> |
|
332 | 333 |
<center><span class="zaln"><a href="https://mp.weixin.qq.com/s?__biz=MzI5NjUyNzkxMg==&mid=2247484170&idx=1&sn=ce5f7eb6df66d79661276a64bf25b4bc&chksm=ec43b24ddb343b5b2877574153aeccd049a6824716063883edb35c2338bd32c067caf3885f53#rd" class="zb">赞赏</a></span></center> |
333 |
-<div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 |
+ <div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 | 335 |
</div> |
335 | 336 |
</div> |
336 | 337 |
</div> |
... | ... |
@@ -343,20 +344,20 @@ |
343 | 344 |
<h1>FAQ </h1> |
344 | 345 |
|
345 | 346 |
<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"></p> |
346 |
-<div id="installation" class="section level1"> |
|
347 |
+<section id="installation" class="level1"> |
|
347 | 348 |
<h1><i class="fa fa-download"></i> Installation</h1> |
348 |
-<div id="could-not-find-function" class="section level2"> |
|
349 |
+<section id="could-not-find-function" class="level2"> |
|
349 | 350 |
<h2><i class="fa fa-angle-double-right"></i> Could not find function</h2> |
350 | 351 |
<p>If you got <a href="https://github.com/GuangchuangYu/ggtree/issues/12">this error</a>, please make sure you are using the latest R and <code>ggtree</code>.</p> |
351 | 352 |
<p>Packages in Bioconductor, like <code>ggtree</code>, 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 <code>devel</code> branch.</p> |
352 | 353 |
<p>Sometimes I may write blog post to introduce new functions which is not available in <code>release</code> branch, you need to install the <code>devel</code> version of <code>ggtree</code> in order to use these new functions.</p> |
353 | 354 |
<p>You can download the <code>devel</code> version of <code>ggtree</code> from <a href="http://bioconductor.org/packages/devel/bioc/html/ggtree.html" class="uri">http://bioconductor.org/packages/devel/bioc/html/ggtree.html</a> and install it, or install the github version of <code>ggtree</code>.</p> |
354 | 355 |
<p>This also applied to other of my packages, including <code>GOSemSim</code>, <code>DOSE</code>, <code>clusterProfiler</code>, <code>ReactomePA</code> and <code>ChIPseeker</code>. If you got the <code>could not find function</code> error, upgrade your installation to latest release. If the error still exists after upgrading to latest release, you need to install the devel version.</p> |
355 |
-</div> |
|
356 |
-</div> |
|
357 |
-<div id="text-label" class="section level1"> |
|
356 |
+</section> |
|
357 |
+</section> |
|
358 |
+<section id="text-label" class="level1"> |
|
358 | 359 |
<h1><i class="fa fa-text-height"></i> Text & Label</h1> |
359 |
-<div id="tip-label-truncated" class="section level2"> |
|
360 |
+<section id="tip-label-truncated" class="level2"> |
|
360 | 361 |
<h2><i class="fa fa-angle-double-right"></i> Tip label truncated</h2> |
361 | 362 |
<p>ggplot2 can’t auto adjust xlim based on added text.</p> |
362 | 363 |
<pre class="r"><code>library(ggtree) |
... | ... |
@@ -365,8 +366,8 @@ tree<-read.tree(text="(Organism1.006G249400.1:0.03977,(Organism2.022118m |
365 | 366 |
ggtree(tree) + geom_tiplab()</code></pre> |
366 | 367 |
<p>This is because the units are in two different spaces (data and pixel). Users can use xlim to allocate more space for tip label.</p> |
367 | 368 |
<pre class="r"><code>ggtree(tree) + geom_tiplab() + xlim(0, 0.06)</code></pre> |
368 |
-</div> |
|
369 |
-<div id="modify-tip-labels" class="section level2"> |
|
369 |
+</section> |
|
370 |
+<section id="modify-tip-labels" class="level2"> |
|
370 | 371 |
<h2><i class="fa fa-angle-double-right"></i> Modify (tip) labels</h2> |
371 | 372 |
<p>This could be easily done via the <code>%<+%</code> operator to attach the modified version of the labels and than use <code>geom_tiplab</code> to display the modified version.</p> |
372 | 373 |
<pre><code>raxml_file <- system.file("extdata/RAxML", "RAxML_bipartitionsBranchLabels.H3", package="ggtree") |
... | ... |
@@ -376,8 +377,8 @@ lb = get.tree(raxml)$tip.label |
376 | 377 |
d = data.frame(label=lb, label2 = paste("AA", substring(lb, 1, 5))) |
377 | 378 |
ggtree(raxml) %<+% d + geom_tiplab(aes(label=label2))</code></pre> |
378 | 379 |
<p>see also <a href="https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bioc-ggtree/tFdFgCJ7gQA/tZ6phSgUDQAJ">1</a> and <a href="https://github.com/GuangchuangYu/ggtree/issues/106">2</a>.</p> |
379 |
-</div> |
|
380 |
-<div id="formatting-tip-labels" class="section level2"> |
|
380 |
+</section> |
|
381 |
+<section id="formatting-tip-labels" class="level2"> |
|
381 | 382 |
<h2><i class="fa fa-angle-double-right"></i> Formatting (tip) labels</h2> |
382 | 383 |
<p>If you want to format labels, you need to set <code>parse=TRUE</code> in <code>geom_text</code>/<code>geom_tiplab</code> and the <code>label</code> should be string that can be parsed into expression and displayed as described in <code>?plotmath</code>.</p> |
383 | 384 |
<p>For example, the tiplabels contains two parts, species name and accession number and we want to display species name in <em>italic</em>, we can use command like this:</p> |
... | ... |
@@ -394,8 +395,8 @@ d <- data.frame(label = tr$tip.label, genus = genus, |
394 | 395 |
ggtree(tr) %<+% d + xlim(NA, 5) + |
395 | 396 |
geom_tiplab(aes(label=paste0('italic(', genus, ')~bolditalic(', species, ')~', geo)), parse=T)</code></pre> |
396 | 397 |
<p>see also <a href="https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bioc-ggtree/BA7g-npY1BM" class="uri">https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bioc-ggtree/BA7g-npY1BM</a>.</p> |
397 |
-</div> |
|
398 |
-<div id="avoid-overlapping-text-labels" class="section level2"> |
|
398 |
+</section> |
|
399 |
+<section id="avoid-overlapping-text-labels" class="level2"> |
|
399 | 400 |
<h2><i class="fa fa-angle-double-right"></i> Avoid overlapping text labels</h2> |
400 | 401 |
<p>User can use <a href="https://cran.r-project.org/web/packages/ggrepel/">ggrepel</a> package to repel overlapping text labels.</p> |
401 | 402 |
<p>For example:</p> |
... | ... |
@@ -405,8 +406,8 @@ raxml_file <- system.file("extdata/RAxML", "RAxML_bipartitions |
405 | 406 |
raxml <- read.raxml(raxml_file) |
406 | 407 |
ggtree(raxml) + geom_label_repel(aes(label=bootstrap, fill=bootstrap))</code></pre> |
407 | 408 |
<p>For details, please refer to <a href="https://cran.r-project.org/web/packages/ggrepel/vignettes/ggrepel.html">ggrepel usage examples</a>.</p> |
408 |
-</div> |
|
409 |
-<div id="bootstrap-values-from-newick-format" class="section level2"> |
|
409 |
+</section> |
|
410 |
+<section id="bootstrap-values-from-newick-format" class="level2"> |
|
410 | 411 |
<h2><i class="fa fa-angle-double-right"></i> bootstrap values from newick format</h2> |
411 | 412 |
<p>It’s quite command to store <code>bootstrap</code> value as node label in <code>newick</code> format. Visualizing node label is easy using <code>geom_text2(aes(subset = !isTip, label=label))</code>.</p> |
412 | 413 |
<p>If you want to only display a subset of <code>bootstrap</code> (e.g. bootstrap > 80), you can’t simply using <code>geom_text2(subset= (label > 80), label=label)</code> since <code>label</code> is a character vector, which contains node label (bootstrap value) and tip label (taxa name). If we use <code>geom_text2(subset=(as.numeric(label) > 80), label=label)</code>, it will also fail since <code>NAs</code> were introduced by coercion. We need to convert <code>NAs</code> to logical <code>FALSE</code>, this can be done by the following code:</p> |
... | ... |
@@ -421,19 +422,19 @@ d$label <- as.numeric(d$label) |
421 | 422 |
d <- d[d$label > 80,] |
422 | 423 |
|
423 | 424 |
q + geom_text(data=d, aes(label=label))</code></pre> |
424 |
-</div> |
|
425 |
-</div> |
|
426 |
-<div id="aesthetic-mapping" class="section level1"> |
|
425 |
+</section> |
|
426 |
+</section> |
|
427 |
+<section id="aesthetic-mapping" class="level1"> |
|
427 | 428 |
<h1><i class="fa fa-map-marker"></i> <em>aesthetic</em> mapping</h1> |
428 |
-<div id="inherit-aes" class="section level2"> |
|
429 |
+<section id="inherit-aes" class="level2"> |
|
429 | 430 |
<h2><i class="fa fa-angle-double-right"></i> inherit <em>aes</em></h2> |
430 | 431 |
<pre class="r"><code>ggtree(rtree(30)) + geom_point()</code></pre> |
431 | 432 |
<p>For example, we can add symbolic points to nodes with <code>geom_point()</code> directly. The magic here is we don’t need to map <code>x</code> and <code>y</code> position of the points by providing <code>aes(x, y)</code> to <code>geom_point()</code> since it was already mapped by <code>ggtree</code> function and it serves as a global mapping for all layers.</p> |
432 | 433 |
<p>But what if we provide a <code>dataset</code> in a layer and the <code>dataset</code> doesn’t contain column of <code>x</code> and/or <code>y</code>, the layer function also try to map <code>x</code> and <code>y</code> and also others if you map them in <code>ggtree</code> function. As these variable is not available in your <code>dataset</code>, you will get the following error:</p> |
433 | 434 |
<pre><code>Error in eval(expr, envir, enclos) : object 'x' not found</code></pre> |
434 | 435 |
<p>This can be fixed by using parameter <code>inherit.aes=FALSE</code> which will disable inheriting mapping from <code>ggtree</code> function.</p> |
435 |
-</div> |
|
436 |
-<div id="use-in-aes" class="section level2"> |
|
436 |
+</section> |
|
437 |
+<section id="use-in-aes" class="level2"> |
|
437 | 438 |
<h2><i class="fa fa-angle-double-right"></i> use <code>$</code> in aes</h2> |
438 | 439 |
<p>NEVER DO THIS.</p> |
439 | 440 |
<p>see the explaination in the <a href="https://github.com/hadley/ggplot2-book/blob/master/layers.rmd#aesthetic-mappings-secaes">ggplot2 book 2ed</a>:</p> |
... | ... |
@@ -441,15 +442,15 @@ q + geom_text(data=d, aes(label=label))</code></pre> |
441 | 442 |
<p>Never refer to a variable with <code>$</code> (e.g., <code>diamonds$carat</code>) in <code>aes()</code>. 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.</p> |
442 | 443 |
</blockquote> |
443 | 444 |
<p>see also <a href="https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bioc-ggtree/hViM6vRZF94/MsZT8qRgBwAJ">1</a> and <a href="https://github.com/GuangchuangYu/ggtree/issues/106">2</a>.</p> |
444 |
-</div> |
|
445 |
-</div> |
|
446 |
-<div id="annotation" class="section level1"> |
|
445 |
+</section> |
|
446 |
+</section> |
|
447 |
+<section id="annotation" class="level1"> |
|
447 | 448 |
<h1><i class="fa fa-tree"></i> Annotation</h1> |
448 |
-<div id="colouring-edges-by-user-data" class="section level2"> |
|
449 |
+<section id="colouring-edges-by-user-data" class="level2"> |
|
449 | 450 |
<h2><i class="fa fa-angle-double-right"></i> colouring edges by user data</h2> |
450 | 451 |
<p>see my blog post: <a href="http://guangchuangyu.github.io/2016/12/edge-coloring-with-user-data/">Edge coloring with user data</a> and also my answer on <a href="https://github.com/GuangchuangYu/ggtree/issues/76" class="uri">https://github.com/GuangchuangYu/ggtree/issues/76</a> and <a href="https://groups.google.com/forum/#!topic/bioc-ggtree/4GgivKqVjB8" class="uri">https://groups.google.com/forum/#!topic/bioc-ggtree/4GgivKqVjB8</a>.</p> |
451 |
-</div> |
|
452 |
-</div> |
|
452 |
+</section> |
|
453 |
+</section> |
|
453 | 454 |
|
454 | 455 |
|
455 | 456 |
<aside class="copyright" role="note"> |
... | ... |
@@ -10,7 +10,7 @@ |
10 | 10 |
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1"> |
11 | 11 |
<meta http-equiv="X-UA-Compatible" content="IE=10" /> |
12 | 12 |
<title>Featured Articles - ggtree</title> |
13 |
- <meta name="generator" content="Hugo 0.24.1" /> |
|
13 |
+ <meta name="generator" content="Hugo 0.30.2" /> |
|
14 | 14 |
|
15 | 15 |
|
16 | 16 |
<meta name="description" content="Visualization and annotation of phylogenetic trees."> |
... | ... |
@@ -322,15 +322,16 @@ |
322 | 322 |
|
323 | 323 |
|
324 | 324 |
<li> |
325 |
- <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
- Contact via email |
|
327 |
- </a> |
|
325 |
+ <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
+ Contact via email |
|
327 |
+ </a> |
|
328 | 328 |
</li> |
329 | 329 |
|
330 | 330 |
</ul> |
331 | 331 |
|
332 |
+ <center><span class="zaln"><a href="https://guangchuangyu.github.io/2017/11/bmc-journal-protects-paper-of-plagiarism/" class="zb">Plea to against BMC</a></span></center> |
|
332 | 333 |
<center><span class="zaln"><a href="https://mp.weixin.qq.com/s?__biz=MzI5NjUyNzkxMg==&mid=2247484170&idx=1&sn=ce5f7eb6df66d79661276a64bf25b4bc&chksm=ec43b24ddb343b5b2877574153aeccd049a6824716063883edb35c2338bd32c067caf3885f53#rd" class="zb">赞赏</a></span></center> |
333 |
-<div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 |
+ <div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 | 335 |
</div> |
335 | 336 |
</div> |
336 | 337 |
</div> |
... | ... |
@@ -345,17 +346,17 @@ |
345 | 346 |
<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"></p> |
346 | 347 |
<p><a href="https://github.com/GuangchuangYu/featured_img">Let us know</a> if you have published using <code>ggtree</code> and your publication will be featured here.</p> |
347 | 348 |
<p><img src="../images/citation.png" width="880"/></p> |
348 |
-<div id="section" class="section level2"> |
|
349 |
+<section id="section" class="level2"> |
|
349 | 350 |
<h2><i class="fa fa-calendar"></i> 2017</h2> |
350 | 351 |
<p><a href="http://science.sciencemag.org/content/358/6364/789.full">Integrated view of <em>Vibrio cholerae</em> in the Americas</a>. *<strong>Science</strong>, 2017, 358(6364):789-793.</p> |
351 | 352 |
<p><a href="http://dx.doi.org/10.1073/pnas.1617959114">Phylogenetic analysis of the human antibody repertoire reveals quantitative signatures of immune senescence and aging</a>. <strong><em>PNAS</em></strong>, 2017, 114(5):1105-111-.</p> |
352 | 353 |
<p><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5376617/">Horses in Denmark Are a Reservoir of Diverse Clones of Methicillin-Resistant and -Susceptible Staphylococcus aureus</a>. <strong><em>Frontiers in Microbiology</em></strong>, 2017, 8:543</p> |
353 | 354 |
<p><a href="https://microbiomejournal.biomedcentral.com/articles/10.1186/s40168-017-0232-3">Gut metagenomes of type 2 diabetic patients have characteristic single-nucleotide polymorphism distribution in <em>Bacteroides coprocola</em></a>. <strong><em>Microbiome</em></strong>, 2017, 5:15</p> |
354 |
-</div> |
|
355 |
-<div id="section-1" class="section level2"> |
|
355 |
+</section> |
|
356 |
+<section id="section-1" class="level2"> |
|
356 | 357 |
<h2><i class="fa fa-calendar"></i> 2016</h2> |
357 | 358 |
<p><a href="http://aem.asm.org/content/82/22/6788.short">Function and Phylogeny of Bacterial Butyryl Coenzyme A:Acetate Transferases and Their Diversity in the Proximal Colon of Swine</a>. <strong><em>Applied and Environmental Microbiology</em></strong>. 2016, 82(22):6788-6798.</p> |
358 |
-</div> |
|
359 |
+</section> |
|
359 | 360 |
|
360 | 361 |
|
361 | 362 |
<aside class="copyright" role="note"> |
... | ... |
@@ -10,7 +10,7 @@ |
10 | 10 |
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1"> |
11 | 11 |
<meta http-equiv="X-UA-Compatible" content="IE=10" /> |
12 | 12 |
<title>Gallery - ggtree</title> |
13 |
- <meta name="generator" content="Hugo 0.24.1" /> |
|
13 |
+ <meta name="generator" content="Hugo 0.30.2" /> |
|
14 | 14 |
|
15 | 15 |
|
16 | 16 |
<meta name="description" content="Visualization and annotation of phylogenetic trees."> |
... | ... |
@@ -322,15 +322,16 @@ |
322 | 322 |
|
323 | 323 |
|
324 | 324 |
<li> |
325 |
- <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
- Contact via email |
|
327 |
- </a> |
|
325 |
+ <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
+ Contact via email |
|
327 |
+ </a> |
|
328 | 328 |
</li> |
329 | 329 |
|
330 | 330 |
</ul> |
331 | 331 |
|
332 |
+ <center><span class="zaln"><a href="https://guangchuangyu.github.io/2017/11/bmc-journal-protects-paper-of-plagiarism/" class="zb">Plea to against BMC</a></span></center> |
|
332 | 333 |
<center><span class="zaln"><a href="https://mp.weixin.qq.com/s?__biz=MzI5NjUyNzkxMg==&mid=2247484170&idx=1&sn=ce5f7eb6df66d79661276a64bf25b4bc&chksm=ec43b24ddb343b5b2877574153aeccd049a6824716063883edb35c2338bd32c067caf3885f53#rd" class="zb">赞赏</a></span></center> |
333 |
-<div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 |
+ <div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 | 335 |
</div> |
335 | 336 |
</div> |
336 | 337 |
</div> |
... | ... |
@@ -343,66 +344,36 @@ |
343 | 344 |
<h1>Gallery </h1> |
344 | 345 |
|
345 | 346 |
<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"></p> |
346 |
-<div class="figure"> |
|
347 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2017_science.jpg" /> |
|
348 |
- |
|
349 |
-</div> |
|
347 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2017_science.jpg" /></p> |
|
350 | 348 |
<p><a href="http://dx.doi.org/10.1126/science.aao2136" class="uri">http://dx.doi.org/10.1126/science.aao2136</a></p> |
351 | 349 |
<hr /> |
352 |
-<div class="figure"> |
|
353 |
-<img src="http://media.springernature.com/lw785/springer-static/image/art%3A10.1186%2Fs40168-017-0331-1/MediaObjects/40168_2017_331_Fig3_HTML.gif" /> |
|
354 |
- |
|
355 |
-</div> |
|
350 |
+<p><img src="http://media.springernature.com/lw785/springer-static/image/art%3A10.1186%2Fs40168-017-0331-1/MediaObjects/40168_2017_331_Fig3_HTML.gif" /></p> |
|
356 | 351 |
<p><a href="https://doi.org/10.1186/s40168-017-0331-1" class="uri">https://doi.org/10.1186/s40168-017-0331-1</a></p> |
357 | 352 |
<hr /> |
358 |
-<div class="figure"> |
|
359 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/syen12249-fig-0002.png" /> |
|
360 |
- |
|
361 |
-</div> |
|
353 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/syen12249-fig-0002.png" /></p> |
|
362 | 354 |
<p><a href="https://doi.org/10.1111/syen.12249" class="uri">https://doi.org/10.1111/syen.12249</a></p> |
363 | 355 |
<hr /> |
364 |
-<div class="figure"> |
|
365 |
-<img src="http://media.springernature.com/full/springer-static/image/art%3A10.1186%2Fs12915-017-0402-6/MediaObjects/12915_2017_402_Fig2_HTML.gif" /> |
|
366 |
- |
|
367 |
-</div> |
|
356 |
+<p><img src="http://media.springernature.com/full/springer-static/image/art%3A10.1186%2Fs12915-017-0402-6/MediaObjects/12915_2017_402_Fig2_HTML.gif" /></p> |
|
368 | 357 |
<p><a href="https://doi.org/10.1186/s12915-017-0402-6" class="uri">https://doi.org/10.1186/s12915-017-0402-6</a></p> |
369 | 358 |
<hr /> |
370 |
-<div class="figure"> |
|
371 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/fmicb-08-00543-g0002.jpg" /> |
|
372 |
- |
|
373 |
-</div> |
|
359 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/fmicb-08-00543-g0002.jpg" /></p> |
|
374 | 360 |
<p><a href="http://dx.doi.org/10.3389/fmicb.2017.00543" class="uri">http://dx.doi.org/10.3389/fmicb.2017.00543</a></p> |
375 | 361 |
<hr /> |
376 |
-<div class="figure"> |
|
377 |
-<img src="http://www.frontiersin.org/files/Articles/220056/fmicb-08-00456-HTML-r1/image_m/fmicb-08-00456-g002.jpg" /> |
|
378 |
- |
|
379 |
-</div> |
|
362 |
+<p><img src="http://www.frontiersin.org/files/Articles/220056/fmicb-08-00456-HTML-r1/image_m/fmicb-08-00456-g002.jpg" /></p> |
|
380 | 363 |
<p><a href="https://doi.org/10.3389/fmicb.2017.00456" class="uri">https://doi.org/10.3389/fmicb.2017.00456</a></p> |
381 | 364 |
<hr /> |
382 |
-<div class="figure"> |
|
383 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/40168_2017_232_Fig2_HTML.gif" /> |
|
384 |
- |
|
385 |
-</div> |
|
365 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/40168_2017_232_Fig2_HTML.gif" /></p> |
|
386 | 366 |
<p><a href="http://dx.doi.org/10.1186/s40168-017-0232-3" class="uri">http://dx.doi.org/10.1186/s40168-017-0232-3</a></p> |
387 | 367 |
<hr /> |
388 | 368 |
<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/C2mxyBuUcAEt391.jpg" /> <a href="http://dx.doi.org/10.1111/2041-210X.12628" class="uri">http://dx.doi.org/10.1111/2041-210X.12628</a></p> |
389 | 369 |
<hr /> |
390 |
-<div class="figure"> |
|
391 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2017-01-21-115646_969x444_scrot.png" /> |
|
392 |
- |
|
393 |
-</div> |
|
370 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2017-01-21-115646_969x444_scrot.png" /></p> |
|
394 | 371 |
<p><a href="http://dx.doi.org/10.1128/AEM.02307-16" class="uri">http://dx.doi.org/10.1128/AEM.02307-16</a></p> |
395 | 372 |
<hr /> |
396 |
-<div class="figure"> |
|
397 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2016_fcimb-06-00036-g003.jpg" /> |
|
398 |
- |
|
399 |
-</div> |
|
373 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2016_fcimb-06-00036-g003.jpg" /></p> |
|
400 | 374 |
<p><a href="http://dx.doi.org/10.3389%2Ffcimb.2016.00036">http://dx.doi.org/10.3389%2Ffcimb.2016.00036</a></p> |
401 | 375 |
<hr /> |
402 |
-<div class="figure"> |
|
403 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /> |
|
404 |
- |
|
405 |
-</div> |
|
376 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /></p> |
|
406 | 377 |
<p><a href="http://dx.doi.org/10.1016/j.meegid.2015.12.006" class="uri">http://dx.doi.org/10.1016/j.meegid.2015.12.006</a></p> |
407 | 378 |
|
408 | 379 |
|
... | ... |
@@ -19,16 +19,16 @@ |
19 | 19 |
|
20 | 20 |
<guid>https://guangchuangyu.github.io/ggtree/gallery/</guid> |
21 | 21 |
<description>http://dx.doi.org/10.1126/science.aao2136 |
22 |
- https://doi.org/10.1186/s40168-017-0331-1 |
|
23 |
- https://doi.org/10.1111/syen.12249 |
|
24 |
- https://doi.org/10.1186/s12915-017-0402-6 |
|
25 |
- http://dx.doi.org/10.3389/fmicb.2017.00543 |
|
26 |
- https://doi.org/10.3389/fmicb.2017.00456 |
|
27 |
- http://dx.doi.org/10.1186/s40168-017-0232-3 |
|
22 |
+https://doi.org/10.1186/s40168-017-0331-1 |
|
23 |
+https://doi.org/10.1111/syen.12249 |
|
24 |
+https://doi.org/10.1186/s12915-017-0402-6 |
|
25 |
+http://dx.doi.org/10.3389/fmicb.2017.00543 |
|
26 |
+https://doi.org/10.3389/fmicb.2017.00456 |
|
27 |
+http://dx.doi.org/10.1186/s40168-017-0232-3 |
|
28 | 28 |
http://dx.doi.org/10.1111/2041-210X.12628 |
29 |
- http://dx.doi.org/10.1128/AEM.02307-16 |
|
30 |
- http://dx.doi.org/10.3389%2Ffcimb.2016.00036 |
|
31 |
- http://dx.doi.org/10.1016/j.meegid.2015.12.006</description> |
|
29 |
+http://dx.doi.org/10.1128/AEM.02307-16 |
|
30 |
+http://dx.doi.org/10.3389%2Ffcimb.2016.00036 |
|
31 |
+http://dx.doi.org/10.1016/j.meegid.2015.12.006</description> |
|
32 | 32 |
</item> |
33 | 33 |
|
34 | 34 |
</channel> |
... | ... |
@@ -10,7 +10,7 @@ |
10 | 10 |
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1"> |
11 | 11 |
<meta http-equiv="X-UA-Compatible" content="IE=10" /> |
12 | 12 |
<title>ggtree</title> |
13 |
- <meta name="generator" content="Hugo 0.24.1" /> |
|
13 |
+ <meta name="generator" content="Hugo 0.30.2" /> |
|
14 | 14 |
|
15 | 15 |
|
16 | 16 |
<meta name="description" content="Visualization and annotation of phylogenetic trees."> |
... | ... |
@@ -322,15 +322,16 @@ |
322 | 322 |
|
323 | 323 |
|
324 | 324 |
<li> |
325 |
- <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
- Contact via email |
|
327 |
- </a> |
|
325 |
+ <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
+ Contact via email |
|
327 |
+ </a> |
|
328 | 328 |
</li> |
329 | 329 |
|
330 | 330 |
</ul> |
331 | 331 |
|
332 |
+ <center><span class="zaln"><a href="https://guangchuangyu.github.io/2017/11/bmc-journal-protects-paper-of-plagiarism/" class="zb">Plea to against BMC</a></span></center> |
|
332 | 333 |
<center><span class="zaln"><a href="https://mp.weixin.qq.com/s?__biz=MzI5NjUyNzkxMg==&mid=2247484170&idx=1&sn=ce5f7eb6df66d79661276a64bf25b4bc&chksm=ec43b24ddb343b5b2877574153aeccd049a6824716063883edb35c2338bd32c067caf3885f53#rd" class="zb">赞赏</a></span></center> |
333 |
-<div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 |
+ <div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 | 335 |
</div> |
335 | 336 |
</div> |
336 | 337 |
</div> |
... | ... |
@@ -343,36 +344,26 @@ |
343 | 344 |
|
344 | 345 |
<h1>ggtree: visualization and annotation of phylogenetic trees </h1> |
345 | 346 |
|
346 |
- <div id="plea-to-against-bmc" class="section level2"> |
|
347 |
-<h2>Plea to against BMC</h2> |
|
348 |
-<blockquote class="twitter-tweet"><p lang="en" dir="ltr">BMC journal protects paper of plagiarism <a href="https://t.co/FfSv7dPFXV">https://t.co/FfSv7dPFXV</a> <a href="https://twitter.com/RetractionWatch?ref_src=twsrc%5Etfw">@RetractionWatch</a> <a href="https://twitter.com/C0PE?ref_src=twsrc%5Etfw">@C0PE</a></p>— Guangchuang Yu (@guangchuangyu) <a href="https://twitter.com/guangchuangyu/status/928836702998638592?ref_src=twsrc%5Etfw">November 10, 2017</a></blockquote> |
|
349 |
-<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> |
|
350 |
- |
|
351 |
-<hr /> |
|
352 |
-<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"> <link rel="stylesheet" href="https://guangchuangyu.github.io/css/academicons.min.css"></p> |
|
347 |
+ <p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"> <link rel="stylesheet" href="https://guangchuangyu.github.io/css/academicons.min.css"></p> |
|
353 | 348 |
<p><img src="https://raw.githubusercontent.com/Bioconductor/BiocStickers/master/ggtree/ggtree.png" height="200" align="right" /></p> |
354 |
-<p><a href="https://bioconductor.org/packages/ggtree"><img src="https://img.shields.io/badge/release%20version-1.10.0-blue.svg?style=flat" alt="releaseVersion" /></a> <a href="https://github.com/guangchuangyu/ggtree"><img src="https://img.shields.io/badge/devel%20version-1.11.0-blue.svg?style=flat" alt="develVersion" /></a> <a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img src="https://img.shields.io/badge/downloads-21118/total-blue.svg?style=flat" alt="total" /></a> <a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img src="https://img.shields.io/badge/downloads-1156/month-blue.svg?style=flat" alt="month" /></a></p> |
|
349 |
+<p><a href="https://bioconductor.org/packages/ggtree"><img src="https://img.shields.io/badge/release%20version-1.10.0-blue.svg?style=flat" alt="releaseVersion" /></a> <a href="https://github.com/guangchuangyu/ggtree"><img src="https://img.shields.io/badge/devel%20version-1.11.1-blue.svg?style=flat" alt="develVersion" /></a> <a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img src="https://img.shields.io/badge/downloads-21262/total-blue.svg?style=flat" alt="total" /></a> <a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img src="https://img.shields.io/badge/downloads-1156/month-blue.svg?style=flat" alt="month" /></a></p> |
|
355 | 350 |
<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. <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> |
356 |
-</div> |
|
357 |
-<div id="authors" class="section level2"> |
|
351 |
+<section id="authors" class="level2"> |
|
358 | 352 |
<h2><i class="fa fa-user"></i> Authors</h2> |
359 | 353 |
<p>Guangchuang Yu and Tommy Tsan-Yuk Lam, School of Public Health, The University of Hong Kong.</p> |
360 |
-</div> |
|
361 |
-<div id="citation" class="section level2"> |
|
354 |
+</section> |
|
355 |
+<section id="citation" class="level2"> |
|
362 | 356 |
<h2><i class="fa fa-book"></i> Citation</h2> |
363 | 357 |
<p>Please cite the following article when using <code>ggtree</code>:</p> |
364 | 358 |
<p><a href="http://dx.doi.org/10.1111/2041-210X.12628"><img src="https://img.shields.io/badge/doi-10.1111/2041--210X.12628-blue.svg?style=flat" alt="doi" /></a> <a href="https://www.altmetric.com/details/10533079"><img src="https://img.shields.io/badge/Altmetric-336-blue.svg?style=flat" alt="Altmetric" /></a> <a href="https://scholar.google.com.hk/scholar?oi=bibs&hl=en&cites=7268358477862164627"><img src="https://img.shields.io/badge/cited%20by-47-blue.svg?style=flat" alt="citation" /></a></p> |
365 | 359 |
<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> |
366 |
-</div> |
|
367 |
-<div id="featured-articles" class="section level2"> |
|
360 |
+</section> |
|
361 |
+<section id="featured-articles" class="level2"> |
|
368 | 362 |
<h2><i class="fa fa-pencil"></i> Featured Articles</h2> |
369 |
-<div class="figure"> |
|
370 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /> |
|
371 |
- |
|
372 |
-</div> |
|
363 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /></p> |
|
373 | 364 |
<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> |
374 |
-</div> |
|
375 |
-<div id="installation" class="section level2"> |
|
365 |
+</section> |
|
366 |
+<section id="installation" class="level2"> |
|
376 | 367 |
<h2><i class="fa fa-download"></i> Installation</h2> |
377 | 368 |
<p>Install <code>ggtree</code> is easy, follow the guide on the <a href="https://bioconductor.org/packages/ggtree/">Bioconductor page</a>:</p> |
378 | 369 |
<pre class="r"><code>## try http:// if https:// URLs are not supported |
... | ... |
@@ -380,18 +371,18 @@ source("https://bioconductor.org/biocLite.R") |
380 | 371 |
## biocLite("BiocUpgrade") ## you may need this |
381 | 372 |
biocLite("ggtree")</code></pre> |
382 | 373 |
<p>If you have problems when installing some of the dependent packages, please refer to the <a href="https://github.com/GuangchuangYu/ggtree/wiki/ggtree-installation">ggtree-installation</a> wiki page.</p> |
383 |
-</div> |
|
384 |
-<div id="overview" class="section level2"> |
|
374 |
+</section> |
|
375 |
+<section id="overview" class="level2"> |
|
385 | 376 |
<h2><i class="fa fa-cogs"></i> Overview</h2> |
386 |
-<div id="getting-tree-into-r" class="section level4"> |
|
377 |
+<section id="getting-tree-into-r" class="level4"> |
|
387 | 378 |
<h4><i class="fa fa-angle-double-right"></i> Getting tree into R</h4> |
388 | 379 |
<ul> |
389 | 380 |
<li>tree parsers: bring evolution evidences to be used/analyzed in <code>R</code></li> |
390 | 381 |
<li><code>merge_tree</code>: allows evolution evidences to be merged and compared</li> |
391 | 382 |
<li><code>fortify</code> methods: convert tree objects into tidy data frame</li> |
392 | 383 |
</ul> |
393 |
-</div> |
|
394 |
-<div id="tree-visualization-annotation" class="section level4"> |
|
384 |
+</section> |
|
385 |
+<section id="tree-visualization-annotation" class="level4"> |
|
395 | 386 |
<h4><i class="fa fa-angle-double-right"></i> Tree visualization & annotation</h4> |
396 | 387 |
<ul> |
397 | 388 |
<li>parsing tree as a collection of nodes allows grammar of graphics to be supported</li> |
... | ... |
@@ -399,41 +390,41 @@ biocLite("ggtree")</code></pre> |
399 | 390 |
<li>several layers and functions for tree annotation</li> |
400 | 391 |
<li>supports annotating phylogenetic trees with user’s own data</li> |
401 | 392 |
</ul> |
402 |
-</div> |
|
403 |
-<div id="tree-manipulation" class="section level4"> |
|
393 |
+</section> |
|
394 |
+<section id="tree-manipulation" class="level4"> |
|
404 | 395 |
<h4><i class="fa fa-angle-double-right"></i> Tree manipulation</h4> |
405 | 396 |
<ul> |
406 | 397 |
<li>helper functions for tree manipulation, make it possible to explore the tree visually</li> |
407 | 398 |
</ul> |
408 | 399 |
<p><i class="fa fa-hand-o-right"></i> Find out details and examples on <i class="fa fa-book"></i> <a href="https://guangchuangyu.github.io/ggtree/documentation/">Documentation</a>.</p> |
409 |
-</div> |
|
410 |
-</div> |
|
411 |
-<div id="projects-that-depend-on-ggtree" class="section level2"> |
|
400 |
+</section> |
|
401 |
+</section> |
|
402 |
+<section id="projects-that-depend-on-ggtree" class="level2"> |
|
412 | 403 |
<h2><i class="fa fa-code-fork"></i> Projects that depend on <em>ggtree</em></h2> |
413 |
-<div id="cran-packages" class="section level4"> |
|
404 |
+<section id="cran-packages" class="level4"> |
|
414 | 405 |
<h4><i class="fa fa-angle-double-right"></i> CRAN packages</h4> |
415 | 406 |
<ul> |
416 | 407 |
<li><a href="https://cran.r-project.org/package=harrietr">harrietr</a>: Wrangle Phylogenetic Distance Matrices and Other Utilities</li> |
417 | 408 |
</ul> |
418 |
-</div> |
|
419 |
-<div id="bioconductor-packages" class="section level4"> |
|
409 |
+</section> |
|
410 |
+<section id="bioconductor-packages" class="level4"> |
|
420 | 411 |
<h4><i class="fa fa-angle-double-right"></i> Bioconductor packages</h4> |
421 | 412 |
<ul> |
422 | 413 |
<li><a href="https://www.bioconductor.org/packages/LINC">LINC</a>: co-expression of lincRNAs and protein-coding genes</li> |
423 | 414 |
<li><a href="https://www.bioconductor.org/packages/LymphoSeq">LymphoSeq</a>: Analyze high-throughput sequencing of T and B cell receptors</li> |
424 | 415 |
<li><a href="https://www.bioconductor.org/packages/philr">philr</a>: Phylogenetic partitioning based ILR transform for metagenomics data</li> |
425 | 416 |
</ul> |
426 |
-</div> |
|
427 |
-<div id="other-applications" class="section level4"> |
|
417 |
+</section> |
|
418 |
+<section id="other-applications" class="level4"> |
|
428 | 419 |
<h4><i class="fa fa-angle-double-right"></i> Other applications</h4> |
429 | 420 |
<ul> |
430 | 421 |
<li><a href="https://bitbucket.org/biobakery/breadcrumbs">BreadCrumbs</a>: Collection of scripts for metagenomics analysis</li> |
431 | 422 |
<li><a href="https://github.com/esnapd/DegeneratePrimerTools">DegeneratePrimerTools</a>: Utilities for Creating and Validating Degenerate primers</li> |
432 | 423 |
<li><a href="https://github.com/olli0601/phyloscan">phyloscan</a>: scan phylogenies created along a genome for patterns</li> |
433 | 424 |
</ul> |
434 |
-</div> |
|
435 |
-</div> |
|
436 |
-<div id="feedback" class="section level2"> |
|
425 |
+</section> |
|
426 |
+</section> |
|
427 |
+<section id="feedback" class="level2"> |
|
437 | 428 |
<h2><i class="fa fa-comments"></i> Feedback</h2> |
438 | 429 |
<ul class="fa-ul"> |
439 | 430 |
<li> |
... | ... |
@@ -452,7 +443,7 @@ biocLite("ggtree")</code></pre> |
452 | 443 |
<i class="fa-li fa fa-commenting"></i> Join the group chat on <a href="https://twitter.com/hashtag/ggtree"><i class="fa fa-twitter fa-lg"></i></a> and <a href="http://huati.weibo.com/k/ggtree"><i class="fa fa-weibo fa-lg"></i></a> |
453 | 444 |
</li> |
454 | 445 |
</ul> |
455 |
-</div> |
|
446 |
+</section> |
|
456 | 447 |
|
457 | 448 |
|
458 | 449 |
|
... | ... |
@@ -18,9 +18,8 @@ |
18 | 18 |
<pubDate>Thu, 06 Jul 2017 12:08:13 +0100</pubDate> |
19 | 19 |
|
20 | 20 |
<guid>https://guangchuangyu.github.io/ggtree/</guid> |
21 |
- <description>Plea to against BMC BMC journal protects paper of plagiarism https://t.co/FfSv7dPFXV @RetractionWatch @C0PE |
|
22 |
-&mdash; Guangchuang Yu (@guangchuangyu) November 10, 2017 |
|
23 |
-The ggtree package extending the ggplot2 package. It based on grammar of graphics and takes all the good parts of ggplot2. ggtree is designed for not only viewing phylogenetic tree but also displaying annotation data on the tree. ggtree is released within the Bioconductor project and the source code is hosted on GitHub.</description> |
|
21 |
+ <description>The ggtree package extending the ggplot2 package. It based on grammar of graphics and takes all the good parts of ggplot2. ggtree is designed for not only viewing phylogenetic tree but also displaying annotation data on the tree. ggtree is released within the Bioconductor project and the source code is hosted on GitHub. |
|
22 |
+ Authors Guangchuang Yu and Tommy Tsan-Yuk Lam, School of Public Health, The University of Hong Kong.</description> |
|
24 | 23 |
</item> |
25 | 24 |
|
26 | 25 |
<item> |
... | ... |
@@ -63,16 +62,16 @@ Gut metagenomes of type 2 diabetic patients have characteristic single-nucleotid |
63 | 62 |
|
64 | 63 |
<guid>https://guangchuangyu.github.io/ggtree/gallery/</guid> |
65 | 64 |
<description>http://dx.doi.org/10.1126/science.aao2136 |
66 |
- https://doi.org/10.1186/s40168-017-0331-1 |
|
67 |
- https://doi.org/10.1111/syen.12249 |
|
68 |
- https://doi.org/10.1186/s12915-017-0402-6 |
|
69 |
- http://dx.doi.org/10.3389/fmicb.2017.00543 |
|
70 |
- https://doi.org/10.3389/fmicb.2017.00456 |
|
71 |
- http://dx.doi.org/10.1186/s40168-017-0232-3 |
|
65 |
+https://doi.org/10.1186/s40168-017-0331-1 |
|
66 |
+https://doi.org/10.1111/syen.12249 |
|
67 |
+https://doi.org/10.1186/s12915-017-0402-6 |
|
68 |
+http://dx.doi.org/10.3389/fmicb.2017.00543 |
|
69 |
+https://doi.org/10.3389/fmicb.2017.00456 |
|
70 |
+http://dx.doi.org/10.1186/s40168-017-0232-3 |
|
72 | 71 |
http://dx.doi.org/10.1111/2041-210X.12628 |
73 |
- http://dx.doi.org/10.1128/AEM.02307-16 |
|
74 |
- http://dx.doi.org/10.3389%2Ffcimb.2016.00036 |
|
75 |
- http://dx.doi.org/10.1016/j.meegid.2015.12.006</description> |
|
72 |
+http://dx.doi.org/10.1128/AEM.02307-16 |
|
73 |
+http://dx.doi.org/10.3389%2Ffcimb.2016.00036 |
|
74 |
+http://dx.doi.org/10.1016/j.meegid.2015.12.006</description> |
|
76 | 75 |
</item> |
77 | 76 |
|
78 | 77 |
<item> |
... | ... |
@@ -10,7 +10,7 @@ |
10 | 10 |
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1"> |
11 | 11 |
<meta http-equiv="X-UA-Compatible" content="IE=10" /> |
12 | 12 |
<title>Tweets - ggtree</title> |
13 |
- <meta name="generator" content="Hugo 0.24.1" /> |
|
13 |
+ <meta name="generator" content="Hugo 0.30.2" /> |
|
14 | 14 |
|
15 | 15 |
|
16 | 16 |
<meta name="description" content="Visualization and annotation of phylogenetic trees."> |
... | ... |
@@ -322,15 +322,16 @@ |
322 | 322 |
|
323 | 323 |
|
324 | 324 |
<li> |
325 |
- <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
- Contact via email |
|
327 |
- </a> |
|
325 |
+ <a href="mailto:guangchuangyu@gmail.com" title="Email of guangchuangyu@gmail.com"> |
|
326 |
+ Contact via email |
|
327 |
+ </a> |
|
328 | 328 |
</li> |
329 | 329 |
|
330 | 330 |
</ul> |
331 | 331 |
|
332 |
+ <center><span class="zaln"><a href="https://guangchuangyu.github.io/2017/11/bmc-journal-protects-paper-of-plagiarism/" class="zb">Plea to against BMC</a></span></center> |
|
332 | 333 |
<center><span class="zaln"><a href="https://mp.weixin.qq.com/s?__biz=MzI5NjUyNzkxMg==&mid=2247484170&idx=1&sn=ce5f7eb6df66d79661276a64bf25b4bc&chksm=ec43b24ddb343b5b2877574153aeccd049a6824716063883edb35c2338bd32c067caf3885f53#rd" class="zb">赞赏</a></span></center> |
333 |
-<div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 |
+ <div style="width:250px;margin:auto;"><script type="text/javascript" src="//rf.revolvermaps.com/0/0/7.js?i=5qpvv5zz7fp&m=0&c=ff0000&cr1=ffffff&sx=0" async="async"></script></div> |
|
334 | 335 |
</div> |
335 | 336 |
</div> |
336 | 337 |
</div> |
... | ... |
@@ -7,7 +7,7 @@ weight: 10 |
7 | 7 |
|
8 | 8 |
|
9 | 9 |
<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"></p> |
10 |
-<div id="vignettes" class="section level2"> |
|
10 |
+<section id="vignettes" class="level2"> |
|
11 | 11 |
<h2><i class="fa fa-book"></i> Vignettes</h2> |
12 | 12 |
<ul> |
13 | 13 |
<li><a href="https://bioconductor.org/packages/devel/bioc/vignettes/ggtree/inst/doc/ggtree.html">ggtree</a></li> |
... | ... |
@@ -19,10 +19,10 @@ weight: 10 |
19 | 19 |
<li><a href="https://bioconductor.org/packages/devel/bioc/vignettes/ggtree/inst/doc/ggtreeUtilities.html">ggtree utilities</a></li> |
20 | 20 |
<li><a href="https://cran.r-project.org/web/packages/emojifont/vignettes/phylomoji.html">Phylomoji</a></li> |
21 | 21 |
</ul> |
22 |
-</div> |
|
23 |
-<div id="blog-posts" class="section level2"> |
|
22 |
+</section> |
|
23 |
+<section id="blog-posts" class="level2"> |
|
24 | 24 |
<h2><i class="fa fa-wordpress"></i> Blog posts</h2> |
25 |
-<div id="news-and-updates" class="section level3"> |
|
25 |
+<section id="news-and-updates" class="level3"> |
|
26 | 26 |
<h3><i class="fa fa-angle-double-right"></i> News and updates</h3> |
27 | 27 |
<ul> |
28 | 28 |
<li><a href="https://guangchuangyu.github.io/2014/12/viewing-and-annotating-phylogenetic-tree-with-ggtree">viewing and annotating phylogenetic tree with ggtree</a></li> |
... | ... |
@@ -34,16 +34,16 @@ weight: 10 |
34 | 34 |
<li><a href="https://guangchuangyu.github.io/2016/10/bioc-34-news-of-my-bioc-packages">BioC 3.4: NEWS of my BioC packages</a></li> |
35 | 35 |
<li><a href="https://guangchuangyu.github.io/2016/08/ggtree-paper-published">ggtree paper published</a></li> |
36 | 36 |
</ul> |
37 |
-</div> |
|
38 |
-<div id="data-manipulation" class="section level3"> |
|
37 |
+</section> |
|
38 |
+<section id="data-manipulation" class="level3"> |
|
39 | 39 |
<h3><i class="fa fa-angle-double-right"></i> Data manipulation</h3> |
40 | 40 |
<ul> |
41 | 41 |
<li><a href="https://guangchuangyu.github.io/2015/09/subsetting-data-in-ggtree">subsetting data in ggtree</a></li> |
42 | 42 |
<li><a href="https://guangchuangyu.github.io/2016/01/ggtree-supports-phylip-tree-format">ggtree supports phylip tree format</a></li> |
43 | 43 |
<li><a href="http://guangchuangyu.github.io/2017/01/convert-graphic-object-to-tree-object-using-treeio/">convert graphic object to tree object using treeio</a></li> |
44 | 44 |
</ul> |
45 |
-</div> |
|
46 |
-<div id="tree-visualization" class="section level3"> |
|
45 |
+</section> |
|
46 |
+<section id="tree-visualization" class="level3"> |
|
47 | 47 |
<h3><i class="fa fa-angle-double-right"></i> Tree visualization</h3> |
48 | 48 |
<ul> |
49 | 49 |
<li><a href="https://guangchuangyu.github.io/2015/02/ggtree---updating-a-tree-view/">ggtree - updating a tree view</a></li> |
... | ... |
@@ -52,8 +52,8 @@ weight: 10 |
52 | 52 |
<li><a href="https://phe-bioinformatics.github.io/blog/2017/06/14/ggtree_exploration">Growing a ggtree</a></li> |
53 | 53 |
<li><a href="https://phe-bioinformatics.github.io/blog/2017/07/07/ggtree_part2">Growing a ggtree - part 2, adding tip shapes</a></li> |
54 | 54 |
</ul> |
55 |
-</div> |
|
56 |
-<div id="tree-annotation" class="section level3"> |
|
55 |
+</section> |
|
56 |
+<section id="tree-annotation" class="level3"> |
|
57 | 57 |
<h3><i class="fa fa-angle-double-right"></i> Tree annotation</h3> |
58 | 58 |
<ul> |
59 | 59 |
<li><a href="https://guangchuangyu.github.io/2016/01/label-edge-number-in-ggtree">label edge number in ggtree</a></li> |
... | ... |
@@ -69,14 +69,14 @@ weight: 10 |
69 | 69 |
<li><a href="https://guangchuangyu.github.io/2016/10/xlim_tree-set-x-axis-limits-for-only-tree-panel/">xlim_tree: set x axis limits for only Tree panel</a></li> |
70 | 70 |
<li><a href="https://guangchuangyu.github.io/2016/12/add-layer-to-specific-panel-of-facet_plot-output/">add layer to specific panel of facet_plot output</a></li> |
71 | 71 |
</ul> |
72 |
-</div> |
|
73 |
-<div id="tree-manipulation" class="section level3"> |
|
72 |
+</section> |
|
73 |
+<section id="tree-manipulation" class="level3"> |
|
74 | 74 |
<h3><i class="fa fa-angle-double-right"></i> Tree manipulation</h3> |
75 | 75 |
<ul> |
76 | 76 |
<li><a href="https://guangchuangyu.github.io/2015/07/flip-and-rotate-branches-in-ggtree">flip and rotate branches in ggtree</a></li> |
77 | 77 |
</ul> |
78 |
-</div> |
|
79 |
-<div id="application" class="section level3"> |
|
78 |
+</section> |
|
79 |
+<section id="application" class="level3"> |
|
80 | 80 |
<h3><i class="fa fa-angle-double-right"></i> Application</h3> |
81 | 81 |
<ul> |
82 | 82 |
<li><a href="https://guangchuangyu.github.io/2016/09/ggtree-for-microbiome-data/">ggtree for microbiome data</a></li> |
... | ... |
@@ -84,34 +84,34 @@ weight: 10 |
84 | 84 |
<li><a href="http://guangchuangyu.github.io/2016/12/ggtree-version-of-plottree/">ggtree version of plotTree</a></li> |
85 | 85 |
<li><a href="https://guangchuangyu.github.io/2016/10/reproducible-logo-generated-by-ggtree">reproducible logo generated by ggtree</a></li> |
86 | 86 |
</ul> |
87 |
-</div> |
|
88 |
-<div id="funny-stuff" class="section level3"> |
|
87 |
+</section> |
|
88 |
+<section id="funny-stuff" class="level3"> |
|
89 | 89 |
<h3><i class="fa fa-angle-double-right"></i> Funny stuff</h3> |
90 | 90 |
<ul> |
91 | 91 |
<li><a href="https://guangchuangyu.github.io/2015/06/ggtree-with-funny-fonts">ggtree with funny fonts</a></li> |
92 | 92 |
<li><a href="https://guangchuangyu.github.io/2015/09/comic-phylogenetic-tree-with-ggtree-and-comicr">comic phylogenetic tree with ggtree and comicR</a></li> |
93 | 93 |
<li><a href="https://guangchuangyu.github.io/2015/12/use-emoji-font-in-r">use emoji font in R</a></li> |
94 | 94 |
</ul> |
95 |
-</div> |
|
96 |
-</div> |
|
97 |
-<div id="slides" class="section level2"> |
|
95 |
+</section> |
|
96 |
+</section> |
|
97 |
+<section id="slides" class="level2"> |
|
98 | 98 |
<h2><i class="fa fa-slideshare"></i> Slides</h2> |
99 | 99 |
<ul> |
100 | 100 |
<li><a href="https://guangchuangyu.github.io/presentation/2014-ggplot2/">Generating publication quality figures using R & ggplot2</a></li> |
101 | 101 |
<li><a href="https://guangchuangyu.github.io/presentation/2016-ggtree-chinar/">ggtree for visualization and annotation of phylogenetic trees</a></li> |
102 | 102 |
</ul> |
103 |
-</div> |
|
104 |
-<div id="video" class="section level2"> |
|
103 |
+</section> |
|
104 |
+<section id="video" class="level2"> |
|
105 | 105 |
<h2><i class="fa fa-youtube-play"></i> Video</h2> |
106 | 106 |
<ul> |
107 | 107 |
<li><a href="https://www.youtube.com/watch?v=KcF8Ec38mzI">interactive clade highlighting</a></li> |
108 | 108 |
<li><a href="https://www.youtube.com/watch?v=lKNn4QlPO0E">interactive rotating clades</a></li> |
109 | 109 |
<li><a href="https://www.youtube.com/watch?v=SmcceRD_jxg">interactive clade labeling</a></li> |
110 | 110 |
</ul> |
111 |
-</div> |
|
112 |
-<div id="workflow" class="section level2"> |
|
111 |
+</section> |
|
112 |
+<section id="workflow" class="level2"> |
|
113 | 113 |
<h2><i class="fa fa-gift"></i> Workflow</h2> |
114 | 114 |
<ul> |
115 | 115 |
<li><a href="https://rpubs.com/gutijosh9430/124817">recreate a tree from a publication (<strong>Bloom</strong> <em>et al</em>, <strong><em>Science</em></strong> 2010)</a></li> |
116 | 116 |
</ul> |
117 |
-</div> |
|
117 |
+</section> |
... | ... |
@@ -7,20 +7,20 @@ weight: 20 |
7 | 7 |
|
8 | 8 |
|
9 | 9 |
<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"></p> |
10 |
-<div id="installation" class="section level1"> |
|
10 |
+<section id="installation" class="level1"> |
|
11 | 11 |
<h1><i class="fa fa-download"></i> Installation</h1> |
12 |
-<div id="could-not-find-function" class="section level2"> |
|
12 |
+<section id="could-not-find-function" class="level2"> |
|
13 | 13 |
<h2><i class="fa fa-angle-double-right"></i> Could not find function</h2> |
14 | 14 |
<p>If you got <a href="https://github.com/GuangchuangYu/ggtree/issues/12">this error</a>, please make sure you are using the latest R and <code>ggtree</code>.</p> |
15 | 15 |
<p>Packages in Bioconductor, like <code>ggtree</code>, 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 <code>devel</code> branch.</p> |
16 | 16 |
<p>Sometimes I may write blog post to introduce new functions which is not available in <code>release</code> branch, you need to install the <code>devel</code> version of <code>ggtree</code> in order to use these new functions.</p> |
17 | 17 |
<p>You can download the <code>devel</code> version of <code>ggtree</code> from <a href="http://bioconductor.org/packages/devel/bioc/html/ggtree.html" class="uri">http://bioconductor.org/packages/devel/bioc/html/ggtree.html</a> and install it, or install the github version of <code>ggtree</code>.</p> |
18 | 18 |
<p>This also applied to other of my packages, including <code>GOSemSim</code>, <code>DOSE</code>, <code>clusterProfiler</code>, <code>ReactomePA</code> and <code>ChIPseeker</code>. If you got the <code>could not find function</code> error, upgrade your installation to latest release. If the error still exists after upgrading to latest release, you need to install the devel version.</p> |
19 |
-</div> |
|
20 |
-</div> |
|
21 |
-<div id="text-label" class="section level1"> |
|
19 |
+</section> |
|
20 |
+</section> |
|
21 |
+<section id="text-label" class="level1"> |
|
22 | 22 |
<h1><i class="fa fa-text-height"></i> Text & Label</h1> |
23 |
-<div id="tip-label-truncated" class="section level2"> |
|
23 |
+<section id="tip-label-truncated" class="level2"> |
|
24 | 24 |
<h2><i class="fa fa-angle-double-right"></i> Tip label truncated</h2> |
25 | 25 |
<p>ggplot2 can’t auto adjust xlim based on added text.</p> |
26 | 26 |
<pre class="r"><code>library(ggtree) |
... | ... |
@@ -29,8 +29,8 @@ tree<-read.tree(text="(Organism1.006G249400.1:0.03977,(Organism2.022118m |
29 | 29 |
ggtree(tree) + geom_tiplab()</code></pre> |
30 | 30 |
<p>This is because the units are in two different spaces (data and pixel). Users can use xlim to allocate more space for tip label.</p> |
31 | 31 |
<pre class="r"><code>ggtree(tree) + geom_tiplab() + xlim(0, 0.06)</code></pre> |
32 |
-</div> |
|
33 |
-<div id="modify-tip-labels" class="section level2"> |
|
32 |
+</section> |
|
33 |
+<section id="modify-tip-labels" class="level2"> |
|
34 | 34 |
<h2><i class="fa fa-angle-double-right"></i> Modify (tip) labels</h2> |
35 | 35 |
<p>This could be easily done via the <code>%<+%</code> operator to attach the modified version of the labels and than use <code>geom_tiplab</code> to display the modified version.</p> |
36 | 36 |
<pre><code>raxml_file <- system.file("extdata/RAxML", "RAxML_bipartitionsBranchLabels.H3", package="ggtree") |
... | ... |
@@ -40,8 +40,8 @@ lb = get.tree(raxml)$tip.label |
40 | 40 |
d = data.frame(label=lb, label2 = paste("AA", substring(lb, 1, 5))) |
41 | 41 |
ggtree(raxml) %<+% d + geom_tiplab(aes(label=label2))</code></pre> |
42 | 42 |
<p>see also <a href="https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bioc-ggtree/tFdFgCJ7gQA/tZ6phSgUDQAJ">1</a> and <a href="https://github.com/GuangchuangYu/ggtree/issues/106">2</a>.</p> |
43 |
-</div> |
|
44 |
-<div id="formatting-tip-labels" class="section level2"> |
|
43 |
+</section> |
|
44 |
+<section id="formatting-tip-labels" class="level2"> |
|
45 | 45 |
<h2><i class="fa fa-angle-double-right"></i> Formatting (tip) labels</h2> |
46 | 46 |
<p>If you want to format labels, you need to set <code>parse=TRUE</code> in <code>geom_text</code>/<code>geom_tiplab</code> and the <code>label</code> should be string that can be parsed into expression and displayed as described in <code>?plotmath</code>.</p> |
47 | 47 |
<p>For example, the tiplabels contains two parts, species name and accession number and we want to display species name in <em>italic</em>, we can use command like this:</p> |
... | ... |
@@ -58,8 +58,8 @@ d <- data.frame(label = tr$tip.label, genus = genus, |
58 | 58 |
ggtree(tr) %<+% d + xlim(NA, 5) + |
59 | 59 |
geom_tiplab(aes(label=paste0('italic(', genus, ')~bolditalic(', species, ')~', geo)), parse=T)</code></pre> |
60 | 60 |
<p>see also <a href="https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bioc-ggtree/BA7g-npY1BM" class="uri">https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bioc-ggtree/BA7g-npY1BM</a>.</p> |
61 |
-</div> |
|
62 |
-<div id="avoid-overlapping-text-labels" class="section level2"> |
|
61 |
+</section> |
|
62 |
+<section id="avoid-overlapping-text-labels" class="level2"> |
|
63 | 63 |
<h2><i class="fa fa-angle-double-right"></i> Avoid overlapping text labels</h2> |
64 | 64 |
<p>User can use <a href="https://cran.r-project.org/web/packages/ggrepel/">ggrepel</a> package to repel overlapping text labels.</p> |
65 | 65 |
<p>For example:</p> |
... | ... |
@@ -69,8 +69,8 @@ raxml_file <- system.file("extdata/RAxML", "RAxML_bipartitions |
69 | 69 |
raxml <- read.raxml(raxml_file) |
70 | 70 |
ggtree(raxml) + geom_label_repel(aes(label=bootstrap, fill=bootstrap))</code></pre> |
71 | 71 |
<p>For details, please refer to <a href="https://cran.r-project.org/web/packages/ggrepel/vignettes/ggrepel.html">ggrepel usage examples</a>.</p> |
72 |
-</div> |
|
73 |
-<div id="bootstrap-values-from-newick-format" class="section level2"> |
|
72 |
+</section> |
|
73 |
+<section id="bootstrap-values-from-newick-format" class="level2"> |
|
74 | 74 |
<h2><i class="fa fa-angle-double-right"></i> bootstrap values from newick format</h2> |
75 | 75 |
<p>It’s quite command to store <code>bootstrap</code> value as node label in <code>newick</code> format. Visualizing node label is easy using <code>geom_text2(aes(subset = !isTip, label=label))</code>.</p> |
76 | 76 |
<p>If you want to only display a subset of <code>bootstrap</code> (e.g. bootstrap > 80), you can’t simply using <code>geom_text2(subset= (label > 80), label=label)</code> since <code>label</code> is a character vector, which contains node label (bootstrap value) and tip label (taxa name). If we use <code>geom_text2(subset=(as.numeric(label) > 80), label=label)</code>, it will also fail since <code>NAs</code> were introduced by coercion. We need to convert <code>NAs</code> to logical <code>FALSE</code>, this can be done by the following code:</p> |
... | ... |
@@ -85,19 +85,19 @@ d$label <- as.numeric(d$label) |
85 | 85 |
d <- d[d$label > 80,] |
86 | 86 |
|
87 | 87 |
q + geom_text(data=d, aes(label=label))</code></pre> |
88 |
-</div> |
|
89 |
-</div> |
|
90 |
-<div id="aesthetic-mapping" class="section level1"> |
|
88 |
+</section> |
|
89 |
+</section> |
|
90 |
+<section id="aesthetic-mapping" class="level1"> |
|
91 | 91 |
<h1><i class="fa fa-map-marker"></i> <em>aesthetic</em> mapping</h1> |
92 |
-<div id="inherit-aes" class="section level2"> |
|
92 |
+<section id="inherit-aes" class="level2"> |
|
93 | 93 |
<h2><i class="fa fa-angle-double-right"></i> inherit <em>aes</em></h2> |
94 | 94 |
<pre class="r"><code>ggtree(rtree(30)) + geom_point()</code></pre> |
95 | 95 |
<p>For example, we can add symbolic points to nodes with <code>geom_point()</code> directly. The magic here is we don’t need to map <code>x</code> and <code>y</code> position of the points by providing <code>aes(x, y)</code> to <code>geom_point()</code> since it was already mapped by <code>ggtree</code> function and it serves as a global mapping for all layers.</p> |
96 | 96 |
<p>But what if we provide a <code>dataset</code> in a layer and the <code>dataset</code> doesn’t contain column of <code>x</code> and/or <code>y</code>, the layer function also try to map <code>x</code> and <code>y</code> and also others if you map them in <code>ggtree</code> function. As these variable is not available in your <code>dataset</code>, you will get the following error:</p> |
97 | 97 |
<pre><code>Error in eval(expr, envir, enclos) : object 'x' not found</code></pre> |
98 | 98 |
<p>This can be fixed by using parameter <code>inherit.aes=FALSE</code> which will disable inheriting mapping from <code>ggtree</code> function.</p> |
99 |
-</div> |
|
100 |
-<div id="use-in-aes" class="section level2"> |
|
99 |
+</section> |
|
100 |
+<section id="use-in-aes" class="level2"> |
|
101 | 101 |
<h2><i class="fa fa-angle-double-right"></i> use <code>$</code> in aes</h2> |
102 | 102 |
<p>NEVER DO THIS.</p> |
103 | 103 |
<p>see the explaination in the <a href="https://github.com/hadley/ggplot2-book/blob/master/layers.rmd#aesthetic-mappings-secaes">ggplot2 book 2ed</a>:</p> |
... | ... |
@@ -105,12 +105,12 @@ q + geom_text(data=d, aes(label=label))</code></pre> |
105 | 105 |
<p>Never refer to a variable with <code>$</code> (e.g., <code>diamonds$carat</code>) in <code>aes()</code>. 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.</p> |
106 | 106 |
</blockquote> |
107 | 107 |
<p>see also <a href="https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bioc-ggtree/hViM6vRZF94/MsZT8qRgBwAJ">1</a> and <a href="https://github.com/GuangchuangYu/ggtree/issues/106">2</a>.</p> |
108 |
-</div> |
|
109 |
-</div> |
|
110 |
-<div id="annotation" class="section level1"> |
|
108 |
+</section> |
|
109 |
+</section> |
|
110 |
+<section id="annotation" class="level1"> |
|
111 | 111 |
<h1><i class="fa fa-tree"></i> Annotation</h1> |
112 |
-<div id="colouring-edges-by-user-data" class="section level2"> |
|
112 |
+<section id="colouring-edges-by-user-data" class="level2"> |
|
113 | 113 |
<h2><i class="fa fa-angle-double-right"></i> colouring edges by user data</h2> |
114 | 114 |
<p>see my blog post: <a href="http://guangchuangyu.github.io/2016/12/edge-coloring-with-user-data/">Edge coloring with user data</a> and also my answer on <a href="https://github.com/GuangchuangYu/ggtree/issues/76" class="uri">https://github.com/GuangchuangYu/ggtree/issues/76</a> and <a href="https://groups.google.com/forum/#!topic/bioc-ggtree/4GgivKqVjB8" class="uri">https://groups.google.com/forum/#!topic/bioc-ggtree/4GgivKqVjB8</a>.</p> |
115 |
-</div> |
|
116 |
-</div> |
|
115 |
+</section> |
|
116 |
+</section> |
... | ... |
@@ -9,14 +9,14 @@ weight: 30 |
9 | 9 |
<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"></p> |
10 | 10 |
<p><a href="https://github.com/GuangchuangYu/featured_img">Let us know</a> if you have published using <code>ggtree</code> and your publication will be featured here.</p> |
11 | 11 |
<p><img src="../images/citation.png" width="880"/></p> |
12 |
-<div id="section" class="section level2"> |
|
12 |
+<section id="section" class="level2"> |
|
13 | 13 |
<h2><i class="fa fa-calendar"></i> 2017</h2> |
14 | 14 |
<p><a href="http://science.sciencemag.org/content/358/6364/789.full">Integrated view of <em>Vibrio cholerae</em> in the Americas</a>. *<strong>Science</strong>, 2017, 358(6364):789-793.</p> |
15 | 15 |
<p><a href="http://dx.doi.org/10.1073/pnas.1617959114">Phylogenetic analysis of the human antibody repertoire reveals quantitative signatures of immune senescence and aging</a>. <strong><em>PNAS</em></strong>, 2017, 114(5):1105-111-.</p> |
16 | 16 |
<p><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5376617/">Horses in Denmark Are a Reservoir of Diverse Clones of Methicillin-Resistant and -Susceptible Staphylococcus aureus</a>. <strong><em>Frontiers in Microbiology</em></strong>, 2017, 8:543</p> |
17 | 17 |
<p><a href="https://microbiomejournal.biomedcentral.com/articles/10.1186/s40168-017-0232-3">Gut metagenomes of type 2 diabetic patients have characteristic single-nucleotide polymorphism distribution in <em>Bacteroides coprocola</em></a>. <strong><em>Microbiome</em></strong>, 2017, 5:15</p> |
18 |
-</div> |
|
19 |
-<div id="section-1" class="section level2"> |
|
18 |
+</section> |
|
19 |
+<section id="section-1" class="level2"> |
|
20 | 20 |
<h2><i class="fa fa-calendar"></i> 2016</h2> |
21 | 21 |
<p><a href="http://aem.asm.org/content/82/22/6788.short">Function and Phylogeny of Bacterial Butyryl Coenzyme A:Acetate Transferases and Their Diversity in the Proximal Colon of Swine</a>. <strong><em>Applied and Environmental Microbiology</em></strong>. 2016, 82(22):6788-6798.</p> |
22 |
-</div> |
|
22 |
+</section> |
... | ... |
@@ -7,64 +7,34 @@ weight: 40 |
7 | 7 |
|
8 | 8 |
|
9 | 9 |
<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"></p> |
10 |
-<div class="figure"> |
|
11 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2017_science.jpg" /> |
|
12 |
- |
|
13 |
-</div> |
|
10 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2017_science.jpg" /></p> |
|
14 | 11 |
<p><a href="http://dx.doi.org/10.1126/science.aao2136" class="uri">http://dx.doi.org/10.1126/science.aao2136</a></p> |
15 | 12 |
<hr /> |
16 |
-<div class="figure"> |
|
17 |
-<img src="http://media.springernature.com/lw785/springer-static/image/art%3A10.1186%2Fs40168-017-0331-1/MediaObjects/40168_2017_331_Fig3_HTML.gif" /> |
|
18 |
- |
|
19 |
-</div> |
|
13 |
+<p><img src="http://media.springernature.com/lw785/springer-static/image/art%3A10.1186%2Fs40168-017-0331-1/MediaObjects/40168_2017_331_Fig3_HTML.gif" /></p> |
|
20 | 14 |
<p><a href="https://doi.org/10.1186/s40168-017-0331-1" class="uri">https://doi.org/10.1186/s40168-017-0331-1</a></p> |
21 | 15 |
<hr /> |
22 |
-<div class="figure"> |
|
23 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/syen12249-fig-0002.png" /> |
|
24 |
- |
|
25 |
-</div> |
|
16 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/syen12249-fig-0002.png" /></p> |
|
26 | 17 |
<p><a href="https://doi.org/10.1111/syen.12249" class="uri">https://doi.org/10.1111/syen.12249</a></p> |
27 | 18 |
<hr /> |
28 |
-<div class="figure"> |
|
29 |
-<img src="http://media.springernature.com/full/springer-static/image/art%3A10.1186%2Fs12915-017-0402-6/MediaObjects/12915_2017_402_Fig2_HTML.gif" /> |
|
30 |
- |
|
31 |
-</div> |
|
19 |
+<p><img src="http://media.springernature.com/full/springer-static/image/art%3A10.1186%2Fs12915-017-0402-6/MediaObjects/12915_2017_402_Fig2_HTML.gif" /></p> |
|
32 | 20 |
<p><a href="https://doi.org/10.1186/s12915-017-0402-6" class="uri">https://doi.org/10.1186/s12915-017-0402-6</a></p> |
33 | 21 |
<hr /> |
34 |
-<div class="figure"> |
|
35 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/fmicb-08-00543-g0002.jpg" /> |
|
36 |
- |
|
37 |
-</div> |
|
22 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/fmicb-08-00543-g0002.jpg" /></p> |
|
38 | 23 |
<p><a href="http://dx.doi.org/10.3389/fmicb.2017.00543" class="uri">http://dx.doi.org/10.3389/fmicb.2017.00543</a></p> |
39 | 24 |
<hr /> |
40 |
-<div class="figure"> |
|
41 |
-<img src="http://www.frontiersin.org/files/Articles/220056/fmicb-08-00456-HTML-r1/image_m/fmicb-08-00456-g002.jpg" /> |
|
42 |
- |
|
43 |
-</div> |
|
25 |
+<p><img src="http://www.frontiersin.org/files/Articles/220056/fmicb-08-00456-HTML-r1/image_m/fmicb-08-00456-g002.jpg" /></p> |
|
44 | 26 |
<p><a href="https://doi.org/10.3389/fmicb.2017.00456" class="uri">https://doi.org/10.3389/fmicb.2017.00456</a></p> |
45 | 27 |
<hr /> |
46 |
-<div class="figure"> |
|
47 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/40168_2017_232_Fig2_HTML.gif" /> |
|
48 |
- |
|
49 |
-</div> |
|
28 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/40168_2017_232_Fig2_HTML.gif" /></p> |
|
50 | 29 |
<p><a href="http://dx.doi.org/10.1186/s40168-017-0232-3" class="uri">http://dx.doi.org/10.1186/s40168-017-0232-3</a></p> |
51 | 30 |
<hr /> |
52 | 31 |
<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/C2mxyBuUcAEt391.jpg" /> <a href="http://dx.doi.org/10.1111/2041-210X.12628" class="uri">http://dx.doi.org/10.1111/2041-210X.12628</a></p> |
53 | 32 |
<hr /> |
54 |
-<div class="figure"> |
|
55 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2017-01-21-115646_969x444_scrot.png" /> |
|
56 |
- |
|
57 |
-</div> |
|
33 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2017-01-21-115646_969x444_scrot.png" /></p> |
|
58 | 34 |
<p><a href="http://dx.doi.org/10.1128/AEM.02307-16" class="uri">http://dx.doi.org/10.1128/AEM.02307-16</a></p> |
59 | 35 |
<hr /> |
60 |
-<div class="figure"> |
|
61 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2016_fcimb-06-00036-g003.jpg" /> |
|
62 |
- |
|
63 |
-</div> |
|
36 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2016_fcimb-06-00036-g003.jpg" /></p> |
|
64 | 37 |
<p><a href="http://dx.doi.org/10.3389%2Ffcimb.2016.00036">http://dx.doi.org/10.3389%2Ffcimb.2016.00036</a></p> |
65 | 38 |
<hr /> |
66 |
-<div class="figure"> |
|
67 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /> |
|
68 |
- |
|
69 |
-</div> |
|
39 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /></p> |
|
70 | 40 |
<p><a href="http://dx.doi.org/10.1016/j.meegid.2015.12.006" class="uri">http://dx.doi.org/10.1016/j.meegid.2015.12.006</a></p> |
... | ... |
@@ -7,34 +7,26 @@ weight: 1 |
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
-<div id="plea-to-against-bmc" class="section level2"> |
|
11 |
-<h2>Plea to against BMC</h2> |
|
12 |
-{{% tweet "928836702998638592" %}} |
|
13 |
-<hr /> |
|
14 | 10 |
<p><link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"> <link rel="stylesheet" href="https://guangchuangyu.github.io/css/academicons.min.css"></p> |
15 | 11 |
<p><img src="https://raw.githubusercontent.com/Bioconductor/BiocStickers/master/ggtree/ggtree.png" height="200" align="right" /></p> |
16 |
-<p><a href="https://bioconductor.org/packages/ggtree"><img src="https://img.shields.io/badge/release%20version-1.10.0-blue.svg?style=flat" alt="releaseVersion" /></a> <a href="https://github.com/guangchuangyu/ggtree"><img src="https://img.shields.io/badge/devel%20version-1.11.0-blue.svg?style=flat" alt="develVersion" /></a> <a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img src="https://img.shields.io/badge/downloads-21118/total-blue.svg?style=flat" alt="total" /></a> <a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img src="https://img.shields.io/badge/downloads-1156/month-blue.svg?style=flat" alt="month" /></a></p> |
|
12 |
+<p><a href="https://bioconductor.org/packages/ggtree"><img src="https://img.shields.io/badge/release%20version-1.10.0-blue.svg?style=flat" alt="releaseVersion" /></a> <a href="https://github.com/guangchuangyu/ggtree"><img src="https://img.shields.io/badge/devel%20version-1.11.1-blue.svg?style=flat" alt="develVersion" /></a> <a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img src="https://img.shields.io/badge/downloads-21262/total-blue.svg?style=flat" alt="total" /></a> <a href="https://bioconductor.org/packages/stats/bioc/ggtree"><img src="https://img.shields.io/badge/downloads-1156/month-blue.svg?style=flat" alt="month" /></a></p> |
|
17 | 13 |
<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. <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> |
18 |
-</div> |
|
19 |
-<div id="authors" class="section level2"> |
|
14 |
+<section id="authors" class="level2"> |
|
20 | 15 |
<h2><i class="fa fa-user"></i> Authors</h2> |
21 | 16 |
<p>Guangchuang Yu and Tommy Tsan-Yuk Lam, School of Public Health, The University of Hong Kong.</p> |
22 |
-</div> |
|
23 |
-<div id="citation" class="section level2"> |
|
17 |
+</section> |
|
18 |
+<section id="citation" class="level2"> |
|
24 | 19 |
<h2><i class="fa fa-book"></i> Citation</h2> |
25 | 20 |
<p>Please cite the following article when using <code>ggtree</code>:</p> |
26 | 21 |
<p><a href="http://dx.doi.org/10.1111/2041-210X.12628"><img src="https://img.shields.io/badge/doi-10.1111/2041--210X.12628-blue.svg?style=flat" alt="doi" /></a> <a href="https://www.altmetric.com/details/10533079"><img src="https://img.shields.io/badge/Altmetric-336-blue.svg?style=flat" alt="Altmetric" /></a> <a href="https://scholar.google.com.hk/scholar?oi=bibs&hl=en&cites=7268358477862164627"><img src="https://img.shields.io/badge/cited%20by-47-blue.svg?style=flat" alt="citation" /></a></p> |
27 | 22 |
<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> |
28 |
-</div> |
|
29 |
-<div id="featured-articles" class="section level2"> |
|
23 |
+</section> |
|
24 |
+<section id="featured-articles" class="level2"> |
|
30 | 25 |
<h2><i class="fa fa-pencil"></i> Featured Articles</h2> |
31 |
-<div class="figure"> |
|
32 |
-<img src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /> |
|
33 |
- |
|
34 |
-</div> |
|
26 |
+<p><img src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /></p> |
|
35 | 27 |
<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> |
36 |
-</div> |
|
37 |
-<div id="installation" class="section level2"> |
|
28 |
+</section> |
|
29 |
+<section id="installation" class="level2"> |
|
38 | 30 |
<h2><i class="fa fa-download"></i> Installation</h2> |
39 | 31 |
<p>Install <code>ggtree</code> is easy, follow the guide on the <a href="https://bioconductor.org/packages/ggtree/">Bioconductor page</a>:</p> |
40 | 32 |
<pre class="r"><code>## try http:// if https:// URLs are not supported |
... | ... |
@@ -42,18 +34,18 @@ source("https://bioconductor.org/biocLite.R") |
42 | 34 |
## biocLite("BiocUpgrade") ## you may need this |
43 | 35 |
biocLite("ggtree")</code></pre> |
44 | 36 |
<p>If you have problems when installing some of the dependent packages, please refer to the <a href="https://github.com/GuangchuangYu/ggtree/wiki/ggtree-installation">ggtree-installation</a> wiki page.</p> |
45 |
-</div> |
|
46 |
-<div id="overview" class="section level2"> |
|
37 |
+</section> |
|
38 |
+<section id="overview" class="level2"> |
|
47 | 39 |
<h2><i class="fa fa-cogs"></i> Overview</h2> |
48 |
-<div id="getting-tree-into-r" class="section level4"> |
|
40 |
+<section id="getting-tree-into-r" class="level4"> |
|
49 | 41 |
<h4><i class="fa fa-angle-double-right"></i> Getting tree into R</h4> |
50 | 42 |
<ul> |
51 | 43 |
<li>tree parsers: bring evolution evidences to be used/analyzed in <code>R</code></li> |
52 | 44 |
<li><code>merge_tree</code>: allows evolution evidences to be merged and compared</li> |
53 | 45 |
<li><code>fortify</code> methods: convert tree objects into tidy data frame</li> |
54 | 46 |
</ul> |
55 |
-</div> |
|
56 |
-<div id="tree-visualization-annotation" class="section level4"> |
|
47 |
+</section> |
|
48 |
+<section id="tree-visualization-annotation" class="level4"> |
|
57 | 49 |
<h4><i class="fa fa-angle-double-right"></i> Tree visualization & annotation</h4> |
58 | 50 |
<ul> |
59 | 51 |
<li>parsing tree as a collection of nodes allows grammar of graphics to be supported</li> |
... | ... |
@@ -61,41 +53,41 @@ biocLite("ggtree")</code></pre> |
61 | 53 |
<li>several layers and functions for tree annotation</li> |
62 | 54 |
<li>supports annotating phylogenetic trees with user’s own data</li> |
63 | 55 |
</ul> |
64 |
-</div> |
|
65 |
-<div id="tree-manipulation" class="section level4"> |
|
56 |
+</section> |
|
57 |
+<section id="tree-manipulation" class="level4"> |
|
66 | 58 |
<h4><i class="fa fa-angle-double-right"></i> Tree manipulation</h4> |
67 | 59 |
<ul> |
68 | 60 |
<li>helper functions for tree manipulation, make it possible to explore the tree visually</li> |
69 | 61 |
</ul> |
70 | 62 |
<p><i class="fa fa-hand-o-right"></i> Find out details and examples on <i class="fa fa-book"></i> <a href="https://guangchuangyu.github.io/ggtree/documentation/">Documentation</a>.</p> |
71 |
-</div> |
|
72 |
-</div> |
|
73 |
-<div id="projects-that-depend-on-ggtree" class="section level2"> |
|
63 |
+</section> |
|
64 |
+</section> |
|
65 |
+<section id="projects-that-depend-on-ggtree" class="level2"> |
|
74 | 66 |
<h2><i class="fa fa-code-fork"></i> Projects that depend on <em>ggtree</em></h2> |
75 |
-<div id="cran-packages" class="section level4"> |
|
67 |
+<section id="cran-packages" class="level4"> |
|
76 | 68 |
<h4><i class="fa fa-angle-double-right"></i> CRAN packages</h4> |
77 | 69 |
<ul> |
78 | 70 |
<li><a href="https://cran.r-project.org/package=harrietr">harrietr</a>: Wrangle Phylogenetic Distance Matrices and Other Utilities</li> |
79 | 71 |
</ul> |
80 |
-</div> |
|
81 |
-<div id="bioconductor-packages" class="section level4"> |
|
72 |
+</section> |
|
73 |
+<section id="bioconductor-packages" class="level4"> |
|
82 | 74 |
<h4><i class="fa fa-angle-double-right"></i> Bioconductor packages</h4> |
83 | 75 |
<ul> |
84 | 76 |
<li><a href="https://www.bioconductor.org/packages/LINC">LINC</a>: co-expression of lincRNAs and protein-coding genes</li> |
85 | 77 |
<li><a href="https://www.bioconductor.org/packages/LymphoSeq">LymphoSeq</a>: Analyze high-throughput sequencing of T and B cell receptors</li> |
86 | 78 |
<li><a href="https://www.bioconductor.org/packages/philr">philr</a>: Phylogenetic partitioning based ILR transform for metagenomics data</li> |
87 | 79 |
</ul> |
88 |
-</div> |
|
89 |
-<div id="other-applications" class="section level4"> |
|
80 |
+</section> |
|
81 |
+<section id="other-applications" class="level4"> |
|
90 | 82 |
<h4><i class="fa fa-angle-double-right"></i> Other applications</h4> |
91 | 83 |
<ul> |
92 | 84 |
<li><a href="https://bitbucket.org/biobakery/breadcrumbs">BreadCrumbs</a>: Collection of scripts for metagenomics analysis</li> |
93 | 85 |
<li><a href="https://github.com/esnapd/DegeneratePrimerTools">DegeneratePrimerTools</a>: Utilities for Creating and Validating Degenerate primers</li> |
94 | 86 |
<li><a href="https://github.com/olli0601/phyloscan">phyloscan</a>: scan phylogenies created along a genome for patterns</li> |
95 | 87 |
</ul> |
96 |
-</div> |
|
97 |
-</div> |
|
98 |
-<div id="feedback" class="section level2"> |
|
88 |
+</section> |
|
89 |
+</section> |
|
90 |
+<section id="feedback" class="level2"> |
|
99 | 91 |
<h2><i class="fa fa-comments"></i> Feedback</h2> |
100 | 92 |
<ul class="fa-ul"> |
101 | 93 |
<li> |
... | ... |
@@ -114,4 +106,4 @@ biocLite("ggtree")</code></pre> |
114 | 106 |
<i class="fa-li fa fa-commenting"></i> Join the group chat on <a href="https://twitter.com/hashtag/ggtree"><i class="fa fa-twitter fa-lg"></i></a> and <a href="http://huati.weibo.com/k/ggtree"><i class="fa fa-weibo fa-lg"></i></a> |
115 | 107 |
</li> |
116 | 108 |
</ul> |
117 |
-</div> |
|
109 |
+</section> |
... | ... |
@@ -7,15 +7,6 @@ weight: 1 |
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
-## Plea to against BMC |
|
11 |
- |
|
12 |
-```{r echo=FALSE} |
|
13 |
-blogdown::shortcode('tweet', '928836702998638592') |
|
14 |
-``` |
|
15 |
- |
|
16 |
- |
|
17 |
- |
|
18 | 10 |
<link rel="stylesheet" href="https://guangchuangyu.github.io/css/font-awesome.min.css"> |
19 | 11 |
<link rel="stylesheet" href="https://guangchuangyu.github.io/css/academicons.min.css"> |
20 | 12 |
|