Open ycl6 opened 7 years ago
I think I figured out why some aren't labelled. When the very fist sample have 0 abundance, the label is not added even though the abundance isn't 0 for other samples.
Yeah, this has been an issue for a while. See #475
@ycl6 you bug-diagnosis is very helpful. I think I have an idea of what this is and how it is happening.
@jeffkimbrel sorry for the long delay. I was aware of this issue, but it was difficult to diagnose and appeared to be arbitrary and hard to reproduce... now I see why... if the first-sample-zero turns out to be the root cause.
@jeffkimbrel thanks for pointing it out. I wasn't aware it has been reported.
@joey711 Has this bug been resolved? I'm having the same issue but the graphics are excellent and I'm hoping to use it!
@LiamMacNeil I did not realise this has not been resolved.
I just make a PR #1445 to fix problems with plot_tree
, and hopefully it will help anyone who wish to use the function
@ycl6 Success! All the taxa are now printed, the only occurs when I set justify = TRUE
. Thank you!
Thanks for testing it and your feedback @LiamMacNeil
The figure produced by plot_tree is missing many family-level labels although most of the taxa contain family-level assignment. Also the placement of the labels were off for several taxa.
The code I used to produce the plot:
And my tax table looks like this: