@vitessce/all 3.4.5 → 3.4.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/dist/{deflate-37e298ad.js → deflate-d380a1ac.js} +1 -1
- package/dist/{hglib-382a2a9f.js → hglib-fb36286c.js} +1 -1
- package/dist/{index-a0d21216.js → index-18dbb697.js} +9753 -10093
- package/dist/{index-27ea6e6d.js → index-bef5d3c7.js} +4163 -4163
- package/dist/index.js +3 -2
- package/dist/{jpeg-7e0742ed.js → jpeg-1e46c7a6.js} +1 -1
- package/dist/{lerc-e9376ce5.js → lerc-7335edde.js} +1 -1
- package/dist/{lzw-5d92c02a.js → lzw-24106b2f.js} +1 -1
- package/dist/{packbits-6b74bad0.js → packbits-acb5020d.js} +1 -1
- package/dist/{raw-eead4407.js → raw-a6eed765.js} +1 -1
- package/dist/{troika-three-text.esm-f1101f37.js → troika-three-text.esm-57f1beb5.js} +1 -1
- package/dist/{webimage-9e2a568a.js → webimage-f766c600.js} +1 -1
- package/dist-tsc/Vitessce.d.ts.map +1 -1
- package/dist-tsc/Vitessce.js +3 -2
- package/dist-tsc/base-plugins.d.ts +36 -23
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +16 -3
- package/dist-tsc/index.d.ts +1 -1
- package/dist-tsc/index.d.ts.map +1 -1
- package/dist-tsc/index.js +1 -1
- package/dist-tsc/joint-file-types-legacy.d.ts +7 -7
- package/dist-tsc/joint-file-types-legacy.d.ts.map +1 -1
- package/dist-tsc/joint-file-types.d.ts +3 -3
- package/dist-tsc/joint-file-types.d.ts.map +1 -1
- package/dist-tsc/joint-file-types.js +11 -0
- package/package.json +24 -24
- package/src/Vitessce.tsx +3 -0
- package/src/base-plugins.ts +24 -2
- package/src/index.ts +1 -0
- package/src/joint-file-types.ts +11 -0
package/src/base-plugins.ts
CHANGED
@@ -82,6 +82,7 @@ import {
|
|
82
82
|
CellSetExpressionPlotSubscriber,
|
83
83
|
CellSetSizesPlotSubscriber,
|
84
84
|
ExpressionHistogramSubscriber,
|
85
|
+
DotPlotSubscriber,
|
85
86
|
FeatureBarPlotSubscriber,
|
86
87
|
} from '@vitessce/statistical-plots';
|
87
88
|
|
@@ -212,6 +213,7 @@ export const baseViewTypes = [
|
|
212
213
|
makeViewType(ViewType.FEATURE_BAR_PLOT, FeatureBarPlotSubscriber),
|
213
214
|
makeViewType('higlass', HiGlassSubscriber),
|
214
215
|
makeViewType(ViewType.GENOMIC_PROFILES, GenomicProfilesSubscriber),
|
216
|
+
makeViewType(ViewType.DOT_PLOT, DotPlotSubscriber),
|
215
217
|
];
|
216
218
|
|
217
219
|
export const baseFileTypes = [
|
@@ -414,6 +416,11 @@ export const baseCoordinationTypes = [
|
|
414
416
|
1,
|
415
417
|
z.number(),
|
416
418
|
),
|
419
|
+
new PluginCoordinationType(
|
420
|
+
CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD,
|
421
|
+
0,
|
422
|
+
z.number(),
|
423
|
+
),
|
417
424
|
new PluginCoordinationType(
|
418
425
|
CoordinationType.TOOLTIPS_VISIBLE,
|
419
426
|
true,
|
@@ -484,6 +491,21 @@ export const baseCoordinationTypes = [
|
|
484
491
|
new PluginCoordinationType(CoordinationType.SPATIAL_CHANNEL_LABELS_VISIBLE, true, z.boolean()),
|
485
492
|
new PluginCoordinationType(CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION, 'vertical', z.enum(['vertical', 'horizontal'])),
|
486
493
|
new PluginCoordinationType(CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE, 14, z.number()),
|
487
|
-
new PluginCoordinationType(CoordinationType.SAMPLE_TYPE,
|
488
|
-
|
494
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_TYPE, 'sample', z.string().nullable()),
|
495
|
+
// TODO: remove one array level and use multi-coordination for sampleSetSelection?
|
496
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_SET_SELECTION, null, z.array(z.array(z.string())).nullable()),
|
497
|
+
new PluginCoordinationType(
|
498
|
+
CoordinationType.SAMPLE_SET_COLOR,
|
499
|
+
null,
|
500
|
+
z.array(z.object({
|
501
|
+
path: obsSetPath,
|
502
|
+
color: rgbArray,
|
503
|
+
})).nullable(),
|
504
|
+
),
|
505
|
+
new PluginCoordinationType(CoordinationType.EMBEDDING_POINTS_VISIBLE, true, z.boolean()),
|
506
|
+
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_VISIBLE, false, z.boolean()),
|
507
|
+
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_FILLED, true, z.boolean()),
|
508
|
+
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOUR_PERCENTILES, null, z.array(z.number()).nullable()),
|
509
|
+
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR_ENCODING, 'cellSetSelection', z.enum(['cellSetSelection', 'sampleSetSelection', 'contourColor'])),
|
510
|
+
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR, null, rgbArray.nullable()),
|
489
511
|
];
|
package/src/index.ts
CHANGED
package/src/joint-file-types.ts
CHANGED
@@ -192,6 +192,17 @@ export function expandAnndataZarr(fileDef: z.infer<typeof latestFileDefSchema>)
|
|
192
192
|
},
|
193
193
|
}]
|
194
194
|
) : []),
|
195
|
+
// sampleEdges
|
196
|
+
...(options.sampleEdges ? [{
|
197
|
+
...baseFileDef,
|
198
|
+
fileType: getFileType(FileType.SAMPLE_EDGES_ANNDATA_ZARR),
|
199
|
+
options: options.sampleEdges,
|
200
|
+
coordinationValues: {
|
201
|
+
...extraCoordinationValues,
|
202
|
+
obsType: baseFileDef.coordinationValues.obsType,
|
203
|
+
sampleType: fileDef.coordinationValues?.sampleType || 'sample',
|
204
|
+
},
|
205
|
+
}] : []),
|
195
206
|
];
|
196
207
|
}
|
197
208
|
|