@milaboratories/miplots4 1.0.44 → 1.0.45
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.d.ts +3 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5464,6 +5464,7 @@ type Settings = DiscreteSettings | DendroSettings | ScatterplotSettings | Heatma
|
|
|
5464
5464
|
type DataByColumns = {
|
|
5465
5465
|
type: 'columns';
|
|
5466
5466
|
values: Record<string, DataValue[]>;
|
|
5467
|
+
id: string;
|
|
5467
5468
|
};
|
|
5468
5469
|
type DataSet = DataFrame | DataByColumns;
|
|
5469
5470
|
type Row = Record<string, DataValue>;
|
|
@@ -5472,12 +5473,13 @@ type RowsGroup = Record<string, {
|
|
|
5472
5473
|
grouped: RowsGroup;
|
|
5473
5474
|
}>;
|
|
5474
5475
|
declare class DataFrame {
|
|
5476
|
+
id: string;
|
|
5475
5477
|
data: Record<string, DataValue[]>;
|
|
5476
5478
|
rowsCount: number;
|
|
5477
5479
|
columnNames: string[];
|
|
5478
5480
|
rowsGrouped?: RowsGroup;
|
|
5479
5481
|
static from(data: DataSet): DataFrame;
|
|
5480
|
-
constructor(data: Record<string, DataValue[]>);
|
|
5482
|
+
constructor(id: string, data: Record<string, DataValue[]>);
|
|
5481
5483
|
get rows(): Row[];
|
|
5482
5484
|
getColumn(key: string): DataValue[];
|
|
5483
5485
|
getColumnCategories(key: string): string[];
|