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 geom_balance #64

Merged
merged 2 commits into from
Jun 22, 2016
Merged

Conversation

jsilve24
Copy link
Contributor

(see #63)

geom_balance (and stat_balance etc...) are useful when investigating features of neighboring clades.

I have adapted code from geom_hilight in an attempt to keep it as 'ggtree-esque' as I can.

Please let me know if you have any concerns.

jsilve24 added 2 commits June 21, 2016 15:16
+ Added geom_balance - for highlighting neighboring clades.
+ Updated treeAnnotation vignette with demonstration of geom_balance.

Signed-off-by: Justin Silverman <[email protected]>
geom_balance now gives warning and does not plot balance if called on a node that is a tip or has >2 children (multichotomy).
+ updated documentation for geom_balance
+ added (simple unit test) - currently fairly trivial but could be easily expanded if desired.

Signed-off-by: Justin Silverman <[email protected]>
@GuangchuangYu GuangchuangYu merged commit e64dc88 into YuLab-SMU:master Jun 22, 2016
@GuangchuangYu
Copy link
Member

thanks for your contribution.

@jsilve24 jsilve24 deleted the feature_geom_balance branch June 22, 2016 17:31
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

Successfully merging this pull request may close these issues.

2 participants