@sjcrh/proteinpaint-types 2.138.3-5 → 2.138.3-7
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-CC3OBRKE.js → chunk-2QKCLUH3.js} +10 -10
- package/dist/{chunk-QG776KAI.js → chunk-34LXTZYA.js} +10 -10
- package/dist/{chunk-2YASZMH3.js → chunk-5BKOSJEU.js} +13 -13
- package/dist/{chunk-IY6W7HXW.js → chunk-F2ZZ5J3F.js} +10 -10
- package/dist/{chunk-DD2RLZHC.js → chunk-G5BYLEJC.js} +3 -3
- package/dist/{chunk-JKBVXIRQ.js → chunk-HJ7XFSJK.js} +3 -3
- package/dist/{chunk-I2BMMKPN.js → chunk-KDHGWAOS.js} +10 -10
- package/dist/{chunk-LTGT4NK4.js → chunk-NHELOLDH.js} +19 -19
- package/dist/{chunk-7FTOFTNK.js → chunk-P3Z422N2.js} +3 -3
- package/dist/{chunk-6HAS5WRS.js → chunk-R3DIKDES.js} +3 -3
- package/dist/{chunk-O3NHQOWL.js → chunk-Y6Z6XAFN.js} +3 -3
- package/dist/{chunk-HCBXL376.js → chunk-ZHCVV36H.js} +10 -10
- 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 +9 -1
- package/src/index.ts +1 -0
- package/src/terms/numeric.ts +1 -1
- package/src/terms/ssGSEA.ts +26 -0
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
termsByIdsPayload,
|
|
13
13
|
validTermsByIdsRequest,
|
|
14
14
|
validTermsByIdsResponse
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2QKCLUH3.js";
|
|
16
16
|
import {
|
|
17
17
|
topMutatedGenePayload,
|
|
18
18
|
validtopMutatedGeneRequest,
|
|
@@ -22,17 +22,17 @@ import {
|
|
|
22
22
|
termdbTopTermsByTypePayload,
|
|
23
23
|
validTermdbTopTermsByTypeRequest,
|
|
24
24
|
validTermdbTopTermsByTypeResponse
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5BKOSJEU.js";
|
|
26
26
|
import {
|
|
27
27
|
termdbTopVariablyExpressedGenesPayload,
|
|
28
28
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
29
29
|
validTermdbTopVariablyExpressedGenesResponse
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-P3Z422N2.js";
|
|
31
31
|
import {
|
|
32
32
|
validViolinRequest,
|
|
33
33
|
validViolinResponse,
|
|
34
34
|
violinPayload
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-Y6Z6XAFN.js";
|
|
36
36
|
import {
|
|
37
37
|
tilePayload,
|
|
38
38
|
validTileRequest,
|
|
@@ -87,12 +87,12 @@ import {
|
|
|
87
87
|
termdbCategoriesPayload,
|
|
88
88
|
validCategoriesRequest,
|
|
89
89
|
validCategoriesResponse
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-ZHCVV36H.js";
|
|
91
91
|
import {
|
|
92
92
|
termdbClusterPayload,
|
|
93
93
|
validTermdbClusterRequest,
|
|
94
94
|
validTermdbClusterResponse
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-NHELOLDH.js";
|
|
96
96
|
import {
|
|
97
97
|
termdbCohortSummaryPayload,
|
|
98
98
|
validTermdbCohortSummaryRequest,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
descrStatsPayload,
|
|
108
108
|
validDescrStatsRequest,
|
|
109
109
|
validDescrStatsResponse
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-KDHGWAOS.js";
|
|
111
111
|
import {
|
|
112
112
|
FilterTermValuesPayload,
|
|
113
113
|
validFilterTermValuesRequest,
|
|
@@ -117,12 +117,12 @@ import {
|
|
|
117
117
|
numericCategoriesPayload,
|
|
118
118
|
validNumericCategoriesRequest,
|
|
119
119
|
validNumericCategoriesResponse
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-G5BYLEJC.js";
|
|
121
121
|
import {
|
|
122
122
|
percentilePayload,
|
|
123
123
|
validPercentileRequest,
|
|
124
124
|
validPercentileResponse
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-R3DIKDES.js";
|
|
126
126
|
import {
|
|
127
127
|
isoformlstPayload,
|
|
128
128
|
validIsoformLstRequest,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
boxplotPayload,
|
|
163
163
|
validBoxPlotRequest,
|
|
164
164
|
validBoxPlotResponse
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-F2ZZ5J3F.js";
|
|
166
166
|
import {
|
|
167
167
|
genesetOverrepresentationPayload,
|
|
168
168
|
validGenesetOverrepresentationRequest,
|
|
@@ -255,7 +255,7 @@ import {
|
|
|
255
255
|
brainImagingPayload,
|
|
256
256
|
validBrainImagingRequest,
|
|
257
257
|
validBrainImagingResponse
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-HJ7XFSJK.js";
|
|
259
259
|
import {
|
|
260
260
|
brainImagingSamplesPayload,
|
|
261
261
|
validBrainImagingSamplesRequest,
|
|
@@ -277,7 +277,7 @@ import {
|
|
|
277
277
|
CorrelationVolcanoPayload,
|
|
278
278
|
validCorrelationVolcanoRequest,
|
|
279
279
|
validCorrelationVolcanoResponse
|
|
280
|
-
} from "./chunk-
|
|
280
|
+
} from "./chunk-34LXTZYA.js";
|
|
281
281
|
import "./chunk-CNSSF43V.js";
|
|
282
282
|
export {
|
|
283
283
|
CorrelationVolcanoPayload,
|
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-P3Z422N2.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
|
@@ -973,6 +973,14 @@ type Mds3Queries = {
|
|
|
973
973
|
singleSampleMutation?: SingleSampleMutationQuery
|
|
974
974
|
NIdata?: NIdataQuery
|
|
975
975
|
geneExpression?: GeneExpressionQuery
|
|
976
|
+
/** single-sample gsea precomputed scores for rnaseq samples, for genesets from geneset db
|
|
977
|
+
requires genome to be equipped with geneset db
|
|
978
|
+
*/
|
|
979
|
+
ssGSEA?: {
|
|
980
|
+
/** path to h5 file, matrix of NES scores. rows are msigdb geneset ids, columns are rnaseq samples */
|
|
981
|
+
file: string
|
|
982
|
+
// in case a genome may have more than 1 geneset dbs, here may specify name of db that this result is based on */
|
|
983
|
+
}
|
|
976
984
|
rnaseqGeneCount?: RnaseqGeneCount
|
|
977
985
|
/** Used to create the top mutated genes UI in the gene
|
|
978
986
|
* set edit ui and data requests. */
|
|
@@ -981,7 +989,7 @@ type Mds3Queries = {
|
|
|
981
989
|
* set edit ui. Also used for data requests */
|
|
982
990
|
topVariablyExpressedGenes?: TopVariablyExpressedGenesQuery
|
|
983
991
|
metaboliteIntensity?: {
|
|
984
|
-
src: 'native'
|
|
992
|
+
src: 'native'
|
|
985
993
|
file: string
|
|
986
994
|
}
|
|
987
995
|
singleCell?: SingleCellQuery
|
package/src/index.ts
CHANGED
|
@@ -71,6 +71,7 @@ export * from './terms/singleCellGeneExpression.ts'
|
|
|
71
71
|
export * from './terms/snp.ts'
|
|
72
72
|
export * from './terms/snps.ts'
|
|
73
73
|
export * from './terms/samplelst.ts'
|
|
74
|
+
export * from './terms/ssGSEA.ts'
|
|
74
75
|
export * from './terms/q.ts'
|
|
75
76
|
export * from './terms/term.ts'
|
|
76
77
|
export * from './terms/tw.ts'
|
package/src/terms/numeric.ts
CHANGED
|
@@ -34,7 +34,7 @@ export type NumericTerm = BaseTerm & {
|
|
|
34
34
|
id?: string
|
|
35
35
|
// these concrete term.type values make it clear that only these are numeric,
|
|
36
36
|
// "categorical", "condition", and other term.types are not included in this union
|
|
37
|
-
type: 'integer' | 'float' | 'geneExpression' | 'metaboliteIntensity' | 'date'
|
|
37
|
+
type: 'integer' | 'float' | 'geneExpression' | 'metaboliteIntensity' | 'date' | 'ssGSEA'
|
|
38
38
|
bins: PresetNumericBins
|
|
39
39
|
values?: TermValues
|
|
40
40
|
unit?: string
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TermWrapper } from './tw.ts'
|
|
2
|
+
import type { NumericTerm, NumericQ } from './numeric.ts'
|
|
3
|
+
import type { TermSettingInstance } from '../termsetting.ts'
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
duplicated from geneExpression.ts
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type SsGSEAQ = NumericQ & { dt?: number }
|
|
10
|
+
|
|
11
|
+
export type SsGSEATW = TermWrapper & {
|
|
12
|
+
q: SsGSEAQ
|
|
13
|
+
term: SsGSEATerm
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type SsGSEATerm = NumericTerm & {
|
|
17
|
+
/** term.id: geneset db term id for native term, and cache file name for custom term */
|
|
18
|
+
/** term.name: geneset db term name for native term, and user-defined name for custom term */
|
|
19
|
+
/** custom term has list of gene names used for computing score */
|
|
20
|
+
genes?: string[]
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export type SsGSEATermSettingInstance = TermSettingInstance & {
|
|
24
|
+
q: SsGSEAQ
|
|
25
|
+
term: SsGSEATerm
|
|
26
|
+
}
|