@sjcrh/proteinpaint-types 2.126.1 → 2.128.1

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 (35) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-YOS2YTCE.js → chunk-24RS7HFO.js} +652 -770
  3. package/dist/{chunk-VSNV3MLV.js → chunk-6C4DMGK3.js} +408 -494
  4. package/dist/{chunk-DJCPG2RT.js → chunk-BMHL5ZZJ.js} +1216 -1436
  5. package/dist/{chunk-LVXO4MLR.js → chunk-CI6OEJNH.js} +744 -862
  6. package/dist/{chunk-NWEXA2YB.js → chunk-DJ5QE625.js} +22 -36
  7. package/dist/chunk-HUMZDPUU.js +322 -0
  8. package/dist/{chunk-5O422YU6.js → chunk-KHM52S5N.js} +408 -494
  9. package/dist/{chunk-GZCIY2WK.js → chunk-PX7P2A6A.js} +652 -770
  10. package/dist/{chunk-537XOM43.js → chunk-RP6RBKKL.js} +652 -770
  11. package/dist/{chunk-O4RAE6UJ.js → chunk-UXXLPWL2.js} +650 -768
  12. package/dist/{chunk-7IRM7OKB.js → chunk-WHO7HCNU.js} +408 -494
  13. package/dist/{chunk-BXPSDGWG.js → chunk-WK4CKVHY.js} +408 -494
  14. package/dist/{chunk-CJC7ZHSZ.js → chunk-WSL4JPUP.js} +417 -503
  15. package/dist/{chunk-2S4T3WUF.js → chunk-Y5BVEGR2.js} +1234 -1430
  16. package/dist/correlationVolcano.js +1 -1
  17. package/dist/gdc.grin2.js +3 -3
  18. package/dist/genesetEnrichment.js +1 -1
  19. package/dist/index.js +16 -16
  20. package/dist/termdb.boxplot.js +1 -1
  21. package/dist/termdb.categories.js +1 -1
  22. package/dist/termdb.cluster.js +1 -1
  23. package/dist/termdb.descrstats.js +1 -1
  24. package/dist/termdb.numericcategories.js +1 -1
  25. package/dist/termdb.percentile.js +1 -1
  26. package/dist/termdb.termsbyids.js +1 -1
  27. package/dist/termdb.topTermsByType.js +1 -1
  28. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  29. package/dist/termdb.violin.js +1 -1
  30. package/package.json +1 -1
  31. package/src/routes/gdc.grin2.ts +14 -7
  32. package/src/routes/genesetEnrichment.ts +40 -5
  33. package/src/terms/geneVariant.ts +4 -4
  34. package/src/terms/term.ts +2 -11
  35. package/dist/chunk-XZAH6P4D.js +0 -130
@@ -2,7 +2,7 @@ import {
2
2
  CorrelationVolcanoPayload,
3
3
  validCorrelationVolcanoRequest,
4
4
  validCorrelationVolcanoResponse
5
- } from "./chunk-LVXO4MLR.js";
5
+ } from "./chunk-CI6OEJNH.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  CorrelationVolcanoPayload,
package/dist/gdc.grin2.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
- gdcGRIN2Payload,
2
+ gdcGRIN2listPayload,
3
3
  runGRIN2Payload,
4
4
  validGdcGRIN2listRequest,
5
5
  validGdcGRIN2listResponse,
6
6
  validRunGRIN2Request,
7
7
  validRunGRIN2Response
8
- } from "./chunk-NWEXA2YB.js";
8
+ } from "./chunk-DJ5QE625.js";
9
9
  import "./chunk-CNSSF43V.js";
10
10
  export {
11
- gdcGRIN2Payload,
11
+ gdcGRIN2listPayload,
12
12
  runGRIN2Payload,
13
13
  validGdcGRIN2listRequest,
14
14
  validGdcGRIN2listResponse,
@@ -2,7 +2,7 @@ import {
2
2
  genesetEnrichmentPayload,
3
3
  validGenesetEnrichmentRequest,
4
4
  validGenesetEnrichmentResponse
5
- } from "./chunk-XZAH6P4D.js";
5
+ } from "./chunk-HUMZDPUU.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  genesetEnrichmentPayload,
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  termsByIdsPayload,
23
23
  validTermsByIdsRequest,
24
24
  validTermsByIdsResponse
25
- } from "./chunk-O4RAE6UJ.js";
25
+ } from "./chunk-UXXLPWL2.js";
26
26
  import {
27
27
  topMutatedGenePayload,
28
28
  validtopMutatedGeneRequest,
@@ -32,17 +32,17 @@ import {
32
32
  termdbTopTermsByTypePayload,
33
33
  validTermdbTopTermsByTypeRequest,
34
34
  validTermdbTopTermsByTypeResponse
35
- } from "./chunk-2S4T3WUF.js";
35
+ } from "./chunk-Y5BVEGR2.js";
36
36
  import {
37
37
  termdbTopVariablyExpressedGenesPayload,
38
38
  validTermdbTopVariablyExpressedGenesRequest,
39
39
  validTermdbTopVariablyExpressedGenesResponse
40
- } from "./chunk-7IRM7OKB.js";
40
+ } from "./chunk-WHO7HCNU.js";
41
41
  import {
42
42
  validViolinRequest,
43
43
  validViolinResponse,
44
44
  violinPayload
45
- } from "./chunk-VSNV3MLV.js";
45
+ } from "./chunk-6C4DMGK3.js";
46
46
  import {
47
47
  tilePayload,
48
48
  validTileRequest,
@@ -52,17 +52,17 @@ import {
52
52
  descrStatsPayload,
53
53
  validDescrStatsRequest,
54
54
  validDescrStatsResponse
55
- } from "./chunk-YOS2YTCE.js";
55
+ } from "./chunk-24RS7HFO.js";
56
56
  import {
57
57
  numericCategoriesPayload,
58
58
  validNumericCategoriesRequest,
59
59
  validNumericCategoriesResponse
60
- } from "./chunk-5O422YU6.js";
60
+ } from "./chunk-KHM52S5N.js";
61
61
  import {
62
62
  percentilePayload,
63
63
  validPercentileRequest,
64
64
  validPercentileResponse
65
- } from "./chunk-BXPSDGWG.js";
65
+ } from "./chunk-WK4CKVHY.js";
66
66
  import {
67
67
  rootTermPayload,
68
68
  validRootTermRequest,
@@ -107,17 +107,17 @@ import {
107
107
  boxplotPayload,
108
108
  validBoxPlotRequest,
109
109
  validBoxPlotResponse
110
- } from "./chunk-537XOM43.js";
110
+ } from "./chunk-RP6RBKKL.js";
111
111
  import {
112
112
  termdbCategoriesPayload,
113
113
  validCategoriesRequest,
114
114
  validCategoriesResponse
115
- } from "./chunk-GZCIY2WK.js";
115
+ } from "./chunk-PX7P2A6A.js";
116
116
  import {
117
117
  termdbClusterPayload,
118
118
  validTermdbClusterRequest,
119
119
  validTermdbClusterResponse
120
- } from "./chunk-DJCPG2RT.js";
120
+ } from "./chunk-BMHL5ZZJ.js";
121
121
  import {
122
122
  termdbCohortSummaryPayload,
123
123
  validTermdbCohortSummaryRequest,
@@ -169,13 +169,13 @@ import {
169
169
  validDZImagesResponse
170
170
  } from "./chunk-XT2IWGYK.js";
171
171
  import {
172
- gdcGRIN2Payload,
172
+ gdcGRIN2listPayload,
173
173
  runGRIN2Payload,
174
174
  validGdcGRIN2listRequest,
175
175
  validGdcGRIN2listResponse,
176
176
  validRunGRIN2Request,
177
177
  validRunGRIN2Response
178
- } from "./chunk-NWEXA2YB.js";
178
+ } from "./chunk-DJ5QE625.js";
179
179
  import {
180
180
  gdcMafPayload,
181
181
  validGdcMafRequest,
@@ -195,7 +195,7 @@ import {
195
195
  genesetEnrichmentPayload,
196
196
  validGenesetEnrichmentRequest,
197
197
  validGenesetEnrichmentResponse
198
- } from "./chunk-XZAH6P4D.js";
198
+ } from "./chunk-HUMZDPUU.js";
199
199
  import {
200
200
  genesetOverrepresentationPayload,
201
201
  validGenesetOverrepresentationRequest,
@@ -210,7 +210,7 @@ import {
210
210
  brainImagingPayload,
211
211
  validBrainImagingRequest,
212
212
  validBrainImagingResponse
213
- } from "./chunk-CJC7ZHSZ.js";
213
+ } from "./chunk-WSL4JPUP.js";
214
214
  import {
215
215
  brainImagingSamplesPayload,
216
216
  validBrainImagingSamplesRequest,
@@ -232,7 +232,7 @@ import {
232
232
  CorrelationVolcanoPayload,
233
233
  validCorrelationVolcanoRequest,
234
234
  validCorrelationVolcanoResponse
235
- } from "./chunk-LVXO4MLR.js";
235
+ } from "./chunk-CI6OEJNH.js";
236
236
  import {
237
237
  datasetPayload,
238
238
  validDatasetRequest,
@@ -257,7 +257,7 @@ export {
257
257
  diffExpPayload,
258
258
  dsDataPayload,
259
259
  dzImagesPayload,
260
- gdcGRIN2Payload,
260
+ gdcGRIN2listPayload,
261
261
  gdcMafPayload,
262
262
  geneLookupPayload,
263
263
  genesetEnrichmentPayload,
@@ -2,7 +2,7 @@ import {
2
2
  boxplotPayload,
3
3
  validBoxPlotRequest,
4
4
  validBoxPlotResponse
5
- } from "./chunk-537XOM43.js";
5
+ } from "./chunk-RP6RBKKL.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  boxplotPayload,
@@ -2,7 +2,7 @@ import {
2
2
  termdbCategoriesPayload,
3
3
  validCategoriesRequest,
4
4
  validCategoriesResponse
5
- } from "./chunk-GZCIY2WK.js";
5
+ } from "./chunk-PX7P2A6A.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  termdbCategoriesPayload,
@@ -2,7 +2,7 @@ import {
2
2
  termdbClusterPayload,
3
3
  validTermdbClusterRequest,
4
4
  validTermdbClusterResponse
5
- } from "./chunk-DJCPG2RT.js";
5
+ } from "./chunk-BMHL5ZZJ.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  termdbClusterPayload,
@@ -2,7 +2,7 @@ import {
2
2
  descrStatsPayload,
3
3
  validDescrStatsRequest,
4
4
  validDescrStatsResponse
5
- } from "./chunk-YOS2YTCE.js";
5
+ } from "./chunk-24RS7HFO.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  descrStatsPayload,
@@ -2,7 +2,7 @@ import {
2
2
  numericCategoriesPayload,
3
3
  validNumericCategoriesRequest,
4
4
  validNumericCategoriesResponse
5
- } from "./chunk-5O422YU6.js";
5
+ } from "./chunk-KHM52S5N.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  numericCategoriesPayload,
@@ -2,7 +2,7 @@ import {
2
2
  percentilePayload,
3
3
  validPercentileRequest,
4
4
  validPercentileResponse
5
- } from "./chunk-BXPSDGWG.js";
5
+ } from "./chunk-WK4CKVHY.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  percentilePayload,
@@ -2,7 +2,7 @@ import {
2
2
  termsByIdsPayload,
3
3
  validTermsByIdsRequest,
4
4
  validTermsByIdsResponse
5
- } from "./chunk-O4RAE6UJ.js";
5
+ } from "./chunk-UXXLPWL2.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  termsByIdsPayload,
@@ -2,7 +2,7 @@ import {
2
2
  termdbTopTermsByTypePayload,
3
3
  validTermdbTopTermsByTypeRequest,
4
4
  validTermdbTopTermsByTypeResponse
5
- } from "./chunk-2S4T3WUF.js";
5
+ } from "./chunk-Y5BVEGR2.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  termdbTopTermsByTypePayload,
@@ -2,7 +2,7 @@ import {
2
2
  termdbTopVariablyExpressedGenesPayload,
3
3
  validTermdbTopVariablyExpressedGenesRequest,
4
4
  validTermdbTopVariablyExpressedGenesResponse
5
- } from "./chunk-7IRM7OKB.js";
5
+ } from "./chunk-WHO7HCNU.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  termdbTopVariablyExpressedGenesPayload,
@@ -2,7 +2,7 @@ import {
2
2
  validViolinRequest,
3
3
  validViolinResponse,
4
4
  violinPayload
5
- } from "./chunk-VSNV3MLV.js";
5
+ } from "./chunk-6C4DMGK3.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  validViolinRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.126.1",
3
+ "version": "2.128.1",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
@@ -28,12 +28,20 @@ enum ExperimentalStrategy {
28
28
  * Request parameters for GRIN2 file listing
29
29
  */
30
30
  export type GdcGRIN2listRequest = {
31
- /** Name of experimental strategy to get files for */
32
- experimentalStrategy: ExperimentalStrategy
33
31
  /** JSON, optional GDC cohort filter to restrict cases */
34
32
  filter0?: any
35
- /** Optional array of file types to include ('MAF') */
36
- fileTypes?: Array<'MAF'>
33
+
34
+ /** Options for MAF file retrieval. Presence indicates MAF files should be returned */
35
+ mafOptions?: {
36
+ /** Name of experimental strategy to get files for */
37
+ experimentalStrategy: ExperimentalStrategy
38
+ }
39
+
40
+ /** Options for CNV file retrieval. Presence indicates CNV files should be returned (for future use) */
41
+ cnvOptions?: any
42
+
43
+ /** Options for fusion file retrieval. Presence indicates fusion files should be returned (for future use) */
44
+ fusionOptions?: any
37
45
  }
38
46
 
39
47
  /**
@@ -52,7 +60,6 @@ export type GdcGRIN2listResponse = {
52
60
  }
53
61
  /** Applied filters (for UI reference) */
54
62
  appliedFilters?: {
55
- fileTypes?: Array<'MAF'>
56
63
  experimentalStrategy?: ExperimentalStrategy
57
64
  }
58
65
  }
@@ -73,7 +80,7 @@ export type RunGRIN2Response = {
73
80
  /** Error message if status is 'error' */
74
81
  error?: string
75
82
  /** Path to the generated image if status is 'success' */
76
- imagestring?: string
83
+ pngImg?: string
77
84
  /** Download status */
78
85
  download?: any
79
86
  /** Table of top genes indentified by analysis */
@@ -82,7 +89,7 @@ export type RunGRIN2Response = {
82
89
  /**
83
90
  * Route payload definitions for type checking
84
91
  */
85
- export const gdcGRIN2Payload: RoutePayload = {
92
+ export const gdcGRIN2listPayload: RoutePayload = {
86
93
  request: {
87
94
  typeId: 'GdcGRIN2listRequest'
88
95
  },
@@ -17,9 +17,11 @@ export type GenesetEnrichmentRequest = {
17
17
  pickle_file?: string
18
18
  /** Number of permutations to be carried out for GSEA analysis */
19
19
  num_permutations: number
20
+ /** Method used for GSEA blitzgsea/cerno */
21
+ method: 'blitzgsea' | 'cerno'
20
22
  }
21
23
 
22
- type pathway_attributes = {
24
+ type blitzgsea_geneset_attributes = {
23
25
  /** Absolute enrichment score */
24
26
  es: number
25
27
  /** Normalized enrichment score */
@@ -36,19 +38,52 @@ type pathway_attributes = {
36
38
  fdr: number
37
39
  }
38
40
 
39
- type gsea_result = {
41
+ // Key value pair of geneset name and blitzgsea geneset attributes
42
+ type blitzgsea_map = {
43
+ [geneset_name: string]: blitzgsea_geneset_attributes
44
+ }
45
+
46
+ type cerno_geneset_attributes = {
47
+ /** Absolute enrichment score */
48
+ es: number
49
+ /** Area under curve score */
50
+ auc: number
51
+ /** Size of gene set */
52
+ geneset_size: number
53
+ /** Leading edge genes */
54
+ leading_edge: string
55
+ /** pvalue */
56
+ pvalue: number
57
+ /** false discovery rate */
58
+ fdr: number
59
+ }
60
+
61
+ type blitzgsea_json = {
40
62
  /** array of pathway_attributes */
41
- data: pathway_attributes[]
63
+ data: blitzgsea_map[]
42
64
  /** file name of pickle file containing the stored gsea result in cache directory */
43
65
  pickle_file: string
44
66
  }
45
67
 
68
+ // Key value pair of geneset name and cerno geneset attributes
69
+ type cerno_map = {
70
+ [geneset_name: string]: cerno_geneset_attributes
71
+ }
72
+
46
73
  /** Pass gsea image to client side */
47
- type gsea_image = any
74
+ type blitzgsea_image_name = string
75
+
76
+ type blitzgseaResult = {
77
+ pathway: blitzgsea_json | blitzgsea_image_name
78
+ }
79
+
80
+ type cernoResult = {
81
+ data: cerno_map[]
82
+ }
48
83
 
49
84
  export type GenesetEnrichmentResponse = {
50
85
  /** gsea result or an image (for plotting) is sent to client side */
51
- pathway: gsea_result | gsea_image
86
+ data: blitzgseaResult | cernoResult
52
87
  }
53
88
 
54
89
  export const genesetEnrichmentPayload: RoutePayload = {
@@ -1,4 +1,4 @@
1
- import type { MinBaseQ, BaseTerm, TermGroupSetting, BaseTW, TermValues, BaseGroupSet, TermFilter } from '../index.ts'
1
+ import type { MinBaseQ, BaseTerm, TermGroupSetting, BaseTW, TermValues, BaseGroupSet } from '../index.ts'
2
2
  import type { TermSettingInstance } from '../termsetting.ts'
3
3
 
4
4
  // q types
@@ -43,13 +43,13 @@ export type GvCoord = {
43
43
  export type RawGvTerm = GvBaseTerm &
44
44
  (GvGene | GvCoord) & {
45
45
  groupsetting?: TermGroupSetting
46
- filter?: TermFilter
46
+ childTerms?: DtTerm[]
47
47
  }
48
48
 
49
49
  export type GvTerm = GvBaseTerm &
50
50
  (GvGene | GvCoord) & {
51
51
  groupsetting: TermGroupSetting
52
- filter: TermFilter
52
+ childTerms: DtTerm[]
53
53
  }
54
54
 
55
55
  // tw types
@@ -94,7 +94,7 @@ export type DtTerm = {
94
94
  query: string
95
95
  name: string
96
96
  name_noOrigin: string
97
- geneVariantTerm?: RawGvTerm
97
+ parentTerm?: RawGvTerm
98
98
  parent_id: any
99
99
  isleaf: boolean
100
100
  type: string
package/src/terms/term.ts CHANGED
@@ -2,7 +2,7 @@ import type { Filter } from '../filter.js'
2
2
  import type { CategoricalTerm, CategoricalBaseQ } from './categorical.js'
3
3
  import type { ConditionTerm } from './condition.js'
4
4
  import type { NumericTerm } from './numeric.js'
5
- import type { GvTerm, DtTerm } from './geneVariant.js'
5
+ import type { GvTerm } from './geneVariant.js'
6
6
  import type { SampleLstTerm } from './samplelst.js'
7
7
  import type { SnpsTerm } from './snps.js'
8
8
 
@@ -105,7 +105,6 @@ export type BaseTerm = {
105
105
  included_types?: string[]
106
106
  isleaf?: boolean
107
107
  values?: TermValues
108
- filter?: TermFilter
109
108
  }
110
109
 
111
110
  export type Term = BaseTerm & (NumericTerm | CategoricalTerm | ConditionTerm | SampleLstTerm | SnpsTerm | GvTerm)
@@ -120,18 +119,10 @@ export type ValuesGroup = {
120
119
  export type FilterGroup = {
121
120
  name: string
122
121
  type: 'filter'
123
- filter: TermFilter & {
124
- active: Filter // active filter
125
- group: number // group index
126
- }
122
+ filter: Filter
127
123
  uncomputable: boolean
128
124
  }
129
125
 
130
- export type TermFilter = {
131
- opts: { joinWith: string[] } // options for joining filters
132
- terms: DtTerm[] // terms used to build a frontend vocab that will be used for filtering // TODO: generalize the term structure used here
133
- }
134
-
135
126
  export type GroupEntry = ValuesGroup | FilterGroup
136
127
 
137
128
  export type BaseGroupSet = {
@@ -1,130 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-CNSSF43V.js";
5
-
6
- // dist/genesetEnrichment.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/genesetEnrichment.ts
10
- var genesetEnrichmentPayload = {
11
- request: {
12
- typeId: "GenesetEnrichmentRequest"
13
- },
14
- response: {
15
- typeId: "GenesetEnrichmentResponse"
16
- }
17
- //examples: []
18
- };
19
-
20
- // dist/genesetEnrichment.ts
21
- var validGenesetEnrichmentRequest = (input) => {
22
- const errors = [];
23
- const __is = (input2) => {
24
- const $io0 = (input3) => Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem) && (Array.isArray(input3.fold_change) && input3.fold_change.every((elem) => "number" === typeof elem)) && "boolean" === typeof input3.filter_non_coding_genes && "string" === typeof input3.genome && "string" === typeof input3.geneSetGroup && (void 0 === input3.geneset_name || "string" === typeof input3.geneset_name) && (void 0 === input3.pickle_file || "string" === typeof input3.pickle_file) && "number" === typeof input3.num_permutations;
25
- return "object" === typeof input2 && null !== input2 && $io0(input2);
26
- };
27
- if (false === __is(input)) {
28
- const $report = import_typia.createValidate.report(errors);
29
- ((input2, _path, _exceptionable = true) => {
30
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.genes) || $report(_exceptionable2, {
31
- path: _path2 + ".genes",
32
- expected: "Array<string>",
33
- value: input3.genes
34
- })) && input3.genes.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
35
- path: _path2 + ".genes[" + _index1 + "]",
36
- expected: "string",
37
- value: elem
38
- })).every((flag) => flag) || $report(_exceptionable2, {
39
- path: _path2 + ".genes",
40
- expected: "Array<string>",
41
- value: input3.genes
42
- }), (Array.isArray(input3.fold_change) || $report(_exceptionable2, {
43
- path: _path2 + ".fold_change",
44
- expected: "Array<number>",
45
- value: input3.fold_change
46
- })) && input3.fold_change.map((elem, _index2) => "number" === typeof elem || $report(_exceptionable2, {
47
- path: _path2 + ".fold_change[" + _index2 + "]",
48
- expected: "number",
49
- value: elem
50
- })).every((flag) => flag) || $report(_exceptionable2, {
51
- path: _path2 + ".fold_change",
52
- expected: "Array<number>",
53
- value: input3.fold_change
54
- }), "boolean" === typeof input3.filter_non_coding_genes || $report(_exceptionable2, {
55
- path: _path2 + ".filter_non_coding_genes",
56
- expected: "boolean",
57
- value: input3.filter_non_coding_genes
58
- }), "string" === typeof input3.genome || $report(_exceptionable2, {
59
- path: _path2 + ".genome",
60
- expected: "string",
61
- value: input3.genome
62
- }), "string" === typeof input3.geneSetGroup || $report(_exceptionable2, {
63
- path: _path2 + ".geneSetGroup",
64
- expected: "string",
65
- value: input3.geneSetGroup
66
- }), void 0 === input3.geneset_name || "string" === typeof input3.geneset_name || $report(_exceptionable2, {
67
- path: _path2 + ".geneset_name",
68
- expected: "(string | undefined)",
69
- value: input3.geneset_name
70
- }), void 0 === input3.pickle_file || "string" === typeof input3.pickle_file || $report(_exceptionable2, {
71
- path: _path2 + ".pickle_file",
72
- expected: "(string | undefined)",
73
- value: input3.pickle_file
74
- }), "number" === typeof input3.num_permutations || $report(_exceptionable2, {
75
- path: _path2 + ".num_permutations",
76
- expected: "number",
77
- value: input3.num_permutations
78
- })].every((flag) => flag);
79
- return ("object" === typeof input2 && null !== input2 || $report(true, {
80
- path: _path + "",
81
- expected: "GenesetEnrichmentRequest",
82
- value: input2
83
- })) && $vo0(input2, _path + "", true) || $report(true, {
84
- path: _path + "",
85
- expected: "GenesetEnrichmentRequest",
86
- value: input2
87
- });
88
- })(input, "$input", true);
89
- }
90
- const success = 0 === errors.length;
91
- return {
92
- success,
93
- errors,
94
- data: success ? input : void 0
95
- };
96
- };
97
- var validGenesetEnrichmentResponse = (input) => {
98
- const errors = [];
99
- const __is = (input2) => {
100
- const $io0 = (input3) => true;
101
- return "object" === typeof input2 && null !== input2 && $io0(input2);
102
- };
103
- if (false === __is(input)) {
104
- const $report = import_typia.createValidate.report(errors);
105
- ((input2, _path, _exceptionable = true) => {
106
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [true].every((flag) => flag);
107
- return ("object" === typeof input2 && null !== input2 || $report(true, {
108
- path: _path + "",
109
- expected: "GenesetEnrichmentResponse",
110
- value: input2
111
- })) && $vo0(input2, _path + "", true) || $report(true, {
112
- path: _path + "",
113
- expected: "GenesetEnrichmentResponse",
114
- value: input2
115
- });
116
- })(input, "$input", true);
117
- }
118
- const success = 0 === errors.length;
119
- return {
120
- success,
121
- errors,
122
- data: success ? input : void 0
123
- };
124
- };
125
-
126
- export {
127
- genesetEnrichmentPayload,
128
- validGenesetEnrichmentRequest,
129
- validGenesetEnrichmentResponse
130
- };