Question: R color tree ggtree
0
gravatar for maxixian1990
12 weeks ago by
China
maxixian19900 wrote:

I want to plot a phylogenetic tree. I want to color the tree according to groups. it seems that ggtree could do that. ggtree(tree,aes(color=group)). the group was sort by alphabetic. Is there any option to use a user list. so that some close group could have close color.

Thank you

ggtree • 214 views
ADD COMMENTlink modified 12 weeks ago by Luiz30 • written 12 weeks ago by maxixian19900
0
gravatar for Luiz
12 weeks ago by
Luiz30
Brazil / São Paulo / UNIFESP
Luiz30 wrote:

http://bioconductor.org/packages/release/bioc/vignettes/ggtree/inst/doc/treeVisualization.html

ADD COMMENTlink written 12 weeks ago by Luiz30

updated link, https://yulab-smu.github.io/treedata-book/chapter4.html.

ADD REPLYlink written 11 weeks ago by Guangchuang Yu2.2k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1445 users visited in the last hour