@sjcrh/proteinpaint-types 2.113.0 → 2.114.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-FMW25T52.js → chunk-66XSFQPI.js} +282 -182
- package/dist/{chunk-ES6BRZ4L.js → chunk-7AQB3YHO.js} +15 -11
- package/dist/{chunk-A72XYNKT.js → chunk-BEXUBE5A.js} +15 -11
- package/dist/{chunk-TXZQ56TX.js → chunk-BNOGQYXG.js} +421 -251
- package/dist/{chunk-7Z3AE4AY.js → chunk-H45GALYV.js} +445 -345
- package/dist/{chunk-4CCAF4O5.js → chunk-JNEIQWTE.js} +44 -36
- package/dist/{chunk-KHPBBU43.js → chunk-KRHYG2ZZ.js} +610 -580
- package/dist/{chunk-OJWYCYKF.js → chunk-OSHG443J.js} +50 -42
- package/dist/{chunk-GHAIGRB7.js → chunk-PR7XHL4T.js} +15 -11
- package/dist/{chunk-ZFUF4XMD.js → chunk-T3NOHXOJ.js} +15 -11
- package/dist/{chunk-2WZPM25H.js → chunk-WVBWDL2B.js} +445 -345
- package/dist/{chunk-GGKNEHME.js → chunk-XDRUNGOV.js} +192 -162
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- 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 +19 -6
- package/src/terms/geneVariant.ts +23 -2
- package/src/terms/term.ts +16 -8
package/dist/index.js
CHANGED
|
@@ -7,22 +7,22 @@ import {
|
|
|
7
7
|
termsByIdsPayload,
|
|
8
8
|
validTermsByIdsRequest,
|
|
9
9
|
validTermsByIdsResponse
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KRHYG2ZZ.js";
|
|
11
11
|
import {
|
|
12
12
|
termdbTopTermsByTypePayload,
|
|
13
13
|
validTermdbTopTermsByTypeRequest,
|
|
14
14
|
validTermdbTopTermsByTypeResponse
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JNEIQWTE.js";
|
|
16
16
|
import {
|
|
17
17
|
termdbTopVariablyExpressedGenesPayload,
|
|
18
18
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
19
19
|
validTermdbTopVariablyExpressedGenesResponse
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BEXUBE5A.js";
|
|
21
21
|
import {
|
|
22
22
|
validViolinRequest,
|
|
23
23
|
validViolinResponse,
|
|
24
24
|
violinPayload
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-T3NOHXOJ.js";
|
|
26
26
|
import {
|
|
27
27
|
tilePayload,
|
|
28
28
|
validTileRequest,
|
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
numericCategoriesPayload,
|
|
38
38
|
validNumericCategoriesRequest,
|
|
39
39
|
validNumericCategoriesResponse
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7AQB3YHO.js";
|
|
41
41
|
import {
|
|
42
42
|
percentilePayload,
|
|
43
43
|
validPercentileRequest,
|
|
44
44
|
validPercentileResponse
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-PR7XHL4T.js";
|
|
46
46
|
import {
|
|
47
47
|
rootTermPayload,
|
|
48
48
|
validRootTermRequest,
|
|
@@ -87,17 +87,17 @@ import {
|
|
|
87
87
|
boxplotPayload,
|
|
88
88
|
validBoxPlotRequest,
|
|
89
89
|
validBoxPlotResponse
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-WVBWDL2B.js";
|
|
91
91
|
import {
|
|
92
92
|
termdbCategoriesPayload,
|
|
93
93
|
validCategoriesRequest,
|
|
94
94
|
validCategoriesResponse
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-H45GALYV.js";
|
|
96
96
|
import {
|
|
97
97
|
termdbClusterPayload,
|
|
98
98
|
validTermdbClusterRequest,
|
|
99
99
|
validTermdbClusterResponse
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-OSHG443J.js";
|
|
101
101
|
import {
|
|
102
102
|
termdbCohortSummaryPayload,
|
|
103
103
|
validTermdbCohortSummaryRequest,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
descrStatsPayload,
|
|
113
113
|
validDescrStatsRequest,
|
|
114
114
|
validDescrStatsResponse
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-BNOGQYXG.js";
|
|
116
116
|
import {
|
|
117
117
|
hicGenomePayload,
|
|
118
118
|
validHicGenomeRequest,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
brainImagingPayload,
|
|
193
193
|
validBrainImagingRequest,
|
|
194
194
|
validBrainImagingResponse
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-XDRUNGOV.js";
|
|
196
196
|
import {
|
|
197
197
|
brainImagingSamplesPayload,
|
|
198
198
|
validBrainImagingSamplesRequest,
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
CorrelationVolcanoPayload,
|
|
208
208
|
validCorrelationVolcanoRequest,
|
|
209
209
|
validCorrelationVolcanoResponse
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-66XSFQPI.js";
|
|
211
211
|
import {
|
|
212
212
|
datasetPayload,
|
|
213
213
|
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-BEXUBE5A.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
|
@@ -95,8 +95,14 @@ type bcfMafFile = {
|
|
|
95
95
|
type SnvindelByIsoform = {
|
|
96
96
|
/** if true, served from gdc. no other parameters */
|
|
97
97
|
gdcapi?: true
|
|
98
|
-
/** getter function to retrieve data. dynamically added or ds-supplied
|
|
99
|
-
|
|
98
|
+
/** getter function to retrieve data. dynamically added or ds-supplied
|
|
99
|
+
first argument is required and allow for 2 additional ones
|
|
100
|
+
*/
|
|
101
|
+
get?: (f: any, f2?: any, f3?: any) => void
|
|
102
|
+
/** if true, all tw from one client query must be processed via one call to snvindel.byisoform.get()
|
|
103
|
+
and no longer processes each tw by calling mayGetGeneVariantData()
|
|
104
|
+
*/
|
|
105
|
+
processTwsInOneQuery?: true
|
|
100
106
|
}
|
|
101
107
|
|
|
102
108
|
type SnvindelByRange = {
|
|
@@ -207,7 +213,7 @@ type Filter = {
|
|
|
207
213
|
|
|
208
214
|
type VariantFilter = {
|
|
209
215
|
opts: { joinWith: string[] }
|
|
210
|
-
filter
|
|
216
|
+
filter?: Filter
|
|
211
217
|
terms: FilterTermEntry[]
|
|
212
218
|
}
|
|
213
219
|
|
|
@@ -582,6 +588,8 @@ export type GeneExpressionQueryNative = {
|
|
|
582
588
|
samples?: number[]
|
|
583
589
|
/** dynamically added flag during launch */
|
|
584
590
|
nochr?: boolean
|
|
591
|
+
/** if true, the file is in HDF5 format */
|
|
592
|
+
hdf5File?: boolean
|
|
585
593
|
/** dynamically added getter */
|
|
586
594
|
get?: (param: any) => void
|
|
587
595
|
/** This dictionary is used to store/cache the default bins calculated for a geneExpression term when initialized in the fillTermWrapper */
|
|
@@ -1218,9 +1226,14 @@ keep this setting here for reason of:
|
|
|
1218
1226
|
ssm?: UrlTemplateSsm | UrlTemplateSsm[]
|
|
1219
1227
|
}
|
|
1220
1228
|
|
|
1221
|
-
|
|
1229
|
+
/** ds-defined or dynamically created */
|
|
1230
|
+
termtypeByCohort?: any
|
|
1231
|
+
/** ds-defined or dynamically created callbacks
|
|
1232
|
+
{
|
|
1222
1233
|
getSupportedChartTypes: (a: any) => any
|
|
1223
1234
|
}
|
|
1235
|
+
*/
|
|
1236
|
+
q?: any
|
|
1224
1237
|
termMatch2geneSet?: any
|
|
1225
1238
|
mclass?: Mclass
|
|
1226
1239
|
lollipop?: any
|
|
@@ -1357,7 +1370,7 @@ export type Cohort = {
|
|
|
1357
1370
|
/** if present, means correlation volcano plot analysis is enabled */
|
|
1358
1371
|
correlationVolcano?: CorrelationVolcano
|
|
1359
1372
|
cumburden?: CumBurdenData
|
|
1360
|
-
db
|
|
1373
|
+
db?: FileObj
|
|
1361
1374
|
/** customize the default chart to open on mass ui when there's no charts. if
|
|
1362
1375
|
* missing it opens dictionary ui */
|
|
1363
1376
|
defaultChartType?: string
|
|
@@ -1786,7 +1799,7 @@ export type Mds3 = BaseMds & {
|
|
|
1786
1799
|
queries?: Mds3Queries
|
|
1787
1800
|
cohort?: Cohort
|
|
1788
1801
|
isSupportedChartOverride?: isSupportedChartCallbacks
|
|
1789
|
-
// TODO
|
|
1802
|
+
// TODO FIXME nest termdb under cohort
|
|
1790
1803
|
termdb?: Termdb
|
|
1791
1804
|
validate_filter0?: (f: any) => void
|
|
1792
1805
|
ssm2canonicalisoform?: GdcApi
|
package/src/terms/geneVariant.ts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type {
|
|
2
|
+
MinBaseQ,
|
|
3
|
+
BaseTerm,
|
|
4
|
+
EnabledTermGroupSetting,
|
|
5
|
+
BaseTW,
|
|
6
|
+
GroupSettingQ,
|
|
7
|
+
ValuesQ,
|
|
8
|
+
TermValues
|
|
9
|
+
} from '../index.ts'
|
|
10
|
+
import type { TermSettingInstance } from '../termsetting.ts'
|
|
3
11
|
|
|
4
12
|
export type GeneVariantBaseQ = MinBaseQ & {
|
|
5
13
|
cnvGainCutoff?: number
|
|
@@ -49,3 +57,16 @@ export type GeneVariantTermSettingInstance = TermSettingInstance & {
|
|
|
49
57
|
category2samplecount: any
|
|
50
58
|
groupSettingInstance?: any
|
|
51
59
|
}
|
|
60
|
+
|
|
61
|
+
export type DtTerm = {
|
|
62
|
+
id: string
|
|
63
|
+
name: string
|
|
64
|
+
parent_id: any
|
|
65
|
+
isleaf: boolean
|
|
66
|
+
type: string
|
|
67
|
+
dt: number
|
|
68
|
+
origin?: string
|
|
69
|
+
values?: TermValues
|
|
70
|
+
min?: number
|
|
71
|
+
max?: number
|
|
72
|
+
}
|
package/src/terms/term.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Filter } from '../filter.js'
|
|
2
|
-
import { CategoricalTerm, CategoricalBaseQ } from './categorical.js'
|
|
3
|
-
import { ConditionTerm } from './condition.js'
|
|
4
|
-
import { NumericTerm } from './numeric.js'
|
|
5
|
-
import { GeneVariantTerm } from './geneVariant.js'
|
|
6
|
-
import { SampleLstTerm } from './samplelst.js'
|
|
7
|
-
import { SnpsTerm } from './snps.js'
|
|
1
|
+
import type { Filter } from '../filter.js'
|
|
2
|
+
import type { CategoricalTerm, CategoricalBaseQ } from './categorical.js'
|
|
3
|
+
import type { ConditionTerm } from './condition.js'
|
|
4
|
+
import type { NumericTerm } from './numeric.js'
|
|
5
|
+
import type { GeneVariantTerm } from './geneVariant.js'
|
|
6
|
+
import type { SampleLstTerm } from './samplelst.js'
|
|
7
|
+
import type { SnpsTerm } from './snps.js'
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @param id term.id for dictionary terms, undefined for non-dictionary terms
|
|
@@ -56,6 +56,8 @@ export type BaseQ = {
|
|
|
56
56
|
| 'custom-groupset'
|
|
57
57
|
/** Applies to samplelst terms */
|
|
58
58
|
| 'custom-samplelst'
|
|
59
|
+
/** Applies to geneVariant term */
|
|
60
|
+
| 'filter'
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
export type ValuesQ = CategoricalBaseQ & {
|
|
@@ -72,7 +74,11 @@ export type CustomGroupSettingQ = CategoricalBaseQ & {
|
|
|
72
74
|
customset: BaseGroupSet
|
|
73
75
|
}
|
|
74
76
|
|
|
75
|
-
export type
|
|
77
|
+
export type FilterQ = BaseQ & {
|
|
78
|
+
type: 'filter'
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type GroupSettingQ = ValuesQ | FilterQ | PredefinedGroupSettingQ | CustomGroupSettingQ
|
|
76
82
|
|
|
77
83
|
/*** types supporting termwrapper term ***/
|
|
78
84
|
|
|
@@ -99,6 +105,7 @@ export type BaseTerm = {
|
|
|
99
105
|
included_types?: string[]
|
|
100
106
|
isleaf?: boolean
|
|
101
107
|
values?: TermValues
|
|
108
|
+
filter?: any
|
|
102
109
|
}
|
|
103
110
|
|
|
104
111
|
export type Term = BaseTerm &
|
|
@@ -116,6 +123,7 @@ export type FilterGroup = {
|
|
|
116
123
|
name: string
|
|
117
124
|
type: 'filter'
|
|
118
125
|
filter: Filter
|
|
126
|
+
uncomputable?: boolean // if true, do not include this group in computations
|
|
119
127
|
}
|
|
120
128
|
|
|
121
129
|
export type GroupEntry = ValuesGroup | FilterGroup
|