@vitessce/description 3.5.6 → 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 +34 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -909,7 +909,8 @@ const ViewType = {
909
909
  FEATURE_BAR_PLOT: "featureBarPlot",
910
910
  BIOMARKER_SELECT: "biomarkerSelect",
911
911
  LINK_CONTROLLER: "linkController",
912
- DUAL_SCATTERPLOT: "dualScatterplot"
912
+ DUAL_SCATTERPLOT: "dualScatterplot",
913
+ TREEMAP: "treemap"
913
914
  };
914
915
  const CoordinationType = {
915
916
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
@@ -1041,12 +1042,15 @@ const CoordinationType = {
1041
1042
  SAMPLE_SET_FILTER: "sampleSetFilter",
1042
1043
  SAMPLE_FILTER_MODE: "sampleFilterMode",
1043
1044
  SAMPLE_SET_COLOR: "sampleSetColor",
1045
+ SAMPLE_HIGHLIGHT: "sampleHighlight",
1044
1046
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
1045
1047
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
1046
1048
  EMBEDDING_CONTOURS_FILLED: "embeddingContoursFilled",
1047
1049
  EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
1048
1050
  CONTOUR_COLOR_ENCODING: "contourColorEncoding",
1049
- CONTOUR_COLOR: "contourColor"
1051
+ CONTOUR_COLOR: "contourColor",
1052
+ // Treemap
1053
+ HIERARCHY_LEVELS: "hierarchyLevels"
1050
1054
  };
1051
1055
  const DescriptionType = {
1052
1056
  PLAIN: "plain",
@@ -1067,7 +1071,8 @@ const ViewHelpMapping = {
1067
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).",
1068
1072
  FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
1069
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).",
1070
- 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."
1071
1076
  };
1072
1077
  const COMPONENT_COORDINATION_TYPES = {
1073
1078
  [ViewType.SCATTERPLOT]: [
@@ -1547,6 +1552,32 @@ const COMPONENT_COORDINATION_TYPES = {
1547
1552
  CoordinationType.OBS_SET_SELECTION,
1548
1553
  CoordinationType.OBS_SET_FILTER
1549
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
1550
1581
  ]
1551
1582
  };
1552
1583
  var common = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/description",
3
- "version": "3.5.6",
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.6",
22
- "@vitessce/vit-s": "3.5.6"
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",