Browse code

set_tree_xlim

guangchuang yu authored on 31/10/2016 04:15:56
Showing9 changed files

... ...
@@ -195,6 +195,8 @@
195 195
         
196 196
             <li><a href="#application"> Application</a></li>
197 197
         
198
+            <li><a href="#helper-functions"> Helper functions</a></li>
199
+        
198 200
             <li><a href="#funny-stuff"> Funny stuff</a></li>
199 201
         
200 202
             <li><a href="#users-feedback"> User's feedback</a></li>
... ...
@@ -285,6 +287,10 @@
285 287
 <li><a href="https://github.com/GuangchuangYu/plotTree-ggtree">ggtree version of plotTree.R</a></li>
286 288
 <li><a href="https://guangchuangyu.github.io/2016/10/reproducible-logo-generated-by-ggtree">reproducible logo generated by ggtree</a></li>
287 289
 </ul>
290
+<h3 id="helper-functions"><i class="fa fa fa-support"></i> Helper functions</h3>
291
+<ul>
292
+<li><a href="https://guangchuangyu.github.io/2016/10/set_tree_xlim-set-x-axis-limits-for-only-tree-panel/">set_tree_xlim: set x axis limits for only Tree panel</a></li>
293
+</ul>
288 294
 <h3 id="funny-stuff"><i class="fa fa-angle-double-right"></i> Funny stuff</h3>
289 295
 <ul>
290 296
 <li><a href="https://guangchuangyu.github.io/2015/06/ggtree-with-funny-fonts">ggtree with funny fonts</a></li>
... ...
@@ -223,11 +223,11 @@
223 223
   }  
224 224
   </style>
225 225
 
226
-<div id = 'chart251842506e7a' class = 'rChart morris'></div>
226
+<div id = 'chart191775d6ce31' class = 'rChart morris'></div>
227 227
 
228 228
 <script type='text/javascript'>
229 229
     var chartParams = {
230
- "element": "chart251842506e7a",
230
+ "element": "chart191775d6ce31",
231 231
 "width":            800,
232 232
 "height":            400,
233 233
 "xkey": "year",
... ...
@@ -241,7 +241,7 @@
241 241
 "pubid": "HtEfBTGE9r8C" 
242 242
 } 
243 243
 ],
244
-"id": "chart251842506e7a",
244
+"id": "chart191775d6ce31",
245 245
 "labels": "cites" 
246 246
 },
247 247
       chartType = "Bar"
... ...
@@ -244,7 +244,7 @@
244 244
 <p>Please cite the following article when using <code>ggtree</code>:</p>
245 245
 <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>
246 246
 <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>
247
-<a href="https://www.altmetric.com/details/10533079"><img alt="Altmetric" src="https://img.shields.io/badge/Altmetric-250-blue.svg?style=flat" /></a></p>
247
+<a href="https://www.altmetric.com/details/10533079"><img alt="Altmetric" src="https://img.shields.io/badge/Altmetric-275-blue.svg?style=flat" /></a></p>
248 248
 <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>
249 249
 <h2 id="featured-articles"><i class="fa fa-pencil"></i> Featured Articles</h2>
250 250
 <p><img alt="" src="https://guangchuangyu.github.io/featured_img/ggtree/2015_peiyu_1-s2.0-S1567134815300721-gr1.jpg" /></p>
... ...
@@ -67,7 +67,7 @@
67 67
         }, 
68 68
         {
69 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\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\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\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.R\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)", 
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\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\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\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.R\n\n\nreproducible logo generated by ggtree\n\n\n\n\n Helper functions\n\n\n\n\nset_tree_xlim: set x axis limits for only Tree panel\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)", 
71 71
             "title": "Documentation"
72 72
         }, 
73 73
         {
... ...
@@ -110,6 +110,11 @@
110 110
             "text": "ggtree for microbiome data  ggtree for outbreak data  ggtree version of plotTree.R  reproducible logo generated by ggtree", 
111 111
             "title": " Application"
112 112
         }, 
113
+        {
114
+            "location": "/documentation/#helper-functions", 
115
+            "text": "set_tree_xlim: set x axis limits for only Tree panel", 
116
+            "title": " Helper functions"
117
+        }, 
113 118
         {
114 119
             "location": "/documentation/#funny-stuff", 
115 120
             "text": "ggtree with funny fonts  comic phylogenetic tree with ggtree and comicR  use emoji font in R", 
... ...
@@ -197,7 +202,7 @@
197 202
         }, 
198 203
         {
199 204
             "location": "/featuredArticles/", 
200
-            "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\": \"chart251842506e7a\",\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\": \"chart251842506e7a\",\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", 
205
+            "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\": \"chart191775d6ce31\",\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\": \"chart191775d6ce31\",\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", 
201 206
             "title": "Featured Articles"
202 207
         }, 
203 208
         {
... ...
@@ -4,7 +4,7 @@
4 4
     
5 5
     <url>
6 6
      <loc>https://guangchuangyu.github.io/ggtree/</loc>
7
-     <lastmod>2016-10-26</lastmod>
7
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
15
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
23
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
31
+     <lastmod>2016-10-31</lastmod>
32 32
      <changefreq>daily</changefreq>
33 33
     </url>
34 34
     
... ...
@@ -37,49 +37,49 @@
37 37
         
38 38
     <url>
39 39
      <loc>https://guangchuangyu.github.io/ggtree/ChIPseeker/</loc>
40
-     <lastmod>2016-10-26</lastmod>
40
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
46
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
52
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
58
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
64
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
70
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
76
+     <lastmod>2016-10-31</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>2016-10-26</lastmod>
82
+     <lastmod>2016-10-31</lastmod>
83 83
      <changefreq>daily</changefreq>
84 84
     </url>
85 85
         
... ...
@@ -70,6 +70,10 @@
70 70
 + [ggtree version of plotTree.R](https://github.com/GuangchuangYu/plotTree-ggtree)
71 71
 + [reproducible logo generated by ggtree](https://guangchuangyu.github.io/2016/10/reproducible-logo-generated-by-ggtree)
72 72
 
73
+### <i class="fa fa fa-support"></i> Helper functions
74
+
75
++ [set_tree_xlim: set x axis limits for only Tree panel](https://guangchuangyu.github.io/2016/10/set_tree_xlim-set-x-axis-limits-for-only-tree-panel/)
76
+
73 77
 ### <i class="fa fa-angle-double-right"></i> Funny stuff
74 78
 
75 79
 + [ggtree with funny fonts](https://guangchuangyu.github.io/2015/06/ggtree-with-funny-fonts)
... ...
@@ -36,10 +36,10 @@
36 36
   }  
37 37
   </style>
38 38
 
39
-<div id = 'chart251842506e7a' class = 'rChart morris'></div>
39
+<div id = 'chart191775d6ce31' class = 'rChart morris'></div>
40 40
 <script type='text/javascript'>
41 41
     var chartParams = {
42
- "element": "chart251842506e7a",
42
+ "element": "chart191775d6ce31",
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": "chart251842506e7a",
56
+"id": "chart191775d6ce31",
57 57
 "labels": "cites" 
58 58
 },
59 59
       chartType = "Bar"
... ...
@@ -35,7 +35,7 @@ Please cite the following article when using `ggtree`:
35 35
 
36 36
 [![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)
37 37
 [![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)
38
-[![Altmetric](https://img.shields.io/badge/Altmetric-250-blue.svg?style=flat)](https://www.altmetric.com/details/10533079)
38
+[![Altmetric](https://img.shields.io/badge/Altmetric-275-blue.svg?style=flat)](https://www.altmetric.com/details/10533079)
39 39
 
40 40
 __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*.
41 41
 
... ...
@@ -57,6 +57,10 @@
57 57
 + [ggtree version of plotTree.R](https://github.com/GuangchuangYu/plotTree-ggtree)
58 58
 + [reproducible logo generated by ggtree](https://guangchuangyu.github.io/2016/10/reproducible-logo-generated-by-ggtree)
59 59
 
60
+### <i class="fa fa fa-support"></i> Helper functions
61
+
62
++ [set_tree_xlim: set x axis limits for only Tree panel](https://guangchuangyu.github.io/2016/10/set_tree_xlim-set-x-axis-limits-for-only-tree-panel/)
63
+
60 64
 ### <i class="fa fa-angle-double-right"></i> Funny stuff
61 65
 
62 66
 + [ggtree with funny fonts](https://guangchuangyu.github.io/2015/06/ggtree-with-funny-fonts)