Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikelove/shinyma

example of shiny plots which react to clicking on points
https://github.com/mikelove/shinyma

Last synced: 24 days ago
JSON representation

example of shiny plots which react to clicking on points

Awesome Lists containing this project

README

        

# shiny clickable plots

- the shiny app in `mtcars_demo/` is a general example of two plots, which react
to clicking on points in the first plot
- the shiny app in `DESeq2_plotMA_plotCounts/` provides an MA-plot on
the left, and a plot of counts for a single gene on the right. the
gene is selected by clicking on the MA-plot.

*June 2015: contributions from Andrzej Oles in updating to current shiny syntax*

**Note** (24 July 2014): second demo only works with Bioc devel branch bc it uses
`DESeq2::plotCounts` which is in the devel branch

For more info: look up the help page for `shiny::plotOutput`,
specifically the **clickId** and **hoverId** arguments.

These arguments were suggested and added in this thread:
https://groups.google.com/d/msg/shiny-discuss/0B8VFC9XK4o/bf_SWVnxi-sJ

**Ideas / issues**

- how to send to collaborators?

- should use `par("usr")` to know the xlim and ylim of the plot
instead of range(data)

- gene set highlight