GitHub - VizWizard/BoxPlotR.shiny: shiny application to generate box plots with R (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Repository files navigation
BoxPlotR
This is the repository for the Shiny application presented in "BoxPlotR: a web tool for generation of box plots" (Spitzer at al. 2014).
Installation
You have two options for running shiny-boxplot:
- Launch directly from R and GitHub:
- Before running the app you will need to have R and RStudio installed (tested with R 3.2.1 and RStudio 0.99.465).
- Launch the R console
- Please run these lines in R:
- install.packages("shiny")
- install.packages("devtools")
- devtools::install_github("rstudio/shiny-incubator")
- install.packages("beeswarm")
- install.packages("vioplot")
- install.packages("beanplot")
- install.packages("RColorBrewer")
- Then start the app:
- shiny::runGitHub("BoxPlotR.shiny", "VizWizard")
Your web browser will open the web app.
- Install the shiny-server and implement shiny-boxplot as a web application and service:
- In Ubuntu 12.04+
- sudo apt-get install gdebi-core
- wget http://download3.rstudio.org/ubuntu-12.04/x86_64/shiny-server-1.0.0.42-amd64.deb (may need to change ubuntu or server version number)
- sudo gdebi shiny-server-1.0.0.42-amd64.deb
- edit: /opt/shiny-server/config/default.config in a text editor
* Change these lines to suit your environment
* listen SHINY_PORT; (change SHINY_PORT to match the port you want)
* site_dir SHINY_APP_HOME; (change SHINY_APP_HOME to the location for your shiny apps) - make sure SHINY_PORT is open on your firewall
- Go to your SHINY_APP_HOME
* cd SHINY_APP_HOME - Get the latest shiny-boxplot code from github:
* wget https://github.com/VizWizard/BoxPlotR.shiny/archive/master.zip
* unzip master.zip
* mv BoxPlotR.shiny-master BoxPlotR.shiny - Restart shiny-server service:
* sudo service shiny-server restart
You should now be able to access shiny-boxplot at: http://YOURSITE:%2A%2ASHINY%5FPORT%2A%2A/BoxPlotR.shiny