tag:blogger.com,1999:blog-8499895524521663926.post3402415221290618702..comments2024-03-27T07:13:39.236-04:00Comments on Phylogenetic Tools for Comparative Biology: Projecting a continuous trait onto the branches of a tree using variable edge widthsLiam Revellhttp://www.blogger.com/profile/04314686830842384151noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8499895524521663926.post-68628535113777836232020-12-03T09:41:39.268-05:002020-12-03T09:41:39.268-05:00This is great Liam! Like Chelsea, I'm wonderin...This is great Liam! Like Chelsea, I'm wondering if it is possible to color the tree with information of a discrete character, like the function densityMap does. Thanks!Arielhttps://www.blogger.com/profile/01898002841476831792noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-9952941561053471632020-10-26T19:52:43.028-04:002020-10-26T19:52:43.028-04:00You could - but it would be a bit of work.... One ...You could - but it would be a bit of work.... One trick that jumps to mind is that any "simmap" object can be converted to a standard "phylo" object with singleton nodes using map.to.singleton. Since a "contMap" object encodes the continuous trait along edges using a "simmap" style object, this also applies to the "contMap" tree. Then, you just need to draw the tree with different edge widths (for all the singleton nodes) and different colors. Tell us if you get it to work with this advice, otherwise feel free to email me.Liam Revellhttps://www.blogger.com/profile/04314686830842384151noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-15130998965486768092020-10-26T14:32:24.575-04:002020-10-26T14:32:24.575-04:00Hi Liam,
I agree, I like this! Is there a way to ...Hi Liam,<br /><br />I agree, I like this! Is there a way to combine edge.widthMap with a contMap object? I am trying to map two continuous datasets to my tree.<br /><br />Thanks! ChelseaChelseahttps://www.blogger.com/profile/17678152264799444734noreply@blogger.com