@sjcrh/proteinpaint-types 2.137.2-2 → 2.137.3
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-SUL2XLYM.js → chunk-2YASZMH3.js} +665 -229
- package/dist/{chunk-6LRQCE3E.js → chunk-6HAS5WRS.js} +243 -41
- package/dist/{chunk-6H6TQ3MA.js → chunk-7FTOFTNK.js} +243 -41
- package/dist/{chunk-PAQX4HYF.js → chunk-AL4VFH5I.js} +520 -286
- package/dist/{chunk-7YFANJ2A.js → chunk-CC3OBRKE.js} +479 -245
- package/dist/{chunk-FMSTAFII.js → chunk-DD2RLZHC.js} +243 -41
- package/dist/{chunk-G36XAK7Y.js → chunk-GGZUN2GE.js} +73 -1
- package/dist/{chunk-CBPDONEQ.js → chunk-HCBXL376.js} +494 -246
- package/dist/{chunk-MDPMNCMV.js → chunk-HWRFIXJA.js} +480 -246
- package/dist/{chunk-IE3MSHTB.js → chunk-I2BMMKPN.js} +480 -246
- package/dist/{chunk-QCGBPQ7S.js → chunk-JKBVXIRQ.js} +247 -45
- package/dist/{chunk-657TS66W.js → chunk-LTGT4NK4.js} +713 -277
- package/dist/{chunk-YGOZU46P.js → chunk-S2M5SN7Q.js} +243 -41
- 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/dataset.ts +9 -8
- package/src/routes/termdb.categories.ts +5 -0
- package/src/routes/termdb.descrstats.ts +1 -0
- package/src/routes/termdb.singleSampleMutation.ts +19 -1
- package/src/terms/geneVariant.ts +11 -3
package/dist/termdb.cluster.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termdbSingleSampleMutationPayload,
|
|
3
3
|
validTermdbSingleSampleMutationRequest,
|
|
4
4
|
validTermdbSingleSampleMutationResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GGZUN2GE.js";
|
|
6
6
|
import "./chunk-CNSSF43V.js";
|
|
7
7
|
export {
|
|
8
8
|
termdbSingleSampleMutationPayload,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termdbTopVariablyExpressedGenesPayload,
|
|
3
3
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
4
4
|
validTermdbTopVariablyExpressedGenesResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7FTOFTNK.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
|
@@ -1363,7 +1363,7 @@ if missing, name is value of m[url.namekey], as used in url itself (e.g. snp rsi
|
|
|
1363
1363
|
}
|
|
1364
1364
|
|
|
1365
1365
|
/*** type of ds.cohort.termdb{} ***/
|
|
1366
|
-
type Termdb = {
|
|
1366
|
+
export type Termdb = {
|
|
1367
1367
|
/** Terms */
|
|
1368
1368
|
termIds?: TermIds
|
|
1369
1369
|
/** if true, backend is allowed to send sample names to client in charts */
|
|
@@ -1517,12 +1517,13 @@ keep this setting here for reason of:
|
|
|
1517
1517
|
/** colors for a category multivalues */
|
|
1518
1518
|
[index: string]: { [index: string]: string }
|
|
1519
1519
|
}
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1520
|
+
defaultTw4correlationPlot?: {
|
|
1521
|
+
/** key is string as disease/survial etc, value is tw */
|
|
1522
|
+
[index: string]: Tw
|
|
1523
|
+
}
|
|
1524
|
+
//terms are shown in the dictionary based on term and user role.
|
|
1525
|
+
isTermVisible?: (clientAuthResult: any, ids: string) => boolean
|
|
1526
|
+
getAdditionalFilter?: (clientAuthResult: any, term: any) => Filter | undefined
|
|
1526
1527
|
}
|
|
1527
1528
|
|
|
1528
1529
|
type SampleType = {
|
|
@@ -1545,7 +1546,7 @@ type Tw = {
|
|
|
1545
1546
|
/** short hand for using either id (dict term) or term{} */
|
|
1546
1547
|
id?: string
|
|
1547
1548
|
term?: object
|
|
1548
|
-
q:
|
|
1549
|
+
q: unknown
|
|
1549
1550
|
/** quick fix for generating URL links in mds3 tk sample table! adhoc design. may move to tw.term.baseURL and not specific to mds3 tk
|
|
1550
1551
|
*/
|
|
1551
1552
|
baseURL?: string
|
|
@@ -14,6 +14,11 @@ export type CategoriesRequest = {
|
|
|
14
14
|
currentGeneNames?: string[]
|
|
15
15
|
/** optional property added by mds3 tk, to limit to cases mutated in this region */
|
|
16
16
|
rglst?: any
|
|
17
|
+
__protected__?: {
|
|
18
|
+
sessionId?: string
|
|
19
|
+
clientAuthResults?: any
|
|
20
|
+
ignoredTermIds?: any
|
|
21
|
+
}
|
|
17
22
|
}
|
|
18
23
|
|
|
19
24
|
interface Entries {
|
|
@@ -12,8 +12,26 @@ export type TermdbSingleSampleMutationRequest = {
|
|
|
12
12
|
type ValidResponse = {
|
|
13
13
|
/** List of mutation data points from this sample TODO change to type of M elements */
|
|
14
14
|
mlst: object[]
|
|
15
|
-
/** */
|
|
15
|
+
/** total number of items for each dt, useful to indicate snvindel limited to 10k for a hypermutator */
|
|
16
16
|
dt2total?: { dt: number; total: number }[]
|
|
17
|
+
/** this declares alternative data for some dt, e.g. a gdc case has cnv results from both snp array and wgs
|
|
18
|
+
key: dt value
|
|
19
|
+
value: array of objects, each is a distinct set of data points for this dt
|
|
20
|
+
on ui, selecting an object will allow to show this data in disco plot
|
|
21
|
+
each is identified by either nameHtml or name
|
|
22
|
+
*/
|
|
23
|
+
alternativeDataByDt?: {
|
|
24
|
+
[index: number]: {
|
|
25
|
+
/** hyperlink */
|
|
26
|
+
nameHtml?: string
|
|
27
|
+
/** name in text */
|
|
28
|
+
name?: string
|
|
29
|
+
/** one set of data must have this flag set to true to indicate its data is already present in ValidResponse.mlst */
|
|
30
|
+
inuse?: boolean
|
|
31
|
+
/** required list of events from this data */
|
|
32
|
+
mlst: object[]
|
|
33
|
+
}[]
|
|
34
|
+
}
|
|
17
35
|
}
|
|
18
36
|
|
|
19
37
|
export type TermdbSingleSampleMutationResponse = ErrorResponse | ValidResponse
|
package/src/terms/geneVariant.ts
CHANGED
|
@@ -20,7 +20,7 @@ export type GvCustomGsQ = GvBaseQ & { type: 'custom-groupset'; customset: BaseGr
|
|
|
20
20
|
export type GvQ = GvValuesQ | GvPredefinedGsQ | GvCustomGsQ
|
|
21
21
|
|
|
22
22
|
// term types
|
|
23
|
-
|
|
23
|
+
type Gene = {
|
|
24
24
|
kind: 'gene'
|
|
25
25
|
gene: string
|
|
26
26
|
// chr,start,stop should exist together as a separate type called
|
|
@@ -31,14 +31,22 @@ export type GvGene = {
|
|
|
31
31
|
stop?: number
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
type Coord = {
|
|
35
35
|
kind: 'coord'
|
|
36
36
|
chr: string
|
|
37
37
|
start: number
|
|
38
38
|
stop: number
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
type
|
|
41
|
+
type GvGeneTerm = BaseTerm & (Gene | Coord)
|
|
42
|
+
|
|
43
|
+
// including (Gene | Coord) for backwards compatibility
|
|
44
|
+
// with older geneVariant term structure
|
|
45
|
+
type GvBaseTerm = BaseTerm &
|
|
46
|
+
(Gene | Coord) & {
|
|
47
|
+
type: 'geneVariant'
|
|
48
|
+
genes: GvGeneTerm[]
|
|
49
|
+
}
|
|
42
50
|
|
|
43
51
|
export type RawGvTerm = GvBaseTerm & {
|
|
44
52
|
groupsetting?: TermGroupSetting
|