@sjcrh/proteinpaint-types 2.177.0 → 2.178.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.
Files changed (54) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-LHJGTOZJ.js → chunk-26UKKPK2.js} +1301 -594
  3. package/dist/{chunk-4SOVPEYQ.js → chunk-2XQJCZEO.js} +842 -243
  4. package/dist/{chunk-UQEAM7BH.js → chunk-2Y7WE3JU.js} +1301 -594
  5. package/dist/chunk-4DCPDZW4.js +143 -0
  6. package/dist/{chunk-5KF6Z3GL.js → chunk-CX2Y673E.js} +923 -329
  7. package/dist/chunk-CYQDO4FX.js +3191 -0
  8. package/dist/{chunk-W7UCAYSF.js → chunk-FQYNRDHB.js} +923 -329
  9. package/dist/chunk-FRXRNCDV.js +14 -0
  10. package/dist/{chunk-F4YCPOQV.js → chunk-GAYJUXNZ.js} +947 -353
  11. package/dist/{chunk-7WEVNKAM.js → chunk-HZEV7D5E.js} +1301 -594
  12. package/dist/{chunk-4ZMQ5CTL.js → chunk-NIEACU6R.js} +7 -31
  13. package/dist/{chunk-Q6MWNJ2V.js → chunk-NRV6MPRM.js} +3421 -1378
  14. package/dist/{chunk-44LN7YTE.js → chunk-PHRILOVX.js} +923 -329
  15. package/dist/{chunk-URHI6FFP.js → chunk-UFYKXOY2.js} +2233 -690
  16. package/dist/{chunk-63OD34W2.js → chunk-UWAVSKMD.js} +1301 -594
  17. package/dist/chunk-VBNF7BRI.js +3492 -0
  18. package/dist/{chunk-2DJFVQUQ.js → chunk-WXCXZRKP.js} +1305 -598
  19. package/dist/{chunk-7NKZVHIZ.js → chunk-YHKFJCXG.js} +1445 -496
  20. package/dist/correlationVolcano.js +1 -1
  21. package/dist/grin2.js +1 -1
  22. package/dist/index.js +79 -61
  23. package/dist/termdb.boxplot.js +1 -1
  24. package/dist/termdb.categories.js +1 -1
  25. package/dist/termdb.chat.js +3122 -5
  26. package/dist/termdb.chat2.js +13 -0
  27. package/dist/termdb.cluster.js +1 -1
  28. package/dist/termdb.descrstats.js +1 -1
  29. package/dist/termdb.diffMeth.js +11 -0
  30. package/dist/termdb.dmr.js +11 -0
  31. package/dist/termdb.numericcategories.js +1 -1
  32. package/dist/termdb.percentile.js +1 -1
  33. package/dist/termdb.singlecellData.js +1 -1
  34. package/dist/termdb.termsbyids.js +1 -1
  35. package/dist/termdb.topTermsByType.js +1 -1
  36. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  37. package/dist/termdb.violin.js +1 -1
  38. package/package.json +1 -1
  39. package/src/dataset.ts +55 -8
  40. package/src/index.ts +5 -1
  41. package/src/routes/grin2.ts +5 -11
  42. package/src/routes/{termdb.chat.ts → termdb.chat2.ts} +42 -15
  43. package/src/routes/termdb.cluster.ts +11 -0
  44. package/src/routes/termdb.diffMeth.ts +49 -0
  45. package/src/routes/termdb.dmr.ts +47 -0
  46. package/src/routes/termdb.singlecellData.ts +3 -1
  47. package/src/terms/dnaMethylation.ts +19 -0
  48. package/src/terms/numeric.ts +13 -2
  49. package/src/terms/singleCellCellType.ts +1 -1
  50. package/src/terms/singleCellGeneExpression.ts +25 -19
  51. package/src/terms/term.ts +1 -1
  52. package/src/terms/termCollection.ts +93 -21
  53. package/src/terms/wholeProteomeAbundance.ts +30 -0
  54. package/dist/chunk-WWE2SDCU.js +0 -494
@@ -22,7 +22,7 @@ var validTermdbSingleCellDataRequest = (input) => {
22
22
  const errors = [];
23
23
  const __is = (input2) => {
24
24
  const $join = import_typia.createValidate.join;
25
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && ("object" === typeof input3.sample && null !== input3.sample && $io1(input3.sample)) && (Array.isArray(input3.plots) && input3.plots.every((elem) => "string" === typeof elem)) && (void 0 === input3.gene || "string" === typeof input3.gene) && (void 0 === input3.colorBy || "object" === typeof input3.colorBy && null !== input3.colorBy && false === Array.isArray(input3.colorBy) && $io2(input3.colorBy)) && (void 0 === input3.colorMap || "object" === typeof input3.colorMap && null !== input3.colorMap && false === Array.isArray(input3.colorMap) && $io3(input3.colorMap));
25
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && ("object" === typeof input3.sample && null !== input3.sample && $io1(input3.sample)) && (Array.isArray(input3.plots) && input3.plots.every((elem) => "string" === typeof elem)) && (void 0 === input3.gene || "string" === typeof input3.gene) && (void 0 === input3.colorBy || "string" === typeof input3.colorBy) && (void 0 === input3.colorMap || "object" === typeof input3.colorMap && null !== input3.colorMap && false === Array.isArray(input3.colorMap) && $io2(input3.colorMap)) && true;
26
26
  const $io1 = (input3) => (void 0 === input3.eID || "string" === typeof input3.eID) && "string" === typeof input3.sID;
27
27
  const $io2 = (input3) => Object.keys(input3).every((key) => {
28
28
  const value = input3[key];
@@ -32,14 +32,6 @@ var validTermdbSingleCellDataRequest = (input) => {
32
32
  return "string" === typeof value;
33
33
  return true;
34
34
  });
35
- const $io3 = (input3) => Object.keys(input3).every((key) => {
36
- const value = input3[key];
37
- if (void 0 === value)
38
- return true;
39
- if (RegExp(/(.*)/).test(key))
40
- return "string" === typeof value;
41
- return true;
42
- });
43
35
  return "object" === typeof input2 && null !== input2 && $io0(input2);
44
36
  };
45
37
  if (false === __is(input)) {
@@ -78,23 +70,19 @@ var validTermdbSingleCellDataRequest = (input) => {
78
70
  path: _path2 + ".gene",
79
71
  expected: "(string | undefined)",
80
72
  value: input3.gene
81
- }), void 0 === input3.colorBy || ("object" === typeof input3.colorBy && null !== input3.colorBy && false === Array.isArray(input3.colorBy) || $report(_exceptionable2, {
73
+ }), void 0 === input3.colorBy || "string" === typeof input3.colorBy || $report(_exceptionable2, {
82
74
  path: _path2 + ".colorBy",
83
- expected: "(__type.o1 | undefined)",
84
- value: input3.colorBy
85
- })) && $vo2(input3.colorBy, _path2 + ".colorBy", _exceptionable2) || $report(_exceptionable2, {
86
- path: _path2 + ".colorBy",
87
- expected: "(__type.o1 | undefined)",
75
+ expected: "(string | undefined)",
88
76
  value: input3.colorBy
89
77
  }), void 0 === input3.colorMap || ("object" === typeof input3.colorMap && null !== input3.colorMap && false === Array.isArray(input3.colorMap) || $report(_exceptionable2, {
90
78
  path: _path2 + ".colorMap",
91
- expected: "(__type.o2 | undefined)",
79
+ expected: "(__type.o1 | undefined)",
92
80
  value: input3.colorMap
93
- })) && $vo3(input3.colorMap, _path2 + ".colorMap", _exceptionable2) || $report(_exceptionable2, {
81
+ })) && $vo2(input3.colorMap, _path2 + ".colorMap", _exceptionable2) || $report(_exceptionable2, {
94
82
  path: _path2 + ".colorMap",
95
- expected: "(__type.o2 | undefined)",
83
+ expected: "(__type.o1 | undefined)",
96
84
  value: input3.colorMap
97
- })].every((flag) => flag);
85
+ }), true].every((flag) => flag);
98
86
  const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.eID || "string" === typeof input3.eID || $report(_exceptionable2, {
99
87
  path: _path2 + ".eID",
100
88
  expected: "(string | undefined)",
@@ -116,18 +104,6 @@ var validTermdbSingleCellDataRequest = (input) => {
116
104
  });
117
105
  return true;
118
106
  }).every((flag) => flag)].every((flag) => flag);
119
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
120
- const value = input3[key];
121
- if (void 0 === value)
122
- return true;
123
- if (RegExp(/(.*)/).test(key))
124
- return "string" === typeof value || $report(_exceptionable2, {
125
- path: _path2 + $join(key),
126
- expected: "string",
127
- value
128
- });
129
- return true;
130
- }).every((flag) => flag)].every((flag) => flag);
131
107
  return ("object" === typeof input2 && null !== input2 || $report(true, {
132
108
  path: _path + "",
133
109
  expected: "TermdbSingleCellDataRequest",