@sjcrh/proteinpaint-client 2.187.0 → 2.188.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/dist/2dmaf-6YIEXAIG.js +1372 -0
- package/dist/AIProjectAdmin-5K5NIQNT.js +828 -0
- package/dist/AppHeader-4SN5M6SZ.js +834 -0
- package/dist/BoxPlot-DBJA6TQF.js +1218 -0
- package/dist/CorrelationVolcano-MDMTMTT5.js +618 -0
- package/dist/DE-S5AFNI4I.js +94 -0
- package/dist/DEinput-XVBBA74N.js +300 -0
- package/dist/DifferentialAnalysis-TUBGPAB2.js +244 -0
- package/dist/DifferentialAnalysis-TUBGPAB2.js.map +7 -0
- package/dist/Disco-VV7FQ7WW.js +3236 -0
- package/dist/Disco.UI-JDJFJFEY.js +244 -0
- package/dist/DmrPlot-XOG67W74.js +641 -0
- package/dist/GB-K3AWZQFF.js +1129 -0
- package/dist/GeneExpInput-Y7MDS2CA.js +365 -0
- package/dist/HicApp-53OTZ3YU.js +2249 -0
- package/dist/NumBinaryEditor-SB4YR3JM.js +269 -0
- package/dist/NumBinaryEditor.unit.spec-V2W2OZYP.js +285 -0
- package/dist/NumContEditor-RZZBM7PR.js +106 -0
- package/dist/NumContEditor.unit.spec-GAAW3ZZN.js +168 -0
- package/dist/NumCustomBinEditor-GFCGPRPI.js +37 -0
- package/dist/NumCustomBinEditor.unit.spec-24MXSO3L.js +283 -0
- package/dist/NumDiscreteEditor-HAHIOFNC.js +178 -0
- package/dist/NumDiscreteEditor.unit.spec-JYN2CWSI.js +201 -0
- package/dist/NumRegularBinEditor-7DOE64RB.js +37 -0
- package/dist/NumRegularBinEditor.unit.spec-2WU4GGNT.js +226 -0
- package/dist/NumSplineEditor-JLRD5TVX.js +191 -0
- package/dist/NumSplineEditor.unit.spec-LOG7CECJ.js +198 -0
- package/dist/NumericDensity-IDOP7I34.js +37 -0
- package/dist/NumericDensity.unit.spec-HTJQRPVH.js +220 -0
- package/dist/NumericHandler-DWVVGLLB.js +38 -0
- package/dist/NumericHandler.unit.spec-BDDFTHOF.js +218 -0
- package/dist/ProteomeInput-PK4ZM3SZ.js +395 -0
- package/dist/ProteomeInput-PK4ZM3SZ.js.map +7 -0
- package/dist/RunChart2-PBJ56YX3.js +757 -0
- package/dist/SC-UC3HP2MY.js +830 -0
- package/dist/SC-UC3HP2MY.js.map +7 -0
- package/dist/Volcano-BZJCA53R.js +1314 -0
- package/dist/Volcano-BZJCA53R.js.map +7 -0
- package/dist/WSIViewer-OHOP2DZT.js +48475 -0
- package/dist/WSIViewer-OHOP2DZT.js.map +7 -0
- package/dist/WsiSamplesPlot-FOMPMEXK.js +164 -0
- package/dist/adSandbox-SRPPCYYR.js +37 -0
- package/dist/alphaGenome-IS2WAJCK.js +174 -0
- package/dist/app-GTHYSGWI.js +36 -0
- package/dist/app-XEKETNLG.js +48 -0
- package/dist/app.js +20 -20
- package/dist/bam-GQBFL6A7.js +859 -0
- package/dist/barchart-AESC4JSX.js +46 -0
- package/dist/barchart.data-RE34IC4G.js +22 -0
- package/dist/barchart.events-KM4J5ISO.js +46 -0
- package/dist/barchart.integration.spec-DFVSBGO3.js +1676 -0
- package/dist/barchart2-NNTL4RQZ.js +310 -0
- package/dist/block-EHZM3FUX.js +6201 -0
- package/dist/block.init-EAEFNNF6.js +37 -0
- package/dist/block.mds.expressionrank-ZBHA2CFE.js +358 -0
- package/dist/block.mds.geneboxplot-4ZU3QUAK.js +827 -0
- package/dist/block.mds.junction-PDH55JXO.js +1544 -0
- package/dist/block.mds.svcnv-QWBU54XQ.js +6800 -0
- package/dist/block.svg-HUGBYWXU.js +163 -0
- package/dist/block.tk.aicheck-SDCWXQZF.js +282 -0
- package/dist/block.tk.ase-HMUTHCJS.js +364 -0
- package/dist/block.tk.bam-Q7B2YQLI.js +1905 -0
- package/dist/block.tk.bedgraphdot-QBGBSVHN.js +383 -0
- package/dist/block.tk.bigwig.ui-767A3MUH.js +211 -0
- package/dist/block.tk.hicstraw-LEZUZHLF.js +822 -0
- package/dist/block.tk.junction-GQHCZOYR.js +2363 -0
- package/dist/block.tk.junction.textmatrixui-D5QUO7KQ.js +198 -0
- package/dist/block.tk.ld-E3MHZOG5.js +98 -0
- package/dist/block.tk.menu-XE7PFYGR.js +1028 -0
- package/dist/block.tk.pgv-MPPMPDED.js +943 -0
- package/dist/brainImaging-YQ443NOL.js +422 -0
- package/dist/chunk-26WXJBSR.js +228 -0
- package/dist/chunk-2P6Z7JFC.js +119 -0
- package/dist/chunk-2QQO4RRD.js +2681 -0
- package/dist/chunk-2T7VYQLY.js +281 -0
- package/dist/chunk-2T7VYQLY.js.map +7 -0
- package/dist/chunk-2XPDA6NL.js +20652 -0
- package/dist/chunk-2XPDA6NL.js.map +7 -0
- package/dist/chunk-37ARSZOI.js +2815 -0
- package/dist/chunk-42Q53PXE.js +381 -0
- package/dist/chunk-46ASPS5Y.js +386 -0
- package/dist/chunk-4KPI7PB5.js +142 -0
- package/dist/chunk-4MDNMCGZ.js +102 -0
- package/dist/chunk-5IG3E4DT.js +272 -0
- package/dist/chunk-5MIR7IHI.js +52 -0
- package/dist/chunk-5MZVXJVA.js +55 -0
- package/dist/chunk-66D5GRS5.js +263 -0
- package/dist/chunk-6ATE2TRC.js +534 -0
- package/dist/chunk-6BFR6MK3.js +158 -0
- package/dist/chunk-6NJMCO4X.js +335 -0
- package/dist/chunk-6ON5KAMO.js +54 -0
- package/dist/chunk-76GPYMHZ.js +102 -0
- package/dist/chunk-7AAFBFOH.js +147 -0
- package/dist/chunk-7OOZHEUC.js +302 -0
- package/dist/chunk-A4VLWLYF.js +226 -0
- package/dist/chunk-A6EFWGWD.js +444 -0
- package/dist/chunk-ALW5XXVW.js +170 -0
- package/dist/chunk-ANCT2BGO.js +34 -0
- package/dist/chunk-AROMXWCY.js +291 -0
- package/dist/chunk-AY4UBGLC.js +815 -0
- package/dist/chunk-B43MTEYB.js +84 -0
- package/dist/chunk-B43MTEYB.js.map +7 -0
- package/dist/chunk-BMVLR3TM.js +1210 -0
- package/dist/chunk-BR7JA2EO.js +621 -0
- package/dist/chunk-C3SYSMNE.js +42 -0
- package/dist/chunk-C3SYSMNE.js.map +7 -0
- package/dist/chunk-D3HJXMTH.js +17 -0
- package/dist/chunk-DKUEZ4XD.js +205 -0
- package/dist/chunk-DT3MMC5U.js +31 -0
- package/dist/chunk-DYVKN7EE.js +5000 -0
- package/dist/chunk-EF37UZY6.js +37 -0
- package/dist/chunk-ESXMS7FW.js +229 -0
- package/dist/chunk-FDK4UJMN.js +263 -0
- package/dist/chunk-FDK4UJMN.js.map +7 -0
- package/dist/chunk-FUSVXQ6C.js +368 -0
- package/dist/chunk-G7JRRTS5.js +170 -0
- package/dist/chunk-G7JRRTS5.js.map +7 -0
- package/dist/chunk-GHWHLSUX.js +192 -0
- package/dist/chunk-GHWHLSUX.js.map +7 -0
- package/dist/chunk-GXKVAPGP.js +2786 -0
- package/dist/chunk-H4JIENLQ.js +39 -0
- package/dist/chunk-H7YJG4YM.js +470 -0
- package/dist/chunk-I24KPIDD.js +148 -0
- package/dist/chunk-IENFDUWD.js +203 -0
- package/dist/chunk-IKHIY6IZ.js +2327 -0
- package/dist/chunk-IKHIY6IZ.js.map +7 -0
- package/dist/chunk-J7BISJTL.js +50 -0
- package/dist/chunk-J7KYOSEK.js +824 -0
- package/dist/chunk-JGPZ5254.js +371 -0
- package/dist/chunk-JUIPCWAM.js +194 -0
- package/dist/chunk-LO4NMQ7W.js +293 -0
- package/dist/chunk-LSSLS5HV.js +95 -0
- package/dist/chunk-MDLRB3MR.js +407 -0
- package/dist/chunk-MJLKGZ27.js +129 -0
- package/dist/chunk-MYWJQRTD.js +1849 -0
- package/dist/chunk-MYWJQRTD.js.map +7 -0
- package/dist/chunk-NL5T3SBK.js +4209 -0
- package/dist/chunk-NMBIT4IK.js +46 -0
- package/dist/chunk-NMBIT4IK.js.map +7 -0
- package/dist/chunk-ONAYJVN2.js +217 -0
- package/dist/chunk-PP7K4R2E.js +141 -0
- package/dist/chunk-PP7K4R2E.js.map +7 -0
- package/dist/chunk-PSMFOARZ.js +14 -0
- package/dist/chunk-QX3GF2IA.js +514 -0
- package/dist/chunk-QZ2U4BOS.js +1159 -0
- package/dist/chunk-RBZBBNLL.js +1087 -0
- package/dist/chunk-RQ2ZJ66W.js +276 -0
- package/dist/chunk-RQ2ZJ66W.js.map +7 -0
- package/dist/chunk-RZTFQXWV.js +117 -0
- package/dist/chunk-SJC2C77V.js +177 -0
- package/dist/chunk-THUXB7EE.js +698 -0
- package/dist/chunk-THUXB7EE.js.map +7 -0
- package/dist/chunk-TVXVP4M6.js +215 -0
- package/dist/chunk-UTDPKDIY.js +482 -0
- package/dist/chunk-UVIUB7QI.js +280 -0
- package/dist/chunk-VAUSRBL5.js +6364 -0
- package/dist/chunk-VP3IZVQA.js +54 -0
- package/dist/chunk-VP3IZVQA.js.map +7 -0
- package/dist/chunk-WP22GYZ2.js +446 -0
- package/dist/chunk-WUNX3VST.js +1271 -0
- package/dist/chunk-X7GDCYND.js +1561 -0
- package/dist/chunk-X7GDCYND.js.map +7 -0
- package/dist/chunk-XB3V6S2X.js +1230 -0
- package/dist/chunk-XB3V6S2X.js.map +7 -0
- package/dist/chunk-XD4TBJK2.js +455 -0
- package/dist/chunk-Y6DSXMPB.js +121 -0
- package/dist/chunk-YBIZRASR.js +252 -0
- package/dist/chunk-YI2YH7ZK.js +158 -0
- package/dist/chunk-YLDE3PVC.js +1943 -0
- package/dist/chunk-Z736NYXL.js +26 -0
- package/dist/chunk-ZEJB7CPC.js +95 -0
- package/dist/chunk-ZGWEBKZ4.js +100 -0
- package/dist/condition-FSF6ROJV.js +331 -0
- package/dist/controls-OPSBFDFZ.js +40 -0
- package/dist/controls.config-3QRV5363.js +38 -0
- package/dist/correlation-WLOI7Z35.js +97 -0
- package/dist/cuminc-G2UGJUUA.js +1148 -0
- package/dist/cuminc.integration.spec-X5NEZ6S5.js +677 -0
- package/dist/customdata.inputui-RNW3AO3Z.js +288 -0
- package/dist/dataDownload-4U3TGDMH.js +329 -0
- package/dist/dataDownload.integration.spec-6FUI2SJ4.js +192 -0
- package/dist/databrowser.ui-4GVJVJWG.js +432 -0
- package/dist/dictionary-NSDS7Z4K.js +110 -0
- package/dist/dnaMethylation-OYQB75LD.js +37 -0
- package/dist/dnaMethylation.integration.spec-6TTLV34N.js +202 -0
- package/dist/dofetch-4TO3QMT6.js +50 -0
- package/dist/e2pca-NYBVR6PL.js +349 -0
- package/dist/ep-RTDVEA4D.js +1255 -0
- package/dist/expclust.gdc.spec-JVIRESTP.js +306 -0
- package/dist/facet-OVBF2QMO.js +520 -0
- package/dist/forms2-HTLS54CX.js +533 -0
- package/dist/gb-Y3546HMZ.js +87 -0
- package/dist/geneExpClustering-PH3PWH3K.js +248 -0
- package/dist/geneExpression-2Z2EV3XM.js +37 -0
- package/dist/geneExpression-6CFXOCGW.js +312 -0
- package/dist/geneExpression.unit.spec-WKUTHRHC.js +101 -0
- package/dist/geneORA-SHLZESLB.js +277 -0
- package/dist/geneVariant-FHZUIFPM.js +38 -0
- package/dist/geneVariant-Y7ZUBEOX.js +40 -0
- package/dist/geneVariant.integration.spec-N7TZUOY3.js +197 -0
- package/dist/genefusion.ui-7PDVZPZ2.js +308 -0
- package/dist/geneset-HLVOGYUI.js +202 -0
- package/dist/genomeBrowser.spec-7IVIMUR5.js +280 -0
- package/dist/grin2-2GNWIYFU.js +845 -0
- package/dist/grin2-2GNWIYFU.js.map +7 -0
- package/dist/grin2-Z5O7254R.js +1555 -0
- package/dist/gsea-TFC3MBRW.js +46 -0
- package/dist/hierCluster-ERSE5I4I.js +62 -0
- package/dist/hierCluster-QQZQU5ZG.js +58 -0
- package/dist/hierCluster.config-WPINWW37.js +39 -0
- package/dist/hierCluster.integration.spec-Y6OHSKPW.js +394 -0
- package/dist/hierCluster.interactivity-HS3G5QC5.js +53 -0
- package/dist/hierCluster.renderers-W63ZKZTT.js +21 -0
- package/dist/imagePlot-QFVN25PM.js +162 -0
- package/dist/importPlot-MIDM5APH.js +8 -0
- package/dist/isoformExpression-L4TRNT4A.js +39 -0
- package/dist/isoformExpression.unit.spec-QQG323LA.js +207 -0
- package/dist/launch.adhoc-4NQ6GGGL.js +41 -0
- package/dist/leftlabel.sample-JU7AIPZL.js +259 -0
- package/dist/legacyDataset-TT4CHF23.js +119 -0
- package/dist/lollipop-JG74M6PJ.js +170 -0
- package/dist/maf-PDL2EGHI.js +451 -0
- package/dist/maftimeline-V43NQEEE.js +592 -0
- package/dist/matrix-EB2EFP4S.js +57 -0
- package/dist/matrix-Q57FU5FE.js +62 -0
- package/dist/matrix.cells-NJIMPD32.js +28 -0
- package/dist/matrix.config-GLDEQD3H.js +40 -0
- package/dist/matrix.data-6SHAKOQU.js +25 -0
- package/dist/matrix.groups-MTDEANQA.js +26 -0
- package/dist/matrix.integration.spec-JCZ5VQJU.js +3071 -0
- package/dist/matrix.interactivity-SVRNWL6V.js +41 -0
- package/dist/matrix.layout-2HREO42N.js +43 -0
- package/dist/matrix.legend-QHVKT3MP.js +22 -0
- package/dist/matrix.renderers-IYR3ZY6V.js +37 -0
- package/dist/matrix.serieses-2VMTQXL2.js +21 -0
- package/dist/matrix.sort-PWA2RQQR.js +27 -0
- package/dist/matrix.sort.unit.spec-3OYIPTFY.js +471 -0
- package/dist/matrix.sorterUi-Y5QLO75X.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-BNEXQHLP.js +341 -0
- package/dist/mavb-IZDDU4KK.js +731 -0
- package/dist/mds.fimo-FWBL7JE6.js +517 -0
- package/dist/mds.samplescatterplot-T47C7DJB.js +1549 -0
- package/dist/mds.survivalplot-MFZJCGS6.js +482 -0
- package/dist/numericDictTermCluster-I2W67RGA.js +72 -0
- package/dist/oncomatrix-6W7IBAED.js +294 -0
- package/dist/oncomatrix.spec-CEFH5IGH.js +447 -0
- package/dist/plot.2dvaf-BN6CFLNU.js +376 -0
- package/dist/plot.app-7EYWUCZV.js +40 -0
- package/dist/plot.barplot-MDIARSQD.js +101 -0
- package/dist/plot.boxplot-RUHGXC54.js +151 -0
- package/dist/plot.brainImaging-JEE32ZBV.js +51 -0
- package/dist/plot.disco-2RPNPX6E.js +101 -0
- package/dist/plot.dzi-7VTYYGGW.js +33 -0
- package/dist/plot.ssgq-FHE5KU5C.js +138 -0
- package/dist/plot.vaf2cov-WDJJM5Q4.js +258 -0
- package/dist/plot.wsi-FQZWHNSF.js +36 -0
- package/dist/polar-M7EGINN4.js +185 -0
- package/dist/polar2-JFYY43K2.js +227 -0
- package/dist/profile.spec-SIOHASOX.js +79 -0
- package/dist/profileBarchart-6JLEKVJV.js +266 -0
- package/dist/profileForms-G6CH73RV.js +440 -0
- package/dist/profilePlot-NQYJOBVV.js +53 -0
- package/dist/profileRadar-4TNWIXDB.js +262 -0
- package/dist/profileRadarFacility-XPH3LCBQ.js +262 -0
- package/dist/proteinView-OZLHO45J.js +1222 -0
- package/dist/proteinView-OZLHO45J.js.map +7 -0
- package/dist/proteomeAbundance-NQ4635NL.js +12 -0
- package/dist/proteomeAbundance-OV24UTZN.js +59 -0
- package/dist/proteomeAbundance-OV24UTZN.js.map +7 -0
- package/dist/qualitative-DL4WJG3O.js +42 -0
- package/dist/radar2-YNOQWHBT.js +315 -0
- package/dist/radarFacility2-24UPSI7S.js +324 -0
- package/dist/regression-URAUTLTD.js +55 -0
- package/dist/regression.inputs-UDVOU7FB.js +47 -0
- package/dist/regression.inputs.term-BWW6W34R.js +47 -0
- package/dist/regression.inputs.values.table-UKGIZTXG.js +44 -0
- package/dist/regression.integration.spec-EBHQTNA3.js +783 -0
- package/dist/regression.results-XTOSWIP6.js +39 -0
- package/dist/regression.spec-KG2I53VR.js +707 -0
- package/dist/report-KH7SNPVF.js +221 -0
- package/dist/sampleScatter.spec-PIXGS3LG.js +201 -0
- package/dist/sampleView-TWS6VT55.js +47 -0
- package/dist/samplelst-6AB5Y4WR.js +110 -0
- package/dist/samplematrix-AJAF555E.js +2197 -0
- package/dist/sc-PMNYZKXA.js +85 -0
- package/dist/scatter-Q2GH3ZJD.js +801 -0
- package/dist/scatter.integration.spec-SMMYKWH3.js +1195 -0
- package/dist/selectGenomeWithTklst-VE4SDYY7.js +133 -0
- package/dist/singleCellCellType-S324GCKW.js +37 -0
- package/dist/singleCellCellType.unit.spec-NXC2GELH.js +159 -0
- package/dist/singleCellGeneExpression-6H4HRKIA.js +37 -0
- package/dist/singleCellGeneExpression.unit.spec-HIJXVUWJ.js +152 -0
- package/dist/singleCellPlot-H7PCZ2DP.js +52 -0
- package/dist/singlecell-4LH3MQVL.js +85 -0
- package/dist/singlecell-MOSYT3RI.js +1571 -0
- package/dist/snp-IKLGTD4Q.js +37 -0
- package/dist/snp.unit.spec-GC74MUVM.js +175 -0
- package/dist/snplocus-RIABFSBQ.js +207 -0
- package/dist/spliceevent.a53ss.diagram-4E2IYYHL.js +150 -0
- package/dist/spliceevent.exonskip.diagram-C56R6XLQ.js +276 -0
- package/dist/spliceevent.noeventdiagram-SIPMAKXI.js +459 -0
- package/dist/ssGSEA-5QNHLSOI.js +37 -0
- package/dist/ssGSEA.unit.spec-KVPN553B.js +87 -0
- package/dist/summarizeCnvGeneexp-K4VGJSW6.js +162 -0
- package/dist/summarizeGeneexpSurvival-HGHX65FN.js +107 -0
- package/dist/summarizeMutationCnv-3K4Z6R2X.js +163 -0
- package/dist/summarizeMutationDiagnosis-M2MHUPRT.js +39 -0
- package/dist/summarizeMutationSurvival-WVBUP3GA.js +98 -0
- package/dist/summary-RZHZXCU5.js +48 -0
- package/dist/summary.integration.spec-FGZP7DY7.js +413 -0
- package/dist/summaryInput-UGM7MMCR.js +234 -0
- package/dist/sunburst-L27U7LV7.js +283 -0
- package/dist/survival-5ZMEBV6O.js +57 -0
- package/dist/survival-JWRRGTJT.js +45 -0
- package/dist/survival.integration.spec-Z5542I4V.js +801 -0
- package/dist/svgraph-O6ZVLNNN.js +1386 -0
- package/dist/svmr-ULFV7OSH.js +3841 -0
- package/dist/table-CHRQH2GH.js +199 -0
- package/dist/termCollection-FAO6ZA6F.js +178 -0
- package/dist/termCollection-GBXS3GOY.js +37 -0
- package/dist/termCollection.unit.spec-4WRTOV6E.js +207 -0
- package/dist/tk-KNUBWRNK.js +45 -0
- package/dist/tp.ui-2PPYOQYL.js +1458 -0
- package/dist/tvs.density-BZ5SKDQS.js +18 -0
- package/dist/tvs.dt-TDNSTGQR.js +38 -0
- package/dist/tvs.dtcnv.categorical-P2IGIE4I.js +39 -0
- package/dist/tvs.dtcnv.continuous-2XUCRBDR.js +71 -0
- package/dist/tvs.dtfusion-PRHZVMOG.js +39 -0
- package/dist/tvs.dtsnvindel-KGKBW5JS.js +39 -0
- package/dist/tvs.dtsv-M3CY5TZF.js +39 -0
- package/dist/tvs.numeric-W74JCC5P.js +21 -0
- package/dist/tvs.samplelst-BTWFBBAN.js +103 -0
- package/dist/tvs.termCollection-Y64QIKOA.js +158 -0
- package/dist/violin-3LLHHV3L.js +45 -0
- package/dist/violin.integration.spec-6NF5FDLQ.js +1424 -0
- package/dist/violin.interactivity-W2AKZ24D.js +37 -0
- package/dist/violin.renderer-CRFYYZRI.js +39 -0
- package/dist/vocabulary-AUJOAVYS.js +40 -0
- package/package.json +4 -3
- package/dist/2dmaf-DTWWXOZC.js +0 -1372
- package/dist/AIProjectAdmin-BCYIWOXD.js +0 -828
- package/dist/AppHeader-H3L2MRWP.js +0 -834
- package/dist/BoxPlot-INZ6IN3V.js +0 -1218
- package/dist/CorrelationVolcano-AK3XW4ZH.js +0 -618
- package/dist/DE-IBSFUKNG.js +0 -94
- package/dist/DEinput-H4GMQWDY.js +0 -300
- package/dist/DifferentialAnalysis-3DSL5LQC.js +0 -243
- package/dist/DifferentialAnalysis-3DSL5LQC.js.map +0 -7
- package/dist/Disco-5PXXMGGQ.js +0 -3236
- package/dist/Disco.UI-23LOT2U6.js +0 -244
- package/dist/DmrPlot-PBCU2XNF.js +0 -641
- package/dist/GB-HIEPWNPV.js +0 -1129
- package/dist/GeneExpInput-A4JNX7PU.js +0 -365
- package/dist/HicApp-IDH2A4BC.js +0 -2249
- package/dist/NumBinaryEditor-CZ54X7J3.js +0 -269
- package/dist/NumBinaryEditor.unit.spec-QLBRM7MJ.js +0 -285
- package/dist/NumContEditor-Z5MGLQ2I.js +0 -106
- package/dist/NumContEditor.unit.spec-TR7D7ULV.js +0 -168
- package/dist/NumCustomBinEditor-B7JID42Y.js +0 -37
- package/dist/NumCustomBinEditor.unit.spec-GZJIVY4K.js +0 -283
- package/dist/NumDiscreteEditor-LWHZ36T6.js +0 -178
- package/dist/NumDiscreteEditor.unit.spec-QCQCMEWO.js +0 -201
- package/dist/NumRegularBinEditor-IATRIUKD.js +0 -37
- package/dist/NumRegularBinEditor.unit.spec-J6UTQO76.js +0 -226
- package/dist/NumSplineEditor-2KMU6SRO.js +0 -191
- package/dist/NumSplineEditor.unit.spec-MX7Y4MTD.js +0 -198
- package/dist/NumericDensity-JCH7F5FV.js +0 -37
- package/dist/NumericDensity.unit.spec-4TKKRKHF.js +0 -220
- package/dist/NumericHandler-7FB3RJM7.js +0 -38
- package/dist/NumericHandler.unit.spec-U6DCADZY.js +0 -218
- package/dist/RunChart2-VQTIVMKM.js +0 -757
- package/dist/SC-XW272KAP.js +0 -827
- package/dist/SC-XW272KAP.js.map +0 -7
- package/dist/Volcano-Y4U3L6D2.js +0 -1352
- package/dist/Volcano-Y4U3L6D2.js.map +0 -7
- package/dist/WSIViewer-UFB7TI2D.js +0 -47972
- package/dist/WSIViewer-UFB7TI2D.js.map +0 -7
- package/dist/WsiSamplesPlot-2OAR57YB.js +0 -164
- package/dist/adSandbox-IKKFYRF7.js +0 -37
- package/dist/alphaGenome-WJNFQGGK.js +0 -174
- package/dist/app-UHGTFH6D.js +0 -48
- package/dist/app-YETYAR45.js +0 -36
- package/dist/bam-S6U7VNJP.js +0 -859
- package/dist/barchart-3NJDGHXU.js +0 -46
- package/dist/barchart.data-MVVKPDLE.js +0 -22
- package/dist/barchart.events-WQGA4CGB.js +0 -46
- package/dist/barchart.integration.spec-E6CJTWRN.js +0 -1676
- package/dist/barchart2-UNHFOYKB.js +0 -310
- package/dist/block-2XHZLY26.js +0 -6201
- package/dist/block.init-CMG4V6RB.js +0 -37
- package/dist/block.mds.expressionrank-QX2JOEMV.js +0 -358
- package/dist/block.mds.geneboxplot-USVQSDBT.js +0 -827
- package/dist/block.mds.junction-R6GJO75N.js +0 -1544
- package/dist/block.mds.svcnv-MRISSDAX.js +0 -6800
- package/dist/block.svg-Z5KKZTDB.js +0 -163
- package/dist/block.tk.aicheck-SOFJYYZX.js +0 -282
- package/dist/block.tk.ase-EHX5FV2Y.js +0 -364
- package/dist/block.tk.bam-DJS6LODM.js +0 -1905
- package/dist/block.tk.bedgraphdot-R2YHPXZA.js +0 -383
- package/dist/block.tk.bigwig.ui-VPEEQJLS.js +0 -211
- package/dist/block.tk.hicstraw-BDYN573B.js +0 -822
- package/dist/block.tk.junction-BONB4BXU.js +0 -2363
- package/dist/block.tk.junction.textmatrixui-Y5R6KY4N.js +0 -198
- package/dist/block.tk.ld-EGVVSXCB.js +0 -98
- package/dist/block.tk.menu-4YBMB5JT.js +0 -1028
- package/dist/block.tk.pgv-SBHGL6UH.js +0 -943
- package/dist/brainImaging-G3WZDYG6.js +0 -422
- package/dist/chunk-2K5DSRBJ.js +0 -84
- package/dist/chunk-2K5DSRBJ.js.map +0 -7
- package/dist/chunk-2O6JF76T.js +0 -121
- package/dist/chunk-2QULGYVE.js +0 -368
- package/dist/chunk-2VLGHVOL.js +0 -215
- package/dist/chunk-32TTOWY6.js +0 -1210
- package/dist/chunk-43PMSEMV.js +0 -50
- package/dist/chunk-4KSU6NBP.js +0 -194
- package/dist/chunk-4SFX42S7.js +0 -1271
- package/dist/chunk-4Y444IRJ.js +0 -272
- package/dist/chunk-56AN5PPQ.js +0 -679
- package/dist/chunk-56AN5PPQ.js.map +0 -7
- package/dist/chunk-5FO3NKA4.js +0 -155
- package/dist/chunk-5FO3NKA4.js.map +0 -7
- package/dist/chunk-5HOR6JQ2.js +0 -100
- package/dist/chunk-5LZKQFLO.js +0 -180
- package/dist/chunk-5LZKQFLO.js.map +0 -7
- package/dist/chunk-5RE3J6HK.js +0 -293
- package/dist/chunk-5SMOOFRW.js +0 -386
- package/dist/chunk-64Z22QAH.js +0 -14
- package/dist/chunk-6NMH6WPB.js +0 -446
- package/dist/chunk-7FKIAQ4K.js +0 -17
- package/dist/chunk-7NOKTEHK.js +0 -407
- package/dist/chunk-7UHUOC6F.js +0 -119
- package/dist/chunk-AMYSEKPF.js +0 -1658
- package/dist/chunk-AMYSEKPF.js.map +0 -7
- package/dist/chunk-ANGDY7VC.js +0 -170
- package/dist/chunk-AQ4OP4GR.js +0 -39
- package/dist/chunk-AQVOYTLS.js +0 -177
- package/dist/chunk-ARINZFQG.js +0 -276
- package/dist/chunk-ARINZFQG.js.map +0 -7
- package/dist/chunk-BQJVLXEL.js +0 -55
- package/dist/chunk-BRMASRRS.js +0 -455
- package/dist/chunk-BT4OOYPT.js +0 -280
- package/dist/chunk-BTJFVY3R.js +0 -190
- package/dist/chunk-BTJFVY3R.js.map +0 -7
- package/dist/chunk-C62CSWMV.js +0 -335
- package/dist/chunk-CAWDQURD.js +0 -6364
- package/dist/chunk-DMAHNBGN.js +0 -1230
- package/dist/chunk-DMAHNBGN.js.map +0 -7
- package/dist/chunk-EGWVYY7K.js +0 -264
- package/dist/chunk-EGWVYY7K.js.map +0 -7
- package/dist/chunk-ENWVV6EU.js +0 -2681
- package/dist/chunk-EPOELG75.js +0 -56
- package/dist/chunk-EPOELG75.js.map +0 -7
- package/dist/chunk-FA44G3GZ.js +0 -470
- package/dist/chunk-GD7FKXOA.js +0 -148
- package/dist/chunk-GF4OSOYW.js +0 -2815
- package/dist/chunk-GQOBT2W7.js +0 -203
- package/dist/chunk-GTBL7UHX.js +0 -2786
- package/dist/chunk-HE7CD7BD.js +0 -482
- package/dist/chunk-I7JDV4ZC.js +0 -226
- package/dist/chunk-IABWKPRK.js +0 -534
- package/dist/chunk-IPDH4FHY.js +0 -54
- package/dist/chunk-JNOOLCYB.js +0 -1159
- package/dist/chunk-JPKYHLNI.js +0 -158
- package/dist/chunk-KMQ6GQ3I.js +0 -1943
- package/dist/chunk-KTCW3JA6.js +0 -4209
- package/dist/chunk-L4QG7XZE.js +0 -46
- package/dist/chunk-L4QG7XZE.js.map +0 -7
- package/dist/chunk-LGUE54VX.js +0 -302
- package/dist/chunk-LJ4AUJXC.js +0 -95
- package/dist/chunk-LN3QYBGI.js +0 -20495
- package/dist/chunk-LN3QYBGI.js.map +0 -7
- package/dist/chunk-LQQSRNR5.js +0 -228
- package/dist/chunk-LSV4Z473.js +0 -31
- package/dist/chunk-LTSR7SLO.js +0 -514
- package/dist/chunk-LY7GD74F.js +0 -381
- package/dist/chunk-MHCTLVGE.js +0 -26
- package/dist/chunk-MSAMGAQF.js +0 -2370
- package/dist/chunk-MSAMGAQF.js.map +0 -7
- package/dist/chunk-NYX4B5CO.js +0 -291
- package/dist/chunk-OPPNZXYG.js +0 -129
- package/dist/chunk-P6TPXUMP.js +0 -117
- package/dist/chunk-PL2CM7RY.js +0 -621
- package/dist/chunk-PSGQWZN4.js +0 -147
- package/dist/chunk-PZLYNNST.js +0 -371
- package/dist/chunk-RA4RQYXQ.js +0 -142
- package/dist/chunk-RAJZYWFN.js +0 -95
- package/dist/chunk-ROLVOPVR.js +0 -252
- package/dist/chunk-RQZJIBIH.js +0 -34
- package/dist/chunk-RSE2FOKW.js +0 -217
- package/dist/chunk-SDLRTORS.js +0 -263
- package/dist/chunk-TF4EDNQO.js +0 -158
- package/dist/chunk-TV74I3Y5.js +0 -43
- package/dist/chunk-TV74I3Y5.js.map +0 -7
- package/dist/chunk-UPPBAFUK.js +0 -5000
- package/dist/chunk-UVPAZM3G.js +0 -52
- package/dist/chunk-UWYCEYML.js +0 -815
- package/dist/chunk-VB3SRNBK.js +0 -37
- package/dist/chunk-W6XQR5UL.js +0 -444
- package/dist/chunk-XBBUQW52.js +0 -824
- package/dist/chunk-XSA3VIEQ.js +0 -205
- package/dist/chunk-XZ6MGJQ3.js +0 -102
- package/dist/chunk-YC6ZJ7RP.js +0 -1842
- package/dist/chunk-YC6ZJ7RP.js.map +0 -7
- package/dist/chunk-YEMIL6QU.js +0 -1087
- package/dist/chunk-ZD47FENE.js +0 -229
- package/dist/chunk-ZYBM24FU.js +0 -102
- package/dist/chunk-ZYY54HBU.js +0 -330
- package/dist/chunk-ZYY54HBU.js.map +0 -7
- package/dist/condition-ARCN26MF.js +0 -331
- package/dist/controls-PKWN2JGN.js +0 -40
- package/dist/controls.config-NFRPXFUJ.js +0 -38
- package/dist/correlation-DPT6XL2U.js +0 -97
- package/dist/cuminc-M4U7LQD5.js +0 -1148
- package/dist/cuminc.integration.spec-MH4OFYDJ.js +0 -677
- package/dist/customdata.inputui-6TAHAMSV.js +0 -288
- package/dist/dataDownload-7GZEYSUT.js +0 -329
- package/dist/dataDownload.integration.spec-NAIJRFTV.js +0 -192
- package/dist/databrowser.ui-LLXHZ5O6.js +0 -432
- package/dist/dictionary-MUAURMYE.js +0 -110
- package/dist/dnaMethylation-AU5D3U3E.js +0 -37
- package/dist/dnaMethylation.integration.spec-JIDBRA6P.js +0 -202
- package/dist/dofetch-WSYK5OTB.js +0 -50
- package/dist/e2pca-ICG35YR5.js +0 -349
- package/dist/ep-CSSSQOUP.js +0 -1255
- package/dist/expclust.gdc.spec-4WPQUXH4.js +0 -306
- package/dist/facet-JAGILNY6.js +0 -520
- package/dist/forms2-IMVDB6AT.js +0 -533
- package/dist/gb-36LTYICV.js +0 -87
- package/dist/geneExpClustering-CGMENTHI.js +0 -248
- package/dist/geneExpression-AD2L46J4.js +0 -37
- package/dist/geneExpression-G2FHBDUQ.js +0 -312
- package/dist/geneExpression.unit.spec-XWCB7K5L.js +0 -101
- package/dist/geneORA-GVHQF7DF.js +0 -277
- package/dist/geneVariant-HE22CH76.js +0 -40
- package/dist/geneVariant-SQD5QUFH.js +0 -38
- package/dist/geneVariant.integration.spec-66XFLDNN.js +0 -197
- package/dist/genefusion.ui-TD32NWD4.js +0 -308
- package/dist/geneset-NSYPDXS3.js +0 -202
- package/dist/genomeBrowser.spec-CYFONLNQ.js +0 -280
- package/dist/grin2-3QB57OPH.js +0 -1555
- package/dist/grin2-FLQNWPMZ.js +0 -851
- package/dist/grin2-FLQNWPMZ.js.map +0 -7
- package/dist/gsea-RMTU5I3U.js +0 -46
- package/dist/hierCluster-LSQL6PGC.js +0 -58
- package/dist/hierCluster-XTEBDEVO.js +0 -62
- package/dist/hierCluster.config-SHXFSPOH.js +0 -39
- package/dist/hierCluster.integration.spec-KNMIYWV3.js +0 -394
- package/dist/hierCluster.interactivity-6NAKTUR5.js +0 -53
- package/dist/hierCluster.renderers-FWOV4Q47.js +0 -21
- package/dist/imagePlot-3IVG4SFN.js +0 -162
- package/dist/importPlot-HEMDRIVF.js +0 -8
- package/dist/isoformExpression-FJ3GEU6D.js +0 -39
- package/dist/isoformExpression.unit.spec-L7D22UDB.js +0 -207
- package/dist/launch.adhoc-PDGQF2UP.js +0 -41
- package/dist/leftlabel.sample-ZBI4NHCV.js +0 -259
- package/dist/legacyDataset-PBCPC5I7.js +0 -119
- package/dist/lollipop-K7S6ASFE.js +0 -170
- package/dist/maf-JEW6PPJB.js +0 -451
- package/dist/maftimeline-7URL27MC.js +0 -592
- package/dist/matrix-6EK5WGIG.js +0 -57
- package/dist/matrix-DKBD5RIL.js +0 -62
- package/dist/matrix.cells-KEIOXJQ7.js +0 -28
- package/dist/matrix.config-FGJB4VVM.js +0 -40
- package/dist/matrix.data-QGCGFLD7.js +0 -25
- package/dist/matrix.groups-HBPLZ2QX.js +0 -26
- package/dist/matrix.integration.spec-R4PF67KF.js +0 -3071
- package/dist/matrix.interactivity-M3SY33ET.js +0 -41
- package/dist/matrix.layout-H6WQ3ZMW.js +0 -43
- package/dist/matrix.legend-UCL7HM26.js +0 -22
- package/dist/matrix.renderers-3PPFSS7Z.js +0 -37
- package/dist/matrix.serieses-S2TJ3E6P.js +0 -21
- package/dist/matrix.sort-CFA4UWBJ.js +0 -27
- package/dist/matrix.sort.unit.spec-562VIWDS.js +0 -471
- package/dist/matrix.sorterUi-FT7K5664.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-GAHHUN3K.js +0 -341
- package/dist/mavb-HPW5X55U.js +0 -731
- package/dist/mds.fimo-HSBKLIOX.js +0 -517
- package/dist/mds.samplescatterplot-DE27OMJE.js +0 -1549
- package/dist/mds.survivalplot-IW22UGCE.js +0 -482
- package/dist/numericDictTermCluster-DOD66G3A.js +0 -72
- package/dist/oncomatrix-BZCVCPR4.js +0 -294
- package/dist/oncomatrix.spec-IHYCIAP4.js +0 -447
- package/dist/plot.2dvaf-QLOZ54VC.js +0 -376
- package/dist/plot.app-XDVDR23J.js +0 -40
- package/dist/plot.barplot-XOESF7OQ.js +0 -101
- package/dist/plot.boxplot-VNOC2CHT.js +0 -151
- package/dist/plot.brainImaging-7ZEOY4UR.js +0 -51
- package/dist/plot.disco-6GVDYK7A.js +0 -101
- package/dist/plot.dzi-TEFPPPL6.js +0 -33
- package/dist/plot.ssgq-OG4TODLO.js +0 -138
- package/dist/plot.vaf2cov-VMZRJULA.js +0 -258
- package/dist/plot.wsi-2CHZZ7AC.js +0 -36
- package/dist/polar-QUYQRQOQ.js +0 -185
- package/dist/polar2-OXXLAXJC.js +0 -227
- package/dist/profile.spec-TI6PRHNJ.js +0 -79
- package/dist/profileBarchart-GEK77XEB.js +0 -266
- package/dist/profileForms-NR3VNHKM.js +0 -440
- package/dist/profilePlot-GGKO3IW5.js +0 -53
- package/dist/profileRadar-MN3LX5ER.js +0 -262
- package/dist/profileRadarFacility-3G2HWB2L.js +0 -262
- package/dist/proteinView-TZ5BGOTA.js +0 -1188
- package/dist/proteinView-TZ5BGOTA.js.map +0 -7
- package/dist/proteomeAbundance-JXNECXF7.js +0 -68
- package/dist/proteomeAbundance-JXNECXF7.js.map +0 -7
- package/dist/proteomeAbundance-O4BB55O3.js +0 -21
- package/dist/qualitative-Q3TT73O7.js +0 -42
- package/dist/radar2-LSD3VPZT.js +0 -315
- package/dist/radarFacility2-LZGIXY7A.js +0 -324
- package/dist/regression-J3XDAPAZ.js +0 -55
- package/dist/regression.inputs-BBZYI5OI.js +0 -47
- package/dist/regression.inputs.term-7BW6XGLG.js +0 -47
- package/dist/regression.inputs.values.table-DYX2YU4H.js +0 -44
- package/dist/regression.integration.spec-WLXZYKWW.js +0 -783
- package/dist/regression.results-K5Q2N2KW.js +0 -39
- package/dist/regression.spec-VT7T6KBY.js +0 -707
- package/dist/report-3D3L573D.js +0 -221
- package/dist/sampleScatter.spec-6IPJQLM2.js +0 -201
- package/dist/sampleView-5JMFI4HF.js +0 -47
- package/dist/samplelst-SUCB5WOZ.js +0 -110
- package/dist/samplematrix-A5SZBKO6.js +0 -2197
- package/dist/sc-NAA6ESO6.js +0 -85
- package/dist/scatter-EQCN2HYE.js +0 -801
- package/dist/scatter.integration.spec-7NXIYS67.js +0 -1195
- package/dist/selectGenomeWithTklst-KXODNCY6.js +0 -133
- package/dist/singleCellCellType-HMIW76YB.js +0 -37
- package/dist/singleCellCellType.unit.spec-ZCZET56X.js +0 -159
- package/dist/singleCellGeneExpression-IUCUHF6R.js +0 -37
- package/dist/singleCellGeneExpression.unit.spec-J4D6F2N3.js +0 -152
- package/dist/singleCellPlot-L6W3MDGG.js +0 -52
- package/dist/singlecell-A6ECAAPI.js +0 -85
- package/dist/singlecell-KBABNXC5.js +0 -1571
- package/dist/snp-RO7ATG6E.js +0 -37
- package/dist/snp.unit.spec-ZJLRGJD4.js +0 -175
- package/dist/snplocus-N3CU6NRP.js +0 -207
- package/dist/spliceevent.a53ss.diagram-7PHT4COB.js +0 -150
- package/dist/spliceevent.exonskip.diagram-3CZTY6QD.js +0 -276
- package/dist/spliceevent.noeventdiagram-GQE256DT.js +0 -459
- package/dist/ssGSEA-4I3L5MX2.js +0 -37
- package/dist/ssGSEA.unit.spec-PZCC5YU7.js +0 -87
- package/dist/summarizeCnvGeneexp-ASXUQW56.js +0 -162
- package/dist/summarizeGeneexpSurvival-ULGUOW5V.js +0 -107
- package/dist/summarizeMutationCnv-VDUCIUGM.js +0 -163
- package/dist/summarizeMutationDiagnosis-FMAAMCZC.js +0 -39
- package/dist/summarizeMutationSurvival-GZ4NGDJT.js +0 -98
- package/dist/summary-2WNZ6JSB.js +0 -48
- package/dist/summary.integration.spec-XPMYB6GM.js +0 -413
- package/dist/summaryInput-2UGXEA5C.js +0 -234
- package/dist/sunburst-76WCQLTT.js +0 -283
- package/dist/survival-23IZM4ML.js +0 -45
- package/dist/survival-3EAMPHSX.js +0 -57
- package/dist/survival.integration.spec-YNVAKBV3.js +0 -801
- package/dist/svgraph-G2M5LXEP.js +0 -1386
- package/dist/svmr-BUDBVU34.js +0 -3841
- package/dist/table-QJSZ6YFK.js +0 -199
- package/dist/termCollection-2YAY3RLZ.js +0 -178
- package/dist/termCollection-MAMDMEDD.js +0 -37
- package/dist/termCollection.unit.spec-UY7G2BHG.js +0 -207
- package/dist/tk-GFGP3F76.js +0 -45
- package/dist/tp.ui-OQ757UIE.js +0 -1458
- package/dist/tvs.density-BJK23JYJ.js +0 -18
- package/dist/tvs.dt-TOYEFKNT.js +0 -38
- package/dist/tvs.dtcnv.categorical-EO2VLFL2.js +0 -39
- package/dist/tvs.dtcnv.continuous-ZAHTKZ4Y.js +0 -71
- package/dist/tvs.dtfusion-BY3AHBL3.js +0 -39
- package/dist/tvs.dtsnvindel-UM5LQ4FR.js +0 -39
- package/dist/tvs.dtsv-H7ZVHLS5.js +0 -39
- package/dist/tvs.numeric-66FP6RRH.js +0 -21
- package/dist/tvs.samplelst-Q5ECTZOY.js +0 -103
- package/dist/tvs.termCollection-FYNMKZTR.js +0 -158
- package/dist/violin-EGWLAJVM.js +0 -45
- package/dist/violin.integration.spec-3P4TYHBR.js +0 -1424
- package/dist/violin.interactivity-VWDR4LYB.js +0 -37
- package/dist/violin.renderer-WWTU6J7X.js +0 -39
- package/dist/vocabulary-JG4ZITOH.js +0 -40
- /package/dist/{2dmaf-DTWWXOZC.js.map → 2dmaf-6YIEXAIG.js.map} +0 -0
- /package/dist/{AIProjectAdmin-BCYIWOXD.js.map → AIProjectAdmin-5K5NIQNT.js.map} +0 -0
- /package/dist/{AppHeader-H3L2MRWP.js.map → AppHeader-4SN5M6SZ.js.map} +0 -0
- /package/dist/{BoxPlot-INZ6IN3V.js.map → BoxPlot-DBJA6TQF.js.map} +0 -0
- /package/dist/{CorrelationVolcano-AK3XW4ZH.js.map → CorrelationVolcano-MDMTMTT5.js.map} +0 -0
- /package/dist/{DE-IBSFUKNG.js.map → DE-S5AFNI4I.js.map} +0 -0
- /package/dist/{DEinput-H4GMQWDY.js.map → DEinput-XVBBA74N.js.map} +0 -0
- /package/dist/{Disco-5PXXMGGQ.js.map → Disco-VV7FQ7WW.js.map} +0 -0
- /package/dist/{Disco.UI-23LOT2U6.js.map → Disco.UI-JDJFJFEY.js.map} +0 -0
- /package/dist/{DmrPlot-PBCU2XNF.js.map → DmrPlot-XOG67W74.js.map} +0 -0
- /package/dist/{GB-HIEPWNPV.js.map → GB-K3AWZQFF.js.map} +0 -0
- /package/dist/{GeneExpInput-A4JNX7PU.js.map → GeneExpInput-Y7MDS2CA.js.map} +0 -0
- /package/dist/{HicApp-IDH2A4BC.js.map → HicApp-53OTZ3YU.js.map} +0 -0
- /package/dist/{NumBinaryEditor-CZ54X7J3.js.map → NumBinaryEditor-SB4YR3JM.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-QLBRM7MJ.js.map → NumBinaryEditor.unit.spec-V2W2OZYP.js.map} +0 -0
- /package/dist/{NumContEditor-Z5MGLQ2I.js.map → NumContEditor-RZZBM7PR.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-TR7D7ULV.js.map → NumContEditor.unit.spec-GAAW3ZZN.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-B7JID42Y.js.map → NumCustomBinEditor-GFCGPRPI.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-GZJIVY4K.js.map → NumCustomBinEditor.unit.spec-24MXSO3L.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-LWHZ36T6.js.map → NumDiscreteEditor-HAHIOFNC.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-QCQCMEWO.js.map → NumDiscreteEditor.unit.spec-JYN2CWSI.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-IATRIUKD.js.map → NumRegularBinEditor-7DOE64RB.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-J6UTQO76.js.map → NumRegularBinEditor.unit.spec-2WU4GGNT.js.map} +0 -0
- /package/dist/{NumSplineEditor-2KMU6SRO.js.map → NumSplineEditor-JLRD5TVX.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-MX7Y4MTD.js.map → NumSplineEditor.unit.spec-LOG7CECJ.js.map} +0 -0
- /package/dist/{NumericDensity-JCH7F5FV.js.map → NumericDensity-IDOP7I34.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-4TKKRKHF.js.map → NumericDensity.unit.spec-HTJQRPVH.js.map} +0 -0
- /package/dist/{NumericHandler-7FB3RJM7.js.map → NumericHandler-DWVVGLLB.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-U6DCADZY.js.map → NumericHandler.unit.spec-BDDFTHOF.js.map} +0 -0
- /package/dist/{RunChart2-VQTIVMKM.js.map → RunChart2-PBJ56YX3.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-2OAR57YB.js.map → WsiSamplesPlot-FOMPMEXK.js.map} +0 -0
- /package/dist/{adSandbox-IKKFYRF7.js.map → adSandbox-SRPPCYYR.js.map} +0 -0
- /package/dist/{alphaGenome-WJNFQGGK.js.map → alphaGenome-IS2WAJCK.js.map} +0 -0
- /package/dist/{app-UHGTFH6D.js.map → app-GTHYSGWI.js.map} +0 -0
- /package/dist/{app-YETYAR45.js.map → app-XEKETNLG.js.map} +0 -0
- /package/dist/{bam-S6U7VNJP.js.map → bam-GQBFL6A7.js.map} +0 -0
- /package/dist/{barchart-3NJDGHXU.js.map → barchart-AESC4JSX.js.map} +0 -0
- /package/dist/{barchart.data-MVVKPDLE.js.map → barchart.data-RE34IC4G.js.map} +0 -0
- /package/dist/{barchart.events-WQGA4CGB.js.map → barchart.events-KM4J5ISO.js.map} +0 -0
- /package/dist/{barchart.integration.spec-E6CJTWRN.js.map → barchart.integration.spec-DFVSBGO3.js.map} +0 -0
- /package/dist/{barchart2-UNHFOYKB.js.map → barchart2-NNTL4RQZ.js.map} +0 -0
- /package/dist/{block-2XHZLY26.js.map → block-EHZM3FUX.js.map} +0 -0
- /package/dist/{block.init-CMG4V6RB.js.map → block.init-EAEFNNF6.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-QX2JOEMV.js.map → block.mds.expressionrank-ZBHA2CFE.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-USVQSDBT.js.map → block.mds.geneboxplot-4ZU3QUAK.js.map} +0 -0
- /package/dist/{block.mds.junction-R6GJO75N.js.map → block.mds.junction-PDH55JXO.js.map} +0 -0
- /package/dist/{block.mds.svcnv-MRISSDAX.js.map → block.mds.svcnv-QWBU54XQ.js.map} +0 -0
- /package/dist/{block.svg-Z5KKZTDB.js.map → block.svg-HUGBYWXU.js.map} +0 -0
- /package/dist/{block.tk.aicheck-SOFJYYZX.js.map → block.tk.aicheck-SDCWXQZF.js.map} +0 -0
- /package/dist/{block.tk.ase-EHX5FV2Y.js.map → block.tk.ase-HMUTHCJS.js.map} +0 -0
- /package/dist/{block.tk.bam-DJS6LODM.js.map → block.tk.bam-Q7B2YQLI.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-R2YHPXZA.js.map → block.tk.bedgraphdot-QBGBSVHN.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-VPEEQJLS.js.map → block.tk.bigwig.ui-767A3MUH.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-BDYN573B.js.map → block.tk.hicstraw-LEZUZHLF.js.map} +0 -0
- /package/dist/{block.tk.junction-BONB4BXU.js.map → block.tk.junction-GQHCZOYR.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-Y5R6KY4N.js.map → block.tk.junction.textmatrixui-D5QUO7KQ.js.map} +0 -0
- /package/dist/{block.tk.ld-EGVVSXCB.js.map → block.tk.ld-E3MHZOG5.js.map} +0 -0
- /package/dist/{block.tk.menu-4YBMB5JT.js.map → block.tk.menu-XE7PFYGR.js.map} +0 -0
- /package/dist/{block.tk.pgv-SBHGL6UH.js.map → block.tk.pgv-MPPMPDED.js.map} +0 -0
- /package/dist/{brainImaging-G3WZDYG6.js.map → brainImaging-YQ443NOL.js.map} +0 -0
- /package/dist/{chunk-LQQSRNR5.js.map → chunk-26WXJBSR.js.map} +0 -0
- /package/dist/{chunk-7UHUOC6F.js.map → chunk-2P6Z7JFC.js.map} +0 -0
- /package/dist/{chunk-ENWVV6EU.js.map → chunk-2QQO4RRD.js.map} +0 -0
- /package/dist/{chunk-GF4OSOYW.js.map → chunk-37ARSZOI.js.map} +0 -0
- /package/dist/{chunk-LY7GD74F.js.map → chunk-42Q53PXE.js.map} +0 -0
- /package/dist/{chunk-5SMOOFRW.js.map → chunk-46ASPS5Y.js.map} +0 -0
- /package/dist/{chunk-RA4RQYXQ.js.map → chunk-4KPI7PB5.js.map} +0 -0
- /package/dist/{chunk-XZ6MGJQ3.js.map → chunk-4MDNMCGZ.js.map} +0 -0
- /package/dist/{chunk-4Y444IRJ.js.map → chunk-5IG3E4DT.js.map} +0 -0
- /package/dist/{chunk-UVPAZM3G.js.map → chunk-5MIR7IHI.js.map} +0 -0
- /package/dist/{chunk-BQJVLXEL.js.map → chunk-5MZVXJVA.js.map} +0 -0
- /package/dist/{chunk-SDLRTORS.js.map → chunk-66D5GRS5.js.map} +0 -0
- /package/dist/{chunk-IABWKPRK.js.map → chunk-6ATE2TRC.js.map} +0 -0
- /package/dist/{chunk-JPKYHLNI.js.map → chunk-6BFR6MK3.js.map} +0 -0
- /package/dist/{chunk-C62CSWMV.js.map → chunk-6NJMCO4X.js.map} +0 -0
- /package/dist/{chunk-IPDH4FHY.js.map → chunk-6ON5KAMO.js.map} +0 -0
- /package/dist/{chunk-ZYBM24FU.js.map → chunk-76GPYMHZ.js.map} +0 -0
- /package/dist/{chunk-PSGQWZN4.js.map → chunk-7AAFBFOH.js.map} +0 -0
- /package/dist/{chunk-LGUE54VX.js.map → chunk-7OOZHEUC.js.map} +0 -0
- /package/dist/{chunk-I7JDV4ZC.js.map → chunk-A4VLWLYF.js.map} +0 -0
- /package/dist/{chunk-W6XQR5UL.js.map → chunk-A6EFWGWD.js.map} +0 -0
- /package/dist/{chunk-ANGDY7VC.js.map → chunk-ALW5XXVW.js.map} +0 -0
- /package/dist/{chunk-RQZJIBIH.js.map → chunk-ANCT2BGO.js.map} +0 -0
- /package/dist/{chunk-NYX4B5CO.js.map → chunk-AROMXWCY.js.map} +0 -0
- /package/dist/{chunk-UWYCEYML.js.map → chunk-AY4UBGLC.js.map} +0 -0
- /package/dist/{chunk-32TTOWY6.js.map → chunk-BMVLR3TM.js.map} +0 -0
- /package/dist/{chunk-PL2CM7RY.js.map → chunk-BR7JA2EO.js.map} +0 -0
- /package/dist/{chunk-7FKIAQ4K.js.map → chunk-D3HJXMTH.js.map} +0 -0
- /package/dist/{chunk-XSA3VIEQ.js.map → chunk-DKUEZ4XD.js.map} +0 -0
- /package/dist/{chunk-LSV4Z473.js.map → chunk-DT3MMC5U.js.map} +0 -0
- /package/dist/{chunk-UPPBAFUK.js.map → chunk-DYVKN7EE.js.map} +0 -0
- /package/dist/{chunk-VB3SRNBK.js.map → chunk-EF37UZY6.js.map} +0 -0
- /package/dist/{chunk-ZD47FENE.js.map → chunk-ESXMS7FW.js.map} +0 -0
- /package/dist/{chunk-2QULGYVE.js.map → chunk-FUSVXQ6C.js.map} +0 -0
- /package/dist/{chunk-GTBL7UHX.js.map → chunk-GXKVAPGP.js.map} +0 -0
- /package/dist/{chunk-AQ4OP4GR.js.map → chunk-H4JIENLQ.js.map} +0 -0
- /package/dist/{chunk-FA44G3GZ.js.map → chunk-H7YJG4YM.js.map} +0 -0
- /package/dist/{chunk-GD7FKXOA.js.map → chunk-I24KPIDD.js.map} +0 -0
- /package/dist/{chunk-GQOBT2W7.js.map → chunk-IENFDUWD.js.map} +0 -0
- /package/dist/{chunk-43PMSEMV.js.map → chunk-J7BISJTL.js.map} +0 -0
- /package/dist/{chunk-XBBUQW52.js.map → chunk-J7KYOSEK.js.map} +0 -0
- /package/dist/{chunk-PZLYNNST.js.map → chunk-JGPZ5254.js.map} +0 -0
- /package/dist/{chunk-4KSU6NBP.js.map → chunk-JUIPCWAM.js.map} +0 -0
- /package/dist/{chunk-5RE3J6HK.js.map → chunk-LO4NMQ7W.js.map} +0 -0
- /package/dist/{chunk-RAJZYWFN.js.map → chunk-LSSLS5HV.js.map} +0 -0
- /package/dist/{chunk-7NOKTEHK.js.map → chunk-MDLRB3MR.js.map} +0 -0
- /package/dist/{chunk-OPPNZXYG.js.map → chunk-MJLKGZ27.js.map} +0 -0
- /package/dist/{chunk-KTCW3JA6.js.map → chunk-NL5T3SBK.js.map} +0 -0
- /package/dist/{chunk-RSE2FOKW.js.map → chunk-ONAYJVN2.js.map} +0 -0
- /package/dist/{chunk-64Z22QAH.js.map → chunk-PSMFOARZ.js.map} +0 -0
- /package/dist/{chunk-LTSR7SLO.js.map → chunk-QX3GF2IA.js.map} +0 -0
- /package/dist/{chunk-JNOOLCYB.js.map → chunk-QZ2U4BOS.js.map} +0 -0
- /package/dist/{chunk-YEMIL6QU.js.map → chunk-RBZBBNLL.js.map} +0 -0
- /package/dist/{chunk-P6TPXUMP.js.map → chunk-RZTFQXWV.js.map} +0 -0
- /package/dist/{chunk-AQVOYTLS.js.map → chunk-SJC2C77V.js.map} +0 -0
- /package/dist/{chunk-2VLGHVOL.js.map → chunk-TVXVP4M6.js.map} +0 -0
- /package/dist/{chunk-HE7CD7BD.js.map → chunk-UTDPKDIY.js.map} +0 -0
- /package/dist/{chunk-BT4OOYPT.js.map → chunk-UVIUB7QI.js.map} +0 -0
- /package/dist/{chunk-CAWDQURD.js.map → chunk-VAUSRBL5.js.map} +0 -0
- /package/dist/{chunk-6NMH6WPB.js.map → chunk-WP22GYZ2.js.map} +0 -0
- /package/dist/{chunk-4SFX42S7.js.map → chunk-WUNX3VST.js.map} +0 -0
- /package/dist/{chunk-BRMASRRS.js.map → chunk-XD4TBJK2.js.map} +0 -0
- /package/dist/{chunk-2O6JF76T.js.map → chunk-Y6DSXMPB.js.map} +0 -0
- /package/dist/{chunk-ROLVOPVR.js.map → chunk-YBIZRASR.js.map} +0 -0
- /package/dist/{chunk-TF4EDNQO.js.map → chunk-YI2YH7ZK.js.map} +0 -0
- /package/dist/{chunk-KMQ6GQ3I.js.map → chunk-YLDE3PVC.js.map} +0 -0
- /package/dist/{chunk-MHCTLVGE.js.map → chunk-Z736NYXL.js.map} +0 -0
- /package/dist/{chunk-LJ4AUJXC.js.map → chunk-ZEJB7CPC.js.map} +0 -0
- /package/dist/{chunk-5HOR6JQ2.js.map → chunk-ZGWEBKZ4.js.map} +0 -0
- /package/dist/{condition-ARCN26MF.js.map → condition-FSF6ROJV.js.map} +0 -0
- /package/dist/{controls-PKWN2JGN.js.map → controls-OPSBFDFZ.js.map} +0 -0
- /package/dist/{controls.config-NFRPXFUJ.js.map → controls.config-3QRV5363.js.map} +0 -0
- /package/dist/{correlation-DPT6XL2U.js.map → correlation-WLOI7Z35.js.map} +0 -0
- /package/dist/{cuminc-M4U7LQD5.js.map → cuminc-G2UGJUUA.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-MH4OFYDJ.js.map → cuminc.integration.spec-X5NEZ6S5.js.map} +0 -0
- /package/dist/{customdata.inputui-6TAHAMSV.js.map → customdata.inputui-RNW3AO3Z.js.map} +0 -0
- /package/dist/{dataDownload-7GZEYSUT.js.map → dataDownload-4U3TGDMH.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-NAIJRFTV.js.map → dataDownload.integration.spec-6FUI2SJ4.js.map} +0 -0
- /package/dist/{databrowser.ui-LLXHZ5O6.js.map → databrowser.ui-4GVJVJWG.js.map} +0 -0
- /package/dist/{dictionary-MUAURMYE.js.map → dictionary-NSDS7Z4K.js.map} +0 -0
- /package/dist/{dnaMethylation-AU5D3U3E.js.map → dnaMethylation-OYQB75LD.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-JIDBRA6P.js.map → dnaMethylation.integration.spec-6TTLV34N.js.map} +0 -0
- /package/dist/{dofetch-WSYK5OTB.js.map → dofetch-4TO3QMT6.js.map} +0 -0
- /package/dist/{e2pca-ICG35YR5.js.map → e2pca-NYBVR6PL.js.map} +0 -0
- /package/dist/{ep-CSSSQOUP.js.map → ep-RTDVEA4D.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-4WPQUXH4.js.map → expclust.gdc.spec-JVIRESTP.js.map} +0 -0
- /package/dist/{facet-JAGILNY6.js.map → facet-OVBF2QMO.js.map} +0 -0
- /package/dist/{forms2-IMVDB6AT.js.map → forms2-HTLS54CX.js.map} +0 -0
- /package/dist/{gb-36LTYICV.js.map → gb-Y3546HMZ.js.map} +0 -0
- /package/dist/{geneExpClustering-CGMENTHI.js.map → geneExpClustering-PH3PWH3K.js.map} +0 -0
- /package/dist/{geneExpression-AD2L46J4.js.map → geneExpression-2Z2EV3XM.js.map} +0 -0
- /package/dist/{geneExpression-G2FHBDUQ.js.map → geneExpression-6CFXOCGW.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-XWCB7K5L.js.map → geneExpression.unit.spec-WKUTHRHC.js.map} +0 -0
- /package/dist/{geneORA-GVHQF7DF.js.map → geneORA-SHLZESLB.js.map} +0 -0
- /package/dist/{geneVariant-HE22CH76.js.map → geneVariant-FHZUIFPM.js.map} +0 -0
- /package/dist/{geneVariant-SQD5QUFH.js.map → geneVariant-Y7ZUBEOX.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-66XFLDNN.js.map → geneVariant.integration.spec-N7TZUOY3.js.map} +0 -0
- /package/dist/{genefusion.ui-TD32NWD4.js.map → genefusion.ui-7PDVZPZ2.js.map} +0 -0
- /package/dist/{geneset-NSYPDXS3.js.map → geneset-HLVOGYUI.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-CYFONLNQ.js.map → genomeBrowser.spec-7IVIMUR5.js.map} +0 -0
- /package/dist/{grin2-3QB57OPH.js.map → grin2-Z5O7254R.js.map} +0 -0
- /package/dist/{gsea-RMTU5I3U.js.map → gsea-TFC3MBRW.js.map} +0 -0
- /package/dist/{hierCluster-LSQL6PGC.js.map → hierCluster-ERSE5I4I.js.map} +0 -0
- /package/dist/{hierCluster-XTEBDEVO.js.map → hierCluster-QQZQU5ZG.js.map} +0 -0
- /package/dist/{hierCluster.config-SHXFSPOH.js.map → hierCluster.config-WPINWW37.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-KNMIYWV3.js.map → hierCluster.integration.spec-Y6OHSKPW.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-6NAKTUR5.js.map → hierCluster.interactivity-HS3G5QC5.js.map} +0 -0
- /package/dist/{hierCluster.renderers-FWOV4Q47.js.map → hierCluster.renderers-W63ZKZTT.js.map} +0 -0
- /package/dist/{imagePlot-3IVG4SFN.js.map → imagePlot-QFVN25PM.js.map} +0 -0
- /package/dist/{importPlot-HEMDRIVF.js.map → importPlot-MIDM5APH.js.map} +0 -0
- /package/dist/{isoformExpression-FJ3GEU6D.js.map → isoformExpression-L4TRNT4A.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-L7D22UDB.js.map → isoformExpression.unit.spec-QQG323LA.js.map} +0 -0
- /package/dist/{launch.adhoc-PDGQF2UP.js.map → launch.adhoc-4NQ6GGGL.js.map} +0 -0
- /package/dist/{leftlabel.sample-ZBI4NHCV.js.map → leftlabel.sample-JU7AIPZL.js.map} +0 -0
- /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-TT4CHF23.js.map} +0 -0
- /package/dist/{lollipop-K7S6ASFE.js.map → lollipop-JG74M6PJ.js.map} +0 -0
- /package/dist/{maf-JEW6PPJB.js.map → maf-PDL2EGHI.js.map} +0 -0
- /package/dist/{maftimeline-7URL27MC.js.map → maftimeline-V43NQEEE.js.map} +0 -0
- /package/dist/{matrix-6EK5WGIG.js.map → matrix-EB2EFP4S.js.map} +0 -0
- /package/dist/{matrix-DKBD5RIL.js.map → matrix-Q57FU5FE.js.map} +0 -0
- /package/dist/{matrix.cells-KEIOXJQ7.js.map → matrix.cells-NJIMPD32.js.map} +0 -0
- /package/dist/{matrix.config-FGJB4VVM.js.map → matrix.config-GLDEQD3H.js.map} +0 -0
- /package/dist/{matrix.data-QGCGFLD7.js.map → matrix.data-6SHAKOQU.js.map} +0 -0
- /package/dist/{matrix.groups-HBPLZ2QX.js.map → matrix.groups-MTDEANQA.js.map} +0 -0
- /package/dist/{matrix.integration.spec-R4PF67KF.js.map → matrix.integration.spec-JCZ5VQJU.js.map} +0 -0
- /package/dist/{matrix.interactivity-M3SY33ET.js.map → matrix.interactivity-SVRNWL6V.js.map} +0 -0
- /package/dist/{matrix.layout-H6WQ3ZMW.js.map → matrix.layout-2HREO42N.js.map} +0 -0
- /package/dist/{matrix.legend-UCL7HM26.js.map → matrix.legend-QHVKT3MP.js.map} +0 -0
- /package/dist/{matrix.renderers-3PPFSS7Z.js.map → matrix.renderers-IYR3ZY6V.js.map} +0 -0
- /package/dist/{matrix.serieses-S2TJ3E6P.js.map → matrix.serieses-2VMTQXL2.js.map} +0 -0
- /package/dist/{matrix.sort-CFA4UWBJ.js.map → matrix.sort-PWA2RQQR.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-562VIWDS.js.map → matrix.sort.unit.spec-3OYIPTFY.js.map} +0 -0
- /package/dist/{matrix.sorterUi-FT7K5664.js.map → matrix.sorterUi-Y5QLO75X.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-GAHHUN3K.js.map → matrix.sorterUi.unit.spec-BNEXQHLP.js.map} +0 -0
- /package/dist/{mavb-HPW5X55U.js.map → mavb-IZDDU4KK.js.map} +0 -0
- /package/dist/{mds.fimo-HSBKLIOX.js.map → mds.fimo-FWBL7JE6.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-DE27OMJE.js.map → mds.samplescatterplot-T47C7DJB.js.map} +0 -0
- /package/dist/{mds.survivalplot-IW22UGCE.js.map → mds.survivalplot-MFZJCGS6.js.map} +0 -0
- /package/dist/{numericDictTermCluster-DOD66G3A.js.map → numericDictTermCluster-I2W67RGA.js.map} +0 -0
- /package/dist/{oncomatrix-BZCVCPR4.js.map → oncomatrix-6W7IBAED.js.map} +0 -0
- /package/dist/{oncomatrix.spec-IHYCIAP4.js.map → oncomatrix.spec-CEFH5IGH.js.map} +0 -0
- /package/dist/{plot.2dvaf-QLOZ54VC.js.map → plot.2dvaf-BN6CFLNU.js.map} +0 -0
- /package/dist/{plot.app-XDVDR23J.js.map → plot.app-7EYWUCZV.js.map} +0 -0
- /package/dist/{plot.barplot-XOESF7OQ.js.map → plot.barplot-MDIARSQD.js.map} +0 -0
- /package/dist/{plot.boxplot-VNOC2CHT.js.map → plot.boxplot-RUHGXC54.js.map} +0 -0
- /package/dist/{plot.brainImaging-7ZEOY4UR.js.map → plot.brainImaging-JEE32ZBV.js.map} +0 -0
- /package/dist/{plot.disco-6GVDYK7A.js.map → plot.disco-2RPNPX6E.js.map} +0 -0
- /package/dist/{plot.dzi-TEFPPPL6.js.map → plot.dzi-7VTYYGGW.js.map} +0 -0
- /package/dist/{plot.ssgq-OG4TODLO.js.map → plot.ssgq-FHE5KU5C.js.map} +0 -0
- /package/dist/{plot.vaf2cov-VMZRJULA.js.map → plot.vaf2cov-WDJJM5Q4.js.map} +0 -0
- /package/dist/{plot.wsi-2CHZZ7AC.js.map → plot.wsi-FQZWHNSF.js.map} +0 -0
- /package/dist/{polar-QUYQRQOQ.js.map → polar-M7EGINN4.js.map} +0 -0
- /package/dist/{polar2-OXXLAXJC.js.map → polar2-JFYY43K2.js.map} +0 -0
- /package/dist/{profile.spec-TI6PRHNJ.js.map → profile.spec-SIOHASOX.js.map} +0 -0
- /package/dist/{profileBarchart-GEK77XEB.js.map → profileBarchart-6JLEKVJV.js.map} +0 -0
- /package/dist/{profileForms-NR3VNHKM.js.map → profileForms-G6CH73RV.js.map} +0 -0
- /package/dist/{profilePlot-GGKO3IW5.js.map → profilePlot-NQYJOBVV.js.map} +0 -0
- /package/dist/{profileRadar-MN3LX5ER.js.map → profileRadar-4TNWIXDB.js.map} +0 -0
- /package/dist/{profileRadarFacility-3G2HWB2L.js.map → profileRadarFacility-XPH3LCBQ.js.map} +0 -0
- /package/dist/{proteomeAbundance-O4BB55O3.js.map → proteomeAbundance-NQ4635NL.js.map} +0 -0
- /package/dist/{qualitative-Q3TT73O7.js.map → qualitative-DL4WJG3O.js.map} +0 -0
- /package/dist/{radar2-LSD3VPZT.js.map → radar2-YNOQWHBT.js.map} +0 -0
- /package/dist/{radarFacility2-LZGIXY7A.js.map → radarFacility2-24UPSI7S.js.map} +0 -0
- /package/dist/{regression-J3XDAPAZ.js.map → regression-URAUTLTD.js.map} +0 -0
- /package/dist/{regression.inputs-BBZYI5OI.js.map → regression.inputs-UDVOU7FB.js.map} +0 -0
- /package/dist/{regression.inputs.term-7BW6XGLG.js.map → regression.inputs.term-BWW6W34R.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-DYX2YU4H.js.map → regression.inputs.values.table-UKGIZTXG.js.map} +0 -0
- /package/dist/{regression.integration.spec-WLXZYKWW.js.map → regression.integration.spec-EBHQTNA3.js.map} +0 -0
- /package/dist/{regression.results-K5Q2N2KW.js.map → regression.results-XTOSWIP6.js.map} +0 -0
- /package/dist/{regression.spec-VT7T6KBY.js.map → regression.spec-KG2I53VR.js.map} +0 -0
- /package/dist/{report-3D3L573D.js.map → report-KH7SNPVF.js.map} +0 -0
- /package/dist/{sampleScatter.spec-6IPJQLM2.js.map → sampleScatter.spec-PIXGS3LG.js.map} +0 -0
- /package/dist/{sampleView-5JMFI4HF.js.map → sampleView-TWS6VT55.js.map} +0 -0
- /package/dist/{samplelst-SUCB5WOZ.js.map → samplelst-6AB5Y4WR.js.map} +0 -0
- /package/dist/{samplematrix-A5SZBKO6.js.map → samplematrix-AJAF555E.js.map} +0 -0
- /package/dist/{sc-NAA6ESO6.js.map → sc-PMNYZKXA.js.map} +0 -0
- /package/dist/{scatter-EQCN2HYE.js.map → scatter-Q2GH3ZJD.js.map} +0 -0
- /package/dist/{scatter.integration.spec-7NXIYS67.js.map → scatter.integration.spec-SMMYKWH3.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-KXODNCY6.js.map → selectGenomeWithTklst-VE4SDYY7.js.map} +0 -0
- /package/dist/{singleCellCellType-HMIW76YB.js.map → singleCellCellType-S324GCKW.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-ZCZET56X.js.map → singleCellCellType.unit.spec-NXC2GELH.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-IUCUHF6R.js.map → singleCellGeneExpression-6H4HRKIA.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-J4D6F2N3.js.map → singleCellGeneExpression.unit.spec-HIJXVUWJ.js.map} +0 -0
- /package/dist/{singleCellPlot-L6W3MDGG.js.map → singleCellPlot-H7PCZ2DP.js.map} +0 -0
- /package/dist/{singlecell-A6ECAAPI.js.map → singlecell-4LH3MQVL.js.map} +0 -0
- /package/dist/{singlecell-KBABNXC5.js.map → singlecell-MOSYT3RI.js.map} +0 -0
- /package/dist/{snp-RO7ATG6E.js.map → snp-IKLGTD4Q.js.map} +0 -0
- /package/dist/{snp.unit.spec-ZJLRGJD4.js.map → snp.unit.spec-GC74MUVM.js.map} +0 -0
- /package/dist/{snplocus-N3CU6NRP.js.map → snplocus-RIABFSBQ.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-7PHT4COB.js.map → spliceevent.a53ss.diagram-4E2IYYHL.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-3CZTY6QD.js.map → spliceevent.exonskip.diagram-C56R6XLQ.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-GQE256DT.js.map → spliceevent.noeventdiagram-SIPMAKXI.js.map} +0 -0
- /package/dist/{ssGSEA-4I3L5MX2.js.map → ssGSEA-5QNHLSOI.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-PZCC5YU7.js.map → ssGSEA.unit.spec-KVPN553B.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-ASXUQW56.js.map → summarizeCnvGeneexp-K4VGJSW6.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-ULGUOW5V.js.map → summarizeGeneexpSurvival-HGHX65FN.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-VDUCIUGM.js.map → summarizeMutationCnv-3K4Z6R2X.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-FMAAMCZC.js.map → summarizeMutationDiagnosis-M2MHUPRT.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-GZ4NGDJT.js.map → summarizeMutationSurvival-WVBUP3GA.js.map} +0 -0
- /package/dist/{summary-2WNZ6JSB.js.map → summary-RZHZXCU5.js.map} +0 -0
- /package/dist/{summary.integration.spec-XPMYB6GM.js.map → summary.integration.spec-FGZP7DY7.js.map} +0 -0
- /package/dist/{summaryInput-2UGXEA5C.js.map → summaryInput-UGM7MMCR.js.map} +0 -0
- /package/dist/{sunburst-76WCQLTT.js.map → sunburst-L27U7LV7.js.map} +0 -0
- /package/dist/{survival-3EAMPHSX.js.map → survival-5ZMEBV6O.js.map} +0 -0
- /package/dist/{survival-23IZM4ML.js.map → survival-JWRRGTJT.js.map} +0 -0
- /package/dist/{survival.integration.spec-YNVAKBV3.js.map → survival.integration.spec-Z5542I4V.js.map} +0 -0
- /package/dist/{svgraph-G2M5LXEP.js.map → svgraph-O6ZVLNNN.js.map} +0 -0
- /package/dist/{svmr-BUDBVU34.js.map → svmr-ULFV7OSH.js.map} +0 -0
- /package/dist/{table-QJSZ6YFK.js.map → table-CHRQH2GH.js.map} +0 -0
- /package/dist/{termCollection-2YAY3RLZ.js.map → termCollection-FAO6ZA6F.js.map} +0 -0
- /package/dist/{termCollection-MAMDMEDD.js.map → termCollection-GBXS3GOY.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-UY7G2BHG.js.map → termCollection.unit.spec-4WRTOV6E.js.map} +0 -0
- /package/dist/{tk-GFGP3F76.js.map → tk-KNUBWRNK.js.map} +0 -0
- /package/dist/{tp.ui-OQ757UIE.js.map → tp.ui-2PPYOQYL.js.map} +0 -0
- /package/dist/{tvs.density-BJK23JYJ.js.map → tvs.density-BZ5SKDQS.js.map} +0 -0
- /package/dist/{tvs.dt-TOYEFKNT.js.map → tvs.dt-TDNSTGQR.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-EO2VLFL2.js.map → tvs.dtcnv.categorical-P2IGIE4I.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-ZAHTKZ4Y.js.map → tvs.dtcnv.continuous-2XUCRBDR.js.map} +0 -0
- /package/dist/{tvs.dtfusion-BY3AHBL3.js.map → tvs.dtfusion-PRHZVMOG.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-UM5LQ4FR.js.map → tvs.dtsnvindel-KGKBW5JS.js.map} +0 -0
- /package/dist/{tvs.dtsv-H7ZVHLS5.js.map → tvs.dtsv-M3CY5TZF.js.map} +0 -0
- /package/dist/{tvs.numeric-66FP6RRH.js.map → tvs.numeric-W74JCC5P.js.map} +0 -0
- /package/dist/{tvs.samplelst-Q5ECTZOY.js.map → tvs.samplelst-BTWFBBAN.js.map} +0 -0
- /package/dist/{tvs.termCollection-FYNMKZTR.js.map → tvs.termCollection-Y64QIKOA.js.map} +0 -0
- /package/dist/{violin-EGWLAJVM.js.map → violin-3LLHHV3L.js.map} +0 -0
- /package/dist/{violin.integration.spec-3P4TYHBR.js.map → violin.integration.spec-6NF5FDLQ.js.map} +0 -0
- /package/dist/{violin.interactivity-VWDR4LYB.js.map → violin.interactivity-W2AKZ24D.js.map} +0 -0
- /package/dist/{violin.renderer-WWTU6J7X.js.map → violin.renderer-CRFYYZRI.js.map} +0 -0
- /package/dist/{vocabulary-JG4ZITOH.js.map → vocabulary-AUJOAVYS.js.map} +0 -0
|
@@ -0,0 +1,1943 @@
|
|
|
1
|
+
import {
|
|
2
|
+
matrix_groups_exports
|
|
3
|
+
} from "./chunk-YBIZRASR.js";
|
|
4
|
+
import {
|
|
5
|
+
setComputedConfig
|
|
6
|
+
} from "./chunk-AROMXWCY.js";
|
|
7
|
+
import {
|
|
8
|
+
setRenderers
|
|
9
|
+
} from "./chunk-FUSVXQ6C.js";
|
|
10
|
+
import {
|
|
11
|
+
MatrixCluster
|
|
12
|
+
} from "./chunk-DDKS3MV3.js";
|
|
13
|
+
import {
|
|
14
|
+
getSorterUi
|
|
15
|
+
} from "./chunk-42Q53PXE.js";
|
|
16
|
+
import {
|
|
17
|
+
matrix_data_exports
|
|
18
|
+
} from "./chunk-JUIPCWAM.js";
|
|
19
|
+
import {
|
|
20
|
+
matrix_layout_exports
|
|
21
|
+
} from "./chunk-QX3GF2IA.js";
|
|
22
|
+
import {
|
|
23
|
+
matrix_serieses_exports
|
|
24
|
+
} from "./chunk-ALW5XXVW.js";
|
|
25
|
+
import {
|
|
26
|
+
matrix_legend_exports
|
|
27
|
+
} from "./chunk-WP22GYZ2.js";
|
|
28
|
+
import {
|
|
29
|
+
setMatrixDom
|
|
30
|
+
} from "./chunk-HUBO743S.js";
|
|
31
|
+
import {
|
|
32
|
+
setInteractivity
|
|
33
|
+
} from "./chunk-2QQO4RRD.js";
|
|
34
|
+
import {
|
|
35
|
+
GeneSetEditUI,
|
|
36
|
+
GeneSetEditUIwithTabs,
|
|
37
|
+
PlotBase,
|
|
38
|
+
TwRouter,
|
|
39
|
+
fillTermWrapper,
|
|
40
|
+
get$id,
|
|
41
|
+
getCombinedTermFilter,
|
|
42
|
+
getGEunit,
|
|
43
|
+
initByInput,
|
|
44
|
+
make_one_checkbox,
|
|
45
|
+
make_radios,
|
|
46
|
+
rebaseGroupFilter,
|
|
47
|
+
routedTermTypes,
|
|
48
|
+
sayerror,
|
|
49
|
+
svgLegend,
|
|
50
|
+
svgScroll,
|
|
51
|
+
to_svg,
|
|
52
|
+
zoom
|
|
53
|
+
} from "./chunk-2XPDA6NL.js";
|
|
54
|
+
import {
|
|
55
|
+
Menu
|
|
56
|
+
} from "./chunk-HYOEWQ5P.js";
|
|
57
|
+
import {
|
|
58
|
+
icons
|
|
59
|
+
} from "./chunk-KWM6B3NL.js";
|
|
60
|
+
import {
|
|
61
|
+
copyMerge,
|
|
62
|
+
deepEqual,
|
|
63
|
+
getCompInit
|
|
64
|
+
} from "./chunk-MVTCBVSX.js";
|
|
65
|
+
import {
|
|
66
|
+
TermTypes,
|
|
67
|
+
isNumericTerm
|
|
68
|
+
} from "./chunk-FDK4UJMN.js";
|
|
69
|
+
import {
|
|
70
|
+
dt2label,
|
|
71
|
+
dtcnv,
|
|
72
|
+
dtfusionrna,
|
|
73
|
+
dtsnvindel,
|
|
74
|
+
dtsv,
|
|
75
|
+
mclass,
|
|
76
|
+
morigin
|
|
77
|
+
} from "./chunk-X7GDCYND.js";
|
|
78
|
+
import {
|
|
79
|
+
convertUnits
|
|
80
|
+
} from "./chunk-C3SYSMNE.js";
|
|
81
|
+
import {
|
|
82
|
+
select_default
|
|
83
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
84
|
+
|
|
85
|
+
// plots/matrix/matrix.controls.samples.ts
|
|
86
|
+
function setSamplesBtn(self2, s) {
|
|
87
|
+
const l = s.controlLabels;
|
|
88
|
+
const controls = self2;
|
|
89
|
+
const parent = self2.parent;
|
|
90
|
+
const rows = [
|
|
91
|
+
{
|
|
92
|
+
label: `Maximum # ${l.Samples}`,
|
|
93
|
+
title: `Limit the number of displayed ${l.samples}`,
|
|
94
|
+
type: "number",
|
|
95
|
+
chartType: "matrix",
|
|
96
|
+
settingsKey: "maxSample",
|
|
97
|
+
getDisplayStyle(plot) {
|
|
98
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
label: `Sort ${l.Sample} Groups`,
|
|
103
|
+
title: `Set how to sort ${l.sample} groups`,
|
|
104
|
+
type: "radio",
|
|
105
|
+
chartType: "matrix",
|
|
106
|
+
settingsKey: "sortSampleGrpsBy",
|
|
107
|
+
options: [
|
|
108
|
+
{
|
|
109
|
+
label: "Predefined or Group Name",
|
|
110
|
+
value: "name",
|
|
111
|
+
title: `Sort by group name`
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
label: `${l.Sample} Count`,
|
|
115
|
+
value: "sampleCount",
|
|
116
|
+
title: `Sort by the number of samples in the group`
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
label: `Hits`,
|
|
120
|
+
value: "hits",
|
|
121
|
+
title: `Sort by the total number of variants for every ${l.sample} in the group`
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
getDisplayStyle(plot) {
|
|
125
|
+
return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
label: `${l.Sample} Group Label Character Limit`,
|
|
130
|
+
title: `Truncate the ${l.sample} group label if it exceeds this maximum number of characters`,
|
|
131
|
+
type: "number",
|
|
132
|
+
chartType: "matrix",
|
|
133
|
+
settingsKey: "sampleGrpLabelMaxChars",
|
|
134
|
+
getDisplayStyle(plot) {
|
|
135
|
+
return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
label: `${l.Sample} Label Character Limit`,
|
|
140
|
+
title: `Truncate the ${l.sample} label if it exceeds this maximum number of characters`,
|
|
141
|
+
type: "number",
|
|
142
|
+
chartType: "matrix",
|
|
143
|
+
settingsKey: "collabelmaxchars"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
label: `Toggle sample labels`,
|
|
147
|
+
title: `Do not automatically show sample labels based on column width`,
|
|
148
|
+
type: "radio",
|
|
149
|
+
chartType: "matrix",
|
|
150
|
+
settingsKey: "sampleLabelsToggle",
|
|
151
|
+
styles: { display: "inline-block" },
|
|
152
|
+
options: [
|
|
153
|
+
{ label: `Based on column width`, value: "auto" },
|
|
154
|
+
{ label: "Always hide", value: "hide" }
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
label: `Group ${l.Samples} By`,
|
|
159
|
+
title: `Select a variable with discrete values to group ${l.samples}`,
|
|
160
|
+
type: "term",
|
|
161
|
+
chartType: "matrix",
|
|
162
|
+
configKey: "divideBy",
|
|
163
|
+
vocabApi: self2.opts.app.vocabApi,
|
|
164
|
+
state: {
|
|
165
|
+
vocab: self2.opts.vocab
|
|
166
|
+
//activeCohort: appState.activeCohort
|
|
167
|
+
},
|
|
168
|
+
processInput: async (tw) => {
|
|
169
|
+
if (tw?.term && isNumericTerm(tw.term)) {
|
|
170
|
+
tw.q = { ...tw.q, mode: "discrete" };
|
|
171
|
+
}
|
|
172
|
+
if (tw) await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
173
|
+
return tw;
|
|
174
|
+
},
|
|
175
|
+
processConfig: (config) => {
|
|
176
|
+
if (self2.parent.chartType == "hierCluster" && config["divideBy"]) {
|
|
177
|
+
config.settings = {
|
|
178
|
+
hierCluster: {
|
|
179
|
+
yDendrogramHeight: 0,
|
|
180
|
+
clusterSamples: false
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
if (self2.parent.config.divideBy)
|
|
185
|
+
config.legendValueFilter = self2.parent.mayRemoveTvsEntry(self2.parent.config.divideBy);
|
|
186
|
+
},
|
|
187
|
+
getBodyParams: () => {
|
|
188
|
+
const currentGeneNames = self2.parent.termOrder.filter((t) => t.tw.term.type === "geneVariant").map(
|
|
189
|
+
(t) => t.tw.term.chr ? `${t.tw.term.chr}:${t.tw.term.start}-${t.tw.term.stop}` : t.tw.term.gene || t.tw.term.name
|
|
190
|
+
);
|
|
191
|
+
if (currentGeneNames.length) return { currentGeneNames };
|
|
192
|
+
return {};
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
];
|
|
196
|
+
rows.push({
|
|
197
|
+
label: `Sort ${l.Sample} Priority`,
|
|
198
|
+
title: `Set how to sort ${l.samples}`,
|
|
199
|
+
type: "custom",
|
|
200
|
+
// the "input" argument is created by controls
|
|
201
|
+
init(input) {
|
|
202
|
+
const m = parent.config.settings.matrix;
|
|
203
|
+
if (!controls.activeTab) controls.activeTab = "basic";
|
|
204
|
+
input.dom.inputTd.style("padding", "5px");
|
|
205
|
+
const btnsDiv = input.dom.inputTd.append("div").style("margin-bottom", "5px");
|
|
206
|
+
const basicBtn = btnsDiv.append("div").style("display", "inline-block").style("padding-right", "5px").style("border-right", "2px solid black").style("text-decoration", controls.activeTab == "basic" ? "underline" : "").style("cursor", "pointer").html("Basic").on("click", () => {
|
|
207
|
+
controls.activeTab = "basic";
|
|
208
|
+
basicBtn.style("text-decoration", "underline");
|
|
209
|
+
advancedBtn.style("text-decoration", "");
|
|
210
|
+
basicDiv.style("display", "");
|
|
211
|
+
advancedDiv.style("display", "none");
|
|
212
|
+
});
|
|
213
|
+
const advancedBtn = btnsDiv.append("div").style("display", "inline-block").style("margin-left", "5px").style("text-decoration", controls.activeTab == "advanced" ? "underline" : "").style("cursor", "pointer").html("Advanced").on("click", () => {
|
|
214
|
+
controls.activeTab = "advanced";
|
|
215
|
+
basicBtn.style("text-decoration", "");
|
|
216
|
+
advancedBtn.style("text-decoration", "underline");
|
|
217
|
+
basicDiv.style("display", "none");
|
|
218
|
+
advancedDiv.style("display", "");
|
|
219
|
+
});
|
|
220
|
+
const basicDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "basic" ? "" : "none");
|
|
221
|
+
const ssmDiv = basicDiv.append("div");
|
|
222
|
+
ssmDiv.append("span").html("SSM");
|
|
223
|
+
const { inputs } = make_radios({
|
|
224
|
+
// holder, options, callback, styles
|
|
225
|
+
holder: ssmDiv.append("span"),
|
|
226
|
+
options: [
|
|
227
|
+
{ label: "by consequence", value: "consequence", checked: m.sortByMutation === "consequence" },
|
|
228
|
+
{ label: "by presence", value: "presence", checked: m.sortByMutation === "presence" }
|
|
229
|
+
],
|
|
230
|
+
styles: {
|
|
231
|
+
display: "inline-block"
|
|
232
|
+
},
|
|
233
|
+
callback: (sortByMutation) => {
|
|
234
|
+
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
235
|
+
const activeOption = sortOptions.a;
|
|
236
|
+
const mutTb = activeOption.sortPriority[0].tiebreakers[1];
|
|
237
|
+
mutTb.disabled = !sortByMutation;
|
|
238
|
+
mutTb.isOrdered = sortByMutation === "consequence";
|
|
239
|
+
parent.app.dispatch({
|
|
240
|
+
type: "plot_edit",
|
|
241
|
+
id: parent.id,
|
|
242
|
+
config: {
|
|
243
|
+
settings: {
|
|
244
|
+
matrix: {
|
|
245
|
+
sortByMutation,
|
|
246
|
+
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
247
|
+
sortOptions
|
|
248
|
+
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
inputs.style("margin", "2px 0 0 2px").style("vertical-align", "top");
|
|
256
|
+
const cnvDiv = basicDiv.append("div").style("display", m.showMatrixCNV != "none" && !m.allMatrixCNVHidden ? "block" : "none");
|
|
257
|
+
cnvDiv.append("span").html("CNV");
|
|
258
|
+
const checkbox = make_one_checkbox({
|
|
259
|
+
holder: cnvDiv.append("span"),
|
|
260
|
+
divstyle: { display: "inline-block" },
|
|
261
|
+
checked: m.sortByCNV,
|
|
262
|
+
labeltext: "sort by CNV",
|
|
263
|
+
callback: () => {
|
|
264
|
+
const sortByCNV = checkbox.property("checked");
|
|
265
|
+
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
266
|
+
const activeOption = sortOptions.a;
|
|
267
|
+
const cnvTb = activeOption.sortPriority[0].tiebreakers[2];
|
|
268
|
+
cnvTb.disabled = !sortByCNV;
|
|
269
|
+
cnvTb.isOrdered = sortByCNV;
|
|
270
|
+
parent.app.dispatch({
|
|
271
|
+
type: "plot_edit",
|
|
272
|
+
id: parent.id,
|
|
273
|
+
config: {
|
|
274
|
+
settings: {
|
|
275
|
+
matrix: {
|
|
276
|
+
sortByCNV,
|
|
277
|
+
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
278
|
+
sortOptions
|
|
279
|
+
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
});
|
|
286
|
+
const advancedDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "advanced" ? "" : "none");
|
|
287
|
+
input.dom.row.on("mouseover", function() {
|
|
288
|
+
this.style.backgroundColor = "#fff";
|
|
289
|
+
this.style.textShadow = "none";
|
|
290
|
+
});
|
|
291
|
+
if (!controls.sorterUi) {
|
|
292
|
+
controls.sorterUi = getSorterUi({
|
|
293
|
+
controls,
|
|
294
|
+
holder: advancedDiv,
|
|
295
|
+
tip: controls.parent.app.tip
|
|
296
|
+
});
|
|
297
|
+
} else {
|
|
298
|
+
controls.sorterUi.main(controls.parent.config.settings.matrix, { holder: advancedDiv });
|
|
299
|
+
}
|
|
300
|
+
return {
|
|
301
|
+
main: (plot) => {
|
|
302
|
+
const s2 = plot.settings.matrix;
|
|
303
|
+
inputs.property("checked", (d) => d.value == s2.sortByMutation);
|
|
304
|
+
checkbox.property("checked", s2.sortByCNV);
|
|
305
|
+
cnvDiv.style("display", s2.showMatrixCNV != "none" && !s2.allMatrixCNVHidden ? "block" : "none");
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
self2.opts.holder.append("button").datum({
|
|
311
|
+
label: l.Samples || `Samples`,
|
|
312
|
+
getCount: () => "sampleCount" in self2.overrides ? self2.overrides.sampleCount : self2.parent.sampleOrder?.length || 0,
|
|
313
|
+
rows,
|
|
314
|
+
customInputs: updateSamplesControls
|
|
315
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
316
|
+
}
|
|
317
|
+
function updateSamplesControls(self2, app, parent, table) {
|
|
318
|
+
if (parent.chartType == "hierCluster" && parent.config.settings.hierCluster.clusterSamples) {
|
|
319
|
+
const l = parent.config.settings.matrix.controlLabels;
|
|
320
|
+
const sortingControl = select_default(
|
|
321
|
+
table.selectAll("td").filter(function() {
|
|
322
|
+
return select_default(this).text() == `Sort ${l.Sample} Priority`;
|
|
323
|
+
}).node().closest("tr")
|
|
324
|
+
);
|
|
325
|
+
sortingControl.style("display", "none");
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// plots/matrix/matrix.controls.genes.ts
|
|
330
|
+
var tip = new Menu({ padding: "" });
|
|
331
|
+
function setGenesBtn(self2, s) {
|
|
332
|
+
const l = s.controlLabels;
|
|
333
|
+
const renderStyleOptions = [
|
|
334
|
+
{
|
|
335
|
+
label: ` Stacked <span style="font-size:.7em;color:#555;">Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene</span>`,
|
|
336
|
+
value: "",
|
|
337
|
+
title: `Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
label: ` OncoPrint <span style="font-size:.7em;color:#555;">Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene</span>`,
|
|
341
|
+
value: "oncoprint",
|
|
342
|
+
title: `Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
343
|
+
}
|
|
344
|
+
];
|
|
345
|
+
if (s.addMutationCNVButtons && self2.parent.chartType !== "hierCluster")
|
|
346
|
+
renderStyleOptions.unshift({
|
|
347
|
+
label: ` Single <span style="font-size:.7em;color:#555;">Show a single rectangle in a matrix cell to render the most severe variant (truncating > indels > missense > synonymous) for the same ${l.sample} and gene</span>`,
|
|
348
|
+
value: "single",
|
|
349
|
+
title: `Show a single rectangle in a matrix cell to render the most severe variant (truncating > indels > missense > synonymous) for the same ${l.sample} and gene`
|
|
350
|
+
});
|
|
351
|
+
self2.opts.holder.append("button").datum({
|
|
352
|
+
label: "Genes",
|
|
353
|
+
getCount: () => self2.parent.termOrder?.filter(
|
|
354
|
+
(t) => t.tw.term.type == TermTypes.GENE_VARIANT || t.tw.term.type == TermTypes.GENE_EXPRESSION
|
|
355
|
+
).length || 0,
|
|
356
|
+
customInputs: addGeneInputs,
|
|
357
|
+
rows: [
|
|
358
|
+
{
|
|
359
|
+
label: `Display ${l.Sample} Counts for Gene`,
|
|
360
|
+
title: `Include the ${l.sample} count in the gene label`,
|
|
361
|
+
type: "radio",
|
|
362
|
+
chartType: "matrix",
|
|
363
|
+
settingsKey: "samplecount4gene",
|
|
364
|
+
styles: { display: "inline-block" },
|
|
365
|
+
options: [
|
|
366
|
+
{ label: "Absolute", value: "abs" },
|
|
367
|
+
{ label: `Percent`, value: "pct" },
|
|
368
|
+
{ label: `None`, value: "" }
|
|
369
|
+
],
|
|
370
|
+
getDisplayStyle() {
|
|
371
|
+
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
// TODO: implement this contol option
|
|
375
|
+
// {
|
|
376
|
+
// label: `Exclude From ${l.Sample} Displayed Counts`,
|
|
377
|
+
// title: `Do not include these variations/mutations when counting samples for a gene.`,
|
|
378
|
+
// type: 'text',
|
|
379
|
+
// chartType: 'matrix',
|
|
380
|
+
// settingsKey: 'geneVariantCountSamplesSkipMclass',
|
|
381
|
+
// processInput: tw => {},
|
|
382
|
+
// },
|
|
383
|
+
{
|
|
384
|
+
label: "Genomic Alterations Rendering",
|
|
385
|
+
title: `Set how to indicate a ${l.sample}'s applicable variant types in the same matrix cell`,
|
|
386
|
+
type: "radio",
|
|
387
|
+
chartType: "matrix",
|
|
388
|
+
settingsKey: "cellEncoding",
|
|
389
|
+
options: renderStyleOptions,
|
|
390
|
+
styles: { padding: "5px 0px", margin: 0 },
|
|
391
|
+
labelDisplay: "block",
|
|
392
|
+
getDisplayStyle() {
|
|
393
|
+
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
394
|
+
},
|
|
395
|
+
callback: self2.parent.geneStyleControlCallback
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
label: "Sort Genes",
|
|
399
|
+
title: "Set how to order the genes as rows",
|
|
400
|
+
type: "radio",
|
|
401
|
+
chartType: "matrix",
|
|
402
|
+
settingsKey: "sortTermsBy",
|
|
403
|
+
options: [
|
|
404
|
+
{ label: "By Input Data Order", value: "asListed" },
|
|
405
|
+
{ label: `By ${l.sample} Count`, value: "sampleCount" }
|
|
406
|
+
],
|
|
407
|
+
styles: { padding: 0, "padding-right": "10px", margin: 0, display: "inline-block" },
|
|
408
|
+
getDisplayStyle() {
|
|
409
|
+
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
414
|
+
}
|
|
415
|
+
async function addGeneInputs(self2, app, parent, table) {
|
|
416
|
+
if (parent.chartType == "hierCluster" && parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
417
|
+
appendGeneInputs(self2, app, parent, table, "hierCluster");
|
|
418
|
+
}
|
|
419
|
+
if (parent.state?.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || parent.state.termdbConfig.queries.snvindel)
|
|
420
|
+
appendGeneInputs(self2, app, parent, table);
|
|
421
|
+
}
|
|
422
|
+
async function appendGeneInputs(self2, app, parent, table, geneInputType) {
|
|
423
|
+
tip.clear();
|
|
424
|
+
if (!parent.selectedGroup) parent.selectedGroup = 0;
|
|
425
|
+
if (parent.opts.customInputs?.genes) {
|
|
426
|
+
for (const inputConfig of parent.opts.customInputs.genes) {
|
|
427
|
+
inputConfig.chartType = "matrix";
|
|
428
|
+
const holder = table.append("tr");
|
|
429
|
+
if (inputConfig.title) holder.attr("aria-label", inputConfig.title);
|
|
430
|
+
const input = await initByInput[inputConfig.type](
|
|
431
|
+
Object.assign(
|
|
432
|
+
{},
|
|
433
|
+
{
|
|
434
|
+
holder,
|
|
435
|
+
app,
|
|
436
|
+
id: parent.id,
|
|
437
|
+
debug: self2.opts.debug,
|
|
438
|
+
parent
|
|
439
|
+
},
|
|
440
|
+
inputConfig
|
|
441
|
+
)
|
|
442
|
+
);
|
|
443
|
+
input.main(parent.config);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
let geneInputTr;
|
|
447
|
+
if (geneInputType == "hierCluster" || parent.chartType !== "hierCluster") {
|
|
448
|
+
geneInputTr = table.insert("tr", () => table.select("tr").node());
|
|
449
|
+
} else {
|
|
450
|
+
const secondTr = table.selectAll("tr").nodes()[1] || null;
|
|
451
|
+
const hrTr = table.insert("tr", () => secondTr);
|
|
452
|
+
hrTr.append("td").attr("colspan", 2).append("hr").style("border", "1px solid #ccc");
|
|
453
|
+
geneInputTr = table.insert("tr", () => secondTr);
|
|
454
|
+
}
|
|
455
|
+
addGenesetInput(self2, app, parent, geneInputTr, geneInputType);
|
|
456
|
+
}
|
|
457
|
+
function addGenesetInput(self2, app, parent, tr, geneInputType) {
|
|
458
|
+
const controlPanelBtn = self2.btns.filter((d) => d.label.endsWith("Genes"))?.node();
|
|
459
|
+
const tip3 = app.tip;
|
|
460
|
+
const tg = parent.config.termgroups;
|
|
461
|
+
const { maxGenes, genesetEditUiVersion } = parent.settings?.matrix || parent.config?.settings?.matrix || {};
|
|
462
|
+
let selectedGroup;
|
|
463
|
+
const triggerGenesetEdit = (holder) => {
|
|
464
|
+
holder.selectAll("*").remove();
|
|
465
|
+
const geneList = selectedGroup.lst.map((item) => {
|
|
466
|
+
return { gene: item.name };
|
|
467
|
+
});
|
|
468
|
+
const genesetUi = genesetEditUiVersion === "withTabs" ? GeneSetEditUIwithTabs : GeneSetEditUI;
|
|
469
|
+
new genesetUi({
|
|
470
|
+
holder,
|
|
471
|
+
genome: app.opts.genome,
|
|
472
|
+
geneList,
|
|
473
|
+
// Remove the GFF Loads Gene Sets option from unclustered genes panel.
|
|
474
|
+
customInputs: parent.chartType !== "hierCluster" || geneInputType == "hierCluster" ? self2.parent.opts.customInputs?.geneset : void 0,
|
|
475
|
+
/* running hier clustering and the editing group is the group used for clustering
|
|
476
|
+
pass this mode value to inform ui to support the optional button "top variably exp gene"
|
|
477
|
+
this is hardcoded for the purpose of gene expression and should be improved
|
|
478
|
+
*/
|
|
479
|
+
mode: selectedGroup.mode,
|
|
480
|
+
minNumGenes: selectedGroup.mode == "geneExpression" ? 3 : 1,
|
|
481
|
+
maxNumGenes: maxGenes,
|
|
482
|
+
vocabApi: self2.opts.app.vocabApi,
|
|
483
|
+
callback: async ({ geneList: geneList2, groupName }) => {
|
|
484
|
+
if (!selectedGroup) throw `missing selectedGroup`;
|
|
485
|
+
tip3.hide();
|
|
486
|
+
const group = selectedGroup.status == "new" ? { name: groupName, lst: [] } : tg[selectedGroup.index];
|
|
487
|
+
if (selectedGroup.status == "new") tg.push(group);
|
|
488
|
+
const targetTermType = selectedGroup.mode == "geneExpression" ? "geneExpression" : "geneVariant";
|
|
489
|
+
const lst = group.lst.filter((tw) => tw.term.type != targetTermType);
|
|
490
|
+
const tws = await Promise.all(
|
|
491
|
+
geneList2.map(async (d) => {
|
|
492
|
+
let term;
|
|
493
|
+
if (targetTermType == "geneExpression") {
|
|
494
|
+
const gene = d.symbol || d.gene;
|
|
495
|
+
const unit = getGEunit(app.vocabApi);
|
|
496
|
+
const name = `${gene} ${unit}`;
|
|
497
|
+
term = { gene, name, type: "geneExpression" };
|
|
498
|
+
} else {
|
|
499
|
+
term = {
|
|
500
|
+
gene: d.symbol || d.gene,
|
|
501
|
+
name: d.symbol || d.gene,
|
|
502
|
+
type: "geneVariant"
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
let tw = group.lst.find((t) => {
|
|
506
|
+
const geneName = t.term.gene || t.term.name;
|
|
507
|
+
const match = d.symbol ? geneName === d.symbol : d.gene ? geneName === d.gene : false;
|
|
508
|
+
return match && t.term.type == targetTermType;
|
|
509
|
+
});
|
|
510
|
+
if (!tw) {
|
|
511
|
+
tw = { term };
|
|
512
|
+
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
513
|
+
} else if (!tw.$id) {
|
|
514
|
+
tw.$id = await get$id(self2.opts.app.vocabApi.getTwMinCopy({ term }));
|
|
515
|
+
}
|
|
516
|
+
return tw;
|
|
517
|
+
})
|
|
518
|
+
);
|
|
519
|
+
group.lst = [...lst, ...tws];
|
|
520
|
+
if (!group.lst.length) tg.splice(selectedGroup.index, 1);
|
|
521
|
+
app.dispatch({
|
|
522
|
+
type: "plot_edit",
|
|
523
|
+
id: self2.parent.id,
|
|
524
|
+
config: {
|
|
525
|
+
termgroups: tg
|
|
526
|
+
}
|
|
527
|
+
});
|
|
528
|
+
},
|
|
529
|
+
backBtn: {
|
|
530
|
+
target: "Genes Menu",
|
|
531
|
+
callback: () => {
|
|
532
|
+
controlPanelBtn.click();
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
termsAsListed: geneInputType == "hierCluster" && !self2.parent.config.settings.hierCluster.clusterRows || geneInputType != "hierCluster" && self2.parent.config.settings.matrix.sortTermsBy == "asListed"
|
|
536
|
+
});
|
|
537
|
+
};
|
|
538
|
+
const numOfEditableGrps = tg.filter((g) => g.type != "hierCluster").length;
|
|
539
|
+
tr.append("td").attr("class", "sja-termdb-config-row-label").html(geneInputType == "hierCluster" ? "Hierarchical Clustering Gene Set" : "Genomic Alteration Gene Set");
|
|
540
|
+
if (numOfEditableGrps > 0 || geneInputType == "hierCluster") {
|
|
541
|
+
const td1 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
542
|
+
const editGrpDiv = td1.append("div").append("label");
|
|
543
|
+
editGrpDiv.append("button").html(
|
|
544
|
+
numOfEditableGrps > 1 && geneInputType !== "hierCluster" ? "Edit Selected Group" : geneInputType == "hierCluster" ? "Edit Gene Set" : "Edit Current Group"
|
|
545
|
+
).on("click", () => {
|
|
546
|
+
tip3.clear();
|
|
547
|
+
setMenuBackBtn(tip3.d.append("div").style("padding", "5px"), () => controlPanelBtn.click(), `Back`);
|
|
548
|
+
const genesetEdiUiHolder = tip3.d.append("div");
|
|
549
|
+
triggerGenesetEdit(genesetEdiUiHolder);
|
|
550
|
+
});
|
|
551
|
+
if (numOfEditableGrps > 1 && geneInputType !== "hierCluster") {
|
|
552
|
+
const { nonHierClusterGroups, groupSelect } = setTermGroupSelector(self2, editGrpDiv, tg);
|
|
553
|
+
selectedGroup = nonHierClusterGroups.find((g) => g.selected);
|
|
554
|
+
groupSelect.on("change", () => {
|
|
555
|
+
selectedGroup = nonHierClusterGroups[groupSelect.property("value")];
|
|
556
|
+
});
|
|
557
|
+
} else {
|
|
558
|
+
const s = parent.config.settings.hierCluster;
|
|
559
|
+
const g = geneInputType == "hierCluster" ? tg.find((g2) => g2.type == "hierCluster") : tg.find((g2) => g2.type != "hierCluster");
|
|
560
|
+
selectedGroup = {
|
|
561
|
+
index: geneInputType == "hierCluster" ? tg.findIndex((g2) => g2.type == "hierCluster") : tg[0].type == g.type ? 0 : 1,
|
|
562
|
+
name: g.name,
|
|
563
|
+
type: g.type,
|
|
564
|
+
lst: g.type == "hierCluster" ? g.lst.map((tw) => ({ name: tw.term.gene || tw.term.name })) : g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
|
|
565
|
+
mode: g.type == "hierCluster" ? s.dataType : (
|
|
566
|
+
// !!subject to change!! when group is not clustering, and ds has mutation, defaults to MUTATION_CNV_FUSION
|
|
567
|
+
self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
568
|
+
),
|
|
569
|
+
selected: true
|
|
570
|
+
};
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
if (geneInputType == "hierCluster") {
|
|
574
|
+
return;
|
|
575
|
+
}
|
|
576
|
+
const td2 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
577
|
+
const createNewGrpDiv = td2.append("div").append("label");
|
|
578
|
+
const createBtn = createNewGrpDiv.append("button").html("Create New Group").property("disabled", true).on("click", () => {
|
|
579
|
+
tip3.clear();
|
|
580
|
+
setMenuBackBtn(tip3.d.append("div"), () => controlPanelBtn.click(), "Back");
|
|
581
|
+
const name = nameInput.property("value");
|
|
582
|
+
selectedGroup = {
|
|
583
|
+
index: tg.length,
|
|
584
|
+
name,
|
|
585
|
+
label: name,
|
|
586
|
+
lst: [],
|
|
587
|
+
status: "new",
|
|
588
|
+
mode: parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
589
|
+
};
|
|
590
|
+
triggerGenesetEdit(tip3.d.append("div"));
|
|
591
|
+
});
|
|
592
|
+
const nameInput = createNewGrpDiv.append("input").style("margin", "2px 5px").style("width", "210px").attr("placeholder", "Group Name").on("input", () => {
|
|
593
|
+
createBtn.property("disabled", !nameInput.property("value"));
|
|
594
|
+
}).on("keyup", (event) => {
|
|
595
|
+
if (event.key == "Enter" && !createBtn.property("disabled")) {
|
|
596
|
+
createBtn.node().click();
|
|
597
|
+
}
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
function setMenuBackBtn(holder, callback, label) {
|
|
601
|
+
holder.attr("tabindex", 0).style("padding", "5px").style("text-decoration", "underline").style("cursor", "pointer").style("margin-bottom", "12px").html(`« ${label}`).on("click", callback).on("keyup", (event) => {
|
|
602
|
+
if (event.key == "Enter") event.target.click();
|
|
603
|
+
});
|
|
604
|
+
}
|
|
605
|
+
function setTermGroupSelector(self2, holder, tg) {
|
|
606
|
+
const firstGrpWithGeneTw = tg.find(
|
|
607
|
+
(g) => g.lst.find((tw) => tw.term.type == TermTypes.GENE_VARIANT && g.type !== "hierCluster")
|
|
608
|
+
);
|
|
609
|
+
const groups = tg.map((g, index) => {
|
|
610
|
+
return {
|
|
611
|
+
index,
|
|
612
|
+
name: g.name,
|
|
613
|
+
type: g.type,
|
|
614
|
+
lst: g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
|
|
615
|
+
mode: self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : "",
|
|
616
|
+
selected: g === firstGrpWithGeneTw
|
|
617
|
+
};
|
|
618
|
+
});
|
|
619
|
+
const nonHierClusterGroups = groups.filter((g) => g.type != "hierCluster");
|
|
620
|
+
const groupSelect = holder.append("select").style("width", "218px").style("margin", "2px 5px");
|
|
621
|
+
for (const [i, group] of nonHierClusterGroups.entries()) {
|
|
622
|
+
if (group.label) continue;
|
|
623
|
+
if (group.name) group.label = group.name;
|
|
624
|
+
else group.label = `Unlabeled group #${i + 1}`;
|
|
625
|
+
}
|
|
626
|
+
groupSelect.selectAll("option").data(nonHierClusterGroups).enter().append("option").property("selected", (grp) => grp.selected).attr("value", (d, i) => i).html((grp) => grp.label);
|
|
627
|
+
return { nonHierClusterGroups, groupSelect };
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
// plots/matrix/matrix.controls.variables.ts
|
|
631
|
+
var tip2 = new Menu({ padding: "" });
|
|
632
|
+
function setVariablesBtn(self2, s) {
|
|
633
|
+
self2.opts.holder.append("button").datum({
|
|
634
|
+
label: s.controlLabels.Terms || `Variables`,
|
|
635
|
+
//getCount: () => self.parent.termOrder.filter(t => t.tw.term.type != 'geneVariant').length.length,
|
|
636
|
+
rows: [
|
|
637
|
+
{
|
|
638
|
+
label: `Row Group Label Max Length`,
|
|
639
|
+
title: `Truncate the row group label if it exceeds this maximum number of characters`,
|
|
640
|
+
type: "number",
|
|
641
|
+
chartType: "matrix",
|
|
642
|
+
settingsKey: "termGrpLabelMaxChars"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
label: `Row Label Max Length`,
|
|
646
|
+
title: `Truncate the row label if it exceeds this maximum number of characters`,
|
|
647
|
+
type: "number",
|
|
648
|
+
chartType: "matrix",
|
|
649
|
+
settingsKey: "rowlabelmaxchars"
|
|
650
|
+
}
|
|
651
|
+
],
|
|
652
|
+
customInputs: appendDictInputs
|
|
653
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
654
|
+
}
|
|
655
|
+
function appendDictInputs(self2, app, parent) {
|
|
656
|
+
tip2.clear();
|
|
657
|
+
if (!parent.selectedGroup) parent.selectedGroup = parent.chartType == "hierCluster" ? 1 : 0;
|
|
658
|
+
app.tip.d.append("hr");
|
|
659
|
+
addDictMenu(self2, app, parent, app.tip.d.append("div"));
|
|
660
|
+
}
|
|
661
|
+
async function addDictMenu(self2, app, parent, holder = void 0) {
|
|
662
|
+
const termdb = await import("./app-GTHYSGWI.js");
|
|
663
|
+
termdb.appInit({
|
|
664
|
+
holder: holder || app.tip.d,
|
|
665
|
+
vocabApi: self2.parent.app.vocabApi,
|
|
666
|
+
focus: "off",
|
|
667
|
+
state: {
|
|
668
|
+
vocab: self2.parent.state.vocab,
|
|
669
|
+
activeCohort: self2.parent.activeCohort,
|
|
670
|
+
nav: {
|
|
671
|
+
header_mode: "search_only"
|
|
672
|
+
},
|
|
673
|
+
tree: {
|
|
674
|
+
usecase: { target: "matrix", detail: "termgroups" }
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
tree: {
|
|
678
|
+
submit_lst: (termlst) => {
|
|
679
|
+
submitLst(self2, termlst);
|
|
680
|
+
app.tip.hide();
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
search: {
|
|
684
|
+
focus: "off"
|
|
685
|
+
}
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
async function submitLst(self2, termlst) {
|
|
689
|
+
const newterms = await Promise.all(
|
|
690
|
+
termlst.map(async (_term) => {
|
|
691
|
+
const term = structuredClone(_term);
|
|
692
|
+
const tw = "id" in term ? { id: term.id, term } : { term };
|
|
693
|
+
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
694
|
+
return tw;
|
|
695
|
+
})
|
|
696
|
+
);
|
|
697
|
+
const termgroups = structuredClone(self2.parent.config.termgroups);
|
|
698
|
+
const i = termgroups.findIndex((g) => g.name == "Variables");
|
|
699
|
+
if (i !== -1) {
|
|
700
|
+
const grp = termgroups[i];
|
|
701
|
+
grp.lst.push(...newterms);
|
|
702
|
+
self2.parent.app.dispatch({
|
|
703
|
+
type: "plot_nestedEdits",
|
|
704
|
+
id: self2.parent.id,
|
|
705
|
+
edits: [
|
|
706
|
+
{
|
|
707
|
+
nestedKeys: ["termgroups", i, "lst"],
|
|
708
|
+
value: grp.lst
|
|
709
|
+
}
|
|
710
|
+
]
|
|
711
|
+
});
|
|
712
|
+
} else {
|
|
713
|
+
const grp = { name: "Variables", lst: newterms };
|
|
714
|
+
termgroups.push(grp);
|
|
715
|
+
self2.parent.app.dispatch({
|
|
716
|
+
type: "plot_edit",
|
|
717
|
+
id: self2.parent.id,
|
|
718
|
+
config: { termgroups }
|
|
719
|
+
});
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
// plots/matrix/matrix.controls.dimensions.ts
|
|
724
|
+
function setDimensionsBtn(self2, s) {
|
|
725
|
+
const l = s.controlLabels;
|
|
726
|
+
self2.opts.holder.append("button").datum({
|
|
727
|
+
label: "Cell Layout",
|
|
728
|
+
tables: [
|
|
729
|
+
{
|
|
730
|
+
rows: [
|
|
731
|
+
{
|
|
732
|
+
label: "Grid",
|
|
733
|
+
title: "Show grid lines, which creates borders around each matrix cells. Note that grid lines are hidden when the auto-computed width <= 2, or when either the column and row spacing is set to 0.",
|
|
734
|
+
type: "checkbox",
|
|
735
|
+
boxLabel: "show",
|
|
736
|
+
// v===true means property('checked') and convert to recognized 'rect' value for dispatch
|
|
737
|
+
// otherwise, compared value to 'rect' to set the current value of the checkbox
|
|
738
|
+
// note: the non-boolean showGrid values allow keeping the hidden value='pattern' option for benchmark tests
|
|
739
|
+
processInput: (v) => v === true ? "rect" : v === "rect",
|
|
740
|
+
chartType: "matrix",
|
|
741
|
+
settingsKey: "showGrid",
|
|
742
|
+
colspan: 2,
|
|
743
|
+
align: "center"
|
|
744
|
+
// for testing/benchmarking
|
|
745
|
+
// type: 'radio',
|
|
746
|
+
// options: [
|
|
747
|
+
// {
|
|
748
|
+
// label: 'hide',
|
|
749
|
+
// value: ''
|
|
750
|
+
// },
|
|
751
|
+
// {
|
|
752
|
+
// label: 'lines',
|
|
753
|
+
// value: 'pattern' // needs debugging for when s.rowh or d.colw does not apply to all rows
|
|
754
|
+
// },
|
|
755
|
+
// {
|
|
756
|
+
// label: 'rect',
|
|
757
|
+
// value: 'rect'
|
|
758
|
+
// }
|
|
759
|
+
// ]
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
label: "Outline Color",
|
|
763
|
+
title: "Set a border color for the whole matrix",
|
|
764
|
+
type: "color",
|
|
765
|
+
chartType: "matrix",
|
|
766
|
+
settingsKey: "outlineStroke",
|
|
767
|
+
colspan: 2,
|
|
768
|
+
align: "center"
|
|
769
|
+
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
label: "Beam Color",
|
|
773
|
+
title: "Set a color for the beam highlighter",
|
|
774
|
+
type: "color",
|
|
775
|
+
chartType: "matrix",
|
|
776
|
+
settingsKey: "beamStroke",
|
|
777
|
+
colspan: 2,
|
|
778
|
+
align: "center"
|
|
779
|
+
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
label: "Grid Line Color",
|
|
783
|
+
title: "Set the grid color, equivalent to applying the same border color for each matrix cell",
|
|
784
|
+
type: "color",
|
|
785
|
+
chartType: "matrix",
|
|
786
|
+
settingsKey: "gridStroke",
|
|
787
|
+
colspan: 2,
|
|
788
|
+
align: "center"
|
|
789
|
+
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
label: "Background Color",
|
|
793
|
+
title: `Set the background color when there are no alterations or annotation data for a ${l.sample}`,
|
|
794
|
+
type: "color",
|
|
795
|
+
chartType: "matrix",
|
|
796
|
+
settingsKey: "cellbg",
|
|
797
|
+
colspan: 2,
|
|
798
|
+
align: "center"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
label: `Use Canvas If # ${l.sample} Exceeds`,
|
|
802
|
+
title: `Switch from SVG to canvas rendering when the number of ${l.samples} exceeds this number`,
|
|
803
|
+
type: "number",
|
|
804
|
+
chartType: "matrix",
|
|
805
|
+
settingsKey: "svgCanvasSwitch",
|
|
806
|
+
colspan: 2,
|
|
807
|
+
align: "center",
|
|
808
|
+
width: 60,
|
|
809
|
+
min: 0,
|
|
810
|
+
max: 1e4,
|
|
811
|
+
step: 1
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
label: "Canvas Min. Pixel Width",
|
|
815
|
+
title: "Set a minimum pixel width for a matrix cell when using canvas, may affect the perceived sharpness of the canvas image",
|
|
816
|
+
type: "checkbox",
|
|
817
|
+
boxLabel: "apply",
|
|
818
|
+
chartType: "matrix",
|
|
819
|
+
settingsKey: "useMinPixelWidth",
|
|
820
|
+
colspan: 2,
|
|
821
|
+
align: "center",
|
|
822
|
+
getDisplayStyle: () => self2.parent.settings.matrix.useCanvas ? "" : "none"
|
|
823
|
+
}
|
|
824
|
+
]
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
header: ["Cells", "Columns", "Rows"],
|
|
828
|
+
rows: [
|
|
829
|
+
{
|
|
830
|
+
label: "Row Height",
|
|
831
|
+
title: "Set the height of a matrix row",
|
|
832
|
+
type: "number",
|
|
833
|
+
width: 50,
|
|
834
|
+
align: "center",
|
|
835
|
+
chartType: "matrix",
|
|
836
|
+
inputs: [{ label: "N/A" }, { settingsKey: "rowh", min: 8, max: 30, step: 1 }],
|
|
837
|
+
getDisplayStyle(plot) {
|
|
838
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
label: "Min Col. Width",
|
|
843
|
+
title: "Set the minimum width of the auto-computed matrix column width",
|
|
844
|
+
type: "number",
|
|
845
|
+
width: 50,
|
|
846
|
+
align: "center",
|
|
847
|
+
chartType: "matrix",
|
|
848
|
+
inputs: [{ settingsKey: "colwMin", min: 0.1, max: 16, step: 0.2 }, { label: "N/A" }]
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
label: "Max Col. Width",
|
|
852
|
+
title: "Set the maximum width of the auto-computed matrix column width",
|
|
853
|
+
type: "number",
|
|
854
|
+
width: 50,
|
|
855
|
+
align: "center",
|
|
856
|
+
chartType: "matrix",
|
|
857
|
+
inputs: [{ settingsKey: "colwMax", min: 1, max: 24, step: 0.2 }, { label: "N/A" }]
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
label: "Spacing",
|
|
861
|
+
title: "Set the column spacing. Note that this will be set to 0 when the auto-computed width < 2.",
|
|
862
|
+
type: "number",
|
|
863
|
+
width: 50,
|
|
864
|
+
align: "center",
|
|
865
|
+
chartType: "matrix",
|
|
866
|
+
inputs: [
|
|
867
|
+
{ settingsKey: "colspace", min: 0, max: 20, step: 1 },
|
|
868
|
+
{ settingsKey: "rowspace", min: 0, max: 20, step: 1 }
|
|
869
|
+
],
|
|
870
|
+
getDisplayStyle(plot) {
|
|
871
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
label: "Group spacing",
|
|
876
|
+
title: "Set the spacing between column and row groups.",
|
|
877
|
+
type: "number",
|
|
878
|
+
width: 50,
|
|
879
|
+
align: "center",
|
|
880
|
+
chartType: "matrix",
|
|
881
|
+
inputs: [
|
|
882
|
+
self2.parent.chartType == "hierCluster" ? { label: "N/A" } : { settingsKey: "colgspace", min: 0, max: 20, step: 1 },
|
|
883
|
+
{ settingsKey: "rowgspace", min: 0, max: 20, step: 1 }
|
|
884
|
+
]
|
|
885
|
+
}
|
|
886
|
+
]
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
header: ["Labels", "Columns", "Rows"],
|
|
890
|
+
rows: [
|
|
891
|
+
{
|
|
892
|
+
label: "Offset",
|
|
893
|
+
title: "Set the gap between the label text and matrix edge",
|
|
894
|
+
type: "number",
|
|
895
|
+
width: 50,
|
|
896
|
+
align: "center",
|
|
897
|
+
chartType: "matrix",
|
|
898
|
+
inputs: [
|
|
899
|
+
{ settingsKey: "collabelgap", min: 0, max: 20, step: 1 },
|
|
900
|
+
{ settingsKey: "rowlabelgap", min: 0, max: 20, step: 1 }
|
|
901
|
+
]
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
label: "Spacing",
|
|
905
|
+
title: "Set the gap between labels",
|
|
906
|
+
type: "number",
|
|
907
|
+
width: 50,
|
|
908
|
+
align: "center",
|
|
909
|
+
chartType: "matrix",
|
|
910
|
+
inputs: [
|
|
911
|
+
{ settingsKey: "collabelpad", min: 0, max: 20, step: 1 },
|
|
912
|
+
{ settingsKey: "rowlabelpad", min: 0, max: 20, step: 1 }
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
label: "Min font size",
|
|
917
|
+
title: "Set the minimum auto-computed font size for labels. Note that labels will be hidden if the auto-computed values falls below this minimum.",
|
|
918
|
+
type: "number",
|
|
919
|
+
width: 50,
|
|
920
|
+
align: "center",
|
|
921
|
+
colspan: 2,
|
|
922
|
+
chartType: "matrix",
|
|
923
|
+
settingsKey: "minLabelFontSize",
|
|
924
|
+
min: 0,
|
|
925
|
+
max: 24,
|
|
926
|
+
step: 0.1
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
label: "Max font size",
|
|
930
|
+
title: "Set the maximum auto-computed font size for labels",
|
|
931
|
+
type: "number",
|
|
932
|
+
width: 50,
|
|
933
|
+
align: "center",
|
|
934
|
+
colspan: 2,
|
|
935
|
+
chartType: "matrix",
|
|
936
|
+
settingsKey: "maxLabelFontSize",
|
|
937
|
+
min: 0,
|
|
938
|
+
max: 24,
|
|
939
|
+
step: 0.1
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
label: "Group label<br/>position",
|
|
943
|
+
title: "Set which side of the matrix to display group labels",
|
|
944
|
+
type: "radio",
|
|
945
|
+
width: 50,
|
|
946
|
+
chartType: "matrix",
|
|
947
|
+
labelDisplay: "block",
|
|
948
|
+
getDisplayStyle(plot) {
|
|
949
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
950
|
+
},
|
|
951
|
+
inputs: [
|
|
952
|
+
{
|
|
953
|
+
settingsKey: "collabelpos",
|
|
954
|
+
// switched since settings.collabelpos refers to the individual column label, not group
|
|
955
|
+
options: [
|
|
956
|
+
{ label: "Top", value: "bottom", title: `Display ${l.sample} group labels at the bottom` },
|
|
957
|
+
{ label: "Bottom", value: "top", title: `Display ${l.sample} group labels on top` }
|
|
958
|
+
]
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
settingsKey: "rowlabelpos",
|
|
962
|
+
// switched since settings.rowlabelpos refers to the individual column label, not group
|
|
963
|
+
options: [
|
|
964
|
+
{
|
|
965
|
+
label: "Left",
|
|
966
|
+
value: "right",
|
|
967
|
+
title: `Display gene or variable group labels on the left side`
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
label: "Right",
|
|
971
|
+
value: "left",
|
|
972
|
+
title: `Display gene or variable group labels on the right side`
|
|
973
|
+
}
|
|
974
|
+
]
|
|
975
|
+
}
|
|
976
|
+
]
|
|
977
|
+
}
|
|
978
|
+
]
|
|
979
|
+
}
|
|
980
|
+
]
|
|
981
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
// plots/matrix/matrix.controls.legend.ts
|
|
985
|
+
function setLegendBtn(self2) {
|
|
986
|
+
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
987
|
+
label: "Legend Layout",
|
|
988
|
+
rows: [
|
|
989
|
+
//ontop: false,
|
|
990
|
+
{
|
|
991
|
+
label: "Font Size",
|
|
992
|
+
title: "Set the font size for the legend text",
|
|
993
|
+
type: "number",
|
|
994
|
+
chartType: "legend",
|
|
995
|
+
settingsKey: "fontsize"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
label: "Line Height",
|
|
999
|
+
title: "Set the line height for a legend group",
|
|
1000
|
+
type: "number",
|
|
1001
|
+
chartType: "legend",
|
|
1002
|
+
settingsKey: "lineh"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
label: "Icon Height",
|
|
1006
|
+
title: "Set the icon height for a legend item",
|
|
1007
|
+
type: "number",
|
|
1008
|
+
chartType: "legend",
|
|
1009
|
+
settingsKey: "iconh"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
label: "Icon Width",
|
|
1013
|
+
title: "Set the icon width for a legend item",
|
|
1014
|
+
type: "number",
|
|
1015
|
+
chartType: "legend",
|
|
1016
|
+
settingsKey: "iconw"
|
|
1017
|
+
},
|
|
1018
|
+
/*{
|
|
1019
|
+
label: 'Bottom margin',
|
|
1020
|
+
type: 'number',
|
|
1021
|
+
chartType: 'legend',
|
|
1022
|
+
settingsKey: 'padbtm'
|
|
1023
|
+
},*/
|
|
1024
|
+
{
|
|
1025
|
+
label: "Item Left Pad",
|
|
1026
|
+
title: "Set a left margin for each legend item",
|
|
1027
|
+
type: "number",
|
|
1028
|
+
chartType: "legend",
|
|
1029
|
+
settingsKey: "padx"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
label: "Left Margin",
|
|
1033
|
+
title: "Set a left margin for the whole legend",
|
|
1034
|
+
type: "number",
|
|
1035
|
+
chartType: "legend",
|
|
1036
|
+
settingsKey: "padleft"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
label: "Left Indent",
|
|
1040
|
+
title: `Set a left margin for the first legend item in each group, and should be set to the length of the longest group label. The left indent will align the legend group label text to the right.`,
|
|
1041
|
+
type: "number",
|
|
1042
|
+
chartType: "legend",
|
|
1043
|
+
settingsKey: "hangleft"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
label: "Item Layout",
|
|
1047
|
+
title: "Option to separate each legend item into a new line, instead of a horizontal layout in the same line.",
|
|
1048
|
+
type: "checkbox",
|
|
1049
|
+
chartType: "legend",
|
|
1050
|
+
settingsKey: "linesep",
|
|
1051
|
+
boxLabel: "Line separated"
|
|
1052
|
+
}
|
|
1053
|
+
]
|
|
1054
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
// plots/matrix/matrix.controls.mutations.ts
|
|
1058
|
+
function setMutationBtn(self2) {
|
|
1059
|
+
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1060
|
+
label: "Mutation",
|
|
1061
|
+
updateBtn: (btn) => {
|
|
1062
|
+
const s = self2.parent.config.settings.matrix;
|
|
1063
|
+
btn.style("text-decoration", s.allMatrixMutationHidden ? "line-through" : "").style("text-decoration-thickness", s.allMatrixMutationHidden ? "2px" : "");
|
|
1064
|
+
},
|
|
1065
|
+
rows: [
|
|
1066
|
+
{
|
|
1067
|
+
title: `Show mutation options`,
|
|
1068
|
+
type: "radio",
|
|
1069
|
+
chartType: "matrix",
|
|
1070
|
+
settingsKey: "showMatrixMutation",
|
|
1071
|
+
options: [
|
|
1072
|
+
{ label: "Show all mutations", value: "all" },
|
|
1073
|
+
{ label: `Show only truncating mutations`, value: "onlyTruncating" },
|
|
1074
|
+
{ label: `Show only protein-changing mutations`, value: "onlyPC" },
|
|
1075
|
+
{ label: `Do not show mutations`, value: "none" },
|
|
1076
|
+
{ label: `Show selected mutation`, value: "bySelection" }
|
|
1077
|
+
],
|
|
1078
|
+
labelDisplay: "block",
|
|
1079
|
+
getDisplayStyle(plot) {
|
|
1080
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1081
|
+
},
|
|
1082
|
+
callback: self2.parent.mutationControlCallback
|
|
1083
|
+
}
|
|
1084
|
+
],
|
|
1085
|
+
customInputs: generateMutationItems
|
|
1086
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1087
|
+
}
|
|
1088
|
+
function generateMutationItems(self2, app, parent, table) {
|
|
1089
|
+
table.attr("class", null);
|
|
1090
|
+
const m = parent.config.settings.matrix;
|
|
1091
|
+
const cnvLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtcnv));
|
|
1092
|
+
if (m.showMatrixMutation !== "none" && (m.allMatrixCNVHidden || !cnvLegendGrp || cnvLegendGrp.crossedOut || !cnvLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1093
|
+
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1094
|
+
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1095
|
+
}
|
|
1096
|
+
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixMutation == "bySelection")
|
|
1097
|
+
parent.mutationControlCallback("bySelection");
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
// plots/matrix/matrix.controls.cnv.ts
|
|
1101
|
+
function setCNVBtn(self2) {
|
|
1102
|
+
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1103
|
+
label: "CNV",
|
|
1104
|
+
updateBtn: (btn) => {
|
|
1105
|
+
const s = self2.parent.config.settings.matrix;
|
|
1106
|
+
const notRendered = s.allMatrixCNVHidden;
|
|
1107
|
+
btn.style("text-decoration", notRendered ? "line-through" : "").style("text-decoration-thickness", notRendered ? "2px" : "");
|
|
1108
|
+
},
|
|
1109
|
+
rows: [
|
|
1110
|
+
{
|
|
1111
|
+
title: `Show CNV options`,
|
|
1112
|
+
type: "radio",
|
|
1113
|
+
chartType: "matrix",
|
|
1114
|
+
settingsKey: "showMatrixCNV",
|
|
1115
|
+
options: [
|
|
1116
|
+
{ label: "Show all CNV", value: "all" },
|
|
1117
|
+
{ label: `Do not show CNV`, value: "none" },
|
|
1118
|
+
{ label: `Show selected CNV`, value: "bySelection" }
|
|
1119
|
+
],
|
|
1120
|
+
labelDisplay: "block",
|
|
1121
|
+
getDisplayStyle(plot) {
|
|
1122
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1123
|
+
},
|
|
1124
|
+
callback: self2.parent.CNVControlCallback
|
|
1125
|
+
}
|
|
1126
|
+
],
|
|
1127
|
+
customInputs: generateCNVItems
|
|
1128
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1129
|
+
}
|
|
1130
|
+
function generateCNVItems(self2, app, parent, table) {
|
|
1131
|
+
table.attr("class", null);
|
|
1132
|
+
const m = parent.config.settings.matrix;
|
|
1133
|
+
const mutationLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtsnvindel));
|
|
1134
|
+
if (m.showMatrixCNV !== "none" && (m.allMatrixMutationHidden || !mutationLegendGrp || mutationLegendGrp.crossedOut || !mutationLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1135
|
+
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1136
|
+
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1137
|
+
}
|
|
1138
|
+
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixCNV == "bySelection")
|
|
1139
|
+
parent.CNVControlCallback("bySelection");
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
// plots/matrix/matrix.controls.download.ts
|
|
1143
|
+
function setDownloadBtn(self2) {
|
|
1144
|
+
self2.opts.holder.append("button").style("margin", "2px 0").text("Download").on("focus", () => self2.parent.app.tip.hide()).on("click.sjpp-matrix-download", (event) => {
|
|
1145
|
+
const p = self2.parent;
|
|
1146
|
+
if (!p.dom.downloadMenu) p.dom.downloadMenu = new Menu({ padding: "" });
|
|
1147
|
+
const downloadMenu = p.dom.downloadMenu.clear();
|
|
1148
|
+
const div = downloadMenu.d.append("div");
|
|
1149
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`SVG image`).on("click.sjpp-matrix-download", () => {
|
|
1150
|
+
to_svg(self2.opts.getSvg(), "matrix", { apply_dom_styles: true });
|
|
1151
|
+
p.dom.downloadMenu.destroy();
|
|
1152
|
+
});
|
|
1153
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`TSV data`).on("click.sjpp-matrix-download", () => {
|
|
1154
|
+
const lst = p.data.lst;
|
|
1155
|
+
const allTerms = p.termOrder.map((t) => t.tw);
|
|
1156
|
+
const assayAvailability = p.state.termdbConfig.assayAvailability;
|
|
1157
|
+
const controlLabels = p.settings.matrix.controlLabels;
|
|
1158
|
+
if (p.config.divideBy?.id && !allTerms.find((a2) => a2.id == p.config.divideBy.id)) {
|
|
1159
|
+
allTerms.push(p.config.divideBy);
|
|
1160
|
+
}
|
|
1161
|
+
const activeSamples = [];
|
|
1162
|
+
for (const d of lst) {
|
|
1163
|
+
for (const tw of allTerms) {
|
|
1164
|
+
if (tw.$id in d) {
|
|
1165
|
+
activeSamples.push(d);
|
|
1166
|
+
break;
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
const header = [controlLabels.Sample];
|
|
1171
|
+
for (const tw of allTerms) header.push(tw.term.name);
|
|
1172
|
+
const rows = [header];
|
|
1173
|
+
for (const sample of activeSamples) {
|
|
1174
|
+
const row = [sample._ref_.label];
|
|
1175
|
+
for (const tw of allTerms) {
|
|
1176
|
+
if (!sample[tw.$id]) {
|
|
1177
|
+
row.push("");
|
|
1178
|
+
} else {
|
|
1179
|
+
if (tw.term.type == "geneVariant") {
|
|
1180
|
+
const allVariant = [];
|
|
1181
|
+
for (const v of sample[tw.$id].renderedValues) {
|
|
1182
|
+
const hasAssayAvailability = assayAvailability?.byDt?.[parseInt(v.dt)];
|
|
1183
|
+
if (v.dt == dtsnvindel) {
|
|
1184
|
+
allVariant.push(
|
|
1185
|
+
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.mname ? `,${v.mname}` : "")
|
|
1186
|
+
);
|
|
1187
|
+
} else if (v.dt == dtcnv) {
|
|
1188
|
+
const cnvValue = v.value ? `${hasAssayAvailability ? "" : "CNV:"}${v.value}` : v.class == "CNV_amp" ? "CNV gain" : v.class == "CNV_loss" ? "CNV loss" : v.class == "CNV_homozygous_deletion" ? "CNV homozygous deletion" : v.class == "CNV_amplification" ? "CNV amplification" : v.class == "CNV_loh" ? "CNV loss of heterozygosity" : mclass[v.class]?.label;
|
|
1189
|
+
allVariant.push(
|
|
1190
|
+
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + cnvValue
|
|
1191
|
+
);
|
|
1192
|
+
} else if (v.dt == dtfusionrna || v.dt == dtsv) {
|
|
1193
|
+
allVariant.push(
|
|
1194
|
+
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.gene && v.mname ? `(${v.gene}::${v.mname})` : "")
|
|
1195
|
+
);
|
|
1196
|
+
} else {
|
|
1197
|
+
allVariant.push(`DO NOT SUPPORT dt='${v.dt}'`);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
row.push(allVariant.join("|"));
|
|
1201
|
+
} else if (tw.term.type == TermTypes.GENE_EXPRESSION || tw.term.type == TermTypes.METABOLITE_INTENSITY || tw.term.type == TermTypes.PROTEOME_ABUNDANCE) {
|
|
1202
|
+
row.push(sample[tw.$id]?.renderedValues?.[0]?.value || "");
|
|
1203
|
+
} else {
|
|
1204
|
+
row.push(sample[tw.$id]?.renderedValues?.[0] || sample[tw.$id]?.value || "");
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
rows.push(row);
|
|
1209
|
+
}
|
|
1210
|
+
const matrix = rows.map((row) => row.join(" ")).join("\n");
|
|
1211
|
+
const a = document.createElement("a");
|
|
1212
|
+
document.body.appendChild(a);
|
|
1213
|
+
a.addEventListener(
|
|
1214
|
+
"click",
|
|
1215
|
+
function() {
|
|
1216
|
+
const currentDate = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
1217
|
+
a.download = p.config.settings?.hierCluster?.termGroupName?.startsWith("Gene Expression") ? `GeneExpression.${currentDate}.tsv` : p.chartType == "hierCluster" ? `HierCluster.${currentDate}.tsv` : `${p.app.vocabApi.termdbConfig.matrix?.appName || "Matrix"}.${currentDate}.tsv`;
|
|
1218
|
+
a.href = URL.createObjectURL(new Blob([matrix], { type: "text/tab-separated-values" }));
|
|
1219
|
+
document.body.removeChild(a);
|
|
1220
|
+
},
|
|
1221
|
+
false
|
|
1222
|
+
);
|
|
1223
|
+
a.click();
|
|
1224
|
+
p.dom.downloadMenu.destroy();
|
|
1225
|
+
});
|
|
1226
|
+
downloadMenu.showunder(event.target);
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
// plots/matrix/matrix.zoomPanScroll.ts
|
|
1231
|
+
function setZoomInput(self2) {
|
|
1232
|
+
const holder = self2.opts.holder.append("div").style("display", "inline-block").style("margin-left", "50px");
|
|
1233
|
+
const s = self2.parent.settings.matrix || self2.parent.config.settings.matrix;
|
|
1234
|
+
self2.zoomApi = zoom({
|
|
1235
|
+
holder,
|
|
1236
|
+
title: "Zoom factor relative to the ideal column width, as computed for the number of columns versus available screen width",
|
|
1237
|
+
unit: "",
|
|
1238
|
+
width: "80px",
|
|
1239
|
+
settings: {
|
|
1240
|
+
min: 0.1,
|
|
1241
|
+
// will be determined once the auto-computed width is determined
|
|
1242
|
+
max: 1,
|
|
1243
|
+
// will be determined once the auto-computed width is determined
|
|
1244
|
+
value: 1,
|
|
1245
|
+
increment: s.zoomIncrement,
|
|
1246
|
+
step: s.zoomStep || 5
|
|
1247
|
+
},
|
|
1248
|
+
callback: (zoomLevel) => {
|
|
1249
|
+
const p = self2.parent;
|
|
1250
|
+
const c = p.getVisibleCenterCell(0);
|
|
1251
|
+
p.app.dispatch({
|
|
1252
|
+
type: "plot_edit",
|
|
1253
|
+
id: p.id,
|
|
1254
|
+
config: {
|
|
1255
|
+
settings: {
|
|
1256
|
+
matrix: {
|
|
1257
|
+
zoomLevel,
|
|
1258
|
+
zoomCenterPct: 0.5,
|
|
1259
|
+
zoomIndex: c.totalIndex,
|
|
1260
|
+
zoomGrpIndex: c.grpIndex
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
});
|
|
1265
|
+
},
|
|
1266
|
+
reset: () => {
|
|
1267
|
+
self2.parent.app.dispatch({
|
|
1268
|
+
type: "plot_edit",
|
|
1269
|
+
id: self2.parent.id,
|
|
1270
|
+
config: {
|
|
1271
|
+
settings: {
|
|
1272
|
+
matrix: {
|
|
1273
|
+
zoomLevel: 1,
|
|
1274
|
+
zoomCenterPct: 0
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
});
|
|
1279
|
+
}
|
|
1280
|
+
});
|
|
1281
|
+
}
|
|
1282
|
+
function setDragToggle(self2, opts = {}) {
|
|
1283
|
+
const defaults = {
|
|
1284
|
+
mouseMode: "select",
|
|
1285
|
+
activeBgColor: "rgb(255, 255, 255)"
|
|
1286
|
+
};
|
|
1287
|
+
opts.target.style("cursor", "default");
|
|
1288
|
+
const instance = {
|
|
1289
|
+
opts: Object.assign({}, defaults, opts),
|
|
1290
|
+
dom: {
|
|
1291
|
+
selectBtn: opts.holder.append("button").attr("aria-label", "Click the matrix to select data").style("display", "inline-block").style("width", "25px").style("height", "24.5px").style("background-color", defaults.activeBgColor).on("click", () => setMode("select")),
|
|
1292
|
+
grabBtn: opts.holder.append("button").attr("aria-label", "Click the matrix to drag and move").style("display", "inline-block").style("width", "25px").style("height", "24.5px").on("click", () => setMode("pan"))
|
|
1293
|
+
}
|
|
1294
|
+
};
|
|
1295
|
+
icons.arrowPointer(instance.dom.selectBtn, { width: 14, height: 14, transform: "translate(50,50)" });
|
|
1296
|
+
icons.grab(instance.dom.grabBtn, { width: 14, height: 14, transform: "translate(30,50)" });
|
|
1297
|
+
function setMode(m) {
|
|
1298
|
+
instance.opts.mouseMode = m;
|
|
1299
|
+
self2.parent.settings.matrix.mouseMode = m;
|
|
1300
|
+
opts.target.style("cursor", m == "select" ? "default" : "grab");
|
|
1301
|
+
instance.dom.selectBtn.style("background-color", m == "select" ? instance.opts.activeBgColor : "");
|
|
1302
|
+
instance.dom.grabBtn.style("background-color", m == "pan" ? instance.opts.activeBgColor : "");
|
|
1303
|
+
}
|
|
1304
|
+
self2.dragToggleApi = {
|
|
1305
|
+
update(s = {}) {
|
|
1306
|
+
Object.assign(instance.opts, s);
|
|
1307
|
+
setMode(instance.opts.mouseMode);
|
|
1308
|
+
},
|
|
1309
|
+
getSettings() {
|
|
1310
|
+
return {
|
|
1311
|
+
mouseMode: instance.opts.mouseMode
|
|
1312
|
+
};
|
|
1313
|
+
}
|
|
1314
|
+
};
|
|
1315
|
+
}
|
|
1316
|
+
function setSvgScroll(self2, state) {
|
|
1317
|
+
self2.svgScrollApi = svgScroll({
|
|
1318
|
+
holder: self2.parent.dom.scroll,
|
|
1319
|
+
height: state.config.settings.matrix.scrollHeight,
|
|
1320
|
+
callback: (dx, eventType) => {
|
|
1321
|
+
const p = self2.parent;
|
|
1322
|
+
const s = p.settings.matrix;
|
|
1323
|
+
const d = p.dimensions;
|
|
1324
|
+
if (eventType == "move") {
|
|
1325
|
+
p.dom.seriesesG.attr("transform", `translate(${d.xOffset + d.seriesXoffset - dx},${d.yOffset})`);
|
|
1326
|
+
p.clusterRenderer.translateElems(-dx, s, d);
|
|
1327
|
+
p.layout.top.attr.adjustBoxTransform(-dx);
|
|
1328
|
+
p.layout.btm.attr.adjustBoxTransform(-dx);
|
|
1329
|
+
if (p.dom.topDendrogram) {
|
|
1330
|
+
p.dom.topDendrogram.attr("transform", `translate(${p.topDendroX - dx},0)`);
|
|
1331
|
+
}
|
|
1332
|
+
} else if (eventType == "up") {
|
|
1333
|
+
const c = p.getVisibleCenterCell(-dx);
|
|
1334
|
+
p.app.dispatch({
|
|
1335
|
+
type: "plot_edit",
|
|
1336
|
+
id: p.id,
|
|
1337
|
+
config: {
|
|
1338
|
+
settings: {
|
|
1339
|
+
matrix: {
|
|
1340
|
+
zoomCenterPct: 0.5,
|
|
1341
|
+
zoomIndex: c.totalIndex,
|
|
1342
|
+
zoomGrpIndex: c.grpIndex
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
});
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
});
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
// plots/matrix/matrix.controls.ts
|
|
1353
|
+
var MatrixControls = class {
|
|
1354
|
+
constructor(opts, appState) {
|
|
1355
|
+
this.activeTab = "basic";
|
|
1356
|
+
this.type = "matrixControls";
|
|
1357
|
+
this.opts = opts;
|
|
1358
|
+
this.parent = opts.parent;
|
|
1359
|
+
this.overrides = {};
|
|
1360
|
+
this.opts.holder.style("margin", "10px 10px 20px 10px").style("white-space", "nowrap");
|
|
1361
|
+
const state = this.parent.getState(appState);
|
|
1362
|
+
const s = state.config.settings.matrix;
|
|
1363
|
+
if (this.parent.setClusteringBtn)
|
|
1364
|
+
this.parent.setClusteringBtn(this.opts.holder, (event, data) => this.callback(event, data));
|
|
1365
|
+
setSamplesBtn(this, s);
|
|
1366
|
+
if (state.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || state.termdbConfig.queries.snvindel || this.parent.chartType == "hierCluster" && this.parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
1367
|
+
setGenesBtn(this, s);
|
|
1368
|
+
}
|
|
1369
|
+
if (s.addMutationCNVButtons && this.parent.chartType !== "hierCluster") {
|
|
1370
|
+
setMutationBtn(this);
|
|
1371
|
+
setCNVBtn(this);
|
|
1372
|
+
}
|
|
1373
|
+
setVariablesBtn(this, s);
|
|
1374
|
+
setDimensionsBtn(this, s);
|
|
1375
|
+
setLegendBtn(this);
|
|
1376
|
+
setDownloadBtn(this);
|
|
1377
|
+
setZoomInput(this);
|
|
1378
|
+
setDragToggle(this, {
|
|
1379
|
+
holder: this.opts.holder.append("div").style("display", "inline-block"),
|
|
1380
|
+
target: this.parent.dom.seriesesG
|
|
1381
|
+
});
|
|
1382
|
+
setSvgScroll(this, state);
|
|
1383
|
+
this.keyboardNavHandler = async (event) => {
|
|
1384
|
+
if (event.target.tagName == "BUTTON") this.keyEventTarget = event.target;
|
|
1385
|
+
if (event.key == "Escape") {
|
|
1386
|
+
this.parent.app.tip.hide();
|
|
1387
|
+
} else if (event.key == "Enter" || event.key == "ArrowDown") {
|
|
1388
|
+
const elems = event.target.tagName == "BUTTON" ? this.parent.app.tip.d.node().querySelectorAll("input, select") : event.target.querySelectorAll("input, select");
|
|
1389
|
+
for (const elem of elems) {
|
|
1390
|
+
if (elem.checkVisibility?.() || !elem.checkVisibility && elem.getBoundingClientRect().height) {
|
|
1391
|
+
elem.focus();
|
|
1392
|
+
return false;
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
} else if (event.key == "Tab" && event.shiftKey || event.key == "Backspace" || event.key == "ArrowUp") {
|
|
1396
|
+
this.keyEventTarget.focus();
|
|
1397
|
+
return false;
|
|
1398
|
+
}
|
|
1399
|
+
};
|
|
1400
|
+
this.btns = this.opts.holder.selectAll(":scope>button").filter((d) => d && d.label).on(`keyup.matrix-${this.parent.id}`, this.keyboardNavHandler);
|
|
1401
|
+
}
|
|
1402
|
+
main(overrides = {}) {
|
|
1403
|
+
this.overrides = overrides;
|
|
1404
|
+
this.parent.app.tip.hide();
|
|
1405
|
+
this.btns.text(
|
|
1406
|
+
(d2) => !d2.getCount || d2.showCount == "hide" ? d2.label : d2.showCount == "append" ? `${d2.label} (n=${d2.getCount()})` : `${d2.getCount()} ${d2.label}`
|
|
1407
|
+
).each(function(d2) {
|
|
1408
|
+
if (d2.updateBtn) d2.updateBtn(select_default(this));
|
|
1409
|
+
});
|
|
1410
|
+
const s = this.parent.settings.matrix || this.parent.config.settings.matrix;
|
|
1411
|
+
const min = this.parent.computedSettings.zoomMin;
|
|
1412
|
+
const max = this.parent.computedSettings.zoomMax;
|
|
1413
|
+
const increment = Math.max(0.01, Number((min / max).toFixed(2)));
|
|
1414
|
+
const d = this.parent.dimensions;
|
|
1415
|
+
if (this.zoomApi)
|
|
1416
|
+
this.zoomApi.update({
|
|
1417
|
+
value: s.zoomLevel.toFixed(2),
|
|
1418
|
+
min: min.toFixed(2),
|
|
1419
|
+
max: max.toFixed(2),
|
|
1420
|
+
increment,
|
|
1421
|
+
step: s.zoomStep || 1
|
|
1422
|
+
});
|
|
1423
|
+
if (this.svgScrollApi && d) {
|
|
1424
|
+
this.svgScrollApi.update({
|
|
1425
|
+
x: d.xOffset,
|
|
1426
|
+
y: d.yOffset - s.scrollHeight,
|
|
1427
|
+
totalWidth: d.zoomedMainW,
|
|
1428
|
+
visibleWidth: d.mainw,
|
|
1429
|
+
zoomCenter: s.zoomCenterPct * d.mainw - d.seriesXoffset
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
if (this.dragToggleApi) {
|
|
1433
|
+
this.dragToggleApi.update(s.mouseMode ? { mouseMode: s.mouseMode } : {});
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
getSettings() {
|
|
1437
|
+
return {
|
|
1438
|
+
mouseMode: this.dragToggleApi.getSettings().mouseMode
|
|
1439
|
+
};
|
|
1440
|
+
}
|
|
1441
|
+
async callback(event, d) {
|
|
1442
|
+
const app = this.opts.app;
|
|
1443
|
+
const parent = this.opts.parent;
|
|
1444
|
+
const tables = d.tables || [d];
|
|
1445
|
+
event.target.focus();
|
|
1446
|
+
app.tip.clear();
|
|
1447
|
+
const table = app.tip.d.append("table").attr("class", "sjpp-controls-table");
|
|
1448
|
+
for (const t of tables) {
|
|
1449
|
+
if (t.header) {
|
|
1450
|
+
table.append("tr").selectAll("th").data(t.header).enter().append("th").html((d2) => d2);
|
|
1451
|
+
}
|
|
1452
|
+
for (const inputConfig of t.rows) {
|
|
1453
|
+
const holder = table.append("tr");
|
|
1454
|
+
const input = await initByInput[inputConfig.type](
|
|
1455
|
+
Object.assign(
|
|
1456
|
+
{},
|
|
1457
|
+
{
|
|
1458
|
+
holder,
|
|
1459
|
+
app,
|
|
1460
|
+
dispatch: (action) => app.dispatch(action),
|
|
1461
|
+
id: parent.id,
|
|
1462
|
+
debug: this.opts.debug,
|
|
1463
|
+
parent
|
|
1464
|
+
},
|
|
1465
|
+
inputConfig
|
|
1466
|
+
)
|
|
1467
|
+
);
|
|
1468
|
+
input.main(parent.config);
|
|
1469
|
+
}
|
|
1470
|
+
if (t.customInputs) t.customInputs(this, app, parent, table);
|
|
1471
|
+
table.selectAll("select, input, button").attr("tabindex", 0).on("keydown", this.keyboardNavHandler);
|
|
1472
|
+
}
|
|
1473
|
+
app.tip.showunder(event.target);
|
|
1474
|
+
}
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1477
|
+
// plots/matrix/matrix.xtw.ts
|
|
1478
|
+
var addons;
|
|
1479
|
+
async function getTermGroups(termgroups, app) {
|
|
1480
|
+
const termGroups = structuredClone(termgroups);
|
|
1481
|
+
if (!addons)
|
|
1482
|
+
addons = {
|
|
1483
|
+
QualTWValues: discreteAddons,
|
|
1484
|
+
QualTWPredefinedGS: discreteAddons,
|
|
1485
|
+
QualTWCustomGS: discreteAddons,
|
|
1486
|
+
NumTWRegularBin: discreteAddons,
|
|
1487
|
+
NumTWCustomBin: discreteAddons,
|
|
1488
|
+
NumTWCont: continuousAddons,
|
|
1489
|
+
TermCollectionTWCont: TermCollectionContAddons
|
|
1490
|
+
};
|
|
1491
|
+
const opts = {
|
|
1492
|
+
vocabApi: app.vocabApi,
|
|
1493
|
+
addons
|
|
1494
|
+
};
|
|
1495
|
+
for (const [origIndex, tG] of termGroups.entries()) {
|
|
1496
|
+
tG.origIndex = origIndex;
|
|
1497
|
+
if (tG.type == "hierCluster") continue;
|
|
1498
|
+
const xtwlst = [];
|
|
1499
|
+
for (const tw of tG.lst) {
|
|
1500
|
+
const inputTw = tw.getTw?.() || tw;
|
|
1501
|
+
xtwlst.push(
|
|
1502
|
+
inputTw.type in opts.addons && routedTermTypes.has(inputTw.term.type) ? await TwRouter.init(inputTw, opts) : inputTw
|
|
1503
|
+
);
|
|
1504
|
+
}
|
|
1505
|
+
tG.lst = xtwlst;
|
|
1506
|
+
}
|
|
1507
|
+
return termGroups;
|
|
1508
|
+
}
|
|
1509
|
+
var discreteAddons = {
|
|
1510
|
+
setCellProps: {
|
|
1511
|
+
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1512
|
+
const tw = this.getTw();
|
|
1513
|
+
const key = anno.key;
|
|
1514
|
+
const values = tw.term.values || {};
|
|
1515
|
+
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1516
|
+
const tw$id = tw.$id;
|
|
1517
|
+
cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.[key]?.color || anno.color || values[anno.key]?.color || self2.data.refs.byTermId?.[tw$id]?.bins?.find((b) => anno.key == b.name)?.color;
|
|
1518
|
+
cell.order = t.ref.bins ? t.ref.bins.findIndex((bin) => bin.name == key) : 0;
|
|
1519
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1520
|
+
cell.y = height * i;
|
|
1521
|
+
const group = tw.legend?.group || tw$id;
|
|
1522
|
+
return { ref: t.ref, group, value: key, entry: { key, label: cell.label, fill: cell.fill } };
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
};
|
|
1526
|
+
var continuousAddons = {
|
|
1527
|
+
setCellProps: {
|
|
1528
|
+
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1529
|
+
const tw = this.getTw();
|
|
1530
|
+
const key = anno.key;
|
|
1531
|
+
const values = tw.term.values || {};
|
|
1532
|
+
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1533
|
+
cell.fill = anno.color || values[anno.key]?.color;
|
|
1534
|
+
const tw$id = tw.$id;
|
|
1535
|
+
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1536
|
+
if (!twSpecificSettings[tw$id]) twSpecificSettings[tw$id] = {};
|
|
1537
|
+
const twSettings = twSpecificSettings[tw$id];
|
|
1538
|
+
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1539
|
+
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1540
|
+
const specialValue = tw.term.values?.[cell.key];
|
|
1541
|
+
if (specialValue?.uncomputable) {
|
|
1542
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1543
|
+
cell.y = height * i;
|
|
1544
|
+
cell.height = twSettings.contBarH;
|
|
1545
|
+
cell.fill = "transparent";
|
|
1546
|
+
cell.label = specialValue.label;
|
|
1547
|
+
const group = tw.legend?.group || tw.$id;
|
|
1548
|
+
return {
|
|
1549
|
+
ref: t.ref,
|
|
1550
|
+
group,
|
|
1551
|
+
value: specialValue.label || specialValue.key,
|
|
1552
|
+
entry: { key, label: cell.label, fill: cell.fill }
|
|
1553
|
+
};
|
|
1554
|
+
}
|
|
1555
|
+
cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.contBarColor || "#555";
|
|
1556
|
+
if (s.transpose) {
|
|
1557
|
+
cell.height = t.scale(cell.key);
|
|
1558
|
+
cell.x = twSettings.contBarGap;
|
|
1559
|
+
} else {
|
|
1560
|
+
const vc = cell.term.valueConversion;
|
|
1561
|
+
let renderV = vc ? cell.key * vc.scaleFactor : cell.key;
|
|
1562
|
+
if (this.q.convert2ZScore) {
|
|
1563
|
+
renderV = (renderV - t.mean) / t.std;
|
|
1564
|
+
cell.fill = renderV > 0 ? "#FF6666" : "#6666FF";
|
|
1565
|
+
cell.zscoreLabel = ` (Z-score: ${renderV.toFixed(2)})`;
|
|
1566
|
+
}
|
|
1567
|
+
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : this.term.unit ? `${cell.key.toFixed(2)} ${this.term.unit}` : cell.key.toFixed(2);
|
|
1568
|
+
cell.height = renderV >= 0 ? t.scales.pos(renderV) : t.scales.neg(renderV);
|
|
1569
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1570
|
+
cell.y = renderV >= 0 ? t.counts.posMaxHt + twSettings.contBarGap - cell.height : t.counts.posMaxHt + twSettings.contBarGap;
|
|
1571
|
+
cell.convertedValueLabel = !vc ? "" : convertUnits(cell.key, vc.fromUnit, vc.toUnit, vc.scaleFactor);
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
};
|
|
1576
|
+
var TermCollectionContAddons = {
|
|
1577
|
+
setCellProps: {
|
|
1578
|
+
value: function(cell, anno, value, s, t, self2, width, height, dx, _dy, _i) {
|
|
1579
|
+
const tw = this.getTw();
|
|
1580
|
+
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1581
|
+
if (!twSpecificSettings[tw.$id]) twSpecificSettings[tw.$id] = {};
|
|
1582
|
+
const twSettings = twSpecificSettings[tw.$id];
|
|
1583
|
+
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1584
|
+
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1585
|
+
const isNegative = value.value < 0;
|
|
1586
|
+
if (isNegative) {
|
|
1587
|
+
cell.height = t.scales.neg ? t.scales.neg(value.value) - t.scales.neg(0) : 0;
|
|
1588
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1589
|
+
const cumulativeHeight = t.scales.neg ? t.scales.neg(value.pre_val_sum) - t.scales.neg(0) : 0;
|
|
1590
|
+
cell.y = t.counts.posMaxHt + twSettings.contBarGap + (t.scales.neg ? t.scales.neg(0) : 0) + cumulativeHeight;
|
|
1591
|
+
} else {
|
|
1592
|
+
cell.height = t.scales.pos(value.value) - t.scales.pos(0);
|
|
1593
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1594
|
+
const cumulativeHeight = t.scales.pos(value.pre_val_sum) - t.scales.pos(0);
|
|
1595
|
+
cell.y = t.counts.posMaxHt + twSettings.contBarGap - t.scales.pos(0) - cumulativeHeight - cell.height;
|
|
1596
|
+
}
|
|
1597
|
+
cell.label = value.label;
|
|
1598
|
+
cell.fill = twSettings[value.label]?.color || value.color || tw.term.propsByTermId?.[value.label]?.color;
|
|
1599
|
+
cell.value = value.value;
|
|
1600
|
+
return {
|
|
1601
|
+
ref: t.ref,
|
|
1602
|
+
group: tw.$id,
|
|
1603
|
+
value: value.label,
|
|
1604
|
+
order: -1,
|
|
1605
|
+
entry: { key: value.label, label: value.label, fill: cell.fill }
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1611
|
+
// plots/matrix/matrix.js
|
|
1612
|
+
var Matrix = class _Matrix extends PlotBase {
|
|
1613
|
+
static type = "matrix";
|
|
1614
|
+
configTermKeys = ["termgroups.lst", "divideBy"];
|
|
1615
|
+
constructor(opts) {
|
|
1616
|
+
super(opts);
|
|
1617
|
+
this.type = _Matrix.type;
|
|
1618
|
+
this.holderTitle = "Sample Matrix";
|
|
1619
|
+
this.optionalFeatures = JSON.parse(sessionStorage.getItem("optionalFeatures") || `{}`)?.matrix || [];
|
|
1620
|
+
setInteractivity(this);
|
|
1621
|
+
setRenderers(this);
|
|
1622
|
+
}
|
|
1623
|
+
async init(appState) {
|
|
1624
|
+
const opts = this.opts;
|
|
1625
|
+
if (opts.reactsTo) this.reactsTo = opts.reactsTo;
|
|
1626
|
+
this.setDom = setMatrixDom;
|
|
1627
|
+
this.setDom(opts);
|
|
1628
|
+
this.config = appState.plots.find((p) => p.id === this.id);
|
|
1629
|
+
this.settings = Object.assign({}, this.config.settings.matrix);
|
|
1630
|
+
this.computed = {};
|
|
1631
|
+
if (this.dom.header) this.dom.header.html(this.config.preBuiltPlotTitle || this.holderTitle);
|
|
1632
|
+
this.setControls(appState);
|
|
1633
|
+
this.clusterRenderer = new MatrixCluster({ holder: this.dom.cluster, app: this.app, parent: this });
|
|
1634
|
+
this.legendRenderer = svgLegend({
|
|
1635
|
+
holder: this.dom.legendG,
|
|
1636
|
+
rectFillFxn: (d) => d.color,
|
|
1637
|
+
iconStroke: "#aaa",
|
|
1638
|
+
handlers: {
|
|
1639
|
+
legend: {
|
|
1640
|
+
click: this.legendClick
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
settings: {
|
|
1644
|
+
isExcludedAttr: "isExcluded"
|
|
1645
|
+
},
|
|
1646
|
+
note: "CLICK A ROW LABEL OR ITEM TO APPLY FILTERING"
|
|
1647
|
+
});
|
|
1648
|
+
this.customTipApi = this.dom.tip.getCustomApi({
|
|
1649
|
+
d: this.dom.menubody,
|
|
1650
|
+
clear: (event) => {
|
|
1651
|
+
if (event?.target) this.dom.menutop.style("display", "none");
|
|
1652
|
+
this.dom.menubody.selectAll("*").remove();
|
|
1653
|
+
return this.customTipApi;
|
|
1654
|
+
},
|
|
1655
|
+
show: () => {
|
|
1656
|
+
this.dom.menubody.style("display", "block");
|
|
1657
|
+
},
|
|
1658
|
+
hide: () => {
|
|
1659
|
+
}
|
|
1660
|
+
});
|
|
1661
|
+
this.setPill(appState);
|
|
1662
|
+
const commonKeys = { mclass, dt2label, morigin };
|
|
1663
|
+
for (const k in commonKeys) {
|
|
1664
|
+
const v = commonKeys[k];
|
|
1665
|
+
this[k] = copyMerge({}, v, appState.termdbConfig[k] || {}, appState.termdbConfig.matrix?.[k] || {});
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
setControls(appState) {
|
|
1669
|
+
this.controlsRenderer = new MatrixControls(
|
|
1670
|
+
{
|
|
1671
|
+
app: this.app,
|
|
1672
|
+
id: this.id,
|
|
1673
|
+
parent: this,
|
|
1674
|
+
holder: this.dom.controls,
|
|
1675
|
+
getSvg: () => this.dom.svg.node()
|
|
1676
|
+
},
|
|
1677
|
+
appState
|
|
1678
|
+
);
|
|
1679
|
+
}
|
|
1680
|
+
// reactsTo(action) {
|
|
1681
|
+
// // note: a parent app or 'plot' component is expected to already have
|
|
1682
|
+
// // a comprehensive reactsTo() call to filter the actions for this component,
|
|
1683
|
+
// // so only farther selective action filters should be applied here as needed
|
|
1684
|
+
// return true
|
|
1685
|
+
// }
|
|
1686
|
+
getState(appState) {
|
|
1687
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1688
|
+
const filter0 = appState.termfilter.filter0;
|
|
1689
|
+
this.prevFilter0 = this.state?.filter0;
|
|
1690
|
+
const parentConfig = appState.plots.find((p) => p.id === this.parentId);
|
|
1691
|
+
const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
|
|
1692
|
+
return {
|
|
1693
|
+
isVisible: true,
|
|
1694
|
+
config,
|
|
1695
|
+
filter: termfilter.filter,
|
|
1696
|
+
filter0,
|
|
1697
|
+
// read-only, invisible filter currently only used for gdc dataset
|
|
1698
|
+
hasVerifiedToken: this.app.vocabApi.hasVerifiedToken(),
|
|
1699
|
+
tokenVerificationMessage: this.app.vocabApi.tokenVerificationMessage,
|
|
1700
|
+
vocab: appState.vocab,
|
|
1701
|
+
termdbConfig: appState.termdbConfig,
|
|
1702
|
+
clusterMethod: config.settings.hierCluster?.clusterMethod,
|
|
1703
|
+
distanceMethod: config.settings.hierCluster?.distanceMethod,
|
|
1704
|
+
clusterSamples: config.settings.hierCluster?.clusterSamples,
|
|
1705
|
+
clusterRows: config.settings.hierCluster?.clusterRows,
|
|
1706
|
+
zScoreTransformation: config.settings.hierCluster?.zScoreTransformation,
|
|
1707
|
+
nav: appState.nav,
|
|
1708
|
+
groups: rebaseGroupFilter(appState)
|
|
1709
|
+
};
|
|
1710
|
+
}
|
|
1711
|
+
async main() {
|
|
1712
|
+
try {
|
|
1713
|
+
this.config = await this.getMutableConfig();
|
|
1714
|
+
if (this.mayRequireToken()) return;
|
|
1715
|
+
const termGroups = await getTermGroups(this.config.termgroups, this.app);
|
|
1716
|
+
const prevTranspose = this.settings.transpose;
|
|
1717
|
+
Object.assign(this.settings, structuredClone(this.config.settings), this.controlsRenderer.getSettings());
|
|
1718
|
+
this.dom.loadingDiv.selectAll("*").remove();
|
|
1719
|
+
this.dom.loadingDiv.html("").style("display", "").style("position", "relative").style("left", "45%");
|
|
1720
|
+
this.dom.svg.style("opacity", 0.1).style("pointer-events", "none");
|
|
1721
|
+
delete this.clickedClusterIds;
|
|
1722
|
+
delete this.clickedLeftClusterIds;
|
|
1723
|
+
try {
|
|
1724
|
+
setComputedConfig(this.config);
|
|
1725
|
+
const promises = [];
|
|
1726
|
+
if (this.setHierClusterData) promises.push(this.setHierClusterData());
|
|
1727
|
+
promises.push(this.setData());
|
|
1728
|
+
this.dom.loadingDiv.html("Processing data ...");
|
|
1729
|
+
await Promise.all(promises);
|
|
1730
|
+
const warnings = this.data.warnings.join("\n");
|
|
1731
|
+
this.dom.warningDiv.style("display", warnings.length ? "" : "none").html(warnings);
|
|
1732
|
+
this.applyLegendValueFilter();
|
|
1733
|
+
if (this.combineData) this.combineData();
|
|
1734
|
+
this.app.save({ type: "plot_edit", id: this.id, config: this.config });
|
|
1735
|
+
} catch (e) {
|
|
1736
|
+
if (e == "no data") {
|
|
1737
|
+
this.showNoMatchingDataMessage();
|
|
1738
|
+
return;
|
|
1739
|
+
} else if (this.app.isAbortError(e)) {
|
|
1740
|
+
return;
|
|
1741
|
+
} else {
|
|
1742
|
+
this.dom.svg.style("display", "none");
|
|
1743
|
+
throw e;
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
this.termGroups = termGroups;
|
|
1747
|
+
this.dom.loadingDiv.html("Updating ...").style("display", "");
|
|
1748
|
+
this.termOrder = this.getTermOrder(this.data);
|
|
1749
|
+
this.sampleGroups = this.getSampleGroups(this.hierClusterSamples || this.data);
|
|
1750
|
+
this.sampleOrder = this.getSampleOrder(this.data);
|
|
1751
|
+
this.setLayout();
|
|
1752
|
+
if (this.setHierColorScale) this.setHierColorScale(this.hierClusterData.clustering);
|
|
1753
|
+
if (!this.sampleOrder?.length) {
|
|
1754
|
+
this.showNoMatchingDataMessage();
|
|
1755
|
+
}
|
|
1756
|
+
this.controlsRenderer.main();
|
|
1757
|
+
this.serieses = this.getSerieses(this.data);
|
|
1758
|
+
this.dom.loadingDiv.html("Rendering ...");
|
|
1759
|
+
if (this.plotDendrogramHclust) this.plotDendrogramHclust();
|
|
1760
|
+
this.render();
|
|
1761
|
+
this.mayDisplayCohortMessage();
|
|
1762
|
+
this.dom.svg.style("display", "").style("opacity", 1).style("pointer-events", "");
|
|
1763
|
+
const [xGrps, yGrps] = !this.settings.matrix.transpose ? ["sampleGrps", "termGrps"] : ["termGrps", "sampleGrps"];
|
|
1764
|
+
const d = this.dimensions;
|
|
1765
|
+
this.clusterRenderer.main({
|
|
1766
|
+
settings: this.settings.matrix,
|
|
1767
|
+
xGrps: this[xGrps],
|
|
1768
|
+
yGrps: this[yGrps],
|
|
1769
|
+
dimensions: d
|
|
1770
|
+
});
|
|
1771
|
+
this.legendRenderer(this.legendData, {
|
|
1772
|
+
settings: Object.assign({}, this.settings.legend, {
|
|
1773
|
+
svgw: Math.max(400, d.mainw + d.xOffset - this.settings.matrix.margin.right),
|
|
1774
|
+
svgh: d.mainh + d.yOffset,
|
|
1775
|
+
dimensions: d,
|
|
1776
|
+
padleft: this.settings.legend.padleft
|
|
1777
|
+
//+ d.xOffset
|
|
1778
|
+
})
|
|
1779
|
+
});
|
|
1780
|
+
await this.adjustSvgDimensions(prevTranspose);
|
|
1781
|
+
this.controlsRenderer.main();
|
|
1782
|
+
if (this.data.removedHierClusterTerms) {
|
|
1783
|
+
for (const r of this.data.removedHierClusterTerms) {
|
|
1784
|
+
sayerror(this.dom.errorDiv, r.text + ": " + r.lst.join(", "));
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
} catch (e) {
|
|
1788
|
+
const message = this.app.vocabApi.tokenVerificationMessage;
|
|
1789
|
+
this.mayRequireToken(message);
|
|
1790
|
+
if (!message) {
|
|
1791
|
+
this.app.tip.hide();
|
|
1792
|
+
this.dom.loadingDiv.style("display", "none");
|
|
1793
|
+
throw e;
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
this.resetInteractions();
|
|
1797
|
+
}
|
|
1798
|
+
showNoMatchingDataMessage() {
|
|
1799
|
+
this.forcedSampleCount = 0;
|
|
1800
|
+
this.dom.svg.style("opacity", 1e-3).style("display", "none");
|
|
1801
|
+
if (this.termOrder && this.dimensions) this.controlsRenderer.main({ sampleCount: 0 });
|
|
1802
|
+
this.dom.loadingDiv.html("");
|
|
1803
|
+
const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
|
|
1804
|
+
div.append("div").style("margin", "5px 10px").html("No matching cohort sample data for the current gene list.");
|
|
1805
|
+
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1806
|
+
const div1 = div.append("div").style("margin", "5px 10px");
|
|
1807
|
+
div1.append("span").html("You may change the selected cohort,");
|
|
1808
|
+
if (this.config.legendGrpFilter?.lst.length || this.config.legendValueFilter?.lst.length) {
|
|
1809
|
+
const cnvBtn = this.controlsRenderer.btns.filter((d) => d.label == "CNV")?.node();
|
|
1810
|
+
if (cnvBtn) {
|
|
1811
|
+
div1.append("br");
|
|
1812
|
+
div1.append("span").html("show hidden ");
|
|
1813
|
+
div1.append("span").html("CNV").style("cursor", "pointer").style("text-decoration", "underline").on("click", () => {
|
|
1814
|
+
cnvBtn.click();
|
|
1815
|
+
});
|
|
1816
|
+
}
|
|
1817
|
+
const mutationBtn = this.controlsRenderer.btns.filter((d) => d.label == "Mutation")?.node();
|
|
1818
|
+
if (cnvBtn && mutationBtn) div1.append("span").html(" or ");
|
|
1819
|
+
if (mutationBtn) {
|
|
1820
|
+
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Mutation").on("click", () => {
|
|
1821
|
+
mutationBtn.click();
|
|
1822
|
+
});
|
|
1823
|
+
}
|
|
1824
|
+
if (cnvBtn || mutationBtn) div1.append("span").html(" data,");
|
|
1825
|
+
}
|
|
1826
|
+
div1.append("br");
|
|
1827
|
+
div1.append("span").html("or edit the gene list from the ");
|
|
1828
|
+
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1829
|
+
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1830
|
+
const i = setInterval(() => {
|
|
1831
|
+
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1832
|
+
return this.innerHTML == "Edit Group";
|
|
1833
|
+
}).node();
|
|
1834
|
+
if (editBtn) {
|
|
1835
|
+
editBtn.click();
|
|
1836
|
+
clearInterval(i);
|
|
1837
|
+
}
|
|
1838
|
+
}, 100);
|
|
1839
|
+
});
|
|
1840
|
+
}
|
|
1841
|
+
this.dom.svg.style("display", "none");
|
|
1842
|
+
}
|
|
1843
|
+
mayDisplayCohortMessage() {
|
|
1844
|
+
const msg = deepEqual(this.state.filter0, this.prevFilter0) ? "" : "The gene list is persisted across cohorts.";
|
|
1845
|
+
if (msg) {
|
|
1846
|
+
this.dom.loadingDiv.html("");
|
|
1847
|
+
const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
|
|
1848
|
+
div.append("div").html(msg);
|
|
1849
|
+
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1850
|
+
const div1 = div.append("div");
|
|
1851
|
+
div1.append("span").html(" You may edit the gene list from the ");
|
|
1852
|
+
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1853
|
+
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1854
|
+
const i = setInterval(() => {
|
|
1855
|
+
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1856
|
+
return this.innerHTML == "Edit Group";
|
|
1857
|
+
}).node();
|
|
1858
|
+
if (editBtn) {
|
|
1859
|
+
editBtn.click();
|
|
1860
|
+
clearInterval(i);
|
|
1861
|
+
}
|
|
1862
|
+
}, 100);
|
|
1863
|
+
});
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
this.dom.loadingDiv.style("display", msg ? "" : "none");
|
|
1867
|
+
}
|
|
1868
|
+
sampleKey(s) {
|
|
1869
|
+
return s.row.sample;
|
|
1870
|
+
}
|
|
1871
|
+
sampleLabel(s) {
|
|
1872
|
+
return s.label || s.row._ref_.label || "";
|
|
1873
|
+
}
|
|
1874
|
+
sampleGrpKey(s) {
|
|
1875
|
+
return s.grp.name;
|
|
1876
|
+
}
|
|
1877
|
+
sampleGrpLabel(s) {
|
|
1878
|
+
return s.grp.label || s.grp.name || "";
|
|
1879
|
+
}
|
|
1880
|
+
termKey(t) {
|
|
1881
|
+
return t.tw.$id;
|
|
1882
|
+
}
|
|
1883
|
+
termLabel(t) {
|
|
1884
|
+
return t.label;
|
|
1885
|
+
}
|
|
1886
|
+
termGrpKey(t) {
|
|
1887
|
+
return t.grp.name;
|
|
1888
|
+
}
|
|
1889
|
+
termGrpLabel(t) {
|
|
1890
|
+
return t.grp.label || t.grp.name || [{ text: "\u22EE", dx: 3, cls: "sjpp-exclude-svg-download" }];
|
|
1891
|
+
}
|
|
1892
|
+
destroy() {
|
|
1893
|
+
select_default(window).on(`resize.sjpp-${self.id}`, null);
|
|
1894
|
+
}
|
|
1895
|
+
};
|
|
1896
|
+
for (const m of [matrix_data_exports, matrix_groups_exports, matrix_layout_exports, matrix_serieses_exports, matrix_legend_exports]) {
|
|
1897
|
+
for (const methodName in m) {
|
|
1898
|
+
Matrix.prototype[methodName] = m[methodName];
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
var matrixInit = getCompInit(Matrix);
|
|
1902
|
+
var componentInit = matrixInit;
|
|
1903
|
+
function makeChartBtnMenu(holder, chartsInstance) {
|
|
1904
|
+
chartsInstance.dom.tip.clear();
|
|
1905
|
+
const menuDiv = holder.append("div");
|
|
1906
|
+
if (chartsInstance.state.termdbConfig.matrixplots) {
|
|
1907
|
+
for (const plot of chartsInstance.state.termdbConfig.matrixplots) {
|
|
1908
|
+
menuDiv.append("button").style("margin", "10px").style("padding", "10px 15px").style("border-radius", "20px").style("border-color", "#ededed").style("display", "inline-block").text(plot.name).on("click", async () => {
|
|
1909
|
+
chartsInstance.dom.tip.hide();
|
|
1910
|
+
const config = await chartsInstance.app.vocabApi.getMatrixByName(plot.name);
|
|
1911
|
+
config.preBuiltPlotTitle = plot.name;
|
|
1912
|
+
chartsInstance.app.dispatch({
|
|
1913
|
+
type: "plot_create",
|
|
1914
|
+
config
|
|
1915
|
+
});
|
|
1916
|
+
});
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
const chart = {
|
|
1920
|
+
clickTo: chartsInstance.showTree_selectlst,
|
|
1921
|
+
chartType: "matrix",
|
|
1922
|
+
usecase: { target: "matrix", detail: "termgroups" },
|
|
1923
|
+
processSelection: (lst) => {
|
|
1924
|
+
return [
|
|
1925
|
+
{
|
|
1926
|
+
name: "",
|
|
1927
|
+
lst: lst.map((term) => {
|
|
1928
|
+
return { term };
|
|
1929
|
+
})
|
|
1930
|
+
}
|
|
1931
|
+
];
|
|
1932
|
+
}
|
|
1933
|
+
};
|
|
1934
|
+
chartsInstance.showTree_selectlst(chart);
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
export {
|
|
1938
|
+
Matrix,
|
|
1939
|
+
matrixInit,
|
|
1940
|
+
componentInit,
|
|
1941
|
+
makeChartBtnMenu
|
|
1942
|
+
};
|
|
1943
|
+
//# sourceMappingURL=chunk-YLDE3PVC.js.map
|