@vitessce/description 3.5.5 → 3.5.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.
Files changed (2) hide show
  1. package/dist/index.js +109 -7
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -908,7 +908,9 @@ 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",
913
+ TREEMAP: "treemap"
912
914
  };
913
915
  const CoordinationType = {
914
916
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
@@ -950,15 +952,23 @@ const CoordinationType = {
950
952
  HEATMAP_ZOOM_Y: "heatmapZoomY",
951
953
  HEATMAP_TARGET_X: "heatmapTargetX",
952
954
  HEATMAP_TARGET_Y: "heatmapTargetY",
953
- OBS_FILTER: "obsFilter",
954
955
  OBS_HIGHLIGHT: "obsHighlight",
956
+ OBS_SELECTION: "obsSelection",
955
957
  OBS_SET_SELECTION: "obsSetSelection",
958
+ OBS_SELECTION_MODE: "obsSelectionMode",
959
+ OBS_FILTER: "obsFilter",
960
+ OBS_SET_FILTER: "obsSetFilter",
961
+ OBS_FILTER_MODE: "obsFilterMode",
956
962
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
957
963
  OBS_SET_EXPANSION: "obsSetExpansion",
958
964
  OBS_SET_COLOR: "obsSetColor",
959
- FEATURE_FILTER: "featureFilter",
960
965
  FEATURE_HIGHLIGHT: "featureHighlight",
961
966
  FEATURE_SELECTION: "featureSelection",
967
+ FEATURE_SET_SELECTION: "featureSetSelection",
968
+ FEATURE_SELECTION_MODE: "featureSelectionMode",
969
+ FEATURE_FILTER: "featureFilter",
970
+ FEATURE_SET_FILTER: "featureSetFilter",
971
+ FEATURE_FILTER_MODE: "featureFilterMode",
962
972
  FEATURE_VALUE_COLORMAP: "featureValueColormap",
963
973
  FEATURE_VALUE_TRANSFORM: "featureValueTransform",
964
974
  FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
@@ -1025,14 +1035,22 @@ const CoordinationType = {
1025
1035
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
1026
1036
  // Multi-sample / comparative
1027
1037
  SAMPLE_TYPE: "sampleType",
1038
+ SAMPLE_SELECTION: "sampleSelection",
1028
1039
  SAMPLE_SET_SELECTION: "sampleSetSelection",
1040
+ SAMPLE_SELECTION_MODE: "sampleSelectionMode",
1041
+ SAMPLE_FILTER: "sampleFilter",
1042
+ SAMPLE_SET_FILTER: "sampleSetFilter",
1043
+ SAMPLE_FILTER_MODE: "sampleFilterMode",
1029
1044
  SAMPLE_SET_COLOR: "sampleSetColor",
1045
+ SAMPLE_HIGHLIGHT: "sampleHighlight",
1030
1046
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
1031
1047
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
1032
1048
  EMBEDDING_CONTOURS_FILLED: "embeddingContoursFilled",
1033
1049
  EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
1034
1050
  CONTOUR_COLOR_ENCODING: "contourColorEncoding",
1035
- CONTOUR_COLOR: "contourColor"
1051
+ CONTOUR_COLOR: "contourColor",
1052
+ // Treemap
1053
+ HIERARCHY_LEVELS: "hierarchyLevels"
1036
1054
  };
1037
1055
  const DescriptionType = {
1038
1056
  PLAIN: "plain",
@@ -1053,7 +1071,8 @@ const ViewHelpMapping = {
1053
1071
  OBS_SET_FEATURE_VALUE_DISTRIBUTION: "The observation set feature value distribution view displays a violin plot with values (e.g., expression values) per set (e.g., cell type) for the selected feature (e.g., gene).",
1054
1072
  FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
1055
1073
  DOT_PLOT: "The dot plot displays summary information about expression of the selected features (e.g., genes) for each selected observation set (e.g., cell type).",
1056
- FEATURE_BAR_PLOT: "The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis."
1074
+ FEATURE_BAR_PLOT: "The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis.",
1075
+ TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering."
1057
1076
  };
1058
1077
  const COMPONENT_COORDINATION_TYPES = {
1059
1078
  [ViewType.SCATTERPLOT]: [
@@ -1078,6 +1097,7 @@ const COMPONENT_COORDINATION_TYPES = {
1078
1097
  CoordinationType.OBS_FILTER,
1079
1098
  CoordinationType.OBS_HIGHLIGHT,
1080
1099
  CoordinationType.OBS_SET_SELECTION,
1100
+ CoordinationType.OBS_SET_FILTER,
1081
1101
  CoordinationType.OBS_SET_HIGHLIGHT,
1082
1102
  CoordinationType.OBS_SET_COLOR,
1083
1103
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -1089,6 +1109,50 @@ const COMPONENT_COORDINATION_TYPES = {
1089
1109
  CoordinationType.TOOLTIPS_VISIBLE,
1090
1110
  CoordinationType.SAMPLE_TYPE,
1091
1111
  CoordinationType.SAMPLE_SET_SELECTION,
1112
+ CoordinationType.SAMPLE_SET_FILTER,
1113
+ CoordinationType.SAMPLE_SET_COLOR,
1114
+ CoordinationType.EMBEDDING_POINTS_VISIBLE,
1115
+ CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
1116
+ CoordinationType.EMBEDDING_CONTOURS_FILLED,
1117
+ CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
1118
+ CoordinationType.CONTOUR_COLOR_ENCODING,
1119
+ CoordinationType.CONTOUR_COLOR
1120
+ ],
1121
+ [ViewType.DUAL_SCATTERPLOT]: [
1122
+ CoordinationType.DATASET,
1123
+ CoordinationType.OBS_TYPE,
1124
+ CoordinationType.FEATURE_TYPE,
1125
+ CoordinationType.FEATURE_VALUE_TYPE,
1126
+ CoordinationType.OBS_LABELS_TYPE,
1127
+ CoordinationType.EMBEDDING_TYPE,
1128
+ CoordinationType.EMBEDDING_ZOOM,
1129
+ CoordinationType.EMBEDDING_ROTATION,
1130
+ CoordinationType.EMBEDDING_TARGET_X,
1131
+ CoordinationType.EMBEDDING_TARGET_Y,
1132
+ CoordinationType.EMBEDDING_TARGET_Z,
1133
+ CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
1134
+ CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
1135
+ CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
1136
+ CoordinationType.EMBEDDING_OBS_RADIUS,
1137
+ CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
1138
+ CoordinationType.EMBEDDING_OBS_OPACITY,
1139
+ CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
1140
+ CoordinationType.OBS_FILTER,
1141
+ CoordinationType.OBS_HIGHLIGHT,
1142
+ CoordinationType.OBS_SET_SELECTION,
1143
+ CoordinationType.OBS_SET_FILTER,
1144
+ CoordinationType.OBS_SET_HIGHLIGHT,
1145
+ CoordinationType.OBS_SET_COLOR,
1146
+ CoordinationType.FEATURE_HIGHLIGHT,
1147
+ CoordinationType.FEATURE_SELECTION,
1148
+ CoordinationType.FEATURE_VALUE_COLORMAP,
1149
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
1150
+ CoordinationType.OBS_COLOR_ENCODING,
1151
+ CoordinationType.ADDITIONAL_OBS_SETS,
1152
+ CoordinationType.TOOLTIPS_VISIBLE,
1153
+ CoordinationType.SAMPLE_TYPE,
1154
+ CoordinationType.SAMPLE_SET_SELECTION,
1155
+ CoordinationType.SAMPLE_SET_FILTER,
1092
1156
  CoordinationType.SAMPLE_SET_COLOR,
1093
1157
  CoordinationType.EMBEDDING_POINTS_VISIBLE,
1094
1158
  CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
@@ -1155,6 +1219,7 @@ const COMPONENT_COORDINATION_TYPES = {
1155
1219
  CoordinationType.OBS_FILTER,
1156
1220
  CoordinationType.OBS_HIGHLIGHT,
1157
1221
  CoordinationType.OBS_SET_SELECTION,
1222
+ CoordinationType.OBS_SET_FILTER,
1158
1223
  CoordinationType.OBS_SET_HIGHLIGHT,
1159
1224
  CoordinationType.OBS_SET_COLOR,
1160
1225
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -1191,6 +1256,7 @@ const COMPONENT_COORDINATION_TYPES = {
1191
1256
  CoordinationType.OBS_FILTER,
1192
1257
  CoordinationType.OBS_HIGHLIGHT,
1193
1258
  CoordinationType.OBS_SET_SELECTION,
1259
+ CoordinationType.OBS_SET_FILTER,
1194
1260
  CoordinationType.OBS_SET_HIGHLIGHT,
1195
1261
  CoordinationType.OBS_SET_COLOR,
1196
1262
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -1250,6 +1316,7 @@ const COMPONENT_COORDINATION_TYPES = {
1250
1316
  CoordinationType.OBS_FILTER,
1251
1317
  CoordinationType.OBS_HIGHLIGHT,
1252
1318
  CoordinationType.OBS_SET_SELECTION,
1319
+ CoordinationType.OBS_SET_FILTER,
1253
1320
  CoordinationType.OBS_SET_HIGHLIGHT,
1254
1321
  CoordinationType.OBS_SET_COLOR,
1255
1322
  CoordinationType.FEATURE_FILTER,
@@ -1265,6 +1332,7 @@ const COMPONENT_COORDINATION_TYPES = {
1265
1332
  CoordinationType.DATASET,
1266
1333
  CoordinationType.OBS_TYPE,
1267
1334
  CoordinationType.OBS_SET_SELECTION,
1335
+ CoordinationType.OBS_SET_FILTER,
1268
1336
  CoordinationType.OBS_SET_EXPANSION,
1269
1337
  CoordinationType.OBS_SET_HIGHLIGHT,
1270
1338
  CoordinationType.OBS_SET_COLOR,
@@ -1276,6 +1344,7 @@ const COMPONENT_COORDINATION_TYPES = {
1276
1344
  CoordinationType.DATASET,
1277
1345
  CoordinationType.OBS_TYPE,
1278
1346
  CoordinationType.OBS_SET_SELECTION,
1347
+ CoordinationType.OBS_SET_FILTER,
1279
1348
  CoordinationType.OBS_SET_EXPANSION,
1280
1349
  CoordinationType.OBS_SET_HIGHLIGHT,
1281
1350
  CoordinationType.OBS_SET_COLOR,
@@ -1308,6 +1377,7 @@ const COMPONENT_COORDINATION_TYPES = {
1308
1377
  CoordinationType.FEATURE_VALUE_TRANSFORM,
1309
1378
  CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
1310
1379
  CoordinationType.OBS_SET_SELECTION,
1380
+ CoordinationType.OBS_SET_FILTER,
1311
1381
  CoordinationType.OBS_SET_HIGHLIGHT,
1312
1382
  CoordinationType.OBS_SET_COLOR,
1313
1383
  CoordinationType.ADDITIONAL_OBS_SETS,
@@ -1324,7 +1394,8 @@ const COMPONENT_COORDINATION_TYPES = {
1324
1394
  CoordinationType.ADDITIONAL_OBS_SETS,
1325
1395
  CoordinationType.OBS_SET_COLOR,
1326
1396
  CoordinationType.OBS_COLOR_ENCODING,
1327
- CoordinationType.OBS_SET_SELECTION
1397
+ CoordinationType.OBS_SET_SELECTION,
1398
+ CoordinationType.OBS_SET_FILTER
1328
1399
  ],
1329
1400
  [ViewType.LAYER_CONTROLLER]: [
1330
1401
  CoordinationType.DATASET,
@@ -1439,11 +1510,13 @@ const COMPONENT_COORDINATION_TYPES = {
1439
1510
  CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD,
1440
1511
  CoordinationType.FEATURE_VALUE_COLORMAP,
1441
1512
  CoordinationType.OBS_SET_SELECTION,
1513
+ CoordinationType.OBS_SET_FILTER,
1442
1514
  CoordinationType.OBS_SET_HIGHLIGHT,
1443
1515
  CoordinationType.OBS_SET_COLOR,
1444
1516
  CoordinationType.ADDITIONAL_OBS_SETS,
1445
1517
  CoordinationType.SAMPLE_TYPE,
1446
1518
  CoordinationType.SAMPLE_SET_SELECTION,
1519
+ CoordinationType.SAMPLE_SET_FILTER,
1447
1520
  CoordinationType.SAMPLE_SET_COLOR
1448
1521
  ],
1449
1522
  higlass: [
@@ -1474,8 +1547,37 @@ const COMPONENT_COORDINATION_TYPES = {
1474
1547
  [ViewType.LINK_CONTROLLER]: [],
1475
1548
  [ViewType.BIOMARKER_SELECT]: [
1476
1549
  CoordinationType.FEATURE_SELECTION,
1477
- CoordinationType.SAMPLE_SET_SELECTION
1550
+ CoordinationType.SAMPLE_SET_SELECTION,
1551
+ CoordinationType.SAMPLE_SET_FILTER,
1552
+ CoordinationType.OBS_SET_SELECTION,
1553
+ CoordinationType.OBS_SET_FILTER
1478
1554
  // TODO: create coordination types for internal state of the biomarker selection view?
1555
+ ],
1556
+ [ViewType.TREEMAP]: [
1557
+ CoordinationType.DATASET,
1558
+ CoordinationType.OBS_TYPE,
1559
+ CoordinationType.FEATURE_TYPE,
1560
+ CoordinationType.FEATURE_VALUE_TYPE,
1561
+ CoordinationType.OBS_FILTER,
1562
+ CoordinationType.OBS_HIGHLIGHT,
1563
+ CoordinationType.OBS_SET_SELECTION,
1564
+ CoordinationType.OBS_SET_FILTER,
1565
+ CoordinationType.OBS_SELECTION,
1566
+ CoordinationType.OBS_SELECTION_MODE,
1567
+ CoordinationType.OBS_SET_HIGHLIGHT,
1568
+ CoordinationType.OBS_SET_COLOR,
1569
+ CoordinationType.OBS_COLOR_ENCODING,
1570
+ CoordinationType.ADDITIONAL_OBS_SETS,
1571
+ CoordinationType.SAMPLE_TYPE,
1572
+ CoordinationType.SAMPLE_SET_SELECTION,
1573
+ CoordinationType.SAMPLE_SET_FILTER,
1574
+ CoordinationType.SAMPLE_SET_COLOR,
1575
+ CoordinationType.SAMPLE_SELECTION,
1576
+ CoordinationType.SAMPLE_SELECTION_MODE,
1577
+ CoordinationType.SAMPLE_FILTER,
1578
+ CoordinationType.SAMPLE_FILTER_MODE,
1579
+ CoordinationType.SAMPLE_HIGHLIGHT,
1580
+ CoordinationType.HIERARCHY_LEVELS
1479
1581
  ]
1480
1582
  };
1481
1583
  var common = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/description",
3
- "version": "3.5.5",
3
+ "version": "3.5.7",
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.7",
22
+ "@vitessce/vit-s": "3.5.7"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@testing-library/jest-dom": "^5.16.4",