-
Notifications
You must be signed in to change notification settings - Fork 174
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
Plotting circular and fan trees: root length and "vertical" branch layout #95
Comments
I think you want to produce something like Figure 1 and 2 in https://www.ncbi.nlm.nih.gov/pubmed/27605062, which were generated by The answer was already posted in google forum. |
Thanks a lot, Any idea about issue 2 ? |
issue 2 is not an issue, the segments are not straight. them seem to be straight since they are short. |
could the radius then be adjusted, so several segments join nicely into one bow? |
I am using ggtree for circular / fan tree images and would like to create publishable images. I have two major issues:
I use a random tree for illustration:
set.seed(6464); t <- rtree(60); r <- ggtree(t, layout="fan", open.angle=1); r + theme_tree() + geom_text2(aes(label=node, subset=!isTip), color="red");
tree_out_pdf.pdf
One solution to no. 1 would be to align the tip labels. However, this would not increase readibility of the tree itself.
Thanks a lot for your help in advance!
R
The text was updated successfully, but these errors were encountered: