@sjcrh/proteinpaint-types 2.108.0 → 2.109.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 && (void 0 === input3.VarGenes || "number" === typeof input3.VarGenes);
|
|
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 && (void 0 === input3.VarGenes || "number" === typeof input3.VarGenes);
|
|
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
|
-
}), true, void 0 === input3.VarGenes || "number" === typeof input3.VarGenes || $report(_exceptionable2, {
|
|
55
|
+
}), true, true, void 0 === input3.VarGenes || "number" === typeof input3.VarGenes || $report(_exceptionable2, {
|
|
56
56
|
path: _path2 + ".VarGenes",
|
|
57
57
|
expected: "(number | undefined)",
|
|
58
58
|
value: input3.VarGenes
|
package/dist/index.js
CHANGED
package/dist/termdb.DE.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -899,8 +899,10 @@ type ScatterPlotsEntry = {
|
|
|
899
899
|
settings?: { [index: string]: any }
|
|
900
900
|
/** by default the dots are called "samples" on the plot, use this to call it by diff name e.g. "cells" */
|
|
901
901
|
sampleType?: string
|
|
902
|
-
/** a
|
|
902
|
+
/** a termsetting to supply dot color */
|
|
903
903
|
colorTW?: { id: string }
|
|
904
|
+
/** a termsetting to supply dot shape */
|
|
905
|
+
shapeTW?: { id: string } // TODO replace with tw type
|
|
904
906
|
colorColumn?: ColorColumn
|
|
905
907
|
/** provide a sampletype term to filter for specific type of samples for subjects with multiple samples and show in the plot.
|
|
906
908
|
e.g. to only show D samples from all patients
|
|
@@ -1386,6 +1388,8 @@ type MassNav = {
|
|
|
1386
1388
|
}
|
|
1387
1389
|
/** customize background color of active navigation tab */
|
|
1388
1390
|
activeColor?: string
|
|
1391
|
+
/** customize background color of active navigation tab on hover */
|
|
1392
|
+
activeColorHover?: string
|
|
1389
1393
|
}
|
|
1390
1394
|
|
|
1391
1395
|
type ActiveItem = {
|
package/src/routes/termdb.DE.ts
CHANGED
|
@@ -15,8 +15,10 @@ 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
|
|
18
|
+
/** Term for confounding variable1 (if present) */
|
|
19
19
|
tw?: any
|
|
20
|
+
/** Term for confounding variable2 (if present) */
|
|
21
|
+
tw2?: any
|
|
20
22
|
/** Number of variable genes (defined only for parametric DE methods) */
|
|
21
23
|
VarGenes?: number
|
|
22
24
|
}
|
|
@@ -36,10 +38,14 @@ export type ExpressionInput = {
|
|
|
36
38
|
min_total_count: number
|
|
37
39
|
/** Type of storage file: HDF5 or text. Text will be deprecated in the future */
|
|
38
40
|
storage_type: 'HDF5' | 'text'
|
|
39
|
-
/** Confounding
|
|
41
|
+
/** Confounding variable1 for DE analysis. Maybe array of string (Gender: Male/female) or number (Age). For now supporting 1 confounding variable. */
|
|
40
42
|
conf1?: any[]
|
|
41
|
-
/** Type of the confounding
|
|
43
|
+
/** Type of the confounding variable1 (continuous/discrete) */
|
|
42
44
|
conf1_mode?: 'continuous' | 'discrete'
|
|
45
|
+
/** Confounding variable2 for DE analysis. Maybe array of string (Gender: Male/female) or number (Age). For now supporting 1 confounding variable. */
|
|
46
|
+
conf2?: any[]
|
|
47
|
+
/** Type of the confounding variable2 (continuous/discrete) */
|
|
48
|
+
conf2_mode?: 'continuous' | 'discrete'
|
|
43
49
|
/** Number of variable genes to be included for DE analysis (optional) */
|
|
44
50
|
VarGenes?: number
|
|
45
51
|
}
|