forked from hemberg-lab/scRNA.seq.course
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path01-reqs.Rmd
191 lines (149 loc) · 7.19 KB
/
01-reqs.Rmd
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
---
output: html_document
---
# Technical requirements
This course is based on the popular programming language [R](https://www.r-project.org/). However, one of the methods that we describe ([SNN-Cliq](http://bioinfo.uncc.edu/SNNCliq/)) is only partly R-based. It makes a simple _python_ call from R and requires a user to have write permissions to the working directory.
To be able to run all code chunks of the course one needs to clone or download the [course GitHub repository](https://github.com/hemberg-lab/scRNA.seq.course) and start an R session in the cloned folder.
One also needs to install the following R packages (ordered by purposes):
## General
[devtools](https://cran.r-project.org/web/packages/devtools/index.html) for installing packages from GitHub:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
install.packages("devtools")
```
[BiocInstaller](http://bioconductor.org/packages/BiocInstaller) for installing packages from BioConductor:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
source('https://bioconductor.org/biocLite.R')
biocLite('BiocInstaller')
```
[scRNA.seq.funcs](https://github.com/hemberg-lab/scRNA.seq.funcs) - R package containing some special functions used in this course:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
devtools::install_github("hemberg-lab/scRNA.seq.funcs")
```
## Plotting
[ggplot2](https://cran.r-project.org/web/packages/ggplot2/index.html) for plotting general plots:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
install.packages("ggplot2")
```
[pheatmap](https://cran.r-project.org/web/packages/pheatmap/index.html) for plotting heatmaps:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
install.packages("pheatmap")
```
[limma](https://bioconductor.org/packages/limma) for plotting Venn diagrams:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("limma")
```
## QC and normalisation
[scater](http://bioconductor.org/packages/scater) is a single-cell analysis toolkit for expression:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
source('https://bioconductor.org/biocLite.R')
biocLite('scater')
```
[mvoutlier](https://cran.r-project.org/web/packages/mvoutlier/index.html) - for an automatic outlier detection used by the [scater](https://github.com/davismcc/scater) package.
```{r, eval=FALSE, message=FALSE, warning=FALSE}
install.packages("mvoutlier")
```
[statmod](https://cran.r-project.org/web/packages/statmod/index.html) - a dependency for [mvoutlier](https://cran.r-project.org/web/packages/mvoutlier/index.html).
```{r, eval=FALSE, message=FALSE, warning=FALSE}
install.packages("statmod")
```
[Rtsne](https://cran.r-project.org/web/packages/Rtsne/index.html) for Rtsne data embedding:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
install.packages("Rtsne")
```
[scran](http://bioconductor.org/packages/scran) for a new single cell normalisation method (LSF):
```{r, eval=FALSE, message=FALSE, warning=FALSE}
source('https://bioconductor.org/biocLite.R')
biocLite('scran')
```
[RUVSeq](https://bioconductor.org/packages/RUVSeq) for normalization using ERCC controls:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("RUVSeq")
```
## Clustering
[pcaReduce](https://github.com/JustinaZ/pcaReduce) for unsupervised clustering of scRNA-seq data:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
devtools::install_github("JustinaZ/pcaReduce")
```
[pcaMethods](http://bioconductor.org/pcaMethods) is a [pcaReduce](https://github.com/JustinaZ/pcaReduce) dependency:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("pcaMethods")
```
[SC3](http://bioconductor.org/packages/SC3) for unsupervised clustering of scRNA-seq data:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
source("https://bioconductor.org/biocLite.R")
biocLite("SC3")
```
[SEURAT](https://github.com/satijalab/seurat) for density clustering of scRNA-seq data (at the moment we are using an old version of this package - v. 1.3):
```{r, eval=FALSE, message=FALSE, warning=FALSE}
devtools::install_github('satijalab/seurat', ref = 'da6cd08')
```
## Dropouts
[M3Drop](http://bioconductor.org/packages/M3Drop) for identification of important and DE genes:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
devtools::install_github("tallulandrews/M3D")
```
## Pseudotime
[TSCAN](https://bioconductor.org/packages/TSCAN) for pseudotime analysis:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("TSCAN")
```
[monocle](https://bioconductor.org/packages/monocle) for pseudotime analysis:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("monocle")
```
[destiny](https://bioconductor.org/packages/destiny) for pseudotime analysis:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("destiny")
```
## Differential Expression
[ROCR](https://cran.r-project.org/web/packages/ROCR/index.html) for performance estimations:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
install.packages("ROCR")
```
[edgeR](https://bioconductor.org/packages/edgeR) for identification of differentially expressed genes:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("edgeR")
```
[DESeq2](https://bioconductor.org/packages/DESeq2) for identification of differentially expressed genes:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("DESeq2")
```
[scde](http://hms-dbmi.github.io/scde/) for identification of differentially expressed genes:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
devtools::install_github("hms-dbmi/scde", build_vignettes = FALSE)
```
* Installation on Mac OS X may require [this additional gfortran library](http://thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error/):
```
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /
```
* See the [help page](http://hms-dbmi.github.io/scde/help.html) for additional support.
## Extra tools
[MultiAssayExperiment](https://bioconductor.org/packages/MultiAssayExperiment) for working with [conquer](http://imlspenticton.uzh.ch:3838/conquer/) datasets:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("MultiAssayExperiment")
```
[SummarizedExperiment](https://bioconductor.org/packages/SummarizedExperiment) for working with [conquer](http://imlspenticton.uzh.ch:3838/conquer/) datasets:
```{r, eval=FALSE, message=FALSE, warning=FALSE}
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("SummarizedExperiment")
```