Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: branch coloring in phylo.to.map #151

Open
alexweisberg opened this issue Mar 23, 2024 · 0 comments
Open

Feature request: branch coloring in phylo.to.map #151

alexweisberg opened this issue Mar 23, 2024 · 0 comments

Comments

@alexweisberg
Copy link

Hi, I have used phytools for many research projects and it has been very useful, so thank you. I have a request for a feature, or I am otherwise not sure of the proper way to generate this particular plot.

I would like to plot a phylogeny associated to a map using the phylo.to.map function. I can successfully do this for my data, however it would be nice to also color the branches of the tree based on some value (i.e. bootstrap support). I can do this when I plot a cophylo object by extracting the rotated trees and then providing an edge.col parameter with a list of colors corresponding to each edge to the plot function, however this does not seem to work for phylo.to.map, it just ignores the edge.col parameter.

A second small request would be if it is possible to set an offset for the tip points of a tree in the phylo.to.map figure. I would like to have them slightly offset from the tree so that it is easier to see the tip branch lengths.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant