@sjcrh/proteinpaint-server 2.79.7-1 → 2.80.0
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/dataset/termdb.test.js +18 -11
- package/package.json +2 -2
- package/routes/termdb.config.js +1 -4
- package/src/app.js +36 -30
- package/utils/regression.R +3 -5
- package/utils/regression.utils.R +82 -57
package/dataset/termdb.test.js
CHANGED
|
@@ -5,8 +5,24 @@ copyDataFilesFromRepo2Tp();
|
|
|
5
5
|
var termdb_test_default = {
|
|
6
6
|
isMds3: true,
|
|
7
7
|
cohort: {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
massNav: {
|
|
9
|
+
title: { text: "" },
|
|
10
|
+
//it will show cohorts instead
|
|
11
|
+
tabs: {
|
|
12
|
+
// about: {
|
|
13
|
+
// hide: true,
|
|
14
|
+
// order: 4,
|
|
15
|
+
// top: 'test',
|
|
16
|
+
// mid: 'test about',
|
|
17
|
+
// btm: 'test',
|
|
18
|
+
// html: 'Test'
|
|
19
|
+
// },
|
|
20
|
+
// charts: {
|
|
21
|
+
// top: 'test charts',
|
|
22
|
+
// mid: 'mid test'
|
|
23
|
+
// }
|
|
24
|
+
}
|
|
25
|
+
},
|
|
10
26
|
db: {
|
|
11
27
|
file: "files/hg38/TermdbTest/db"
|
|
12
28
|
},
|
|
@@ -85,15 +101,6 @@ var termdb_test_default = {
|
|
|
85
101
|
}
|
|
86
102
|
},
|
|
87
103
|
termid2totalsize2: {}
|
|
88
|
-
// about: {
|
|
89
|
-
// tab: {
|
|
90
|
-
// order: 4,
|
|
91
|
-
// topLabel: 'test',
|
|
92
|
-
// midLabel: 'test about',
|
|
93
|
-
// btmLabel: 'test'
|
|
94
|
-
// },
|
|
95
|
-
// html: 'Test'
|
|
96
|
-
// }
|
|
97
104
|
},
|
|
98
105
|
scatterplots: {
|
|
99
106
|
plots: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjcrh/proteinpaint-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.80.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "a genomics visualization tool for exploring a cohort's genotype and phenotype data",
|
|
6
6
|
"main": "src/app.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@babel/preset-env": "^7.9.6",
|
|
44
44
|
"@babel/preset-typescript": "^7.21.4",
|
|
45
45
|
"@babel/register": "^7.14.5",
|
|
46
|
-
"@sjcrh/proteinpaint-types": "2.
|
|
46
|
+
"@sjcrh/proteinpaint-types": "2.80.0",
|
|
47
47
|
"@types/node": "^20.11.24",
|
|
48
48
|
"@types/tough-cookie": "^4.0.5",
|
|
49
49
|
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
package/routes/termdb.config.js
CHANGED
|
@@ -58,8 +58,7 @@ function make(q, res, ds, genome) {
|
|
|
58
58
|
lollipop: tdb.lollipop,
|
|
59
59
|
urlTemplates: tdb.urlTemplates,
|
|
60
60
|
title: "title" in ds.cohort ? ds.cohort.title : { text: ds.label },
|
|
61
|
-
|
|
62
|
-
tabs: ds.cohort.tabs,
|
|
61
|
+
massNav: ds.cohort.massNav,
|
|
63
62
|
tracks: tdb.tracks,
|
|
64
63
|
sampleTypes: ds.cohort.termdb.sampleTypes,
|
|
65
64
|
hasSampleAncestry: ds.cohort.termdb.hasSampleAncestry,
|
|
@@ -89,8 +88,6 @@ function make(q, res, ds, genome) {
|
|
|
89
88
|
c.useCasesExcluded = tdb.useCasesExcluded;
|
|
90
89
|
if (tdb.excludedTermtypeByTarget)
|
|
91
90
|
c.excludedTermtypeByTarget = tdb.excludedTermtypeByTarget;
|
|
92
|
-
if (tdb.about)
|
|
93
|
-
c.about = tdb.about;
|
|
94
91
|
if (tdb.survival)
|
|
95
92
|
c.survival = tdb.survival;
|
|
96
93
|
if (ds.assayAvailability)
|