@sjcrh/proteinpaint-types 2.128.0 → 2.128.3-bd2a3a1c9.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-YOS2YTCE.js → chunk-24RS7HFO.js} +652 -770
- package/dist/{chunk-VSNV3MLV.js → chunk-6C4DMGK3.js} +408 -494
- package/dist/{chunk-DJCPG2RT.js → chunk-BMHL5ZZJ.js} +1216 -1436
- package/dist/{chunk-LVXO4MLR.js → chunk-CI6OEJNH.js} +744 -862
- package/dist/{chunk-B2DJ3H7H.js → chunk-DJ5QE625.js} +16 -30
- package/dist/chunk-HUMZDPUU.js +322 -0
- package/dist/{chunk-5O422YU6.js → chunk-KHM52S5N.js} +408 -494
- package/dist/{chunk-GZCIY2WK.js → chunk-PX7P2A6A.js} +652 -770
- package/dist/{chunk-537XOM43.js → chunk-RP6RBKKL.js} +652 -770
- package/dist/{chunk-O4RAE6UJ.js → chunk-UXXLPWL2.js} +650 -768
- package/dist/{chunk-7IRM7OKB.js → chunk-WHO7HCNU.js} +408 -494
- package/dist/{chunk-BXPSDGWG.js → chunk-WK4CKVHY.js} +408 -494
- package/dist/{chunk-CJC7ZHSZ.js → chunk-WSL4JPUP.js} +417 -503
- package/dist/{chunk-2S4T3WUF.js → chunk-Y5BVEGR2.js} +1234 -1430
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +1 -1
- package/dist/genesetEnrichment.js +1 -1
- package/dist/index.js +14 -14
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.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.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +18 -5
- package/src/routes/gdc.grin2.ts +12 -5
- package/src/routes/genesetEnrichment.ts +40 -5
- package/src/terms/geneVariant.ts +4 -4
- package/src/terms/term.ts +2 -11
- package/dist/chunk-XZAH6P4D.js +0 -130
package/dist/gdc.grin2.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
termsByIdsPayload,
|
|
23
23
|
validTermsByIdsRequest,
|
|
24
24
|
validTermsByIdsResponse
|
|
25
|
-
} from "./chunk-
|
|
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-
|
|
35
|
+
} from "./chunk-Y5BVEGR2.js";
|
|
36
36
|
import {
|
|
37
37
|
termdbTopVariablyExpressedGenesPayload,
|
|
38
38
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
39
39
|
validTermdbTopVariablyExpressedGenesResponse
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WHO7HCNU.js";
|
|
41
41
|
import {
|
|
42
42
|
validViolinRequest,
|
|
43
43
|
validViolinResponse,
|
|
44
44
|
violinPayload
|
|
45
|
-
} from "./chunk-
|
|
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-
|
|
55
|
+
} from "./chunk-24RS7HFO.js";
|
|
56
56
|
import {
|
|
57
57
|
numericCategoriesPayload,
|
|
58
58
|
validNumericCategoriesRequest,
|
|
59
59
|
validNumericCategoriesResponse
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-KHM52S5N.js";
|
|
61
61
|
import {
|
|
62
62
|
percentilePayload,
|
|
63
63
|
validPercentileRequest,
|
|
64
64
|
validPercentileResponse
|
|
65
|
-
} from "./chunk-
|
|
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-
|
|
110
|
+
} from "./chunk-RP6RBKKL.js";
|
|
111
111
|
import {
|
|
112
112
|
termdbCategoriesPayload,
|
|
113
113
|
validCategoriesRequest,
|
|
114
114
|
validCategoriesResponse
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-PX7P2A6A.js";
|
|
116
116
|
import {
|
|
117
117
|
termdbClusterPayload,
|
|
118
118
|
validTermdbClusterRequest,
|
|
119
119
|
validTermdbClusterResponse
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-BMHL5ZZJ.js";
|
|
121
121
|
import {
|
|
122
122
|
termdbCohortSummaryPayload,
|
|
123
123
|
validTermdbCohortSummaryRequest,
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
validGdcGRIN2listResponse,
|
|
176
176
|
validRunGRIN2Request,
|
|
177
177
|
validRunGRIN2Response
|
|
178
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
235
|
+
} from "./chunk-CI6OEJNH.js";
|
|
236
236
|
import {
|
|
237
237
|
datasetPayload,
|
|
238
238
|
validDatasetRequest,
|
package/dist/termdb.boxplot.js
CHANGED
package/dist/termdb.cluster.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termdbTopVariablyExpressedGenesPayload,
|
|
3
3
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
4
4
|
validTermdbTopVariablyExpressedGenesResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WHO7HCNU.js";
|
|
6
6
|
import "./chunk-CNSSF43V.js";
|
|
7
7
|
export {
|
|
8
8
|
termdbTopVariablyExpressedGenesPayload,
|
package/dist/termdb.violin.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -614,6 +614,19 @@ type CnvSegment = {
|
|
|
614
614
|
[key: string]: any
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
+
|
|
618
|
+
/** in mds3 tk view and gdc cnv tool, when number of segments from view region exceeds this cutoff, it's piled up into density view to speed up
|
|
619
|
+
overrides default 1000
|
|
620
|
+
this cutoff does not apply to other uses beyond mds3 tk, including matrix and geneVariant
|
|
621
|
+
*/
|
|
622
|
+
densityViewCutoff?: number
|
|
623
|
+
|
|
624
|
+
/** this cutoff is applied in ds.queries.cnv.get(), in that up to this number of segments will be returned
|
|
625
|
+
overrides default 10k
|
|
626
|
+
this applies to matrix, geneVariant, and mds3 tk
|
|
627
|
+
todo there lacks a way for getter to message downstream code of exceeding limit
|
|
628
|
+
*/
|
|
629
|
+
maxReturnCutoff?: number
|
|
617
630
|
}
|
|
618
631
|
|
|
619
632
|
/*
|
|
@@ -1925,10 +1938,6 @@ export type PreInit = {
|
|
|
1925
1938
|
status 4xx are not considered recoverable (client-related request errors)
|
|
1926
1939
|
*/
|
|
1927
1940
|
getStatus: () => Promise<PreInitStatus>
|
|
1928
|
-
/** number of milliseconds to wait before calling th preInit.getStatus() again */
|
|
1929
|
-
retryDelay?: number
|
|
1930
|
-
/** maximum number of times to call preInit.getStatus() before giving up */
|
|
1931
|
-
retryMax?: number
|
|
1932
1941
|
/**
|
|
1933
1942
|
* dev only, used to test preInit handling by simulating different
|
|
1934
1943
|
* responses in a known sequence of steps that may edit the preInit
|
|
@@ -1963,8 +1972,12 @@ export type Mds3 = BaseMds & {
|
|
|
1963
1972
|
init?: {
|
|
1964
1973
|
/** number of milliseconds to wait before calling th preInit.getStatus() again */
|
|
1965
1974
|
retryDelay?: number
|
|
1966
|
-
/** maximum number of
|
|
1975
|
+
/** maximum number of tries to complete initialization, including preInit.getStatus() before validation steps
|
|
1976
|
+
* and the nonblocking steps after validation. Before the retryMax is reached, errors are considered recoverable;
|
|
1977
|
+
* errors when retryMax is reached will be fatal. */
|
|
1967
1978
|
retryMax?: number
|
|
1979
|
+
/** option to trigger mds3InitNonblocking() on this dataset */
|
|
1980
|
+
hasNonblockingSteps?: boolean
|
|
1968
1981
|
/** server-computed cumulative count of the attempted init retries */
|
|
1969
1982
|
currentRetry?: number
|
|
1970
1983
|
/**
|
package/src/routes/gdc.grin2.ts
CHANGED
|
@@ -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
|
-
|
|
36
|
-
|
|
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
|
}
|
|
@@ -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
|
|
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
|
-
|
|
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:
|
|
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
|
|
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
|
-
|
|
86
|
+
data: blitzgseaResult | cernoResult
|
|
52
87
|
}
|
|
53
88
|
|
|
54
89
|
export const genesetEnrichmentPayload: RoutePayload = {
|
package/src/terms/geneVariant.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MinBaseQ, BaseTerm, TermGroupSetting, BaseTW, TermValues, BaseGroupSet
|
|
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
|
-
|
|
46
|
+
childTerms?: DtTerm[]
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export type GvTerm = GvBaseTerm &
|
|
50
50
|
(GvGene | GvCoord) & {
|
|
51
51
|
groupsetting: TermGroupSetting
|
|
52
|
-
|
|
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
|
-
|
|
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
|
|
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:
|
|
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 = {
|
package/dist/chunk-XZAH6P4D.js
DELETED
|
@@ -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
|
-
};
|