Skip to content

geom_text_repel has not been yet implemented into plotly #2185

Open
@gforg34

Description

@gforg34

I want to build a phylogenetic tree from a newick file with ggplotly function but as soon as I use geom_text_repel to avoid overlapping between branches and labels, it says that this function is not yet implemented. The geom_text works only by itself but there is a lot of ovelap. Do you know anything that can help instead? Here is a small example.

library(ggtree)
library(plotly)

treefile <- "filename.newick"
tree <- read.tree(treefile)
p1 <- ggtree(tree)
p1 + geom_text_repel()
plotly::ggplotly(p1)

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