Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mikelove/shinyma
- Owner: mikelove
- Created: 2014-07-23T15:56:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-18T13:48:42.000Z (over 9 years ago)
- Last Synced: 2024-05-09T07:53:18.768Z (6 months ago)
- Language: R
- Homepage:
- Size: 341 KB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 branchFor 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