@platforma-open/milaboratories.repertoire-mutation-heatmap.block 1.0.0 → 1.1.0
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/block-pack/main.plj.gz +0 -0
- package/block-pack/manifest.json +1 -1
- package/block-pack/model.json +1 -1
- package/block-pack/published.json +1 -1
- package/block-pack/ui.tgz +0 -0
- package/dist/AGENTS.d.ts +105 -1
- package/dist/AGENTS.d.ts.map +1 -1
- package/dist/index.d.ts +105 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +86 -7
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/block-pack/ui.tgz
CHANGED
|
Binary file
|
package/dist/AGENTS.d.ts
CHANGED
|
@@ -6180,6 +6180,18 @@ type BlockArgs = {
|
|
|
6180
6180
|
abundanceRef?: PlRef; /** Per-variant property `[variantKey] -> value` (required in property mode). */
|
|
6181
6181
|
propertyRef?: SUniversalPColumnId; /** Pre-aggregated known×sample abundance `[sampleId, knownVariantKey]` (heat map 2). */
|
|
6182
6182
|
knownAbundanceRef?: PlRef;
|
|
6183
|
+
/**
|
|
6184
|
+
* Ordered per-round frequency columns from the enrichment block (composition-enrichment view).
|
|
6185
|
+
* Each is one round's `[variantKey] -> frequency` (`pl7.app/frequency`); `[0]` is the baseline round R0.
|
|
6186
|
+
* Empty = composition-enrichment view off.
|
|
6187
|
+
*/
|
|
6188
|
+
roundFrequencyRefs: SUniversalPColumnId[];
|
|
6189
|
+
/**
|
|
6190
|
+
* Fraction-space epsilon added to both sides of the composition ratio before log2,
|
|
6191
|
+
* to keep emergent/vanished residues finite. Frequencies are in [0,1] (not counts),
|
|
6192
|
+
* so this is a small value (default 1e-6), not a count pseudocount.
|
|
6193
|
+
*/
|
|
6194
|
+
compositionEpsilon: number;
|
|
6183
6195
|
level: Alphabet;
|
|
6184
6196
|
valueMode: ValueMode; /** Per-(parent, position) frequency normalization (abundance mode only). */
|
|
6185
6197
|
normalize: boolean;
|
|
@@ -6189,13 +6201,16 @@ type BlockArgs = {
|
|
|
6189
6201
|
type BlockUiState = {
|
|
6190
6202
|
stateHeatmapState: GraphMakerState;
|
|
6191
6203
|
knownHeatmapState: GraphMakerState;
|
|
6204
|
+
compositionHeatmapState: GraphMakerState;
|
|
6192
6205
|
};
|
|
6193
6206
|
/** Unified persisted data: workflow-relevant selections + UI view state. */
|
|
6194
6207
|
type BlockData$1 = {
|
|
6195
6208
|
stateMatrixRef?: PlRef;
|
|
6196
6209
|
abundanceRef?: PlRef;
|
|
6197
6210
|
propertyRef?: SUniversalPColumnId;
|
|
6198
|
-
knownAbundanceRef?: PlRef;
|
|
6211
|
+
knownAbundanceRef?: PlRef; /** Ordered per-round frequency columns; `[0]` = baseline R0. Empty = composition view off. */
|
|
6212
|
+
roundFrequencyRefs: SUniversalPColumnId[]; /** Fraction-space epsilon for the composition ratio (default 1e-6). */
|
|
6213
|
+
compositionEpsilon: number;
|
|
6199
6214
|
level: Alphabet;
|
|
6200
6215
|
valueMode: ValueMode;
|
|
6201
6216
|
normalize: boolean;
|
|
@@ -6226,6 +6241,11 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
|
|
|
6226
6241
|
label: string;
|
|
6227
6242
|
value: SUniversalPColumnId;
|
|
6228
6243
|
}[] | undefined>;
|
|
6244
|
+
} & {
|
|
6245
|
+
roundFrequencyOptions: ConfigRenderLambda<{
|
|
6246
|
+
label: string;
|
|
6247
|
+
value: SUniversalPColumnId;
|
|
6248
|
+
}[] | undefined>;
|
|
6229
6249
|
} & {
|
|
6230
6250
|
knownAbundanceOptions: ConfigRenderLambda<{
|
|
6231
6251
|
readonly ref: {
|
|
@@ -6354,6 +6374,90 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
|
|
|
6354
6374
|
mapFields: {};
|
|
6355
6375
|
};
|
|
6356
6376
|
}[] | undefined>;
|
|
6377
|
+
} & {
|
|
6378
|
+
compositionHeatmapPf: ConfigRenderLambda<PFrameHandle | undefined> & {
|
|
6379
|
+
withStatus: true;
|
|
6380
|
+
};
|
|
6381
|
+
} & {
|
|
6382
|
+
compositionHeatmapPCols: ConfigRenderLambda<{
|
|
6383
|
+
readonly spec: {
|
|
6384
|
+
readonly kind: "PColumn";
|
|
6385
|
+
readonly name: string;
|
|
6386
|
+
readonly domain?: {
|
|
6387
|
+
[x: string]: string;
|
|
6388
|
+
} | undefined;
|
|
6389
|
+
readonly contextDomain?: {
|
|
6390
|
+
[x: string]: string;
|
|
6391
|
+
} | undefined;
|
|
6392
|
+
readonly annotations?: {
|
|
6393
|
+
[x: string]: string;
|
|
6394
|
+
} | undefined;
|
|
6395
|
+
readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
|
|
6396
|
+
readonly parentAxes?: number[] | undefined;
|
|
6397
|
+
readonly axesSpec: {
|
|
6398
|
+
readonly type: AxisValueType;
|
|
6399
|
+
readonly name: string;
|
|
6400
|
+
readonly domain?: {
|
|
6401
|
+
[x: string]: string;
|
|
6402
|
+
} | undefined;
|
|
6403
|
+
readonly contextDomain?: {
|
|
6404
|
+
[x: string]: string;
|
|
6405
|
+
} | undefined;
|
|
6406
|
+
readonly annotations?: {
|
|
6407
|
+
[x: string]: string;
|
|
6408
|
+
} | undefined;
|
|
6409
|
+
readonly parentAxes?: number[] | undefined;
|
|
6410
|
+
}[];
|
|
6411
|
+
};
|
|
6412
|
+
readonly id: PObjectId;
|
|
6413
|
+
readonly data: {
|
|
6414
|
+
readonly handle: AccessorHandle;
|
|
6415
|
+
readonly resolvePath: string[];
|
|
6416
|
+
resolve: {};
|
|
6417
|
+
resolveOutput: {};
|
|
6418
|
+
resolveInput: {};
|
|
6419
|
+
resolveAny: {};
|
|
6420
|
+
resolveWithCommon: {};
|
|
6421
|
+
readonly resourceType: {
|
|
6422
|
+
readonly name: string;
|
|
6423
|
+
readonly version: string;
|
|
6424
|
+
};
|
|
6425
|
+
getInputsLocked: {};
|
|
6426
|
+
getOutputsLocked: {};
|
|
6427
|
+
getIsReadyOrError: {};
|
|
6428
|
+
getIsFinal: {};
|
|
6429
|
+
getError: {};
|
|
6430
|
+
listInputFields: {};
|
|
6431
|
+
listOutputFields: {};
|
|
6432
|
+
listDynamicFields: {};
|
|
6433
|
+
getKeyValueBase64: {};
|
|
6434
|
+
getKeyValueAsString: {};
|
|
6435
|
+
getKeyValueAsJson: {};
|
|
6436
|
+
getDataBase64: {};
|
|
6437
|
+
getDataAsString: {};
|
|
6438
|
+
getDataAsJson: {};
|
|
6439
|
+
getDataAsJsonOrUndefined: {};
|
|
6440
|
+
getPColumns: {};
|
|
6441
|
+
parsePObjectCollection: {};
|
|
6442
|
+
getFileContentAsBase64: {};
|
|
6443
|
+
getFileContentAsString: {};
|
|
6444
|
+
getFileContentAsJson: {};
|
|
6445
|
+
getBlobContentAsBase64: {};
|
|
6446
|
+
getBlobContentAsString: {};
|
|
6447
|
+
getFileHandle: {};
|
|
6448
|
+
getDownloadedBlobHandle: {};
|
|
6449
|
+
getRemoteFileHandle: {};
|
|
6450
|
+
getOnDemandBlobHandle: {};
|
|
6451
|
+
extractArchiveAndGetURL: {};
|
|
6452
|
+
getImportProgress: {};
|
|
6453
|
+
getLastLogs: {};
|
|
6454
|
+
getProgressLog: {};
|
|
6455
|
+
getProgressLogWithInfo: {};
|
|
6456
|
+
getLogHandle: {};
|
|
6457
|
+
allFieldsResolved: {};
|
|
6458
|
+
mapFields: {};
|
|
6459
|
+
};
|
|
6460
|
+
}[] | undefined>;
|
|
6357
6461
|
} & {
|
|
6358
6462
|
knownHeatmapPf: ConfigRenderLambda<PFrameHandle | undefined> & {
|
|
6359
6463
|
withStatus: true;
|