geom_text_repel has not been yet implemented into plotly
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal ggtree/Newick example and the plotly::ggplotly(p1) entry point, comparing the existing geom_text behavior with the reported geom_text_repel rejection. Done should mean that ggplotly accepts geom_text_repel for this use case and avoids the reported label-overlap problem.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100