@vitessce/sets-utils 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 +63 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -9372,8 +9372,13 @@ const ViewType$1 = {
9372
9372
  FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
9373
9373
  DOT_PLOT: "dotPlot",
9374
9374
  FEATURE_BAR_PLOT: "featureBarPlot",
9375
+ VOLCANO_PLOT: "volcanoPlot",
9376
+ OBS_SET_COMPOSITION_BAR_PLOT: "obsSetCompositionBarPlot",
9377
+ FEATURE_SET_ENRICHMENT_BAR_PLOT: "featureSetEnrichmentBarPlot",
9375
9378
  BIOMARKER_SELECT: "biomarkerSelect",
9379
+ COMPARATIVE_HEADING: "comparativeHeading",
9376
9380
  LINK_CONTROLLER: "linkController",
9381
+ NEUROGLANCER: "neuroglancer",
9377
9382
  DUAL_SCATTERPLOT: "dualScatterplot",
9378
9383
  TREEMAP: "treemap"
9379
9384
  };
@@ -9391,7 +9396,11 @@ const DataType$1 = {
9391
9396
  OBS_POINTS: "obsPoints",
9392
9397
  OBS_LOCATIONS: "obsLocations",
9393
9398
  SAMPLE_SETS: "sampleSets",
9394
- SAMPLE_EDGES: "sampleEdges"
9399
+ SAMPLE_EDGES: "sampleEdges",
9400
+ COMPARISON_METADATA: "comparisonMetadata",
9401
+ FEATURE_STATS: "featureStats",
9402
+ FEATURE_SET_STATS: "featureSetStats",
9403
+ OBS_SET_STATS: "obsSetStats"
9395
9404
  };
9396
9405
  const FileType$1 = {
9397
9406
  // Joint file types
@@ -9430,6 +9439,10 @@ const FileType$1 = {
9430
9439
  FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
9431
9440
  SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
9432
9441
  SAMPLE_SETS_ANNDATA_ZARR: "sampleSets.anndata.zarr",
9442
+ COMPARISON_METADATA_ANNDATA_ZARR: "comparisonMetadata.anndata.zarr",
9443
+ COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR: "comparativeFeatureStats.anndata.zarr",
9444
+ COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR: "comparativeFeatureSetStats.anndata.zarr",
9445
+ COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR: "comparativeObsSetStats.anndata.zarr",
9433
9446
  // AnnData - zipped
9434
9447
  OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
9435
9448
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
@@ -9443,6 +9456,10 @@ const FileType$1 = {
9443
9456
  FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
9444
9457
  SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
9445
9458
  SAMPLE_SETS_ANNDATA_ZARR_ZIP: "sampleSets.anndata.zarr.zip",
9459
+ COMPARISON_METADATA_ANNDATA_ZARR_ZIP: "comparisonMetadata.anndata.zarr.zip",
9460
+ COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureStats.anndata.zarr.zip",
9461
+ COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureSetStats.anndata.zarr.zip",
9462
+ COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeObsSetStats.anndata.zarr.zip",
9446
9463
  // AnnData - h5ad via reference spec
9447
9464
  OBS_FEATURE_MATRIX_ANNDATA_H5AD: "obsFeatureMatrix.anndata.h5ad",
9448
9465
  OBS_FEATURE_COLUMNS_ANNDATA_H5AD: "obsFeatureColumns.anndata.h5ad",
@@ -9456,6 +9473,10 @@ const FileType$1 = {
9456
9473
  FEATURE_LABELS_ANNDATA_H5AD: "featureLabels.anndata.h5ad",
9457
9474
  SAMPLE_EDGES_ANNDATA_H5AD: "sampleEdges.anndata.h5ad",
9458
9475
  SAMPLE_SETS_ANNDATA_H5AD: "sampleSets.anndata.h5ad",
9476
+ COMPARISON_METADATA_ANNDATA_H5AD: "comparisonMetadata.anndata.h5ad",
9477
+ COMPARATIVE_FEATURE_STATS_ANNDATA_H5AD: "comparativeFeatureStats.anndata.h5ad",
9478
+ COMPARATIVE_FEATURE_SET_STATS_ANNDATA_H5AD: "comparativeFeatureSetStats.anndata.h5ad",
9479
+ COMPARATIVE_OBS_SET_STATS_ANNDATA_H5AD: "comparativeObsSetStats.anndata.h5ad",
9459
9480
  // SpatialData
9460
9481
  IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
9461
9482
  LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
@@ -9654,6 +9675,11 @@ const CoordinationType$1 = {
9654
9675
  EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
9655
9676
  CONTOUR_COLOR_ENCODING: "contourColorEncoding",
9656
9677
  CONTOUR_COLOR: "contourColor",
9678
+ // For volcano plot:
9679
+ FEATURE_POINT_SIGNIFICANCE_THRESHOLD: "featurePointSignificanceThreshold",
9680
+ FEATURE_LABEL_SIGNIFICANCE_THRESHOLD: "featureLabelSignificanceThreshold",
9681
+ FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
9682
+ FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
9657
9683
  // Treemap
9658
9684
  HIERARCHY_LEVELS: "hierarchyLevels"
9659
9685
  };
@@ -9902,6 +9928,42 @@ const annDataConvenienceObsEmbeddingItem = z.object({
9902
9928
  dims: z.array(z.number()).optional(),
9903
9929
  embeddingType: z.string()
9904
9930
  });
9931
+ z.object({
9932
+ path: z.string().describe("Path to the comparison metadata, such as /uns/comparison_metadata")
9933
+ });
9934
+ z.object({
9935
+ // TODO: implement a featureStats.anndata.zarr loader
9936
+ // which does not depend on comparisonMetadata
9937
+ // (instead, would point directly to the root of
9938
+ // the dataframe containing a set of diff exp results)
9939
+ // path: z.string().describe('Path to the dataframe containing the results.'),
9940
+ metadataPath: z.string().describe("Path to the comparison metadata."),
9941
+ indexColumn: z.string().optional().describe("Provide a column to use for the feature index, if different than the default dataframe index."),
9942
+ pValueColumn: z.string(),
9943
+ foldChangeColumn: z.string(),
9944
+ pValueTransformation: z.enum(["minuslog10"]).optional(),
9945
+ pValueAdjusted: z.boolean().optional(),
9946
+ foldChangeTransformation: z.enum(["log2"]).optional()
9947
+ });
9948
+ z.object({
9949
+ metadataPath: z.string().describe("Path to the comparison metadata."),
9950
+ indexColumn: z.string().optional().describe("Provide a column to use for the feature set index, if different than the default dataframe index."),
9951
+ termColumn: z.string().optional(),
9952
+ pValueColumn: z.string(),
9953
+ pValueAdjusted: z.boolean().optional(),
9954
+ analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, pertpy_hypergeometric.")
9955
+ });
9956
+ z.object({
9957
+ metadataPath: z.string().describe("Path to the comparison metadata."),
9958
+ indexColumn: z.string().optional().describe("Provide a column to use for the obs set index, if different than the default dataframe index."),
9959
+ interceptExpectedSampleColumn: z.string().describe("If we had a new sample (with no active covariates) with a total number of cells equal to the mean sampling depth of the dataset, then this distribution over the cell types would be most likely."),
9960
+ effectExpectedSampleColumn: z.string().describe("If we had a new sample (with no active covariates) with a total number of cells equal to the mean sampling depth of the dataset, then this distribution over the cell types would be most likely."),
9961
+ foldChangeColumn: z.string().describe("The log-fold change is then calculated between this expected sample and the expected sample with no active covariates from the intercept section."),
9962
+ foldChangeTransformation: z.enum(["log2"]).optional(),
9963
+ isCredibleEffectColumn: z.string().describe("Column which annotates effects as being credible or not (boolean)."),
9964
+ covariateColumn: z.string().describe("Column which defines the covariate used in the analysis."),
9965
+ analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, sccoda_df.")
9966
+ });
9905
9967
  const annDataObsLabels = annDataObs;
9906
9968
  const annDataFeatureLabels = annDataObs;
9907
9969
  const annDataSampleEdges = annDataObs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/sets-utils",
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": {
@@ -25,9 +25,9 @@
25
25
  "lodash-es": "^4.17.21",
26
26
  "tinycolor2": "^1.4.1",
27
27
  "uuid": "^9.0.0",
28
- "@vitessce/schemas": "3.5.7",
29
- "@vitessce/utils": "3.5.7",
30
- "@vitessce/globals": "3.5.7"
28
+ "@vitessce/schemas": "3.5.9",
29
+ "@vitessce/utils": "3.5.9",
30
+ "@vitessce/globals": "3.5.9"
31
31
  },
32
32
  "scripts": {
33
33
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",