@vitessce/csv 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 +63 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -618,8 +618,13 @@ const ViewType$1 = {
618
618
  FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
619
619
  DOT_PLOT: "dotPlot",
620
620
  FEATURE_BAR_PLOT: "featureBarPlot",
621
+ VOLCANO_PLOT: "volcanoPlot",
622
+ OBS_SET_COMPOSITION_BAR_PLOT: "obsSetCompositionBarPlot",
623
+ FEATURE_SET_ENRICHMENT_BAR_PLOT: "featureSetEnrichmentBarPlot",
621
624
  BIOMARKER_SELECT: "biomarkerSelect",
625
+ COMPARATIVE_HEADING: "comparativeHeading",
622
626
  LINK_CONTROLLER: "linkController",
627
+ NEUROGLANCER: "neuroglancer",
623
628
  DUAL_SCATTERPLOT: "dualScatterplot",
624
629
  TREEMAP: "treemap"
625
630
  };
@@ -637,7 +642,11 @@ const DataType$1 = {
637
642
  OBS_POINTS: "obsPoints",
638
643
  OBS_LOCATIONS: "obsLocations",
639
644
  SAMPLE_SETS: "sampleSets",
640
- SAMPLE_EDGES: "sampleEdges"
645
+ SAMPLE_EDGES: "sampleEdges",
646
+ COMPARISON_METADATA: "comparisonMetadata",
647
+ FEATURE_STATS: "featureStats",
648
+ FEATURE_SET_STATS: "featureSetStats",
649
+ OBS_SET_STATS: "obsSetStats"
641
650
  };
642
651
  const FileType$1 = {
643
652
  // Joint file types
@@ -676,6 +685,10 @@ const FileType$1 = {
676
685
  FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
677
686
  SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
678
687
  SAMPLE_SETS_ANNDATA_ZARR: "sampleSets.anndata.zarr",
688
+ COMPARISON_METADATA_ANNDATA_ZARR: "comparisonMetadata.anndata.zarr",
689
+ COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR: "comparativeFeatureStats.anndata.zarr",
690
+ COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR: "comparativeFeatureSetStats.anndata.zarr",
691
+ COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR: "comparativeObsSetStats.anndata.zarr",
679
692
  // AnnData - zipped
680
693
  OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
681
694
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
@@ -689,6 +702,10 @@ const FileType$1 = {
689
702
  FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
690
703
  SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
691
704
  SAMPLE_SETS_ANNDATA_ZARR_ZIP: "sampleSets.anndata.zarr.zip",
705
+ COMPARISON_METADATA_ANNDATA_ZARR_ZIP: "comparisonMetadata.anndata.zarr.zip",
706
+ COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureStats.anndata.zarr.zip",
707
+ COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureSetStats.anndata.zarr.zip",
708
+ COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeObsSetStats.anndata.zarr.zip",
692
709
  // AnnData - h5ad via reference spec
693
710
  OBS_FEATURE_MATRIX_ANNDATA_H5AD: "obsFeatureMatrix.anndata.h5ad",
694
711
  OBS_FEATURE_COLUMNS_ANNDATA_H5AD: "obsFeatureColumns.anndata.h5ad",
@@ -702,6 +719,10 @@ const FileType$1 = {
702
719
  FEATURE_LABELS_ANNDATA_H5AD: "featureLabels.anndata.h5ad",
703
720
  SAMPLE_EDGES_ANNDATA_H5AD: "sampleEdges.anndata.h5ad",
704
721
  SAMPLE_SETS_ANNDATA_H5AD: "sampleSets.anndata.h5ad",
722
+ COMPARISON_METADATA_ANNDATA_H5AD: "comparisonMetadata.anndata.h5ad",
723
+ COMPARATIVE_FEATURE_STATS_ANNDATA_H5AD: "comparativeFeatureStats.anndata.h5ad",
724
+ COMPARATIVE_FEATURE_SET_STATS_ANNDATA_H5AD: "comparativeFeatureSetStats.anndata.h5ad",
725
+ COMPARATIVE_OBS_SET_STATS_ANNDATA_H5AD: "comparativeObsSetStats.anndata.h5ad",
705
726
  // SpatialData
706
727
  IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
707
728
  LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
@@ -900,6 +921,11 @@ const CoordinationType$1 = {
900
921
  EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
901
922
  CONTOUR_COLOR_ENCODING: "contourColorEncoding",
902
923
  CONTOUR_COLOR: "contourColor",
924
+ // For volcano plot:
925
+ FEATURE_POINT_SIGNIFICANCE_THRESHOLD: "featurePointSignificanceThreshold",
926
+ FEATURE_LABEL_SIGNIFICANCE_THRESHOLD: "featureLabelSignificanceThreshold",
927
+ FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
928
+ FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
903
929
  // Treemap
904
930
  HIERARCHY_LEVELS: "hierarchyLevels"
905
931
  };
@@ -10151,6 +10177,42 @@ const annDataConvenienceObsEmbeddingItem = z.object({
10151
10177
  dims: z.array(z.number()).optional(),
10152
10178
  embeddingType: z.string()
10153
10179
  });
10180
+ z.object({
10181
+ path: z.string().describe("Path to the comparison metadata, such as /uns/comparison_metadata")
10182
+ });
10183
+ z.object({
10184
+ // TODO: implement a featureStats.anndata.zarr loader
10185
+ // which does not depend on comparisonMetadata
10186
+ // (instead, would point directly to the root of
10187
+ // the dataframe containing a set of diff exp results)
10188
+ // path: z.string().describe('Path to the dataframe containing the results.'),
10189
+ metadataPath: z.string().describe("Path to the comparison metadata."),
10190
+ indexColumn: z.string().optional().describe("Provide a column to use for the feature index, if different than the default dataframe index."),
10191
+ pValueColumn: z.string(),
10192
+ foldChangeColumn: z.string(),
10193
+ pValueTransformation: z.enum(["minuslog10"]).optional(),
10194
+ pValueAdjusted: z.boolean().optional(),
10195
+ foldChangeTransformation: z.enum(["log2"]).optional()
10196
+ });
10197
+ z.object({
10198
+ metadataPath: z.string().describe("Path to the comparison metadata."),
10199
+ indexColumn: z.string().optional().describe("Provide a column to use for the feature set index, if different than the default dataframe index."),
10200
+ termColumn: z.string().optional(),
10201
+ pValueColumn: z.string(),
10202
+ pValueAdjusted: z.boolean().optional(),
10203
+ analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, pertpy_hypergeometric.")
10204
+ });
10205
+ z.object({
10206
+ metadataPath: z.string().describe("Path to the comparison metadata."),
10207
+ indexColumn: z.string().optional().describe("Provide a column to use for the obs set index, if different than the default dataframe index."),
10208
+ 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."),
10209
+ 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."),
10210
+ 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."),
10211
+ foldChangeTransformation: z.enum(["log2"]).optional(),
10212
+ isCredibleEffectColumn: z.string().describe("Column which annotates effects as being credible or not (boolean)."),
10213
+ covariateColumn: z.string().describe("Column which defines the covariate used in the analysis."),
10214
+ analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, sccoda_df.")
10215
+ });
10154
10216
  const annDataObsLabels = annDataObs;
10155
10217
  const annDataFeatureLabels = annDataObs;
10156
10218
  const annDataSampleEdges = annDataObs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/csv",
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": {
@@ -18,10 +18,10 @@
18
18
  "dependencies": {
19
19
  "d3-array": "^2.4.0",
20
20
  "d3-dsv": "^1.1.1",
21
- "@vitessce/constants-internal": "3.5.7",
22
- "@vitessce/sets-utils": "3.5.7",
23
- "@vitessce/abstract": "3.5.7",
24
- "@vitessce/config": "3.5.7"
21
+ "@vitessce/constants-internal": "3.5.8",
22
+ "@vitessce/sets-utils": "3.5.8",
23
+ "@vitessce/abstract": "3.5.8",
24
+ "@vitessce/config": "3.5.8"
25
25
  },
26
26
  "scripts": {
27
27
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",