@jbrowse/plugin-wiggle 4.0.2 → 4.0.4
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/esm/LinearWiggleDisplay/model.d.ts +25 -47
- package/esm/LinearWiggleDisplay/model.js +20 -25
- package/esm/MultiLinearWiggleDisplay/model.d.ts +71 -31
- package/esm/MultiLinearWiggleDisplay/model.js +22 -20
- package/esm/getMultiWiggleSourcesAutorun.d.ts +1 -0
- package/esm/getMultiWiggleSourcesAutorun.js +3 -0
- package/esm/getQuantitativeStatsAutorun.d.ts +1 -0
- package/esm/getQuantitativeStatsAutorun.js +3 -0
- package/esm/shared/SharedWiggleMixin.d.ts +22 -4
- package/esm/shared/SharedWiggleMixin.js +31 -20
- package/package.json +7 -7
|
@@ -156,6 +156,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
156
156
|
}> | null;
|
|
157
157
|
readonly adapterConfig: any;
|
|
158
158
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
159
|
+
readonly isMinimized: boolean;
|
|
159
160
|
readonly parentDisplay: any;
|
|
160
161
|
readonly effectiveRpcDriverName: any;
|
|
161
162
|
} & {
|
|
@@ -212,6 +213,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
212
213
|
}> | null;
|
|
213
214
|
readonly adapterConfig: any;
|
|
214
215
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
216
|
+
readonly isMinimized: boolean;
|
|
215
217
|
readonly parentDisplay: any;
|
|
216
218
|
readonly effectiveRpcDriverName: any;
|
|
217
219
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -265,6 +267,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
265
267
|
}> | null;
|
|
266
268
|
readonly adapterConfig: any;
|
|
267
269
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
270
|
+
readonly isMinimized: boolean;
|
|
268
271
|
readonly parentDisplay: any;
|
|
269
272
|
readonly effectiveRpcDriverName: any;
|
|
270
273
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -546,6 +549,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
546
549
|
}> | null;
|
|
547
550
|
readonly adapterConfig: any;
|
|
548
551
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
552
|
+
readonly isMinimized: boolean;
|
|
549
553
|
readonly parentDisplay: any;
|
|
550
554
|
readonly effectiveRpcDriverName: any;
|
|
551
555
|
} & {
|
|
@@ -602,6 +606,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
602
606
|
}> | null;
|
|
603
607
|
readonly adapterConfig: any;
|
|
604
608
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
609
|
+
readonly isMinimized: boolean;
|
|
605
610
|
readonly parentDisplay: any;
|
|
606
611
|
readonly effectiveRpcDriverName: any;
|
|
607
612
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -655,6 +660,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
655
660
|
}> | null;
|
|
656
661
|
readonly adapterConfig: any;
|
|
657
662
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
663
|
+
readonly isMinimized: boolean;
|
|
658
664
|
readonly parentDisplay: any;
|
|
659
665
|
readonly effectiveRpcDriverName: any;
|
|
660
666
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -881,6 +887,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
881
887
|
}> | null;
|
|
882
888
|
readonly adapterConfig: any;
|
|
883
889
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
890
|
+
readonly isMinimized: boolean;
|
|
884
891
|
readonly parentDisplay: any;
|
|
885
892
|
readonly effectiveRpcDriverName: any;
|
|
886
893
|
} & {
|
|
@@ -937,6 +944,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
937
944
|
}> | null;
|
|
938
945
|
readonly adapterConfig: any;
|
|
939
946
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
947
|
+
readonly isMinimized: boolean;
|
|
940
948
|
readonly parentDisplay: any;
|
|
941
949
|
readonly effectiveRpcDriverName: any;
|
|
942
950
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -990,6 +998,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
990
998
|
}> | null;
|
|
991
999
|
readonly adapterConfig: any;
|
|
992
1000
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1001
|
+
readonly isMinimized: boolean;
|
|
993
1002
|
readonly parentDisplay: any;
|
|
994
1003
|
readonly effectiveRpcDriverName: any;
|
|
995
1004
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -1133,13 +1142,22 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
1133
1142
|
readonly minScore: number;
|
|
1134
1143
|
} & {
|
|
1135
1144
|
readonly adapterCapabilities: string[];
|
|
1136
|
-
readonly rendererConfig:
|
|
1145
|
+
readonly rendererConfig: {
|
|
1146
|
+
scaleType: string;
|
|
1147
|
+
filled: any;
|
|
1148
|
+
displayCrossHatches: any;
|
|
1149
|
+
summaryScoreMode: any;
|
|
1150
|
+
color: any;
|
|
1151
|
+
negColor: any;
|
|
1152
|
+
posColor: any;
|
|
1153
|
+
minSize: any;
|
|
1154
|
+
};
|
|
1137
1155
|
readonly autoscaleType: string;
|
|
1138
1156
|
} & {
|
|
1139
1157
|
readonly domain: number[] | undefined;
|
|
1140
1158
|
} & {
|
|
1141
|
-
readonly filled:
|
|
1142
|
-
readonly summaryScoreModeSetting:
|
|
1159
|
+
readonly filled: any;
|
|
1160
|
+
readonly summaryScoreModeSetting: any;
|
|
1143
1161
|
readonly scaleOpts: {
|
|
1144
1162
|
domain: number[] | undefined;
|
|
1145
1163
|
stats: {
|
|
@@ -1153,7 +1171,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
1153
1171
|
inverted: boolean;
|
|
1154
1172
|
};
|
|
1155
1173
|
readonly canHaveFill: boolean;
|
|
1156
|
-
readonly displayCrossHatchesSetting:
|
|
1174
|
+
readonly displayCrossHatchesSetting: any;
|
|
1157
1175
|
readonly hasResolution: boolean;
|
|
1158
1176
|
readonly hasGlobalStats: boolean;
|
|
1159
1177
|
} & {
|
|
@@ -1229,13 +1247,6 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
1229
1247
|
})[];
|
|
1230
1248
|
})[];
|
|
1231
1249
|
wiggleOnlyTrackMenuItems(): ({
|
|
1232
|
-
label: string;
|
|
1233
|
-
type: string;
|
|
1234
|
-
checked: boolean;
|
|
1235
|
-
onClick: () => void;
|
|
1236
|
-
subMenu?: undefined;
|
|
1237
|
-
icon?: undefined;
|
|
1238
|
-
} | {
|
|
1239
1250
|
label: string;
|
|
1240
1251
|
subMenu: {
|
|
1241
1252
|
label: string;
|
|
@@ -1243,27 +1254,14 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
1243
1254
|
checked: boolean;
|
|
1244
1255
|
onClick: () => void;
|
|
1245
1256
|
}[];
|
|
1246
|
-
type?: undefined;
|
|
1247
|
-
checked?: undefined;
|
|
1248
|
-
onClick?: undefined;
|
|
1249
1257
|
icon?: undefined;
|
|
1258
|
+
onClick?: undefined;
|
|
1250
1259
|
} | {
|
|
1251
1260
|
label: string;
|
|
1252
1261
|
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
1253
1262
|
muiName: string;
|
|
1254
1263
|
};
|
|
1255
1264
|
onClick: () => void;
|
|
1256
|
-
type?: undefined;
|
|
1257
|
-
checked?: undefined;
|
|
1258
|
-
subMenu?: undefined;
|
|
1259
|
-
} | {
|
|
1260
|
-
type: string;
|
|
1261
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
1262
|
-
muiName: string;
|
|
1263
|
-
};
|
|
1264
|
-
label: string;
|
|
1265
|
-
checked: boolean;
|
|
1266
|
-
onClick: () => void;
|
|
1267
1265
|
subMenu?: undefined;
|
|
1268
1266
|
})[];
|
|
1269
1267
|
} & {
|
|
@@ -1293,13 +1291,6 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
1293
1291
|
onClick: () => void;
|
|
1294
1292
|
subMenu?: undefined;
|
|
1295
1293
|
})[];
|
|
1296
|
-
} | {
|
|
1297
|
-
label: string;
|
|
1298
|
-
type: string;
|
|
1299
|
-
checked: boolean;
|
|
1300
|
-
onClick: () => void;
|
|
1301
|
-
subMenu?: undefined;
|
|
1302
|
-
icon?: undefined;
|
|
1303
1294
|
} | {
|
|
1304
1295
|
label: string;
|
|
1305
1296
|
subMenu: {
|
|
@@ -1308,27 +1299,14 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
1308
1299
|
checked: boolean;
|
|
1309
1300
|
onClick: () => void;
|
|
1310
1301
|
}[];
|
|
1311
|
-
type?: undefined;
|
|
1312
|
-
checked?: undefined;
|
|
1313
|
-
onClick?: undefined;
|
|
1314
1302
|
icon?: undefined;
|
|
1303
|
+
onClick?: undefined;
|
|
1315
1304
|
} | {
|
|
1316
1305
|
label: string;
|
|
1317
1306
|
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
1318
1307
|
muiName: string;
|
|
1319
1308
|
};
|
|
1320
1309
|
onClick: () => void;
|
|
1321
|
-
type?: undefined;
|
|
1322
|
-
checked?: undefined;
|
|
1323
|
-
subMenu?: undefined;
|
|
1324
|
-
} | {
|
|
1325
|
-
type: string;
|
|
1326
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
1327
|
-
muiName: string;
|
|
1328
|
-
};
|
|
1329
|
-
label: string;
|
|
1330
|
-
checked: boolean;
|
|
1331
|
-
onClick: () => void;
|
|
1332
1310
|
subMenu?: undefined;
|
|
1333
1311
|
} | {
|
|
1334
1312
|
label: string;
|
|
@@ -1338,7 +1316,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
|
|
|
1338
1316
|
subMenu: {
|
|
1339
1317
|
label: string;
|
|
1340
1318
|
type: string;
|
|
1341
|
-
checked:
|
|
1319
|
+
checked: any;
|
|
1342
1320
|
onClick: () => void;
|
|
1343
1321
|
}[];
|
|
1344
1322
|
})[];
|
|
@@ -140,18 +140,6 @@ function stateModelFactory(pluginManager, configSchema) {
|
|
|
140
140
|
},
|
|
141
141
|
wiggleOnlyTrackMenuItems() {
|
|
142
142
|
return [
|
|
143
|
-
...(self.graphType
|
|
144
|
-
? [
|
|
145
|
-
{
|
|
146
|
-
label: 'Inverted',
|
|
147
|
-
type: 'checkbox',
|
|
148
|
-
checked: self.inverted,
|
|
149
|
-
onClick: () => {
|
|
150
|
-
self.setInverted(!self.inverted);
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
]
|
|
154
|
-
: []),
|
|
155
143
|
...(self.canHaveFill
|
|
156
144
|
? [
|
|
157
145
|
{
|
|
@@ -195,19 +183,6 @@ function stateModelFactory(pluginManager, configSchema) {
|
|
|
195
183
|
]);
|
|
196
184
|
},
|
|
197
185
|
},
|
|
198
|
-
...(self.graphType
|
|
199
|
-
? [
|
|
200
|
-
{
|
|
201
|
-
type: 'checkbox',
|
|
202
|
-
icon: VisibilityIcon,
|
|
203
|
-
label: 'Show cross hatches',
|
|
204
|
-
checked: self.displayCrossHatchesSetting,
|
|
205
|
-
onClick: () => {
|
|
206
|
-
self.toggleCrossHatches();
|
|
207
|
-
},
|
|
208
|
-
},
|
|
209
|
-
]
|
|
210
|
-
: []),
|
|
211
186
|
];
|
|
212
187
|
},
|
|
213
188
|
};
|
|
@@ -228,6 +203,26 @@ function stateModelFactory(pluginManager, configSchema) {
|
|
|
228
203
|
self.setShowTooltips(!self.showTooltipsEnabled);
|
|
229
204
|
},
|
|
230
205
|
},
|
|
206
|
+
...(self.graphType
|
|
207
|
+
? [
|
|
208
|
+
{
|
|
209
|
+
label: 'Show inverted',
|
|
210
|
+
type: 'checkbox',
|
|
211
|
+
checked: self.inverted,
|
|
212
|
+
onClick: () => {
|
|
213
|
+
self.setInverted(!self.inverted);
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
label: 'Show cross hatches',
|
|
218
|
+
type: 'checkbox',
|
|
219
|
+
checked: self.displayCrossHatchesSetting,
|
|
220
|
+
onClick: () => {
|
|
221
|
+
self.toggleCrossHatches();
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
]
|
|
225
|
+
: []),
|
|
231
226
|
],
|
|
232
227
|
},
|
|
233
228
|
...self.wiggleOnlyTrackMenuItems(),
|
|
@@ -159,6 +159,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
159
159
|
}> | null;
|
|
160
160
|
readonly adapterConfig: any;
|
|
161
161
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
162
|
+
readonly isMinimized: boolean;
|
|
162
163
|
readonly parentDisplay: any;
|
|
163
164
|
readonly effectiveRpcDriverName: any;
|
|
164
165
|
} & {
|
|
@@ -215,6 +216,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
215
216
|
}> | null;
|
|
216
217
|
readonly adapterConfig: any;
|
|
217
218
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
219
|
+
readonly isMinimized: boolean;
|
|
218
220
|
readonly parentDisplay: any;
|
|
219
221
|
readonly effectiveRpcDriverName: any;
|
|
220
222
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -268,6 +270,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
268
270
|
}> | null;
|
|
269
271
|
readonly adapterConfig: any;
|
|
270
272
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
273
|
+
readonly isMinimized: boolean;
|
|
271
274
|
readonly parentDisplay: any;
|
|
272
275
|
readonly effectiveRpcDriverName: any;
|
|
273
276
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -549,6 +552,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
549
552
|
}> | null;
|
|
550
553
|
readonly adapterConfig: any;
|
|
551
554
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
555
|
+
readonly isMinimized: boolean;
|
|
552
556
|
readonly parentDisplay: any;
|
|
553
557
|
readonly effectiveRpcDriverName: any;
|
|
554
558
|
} & {
|
|
@@ -605,6 +609,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
605
609
|
}> | null;
|
|
606
610
|
readonly adapterConfig: any;
|
|
607
611
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
612
|
+
readonly isMinimized: boolean;
|
|
608
613
|
readonly parentDisplay: any;
|
|
609
614
|
readonly effectiveRpcDriverName: any;
|
|
610
615
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -658,6 +663,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
658
663
|
}> | null;
|
|
659
664
|
readonly adapterConfig: any;
|
|
660
665
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
666
|
+
readonly isMinimized: boolean;
|
|
661
667
|
readonly parentDisplay: any;
|
|
662
668
|
readonly effectiveRpcDriverName: any;
|
|
663
669
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -884,6 +890,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
884
890
|
}> | null;
|
|
885
891
|
readonly adapterConfig: any;
|
|
886
892
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
893
|
+
readonly isMinimized: boolean;
|
|
887
894
|
readonly parentDisplay: any;
|
|
888
895
|
readonly effectiveRpcDriverName: any;
|
|
889
896
|
} & {
|
|
@@ -940,6 +947,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
940
947
|
}> | null;
|
|
941
948
|
readonly adapterConfig: any;
|
|
942
949
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
950
|
+
readonly isMinimized: boolean;
|
|
943
951
|
readonly parentDisplay: any;
|
|
944
952
|
readonly effectiveRpcDriverName: any;
|
|
945
953
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -993,6 +1001,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
993
1001
|
}> | null;
|
|
994
1002
|
readonly adapterConfig: any;
|
|
995
1003
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1004
|
+
readonly isMinimized: boolean;
|
|
996
1005
|
readonly parentDisplay: any;
|
|
997
1006
|
readonly effectiveRpcDriverName: any;
|
|
998
1007
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -1136,13 +1145,22 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
1136
1145
|
readonly minScore: number;
|
|
1137
1146
|
} & {
|
|
1138
1147
|
readonly adapterCapabilities: string[];
|
|
1139
|
-
readonly rendererConfig:
|
|
1148
|
+
readonly rendererConfig: {
|
|
1149
|
+
scaleType: string;
|
|
1150
|
+
filled: any;
|
|
1151
|
+
displayCrossHatches: any;
|
|
1152
|
+
summaryScoreMode: any;
|
|
1153
|
+
color: any;
|
|
1154
|
+
negColor: any;
|
|
1155
|
+
posColor: any;
|
|
1156
|
+
minSize: any;
|
|
1157
|
+
};
|
|
1140
1158
|
readonly autoscaleType: string;
|
|
1141
1159
|
} & {
|
|
1142
1160
|
readonly domain: number[] | undefined;
|
|
1143
1161
|
} & {
|
|
1144
|
-
readonly filled:
|
|
1145
|
-
readonly summaryScoreModeSetting:
|
|
1162
|
+
readonly filled: any;
|
|
1163
|
+
readonly summaryScoreModeSetting: any;
|
|
1146
1164
|
readonly scaleOpts: {
|
|
1147
1165
|
domain: number[] | undefined;
|
|
1148
1166
|
stats: {
|
|
@@ -1156,7 +1174,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
1156
1174
|
inverted: boolean;
|
|
1157
1175
|
};
|
|
1158
1176
|
readonly canHaveFill: boolean;
|
|
1159
|
-
readonly displayCrossHatchesSetting:
|
|
1177
|
+
readonly displayCrossHatchesSetting: any;
|
|
1160
1178
|
readonly hasResolution: boolean;
|
|
1161
1179
|
readonly hasGlobalStats: boolean;
|
|
1162
1180
|
} & {
|
|
@@ -1449,6 +1467,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
1449
1467
|
}> | null;
|
|
1450
1468
|
readonly adapterConfig: any;
|
|
1451
1469
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1470
|
+
readonly isMinimized: boolean;
|
|
1452
1471
|
readonly parentDisplay: any;
|
|
1453
1472
|
readonly effectiveRpcDriverName: any;
|
|
1454
1473
|
} & {
|
|
@@ -1505,6 +1524,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
1505
1524
|
}> | null;
|
|
1506
1525
|
readonly adapterConfig: any;
|
|
1507
1526
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1527
|
+
readonly isMinimized: boolean;
|
|
1508
1528
|
readonly parentDisplay: any;
|
|
1509
1529
|
readonly effectiveRpcDriverName: any;
|
|
1510
1530
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -1558,6 +1578,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
1558
1578
|
}> | null;
|
|
1559
1579
|
readonly adapterConfig: any;
|
|
1560
1580
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1581
|
+
readonly isMinimized: boolean;
|
|
1561
1582
|
readonly parentDisplay: any;
|
|
1562
1583
|
readonly effectiveRpcDriverName: any;
|
|
1563
1584
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -1839,6 +1860,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
1839
1860
|
}> | null;
|
|
1840
1861
|
readonly adapterConfig: any;
|
|
1841
1862
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1863
|
+
readonly isMinimized: boolean;
|
|
1842
1864
|
readonly parentDisplay: any;
|
|
1843
1865
|
readonly effectiveRpcDriverName: any;
|
|
1844
1866
|
} & {
|
|
@@ -1895,6 +1917,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
1895
1917
|
}> | null;
|
|
1896
1918
|
readonly adapterConfig: any;
|
|
1897
1919
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1920
|
+
readonly isMinimized: boolean;
|
|
1898
1921
|
readonly parentDisplay: any;
|
|
1899
1922
|
readonly effectiveRpcDriverName: any;
|
|
1900
1923
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -1948,6 +1971,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
1948
1971
|
}> | null;
|
|
1949
1972
|
readonly adapterConfig: any;
|
|
1950
1973
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1974
|
+
readonly isMinimized: boolean;
|
|
1951
1975
|
readonly parentDisplay: any;
|
|
1952
1976
|
readonly effectiveRpcDriverName: any;
|
|
1953
1977
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -2174,6 +2198,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
2174
2198
|
}> | null;
|
|
2175
2199
|
readonly adapterConfig: any;
|
|
2176
2200
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
2201
|
+
readonly isMinimized: boolean;
|
|
2177
2202
|
readonly parentDisplay: any;
|
|
2178
2203
|
readonly effectiveRpcDriverName: any;
|
|
2179
2204
|
} & {
|
|
@@ -2230,6 +2255,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
2230
2255
|
}> | null;
|
|
2231
2256
|
readonly adapterConfig: any;
|
|
2232
2257
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
2258
|
+
readonly isMinimized: boolean;
|
|
2233
2259
|
readonly parentDisplay: any;
|
|
2234
2260
|
readonly effectiveRpcDriverName: any;
|
|
2235
2261
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -2283,6 +2309,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
2283
2309
|
}> | null;
|
|
2284
2310
|
readonly adapterConfig: any;
|
|
2285
2311
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
2312
|
+
readonly isMinimized: boolean;
|
|
2286
2313
|
readonly parentDisplay: any;
|
|
2287
2314
|
readonly effectiveRpcDriverName: any;
|
|
2288
2315
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -2426,13 +2453,22 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
2426
2453
|
readonly minScore: number;
|
|
2427
2454
|
} & {
|
|
2428
2455
|
readonly adapterCapabilities: string[];
|
|
2429
|
-
readonly rendererConfig:
|
|
2456
|
+
readonly rendererConfig: {
|
|
2457
|
+
scaleType: string;
|
|
2458
|
+
filled: any;
|
|
2459
|
+
displayCrossHatches: any;
|
|
2460
|
+
summaryScoreMode: any;
|
|
2461
|
+
color: any;
|
|
2462
|
+
negColor: any;
|
|
2463
|
+
posColor: any;
|
|
2464
|
+
minSize: any;
|
|
2465
|
+
};
|
|
2430
2466
|
readonly autoscaleType: string;
|
|
2431
2467
|
} & {
|
|
2432
2468
|
readonly domain: number[] | undefined;
|
|
2433
2469
|
} & {
|
|
2434
|
-
readonly filled:
|
|
2435
|
-
readonly summaryScoreModeSetting:
|
|
2470
|
+
readonly filled: any;
|
|
2471
|
+
readonly summaryScoreModeSetting: any;
|
|
2436
2472
|
readonly scaleOpts: {
|
|
2437
2473
|
domain: number[] | undefined;
|
|
2438
2474
|
stats: {
|
|
@@ -2446,7 +2482,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
2446
2482
|
inverted: boolean;
|
|
2447
2483
|
};
|
|
2448
2484
|
readonly canHaveFill: boolean;
|
|
2449
|
-
readonly displayCrossHatchesSetting:
|
|
2485
|
+
readonly displayCrossHatchesSetting: any;
|
|
2450
2486
|
readonly hasResolution: boolean;
|
|
2451
2487
|
readonly hasGlobalStats: boolean;
|
|
2452
2488
|
} & {
|
|
@@ -2679,6 +2715,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
2679
2715
|
}> | null;
|
|
2680
2716
|
readonly adapterConfig: any;
|
|
2681
2717
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
2718
|
+
readonly isMinimized: boolean;
|
|
2682
2719
|
readonly parentDisplay: any;
|
|
2683
2720
|
readonly effectiveRpcDriverName: any;
|
|
2684
2721
|
} & {
|
|
@@ -2735,6 +2772,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
2735
2772
|
}> | null;
|
|
2736
2773
|
readonly adapterConfig: any;
|
|
2737
2774
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
2775
|
+
readonly isMinimized: boolean;
|
|
2738
2776
|
readonly parentDisplay: any;
|
|
2739
2777
|
readonly effectiveRpcDriverName: any;
|
|
2740
2778
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -2788,6 +2826,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
2788
2826
|
}> | null;
|
|
2789
2827
|
readonly adapterConfig: any;
|
|
2790
2828
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
2829
|
+
readonly isMinimized: boolean;
|
|
2791
2830
|
readonly parentDisplay: any;
|
|
2792
2831
|
readonly effectiveRpcDriverName: any;
|
|
2793
2832
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -3069,6 +3108,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3069
3108
|
}> | null;
|
|
3070
3109
|
readonly adapterConfig: any;
|
|
3071
3110
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
3111
|
+
readonly isMinimized: boolean;
|
|
3072
3112
|
readonly parentDisplay: any;
|
|
3073
3113
|
readonly effectiveRpcDriverName: any;
|
|
3074
3114
|
} & {
|
|
@@ -3125,6 +3165,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3125
3165
|
}> | null;
|
|
3126
3166
|
readonly adapterConfig: any;
|
|
3127
3167
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
3168
|
+
readonly isMinimized: boolean;
|
|
3128
3169
|
readonly parentDisplay: any;
|
|
3129
3170
|
readonly effectiveRpcDriverName: any;
|
|
3130
3171
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -3178,6 +3219,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3178
3219
|
}> | null;
|
|
3179
3220
|
readonly adapterConfig: any;
|
|
3180
3221
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
3222
|
+
readonly isMinimized: boolean;
|
|
3181
3223
|
readonly parentDisplay: any;
|
|
3182
3224
|
readonly effectiveRpcDriverName: any;
|
|
3183
3225
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -3404,6 +3446,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3404
3446
|
}> | null;
|
|
3405
3447
|
readonly adapterConfig: any;
|
|
3406
3448
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
3449
|
+
readonly isMinimized: boolean;
|
|
3407
3450
|
readonly parentDisplay: any;
|
|
3408
3451
|
readonly effectiveRpcDriverName: any;
|
|
3409
3452
|
} & {
|
|
@@ -3460,6 +3503,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3460
3503
|
}> | null;
|
|
3461
3504
|
readonly adapterConfig: any;
|
|
3462
3505
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
3506
|
+
readonly isMinimized: boolean;
|
|
3463
3507
|
readonly parentDisplay: any;
|
|
3464
3508
|
readonly effectiveRpcDriverName: any;
|
|
3465
3509
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -3513,6 +3557,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3513
3557
|
}> | null;
|
|
3514
3558
|
readonly adapterConfig: any;
|
|
3515
3559
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
3560
|
+
readonly isMinimized: boolean;
|
|
3516
3561
|
readonly parentDisplay: any;
|
|
3517
3562
|
readonly effectiveRpcDriverName: any;
|
|
3518
3563
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -3656,13 +3701,22 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3656
3701
|
readonly minScore: number;
|
|
3657
3702
|
} & {
|
|
3658
3703
|
readonly adapterCapabilities: string[];
|
|
3659
|
-
readonly rendererConfig:
|
|
3704
|
+
readonly rendererConfig: {
|
|
3705
|
+
scaleType: string;
|
|
3706
|
+
filled: any;
|
|
3707
|
+
displayCrossHatches: any;
|
|
3708
|
+
summaryScoreMode: any;
|
|
3709
|
+
color: any;
|
|
3710
|
+
negColor: any;
|
|
3711
|
+
posColor: any;
|
|
3712
|
+
minSize: any;
|
|
3713
|
+
};
|
|
3660
3714
|
readonly autoscaleType: string;
|
|
3661
3715
|
} & {
|
|
3662
3716
|
readonly domain: number[] | undefined;
|
|
3663
3717
|
} & {
|
|
3664
|
-
readonly filled:
|
|
3665
|
-
readonly summaryScoreModeSetting:
|
|
3718
|
+
readonly filled: any;
|
|
3719
|
+
readonly summaryScoreModeSetting: any;
|
|
3666
3720
|
readonly scaleOpts: {
|
|
3667
3721
|
domain: number[] | undefined;
|
|
3668
3722
|
stats: {
|
|
@@ -3676,7 +3730,7 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3676
3730
|
inverted: boolean;
|
|
3677
3731
|
};
|
|
3678
3732
|
readonly canHaveFill: boolean;
|
|
3679
|
-
readonly displayCrossHatchesSetting:
|
|
3733
|
+
readonly displayCrossHatchesSetting: any;
|
|
3680
3734
|
readonly hasResolution: boolean;
|
|
3681
3735
|
readonly hasGlobalStats: boolean;
|
|
3682
3736
|
} & {
|
|
@@ -3800,16 +3854,16 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3800
3854
|
muiName: string;
|
|
3801
3855
|
};
|
|
3802
3856
|
subMenu: {
|
|
3803
|
-
label: string;
|
|
3804
3857
|
type: string;
|
|
3805
|
-
|
|
3858
|
+
label: string;
|
|
3859
|
+
checked: any;
|
|
3806
3860
|
onClick: () => void;
|
|
3807
3861
|
}[];
|
|
3808
|
-
type?: undefined;
|
|
3809
|
-
checked?: undefined;
|
|
3810
|
-
onClick?: undefined;
|
|
3811
3862
|
} | {
|
|
3812
3863
|
label: string;
|
|
3864
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
3865
|
+
muiName: string;
|
|
3866
|
+
};
|
|
3813
3867
|
subMenu: ({
|
|
3814
3868
|
label: string;
|
|
3815
3869
|
subMenu: {
|
|
@@ -3831,10 +3885,6 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3831
3885
|
onClick: () => void;
|
|
3832
3886
|
subMenu?: undefined;
|
|
3833
3887
|
})[];
|
|
3834
|
-
icon?: undefined;
|
|
3835
|
-
type?: undefined;
|
|
3836
|
-
checked?: undefined;
|
|
3837
|
-
onClick?: undefined;
|
|
3838
3888
|
} | {
|
|
3839
3889
|
label: string;
|
|
3840
3890
|
subMenu: {
|
|
@@ -3844,16 +3894,6 @@ export declare function stateModelFactory(_pluginManager: PluginManager, configS
|
|
|
3844
3894
|
onClick: () => void;
|
|
3845
3895
|
}[];
|
|
3846
3896
|
icon?: undefined;
|
|
3847
|
-
type?: undefined;
|
|
3848
|
-
checked?: undefined;
|
|
3849
|
-
onClick?: undefined;
|
|
3850
|
-
} | {
|
|
3851
|
-
type: string;
|
|
3852
|
-
label: string;
|
|
3853
|
-
checked: boolean;
|
|
3854
|
-
onClick: () => void;
|
|
3855
|
-
icon?: undefined;
|
|
3856
|
-
subMenu?: undefined;
|
|
3857
3897
|
})[];
|
|
3858
3898
|
} & {
|
|
3859
3899
|
afterAttach(): void;
|
|
@@ -4,6 +4,7 @@ import { set1 as colors } from '@jbrowse/core/ui/colors';
|
|
|
4
4
|
import { getContainingView, getSession, max, measureText, } from '@jbrowse/core/util';
|
|
5
5
|
import { stopStopToken } from '@jbrowse/core/util/stopToken';
|
|
6
6
|
import { isAlive, types } from '@jbrowse/mobx-state-tree';
|
|
7
|
+
import EqualizerIcon from '@mui/icons-material/Equalizer';
|
|
7
8
|
import VisibilityIcon from '@mui/icons-material/Visibility';
|
|
8
9
|
import deepEqual from 'fast-deep-equal';
|
|
9
10
|
import SharedWiggleMixin from "../shared/SharedWiggleMixin.js";
|
|
@@ -267,10 +268,31 @@ export function stateModelFactory(_pluginManager, configSchema) {
|
|
|
267
268
|
self.setShowTooltips(!self.showTooltipsEnabled);
|
|
268
269
|
},
|
|
269
270
|
},
|
|
271
|
+
{
|
|
272
|
+
label: 'Show sidebar',
|
|
273
|
+
type: 'checkbox',
|
|
274
|
+
checked: self.showSidebar,
|
|
275
|
+
onClick: () => {
|
|
276
|
+
self.setShowSidebar(!self.showSidebar);
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
...(self.graphType
|
|
280
|
+
? [
|
|
281
|
+
{
|
|
282
|
+
type: 'checkbox',
|
|
283
|
+
label: 'Show cross hatches',
|
|
284
|
+
checked: self.displayCrossHatchesSetting,
|
|
285
|
+
onClick: () => {
|
|
286
|
+
self.toggleCrossHatches();
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
]
|
|
290
|
+
: []),
|
|
270
291
|
],
|
|
271
292
|
},
|
|
272
293
|
{
|
|
273
294
|
label: 'Score',
|
|
295
|
+
icon: EqualizerIcon,
|
|
274
296
|
subMenu: self.scoreTrackMenuItems(),
|
|
275
297
|
},
|
|
276
298
|
...(self.canHaveFill
|
|
@@ -309,18 +331,6 @@ export function stateModelFactory(_pluginManager, configSchema) {
|
|
|
309
331
|
},
|
|
310
332
|
]
|
|
311
333
|
: []),
|
|
312
|
-
...(self.graphType
|
|
313
|
-
? [
|
|
314
|
-
{
|
|
315
|
-
type: 'checkbox',
|
|
316
|
-
label: 'Draw cross hatches',
|
|
317
|
-
checked: self.displayCrossHatchesSetting,
|
|
318
|
-
onClick: () => {
|
|
319
|
-
self.toggleCrossHatches();
|
|
320
|
-
},
|
|
321
|
-
},
|
|
322
|
-
]
|
|
323
|
-
: []),
|
|
324
334
|
...(self.isMultiRow
|
|
325
335
|
? [
|
|
326
336
|
{
|
|
@@ -337,14 +347,6 @@ export function stateModelFactory(_pluginManager, configSchema) {
|
|
|
337
347
|
},
|
|
338
348
|
]
|
|
339
349
|
: []),
|
|
340
|
-
{
|
|
341
|
-
label: 'Show sidebar',
|
|
342
|
-
type: 'checkbox',
|
|
343
|
-
checked: self.showSidebar,
|
|
344
|
-
onClick: () => {
|
|
345
|
-
self.setShowSidebar(!self.showSidebar);
|
|
346
|
-
},
|
|
347
|
-
},
|
|
348
350
|
{
|
|
349
351
|
label: 'Edit colors/arrangement...',
|
|
350
352
|
onClick: () => {
|
|
@@ -11,6 +11,7 @@ export declare function getMultiWiggleSourcesAutorun(self: {
|
|
|
11
11
|
configuration: AnyConfigurationModel;
|
|
12
12
|
adapterConfig: AnyConfigurationModel;
|
|
13
13
|
autoscaleType: string;
|
|
14
|
+
isMinimized: boolean;
|
|
14
15
|
adapterProps: () => Record<string, unknown>;
|
|
15
16
|
setSourcesLoading: (aborter: StopToken) => void;
|
|
16
17
|
setError: (error: unknown) => void;
|
|
@@ -6,6 +6,7 @@ export declare function getQuantitativeStatsAutorun(self: {
|
|
|
6
6
|
configuration: AnyConfigurationModel;
|
|
7
7
|
adapterConfig: AnyConfigurationModel;
|
|
8
8
|
autoscaleType: string;
|
|
9
|
+
isMinimized: boolean;
|
|
9
10
|
adapterProps: () => Record<string, unknown>;
|
|
10
11
|
setStatsLoading: (token: StopToken) => void;
|
|
11
12
|
setError: (error: unknown) => void;
|
|
@@ -6,6 +6,9 @@ import { getQuantitativeStats } from "./getQuantitativeStats.js";
|
|
|
6
6
|
export function getQuantitativeStatsAutorun(self) {
|
|
7
7
|
addDisposer(self, autorun(async () => {
|
|
8
8
|
try {
|
|
9
|
+
if (self.isMinimized) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
9
12
|
if (self.quantitativeStatsReady) {
|
|
10
13
|
const view = getContainingView(self);
|
|
11
14
|
const stopToken = createStopToken();
|
|
@@ -151,6 +151,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
151
151
|
}> | null;
|
|
152
152
|
readonly adapterConfig: any;
|
|
153
153
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
154
|
+
readonly isMinimized: boolean;
|
|
154
155
|
readonly parentDisplay: any;
|
|
155
156
|
readonly effectiveRpcDriverName: any;
|
|
156
157
|
} & {
|
|
@@ -207,6 +208,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
207
208
|
}> | null;
|
|
208
209
|
readonly adapterConfig: any;
|
|
209
210
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
211
|
+
readonly isMinimized: boolean;
|
|
210
212
|
readonly parentDisplay: any;
|
|
211
213
|
readonly effectiveRpcDriverName: any;
|
|
212
214
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -260,6 +262,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
260
262
|
}> | null;
|
|
261
263
|
readonly adapterConfig: any;
|
|
262
264
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
265
|
+
readonly isMinimized: boolean;
|
|
263
266
|
readonly parentDisplay: any;
|
|
264
267
|
readonly effectiveRpcDriverName: any;
|
|
265
268
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -541,6 +544,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
541
544
|
}> | null;
|
|
542
545
|
readonly adapterConfig: any;
|
|
543
546
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
547
|
+
readonly isMinimized: boolean;
|
|
544
548
|
readonly parentDisplay: any;
|
|
545
549
|
readonly effectiveRpcDriverName: any;
|
|
546
550
|
} & {
|
|
@@ -597,6 +601,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
597
601
|
}> | null;
|
|
598
602
|
readonly adapterConfig: any;
|
|
599
603
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
604
|
+
readonly isMinimized: boolean;
|
|
600
605
|
readonly parentDisplay: any;
|
|
601
606
|
readonly effectiveRpcDriverName: any;
|
|
602
607
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -650,6 +655,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
650
655
|
}> | null;
|
|
651
656
|
readonly adapterConfig: any;
|
|
652
657
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
658
|
+
readonly isMinimized: boolean;
|
|
653
659
|
readonly parentDisplay: any;
|
|
654
660
|
readonly effectiveRpcDriverName: any;
|
|
655
661
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -876,6 +882,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
876
882
|
}> | null;
|
|
877
883
|
readonly adapterConfig: any;
|
|
878
884
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
885
|
+
readonly isMinimized: boolean;
|
|
879
886
|
readonly parentDisplay: any;
|
|
880
887
|
readonly effectiveRpcDriverName: any;
|
|
881
888
|
} & {
|
|
@@ -932,6 +939,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
932
939
|
}> | null;
|
|
933
940
|
readonly adapterConfig: any;
|
|
934
941
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
942
|
+
readonly isMinimized: boolean;
|
|
935
943
|
readonly parentDisplay: any;
|
|
936
944
|
readonly effectiveRpcDriverName: any;
|
|
937
945
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -985,6 +993,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
985
993
|
}> | null;
|
|
986
994
|
readonly adapterConfig: any;
|
|
987
995
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
996
|
+
readonly isMinimized: boolean;
|
|
988
997
|
readonly parentDisplay: any;
|
|
989
998
|
readonly effectiveRpcDriverName: any;
|
|
990
999
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -1128,13 +1137,22 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
1128
1137
|
readonly minScore: number;
|
|
1129
1138
|
} & {
|
|
1130
1139
|
readonly adapterCapabilities: string[];
|
|
1131
|
-
readonly rendererConfig:
|
|
1140
|
+
readonly rendererConfig: {
|
|
1141
|
+
scaleType: string;
|
|
1142
|
+
filled: any;
|
|
1143
|
+
displayCrossHatches: any;
|
|
1144
|
+
summaryScoreMode: any;
|
|
1145
|
+
color: any;
|
|
1146
|
+
negColor: any;
|
|
1147
|
+
posColor: any;
|
|
1148
|
+
minSize: any;
|
|
1149
|
+
};
|
|
1132
1150
|
readonly autoscaleType: string;
|
|
1133
1151
|
} & {
|
|
1134
1152
|
readonly domain: number[] | undefined;
|
|
1135
1153
|
} & {
|
|
1136
|
-
readonly filled:
|
|
1137
|
-
readonly summaryScoreModeSetting:
|
|
1154
|
+
readonly filled: any;
|
|
1155
|
+
readonly summaryScoreModeSetting: any;
|
|
1138
1156
|
readonly scaleOpts: {
|
|
1139
1157
|
domain: number[] | undefined;
|
|
1140
1158
|
stats: {
|
|
@@ -1148,7 +1166,7 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
|
|
|
1148
1166
|
inverted: boolean;
|
|
1149
1167
|
};
|
|
1150
1168
|
readonly canHaveFill: boolean;
|
|
1151
|
-
readonly displayCrossHatchesSetting:
|
|
1169
|
+
readonly displayCrossHatchesSetting: any;
|
|
1152
1170
|
readonly hasResolution: boolean;
|
|
1153
1171
|
readonly hasGlobalStats: boolean;
|
|
1154
1172
|
} & {
|
|
@@ -143,17 +143,16 @@ export default function SharedWiggleMixin(configSchema) {
|
|
|
143
143
|
},
|
|
144
144
|
get rendererConfig() {
|
|
145
145
|
const { color, displayCrossHatches, fill, minSize, negColor, posColor, summaryScoreMode, scaleType, rendererTypeName, } = self;
|
|
146
|
-
const
|
|
146
|
+
const conf = self.configuration.renderers?.[rendererTypeName];
|
|
147
147
|
return {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
...(minSize !== undefined ? { minSize } : {}),
|
|
148
|
+
scaleType: scaleType ?? readConfObject(conf, 'scaleType'),
|
|
149
|
+
filled: fill ?? readConfObject(conf, 'filled'),
|
|
150
|
+
displayCrossHatches: displayCrossHatches ?? readConfObject(conf, 'displayCrossHatches'),
|
|
151
|
+
summaryScoreMode: summaryScoreMode ?? readConfObject(conf, 'summaryScoreMode'),
|
|
152
|
+
color: color ?? readConfObject(conf, 'color'),
|
|
153
|
+
negColor: negColor ?? readConfObject(conf, 'negColor'),
|
|
154
|
+
posColor: posColor ?? readConfObject(conf, 'posColor'),
|
|
155
|
+
minSize: minSize ?? readConfObject(conf, 'minSize'),
|
|
157
156
|
};
|
|
158
157
|
},
|
|
159
158
|
get autoscaleType() {
|
|
@@ -185,12 +184,10 @@ export default function SharedWiggleMixin(configSchema) {
|
|
|
185
184
|
})
|
|
186
185
|
.views(self => ({
|
|
187
186
|
get filled() {
|
|
188
|
-
return
|
|
189
|
-
readConfObject(self.rendererConfig, 'filled'));
|
|
187
|
+
return self.rendererConfig.filled;
|
|
190
188
|
},
|
|
191
189
|
get summaryScoreModeSetting() {
|
|
192
|
-
return
|
|
193
|
-
readConfObject(self.rendererConfig, 'summaryScoreMode'));
|
|
190
|
+
return self.rendererConfig.summaryScoreMode;
|
|
194
191
|
},
|
|
195
192
|
get scaleOpts() {
|
|
196
193
|
return {
|
|
@@ -205,8 +202,7 @@ export default function SharedWiggleMixin(configSchema) {
|
|
|
205
202
|
return self.rendererTypeName === 'XYPlotRenderer';
|
|
206
203
|
},
|
|
207
204
|
get displayCrossHatchesSetting() {
|
|
208
|
-
return
|
|
209
|
-
readConfObject(self.rendererConfig, 'displayCrossHatches'));
|
|
205
|
+
return self.rendererConfig.displayCrossHatches;
|
|
210
206
|
},
|
|
211
207
|
get hasResolution() {
|
|
212
208
|
return self.adapterCapabilities.includes('hasResolution');
|
|
@@ -251,10 +247,25 @@ export default function SharedWiggleMixin(configSchema) {
|
|
|
251
247
|
]
|
|
252
248
|
: []),
|
|
253
249
|
{
|
|
254
|
-
label:
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
250
|
+
label: 'Scale type',
|
|
251
|
+
subMenu: [
|
|
252
|
+
{
|
|
253
|
+
label: 'Linear scale',
|
|
254
|
+
type: 'radio',
|
|
255
|
+
checked: self.scaleType === 'linear',
|
|
256
|
+
onClick: () => {
|
|
257
|
+
self.setScaleType('linear');
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
label: 'Log scale',
|
|
262
|
+
type: 'radio',
|
|
263
|
+
checked: self.scaleType === 'log',
|
|
264
|
+
onClick: () => {
|
|
265
|
+
self.setScaleType('log');
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
],
|
|
258
269
|
},
|
|
259
270
|
{
|
|
260
271
|
label: 'Autoscale type',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-wiggle",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "JBrowse 2 wiggle adapters, tracks, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
"@jbrowse/mobx-state-tree": "^5.5.0",
|
|
26
26
|
"@mui/icons-material": "^7.3.6",
|
|
27
27
|
"@mui/material": "^7.3.6",
|
|
28
|
-
"@mui/x-charts-vendor": "^8.
|
|
29
|
-
"@mui/x-data-grid": "^8.
|
|
28
|
+
"@mui/x-charts-vendor": "^8.25.0",
|
|
29
|
+
"@mui/x-data-grid": "^8.25.0",
|
|
30
|
+
"@types/file-saver-es": "^2.0.3",
|
|
30
31
|
"colord": "^2.9.3",
|
|
31
32
|
"copy-to-clipboard": "^3.3.3",
|
|
32
33
|
"fast-deep-equal": "^3.1.3",
|
|
33
|
-
"@types/file-saver-es": "^2.0.3",
|
|
34
34
|
"file-saver-es": "^2.0.5",
|
|
35
35
|
"mobx": "^6.15.0",
|
|
36
36
|
"mobx-react": "^9.2.1",
|
|
37
37
|
"rxjs": "^7.8.2",
|
|
38
|
-
"@jbrowse/
|
|
39
|
-
"@jbrowse/plugin-data-management": "^4.0.
|
|
40
|
-
"@jbrowse/
|
|
38
|
+
"@jbrowse/core": "^4.0.4",
|
|
39
|
+
"@jbrowse/plugin-data-management": "^4.0.4",
|
|
40
|
+
"@jbrowse/plugin-linear-genome-view": "^4.0.4"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=18.0.0"
|