forked from MonashBioinformaticsPlatform/scRNAseq_Workshop
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path01-01-setup.Rmd
More file actions
65 lines (39 loc) · 1.94 KB
/
Copy path01-01-setup.Rmd
File metadata and controls
65 lines (39 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Set up
*For this workshop you will have available a VM*. However, if you which to use your local computer here are the set up instructions:
**IMPORTANT: If you have an M1 Mac - Make sure you have [gfortan](https://mac.r-project.org/tools/).**
## Recommended Computer Requirements:
System Requirements:
*Windows:*
* Windows 8.1 (64-bit) or later
* 4GB RAM
* SSD storage highly recommended
* Updated video/display drivers recommended
*macOS:*
* macOS 10.15 (Catalina) or later
* 4GB RAM
* SSD storage highly recommended
Install latest versions of:
* R
* RStudio
## Get the workshop material and data
In RStudio **create a new project**. This ensures all the files for this workshop are placed in their own folder.
Once you've created a new project, run the following R code
## Package Installation
For this workshop, several packages need to be installed.
BiocManager likes to update installed packages, but we have disabled this in the R code below. If your installation fails, then you might need to turn updates on. Note that if there are a large number of packages that BiocManager wants to update it can take several hours.
These instructions have been tested with R version 4.4.0 and Bioconductor version 3.16.
```{r eval=FALSE}
## Install required packages for Seurat and clustree:
install.packages(c("Seurat", "dplyr", "remotes", "R.utils", "harmony",
"hdf5r", "clustree", "RColorBrewer", "tidyverse", "pander", "here"))
## Install required Bioconductor packages
install.packages("BiocManager")
BiocManager::install(c('SingleR', 'celldex',
'BiocGenerics', 'DelayedArray', 'DelayedMatrixStats',
'limma', 'S4Vectors', 'SingleCellExperiment',
'SummarizedExperiment','edgeR' ),
update=FALSE)
# And the presto package from its github page using devtools
install.packages("devtools")
devtools::install_github('immunogenomics/presto@1.0.0')
```