@sjcrh/proteinpaint-types 2.130.0 → 2.131.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-KHM52S5N.js → chunk-2XROHKXU.js} +25 -5
- package/dist/{chunk-PX7P2A6A.js → chunk-3VVALC2P.js} +65 -13
- package/dist/{chunk-24RS7HFO.js → chunk-447OFOQM.js} +65 -13
- package/dist/{chunk-WSL4JPUP.js → chunk-7QZTJ7A4.js} +25 -5
- package/dist/{chunk-Y5BVEGR2.js → chunk-7RY7HC24.js} +85 -17
- package/dist/{chunk-VZMNH6SN.js → chunk-G36XAK7Y.js} +4 -3
- package/dist/{chunk-WK4CKVHY.js → chunk-HYSQJBXK.js} +25 -5
- package/dist/{chunk-6C4DMGK3.js → chunk-J7ODYX6N.js} +25 -5
- package/dist/{chunk-BMHL5ZZJ.js → chunk-MBQT6GOO.js} +100 -20
- package/dist/{chunk-CI6OEJNH.js → chunk-ODP5ODIV.js} +65 -13
- package/dist/{chunk-UXXLPWL2.js → chunk-QXF3NCJ4.js} +65 -13
- package/dist/{chunk-WHO7HCNU.js → chunk-UL54XEPY.js} +25 -5
- package/dist/{chunk-RP6RBKKL.js → chunk-UMGJNQ2O.js} +65 -13
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +13 -13
- 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.singleSampleMutation.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/routes/termdb.singleSampleMutation.ts +2 -2
- package/src/termdb.matrix.ts +9 -0
- package/src/terms/term.ts +3 -0
package/dist/termdb.violin.js
CHANGED
package/package.json
CHANGED
|
@@ -6,8 +6,8 @@ export type TermdbSingleSampleMutationRequest = {
|
|
|
6
6
|
genome: string
|
|
7
7
|
/** Dataset label */
|
|
8
8
|
dslabel: string
|
|
9
|
-
/** sample id */
|
|
10
|
-
sample: string
|
|
9
|
+
/** sample id, allow string or number; for native ds, sample name in number will be cast into string */
|
|
10
|
+
sample: string | number
|
|
11
11
|
}
|
|
12
12
|
type ValidResponse = {
|
|
13
13
|
/** List of mutation data points from this sample TODO change to type of M elements */
|
package/src/termdb.matrix.ts
CHANGED
|
@@ -17,6 +17,12 @@ type SampleEntry = {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
type CategoryEntry = {
|
|
21
|
+
key: string
|
|
22
|
+
label: string
|
|
23
|
+
samplecount: number
|
|
24
|
+
}
|
|
25
|
+
|
|
20
26
|
export type ValidGetDataResponse = {
|
|
21
27
|
samples: {
|
|
22
28
|
[index: string | number]: SampleEntry
|
|
@@ -33,6 +39,9 @@ export type ValidGetDataResponse = {
|
|
|
33
39
|
bins?: any
|
|
34
40
|
/** CTE.events. These info are not available in term object and is computed during run time. */
|
|
35
41
|
events?: any
|
|
42
|
+
/** Categories of term. Only computed for categorical terms that
|
|
43
|
+
have an empty term.values{}. */
|
|
44
|
+
categories?: CategoryEntry[]
|
|
36
45
|
}
|
|
37
46
|
>
|
|
38
47
|
/** metadata about samples (e.g. print names). avoid duplicating such in sample data elements (e.g. mutations)
|
package/src/terms/term.ts
CHANGED
|
@@ -105,6 +105,9 @@ export type BaseTerm = {
|
|
|
105
105
|
included_types?: string[]
|
|
106
106
|
isleaf?: boolean
|
|
107
107
|
values?: TermValues
|
|
108
|
+
/** Do not build .values{} when building termdb. Used for
|
|
109
|
+
making categorical term with empty .values{} in TermdbTest */
|
|
110
|
+
skipValuesBuild?: boolean
|
|
108
111
|
}
|
|
109
112
|
|
|
110
113
|
export type Term = BaseTerm & (NumericTerm | CategoricalTerm | ConditionTerm | SampleLstTerm | SnpsTerm | GvTerm)
|