@sjcrh/proteinpaint-client 2.184.0 → 2.185.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-X7LATQT7.js +1371 -0
- package/dist/AIProjectAdmin-GUBKURGO.js +830 -0
- package/dist/AppHeader-RDOFP322.js +833 -0
- package/dist/BoxPlot-AZF2EMGQ.js +1217 -0
- package/dist/CorrelationVolcano-VXW35SXU.js +617 -0
- package/dist/DE-NLGMZ44O.js +93 -0
- package/dist/DEinput-OJ7P4UMP.js +297 -0
- package/dist/DifferentialAnalysis-G75VUHDI.js +241 -0
- package/dist/DifferentialAnalysis-G75VUHDI.js.map +7 -0
- package/dist/Disco-DX4S44SI.js +3235 -0
- package/dist/Disco.UI-5FYIACCU.js +242 -0
- package/dist/DmrPlot-HWYITHK2.js +640 -0
- package/dist/GB-DBTMRVYH.js +1125 -0
- package/dist/GeneExpInput-DWB7OYT2.js +335 -0
- package/dist/GeneExpInput-DWB7OYT2.js.map +7 -0
- package/dist/HicApp-XPZVZXB7.js +2248 -0
- package/dist/NumBinaryEditor-M6MJYIHK.js +268 -0
- package/dist/NumBinaryEditor.unit.spec-W6MMYDAW.js +284 -0
- package/dist/NumContEditor-YRVENTS5.js +105 -0
- package/dist/NumContEditor.unit.spec-A6OH4TI7.js +167 -0
- package/dist/NumCustomBinEditor-BLBOYSCQ.js +36 -0
- package/dist/NumCustomBinEditor.unit.spec-55V5CKLB.js +282 -0
- package/dist/NumDiscreteEditor-DTRM6VL2.js +177 -0
- package/dist/NumDiscreteEditor.unit.spec-YMB6QRER.js +200 -0
- package/dist/NumRegularBinEditor-XW4SVA7S.js +36 -0
- package/dist/NumRegularBinEditor.unit.spec-VAHC3VOD.js +225 -0
- package/dist/NumSplineEditor-H22HTRFR.js +190 -0
- package/dist/NumSplineEditor.unit.spec-4JUADXZR.js +197 -0
- package/dist/NumericDensity-ECSZCQRX.js +36 -0
- package/dist/NumericDensity.unit.spec-SXXCXM4X.js +219 -0
- package/dist/NumericHandler-CMBN3FZX.js +37 -0
- package/dist/NumericHandler.unit.spec-UYTJG2Z2.js +217 -0
- package/dist/RunChart2-MVFWLXZX.js +756 -0
- package/dist/SC-BRC3J2O4.js +797 -0
- package/dist/SC-BRC3J2O4.js.map +7 -0
- package/dist/Volcano-WMNFZSX2.js +1234 -0
- package/dist/Volcano-WMNFZSX2.js.map +7 -0
- package/dist/WSIViewer-2Z636FMA.js +47971 -0
- package/dist/WSIViewer-2Z636FMA.js.map +7 -0
- package/dist/WsiSamplesPlot-LN75PND3.js +163 -0
- package/dist/adSandbox-AJ7QUDOI.js +36 -0
- package/dist/alphaGenome-PVCRXAQK.js +173 -0
- package/dist/app-DWYCAFRP.js +47 -0
- package/dist/app-RENXV7VR.js +35 -0
- package/dist/app.js +26 -26
- package/dist/bam-5G6IT6OX.js +857 -0
- package/dist/barchart-MLCCU6SU.js +45 -0
- package/dist/barchart.data-MVVKPDLE.js +22 -0
- package/dist/barchart.events-B6HQTLK2.js +45 -0
- package/dist/barchart.integration.spec-S43A7C7N.js +1675 -0
- package/dist/barchart2-QMKEN6MN.js +309 -0
- package/dist/barchart2-QMKEN6MN.js.map +7 -0
- package/dist/bars.renderer-JHCZDSM6.js +12 -0
- package/dist/block-IGBB4BJH.js +6200 -0
- package/dist/block.init-NLCYAKV4.js +36 -0
- package/dist/block.mds.expressionrank-TZWGRDY7.js +357 -0
- package/dist/block.mds.geneboxplot-OAFROYDL.js +826 -0
- package/dist/block.mds.junction-NSLXTW3D.js +1543 -0
- package/dist/block.mds.svcnv-ICPG4BW6.js +6799 -0
- package/dist/block.svg-DTFVIAAC.js +162 -0
- package/dist/block.tk.aicheck-ZIMIBWHA.js +281 -0
- package/dist/block.tk.ase-I7UNK5BK.js +363 -0
- package/dist/block.tk.bam-W7JG46RS.js +1904 -0
- package/dist/block.tk.bedgraphdot-XAQJPKGJ.js +382 -0
- package/dist/block.tk.bigwig.ui-YQOJPJSG.js +209 -0
- package/dist/block.tk.hicstraw-OWWGGCHU.js +821 -0
- package/dist/block.tk.junction-V63ZQQX6.js +2362 -0
- package/dist/block.tk.junction.textmatrixui-B7KXX7WN.js +197 -0
- package/dist/block.tk.ld-2J6CT74S.js +97 -0
- package/dist/block.tk.menu-6AQLG7PW.js +1027 -0
- package/dist/block.tk.pgv-4V6PKVCQ.js +942 -0
- package/dist/brainImaging-WRBGYLHK.js +421 -0
- package/dist/chat-X2BCTEDF.js +148 -0
- package/dist/chat-X2BCTEDF.js.map +7 -0
- package/dist/chunk-23VG37CB.js +1939 -0
- package/dist/chunk-2K5DSRBJ.js +84 -0
- package/dist/chunk-2K5DSRBJ.js.map +7 -0
- package/dist/chunk-2O6JF76T.js +121 -0
- package/dist/chunk-2VOHINOC.js +262 -0
- package/dist/chunk-2VOHINOC.js.map +7 -0
- package/dist/chunk-3AK6GP4M.js +215 -0
- package/dist/chunk-3B7EWIVB.js +153 -0
- package/dist/chunk-3B7EWIVB.js.map +7 -0
- package/dist/chunk-3JAC5CHL.js +407 -0
- package/dist/chunk-3QBZ2Y77.js +188 -0
- package/dist/chunk-3QBZ2Y77.js.map +7 -0
- package/dist/chunk-3T2PCWII.js +442 -0
- package/dist/chunk-4BTAI6HQ.js +100 -0
- package/dist/chunk-4JVNATQR.js +621 -0
- package/dist/chunk-4JVNATQR.js.map +7 -0
- package/dist/chunk-4KSU6NBP.js +194 -0
- package/dist/chunk-4ZCR6CPK.js +4964 -0
- package/dist/chunk-4ZCR6CPK.js.map +7 -0
- package/dist/chunk-5EBRF6Z7.js +68 -0
- package/dist/chunk-5MW5VMWD.js +2784 -0
- package/dist/chunk-5SMOOFRW.js +386 -0
- package/dist/chunk-5ZBEDKBD.js +158 -0
- package/dist/chunk-65YTZS3R.js +203 -0
- package/dist/chunk-6NMH6WPB.js +446 -0
- package/dist/chunk-6ZCHECOT.js +1816 -0
- package/dist/chunk-6ZCHECOT.js.map +7 -0
- package/dist/chunk-73ZT6NAT.js +34 -0
- package/dist/chunk-7HJ6H7AZ.js +2681 -0
- package/dist/chunk-7HJ6H7AZ.js.map +7 -0
- package/dist/chunk-7UHUOC6F.js +119 -0
- package/dist/chunk-AFXYPMFZ.js +117 -0
- package/dist/chunk-AMYSEKPF.js +1658 -0
- package/dist/chunk-AMYSEKPF.js.map +7 -0
- package/dist/chunk-ANGDY7VC.js +170 -0
- package/dist/chunk-AQ4OP4GR.js +39 -0
- package/dist/chunk-BL4ALBZ7.js +37 -0
- package/dist/chunk-BRCDZJBQ.js +824 -0
- package/dist/chunk-BT4OOYPT.js +280 -0
- package/dist/chunk-BT4OOYPT.js.map +7 -0
- package/dist/chunk-DDKS3MV3.js +144 -0
- package/dist/chunk-EBGX226R.js +205 -0
- package/dist/chunk-EGWVYY7K.js +264 -0
- package/dist/chunk-EGWVYY7K.js.map +7 -0
- package/dist/chunk-EHXI36HJ.js +2815 -0
- package/dist/chunk-ENP4FLOX.js +293 -0
- package/dist/chunk-FDOSJKDA.js +1209 -0
- package/dist/chunk-G6O3URDN.js +467 -0
- package/dist/chunk-HP2BASCY.js +1159 -0
- package/dist/chunk-HROKXT4K.js +14 -0
- package/dist/chunk-HTMXVOTH.js +482 -0
- package/dist/chunk-HTMXVOTH.js.map +7 -0
- package/dist/chunk-HUBO743S.js +82 -0
- package/dist/chunk-HYOEWQ5P.js +421 -0
- package/dist/chunk-I6Y4O3RR.js +839 -0
- package/dist/chunk-I6Y4O3RR.js.map +7 -0
- package/dist/chunk-I7JDV4ZC.js +226 -0
- package/dist/chunk-I7JDV4ZC.js.map +7 -0
- package/dist/chunk-IA7S4UL5.js +302 -0
- package/dist/chunk-IABWKPRK.js +534 -0
- package/dist/chunk-ICBNFAW4.js +147 -0
- package/dist/chunk-JFIOYO3M.js +272 -0
- package/dist/chunk-JMJW3ERE.js +470 -0
- package/dist/chunk-K5XPMCKP.js +135 -0
- package/dist/chunk-K7XWZSQA.js +148 -0
- package/dist/chunk-KSGA62R2.js +2878 -0
- package/dist/chunk-KSN3EVKI.js +102 -0
- package/dist/chunk-KWM6B3NL.js +477 -0
- package/dist/chunk-KWM6B3NL.js.map +7 -0
- package/dist/chunk-KYBIQBXE.js +1628 -0
- package/dist/chunk-L4QG7XZE.js +46 -0
- package/dist/chunk-L4QG7XZE.js.map +7 -0
- package/dist/chunk-L5SOHZ5V.js +229 -0
- package/dist/chunk-LMGE54CQ.js +54 -0
- package/dist/chunk-LOMVTHAM.js +95 -0
- package/dist/chunk-LSV4Z473.js +31 -0
- package/dist/chunk-LY7GD74F.js +381 -0
- package/dist/chunk-MHCTLVGE.js +26 -0
- package/dist/chunk-MSW7OS2O.js +276 -0
- package/dist/chunk-MSW7OS2O.js.map +7 -0
- package/dist/chunk-MVCGSYS2.js +50 -0
- package/dist/chunk-N2HBIQKU.js +102 -0
- package/dist/chunk-NL3DVEVX.js +158 -0
- package/dist/chunk-O4WJSZC3.js +1087 -0
- package/dist/chunk-OLUDD6EC.js +2370 -0
- package/dist/chunk-OLUDD6EC.js.map +7 -0
- package/dist/chunk-OVPVPPRG.js +55 -0
- package/dist/chunk-OYEISJSJ.js +289 -0
- package/dist/chunk-P2JDCMXW.js +4207 -0
- package/dist/chunk-PMDXCESS.js +514 -0
- package/dist/chunk-PXYYICV7.js +1271 -0
- package/dist/chunk-PZ3KIUWJ.js +56 -0
- package/dist/chunk-QEWMCAJW.js +335 -0
- package/dist/chunk-QLWDUZ5K.js +129 -0
- package/dist/chunk-QRSIID3T.js +95 -0
- package/dist/chunk-QRSIID3T.js.map +7 -0
- package/dist/chunk-ROLVOPVR.js +252 -0
- package/dist/chunk-RTS7NVCS.js +371 -0
- package/dist/chunk-ST644IDH.js +217 -0
- package/dist/chunk-TV74I3Y5.js +43 -0
- package/dist/chunk-TV74I3Y5.js.map +7 -0
- package/dist/chunk-UOOMFM7K.js +6364 -0
- package/dist/chunk-UVPAZM3G.js +52 -0
- package/dist/chunk-UWYCEYML.js +815 -0
- package/dist/chunk-VGHSLILD.js +368 -0
- package/dist/chunk-W35IOI74.js +228 -0
- package/dist/chunk-WQ3U6X4Q.js +269 -0
- package/dist/chunk-X4NI4JLQ.js +177 -0
- package/dist/chunk-XKF4KMCB.js +146 -0
- package/dist/chunk-XVDWYTJ6.js +676 -0
- package/dist/chunk-XVDWYTJ6.js.map +7 -0
- package/dist/chunk-YQVEBFGT.js +455 -0
- package/dist/chunk-YWUVCXFS.js +20271 -0
- package/dist/chunk-YWUVCXFS.js.map +7 -0
- package/dist/chunk-ZT3PB4XX.js +1150 -0
- package/dist/chunk-ZVSXHCGP.js +142 -0
- package/dist/chunk-ZYY54HBU.js +330 -0
- package/dist/chunk-ZYY54HBU.js.map +7 -0
- package/dist/condition-CZX2GSN4.js +330 -0
- package/dist/controls-BQR3WY5W.js +39 -0
- package/dist/controls.btns-3V7SNQT3.js +9 -0
- package/dist/controls.config-TAVZDHFZ.js +37 -0
- package/dist/correlation-BIWVZNC6.js +96 -0
- package/dist/cuminc-EDXOOI5R.js +1147 -0
- package/dist/cuminc.integration.spec-UZA7BDTB.js +676 -0
- package/dist/customdata.inputui-PEB4CE7J.js +287 -0
- package/dist/dataDownload-KANEHJXJ.js +328 -0
- package/dist/dataDownload.integration.spec-23WLHSWJ.js +191 -0
- package/dist/databrowser.ui-B2TNECC4.js +419 -0
- package/dist/dictionary-YOTUFVES.js +109 -0
- package/dist/dnaMethylation-TRFAZWRJ.js +36 -0
- package/dist/dnaMethylation.integration.spec-SPFZO76D.js +201 -0
- package/dist/dofetch-MH4MRMGY.js +50 -0
- package/dist/e2pca-AFVAFUJ2.js +348 -0
- package/dist/ep-4FXTLWB4.js +1254 -0
- package/dist/expclust.gdc.spec-SFOCKBLR.js +305 -0
- package/dist/facet-SY6PYSTN.js +519 -0
- package/dist/gb-JUV63QCN.js +93 -0
- package/dist/geneExpClustering-FOY77R7P.js +247 -0
- package/dist/geneExpression-AHKX57BT.js +312 -0
- package/dist/geneExpression-D2F2KVGY.js +36 -0
- package/dist/geneExpression.unit.spec-SR2BGZQL.js +100 -0
- package/dist/geneORA-VJMYI4BT.js +276 -0
- package/dist/geneVariant-LFM5SO2P.js +37 -0
- package/dist/geneVariant-OIKEV4JM.js +39 -0
- package/dist/geneVariant.integration.spec-T6BINPIN.js +196 -0
- package/dist/genefusion.ui-NLMW5XMI.js +306 -0
- package/dist/geneset-HKXFHM5K.js +197 -0
- package/dist/genomeBrowser.spec-DRYIFJLY.js +279 -0
- package/dist/grin2-GJKLNT4J.js +1031 -0
- package/dist/grin2-LGI535FF.js +1554 -0
- package/dist/gsea-Z7DSDFOA.js +45 -0
- package/dist/hierCluster-HC2B5XRR.js +61 -0
- package/dist/hierCluster-PLHVN5S3.js +57 -0
- package/dist/hierCluster.config-E3DIJWL5.js +38 -0
- package/dist/hierCluster.integration.spec-OQLPUQG4.js +393 -0
- package/dist/hierCluster.integration.spec-OQLPUQG4.js.map +7 -0
- package/dist/hierCluster.interactivity-LRNPDTEH.js +52 -0
- package/dist/hierCluster.renderers-FWOV4Q47.js +21 -0
- package/dist/imagePlot-GUXRGYQA.js +139 -0
- package/dist/importPlot-M5HGLHRO.js +8 -0
- package/dist/isoformExpression-PADLHHR5.js +38 -0
- package/dist/isoformExpression.unit.spec-5BPAL4OS.js +206 -0
- package/dist/launch.adhoc-JH6ZZFDB.js +40 -0
- package/dist/leftlabel.sample-NS2TBANH.js +257 -0
- package/dist/legacyDataset-PBCPC5I7.js +119 -0
- package/dist/lollipop-W6NOHHCP.js +166 -0
- package/dist/maf-NOHIKTUP.js +450 -0
- package/dist/maftimeline-WGWE52EF.js +591 -0
- package/dist/matrix-B6NPQFFF.js +61 -0
- package/dist/matrix-UAKRJL5A.js +56 -0
- package/dist/matrix.cells-KEIOXJQ7.js +28 -0
- package/dist/matrix.cluster-NU5CYRUT.js +9 -0
- package/dist/matrix.config-KJNJXPJJ.js +39 -0
- package/dist/matrix.data-QGCGFLD7.js +25 -0
- package/dist/matrix.dom-KGXRCCKU.js +11 -0
- package/dist/matrix.groups-HBPLZ2QX.js +26 -0
- package/dist/matrix.integration.spec-VAXIR3E6.js +3070 -0
- package/dist/matrix.interactivity-H4MCMJXU.js +40 -0
- package/dist/matrix.layout-RFKQJM5D.js +42 -0
- package/dist/matrix.legend-UCL7HM26.js +22 -0
- package/dist/matrix.renderers-7JJIC6VC.js +36 -0
- package/dist/matrix.serieses-S2TJ3E6P.js +21 -0
- package/dist/matrix.sort-CFA4UWBJ.js +27 -0
- package/dist/matrix.sort.unit.spec-MQQVWWNT.js +470 -0
- package/dist/matrix.sorterUi-FT7K5664.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-LG4TI7VF.js +340 -0
- package/dist/mavb-EIZHS6F4.js +730 -0
- package/dist/mds.fimo-XVC6MI7W.js +516 -0
- package/dist/mds.samplescatterplot-PRR4TKYI.js +1548 -0
- package/dist/mds.survivalplot-3OG4Y2B6.js +481 -0
- package/dist/notify-2ROOBENL.js +234 -0
- package/dist/numericDictTermCluster-DOD66G3A.js +72 -0
- package/dist/numericDictTermCluster-DOD66G3A.js.map +7 -0
- package/dist/oncomatrix-SO6S6IIB.js +293 -0
- package/dist/oncomatrix.spec-VXTF44K5.js +446 -0
- package/dist/plot.2dvaf-JW5OJJXV.js +375 -0
- package/dist/plot.app-T3GVCFQ3.js +39 -0
- package/dist/plot.barplot-2TYP6DPI.js +100 -0
- package/dist/plot.boxplot-HOQHM7JF.js +150 -0
- package/dist/plot.brainImaging-5AI7BSD4.js +51 -0
- package/dist/plot.disco-HNNZHK5Z.js +101 -0
- package/dist/plot.dzi-4OQSO7SY.js +33 -0
- package/dist/plot.ssgq-VZTTGECT.js +137 -0
- package/dist/plot.vaf2cov-ASEELRDV.js +257 -0
- package/dist/plot.wsi-MDWYLU4R.js +36 -0
- package/dist/polar-QSY6JG4P.js +184 -0
- package/dist/polar2-FD6656VD.js +226 -0
- package/dist/profile.spec-V7EQBXT2.js +78 -0
- package/dist/profileBarchart-EIKHZAPD.js +265 -0
- package/dist/profileForms-NGFRXPFF.js +438 -0
- package/dist/profilePlot-2UFKJ2OC.js +52 -0
- package/dist/profileRadar-B2R7OV5F.js +261 -0
- package/dist/profileRadarFacility-ILC7POCI.js +261 -0
- package/dist/proteinView-AS6ZV2JT.js +758 -0
- package/dist/proteinView-AS6ZV2JT.js.map +7 -0
- package/dist/proteomeAbundance-6J5YF4V2.js +63 -0
- package/dist/proteomeAbundance-OF27N347.js +21 -0
- package/dist/qualitative-2INAKDTJ.js +220 -0
- package/dist/qualitative-CSUO2WG5.js +41 -0
- package/dist/radar2-L2HGCUYR.js +314 -0
- package/dist/radar2-L2HGCUYR.js.map +7 -0
- package/dist/radarFacility2-HXUUTRYO.js +323 -0
- package/dist/radarFacility2-HXUUTRYO.js.map +7 -0
- package/dist/regression-Y4NYGZSA.js +54 -0
- package/dist/regression.inputs-RWFIJLNF.js +46 -0
- package/dist/regression.inputs.term-QIU5SHTN.js +46 -0
- package/dist/regression.inputs.values.table-FM6QTSEV.js +43 -0
- package/dist/regression.integration.spec-YRKKU7HL.js +782 -0
- package/dist/regression.results-YUDCHUZJ.js +38 -0
- package/dist/regression.spec-G4GIIV32.js +706 -0
- package/dist/report-2N4FBR4Q.js +220 -0
- package/dist/sampleScatter.spec-UIUYO4WR.js +200 -0
- package/dist/sampleView-TOK5Y5KU.js +46 -0
- package/dist/samplelst-YW5ZS3GJ.js +109 -0
- package/dist/samplematrix-447BHSO7.js +2196 -0
- package/dist/sc-O2PL3FL2.js +84 -0
- package/dist/scatter-4DXHOWVY.js +800 -0
- package/dist/scatter.integration.spec-ZPTM3AGQ.js +1194 -0
- package/dist/scatter.integration.spec-ZPTM3AGQ.js.map +7 -0
- package/dist/selectGenomeWithTklst-3RLZFW62.js +132 -0
- package/dist/singleCellCellType-3LQJXS7H.js +36 -0
- package/dist/singleCellCellType.unit.spec-UJM72SP4.js +158 -0
- package/dist/singleCellGeneExpression-JOWJWPIQ.js +36 -0
- package/dist/singleCellGeneExpression.unit.spec-VY5CGRZH.js +151 -0
- package/dist/singleCellPlot-IVLVKOO6.js +51 -0
- package/dist/singlecell-VJJZJZF7.js +1570 -0
- package/dist/singlecell-VQJ2252L.js +84 -0
- package/dist/snp-ALMKZKL2.js +36 -0
- package/dist/snp.unit.spec-GJQBAHGQ.js +174 -0
- package/dist/snplocus-WCNCMFWZ.js +206 -0
- package/dist/spliceevent.a53ss.diagram-4Q4JF4RX.js +149 -0
- package/dist/spliceevent.exonskip.diagram-IOYOKELT.js +275 -0
- package/dist/spliceevent.noeventdiagram-77ZCOHSF.js +458 -0
- package/dist/ssGSEA-QTXXIN4K.js +36 -0
- package/dist/ssGSEA.unit.spec-LQESATT3.js +86 -0
- package/dist/summarizeCnvGeneexp-YKUQGDQF.js +161 -0
- package/dist/summarizeGeneexpSurvival-ARGG5VDC.js +106 -0
- package/dist/summarizeMutationCnv-FMZYT3EC.js +162 -0
- package/dist/summarizeMutationDiagnosis-ZX7I46SC.js +38 -0
- package/dist/summarizeMutationSurvival-RCFMTT43.js +97 -0
- package/dist/summary-QLL5YVI2.js +47 -0
- package/dist/summary.integration.spec-DHY6XCEJ.js +412 -0
- package/dist/summaryInput-ANCUQGIB.js +233 -0
- package/dist/sunburst-RDNFBOCK.js +282 -0
- package/dist/survival-BG7QV52L.js +44 -0
- package/dist/survival-WSN36OQE.js +56 -0
- package/dist/survival.integration.spec-37KAJ5IK.js +800 -0
- package/dist/svgraph-A5WGHW4S.js +1385 -0
- package/dist/svmr-CYRHHWZF.js +3840 -0
- package/dist/table-VHO7E5PI.js +198 -0
- package/dist/termCollection-E4Q6GLXN.js +177 -0
- package/dist/termCollection-HSVSH7TJ.js +36 -0
- package/dist/termCollection.unit.spec-ZCE3TUMS.js +206 -0
- package/dist/tk-GPRHDN4K.js +44 -0
- package/dist/tp.ui-LTUA3FSL.js +1457 -0
- package/dist/tvs.density-BJK23JYJ.js +18 -0
- package/dist/tvs.dt-G43PAAKD.js +37 -0
- package/dist/tvs.dtcnv.categorical-UHDS2TGZ.js +38 -0
- package/dist/tvs.dtcnv.continuous-ZNGYQKTD.js +70 -0
- package/dist/tvs.dtfusion-JBEEUDUS.js +38 -0
- package/dist/tvs.dtsnvindel-XXN5Q7RN.js +38 -0
- package/dist/tvs.dtsv-MO6L7HHV.js +38 -0
- package/dist/tvs.numeric-MJZMNYRG.js +21 -0
- package/dist/tvs.samplelst-HKY6UUJM.js +102 -0
- package/dist/tvs.termCollection-TY6FPL25.js +157 -0
- package/dist/violin-YHE3WSGR.js +44 -0
- package/dist/violin.integration.spec-F2UD7BHC.js +1423 -0
- package/dist/violin.integration.spec-F2UD7BHC.js.map +7 -0
- package/dist/violin.interactivity-LVDTDEPQ.js +36 -0
- package/dist/violin.renderer-IIEIUGRI.js +38 -0
- package/dist/vocabulary-WQRYXBRO.js +39 -0
- package/dist/vocabulary-WQRYXBRO.js.map +7 -0
- package/package.json +3 -3
- package/dist/2dmaf-RWFDP5I4.js +0 -1371
- package/dist/AIProjectAdmin-NJ3P2NQU.js +0 -830
- package/dist/AppHeader-5KCPR7SA.js +0 -833
- package/dist/BoxPlot-DZ3ZWEW5.js +0 -1217
- package/dist/CorrelationVolcano-V33RYSUZ.js +0 -617
- package/dist/DE-5KHGE5V4.js +0 -93
- package/dist/DEinput-X2ZMSFS2.js +0 -297
- package/dist/DifferentialAnalysis-LF2M62HM.js +0 -241
- package/dist/DifferentialAnalysis-LF2M62HM.js.map +0 -7
- package/dist/Disco-7W3PKSOG.js +0 -3235
- package/dist/Disco.UI-RX3ERCPR.js +0 -242
- package/dist/DmrPlot-2K5VRZ7V.js +0 -640
- package/dist/GB-YUUNR7N7.js +0 -1125
- package/dist/GeneExpInput-2LJVYQT5.js +0 -332
- package/dist/GeneExpInput-2LJVYQT5.js.map +0 -7
- package/dist/HicApp-HINHH2DY.js +0 -2248
- package/dist/NumBinaryEditor-SEHOR46J.js +0 -268
- package/dist/NumBinaryEditor.unit.spec-VQDE54BT.js +0 -284
- package/dist/NumContEditor-H5SVEBR2.js +0 -105
- package/dist/NumContEditor.unit.spec-V24LQZRT.js +0 -167
- package/dist/NumCustomBinEditor-Z5MG3NPH.js +0 -36
- package/dist/NumCustomBinEditor.unit.spec-KDM5KUVI.js +0 -282
- package/dist/NumDiscreteEditor-H3RCSDHI.js +0 -177
- package/dist/NumDiscreteEditor.unit.spec-C7EUQBUW.js +0 -200
- package/dist/NumRegularBinEditor-FJME4XN4.js +0 -36
- package/dist/NumRegularBinEditor.unit.spec-BEOATSFC.js +0 -225
- package/dist/NumSplineEditor-BYN3ZL7B.js +0 -190
- package/dist/NumSplineEditor.unit.spec-MYWSBKIJ.js +0 -197
- package/dist/NumericDensity-YIYYFZ4F.js +0 -36
- package/dist/NumericDensity.unit.spec-2XDJGWF3.js +0 -219
- package/dist/NumericHandler-RFDW5QVQ.js +0 -37
- package/dist/NumericHandler.unit.spec-FNVY3AF5.js +0 -217
- package/dist/RunChart2-VEJQHFCT.js +0 -756
- package/dist/SC-5GPO326X.js +0 -732
- package/dist/SC-5GPO326X.js.map +0 -7
- package/dist/Volcano-HXMAGR3R.js +0 -1203
- package/dist/Volcano-HXMAGR3R.js.map +0 -7
- package/dist/WSIViewer-I6WX3WU2.js +0 -47974
- package/dist/WSIViewer-I6WX3WU2.js.map +0 -7
- package/dist/WsiSamplesPlot-WHB5EXCB.js +0 -163
- package/dist/adSandbox-B35FAZJ7.js +0 -36
- package/dist/alphaGenome-EP27CAV2.js +0 -173
- package/dist/app-QUDZ4CFB.js +0 -47
- package/dist/app-W3BN75D3.js +0 -35
- package/dist/bam-ZN3L6BY5.js +0 -857
- package/dist/barchart-TNLMNY43.js +0 -45
- package/dist/barchart.data-EYZ3W4BQ.js +0 -22
- package/dist/barchart.events-CQ6AYMKE.js +0 -45
- package/dist/barchart.integration.spec-WEVE3VOB.js +0 -1675
- package/dist/barchart2-J7POUY6P.js +0 -309
- package/dist/barchart2-J7POUY6P.js.map +0 -7
- package/dist/bars.renderer-S7A7I6BQ.js +0 -12
- package/dist/block-2O7NOZN4.js +0 -6200
- package/dist/block.init-EODYNLUI.js +0 -36
- package/dist/block.mds.expressionrank-436I4RXC.js +0 -357
- package/dist/block.mds.geneboxplot-DDSL6AIO.js +0 -826
- package/dist/block.mds.junction-N2WB6JRM.js +0 -1543
- package/dist/block.mds.svcnv-Y77HHZ34.js +0 -6799
- package/dist/block.svg-A2XQKNMW.js +0 -162
- package/dist/block.tk.aicheck-LICGBXMN.js +0 -281
- package/dist/block.tk.ase-QDQZYSOB.js +0 -363
- package/dist/block.tk.bam-JHKAW4OL.js +0 -1904
- package/dist/block.tk.bedgraphdot-XTYREEZW.js +0 -382
- package/dist/block.tk.bigwig.ui-3GBKZKY2.js +0 -209
- package/dist/block.tk.hicstraw-NUZH6KF3.js +0 -821
- package/dist/block.tk.junction-CFJELBHC.js +0 -2362
- package/dist/block.tk.junction.textmatrixui-MZ2BQXQ5.js +0 -197
- package/dist/block.tk.ld-7ZJRJFXY.js +0 -97
- package/dist/block.tk.menu-GC2DOKSC.js +0 -1027
- package/dist/block.tk.pgv-TRQPJAZB.js +0 -942
- package/dist/brainImaging-A7KXLJ7H.js +0 -421
- package/dist/chat-NAYKP3GT.js +0 -148
- package/dist/chat-NAYKP3GT.js.map +0 -7
- package/dist/chunk-2LSQTG2W.js +0 -261
- package/dist/chunk-2LSQTG2W.js.map +0 -7
- package/dist/chunk-2QGWWYYS.js +0 -102
- package/dist/chunk-2VNTM6TR.js +0 -129
- package/dist/chunk-4X6J6CZA.js +0 -107
- package/dist/chunk-4X6J6CZA.js.map +0 -7
- package/dist/chunk-54ACDCRS.js +0 -170
- package/dist/chunk-54FTA4PC.js +0 -95
- package/dist/chunk-57GCRPC4.js +0 -442
- package/dist/chunk-5MHACDQU.js +0 -824
- package/dist/chunk-5OHXYXLD.js +0 -46
- package/dist/chunk-5OHXYXLD.js.map +0 -7
- package/dist/chunk-5ONLXNNE.js +0 -56
- package/dist/chunk-5UG7ZKPU.js +0 -135
- package/dist/chunk-6NAYFS4V.js +0 -4207
- package/dist/chunk-6Y4QZ4AY.js +0 -335
- package/dist/chunk-762BT2DY.js +0 -470
- package/dist/chunk-7N3Q25KC.js +0 -26
- package/dist/chunk-A46S4C2T.js +0 -2784
- package/dist/chunk-A5TSPTYC.js +0 -144
- package/dist/chunk-A6TQGNDQ.js +0 -421
- package/dist/chunk-AIZRXZG4.js +0 -102
- package/dist/chunk-AU23U4BS.js +0 -302
- package/dist/chunk-B2F23ESD.js +0 -475
- package/dist/chunk-B2F23ESD.js.map +0 -7
- package/dist/chunk-B3O2PC4B.js +0 -203
- package/dist/chunk-BDDMS2FF.js +0 -514
- package/dist/chunk-BEWDIM6H.js +0 -42
- package/dist/chunk-BEWDIM6H.js.map +0 -7
- package/dist/chunk-BSLJVK4K.js +0 -6364
- package/dist/chunk-CJLWB4HZ.js +0 -1939
- package/dist/chunk-CUSG5PZE.js +0 -68
- package/dist/chunk-D6JMBLDW.js +0 -368
- package/dist/chunk-DONWY7TP.js +0 -39
- package/dist/chunk-EHYHXP42.js +0 -37
- package/dist/chunk-EWSI62JW.js +0 -1271
- package/dist/chunk-F6V4AYWP.js +0 -177
- package/dist/chunk-FGMPKWT5.js +0 -371
- package/dist/chunk-G2X7JHYC.js +0 -4961
- package/dist/chunk-G2X7JHYC.js.map +0 -7
- package/dist/chunk-GCXNR5FP.js +0 -229
- package/dist/chunk-GMDQIP3M.js +0 -31
- package/dist/chunk-GXINX3WK.js +0 -281
- package/dist/chunk-GXINX3WK.js.map +0 -7
- package/dist/chunk-HDTUZBHC.js +0 -158
- package/dist/chunk-HYZG6OPC.js +0 -467
- package/dist/chunk-I2M62STM.js +0 -276
- package/dist/chunk-I2M62STM.js.map +0 -7
- package/dist/chunk-I45NHOFY.js +0 -1209
- package/dist/chunk-IBZGIOXS.js +0 -1150
- package/dist/chunk-IE56TWZS.js +0 -1159
- package/dist/chunk-IH7ILDJS.js +0 -2878
- package/dist/chunk-IQIXGTQV.js +0 -84
- package/dist/chunk-IQIXGTQV.js.map +0 -7
- package/dist/chunk-J77Y3KAI.js +0 -117
- package/dist/chunk-JKDUB36U.js +0 -407
- package/dist/chunk-JOT4WDJE.js +0 -815
- package/dist/chunk-JTX4Z2DL.js +0 -274
- package/dist/chunk-JTX4Z2DL.js.map +0 -7
- package/dist/chunk-KBDY6GE3.js +0 -446
- package/dist/chunk-KBYRXJ6Y.js +0 -20639
- package/dist/chunk-KBYRXJ6Y.js.map +0 -7
- package/dist/chunk-KLV7RCJM.js +0 -148
- package/dist/chunk-KQKC2KYW.js +0 -2815
- package/dist/chunk-KZFOWI7N.js +0 -52
- package/dist/chunk-LJS24D4U.js +0 -50
- package/dist/chunk-LKFYRQOH.js +0 -226
- package/dist/chunk-LKFYRQOH.js.map +0 -7
- package/dist/chunk-LXQ6DLAR.js +0 -217
- package/dist/chunk-M3EBH2WK.js +0 -194
- package/dist/chunk-MFLKXGQC.js +0 -228
- package/dist/chunk-MHTDDCB7.js +0 -142
- package/dist/chunk-NDWTN4U5.js +0 -838
- package/dist/chunk-NDWTN4U5.js.map +0 -7
- package/dist/chunk-ODEZHSWS.js +0 -205
- package/dist/chunk-OTCYJP7G.js +0 -119
- package/dist/chunk-PKJUCJOU.js +0 -2327
- package/dist/chunk-PKJUCJOU.js.map +0 -7
- package/dist/chunk-Q34VOEG6.js +0 -54
- package/dist/chunk-Q4FZUHZW.js +0 -2672
- package/dist/chunk-Q4FZUHZW.js.map +0 -7
- package/dist/chunk-QA52MW7K.js +0 -480
- package/dist/chunk-QA52MW7K.js.map +0 -7
- package/dist/chunk-QJ5J64KI.js +0 -100
- package/dist/chunk-QPYRMBI5.js +0 -146
- package/dist/chunk-RCYTUKAJ.js +0 -1745
- package/dist/chunk-RCYTUKAJ.js.map +0 -7
- package/dist/chunk-S7NLVFLS.js +0 -215
- package/dist/chunk-SCC44SJK.js +0 -386
- package/dist/chunk-SEEYV6P2.js +0 -1628
- package/dist/chunk-SOED2SLH.js +0 -257
- package/dist/chunk-SOED2SLH.js.map +0 -7
- package/dist/chunk-T5CFDKE7.js +0 -14
- package/dist/chunk-TBLWSWGI.js +0 -629
- package/dist/chunk-TBLWSWGI.js.map +0 -7
- package/dist/chunk-TE3DK3A6.js +0 -147
- package/dist/chunk-TRXU2NWS.js +0 -1087
- package/dist/chunk-UDASC4UW.js +0 -34
- package/dist/chunk-UFDQ2R2Q.js +0 -534
- package/dist/chunk-UG4OP5YA.js +0 -55
- package/dist/chunk-UIHDDLI6.js +0 -158
- package/dist/chunk-UWX7W22M.js +0 -121
- package/dist/chunk-VEXSAWKT.js +0 -455
- package/dist/chunk-VG7HDHJ7.js +0 -92
- package/dist/chunk-VG7HDHJ7.js.map +0 -7
- package/dist/chunk-VWPEKFSU.js +0 -615
- package/dist/chunk-VWPEKFSU.js.map +0 -7
- package/dist/chunk-VYIO7T6J.js +0 -82
- package/dist/chunk-W3SYT2EY.js +0 -289
- package/dist/chunk-XRVBHNCW.js +0 -1561
- package/dist/chunk-XRVBHNCW.js.map +0 -7
- package/dist/chunk-Y7S3EY6T.js +0 -182
- package/dist/chunk-Y7S3EY6T.js.map +0 -7
- package/dist/chunk-YA73ETIT.js +0 -252
- package/dist/chunk-YDF73E2J.js +0 -272
- package/dist/chunk-YK5NFMHR.js +0 -269
- package/dist/chunk-ZIAGMGMS.js +0 -381
- package/dist/chunk-ZZZMLJLP.js +0 -293
- package/dist/condition-UCLHJLCK.js +0 -330
- package/dist/controls-IQGNIWUP.js +0 -39
- package/dist/controls.btns-RSGATX6Y.js +0 -9
- package/dist/controls.config-QJ5AO7RR.js +0 -37
- package/dist/correlation-CRYKJGNT.js +0 -96
- package/dist/cuminc-LBSHAUJ4.js +0 -1147
- package/dist/cuminc.integration.spec-M7F2IIB7.js +0 -676
- package/dist/customdata.inputui-CJ6R7SEC.js +0 -287
- package/dist/dataDownload-4OHGMZMB.js +0 -328
- package/dist/dataDownload.integration.spec-CK25GOZY.js +0 -191
- package/dist/databrowser.ui-T7CYFJ4E.js +0 -419
- package/dist/dictionary-INTI6FAG.js +0 -109
- package/dist/dnaMethylation-C3FBLWQB.js +0 -36
- package/dist/dnaMethylation.integration.spec-VVNUZBBX.js +0 -201
- package/dist/e2pca-HZOROAVL.js +0 -348
- package/dist/ep-NFVLYFPZ.js +0 -1254
- package/dist/expclust.gdc.spec-JAJJ6CET.js +0 -305
- package/dist/facet-TSWE5JDV.js +0 -519
- package/dist/gb-LHSABYXO.js +0 -93
- package/dist/geneExpClustering-66S735EE.js +0 -247
- package/dist/geneExpression-4WEYCEZV.js +0 -312
- package/dist/geneExpression-IM6Z5LTY.js +0 -36
- package/dist/geneExpression.unit.spec-ZLQEQR7Q.js +0 -100
- package/dist/geneORA-FIZVXCWX.js +0 -276
- package/dist/geneVariant-DZBGTDCH.js +0 -37
- package/dist/geneVariant-UPU45VOI.js +0 -39
- package/dist/geneVariant.integration.spec-YB5IKH5W.js +0 -196
- package/dist/genefusion.ui-TUVA4P5Z.js +0 -306
- package/dist/geneset-ZMKTTFSC.js +0 -197
- package/dist/genomeBrowser.spec-FOI35XYW.js +0 -279
- package/dist/grin2-P2UO22D2.js +0 -1031
- package/dist/grin2-UI44QTJH.js +0 -1554
- package/dist/gsea-N5SCG3E6.js +0 -45
- package/dist/hierCluster-BP5PCDPC.js +0 -61
- package/dist/hierCluster-QWISWLUI.js +0 -57
- package/dist/hierCluster.config-FDX4Y3ZO.js +0 -38
- package/dist/hierCluster.integration.spec-WYILCAUB.js +0 -374
- package/dist/hierCluster.integration.spec-WYILCAUB.js.map +0 -7
- package/dist/hierCluster.interactivity-JUXO3332.js +0 -52
- package/dist/hierCluster.renderers-FI3N2XDZ.js +0 -21
- package/dist/imagePlot-SFH72544.js +0 -139
- package/dist/importPlot-67KZTZR6.js +0 -8
- package/dist/isoformExpression-PJQ5Z2WL.js +0 -38
- package/dist/isoformExpression.unit.spec-X55G6VZQ.js +0 -206
- package/dist/launch.adhoc-ZO5HCSMH.js +0 -40
- package/dist/leftlabel.sample-Y4LPXV3X.js +0 -257
- package/dist/legacyDataset-QRSNRVUA.js +0 -119
- package/dist/lollipop-DUAD2HN5.js +0 -166
- package/dist/maf-BLCYUOD6.js +0 -450
- package/dist/maftimeline-HWJLWEQ4.js +0 -591
- package/dist/matrix-FQ3J2TBL.js +0 -61
- package/dist/matrix-SPTIZ3UF.js +0 -56
- package/dist/matrix.cells-7BOE7C3Y.js +0 -28
- package/dist/matrix.cluster-43E3HCDL.js +0 -9
- package/dist/matrix.config-LU5LMDBS.js +0 -39
- package/dist/matrix.data-YTSSULKG.js +0 -25
- package/dist/matrix.dom-6QL3AJMW.js +0 -11
- package/dist/matrix.groups-NGJ276VG.js +0 -26
- package/dist/matrix.integration.spec-6XXGVAPI.js +0 -3070
- package/dist/matrix.interactivity-OXCQ3FCE.js +0 -40
- package/dist/matrix.layout-QBVYWCBC.js +0 -42
- package/dist/matrix.legend-AGTC5JPS.js +0 -22
- package/dist/matrix.renderers-PHH4HZTJ.js +0 -36
- package/dist/matrix.serieses-AXFWSUHX.js +0 -21
- package/dist/matrix.sort-6VF7VNFX.js +0 -27
- package/dist/matrix.sort.unit.spec-UV22BJDG.js +0 -470
- package/dist/matrix.sorterUi-UE7CBIUP.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-GMAT2FLL.js +0 -340
- package/dist/mavb-LE7BAFCL.js +0 -730
- package/dist/mds.fimo-3YYY245N.js +0 -516
- package/dist/mds.samplescatterplot-22ZB4TEO.js +0 -1548
- package/dist/mds.survivalplot-DTE3OUTW.js +0 -481
- package/dist/notify-CJGEVJGO.js +0 -234
- package/dist/oncomatrix-RRJWFDVF.js +0 -293
- package/dist/oncomatrix.spec-5VJ4C6VJ.js +0 -446
- package/dist/plot.2dvaf-6Z6SJ7FI.js +0 -375
- package/dist/plot.app-WOJDWDPZ.js +0 -39
- package/dist/plot.barplot-II27ZDWD.js +0 -100
- package/dist/plot.boxplot-UFQWYLTW.js +0 -150
- package/dist/plot.brainImaging-KZ3HFEP4.js +0 -51
- package/dist/plot.disco-LH6OHLKL.js +0 -101
- package/dist/plot.dzi-2D26EYQP.js +0 -33
- package/dist/plot.ssgq-AJNIOPA2.js +0 -137
- package/dist/plot.vaf2cov-VQKJSC3M.js +0 -257
- package/dist/plot.wsi-OZHY6PQR.js +0 -36
- package/dist/polar-DVTFSBRH.js +0 -184
- package/dist/polar2-2YDTT6IV.js +0 -226
- package/dist/profile.spec-KSZVGAE5.js +0 -78
- package/dist/profileBarchart-7OM2I6AI.js +0 -265
- package/dist/profileForms-C62KOXSL.js +0 -438
- package/dist/profilePlot-65PFUYRZ.js +0 -52
- package/dist/profileRadar-TD6M6FE2.js +0 -261
- package/dist/profileRadarFacility-CLWYZJSV.js +0 -261
- package/dist/proteinView-NRKT3C7H.js +0 -663
- package/dist/proteinView-NRKT3C7H.js.map +0 -7
- package/dist/proteomeAbundance-3UZIGZWO.js +0 -21
- package/dist/proteomeAbundance-6QXRHIJD.js +0 -63
- package/dist/qualitative-7XEX7QZP.js +0 -220
- package/dist/qualitative-MESSRM45.js +0 -41
- package/dist/regression-XIHVK4ZG.js +0 -54
- package/dist/regression.inputs-GI6FWC5D.js +0 -46
- package/dist/regression.inputs.term-FEK2O6DJ.js +0 -46
- package/dist/regression.inputs.values.table-GGD24KI5.js +0 -43
- package/dist/regression.integration.spec-KM7ZNOLR.js +0 -782
- package/dist/regression.results-CLTDKTFL.js +0 -38
- package/dist/regression.spec-O7BT7EZK.js +0 -706
- package/dist/report-QIQKKQC7.js +0 -220
- package/dist/sampleScatter.spec-YPOEQKHM.js +0 -200
- package/dist/sampleView-SHDNYDPJ.js +0 -46
- package/dist/samplelst-IKDCCQX3.js +0 -109
- package/dist/samplematrix-6GNNJCTO.js +0 -2196
- package/dist/sc-BHCYSYVH.js +0 -84
- package/dist/scatter-ORGQK7HR.js +0 -800
- package/dist/scatter.integration.spec-TWRTLYIN.js +0 -1194
- package/dist/scatter.integration.spec-TWRTLYIN.js.map +0 -7
- package/dist/selectGenomeWithTklst-CUOMKNIF.js +0 -132
- package/dist/singleCellCellType-6JAY4U2O.js +0 -36
- package/dist/singleCellCellType.unit.spec-4ATH3CHQ.js +0 -158
- package/dist/singleCellGeneExpression-CJS6IUYX.js +0 -36
- package/dist/singleCellGeneExpression.unit.spec-36E4SRKB.js +0 -151
- package/dist/singleCellPlot-FI6IDYGC.js +0 -51
- package/dist/singlecell-A6N6G7E5.js +0 -1570
- package/dist/singlecell-IMKGN5JV.js +0 -84
- package/dist/snp-EL6PPZPW.js +0 -36
- package/dist/snp.unit.spec-SECWXZH6.js +0 -174
- package/dist/snplocus-65MQZRFI.js +0 -206
- package/dist/spliceevent.a53ss.diagram-TST7ZXLO.js +0 -149
- package/dist/spliceevent.exonskip.diagram-LKZPWUIB.js +0 -275
- package/dist/spliceevent.noeventdiagram-DFITYWZC.js +0 -458
- package/dist/ssGSEA-AVDDOL5T.js +0 -36
- package/dist/ssGSEA.unit.spec-OPGA35IG.js +0 -86
- package/dist/summarizeCnvGeneexp-BWT4VWD7.js +0 -161
- package/dist/summarizeGeneexpSurvival-Q2SG2GHX.js +0 -106
- package/dist/summarizeMutationCnv-4CHIHM75.js +0 -162
- package/dist/summarizeMutationDiagnosis-74XKVVPZ.js +0 -38
- package/dist/summarizeMutationSurvival-EZ5DIYNE.js +0 -97
- package/dist/summary-ZS354SRJ.js +0 -47
- package/dist/summary.integration.spec-ULSBOTVJ.js +0 -412
- package/dist/summaryInput-WF4EWMAW.js +0 -233
- package/dist/sunburst-GU3NCPCJ.js +0 -282
- package/dist/survival-642RIFRE.js +0 -44
- package/dist/survival-OVTHCWLW.js +0 -56
- package/dist/survival.integration.spec-GVQHKZJI.js +0 -800
- package/dist/svgraph-HBHUQ4AX.js +0 -1385
- package/dist/svmr-FYNIJ7JC.js +0 -3840
- package/dist/table-3ME3S634.js +0 -198
- package/dist/termCollection-UAVQQZZ4.js +0 -177
- package/dist/termCollection-UGN3OJFW.js +0 -36
- package/dist/termCollection.unit.spec-5IEDREFJ.js +0 -206
- package/dist/tk-K2F7FHHG.js +0 -44
- package/dist/tp.ui-3YNDBTSW.js +0 -1457
- package/dist/tvs.density-AQ5GD437.js +0 -18
- package/dist/tvs.dt-4KUWV64G.js +0 -37
- package/dist/tvs.dtcnv.categorical-JTQT3H3F.js +0 -38
- package/dist/tvs.dtcnv.continuous-Z67YBYLM.js +0 -70
- package/dist/tvs.dtfusion-VSHNVYPD.js +0 -38
- package/dist/tvs.dtsnvindel-5EUPENLI.js +0 -38
- package/dist/tvs.dtsv-NYUF3ACM.js +0 -38
- package/dist/tvs.numeric-ZN2R7BH3.js +0 -21
- package/dist/tvs.samplelst-52YSDBZH.js +0 -102
- package/dist/tvs.termCollection-O3B3MABA.js +0 -157
- package/dist/violin-TA7L6VWE.js +0 -44
- package/dist/violin.integration.spec-NSAFRNSC.js +0 -1423
- package/dist/violin.integration.spec-NSAFRNSC.js.map +0 -7
- package/dist/violin.interactivity-G6TNI6ZJ.js +0 -36
- package/dist/violin.renderer-J4ICXAI3.js +0 -38
- package/dist/vocabulary-GZTQJUCP.js +0 -39
- /package/dist/{2dmaf-RWFDP5I4.js.map → 2dmaf-X7LATQT7.js.map} +0 -0
- /package/dist/{AIProjectAdmin-NJ3P2NQU.js.map → AIProjectAdmin-GUBKURGO.js.map} +0 -0
- /package/dist/{AppHeader-5KCPR7SA.js.map → AppHeader-RDOFP322.js.map} +0 -0
- /package/dist/{BoxPlot-DZ3ZWEW5.js.map → BoxPlot-AZF2EMGQ.js.map} +0 -0
- /package/dist/{CorrelationVolcano-V33RYSUZ.js.map → CorrelationVolcano-VXW35SXU.js.map} +0 -0
- /package/dist/{DE-5KHGE5V4.js.map → DE-NLGMZ44O.js.map} +0 -0
- /package/dist/{DEinput-X2ZMSFS2.js.map → DEinput-OJ7P4UMP.js.map} +0 -0
- /package/dist/{Disco-7W3PKSOG.js.map → Disco-DX4S44SI.js.map} +0 -0
- /package/dist/{Disco.UI-RX3ERCPR.js.map → Disco.UI-5FYIACCU.js.map} +0 -0
- /package/dist/{DmrPlot-2K5VRZ7V.js.map → DmrPlot-HWYITHK2.js.map} +0 -0
- /package/dist/{GB-YUUNR7N7.js.map → GB-DBTMRVYH.js.map} +0 -0
- /package/dist/{HicApp-HINHH2DY.js.map → HicApp-XPZVZXB7.js.map} +0 -0
- /package/dist/{NumBinaryEditor-SEHOR46J.js.map → NumBinaryEditor-M6MJYIHK.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-VQDE54BT.js.map → NumBinaryEditor.unit.spec-W6MMYDAW.js.map} +0 -0
- /package/dist/{NumContEditor-H5SVEBR2.js.map → NumContEditor-YRVENTS5.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-V24LQZRT.js.map → NumContEditor.unit.spec-A6OH4TI7.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-Z5MG3NPH.js.map → NumCustomBinEditor-BLBOYSCQ.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-KDM5KUVI.js.map → NumCustomBinEditor.unit.spec-55V5CKLB.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-H3RCSDHI.js.map → NumDiscreteEditor-DTRM6VL2.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-C7EUQBUW.js.map → NumDiscreteEditor.unit.spec-YMB6QRER.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-FJME4XN4.js.map → NumRegularBinEditor-XW4SVA7S.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-BEOATSFC.js.map → NumRegularBinEditor.unit.spec-VAHC3VOD.js.map} +0 -0
- /package/dist/{NumSplineEditor-BYN3ZL7B.js.map → NumSplineEditor-H22HTRFR.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-MYWSBKIJ.js.map → NumSplineEditor.unit.spec-4JUADXZR.js.map} +0 -0
- /package/dist/{NumericDensity-YIYYFZ4F.js.map → NumericDensity-ECSZCQRX.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-2XDJGWF3.js.map → NumericDensity.unit.spec-SXXCXM4X.js.map} +0 -0
- /package/dist/{NumericHandler-RFDW5QVQ.js.map → NumericHandler-CMBN3FZX.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-FNVY3AF5.js.map → NumericHandler.unit.spec-UYTJG2Z2.js.map} +0 -0
- /package/dist/{RunChart2-VEJQHFCT.js.map → RunChart2-MVFWLXZX.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-WHB5EXCB.js.map → WsiSamplesPlot-LN75PND3.js.map} +0 -0
- /package/dist/{adSandbox-B35FAZJ7.js.map → adSandbox-AJ7QUDOI.js.map} +0 -0
- /package/dist/{alphaGenome-EP27CAV2.js.map → alphaGenome-PVCRXAQK.js.map} +0 -0
- /package/dist/{app-QUDZ4CFB.js.map → app-DWYCAFRP.js.map} +0 -0
- /package/dist/{app-W3BN75D3.js.map → app-RENXV7VR.js.map} +0 -0
- /package/dist/{bam-ZN3L6BY5.js.map → bam-5G6IT6OX.js.map} +0 -0
- /package/dist/{barchart-TNLMNY43.js.map → barchart-MLCCU6SU.js.map} +0 -0
- /package/dist/{barchart.data-EYZ3W4BQ.js.map → barchart.data-MVVKPDLE.js.map} +0 -0
- /package/dist/{barchart.events-CQ6AYMKE.js.map → barchart.events-B6HQTLK2.js.map} +0 -0
- /package/dist/{barchart.integration.spec-WEVE3VOB.js.map → barchart.integration.spec-S43A7C7N.js.map} +0 -0
- /package/dist/{bars.renderer-S7A7I6BQ.js.map → bars.renderer-JHCZDSM6.js.map} +0 -0
- /package/dist/{block-2O7NOZN4.js.map → block-IGBB4BJH.js.map} +0 -0
- /package/dist/{block.init-EODYNLUI.js.map → block.init-NLCYAKV4.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-436I4RXC.js.map → block.mds.expressionrank-TZWGRDY7.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-DDSL6AIO.js.map → block.mds.geneboxplot-OAFROYDL.js.map} +0 -0
- /package/dist/{block.mds.junction-N2WB6JRM.js.map → block.mds.junction-NSLXTW3D.js.map} +0 -0
- /package/dist/{block.mds.svcnv-Y77HHZ34.js.map → block.mds.svcnv-ICPG4BW6.js.map} +0 -0
- /package/dist/{block.svg-A2XQKNMW.js.map → block.svg-DTFVIAAC.js.map} +0 -0
- /package/dist/{block.tk.aicheck-LICGBXMN.js.map → block.tk.aicheck-ZIMIBWHA.js.map} +0 -0
- /package/dist/{block.tk.ase-QDQZYSOB.js.map → block.tk.ase-I7UNK5BK.js.map} +0 -0
- /package/dist/{block.tk.bam-JHKAW4OL.js.map → block.tk.bam-W7JG46RS.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-XTYREEZW.js.map → block.tk.bedgraphdot-XAQJPKGJ.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-3GBKZKY2.js.map → block.tk.bigwig.ui-YQOJPJSG.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-NUZH6KF3.js.map → block.tk.hicstraw-OWWGGCHU.js.map} +0 -0
- /package/dist/{block.tk.junction-CFJELBHC.js.map → block.tk.junction-V63ZQQX6.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-MZ2BQXQ5.js.map → block.tk.junction.textmatrixui-B7KXX7WN.js.map} +0 -0
- /package/dist/{block.tk.ld-7ZJRJFXY.js.map → block.tk.ld-2J6CT74S.js.map} +0 -0
- /package/dist/{block.tk.menu-GC2DOKSC.js.map → block.tk.menu-6AQLG7PW.js.map} +0 -0
- /package/dist/{block.tk.pgv-TRQPJAZB.js.map → block.tk.pgv-4V6PKVCQ.js.map} +0 -0
- /package/dist/{brainImaging-A7KXLJ7H.js.map → brainImaging-WRBGYLHK.js.map} +0 -0
- /package/dist/{chunk-CJLWB4HZ.js.map → chunk-23VG37CB.js.map} +0 -0
- /package/dist/{chunk-UWX7W22M.js.map → chunk-2O6JF76T.js.map} +0 -0
- /package/dist/{chunk-S7NLVFLS.js.map → chunk-3AK6GP4M.js.map} +0 -0
- /package/dist/{chunk-JKDUB36U.js.map → chunk-3JAC5CHL.js.map} +0 -0
- /package/dist/{chunk-57GCRPC4.js.map → chunk-3T2PCWII.js.map} +0 -0
- /package/dist/{chunk-QJ5J64KI.js.map → chunk-4BTAI6HQ.js.map} +0 -0
- /package/dist/{chunk-M3EBH2WK.js.map → chunk-4KSU6NBP.js.map} +0 -0
- /package/dist/{chunk-CUSG5PZE.js.map → chunk-5EBRF6Z7.js.map} +0 -0
- /package/dist/{chunk-A46S4C2T.js.map → chunk-5MW5VMWD.js.map} +0 -0
- /package/dist/{chunk-SCC44SJK.js.map → chunk-5SMOOFRW.js.map} +0 -0
- /package/dist/{chunk-UIHDDLI6.js.map → chunk-5ZBEDKBD.js.map} +0 -0
- /package/dist/{chunk-B3O2PC4B.js.map → chunk-65YTZS3R.js.map} +0 -0
- /package/dist/{chunk-KBDY6GE3.js.map → chunk-6NMH6WPB.js.map} +0 -0
- /package/dist/{chunk-UDASC4UW.js.map → chunk-73ZT6NAT.js.map} +0 -0
- /package/dist/{chunk-OTCYJP7G.js.map → chunk-7UHUOC6F.js.map} +0 -0
- /package/dist/{chunk-J77Y3KAI.js.map → chunk-AFXYPMFZ.js.map} +0 -0
- /package/dist/{chunk-54ACDCRS.js.map → chunk-ANGDY7VC.js.map} +0 -0
- /package/dist/{chunk-DONWY7TP.js.map → chunk-AQ4OP4GR.js.map} +0 -0
- /package/dist/{chunk-EHYHXP42.js.map → chunk-BL4ALBZ7.js.map} +0 -0
- /package/dist/{chunk-5MHACDQU.js.map → chunk-BRCDZJBQ.js.map} +0 -0
- /package/dist/{chunk-A5TSPTYC.js.map → chunk-DDKS3MV3.js.map} +0 -0
- /package/dist/{chunk-ODEZHSWS.js.map → chunk-EBGX226R.js.map} +0 -0
- /package/dist/{chunk-KQKC2KYW.js.map → chunk-EHXI36HJ.js.map} +0 -0
- /package/dist/{chunk-ZZZMLJLP.js.map → chunk-ENP4FLOX.js.map} +0 -0
- /package/dist/{chunk-I45NHOFY.js.map → chunk-FDOSJKDA.js.map} +0 -0
- /package/dist/{chunk-HYZG6OPC.js.map → chunk-G6O3URDN.js.map} +0 -0
- /package/dist/{chunk-IE56TWZS.js.map → chunk-HP2BASCY.js.map} +0 -0
- /package/dist/{chunk-T5CFDKE7.js.map → chunk-HROKXT4K.js.map} +0 -0
- /package/dist/{chunk-VYIO7T6J.js.map → chunk-HUBO743S.js.map} +0 -0
- /package/dist/{chunk-A6TQGNDQ.js.map → chunk-HYOEWQ5P.js.map} +0 -0
- /package/dist/{chunk-AU23U4BS.js.map → chunk-IA7S4UL5.js.map} +0 -0
- /package/dist/{chunk-UFDQ2R2Q.js.map → chunk-IABWKPRK.js.map} +0 -0
- /package/dist/{chunk-TE3DK3A6.js.map → chunk-ICBNFAW4.js.map} +0 -0
- /package/dist/{chunk-YDF73E2J.js.map → chunk-JFIOYO3M.js.map} +0 -0
- /package/dist/{chunk-762BT2DY.js.map → chunk-JMJW3ERE.js.map} +0 -0
- /package/dist/{chunk-5UG7ZKPU.js.map → chunk-K5XPMCKP.js.map} +0 -0
- /package/dist/{chunk-KLV7RCJM.js.map → chunk-K7XWZSQA.js.map} +0 -0
- /package/dist/{chunk-IH7ILDJS.js.map → chunk-KSGA62R2.js.map} +0 -0
- /package/dist/{chunk-AIZRXZG4.js.map → chunk-KSN3EVKI.js.map} +0 -0
- /package/dist/{chunk-SEEYV6P2.js.map → chunk-KYBIQBXE.js.map} +0 -0
- /package/dist/{chunk-GCXNR5FP.js.map → chunk-L5SOHZ5V.js.map} +0 -0
- /package/dist/{chunk-Q34VOEG6.js.map → chunk-LMGE54CQ.js.map} +0 -0
- /package/dist/{chunk-54FTA4PC.js.map → chunk-LOMVTHAM.js.map} +0 -0
- /package/dist/{chunk-GMDQIP3M.js.map → chunk-LSV4Z473.js.map} +0 -0
- /package/dist/{chunk-ZIAGMGMS.js.map → chunk-LY7GD74F.js.map} +0 -0
- /package/dist/{chunk-7N3Q25KC.js.map → chunk-MHCTLVGE.js.map} +0 -0
- /package/dist/{chunk-LJS24D4U.js.map → chunk-MVCGSYS2.js.map} +0 -0
- /package/dist/{chunk-2QGWWYYS.js.map → chunk-N2HBIQKU.js.map} +0 -0
- /package/dist/{chunk-HDTUZBHC.js.map → chunk-NL3DVEVX.js.map} +0 -0
- /package/dist/{chunk-TRXU2NWS.js.map → chunk-O4WJSZC3.js.map} +0 -0
- /package/dist/{chunk-UG4OP5YA.js.map → chunk-OVPVPPRG.js.map} +0 -0
- /package/dist/{chunk-W3SYT2EY.js.map → chunk-OYEISJSJ.js.map} +0 -0
- /package/dist/{chunk-6NAYFS4V.js.map → chunk-P2JDCMXW.js.map} +0 -0
- /package/dist/{chunk-BDDMS2FF.js.map → chunk-PMDXCESS.js.map} +0 -0
- /package/dist/{chunk-EWSI62JW.js.map → chunk-PXYYICV7.js.map} +0 -0
- /package/dist/{chunk-5ONLXNNE.js.map → chunk-PZ3KIUWJ.js.map} +0 -0
- /package/dist/{chunk-6Y4QZ4AY.js.map → chunk-QEWMCAJW.js.map} +0 -0
- /package/dist/{chunk-2VNTM6TR.js.map → chunk-QLWDUZ5K.js.map} +0 -0
- /package/dist/{chunk-YA73ETIT.js.map → chunk-ROLVOPVR.js.map} +0 -0
- /package/dist/{chunk-FGMPKWT5.js.map → chunk-RTS7NVCS.js.map} +0 -0
- /package/dist/{chunk-LXQ6DLAR.js.map → chunk-ST644IDH.js.map} +0 -0
- /package/dist/{chunk-BSLJVK4K.js.map → chunk-UOOMFM7K.js.map} +0 -0
- /package/dist/{chunk-KZFOWI7N.js.map → chunk-UVPAZM3G.js.map} +0 -0
- /package/dist/{chunk-JOT4WDJE.js.map → chunk-UWYCEYML.js.map} +0 -0
- /package/dist/{chunk-D6JMBLDW.js.map → chunk-VGHSLILD.js.map} +0 -0
- /package/dist/{chunk-MFLKXGQC.js.map → chunk-W35IOI74.js.map} +0 -0
- /package/dist/{chunk-YK5NFMHR.js.map → chunk-WQ3U6X4Q.js.map} +0 -0
- /package/dist/{chunk-F6V4AYWP.js.map → chunk-X4NI4JLQ.js.map} +0 -0
- /package/dist/{chunk-QPYRMBI5.js.map → chunk-XKF4KMCB.js.map} +0 -0
- /package/dist/{chunk-VEXSAWKT.js.map → chunk-YQVEBFGT.js.map} +0 -0
- /package/dist/{chunk-IBZGIOXS.js.map → chunk-ZT3PB4XX.js.map} +0 -0
- /package/dist/{chunk-MHTDDCB7.js.map → chunk-ZVSXHCGP.js.map} +0 -0
- /package/dist/{condition-UCLHJLCK.js.map → condition-CZX2GSN4.js.map} +0 -0
- /package/dist/{controls-IQGNIWUP.js.map → controls-BQR3WY5W.js.map} +0 -0
- /package/dist/{controls.btns-RSGATX6Y.js.map → controls.btns-3V7SNQT3.js.map} +0 -0
- /package/dist/{controls.config-QJ5AO7RR.js.map → controls.config-TAVZDHFZ.js.map} +0 -0
- /package/dist/{correlation-CRYKJGNT.js.map → correlation-BIWVZNC6.js.map} +0 -0
- /package/dist/{cuminc-LBSHAUJ4.js.map → cuminc-EDXOOI5R.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-M7F2IIB7.js.map → cuminc.integration.spec-UZA7BDTB.js.map} +0 -0
- /package/dist/{customdata.inputui-CJ6R7SEC.js.map → customdata.inputui-PEB4CE7J.js.map} +0 -0
- /package/dist/{dataDownload-4OHGMZMB.js.map → dataDownload-KANEHJXJ.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-CK25GOZY.js.map → dataDownload.integration.spec-23WLHSWJ.js.map} +0 -0
- /package/dist/{databrowser.ui-T7CYFJ4E.js.map → databrowser.ui-B2TNECC4.js.map} +0 -0
- /package/dist/{dictionary-INTI6FAG.js.map → dictionary-YOTUFVES.js.map} +0 -0
- /package/dist/{dnaMethylation-C3FBLWQB.js.map → dnaMethylation-TRFAZWRJ.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-VVNUZBBX.js.map → dnaMethylation.integration.spec-SPFZO76D.js.map} +0 -0
- /package/dist/{geneExpression-IM6Z5LTY.js.map → dofetch-MH4MRMGY.js.map} +0 -0
- /package/dist/{e2pca-HZOROAVL.js.map → e2pca-AFVAFUJ2.js.map} +0 -0
- /package/dist/{ep-NFVLYFPZ.js.map → ep-4FXTLWB4.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-JAJJ6CET.js.map → expclust.gdc.spec-SFOCKBLR.js.map} +0 -0
- /package/dist/{facet-TSWE5JDV.js.map → facet-SY6PYSTN.js.map} +0 -0
- /package/dist/{gb-LHSABYXO.js.map → gb-JUV63QCN.js.map} +0 -0
- /package/dist/{geneExpClustering-66S735EE.js.map → geneExpClustering-FOY77R7P.js.map} +0 -0
- /package/dist/{geneExpression-4WEYCEZV.js.map → geneExpression-AHKX57BT.js.map} +0 -0
- /package/dist/{geneVariant-DZBGTDCH.js.map → geneExpression-D2F2KVGY.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-ZLQEQR7Q.js.map → geneExpression.unit.spec-SR2BGZQL.js.map} +0 -0
- /package/dist/{geneORA-FIZVXCWX.js.map → geneORA-VJMYI4BT.js.map} +0 -0
- /package/dist/{geneVariant-UPU45VOI.js.map → geneVariant-LFM5SO2P.js.map} +0 -0
- /package/dist/{gsea-N5SCG3E6.js.map → geneVariant-OIKEV4JM.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-YB5IKH5W.js.map → geneVariant.integration.spec-T6BINPIN.js.map} +0 -0
- /package/dist/{genefusion.ui-TUVA4P5Z.js.map → genefusion.ui-NLMW5XMI.js.map} +0 -0
- /package/dist/{geneset-ZMKTTFSC.js.map → geneset-HKXFHM5K.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-FOI35XYW.js.map → genomeBrowser.spec-DRYIFJLY.js.map} +0 -0
- /package/dist/{grin2-P2UO22D2.js.map → grin2-GJKLNT4J.js.map} +0 -0
- /package/dist/{grin2-UI44QTJH.js.map → grin2-LGI535FF.js.map} +0 -0
- /package/dist/{hierCluster-BP5PCDPC.js.map → gsea-Z7DSDFOA.js.map} +0 -0
- /package/dist/{hierCluster-QWISWLUI.js.map → hierCluster-HC2B5XRR.js.map} +0 -0
- /package/dist/{hierCluster.config-FDX4Y3ZO.js.map → hierCluster-PLHVN5S3.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-JUXO3332.js.map → hierCluster.config-E3DIJWL5.js.map} +0 -0
- /package/dist/{hierCluster.renderers-FI3N2XDZ.js.map → hierCluster.interactivity-LRNPDTEH.js.map} +0 -0
- /package/dist/{importPlot-67KZTZR6.js.map → hierCluster.renderers-FWOV4Q47.js.map} +0 -0
- /package/dist/{imagePlot-SFH72544.js.map → imagePlot-GUXRGYQA.js.map} +0 -0
- /package/dist/{isoformExpression-PJQ5Z2WL.js.map → importPlot-M5HGLHRO.js.map} +0 -0
- /package/dist/{launch.adhoc-ZO5HCSMH.js.map → isoformExpression-PADLHHR5.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-X55G6VZQ.js.map → isoformExpression.unit.spec-5BPAL4OS.js.map} +0 -0
- /package/dist/{matrix-FQ3J2TBL.js.map → launch.adhoc-JH6ZZFDB.js.map} +0 -0
- /package/dist/{leftlabel.sample-Y4LPXV3X.js.map → leftlabel.sample-NS2TBANH.js.map} +0 -0
- /package/dist/{legacyDataset-QRSNRVUA.js.map → legacyDataset-PBCPC5I7.js.map} +0 -0
- /package/dist/{lollipop-DUAD2HN5.js.map → lollipop-W6NOHHCP.js.map} +0 -0
- /package/dist/{maf-BLCYUOD6.js.map → maf-NOHIKTUP.js.map} +0 -0
- /package/dist/{maftimeline-HWJLWEQ4.js.map → maftimeline-WGWE52EF.js.map} +0 -0
- /package/dist/{matrix-SPTIZ3UF.js.map → matrix-B6NPQFFF.js.map} +0 -0
- /package/dist/{matrix.cells-7BOE7C3Y.js.map → matrix-UAKRJL5A.js.map} +0 -0
- /package/dist/{matrix.cluster-43E3HCDL.js.map → matrix.cells-KEIOXJQ7.js.map} +0 -0
- /package/dist/{matrix.config-LU5LMDBS.js.map → matrix.cluster-NU5CYRUT.js.map} +0 -0
- /package/dist/{matrix.data-YTSSULKG.js.map → matrix.config-KJNJXPJJ.js.map} +0 -0
- /package/dist/{matrix.dom-6QL3AJMW.js.map → matrix.data-QGCGFLD7.js.map} +0 -0
- /package/dist/{matrix.groups-NGJ276VG.js.map → matrix.dom-KGXRCCKU.js.map} +0 -0
- /package/dist/{matrix.interactivity-OXCQ3FCE.js.map → matrix.groups-HBPLZ2QX.js.map} +0 -0
- /package/dist/{matrix.integration.spec-6XXGVAPI.js.map → matrix.integration.spec-VAXIR3E6.js.map} +0 -0
- /package/dist/{matrix.layout-QBVYWCBC.js.map → matrix.interactivity-H4MCMJXU.js.map} +0 -0
- /package/dist/{matrix.legend-AGTC5JPS.js.map → matrix.layout-RFKQJM5D.js.map} +0 -0
- /package/dist/{matrix.renderers-PHH4HZTJ.js.map → matrix.legend-UCL7HM26.js.map} +0 -0
- /package/dist/{matrix.serieses-AXFWSUHX.js.map → matrix.renderers-7JJIC6VC.js.map} +0 -0
- /package/dist/{matrix.sort-6VF7VNFX.js.map → matrix.serieses-S2TJ3E6P.js.map} +0 -0
- /package/dist/{matrix.sorterUi-UE7CBIUP.js.map → matrix.sort-CFA4UWBJ.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-UV22BJDG.js.map → matrix.sort.unit.spec-MQQVWWNT.js.map} +0 -0
- /package/dist/{plot.app-WOJDWDPZ.js.map → matrix.sorterUi-FT7K5664.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-GMAT2FLL.js.map → matrix.sorterUi.unit.spec-LG4TI7VF.js.map} +0 -0
- /package/dist/{mavb-LE7BAFCL.js.map → mavb-EIZHS6F4.js.map} +0 -0
- /package/dist/{mds.fimo-3YYY245N.js.map → mds.fimo-XVC6MI7W.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-22ZB4TEO.js.map → mds.samplescatterplot-PRR4TKYI.js.map} +0 -0
- /package/dist/{mds.survivalplot-DTE3OUTW.js.map → mds.survivalplot-3OG4Y2B6.js.map} +0 -0
- /package/dist/{notify-CJGEVJGO.js.map → notify-2ROOBENL.js.map} +0 -0
- /package/dist/{oncomatrix-RRJWFDVF.js.map → oncomatrix-SO6S6IIB.js.map} +0 -0
- /package/dist/{oncomatrix.spec-5VJ4C6VJ.js.map → oncomatrix.spec-VXTF44K5.js.map} +0 -0
- /package/dist/{plot.2dvaf-6Z6SJ7FI.js.map → plot.2dvaf-JW5OJJXV.js.map} +0 -0
- /package/dist/{profilePlot-65PFUYRZ.js.map → plot.app-T3GVCFQ3.js.map} +0 -0
- /package/dist/{plot.barplot-II27ZDWD.js.map → plot.barplot-2TYP6DPI.js.map} +0 -0
- /package/dist/{plot.boxplot-UFQWYLTW.js.map → plot.boxplot-HOQHM7JF.js.map} +0 -0
- /package/dist/{plot.brainImaging-KZ3HFEP4.js.map → plot.brainImaging-5AI7BSD4.js.map} +0 -0
- /package/dist/{plot.disco-LH6OHLKL.js.map → plot.disco-HNNZHK5Z.js.map} +0 -0
- /package/dist/{plot.dzi-2D26EYQP.js.map → plot.dzi-4OQSO7SY.js.map} +0 -0
- /package/dist/{plot.ssgq-AJNIOPA2.js.map → plot.ssgq-VZTTGECT.js.map} +0 -0
- /package/dist/{plot.vaf2cov-VQKJSC3M.js.map → plot.vaf2cov-ASEELRDV.js.map} +0 -0
- /package/dist/{plot.wsi-OZHY6PQR.js.map → plot.wsi-MDWYLU4R.js.map} +0 -0
- /package/dist/{polar-DVTFSBRH.js.map → polar-QSY6JG4P.js.map} +0 -0
- /package/dist/{polar2-2YDTT6IV.js.map → polar2-FD6656VD.js.map} +0 -0
- /package/dist/{profile.spec-KSZVGAE5.js.map → profile.spec-V7EQBXT2.js.map} +0 -0
- /package/dist/{profileBarchart-7OM2I6AI.js.map → profileBarchart-EIKHZAPD.js.map} +0 -0
- /package/dist/{profileForms-C62KOXSL.js.map → profileForms-NGFRXPFF.js.map} +0 -0
- /package/dist/{proteomeAbundance-3UZIGZWO.js.map → profilePlot-2UFKJ2OC.js.map} +0 -0
- /package/dist/{profileRadar-TD6M6FE2.js.map → profileRadar-B2R7OV5F.js.map} +0 -0
- /package/dist/{profileRadarFacility-CLWYZJSV.js.map → profileRadarFacility-ILC7POCI.js.map} +0 -0
- /package/dist/{proteomeAbundance-6QXRHIJD.js.map → proteomeAbundance-6J5YF4V2.js.map} +0 -0
- /package/dist/{qualitative-MESSRM45.js.map → proteomeAbundance-OF27N347.js.map} +0 -0
- /package/dist/{qualitative-7XEX7QZP.js.map → qualitative-2INAKDTJ.js.map} +0 -0
- /package/dist/{regression-XIHVK4ZG.js.map → qualitative-CSUO2WG5.js.map} +0 -0
- /package/dist/{regression.inputs-GI6FWC5D.js.map → regression-Y4NYGZSA.js.map} +0 -0
- /package/dist/{regression.inputs.term-FEK2O6DJ.js.map → regression.inputs-RWFIJLNF.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-GGD24KI5.js.map → regression.inputs.term-QIU5SHTN.js.map} +0 -0
- /package/dist/{regression.results-CLTDKTFL.js.map → regression.inputs.values.table-FM6QTSEV.js.map} +0 -0
- /package/dist/{regression.integration.spec-KM7ZNOLR.js.map → regression.integration.spec-YRKKU7HL.js.map} +0 -0
- /package/dist/{sampleView-SHDNYDPJ.js.map → regression.results-YUDCHUZJ.js.map} +0 -0
- /package/dist/{regression.spec-O7BT7EZK.js.map → regression.spec-G4GIIV32.js.map} +0 -0
- /package/dist/{report-QIQKKQC7.js.map → report-2N4FBR4Q.js.map} +0 -0
- /package/dist/{sampleScatter.spec-YPOEQKHM.js.map → sampleScatter.spec-UIUYO4WR.js.map} +0 -0
- /package/dist/{singleCellCellType-6JAY4U2O.js.map → sampleView-TOK5Y5KU.js.map} +0 -0
- /package/dist/{samplelst-IKDCCQX3.js.map → samplelst-YW5ZS3GJ.js.map} +0 -0
- /package/dist/{samplematrix-6GNNJCTO.js.map → samplematrix-447BHSO7.js.map} +0 -0
- /package/dist/{sc-BHCYSYVH.js.map → sc-O2PL3FL2.js.map} +0 -0
- /package/dist/{scatter-ORGQK7HR.js.map → scatter-4DXHOWVY.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-CUOMKNIF.js.map → selectGenomeWithTklst-3RLZFW62.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-CJS6IUYX.js.map → singleCellCellType-3LQJXS7H.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-4ATH3CHQ.js.map → singleCellCellType.unit.spec-UJM72SP4.js.map} +0 -0
- /package/dist/{singleCellPlot-FI6IDYGC.js.map → singleCellGeneExpression-JOWJWPIQ.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-36E4SRKB.js.map → singleCellGeneExpression.unit.spec-VY5CGRZH.js.map} +0 -0
- /package/dist/{snp-EL6PPZPW.js.map → singleCellPlot-IVLVKOO6.js.map} +0 -0
- /package/dist/{singlecell-A6N6G7E5.js.map → singlecell-VJJZJZF7.js.map} +0 -0
- /package/dist/{singlecell-IMKGN5JV.js.map → singlecell-VQJ2252L.js.map} +0 -0
- /package/dist/{ssGSEA-AVDDOL5T.js.map → snp-ALMKZKL2.js.map} +0 -0
- /package/dist/{snp.unit.spec-SECWXZH6.js.map → snp.unit.spec-GJQBAHGQ.js.map} +0 -0
- /package/dist/{snplocus-65MQZRFI.js.map → snplocus-WCNCMFWZ.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-TST7ZXLO.js.map → spliceevent.a53ss.diagram-4Q4JF4RX.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-LKZPWUIB.js.map → spliceevent.exonskip.diagram-IOYOKELT.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-DFITYWZC.js.map → spliceevent.noeventdiagram-77ZCOHSF.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-74XKVVPZ.js.map → ssGSEA-QTXXIN4K.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-OPGA35IG.js.map → ssGSEA.unit.spec-LQESATT3.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-BWT4VWD7.js.map → summarizeCnvGeneexp-YKUQGDQF.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-Q2SG2GHX.js.map → summarizeGeneexpSurvival-ARGG5VDC.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-4CHIHM75.js.map → summarizeMutationCnv-FMZYT3EC.js.map} +0 -0
- /package/dist/{summary-ZS354SRJ.js.map → summarizeMutationDiagnosis-ZX7I46SC.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-EZ5DIYNE.js.map → summarizeMutationSurvival-RCFMTT43.js.map} +0 -0
- /package/dist/{survival-642RIFRE.js.map → summary-QLL5YVI2.js.map} +0 -0
- /package/dist/{summary.integration.spec-ULSBOTVJ.js.map → summary.integration.spec-DHY6XCEJ.js.map} +0 -0
- /package/dist/{summaryInput-WF4EWMAW.js.map → summaryInput-ANCUQGIB.js.map} +0 -0
- /package/dist/{sunburst-GU3NCPCJ.js.map → sunburst-RDNFBOCK.js.map} +0 -0
- /package/dist/{termCollection-UGN3OJFW.js.map → survival-BG7QV52L.js.map} +0 -0
- /package/dist/{survival-OVTHCWLW.js.map → survival-WSN36OQE.js.map} +0 -0
- /package/dist/{survival.integration.spec-GVQHKZJI.js.map → survival.integration.spec-37KAJ5IK.js.map} +0 -0
- /package/dist/{svgraph-HBHUQ4AX.js.map → svgraph-A5WGHW4S.js.map} +0 -0
- /package/dist/{svmr-FYNIJ7JC.js.map → svmr-CYRHHWZF.js.map} +0 -0
- /package/dist/{table-3ME3S634.js.map → table-VHO7E5PI.js.map} +0 -0
- /package/dist/{termCollection-UAVQQZZ4.js.map → termCollection-E4Q6GLXN.js.map} +0 -0
- /package/dist/{tk-K2F7FHHG.js.map → termCollection-HSVSH7TJ.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-5IEDREFJ.js.map → termCollection.unit.spec-ZCE3TUMS.js.map} +0 -0
- /package/dist/{tvs.density-AQ5GD437.js.map → tk-GPRHDN4K.js.map} +0 -0
- /package/dist/{tp.ui-3YNDBTSW.js.map → tp.ui-LTUA3FSL.js.map} +0 -0
- /package/dist/{tvs.dt-4KUWV64G.js.map → tvs.density-BJK23JYJ.js.map} +0 -0
- /package/dist/{tvs.numeric-ZN2R7BH3.js.map → tvs.dt-G43PAAKD.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-JTQT3H3F.js.map → tvs.dtcnv.categorical-UHDS2TGZ.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-Z67YBYLM.js.map → tvs.dtcnv.continuous-ZNGYQKTD.js.map} +0 -0
- /package/dist/{tvs.dtfusion-VSHNVYPD.js.map → tvs.dtfusion-JBEEUDUS.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-5EUPENLI.js.map → tvs.dtsnvindel-XXN5Q7RN.js.map} +0 -0
- /package/dist/{tvs.dtsv-NYUF3ACM.js.map → tvs.dtsv-MO6L7HHV.js.map} +0 -0
- /package/dist/{violin-TA7L6VWE.js.map → tvs.numeric-MJZMNYRG.js.map} +0 -0
- /package/dist/{tvs.samplelst-52YSDBZH.js.map → tvs.samplelst-HKY6UUJM.js.map} +0 -0
- /package/dist/{tvs.termCollection-O3B3MABA.js.map → tvs.termCollection-TY6FPL25.js.map} +0 -0
- /package/dist/{violin.interactivity-G6TNI6ZJ.js.map → violin-YHE3WSGR.js.map} +0 -0
- /package/dist/{violin.renderer-J4ICXAI3.js.map → violin.interactivity-LVDTDEPQ.js.map} +0 -0
- /package/dist/{vocabulary-GZTQJUCP.js.map → violin.renderer-IIEIUGRI.js.map} +0 -0
|
@@ -0,0 +1,1939 @@
|
|
|
1
|
+
import {
|
|
2
|
+
matrix_layout_exports
|
|
3
|
+
} from "./chunk-PMDXCESS.js";
|
|
4
|
+
import {
|
|
5
|
+
matrix_serieses_exports
|
|
6
|
+
} from "./chunk-ANGDY7VC.js";
|
|
7
|
+
import {
|
|
8
|
+
matrix_legend_exports
|
|
9
|
+
} from "./chunk-6NMH6WPB.js";
|
|
10
|
+
import {
|
|
11
|
+
matrix_groups_exports
|
|
12
|
+
} from "./chunk-ROLVOPVR.js";
|
|
13
|
+
import {
|
|
14
|
+
setComputedConfig
|
|
15
|
+
} from "./chunk-OYEISJSJ.js";
|
|
16
|
+
import {
|
|
17
|
+
setMatrixDom
|
|
18
|
+
} from "./chunk-HUBO743S.js";
|
|
19
|
+
import {
|
|
20
|
+
setInteractivity
|
|
21
|
+
} from "./chunk-7HJ6H7AZ.js";
|
|
22
|
+
import {
|
|
23
|
+
setRenderers
|
|
24
|
+
} from "./chunk-VGHSLILD.js";
|
|
25
|
+
import {
|
|
26
|
+
MatrixCluster
|
|
27
|
+
} from "./chunk-DDKS3MV3.js";
|
|
28
|
+
import {
|
|
29
|
+
getSorterUi
|
|
30
|
+
} from "./chunk-LY7GD74F.js";
|
|
31
|
+
import {
|
|
32
|
+
matrix_data_exports
|
|
33
|
+
} from "./chunk-4KSU6NBP.js";
|
|
34
|
+
import {
|
|
35
|
+
GeneSetEditUI,
|
|
36
|
+
PlotBase,
|
|
37
|
+
TwRouter,
|
|
38
|
+
fillTermWrapper,
|
|
39
|
+
get$id,
|
|
40
|
+
getCombinedTermFilter,
|
|
41
|
+
getGEunit,
|
|
42
|
+
initByInput,
|
|
43
|
+
make_one_checkbox,
|
|
44
|
+
make_radios,
|
|
45
|
+
rebaseGroupFilter,
|
|
46
|
+
routedTermTypes,
|
|
47
|
+
sayerror,
|
|
48
|
+
svgLegend,
|
|
49
|
+
svgScroll,
|
|
50
|
+
to_svg,
|
|
51
|
+
zoom
|
|
52
|
+
} from "./chunk-YWUVCXFS.js";
|
|
53
|
+
import {
|
|
54
|
+
Menu
|
|
55
|
+
} from "./chunk-HYOEWQ5P.js";
|
|
56
|
+
import {
|
|
57
|
+
icons
|
|
58
|
+
} from "./chunk-KWM6B3NL.js";
|
|
59
|
+
import {
|
|
60
|
+
copyMerge,
|
|
61
|
+
deepEqual,
|
|
62
|
+
getCompInit
|
|
63
|
+
} from "./chunk-MVTCBVSX.js";
|
|
64
|
+
import {
|
|
65
|
+
TermTypes,
|
|
66
|
+
isNumericTerm
|
|
67
|
+
} from "./chunk-EGWVYY7K.js";
|
|
68
|
+
import {
|
|
69
|
+
dt2label,
|
|
70
|
+
dtcnv,
|
|
71
|
+
dtfusionrna,
|
|
72
|
+
dtsnvindel,
|
|
73
|
+
dtsv,
|
|
74
|
+
mclass,
|
|
75
|
+
morigin
|
|
76
|
+
} from "./chunk-AMYSEKPF.js";
|
|
77
|
+
import {
|
|
78
|
+
convertUnits
|
|
79
|
+
} from "./chunk-TV74I3Y5.js";
|
|
80
|
+
import {
|
|
81
|
+
select_default
|
|
82
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
83
|
+
|
|
84
|
+
// plots/matrix/matrix.controls.samples.ts
|
|
85
|
+
function setSamplesBtn(self2, s) {
|
|
86
|
+
const l = s.controlLabels;
|
|
87
|
+
const controls = self2;
|
|
88
|
+
const parent = self2.parent;
|
|
89
|
+
const rows = [
|
|
90
|
+
{
|
|
91
|
+
label: `Maximum # ${l.Samples}`,
|
|
92
|
+
title: `Limit the number of displayed ${l.samples}`,
|
|
93
|
+
type: "number",
|
|
94
|
+
chartType: "matrix",
|
|
95
|
+
settingsKey: "maxSample",
|
|
96
|
+
getDisplayStyle(plot) {
|
|
97
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
label: `Sort ${l.Sample} Groups`,
|
|
102
|
+
title: `Set how to sort ${l.sample} groups`,
|
|
103
|
+
type: "radio",
|
|
104
|
+
chartType: "matrix",
|
|
105
|
+
settingsKey: "sortSampleGrpsBy",
|
|
106
|
+
options: [
|
|
107
|
+
{
|
|
108
|
+
label: "Predefined or Group Name",
|
|
109
|
+
value: "name",
|
|
110
|
+
title: `Sort by group name`
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
label: `${l.Sample} Count`,
|
|
114
|
+
value: "sampleCount",
|
|
115
|
+
title: `Sort by the number of samples in the group`
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
label: `Hits`,
|
|
119
|
+
value: "hits",
|
|
120
|
+
title: `Sort by the total number of variants for every ${l.sample} in the group`
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
getDisplayStyle(plot) {
|
|
124
|
+
return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
label: `${l.Sample} Group Label Character Limit`,
|
|
129
|
+
title: `Truncate the ${l.sample} group label if it exceeds this maximum number of characters`,
|
|
130
|
+
type: "number",
|
|
131
|
+
chartType: "matrix",
|
|
132
|
+
settingsKey: "sampleGrpLabelMaxChars",
|
|
133
|
+
getDisplayStyle(plot) {
|
|
134
|
+
return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
label: `${l.Sample} Label Character Limit`,
|
|
139
|
+
title: `Truncate the ${l.sample} label if it exceeds this maximum number of characters`,
|
|
140
|
+
type: "number",
|
|
141
|
+
chartType: "matrix",
|
|
142
|
+
settingsKey: "collabelmaxchars"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
label: `Toggle sample labels`,
|
|
146
|
+
title: `Do not automatically show sample labels based on column width`,
|
|
147
|
+
type: "radio",
|
|
148
|
+
chartType: "matrix",
|
|
149
|
+
settingsKey: "sampleLabelsToggle",
|
|
150
|
+
styles: { display: "inline-block" },
|
|
151
|
+
options: [
|
|
152
|
+
{ label: `Based on column width`, value: "auto" },
|
|
153
|
+
{ label: "Always hide", value: "hide" }
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
label: `Group ${l.Samples} By`,
|
|
158
|
+
title: `Select a variable with discrete values to group ${l.samples}`,
|
|
159
|
+
type: "term",
|
|
160
|
+
chartType: "matrix",
|
|
161
|
+
configKey: "divideBy",
|
|
162
|
+
vocabApi: self2.opts.app.vocabApi,
|
|
163
|
+
state: {
|
|
164
|
+
vocab: self2.opts.vocab
|
|
165
|
+
//activeCohort: appState.activeCohort
|
|
166
|
+
},
|
|
167
|
+
processInput: async (tw) => {
|
|
168
|
+
if (tw?.term && isNumericTerm(tw.term)) {
|
|
169
|
+
tw.q = { ...tw.q, mode: "discrete" };
|
|
170
|
+
}
|
|
171
|
+
if (tw) await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
172
|
+
return tw;
|
|
173
|
+
},
|
|
174
|
+
processConfig: (config) => {
|
|
175
|
+
if (self2.parent.chartType == "hierCluster" && config["divideBy"]) {
|
|
176
|
+
config.settings = {
|
|
177
|
+
hierCluster: {
|
|
178
|
+
yDendrogramHeight: 0,
|
|
179
|
+
clusterSamples: false
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
if (self2.parent.config.divideBy)
|
|
184
|
+
config.legendValueFilter = self2.parent.mayRemoveTvsEntry(self2.parent.config.divideBy);
|
|
185
|
+
},
|
|
186
|
+
getBodyParams: () => {
|
|
187
|
+
const currentGeneNames = self2.parent.termOrder.filter((t) => t.tw.term.type === "geneVariant").map(
|
|
188
|
+
(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
|
|
189
|
+
);
|
|
190
|
+
if (currentGeneNames.length) return { currentGeneNames };
|
|
191
|
+
return {};
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
];
|
|
195
|
+
rows.push({
|
|
196
|
+
label: `Sort ${l.Sample} Priority`,
|
|
197
|
+
title: `Set how to sort ${l.samples}`,
|
|
198
|
+
type: "custom",
|
|
199
|
+
// the "input" argument is created by controls
|
|
200
|
+
init(input) {
|
|
201
|
+
const m = parent.config.settings.matrix;
|
|
202
|
+
if (!controls.activeTab) controls.activeTab = "basic";
|
|
203
|
+
input.dom.inputTd.style("padding", "5px");
|
|
204
|
+
const btnsDiv = input.dom.inputTd.append("div").style("margin-bottom", "5px");
|
|
205
|
+
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", () => {
|
|
206
|
+
controls.activeTab = "basic";
|
|
207
|
+
basicBtn.style("text-decoration", "underline");
|
|
208
|
+
advancedBtn.style("text-decoration", "");
|
|
209
|
+
basicDiv.style("display", "");
|
|
210
|
+
advancedDiv.style("display", "none");
|
|
211
|
+
});
|
|
212
|
+
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", () => {
|
|
213
|
+
controls.activeTab = "advanced";
|
|
214
|
+
basicBtn.style("text-decoration", "");
|
|
215
|
+
advancedBtn.style("text-decoration", "underline");
|
|
216
|
+
basicDiv.style("display", "none");
|
|
217
|
+
advancedDiv.style("display", "");
|
|
218
|
+
});
|
|
219
|
+
const basicDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "basic" ? "" : "none");
|
|
220
|
+
const ssmDiv = basicDiv.append("div");
|
|
221
|
+
ssmDiv.append("span").html("SSM");
|
|
222
|
+
const { inputs } = make_radios({
|
|
223
|
+
// holder, options, callback, styles
|
|
224
|
+
holder: ssmDiv.append("span"),
|
|
225
|
+
options: [
|
|
226
|
+
{ label: "by consequence", value: "consequence", checked: m.sortByMutation === "consequence" },
|
|
227
|
+
{ label: "by presence", value: "presence", checked: m.sortByMutation === "presence" }
|
|
228
|
+
],
|
|
229
|
+
styles: {
|
|
230
|
+
display: "inline-block"
|
|
231
|
+
},
|
|
232
|
+
callback: (sortByMutation) => {
|
|
233
|
+
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
234
|
+
const activeOption = sortOptions.a;
|
|
235
|
+
const mutTb = activeOption.sortPriority[0].tiebreakers[1];
|
|
236
|
+
mutTb.disabled = !sortByMutation;
|
|
237
|
+
mutTb.isOrdered = sortByMutation === "consequence";
|
|
238
|
+
parent.app.dispatch({
|
|
239
|
+
type: "plot_edit",
|
|
240
|
+
id: parent.id,
|
|
241
|
+
config: {
|
|
242
|
+
settings: {
|
|
243
|
+
matrix: {
|
|
244
|
+
sortByMutation,
|
|
245
|
+
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
246
|
+
sortOptions
|
|
247
|
+
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
inputs.style("margin", "2px 0 0 2px").style("vertical-align", "top");
|
|
255
|
+
const cnvDiv = basicDiv.append("div").style("display", m.showMatrixCNV != "none" && !m.allMatrixCNVHidden ? "block" : "none");
|
|
256
|
+
cnvDiv.append("span").html("CNV");
|
|
257
|
+
const checkbox = make_one_checkbox({
|
|
258
|
+
holder: cnvDiv.append("span"),
|
|
259
|
+
divstyle: { display: "inline-block" },
|
|
260
|
+
checked: m.sortByCNV,
|
|
261
|
+
labeltext: "sort by CNV",
|
|
262
|
+
callback: () => {
|
|
263
|
+
const sortByCNV = checkbox.property("checked");
|
|
264
|
+
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
265
|
+
const activeOption = sortOptions.a;
|
|
266
|
+
const cnvTb = activeOption.sortPriority[0].tiebreakers[2];
|
|
267
|
+
cnvTb.disabled = !sortByCNV;
|
|
268
|
+
cnvTb.isOrdered = sortByCNV;
|
|
269
|
+
parent.app.dispatch({
|
|
270
|
+
type: "plot_edit",
|
|
271
|
+
id: parent.id,
|
|
272
|
+
config: {
|
|
273
|
+
settings: {
|
|
274
|
+
matrix: {
|
|
275
|
+
sortByCNV,
|
|
276
|
+
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
277
|
+
sortOptions
|
|
278
|
+
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
const advancedDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "advanced" ? "" : "none");
|
|
286
|
+
input.dom.row.on("mouseover", function() {
|
|
287
|
+
this.style.backgroundColor = "#fff";
|
|
288
|
+
this.style.textShadow = "none";
|
|
289
|
+
});
|
|
290
|
+
if (!controls.sorterUi) {
|
|
291
|
+
controls.sorterUi = getSorterUi({
|
|
292
|
+
controls,
|
|
293
|
+
holder: advancedDiv,
|
|
294
|
+
tip: controls.parent.app.tip
|
|
295
|
+
});
|
|
296
|
+
} else {
|
|
297
|
+
controls.sorterUi.main(controls.parent.config.settings.matrix, { holder: advancedDiv });
|
|
298
|
+
}
|
|
299
|
+
return {
|
|
300
|
+
main: (plot) => {
|
|
301
|
+
const s2 = plot.settings.matrix;
|
|
302
|
+
inputs.property("checked", (d) => d.value == s2.sortByMutation);
|
|
303
|
+
checkbox.property("checked", s2.sortByCNV);
|
|
304
|
+
cnvDiv.style("display", s2.showMatrixCNV != "none" && !s2.allMatrixCNVHidden ? "block" : "none");
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
self2.opts.holder.append("button").datum({
|
|
310
|
+
label: l.Samples || `Samples`,
|
|
311
|
+
getCount: () => "sampleCount" in self2.overrides ? self2.overrides.sampleCount : self2.parent.sampleOrder?.length || 0,
|
|
312
|
+
rows,
|
|
313
|
+
customInputs: updateSamplesControls
|
|
314
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
315
|
+
}
|
|
316
|
+
function updateSamplesControls(self2, app, parent, table) {
|
|
317
|
+
if (parent.chartType == "hierCluster" && parent.config.settings.hierCluster.clusterSamples) {
|
|
318
|
+
const l = parent.config.settings.matrix.controlLabels;
|
|
319
|
+
const sortingControl = select_default(
|
|
320
|
+
table.selectAll("td").filter(function() {
|
|
321
|
+
return select_default(this).text() == `Sort ${l.Sample} Priority`;
|
|
322
|
+
}).node().closest("tr")
|
|
323
|
+
);
|
|
324
|
+
sortingControl.style("display", "none");
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
// plots/matrix/matrix.controls.genes.ts
|
|
329
|
+
var tip = new Menu({ padding: "" });
|
|
330
|
+
function setGenesBtn(self2, s) {
|
|
331
|
+
const l = s.controlLabels;
|
|
332
|
+
const renderStyleOptions = [
|
|
333
|
+
{
|
|
334
|
+
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>`,
|
|
335
|
+
value: "",
|
|
336
|
+
title: `Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
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>`,
|
|
340
|
+
value: "oncoprint",
|
|
341
|
+
title: `Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
342
|
+
}
|
|
343
|
+
];
|
|
344
|
+
if (s.addMutationCNVButtons && self2.parent.chartType !== "hierCluster")
|
|
345
|
+
renderStyleOptions.unshift({
|
|
346
|
+
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>`,
|
|
347
|
+
value: "single",
|
|
348
|
+
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`
|
|
349
|
+
});
|
|
350
|
+
self2.opts.holder.append("button").datum({
|
|
351
|
+
label: "Genes",
|
|
352
|
+
getCount: () => self2.parent.termOrder?.filter(
|
|
353
|
+
(t) => t.tw.term.type == TermTypes.GENE_VARIANT || t.tw.term.type == TermTypes.GENE_EXPRESSION
|
|
354
|
+
).length || 0,
|
|
355
|
+
customInputs: addGeneInputs,
|
|
356
|
+
rows: [
|
|
357
|
+
{
|
|
358
|
+
label: `Display ${l.Sample} Counts for Gene`,
|
|
359
|
+
title: `Include the ${l.sample} count in the gene label`,
|
|
360
|
+
type: "radio",
|
|
361
|
+
chartType: "matrix",
|
|
362
|
+
settingsKey: "samplecount4gene",
|
|
363
|
+
styles: { display: "inline-block" },
|
|
364
|
+
options: [
|
|
365
|
+
{ label: "Absolute", value: "abs" },
|
|
366
|
+
{ label: `Percent`, value: "pct" },
|
|
367
|
+
{ label: `None`, value: "" }
|
|
368
|
+
],
|
|
369
|
+
getDisplayStyle() {
|
|
370
|
+
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
// TODO: implement this contol option
|
|
374
|
+
// {
|
|
375
|
+
// label: `Exclude From ${l.Sample} Displayed Counts`,
|
|
376
|
+
// title: `Do not include these variations/mutations when counting samples for a gene.`,
|
|
377
|
+
// type: 'text',
|
|
378
|
+
// chartType: 'matrix',
|
|
379
|
+
// settingsKey: 'geneVariantCountSamplesSkipMclass',
|
|
380
|
+
// processInput: tw => {},
|
|
381
|
+
// },
|
|
382
|
+
{
|
|
383
|
+
label: "Genomic Alterations Rendering",
|
|
384
|
+
title: `Set how to indicate a ${l.sample}'s applicable variant types in the same matrix cell`,
|
|
385
|
+
type: "radio",
|
|
386
|
+
chartType: "matrix",
|
|
387
|
+
settingsKey: "cellEncoding",
|
|
388
|
+
options: renderStyleOptions,
|
|
389
|
+
styles: { padding: "5px 0px", margin: 0 },
|
|
390
|
+
labelDisplay: "block",
|
|
391
|
+
getDisplayStyle() {
|
|
392
|
+
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
393
|
+
},
|
|
394
|
+
callback: self2.parent.geneStyleControlCallback
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
label: "Sort Genes",
|
|
398
|
+
title: "Set how to order the genes as rows",
|
|
399
|
+
type: "radio",
|
|
400
|
+
chartType: "matrix",
|
|
401
|
+
settingsKey: "sortTermsBy",
|
|
402
|
+
options: [
|
|
403
|
+
{ label: "By Input Data Order", value: "asListed" },
|
|
404
|
+
{ label: `By ${l.sample} Count`, value: "sampleCount" }
|
|
405
|
+
],
|
|
406
|
+
styles: { padding: 0, "padding-right": "10px", margin: 0, display: "inline-block" },
|
|
407
|
+
getDisplayStyle() {
|
|
408
|
+
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
413
|
+
}
|
|
414
|
+
async function addGeneInputs(self2, app, parent, table) {
|
|
415
|
+
if (parent.chartType == "hierCluster" && parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
416
|
+
appendGeneInputs(self2, app, parent, table, "hierCluster");
|
|
417
|
+
}
|
|
418
|
+
if (parent.state?.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || parent.state.termdbConfig.queries.snvindel)
|
|
419
|
+
appendGeneInputs(self2, app, parent, table);
|
|
420
|
+
}
|
|
421
|
+
async function appendGeneInputs(self2, app, parent, table, geneInputType) {
|
|
422
|
+
tip.clear();
|
|
423
|
+
if (!parent.selectedGroup) parent.selectedGroup = 0;
|
|
424
|
+
if (parent.opts.customInputs?.genes) {
|
|
425
|
+
for (const inputConfig of parent.opts.customInputs.genes) {
|
|
426
|
+
inputConfig.chartType = "matrix";
|
|
427
|
+
const holder = table.append("tr");
|
|
428
|
+
if (inputConfig.title) holder.attr("aria-label", inputConfig.title);
|
|
429
|
+
const input = await initByInput[inputConfig.type](
|
|
430
|
+
Object.assign(
|
|
431
|
+
{},
|
|
432
|
+
{
|
|
433
|
+
holder,
|
|
434
|
+
app,
|
|
435
|
+
id: parent.id,
|
|
436
|
+
debug: self2.opts.debug,
|
|
437
|
+
parent
|
|
438
|
+
},
|
|
439
|
+
inputConfig
|
|
440
|
+
)
|
|
441
|
+
);
|
|
442
|
+
input.main(parent.config);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
let geneInputTr;
|
|
446
|
+
if (geneInputType == "hierCluster" || parent.chartType !== "hierCluster") {
|
|
447
|
+
geneInputTr = table.insert("tr", () => table.select("tr").node());
|
|
448
|
+
} else {
|
|
449
|
+
const secondTr = table.selectAll("tr").nodes()[1] || null;
|
|
450
|
+
const hrTr = table.insert("tr", () => secondTr);
|
|
451
|
+
hrTr.append("td").attr("colspan", 2).append("hr").style("border", "1px solid #ccc");
|
|
452
|
+
geneInputTr = table.insert("tr", () => secondTr);
|
|
453
|
+
}
|
|
454
|
+
addGenesetInput(self2, app, parent, geneInputTr, geneInputType);
|
|
455
|
+
}
|
|
456
|
+
function addGenesetInput(self2, app, parent, tr, geneInputType) {
|
|
457
|
+
const controlPanelBtn = self2.btns.filter((d) => d.label.endsWith("Genes"))?.node();
|
|
458
|
+
const tip3 = app.tip;
|
|
459
|
+
const tg = parent.config.termgroups;
|
|
460
|
+
let selectedGroup;
|
|
461
|
+
const triggerGenesetEdit = (holder) => {
|
|
462
|
+
holder.selectAll("*").remove();
|
|
463
|
+
const geneList = selectedGroup.lst.map((item) => {
|
|
464
|
+
return { gene: item.name };
|
|
465
|
+
});
|
|
466
|
+
new GeneSetEditUI({
|
|
467
|
+
holder,
|
|
468
|
+
genome: app.opts.genome,
|
|
469
|
+
geneList,
|
|
470
|
+
// Remove the GFF Loads Gene Sets option from unclustered genes panel.
|
|
471
|
+
customInputs: parent.chartType !== "hierCluster" || geneInputType == "hierCluster" ? self2.parent.opts.customInputs?.geneset : void 0,
|
|
472
|
+
/* running hier clustering and the editing group is the group used for clustering
|
|
473
|
+
pass this mode value to inform ui to support the optional button "top variably exp gene"
|
|
474
|
+
this is hardcoded for the purpose of gene expression and should be improved
|
|
475
|
+
*/
|
|
476
|
+
mode: selectedGroup.mode,
|
|
477
|
+
minNumGenes: selectedGroup.mode == "geneExpression" ? 3 : 1,
|
|
478
|
+
vocabApi: self2.opts.app.vocabApi,
|
|
479
|
+
callback: async ({ geneList: geneList2, groupName }) => {
|
|
480
|
+
if (!selectedGroup) throw `missing selectedGroup`;
|
|
481
|
+
tip3.hide();
|
|
482
|
+
const group = selectedGroup.status == "new" ? { name: groupName, lst: [] } : tg[selectedGroup.index];
|
|
483
|
+
if (selectedGroup.status == "new") tg.push(group);
|
|
484
|
+
const targetTermType = selectedGroup.mode == "geneExpression" ? "geneExpression" : "geneVariant";
|
|
485
|
+
const lst = group.lst.filter((tw) => tw.term.type != targetTermType);
|
|
486
|
+
const tws = await Promise.all(
|
|
487
|
+
geneList2.map(async (d) => {
|
|
488
|
+
let term;
|
|
489
|
+
if (targetTermType == "geneExpression") {
|
|
490
|
+
const gene = d.symbol || d.gene;
|
|
491
|
+
const unit = getGEunit(app.vocabApi);
|
|
492
|
+
const name = `${gene} ${unit}`;
|
|
493
|
+
term = { gene, name, type: "geneExpression" };
|
|
494
|
+
} else {
|
|
495
|
+
term = {
|
|
496
|
+
gene: d.symbol || d.gene,
|
|
497
|
+
name: d.symbol || d.gene,
|
|
498
|
+
type: "geneVariant"
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
let tw = group.lst.find((t) => {
|
|
502
|
+
const geneName = t.term.gene || t.term.name;
|
|
503
|
+
const match = d.symbol ? geneName === d.symbol : d.gene ? geneName === d.gene : false;
|
|
504
|
+
return match && t.term.type == targetTermType;
|
|
505
|
+
});
|
|
506
|
+
if (!tw) {
|
|
507
|
+
tw = { term };
|
|
508
|
+
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
509
|
+
} else if (!tw.$id) {
|
|
510
|
+
tw.$id = await get$id(self2.opts.app.vocabApi.getTwMinCopy({ term }));
|
|
511
|
+
}
|
|
512
|
+
return tw;
|
|
513
|
+
})
|
|
514
|
+
);
|
|
515
|
+
group.lst = [...lst, ...tws];
|
|
516
|
+
if (!group.lst.length) tg.splice(selectedGroup.index, 1);
|
|
517
|
+
app.dispatch({
|
|
518
|
+
type: "plot_edit",
|
|
519
|
+
id: self2.parent.id,
|
|
520
|
+
config: {
|
|
521
|
+
termgroups: tg
|
|
522
|
+
}
|
|
523
|
+
});
|
|
524
|
+
},
|
|
525
|
+
backBtn: {
|
|
526
|
+
target: "Genes Menu",
|
|
527
|
+
callback: () => {
|
|
528
|
+
controlPanelBtn.click();
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
termsAsListed: geneInputType == "hierCluster" && !self2.parent.config.settings.hierCluster.clusterRows || geneInputType != "hierCluster" && self2.parent.config.settings.matrix.sortTermsBy == "asListed"
|
|
532
|
+
});
|
|
533
|
+
};
|
|
534
|
+
const numOfEditableGrps = tg.filter((g) => g.type != "hierCluster").length;
|
|
535
|
+
tr.append("td").attr("class", "sja-termdb-config-row-label").html(geneInputType == "hierCluster" ? "Hierarchical Clustering Gene Set" : "Genomic Alteration Gene Set");
|
|
536
|
+
if (numOfEditableGrps > 0 || geneInputType == "hierCluster") {
|
|
537
|
+
const td1 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
538
|
+
const editGrpDiv = td1.append("div").append("label");
|
|
539
|
+
editGrpDiv.append("button").html(
|
|
540
|
+
numOfEditableGrps > 1 && geneInputType !== "hierCluster" ? "Edit Selected Group" : geneInputType == "hierCluster" ? "Edit Gene Set" : "Edit Current Group"
|
|
541
|
+
).on("click", () => {
|
|
542
|
+
tip3.clear();
|
|
543
|
+
setMenuBackBtn(tip3.d.append("div").style("padding", "5px"), () => controlPanelBtn.click(), `Back`);
|
|
544
|
+
const genesetEdiUiHolder = tip3.d.append("div");
|
|
545
|
+
triggerGenesetEdit(genesetEdiUiHolder);
|
|
546
|
+
});
|
|
547
|
+
if (numOfEditableGrps > 1 && geneInputType !== "hierCluster") {
|
|
548
|
+
const { nonHierClusterGroups, groupSelect } = setTermGroupSelector(self2, editGrpDiv, tg);
|
|
549
|
+
selectedGroup = nonHierClusterGroups.find((g) => g.selected);
|
|
550
|
+
groupSelect.on("change", () => {
|
|
551
|
+
selectedGroup = nonHierClusterGroups[groupSelect.property("value")];
|
|
552
|
+
});
|
|
553
|
+
} else {
|
|
554
|
+
const s = parent.config.settings.hierCluster;
|
|
555
|
+
const g = geneInputType == "hierCluster" ? tg.find((g2) => g2.type == "hierCluster") : tg.find((g2) => g2.type != "hierCluster");
|
|
556
|
+
selectedGroup = {
|
|
557
|
+
index: geneInputType == "hierCluster" ? tg.findIndex((g2) => g2.type == "hierCluster") : tg[0].type == g.type ? 0 : 1,
|
|
558
|
+
name: g.name,
|
|
559
|
+
type: g.type,
|
|
560
|
+
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 })),
|
|
561
|
+
mode: g.type == "hierCluster" ? s.dataType : (
|
|
562
|
+
// !!subject to change!! when group is not clustering, and ds has mutation, defaults to MUTATION_CNV_FUSION
|
|
563
|
+
self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
564
|
+
),
|
|
565
|
+
selected: true
|
|
566
|
+
};
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
if (geneInputType == "hierCluster") {
|
|
570
|
+
return;
|
|
571
|
+
}
|
|
572
|
+
const td2 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
573
|
+
const createNewGrpDiv = td2.append("div").append("label");
|
|
574
|
+
const createBtn = createNewGrpDiv.append("button").html("Create New Group").property("disabled", true).on("click", () => {
|
|
575
|
+
tip3.clear();
|
|
576
|
+
setMenuBackBtn(tip3.d.append("div"), () => controlPanelBtn.click(), "Back");
|
|
577
|
+
const name = nameInput.property("value");
|
|
578
|
+
selectedGroup = {
|
|
579
|
+
index: tg.length,
|
|
580
|
+
name,
|
|
581
|
+
label: name,
|
|
582
|
+
lst: [],
|
|
583
|
+
status: "new",
|
|
584
|
+
mode: parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
585
|
+
};
|
|
586
|
+
triggerGenesetEdit(tip3.d.append("div"));
|
|
587
|
+
});
|
|
588
|
+
const nameInput = createNewGrpDiv.append("input").style("margin", "2px 5px").style("width", "210px").attr("placeholder", "Group Name").on("input", () => {
|
|
589
|
+
createBtn.property("disabled", !nameInput.property("value"));
|
|
590
|
+
}).on("keyup", (event) => {
|
|
591
|
+
if (event.key == "Enter" && !createBtn.property("disabled")) {
|
|
592
|
+
createBtn.node().click();
|
|
593
|
+
}
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
function setMenuBackBtn(holder, callback, label) {
|
|
597
|
+
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) => {
|
|
598
|
+
if (event.key == "Enter") event.target.click();
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
function setTermGroupSelector(self2, holder, tg) {
|
|
602
|
+
const firstGrpWithGeneTw = tg.find(
|
|
603
|
+
(g) => g.lst.find((tw) => tw.term.type == TermTypes.GENE_VARIANT && g.type !== "hierCluster")
|
|
604
|
+
);
|
|
605
|
+
const groups = tg.map((g, index) => {
|
|
606
|
+
return {
|
|
607
|
+
index,
|
|
608
|
+
name: g.name,
|
|
609
|
+
type: g.type,
|
|
610
|
+
lst: g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
|
|
611
|
+
mode: self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : "",
|
|
612
|
+
selected: g === firstGrpWithGeneTw
|
|
613
|
+
};
|
|
614
|
+
});
|
|
615
|
+
const nonHierClusterGroups = groups.filter((g) => g.type != "hierCluster");
|
|
616
|
+
const groupSelect = holder.append("select").style("width", "218px").style("margin", "2px 5px");
|
|
617
|
+
for (const [i, group] of nonHierClusterGroups.entries()) {
|
|
618
|
+
if (group.label) continue;
|
|
619
|
+
if (group.name) group.label = group.name;
|
|
620
|
+
else group.label = `Unlabeled group #${i + 1}`;
|
|
621
|
+
}
|
|
622
|
+
groupSelect.selectAll("option").data(nonHierClusterGroups).enter().append("option").property("selected", (grp) => grp.selected).attr("value", (d, i) => i).html((grp) => grp.label);
|
|
623
|
+
return { nonHierClusterGroups, groupSelect };
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
// plots/matrix/matrix.controls.variables.ts
|
|
627
|
+
var tip2 = new Menu({ padding: "" });
|
|
628
|
+
function setVariablesBtn(self2, s) {
|
|
629
|
+
self2.opts.holder.append("button").datum({
|
|
630
|
+
label: s.controlLabels.Terms || `Variables`,
|
|
631
|
+
//getCount: () => self.parent.termOrder.filter(t => t.tw.term.type != 'geneVariant').length.length,
|
|
632
|
+
rows: [
|
|
633
|
+
{
|
|
634
|
+
label: `Row Group Label Max Length`,
|
|
635
|
+
title: `Truncate the row group label if it exceeds this maximum number of characters`,
|
|
636
|
+
type: "number",
|
|
637
|
+
chartType: "matrix",
|
|
638
|
+
settingsKey: "termGrpLabelMaxChars"
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
label: `Row Label Max Length`,
|
|
642
|
+
title: `Truncate the row label if it exceeds this maximum number of characters`,
|
|
643
|
+
type: "number",
|
|
644
|
+
chartType: "matrix",
|
|
645
|
+
settingsKey: "rowlabelmaxchars"
|
|
646
|
+
}
|
|
647
|
+
],
|
|
648
|
+
customInputs: appendDictInputs
|
|
649
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
650
|
+
}
|
|
651
|
+
function appendDictInputs(self2, app, parent) {
|
|
652
|
+
tip2.clear();
|
|
653
|
+
if (!parent.selectedGroup) parent.selectedGroup = parent.chartType == "hierCluster" ? 1 : 0;
|
|
654
|
+
app.tip.d.append("hr");
|
|
655
|
+
addDictMenu(self2, app, parent, app.tip.d.append("div"));
|
|
656
|
+
}
|
|
657
|
+
async function addDictMenu(self2, app, parent, holder = void 0) {
|
|
658
|
+
const termdb = await import("./app-RENXV7VR.js");
|
|
659
|
+
termdb.appInit({
|
|
660
|
+
holder: holder || app.tip.d,
|
|
661
|
+
vocabApi: self2.parent.app.vocabApi,
|
|
662
|
+
focus: "off",
|
|
663
|
+
state: {
|
|
664
|
+
vocab: self2.parent.state.vocab,
|
|
665
|
+
activeCohort: self2.parent.activeCohort,
|
|
666
|
+
nav: {
|
|
667
|
+
header_mode: "search_only"
|
|
668
|
+
},
|
|
669
|
+
tree: {
|
|
670
|
+
usecase: { target: "matrix", detail: "termgroups" }
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
tree: {
|
|
674
|
+
submit_lst: (termlst) => {
|
|
675
|
+
submitLst(self2, termlst);
|
|
676
|
+
app.tip.hide();
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
search: {
|
|
680
|
+
focus: "off"
|
|
681
|
+
}
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
async function submitLst(self2, termlst) {
|
|
685
|
+
const newterms = await Promise.all(
|
|
686
|
+
termlst.map(async (_term) => {
|
|
687
|
+
const term = structuredClone(_term);
|
|
688
|
+
const tw = "id" in term ? { id: term.id, term } : { term };
|
|
689
|
+
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
690
|
+
return tw;
|
|
691
|
+
})
|
|
692
|
+
);
|
|
693
|
+
const termgroups = structuredClone(self2.parent.config.termgroups);
|
|
694
|
+
const i = termgroups.findIndex((g) => g.name == "Variables");
|
|
695
|
+
if (i !== -1) {
|
|
696
|
+
const grp = termgroups[i];
|
|
697
|
+
grp.lst.push(...newterms);
|
|
698
|
+
self2.parent.app.dispatch({
|
|
699
|
+
type: "plot_nestedEdits",
|
|
700
|
+
id: self2.parent.id,
|
|
701
|
+
edits: [
|
|
702
|
+
{
|
|
703
|
+
nestedKeys: ["termgroups", i, "lst"],
|
|
704
|
+
value: grp.lst
|
|
705
|
+
}
|
|
706
|
+
]
|
|
707
|
+
});
|
|
708
|
+
} else {
|
|
709
|
+
const grp = { name: "Variables", lst: newterms };
|
|
710
|
+
termgroups.push(grp);
|
|
711
|
+
self2.parent.app.dispatch({
|
|
712
|
+
type: "plot_edit",
|
|
713
|
+
id: self2.parent.id,
|
|
714
|
+
config: { termgroups }
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
// plots/matrix/matrix.controls.dimensions.ts
|
|
720
|
+
function setDimensionsBtn(self2, s) {
|
|
721
|
+
const l = s.controlLabels;
|
|
722
|
+
self2.opts.holder.append("button").datum({
|
|
723
|
+
label: "Cell Layout",
|
|
724
|
+
tables: [
|
|
725
|
+
{
|
|
726
|
+
rows: [
|
|
727
|
+
{
|
|
728
|
+
label: "Grid",
|
|
729
|
+
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.",
|
|
730
|
+
type: "checkbox",
|
|
731
|
+
boxLabel: "show",
|
|
732
|
+
// v===true means property('checked') and convert to recognized 'rect' value for dispatch
|
|
733
|
+
// otherwise, compared value to 'rect' to set the current value of the checkbox
|
|
734
|
+
// note: the non-boolean showGrid values allow keeping the hidden value='pattern' option for benchmark tests
|
|
735
|
+
processInput: (v) => v === true ? "rect" : v === "rect",
|
|
736
|
+
chartType: "matrix",
|
|
737
|
+
settingsKey: "showGrid",
|
|
738
|
+
colspan: 2,
|
|
739
|
+
align: "center"
|
|
740
|
+
// for testing/benchmarking
|
|
741
|
+
// type: 'radio',
|
|
742
|
+
// options: [
|
|
743
|
+
// {
|
|
744
|
+
// label: 'hide',
|
|
745
|
+
// value: ''
|
|
746
|
+
// },
|
|
747
|
+
// {
|
|
748
|
+
// label: 'lines',
|
|
749
|
+
// value: 'pattern' // needs debugging for when s.rowh or d.colw does not apply to all rows
|
|
750
|
+
// },
|
|
751
|
+
// {
|
|
752
|
+
// label: 'rect',
|
|
753
|
+
// value: 'rect'
|
|
754
|
+
// }
|
|
755
|
+
// ]
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
label: "Outline Color",
|
|
759
|
+
title: "Set a border color for the whole matrix",
|
|
760
|
+
type: "color",
|
|
761
|
+
chartType: "matrix",
|
|
762
|
+
settingsKey: "outlineStroke",
|
|
763
|
+
colspan: 2,
|
|
764
|
+
align: "center"
|
|
765
|
+
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
label: "Beam Color",
|
|
769
|
+
title: "Set a color for the beam highlighter",
|
|
770
|
+
type: "color",
|
|
771
|
+
chartType: "matrix",
|
|
772
|
+
settingsKey: "beamStroke",
|
|
773
|
+
colspan: 2,
|
|
774
|
+
align: "center"
|
|
775
|
+
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
label: "Grid Line Color",
|
|
779
|
+
title: "Set the grid color, equivalent to applying the same border color for each matrix cell",
|
|
780
|
+
type: "color",
|
|
781
|
+
chartType: "matrix",
|
|
782
|
+
settingsKey: "gridStroke",
|
|
783
|
+
colspan: 2,
|
|
784
|
+
align: "center"
|
|
785
|
+
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
label: "Background Color",
|
|
789
|
+
title: `Set the background color when there are no alterations or annotation data for a ${l.sample}`,
|
|
790
|
+
type: "color",
|
|
791
|
+
chartType: "matrix",
|
|
792
|
+
settingsKey: "cellbg",
|
|
793
|
+
colspan: 2,
|
|
794
|
+
align: "center"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
label: `Use Canvas If # ${l.sample} Exceeds`,
|
|
798
|
+
title: `Switch from SVG to canvas rendering when the number of ${l.samples} exceeds this number`,
|
|
799
|
+
type: "number",
|
|
800
|
+
chartType: "matrix",
|
|
801
|
+
settingsKey: "svgCanvasSwitch",
|
|
802
|
+
colspan: 2,
|
|
803
|
+
align: "center",
|
|
804
|
+
width: 60,
|
|
805
|
+
min: 0,
|
|
806
|
+
max: 1e4,
|
|
807
|
+
step: 1
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
label: "Canvas Min. Pixel Width",
|
|
811
|
+
title: "Set a minimum pixel width for a matrix cell when using canvas, may affect the perceived sharpness of the canvas image",
|
|
812
|
+
type: "checkbox",
|
|
813
|
+
boxLabel: "apply",
|
|
814
|
+
chartType: "matrix",
|
|
815
|
+
settingsKey: "useMinPixelWidth",
|
|
816
|
+
colspan: 2,
|
|
817
|
+
align: "center",
|
|
818
|
+
getDisplayStyle: () => self2.parent.settings.matrix.useCanvas ? "" : "none"
|
|
819
|
+
}
|
|
820
|
+
]
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
header: ["Cells", "Columns", "Rows"],
|
|
824
|
+
rows: [
|
|
825
|
+
{
|
|
826
|
+
label: "Row Height",
|
|
827
|
+
title: "Set the height of a matrix row",
|
|
828
|
+
type: "number",
|
|
829
|
+
width: 50,
|
|
830
|
+
align: "center",
|
|
831
|
+
chartType: "matrix",
|
|
832
|
+
inputs: [{ label: "N/A" }, { settingsKey: "rowh", min: 8, max: 30, step: 1 }],
|
|
833
|
+
getDisplayStyle(plot) {
|
|
834
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
label: "Min Col. Width",
|
|
839
|
+
title: "Set the minimum width of the auto-computed matrix column width",
|
|
840
|
+
type: "number",
|
|
841
|
+
width: 50,
|
|
842
|
+
align: "center",
|
|
843
|
+
chartType: "matrix",
|
|
844
|
+
inputs: [{ settingsKey: "colwMin", min: 0.1, max: 16, step: 0.2 }, { label: "N/A" }]
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
label: "Max Col. Width",
|
|
848
|
+
title: "Set the maximum width of the auto-computed matrix column width",
|
|
849
|
+
type: "number",
|
|
850
|
+
width: 50,
|
|
851
|
+
align: "center",
|
|
852
|
+
chartType: "matrix",
|
|
853
|
+
inputs: [{ settingsKey: "colwMax", min: 1, max: 24, step: 0.2 }, { label: "N/A" }]
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
label: "Spacing",
|
|
857
|
+
title: "Set the column spacing. Note that this will be set to 0 when the auto-computed width < 2.",
|
|
858
|
+
type: "number",
|
|
859
|
+
width: 50,
|
|
860
|
+
align: "center",
|
|
861
|
+
chartType: "matrix",
|
|
862
|
+
inputs: [
|
|
863
|
+
{ settingsKey: "colspace", min: 0, max: 20, step: 1 },
|
|
864
|
+
{ settingsKey: "rowspace", min: 0, max: 20, step: 1 }
|
|
865
|
+
],
|
|
866
|
+
getDisplayStyle(plot) {
|
|
867
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
label: "Group spacing",
|
|
872
|
+
title: "Set the spacing between column and row groups.",
|
|
873
|
+
type: "number",
|
|
874
|
+
width: 50,
|
|
875
|
+
align: "center",
|
|
876
|
+
chartType: "matrix",
|
|
877
|
+
inputs: [
|
|
878
|
+
self2.parent.chartType == "hierCluster" ? { label: "N/A" } : { settingsKey: "colgspace", min: 0, max: 20, step: 1 },
|
|
879
|
+
{ settingsKey: "rowgspace", min: 0, max: 20, step: 1 }
|
|
880
|
+
]
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
header: ["Labels", "Columns", "Rows"],
|
|
886
|
+
rows: [
|
|
887
|
+
{
|
|
888
|
+
label: "Offset",
|
|
889
|
+
title: "Set the gap between the label text and matrix edge",
|
|
890
|
+
type: "number",
|
|
891
|
+
width: 50,
|
|
892
|
+
align: "center",
|
|
893
|
+
chartType: "matrix",
|
|
894
|
+
inputs: [
|
|
895
|
+
{ settingsKey: "collabelgap", min: 0, max: 20, step: 1 },
|
|
896
|
+
{ settingsKey: "rowlabelgap", min: 0, max: 20, step: 1 }
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
label: "Spacing",
|
|
901
|
+
title: "Set the gap between labels",
|
|
902
|
+
type: "number",
|
|
903
|
+
width: 50,
|
|
904
|
+
align: "center",
|
|
905
|
+
chartType: "matrix",
|
|
906
|
+
inputs: [
|
|
907
|
+
{ settingsKey: "collabelpad", min: 0, max: 20, step: 1 },
|
|
908
|
+
{ settingsKey: "rowlabelpad", min: 0, max: 20, step: 1 }
|
|
909
|
+
]
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
label: "Min font size",
|
|
913
|
+
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.",
|
|
914
|
+
type: "number",
|
|
915
|
+
width: 50,
|
|
916
|
+
align: "center",
|
|
917
|
+
colspan: 2,
|
|
918
|
+
chartType: "matrix",
|
|
919
|
+
settingsKey: "minLabelFontSize",
|
|
920
|
+
min: 0,
|
|
921
|
+
max: 24,
|
|
922
|
+
step: 0.1
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
label: "Max font size",
|
|
926
|
+
title: "Set the maximum auto-computed font size for labels",
|
|
927
|
+
type: "number",
|
|
928
|
+
width: 50,
|
|
929
|
+
align: "center",
|
|
930
|
+
colspan: 2,
|
|
931
|
+
chartType: "matrix",
|
|
932
|
+
settingsKey: "maxLabelFontSize",
|
|
933
|
+
min: 0,
|
|
934
|
+
max: 24,
|
|
935
|
+
step: 0.1
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
label: "Group label<br/>position",
|
|
939
|
+
title: "Set which side of the matrix to display group labels",
|
|
940
|
+
type: "radio",
|
|
941
|
+
width: 50,
|
|
942
|
+
chartType: "matrix",
|
|
943
|
+
labelDisplay: "block",
|
|
944
|
+
getDisplayStyle(plot) {
|
|
945
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
946
|
+
},
|
|
947
|
+
inputs: [
|
|
948
|
+
{
|
|
949
|
+
settingsKey: "collabelpos",
|
|
950
|
+
// switched since settings.collabelpos refers to the individual column label, not group
|
|
951
|
+
options: [
|
|
952
|
+
{ label: "Top", value: "bottom", title: `Display ${l.sample} group labels at the bottom` },
|
|
953
|
+
{ label: "Bottom", value: "top", title: `Display ${l.sample} group labels on top` }
|
|
954
|
+
]
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
settingsKey: "rowlabelpos",
|
|
958
|
+
// switched since settings.rowlabelpos refers to the individual column label, not group
|
|
959
|
+
options: [
|
|
960
|
+
{
|
|
961
|
+
label: "Left",
|
|
962
|
+
value: "right",
|
|
963
|
+
title: `Display gene or variable group labels on the left side`
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
label: "Right",
|
|
967
|
+
value: "left",
|
|
968
|
+
title: `Display gene or variable group labels on the right side`
|
|
969
|
+
}
|
|
970
|
+
]
|
|
971
|
+
}
|
|
972
|
+
]
|
|
973
|
+
}
|
|
974
|
+
]
|
|
975
|
+
}
|
|
976
|
+
]
|
|
977
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
// plots/matrix/matrix.controls.legend.ts
|
|
981
|
+
function setLegendBtn(self2) {
|
|
982
|
+
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
983
|
+
label: "Legend Layout",
|
|
984
|
+
rows: [
|
|
985
|
+
//ontop: false,
|
|
986
|
+
{
|
|
987
|
+
label: "Font Size",
|
|
988
|
+
title: "Set the font size for the legend text",
|
|
989
|
+
type: "number",
|
|
990
|
+
chartType: "legend",
|
|
991
|
+
settingsKey: "fontsize"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
label: "Line Height",
|
|
995
|
+
title: "Set the line height for a legend group",
|
|
996
|
+
type: "number",
|
|
997
|
+
chartType: "legend",
|
|
998
|
+
settingsKey: "lineh"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
label: "Icon Height",
|
|
1002
|
+
title: "Set the icon height for a legend item",
|
|
1003
|
+
type: "number",
|
|
1004
|
+
chartType: "legend",
|
|
1005
|
+
settingsKey: "iconh"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
label: "Icon Width",
|
|
1009
|
+
title: "Set the icon width for a legend item",
|
|
1010
|
+
type: "number",
|
|
1011
|
+
chartType: "legend",
|
|
1012
|
+
settingsKey: "iconw"
|
|
1013
|
+
},
|
|
1014
|
+
/*{
|
|
1015
|
+
label: 'Bottom margin',
|
|
1016
|
+
type: 'number',
|
|
1017
|
+
chartType: 'legend',
|
|
1018
|
+
settingsKey: 'padbtm'
|
|
1019
|
+
},*/
|
|
1020
|
+
{
|
|
1021
|
+
label: "Item Left Pad",
|
|
1022
|
+
title: "Set a left margin for each legend item",
|
|
1023
|
+
type: "number",
|
|
1024
|
+
chartType: "legend",
|
|
1025
|
+
settingsKey: "padx"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
label: "Left Margin",
|
|
1029
|
+
title: "Set a left margin for the whole legend",
|
|
1030
|
+
type: "number",
|
|
1031
|
+
chartType: "legend",
|
|
1032
|
+
settingsKey: "padleft"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
label: "Left Indent",
|
|
1036
|
+
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.`,
|
|
1037
|
+
type: "number",
|
|
1038
|
+
chartType: "legend",
|
|
1039
|
+
settingsKey: "hangleft"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
label: "Item Layout",
|
|
1043
|
+
title: "Option to separate each legend item into a new line, instead of a horizontal layout in the same line.",
|
|
1044
|
+
type: "checkbox",
|
|
1045
|
+
chartType: "legend",
|
|
1046
|
+
settingsKey: "linesep",
|
|
1047
|
+
boxLabel: "Line separated"
|
|
1048
|
+
}
|
|
1049
|
+
]
|
|
1050
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
// plots/matrix/matrix.controls.mutations.ts
|
|
1054
|
+
function setMutationBtn(self2) {
|
|
1055
|
+
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1056
|
+
label: "Mutation",
|
|
1057
|
+
updateBtn: (btn) => {
|
|
1058
|
+
const s = self2.parent.config.settings.matrix;
|
|
1059
|
+
btn.style("text-decoration", s.allMatrixMutationHidden ? "line-through" : "").style("text-decoration-thickness", s.allMatrixMutationHidden ? "2px" : "");
|
|
1060
|
+
},
|
|
1061
|
+
rows: [
|
|
1062
|
+
{
|
|
1063
|
+
title: `Show mutation options`,
|
|
1064
|
+
type: "radio",
|
|
1065
|
+
chartType: "matrix",
|
|
1066
|
+
settingsKey: "showMatrixMutation",
|
|
1067
|
+
options: [
|
|
1068
|
+
{ label: "Show all mutations", value: "all" },
|
|
1069
|
+
{ label: `Show only truncating mutations`, value: "onlyTruncating" },
|
|
1070
|
+
{ label: `Show only protein-changing mutations`, value: "onlyPC" },
|
|
1071
|
+
{ label: `Do not show mutations`, value: "none" },
|
|
1072
|
+
{ label: `Show selected mutation`, value: "bySelection" }
|
|
1073
|
+
],
|
|
1074
|
+
labelDisplay: "block",
|
|
1075
|
+
getDisplayStyle(plot) {
|
|
1076
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1077
|
+
},
|
|
1078
|
+
callback: self2.parent.mutationControlCallback
|
|
1079
|
+
}
|
|
1080
|
+
],
|
|
1081
|
+
customInputs: generateMutationItems
|
|
1082
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1083
|
+
}
|
|
1084
|
+
function generateMutationItems(self2, app, parent, table) {
|
|
1085
|
+
table.attr("class", null);
|
|
1086
|
+
const m = parent.config.settings.matrix;
|
|
1087
|
+
const cnvLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtcnv));
|
|
1088
|
+
if (m.showMatrixMutation !== "none" && (m.allMatrixCNVHidden || !cnvLegendGrp || cnvLegendGrp.crossedOut || !cnvLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1089
|
+
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1090
|
+
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1091
|
+
}
|
|
1092
|
+
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixMutation == "bySelection")
|
|
1093
|
+
parent.mutationControlCallback("bySelection");
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
// plots/matrix/matrix.controls.cnv.ts
|
|
1097
|
+
function setCNVBtn(self2) {
|
|
1098
|
+
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1099
|
+
label: "CNV",
|
|
1100
|
+
updateBtn: (btn) => {
|
|
1101
|
+
const s = self2.parent.config.settings.matrix;
|
|
1102
|
+
const notRendered = s.allMatrixCNVHidden;
|
|
1103
|
+
btn.style("text-decoration", notRendered ? "line-through" : "").style("text-decoration-thickness", notRendered ? "2px" : "");
|
|
1104
|
+
},
|
|
1105
|
+
rows: [
|
|
1106
|
+
{
|
|
1107
|
+
title: `Show CNV options`,
|
|
1108
|
+
type: "radio",
|
|
1109
|
+
chartType: "matrix",
|
|
1110
|
+
settingsKey: "showMatrixCNV",
|
|
1111
|
+
options: [
|
|
1112
|
+
{ label: "Show all CNV", value: "all" },
|
|
1113
|
+
{ label: `Do not show CNV`, value: "none" },
|
|
1114
|
+
{ label: `Show selected CNV`, value: "bySelection" }
|
|
1115
|
+
],
|
|
1116
|
+
labelDisplay: "block",
|
|
1117
|
+
getDisplayStyle(plot) {
|
|
1118
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1119
|
+
},
|
|
1120
|
+
callback: self2.parent.CNVControlCallback
|
|
1121
|
+
}
|
|
1122
|
+
],
|
|
1123
|
+
customInputs: generateCNVItems
|
|
1124
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1125
|
+
}
|
|
1126
|
+
function generateCNVItems(self2, app, parent, table) {
|
|
1127
|
+
table.attr("class", null);
|
|
1128
|
+
const m = parent.config.settings.matrix;
|
|
1129
|
+
const mutationLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtsnvindel));
|
|
1130
|
+
if (m.showMatrixCNV !== "none" && (m.allMatrixMutationHidden || !mutationLegendGrp || mutationLegendGrp.crossedOut || !mutationLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1131
|
+
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1132
|
+
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1133
|
+
}
|
|
1134
|
+
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixCNV == "bySelection")
|
|
1135
|
+
parent.CNVControlCallback("bySelection");
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
// plots/matrix/matrix.controls.download.ts
|
|
1139
|
+
function setDownloadBtn(self2) {
|
|
1140
|
+
self2.opts.holder.append("button").style("margin", "2px 0").text("Download").on("focus", () => self2.parent.app.tip.hide()).on("click.sjpp-matrix-download", (event) => {
|
|
1141
|
+
const p = self2.parent;
|
|
1142
|
+
if (!p.dom.downloadMenu) p.dom.downloadMenu = new Menu({ padding: "" });
|
|
1143
|
+
const downloadMenu = p.dom.downloadMenu.clear();
|
|
1144
|
+
const div = downloadMenu.d.append("div");
|
|
1145
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`SVG image`).on("click.sjpp-matrix-download", () => {
|
|
1146
|
+
to_svg(self2.opts.getSvg(), "matrix", { apply_dom_styles: true });
|
|
1147
|
+
p.dom.downloadMenu.destroy();
|
|
1148
|
+
});
|
|
1149
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`TSV data`).on("click.sjpp-matrix-download", () => {
|
|
1150
|
+
const lst = p.data.lst;
|
|
1151
|
+
const allTerms = p.termOrder.map((t) => t.tw);
|
|
1152
|
+
const assayAvailability = p.state.termdbConfig.assayAvailability;
|
|
1153
|
+
const controlLabels = p.settings.matrix.controlLabels;
|
|
1154
|
+
if (p.config.divideBy?.id && !allTerms.find((a2) => a2.id == p.config.divideBy.id)) {
|
|
1155
|
+
allTerms.push(p.config.divideBy);
|
|
1156
|
+
}
|
|
1157
|
+
const activeSamples = [];
|
|
1158
|
+
for (const d of lst) {
|
|
1159
|
+
for (const tw of allTerms) {
|
|
1160
|
+
if (tw.$id in d) {
|
|
1161
|
+
activeSamples.push(d);
|
|
1162
|
+
break;
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
const header = [controlLabels.Sample];
|
|
1167
|
+
for (const tw of allTerms) header.push(tw.term.name);
|
|
1168
|
+
const rows = [header];
|
|
1169
|
+
for (const sample of activeSamples) {
|
|
1170
|
+
const row = [sample._ref_.label];
|
|
1171
|
+
for (const tw of allTerms) {
|
|
1172
|
+
if (!sample[tw.$id]) {
|
|
1173
|
+
row.push("");
|
|
1174
|
+
} else {
|
|
1175
|
+
if (tw.term.type == "geneVariant") {
|
|
1176
|
+
const allVariant = [];
|
|
1177
|
+
for (const v of sample[tw.$id].renderedValues) {
|
|
1178
|
+
const hasAssayAvailability = assayAvailability?.byDt?.[parseInt(v.dt)];
|
|
1179
|
+
if (v.dt == dtsnvindel) {
|
|
1180
|
+
allVariant.push(
|
|
1181
|
+
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.mname ? `,${v.mname}` : "")
|
|
1182
|
+
);
|
|
1183
|
+
} else if (v.dt == dtcnv) {
|
|
1184
|
+
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;
|
|
1185
|
+
allVariant.push(
|
|
1186
|
+
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + cnvValue
|
|
1187
|
+
);
|
|
1188
|
+
} else if (v.dt == dtfusionrna || v.dt == dtsv) {
|
|
1189
|
+
allVariant.push(
|
|
1190
|
+
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.gene && v.mname ? `(${v.gene}::${v.mname})` : "")
|
|
1191
|
+
);
|
|
1192
|
+
} else {
|
|
1193
|
+
allVariant.push(`DO NOT SUPPORT dt='${v.dt}'`);
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
row.push(allVariant.join("|"));
|
|
1197
|
+
} else if (tw.term.type == TermTypes.GENE_EXPRESSION || tw.term.type == TermTypes.METABOLITE_INTENSITY || tw.term.type == TermTypes.PROTEOME_ABUNDANCE) {
|
|
1198
|
+
row.push(sample[tw.$id]?.renderedValues?.[0]?.value || "");
|
|
1199
|
+
} else {
|
|
1200
|
+
row.push(sample[tw.$id]?.renderedValues?.[0] || sample[tw.$id]?.value || "");
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
rows.push(row);
|
|
1205
|
+
}
|
|
1206
|
+
const matrix = rows.map((row) => row.join(" ")).join("\n");
|
|
1207
|
+
const a = document.createElement("a");
|
|
1208
|
+
document.body.appendChild(a);
|
|
1209
|
+
a.addEventListener(
|
|
1210
|
+
"click",
|
|
1211
|
+
function() {
|
|
1212
|
+
const currentDate = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
1213
|
+
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`;
|
|
1214
|
+
a.href = URL.createObjectURL(new Blob([matrix], { type: "text/tab-separated-values" }));
|
|
1215
|
+
document.body.removeChild(a);
|
|
1216
|
+
},
|
|
1217
|
+
false
|
|
1218
|
+
);
|
|
1219
|
+
a.click();
|
|
1220
|
+
p.dom.downloadMenu.destroy();
|
|
1221
|
+
});
|
|
1222
|
+
downloadMenu.showunder(event.target);
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
// plots/matrix/matrix.zoomPanScroll.ts
|
|
1227
|
+
function setZoomInput(self2) {
|
|
1228
|
+
const holder = self2.opts.holder.append("div").style("display", "inline-block").style("margin-left", "50px");
|
|
1229
|
+
const s = self2.parent.settings.matrix || self2.parent.config.settings.matrix;
|
|
1230
|
+
self2.zoomApi = zoom({
|
|
1231
|
+
holder,
|
|
1232
|
+
title: "Zoom factor relative to the ideal column width, as computed for the number of columns versus available screen width",
|
|
1233
|
+
unit: "",
|
|
1234
|
+
width: "80px",
|
|
1235
|
+
settings: {
|
|
1236
|
+
min: 0.1,
|
|
1237
|
+
// will be determined once the auto-computed width is determined
|
|
1238
|
+
max: 1,
|
|
1239
|
+
// will be determined once the auto-computed width is determined
|
|
1240
|
+
value: 1,
|
|
1241
|
+
increment: s.zoomIncrement,
|
|
1242
|
+
step: s.zoomStep || 5
|
|
1243
|
+
},
|
|
1244
|
+
callback: (zoomLevel) => {
|
|
1245
|
+
const p = self2.parent;
|
|
1246
|
+
const c = p.getVisibleCenterCell(0);
|
|
1247
|
+
p.app.dispatch({
|
|
1248
|
+
type: "plot_edit",
|
|
1249
|
+
id: p.id,
|
|
1250
|
+
config: {
|
|
1251
|
+
settings: {
|
|
1252
|
+
matrix: {
|
|
1253
|
+
zoomLevel,
|
|
1254
|
+
zoomCenterPct: 0.5,
|
|
1255
|
+
zoomIndex: c.totalIndex,
|
|
1256
|
+
zoomGrpIndex: c.grpIndex
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
});
|
|
1261
|
+
},
|
|
1262
|
+
reset: () => {
|
|
1263
|
+
self2.parent.app.dispatch({
|
|
1264
|
+
type: "plot_edit",
|
|
1265
|
+
id: self2.parent.id,
|
|
1266
|
+
config: {
|
|
1267
|
+
settings: {
|
|
1268
|
+
matrix: {
|
|
1269
|
+
zoomLevel: 1,
|
|
1270
|
+
zoomCenterPct: 0
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
1276
|
+
});
|
|
1277
|
+
}
|
|
1278
|
+
function setDragToggle(self2, opts = {}) {
|
|
1279
|
+
const defaults = {
|
|
1280
|
+
mouseMode: "select",
|
|
1281
|
+
activeBgColor: "rgb(255, 255, 255)"
|
|
1282
|
+
};
|
|
1283
|
+
opts.target.style("cursor", "default");
|
|
1284
|
+
const instance = {
|
|
1285
|
+
opts: Object.assign({}, defaults, opts),
|
|
1286
|
+
dom: {
|
|
1287
|
+
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")),
|
|
1288
|
+
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"))
|
|
1289
|
+
}
|
|
1290
|
+
};
|
|
1291
|
+
icons.arrowPointer(instance.dom.selectBtn, { width: 14, height: 14, transform: "translate(50,50)" });
|
|
1292
|
+
icons.grab(instance.dom.grabBtn, { width: 14, height: 14, transform: "translate(30,50)" });
|
|
1293
|
+
function setMode(m) {
|
|
1294
|
+
instance.opts.mouseMode = m;
|
|
1295
|
+
self2.parent.settings.matrix.mouseMode = m;
|
|
1296
|
+
opts.target.style("cursor", m == "select" ? "default" : "grab");
|
|
1297
|
+
instance.dom.selectBtn.style("background-color", m == "select" ? instance.opts.activeBgColor : "");
|
|
1298
|
+
instance.dom.grabBtn.style("background-color", m == "pan" ? instance.opts.activeBgColor : "");
|
|
1299
|
+
}
|
|
1300
|
+
self2.dragToggleApi = {
|
|
1301
|
+
update(s = {}) {
|
|
1302
|
+
Object.assign(instance.opts, s);
|
|
1303
|
+
setMode(instance.opts.mouseMode);
|
|
1304
|
+
},
|
|
1305
|
+
getSettings() {
|
|
1306
|
+
return {
|
|
1307
|
+
mouseMode: instance.opts.mouseMode
|
|
1308
|
+
};
|
|
1309
|
+
}
|
|
1310
|
+
};
|
|
1311
|
+
}
|
|
1312
|
+
function setSvgScroll(self2, state) {
|
|
1313
|
+
self2.svgScrollApi = svgScroll({
|
|
1314
|
+
holder: self2.parent.dom.scroll,
|
|
1315
|
+
height: state.config.settings.matrix.scrollHeight,
|
|
1316
|
+
callback: (dx, eventType) => {
|
|
1317
|
+
const p = self2.parent;
|
|
1318
|
+
const s = p.settings.matrix;
|
|
1319
|
+
const d = p.dimensions;
|
|
1320
|
+
if (eventType == "move") {
|
|
1321
|
+
p.dom.seriesesG.attr("transform", `translate(${d.xOffset + d.seriesXoffset - dx},${d.yOffset})`);
|
|
1322
|
+
p.clusterRenderer.translateElems(-dx, s, d);
|
|
1323
|
+
p.layout.top.attr.adjustBoxTransform(-dx);
|
|
1324
|
+
p.layout.btm.attr.adjustBoxTransform(-dx);
|
|
1325
|
+
if (p.dom.topDendrogram) {
|
|
1326
|
+
p.dom.topDendrogram.attr("transform", `translate(${p.topDendroX - dx},0)`);
|
|
1327
|
+
}
|
|
1328
|
+
} else if (eventType == "up") {
|
|
1329
|
+
const c = p.getVisibleCenterCell(-dx);
|
|
1330
|
+
p.app.dispatch({
|
|
1331
|
+
type: "plot_edit",
|
|
1332
|
+
id: p.id,
|
|
1333
|
+
config: {
|
|
1334
|
+
settings: {
|
|
1335
|
+
matrix: {
|
|
1336
|
+
zoomCenterPct: 0.5,
|
|
1337
|
+
zoomIndex: c.totalIndex,
|
|
1338
|
+
zoomGrpIndex: c.grpIndex
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
});
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
});
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
// plots/matrix/matrix.controls.ts
|
|
1349
|
+
var MatrixControls = class {
|
|
1350
|
+
constructor(opts, appState) {
|
|
1351
|
+
this.activeTab = "basic";
|
|
1352
|
+
this.type = "matrixControls";
|
|
1353
|
+
this.opts = opts;
|
|
1354
|
+
this.parent = opts.parent;
|
|
1355
|
+
this.overrides = {};
|
|
1356
|
+
this.opts.holder.style("margin", "10px 10px 20px 10px").style("white-space", "nowrap");
|
|
1357
|
+
const state = this.parent.getState(appState);
|
|
1358
|
+
const s = state.config.settings.matrix;
|
|
1359
|
+
if (this.parent.setClusteringBtn)
|
|
1360
|
+
this.parent.setClusteringBtn(this.opts.holder, (event, data) => this.callback(event, data));
|
|
1361
|
+
setSamplesBtn(this, s);
|
|
1362
|
+
if (state.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || state.termdbConfig.queries.snvindel || this.parent.chartType == "hierCluster" && this.parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
1363
|
+
setGenesBtn(this, s);
|
|
1364
|
+
}
|
|
1365
|
+
if (s.addMutationCNVButtons && this.parent.chartType !== "hierCluster") {
|
|
1366
|
+
setMutationBtn(this);
|
|
1367
|
+
setCNVBtn(this);
|
|
1368
|
+
}
|
|
1369
|
+
setVariablesBtn(this, s);
|
|
1370
|
+
setDimensionsBtn(this, s);
|
|
1371
|
+
setLegendBtn(this);
|
|
1372
|
+
setDownloadBtn(this);
|
|
1373
|
+
setZoomInput(this);
|
|
1374
|
+
setDragToggle(this, {
|
|
1375
|
+
holder: this.opts.holder.append("div").style("display", "inline-block"),
|
|
1376
|
+
target: this.parent.dom.seriesesG
|
|
1377
|
+
});
|
|
1378
|
+
setSvgScroll(this, state);
|
|
1379
|
+
this.keyboardNavHandler = async (event) => {
|
|
1380
|
+
if (event.target.tagName == "BUTTON") this.keyEventTarget = event.target;
|
|
1381
|
+
if (event.key == "Escape") {
|
|
1382
|
+
this.parent.app.tip.hide();
|
|
1383
|
+
} else if (event.key == "Enter" || event.key == "ArrowDown") {
|
|
1384
|
+
const elems = event.target.tagName == "BUTTON" ? this.parent.app.tip.d.node().querySelectorAll("input, select") : event.target.querySelectorAll("input, select");
|
|
1385
|
+
for (const elem of elems) {
|
|
1386
|
+
if (elem.checkVisibility?.() || !elem.checkVisibility && elem.getBoundingClientRect().height) {
|
|
1387
|
+
elem.focus();
|
|
1388
|
+
return false;
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
} else if (event.key == "Tab" && event.shiftKey || event.key == "Backspace" || event.key == "ArrowUp") {
|
|
1392
|
+
this.keyEventTarget.focus();
|
|
1393
|
+
return false;
|
|
1394
|
+
}
|
|
1395
|
+
};
|
|
1396
|
+
this.btns = this.opts.holder.selectAll(":scope>button").filter((d) => d && d.label).on(`keyup.matrix-${this.parent.id}`, this.keyboardNavHandler);
|
|
1397
|
+
}
|
|
1398
|
+
main(overrides = {}) {
|
|
1399
|
+
this.overrides = overrides;
|
|
1400
|
+
this.parent.app.tip.hide();
|
|
1401
|
+
this.btns.text(
|
|
1402
|
+
(d2) => !d2.getCount || d2.showCount == "hide" ? d2.label : d2.showCount == "append" ? `${d2.label} (n=${d2.getCount()})` : `${d2.getCount()} ${d2.label}`
|
|
1403
|
+
).each(function(d2) {
|
|
1404
|
+
if (d2.updateBtn) d2.updateBtn(select_default(this));
|
|
1405
|
+
});
|
|
1406
|
+
const s = this.parent.settings.matrix || this.parent.config.settings.matrix;
|
|
1407
|
+
const min = this.parent.computedSettings.zoomMin;
|
|
1408
|
+
const max = this.parent.computedSettings.zoomMax;
|
|
1409
|
+
const increment = Math.max(0.01, Number((min / max).toFixed(2)));
|
|
1410
|
+
const d = this.parent.dimensions;
|
|
1411
|
+
if (this.zoomApi)
|
|
1412
|
+
this.zoomApi.update({
|
|
1413
|
+
value: s.zoomLevel.toFixed(2),
|
|
1414
|
+
min: min.toFixed(2),
|
|
1415
|
+
max: max.toFixed(2),
|
|
1416
|
+
increment,
|
|
1417
|
+
step: s.zoomStep || 1
|
|
1418
|
+
});
|
|
1419
|
+
if (this.svgScrollApi && d) {
|
|
1420
|
+
this.svgScrollApi.update({
|
|
1421
|
+
x: d.xOffset,
|
|
1422
|
+
y: d.yOffset - s.scrollHeight,
|
|
1423
|
+
totalWidth: d.zoomedMainW,
|
|
1424
|
+
visibleWidth: d.mainw,
|
|
1425
|
+
zoomCenter: s.zoomCenterPct * d.mainw - d.seriesXoffset
|
|
1426
|
+
});
|
|
1427
|
+
}
|
|
1428
|
+
if (this.dragToggleApi) {
|
|
1429
|
+
this.dragToggleApi.update(s.mouseMode ? { mouseMode: s.mouseMode } : {});
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
getSettings() {
|
|
1433
|
+
return {
|
|
1434
|
+
mouseMode: this.dragToggleApi.getSettings().mouseMode
|
|
1435
|
+
};
|
|
1436
|
+
}
|
|
1437
|
+
async callback(event, d) {
|
|
1438
|
+
const app = this.opts.app;
|
|
1439
|
+
const parent = this.opts.parent;
|
|
1440
|
+
const tables = d.tables || [d];
|
|
1441
|
+
event.target.focus();
|
|
1442
|
+
app.tip.clear();
|
|
1443
|
+
const table = app.tip.d.append("table").attr("class", "sjpp-controls-table");
|
|
1444
|
+
for (const t of tables) {
|
|
1445
|
+
if (t.header) {
|
|
1446
|
+
table.append("tr").selectAll("th").data(t.header).enter().append("th").html((d2) => d2);
|
|
1447
|
+
}
|
|
1448
|
+
for (const inputConfig of t.rows) {
|
|
1449
|
+
const holder = table.append("tr");
|
|
1450
|
+
const input = await initByInput[inputConfig.type](
|
|
1451
|
+
Object.assign(
|
|
1452
|
+
{},
|
|
1453
|
+
{
|
|
1454
|
+
holder,
|
|
1455
|
+
app,
|
|
1456
|
+
dispatch: (action) => app.dispatch(action),
|
|
1457
|
+
id: parent.id,
|
|
1458
|
+
debug: this.opts.debug,
|
|
1459
|
+
parent
|
|
1460
|
+
},
|
|
1461
|
+
inputConfig
|
|
1462
|
+
)
|
|
1463
|
+
);
|
|
1464
|
+
input.main(parent.config);
|
|
1465
|
+
}
|
|
1466
|
+
if (t.customInputs) t.customInputs(this, app, parent, table);
|
|
1467
|
+
table.selectAll("select, input, button").attr("tabindex", 0).on("keydown", this.keyboardNavHandler);
|
|
1468
|
+
}
|
|
1469
|
+
app.tip.showunder(event.target);
|
|
1470
|
+
}
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
// plots/matrix/matrix.xtw.ts
|
|
1474
|
+
var addons;
|
|
1475
|
+
async function getTermGroups(termgroups, app) {
|
|
1476
|
+
const termGroups = structuredClone(termgroups);
|
|
1477
|
+
if (!addons)
|
|
1478
|
+
addons = {
|
|
1479
|
+
QualTWValues: discreteAddons,
|
|
1480
|
+
QualTWPredefinedGS: discreteAddons,
|
|
1481
|
+
QualTWCustomGS: discreteAddons,
|
|
1482
|
+
NumTWRegularBin: discreteAddons,
|
|
1483
|
+
NumTWCustomBin: discreteAddons,
|
|
1484
|
+
NumTWCont: continuousAddons,
|
|
1485
|
+
TermCollectionTWCont: TermCollectionContAddons
|
|
1486
|
+
};
|
|
1487
|
+
const opts = {
|
|
1488
|
+
vocabApi: app.vocabApi,
|
|
1489
|
+
addons
|
|
1490
|
+
};
|
|
1491
|
+
for (const [origIndex, tG] of termGroups.entries()) {
|
|
1492
|
+
tG.origIndex = origIndex;
|
|
1493
|
+
if (tG.type == "hierCluster") continue;
|
|
1494
|
+
const xtwlst = [];
|
|
1495
|
+
for (const tw of tG.lst) {
|
|
1496
|
+
const inputTw = tw.getTw?.() || tw;
|
|
1497
|
+
xtwlst.push(
|
|
1498
|
+
inputTw.type in opts.addons && routedTermTypes.has(inputTw.term.type) ? await TwRouter.init(inputTw, opts) : inputTw
|
|
1499
|
+
);
|
|
1500
|
+
}
|
|
1501
|
+
tG.lst = xtwlst;
|
|
1502
|
+
}
|
|
1503
|
+
return termGroups;
|
|
1504
|
+
}
|
|
1505
|
+
var discreteAddons = {
|
|
1506
|
+
setCellProps: {
|
|
1507
|
+
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1508
|
+
const tw = this.getTw();
|
|
1509
|
+
const key = anno.key;
|
|
1510
|
+
const values = tw.term.values || {};
|
|
1511
|
+
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1512
|
+
const tw$id = tw.$id;
|
|
1513
|
+
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;
|
|
1514
|
+
cell.order = t.ref.bins ? t.ref.bins.findIndex((bin) => bin.name == key) : 0;
|
|
1515
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1516
|
+
cell.y = height * i;
|
|
1517
|
+
const group = tw.legend?.group || tw$id;
|
|
1518
|
+
return { ref: t.ref, group, value: key, entry: { key, label: cell.label, fill: cell.fill } };
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
};
|
|
1522
|
+
var continuousAddons = {
|
|
1523
|
+
setCellProps: {
|
|
1524
|
+
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1525
|
+
const tw = this.getTw();
|
|
1526
|
+
const key = anno.key;
|
|
1527
|
+
const values = tw.term.values || {};
|
|
1528
|
+
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1529
|
+
cell.fill = anno.color || values[anno.key]?.color;
|
|
1530
|
+
const tw$id = tw.$id;
|
|
1531
|
+
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1532
|
+
if (!twSpecificSettings[tw$id]) twSpecificSettings[tw$id] = {};
|
|
1533
|
+
const twSettings = twSpecificSettings[tw$id];
|
|
1534
|
+
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1535
|
+
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1536
|
+
const specialValue = tw.term.values?.[cell.key];
|
|
1537
|
+
if (specialValue?.uncomputable) {
|
|
1538
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1539
|
+
cell.y = height * i;
|
|
1540
|
+
cell.height = twSettings.contBarH;
|
|
1541
|
+
cell.fill = "transparent";
|
|
1542
|
+
cell.label = specialValue.label;
|
|
1543
|
+
const group = tw.legend?.group || tw.$id;
|
|
1544
|
+
return {
|
|
1545
|
+
ref: t.ref,
|
|
1546
|
+
group,
|
|
1547
|
+
value: specialValue.label || specialValue.key,
|
|
1548
|
+
entry: { key, label: cell.label, fill: cell.fill }
|
|
1549
|
+
};
|
|
1550
|
+
}
|
|
1551
|
+
cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.contBarColor || "#555";
|
|
1552
|
+
if (s.transpose) {
|
|
1553
|
+
cell.height = t.scale(cell.key);
|
|
1554
|
+
cell.x = twSettings.contBarGap;
|
|
1555
|
+
} else {
|
|
1556
|
+
const vc = cell.term.valueConversion;
|
|
1557
|
+
let renderV = vc ? cell.key * vc.scaleFactor : cell.key;
|
|
1558
|
+
if (this.q.convert2ZScore) {
|
|
1559
|
+
renderV = (renderV - t.mean) / t.std;
|
|
1560
|
+
cell.fill = renderV > 0 ? "#FF6666" : "#6666FF";
|
|
1561
|
+
cell.zscoreLabel = ` (Z-score: ${renderV.toFixed(2)})`;
|
|
1562
|
+
}
|
|
1563
|
+
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);
|
|
1564
|
+
cell.height = renderV >= 0 ? t.scales.pos(renderV) : t.scales.neg(renderV);
|
|
1565
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1566
|
+
cell.y = renderV >= 0 ? t.counts.posMaxHt + twSettings.contBarGap - cell.height : t.counts.posMaxHt + twSettings.contBarGap;
|
|
1567
|
+
cell.convertedValueLabel = !vc ? "" : convertUnits(cell.key, vc.fromUnit, vc.toUnit, vc.scaleFactor);
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
};
|
|
1572
|
+
var TermCollectionContAddons = {
|
|
1573
|
+
setCellProps: {
|
|
1574
|
+
value: function(cell, anno, value, s, t, self2, width, height, dx, _dy, _i) {
|
|
1575
|
+
const tw = this.getTw();
|
|
1576
|
+
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1577
|
+
if (!twSpecificSettings[tw.$id]) twSpecificSettings[tw.$id] = {};
|
|
1578
|
+
const twSettings = twSpecificSettings[tw.$id];
|
|
1579
|
+
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1580
|
+
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1581
|
+
const isNegative = value.value < 0;
|
|
1582
|
+
if (isNegative) {
|
|
1583
|
+
cell.height = t.scales.neg ? t.scales.neg(value.value) - t.scales.neg(0) : 0;
|
|
1584
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1585
|
+
const cumulativeHeight = t.scales.neg ? t.scales.neg(value.pre_val_sum) - t.scales.neg(0) : 0;
|
|
1586
|
+
cell.y = t.counts.posMaxHt + twSettings.contBarGap + (t.scales.neg ? t.scales.neg(0) : 0) + cumulativeHeight;
|
|
1587
|
+
} else {
|
|
1588
|
+
cell.height = t.scales.pos(value.value) - t.scales.pos(0);
|
|
1589
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1590
|
+
const cumulativeHeight = t.scales.pos(value.pre_val_sum) - t.scales.pos(0);
|
|
1591
|
+
cell.y = t.counts.posMaxHt + twSettings.contBarGap - t.scales.pos(0) - cumulativeHeight - cell.height;
|
|
1592
|
+
}
|
|
1593
|
+
cell.label = value.label;
|
|
1594
|
+
cell.fill = twSettings[value.label]?.color || value.color || tw.term.propsByTermId?.[value.label]?.color;
|
|
1595
|
+
cell.value = value.value;
|
|
1596
|
+
return {
|
|
1597
|
+
ref: t.ref,
|
|
1598
|
+
group: tw.$id,
|
|
1599
|
+
value: value.label,
|
|
1600
|
+
order: -1,
|
|
1601
|
+
entry: { key: value.label, label: value.label, fill: cell.fill }
|
|
1602
|
+
};
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
};
|
|
1606
|
+
|
|
1607
|
+
// plots/matrix/matrix.js
|
|
1608
|
+
var Matrix = class _Matrix extends PlotBase {
|
|
1609
|
+
static type = "matrix";
|
|
1610
|
+
configTermKeys = ["termgroups.lst", "divideBy"];
|
|
1611
|
+
constructor(opts) {
|
|
1612
|
+
super(opts);
|
|
1613
|
+
this.type = _Matrix.type;
|
|
1614
|
+
this.holderTitle = "Sample Matrix";
|
|
1615
|
+
this.optionalFeatures = JSON.parse(sessionStorage.getItem("optionalFeatures") || `{}`)?.matrix || [];
|
|
1616
|
+
setInteractivity(this);
|
|
1617
|
+
setRenderers(this);
|
|
1618
|
+
}
|
|
1619
|
+
async init(appState) {
|
|
1620
|
+
const opts = this.opts;
|
|
1621
|
+
if (opts.reactsTo) this.reactsTo = opts.reactsTo;
|
|
1622
|
+
this.setDom = setMatrixDom;
|
|
1623
|
+
this.setDom(opts);
|
|
1624
|
+
this.config = appState.plots.find((p) => p.id === this.id);
|
|
1625
|
+
this.settings = Object.assign({}, this.config.settings.matrix);
|
|
1626
|
+
this.computed = {};
|
|
1627
|
+
if (this.dom.header) this.dom.header.html(this.config.preBuiltPlotTitle || this.holderTitle);
|
|
1628
|
+
this.setControls(appState);
|
|
1629
|
+
this.clusterRenderer = new MatrixCluster({ holder: this.dom.cluster, app: this.app, parent: this });
|
|
1630
|
+
this.legendRenderer = svgLegend({
|
|
1631
|
+
holder: this.dom.legendG,
|
|
1632
|
+
rectFillFxn: (d) => d.color,
|
|
1633
|
+
iconStroke: "#aaa",
|
|
1634
|
+
handlers: {
|
|
1635
|
+
legend: {
|
|
1636
|
+
click: this.legendClick
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1639
|
+
settings: {
|
|
1640
|
+
isExcludedAttr: "isExcluded"
|
|
1641
|
+
},
|
|
1642
|
+
note: "CLICK A ROW LABEL OR ITEM TO APPLY FILTERING"
|
|
1643
|
+
});
|
|
1644
|
+
this.customTipApi = this.dom.tip.getCustomApi({
|
|
1645
|
+
d: this.dom.menubody,
|
|
1646
|
+
clear: (event) => {
|
|
1647
|
+
if (event?.target) this.dom.menutop.style("display", "none");
|
|
1648
|
+
this.dom.menubody.selectAll("*").remove();
|
|
1649
|
+
return this.customTipApi;
|
|
1650
|
+
},
|
|
1651
|
+
show: () => {
|
|
1652
|
+
this.dom.menubody.style("display", "block");
|
|
1653
|
+
},
|
|
1654
|
+
hide: () => {
|
|
1655
|
+
}
|
|
1656
|
+
});
|
|
1657
|
+
this.setPill(appState);
|
|
1658
|
+
const commonKeys = { mclass, dt2label, morigin };
|
|
1659
|
+
for (const k in commonKeys) {
|
|
1660
|
+
const v = commonKeys[k];
|
|
1661
|
+
this[k] = copyMerge({}, v, appState.termdbConfig[k] || {}, appState.termdbConfig.matrix?.[k] || {});
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
setControls(appState) {
|
|
1665
|
+
this.controlsRenderer = new MatrixControls(
|
|
1666
|
+
{
|
|
1667
|
+
app: this.app,
|
|
1668
|
+
id: this.id,
|
|
1669
|
+
parent: this,
|
|
1670
|
+
holder: this.dom.controls,
|
|
1671
|
+
getSvg: () => this.dom.svg.node()
|
|
1672
|
+
},
|
|
1673
|
+
appState
|
|
1674
|
+
);
|
|
1675
|
+
}
|
|
1676
|
+
// reactsTo(action) {
|
|
1677
|
+
// // note: a parent app or 'plot' component is expected to already have
|
|
1678
|
+
// // a comprehensive reactsTo() call to filter the actions for this component,
|
|
1679
|
+
// // so only farther selective action filters should be applied here as needed
|
|
1680
|
+
// return true
|
|
1681
|
+
// }
|
|
1682
|
+
getState(appState) {
|
|
1683
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1684
|
+
const filter0 = appState.termfilter.filter0;
|
|
1685
|
+
this.prevFilter0 = this.state?.filter0;
|
|
1686
|
+
const parentConfig = appState.plots.find((p) => p.id === this.parentId);
|
|
1687
|
+
const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
|
|
1688
|
+
return {
|
|
1689
|
+
isVisible: true,
|
|
1690
|
+
config,
|
|
1691
|
+
filter: termfilter.filter,
|
|
1692
|
+
filter0,
|
|
1693
|
+
// read-only, invisible filter currently only used for gdc dataset
|
|
1694
|
+
hasVerifiedToken: this.app.vocabApi.hasVerifiedToken(),
|
|
1695
|
+
tokenVerificationMessage: this.app.vocabApi.tokenVerificationMessage,
|
|
1696
|
+
vocab: appState.vocab,
|
|
1697
|
+
termdbConfig: appState.termdbConfig,
|
|
1698
|
+
clusterMethod: config.settings.hierCluster?.clusterMethod,
|
|
1699
|
+
distanceMethod: config.settings.hierCluster?.distanceMethod,
|
|
1700
|
+
clusterSamples: config.settings.hierCluster?.clusterSamples,
|
|
1701
|
+
clusterRows: config.settings.hierCluster?.clusterRows,
|
|
1702
|
+
zScoreTransformation: config.settings.hierCluster?.zScoreTransformation,
|
|
1703
|
+
nav: appState.nav,
|
|
1704
|
+
groups: rebaseGroupFilter(appState)
|
|
1705
|
+
};
|
|
1706
|
+
}
|
|
1707
|
+
async main() {
|
|
1708
|
+
try {
|
|
1709
|
+
this.config = await this.getMutableConfig();
|
|
1710
|
+
if (this.mayRequireToken()) return;
|
|
1711
|
+
const termGroups = await getTermGroups(this.config.termgroups, this.app);
|
|
1712
|
+
const prevTranspose = this.settings.transpose;
|
|
1713
|
+
Object.assign(this.settings, structuredClone(this.config.settings), this.controlsRenderer.getSettings());
|
|
1714
|
+
this.dom.loadingDiv.selectAll("*").remove();
|
|
1715
|
+
this.dom.loadingDiv.html("").style("display", "").style("position", "relative").style("left", "45%");
|
|
1716
|
+
this.dom.svg.style("opacity", 0.1).style("pointer-events", "none");
|
|
1717
|
+
delete this.clickedClusterIds;
|
|
1718
|
+
delete this.clickedLeftClusterIds;
|
|
1719
|
+
try {
|
|
1720
|
+
setComputedConfig(this.config);
|
|
1721
|
+
const promises = [];
|
|
1722
|
+
if (this.setHierClusterData) promises.push(this.setHierClusterData());
|
|
1723
|
+
promises.push(this.setData());
|
|
1724
|
+
this.dom.loadingDiv.html("Processing data ...");
|
|
1725
|
+
await Promise.all(promises);
|
|
1726
|
+
const warnings = this.data.warnings.join("\n");
|
|
1727
|
+
this.dom.warningDiv.style("display", warnings.length ? "" : "none").html(warnings);
|
|
1728
|
+
this.applyLegendValueFilter();
|
|
1729
|
+
if (this.combineData) this.combineData();
|
|
1730
|
+
this.app.save({ type: "plot_edit", id: this.id, config: this.config });
|
|
1731
|
+
} catch (e) {
|
|
1732
|
+
if (e == "no data") {
|
|
1733
|
+
this.showNoMatchingDataMessage();
|
|
1734
|
+
return;
|
|
1735
|
+
} else if (this.app.isAbortError(e)) {
|
|
1736
|
+
return;
|
|
1737
|
+
} else {
|
|
1738
|
+
this.dom.svg.style("display", "none");
|
|
1739
|
+
throw e;
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
this.termGroups = termGroups;
|
|
1743
|
+
this.dom.loadingDiv.html("Updating ...").style("display", "");
|
|
1744
|
+
this.termOrder = this.getTermOrder(this.data);
|
|
1745
|
+
this.sampleGroups = this.getSampleGroups(this.hierClusterSamples || this.data);
|
|
1746
|
+
this.sampleOrder = this.getSampleOrder(this.data);
|
|
1747
|
+
this.setLayout();
|
|
1748
|
+
if (this.setHierColorScale) this.setHierColorScale(this.hierClusterData.clustering);
|
|
1749
|
+
if (!this.sampleOrder?.length) {
|
|
1750
|
+
this.showNoMatchingDataMessage();
|
|
1751
|
+
}
|
|
1752
|
+
this.controlsRenderer.main();
|
|
1753
|
+
this.serieses = this.getSerieses(this.data);
|
|
1754
|
+
this.dom.loadingDiv.html("Rendering ...");
|
|
1755
|
+
if (this.plotDendrogramHclust) this.plotDendrogramHclust();
|
|
1756
|
+
this.render();
|
|
1757
|
+
this.mayDisplayCohortMessage();
|
|
1758
|
+
this.dom.svg.style("display", "").style("opacity", 1).style("pointer-events", "");
|
|
1759
|
+
const [xGrps, yGrps] = !this.settings.matrix.transpose ? ["sampleGrps", "termGrps"] : ["termGrps", "sampleGrps"];
|
|
1760
|
+
const d = this.dimensions;
|
|
1761
|
+
this.clusterRenderer.main({
|
|
1762
|
+
settings: this.settings.matrix,
|
|
1763
|
+
xGrps: this[xGrps],
|
|
1764
|
+
yGrps: this[yGrps],
|
|
1765
|
+
dimensions: d
|
|
1766
|
+
});
|
|
1767
|
+
this.legendRenderer(this.legendData, {
|
|
1768
|
+
settings: Object.assign({}, this.settings.legend, {
|
|
1769
|
+
svgw: Math.max(400, d.mainw + d.xOffset - this.settings.matrix.margin.right),
|
|
1770
|
+
svgh: d.mainh + d.yOffset,
|
|
1771
|
+
dimensions: d,
|
|
1772
|
+
padleft: this.settings.legend.padleft
|
|
1773
|
+
//+ d.xOffset
|
|
1774
|
+
})
|
|
1775
|
+
});
|
|
1776
|
+
await this.adjustSvgDimensions(prevTranspose);
|
|
1777
|
+
this.controlsRenderer.main();
|
|
1778
|
+
if (this.data.removedHierClusterTerms) {
|
|
1779
|
+
for (const r of this.data.removedHierClusterTerms) {
|
|
1780
|
+
sayerror(this.dom.errorDiv, r.text + ": " + r.lst.join(", "));
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
} catch (e) {
|
|
1784
|
+
const message = this.app.vocabApi.tokenVerificationMessage;
|
|
1785
|
+
this.mayRequireToken(message);
|
|
1786
|
+
if (!message) {
|
|
1787
|
+
this.app.tip.hide();
|
|
1788
|
+
this.dom.loadingDiv.style("display", "none");
|
|
1789
|
+
throw e;
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
this.resetInteractions();
|
|
1793
|
+
}
|
|
1794
|
+
showNoMatchingDataMessage() {
|
|
1795
|
+
this.forcedSampleCount = 0;
|
|
1796
|
+
this.dom.svg.style("opacity", 1e-3).style("display", "none");
|
|
1797
|
+
if (this.termOrder && this.dimensions) this.controlsRenderer.main({ sampleCount: 0 });
|
|
1798
|
+
this.dom.loadingDiv.html("");
|
|
1799
|
+
const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
|
|
1800
|
+
div.append("div").style("margin", "5px 10px").html("No matching cohort sample data for the current gene list.");
|
|
1801
|
+
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1802
|
+
const div1 = div.append("div").style("margin", "5px 10px");
|
|
1803
|
+
div1.append("span").html("You may change the selected cohort,");
|
|
1804
|
+
if (this.config.legendGrpFilter?.lst.length || this.config.legendValueFilter?.lst.length) {
|
|
1805
|
+
const cnvBtn = this.controlsRenderer.btns.filter((d) => d.label == "CNV")?.node();
|
|
1806
|
+
if (cnvBtn) {
|
|
1807
|
+
div1.append("br");
|
|
1808
|
+
div1.append("span").html("show hidden ");
|
|
1809
|
+
div1.append("span").html("CNV").style("cursor", "pointer").style("text-decoration", "underline").on("click", () => {
|
|
1810
|
+
cnvBtn.click();
|
|
1811
|
+
});
|
|
1812
|
+
}
|
|
1813
|
+
const mutationBtn = this.controlsRenderer.btns.filter((d) => d.label == "Mutation")?.node();
|
|
1814
|
+
if (cnvBtn && mutationBtn) div1.append("span").html(" or ");
|
|
1815
|
+
if (mutationBtn) {
|
|
1816
|
+
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Mutation").on("click", () => {
|
|
1817
|
+
mutationBtn.click();
|
|
1818
|
+
});
|
|
1819
|
+
}
|
|
1820
|
+
if (cnvBtn || mutationBtn) div1.append("span").html(" data,");
|
|
1821
|
+
}
|
|
1822
|
+
div1.append("br");
|
|
1823
|
+
div1.append("span").html("or edit the gene list from the ");
|
|
1824
|
+
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1825
|
+
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1826
|
+
const i = setInterval(() => {
|
|
1827
|
+
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1828
|
+
return this.innerHTML == "Edit Group";
|
|
1829
|
+
}).node();
|
|
1830
|
+
if (editBtn) {
|
|
1831
|
+
editBtn.click();
|
|
1832
|
+
clearInterval(i);
|
|
1833
|
+
}
|
|
1834
|
+
}, 100);
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1837
|
+
this.dom.svg.style("display", "none");
|
|
1838
|
+
}
|
|
1839
|
+
mayDisplayCohortMessage() {
|
|
1840
|
+
const msg = deepEqual(this.state.filter0, this.prevFilter0) ? "" : "The gene list is persisted across cohorts.";
|
|
1841
|
+
if (msg) {
|
|
1842
|
+
this.dom.loadingDiv.html("");
|
|
1843
|
+
const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
|
|
1844
|
+
div.append("div").html(msg);
|
|
1845
|
+
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1846
|
+
const div1 = div.append("div");
|
|
1847
|
+
div1.append("span").html(" You may edit the gene list from the ");
|
|
1848
|
+
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1849
|
+
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1850
|
+
const i = setInterval(() => {
|
|
1851
|
+
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1852
|
+
return this.innerHTML == "Edit Group";
|
|
1853
|
+
}).node();
|
|
1854
|
+
if (editBtn) {
|
|
1855
|
+
editBtn.click();
|
|
1856
|
+
clearInterval(i);
|
|
1857
|
+
}
|
|
1858
|
+
}, 100);
|
|
1859
|
+
});
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
this.dom.loadingDiv.style("display", msg ? "" : "none");
|
|
1863
|
+
}
|
|
1864
|
+
sampleKey(s) {
|
|
1865
|
+
return s.row.sample;
|
|
1866
|
+
}
|
|
1867
|
+
sampleLabel(s) {
|
|
1868
|
+
return s.label || s.row._ref_.label || "";
|
|
1869
|
+
}
|
|
1870
|
+
sampleGrpKey(s) {
|
|
1871
|
+
return s.grp.name;
|
|
1872
|
+
}
|
|
1873
|
+
sampleGrpLabel(s) {
|
|
1874
|
+
return s.grp.label || s.grp.name || "";
|
|
1875
|
+
}
|
|
1876
|
+
termKey(t) {
|
|
1877
|
+
return t.tw.$id;
|
|
1878
|
+
}
|
|
1879
|
+
termLabel(t) {
|
|
1880
|
+
return t.label;
|
|
1881
|
+
}
|
|
1882
|
+
termGrpKey(t) {
|
|
1883
|
+
return t.grp.name;
|
|
1884
|
+
}
|
|
1885
|
+
termGrpLabel(t) {
|
|
1886
|
+
return t.grp.label || t.grp.name || [{ text: "\u22EE", dx: 3, cls: "sjpp-exclude-svg-download" }];
|
|
1887
|
+
}
|
|
1888
|
+
destroy() {
|
|
1889
|
+
select_default(window).on(`resize.sjpp-${self.id}`, null);
|
|
1890
|
+
}
|
|
1891
|
+
};
|
|
1892
|
+
for (const m of [matrix_data_exports, matrix_groups_exports, matrix_layout_exports, matrix_serieses_exports, matrix_legend_exports]) {
|
|
1893
|
+
for (const methodName in m) {
|
|
1894
|
+
Matrix.prototype[methodName] = m[methodName];
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
var matrixInit = getCompInit(Matrix);
|
|
1898
|
+
var componentInit = matrixInit;
|
|
1899
|
+
function makeChartBtnMenu(holder, chartsInstance) {
|
|
1900
|
+
chartsInstance.dom.tip.clear();
|
|
1901
|
+
const menuDiv = holder.append("div");
|
|
1902
|
+
if (chartsInstance.state.termdbConfig.matrixplots) {
|
|
1903
|
+
for (const plot of chartsInstance.state.termdbConfig.matrixplots) {
|
|
1904
|
+
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 () => {
|
|
1905
|
+
chartsInstance.dom.tip.hide();
|
|
1906
|
+
const config = await chartsInstance.app.vocabApi.getMatrixByName(plot.name);
|
|
1907
|
+
config.preBuiltPlotTitle = plot.name;
|
|
1908
|
+
chartsInstance.app.dispatch({
|
|
1909
|
+
type: "plot_create",
|
|
1910
|
+
config
|
|
1911
|
+
});
|
|
1912
|
+
});
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
const chart = {
|
|
1916
|
+
clickTo: chartsInstance.showTree_selectlst,
|
|
1917
|
+
chartType: "matrix",
|
|
1918
|
+
usecase: { target: "matrix", detail: "termgroups" },
|
|
1919
|
+
processSelection: (lst) => {
|
|
1920
|
+
return [
|
|
1921
|
+
{
|
|
1922
|
+
name: "",
|
|
1923
|
+
lst: lst.map((term) => {
|
|
1924
|
+
return { term };
|
|
1925
|
+
})
|
|
1926
|
+
}
|
|
1927
|
+
];
|
|
1928
|
+
}
|
|
1929
|
+
};
|
|
1930
|
+
chartsInstance.showTree_selectlst(chart);
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
export {
|
|
1934
|
+
Matrix,
|
|
1935
|
+
matrixInit,
|
|
1936
|
+
componentInit,
|
|
1937
|
+
makeChartBtnMenu
|
|
1938
|
+
};
|
|
1939
|
+
//# sourceMappingURL=chunk-23VG37CB.js.map
|