@milaboratories/graph-maker 1.1.48 → 1.1.50

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.
@@ -91,6 +91,7 @@ export declare function isMappedAes(item: FixedOrMappedAes | null | string | num
91
91
  export declare function isContinuousDataMapping(v: ContinuousDataMapping | number | null | undefined): v is ContinuousDataMapping;
92
92
  export type LayersSettings = {
93
93
  bubble: {
94
+ NAValueAs: number | null;
94
95
  minRadius: number;
95
96
  maxRadius: number;
96
97
  normalizationDirection: 'row' | 'column' | null;
@@ -112,10 +113,12 @@ export type LayersSettings = {
112
113
  showLegend: boolean;
113
114
  };
114
115
  heatmap: {
116
+ NAValueAs: number | null;
115
117
  normalizationDirection: 'row' | 'column' | null;
116
118
  normalizationMethod: 'standardScaling' | 'meanNormalization';
117
119
  };
118
120
  heatmapClustered: {
121
+ NAValueAs: number | null;
119
122
  normalizationDirection: 'row' | 'column' | null;
120
123
  normalizationMethod: 'standardScaling' | 'meanNormalization';
121
124
  dendrogramX: boolean;
@@ -15,6 +15,7 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
15
15
  };
16
16
  layersSettings: {
17
17
  bubble: {
18
+ NAValueAs: number | null;
18
19
  minRadius: number;
19
20
  maxRadius: number;
20
21
  normalizationDirection: "row" | "column" | null;
@@ -51,10 +52,12 @@ export declare function createReactiveState(initialData: GraphMakerState, chartT
51
52
  showLegend: boolean;
52
53
  };
53
54
  heatmap: {
55
+ NAValueAs: number | null;
54
56
  normalizationDirection: "row" | "column" | null;
55
57
  normalizationMethod: "standardScaling" | "meanNormalization";
56
58
  };
57
59
  heatmapClustered: {
60
+ NAValueAs: number | null;
58
61
  normalizationDirection: "row" | "column" | null;
59
62
  normalizationMethod: "standardScaling" | "meanNormalization";
60
63
  dendrogramX: boolean;
@@ -329,6 +332,7 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
329
332
  };
330
333
  layersSettings: {
331
334
  bubble: {
335
+ NAValueAs: number | null;
332
336
  minRadius: number;
333
337
  maxRadius: number;
334
338
  normalizationDirection: "row" | "column" | null;
@@ -365,10 +369,12 @@ export declare function factoryStore(reactiveState: Reactive<ReactiveState>, dat
365
369
  showLegend: boolean;
366
370
  };
367
371
  heatmap: {
372
+ NAValueAs: number | null;
368
373
  normalizationDirection: "row" | "column" | null;
369
374
  normalizationMethod: "standardScaling" | "meanNormalization";
370
375
  };
371
376
  heatmapClustered: {
377
+ NAValueAs: number | null;
372
378
  normalizationDirection: "row" | "column" | null;
373
379
  normalizationMethod: "standardScaling" | "meanNormalization";
374
380
  dendrogramX: boolean;
@@ -671,6 +677,7 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
671
677
  };
672
678
  layersSettings: {
673
679
  bubble: {
680
+ NAValueAs: number | null;
674
681
  minRadius: number;
675
682
  maxRadius: number;
676
683
  normalizationDirection: "row" | "column" | null;
@@ -707,10 +714,12 @@ export declare function provideStore(initialState: GraphMakerState, dataStoreRef
707
714
  showLegend: boolean;
708
715
  };
709
716
  heatmap: {
717
+ NAValueAs: number | null;
710
718
  normalizationDirection: "row" | "column" | null;
711
719
  normalizationMethod: "standardScaling" | "meanNormalization";
712
720
  };
713
721
  heatmapClustered: {
722
+ NAValueAs: number | null;
714
723
  normalizationDirection: "row" | "column" | null;
715
724
  normalizationMethod: "standardScaling" | "meanNormalization";
716
725
  dendrogramX: boolean;
@@ -92,4 +92,5 @@ export declare function composeBubbleSettings(settings: BubbleSettings, reactive
92
92
  colorRange?: number[] | undefined;
93
93
  sizeRange?: number[] | undefined;
94
94
  } | undefined;
95
+ NAValueAs?: number | null | undefined;
95
96
  };
@@ -95,6 +95,7 @@ export declare function composeHeatmapSettings(settings: HeatmapSettings, reacti
95
95
  method: "standardScaling" | "meanNormalization";
96
96
  colorRange?: number[] | undefined;
97
97
  } | undefined;
98
+ NAValueAs?: number | null | undefined;
98
99
  valueType?: "discrete" | "continuous" | undefined;
99
100
  xGroupBy?: {
100
101
  type: "column";
@@ -1,8 +1,8 @@
1
1
  import { ScatterplotSettings } from '@milaboratories/miplots4';
2
- import { PlotDataAndSettings } from '@milaboratories/pf-plots';
2
+ import { InputGuide, InputState, PlotDataAndSettings } from '@milaboratories/pf-plots';
3
3
  import { ReactiveState, UniqueValuesData } from '../../types.ts';
4
4
 
5
- export declare function composeScatterplotUmapSettings(settings: ScatterplotSettings, dataByColumns: PlotDataAndSettings['dataByColumns'], reactiveState: ReactiveState, uniqueValuesData: Record<string, UniqueValuesData>): {
5
+ export declare function composeScatterplotUmapSettings(settings: ScatterplotSettings, dataByColumns: PlotDataAndSettings['dataByColumns'], reactiveState: ReactiveState, inputGuide: InputGuide<InputState>, uniqueValuesData: Record<string, UniqueValuesData>): {
6
6
  type: "scatterplot";
7
7
  title: {
8
8
  name: string;