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.
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.
docker run --name=shiny_app --rm -p 3838:3838 --user shiny -v `pwd`:/srv/shiny-server/ dmeliza/decide-shinyNavigate to http://localhost:3838/appdir/track_oddball/