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

How can I modify the tree using plot_phylo? #4

Open
klcym opened this issue May 31, 2024 · 2 comments
Open

How can I modify the tree using plot_phylo? #4

klcym opened this issue May 31, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@klcym
Copy link

klcym commented May 31, 2024

Hi Katy,

I am glad to see a project to merge the matplotlib and ete3, I have a question here. How can I reroot the tree with some groups using plot_phylo? plot_phylo could not parse a Tree() object into it. That means I could not modify the tree before plot it.

Thanks for your reply.

@klcym
Copy link
Author

klcym commented May 31, 2024

there is a parameter outgroup in ploy_phylo, but it can just specifies one leaf instead of muiltiple leaves.

@KatyBrown
Copy link
Owner

Hi @klcym, sorry for my very slow response. Currently, you can't edit the tree directly with plot_phylo - I'd recommend opening the tree with ete3, making the edit and saving in newick format, then loading into plot_phylo for visualisation.

I'm working on a method to use multiple sequences as an outgroup, but I've not figured it out yet.

@KatyBrown KatyBrown added the enhancement New feature or request label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants