@vitessce/description 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 +3 -3
package/dist/index.js CHANGED
@@ -908,7 +908,8 @@ const ViewType = {
908
908
  DOT_PLOT: "dotPlot",
909
909
  FEATURE_BAR_PLOT: "featureBarPlot",
910
910
  BIOMARKER_SELECT: "biomarkerSelect",
911
- LINK_CONTROLLER: "linkController"
911
+ LINK_CONTROLLER: "linkController",
912
+ DUAL_SCATTERPLOT: "dualScatterplot"
912
913
  };
913
914
  const CoordinationType = {
914
915
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
@@ -950,15 +951,23 @@ const CoordinationType = {
950
951
  HEATMAP_ZOOM_Y: "heatmapZoomY",
951
952
  HEATMAP_TARGET_X: "heatmapTargetX",
952
953
  HEATMAP_TARGET_Y: "heatmapTargetY",
953
- OBS_FILTER: "obsFilter",
954
954
  OBS_HIGHLIGHT: "obsHighlight",
955
+ OBS_SELECTION: "obsSelection",
955
956
  OBS_SET_SELECTION: "obsSetSelection",
957
+ OBS_SELECTION_MODE: "obsSelectionMode",
958
+ OBS_FILTER: "obsFilter",
959
+ OBS_SET_FILTER: "obsSetFilter",
960
+ OBS_FILTER_MODE: "obsFilterMode",
956
961
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
957
962
  OBS_SET_EXPANSION: "obsSetExpansion",
958
963
  OBS_SET_COLOR: "obsSetColor",
959
- FEATURE_FILTER: "featureFilter",
960
964
  FEATURE_HIGHLIGHT: "featureHighlight",
961
965
  FEATURE_SELECTION: "featureSelection",
966
+ FEATURE_SET_SELECTION: "featureSetSelection",
967
+ FEATURE_SELECTION_MODE: "featureSelectionMode",
968
+ FEATURE_FILTER: "featureFilter",
969
+ FEATURE_SET_FILTER: "featureSetFilter",
970
+ FEATURE_FILTER_MODE: "featureFilterMode",
962
971
  FEATURE_VALUE_COLORMAP: "featureValueColormap",
963
972
  FEATURE_VALUE_TRANSFORM: "featureValueTransform",
964
973
  FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
@@ -1025,7 +1034,12 @@ const CoordinationType = {
1025
1034
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
1026
1035
  // Multi-sample / comparative
1027
1036
  SAMPLE_TYPE: "sampleType",
1037
+ SAMPLE_SELECTION: "sampleSelection",
1028
1038
  SAMPLE_SET_SELECTION: "sampleSetSelection",
1039
+ SAMPLE_SELECTION_MODE: "sampleSelectionMode",
1040
+ SAMPLE_FILTER: "sampleFilter",
1041
+ SAMPLE_SET_FILTER: "sampleSetFilter",
1042
+ SAMPLE_FILTER_MODE: "sampleFilterMode",
1029
1043
  SAMPLE_SET_COLOR: "sampleSetColor",
1030
1044
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
1031
1045
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
@@ -1078,6 +1092,50 @@ const COMPONENT_COORDINATION_TYPES = {
1078
1092
  CoordinationType.OBS_FILTER,
1079
1093
  CoordinationType.OBS_HIGHLIGHT,
1080
1094
  CoordinationType.OBS_SET_SELECTION,
1095
+ CoordinationType.OBS_SET_FILTER,
1096
+ CoordinationType.OBS_SET_HIGHLIGHT,
1097
+ CoordinationType.OBS_SET_COLOR,
1098
+ CoordinationType.FEATURE_HIGHLIGHT,
1099
+ CoordinationType.FEATURE_SELECTION,
1100
+ CoordinationType.FEATURE_VALUE_COLORMAP,
1101
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
1102
+ CoordinationType.OBS_COLOR_ENCODING,
1103
+ CoordinationType.ADDITIONAL_OBS_SETS,
1104
+ CoordinationType.TOOLTIPS_VISIBLE,
1105
+ CoordinationType.SAMPLE_TYPE,
1106
+ CoordinationType.SAMPLE_SET_SELECTION,
1107
+ CoordinationType.SAMPLE_SET_FILTER,
1108
+ CoordinationType.SAMPLE_SET_COLOR,
1109
+ CoordinationType.EMBEDDING_POINTS_VISIBLE,
1110
+ CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
1111
+ CoordinationType.EMBEDDING_CONTOURS_FILLED,
1112
+ CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
1113
+ CoordinationType.CONTOUR_COLOR_ENCODING,
1114
+ CoordinationType.CONTOUR_COLOR
1115
+ ],
1116
+ [ViewType.DUAL_SCATTERPLOT]: [
1117
+ CoordinationType.DATASET,
1118
+ CoordinationType.OBS_TYPE,
1119
+ CoordinationType.FEATURE_TYPE,
1120
+ CoordinationType.FEATURE_VALUE_TYPE,
1121
+ CoordinationType.OBS_LABELS_TYPE,
1122
+ CoordinationType.EMBEDDING_TYPE,
1123
+ CoordinationType.EMBEDDING_ZOOM,
1124
+ CoordinationType.EMBEDDING_ROTATION,
1125
+ CoordinationType.EMBEDDING_TARGET_X,
1126
+ CoordinationType.EMBEDDING_TARGET_Y,
1127
+ CoordinationType.EMBEDDING_TARGET_Z,
1128
+ CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
1129
+ CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
1130
+ CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
1131
+ CoordinationType.EMBEDDING_OBS_RADIUS,
1132
+ CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
1133
+ CoordinationType.EMBEDDING_OBS_OPACITY,
1134
+ CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
1135
+ CoordinationType.OBS_FILTER,
1136
+ CoordinationType.OBS_HIGHLIGHT,
1137
+ CoordinationType.OBS_SET_SELECTION,
1138
+ CoordinationType.OBS_SET_FILTER,
1081
1139
  CoordinationType.OBS_SET_HIGHLIGHT,
1082
1140
  CoordinationType.OBS_SET_COLOR,
1083
1141
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -1089,6 +1147,7 @@ const COMPONENT_COORDINATION_TYPES = {
1089
1147
  CoordinationType.TOOLTIPS_VISIBLE,
1090
1148
  CoordinationType.SAMPLE_TYPE,
1091
1149
  CoordinationType.SAMPLE_SET_SELECTION,
1150
+ CoordinationType.SAMPLE_SET_FILTER,
1092
1151
  CoordinationType.SAMPLE_SET_COLOR,
1093
1152
  CoordinationType.EMBEDDING_POINTS_VISIBLE,
1094
1153
  CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
@@ -1155,6 +1214,7 @@ const COMPONENT_COORDINATION_TYPES = {
1155
1214
  CoordinationType.OBS_FILTER,
1156
1215
  CoordinationType.OBS_HIGHLIGHT,
1157
1216
  CoordinationType.OBS_SET_SELECTION,
1217
+ CoordinationType.OBS_SET_FILTER,
1158
1218
  CoordinationType.OBS_SET_HIGHLIGHT,
1159
1219
  CoordinationType.OBS_SET_COLOR,
1160
1220
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -1191,6 +1251,7 @@ const COMPONENT_COORDINATION_TYPES = {
1191
1251
  CoordinationType.OBS_FILTER,
1192
1252
  CoordinationType.OBS_HIGHLIGHT,
1193
1253
  CoordinationType.OBS_SET_SELECTION,
1254
+ CoordinationType.OBS_SET_FILTER,
1194
1255
  CoordinationType.OBS_SET_HIGHLIGHT,
1195
1256
  CoordinationType.OBS_SET_COLOR,
1196
1257
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -1250,6 +1311,7 @@ const COMPONENT_COORDINATION_TYPES = {
1250
1311
  CoordinationType.OBS_FILTER,
1251
1312
  CoordinationType.OBS_HIGHLIGHT,
1252
1313
  CoordinationType.OBS_SET_SELECTION,
1314
+ CoordinationType.OBS_SET_FILTER,
1253
1315
  CoordinationType.OBS_SET_HIGHLIGHT,
1254
1316
  CoordinationType.OBS_SET_COLOR,
1255
1317
  CoordinationType.FEATURE_FILTER,
@@ -1265,6 +1327,7 @@ const COMPONENT_COORDINATION_TYPES = {
1265
1327
  CoordinationType.DATASET,
1266
1328
  CoordinationType.OBS_TYPE,
1267
1329
  CoordinationType.OBS_SET_SELECTION,
1330
+ CoordinationType.OBS_SET_FILTER,
1268
1331
  CoordinationType.OBS_SET_EXPANSION,
1269
1332
  CoordinationType.OBS_SET_HIGHLIGHT,
1270
1333
  CoordinationType.OBS_SET_COLOR,
@@ -1276,6 +1339,7 @@ const COMPONENT_COORDINATION_TYPES = {
1276
1339
  CoordinationType.DATASET,
1277
1340
  CoordinationType.OBS_TYPE,
1278
1341
  CoordinationType.OBS_SET_SELECTION,
1342
+ CoordinationType.OBS_SET_FILTER,
1279
1343
  CoordinationType.OBS_SET_EXPANSION,
1280
1344
  CoordinationType.OBS_SET_HIGHLIGHT,
1281
1345
  CoordinationType.OBS_SET_COLOR,
@@ -1308,6 +1372,7 @@ const COMPONENT_COORDINATION_TYPES = {
1308
1372
  CoordinationType.FEATURE_VALUE_TRANSFORM,
1309
1373
  CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
1310
1374
  CoordinationType.OBS_SET_SELECTION,
1375
+ CoordinationType.OBS_SET_FILTER,
1311
1376
  CoordinationType.OBS_SET_HIGHLIGHT,
1312
1377
  CoordinationType.OBS_SET_COLOR,
1313
1378
  CoordinationType.ADDITIONAL_OBS_SETS,
@@ -1324,7 +1389,8 @@ const COMPONENT_COORDINATION_TYPES = {
1324
1389
  CoordinationType.ADDITIONAL_OBS_SETS,
1325
1390
  CoordinationType.OBS_SET_COLOR,
1326
1391
  CoordinationType.OBS_COLOR_ENCODING,
1327
- CoordinationType.OBS_SET_SELECTION
1392
+ CoordinationType.OBS_SET_SELECTION,
1393
+ CoordinationType.OBS_SET_FILTER
1328
1394
  ],
1329
1395
  [ViewType.LAYER_CONTROLLER]: [
1330
1396
  CoordinationType.DATASET,
@@ -1439,11 +1505,13 @@ const COMPONENT_COORDINATION_TYPES = {
1439
1505
  CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD,
1440
1506
  CoordinationType.FEATURE_VALUE_COLORMAP,
1441
1507
  CoordinationType.OBS_SET_SELECTION,
1508
+ CoordinationType.OBS_SET_FILTER,
1442
1509
  CoordinationType.OBS_SET_HIGHLIGHT,
1443
1510
  CoordinationType.OBS_SET_COLOR,
1444
1511
  CoordinationType.ADDITIONAL_OBS_SETS,
1445
1512
  CoordinationType.SAMPLE_TYPE,
1446
1513
  CoordinationType.SAMPLE_SET_SELECTION,
1514
+ CoordinationType.SAMPLE_SET_FILTER,
1447
1515
  CoordinationType.SAMPLE_SET_COLOR
1448
1516
  ],
1449
1517
  higlass: [
@@ -1474,7 +1542,10 @@ const COMPONENT_COORDINATION_TYPES = {
1474
1542
  [ViewType.LINK_CONTROLLER]: [],
1475
1543
  [ViewType.BIOMARKER_SELECT]: [
1476
1544
  CoordinationType.FEATURE_SELECTION,
1477
- CoordinationType.SAMPLE_SET_SELECTION
1545
+ CoordinationType.SAMPLE_SET_SELECTION,
1546
+ CoordinationType.SAMPLE_SET_FILTER,
1547
+ CoordinationType.OBS_SET_SELECTION,
1548
+ CoordinationType.OBS_SET_FILTER
1478
1549
  // TODO: create coordination types for internal state of the biomarker selection view?
1479
1550
  ]
1480
1551
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/description",
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": {
@@ -18,8 +18,8 @@
18
18
  "dependencies": {
19
19
  "@material-ui/core": "~4.12.3",
20
20
  "react-markdown": "^9.0.1",
21
- "@vitessce/constants-internal": "3.5.5",
22
- "@vitessce/vit-s": "3.5.5"
21
+ "@vitessce/constants-internal": "3.5.6",
22
+ "@vitessce/vit-s": "3.5.6"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@testing-library/jest-dom": "^5.16.4",