@vitessce/description 3.5.6 → 3.5.8

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 +117 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -907,9 +907,15 @@ 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",
912
- DUAL_SCATTERPLOT: "dualScatterplot"
916
+ NEUROGLANCER: "neuroglancer",
917
+ DUAL_SCATTERPLOT: "dualScatterplot",
918
+ TREEMAP: "treemap"
913
919
  };
914
920
  const CoordinationType = {
915
921
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
@@ -1041,12 +1047,20 @@ const CoordinationType = {
1041
1047
  SAMPLE_SET_FILTER: "sampleSetFilter",
1042
1048
  SAMPLE_FILTER_MODE: "sampleFilterMode",
1043
1049
  SAMPLE_SET_COLOR: "sampleSetColor",
1050
+ SAMPLE_HIGHLIGHT: "sampleHighlight",
1044
1051
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
1045
1052
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
1046
1053
  EMBEDDING_CONTOURS_FILLED: "embeddingContoursFilled",
1047
1054
  EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
1048
1055
  CONTOUR_COLOR_ENCODING: "contourColorEncoding",
1049
- CONTOUR_COLOR: "contourColor"
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",
1062
+ // Treemap
1063
+ HIERARCHY_LEVELS: "hierarchyLevels"
1050
1064
  };
1051
1065
  const DescriptionType = {
1052
1066
  PLAIN: "plain",
@@ -1067,9 +1081,17 @@ const ViewHelpMapping = {
1067
1081
  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
1082
  FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
1069
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).",
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."
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.",
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."
1071
1090
  };
1072
1091
  const COMPONENT_COORDINATION_TYPES = {
1092
+ [ViewType.NEUROGLANCER]: [
1093
+ CoordinationType.DATASET
1094
+ ],
1073
1095
  [ViewType.SCATTERPLOT]: [
1074
1096
  CoordinationType.DATASET,
1075
1097
  CoordinationType.OBS_TYPE,
@@ -1539,14 +1561,106 @@ const COMPONENT_COORDINATION_TYPES = {
1539
1561
  CoordinationType.OBS_COLOR_ENCODING,
1540
1562
  CoordinationType.ADDITIONAL_OBS_SETS
1541
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
+ ],
1542
1617
  [ViewType.LINK_CONTROLLER]: [],
1543
1618
  [ViewType.BIOMARKER_SELECT]: [
1619
+ CoordinationType.DATASET,
1620
+ CoordinationType.OBS_TYPE,
1621
+ CoordinationType.SAMPLE_TYPE,
1544
1622
  CoordinationType.FEATURE_SELECTION,
1545
1623
  CoordinationType.SAMPLE_SET_SELECTION,
1546
1624
  CoordinationType.SAMPLE_SET_FILTER,
1547
1625
  CoordinationType.OBS_SET_SELECTION,
1548
1626
  CoordinationType.OBS_SET_FILTER
1549
1627
  // TODO: create coordination types for internal state of the biomarker selection view?
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
+ ],
1639
+ [ViewType.TREEMAP]: [
1640
+ CoordinationType.DATASET,
1641
+ CoordinationType.OBS_TYPE,
1642
+ CoordinationType.FEATURE_TYPE,
1643
+ CoordinationType.FEATURE_VALUE_TYPE,
1644
+ CoordinationType.OBS_FILTER,
1645
+ CoordinationType.OBS_HIGHLIGHT,
1646
+ CoordinationType.OBS_SET_SELECTION,
1647
+ CoordinationType.OBS_SET_FILTER,
1648
+ CoordinationType.OBS_SELECTION,
1649
+ CoordinationType.OBS_SELECTION_MODE,
1650
+ CoordinationType.OBS_SET_HIGHLIGHT,
1651
+ CoordinationType.OBS_SET_COLOR,
1652
+ CoordinationType.OBS_COLOR_ENCODING,
1653
+ CoordinationType.ADDITIONAL_OBS_SETS,
1654
+ CoordinationType.SAMPLE_TYPE,
1655
+ CoordinationType.SAMPLE_SET_SELECTION,
1656
+ CoordinationType.SAMPLE_SET_FILTER,
1657
+ CoordinationType.SAMPLE_SET_COLOR,
1658
+ CoordinationType.SAMPLE_SELECTION,
1659
+ CoordinationType.SAMPLE_SELECTION_MODE,
1660
+ CoordinationType.SAMPLE_FILTER,
1661
+ CoordinationType.SAMPLE_FILTER_MODE,
1662
+ CoordinationType.SAMPLE_HIGHLIGHT,
1663
+ CoordinationType.HIERARCHY_LEVELS
1550
1664
  ]
1551
1665
  };
1552
1666
  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.8",
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.8",
22
+ "@vitessce/vit-s": "3.5.8"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@testing-library/jest-dom": "^5.16.4",