Skip to content

Getting Started

Laura Hughes edited this page Aug 12, 2017 · 15 revisions

Installing R & RStudio

  1. The latest version of R can be downloaded and installed from the Comprehensive R Archive Network (CRAN). R download

  2. ExpressionDB was built using ShinyApps, an extension of RStudio. A free, open-source copy of RStudio can be downloaded here. RStudio download

Download ExpressionDB

  1. Download the ExpressionDB package.

Launching ExpressionDB

  1. The easiest way to launch ExpressionDB is through RStudio. Open RStudio and navigate to the folder containing your copy of ExpressionDB.

find files

  1. Open global.R open global.R

  2. Click Run App green arrow from the top right side of the file window in RStudio. run app

If you have not installed the Shiny R package before, RStudio will ask you if you want to install it. Click yes. install Shiny

Then two things will happen. First, all the necessary dependencies for ExpressionDB will install and load. This will take some time, but you only have to do this on the first instance. Second, a sample dataset will load, and statistics for the gene expression will be calculated.

  1. The ExpressionDB will launch either in Chrome or internally within RStudio, allowing you to explore and visualize the data.

  2. To stop the application, press esc at the command line console in RStudio.

  3. In the future (or if you've already installed the Shiny R package), you can launch the app by typing shiny::runApp("<my_working_directory>") at the console prompt. Be sure to replace <my_working_directory> with the location of your directory, or set your working directory to the ExpressionDB folder.

Customizing ExpressionDB with your own data

See our User's Guide to see some examples of how you can use this code to build your own RNA-seq expression database.

Required dependencies:

  • data.table version 1.10.4
  • dplyr version 0.7.2
  • DT version 0.2
  • dtplyr version 0.0.2
  • ggplot2 version 2.2.1
  • heatmaply version 0.10.1
  • RColorBrewer version 1.1-2
  • shiny version 1.0.3
  • shinydashboard version 0.6.1
  • stringr version 1.2.0
  • tidyr version 0.6.3