@sjcrh/proteinpaint-types 2.174.0 → 2.175.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-YL3WWIZ5.js → chunk-7LV73FRY.js} +10 -2
- package/dist/{chunk-JKELINOM.js → chunk-CJKG67B2.js} +81 -21
- package/dist/{chunk-HGEP2X66.js → chunk-KXAR65TO.js} +10 -2
- package/dist/{chunk-AR3AKHJS.js → chunk-LKRDK6V6.js} +10 -2
- package/dist/{chunk-WBFZCBLP.js → chunk-OIQOK4UP.js} +10 -2
- package/dist/{chunk-INOXLGIG.js → chunk-YIF5KN5P.js} +10 -2
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +6 -6
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.runChart.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +2 -0
- package/src/routes/termdb.chat.ts +14 -2
- package/src/routes/termdb.runChart.ts +11 -9
- package/src/terms/geneVariant.ts +20 -4
|
@@ -126,9 +126,9 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
126
126
|
const $io64 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
127
127
|
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "values" === input3.type;
|
|
128
128
|
const $io66 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io44(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvPredefinedGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io67(input3.q));
|
|
129
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
129
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx && Array.isArray(input3.dtLst);
|
|
130
130
|
const $io68 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io44(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io69(input3.q));
|
|
131
|
-
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io52(input3.customset));
|
|
131
|
+
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io52(input3.customset)) && Array.isArray(input3.dtLst);
|
|
132
132
|
const $io70 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io44(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io30(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu13(input3.q));
|
|
133
133
|
const $io71 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && ("discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && "grade" === input3.valueFor && true === input3.bar_by_grade && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
134
134
|
const $io72 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
|
|
@@ -3638,6 +3638,10 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3638
3638
|
path: _path2 + ".predefined_groupset_idx",
|
|
3639
3639
|
expected: "number",
|
|
3640
3640
|
value: input3.predefined_groupset_idx
|
|
3641
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3642
|
+
path: _path2 + ".dtLst",
|
|
3643
|
+
expected: "Array<any>",
|
|
3644
|
+
value: input3.dtLst
|
|
3641
3645
|
})].every((flag) => flag);
|
|
3642
3646
|
const $vo68 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3643
3647
|
path: _path2 + ".id",
|
|
@@ -3732,6 +3736,10 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3732
3736
|
path: _path2 + ".customset",
|
|
3733
3737
|
expected: "BaseGroupSet",
|
|
3734
3738
|
value: input3.customset
|
|
3739
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3740
|
+
path: _path2 + ".dtLst",
|
|
3741
|
+
expected: "Array<any>",
|
|
3742
|
+
value: input3.dtLst
|
|
3735
3743
|
})].every((flag) => flag);
|
|
3736
3744
|
const $vo70 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3737
3745
|
path: _path2 + ".id",
|
|
@@ -20,7 +20,11 @@ var runChartPayload = {
|
|
|
20
20
|
var validRunChartRequest = (input) => {
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && ("object" === typeof input3.
|
|
23
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && ("object" === typeof input3.xtw && null !== input3.xtw && $io1(input3.xtw)) && ("object" === typeof input3.ytw && null !== input3.ytw && $io4(input3.ytw)) && "median" === input3.aggregation && true && true;
|
|
24
|
+
const $io1 = (input3) => "object" === typeof input3.term && null !== input3.term && "string" === typeof input3.term.id && (void 0 === input3.q || "object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $io3(input3.q)) && (void 0 === input3.$id || "string" === typeof input3.$id);
|
|
25
|
+
const $io3 = (input3) => void 0 === input3.mode || "discrete" === input3.mode || "continuous" === input3.mode;
|
|
26
|
+
const $io4 = (input3) => "object" === typeof input3.term && null !== input3.term && "string" === typeof input3.term.id && (void 0 === input3.q || "object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $io6(input3.q)) && (void 0 === input3.$id || "string" === typeof input3.$id);
|
|
27
|
+
const $io6 = (input3) => void 0 === input3.mode || "string" === typeof input3.mode;
|
|
24
28
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
25
29
|
};
|
|
26
30
|
if (false === __is(input)) {
|
|
@@ -34,37 +38,89 @@ var validRunChartRequest = (input) => {
|
|
|
34
38
|
path: _path2 + ".dslabel",
|
|
35
39
|
expected: "string",
|
|
36
40
|
value: input3.dslabel
|
|
37
|
-
}), ("object" === typeof input3.
|
|
38
|
-
path: _path2 + ".
|
|
41
|
+
}), ("object" === typeof input3.xtw && null !== input3.xtw || $report(_exceptionable2, {
|
|
42
|
+
path: _path2 + ".xtw",
|
|
39
43
|
expected: "__type",
|
|
40
|
-
value: input3.
|
|
41
|
-
})) && $vo1(input3.
|
|
42
|
-
path: _path2 + ".
|
|
44
|
+
value: input3.xtw
|
|
45
|
+
})) && $vo1(input3.xtw, _path2 + ".xtw", _exceptionable2) || $report(_exceptionable2, {
|
|
46
|
+
path: _path2 + ".xtw",
|
|
43
47
|
expected: "__type",
|
|
44
|
-
value: input3.
|
|
45
|
-
}), ("object" === typeof input3.
|
|
46
|
-
path: _path2 + ".
|
|
47
|
-
expected: "__type.
|
|
48
|
-
value: input3.
|
|
49
|
-
})) && $
|
|
50
|
-
path: _path2 + ".
|
|
51
|
-
expected: "__type.
|
|
52
|
-
value: input3.
|
|
53
|
-
}), "median" === input3.aggregation ||
|
|
48
|
+
value: input3.xtw
|
|
49
|
+
}), ("object" === typeof input3.ytw && null !== input3.ytw || $report(_exceptionable2, {
|
|
50
|
+
path: _path2 + ".ytw",
|
|
51
|
+
expected: "__type.o3",
|
|
52
|
+
value: input3.ytw
|
|
53
|
+
})) && $vo4(input3.ytw, _path2 + ".ytw", _exceptionable2) || $report(_exceptionable2, {
|
|
54
|
+
path: _path2 + ".ytw",
|
|
55
|
+
expected: "__type.o3",
|
|
56
|
+
value: input3.ytw
|
|
57
|
+
}), "median" === input3.aggregation || $report(_exceptionable2, {
|
|
54
58
|
path: _path2 + ".aggregation",
|
|
55
|
-
expected: '
|
|
59
|
+
expected: '"median"',
|
|
56
60
|
value: input3.aggregation
|
|
57
61
|
}), true, true].every((flag) => flag);
|
|
58
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["
|
|
62
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
63
|
+
path: _path2 + ".term",
|
|
64
|
+
expected: "__type.o1",
|
|
65
|
+
value: input3.term
|
|
66
|
+
})) && $vo2(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
67
|
+
path: _path2 + ".term",
|
|
68
|
+
expected: "__type.o1",
|
|
69
|
+
value: input3.term
|
|
70
|
+
}), void 0 === input3.q || ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
71
|
+
path: _path2 + ".q",
|
|
72
|
+
expected: "(__type.o2 | undefined)",
|
|
73
|
+
value: input3.q
|
|
74
|
+
})) && $vo3(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
75
|
+
path: _path2 + ".q",
|
|
76
|
+
expected: "(__type.o2 | undefined)",
|
|
77
|
+
value: input3.q
|
|
78
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
79
|
+
path: _path2 + ".$id",
|
|
80
|
+
expected: "(string | undefined)",
|
|
81
|
+
value: input3.$id
|
|
82
|
+
})].every((flag) => flag);
|
|
83
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
59
84
|
path: _path2 + ".id",
|
|
60
85
|
expected: "string",
|
|
61
86
|
value: input3.id
|
|
62
87
|
})].every((flag) => flag);
|
|
63
|
-
const $
|
|
88
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.mode || "discrete" === input3.mode || "continuous" === input3.mode || $report(_exceptionable2, {
|
|
89
|
+
path: _path2 + ".mode",
|
|
90
|
+
expected: '("continuous" | "discrete" | undefined)',
|
|
91
|
+
value: input3.mode
|
|
92
|
+
})].every((flag) => flag);
|
|
93
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
94
|
+
path: _path2 + ".term",
|
|
95
|
+
expected: "__type.o4",
|
|
96
|
+
value: input3.term
|
|
97
|
+
})) && $vo5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
98
|
+
path: _path2 + ".term",
|
|
99
|
+
expected: "__type.o4",
|
|
100
|
+
value: input3.term
|
|
101
|
+
}), void 0 === input3.q || ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
102
|
+
path: _path2 + ".q",
|
|
103
|
+
expected: "(__type.o5 | undefined)",
|
|
104
|
+
value: input3.q
|
|
105
|
+
})) && $vo6(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
106
|
+
path: _path2 + ".q",
|
|
107
|
+
expected: "(__type.o5 | undefined)",
|
|
108
|
+
value: input3.q
|
|
109
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
110
|
+
path: _path2 + ".$id",
|
|
111
|
+
expected: "(string | undefined)",
|
|
112
|
+
value: input3.$id
|
|
113
|
+
})].every((flag) => flag);
|
|
114
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
64
115
|
path: _path2 + ".id",
|
|
65
116
|
expected: "string",
|
|
66
117
|
value: input3.id
|
|
67
118
|
})].every((flag) => flag);
|
|
119
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.mode || "string" === typeof input3.mode || $report(_exceptionable2, {
|
|
120
|
+
path: _path2 + ".mode",
|
|
121
|
+
expected: "(string | undefined)",
|
|
122
|
+
value: input3.mode
|
|
123
|
+
})].every((flag) => flag);
|
|
68
124
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
69
125
|
path: _path + "",
|
|
70
126
|
expected: "RunChartRequest",
|
|
@@ -87,7 +143,7 @@ var validRunChartResponse = (input) => {
|
|
|
87
143
|
const errors = [];
|
|
88
144
|
const __is = (input2) => {
|
|
89
145
|
const $io0 = (input3) => ("ok" === input3.status || "error" === input3.status) && (Array.isArray(input3.series) && input3.series.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)));
|
|
90
|
-
const $io1 = (input3) => "number" === typeof input3.median && (Array.isArray(input3.points) && input3.points.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)));
|
|
146
|
+
const $io1 = (input3) => (void 0 === input3.seriesId || "string" === typeof input3.seriesId) && "number" === typeof input3.median && (Array.isArray(input3.points) && input3.points.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)));
|
|
91
147
|
const $io2 = (input3) => "number" === typeof input3.x && "string" === typeof input3.xName && "number" === typeof input3.y && "number" === typeof input3.sampleCount;
|
|
92
148
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
93
149
|
};
|
|
@@ -115,7 +171,11 @@ var validRunChartResponse = (input) => {
|
|
|
115
171
|
expected: "Array<__type>",
|
|
116
172
|
value: input3.series
|
|
117
173
|
})].every((flag) => flag);
|
|
118
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["
|
|
174
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.seriesId || "string" === typeof input3.seriesId || $report(_exceptionable2, {
|
|
175
|
+
path: _path2 + ".seriesId",
|
|
176
|
+
expected: "(string | undefined)",
|
|
177
|
+
value: input3.seriesId
|
|
178
|
+
}), "number" === typeof input3.median || $report(_exceptionable2, {
|
|
119
179
|
path: _path2 + ".median",
|
|
120
180
|
expected: "number",
|
|
121
181
|
value: input3.median
|
|
@@ -177,9 +177,9 @@ var validBoxPlotRequest = (input) => {
|
|
|
177
177
|
const $io64 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
178
178
|
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "values" === input3.type;
|
|
179
179
|
const $io66 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvPredefinedGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io67(input3.q));
|
|
180
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
180
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx && Array.isArray(input3.dtLst);
|
|
181
181
|
const $io68 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io69(input3.q));
|
|
182
|
-
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io52(input3.customset));
|
|
182
|
+
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io52(input3.customset)) && Array.isArray(input3.dtLst);
|
|
183
183
|
const $io70 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io27(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu13(input3.q));
|
|
184
184
|
const $io71 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && ("discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && "grade" === input3.valueFor && true === input3.bar_by_grade && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
185
185
|
const $io72 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
|
|
@@ -3701,6 +3701,10 @@ var validBoxPlotRequest = (input) => {
|
|
|
3701
3701
|
path: _path2 + ".predefined_groupset_idx",
|
|
3702
3702
|
expected: "number",
|
|
3703
3703
|
value: input3.predefined_groupset_idx
|
|
3704
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3705
|
+
path: _path2 + ".dtLst",
|
|
3706
|
+
expected: "Array<any>",
|
|
3707
|
+
value: input3.dtLst
|
|
3704
3708
|
})].every((flag) => flag);
|
|
3705
3709
|
const $vo68 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3706
3710
|
path: _path2 + ".id",
|
|
@@ -3795,6 +3799,10 @@ var validBoxPlotRequest = (input) => {
|
|
|
3795
3799
|
path: _path2 + ".customset",
|
|
3796
3800
|
expected: "BaseGroupSet",
|
|
3797
3801
|
value: input3.customset
|
|
3802
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3803
|
+
path: _path2 + ".dtLst",
|
|
3804
|
+
expected: "Array<any>",
|
|
3805
|
+
value: input3.dtLst
|
|
3798
3806
|
})].every((flag) => flag);
|
|
3799
3807
|
const $vo70 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3800
3808
|
path: _path2 + ".id",
|
|
@@ -162,9 +162,9 @@ var validCategoriesRequest = (input) => {
|
|
|
162
162
|
const $io64 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
163
163
|
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "values" === input3.type;
|
|
164
164
|
const $io66 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvPredefinedGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io67(input3.q));
|
|
165
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
165
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx && Array.isArray(input3.dtLst);
|
|
166
166
|
const $io68 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io69(input3.q));
|
|
167
|
-
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io52(input3.customset));
|
|
167
|
+
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io52(input3.customset)) && Array.isArray(input3.dtLst);
|
|
168
168
|
const $io70 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io27(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu13(input3.q));
|
|
169
169
|
const $io71 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && ("discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && "grade" === input3.valueFor && true === input3.bar_by_grade && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
170
170
|
const $io72 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
|
|
@@ -3679,6 +3679,10 @@ var validCategoriesRequest = (input) => {
|
|
|
3679
3679
|
path: _path2 + ".predefined_groupset_idx",
|
|
3680
3680
|
expected: "number",
|
|
3681
3681
|
value: input3.predefined_groupset_idx
|
|
3682
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3683
|
+
path: _path2 + ".dtLst",
|
|
3684
|
+
expected: "Array<any>",
|
|
3685
|
+
value: input3.dtLst
|
|
3682
3686
|
})].every((flag) => flag);
|
|
3683
3687
|
const $vo68 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3684
3688
|
path: _path2 + ".id",
|
|
@@ -3773,6 +3777,10 @@ var validCategoriesRequest = (input) => {
|
|
|
3773
3777
|
path: _path2 + ".customset",
|
|
3774
3778
|
expected: "BaseGroupSet",
|
|
3775
3779
|
value: input3.customset
|
|
3780
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3781
|
+
path: _path2 + ".dtLst",
|
|
3782
|
+
expected: "Array<any>",
|
|
3783
|
+
value: input3.dtLst
|
|
3776
3784
|
})].every((flag) => flag);
|
|
3777
3785
|
const $vo70 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3778
3786
|
path: _path2 + ".id",
|
|
@@ -162,9 +162,9 @@ var validDescrStatsRequest = (input) => {
|
|
|
162
162
|
const $io64 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
163
163
|
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "values" === input3.type;
|
|
164
164
|
const $io66 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvPredefinedGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io67(input3.q));
|
|
165
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
165
|
+
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx && Array.isArray(input3.dtLst);
|
|
166
166
|
const $io68 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io69(input3.q));
|
|
167
|
-
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io52(input3.customset));
|
|
167
|
+
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io52(input3.customset)) && Array.isArray(input3.dtLst);
|
|
168
168
|
const $io70 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io27(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu13(input3.q));
|
|
169
169
|
const $io71 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && ("discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && "grade" === input3.valueFor && true === input3.bar_by_grade && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
170
170
|
const $io72 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
|
|
@@ -3662,6 +3662,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
3662
3662
|
path: _path2 + ".predefined_groupset_idx",
|
|
3663
3663
|
expected: "number",
|
|
3664
3664
|
value: input3.predefined_groupset_idx
|
|
3665
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3666
|
+
path: _path2 + ".dtLst",
|
|
3667
|
+
expected: "Array<any>",
|
|
3668
|
+
value: input3.dtLst
|
|
3665
3669
|
})].every((flag) => flag);
|
|
3666
3670
|
const $vo68 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3667
3671
|
path: _path2 + ".id",
|
|
@@ -3756,6 +3760,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
3756
3760
|
path: _path2 + ".customset",
|
|
3757
3761
|
expected: "BaseGroupSet",
|
|
3758
3762
|
value: input3.customset
|
|
3763
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3764
|
+
path: _path2 + ".dtLst",
|
|
3765
|
+
expected: "Array<any>",
|
|
3766
|
+
value: input3.dtLst
|
|
3759
3767
|
})].every((flag) => flag);
|
|
3760
3768
|
const $vo70 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3761
3769
|
path: _path2 + ".id",
|
|
@@ -186,9 +186,9 @@ var validTermsByIdsResponse = (input) => {
|
|
|
186
186
|
const $io65 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io35(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io31(elem)));
|
|
187
187
|
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "values" === input3.type;
|
|
188
188
|
const $io67 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvPredefinedGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io68(input3.q));
|
|
189
|
-
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
189
|
+
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx && Array.isArray(input3.dtLst);
|
|
190
190
|
const $io69 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io70(input3.q));
|
|
191
|
-
const $io70 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io53(input3.customset));
|
|
191
|
+
const $io70 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io53(input3.customset)) && Array.isArray(input3.dtLst);
|
|
192
192
|
const $io71 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu13(input3.q));
|
|
193
193
|
const $io72 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && ("discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && "grade" === input3.valueFor && true === input3.bar_by_grade && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
194
194
|
const $io73 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
|
|
@@ -3678,6 +3678,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3678
3678
|
path: _path2 + ".predefined_groupset_idx",
|
|
3679
3679
|
expected: "number",
|
|
3680
3680
|
value: input3.predefined_groupset_idx
|
|
3681
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3682
|
+
path: _path2 + ".dtLst",
|
|
3683
|
+
expected: "Array<any>",
|
|
3684
|
+
value: input3.dtLst
|
|
3681
3685
|
})].every((flag) => flag);
|
|
3682
3686
|
const $vo69 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3683
3687
|
path: _path2 + ".id",
|
|
@@ -3772,6 +3776,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3772
3776
|
path: _path2 + ".customset",
|
|
3773
3777
|
expected: "BaseGroupSet",
|
|
3774
3778
|
value: input3.customset
|
|
3779
|
+
}), Array.isArray(input3.dtLst) || $report(_exceptionable2, {
|
|
3780
|
+
path: _path2 + ".dtLst",
|
|
3781
|
+
expected: "Array<any>",
|
|
3782
|
+
value: input3.dtLst
|
|
3775
3783
|
})].every((flag) => flag);
|
|
3776
3784
|
const $vo71 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3777
3785
|
path: _path2 + ".id",
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termsByIdsPayload,
|
|
3
3
|
validTermsByIdsRequest,
|
|
4
4
|
validTermsByIdsResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YIF5KN5P.js";
|
|
6
6
|
import {
|
|
7
7
|
topMutatedGenePayload,
|
|
8
8
|
validtopMutatedGeneRequest,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
runChartPayload,
|
|
43
43
|
validRunChartRequest,
|
|
44
44
|
validRunChartResponse
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-CJKG67B2.js";
|
|
46
46
|
import {
|
|
47
47
|
termdbSampleImagesPayload,
|
|
48
48
|
validTermdbSampleImagesRequest,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
descrStatsPayload,
|
|
88
88
|
validDescrStatsRequest,
|
|
89
89
|
validDescrStatsResponse
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-OIQOK4UP.js";
|
|
91
91
|
import {
|
|
92
92
|
FilterTermValuesPayload,
|
|
93
93
|
validFilterTermValuesRequest,
|
|
@@ -137,12 +137,12 @@ import {
|
|
|
137
137
|
boxplotPayload,
|
|
138
138
|
validBoxPlotRequest,
|
|
139
139
|
validBoxPlotResponse
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-KXAR65TO.js";
|
|
141
141
|
import {
|
|
142
142
|
termdbCategoriesPayload,
|
|
143
143
|
validCategoriesRequest,
|
|
144
144
|
validCategoriesResponse
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-LKRDK6V6.js";
|
|
146
146
|
import {
|
|
147
147
|
ChatPayload,
|
|
148
148
|
validChatRequest,
|
|
@@ -244,7 +244,7 @@ import {
|
|
|
244
244
|
CorrelationVolcanoPayload,
|
|
245
245
|
validCorrelationVolcanoRequest,
|
|
246
246
|
validCorrelationVolcanoResponse
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-7LV73FRY.js";
|
|
248
248
|
import {
|
|
249
249
|
datasetPayload,
|
|
250
250
|
validDatasetRequest,
|
package/dist/termdb.boxplot.js
CHANGED
package/dist/termdb.runChart.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -1587,6 +1587,8 @@ keep this setting here for reason of:
|
|
|
1587
1587
|
/** key is string as disease/survial etc, value is tw */
|
|
1588
1588
|
[index: string]: Tw
|
|
1589
1589
|
}
|
|
1590
|
+
/** maximum number of genes to query in geneVariant gene set */
|
|
1591
|
+
maxGeneVariantGeneSetSize?: number
|
|
1590
1592
|
//terms are shown in the dictionary based on term and user role.
|
|
1591
1593
|
isTermVisible?: (clientAuthResult: any, ids: string) => boolean
|
|
1592
1594
|
hiddenIds?: string[]
|
|
@@ -18,11 +18,12 @@ type HtmlResponse = {
|
|
|
18
18
|
}
|
|
19
19
|
export type PlotResponse = {
|
|
20
20
|
type: 'plot'
|
|
21
|
-
/** plot state. Currently only supports summary chart, will add other chart types later */
|
|
22
21
|
plot: object
|
|
23
22
|
/** Specifies what action to take e.g. Summary plot or no action. Will add more chart types later */
|
|
24
23
|
}
|
|
25
24
|
|
|
25
|
+
export type LlmConfig = { provider: 'SJ' | 'ollama'; api: string; modelName: string }
|
|
26
|
+
|
|
26
27
|
export type ChatResponse = HtmlResponse | PlotResponse
|
|
27
28
|
|
|
28
29
|
export const ChatPayload: RoutePayload = {
|
|
@@ -42,6 +43,8 @@ export type SummaryType = {
|
|
|
42
43
|
term2?: string
|
|
43
44
|
/** Optional simple filter terms */
|
|
44
45
|
simpleFilter: FilterTerm[]
|
|
46
|
+
/** Optional explicit child type requested by the user. If omitted, the logic of the data types picks the child type. */
|
|
47
|
+
childType?: 'violin' | 'boxplot' | 'sampleScatter' | 'barchart'
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
export type FilterTerm =
|
|
@@ -101,7 +104,7 @@ export type plot_type = {
|
|
|
101
104
|
/** When type == plot, show the corresponding plot in the plot field */
|
|
102
105
|
type: 'plot'
|
|
103
106
|
/** The type of plot to be displayed on the UI. */
|
|
104
|
-
plot: 'summary' | 'dge' | 'none' | 'survival'
|
|
107
|
+
plot: 'summary' | 'dge' | 'none' | 'survival' | 'matrix'
|
|
105
108
|
}
|
|
106
109
|
|
|
107
110
|
export type DEType = {
|
|
@@ -112,3 +115,12 @@ export type DEType = {
|
|
|
112
115
|
/** Method used for carrying out differential gene expression analysis */
|
|
113
116
|
method?: 'edgeR' | 'limma' | 'wilcoxon'
|
|
114
117
|
}
|
|
118
|
+
|
|
119
|
+
export type MatrixType = {
|
|
120
|
+
/** Names of dictionary terms to include as rows in the matrix (e.g. "Diagnosis", "Gender", "Race") */
|
|
121
|
+
terms?: string[]
|
|
122
|
+
/** Names of genes to include as gene variant rows in the matrix (e.g. "TP53", "KRAS", "NRAS") */
|
|
123
|
+
geneNames?: string[]
|
|
124
|
+
/** Optional simple filter terms to restrict the sample set */
|
|
125
|
+
simpleFilter?: FilterTerm[]
|
|
126
|
+
}
|
|
@@ -3,15 +3,15 @@ import type { RoutePayload } from './routeApi.ts'
|
|
|
3
3
|
export type RunChartRequest = {
|
|
4
4
|
genome: string
|
|
5
5
|
dslabel: string
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
aggregation: '
|
|
6
|
+
/**
|
|
7
|
+
* term wrapper for x axis: { term, q }.
|
|
8
|
+
* runChart2: q.mode='continuous' → 1 series.
|
|
9
|
+
* runChart2Period: q.mode='discrete' (with bins) → multiple series by period.
|
|
10
|
+
*/
|
|
11
|
+
xtw: { term: { id: string }; q?: { mode?: 'continuous' | 'discrete' }; $id?: string }
|
|
12
|
+
/** term wrapper for y axis: { term, q } */
|
|
13
|
+
ytw: { term: { id: string }; q?: { mode?: string }; $id?: string }
|
|
14
|
+
aggregation: 'median'
|
|
15
15
|
filter?: any
|
|
16
16
|
__protected__?: any // auth token for accessing protected data
|
|
17
17
|
}
|
|
@@ -20,6 +20,8 @@ export type RunChartResponse = {
|
|
|
20
20
|
status: 'ok' | 'error'
|
|
21
21
|
/** each series is one curve, with a median. a runchart may show 1 or multiple curves */
|
|
22
22
|
series: {
|
|
23
|
+
/** period/series identifier */
|
|
24
|
+
seriesId?: string
|
|
23
25
|
/** calculated Y median value for this curve */
|
|
24
26
|
median: number
|
|
25
27
|
points: Point[]
|
package/src/terms/geneVariant.ts
CHANGED
|
@@ -11,13 +11,29 @@ export type GvBaseQ = MinBaseQ & {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
type RawGvValuesQ = GvBaseQ & { type?: 'values' }
|
|
14
|
-
type RawGvPredefinedGsQ = GvBaseQ & {
|
|
15
|
-
type
|
|
14
|
+
type RawGvPredefinedGsQ = GvBaseQ & {
|
|
15
|
+
type: 'predefined-groupset'
|
|
16
|
+
predefined_groupset_idx?: number
|
|
17
|
+
dtLst?: any[] // dts to query
|
|
18
|
+
}
|
|
19
|
+
type RawGvCustomGsQ = GvBaseQ & {
|
|
20
|
+
type: 'custom-groupset'
|
|
21
|
+
customset?: BaseGroupSet
|
|
22
|
+
dtLst?: any[] // dts to query
|
|
23
|
+
}
|
|
16
24
|
export type RawGvQ = RawGvValuesQ | RawGvPredefinedGsQ | RawGvCustomGsQ
|
|
17
25
|
|
|
18
26
|
export type GvValuesQ = GvBaseQ & { type: 'values' }
|
|
19
|
-
export type GvPredefinedGsQ = GvBaseQ & {
|
|
20
|
-
|
|
27
|
+
export type GvPredefinedGsQ = GvBaseQ & {
|
|
28
|
+
type: 'predefined-groupset'
|
|
29
|
+
predefined_groupset_idx: number
|
|
30
|
+
dtLst: any[] // dts to query
|
|
31
|
+
}
|
|
32
|
+
export type GvCustomGsQ = GvBaseQ & {
|
|
33
|
+
type: 'custom-groupset'
|
|
34
|
+
customset: BaseGroupSet
|
|
35
|
+
dtLst: any[] // dts to query
|
|
36
|
+
}
|
|
21
37
|
|
|
22
38
|
export type GvQ = GvValuesQ | GvPredefinedGsQ | GvCustomGsQ
|
|
23
39
|
|