YuLab-SMU / ggtree

:christmas_tree:Visualization and annotation of phylogenetic trees
https://yulab-smu.top/contribution-tree-data/
846 stars 173 forks source link

Bootstrap and tip labels printing issues #80

Closed TreeT2 closed 8 years ago

TreeT2 commented 8 years ago

Hi All,

Im trying to annotate my tree which was produced with IQ-TREE. I want my tree to only display bootstraps greater than 80%. through the following:

ggtree(tree) + geom_text2(aes(label=label, subset= label > 80))

This works for the bootstraps but this will also display some of the tip labels. All the taxa in the tree have a numeric element but the ones displayed appear to be random.

Ive tried subsetting the data similar to https://guangchuangyu.github.io/2015/09/subsetting-data-in-ggtree/

Thanks

GuangchuangYu commented 8 years ago

see https://guangchuangyu.github.io/ggtree/faq/#bootstrap-values-from-newick-format

TreeT2 commented 8 years ago

Thanks a mill

On Wednesday 19 October 2016, Guangchuang Yu notifications@github.com wrote:

see https://guangchuangyu.github.io/ggtree/faq/#bootstrap- values-from-newick-format

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GuangchuangYu/ggtree/issues/80#issuecomment-254872602, or mute the thread https://github.com/notifications/unsubscribe-auth/ATHbh_O32DY8XV1LQ4hCshiTfHm0Bpfnks5q1ko7gaJpZM4Ka2Zf .