Skip to content

Commit

Permalink
install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith MItchell committed Feb 25, 2020
1 parent 620efec commit d9572bc
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 0 deletions.
Binary file added .install_images/directory_name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .install_images/line_change.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .install_images/new_directory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .install_images/open_project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .install_images/project_type.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .install_images/r_console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .install_images/run_app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Installing and running the app:

1. Install Rstudio for your operating system.

https://rstudio.com/products/rstudio/download/#download

2. Install R version 3.6.2
- windows: https://cran.r-project.org/bin/windows/base/
- macosx: https://cran.r-project.org/bin/macosx/R-3.6.2.pkg
- linux: `sudo apt install r-base`

3. Open RStudio and point it to the newest version of R (only applicable if you have an old version of R installed)

4. Install the following packages by running these lines in your R console:
(shown in the image in the bottom left hand corner)
![](.install_images/r_console.png)

```
if (!any(rownames(installed.packages()) == "shiny")){
install.packages("shiny")
}
library(shiny)
if (!any(rownames(installed.packages()) == "markdown")){
install.packages("markdown")
}
library(markdown)
if (!any(rownames(installed.packages()) == "ggplot2")){
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("ggplot2")
}
library(ggplot2)
if (!any(rownames(installed.packages()) == "dplyr")){
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("dplyr")
}
library(dplyr)
if (!any(rownames(installed.packages()) == "Seurat")){
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("Seurat")
}
library(Seurat)
```
5. Download the contents of the app: https://github.com/ucdavis-bioinformatics/scRNA_shiny/archive/master.zip
- move it somewhere convenient like your Desktop
6. File > Open project in Rstudio. Then choose wherever you moved this folder.
![](.install_images/open_project.png)
7. Move the file of interest (.rds) supplied to you to this same directory. Then change the highligted line to be the name of the your file.
![](.install_images/line_change.png)
(finally click run app at the top of the page after clicking on the app.R file of the right hand side of the GUI)
![](.install_images/run_app.png)

0 comments on commit d9572bc

Please sign in to comment.