@sjcrh/proteinpaint-client 2.200.0 → 2.201.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-6MNHNHWX.js +1373 -0
- package/dist/AIProjectAdmin-W36NGUX2.js +958 -0
- package/dist/AggregateMatrix-YH2SN6VN.js +671 -0
- package/dist/AggregateMatrix-YH2SN6VN.js.map +7 -0
- package/dist/AppHeader-I5CFECIL.js +835 -0
- package/dist/BoxPlot-4SXDAOBP.js +1218 -0
- package/dist/CorrelationVolcano-NAWMGG4Q.js +619 -0
- package/dist/DE-VZMT7KEM.js +95 -0
- package/dist/DEinput-TKERM2YD.js +409 -0
- package/dist/DifferentialAnalysis-Y4SU4BVP.js +243 -0
- package/dist/Disco-DLK3BYPV.js +3392 -0
- package/dist/Disco.UI-IKGMFG36.js +248 -0
- package/dist/DmrPlot-JWBZJFS6.js +642 -0
- package/dist/GB-3UZSSIBW.js +1396 -0
- package/dist/GSEA-YLHBZY55.js +846 -0
- package/dist/GeneExpInput-KX5I63YV.js +367 -0
- package/dist/Geomap-QTUHM4VH.js +89 -0
- package/dist/HicApp-M2OCHGRT.js +2250 -0
- package/dist/IDCViewer-SWFBLBZH.js +10817 -0
- package/dist/NumBinaryEditor-ILFP6DR7.js +284 -0
- package/dist/NumBinaryEditor-ILFP6DR7.js.map +7 -0
- package/dist/NumBinaryEditor.unit.spec-TNIH7GQB.js +317 -0
- package/dist/NumBinaryEditor.unit.spec-TNIH7GQB.js.map +7 -0
- package/dist/NumContEditor-7UR3QMO6.js +110 -0
- package/dist/NumContEditor-7UR3QMO6.js.map +7 -0
- package/dist/NumContEditor.unit.spec-P67AFEHM.js +169 -0
- package/dist/NumCustomBinEditor-H22J4K47.js +38 -0
- package/dist/NumCustomBinEditor.unit.spec-CO76BQPZ.js +402 -0
- package/dist/NumCustomBinEditor.unit.spec-CO76BQPZ.js.map +7 -0
- package/dist/NumDiscreteEditor-TSUHVX77.js +175 -0
- package/dist/NumDiscreteEditor-TSUHVX77.js.map +7 -0
- package/dist/NumDiscreteEditor.unit.spec-RGC3GT22.js +238 -0
- package/dist/NumDiscreteEditor.unit.spec-RGC3GT22.js.map +7 -0
- package/dist/NumRegularBinEditor-IRD27CE2.js +38 -0
- package/dist/NumRegularBinEditor.unit.spec-MUHVOK5P.js +283 -0
- package/dist/NumRegularBinEditor.unit.spec-MUHVOK5P.js.map +7 -0
- package/dist/NumSplineEditor-3V7RWHE2.js +215 -0
- package/dist/NumSplineEditor-3V7RWHE2.js.map +7 -0
- package/dist/NumSplineEditor.unit.spec-BUI7NPN4.js +229 -0
- package/dist/NumSplineEditor.unit.spec-BUI7NPN4.js.map +7 -0
- package/dist/NumericDensity-53KMCTDL.js +38 -0
- package/dist/NumericDensity.unit.spec-OKAQPQHR.js +423 -0
- package/dist/NumericDensity.unit.spec-OKAQPQHR.js.map +7 -0
- package/dist/NumericHandler-5QFNXVBA.js +39 -0
- package/dist/NumericHandler.unit.spec-OBITSUU3.js +219 -0
- package/dist/ProteomeInput-MM373EL3.js +394 -0
- package/dist/RunChart2-2L6T3ITZ.js +758 -0
- package/dist/SC-JKD3Z2X5.js +1112 -0
- package/dist/Volcano-STGBS7IJ.js +1404 -0
- package/dist/WSIViewer-LOBVUTOD.js +48562 -0
- package/dist/WsiSamplesPlot-D3L3AILR.js +165 -0
- package/dist/adSandbox-XO5HDSFW.js +38 -0
- package/dist/animatedBubbleChart-XKW6TCZP.js +553 -0
- package/dist/app-H7ABTG6X.js +49 -0
- package/dist/app-HJSPIKRQ.js +37 -0
- package/dist/app.js +19 -19
- package/dist/bam-R5QVHWGY.js +859 -0
- package/dist/barchart-OGCLBPQ2.js +47 -0
- package/dist/barchart.data-VBSWS5N7.js +21 -0
- package/dist/barchart.events-GZTY4IC3.js +47 -0
- package/dist/barchart.integration.spec-Z6ECNFSM.js +2243 -0
- package/dist/barchart2-DT42I747.js +314 -0
- package/dist/block-UYYJXSCM.js +6255 -0
- package/dist/block.init-43M53IMA.js +38 -0
- package/dist/block.mds.expressionrank-YH3IWMKM.js +359 -0
- package/dist/block.mds.geneboxplot-QS2IK37X.js +828 -0
- package/dist/block.mds.junction-7FF5BFEX.js +1545 -0
- package/dist/block.mds.svcnv-MMJYLL2W.js +6801 -0
- package/dist/block.svg-SA6DSUM2.js +164 -0
- package/dist/block.tk.aicheck-ZX5LZ2QO.js +283 -0
- package/dist/block.tk.ase-YXT4BOXK.js +365 -0
- package/dist/block.tk.bam-IMLRIOOV.js +1906 -0
- package/dist/block.tk.bedgraphdot-UYQLL7HM.js +384 -0
- package/dist/block.tk.bigwig.ui-WUVLVRSM.js +211 -0
- package/dist/block.tk.hicstraw-N4SJGF7H.js +823 -0
- package/dist/block.tk.junction-LZWHFKWJ.js +2364 -0
- package/dist/block.tk.junction.textmatrixui-B626NYPA.js +199 -0
- package/dist/block.tk.ld-6VWUMAP6.js +99 -0
- package/dist/block.tk.menu-RRN2UPQX.js +1029 -0
- package/dist/block.tk.pgv-GYG3EI6P.js +944 -0
- package/dist/brainImaging-VIMLETC5.js +423 -0
- package/dist/brainRegions-DRYZT5K5.js +221 -0
- package/dist/bubbleHeatmap-Y4SGMVJY.js +383 -0
- package/dist/cellTypeBubbleHeatmap-QW37ZT5W.js +283 -0
- package/dist/chunk-2Y5C7GJS.js +299 -0
- package/dist/chunk-2ZTCRUOL.js +2899 -0
- package/dist/chunk-3O6XFPUB.js +243 -0
- package/dist/chunk-3O6XFPUB.js.map +7 -0
- package/dist/chunk-3P74DH6P.js +236 -0
- package/dist/chunk-3PPCZPLN.js +98 -0
- package/dist/chunk-4H4WJJ2G.js +54 -0
- package/dist/chunk-4L2OSDQ6.js +626 -0
- package/dist/chunk-4USLEUNR.js +1812 -0
- package/dist/chunk-5ITKSTJX.js +34 -0
- package/dist/chunk-5VMYXVZG.js +272 -0
- package/dist/chunk-75T7ESEO.js +61 -0
- package/dist/chunk-75T7ESEO.js.map +7 -0
- package/dist/chunk-7ZVFLC2V.js +134 -0
- package/dist/chunk-A7OWXDYA.js +129 -0
- package/dist/chunk-A7OWXDYA.js.map +7 -0
- package/dist/chunk-C2JHLAKV.js +222 -0
- package/dist/chunk-C2JHLAKV.js.map +7 -0
- package/dist/chunk-C5IAIOCA.js +102 -0
- package/dist/chunk-CIRCVMWE.js +102 -0
- package/dist/chunk-CLTRQZGJ.js +170 -0
- package/dist/chunk-CRH37PEV.js +203 -0
- package/dist/chunk-DCNDZOI3.js +6364 -0
- package/dist/chunk-DCR4QQ5Y.js +194 -0
- package/dist/chunk-DKAHHMKN.js +5070 -0
- package/dist/chunk-E2GHT7RH.js +39 -0
- package/dist/chunk-EQCVSUAF.js +37 -0
- package/dist/chunk-ETK36FXN.js +384 -0
- package/dist/chunk-FCOX5Q4Q.js +58 -0
- package/dist/chunk-FVL37XFU.js +834 -0
- package/dist/chunk-FXQXCOII.js +101 -0
- package/dist/chunk-FXQXCOII.js.map +7 -0
- package/dist/chunk-FXS4I3Z3.js +176 -0
- package/dist/chunk-FYAY6D3O.js +123 -0
- package/dist/chunk-GEQUQ3GG.js +1652 -0
- package/dist/chunk-GEQUQ3GG.js.map +7 -0
- package/dist/chunk-GL44X7JY.js +302 -0
- package/dist/chunk-HQAJVJCQ.js +195 -0
- package/dist/chunk-HQAJVJCQ.js.map +7 -0
- package/dist/chunk-IQVBMLFI.js +446 -0
- package/dist/chunk-IYT5PNYJ.js +148 -0
- package/dist/chunk-J6EP7JPJ.js +1245 -0
- package/dist/chunk-JKMN7XOP.js +1114 -0
- package/dist/chunk-JKMN7XOP.js.map +7 -0
- package/dist/chunk-JLGCQ2F4.js +480 -0
- package/dist/chunk-JQT67SWE.js +263 -0
- package/dist/chunk-JQYPRW42.js +217 -0
- package/dist/chunk-K4IGOJPT.js +160 -0
- package/dist/chunk-K6OVOHIZ.js +21483 -0
- package/dist/chunk-K6OVOHIZ.js.map +7 -0
- package/dist/chunk-KPTPDZX2.js +56 -0
- package/dist/chunk-KTB7KXC2.js +187 -0
- package/dist/chunk-KW7MKBGF.js +2681 -0
- package/dist/chunk-KZFVYDVK.js +448 -0
- package/dist/chunk-L44P5N4U.js +314 -0
- package/dist/chunk-L44P5N4U.js.map +7 -0
- package/dist/chunk-M77DCLJX.js +100 -0
- package/dist/chunk-MFEYO6FB.js +4306 -0
- package/dist/chunk-MFEYO6FB.js.map +7 -0
- package/dist/chunk-MGGAWPTR.js +54 -0
- package/dist/chunk-MKPU5TWN.js +194 -0
- package/dist/chunk-MKPU5TWN.js.map +7 -0
- package/dist/chunk-MUJMZ6W6.js +129 -0
- package/dist/chunk-NRP55BOF.js +50 -0
- package/dist/chunk-O5KFJBU3.js +1942 -0
- package/dist/chunk-Q4AP5L7R.js +1311 -0
- package/dist/chunk-Q4AP5L7R.js.map +7 -0
- package/dist/chunk-QHPN3JJZ.js +55 -0
- package/dist/chunk-QSGXZEUU.js +465 -0
- package/dist/chunk-R3ARQMM4.js +119 -0
- package/dist/chunk-RIQT2LSR.js +479 -0
- package/dist/chunk-RVRRHEUG.js +26 -0
- package/dist/chunk-SOCGXVIL.js +2327 -0
- package/dist/chunk-SZHFBRRT.js +514 -0
- package/dist/chunk-TOYMIFHN.js +381 -0
- package/dist/chunk-TPVHGI7Q.js +368 -0
- package/dist/chunk-TRQUMV4T.js +254 -0
- package/dist/chunk-UFLJ6PRI.js +387 -0
- package/dist/chunk-UFLJ6PRI.js.map +7 -0
- package/dist/chunk-UJN2RH5R.js +411 -0
- package/dist/chunk-UJN2RH5R.js.map +7 -0
- package/dist/chunk-UO7MD3XA.js +556 -0
- package/dist/chunk-UONOFG2J.js +274 -0
- package/dist/chunk-V2DU2OXH.js +1710 -0
- package/dist/chunk-WWXXSQ2M.js +31 -0
- package/dist/chunk-X6VTVZY7.js +263 -0
- package/dist/chunk-X7KRSZQT.js +2784 -0
- package/dist/chunk-XFAL46LZ.js +102 -0
- package/dist/chunk-XFAL46LZ.js.map +7 -0
- package/dist/chunk-XIBY5I6F.js +240 -0
- package/dist/chunk-XIBY5I6F.js.map +7 -0
- package/dist/chunk-XJBSBIZ4.js +70 -0
- package/dist/chunk-XRQWZJJ3.js +347 -0
- package/dist/chunk-XZ4M3QAV.js +158 -0
- package/dist/chunk-YMP4YKBN.js +142 -0
- package/dist/chunk-YUURGVV3.js +275 -0
- package/dist/chunk-Z7VK2AMA.js +292 -0
- package/dist/chunk-ZFJUVP2N.js +787 -0
- package/dist/chunk-ZH7JPYQE.js +14 -0
- package/dist/chunk-ZVDOSFWU.js +276 -0
- package/dist/cohort-CEYVJJ7E.js +75 -0
- package/dist/condition-QSOFP4MY.js +332 -0
- package/dist/controls-QYHARIEY.js +39 -0
- package/dist/controls.config-3OO3JK6E.js +39 -0
- package/dist/correlation-TOI3TMYL.js +102 -0
- package/dist/cuminc-L7OJTYXC.js +1148 -0
- package/dist/cuminc.integration.spec-LSWV3KOF.js +678 -0
- package/dist/customdata.inputui-VMB3HSSC.js +289 -0
- package/dist/dataDownload-NPSWNOAG.js +330 -0
- package/dist/dataDownload.integration.spec-J6FRFLBK.js +193 -0
- package/dist/databrowser.ui-GVYWG6YI.js +432 -0
- package/dist/dictionary-GD67R72W.js +118 -0
- package/dist/dnaMethylation-S7OSGLAF.js +38 -0
- package/dist/dnaMethylation.integration.spec-ETMMJNDE.js +203 -0
- package/dist/dofetch-7GURQS65.js +51 -0
- package/dist/e2pca-ZIIPBJFN.js +350 -0
- package/dist/ep-A2HAL5WA.js +1256 -0
- package/dist/expclust.gdc.spec-ZSILLYNI.js +307 -0
- package/dist/facet-74LKIPTA.js +521 -0
- package/dist/gb-C3MPQXKN.js +88 -0
- package/dist/geneExpClustering-HYCFUUTU.js +249 -0
- package/dist/geneExpression-GATKMJJ5.js +313 -0
- package/dist/geneExpression-JXSAP2H7.js +38 -0
- package/dist/geneExpression.unit.spec-CODZYFHZ.js +102 -0
- package/dist/geneORA-LJRIR4VV.js +278 -0
- package/dist/geneRanking-TWLBKQZG.js +553 -0
- package/dist/geneVariant-35RQHTCK.js +41 -0
- package/dist/geneVariant-TMJJIMUF.js +39 -0
- package/dist/geneVariant.integration.spec-FIQ7IBSD.js +198 -0
- package/dist/genefusion.ui-SOBESSNO.js +308 -0
- package/dist/geneset-JXEJFEK2.js +208 -0
- package/dist/genomeBrowser.spec-25ZO5S2X.js +281 -0
- package/dist/grin2-CW4RPVPI.js +75 -0
- package/dist/grin2-EI5BVP4E.js +1143 -0
- package/dist/hierCluster-OBBPQH24.js +59 -0
- package/dist/hierCluster-SDH3TJQY.js +63 -0
- package/dist/hierCluster.config-DO67TCXI.js +40 -0
- package/dist/hierCluster.integration.spec-EB24C4VZ.js +488 -0
- package/dist/hierCluster.interactivity-LGEAFT5T.js +54 -0
- package/dist/hierCluster.renderers-FXDCU3PN.js +21 -0
- package/dist/imagePlot-LGLFG2QZ.js +163 -0
- package/dist/importPlot-R2WRZGZU.js +8 -0
- package/dist/isoformExpression-KI3WY5M3.js +40 -0
- package/dist/isoformExpression.unit.spec-OQRG2DDU.js +242 -0
- package/dist/junction-6SWFPNM5.js +41 -0
- package/dist/junction.customTerm-MDBOU6I7.js +18 -0
- package/dist/junction.unit.spec-5TZFITSU.js +187 -0
- package/dist/launch.adhoc-HCX2RQLB.js +42 -0
- package/dist/leftlabel.sample-OI6XCXTQ.js +263 -0
- package/dist/lollipop-SOSOYHYL.js +171 -0
- package/dist/maf-73RLOEVN.js +459 -0
- package/dist/maftimeline-UOMLYUNI.js +593 -0
- package/dist/matrix-5QWDN6SI.js +63 -0
- package/dist/matrix-SKPVVDVR.js +58 -0
- package/dist/matrix.cells-CFSI2NWU.js +28 -0
- package/dist/matrix.config-HE64MAL4.js +41 -0
- package/dist/matrix.data-HTUZXQAM.js +25 -0
- package/dist/matrix.groups-ZFKWVNMX.js +27 -0
- package/dist/matrix.integration.spec-YKJ4LZFY.js +3072 -0
- package/dist/matrix.interactivity-YB5G5W5T.js +42 -0
- package/dist/matrix.layout-MFG65V7K.js +44 -0
- package/dist/matrix.legend-7MIZZJVB.js +22 -0
- package/dist/matrix.renderers-PCZFHDDZ.js +38 -0
- package/dist/matrix.serieses-7KYX3KAY.js +21 -0
- package/dist/matrix.sort-CR3J45MQ.js +27 -0
- package/dist/matrix.sort.unit.spec-GEAM5DSU.js +472 -0
- package/dist/matrix.sorterUi-YSKIX6B6.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-2MW64QS5.js +342 -0
- package/dist/mavb-YMHJXCGA.js +732 -0
- package/dist/mds.fimo-PTEDRMLQ.js +518 -0
- package/dist/mds.samplescatterplot-7R7PLVQJ.js +1550 -0
- package/dist/mds.survivalplot-F3EENMFQ.js +483 -0
- package/dist/numericDictTermCluster-3HXLMURH.js +65 -0
- package/dist/oncomatrix-27VVSMZB.js +295 -0
- package/dist/oncomatrix.spec-F43Y7CWN.js +448 -0
- package/dist/plot.2dvaf-MYFQSWIA.js +377 -0
- package/dist/plot.app-36QWCKXR.js +41 -0
- package/dist/plot.barplot-535EP7XT.js +102 -0
- package/dist/plot.boxplot-6IBP7VEB.js +152 -0
- package/dist/plot.brainImaging-M4HPNXZH.js +51 -0
- package/dist/plot.disco-HIT6GR44.js +102 -0
- package/dist/plot.dzi-W66SBKTH.js +33 -0
- package/dist/plot.ssgq-MI2OMCUY.js +139 -0
- package/dist/plot.vaf2cov-F4CBMLRA.js +259 -0
- package/dist/plot.wsi-7M5KTNFC.js +36 -0
- package/dist/polar2-7VSWGT4U.js +237 -0
- package/dist/profileForms-DFPCNJW2.js +940 -0
- package/dist/profilePlot-ECTPPVB2.js +54 -0
- package/dist/proteinView-6ELOLOIU.js +1568 -0
- package/dist/proteomeCohortCompare-V2FMWI62.js +799 -0
- package/dist/pseudbulk.unit.spec-KV6URTXC.js +91 -0
- package/dist/pseudobulk-6ZRFCE65.js +40 -0
- package/dist/qualitative-3B62RUOB.js +43 -0
- package/dist/qualitative-GJDQBD7L.js +220 -0
- package/dist/radar2-4QQER64E.js +332 -0
- package/dist/radarFacility2-MZKORRDY.js +340 -0
- package/dist/regression-GZ2YNX6Y.js +56 -0
- package/dist/regression.inputs-ZEFDNSVT.js +48 -0
- package/dist/regression.inputs.term-O2FQBX7L.js +48 -0
- package/dist/regression.inputs.values.table-63BQKSZP.js +45 -0
- package/dist/regression.integration.spec-KDHC3KDU.js +838 -0
- package/dist/regression.integration.spec-KDHC3KDU.js.map +7 -0
- package/dist/regression.results-5J3QM4RX.js +40 -0
- package/dist/regression.spec-WZAZTDDA.js +708 -0
- package/dist/render-MZTEXVU5.js +38 -0
- package/dist/report-M5TYHH2W.js +222 -0
- package/dist/sampleView-QYTLYJEW.js +48 -0
- package/dist/samplelst-FN3Q7M7A.js +111 -0
- package/dist/samplematrix-Z5FVODO7.js +2198 -0
- package/dist/sc-4CHP5SYP.js +86 -0
- package/dist/scatter-UOPJYXL3.js +890 -0
- package/dist/scatter-UOPJYXL3.js.map +7 -0
- package/dist/selectGenomeWithTklst-WMAHGT4F.js +134 -0
- package/dist/singleCellCellType-XPWENB6V.js +38 -0
- package/dist/singleCellCellType.unit.spec-QK56PHKW.js +159 -0
- package/dist/singleCellGeneExpression-4CEVDVYF.js +38 -0
- package/dist/singleCellGeneExpression.unit.spec-ZYRLBVF5.js +153 -0
- package/dist/singleCellPlot-JS74VUGC.js +54 -0
- package/dist/singlecell-5XYOHMWJ.js +1572 -0
- package/dist/singlecell-OO77XBDD.js +86 -0
- package/dist/snp-X5ZILM5J.js +38 -0
- package/dist/snp.unit.spec-V23G3JLJ.js +176 -0
- package/dist/snplocus-U5UIIUWR.js +208 -0
- package/dist/spliceevent.a53ss.diagram-YDFVSDMT.js +151 -0
- package/dist/spliceevent.exonskip.diagram-VDKN5JBE.js +283 -0
- package/dist/spliceevent.noeventdiagram-EFPFRUFI.js +460 -0
- package/dist/ssGSEA-LKJW5OQK.js +38 -0
- package/dist/ssGSEA.unit.spec-7WCZVEP2.js +88 -0
- package/dist/studyCatalog-EU33KE5H.js +358 -0
- package/dist/summarizeCnvGeneexp-QL25OQNB.js +163 -0
- package/dist/summarizeGeneexpSurvival-B7HTCH7L.js +110 -0
- package/dist/summarizeMutationCnv-DFAPX2JE.js +164 -0
- package/dist/summarizeMutationDiagnosis-HCSDSVII.js +40 -0
- package/dist/summarizeMutationSurvival-6WEASSA2.js +99 -0
- package/dist/summary-BWYXE77G.js +49 -0
- package/dist/summary.integration.spec-AVGSW5MF.js +414 -0
- package/dist/summaryInput-MOQ6HUCX.js +231 -0
- package/dist/sunburst-EZDHVJCL.js +284 -0
- package/dist/survival-5TFMM7NP.js +1239 -0
- package/dist/survival-IEVELTC4.js +58 -0
- package/dist/survival.integration.spec-HHWP3R4H.js +958 -0
- package/dist/svgraph-55XRIYJW.js +1387 -0
- package/dist/svmr-CMEBFSRO.js +3842 -0
- package/dist/table-LTWQ3TLQ.js +200 -0
- package/dist/termCollection-CPQXYBFA.js +38 -0
- package/dist/termCollection-ZWOH273K.js +257 -0
- package/dist/termCollection.unit.spec-RK7VATLU.js +304 -0
- package/dist/termCollectionFractionSelection-Z4ZRW63R.js +47 -0
- package/dist/termCollectionFractionSelection.unit.spec-3CS7DPNU.js +193 -0
- package/dist/tk-4NNTWWLK.js +46 -0
- package/dist/tk-RHWJJXH2.js +1127 -0
- package/dist/tp.ui-DPN5UN6U.js +1459 -0
- package/dist/tvs.density-LMRZZO4D.js +19 -0
- package/dist/tvs.dt-ARPDFRVM.js +39 -0
- package/dist/tvs.dtcnv.categorical-POS6WQK6.js +40 -0
- package/dist/tvs.dtcnv.continuous-5OETJ7JU.js +72 -0
- package/dist/tvs.dtfusion-ERYVI3DW.js +40 -0
- package/dist/tvs.dtitd-KTZZYEWU.js +40 -0
- package/dist/tvs.dtsnvindel-TGUAX3RN.js +40 -0
- package/dist/tvs.dtsv-AM63OIL6.js +40 -0
- package/dist/tvs.numeric-MQPO5XUQ.js +22 -0
- package/dist/tvs.samplelst-VW2NOQ2C.js +104 -0
- package/dist/tvs.termCollection-O4ZSWJFA.js +129 -0
- package/dist/violin-ZQ3DEYGR.js +46 -0
- package/dist/violin.integration.spec-PVEF77HB.js +1425 -0
- package/dist/violin.interactivity-FYU4TCFO.js +38 -0
- package/dist/violin.renderer-XAERGBMV.js +40 -0
- package/dist/vocabulary-ECJX27W2.js +41 -0
- package/package.json +3 -3
- package/dist/2dmaf-RRV3ORZR.js +0 -1373
- package/dist/AIProjectAdmin-DKLEFCGX.js +0 -958
- package/dist/AppHeader-WQ2F7HZY.js +0 -835
- package/dist/BoxPlot-5JQCYENZ.js +0 -1218
- package/dist/CorrelationVolcano-HR6IP2SZ.js +0 -619
- package/dist/DE-DAW6ZKM7.js +0 -95
- package/dist/DEinput-XCR4VMR3.js +0 -409
- package/dist/DifferentialAnalysis-SETJAZEN.js +0 -243
- package/dist/Disco-QEBEVQS2.js +0 -3392
- package/dist/Disco.UI-OYVL7UBI.js +0 -248
- package/dist/DmrPlot-CWBQDZL7.js +0 -642
- package/dist/GB-5PYCR4SV.js +0 -1396
- package/dist/GSEA-6UKMI6GY.js +0 -846
- package/dist/GeneExpInput-2N62XM7Z.js +0 -367
- package/dist/Geomap-ANMR32HE.js +0 -89
- package/dist/HicApp-WHPUPHEM.js +0 -2250
- package/dist/IDCViewer-FWXRE4AX.js +0 -10817
- package/dist/NumBinaryEditor-VG5KOGDA.js +0 -271
- package/dist/NumBinaryEditor-VG5KOGDA.js.map +0 -7
- package/dist/NumBinaryEditor.unit.spec-UCGFZS3P.js +0 -286
- package/dist/NumBinaryEditor.unit.spec-UCGFZS3P.js.map +0 -7
- package/dist/NumContEditor-J52RON3G.js +0 -109
- package/dist/NumContEditor-J52RON3G.js.map +0 -7
- package/dist/NumContEditor.unit.spec-5GTWUJEL.js +0 -169
- package/dist/NumCustomBinEditor-GM2OJMOX.js +0 -38
- package/dist/NumCustomBinEditor.unit.spec-3PGJ25J4.js +0 -284
- package/dist/NumCustomBinEditor.unit.spec-3PGJ25J4.js.map +0 -7
- package/dist/NumDiscreteEditor-2CAKT3Y4.js +0 -179
- package/dist/NumDiscreteEditor-2CAKT3Y4.js.map +0 -7
- package/dist/NumDiscreteEditor.unit.spec-XCWSJTRT.js +0 -202
- package/dist/NumDiscreteEditor.unit.spec-XCWSJTRT.js.map +0 -7
- package/dist/NumRegularBinEditor-CZYITY5L.js +0 -38
- package/dist/NumRegularBinEditor.unit.spec-OUBZ5XB3.js +0 -227
- package/dist/NumRegularBinEditor.unit.spec-OUBZ5XB3.js.map +0 -7
- package/dist/NumSplineEditor-TWRL5AQQ.js +0 -198
- package/dist/NumSplineEditor-TWRL5AQQ.js.map +0 -7
- package/dist/NumSplineEditor.unit.spec-5P6NQZ3N.js +0 -199
- package/dist/NumSplineEditor.unit.spec-5P6NQZ3N.js.map +0 -7
- package/dist/NumericDensity-JSOFOEH2.js +0 -38
- package/dist/NumericDensity.unit.spec-REUKHMKK.js +0 -221
- package/dist/NumericDensity.unit.spec-REUKHMKK.js.map +0 -7
- package/dist/NumericHandler-UZOGKPKB.js +0 -39
- package/dist/NumericHandler.unit.spec-X2DAED4O.js +0 -219
- package/dist/ProteomeInput-GBVCLNS7.js +0 -394
- package/dist/RunChart2-N4JPWNVV.js +0 -758
- package/dist/SC-RCZT5BRP.js +0 -1112
- package/dist/Volcano-2BQ6SYHO.js +0 -1404
- package/dist/WSIViewer-UDA4WIRT.js +0 -48562
- package/dist/WsiSamplesPlot-DYSFMD22.js +0 -165
- package/dist/adSandbox-5BUDCAER.js +0 -38
- package/dist/animatedBubbleChart-N6MBJ4X3.js +0 -553
- package/dist/app-O64TGDFH.js +0 -37
- package/dist/app-Y2STUISK.js +0 -49
- package/dist/bam-2EOABVGT.js +0 -859
- package/dist/barchart-UHCTYRMJ.js +0 -47
- package/dist/barchart.data-LSK2P2PR.js +0 -21
- package/dist/barchart.events-Y4H2GADS.js +0 -47
- package/dist/barchart.integration.spec-BFGZFECA.js +0 -2243
- package/dist/barchart2-VIZKZRMP.js +0 -314
- package/dist/block-BGSSF6XP.js +0 -6255
- package/dist/block.init-H7RKUIHG.js +0 -38
- package/dist/block.mds.expressionrank-MA3HGT7S.js +0 -359
- package/dist/block.mds.geneboxplot-CWT5DM5T.js +0 -828
- package/dist/block.mds.junction-P4I7O73X.js +0 -1545
- package/dist/block.mds.svcnv-NSPEY43S.js +0 -6801
- package/dist/block.svg-DP4G3LNQ.js +0 -164
- package/dist/block.tk.aicheck-EBLTOWKZ.js +0 -283
- package/dist/block.tk.ase-X7WKQOFS.js +0 -365
- package/dist/block.tk.bam-OIP3TS3N.js +0 -1906
- package/dist/block.tk.bedgraphdot-2DDF55J3.js +0 -384
- package/dist/block.tk.bigwig.ui-S2SMAEXM.js +0 -211
- package/dist/block.tk.hicstraw-4OIG4TBZ.js +0 -823
- package/dist/block.tk.junction-52OWEQUN.js +0 -2364
- package/dist/block.tk.junction.textmatrixui-64YOSZLW.js +0 -199
- package/dist/block.tk.ld-3AMNHBDY.js +0 -99
- package/dist/block.tk.menu-4724DJXL.js +0 -1029
- package/dist/block.tk.pgv-2SIOPWYI.js +0 -944
- package/dist/brainImaging-D43CQQN6.js +0 -423
- package/dist/brainRegions-HJ2VGL3L.js +0 -221
- package/dist/bubbleHeatmap-IL44M4QZ.js +0 -383
- package/dist/cellTypeBubbleHeatmap-NQP7RCZO.js +0 -283
- package/dist/chunk-26APRXD3.js +0 -254
- package/dist/chunk-2GLA2SWU.js +0 -160
- package/dist/chunk-3BGFM7Q4.js +0 -1275
- package/dist/chunk-3BGFM7Q4.js.map +0 -7
- package/dist/chunk-3SHZTAGF.js +0 -193
- package/dist/chunk-3SHZTAGF.js.map +0 -7
- package/dist/chunk-46X6AQ7Z.js +0 -123
- package/dist/chunk-4HZN6PMU.js +0 -129
- package/dist/chunk-4KRGCOTL.js +0 -479
- package/dist/chunk-5DMVORBB.js +0 -98
- package/dist/chunk-5QMBB4SK.js +0 -1245
- package/dist/chunk-5RVA43MN.js +0 -274
- package/dist/chunk-5T3MOOEJ.js +0 -379
- package/dist/chunk-5T3MOOEJ.js.map +0 -7
- package/dist/chunk-5T3ZDRTS.js +0 -70
- package/dist/chunk-5ZTVJSYI.js +0 -834
- package/dist/chunk-6JYQGZ3Y.js +0 -446
- package/dist/chunk-6OUBUUC2.js +0 -626
- package/dist/chunk-6PNPHACF.js +0 -1652
- package/dist/chunk-6PNPHACF.js.map +0 -7
- package/dist/chunk-7JRDJNLR.js +0 -263
- package/dist/chunk-7PIHRWGG.js +0 -102
- package/dist/chunk-7PJNKPQB.js +0 -275
- package/dist/chunk-AGLAYNXP.js +0 -170
- package/dist/chunk-B7VDZ6VF.js +0 -399
- package/dist/chunk-B7VDZ6VF.js.map +0 -7
- package/dist/chunk-BGTBRAJ6.js +0 -50
- package/dist/chunk-BNAO6N5X.js +0 -2899
- package/dist/chunk-BQHPJY2M.js +0 -347
- package/dist/chunk-BZTWTH4Y.js +0 -87
- package/dist/chunk-BZTWTH4Y.js.map +0 -7
- package/dist/chunk-CY4RQ5L6.js +0 -1710
- package/dist/chunk-D565DNJD.js +0 -236
- package/dist/chunk-DH3LAQKT.js +0 -384
- package/dist/chunk-E3VF4RHJ.js +0 -381
- package/dist/chunk-EGPNRSPF.js +0 -292
- package/dist/chunk-FACITNG5.js +0 -142
- package/dist/chunk-GNS6CQMA.js +0 -119
- package/dist/chunk-H3N4KYKL.js +0 -2327
- package/dist/chunk-H3VWJH4U.js +0 -14
- package/dist/chunk-HEVKBSN6.js +0 -222
- package/dist/chunk-HEVKBSN6.js.map +0 -7
- package/dist/chunk-HQUYAZQY.js +0 -514
- package/dist/chunk-IUBBQPO2.js +0 -146
- package/dist/chunk-IUBBQPO2.js.map +0 -7
- package/dist/chunk-J4USU73L.js +0 -26
- package/dist/chunk-JNITUVXP.js +0 -41
- package/dist/chunk-JNITUVXP.js.map +0 -7
- package/dist/chunk-JVPWIVDT.js +0 -1812
- package/dist/chunk-KU7YH7MV.js +0 -217
- package/dist/chunk-KZILNGAV.js +0 -187
- package/dist/chunk-LSEFWW72.js +0 -94
- package/dist/chunk-LSEFWW72.js.map +0 -7
- package/dist/chunk-M66VDGSH.js +0 -272
- package/dist/chunk-MJN6RDXB.js +0 -302
- package/dist/chunk-MPNEZ6EL.js +0 -31
- package/dist/chunk-MPSLUEI4.js +0 -314
- package/dist/chunk-MPSLUEI4.js.map +0 -7
- package/dist/chunk-NIXFCC7X.js +0 -368
- package/dist/chunk-NODQZTWK.js +0 -276
- package/dist/chunk-NRYHIWBS.js +0 -1942
- package/dist/chunk-NUWJ4RN7.js +0 -465
- package/dist/chunk-NVTJ5AUT.js +0 -1102
- package/dist/chunk-NVTJ5AUT.js.map +0 -7
- package/dist/chunk-NZRMHM76.js +0 -158
- package/dist/chunk-OOWXMY7U.js +0 -55
- package/dist/chunk-OTTMHVYH.js +0 -787
- package/dist/chunk-QDX2XUNF.js +0 -58
- package/dist/chunk-QYXCHZ6U.js +0 -4282
- package/dist/chunk-QYXCHZ6U.js.map +0 -7
- package/dist/chunk-R6NM2HSH.js +0 -556
- package/dist/chunk-RJOY6A74.js +0 -56
- package/dist/chunk-ROMW4AK2.js +0 -102
- package/dist/chunk-RR5U35N7.js +0 -230
- package/dist/chunk-RR5U35N7.js.map +0 -7
- package/dist/chunk-RVKADD4L.js +0 -148
- package/dist/chunk-S5ZCK44Z.js +0 -54
- package/dist/chunk-SNRIVNQ3.js +0 -176
- package/dist/chunk-STI7BO3P.js +0 -2681
- package/dist/chunk-TAM7UCAI.js +0 -263
- package/dist/chunk-TDKMBQSM.js +0 -5070
- package/dist/chunk-TKW5TW4Z.js +0 -21449
- package/dist/chunk-TKW5TW4Z.js.map +0 -7
- package/dist/chunk-TQTYW66I.js +0 -2784
- package/dist/chunk-U3NTH4CS.js +0 -54
- package/dist/chunk-UEGQVQD6.js +0 -34
- package/dist/chunk-ULESDMUT.js +0 -480
- package/dist/chunk-UUKSL7QC.js +0 -134
- package/dist/chunk-VUPWQCDR.js +0 -194
- package/dist/chunk-W76X6W73.js +0 -100
- package/dist/chunk-W7OS7BNM.js +0 -203
- package/dist/chunk-WKNI3HRQ.js +0 -39
- package/dist/chunk-WTTD6DUL.js +0 -6364
- package/dist/chunk-WXPFMVU6.js +0 -299
- package/dist/chunk-XNWUI5VL.js +0 -37
- package/dist/chunk-YBLTSYQV.js +0 -216
- package/dist/chunk-YBLTSYQV.js.map +0 -7
- package/dist/chunk-Z7VDFWIP.js +0 -126
- package/dist/chunk-Z7VDFWIP.js.map +0 -7
- package/dist/chunk-ZEKIUYN3.js +0 -448
- package/dist/cohort-OWLNJZVH.js +0 -75
- package/dist/condition-L2IXP6WH.js +0 -332
- package/dist/controls-2S5QVWUC.js +0 -39
- package/dist/controls.config-3AJKR4ZZ.js +0 -39
- package/dist/correlation-DXTAWSLU.js +0 -102
- package/dist/cuminc-WQB6FHVS.js +0 -1148
- package/dist/cuminc.integration.spec-WAYRLHUH.js +0 -678
- package/dist/customdata.inputui-7WH2NJGB.js +0 -289
- package/dist/dataDownload-HM4UYOBO.js +0 -330
- package/dist/dataDownload.integration.spec-F5CO4BWA.js +0 -193
- package/dist/databrowser.ui-E2YOG3L4.js +0 -432
- package/dist/dictionary-EEPTFDYD.js +0 -118
- package/dist/dnaMethylation-N3WNK6XA.js +0 -38
- package/dist/dnaMethylation.integration.spec-AIYRTFMR.js +0 -203
- package/dist/dofetch-YKYPEJTQ.js +0 -51
- package/dist/e2pca-JEZIGVB2.js +0 -350
- package/dist/ep-5FMH2MLV.js +0 -1256
- package/dist/expclust.gdc.spec-FR26VSUA.js +0 -307
- package/dist/facet-5YYY3MUN.js +0 -521
- package/dist/gb-WGEVO7L2.js +0 -88
- package/dist/geneExpClustering-DHE6XJHV.js +0 -249
- package/dist/geneExpression-5NWQXMJ3.js +0 -313
- package/dist/geneExpression-VWUMM2LU.js +0 -38
- package/dist/geneExpression.unit.spec-HBU3WTZ4.js +0 -102
- package/dist/geneORA-3VWFWDYI.js +0 -278
- package/dist/geneRanking-PKDVD5OD.js +0 -553
- package/dist/geneVariant-IFIJQXH4.js +0 -39
- package/dist/geneVariant-WZSOG4GI.js +0 -41
- package/dist/geneVariant.integration.spec-6KQMWVHR.js +0 -198
- package/dist/genefusion.ui-C4NTALL3.js +0 -308
- package/dist/geneset-RJAULSKC.js +0 -208
- package/dist/genomeBrowser.spec-42OTTMGO.js +0 -281
- package/dist/grin2-26O6YDDY.js +0 -75
- package/dist/grin2-FT5BQJMB.js +0 -1143
- package/dist/hierCluster-GJPPMFNR.js +0 -59
- package/dist/hierCluster-HMJF3PBE.js +0 -63
- package/dist/hierCluster.config-TAS7XKTU.js +0 -40
- package/dist/hierCluster.integration.spec-RLHQKX65.js +0 -488
- package/dist/hierCluster.interactivity-IKTAJ6CU.js +0 -54
- package/dist/hierCluster.renderers-I6WFZRNW.js +0 -21
- package/dist/imagePlot-N4OXNMVA.js +0 -163
- package/dist/importPlot-VMYXDP66.js +0 -8
- package/dist/isoformExpression-2KV64KMN.js +0 -40
- package/dist/isoformExpression.unit.spec-RG2VWEMG.js +0 -242
- package/dist/junction-VO4IGMW2.js +0 -41
- package/dist/junction.customTerm-EFMHHVWA.js +0 -18
- package/dist/junction.unit.spec-NB24MR2B.js +0 -187
- package/dist/launch.adhoc-R3MO3VXK.js +0 -42
- package/dist/leftlabel.sample-SI6KMULD.js +0 -263
- package/dist/lollipop-XIVE4ANX.js +0 -171
- package/dist/maf-WRHD4OJF.js +0 -459
- package/dist/maftimeline-IE6YKV7Y.js +0 -593
- package/dist/matrix-ALBCAZP5.js +0 -58
- package/dist/matrix-W72XRUZD.js +0 -63
- package/dist/matrix.cells-DEEUWC74.js +0 -28
- package/dist/matrix.config-JYXQOXDT.js +0 -41
- package/dist/matrix.data-ENXNM6RP.js +0 -25
- package/dist/matrix.groups-EXSNNESB.js +0 -27
- package/dist/matrix.integration.spec-BW6U6PIW.js +0 -3072
- package/dist/matrix.interactivity-G6AL566T.js +0 -42
- package/dist/matrix.layout-UBUPIJ3R.js +0 -44
- package/dist/matrix.legend-S3P4F2DG.js +0 -22
- package/dist/matrix.renderers-IXFGXHJQ.js +0 -38
- package/dist/matrix.serieses-THHXUAPM.js +0 -21
- package/dist/matrix.sort-WJV6LIZI.js +0 -27
- package/dist/matrix.sort.unit.spec-LGMIL2LR.js +0 -472
- package/dist/matrix.sorterUi-VXVCOKEZ.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-CWSEJ62U.js +0 -342
- package/dist/mavb-SXGKASQ5.js +0 -732
- package/dist/mds.fimo-EDOT3TDN.js +0 -518
- package/dist/mds.samplescatterplot-IXHNABKB.js +0 -1550
- package/dist/mds.survivalplot-KTTMHHII.js +0 -483
- package/dist/numericDictTermCluster-H4JSPW22.js +0 -65
- package/dist/oncomatrix-O4EMNUOT.js +0 -295
- package/dist/oncomatrix.spec-BME6CQWF.js +0 -448
- package/dist/plot.2dvaf-FDM4KXGT.js +0 -377
- package/dist/plot.app-UNUXG7ND.js +0 -41
- package/dist/plot.barplot-R333TMG2.js +0 -102
- package/dist/plot.boxplot-KQTYGUN3.js +0 -152
- package/dist/plot.brainImaging-YBYMHCEG.js +0 -51
- package/dist/plot.disco-CMDKRSOM.js +0 -102
- package/dist/plot.dzi-YAZA6RQS.js +0 -33
- package/dist/plot.ssgq-YKCOEXZP.js +0 -139
- package/dist/plot.vaf2cov-3TLMTFZS.js +0 -259
- package/dist/plot.wsi-7ADVYTQS.js +0 -36
- package/dist/polar2-O5SHVLP4.js +0 -237
- package/dist/profileForms-RLB6SMPQ.js +0 -940
- package/dist/profilePlot-AP52VLLO.js +0 -54
- package/dist/proteinView-S7WDBMQU.js +0 -1568
- package/dist/proteomeCohortCompare-ERVUM7RO.js +0 -799
- package/dist/pseudbulk.unit.spec-VSH7IM3R.js +0 -91
- package/dist/pseudobulk-7UKRLKQI.js +0 -40
- package/dist/qualitative-2D7MC4V5.js +0 -43
- package/dist/qualitative-2INAKDTJ.js +0 -220
- package/dist/radar2-ELVGQFZE.js +0 -332
- package/dist/radarFacility2-SDAZHGNG.js +0 -340
- package/dist/regression-CE54AQMY.js +0 -56
- package/dist/regression.inputs-SMC5CNPY.js +0 -48
- package/dist/regression.inputs.term-XS54IQC2.js +0 -48
- package/dist/regression.inputs.values.table-LNPM3MX5.js +0 -45
- package/dist/regression.integration.spec-6QSMYPWJ.js +0 -784
- package/dist/regression.integration.spec-6QSMYPWJ.js.map +0 -7
- package/dist/regression.results-25ZRRDEE.js +0 -40
- package/dist/regression.spec-EDWHFRPY.js +0 -708
- package/dist/render-SEB6GFXQ.js +0 -38
- package/dist/report-U6L3KBYG.js +0 -222
- package/dist/sampleView-QAAJ26KT.js +0 -48
- package/dist/samplelst-KYRXJSZN.js +0 -111
- package/dist/samplematrix-STLF2QA5.js +0 -2198
- package/dist/sc-HL6YSMDX.js +0 -86
- package/dist/scatter-BSGDMOC2.js +0 -851
- package/dist/scatter-BSGDMOC2.js.map +0 -7
- package/dist/selectGenomeWithTklst-4NHQDTE6.js +0 -134
- package/dist/singleCellCellType-3E2IU42J.js +0 -38
- package/dist/singleCellCellType.unit.spec-MC7ZRSMW.js +0 -159
- package/dist/singleCellGeneExpression-53UUGYTK.js +0 -38
- package/dist/singleCellGeneExpression.unit.spec-QSLTXHFE.js +0 -153
- package/dist/singleCellPlot-JDSARDRV.js +0 -54
- package/dist/singlecell-IJR7BJYT.js +0 -1572
- package/dist/singlecell-OK6GJFWL.js +0 -86
- package/dist/snp-H4KJEEOE.js +0 -38
- package/dist/snp.unit.spec-2Y4A3XYI.js +0 -176
- package/dist/snplocus-4GG6VTWX.js +0 -208
- package/dist/spliceevent.a53ss.diagram-JZNRC5UC.js +0 -151
- package/dist/spliceevent.exonskip.diagram-H54N7ZKY.js +0 -283
- package/dist/spliceevent.noeventdiagram-II753XAK.js +0 -460
- package/dist/ssGSEA-JPJ3C4JI.js +0 -38
- package/dist/ssGSEA.unit.spec-45F5OCDK.js +0 -88
- package/dist/studyCatalog-O3VGIKDM.js +0 -358
- package/dist/summarizeCnvGeneexp-55DNXHXA.js +0 -163
- package/dist/summarizeGeneexpSurvival-VLO4DC5M.js +0 -110
- package/dist/summarizeMutationCnv-QX7BADYL.js +0 -164
- package/dist/summarizeMutationDiagnosis-MHFM7RX6.js +0 -40
- package/dist/summarizeMutationSurvival-G4KHSUBN.js +0 -99
- package/dist/summary-PJYRCQNY.js +0 -49
- package/dist/summary.integration.spec-KPKROD6L.js +0 -414
- package/dist/summaryInput-TOAL53EP.js +0 -231
- package/dist/sunburst-IGIV2RBE.js +0 -284
- package/dist/survival-DINCIWW7.js +0 -58
- package/dist/survival-RKV5BPDK.js +0 -1239
- package/dist/survival.integration.spec-7ZYBBZKT.js +0 -958
- package/dist/svgraph-EUEZWGVR.js +0 -1387
- package/dist/svmr-B24LODSC.js +0 -3842
- package/dist/table-XSJJ3UZV.js +0 -200
- package/dist/termCollection-IAB3425K.js +0 -38
- package/dist/termCollection-LGEGHZSJ.js +0 -257
- package/dist/termCollection.unit.spec-4TIRHC44.js +0 -304
- package/dist/termCollectionFractionSelection-35YKAOUY.js +0 -47
- package/dist/termCollectionFractionSelection.unit.spec-SUFEIKJZ.js +0 -193
- package/dist/tk-25EJJDRK.js +0 -46
- package/dist/tk-4E3XJ7CO.js +0 -1127
- package/dist/tp.ui-VGA62NFM.js +0 -1459
- package/dist/tvs.density-G56327WY.js +0 -19
- package/dist/tvs.dt-DFW36WKO.js +0 -39
- package/dist/tvs.dtcnv.categorical-ZP33EO3A.js +0 -40
- package/dist/tvs.dtcnv.continuous-FJTMQF4J.js +0 -72
- package/dist/tvs.dtfusion-FTDQWNKM.js +0 -40
- package/dist/tvs.dtitd-W5VEECJ2.js +0 -40
- package/dist/tvs.dtsnvindel-UOXSLCDZ.js +0 -40
- package/dist/tvs.dtsv-HWCPRVBO.js +0 -40
- package/dist/tvs.numeric-7TGKWQYU.js +0 -22
- package/dist/tvs.samplelst-OWD22ITS.js +0 -104
- package/dist/tvs.termCollection-27BWABYK.js +0 -129
- package/dist/violin-2IAVZGFF.js +0 -46
- package/dist/violin.integration.spec-JVODKUCL.js +0 -1425
- package/dist/violin.interactivity-STOCZMVN.js +0 -38
- package/dist/violin.renderer-MKDTJ3EX.js +0 -40
- package/dist/vocabulary-4IHU6DNN.js +0 -41
- /package/dist/{2dmaf-RRV3ORZR.js.map → 2dmaf-6MNHNHWX.js.map} +0 -0
- /package/dist/{AIProjectAdmin-DKLEFCGX.js.map → AIProjectAdmin-W36NGUX2.js.map} +0 -0
- /package/dist/{AppHeader-WQ2F7HZY.js.map → AppHeader-I5CFECIL.js.map} +0 -0
- /package/dist/{BoxPlot-5JQCYENZ.js.map → BoxPlot-4SXDAOBP.js.map} +0 -0
- /package/dist/{CorrelationVolcano-HR6IP2SZ.js.map → CorrelationVolcano-NAWMGG4Q.js.map} +0 -0
- /package/dist/{DE-DAW6ZKM7.js.map → DE-VZMT7KEM.js.map} +0 -0
- /package/dist/{DEinput-XCR4VMR3.js.map → DEinput-TKERM2YD.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-SETJAZEN.js.map → DifferentialAnalysis-Y4SU4BVP.js.map} +0 -0
- /package/dist/{Disco-QEBEVQS2.js.map → Disco-DLK3BYPV.js.map} +0 -0
- /package/dist/{Disco.UI-OYVL7UBI.js.map → Disco.UI-IKGMFG36.js.map} +0 -0
- /package/dist/{DmrPlot-CWBQDZL7.js.map → DmrPlot-JWBZJFS6.js.map} +0 -0
- /package/dist/{GB-5PYCR4SV.js.map → GB-3UZSSIBW.js.map} +0 -0
- /package/dist/{GSEA-6UKMI6GY.js.map → GSEA-YLHBZY55.js.map} +0 -0
- /package/dist/{GeneExpInput-2N62XM7Z.js.map → GeneExpInput-KX5I63YV.js.map} +0 -0
- /package/dist/{Geomap-ANMR32HE.js.map → Geomap-QTUHM4VH.js.map} +0 -0
- /package/dist/{HicApp-WHPUPHEM.js.map → HicApp-M2OCHGRT.js.map} +0 -0
- /package/dist/{IDCViewer-FWXRE4AX.js.map → IDCViewer-SWFBLBZH.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-5GTWUJEL.js.map → NumContEditor.unit.spec-P67AFEHM.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-GM2OJMOX.js.map → NumCustomBinEditor-H22J4K47.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-CZYITY5L.js.map → NumRegularBinEditor-IRD27CE2.js.map} +0 -0
- /package/dist/{NumericDensity-JSOFOEH2.js.map → NumericDensity-53KMCTDL.js.map} +0 -0
- /package/dist/{NumericHandler-UZOGKPKB.js.map → NumericHandler-5QFNXVBA.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-X2DAED4O.js.map → NumericHandler.unit.spec-OBITSUU3.js.map} +0 -0
- /package/dist/{ProteomeInput-GBVCLNS7.js.map → ProteomeInput-MM373EL3.js.map} +0 -0
- /package/dist/{RunChart2-N4JPWNVV.js.map → RunChart2-2L6T3ITZ.js.map} +0 -0
- /package/dist/{SC-RCZT5BRP.js.map → SC-JKD3Z2X5.js.map} +0 -0
- /package/dist/{Volcano-2BQ6SYHO.js.map → Volcano-STGBS7IJ.js.map} +0 -0
- /package/dist/{WSIViewer-UDA4WIRT.js.map → WSIViewer-LOBVUTOD.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-DYSFMD22.js.map → WsiSamplesPlot-D3L3AILR.js.map} +0 -0
- /package/dist/{adSandbox-5BUDCAER.js.map → adSandbox-XO5HDSFW.js.map} +0 -0
- /package/dist/{animatedBubbleChart-N6MBJ4X3.js.map → animatedBubbleChart-XKW6TCZP.js.map} +0 -0
- /package/dist/{app-O64TGDFH.js.map → app-H7ABTG6X.js.map} +0 -0
- /package/dist/{app-Y2STUISK.js.map → app-HJSPIKRQ.js.map} +0 -0
- /package/dist/{bam-2EOABVGT.js.map → bam-R5QVHWGY.js.map} +0 -0
- /package/dist/{barchart-UHCTYRMJ.js.map → barchart-OGCLBPQ2.js.map} +0 -0
- /package/dist/{barchart.data-LSK2P2PR.js.map → barchart.data-VBSWS5N7.js.map} +0 -0
- /package/dist/{barchart.events-Y4H2GADS.js.map → barchart.events-GZTY4IC3.js.map} +0 -0
- /package/dist/{barchart.integration.spec-BFGZFECA.js.map → barchart.integration.spec-Z6ECNFSM.js.map} +0 -0
- /package/dist/{barchart2-VIZKZRMP.js.map → barchart2-DT42I747.js.map} +0 -0
- /package/dist/{block-BGSSF6XP.js.map → block-UYYJXSCM.js.map} +0 -0
- /package/dist/{block.init-H7RKUIHG.js.map → block.init-43M53IMA.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-MA3HGT7S.js.map → block.mds.expressionrank-YH3IWMKM.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-CWT5DM5T.js.map → block.mds.geneboxplot-QS2IK37X.js.map} +0 -0
- /package/dist/{block.mds.junction-P4I7O73X.js.map → block.mds.junction-7FF5BFEX.js.map} +0 -0
- /package/dist/{block.mds.svcnv-NSPEY43S.js.map → block.mds.svcnv-MMJYLL2W.js.map} +0 -0
- /package/dist/{block.svg-DP4G3LNQ.js.map → block.svg-SA6DSUM2.js.map} +0 -0
- /package/dist/{block.tk.aicheck-EBLTOWKZ.js.map → block.tk.aicheck-ZX5LZ2QO.js.map} +0 -0
- /package/dist/{block.tk.ase-X7WKQOFS.js.map → block.tk.ase-YXT4BOXK.js.map} +0 -0
- /package/dist/{block.tk.bam-OIP3TS3N.js.map → block.tk.bam-IMLRIOOV.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-2DDF55J3.js.map → block.tk.bedgraphdot-UYQLL7HM.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-S2SMAEXM.js.map → block.tk.bigwig.ui-WUVLVRSM.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-4OIG4TBZ.js.map → block.tk.hicstraw-N4SJGF7H.js.map} +0 -0
- /package/dist/{block.tk.junction-52OWEQUN.js.map → block.tk.junction-LZWHFKWJ.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-64YOSZLW.js.map → block.tk.junction.textmatrixui-B626NYPA.js.map} +0 -0
- /package/dist/{block.tk.ld-3AMNHBDY.js.map → block.tk.ld-6VWUMAP6.js.map} +0 -0
- /package/dist/{block.tk.menu-4724DJXL.js.map → block.tk.menu-RRN2UPQX.js.map} +0 -0
- /package/dist/{block.tk.pgv-2SIOPWYI.js.map → block.tk.pgv-GYG3EI6P.js.map} +0 -0
- /package/dist/{brainImaging-D43CQQN6.js.map → brainImaging-VIMLETC5.js.map} +0 -0
- /package/dist/{brainRegions-HJ2VGL3L.js.map → brainRegions-DRYZT5K5.js.map} +0 -0
- /package/dist/{bubbleHeatmap-IL44M4QZ.js.map → bubbleHeatmap-Y4SGMVJY.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-NQP7RCZO.js.map → cellTypeBubbleHeatmap-QW37ZT5W.js.map} +0 -0
- /package/dist/{chunk-WXPFMVU6.js.map → chunk-2Y5C7GJS.js.map} +0 -0
- /package/dist/{chunk-BNAO6N5X.js.map → chunk-2ZTCRUOL.js.map} +0 -0
- /package/dist/{chunk-D565DNJD.js.map → chunk-3P74DH6P.js.map} +0 -0
- /package/dist/{chunk-5DMVORBB.js.map → chunk-3PPCZPLN.js.map} +0 -0
- /package/dist/{chunk-S5ZCK44Z.js.map → chunk-4H4WJJ2G.js.map} +0 -0
- /package/dist/{chunk-6OUBUUC2.js.map → chunk-4L2OSDQ6.js.map} +0 -0
- /package/dist/{chunk-JVPWIVDT.js.map → chunk-4USLEUNR.js.map} +0 -0
- /package/dist/{chunk-UEGQVQD6.js.map → chunk-5ITKSTJX.js.map} +0 -0
- /package/dist/{chunk-M66VDGSH.js.map → chunk-5VMYXVZG.js.map} +0 -0
- /package/dist/{chunk-UUKSL7QC.js.map → chunk-7ZVFLC2V.js.map} +0 -0
- /package/dist/{chunk-ROMW4AK2.js.map → chunk-C5IAIOCA.js.map} +0 -0
- /package/dist/{chunk-7PIHRWGG.js.map → chunk-CIRCVMWE.js.map} +0 -0
- /package/dist/{chunk-AGLAYNXP.js.map → chunk-CLTRQZGJ.js.map} +0 -0
- /package/dist/{chunk-W7OS7BNM.js.map → chunk-CRH37PEV.js.map} +0 -0
- /package/dist/{chunk-WTTD6DUL.js.map → chunk-DCNDZOI3.js.map} +0 -0
- /package/dist/{chunk-VUPWQCDR.js.map → chunk-DCR4QQ5Y.js.map} +0 -0
- /package/dist/{chunk-TDKMBQSM.js.map → chunk-DKAHHMKN.js.map} +0 -0
- /package/dist/{chunk-WKNI3HRQ.js.map → chunk-E2GHT7RH.js.map} +0 -0
- /package/dist/{chunk-XNWUI5VL.js.map → chunk-EQCVSUAF.js.map} +0 -0
- /package/dist/{chunk-DH3LAQKT.js.map → chunk-ETK36FXN.js.map} +0 -0
- /package/dist/{chunk-QDX2XUNF.js.map → chunk-FCOX5Q4Q.js.map} +0 -0
- /package/dist/{chunk-5ZTVJSYI.js.map → chunk-FVL37XFU.js.map} +0 -0
- /package/dist/{chunk-SNRIVNQ3.js.map → chunk-FXS4I3Z3.js.map} +0 -0
- /package/dist/{chunk-46X6AQ7Z.js.map → chunk-FYAY6D3O.js.map} +0 -0
- /package/dist/{chunk-MJN6RDXB.js.map → chunk-GL44X7JY.js.map} +0 -0
- /package/dist/{chunk-6JYQGZ3Y.js.map → chunk-IQVBMLFI.js.map} +0 -0
- /package/dist/{chunk-RVKADD4L.js.map → chunk-IYT5PNYJ.js.map} +0 -0
- /package/dist/{chunk-5QMBB4SK.js.map → chunk-J6EP7JPJ.js.map} +0 -0
- /package/dist/{chunk-ULESDMUT.js.map → chunk-JLGCQ2F4.js.map} +0 -0
- /package/dist/{chunk-TAM7UCAI.js.map → chunk-JQT67SWE.js.map} +0 -0
- /package/dist/{chunk-KU7YH7MV.js.map → chunk-JQYPRW42.js.map} +0 -0
- /package/dist/{chunk-2GLA2SWU.js.map → chunk-K4IGOJPT.js.map} +0 -0
- /package/dist/{chunk-RJOY6A74.js.map → chunk-KPTPDZX2.js.map} +0 -0
- /package/dist/{chunk-KZILNGAV.js.map → chunk-KTB7KXC2.js.map} +0 -0
- /package/dist/{chunk-STI7BO3P.js.map → chunk-KW7MKBGF.js.map} +0 -0
- /package/dist/{chunk-ZEKIUYN3.js.map → chunk-KZFVYDVK.js.map} +0 -0
- /package/dist/{chunk-W76X6W73.js.map → chunk-M77DCLJX.js.map} +0 -0
- /package/dist/{chunk-U3NTH4CS.js.map → chunk-MGGAWPTR.js.map} +0 -0
- /package/dist/{chunk-4HZN6PMU.js.map → chunk-MUJMZ6W6.js.map} +0 -0
- /package/dist/{chunk-BGTBRAJ6.js.map → chunk-NRP55BOF.js.map} +0 -0
- /package/dist/{chunk-NRYHIWBS.js.map → chunk-O5KFJBU3.js.map} +0 -0
- /package/dist/{chunk-OOWXMY7U.js.map → chunk-QHPN3JJZ.js.map} +0 -0
- /package/dist/{chunk-NUWJ4RN7.js.map → chunk-QSGXZEUU.js.map} +0 -0
- /package/dist/{chunk-GNS6CQMA.js.map → chunk-R3ARQMM4.js.map} +0 -0
- /package/dist/{chunk-4KRGCOTL.js.map → chunk-RIQT2LSR.js.map} +0 -0
- /package/dist/{chunk-J4USU73L.js.map → chunk-RVRRHEUG.js.map} +0 -0
- /package/dist/{chunk-H3N4KYKL.js.map → chunk-SOCGXVIL.js.map} +0 -0
- /package/dist/{chunk-HQUYAZQY.js.map → chunk-SZHFBRRT.js.map} +0 -0
- /package/dist/{chunk-E3VF4RHJ.js.map → chunk-TOYMIFHN.js.map} +0 -0
- /package/dist/{chunk-NIXFCC7X.js.map → chunk-TPVHGI7Q.js.map} +0 -0
- /package/dist/{chunk-26APRXD3.js.map → chunk-TRQUMV4T.js.map} +0 -0
- /package/dist/{chunk-R6NM2HSH.js.map → chunk-UO7MD3XA.js.map} +0 -0
- /package/dist/{chunk-5RVA43MN.js.map → chunk-UONOFG2J.js.map} +0 -0
- /package/dist/{chunk-CY4RQ5L6.js.map → chunk-V2DU2OXH.js.map} +0 -0
- /package/dist/{chunk-MPNEZ6EL.js.map → chunk-WWXXSQ2M.js.map} +0 -0
- /package/dist/{chunk-7JRDJNLR.js.map → chunk-X6VTVZY7.js.map} +0 -0
- /package/dist/{chunk-TQTYW66I.js.map → chunk-X7KRSZQT.js.map} +0 -0
- /package/dist/{chunk-5T3ZDRTS.js.map → chunk-XJBSBIZ4.js.map} +0 -0
- /package/dist/{chunk-BQHPJY2M.js.map → chunk-XRQWZJJ3.js.map} +0 -0
- /package/dist/{chunk-NZRMHM76.js.map → chunk-XZ4M3QAV.js.map} +0 -0
- /package/dist/{chunk-FACITNG5.js.map → chunk-YMP4YKBN.js.map} +0 -0
- /package/dist/{chunk-7PJNKPQB.js.map → chunk-YUURGVV3.js.map} +0 -0
- /package/dist/{chunk-EGPNRSPF.js.map → chunk-Z7VK2AMA.js.map} +0 -0
- /package/dist/{chunk-OTTMHVYH.js.map → chunk-ZFJUVP2N.js.map} +0 -0
- /package/dist/{chunk-H3VWJH4U.js.map → chunk-ZH7JPYQE.js.map} +0 -0
- /package/dist/{chunk-NODQZTWK.js.map → chunk-ZVDOSFWU.js.map} +0 -0
- /package/dist/{cohort-OWLNJZVH.js.map → cohort-CEYVJJ7E.js.map} +0 -0
- /package/dist/{condition-L2IXP6WH.js.map → condition-QSOFP4MY.js.map} +0 -0
- /package/dist/{controls-2S5QVWUC.js.map → controls-QYHARIEY.js.map} +0 -0
- /package/dist/{controls.config-3AJKR4ZZ.js.map → controls.config-3OO3JK6E.js.map} +0 -0
- /package/dist/{correlation-DXTAWSLU.js.map → correlation-TOI3TMYL.js.map} +0 -0
- /package/dist/{cuminc-WQB6FHVS.js.map → cuminc-L7OJTYXC.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-WAYRLHUH.js.map → cuminc.integration.spec-LSWV3KOF.js.map} +0 -0
- /package/dist/{customdata.inputui-7WH2NJGB.js.map → customdata.inputui-VMB3HSSC.js.map} +0 -0
- /package/dist/{dataDownload-HM4UYOBO.js.map → dataDownload-NPSWNOAG.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-F5CO4BWA.js.map → dataDownload.integration.spec-J6FRFLBK.js.map} +0 -0
- /package/dist/{databrowser.ui-E2YOG3L4.js.map → databrowser.ui-GVYWG6YI.js.map} +0 -0
- /package/dist/{dictionary-EEPTFDYD.js.map → dictionary-GD67R72W.js.map} +0 -0
- /package/dist/{dnaMethylation-N3WNK6XA.js.map → dnaMethylation-S7OSGLAF.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-AIYRTFMR.js.map → dnaMethylation.integration.spec-ETMMJNDE.js.map} +0 -0
- /package/dist/{dofetch-YKYPEJTQ.js.map → dofetch-7GURQS65.js.map} +0 -0
- /package/dist/{e2pca-JEZIGVB2.js.map → e2pca-ZIIPBJFN.js.map} +0 -0
- /package/dist/{ep-5FMH2MLV.js.map → ep-A2HAL5WA.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-FR26VSUA.js.map → expclust.gdc.spec-ZSILLYNI.js.map} +0 -0
- /package/dist/{facet-5YYY3MUN.js.map → facet-74LKIPTA.js.map} +0 -0
- /package/dist/{gb-WGEVO7L2.js.map → gb-C3MPQXKN.js.map} +0 -0
- /package/dist/{geneExpClustering-DHE6XJHV.js.map → geneExpClustering-HYCFUUTU.js.map} +0 -0
- /package/dist/{geneExpression-5NWQXMJ3.js.map → geneExpression-GATKMJJ5.js.map} +0 -0
- /package/dist/{geneExpression-VWUMM2LU.js.map → geneExpression-JXSAP2H7.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-HBU3WTZ4.js.map → geneExpression.unit.spec-CODZYFHZ.js.map} +0 -0
- /package/dist/{geneORA-3VWFWDYI.js.map → geneORA-LJRIR4VV.js.map} +0 -0
- /package/dist/{geneRanking-PKDVD5OD.js.map → geneRanking-TWLBKQZG.js.map} +0 -0
- /package/dist/{geneVariant-IFIJQXH4.js.map → geneVariant-35RQHTCK.js.map} +0 -0
- /package/dist/{geneVariant-WZSOG4GI.js.map → geneVariant-TMJJIMUF.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-6KQMWVHR.js.map → geneVariant.integration.spec-FIQ7IBSD.js.map} +0 -0
- /package/dist/{genefusion.ui-C4NTALL3.js.map → genefusion.ui-SOBESSNO.js.map} +0 -0
- /package/dist/{geneset-RJAULSKC.js.map → geneset-JXEJFEK2.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-42OTTMGO.js.map → genomeBrowser.spec-25ZO5S2X.js.map} +0 -0
- /package/dist/{grin2-26O6YDDY.js.map → grin2-CW4RPVPI.js.map} +0 -0
- /package/dist/{grin2-FT5BQJMB.js.map → grin2-EI5BVP4E.js.map} +0 -0
- /package/dist/{hierCluster-GJPPMFNR.js.map → hierCluster-OBBPQH24.js.map} +0 -0
- /package/dist/{hierCluster-HMJF3PBE.js.map → hierCluster-SDH3TJQY.js.map} +0 -0
- /package/dist/{hierCluster.config-TAS7XKTU.js.map → hierCluster.config-DO67TCXI.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-RLHQKX65.js.map → hierCluster.integration.spec-EB24C4VZ.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-IKTAJ6CU.js.map → hierCluster.interactivity-LGEAFT5T.js.map} +0 -0
- /package/dist/{hierCluster.renderers-I6WFZRNW.js.map → hierCluster.renderers-FXDCU3PN.js.map} +0 -0
- /package/dist/{imagePlot-N4OXNMVA.js.map → imagePlot-LGLFG2QZ.js.map} +0 -0
- /package/dist/{importPlot-VMYXDP66.js.map → importPlot-R2WRZGZU.js.map} +0 -0
- /package/dist/{isoformExpression-2KV64KMN.js.map → isoformExpression-KI3WY5M3.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-RG2VWEMG.js.map → isoformExpression.unit.spec-OQRG2DDU.js.map} +0 -0
- /package/dist/{junction-VO4IGMW2.js.map → junction-6SWFPNM5.js.map} +0 -0
- /package/dist/{junction.customTerm-EFMHHVWA.js.map → junction.customTerm-MDBOU6I7.js.map} +0 -0
- /package/dist/{junction.unit.spec-NB24MR2B.js.map → junction.unit.spec-5TZFITSU.js.map} +0 -0
- /package/dist/{launch.adhoc-R3MO3VXK.js.map → launch.adhoc-HCX2RQLB.js.map} +0 -0
- /package/dist/{leftlabel.sample-SI6KMULD.js.map → leftlabel.sample-OI6XCXTQ.js.map} +0 -0
- /package/dist/{lollipop-XIVE4ANX.js.map → lollipop-SOSOYHYL.js.map} +0 -0
- /package/dist/{maf-WRHD4OJF.js.map → maf-73RLOEVN.js.map} +0 -0
- /package/dist/{maftimeline-IE6YKV7Y.js.map → maftimeline-UOMLYUNI.js.map} +0 -0
- /package/dist/{matrix-ALBCAZP5.js.map → matrix-5QWDN6SI.js.map} +0 -0
- /package/dist/{matrix-W72XRUZD.js.map → matrix-SKPVVDVR.js.map} +0 -0
- /package/dist/{matrix.cells-DEEUWC74.js.map → matrix.cells-CFSI2NWU.js.map} +0 -0
- /package/dist/{matrix.config-JYXQOXDT.js.map → matrix.config-HE64MAL4.js.map} +0 -0
- /package/dist/{matrix.data-ENXNM6RP.js.map → matrix.data-HTUZXQAM.js.map} +0 -0
- /package/dist/{matrix.groups-EXSNNESB.js.map → matrix.groups-ZFKWVNMX.js.map} +0 -0
- /package/dist/{matrix.integration.spec-BW6U6PIW.js.map → matrix.integration.spec-YKJ4LZFY.js.map} +0 -0
- /package/dist/{matrix.interactivity-G6AL566T.js.map → matrix.interactivity-YB5G5W5T.js.map} +0 -0
- /package/dist/{matrix.layout-UBUPIJ3R.js.map → matrix.layout-MFG65V7K.js.map} +0 -0
- /package/dist/{matrix.legend-S3P4F2DG.js.map → matrix.legend-7MIZZJVB.js.map} +0 -0
- /package/dist/{matrix.renderers-IXFGXHJQ.js.map → matrix.renderers-PCZFHDDZ.js.map} +0 -0
- /package/dist/{matrix.serieses-THHXUAPM.js.map → matrix.serieses-7KYX3KAY.js.map} +0 -0
- /package/dist/{matrix.sort-WJV6LIZI.js.map → matrix.sort-CR3J45MQ.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-LGMIL2LR.js.map → matrix.sort.unit.spec-GEAM5DSU.js.map} +0 -0
- /package/dist/{matrix.sorterUi-VXVCOKEZ.js.map → matrix.sorterUi-YSKIX6B6.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-CWSEJ62U.js.map → matrix.sorterUi.unit.spec-2MW64QS5.js.map} +0 -0
- /package/dist/{mavb-SXGKASQ5.js.map → mavb-YMHJXCGA.js.map} +0 -0
- /package/dist/{mds.fimo-EDOT3TDN.js.map → mds.fimo-PTEDRMLQ.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-IXHNABKB.js.map → mds.samplescatterplot-7R7PLVQJ.js.map} +0 -0
- /package/dist/{mds.survivalplot-KTTMHHII.js.map → mds.survivalplot-F3EENMFQ.js.map} +0 -0
- /package/dist/{numericDictTermCluster-H4JSPW22.js.map → numericDictTermCluster-3HXLMURH.js.map} +0 -0
- /package/dist/{oncomatrix-O4EMNUOT.js.map → oncomatrix-27VVSMZB.js.map} +0 -0
- /package/dist/{oncomatrix.spec-BME6CQWF.js.map → oncomatrix.spec-F43Y7CWN.js.map} +0 -0
- /package/dist/{plot.2dvaf-FDM4KXGT.js.map → plot.2dvaf-MYFQSWIA.js.map} +0 -0
- /package/dist/{plot.app-UNUXG7ND.js.map → plot.app-36QWCKXR.js.map} +0 -0
- /package/dist/{plot.barplot-R333TMG2.js.map → plot.barplot-535EP7XT.js.map} +0 -0
- /package/dist/{plot.boxplot-KQTYGUN3.js.map → plot.boxplot-6IBP7VEB.js.map} +0 -0
- /package/dist/{plot.brainImaging-YBYMHCEG.js.map → plot.brainImaging-M4HPNXZH.js.map} +0 -0
- /package/dist/{plot.disco-CMDKRSOM.js.map → plot.disco-HIT6GR44.js.map} +0 -0
- /package/dist/{plot.dzi-YAZA6RQS.js.map → plot.dzi-W66SBKTH.js.map} +0 -0
- /package/dist/{plot.ssgq-YKCOEXZP.js.map → plot.ssgq-MI2OMCUY.js.map} +0 -0
- /package/dist/{plot.vaf2cov-3TLMTFZS.js.map → plot.vaf2cov-F4CBMLRA.js.map} +0 -0
- /package/dist/{plot.wsi-7ADVYTQS.js.map → plot.wsi-7M5KTNFC.js.map} +0 -0
- /package/dist/{polar2-O5SHVLP4.js.map → polar2-7VSWGT4U.js.map} +0 -0
- /package/dist/{profileForms-RLB6SMPQ.js.map → profileForms-DFPCNJW2.js.map} +0 -0
- /package/dist/{profilePlot-AP52VLLO.js.map → profilePlot-ECTPPVB2.js.map} +0 -0
- /package/dist/{proteinView-S7WDBMQU.js.map → proteinView-6ELOLOIU.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-ERVUM7RO.js.map → proteomeCohortCompare-V2FMWI62.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-VSH7IM3R.js.map → pseudbulk.unit.spec-KV6URTXC.js.map} +0 -0
- /package/dist/{pseudobulk-7UKRLKQI.js.map → pseudobulk-6ZRFCE65.js.map} +0 -0
- /package/dist/{qualitative-2D7MC4V5.js.map → qualitative-3B62RUOB.js.map} +0 -0
- /package/dist/{qualitative-2INAKDTJ.js.map → qualitative-GJDQBD7L.js.map} +0 -0
- /package/dist/{radar2-ELVGQFZE.js.map → radar2-4QQER64E.js.map} +0 -0
- /package/dist/{radarFacility2-SDAZHGNG.js.map → radarFacility2-MZKORRDY.js.map} +0 -0
- /package/dist/{regression-CE54AQMY.js.map → regression-GZ2YNX6Y.js.map} +0 -0
- /package/dist/{regression.inputs-SMC5CNPY.js.map → regression.inputs-ZEFDNSVT.js.map} +0 -0
- /package/dist/{regression.inputs.term-XS54IQC2.js.map → regression.inputs.term-O2FQBX7L.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-LNPM3MX5.js.map → regression.inputs.values.table-63BQKSZP.js.map} +0 -0
- /package/dist/{regression.results-25ZRRDEE.js.map → regression.results-5J3QM4RX.js.map} +0 -0
- /package/dist/{regression.spec-EDWHFRPY.js.map → regression.spec-WZAZTDDA.js.map} +0 -0
- /package/dist/{render-SEB6GFXQ.js.map → render-MZTEXVU5.js.map} +0 -0
- /package/dist/{report-U6L3KBYG.js.map → report-M5TYHH2W.js.map} +0 -0
- /package/dist/{sampleView-QAAJ26KT.js.map → sampleView-QYTLYJEW.js.map} +0 -0
- /package/dist/{samplelst-KYRXJSZN.js.map → samplelst-FN3Q7M7A.js.map} +0 -0
- /package/dist/{samplematrix-STLF2QA5.js.map → samplematrix-Z5FVODO7.js.map} +0 -0
- /package/dist/{sc-HL6YSMDX.js.map → sc-4CHP5SYP.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-4NHQDTE6.js.map → selectGenomeWithTklst-WMAHGT4F.js.map} +0 -0
- /package/dist/{singleCellCellType-3E2IU42J.js.map → singleCellCellType-XPWENB6V.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-MC7ZRSMW.js.map → singleCellCellType.unit.spec-QK56PHKW.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-53UUGYTK.js.map → singleCellGeneExpression-4CEVDVYF.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-QSLTXHFE.js.map → singleCellGeneExpression.unit.spec-ZYRLBVF5.js.map} +0 -0
- /package/dist/{singleCellPlot-JDSARDRV.js.map → singleCellPlot-JS74VUGC.js.map} +0 -0
- /package/dist/{singlecell-IJR7BJYT.js.map → singlecell-5XYOHMWJ.js.map} +0 -0
- /package/dist/{singlecell-OK6GJFWL.js.map → singlecell-OO77XBDD.js.map} +0 -0
- /package/dist/{snp-H4KJEEOE.js.map → snp-X5ZILM5J.js.map} +0 -0
- /package/dist/{snp.unit.spec-2Y4A3XYI.js.map → snp.unit.spec-V23G3JLJ.js.map} +0 -0
- /package/dist/{snplocus-4GG6VTWX.js.map → snplocus-U5UIIUWR.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-JZNRC5UC.js.map → spliceevent.a53ss.diagram-YDFVSDMT.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-H54N7ZKY.js.map → spliceevent.exonskip.diagram-VDKN5JBE.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-II753XAK.js.map → spliceevent.noeventdiagram-EFPFRUFI.js.map} +0 -0
- /package/dist/{ssGSEA-JPJ3C4JI.js.map → ssGSEA-LKJW5OQK.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-45F5OCDK.js.map → ssGSEA.unit.spec-7WCZVEP2.js.map} +0 -0
- /package/dist/{studyCatalog-O3VGIKDM.js.map → studyCatalog-EU33KE5H.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-55DNXHXA.js.map → summarizeCnvGeneexp-QL25OQNB.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-VLO4DC5M.js.map → summarizeGeneexpSurvival-B7HTCH7L.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-QX7BADYL.js.map → summarizeMutationCnv-DFAPX2JE.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-MHFM7RX6.js.map → summarizeMutationDiagnosis-HCSDSVII.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-G4KHSUBN.js.map → summarizeMutationSurvival-6WEASSA2.js.map} +0 -0
- /package/dist/{summary-PJYRCQNY.js.map → summary-BWYXE77G.js.map} +0 -0
- /package/dist/{summary.integration.spec-KPKROD6L.js.map → summary.integration.spec-AVGSW5MF.js.map} +0 -0
- /package/dist/{summaryInput-TOAL53EP.js.map → summaryInput-MOQ6HUCX.js.map} +0 -0
- /package/dist/{sunburst-IGIV2RBE.js.map → sunburst-EZDHVJCL.js.map} +0 -0
- /package/dist/{survival-RKV5BPDK.js.map → survival-5TFMM7NP.js.map} +0 -0
- /package/dist/{survival-DINCIWW7.js.map → survival-IEVELTC4.js.map} +0 -0
- /package/dist/{survival.integration.spec-7ZYBBZKT.js.map → survival.integration.spec-HHWP3R4H.js.map} +0 -0
- /package/dist/{svgraph-EUEZWGVR.js.map → svgraph-55XRIYJW.js.map} +0 -0
- /package/dist/{svmr-B24LODSC.js.map → svmr-CMEBFSRO.js.map} +0 -0
- /package/dist/{table-XSJJ3UZV.js.map → table-LTWQ3TLQ.js.map} +0 -0
- /package/dist/{termCollection-IAB3425K.js.map → termCollection-CPQXYBFA.js.map} +0 -0
- /package/dist/{termCollection-LGEGHZSJ.js.map → termCollection-ZWOH273K.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-4TIRHC44.js.map → termCollection.unit.spec-RK7VATLU.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-35YKAOUY.js.map → termCollectionFractionSelection-Z4ZRW63R.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-SUFEIKJZ.js.map → termCollectionFractionSelection.unit.spec-3CS7DPNU.js.map} +0 -0
- /package/dist/{tk-25EJJDRK.js.map → tk-4NNTWWLK.js.map} +0 -0
- /package/dist/{tk-4E3XJ7CO.js.map → tk-RHWJJXH2.js.map} +0 -0
- /package/dist/{tp.ui-VGA62NFM.js.map → tp.ui-DPN5UN6U.js.map} +0 -0
- /package/dist/{tvs.density-G56327WY.js.map → tvs.density-LMRZZO4D.js.map} +0 -0
- /package/dist/{tvs.dt-DFW36WKO.js.map → tvs.dt-ARPDFRVM.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-ZP33EO3A.js.map → tvs.dtcnv.categorical-POS6WQK6.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-FJTMQF4J.js.map → tvs.dtcnv.continuous-5OETJ7JU.js.map} +0 -0
- /package/dist/{tvs.dtfusion-FTDQWNKM.js.map → tvs.dtfusion-ERYVI3DW.js.map} +0 -0
- /package/dist/{tvs.dtitd-W5VEECJ2.js.map → tvs.dtitd-KTZZYEWU.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-UOXSLCDZ.js.map → tvs.dtsnvindel-TGUAX3RN.js.map} +0 -0
- /package/dist/{tvs.dtsv-HWCPRVBO.js.map → tvs.dtsv-AM63OIL6.js.map} +0 -0
- /package/dist/{tvs.numeric-7TGKWQYU.js.map → tvs.numeric-MQPO5XUQ.js.map} +0 -0
- /package/dist/{tvs.samplelst-OWD22ITS.js.map → tvs.samplelst-VW2NOQ2C.js.map} +0 -0
- /package/dist/{tvs.termCollection-27BWABYK.js.map → tvs.termCollection-O4ZSWJFA.js.map} +0 -0
- /package/dist/{violin-2IAVZGFF.js.map → violin-ZQ3DEYGR.js.map} +0 -0
- /package/dist/{violin.integration.spec-JVODKUCL.js.map → violin.integration.spec-PVEF77HB.js.map} +0 -0
- /package/dist/{violin.interactivity-STOCZMVN.js.map → violin.interactivity-FYU4TCFO.js.map} +0 -0
- /package/dist/{violin.renderer-MKDTJ3EX.js.map → violin.renderer-XAERGBMV.js.map} +0 -0
- /package/dist/{vocabulary-4IHU6DNN.js.map → vocabulary-ECJX27W2.js.map} +0 -0
|
@@ -1,1550 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
blocklazyload
|
|
3
|
-
} from "./chunk-H3VWJH4U.js";
|
|
4
|
-
import {
|
|
5
|
-
d3lasso
|
|
6
|
-
} from "./chunk-JH73IL4C.js";
|
|
7
|
-
import {
|
|
8
|
-
schemeCategory20
|
|
9
|
-
} from "./chunk-V2OJLJSK.js";
|
|
10
|
-
import {
|
|
11
|
-
getsjcharts
|
|
12
|
-
} from "./chunk-MKAF2BHB.js";
|
|
13
|
-
import {
|
|
14
|
-
appear2 as appear,
|
|
15
|
-
disappear2 as disappear,
|
|
16
|
-
export_data,
|
|
17
|
-
filterInit,
|
|
18
|
-
first_genetrack_tolist,
|
|
19
|
-
getVocabFromSamplesArray,
|
|
20
|
-
keyupEnter,
|
|
21
|
-
make_table_2col,
|
|
22
|
-
newpane,
|
|
23
|
-
sayerror,
|
|
24
|
-
tab_wait,
|
|
25
|
-
tkt
|
|
26
|
-
} from "./chunk-TKW5TW4Z.js";
|
|
27
|
-
import "./chunk-HJ6L54YS.js";
|
|
28
|
-
import "./chunk-LSEFWW72.js";
|
|
29
|
-
import "./chunk-3SHZTAGF.js";
|
|
30
|
-
import {
|
|
31
|
-
Menu
|
|
32
|
-
} from "./chunk-HYOEWQ5P.js";
|
|
33
|
-
import "./chunk-6QCYT6G2.js";
|
|
34
|
-
import "./chunk-FN5XPUPH.js";
|
|
35
|
-
import "./chunk-IIT367QZ.js";
|
|
36
|
-
import "./chunk-RZGEKL77.js";
|
|
37
|
-
import "./chunk-OTTMHVYH.js";
|
|
38
|
-
import "./chunk-GNS6CQMA.js";
|
|
39
|
-
import {
|
|
40
|
-
dofetch,
|
|
41
|
-
dofetch2
|
|
42
|
-
} from "./chunk-JVPWIVDT.js";
|
|
43
|
-
import {
|
|
44
|
-
getFilteredSamples
|
|
45
|
-
} from "./chunk-4WF3XDQP.js";
|
|
46
|
-
import "./chunk-7JRDJNLR.js";
|
|
47
|
-
import "./chunk-M3J4MINX.js";
|
|
48
|
-
import "./chunk-PF4DSFDR.js";
|
|
49
|
-
import "./chunk-MPSLUEI4.js";
|
|
50
|
-
import "./chunk-6PNPHACF.js";
|
|
51
|
-
import "./chunk-WPHUM5S5.js";
|
|
52
|
-
import "./chunk-JNITUVXP.js";
|
|
53
|
-
import {
|
|
54
|
-
identity,
|
|
55
|
-
zoom_default
|
|
56
|
-
} from "./chunk-2KXLYFAO.js";
|
|
57
|
-
import "./chunk-LOZEKOES.js";
|
|
58
|
-
import "./chunk-VQZ2Z5YU.js";
|
|
59
|
-
import {
|
|
60
|
-
linear,
|
|
61
|
-
ordinal
|
|
62
|
-
} from "./chunk-UJELJXJG.js";
|
|
63
|
-
import "./chunk-BZTWTH4Y.js";
|
|
64
|
-
import "./chunk-TLT4YIG3.js";
|
|
65
|
-
import "./chunk-5R63Q5KH.js";
|
|
66
|
-
import {
|
|
67
|
-
select_default
|
|
68
|
-
} from "./chunk-I6Y4O3RR.js";
|
|
69
|
-
import "./chunk-Q5RDQNIT.js";
|
|
70
|
-
import "./chunk-DQC5FFGV.js";
|
|
71
|
-
import "./chunk-HFNDKYVF.js";
|
|
72
|
-
|
|
73
|
-
// common/uncollide.js
|
|
74
|
-
function getDefaults(opts) {
|
|
75
|
-
const defaults = {
|
|
76
|
-
waitTime: 0,
|
|
77
|
-
pad: 5,
|
|
78
|
-
nameKey: "",
|
|
79
|
-
steps: [
|
|
80
|
-
{
|
|
81
|
-
type: "restyle",
|
|
82
|
-
applyTo: "all",
|
|
83
|
-
// or just the minColliders
|
|
84
|
-
css: {
|
|
85
|
-
selector: "text",
|
|
86
|
-
key: "font-size",
|
|
87
|
-
value: "12px"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
/*{
|
|
91
|
-
type: 'restyle',
|
|
92
|
-
css: {
|
|
93
|
-
selector: 'text',
|
|
94
|
-
key: 'text-anchor',
|
|
95
|
-
value: 'start'
|
|
96
|
-
}
|
|
97
|
-
},*/
|
|
98
|
-
{
|
|
99
|
-
type: "move",
|
|
100
|
-
repeat: 2,
|
|
101
|
-
pad: 0,
|
|
102
|
-
css: {
|
|
103
|
-
selector: "text"
|
|
104
|
-
},
|
|
105
|
-
boxSorter: (a, b) => {
|
|
106
|
-
if (a.x1 > b.x1) return -1;
|
|
107
|
-
if (b.x1 > a.x1) return 1;
|
|
108
|
-
if (a.y1 > b.y1) return -1;
|
|
109
|
-
if (b.y1 > a.y1) return 1;
|
|
110
|
-
return 0;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
};
|
|
115
|
-
return Object.assign(defaults, opts);
|
|
116
|
-
}
|
|
117
|
-
async function uncollide(labels, _opts = {}) {
|
|
118
|
-
if (!labels || !labels.size()) return;
|
|
119
|
-
const opts = getDefaults(_opts);
|
|
120
|
-
if (!opts.steps || !opts.steps.length) return;
|
|
121
|
-
if (!opts.svg) opts.svg = labels.node().closest("svg");
|
|
122
|
-
await sleep(opts.waitTime);
|
|
123
|
-
opts.svgBox = opts.svg.getBoundingClientRect();
|
|
124
|
-
const boxes = getBoxes(labels, opts);
|
|
125
|
-
const minNonZeroCollisions = trackCollisions(boxes);
|
|
126
|
-
window.boxes = boxes;
|
|
127
|
-
if (minNonZeroCollisions) {
|
|
128
|
-
const step = opts.steps.shift();
|
|
129
|
-
const adjustees = step.applyTo == "all" ? boxes : step.type == "move" ? boxes.filter((b) => b.collisions.length) : boxes.filter((b) => b.collisions.length === minNonZeroCollisions);
|
|
130
|
-
if (adjustees.length) {
|
|
131
|
-
if (step.boxSorter) adjustees.sort(step.boxSorter);
|
|
132
|
-
for (const box of adjustees) {
|
|
133
|
-
const b = getBoxes(box.label, opts)[0];
|
|
134
|
-
Object.assign(box, b);
|
|
135
|
-
trackOverlaps(box, boxes.filter((b2) => b2 != box));
|
|
136
|
-
await adjusters[step.type](box, step, boxes, opts);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
if (typeof step.repeat == "number" && step.repeat > 0) {
|
|
140
|
-
step.repeat += -1;
|
|
141
|
-
opts.steps.unshift(step);
|
|
142
|
-
}
|
|
143
|
-
if (opts.steps.length) setTimeout(() => uncollide(labels, opts), 0);
|
|
144
|
-
else boxes.forEach(showBox);
|
|
145
|
-
} else boxes.forEach(showBox);
|
|
146
|
-
}
|
|
147
|
-
function getBoxes(labels, opts) {
|
|
148
|
-
const boxes = [];
|
|
149
|
-
labels.each(function(data) {
|
|
150
|
-
const elem = this;
|
|
151
|
-
const bbox = elem.getBoundingClientRect();
|
|
152
|
-
const box = {
|
|
153
|
-
elem,
|
|
154
|
-
label: select_default(elem),
|
|
155
|
-
x1: bbox.x - opts.svgBox.x,
|
|
156
|
-
x2: bbox.x - opts.svgBox.x + bbox.width,
|
|
157
|
-
y1: bbox.y - opts.svgBox.y,
|
|
158
|
-
y2: bbox.y - opts.svgBox.y + bbox.height,
|
|
159
|
-
width: bbox.width,
|
|
160
|
-
height: bbox.height
|
|
161
|
-
};
|
|
162
|
-
box.maxFree = {
|
|
163
|
-
n: Math.max(box.y1, 0),
|
|
164
|
-
s: Math.max(opts.svgBox.y + opts.svgBox.height - box.y2, 0),
|
|
165
|
-
e: Math.max(opts.svgBox.x + opts.svgBox.width - box.x2, 0),
|
|
166
|
-
w: Math.max(box.x1, 0)
|
|
167
|
-
};
|
|
168
|
-
box.corners = {};
|
|
169
|
-
box.overlapSum = 0;
|
|
170
|
-
box.collisions = [];
|
|
171
|
-
box.maxOverlaps = {};
|
|
172
|
-
if (opts.nameKey) box.name = data[opts.nameKey];
|
|
173
|
-
detectSvgOverflow(box, opts.svgBox);
|
|
174
|
-
boxes.push(box);
|
|
175
|
-
});
|
|
176
|
-
return boxes;
|
|
177
|
-
}
|
|
178
|
-
function trackCollisions(boxes) {
|
|
179
|
-
let minNonZeroCollisions = 0;
|
|
180
|
-
for (const box of boxes) {
|
|
181
|
-
const numCollisions = trackOverlaps(box, boxes.filter((b) => b != box));
|
|
182
|
-
if (minNonZeroCollisions === 0 || numCollisions > 0 && numCollisions < minNonZeroCollisions) {
|
|
183
|
-
minNonZeroCollisions = numCollisions;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
boxes.sort(sortBoxes);
|
|
187
|
-
return minNonZeroCollisions;
|
|
188
|
-
}
|
|
189
|
-
function sortBoxes(a, b) {
|
|
190
|
-
return a.collisions.length - b.collisions.length;
|
|
191
|
-
}
|
|
192
|
-
function trackOverlaps(box, boxes) {
|
|
193
|
-
const x1 = box.x1, x2 = box.x2;
|
|
194
|
-
const y1 = box.y1, y2 = box.y2;
|
|
195
|
-
for (const b of boxes) {
|
|
196
|
-
if (b === box) continue;
|
|
197
|
-
const free = {};
|
|
198
|
-
if (b.x2 < x1) {
|
|
199
|
-
free.w = x1 - b.x2;
|
|
200
|
-
} else if (b.x1 > x2) {
|
|
201
|
-
free.e = b.x1 - x2;
|
|
202
|
-
}
|
|
203
|
-
if (b.y2 < y1) {
|
|
204
|
-
free.n = y1 - b.y2;
|
|
205
|
-
} else if (b.y1 > y2) {
|
|
206
|
-
free.s = b.y1 - y2;
|
|
207
|
-
}
|
|
208
|
-
const corners = {};
|
|
209
|
-
if (Object.keys(free).length) {
|
|
210
|
-
if ("n" in free && free.n < box.maxFree.n) box.maxFree.n = free.n;
|
|
211
|
-
if ("s" in free && free.s < box.maxFree.s) box.maxFree.s = free.s;
|
|
212
|
-
if ("e" in free && free.e < box.maxFree.e) box.maxFree.e = free.e;
|
|
213
|
-
if ("w" in free && free.w < box.maxFree.w) box.maxFree.w = free.w;
|
|
214
|
-
} else {
|
|
215
|
-
if (b.x1 <= x1 && x2 <= b.x2) {
|
|
216
|
-
if (b.x1 <= x1 && x1 <= b.x2) {
|
|
217
|
-
const dx = b.x2 - x1;
|
|
218
|
-
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
|
|
219
|
-
if (b.y1 <= y1 && y1 <= b.y2) {
|
|
220
|
-
const dy = b.y2 - y1;
|
|
221
|
-
corners.nw = dx * dy;
|
|
222
|
-
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
223
|
-
}
|
|
224
|
-
if (b.y1 <= y2 && y2 <= b.y2) {
|
|
225
|
-
const dy = y2 - b.y1;
|
|
226
|
-
corners.sw = dx * dy;
|
|
227
|
-
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
if (b.x1 <= x2 && x2 <= b.x2) {
|
|
231
|
-
const dx = x2 - b.x1;
|
|
232
|
-
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
233
|
-
if (b.y1 <= y1 && y1 <= b.y2) {
|
|
234
|
-
const dy = b.y2 - y1;
|
|
235
|
-
corners.ne = dx * dy;
|
|
236
|
-
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
237
|
-
}
|
|
238
|
-
if (b.y1 <= y2 && y2 <= b.y2) {
|
|
239
|
-
const dy = y2 - b.y1;
|
|
240
|
-
corners.se = dx * dy;
|
|
241
|
-
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
} else {
|
|
245
|
-
if (x1 <= b.x1 && b.x1 <= x2) {
|
|
246
|
-
const dx = x2 - b.x1;
|
|
247
|
-
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
248
|
-
if (y1 <= b.y1 && b.y1 <= y2) {
|
|
249
|
-
const dy = y2 - b.y1;
|
|
250
|
-
corners.se = dx * dy;
|
|
251
|
-
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
252
|
-
}
|
|
253
|
-
if (y1 <= b.y2 && b.y2 <= y2) {
|
|
254
|
-
const dy = b.y2 - y1;
|
|
255
|
-
corners.ne = dx * dy;
|
|
256
|
-
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
if (x1 <= b.x2 && b.x2 <= x2) {
|
|
260
|
-
const dx = b.x2 - x1;
|
|
261
|
-
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
|
|
262
|
-
if (y1 <= b.y1 && b.y1 <= y2) {
|
|
263
|
-
const dy = y2 - b.y1;
|
|
264
|
-
corners.sw = dx * dy;
|
|
265
|
-
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
266
|
-
}
|
|
267
|
-
if (y1 <= b.y2 && b.y2 <= y2) {
|
|
268
|
-
const dy = b.y2 - y1;
|
|
269
|
-
corners.nw = dx * dy;
|
|
270
|
-
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
const keys = Object.keys(corners);
|
|
276
|
-
if (keys.length) {
|
|
277
|
-
box.collisions.push({ box: b.name, corners: keys });
|
|
278
|
-
for (const k of keys) {
|
|
279
|
-
if (!box.corners[k]) box.corners[k] = { against: [], sum: 0 };
|
|
280
|
-
box.corners[k].against.push(b.name);
|
|
281
|
-
box.corners[k].sum += corners[k];
|
|
282
|
-
box.overlapSum += corners[k];
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
return box.collisions.length;
|
|
287
|
-
}
|
|
288
|
-
function detectSvgOverflow(box, svgBox) {
|
|
289
|
-
const x1 = box.x1, x2 = box.x2;
|
|
290
|
-
const y1 = box.y1, y2 = box.y2;
|
|
291
|
-
const corners = [];
|
|
292
|
-
if (x1 < 0) {
|
|
293
|
-
box.maxOverlaps.x = { val: Math.abs(x1), dir: "w" };
|
|
294
|
-
corners.push("w");
|
|
295
|
-
box.corners.w = { against: [], sum: Math.abs(x1) * box.height };
|
|
296
|
-
box.overlapSum += box.corners.w.sum;
|
|
297
|
-
}
|
|
298
|
-
const dx = x2 - svgBox.width;
|
|
299
|
-
if (dx > 0 && (!box.maxOverlaps.x || box.maxOverlaps.x.val < dx)) {
|
|
300
|
-
box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
301
|
-
corners.push("e");
|
|
302
|
-
box.corners.e = { against: ["svgbox"], sum: dx * box.height };
|
|
303
|
-
box.overlapSum += box.corners.e.sum;
|
|
304
|
-
}
|
|
305
|
-
if (y1 < 0) {
|
|
306
|
-
box.maxOverlaps.y = { val: Math.abs(y1), dir: "n" };
|
|
307
|
-
corners.push("n");
|
|
308
|
-
box.corners.n = { against: ["svgbox"], sum: Math.abs(y1) };
|
|
309
|
-
box.overlapSum += box.corners.n.sum;
|
|
310
|
-
}
|
|
311
|
-
const dy = y2 - svgBox.height;
|
|
312
|
-
if (dy > 0 && (!box.maxOverlaps.y || box.maxOverlaps.y.val < dy)) {
|
|
313
|
-
box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
314
|
-
corners.push("s");
|
|
315
|
-
box.corners.s = { against: ["svgbox"], sum: dy * box.height };
|
|
316
|
-
box.overlapSum += box.corners.s.sum;
|
|
317
|
-
}
|
|
318
|
-
if (corners.length) box.collisions.push({ box: "svg", corners });
|
|
319
|
-
}
|
|
320
|
-
async function restyle(box, step, boxes, opts) {
|
|
321
|
-
const preAdjustedVal = /* @__PURE__ */ new Map();
|
|
322
|
-
box.label.selectAll(step.css.selector).each(function(d) {
|
|
323
|
-
const s = select_default(this);
|
|
324
|
-
preAdjustedVal.set(this, s.attr(step.css.key));
|
|
325
|
-
s.attr(step.css.key, step.css.value);
|
|
326
|
-
});
|
|
327
|
-
await sleep(opts.waitTime);
|
|
328
|
-
const adjustedBox = getBoxes(box.label, opts)[0];
|
|
329
|
-
const i = boxes.indexOf(box);
|
|
330
|
-
trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
|
|
331
|
-
if (step.applyTo == "all") {
|
|
332
|
-
Object.assign(box, adjustedBox);
|
|
333
|
-
} else {
|
|
334
|
-
if (adjustedBox.overlapSum >= box.overlapSum) {
|
|
335
|
-
box.label.selectAll(step.css.selector).each(function(d) {
|
|
336
|
-
select_default(this).attr(step.css.key, preAdjustedVal.get(this));
|
|
337
|
-
});
|
|
338
|
-
} else {
|
|
339
|
-
Object.assign(box, adjustedBox);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
async function move(box, step, boxes, opts) {
|
|
344
|
-
const freeDirections = Object.keys(box.maxFree).filter((dir) => box.maxFree[dir] > 0);
|
|
345
|
-
if (!freeDirections.length) return;
|
|
346
|
-
const preAdjustedVal = /* @__PURE__ */ new Map();
|
|
347
|
-
if (box.maxOverlaps.y && box.maxOverlaps.y.val > 0) {
|
|
348
|
-
if (box.maxOverlaps.y.dir == "s" && freeDirections.includes("n")) {
|
|
349
|
-
box.label.selectAll(step.css.selector).each(function(d) {
|
|
350
|
-
const s = select_default(this);
|
|
351
|
-
preAdjustedVal.set(this, s.attr("y") || 0);
|
|
352
|
-
s.attr("y", Math.max(-box.maxFree.n, -box.maxOverlaps.y.val) - step.pad);
|
|
353
|
-
});
|
|
354
|
-
}
|
|
355
|
-
if (box.maxOverlaps.y.dir == "n" && freeDirections.includes("s")) {
|
|
356
|
-
box.label.selectAll(step.css.selector).each(function(d) {
|
|
357
|
-
const s = select_default(this);
|
|
358
|
-
preAdjustedVal.set(this, s.attr("y") || 0);
|
|
359
|
-
s.attr("y", Math.min(box.maxFree.s, box.maxOverlaps.y.val) + step.pad);
|
|
360
|
-
});
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
if (preAdjustedVal.size) {
|
|
364
|
-
await sleep(opts.waitTime);
|
|
365
|
-
const adjustedBox2 = getBoxes(box.label, opts)[0];
|
|
366
|
-
trackOverlaps(adjustedBox2, boxes.filter((b) => b != box));
|
|
367
|
-
if (adjustedBox2.overlapSum >= box.overlapSum) {
|
|
368
|
-
box.label.selectAll(step.css.selector).each(function(d) {
|
|
369
|
-
select_default(this).attr("y", preAdjustedVal.get(this));
|
|
370
|
-
});
|
|
371
|
-
} else {
|
|
372
|
-
Object.assign(box, adjustedBox2);
|
|
373
|
-
if (!box.collisions.length) return;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
if (box.maxOverlaps.x && box.maxOverlaps.x.val > 0) {
|
|
377
|
-
if (box.maxOverlaps.x.dir == "e" && freeDirections.includes("w")) {
|
|
378
|
-
box.label.selectAll(step.css.selector).each(function(d) {
|
|
379
|
-
const s = select_default(this);
|
|
380
|
-
preAdjustedVal.set(this, s.attr("x") || 0);
|
|
381
|
-
s.attr("x", Math.max(-box.maxFree.w, -box.maxOverlaps.x.val) - step.pad);
|
|
382
|
-
});
|
|
383
|
-
}
|
|
384
|
-
if (box.maxOverlaps.x.dir == "w" && freeDirections.includes("e")) {
|
|
385
|
-
box.label.selectAll(step.css.selector).each(function(d) {
|
|
386
|
-
const s = select_default(this);
|
|
387
|
-
preAdjustedVal.set(this, s.attr("x") || 0);
|
|
388
|
-
s.attr("x", Math.min(box.maxFree.e, box.maxOverlaps.x.val) + step.pad);
|
|
389
|
-
});
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
if (!preAdjustedVal.size) return;
|
|
393
|
-
await sleep(opts.waitTime);
|
|
394
|
-
const adjustedBox = getBoxes(box.label, opts)[0];
|
|
395
|
-
trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
|
|
396
|
-
if (adjustedBox.overlapSum >= box.overlapSum) {
|
|
397
|
-
box.label.selectAll(step.css.selector).each(function(d) {
|
|
398
|
-
select_default(this).attr("x", preAdjustedVal.get(this));
|
|
399
|
-
});
|
|
400
|
-
} else {
|
|
401
|
-
Object.assign(box, adjustedBox);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
var adjusters = { restyle, move };
|
|
405
|
-
function showBox(box) {
|
|
406
|
-
return;
|
|
407
|
-
const rect = select_default(box.elem.closest("svg")).append("rect").attr("x", box.x1).attr("y", box.y1).attr("width", box.width).attr("height", box.height).style("stroke", "blue").style("fill", "transparent");
|
|
408
|
-
}
|
|
409
|
-
function sleep(ms) {
|
|
410
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
// src/mds.samplescatterplot.js
|
|
414
|
-
var radius = 3;
|
|
415
|
-
var radius_tiny = 0.7;
|
|
416
|
-
var userdotcolor = "black";
|
|
417
|
-
async function init(obj, holder, debugmode) {
|
|
418
|
-
if (debugmode) {
|
|
419
|
-
window.obj = obj;
|
|
420
|
-
}
|
|
421
|
-
if (!obj.lasso)
|
|
422
|
-
obj.lasso = {
|
|
423
|
-
postSelectMenuOptions: [
|
|
424
|
-
/*{
|
|
425
|
-
label: 'Do something',
|
|
426
|
-
callback({samples, sample_attributes, sample2dot}) {....}
|
|
427
|
-
},*/
|
|
428
|
-
{
|
|
429
|
-
label: "List samples",
|
|
430
|
-
callback: "listSamples"
|
|
431
|
-
// will indicate to use the default callback of listing the samples
|
|
432
|
-
}
|
|
433
|
-
]
|
|
434
|
-
};
|
|
435
|
-
obj.menu = new Menu({ padding: "2px" });
|
|
436
|
-
obj.menu2 = new Menu({ padding: "10px" });
|
|
437
|
-
obj.tip = new Menu({ padding: "5px" });
|
|
438
|
-
obj.errordiv = holder.append("div").style("margin", "10px");
|
|
439
|
-
obj.sayerror = (e) => {
|
|
440
|
-
sayerror(obj.errordiv, typeof e == "string" ? e : e.message);
|
|
441
|
-
if (e.stack) console.log(e.stack);
|
|
442
|
-
};
|
|
443
|
-
const _table = holder.append("table").style("border-spacing", "20px");
|
|
444
|
-
const tr1 = _table.append("tr");
|
|
445
|
-
const tr1td1 = tr1.append("td").style("vertical-align", "top");
|
|
446
|
-
const tr1td2 = tr1.append("td").style("vertical-align", "top");
|
|
447
|
-
{
|
|
448
|
-
let searchStr2 = function(data, str) {
|
|
449
|
-
let found_flag = false;
|
|
450
|
-
let vals = Object.values(data).filter((a) => a != null && typeof a != "number");
|
|
451
|
-
let new_vals = vals.filter((a) => typeof a != "object").map((x) => x.toLowerCase());
|
|
452
|
-
new_vals.forEach((v) => {
|
|
453
|
-
if (v.toLowerCase().includes(str)) return found_flag = true;
|
|
454
|
-
});
|
|
455
|
-
if (!found_flag) {
|
|
456
|
-
vals.forEach((v) => {
|
|
457
|
-
if (v && typeof v == "object") {
|
|
458
|
-
const obj_vals = Object.values(v).filter((a) => a != null && typeof a != "number").map((x) => x.toLowerCase());
|
|
459
|
-
obj_vals.forEach((ov) => {
|
|
460
|
-
if (ov.toLowerCase().includes(str)) return found_flag = true;
|
|
461
|
-
});
|
|
462
|
-
}
|
|
463
|
-
});
|
|
464
|
-
}
|
|
465
|
-
return found_flag;
|
|
466
|
-
};
|
|
467
|
-
var searchStr = searchStr2;
|
|
468
|
-
const row = tr1td2.append("div").style("margin-bottom", "5px");
|
|
469
|
-
row.append("input").attr("type", "text").attr("placeholder", "Search sample").style("width", "200px").on("keyup", (event2) => {
|
|
470
|
-
const str0 = event2.target.value;
|
|
471
|
-
if (!str0) {
|
|
472
|
-
obj.dotselection.transition().attr("r", radius);
|
|
473
|
-
return;
|
|
474
|
-
}
|
|
475
|
-
const str = str0.toLowerCase();
|
|
476
|
-
obj.dotselection.filter((d) => searchStr2(d, str)).transition().attr("r", radius * 2);
|
|
477
|
-
obj.dotselection.filter((d) => !searchStr2(d, str)).transition().attr("r", 1);
|
|
478
|
-
});
|
|
479
|
-
}
|
|
480
|
-
const legend_div = tr1td2.append("div").style("overflow-x", "hidden").style("overflow-y", "auto").style("height", "100vh");
|
|
481
|
-
obj.legendtable = legend_div.append("table").style("border-spacing", "5px");
|
|
482
|
-
obj.filterDiv = tr1td1.append("div").style("position", "relative");
|
|
483
|
-
const scatterdiv = tr1td1.append("div").style("position", "relative");
|
|
484
|
-
obj.scattersvg = scatterdiv.append("svg");
|
|
485
|
-
obj.scattersvg_resizehandle = scatterdiv.append("div");
|
|
486
|
-
obj.scattersvg_buttons = scatterdiv.append("div");
|
|
487
|
-
try {
|
|
488
|
-
await get_data(obj);
|
|
489
|
-
finish_setup(obj);
|
|
490
|
-
init_dotcolor_legend(obj);
|
|
491
|
-
init_plot(obj);
|
|
492
|
-
} catch (e) {
|
|
493
|
-
if (e.stack) console.log(e.stack);
|
|
494
|
-
obj.sayerror(e.message || e);
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
async function get_data(obj) {
|
|
498
|
-
if (obj.dslabel) {
|
|
499
|
-
const lst = ["genome=" + obj.genome.name, "dslabel=" + obj.dslabel];
|
|
500
|
-
if (obj.analysisdata) {
|
|
501
|
-
if (obj.analysisdata.subset) {
|
|
502
|
-
if (!obj.analysisdata.subset.key) throw ".subset.key missing";
|
|
503
|
-
if (!obj.analysisdata.subset.value) throw ".subset.value missing";
|
|
504
|
-
lst.push("subsetkey=" + obj.analysisdata.subset.key);
|
|
505
|
-
lst.push("subsetvalue=" + obj.analysisdata.subset.value);
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
const data = await dofetch2("mdssamplescatterplot?" + lst.join("&"));
|
|
509
|
-
if (data.error) throw data.error;
|
|
510
|
-
if (!data.dots) throw "server error";
|
|
511
|
-
obj.sample2dot = /* @__PURE__ */ new Map();
|
|
512
|
-
for (const dot of data.dots) {
|
|
513
|
-
obj.sample2dot.set(dot.sample, dot);
|
|
514
|
-
}
|
|
515
|
-
combine_clientserverdata(obj, data);
|
|
516
|
-
obj.colorbyattributes = data.colorbyattributes;
|
|
517
|
-
obj.colorbygeneexpression = data.colorbygeneexpression;
|
|
518
|
-
obj.tracks = data.tracks;
|
|
519
|
-
obj.querykey = data.querykey;
|
|
520
|
-
obj.sample_attributes = obj.mds.sampleAttribute.attributes;
|
|
521
|
-
return;
|
|
522
|
-
}
|
|
523
|
-
const ad = obj.analysisdata;
|
|
524
|
-
if (obj.disco || ad.disco) {
|
|
525
|
-
const disco = obj.disco || ad.disco;
|
|
526
|
-
obj.mds = obj.genome.datasets[disco.dslabel];
|
|
527
|
-
} else if (obj.mds) {
|
|
528
|
-
obj.mds = obj.genome.datasets[obj.mds.dslabel];
|
|
529
|
-
}
|
|
530
|
-
if (!ad) throw "both .analysisdata{} and .dslabel are missing";
|
|
531
|
-
if (ad.samples) {
|
|
532
|
-
if (!Array.isArray(ad.samples)) throw ".analysisdata.samples is not array";
|
|
533
|
-
obj.dots = ad.samples;
|
|
534
|
-
} else if (ad.tabular_data) {
|
|
535
|
-
let lines = ad.tabular_data.split("\n");
|
|
536
|
-
if (lines.length < 2) throw "at least 2 rows, header row + at least 1 sample data must be supplied";
|
|
537
|
-
ad.samples = [];
|
|
538
|
-
const headers = lines.shift().split(" ");
|
|
539
|
-
if (headers.length < 3) throw "at least 3 columns are required with X, Y and sample name";
|
|
540
|
-
ad.samplekey = headers[2];
|
|
541
|
-
let xi = headers.indexOf("x");
|
|
542
|
-
if (xi == -1) xi = headers.indexOf("X");
|
|
543
|
-
if (xi == -1) throw '"X" or "x" column missing from tabular data';
|
|
544
|
-
let yi = headers.indexOf("y");
|
|
545
|
-
if (yi == -1) yi = headers.indexOf("Y");
|
|
546
|
-
if (yi == -1) throw '"Y" or "y" column missing from tabular data';
|
|
547
|
-
for (const line of lines) {
|
|
548
|
-
const values = line.split(" ");
|
|
549
|
-
const sample = {};
|
|
550
|
-
for (const [i, v] of values.entries()) {
|
|
551
|
-
if (i == xi) sample.x = Number.parseFloat(v);
|
|
552
|
-
else if (i == yi) sample.y = Number.parseFloat(v);
|
|
553
|
-
else sample[headers[i]] = v;
|
|
554
|
-
}
|
|
555
|
-
ad.samples.push(sample);
|
|
556
|
-
}
|
|
557
|
-
obj.dots = ad.samples;
|
|
558
|
-
if (ad.sample_attributes == void 0) {
|
|
559
|
-
ad.sample_attributes = {};
|
|
560
|
-
for (const [i, key] of headers.entries()) {
|
|
561
|
-
if (i <= 2) continue;
|
|
562
|
-
ad.sample_attributes[key] = { label: key };
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
if (!ad.colorbyattributes && headers.length > 3) ad.colorbyattributes = [{ key: headers[3] }];
|
|
566
|
-
} else {
|
|
567
|
-
throw "unknown data encoding in .analysisdata{}";
|
|
568
|
-
}
|
|
569
|
-
obj.sample2dot = /* @__PURE__ */ new Map();
|
|
570
|
-
for (const d of obj.dots) {
|
|
571
|
-
if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a sample";
|
|
572
|
-
if (ad.samplekey) {
|
|
573
|
-
d.sample = d[ad.samplekey];
|
|
574
|
-
delete d[ad.samplekey];
|
|
575
|
-
}
|
|
576
|
-
if (ad.sample_attributes) {
|
|
577
|
-
d.s = {};
|
|
578
|
-
for (const k in ad.sample_attributes) {
|
|
579
|
-
d.s[k] = d[k];
|
|
580
|
-
delete d[k];
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
obj.sample2dot.set(d.sample, d);
|
|
584
|
-
}
|
|
585
|
-
obj.sample_attributes = ad.sample_attributes;
|
|
586
|
-
obj.colorbyattributes = ad.colorbyattributes;
|
|
587
|
-
obj.attr_levels = ad.attr_levels;
|
|
588
|
-
if (ad.user_samples) {
|
|
589
|
-
if (!Array.isArray(ad.user_samples)) throw ".user_samples[] is not array";
|
|
590
|
-
obj.dots_user = [];
|
|
591
|
-
for (const d of ad.user_samples) {
|
|
592
|
-
if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a USER sample";
|
|
593
|
-
if (ad.samplekey) {
|
|
594
|
-
d.sample = d[ad.samplekey];
|
|
595
|
-
delete d[ad.samplekey];
|
|
596
|
-
}
|
|
597
|
-
if (!d.color) d.color = userdotcolor;
|
|
598
|
-
obj.dots_user.push(d);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
if (!obj.filterApi) {
|
|
602
|
-
obj.filterApi = filterInit({
|
|
603
|
-
btn: obj.filterDiv.append("div"),
|
|
604
|
-
btnLabel: "Filter",
|
|
605
|
-
emptyLabel: "+New Filter",
|
|
606
|
-
holder: obj.filterDiv.append("div"),
|
|
607
|
-
vocab: getVocabFromSamplesArray(ad),
|
|
608
|
-
//termdbConfig: opts.termdbConfig,
|
|
609
|
-
debug: true,
|
|
610
|
-
callback(filter) {
|
|
611
|
-
obj.filteredSamples = getFilteredSamples(ad.samples, filter);
|
|
612
|
-
if (obj.dotselection._groups[0].length != obj.filteredSamples.size) {
|
|
613
|
-
obj.dotselection.transition().attr("r", (d) => obj.filteredSamples.has(d.sample) ? radius : 0).style("opacity", (d) => obj.filteredSamples.has(d.sample) ? 1 : 0);
|
|
614
|
-
} else {
|
|
615
|
-
obj.dotselection.transition().attr("r", radius).style("opacity", 1);
|
|
616
|
-
}
|
|
617
|
-
update_dotcolor_legend(obj);
|
|
618
|
-
}
|
|
619
|
-
});
|
|
620
|
-
obj.filterApi.main({ type: "tvslst", join: "", lst: [] });
|
|
621
|
-
obj.filteredSamples = [];
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
function combine_clientserverdata(obj, data) {
|
|
625
|
-
if (!obj.analysisdata) {
|
|
626
|
-
obj.dots = data.dots;
|
|
627
|
-
return;
|
|
628
|
-
}
|
|
629
|
-
if (!obj.analysisdata.str) throw ".analysisdata.str missing while trying to combine client/server data";
|
|
630
|
-
const analysis = /* @__PURE__ */ new Map();
|
|
631
|
-
obj.dots_user = [];
|
|
632
|
-
for (const line of obj.analysisdata.str.trim().split("\n")) {
|
|
633
|
-
const l = line.split(" ");
|
|
634
|
-
if (l.length < 3) {
|
|
635
|
-
continue;
|
|
636
|
-
}
|
|
637
|
-
const sample = l[2];
|
|
638
|
-
if (!sample) continue;
|
|
639
|
-
const j = {
|
|
640
|
-
x: Number(l[0]),
|
|
641
|
-
y: Number(l[1])
|
|
642
|
-
};
|
|
643
|
-
if (Number.isNaN(j.x) || Number.isNaN(j.y)) continue;
|
|
644
|
-
if (l[3]) {
|
|
645
|
-
j.sample = sample;
|
|
646
|
-
j.color = userdotcolor;
|
|
647
|
-
obj.dots_user.push(j);
|
|
648
|
-
continue;
|
|
649
|
-
}
|
|
650
|
-
analysis.set(sample, j);
|
|
651
|
-
}
|
|
652
|
-
obj.dots = [];
|
|
653
|
-
for (const i of data.dots) {
|
|
654
|
-
const j = analysis.get(i.sample);
|
|
655
|
-
if (!j) continue;
|
|
656
|
-
i.x = j.x;
|
|
657
|
-
i.y = j.y;
|
|
658
|
-
obj.dots.push(i);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
function finish_setup(obj) {
|
|
662
|
-
if (obj.colorbyattributes) {
|
|
663
|
-
if (!Array.isArray(obj.colorbyattributes)) throw ".colorbyattributes[] is not array";
|
|
664
|
-
if (!obj.sample_attributes) throw ".sample_attributes{} missing when .colorbyattributes is defined";
|
|
665
|
-
for (const a of obj.colorbyattributes) {
|
|
666
|
-
if (typeof a != "object") throw "one of .colorbyattributes[] is not array";
|
|
667
|
-
if (!a.key) throw ".key missing from one of .colorbyattributes[]";
|
|
668
|
-
const a2 = obj.sample_attributes[a.key];
|
|
669
|
-
if (!a2) throw "unknown key from .colorbyattributes: " + a.key;
|
|
670
|
-
a.label = a2.label;
|
|
671
|
-
a.values = a2.values;
|
|
672
|
-
if (!a.values) {
|
|
673
|
-
a.values = {};
|
|
674
|
-
for (const d of obj.dots) {
|
|
675
|
-
const v = d.s[a.key];
|
|
676
|
-
if (v == void 0 || v == null) continue;
|
|
677
|
-
a.values[v] = {};
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
const cf = ordinal(schemeCategory20);
|
|
681
|
-
for (const k in a.values) {
|
|
682
|
-
if (!a.values[k].color) a.values[k].color = cf(k);
|
|
683
|
-
}
|
|
684
|
-
if (obj.analysisdata) {
|
|
685
|
-
const ad = obj.analysisdata.sample_attributes;
|
|
686
|
-
if (ad[a.key].values == void 0) ad[a.key].values = a.values;
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
if (obj.attr_levels) {
|
|
691
|
-
if (!Array.isArray(obj.attr_levels)) throw ".attr_levels[] is not array";
|
|
692
|
-
if (obj.attr_levels.length < 2) throw ".attr_levels[] array has less than 2 items";
|
|
693
|
-
if (!obj.sample_attributes) throw ".sample_attributes is missing when .attr_levels is defined";
|
|
694
|
-
for (const l of obj.attr_levels) {
|
|
695
|
-
if (!l.key) throw ".key missing from one of attr_levels[]";
|
|
696
|
-
const register = obj.sample_attributes[l.key];
|
|
697
|
-
if (!register) throw ".attr_levels key missing from sample_attributes{}: " + l.key;
|
|
698
|
-
if (!register.values) {
|
|
699
|
-
register.values = {};
|
|
700
|
-
for (const d of obj.dots) {
|
|
701
|
-
const v = d.s[l.key];
|
|
702
|
-
if (v == void 0 || v == null || register.values[v]) continue;
|
|
703
|
-
register.values[v] = {};
|
|
704
|
-
}
|
|
705
|
-
const cf = ordinal(schemeCategory20);
|
|
706
|
-
for (const k in register.values) {
|
|
707
|
-
if (!register.values[k].color) register.values[k].color = cf(k);
|
|
708
|
-
}
|
|
709
|
-
register.orderByCount = true;
|
|
710
|
-
}
|
|
711
|
-
if (l.label) {
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
function init_plot(obj) {
|
|
717
|
-
const rootholder = obj.scattersvg.node().closest(".sja_root_holder");
|
|
718
|
-
let minx = obj.dots[0].x, maxx = minx, miny = obj.dots[0].y, maxy = miny;
|
|
719
|
-
for (const d of [...obj.dots, ...obj.dots_user || []]) {
|
|
720
|
-
minx = Math.min(minx, d.x);
|
|
721
|
-
maxx = Math.max(maxx, d.x);
|
|
722
|
-
miny = Math.min(miny, d.y);
|
|
723
|
-
maxy = Math.max(maxy, d.y);
|
|
724
|
-
}
|
|
725
|
-
let xscale = obj.xscale = linear().domain([minx, maxx]);
|
|
726
|
-
let yscale = obj.yscale = linear().domain([miny, maxy]);
|
|
727
|
-
if (!obj.dimensions) obj.dimensions = {};
|
|
728
|
-
if (!("autoResize" in obj.dimensions)) obj.dimensions.autoResize = true;
|
|
729
|
-
if (!("minWidth" in obj.dimensions)) obj.dimensions.minWidth = 300;
|
|
730
|
-
if (!("minHeight" in obj.dimensions)) obj.dimensions.minHeight = 300;
|
|
731
|
-
let currBbox;
|
|
732
|
-
const estlegendwidth = 250;
|
|
733
|
-
const bbox = rootholder.getBoundingClientRect();
|
|
734
|
-
let toppad = 30, bottompad = 50, leftpad = 100, rightpad = 30, vpad = 20, width = obj.dimensions.width ? obj.dimensions.width : Math.max(obj.dimensions.minWidth, 0.75 * (bbox.width - estlegendwidth)), height = obj.dimensions.height ? obj.dimensions.height : Math.max(obj.dimensions.minHeight, Math.min(1.2 * width, 0.5 * bbox.height)), fontsize = 18;
|
|
735
|
-
const svg = obj.scattersvg;
|
|
736
|
-
const dotg = obj.dotg = svg.append("g").attr("transform", "translate(" + (leftpad + vpad) + "," + toppad + ")");
|
|
737
|
-
const dots = dotg.selectAll().data(obj.dots).enter().append("g").attr("class", "sample_dot");
|
|
738
|
-
const circles = dots.append("circle").attr("stroke", "none").attr("r", radius).on("mouseover", (event2, d) => {
|
|
739
|
-
event2.target.setAttribute("stroke", "white");
|
|
740
|
-
const lst = [{ k: "Sample", v: d.sample }];
|
|
741
|
-
if (obj.sample_attributes) {
|
|
742
|
-
for (const attrkey in obj.sample_attributes) {
|
|
743
|
-
const attr = obj.sample_attributes[attrkey];
|
|
744
|
-
const v = d.s[attrkey];
|
|
745
|
-
lst.push({
|
|
746
|
-
k: attr.label,
|
|
747
|
-
v: d.s[attrkey]
|
|
748
|
-
});
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
make_table_2col(obj.tip.clear().d, lst);
|
|
752
|
-
obj.tip.show(event2.clientX, event2.clientY);
|
|
753
|
-
}).on("mouseout", (event2, d) => {
|
|
754
|
-
event2.target.setAttribute("stroke", "none");
|
|
755
|
-
obj.tip.hide();
|
|
756
|
-
}).on("click", (event2, d) => {
|
|
757
|
-
click_dot(d, obj, event2);
|
|
758
|
-
});
|
|
759
|
-
obj.dotselection = circles;
|
|
760
|
-
let userdots, usercircles, userlabelg, userlabels, userlabel_borders;
|
|
761
|
-
const userlabel_grp = obj.userlabel_grp = { userlabels, userlabel_borders };
|
|
762
|
-
if (obj.dots_user) {
|
|
763
|
-
userdots = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "sample_dot");
|
|
764
|
-
usercircles = userdots.append("circle").attr("stroke", "none").attr("fill", (d) => d.color).attr("r", radius).on("mouseover", (event2, d) => {
|
|
765
|
-
const lst = [{ k: "Sample", v: d.sample }];
|
|
766
|
-
if (obj.sample_attributes) {
|
|
767
|
-
for (const attrkey in obj.sample_attributes) {
|
|
768
|
-
const attr = obj.sample_attributes[attrkey];
|
|
769
|
-
if (d[attrkey])
|
|
770
|
-
lst.push({
|
|
771
|
-
k: attr.label,
|
|
772
|
-
v: d[attrkey]
|
|
773
|
-
});
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
make_table_2col(obj.tip.clear().d, lst);
|
|
777
|
-
obj.tip.show(event2.clientX, event2.clientY);
|
|
778
|
-
Object.values(userlabel_grp).forEach(
|
|
779
|
-
(labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "bold")
|
|
780
|
-
);
|
|
781
|
-
}).on("mouseout", (event2, d) => {
|
|
782
|
-
obj.tip.hide();
|
|
783
|
-
Object.values(userlabel_grp).forEach(
|
|
784
|
-
(labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "normal")
|
|
785
|
-
);
|
|
786
|
-
});
|
|
787
|
-
userlabelg = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "userlabelg");
|
|
788
|
-
userlabel_grp.userlabel_borders = userlabelg.append("text").attr("fill", "#fff").attr("font-size", fontsize).attr("stroke", "white").attr("stroke-width", "3px").text((d) => d.sample).attr("text-anchor", "end");
|
|
789
|
-
userlabel_grp.userlabels = userlabelg.append("text").attr("fill", (d) => d.color).attr("font-size", fontsize).text((d) => d.sample).on("mouseover", (event2, d) => {
|
|
790
|
-
usercircles.filter((i) => i.sample == d.sample).attr("r", radius * 2);
|
|
791
|
-
svg.style("cursor", "move");
|
|
792
|
-
const lst = [{ k: "Sample", v: d.sample }];
|
|
793
|
-
if (obj.sample_attributes) {
|
|
794
|
-
for (const attrkey in obj.sample_attributes) {
|
|
795
|
-
const attr = obj.sample_attributes[attrkey];
|
|
796
|
-
if (d[attrkey])
|
|
797
|
-
lst.push({
|
|
798
|
-
k: attr.label,
|
|
799
|
-
v: d[attrkey]
|
|
800
|
-
});
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
make_table_2col(obj.tip.clear().d, lst);
|
|
804
|
-
obj.tip.show(event2.clientX, event2.clientY);
|
|
805
|
-
}).on("mouseout", (event2, d) => {
|
|
806
|
-
usercircles.filter((i) => i.sample == d.sample).attr("r", radius);
|
|
807
|
-
svg.style("cursor", "auto");
|
|
808
|
-
obj.tip.hide();
|
|
809
|
-
}).on("mousedown", (event2, d) => {
|
|
810
|
-
event2.preventDefault();
|
|
811
|
-
event2.stopPropagation();
|
|
812
|
-
const b = select_default(document.body);
|
|
813
|
-
const x = event2.clientX;
|
|
814
|
-
const y = event2.clientY;
|
|
815
|
-
xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : obj.xscale;
|
|
816
|
-
yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : obj.yscale;
|
|
817
|
-
const g = userlabelg.filter((i) => i.sample == d.sample);
|
|
818
|
-
const [x1, y1] = g.attr("transform").match(/[\d\.]+/g).map(Number);
|
|
819
|
-
b.on("mousemove", (event3) => {
|
|
820
|
-
g.attr("transform", "translate(" + (x1 + event3.clientX - x) + "," + (y1 + event3.clientY - y) + ")");
|
|
821
|
-
});
|
|
822
|
-
b.on("mouseup", (event3) => {
|
|
823
|
-
b.on("mousemove", null).on("mouseup", null);
|
|
824
|
-
d.x_ = xscale.invert(x1 + event3.clientX - x);
|
|
825
|
-
d.y_ = yscale.invert(y1 + event3.clientY - y);
|
|
826
|
-
});
|
|
827
|
-
}).on("dblclick", (event2, d) => {
|
|
828
|
-
obj.menu2.clear().show(event2.clientX - 90, event2.clientY);
|
|
829
|
-
obj.menu2.d.append("input").attr("type", "text").property("value", d.sample).style("display", "block").style("margin-bottom", "5px").on("keyup", (event3) => {
|
|
830
|
-
if (!keyupEnter(event3)) return;
|
|
831
|
-
const v = event3.target.value;
|
|
832
|
-
Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).text(v));
|
|
833
|
-
d.sample = v;
|
|
834
|
-
obj.menu2.hide();
|
|
835
|
-
});
|
|
836
|
-
obj.menu2.d.append("input").attr("type", "color").property("value", d.color).on("change", (event3) => {
|
|
837
|
-
const v = event3.target.value;
|
|
838
|
-
Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).attr("fill", v));
|
|
839
|
-
usercircles.filter((i) => i.sample == d.sample).attr("fill", v);
|
|
840
|
-
d.color = v;
|
|
841
|
-
});
|
|
842
|
-
});
|
|
843
|
-
userlabel_grp.userlabels.append("title").text("Double-click to edit");
|
|
844
|
-
}
|
|
845
|
-
assign_color4dots(obj);
|
|
846
|
-
function resize() {
|
|
847
|
-
bottompad = width / 20 + 20;
|
|
848
|
-
svg.attr("width", leftpad + vpad + width + rightpad).attr("height", toppad + height + vpad + bottompad);
|
|
849
|
-
const new_xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : xscale;
|
|
850
|
-
const new_yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : yscale;
|
|
851
|
-
new_xscale.range([0, width]);
|
|
852
|
-
new_yscale.range([height, 0]);
|
|
853
|
-
dots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
|
|
854
|
-
if (userdots) {
|
|
855
|
-
userdots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
|
|
856
|
-
userlabelg.attr("transform", (d) => {
|
|
857
|
-
const x = d.x_ ? new_xscale(d.x_) : new_xscale(d.x), y = d.y_ ? new_yscale(d.y_) : new_yscale(d.y);
|
|
858
|
-
let lw;
|
|
859
|
-
Object.values(userlabel_grp).forEach(
|
|
860
|
-
(labels) => labels.filter((i) => i.sample == d.sample).each(function() {
|
|
861
|
-
lw = this.getBBox().width;
|
|
862
|
-
}).attr("text-anchor", x + lw >= width ? "end" : "start")
|
|
863
|
-
);
|
|
864
|
-
return "translate(" + x + "," + y + ")";
|
|
865
|
-
});
|
|
866
|
-
}
|
|
867
|
-
currBbox = rootholder.getBoundingClientRect();
|
|
868
|
-
if (obj.userlabel_grp && userlabelg && userlabelg.size()) {
|
|
869
|
-
uncollide(userlabelg, { waitTime: 0, nameKey: "sample" });
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
resize();
|
|
873
|
-
obj.scattersvg_resizehandle.style("position", "absolute").style("right", "0px").style("bottom", "0px").attr("class", "sja_clbtext").text("drag to resize").on("mousedown", (event2) => {
|
|
874
|
-
event2.preventDefault();
|
|
875
|
-
const b = select_default(document.body);
|
|
876
|
-
const x = event2.clientX;
|
|
877
|
-
const y = event2.clientY;
|
|
878
|
-
const w0 = width;
|
|
879
|
-
const h0 = height;
|
|
880
|
-
b.on("mousemove", (event3) => {
|
|
881
|
-
width = w0 + event3.clientX - x;
|
|
882
|
-
height = h0 + event3.clientY - y;
|
|
883
|
-
resize();
|
|
884
|
-
});
|
|
885
|
-
b.on("mouseup", () => {
|
|
886
|
-
b.on("mousemove", null).on("mouseup", null);
|
|
887
|
-
});
|
|
888
|
-
});
|
|
889
|
-
function resetDimensions() {
|
|
890
|
-
const bbox2 = rootholder.getBoundingClientRect();
|
|
891
|
-
const w = width * bbox2.width / currBbox.width;
|
|
892
|
-
width = obj.dimensions.minWidth ? Math.max(obj.dimensions.minWidth, w) : w;
|
|
893
|
-
const h = height * bbox2.height / currBbox.height;
|
|
894
|
-
height = obj.dimensions.minHeight ? Math.max(obj.dimensions.minHeight, h) : h;
|
|
895
|
-
currBbox = bbox2;
|
|
896
|
-
resize();
|
|
897
|
-
}
|
|
898
|
-
let timeout;
|
|
899
|
-
if (obj.dimensions.autoResize) {
|
|
900
|
-
window.addEventListener("resize", () => {
|
|
901
|
-
if (timeout) clearTimeout(timeout);
|
|
902
|
-
timeout = setTimeout(resetDimensions, 50);
|
|
903
|
-
});
|
|
904
|
-
}
|
|
905
|
-
makeConfigPanel(obj);
|
|
906
|
-
}
|
|
907
|
-
function makeConfigPanel(obj) {
|
|
908
|
-
const svg = obj.scattersvg;
|
|
909
|
-
obj.scattersvg_buttons.style("position", "absolute").style("right", "0px").style("top", "0px");
|
|
910
|
-
obj.zoom_active = false;
|
|
911
|
-
const zoom_btn = obj.scattersvg_buttons.append("div").style("padding", "2px 5px").style("border", "1px solid #999").style("color", "#999").style("background-color", "#fff").style("cursor", "pointer").style("font-weight", "300").style("border-radius", "5px").style("text-align", "center").text("Pan / Zoom").on("click", zoomToggle);
|
|
912
|
-
const zoom_menu = obj.scattersvg_buttons.append("div").style("margin-top", "2px").style("padding", "2px 5px").style("border-radius", "5px").style("text-align", "center").style("display", obj.zoom_active ? "block" : "none").style("background-color", "#ddd");
|
|
913
|
-
const zoom_inout_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
914
|
-
zoom_inout_div.append("div").style("display", "block").style("padding", "2px 4px").style("font-size", "80%").text("Zoom");
|
|
915
|
-
zoom_inout_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html('<p style="margin:1px;">Mouse wheel </br>or use these buttons</p>');
|
|
916
|
-
const zoom_in_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 7px").text("+");
|
|
917
|
-
const zoom_out_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("-");
|
|
918
|
-
const pan_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
919
|
-
pan_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Pan");
|
|
920
|
-
pan_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html('<p style="margin:1px;">Mouse click </br>+ Mouse move</p>');
|
|
921
|
-
const reset_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
922
|
-
const reset_btn = reset_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("Reset");
|
|
923
|
-
function zoomToggle() {
|
|
924
|
-
obj.zoom_active = obj.zoom_active ? false : true;
|
|
925
|
-
zoom_btn.style("border", obj.zoom_active ? "2px solid #000" : "1px solid #999").style("color", obj.zoom_active ? "#000" : "#999").style("background-color", obj.zoom_active ? "#eee" : "#fff").style("font-weight", obj.zoom_active ? "400" : "300");
|
|
926
|
-
lasso_btn.style("pointer-events", obj.zoom_active ? "none" : "auto");
|
|
927
|
-
zoom_menu.style("display", obj.zoom_active ? "block" : "none");
|
|
928
|
-
const zoom = zoom_default().scaleExtent([1, 5]).on("zoom", obj.zoom_active ? zoomed : null);
|
|
929
|
-
function zoomed(event2) {
|
|
930
|
-
obj.new_xscale = event2.transform.rescaleX(obj.xscale);
|
|
931
|
-
obj.new_yscale = event2.transform.rescaleY(obj.yscale);
|
|
932
|
-
obj.zoomed_scale = event2.transform.k;
|
|
933
|
-
const dots = obj.dotg.selectAll(".sample_dot");
|
|
934
|
-
dots.attr("transform", (d) => "translate(" + obj.new_xscale(d.x) + "," + obj.new_yscale(d.y) + ")");
|
|
935
|
-
const userlabelg = obj.dotg.selectAll(".userlabelg");
|
|
936
|
-
userlabelg.attr(
|
|
937
|
-
"transform",
|
|
938
|
-
(d) => "translate(" + obj.new_xscale(d.x_ || d.x) + "," + obj.new_yscale(d.y_ || d.y) + ")"
|
|
939
|
-
);
|
|
940
|
-
}
|
|
941
|
-
if (obj.zoom_active) svg.call(zoom);
|
|
942
|
-
else svg.on(".zoom", null);
|
|
943
|
-
zoom_in_btn.on("click", () => {
|
|
944
|
-
zoom.scaleBy(svg.transition().duration(750), 1.5);
|
|
945
|
-
});
|
|
946
|
-
zoom_out_btn.on("click", () => {
|
|
947
|
-
zoom.scaleBy(svg.transition().duration(750), 0.5);
|
|
948
|
-
});
|
|
949
|
-
reset_btn.on("click", () => {
|
|
950
|
-
svg.transition().duration(750).call(zoom.transform, identity);
|
|
951
|
-
});
|
|
952
|
-
}
|
|
953
|
-
const lasso_btn = obj.scattersvg_buttons.append("div").style("display", "block").style("padding", "2px 5px").style("margin-top", "5px").style("border", "1px solid #999").style("color", "#999").style("background-color", "#fff").style("cursor", "pointer").style("font-weight", "300").style("border-radius", "5px").style("text-align", "center").text("Lasso select").on("click", lassoToggle);
|
|
954
|
-
const lasso_menu = obj.scattersvg_buttons.append("div").style("margin-top", "2px").style("padding", "2px 5px").style("border-radius", "5px").style("text-align", "center").style("display", obj.lasso_active ? "block" : "none").style("background-color", "#ddd");
|
|
955
|
-
const lasso_div = lasso_menu.append("div").style("margin", "5px 2px");
|
|
956
|
-
lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Lasso usage");
|
|
957
|
-
lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html(
|
|
958
|
-
'<p style="margin:1px;">Mouse click </br>+ Mouse move <br>TIP: Release the mouse <br> when desired dots <br> are selected, without <br>closing the loop. </p>'
|
|
959
|
-
);
|
|
960
|
-
function lassoToggle() {
|
|
961
|
-
const dots = obj.dotg.selectAll("g");
|
|
962
|
-
obj.lasso_active = obj.lasso_active ? false : true;
|
|
963
|
-
zoom_btn.style("pointer-events", obj.lasso_active ? "none" : "auto");
|
|
964
|
-
lasso_menu.style("display", obj.lasso_active ? "block" : "none");
|
|
965
|
-
lasso_btn.style("border", obj.lasso_active ? "2px solid #000" : "1px solid #999").style("color", obj.lasso_active ? "#000" : "#999").style("background-color", obj.lasso_active ? "#eee" : "#fff").style("font-weight", obj.lasso_active ? "400" : "300");
|
|
966
|
-
lasso_select(obj, dots);
|
|
967
|
-
if (obj.lasso_active) return;
|
|
968
|
-
dots.selectAll("circle").classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
function assign_color4dots(obj) {
|
|
972
|
-
let byattr;
|
|
973
|
-
if (obj.colorbygeneexpression && obj.colorbygeneexpression.__inuse) {
|
|
974
|
-
} else if (obj.attr_levels) {
|
|
975
|
-
byattr = { key: obj.attr_levels[1].key };
|
|
976
|
-
byattr.values = obj.sample_attributes[byattr.key].values;
|
|
977
|
-
} else if (obj.colorbyattributes) {
|
|
978
|
-
byattr = { key: (obj.colorbyattributes.find((i) => i.__inuse) || obj.colorbyattributes[0]).key };
|
|
979
|
-
byattr.values = obj.sample_attributes[byattr.key].values;
|
|
980
|
-
}
|
|
981
|
-
obj.dotselection.transition().attr("fill", (d) => {
|
|
982
|
-
if (byattr) {
|
|
983
|
-
const v = d.s[byattr.key];
|
|
984
|
-
return byattr.values[v] ? byattr.values[v].color : "black";
|
|
985
|
-
}
|
|
986
|
-
return "#ccc";
|
|
987
|
-
});
|
|
988
|
-
}
|
|
989
|
-
function init_dotcolor_legend(obj) {
|
|
990
|
-
if (obj.attr_levels) {
|
|
991
|
-
legend_attr_levels(obj);
|
|
992
|
-
return;
|
|
993
|
-
}
|
|
994
|
-
if (obj.colorbyattributes) {
|
|
995
|
-
legend_flatlist(obj);
|
|
996
|
-
return;
|
|
997
|
-
}
|
|
998
|
-
if (obj.colorbygeneexpression) {
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
function legend_attr_levels(obj) {
|
|
1002
|
-
const staydiv = obj.legendtable.append("tr").append("td").append("div").style("position", "relative");
|
|
1003
|
-
const scrolldiv = staydiv.append("div");
|
|
1004
|
-
const L1 = obj.attr_levels[0];
|
|
1005
|
-
L1.v2c = /* @__PURE__ */ new Map();
|
|
1006
|
-
L1.unannotated = 0;
|
|
1007
|
-
for (const d of obj.dots) {
|
|
1008
|
-
const v = d.s[L1.key];
|
|
1009
|
-
if (v == void 0 || v == null) {
|
|
1010
|
-
L1.unannotated++;
|
|
1011
|
-
continue;
|
|
1012
|
-
}
|
|
1013
|
-
if (!L1.v2c.has(v)) L1.v2c.set(v, { dots: [] });
|
|
1014
|
-
L1.v2c.get(v).dots.push(d);
|
|
1015
|
-
if (L1.label) {
|
|
1016
|
-
L1.v2c.get(v).label = d.s[L1.label];
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
for (const L1value of get_itemOrderList(L1, obj)) {
|
|
1020
|
-
const L1o = L1.v2c.get(L1value);
|
|
1021
|
-
const L1div = scrolldiv.append("div").style("margin-top", "20px").attr("class", "sja_lb_div");
|
|
1022
|
-
L1div.append("div").attr("class", "sja_l1lb").html((L1o.label || L1value) + ' <span style="font-size:.8em">n=' + L1o.dots.length + "</span>").style("margin-top", "15px");
|
|
1023
|
-
const L2 = obj.attr_levels[1];
|
|
1024
|
-
if (L2) {
|
|
1025
|
-
const L2values = obj.sample_attributes[L2.key].values;
|
|
1026
|
-
L2.v2c = /* @__PURE__ */ new Map();
|
|
1027
|
-
L2.unannotated = 0;
|
|
1028
|
-
for (const d of L1o.dots) {
|
|
1029
|
-
const v = d.s[L2.key];
|
|
1030
|
-
if (v == void 0 || v == null) {
|
|
1031
|
-
L2.unannotated++;
|
|
1032
|
-
continue;
|
|
1033
|
-
}
|
|
1034
|
-
if (!L2.v2c.has(v)) {
|
|
1035
|
-
const o = L2values[v];
|
|
1036
|
-
if (o) {
|
|
1037
|
-
o.dots = [];
|
|
1038
|
-
L2.v2c.set(v, o);
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
if (L2.v2c.has(v)) {
|
|
1042
|
-
L2.v2c.get(v).dots.push(d);
|
|
1043
|
-
if (L2.label) {
|
|
1044
|
-
L2.v2c.get(v).label = d.s[L2.label];
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
if (!obj.hide_subtype_legend) {
|
|
1049
|
-
for (const L2value of get_itemOrderList(L2, obj)) {
|
|
1050
|
-
const L2o = L2.v2c.get(L2value);
|
|
1051
|
-
const cell = L1div.append("div").style("display", "inline-block").style("white-space", "nowrap").attr("class", "sja_clb").on("click", () => {
|
|
1052
|
-
if (L2o.selected) {
|
|
1053
|
-
L2o.selected = false;
|
|
1054
|
-
cell.style("border", "");
|
|
1055
|
-
let alloff2 = true;
|
|
1056
|
-
for (const k in L2values) {
|
|
1057
|
-
if (L2values[k].selected) alloff2 = false;
|
|
1058
|
-
}
|
|
1059
|
-
if (alloff2) {
|
|
1060
|
-
obj.dotselection.transition().attr("r", radius);
|
|
1061
|
-
} else {
|
|
1062
|
-
obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius_tiny);
|
|
1063
|
-
}
|
|
1064
|
-
return;
|
|
1065
|
-
}
|
|
1066
|
-
let alloff = true;
|
|
1067
|
-
for (const k in L2values) {
|
|
1068
|
-
if (L2values[k].selected) alloff = false;
|
|
1069
|
-
}
|
|
1070
|
-
L2o.selected = true;
|
|
1071
|
-
cell.style("border", "solid 1px #858585");
|
|
1072
|
-
if (alloff) {
|
|
1073
|
-
obj.dotselection.transition().attr("r", (d) => d.s[L2.key] == L2value ? radius : radius_tiny);
|
|
1074
|
-
} else {
|
|
1075
|
-
obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius);
|
|
1076
|
-
}
|
|
1077
|
-
});
|
|
1078
|
-
cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", L2o.color).style("margin-right", "3px").text(L2o.dots.length);
|
|
1079
|
-
cell.append("div").style("display", "inline-block").style("color", L2o.color).text(L2o.label || L2value);
|
|
1080
|
-
L2o.cell = cell;
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
if (L2.unannotated) {
|
|
1084
|
-
const d = L1div.append("div").style("margin-top", "20px");
|
|
1085
|
-
d.append("div").text('Unannotated for "' + L2.key + '": ' + L2.unannotated);
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
if (L1.unannotated) {
|
|
1090
|
-
const d = scrolldiv.append("div").style("margin-top", "20px");
|
|
1091
|
-
d.append("div").html('Unannotated for "' + L1.key + '": ' + L1.unannotated);
|
|
1092
|
-
}
|
|
1093
|
-
if (L1.v2c.size > 10) {
|
|
1094
|
-
scrolldiv.style("overflow-y", "scroll").style("height", "800px").style("resize", "vertical");
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
function get_itemOrderList(level, obj) {
|
|
1098
|
-
const register = obj.sample_attributes[level.key];
|
|
1099
|
-
if (!register.values || register.orderByCount) {
|
|
1100
|
-
return [...level.v2c].sort((i, j) => j[1].dots.length - i[1].dots.length).map((i) => i[0]);
|
|
1101
|
-
}
|
|
1102
|
-
const lst = [];
|
|
1103
|
-
for (const k in register.values) {
|
|
1104
|
-
if (level.v2c.has(k)) lst.push(k);
|
|
1105
|
-
}
|
|
1106
|
-
return lst;
|
|
1107
|
-
}
|
|
1108
|
-
function legend_flatlist(obj) {
|
|
1109
|
-
if (!obj.colorbyattributes.find((i) => i.__inuse)) obj.colorbyattributes[0].__inuse = true;
|
|
1110
|
-
for (const attr of obj.colorbyattributes) {
|
|
1111
|
-
const tr = obj.legendtable.append("tr");
|
|
1112
|
-
attr.labelhandle = tr.append("td").append("div").style("white-space", "nowrap").text(attr.label).attr("class", "sja_clb").on("click", () => {
|
|
1113
|
-
for (const attr2 of obj.colorbyattributes) {
|
|
1114
|
-
attr2.__inuse = false;
|
|
1115
|
-
attr2.labelhandle.style("background", "").style("border-bottom", "");
|
|
1116
|
-
}
|
|
1117
|
-
attr.__inuse = true;
|
|
1118
|
-
attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
|
|
1119
|
-
assign_color4dots(obj);
|
|
1120
|
-
});
|
|
1121
|
-
if (attr.__inuse) {
|
|
1122
|
-
attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
|
|
1123
|
-
}
|
|
1124
|
-
for (const d of obj.dots) {
|
|
1125
|
-
const v = d.s[attr.key];
|
|
1126
|
-
if (v == void 0 || v == null) continue;
|
|
1127
|
-
if (!attr.values[v]) attr.values[v] = { color: "black" };
|
|
1128
|
-
attr.values[v].count = 1 + (attr.values[v].count || 0);
|
|
1129
|
-
}
|
|
1130
|
-
const cellholder = tr.append("td");
|
|
1131
|
-
for (const value in attr.values) {
|
|
1132
|
-
const o = attr.values[value];
|
|
1133
|
-
if (o.count == 0 || o.count == void 0) continue;
|
|
1134
|
-
const cell = cellholder.append("div").style("display", "inline-block").attr("class", "sja_clb").on("click", () => {
|
|
1135
|
-
if (o.selected) {
|
|
1136
|
-
o.selected = false;
|
|
1137
|
-
cell.style("border", "");
|
|
1138
|
-
let alloff2 = true;
|
|
1139
|
-
for (const k in attr.values) {
|
|
1140
|
-
if (attr.values[k].selected) alloff2 = false;
|
|
1141
|
-
}
|
|
1142
|
-
if (alloff2) {
|
|
1143
|
-
obj.dotselection.transition().attr("r", radius);
|
|
1144
|
-
} else {
|
|
1145
|
-
obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius_tiny);
|
|
1146
|
-
}
|
|
1147
|
-
return;
|
|
1148
|
-
}
|
|
1149
|
-
let alloff = true;
|
|
1150
|
-
for (const k in attr.values) {
|
|
1151
|
-
if (attr.values[k].selected) alloff = false;
|
|
1152
|
-
}
|
|
1153
|
-
o.selected = true;
|
|
1154
|
-
cell.style("border", "solid 1px #858585");
|
|
1155
|
-
if (alloff) {
|
|
1156
|
-
obj.dotselection.transition().attr("r", (d) => d.s[attr.key] == value ? radius : radius_tiny);
|
|
1157
|
-
} else {
|
|
1158
|
-
obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius);
|
|
1159
|
-
}
|
|
1160
|
-
});
|
|
1161
|
-
cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", o.color).style("margin-right", "3px").text(o.count);
|
|
1162
|
-
cell.append("div").style("display", "inline-block").style("color", o.color).text(o.name || value);
|
|
1163
|
-
o.cell = cell;
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
function update_dotcolor_legend(obj) {
|
|
1168
|
-
const filterd_dots = obj.dots.filter((d) => obj.filteredSamples.has(d.sample));
|
|
1169
|
-
const attrs_list = Array.from(filterd_dots, (d) => d.s);
|
|
1170
|
-
const key1 = obj.attr_levels?.[0].label || obj.attr_levels?.[0].key;
|
|
1171
|
-
const l1_labs = [...new Set(Array.from(attrs_list, (a) => a[key1]))];
|
|
1172
|
-
const key2 = obj.attr_levels?.[1].label || obj.attr_levels?.[1].key;
|
|
1173
|
-
const l2_labs = [...new Set(Array.from(attrs_list, (a) => a[key2]))];
|
|
1174
|
-
const legend_divs = obj.legendtable.node().querySelectorAll(".sja_lb_div");
|
|
1175
|
-
for (const div1 of legend_divs) {
|
|
1176
|
-
const l1_label = select_default(div1).select(".sja_l1lb").node().innerText.split(/\s{2}n=/)[0];
|
|
1177
|
-
if (!l1_labs.includes(l1_label)) select_default(div1).style("display", "none");
|
|
1178
|
-
else {
|
|
1179
|
-
select_default(div1).style("display", "block");
|
|
1180
|
-
const l2_divs = select_default(div1).node().querySelectorAll(".sja_clb");
|
|
1181
|
-
for (const div2 of l2_divs) {
|
|
1182
|
-
const clab = select_default(div2).node().querySelectorAll("div")[1];
|
|
1183
|
-
if (!l2_labs.includes(clab.innerText)) select_default(div2).style("display", "none");
|
|
1184
|
-
else select_default(div2).style("display", "inline-block");
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
function click_dot(dot, obj, event2) {
|
|
1190
|
-
if (obj.dslabel) {
|
|
1191
|
-
click_dot_mdsview(dot, obj, event2);
|
|
1192
|
-
return;
|
|
1193
|
-
}
|
|
1194
|
-
if (obj.mds) {
|
|
1195
|
-
click_dot_disco(dot, obj, event2);
|
|
1196
|
-
return;
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
async function click_dot_disco(dot, obj, event2) {
|
|
1200
|
-
const pane = newpane({ x: event2.clientX, y: event2.clientY });
|
|
1201
|
-
pane.header.text(dot.sample);
|
|
1202
|
-
const wait = tab_wait(pane.body);
|
|
1203
|
-
try {
|
|
1204
|
-
const sjcharts = await getsjcharts();
|
|
1205
|
-
const arg = {
|
|
1206
|
-
genome: obj.genome.name,
|
|
1207
|
-
dslabel: obj.mds.label,
|
|
1208
|
-
querykey: obj.mds.querykey,
|
|
1209
|
-
getsample4disco: dot.sample
|
|
1210
|
-
};
|
|
1211
|
-
const data = await dofetch("/mdssvcnv", arg);
|
|
1212
|
-
if (data.error) throw data.error;
|
|
1213
|
-
if (!data.text) throw ".text missing";
|
|
1214
|
-
const discoHolder = pane.body.append("div");
|
|
1215
|
-
const renderer = await sjcharts.dtDisco({
|
|
1216
|
-
holderSelector: discoHolder,
|
|
1217
|
-
chromosomeType: obj.genome.name,
|
|
1218
|
-
majorchr: obj.genome.majorchr,
|
|
1219
|
-
settings: {
|
|
1220
|
-
showControls: false,
|
|
1221
|
-
selectedSamples: []
|
|
1222
|
-
},
|
|
1223
|
-
callbacks: {
|
|
1224
|
-
geneLabelClick: {
|
|
1225
|
-
type: "genomepaint",
|
|
1226
|
-
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1227
|
-
genome: obj.genome.name,
|
|
1228
|
-
dslabel: obj.mds.label,
|
|
1229
|
-
sample: dot.sample
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1232
|
-
});
|
|
1233
|
-
const disco_arg = {
|
|
1234
|
-
sampleName: dot.sample,
|
|
1235
|
-
data: JSON.parse(data.text)
|
|
1236
|
-
};
|
|
1237
|
-
renderer.main(disco_arg);
|
|
1238
|
-
wait.remove();
|
|
1239
|
-
} catch (e) {
|
|
1240
|
-
wait.text("Error: " + (e.message || e));
|
|
1241
|
-
if (e.stack) console.log(e.stack);
|
|
1242
|
-
}
|
|
1243
|
-
}
|
|
1244
|
-
function click_dot_mdsview(dot, obj, event2) {
|
|
1245
|
-
const pane = newpane({ x: event2.clientX, y: event2.clientY });
|
|
1246
|
-
pane.header.text(dot.sample);
|
|
1247
|
-
const wait = pane.body.append("div").style("margin", "20px").text("Loading ...");
|
|
1248
|
-
dofetch("/mdssvcnv", {
|
|
1249
|
-
genome: obj.genome.name,
|
|
1250
|
-
dslabel: obj.dslabel,
|
|
1251
|
-
querykey: obj.querykey,
|
|
1252
|
-
// TODO general track
|
|
1253
|
-
gettrack4singlesample: dot.sample
|
|
1254
|
-
}).then((data) => {
|
|
1255
|
-
wait.remove();
|
|
1256
|
-
launch_singlesample({
|
|
1257
|
-
obj,
|
|
1258
|
-
dot,
|
|
1259
|
-
sampletracks: data.tracks,
|
|
1260
|
-
holder: pane.body
|
|
1261
|
-
});
|
|
1262
|
-
});
|
|
1263
|
-
}
|
|
1264
|
-
function lasso_select(obj, dots) {
|
|
1265
|
-
const svg = obj.scattersvg;
|
|
1266
|
-
let lasso;
|
|
1267
|
-
if (obj.lasso_active) {
|
|
1268
|
-
lasso = d3lasso().items(dots.selectAll("circle")).targetArea(svg);
|
|
1269
|
-
lasso.on("start", scatterplot_lasso_start).on("draw", scatterplot_lasso_draw).on("end", scatterplot_lasso_end);
|
|
1270
|
-
svg.call(lasso);
|
|
1271
|
-
} else {
|
|
1272
|
-
svg.selectAll(".lasso").remove();
|
|
1273
|
-
svg.on("mousedown.drag", null);
|
|
1274
|
-
}
|
|
1275
|
-
function scatterplot_lasso_start() {
|
|
1276
|
-
if (!obj.lasso_active) return;
|
|
1277
|
-
lasso.items().attr("r", 2).style("fill-opacity", ".5").classed("not_possible", true).classed("selected", false);
|
|
1278
|
-
}
|
|
1279
|
-
function scatterplot_lasso_draw() {
|
|
1280
|
-
if (!obj.lasso_active) return;
|
|
1281
|
-
lasso.possibleItems().attr("r", radius).style("fill-opacity", "1").classed("not_possible", false).classed("possible", true);
|
|
1282
|
-
}
|
|
1283
|
-
function scatterplot_lasso_end(event2) {
|
|
1284
|
-
if (!obj.lasso_active) return;
|
|
1285
|
-
const selected_samples = svg.selectAll(".possible").data().map((d) => d.sample);
|
|
1286
|
-
if (selected_samples.length) show_lasso_menu(event2, selected_samples);
|
|
1287
|
-
else obj.menu.hide();
|
|
1288
|
-
lasso.items().classed("not_possible", false).classed("possible", false);
|
|
1289
|
-
lasso.selectedItems().attr("r", radius);
|
|
1290
|
-
lasso.notSelectedItems().attr("r", selected_samples.length == 0 ? radius : radius_tiny).style("fill-opacity", "1");
|
|
1291
|
-
}
|
|
1292
|
-
function show_lasso_menu(event2, samples) {
|
|
1293
|
-
obj.menu.clear().show(event2.sourceEvent.clientX - 90, event2.sourceEvent.clientY);
|
|
1294
|
-
if (obj.mds && obj.mds.gene2mutcount) {
|
|
1295
|
-
obj.menu.d.append("div").attr("class", "sja_menuoption").text("Recurrently mutated genes").on("click", async () => {
|
|
1296
|
-
obj.menu.hide();
|
|
1297
|
-
await click_mutated_genes(obj, samples);
|
|
1298
|
-
});
|
|
1299
|
-
}
|
|
1300
|
-
for (const opt of obj.lasso.postSelectMenuOptions) {
|
|
1301
|
-
obj.menu.d.append("div").attr("class", "sja_menuoption").text(opt.label).on("click", async () => {
|
|
1302
|
-
obj.menu.hide();
|
|
1303
|
-
const arg = {
|
|
1304
|
-
samples,
|
|
1305
|
-
sample_attributes: obj.sample_attributes,
|
|
1306
|
-
sample2dot: obj.sample2dot
|
|
1307
|
-
};
|
|
1308
|
-
if (opt.callback == "listSamples") printData(arg);
|
|
1309
|
-
else opt.callback(arg);
|
|
1310
|
-
});
|
|
1311
|
-
}
|
|
1312
|
-
obj.menu.d.append("div").attr("class", "sja_menuoption").text("Cancel").on("click", () => {
|
|
1313
|
-
lasso.items().classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
|
|
1314
|
-
obj.menu.hide();
|
|
1315
|
-
});
|
|
1316
|
-
obj.menu.d.append("div").style("padding", "10px").style("font-size", ".8em").style("width", "150px").text(samples.length + " samples selected");
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
function printData(obj) {
|
|
1320
|
-
const { samples, sample_attributes, sample2dot } = obj;
|
|
1321
|
-
const label_keys = Object.keys(sample_attributes);
|
|
1322
|
-
let labels = label_keys.map((k) => sample_attributes[k].label ? sample_attributes[k].label : k);
|
|
1323
|
-
labels.unshift("Sample");
|
|
1324
|
-
const labels_str = labels.join(" ");
|
|
1325
|
-
const lst = [labels_str];
|
|
1326
|
-
for (const s of samples) {
|
|
1327
|
-
if (sample2dot.get(s).s) {
|
|
1328
|
-
let sample_row = [];
|
|
1329
|
-
sample_row.push(s);
|
|
1330
|
-
for (const k of label_keys) sample_row.push(sample2dot.get(s).s[k]);
|
|
1331
|
-
lst.push(sample_row.join(" "));
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
1334
|
-
export_data("List of selected samples", [{ text: lst.join("\n") }]);
|
|
1335
|
-
}
|
|
1336
|
-
function click_mutated_genes(obj, samples) {
|
|
1337
|
-
obj.pane = newpane({ x: event.clientX, y: event.clientY });
|
|
1338
|
-
obj.pane.header.text("Recurrently Mutated Genes");
|
|
1339
|
-
obj.pane.wait = tab_wait(obj.pane.body);
|
|
1340
|
-
obj.pane.matrix_criteria_div = obj.pane.body.append("div");
|
|
1341
|
-
obj.pane.sample_matrix_div = obj.pane.body.append("div");
|
|
1342
|
-
init_mutation_type_control(obj, samples);
|
|
1343
|
-
}
|
|
1344
|
-
function init_mutation_type_control(obj, samples) {
|
|
1345
|
-
let mutTypes = [], defaultTypes = [], selectedTypes = [], selected_cnv, nGenes = 15;
|
|
1346
|
-
const holder = obj.pane.matrix_criteria_div;
|
|
1347
|
-
if (obj.mds.mutCountType) {
|
|
1348
|
-
mutTypes = obj.mds.mutCountType;
|
|
1349
|
-
const non_cnv_types = mutTypes.filter((m) => !m.db_col.includes("cnv"));
|
|
1350
|
-
const cnv_types = mutTypes.filter((m) => m.db_col.includes("cnv"));
|
|
1351
|
-
const default_cnv = cnv_types.find((t) => t.default);
|
|
1352
|
-
selected_cnv = default_cnv;
|
|
1353
|
-
defaultTypes = mutTypes.filter((t) => t.default).map((t) => t.db_col);
|
|
1354
|
-
selectedTypes = [...defaultTypes];
|
|
1355
|
-
const buttonrow = holder.append("div").style("margin", "5px 20px");
|
|
1356
|
-
const criteria_div = holder.append("div").style("margin", "5px 20px").style("padding", "5px").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("background-color", "#FCFBF7").style("font-size", ".8em");
|
|
1357
|
-
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("MUTATION COUNT & NO. OF GENE CRITERIA").attr("class", "sja_clbtext").on("click", () => {
|
|
1358
|
-
if (criteria_div.style("display") == "none") {
|
|
1359
|
-
appear(criteria_div);
|
|
1360
|
-
} else {
|
|
1361
|
-
disappear(criteria_div);
|
|
1362
|
-
}
|
|
1363
|
-
});
|
|
1364
|
-
const mut_div = criteria_div.append("div");
|
|
1365
|
-
const mut_label_div = mut_div.append("div").style("display", "table-cell").style("width", "110px");
|
|
1366
|
-
mut_label_div.append("div").text("Consequences").style("padding-right", "15px");
|
|
1367
|
-
const mut_types_div = mut_div.append("div").style("display", "table-cell").style("border-left", "solid 1px #ededed");
|
|
1368
|
-
non_cnv_types.forEach((type) => {
|
|
1369
|
-
const m_div = mut_types_div.append("div");
|
|
1370
|
-
const checkbox = m_div.append("input").attr("type", "checkbox").attr("name", "mut_type").attr("value", type.db_col).style("margin", "3px").style("margin-left", "4px").property("checked", type.default);
|
|
1371
|
-
checkbox.on("change", () => {
|
|
1372
|
-
if (checkbox.node().checked) {
|
|
1373
|
-
selectedTypes.push(checkbox.node().value);
|
|
1374
|
-
} else {
|
|
1375
|
-
selectedTypes = selectedTypes.filter((t) => t !== checkbox.node().value);
|
|
1376
|
-
}
|
|
1377
|
-
});
|
|
1378
|
-
m_div.append("label").attr("for", type.db_col).html(type.label);
|
|
1379
|
-
});
|
|
1380
|
-
const cnv_checkbox = mut_types_div.append("input").attr("type", "checkbox").attr("name", "noncnv").attr("value", "cnv").style("margin", "3px").style("margin-left", "4px").property("checked", default_cnv ? true : false).on("change", () => {
|
|
1381
|
-
if (cnv_checkbox.node().checked) {
|
|
1382
|
-
size_select.property("disabled", false);
|
|
1383
|
-
ratio_select.property("disabled", false);
|
|
1384
|
-
} else {
|
|
1385
|
-
size_select.property("disabled", true);
|
|
1386
|
-
ratio_select.property("disabled", true);
|
|
1387
|
-
}
|
|
1388
|
-
});
|
|
1389
|
-
mut_types_div.append("label").attr("for", "cnv").text("CNV");
|
|
1390
|
-
const cnv_options_div = mut_types_div.append("div").style("display", "block").style("padding", "3px 15px");
|
|
1391
|
-
const cnv_size_cutoff = [...new Set(cnv_types.map((t) => t.sizecutoff))];
|
|
1392
|
-
const cnv_ratio_cutoff = [...new Set(cnv_types.map((t) => t.log2cutoff))];
|
|
1393
|
-
cnv_options_div.append("label").attr("for", "cnv_size").style("margin", "2px 10px").text("Size cutoff");
|
|
1394
|
-
const size_select = cnv_options_div.append("select").attr("name", "cnv_size");
|
|
1395
|
-
cnv_size_cutoff.forEach((size) => {
|
|
1396
|
-
size_select.append("option").attr("value", size).text(size);
|
|
1397
|
-
});
|
|
1398
|
-
size_select.property("selectedIndex", default_cnv.sizecutoff == "1Mb" ? 0 : default_cnv.sizecutoff == "2Mb" ? 1 : 2);
|
|
1399
|
-
cnv_options_div.append("label").attr("for", "log2_ratio").style("margin", "2px 10px").text("log2(ratio) cutoff");
|
|
1400
|
-
const ratio_select = cnv_options_div.append("select").attr("name", "log2_ratio");
|
|
1401
|
-
cnv_ratio_cutoff.forEach((ratio) => {
|
|
1402
|
-
ratio_select.append("option").attr("value", ratio.toFixed(1)).text(ratio.toFixed(1));
|
|
1403
|
-
});
|
|
1404
|
-
ratio_select.property("selectedIndex", default_cnv.log2cutoff == 0.1 ? 0 : default_cnv.log2cutoff == 0.2 ? 1 : 2);
|
|
1405
|
-
const gene_div = criteria_div.append("div").style("padding-top", "10px");
|
|
1406
|
-
const gene_label_div = gene_div.append("div").style("display", "table-cell").style("width", "110px");
|
|
1407
|
-
gene_label_div.append("div").text("No. of Genes").style("padding-right", "15px");
|
|
1408
|
-
const gene_n_select_div = gene_div.append("div").style("display", "table-cell").style("padding", "3px").style("border-left", "solid 1px #ededed");
|
|
1409
|
-
const gene_n = [10, 15, 20, 30, 40];
|
|
1410
|
-
const gene_n_select = gene_n_select_div.append("select").attr("name", "gene_n");
|
|
1411
|
-
gene_n.forEach((n) => {
|
|
1412
|
-
gene_n_select.append("option").attr("value", n).text(n);
|
|
1413
|
-
});
|
|
1414
|
-
gene_n_select.property(
|
|
1415
|
-
"selectedIndex",
|
|
1416
|
-
gene_n.findIndex((n) => n == nGenes)
|
|
1417
|
-
);
|
|
1418
|
-
const calc_btn = criteria_div.append("button").style("margin", "10px").style("padding", "3px 10px").text("Calculate").on("click", () => {
|
|
1419
|
-
const checked_boxes = mut_types_div.node().querySelectorAll("input:checked");
|
|
1420
|
-
selectedTypes = [];
|
|
1421
|
-
checked_boxes.forEach((checkbox) => {
|
|
1422
|
-
if (checkbox.value !== "cnv" && !selectedTypes.includes(checkbox.value)) selectedTypes.push(checkbox.value);
|
|
1423
|
-
else if (checkbox.value == "cnv") {
|
|
1424
|
-
const selected_size = size_select.node().value;
|
|
1425
|
-
const selected_ratio = ratio_select.node().value;
|
|
1426
|
-
selected_cnv = cnv_types.find((t) => t.sizecutoff == selected_size && t.log2cutoff == selected_ratio);
|
|
1427
|
-
selectedTypes.push(selected_cnv.db_col);
|
|
1428
|
-
}
|
|
1429
|
-
});
|
|
1430
|
-
nGenes = gene_n_select.node().value;
|
|
1431
|
-
get_mutation_count_data(obj, samples, selectedTypes, nGenes);
|
|
1432
|
-
defaultTypes = [...selectedTypes];
|
|
1433
|
-
});
|
|
1434
|
-
} else defaultTypes = ["total"];
|
|
1435
|
-
get_mutation_count_data(obj, samples, defaultTypes, nGenes);
|
|
1436
|
-
}
|
|
1437
|
-
async function get_mutation_count_data(obj, samples, selectedMutTypes, nGenes) {
|
|
1438
|
-
try {
|
|
1439
|
-
const arg = {
|
|
1440
|
-
genome: obj.genome.name,
|
|
1441
|
-
dslabel: obj.mds.label,
|
|
1442
|
-
samples,
|
|
1443
|
-
selectedMutTypes,
|
|
1444
|
-
nGenes
|
|
1445
|
-
};
|
|
1446
|
-
const data = await dofetch2("mdsgenecount", { method: "POST", body: JSON.stringify(arg) });
|
|
1447
|
-
if (data.error) throw data.error;
|
|
1448
|
-
if (!data.genes) throw ".genes missing";
|
|
1449
|
-
if (!data.genes.length) {
|
|
1450
|
-
obj.pane.wait.html("No gene retrived with mutations.");
|
|
1451
|
-
obj.pane.matrix_criteria_div.style("display", "none");
|
|
1452
|
-
return;
|
|
1453
|
-
}
|
|
1454
|
-
make_sample_matrix({ obj, genes: data.genes, samples, holder: obj.pane.body });
|
|
1455
|
-
obj.pane.wait.remove();
|
|
1456
|
-
} catch (e) {
|
|
1457
|
-
obj.pane.wait.text("Error: " + (e.message || e));
|
|
1458
|
-
if (e.stack) console.log(e.stack);
|
|
1459
|
-
}
|
|
1460
|
-
}
|
|
1461
|
-
function make_sample_matrix(args) {
|
|
1462
|
-
const { obj, genes, samples } = args;
|
|
1463
|
-
const holder = obj.pane.sample_matrix_div;
|
|
1464
|
-
holder.selectAll("*").remove();
|
|
1465
|
-
for (const g of genes) {
|
|
1466
|
-
g.ismutation = true;
|
|
1467
|
-
g.genename = g.gene;
|
|
1468
|
-
g.label = g.gene;
|
|
1469
|
-
delete g.gene;
|
|
1470
|
-
g.querykeylst = ["svcnv", "snvindel"];
|
|
1471
|
-
obj.features_on_rows ? g.height = 50 : g.width = 50;
|
|
1472
|
-
}
|
|
1473
|
-
const arg = {
|
|
1474
|
-
genome: obj.genome,
|
|
1475
|
-
dslabel: obj.mds.label,
|
|
1476
|
-
features: genes,
|
|
1477
|
-
features_on_rows: obj.features_on_rows,
|
|
1478
|
-
ismutation_allsymbolic: true,
|
|
1479
|
-
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1480
|
-
limitbysamplesetgroup: { samples },
|
|
1481
|
-
jwt: sessionStorage.getItem("jwt") || "",
|
|
1482
|
-
holder: holder.append("div").style("margin", "20px")
|
|
1483
|
-
};
|
|
1484
|
-
import("./samplematrix-STLF2QA5.js").then((_) => {
|
|
1485
|
-
const m = new _.Samplematrix(arg);
|
|
1486
|
-
m._pane = holder;
|
|
1487
|
-
});
|
|
1488
|
-
}
|
|
1489
|
-
function launch_singlesample(p) {
|
|
1490
|
-
const { obj, dot, sampletracks, holder } = p;
|
|
1491
|
-
const arg = {
|
|
1492
|
-
genome: obj.genome,
|
|
1493
|
-
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1494
|
-
jwt: sessionStorage.getItem("jwt") || "",
|
|
1495
|
-
holder,
|
|
1496
|
-
chr: obj.genome.defaultcoord.chr,
|
|
1497
|
-
start: obj.genome.defaultcoord.start,
|
|
1498
|
-
stop: obj.genome.defaultcoord.stop,
|
|
1499
|
-
nobox: 1,
|
|
1500
|
-
tklst: []
|
|
1501
|
-
};
|
|
1502
|
-
if (obj.tracks) {
|
|
1503
|
-
for (const t of obj.tracks) arg.tklst.push(t);
|
|
1504
|
-
}
|
|
1505
|
-
const mdstk = obj.mds.queries[obj.querykey];
|
|
1506
|
-
if (mdstk) {
|
|
1507
|
-
const tk = {
|
|
1508
|
-
singlesample: { name: dot.sample },
|
|
1509
|
-
mds: obj.mds,
|
|
1510
|
-
querykey: obj.querykey
|
|
1511
|
-
};
|
|
1512
|
-
for (const k in mdstk) {
|
|
1513
|
-
tk[k] = mdstk[k];
|
|
1514
|
-
}
|
|
1515
|
-
arg.tklst.push(tk);
|
|
1516
|
-
if (mdstk.checkexpressionrank) {
|
|
1517
|
-
const et = {
|
|
1518
|
-
type: tkt.mdsexpressionrank,
|
|
1519
|
-
name: dot.sample + " gene expression rank",
|
|
1520
|
-
//mds: tk.mds,
|
|
1521
|
-
dslabel: obj.mds.label,
|
|
1522
|
-
querykey: mdstk.checkexpressionrank.querykey,
|
|
1523
|
-
sample: dot.sample
|
|
1524
|
-
};
|
|
1525
|
-
if (mdstk.groupsamplebyattr) {
|
|
1526
|
-
const lst = mdstk.groupsamplebyattr.attrlst;
|
|
1527
|
-
if (lst && lst.length) {
|
|
1528
|
-
et.attributes = [];
|
|
1529
|
-
for (const attr of lst) {
|
|
1530
|
-
et.attributes.push({
|
|
1531
|
-
k: attr.k,
|
|
1532
|
-
label: attr.label,
|
|
1533
|
-
kvalue: dot.s[attr.k]
|
|
1534
|
-
});
|
|
1535
|
-
}
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
arg.tklst.push(et);
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
if (sampletracks) {
|
|
1542
|
-
for (const t of sampletracks) arg.tklst.push(t);
|
|
1543
|
-
}
|
|
1544
|
-
first_genetrack_tolist(obj.genome, arg.tklst);
|
|
1545
|
-
blocklazyload(arg);
|
|
1546
|
-
}
|
|
1547
|
-
export {
|
|
1548
|
-
init
|
|
1549
|
-
};
|
|
1550
|
-
//# sourceMappingURL=mds.samplescatterplot-IXHNABKB.js.map
|