@vitessce/constants-internal 3.5.8 → 3.5.10
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.
- package/dist/index.js +43 -5
- package/dist-tsc/constants.d.ts +4 -0
- package/dist-tsc/constants.d.ts.map +1 -1
- package/dist-tsc/constants.js +4 -0
- package/dist-tsc/coordination.d.ts.map +1 -1
- package/dist-tsc/coordination.js +34 -0
- package/dist-tsc/version.json +3 -3
- package/package.json +1 -1
- package/src/constants.ts +4 -0
- package/src/coordination.ts +34 -0
- package/src/version.json +3 -3
package/dist/index.js
CHANGED
|
@@ -24,7 +24,9 @@ const ViewType = {
|
|
|
24
24
|
LINK_CONTROLLER: "linkController",
|
|
25
25
|
NEUROGLANCER: "neuroglancer",
|
|
26
26
|
DUAL_SCATTERPLOT: "dualScatterplot",
|
|
27
|
-
TREEMAP: "treemap"
|
|
27
|
+
TREEMAP: "treemap",
|
|
28
|
+
SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
|
|
29
|
+
FEATURE_STATS_TABLE: "featureStatsTable"
|
|
28
30
|
};
|
|
29
31
|
const DataType = {
|
|
30
32
|
OBS_LABELS: "obsLabels",
|
|
@@ -378,7 +380,9 @@ const ViewHelpMapping = {
|
|
|
378
380
|
TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.",
|
|
379
381
|
VOLCANO_PLOT: "The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).",
|
|
380
382
|
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).",
|
|
381
|
-
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."
|
|
383
|
+
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.",
|
|
384
|
+
SAMPLE_SET_PAIR_MANAGER: "Select pairs of sample groups.",
|
|
385
|
+
FEATURE_STATS_TABLE: "This table displays per-feature statistics, for example, from a differential expression test."
|
|
382
386
|
};
|
|
383
387
|
const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
384
388
|
// For new file types
|
|
@@ -1098,6 +1102,33 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1098
1102
|
CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
1099
1103
|
CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
|
|
1100
1104
|
],
|
|
1105
|
+
[ViewType.FEATURE_STATS_TABLE]: [
|
|
1106
|
+
CoordinationType.DATASET,
|
|
1107
|
+
CoordinationType.OBS_TYPE,
|
|
1108
|
+
CoordinationType.FEATURE_TYPE,
|
|
1109
|
+
CoordinationType.SAMPLE_TYPE,
|
|
1110
|
+
// For selection of case-control sets of samples:
|
|
1111
|
+
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1112
|
+
// For selection of one-vs-others sets of observations:
|
|
1113
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
1114
|
+
// TODO: CoordinationType.FEATURE_SET_SELECTION,
|
|
1115
|
+
// TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
|
|
1116
|
+
// TODO: CoordinationType.FEATURE_SET_COLOR,
|
|
1117
|
+
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1118
|
+
CoordinationType.FEATURE_SELECTION,
|
|
1119
|
+
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
1120
|
+
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
1121
|
+
// TODO: CoordinationType.FEATURE_COLOR_ENCODING,
|
|
1122
|
+
// TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
|
|
1123
|
+
CoordinationType.TOOLTIPS_VISIBLE,
|
|
1124
|
+
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
1125
|
+
CoordinationType.OBS_SET_COLOR,
|
|
1126
|
+
CoordinationType.SAMPLE_SET_COLOR,
|
|
1127
|
+
CoordinationType.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
|
|
1128
|
+
CoordinationType.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
|
|
1129
|
+
CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
1130
|
+
CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
|
|
1131
|
+
],
|
|
1101
1132
|
[ViewType.OBS_SET_COMPOSITION_BAR_PLOT]: [
|
|
1102
1133
|
CoordinationType.DATASET,
|
|
1103
1134
|
CoordinationType.OBS_TYPE,
|
|
@@ -1146,6 +1177,13 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1146
1177
|
CoordinationType.OBS_SET_SELECTION,
|
|
1147
1178
|
CoordinationType.OBS_SET_FILTER
|
|
1148
1179
|
],
|
|
1180
|
+
[ViewType.SAMPLE_SET_PAIR_MANAGER]: [
|
|
1181
|
+
CoordinationType.DATASET,
|
|
1182
|
+
CoordinationType.OBS_TYPE,
|
|
1183
|
+
CoordinationType.SAMPLE_TYPE,
|
|
1184
|
+
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1185
|
+
CoordinationType.SAMPLE_SET_FILTER
|
|
1186
|
+
],
|
|
1149
1187
|
[ViewType.TREEMAP]: [
|
|
1150
1188
|
CoordinationType.DATASET,
|
|
1151
1189
|
CoordinationType.OBS_TYPE,
|
|
@@ -1174,10 +1212,10 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1174
1212
|
]
|
|
1175
1213
|
};
|
|
1176
1214
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
1177
|
-
const version = "3.5.
|
|
1178
|
-
const date = "2025-03-
|
|
1215
|
+
const version = "3.5.10";
|
|
1216
|
+
const date = "2025-03-27";
|
|
1179
1217
|
const branch = "changeset-release/main";
|
|
1180
|
-
const hash = "
|
|
1218
|
+
const hash = "17431b4f";
|
|
1181
1219
|
const version$1 = {
|
|
1182
1220
|
note,
|
|
1183
1221
|
version,
|
package/dist-tsc/constants.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ export declare const ViewType: {
|
|
|
30
30
|
NEUROGLANCER: string;
|
|
31
31
|
DUAL_SCATTERPLOT: string;
|
|
32
32
|
TREEMAP: string;
|
|
33
|
+
SAMPLE_SET_PAIR_MANAGER: string;
|
|
34
|
+
FEATURE_STATS_TABLE: string;
|
|
33
35
|
};
|
|
34
36
|
export declare const DataType: {
|
|
35
37
|
OBS_LABELS: string;
|
|
@@ -344,5 +346,7 @@ export declare const ViewHelpMapping: {
|
|
|
344
346
|
VOLCANO_PLOT: string;
|
|
345
347
|
OBS_SET_COMPOSITION_BAR_PLOT: string;
|
|
346
348
|
FEATURE_SET_ENRICHMENT_BAR_PLOT: string;
|
|
349
|
+
SAMPLE_SET_PAIR_MANAGER: string;
|
|
350
|
+
FEATURE_STATS_TABLE: string;
|
|
347
351
|
};
|
|
348
352
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBpB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;CAc7B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4IpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2I5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAuB3B,CAAC"}
|
package/dist-tsc/constants.js
CHANGED
|
@@ -30,6 +30,8 @@ export const ViewType = {
|
|
|
30
30
|
NEUROGLANCER: 'neuroglancer',
|
|
31
31
|
DUAL_SCATTERPLOT: 'dualScatterplot',
|
|
32
32
|
TREEMAP: 'treemap',
|
|
33
|
+
SAMPLE_SET_PAIR_MANAGER: 'sampleSetPairManager',
|
|
34
|
+
FEATURE_STATS_TABLE: 'featureStatsTable',
|
|
33
35
|
};
|
|
34
36
|
export const DataType = {
|
|
35
37
|
OBS_LABELS: 'obsLabels',
|
|
@@ -378,4 +380,6 @@ export const ViewHelpMapping = {
|
|
|
378
380
|
VOLCANO_PLOT: 'The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).',
|
|
379
381
|
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).',
|
|
380
382
|
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.',
|
|
383
|
+
SAMPLE_SET_PAIR_MANAGER: 'Select pairs of sample groups.',
|
|
384
|
+
FEATURE_STATS_TABLE: 'This table displays per-feature statistics, for example, from a differential expression test.',
|
|
381
385
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,UAc/C,CAAC;AAEF;;;;;;;KAOK;AACL,eAAO,MAAM,4BAA4B;;;
|
|
1
|
+
{"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,UAc/C,CAAC;AAEF;;;;;;;KAOK;AACL,eAAO,MAAM,4BAA4B;;;CAgmBxC,CAAC"}
|
package/dist-tsc/coordination.js
CHANGED
|
@@ -529,6 +529,33 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
529
529
|
CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
530
530
|
CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD,
|
|
531
531
|
],
|
|
532
|
+
[ViewType.FEATURE_STATS_TABLE]: [
|
|
533
|
+
CoordinationType.DATASET,
|
|
534
|
+
CoordinationType.OBS_TYPE,
|
|
535
|
+
CoordinationType.FEATURE_TYPE,
|
|
536
|
+
CoordinationType.SAMPLE_TYPE,
|
|
537
|
+
// For selection of case-control sets of samples:
|
|
538
|
+
CoordinationType.SAMPLE_SET_SELECTION,
|
|
539
|
+
// For selection of one-vs-others sets of observations:
|
|
540
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
541
|
+
// TODO: CoordinationType.FEATURE_SET_SELECTION,
|
|
542
|
+
// TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
|
|
543
|
+
// TODO: CoordinationType.FEATURE_SET_COLOR,
|
|
544
|
+
CoordinationType.FEATURE_HIGHLIGHT,
|
|
545
|
+
CoordinationType.FEATURE_SELECTION,
|
|
546
|
+
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
547
|
+
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
548
|
+
// TODO: CoordinationType.FEATURE_COLOR_ENCODING,
|
|
549
|
+
// TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
|
|
550
|
+
CoordinationType.TOOLTIPS_VISIBLE,
|
|
551
|
+
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
552
|
+
CoordinationType.OBS_SET_COLOR,
|
|
553
|
+
CoordinationType.SAMPLE_SET_COLOR,
|
|
554
|
+
CoordinationType.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
|
|
555
|
+
CoordinationType.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
|
|
556
|
+
CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
557
|
+
CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD,
|
|
558
|
+
],
|
|
532
559
|
[ViewType.OBS_SET_COMPOSITION_BAR_PLOT]: [
|
|
533
560
|
CoordinationType.DATASET,
|
|
534
561
|
CoordinationType.OBS_TYPE,
|
|
@@ -577,6 +604,13 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
577
604
|
CoordinationType.OBS_SET_SELECTION,
|
|
578
605
|
CoordinationType.OBS_SET_FILTER,
|
|
579
606
|
],
|
|
607
|
+
[ViewType.SAMPLE_SET_PAIR_MANAGER]: [
|
|
608
|
+
CoordinationType.DATASET,
|
|
609
|
+
CoordinationType.OBS_TYPE,
|
|
610
|
+
CoordinationType.SAMPLE_TYPE,
|
|
611
|
+
CoordinationType.SAMPLE_SET_SELECTION,
|
|
612
|
+
CoordinationType.SAMPLE_SET_FILTER,
|
|
613
|
+
],
|
|
580
614
|
[ViewType.TREEMAP]: [
|
|
581
615
|
CoordinationType.DATASET,
|
|
582
616
|
CoordinationType.OBS_TYPE,
|
package/dist-tsc/version.json
CHANGED
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -30,6 +30,8 @@ export const ViewType = {
|
|
|
30
30
|
NEUROGLANCER: 'neuroglancer',
|
|
31
31
|
DUAL_SCATTERPLOT: 'dualScatterplot',
|
|
32
32
|
TREEMAP: 'treemap',
|
|
33
|
+
SAMPLE_SET_PAIR_MANAGER: 'sampleSetPairManager',
|
|
34
|
+
FEATURE_STATS_TABLE: 'featureStatsTable',
|
|
33
35
|
};
|
|
34
36
|
|
|
35
37
|
export const DataType = {
|
|
@@ -392,4 +394,6 @@ export const ViewHelpMapping = {
|
|
|
392
394
|
VOLCANO_PLOT: 'The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).',
|
|
393
395
|
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).',
|
|
394
396
|
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.',
|
|
397
|
+
SAMPLE_SET_PAIR_MANAGER: 'Select pairs of sample groups.',
|
|
398
|
+
FEATURE_STATS_TABLE: 'This table displays per-feature statistics, for example, from a differential expression test.',
|
|
395
399
|
};
|
package/src/coordination.ts
CHANGED
|
@@ -531,6 +531,33 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
531
531
|
CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
532
532
|
CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD,
|
|
533
533
|
],
|
|
534
|
+
[ViewType.FEATURE_STATS_TABLE]: [
|
|
535
|
+
CoordinationType.DATASET,
|
|
536
|
+
CoordinationType.OBS_TYPE,
|
|
537
|
+
CoordinationType.FEATURE_TYPE,
|
|
538
|
+
CoordinationType.SAMPLE_TYPE,
|
|
539
|
+
// For selection of case-control sets of samples:
|
|
540
|
+
CoordinationType.SAMPLE_SET_SELECTION,
|
|
541
|
+
// For selection of one-vs-others sets of observations:
|
|
542
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
543
|
+
// TODO: CoordinationType.FEATURE_SET_SELECTION,
|
|
544
|
+
// TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
|
|
545
|
+
// TODO: CoordinationType.FEATURE_SET_COLOR,
|
|
546
|
+
CoordinationType.FEATURE_HIGHLIGHT,
|
|
547
|
+
CoordinationType.FEATURE_SELECTION,
|
|
548
|
+
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
549
|
+
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
550
|
+
// TODO: CoordinationType.FEATURE_COLOR_ENCODING,
|
|
551
|
+
// TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
|
|
552
|
+
CoordinationType.TOOLTIPS_VISIBLE,
|
|
553
|
+
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
554
|
+
CoordinationType.OBS_SET_COLOR,
|
|
555
|
+
CoordinationType.SAMPLE_SET_COLOR,
|
|
556
|
+
CoordinationType.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
|
|
557
|
+
CoordinationType.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
|
|
558
|
+
CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
559
|
+
CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD,
|
|
560
|
+
],
|
|
534
561
|
[ViewType.OBS_SET_COMPOSITION_BAR_PLOT]: [
|
|
535
562
|
CoordinationType.DATASET,
|
|
536
563
|
CoordinationType.OBS_TYPE,
|
|
@@ -579,6 +606,13 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
579
606
|
CoordinationType.OBS_SET_SELECTION,
|
|
580
607
|
CoordinationType.OBS_SET_FILTER,
|
|
581
608
|
],
|
|
609
|
+
[ViewType.SAMPLE_SET_PAIR_MANAGER]: [
|
|
610
|
+
CoordinationType.DATASET,
|
|
611
|
+
CoordinationType.OBS_TYPE,
|
|
612
|
+
CoordinationType.SAMPLE_TYPE,
|
|
613
|
+
CoordinationType.SAMPLE_SET_SELECTION,
|
|
614
|
+
CoordinationType.SAMPLE_SET_FILTER,
|
|
615
|
+
],
|
|
582
616
|
[ViewType.TREEMAP]: [
|
|
583
617
|
CoordinationType.DATASET,
|
|
584
618
|
CoordinationType.OBS_TYPE,
|
package/src/version.json
CHANGED