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

Add data ring(s) for circular trees #39

Closed
andersgs opened this issue Feb 1, 2016 · 2 comments
Closed

Add data ring(s) for circular trees #39

andersgs opened this issue Feb 1, 2016 · 2 comments

Comments

@andersgs
Copy link

andersgs commented Feb 1, 2016

It would be great to have a geom_ring to go with circular trees where at least at first binary data could be plotted (a point if data 1, and blank if 0 or empty). I assume it would use much the similar code used to calculate were to plot tip labels (perhaps something like this: https://medicine.tcd.ie/clinical_microbiology/research/murphy.php).

Ideally, we would be able to add multiple geom_rings to a single ggtree, each offset by a bit.

Or, even more ambitious would be to have a circular ggheatmap function.

Thank you.

Anders.

@GuangchuangYu
Copy link
Member

gheatmap can be in circular form by +coord_polar(theta='y').

Similar to circular form of msaplot, see http://guangchuangyu.github.io/ggtree/advanceTreeAnnotation.html

@andersgs
Copy link
Author

andersgs commented Feb 7, 2016

Thank you. I had not seen the updated vignette. Excellent stuff!!

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

2 participants