@sjcrh/proteinpaint-client 2.217.0 → 2.218.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-BZWQ4YZF.js +1362 -0
- package/dist/AggMatrixInput-OXUENYYF.js +402 -0
- package/dist/AggregateMatrix-7PYLWY3X.js +37 -0
- package/dist/AppHeader-QOLLABH4.js +826 -0
- package/dist/BoxPlot-PDRYKWXF.js +1233 -0
- package/dist/CorrelationVolcano-Z3ABRHL6.js +613 -0
- package/dist/Cuminc-ATQT3KDO.js +1217 -0
- package/dist/DE-5LMMF5QB.js +85 -0
- package/dist/DEinput-Y2VXYH54.js +497 -0
- package/dist/DM-ACIWRZS2.js +86 -0
- package/dist/DifferentialAnalysis-23WQKT6I.js +235 -0
- package/dist/Disco-5UBCTVTY.js +3384 -0
- package/dist/Disco.UI-6YCIW3QK.js +239 -0
- package/dist/DmrPlot-R7UOGAVY.js +361 -0
- package/dist/DmrPlot-R7UOGAVY.js.map +7 -0
- package/dist/GB-QZZG4DHJ.js +1388 -0
- package/dist/GSEA-3WW4GEXE.js +870 -0
- package/dist/GeneExpInput-PW6HP5LO.js +38 -0
- package/dist/Geomap-YDUXJ65P.js +80 -0
- package/dist/HicApp-CXHLK5UM.js +2240 -0
- package/dist/IDCViewer-ID46XKWW.js +10808 -0
- package/dist/NumBinaryEditor-7HEQD3UO.js +274 -0
- package/dist/NumBinaryEditor.unit.spec-CE5FZMLZ.js +308 -0
- package/dist/NumContEditor-7J4IODVT.js +100 -0
- package/dist/NumContEditor.unit.spec-H3DEDHGO.js +160 -0
- package/dist/NumCustomBinEditor-URE4NOZI.js +29 -0
- package/dist/NumCustomBinEditor.unit.spec-XE5AUM45.js +393 -0
- package/dist/NumDiscreteEditor-PBV2QXRU.js +165 -0
- package/dist/NumDiscreteEditor.unit.spec-2TWQ7DAZ.js +229 -0
- package/dist/NumRegularBinEditor-MG27BRWO.js +29 -0
- package/dist/NumRegularBinEditor.unit.spec-6NJLP3BX.js +274 -0
- package/dist/NumSplineEditor-ZZKMWU2V.js +205 -0
- package/dist/NumSplineEditor.unit.spec-T3C2YPU5.js +220 -0
- package/dist/NumericDensity-BUEAEQZD.js +29 -0
- package/dist/NumericDensity.unit.spec-XZ77VRO7.js +414 -0
- package/dist/NumericHandler-RW2NAEBZ.js +30 -0
- package/dist/NumericHandler.unit.spec-BQGTQBV6.js +210 -0
- package/dist/ProteomeInput-RL6IDTOA.js +610 -0
- package/dist/Regression-EVGHTLUT.js +1412 -0
- package/dist/RunChart2-NK2KWOZ7.js +744 -0
- package/dist/SC-QWJ72SI3.js +1290 -0
- package/dist/SC-QWJ72SI3.js.map +7 -0
- package/dist/Violin-2HIRC6A2.js +1095 -0
- package/dist/Volcano-H55O7GBI.js +2453 -0
- package/dist/Volcano-H55O7GBI.js.map +7 -0
- package/dist/Wsi-M2XRJBGL.js +636 -0
- package/dist/Wsi-M2XRJBGL.js.map +7 -0
- package/dist/adSandbox-T2HORPLC.js +29 -0
- package/dist/animatedBubbleChart-PS7KMVSY.js +542 -0
- package/dist/app-FKPGNJDN.js +38 -0
- package/dist/app-NPGVS6X4.js +28 -0
- package/dist/app.js +14 -14
- package/dist/bam-QQ54FE3A.js +872 -0
- package/dist/barchart-4DLCN7NL.js +38 -0
- package/dist/barchart2-H65GFNNQ.js +305 -0
- package/dist/block-RAYA73ZN.js +6232 -0
- package/dist/block.init-VE3TQWH4.js +29 -0
- package/dist/block.mds.expressionrank-YLFQQHZJ.js +350 -0
- package/dist/block.mds.geneboxplot-6V44H7EC.js +819 -0
- package/dist/block.mds.junction-DEIUZOQK.js +1534 -0
- package/dist/block.mds.svcnv-PTP7JYS2.js +6408 -0
- package/dist/block.svg-RGDXDKV6.js +155 -0
- package/dist/block.tk.aicheck-MFXHYAIN.js +274 -0
- package/dist/block.tk.bam-ICTVSRQ6.js +1897 -0
- package/dist/block.tk.bedgraphdot-X5AYHRUJ.js +375 -0
- package/dist/block.tk.bigwig.ui-FS3DA5JQ.js +202 -0
- package/dist/block.tk.hicstraw-MBBA3H4E.js +814 -0
- package/dist/block.tk.junction-L3YVWWOR.js +2353 -0
- package/dist/block.tk.junction.textmatrixui-PU3C7W6B.js +190 -0
- package/dist/block.tk.ld-SNKUZDPW.js +90 -0
- package/dist/block.tk.menu-NARHQW7Y.js +1050 -0
- package/dist/block.tk.pgv-NVNFNJZ6.js +934 -0
- package/dist/brainImaging-KHFLAPHC.js +550 -0
- package/dist/brainRegions-MQL2KZOQ.js +213 -0
- package/dist/bubbleHeatmap-U3GAF5AV.js +374 -0
- package/dist/cellTypeBubbleHeatmap-5ENEMDCZ.js +274 -0
- package/dist/chunk-25Q4AX4L.js +102 -0
- package/dist/chunk-2GQSPQ3U.js +1273 -0
- package/dist/chunk-2GQSPQ3U.js.map +7 -0
- package/dist/chunk-2RILGMXS.js +22873 -0
- package/dist/chunk-2RILGMXS.js.map +7 -0
- package/dist/chunk-2WWCHIXZ.js +194 -0
- package/dist/chunk-3AO7OZLF.js +294 -0
- package/dist/chunk-3DZJ64RQ.js +56 -0
- package/dist/chunk-3QZHRQ55.js +26 -0
- package/dist/chunk-3ZM5PZXA.js +240 -0
- package/dist/chunk-43FVCJXV.js +2685 -0
- package/dist/chunk-43WVK5KI.js +96 -0
- package/dist/chunk-4ZOKEHK4.js +516 -0
- package/dist/chunk-5M4U6S3E.js +103 -0
- package/dist/chunk-5O4GAKJT.js +49 -0
- package/dist/chunk-5Q6TANNH.js +274 -0
- package/dist/chunk-5WBIVXMG.js +134 -0
- package/dist/chunk-65FN7LIA.js +255 -0
- package/dist/chunk-6HVJJT3Y.js +6360 -0
- package/dist/chunk-6HVJJT3Y.js.map +7 -0
- package/dist/chunk-7HTMIFVR.js +170 -0
- package/dist/chunk-AOKINHUU.js +2799 -0
- package/dist/chunk-APXULA6M.js +182 -0
- package/dist/chunk-C7O67FZJ.js +1844 -0
- package/dist/chunk-CCNV3WJO.js +281 -0
- package/dist/chunk-DAKRDL76.js +156 -0
- package/dist/chunk-EGQVMN6S.js +397 -0
- package/dist/chunk-ERCLZ433.js +217 -0
- package/dist/chunk-ESLXHJ7W.js +31 -0
- package/dist/chunk-ET2KFCXK.js +424 -0
- package/dist/chunk-EYIZTX33.js +263 -0
- package/dist/chunk-F2PHTKCI.js +243 -0
- package/dist/chunk-FJXUMOVQ.js +176 -0
- package/dist/chunk-HJCI33L4.js +140 -0
- package/dist/chunk-HKXBGMUT.js +80 -0
- package/dist/chunk-HNMKK33Y.js +38 -0
- package/dist/chunk-IKZAWD7P.js +480 -0
- package/dist/chunk-ILPJAASI.js +203 -0
- package/dist/chunk-JFZECJY2.js +562 -0
- package/dist/chunk-K6CZAEBF.js +119 -0
- package/dist/chunk-KXDK6ZOJ.js +13624 -0
- package/dist/chunk-L7LRBRUN.js +2960 -0
- package/dist/chunk-LMG7Y5IN.js +5799 -0
- package/dist/chunk-LMG7Y5IN.js.map +7 -0
- package/dist/chunk-LO624OGK.js +102 -0
- package/dist/chunk-LPDQ26OP.js +550 -0
- package/dist/chunk-M2XWAAIZ.js +340 -0
- package/dist/chunk-M37J6Z5U.js +1988 -0
- package/dist/chunk-M5SJ42E2.js +468 -0
- package/dist/chunk-MJREV2KW.js +692 -0
- package/dist/chunk-MRR5GPPP.js +466 -0
- package/dist/chunk-NSCNNQOY.js +56 -0
- package/dist/chunk-OAQLBII5.js +54 -0
- package/dist/chunk-OKHU7EJW.js +194 -0
- package/dist/chunk-OXVB4OZC.js +4373 -0
- package/dist/chunk-PDZED3RR.js +382 -0
- package/dist/chunk-PITPUAWX.js +182 -0
- package/dist/chunk-PVXG2BRT.js +59 -0
- package/dist/chunk-PX6MHRAN.js +141 -0
- package/dist/chunk-REIPTX7J.js +626 -0
- package/dist/chunk-RFE2VG6T.js +55 -0
- package/dist/chunk-RPFQOIYX.js +418 -0
- package/dist/chunk-S2NAGL4V.js +839 -0
- package/dist/chunk-T24YYODE.js +217 -0
- package/dist/chunk-TDP4PX2S.js +123 -0
- package/dist/chunk-TUPJEZSL.js +299 -0
- package/dist/chunk-UNXVW5OT.js +379 -0
- package/dist/chunk-UOWUMUAX.js +444 -0
- package/dist/chunk-V6EIPPMT.js +1339 -0
- package/dist/chunk-VGUO2BQ7.js +276 -0
- package/dist/chunk-VKWZPC73.js +37 -0
- package/dist/chunk-VQ5PDCAJ.js +5213 -0
- package/dist/chunk-VQK3UKNA.js +54 -0
- package/dist/chunk-WB5MHFHB.js +237 -0
- package/dist/chunk-WK6CPMXR.js +302 -0
- package/dist/chunk-WNUCR3UF.js +2334 -0
- package/dist/chunk-WNUCR3UF.js.map +7 -0
- package/dist/chunk-WRYNE3Q4.js +1219 -0
- package/dist/chunk-XA6LI63Y.js +54 -0
- package/dist/chunk-XJYVMXMZ.js +2279 -0
- package/dist/chunk-XJYVMXMZ.js.map +7 -0
- package/dist/chunk-Y7Y6X6E5.js +70 -0
- package/dist/chunk-YG57X4VD.js +257 -0
- package/dist/chunk-YPOIMSJR.js +34 -0
- package/dist/chunk-YS7Y257H.js +26152 -0
- package/dist/chunk-YS7Y257H.js.map +7 -0
- package/dist/chunk-ZRLON6PP.js +14 -0
- package/dist/chunk-ZSNZPH6G.js +339 -0
- package/dist/cohort-TPMJZ4OH.js +66 -0
- package/dist/cohortSunburst-SL5F36RM.js +684 -0
- package/dist/cohortSunburst-SL5F36RM.js.map +7 -0
- package/dist/condition-QROUALBG.js +323 -0
- package/dist/controls-GH37YWOP.js +30 -0
- package/dist/controls.config-ZYCDICYF.js +30 -0
- package/dist/correlation-JESMUFS6.js +91 -0
- package/dist/customdata.inputui-T2DLAZYJ.js +280 -0
- package/dist/dataDownload-Z7A6ZEH7.js +325 -0
- package/dist/databrowser.ui-ZVMGFYJ2.js +421 -0
- package/dist/dictionary-KXFUR3NL.js +109 -0
- package/dist/dnaMethylation-2YU2HDD4.js +29 -0
- package/dist/dnaMethylation.integration.spec-75Y5RSDO.js +194 -0
- package/dist/dofetch-G5ULIRMG.js +47 -0
- package/dist/e2pca-75VDPO7P.js +340 -0
- package/dist/ep-F2Z7TNAG.js +1247 -0
- package/dist/ep-F2Z7TNAG.js.map +7 -0
- package/dist/expclust.gdc.spec-PB66FFWD.js +298 -0
- package/dist/facet-2RY37EFR.js +515 -0
- package/dist/gb-WQQFYFGF.js +77 -0
- package/dist/geneExpClustering-ARVZDF6G.js +240 -0
- package/dist/geneExpression-FR33PKJW.js +309 -0
- package/dist/geneExpression-O7DR5SMR.js +29 -0
- package/dist/geneExpression.unit.spec-HGNDSTAI.js +124 -0
- package/dist/geneORA-RXXQT44V.js +269 -0
- package/dist/geneRanking-WDQZ7TI3.js +544 -0
- package/dist/geneVariant-6JYBWFEJ.js +32 -0
- package/dist/geneVariant-TKRG5VQN.js +285 -0
- package/dist/geneVariant.integration.spec-L2Q2DY67.js +499 -0
- package/dist/genefusion.ui-DBLMBU2D.js +299 -0
- package/dist/geneset-2ZQF7FET.js +199 -0
- package/dist/genomeBrowser.spec-E5RJD53Z.js +272 -0
- package/dist/grin2-MJ4SYAFO.js +66 -0
- package/dist/grin2-VXRMV7VA.js +945 -0
- package/dist/hierCluster-44FPBMNL.js +55 -0
- package/dist/hierCluster-SU4BDK6I.js +51 -0
- package/dist/hierCluster.config-4OZ65GKH.js +32 -0
- package/dist/hierCluster.integration.spec-CHNSKZD4.js +479 -0
- package/dist/hierCluster.interactivity-M72CEGCW.js +45 -0
- package/dist/hierCluster.renderers-RM43G7ZR.js +18 -0
- package/dist/imagePlot-UYMWFNI4.js +152 -0
- package/dist/importPlot-W3HPE4LZ.js +8 -0
- package/dist/isoformExpression-JEMJE5WY.js +31 -0
- package/dist/isoformExpression.unit.spec-GOK5LFME.js +233 -0
- package/dist/jspdf.es.min-KB3HW45U.js +40 -0
- package/dist/junction-2X4AS47T.js +32 -0
- package/dist/junction.customTerm-MVSIUY66.js +15 -0
- package/dist/junction.unit.spec-HA74XQYV.js +178 -0
- package/dist/launch.adhoc-PZAJ6J2S.js +33 -0
- package/dist/leftlabel.sample-7BZKFB3I.js +253 -0
- package/dist/lollipop-URSFH4ZE.js +162 -0
- package/dist/maf-CM3ETF4N.js +451 -0
- package/dist/maftimeline-CRQEUTRY.js +583 -0
- package/dist/matrix-IBWB4A3Z.js +50 -0
- package/dist/matrix-SOBGWBTY.js +55 -0
- package/dist/matrix.cells-GSKC6FXI.js +25 -0
- package/dist/matrix.config-4KU5X3LQ.js +33 -0
- package/dist/matrix.data-XC2OTBTR.js +22 -0
- package/dist/matrix.groups-THXKRQSD.js +25 -0
- package/dist/matrix.integration.spec-GKHH4RSR.js +3156 -0
- package/dist/matrix.interactivity-ITXMM2ZP.js +33 -0
- package/dist/matrix.layout-D6SRLAXS.js +35 -0
- package/dist/matrix.legend-OWQAMHI2.js +19 -0
- package/dist/matrix.renderers-J66OAQUZ.js +30 -0
- package/dist/matrix.serieses-P5I4E2NB.js +18 -0
- package/dist/matrix.sort-CXBXF75N.js +25 -0
- package/dist/matrix.sort.unit.spec-RSXBKXC5.js +464 -0
- package/dist/matrix.sorterUi-WEZRKU63.js +15 -0
- package/dist/matrix.sorterUi.unit.spec-6EULDV43.js +334 -0
- package/dist/matrix.unit.spec-D4ZLDVDT.js +146 -0
- package/dist/mavb-5JAD6CPN.js +726 -0
- package/dist/mavb-5JAD6CPN.js.map +7 -0
- package/dist/mds.fimo-CQFREH3A.js +509 -0
- package/dist/mds.samplescatterplot-XLJITURG.js +1545 -0
- package/dist/mds.survivalplot-MLRD27QP.js +472 -0
- package/dist/multivalue-KJQCYBHA.js +79 -0
- package/dist/numericDictTermCluster-ZOU6R4XP.js +62 -0
- package/dist/oncomatrix-4RHDDJDC.js +286 -0
- package/dist/oncomatrix.spec-JA6DT4PP.js +439 -0
- package/dist/plot.2dvaf-VJWPWCOY.js +368 -0
- package/dist/plot.app-JNEOGNVW.js +32 -0
- package/dist/plot.barplot-YELRBXUB.js +93 -0
- package/dist/plot.boxplot-HNFOB3TV.js +142 -0
- package/dist/plot.brainImaging-AZYEGF3U.js +51 -0
- package/dist/plot.disco-L6PGGZJI.js +98 -0
- package/dist/plot.ssgq-UM64SSXW.js +130 -0
- package/dist/plot.vaf2cov-DKUKJRUP.js +249 -0
- package/dist/polar2-4YHPENAV.js +228 -0
- package/dist/profileForms-KMECFO3K.js +937 -0
- package/dist/profilePlot-3AXSIXCK.js +45 -0
- package/dist/proteinView-QWHOTL35.js +1346 -0
- package/dist/proteomeCohortCompare-DL2QLFL3.js +866 -0
- package/dist/pseudbulk.unit.spec-IWR7EZ7O.js +82 -0
- package/dist/pseudobulk-IC525IZ2.js +31 -0
- package/dist/purify.es-34NJ2D5A.js +1986 -0
- package/dist/purify.es-34NJ2D5A.js.map +7 -0
- package/dist/qualitative-LK2QEYHU.js +34 -0
- package/dist/qualitative-YY4NQGO5.js +241 -0
- package/dist/radar2-TJUPENQF.js +323 -0
- package/dist/radarFacility2-Q7LBWLCV.js +331 -0
- package/dist/rememberedGvQ.unit.spec-2GBLM5AO.js +210 -0
- package/dist/render-AHR6SCQX.js +29 -0
- package/dist/report-BPHJTRTO.js +213 -0
- package/dist/sampleView-CS2FB3K3.js +39 -0
- package/dist/samplelst-A3DHKP6U.js +102 -0
- package/dist/samplematrix-5X7MFT3G.js +2188 -0
- package/dist/sc-RCYXZMN6.js +77 -0
- package/dist/scatter-2ITGMX5N.js +921 -0
- package/dist/scatter-OAL4YOCA.js +84 -0
- package/dist/selectGenomeWithTklst-PB5KDW2N.js +125 -0
- package/dist/singleCellCellType-FEFNOHOP.js +29 -0
- package/dist/singleCellCellType.unit.spec-V2I32V23.js +150 -0
- package/dist/singleCellGeneExpression-RUQQMKDE.js +29 -0
- package/dist/singleCellGeneExpression.unit.spec-VCMJRMT7.js +144 -0
- package/dist/singleCellNumericValue-JLXZQWNT.js +29 -0
- package/dist/singleCellNumericValue.unit.spec-XVCZEN5K.js +412 -0
- package/dist/singleCellPlot-4EBYWOJ2.js +44 -0
- package/dist/singlecell-UKZJAYVH.js +1562 -0
- package/dist/singlecell-VNRWPXGV.js +77 -0
- package/dist/snp-2RJDJQZC.js +29 -0
- package/dist/snp.unit.spec-Z4DNBFAH.js +167 -0
- package/dist/snplocus-OZLIZ7R7.js +200 -0
- package/dist/snplst-EVRJ4OCL.js +36 -0
- package/dist/spliceevent.a53ss.diagram-N5UXX4OX.js +142 -0
- package/dist/spliceevent.exonskip.diagram-WBNFLW4V.js +274 -0
- package/dist/spliceevent.noeventdiagram-EI72A6L3.js +451 -0
- package/dist/ssGSEA-NONMMNF7.js +29 -0
- package/dist/ssGSEA.unit.spec-7JDPNLZA.js +79 -0
- package/dist/stattable-NNUHKPF4.js +112 -0
- package/dist/studyCatalog-KMLE7Q55.js +457 -0
- package/dist/summarizeCnvGeneexp-AHCGPQLE.js +154 -0
- package/dist/summarizeGeneexpSurvival-NCST7HDQ.js +101 -0
- package/dist/summarizeMutationCnv-VUTQYXO6.js +155 -0
- package/dist/summarizeMutationDiagnosis-TFU2HUHQ.js +31 -0
- package/dist/summarizeMutationSurvival-F4CJILS3.js +95 -0
- package/dist/summary-QQZW7BEE.js +40 -0
- package/dist/summary.integration.spec-FILIPD3W.js +405 -0
- package/dist/summaryInput-RMY226Y3.js +238 -0
- package/dist/sunburst-Y4LNCKMR.js +274 -0
- package/dist/survival-4FYQHQHX.js +49 -0
- package/dist/survival-6GC267GY.js +1246 -0
- package/dist/survival.integration.spec-5ERXR6MG.js +609 -0
- package/dist/svg2pdf.es.min-KKHWPFWG.js +3157 -0
- package/dist/svgraph-XIQIA7OJ.js +1377 -0
- package/dist/svmr-45YJKRQP.js +3834 -0
- package/dist/svmr-45YJKRQP.js.map +7 -0
- package/dist/swimmer-643B5Q6F.js +741 -0
- package/dist/table-JQIBRXTJ.js +192 -0
- package/dist/termCollection-LU5NW6KT.js +247 -0
- package/dist/termCollection-XZCPBXRV.js +29 -0
- package/dist/termCollection.unit.spec-H5LBV3N4.js +295 -0
- package/dist/termCollectionFractionSelection-3YHOFXEL.js +38 -0
- package/dist/termCollectionFractionSelection.unit.spec-G5X3Y5YI.js +184 -0
- package/dist/tk-NPWNBXLB.js +37 -0
- package/dist/tk-YSW5NPW2.js +1116 -0
- package/dist/tp.ui-W6RG7V2A.js +1453 -0
- package/dist/tp.ui-W6RG7V2A.js.map +7 -0
- package/dist/tvs.categorical-TUX6KRZI.js +28 -0
- package/dist/tvs.condition-2CH25PLO.js +160 -0
- package/dist/tvs.dt-YKP3F75O.js +30 -0
- package/dist/tvs.dtcnv.categorical-QBJWJNHZ.js +31 -0
- package/dist/tvs.dtcnv.continuous-MV25OLBD.js +63 -0
- package/dist/tvs.dtfusion-SJ64HNKE.js +31 -0
- package/dist/tvs.dtitd-WQLHZK2P.js +31 -0
- package/dist/tvs.dtsnvindel-WMFJ7W7U.js +31 -0
- package/dist/tvs.dtsv-GKEC5OGA.js +31 -0
- package/dist/tvs.multivalue-LFWMQETN.js +84 -0
- package/dist/tvs.numeric-63NVZG7U.js +32 -0
- package/dist/tvs.samplelst-DEMMYRKK.js +95 -0
- package/dist/tvs.survival-M4QUVP5L.js +110 -0
- package/dist/tvs.termCollection-J367GZY3.js +118 -0
- package/dist/vocabulary-RAVWS5IS.js +32 -0
- package/dist/wsi.direct-UY3SIIAD.js +11514 -0
- package/dist/wsi.direct-UY3SIIAD.js.map +7 -0
- package/package.json +3 -3
- package/dist/2dmaf-RRHATFHO.js +0 -1362
- package/dist/AggMatrixInput-4UHBCXYH.js +0 -402
- package/dist/AggregateMatrix-IJE5CM5Y.js +0 -37
- package/dist/AppHeader-UXGLRW6C.js +0 -826
- package/dist/BoxPlot-GQYC22KY.js +0 -1233
- package/dist/CorrelationVolcano-5CWRWZTI.js +0 -613
- package/dist/Cuminc-TYHKAPRK.js +0 -1217
- package/dist/DE-UUFQGSOI.js +0 -85
- package/dist/DEinput-DU7MF4YY.js +0 -497
- package/dist/DM-SSI5KUBC.js +0 -86
- package/dist/DifferentialAnalysis-G6FE2MXY.js +0 -235
- package/dist/Disco-B3KGNEAW.js +0 -3384
- package/dist/Disco.UI-UNPUBQCN.js +0 -239
- package/dist/DmrPlot-27NGDMT4.js +0 -358
- package/dist/DmrPlot-27NGDMT4.js.map +0 -7
- package/dist/GB-SXACUA4V.js +0 -1388
- package/dist/GSEA-EHMBA3TF.js +0 -870
- package/dist/GeneExpInput-NDXISF2U.js +0 -38
- package/dist/Geomap-3CNT227W.js +0 -80
- package/dist/HicApp-VQBUB6EZ.js +0 -2240
- package/dist/IDCViewer-DTOE7KDX.js +0 -10808
- package/dist/NumBinaryEditor-IVZ4MMQT.js +0 -274
- package/dist/NumBinaryEditor.unit.spec-3BSQ6FM4.js +0 -308
- package/dist/NumContEditor-CUZHU3IO.js +0 -100
- package/dist/NumContEditor.unit.spec-SCQFD2Y7.js +0 -160
- package/dist/NumCustomBinEditor-UEEYZ4ZO.js +0 -29
- package/dist/NumCustomBinEditor.unit.spec-GYS35OQV.js +0 -393
- package/dist/NumDiscreteEditor-IT7NIXTV.js +0 -165
- package/dist/NumDiscreteEditor.unit.spec-LB6VLAWO.js +0 -229
- package/dist/NumRegularBinEditor-FF6UXZWN.js +0 -29
- package/dist/NumRegularBinEditor.unit.spec-Z4S5LH2C.js +0 -274
- package/dist/NumSplineEditor-IW5WEN3P.js +0 -205
- package/dist/NumSplineEditor.unit.spec-PAEN3SAD.js +0 -220
- package/dist/NumericDensity-CPJIQLYT.js +0 -29
- package/dist/NumericDensity.unit.spec-4KHECHVU.js +0 -414
- package/dist/NumericHandler-SEFTQJDM.js +0 -30
- package/dist/NumericHandler.unit.spec-UGDR3476.js +0 -210
- package/dist/ProteomeInput-NYPUYVN5.js +0 -610
- package/dist/Regression-WDSISHYL.js +0 -1412
- package/dist/RunChart2-2NPADXUR.js +0 -744
- package/dist/SC-EWDBPHEL.js +0 -1344
- package/dist/SC-EWDBPHEL.js.map +0 -7
- package/dist/Violin-POGGPCZY.js +0 -1095
- package/dist/Volcano-U2B4KEUL.js +0 -2452
- package/dist/Volcano-U2B4KEUL.js.map +0 -7
- package/dist/Wsi-G7OCAJ3R.js +0 -625
- package/dist/Wsi-G7OCAJ3R.js.map +0 -7
- package/dist/adSandbox-SUCX6DAQ.js +0 -29
- package/dist/animatedBubbleChart-SDBWJELZ.js +0 -542
- package/dist/app-ATQM5PKI.js +0 -28
- package/dist/app-BCKEWJCY.js +0 -38
- package/dist/bam-QK2ZLZDI.js +0 -872
- package/dist/barchart-RHDKI3NZ.js +0 -38
- package/dist/barchart2-CS3E6FOY.js +0 -305
- package/dist/block-RQ3HTJVP.js +0 -6232
- package/dist/block.init-T33F47DO.js +0 -29
- package/dist/block.mds.expressionrank-LQD6MN6Z.js +0 -350
- package/dist/block.mds.geneboxplot-N5XHHVR7.js +0 -819
- package/dist/block.mds.junction-JD4WQUSH.js +0 -1534
- package/dist/block.mds.svcnv-LCTYWXL2.js +0 -6408
- package/dist/block.svg-2F3RGTI3.js +0 -155
- package/dist/block.tk.aicheck-BOF6WZ5E.js +0 -274
- package/dist/block.tk.bam-5GBYEQBM.js +0 -1897
- package/dist/block.tk.bedgraphdot-LVQEP4RS.js +0 -375
- package/dist/block.tk.bigwig.ui-HHBO4JAC.js +0 -202
- package/dist/block.tk.hicstraw-JBO4UEOA.js +0 -814
- package/dist/block.tk.junction-S5S2N7FK.js +0 -2353
- package/dist/block.tk.junction.textmatrixui-DNQL7WB5.js +0 -190
- package/dist/block.tk.ld-JHQNR67E.js +0 -90
- package/dist/block.tk.menu-7JBJOY2O.js +0 -1050
- package/dist/block.tk.pgv-FQPREV6P.js +0 -934
- package/dist/brainImaging-HEWGZZNY.js +0 -550
- package/dist/brainRegions-QUGB7YUW.js +0 -213
- package/dist/bubbleHeatmap-OZRONGAX.js +0 -374
- package/dist/cellTypeBubbleHeatmap-N7NDE325.js +0 -274
- package/dist/chunk-2FWSNJEN.js +0 -54
- package/dist/chunk-2JIKMCJR.js +0 -34
- package/dist/chunk-3SPEW6R6.js +0 -102
- package/dist/chunk-5G6O5RYM.js +0 -123
- package/dist/chunk-65DO5IKM.js +0 -299
- package/dist/chunk-6D4HOTG7.js +0 -1844
- package/dist/chunk-6Q5SOSSU.js +0 -2685
- package/dist/chunk-7JHIUS54.js +0 -626
- package/dist/chunk-7X347XMF.js +0 -397
- package/dist/chunk-ABLG7GUS.js +0 -55
- package/dist/chunk-AFEFZ74T.js +0 -276
- package/dist/chunk-AIC43DTG.js +0 -243
- package/dist/chunk-AJXP4AV7.js +0 -182
- package/dist/chunk-AMW5LCUB.js +0 -424
- package/dist/chunk-AV2IH5K2.js +0 -156
- package/dist/chunk-B3WLXXGY.js +0 -263
- package/dist/chunk-BG6GAROI.js +0 -302
- package/dist/chunk-BIJOXCLN.js +0 -2277
- package/dist/chunk-BIJOXCLN.js.map +0 -7
- package/dist/chunk-BU6PAOGA.js +0 -103
- package/dist/chunk-BZV2BJDU.js +0 -13624
- package/dist/chunk-C2TII2FF.js +0 -96
- package/dist/chunk-CTFHEDG2.js +0 -550
- package/dist/chunk-CXEECHP5.js +0 -37
- package/dist/chunk-CZK4EV3Y.js +0 -1339
- package/dist/chunk-D35GNF3Y.js +0 -2325
- package/dist/chunk-D35GNF3Y.js.map +0 -7
- package/dist/chunk-DFZWE3TR.js +0 -170
- package/dist/chunk-DX23HAW7.js +0 -1219
- package/dist/chunk-E7XHA4YL.js +0 -1988
- package/dist/chunk-EDFBRXX2.js +0 -54
- package/dist/chunk-F23EQSGU.js +0 -26
- package/dist/chunk-F2EEQ7KG.js +0 -379
- package/dist/chunk-F5FFI7Z7.js +0 -468
- package/dist/chunk-FK5NL2DF.js +0 -141
- package/dist/chunk-FVZTRWAO.js +0 -692
- package/dist/chunk-GDHQVEIO.js +0 -217
- package/dist/chunk-GSVB4XNS.js +0 -2799
- package/dist/chunk-GVAV4VRI.js +0 -418
- package/dist/chunk-H2FELGYK.js +0 -140
- package/dist/chunk-HFKZGMVV.js +0 -839
- package/dist/chunk-HJARHSDC.js +0 -274
- package/dist/chunk-HWNQOADC.js +0 -182
- package/dist/chunk-HXRG7XYB.js +0 -54
- package/dist/chunk-J5KCTRJC.js +0 -80
- package/dist/chunk-JMFVXWDX.js +0 -59
- package/dist/chunk-KGX2OIR4.js +0 -203
- package/dist/chunk-L2NPLA43.js +0 -257
- package/dist/chunk-L2WOLNZK.js +0 -339
- package/dist/chunk-LQKMDIRB.js +0 -466
- package/dist/chunk-LSQ5AQ6Q.js +0 -562
- package/dist/chunk-MBQIHLGI.js +0 -1269
- package/dist/chunk-MBQIHLGI.js.map +0 -7
- package/dist/chunk-MFR4WWDM.js +0 -14
- package/dist/chunk-MU4Z2MX2.js +0 -340
- package/dist/chunk-NHMIMTJA.js +0 -281
- package/dist/chunk-NNDKYTUV.js +0 -25353
- package/dist/chunk-NNDKYTUV.js.map +0 -7
- package/dist/chunk-NPBN3PPZ.js +0 -6358
- package/dist/chunk-NPBN3PPZ.js.map +0 -7
- package/dist/chunk-NULQJF73.js +0 -56
- package/dist/chunk-NYO7YANQ.js +0 -294
- package/dist/chunk-OBNHXAYG.js +0 -194
- package/dist/chunk-PETYR7LC.js +0 -134
- package/dist/chunk-PLFPXOGX.js +0 -119
- package/dist/chunk-PQVHRM4L.js +0 -5213
- package/dist/chunk-QLUTQPZE.js +0 -240
- package/dist/chunk-QNQ2ZYT7.js +0 -38
- package/dist/chunk-QYCPIVCX.js +0 -255
- package/dist/chunk-RZ2THVK4.js +0 -516
- package/dist/chunk-S4IZ4VM7.js +0 -31
- package/dist/chunk-SFUDTUXF.js +0 -382
- package/dist/chunk-SUT75MRI.js +0 -102
- package/dist/chunk-SYLYLOHK.js +0 -56
- package/dist/chunk-TEFWF3SK.js +0 -176
- package/dist/chunk-TPSVPMAN.js +0 -70
- package/dist/chunk-V4ZKHM6D.js +0 -2960
- package/dist/chunk-V7DNHPZD.js +0 -4373
- package/dist/chunk-VPMQDTYR.js +0 -194
- package/dist/chunk-VV6JIG4D.js +0 -444
- package/dist/chunk-WTAPOH2W.js +0 -22699
- package/dist/chunk-WTAPOH2W.js.map +0 -7
- package/dist/chunk-WU3YXPRE.js +0 -217
- package/dist/chunk-X2HWRISK.js +0 -480
- package/dist/chunk-X77QVINS.js +0 -49
- package/dist/chunk-XXFLJWTQ.js +0 -237
- package/dist/chunk-ZPWBYHNE.js +0 -5799
- package/dist/chunk-ZPWBYHNE.js.map +0 -7
- package/dist/cohort-ATIZW34H.js +0 -66
- package/dist/cohortSunburst-WQK2UV25.js +0 -686
- package/dist/cohortSunburst-WQK2UV25.js.map +0 -7
- package/dist/condition-SGJIDZNB.js +0 -323
- package/dist/controls-JQCMGPXP.js +0 -30
- package/dist/controls.config-WQHVQAIJ.js +0 -30
- package/dist/correlation-S3MN3L5Q.js +0 -91
- package/dist/customdata.inputui-LGTGMJBZ.js +0 -280
- package/dist/dataDownload-FAWN2WKE.js +0 -325
- package/dist/databrowser.ui-KF3LWQXG.js +0 -421
- package/dist/dictionary-EVLEOT72.js +0 -109
- package/dist/dnaMethylation-J3SPEM4S.js +0 -29
- package/dist/dnaMethylation.integration.spec-CTA53YCT.js +0 -194
- package/dist/dofetch-3C3MI5NR.js +0 -47
- package/dist/e2pca-PTWPY5WP.js +0 -340
- package/dist/ep-MS4LQQDR.js +0 -1245
- package/dist/ep-MS4LQQDR.js.map +0 -7
- package/dist/expclust.gdc.spec-S5FE4MMD.js +0 -298
- package/dist/facet-FSOIZJCA.js +0 -515
- package/dist/gb-YDEOK7NW.js +0 -77
- package/dist/geneExpClustering-37JKKFW3.js +0 -240
- package/dist/geneExpression-G6ODP3VY.js +0 -29
- package/dist/geneExpression-VQPRFNKE.js +0 -309
- package/dist/geneExpression.unit.spec-ZHXCUG6Q.js +0 -124
- package/dist/geneORA-E3PSS3CI.js +0 -269
- package/dist/geneRanking-MK3YYINC.js +0 -544
- package/dist/geneVariant-LEMAVFOY.js +0 -32
- package/dist/geneVariant-NNSB7JLS.js +0 -285
- package/dist/geneVariant.integration.spec-6CC5UAOP.js +0 -499
- package/dist/genefusion.ui-5NCQIQPN.js +0 -299
- package/dist/geneset-ZX4V3CFB.js +0 -199
- package/dist/genomeBrowser.spec-J7ISXY6H.js +0 -272
- package/dist/grin2-GN3DQNON.js +0 -945
- package/dist/grin2-LBGBBB4L.js +0 -66
- package/dist/hierCluster-5JURTKAZ.js +0 -55
- package/dist/hierCluster-BJ5VBPXR.js +0 -51
- package/dist/hierCluster.config-4EERP4KK.js +0 -32
- package/dist/hierCluster.integration.spec-VR4GULRV.js +0 -479
- package/dist/hierCluster.interactivity-SMTQOKUY.js +0 -45
- package/dist/hierCluster.renderers-PAME7BWU.js +0 -18
- package/dist/imagePlot-4LMIKBVE.js +0 -152
- package/dist/importPlot-3CG6ASNH.js +0 -8
- package/dist/isoformExpression-VCDNKTZ6.js +0 -31
- package/dist/isoformExpression.unit.spec-ZXYY37TA.js +0 -233
- package/dist/jspdf.es.min-V7ONHJJV.js +0 -40
- package/dist/junction-5DXJO4PS.js +0 -32
- package/dist/junction.customTerm-UOPUSEOE.js +0 -15
- package/dist/junction.unit.spec-F35E3GJW.js +0 -178
- package/dist/launch.adhoc-V2HTCQGD.js +0 -33
- package/dist/leftlabel.sample-V7O2EC36.js +0 -253
- package/dist/lollipop-RNRZLG64.js +0 -162
- package/dist/maf-W6SF6BJS.js +0 -451
- package/dist/maftimeline-NABCAMHG.js +0 -583
- package/dist/matrix-JC6AJT2N.js +0 -55
- package/dist/matrix-UCHESWVK.js +0 -50
- package/dist/matrix.cells-B4L42TBM.js +0 -25
- package/dist/matrix.config-6US3AAH7.js +0 -33
- package/dist/matrix.data-FYFXYDA3.js +0 -22
- package/dist/matrix.groups-Y7DEG3GS.js +0 -25
- package/dist/matrix.integration.spec-KXX7SFX5.js +0 -3156
- package/dist/matrix.interactivity-NHWG4WCC.js +0 -33
- package/dist/matrix.layout-5DQNT7DD.js +0 -35
- package/dist/matrix.legend-OY7IF6AS.js +0 -19
- package/dist/matrix.renderers-GYOXGHPU.js +0 -30
- package/dist/matrix.serieses-657TLDAV.js +0 -18
- package/dist/matrix.sort-IMA2ES3T.js +0 -25
- package/dist/matrix.sort.unit.spec-S6BAFYPR.js +0 -464
- package/dist/matrix.sorterUi-77F36Q5H.js +0 -15
- package/dist/matrix.sorterUi.unit.spec-V5NVQGD5.js +0 -334
- package/dist/matrix.unit.spec-R4NMTZYQ.js +0 -146
- package/dist/mavb-MRCVMBPD.js +0 -723
- package/dist/mavb-MRCVMBPD.js.map +0 -7
- package/dist/mds.fimo-5DCH5BEM.js +0 -509
- package/dist/mds.samplescatterplot-VIBCS5M6.js +0 -1545
- package/dist/mds.survivalplot-AZ7LJDZZ.js +0 -472
- package/dist/multivalue-4QKGYYW2.js +0 -79
- package/dist/numericDictTermCluster-GLLG6IK2.js +0 -62
- package/dist/oncomatrix-R32ZPMX7.js +0 -286
- package/dist/oncomatrix.spec-BMK6LMBS.js +0 -439
- package/dist/plot.2dvaf-46FT53MF.js +0 -368
- package/dist/plot.app-7EE4YCV4.js +0 -32
- package/dist/plot.barplot-FK4J2G7K.js +0 -93
- package/dist/plot.boxplot-ATY4LK3X.js +0 -142
- package/dist/plot.brainImaging-S7B547V4.js +0 -51
- package/dist/plot.disco-K5MMC2GD.js +0 -98
- package/dist/plot.ssgq-B3OVMZFD.js +0 -130
- package/dist/plot.vaf2cov-RBHDQULW.js +0 -249
- package/dist/polar2-GECELCTG.js +0 -228
- package/dist/profileForms-2USYOA34.js +0 -937
- package/dist/profilePlot-YGD2CF6P.js +0 -45
- package/dist/proteinView-FCPWJLGU.js +0 -1346
- package/dist/proteomeCohortCompare-TYYUF5A5.js +0 -866
- package/dist/pseudbulk.unit.spec-UVVRP6NR.js +0 -82
- package/dist/pseudobulk-ZIN5VJGB.js +0 -31
- package/dist/purify.es-3S3RVH5Y.js +0 -1594
- package/dist/purify.es-3S3RVH5Y.js.map +0 -7
- package/dist/qualitative-27BZGASV.js +0 -34
- package/dist/qualitative-N4F6NITI.js +0 -241
- package/dist/radar2-X465RPJX.js +0 -323
- package/dist/radarFacility2-AE7BA62N.js +0 -331
- package/dist/rememberedGvQ.unit.spec-4PDIU5RY.js +0 -210
- package/dist/render-TD2QWOHT.js +0 -29
- package/dist/report-3Y2OWDF7.js +0 -213
- package/dist/sampleView-BUMMYRHJ.js +0 -39
- package/dist/samplelst-BWK53BLI.js +0 -102
- package/dist/samplematrix-RQU43UYR.js +0 -2188
- package/dist/sc-LCBFWCZZ.js +0 -77
- package/dist/scatter-6S5I7OW3.js +0 -921
- package/dist/scatter-MJELX75N.js +0 -84
- package/dist/selectGenomeWithTklst-WAVXHXR5.js +0 -125
- package/dist/singleCellCellType-WMCAJ7JF.js +0 -29
- package/dist/singleCellCellType.unit.spec-4Z46ZT5Q.js +0 -150
- package/dist/singleCellGeneExpression-7Q5ZJT4R.js +0 -29
- package/dist/singleCellGeneExpression.unit.spec-6C7PDGRH.js +0 -144
- package/dist/singleCellNumericValue-QGYITZRC.js +0 -29
- package/dist/singleCellNumericValue.unit.spec-MQUKPEZJ.js +0 -412
- package/dist/singleCellPlot-JJMFJ2KQ.js +0 -44
- package/dist/singlecell-J23S3JR2.js +0 -1562
- package/dist/singlecell-Y4OGUWEC.js +0 -77
- package/dist/snp-IO6TKWGD.js +0 -29
- package/dist/snp.unit.spec-X7ILEEPO.js +0 -167
- package/dist/snplocus-Z2NGIKMO.js +0 -200
- package/dist/snplst-XCS2FCQV.js +0 -36
- package/dist/spliceevent.a53ss.diagram-F3S4BRVG.js +0 -142
- package/dist/spliceevent.exonskip.diagram-AXCDJKH4.js +0 -274
- package/dist/spliceevent.noeventdiagram-UK3X667E.js +0 -451
- package/dist/ssGSEA-ZRPNQKJ5.js +0 -29
- package/dist/ssGSEA.unit.spec-DG5ZHLC7.js +0 -79
- package/dist/stattable-XYSC3CYU.js +0 -112
- package/dist/studyCatalog-Y75LMI62.js +0 -457
- package/dist/summarizeCnvGeneexp-H2NP7VLU.js +0 -154
- package/dist/summarizeGeneexpSurvival-HTCD3VQQ.js +0 -101
- package/dist/summarizeMutationCnv-UEGXWK2P.js +0 -155
- package/dist/summarizeMutationDiagnosis-MJGWP7IT.js +0 -31
- package/dist/summarizeMutationSurvival-55JW5LA6.js +0 -95
- package/dist/summary-HJO23RGB.js +0 -40
- package/dist/summary.integration.spec-OWI2C2N5.js +0 -405
- package/dist/summaryInput-RL2JXRDE.js +0 -238
- package/dist/sunburst-JFY6V5E2.js +0 -274
- package/dist/survival-6FLR4YCJ.js +0 -1246
- package/dist/survival-PBBU6PA5.js +0 -49
- package/dist/survival.integration.spec-WAKTGYGP.js +0 -609
- package/dist/svg2pdf.es.min-NIFE2BIE.js +0 -3157
- package/dist/svgraph-WD3DUZV7.js +0 -1377
- package/dist/svmr-AP6ZFO7S.js +0 -3832
- package/dist/svmr-AP6ZFO7S.js.map +0 -7
- package/dist/swimmer-VPKSBV6V.js +0 -741
- package/dist/table-GX3VJLPZ.js +0 -192
- package/dist/termCollection-QE7U5QBD.js +0 -29
- package/dist/termCollection-YQ332WKB.js +0 -247
- package/dist/termCollection.unit.spec-ELLN7VRA.js +0 -295
- package/dist/termCollectionFractionSelection-V3RP5KAT.js +0 -38
- package/dist/termCollectionFractionSelection.unit.spec-JR7Q7TJI.js +0 -184
- package/dist/tk-GD2KJM5W.js +0 -1116
- package/dist/tk-J5VPFEX6.js +0 -37
- package/dist/tp.ui-5K3AAXDW.js +0 -1449
- package/dist/tp.ui-5K3AAXDW.js.map +0 -7
- package/dist/tvs.categorical-RPACB4VU.js +0 -28
- package/dist/tvs.condition-O6JBUM6D.js +0 -160
- package/dist/tvs.dt-5EVBSRX3.js +0 -30
- package/dist/tvs.dtcnv.categorical-Y5YHBZNC.js +0 -31
- package/dist/tvs.dtcnv.continuous-WP322QUP.js +0 -63
- package/dist/tvs.dtfusion-CCMUFDMQ.js +0 -31
- package/dist/tvs.dtitd-P3ED3MWA.js +0 -31
- package/dist/tvs.dtsnvindel-X2MXPLC6.js +0 -31
- package/dist/tvs.dtsv-4FOWFNVV.js +0 -31
- package/dist/tvs.multivalue-IRF467ZK.js +0 -84
- package/dist/tvs.numeric-C7FDCGCS.js +0 -32
- package/dist/tvs.samplelst-CBU6ATI5.js +0 -95
- package/dist/tvs.survival-3K5ASAXV.js +0 -110
- package/dist/tvs.termCollection-MXEWO6KJ.js +0 -118
- package/dist/vocabulary-GQBHDP3K.js +0 -32
- package/dist/wsi.direct-25JUHWEF.js +0 -8339
- package/dist/wsi.direct-25JUHWEF.js.map +0 -7
- /package/dist/{2dmaf-RRHATFHO.js.map → 2dmaf-BZWQ4YZF.js.map} +0 -0
- /package/dist/{AggMatrixInput-4UHBCXYH.js.map → AggMatrixInput-OXUENYYF.js.map} +0 -0
- /package/dist/{AggregateMatrix-IJE5CM5Y.js.map → AggregateMatrix-7PYLWY3X.js.map} +0 -0
- /package/dist/{AppHeader-UXGLRW6C.js.map → AppHeader-QOLLABH4.js.map} +0 -0
- /package/dist/{BoxPlot-GQYC22KY.js.map → BoxPlot-PDRYKWXF.js.map} +0 -0
- /package/dist/{CorrelationVolcano-5CWRWZTI.js.map → CorrelationVolcano-Z3ABRHL6.js.map} +0 -0
- /package/dist/{Cuminc-TYHKAPRK.js.map → Cuminc-ATQT3KDO.js.map} +0 -0
- /package/dist/{DE-UUFQGSOI.js.map → DE-5LMMF5QB.js.map} +0 -0
- /package/dist/{DEinput-DU7MF4YY.js.map → DEinput-Y2VXYH54.js.map} +0 -0
- /package/dist/{DM-SSI5KUBC.js.map → DM-ACIWRZS2.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-G6FE2MXY.js.map → DifferentialAnalysis-23WQKT6I.js.map} +0 -0
- /package/dist/{Disco-B3KGNEAW.js.map → Disco-5UBCTVTY.js.map} +0 -0
- /package/dist/{Disco.UI-UNPUBQCN.js.map → Disco.UI-6YCIW3QK.js.map} +0 -0
- /package/dist/{GB-SXACUA4V.js.map → GB-QZZG4DHJ.js.map} +0 -0
- /package/dist/{GSEA-EHMBA3TF.js.map → GSEA-3WW4GEXE.js.map} +0 -0
- /package/dist/{GeneExpInput-NDXISF2U.js.map → GeneExpInput-PW6HP5LO.js.map} +0 -0
- /package/dist/{Geomap-3CNT227W.js.map → Geomap-YDUXJ65P.js.map} +0 -0
- /package/dist/{HicApp-VQBUB6EZ.js.map → HicApp-CXHLK5UM.js.map} +0 -0
- /package/dist/{IDCViewer-DTOE7KDX.js.map → IDCViewer-ID46XKWW.js.map} +0 -0
- /package/dist/{NumBinaryEditor-IVZ4MMQT.js.map → NumBinaryEditor-7HEQD3UO.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-3BSQ6FM4.js.map → NumBinaryEditor.unit.spec-CE5FZMLZ.js.map} +0 -0
- /package/dist/{NumContEditor-CUZHU3IO.js.map → NumContEditor-7J4IODVT.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-SCQFD2Y7.js.map → NumContEditor.unit.spec-H3DEDHGO.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-UEEYZ4ZO.js.map → NumCustomBinEditor-URE4NOZI.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-GYS35OQV.js.map → NumCustomBinEditor.unit.spec-XE5AUM45.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-IT7NIXTV.js.map → NumDiscreteEditor-PBV2QXRU.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-LB6VLAWO.js.map → NumDiscreteEditor.unit.spec-2TWQ7DAZ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-FF6UXZWN.js.map → NumRegularBinEditor-MG27BRWO.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-Z4S5LH2C.js.map → NumRegularBinEditor.unit.spec-6NJLP3BX.js.map} +0 -0
- /package/dist/{NumSplineEditor-IW5WEN3P.js.map → NumSplineEditor-ZZKMWU2V.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-PAEN3SAD.js.map → NumSplineEditor.unit.spec-T3C2YPU5.js.map} +0 -0
- /package/dist/{NumericDensity-CPJIQLYT.js.map → NumericDensity-BUEAEQZD.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-4KHECHVU.js.map → NumericDensity.unit.spec-XZ77VRO7.js.map} +0 -0
- /package/dist/{NumericHandler-SEFTQJDM.js.map → NumericHandler-RW2NAEBZ.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-UGDR3476.js.map → NumericHandler.unit.spec-BQGTQBV6.js.map} +0 -0
- /package/dist/{ProteomeInput-NYPUYVN5.js.map → ProteomeInput-RL6IDTOA.js.map} +0 -0
- /package/dist/{Regression-WDSISHYL.js.map → Regression-EVGHTLUT.js.map} +0 -0
- /package/dist/{RunChart2-2NPADXUR.js.map → RunChart2-NK2KWOZ7.js.map} +0 -0
- /package/dist/{Violin-POGGPCZY.js.map → Violin-2HIRC6A2.js.map} +0 -0
- /package/dist/{adSandbox-SUCX6DAQ.js.map → adSandbox-T2HORPLC.js.map} +0 -0
- /package/dist/{animatedBubbleChart-SDBWJELZ.js.map → animatedBubbleChart-PS7KMVSY.js.map} +0 -0
- /package/dist/{app-ATQM5PKI.js.map → app-FKPGNJDN.js.map} +0 -0
- /package/dist/{app-BCKEWJCY.js.map → app-NPGVS6X4.js.map} +0 -0
- /package/dist/{bam-QK2ZLZDI.js.map → bam-QQ54FE3A.js.map} +0 -0
- /package/dist/{barchart-RHDKI3NZ.js.map → barchart-4DLCN7NL.js.map} +0 -0
- /package/dist/{barchart2-CS3E6FOY.js.map → barchart2-H65GFNNQ.js.map} +0 -0
- /package/dist/{block-RQ3HTJVP.js.map → block-RAYA73ZN.js.map} +0 -0
- /package/dist/{block.init-T33F47DO.js.map → block.init-VE3TQWH4.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-LQD6MN6Z.js.map → block.mds.expressionrank-YLFQQHZJ.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-N5XHHVR7.js.map → block.mds.geneboxplot-6V44H7EC.js.map} +0 -0
- /package/dist/{block.mds.junction-JD4WQUSH.js.map → block.mds.junction-DEIUZOQK.js.map} +0 -0
- /package/dist/{block.mds.svcnv-LCTYWXL2.js.map → block.mds.svcnv-PTP7JYS2.js.map} +0 -0
- /package/dist/{block.svg-2F3RGTI3.js.map → block.svg-RGDXDKV6.js.map} +0 -0
- /package/dist/{block.tk.aicheck-BOF6WZ5E.js.map → block.tk.aicheck-MFXHYAIN.js.map} +0 -0
- /package/dist/{block.tk.bam-5GBYEQBM.js.map → block.tk.bam-ICTVSRQ6.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-LVQEP4RS.js.map → block.tk.bedgraphdot-X5AYHRUJ.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-HHBO4JAC.js.map → block.tk.bigwig.ui-FS3DA5JQ.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-JBO4UEOA.js.map → block.tk.hicstraw-MBBA3H4E.js.map} +0 -0
- /package/dist/{block.tk.junction-S5S2N7FK.js.map → block.tk.junction-L3YVWWOR.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-DNQL7WB5.js.map → block.tk.junction.textmatrixui-PU3C7W6B.js.map} +0 -0
- /package/dist/{block.tk.ld-JHQNR67E.js.map → block.tk.ld-SNKUZDPW.js.map} +0 -0
- /package/dist/{block.tk.menu-7JBJOY2O.js.map → block.tk.menu-NARHQW7Y.js.map} +0 -0
- /package/dist/{block.tk.pgv-FQPREV6P.js.map → block.tk.pgv-NVNFNJZ6.js.map} +0 -0
- /package/dist/{brainImaging-HEWGZZNY.js.map → brainImaging-KHFLAPHC.js.map} +0 -0
- /package/dist/{brainRegions-QUGB7YUW.js.map → brainRegions-MQL2KZOQ.js.map} +0 -0
- /package/dist/{bubbleHeatmap-OZRONGAX.js.map → bubbleHeatmap-U3GAF5AV.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-N7NDE325.js.map → cellTypeBubbleHeatmap-5ENEMDCZ.js.map} +0 -0
- /package/dist/{chunk-3SPEW6R6.js.map → chunk-25Q4AX4L.js.map} +0 -0
- /package/dist/{chunk-VPMQDTYR.js.map → chunk-2WWCHIXZ.js.map} +0 -0
- /package/dist/{chunk-NYO7YANQ.js.map → chunk-3AO7OZLF.js.map} +0 -0
- /package/dist/{chunk-NULQJF73.js.map → chunk-3DZJ64RQ.js.map} +0 -0
- /package/dist/{chunk-F23EQSGU.js.map → chunk-3QZHRQ55.js.map} +0 -0
- /package/dist/{chunk-QLUTQPZE.js.map → chunk-3ZM5PZXA.js.map} +0 -0
- /package/dist/{chunk-6Q5SOSSU.js.map → chunk-43FVCJXV.js.map} +0 -0
- /package/dist/{chunk-C2TII2FF.js.map → chunk-43WVK5KI.js.map} +0 -0
- /package/dist/{chunk-RZ2THVK4.js.map → chunk-4ZOKEHK4.js.map} +0 -0
- /package/dist/{chunk-BU6PAOGA.js.map → chunk-5M4U6S3E.js.map} +0 -0
- /package/dist/{chunk-X77QVINS.js.map → chunk-5O4GAKJT.js.map} +0 -0
- /package/dist/{chunk-HJARHSDC.js.map → chunk-5Q6TANNH.js.map} +0 -0
- /package/dist/{chunk-PETYR7LC.js.map → chunk-5WBIVXMG.js.map} +0 -0
- /package/dist/{chunk-QYCPIVCX.js.map → chunk-65FN7LIA.js.map} +0 -0
- /package/dist/{chunk-DFZWE3TR.js.map → chunk-7HTMIFVR.js.map} +0 -0
- /package/dist/{chunk-GSVB4XNS.js.map → chunk-AOKINHUU.js.map} +0 -0
- /package/dist/{chunk-AJXP4AV7.js.map → chunk-APXULA6M.js.map} +0 -0
- /package/dist/{chunk-6D4HOTG7.js.map → chunk-C7O67FZJ.js.map} +0 -0
- /package/dist/{chunk-NHMIMTJA.js.map → chunk-CCNV3WJO.js.map} +0 -0
- /package/dist/{chunk-AV2IH5K2.js.map → chunk-DAKRDL76.js.map} +0 -0
- /package/dist/{chunk-7X347XMF.js.map → chunk-EGQVMN6S.js.map} +0 -0
- /package/dist/{chunk-WU3YXPRE.js.map → chunk-ERCLZ433.js.map} +0 -0
- /package/dist/{chunk-S4IZ4VM7.js.map → chunk-ESLXHJ7W.js.map} +0 -0
- /package/dist/{chunk-AMW5LCUB.js.map → chunk-ET2KFCXK.js.map} +0 -0
- /package/dist/{chunk-B3WLXXGY.js.map → chunk-EYIZTX33.js.map} +0 -0
- /package/dist/{chunk-AIC43DTG.js.map → chunk-F2PHTKCI.js.map} +0 -0
- /package/dist/{chunk-TEFWF3SK.js.map → chunk-FJXUMOVQ.js.map} +0 -0
- /package/dist/{chunk-H2FELGYK.js.map → chunk-HJCI33L4.js.map} +0 -0
- /package/dist/{chunk-J5KCTRJC.js.map → chunk-HKXBGMUT.js.map} +0 -0
- /package/dist/{chunk-QNQ2ZYT7.js.map → chunk-HNMKK33Y.js.map} +0 -0
- /package/dist/{chunk-X2HWRISK.js.map → chunk-IKZAWD7P.js.map} +0 -0
- /package/dist/{chunk-KGX2OIR4.js.map → chunk-ILPJAASI.js.map} +0 -0
- /package/dist/{chunk-LSQ5AQ6Q.js.map → chunk-JFZECJY2.js.map} +0 -0
- /package/dist/{chunk-PLFPXOGX.js.map → chunk-K6CZAEBF.js.map} +0 -0
- /package/dist/{chunk-BZV2BJDU.js.map → chunk-KXDK6ZOJ.js.map} +0 -0
- /package/dist/{chunk-V4ZKHM6D.js.map → chunk-L7LRBRUN.js.map} +0 -0
- /package/dist/{chunk-SUT75MRI.js.map → chunk-LO624OGK.js.map} +0 -0
- /package/dist/{chunk-CTFHEDG2.js.map → chunk-LPDQ26OP.js.map} +0 -0
- /package/dist/{chunk-MU4Z2MX2.js.map → chunk-M2XWAAIZ.js.map} +0 -0
- /package/dist/{chunk-E7XHA4YL.js.map → chunk-M37J6Z5U.js.map} +0 -0
- /package/dist/{chunk-F5FFI7Z7.js.map → chunk-M5SJ42E2.js.map} +0 -0
- /package/dist/{chunk-FVZTRWAO.js.map → chunk-MJREV2KW.js.map} +0 -0
- /package/dist/{chunk-LQKMDIRB.js.map → chunk-MRR5GPPP.js.map} +0 -0
- /package/dist/{chunk-SYLYLOHK.js.map → chunk-NSCNNQOY.js.map} +0 -0
- /package/dist/{chunk-EDFBRXX2.js.map → chunk-OAQLBII5.js.map} +0 -0
- /package/dist/{chunk-OBNHXAYG.js.map → chunk-OKHU7EJW.js.map} +0 -0
- /package/dist/{chunk-V7DNHPZD.js.map → chunk-OXVB4OZC.js.map} +0 -0
- /package/dist/{chunk-SFUDTUXF.js.map → chunk-PDZED3RR.js.map} +0 -0
- /package/dist/{chunk-HWNQOADC.js.map → chunk-PITPUAWX.js.map} +0 -0
- /package/dist/{chunk-JMFVXWDX.js.map → chunk-PVXG2BRT.js.map} +0 -0
- /package/dist/{chunk-FK5NL2DF.js.map → chunk-PX6MHRAN.js.map} +0 -0
- /package/dist/{chunk-7JHIUS54.js.map → chunk-REIPTX7J.js.map} +0 -0
- /package/dist/{chunk-ABLG7GUS.js.map → chunk-RFE2VG6T.js.map} +0 -0
- /package/dist/{chunk-GVAV4VRI.js.map → chunk-RPFQOIYX.js.map} +0 -0
- /package/dist/{chunk-HFKZGMVV.js.map → chunk-S2NAGL4V.js.map} +0 -0
- /package/dist/{chunk-GDHQVEIO.js.map → chunk-T24YYODE.js.map} +0 -0
- /package/dist/{chunk-5G6O5RYM.js.map → chunk-TDP4PX2S.js.map} +0 -0
- /package/dist/{chunk-65DO5IKM.js.map → chunk-TUPJEZSL.js.map} +0 -0
- /package/dist/{chunk-F2EEQ7KG.js.map → chunk-UNXVW5OT.js.map} +0 -0
- /package/dist/{chunk-VV6JIG4D.js.map → chunk-UOWUMUAX.js.map} +0 -0
- /package/dist/{chunk-CZK4EV3Y.js.map → chunk-V6EIPPMT.js.map} +0 -0
- /package/dist/{chunk-AFEFZ74T.js.map → chunk-VGUO2BQ7.js.map} +0 -0
- /package/dist/{chunk-CXEECHP5.js.map → chunk-VKWZPC73.js.map} +0 -0
- /package/dist/{chunk-PQVHRM4L.js.map → chunk-VQ5PDCAJ.js.map} +0 -0
- /package/dist/{chunk-HXRG7XYB.js.map → chunk-VQK3UKNA.js.map} +0 -0
- /package/dist/{chunk-XXFLJWTQ.js.map → chunk-WB5MHFHB.js.map} +0 -0
- /package/dist/{chunk-BG6GAROI.js.map → chunk-WK6CPMXR.js.map} +0 -0
- /package/dist/{chunk-DX23HAW7.js.map → chunk-WRYNE3Q4.js.map} +0 -0
- /package/dist/{chunk-2FWSNJEN.js.map → chunk-XA6LI63Y.js.map} +0 -0
- /package/dist/{chunk-TPSVPMAN.js.map → chunk-Y7Y6X6E5.js.map} +0 -0
- /package/dist/{chunk-L2NPLA43.js.map → chunk-YG57X4VD.js.map} +0 -0
- /package/dist/{chunk-2JIKMCJR.js.map → chunk-YPOIMSJR.js.map} +0 -0
- /package/dist/{chunk-MFR4WWDM.js.map → chunk-ZRLON6PP.js.map} +0 -0
- /package/dist/{chunk-L2WOLNZK.js.map → chunk-ZSNZPH6G.js.map} +0 -0
- /package/dist/{cohort-ATIZW34H.js.map → cohort-TPMJZ4OH.js.map} +0 -0
- /package/dist/{condition-SGJIDZNB.js.map → condition-QROUALBG.js.map} +0 -0
- /package/dist/{controls-JQCMGPXP.js.map → controls-GH37YWOP.js.map} +0 -0
- /package/dist/{controls.config-WQHVQAIJ.js.map → controls.config-ZYCDICYF.js.map} +0 -0
- /package/dist/{correlation-S3MN3L5Q.js.map → correlation-JESMUFS6.js.map} +0 -0
- /package/dist/{customdata.inputui-LGTGMJBZ.js.map → customdata.inputui-T2DLAZYJ.js.map} +0 -0
- /package/dist/{dataDownload-FAWN2WKE.js.map → dataDownload-Z7A6ZEH7.js.map} +0 -0
- /package/dist/{databrowser.ui-KF3LWQXG.js.map → databrowser.ui-ZVMGFYJ2.js.map} +0 -0
- /package/dist/{dictionary-EVLEOT72.js.map → dictionary-KXFUR3NL.js.map} +0 -0
- /package/dist/{dnaMethylation-J3SPEM4S.js.map → dnaMethylation-2YU2HDD4.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-CTA53YCT.js.map → dnaMethylation.integration.spec-75Y5RSDO.js.map} +0 -0
- /package/dist/{dofetch-3C3MI5NR.js.map → dofetch-G5ULIRMG.js.map} +0 -0
- /package/dist/{e2pca-PTWPY5WP.js.map → e2pca-75VDPO7P.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-S5FE4MMD.js.map → expclust.gdc.spec-PB66FFWD.js.map} +0 -0
- /package/dist/{facet-FSOIZJCA.js.map → facet-2RY37EFR.js.map} +0 -0
- /package/dist/{gb-YDEOK7NW.js.map → gb-WQQFYFGF.js.map} +0 -0
- /package/dist/{geneExpClustering-37JKKFW3.js.map → geneExpClustering-ARVZDF6G.js.map} +0 -0
- /package/dist/{geneExpression-VQPRFNKE.js.map → geneExpression-FR33PKJW.js.map} +0 -0
- /package/dist/{geneExpression-G6ODP3VY.js.map → geneExpression-O7DR5SMR.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-ZHXCUG6Q.js.map → geneExpression.unit.spec-HGNDSTAI.js.map} +0 -0
- /package/dist/{geneORA-E3PSS3CI.js.map → geneORA-RXXQT44V.js.map} +0 -0
- /package/dist/{geneRanking-MK3YYINC.js.map → geneRanking-WDQZ7TI3.js.map} +0 -0
- /package/dist/{geneVariant-LEMAVFOY.js.map → geneVariant-6JYBWFEJ.js.map} +0 -0
- /package/dist/{geneVariant-NNSB7JLS.js.map → geneVariant-TKRG5VQN.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-6CC5UAOP.js.map → geneVariant.integration.spec-L2Q2DY67.js.map} +0 -0
- /package/dist/{genefusion.ui-5NCQIQPN.js.map → genefusion.ui-DBLMBU2D.js.map} +0 -0
- /package/dist/{geneset-ZX4V3CFB.js.map → geneset-2ZQF7FET.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-J7ISXY6H.js.map → genomeBrowser.spec-E5RJD53Z.js.map} +0 -0
- /package/dist/{grin2-LBGBBB4L.js.map → grin2-MJ4SYAFO.js.map} +0 -0
- /package/dist/{grin2-GN3DQNON.js.map → grin2-VXRMV7VA.js.map} +0 -0
- /package/dist/{hierCluster-5JURTKAZ.js.map → hierCluster-44FPBMNL.js.map} +0 -0
- /package/dist/{hierCluster-BJ5VBPXR.js.map → hierCluster-SU4BDK6I.js.map} +0 -0
- /package/dist/{hierCluster.config-4EERP4KK.js.map → hierCluster.config-4OZ65GKH.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-VR4GULRV.js.map → hierCluster.integration.spec-CHNSKZD4.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-SMTQOKUY.js.map → hierCluster.interactivity-M72CEGCW.js.map} +0 -0
- /package/dist/{hierCluster.renderers-PAME7BWU.js.map → hierCluster.renderers-RM43G7ZR.js.map} +0 -0
- /package/dist/{imagePlot-4LMIKBVE.js.map → imagePlot-UYMWFNI4.js.map} +0 -0
- /package/dist/{importPlot-3CG6ASNH.js.map → importPlot-W3HPE4LZ.js.map} +0 -0
- /package/dist/{isoformExpression-VCDNKTZ6.js.map → isoformExpression-JEMJE5WY.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-ZXYY37TA.js.map → isoformExpression.unit.spec-GOK5LFME.js.map} +0 -0
- /package/dist/{jspdf.es.min-V7ONHJJV.js.map → jspdf.es.min-KB3HW45U.js.map} +0 -0
- /package/dist/{junction-5DXJO4PS.js.map → junction-2X4AS47T.js.map} +0 -0
- /package/dist/{junction.customTerm-UOPUSEOE.js.map → junction.customTerm-MVSIUY66.js.map} +0 -0
- /package/dist/{junction.unit.spec-F35E3GJW.js.map → junction.unit.spec-HA74XQYV.js.map} +0 -0
- /package/dist/{launch.adhoc-V2HTCQGD.js.map → launch.adhoc-PZAJ6J2S.js.map} +0 -0
- /package/dist/{leftlabel.sample-V7O2EC36.js.map → leftlabel.sample-7BZKFB3I.js.map} +0 -0
- /package/dist/{lollipop-RNRZLG64.js.map → lollipop-URSFH4ZE.js.map} +0 -0
- /package/dist/{maf-W6SF6BJS.js.map → maf-CM3ETF4N.js.map} +0 -0
- /package/dist/{maftimeline-NABCAMHG.js.map → maftimeline-CRQEUTRY.js.map} +0 -0
- /package/dist/{matrix-JC6AJT2N.js.map → matrix-IBWB4A3Z.js.map} +0 -0
- /package/dist/{matrix-UCHESWVK.js.map → matrix-SOBGWBTY.js.map} +0 -0
- /package/dist/{matrix.cells-B4L42TBM.js.map → matrix.cells-GSKC6FXI.js.map} +0 -0
- /package/dist/{matrix.config-6US3AAH7.js.map → matrix.config-4KU5X3LQ.js.map} +0 -0
- /package/dist/{matrix.data-FYFXYDA3.js.map → matrix.data-XC2OTBTR.js.map} +0 -0
- /package/dist/{matrix.groups-Y7DEG3GS.js.map → matrix.groups-THXKRQSD.js.map} +0 -0
- /package/dist/{matrix.integration.spec-KXX7SFX5.js.map → matrix.integration.spec-GKHH4RSR.js.map} +0 -0
- /package/dist/{matrix.interactivity-NHWG4WCC.js.map → matrix.interactivity-ITXMM2ZP.js.map} +0 -0
- /package/dist/{matrix.layout-5DQNT7DD.js.map → matrix.layout-D6SRLAXS.js.map} +0 -0
- /package/dist/{matrix.legend-OY7IF6AS.js.map → matrix.legend-OWQAMHI2.js.map} +0 -0
- /package/dist/{matrix.renderers-GYOXGHPU.js.map → matrix.renderers-J66OAQUZ.js.map} +0 -0
- /package/dist/{matrix.serieses-657TLDAV.js.map → matrix.serieses-P5I4E2NB.js.map} +0 -0
- /package/dist/{matrix.sort-IMA2ES3T.js.map → matrix.sort-CXBXF75N.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-S6BAFYPR.js.map → matrix.sort.unit.spec-RSXBKXC5.js.map} +0 -0
- /package/dist/{matrix.sorterUi-77F36Q5H.js.map → matrix.sorterUi-WEZRKU63.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-V5NVQGD5.js.map → matrix.sorterUi.unit.spec-6EULDV43.js.map} +0 -0
- /package/dist/{matrix.unit.spec-R4NMTZYQ.js.map → matrix.unit.spec-D4ZLDVDT.js.map} +0 -0
- /package/dist/{mds.fimo-5DCH5BEM.js.map → mds.fimo-CQFREH3A.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-VIBCS5M6.js.map → mds.samplescatterplot-XLJITURG.js.map} +0 -0
- /package/dist/{mds.survivalplot-AZ7LJDZZ.js.map → mds.survivalplot-MLRD27QP.js.map} +0 -0
- /package/dist/{multivalue-4QKGYYW2.js.map → multivalue-KJQCYBHA.js.map} +0 -0
- /package/dist/{numericDictTermCluster-GLLG6IK2.js.map → numericDictTermCluster-ZOU6R4XP.js.map} +0 -0
- /package/dist/{oncomatrix-R32ZPMX7.js.map → oncomatrix-4RHDDJDC.js.map} +0 -0
- /package/dist/{oncomatrix.spec-BMK6LMBS.js.map → oncomatrix.spec-JA6DT4PP.js.map} +0 -0
- /package/dist/{plot.2dvaf-46FT53MF.js.map → plot.2dvaf-VJWPWCOY.js.map} +0 -0
- /package/dist/{plot.app-7EE4YCV4.js.map → plot.app-JNEOGNVW.js.map} +0 -0
- /package/dist/{plot.barplot-FK4J2G7K.js.map → plot.barplot-YELRBXUB.js.map} +0 -0
- /package/dist/{plot.boxplot-ATY4LK3X.js.map → plot.boxplot-HNFOB3TV.js.map} +0 -0
- /package/dist/{plot.brainImaging-S7B547V4.js.map → plot.brainImaging-AZYEGF3U.js.map} +0 -0
- /package/dist/{plot.disco-K5MMC2GD.js.map → plot.disco-L6PGGZJI.js.map} +0 -0
- /package/dist/{plot.ssgq-B3OVMZFD.js.map → plot.ssgq-UM64SSXW.js.map} +0 -0
- /package/dist/{plot.vaf2cov-RBHDQULW.js.map → plot.vaf2cov-DKUKJRUP.js.map} +0 -0
- /package/dist/{polar2-GECELCTG.js.map → polar2-4YHPENAV.js.map} +0 -0
- /package/dist/{profileForms-2USYOA34.js.map → profileForms-KMECFO3K.js.map} +0 -0
- /package/dist/{profilePlot-YGD2CF6P.js.map → profilePlot-3AXSIXCK.js.map} +0 -0
- /package/dist/{proteinView-FCPWJLGU.js.map → proteinView-QWHOTL35.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-TYYUF5A5.js.map → proteomeCohortCompare-DL2QLFL3.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-UVVRP6NR.js.map → pseudbulk.unit.spec-IWR7EZ7O.js.map} +0 -0
- /package/dist/{pseudobulk-ZIN5VJGB.js.map → pseudobulk-IC525IZ2.js.map} +0 -0
- /package/dist/{qualitative-27BZGASV.js.map → qualitative-LK2QEYHU.js.map} +0 -0
- /package/dist/{qualitative-N4F6NITI.js.map → qualitative-YY4NQGO5.js.map} +0 -0
- /package/dist/{radar2-X465RPJX.js.map → radar2-TJUPENQF.js.map} +0 -0
- /package/dist/{radarFacility2-AE7BA62N.js.map → radarFacility2-Q7LBWLCV.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-4PDIU5RY.js.map → rememberedGvQ.unit.spec-2GBLM5AO.js.map} +0 -0
- /package/dist/{render-TD2QWOHT.js.map → render-AHR6SCQX.js.map} +0 -0
- /package/dist/{report-3Y2OWDF7.js.map → report-BPHJTRTO.js.map} +0 -0
- /package/dist/{sampleView-BUMMYRHJ.js.map → sampleView-CS2FB3K3.js.map} +0 -0
- /package/dist/{samplelst-BWK53BLI.js.map → samplelst-A3DHKP6U.js.map} +0 -0
- /package/dist/{samplematrix-RQU43UYR.js.map → samplematrix-5X7MFT3G.js.map} +0 -0
- /package/dist/{sc-LCBFWCZZ.js.map → sc-RCYXZMN6.js.map} +0 -0
- /package/dist/{scatter-6S5I7OW3.js.map → scatter-2ITGMX5N.js.map} +0 -0
- /package/dist/{scatter-MJELX75N.js.map → scatter-OAL4YOCA.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-WAVXHXR5.js.map → selectGenomeWithTklst-PB5KDW2N.js.map} +0 -0
- /package/dist/{singleCellCellType-WMCAJ7JF.js.map → singleCellCellType-FEFNOHOP.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-4Z46ZT5Q.js.map → singleCellCellType.unit.spec-V2I32V23.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-7Q5ZJT4R.js.map → singleCellGeneExpression-RUQQMKDE.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-6C7PDGRH.js.map → singleCellGeneExpression.unit.spec-VCMJRMT7.js.map} +0 -0
- /package/dist/{singleCellNumericValue-QGYITZRC.js.map → singleCellNumericValue-JLXZQWNT.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-MQUKPEZJ.js.map → singleCellNumericValue.unit.spec-XVCZEN5K.js.map} +0 -0
- /package/dist/{singleCellPlot-JJMFJ2KQ.js.map → singleCellPlot-4EBYWOJ2.js.map} +0 -0
- /package/dist/{singlecell-J23S3JR2.js.map → singlecell-UKZJAYVH.js.map} +0 -0
- /package/dist/{singlecell-Y4OGUWEC.js.map → singlecell-VNRWPXGV.js.map} +0 -0
- /package/dist/{snp-IO6TKWGD.js.map → snp-2RJDJQZC.js.map} +0 -0
- /package/dist/{snp.unit.spec-X7ILEEPO.js.map → snp.unit.spec-Z4DNBFAH.js.map} +0 -0
- /package/dist/{snplocus-Z2NGIKMO.js.map → snplocus-OZLIZ7R7.js.map} +0 -0
- /package/dist/{snplst-XCS2FCQV.js.map → snplst-EVRJ4OCL.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-F3S4BRVG.js.map → spliceevent.a53ss.diagram-N5UXX4OX.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-AXCDJKH4.js.map → spliceevent.exonskip.diagram-WBNFLW4V.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-UK3X667E.js.map → spliceevent.noeventdiagram-EI72A6L3.js.map} +0 -0
- /package/dist/{ssGSEA-ZRPNQKJ5.js.map → ssGSEA-NONMMNF7.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-DG5ZHLC7.js.map → ssGSEA.unit.spec-7JDPNLZA.js.map} +0 -0
- /package/dist/{stattable-XYSC3CYU.js.map → stattable-NNUHKPF4.js.map} +0 -0
- /package/dist/{studyCatalog-Y75LMI62.js.map → studyCatalog-KMLE7Q55.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-H2NP7VLU.js.map → summarizeCnvGeneexp-AHCGPQLE.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-HTCD3VQQ.js.map → summarizeGeneexpSurvival-NCST7HDQ.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-UEGXWK2P.js.map → summarizeMutationCnv-VUTQYXO6.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-MJGWP7IT.js.map → summarizeMutationDiagnosis-TFU2HUHQ.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-55JW5LA6.js.map → summarizeMutationSurvival-F4CJILS3.js.map} +0 -0
- /package/dist/{summary-HJO23RGB.js.map → summary-QQZW7BEE.js.map} +0 -0
- /package/dist/{summary.integration.spec-OWI2C2N5.js.map → summary.integration.spec-FILIPD3W.js.map} +0 -0
- /package/dist/{summaryInput-RL2JXRDE.js.map → summaryInput-RMY226Y3.js.map} +0 -0
- /package/dist/{sunburst-JFY6V5E2.js.map → sunburst-Y4LNCKMR.js.map} +0 -0
- /package/dist/{survival-PBBU6PA5.js.map → survival-4FYQHQHX.js.map} +0 -0
- /package/dist/{survival-6FLR4YCJ.js.map → survival-6GC267GY.js.map} +0 -0
- /package/dist/{survival.integration.spec-WAKTGYGP.js.map → survival.integration.spec-5ERXR6MG.js.map} +0 -0
- /package/dist/{svg2pdf.es.min-NIFE2BIE.js.map → svg2pdf.es.min-KKHWPFWG.js.map} +0 -0
- /package/dist/{svgraph-WD3DUZV7.js.map → svgraph-XIQIA7OJ.js.map} +0 -0
- /package/dist/{swimmer-VPKSBV6V.js.map → swimmer-643B5Q6F.js.map} +0 -0
- /package/dist/{table-GX3VJLPZ.js.map → table-JQIBRXTJ.js.map} +0 -0
- /package/dist/{termCollection-YQ332WKB.js.map → termCollection-LU5NW6KT.js.map} +0 -0
- /package/dist/{termCollection-QE7U5QBD.js.map → termCollection-XZCPBXRV.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-ELLN7VRA.js.map → termCollection.unit.spec-H5LBV3N4.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-V3RP5KAT.js.map → termCollectionFractionSelection-3YHOFXEL.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-JR7Q7TJI.js.map → termCollectionFractionSelection.unit.spec-G5X3Y5YI.js.map} +0 -0
- /package/dist/{tk-J5VPFEX6.js.map → tk-NPWNBXLB.js.map} +0 -0
- /package/dist/{tk-GD2KJM5W.js.map → tk-YSW5NPW2.js.map} +0 -0
- /package/dist/{tvs.categorical-RPACB4VU.js.map → tvs.categorical-TUX6KRZI.js.map} +0 -0
- /package/dist/{tvs.condition-O6JBUM6D.js.map → tvs.condition-2CH25PLO.js.map} +0 -0
- /package/dist/{tvs.dt-5EVBSRX3.js.map → tvs.dt-YKP3F75O.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-Y5YHBZNC.js.map → tvs.dtcnv.categorical-QBJWJNHZ.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-WP322QUP.js.map → tvs.dtcnv.continuous-MV25OLBD.js.map} +0 -0
- /package/dist/{tvs.dtfusion-CCMUFDMQ.js.map → tvs.dtfusion-SJ64HNKE.js.map} +0 -0
- /package/dist/{tvs.dtitd-P3ED3MWA.js.map → tvs.dtitd-WQLHZK2P.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-X2MXPLC6.js.map → tvs.dtsnvindel-WMFJ7W7U.js.map} +0 -0
- /package/dist/{tvs.dtsv-4FOWFNVV.js.map → tvs.dtsv-GKEC5OGA.js.map} +0 -0
- /package/dist/{tvs.multivalue-IRF467ZK.js.map → tvs.multivalue-LFWMQETN.js.map} +0 -0
- /package/dist/{tvs.numeric-C7FDCGCS.js.map → tvs.numeric-63NVZG7U.js.map} +0 -0
- /package/dist/{tvs.samplelst-CBU6ATI5.js.map → tvs.samplelst-DEMMYRKK.js.map} +0 -0
- /package/dist/{tvs.survival-3K5ASAXV.js.map → tvs.survival-M4QUVP5L.js.map} +0 -0
- /package/dist/{tvs.termCollection-MXEWO6KJ.js.map → tvs.termCollection-J367GZY3.js.map} +0 -0
- /package/dist/{vocabulary-GQBHDP3K.js.map → vocabulary-RAVWS5IS.js.map} +0 -0
package/dist/chunk-E7XHA4YL.js
DELETED
|
@@ -1,1988 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
matrix_serieses_exports
|
|
3
|
-
} from "./chunk-DFZWE3TR.js";
|
|
4
|
-
import {
|
|
5
|
-
matrix_legend_exports
|
|
6
|
-
} from "./chunk-VV6JIG4D.js";
|
|
7
|
-
import {
|
|
8
|
-
matrix_groups_exports
|
|
9
|
-
} from "./chunk-NHMIMTJA.js";
|
|
10
|
-
import {
|
|
11
|
-
setComputedConfig
|
|
12
|
-
} from "./chunk-NYO7YANQ.js";
|
|
13
|
-
import {
|
|
14
|
-
setMatrixDom
|
|
15
|
-
} from "./chunk-N7NW37FP.js";
|
|
16
|
-
import {
|
|
17
|
-
setInteractivity
|
|
18
|
-
} from "./chunk-6Q5SOSSU.js";
|
|
19
|
-
import {
|
|
20
|
-
setRenderers
|
|
21
|
-
} from "./chunk-F2EEQ7KG.js";
|
|
22
|
-
import {
|
|
23
|
-
MatrixCluster
|
|
24
|
-
} from "./chunk-DDKS3MV3.js";
|
|
25
|
-
import {
|
|
26
|
-
getSorterUi
|
|
27
|
-
} from "./chunk-SFUDTUXF.js";
|
|
28
|
-
import {
|
|
29
|
-
matrix_data_exports
|
|
30
|
-
} from "./chunk-VPMQDTYR.js";
|
|
31
|
-
import {
|
|
32
|
-
matrix_layout_exports
|
|
33
|
-
} from "./chunk-RZ2THVK4.js";
|
|
34
|
-
import {
|
|
35
|
-
GeneSetEditUI,
|
|
36
|
-
GeneSetEditUIwithTabs,
|
|
37
|
-
PlotBase,
|
|
38
|
-
TwRouter,
|
|
39
|
-
fileDateStamp,
|
|
40
|
-
fillTermWrapper,
|
|
41
|
-
get$id,
|
|
42
|
-
getCombinedTermFilter,
|
|
43
|
-
getGEunit,
|
|
44
|
-
initByInput,
|
|
45
|
-
make_one_checkbox,
|
|
46
|
-
make_radios,
|
|
47
|
-
rebaseGroupFilter,
|
|
48
|
-
routedTermTypes,
|
|
49
|
-
sayerror,
|
|
50
|
-
svgLegend,
|
|
51
|
-
svgScroll,
|
|
52
|
-
to_svg,
|
|
53
|
-
zoom
|
|
54
|
-
} from "./chunk-NNDKYTUV.js";
|
|
55
|
-
import {
|
|
56
|
-
Menu
|
|
57
|
-
} from "./chunk-CNFTQSNE.js";
|
|
58
|
-
import {
|
|
59
|
-
icons
|
|
60
|
-
} from "./chunk-3CIL7KH7.js";
|
|
61
|
-
import {
|
|
62
|
-
convertUnits
|
|
63
|
-
} from "./chunk-W5J3LTYS.js";
|
|
64
|
-
import {
|
|
65
|
-
isNumericTerm
|
|
66
|
-
} from "./chunk-AMW5LCUB.js";
|
|
67
|
-
import {
|
|
68
|
-
TermTypes,
|
|
69
|
-
dt2label,
|
|
70
|
-
dtcnv,
|
|
71
|
-
dtfusionrna,
|
|
72
|
-
dtsnvindel,
|
|
73
|
-
dtsv,
|
|
74
|
-
mclass,
|
|
75
|
-
morigin
|
|
76
|
-
} from "./chunk-ZPWBYHNE.js";
|
|
77
|
-
import {
|
|
78
|
-
copyMerge,
|
|
79
|
-
deepEqual,
|
|
80
|
-
getCompInit
|
|
81
|
-
} from "./chunk-HBNB5TRH.js";
|
|
82
|
-
import {
|
|
83
|
-
select_default
|
|
84
|
-
} from "./chunk-I6Y4O3RR.js";
|
|
85
|
-
|
|
86
|
-
// plots/matrix/matrix.controls.samples.ts
|
|
87
|
-
function setSamplesBtn(self2, s) {
|
|
88
|
-
const l = s.controlLabels;
|
|
89
|
-
const controls = self2;
|
|
90
|
-
const parent = self2.parent;
|
|
91
|
-
const rows = [
|
|
92
|
-
{
|
|
93
|
-
label: `Maximum # ${l.Samples}`,
|
|
94
|
-
title: `Limit the number of displayed ${l.samples}`,
|
|
95
|
-
type: "number",
|
|
96
|
-
chartType: "matrix",
|
|
97
|
-
settingsKey: "maxSample",
|
|
98
|
-
getDisplayStyle(plot) {
|
|
99
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
label: `Sort ${l.Sample} Groups`,
|
|
104
|
-
title: `Set how to sort ${l.sample} groups`,
|
|
105
|
-
type: "radio",
|
|
106
|
-
chartType: "matrix",
|
|
107
|
-
settingsKey: "sortSampleGrpsBy",
|
|
108
|
-
options: [
|
|
109
|
-
{
|
|
110
|
-
label: "Predefined or Group Name",
|
|
111
|
-
value: "name",
|
|
112
|
-
title: `Sort by group name`
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
label: `${l.Sample} Count`,
|
|
116
|
-
value: "sampleCount",
|
|
117
|
-
title: `Sort by the number of samples in the group`
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
label: `Hits`,
|
|
121
|
-
value: "hits",
|
|
122
|
-
title: `Sort by the total number of variants for every ${l.sample} in the group`
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
getDisplayStyle(plot) {
|
|
126
|
-
return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
label: `${l.Sample} Group Label Character Limit`,
|
|
131
|
-
title: `Truncate the ${l.sample} group label if it exceeds this maximum number of characters`,
|
|
132
|
-
type: "number",
|
|
133
|
-
chartType: "matrix",
|
|
134
|
-
settingsKey: "sampleGrpLabelMaxChars",
|
|
135
|
-
getDisplayStyle(plot) {
|
|
136
|
-
return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
label: `${l.Sample} Label Character Limit`,
|
|
141
|
-
title: `Truncate the ${l.sample} label if it exceeds this maximum number of characters`,
|
|
142
|
-
type: "number",
|
|
143
|
-
chartType: "matrix",
|
|
144
|
-
settingsKey: "collabelmaxchars"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
label: `Toggle sample labels`,
|
|
148
|
-
title: `Do not automatically show sample labels based on column width`,
|
|
149
|
-
type: "radio",
|
|
150
|
-
chartType: "matrix",
|
|
151
|
-
settingsKey: "sampleLabelsToggle",
|
|
152
|
-
styles: { display: "inline-block" },
|
|
153
|
-
options: [
|
|
154
|
-
{ label: `Based on column width`, value: "auto" },
|
|
155
|
-
{ label: "Always hide", value: "hide" }
|
|
156
|
-
]
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
label: `Group ${l.Samples} By`,
|
|
160
|
-
title: `Select a variable with discrete values to group ${l.samples}`,
|
|
161
|
-
type: "term",
|
|
162
|
-
chartType: "matrix",
|
|
163
|
-
configKey: "divideBy",
|
|
164
|
-
// without an explicit usecase the term tree falls to the 'default' rule,
|
|
165
|
-
// which excludes multivalue; the matrix supports multivalue divideBy
|
|
166
|
-
// (a sample renders in each group it belongs to)
|
|
167
|
-
usecase: { target: "matrix", detail: "divideBy" },
|
|
168
|
-
vocabApi: self2.opts.app.vocabApi,
|
|
169
|
-
state: {
|
|
170
|
-
vocab: self2.opts.vocab
|
|
171
|
-
//activeCohort: appState.activeCohort
|
|
172
|
-
},
|
|
173
|
-
processInput: async (tw) => {
|
|
174
|
-
if (tw?.term && isNumericTerm(tw.term)) {
|
|
175
|
-
tw.q = { ...tw.q, mode: "discrete" };
|
|
176
|
-
}
|
|
177
|
-
if (tw) await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
178
|
-
return tw;
|
|
179
|
-
},
|
|
180
|
-
processConfig: (config) => {
|
|
181
|
-
if (self2.parent.chartType == "hierCluster" && config["divideBy"]) {
|
|
182
|
-
config.settings = {
|
|
183
|
-
hierCluster: {
|
|
184
|
-
yDendrogramHeight: 0,
|
|
185
|
-
clusterSamples: false
|
|
186
|
-
}
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
if (self2.parent.config.divideBy)
|
|
190
|
-
config.legendValueFilter = self2.parent.mayRemoveTvsEntry(self2.parent.config.divideBy);
|
|
191
|
-
},
|
|
192
|
-
getBodyParams: () => {
|
|
193
|
-
const currentGeneNames = self2.parent.termOrder.filter((t) => t.tw.term.type === "geneVariant").map(
|
|
194
|
-
(t) => t.tw.term.chr ? `${t.tw.term.chr}:${t.tw.term.start}-${t.tw.term.stop}` : t.tw.term.gene || t.tw.term.name
|
|
195
|
-
);
|
|
196
|
-
if (currentGeneNames.length) return { currentGeneNames };
|
|
197
|
-
return {};
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
];
|
|
201
|
-
rows.push({
|
|
202
|
-
label: `Sort ${l.Sample} Priority`,
|
|
203
|
-
title: `Set how to sort ${l.samples}`,
|
|
204
|
-
type: "custom",
|
|
205
|
-
// the "input" argument is created by controls
|
|
206
|
-
init(input) {
|
|
207
|
-
const m = parent.config.settings.matrix;
|
|
208
|
-
if (!controls.activeTab) controls.activeTab = "basic";
|
|
209
|
-
input.dom.inputTd.style("padding", "5px");
|
|
210
|
-
const btnsDiv = input.dom.inputTd.append("div").style("margin-bottom", "5px");
|
|
211
|
-
const basicBtn = btnsDiv.append("div").style("display", "inline-block").style("padding-right", "5px").style("border-right", "2px solid black").style("text-decoration", controls.activeTab == "basic" ? "underline" : "").style("cursor", "pointer").html("Basic").on("click", () => {
|
|
212
|
-
controls.activeTab = "basic";
|
|
213
|
-
basicBtn.style("text-decoration", "underline");
|
|
214
|
-
advancedBtn.style("text-decoration", "");
|
|
215
|
-
basicDiv.style("display", "");
|
|
216
|
-
advancedDiv.style("display", "none");
|
|
217
|
-
});
|
|
218
|
-
const advancedBtn = btnsDiv.append("div").style("display", "inline-block").style("margin-left", "5px").style("text-decoration", controls.activeTab == "advanced" ? "underline" : "").style("cursor", "pointer").html("Advanced").on("click", () => {
|
|
219
|
-
controls.activeTab = "advanced";
|
|
220
|
-
basicBtn.style("text-decoration", "");
|
|
221
|
-
advancedBtn.style("text-decoration", "underline");
|
|
222
|
-
basicDiv.style("display", "none");
|
|
223
|
-
advancedDiv.style("display", "");
|
|
224
|
-
});
|
|
225
|
-
const basicDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "basic" ? "" : "none");
|
|
226
|
-
if (self2.parent.config.chartType == "matrix" && parent.app.vocabApi.termdbConfig.hasSampleAncestry) {
|
|
227
|
-
const ancestryDiv = basicDiv.append("div").attr("title", "sort by ancestry").style("display", "block");
|
|
228
|
-
ancestryDiv.append("span").html("Ancestry");
|
|
229
|
-
make_radios({
|
|
230
|
-
// holder, options, callback, styles
|
|
231
|
-
holder: ancestryDiv.append("span"),
|
|
232
|
-
options: [
|
|
233
|
-
{ label: "sort first", value: "first", checked: m.sortBySampleAncestry === "first" },
|
|
234
|
-
{ label: "sort last", value: "last", checked: m.sortBySampleAncestry === "last" },
|
|
235
|
-
{ label: "disable", value: false, checked: m.sortBySampleAncestry === false }
|
|
236
|
-
],
|
|
237
|
-
styles: {
|
|
238
|
-
display: "inline-block"
|
|
239
|
-
},
|
|
240
|
-
callback: (selectedValue) => {
|
|
241
|
-
parent.app.dispatch({
|
|
242
|
-
type: "plot_edit",
|
|
243
|
-
id: parent.id,
|
|
244
|
-
config: {
|
|
245
|
-
settings: {
|
|
246
|
-
matrix: {
|
|
247
|
-
sortBySampleAncestry: selectedValue
|
|
248
|
-
//sortByCNV, // needed to show the correct status for checkbox, but actual sorting behavior
|
|
249
|
-
//sortOptions // is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
const ssmDiv = basicDiv.append("div");
|
|
258
|
-
ssmDiv.append("span").html("SSM");
|
|
259
|
-
const { inputs } = make_radios({
|
|
260
|
-
// holder, options, callback, styles
|
|
261
|
-
holder: ssmDiv.append("span"),
|
|
262
|
-
options: [
|
|
263
|
-
{ label: "by consequence", value: "consequence", checked: m.sortByMutation === "consequence" },
|
|
264
|
-
{ label: "by presence", value: "presence", checked: m.sortByMutation === "presence" }
|
|
265
|
-
],
|
|
266
|
-
styles: {
|
|
267
|
-
display: "inline-block"
|
|
268
|
-
},
|
|
269
|
-
callback: (sortByMutation) => {
|
|
270
|
-
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
271
|
-
const activeOption = sortOptions.a;
|
|
272
|
-
const mutTb = activeOption.sortPriority[0].tiebreakers[1];
|
|
273
|
-
mutTb.disabled = !sortByMutation;
|
|
274
|
-
mutTb.isOrdered = sortByMutation === "consequence";
|
|
275
|
-
parent.app.dispatch({
|
|
276
|
-
type: "plot_edit",
|
|
277
|
-
id: parent.id,
|
|
278
|
-
config: {
|
|
279
|
-
settings: {
|
|
280
|
-
matrix: {
|
|
281
|
-
sortByMutation,
|
|
282
|
-
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
283
|
-
sortOptions
|
|
284
|
-
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
});
|
|
291
|
-
inputs.style("margin", "2px 0 0 2px").style("vertical-align", "top");
|
|
292
|
-
const cnvDiv = basicDiv.append("div").style("display", m.showMatrixCNV != "none" && !m.allMatrixCNVHidden ? "block" : "none");
|
|
293
|
-
cnvDiv.append("span").html("CNV");
|
|
294
|
-
const checkbox = make_one_checkbox({
|
|
295
|
-
holder: cnvDiv.append("span"),
|
|
296
|
-
divstyle: { display: "inline-block" },
|
|
297
|
-
checked: m.sortByCNV,
|
|
298
|
-
labeltext: "sort by CNV",
|
|
299
|
-
callback: () => {
|
|
300
|
-
const sortByCNV = checkbox.property("checked");
|
|
301
|
-
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
302
|
-
const activeOption = sortOptions.a;
|
|
303
|
-
const cnvTb = activeOption.sortPriority[0].tiebreakers[2];
|
|
304
|
-
cnvTb.disabled = !sortByCNV;
|
|
305
|
-
cnvTb.isOrdered = sortByCNV;
|
|
306
|
-
parent.app.dispatch({
|
|
307
|
-
type: "plot_edit",
|
|
308
|
-
id: parent.id,
|
|
309
|
-
config: {
|
|
310
|
-
settings: {
|
|
311
|
-
matrix: {
|
|
312
|
-
sortByCNV,
|
|
313
|
-
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
314
|
-
sortOptions
|
|
315
|
-
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
});
|
|
320
|
-
}
|
|
321
|
-
});
|
|
322
|
-
const advancedDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "advanced" ? "" : "none");
|
|
323
|
-
input.dom.row.on("mouseover", function() {
|
|
324
|
-
this.style.backgroundColor = "#fff";
|
|
325
|
-
this.style.textShadow = "none";
|
|
326
|
-
});
|
|
327
|
-
if (!controls.sorterUi) {
|
|
328
|
-
controls.sorterUi = getSorterUi({
|
|
329
|
-
controls,
|
|
330
|
-
holder: advancedDiv,
|
|
331
|
-
tip: controls.parent.app.tip
|
|
332
|
-
});
|
|
333
|
-
} else {
|
|
334
|
-
controls.sorterUi.main(controls.parent.config.settings.matrix, { holder: advancedDiv });
|
|
335
|
-
}
|
|
336
|
-
return {
|
|
337
|
-
main: (plot) => {
|
|
338
|
-
const s2 = plot.settings.matrix;
|
|
339
|
-
inputs.property("checked", (d) => d.value == s2.sortByMutation);
|
|
340
|
-
checkbox.property("checked", s2.sortByCNV);
|
|
341
|
-
cnvDiv.style("display", s2.showMatrixCNV != "none" && !s2.allMatrixCNVHidden ? "block" : "none");
|
|
342
|
-
}
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
});
|
|
346
|
-
self2.opts.holder.append("button").attr("data-testid", "sjpp-matrix-samples-button").datum({
|
|
347
|
-
label: l.Samples || `Samples`,
|
|
348
|
-
getCount: () => "sampleCount" in self2.overrides ? self2.overrides.sampleCount : self2.parent.sampleOrder?.length || 0,
|
|
349
|
-
rows,
|
|
350
|
-
customInputs: updateSamplesControls
|
|
351
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
352
|
-
}
|
|
353
|
-
function updateSamplesControls(self2, app, parent, table) {
|
|
354
|
-
if (parent.chartType == "hierCluster" && parent.config.settings.hierCluster.clusterSamples) {
|
|
355
|
-
const l = parent.config.settings.matrix.controlLabels;
|
|
356
|
-
const sortingControl = select_default(
|
|
357
|
-
table.selectAll("td").filter(function() {
|
|
358
|
-
return select_default(this).text() == `Sort ${l.Sample} Priority`;
|
|
359
|
-
}).node().closest("tr")
|
|
360
|
-
);
|
|
361
|
-
sortingControl.style("display", "none");
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
// plots/matrix/matrix.controls.genes.ts
|
|
366
|
-
var tip = new Menu({ padding: "" });
|
|
367
|
-
function setGenesBtn(self2, s) {
|
|
368
|
-
const l = s.controlLabels;
|
|
369
|
-
const renderStyleOptions = [
|
|
370
|
-
{
|
|
371
|
-
label: ` Stacked <span style="font-size:.7em;color:#555;">Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene</span>`,
|
|
372
|
-
value: "",
|
|
373
|
-
title: `Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
label: ` OncoPrint <span style="font-size:.7em;color:#555;">Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene</span>`,
|
|
377
|
-
value: "oncoprint",
|
|
378
|
-
title: `Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
379
|
-
}
|
|
380
|
-
];
|
|
381
|
-
if (s.addMutationCNVButtons && self2.parent.chartType !== "hierCluster")
|
|
382
|
-
renderStyleOptions.unshift({
|
|
383
|
-
label: ` Single <span style="font-size:.7em;color:#555;">Show a single rectangle in a matrix cell to render the most severe variant (truncating > indels > missense > synonymous) for the same ${l.sample} and gene</span>`,
|
|
384
|
-
value: "single",
|
|
385
|
-
title: `Show a single rectangle in a matrix cell to render the most severe variant (truncating > indels > missense > synonymous) for the same ${l.sample} and gene`
|
|
386
|
-
});
|
|
387
|
-
self2.opts.holder.append("button").datum({
|
|
388
|
-
label: "Genes",
|
|
389
|
-
getCount: () => self2.parent.termOrder?.filter(
|
|
390
|
-
(t) => t.tw.term.type == TermTypes.GENE_VARIANT || t.tw.term.type == TermTypes.GENE_EXPRESSION
|
|
391
|
-
).length || 0,
|
|
392
|
-
customInputs: addGeneInputs,
|
|
393
|
-
rows: [
|
|
394
|
-
{
|
|
395
|
-
label: `Display ${l.Sample} Counts for Gene`,
|
|
396
|
-
title: `Include the ${l.sample} count in the gene label`,
|
|
397
|
-
type: "radio",
|
|
398
|
-
chartType: "matrix",
|
|
399
|
-
settingsKey: "samplecount4gene",
|
|
400
|
-
styles: { display: "inline-block" },
|
|
401
|
-
options: [
|
|
402
|
-
{ label: "Absolute", value: "abs" },
|
|
403
|
-
{ label: `Percent`, value: "pct" },
|
|
404
|
-
{ label: `None`, value: "" }
|
|
405
|
-
],
|
|
406
|
-
getDisplayStyle() {
|
|
407
|
-
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
// TODO: implement this contol option
|
|
411
|
-
// {
|
|
412
|
-
// label: `Exclude From ${l.Sample} Displayed Counts`,
|
|
413
|
-
// title: `Do not include these variations/mutations when counting samples for a gene.`,
|
|
414
|
-
// type: 'text',
|
|
415
|
-
// chartType: 'matrix',
|
|
416
|
-
// settingsKey: 'geneVariantCountSamplesSkipMclass',
|
|
417
|
-
// processInput: tw => {},
|
|
418
|
-
// },
|
|
419
|
-
{
|
|
420
|
-
label: "Genomic Alterations Rendering",
|
|
421
|
-
title: `Set how to indicate a ${l.sample}'s applicable variant types in the same matrix cell`,
|
|
422
|
-
type: "radio",
|
|
423
|
-
chartType: "matrix",
|
|
424
|
-
settingsKey: "cellEncoding",
|
|
425
|
-
options: renderStyleOptions,
|
|
426
|
-
styles: { padding: "5px 0px", margin: 0 },
|
|
427
|
-
labelDisplay: "block",
|
|
428
|
-
getDisplayStyle() {
|
|
429
|
-
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
430
|
-
},
|
|
431
|
-
callback: self2.parent.geneStyleControlCallback
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
label: "Sort Genes",
|
|
435
|
-
title: "Set how to order the genes as rows",
|
|
436
|
-
type: "radio",
|
|
437
|
-
chartType: "matrix",
|
|
438
|
-
settingsKey: "sortTermsBy",
|
|
439
|
-
options: [
|
|
440
|
-
{ label: "By Input Data Order", value: "asListed" },
|
|
441
|
-
{ label: `By ${l.sample} Count`, value: "sampleCount" }
|
|
442
|
-
],
|
|
443
|
-
styles: { padding: 0, "padding-right": "10px", margin: 0, display: "inline-block" },
|
|
444
|
-
getDisplayStyle() {
|
|
445
|
-
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
]
|
|
449
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
450
|
-
}
|
|
451
|
-
async function addGeneInputs(self2, app, parent, table) {
|
|
452
|
-
if (parent.chartType == "hierCluster" && parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
453
|
-
appendGeneInputs(self2, app, parent, table, "hierCluster");
|
|
454
|
-
}
|
|
455
|
-
if (parent.state?.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || parent.state.termdbConfig.queries.snvindel)
|
|
456
|
-
appendGeneInputs(self2, app, parent, table);
|
|
457
|
-
}
|
|
458
|
-
async function appendGeneInputs(self2, app, parent, table, geneInputType) {
|
|
459
|
-
tip.clear();
|
|
460
|
-
if (!parent.selectedGroup) parent.selectedGroup = 0;
|
|
461
|
-
if (parent.opts.customInputs?.genes) {
|
|
462
|
-
for (const inputConfig of parent.opts.customInputs.genes) {
|
|
463
|
-
inputConfig.chartType = "matrix";
|
|
464
|
-
const holder = table.append("tr");
|
|
465
|
-
if (inputConfig.title) holder.attr("aria-label", inputConfig.title);
|
|
466
|
-
const input = await initByInput[inputConfig.type](
|
|
467
|
-
Object.assign(
|
|
468
|
-
{},
|
|
469
|
-
{
|
|
470
|
-
holder,
|
|
471
|
-
app,
|
|
472
|
-
id: parent.id,
|
|
473
|
-
debug: self2.opts.debug,
|
|
474
|
-
parent
|
|
475
|
-
},
|
|
476
|
-
inputConfig
|
|
477
|
-
)
|
|
478
|
-
);
|
|
479
|
-
input.main(parent.config);
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
let geneInputTr;
|
|
483
|
-
if (geneInputType == "hierCluster" || parent.chartType !== "hierCluster") {
|
|
484
|
-
geneInputTr = table.insert("tr", () => table.select("tr").node());
|
|
485
|
-
} else {
|
|
486
|
-
const secondTr = table.selectAll("tr").nodes()[1] || null;
|
|
487
|
-
const hrTr = table.insert("tr", () => secondTr);
|
|
488
|
-
hrTr.append("td").attr("colspan", 2).append("hr").style("border", "1px solid #ccc");
|
|
489
|
-
geneInputTr = table.insert("tr", () => secondTr);
|
|
490
|
-
}
|
|
491
|
-
addGenesetInput(self2, app, parent, geneInputTr, geneInputType);
|
|
492
|
-
}
|
|
493
|
-
function addGenesetInput(self2, app, parent, tr, geneInputType) {
|
|
494
|
-
const controlPanelBtn = self2.btns.filter((d) => d.label.endsWith("Genes"))?.node();
|
|
495
|
-
const tip3 = app.tip;
|
|
496
|
-
const tg = parent.config.termgroups;
|
|
497
|
-
const { maxGenes, genesetEditUiVersion } = parent.settings?.matrix || parent.config?.settings?.matrix || {};
|
|
498
|
-
let selectedGroup;
|
|
499
|
-
const triggerGenesetEdit = (holder) => {
|
|
500
|
-
holder.selectAll("*").remove();
|
|
501
|
-
const geneList = selectedGroup.lst.map((item) => {
|
|
502
|
-
return { gene: item.name };
|
|
503
|
-
});
|
|
504
|
-
const genesetUi = genesetEditUiVersion === "withTabs" ? GeneSetEditUIwithTabs : GeneSetEditUI;
|
|
505
|
-
new genesetUi({
|
|
506
|
-
holder,
|
|
507
|
-
genome: app.opts.genome,
|
|
508
|
-
geneList,
|
|
509
|
-
// Remove the GFF Loads Gene Sets option from unclustered genes panel.
|
|
510
|
-
customInputs: parent.chartType !== "hierCluster" || geneInputType == "hierCluster" ? self2.parent.opts.customInputs?.geneset : void 0,
|
|
511
|
-
/* running hier clustering and the editing group is the group used for clustering
|
|
512
|
-
pass this mode value to inform ui to support the optional button "top variably exp gene"
|
|
513
|
-
this is hardcoded for the purpose of gene expression and should be improved
|
|
514
|
-
*/
|
|
515
|
-
mode: selectedGroup.mode,
|
|
516
|
-
minNumGenes: selectedGroup.mode == "geneExpression" ? 3 : 1,
|
|
517
|
-
maxNumGenes: maxGenes,
|
|
518
|
-
vocabApi: self2.opts.app.vocabApi,
|
|
519
|
-
callback: async ({ geneList: geneList2, groupName }) => {
|
|
520
|
-
if (!selectedGroup) throw `missing selectedGroup`;
|
|
521
|
-
tip3.hide();
|
|
522
|
-
const group = selectedGroup.status == "new" ? { name: groupName, lst: [] } : tg[selectedGroup.index];
|
|
523
|
-
if (selectedGroup.status == "new") tg.push(group);
|
|
524
|
-
const targetTermType = selectedGroup.mode == "geneExpression" ? "geneExpression" : "geneVariant";
|
|
525
|
-
const lst = group.lst.filter((tw) => tw.term.type != targetTermType);
|
|
526
|
-
const tws = await Promise.all(
|
|
527
|
-
geneList2.map(async (d) => {
|
|
528
|
-
let term;
|
|
529
|
-
if (targetTermType == "geneExpression") {
|
|
530
|
-
const gene = d.symbol || d.gene;
|
|
531
|
-
const unit = getGEunit(app.vocabApi);
|
|
532
|
-
const name = `${gene} ${unit}`;
|
|
533
|
-
term = { gene, name, type: "geneExpression" };
|
|
534
|
-
} else {
|
|
535
|
-
term = {
|
|
536
|
-
gene: d.symbol || d.gene,
|
|
537
|
-
name: d.symbol || d.gene,
|
|
538
|
-
type: "geneVariant"
|
|
539
|
-
};
|
|
540
|
-
}
|
|
541
|
-
let tw = group.lst.find((t) => {
|
|
542
|
-
const geneName = t.term.gene || t.term.name;
|
|
543
|
-
const match = d.symbol ? geneName === d.symbol : d.gene ? geneName === d.gene : false;
|
|
544
|
-
return match && t.term.type == targetTermType;
|
|
545
|
-
});
|
|
546
|
-
if (!tw) {
|
|
547
|
-
tw = { term };
|
|
548
|
-
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
549
|
-
} else if (!tw.$id) {
|
|
550
|
-
tw.$id = await get$id(self2.opts.app.vocabApi.getTwMinCopy({ term }));
|
|
551
|
-
}
|
|
552
|
-
return tw;
|
|
553
|
-
})
|
|
554
|
-
);
|
|
555
|
-
group.lst = [...lst, ...tws];
|
|
556
|
-
if (!group.lst.length) tg.splice(selectedGroup.index, 1);
|
|
557
|
-
app.dispatch({
|
|
558
|
-
type: "plot_edit",
|
|
559
|
-
id: self2.parent.id,
|
|
560
|
-
config: {
|
|
561
|
-
termgroups: tg
|
|
562
|
-
}
|
|
563
|
-
});
|
|
564
|
-
},
|
|
565
|
-
backBtn: {
|
|
566
|
-
target: "Genes Menu",
|
|
567
|
-
callback: () => {
|
|
568
|
-
controlPanelBtn.click();
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
termsAsListed: geneInputType == "hierCluster" && !self2.parent.config.settings.hierCluster.clusterRows || geneInputType != "hierCluster" && self2.parent.config.settings.matrix.sortTermsBy == "asListed"
|
|
572
|
-
});
|
|
573
|
-
};
|
|
574
|
-
const numOfEditableGrps = tg.filter((g) => g.type != "hierCluster").length;
|
|
575
|
-
tr.append("td").attr("class", "sja-termdb-config-row-label").html(geneInputType == "hierCluster" ? "Hierarchical Clustering Gene Set" : "Genomic Alteration Gene Set");
|
|
576
|
-
if (numOfEditableGrps > 0 || geneInputType == "hierCluster") {
|
|
577
|
-
const td1 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
578
|
-
const editGrpDiv = td1.append("div").append("label");
|
|
579
|
-
editGrpDiv.append("button").html(
|
|
580
|
-
numOfEditableGrps > 1 && geneInputType !== "hierCluster" ? "Edit Selected Group" : geneInputType == "hierCluster" ? "Edit Gene Set" : "Edit Current Group"
|
|
581
|
-
).on("click", () => {
|
|
582
|
-
tip3.clear();
|
|
583
|
-
setMenuBackBtn(tip3.d.append("div").style("padding", "5px"), () => controlPanelBtn.click(), `Back`);
|
|
584
|
-
const genesetEdiUiHolder = tip3.d.append("div");
|
|
585
|
-
triggerGenesetEdit(genesetEdiUiHolder);
|
|
586
|
-
});
|
|
587
|
-
if (numOfEditableGrps > 1 && geneInputType !== "hierCluster") {
|
|
588
|
-
const { nonHierClusterGroups, groupSelect } = setTermGroupSelector(self2, editGrpDiv, tg);
|
|
589
|
-
selectedGroup = nonHierClusterGroups.find((g) => g.selected);
|
|
590
|
-
groupSelect.on("change", () => {
|
|
591
|
-
selectedGroup = nonHierClusterGroups[groupSelect.property("value")];
|
|
592
|
-
});
|
|
593
|
-
} else {
|
|
594
|
-
const s = parent.config.settings.hierCluster;
|
|
595
|
-
const g = geneInputType == "hierCluster" ? tg.find((g2) => g2.type == "hierCluster") : tg.find((g2) => g2.type != "hierCluster");
|
|
596
|
-
selectedGroup = {
|
|
597
|
-
index: geneInputType == "hierCluster" ? tg.findIndex((g2) => g2.type == "hierCluster") : tg[0].type == g.type ? 0 : 1,
|
|
598
|
-
name: g.name,
|
|
599
|
-
type: g.type,
|
|
600
|
-
lst: g.type == "hierCluster" ? g.lst.map((tw) => ({ name: tw.term.gene || tw.term.name })) : g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
|
|
601
|
-
mode: g.type == "hierCluster" ? s.dataType : (
|
|
602
|
-
// !!subject to change!! when group is not clustering, and ds has mutation, defaults to MUTATION_CNV_FUSION
|
|
603
|
-
self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
604
|
-
),
|
|
605
|
-
selected: true
|
|
606
|
-
};
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
if (geneInputType == "hierCluster") {
|
|
610
|
-
return;
|
|
611
|
-
}
|
|
612
|
-
const td2 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
613
|
-
const createNewGrpDiv = td2.append("div").append("label");
|
|
614
|
-
const createBtn = createNewGrpDiv.append("button").html("Create New Group").property("disabled", true).on("click", () => {
|
|
615
|
-
tip3.clear();
|
|
616
|
-
setMenuBackBtn(tip3.d.append("div"), () => controlPanelBtn.click(), "Back");
|
|
617
|
-
const name = nameInput.property("value");
|
|
618
|
-
selectedGroup = {
|
|
619
|
-
index: tg.length,
|
|
620
|
-
name,
|
|
621
|
-
label: name,
|
|
622
|
-
lst: [],
|
|
623
|
-
status: "new",
|
|
624
|
-
mode: parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
625
|
-
};
|
|
626
|
-
triggerGenesetEdit(tip3.d.append("div"));
|
|
627
|
-
});
|
|
628
|
-
const nameInput = createNewGrpDiv.append("input").style("margin", "2px 5px").style("width", "210px").attr("placeholder", "Group Name").on("input", () => {
|
|
629
|
-
createBtn.property("disabled", !nameInput.property("value"));
|
|
630
|
-
}).on("keyup", (event) => {
|
|
631
|
-
if (event.key == "Enter" && !createBtn.property("disabled")) {
|
|
632
|
-
createBtn.node().click();
|
|
633
|
-
}
|
|
634
|
-
});
|
|
635
|
-
}
|
|
636
|
-
function setMenuBackBtn(holder, callback, label) {
|
|
637
|
-
holder.attr("tabindex", 0).style("padding", "5px").style("text-decoration", "underline").style("cursor", "pointer").style("margin-bottom", "12px").html(`« ${label}`).on("click", callback).on("keyup", (event) => {
|
|
638
|
-
if (event.key == "Enter") event.target.click();
|
|
639
|
-
});
|
|
640
|
-
}
|
|
641
|
-
function setTermGroupSelector(self2, holder, tg) {
|
|
642
|
-
const firstGrpWithGeneTw = tg.find(
|
|
643
|
-
(g) => g.lst.find((tw) => tw.term.type == TermTypes.GENE_VARIANT && g.type !== "hierCluster")
|
|
644
|
-
);
|
|
645
|
-
const groups = tg.map((g, index) => {
|
|
646
|
-
return {
|
|
647
|
-
index,
|
|
648
|
-
name: g.name,
|
|
649
|
-
type: g.type,
|
|
650
|
-
lst: g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
|
|
651
|
-
mode: self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : "",
|
|
652
|
-
selected: g === firstGrpWithGeneTw
|
|
653
|
-
};
|
|
654
|
-
});
|
|
655
|
-
const nonHierClusterGroups = groups.filter((g) => g.type != "hierCluster");
|
|
656
|
-
const groupSelect = holder.append("select").style("width", "218px").style("margin", "2px 5px");
|
|
657
|
-
for (const [i, group] of nonHierClusterGroups.entries()) {
|
|
658
|
-
if (group.label) continue;
|
|
659
|
-
if (group.name) group.label = group.name;
|
|
660
|
-
else group.label = `Unlabeled group #${i + 1}`;
|
|
661
|
-
}
|
|
662
|
-
groupSelect.selectAll("option").data(nonHierClusterGroups).enter().append("option").property("selected", (grp) => grp.selected).attr("value", (d, i) => i).html((grp) => grp.label);
|
|
663
|
-
return { nonHierClusterGroups, groupSelect };
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
// plots/matrix/matrix.controls.variables.ts
|
|
667
|
-
var tip2 = new Menu({ padding: "" });
|
|
668
|
-
function setVariablesBtn(self2, s) {
|
|
669
|
-
self2.opts.holder.append("button").datum({
|
|
670
|
-
label: s.controlLabels.Terms || `Variables`,
|
|
671
|
-
//getCount: () => self.parent.termOrder.filter(t => t.tw.term.type != 'geneVariant').length.length,
|
|
672
|
-
rows: [
|
|
673
|
-
{
|
|
674
|
-
label: `Row Group Label Max Length`,
|
|
675
|
-
title: `Truncate the row group label if it exceeds this maximum number of characters`,
|
|
676
|
-
type: "number",
|
|
677
|
-
chartType: "matrix",
|
|
678
|
-
settingsKey: "termGrpLabelMaxChars"
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
label: `Row Label Max Length`,
|
|
682
|
-
title: `Truncate the row label if it exceeds this maximum number of characters`,
|
|
683
|
-
type: "number",
|
|
684
|
-
chartType: "matrix",
|
|
685
|
-
settingsKey: "rowlabelmaxchars"
|
|
686
|
-
}
|
|
687
|
-
],
|
|
688
|
-
customInputs: appendDictInputs
|
|
689
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
690
|
-
}
|
|
691
|
-
function appendDictInputs(self2, app, parent) {
|
|
692
|
-
tip2.clear();
|
|
693
|
-
if (!parent.selectedGroup) parent.selectedGroup = parent.chartType == "hierCluster" ? 1 : 0;
|
|
694
|
-
app.tip.d.append("hr");
|
|
695
|
-
addDictMenu(self2, app, parent, app.tip.d.append("div"));
|
|
696
|
-
}
|
|
697
|
-
async function addDictMenu(self2, app, parent, holder = void 0) {
|
|
698
|
-
const termdb = await import("./app-ATQM5PKI.js");
|
|
699
|
-
termdb.appInit({
|
|
700
|
-
holder: holder || app.tip.d,
|
|
701
|
-
vocabApi: self2.parent.app.vocabApi,
|
|
702
|
-
focus: "off",
|
|
703
|
-
state: {
|
|
704
|
-
vocab: self2.parent.state.vocab,
|
|
705
|
-
activeCohort: self2.parent.activeCohort,
|
|
706
|
-
nav: {
|
|
707
|
-
header_mode: "search_only"
|
|
708
|
-
},
|
|
709
|
-
tree: {
|
|
710
|
-
usecase: { target: "matrix", detail: "termgroups" }
|
|
711
|
-
}
|
|
712
|
-
},
|
|
713
|
-
tree: {
|
|
714
|
-
submit_lst: (termlst) => {
|
|
715
|
-
submitLst(self2, termlst);
|
|
716
|
-
app.tip.hide();
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
search: {
|
|
720
|
-
focus: "off"
|
|
721
|
-
}
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
async function submitLst(self2, termlst) {
|
|
725
|
-
const newterms = await Promise.all(
|
|
726
|
-
termlst.map(async (_term) => {
|
|
727
|
-
const term = structuredClone(_term);
|
|
728
|
-
const tw = "id" in term ? { id: term.id, term } : { term };
|
|
729
|
-
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
730
|
-
return tw;
|
|
731
|
-
})
|
|
732
|
-
);
|
|
733
|
-
const termgroups = structuredClone(self2.parent.config.termgroups);
|
|
734
|
-
const i = termgroups.findIndex((g) => g.name == "Variables");
|
|
735
|
-
if (i !== -1) {
|
|
736
|
-
const grp = termgroups[i];
|
|
737
|
-
grp.lst.push(...newterms);
|
|
738
|
-
self2.parent.app.dispatch({
|
|
739
|
-
type: "plot_nestedEdits",
|
|
740
|
-
id: self2.parent.id,
|
|
741
|
-
edits: [
|
|
742
|
-
{
|
|
743
|
-
nestedKeys: ["termgroups", i, "lst"],
|
|
744
|
-
value: grp.lst
|
|
745
|
-
}
|
|
746
|
-
]
|
|
747
|
-
});
|
|
748
|
-
} else {
|
|
749
|
-
const grp = { name: "Variables", lst: newterms };
|
|
750
|
-
termgroups.push(grp);
|
|
751
|
-
self2.parent.app.dispatch({
|
|
752
|
-
type: "plot_edit",
|
|
753
|
-
id: self2.parent.id,
|
|
754
|
-
config: { termgroups }
|
|
755
|
-
});
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
// plots/matrix/matrix.controls.dimensions.ts
|
|
760
|
-
function setDimensionsBtn(self2, s) {
|
|
761
|
-
const l = s.controlLabels;
|
|
762
|
-
self2.opts.holder.append("button").datum({
|
|
763
|
-
label: "Cell Layout",
|
|
764
|
-
tables: [
|
|
765
|
-
{
|
|
766
|
-
rows: [
|
|
767
|
-
{
|
|
768
|
-
label: "Grid",
|
|
769
|
-
title: "Show grid lines, which creates borders around each matrix cells. Note that grid lines are hidden when the auto-computed width <= 2, or when either the column and row spacing is set to 0.",
|
|
770
|
-
type: "checkbox",
|
|
771
|
-
boxLabel: "show",
|
|
772
|
-
// v===true means property('checked') and convert to recognized 'rect' value for dispatch
|
|
773
|
-
// otherwise, compared value to 'rect' to set the current value of the checkbox
|
|
774
|
-
// note: the non-boolean showGrid values allow keeping the hidden value='pattern' option for benchmark tests
|
|
775
|
-
processInput: (v) => v === true ? "rect" : v === "rect",
|
|
776
|
-
chartType: "matrix",
|
|
777
|
-
settingsKey: "showGrid",
|
|
778
|
-
colspan: 2,
|
|
779
|
-
align: "center"
|
|
780
|
-
// for testing/benchmarking
|
|
781
|
-
// type: 'radio',
|
|
782
|
-
// options: [
|
|
783
|
-
// {
|
|
784
|
-
// label: 'hide',
|
|
785
|
-
// value: ''
|
|
786
|
-
// },
|
|
787
|
-
// {
|
|
788
|
-
// label: 'lines',
|
|
789
|
-
// value: 'pattern' // needs debugging for when s.rowh or d.colw does not apply to all rows
|
|
790
|
-
// },
|
|
791
|
-
// {
|
|
792
|
-
// label: 'rect',
|
|
793
|
-
// value: 'rect'
|
|
794
|
-
// }
|
|
795
|
-
// ]
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
label: "Outline Color",
|
|
799
|
-
title: "Set a border color for the whole matrix",
|
|
800
|
-
type: "color",
|
|
801
|
-
chartType: "matrix",
|
|
802
|
-
settingsKey: "outlineStroke",
|
|
803
|
-
colspan: 2,
|
|
804
|
-
align: "center"
|
|
805
|
-
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
label: "Beam Color",
|
|
809
|
-
title: "Set a color for the beam highlighter",
|
|
810
|
-
type: "color",
|
|
811
|
-
chartType: "matrix",
|
|
812
|
-
settingsKey: "beamStroke",
|
|
813
|
-
colspan: 2,
|
|
814
|
-
align: "center"
|
|
815
|
-
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
label: "Grid Line Color",
|
|
819
|
-
title: "Set the grid color, equivalent to applying the same border color for each matrix cell",
|
|
820
|
-
type: "color",
|
|
821
|
-
chartType: "matrix",
|
|
822
|
-
settingsKey: "gridStroke",
|
|
823
|
-
colspan: 2,
|
|
824
|
-
align: "center"
|
|
825
|
-
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
label: "Background Color",
|
|
829
|
-
title: `Set the background color when there are no alterations or annotation data for a ${l.sample}`,
|
|
830
|
-
type: "color",
|
|
831
|
-
chartType: "matrix",
|
|
832
|
-
settingsKey: "cellbg",
|
|
833
|
-
colspan: 2,
|
|
834
|
-
align: "center"
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
label: `Use Canvas If # ${l.sample} Exceeds`,
|
|
838
|
-
title: `Switch from SVG to canvas rendering when the number of ${l.samples} exceeds this number`,
|
|
839
|
-
type: "number",
|
|
840
|
-
chartType: "matrix",
|
|
841
|
-
settingsKey: "svgCanvasSwitch",
|
|
842
|
-
colspan: 2,
|
|
843
|
-
align: "center",
|
|
844
|
-
width: 60,
|
|
845
|
-
min: 0,
|
|
846
|
-
max: 1e4,
|
|
847
|
-
step: 1
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
label: "Canvas Min. Pixel Width",
|
|
851
|
-
title: "Set a minimum pixel width for a matrix cell when using canvas, may affect the perceived sharpness of the canvas image",
|
|
852
|
-
type: "checkbox",
|
|
853
|
-
boxLabel: "apply",
|
|
854
|
-
chartType: "matrix",
|
|
855
|
-
settingsKey: "useMinPixelWidth",
|
|
856
|
-
colspan: 2,
|
|
857
|
-
align: "center",
|
|
858
|
-
getDisplayStyle: () => self2.parent.settings.matrix.useCanvas ? "" : "none"
|
|
859
|
-
}
|
|
860
|
-
]
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
header: ["Cells", "Columns", "Rows"],
|
|
864
|
-
rows: [
|
|
865
|
-
{
|
|
866
|
-
label: "Row Height",
|
|
867
|
-
title: "Set the height of a matrix row",
|
|
868
|
-
type: "number",
|
|
869
|
-
width: 50,
|
|
870
|
-
align: "center",
|
|
871
|
-
chartType: "matrix",
|
|
872
|
-
inputs: [{ label: "N/A" }, { settingsKey: "rowh", min: 8, max: 30, step: 1 }],
|
|
873
|
-
getDisplayStyle(plot) {
|
|
874
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
label: "Min Col. Width",
|
|
879
|
-
title: "Set the minimum width of the auto-computed matrix column width",
|
|
880
|
-
type: "number",
|
|
881
|
-
width: 50,
|
|
882
|
-
align: "center",
|
|
883
|
-
chartType: "matrix",
|
|
884
|
-
inputs: [{ settingsKey: "colwMin", min: 0.1, max: 16, step: 0.2 }, { label: "N/A" }]
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
label: "Max Col. Width",
|
|
888
|
-
title: "Set the maximum width of the auto-computed matrix column width",
|
|
889
|
-
type: "number",
|
|
890
|
-
width: 50,
|
|
891
|
-
align: "center",
|
|
892
|
-
chartType: "matrix",
|
|
893
|
-
inputs: [{ settingsKey: "colwMax", min: 1, max: 24, step: 0.2 }, { label: "N/A" }]
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
label: "Spacing",
|
|
897
|
-
title: "Set the column spacing. Note that this will be set to 0 when the auto-computed width < 2.",
|
|
898
|
-
type: "number",
|
|
899
|
-
width: 50,
|
|
900
|
-
align: "center",
|
|
901
|
-
chartType: "matrix",
|
|
902
|
-
inputs: [
|
|
903
|
-
{ settingsKey: "colspace", min: 0, max: 20, step: 1 },
|
|
904
|
-
{ settingsKey: "rowspace", min: 0, max: 20, step: 1 }
|
|
905
|
-
],
|
|
906
|
-
getDisplayStyle(plot) {
|
|
907
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
908
|
-
}
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
label: "Group spacing",
|
|
912
|
-
title: "Set the spacing between column and row groups.",
|
|
913
|
-
type: "number",
|
|
914
|
-
width: 50,
|
|
915
|
-
align: "center",
|
|
916
|
-
chartType: "matrix",
|
|
917
|
-
inputs: [
|
|
918
|
-
self2.parent.chartType == "hierCluster" ? { label: "N/A" } : { settingsKey: "colgspace", min: 0, max: 20, step: 1 },
|
|
919
|
-
{ settingsKey: "rowgspace", min: 0, max: 20, step: 1 }
|
|
920
|
-
]
|
|
921
|
-
}
|
|
922
|
-
]
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
header: ["Labels", "Columns", "Rows"],
|
|
926
|
-
rows: [
|
|
927
|
-
{
|
|
928
|
-
label: "Offset",
|
|
929
|
-
title: "Set the gap between the label text and matrix edge",
|
|
930
|
-
type: "number",
|
|
931
|
-
width: 50,
|
|
932
|
-
align: "center",
|
|
933
|
-
chartType: "matrix",
|
|
934
|
-
inputs: [
|
|
935
|
-
{ settingsKey: "collabelgap", min: 0, max: 20, step: 1 },
|
|
936
|
-
{ settingsKey: "rowlabelgap", min: 0, max: 20, step: 1 }
|
|
937
|
-
]
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
label: "Spacing",
|
|
941
|
-
title: "Set the gap between labels",
|
|
942
|
-
type: "number",
|
|
943
|
-
width: 50,
|
|
944
|
-
align: "center",
|
|
945
|
-
chartType: "matrix",
|
|
946
|
-
inputs: [
|
|
947
|
-
{ settingsKey: "collabelpad", min: 0, max: 20, step: 1 },
|
|
948
|
-
{ settingsKey: "rowlabelpad", min: 0, max: 20, step: 1 }
|
|
949
|
-
]
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
label: "Min font size",
|
|
953
|
-
title: "Set the minimum auto-computed font size for labels. Note that labels will be hidden if the auto-computed values falls below this minimum.",
|
|
954
|
-
type: "number",
|
|
955
|
-
width: 50,
|
|
956
|
-
align: "center",
|
|
957
|
-
colspan: 2,
|
|
958
|
-
chartType: "matrix",
|
|
959
|
-
settingsKey: "minLabelFontSize",
|
|
960
|
-
min: 0,
|
|
961
|
-
max: 24,
|
|
962
|
-
step: 0.1
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
label: "Max font size",
|
|
966
|
-
title: "Set the maximum auto-computed font size for labels",
|
|
967
|
-
type: "number",
|
|
968
|
-
width: 50,
|
|
969
|
-
align: "center",
|
|
970
|
-
colspan: 2,
|
|
971
|
-
chartType: "matrix",
|
|
972
|
-
settingsKey: "maxLabelFontSize",
|
|
973
|
-
min: 0,
|
|
974
|
-
max: 24,
|
|
975
|
-
step: 0.1
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
label: "Group label<br/>position",
|
|
979
|
-
title: "Set which side of the matrix to display group labels",
|
|
980
|
-
type: "radio",
|
|
981
|
-
width: 50,
|
|
982
|
-
chartType: "matrix",
|
|
983
|
-
labelDisplay: "block",
|
|
984
|
-
getDisplayStyle(plot) {
|
|
985
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
986
|
-
},
|
|
987
|
-
inputs: [
|
|
988
|
-
{
|
|
989
|
-
settingsKey: "collabelpos",
|
|
990
|
-
// switched since settings.collabelpos refers to the individual column label, not group
|
|
991
|
-
options: [
|
|
992
|
-
{ label: "Top", value: "bottom", title: `Display ${l.sample} group labels at the bottom` },
|
|
993
|
-
{ label: "Bottom", value: "top", title: `Display ${l.sample} group labels on top` }
|
|
994
|
-
]
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
settingsKey: "rowlabelpos",
|
|
998
|
-
// switched since settings.rowlabelpos refers to the individual column label, not group
|
|
999
|
-
options: [
|
|
1000
|
-
{
|
|
1001
|
-
label: "Left",
|
|
1002
|
-
value: "right",
|
|
1003
|
-
title: `Display gene or variable group labels on the left side`
|
|
1004
|
-
},
|
|
1005
|
-
{
|
|
1006
|
-
label: "Right",
|
|
1007
|
-
value: "left",
|
|
1008
|
-
title: `Display gene or variable group labels on the right side`
|
|
1009
|
-
}
|
|
1010
|
-
]
|
|
1011
|
-
}
|
|
1012
|
-
]
|
|
1013
|
-
}
|
|
1014
|
-
]
|
|
1015
|
-
}
|
|
1016
|
-
]
|
|
1017
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
// plots/matrix/matrix.controls.legend.ts
|
|
1021
|
-
function setLegendBtn(self2) {
|
|
1022
|
-
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1023
|
-
label: "Legend Layout",
|
|
1024
|
-
rows: [
|
|
1025
|
-
//ontop: false,
|
|
1026
|
-
{
|
|
1027
|
-
label: "Font Size",
|
|
1028
|
-
title: "Set the font size for the legend text",
|
|
1029
|
-
type: "number",
|
|
1030
|
-
chartType: "legend",
|
|
1031
|
-
settingsKey: "fontsize"
|
|
1032
|
-
},
|
|
1033
|
-
{
|
|
1034
|
-
label: "Line Height",
|
|
1035
|
-
title: "Set the line height for a legend group",
|
|
1036
|
-
type: "number",
|
|
1037
|
-
chartType: "legend",
|
|
1038
|
-
settingsKey: "lineh"
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
label: "Icon Height",
|
|
1042
|
-
title: "Set the icon height for a legend item",
|
|
1043
|
-
type: "number",
|
|
1044
|
-
chartType: "legend",
|
|
1045
|
-
settingsKey: "iconh"
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
label: "Icon Width",
|
|
1049
|
-
title: "Set the icon width for a legend item",
|
|
1050
|
-
type: "number",
|
|
1051
|
-
chartType: "legend",
|
|
1052
|
-
settingsKey: "iconw"
|
|
1053
|
-
},
|
|
1054
|
-
/*{
|
|
1055
|
-
label: 'Bottom margin',
|
|
1056
|
-
type: 'number',
|
|
1057
|
-
chartType: 'legend',
|
|
1058
|
-
settingsKey: 'padbtm'
|
|
1059
|
-
},*/
|
|
1060
|
-
{
|
|
1061
|
-
label: "Item Left Pad",
|
|
1062
|
-
title: "Set a left margin for each legend item",
|
|
1063
|
-
type: "number",
|
|
1064
|
-
chartType: "legend",
|
|
1065
|
-
settingsKey: "padx"
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
label: "Left Margin",
|
|
1069
|
-
title: "Set a left margin for the whole legend",
|
|
1070
|
-
type: "number",
|
|
1071
|
-
chartType: "legend",
|
|
1072
|
-
settingsKey: "padleft"
|
|
1073
|
-
},
|
|
1074
|
-
{
|
|
1075
|
-
label: "Left Indent",
|
|
1076
|
-
title: `Set a left margin for the first legend item in each group, and should be set to the length of the longest group label. The left indent will align the legend group label text to the right.`,
|
|
1077
|
-
type: "number",
|
|
1078
|
-
chartType: "legend",
|
|
1079
|
-
settingsKey: "hangleft"
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
label: "Item Layout",
|
|
1083
|
-
title: "Option to separate each legend item into a new line, instead of a horizontal layout in the same line.",
|
|
1084
|
-
type: "checkbox",
|
|
1085
|
-
chartType: "legend",
|
|
1086
|
-
settingsKey: "linesep",
|
|
1087
|
-
boxLabel: "Line separated"
|
|
1088
|
-
}
|
|
1089
|
-
]
|
|
1090
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
// plots/matrix/matrix.controls.mutations.ts
|
|
1094
|
-
function setMutationBtn(self2) {
|
|
1095
|
-
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1096
|
-
label: "Mutation",
|
|
1097
|
-
updateBtn: (btn) => {
|
|
1098
|
-
const s = self2.parent.config.settings.matrix;
|
|
1099
|
-
btn.style("text-decoration", s.allMatrixMutationHidden ? "line-through" : "").style("text-decoration-thickness", s.allMatrixMutationHidden ? "2px" : "");
|
|
1100
|
-
},
|
|
1101
|
-
rows: [
|
|
1102
|
-
{
|
|
1103
|
-
title: `Show mutation options`,
|
|
1104
|
-
type: "radio",
|
|
1105
|
-
chartType: "matrix",
|
|
1106
|
-
settingsKey: "showMatrixMutation",
|
|
1107
|
-
options: [
|
|
1108
|
-
{ label: "Show all mutations", value: "all" },
|
|
1109
|
-
{ label: `Show only truncating mutations`, value: "onlyTruncating" },
|
|
1110
|
-
{ label: `Show only protein-changing mutations`, value: "onlyPC" },
|
|
1111
|
-
{ label: `Do not show mutations`, value: "none" },
|
|
1112
|
-
{ label: `Show selected mutation`, value: "bySelection" }
|
|
1113
|
-
],
|
|
1114
|
-
labelDisplay: "block",
|
|
1115
|
-
getDisplayStyle(plot) {
|
|
1116
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1117
|
-
},
|
|
1118
|
-
callback: self2.parent.mutationControlCallback
|
|
1119
|
-
}
|
|
1120
|
-
],
|
|
1121
|
-
customInputs: generateMutationItems
|
|
1122
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1123
|
-
}
|
|
1124
|
-
function generateMutationItems(self2, app, parent, table) {
|
|
1125
|
-
table.attr("class", null);
|
|
1126
|
-
const m = parent.config.settings.matrix;
|
|
1127
|
-
const cnvLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtcnv));
|
|
1128
|
-
if (m.showMatrixMutation !== "none" && (m.allMatrixCNVHidden || !cnvLegendGrp || cnvLegendGrp.crossedOut || !cnvLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1129
|
-
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1130
|
-
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1131
|
-
}
|
|
1132
|
-
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixMutation == "bySelection")
|
|
1133
|
-
parent.mutationControlCallback("bySelection");
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
// plots/matrix/matrix.controls.cnv.ts
|
|
1137
|
-
function setCNVBtn(self2) {
|
|
1138
|
-
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1139
|
-
label: "CNV",
|
|
1140
|
-
updateBtn: (btn) => {
|
|
1141
|
-
const s = self2.parent.config.settings.matrix;
|
|
1142
|
-
const notRendered = s.allMatrixCNVHidden;
|
|
1143
|
-
btn.style("text-decoration", notRendered ? "line-through" : "").style("text-decoration-thickness", notRendered ? "2px" : "");
|
|
1144
|
-
},
|
|
1145
|
-
rows: [
|
|
1146
|
-
{
|
|
1147
|
-
title: `Show CNV options`,
|
|
1148
|
-
type: "radio",
|
|
1149
|
-
chartType: "matrix",
|
|
1150
|
-
settingsKey: "showMatrixCNV",
|
|
1151
|
-
options: [
|
|
1152
|
-
{ label: "Show all CNV", value: "all" },
|
|
1153
|
-
{ label: `Do not show CNV`, value: "none" },
|
|
1154
|
-
{ label: `Show selected CNV`, value: "bySelection" }
|
|
1155
|
-
],
|
|
1156
|
-
labelDisplay: "block",
|
|
1157
|
-
getDisplayStyle(plot) {
|
|
1158
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1159
|
-
},
|
|
1160
|
-
callback: self2.parent.CNVControlCallback
|
|
1161
|
-
}
|
|
1162
|
-
],
|
|
1163
|
-
customInputs: generateCNVItems
|
|
1164
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1165
|
-
}
|
|
1166
|
-
function generateCNVItems(self2, app, parent, table) {
|
|
1167
|
-
table.attr("class", null);
|
|
1168
|
-
const m = parent.config.settings.matrix;
|
|
1169
|
-
const mutationLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtsnvindel));
|
|
1170
|
-
if (m.showMatrixCNV !== "none" && (m.allMatrixMutationHidden || !mutationLegendGrp || mutationLegendGrp.crossedOut || !mutationLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1171
|
-
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1172
|
-
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1173
|
-
}
|
|
1174
|
-
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixCNV == "bySelection")
|
|
1175
|
-
parent.CNVControlCallback("bySelection");
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
// plots/matrix/matrix.controls.download.ts
|
|
1179
|
-
function setDownloadBtn(self2) {
|
|
1180
|
-
self2.opts.holder.append("button").style("margin", "2px 0").text("Download").on("focus", () => self2.parent.app.tip.hide()).on("click.sjpp-matrix-download", (event) => {
|
|
1181
|
-
const p = self2.parent;
|
|
1182
|
-
if (!p.dom.downloadMenu) p.dom.downloadMenu = new Menu({ padding: "" });
|
|
1183
|
-
const downloadMenu = p.dom.downloadMenu.clear();
|
|
1184
|
-
const div = downloadMenu.d.append("div");
|
|
1185
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`SVG image`).on("click.sjpp-matrix-download", () => {
|
|
1186
|
-
to_svg(self2.opts.getSvg(), "matrix", { apply_dom_styles: true });
|
|
1187
|
-
p.dom.downloadMenu.destroy();
|
|
1188
|
-
});
|
|
1189
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`TSV data`).on("click.sjpp-matrix-download", () => {
|
|
1190
|
-
const lst = p.data.lst;
|
|
1191
|
-
const allTerms = p.termOrder.map((t) => t.tw);
|
|
1192
|
-
const assayAvailability = p.state.termdbConfig.assayAvailability;
|
|
1193
|
-
const controlLabels = p.settings.matrix.controlLabels;
|
|
1194
|
-
if (p.config.divideBy?.id && !allTerms.find((a2) => a2.id == p.config.divideBy.id)) {
|
|
1195
|
-
allTerms.push(p.config.divideBy);
|
|
1196
|
-
}
|
|
1197
|
-
const activeSamples = [];
|
|
1198
|
-
for (const d of lst) {
|
|
1199
|
-
for (const tw of allTerms) {
|
|
1200
|
-
if (tw.$id in d) {
|
|
1201
|
-
activeSamples.push(d);
|
|
1202
|
-
break;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
const header = [controlLabels.Sample];
|
|
1207
|
-
for (const tw of allTerms) header.push(tw.term.name);
|
|
1208
|
-
const rows = [header];
|
|
1209
|
-
for (const sample of activeSamples) {
|
|
1210
|
-
const row = [sample._ref_.label];
|
|
1211
|
-
for (const tw of allTerms) {
|
|
1212
|
-
if (!sample[tw.$id]) {
|
|
1213
|
-
row.push("");
|
|
1214
|
-
} else {
|
|
1215
|
-
if (tw.term.type == "geneVariant") {
|
|
1216
|
-
const allVariant = [];
|
|
1217
|
-
for (const v of sample[tw.$id].renderedValues) {
|
|
1218
|
-
const hasAssayAvailability = assayAvailability?.byDt?.[parseInt(v.dt)];
|
|
1219
|
-
if (v.dt == dtsnvindel) {
|
|
1220
|
-
allVariant.push(
|
|
1221
|
-
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.mname ? `,${v.mname}` : "")
|
|
1222
|
-
);
|
|
1223
|
-
} else if (v.dt == dtcnv) {
|
|
1224
|
-
const cnvValue = v.value ? `${hasAssayAvailability ? "" : "CNV:"}${v.value}` : v.class == "CNV_amp" ? "CNV gain" : v.class == "CNV_loss" ? "CNV loss" : v.class == "CNV_homozygous_deletion" ? "CNV homozygous deletion" : v.class == "CNV_amplification" ? "CNV amplification" : v.class == "CNV_loh" ? "CNV loss of heterozygosity" : mclass[v.class]?.label;
|
|
1225
|
-
allVariant.push(
|
|
1226
|
-
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + cnvValue
|
|
1227
|
-
);
|
|
1228
|
-
} else if (v.dt == dtfusionrna || v.dt == dtsv) {
|
|
1229
|
-
allVariant.push(
|
|
1230
|
-
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + /* mname is the partner gene of the fusion, so it is emitted whenever
|
|
1231
|
-
present. The queried gene prefixes it as the usual BCR::ABL1 notation;
|
|
1232
|
-
a queried region has no gene to name, and its coordinates are not put
|
|
1233
|
-
in an export, so the partner stands alone there */
|
|
1234
|
-
(v.mname ? `(${v.gene ? `${v.gene}::` : ""}${v.mname})` : "")
|
|
1235
|
-
);
|
|
1236
|
-
} else {
|
|
1237
|
-
allVariant.push(`DO NOT SUPPORT dt='${v.dt}'`);
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
row.push(allVariant.join("|"));
|
|
1241
|
-
} else if (tw.term.type == TermTypes.GENE_EXPRESSION || tw.term.type == TermTypes.METABOLITE_INTENSITY || tw.term.type == TermTypes.PROTEOME_ABUNDANCE) {
|
|
1242
|
-
row.push(sample[tw.$id]?.renderedValues?.[0]?.value || "");
|
|
1243
|
-
} else {
|
|
1244
|
-
row.push(sample[tw.$id]?.renderedValues?.[0] || sample[tw.$id]?.value || "");
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
rows.push(row);
|
|
1249
|
-
}
|
|
1250
|
-
const matrix = rows.map((row) => row.join(" ")).join("\n");
|
|
1251
|
-
const a = document.createElement("a");
|
|
1252
|
-
document.body.appendChild(a);
|
|
1253
|
-
a.addEventListener(
|
|
1254
|
-
"click",
|
|
1255
|
-
function() {
|
|
1256
|
-
const currentDate = fileDateStamp();
|
|
1257
|
-
a.download = p.config.settings?.hierCluster?.termGroupName?.startsWith("Gene Expression") ? `GeneExpression.${currentDate}.tsv` : p.chartType == "hierCluster" ? `HierCluster.${currentDate}.tsv` : `${p.app.vocabApi.termdbConfig.matrix?.appName || "Matrix"}.${currentDate}.tsv`;
|
|
1258
|
-
a.href = URL.createObjectURL(new Blob([matrix], { type: "text/tab-separated-values" }));
|
|
1259
|
-
document.body.removeChild(a);
|
|
1260
|
-
},
|
|
1261
|
-
false
|
|
1262
|
-
);
|
|
1263
|
-
a.click();
|
|
1264
|
-
p.dom.downloadMenu.destroy();
|
|
1265
|
-
});
|
|
1266
|
-
downloadMenu.showunder(event.target);
|
|
1267
|
-
});
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
// plots/matrix/matrix.zoomPanScroll.ts
|
|
1271
|
-
function setZoomInput(self2) {
|
|
1272
|
-
const holder = self2.opts.holder.append("div").style("display", "inline-block").style("margin-left", "50px");
|
|
1273
|
-
const s = self2.parent.settings.matrix || self2.parent.config.settings.matrix;
|
|
1274
|
-
self2.zoomApi = zoom({
|
|
1275
|
-
holder,
|
|
1276
|
-
title: "Zoom factor relative to the ideal column width, as computed for the number of columns versus available screen width",
|
|
1277
|
-
unit: "",
|
|
1278
|
-
width: "80px",
|
|
1279
|
-
settings: {
|
|
1280
|
-
min: 0.1,
|
|
1281
|
-
// will be determined once the auto-computed width is determined
|
|
1282
|
-
max: 1,
|
|
1283
|
-
// will be determined once the auto-computed width is determined
|
|
1284
|
-
value: 1,
|
|
1285
|
-
increment: s.zoomIncrement,
|
|
1286
|
-
step: s.zoomStep || 5
|
|
1287
|
-
},
|
|
1288
|
-
callback: (zoomLevel) => {
|
|
1289
|
-
const p = self2.parent;
|
|
1290
|
-
const c = p.getVisibleCenterCell(0);
|
|
1291
|
-
p.app.dispatch({
|
|
1292
|
-
type: "plot_edit",
|
|
1293
|
-
id: p.id,
|
|
1294
|
-
config: {
|
|
1295
|
-
settings: {
|
|
1296
|
-
matrix: {
|
|
1297
|
-
zoomLevel,
|
|
1298
|
-
zoomCenterPct: 0.5,
|
|
1299
|
-
zoomIndex: c.totalIndex,
|
|
1300
|
-
zoomGrpIndex: c.grpIndex
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
});
|
|
1305
|
-
},
|
|
1306
|
-
reset: () => {
|
|
1307
|
-
self2.parent.app.dispatch({
|
|
1308
|
-
type: "plot_edit",
|
|
1309
|
-
id: self2.parent.id,
|
|
1310
|
-
config: {
|
|
1311
|
-
settings: {
|
|
1312
|
-
matrix: {
|
|
1313
|
-
zoomLevel: 1,
|
|
1314
|
-
zoomCenterPct: 0
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
});
|
|
1319
|
-
}
|
|
1320
|
-
});
|
|
1321
|
-
}
|
|
1322
|
-
function setDragToggle(self2, opts = {}) {
|
|
1323
|
-
const defaults = {
|
|
1324
|
-
mouseMode: "select",
|
|
1325
|
-
activeBgColor: "rgb(255, 255, 255)"
|
|
1326
|
-
};
|
|
1327
|
-
opts.target.style("cursor", "default");
|
|
1328
|
-
const instance = {
|
|
1329
|
-
opts: Object.assign({}, defaults, opts),
|
|
1330
|
-
dom: {
|
|
1331
|
-
selectBtn: opts.holder.append("button").attr("aria-label", "Click the matrix to select data").style("display", "inline-block").style("width", "25px").style("height", "24.5px").style("background-color", defaults.activeBgColor).on("click", () => setMode("select")),
|
|
1332
|
-
grabBtn: opts.holder.append("button").attr("aria-label", "Click the matrix to drag and move").style("display", "inline-block").style("width", "25px").style("height", "24.5px").on("click", () => setMode("pan"))
|
|
1333
|
-
}
|
|
1334
|
-
};
|
|
1335
|
-
icons.arrowPointer(instance.dom.selectBtn, { width: 14, height: 14, transform: "translate(50,50)" });
|
|
1336
|
-
icons.grab(instance.dom.grabBtn, { width: 14, height: 14, transform: "translate(30,50)" });
|
|
1337
|
-
function setMode(m) {
|
|
1338
|
-
instance.opts.mouseMode = m;
|
|
1339
|
-
self2.parent.settings.matrix.mouseMode = m;
|
|
1340
|
-
opts.target.style("cursor", m == "select" ? "default" : "grab");
|
|
1341
|
-
instance.dom.selectBtn.style("background-color", m == "select" ? instance.opts.activeBgColor : "");
|
|
1342
|
-
instance.dom.grabBtn.style("background-color", m == "pan" ? instance.opts.activeBgColor : "");
|
|
1343
|
-
}
|
|
1344
|
-
self2.dragToggleApi = {
|
|
1345
|
-
update(s = {}) {
|
|
1346
|
-
Object.assign(instance.opts, s);
|
|
1347
|
-
setMode(instance.opts.mouseMode);
|
|
1348
|
-
},
|
|
1349
|
-
getSettings() {
|
|
1350
|
-
return {
|
|
1351
|
-
mouseMode: instance.opts.mouseMode
|
|
1352
|
-
};
|
|
1353
|
-
}
|
|
1354
|
-
};
|
|
1355
|
-
}
|
|
1356
|
-
function setSvgScroll(self2, state) {
|
|
1357
|
-
self2.svgScrollApi = svgScroll({
|
|
1358
|
-
holder: self2.parent.dom.scroll,
|
|
1359
|
-
height: state.config.settings.matrix.scrollHeight,
|
|
1360
|
-
callback: (dx, eventType) => {
|
|
1361
|
-
const p = self2.parent;
|
|
1362
|
-
const s = p.settings.matrix;
|
|
1363
|
-
const d = p.dimensions;
|
|
1364
|
-
if (eventType == "move") {
|
|
1365
|
-
p.dom.seriesesG.attr("transform", `translate(${d.xOffset + d.seriesXoffset - dx},${d.yOffset})`);
|
|
1366
|
-
p.clusterRenderer.translateElems(-dx, s, d);
|
|
1367
|
-
p.layout.top.attr.adjustBoxTransform(-dx);
|
|
1368
|
-
p.layout.btm.attr.adjustBoxTransform(-dx);
|
|
1369
|
-
if (p.dom.topDendrogram) {
|
|
1370
|
-
p.dom.topDendrogram.attr("transform", `translate(${p.topDendroX - dx},0)`);
|
|
1371
|
-
}
|
|
1372
|
-
} else if (eventType == "up") {
|
|
1373
|
-
const c = p.getVisibleCenterCell(-dx);
|
|
1374
|
-
p.app.dispatch({
|
|
1375
|
-
type: "plot_edit",
|
|
1376
|
-
id: p.id,
|
|
1377
|
-
config: {
|
|
1378
|
-
settings: {
|
|
1379
|
-
matrix: {
|
|
1380
|
-
zoomCenterPct: 0.5,
|
|
1381
|
-
zoomIndex: c.totalIndex,
|
|
1382
|
-
zoomGrpIndex: c.grpIndex
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
});
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
});
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
// plots/matrix/matrix.controls.ts
|
|
1393
|
-
var MatrixControls = class {
|
|
1394
|
-
constructor(opts, appState) {
|
|
1395
|
-
this.activeTab = "basic";
|
|
1396
|
-
this.type = "matrixControls";
|
|
1397
|
-
this.opts = opts;
|
|
1398
|
-
this.parent = opts.parent;
|
|
1399
|
-
this.overrides = {};
|
|
1400
|
-
this.opts.holder.style("margin", "10px 10px 20px 10px").style("white-space", "nowrap");
|
|
1401
|
-
const state = this.parent.getState(appState);
|
|
1402
|
-
const s = state.config.settings.matrix;
|
|
1403
|
-
if (this.parent.setClusteringBtn)
|
|
1404
|
-
this.parent.setClusteringBtn(this.opts.holder, (event, data) => this.callback(event, data));
|
|
1405
|
-
setSamplesBtn(this, s);
|
|
1406
|
-
if (state.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || state.termdbConfig.queries.snvindel || this.parent.chartType == "hierCluster" && this.parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
1407
|
-
setGenesBtn(this, s);
|
|
1408
|
-
}
|
|
1409
|
-
if (s.addMutationCNVButtons && this.parent.chartType !== "hierCluster") {
|
|
1410
|
-
setMutationBtn(this);
|
|
1411
|
-
setCNVBtn(this);
|
|
1412
|
-
}
|
|
1413
|
-
setVariablesBtn(this, s);
|
|
1414
|
-
setDimensionsBtn(this, s);
|
|
1415
|
-
setLegendBtn(this);
|
|
1416
|
-
setDownloadBtn(this);
|
|
1417
|
-
setZoomInput(this);
|
|
1418
|
-
setDragToggle(this, {
|
|
1419
|
-
holder: this.opts.holder.append("div").style("display", "inline-block"),
|
|
1420
|
-
target: this.parent.dom.seriesesG
|
|
1421
|
-
});
|
|
1422
|
-
setSvgScroll(this, state);
|
|
1423
|
-
this.keyboardNavHandler = async (event) => {
|
|
1424
|
-
if (event.key == "Escape") {
|
|
1425
|
-
this.parent.app.tip.hide();
|
|
1426
|
-
} else if (event.key == "Enter" || event.key == "ArrowDown") {
|
|
1427
|
-
const elems = event.target.tagName == "BUTTON" ? this.parent.app.tip.d.node().querySelectorAll("input, select") : event.target.querySelectorAll("input, select");
|
|
1428
|
-
for (const elem of elems) {
|
|
1429
|
-
if (elem.checkVisibility?.() || !elem.checkVisibility && elem.getBoundingClientRect().height) {
|
|
1430
|
-
elem.focus();
|
|
1431
|
-
return false;
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
} else if (event.key == "Tab" && event.shiftKey || event.key == "Backspace" || event.key == "ArrowUp") {
|
|
1435
|
-
if (event.target.tagName == "BUTTON") event.target.focus();
|
|
1436
|
-
return false;
|
|
1437
|
-
}
|
|
1438
|
-
};
|
|
1439
|
-
this.btns = this.opts.holder.selectAll(":scope>button").filter((d) => d && d.label).on(`keyup.matrix-${this.parent.id}`, this.keyboardNavHandler);
|
|
1440
|
-
}
|
|
1441
|
-
main(overrides = {}) {
|
|
1442
|
-
this.overrides = overrides;
|
|
1443
|
-
this.parent.app.tip.hide();
|
|
1444
|
-
this.btns.text(
|
|
1445
|
-
(d2) => !d2.getCount || d2.showCount == "hide" ? d2.label : d2.showCount == "append" ? `${d2.label} (n=${d2.getCount()})` : `${d2.getCount()} ${d2.label}`
|
|
1446
|
-
).each(function(d2) {
|
|
1447
|
-
if (d2.updateBtn) d2.updateBtn(select_default(this));
|
|
1448
|
-
});
|
|
1449
|
-
const s = this.parent.settings.matrix || this.parent.config.settings.matrix;
|
|
1450
|
-
const min = this.parent.computedSettings.zoomMin;
|
|
1451
|
-
const max = this.parent.computedSettings.zoomMax;
|
|
1452
|
-
const increment = Math.max(0.01, Number((min / max).toFixed(2)));
|
|
1453
|
-
const d = this.parent.dimensions;
|
|
1454
|
-
if (this.zoomApi)
|
|
1455
|
-
this.zoomApi.update({
|
|
1456
|
-
value: s.zoomLevel.toFixed(2),
|
|
1457
|
-
min: min.toFixed(2),
|
|
1458
|
-
max: max.toFixed(2),
|
|
1459
|
-
increment,
|
|
1460
|
-
step: s.zoomStep || 1
|
|
1461
|
-
});
|
|
1462
|
-
if (this.svgScrollApi && d) {
|
|
1463
|
-
this.svgScrollApi.update({
|
|
1464
|
-
x: d.xOffset,
|
|
1465
|
-
y: d.yOffset - s.scrollHeight,
|
|
1466
|
-
totalWidth: d.zoomedMainW,
|
|
1467
|
-
visibleWidth: d.mainw,
|
|
1468
|
-
zoomCenter: s.zoomCenterPct * d.mainw - d.seriesXoffset
|
|
1469
|
-
});
|
|
1470
|
-
}
|
|
1471
|
-
if (this.dragToggleApi) {
|
|
1472
|
-
this.dragToggleApi.update(s.mouseMode ? { mouseMode: s.mouseMode } : {});
|
|
1473
|
-
}
|
|
1474
|
-
}
|
|
1475
|
-
getSettings() {
|
|
1476
|
-
return {
|
|
1477
|
-
mouseMode: this.dragToggleApi.getSettings().mouseMode
|
|
1478
|
-
};
|
|
1479
|
-
}
|
|
1480
|
-
async callback(event, d) {
|
|
1481
|
-
const app = this.opts.app;
|
|
1482
|
-
const parent = this.opts.parent;
|
|
1483
|
-
const tables = d.tables || [d];
|
|
1484
|
-
event.target.focus();
|
|
1485
|
-
app.tip.clear();
|
|
1486
|
-
const table = app.tip.d.append("table").attr("class", "sjpp-controls-table");
|
|
1487
|
-
for (const t of tables) {
|
|
1488
|
-
if (t.header) {
|
|
1489
|
-
table.append("tr").selectAll("th").data(t.header).enter().append("th").html((d2) => d2);
|
|
1490
|
-
}
|
|
1491
|
-
for (const inputConfig of t.rows) {
|
|
1492
|
-
const holder = table.append("tr");
|
|
1493
|
-
const input = await initByInput[inputConfig.type](
|
|
1494
|
-
Object.assign(
|
|
1495
|
-
{},
|
|
1496
|
-
{
|
|
1497
|
-
holder,
|
|
1498
|
-
app,
|
|
1499
|
-
dispatch: (action) => app.dispatch(action),
|
|
1500
|
-
id: parent.id,
|
|
1501
|
-
debug: this.opts.debug,
|
|
1502
|
-
parent
|
|
1503
|
-
},
|
|
1504
|
-
inputConfig
|
|
1505
|
-
)
|
|
1506
|
-
);
|
|
1507
|
-
input.main(parent.config);
|
|
1508
|
-
}
|
|
1509
|
-
if (t.customInputs) t.customInputs(this, app, parent, table);
|
|
1510
|
-
table.selectAll("select, input, button").attr("tabindex", 0).on("keydown", this.keyboardNavHandler);
|
|
1511
|
-
}
|
|
1512
|
-
app.tip.showunder(event.target);
|
|
1513
|
-
}
|
|
1514
|
-
};
|
|
1515
|
-
|
|
1516
|
-
// plots/matrix/matrix.xtw.ts
|
|
1517
|
-
var addons;
|
|
1518
|
-
async function getTermGroups(termgroups, app) {
|
|
1519
|
-
const termGroups = structuredClone(termgroups);
|
|
1520
|
-
if (!addons)
|
|
1521
|
-
addons = {
|
|
1522
|
-
QualTWValues: discreteAddons,
|
|
1523
|
-
QualTWPredefinedGS: discreteAddons,
|
|
1524
|
-
QualTWCustomGS: discreteAddons,
|
|
1525
|
-
NumTWRegularBin: discreteAddons,
|
|
1526
|
-
NumTWCustomBin: discreteAddons,
|
|
1527
|
-
NumTWCont: continuousAddons,
|
|
1528
|
-
TermCollectionTWCont: TermCollectionContAddons
|
|
1529
|
-
};
|
|
1530
|
-
const opts = {
|
|
1531
|
-
vocabApi: app.vocabApi,
|
|
1532
|
-
addons
|
|
1533
|
-
};
|
|
1534
|
-
for (const [origIndex, tG] of termGroups.entries()) {
|
|
1535
|
-
tG.origIndex = origIndex;
|
|
1536
|
-
if (tG.type == "hierCluster") continue;
|
|
1537
|
-
const xtwlst = [];
|
|
1538
|
-
for (const tw of tG.lst) {
|
|
1539
|
-
const inputTw = tw.getTw?.() || tw;
|
|
1540
|
-
xtwlst.push(
|
|
1541
|
-
inputTw.type in opts.addons && routedTermTypes.has(inputTw.term.type) ? await TwRouter.init(inputTw, opts) : inputTw
|
|
1542
|
-
);
|
|
1543
|
-
}
|
|
1544
|
-
tG.lst = xtwlst;
|
|
1545
|
-
}
|
|
1546
|
-
return termGroups;
|
|
1547
|
-
}
|
|
1548
|
-
var discreteAddons = {
|
|
1549
|
-
setCellProps: {
|
|
1550
|
-
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1551
|
-
const tw = this.getTw();
|
|
1552
|
-
const key = anno.key;
|
|
1553
|
-
const values = tw.term.values || {};
|
|
1554
|
-
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1555
|
-
const tw$id = tw.$id;
|
|
1556
|
-
cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.[key]?.color || anno.color || values[anno.key]?.color || self2.data.refs.byTermId?.[tw$id]?.bins?.find((b) => anno.key == b.name)?.color;
|
|
1557
|
-
cell.order = t.ref.bins ? t.ref.bins.findIndex((bin) => bin.name == key) : 0;
|
|
1558
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1559
|
-
cell.y = height * i;
|
|
1560
|
-
const group = tw.legend?.group || tw$id;
|
|
1561
|
-
return { ref: t.ref, group, value: key, entry: { key, label: cell.label, fill: cell.fill } };
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
};
|
|
1565
|
-
var continuousAddons = {
|
|
1566
|
-
setCellProps: {
|
|
1567
|
-
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1568
|
-
const tw = this.getTw();
|
|
1569
|
-
const key = anno.key;
|
|
1570
|
-
const values = tw.term.values || {};
|
|
1571
|
-
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1572
|
-
cell.fill = anno.color || values[anno.key]?.color;
|
|
1573
|
-
const tw$id = tw.$id;
|
|
1574
|
-
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1575
|
-
if (!twSpecificSettings[tw$id]) twSpecificSettings[tw$id] = {};
|
|
1576
|
-
const twSettings = twSpecificSettings[tw$id];
|
|
1577
|
-
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1578
|
-
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1579
|
-
const specialValue = tw.term.values?.[cell.key];
|
|
1580
|
-
if (specialValue?.uncomputable) {
|
|
1581
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1582
|
-
cell.y = height * i;
|
|
1583
|
-
cell.height = twSettings.contBarH;
|
|
1584
|
-
cell.fill = "transparent";
|
|
1585
|
-
cell.label = specialValue.label;
|
|
1586
|
-
const group = tw.legend?.group || tw.$id;
|
|
1587
|
-
return {
|
|
1588
|
-
ref: t.ref,
|
|
1589
|
-
group,
|
|
1590
|
-
value: specialValue.label || specialValue.key,
|
|
1591
|
-
entry: { key, label: cell.label, fill: cell.fill }
|
|
1592
|
-
};
|
|
1593
|
-
}
|
|
1594
|
-
cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.contBarColor || "#555";
|
|
1595
|
-
if (s.transpose) {
|
|
1596
|
-
cell.height = t.scale(cell.key);
|
|
1597
|
-
cell.x = twSettings.contBarGap;
|
|
1598
|
-
} else {
|
|
1599
|
-
const vc = cell.term.valueConversion;
|
|
1600
|
-
let renderV = vc ? cell.key * vc.scaleFactor : cell.key;
|
|
1601
|
-
if (this.q.convert2ZScore) {
|
|
1602
|
-
renderV = (renderV - t.mean) / t.std;
|
|
1603
|
-
cell.fill = renderV > 0 ? "#FF6666" : "#6666FF";
|
|
1604
|
-
cell.zscoreLabel = ` (Z-score: ${renderV.toFixed(2)})`;
|
|
1605
|
-
}
|
|
1606
|
-
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : this.term.unit ? `${cell.key.toFixed(2)} ${this.term.unit}` : cell.key.toFixed(2);
|
|
1607
|
-
cell.height = renderV >= 0 ? t.scales.pos(renderV) : t.scales.neg(renderV);
|
|
1608
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1609
|
-
cell.y = renderV >= 0 ? t.counts.posMaxHt + twSettings.contBarGap - cell.height : t.counts.posMaxHt + twSettings.contBarGap;
|
|
1610
|
-
cell.convertedValueLabel = !vc ? "" : convertUnits(cell.key, vc.fromUnit, vc.toUnit, vc.scaleFactor);
|
|
1611
|
-
}
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
};
|
|
1615
|
-
var TermCollectionContAddons = {
|
|
1616
|
-
setCellProps: {
|
|
1617
|
-
value: function(cell, anno, value, s, t, self2, width, height, dx, _dy, _i) {
|
|
1618
|
-
const tw = this.getTw();
|
|
1619
|
-
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1620
|
-
if (!twSpecificSettings[tw.$id]) twSpecificSettings[tw.$id] = {};
|
|
1621
|
-
const twSettings = twSpecificSettings[tw.$id];
|
|
1622
|
-
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1623
|
-
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1624
|
-
const isNegative = value.value < 0;
|
|
1625
|
-
if (isNegative) {
|
|
1626
|
-
cell.height = t.scales.neg ? t.scales.neg(value.value) - t.scales.neg(0) : 0;
|
|
1627
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1628
|
-
const cumulativeHeight = t.scales.neg ? t.scales.neg(value.pre_val_sum) - t.scales.neg(0) : 0;
|
|
1629
|
-
cell.y = t.counts.posMaxHt + twSettings.contBarGap + (t.scales.neg ? t.scales.neg(0) : 0) + cumulativeHeight;
|
|
1630
|
-
} else {
|
|
1631
|
-
cell.height = t.scales.pos(value.value) - t.scales.pos(0);
|
|
1632
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1633
|
-
const cumulativeHeight = t.scales.pos(value.pre_val_sum) - t.scales.pos(0);
|
|
1634
|
-
cell.y = t.counts.posMaxHt + twSettings.contBarGap - t.scales.pos(0) - cumulativeHeight - cell.height;
|
|
1635
|
-
}
|
|
1636
|
-
cell.label = value.label;
|
|
1637
|
-
cell.fill = twSettings[value.label]?.color || value.color || tw.term.propsByTermId?.[value.label]?.color;
|
|
1638
|
-
cell.value = value.value;
|
|
1639
|
-
return {
|
|
1640
|
-
ref: t.ref,
|
|
1641
|
-
group: tw.$id,
|
|
1642
|
-
value: value.label,
|
|
1643
|
-
order: -1,
|
|
1644
|
-
entry: { key: value.label, label: value.label, fill: cell.fill }
|
|
1645
|
-
};
|
|
1646
|
-
}
|
|
1647
|
-
}
|
|
1648
|
-
};
|
|
1649
|
-
|
|
1650
|
-
// plots/matrix/matrix.js
|
|
1651
|
-
var Matrix = class _Matrix extends PlotBase {
|
|
1652
|
-
static type = "matrix";
|
|
1653
|
-
configTermKeys = ["termgroups.lst", "divideBy"];
|
|
1654
|
-
constructor(opts) {
|
|
1655
|
-
super(opts);
|
|
1656
|
-
this.type = _Matrix.type;
|
|
1657
|
-
this.holderTitle = "Sample Matrix";
|
|
1658
|
-
this.optionalFeatures = JSON.parse(sessionStorage.getItem("optionalFeatures") || `{}`)?.matrix || [];
|
|
1659
|
-
setInteractivity(this);
|
|
1660
|
-
setRenderers(this);
|
|
1661
|
-
}
|
|
1662
|
-
async init(appState) {
|
|
1663
|
-
const opts = this.opts;
|
|
1664
|
-
if (opts.reactsTo) this.reactsTo = opts.reactsTo;
|
|
1665
|
-
this.setDom = setMatrixDom;
|
|
1666
|
-
this.setDom(opts);
|
|
1667
|
-
this.config = appState.plots.find((p) => p.id === this.id);
|
|
1668
|
-
this.settings = Object.assign({}, this.config.settings.matrix);
|
|
1669
|
-
this.computed = {};
|
|
1670
|
-
if (this.dom.header) this.dom.header.text(this.config.preBuiltPlotTitle || this.holderTitle);
|
|
1671
|
-
this.setControls(appState);
|
|
1672
|
-
this.clusterRenderer = new MatrixCluster({ holder: this.dom.cluster, app: this.app, parent: this });
|
|
1673
|
-
this.legendRenderer = svgLegend({
|
|
1674
|
-
holder: this.dom.legendG,
|
|
1675
|
-
rectFillFxn: (d) => d.color,
|
|
1676
|
-
iconStroke: "#aaa",
|
|
1677
|
-
handlers: {
|
|
1678
|
-
legend: {
|
|
1679
|
-
click: this.legendClick
|
|
1680
|
-
}
|
|
1681
|
-
},
|
|
1682
|
-
settings: {
|
|
1683
|
-
isExcludedAttr: "isExcluded"
|
|
1684
|
-
},
|
|
1685
|
-
groupLabelAttrs: (d) => ({ "data-testid": `sjpp-matrix-legend-group-${d.name}` }),
|
|
1686
|
-
itemLabelAttrs: (d) => ({ "data-testid": `sjpp-matrix-legend-item` }),
|
|
1687
|
-
note: "CLICK A ROW LABEL OR ITEM TO APPLY FILTERING"
|
|
1688
|
-
});
|
|
1689
|
-
this.customTipApi = this.dom.tip.getCustomApi({
|
|
1690
|
-
d: this.dom.menubody,
|
|
1691
|
-
clear: (event) => {
|
|
1692
|
-
if (event?.target) this.dom.menutop.style("display", "none");
|
|
1693
|
-
this.dom.menubody.selectAll("*").remove();
|
|
1694
|
-
return this.customTipApi;
|
|
1695
|
-
},
|
|
1696
|
-
show: () => {
|
|
1697
|
-
this.dom.menubody.style("display", "block");
|
|
1698
|
-
},
|
|
1699
|
-
hide: () => {
|
|
1700
|
-
}
|
|
1701
|
-
});
|
|
1702
|
-
this.setPill(appState);
|
|
1703
|
-
const commonKeys = { mclass, dt2label, morigin };
|
|
1704
|
-
for (const k in commonKeys) {
|
|
1705
|
-
const v = commonKeys[k];
|
|
1706
|
-
this[k] = copyMerge({}, v, appState.termdbConfig[k] || {}, appState.termdbConfig.matrix?.[k] || {});
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
setControls(appState) {
|
|
1710
|
-
this.controlsRenderer = new MatrixControls(
|
|
1711
|
-
{
|
|
1712
|
-
app: this.app,
|
|
1713
|
-
id: this.id,
|
|
1714
|
-
parent: this,
|
|
1715
|
-
holder: this.dom.controls,
|
|
1716
|
-
getSvg: () => this.dom.svg.node()
|
|
1717
|
-
},
|
|
1718
|
-
appState
|
|
1719
|
-
);
|
|
1720
|
-
}
|
|
1721
|
-
// reactsTo(action) {
|
|
1722
|
-
// // note: a parent app or 'plot' component is expected to already have
|
|
1723
|
-
// // a comprehensive reactsTo() call to filter the actions for this component,
|
|
1724
|
-
// // so only farther selective action filters should be applied here as needed
|
|
1725
|
-
// return true
|
|
1726
|
-
// }
|
|
1727
|
-
getState(appState) {
|
|
1728
|
-
const config = appState.plots.find((p) => p.id === this.id);
|
|
1729
|
-
const filter0 = appState.termfilter.filter0;
|
|
1730
|
-
if (this.state) this.prevFilter0 = this.state.filter0;
|
|
1731
|
-
else if (this.prevFilter0 === void 0) this.prevFilter0 = filter0;
|
|
1732
|
-
const parentConfig = appState.plots.find((p) => p.id === this.parentId);
|
|
1733
|
-
const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
|
|
1734
|
-
return {
|
|
1735
|
-
isVisible: true,
|
|
1736
|
-
config,
|
|
1737
|
-
filter: termfilter.filter,
|
|
1738
|
-
filter0,
|
|
1739
|
-
// read-only, invisible filter currently only used for gdc dataset
|
|
1740
|
-
hasVerifiedToken: this.app.vocabApi.hasVerifiedToken(),
|
|
1741
|
-
tokenVerificationMessage: this.app.vocabApi.tokenVerificationMessage,
|
|
1742
|
-
vocab: appState.vocab,
|
|
1743
|
-
termdbConfig: appState.termdbConfig,
|
|
1744
|
-
clusterMethod: config.settings.hierCluster?.clusterMethod,
|
|
1745
|
-
distanceMethod: config.settings.hierCluster?.distanceMethod,
|
|
1746
|
-
clusterSamples: config.settings.hierCluster?.clusterSamples,
|
|
1747
|
-
clusterRows: config.settings.hierCluster?.clusterRows,
|
|
1748
|
-
zScoreTransformation: config.settings.hierCluster?.zScoreTransformation,
|
|
1749
|
-
nav: appState.nav,
|
|
1750
|
-
groups: rebaseGroupFilter(appState)
|
|
1751
|
-
};
|
|
1752
|
-
}
|
|
1753
|
-
async main() {
|
|
1754
|
-
try {
|
|
1755
|
-
this.config = await this.getMutableConfig();
|
|
1756
|
-
if (this.mayRequireToken()) return;
|
|
1757
|
-
const termGroups = await getTermGroups(this.config.termgroups, this.app);
|
|
1758
|
-
const prevTranspose = this.settings.transpose;
|
|
1759
|
-
Object.assign(this.settings, structuredClone(this.config.settings), this.controlsRenderer.getSettings());
|
|
1760
|
-
this.dom.loadingDiv.selectAll("*").remove();
|
|
1761
|
-
this.dom.loadingDiv.html("").style("display", "").style("position", "relative").style("left", "45%");
|
|
1762
|
-
this.dom.cohortMsgDiv.html("").style("display", "none");
|
|
1763
|
-
this.dom.svg.style("opacity", 0.1).style("pointer-events", "none");
|
|
1764
|
-
delete this.clickedClusterIds;
|
|
1765
|
-
delete this.clickedLeftClusterIds;
|
|
1766
|
-
try {
|
|
1767
|
-
setComputedConfig(this.config);
|
|
1768
|
-
const promises = [];
|
|
1769
|
-
if (this.setHierClusterData) promises.push(this.setHierClusterData());
|
|
1770
|
-
promises.push(this.setData());
|
|
1771
|
-
this.dom.loadingDiv.html("Processing data ...");
|
|
1772
|
-
await Promise.all(promises);
|
|
1773
|
-
const warnings = this.data.warnings.join("\n");
|
|
1774
|
-
this.dom.warningDiv.style("display", warnings.length ? "" : "none").html(warnings);
|
|
1775
|
-
this.applyLegendValueFilter();
|
|
1776
|
-
if (this.combineData) this.combineData();
|
|
1777
|
-
this.app.save({ type: "plot_edit", id: this.id, config: this.config });
|
|
1778
|
-
} catch (e) {
|
|
1779
|
-
if (e == "no data") {
|
|
1780
|
-
this.showNoMatchingDataMessage();
|
|
1781
|
-
return;
|
|
1782
|
-
} else if (this.app.isAbortError(e)) {
|
|
1783
|
-
return;
|
|
1784
|
-
} else {
|
|
1785
|
-
this.dom.svg.style("display", "none");
|
|
1786
|
-
throw e;
|
|
1787
|
-
}
|
|
1788
|
-
}
|
|
1789
|
-
this.termGroups = termGroups;
|
|
1790
|
-
this.dom.loadingDiv.html("Updating ...").style("display", "");
|
|
1791
|
-
this.termOrder = this.getTermOrder(this.data);
|
|
1792
|
-
this.sampleGroups = this.getSampleGroups(this.hierClusterSamples || this.data);
|
|
1793
|
-
this.sampleOrder = this.getSampleOrder(this.data);
|
|
1794
|
-
this.setLayout();
|
|
1795
|
-
if (this.setHierColorScale) this.setHierColorScale(this.hierClusterData.clustering);
|
|
1796
|
-
if (!this.sampleOrder?.length) {
|
|
1797
|
-
this.showNoMatchingDataMessage();
|
|
1798
|
-
}
|
|
1799
|
-
this.controlsRenderer.main();
|
|
1800
|
-
this.serieses = this.getSerieses(this.data);
|
|
1801
|
-
this.dom.loadingDiv.html("Rendering ...");
|
|
1802
|
-
if (this.plotDendrogramHclust) this.plotDendrogramHclust();
|
|
1803
|
-
this.render();
|
|
1804
|
-
this.dom.loadingDiv.style("display", "none");
|
|
1805
|
-
this.mayDisplayCohortMessage();
|
|
1806
|
-
this.dom.svg.style("display", "").style("opacity", 1).style("pointer-events", "");
|
|
1807
|
-
const [xGrps, yGrps] = !this.settings.matrix.transpose ? ["sampleGrps", "termGrps"] : ["termGrps", "sampleGrps"];
|
|
1808
|
-
const d = this.dimensions;
|
|
1809
|
-
this.clusterRenderer.main({
|
|
1810
|
-
settings: this.settings.matrix,
|
|
1811
|
-
xGrps: this[xGrps],
|
|
1812
|
-
yGrps: this[yGrps],
|
|
1813
|
-
dimensions: d
|
|
1814
|
-
});
|
|
1815
|
-
this.legendRenderer(this.legendData, {
|
|
1816
|
-
settings: Object.assign({}, this.settings.legend, {
|
|
1817
|
-
svgw: Math.max(400, d.mainw + d.xOffset - this.settings.matrix.margin.right),
|
|
1818
|
-
svgh: d.mainh + d.yOffset,
|
|
1819
|
-
dimensions: d,
|
|
1820
|
-
padleft: this.settings.legend.padleft
|
|
1821
|
-
//+ d.xOffset
|
|
1822
|
-
})
|
|
1823
|
-
});
|
|
1824
|
-
await this.adjustSvgDimensions(prevTranspose);
|
|
1825
|
-
this.controlsRenderer.main();
|
|
1826
|
-
this.dom.errorDiv.selectAll("*").remove();
|
|
1827
|
-
if (this.data.removedHierClusterTerms) {
|
|
1828
|
-
for (const r of this.data.removedHierClusterTerms) {
|
|
1829
|
-
sayerror(this.dom.errorDiv, r.text + ": " + r.lst.join(", "));
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
} catch (e) {
|
|
1833
|
-
const message = this.app.vocabApi.tokenVerificationMessage;
|
|
1834
|
-
this.mayRequireToken(message);
|
|
1835
|
-
if (!message) {
|
|
1836
|
-
this.app.tip.hide();
|
|
1837
|
-
this.dom.loadingDiv.style("display", "none");
|
|
1838
|
-
throw e;
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
this.resetInteractions();
|
|
1842
|
-
}
|
|
1843
|
-
showNoMatchingDataMessage() {
|
|
1844
|
-
this.forcedSampleCount = 0;
|
|
1845
|
-
this.dom.svg.style("opacity", 1e-3).style("display", "none");
|
|
1846
|
-
if (this.termOrder && this.dimensions) this.controlsRenderer.main({ sampleCount: 0 });
|
|
1847
|
-
this.dom.loadingDiv.html("");
|
|
1848
|
-
const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
|
|
1849
|
-
div.append("div").style("margin", "5px 10px").html("No matching cohort sample data for the current gene list.");
|
|
1850
|
-
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1851
|
-
const div1 = div.append("div").style("margin", "5px 10px");
|
|
1852
|
-
div1.append("span").html("You may change the selected cohort,");
|
|
1853
|
-
if (this.config.legendGrpFilter?.lst.length || this.config.legendValueFilter?.lst.length) {
|
|
1854
|
-
const cnvBtn = this.controlsRenderer.btns.filter((d) => d.label == "CNV")?.node();
|
|
1855
|
-
if (cnvBtn) {
|
|
1856
|
-
div1.append("br");
|
|
1857
|
-
div1.append("span").html("show hidden ");
|
|
1858
|
-
div1.append("span").html("CNV").style("cursor", "pointer").style("text-decoration", "underline").on("click", () => {
|
|
1859
|
-
cnvBtn.click();
|
|
1860
|
-
});
|
|
1861
|
-
}
|
|
1862
|
-
const mutationBtn = this.controlsRenderer.btns.filter((d) => d.label == "Mutation")?.node();
|
|
1863
|
-
if (cnvBtn && mutationBtn) div1.append("span").html(" or ");
|
|
1864
|
-
if (mutationBtn) {
|
|
1865
|
-
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Mutation").on("click", () => {
|
|
1866
|
-
mutationBtn.click();
|
|
1867
|
-
});
|
|
1868
|
-
}
|
|
1869
|
-
if (cnvBtn || mutationBtn) div1.append("span").html(" data,");
|
|
1870
|
-
}
|
|
1871
|
-
div1.append("br");
|
|
1872
|
-
div1.append("span").html("or edit the gene list from the ");
|
|
1873
|
-
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1874
|
-
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1875
|
-
const i = setInterval(() => {
|
|
1876
|
-
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1877
|
-
return this.innerHTML == "Edit Group";
|
|
1878
|
-
}).node();
|
|
1879
|
-
if (editBtn) {
|
|
1880
|
-
editBtn.click();
|
|
1881
|
-
clearInterval(i);
|
|
1882
|
-
}
|
|
1883
|
-
}, 100);
|
|
1884
|
-
});
|
|
1885
|
-
}
|
|
1886
|
-
this.dom.svg.style("display", "none");
|
|
1887
|
-
}
|
|
1888
|
-
mayDisplayCohortMessage() {
|
|
1889
|
-
const msg = deepEqual(this.state.filter0, this.prevFilter0) ? "" : "The gene list is persisted across cohorts.";
|
|
1890
|
-
if (msg) {
|
|
1891
|
-
this.dom.cohortMsgDiv.html("");
|
|
1892
|
-
const div = this.dom.cohortMsgDiv.append("div").style("display", "inline-block");
|
|
1893
|
-
div.append("div").html(msg);
|
|
1894
|
-
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1895
|
-
const div1 = div.append("div");
|
|
1896
|
-
div1.append("span").html(" You may edit the gene list from the ");
|
|
1897
|
-
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1898
|
-
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1899
|
-
const i = setInterval(() => {
|
|
1900
|
-
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1901
|
-
return this.innerHTML == "Edit Group";
|
|
1902
|
-
}).node();
|
|
1903
|
-
if (editBtn) {
|
|
1904
|
-
editBtn.click();
|
|
1905
|
-
clearInterval(i);
|
|
1906
|
-
}
|
|
1907
|
-
}, 100);
|
|
1908
|
-
});
|
|
1909
|
-
}
|
|
1910
|
-
}
|
|
1911
|
-
this.dom.cohortMsgDiv.style("display", msg ? "" : "none");
|
|
1912
|
-
}
|
|
1913
|
-
sampleKey(s) {
|
|
1914
|
-
return s.row.sample;
|
|
1915
|
-
}
|
|
1916
|
-
sampleLabel(s) {
|
|
1917
|
-
return s.label || s.row._ref_.label || "";
|
|
1918
|
-
}
|
|
1919
|
-
sampleGrpKey(s) {
|
|
1920
|
-
return s.grp.name;
|
|
1921
|
-
}
|
|
1922
|
-
sampleGrpLabel(s) {
|
|
1923
|
-
return s.grp.label || s.grp.name || "";
|
|
1924
|
-
}
|
|
1925
|
-
termKey(t) {
|
|
1926
|
-
return t.tw.$id;
|
|
1927
|
-
}
|
|
1928
|
-
termLabel(t) {
|
|
1929
|
-
return t.label;
|
|
1930
|
-
}
|
|
1931
|
-
termGrpKey(t) {
|
|
1932
|
-
return t.grp.name;
|
|
1933
|
-
}
|
|
1934
|
-
termGrpLabel(t) {
|
|
1935
|
-
return t.grp.label || t.grp.name || [{ text: "\u22EE", dx: 3, cls: "sjpp-exclude-svg-download" }];
|
|
1936
|
-
}
|
|
1937
|
-
destroy() {
|
|
1938
|
-
select_default(window).on(`resize.sjpp-${self.id}`, null);
|
|
1939
|
-
}
|
|
1940
|
-
};
|
|
1941
|
-
for (const m of [matrix_data_exports, matrix_groups_exports, matrix_layout_exports, matrix_serieses_exports, matrix_legend_exports]) {
|
|
1942
|
-
for (const methodName in m) {
|
|
1943
|
-
Matrix.prototype[methodName] = m[methodName];
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
var matrixInit = getCompInit(Matrix);
|
|
1947
|
-
var componentInit = matrixInit;
|
|
1948
|
-
function makeChartBtnMenu(holder, chartsInstance) {
|
|
1949
|
-
chartsInstance.dom.tip.clear();
|
|
1950
|
-
const menuDiv = holder.append("div");
|
|
1951
|
-
if (chartsInstance.state.termdbConfig.matrixplots) {
|
|
1952
|
-
for (const plot of chartsInstance.state.termdbConfig.matrixplots) {
|
|
1953
|
-
menuDiv.append("button").style("margin", "10px").style("padding", "10px 15px").style("border-radius", "20px").style("border-color", "#ededed").style("display", "inline-block").text(plot.name).on("click", async () => {
|
|
1954
|
-
chartsInstance.dom.tip.hide();
|
|
1955
|
-
const config = await chartsInstance.app.vocabApi.getMatrixByName(plot.name);
|
|
1956
|
-
config.preBuiltPlotTitle = plot.name;
|
|
1957
|
-
chartsInstance.app.dispatch({
|
|
1958
|
-
type: "plot_create",
|
|
1959
|
-
config
|
|
1960
|
-
});
|
|
1961
|
-
});
|
|
1962
|
-
}
|
|
1963
|
-
}
|
|
1964
|
-
const chart = {
|
|
1965
|
-
clickTo: chartsInstance.showTree_selectlst,
|
|
1966
|
-
chartType: "matrix",
|
|
1967
|
-
usecase: { target: "matrix", detail: "termgroups" },
|
|
1968
|
-
processSelection: (lst) => {
|
|
1969
|
-
return [
|
|
1970
|
-
{
|
|
1971
|
-
name: "",
|
|
1972
|
-
lst: lst.map((term) => {
|
|
1973
|
-
return { term };
|
|
1974
|
-
})
|
|
1975
|
-
}
|
|
1976
|
-
];
|
|
1977
|
-
}
|
|
1978
|
-
};
|
|
1979
|
-
chartsInstance.showTree_selectlst(chart);
|
|
1980
|
-
}
|
|
1981
|
-
|
|
1982
|
-
export {
|
|
1983
|
-
Matrix,
|
|
1984
|
-
matrixInit,
|
|
1985
|
-
componentInit,
|
|
1986
|
-
makeChartBtnMenu
|
|
1987
|
-
};
|
|
1988
|
-
//# sourceMappingURL=chunk-E7XHA4YL.js.map
|