@vitessce/feature-list 3.5.5 → 3.5.6

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.
Files changed (2) hide show
  1. package/dist/index.js +76 -5
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1313,7 +1313,8 @@ const ViewType = {
1313
1313
  DOT_PLOT: "dotPlot",
1314
1314
  FEATURE_BAR_PLOT: "featureBarPlot",
1315
1315
  BIOMARKER_SELECT: "biomarkerSelect",
1316
- LINK_CONTROLLER: "linkController"
1316
+ LINK_CONTROLLER: "linkController",
1317
+ DUAL_SCATTERPLOT: "dualScatterplot"
1317
1318
  };
1318
1319
  const CoordinationType = {
1319
1320
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
@@ -1355,15 +1356,23 @@ const CoordinationType = {
1355
1356
  HEATMAP_ZOOM_Y: "heatmapZoomY",
1356
1357
  HEATMAP_TARGET_X: "heatmapTargetX",
1357
1358
  HEATMAP_TARGET_Y: "heatmapTargetY",
1358
- OBS_FILTER: "obsFilter",
1359
1359
  OBS_HIGHLIGHT: "obsHighlight",
1360
+ OBS_SELECTION: "obsSelection",
1360
1361
  OBS_SET_SELECTION: "obsSetSelection",
1362
+ OBS_SELECTION_MODE: "obsSelectionMode",
1363
+ OBS_FILTER: "obsFilter",
1364
+ OBS_SET_FILTER: "obsSetFilter",
1365
+ OBS_FILTER_MODE: "obsFilterMode",
1361
1366
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
1362
1367
  OBS_SET_EXPANSION: "obsSetExpansion",
1363
1368
  OBS_SET_COLOR: "obsSetColor",
1364
- FEATURE_FILTER: "featureFilter",
1365
1369
  FEATURE_HIGHLIGHT: "featureHighlight",
1366
1370
  FEATURE_SELECTION: "featureSelection",
1371
+ FEATURE_SET_SELECTION: "featureSetSelection",
1372
+ FEATURE_SELECTION_MODE: "featureSelectionMode",
1373
+ FEATURE_FILTER: "featureFilter",
1374
+ FEATURE_SET_FILTER: "featureSetFilter",
1375
+ FEATURE_FILTER_MODE: "featureFilterMode",
1367
1376
  FEATURE_VALUE_COLORMAP: "featureValueColormap",
1368
1377
  FEATURE_VALUE_TRANSFORM: "featureValueTransform",
1369
1378
  FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
@@ -1430,7 +1439,12 @@ const CoordinationType = {
1430
1439
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
1431
1440
  // Multi-sample / comparative
1432
1441
  SAMPLE_TYPE: "sampleType",
1442
+ SAMPLE_SELECTION: "sampleSelection",
1433
1443
  SAMPLE_SET_SELECTION: "sampleSetSelection",
1444
+ SAMPLE_SELECTION_MODE: "sampleSelectionMode",
1445
+ SAMPLE_FILTER: "sampleFilter",
1446
+ SAMPLE_SET_FILTER: "sampleSetFilter",
1447
+ SAMPLE_FILTER_MODE: "sampleFilterMode",
1434
1448
  SAMPLE_SET_COLOR: "sampleSetColor",
1435
1449
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
1436
1450
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
@@ -1479,6 +1493,50 @@ const COMPONENT_COORDINATION_TYPES = {
1479
1493
  CoordinationType.OBS_FILTER,
1480
1494
  CoordinationType.OBS_HIGHLIGHT,
1481
1495
  CoordinationType.OBS_SET_SELECTION,
1496
+ CoordinationType.OBS_SET_FILTER,
1497
+ CoordinationType.OBS_SET_HIGHLIGHT,
1498
+ CoordinationType.OBS_SET_COLOR,
1499
+ CoordinationType.FEATURE_HIGHLIGHT,
1500
+ CoordinationType.FEATURE_SELECTION,
1501
+ CoordinationType.FEATURE_VALUE_COLORMAP,
1502
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
1503
+ CoordinationType.OBS_COLOR_ENCODING,
1504
+ CoordinationType.ADDITIONAL_OBS_SETS,
1505
+ CoordinationType.TOOLTIPS_VISIBLE,
1506
+ CoordinationType.SAMPLE_TYPE,
1507
+ CoordinationType.SAMPLE_SET_SELECTION,
1508
+ CoordinationType.SAMPLE_SET_FILTER,
1509
+ CoordinationType.SAMPLE_SET_COLOR,
1510
+ CoordinationType.EMBEDDING_POINTS_VISIBLE,
1511
+ CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
1512
+ CoordinationType.EMBEDDING_CONTOURS_FILLED,
1513
+ CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
1514
+ CoordinationType.CONTOUR_COLOR_ENCODING,
1515
+ CoordinationType.CONTOUR_COLOR
1516
+ ],
1517
+ [ViewType.DUAL_SCATTERPLOT]: [
1518
+ CoordinationType.DATASET,
1519
+ CoordinationType.OBS_TYPE,
1520
+ CoordinationType.FEATURE_TYPE,
1521
+ CoordinationType.FEATURE_VALUE_TYPE,
1522
+ CoordinationType.OBS_LABELS_TYPE,
1523
+ CoordinationType.EMBEDDING_TYPE,
1524
+ CoordinationType.EMBEDDING_ZOOM,
1525
+ CoordinationType.EMBEDDING_ROTATION,
1526
+ CoordinationType.EMBEDDING_TARGET_X,
1527
+ CoordinationType.EMBEDDING_TARGET_Y,
1528
+ CoordinationType.EMBEDDING_TARGET_Z,
1529
+ CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
1530
+ CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
1531
+ CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
1532
+ CoordinationType.EMBEDDING_OBS_RADIUS,
1533
+ CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
1534
+ CoordinationType.EMBEDDING_OBS_OPACITY,
1535
+ CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
1536
+ CoordinationType.OBS_FILTER,
1537
+ CoordinationType.OBS_HIGHLIGHT,
1538
+ CoordinationType.OBS_SET_SELECTION,
1539
+ CoordinationType.OBS_SET_FILTER,
1482
1540
  CoordinationType.OBS_SET_HIGHLIGHT,
1483
1541
  CoordinationType.OBS_SET_COLOR,
1484
1542
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -1490,6 +1548,7 @@ const COMPONENT_COORDINATION_TYPES = {
1490
1548
  CoordinationType.TOOLTIPS_VISIBLE,
1491
1549
  CoordinationType.SAMPLE_TYPE,
1492
1550
  CoordinationType.SAMPLE_SET_SELECTION,
1551
+ CoordinationType.SAMPLE_SET_FILTER,
1493
1552
  CoordinationType.SAMPLE_SET_COLOR,
1494
1553
  CoordinationType.EMBEDDING_POINTS_VISIBLE,
1495
1554
  CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
@@ -1556,6 +1615,7 @@ const COMPONENT_COORDINATION_TYPES = {
1556
1615
  CoordinationType.OBS_FILTER,
1557
1616
  CoordinationType.OBS_HIGHLIGHT,
1558
1617
  CoordinationType.OBS_SET_SELECTION,
1618
+ CoordinationType.OBS_SET_FILTER,
1559
1619
  CoordinationType.OBS_SET_HIGHLIGHT,
1560
1620
  CoordinationType.OBS_SET_COLOR,
1561
1621
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -1592,6 +1652,7 @@ const COMPONENT_COORDINATION_TYPES = {
1592
1652
  CoordinationType.OBS_FILTER,
1593
1653
  CoordinationType.OBS_HIGHLIGHT,
1594
1654
  CoordinationType.OBS_SET_SELECTION,
1655
+ CoordinationType.OBS_SET_FILTER,
1595
1656
  CoordinationType.OBS_SET_HIGHLIGHT,
1596
1657
  CoordinationType.OBS_SET_COLOR,
1597
1658
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -1651,6 +1712,7 @@ const COMPONENT_COORDINATION_TYPES = {
1651
1712
  CoordinationType.OBS_FILTER,
1652
1713
  CoordinationType.OBS_HIGHLIGHT,
1653
1714
  CoordinationType.OBS_SET_SELECTION,
1715
+ CoordinationType.OBS_SET_FILTER,
1654
1716
  CoordinationType.OBS_SET_HIGHLIGHT,
1655
1717
  CoordinationType.OBS_SET_COLOR,
1656
1718
  CoordinationType.FEATURE_FILTER,
@@ -1666,6 +1728,7 @@ const COMPONENT_COORDINATION_TYPES = {
1666
1728
  CoordinationType.DATASET,
1667
1729
  CoordinationType.OBS_TYPE,
1668
1730
  CoordinationType.OBS_SET_SELECTION,
1731
+ CoordinationType.OBS_SET_FILTER,
1669
1732
  CoordinationType.OBS_SET_EXPANSION,
1670
1733
  CoordinationType.OBS_SET_HIGHLIGHT,
1671
1734
  CoordinationType.OBS_SET_COLOR,
@@ -1677,6 +1740,7 @@ const COMPONENT_COORDINATION_TYPES = {
1677
1740
  CoordinationType.DATASET,
1678
1741
  CoordinationType.OBS_TYPE,
1679
1742
  CoordinationType.OBS_SET_SELECTION,
1743
+ CoordinationType.OBS_SET_FILTER,
1680
1744
  CoordinationType.OBS_SET_EXPANSION,
1681
1745
  CoordinationType.OBS_SET_HIGHLIGHT,
1682
1746
  CoordinationType.OBS_SET_COLOR,
@@ -1709,6 +1773,7 @@ const COMPONENT_COORDINATION_TYPES = {
1709
1773
  CoordinationType.FEATURE_VALUE_TRANSFORM,
1710
1774
  CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
1711
1775
  CoordinationType.OBS_SET_SELECTION,
1776
+ CoordinationType.OBS_SET_FILTER,
1712
1777
  CoordinationType.OBS_SET_HIGHLIGHT,
1713
1778
  CoordinationType.OBS_SET_COLOR,
1714
1779
  CoordinationType.ADDITIONAL_OBS_SETS,
@@ -1725,7 +1790,8 @@ const COMPONENT_COORDINATION_TYPES = {
1725
1790
  CoordinationType.ADDITIONAL_OBS_SETS,
1726
1791
  CoordinationType.OBS_SET_COLOR,
1727
1792
  CoordinationType.OBS_COLOR_ENCODING,
1728
- CoordinationType.OBS_SET_SELECTION
1793
+ CoordinationType.OBS_SET_SELECTION,
1794
+ CoordinationType.OBS_SET_FILTER
1729
1795
  ],
1730
1796
  [ViewType.LAYER_CONTROLLER]: [
1731
1797
  CoordinationType.DATASET,
@@ -1840,11 +1906,13 @@ const COMPONENT_COORDINATION_TYPES = {
1840
1906
  CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD,
1841
1907
  CoordinationType.FEATURE_VALUE_COLORMAP,
1842
1908
  CoordinationType.OBS_SET_SELECTION,
1909
+ CoordinationType.OBS_SET_FILTER,
1843
1910
  CoordinationType.OBS_SET_HIGHLIGHT,
1844
1911
  CoordinationType.OBS_SET_COLOR,
1845
1912
  CoordinationType.ADDITIONAL_OBS_SETS,
1846
1913
  CoordinationType.SAMPLE_TYPE,
1847
1914
  CoordinationType.SAMPLE_SET_SELECTION,
1915
+ CoordinationType.SAMPLE_SET_FILTER,
1848
1916
  CoordinationType.SAMPLE_SET_COLOR
1849
1917
  ],
1850
1918
  higlass: [
@@ -1875,7 +1943,10 @@ const COMPONENT_COORDINATION_TYPES = {
1875
1943
  [ViewType.LINK_CONTROLLER]: [],
1876
1944
  [ViewType.BIOMARKER_SELECT]: [
1877
1945
  CoordinationType.FEATURE_SELECTION,
1878
- CoordinationType.SAMPLE_SET_SELECTION
1946
+ CoordinationType.SAMPLE_SET_SELECTION,
1947
+ CoordinationType.SAMPLE_SET_FILTER,
1948
+ CoordinationType.OBS_SET_SELECTION,
1949
+ CoordinationType.OBS_SET_FILTER
1879
1950
  // TODO: create coordination types for internal state of the biomarker selection view?
1880
1951
  ]
1881
1952
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/feature-list",
3
- "version": "3.5.5",
3
+ "version": "3.5.6",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -22,9 +22,9 @@
22
22
  "react-virtualized": "^9.22.2",
23
23
  "uuid": "^9.0.0",
24
24
  "react-aria": "^3.28.0",
25
- "@vitessce/constants-internal": "3.5.5",
26
- "@vitessce/utils": "3.5.5",
27
- "@vitessce/vit-s": "3.5.5"
25
+ "@vitessce/constants-internal": "3.5.6",
26
+ "@vitessce/utils": "3.5.6",
27
+ "@vitessce/vit-s": "3.5.6"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@testing-library/jest-dom": "^5.16.4",