-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.R
123 lines (112 loc) · 2.48 KB
/
packages.R
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
##############################
# author [Wankun Deng]
# email [[email protected]]
# create date 2023-02-15 18:35:29
# modify date 2023-02-15 18:35:29
# desc [description]
#############################
pkgs <- c(
'devtools',
'ComplexHeatmap',
'tidyverse',
'dplyr',
'sparklyr',
'tiff',
"Rgraphviz",
"rmarkdown",
'htmlwidgets',
'webshot',
'networkD3',
'psycModel',
'rlist',
'WGCNA',
'RUVSeq',
"IRanges",
"GenomicRanges",
"GenomicAlignments",
"GenomicFeatures",
'tximport',
'rhdf5',
'DESeq2',
'DESeq',
'sf',
# single cell
'Seurat',
'ggthemes',
'SeuratData',
'Signac',
'EnsDb.Hsapiens.v86',
'cowplot',
'multtest',
'metap',
'celldex',
'scRNAseq',
'ggplot2',
'colorspace',
'circlize',
'Hmisc',
'scales',
'Rtsne',
'corrplot',
'preprocessCore',
'locfdr',
'dendextend',
'ggpubr',
'MASS',
'reshape2',
'ggseqlogo',
'stringr',
'RColorBrewer',
'Cooccur',
'plyr',
'networkD3',
'IRkernel',
##
'BiocGenerics',
'DelayedArray',
'DelayedMatrixStats',
'limma',
'lme4',
'S4Vectors',
'SingleCellExperiment',
'SummarizedExperiment',
'batchelor',
'HDF5Array',
'terra',
'ggrastr',
'Matrix.utils',
'EBImage',
'seqinr',
'Matrix',
'Rsamtools',
'Spaniel'
)
install.packages('BiocManager')
pkgs <- unique(pkgs)
ap.db <- available.packages(contrib.url(BiocManager::repositories()))
ap <- rownames(ap.db)
pkgs_to_install <- pkgs[pkgs %in% ap]
BiocManager::install(pkgs_to_install, update=FALSE, ask=FALSE)
# From github
BiocManager::install('devtools', update=FALSE, ask=FALSE)
devtools::install_github("lkmklsmn/MitoTrace")
devtools::install_github(repo = "kueckelj/confuns")
devtools::install_github(repo = "theMILOlab/SPATA2")
# if you want to use monocle3 related wrappers
devtools::install_github('cole-trapnell-lab/leidenbase')
devtools::install_github('cole-trapnell-lab/monocle3')
suppressWarnings(BiocManager::install(update=TRUE, ask=FALSE))
# Remove tmp directory
packageurl <- "https://cran.r-project.org/src/contrib/Archive/kohonen/kohonen_2.0.19.tar.gz"
install.packages(packageurl, repos = NULL, type = "source")
# just in case there were warnings, we want to see them
# without having to scroll up:
warnings()
IRkernel::installspec(user = FALSE)
update.packages(ask = FALSE)
if (!is.null(warnings()))
{
w <- capture.output(warnings())
if (length(grep("is not available|had non-zero exit status", w))) quit(save="no", status=0L, runLast = FALSE)
}
unlink(x = '/tmp/*', recursive=T)