veg / phylotree.js

Interactive viewer of phylogenetic trees
http://phylotree.hyphy.org
MIT License
169 stars 71 forks source link

Feature request - face to face tree plot #462

Open kullrich opened 3 weeks ago

kullrich commented 3 weeks ago

Hi, is a face to face tree plot possible with phylotree.js, like e.g.:

https://rdrr.io/cran/ape/man/cophyloplot.html

Based on the tip labels in the face to face plot, each label would be linked to each other to see tree topology switches (introgression, ILS, HGT).

Thank you in anticipation

Best regards

Kristian

stevenweaver commented 3 weeks ago

Dear @kullrich,

Before updating phylotree to support modern frameworks (Observable, Vue, React, etc.) we did have a tanglegram example, but it was never ported (#204, #133).

I'll keep the issue open, and attempt to find a time to port the code over to >=1.0.0.

Best, Steven

kullrich commented 3 weeks ago

Dear @stevenweaver,

thank you, this would be a very nice feature to have. There exists one Tree Topology software that I would like to enrich with these face-to-face tree plots. The idea would be to scroll over a chromosome and highlight the tree topology switches or scroll over a list of gene trees and compare directly against the species tree.

This is the original publication that I would like to code with phylotree.js

https://academic.oup.com/mbe/article/39/6/msac130/6608350

Best regards

Kristian