Skip to content
This repository has been archived by the owner. It is now read-only.

Cran #22

Merged
merged 9 commits into from Jul 6, 2018
Merged

Cran #22

merged 9 commits into from Jul 6, 2018

Conversation

HendrikSchultheis
Copy link
Contributor

changes to comply with cran-policies

# Run the application
shinyApp(ui = ui, server = server)
```
The server is what reacts to user interaction whithin the interface. Once started it will first parse the given [clarion](https://github.molgen.mpg.de/loosolab/wilson-apps/wiki/CLARION-Format/) file into a clarion object, performing validation steps in the process. Next the server parts of the respecting [modules](https://shiny.rstudio.com/articles/modules.html) defined in the UI (notice the matching ids) are loaded. Whereas the filter module bluntly accepts the data object with `clarion = data` the plot module receives its data via `clarion = reactive(filtered_data()$object)`. Wrapping in `reactive()` is due to the fact, that the filtered data object returned from the filter module is in a reactive context which essentially means shiny 'knows' when this variable changes. Read more about shiny's reactivity system [here](https://shiny.rstudio.com/articles/reactivity-overview.html).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe rephrase: The server reacts to user interactions with the interface.
Also: Next the server functions of the necessary modules defined in the UI (notice the matching ids) are loaded.

@jenzopr jenzopr merged commit 61859ea into loosolab:master Jul 6, 2018
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants