Skip to content

Feature geom_balance#64

Merged
GuangchuangYu merged 2 commits intoYuLab-SMU:masterfrom
jsilve24:feature_geom_balance
Jun 22, 2016
Merged

Feature geom_balance#64
GuangchuangYu merged 2 commits intoYuLab-SMU:masterfrom
jsilve24:feature_geom_balance

Conversation

@jsilve24
Copy link
Copy Markdown
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 <jsilve24@gmail.com>
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 <jsilve24@gmail.com>
@GuangchuangYu GuangchuangYu merged commit e64dc88 into YuLab-SMU:master Jun 22, 2016
@GuangchuangYu
Copy link
Copy Markdown
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