@sjcrh/proteinpaint-server 2.35.0 → 2.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server.js +1 -1
- package/utils/edge.R +14 -14
- package/utils/fastclust.R +28 -21
package/utils/edge.R
CHANGED
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
# Checking if all R packages are installed or not, if not installing each one of them
|
|
6
6
|
|
|
7
|
-
jsonlite_path <- system.file(package='jsonlite')
|
|
8
|
-
if (nchar(jsonlite_path) == 0) {
|
|
9
|
-
install.packages("jsonlite", repos='https://cran.case.edu/')
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
edgeR_path <- system.file(package='edgeR')
|
|
13
|
-
if (nchar(edgeR_path) == 0) {
|
|
14
|
-
BiocManager::install("edgeR")
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
readr_path <- system.file(package='readr')
|
|
18
|
-
if (nchar(readr_path) == 0) {
|
|
19
|
-
install.packages("readr", repos='https://cran.case.edu/')
|
|
20
|
-
}
|
|
7
|
+
#jsonlite_path <- system.file(package='jsonlite')
|
|
8
|
+
#if (nchar(jsonlite_path) == 0) {
|
|
9
|
+
# install.packages("jsonlite", repos='https://cran.case.edu/')
|
|
10
|
+
#}
|
|
11
|
+
#
|
|
12
|
+
#edgeR_path <- system.file(package='edgeR')
|
|
13
|
+
#if (nchar(edgeR_path) == 0) {
|
|
14
|
+
# BiocManager::install("edgeR")
|
|
15
|
+
#}
|
|
16
|
+
#
|
|
17
|
+
#readr_path <- system.file(package='readr')
|
|
18
|
+
#if (nchar(readr_path) == 0) {
|
|
19
|
+
# install.packages("readr", repos='https://cran.case.edu/')
|
|
20
|
+
#}
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
library(jsonlite)
|
package/utils/fastclust.R
CHANGED
|
@@ -3,27 +3,34 @@
|
|
|
3
3
|
|
|
4
4
|
# Image is in Rplots.pdf
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
6
|
+
############################
|
|
7
|
+
# !!! NOTE !!! #
|
|
8
|
+
############################
|
|
9
|
+
# must not auto-install missing package in any R script!
|
|
10
|
+
# declare required packages in dockerfile
|
|
11
|
+
# at 2023/12, a problem emerged for pp container running in gdc qa-pink
|
|
12
|
+
# since the docker images lacks the packages, but the auto-install was prevented due to container safety (no internet query)
|
|
13
|
+
# this script will not run, leading to hard to decipher crashing
|
|
14
|
+
|
|
15
|
+
#ggplot2_path <- system.file(package='ggplot2')
|
|
16
|
+
#if (nchar(ggplot2_path) == 0) {
|
|
17
|
+
# install.packages("ggplot2", repos='https://cran.case.edu/')
|
|
18
|
+
#}
|
|
19
|
+
#
|
|
20
|
+
#jsonlite_path <- system.file(package='jsonlite')
|
|
21
|
+
#if (nchar(jsonlite_path) == 0) {
|
|
22
|
+
# install.packages("jsonlite", repos='https://cran.case.edu/')
|
|
23
|
+
#}
|
|
24
|
+
#
|
|
25
|
+
#dendextend_path <- system.file(package='dendextend')
|
|
26
|
+
#if (nchar(dendextend_path) == 0) {
|
|
27
|
+
# install.packages("dendextend", repos='https://cran.case.edu/')
|
|
28
|
+
#}
|
|
29
|
+
#
|
|
30
|
+
#reshape_path <- system.file(package='reshape')
|
|
31
|
+
#if (nchar(reshape_path) == 0) {
|
|
32
|
+
# install.packages("reshape", repos='https://cran.case.edu/')
|
|
33
|
+
#}
|
|
27
34
|
|
|
28
35
|
#flashClust_path <- system.file(package='flashClust')
|
|
29
36
|
#if (nchar(flashClust_path) == 0) {
|