@sjcrh/proteinpaint-types 2.140.1-2 → 2.141.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-Y6Z6XAFN.js → chunk-424IUJWR.js} +532 -154
- package/dist/{chunk-NHELOLDH.js → chunk-56JQGGZJ.js} +4103 -2234
- package/dist/{chunk-5BKOSJEU.js → chunk-77RH7U6G.js} +2101 -981
- package/dist/{chunk-F2ZZ5J3F.js → chunk-EOBFYFLQ.js} +2483 -1911
- package/dist/{chunk-34LXTZYA.js → chunk-I7FTK55B.js} +2162 -1590
- package/dist/{chunk-4S36DRJ4.js → chunk-KEJROUTM.js} +1314 -572
- package/dist/{chunk-ZHCVV36H.js → chunk-QWAPDNYB.js} +2486 -1914
- package/dist/{chunk-HJ7XFSJK.js → chunk-S6OBK4RE.js} +528 -150
- package/dist/{chunk-P3Z422N2.js → chunk-T3GTEGQN.js} +532 -154
- package/dist/{chunk-2QKCLUH3.js → chunk-UYBVE3DL.js} +2478 -1906
- package/dist/{chunk-KDHGWAOS.js → chunk-VMQUAU5V.js} +2481 -1909
- package/dist/{chunk-G5BYLEJC.js → chunk-WCWYMCZD.js} +532 -154
- 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 -2
- package/src/dataset.ts +14 -4
- package/src/genome.ts +2 -2
- package/src/index.ts +1 -0
- package/src/routes/termdb.cluster.ts +6 -6
- package/src/terms/categorical.ts +0 -8
- package/src/terms/condition.ts +4 -3
- package/src/terms/date.ts +18 -0
- package/src/terms/geneExpression.ts +7 -21
- package/src/terms/geneVariant.ts +3 -0
- package/src/terms/metaboliteIntensity.ts +7 -20
- package/src/terms/numeric.ts +17 -38
- package/src/terms/singleCellGeneExpression.ts +3 -4
- package/src/terms/snp.ts +7 -7
- package/src/terms/snps.ts +1 -0
- package/src/terms/ssGSEA.ts +7 -13
- package/src/terms/tw.ts +11 -6
- package/src/terms/updated-types.ts +0 -10
package/src/terms/ssGSEA.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { NumericTerm, NumericQ } from './numeric.ts'
|
|
3
|
-
import type { TermSettingInstance } from '../termsetting.ts'
|
|
1
|
+
import type { NumericBaseTerm, NumericQ, PresetNumericBins, NumTWTypes } from './numeric.ts'
|
|
4
2
|
|
|
5
3
|
/*
|
|
6
4
|
duplicated from geneExpression.ts
|
|
@@ -8,19 +6,15 @@ duplicated from geneExpression.ts
|
|
|
8
6
|
|
|
9
7
|
export type SsGSEAQ = NumericQ & { dt?: number }
|
|
10
8
|
|
|
11
|
-
export type
|
|
12
|
-
q: SsGSEAQ
|
|
13
|
-
term: SsGSEATerm
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type SsGSEATerm = NumericTerm & {
|
|
9
|
+
export type SsGSEATerm = NumericBaseTerm & {
|
|
17
10
|
/** term.id: geneset db term id for native term, and cache file name for custom term */
|
|
18
11
|
/** term.name: geneset db term name for native term, and user-defined name for custom term */
|
|
19
12
|
/** custom term has list of gene names used for computing score */
|
|
20
13
|
genes?: string[]
|
|
14
|
+
name?: string
|
|
15
|
+
type: 'ssGSEA'
|
|
16
|
+
bins?: PresetNumericBins
|
|
17
|
+
unit?: string
|
|
21
18
|
}
|
|
22
19
|
|
|
23
|
-
export type
|
|
24
|
-
q: SsGSEAQ
|
|
25
|
-
term: SsGSEATerm
|
|
26
|
-
}
|
|
20
|
+
export type SsGSEATW = NumTWTypes & { term: SsGSEATerm }
|
package/src/terms/tw.ts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import type { BaseQ, BaseTW, Term } from './term.ts'
|
|
2
|
-
import type { CategoricalQ, CategoricalTW } from './categorical.ts'
|
|
3
|
-
import type { NumericQ, NumericTW } from './numeric.ts'
|
|
4
1
|
import type { SnpsQ, SnpsTW } from './snps.ts'
|
|
5
|
-
import type {
|
|
2
|
+
import type { SnpQ, SnpTW } from './snp.ts'
|
|
3
|
+
import type { ConditionQ, ConditionTW } from './condition.ts'
|
|
6
4
|
import type { SampleLstQ } from './samplelst.ts'
|
|
5
|
+
import type { CatTWTypes, CategoricalQ } from './categorical.ts'
|
|
6
|
+
import type { NumTWTypes, NumericQ } from './numeric.ts'
|
|
7
|
+
import type { GvTW, GvQ } from './geneVariant.ts'
|
|
7
8
|
|
|
8
|
-
export type TermWrapper =
|
|
9
|
+
export type TermWrapper = CatTWTypes | NumTWTypes | GvTW | ConditionTW | SnpsTW | SnpTW
|
|
10
|
+
|
|
11
|
+
export type Q = CategoricalQ | NumericQ | GvQ | ConditionQ | SnpsQ | SnpQ | SampleLstQ // | other q
|
|
12
|
+
|
|
13
|
+
//export type TermWrapper = CategoricalTW | NumericTW | SnpsTW | (BaseTW & { term: Term; q: Q })
|
|
9
14
|
export type TwLst = TermWrapper[]
|
|
10
15
|
|
|
11
|
-
export type Q = BaseQ | CategoricalQ | ConditionQ | NumericQ | SampleLstQ | SnpsQ
|
|
16
|
+
//export type Q = BaseQ | CategoricalQ | ConditionQ | NumericQ | SampleLstQ | SnpsQ
|
|
12
17
|
|
|
13
18
|
export type RawTW =
|
|
14
19
|
//{ id: string } | RawCatTW
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// temporary code file to hold updated type definitions
|
|
2
|
-
// as part of the tw router/handler refactor
|
|
3
|
-
|
|
4
|
-
import type { CatTWTypes, CategoricalQ } from './categorical.ts'
|
|
5
|
-
import type { NumTWTypes, NumericQ } from './numeric.ts'
|
|
6
|
-
import type { GvTW, GvQ } from './geneVariant.ts'
|
|
7
|
-
|
|
8
|
-
export type TermWrapper = CatTWTypes | NumTWTypes | GvTW
|
|
9
|
-
|
|
10
|
-
export type Q = CategoricalQ | NumericQ | GvQ // | other q
|