@sjcrh/proteinpaint-types 2.185.0 → 2.186.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/brainImaging.js +1 -1
- package/dist/{chunk-NO3ZZD3L.js → chunk-46DTJOK5.js} +6 -2
- package/dist/{chunk-2NINVZOB.js → chunk-AYTV7V46.js} +13 -5
- package/dist/{chunk-QMEKJW2A.js → chunk-DPJUULKQ.js} +6 -2
- package/dist/{chunk-TUM3OZ7K.js → chunk-DVMD6CBJ.js} +6 -2
- package/dist/{chunk-UGGNWTJZ.js → chunk-EBSBUEOG.js} +21 -1
- package/dist/{chunk-UWK6LBTQ.js → chunk-F2QRI6B2.js} +6 -2
- package/dist/{chunk-CWJZUUEF.js → chunk-FEMYT7FL.js} +21 -1
- package/dist/{chunk-TI565XIR.js → chunk-HG2TK6UO.js} +6 -2
- package/dist/{chunk-ONNT3XV7.js → chunk-I3QGRA7O.js} +7 -3
- package/dist/{chunk-WNUWRPXG.js → chunk-IIWTMQJZ.js} +6 -2
- package/dist/{chunk-Y6FNAG22.js → chunk-MMNSJ72P.js} +6 -2
- package/dist/{chunk-LOFBLGRE.js → chunk-NKV3NWPF.js} +6 -2
- package/dist/{chunk-NLANDPY7.js → chunk-OCH5BJCV.js} +21 -1
- package/dist/{chunk-INIT6CVR.js → chunk-RY4Y5ESC.js} +6 -2
- package/dist/{chunk-JMVDRHBL.js → chunk-SGMHY5K7.js} +15 -7
- package/dist/{chunk-LDLZU2QY.js → chunk-VWLYQ33F.js} +6 -2
- package/dist/{chunk-734AZGID.js → chunk-W2Z4RFLX.js} +6 -2
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +17 -17
- package/dist/termdb.DE.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +6 -2
- package/dist/termdb.chat2.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.diffMeth.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.singlecellDEgenes.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violinBox.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +15 -3
- package/src/routes/termdb.DE.ts +13 -3
- package/src/routes/termdb.cluster.ts +1 -1
- package/src/terms/proteomeAbundance.ts +2 -1
|
@@ -65,7 +65,7 @@ var validGRIN2Request = (input) => {
|
|
|
65
65
|
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "string" === typeof input3.gene) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
66
66
|
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
67
67
|
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === 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.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
68
|
-
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
68
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.organism && "string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
69
69
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === 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) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
70
70
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === 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) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
71
71
|
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
@@ -1756,7 +1756,11 @@ var validGRIN2Request = (input) => {
|
|
|
1756
1756
|
expected: "ProteomeDetails",
|
|
1757
1757
|
value: input3.proteomeDetails
|
|
1758
1758
|
})].every((flag) => flag);
|
|
1759
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
1759
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
|
|
1760
|
+
path: _path2 + ".organism",
|
|
1761
|
+
expected: "string",
|
|
1762
|
+
value: input3.organism
|
|
1763
|
+
}), "string" === typeof input3.assay || $report(_exceptionable2, {
|
|
1760
1764
|
path: _path2 + ".assay",
|
|
1761
1765
|
expected: "string",
|
|
1762
1766
|
value: input3.assay
|
package/dist/grin2.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
validViolinBoxRequest,
|
|
3
3
|
validViolinBoxResponse,
|
|
4
4
|
violinBoxPayload
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IIWTMQJZ.js";
|
|
6
6
|
import {
|
|
7
7
|
tilePayload,
|
|
8
8
|
validTileRequest,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
termdbSingleCellDEgenesPayload,
|
|
23
23
|
validTermdbSingleCellDEgenesRequest,
|
|
24
24
|
validTermdbSingleCellDEgenesResponse
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OCH5BJCV.js";
|
|
26
26
|
import {
|
|
27
27
|
termdbSingleCellDataPayload,
|
|
28
28
|
validTermdbSingleCellDataRequest,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
termsByIdsPayload,
|
|
43
43
|
validTermsByIdsRequest,
|
|
44
44
|
validTermsByIdsResponse
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-F2QRI6B2.js";
|
|
46
46
|
import {
|
|
47
47
|
topMutatedGenePayload,
|
|
48
48
|
validtopMutatedGeneRequest,
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
termdbTopTermsByTypePayload,
|
|
53
53
|
validTermdbTopTermsByTypeRequest,
|
|
54
54
|
validTermdbTopTermsByTypeResponse
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-AYTV7V46.js";
|
|
56
56
|
import {
|
|
57
57
|
termdbTopVariablyExpressedGenesPayload,
|
|
58
58
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
59
59
|
validTermdbTopVariablyExpressedGenesResponse
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-DPJUULKQ.js";
|
|
61
61
|
import {
|
|
62
62
|
ProfileFormScoresPayload,
|
|
63
63
|
validProfileFormScoresRequest,
|
|
@@ -107,17 +107,17 @@ import {
|
|
|
107
107
|
descrStatsPayload,
|
|
108
108
|
validDescrStatsRequest,
|
|
109
109
|
validDescrStatsResponse
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-MMNSJ72P.js";
|
|
111
111
|
import {
|
|
112
112
|
diffMethPayload,
|
|
113
113
|
validDiffMethRequest,
|
|
114
114
|
validDiffMethResponse
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-FEMYT7FL.js";
|
|
116
116
|
import {
|
|
117
117
|
TermdbDmrPayload,
|
|
118
118
|
validTermdbDmrRequest,
|
|
119
119
|
validTermdbDmrResponse
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-46DTJOK5.js";
|
|
121
121
|
import {
|
|
122
122
|
FilterTermValuesPayload,
|
|
123
123
|
validFilterTermValuesRequest,
|
|
@@ -132,12 +132,12 @@ import {
|
|
|
132
132
|
numericCategoriesPayload,
|
|
133
133
|
validNumericCategoriesRequest,
|
|
134
134
|
validNumericCategoriesResponse
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-VWLYQ33F.js";
|
|
136
136
|
import {
|
|
137
137
|
percentilePayload,
|
|
138
138
|
validPercentileRequest,
|
|
139
139
|
validPercentileResponse
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-I3QGRA7O.js";
|
|
141
141
|
import {
|
|
142
142
|
saveWSIAnnotationPayload,
|
|
143
143
|
validSaveWSIAnnotationRequest,
|
|
@@ -152,16 +152,16 @@ import {
|
|
|
152
152
|
diffExpPayload,
|
|
153
153
|
validDERequest,
|
|
154
154
|
validDEResponse
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-EBSBUEOG.js";
|
|
156
156
|
import {
|
|
157
157
|
termdbCategoriesPayload,
|
|
158
158
|
validCategoriesRequest,
|
|
159
159
|
validCategoriesResponse
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-RY4Y5ESC.js";
|
|
161
161
|
import {
|
|
162
162
|
validChatRequest,
|
|
163
163
|
validChatResponse
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-DVMD6CBJ.js";
|
|
165
165
|
import {
|
|
166
166
|
ChatPayload
|
|
167
167
|
} from "./chunk-FRXRNCDV.js";
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
termdbClusterPayload,
|
|
170
170
|
validTermdbClusterRequest,
|
|
171
171
|
validTermdbClusterResponse
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-SGMHY5K7.js";
|
|
173
173
|
import {
|
|
174
174
|
termdbCohortSummaryPayload,
|
|
175
175
|
validTermdbCohortSummaryRequest,
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
GRIN2Payload,
|
|
240
240
|
validGRIN2Request,
|
|
241
241
|
validGRIN2Response
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-W2Z4RFLX.js";
|
|
243
243
|
import {
|
|
244
244
|
healthcheckPayload,
|
|
245
245
|
validHealthCheckRequest,
|
|
@@ -261,7 +261,7 @@ import {
|
|
|
261
261
|
CorrelationVolcanoPayload,
|
|
262
262
|
validCorrelationVolcanoRequest,
|
|
263
263
|
validCorrelationVolcanoResponse
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-NKV3NWPF.js";
|
|
265
265
|
import {
|
|
266
266
|
datasetPayload,
|
|
267
267
|
validDatasetRequest,
|
|
@@ -319,7 +319,7 @@ import {
|
|
|
319
319
|
brainImagingPayload,
|
|
320
320
|
validBrainImagingRequest,
|
|
321
321
|
validBrainImagingResponse
|
|
322
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-HG2TK6UO.js";
|
|
323
323
|
import {
|
|
324
324
|
brainImagingSamplesPayload,
|
|
325
325
|
validBrainImagingSamplesRequest,
|
package/dist/termdb.DE.js
CHANGED
package/dist/termdb.chat.js
CHANGED
|
@@ -56,7 +56,7 @@ var validChatRequest = (input) => {
|
|
|
56
56
|
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "string" === typeof input3.gene) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
57
57
|
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
58
58
|
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === 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.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
59
|
-
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
59
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.organism && "string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
60
60
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === 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) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
61
61
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === 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) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
62
62
|
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
@@ -1675,7 +1675,11 @@ var validChatRequest = (input) => {
|
|
|
1675
1675
|
expected: "ProteomeDetails",
|
|
1676
1676
|
value: input3.proteomeDetails
|
|
1677
1677
|
})].every((flag) => flag);
|
|
1678
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
1678
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
|
|
1679
|
+
path: _path2 + ".organism",
|
|
1680
|
+
expected: "string",
|
|
1681
|
+
value: input3.organism
|
|
1682
|
+
}), "string" === typeof input3.assay || $report(_exceptionable2, {
|
|
1679
1683
|
path: _path2 + ".assay",
|
|
1680
1684
|
expected: "string",
|
|
1681
1685
|
value: input3.assay
|
package/dist/termdb.chat2.js
CHANGED
package/dist/termdb.cluster.js
CHANGED
package/dist/termdb.diffMeth.js
CHANGED
package/dist/termdb.dmr.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termdbTopVariablyExpressedGenesPayload,
|
|
3
3
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
4
4
|
validTermdbTopVariablyExpressedGenesResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DPJUULKQ.js";
|
|
6
6
|
import "./chunk-YNHC5SXO.js";
|
|
7
7
|
export {
|
|
8
8
|
termdbTopVariablyExpressedGenesPayload,
|
package/dist/termdb.violinBox.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -734,9 +734,19 @@ type ProteomeAssayConfig = {
|
|
|
734
734
|
export type ProteomeAbundanceQuery = {
|
|
735
735
|
/** database file path */
|
|
736
736
|
dbfile?: string
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
737
|
+
/** organism-keyed structure (new format) */
|
|
738
|
+
organisms?: {
|
|
739
|
+
[organism: string]: {
|
|
740
|
+
overlayTerm: BaseTerm
|
|
741
|
+
columnIdx: number
|
|
742
|
+
columnValue?: string
|
|
743
|
+
assays: {
|
|
744
|
+
[assayName: string]: ProteomeAssayConfig
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
/** flat assays structure (legacy format) */
|
|
749
|
+
assays?: {
|
|
740
750
|
[assayName: string]: ProteomeAssayConfig
|
|
741
751
|
}
|
|
742
752
|
samples?: number[]
|
|
@@ -1377,6 +1387,8 @@ type MatrixSettings = {
|
|
|
1377
1387
|
cnvUnit?: 'log2ratio' | 'segmedian'
|
|
1378
1388
|
/** whether to show white cell border for SNVindel in oncoPrint mode */
|
|
1379
1389
|
oncoPrintSNVindelCellBorder?: boolean
|
|
1390
|
+
/** use a geneset edit UI without or with initial radio inputs */
|
|
1391
|
+
genesetEditUiVersion?: '' | 'withTabs'
|
|
1380
1392
|
}
|
|
1381
1393
|
|
|
1382
1394
|
type NumericDictTermClusterSettings = {
|
package/src/routes/termdb.DE.ts
CHANGED
|
@@ -94,13 +94,23 @@ export type VolcanoData<T extends DataEntry> = {
|
|
|
94
94
|
/** Coordinate metadata returned by the `volcano` renderer, used by the client to overlay
|
|
95
95
|
* interactive top-significant circles on top of the server-drawn PNG. */
|
|
96
96
|
export type PlotExtent = {
|
|
97
|
-
/**
|
|
97
|
+
/** Padded data-space x domain — used to position overlay dots so points near
|
|
98
|
+
* the real-data edges stay fully visible (mirror of manhattan's yPlot domain). */
|
|
98
99
|
xMin: number
|
|
99
100
|
xMax: number
|
|
100
|
-
/**
|
|
101
|
+
/** Padded data-space y domain (on -log10 p-value scale). */
|
|
101
102
|
yMin: number
|
|
102
103
|
yMax: number
|
|
103
|
-
/**
|
|
104
|
+
/** Unpadded data-space x domain — used for the visible axis labels/ticks
|
|
105
|
+
* so the axis only spans the real data region. */
|
|
106
|
+
xMinUnpadded: number
|
|
107
|
+
xMaxUnpadded: number
|
|
108
|
+
/** Unpadded data-space y domain. */
|
|
109
|
+
yMinUnpadded: number
|
|
110
|
+
yMaxUnpadded: number
|
|
111
|
+
/** Dot radius in pixels (echoed back so overlay rings match the PNG). */
|
|
112
|
+
dotRadiusPx: number
|
|
113
|
+
/** PNG canvas dimensions (already include 2*dotRadiusPx of padding). */
|
|
104
114
|
pixelWidth: number
|
|
105
115
|
pixelHeight: number
|
|
106
116
|
/** Inner drawing rect inside the PNG (after axis margins). Client overlay circles
|
|
@@ -66,7 +66,7 @@ export type TermdbClusterRequestProteomeAbundance = TermdbClusterRequestBase & {
|
|
|
66
66
|
terms: ProteomeAbundanceTW[]
|
|
67
67
|
/** perform z-score transformation on values */
|
|
68
68
|
zScoreTransformation?: string
|
|
69
|
-
/** assay type and cohort for the selected proteome data */
|
|
69
|
+
/** organism, assay type and cohort for the selected proteome data */
|
|
70
70
|
proteomeDetails: ProteomeDetails
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -8,6 +8,7 @@ ProteomeTermSettingInstance
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
export type ProteomeDetails = {
|
|
11
|
+
organism: string
|
|
11
12
|
assay: string
|
|
12
13
|
cohort: string
|
|
13
14
|
}
|
|
@@ -19,7 +20,7 @@ export type ProteomeAbundanceTerm = NumericBaseTerm & {
|
|
|
19
20
|
protein: string
|
|
20
21
|
bins?: PresetNumericBins
|
|
21
22
|
unit?: string
|
|
22
|
-
/** assay and cohort this term belongs to */
|
|
23
|
+
/** organism, assay and cohort this term belongs to */
|
|
23
24
|
proteomeDetails: ProteomeDetails
|
|
24
25
|
}
|
|
25
26
|
|