@vitessce/feature-list 3.5.7 → 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 +84 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1562,8 +1562,13 @@ const ViewType = {
1562
1562
  FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
1563
1563
  DOT_PLOT: "dotPlot",
1564
1564
  FEATURE_BAR_PLOT: "featureBarPlot",
1565
+ VOLCANO_PLOT: "volcanoPlot",
1566
+ OBS_SET_COMPOSITION_BAR_PLOT: "obsSetCompositionBarPlot",
1567
+ FEATURE_SET_ENRICHMENT_BAR_PLOT: "featureSetEnrichmentBarPlot",
1565
1568
  BIOMARKER_SELECT: "biomarkerSelect",
1569
+ COMPARATIVE_HEADING: "comparativeHeading",
1566
1570
  LINK_CONTROLLER: "linkController",
1571
+ NEUROGLANCER: "neuroglancer",
1567
1572
  DUAL_SCATTERPLOT: "dualScatterplot",
1568
1573
  TREEMAP: "treemap"
1569
1574
  };
@@ -1704,6 +1709,11 @@ const CoordinationType = {
1704
1709
  EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
1705
1710
  CONTOUR_COLOR_ENCODING: "contourColorEncoding",
1706
1711
  CONTOUR_COLOR: "contourColor",
1712
+ // For volcano plot:
1713
+ FEATURE_POINT_SIGNIFICANCE_THRESHOLD: "featurePointSignificanceThreshold",
1714
+ FEATURE_LABEL_SIGNIFICANCE_THRESHOLD: "featureLabelSignificanceThreshold",
1715
+ FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
1716
+ FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
1707
1717
  // Treemap
1708
1718
  HIERARCHY_LEVELS: "hierarchyLevels"
1709
1719
  };
@@ -1723,9 +1733,16 @@ const ViewHelpMapping = {
1723
1733
  FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
1724
1734
  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).",
1725
1735
  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.",
1726
- TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering."
1736
+ NEUROGLANCER: "The Neuroglancer view displays 3d meshes using Neuroglancer developed by Google.",
1737
+ TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.",
1738
+ VOLCANO_PLOT: "The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).",
1739
+ 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).",
1740
+ 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."
1727
1741
  };
1728
1742
  const COMPONENT_COORDINATION_TYPES = {
1743
+ [ViewType.NEUROGLANCER]: [
1744
+ CoordinationType.DATASET
1745
+ ],
1729
1746
  [ViewType.SCATTERPLOT]: [
1730
1747
  CoordinationType.DATASET,
1731
1748
  CoordinationType.OBS_TYPE,
@@ -2195,8 +2212,64 @@ const COMPONENT_COORDINATION_TYPES = {
2195
2212
  CoordinationType.OBS_COLOR_ENCODING,
2196
2213
  CoordinationType.ADDITIONAL_OBS_SETS
2197
2214
  ],
2215
+ [ViewType.VOLCANO_PLOT]: [
2216
+ CoordinationType.DATASET,
2217
+ CoordinationType.OBS_TYPE,
2218
+ CoordinationType.FEATURE_TYPE,
2219
+ CoordinationType.SAMPLE_TYPE,
2220
+ // For selection of case-control sets of samples:
2221
+ CoordinationType.SAMPLE_SET_SELECTION,
2222
+ // For selection of one-vs-others sets of observations:
2223
+ CoordinationType.OBS_SET_SELECTION,
2224
+ // TODO: CoordinationType.FEATURE_SET_SELECTION,
2225
+ // TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
2226
+ // TODO: CoordinationType.FEATURE_SET_COLOR,
2227
+ CoordinationType.FEATURE_HIGHLIGHT,
2228
+ CoordinationType.FEATURE_SELECTION,
2229
+ CoordinationType.FEATURE_VALUE_COLORMAP,
2230
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
2231
+ // TODO: CoordinationType.FEATURE_COLOR_ENCODING,
2232
+ // TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
2233
+ CoordinationType.TOOLTIPS_VISIBLE,
2234
+ CoordinationType.ADDITIONAL_OBS_SETS,
2235
+ CoordinationType.OBS_SET_COLOR,
2236
+ CoordinationType.SAMPLE_SET_COLOR,
2237
+ CoordinationType.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
2238
+ CoordinationType.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
2239
+ CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
2240
+ CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
2241
+ ],
2242
+ [ViewType.OBS_SET_COMPOSITION_BAR_PLOT]: [
2243
+ CoordinationType.DATASET,
2244
+ CoordinationType.OBS_TYPE,
2245
+ CoordinationType.SAMPLE_TYPE,
2246
+ // For selection of case-control sets of samples:
2247
+ CoordinationType.SAMPLE_SET_SELECTION,
2248
+ // For selection of one-vs-others sets of observations:
2249
+ CoordinationType.OBS_SET_SELECTION,
2250
+ CoordinationType.ADDITIONAL_OBS_SETS,
2251
+ CoordinationType.OBS_SET_COLOR,
2252
+ CoordinationType.SAMPLE_SET_COLOR
2253
+ ],
2254
+ [ViewType.FEATURE_SET_ENRICHMENT_BAR_PLOT]: [
2255
+ CoordinationType.DATASET,
2256
+ CoordinationType.OBS_TYPE,
2257
+ CoordinationType.FEATURE_TYPE,
2258
+ CoordinationType.SAMPLE_TYPE,
2259
+ // For selection of case-control sets of samples:
2260
+ CoordinationType.SAMPLE_SET_SELECTION,
2261
+ // For selection of one-vs-others sets of observations:
2262
+ CoordinationType.OBS_SET_SELECTION,
2263
+ CoordinationType.ADDITIONAL_OBS_SETS,
2264
+ CoordinationType.OBS_SET_COLOR,
2265
+ CoordinationType.SAMPLE_SET_COLOR,
2266
+ CoordinationType.FEATURE_SELECTION
2267
+ ],
2198
2268
  [ViewType.LINK_CONTROLLER]: [],
2199
2269
  [ViewType.BIOMARKER_SELECT]: [
2270
+ CoordinationType.DATASET,
2271
+ CoordinationType.OBS_TYPE,
2272
+ CoordinationType.SAMPLE_TYPE,
2200
2273
  CoordinationType.FEATURE_SELECTION,
2201
2274
  CoordinationType.SAMPLE_SET_SELECTION,
2202
2275
  CoordinationType.SAMPLE_SET_FILTER,
@@ -2204,6 +2277,16 @@ const COMPONENT_COORDINATION_TYPES = {
2204
2277
  CoordinationType.OBS_SET_FILTER
2205
2278
  // TODO: create coordination types for internal state of the biomarker selection view?
2206
2279
  ],
2280
+ [ViewType.COMPARATIVE_HEADING]: [
2281
+ CoordinationType.DATASET,
2282
+ CoordinationType.OBS_TYPE,
2283
+ CoordinationType.SAMPLE_TYPE,
2284
+ CoordinationType.FEATURE_SELECTION,
2285
+ CoordinationType.SAMPLE_SET_SELECTION,
2286
+ CoordinationType.SAMPLE_SET_FILTER,
2287
+ CoordinationType.OBS_SET_SELECTION,
2288
+ CoordinationType.OBS_SET_FILTER
2289
+ ],
2207
2290
  [ViewType.TREEMAP]: [
2208
2291
  CoordinationType.DATASET,
2209
2292
  CoordinationType.OBS_TYPE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/feature-list",
3
- "version": "3.5.7",
3
+ "version": "3.5.8",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -22,9 +22,9 @@
22
22
  "react-virtualized": "^9.22.2",
23
23
  "uuid": "^9.0.0",
24
24
  "react-aria": "^3.28.0",
25
- "@vitessce/constants-internal": "3.5.7",
26
- "@vitessce/utils": "3.5.7",
27
- "@vitessce/vit-s": "3.5.7"
25
+ "@vitessce/constants-internal": "3.5.8",
26
+ "@vitessce/utils": "3.5.8",
27
+ "@vitessce/vit-s": "3.5.8"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@testing-library/jest-dom": "^5.16.4",