server/server_trial1.R

output$trial1 <- renderPlot({
  
  m <- highlight_key(mpg)
  p <- ggplot2::ggplot(m, aes(displ, hwy)) + geom_point()
  gg <- highlight(ggplotly(p), "plotly_selected")
  crosstalk::bscols(gg, DT::datatable(m))
  
  
})
sbalci/histopathRshiny documentation built on March 27, 2023, 10:09 a.m.