<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Merging a phylogenetic tree with a heatmap in R	</title>
	<atom:link href="https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/</link>
	<description>Marine Microbial Ecology</description>
	<lastBuildDate>Thu, 11 Mar 2021 05:34:01 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>
		By: Jeff		</title>
		<link>https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-452</link>

		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Thu, 11 Mar 2021 05:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.polarmicrobes.org/?p=562#comment-452</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-451&quot;&gt;Jaber Abbaszadeh&lt;/a&gt;.

Great, thanks for sharing!  This tutorial is pretty outdated now :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-451">Jaber Abbaszadeh</a>.</p>
<p>Great, thanks for sharing!  This tutorial is pretty outdated now 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jaber Abbaszadeh		</title>
		<link>https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-451</link>

		<dc:creator><![CDATA[Jaber Abbaszadeh]]></dc:creator>
		<pubDate>Thu, 11 Mar 2021 03:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.polarmicrobes.org/?p=562#comment-451</guid>

					<description><![CDATA[Hi Jeff.
I used your method to combine a phylogenetic tree and heatmap and it worked! However, there are some inconsistencies. For example, the order of tree tips was changed in the final tree + heatmap compared with the tree itself. 
I found an easier way to draw the tree with a heatmap. 
The ggtree and ggtreeExtra packages offer gheatmap() function and you can draw your tree+heatmap with only one line. ggtreeExtra is helpful with circular trees + heatmap + barplots ....]]></description>
			<content:encoded><![CDATA[<p>Hi Jeff.<br />
I used your method to combine a phylogenetic tree and heatmap and it worked! However, there are some inconsistencies. For example, the order of tree tips was changed in the final tree + heatmap compared with the tree itself.<br />
I found an easier way to draw the tree with a heatmap.<br />
The ggtree and ggtreeExtra packages offer gheatmap() function and you can draw your tree+heatmap with only one line. ggtreeExtra is helpful with circular trees + heatmap + barplots &#8230;.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff		</title>
		<link>https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-292</link>

		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Wed, 13 Jan 2016 22:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.polarmicrobes.org/?p=562#comment-292</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-291&quot;&gt;ygc&lt;/a&gt;.

That looks great, thanks for the tip!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-291">ygc</a>.</p>
<p>That looks great, thanks for the tip!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ygc		</title>
		<link>https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-291</link>

		<dc:creator><![CDATA[ygc]]></dc:creator>
		<pubDate>Wed, 13 Jan 2016 07:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.polarmicrobes.org/?p=562#comment-291</guid>

					<description><![CDATA[use ggtree, &lt;a href=&quot;http://guangchuangyu.github.io/ggtree/advanceTreeAnnotation.html&quot; / rel=&quot;nofollow&quot;&gt;, will make your life more easier.]]></description>
			<content:encoded><![CDATA[<p>use ggtree, <a href="http://guangchuangyu.github.io/ggtree/advanceTreeAnnotation.html" / rel="nofollow">, will make your life more easier.</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff		</title>
		<link>https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-284</link>

		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Sun, 08 Nov 2015 14:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.polarmicrobes.org/?p=562#comment-284</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-283&quot;&gt;heavennew&lt;/a&gt;.

Use the root() command, and either specify a node or use the interactive option to select a node.  Typically you want the tree to be rooted at the node from which the outgroup diverges from the rest of the sequences.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-283">heavennew</a>.</p>
<p>Use the root() command, and either specify a node or use the interactive option to select a node.  Typically you want the tree to be rooted at the node from which the outgroup diverges from the rest of the sequences.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: heavennew		</title>
		<link>https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-283</link>

		<dc:creator><![CDATA[heavennew]]></dc:creator>
		<pubDate>Sat, 07 Nov 2015 18:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.polarmicrobes.org/?p=562#comment-283</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-275&quot;&gt;Jeff&lt;/a&gt;.

Hi, Jeff,
I do not know how do you made the rooted phylogenetic tree with R and how do you choose the node of root.(For the root I selected the node between the two Archaea and Planctomyces).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-275">Jeff</a>.</p>
<p>Hi, Jeff,<br />
I do not know how do you made the rooted phylogenetic tree with R and how do you choose the node of root.(For the root I selected the node between the two Archaea and Planctomyces).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff		</title>
		<link>https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-275</link>

		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Thu, 04 Jun 2015 13:36:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.polarmicrobes.org/?p=562#comment-275</guid>

					<description><![CDATA[Yes, there seems to be something strange in your input file - R won&#039;t even read that tree in.  It did read in, with a warning, to Archaeopteryx.  Arbitrarily rerooting the tree in Archaeopteryx produced a tree that read fine into R (below).  I suggest using the following and re-rooting within R.  Good luck!

((((((Mt3.5v5,Mt4.0v1),Car),(((Pvu186,Pvu218),(Gma109,Gma189)),Cca))),(((Ppe139,Mdo196),Fve226),Csa122)),((((((((((Cre169,Vca199),Csu227),((Mpu228,Mpu229),Olu231)),Ppa152),Smo91),(((Sbi79,Zma181),(Sit164,Pvi202)),(Osa193,Bdi192))),Aco195),((Stu206,Sly225),Mgu140)),Vvi145),((((((((Ath167,Aly107),Cru183),(Bra197,Tha173)),Cpa113),(Gra221,Tca233)),(Csi154,(Ccl165,Ccl182))),((Mes147,Rco119),(Lus200,(Ptr156,Ptr210)))),Egr201)));]]></description>
			<content:encoded><![CDATA[<p>Yes, there seems to be something strange in your input file &#8211; R won&#8217;t even read that tree in.  It did read in, with a warning, to Archaeopteryx.  Arbitrarily rerooting the tree in Archaeopteryx produced a tree that read fine into R (below).  I suggest using the following and re-rooting within R.  Good luck!</p>
<p>((((((Mt3.5v5,Mt4.0v1),Car),(((Pvu186,Pvu218),(Gma109,Gma189)),Cca))),(((Ppe139,Mdo196),Fve226),Csa122)),((((((((((Cre169,Vca199),Csu227),((Mpu228,Mpu229),Olu231)),Ppa152),Smo91),(((Sbi79,Zma181),(Sit164,Pvi202)),(Osa193,Bdi192))),Aco195),((Stu206,Sly225),Mgu140)),Vvi145),((((((((Ath167,Aly107),Cru183),(Bra197,Tha173)),Cpa113),(Gra221,Tca233)),(Csi154,(Ccl165,Ccl182))),((Mes147,Rco119),(Lus200,(Ptr156,Ptr210)))),Egr201)));</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anand		</title>
		<link>https://www.polarmicrobes.org/merging-a-phylogenetic-tree-with-a-heatmap-in-r/#comment-274</link>

		<dc:creator><![CDATA[Anand]]></dc:creator>
		<pubDate>Thu, 04 Jun 2015 04:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.polarmicrobes.org/?p=562#comment-274</guid>

					<description><![CDATA[Hi John,
I am trying your step rep_tree_r  mytree_brlen  plot(tree,edge.width=3,lend=2)
Error in plot.phylo(tree, edge.width = 3, lend = 2) : 
  there are single (non-splitting) nodes in your tree; you may need to use collapse.singles()

So followed instructions suggested at http://blog.phytools.org/2013/06/robust-newick-tree-reader.html?showComment=1433380847966#c1946368120991641492
&#062; tree=collapse.singles(tree)
&#062; plot(tree,edge.width=3,lend=2)
But this tree looks completely mangled....

So I suspect the problem is with my .tre input file (copied and posted below)
Could you please help me identify the problem so that I can move ahead with my analysis?
The goal of this is to convert my species cladogam to a dendrogram that I can use as the column dendrogram for my heatmap

(((((((((((((Mt3.5v5, Mt4.0v1), Car), (((Pvu186, Pvu218), (Gma109, Gma189)), Cca))), (((Ppe139, Mdo196), Fve226), Csa122)), ((((((((Ath167, Aly107), Cru183), (Bra197, Tha173)), Cpa113), (Gra221, Tca233)), (Csi154, (Ccl165, Ccl182))), ((Mes147, Rco119),(Lus200, (Ptr156, Ptr210)))), Egr201)), Vvi145), ((Stu206, Sly225), Mgu140)), Aco195), (((Sbi79, Zma181),(Sit164, Pvi202)), (Osa193, Bdi192))), Smo91), Ppa152), (((Cre169, Vca199), Csu227), ((Mpu228, Mpu229), Olu231)));

Thank you!]]></description>
			<content:encoded><![CDATA[<p>Hi John,<br />
I am trying your step rep_tree_r  mytree_brlen  plot(tree,edge.width=3,lend=2)<br />
Error in plot.phylo(tree, edge.width = 3, lend = 2) :<br />
  there are single (non-splitting) nodes in your tree; you may need to use collapse.singles()</p>
<p>So followed instructions suggested at <a href="http://blog.phytools.org/2013/06/robust-newick-tree-reader.html?showComment=1433380847966#c1946368120991641492" rel="nofollow ugc">http://blog.phytools.org/2013/06/robust-newick-tree-reader.html?showComment=1433380847966#c1946368120991641492</a><br />
&gt; tree=collapse.singles(tree)<br />
&gt; plot(tree,edge.width=3,lend=2)<br />
But this tree looks completely mangled&#8230;.</p>
<p>So I suspect the problem is with my .tre input file (copied and posted below)<br />
Could you please help me identify the problem so that I can move ahead with my analysis?<br />
The goal of this is to convert my species cladogam to a dendrogram that I can use as the column dendrogram for my heatmap</p>
<p>(((((((((((((Mt3.5v5, Mt4.0v1), Car), (((Pvu186, Pvu218), (Gma109, Gma189)), Cca))), (((Ppe139, Mdo196), Fve226), Csa122)), ((((((((Ath167, Aly107), Cru183), (Bra197, Tha173)), Cpa113), (Gra221, Tca233)), (Csi154, (Ccl165, Ccl182))), ((Mes147, Rco119),(Lus200, (Ptr156, Ptr210)))), Egr201)), Vvi145), ((Stu206, Sly225), Mgu140)), Aco195), (((Sbi79, Zma181),(Sit164, Pvi202)), (Osa193, Bdi192))), Smo91), Ppa152), (((Cre169, Vca199), Csu227), ((Mpu228, Mpu229), Olu231)));</p>
<p>Thank you!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
