@sjcrh/proteinpaint-types 2.180.0 → 2.180.1-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-E2O4N7OC.js → chunk-6XZZIXG7.js} +59 -177
- package/dist/index.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +4 -30
- package/src/routes/termdb.cluster.ts +0 -11
|
@@ -164,24 +164,22 @@ var validTermdbClusterRequest = (input) => {
|
|
|
164
164
|
const $io93 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWBinary" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu16(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io74(input3.q));
|
|
165
165
|
const $io94 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu16(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $io76(input3.q));
|
|
166
166
|
const $io95 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWSpline" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu16(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io78(input3.q));
|
|
167
|
-
const $io96 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "
|
|
168
|
-
const $io97 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $
|
|
169
|
-
const $io98 = (input3) =>
|
|
170
|
-
const $io99 = (input3) =>
|
|
167
|
+
const $io96 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "wholeProteomeAbundance" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu6(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
168
|
+
const $io97 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWRegularBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu17(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io17(input3.q));
|
|
169
|
+
const $io98 = (input3) => true;
|
|
170
|
+
const $io99 = (input3) => true;
|
|
171
171
|
const $io100 = (input3) => true;
|
|
172
172
|
const $io101 = (input3) => true;
|
|
173
|
-
const $io102 = (input3) =>
|
|
173
|
+
const $io102 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "wholeProteomeAbundance" === 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)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
174
174
|
const $io103 = (input3) => true;
|
|
175
|
-
const $io104 = (input3) =>
|
|
175
|
+
const $io104 = (input3) => true;
|
|
176
176
|
const $io105 = (input3) => true;
|
|
177
177
|
const $io106 = (input3) => true;
|
|
178
178
|
const $io107 = (input3) => true;
|
|
179
|
-
const $io108 = (input3) => true;
|
|
180
|
-
const $io109 = (input3) => true;
|
|
181
|
-
const $io110 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "
|
|
182
|
-
const $io111 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "
|
|
183
|
-
const $io112 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu18(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $io76(input3.q));
|
|
184
|
-
const $io113 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWSpline" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu18(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io78(input3.q));
|
|
179
|
+
const $io108 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWCustomBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu17(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io22(input3.q));
|
|
180
|
+
const $io109 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWBinary" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu17(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io74(input3.q));
|
|
181
|
+
const $io110 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu17(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $io76(input3.q));
|
|
182
|
+
const $io111 = (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) && $io53(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWSpline" === input3.type && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu17(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io78(input3.q));
|
|
185
183
|
const $iu0 = (input3) => (() => {
|
|
186
184
|
if ("tvslst" === input3.type)
|
|
187
185
|
return $io1(input3);
|
|
@@ -240,15 +238,15 @@ var validTermdbClusterRequest = (input) => {
|
|
|
240
238
|
})();
|
|
241
239
|
const $iu6 = (input3) => (() => {
|
|
242
240
|
if ("NumTWSpline" === input3.type)
|
|
243
|
-
return $
|
|
241
|
+
return $io111(input3);
|
|
244
242
|
if ("NumTWCont" === input3.type)
|
|
245
|
-
return $
|
|
243
|
+
return $io110(input3);
|
|
246
244
|
if ("NumTWBinary" === input3.type)
|
|
247
|
-
return $
|
|
245
|
+
return $io109(input3);
|
|
248
246
|
if ("NumTWCustomBin" === input3.type)
|
|
249
|
-
return $
|
|
247
|
+
return $io108(input3);
|
|
250
248
|
if ("NumTWRegularBin" === input3.type)
|
|
251
|
-
return $
|
|
249
|
+
return $io97(input3);
|
|
252
250
|
return false;
|
|
253
251
|
})();
|
|
254
252
|
const $iu7 = (input3) => (() => {
|
|
@@ -402,49 +400,32 @@ var validTermdbClusterRequest = (input) => {
|
|
|
402
400
|
})();
|
|
403
401
|
})();
|
|
404
402
|
const $iu17 = (input3) => (() => {
|
|
405
|
-
if ("regular-bin" === input3.type)
|
|
406
|
-
return $io17(input3);
|
|
407
|
-
if ("spline" === input3.mode)
|
|
408
|
-
return $io78(input3);
|
|
409
|
-
return (() => {
|
|
410
|
-
if ($io22(input3))
|
|
411
|
-
return $io22(input3);
|
|
412
|
-
if ($io74(input3))
|
|
413
|
-
return $io74(input3);
|
|
414
|
-
if ($io76(input3))
|
|
415
|
-
return $io76(input3);
|
|
416
|
-
return false;
|
|
417
|
-
})();
|
|
418
|
-
})();
|
|
419
|
-
const $iu18 = (input3) => (() => {
|
|
420
403
|
if (void 0 !== input3.type)
|
|
421
|
-
return $
|
|
404
|
+
return $io102(input3);
|
|
422
405
|
return (() => {
|
|
423
|
-
if ($io109(input3))
|
|
424
|
-
return $io109(input3);
|
|
425
|
-
if ($io108(input3))
|
|
426
|
-
return $io108(input3);
|
|
427
406
|
if ($io107(input3))
|
|
428
407
|
return $io107(input3);
|
|
429
408
|
if ($io106(input3))
|
|
430
409
|
return $io106(input3);
|
|
431
410
|
if ($io105(input3))
|
|
432
411
|
return $io105(input3);
|
|
412
|
+
if ($io104(input3))
|
|
413
|
+
return $io104(input3);
|
|
433
414
|
if ($io103(input3))
|
|
434
415
|
return $io103(input3);
|
|
435
|
-
if ($io102(input3))
|
|
436
|
-
return $io102(input3);
|
|
437
416
|
if ($io101(input3))
|
|
438
417
|
return $io101(input3);
|
|
439
418
|
if ($io100(input3))
|
|
440
419
|
return $io100(input3);
|
|
420
|
+
if ($io99(input3))
|
|
421
|
+
return $io99(input3);
|
|
422
|
+
if ($io98(input3))
|
|
423
|
+
return $io98(input3);
|
|
441
424
|
return false;
|
|
442
425
|
})();
|
|
443
426
|
})();
|
|
444
|
-
const $
|
|
427
|
+
const $iu18 = (input3) => (() => {
|
|
445
428
|
if ("wholeProteomeAbundance" === input3.dataType)
|
|
446
|
-
return $io98(input3);
|
|
447
|
-
if ("numericDictTerm" === input3.dataType)
|
|
448
429
|
return $io96(input3);
|
|
449
430
|
if ("metaboliteIntensity" === input3.dataType)
|
|
450
431
|
return $io80(input3);
|
|
@@ -452,7 +433,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
452
433
|
return $io0(input3);
|
|
453
434
|
return false;
|
|
454
435
|
})();
|
|
455
|
-
return "object" === typeof input2 && null !== input2 && $
|
|
436
|
+
return "object" === typeof input2 && null !== input2 && $iu18(input2);
|
|
456
437
|
};
|
|
457
438
|
if (false === __is(input)) {
|
|
458
439
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -4413,96 +4394,6 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4413
4394
|
path: _path2 + ".filter",
|
|
4414
4395
|
expected: "(Filter | undefined)",
|
|
4415
4396
|
value: input3.filter
|
|
4416
|
-
}), true, "numericDictTerm" === input3.dataType || $report(_exceptionable2, {
|
|
4417
|
-
path: _path2 + ".dataType",
|
|
4418
|
-
expected: '"numericDictTerm"',
|
|
4419
|
-
value: input3.dataType
|
|
4420
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
4421
|
-
path: _path2 + ".terms",
|
|
4422
|
-
expected: "Array<NumericTW>",
|
|
4423
|
-
value: input3.terms
|
|
4424
|
-
})) && input3.terms.map((elem, _index72) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4425
|
-
path: _path2 + ".terms[" + _index72 + "]",
|
|
4426
|
-
expected: "NumericTW",
|
|
4427
|
-
value: elem
|
|
4428
|
-
})) && $vo97(elem, _path2 + ".terms[" + _index72 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4429
|
-
path: _path2 + ".terms[" + _index72 + "]",
|
|
4430
|
-
expected: "NumericTW",
|
|
4431
|
-
value: elem
|
|
4432
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4433
|
-
path: _path2 + ".terms",
|
|
4434
|
-
expected: "Array<NumericTW>",
|
|
4435
|
-
value: input3.terms
|
|
4436
|
-
}), void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation || $report(_exceptionable2, {
|
|
4437
|
-
path: _path2 + ".zScoreTransformation",
|
|
4438
|
-
expected: "(string | undefined)",
|
|
4439
|
-
value: input3.zScoreTransformation
|
|
4440
|
-
})].every((flag) => flag);
|
|
4441
|
-
const $vo97 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
4442
|
-
path: _path2 + ".id",
|
|
4443
|
-
expected: "(string | undefined)",
|
|
4444
|
-
value: input3.id
|
|
4445
|
-
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
4446
|
-
path: _path2 + ".$id",
|
|
4447
|
-
expected: "(string | undefined)",
|
|
4448
|
-
value: input3.$id
|
|
4449
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
4450
|
-
path: _path2 + ".isAtomic",
|
|
4451
|
-
expected: "(true | undefined)",
|
|
4452
|
-
value: input3.isAtomic
|
|
4453
|
-
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4454
|
-
path: _path2 + ".settings",
|
|
4455
|
-
expected: "(__type.o9 | undefined)",
|
|
4456
|
-
value: input3.settings
|
|
4457
|
-
})) && $vo53(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4458
|
-
path: _path2 + ".settings",
|
|
4459
|
-
expected: "(__type.o9 | undefined)",
|
|
4460
|
-
value: input3.settings
|
|
4461
|
-
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4462
|
-
path: _path2 + ".minNumSamples",
|
|
4463
|
-
expected: "(number | undefined)",
|
|
4464
|
-
value: input3.minNumSamples
|
|
4465
|
-
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
4466
|
-
path: _path2 + ".term",
|
|
4467
|
-
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
4468
|
-
value: input3.term
|
|
4469
|
-
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
4470
|
-
path: _path2 + ".term",
|
|
4471
|
-
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
4472
|
-
value: input3.term
|
|
4473
|
-
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
4474
|
-
path: _path2 + ".q",
|
|
4475
|
-
expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
|
|
4476
|
-
value: input3.q
|
|
4477
|
-
})) && $vu17(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
4478
|
-
path: _path2 + ".q",
|
|
4479
|
-
expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
|
|
4480
|
-
value: input3.q
|
|
4481
|
-
})].every((flag) => flag);
|
|
4482
|
-
const $vo98 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
4483
|
-
path: _path2 + ".genome",
|
|
4484
|
-
expected: "string",
|
|
4485
|
-
value: input3.genome
|
|
4486
|
-
}), "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
4487
|
-
path: _path2 + ".dslabel",
|
|
4488
|
-
expected: "string",
|
|
4489
|
-
value: input3.dslabel
|
|
4490
|
-
}), "string" === typeof input3.clusterMethod || $report(_exceptionable2, {
|
|
4491
|
-
path: _path2 + ".clusterMethod",
|
|
4492
|
-
expected: "string",
|
|
4493
|
-
value: input3.clusterMethod
|
|
4494
|
-
}), "string" === typeof input3.distanceMethod || $report(_exceptionable2, {
|
|
4495
|
-
path: _path2 + ".distanceMethod",
|
|
4496
|
-
expected: "string",
|
|
4497
|
-
value: input3.distanceMethod
|
|
4498
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
4499
|
-
path: _path2 + ".filter",
|
|
4500
|
-
expected: "(Filter | undefined)",
|
|
4501
|
-
value: input3.filter
|
|
4502
|
-
})) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
4503
|
-
path: _path2 + ".filter",
|
|
4504
|
-
expected: "(Filter | undefined)",
|
|
4505
|
-
value: input3.filter
|
|
4506
4397
|
}), true, "wholeProteomeAbundance" === input3.dataType || $report(_exceptionable2, {
|
|
4507
4398
|
path: _path2 + ".dataType",
|
|
4508
4399
|
expected: '"wholeProteomeAbundance"',
|
|
@@ -4511,12 +4402,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4511
4402
|
path: _path2 + ".terms",
|
|
4512
4403
|
expected: "Array<WholeProteomeAbundanceTW>",
|
|
4513
4404
|
value: input3.terms
|
|
4514
|
-
})) && input3.terms.map((elem,
|
|
4515
|
-
path: _path2 + ".terms[" +
|
|
4405
|
+
})) && input3.terms.map((elem, _index72) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4406
|
+
path: _path2 + ".terms[" + _index72 + "]",
|
|
4516
4407
|
expected: '(BaseTW & { type: "NumTWBinary"; term: NumericTerm; q: BinaryNumericQ; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWCont"; term: NumericTerm; q: ContinuousNumericQ; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWCustomBin"; term: NumericTerm; q: CustomNumericBinConfig; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWRegularBin"; term: NumericTerm; q: RegularNumericBinConfig; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWSpline"; term: NumericTerm; q: SplineNumericQ; } & { term: WholeProteomeAbundanceTerm; })',
|
|
4517
4408
|
value: elem
|
|
4518
|
-
})) && $vu6(elem, _path2 + ".terms[" +
|
|
4519
|
-
path: _path2 + ".terms[" +
|
|
4409
|
+
})) && $vu6(elem, _path2 + ".terms[" + _index72 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4410
|
+
path: _path2 + ".terms[" + _index72 + "]",
|
|
4520
4411
|
expected: '(BaseTW & { type: "NumTWBinary"; term: NumericTerm; q: BinaryNumericQ; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWCont"; term: NumericTerm; q: ContinuousNumericQ; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWCustomBin"; term: NumericTerm; q: CustomNumericBinConfig; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWRegularBin"; term: NumericTerm; q: RegularNumericBinConfig; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWSpline"; term: NumericTerm; q: SplineNumericQ; } & { term: WholeProteomeAbundanceTerm; })',
|
|
4521
4412
|
value: elem
|
|
4522
4413
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4528,7 +4419,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4528
4419
|
expected: "(string | undefined)",
|
|
4529
4420
|
value: input3.zScoreTransformation
|
|
4530
4421
|
})].every((flag) => flag);
|
|
4531
|
-
const $
|
|
4422
|
+
const $vo97 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
4532
4423
|
path: _path2 + ".id",
|
|
4533
4424
|
expected: "(string | undefined)",
|
|
4534
4425
|
value: input3.id
|
|
@@ -4560,7 +4451,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4560
4451
|
path: _path2 + ".term",
|
|
4561
4452
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4562
4453
|
value: input3.term
|
|
4563
|
-
})) && $
|
|
4454
|
+
})) && $vu17(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
4564
4455
|
path: _path2 + ".term",
|
|
4565
4456
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4566
4457
|
value: input3.term
|
|
@@ -4573,11 +4464,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4573
4464
|
expected: "RegularNumericBinConfig",
|
|
4574
4465
|
value: input3.q
|
|
4575
4466
|
})].every((flag) => flag);
|
|
4467
|
+
const $vo98 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4468
|
+
const $vo99 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4576
4469
|
const $vo100 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4577
4470
|
const $vo101 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4578
|
-
const $vo102 = (input3, _path2, _exceptionable2 = true) =>
|
|
4579
|
-
const $vo103 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4580
|
-
const $vo104 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4471
|
+
const $vo102 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4581
4472
|
path: _path2 + ".id",
|
|
4582
4473
|
expected: "string",
|
|
4583
4474
|
value: input3.id
|
|
@@ -4593,8 +4484,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4593
4484
|
path: _path2 + ".child_types",
|
|
4594
4485
|
expected: "(Array<string> | undefined)",
|
|
4595
4486
|
value: input3.child_types
|
|
4596
|
-
})) && input3.child_types.map((elem,
|
|
4597
|
-
path: _path2 + ".child_types[" +
|
|
4487
|
+
})) && input3.child_types.map((elem, _index73) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4488
|
+
path: _path2 + ".child_types[" + _index73 + "]",
|
|
4598
4489
|
expected: "string",
|
|
4599
4490
|
value: elem
|
|
4600
4491
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4609,8 +4500,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4609
4500
|
path: _path2 + ".included_types",
|
|
4610
4501
|
expected: "(Array<string> | undefined)",
|
|
4611
4502
|
value: input3.included_types
|
|
4612
|
-
})) && input3.included_types.map((elem,
|
|
4613
|
-
path: _path2 + ".included_types[" +
|
|
4503
|
+
})) && input3.included_types.map((elem, _index74) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4504
|
+
path: _path2 + ".included_types[" + _index74 + "]",
|
|
4614
4505
|
expected: "string",
|
|
4615
4506
|
value: elem
|
|
4616
4507
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4666,12 +4557,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4666
4557
|
expected: "(PresetNumericBins | undefined)",
|
|
4667
4558
|
value: input3.bins
|
|
4668
4559
|
})].every((flag) => flag);
|
|
4560
|
+
const $vo103 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4561
|
+
const $vo104 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4669
4562
|
const $vo105 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4670
4563
|
const $vo106 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4671
4564
|
const $vo107 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4672
|
-
const $vo108 = (input3, _path2, _exceptionable2 = true) =>
|
|
4673
|
-
const $vo109 = (input3, _path2, _exceptionable2 = true) => true;
|
|
4674
|
-
const $vo110 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
4565
|
+
const $vo108 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
4675
4566
|
path: _path2 + ".id",
|
|
4676
4567
|
expected: "(string | undefined)",
|
|
4677
4568
|
value: input3.id
|
|
@@ -4703,7 +4594,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4703
4594
|
path: _path2 + ".term",
|
|
4704
4595
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4705
4596
|
value: input3.term
|
|
4706
|
-
})) && $
|
|
4597
|
+
})) && $vu17(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
4707
4598
|
path: _path2 + ".term",
|
|
4708
4599
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4709
4600
|
value: input3.term
|
|
@@ -4716,7 +4607,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4716
4607
|
expected: "CustomNumericBinConfig",
|
|
4717
4608
|
value: input3.q
|
|
4718
4609
|
})].every((flag) => flag);
|
|
4719
|
-
const $
|
|
4610
|
+
const $vo109 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
4720
4611
|
path: _path2 + ".id",
|
|
4721
4612
|
expected: "(string | undefined)",
|
|
4722
4613
|
value: input3.id
|
|
@@ -4748,7 +4639,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4748
4639
|
path: _path2 + ".term",
|
|
4749
4640
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4750
4641
|
value: input3.term
|
|
4751
|
-
})) && $
|
|
4642
|
+
})) && $vu17(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
4752
4643
|
path: _path2 + ".term",
|
|
4753
4644
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4754
4645
|
value: input3.term
|
|
@@ -4761,7 +4652,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4761
4652
|
expected: "BinaryNumericQ",
|
|
4762
4653
|
value: input3.q
|
|
4763
4654
|
})].every((flag) => flag);
|
|
4764
|
-
const $
|
|
4655
|
+
const $vo110 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
4765
4656
|
path: _path2 + ".id",
|
|
4766
4657
|
expected: "(string | undefined)",
|
|
4767
4658
|
value: input3.id
|
|
@@ -4793,7 +4684,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4793
4684
|
path: _path2 + ".term",
|
|
4794
4685
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4795
4686
|
value: input3.term
|
|
4796
|
-
})) && $
|
|
4687
|
+
})) && $vu17(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
4797
4688
|
path: _path2 + ".term",
|
|
4798
4689
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4799
4690
|
value: input3.term
|
|
@@ -4806,7 +4697,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4806
4697
|
expected: "ContinuousNumericQ",
|
|
4807
4698
|
value: input3.q
|
|
4808
4699
|
})].every((flag) => flag);
|
|
4809
|
-
const $
|
|
4700
|
+
const $vo111 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
4810
4701
|
path: _path2 + ".id",
|
|
4811
4702
|
expected: "(string | undefined)",
|
|
4812
4703
|
value: input3.id
|
|
@@ -4838,7 +4729,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4838
4729
|
path: _path2 + ".term",
|
|
4839
4730
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4840
4731
|
value: input3.term
|
|
4841
|
-
})) && $
|
|
4732
|
+
})) && $vu17(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
4842
4733
|
path: _path2 + ".term",
|
|
4843
4734
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | never.o25 | never.o26 | never.o27 | never.o28 | never.o29 | never.o30 | never.o31 | never.o32 | never.o33)',
|
|
4844
4735
|
value: input3.term
|
|
@@ -4929,15 +4820,15 @@ var validTermdbClusterRequest = (input) => {
|
|
|
4929
4820
|
})();
|
|
4930
4821
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4931
4822
|
if ("NumTWSpline" === input3.type)
|
|
4932
|
-
return $
|
|
4823
|
+
return $vo111(input3, _path2, _exceptionable2);
|
|
4933
4824
|
if ("NumTWCont" === input3.type)
|
|
4934
|
-
return $
|
|
4825
|
+
return $vo110(input3, _path2, _exceptionable2);
|
|
4935
4826
|
if ("NumTWBinary" === input3.type)
|
|
4936
|
-
return $
|
|
4827
|
+
return $vo109(input3, _path2, _exceptionable2);
|
|
4937
4828
|
if ("NumTWCustomBin" === input3.type)
|
|
4938
|
-
return $
|
|
4829
|
+
return $vo108(input3, _path2, _exceptionable2);
|
|
4939
4830
|
if ("NumTWRegularBin" === input3.type)
|
|
4940
|
-
return $
|
|
4831
|
+
return $vo97(input3, _path2, _exceptionable2);
|
|
4941
4832
|
return $report(_exceptionable2, {
|
|
4942
4833
|
path: _path2,
|
|
4943
4834
|
expected: '(BaseTW & { type: "NumTWSpline"; term: NumericTerm; q: SplineNumericQ; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWCont"; term: NumericTerm; q: ContinuousNumericQ; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWBinary"; term: NumericTerm; q: BinaryNumericQ; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWCustomBin"; term: NumericTerm; q: CustomNumericBinConfig; } & { term: WholeProteomeAbundanceTerm; } | BaseTW & { type: "NumTWRegularBin"; term: NumericTerm; q: RegularNumericBinConfig; } & { term: WholeProteomeAbundanceTerm; })',
|
|
@@ -5035,21 +4926,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
5035
4926
|
return $vo91(input3, _path2, false) || $vo90(input3, _path2, false) || $vo89(input3, _path2, false) || $vo88(input3, _path2, false) || $vo87(input3, _path2, false) || $vo86(input3, _path2, false) || $vo84(input3, _path2, false) || $vo83(input3, _path2, false) || $vo82(input3, _path2, false);
|
|
5036
4927
|
})();
|
|
5037
4928
|
const $vu17 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
5038
|
-
if ("regular-bin" === input3.type)
|
|
5039
|
-
return $vo17(input3, _path2, _exceptionable2);
|
|
5040
|
-
if ("spline" === input3.mode)
|
|
5041
|
-
return $vo78(input3, _path2, _exceptionable2);
|
|
5042
|
-
return $vo22(input3, _path2, false) || $vo74(input3, _path2, false) || $vo76(input3, _path2, false);
|
|
5043
|
-
})();
|
|
5044
|
-
const $vu18 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
5045
4929
|
if (void 0 !== input3.type)
|
|
5046
|
-
return $
|
|
5047
|
-
return $
|
|
4930
|
+
return $vo102(input3, _path2, _exceptionable2);
|
|
4931
|
+
return $vo107(input3, _path2, false) || $vo106(input3, _path2, false) || $vo105(input3, _path2, false) || $vo104(input3, _path2, false) || $vo103(input3, _path2, false) || $vo101(input3, _path2, false) || $vo100(input3, _path2, false) || $vo99(input3, _path2, false) || $vo98(input3, _path2, false);
|
|
5048
4932
|
})();
|
|
5049
|
-
const $
|
|
4933
|
+
const $vu18 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
5050
4934
|
if ("wholeProteomeAbundance" === input3.dataType)
|
|
5051
|
-
return $vo98(input3, _path2, _exceptionable2);
|
|
5052
|
-
if ("numericDictTerm" === input3.dataType)
|
|
5053
4935
|
return $vo96(input3, _path2, _exceptionable2);
|
|
5054
4936
|
if ("metaboliteIntensity" === input3.dataType)
|
|
5055
4937
|
return $vo80(input3, _path2, _exceptionable2);
|
|
@@ -5057,17 +4939,17 @@ var validTermdbClusterRequest = (input) => {
|
|
|
5057
4939
|
return $vo0(input3, _path2, _exceptionable2);
|
|
5058
4940
|
return $report(_exceptionable2, {
|
|
5059
4941
|
path: _path2,
|
|
5060
|
-
expected: "(TermdbClusterRequestWholeProteomeAbundance |
|
|
4942
|
+
expected: "(TermdbClusterRequestWholeProteomeAbundance | TermdbClusterRequestMetabolite | TermdbClusterRequestGeneExpression)",
|
|
5061
4943
|
value: input3
|
|
5062
4944
|
});
|
|
5063
4945
|
})();
|
|
5064
4946
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
5065
4947
|
path: _path + "",
|
|
5066
|
-
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite |
|
|
4948
|
+
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestWholeProteomeAbundance)",
|
|
5067
4949
|
value: input2
|
|
5068
|
-
})) && $
|
|
4950
|
+
})) && $vu18(input2, _path + "", true) || $report(true, {
|
|
5069
4951
|
path: _path + "",
|
|
5070
|
-
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite |
|
|
4952
|
+
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestWholeProteomeAbundance)",
|
|
5071
4953
|
value: input2
|
|
5072
4954
|
});
|
|
5073
4955
|
})(input, "$input", true);
|
package/dist/index.js
CHANGED
package/dist/termdb.cluster.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -1314,13 +1314,6 @@ type MatrixSettings = {
|
|
|
1314
1314
|
oncoPrintSNVindelCellBorder?: boolean
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
|
-
type NumericDictTermClusterSettings = {
|
|
1318
|
-
/** default hiercluster group name */
|
|
1319
|
-
termGroupName?: string
|
|
1320
|
-
zScoreTransformation?: boolean
|
|
1321
|
-
colorScale?: string
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
1317
|
type Matrix = {
|
|
1325
1318
|
/** alternative name, e.g. the plot is called "oncomatrix" in gdc; by default it's called "matrix" */
|
|
1326
1319
|
appName?: string
|
|
@@ -1338,18 +1331,6 @@ type Matrix = {
|
|
|
1338
1331
|
cnvCutoffs?: any
|
|
1339
1332
|
}
|
|
1340
1333
|
|
|
1341
|
-
// specific hierCluster type settings, should be named as "dataTYpe + Cluster"
|
|
1342
|
-
type NumericDictTermCluster = {
|
|
1343
|
-
/** alternative name, e.g. the plot is called "drug sensitivity" in ALL-pharmacotyping; by default it's called "Numeric Dictionary Term cluster" */
|
|
1344
|
-
appName?: string
|
|
1345
|
-
/** default settings for numericDictTermCluster plot */
|
|
1346
|
-
settings?: NumericDictTermClusterSettings
|
|
1347
|
-
/** list of numeric term ids that will be excluded from the numeric dictionary term cluster, add to usecase.detail to exclude terms*/
|
|
1348
|
-
exclude?: string[]
|
|
1349
|
-
/** list of pre-built numericDictTermcluster plots */
|
|
1350
|
-
plots?: NumericDictTermClusterPlotsEntry[]
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
1334
|
type Survival = {
|
|
1354
1335
|
/** default settings for survival plot */
|
|
1355
1336
|
settings?: SurvivalSettings
|
|
@@ -1369,16 +1350,6 @@ type MatrixPlotsEntry = {
|
|
|
1369
1350
|
getConfig?: (f: any) => void
|
|
1370
1351
|
}
|
|
1371
1352
|
|
|
1372
|
-
type NumericDictTermClusterPlotsEntry = {
|
|
1373
|
-
name: string
|
|
1374
|
-
file: string
|
|
1375
|
-
settings?: {
|
|
1376
|
-
[key: string]: any
|
|
1377
|
-
}
|
|
1378
|
-
/** helper function to get plot config from saved session file */
|
|
1379
|
-
getConfig?: (f: any) => void
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
1353
|
type MatrixPlots = {
|
|
1383
1354
|
plots: MatrixPlotsEntry[]
|
|
1384
1355
|
}
|
|
@@ -1500,7 +1471,6 @@ keep this setting here for reason of:
|
|
|
1500
1471
|
*/
|
|
1501
1472
|
useLower?: boolean
|
|
1502
1473
|
matrix?: Matrix
|
|
1503
|
-
numericDictTermCluster?: NumericDictTermCluster
|
|
1504
1474
|
survival?: Survival
|
|
1505
1475
|
regression?: Regression
|
|
1506
1476
|
logscaleBase2?: boolean
|
|
@@ -1680,6 +1650,10 @@ type TermCollectionBase = {
|
|
|
1680
1650
|
|
|
1681
1651
|
type NumericTermCollection = TermCollectionBase & {
|
|
1682
1652
|
type: 'numeric'
|
|
1653
|
+
/** optional transformations to apply to the term values when used in plots, specified by plot type */
|
|
1654
|
+
valueTransformByPlots?: {
|
|
1655
|
+
[chartType: string]: { offset?: number }
|
|
1656
|
+
}
|
|
1683
1657
|
}
|
|
1684
1658
|
|
|
1685
1659
|
type CategoricalTermCollection = TermCollectionBase & {
|
|
@@ -5,7 +5,6 @@ import type { Term } from '../terms/term.ts'
|
|
|
5
5
|
import type { GeneExpressionTW } from '../terms/geneExpression.ts'
|
|
6
6
|
import type { MetaboliteIntensityTW } from '../terms/metaboliteIntensity.ts'
|
|
7
7
|
import type { WholeProteomeAbundanceTW } from '../terms/wholeProteomeAbundance.ts'
|
|
8
|
-
import type { NumericTW } from '../terms/numeric.ts'
|
|
9
8
|
|
|
10
9
|
export type Gene = {
|
|
11
10
|
/** gene symbol, required */
|
|
@@ -58,19 +57,9 @@ export type TermdbClusterRequestWholeProteomeAbundance = TermdbClusterRequestBas
|
|
|
58
57
|
zScoreTransformation?: string
|
|
59
58
|
}
|
|
60
59
|
|
|
61
|
-
export type TermdbClusterRequestNumericDictTerm = TermdbClusterRequestBase & {
|
|
62
|
-
/** Data type */
|
|
63
|
-
dataType: 'numericDictTerm'
|
|
64
|
-
/** List of terms */
|
|
65
|
-
terms: NumericTW[]
|
|
66
|
-
/** perform z-score transformation on values */
|
|
67
|
-
zScoreTransformation?: string
|
|
68
|
-
}
|
|
69
|
-
|
|
70
60
|
export type TermdbClusterRequest =
|
|
71
61
|
| TermdbClusterRequestGeneExpression
|
|
72
62
|
| TermdbClusterRequestMetabolite
|
|
73
|
-
| TermdbClusterRequestNumericDictTerm
|
|
74
63
|
| TermdbClusterRequestWholeProteomeAbundance
|
|
75
64
|
|
|
76
65
|
export type Hclust = {
|