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: zoom function #1

Closed
uribo opened this issue Dec 23, 2014 · 4 comments
Closed

Feature request: zoom function #1

uribo opened this issue Dec 23, 2014 · 4 comments

Comments

@uribo
Copy link

uribo commented Dec 23, 2014

ggtree is a cool package.

I want to expand the phylogenetic tree.
I'm glad and if there is a function, such as the zoom function of the ape package

@GuangchuangYu
Copy link
Member

That's a nice idea. I will definitely implemented one maybe after supporting the beast output.

@GuangchuangYu
Copy link
Member

It's now supported. Please try the following example:

require(ape)
data(chiroptera)
require(ggtree)
gzoom(chiroptera, grep("Plecotus", chiroptera$tip.label))

@GuangchuangYu
Copy link
Member

I will close the issue. Pls reopen it if you have any further comments.

GuangchuangYu pushed a commit that referenced this issue Sep 12, 2017
Add updates from GCY ggtree.
@GuangchuangYu
Copy link
Member

for your information, the gzoom function was removed in current devel branch, since it can be easily done by treeio::tree_subset.

see https://yulab-smu.github.io/treedata-book/chapter2.html#subsetting-tree-with-data.

GuangchuangYu pushed a commit that referenced this issue Sep 8, 2019
update from original repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants