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

small ggdensitree modifications #255

Merged
merged 1 commit into from
Sep 12, 2019
Merged

Conversation

brj1
Copy link
Contributor

@brj1 brj1 commented Sep 11, 2019

Hi Yu,

I am happy with the changes you made to my PR #253, except that I don't think that branch.length="none" because the intended use of ggdensitree is to align tips vertically and horizontally from time scaled trees. The reason that ape::rmtree produces weird figures in ggdensitree is that the tips in those random trees will not have the same root-tip-distances in each tree. ape::rcoal works better to make random trees for ggdensitree.

I changed the example to include branch lengths and added a second example that is hetrochronous.

I also changed the dangle parameter to align.tips because I think that name is clearer.

removed branch.length default
dangle -> align.tips
added branch length to example
added new example with heterochronous tips
@GuangchuangYu GuangchuangYu merged commit 48eeb76 into YuLab-SMU:master Sep 12, 2019
@GuangchuangYu
Copy link
Member

thanks.

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