GithubHelp home page GithubHelp logo

ggtree - circular Tree about ggtree HOT 11 CLOSED

yulab-smu avatar yulab-smu commented on July 17, 2024
ggtree - circular Tree

from ggtree.

Comments (11)

KarlaJS avatar KarlaJS commented on July 17, 2024 1

Hi,

Would have put the distance values in the circular tree?

Take the example of the figure
example

Thank you!

from ggtree.

GuangchuangYu avatar GuangchuangYu commented on July 17, 2024

can u send the tree file to gcyu AT hku.hk for testing?

from ggtree.

GuangchuangYu avatar GuangchuangYu commented on July 17, 2024

screenshot from 2015-10-21 23 58 02

use aes(angle=angle) should be fine.

from ggtree.

yangfangs avatar yangfangs commented on July 17, 2024

Hi
I have the same problem about I want view the "label names remain in the radial position" I use aes(angle=angle) but it doesn't work,there is another way "ggtree" can do this?

from ggtree.

GuangchuangYu avatar GuangchuangYu commented on July 17, 2024

show me your script that I CAN reproduce your issue.

PS: pls make sure you are using the latest release version of ggtree.

from ggtree.

yangfangs avatar yangfangs commented on July 17, 2024

I draw a tree as you example p<- ggtree(tree,layout ="circular")
p + geom_text(aes(label=label, angle=angle), vjust =-.2, na.rm = T)
but I want get names as radial position example in Figtree view as follow
snapshot2
I draw the tree in "ggtree" is
snapshot1

there is a way to get label name as radial position in ggtree?

from ggtree.

GuangchuangYu avatar GuangchuangYu commented on July 17, 2024
p + geom_text(aes(label=label, angle=angle+90),  hjust=-.2, na.rm = T)

screenshot 2015-10-22 10 15 17

It will be the default behavior in future release, see fa91c4f.

from ggtree.

yangfangs avatar yangfangs commented on July 17, 2024

yeser it's so cool, My trouble has been solved perfectly.
thank you very much!

from ggtree.

GuangchuangYu avatar GuangchuangYu commented on July 17, 2024

screenshot 2015-10-22 11 40 13

Someone already figure this out, see the figure and script in http://a.bioon.com.cn/bioonzl/article.do?artno=240.

from ggtree.

yangfangs avatar yangfangs commented on July 17, 2024

I just saw your message,I already figure my tree be the same as you post too! the "ggtree " package is very cool and useful,Thanks again!

from ggtree.

KarlaJS avatar KarlaJS commented on July 17, 2024

Hi,
My trouble has been solved perfectly.
Thank you very much!

from ggtree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.