snaketron / BcellNet

Tool for network-based analysis of B-cell clonal expansion
MIT License
0 stars 1 forks source link

Make data event reactive #24

Closed thatsIch closed 7 years ago

thatsIch commented 7 years ago

Currently the data is recalculated for each plot executed. That is obviously only needed if the input parameters are recalibrated.

You can do that by using the Shiny Event System, specifically eventReactive [1]. That way you can listen to a list of events like "input changed" or "button clicked" events and react to that; in our case recalculate the data.


[1] https://shiny.rstudio.com/reference/shiny/latest/observeEvent.html