@vitessce/description 3.5.7 → 3.5.9

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 +84 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -907,8 +907,13 @@ const ViewType = {
907
907
  FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
908
908
  DOT_PLOT: "dotPlot",
909
909
  FEATURE_BAR_PLOT: "featureBarPlot",
910
+ VOLCANO_PLOT: "volcanoPlot",
911
+ OBS_SET_COMPOSITION_BAR_PLOT: "obsSetCompositionBarPlot",
912
+ FEATURE_SET_ENRICHMENT_BAR_PLOT: "featureSetEnrichmentBarPlot",
910
913
  BIOMARKER_SELECT: "biomarkerSelect",
914
+ COMPARATIVE_HEADING: "comparativeHeading",
911
915
  LINK_CONTROLLER: "linkController",
916
+ NEUROGLANCER: "neuroglancer",
912
917
  DUAL_SCATTERPLOT: "dualScatterplot",
913
918
  TREEMAP: "treemap"
914
919
  };
@@ -1049,6 +1054,11 @@ const CoordinationType = {
1049
1054
  EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
1050
1055
  CONTOUR_COLOR_ENCODING: "contourColorEncoding",
1051
1056
  CONTOUR_COLOR: "contourColor",
1057
+ // For volcano plot:
1058
+ FEATURE_POINT_SIGNIFICANCE_THRESHOLD: "featurePointSignificanceThreshold",
1059
+ FEATURE_LABEL_SIGNIFICANCE_THRESHOLD: "featureLabelSignificanceThreshold",
1060
+ FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
1061
+ FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
1052
1062
  // Treemap
1053
1063
  HIERARCHY_LEVELS: "hierarchyLevels"
1054
1064
  };
@@ -1072,9 +1082,16 @@ const ViewHelpMapping = {
1072
1082
  FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
1073
1083
  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).",
1074
1084
  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."
1085
+ NEUROGLANCER: "The Neuroglancer view displays 3d meshes using Neuroglancer developed by Google.",
1086
+ TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.",
1087
+ VOLCANO_PLOT: "The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).",
1088
+ OBS_SET_COMPOSITION_BAR_PLOT: "The set composition bar plot displays the results of a compositional analysis conducted using the scCODA method (Büttner et al. 2021 Nature Communications).",
1089
+ FEATURE_SET_ENRICHMENT_BAR_PLOT: "The feature set enrichment bar plot displays the results of a hypergeometric test applied to the differential expression test results to identify enriched pathway gene sets."
1076
1090
  };
1077
1091
  const COMPONENT_COORDINATION_TYPES = {
1092
+ [ViewType.NEUROGLANCER]: [
1093
+ CoordinationType.DATASET
1094
+ ],
1078
1095
  [ViewType.SCATTERPLOT]: [
1079
1096
  CoordinationType.DATASET,
1080
1097
  CoordinationType.OBS_TYPE,
@@ -1544,8 +1561,64 @@ const COMPONENT_COORDINATION_TYPES = {
1544
1561
  CoordinationType.OBS_COLOR_ENCODING,
1545
1562
  CoordinationType.ADDITIONAL_OBS_SETS
1546
1563
  ],
1564
+ [ViewType.VOLCANO_PLOT]: [
1565
+ CoordinationType.DATASET,
1566
+ CoordinationType.OBS_TYPE,
1567
+ CoordinationType.FEATURE_TYPE,
1568
+ CoordinationType.SAMPLE_TYPE,
1569
+ // For selection of case-control sets of samples:
1570
+ CoordinationType.SAMPLE_SET_SELECTION,
1571
+ // For selection of one-vs-others sets of observations:
1572
+ CoordinationType.OBS_SET_SELECTION,
1573
+ // TODO: CoordinationType.FEATURE_SET_SELECTION,
1574
+ // TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
1575
+ // TODO: CoordinationType.FEATURE_SET_COLOR,
1576
+ CoordinationType.FEATURE_HIGHLIGHT,
1577
+ CoordinationType.FEATURE_SELECTION,
1578
+ CoordinationType.FEATURE_VALUE_COLORMAP,
1579
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
1580
+ // TODO: CoordinationType.FEATURE_COLOR_ENCODING,
1581
+ // TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
1582
+ CoordinationType.TOOLTIPS_VISIBLE,
1583
+ CoordinationType.ADDITIONAL_OBS_SETS,
1584
+ CoordinationType.OBS_SET_COLOR,
1585
+ CoordinationType.SAMPLE_SET_COLOR,
1586
+ CoordinationType.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
1587
+ CoordinationType.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
1588
+ CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
1589
+ CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
1590
+ ],
1591
+ [ViewType.OBS_SET_COMPOSITION_BAR_PLOT]: [
1592
+ CoordinationType.DATASET,
1593
+ CoordinationType.OBS_TYPE,
1594
+ CoordinationType.SAMPLE_TYPE,
1595
+ // For selection of case-control sets of samples:
1596
+ CoordinationType.SAMPLE_SET_SELECTION,
1597
+ // For selection of one-vs-others sets of observations:
1598
+ CoordinationType.OBS_SET_SELECTION,
1599
+ CoordinationType.ADDITIONAL_OBS_SETS,
1600
+ CoordinationType.OBS_SET_COLOR,
1601
+ CoordinationType.SAMPLE_SET_COLOR
1602
+ ],
1603
+ [ViewType.FEATURE_SET_ENRICHMENT_BAR_PLOT]: [
1604
+ CoordinationType.DATASET,
1605
+ CoordinationType.OBS_TYPE,
1606
+ CoordinationType.FEATURE_TYPE,
1607
+ CoordinationType.SAMPLE_TYPE,
1608
+ // For selection of case-control sets of samples:
1609
+ CoordinationType.SAMPLE_SET_SELECTION,
1610
+ // For selection of one-vs-others sets of observations:
1611
+ CoordinationType.OBS_SET_SELECTION,
1612
+ CoordinationType.ADDITIONAL_OBS_SETS,
1613
+ CoordinationType.OBS_SET_COLOR,
1614
+ CoordinationType.SAMPLE_SET_COLOR,
1615
+ CoordinationType.FEATURE_SELECTION
1616
+ ],
1547
1617
  [ViewType.LINK_CONTROLLER]: [],
1548
1618
  [ViewType.BIOMARKER_SELECT]: [
1619
+ CoordinationType.DATASET,
1620
+ CoordinationType.OBS_TYPE,
1621
+ CoordinationType.SAMPLE_TYPE,
1549
1622
  CoordinationType.FEATURE_SELECTION,
1550
1623
  CoordinationType.SAMPLE_SET_SELECTION,
1551
1624
  CoordinationType.SAMPLE_SET_FILTER,
@@ -1553,6 +1626,16 @@ const COMPONENT_COORDINATION_TYPES = {
1553
1626
  CoordinationType.OBS_SET_FILTER
1554
1627
  // TODO: create coordination types for internal state of the biomarker selection view?
1555
1628
  ],
1629
+ [ViewType.COMPARATIVE_HEADING]: [
1630
+ CoordinationType.DATASET,
1631
+ CoordinationType.OBS_TYPE,
1632
+ CoordinationType.SAMPLE_TYPE,
1633
+ CoordinationType.FEATURE_SELECTION,
1634
+ CoordinationType.SAMPLE_SET_SELECTION,
1635
+ CoordinationType.SAMPLE_SET_FILTER,
1636
+ CoordinationType.OBS_SET_SELECTION,
1637
+ CoordinationType.OBS_SET_FILTER
1638
+ ],
1556
1639
  [ViewType.TREEMAP]: [
1557
1640
  CoordinationType.DATASET,
1558
1641
  CoordinationType.OBS_TYPE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/description",
3
- "version": "3.5.7",
3
+ "version": "3.5.9",
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.7",
22
- "@vitessce/vit-s": "3.5.7"
21
+ "@vitessce/constants-internal": "3.5.9",
22
+ "@vitessce/vit-s": "3.5.9"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@testing-library/jest-dom": "^5.16.4",