I have a plot in which I added the desired tooltip. But in addition to new labels, it shows default labels (the name of original variables, I mean the first and second lines).
How can I remove the default labels? please see the attached image and the code:
plot2 = ggplot(f2, aes(x = input$celltype2, y = V1, text = paste("Cell type:", input$celltype2, "\n", "shap value:", V1))) + geom_jitter(alpha = 0.1, color = "tomato") + geom_boxplot(alpha = 0) plot2%>% ggplotly()