@sjcrh/proteinpaint-types 2.96.1 → 2.96.2-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);
|
|
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;
|
|
26
26
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
27
27
|
};
|
|
28
28
|
if (false === __is(input)) {
|
|
@@ -52,7 +52,7 @@ var validDERequest = (input) => {
|
|
|
52
52
|
path: _path2 + ".method",
|
|
53
53
|
expected: "(string | undefined)",
|
|
54
54
|
value: input3.method
|
|
55
|
-
})].every((flag) => flag);
|
|
55
|
+
}), true].every((flag) => flag);
|
|
56
56
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
57
57
|
path: _path + "",
|
|
58
58
|
expected: "DERequest",
|
package/dist/index.js
CHANGED
package/dist/termdb.DE.js
CHANGED
package/package.json
CHANGED
package/src/routes/termdb.DE.ts
CHANGED
|
@@ -15,6 +15,8 @@ export type DERequest = {
|
|
|
15
15
|
storage_type: 'text' | 'HDF5'
|
|
16
16
|
/** Method of DE used wilcoxon/edgeR */
|
|
17
17
|
method?: string
|
|
18
|
+
/** Term for confounding variable (if present) */
|
|
19
|
+
tw?: any
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export type ExpressionInput = {
|
|
@@ -32,6 +34,10 @@ export type ExpressionInput = {
|
|
|
32
34
|
min_total_count: number
|
|
33
35
|
/** Type of storage file: HDF5 or text. Text will be deprecated in the future */
|
|
34
36
|
storage_type: 'HDF5' | 'text'
|
|
37
|
+
/** Confounding variable for DE analysis. Maybe array of string (Gender: Male/female) or number (Age). For now supporting 1 confounding variable. Later will add support for multiple confounding variables */
|
|
38
|
+
conf1?: any[]
|
|
39
|
+
/** Type of the confounding variable (categorical/float) */
|
|
40
|
+
conf1_type?: 'categorical' | 'float'
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
export type DEResponse = {
|