Bishop-Laboratory / correlationAnalyzeR-ShinyApp

A web application interface for correlationAnalyzeR
https://gccri.bishop-lab.uthscsa.edu/shiny/correlation-analyzer/
1 stars 0 forks source link
shiny shiny-server

correlationAnalyzeR-ShinyApp

A web application interface for the correlationAnalyzeR R package written in Shiny.

Local installation instructions

To set up a local shiny server do the following:

  1. Clone the repo
git clone https://github.com/Bishop-Laboratory/correlationAnalyzeR-ShinyApp.git
cd correlationAnalyzeR-ShinyApp/
  1. Install R v4.2.0 session and get the renv package
R -e 'if (!requireNamespace("renv", quietly = TRUE)) install.packages("renv")'
  1. Install getSysReqs
R -e 'if (!requireNamespace("remotes", quietly = TRUE)) install.packages("remotes")'
R -e 'remotes::install_github("mdneuzerling/getsysreqs", force=TRUE)'
  1. Install system reqs (requires sudo)
REQS=$(Rscript -e 'options(warn = -1); cat(getsysreqs::get_sysreqs("renv.lock"))' | sed s/"WARNING: ignoring environment value of R_HOME"//) \
  && echo $REQS \
  && sudo apt-get install -y $REQS
  1. Optional: You may need cmake > v3.15 to build nlopt. If so, follow these instructions to get the latest cmake: link

  2. Restore the R environment to build all dependencies

R -e "renv::restore()"
  1. Run the server
Rscript app.R