@sjcrh/proteinpaint-types 2.188.0 → 2.189.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/aiProjectSelectedWSImages.js +1 -1
- package/dist/{chunk-YW5G4M5D.js → chunk-2X36CBQF.js} +2 -2
- package/dist/{chunk-VJB6F2HL.js → chunk-CWACV4MW.js} +4 -8
- package/dist/{chunk-BZVFHGN3.js → chunk-GCJESMM2.js} +5 -1
- package/dist/{chunk-G4MMYXP6.js → chunk-HD3J5BKM.js} +5 -1
- package/dist/{chunk-DUCWIRPX.js → chunk-KXYFG2HO.js} +4 -8
- package/dist/{chunk-ULKGA7YY.js → chunk-P3WBZJFF.js} +2 -2
- package/dist/{chunk-AGMCAWBR.js → chunk-SLXGWQZ4.js} +5 -1
- package/dist/{chunk-QNH3PKJK.js → chunk-TLZ5ROOU.js} +5 -1
- package/dist/{chunk-JDF7A2LY.js → chunk-UDTEGP3G.js} +5 -1
- package/dist/deleteWSITileSelection.js +1 -1
- package/dist/genesetEnrichment.js +1 -1
- package/dist/index.js +9 -9
- package/dist/samplewsimages.js +1 -1
- package/dist/saveWSIAnnotation.js +1 -1
- package/dist/termdb.DE.js +1 -1
- package/dist/termdb.dapVolcano.js +1 -1
- package/dist/termdb.diffMeth.js +1 -1
- package/dist/termdb.singlecellDEgenes.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +4 -2
- package/src/routes/aiProjectSelectedWSImages.ts +3 -4
- package/src/routes/termdb.DE.ts +6 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
aiProjectSelectedWSImagesResponsePayload,
|
|
3
3
|
validAiProjectSelectedWSImagesRequest,
|
|
4
4
|
validAiProjectSelectedWSImagesResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KXYFG2HO.js";
|
|
6
6
|
import "./chunk-YNHC5SXO.js";
|
|
7
7
|
export {
|
|
8
8
|
aiProjectSelectedWSImagesResponsePayload,
|
|
@@ -21,7 +21,7 @@ var validSaveWSIAnnotationRequest = (input) => {
|
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && ("object" === typeof input3.tileSelection && null !== input3.tileSelection && $io1(input3.tileSelection)) && "number" === typeof input3.classId && "number" === typeof input3.projectId && "string" === typeof input3.wsimage;
|
|
24
|
-
const $io1 = (input3) => Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]) && (void 0 === input3["class"] || "string" === typeof input3["class"]) && (0 === input3.flag ||
|
|
24
|
+
const $io1 = (input3) => Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]) && (void 0 === input3["class"] || "string" === typeof input3["class"]) && (0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
|
|
25
25
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
26
26
|
};
|
|
27
27
|
if (false === __is(input)) {
|
|
@@ -83,7 +83,7 @@ var validSaveWSIAnnotationRequest = (input) => {
|
|
|
83
83
|
path: _path2 + '["class"]',
|
|
84
84
|
expected: "(string | undefined)",
|
|
85
85
|
value: input3["class"]
|
|
86
|
-
}), 0 === input3.flag ||
|
|
86
|
+
}), 0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
|
|
87
87
|
path: _path2 + ".flag",
|
|
88
88
|
expected: "(0 | 1 | 2 | 3)",
|
|
89
89
|
value: input3.flag
|
|
@@ -71,8 +71,8 @@ var validSampleWSImagesResponse = (input) => {
|
|
|
71
71
|
const __is = (input2) => {
|
|
72
72
|
const $io0 = (input3) => Array.isArray(input3.sampleWSImages) && input3.sampleWSImages.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
|
|
73
73
|
const $io1 = (input3) => (void 0 === input3.id || "number" === typeof input3.id) && "string" === typeof input3.filename && (void 0 === input3.metadata || "string" === typeof input3.metadata) && (void 0 === input3.predictionLayers || Array.isArray(input3.predictionLayers) && input3.predictionLayers.every((elem) => "string" === typeof elem)) && (void 0 === input3.annotations || Array.isArray(input3.annotations) && input3.annotations.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.predictions || Array.isArray(input3.predictions) && input3.predictions.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && (void 0 === input3.classes || Array.isArray(input3.classes) && input3.classes.every((elem) => "object" === typeof elem && null !== elem && $io4(elem))) && true && (void 0 === input3.activePatchColor || "string" === typeof input3.activePatchColor) && (void 0 === input3.tileSize || "number" === typeof input3.tileSize);
|
|
74
|
-
const $io2 = (input3) => "string" === typeof input3["class"] &&
|
|
75
|
-
const $io3 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.uncertainty && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag ||
|
|
74
|
+
const $io2 = (input3) => "string" === typeof input3["class"] && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
|
|
75
|
+
const $io3 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.uncertainty && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
|
|
76
76
|
const $io4 = (input3) => "number" === typeof input3.id && "string" === typeof input3.key_shortcut && "string" === typeof input3.label && "string" === typeof input3.color;
|
|
77
77
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
78
78
|
};
|
|
@@ -181,10 +181,6 @@ var validSampleWSImagesResponse = (input) => {
|
|
|
181
181
|
path: _path2 + '["class"]',
|
|
182
182
|
expected: "string",
|
|
183
183
|
value: input3["class"]
|
|
184
|
-
}), "number" === typeof input3.status || $report(_exceptionable2, {
|
|
185
|
-
path: _path2 + ".status",
|
|
186
|
-
expected: "number",
|
|
187
|
-
value: input3.status
|
|
188
184
|
}), (Array.isArray(input3.zoomCoordinates) || $report(_exceptionable2, {
|
|
189
185
|
path: _path2 + ".zoomCoordinates",
|
|
190
186
|
expected: "[number, number]",
|
|
@@ -208,7 +204,7 @@ var validSampleWSImagesResponse = (input) => {
|
|
|
208
204
|
path: _path2 + ".zoomCoordinates",
|
|
209
205
|
expected: "[number, number]",
|
|
210
206
|
value: input3.zoomCoordinates
|
|
211
|
-
}), 0 === input3.flag ||
|
|
207
|
+
}), 0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
|
|
212
208
|
path: _path2 + ".flag",
|
|
213
209
|
expected: "(0 | 1 | 2 | 3)",
|
|
214
210
|
value: input3.flag
|
|
@@ -252,7 +248,7 @@ var validSampleWSImagesResponse = (input) => {
|
|
|
252
248
|
path: _path2 + ".zoomCoordinates",
|
|
253
249
|
expected: "[number, number]",
|
|
254
250
|
value: input3.zoomCoordinates
|
|
255
|
-
}), 0 === input3.flag ||
|
|
251
|
+
}), 0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
|
|
256
252
|
path: _path2 + ".flag",
|
|
257
253
|
expected: "(0 | 1 | 2 | 3)",
|
|
258
254
|
value: input3.flag
|
|
@@ -23,7 +23,7 @@ var validTermdbSingleCellDEgenesRequest = (input) => {
|
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (null !== input3.sample && void 0 !== input3.sample && ("string" === typeof input3.sample || "object" === typeof input3.sample && null !== input3.sample && $io1(input3.sample))) && "string" === typeof input3.termId && "string" === typeof input3.categoryName && ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io2(input3.volcanoRender));
|
|
25
25
|
const $io1 = (input3) => "string" === typeof input3.sID && "string" === typeof input3.eID;
|
|
26
|
-
const $io2 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io3(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
|
|
26
|
+
const $io2 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io3(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots) && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio);
|
|
27
27
|
const $io3 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
|
|
28
28
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
29
29
|
};
|
|
@@ -120,6 +120,10 @@ var validTermdbSingleCellDEgenesRequest = (input) => {
|
|
|
120
120
|
path: _path2 + ".maxInteractiveDots",
|
|
121
121
|
expected: "(number | undefined)",
|
|
122
122
|
value: input3.maxInteractiveDots
|
|
123
|
+
}), void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
|
|
124
|
+
path: _path2 + ".devicePixelRatio",
|
|
125
|
+
expected: "(number | undefined)",
|
|
126
|
+
value: input3.devicePixelRatio
|
|
123
127
|
})].every((flag) => flag);
|
|
124
128
|
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
|
|
125
129
|
path: _path2 + ".pValueCutoff",
|
|
@@ -23,7 +23,7 @@ var validDERequest = (input) => {
|
|
|
23
23
|
const errors = [];
|
|
24
24
|
const __is = (input2) => {
|
|
25
25
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && "number" === typeof input3.min_count && "number" === typeof input3.min_total_count && "number" === typeof input3.cpm_cutoff && ("text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method) && true && true && (void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis) && ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io1(input3.volcanoRender));
|
|
26
|
-
const $io1 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io2(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
|
|
26
|
+
const $io1 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io2(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots) && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio);
|
|
27
27
|
const $io2 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
|
|
28
28
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
29
29
|
};
|
|
@@ -111,6 +111,10 @@ var validDERequest = (input) => {
|
|
|
111
111
|
path: _path2 + ".maxInteractiveDots",
|
|
112
112
|
expected: "(number | undefined)",
|
|
113
113
|
value: input3.maxInteractiveDots
|
|
114
|
+
}), void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
|
|
115
|
+
path: _path2 + ".devicePixelRatio",
|
|
116
|
+
expected: "(number | undefined)",
|
|
117
|
+
value: input3.devicePixelRatio
|
|
114
118
|
})].every((flag) => flag);
|
|
115
119
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
|
|
116
120
|
path: _path2 + ".pValueCutoff",
|
|
@@ -74,8 +74,8 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
|
|
|
74
74
|
const __is = (input2) => {
|
|
75
75
|
const $io0 = (input3) => Array.isArray(input3.wsimages) && input3.wsimages.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
|
|
76
76
|
const $io1 = (input3) => (void 0 === input3.id || "number" === typeof input3.id) && "string" === typeof input3.filename && (void 0 === input3.metadata || "string" === typeof input3.metadata) && (void 0 === input3.predictionLayers || Array.isArray(input3.predictionLayers) && input3.predictionLayers.every((elem) => "string" === typeof elem)) && (void 0 === input3.annotations || Array.isArray(input3.annotations) && input3.annotations.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.predictions || Array.isArray(input3.predictions) && input3.predictions.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && (void 0 === input3.classes || Array.isArray(input3.classes) && input3.classes.every((elem) => "object" === typeof elem && null !== elem && $io4(elem))) && true && (void 0 === input3.activePatchColor || "string" === typeof input3.activePatchColor) && (void 0 === input3.tileSize || "number" === typeof input3.tileSize);
|
|
77
|
-
const $io2 = (input3) => "string" === typeof input3["class"] &&
|
|
78
|
-
const $io3 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.uncertainty && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag ||
|
|
77
|
+
const $io2 = (input3) => "string" === typeof input3["class"] && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
|
|
78
|
+
const $io3 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.uncertainty && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
|
|
79
79
|
const $io4 = (input3) => "number" === typeof input3.id && "string" === typeof input3.key_shortcut && "string" === typeof input3.label && "string" === typeof input3.color;
|
|
80
80
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
81
81
|
};
|
|
@@ -184,10 +184,6 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
|
|
|
184
184
|
path: _path2 + '["class"]',
|
|
185
185
|
expected: "string",
|
|
186
186
|
value: input3["class"]
|
|
187
|
-
}), "number" === typeof input3.status || $report(_exceptionable2, {
|
|
188
|
-
path: _path2 + ".status",
|
|
189
|
-
expected: "number",
|
|
190
|
-
value: input3.status
|
|
191
187
|
}), (Array.isArray(input3.zoomCoordinates) || $report(_exceptionable2, {
|
|
192
188
|
path: _path2 + ".zoomCoordinates",
|
|
193
189
|
expected: "[number, number]",
|
|
@@ -211,7 +207,7 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
|
|
|
211
207
|
path: _path2 + ".zoomCoordinates",
|
|
212
208
|
expected: "[number, number]",
|
|
213
209
|
value: input3.zoomCoordinates
|
|
214
|
-
}), 0 === input3.flag ||
|
|
210
|
+
}), 0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
|
|
215
211
|
path: _path2 + ".flag",
|
|
216
212
|
expected: "(0 | 1 | 2 | 3)",
|
|
217
213
|
value: input3.flag
|
|
@@ -255,7 +251,7 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
|
|
|
255
251
|
path: _path2 + ".zoomCoordinates",
|
|
256
252
|
expected: "[number, number]",
|
|
257
253
|
value: input3.zoomCoordinates
|
|
258
|
-
}), 0 === input3.flag ||
|
|
254
|
+
}), 0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
|
|
259
255
|
path: _path2 + ".flag",
|
|
260
256
|
expected: "(0 | 1 | 2 | 3)",
|
|
261
257
|
value: input3.flag
|
|
@@ -21,7 +21,7 @@ var validDeleteWSITileSelectionRequest = (input) => {
|
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "number" === typeof input3.projectId && ("object" === typeof input3.tileSelection && null !== input3.tileSelection && $io1(input3.tileSelection)) && "number" === typeof input3.classID && "string" === typeof input3.wsimage;
|
|
24
|
-
const $io1 = (input3) => Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]) && (void 0 === input3["class"] || "string" === typeof input3["class"]) && (0 === input3.flag ||
|
|
24
|
+
const $io1 = (input3) => Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]) && (void 0 === input3["class"] || "string" === typeof input3["class"]) && (0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
|
|
25
25
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
26
26
|
};
|
|
27
27
|
if (false === __is(input)) {
|
|
@@ -83,7 +83,7 @@ var validDeleteWSITileSelectionRequest = (input) => {
|
|
|
83
83
|
path: _path2 + '["class"]',
|
|
84
84
|
expected: "(string | undefined)",
|
|
85
85
|
value: input3["class"]
|
|
86
|
-
}), 0 === input3.flag ||
|
|
86
|
+
}), 0 === input3.flag || 2 === input3.flag || 1 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
|
|
87
87
|
path: _path2 + ".flag",
|
|
88
88
|
expected: "(0 | 1 | 2 | 3)",
|
|
89
89
|
value: input3.flag
|
|
@@ -23,7 +23,7 @@ var validGenesetEnrichmentRequest = (input) => {
|
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $io0 = (input3) => (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.fold_change || Array.isArray(input3.fold_change) && input3.fold_change.every((elem) => "number" === typeof elem)) && (void 0 === input3.cacheId || "string" === typeof input3.cacheId) && (void 0 === input3.dslabel || "string" === typeof input3.dslabel) && (void 0 === input3.daRequest || "object" === typeof input3.daRequest && null !== input3.daRequest && $io1(input3.daRequest)) && (void 0 === input3.fetchDE || "boolean" === typeof input3.fetchDE) && "boolean" === typeof input3.filter_non_coding_genes && "string" === typeof input3.genome && "string" === typeof input3.geneSetGroup && (void 0 === input3.geneset_name || "string" === typeof input3.geneset_name) && (void 0 === input3.num_permutations || "number" === typeof input3.num_permutations) && ("blitzgsea" === input3.method || "cerno" === input3.method) && (void 0 === input3.dapParams || "object" === typeof input3.dapParams && null !== input3.dapParams && $io4(input3.dapParams));
|
|
25
25
|
const $io1 = (input3) => (void 0 === input3.genome || "string" === typeof input3.genome) && (void 0 === input3.dslabel || "string" === typeof input3.dslabel) && true && (void 0 === input3.min_count || "number" === typeof input3.min_count) && (void 0 === input3.min_total_count || "number" === typeof input3.min_total_count) && (void 0 === input3.cpm_cutoff || "number" === typeof input3.cpm_cutoff) && (void 0 === input3.storage_type || "text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method) && true && true && (void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis) && (void 0 === input3.volcanoRender || "object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io2(input3.volcanoRender));
|
|
26
|
-
const $io2 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io3(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
|
|
26
|
+
const $io2 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io3(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots) && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio);
|
|
27
27
|
const $io3 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
|
|
28
28
|
const $io4 = (input3) => "string" === typeof input3.organism && "string" === typeof input3.assay && "string" === typeof input3.cohort;
|
|
29
29
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -189,6 +189,10 @@ var validGenesetEnrichmentRequest = (input) => {
|
|
|
189
189
|
path: _path2 + ".maxInteractiveDots",
|
|
190
190
|
expected: "(number | undefined)",
|
|
191
191
|
value: input3.maxInteractiveDots
|
|
192
|
+
}), void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
|
|
193
|
+
path: _path2 + ".devicePixelRatio",
|
|
194
|
+
expected: "(number | undefined)",
|
|
195
|
+
value: input3.devicePixelRatio
|
|
192
196
|
})].every((flag) => flag);
|
|
193
197
|
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
|
|
194
198
|
path: _path2 + ".pValueCutoff",
|
|
@@ -21,7 +21,7 @@ var validDapVolcanoRequest = (input) => {
|
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.organism && "string" === typeof input3.assay && "string" === typeof input3.cohort && (void 0 === input3.volcanoRender || "object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io1(input3.volcanoRender)) && (void 0 === input3.countsOnly || "boolean" === typeof input3.countsOnly);
|
|
24
|
-
const $io1 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io2(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
|
|
24
|
+
const $io1 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io2(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots) && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio);
|
|
25
25
|
const $io2 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
|
|
26
26
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
27
27
|
};
|
|
@@ -101,6 +101,10 @@ var validDapVolcanoRequest = (input) => {
|
|
|
101
101
|
path: _path2 + ".maxInteractiveDots",
|
|
102
102
|
expected: "(number | undefined)",
|
|
103
103
|
value: input3.maxInteractiveDots
|
|
104
|
+
}), void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
|
|
105
|
+
path: _path2 + ".devicePixelRatio",
|
|
106
|
+
expected: "(number | undefined)",
|
|
107
|
+
value: input3.devicePixelRatio
|
|
104
108
|
})].every((flag) => flag);
|
|
105
109
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
|
|
106
110
|
path: _path2 + ".pValueCutoff",
|
|
@@ -21,7 +21,7 @@ var validDiffMethRequest = (input) => {
|
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && (void 0 === input3.min_samples_per_group || "number" === typeof input3.min_samples_per_group) && true && true && (void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis) && ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io1(input3.volcanoRender));
|
|
24
|
-
const $io1 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io2(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
|
|
24
|
+
const $io1 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io2(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots) && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio);
|
|
25
25
|
const $io2 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
|
|
26
26
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
27
27
|
};
|
|
@@ -93,6 +93,10 @@ var validDiffMethRequest = (input) => {
|
|
|
93
93
|
path: _path2 + ".maxInteractiveDots",
|
|
94
94
|
expected: "(number | undefined)",
|
|
95
95
|
value: input3.maxInteractiveDots
|
|
96
|
+
}), void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
|
|
97
|
+
path: _path2 + ".devicePixelRatio",
|
|
98
|
+
expected: "(number | undefined)",
|
|
99
|
+
value: input3.devicePixelRatio
|
|
96
100
|
})].every((flag) => flag);
|
|
97
101
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
|
|
98
102
|
path: _path2 + ".pValueCutoff",
|
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
termdbSingleCellDEgenesPayload,
|
|
46
46
|
validTermdbSingleCellDEgenesRequest,
|
|
47
47
|
validTermdbSingleCellDEgenesResponse
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GCJESMM2.js";
|
|
49
49
|
import {
|
|
50
50
|
termdbSingleCellDataPayload,
|
|
51
51
|
validTermdbSingleCellDataRequest,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
dapVolcanoPayload,
|
|
122
122
|
validDapVolcanoRequest,
|
|
123
123
|
validDapVolcanoResponse
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-TLZ5ROOU.js";
|
|
125
125
|
import {
|
|
126
126
|
descrStatsPayload,
|
|
127
127
|
validDescrStatsRequest,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
diffMethPayload,
|
|
132
132
|
validDiffMethRequest,
|
|
133
133
|
validDiffMethResponse
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-UDTEGP3G.js";
|
|
135
135
|
import {
|
|
136
136
|
TermdbDmrPayload,
|
|
137
137
|
validTermdbDmrRequest,
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
saveWSIAnnotationPayload,
|
|
157
157
|
validSaveWSIAnnotationRequest,
|
|
158
158
|
validSaveWSIAnnotationResponse
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-2X36CBQF.js";
|
|
160
160
|
import {
|
|
161
161
|
snpPayload,
|
|
162
162
|
validSnpRequest,
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
diffExpPayload,
|
|
167
167
|
validDERequest,
|
|
168
168
|
validDEResponse
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-HD3J5BKM.js";
|
|
170
170
|
import {
|
|
171
171
|
termdbCategoriesPayload,
|
|
172
172
|
validCategoriesRequest,
|
|
@@ -225,7 +225,7 @@ import {
|
|
|
225
225
|
sampleWSImagesPayload,
|
|
226
226
|
validSampleWSImagesRequest,
|
|
227
227
|
validSampleWSImagesResponse
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-CWACV4MW.js";
|
|
229
229
|
import {
|
|
230
230
|
gdcMafPayload,
|
|
231
231
|
validGdcMafRequest,
|
|
@@ -245,7 +245,7 @@ import {
|
|
|
245
245
|
genesetEnrichmentPayload,
|
|
246
246
|
validGenesetEnrichmentRequest,
|
|
247
247
|
validGenesetEnrichmentResponse
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-SLXGWQZ4.js";
|
|
249
249
|
import {
|
|
250
250
|
genesetOverrepresentationPayload,
|
|
251
251
|
validGenesetOverrepresentationRequest,
|
|
@@ -287,7 +287,7 @@ import {
|
|
|
287
287
|
deleteWSITileSelectionPayload,
|
|
288
288
|
validDeleteWSITileSelectionRequest,
|
|
289
289
|
validDeleteWSITileSelectionResponse
|
|
290
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-P3WBZJFF.js";
|
|
291
291
|
import {
|
|
292
292
|
dsDataPayload,
|
|
293
293
|
validDsDataRequest,
|
|
@@ -315,7 +315,7 @@ import {
|
|
|
315
315
|
aiProjectSelectedWSImagesResponsePayload,
|
|
316
316
|
validAiProjectSelectedWSImagesRequest,
|
|
317
317
|
validAiProjectSelectedWSImagesResponse
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-KXYFG2HO.js";
|
|
319
319
|
import {
|
|
320
320
|
aiProjectTrainModelPayload,
|
|
321
321
|
validAIProjectTrainModelRequest,
|
package/dist/samplewsimages.js
CHANGED
package/dist/termdb.DE.js
CHANGED
package/dist/termdb.diffMeth.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -169,7 +169,7 @@ type DictApi = {
|
|
|
169
169
|
// helpers at ds.cohort.termdb.q{}
|
|
170
170
|
build?: (ds: any) => void
|
|
171
171
|
// gets dictionary term data
|
|
172
|
-
get?: (twLst: any) => void
|
|
172
|
+
get?: (q: any, twLst: any, onlyChildren?: boolean, useCache?: boolean) => void
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
type SnvIndelFormat = {
|
|
@@ -845,7 +845,7 @@ export type SingleCellSamples = {
|
|
|
845
845
|
|
|
846
846
|
type SingleCellDataBase = {
|
|
847
847
|
/** when a sample has multiple tsne plots, this flag allows allows all plots to share one cell type legend */
|
|
848
|
-
sameLegend
|
|
848
|
+
sameLegend?: boolean
|
|
849
849
|
/** name of ref cells? */
|
|
850
850
|
refName?: string
|
|
851
851
|
/** dynamically added getter */
|
|
@@ -1743,6 +1743,8 @@ keep this setting here for reason of:
|
|
|
1743
1743
|
getAdditionalFilter?: (__protected__: any, term: any) => Filter | undefined
|
|
1744
1744
|
/** collections of dictionary terms (numeric or categorical) that are related and can be used together in some plots */
|
|
1745
1745
|
termCollections?: TermCollection[]
|
|
1746
|
+
/** whether to set onlyChildren in getData() */
|
|
1747
|
+
setOnlyChildren?: true
|
|
1746
1748
|
}
|
|
1747
1749
|
|
|
1748
1750
|
type TermCollectionBase = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RoutePayload } from './routeApi.ts'
|
|
2
2
|
import type { WSImage } from './samplewsimages.ts'
|
|
3
|
-
import type {
|
|
3
|
+
import type { FlagStatusValues } from '#shared/devTs'
|
|
4
4
|
|
|
5
5
|
export type AiProjectSelectedWSImagesRequest = {
|
|
6
6
|
genome: string
|
|
@@ -15,7 +15,7 @@ export type AiProjectSelectedWSImagesResponse = {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export interface FlagPredictionInfo {
|
|
18
|
-
flag:
|
|
18
|
+
flag: FlagStatusValues
|
|
19
19
|
timestamp: string
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -23,14 +23,13 @@ export interface FlagPredictionInfo {
|
|
|
23
23
|
export interface TileSelection {
|
|
24
24
|
zoomCoordinates: [number, number]
|
|
25
25
|
class?: string
|
|
26
|
-
flag:
|
|
26
|
+
flag: FlagStatusValues
|
|
27
27
|
id: string
|
|
28
28
|
timestamp: string
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export interface Annotation extends TileSelection {
|
|
32
32
|
class: string
|
|
33
|
-
status: number
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
export interface Prediction extends TileSelection {
|
package/src/routes/termdb.DE.ts
CHANGED
|
@@ -62,6 +62,12 @@ export type VolcanoRenderRequest = {
|
|
|
62
62
|
* The server still renders every row into `volcanoPng`; this only caps the
|
|
63
63
|
* interactive list. Capped to the most-significant rows (smallest p-value). */
|
|
64
64
|
maxInteractiveDots?: number
|
|
65
|
+
/** Hi-DPI scale factor from `window.devicePixelRatio` (e.g. 2.0 on retina).
|
|
66
|
+
* The PNG is rasterized at `pixelWidth*dpr × pixelHeight*dpr` device pixels
|
|
67
|
+
* but reported (and rendered in the SVG) at the CSS-space dimensions, so
|
|
68
|
+
* the browser uses the extra resolution for sharpness. Defaults to 1.0
|
|
69
|
+
* server-side. */
|
|
70
|
+
devicePixelRatio?: number
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
/** Everything the client needs to draw one volcano: the pre-rendered PNG of
|