Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

decide-shiny

This repository is part of the starboard/decide project, which is a set of hardware and software for running behavioral experiments. This component is a shiny app that consumes trial data from django-decide-host to generate useful plots for tracking a subject's progress in training or testing.

This code is heavily customized for the Meliza Lab and for a specific experiment, but could serve as a useful starting point for your own analyses.

Quick start

Install dependencies

install.packages(c("shiny", "tidyverse", "jsonlite", "httr", "ggplot2", "gtools"))

Run the app

library(shiny)
runApp("appdir/track_oddball")

This should open up a browser tab pointing to the server.

Deploying as a Docker container

Create image:

docker build -t melizalab/decide-shiny .

Development

(updates automatically based on changes to local repo)

docker run --name=shiny_app --rm -p 3838:3838 --user shiny -v `pwd`:/srv/shiny-server/ melizalab/decide-shiny

Navigate to http://localhost:3838/appdir/track_oddball/

Production

docker run --name=shiny_app --rm -p 3838:3838 --user shiny melizalab/decide-shiny

Navigate to http://localhost:3838/track_oddball/

About

shiny app for graphing behavioral performance

Resources

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •