Re: [R-sig-phylo] Highlighting Specific Clades in a Lineage-Through-Time Plot

2023-10-28 Thread Russell Engelman
Dear Liam, This is great, almost exactly what I needed. I will have to get our tree out and see if I can get it to work in R. One question, is it possible to do a cumulative tree like this ( https://proopnarine.files.wordpress.com/2018/11/evolfaunas.png)? This is a good example of the graph I am

Re: [R-sig-phylo] Highlighting Specific Clades in a Lineage-Through-Time Plot

2023-10-28 Thread Liam J. Revell
I like Will's suggestion. Unfortunately, /phytools::ltt.simmap/ method in /phytools/ on CRAN does not support ultrametric trees. I have updated it on GitHub & also posted a workflow to my blog that may capture what Russell is going for (if I understand it correctly):

Re: [R-sig-phylo] Highlighting Specific Clades in a Lineage-Through-Time Plot

2023-10-28 Thread William Gearty
The output from Liam's function should be pretty useable for ggplot, too. I think the function has a plot argument that you can just set to False. On Sat, Oct 28, 2023, 6:37 PM Russell Engelman wrote: > It looks like what Liam wrote (specifically, the final figure in the post) > is pretty close

Re: [R-sig-phylo] Highlighting Specific Clades in a Lineage-Through-Time Plot

2023-10-28 Thread Russell Engelman
It looks like what Liam wrote (specifically, the final figure in the post) is pretty close to what I am looking for. Emmanuel's suggestion of using ltt.plots.coords might also work, and it might be easier to input that data into ggplot if I could find some way to merge the various matrices.