@sjcrh/proteinpaint-types 2.98.0 → 2.98.1
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/chunk-DFSJACIQ.js +3373 -0
- package/dist/{chunk-SRDMLS6D.js → chunk-GQVW2DPA.js} +35 -73
- package/dist/chunk-X36QKCNU.js +3544 -0
- package/dist/{chunk-WCMW6A75.js → chunk-Y4KYTIK6.js} +2 -2
- package/dist/correlationVolcano.js +11 -0
- package/dist/index.js +32 -24
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +42 -16
- package/src/index.ts +1 -0
- package/src/routes/correlationVolcano.ts +44 -0
- package/src/routes/termdb.boxplot.ts +10 -8
- package/src/routes/termdb.violin.ts +3 -6
- package/src/termdb.matrix.ts +14 -13
- package/dist/chunk-OAO3UWUX.js +0 -311
|
@@ -1500,12 +1500,12 @@ var validViolinResponse = (input) => {
|
|
|
1500
1500
|
const __is = (input2) => {
|
|
1501
1501
|
const $join = import_typia.createValidate.join;
|
|
1502
1502
|
const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
|
|
1503
|
-
const $io1 = (input3) => "number" === typeof input3.min && "number" === typeof input3.max && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.pvalues || Array.isArray(input3.pvalues) && input3.pvalues.every((elem) => Array.isArray(elem) && elem.every((elem2) => "object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) && $
|
|
1504
|
-
const $io2 = (input3) => "string" === typeof input3.color && ("object" === typeof input3.density && null !== input3.density && $io3(input3.density)) && true && "string" === typeof input3.label && "number" === typeof input3.plotValueCount && "string" === typeof input3.seriesId && "string" === typeof input3.src && (
|
|
1503
|
+
const $io1 = (input3) => "number" === typeof input3.min && "number" === typeof input3.max && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.pvalues || Array.isArray(input3.pvalues) && input3.pvalues.every((elem) => Array.isArray(elem) && elem.every((elem2) => "object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) && $io6(elem2)))) && (null === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io7(elem)));
|
|
1504
|
+
const $io2 = (input3) => "string" === typeof input3.color && ("object" === typeof input3.density && null !== input3.density && $io3(input3.density)) && true && "string" === typeof input3.label && "number" === typeof input3.plotValueCount && "string" === typeof input3.seriesId && "string" === typeof input3.src && (Array.isArray(input3.summaryStats) && input3.summaryStats.every((elem) => "object" === typeof elem && null !== elem && $io5(elem)));
|
|
1505
1505
|
const $io3 = (input3) => Array.isArray(input3.bins) && input3.bins.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)) && "number" === typeof input3.densityMax && "number" === typeof input3.densityMin;
|
|
1506
1506
|
const $io4 = (input3) => "number" === typeof input3.x0 && "number" === typeof input3.x1 && "number" === typeof input3.density;
|
|
1507
|
-
const $io5 = (input3) =>
|
|
1508
|
-
const $io6 = (input3) =>
|
|
1507
|
+
const $io5 = (input3) => "string" === typeof input3.id && "string" === typeof input3.label && "number" === typeof input3.value;
|
|
1508
|
+
const $io6 = (input3) => (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.html || "string" === typeof input3.html);
|
|
1509
1509
|
const $io7 = (input3) => Object.keys(input3).every((key) => {
|
|
1510
1510
|
const value = input3[key];
|
|
1511
1511
|
if (void 0 === value)
|
|
@@ -1514,15 +1514,6 @@ var validViolinResponse = (input) => {
|
|
|
1514
1514
|
return "number" === typeof value;
|
|
1515
1515
|
return true;
|
|
1516
1516
|
});
|
|
1517
|
-
const $io8 = (input3) => (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.html || "string" === typeof input3.html);
|
|
1518
|
-
const $io9 = (input3) => Object.keys(input3).every((key) => {
|
|
1519
|
-
const value = input3[key];
|
|
1520
|
-
if (void 0 === value)
|
|
1521
|
-
return true;
|
|
1522
|
-
if (RegExp(/(.*)/).test(key))
|
|
1523
|
-
return "number" === typeof value;
|
|
1524
|
-
return true;
|
|
1525
|
-
});
|
|
1526
1517
|
const $iu0 = (input3) => (() => {
|
|
1527
1518
|
if (void 0 !== input3.status)
|
|
1528
1519
|
return $io0(input3);
|
|
@@ -1581,7 +1572,7 @@ var validViolinResponse = (input) => {
|
|
|
1581
1572
|
path: _path2 + ".pvalues[" + _index2 + "][" + _index3 + "]",
|
|
1582
1573
|
expected: "PValueEntries",
|
|
1583
1574
|
value: elem2
|
|
1584
|
-
})) && $
|
|
1575
|
+
})) && $vo6(elem2, _path2 + ".pvalues[" + _index2 + "][" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1585
1576
|
path: _path2 + ".pvalues[" + _index2 + "][" + _index3 + "]",
|
|
1586
1577
|
expected: "PValueEntries",
|
|
1587
1578
|
value: elem2
|
|
@@ -1593,22 +1584,22 @@ var validViolinResponse = (input) => {
|
|
|
1593
1584
|
path: _path2 + ".pvalues",
|
|
1594
1585
|
expected: "(Array<Array<PValueEntries>> | undefined)",
|
|
1595
1586
|
value: input3.pvalues
|
|
1596
|
-
}), null === input3.
|
|
1597
|
-
path: _path2 + ".
|
|
1587
|
+
}), null === input3.uncomputableValues || (Array.isArray(input3.uncomputableValues) || $report(_exceptionable2, {
|
|
1588
|
+
path: _path2 + ".uncomputableValues",
|
|
1598
1589
|
expected: "(Array<__type> | null)",
|
|
1599
|
-
value: input3.
|
|
1600
|
-
})) && input3.
|
|
1601
|
-
path: _path2 + ".
|
|
1602
|
-
expected: "__type
|
|
1590
|
+
value: input3.uncomputableValues
|
|
1591
|
+
})) && input3.uncomputableValues.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
1592
|
+
path: _path2 + ".uncomputableValues[" + _index4 + "]",
|
|
1593
|
+
expected: "__type",
|
|
1603
1594
|
value: elem
|
|
1604
|
-
})) && $
|
|
1605
|
-
path: _path2 + ".
|
|
1606
|
-
expected: "__type
|
|
1595
|
+
})) && $vo7(elem, _path2 + ".uncomputableValues[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1596
|
+
path: _path2 + ".uncomputableValues[" + _index4 + "]",
|
|
1597
|
+
expected: "__type",
|
|
1607
1598
|
value: elem
|
|
1608
1599
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1609
|
-
path: _path2 + ".
|
|
1600
|
+
path: _path2 + ".uncomputableValues",
|
|
1610
1601
|
expected: "(Array<__type> | null)",
|
|
1611
|
-
value: input3.
|
|
1602
|
+
value: input3.uncomputableValues
|
|
1612
1603
|
})].every((flag) => flag);
|
|
1613
1604
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.color || $report(_exceptionable2, {
|
|
1614
1605
|
path: _path2 + ".color",
|
|
@@ -1638,33 +1629,33 @@ var validViolinResponse = (input) => {
|
|
|
1638
1629
|
path: _path2 + ".src",
|
|
1639
1630
|
expected: "string",
|
|
1640
1631
|
value: input3.src
|
|
1641
|
-
}), (
|
|
1632
|
+
}), (Array.isArray(input3.summaryStats) || $report(_exceptionable2, {
|
|
1642
1633
|
path: _path2 + ".summaryStats",
|
|
1643
|
-
expected: "
|
|
1634
|
+
expected: "Array<ValuesEntries>",
|
|
1644
1635
|
value: input3.summaryStats
|
|
1645
|
-
})) &&
|
|
1636
|
+
})) && input3.summaryStats.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1637
|
+
path: _path2 + ".summaryStats[" + _index5 + "]",
|
|
1638
|
+
expected: "ValuesEntries",
|
|
1639
|
+
value: elem
|
|
1640
|
+
})) && $vo5(elem, _path2 + ".summaryStats[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1641
|
+
path: _path2 + ".summaryStats[" + _index5 + "]",
|
|
1642
|
+
expected: "ValuesEntries",
|
|
1643
|
+
value: elem
|
|
1644
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1646
1645
|
path: _path2 + ".summaryStats",
|
|
1647
|
-
expected: "
|
|
1646
|
+
expected: "Array<ValuesEntries>",
|
|
1648
1647
|
value: input3.summaryStats
|
|
1649
|
-
}), null === input3.uncomputableValueObj || ("object" === typeof input3.uncomputableValueObj && null !== input3.uncomputableValueObj && false === Array.isArray(input3.uncomputableValueObj) || $report(_exceptionable2, {
|
|
1650
|
-
path: _path2 + ".uncomputableValueObj",
|
|
1651
|
-
expected: "(__type.o1 | null)",
|
|
1652
|
-
value: input3.uncomputableValueObj
|
|
1653
|
-
})) && $vo7(input3.uncomputableValueObj, _path2 + ".uncomputableValueObj", _exceptionable2) || $report(_exceptionable2, {
|
|
1654
|
-
path: _path2 + ".uncomputableValueObj",
|
|
1655
|
-
expected: "(__type.o1 | null)",
|
|
1656
|
-
value: input3.uncomputableValueObj
|
|
1657
1648
|
})].every((flag) => flag);
|
|
1658
1649
|
const $vo3 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.bins) || $report(_exceptionable2, {
|
|
1659
1650
|
path: _path2 + ".bins",
|
|
1660
1651
|
expected: "Array<BinsEntries>",
|
|
1661
1652
|
value: input3.bins
|
|
1662
|
-
})) && input3.bins.map((elem,
|
|
1663
|
-
path: _path2 + ".bins[" +
|
|
1653
|
+
})) && input3.bins.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1654
|
+
path: _path2 + ".bins[" + _index6 + "]",
|
|
1664
1655
|
expected: "BinsEntries",
|
|
1665
1656
|
value: elem
|
|
1666
|
-
})) && $vo4(elem, _path2 + ".bins[" +
|
|
1667
|
-
path: _path2 + ".bins[" +
|
|
1657
|
+
})) && $vo4(elem, _path2 + ".bins[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1658
|
+
path: _path2 + ".bins[" + _index6 + "]",
|
|
1668
1659
|
expected: "BinsEntries",
|
|
1669
1660
|
value: elem
|
|
1670
1661
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1693,24 +1684,7 @@ var validViolinResponse = (input) => {
|
|
|
1693
1684
|
expected: "number",
|
|
1694
1685
|
value: input3.density
|
|
1695
1686
|
})].every((flag) => flag);
|
|
1696
|
-
const $vo5 = (input3, _path2, _exceptionable2 = true) => [
|
|
1697
|
-
path: _path2 + ".values",
|
|
1698
|
-
expected: "Array<ValuesEntries>",
|
|
1699
|
-
value: input3.values
|
|
1700
|
-
})) && input3.values.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1701
|
-
path: _path2 + ".values[" + _index6 + "]",
|
|
1702
|
-
expected: "ValuesEntries",
|
|
1703
|
-
value: elem
|
|
1704
|
-
})) && $vo6(elem, _path2 + ".values[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1705
|
-
path: _path2 + ".values[" + _index6 + "]",
|
|
1706
|
-
expected: "ValuesEntries",
|
|
1707
|
-
value: elem
|
|
1708
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1709
|
-
path: _path2 + ".values",
|
|
1710
|
-
expected: "Array<ValuesEntries>",
|
|
1711
|
-
value: input3.values
|
|
1712
|
-
})].every((flag) => flag);
|
|
1713
|
-
const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1687
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1714
1688
|
path: _path2 + ".id",
|
|
1715
1689
|
expected: "string",
|
|
1716
1690
|
value: input3.id
|
|
@@ -1723,19 +1697,7 @@ var validViolinResponse = (input) => {
|
|
|
1723
1697
|
expected: "number",
|
|
1724
1698
|
value: input3.value
|
|
1725
1699
|
})].every((flag) => flag);
|
|
1726
|
-
const $
|
|
1727
|
-
const value = input3[key];
|
|
1728
|
-
if (void 0 === value)
|
|
1729
|
-
return true;
|
|
1730
|
-
if (RegExp(/(.*)/).test(key))
|
|
1731
|
-
return "number" === typeof value || $report(_exceptionable2, {
|
|
1732
|
-
path: _path2 + $join(key),
|
|
1733
|
-
expected: "number",
|
|
1734
|
-
value
|
|
1735
|
-
});
|
|
1736
|
-
return true;
|
|
1737
|
-
}).every((flag) => flag)].every((flag) => flag);
|
|
1738
|
-
const $vo8 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1700
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1739
1701
|
path: _path2 + ".value",
|
|
1740
1702
|
expected: "(string | undefined)",
|
|
1741
1703
|
value: input3.value
|
|
@@ -1744,7 +1706,7 @@ var validViolinResponse = (input) => {
|
|
|
1744
1706
|
expected: "(string | undefined)",
|
|
1745
1707
|
value: input3.html
|
|
1746
1708
|
})].every((flag) => flag);
|
|
1747
|
-
const $
|
|
1709
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
1748
1710
|
const value = input3[key];
|
|
1749
1711
|
if (void 0 === value)
|
|
1750
1712
|
return true;
|