@sjcrh/proteinpaint-types 2.79.7-1 → 2.79.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/package.json +1 -1
- package/src/dataset.ts +40 -28
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -690,6 +690,9 @@ type SelectCohortEntry = {
|
|
|
690
690
|
values: SelectCohortValuesEntry[]
|
|
691
691
|
description?: string
|
|
692
692
|
asterisk?: string
|
|
693
|
+
//The profile has clearOnChange. The terms used in the plots are not always the same for the profile.
|
|
694
|
+
//Therefore when switching cohorts, it is necessary to delete the plots opened and the global filter
|
|
695
|
+
clearOnChange?: { [index: string]: boolean }
|
|
693
696
|
}
|
|
694
697
|
|
|
695
698
|
type MissingAccess = {
|
|
@@ -990,21 +993,6 @@ type Termdb = {
|
|
|
990
993
|
/** in development!
|
|
991
994
|
* Supports the About tab in mass UI
|
|
992
995
|
*/
|
|
993
|
-
about?: {
|
|
994
|
-
/** Customization for the tab */
|
|
995
|
-
tab?: {
|
|
996
|
-
/** show in a specific order of tabs */
|
|
997
|
-
order?: number
|
|
998
|
-
/** label appearing in the top row in upper case */
|
|
999
|
-
topLabel?: string
|
|
1000
|
-
/** biggest label appearing in the middle row in upper case */
|
|
1001
|
-
midLabel?: string
|
|
1002
|
-
/** label appearing in the bottom row*/
|
|
1003
|
-
btmLabel?: string
|
|
1004
|
-
}
|
|
1005
|
-
/** html code */
|
|
1006
|
-
html: string
|
|
1007
|
-
}
|
|
1008
996
|
hasSampleAncestry?: boolean
|
|
1009
997
|
sampleTypes?: SampleType[]
|
|
1010
998
|
|
|
@@ -1086,20 +1074,7 @@ type AssayAvailability = {
|
|
|
1086
1074
|
|
|
1087
1075
|
//Shared with genome.ts
|
|
1088
1076
|
export type Cohort = {
|
|
1089
|
-
hideGroupsTab?: boolean
|
|
1090
|
-
tabs?: { [index: string]: string } //Customizes tab top label
|
|
1091
|
-
/** customize the default chart to open on mass ui when there's no charts. if missing it opens dictionary ui */
|
|
1092
|
-
defaultChartType?: string
|
|
1093
1077
|
allowedChartTypes?: string[]
|
|
1094
|
-
hiddenChartTypes?: string[]
|
|
1095
|
-
renamedChartTypes?: { singleCellPlot?: string; sampleScatter?: string }
|
|
1096
|
-
mutationset?: MutationSet[]
|
|
1097
|
-
db: FileObj
|
|
1098
|
-
termdb: Termdb
|
|
1099
|
-
scatterplots?: Scatterplots
|
|
1100
|
-
matrixplots?: MatrixPlots
|
|
1101
|
-
/** optional title of this ds, if missing use ds.label. shown on mass nav header. use blank string to not to show a label*/
|
|
1102
|
-
title?: Title
|
|
1103
1078
|
cumburden?: {
|
|
1104
1079
|
files: {
|
|
1105
1080
|
fit: string
|
|
@@ -1107,6 +1082,43 @@ export type Cohort = {
|
|
|
1107
1082
|
sample: string
|
|
1108
1083
|
}
|
|
1109
1084
|
}
|
|
1085
|
+
db: FileObj
|
|
1086
|
+
/** customize the default chart to open on mass ui when there's no charts. if missing it opens dictionary ui */
|
|
1087
|
+
defaultChartType?: string
|
|
1088
|
+
hiddenChartTypes?: string[]
|
|
1089
|
+
massNav?: MassNav
|
|
1090
|
+
matrixplots?: MatrixPlots
|
|
1091
|
+
mutationset?: MutationSet[]
|
|
1092
|
+
renamedChartTypes?: { singleCellPlot?: string; sampleScatter?: string }
|
|
1093
|
+
scatterplots?: Scatterplots
|
|
1094
|
+
termdb: Termdb
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/** Customizations specific to the mass nav component */
|
|
1098
|
+
type MassNav = {
|
|
1099
|
+
/** optional title of this ds, if missing use ds.label. shown on mass nav header.
|
|
1100
|
+
* use blank string to not to show a label*/
|
|
1101
|
+
title?: Title
|
|
1102
|
+
/** Customization for the tabs*/
|
|
1103
|
+
tabs?: {
|
|
1104
|
+
/** about, charts, groups, and fitler */
|
|
1105
|
+
[index: string]: {
|
|
1106
|
+
/** show in a specific order of tabs */
|
|
1107
|
+
order?: number
|
|
1108
|
+
/** label appearing in the top row in upper case */
|
|
1109
|
+
top?: string
|
|
1110
|
+
/** biggest label appearing in the middle row in upper case */
|
|
1111
|
+
mid?: string
|
|
1112
|
+
/** label appearing in the bottom row*/
|
|
1113
|
+
btm?: string
|
|
1114
|
+
/** if true, does not show the tab */
|
|
1115
|
+
hide?: boolean
|
|
1116
|
+
/** html code, specifically for the about tab
|
|
1117
|
+
* maybe used for other tabs as well.
|
|
1118
|
+
*/
|
|
1119
|
+
html?: string
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1110
1122
|
}
|
|
1111
1123
|
|
|
1112
1124
|
type Title = {
|