@milaboratories/graph-maker 1.1.10 → 1.1.11
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/graph-maker.js +6 -5
- package/dist/graph-maker.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/graph-maker.js
CHANGED
|
@@ -8802,7 +8802,8 @@ async function H_(e, t, n = !0) {
|
|
|
8802
8802
|
selectedSource: B.toCanonicalString(),
|
|
8803
8803
|
selectedFilterValue: _
|
|
8804
8804
|
}), l.push(...(S == null ? void 0 : S.axesSpec.map((k) => ({ spec: k, parentColumn: B }))) ?? []);
|
|
8805
|
-
}
|
|
8805
|
+
} else
|
|
8806
|
+
console.warn(`Not found column for default option: ${JSON.stringify({ inputName: u, selectedSource: c })}`);
|
|
8806
8807
|
}
|
|
8807
8808
|
for (const { inputName: u, selectedSource: c, selectedFilterValue: f } of o) {
|
|
8808
8809
|
const d = cc.fromAxisSpec(c), p = d.toCanonicalString(), m = l.find((B) => cc.fromAxisSpec(B.spec).toCanonicalString() === p), C = (u === "filters" || u === "tabBy") && typeof f > "u" && (m != null && m.parentColumn) ? (await e.pFrameProvider.getAxisUniqueValues(d, [m == null ? void 0 : m.parentColumn]))[0] : f;
|
|
@@ -8828,7 +8829,7 @@ async function H_(e, t, n = !0) {
|
|
|
8828
8829
|
}
|
|
8829
8830
|
}
|
|
8830
8831
|
}
|
|
8831
|
-
return
|
|
8832
|
+
return r;
|
|
8832
8833
|
}
|
|
8833
8834
|
async function $G(e, t, n) {
|
|
8834
8835
|
if (!n || n.length === 0)
|
|
@@ -8963,12 +8964,12 @@ async function _oe(e, t, n, r, a, o) {
|
|
|
8963
8964
|
};
|
|
8964
8965
|
}
|
|
8965
8966
|
if (l.heatmapAnnotation.selectorStates.length > 0) {
|
|
8966
|
-
const m = Ln(l.heatmapAnnotation.selectorStates[0].selectedSource), C = await e.pFrameProvider.getColumnSpecById(m), B = (C == null ? void 0 : C.valueType) === "Double" || (C == null ? void 0 : C.valueType) === "Float" ? "continuous" : "discrete", S = Uu.bright.colors;
|
|
8967
|
+
const m = Ln(l.heatmapAnnotation.selectorStates[0].selectedSource), C = await e.pFrameProvider.getColumnSpecById(m), B = (C == null ? void 0 : C.valueType) === "Double" || (C == null ? void 0 : C.valueType) === "Float" || (C == null ? void 0 : C.valueType) === "Int" || (C == null ? void 0 : C.valueType) === "Long" ? "continuous" : "discrete", S = Uu.bright.colors;
|
|
8967
8968
|
let _;
|
|
8968
8969
|
B === "discrete" && (_ = (await e.pFrameProvider.getColumnUniqueValues(m)).filter(Boolean).reduce((P, H, z) => (P[H] = S[z % S.length], P), {})), t.heatmapSettings = {
|
|
8969
8970
|
valueType: B,
|
|
8970
8971
|
aes: {
|
|
8971
|
-
colorsList: Uu.
|
|
8972
|
+
colorsList: Uu.viridis.colors,
|
|
8972
8973
|
colorsMap: _
|
|
8973
8974
|
}
|
|
8974
8975
|
};
|
|
@@ -13207,7 +13208,7 @@ const Sle = ["innerHTML"], Ble = {
|
|
|
13207
13208
|
heatmapAnnotation: "Heatmap annotation",
|
|
13208
13209
|
heatmapAxis: "Heatmap axis",
|
|
13209
13210
|
heatmapGroup: "Heatmap group",
|
|
13210
|
-
heatmapForSequence: "
|
|
13211
|
+
heatmapForSequence: "Alignment data",
|
|
13211
13212
|
nodeShape: "Node shape",
|
|
13212
13213
|
nodeColor: "Node color",
|
|
13213
13214
|
lineColor: "Line color"
|