@sjcrh/proteinpaint-types 2.109.1 → 2.111.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.
|
@@ -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 && ("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)) {
|
|
@@ -52,11 +52,7 @@ var validDERequest = (input) => {
|
|
|
52
52
|
path: _path2 + ".method",
|
|
53
53
|
expected: "(string | undefined)",
|
|
54
54
|
value: input3.method
|
|
55
|
-
}), true, true
|
|
56
|
-
path: _path2 + ".VarGenes",
|
|
57
|
-
expected: "(number | undefined)",
|
|
58
|
-
value: input3.VarGenes
|
|
59
|
-
})].every((flag) => flag);
|
|
55
|
+
}), true, true].every((flag) => flag);
|
|
60
56
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
61
57
|
path: _path + "",
|
|
62
58
|
expected: "DERequest",
|
|
@@ -78,7 +74,8 @@ var validDERequest = (input) => {
|
|
|
78
74
|
var validDEResponse = (input) => {
|
|
79
75
|
const errors = [];
|
|
80
76
|
const __is = (input2) => {
|
|
81
|
-
|
|
77
|
+
const $io0 = (input3) => "string" === typeof input3.data && "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2 && "string" === typeof input3.method && true && true;
|
|
78
|
+
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
82
79
|
};
|
|
83
80
|
if (false === __is(input)) {
|
|
84
81
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -99,7 +96,7 @@ var validDEResponse = (input) => {
|
|
|
99
96
|
path: _path2 + ".method",
|
|
100
97
|
expected: "string",
|
|
101
98
|
value: input3.method
|
|
102
|
-
})].every((flag) => flag);
|
|
99
|
+
}), true, true].every((flag) => flag);
|
|
103
100
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
104
101
|
path: _path + "",
|
|
105
102
|
expected: "DEResponse",
|
package/dist/index.js
CHANGED
package/dist/termdb.DE.js
CHANGED
package/package.json
CHANGED
package/src/routes/termdb.DE.ts
CHANGED
|
@@ -19,8 +19,6 @@ export type DERequest = {
|
|
|
19
19
|
tw?: any
|
|
20
20
|
/** Term for confounding variable2 (if present) */
|
|
21
21
|
tw2?: any
|
|
22
|
-
/** Number of variable genes (defined only for parametric DE methods) */
|
|
23
|
-
VarGenes?: number
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
export type ExpressionInput = {
|
|
@@ -59,6 +57,10 @@ export type DEResponse = {
|
|
|
59
57
|
sample_size2: number
|
|
60
58
|
/** Method of DE used wilcoxon/edgeR */
|
|
61
59
|
method: string
|
|
60
|
+
/** Image name from edgeR describing the quality of the fitting from QL pipeline, this is only generated for edgeR not for wilcoxon method */
|
|
61
|
+
ql_image?: any
|
|
62
|
+
/** Image name from edgeR showing the MDS plot of samples from both groups, this is only generated for edgeR not for wilcoxon method */
|
|
63
|
+
mds_image?: any
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
export const diffExpPayload: RoutePayload = {
|