@sjcrh/proteinpaint-types 2.148.1 → 2.149.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-CP26DR4V.js → chunk-FIQM2YN4.js} +10 -2
- package/dist/{chunk-CT6IBFVP.js → chunk-VUKRI3TG.js} +13 -1
- package/dist/index.js +2 -2
- package/dist/termdb.DE.js +1 -1
- package/dist/wsimages.js +1 -1
- package/package.json +1 -1
- package/src/routes/termdb.DE.ts +4 -0
- package/src/routes/wsimages.ts +1 -0
|
@@ -22,7 +22,7 @@ var diffExpPayload = {
|
|
|
22
22
|
var validDERequest = (input) => {
|
|
23
23
|
const errors = [];
|
|
24
24
|
const __is = (input2) => {
|
|
25
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && "number" === typeof input3.min_count && "number" === typeof input3.min_total_count && ("text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method) && true && true;
|
|
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;
|
|
26
26
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
27
27
|
};
|
|
28
28
|
if (false === __is(input)) {
|
|
@@ -44,6 +44,10 @@ var validDERequest = (input) => {
|
|
|
44
44
|
path: _path2 + ".min_total_count",
|
|
45
45
|
expected: "number",
|
|
46
46
|
value: input3.min_total_count
|
|
47
|
+
}), "number" === typeof input3.cpm_cutoff || $report(_exceptionable2, {
|
|
48
|
+
path: _path2 + ".cpm_cutoff",
|
|
49
|
+
expected: "number",
|
|
50
|
+
value: input3.cpm_cutoff
|
|
47
51
|
}), "text" === input3.storage_type || "HDF5" === input3.storage_type || $report(_exceptionable2, {
|
|
48
52
|
path: _path2 + ".storage_type",
|
|
49
53
|
expected: '("HDF5" | "text")',
|
|
@@ -74,7 +78,7 @@ var validDERequest = (input) => {
|
|
|
74
78
|
var validDEResponse = (input) => {
|
|
75
79
|
const errors = [];
|
|
76
80
|
const __is = (input2) => {
|
|
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)));
|
|
81
|
+
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))) && (void 0 === input3.bcv || "number" === typeof input3.bcv);
|
|
78
82
|
const $io1 = (input3) => "number" === typeof input3.adjusted_p_value && "number" === typeof input3.original_p_value && "number" === typeof input3.fold_change && "string" === typeof input3.gene_id && "string" === typeof input3.gene_name;
|
|
79
83
|
const $io2 = (input3) => "string" === typeof input3.src && "number" === typeof input3.size && "string" === typeof input3.key;
|
|
80
84
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -126,6 +130,10 @@ var validDEResponse = (input) => {
|
|
|
126
130
|
path: _path2 + ".images",
|
|
127
131
|
expected: "(Array<DEImage> | undefined)",
|
|
128
132
|
value: input3.images
|
|
133
|
+
}), void 0 === input3.bcv || "number" === typeof input3.bcv || $report(_exceptionable2, {
|
|
134
|
+
path: _path2 + ".bcv",
|
|
135
|
+
expected: "(number | undefined)",
|
|
136
|
+
value: input3.bcv
|
|
129
137
|
})].every((flag) => flag);
|
|
130
138
|
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
|
|
131
139
|
path: _path2 + ".adjusted_p_value",
|
|
@@ -69,7 +69,7 @@ var validWSImagesRequest = (input) => {
|
|
|
69
69
|
var validWSImagesResponse = (input) => {
|
|
70
70
|
const errors = [];
|
|
71
71
|
const __is = (input2) => {
|
|
72
|
-
const $io0 = (input3) => (void 0 === input3.wsiSessionId || "string" === typeof input3.wsiSessionId) && (void 0 === input3.overlays || Array.isArray(input3.overlays) && input3.overlays.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && (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);
|
|
72
|
+
const $io0 = (input3) => (void 0 === input3.wsiSessionId || "string" === typeof input3.wsiSessionId) && (void 0 === input3.overlays || Array.isArray(input3.overlays) && input3.overlays.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && (Array.isArray(input3.slide_dimensions) && input3.slide_dimensions.every((elem) => "number" === typeof elem)) && (Array.isArray(input3.mpp) && input3.mpp.every((elem) => "number" === typeof elem)) && "string" === typeof input3.status && (void 0 === input3.error || "string" === typeof input3.error);
|
|
73
73
|
const $io1 = (input3) => "string" === typeof input3.layerNumber && "string" === typeof input3.predictionOverlayType;
|
|
74
74
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
75
75
|
};
|
|
@@ -108,6 +108,18 @@ var validWSImagesResponse = (input) => {
|
|
|
108
108
|
path: _path2 + ".slide_dimensions",
|
|
109
109
|
expected: "Array<number>",
|
|
110
110
|
value: input3.slide_dimensions
|
|
111
|
+
}), (Array.isArray(input3.mpp) || $report(_exceptionable2, {
|
|
112
|
+
path: _path2 + ".mpp",
|
|
113
|
+
expected: "Array<number>",
|
|
114
|
+
value: input3.mpp
|
|
115
|
+
})) && input3.mpp.map((elem, _index3) => "number" === typeof elem || $report(_exceptionable2, {
|
|
116
|
+
path: _path2 + ".mpp[" + _index3 + "]",
|
|
117
|
+
expected: "number",
|
|
118
|
+
value: elem
|
|
119
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
120
|
+
path: _path2 + ".mpp",
|
|
121
|
+
expected: "Array<number>",
|
|
122
|
+
value: input3.mpp
|
|
111
123
|
}), "string" === typeof input3.status || $report(_exceptionable2, {
|
|
112
124
|
path: _path2 + ".status",
|
|
113
125
|
expected: "string",
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
validWSImagesRequest,
|
|
18
18
|
validWSImagesResponse,
|
|
19
19
|
wsImagesPayload
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VUKRI3TG.js";
|
|
21
21
|
import {
|
|
22
22
|
validWSISamplesRequest,
|
|
23
23
|
validWSISamplesResponse,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
diffExpPayload,
|
|
108
108
|
validDERequest,
|
|
109
109
|
validDEResponse
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-FIQM2YN4.js";
|
|
111
111
|
import {
|
|
112
112
|
boxplotPayload,
|
|
113
113
|
validBoxPlotRequest,
|
package/dist/termdb.DE.js
CHANGED
package/dist/wsimages.js
CHANGED
package/package.json
CHANGED
package/src/routes/termdb.DE.ts
CHANGED
|
@@ -11,6 +11,8 @@ export type DERequest = {
|
|
|
11
11
|
min_count: number
|
|
12
12
|
/** Minimum total read count required for each sample */
|
|
13
13
|
min_total_count: number
|
|
14
|
+
/** Minimum normalized expression threshold to retain only genes with sufficient expression */
|
|
15
|
+
cpm_cutoff: number
|
|
14
16
|
/** Storage_type for storing data. Will deprecate text files */
|
|
15
17
|
storage_type: 'text' | 'HDF5'
|
|
16
18
|
/** Method of DE used wilcoxon/edgeR */
|
|
@@ -64,6 +66,8 @@ export type DEResponse = {
|
|
|
64
66
|
/** QL: Image describing the quality of the fitting from QL pipeline, this is only generated for edgeR not for wilcoxon method */
|
|
65
67
|
/** MDS: Image showing the MDS plot of samples from both groups, this is only generated for edgeR not for wilcoxon method */
|
|
66
68
|
images?: DEImage[]
|
|
69
|
+
/** Biological coefficient of variation (BCV), this is only generated for edgeR*/
|
|
70
|
+
bcv?: number
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
export type DataEntry = {
|