CRI-iAtlas / shiny-iatlas

An interactive web portal for exploring immuno-oncology data. This repo now superseded by iatlas-app
https://www.cri-iatlas.org
Apache License 2.0
47 stars 12 forks source link

Consolidate reusable functions and elements into helpers scripts #2

Closed jaeddy closed 6 years ago

jaeddy commented 6 years ago

For example:

iatlas-demo/
├── helpers
    └── heatmap_widget.R

heatmap_widget.R would include the function heatmap_widget() that would take a set of inputs and options and return a heatmap object. All helper scripts would be sourced by global.R and functions would be available for any module UI or server functions.

Note: not exactly sure if this is best practice, but can't find good examples of how to handle this.

andrewelamb commented 6 years ago

A lot of this has been done but there is still more that could be done, depending on priorities, and what modules get added.