-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathneeded_packages.Rmd
193 lines (159 loc) · 3.33 KB
/
needed_packages.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
191
192
193
# Needed packages
# Beginner sessions
## Cran dependencies:
```{r}
cran_dependencies <-
c("BiocManager",
"pak")
install.packages(cran_dependencies, Ncpus = 4)
```
## Biocondutor dependencies:
```{r}
bioc_dependencies <-
c("GenomeInfoDb",
"GenomicRanges",
"IRanges",
"Rsamtools",
"S4Vectors",
"BiocGenerics",
"limma",
"ComplexHeatmap")
```
## Cran packages:
```{r}
needed_packages_cran <- c(
"rstudioapi",
"batchelor",
"data.table",
"DESeq2",
"fgsea",
"future",
"ggrepel",
"ggthemes",
"harmony",
"knitr",
"MAST",
"msigdbr",
"parallel",
"patchwork",
"pheatmap",
"RColorBrewer",
"Rcpp",
"reticulate",
"rmarkdown",
"Seurat",
"SeuratObject",
"Signac",
"testthat",
"tidyverse")
pak::pkg_install(c(bioc_dependencies,
needed_packages_cran))
```
## Packages from GitHub
```{r}
github_packages <-
c("saeyslab/nichenetr",
"kidcancerlab/rrrSingleCellUtils",
"NMikolajewicz/scMiko",
"satijalab/seurat-data",
"mojaveazure/seurat-disk",
"satijalab/seurat-wrappers",
"satijalab/azimuth")
```
## Install all packages
```{r install_beginner}
pak::pkg_install(github_packages)
```
# Advanced sessions
For testing purposes only:
export R_LIBS_SITE="testLibDir/"
.libPaths(.libPaths()[2])
## Unix utilities
On the Franklin cluster, we require
HDF5
python (version likely doesn't matter)
R4.3.3
Rstudio
We also need to load
`ml load CMake/3.16.4 XZ/5.2.5 NLopt/2.6.1`
in order for the packages to install without compilation errors.
I doubt the specific versions of cmake, etc. are important, those are just the ones I used.
For the workshop we will load the required software with:
`ml GCC/9.3.0 OpenMPI/4.0.3 scrgot/24`
reticulate::install_python(version = "3.11")
Add in:
R.utils
scran
quadprog
Rfast
scatterpie
presto
## Cran dependencies:
```{r}
cran_dependencies <-
c("BiocManager",
"pak")
install.packages(cran_dependencies, Ncpus = 2)
```
```{r}
bioc_dependencies <-
c("GenomeInfoDb",
"GenomicRanges",
"IRanges",
"Rsamtools",
"S4Vectors",
"BiocGenerics")
cran_packages <-
c("KernSmooth",
"pheatmap",
"tidyverse",
"qs",
"RColorBrewer",
"reticulate",
"SeuratObject",
"Signac",
"Seurat")
bioc_packages <-
c("AUCell",
"biovizBase",
"ComplexHeatmap",
"doMC",
"doRNG",
"DT",
"EnsDb.Mmusculus.v79",
"GENIE3",
"NMF",
"mixtools",
"R2HTML",
"Rtsne",
"zoo")
pak::pkg_install(c(bioc_dependencies,
cran_packages,
bioc_packages))
```
```{r github_packages}
github_packages <-
c("thomasp85/patchwork",
"bokeh/rbokeh",
"aertslab/RcisTarget",
"drieslab/Giotto",
"saeyslab/nichenetr",
"kidcancerlab/rrrSingleCellUtils",
"aertslab/SCopeLoomR",
"aertslab/SCENIC",
"satijalab/seurat-data",
"mojaveazure/seurat-disk",
"bnprks/BPCells",
"satijalab/azimuth")
pak::pkg_install(github_packages)
```
```{r last_few}
couple_more <-
c("R.utils",
"scran",
"quadprog",
"Rfast",
"scatterpie",
"immunogenomics/presto")
pak::pkg_install(couple_more)
```