geom_GeomTextRepel() has yet to be implemented in plotly
#plot output generated but without text written explicitly on correlation funnel plot, however, when hovering it shows the text description trial_funnelplot <- trial_churn %>% binarize()%>% glimpse()%>% correlate(y__yes )%>% plot_correlation_funnel()
ggplotly(trial_funnelplot) Warning message: In geom2trace.default(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) : geom_GeomTextRepel() has yet to be implemented in plotly
Duplicate of #2408
GGrepel is quite very tricky to implement, as it requires good knowledge of exact text shapes and repositioning upon plot zoom/pan so labels remain readable. That means that ideal implementation would be done in JavaScript and run in the browser - and that is a lot of work to implement and maintain, and it would likely look different than original ggrepel, causing endless influx of "bug" reports. Not something I am looking forward to. That said - if you have ideas, PRs are welcome!
I see reason why it's tricky to implement. Thanks for the response.
On Mon, Mar 3, 2025, 10:50 PM Roman Zenka @.***> wrote:
Duplicate of #2408 https://github.com/plotly/plotly.R/issues/2408
GGrepel is quite very tricky to implement, as it requires good knowledge of exact text shapes and repositioning upon plot zoom/pan so labels remain readable. That means that ideal implementation would be done in JavaScript and run in the browser - and that is a lot of work to implement and maintain, and it would likely look different than original ggrepel, causing endless influx of "bug" reports. Not something I am looking forward to. That said - if you have ideas, PRs are welcome!
— Reply to this email directly, view it on GitHub https://github.com/plotly/plotly.R/issues/2428#issuecomment-2695641066, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO24SAPLMCQUX3DXG6WD6ED2STFCBAVCNFSM6AAAAABYGMZGHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJVGY2DCMBWGY . You are receiving this because you authored the thread.Message ID: @.***> [image: romanzenka]romanzenka left a comment (plotly/plotly.R#2428) https://github.com/plotly/plotly.R/issues/2428#issuecomment-2695641066
Duplicate of #2408 https://github.com/plotly/plotly.R/issues/2408
GGrepel is quite very tricky to implement, as it requires good knowledge of exact text shapes and repositioning upon plot zoom/pan so labels remain readable. That means that ideal implementation would be done in JavaScript and run in the browser - and that is a lot of work to implement and maintain, and it would likely look different than original ggrepel, causing endless influx of "bug" reports. Not something I am looking forward to. That said - if you have ideas, PRs are welcome!
— Reply to this email directly, view it on GitHub https://github.com/plotly/plotly.R/issues/2428#issuecomment-2695641066, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO24SAPLMCQUX3DXG6WD6ED2STFCBAVCNFSM6AAAAABYGMZGHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJVGY2DCMBWGY . You are receiving this because you authored the thread.Message ID: @.***>
+1 from me, would be nice for ggtangle::cnetplot, which is part of the clusterProfiler/ DOSE suite of tools.
library(DOSE)
library(org.Hs.eg.db)
library(plotly)
data(geneList)
de <- names(geneList)[abs(geneList) > 2]
edo <- enrichDGN(de)
edox <- setReadable(edo, 'org.Hs.eg.db', 'ENTREZID')
p1 <- ggtangle::cnetplot(edox, foldChange=geneList)
ggplotly(p1)