tag:blogger.com,1999:blog-8499895524521663926.post8175566421294167064..comments2024-03-27T07:13:39.236-04:00Comments on Phylogenetic Tools for Comparative Biology: drop.tip method for object of class "contMap"; and code to specify internal node values using contMapLiam Revellhttp://www.blogger.com/profile/04314686830842384151noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-8499895524521663926.post-65998259334573565832014-08-19T23:35:50.635-04:002014-08-19T23:35:50.635-04:00OK. Let me know if you run into trouble. - LiamOK. Let me know if you run into trouble. - LiamLiam Revellhttps://www.blogger.com/profile/04314686830842384151noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-26687929367361416892014-08-19T14:07:41.158-04:002014-08-19T14:07:41.158-04:00Yes, that makes sense; I'll give it a shot. Th...Yes, that makes sense; I'll give it a shot. Thanks!Anonymoushttps://www.blogger.com/profile/02970041413911277466noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-49608862939123269032014-08-18T17:21:56.513-04:002014-08-18T17:21:56.513-04:00Hi Talia.
Yes - this is kind of hard to avoid due...Hi Talia.<br /><br />Yes - this is kind of hard to avoid due to the structure of the "contMap" object in memory. Anything's possible, of course, so I will try to post some code to work around this issue; however in the meantime one option is to estimate the ancestral states for the full tree and then supply them to internal nodes using the trick given in part one of this post. That way the "contMap" range will only span the observed and reconstructed values for the character.<br /><br />- LiamLiam Revellhttps://www.blogger.com/profile/04314686830842384151noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-53918601036698390452014-08-18T10:55:24.463-04:002014-08-18T10:55:24.463-04:00Thank you for this! drop.tip.contMap was exactly w...Thank you for this! drop.tip.contMap was exactly what I was hoping for!<br /><br />I have one more question: When I plot the subclade, the colors still scale to the extremes of the larger clade (ex. 1-20), even if the subclade only spans a portion of that (ex. 1-5). Is it possible to rescale the colors to span only the trait range plotted?<br /><br />Thank you!Anonymoushttps://www.blogger.com/profile/02970041413911277466noreply@blogger.com