geom_hilight report an error

79 views
Skip to first unread message

guocheng li

unread,
Oct 15, 2019, 9:39:14 PM10/15/19
to ggtree
p1 <- ggtree(tree, layout="circular",branch.length = "none",size=1, linetype=1,ladderize=FALSE,aes(color=group)) + ggtitle(label="Figure A")+ geom_tiplab2(size=2,fontface="bold") + theme(legend.position='right') +  geom_hilight(node =260, fill = "red", alpha = 0.6)


Error in FUN(X[[i]], ...) : object 'branch.length' not found


Yu, Guangchuang

unread,
Oct 16, 2019, 4:06:34 AM10/16/19
to guocheng li, ggtree
fixed in github version, which will be release in Bioconductor 3.10 at the end of this month.

On Wed, Oct 16, 2019 at 9:39 AM guocheng li <guoche...@gmail.com> wrote:
p1 <- ggtree(tree, layout="circular",branch.length = "none",size=1, linetype=1,ladderize=FALSE,aes(color=group)) + ggtitle(label="Figure A")+ geom_tiplab2(size=2,fontface="bold") + theme(legend.position='right') +  geom_hilight(node =260, fill = "red", alpha = 0.6)


Error in FUN(X[[i]], ...) : object 'branch.length' not found


--
1. G Yu*, TTY Lam, H Zhu, Y Guan*. Two methods for mapping and visualizing associated data on phylogeny using ggtree. Molecular Biology and Evolution, 2018, 35(2):3041-3043. doi: 10.1093/molbev/msy194
2. G Yu, DK Smith, H Zhu, Y Guan, TTY Lam*. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data, Methods in Ecology and Evolution, 2017, 8(1):28-36. doi:10.1111/2041-210X.12628
3. Book: https://yulab-smu.github.io/treedata-book/
---
You received this message because you are subscribed to the Google Groups "ggtree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bioc-ggtree...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bioc-ggtree/00f85658-14f7-4ef5-a2ce-f6fcb1a6e7f7%40googlegroups.com.


--
--~--~---------~--~----~------------~-------~--~----~
Guangchuang Yu PhD
Professor, Associate Director
Department of Bioinformatics
School of Basic Medical Sciences
Southern Medical University
Guangzhou, China
-~----------~----~----~----~------~----~------~--~---
Message has been deleted

Yu, Guangchuang

unread,
Oct 16, 2019, 5:26:05 AM10/16/19
to guocheng li, ggtree
`devtools::install_github("yulab-smu/ggtree")`.

On Wed, Oct 16, 2019 at 4:39 PM guocheng li <guoche...@gmail.com> wrote:
Thank you for your response,i want to know how to get the github version . I can not find the release package in the GitHub 

在 2019年10月16日星期三 UTC+8下午4:06:34,Yu, Guangchuang写道:
fixed in github version, which will be release in Bioconductor 3.10 at the end of this month.

On Wed, Oct 16, 2019 at 9:39 AM guocheng li <guoche...@gmail.com> wrote:
p1 <- ggtree(tree, layout="circular",branch.length = "none",size=1, linetype=1,ladderize=FALSE,aes(color=group)) + ggtitle(label="Figure A")+ geom_tiplab2(size=2,fontface="bold") + theme(legend.position='right') +  geom_hilight(node =260, fill = "red", alpha = 0.6)


Error in FUN(X[[i]], ...) : object 'branch.length' not found


--
1. G Yu*, TTY Lam, H Zhu, Y Guan*. Two methods for mapping and visualizing associated data on phylogeny using ggtree. Molecular Biology and Evolution, 2018, 35(2):3041-3043. doi: 10.1093/molbev/msy194
2. G Yu, DK Smith, H Zhu, Y Guan, TTY Lam*. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data, Methods in Ecology and Evolution, 2017, 8(1):28-36. doi:10.1111/2041-210X.12628
3. Book: https://yulab-smu.github.io/treedata-book/
---
You received this message because you are subscribed to the Google Groups "ggtree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bioc-...@googlegroups.com.


--
--~--~---------~--~----~------------~-------~--~----~
Guangchuang Yu PhD
Professor, Associate Director
Department of Bioinformatics
School of Basic Medical Sciences
Southern Medical University
Guangzhou, China
-~----------~----~----~----~------~----~------~--~---

--
1. LG Wang, TTY Lam, S Xu, Z Dai, L Zhou, T Feng, P Guo, CW Dunn, BR Jones, T Bradley, H Zhu, Y Guan, Y Jiang, G Yu*. treeio: an R package for phylogenetic tree input and output with richly annotated and associated data. Molecular Biology and Evolution. 2019, accepted.
2. G Yu*, TTY Lam, H Zhu, Y Guan*. Two methods for mapping and visualizing associated data on phylogeny using ggtree. Molecular Biology and Evolution, 2018, 35(2):3041-3043. doi: 10.1093/molbev/msy194
3. G Yu, DK Smith, H Zhu, Y Guan, TTY Lam*. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data, Methods in Ecology and Evolution, 2017, 8(1):28-36. doi:10.1111/2041-210X.12628
4. Book: https://yulab-smu.github.io/treedata-book/

---
You received this message because you are subscribed to the Google Groups "ggtree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bioc-ggtree...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages