Skip to content

geom_nodelab() blank for circular trees #374

@cmt2

Description

@cmt2

I am attempting to add text node labels to a circular phylogeny. When I plot the tree as rectangular, geom_nodelab() works as expected:

ggtree::ggtree(example) + ggtree::geom_nodelab(ggplot2::aes(label = anc_state_1))

plot_zoom_png

However when I set tree layout to circular, it fails to plot text at the nodes.
ggtree::ggtree(example, layout = "circular") + ggtree::geom_nodelab(ggplot2::aes(label = anc_state_1))

5383e9e9-232f-4e67-bed7-594402d2a7d2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions