@sjcrh/proteinpaint-types 2.111.0 → 2.112.1-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/dist/{chunk-2OBKIEPJ.js → chunk-3QALQGW4.js} +68 -4
- package/dist/{chunk-HR6GSKDC.js → chunk-UZH5HOBP.js} +5 -5
- package/dist/clearwsisession.js +82 -5
- package/dist/index.js +2 -10
- package/dist/termdb.DE.js +1 -1
- package/dist/wsimages.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +53 -44
- package/src/routes/termdb.DE.ts +21 -5
- package/src/routes/wsimages.ts +1 -3
- package/dist/chunk-QNBBWHEY.js +0 -89
|
@@ -74,15 +74,29 @@ var validDERequest = (input) => {
|
|
|
74
74
|
var validDEResponse = (input) => {
|
|
75
75
|
const errors = [];
|
|
76
76
|
const __is = (input2) => {
|
|
77
|
-
const $io0 = (input3) => "
|
|
77
|
+
const $io0 = (input3) => Array.isArray(input3.data) && input3.data.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)) && "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2 && "string" === typeof input3.method && (void 0 === input3.images || Array.isArray(input3.images) && input3.images.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)));
|
|
78
|
+
const $io1 = (input3) => "number" === typeof input3.adjusted_p_value && "number" === typeof input3.original_p_value && "number" === typeof input3.fold_change && "string" === typeof input3.gene_name && "string" === typeof input3.gene_symbol;
|
|
79
|
+
const $io2 = (input3) => "string" === typeof input3.src && "number" === typeof input3.size && "string" === typeof input3.key;
|
|
78
80
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
79
81
|
};
|
|
80
82
|
if (false === __is(input)) {
|
|
81
83
|
const $report = import_typia.createValidate.report(errors);
|
|
82
84
|
((input2, _path, _exceptionable = true) => {
|
|
83
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => [
|
|
85
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.data) || $report(_exceptionable2, {
|
|
84
86
|
path: _path2 + ".data",
|
|
85
|
-
expected: "
|
|
87
|
+
expected: "Array<DataEntry>",
|
|
88
|
+
value: input3.data
|
|
89
|
+
})) && input3.data.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
90
|
+
path: _path2 + ".data[" + _index1 + "]",
|
|
91
|
+
expected: "DataEntry",
|
|
92
|
+
value: elem
|
|
93
|
+
})) && $vo1(elem, _path2 + ".data[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
94
|
+
path: _path2 + ".data[" + _index1 + "]",
|
|
95
|
+
expected: "DataEntry",
|
|
96
|
+
value: elem
|
|
97
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
98
|
+
path: _path2 + ".data",
|
|
99
|
+
expected: "Array<DataEntry>",
|
|
86
100
|
value: input3.data
|
|
87
101
|
}), "number" === typeof input3.sample_size1 || $report(_exceptionable2, {
|
|
88
102
|
path: _path2 + ".sample_size1",
|
|
@@ -96,7 +110,57 @@ var validDEResponse = (input) => {
|
|
|
96
110
|
path: _path2 + ".method",
|
|
97
111
|
expected: "string",
|
|
98
112
|
value: input3.method
|
|
99
|
-
}),
|
|
113
|
+
}), void 0 === input3.images || (Array.isArray(input3.images) || $report(_exceptionable2, {
|
|
114
|
+
path: _path2 + ".images",
|
|
115
|
+
expected: "(Array<DEImage> | undefined)",
|
|
116
|
+
value: input3.images
|
|
117
|
+
})) && input3.images.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
118
|
+
path: _path2 + ".images[" + _index2 + "]",
|
|
119
|
+
expected: "DEImage",
|
|
120
|
+
value: elem
|
|
121
|
+
})) && $vo2(elem, _path2 + ".images[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
122
|
+
path: _path2 + ".images[" + _index2 + "]",
|
|
123
|
+
expected: "DEImage",
|
|
124
|
+
value: elem
|
|
125
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
126
|
+
path: _path2 + ".images",
|
|
127
|
+
expected: "(Array<DEImage> | undefined)",
|
|
128
|
+
value: input3.images
|
|
129
|
+
})].every((flag) => flag);
|
|
130
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
|
|
131
|
+
path: _path2 + ".adjusted_p_value",
|
|
132
|
+
expected: "number",
|
|
133
|
+
value: input3.adjusted_p_value
|
|
134
|
+
}), "number" === typeof input3.original_p_value || $report(_exceptionable2, {
|
|
135
|
+
path: _path2 + ".original_p_value",
|
|
136
|
+
expected: "number",
|
|
137
|
+
value: input3.original_p_value
|
|
138
|
+
}), "number" === typeof input3.fold_change || $report(_exceptionable2, {
|
|
139
|
+
path: _path2 + ".fold_change",
|
|
140
|
+
expected: "number",
|
|
141
|
+
value: input3.fold_change
|
|
142
|
+
}), "string" === typeof input3.gene_name || $report(_exceptionable2, {
|
|
143
|
+
path: _path2 + ".gene_name",
|
|
144
|
+
expected: "string",
|
|
145
|
+
value: input3.gene_name
|
|
146
|
+
}), "string" === typeof input3.gene_symbol || $report(_exceptionable2, {
|
|
147
|
+
path: _path2 + ".gene_symbol",
|
|
148
|
+
expected: "string",
|
|
149
|
+
value: input3.gene_symbol
|
|
150
|
+
})].every((flag) => flag);
|
|
151
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.src || $report(_exceptionable2, {
|
|
152
|
+
path: _path2 + ".src",
|
|
153
|
+
expected: "string",
|
|
154
|
+
value: input3.src
|
|
155
|
+
}), "number" === typeof input3.size || $report(_exceptionable2, {
|
|
156
|
+
path: _path2 + ".size",
|
|
157
|
+
expected: "number",
|
|
158
|
+
value: input3.size
|
|
159
|
+
}), "string" === typeof input3.key || $report(_exceptionable2, {
|
|
160
|
+
path: _path2 + ".key",
|
|
161
|
+
expected: "string",
|
|
162
|
+
value: input3.key
|
|
163
|
+
})].every((flag) => flag);
|
|
100
164
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
101
165
|
path: _path + "",
|
|
102
166
|
expected: "DEResponse",
|
|
@@ -64,7 +64,7 @@ var validWSImagesRequest = (input) => {
|
|
|
64
64
|
var validWSImagesResponse = (input) => {
|
|
65
65
|
const errors = [];
|
|
66
66
|
const __is = (input2) => {
|
|
67
|
-
const $io0 = (input3) => (void 0 === input3.wsiSessionId || "string" === typeof input3.wsiSessionId) && (
|
|
67
|
+
const $io0 = (input3) => (void 0 === input3.wsiSessionId || "string" === typeof input3.wsiSessionId) && (Array.isArray(input3.slide_dimensions) && input3.slide_dimensions.every((elem) => "number" === typeof elem)) && "string" === typeof input3.status && (void 0 === input3.error || "string" === typeof input3.error);
|
|
68
68
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
69
69
|
};
|
|
70
70
|
if (false === __is(input)) {
|
|
@@ -74,10 +74,6 @@ var validWSImagesResponse = (input) => {
|
|
|
74
74
|
path: _path2 + ".wsiSessionId",
|
|
75
75
|
expected: "(string | undefined)",
|
|
76
76
|
value: input3.wsiSessionId
|
|
77
|
-
}), void 0 === input3.browserImageInstanceId || "string" === typeof input3.browserImageInstanceId || $report(_exceptionable2, {
|
|
78
|
-
path: _path2 + ".browserImageInstanceId",
|
|
79
|
-
expected: "(string | undefined)",
|
|
80
|
-
value: input3.browserImageInstanceId
|
|
81
77
|
}), (Array.isArray(input3.slide_dimensions) || $report(_exceptionable2, {
|
|
82
78
|
path: _path2 + ".slide_dimensions",
|
|
83
79
|
expected: "Array<number>",
|
|
@@ -94,6 +90,10 @@ var validWSImagesResponse = (input) => {
|
|
|
94
90
|
path: _path2 + ".status",
|
|
95
91
|
expected: "string",
|
|
96
92
|
value: input3.status
|
|
93
|
+
}), void 0 === input3.error || "string" === typeof input3.error || $report(_exceptionable2, {
|
|
94
|
+
path: _path2 + ".error",
|
|
95
|
+
expected: "(string | undefined)",
|
|
96
|
+
value: input3.error
|
|
97
97
|
})].every((flag) => flag);
|
|
98
98
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
99
99
|
path: _path + "",
|
package/dist/clearwsisession.js
CHANGED
|
@@ -1,9 +1,86 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
__toESM,
|
|
3
|
+
require_lib
|
|
4
|
+
} from "./chunk-CNSSF43V.js";
|
|
5
|
+
|
|
6
|
+
// dist/clearwsisession.ts
|
|
7
|
+
var import_typia = __toESM(require_lib(), 1);
|
|
8
|
+
|
|
9
|
+
// src/routes/clearwsisessions.ts
|
|
10
|
+
var clearWSImagesSessionsPayload = {
|
|
11
|
+
request: {
|
|
12
|
+
typeId: "ClearWSImagesSessionsRequest"
|
|
13
|
+
},
|
|
14
|
+
response: {
|
|
15
|
+
typeId: "ClearWSImagesSessionsResponse"
|
|
16
|
+
}
|
|
17
|
+
// examples: []
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
// dist/clearwsisession.ts
|
|
21
|
+
var validClearWSImagesSessionsRequest = (input) => {
|
|
22
|
+
const errors = [];
|
|
23
|
+
const __is = (input2) => {
|
|
24
|
+
const $io0 = (input3) => Array.isArray(input3.sessions);
|
|
25
|
+
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
26
|
+
};
|
|
27
|
+
if (false === __is(input)) {
|
|
28
|
+
const $report = import_typia.createValidate.report(errors);
|
|
29
|
+
((input2, _path, _exceptionable = true) => {
|
|
30
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => [Array.isArray(input3.sessions) || $report(_exceptionable2, {
|
|
31
|
+
path: _path2 + ".sessions",
|
|
32
|
+
expected: "Array<any>",
|
|
33
|
+
value: input3.sessions
|
|
34
|
+
})].every((flag) => flag);
|
|
35
|
+
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
36
|
+
path: _path + "",
|
|
37
|
+
expected: "ClearWSImagesSessionsRequest",
|
|
38
|
+
value: input2
|
|
39
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
40
|
+
path: _path + "",
|
|
41
|
+
expected: "ClearWSImagesSessionsRequest",
|
|
42
|
+
value: input2
|
|
43
|
+
});
|
|
44
|
+
})(input, "$input", true);
|
|
45
|
+
}
|
|
46
|
+
const success = 0 === errors.length;
|
|
47
|
+
return {
|
|
48
|
+
success,
|
|
49
|
+
errors,
|
|
50
|
+
data: success ? input : void 0
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
var validClearWSImagesSessionsResponse = (input) => {
|
|
54
|
+
const errors = [];
|
|
55
|
+
const __is = (input2) => {
|
|
56
|
+
return "object" === typeof input2 && null !== input2 && "string" === typeof input2.message;
|
|
57
|
+
};
|
|
58
|
+
if (false === __is(input)) {
|
|
59
|
+
const $report = import_typia.createValidate.report(errors);
|
|
60
|
+
((input2, _path, _exceptionable = true) => {
|
|
61
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.message || $report(_exceptionable2, {
|
|
62
|
+
path: _path2 + ".message",
|
|
63
|
+
expected: "string",
|
|
64
|
+
value: input3.message
|
|
65
|
+
})].every((flag) => flag);
|
|
66
|
+
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
67
|
+
path: _path + "",
|
|
68
|
+
expected: "ClearWSImagesSessionsResponse",
|
|
69
|
+
value: input2
|
|
70
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
71
|
+
path: _path + "",
|
|
72
|
+
expected: "ClearWSImagesSessionsResponse",
|
|
73
|
+
value: input2
|
|
74
|
+
});
|
|
75
|
+
})(input, "$input", true);
|
|
76
|
+
}
|
|
77
|
+
const success = 0 === errors.length;
|
|
78
|
+
return {
|
|
79
|
+
success,
|
|
80
|
+
errors,
|
|
81
|
+
data: success ? input : void 0
|
|
82
|
+
};
|
|
83
|
+
};
|
|
7
84
|
export {
|
|
8
85
|
clearWSImagesSessionsPayload,
|
|
9
86
|
validClearWSImagesSessionsRequest,
|
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
validWSImagesRequest,
|
|
33
33
|
validWSImagesResponse,
|
|
34
34
|
wsImagesPayload
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-UZH5HOBP.js";
|
|
36
36
|
import {
|
|
37
37
|
numericCategoriesPayload,
|
|
38
38
|
validNumericCategoriesRequest,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
diffExpPayload,
|
|
83
83
|
validDERequest,
|
|
84
84
|
validDEResponse
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-3QALQGW4.js";
|
|
86
86
|
import {
|
|
87
87
|
boxplotPayload,
|
|
88
88
|
validBoxPlotRequest,
|
|
@@ -203,11 +203,6 @@ import {
|
|
|
203
203
|
validBurdenRequest,
|
|
204
204
|
validBurdenResponse
|
|
205
205
|
} from "./chunk-ZVTZJRGS.js";
|
|
206
|
-
import {
|
|
207
|
-
clearWSImagesSessionsPayload,
|
|
208
|
-
validClearWSImagesSessionsRequest,
|
|
209
|
-
validClearWSImagesSessionsResponse
|
|
210
|
-
} from "./chunk-QNBBWHEY.js";
|
|
211
206
|
import {
|
|
212
207
|
CorrelationVolcanoPayload,
|
|
213
208
|
validCorrelationVolcanoRequest,
|
|
@@ -236,7 +231,6 @@ export {
|
|
|
236
231
|
brainImagingPayload,
|
|
237
232
|
brainImagingSamplesPayload,
|
|
238
233
|
burdenPayload,
|
|
239
|
-
clearWSImagesSessionsPayload,
|
|
240
234
|
datasetPayload,
|
|
241
235
|
descrStatsPayload,
|
|
242
236
|
diffExpPayload,
|
|
@@ -284,8 +278,6 @@ export {
|
|
|
284
278
|
validBurdenResponse,
|
|
285
279
|
validCategoriesRequest,
|
|
286
280
|
validCategoriesResponse,
|
|
287
|
-
validClearWSImagesSessionsRequest,
|
|
288
|
-
validClearWSImagesSessionsResponse,
|
|
289
281
|
validCorrelationVolcanoRequest,
|
|
290
282
|
validCorrelationVolcanoResponse,
|
|
291
283
|
validDERequest,
|
package/dist/termdb.DE.js
CHANGED
package/dist/wsimages.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -243,7 +243,6 @@ type Population = {
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
/** primarily for prebuilding germline genetic association for survivorship portal
|
|
246
|
-
accessible to client via termdb.js?for=mds3queryDetails
|
|
247
246
|
part of state of genomeBrowser plot
|
|
248
247
|
allowing for user modification
|
|
249
248
|
*/
|
|
@@ -334,7 +333,12 @@ so that it can work for a termdb-less ds, e.g. clinvar, where termdbConfig canno
|
|
|
334
333
|
}
|
|
335
334
|
allowSNPs?: boolean
|
|
336
335
|
vcfid4skewerName?: boolean
|
|
336
|
+
/** config on computing variant data and show as a custom mds3 tk */
|
|
337
337
|
details?: SnvindelComputeDetails
|
|
338
|
+
/** set to true to show mds3 tk by default when the ds have other genome browser track types besides this snvindel tk
|
|
339
|
+
if ds has only snvindel tk, then the tk will always be shown and no need to set this
|
|
340
|
+
*/
|
|
341
|
+
shown?: boolean
|
|
338
342
|
}
|
|
339
343
|
|
|
340
344
|
type SvFusion = {
|
|
@@ -452,44 +456,50 @@ type TopMutatedGenes = {
|
|
|
452
456
|
arguments?: GeneArgumentEntry[]
|
|
453
457
|
}
|
|
454
458
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
459
|
+
/** setup for a set of genome browser tracks and/or facet tables, that can be selected for genomebrowser display
|
|
460
|
+
*/
|
|
461
|
+
type TrackLst = {
|
|
462
|
+
/** path to legacy json file containing a long array of 1 or more facets
|
|
463
|
+
|
|
464
|
+
[
|
|
465
|
+
{
|
|
466
|
+
"isfacet": true,
|
|
467
|
+
"name": "PEDDEP Prepilot",
|
|
468
|
+
"tracks": [
|
|
469
|
+
{
|
|
470
|
+
name:str // required. used as *identifer* for a track
|
|
471
|
+
sample:str // required. should match with a sample in db!
|
|
472
|
+
assay:str // required. free string not controlled in dictionary yet. if missing the track won't appear in facet table
|
|
473
|
+
type:str // properties inherent for each custom track
|
|
474
|
+
file:str
|
|
475
|
+
},
|
|
476
|
+
... more tk
|
|
477
|
+
]
|
|
478
|
+
},
|
|
479
|
+
{ ... 2nd facet table }
|
|
480
|
+
]
|
|
481
|
+
|
|
482
|
+
*/
|
|
483
|
+
jsonFile: string
|
|
484
|
+
|
|
485
|
+
/*
|
|
486
|
+
alternative format that's easier to maintain than a giant json file
|
|
487
|
+
facetFiles:[
|
|
488
|
+
{
|
|
489
|
+
// name of this facet table
|
|
490
|
+
name: str
|
|
491
|
+
// a tabular file with columns "tkname/assay/sample/path/json"; last column json provides any customization for a track
|
|
492
|
+
// e.g. "Track 1 \t h3k4me3 \t sample1 \t path/to/file.bw \t {"scale":{..}}"
|
|
493
|
+
tabFile: string
|
|
494
|
+
}
|
|
495
|
+
]
|
|
496
|
+
*/
|
|
497
|
+
|
|
498
|
+
/** list of track names to show by default, should be found in json file
|
|
499
|
+
in json content above, allow a name to be shared by multiple tracks!
|
|
500
|
+
in such case, all tracks identified by given name will show/hide altogether
|
|
501
|
+
*/
|
|
502
|
+
activeTracks: string[]
|
|
493
503
|
}
|
|
494
504
|
|
|
495
505
|
type CnvSegment = {
|
|
@@ -712,6 +722,7 @@ type SCImages = {
|
|
|
712
722
|
label: string
|
|
713
723
|
}
|
|
714
724
|
|
|
725
|
+
/** genome browser LD track */
|
|
715
726
|
type LdQuery = {
|
|
716
727
|
/** each track obj defines a ld track */
|
|
717
728
|
tracks: {
|
|
@@ -719,8 +730,6 @@ type LdQuery = {
|
|
|
719
730
|
name: string
|
|
720
731
|
/** relative path of ld .gz file */
|
|
721
732
|
file: string
|
|
722
|
-
/** dynamically added full path */
|
|
723
|
-
file0?: string
|
|
724
733
|
/** dynamically added */
|
|
725
734
|
nochr?: boolean
|
|
726
735
|
/** if to show by default */
|
|
@@ -779,6 +788,9 @@ type Mds3Queries = {
|
|
|
779
788
|
snvindel?: SnvIndelQuery
|
|
780
789
|
svfusion?: SvFusion
|
|
781
790
|
cnv?: CnvSegment
|
|
791
|
+
trackLst?: TrackLst
|
|
792
|
+
ld?: LdQuery
|
|
793
|
+
defaultCoord?: string
|
|
782
794
|
singleSampleMutation?: SingleSampleMutationQuery
|
|
783
795
|
NIdata?: NIdataQuery
|
|
784
796
|
geneExpression?: GeneExpressionQuery
|
|
@@ -793,15 +805,12 @@ type Mds3Queries = {
|
|
|
793
805
|
src: 'native' | 'gdc'
|
|
794
806
|
file: string
|
|
795
807
|
}
|
|
796
|
-
trackLst?: TrackLstEntry[]
|
|
797
808
|
singleCell?: SingleCellQuery
|
|
798
809
|
geneCnv?: {
|
|
799
810
|
bygene?: {
|
|
800
811
|
gdcapi: true
|
|
801
812
|
}
|
|
802
813
|
}
|
|
803
|
-
defaultCoord?: string
|
|
804
|
-
ld?: LdQuery
|
|
805
814
|
singleSampleGenomeQuantification?: SingleSampleGenomeQuantification
|
|
806
815
|
singleSampleGbtk?: SingleSampleGbtk
|
|
807
816
|
/** depreciated. replaced by WSImages */
|
package/src/routes/termdb.DE.ts
CHANGED
|
@@ -50,17 +50,33 @@ export type ExpressionInput = {
|
|
|
50
50
|
|
|
51
51
|
export type DEResponse = {
|
|
52
52
|
/** Array containing objects of each gene containing foldchange, gene name, gene symbol, original pvalue, adjusted pvalue */
|
|
53
|
-
data:
|
|
53
|
+
data: DataEntry[]
|
|
54
54
|
/** Effective sample size for group 1 */
|
|
55
55
|
sample_size1: number
|
|
56
56
|
/** Effective sample size for group 2 */
|
|
57
57
|
sample_size2: number
|
|
58
58
|
/** Method of DE used wilcoxon/edgeR */
|
|
59
59
|
method: string
|
|
60
|
-
/** Image
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
/** QL: Image describing the quality of the fitting from QL pipeline, this is only generated for edgeR not for wilcoxon method */
|
|
61
|
+
/** MDS: Image showing the MDS plot of samples from both groups, this is only generated for edgeR not for wilcoxon method */
|
|
62
|
+
images?: DEImage[]
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export type DataEntry = {
|
|
66
|
+
adjusted_p_value: number
|
|
67
|
+
original_p_value: number
|
|
68
|
+
fold_change: number
|
|
69
|
+
gene_name: string
|
|
70
|
+
gene_symbol: string
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type DEImage = {
|
|
74
|
+
/** Image source */
|
|
75
|
+
src: string
|
|
76
|
+
/** File size */
|
|
77
|
+
size: number
|
|
78
|
+
/** Image identifier */
|
|
79
|
+
key: string
|
|
64
80
|
}
|
|
65
81
|
|
|
66
82
|
export const diffExpPayload: RoutePayload = {
|
package/src/routes/wsimages.ts
CHANGED
|
@@ -10,11 +10,9 @@ export type WSImagesRequest = {
|
|
|
10
10
|
export type WSImagesResponse = {
|
|
11
11
|
// TileServer image session id
|
|
12
12
|
wsiSessionId?: string
|
|
13
|
-
// Identifier for the image instance displayed in the browser
|
|
14
|
-
// In case the same image is displayed in multiple browser windows, a new id is generated
|
|
15
|
-
browserImageInstanceId?: string
|
|
16
13
|
slide_dimensions: number[]
|
|
17
14
|
status: string
|
|
15
|
+
error?: string
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
export const wsImagesPayload: RoutePayload = {
|
package/dist/chunk-QNBBWHEY.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__toESM,
|
|
3
|
-
require_lib
|
|
4
|
-
} from "./chunk-CNSSF43V.js";
|
|
5
|
-
|
|
6
|
-
// dist/clearwsisession.ts
|
|
7
|
-
var import_typia = __toESM(require_lib(), 1);
|
|
8
|
-
|
|
9
|
-
// src/routes/clearwsisessions.ts
|
|
10
|
-
var clearWSImagesSessionsPayload = {
|
|
11
|
-
request: {
|
|
12
|
-
typeId: "ClearWSImagesSessionsRequest"
|
|
13
|
-
},
|
|
14
|
-
response: {
|
|
15
|
-
typeId: "ClearWSImagesSessionsResponse"
|
|
16
|
-
}
|
|
17
|
-
// examples: []
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
// dist/clearwsisession.ts
|
|
21
|
-
var validClearWSImagesSessionsRequest = (input) => {
|
|
22
|
-
const errors = [];
|
|
23
|
-
const __is = (input2) => {
|
|
24
|
-
const $io0 = (input3) => Array.isArray(input3.sessions);
|
|
25
|
-
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
26
|
-
};
|
|
27
|
-
if (false === __is(input)) {
|
|
28
|
-
const $report = import_typia.createValidate.report(errors);
|
|
29
|
-
((input2, _path, _exceptionable = true) => {
|
|
30
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => [Array.isArray(input3.sessions) || $report(_exceptionable2, {
|
|
31
|
-
path: _path2 + ".sessions",
|
|
32
|
-
expected: "Array<any>",
|
|
33
|
-
value: input3.sessions
|
|
34
|
-
})].every((flag) => flag);
|
|
35
|
-
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
36
|
-
path: _path + "",
|
|
37
|
-
expected: "ClearWSImagesSessionsRequest",
|
|
38
|
-
value: input2
|
|
39
|
-
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
40
|
-
path: _path + "",
|
|
41
|
-
expected: "ClearWSImagesSessionsRequest",
|
|
42
|
-
value: input2
|
|
43
|
-
});
|
|
44
|
-
})(input, "$input", true);
|
|
45
|
-
}
|
|
46
|
-
const success = 0 === errors.length;
|
|
47
|
-
return {
|
|
48
|
-
success,
|
|
49
|
-
errors,
|
|
50
|
-
data: success ? input : void 0
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
var validClearWSImagesSessionsResponse = (input) => {
|
|
54
|
-
const errors = [];
|
|
55
|
-
const __is = (input2) => {
|
|
56
|
-
return "object" === typeof input2 && null !== input2 && "string" === typeof input2.message;
|
|
57
|
-
};
|
|
58
|
-
if (false === __is(input)) {
|
|
59
|
-
const $report = import_typia.createValidate.report(errors);
|
|
60
|
-
((input2, _path, _exceptionable = true) => {
|
|
61
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.message || $report(_exceptionable2, {
|
|
62
|
-
path: _path2 + ".message",
|
|
63
|
-
expected: "string",
|
|
64
|
-
value: input3.message
|
|
65
|
-
})].every((flag) => flag);
|
|
66
|
-
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
67
|
-
path: _path + "",
|
|
68
|
-
expected: "ClearWSImagesSessionsResponse",
|
|
69
|
-
value: input2
|
|
70
|
-
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
71
|
-
path: _path + "",
|
|
72
|
-
expected: "ClearWSImagesSessionsResponse",
|
|
73
|
-
value: input2
|
|
74
|
-
});
|
|
75
|
-
})(input, "$input", true);
|
|
76
|
-
}
|
|
77
|
-
const success = 0 === errors.length;
|
|
78
|
-
return {
|
|
79
|
-
success,
|
|
80
|
-
errors,
|
|
81
|
-
data: success ? input : void 0
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export {
|
|
86
|
-
clearWSImagesSessionsPayload,
|
|
87
|
-
validClearWSImagesSessionsRequest,
|
|
88
|
-
validClearWSImagesSessionsResponse
|
|
89
|
-
};
|