@sjcrh/proteinpaint-types 2.141.0 → 2.142.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-77RH7U6G.js → chunk-2VDOPTRV.js} +474 -384
- package/dist/{chunk-WCWYMCZD.js → chunk-3BQ57P2P.js} +219 -123
- package/dist/{chunk-EOBFYFLQ.js → chunk-3L3ASC3B.js} +449 -353
- package/dist/{chunk-T3GTEGQN.js → chunk-4R265LDJ.js} +219 -123
- package/dist/{chunk-QWAPDNYB.js → chunk-CEDL2QZT.js} +453 -357
- package/dist/{chunk-424IUJWR.js → chunk-DMJFOII6.js} +219 -123
- package/dist/{chunk-S6OBK4RE.js → chunk-FVBXC7SY.js} +219 -123
- package/dist/{chunk-VMQUAU5V.js → chunk-GDM7YUXH.js} +449 -353
- package/dist/{chunk-UYBVE3DL.js → chunk-IR4QSJI7.js} +449 -353
- package/dist/{chunk-I7FTK55B.js → chunk-MVMUZSLL.js} +435 -339
- package/dist/{chunk-56JQGGZJ.js → chunk-SMVDKR2O.js} +781 -561
- package/dist/{chunk-KEJROUTM.js → chunk-SOM5WKDM.js} +255 -261
- 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/terms/date.ts +7 -5
- package/src/terms/geneExpression.ts +22 -8
- package/src/terms/metaboliteIntensity.ts +13 -3
- package/src/terms/numeric.ts +1 -1
- package/src/terms/ssGSEA.ts +4 -2
- package/src/terms/tw.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termsByIdsPayload,
|
|
3
3
|
validTermsByIdsRequest,
|
|
4
4
|
validTermsByIdsResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IR4QSJI7.js";
|
|
6
6
|
import {
|
|
7
7
|
topMutatedGenePayload,
|
|
8
8
|
validtopMutatedGeneRequest,
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
termdbTopTermsByTypePayload,
|
|
13
13
|
validTermdbTopTermsByTypeRequest,
|
|
14
14
|
validTermdbTopTermsByTypeResponse
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2VDOPTRV.js";
|
|
16
16
|
import {
|
|
17
17
|
termdbTopVariablyExpressedGenesPayload,
|
|
18
18
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
19
19
|
validTermdbTopVariablyExpressedGenesResponse
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4R265LDJ.js";
|
|
21
21
|
import {
|
|
22
22
|
validViolinRequest,
|
|
23
23
|
validViolinResponse,
|
|
24
24
|
violinPayload
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DMJFOII6.js";
|
|
26
26
|
import {
|
|
27
27
|
tilePayload,
|
|
28
28
|
validTileRequest,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
termdbClusterPayload,
|
|
83
83
|
validTermdbClusterRequest,
|
|
84
84
|
validTermdbClusterResponse
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-SMVDKR2O.js";
|
|
86
86
|
import {
|
|
87
87
|
termdbCohortSummaryPayload,
|
|
88
88
|
validTermdbCohortSummaryRequest,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
descrStatsPayload,
|
|
98
98
|
validDescrStatsRequest,
|
|
99
99
|
validDescrStatsResponse
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-GDM7YUXH.js";
|
|
101
101
|
import {
|
|
102
102
|
FilterTermValuesPayload,
|
|
103
103
|
validFilterTermValuesRequest,
|
|
@@ -107,12 +107,12 @@ import {
|
|
|
107
107
|
numericCategoriesPayload,
|
|
108
108
|
validNumericCategoriesRequest,
|
|
109
109
|
validNumericCategoriesResponse
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-3BQ57P2P.js";
|
|
111
111
|
import {
|
|
112
112
|
percentilePayload,
|
|
113
113
|
validPercentileRequest,
|
|
114
114
|
validPercentileResponse
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-SOM5WKDM.js";
|
|
116
116
|
import {
|
|
117
117
|
ProfileFormScoresPayload,
|
|
118
118
|
validProfileFormScoresRequest,
|
|
@@ -152,12 +152,12 @@ import {
|
|
|
152
152
|
boxplotPayload,
|
|
153
153
|
validBoxPlotRequest,
|
|
154
154
|
validBoxPlotResponse
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-3L3ASC3B.js";
|
|
156
156
|
import {
|
|
157
157
|
termdbCategoriesPayload,
|
|
158
158
|
validCategoriesRequest,
|
|
159
159
|
validCategoriesResponse
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-CEDL2QZT.js";
|
|
161
161
|
import {
|
|
162
162
|
GRIN2Payload,
|
|
163
163
|
validGRIN2Request,
|
|
@@ -245,7 +245,7 @@ import {
|
|
|
245
245
|
brainImagingPayload,
|
|
246
246
|
validBrainImagingRequest,
|
|
247
247
|
validBrainImagingResponse
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-FVBXC7SY.js";
|
|
249
249
|
import {
|
|
250
250
|
brainImagingSamplesPayload,
|
|
251
251
|
validBrainImagingSamplesRequest,
|
|
@@ -267,7 +267,7 @@ import {
|
|
|
267
267
|
CorrelationVolcanoPayload,
|
|
268
268
|
validCorrelationVolcanoRequest,
|
|
269
269
|
validCorrelationVolcanoResponse
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-MVMUZSLL.js";
|
|
271
271
|
import {
|
|
272
272
|
datasetPayload,
|
|
273
273
|
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-4R265LDJ.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/terms/date.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NumericBaseTerm, PresetNumericBins,
|
|
1
|
+
import type { NumericBaseTerm, PresetNumericBins, NumTW, RawNumTW } from '../index.ts'
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
--------EXPORTED--------
|
|
@@ -8,11 +8,13 @@ DateTermSettingInstance
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
export type DateTerm = NumericBaseTerm & {
|
|
11
|
-
name
|
|
11
|
+
name: string
|
|
12
12
|
type: 'date'
|
|
13
|
-
metabolite: string
|
|
14
13
|
bins?: PresetNumericBins
|
|
15
|
-
unit?: string
|
|
16
14
|
}
|
|
17
15
|
|
|
18
|
-
export type DateTW =
|
|
16
|
+
export type DateTW = NumTW & { term: DateTerm }
|
|
17
|
+
|
|
18
|
+
type RawDateTerm = DateTerm & { name?: string }
|
|
19
|
+
|
|
20
|
+
export type RawDateTW = RawNumTW & { term: RawDateTerm }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PresetNumericBins, NumericBaseTerm,
|
|
1
|
+
import type { PresetNumericBins, NumericBaseTerm, NumTW, RawNumTW } from '../index.ts'
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
--------EXPORTED--------
|
|
@@ -7,16 +7,30 @@ GeneExpressionTermWrapper
|
|
|
7
7
|
GeneExpressionTermSettingInstance
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
type Gene = {
|
|
11
|
+
kind?: 'gene'
|
|
11
12
|
gene: string
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// temporarily allowing chr/start/stop to support
|
|
16
|
-
// legacy fpkm files
|
|
13
|
+
// chr,start,stop should exist together as a separate type called
|
|
14
|
+
// 'Coord', but hard to code as atomic `& Coord` because it may
|
|
15
|
+
// need to be filled in
|
|
17
16
|
chr?: string
|
|
18
17
|
start?: number
|
|
19
18
|
stop?: number
|
|
20
19
|
}
|
|
21
20
|
|
|
22
|
-
|
|
21
|
+
type Coord = {
|
|
22
|
+
kind?: 'coord'
|
|
23
|
+
gene?: string
|
|
24
|
+
chr: string
|
|
25
|
+
start: number
|
|
26
|
+
stop: number
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type GeneExpressionTerm = NumericBaseTerm & {
|
|
30
|
+
type: 'geneExpression'
|
|
31
|
+
bins?: PresetNumericBins
|
|
32
|
+
} & (Gene | Coord)
|
|
33
|
+
|
|
34
|
+
export type GeneExpressionTW = NumTW & { term: GeneExpressionTerm }
|
|
35
|
+
|
|
36
|
+
export type RawGeneExpTW = RawNumTW & { term: GeneExpressionTerm & { name?: string } }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NumericBaseTerm, PresetNumericBins,
|
|
1
|
+
import type { NumericBaseTerm, PresetNumericBins, NumTW, RawNumTW } from '../index.ts'
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
--------EXPORTED--------
|
|
@@ -8,11 +8,21 @@ MetaboliteIntensityTermSettingInstance
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
export type MetaboliteIntensityTerm = NumericBaseTerm & {
|
|
11
|
-
name
|
|
11
|
+
name: string
|
|
12
12
|
type: 'metaboliteIntensity'
|
|
13
13
|
metabolite: string
|
|
14
14
|
bins?: PresetNumericBins
|
|
15
15
|
unit?: string
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export type MetaboliteIntensityTW =
|
|
18
|
+
export type MetaboliteIntensityTW = NumTW & { term: MetaboliteIntensityTerm }
|
|
19
|
+
|
|
20
|
+
type RawMetabolitIntensityTerm = {
|
|
21
|
+
type: 'metaboliteIntensity'
|
|
22
|
+
metabolite: string
|
|
23
|
+
name?: string
|
|
24
|
+
bins?: PresetNumericBins
|
|
25
|
+
unit?: string
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type RawMetaboliteIntensityTW = RawNumTW & { term: RawMetabolitIntensityTerm }
|
package/src/terms/numeric.ts
CHANGED
|
@@ -209,7 +209,7 @@ export type NumTWSpline = BaseTW & {
|
|
|
209
209
|
q: SplineNumericQ
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
export type
|
|
212
|
+
export type NumTW = NumTWRegularBin | NumTWCustomBin | NumTWBinary | NumTWCont | NumTWSpline
|
|
213
213
|
export type NumTWDiscreteTypes = NumTWRegularBin | NumTWCustomBin //| NumTWBinary
|
|
214
214
|
|
|
215
215
|
export type DefaultMedianQ = {
|
package/src/terms/ssGSEA.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NumericBaseTerm, NumericQ, PresetNumericBins,
|
|
1
|
+
import type { NumericBaseTerm, NumericQ, PresetNumericBins, NumTW, RawNumTW } from './numeric.ts'
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
duplicated from geneExpression.ts
|
|
@@ -17,4 +17,6 @@ export type SsGSEATerm = NumericBaseTerm & {
|
|
|
17
17
|
unit?: string
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export type SsGSEATW =
|
|
20
|
+
export type SsGSEATW = NumTW & { term: SsGSEATerm }
|
|
21
|
+
|
|
22
|
+
export type RawSsGSEATW = RawNumTW & { term: SsGSEATerm }
|
package/src/terms/tw.ts
CHANGED
|
@@ -3,10 +3,10 @@ import type { SnpQ, SnpTW } from './snp.ts'
|
|
|
3
3
|
import type { ConditionQ, ConditionTW } from './condition.ts'
|
|
4
4
|
import type { SampleLstQ } from './samplelst.ts'
|
|
5
5
|
import type { CatTWTypes, CategoricalQ } from './categorical.ts'
|
|
6
|
-
import type {
|
|
6
|
+
import type { NumTW, NumericQ } from './numeric.ts'
|
|
7
7
|
import type { GvTW, GvQ } from './geneVariant.ts'
|
|
8
8
|
|
|
9
|
-
export type TermWrapper = CatTWTypes |
|
|
9
|
+
export type TermWrapper = CatTWTypes | NumTW | GvTW | ConditionTW | SnpsTW | SnpTW
|
|
10
10
|
|
|
11
11
|
export type Q = CategoricalQ | NumericQ | GvQ | ConditionQ | SnpsQ | SnpQ | SampleLstQ // | other q
|
|
12
12
|
|