@sjcrh/proteinpaint-client 2.205.0 → 2.206.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-XWKIQYRN.js +1367 -0
- package/dist/AggMatrixInput-D3HJXDOD.js +277 -0
- package/dist/AggregateMatrix-E2JZY5N5.js +41 -0
- package/dist/AppHeader-SR6LMFTW.js +830 -0
- package/dist/BoxPlot-G2LRWABH.js +1211 -0
- package/dist/CorrelationVolcano-CCQGOSR7.js +614 -0
- package/dist/Cuminc-QB6GE5MI.js +1219 -0
- package/dist/DE-JI7E7ZXU.js +89 -0
- package/dist/DEinput-B4A5UV4P.js +499 -0
- package/dist/DM-4OAF6WPS.js +90 -0
- package/dist/DifferentialAnalysis-6JMGV5JF.js +237 -0
- package/dist/Disco-F4HZYRGX.js +3389 -0
- package/dist/Disco.UI-KCIEUVNG.js +243 -0
- package/dist/DmrPlot-5M7E7NBT.js +637 -0
- package/dist/GB-KHKZQN5I.js +1391 -0
- package/dist/GSEA-CDGWJUFE.js +851 -0
- package/dist/GeneExpInput-CQVMNIRI.js +362 -0
- package/dist/Geomap-3F6FO54H.js +84 -0
- package/dist/HicApp-R3V46WEK.js +2245 -0
- package/dist/IDCViewer-2CGUU7EW.js +10812 -0
- package/dist/NumBinaryEditor-3LF334ID.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-EIR7WOOV.js +312 -0
- package/dist/NumContEditor-CJEBKLS4.js +105 -0
- package/dist/NumContEditor.unit.spec-BKF3HKHP.js +164 -0
- package/dist/NumCustomBinEditor-BQI2NVI2.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-YWQL7STR.js +397 -0
- package/dist/NumDiscreteEditor-4VYL7IOM.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-CSORXLUZ.js +233 -0
- package/dist/NumRegularBinEditor-NSPZ7ZHQ.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-77FOOCQ7.js +278 -0
- package/dist/NumSplineEditor-CWZGMWF5.js +210 -0
- package/dist/NumSplineEditor.unit.spec-E6ITDOHV.js +224 -0
- package/dist/NumericDensity-TVXZG4E5.js +33 -0
- package/dist/NumericDensity.unit.spec-O6SIEDAM.js +418 -0
- package/dist/NumericHandler-LNQG3OWJ.js +34 -0
- package/dist/NumericHandler.unit.spec-3IJCPTRH.js +214 -0
- package/dist/ProteomeInput-SIYPPLOB.js +388 -0
- package/dist/Regression-EOITDTFO.js +1416 -0
- package/dist/RunChart2-7BIEDW6G.js +749 -0
- package/dist/SC-O4BKP23M.js +1107 -0
- package/dist/Violin-G35Y5F45.js +1082 -0
- package/dist/Volcano-DZVC5GSW.js +1649 -0
- package/dist/Wsi-LKBGTHZJ.js +431 -0
- package/dist/adSandbox-URTCAPSS.js +33 -0
- package/dist/animatedBubbleChart-KFIELJWN.js +547 -0
- package/dist/app-HOYLIBGB.js +42 -0
- package/dist/app-OPA44KOA.js +32 -0
- package/dist/app.js +17 -17
- package/dist/bam-JEC3YMC3.js +876 -0
- package/dist/barchart-UQU75RJP.js +42 -0
- package/dist/barchart2-3Z62N7NL.js +309 -0
- package/dist/block-HJ6F6LXQ.js +6249 -0
- package/dist/block.init-AYWLW2HT.js +33 -0
- package/dist/block.mds.expressionrank-HLZA7FAG.js +354 -0
- package/dist/block.mds.geneboxplot-3G2QSHDL.js +823 -0
- package/dist/block.mds.junction-DX4LWDH7.js +1539 -0
- package/dist/block.mds.svcnv-JZ33BUGK.js +6796 -0
- package/dist/block.svg-63BVZVV2.js +159 -0
- package/dist/block.tk.aicheck-KSNJ3JLB.js +278 -0
- package/dist/block.tk.ase-URSPZ66D.js +360 -0
- package/dist/block.tk.bam-DZ57VTOD.js +1901 -0
- package/dist/block.tk.bedgraphdot-QCC65WUI.js +379 -0
- package/dist/block.tk.bigwig.ui-3TGOK5PM.js +206 -0
- package/dist/block.tk.hicstraw-RASPIPEB.js +818 -0
- package/dist/block.tk.junction-HLJJSANL.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-LPNEDD5D.js +194 -0
- package/dist/block.tk.ld-CDGBLDE2.js +94 -0
- package/dist/block.tk.menu-O7DLZOZZ.js +1024 -0
- package/dist/block.tk.pgv-2EGZS2II.js +938 -0
- package/dist/brainImaging-I7K3QOOA.js +515 -0
- package/dist/brainRegions-DNODMT67.js +217 -0
- package/dist/brainRegions-DNODMT67.js.map +7 -0
- package/dist/bubbleHeatmap-JOFBJ3N4.js +378 -0
- package/dist/cellTypeBubbleHeatmap-PUOOUMPO.js +278 -0
- package/dist/chunk-2SQEVMAL.js +446 -0
- package/dist/chunk-3CHQGKF6.js +54 -0
- package/dist/chunk-3FVFG3YR.js +134 -0
- package/dist/chunk-3PJZWZRS.js +70 -0
- package/dist/chunk-3W76UZR2.js +2853 -0
- package/dist/chunk-4DXQJGJ7.js +31 -0
- package/dist/chunk-4F57QD3H.js +42 -0
- package/dist/chunk-4FO3INHF.js +158 -0
- package/dist/chunk-4OLM3KSB.js +2708 -0
- package/dist/chunk-4OLM3KSB.js.map +7 -0
- package/dist/chunk-5ILEFNXJ.js +402 -0
- package/dist/chunk-5T63JJ62.js +14 -0
- package/dist/chunk-5UO7MKCO.js +59 -0
- package/dist/chunk-62ARCEIQ.js +160 -0
- package/dist/chunk-6HWGOT52.js +55 -0
- package/dist/chunk-6U3GF7DK.js +4311 -0
- package/dist/chunk-7RNXSOMF.js +626 -0
- package/dist/chunk-7X6NF7NI.js +96 -0
- package/dist/chunk-A3JOQX4P.js +294 -0
- package/dist/chunk-ADLFLOFC.js +1339 -0
- package/dist/chunk-AGUZCQDL.js +550 -0
- package/dist/chunk-ANGLZ4XR.js +26 -0
- package/dist/chunk-AVWIILXH.js +34 -0
- package/dist/chunk-BMQDU7KN.js +38 -0
- package/dist/chunk-C5TU4AYP.js +281 -0
- package/dist/chunk-CMO5BR2S.js +203 -0
- package/dist/chunk-EF4QV5YH.js +1986 -0
- package/dist/chunk-EGKHDALO.js +382 -0
- package/dist/chunk-EQDKO7MX.js +1720 -0
- package/dist/chunk-EREMALJK.js +240 -0
- package/dist/chunk-F4DM3WS4.js +194 -0
- package/dist/chunk-F5YU7J4P.js +783 -0
- package/dist/chunk-GR4XPNAA.js +272 -0
- package/dist/chunk-GUH5IG5N.js +480 -0
- package/dist/chunk-HMJOZAKA.js +102 -0
- package/dist/chunk-HPGWCCJ2.js +677 -0
- package/dist/chunk-IANG6AGL.js +103 -0
- package/dist/chunk-ILEXRHF7.js +367 -0
- package/dist/chunk-ILEXRHF7.js.map +7 -0
- package/dist/chunk-IUREQGFN.js +141 -0
- package/dist/chunk-IZUYLFOX.js +1608 -0
- package/dist/chunk-IZUYLFOX.js.map +7 -0
- package/dist/chunk-JC55A4A2.js +5071 -0
- package/dist/chunk-JPMHCMOP.js +50 -0
- package/dist/chunk-KYMTFHB5.js +518 -0
- package/dist/chunk-L32KMIC3.js +54 -0
- package/dist/chunk-LDWMVZYF.js +562 -0
- package/dist/chunk-M367Y7ML.js +140 -0
- package/dist/chunk-M3OQ7GXG.js +6360 -0
- package/dist/chunk-M4XXKTH2.js +339 -0
- package/dist/chunk-N7DVQTPC.js +119 -0
- package/dist/chunk-NJ7N2VFX.js +263 -0
- package/dist/chunk-OQBGN6FW.js +1233 -0
- package/dist/chunk-OQBGN6FW.js.map +7 -0
- package/dist/chunk-OVPEMVXT.js +397 -0
- package/dist/chunk-OXWLQQXL.js +274 -0
- package/dist/chunk-PBUV4CPQ.js +302 -0
- package/dist/chunk-QABGFKK3.js +129 -0
- package/dist/chunk-QGBHBSGS.js +123 -0
- package/dist/chunk-QUODDEQH.js +339 -0
- package/dist/chunk-QW7BQPKP.js +464 -0
- package/dist/chunk-QXB4CBIS.js +176 -0
- package/dist/chunk-RF3GQYZJ.js +1275 -0
- package/dist/chunk-RJ4OKU4A.js +102 -0
- package/dist/chunk-RPDVFM7E.js +2133 -0
- package/dist/chunk-SWO6DZTG.js +170 -0
- package/dist/chunk-SYPSS3JQ.js +387 -0
- package/dist/chunk-THGHO5FN.js +243 -0
- package/dist/chunk-TU2E4653.js +178 -0
- package/dist/chunk-TUODNABC.js +98 -0
- package/dist/chunk-VCVKELHL.js +2784 -0
- package/dist/chunk-VVO3R5JV.js +217 -0
- package/dist/chunk-WO2Z53DQ.js +197 -0
- package/dist/chunk-WPEOBBLH.js +379 -0
- package/dist/chunk-X4CC7EZT.js +2327 -0
- package/dist/chunk-X63NSV33.js +276 -0
- package/dist/chunk-XDLCPJCK.js +24164 -0
- package/dist/chunk-XDLCPJCK.js.map +7 -0
- package/dist/chunk-XK2A6NRK.js +56 -0
- package/dist/chunk-Y3D6Y4DO.js +49 -0
- package/dist/chunk-YG5AY6GE.js +299 -0
- package/dist/chunk-YNAEXBB5.js +2676 -0
- package/dist/chunk-YY5WQQ3J.js +194 -0
- package/dist/chunk-Z2ZITHT4.js +4195 -0
- package/dist/cohort-75OBZ5EL.js +70 -0
- package/dist/condition-XSIDDH5P.js +327 -0
- package/dist/controls-UVEY3Z57.js +34 -0
- package/dist/controls.config-M325HV4N.js +34 -0
- package/dist/correlation-HVQDCYQJ.js +95 -0
- package/dist/customdata.inputui-KMCJ4UFU.js +284 -0
- package/dist/dataDownload-MJNMZPR6.js +329 -0
- package/dist/databrowser.ui-O7KNP5RH.js +425 -0
- package/dist/dictionary-LLGX2XNU.js +113 -0
- package/dist/dnaMethylation-MXRMFWGM.js +33 -0
- package/dist/dnaMethylation.integration.spec-GNF4AW32.js +198 -0
- package/dist/dofetch-F5XSHQIS.js +48 -0
- package/dist/e2pca-TNDATCU2.js +344 -0
- package/dist/ep-GH62BQS5.js +1249 -0
- package/dist/expclust.gdc.spec-3XBBPTZX.js +302 -0
- package/dist/facet-XQO2TMTJ.js +519 -0
- package/dist/gb-76QWZ2UI.js +81 -0
- package/dist/geneExpClustering-7EEK4LBZ.js +244 -0
- package/dist/geneExpression-4J2JRTUQ.js +33 -0
- package/dist/geneExpression-FXQ4L2J2.js +310 -0
- package/dist/geneExpression.unit.spec-JRLUIYIU.js +99 -0
- package/dist/geneORA-MQ3DRAFK.js +273 -0
- package/dist/geneRanking-LK5CSUYP.js +548 -0
- package/dist/geneVariant-HMOFSHIN.js +36 -0
- package/dist/geneVariant-IKM4MJZN.js +286 -0
- package/dist/geneVariant.integration.spec-ZIYVXRSQ.js +388 -0
- package/dist/genefusion.ui-UFSDMLZS.js +303 -0
- package/dist/geneset-IK43N3JG.js +203 -0
- package/dist/genomeBrowser.spec-GYBHE7HU.js +276 -0
- package/dist/grin2-K7OGPM66.js +1137 -0
- package/dist/grin2-QLVIYHOC.js +70 -0
- package/dist/hierCluster-2Y6D73N4.js +55 -0
- package/dist/hierCluster-YF52SKZD.js +59 -0
- package/dist/hierCluster.config-DDI7H2BF.js +36 -0
- package/dist/hierCluster.integration.spec-FTWZHMSN.js +483 -0
- package/dist/hierCluster.interactivity-Y2THXA6K.js +49 -0
- package/dist/hierCluster.renderers-P7JNIT3N.js +19 -0
- package/dist/imagePlot-DBMZYBSO.js +156 -0
- package/dist/importPlot-PY4B7BYA.js +8 -0
- package/dist/isoformExpression-HN3MNBKH.js +35 -0
- package/dist/isoformExpression.unit.spec-RBNLOC7Q.js +237 -0
- package/dist/junction-EGT73F5M.js +36 -0
- package/dist/junction.customTerm-FRYWSS4P.js +16 -0
- package/dist/junction.unit.spec-M4JN5LX7.js +182 -0
- package/dist/launch.adhoc-VDOXMXRP.js +37 -0
- package/dist/leftlabel.sample-L2D4LF75.js +258 -0
- package/dist/legacyDataset-IEFWFVS6.js +117 -0
- package/dist/lollipop-FBATR5JC.js +166 -0
- package/dist/maf-NV37MR7A.js +455 -0
- package/dist/maftimeline-L3R3YWPV.js +587 -0
- package/dist/matrix-F5YVDLLQ.js +54 -0
- package/dist/matrix-NEEZS7HQ.js +59 -0
- package/dist/matrix.cells-ZFKVIPDC.js +26 -0
- package/dist/matrix.config-37V4NZU2.js +37 -0
- package/dist/matrix.data-NCGZPNWR.js +23 -0
- package/dist/matrix.groups-XQJTGM6M.js +26 -0
- package/dist/matrix.integration.spec-MRQUAGQN.js +3160 -0
- package/dist/matrix.interactivity-NR2KH4CG.js +37 -0
- package/dist/matrix.layout-7FXNBXWB.js +39 -0
- package/dist/matrix.legend-U36VCS46.js +20 -0
- package/dist/matrix.renderers-TKNU75PG.js +34 -0
- package/dist/matrix.serieses-AW7XBXLJ.js +19 -0
- package/dist/matrix.sort-7PMECLOE.js +26 -0
- package/dist/matrix.sort.unit.spec-S7Z2HDDD.js +468 -0
- package/dist/matrix.sorterUi-J6PRUT6J.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-PCR7U67A.js +338 -0
- package/dist/matrix.unit.spec-GSOK3M34.js +150 -0
- package/dist/mavb-QP64LXJ5.js +727 -0
- package/dist/mds.fimo-JS52GPE4.js +513 -0
- package/dist/mds.samplescatterplot-RY5PA35G.js +1545 -0
- package/dist/mds.survivalplot-PG5VHT4W.js +477 -0
- package/dist/multivalue-EG2OGEET.js +83 -0
- package/dist/numericDictTermCluster-5AKP6ICC.js +63 -0
- package/dist/oncomatrix-JUGMZ7X7.js +290 -0
- package/dist/oncomatrix.spec-76PSNGCH.js +443 -0
- package/dist/plot.2dvaf-WXOEUEE7.js +372 -0
- package/dist/plot.app-ON6AY4A3.js +36 -0
- package/dist/plot.barplot-WX3KM6KS.js +97 -0
- package/dist/plot.boxplot-L4PT7YVS.js +146 -0
- package/dist/plot.brainImaging-4JY67ZEV.js +51 -0
- package/dist/plot.disco-3NY3P37U.js +99 -0
- package/dist/plot.ssgq-3YHZPC4V.js +134 -0
- package/dist/plot.vaf2cov-PJJN2GCQ.js +253 -0
- package/dist/polar2-5WVM7HGK.js +232 -0
- package/dist/profileForms-MZNIQSE5.js +941 -0
- package/dist/profilePlot-2F5KXRFX.js +49 -0
- package/dist/proteinView-67EGJJCL.js +1357 -0
- package/dist/proteinView-67EGJJCL.js.map +7 -0
- package/dist/proteomeCohortCompare-3BSF4SP5.js +912 -0
- package/dist/proteomeCohortCompare-3BSF4SP5.js.map +7 -0
- package/dist/pseudbulk.unit.spec-AHI6LHZY.js +86 -0
- package/dist/pseudobulk-I4I733CJ.js +35 -0
- package/dist/qualitative-G7MKJJNX.js +38 -0
- package/dist/radar2-XJCS6ZUN.js +327 -0
- package/dist/radarFacility2-GDTKB4KP.js +335 -0
- package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +211 -0
- package/dist/render-G7TGAAPN.js +33 -0
- package/dist/report-PKYTJRKJ.js +217 -0
- package/dist/sampleView-QSB3PW33.js +43 -0
- package/dist/samplelst-N33FNNIM.js +106 -0
- package/dist/samplematrix-4CVVIXWR.js +2193 -0
- package/dist/sc-LENH35VN.js +81 -0
- package/dist/scatter-5G272VMO.js +88 -0
- package/dist/scatter-A3TK5TR5.js +880 -0
- package/dist/selectGenomeWithTklst-CP25JXDJ.js +129 -0
- package/dist/singleCellCellType-5ZLTPHVY.js +33 -0
- package/dist/singleCellCellType.unit.spec-3JIUZS6Z.js +154 -0
- package/dist/singleCellGeneExpression-UTUK4JAM.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-LRRBT5YG.js +148 -0
- package/dist/singleCellPlot-QXTJCGSI.js +49 -0
- package/dist/singlecell-BS2HYXK2.js +81 -0
- package/dist/singlecell-KG4WCPCW.js +1566 -0
- package/dist/snp-X7AVONSN.js +33 -0
- package/dist/snp.unit.spec-RNOIV6IA.js +171 -0
- package/dist/snplocus-DS6E47B6.js +203 -0
- package/dist/spliceevent.a53ss.diagram-MUB6Y74Z.js +146 -0
- package/dist/spliceevent.exonskip.diagram-47IHL2WK.js +278 -0
- package/dist/spliceevent.noeventdiagram-EMHYY3LK.js +455 -0
- package/dist/ssGSEA-XJVB4KXR.js +33 -0
- package/dist/ssGSEA.unit.spec-DV6XJRPZ.js +83 -0
- package/dist/stattable-45LHJWVF.js +117 -0
- package/dist/studyCatalog-UC5BVZBU.js +414 -0
- package/dist/studyCatalog-UC5BVZBU.js.map +7 -0
- package/dist/summarizeCnvGeneexp-RBFYEF4F.js +158 -0
- package/dist/summarizeGeneexpSurvival-2MTLML7E.js +105 -0
- package/dist/summarizeMutationCnv-6YEOAUA6.js +159 -0
- package/dist/summarizeMutationDiagnosis-GMGPKNVC.js +35 -0
- package/dist/summarizeMutationSurvival-63LEMNOV.js +99 -0
- package/dist/summary-TUL6Z35N.js +42 -0
- package/dist/summary.integration.spec-X22T3LB4.js +409 -0
- package/dist/summaryInput-YBMESKTV.js +242 -0
- package/dist/sunburst-QVK3JOKT.js +278 -0
- package/dist/survival-WQR2JVXU.js +1248 -0
- package/dist/survival-ZDWBE2JO.js +53 -0
- package/dist/survival.integration.spec-6ONUUJRS.js +613 -0
- package/dist/survival.integration.spec-6ONUUJRS.js.map +7 -0
- package/dist/svgraph-XFA7GFTF.js +1382 -0
- package/dist/svmr-WCNU5AM4.js +3837 -0
- package/dist/table-FT7OWBPC.js +197 -0
- package/dist/termCollection-JIBZNZS6.js +252 -0
- package/dist/termCollection-MGMWCQ2O.js +33 -0
- package/dist/termCollection.unit.spec-4OI4OIHR.js +299 -0
- package/dist/termCollectionFractionSelection-AFIJHB3Z.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-MG7W4M7F.js +188 -0
- package/dist/tk-23G2PAGW.js +41 -0
- package/dist/tk-OQ72O2QL.js +1121 -0
- package/dist/tp.ui-M5D3MNIR.js +1454 -0
- package/dist/tvs.dt-T7EQO547.js +34 -0
- package/dist/tvs.dtcnv.categorical-4HIP3F24.js +35 -0
- package/dist/tvs.dtcnv.continuous-KVJWKU7Q.js +67 -0
- package/dist/tvs.dtfusion-C4AXERQA.js +35 -0
- package/dist/tvs.dtitd-KUZRPWA3.js +35 -0
- package/dist/tvs.dtsnvindel-DJYY7MG3.js +35 -0
- package/dist/tvs.dtsv-RRO45ITI.js +35 -0
- package/dist/tvs.numeric-22AHXO5K.js +20 -0
- package/dist/tvs.samplelst-M27QVSNU.js +98 -0
- package/dist/tvs.termCollection-6S2524FW.js +124 -0
- package/dist/vocabulary-YGPUDI4D.js +36 -0
- package/dist/wsi.direct-SGGSZTWZ.js +8184 -0
- package/package.json +3 -3
- package/dist/2dmaf-ZQ7ACPAD.js +0 -1367
- package/dist/AggMatrixInput-EACGUIQA.js +0 -277
- package/dist/AggregateMatrix-TC5DTSYN.js +0 -41
- package/dist/AppHeader-PHI6US5B.js +0 -830
- package/dist/BoxPlot-QWKK3IJ7.js +0 -1211
- package/dist/CorrelationVolcano-QJJN7FVP.js +0 -614
- package/dist/Cuminc-6F2C5C4E.js +0 -1219
- package/dist/DE-HRJH6ZQL.js +0 -89
- package/dist/DEinput-T3MPAYPH.js +0 -499
- package/dist/DM-PEG4ED2X.js +0 -90
- package/dist/DifferentialAnalysis-XGXHWGPI.js +0 -237
- package/dist/Disco-7SRTTB3X.js +0 -3389
- package/dist/Disco.UI-CKKZ5MMK.js +0 -243
- package/dist/DmrPlot-N4CT4J2I.js +0 -637
- package/dist/GB-NVCLPRWN.js +0 -1391
- package/dist/GSEA-UZUNJG7Z.js +0 -851
- package/dist/GeneExpInput-3MDN2CAW.js +0 -362
- package/dist/Geomap-ZUF2PE5A.js +0 -84
- package/dist/HicApp-OIJT5TFU.js +0 -2245
- package/dist/IDCViewer-ZSH2E57L.js +0 -10812
- package/dist/NumBinaryEditor-74ZPGT7L.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-T2I66SO5.js +0 -312
- package/dist/NumContEditor-M2GARZXM.js +0 -105
- package/dist/NumContEditor.unit.spec-G2QBBNH7.js +0 -164
- package/dist/NumCustomBinEditor-P44G67KS.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-AZHJN3V6.js +0 -397
- package/dist/NumDiscreteEditor-VOZ63LZY.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-CFSVPNBA.js +0 -233
- package/dist/NumRegularBinEditor-I6GJQR7W.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-IDJE7H6S.js +0 -278
- package/dist/NumSplineEditor-BCGWE52A.js +0 -210
- package/dist/NumSplineEditor.unit.spec-YQAL7L2E.js +0 -224
- package/dist/NumericDensity-P25W63RV.js +0 -33
- package/dist/NumericDensity.unit.spec-N7CQ5W5L.js +0 -418
- package/dist/NumericHandler-R7JWIFEO.js +0 -34
- package/dist/NumericHandler.unit.spec-LMGIAGZJ.js +0 -214
- package/dist/ProteomeInput-PRYKKF5E.js +0 -388
- package/dist/Regression-PSHH7ZXN.js +0 -1416
- package/dist/RunChart2-KJ2UWVCE.js +0 -749
- package/dist/SC-R6ZIJZ6F.js +0 -1107
- package/dist/Violin-GTQAUJ7B.js +0 -1082
- package/dist/Volcano-NER64J7W.js +0 -1649
- package/dist/Wsi-GXNGL7O6.js +0 -431
- package/dist/adSandbox-SXSHVG4P.js +0 -33
- package/dist/animatedBubbleChart-Q4NEETEH.js +0 -547
- package/dist/app-MX4PL2QO.js +0 -42
- package/dist/app-R5CTEVAC.js +0 -32
- package/dist/bam-45N3FEEM.js +0 -876
- package/dist/barchart-YCTKQJQX.js +0 -42
- package/dist/barchart2-252GS3CA.js +0 -309
- package/dist/block-CR75JHV3.js +0 -6249
- package/dist/block.init-U3JMED2E.js +0 -33
- package/dist/block.mds.expressionrank-TAN3BDPS.js +0 -354
- package/dist/block.mds.geneboxplot-EN344GEP.js +0 -823
- package/dist/block.mds.junction-RFVVJUTR.js +0 -1539
- package/dist/block.mds.svcnv-SSUMXEWD.js +0 -6796
- package/dist/block.svg-LRPGNFFI.js +0 -159
- package/dist/block.tk.aicheck-YY23FT2G.js +0 -278
- package/dist/block.tk.ase-JCGPFKFT.js +0 -360
- package/dist/block.tk.bam-NZDC4H7Y.js +0 -1901
- package/dist/block.tk.bedgraphdot-NCNZPZH6.js +0 -379
- package/dist/block.tk.bigwig.ui-Z7G6ZITU.js +0 -206
- package/dist/block.tk.hicstraw-VVDP4UF5.js +0 -818
- package/dist/block.tk.junction-L4YBPAHM.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-6CMKKUB5.js +0 -194
- package/dist/block.tk.ld-VCP2R5UO.js +0 -94
- package/dist/block.tk.menu-ZJYGMEDX.js +0 -1024
- package/dist/block.tk.pgv-M5WNUIVS.js +0 -938
- package/dist/brainImaging-JGECJHZO.js +0 -515
- package/dist/brainRegions-NTEAXNZJ.js +0 -234
- package/dist/brainRegions-NTEAXNZJ.js.map +0 -7
- package/dist/bubbleHeatmap-7DQNWBQ2.js +0 -378
- package/dist/cellTypeBubbleHeatmap-LAE7U3RF.js +0 -278
- package/dist/chunk-2AQT3ZWL.js +0 -626
- package/dist/chunk-2GLNPB5J.js +0 -203
- package/dist/chunk-2O4CS3EZ.js +0 -274
- package/dist/chunk-2Z4ZSINZ.js +0 -323
- package/dist/chunk-2Z4ZSINZ.js.map +0 -7
- package/dist/chunk-3MFFZRH3.js +0 -6360
- package/dist/chunk-3PHXBY3Z.js +0 -1275
- package/dist/chunk-4AQQ3BXD.js +0 -70
- package/dist/chunk-4PPZYVWZ.js +0 -281
- package/dist/chunk-4WEA7HHH.js +0 -26
- package/dist/chunk-57NYHASA.js +0 -38
- package/dist/chunk-5AAAH4OZ.js +0 -141
- package/dist/chunk-5BCNVZIW.js +0 -480
- package/dist/chunk-6JBLNS4D.js +0 -387
- package/dist/chunk-6JBQLOJW.js +0 -1339
- package/dist/chunk-756KZF5Y.js +0 -158
- package/dist/chunk-ABTO5QSB.js +0 -276
- package/dist/chunk-ALEZQQOK.js +0 -299
- package/dist/chunk-APK7TUJX.js +0 -102
- package/dist/chunk-AQAFURQM.js +0 -59
- package/dist/chunk-BEJJS2HC.js +0 -194
- package/dist/chunk-CZ5QLVWK.js +0 -49
- package/dist/chunk-D2MZT7CC.js +0 -176
- package/dist/chunk-D6G64XPJ.js +0 -96
- package/dist/chunk-DE3F7FAP.js +0 -34
- package/dist/chunk-DF3IMIR2.js +0 -464
- package/dist/chunk-E4WIMTK4.js +0 -446
- package/dist/chunk-E7TJXNIL.js +0 -42
- package/dist/chunk-G3JNTWCX.js +0 -103
- package/dist/chunk-GN2IIC6U.js +0 -160
- package/dist/chunk-GRI74AXV.js +0 -294
- package/dist/chunk-HDTFYTEL.js +0 -2694
- package/dist/chunk-HDTFYTEL.js.map +0 -7
- package/dist/chunk-IAE3KWN5.js +0 -550
- package/dist/chunk-IB4NE4SI.js +0 -397
- package/dist/chunk-IK2BO37K.js +0 -1608
- package/dist/chunk-IK2BO37K.js.map +0 -7
- package/dist/chunk-IS4VLUEX.js +0 -382
- package/dist/chunk-J2DICGKC.js +0 -194
- package/dist/chunk-J7JDCNLU.js +0 -24141
- package/dist/chunk-J7JDCNLU.js.map +0 -7
- package/dist/chunk-JBUEQ4E6.js +0 -263
- package/dist/chunk-JIDJBM2R.js +0 -2676
- package/dist/chunk-JNVWSFNC.js +0 -54
- package/dist/chunk-JYOIO5UY.js +0 -2133
- package/dist/chunk-KAFDQKN7.js +0 -1720
- package/dist/chunk-L743GRJE.js +0 -783
- package/dist/chunk-LGOTIL62.js +0 -54
- package/dist/chunk-LHP7RXET.js +0 -243
- package/dist/chunk-LK2GHBUH.js +0 -123
- package/dist/chunk-MAVDQAZE.js +0 -518
- package/dist/chunk-MKT4OJ3G.js +0 -102
- package/dist/chunk-N635HDJ4.js +0 -178
- package/dist/chunk-NFAE6VNU.js +0 -2327
- package/dist/chunk-NG7K5KYO.js +0 -56
- package/dist/chunk-NXVUL3EY.js +0 -2853
- package/dist/chunk-ODMLC5FN.js +0 -55
- package/dist/chunk-OJ4TDGPQ.js +0 -339
- package/dist/chunk-OXLBPSJ6.js +0 -379
- package/dist/chunk-P5GRGXH4.js +0 -98
- package/dist/chunk-POWG4MPT.js +0 -31
- package/dist/chunk-Q25DABNW.js +0 -217
- package/dist/chunk-QHJGWCH3.js +0 -4311
- package/dist/chunk-R5OIIFSF.js +0 -197
- package/dist/chunk-RJFCT67B.js +0 -2784
- package/dist/chunk-RN4BOWRH.js +0 -402
- package/dist/chunk-RZFJ6K77.js +0 -302
- package/dist/chunk-S5UN4VIQ.js +0 -272
- package/dist/chunk-SDMNZJ7X.js +0 -50
- package/dist/chunk-SWZAHJYP.js +0 -170
- package/dist/chunk-SY63UUF7.js +0 -562
- package/dist/chunk-T46FA72N.js +0 -119
- package/dist/chunk-TBPVP3KZ.js +0 -1986
- package/dist/chunk-UM5NWVMA.js +0 -140
- package/dist/chunk-VIBK253J.js +0 -134
- package/dist/chunk-XKL2D2NN.js +0 -240
- package/dist/chunk-XXJT7DSL.js +0 -677
- package/dist/chunk-YHA3AYAM.js +0 -5071
- package/dist/chunk-YLJOZP4P.js +0 -4195
- package/dist/chunk-YN5NY3D3.js +0 -339
- package/dist/chunk-YX6FIREB.js +0 -14
- package/dist/chunk-ZXU4ALLZ.js +0 -129
- package/dist/cohort-75FUW3UO.js +0 -70
- package/dist/condition-VW43Q6ZE.js +0 -327
- package/dist/controls-HOP2AFHD.js +0 -34
- package/dist/controls.config-CMIFSKQE.js +0 -34
- package/dist/correlation-PN7BS5OR.js +0 -95
- package/dist/customdata.inputui-ZBZX63PS.js +0 -284
- package/dist/dataDownload-LGA4LAUF.js +0 -329
- package/dist/databrowser.ui-IQRDVL66.js +0 -425
- package/dist/dictionary-BPWD77LJ.js +0 -113
- package/dist/dnaMethylation-A3XPPBBB.js +0 -33
- package/dist/dnaMethylation.integration.spec-554ITDQC.js +0 -198
- package/dist/dofetch-FQ42AX7C.js +0 -48
- package/dist/e2pca-F3GWG7WZ.js +0 -344
- package/dist/ep-QAVN472H.js +0 -1249
- package/dist/expclust.gdc.spec-DQNX7FTL.js +0 -302
- package/dist/facet-DH7OOZTJ.js +0 -519
- package/dist/gb-OCXOLAMD.js +0 -81
- package/dist/geneExpClustering-DWYRZGTS.js +0 -244
- package/dist/geneExpression-2NKSKZR6.js +0 -33
- package/dist/geneExpression-BGFR3KQE.js +0 -310
- package/dist/geneExpression.unit.spec-63EKKMET.js +0 -99
- package/dist/geneORA-BED6XL4D.js +0 -273
- package/dist/geneRanking-UB5RCQNP.js +0 -548
- package/dist/geneVariant-WJEONTTY.js +0 -286
- package/dist/geneVariant-Y4C2FPJK.js +0 -36
- package/dist/geneVariant.integration.spec-VFYLC47N.js +0 -388
- package/dist/genefusion.ui-P3NBIMLE.js +0 -303
- package/dist/geneset-O22RQAED.js +0 -203
- package/dist/genomeBrowser.spec-MM7WZUGI.js +0 -276
- package/dist/grin2-3YBIRKUT.js +0 -70
- package/dist/grin2-O637DNDS.js +0 -1137
- package/dist/hierCluster-3X3BQVNE.js +0 -59
- package/dist/hierCluster-7P7M75TU.js +0 -55
- package/dist/hierCluster.config-XFUOLLDK.js +0 -36
- package/dist/hierCluster.integration.spec-HKYGSDDG.js +0 -483
- package/dist/hierCluster.interactivity-JUZSWCM7.js +0 -49
- package/dist/hierCluster.renderers-NGPPAYFM.js +0 -19
- package/dist/imagePlot-LKGAFJO7.js +0 -156
- package/dist/importPlot-SRWQA2FH.js +0 -8
- package/dist/isoformExpression-RYIZQIVX.js +0 -35
- package/dist/isoformExpression.unit.spec-DP4ECITF.js +0 -237
- package/dist/junction-D7QQ3YSG.js +0 -36
- package/dist/junction.customTerm-ZEVNCVU7.js +0 -16
- package/dist/junction.unit.spec-6MAKIB3R.js +0 -182
- package/dist/launch.adhoc-FAHRZFYG.js +0 -37
- package/dist/leftlabel.sample-PDZLWLJ4.js +0 -258
- package/dist/legacyDataset-27L4DMCL.js +0 -117
- package/dist/lollipop-VWGJUHNX.js +0 -166
- package/dist/maf-W52H44WK.js +0 -455
- package/dist/maftimeline-5JV3HZLE.js +0 -587
- package/dist/matrix-CEVGKXSK.js +0 -54
- package/dist/matrix-EXNYXYLK.js +0 -59
- package/dist/matrix.cells-DVPWSLJW.js +0 -26
- package/dist/matrix.config-RLSTWDXC.js +0 -37
- package/dist/matrix.data-Z6GUACVZ.js +0 -23
- package/dist/matrix.groups-3ZSTUWRK.js +0 -26
- package/dist/matrix.integration.spec-4U2R3UB2.js +0 -3160
- package/dist/matrix.interactivity-DJZFQ7DN.js +0 -37
- package/dist/matrix.layout-RQJ6VB4P.js +0 -39
- package/dist/matrix.legend-YQ36NWKW.js +0 -20
- package/dist/matrix.renderers-MWDFI6HW.js +0 -34
- package/dist/matrix.serieses-LTC4RLYD.js +0 -19
- package/dist/matrix.sort-5VFYLABY.js +0 -26
- package/dist/matrix.sort.unit.spec-2RUEKUT4.js +0 -468
- package/dist/matrix.sorterUi-EEMYZLPI.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-ZXGSPRFZ.js +0 -338
- package/dist/matrix.unit.spec-HTF6UV4L.js +0 -150
- package/dist/mavb-GGQRDCO6.js +0 -727
- package/dist/mds.fimo-YKV5OIYV.js +0 -513
- package/dist/mds.samplescatterplot-RQOEW2AW.js +0 -1545
- package/dist/mds.survivalplot-TN636DED.js +0 -477
- package/dist/multivalue-MDQY64EH.js +0 -83
- package/dist/numericDictTermCluster-E73TJCLI.js +0 -63
- package/dist/oncomatrix-AENXQMLL.js +0 -290
- package/dist/oncomatrix.spec-UD6U462U.js +0 -443
- package/dist/plot.2dvaf-XMRV6KEG.js +0 -372
- package/dist/plot.app-A6JKLYQQ.js +0 -36
- package/dist/plot.barplot-UIX7LVWR.js +0 -97
- package/dist/plot.boxplot-DIFWVLMA.js +0 -146
- package/dist/plot.brainImaging-ZRPVE2UK.js +0 -51
- package/dist/plot.disco-I56MT3PC.js +0 -99
- package/dist/plot.ssgq-FCKFSZTV.js +0 -134
- package/dist/plot.vaf2cov-E5C7RJ7Z.js +0 -253
- package/dist/polar2-SKVBB4FD.js +0 -232
- package/dist/profileForms-5B3MTUNP.js +0 -941
- package/dist/profilePlot-MCYCGEWT.js +0 -49
- package/dist/proteinView-5X55JWVL.js +0 -1562
- package/dist/proteinView-5X55JWVL.js.map +0 -7
- package/dist/proteomeCohortCompare-WZBMBLFD.js +0 -780
- package/dist/proteomeCohortCompare-WZBMBLFD.js.map +0 -7
- package/dist/pseudbulk.unit.spec-Q4YTIPH7.js +0 -86
- package/dist/pseudobulk-3UIWCCCQ.js +0 -35
- package/dist/qualitative-6TJRXZFV.js +0 -38
- package/dist/radar2-6X4XW5IZ.js +0 -327
- package/dist/radarFacility2-UVPXWPV5.js +0 -335
- package/dist/rememberedGvQ.unit.spec-GVRFRVSO.js +0 -211
- package/dist/render-G7V6R4PV.js +0 -33
- package/dist/report-O7D46EKQ.js +0 -217
- package/dist/sampleView-6Y3OOOMW.js +0 -43
- package/dist/samplelst-JRVC4GYC.js +0 -106
- package/dist/samplematrix-VP5RQVRH.js +0 -2193
- package/dist/sc-BPHVEP6N.js +0 -81
- package/dist/scatter-2YYRZCSW.js +0 -88
- package/dist/scatter-Y4BIG2PW.js +0 -880
- package/dist/selectGenomeWithTklst-2BVZU5SW.js +0 -129
- package/dist/singleCellCellType-XBGCSIQT.js +0 -33
- package/dist/singleCellCellType.unit.spec-T4GFRLVZ.js +0 -154
- package/dist/singleCellGeneExpression-5ZPWLSVW.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-4O5UBUDU.js +0 -148
- package/dist/singleCellPlot-CZLQBGVU.js +0 -49
- package/dist/singlecell-IIUYX7OG.js +0 -1566
- package/dist/singlecell-O3P5BLWT.js +0 -81
- package/dist/snp-ZCYBF3ZQ.js +0 -33
- package/dist/snp.unit.spec-TAGD2DRL.js +0 -171
- package/dist/snplocus-TL25OOPE.js +0 -203
- package/dist/spliceevent.a53ss.diagram-I7J4PQZT.js +0 -146
- package/dist/spliceevent.exonskip.diagram-SB4454HB.js +0 -278
- package/dist/spliceevent.noeventdiagram-FOSDNYLH.js +0 -455
- package/dist/ssGSEA-WANB2X5L.js +0 -33
- package/dist/ssGSEA.unit.spec-4XXWU4XV.js +0 -83
- package/dist/stattable-FNTJLVNB.js +0 -117
- package/dist/studyCatalog-7KEOFLO2.js +0 -378
- package/dist/studyCatalog-7KEOFLO2.js.map +0 -7
- package/dist/summarizeCnvGeneexp-P4AFZMKD.js +0 -158
- package/dist/summarizeGeneexpSurvival-YL2J7F4R.js +0 -105
- package/dist/summarizeMutationCnv-BHBHST5F.js +0 -159
- package/dist/summarizeMutationDiagnosis-Z7ZHTV27.js +0 -35
- package/dist/summarizeMutationSurvival-PZ4TYHT7.js +0 -99
- package/dist/summary-ZMNPO65S.js +0 -42
- package/dist/summary.integration.spec-DPJR2ZBE.js +0 -409
- package/dist/summaryInput-6JUFJZ5P.js +0 -242
- package/dist/sunburst-OWAUI3HC.js +0 -278
- package/dist/survival-6JPKG3VA.js +0 -53
- package/dist/survival-7EXICNK7.js +0 -1248
- package/dist/survival.integration.spec-A6NUJLL6.js +0 -613
- package/dist/survival.integration.spec-A6NUJLL6.js.map +0 -7
- package/dist/svgraph-34IKFHUS.js +0 -1382
- package/dist/svmr-4XNPSVVQ.js +0 -3837
- package/dist/table-LPZATFLC.js +0 -197
- package/dist/termCollection-DYY5FXU5.js +0 -252
- package/dist/termCollection-WOAUFFIC.js +0 -33
- package/dist/termCollection.unit.spec-WTICTZ7H.js +0 -299
- package/dist/termCollectionFractionSelection-K5HPDEFP.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-D7DG2HOI.js +0 -188
- package/dist/tk-DD2LWVGM.js +0 -1121
- package/dist/tk-NV7NBLT6.js +0 -41
- package/dist/tp.ui-B5J3UUVB.js +0 -1454
- package/dist/tvs.dt-XLKQT64T.js +0 -34
- package/dist/tvs.dtcnv.categorical-XIC3RH2D.js +0 -35
- package/dist/tvs.dtcnv.continuous-OA2K4LHF.js +0 -67
- package/dist/tvs.dtfusion-ZGNKALZB.js +0 -35
- package/dist/tvs.dtitd-6QSG4E34.js +0 -35
- package/dist/tvs.dtsnvindel-5CXXOGPH.js +0 -35
- package/dist/tvs.dtsv-QYYEYUD3.js +0 -35
- package/dist/tvs.numeric-3UXW4JHJ.js +0 -20
- package/dist/tvs.samplelst-X77ODFFR.js +0 -98
- package/dist/tvs.termCollection-VXROWAPS.js +0 -124
- package/dist/vocabulary-DKWYTZRC.js +0 -36
- package/dist/wsi.direct-C3HQEC2V.js +0 -8184
- /package/dist/{2dmaf-ZQ7ACPAD.js.map → 2dmaf-XWKIQYRN.js.map} +0 -0
- /package/dist/{AggMatrixInput-EACGUIQA.js.map → AggMatrixInput-D3HJXDOD.js.map} +0 -0
- /package/dist/{AggregateMatrix-TC5DTSYN.js.map → AggregateMatrix-E2JZY5N5.js.map} +0 -0
- /package/dist/{AppHeader-PHI6US5B.js.map → AppHeader-SR6LMFTW.js.map} +0 -0
- /package/dist/{BoxPlot-QWKK3IJ7.js.map → BoxPlot-G2LRWABH.js.map} +0 -0
- /package/dist/{CorrelationVolcano-QJJN7FVP.js.map → CorrelationVolcano-CCQGOSR7.js.map} +0 -0
- /package/dist/{Cuminc-6F2C5C4E.js.map → Cuminc-QB6GE5MI.js.map} +0 -0
- /package/dist/{DE-HRJH6ZQL.js.map → DE-JI7E7ZXU.js.map} +0 -0
- /package/dist/{DEinput-T3MPAYPH.js.map → DEinput-B4A5UV4P.js.map} +0 -0
- /package/dist/{DM-PEG4ED2X.js.map → DM-4OAF6WPS.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-XGXHWGPI.js.map → DifferentialAnalysis-6JMGV5JF.js.map} +0 -0
- /package/dist/{Disco-7SRTTB3X.js.map → Disco-F4HZYRGX.js.map} +0 -0
- /package/dist/{Disco.UI-CKKZ5MMK.js.map → Disco.UI-KCIEUVNG.js.map} +0 -0
- /package/dist/{DmrPlot-N4CT4J2I.js.map → DmrPlot-5M7E7NBT.js.map} +0 -0
- /package/dist/{GB-NVCLPRWN.js.map → GB-KHKZQN5I.js.map} +0 -0
- /package/dist/{GSEA-UZUNJG7Z.js.map → GSEA-CDGWJUFE.js.map} +0 -0
- /package/dist/{GeneExpInput-3MDN2CAW.js.map → GeneExpInput-CQVMNIRI.js.map} +0 -0
- /package/dist/{Geomap-ZUF2PE5A.js.map → Geomap-3F6FO54H.js.map} +0 -0
- /package/dist/{HicApp-OIJT5TFU.js.map → HicApp-R3V46WEK.js.map} +0 -0
- /package/dist/{IDCViewer-ZSH2E57L.js.map → IDCViewer-2CGUU7EW.js.map} +0 -0
- /package/dist/{NumBinaryEditor-74ZPGT7L.js.map → NumBinaryEditor-3LF334ID.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-T2I66SO5.js.map → NumBinaryEditor.unit.spec-EIR7WOOV.js.map} +0 -0
- /package/dist/{NumContEditor-M2GARZXM.js.map → NumContEditor-CJEBKLS4.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-G2QBBNH7.js.map → NumContEditor.unit.spec-BKF3HKHP.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-P44G67KS.js.map → NumCustomBinEditor-BQI2NVI2.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-AZHJN3V6.js.map → NumCustomBinEditor.unit.spec-YWQL7STR.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-VOZ63LZY.js.map → NumDiscreteEditor-4VYL7IOM.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-CFSVPNBA.js.map → NumDiscreteEditor.unit.spec-CSORXLUZ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-I6GJQR7W.js.map → NumRegularBinEditor-NSPZ7ZHQ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-IDJE7H6S.js.map → NumRegularBinEditor.unit.spec-77FOOCQ7.js.map} +0 -0
- /package/dist/{NumSplineEditor-BCGWE52A.js.map → NumSplineEditor-CWZGMWF5.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-YQAL7L2E.js.map → NumSplineEditor.unit.spec-E6ITDOHV.js.map} +0 -0
- /package/dist/{NumericDensity-P25W63RV.js.map → NumericDensity-TVXZG4E5.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-N7CQ5W5L.js.map → NumericDensity.unit.spec-O6SIEDAM.js.map} +0 -0
- /package/dist/{NumericHandler-R7JWIFEO.js.map → NumericHandler-LNQG3OWJ.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-LMGIAGZJ.js.map → NumericHandler.unit.spec-3IJCPTRH.js.map} +0 -0
- /package/dist/{ProteomeInput-PRYKKF5E.js.map → ProteomeInput-SIYPPLOB.js.map} +0 -0
- /package/dist/{Regression-PSHH7ZXN.js.map → Regression-EOITDTFO.js.map} +0 -0
- /package/dist/{RunChart2-KJ2UWVCE.js.map → RunChart2-7BIEDW6G.js.map} +0 -0
- /package/dist/{SC-R6ZIJZ6F.js.map → SC-O4BKP23M.js.map} +0 -0
- /package/dist/{Violin-GTQAUJ7B.js.map → Violin-G35Y5F45.js.map} +0 -0
- /package/dist/{Volcano-NER64J7W.js.map → Volcano-DZVC5GSW.js.map} +0 -0
- /package/dist/{Wsi-GXNGL7O6.js.map → Wsi-LKBGTHZJ.js.map} +0 -0
- /package/dist/{adSandbox-SXSHVG4P.js.map → adSandbox-URTCAPSS.js.map} +0 -0
- /package/dist/{animatedBubbleChart-Q4NEETEH.js.map → animatedBubbleChart-KFIELJWN.js.map} +0 -0
- /package/dist/{app-MX4PL2QO.js.map → app-HOYLIBGB.js.map} +0 -0
- /package/dist/{app-R5CTEVAC.js.map → app-OPA44KOA.js.map} +0 -0
- /package/dist/{bam-45N3FEEM.js.map → bam-JEC3YMC3.js.map} +0 -0
- /package/dist/{barchart-YCTKQJQX.js.map → barchart-UQU75RJP.js.map} +0 -0
- /package/dist/{barchart2-252GS3CA.js.map → barchart2-3Z62N7NL.js.map} +0 -0
- /package/dist/{block-CR75JHV3.js.map → block-HJ6F6LXQ.js.map} +0 -0
- /package/dist/{block.init-U3JMED2E.js.map → block.init-AYWLW2HT.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-TAN3BDPS.js.map → block.mds.expressionrank-HLZA7FAG.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-EN344GEP.js.map → block.mds.geneboxplot-3G2QSHDL.js.map} +0 -0
- /package/dist/{block.mds.junction-RFVVJUTR.js.map → block.mds.junction-DX4LWDH7.js.map} +0 -0
- /package/dist/{block.mds.svcnv-SSUMXEWD.js.map → block.mds.svcnv-JZ33BUGK.js.map} +0 -0
- /package/dist/{block.svg-LRPGNFFI.js.map → block.svg-63BVZVV2.js.map} +0 -0
- /package/dist/{block.tk.aicheck-YY23FT2G.js.map → block.tk.aicheck-KSNJ3JLB.js.map} +0 -0
- /package/dist/{block.tk.ase-JCGPFKFT.js.map → block.tk.ase-URSPZ66D.js.map} +0 -0
- /package/dist/{block.tk.bam-NZDC4H7Y.js.map → block.tk.bam-DZ57VTOD.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-NCNZPZH6.js.map → block.tk.bedgraphdot-QCC65WUI.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-Z7G6ZITU.js.map → block.tk.bigwig.ui-3TGOK5PM.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-VVDP4UF5.js.map → block.tk.hicstraw-RASPIPEB.js.map} +0 -0
- /package/dist/{block.tk.junction-L4YBPAHM.js.map → block.tk.junction-HLJJSANL.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-6CMKKUB5.js.map → block.tk.junction.textmatrixui-LPNEDD5D.js.map} +0 -0
- /package/dist/{block.tk.ld-VCP2R5UO.js.map → block.tk.ld-CDGBLDE2.js.map} +0 -0
- /package/dist/{block.tk.menu-ZJYGMEDX.js.map → block.tk.menu-O7DLZOZZ.js.map} +0 -0
- /package/dist/{block.tk.pgv-M5WNUIVS.js.map → block.tk.pgv-2EGZS2II.js.map} +0 -0
- /package/dist/{brainImaging-JGECJHZO.js.map → brainImaging-I7K3QOOA.js.map} +0 -0
- /package/dist/{bubbleHeatmap-7DQNWBQ2.js.map → bubbleHeatmap-JOFBJ3N4.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-LAE7U3RF.js.map → cellTypeBubbleHeatmap-PUOOUMPO.js.map} +0 -0
- /package/dist/{chunk-E4WIMTK4.js.map → chunk-2SQEVMAL.js.map} +0 -0
- /package/dist/{chunk-LGOTIL62.js.map → chunk-3CHQGKF6.js.map} +0 -0
- /package/dist/{chunk-VIBK253J.js.map → chunk-3FVFG3YR.js.map} +0 -0
- /package/dist/{chunk-4AQQ3BXD.js.map → chunk-3PJZWZRS.js.map} +0 -0
- /package/dist/{chunk-NXVUL3EY.js.map → chunk-3W76UZR2.js.map} +0 -0
- /package/dist/{chunk-POWG4MPT.js.map → chunk-4DXQJGJ7.js.map} +0 -0
- /package/dist/{chunk-E7TJXNIL.js.map → chunk-4F57QD3H.js.map} +0 -0
- /package/dist/{chunk-756KZF5Y.js.map → chunk-4FO3INHF.js.map} +0 -0
- /package/dist/{chunk-RN4BOWRH.js.map → chunk-5ILEFNXJ.js.map} +0 -0
- /package/dist/{chunk-YX6FIREB.js.map → chunk-5T63JJ62.js.map} +0 -0
- /package/dist/{chunk-AQAFURQM.js.map → chunk-5UO7MKCO.js.map} +0 -0
- /package/dist/{chunk-GN2IIC6U.js.map → chunk-62ARCEIQ.js.map} +0 -0
- /package/dist/{chunk-ODMLC5FN.js.map → chunk-6HWGOT52.js.map} +0 -0
- /package/dist/{chunk-QHJGWCH3.js.map → chunk-6U3GF7DK.js.map} +0 -0
- /package/dist/{chunk-2AQT3ZWL.js.map → chunk-7RNXSOMF.js.map} +0 -0
- /package/dist/{chunk-D6G64XPJ.js.map → chunk-7X6NF7NI.js.map} +0 -0
- /package/dist/{chunk-GRI74AXV.js.map → chunk-A3JOQX4P.js.map} +0 -0
- /package/dist/{chunk-6JBQLOJW.js.map → chunk-ADLFLOFC.js.map} +0 -0
- /package/dist/{chunk-IAE3KWN5.js.map → chunk-AGUZCQDL.js.map} +0 -0
- /package/dist/{chunk-4WEA7HHH.js.map → chunk-ANGLZ4XR.js.map} +0 -0
- /package/dist/{chunk-DE3F7FAP.js.map → chunk-AVWIILXH.js.map} +0 -0
- /package/dist/{chunk-57NYHASA.js.map → chunk-BMQDU7KN.js.map} +0 -0
- /package/dist/{chunk-4PPZYVWZ.js.map → chunk-C5TU4AYP.js.map} +0 -0
- /package/dist/{chunk-2GLNPB5J.js.map → chunk-CMO5BR2S.js.map} +0 -0
- /package/dist/{chunk-TBPVP3KZ.js.map → chunk-EF4QV5YH.js.map} +0 -0
- /package/dist/{chunk-IS4VLUEX.js.map → chunk-EGKHDALO.js.map} +0 -0
- /package/dist/{chunk-KAFDQKN7.js.map → chunk-EQDKO7MX.js.map} +0 -0
- /package/dist/{chunk-XKL2D2NN.js.map → chunk-EREMALJK.js.map} +0 -0
- /package/dist/{chunk-BEJJS2HC.js.map → chunk-F4DM3WS4.js.map} +0 -0
- /package/dist/{chunk-L743GRJE.js.map → chunk-F5YU7J4P.js.map} +0 -0
- /package/dist/{chunk-S5UN4VIQ.js.map → chunk-GR4XPNAA.js.map} +0 -0
- /package/dist/{chunk-5BCNVZIW.js.map → chunk-GUH5IG5N.js.map} +0 -0
- /package/dist/{chunk-APK7TUJX.js.map → chunk-HMJOZAKA.js.map} +0 -0
- /package/dist/{chunk-XXJT7DSL.js.map → chunk-HPGWCCJ2.js.map} +0 -0
- /package/dist/{chunk-G3JNTWCX.js.map → chunk-IANG6AGL.js.map} +0 -0
- /package/dist/{chunk-5AAAH4OZ.js.map → chunk-IUREQGFN.js.map} +0 -0
- /package/dist/{chunk-YHA3AYAM.js.map → chunk-JC55A4A2.js.map} +0 -0
- /package/dist/{chunk-SDMNZJ7X.js.map → chunk-JPMHCMOP.js.map} +0 -0
- /package/dist/{chunk-MAVDQAZE.js.map → chunk-KYMTFHB5.js.map} +0 -0
- /package/dist/{chunk-JNVWSFNC.js.map → chunk-L32KMIC3.js.map} +0 -0
- /package/dist/{chunk-SY63UUF7.js.map → chunk-LDWMVZYF.js.map} +0 -0
- /package/dist/{chunk-UM5NWVMA.js.map → chunk-M367Y7ML.js.map} +0 -0
- /package/dist/{chunk-3MFFZRH3.js.map → chunk-M3OQ7GXG.js.map} +0 -0
- /package/dist/{chunk-YN5NY3D3.js.map → chunk-M4XXKTH2.js.map} +0 -0
- /package/dist/{chunk-T46FA72N.js.map → chunk-N7DVQTPC.js.map} +0 -0
- /package/dist/{chunk-JBUEQ4E6.js.map → chunk-NJ7N2VFX.js.map} +0 -0
- /package/dist/{chunk-IB4NE4SI.js.map → chunk-OVPEMVXT.js.map} +0 -0
- /package/dist/{chunk-2O4CS3EZ.js.map → chunk-OXWLQQXL.js.map} +0 -0
- /package/dist/{chunk-RZFJ6K77.js.map → chunk-PBUV4CPQ.js.map} +0 -0
- /package/dist/{chunk-ZXU4ALLZ.js.map → chunk-QABGFKK3.js.map} +0 -0
- /package/dist/{chunk-LK2GHBUH.js.map → chunk-QGBHBSGS.js.map} +0 -0
- /package/dist/{chunk-OJ4TDGPQ.js.map → chunk-QUODDEQH.js.map} +0 -0
- /package/dist/{chunk-DF3IMIR2.js.map → chunk-QW7BQPKP.js.map} +0 -0
- /package/dist/{chunk-D2MZT7CC.js.map → chunk-QXB4CBIS.js.map} +0 -0
- /package/dist/{chunk-3PHXBY3Z.js.map → chunk-RF3GQYZJ.js.map} +0 -0
- /package/dist/{chunk-MKT4OJ3G.js.map → chunk-RJ4OKU4A.js.map} +0 -0
- /package/dist/{chunk-JYOIO5UY.js.map → chunk-RPDVFM7E.js.map} +0 -0
- /package/dist/{chunk-SWZAHJYP.js.map → chunk-SWO6DZTG.js.map} +0 -0
- /package/dist/{chunk-6JBLNS4D.js.map → chunk-SYPSS3JQ.js.map} +0 -0
- /package/dist/{chunk-LHP7RXET.js.map → chunk-THGHO5FN.js.map} +0 -0
- /package/dist/{chunk-N635HDJ4.js.map → chunk-TU2E4653.js.map} +0 -0
- /package/dist/{chunk-P5GRGXH4.js.map → chunk-TUODNABC.js.map} +0 -0
- /package/dist/{chunk-RJFCT67B.js.map → chunk-VCVKELHL.js.map} +0 -0
- /package/dist/{chunk-Q25DABNW.js.map → chunk-VVO3R5JV.js.map} +0 -0
- /package/dist/{chunk-R5OIIFSF.js.map → chunk-WO2Z53DQ.js.map} +0 -0
- /package/dist/{chunk-OXLBPSJ6.js.map → chunk-WPEOBBLH.js.map} +0 -0
- /package/dist/{chunk-NFAE6VNU.js.map → chunk-X4CC7EZT.js.map} +0 -0
- /package/dist/{chunk-ABTO5QSB.js.map → chunk-X63NSV33.js.map} +0 -0
- /package/dist/{chunk-NG7K5KYO.js.map → chunk-XK2A6NRK.js.map} +0 -0
- /package/dist/{chunk-CZ5QLVWK.js.map → chunk-Y3D6Y4DO.js.map} +0 -0
- /package/dist/{chunk-ALEZQQOK.js.map → chunk-YG5AY6GE.js.map} +0 -0
- /package/dist/{chunk-JIDJBM2R.js.map → chunk-YNAEXBB5.js.map} +0 -0
- /package/dist/{chunk-J2DICGKC.js.map → chunk-YY5WQQ3J.js.map} +0 -0
- /package/dist/{chunk-YLJOZP4P.js.map → chunk-Z2ZITHT4.js.map} +0 -0
- /package/dist/{cohort-75FUW3UO.js.map → cohort-75OBZ5EL.js.map} +0 -0
- /package/dist/{condition-VW43Q6ZE.js.map → condition-XSIDDH5P.js.map} +0 -0
- /package/dist/{controls-HOP2AFHD.js.map → controls-UVEY3Z57.js.map} +0 -0
- /package/dist/{controls.config-CMIFSKQE.js.map → controls.config-M325HV4N.js.map} +0 -0
- /package/dist/{correlation-PN7BS5OR.js.map → correlation-HVQDCYQJ.js.map} +0 -0
- /package/dist/{customdata.inputui-ZBZX63PS.js.map → customdata.inputui-KMCJ4UFU.js.map} +0 -0
- /package/dist/{dataDownload-LGA4LAUF.js.map → dataDownload-MJNMZPR6.js.map} +0 -0
- /package/dist/{databrowser.ui-IQRDVL66.js.map → databrowser.ui-O7KNP5RH.js.map} +0 -0
- /package/dist/{dictionary-BPWD77LJ.js.map → dictionary-LLGX2XNU.js.map} +0 -0
- /package/dist/{dnaMethylation-A3XPPBBB.js.map → dnaMethylation-MXRMFWGM.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-554ITDQC.js.map → dnaMethylation.integration.spec-GNF4AW32.js.map} +0 -0
- /package/dist/{dofetch-FQ42AX7C.js.map → dofetch-F5XSHQIS.js.map} +0 -0
- /package/dist/{e2pca-F3GWG7WZ.js.map → e2pca-TNDATCU2.js.map} +0 -0
- /package/dist/{ep-QAVN472H.js.map → ep-GH62BQS5.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-DQNX7FTL.js.map → expclust.gdc.spec-3XBBPTZX.js.map} +0 -0
- /package/dist/{facet-DH7OOZTJ.js.map → facet-XQO2TMTJ.js.map} +0 -0
- /package/dist/{gb-OCXOLAMD.js.map → gb-76QWZ2UI.js.map} +0 -0
- /package/dist/{geneExpClustering-DWYRZGTS.js.map → geneExpClustering-7EEK4LBZ.js.map} +0 -0
- /package/dist/{geneExpression-2NKSKZR6.js.map → geneExpression-4J2JRTUQ.js.map} +0 -0
- /package/dist/{geneExpression-BGFR3KQE.js.map → geneExpression-FXQ4L2J2.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-63EKKMET.js.map → geneExpression.unit.spec-JRLUIYIU.js.map} +0 -0
- /package/dist/{geneORA-BED6XL4D.js.map → geneORA-MQ3DRAFK.js.map} +0 -0
- /package/dist/{geneRanking-UB5RCQNP.js.map → geneRanking-LK5CSUYP.js.map} +0 -0
- /package/dist/{geneVariant-Y4C2FPJK.js.map → geneVariant-HMOFSHIN.js.map} +0 -0
- /package/dist/{geneVariant-WJEONTTY.js.map → geneVariant-IKM4MJZN.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-VFYLC47N.js.map → geneVariant.integration.spec-ZIYVXRSQ.js.map} +0 -0
- /package/dist/{genefusion.ui-P3NBIMLE.js.map → genefusion.ui-UFSDMLZS.js.map} +0 -0
- /package/dist/{geneset-O22RQAED.js.map → geneset-IK43N3JG.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-MM7WZUGI.js.map → genomeBrowser.spec-GYBHE7HU.js.map} +0 -0
- /package/dist/{grin2-O637DNDS.js.map → grin2-K7OGPM66.js.map} +0 -0
- /package/dist/{grin2-3YBIRKUT.js.map → grin2-QLVIYHOC.js.map} +0 -0
- /package/dist/{hierCluster-3X3BQVNE.js.map → hierCluster-2Y6D73N4.js.map} +0 -0
- /package/dist/{hierCluster-7P7M75TU.js.map → hierCluster-YF52SKZD.js.map} +0 -0
- /package/dist/{hierCluster.config-XFUOLLDK.js.map → hierCluster.config-DDI7H2BF.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-HKYGSDDG.js.map → hierCluster.integration.spec-FTWZHMSN.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-JUZSWCM7.js.map → hierCluster.interactivity-Y2THXA6K.js.map} +0 -0
- /package/dist/{hierCluster.renderers-NGPPAYFM.js.map → hierCluster.renderers-P7JNIT3N.js.map} +0 -0
- /package/dist/{imagePlot-LKGAFJO7.js.map → imagePlot-DBMZYBSO.js.map} +0 -0
- /package/dist/{importPlot-SRWQA2FH.js.map → importPlot-PY4B7BYA.js.map} +0 -0
- /package/dist/{isoformExpression-RYIZQIVX.js.map → isoformExpression-HN3MNBKH.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-DP4ECITF.js.map → isoformExpression.unit.spec-RBNLOC7Q.js.map} +0 -0
- /package/dist/{junction-D7QQ3YSG.js.map → junction-EGT73F5M.js.map} +0 -0
- /package/dist/{junction.customTerm-ZEVNCVU7.js.map → junction.customTerm-FRYWSS4P.js.map} +0 -0
- /package/dist/{junction.unit.spec-6MAKIB3R.js.map → junction.unit.spec-M4JN5LX7.js.map} +0 -0
- /package/dist/{launch.adhoc-FAHRZFYG.js.map → launch.adhoc-VDOXMXRP.js.map} +0 -0
- /package/dist/{leftlabel.sample-PDZLWLJ4.js.map → leftlabel.sample-L2D4LF75.js.map} +0 -0
- /package/dist/{legacyDataset-27L4DMCL.js.map → legacyDataset-IEFWFVS6.js.map} +0 -0
- /package/dist/{lollipop-VWGJUHNX.js.map → lollipop-FBATR5JC.js.map} +0 -0
- /package/dist/{maf-W52H44WK.js.map → maf-NV37MR7A.js.map} +0 -0
- /package/dist/{maftimeline-5JV3HZLE.js.map → maftimeline-L3R3YWPV.js.map} +0 -0
- /package/dist/{matrix-CEVGKXSK.js.map → matrix-F5YVDLLQ.js.map} +0 -0
- /package/dist/{matrix-EXNYXYLK.js.map → matrix-NEEZS7HQ.js.map} +0 -0
- /package/dist/{matrix.cells-DVPWSLJW.js.map → matrix.cells-ZFKVIPDC.js.map} +0 -0
- /package/dist/{matrix.config-RLSTWDXC.js.map → matrix.config-37V4NZU2.js.map} +0 -0
- /package/dist/{matrix.data-Z6GUACVZ.js.map → matrix.data-NCGZPNWR.js.map} +0 -0
- /package/dist/{matrix.groups-3ZSTUWRK.js.map → matrix.groups-XQJTGM6M.js.map} +0 -0
- /package/dist/{matrix.integration.spec-4U2R3UB2.js.map → matrix.integration.spec-MRQUAGQN.js.map} +0 -0
- /package/dist/{matrix.interactivity-DJZFQ7DN.js.map → matrix.interactivity-NR2KH4CG.js.map} +0 -0
- /package/dist/{matrix.layout-RQJ6VB4P.js.map → matrix.layout-7FXNBXWB.js.map} +0 -0
- /package/dist/{matrix.legend-YQ36NWKW.js.map → matrix.legend-U36VCS46.js.map} +0 -0
- /package/dist/{matrix.renderers-MWDFI6HW.js.map → matrix.renderers-TKNU75PG.js.map} +0 -0
- /package/dist/{matrix.serieses-LTC4RLYD.js.map → matrix.serieses-AW7XBXLJ.js.map} +0 -0
- /package/dist/{matrix.sort-5VFYLABY.js.map → matrix.sort-7PMECLOE.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-2RUEKUT4.js.map → matrix.sort.unit.spec-S7Z2HDDD.js.map} +0 -0
- /package/dist/{matrix.sorterUi-EEMYZLPI.js.map → matrix.sorterUi-J6PRUT6J.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-ZXGSPRFZ.js.map → matrix.sorterUi.unit.spec-PCR7U67A.js.map} +0 -0
- /package/dist/{matrix.unit.spec-HTF6UV4L.js.map → matrix.unit.spec-GSOK3M34.js.map} +0 -0
- /package/dist/{mavb-GGQRDCO6.js.map → mavb-QP64LXJ5.js.map} +0 -0
- /package/dist/{mds.fimo-YKV5OIYV.js.map → mds.fimo-JS52GPE4.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-RQOEW2AW.js.map → mds.samplescatterplot-RY5PA35G.js.map} +0 -0
- /package/dist/{mds.survivalplot-TN636DED.js.map → mds.survivalplot-PG5VHT4W.js.map} +0 -0
- /package/dist/{multivalue-MDQY64EH.js.map → multivalue-EG2OGEET.js.map} +0 -0
- /package/dist/{numericDictTermCluster-E73TJCLI.js.map → numericDictTermCluster-5AKP6ICC.js.map} +0 -0
- /package/dist/{oncomatrix-AENXQMLL.js.map → oncomatrix-JUGMZ7X7.js.map} +0 -0
- /package/dist/{oncomatrix.spec-UD6U462U.js.map → oncomatrix.spec-76PSNGCH.js.map} +0 -0
- /package/dist/{plot.2dvaf-XMRV6KEG.js.map → plot.2dvaf-WXOEUEE7.js.map} +0 -0
- /package/dist/{plot.app-A6JKLYQQ.js.map → plot.app-ON6AY4A3.js.map} +0 -0
- /package/dist/{plot.barplot-UIX7LVWR.js.map → plot.barplot-WX3KM6KS.js.map} +0 -0
- /package/dist/{plot.boxplot-DIFWVLMA.js.map → plot.boxplot-L4PT7YVS.js.map} +0 -0
- /package/dist/{plot.brainImaging-ZRPVE2UK.js.map → plot.brainImaging-4JY67ZEV.js.map} +0 -0
- /package/dist/{plot.disco-I56MT3PC.js.map → plot.disco-3NY3P37U.js.map} +0 -0
- /package/dist/{plot.ssgq-FCKFSZTV.js.map → plot.ssgq-3YHZPC4V.js.map} +0 -0
- /package/dist/{plot.vaf2cov-E5C7RJ7Z.js.map → plot.vaf2cov-PJJN2GCQ.js.map} +0 -0
- /package/dist/{polar2-SKVBB4FD.js.map → polar2-5WVM7HGK.js.map} +0 -0
- /package/dist/{profileForms-5B3MTUNP.js.map → profileForms-MZNIQSE5.js.map} +0 -0
- /package/dist/{profilePlot-MCYCGEWT.js.map → profilePlot-2F5KXRFX.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-Q4YTIPH7.js.map → pseudbulk.unit.spec-AHI6LHZY.js.map} +0 -0
- /package/dist/{pseudobulk-3UIWCCCQ.js.map → pseudobulk-I4I733CJ.js.map} +0 -0
- /package/dist/{qualitative-6TJRXZFV.js.map → qualitative-G7MKJJNX.js.map} +0 -0
- /package/dist/{radar2-6X4XW5IZ.js.map → radar2-XJCS6ZUN.js.map} +0 -0
- /package/dist/{radarFacility2-UVPXWPV5.js.map → radarFacility2-GDTKB4KP.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-GVRFRVSO.js.map → rememberedGvQ.unit.spec-N43O4YTF.js.map} +0 -0
- /package/dist/{render-G7V6R4PV.js.map → render-G7TGAAPN.js.map} +0 -0
- /package/dist/{report-O7D46EKQ.js.map → report-PKYTJRKJ.js.map} +0 -0
- /package/dist/{sampleView-6Y3OOOMW.js.map → sampleView-QSB3PW33.js.map} +0 -0
- /package/dist/{samplelst-JRVC4GYC.js.map → samplelst-N33FNNIM.js.map} +0 -0
- /package/dist/{samplematrix-VP5RQVRH.js.map → samplematrix-4CVVIXWR.js.map} +0 -0
- /package/dist/{sc-BPHVEP6N.js.map → sc-LENH35VN.js.map} +0 -0
- /package/dist/{scatter-2YYRZCSW.js.map → scatter-5G272VMO.js.map} +0 -0
- /package/dist/{scatter-Y4BIG2PW.js.map → scatter-A3TK5TR5.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-2BVZU5SW.js.map → selectGenomeWithTklst-CP25JXDJ.js.map} +0 -0
- /package/dist/{singleCellCellType-XBGCSIQT.js.map → singleCellCellType-5ZLTPHVY.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-T4GFRLVZ.js.map → singleCellCellType.unit.spec-3JIUZS6Z.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-5ZPWLSVW.js.map → singleCellGeneExpression-UTUK4JAM.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-4O5UBUDU.js.map → singleCellGeneExpression.unit.spec-LRRBT5YG.js.map} +0 -0
- /package/dist/{singleCellPlot-CZLQBGVU.js.map → singleCellPlot-QXTJCGSI.js.map} +0 -0
- /package/dist/{singlecell-O3P5BLWT.js.map → singlecell-BS2HYXK2.js.map} +0 -0
- /package/dist/{singlecell-IIUYX7OG.js.map → singlecell-KG4WCPCW.js.map} +0 -0
- /package/dist/{snp-ZCYBF3ZQ.js.map → snp-X7AVONSN.js.map} +0 -0
- /package/dist/{snp.unit.spec-TAGD2DRL.js.map → snp.unit.spec-RNOIV6IA.js.map} +0 -0
- /package/dist/{snplocus-TL25OOPE.js.map → snplocus-DS6E47B6.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-I7J4PQZT.js.map → spliceevent.a53ss.diagram-MUB6Y74Z.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-SB4454HB.js.map → spliceevent.exonskip.diagram-47IHL2WK.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-FOSDNYLH.js.map → spliceevent.noeventdiagram-EMHYY3LK.js.map} +0 -0
- /package/dist/{ssGSEA-WANB2X5L.js.map → ssGSEA-XJVB4KXR.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-4XXWU4XV.js.map → ssGSEA.unit.spec-DV6XJRPZ.js.map} +0 -0
- /package/dist/{stattable-FNTJLVNB.js.map → stattable-45LHJWVF.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-P4AFZMKD.js.map → summarizeCnvGeneexp-RBFYEF4F.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-YL2J7F4R.js.map → summarizeGeneexpSurvival-2MTLML7E.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-BHBHST5F.js.map → summarizeMutationCnv-6YEOAUA6.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-Z7ZHTV27.js.map → summarizeMutationDiagnosis-GMGPKNVC.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-PZ4TYHT7.js.map → summarizeMutationSurvival-63LEMNOV.js.map} +0 -0
- /package/dist/{summary-ZMNPO65S.js.map → summary-TUL6Z35N.js.map} +0 -0
- /package/dist/{summary.integration.spec-DPJR2ZBE.js.map → summary.integration.spec-X22T3LB4.js.map} +0 -0
- /package/dist/{summaryInput-6JUFJZ5P.js.map → summaryInput-YBMESKTV.js.map} +0 -0
- /package/dist/{sunburst-OWAUI3HC.js.map → sunburst-QVK3JOKT.js.map} +0 -0
- /package/dist/{survival-7EXICNK7.js.map → survival-WQR2JVXU.js.map} +0 -0
- /package/dist/{survival-6JPKG3VA.js.map → survival-ZDWBE2JO.js.map} +0 -0
- /package/dist/{svgraph-34IKFHUS.js.map → svgraph-XFA7GFTF.js.map} +0 -0
- /package/dist/{svmr-4XNPSVVQ.js.map → svmr-WCNU5AM4.js.map} +0 -0
- /package/dist/{table-LPZATFLC.js.map → table-FT7OWBPC.js.map} +0 -0
- /package/dist/{termCollection-DYY5FXU5.js.map → termCollection-JIBZNZS6.js.map} +0 -0
- /package/dist/{termCollection-WOAUFFIC.js.map → termCollection-MGMWCQ2O.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-WTICTZ7H.js.map → termCollection.unit.spec-4OI4OIHR.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-K5HPDEFP.js.map → termCollectionFractionSelection-AFIJHB3Z.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-D7DG2HOI.js.map → termCollectionFractionSelection.unit.spec-MG7W4M7F.js.map} +0 -0
- /package/dist/{tk-NV7NBLT6.js.map → tk-23G2PAGW.js.map} +0 -0
- /package/dist/{tk-DD2LWVGM.js.map → tk-OQ72O2QL.js.map} +0 -0
- /package/dist/{tp.ui-B5J3UUVB.js.map → tp.ui-M5D3MNIR.js.map} +0 -0
- /package/dist/{tvs.dt-XLKQT64T.js.map → tvs.dt-T7EQO547.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-XIC3RH2D.js.map → tvs.dtcnv.categorical-4HIP3F24.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-OA2K4LHF.js.map → tvs.dtcnv.continuous-KVJWKU7Q.js.map} +0 -0
- /package/dist/{tvs.dtfusion-ZGNKALZB.js.map → tvs.dtfusion-C4AXERQA.js.map} +0 -0
- /package/dist/{tvs.dtitd-6QSG4E34.js.map → tvs.dtitd-KUZRPWA3.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-5CXXOGPH.js.map → tvs.dtsnvindel-DJYY7MG3.js.map} +0 -0
- /package/dist/{tvs.dtsv-QYYEYUD3.js.map → tvs.dtsv-RRO45ITI.js.map} +0 -0
- /package/dist/{tvs.numeric-3UXW4JHJ.js.map → tvs.numeric-22AHXO5K.js.map} +0 -0
- /package/dist/{tvs.samplelst-X77ODFFR.js.map → tvs.samplelst-M27QVSNU.js.map} +0 -0
- /package/dist/{tvs.termCollection-VXROWAPS.js.map → tvs.termCollection-6S2524FW.js.map} +0 -0
- /package/dist/{vocabulary-DKWYTZRC.js.map → vocabulary-YGPUDI4D.js.map} +0 -0
- /package/dist/{wsi.direct-C3HQEC2V.js.map → wsi.direct-SGGSZTWZ.js.map} +0 -0
|
@@ -0,0 +1,1545 @@
|
|
|
1
|
+
import {
|
|
2
|
+
blocklazyload
|
|
3
|
+
} from "./chunk-5T63JJ62.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-XDLCPJCK.js";
|
|
27
|
+
import "./chunk-HJ6L54YS.js";
|
|
28
|
+
import "./chunk-KV4W2ACA.js";
|
|
29
|
+
import "./chunk-TU2E4653.js";
|
|
30
|
+
import "./chunk-N7DVQTPC.js";
|
|
31
|
+
import {
|
|
32
|
+
Menu
|
|
33
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
34
|
+
import "./chunk-EEB5VE2A.js";
|
|
35
|
+
import "./chunk-6RRZRISL.js";
|
|
36
|
+
import "./chunk-2KM4PRQM.js";
|
|
37
|
+
import {
|
|
38
|
+
dofetch,
|
|
39
|
+
dofetch2
|
|
40
|
+
} from "./chunk-RPDVFM7E.js";
|
|
41
|
+
import {
|
|
42
|
+
getFilteredSamples
|
|
43
|
+
} from "./chunk-M4XXKTH2.js";
|
|
44
|
+
import "./chunk-5ILEFNXJ.js";
|
|
45
|
+
import "./chunk-IZUYLFOX.js";
|
|
46
|
+
import "./chunk-WINIL2KN.js";
|
|
47
|
+
import "./chunk-PF4DSFDR.js";
|
|
48
|
+
import "./chunk-7X6NF7NI.js";
|
|
49
|
+
import "./chunk-W5J3LTYS.js";
|
|
50
|
+
import {
|
|
51
|
+
identity,
|
|
52
|
+
zoom_default
|
|
53
|
+
} from "./chunk-Z2ZITHT4.js";
|
|
54
|
+
import {
|
|
55
|
+
linear,
|
|
56
|
+
ordinal
|
|
57
|
+
} from "./chunk-4OLM3KSB.js";
|
|
58
|
+
import "./chunk-FXQXCOII.js";
|
|
59
|
+
import "./chunk-TLT4YIG3.js";
|
|
60
|
+
import "./chunk-5R63Q5KH.js";
|
|
61
|
+
import {
|
|
62
|
+
select_default
|
|
63
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
64
|
+
import "./chunk-Q5RDQNIT.js";
|
|
65
|
+
import "./chunk-DQC5FFGV.js";
|
|
66
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
67
|
+
|
|
68
|
+
// common/uncollide.js
|
|
69
|
+
function getDefaults(opts) {
|
|
70
|
+
const defaults = {
|
|
71
|
+
waitTime: 0,
|
|
72
|
+
pad: 5,
|
|
73
|
+
nameKey: "",
|
|
74
|
+
steps: [
|
|
75
|
+
{
|
|
76
|
+
type: "restyle",
|
|
77
|
+
applyTo: "all",
|
|
78
|
+
// or just the minColliders
|
|
79
|
+
css: {
|
|
80
|
+
selector: "text",
|
|
81
|
+
key: "font-size",
|
|
82
|
+
value: "12px"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
/*{
|
|
86
|
+
type: 'restyle',
|
|
87
|
+
css: {
|
|
88
|
+
selector: 'text',
|
|
89
|
+
key: 'text-anchor',
|
|
90
|
+
value: 'start'
|
|
91
|
+
}
|
|
92
|
+
},*/
|
|
93
|
+
{
|
|
94
|
+
type: "move",
|
|
95
|
+
repeat: 2,
|
|
96
|
+
pad: 0,
|
|
97
|
+
css: {
|
|
98
|
+
selector: "text"
|
|
99
|
+
},
|
|
100
|
+
boxSorter: (a, b) => {
|
|
101
|
+
if (a.x1 > b.x1) return -1;
|
|
102
|
+
if (b.x1 > a.x1) return 1;
|
|
103
|
+
if (a.y1 > b.y1) return -1;
|
|
104
|
+
if (b.y1 > a.y1) return 1;
|
|
105
|
+
return 0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
};
|
|
110
|
+
return Object.assign(defaults, opts);
|
|
111
|
+
}
|
|
112
|
+
async function uncollide(labels, _opts = {}) {
|
|
113
|
+
if (!labels || !labels.size()) return;
|
|
114
|
+
const opts = getDefaults(_opts);
|
|
115
|
+
if (!opts.steps || !opts.steps.length) return;
|
|
116
|
+
if (!opts.svg) opts.svg = labels.node().closest("svg");
|
|
117
|
+
await sleep(opts.waitTime);
|
|
118
|
+
opts.svgBox = opts.svg.getBoundingClientRect();
|
|
119
|
+
const boxes = getBoxes(labels, opts);
|
|
120
|
+
const minNonZeroCollisions = trackCollisions(boxes);
|
|
121
|
+
window.boxes = boxes;
|
|
122
|
+
if (minNonZeroCollisions) {
|
|
123
|
+
const step = opts.steps.shift();
|
|
124
|
+
const adjustees = step.applyTo == "all" ? boxes : step.type == "move" ? boxes.filter((b) => b.collisions.length) : boxes.filter((b) => b.collisions.length === minNonZeroCollisions);
|
|
125
|
+
if (adjustees.length) {
|
|
126
|
+
if (step.boxSorter) adjustees.sort(step.boxSorter);
|
|
127
|
+
for (const box of adjustees) {
|
|
128
|
+
const b = getBoxes(box.label, opts)[0];
|
|
129
|
+
Object.assign(box, b);
|
|
130
|
+
trackOverlaps(box, boxes.filter((b2) => b2 != box));
|
|
131
|
+
await adjusters[step.type](box, step, boxes, opts);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
if (typeof step.repeat == "number" && step.repeat > 0) {
|
|
135
|
+
step.repeat += -1;
|
|
136
|
+
opts.steps.unshift(step);
|
|
137
|
+
}
|
|
138
|
+
if (opts.steps.length) setTimeout(() => uncollide(labels, opts), 0);
|
|
139
|
+
else boxes.forEach(showBox);
|
|
140
|
+
} else boxes.forEach(showBox);
|
|
141
|
+
}
|
|
142
|
+
function getBoxes(labels, opts) {
|
|
143
|
+
const boxes = [];
|
|
144
|
+
labels.each(function(data) {
|
|
145
|
+
const elem = this;
|
|
146
|
+
const bbox = elem.getBoundingClientRect();
|
|
147
|
+
const box = {
|
|
148
|
+
elem,
|
|
149
|
+
label: select_default(elem),
|
|
150
|
+
x1: bbox.x - opts.svgBox.x,
|
|
151
|
+
x2: bbox.x - opts.svgBox.x + bbox.width,
|
|
152
|
+
y1: bbox.y - opts.svgBox.y,
|
|
153
|
+
y2: bbox.y - opts.svgBox.y + bbox.height,
|
|
154
|
+
width: bbox.width,
|
|
155
|
+
height: bbox.height
|
|
156
|
+
};
|
|
157
|
+
box.maxFree = {
|
|
158
|
+
n: Math.max(box.y1, 0),
|
|
159
|
+
s: Math.max(opts.svgBox.y + opts.svgBox.height - box.y2, 0),
|
|
160
|
+
e: Math.max(opts.svgBox.x + opts.svgBox.width - box.x2, 0),
|
|
161
|
+
w: Math.max(box.x1, 0)
|
|
162
|
+
};
|
|
163
|
+
box.corners = {};
|
|
164
|
+
box.overlapSum = 0;
|
|
165
|
+
box.collisions = [];
|
|
166
|
+
box.maxOverlaps = {};
|
|
167
|
+
if (opts.nameKey) box.name = data[opts.nameKey];
|
|
168
|
+
detectSvgOverflow(box, opts.svgBox);
|
|
169
|
+
boxes.push(box);
|
|
170
|
+
});
|
|
171
|
+
return boxes;
|
|
172
|
+
}
|
|
173
|
+
function trackCollisions(boxes) {
|
|
174
|
+
let minNonZeroCollisions = 0;
|
|
175
|
+
for (const box of boxes) {
|
|
176
|
+
const numCollisions = trackOverlaps(box, boxes.filter((b) => b != box));
|
|
177
|
+
if (minNonZeroCollisions === 0 || numCollisions > 0 && numCollisions < minNonZeroCollisions) {
|
|
178
|
+
minNonZeroCollisions = numCollisions;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
boxes.sort(sortBoxes);
|
|
182
|
+
return minNonZeroCollisions;
|
|
183
|
+
}
|
|
184
|
+
function sortBoxes(a, b) {
|
|
185
|
+
return a.collisions.length - b.collisions.length;
|
|
186
|
+
}
|
|
187
|
+
function trackOverlaps(box, boxes) {
|
|
188
|
+
const x1 = box.x1, x2 = box.x2;
|
|
189
|
+
const y1 = box.y1, y2 = box.y2;
|
|
190
|
+
for (const b of boxes) {
|
|
191
|
+
if (b === box) continue;
|
|
192
|
+
const free = {};
|
|
193
|
+
if (b.x2 < x1) {
|
|
194
|
+
free.w = x1 - b.x2;
|
|
195
|
+
} else if (b.x1 > x2) {
|
|
196
|
+
free.e = b.x1 - x2;
|
|
197
|
+
}
|
|
198
|
+
if (b.y2 < y1) {
|
|
199
|
+
free.n = y1 - b.y2;
|
|
200
|
+
} else if (b.y1 > y2) {
|
|
201
|
+
free.s = b.y1 - y2;
|
|
202
|
+
}
|
|
203
|
+
const corners = {};
|
|
204
|
+
if (Object.keys(free).length) {
|
|
205
|
+
if ("n" in free && free.n < box.maxFree.n) box.maxFree.n = free.n;
|
|
206
|
+
if ("s" in free && free.s < box.maxFree.s) box.maxFree.s = free.s;
|
|
207
|
+
if ("e" in free && free.e < box.maxFree.e) box.maxFree.e = free.e;
|
|
208
|
+
if ("w" in free && free.w < box.maxFree.w) box.maxFree.w = free.w;
|
|
209
|
+
} else {
|
|
210
|
+
if (b.x1 <= x1 && x2 <= b.x2) {
|
|
211
|
+
if (b.x1 <= x1 && x1 <= b.x2) {
|
|
212
|
+
const dx = b.x2 - x1;
|
|
213
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
|
|
214
|
+
if (b.y1 <= y1 && y1 <= b.y2) {
|
|
215
|
+
const dy = b.y2 - y1;
|
|
216
|
+
corners.nw = dx * dy;
|
|
217
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
218
|
+
}
|
|
219
|
+
if (b.y1 <= y2 && y2 <= b.y2) {
|
|
220
|
+
const dy = y2 - b.y1;
|
|
221
|
+
corners.sw = dx * dy;
|
|
222
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
if (b.x1 <= x2 && x2 <= b.x2) {
|
|
226
|
+
const dx = x2 - b.x1;
|
|
227
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
228
|
+
if (b.y1 <= y1 && y1 <= b.y2) {
|
|
229
|
+
const dy = b.y2 - y1;
|
|
230
|
+
corners.ne = dx * dy;
|
|
231
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
232
|
+
}
|
|
233
|
+
if (b.y1 <= y2 && y2 <= b.y2) {
|
|
234
|
+
const dy = y2 - b.y1;
|
|
235
|
+
corners.se = dx * dy;
|
|
236
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
} else {
|
|
240
|
+
if (x1 <= b.x1 && b.x1 <= x2) {
|
|
241
|
+
const dx = x2 - b.x1;
|
|
242
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
243
|
+
if (y1 <= b.y1 && b.y1 <= y2) {
|
|
244
|
+
const dy = y2 - b.y1;
|
|
245
|
+
corners.se = dx * dy;
|
|
246
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
247
|
+
}
|
|
248
|
+
if (y1 <= b.y2 && b.y2 <= y2) {
|
|
249
|
+
const dy = b.y2 - y1;
|
|
250
|
+
corners.ne = dx * dy;
|
|
251
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
if (x1 <= b.x2 && b.x2 <= x2) {
|
|
255
|
+
const dx = b.x2 - x1;
|
|
256
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
|
|
257
|
+
if (y1 <= b.y1 && b.y1 <= y2) {
|
|
258
|
+
const dy = y2 - b.y1;
|
|
259
|
+
corners.sw = dx * dy;
|
|
260
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
261
|
+
}
|
|
262
|
+
if (y1 <= b.y2 && b.y2 <= y2) {
|
|
263
|
+
const dy = b.y2 - y1;
|
|
264
|
+
corners.nw = dx * dy;
|
|
265
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
const keys = Object.keys(corners);
|
|
271
|
+
if (keys.length) {
|
|
272
|
+
box.collisions.push({ box: b.name, corners: keys });
|
|
273
|
+
for (const k of keys) {
|
|
274
|
+
if (!box.corners[k]) box.corners[k] = { against: [], sum: 0 };
|
|
275
|
+
box.corners[k].against.push(b.name);
|
|
276
|
+
box.corners[k].sum += corners[k];
|
|
277
|
+
box.overlapSum += corners[k];
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
return box.collisions.length;
|
|
282
|
+
}
|
|
283
|
+
function detectSvgOverflow(box, svgBox) {
|
|
284
|
+
const x1 = box.x1, x2 = box.x2;
|
|
285
|
+
const y1 = box.y1, y2 = box.y2;
|
|
286
|
+
const corners = [];
|
|
287
|
+
if (x1 < 0) {
|
|
288
|
+
box.maxOverlaps.x = { val: Math.abs(x1), dir: "w" };
|
|
289
|
+
corners.push("w");
|
|
290
|
+
box.corners.w = { against: [], sum: Math.abs(x1) * box.height };
|
|
291
|
+
box.overlapSum += box.corners.w.sum;
|
|
292
|
+
}
|
|
293
|
+
const dx = x2 - svgBox.width;
|
|
294
|
+
if (dx > 0 && (!box.maxOverlaps.x || box.maxOverlaps.x.val < dx)) {
|
|
295
|
+
box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
296
|
+
corners.push("e");
|
|
297
|
+
box.corners.e = { against: ["svgbox"], sum: dx * box.height };
|
|
298
|
+
box.overlapSum += box.corners.e.sum;
|
|
299
|
+
}
|
|
300
|
+
if (y1 < 0) {
|
|
301
|
+
box.maxOverlaps.y = { val: Math.abs(y1), dir: "n" };
|
|
302
|
+
corners.push("n");
|
|
303
|
+
box.corners.n = { against: ["svgbox"], sum: Math.abs(y1) };
|
|
304
|
+
box.overlapSum += box.corners.n.sum;
|
|
305
|
+
}
|
|
306
|
+
const dy = y2 - svgBox.height;
|
|
307
|
+
if (dy > 0 && (!box.maxOverlaps.y || box.maxOverlaps.y.val < dy)) {
|
|
308
|
+
box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
309
|
+
corners.push("s");
|
|
310
|
+
box.corners.s = { against: ["svgbox"], sum: dy * box.height };
|
|
311
|
+
box.overlapSum += box.corners.s.sum;
|
|
312
|
+
}
|
|
313
|
+
if (corners.length) box.collisions.push({ box: "svg", corners });
|
|
314
|
+
}
|
|
315
|
+
async function restyle(box, step, boxes, opts) {
|
|
316
|
+
const preAdjustedVal = /* @__PURE__ */ new Map();
|
|
317
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
318
|
+
const s = select_default(this);
|
|
319
|
+
preAdjustedVal.set(this, s.attr(step.css.key));
|
|
320
|
+
s.attr(step.css.key, step.css.value);
|
|
321
|
+
});
|
|
322
|
+
await sleep(opts.waitTime);
|
|
323
|
+
const adjustedBox = getBoxes(box.label, opts)[0];
|
|
324
|
+
const i = boxes.indexOf(box);
|
|
325
|
+
trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
|
|
326
|
+
if (step.applyTo == "all") {
|
|
327
|
+
Object.assign(box, adjustedBox);
|
|
328
|
+
} else {
|
|
329
|
+
if (adjustedBox.overlapSum >= box.overlapSum) {
|
|
330
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
331
|
+
select_default(this).attr(step.css.key, preAdjustedVal.get(this));
|
|
332
|
+
});
|
|
333
|
+
} else {
|
|
334
|
+
Object.assign(box, adjustedBox);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
async function move(box, step, boxes, opts) {
|
|
339
|
+
const freeDirections = Object.keys(box.maxFree).filter((dir) => box.maxFree[dir] > 0);
|
|
340
|
+
if (!freeDirections.length) return;
|
|
341
|
+
const preAdjustedVal = /* @__PURE__ */ new Map();
|
|
342
|
+
if (box.maxOverlaps.y && box.maxOverlaps.y.val > 0) {
|
|
343
|
+
if (box.maxOverlaps.y.dir == "s" && freeDirections.includes("n")) {
|
|
344
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
345
|
+
const s = select_default(this);
|
|
346
|
+
preAdjustedVal.set(this, s.attr("y") || 0);
|
|
347
|
+
s.attr("y", Math.max(-box.maxFree.n, -box.maxOverlaps.y.val) - step.pad);
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
if (box.maxOverlaps.y.dir == "n" && freeDirections.includes("s")) {
|
|
351
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
352
|
+
const s = select_default(this);
|
|
353
|
+
preAdjustedVal.set(this, s.attr("y") || 0);
|
|
354
|
+
s.attr("y", Math.min(box.maxFree.s, box.maxOverlaps.y.val) + step.pad);
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
if (preAdjustedVal.size) {
|
|
359
|
+
await sleep(opts.waitTime);
|
|
360
|
+
const adjustedBox2 = getBoxes(box.label, opts)[0];
|
|
361
|
+
trackOverlaps(adjustedBox2, boxes.filter((b) => b != box));
|
|
362
|
+
if (adjustedBox2.overlapSum >= box.overlapSum) {
|
|
363
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
364
|
+
select_default(this).attr("y", preAdjustedVal.get(this));
|
|
365
|
+
});
|
|
366
|
+
} else {
|
|
367
|
+
Object.assign(box, adjustedBox2);
|
|
368
|
+
if (!box.collisions.length) return;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
if (box.maxOverlaps.x && box.maxOverlaps.x.val > 0) {
|
|
372
|
+
if (box.maxOverlaps.x.dir == "e" && freeDirections.includes("w")) {
|
|
373
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
374
|
+
const s = select_default(this);
|
|
375
|
+
preAdjustedVal.set(this, s.attr("x") || 0);
|
|
376
|
+
s.attr("x", Math.max(-box.maxFree.w, -box.maxOverlaps.x.val) - step.pad);
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
if (box.maxOverlaps.x.dir == "w" && freeDirections.includes("e")) {
|
|
380
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
381
|
+
const s = select_default(this);
|
|
382
|
+
preAdjustedVal.set(this, s.attr("x") || 0);
|
|
383
|
+
s.attr("x", Math.min(box.maxFree.e, box.maxOverlaps.x.val) + step.pad);
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
if (!preAdjustedVal.size) return;
|
|
388
|
+
await sleep(opts.waitTime);
|
|
389
|
+
const adjustedBox = getBoxes(box.label, opts)[0];
|
|
390
|
+
trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
|
|
391
|
+
if (adjustedBox.overlapSum >= box.overlapSum) {
|
|
392
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
393
|
+
select_default(this).attr("x", preAdjustedVal.get(this));
|
|
394
|
+
});
|
|
395
|
+
} else {
|
|
396
|
+
Object.assign(box, adjustedBox);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
var adjusters = { restyle, move };
|
|
400
|
+
function showBox(box) {
|
|
401
|
+
return;
|
|
402
|
+
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");
|
|
403
|
+
}
|
|
404
|
+
function sleep(ms) {
|
|
405
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
// src/mds.samplescatterplot.js
|
|
409
|
+
var radius = 3;
|
|
410
|
+
var radius_tiny = 0.7;
|
|
411
|
+
var userdotcolor = "black";
|
|
412
|
+
async function init(obj, holder, debugmode) {
|
|
413
|
+
if (debugmode) {
|
|
414
|
+
window.obj = obj;
|
|
415
|
+
}
|
|
416
|
+
if (!obj.lasso)
|
|
417
|
+
obj.lasso = {
|
|
418
|
+
postSelectMenuOptions: [
|
|
419
|
+
/*{
|
|
420
|
+
label: 'Do something',
|
|
421
|
+
callback({samples, sample_attributes, sample2dot}) {....}
|
|
422
|
+
},*/
|
|
423
|
+
{
|
|
424
|
+
label: "List samples",
|
|
425
|
+
callback: "listSamples"
|
|
426
|
+
// will indicate to use the default callback of listing the samples
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
};
|
|
430
|
+
obj.menu = new Menu({ padding: "2px" });
|
|
431
|
+
obj.menu2 = new Menu({ padding: "10px" });
|
|
432
|
+
obj.tip = new Menu({ padding: "5px" });
|
|
433
|
+
obj.errordiv = holder.append("div").style("margin", "10px");
|
|
434
|
+
obj.sayerror = (e) => {
|
|
435
|
+
sayerror(obj.errordiv, typeof e == "string" ? e : e.message);
|
|
436
|
+
if (e.stack) console.log(e.stack);
|
|
437
|
+
};
|
|
438
|
+
const _table = holder.append("table").style("border-spacing", "20px");
|
|
439
|
+
const tr1 = _table.append("tr");
|
|
440
|
+
const tr1td1 = tr1.append("td").style("vertical-align", "top");
|
|
441
|
+
const tr1td2 = tr1.append("td").style("vertical-align", "top");
|
|
442
|
+
{
|
|
443
|
+
let searchStr2 = function(data, str) {
|
|
444
|
+
let found_flag = false;
|
|
445
|
+
let vals = Object.values(data).filter((a) => a != null && typeof a != "number");
|
|
446
|
+
let new_vals = vals.filter((a) => typeof a != "object").map((x) => x.toLowerCase());
|
|
447
|
+
new_vals.forEach((v) => {
|
|
448
|
+
if (v.toLowerCase().includes(str)) return found_flag = true;
|
|
449
|
+
});
|
|
450
|
+
if (!found_flag) {
|
|
451
|
+
vals.forEach((v) => {
|
|
452
|
+
if (v && typeof v == "object") {
|
|
453
|
+
const obj_vals = Object.values(v).filter((a) => a != null && typeof a != "number").map((x) => x.toLowerCase());
|
|
454
|
+
obj_vals.forEach((ov) => {
|
|
455
|
+
if (ov.toLowerCase().includes(str)) return found_flag = true;
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
return found_flag;
|
|
461
|
+
};
|
|
462
|
+
var searchStr = searchStr2;
|
|
463
|
+
const row = tr1td2.append("div").style("margin-bottom", "5px");
|
|
464
|
+
row.append("input").attr("type", "text").attr("placeholder", "Search sample").style("width", "200px").on("keyup", (event2) => {
|
|
465
|
+
const str0 = event2.target.value;
|
|
466
|
+
if (!str0) {
|
|
467
|
+
obj.dotselection.transition().attr("r", radius);
|
|
468
|
+
return;
|
|
469
|
+
}
|
|
470
|
+
const str = str0.toLowerCase();
|
|
471
|
+
obj.dotselection.filter((d) => searchStr2(d, str)).transition().attr("r", radius * 2);
|
|
472
|
+
obj.dotselection.filter((d) => !searchStr2(d, str)).transition().attr("r", 1);
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
const legend_div = tr1td2.append("div").style("overflow-x", "hidden").style("overflow-y", "auto").style("height", "100vh");
|
|
476
|
+
obj.legendtable = legend_div.append("table").style("border-spacing", "5px");
|
|
477
|
+
obj.filterDiv = tr1td1.append("div").style("position", "relative");
|
|
478
|
+
const scatterdiv = tr1td1.append("div").style("position", "relative");
|
|
479
|
+
obj.scattersvg = scatterdiv.append("svg");
|
|
480
|
+
obj.scattersvg_resizehandle = scatterdiv.append("div");
|
|
481
|
+
obj.scattersvg_buttons = scatterdiv.append("div");
|
|
482
|
+
try {
|
|
483
|
+
await get_data(obj);
|
|
484
|
+
finish_setup(obj);
|
|
485
|
+
init_dotcolor_legend(obj);
|
|
486
|
+
init_plot(obj);
|
|
487
|
+
} catch (e) {
|
|
488
|
+
if (e.stack) console.log(e.stack);
|
|
489
|
+
obj.sayerror(e.message || e);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
async function get_data(obj) {
|
|
493
|
+
if (obj.dslabel) {
|
|
494
|
+
const lst = ["genome=" + obj.genome.name, "dslabel=" + obj.dslabel];
|
|
495
|
+
if (obj.analysisdata) {
|
|
496
|
+
if (obj.analysisdata.subset) {
|
|
497
|
+
if (!obj.analysisdata.subset.key) throw ".subset.key missing";
|
|
498
|
+
if (!obj.analysisdata.subset.value) throw ".subset.value missing";
|
|
499
|
+
lst.push("subsetkey=" + obj.analysisdata.subset.key);
|
|
500
|
+
lst.push("subsetvalue=" + obj.analysisdata.subset.value);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
const data = await dofetch2("mdssamplescatterplot?" + lst.join("&"));
|
|
504
|
+
if (data.error) throw data.error;
|
|
505
|
+
if (!data.dots) throw "server error";
|
|
506
|
+
obj.sample2dot = /* @__PURE__ */ new Map();
|
|
507
|
+
for (const dot of data.dots) {
|
|
508
|
+
obj.sample2dot.set(dot.sample, dot);
|
|
509
|
+
}
|
|
510
|
+
combine_clientserverdata(obj, data);
|
|
511
|
+
obj.colorbyattributes = data.colorbyattributes;
|
|
512
|
+
obj.colorbygeneexpression = data.colorbygeneexpression;
|
|
513
|
+
obj.tracks = data.tracks;
|
|
514
|
+
obj.querykey = data.querykey;
|
|
515
|
+
obj.sample_attributes = obj.mds.sampleAttribute.attributes;
|
|
516
|
+
return;
|
|
517
|
+
}
|
|
518
|
+
const ad = obj.analysisdata;
|
|
519
|
+
if (obj.disco || ad.disco) {
|
|
520
|
+
const disco = obj.disco || ad.disco;
|
|
521
|
+
obj.mds = obj.genome.datasets[disco.dslabel];
|
|
522
|
+
} else if (obj.mds) {
|
|
523
|
+
obj.mds = obj.genome.datasets[obj.mds.dslabel];
|
|
524
|
+
}
|
|
525
|
+
if (!ad) throw "both .analysisdata{} and .dslabel are missing";
|
|
526
|
+
if (ad.samples) {
|
|
527
|
+
if (!Array.isArray(ad.samples)) throw ".analysisdata.samples is not array";
|
|
528
|
+
obj.dots = ad.samples;
|
|
529
|
+
} else if (ad.tabular_data) {
|
|
530
|
+
let lines = ad.tabular_data.split("\n");
|
|
531
|
+
if (lines.length < 2) throw "at least 2 rows, header row + at least 1 sample data must be supplied";
|
|
532
|
+
ad.samples = [];
|
|
533
|
+
const headers = lines.shift().split(" ");
|
|
534
|
+
if (headers.length < 3) throw "at least 3 columns are required with X, Y and sample name";
|
|
535
|
+
ad.samplekey = headers[2];
|
|
536
|
+
let xi = headers.indexOf("x");
|
|
537
|
+
if (xi == -1) xi = headers.indexOf("X");
|
|
538
|
+
if (xi == -1) throw '"X" or "x" column missing from tabular data';
|
|
539
|
+
let yi = headers.indexOf("y");
|
|
540
|
+
if (yi == -1) yi = headers.indexOf("Y");
|
|
541
|
+
if (yi == -1) throw '"Y" or "y" column missing from tabular data';
|
|
542
|
+
for (const line of lines) {
|
|
543
|
+
const values = line.split(" ");
|
|
544
|
+
const sample = {};
|
|
545
|
+
for (const [i, v] of values.entries()) {
|
|
546
|
+
if (i == xi) sample.x = Number.parseFloat(v);
|
|
547
|
+
else if (i == yi) sample.y = Number.parseFloat(v);
|
|
548
|
+
else sample[headers[i]] = v;
|
|
549
|
+
}
|
|
550
|
+
ad.samples.push(sample);
|
|
551
|
+
}
|
|
552
|
+
obj.dots = ad.samples;
|
|
553
|
+
if (ad.sample_attributes == void 0) {
|
|
554
|
+
ad.sample_attributes = {};
|
|
555
|
+
for (const [i, key] of headers.entries()) {
|
|
556
|
+
if (i <= 2) continue;
|
|
557
|
+
ad.sample_attributes[key] = { label: key };
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
if (!ad.colorbyattributes && headers.length > 3) ad.colorbyattributes = [{ key: headers[3] }];
|
|
561
|
+
} else {
|
|
562
|
+
throw "unknown data encoding in .analysisdata{}";
|
|
563
|
+
}
|
|
564
|
+
obj.sample2dot = /* @__PURE__ */ new Map();
|
|
565
|
+
for (const d of obj.dots) {
|
|
566
|
+
if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a sample";
|
|
567
|
+
if (ad.samplekey) {
|
|
568
|
+
d.sample = d[ad.samplekey];
|
|
569
|
+
delete d[ad.samplekey];
|
|
570
|
+
}
|
|
571
|
+
if (ad.sample_attributes) {
|
|
572
|
+
d.s = {};
|
|
573
|
+
for (const k in ad.sample_attributes) {
|
|
574
|
+
d.s[k] = d[k];
|
|
575
|
+
delete d[k];
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
obj.sample2dot.set(d.sample, d);
|
|
579
|
+
}
|
|
580
|
+
obj.sample_attributes = ad.sample_attributes;
|
|
581
|
+
obj.colorbyattributes = ad.colorbyattributes;
|
|
582
|
+
obj.attr_levels = ad.attr_levels;
|
|
583
|
+
if (ad.user_samples) {
|
|
584
|
+
if (!Array.isArray(ad.user_samples)) throw ".user_samples[] is not array";
|
|
585
|
+
obj.dots_user = [];
|
|
586
|
+
for (const d of ad.user_samples) {
|
|
587
|
+
if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a USER sample";
|
|
588
|
+
if (ad.samplekey) {
|
|
589
|
+
d.sample = d[ad.samplekey];
|
|
590
|
+
delete d[ad.samplekey];
|
|
591
|
+
}
|
|
592
|
+
if (!d.color) d.color = userdotcolor;
|
|
593
|
+
obj.dots_user.push(d);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
if (!obj.filterApi) {
|
|
597
|
+
obj.filterApi = filterInit({
|
|
598
|
+
btn: obj.filterDiv.append("div"),
|
|
599
|
+
btnLabel: "Filter",
|
|
600
|
+
emptyLabel: "+New Filter",
|
|
601
|
+
holder: obj.filterDiv.append("div"),
|
|
602
|
+
vocab: getVocabFromSamplesArray(ad),
|
|
603
|
+
//termdbConfig: opts.termdbConfig,
|
|
604
|
+
debug: true,
|
|
605
|
+
callback(filter) {
|
|
606
|
+
obj.filteredSamples = getFilteredSamples(ad.samples, filter);
|
|
607
|
+
if (obj.dotselection._groups[0].length != obj.filteredSamples.size) {
|
|
608
|
+
obj.dotselection.transition().attr("r", (d) => obj.filteredSamples.has(d.sample) ? radius : 0).style("opacity", (d) => obj.filteredSamples.has(d.sample) ? 1 : 0);
|
|
609
|
+
} else {
|
|
610
|
+
obj.dotselection.transition().attr("r", radius).style("opacity", 1);
|
|
611
|
+
}
|
|
612
|
+
update_dotcolor_legend(obj);
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
obj.filterApi.main({ type: "tvslst", join: "", lst: [] });
|
|
616
|
+
obj.filteredSamples = [];
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
function combine_clientserverdata(obj, data) {
|
|
620
|
+
if (!obj.analysisdata) {
|
|
621
|
+
obj.dots = data.dots;
|
|
622
|
+
return;
|
|
623
|
+
}
|
|
624
|
+
if (!obj.analysisdata.str) throw ".analysisdata.str missing while trying to combine client/server data";
|
|
625
|
+
const analysis = /* @__PURE__ */ new Map();
|
|
626
|
+
obj.dots_user = [];
|
|
627
|
+
for (const line of obj.analysisdata.str.trim().split("\n")) {
|
|
628
|
+
const l = line.split(" ");
|
|
629
|
+
if (l.length < 3) {
|
|
630
|
+
continue;
|
|
631
|
+
}
|
|
632
|
+
const sample = l[2];
|
|
633
|
+
if (!sample) continue;
|
|
634
|
+
const j = {
|
|
635
|
+
x: Number(l[0]),
|
|
636
|
+
y: Number(l[1])
|
|
637
|
+
};
|
|
638
|
+
if (Number.isNaN(j.x) || Number.isNaN(j.y)) continue;
|
|
639
|
+
if (l[3]) {
|
|
640
|
+
j.sample = sample;
|
|
641
|
+
j.color = userdotcolor;
|
|
642
|
+
obj.dots_user.push(j);
|
|
643
|
+
continue;
|
|
644
|
+
}
|
|
645
|
+
analysis.set(sample, j);
|
|
646
|
+
}
|
|
647
|
+
obj.dots = [];
|
|
648
|
+
for (const i of data.dots) {
|
|
649
|
+
const j = analysis.get(i.sample);
|
|
650
|
+
if (!j) continue;
|
|
651
|
+
i.x = j.x;
|
|
652
|
+
i.y = j.y;
|
|
653
|
+
obj.dots.push(i);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
function finish_setup(obj) {
|
|
657
|
+
if (obj.colorbyattributes) {
|
|
658
|
+
if (!Array.isArray(obj.colorbyattributes)) throw ".colorbyattributes[] is not array";
|
|
659
|
+
if (!obj.sample_attributes) throw ".sample_attributes{} missing when .colorbyattributes is defined";
|
|
660
|
+
for (const a of obj.colorbyattributes) {
|
|
661
|
+
if (typeof a != "object") throw "one of .colorbyattributes[] is not array";
|
|
662
|
+
if (!a.key) throw ".key missing from one of .colorbyattributes[]";
|
|
663
|
+
const a2 = obj.sample_attributes[a.key];
|
|
664
|
+
if (!a2) throw "unknown key from .colorbyattributes: " + a.key;
|
|
665
|
+
a.label = a2.label;
|
|
666
|
+
a.values = a2.values;
|
|
667
|
+
if (!a.values) {
|
|
668
|
+
a.values = {};
|
|
669
|
+
for (const d of obj.dots) {
|
|
670
|
+
const v = d.s[a.key];
|
|
671
|
+
if (v == void 0 || v == null) continue;
|
|
672
|
+
a.values[v] = {};
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
const cf = ordinal(schemeCategory20);
|
|
676
|
+
for (const k in a.values) {
|
|
677
|
+
if (!a.values[k].color) a.values[k].color = cf(k);
|
|
678
|
+
}
|
|
679
|
+
if (obj.analysisdata) {
|
|
680
|
+
const ad = obj.analysisdata.sample_attributes;
|
|
681
|
+
if (ad[a.key].values == void 0) ad[a.key].values = a.values;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
if (obj.attr_levels) {
|
|
686
|
+
if (!Array.isArray(obj.attr_levels)) throw ".attr_levels[] is not array";
|
|
687
|
+
if (obj.attr_levels.length < 2) throw ".attr_levels[] array has less than 2 items";
|
|
688
|
+
if (!obj.sample_attributes) throw ".sample_attributes is missing when .attr_levels is defined";
|
|
689
|
+
for (const l of obj.attr_levels) {
|
|
690
|
+
if (!l.key) throw ".key missing from one of attr_levels[]";
|
|
691
|
+
const register = obj.sample_attributes[l.key];
|
|
692
|
+
if (!register) throw ".attr_levels key missing from sample_attributes{}: " + l.key;
|
|
693
|
+
if (!register.values) {
|
|
694
|
+
register.values = {};
|
|
695
|
+
for (const d of obj.dots) {
|
|
696
|
+
const v = d.s[l.key];
|
|
697
|
+
if (v == void 0 || v == null || register.values[v]) continue;
|
|
698
|
+
register.values[v] = {};
|
|
699
|
+
}
|
|
700
|
+
const cf = ordinal(schemeCategory20);
|
|
701
|
+
for (const k in register.values) {
|
|
702
|
+
if (!register.values[k].color) register.values[k].color = cf(k);
|
|
703
|
+
}
|
|
704
|
+
register.orderByCount = true;
|
|
705
|
+
}
|
|
706
|
+
if (l.label) {
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
function init_plot(obj) {
|
|
712
|
+
const rootholder = obj.scattersvg.node().closest(".sja_root_holder");
|
|
713
|
+
let minx = obj.dots[0].x, maxx = minx, miny = obj.dots[0].y, maxy = miny;
|
|
714
|
+
for (const d of [...obj.dots, ...obj.dots_user || []]) {
|
|
715
|
+
minx = Math.min(minx, d.x);
|
|
716
|
+
maxx = Math.max(maxx, d.x);
|
|
717
|
+
miny = Math.min(miny, d.y);
|
|
718
|
+
maxy = Math.max(maxy, d.y);
|
|
719
|
+
}
|
|
720
|
+
let xscale = obj.xscale = linear().domain([minx, maxx]);
|
|
721
|
+
let yscale = obj.yscale = linear().domain([miny, maxy]);
|
|
722
|
+
if (!obj.dimensions) obj.dimensions = {};
|
|
723
|
+
if (!("autoResize" in obj.dimensions)) obj.dimensions.autoResize = true;
|
|
724
|
+
if (!("minWidth" in obj.dimensions)) obj.dimensions.minWidth = 300;
|
|
725
|
+
if (!("minHeight" in obj.dimensions)) obj.dimensions.minHeight = 300;
|
|
726
|
+
let currBbox;
|
|
727
|
+
const estlegendwidth = 250;
|
|
728
|
+
const bbox = rootholder.getBoundingClientRect();
|
|
729
|
+
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;
|
|
730
|
+
const svg = obj.scattersvg;
|
|
731
|
+
const dotg = obj.dotg = svg.append("g").attr("transform", "translate(" + (leftpad + vpad) + "," + toppad + ")");
|
|
732
|
+
const dots = dotg.selectAll().data(obj.dots).enter().append("g").attr("class", "sample_dot");
|
|
733
|
+
const circles = dots.append("circle").attr("stroke", "none").attr("r", radius).on("mouseover", (event2, d) => {
|
|
734
|
+
event2.target.setAttribute("stroke", "white");
|
|
735
|
+
const lst = [{ k: "Sample", v: d.sample }];
|
|
736
|
+
if (obj.sample_attributes) {
|
|
737
|
+
for (const attrkey in obj.sample_attributes) {
|
|
738
|
+
const attr = obj.sample_attributes[attrkey];
|
|
739
|
+
const v = d.s[attrkey];
|
|
740
|
+
lst.push({
|
|
741
|
+
k: attr.label,
|
|
742
|
+
v: d.s[attrkey]
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
make_table_2col(obj.tip.clear().d, lst);
|
|
747
|
+
obj.tip.show(event2.clientX, event2.clientY);
|
|
748
|
+
}).on("mouseout", (event2, d) => {
|
|
749
|
+
event2.target.setAttribute("stroke", "none");
|
|
750
|
+
obj.tip.hide();
|
|
751
|
+
}).on("click", (event2, d) => {
|
|
752
|
+
click_dot(d, obj, event2);
|
|
753
|
+
});
|
|
754
|
+
obj.dotselection = circles;
|
|
755
|
+
let userdots, usercircles, userlabelg, userlabels, userlabel_borders;
|
|
756
|
+
const userlabel_grp = obj.userlabel_grp = { userlabels, userlabel_borders };
|
|
757
|
+
if (obj.dots_user) {
|
|
758
|
+
userdots = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "sample_dot");
|
|
759
|
+
usercircles = userdots.append("circle").attr("stroke", "none").attr("fill", (d) => d.color).attr("r", radius).on("mouseover", (event2, d) => {
|
|
760
|
+
const lst = [{ k: "Sample", v: d.sample }];
|
|
761
|
+
if (obj.sample_attributes) {
|
|
762
|
+
for (const attrkey in obj.sample_attributes) {
|
|
763
|
+
const attr = obj.sample_attributes[attrkey];
|
|
764
|
+
if (d[attrkey])
|
|
765
|
+
lst.push({
|
|
766
|
+
k: attr.label,
|
|
767
|
+
v: d[attrkey]
|
|
768
|
+
});
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
make_table_2col(obj.tip.clear().d, lst);
|
|
772
|
+
obj.tip.show(event2.clientX, event2.clientY);
|
|
773
|
+
Object.values(userlabel_grp).forEach(
|
|
774
|
+
(labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "bold")
|
|
775
|
+
);
|
|
776
|
+
}).on("mouseout", (event2, d) => {
|
|
777
|
+
obj.tip.hide();
|
|
778
|
+
Object.values(userlabel_grp).forEach(
|
|
779
|
+
(labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "normal")
|
|
780
|
+
);
|
|
781
|
+
});
|
|
782
|
+
userlabelg = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "userlabelg");
|
|
783
|
+
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");
|
|
784
|
+
userlabel_grp.userlabels = userlabelg.append("text").attr("fill", (d) => d.color).attr("font-size", fontsize).text((d) => d.sample).on("mouseover", (event2, d) => {
|
|
785
|
+
usercircles.filter((i) => i.sample == d.sample).attr("r", radius * 2);
|
|
786
|
+
svg.style("cursor", "move");
|
|
787
|
+
const lst = [{ k: "Sample", v: d.sample }];
|
|
788
|
+
if (obj.sample_attributes) {
|
|
789
|
+
for (const attrkey in obj.sample_attributes) {
|
|
790
|
+
const attr = obj.sample_attributes[attrkey];
|
|
791
|
+
if (d[attrkey])
|
|
792
|
+
lst.push({
|
|
793
|
+
k: attr.label,
|
|
794
|
+
v: d[attrkey]
|
|
795
|
+
});
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
make_table_2col(obj.tip.clear().d, lst);
|
|
799
|
+
obj.tip.show(event2.clientX, event2.clientY);
|
|
800
|
+
}).on("mouseout", (event2, d) => {
|
|
801
|
+
usercircles.filter((i) => i.sample == d.sample).attr("r", radius);
|
|
802
|
+
svg.style("cursor", "auto");
|
|
803
|
+
obj.tip.hide();
|
|
804
|
+
}).on("mousedown", (event2, d) => {
|
|
805
|
+
event2.preventDefault();
|
|
806
|
+
event2.stopPropagation();
|
|
807
|
+
const b = select_default(document.body);
|
|
808
|
+
const x = event2.clientX;
|
|
809
|
+
const y = event2.clientY;
|
|
810
|
+
xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : obj.xscale;
|
|
811
|
+
yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : obj.yscale;
|
|
812
|
+
const g = userlabelg.filter((i) => i.sample == d.sample);
|
|
813
|
+
const [x1, y1] = g.attr("transform").match(/[\d\.]+/g).map(Number);
|
|
814
|
+
b.on("mousemove", (event3) => {
|
|
815
|
+
g.attr("transform", "translate(" + (x1 + event3.clientX - x) + "," + (y1 + event3.clientY - y) + ")");
|
|
816
|
+
});
|
|
817
|
+
b.on("mouseup", (event3) => {
|
|
818
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
819
|
+
d.x_ = xscale.invert(x1 + event3.clientX - x);
|
|
820
|
+
d.y_ = yscale.invert(y1 + event3.clientY - y);
|
|
821
|
+
});
|
|
822
|
+
}).on("dblclick", (event2, d) => {
|
|
823
|
+
obj.menu2.clear().show(event2.clientX - 90, event2.clientY);
|
|
824
|
+
obj.menu2.d.append("input").attr("type", "text").property("value", d.sample).style("display", "block").style("margin-bottom", "5px").on("keyup", (event3) => {
|
|
825
|
+
if (!keyupEnter(event3)) return;
|
|
826
|
+
const v = event3.target.value;
|
|
827
|
+
Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).text(v));
|
|
828
|
+
d.sample = v;
|
|
829
|
+
obj.menu2.hide();
|
|
830
|
+
});
|
|
831
|
+
obj.menu2.d.append("input").attr("type", "color").property("value", d.color).on("change", (event3) => {
|
|
832
|
+
const v = event3.target.value;
|
|
833
|
+
Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).attr("fill", v));
|
|
834
|
+
usercircles.filter((i) => i.sample == d.sample).attr("fill", v);
|
|
835
|
+
d.color = v;
|
|
836
|
+
});
|
|
837
|
+
});
|
|
838
|
+
userlabel_grp.userlabels.append("title").text("Double-click to edit");
|
|
839
|
+
}
|
|
840
|
+
assign_color4dots(obj);
|
|
841
|
+
function resize() {
|
|
842
|
+
bottompad = width / 20 + 20;
|
|
843
|
+
svg.attr("width", leftpad + vpad + width + rightpad).attr("height", toppad + height + vpad + bottompad);
|
|
844
|
+
const new_xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : xscale;
|
|
845
|
+
const new_yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : yscale;
|
|
846
|
+
new_xscale.range([0, width]);
|
|
847
|
+
new_yscale.range([height, 0]);
|
|
848
|
+
dots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
|
|
849
|
+
if (userdots) {
|
|
850
|
+
userdots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
|
|
851
|
+
userlabelg.attr("transform", (d) => {
|
|
852
|
+
const x = d.x_ ? new_xscale(d.x_) : new_xscale(d.x), y = d.y_ ? new_yscale(d.y_) : new_yscale(d.y);
|
|
853
|
+
let lw;
|
|
854
|
+
Object.values(userlabel_grp).forEach(
|
|
855
|
+
(labels) => labels.filter((i) => i.sample == d.sample).each(function() {
|
|
856
|
+
lw = this.getBBox().width;
|
|
857
|
+
}).attr("text-anchor", x + lw >= width ? "end" : "start")
|
|
858
|
+
);
|
|
859
|
+
return "translate(" + x + "," + y + ")";
|
|
860
|
+
});
|
|
861
|
+
}
|
|
862
|
+
currBbox = rootholder.getBoundingClientRect();
|
|
863
|
+
if (obj.userlabel_grp && userlabelg && userlabelg.size()) {
|
|
864
|
+
uncollide(userlabelg, { waitTime: 0, nameKey: "sample" });
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
resize();
|
|
868
|
+
obj.scattersvg_resizehandle.style("position", "absolute").style("right", "0px").style("bottom", "0px").attr("class", "sja_clbtext").text("drag to resize").on("mousedown", (event2) => {
|
|
869
|
+
event2.preventDefault();
|
|
870
|
+
const b = select_default(document.body);
|
|
871
|
+
const x = event2.clientX;
|
|
872
|
+
const y = event2.clientY;
|
|
873
|
+
const w0 = width;
|
|
874
|
+
const h0 = height;
|
|
875
|
+
b.on("mousemove", (event3) => {
|
|
876
|
+
width = w0 + event3.clientX - x;
|
|
877
|
+
height = h0 + event3.clientY - y;
|
|
878
|
+
resize();
|
|
879
|
+
});
|
|
880
|
+
b.on("mouseup", () => {
|
|
881
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
882
|
+
});
|
|
883
|
+
});
|
|
884
|
+
function resetDimensions() {
|
|
885
|
+
const bbox2 = rootholder.getBoundingClientRect();
|
|
886
|
+
const w = width * bbox2.width / currBbox.width;
|
|
887
|
+
width = obj.dimensions.minWidth ? Math.max(obj.dimensions.minWidth, w) : w;
|
|
888
|
+
const h = height * bbox2.height / currBbox.height;
|
|
889
|
+
height = obj.dimensions.minHeight ? Math.max(obj.dimensions.minHeight, h) : h;
|
|
890
|
+
currBbox = bbox2;
|
|
891
|
+
resize();
|
|
892
|
+
}
|
|
893
|
+
let timeout;
|
|
894
|
+
if (obj.dimensions.autoResize) {
|
|
895
|
+
window.addEventListener("resize", () => {
|
|
896
|
+
if (timeout) clearTimeout(timeout);
|
|
897
|
+
timeout = setTimeout(resetDimensions, 50);
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
makeConfigPanel(obj);
|
|
901
|
+
}
|
|
902
|
+
function makeConfigPanel(obj) {
|
|
903
|
+
const svg = obj.scattersvg;
|
|
904
|
+
obj.scattersvg_buttons.style("position", "absolute").style("right", "0px").style("top", "0px");
|
|
905
|
+
obj.zoom_active = false;
|
|
906
|
+
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);
|
|
907
|
+
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");
|
|
908
|
+
const zoom_inout_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
909
|
+
zoom_inout_div.append("div").style("display", "block").style("padding", "2px 4px").style("font-size", "80%").text("Zoom");
|
|
910
|
+
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>');
|
|
911
|
+
const zoom_in_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 7px").text("+");
|
|
912
|
+
const zoom_out_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("-");
|
|
913
|
+
const pan_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
914
|
+
pan_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Pan");
|
|
915
|
+
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>');
|
|
916
|
+
const reset_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
917
|
+
const reset_btn = reset_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("Reset");
|
|
918
|
+
function zoomToggle() {
|
|
919
|
+
obj.zoom_active = obj.zoom_active ? false : true;
|
|
920
|
+
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");
|
|
921
|
+
lasso_btn.style("pointer-events", obj.zoom_active ? "none" : "auto");
|
|
922
|
+
zoom_menu.style("display", obj.zoom_active ? "block" : "none");
|
|
923
|
+
const zoom = zoom_default().scaleExtent([1, 5]).on("zoom", obj.zoom_active ? zoomed : null);
|
|
924
|
+
function zoomed(event2) {
|
|
925
|
+
obj.new_xscale = event2.transform.rescaleX(obj.xscale);
|
|
926
|
+
obj.new_yscale = event2.transform.rescaleY(obj.yscale);
|
|
927
|
+
obj.zoomed_scale = event2.transform.k;
|
|
928
|
+
const dots = obj.dotg.selectAll(".sample_dot");
|
|
929
|
+
dots.attr("transform", (d) => "translate(" + obj.new_xscale(d.x) + "," + obj.new_yscale(d.y) + ")");
|
|
930
|
+
const userlabelg = obj.dotg.selectAll(".userlabelg");
|
|
931
|
+
userlabelg.attr(
|
|
932
|
+
"transform",
|
|
933
|
+
(d) => "translate(" + obj.new_xscale(d.x_ || d.x) + "," + obj.new_yscale(d.y_ || d.y) + ")"
|
|
934
|
+
);
|
|
935
|
+
}
|
|
936
|
+
if (obj.zoom_active) svg.call(zoom);
|
|
937
|
+
else svg.on(".zoom", null);
|
|
938
|
+
zoom_in_btn.on("click", () => {
|
|
939
|
+
zoom.scaleBy(svg.transition().duration(750), 1.5);
|
|
940
|
+
});
|
|
941
|
+
zoom_out_btn.on("click", () => {
|
|
942
|
+
zoom.scaleBy(svg.transition().duration(750), 0.5);
|
|
943
|
+
});
|
|
944
|
+
reset_btn.on("click", () => {
|
|
945
|
+
svg.transition().duration(750).call(zoom.transform, identity);
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
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);
|
|
949
|
+
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");
|
|
950
|
+
const lasso_div = lasso_menu.append("div").style("margin", "5px 2px");
|
|
951
|
+
lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Lasso usage");
|
|
952
|
+
lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html(
|
|
953
|
+
'<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>'
|
|
954
|
+
);
|
|
955
|
+
function lassoToggle() {
|
|
956
|
+
const dots = obj.dotg.selectAll("g");
|
|
957
|
+
obj.lasso_active = obj.lasso_active ? false : true;
|
|
958
|
+
zoom_btn.style("pointer-events", obj.lasso_active ? "none" : "auto");
|
|
959
|
+
lasso_menu.style("display", obj.lasso_active ? "block" : "none");
|
|
960
|
+
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");
|
|
961
|
+
lasso_select(obj, dots);
|
|
962
|
+
if (obj.lasso_active) return;
|
|
963
|
+
dots.selectAll("circle").classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
function assign_color4dots(obj) {
|
|
967
|
+
let byattr;
|
|
968
|
+
if (obj.colorbygeneexpression && obj.colorbygeneexpression.__inuse) {
|
|
969
|
+
} else if (obj.attr_levels) {
|
|
970
|
+
byattr = { key: obj.attr_levels[1].key };
|
|
971
|
+
byattr.values = obj.sample_attributes[byattr.key].values;
|
|
972
|
+
} else if (obj.colorbyattributes) {
|
|
973
|
+
byattr = { key: (obj.colorbyattributes.find((i) => i.__inuse) || obj.colorbyattributes[0]).key };
|
|
974
|
+
byattr.values = obj.sample_attributes[byattr.key].values;
|
|
975
|
+
}
|
|
976
|
+
obj.dotselection.transition().attr("fill", (d) => {
|
|
977
|
+
if (byattr) {
|
|
978
|
+
const v = d.s[byattr.key];
|
|
979
|
+
return byattr.values[v] ? byattr.values[v].color : "black";
|
|
980
|
+
}
|
|
981
|
+
return "#ccc";
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
function init_dotcolor_legend(obj) {
|
|
985
|
+
if (obj.attr_levels) {
|
|
986
|
+
legend_attr_levels(obj);
|
|
987
|
+
return;
|
|
988
|
+
}
|
|
989
|
+
if (obj.colorbyattributes) {
|
|
990
|
+
legend_flatlist(obj);
|
|
991
|
+
return;
|
|
992
|
+
}
|
|
993
|
+
if (obj.colorbygeneexpression) {
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
function legend_attr_levels(obj) {
|
|
997
|
+
const staydiv = obj.legendtable.append("tr").append("td").append("div").style("position", "relative");
|
|
998
|
+
const scrolldiv = staydiv.append("div");
|
|
999
|
+
const L1 = obj.attr_levels[0];
|
|
1000
|
+
L1.v2c = /* @__PURE__ */ new Map();
|
|
1001
|
+
L1.unannotated = 0;
|
|
1002
|
+
for (const d of obj.dots) {
|
|
1003
|
+
const v = d.s[L1.key];
|
|
1004
|
+
if (v == void 0 || v == null) {
|
|
1005
|
+
L1.unannotated++;
|
|
1006
|
+
continue;
|
|
1007
|
+
}
|
|
1008
|
+
if (!L1.v2c.has(v)) L1.v2c.set(v, { dots: [] });
|
|
1009
|
+
L1.v2c.get(v).dots.push(d);
|
|
1010
|
+
if (L1.label) {
|
|
1011
|
+
L1.v2c.get(v).label = d.s[L1.label];
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
for (const L1value of get_itemOrderList(L1, obj)) {
|
|
1015
|
+
const L1o = L1.v2c.get(L1value);
|
|
1016
|
+
const L1div = scrolldiv.append("div").style("margin-top", "20px").attr("class", "sja_lb_div");
|
|
1017
|
+
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");
|
|
1018
|
+
const L2 = obj.attr_levels[1];
|
|
1019
|
+
if (L2) {
|
|
1020
|
+
const L2values = obj.sample_attributes[L2.key].values;
|
|
1021
|
+
L2.v2c = /* @__PURE__ */ new Map();
|
|
1022
|
+
L2.unannotated = 0;
|
|
1023
|
+
for (const d of L1o.dots) {
|
|
1024
|
+
const v = d.s[L2.key];
|
|
1025
|
+
if (v == void 0 || v == null) {
|
|
1026
|
+
L2.unannotated++;
|
|
1027
|
+
continue;
|
|
1028
|
+
}
|
|
1029
|
+
if (!L2.v2c.has(v)) {
|
|
1030
|
+
const o = L2values[v];
|
|
1031
|
+
if (o) {
|
|
1032
|
+
o.dots = [];
|
|
1033
|
+
L2.v2c.set(v, o);
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
if (L2.v2c.has(v)) {
|
|
1037
|
+
L2.v2c.get(v).dots.push(d);
|
|
1038
|
+
if (L2.label) {
|
|
1039
|
+
L2.v2c.get(v).label = d.s[L2.label];
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
if (!obj.hide_subtype_legend) {
|
|
1044
|
+
for (const L2value of get_itemOrderList(L2, obj)) {
|
|
1045
|
+
const L2o = L2.v2c.get(L2value);
|
|
1046
|
+
const cell = L1div.append("div").style("display", "inline-block").style("white-space", "nowrap").attr("class", "sja_clb").on("click", () => {
|
|
1047
|
+
if (L2o.selected) {
|
|
1048
|
+
L2o.selected = false;
|
|
1049
|
+
cell.style("border", "");
|
|
1050
|
+
let alloff2 = true;
|
|
1051
|
+
for (const k in L2values) {
|
|
1052
|
+
if (L2values[k].selected) alloff2 = false;
|
|
1053
|
+
}
|
|
1054
|
+
if (alloff2) {
|
|
1055
|
+
obj.dotselection.transition().attr("r", radius);
|
|
1056
|
+
} else {
|
|
1057
|
+
obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius_tiny);
|
|
1058
|
+
}
|
|
1059
|
+
return;
|
|
1060
|
+
}
|
|
1061
|
+
let alloff = true;
|
|
1062
|
+
for (const k in L2values) {
|
|
1063
|
+
if (L2values[k].selected) alloff = false;
|
|
1064
|
+
}
|
|
1065
|
+
L2o.selected = true;
|
|
1066
|
+
cell.style("border", "solid 1px #858585");
|
|
1067
|
+
if (alloff) {
|
|
1068
|
+
obj.dotselection.transition().attr("r", (d) => d.s[L2.key] == L2value ? radius : radius_tiny);
|
|
1069
|
+
} else {
|
|
1070
|
+
obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius);
|
|
1071
|
+
}
|
|
1072
|
+
});
|
|
1073
|
+
cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", L2o.color).style("margin-right", "3px").text(L2o.dots.length);
|
|
1074
|
+
cell.append("div").style("display", "inline-block").style("color", L2o.color).text(L2o.label || L2value);
|
|
1075
|
+
L2o.cell = cell;
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
if (L2.unannotated) {
|
|
1079
|
+
const d = L1div.append("div").style("margin-top", "20px");
|
|
1080
|
+
d.append("div").text('Unannotated for "' + L2.key + '": ' + L2.unannotated);
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
if (L1.unannotated) {
|
|
1085
|
+
const d = scrolldiv.append("div").style("margin-top", "20px");
|
|
1086
|
+
d.append("div").html('Unannotated for "' + L1.key + '": ' + L1.unannotated);
|
|
1087
|
+
}
|
|
1088
|
+
if (L1.v2c.size > 10) {
|
|
1089
|
+
scrolldiv.style("overflow-y", "scroll").style("height", "800px").style("resize", "vertical");
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
function get_itemOrderList(level, obj) {
|
|
1093
|
+
const register = obj.sample_attributes[level.key];
|
|
1094
|
+
if (!register.values || register.orderByCount) {
|
|
1095
|
+
return [...level.v2c].sort((i, j) => j[1].dots.length - i[1].dots.length).map((i) => i[0]);
|
|
1096
|
+
}
|
|
1097
|
+
const lst = [];
|
|
1098
|
+
for (const k in register.values) {
|
|
1099
|
+
if (level.v2c.has(k)) lst.push(k);
|
|
1100
|
+
}
|
|
1101
|
+
return lst;
|
|
1102
|
+
}
|
|
1103
|
+
function legend_flatlist(obj) {
|
|
1104
|
+
if (!obj.colorbyattributes.find((i) => i.__inuse)) obj.colorbyattributes[0].__inuse = true;
|
|
1105
|
+
for (const attr of obj.colorbyattributes) {
|
|
1106
|
+
const tr = obj.legendtable.append("tr");
|
|
1107
|
+
attr.labelhandle = tr.append("td").append("div").style("white-space", "nowrap").text(attr.label).attr("class", "sja_clb").on("click", () => {
|
|
1108
|
+
for (const attr2 of obj.colorbyattributes) {
|
|
1109
|
+
attr2.__inuse = false;
|
|
1110
|
+
attr2.labelhandle.style("background", "").style("border-bottom", "");
|
|
1111
|
+
}
|
|
1112
|
+
attr.__inuse = true;
|
|
1113
|
+
attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
|
|
1114
|
+
assign_color4dots(obj);
|
|
1115
|
+
});
|
|
1116
|
+
if (attr.__inuse) {
|
|
1117
|
+
attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
|
|
1118
|
+
}
|
|
1119
|
+
for (const d of obj.dots) {
|
|
1120
|
+
const v = d.s[attr.key];
|
|
1121
|
+
if (v == void 0 || v == null) continue;
|
|
1122
|
+
if (!attr.values[v]) attr.values[v] = { color: "black" };
|
|
1123
|
+
attr.values[v].count = 1 + (attr.values[v].count || 0);
|
|
1124
|
+
}
|
|
1125
|
+
const cellholder = tr.append("td");
|
|
1126
|
+
for (const value in attr.values) {
|
|
1127
|
+
const o = attr.values[value];
|
|
1128
|
+
if (o.count == 0 || o.count == void 0) continue;
|
|
1129
|
+
const cell = cellholder.append("div").style("display", "inline-block").attr("class", "sja_clb").on("click", () => {
|
|
1130
|
+
if (o.selected) {
|
|
1131
|
+
o.selected = false;
|
|
1132
|
+
cell.style("border", "");
|
|
1133
|
+
let alloff2 = true;
|
|
1134
|
+
for (const k in attr.values) {
|
|
1135
|
+
if (attr.values[k].selected) alloff2 = false;
|
|
1136
|
+
}
|
|
1137
|
+
if (alloff2) {
|
|
1138
|
+
obj.dotselection.transition().attr("r", radius);
|
|
1139
|
+
} else {
|
|
1140
|
+
obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius_tiny);
|
|
1141
|
+
}
|
|
1142
|
+
return;
|
|
1143
|
+
}
|
|
1144
|
+
let alloff = true;
|
|
1145
|
+
for (const k in attr.values) {
|
|
1146
|
+
if (attr.values[k].selected) alloff = false;
|
|
1147
|
+
}
|
|
1148
|
+
o.selected = true;
|
|
1149
|
+
cell.style("border", "solid 1px #858585");
|
|
1150
|
+
if (alloff) {
|
|
1151
|
+
obj.dotselection.transition().attr("r", (d) => d.s[attr.key] == value ? radius : radius_tiny);
|
|
1152
|
+
} else {
|
|
1153
|
+
obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius);
|
|
1154
|
+
}
|
|
1155
|
+
});
|
|
1156
|
+
cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", o.color).style("margin-right", "3px").text(o.count);
|
|
1157
|
+
cell.append("div").style("display", "inline-block").style("color", o.color).text(o.name || value);
|
|
1158
|
+
o.cell = cell;
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
function update_dotcolor_legend(obj) {
|
|
1163
|
+
const filterd_dots = obj.dots.filter((d) => obj.filteredSamples.has(d.sample));
|
|
1164
|
+
const attrs_list = Array.from(filterd_dots, (d) => d.s);
|
|
1165
|
+
const key1 = obj.attr_levels?.[0].label || obj.attr_levels?.[0].key;
|
|
1166
|
+
const l1_labs = [...new Set(Array.from(attrs_list, (a) => a[key1]))];
|
|
1167
|
+
const key2 = obj.attr_levels?.[1].label || obj.attr_levels?.[1].key;
|
|
1168
|
+
const l2_labs = [...new Set(Array.from(attrs_list, (a) => a[key2]))];
|
|
1169
|
+
const legend_divs = obj.legendtable.node().querySelectorAll(".sja_lb_div");
|
|
1170
|
+
for (const div1 of legend_divs) {
|
|
1171
|
+
const l1_label = select_default(div1).select(".sja_l1lb").node().innerText.split(/\s{2}n=/)[0];
|
|
1172
|
+
if (!l1_labs.includes(l1_label)) select_default(div1).style("display", "none");
|
|
1173
|
+
else {
|
|
1174
|
+
select_default(div1).style("display", "block");
|
|
1175
|
+
const l2_divs = select_default(div1).node().querySelectorAll(".sja_clb");
|
|
1176
|
+
for (const div2 of l2_divs) {
|
|
1177
|
+
const clab = select_default(div2).node().querySelectorAll("div")[1];
|
|
1178
|
+
if (!l2_labs.includes(clab.innerText)) select_default(div2).style("display", "none");
|
|
1179
|
+
else select_default(div2).style("display", "inline-block");
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
function click_dot(dot, obj, event2) {
|
|
1185
|
+
if (obj.dslabel) {
|
|
1186
|
+
click_dot_mdsview(dot, obj, event2);
|
|
1187
|
+
return;
|
|
1188
|
+
}
|
|
1189
|
+
if (obj.mds) {
|
|
1190
|
+
click_dot_disco(dot, obj, event2);
|
|
1191
|
+
return;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
async function click_dot_disco(dot, obj, event2) {
|
|
1195
|
+
const pane = newpane({ x: event2.clientX, y: event2.clientY });
|
|
1196
|
+
pane.header.text(dot.sample);
|
|
1197
|
+
const wait = tab_wait(pane.body);
|
|
1198
|
+
try {
|
|
1199
|
+
const sjcharts = await getsjcharts();
|
|
1200
|
+
const arg = {
|
|
1201
|
+
genome: obj.genome.name,
|
|
1202
|
+
dslabel: obj.mds.label,
|
|
1203
|
+
querykey: obj.mds.querykey,
|
|
1204
|
+
getsample4disco: dot.sample
|
|
1205
|
+
};
|
|
1206
|
+
const data = await dofetch("/mdssvcnv", arg);
|
|
1207
|
+
if (data.error) throw data.error;
|
|
1208
|
+
if (!data.text) throw ".text missing";
|
|
1209
|
+
const discoHolder = pane.body.append("div");
|
|
1210
|
+
const renderer = await sjcharts.dtDisco({
|
|
1211
|
+
holderSelector: discoHolder,
|
|
1212
|
+
chromosomeType: obj.genome.name,
|
|
1213
|
+
majorchr: obj.genome.majorchr,
|
|
1214
|
+
settings: {
|
|
1215
|
+
showControls: false,
|
|
1216
|
+
selectedSamples: []
|
|
1217
|
+
},
|
|
1218
|
+
callbacks: {
|
|
1219
|
+
geneLabelClick: {
|
|
1220
|
+
type: "genomepaint",
|
|
1221
|
+
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1222
|
+
genome: obj.genome.name,
|
|
1223
|
+
dslabel: obj.mds.label,
|
|
1224
|
+
sample: dot.sample
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
});
|
|
1228
|
+
const disco_arg = {
|
|
1229
|
+
sampleName: dot.sample,
|
|
1230
|
+
data: JSON.parse(data.text)
|
|
1231
|
+
};
|
|
1232
|
+
renderer.main(disco_arg);
|
|
1233
|
+
wait.remove();
|
|
1234
|
+
} catch (e) {
|
|
1235
|
+
wait.text("Error: " + (e.message || e));
|
|
1236
|
+
if (e.stack) console.log(e.stack);
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
function click_dot_mdsview(dot, obj, event2) {
|
|
1240
|
+
const pane = newpane({ x: event2.clientX, y: event2.clientY });
|
|
1241
|
+
pane.header.text(dot.sample);
|
|
1242
|
+
const wait = pane.body.append("div").style("margin", "20px").text("Loading ...");
|
|
1243
|
+
dofetch("/mdssvcnv", {
|
|
1244
|
+
genome: obj.genome.name,
|
|
1245
|
+
dslabel: obj.dslabel,
|
|
1246
|
+
querykey: obj.querykey,
|
|
1247
|
+
// TODO general track
|
|
1248
|
+
gettrack4singlesample: dot.sample
|
|
1249
|
+
}).then((data) => {
|
|
1250
|
+
wait.remove();
|
|
1251
|
+
launch_singlesample({
|
|
1252
|
+
obj,
|
|
1253
|
+
dot,
|
|
1254
|
+
sampletracks: data.tracks,
|
|
1255
|
+
holder: pane.body
|
|
1256
|
+
});
|
|
1257
|
+
});
|
|
1258
|
+
}
|
|
1259
|
+
function lasso_select(obj, dots) {
|
|
1260
|
+
const svg = obj.scattersvg;
|
|
1261
|
+
let lasso;
|
|
1262
|
+
if (obj.lasso_active) {
|
|
1263
|
+
lasso = d3lasso().items(dots.selectAll("circle")).targetArea(svg);
|
|
1264
|
+
lasso.on("start", scatterplot_lasso_start).on("draw", scatterplot_lasso_draw).on("end", scatterplot_lasso_end);
|
|
1265
|
+
svg.call(lasso);
|
|
1266
|
+
} else {
|
|
1267
|
+
svg.selectAll(".lasso").remove();
|
|
1268
|
+
svg.on("mousedown.drag", null);
|
|
1269
|
+
}
|
|
1270
|
+
function scatterplot_lasso_start() {
|
|
1271
|
+
if (!obj.lasso_active) return;
|
|
1272
|
+
lasso.items().attr("r", 2).style("fill-opacity", ".5").classed("not_possible", true).classed("selected", false);
|
|
1273
|
+
}
|
|
1274
|
+
function scatterplot_lasso_draw() {
|
|
1275
|
+
if (!obj.lasso_active) return;
|
|
1276
|
+
lasso.possibleItems().attr("r", radius).style("fill-opacity", "1").classed("not_possible", false).classed("possible", true);
|
|
1277
|
+
}
|
|
1278
|
+
function scatterplot_lasso_end(event2) {
|
|
1279
|
+
if (!obj.lasso_active) return;
|
|
1280
|
+
const selected_samples = svg.selectAll(".possible").data().map((d) => d.sample);
|
|
1281
|
+
if (selected_samples.length) show_lasso_menu(event2, selected_samples);
|
|
1282
|
+
else obj.menu.hide();
|
|
1283
|
+
lasso.items().classed("not_possible", false).classed("possible", false);
|
|
1284
|
+
lasso.selectedItems().attr("r", radius);
|
|
1285
|
+
lasso.notSelectedItems().attr("r", selected_samples.length == 0 ? radius : radius_tiny).style("fill-opacity", "1");
|
|
1286
|
+
}
|
|
1287
|
+
function show_lasso_menu(event2, samples) {
|
|
1288
|
+
obj.menu.clear().show(event2.sourceEvent.clientX - 90, event2.sourceEvent.clientY);
|
|
1289
|
+
if (obj.mds && obj.mds.gene2mutcount) {
|
|
1290
|
+
obj.menu.d.append("div").attr("class", "sja_menuoption").text("Recurrently mutated genes").on("click", async () => {
|
|
1291
|
+
obj.menu.hide();
|
|
1292
|
+
await click_mutated_genes(obj, samples);
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
for (const opt of obj.lasso.postSelectMenuOptions) {
|
|
1296
|
+
obj.menu.d.append("div").attr("class", "sja_menuoption").text(opt.label).on("click", async () => {
|
|
1297
|
+
obj.menu.hide();
|
|
1298
|
+
const arg = {
|
|
1299
|
+
samples,
|
|
1300
|
+
sample_attributes: obj.sample_attributes,
|
|
1301
|
+
sample2dot: obj.sample2dot
|
|
1302
|
+
};
|
|
1303
|
+
if (opt.callback == "listSamples") printData(arg);
|
|
1304
|
+
else opt.callback(arg);
|
|
1305
|
+
});
|
|
1306
|
+
}
|
|
1307
|
+
obj.menu.d.append("div").attr("class", "sja_menuoption").text("Cancel").on("click", () => {
|
|
1308
|
+
lasso.items().classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
|
|
1309
|
+
obj.menu.hide();
|
|
1310
|
+
});
|
|
1311
|
+
obj.menu.d.append("div").style("padding", "10px").style("font-size", ".8em").style("width", "150px").text(samples.length + " samples selected");
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
function printData(obj) {
|
|
1315
|
+
const { samples, sample_attributes, sample2dot } = obj;
|
|
1316
|
+
const label_keys = Object.keys(sample_attributes);
|
|
1317
|
+
let labels = label_keys.map((k) => sample_attributes[k].label ? sample_attributes[k].label : k);
|
|
1318
|
+
labels.unshift("Sample");
|
|
1319
|
+
const labels_str = labels.join(" ");
|
|
1320
|
+
const lst = [labels_str];
|
|
1321
|
+
for (const s of samples) {
|
|
1322
|
+
if (sample2dot.get(s).s) {
|
|
1323
|
+
let sample_row = [];
|
|
1324
|
+
sample_row.push(s);
|
|
1325
|
+
for (const k of label_keys) sample_row.push(sample2dot.get(s).s[k]);
|
|
1326
|
+
lst.push(sample_row.join(" "));
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
export_data("List of selected samples", [{ text: lst.join("\n") }]);
|
|
1330
|
+
}
|
|
1331
|
+
function click_mutated_genes(obj, samples) {
|
|
1332
|
+
obj.pane = newpane({ x: event.clientX, y: event.clientY });
|
|
1333
|
+
obj.pane.header.text("Recurrently Mutated Genes");
|
|
1334
|
+
obj.pane.wait = tab_wait(obj.pane.body);
|
|
1335
|
+
obj.pane.matrix_criteria_div = obj.pane.body.append("div");
|
|
1336
|
+
obj.pane.sample_matrix_div = obj.pane.body.append("div");
|
|
1337
|
+
init_mutation_type_control(obj, samples);
|
|
1338
|
+
}
|
|
1339
|
+
function init_mutation_type_control(obj, samples) {
|
|
1340
|
+
let mutTypes = [], defaultTypes = [], selectedTypes = [], selected_cnv, nGenes = 15;
|
|
1341
|
+
const holder = obj.pane.matrix_criteria_div;
|
|
1342
|
+
if (obj.mds.mutCountType) {
|
|
1343
|
+
mutTypes = obj.mds.mutCountType;
|
|
1344
|
+
const non_cnv_types = mutTypes.filter((m) => !m.db_col.includes("cnv"));
|
|
1345
|
+
const cnv_types = mutTypes.filter((m) => m.db_col.includes("cnv"));
|
|
1346
|
+
const default_cnv = cnv_types.find((t) => t.default);
|
|
1347
|
+
selected_cnv = default_cnv;
|
|
1348
|
+
defaultTypes = mutTypes.filter((t) => t.default).map((t) => t.db_col);
|
|
1349
|
+
selectedTypes = [...defaultTypes];
|
|
1350
|
+
const buttonrow = holder.append("div").style("margin", "5px 20px");
|
|
1351
|
+
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");
|
|
1352
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("MUTATION COUNT & NO. OF GENE CRITERIA").attr("class", "sja_clbtext").on("click", () => {
|
|
1353
|
+
if (criteria_div.style("display") == "none") {
|
|
1354
|
+
appear(criteria_div);
|
|
1355
|
+
} else {
|
|
1356
|
+
disappear(criteria_div);
|
|
1357
|
+
}
|
|
1358
|
+
});
|
|
1359
|
+
const mut_div = criteria_div.append("div");
|
|
1360
|
+
const mut_label_div = mut_div.append("div").style("display", "table-cell").style("width", "110px");
|
|
1361
|
+
mut_label_div.append("div").text("Consequences").style("padding-right", "15px");
|
|
1362
|
+
const mut_types_div = mut_div.append("div").style("display", "table-cell").style("border-left", "solid 1px #ededed");
|
|
1363
|
+
non_cnv_types.forEach((type) => {
|
|
1364
|
+
const m_div = mut_types_div.append("div");
|
|
1365
|
+
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);
|
|
1366
|
+
checkbox.on("change", () => {
|
|
1367
|
+
if (checkbox.node().checked) {
|
|
1368
|
+
selectedTypes.push(checkbox.node().value);
|
|
1369
|
+
} else {
|
|
1370
|
+
selectedTypes = selectedTypes.filter((t) => t !== checkbox.node().value);
|
|
1371
|
+
}
|
|
1372
|
+
});
|
|
1373
|
+
m_div.append("label").attr("for", type.db_col).html(type.label);
|
|
1374
|
+
});
|
|
1375
|
+
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", () => {
|
|
1376
|
+
if (cnv_checkbox.node().checked) {
|
|
1377
|
+
size_select.property("disabled", false);
|
|
1378
|
+
ratio_select.property("disabled", false);
|
|
1379
|
+
} else {
|
|
1380
|
+
size_select.property("disabled", true);
|
|
1381
|
+
ratio_select.property("disabled", true);
|
|
1382
|
+
}
|
|
1383
|
+
});
|
|
1384
|
+
mut_types_div.append("label").attr("for", "cnv").text("CNV");
|
|
1385
|
+
const cnv_options_div = mut_types_div.append("div").style("display", "block").style("padding", "3px 15px");
|
|
1386
|
+
const cnv_size_cutoff = [...new Set(cnv_types.map((t) => t.sizecutoff))];
|
|
1387
|
+
const cnv_ratio_cutoff = [...new Set(cnv_types.map((t) => t.log2cutoff))];
|
|
1388
|
+
cnv_options_div.append("label").attr("for", "cnv_size").style("margin", "2px 10px").text("Size cutoff");
|
|
1389
|
+
const size_select = cnv_options_div.append("select").attr("name", "cnv_size");
|
|
1390
|
+
cnv_size_cutoff.forEach((size) => {
|
|
1391
|
+
size_select.append("option").attr("value", size).text(size);
|
|
1392
|
+
});
|
|
1393
|
+
size_select.property("selectedIndex", default_cnv.sizecutoff == "1Mb" ? 0 : default_cnv.sizecutoff == "2Mb" ? 1 : 2);
|
|
1394
|
+
cnv_options_div.append("label").attr("for", "log2_ratio").style("margin", "2px 10px").text("log2(ratio) cutoff");
|
|
1395
|
+
const ratio_select = cnv_options_div.append("select").attr("name", "log2_ratio");
|
|
1396
|
+
cnv_ratio_cutoff.forEach((ratio) => {
|
|
1397
|
+
ratio_select.append("option").attr("value", ratio.toFixed(1)).text(ratio.toFixed(1));
|
|
1398
|
+
});
|
|
1399
|
+
ratio_select.property("selectedIndex", default_cnv.log2cutoff == 0.1 ? 0 : default_cnv.log2cutoff == 0.2 ? 1 : 2);
|
|
1400
|
+
const gene_div = criteria_div.append("div").style("padding-top", "10px");
|
|
1401
|
+
const gene_label_div = gene_div.append("div").style("display", "table-cell").style("width", "110px");
|
|
1402
|
+
gene_label_div.append("div").text("No. of Genes").style("padding-right", "15px");
|
|
1403
|
+
const gene_n_select_div = gene_div.append("div").style("display", "table-cell").style("padding", "3px").style("border-left", "solid 1px #ededed");
|
|
1404
|
+
const gene_n = [10, 15, 20, 30, 40];
|
|
1405
|
+
const gene_n_select = gene_n_select_div.append("select").attr("name", "gene_n");
|
|
1406
|
+
gene_n.forEach((n) => {
|
|
1407
|
+
gene_n_select.append("option").attr("value", n).text(n);
|
|
1408
|
+
});
|
|
1409
|
+
gene_n_select.property(
|
|
1410
|
+
"selectedIndex",
|
|
1411
|
+
gene_n.findIndex((n) => n == nGenes)
|
|
1412
|
+
);
|
|
1413
|
+
const calc_btn = criteria_div.append("button").style("margin", "10px").style("padding", "3px 10px").text("Calculate").on("click", () => {
|
|
1414
|
+
const checked_boxes = mut_types_div.node().querySelectorAll("input:checked");
|
|
1415
|
+
selectedTypes = [];
|
|
1416
|
+
checked_boxes.forEach((checkbox) => {
|
|
1417
|
+
if (checkbox.value !== "cnv" && !selectedTypes.includes(checkbox.value)) selectedTypes.push(checkbox.value);
|
|
1418
|
+
else if (checkbox.value == "cnv") {
|
|
1419
|
+
const selected_size = size_select.node().value;
|
|
1420
|
+
const selected_ratio = ratio_select.node().value;
|
|
1421
|
+
selected_cnv = cnv_types.find((t) => t.sizecutoff == selected_size && t.log2cutoff == selected_ratio);
|
|
1422
|
+
selectedTypes.push(selected_cnv.db_col);
|
|
1423
|
+
}
|
|
1424
|
+
});
|
|
1425
|
+
nGenes = gene_n_select.node().value;
|
|
1426
|
+
get_mutation_count_data(obj, samples, selectedTypes, nGenes);
|
|
1427
|
+
defaultTypes = [...selectedTypes];
|
|
1428
|
+
});
|
|
1429
|
+
} else defaultTypes = ["total"];
|
|
1430
|
+
get_mutation_count_data(obj, samples, defaultTypes, nGenes);
|
|
1431
|
+
}
|
|
1432
|
+
async function get_mutation_count_data(obj, samples, selectedMutTypes, nGenes) {
|
|
1433
|
+
try {
|
|
1434
|
+
const arg = {
|
|
1435
|
+
genome: obj.genome.name,
|
|
1436
|
+
dslabel: obj.mds.label,
|
|
1437
|
+
samples,
|
|
1438
|
+
selectedMutTypes,
|
|
1439
|
+
nGenes
|
|
1440
|
+
};
|
|
1441
|
+
const data = await dofetch2("mdsgenecount", { method: "POST", body: JSON.stringify(arg) });
|
|
1442
|
+
if (data.error) throw data.error;
|
|
1443
|
+
if (!data.genes) throw ".genes missing";
|
|
1444
|
+
if (!data.genes.length) {
|
|
1445
|
+
obj.pane.wait.html("No gene retrived with mutations.");
|
|
1446
|
+
obj.pane.matrix_criteria_div.style("display", "none");
|
|
1447
|
+
return;
|
|
1448
|
+
}
|
|
1449
|
+
make_sample_matrix({ obj, genes: data.genes, samples, holder: obj.pane.body });
|
|
1450
|
+
obj.pane.wait.remove();
|
|
1451
|
+
} catch (e) {
|
|
1452
|
+
obj.pane.wait.text("Error: " + (e.message || e));
|
|
1453
|
+
if (e.stack) console.log(e.stack);
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
function make_sample_matrix(args) {
|
|
1457
|
+
const { obj, genes, samples } = args;
|
|
1458
|
+
const holder = obj.pane.sample_matrix_div;
|
|
1459
|
+
holder.selectAll("*").remove();
|
|
1460
|
+
for (const g of genes) {
|
|
1461
|
+
g.ismutation = true;
|
|
1462
|
+
g.genename = g.gene;
|
|
1463
|
+
g.label = g.gene;
|
|
1464
|
+
delete g.gene;
|
|
1465
|
+
g.querykeylst = ["svcnv", "snvindel"];
|
|
1466
|
+
obj.features_on_rows ? g.height = 50 : g.width = 50;
|
|
1467
|
+
}
|
|
1468
|
+
const arg = {
|
|
1469
|
+
genome: obj.genome,
|
|
1470
|
+
dslabel: obj.mds.label,
|
|
1471
|
+
features: genes,
|
|
1472
|
+
features_on_rows: obj.features_on_rows,
|
|
1473
|
+
ismutation_allsymbolic: true,
|
|
1474
|
+
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1475
|
+
limitbysamplesetgroup: { samples },
|
|
1476
|
+
jwt: sessionStorage.getItem("jwt") || "",
|
|
1477
|
+
holder: holder.append("div").style("margin", "20px")
|
|
1478
|
+
};
|
|
1479
|
+
import("./samplematrix-4CVVIXWR.js").then((_) => {
|
|
1480
|
+
const m = new _.Samplematrix(arg);
|
|
1481
|
+
m._pane = holder;
|
|
1482
|
+
});
|
|
1483
|
+
}
|
|
1484
|
+
function launch_singlesample(p) {
|
|
1485
|
+
const { obj, dot, sampletracks, holder } = p;
|
|
1486
|
+
const arg = {
|
|
1487
|
+
genome: obj.genome,
|
|
1488
|
+
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1489
|
+
jwt: sessionStorage.getItem("jwt") || "",
|
|
1490
|
+
holder,
|
|
1491
|
+
chr: obj.genome.defaultcoord.chr,
|
|
1492
|
+
start: obj.genome.defaultcoord.start,
|
|
1493
|
+
stop: obj.genome.defaultcoord.stop,
|
|
1494
|
+
nobox: 1,
|
|
1495
|
+
tklst: []
|
|
1496
|
+
};
|
|
1497
|
+
if (obj.tracks) {
|
|
1498
|
+
for (const t of obj.tracks) arg.tklst.push(t);
|
|
1499
|
+
}
|
|
1500
|
+
const mdstk = obj.mds.queries[obj.querykey];
|
|
1501
|
+
if (mdstk) {
|
|
1502
|
+
const tk = {
|
|
1503
|
+
singlesample: { name: dot.sample },
|
|
1504
|
+
mds: obj.mds,
|
|
1505
|
+
querykey: obj.querykey
|
|
1506
|
+
};
|
|
1507
|
+
for (const k in mdstk) {
|
|
1508
|
+
tk[k] = mdstk[k];
|
|
1509
|
+
}
|
|
1510
|
+
arg.tklst.push(tk);
|
|
1511
|
+
if (mdstk.checkexpressionrank) {
|
|
1512
|
+
const et = {
|
|
1513
|
+
type: tkt.mdsexpressionrank,
|
|
1514
|
+
name: dot.sample + " gene expression rank",
|
|
1515
|
+
//mds: tk.mds,
|
|
1516
|
+
dslabel: obj.mds.label,
|
|
1517
|
+
querykey: mdstk.checkexpressionrank.querykey,
|
|
1518
|
+
sample: dot.sample
|
|
1519
|
+
};
|
|
1520
|
+
if (mdstk.groupsamplebyattr) {
|
|
1521
|
+
const lst = mdstk.groupsamplebyattr.attrlst;
|
|
1522
|
+
if (lst && lst.length) {
|
|
1523
|
+
et.attributes = [];
|
|
1524
|
+
for (const attr of lst) {
|
|
1525
|
+
et.attributes.push({
|
|
1526
|
+
k: attr.k,
|
|
1527
|
+
label: attr.label,
|
|
1528
|
+
kvalue: dot.s[attr.k]
|
|
1529
|
+
});
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
arg.tklst.push(et);
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
if (sampletracks) {
|
|
1537
|
+
for (const t of sampletracks) arg.tklst.push(t);
|
|
1538
|
+
}
|
|
1539
|
+
first_genetrack_tolist(obj.genome, arg.tklst);
|
|
1540
|
+
blocklazyload(arg);
|
|
1541
|
+
}
|
|
1542
|
+
export {
|
|
1543
|
+
init
|
|
1544
|
+
};
|
|
1545
|
+
//# sourceMappingURL=mds.samplescatterplot-RY5PA35G.js.map
|