Code Monkey home page Code Monkey logo

Comments (8)

GuangchuangYu avatar GuangchuangYu commented on June 28, 2024 1

@xiangpin maybe we should internally support it.

from ggtree.

GuangchuangYu avatar GuangchuangYu commented on June 28, 2024

http://guangchuangyu.github.io/ggtree/treeAnnotation-inset.html

how about this one?

from ggtree.

PeteCowman avatar PeteCowman commented on June 28, 2024

This is excellent! I have been able to replicate all of the tutorial which is great!
I will test on some other trees and data i have from biogeographic area reconstruction!

I did notice that it does not work with layout type “fan”. when i try i get the error

Error: annotation_custom only works with Cartesian coordinates

It would be great to use the nodepie() and inset() function on a fan shaped tree. Can this be easily done?

Thanks for this function, its great!

Pete

On Dec 31, 2015, at 3:33 AM, Guangchuang Yu [email protected] wrote:

http://guangchuangyu.github.io/ggtree/treeAnnotation-inset.html http://guangchuangyu.github.io/ggtree/treeAnnotation-inset.html
how about this one?


Reply to this email directly or view it on GitHub #31 (comment).

from ggtree.

GuangchuangYu avatar GuangchuangYu commented on June 28, 2024

This is currently not possible since ggplot2::annotation_custom() only works with Cartesian coordinates.

from ggtree.

lixin4306ren avatar lixin4306ren commented on June 28, 2024

hello, thank you for providing such a useful tool. I have a related question, how can I also use pie charts to show tips' information, not only nodes?

from ggtree.

bheimbu avatar bheimbu commented on June 28, 2024

Hi there,

is there any update on using the nodepie() and inset() function on a fan shaped tree?

Cheers Bastian

from ggtree.

xiangpin avatar xiangpin commented on June 28, 2024

You can refer to the answer. In the answer, the p2 can be a fan or circular layout tree.

from ggtree.

bheimbu avatar bheimbu commented on June 28, 2024

Many thanks for your help, you make my day.

Cheers Bastian

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.