@sjcrh/proteinpaint-types 2.123.0 → 2.124.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/package.json +1 -1
- package/src/dataset.ts +11 -6
- package/src/genome.ts +6 -0
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -607,6 +607,13 @@ type CnvSegment = {
|
|
|
607
607
|
- for others using mayGetGeneVariantData(), this is always disabled, as request won't have this flag
|
|
608
608
|
*/
|
|
609
609
|
requiresHardcodeCnvOnlyFlag?: true
|
|
610
|
+
|
|
611
|
+
/** CNV cutoffs (such as cnvGainCutoff, cnvLossCutoff, cnvMaxLength) that are applied to specific genes */
|
|
612
|
+
cnvCutoffsByGene?: {
|
|
613
|
+
[geneName: string]: {
|
|
614
|
+
[key: string]: any
|
|
615
|
+
}
|
|
616
|
+
}
|
|
610
617
|
}
|
|
611
618
|
|
|
612
619
|
/*
|
|
@@ -1172,9 +1179,12 @@ type Matrix = {
|
|
|
1172
1179
|
settings?: MatrixSettings
|
|
1173
1180
|
/** matrix-specific mclass override? */
|
|
1174
1181
|
mclass?: Mclass
|
|
1175
|
-
|
|
1182
|
+
/** filter to hide entire legend group, e.g. hide all CNV */
|
|
1176
1183
|
legendGrpFilter?: any
|
|
1184
|
+
/** filter to hide categories or mclass, e.g. hide male, hide MISSENSE */
|
|
1177
1185
|
legendValueFilter?: any
|
|
1186
|
+
/** matrix criteria for a CNV alteration */
|
|
1187
|
+
cnvCutoffs?: any
|
|
1178
1188
|
}
|
|
1179
1189
|
|
|
1180
1190
|
// specific hierCluster type settings, should be named as "dataTYpe + Cluster"
|
|
@@ -1970,11 +1980,6 @@ export type Mds3 = BaseMds & {
|
|
|
1970
1980
|
// !!! TODO: improve these type definitions below !!!
|
|
1971
1981
|
getHostHeaders?: (q?: any) => any
|
|
1972
1982
|
serverconfigFeatures?: any
|
|
1973
|
-
customTwQByType?: {
|
|
1974
|
-
[termType: string]: {
|
|
1975
|
-
[key: string]: any
|
|
1976
|
-
}
|
|
1977
|
-
}
|
|
1978
1983
|
getHealth?: (ds: any) => {
|
|
1979
1984
|
[key: string]: any
|
|
1980
1985
|
}
|
package/src/genome.ts
CHANGED
|
@@ -19,6 +19,12 @@ type TermDbs = {
|
|
|
19
19
|
type TermDbsEntry = {
|
|
20
20
|
label: string
|
|
21
21
|
cohort: Cohort
|
|
22
|
+
/** list of geneset groups in db; required for geneORA and gsea
|
|
23
|
+
later allow ds override so ds can enable/disable some genesets..
|
|
24
|
+
*/
|
|
25
|
+
analysisGenesetGroups: { label: string; value: string }[]
|
|
26
|
+
/** required for gsea */
|
|
27
|
+
geneORAparam: { minCutoff: number; maxCutoff: number }
|
|
22
28
|
}
|
|
23
29
|
|
|
24
30
|
type DbStatement = {
|