@sjcrh/proteinpaint-client 2.201.0 → 2.202.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-Y2MBOXHL.js +1373 -0
- package/dist/AIProjectAdmin-2W4WNV65.js +958 -0
- package/dist/AggregateMatrix-7L7OKUXI.js +671 -0
- package/dist/AppHeader-6WM66GKP.js +835 -0
- package/dist/BoxPlot-AF72DMSS.js +1218 -0
- package/dist/CorrelationVolcano-H6DHMTYZ.js +620 -0
- package/dist/CorrelationVolcano-H6DHMTYZ.js.map +7 -0
- package/dist/DE-AABMOSEE.js +95 -0
- package/dist/DEinput-3HVHJE2I.js +409 -0
- package/dist/DEinput-3HVHJE2I.js.map +7 -0
- package/dist/DifferentialAnalysis-NBC222Q6.js +243 -0
- package/dist/Disco-B6E3ALAV.js +3392 -0
- package/dist/Disco.UI-KGFIQHXC.js +248 -0
- package/dist/DmrPlot-R3S4PCAE.js +642 -0
- package/dist/DziViewer-QYLZ4EMQ.js +16332 -0
- package/dist/GB-PV4RI5DG.js +1396 -0
- package/dist/GSEA-DHUOROST.js +846 -0
- package/dist/GeneExpInput-RESMBEM3.js +367 -0
- package/dist/Geomap-2WACSP77.js +89 -0
- package/dist/HicApp-3FJEZXAI.js +2250 -0
- package/dist/IDCViewer-MIRQEK4N.js +10817 -0
- package/dist/NumBinaryEditor-EP277U4I.js +284 -0
- package/dist/NumBinaryEditor.unit.spec-ZB627VLG.js +317 -0
- package/dist/NumContEditor-F7DOQSIW.js +110 -0
- package/dist/NumContEditor.unit.spec-PROGQHTU.js +169 -0
- package/dist/NumCustomBinEditor-QS3IPKIQ.js +38 -0
- package/dist/NumCustomBinEditor.unit.spec-BRDEFIX6.js +402 -0
- package/dist/NumDiscreteEditor-SE4I3BDA.js +175 -0
- package/dist/NumDiscreteEditor.unit.spec-6GBWQ3NQ.js +238 -0
- package/dist/NumRegularBinEditor-RJKB3G3V.js +38 -0
- package/dist/NumRegularBinEditor.unit.spec-HRU2Y76X.js +283 -0
- package/dist/NumSplineEditor-2DCORF5E.js +215 -0
- package/dist/NumSplineEditor.unit.spec-TTNB5IXX.js +229 -0
- package/dist/NumericDensity-3A7KTA7Y.js +38 -0
- package/dist/NumericDensity.unit.spec-ISPDAUVX.js +423 -0
- package/dist/NumericHandler-RG5XZMBU.js +39 -0
- package/dist/NumericHandler.unit.spec-RTD7AZNE.js +219 -0
- package/dist/ProteomeInput-6A7UB4CI.js +394 -0
- package/dist/RunChart2-YEAOBR2L.js +758 -0
- package/dist/SC-C3MJQBI5.js +1112 -0
- package/dist/Volcano-N6MXAQDZ.js +1417 -0
- package/dist/Volcano-N6MXAQDZ.js.map +7 -0
- package/dist/WSIViewer-OVJ2QS7P.js +26200 -0
- package/dist/WSIViewer-OVJ2QS7P.js.map +7 -0
- package/dist/Wsi-CMLKCEG3.js +239 -0
- package/dist/Wsi-CMLKCEG3.js.map +7 -0
- package/dist/WsiSamplesPlot-ET7LGNJW.js +165 -0
- package/dist/adSandbox-6LGHUXPX.js +38 -0
- package/dist/animatedBubbleChart-VJ6EQDQP.js +553 -0
- package/dist/app-PRLLUIAA.js +49 -0
- package/dist/app-WR6PQ2YK.js +37 -0
- package/dist/app.js +13 -13
- package/dist/bam-EXBXKUSE.js +859 -0
- package/dist/barchart-FSIB3IZZ.js +47 -0
- package/dist/barchart.events-F4HSVH6M.js +47 -0
- package/dist/barchart.integration.spec-AXE7BRKX.js +2243 -0
- package/dist/barchart2-DRNQQJE2.js +314 -0
- package/dist/block-J3A3RIGS.js +6255 -0
- package/dist/block.init-MQKMDKKW.js +38 -0
- package/dist/block.mds.expressionrank-ZQEPPDEL.js +359 -0
- package/dist/block.mds.geneboxplot-VJTIMZ6H.js +828 -0
- package/dist/block.mds.junction-VTAMQ2CW.js +1545 -0
- package/dist/block.mds.svcnv-WG7WY3CS.js +6801 -0
- package/dist/block.svg-YTWYGSGO.js +164 -0
- package/dist/block.tk.aicheck-L4M55U63.js +283 -0
- package/dist/block.tk.ase-3OBVSGWM.js +365 -0
- package/dist/block.tk.bam-QUCP3HST.js +1906 -0
- package/dist/block.tk.bedgraphdot-BGAH5YPF.js +384 -0
- package/dist/block.tk.bigwig.ui-2MG6VMOE.js +211 -0
- package/dist/block.tk.hicstraw-MDQHFWBB.js +823 -0
- package/dist/block.tk.junction-PBCJTAFX.js +2364 -0
- package/dist/block.tk.junction.textmatrixui-FJR76QBO.js +199 -0
- package/dist/block.tk.ld-ISL7K3DH.js +99 -0
- package/dist/block.tk.menu-VQW3FUAF.js +1029 -0
- package/dist/block.tk.pgv-RMXDF3XD.js +944 -0
- package/dist/brainImaging-F4GZRF53.js +423 -0
- package/dist/brainRegions-ONUXPD7P.js +221 -0
- package/dist/bubbleHeatmap-ZOS2ME3T.js +383 -0
- package/dist/cellTypeBubbleHeatmap-BEVDWLHJ.js +283 -0
- package/dist/chunk-2JQWA4EO.js +6364 -0
- package/dist/chunk-2TWVFQD2.js +494 -0
- package/dist/chunk-2TWVFQD2.js.map +7 -0
- package/dist/chunk-2TZITKMT.js +498 -0
- package/dist/chunk-4BDOPNYW.js +129 -0
- package/dist/chunk-4G6ZGXZF.js +1338 -0
- package/dist/chunk-4G6ZGXZF.js.map +7 -0
- package/dist/chunk-4QW2O66J.js +22695 -0
- package/dist/chunk-4QW2O66J.js.map +7 -0
- package/dist/chunk-4RWLKZMS.js +480 -0
- package/dist/chunk-57GCW5SF.js +2899 -0
- package/dist/chunk-5RUVBYLK.js +117 -0
- package/dist/chunk-5YOZ4E5H.js +55 -0
- package/dist/chunk-6N5DNN7P.js +302 -0
- package/dist/chunk-73PFJ2VF.js +21517 -0
- package/dist/chunk-73PFJ2VF.js.map +7 -0
- package/dist/chunk-AOVDTRFY.js +272 -0
- package/dist/chunk-BIDQ4OZH.js +465 -0
- package/dist/chunk-C34UTN5M.js +292 -0
- package/dist/chunk-DFHSLHXZ.js +134 -0
- package/dist/chunk-DMOTISFN.js +835 -0
- package/dist/chunk-DMOTISFN.js.map +7 -0
- package/dist/chunk-E2JRANYL.js +299 -0
- package/dist/chunk-E6EA7IU7.js +1172 -0
- package/dist/chunk-E6EA7IU7.js.map +7 -0
- package/dist/chunk-E732F6XI.js +141 -0
- package/dist/chunk-E732F6XI.js.map +7 -0
- package/dist/chunk-FESRWKYY.js +203 -0
- package/dist/chunk-GMJSMF7P.js +5070 -0
- package/dist/chunk-H6INPPUC.js +784 -0
- package/dist/chunk-H6INPPUC.js.map +7 -0
- package/dist/chunk-HDPL53U4.js +14 -0
- package/dist/chunk-HOCICSX4.js +276 -0
- package/dist/chunk-HR7XPTAV.js +340 -0
- package/dist/chunk-HR7XPTAV.js.map +7 -0
- package/dist/chunk-HV3GD2F3.js +54 -0
- package/dist/chunk-IGVKT4CE.js +56 -0
- package/dist/chunk-IMKIDF2H.js +123 -0
- package/dist/chunk-ITKMNOLR.js +37 -0
- package/dist/chunk-JABW3SRG.js +217 -0
- package/dist/chunk-JTYQX3EE.js +4306 -0
- package/dist/chunk-JTYQX3EE.js.map +7 -0
- package/dist/chunk-KDNYUHAH.js +70 -0
- package/dist/chunk-KSA3ND7Z.js +2327 -0
- package/dist/chunk-LCRPBPKX.js +34 -0
- package/dist/chunk-NIZTWHGT.js +514 -0
- package/dist/chunk-OBRVYT5O.js +187 -0
- package/dist/chunk-OBRVYT5O.js.map +7 -0
- package/dist/chunk-OCC5HEPR.js +411 -0
- package/dist/chunk-OMIUJ7JT.js +448 -0
- package/dist/chunk-ONCG5AKF.js +160 -0
- package/dist/chunk-OW5LD7S2.js +102 -0
- package/dist/chunk-PY4QOYPK.js +102 -0
- package/dist/chunk-Q3QY7QGU.js +50 -0
- package/dist/chunk-RL3IRMOA.js +236 -0
- package/dist/chunk-SCOFWMSE.js +240 -0
- package/dist/chunk-SMOHPEMJ.js +2681 -0
- package/dist/chunk-SNL7MSZD.js +243 -0
- package/dist/chunk-SP7HDNXC.js +368 -0
- package/dist/chunk-UILBQKQ6.js +143 -0
- package/dist/chunk-USH6NWXA.js +1943 -0
- package/dist/chunk-USH6NWXA.js.map +7 -0
- package/dist/chunk-UTNJA7JC.js +381 -0
- package/dist/chunk-VJCJCDFI.js +142 -0
- package/dist/chunk-VSSZJHOR.js +473 -0
- package/dist/chunk-W2WOZNEN.js +158 -0
- package/dist/chunk-WGRJEQT7.js +1250 -0
- package/dist/chunk-WGRJEQT7.js.map +7 -0
- package/dist/chunk-WJTRQ3ZC.js +1710 -0
- package/dist/chunk-X4QQRHFB.js +1812 -0
- package/dist/chunk-Y2UCJ33M.js +263 -0
- package/dist/chunk-Y45RZL4F.js +98 -0
- package/dist/chunk-YAISXQJ5.js +626 -0
- package/dist/chunk-YAISXQJ5.js.map +7 -0
- package/dist/chunk-Z2TA7NML.js +352 -0
- package/dist/chunk-Z7U74YGW.js +222 -0
- package/dist/chunk-ZKMBNB5E.js +176 -0
- package/dist/chunk-ZPBG6CT3.js +100 -0
- package/dist/chunk-ZUDSOVYT.js +2784 -0
- package/dist/chunk-ZZMIDYRE.js +197 -0
- package/dist/chunk-ZZMIDYRE.js.map +7 -0
- package/dist/cohort-R743ZSCR.js +75 -0
- package/dist/condition-MPZIRRGP.js +332 -0
- package/dist/controls-WD5TZITZ.js +39 -0
- package/dist/controls.btns-KCLXBXSL.js +9 -0
- package/dist/controls.config-577UCREO.js +39 -0
- package/dist/correlation-OCFBDDOX.js +102 -0
- package/dist/cuminc-YJGCKHFM.js +1153 -0
- package/dist/cuminc-YJGCKHFM.js.map +7 -0
- package/dist/cuminc.integration.spec-V46K57GV.js +678 -0
- package/dist/customdata.inputui-2MS5ZRKC.js +289 -0
- package/dist/dataDownload-HBFKARTR.js +332 -0
- package/dist/dataDownload-HBFKARTR.js.map +7 -0
- package/dist/dataDownload.integration.spec-TEOJOMYK.js +193 -0
- package/dist/databrowser.ui-PDPFHOH7.js +432 -0
- package/dist/dictionary-MWUQYW6W.js +118 -0
- package/dist/dnaMethylation-SNVVE2MD.js +38 -0
- package/dist/dnaMethylation.integration.spec-OSYZ3YDP.js +203 -0
- package/dist/dofetch-7R7PL4BX.js +51 -0
- package/dist/e2pca-7FYIWR5O.js +350 -0
- package/dist/ep-PTAJZLKI.js +1256 -0
- package/dist/expclust.gdc.spec-2R7T7JPY.js +307 -0
- package/dist/facet-BY6DQRCA.js +521 -0
- package/dist/facet-BY6DQRCA.js.map +7 -0
- package/dist/gb-5UFIDQWY.js +88 -0
- package/dist/geneExpClustering-QLBETGVB.js +249 -0
- package/dist/geneExpression-SAMLSOHQ.js +38 -0
- package/dist/geneExpression-SECTPIDT.js +313 -0
- package/dist/geneExpression.unit.spec-UNRGPJIG.js +102 -0
- package/dist/geneORA-CCQGE7QL.js +278 -0
- package/dist/geneRanking-NVR7ZZIP.js +553 -0
- package/dist/geneVariant-5KL2J3NA.js +39 -0
- package/dist/geneVariant-72E5YEPJ.js +41 -0
- package/dist/geneVariant.integration.spec-7JLVYF7Q.js +198 -0
- package/dist/genefusion.ui-M3IG6NUU.js +308 -0
- package/dist/geneset-V2535XGY.js +208 -0
- package/dist/genomeBrowser.spec-TRREAQCH.js +281 -0
- package/dist/grin2-6X5GCPBQ.js +75 -0
- package/dist/grin2-GOO7H3RC.js +1143 -0
- package/dist/hierCluster-5YZOCCTV.js +63 -0
- package/dist/hierCluster-ZPQCUSVO.js +59 -0
- package/dist/hierCluster.config-T3Y2LS6V.js +40 -0
- package/dist/hierCluster.integration.spec-PTXVQH77.js +488 -0
- package/dist/hierCluster.interactivity-JNBO3MJB.js +54 -0
- package/dist/imagePlot-AH2JIGVN.js +163 -0
- package/dist/imagePlot-AH2JIGVN.js.map +7 -0
- package/dist/importPlot-CWMBFQDD.js +8 -0
- package/dist/isoformExpression-ABPY2N3A.js +40 -0
- package/dist/isoformExpression.unit.spec-KRAZBQVF.js +242 -0
- package/dist/junction-XGCBNVHV.js +41 -0
- package/dist/junction.unit.spec-XZFUJRI3.js +187 -0
- package/dist/launch.adhoc-7FJD3XSI.js +42 -0
- package/dist/leftlabel.sample-VPOZWRVY.js +263 -0
- package/dist/lollipop-WBOAFWWO.js +171 -0
- package/dist/maf-MMN6WYHA.js +460 -0
- package/dist/maf-MMN6WYHA.js.map +7 -0
- package/dist/maftimeline-UK4MQP2D.js +593 -0
- package/dist/matrix-AT2FFTWO.js +58 -0
- package/dist/matrix-AU6NPNID.js +63 -0
- package/dist/matrix.config-VTQ6HL5L.js +41 -0
- package/dist/matrix.data-DBYXSWIN.js +25 -0
- package/dist/matrix.dom-DDPSUNY2.js +11 -0
- package/dist/matrix.integration.spec-NJ2AXQAS.js +3072 -0
- package/dist/matrix.interactivity-HE2Q6SAO.js +42 -0
- package/dist/matrix.layout-FD5BPRCX.js +44 -0
- package/dist/matrix.renderers-DVM4NB2R.js +38 -0
- package/dist/matrix.sort.unit.spec-VQ3TR4S2.js +472 -0
- package/dist/matrix.sorterUi-4KYRGJT5.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-IEHG3OKN.js +342 -0
- package/dist/mavb-RPRKXPTZ.js +732 -0
- package/dist/mds.fimo-PZCVBD44.js +518 -0
- package/dist/mds.samplescatterplot-236GTHM4.js +1550 -0
- package/dist/mds.survivalplot-IJHOWSZL.js +483 -0
- package/dist/oncomatrix-R4OKDXSV.js +295 -0
- package/dist/oncomatrix.spec-4Z4HKS44.js +448 -0
- package/dist/plot.2dvaf-ZK7DAKRQ.js +377 -0
- package/dist/plot.app-J66BA2LD.js +41 -0
- package/dist/plot.barplot-UVRVPOKA.js +102 -0
- package/dist/plot.boxplot-DQGBDNLU.js +152 -0
- package/dist/plot.brainImaging-WRMDYYHC.js +51 -0
- package/dist/plot.disco-SSGPSM7W.js +102 -0
- package/dist/plot.dzi-F77KKPIJ.js +33 -0
- package/dist/plot.ssgq-FVFJOYVO.js +139 -0
- package/dist/plot.vaf2cov-CJSYBSPQ.js +259 -0
- package/dist/plot.wsi-OSZU2PQ5.js +36 -0
- package/dist/polar2-R4ZKXKEV.js +237 -0
- package/dist/profileForms-F7LXHITE.js +940 -0
- package/dist/profileForms-F7LXHITE.js.map +7 -0
- package/dist/profilePlot-JU7SFYYY.js +54 -0
- package/dist/proteinView-VU4SVO5I.js +1568 -0
- package/dist/proteomeCohortCompare-2U537GOK.js +799 -0
- package/dist/pseudbulk.unit.spec-2FDKAEVI.js +91 -0
- package/dist/pseudobulk-5GBUBBOY.js +40 -0
- package/dist/qualitative-3FTEQ7JW.js +43 -0
- package/dist/radar2-EBOTTAMC.js +332 -0
- package/dist/radarFacility2-PAGNJR6D.js +340 -0
- package/dist/regression-XOVSVC7S.js +58 -0
- package/dist/regression.inputs-LGA67ESO.js +48 -0
- package/dist/regression.inputs.term-UCQKXC5D.js +50 -0
- package/dist/regression.inputs.values.table-2RRE7SMS.js +45 -0
- package/dist/regression.integration.spec-BKM5UI7H.js +838 -0
- package/dist/regression.results-T3HB6CBH.js +40 -0
- package/dist/regression.spec-W7IVCYVZ.js +708 -0
- package/dist/render-2C6LWNG2.js +38 -0
- package/dist/report-HRGU3XKL.js +222 -0
- package/dist/sampleView-P5JZHEKY.js +48 -0
- package/dist/samplelst-OYQ6BASU.js +111 -0
- package/dist/samplematrix-JC3SGO5V.js +2198 -0
- package/dist/sc-FTHUNDGY.js +86 -0
- package/dist/scatter-WYP2NPNB.js +890 -0
- package/dist/selectGenomeWithTklst-CIETKILP.js +134 -0
- package/dist/singleCellCellType-3O3TTLM6.js +38 -0
- package/dist/singleCellCellType.unit.spec-GHBS36DB.js +159 -0
- package/dist/singleCellGeneExpression-2F7F4EKK.js +38 -0
- package/dist/singleCellGeneExpression.unit.spec-2VGIH2NZ.js +153 -0
- package/dist/singleCellPlot-MGSS4O3L.js +54 -0
- package/dist/singlecell-CKC2VVJ3.js +86 -0
- package/dist/singlecell-QOXATRF4.js +1572 -0
- package/dist/snp-OSYJO2R7.js +38 -0
- package/dist/snp.unit.spec-L5ANPFO2.js +176 -0
- package/dist/snplocus-64MJJID2.js +208 -0
- package/dist/spliceevent.a53ss.diagram-LHRT5UPB.js +151 -0
- package/dist/spliceevent.exonskip.diagram-BGSEPGR5.js +283 -0
- package/dist/spliceevent.noeventdiagram-QGZZSKW7.js +460 -0
- package/dist/ssGSEA-VVAZDFDT.js +38 -0
- package/dist/ssGSEA.unit.spec-LP76RHTV.js +88 -0
- package/dist/stattable-55YGV5B4.js +122 -0
- package/dist/stattable-55YGV5B4.js.map +7 -0
- package/dist/studyCatalog-AXWH7IOH.js +358 -0
- package/dist/summarizeCnvGeneexp-DRBIXOAP.js +163 -0
- package/dist/summarizeGeneexpSurvival-4PATAUSN.js +110 -0
- package/dist/summarizeMutationCnv-UGSIGZDJ.js +164 -0
- package/dist/summarizeMutationDiagnosis-UATVI5BK.js +40 -0
- package/dist/summarizeMutationSurvival-CZXGM3AA.js +99 -0
- package/dist/summary-IGTXNQ5I.js +49 -0
- package/dist/summary.integration.spec-VFCYU2V6.js +414 -0
- package/dist/summaryInput-AFZSASTM.js +231 -0
- package/dist/sunburst-G7DBI637.js +284 -0
- package/dist/survival-GIRR5ML4.js +1247 -0
- package/dist/survival-GIRR5ML4.js.map +7 -0
- package/dist/survival-YOJBLMR2.js +58 -0
- package/dist/survival.integration.spec-FXPCZJSS.js +958 -0
- package/dist/svgraph-ZSSOWI7R.js +1387 -0
- package/dist/svmr-FPYSMXSC.js +3842 -0
- package/dist/table-NHS2WLWT.js +202 -0
- package/dist/table-NHS2WLWT.js.map +7 -0
- package/dist/termCollection-IY5V64IY.js +38 -0
- package/dist/termCollection-SR4SP6RZ.js +257 -0
- package/dist/termCollection.unit.spec-NL72AQ2P.js +304 -0
- package/dist/termCollectionFractionSelection-2LPBE224.js +47 -0
- package/dist/termCollectionFractionSelection.unit.spec-PUMGBUDN.js +193 -0
- package/dist/termInfo-2DR7DHXM.js +9 -0
- package/dist/tk-COBDWIZJ.js +1127 -0
- package/dist/tk-N2YBXDQK.js +46 -0
- package/dist/tp.ui-BMK2MMIJ.js +1459 -0
- package/dist/tvs.dt-KL4VCW5Y.js +39 -0
- package/dist/tvs.dtcnv.categorical-VGXOASJE.js +40 -0
- package/dist/tvs.dtcnv.continuous-IANT7BPS.js +72 -0
- package/dist/tvs.dtfusion-M5HJWCJI.js +40 -0
- package/dist/tvs.dtitd-KB72EDPN.js +40 -0
- package/dist/tvs.dtsnvindel-VGYTLO6E.js +40 -0
- package/dist/tvs.dtsv-KWUXW2F5.js +40 -0
- package/dist/tvs.samplelst-3UA7XMHJ.js +104 -0
- package/dist/tvs.termCollection-LK6CVGYZ.js +129 -0
- package/dist/violin-D4EX3ZFV.js +46 -0
- package/dist/violin.integration.spec-GBW3VBHW.js +1425 -0
- package/dist/violin.interactivity-N3JVI2AQ.js +38 -0
- package/dist/violin.renderer-2NYRUXUY.js +40 -0
- package/dist/vocabulary-277KD4RO.js +41 -0
- package/dist/wsi.direct-RI3XGLUC.js +81 -0
- package/dist/wsi.direct-RI3XGLUC.js.map +7 -0
- package/package.json +2 -2
- package/dist/2dmaf-6MNHNHWX.js +0 -1373
- package/dist/AIProjectAdmin-W36NGUX2.js +0 -958
- package/dist/AggregateMatrix-YH2SN6VN.js +0 -671
- package/dist/AppHeader-I5CFECIL.js +0 -835
- package/dist/BoxPlot-4SXDAOBP.js +0 -1218
- package/dist/CorrelationVolcano-NAWMGG4Q.js +0 -619
- package/dist/CorrelationVolcano-NAWMGG4Q.js.map +0 -7
- package/dist/DE-VZMT7KEM.js +0 -95
- package/dist/DEinput-TKERM2YD.js +0 -409
- package/dist/DEinput-TKERM2YD.js.map +0 -7
- package/dist/DifferentialAnalysis-Y4SU4BVP.js +0 -243
- package/dist/Disco-DLK3BYPV.js +0 -3392
- package/dist/Disco.UI-IKGMFG36.js +0 -248
- package/dist/DmrPlot-JWBZJFS6.js +0 -642
- package/dist/DziViewer-6737GC22.js +0 -16332
- package/dist/GB-3UZSSIBW.js +0 -1396
- package/dist/GSEA-YLHBZY55.js +0 -846
- package/dist/GeneExpInput-KX5I63YV.js +0 -367
- package/dist/Geomap-QTUHM4VH.js +0 -89
- package/dist/HicApp-M2OCHGRT.js +0 -2250
- package/dist/IDCViewer-SWFBLBZH.js +0 -10817
- package/dist/NumBinaryEditor-ILFP6DR7.js +0 -284
- package/dist/NumBinaryEditor.unit.spec-TNIH7GQB.js +0 -317
- package/dist/NumContEditor-7UR3QMO6.js +0 -110
- package/dist/NumContEditor.unit.spec-P67AFEHM.js +0 -169
- package/dist/NumCustomBinEditor-H22J4K47.js +0 -38
- package/dist/NumCustomBinEditor.unit.spec-CO76BQPZ.js +0 -402
- package/dist/NumDiscreteEditor-TSUHVX77.js +0 -175
- package/dist/NumDiscreteEditor.unit.spec-RGC3GT22.js +0 -238
- package/dist/NumRegularBinEditor-IRD27CE2.js +0 -38
- package/dist/NumRegularBinEditor.unit.spec-MUHVOK5P.js +0 -283
- package/dist/NumSplineEditor-3V7RWHE2.js +0 -215
- package/dist/NumSplineEditor.unit.spec-BUI7NPN4.js +0 -229
- package/dist/NumericDensity-53KMCTDL.js +0 -38
- package/dist/NumericDensity.unit.spec-OKAQPQHR.js +0 -423
- package/dist/NumericHandler-5QFNXVBA.js +0 -39
- package/dist/NumericHandler.unit.spec-OBITSUU3.js +0 -219
- package/dist/ProteomeInput-MM373EL3.js +0 -394
- package/dist/RunChart2-2L6T3ITZ.js +0 -758
- package/dist/SC-JKD3Z2X5.js +0 -1112
- package/dist/Volcano-STGBS7IJ.js +0 -1404
- package/dist/Volcano-STGBS7IJ.js.map +0 -7
- package/dist/WSIViewer-LOBVUTOD.js +0 -48562
- package/dist/WSIViewer-LOBVUTOD.js.map +0 -7
- package/dist/WsiSamplesPlot-D3L3AILR.js +0 -165
- package/dist/adSandbox-XO5HDSFW.js +0 -38
- package/dist/animatedBubbleChart-XKW6TCZP.js +0 -553
- package/dist/app-H7ABTG6X.js +0 -49
- package/dist/app-HJSPIKRQ.js +0 -37
- package/dist/bam-R5QVHWGY.js +0 -859
- package/dist/barchart-OGCLBPQ2.js +0 -47
- package/dist/barchart.events-GZTY4IC3.js +0 -47
- package/dist/barchart.integration.spec-Z6ECNFSM.js +0 -2243
- package/dist/barchart2-DT42I747.js +0 -314
- package/dist/block-UYYJXSCM.js +0 -6255
- package/dist/block.init-43M53IMA.js +0 -38
- package/dist/block.mds.expressionrank-YH3IWMKM.js +0 -359
- package/dist/block.mds.geneboxplot-QS2IK37X.js +0 -828
- package/dist/block.mds.junction-7FF5BFEX.js +0 -1545
- package/dist/block.mds.svcnv-MMJYLL2W.js +0 -6801
- package/dist/block.svg-SA6DSUM2.js +0 -164
- package/dist/block.tk.aicheck-ZX5LZ2QO.js +0 -283
- package/dist/block.tk.ase-YXT4BOXK.js +0 -365
- package/dist/block.tk.bam-IMLRIOOV.js +0 -1906
- package/dist/block.tk.bedgraphdot-UYQLL7HM.js +0 -384
- package/dist/block.tk.bigwig.ui-WUVLVRSM.js +0 -211
- package/dist/block.tk.hicstraw-N4SJGF7H.js +0 -823
- package/dist/block.tk.junction-LZWHFKWJ.js +0 -2364
- package/dist/block.tk.junction.textmatrixui-B626NYPA.js +0 -199
- package/dist/block.tk.ld-6VWUMAP6.js +0 -99
- package/dist/block.tk.menu-RRN2UPQX.js +0 -1029
- package/dist/block.tk.pgv-GYG3EI6P.js +0 -944
- package/dist/brainImaging-VIMLETC5.js +0 -423
- package/dist/brainRegions-DRYZT5K5.js +0 -221
- package/dist/bubbleHeatmap-Y4SGMVJY.js +0 -383
- package/dist/cellTypeBubbleHeatmap-QW37ZT5W.js +0 -283
- package/dist/chunk-2Y5C7GJS.js +0 -299
- package/dist/chunk-2ZTCRUOL.js +0 -2899
- package/dist/chunk-3O6XFPUB.js +0 -243
- package/dist/chunk-3P74DH6P.js +0 -236
- package/dist/chunk-3PPCZPLN.js +0 -98
- package/dist/chunk-4H4WJJ2G.js +0 -54
- package/dist/chunk-4KY4XKJV.js +0 -143
- package/dist/chunk-4L2OSDQ6.js +0 -626
- package/dist/chunk-4L2OSDQ6.js.map +0 -7
- package/dist/chunk-4USLEUNR.js +0 -1812
- package/dist/chunk-5ITKSTJX.js +0 -34
- package/dist/chunk-5VMYXVZG.js +0 -272
- package/dist/chunk-7ZVFLC2V.js +0 -134
- package/dist/chunk-C2JHLAKV.js +0 -222
- package/dist/chunk-C5IAIOCA.js +0 -102
- package/dist/chunk-CIRCVMWE.js +0 -102
- package/dist/chunk-CRH37PEV.js +0 -203
- package/dist/chunk-DCNDZOI3.js +0 -6364
- package/dist/chunk-DHPLHIVP.js +0 -498
- package/dist/chunk-DKAHHMKN.js +0 -5070
- package/dist/chunk-ECIBJXFT.js +0 -352
- package/dist/chunk-EQCVSUAF.js +0 -37
- package/dist/chunk-FVL37XFU.js +0 -834
- package/dist/chunk-FVL37XFU.js.map +0 -7
- package/dist/chunk-FXS4I3Z3.js +0 -176
- package/dist/chunk-FYAY6D3O.js +0 -123
- package/dist/chunk-GL44X7JY.js +0 -302
- package/dist/chunk-HQAJVJCQ.js +0 -195
- package/dist/chunk-HQAJVJCQ.js.map +0 -7
- package/dist/chunk-IIT367QZ.js +0 -473
- package/dist/chunk-IYT5PNYJ.js +0 -148
- package/dist/chunk-IYT5PNYJ.js.map +0 -7
- package/dist/chunk-J6EP7JPJ.js +0 -1245
- package/dist/chunk-J6EP7JPJ.js.map +0 -7
- package/dist/chunk-JKMN7XOP.js +0 -1114
- package/dist/chunk-JKMN7XOP.js.map +0 -7
- package/dist/chunk-JLGCQ2F4.js +0 -480
- package/dist/chunk-JQT67SWE.js +0 -263
- package/dist/chunk-JQYPRW42.js +0 -217
- package/dist/chunk-K4IGOJPT.js +0 -160
- package/dist/chunk-K6OVOHIZ.js +0 -21483
- package/dist/chunk-K6OVOHIZ.js.map +0 -7
- package/dist/chunk-KPTPDZX2.js +0 -56
- package/dist/chunk-KTB7KXC2.js +0 -187
- package/dist/chunk-KTB7KXC2.js.map +0 -7
- package/dist/chunk-KW7MKBGF.js +0 -2681
- package/dist/chunk-KZFVYDVK.js +0 -448
- package/dist/chunk-M3J4MINX.js +0 -783
- package/dist/chunk-M3J4MINX.js.map +0 -7
- package/dist/chunk-M77DCLJX.js +0 -100
- package/dist/chunk-MFEYO6FB.js +0 -4306
- package/dist/chunk-MFEYO6FB.js.map +0 -7
- package/dist/chunk-MUJMZ6W6.js +0 -129
- package/dist/chunk-NRP55BOF.js +0 -50
- package/dist/chunk-O5KFJBU3.js +0 -1942
- package/dist/chunk-O5KFJBU3.js.map +0 -7
- package/dist/chunk-Q4AP5L7R.js +0 -1311
- package/dist/chunk-Q4AP5L7R.js.map +0 -7
- package/dist/chunk-QHPN3JJZ.js +0 -55
- package/dist/chunk-QSGXZEUU.js +0 -465
- package/dist/chunk-RIQT2LSR.js +0 -479
- package/dist/chunk-RIQT2LSR.js.map +0 -7
- package/dist/chunk-RZGEKL77.js +0 -117
- package/dist/chunk-SOCGXVIL.js +0 -2327
- package/dist/chunk-SZHFBRRT.js +0 -514
- package/dist/chunk-TOYMIFHN.js +0 -381
- package/dist/chunk-TPVHGI7Q.js +0 -368
- package/dist/chunk-UJN2RH5R.js +0 -411
- package/dist/chunk-V2DU2OXH.js +0 -1710
- package/dist/chunk-X7KRSZQT.js +0 -2784
- package/dist/chunk-XIBY5I6F.js +0 -240
- package/dist/chunk-XJBSBIZ4.js +0 -70
- package/dist/chunk-XRQWZJJ3.js +0 -347
- package/dist/chunk-XRQWZJJ3.js.map +0 -7
- package/dist/chunk-XZ4M3QAV.js +0 -158
- package/dist/chunk-YMP4YKBN.js +0 -142
- package/dist/chunk-Z7VK2AMA.js +0 -292
- package/dist/chunk-ZH7JPYQE.js +0 -14
- package/dist/chunk-ZVDOSFWU.js +0 -276
- package/dist/cohort-CEYVJJ7E.js +0 -75
- package/dist/condition-QSOFP4MY.js +0 -332
- package/dist/controls-QYHARIEY.js +0 -39
- package/dist/controls.btns-AP67YWKW.js +0 -9
- package/dist/controls.config-3OO3JK6E.js +0 -39
- package/dist/correlation-TOI3TMYL.js +0 -102
- package/dist/cuminc-L7OJTYXC.js +0 -1148
- package/dist/cuminc-L7OJTYXC.js.map +0 -7
- package/dist/cuminc.integration.spec-LSWV3KOF.js +0 -678
- package/dist/customdata.inputui-VMB3HSSC.js +0 -289
- package/dist/dataDownload-NPSWNOAG.js +0 -330
- package/dist/dataDownload-NPSWNOAG.js.map +0 -7
- package/dist/dataDownload.integration.spec-J6FRFLBK.js +0 -193
- package/dist/databrowser.ui-GVYWG6YI.js +0 -432
- package/dist/dictionary-GD67R72W.js +0 -118
- package/dist/dnaMethylation-S7OSGLAF.js +0 -38
- package/dist/dnaMethylation.integration.spec-ETMMJNDE.js +0 -203
- package/dist/dofetch-7GURQS65.js +0 -51
- package/dist/e2pca-ZIIPBJFN.js +0 -350
- package/dist/ep-A2HAL5WA.js +0 -1256
- package/dist/expclust.gdc.spec-ZSILLYNI.js +0 -307
- package/dist/facet-74LKIPTA.js +0 -521
- package/dist/facet-74LKIPTA.js.map +0 -7
- package/dist/gb-C3MPQXKN.js +0 -88
- package/dist/geneExpClustering-HYCFUUTU.js +0 -249
- package/dist/geneExpression-GATKMJJ5.js +0 -313
- package/dist/geneExpression-JXSAP2H7.js +0 -38
- package/dist/geneExpression.unit.spec-CODZYFHZ.js +0 -102
- package/dist/geneORA-LJRIR4VV.js +0 -278
- package/dist/geneRanking-TWLBKQZG.js +0 -553
- package/dist/geneVariant-35RQHTCK.js +0 -41
- package/dist/geneVariant-TMJJIMUF.js +0 -39
- package/dist/geneVariant.integration.spec-FIQ7IBSD.js +0 -198
- package/dist/genefusion.ui-SOBESSNO.js +0 -308
- package/dist/geneset-JXEJFEK2.js +0 -208
- package/dist/genomeBrowser.spec-25ZO5S2X.js +0 -281
- package/dist/grin2-CW4RPVPI.js +0 -75
- package/dist/grin2-EI5BVP4E.js +0 -1143
- package/dist/hierCluster-OBBPQH24.js +0 -59
- package/dist/hierCluster-SDH3TJQY.js +0 -63
- package/dist/hierCluster.config-DO67TCXI.js +0 -40
- package/dist/hierCluster.integration.spec-EB24C4VZ.js +0 -488
- package/dist/hierCluster.interactivity-LGEAFT5T.js +0 -54
- package/dist/imagePlot-LGLFG2QZ.js +0 -163
- package/dist/imagePlot-LGLFG2QZ.js.map +0 -7
- package/dist/importPlot-R2WRZGZU.js +0 -8
- package/dist/isoformExpression-KI3WY5M3.js +0 -40
- package/dist/isoformExpression.unit.spec-OQRG2DDU.js +0 -242
- package/dist/junction-6SWFPNM5.js +0 -41
- package/dist/junction.unit.spec-5TZFITSU.js +0 -187
- package/dist/launch.adhoc-HCX2RQLB.js +0 -42
- package/dist/leftlabel.sample-OI6XCXTQ.js +0 -263
- package/dist/lollipop-SOSOYHYL.js +0 -171
- package/dist/maf-73RLOEVN.js +0 -459
- package/dist/maf-73RLOEVN.js.map +0 -7
- package/dist/maftimeline-UOMLYUNI.js +0 -593
- package/dist/matrix-5QWDN6SI.js +0 -63
- package/dist/matrix-SKPVVDVR.js +0 -58
- package/dist/matrix.config-HE64MAL4.js +0 -41
- package/dist/matrix.data-HTUZXQAM.js +0 -25
- package/dist/matrix.dom-F7AN3QGE.js +0 -11
- package/dist/matrix.integration.spec-YKJ4LZFY.js +0 -3072
- package/dist/matrix.interactivity-YB5G5W5T.js +0 -42
- package/dist/matrix.layout-MFG65V7K.js +0 -44
- package/dist/matrix.renderers-PCZFHDDZ.js +0 -38
- package/dist/matrix.sort.unit.spec-GEAM5DSU.js +0 -472
- package/dist/matrix.sorterUi-YSKIX6B6.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-2MW64QS5.js +0 -342
- package/dist/mavb-YMHJXCGA.js +0 -732
- package/dist/mds.fimo-PTEDRMLQ.js +0 -518
- package/dist/mds.samplescatterplot-7R7PLVQJ.js +0 -1550
- package/dist/mds.survivalplot-F3EENMFQ.js +0 -483
- package/dist/oncomatrix-27VVSMZB.js +0 -295
- package/dist/oncomatrix.spec-F43Y7CWN.js +0 -448
- package/dist/plot.2dvaf-MYFQSWIA.js +0 -377
- package/dist/plot.app-36QWCKXR.js +0 -41
- package/dist/plot.barplot-535EP7XT.js +0 -102
- package/dist/plot.boxplot-6IBP7VEB.js +0 -152
- package/dist/plot.brainImaging-M4HPNXZH.js +0 -51
- package/dist/plot.disco-HIT6GR44.js +0 -102
- package/dist/plot.dzi-W66SBKTH.js +0 -33
- package/dist/plot.ssgq-MI2OMCUY.js +0 -139
- package/dist/plot.vaf2cov-F4CBMLRA.js +0 -259
- package/dist/plot.wsi-7M5KTNFC.js +0 -36
- package/dist/polar2-7VSWGT4U.js +0 -237
- package/dist/profileForms-DFPCNJW2.js +0 -940
- package/dist/profileForms-DFPCNJW2.js.map +0 -7
- package/dist/profilePlot-ECTPPVB2.js +0 -54
- package/dist/proteinView-6ELOLOIU.js +0 -1568
- package/dist/proteomeCohortCompare-V2FMWI62.js +0 -799
- package/dist/pseudbulk.unit.spec-KV6URTXC.js +0 -91
- package/dist/pseudobulk-6ZRFCE65.js +0 -40
- package/dist/qualitative-3B62RUOB.js +0 -43
- package/dist/radar2-4QQER64E.js +0 -332
- package/dist/radarFacility2-MZKORRDY.js +0 -340
- package/dist/regression-GZ2YNX6Y.js +0 -56
- package/dist/regression.inputs-ZEFDNSVT.js +0 -48
- package/dist/regression.inputs.term-O2FQBX7L.js +0 -48
- package/dist/regression.inputs.values.table-63BQKSZP.js +0 -45
- package/dist/regression.integration.spec-KDHC3KDU.js +0 -838
- package/dist/regression.results-5J3QM4RX.js +0 -40
- package/dist/regression.spec-WZAZTDDA.js +0 -708
- package/dist/render-MZTEXVU5.js +0 -38
- package/dist/report-M5TYHH2W.js +0 -222
- package/dist/sampleView-QYTLYJEW.js +0 -48
- package/dist/samplelst-FN3Q7M7A.js +0 -111
- package/dist/samplematrix-Z5FVODO7.js +0 -2198
- package/dist/sc-4CHP5SYP.js +0 -86
- package/dist/scatter-UOPJYXL3.js +0 -890
- package/dist/selectGenomeWithTklst-WMAHGT4F.js +0 -134
- package/dist/singleCellCellType-XPWENB6V.js +0 -38
- package/dist/singleCellCellType.unit.spec-QK56PHKW.js +0 -159
- package/dist/singleCellGeneExpression-4CEVDVYF.js +0 -38
- package/dist/singleCellGeneExpression.unit.spec-ZYRLBVF5.js +0 -153
- package/dist/singleCellPlot-JS74VUGC.js +0 -54
- package/dist/singlecell-5XYOHMWJ.js +0 -1572
- package/dist/singlecell-OO77XBDD.js +0 -86
- package/dist/snp-X5ZILM5J.js +0 -38
- package/dist/snp.unit.spec-V23G3JLJ.js +0 -176
- package/dist/snplocus-U5UIIUWR.js +0 -208
- package/dist/spliceevent.a53ss.diagram-YDFVSDMT.js +0 -151
- package/dist/spliceevent.exonskip.diagram-VDKN5JBE.js +0 -283
- package/dist/spliceevent.noeventdiagram-EFPFRUFI.js +0 -460
- package/dist/ssGSEA-LKJW5OQK.js +0 -38
- package/dist/ssGSEA.unit.spec-7WCZVEP2.js +0 -88
- package/dist/stattable-MDABSW3F.js +0 -90
- package/dist/stattable-MDABSW3F.js.map +0 -7
- package/dist/studyCatalog-EU33KE5H.js +0 -358
- package/dist/summarizeCnvGeneexp-QL25OQNB.js +0 -163
- package/dist/summarizeGeneexpSurvival-B7HTCH7L.js +0 -110
- package/dist/summarizeMutationCnv-DFAPX2JE.js +0 -164
- package/dist/summarizeMutationDiagnosis-HCSDSVII.js +0 -40
- package/dist/summarizeMutationSurvival-6WEASSA2.js +0 -99
- package/dist/summary-BWYXE77G.js +0 -49
- package/dist/summary.integration.spec-AVGSW5MF.js +0 -414
- package/dist/summaryInput-MOQ6HUCX.js +0 -231
- package/dist/sunburst-EZDHVJCL.js +0 -284
- package/dist/survival-5TFMM7NP.js +0 -1239
- package/dist/survival-5TFMM7NP.js.map +0 -7
- package/dist/survival-IEVELTC4.js +0 -58
- package/dist/survival.integration.spec-HHWP3R4H.js +0 -958
- package/dist/svgraph-55XRIYJW.js +0 -1387
- package/dist/svmr-CMEBFSRO.js +0 -3842
- package/dist/table-LTWQ3TLQ.js +0 -200
- package/dist/table-LTWQ3TLQ.js.map +0 -7
- package/dist/termCollection-CPQXYBFA.js +0 -38
- package/dist/termCollection-ZWOH273K.js +0 -257
- package/dist/termCollection.unit.spec-RK7VATLU.js +0 -304
- package/dist/termCollectionFractionSelection-Z4ZRW63R.js +0 -47
- package/dist/termCollectionFractionSelection.unit.spec-3CS7DPNU.js +0 -193
- package/dist/termInfo-6MJDJSDW.js +0 -9
- package/dist/tk-4NNTWWLK.js +0 -46
- package/dist/tk-RHWJJXH2.js +0 -1127
- package/dist/tp.ui-DPN5UN6U.js +0 -1459
- package/dist/tvs.dt-ARPDFRVM.js +0 -39
- package/dist/tvs.dtcnv.categorical-POS6WQK6.js +0 -40
- package/dist/tvs.dtcnv.continuous-5OETJ7JU.js +0 -72
- package/dist/tvs.dtfusion-ERYVI3DW.js +0 -40
- package/dist/tvs.dtitd-KTZZYEWU.js +0 -40
- package/dist/tvs.dtsnvindel-TGUAX3RN.js +0 -40
- package/dist/tvs.dtsv-AM63OIL6.js +0 -40
- package/dist/tvs.samplelst-VW2NOQ2C.js +0 -104
- package/dist/tvs.termCollection-O4ZSWJFA.js +0 -129
- package/dist/violin-ZQ3DEYGR.js +0 -46
- package/dist/violin.integration.spec-PVEF77HB.js +0 -1425
- package/dist/violin.interactivity-FYU4TCFO.js +0 -38
- package/dist/violin.renderer-XAERGBMV.js +0 -40
- package/dist/vocabulary-ECJX27W2.js +0 -41
- /package/dist/{2dmaf-6MNHNHWX.js.map → 2dmaf-Y2MBOXHL.js.map} +0 -0
- /package/dist/{AIProjectAdmin-W36NGUX2.js.map → AIProjectAdmin-2W4WNV65.js.map} +0 -0
- /package/dist/{AggregateMatrix-YH2SN6VN.js.map → AggregateMatrix-7L7OKUXI.js.map} +0 -0
- /package/dist/{AppHeader-I5CFECIL.js.map → AppHeader-6WM66GKP.js.map} +0 -0
- /package/dist/{BoxPlot-4SXDAOBP.js.map → BoxPlot-AF72DMSS.js.map} +0 -0
- /package/dist/{DE-VZMT7KEM.js.map → DE-AABMOSEE.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-Y4SU4BVP.js.map → DifferentialAnalysis-NBC222Q6.js.map} +0 -0
- /package/dist/{Disco-DLK3BYPV.js.map → Disco-B6E3ALAV.js.map} +0 -0
- /package/dist/{Disco.UI-IKGMFG36.js.map → Disco.UI-KGFIQHXC.js.map} +0 -0
- /package/dist/{DmrPlot-JWBZJFS6.js.map → DmrPlot-R3S4PCAE.js.map} +0 -0
- /package/dist/{DziViewer-6737GC22.js.map → DziViewer-QYLZ4EMQ.js.map} +0 -0
- /package/dist/{GB-3UZSSIBW.js.map → GB-PV4RI5DG.js.map} +0 -0
- /package/dist/{GSEA-YLHBZY55.js.map → GSEA-DHUOROST.js.map} +0 -0
- /package/dist/{GeneExpInput-KX5I63YV.js.map → GeneExpInput-RESMBEM3.js.map} +0 -0
- /package/dist/{Geomap-QTUHM4VH.js.map → Geomap-2WACSP77.js.map} +0 -0
- /package/dist/{HicApp-M2OCHGRT.js.map → HicApp-3FJEZXAI.js.map} +0 -0
- /package/dist/{IDCViewer-SWFBLBZH.js.map → IDCViewer-MIRQEK4N.js.map} +0 -0
- /package/dist/{NumBinaryEditor-ILFP6DR7.js.map → NumBinaryEditor-EP277U4I.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-TNIH7GQB.js.map → NumBinaryEditor.unit.spec-ZB627VLG.js.map} +0 -0
- /package/dist/{NumContEditor-7UR3QMO6.js.map → NumContEditor-F7DOQSIW.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-P67AFEHM.js.map → NumContEditor.unit.spec-PROGQHTU.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-H22J4K47.js.map → NumCustomBinEditor-QS3IPKIQ.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-CO76BQPZ.js.map → NumCustomBinEditor.unit.spec-BRDEFIX6.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-TSUHVX77.js.map → NumDiscreteEditor-SE4I3BDA.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-RGC3GT22.js.map → NumDiscreteEditor.unit.spec-6GBWQ3NQ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-IRD27CE2.js.map → NumRegularBinEditor-RJKB3G3V.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-MUHVOK5P.js.map → NumRegularBinEditor.unit.spec-HRU2Y76X.js.map} +0 -0
- /package/dist/{NumSplineEditor-3V7RWHE2.js.map → NumSplineEditor-2DCORF5E.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-BUI7NPN4.js.map → NumSplineEditor.unit.spec-TTNB5IXX.js.map} +0 -0
- /package/dist/{NumericDensity-53KMCTDL.js.map → NumericDensity-3A7KTA7Y.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-OKAQPQHR.js.map → NumericDensity.unit.spec-ISPDAUVX.js.map} +0 -0
- /package/dist/{NumericHandler-5QFNXVBA.js.map → NumericHandler-RG5XZMBU.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-OBITSUU3.js.map → NumericHandler.unit.spec-RTD7AZNE.js.map} +0 -0
- /package/dist/{ProteomeInput-MM373EL3.js.map → ProteomeInput-6A7UB4CI.js.map} +0 -0
- /package/dist/{RunChart2-2L6T3ITZ.js.map → RunChart2-YEAOBR2L.js.map} +0 -0
- /package/dist/{SC-JKD3Z2X5.js.map → SC-C3MJQBI5.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-D3L3AILR.js.map → WsiSamplesPlot-ET7LGNJW.js.map} +0 -0
- /package/dist/{adSandbox-XO5HDSFW.js.map → adSandbox-6LGHUXPX.js.map} +0 -0
- /package/dist/{animatedBubbleChart-XKW6TCZP.js.map → animatedBubbleChart-VJ6EQDQP.js.map} +0 -0
- /package/dist/{app-H7ABTG6X.js.map → app-PRLLUIAA.js.map} +0 -0
- /package/dist/{app-HJSPIKRQ.js.map → app-WR6PQ2YK.js.map} +0 -0
- /package/dist/{bam-R5QVHWGY.js.map → bam-EXBXKUSE.js.map} +0 -0
- /package/dist/{barchart-OGCLBPQ2.js.map → barchart-FSIB3IZZ.js.map} +0 -0
- /package/dist/{barchart.events-GZTY4IC3.js.map → barchart.events-F4HSVH6M.js.map} +0 -0
- /package/dist/{barchart.integration.spec-Z6ECNFSM.js.map → barchart.integration.spec-AXE7BRKX.js.map} +0 -0
- /package/dist/{barchart2-DT42I747.js.map → barchart2-DRNQQJE2.js.map} +0 -0
- /package/dist/{block-UYYJXSCM.js.map → block-J3A3RIGS.js.map} +0 -0
- /package/dist/{block.init-43M53IMA.js.map → block.init-MQKMDKKW.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-YH3IWMKM.js.map → block.mds.expressionrank-ZQEPPDEL.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-QS2IK37X.js.map → block.mds.geneboxplot-VJTIMZ6H.js.map} +0 -0
- /package/dist/{block.mds.junction-7FF5BFEX.js.map → block.mds.junction-VTAMQ2CW.js.map} +0 -0
- /package/dist/{block.mds.svcnv-MMJYLL2W.js.map → block.mds.svcnv-WG7WY3CS.js.map} +0 -0
- /package/dist/{block.svg-SA6DSUM2.js.map → block.svg-YTWYGSGO.js.map} +0 -0
- /package/dist/{block.tk.aicheck-ZX5LZ2QO.js.map → block.tk.aicheck-L4M55U63.js.map} +0 -0
- /package/dist/{block.tk.ase-YXT4BOXK.js.map → block.tk.ase-3OBVSGWM.js.map} +0 -0
- /package/dist/{block.tk.bam-IMLRIOOV.js.map → block.tk.bam-QUCP3HST.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-UYQLL7HM.js.map → block.tk.bedgraphdot-BGAH5YPF.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-WUVLVRSM.js.map → block.tk.bigwig.ui-2MG6VMOE.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-N4SJGF7H.js.map → block.tk.hicstraw-MDQHFWBB.js.map} +0 -0
- /package/dist/{block.tk.junction-LZWHFKWJ.js.map → block.tk.junction-PBCJTAFX.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-B626NYPA.js.map → block.tk.junction.textmatrixui-FJR76QBO.js.map} +0 -0
- /package/dist/{block.tk.ld-6VWUMAP6.js.map → block.tk.ld-ISL7K3DH.js.map} +0 -0
- /package/dist/{block.tk.menu-RRN2UPQX.js.map → block.tk.menu-VQW3FUAF.js.map} +0 -0
- /package/dist/{block.tk.pgv-GYG3EI6P.js.map → block.tk.pgv-RMXDF3XD.js.map} +0 -0
- /package/dist/{brainImaging-VIMLETC5.js.map → brainImaging-F4GZRF53.js.map} +0 -0
- /package/dist/{brainRegions-DRYZT5K5.js.map → brainRegions-ONUXPD7P.js.map} +0 -0
- /package/dist/{bubbleHeatmap-Y4SGMVJY.js.map → bubbleHeatmap-ZOS2ME3T.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-QW37ZT5W.js.map → cellTypeBubbleHeatmap-BEVDWLHJ.js.map} +0 -0
- /package/dist/{chunk-DCNDZOI3.js.map → chunk-2JQWA4EO.js.map} +0 -0
- /package/dist/{chunk-DHPLHIVP.js.map → chunk-2TZITKMT.js.map} +0 -0
- /package/dist/{chunk-MUJMZ6W6.js.map → chunk-4BDOPNYW.js.map} +0 -0
- /package/dist/{chunk-JLGCQ2F4.js.map → chunk-4RWLKZMS.js.map} +0 -0
- /package/dist/{chunk-2ZTCRUOL.js.map → chunk-57GCW5SF.js.map} +0 -0
- /package/dist/{chunk-RZGEKL77.js.map → chunk-5RUVBYLK.js.map} +0 -0
- /package/dist/{chunk-QHPN3JJZ.js.map → chunk-5YOZ4E5H.js.map} +0 -0
- /package/dist/{chunk-GL44X7JY.js.map → chunk-6N5DNN7P.js.map} +0 -0
- /package/dist/{chunk-5VMYXVZG.js.map → chunk-AOVDTRFY.js.map} +0 -0
- /package/dist/{chunk-QSGXZEUU.js.map → chunk-BIDQ4OZH.js.map} +0 -0
- /package/dist/{chunk-Z7VK2AMA.js.map → chunk-C34UTN5M.js.map} +0 -0
- /package/dist/{chunk-7ZVFLC2V.js.map → chunk-DFHSLHXZ.js.map} +0 -0
- /package/dist/{chunk-2Y5C7GJS.js.map → chunk-E2JRANYL.js.map} +0 -0
- /package/dist/{chunk-CRH37PEV.js.map → chunk-FESRWKYY.js.map} +0 -0
- /package/dist/{chunk-DKAHHMKN.js.map → chunk-GMJSMF7P.js.map} +0 -0
- /package/dist/{chunk-ZH7JPYQE.js.map → chunk-HDPL53U4.js.map} +0 -0
- /package/dist/{chunk-ZVDOSFWU.js.map → chunk-HOCICSX4.js.map} +0 -0
- /package/dist/{chunk-4H4WJJ2G.js.map → chunk-HV3GD2F3.js.map} +0 -0
- /package/dist/{chunk-KPTPDZX2.js.map → chunk-IGVKT4CE.js.map} +0 -0
- /package/dist/{chunk-FYAY6D3O.js.map → chunk-IMKIDF2H.js.map} +0 -0
- /package/dist/{chunk-EQCVSUAF.js.map → chunk-ITKMNOLR.js.map} +0 -0
- /package/dist/{chunk-JQYPRW42.js.map → chunk-JABW3SRG.js.map} +0 -0
- /package/dist/{chunk-XJBSBIZ4.js.map → chunk-KDNYUHAH.js.map} +0 -0
- /package/dist/{chunk-SOCGXVIL.js.map → chunk-KSA3ND7Z.js.map} +0 -0
- /package/dist/{chunk-5ITKSTJX.js.map → chunk-LCRPBPKX.js.map} +0 -0
- /package/dist/{chunk-SZHFBRRT.js.map → chunk-NIZTWHGT.js.map} +0 -0
- /package/dist/{chunk-UJN2RH5R.js.map → chunk-OCC5HEPR.js.map} +0 -0
- /package/dist/{chunk-KZFVYDVK.js.map → chunk-OMIUJ7JT.js.map} +0 -0
- /package/dist/{chunk-K4IGOJPT.js.map → chunk-ONCG5AKF.js.map} +0 -0
- /package/dist/{chunk-C5IAIOCA.js.map → chunk-OW5LD7S2.js.map} +0 -0
- /package/dist/{chunk-CIRCVMWE.js.map → chunk-PY4QOYPK.js.map} +0 -0
- /package/dist/{chunk-NRP55BOF.js.map → chunk-Q3QY7QGU.js.map} +0 -0
- /package/dist/{chunk-3P74DH6P.js.map → chunk-RL3IRMOA.js.map} +0 -0
- /package/dist/{chunk-XIBY5I6F.js.map → chunk-SCOFWMSE.js.map} +0 -0
- /package/dist/{chunk-KW7MKBGF.js.map → chunk-SMOHPEMJ.js.map} +0 -0
- /package/dist/{chunk-3O6XFPUB.js.map → chunk-SNL7MSZD.js.map} +0 -0
- /package/dist/{chunk-TPVHGI7Q.js.map → chunk-SP7HDNXC.js.map} +0 -0
- /package/dist/{chunk-4KY4XKJV.js.map → chunk-UILBQKQ6.js.map} +0 -0
- /package/dist/{chunk-TOYMIFHN.js.map → chunk-UTNJA7JC.js.map} +0 -0
- /package/dist/{chunk-YMP4YKBN.js.map → chunk-VJCJCDFI.js.map} +0 -0
- /package/dist/{chunk-IIT367QZ.js.map → chunk-VSSZJHOR.js.map} +0 -0
- /package/dist/{chunk-XZ4M3QAV.js.map → chunk-W2WOZNEN.js.map} +0 -0
- /package/dist/{chunk-V2DU2OXH.js.map → chunk-WJTRQ3ZC.js.map} +0 -0
- /package/dist/{chunk-4USLEUNR.js.map → chunk-X4QQRHFB.js.map} +0 -0
- /package/dist/{chunk-JQT67SWE.js.map → chunk-Y2UCJ33M.js.map} +0 -0
- /package/dist/{chunk-3PPCZPLN.js.map → chunk-Y45RZL4F.js.map} +0 -0
- /package/dist/{chunk-ECIBJXFT.js.map → chunk-Z2TA7NML.js.map} +0 -0
- /package/dist/{chunk-C2JHLAKV.js.map → chunk-Z7U74YGW.js.map} +0 -0
- /package/dist/{chunk-FXS4I3Z3.js.map → chunk-ZKMBNB5E.js.map} +0 -0
- /package/dist/{chunk-M77DCLJX.js.map → chunk-ZPBG6CT3.js.map} +0 -0
- /package/dist/{chunk-X7KRSZQT.js.map → chunk-ZUDSOVYT.js.map} +0 -0
- /package/dist/{cohort-CEYVJJ7E.js.map → cohort-R743ZSCR.js.map} +0 -0
- /package/dist/{condition-QSOFP4MY.js.map → condition-MPZIRRGP.js.map} +0 -0
- /package/dist/{controls-QYHARIEY.js.map → controls-WD5TZITZ.js.map} +0 -0
- /package/dist/{controls.btns-AP67YWKW.js.map → controls.btns-KCLXBXSL.js.map} +0 -0
- /package/dist/{controls.config-3OO3JK6E.js.map → controls.config-577UCREO.js.map} +0 -0
- /package/dist/{correlation-TOI3TMYL.js.map → correlation-OCFBDDOX.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-LSWV3KOF.js.map → cuminc.integration.spec-V46K57GV.js.map} +0 -0
- /package/dist/{customdata.inputui-VMB3HSSC.js.map → customdata.inputui-2MS5ZRKC.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-J6FRFLBK.js.map → dataDownload.integration.spec-TEOJOMYK.js.map} +0 -0
- /package/dist/{databrowser.ui-GVYWG6YI.js.map → databrowser.ui-PDPFHOH7.js.map} +0 -0
- /package/dist/{dictionary-GD67R72W.js.map → dictionary-MWUQYW6W.js.map} +0 -0
- /package/dist/{dnaMethylation-S7OSGLAF.js.map → dnaMethylation-SNVVE2MD.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-ETMMJNDE.js.map → dnaMethylation.integration.spec-OSYZ3YDP.js.map} +0 -0
- /package/dist/{dofetch-7GURQS65.js.map → dofetch-7R7PL4BX.js.map} +0 -0
- /package/dist/{e2pca-ZIIPBJFN.js.map → e2pca-7FYIWR5O.js.map} +0 -0
- /package/dist/{ep-A2HAL5WA.js.map → ep-PTAJZLKI.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-ZSILLYNI.js.map → expclust.gdc.spec-2R7T7JPY.js.map} +0 -0
- /package/dist/{gb-C3MPQXKN.js.map → gb-5UFIDQWY.js.map} +0 -0
- /package/dist/{geneExpClustering-HYCFUUTU.js.map → geneExpClustering-QLBETGVB.js.map} +0 -0
- /package/dist/{geneExpression-JXSAP2H7.js.map → geneExpression-SAMLSOHQ.js.map} +0 -0
- /package/dist/{geneExpression-GATKMJJ5.js.map → geneExpression-SECTPIDT.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-CODZYFHZ.js.map → geneExpression.unit.spec-UNRGPJIG.js.map} +0 -0
- /package/dist/{geneORA-LJRIR4VV.js.map → geneORA-CCQGE7QL.js.map} +0 -0
- /package/dist/{geneRanking-TWLBKQZG.js.map → geneRanking-NVR7ZZIP.js.map} +0 -0
- /package/dist/{geneVariant-35RQHTCK.js.map → geneVariant-5KL2J3NA.js.map} +0 -0
- /package/dist/{geneVariant-TMJJIMUF.js.map → geneVariant-72E5YEPJ.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-FIQ7IBSD.js.map → geneVariant.integration.spec-7JLVYF7Q.js.map} +0 -0
- /package/dist/{genefusion.ui-SOBESSNO.js.map → genefusion.ui-M3IG6NUU.js.map} +0 -0
- /package/dist/{geneset-JXEJFEK2.js.map → geneset-V2535XGY.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-25ZO5S2X.js.map → genomeBrowser.spec-TRREAQCH.js.map} +0 -0
- /package/dist/{grin2-CW4RPVPI.js.map → grin2-6X5GCPBQ.js.map} +0 -0
- /package/dist/{grin2-EI5BVP4E.js.map → grin2-GOO7H3RC.js.map} +0 -0
- /package/dist/{hierCluster-OBBPQH24.js.map → hierCluster-5YZOCCTV.js.map} +0 -0
- /package/dist/{hierCluster-SDH3TJQY.js.map → hierCluster-ZPQCUSVO.js.map} +0 -0
- /package/dist/{hierCluster.config-DO67TCXI.js.map → hierCluster.config-T3Y2LS6V.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-EB24C4VZ.js.map → hierCluster.integration.spec-PTXVQH77.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-LGEAFT5T.js.map → hierCluster.interactivity-JNBO3MJB.js.map} +0 -0
- /package/dist/{importPlot-R2WRZGZU.js.map → importPlot-CWMBFQDD.js.map} +0 -0
- /package/dist/{isoformExpression-KI3WY5M3.js.map → isoformExpression-ABPY2N3A.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-OQRG2DDU.js.map → isoformExpression.unit.spec-KRAZBQVF.js.map} +0 -0
- /package/dist/{junction-6SWFPNM5.js.map → junction-XGCBNVHV.js.map} +0 -0
- /package/dist/{junction.unit.spec-5TZFITSU.js.map → junction.unit.spec-XZFUJRI3.js.map} +0 -0
- /package/dist/{launch.adhoc-HCX2RQLB.js.map → launch.adhoc-7FJD3XSI.js.map} +0 -0
- /package/dist/{leftlabel.sample-OI6XCXTQ.js.map → leftlabel.sample-VPOZWRVY.js.map} +0 -0
- /package/dist/{lollipop-SOSOYHYL.js.map → lollipop-WBOAFWWO.js.map} +0 -0
- /package/dist/{maftimeline-UOMLYUNI.js.map → maftimeline-UK4MQP2D.js.map} +0 -0
- /package/dist/{matrix-5QWDN6SI.js.map → matrix-AT2FFTWO.js.map} +0 -0
- /package/dist/{matrix-SKPVVDVR.js.map → matrix-AU6NPNID.js.map} +0 -0
- /package/dist/{matrix.config-HE64MAL4.js.map → matrix.config-VTQ6HL5L.js.map} +0 -0
- /package/dist/{matrix.data-HTUZXQAM.js.map → matrix.data-DBYXSWIN.js.map} +0 -0
- /package/dist/{matrix.dom-F7AN3QGE.js.map → matrix.dom-DDPSUNY2.js.map} +0 -0
- /package/dist/{matrix.integration.spec-YKJ4LZFY.js.map → matrix.integration.spec-NJ2AXQAS.js.map} +0 -0
- /package/dist/{matrix.interactivity-YB5G5W5T.js.map → matrix.interactivity-HE2Q6SAO.js.map} +0 -0
- /package/dist/{matrix.layout-MFG65V7K.js.map → matrix.layout-FD5BPRCX.js.map} +0 -0
- /package/dist/{matrix.renderers-PCZFHDDZ.js.map → matrix.renderers-DVM4NB2R.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-GEAM5DSU.js.map → matrix.sort.unit.spec-VQ3TR4S2.js.map} +0 -0
- /package/dist/{matrix.sorterUi-YSKIX6B6.js.map → matrix.sorterUi-4KYRGJT5.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-2MW64QS5.js.map → matrix.sorterUi.unit.spec-IEHG3OKN.js.map} +0 -0
- /package/dist/{mavb-YMHJXCGA.js.map → mavb-RPRKXPTZ.js.map} +0 -0
- /package/dist/{mds.fimo-PTEDRMLQ.js.map → mds.fimo-PZCVBD44.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-7R7PLVQJ.js.map → mds.samplescatterplot-236GTHM4.js.map} +0 -0
- /package/dist/{mds.survivalplot-F3EENMFQ.js.map → mds.survivalplot-IJHOWSZL.js.map} +0 -0
- /package/dist/{oncomatrix-27VVSMZB.js.map → oncomatrix-R4OKDXSV.js.map} +0 -0
- /package/dist/{oncomatrix.spec-F43Y7CWN.js.map → oncomatrix.spec-4Z4HKS44.js.map} +0 -0
- /package/dist/{plot.2dvaf-MYFQSWIA.js.map → plot.2dvaf-ZK7DAKRQ.js.map} +0 -0
- /package/dist/{plot.app-36QWCKXR.js.map → plot.app-J66BA2LD.js.map} +0 -0
- /package/dist/{plot.barplot-535EP7XT.js.map → plot.barplot-UVRVPOKA.js.map} +0 -0
- /package/dist/{plot.boxplot-6IBP7VEB.js.map → plot.boxplot-DQGBDNLU.js.map} +0 -0
- /package/dist/{plot.brainImaging-M4HPNXZH.js.map → plot.brainImaging-WRMDYYHC.js.map} +0 -0
- /package/dist/{plot.disco-HIT6GR44.js.map → plot.disco-SSGPSM7W.js.map} +0 -0
- /package/dist/{plot.dzi-W66SBKTH.js.map → plot.dzi-F77KKPIJ.js.map} +0 -0
- /package/dist/{plot.ssgq-MI2OMCUY.js.map → plot.ssgq-FVFJOYVO.js.map} +0 -0
- /package/dist/{plot.vaf2cov-F4CBMLRA.js.map → plot.vaf2cov-CJSYBSPQ.js.map} +0 -0
- /package/dist/{plot.wsi-7M5KTNFC.js.map → plot.wsi-OSZU2PQ5.js.map} +0 -0
- /package/dist/{polar2-7VSWGT4U.js.map → polar2-R4ZKXKEV.js.map} +0 -0
- /package/dist/{profilePlot-ECTPPVB2.js.map → profilePlot-JU7SFYYY.js.map} +0 -0
- /package/dist/{proteinView-6ELOLOIU.js.map → proteinView-VU4SVO5I.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-V2FMWI62.js.map → proteomeCohortCompare-2U537GOK.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-KV6URTXC.js.map → pseudbulk.unit.spec-2FDKAEVI.js.map} +0 -0
- /package/dist/{pseudobulk-6ZRFCE65.js.map → pseudobulk-5GBUBBOY.js.map} +0 -0
- /package/dist/{qualitative-3B62RUOB.js.map → qualitative-3FTEQ7JW.js.map} +0 -0
- /package/dist/{radar2-4QQER64E.js.map → radar2-EBOTTAMC.js.map} +0 -0
- /package/dist/{radarFacility2-MZKORRDY.js.map → radarFacility2-PAGNJR6D.js.map} +0 -0
- /package/dist/{regression-GZ2YNX6Y.js.map → regression-XOVSVC7S.js.map} +0 -0
- /package/dist/{regression.inputs-ZEFDNSVT.js.map → regression.inputs-LGA67ESO.js.map} +0 -0
- /package/dist/{regression.inputs.term-O2FQBX7L.js.map → regression.inputs.term-UCQKXC5D.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-63BQKSZP.js.map → regression.inputs.values.table-2RRE7SMS.js.map} +0 -0
- /package/dist/{regression.integration.spec-KDHC3KDU.js.map → regression.integration.spec-BKM5UI7H.js.map} +0 -0
- /package/dist/{regression.results-5J3QM4RX.js.map → regression.results-T3HB6CBH.js.map} +0 -0
- /package/dist/{regression.spec-WZAZTDDA.js.map → regression.spec-W7IVCYVZ.js.map} +0 -0
- /package/dist/{render-MZTEXVU5.js.map → render-2C6LWNG2.js.map} +0 -0
- /package/dist/{report-M5TYHH2W.js.map → report-HRGU3XKL.js.map} +0 -0
- /package/dist/{sampleView-QYTLYJEW.js.map → sampleView-P5JZHEKY.js.map} +0 -0
- /package/dist/{samplelst-FN3Q7M7A.js.map → samplelst-OYQ6BASU.js.map} +0 -0
- /package/dist/{samplematrix-Z5FVODO7.js.map → samplematrix-JC3SGO5V.js.map} +0 -0
- /package/dist/{sc-4CHP5SYP.js.map → sc-FTHUNDGY.js.map} +0 -0
- /package/dist/{scatter-UOPJYXL3.js.map → scatter-WYP2NPNB.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-WMAHGT4F.js.map → selectGenomeWithTklst-CIETKILP.js.map} +0 -0
- /package/dist/{singleCellCellType-XPWENB6V.js.map → singleCellCellType-3O3TTLM6.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-QK56PHKW.js.map → singleCellCellType.unit.spec-GHBS36DB.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-4CEVDVYF.js.map → singleCellGeneExpression-2F7F4EKK.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-ZYRLBVF5.js.map → singleCellGeneExpression.unit.spec-2VGIH2NZ.js.map} +0 -0
- /package/dist/{singleCellPlot-JS74VUGC.js.map → singleCellPlot-MGSS4O3L.js.map} +0 -0
- /package/dist/{singlecell-OO77XBDD.js.map → singlecell-CKC2VVJ3.js.map} +0 -0
- /package/dist/{singlecell-5XYOHMWJ.js.map → singlecell-QOXATRF4.js.map} +0 -0
- /package/dist/{snp-X5ZILM5J.js.map → snp-OSYJO2R7.js.map} +0 -0
- /package/dist/{snp.unit.spec-V23G3JLJ.js.map → snp.unit.spec-L5ANPFO2.js.map} +0 -0
- /package/dist/{snplocus-U5UIIUWR.js.map → snplocus-64MJJID2.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-YDFVSDMT.js.map → spliceevent.a53ss.diagram-LHRT5UPB.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-VDKN5JBE.js.map → spliceevent.exonskip.diagram-BGSEPGR5.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-EFPFRUFI.js.map → spliceevent.noeventdiagram-QGZZSKW7.js.map} +0 -0
- /package/dist/{ssGSEA-LKJW5OQK.js.map → ssGSEA-VVAZDFDT.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-7WCZVEP2.js.map → ssGSEA.unit.spec-LP76RHTV.js.map} +0 -0
- /package/dist/{studyCatalog-EU33KE5H.js.map → studyCatalog-AXWH7IOH.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-QL25OQNB.js.map → summarizeCnvGeneexp-DRBIXOAP.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-B7HTCH7L.js.map → summarizeGeneexpSurvival-4PATAUSN.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-DFAPX2JE.js.map → summarizeMutationCnv-UGSIGZDJ.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-HCSDSVII.js.map → summarizeMutationDiagnosis-UATVI5BK.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-6WEASSA2.js.map → summarizeMutationSurvival-CZXGM3AA.js.map} +0 -0
- /package/dist/{summary-BWYXE77G.js.map → summary-IGTXNQ5I.js.map} +0 -0
- /package/dist/{summary.integration.spec-AVGSW5MF.js.map → summary.integration.spec-VFCYU2V6.js.map} +0 -0
- /package/dist/{summaryInput-MOQ6HUCX.js.map → summaryInput-AFZSASTM.js.map} +0 -0
- /package/dist/{sunburst-EZDHVJCL.js.map → sunburst-G7DBI637.js.map} +0 -0
- /package/dist/{survival-IEVELTC4.js.map → survival-YOJBLMR2.js.map} +0 -0
- /package/dist/{survival.integration.spec-HHWP3R4H.js.map → survival.integration.spec-FXPCZJSS.js.map} +0 -0
- /package/dist/{svgraph-55XRIYJW.js.map → svgraph-ZSSOWI7R.js.map} +0 -0
- /package/dist/{svmr-CMEBFSRO.js.map → svmr-FPYSMXSC.js.map} +0 -0
- /package/dist/{termCollection-CPQXYBFA.js.map → termCollection-IY5V64IY.js.map} +0 -0
- /package/dist/{termCollection-ZWOH273K.js.map → termCollection-SR4SP6RZ.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-RK7VATLU.js.map → termCollection.unit.spec-NL72AQ2P.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-Z4ZRW63R.js.map → termCollectionFractionSelection-2LPBE224.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-3CS7DPNU.js.map → termCollectionFractionSelection.unit.spec-PUMGBUDN.js.map} +0 -0
- /package/dist/{termInfo-6MJDJSDW.js.map → termInfo-2DR7DHXM.js.map} +0 -0
- /package/dist/{tk-RHWJJXH2.js.map → tk-COBDWIZJ.js.map} +0 -0
- /package/dist/{tk-4NNTWWLK.js.map → tk-N2YBXDQK.js.map} +0 -0
- /package/dist/{tp.ui-DPN5UN6U.js.map → tp.ui-BMK2MMIJ.js.map} +0 -0
- /package/dist/{tvs.dt-ARPDFRVM.js.map → tvs.dt-KL4VCW5Y.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-POS6WQK6.js.map → tvs.dtcnv.categorical-VGXOASJE.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-5OETJ7JU.js.map → tvs.dtcnv.continuous-IANT7BPS.js.map} +0 -0
- /package/dist/{tvs.dtfusion-ERYVI3DW.js.map → tvs.dtfusion-M5HJWCJI.js.map} +0 -0
- /package/dist/{tvs.dtitd-KTZZYEWU.js.map → tvs.dtitd-KB72EDPN.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-TGUAX3RN.js.map → tvs.dtsnvindel-VGYTLO6E.js.map} +0 -0
- /package/dist/{tvs.dtsv-AM63OIL6.js.map → tvs.dtsv-KWUXW2F5.js.map} +0 -0
- /package/dist/{tvs.samplelst-VW2NOQ2C.js.map → tvs.samplelst-3UA7XMHJ.js.map} +0 -0
- /package/dist/{tvs.termCollection-O4ZSWJFA.js.map → tvs.termCollection-LK6CVGYZ.js.map} +0 -0
- /package/dist/{violin-ZQ3DEYGR.js.map → violin-D4EX3ZFV.js.map} +0 -0
- /package/dist/{violin.integration.spec-PVEF77HB.js.map → violin.integration.spec-GBW3VBHW.js.map} +0 -0
- /package/dist/{violin.interactivity-FYU4TCFO.js.map → violin.interactivity-N3JVI2AQ.js.map} +0 -0
- /package/dist/{violin.renderer-XAERGBMV.js.map → violin.renderer-2NYRUXUY.js.map} +0 -0
- /package/dist/{vocabulary-ECJX27W2.js.map → vocabulary-277KD4RO.js.map} +0 -0
|
@@ -0,0 +1,1943 @@
|
|
|
1
|
+
import {
|
|
2
|
+
matrix_serieses_exports
|
|
3
|
+
} from "./chunk-CLTRQZGJ.js";
|
|
4
|
+
import {
|
|
5
|
+
matrix_groups_exports
|
|
6
|
+
} from "./chunk-TRQUMV4T.js";
|
|
7
|
+
import {
|
|
8
|
+
setComputedConfig
|
|
9
|
+
} from "./chunk-C34UTN5M.js";
|
|
10
|
+
import {
|
|
11
|
+
setInteractivity
|
|
12
|
+
} from "./chunk-SMOHPEMJ.js";
|
|
13
|
+
import {
|
|
14
|
+
setRenderers
|
|
15
|
+
} from "./chunk-SP7HDNXC.js";
|
|
16
|
+
import {
|
|
17
|
+
MatrixCluster
|
|
18
|
+
} from "./chunk-DDKS3MV3.js";
|
|
19
|
+
import {
|
|
20
|
+
getSorterUi
|
|
21
|
+
} from "./chunk-UTNJA7JC.js";
|
|
22
|
+
import {
|
|
23
|
+
matrix_data_exports
|
|
24
|
+
} from "./chunk-DCR4QQ5Y.js";
|
|
25
|
+
import {
|
|
26
|
+
matrix_layout_exports
|
|
27
|
+
} from "./chunk-NIZTWHGT.js";
|
|
28
|
+
import {
|
|
29
|
+
matrix_legend_exports
|
|
30
|
+
} from "./chunk-IQVBMLFI.js";
|
|
31
|
+
import {
|
|
32
|
+
setMatrixDom
|
|
33
|
+
} from "./chunk-HUBO743S.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-73PFJ2VF.js";
|
|
55
|
+
import {
|
|
56
|
+
Menu
|
|
57
|
+
} from "./chunk-HYOEWQ5P.js";
|
|
58
|
+
import {
|
|
59
|
+
icons
|
|
60
|
+
} from "./chunk-VSSZJHOR.js";
|
|
61
|
+
import {
|
|
62
|
+
isNumericTerm
|
|
63
|
+
} from "./chunk-X6VTVZY7.js";
|
|
64
|
+
import {
|
|
65
|
+
copyMerge,
|
|
66
|
+
deepEqual,
|
|
67
|
+
getCompInit
|
|
68
|
+
} from "./chunk-H6INPPUC.js";
|
|
69
|
+
import {
|
|
70
|
+
TermTypes,
|
|
71
|
+
dt2label,
|
|
72
|
+
dtcnv,
|
|
73
|
+
dtfusionrna,
|
|
74
|
+
dtsnvindel,
|
|
75
|
+
dtsv,
|
|
76
|
+
mclass,
|
|
77
|
+
morigin
|
|
78
|
+
} from "./chunk-GEQUQ3GG.js";
|
|
79
|
+
import {
|
|
80
|
+
convertUnits
|
|
81
|
+
} from "./chunk-75T7ESEO.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
|
+
vocabApi: self2.opts.app.vocabApi,
|
|
165
|
+
state: {
|
|
166
|
+
vocab: self2.opts.vocab
|
|
167
|
+
//activeCohort: appState.activeCohort
|
|
168
|
+
},
|
|
169
|
+
processInput: async (tw) => {
|
|
170
|
+
if (tw?.term && isNumericTerm(tw.term)) {
|
|
171
|
+
tw.q = { ...tw.q, mode: "discrete" };
|
|
172
|
+
}
|
|
173
|
+
if (tw) await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
174
|
+
return tw;
|
|
175
|
+
},
|
|
176
|
+
processConfig: (config) => {
|
|
177
|
+
if (self2.parent.chartType == "hierCluster" && config["divideBy"]) {
|
|
178
|
+
config.settings = {
|
|
179
|
+
hierCluster: {
|
|
180
|
+
yDendrogramHeight: 0,
|
|
181
|
+
clusterSamples: false
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
if (self2.parent.config.divideBy)
|
|
186
|
+
config.legendValueFilter = self2.parent.mayRemoveTvsEntry(self2.parent.config.divideBy);
|
|
187
|
+
},
|
|
188
|
+
getBodyParams: () => {
|
|
189
|
+
const currentGeneNames = self2.parent.termOrder.filter((t) => t.tw.term.type === "geneVariant").map(
|
|
190
|
+
(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
|
|
191
|
+
);
|
|
192
|
+
if (currentGeneNames.length) return { currentGeneNames };
|
|
193
|
+
return {};
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
];
|
|
197
|
+
rows.push({
|
|
198
|
+
label: `Sort ${l.Sample} Priority`,
|
|
199
|
+
title: `Set how to sort ${l.samples}`,
|
|
200
|
+
type: "custom",
|
|
201
|
+
// the "input" argument is created by controls
|
|
202
|
+
init(input) {
|
|
203
|
+
const m = parent.config.settings.matrix;
|
|
204
|
+
if (!controls.activeTab) controls.activeTab = "basic";
|
|
205
|
+
input.dom.inputTd.style("padding", "5px");
|
|
206
|
+
const btnsDiv = input.dom.inputTd.append("div").style("margin-bottom", "5px");
|
|
207
|
+
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", () => {
|
|
208
|
+
controls.activeTab = "basic";
|
|
209
|
+
basicBtn.style("text-decoration", "underline");
|
|
210
|
+
advancedBtn.style("text-decoration", "");
|
|
211
|
+
basicDiv.style("display", "");
|
|
212
|
+
advancedDiv.style("display", "none");
|
|
213
|
+
});
|
|
214
|
+
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", () => {
|
|
215
|
+
controls.activeTab = "advanced";
|
|
216
|
+
basicBtn.style("text-decoration", "");
|
|
217
|
+
advancedBtn.style("text-decoration", "underline");
|
|
218
|
+
basicDiv.style("display", "none");
|
|
219
|
+
advancedDiv.style("display", "");
|
|
220
|
+
});
|
|
221
|
+
const basicDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "basic" ? "" : "none");
|
|
222
|
+
const ssmDiv = basicDiv.append("div");
|
|
223
|
+
ssmDiv.append("span").html("SSM");
|
|
224
|
+
const { inputs } = make_radios({
|
|
225
|
+
// holder, options, callback, styles
|
|
226
|
+
holder: ssmDiv.append("span"),
|
|
227
|
+
options: [
|
|
228
|
+
{ label: "by consequence", value: "consequence", checked: m.sortByMutation === "consequence" },
|
|
229
|
+
{ label: "by presence", value: "presence", checked: m.sortByMutation === "presence" }
|
|
230
|
+
],
|
|
231
|
+
styles: {
|
|
232
|
+
display: "inline-block"
|
|
233
|
+
},
|
|
234
|
+
callback: (sortByMutation) => {
|
|
235
|
+
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
236
|
+
const activeOption = sortOptions.a;
|
|
237
|
+
const mutTb = activeOption.sortPriority[0].tiebreakers[1];
|
|
238
|
+
mutTb.disabled = !sortByMutation;
|
|
239
|
+
mutTb.isOrdered = sortByMutation === "consequence";
|
|
240
|
+
parent.app.dispatch({
|
|
241
|
+
type: "plot_edit",
|
|
242
|
+
id: parent.id,
|
|
243
|
+
config: {
|
|
244
|
+
settings: {
|
|
245
|
+
matrix: {
|
|
246
|
+
sortByMutation,
|
|
247
|
+
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
248
|
+
sortOptions
|
|
249
|
+
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
inputs.style("margin", "2px 0 0 2px").style("vertical-align", "top");
|
|
257
|
+
const cnvDiv = basicDiv.append("div").style("display", m.showMatrixCNV != "none" && !m.allMatrixCNVHidden ? "block" : "none");
|
|
258
|
+
cnvDiv.append("span").html("CNV");
|
|
259
|
+
const checkbox = make_one_checkbox({
|
|
260
|
+
holder: cnvDiv.append("span"),
|
|
261
|
+
divstyle: { display: "inline-block" },
|
|
262
|
+
checked: m.sortByCNV,
|
|
263
|
+
labeltext: "sort by CNV",
|
|
264
|
+
callback: () => {
|
|
265
|
+
const sortByCNV = checkbox.property("checked");
|
|
266
|
+
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
267
|
+
const activeOption = sortOptions.a;
|
|
268
|
+
const cnvTb = activeOption.sortPriority[0].tiebreakers[2];
|
|
269
|
+
cnvTb.disabled = !sortByCNV;
|
|
270
|
+
cnvTb.isOrdered = sortByCNV;
|
|
271
|
+
parent.app.dispatch({
|
|
272
|
+
type: "plot_edit",
|
|
273
|
+
id: parent.id,
|
|
274
|
+
config: {
|
|
275
|
+
settings: {
|
|
276
|
+
matrix: {
|
|
277
|
+
sortByCNV,
|
|
278
|
+
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
279
|
+
sortOptions
|
|
280
|
+
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
const advancedDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "advanced" ? "" : "none");
|
|
288
|
+
input.dom.row.on("mouseover", function() {
|
|
289
|
+
this.style.backgroundColor = "#fff";
|
|
290
|
+
this.style.textShadow = "none";
|
|
291
|
+
});
|
|
292
|
+
if (!controls.sorterUi) {
|
|
293
|
+
controls.sorterUi = getSorterUi({
|
|
294
|
+
controls,
|
|
295
|
+
holder: advancedDiv,
|
|
296
|
+
tip: controls.parent.app.tip
|
|
297
|
+
});
|
|
298
|
+
} else {
|
|
299
|
+
controls.sorterUi.main(controls.parent.config.settings.matrix, { holder: advancedDiv });
|
|
300
|
+
}
|
|
301
|
+
return {
|
|
302
|
+
main: (plot) => {
|
|
303
|
+
const s2 = plot.settings.matrix;
|
|
304
|
+
inputs.property("checked", (d) => d.value == s2.sortByMutation);
|
|
305
|
+
checkbox.property("checked", s2.sortByCNV);
|
|
306
|
+
cnvDiv.style("display", s2.showMatrixCNV != "none" && !s2.allMatrixCNVHidden ? "block" : "none");
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
});
|
|
311
|
+
self2.opts.holder.append("button").datum({
|
|
312
|
+
label: l.Samples || `Samples`,
|
|
313
|
+
getCount: () => "sampleCount" in self2.overrides ? self2.overrides.sampleCount : self2.parent.sampleOrder?.length || 0,
|
|
314
|
+
rows,
|
|
315
|
+
customInputs: updateSamplesControls
|
|
316
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
317
|
+
}
|
|
318
|
+
function updateSamplesControls(self2, app, parent, table) {
|
|
319
|
+
if (parent.chartType == "hierCluster" && parent.config.settings.hierCluster.clusterSamples) {
|
|
320
|
+
const l = parent.config.settings.matrix.controlLabels;
|
|
321
|
+
const sortingControl = select_default(
|
|
322
|
+
table.selectAll("td").filter(function() {
|
|
323
|
+
return select_default(this).text() == `Sort ${l.Sample} Priority`;
|
|
324
|
+
}).node().closest("tr")
|
|
325
|
+
);
|
|
326
|
+
sortingControl.style("display", "none");
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
// plots/matrix/matrix.controls.genes.ts
|
|
331
|
+
var tip = new Menu({ padding: "" });
|
|
332
|
+
function setGenesBtn(self2, s) {
|
|
333
|
+
const l = s.controlLabels;
|
|
334
|
+
const renderStyleOptions = [
|
|
335
|
+
{
|
|
336
|
+
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>`,
|
|
337
|
+
value: "",
|
|
338
|
+
title: `Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
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>`,
|
|
342
|
+
value: "oncoprint",
|
|
343
|
+
title: `Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
344
|
+
}
|
|
345
|
+
];
|
|
346
|
+
if (s.addMutationCNVButtons && self2.parent.chartType !== "hierCluster")
|
|
347
|
+
renderStyleOptions.unshift({
|
|
348
|
+
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>`,
|
|
349
|
+
value: "single",
|
|
350
|
+
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`
|
|
351
|
+
});
|
|
352
|
+
self2.opts.holder.append("button").datum({
|
|
353
|
+
label: "Genes",
|
|
354
|
+
getCount: () => self2.parent.termOrder?.filter(
|
|
355
|
+
(t) => t.tw.term.type == TermTypes.GENE_VARIANT || t.tw.term.type == TermTypes.GENE_EXPRESSION
|
|
356
|
+
).length || 0,
|
|
357
|
+
customInputs: addGeneInputs,
|
|
358
|
+
rows: [
|
|
359
|
+
{
|
|
360
|
+
label: `Display ${l.Sample} Counts for Gene`,
|
|
361
|
+
title: `Include the ${l.sample} count in the gene label`,
|
|
362
|
+
type: "radio",
|
|
363
|
+
chartType: "matrix",
|
|
364
|
+
settingsKey: "samplecount4gene",
|
|
365
|
+
styles: { display: "inline-block" },
|
|
366
|
+
options: [
|
|
367
|
+
{ label: "Absolute", value: "abs" },
|
|
368
|
+
{ label: `Percent`, value: "pct" },
|
|
369
|
+
{ label: `None`, value: "" }
|
|
370
|
+
],
|
|
371
|
+
getDisplayStyle() {
|
|
372
|
+
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
// TODO: implement this contol option
|
|
376
|
+
// {
|
|
377
|
+
// label: `Exclude From ${l.Sample} Displayed Counts`,
|
|
378
|
+
// title: `Do not include these variations/mutations when counting samples for a gene.`,
|
|
379
|
+
// type: 'text',
|
|
380
|
+
// chartType: 'matrix',
|
|
381
|
+
// settingsKey: 'geneVariantCountSamplesSkipMclass',
|
|
382
|
+
// processInput: tw => {},
|
|
383
|
+
// },
|
|
384
|
+
{
|
|
385
|
+
label: "Genomic Alterations Rendering",
|
|
386
|
+
title: `Set how to indicate a ${l.sample}'s applicable variant types in the same matrix cell`,
|
|
387
|
+
type: "radio",
|
|
388
|
+
chartType: "matrix",
|
|
389
|
+
settingsKey: "cellEncoding",
|
|
390
|
+
options: renderStyleOptions,
|
|
391
|
+
styles: { padding: "5px 0px", margin: 0 },
|
|
392
|
+
labelDisplay: "block",
|
|
393
|
+
getDisplayStyle() {
|
|
394
|
+
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
395
|
+
},
|
|
396
|
+
callback: self2.parent.geneStyleControlCallback
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
label: "Sort Genes",
|
|
400
|
+
title: "Set how to order the genes as rows",
|
|
401
|
+
type: "radio",
|
|
402
|
+
chartType: "matrix",
|
|
403
|
+
settingsKey: "sortTermsBy",
|
|
404
|
+
options: [
|
|
405
|
+
{ label: "By Input Data Order", value: "asListed" },
|
|
406
|
+
{ label: `By ${l.sample} Count`, value: "sampleCount" }
|
|
407
|
+
],
|
|
408
|
+
styles: { padding: 0, "padding-right": "10px", margin: 0, display: "inline-block" },
|
|
409
|
+
getDisplayStyle() {
|
|
410
|
+
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
415
|
+
}
|
|
416
|
+
async function addGeneInputs(self2, app, parent, table) {
|
|
417
|
+
if (parent.chartType == "hierCluster" && parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
418
|
+
appendGeneInputs(self2, app, parent, table, "hierCluster");
|
|
419
|
+
}
|
|
420
|
+
if (parent.state?.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || parent.state.termdbConfig.queries.snvindel)
|
|
421
|
+
appendGeneInputs(self2, app, parent, table);
|
|
422
|
+
}
|
|
423
|
+
async function appendGeneInputs(self2, app, parent, table, geneInputType) {
|
|
424
|
+
tip.clear();
|
|
425
|
+
if (!parent.selectedGroup) parent.selectedGroup = 0;
|
|
426
|
+
if (parent.opts.customInputs?.genes) {
|
|
427
|
+
for (const inputConfig of parent.opts.customInputs.genes) {
|
|
428
|
+
inputConfig.chartType = "matrix";
|
|
429
|
+
const holder = table.append("tr");
|
|
430
|
+
if (inputConfig.title) holder.attr("aria-label", inputConfig.title);
|
|
431
|
+
const input = await initByInput[inputConfig.type](
|
|
432
|
+
Object.assign(
|
|
433
|
+
{},
|
|
434
|
+
{
|
|
435
|
+
holder,
|
|
436
|
+
app,
|
|
437
|
+
id: parent.id,
|
|
438
|
+
debug: self2.opts.debug,
|
|
439
|
+
parent
|
|
440
|
+
},
|
|
441
|
+
inputConfig
|
|
442
|
+
)
|
|
443
|
+
);
|
|
444
|
+
input.main(parent.config);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
let geneInputTr;
|
|
448
|
+
if (geneInputType == "hierCluster" || parent.chartType !== "hierCluster") {
|
|
449
|
+
geneInputTr = table.insert("tr", () => table.select("tr").node());
|
|
450
|
+
} else {
|
|
451
|
+
const secondTr = table.selectAll("tr").nodes()[1] || null;
|
|
452
|
+
const hrTr = table.insert("tr", () => secondTr);
|
|
453
|
+
hrTr.append("td").attr("colspan", 2).append("hr").style("border", "1px solid #ccc");
|
|
454
|
+
geneInputTr = table.insert("tr", () => secondTr);
|
|
455
|
+
}
|
|
456
|
+
addGenesetInput(self2, app, parent, geneInputTr, geneInputType);
|
|
457
|
+
}
|
|
458
|
+
function addGenesetInput(self2, app, parent, tr, geneInputType) {
|
|
459
|
+
const controlPanelBtn = self2.btns.filter((d) => d.label.endsWith("Genes"))?.node();
|
|
460
|
+
const tip3 = app.tip;
|
|
461
|
+
const tg = parent.config.termgroups;
|
|
462
|
+
const { maxGenes, genesetEditUiVersion } = parent.settings?.matrix || parent.config?.settings?.matrix || {};
|
|
463
|
+
let selectedGroup;
|
|
464
|
+
const triggerGenesetEdit = (holder) => {
|
|
465
|
+
holder.selectAll("*").remove();
|
|
466
|
+
const geneList = selectedGroup.lst.map((item) => {
|
|
467
|
+
return { gene: item.name };
|
|
468
|
+
});
|
|
469
|
+
const genesetUi = genesetEditUiVersion === "withTabs" ? GeneSetEditUIwithTabs : GeneSetEditUI;
|
|
470
|
+
new genesetUi({
|
|
471
|
+
holder,
|
|
472
|
+
genome: app.opts.genome,
|
|
473
|
+
geneList,
|
|
474
|
+
// Remove the GFF Loads Gene Sets option from unclustered genes panel.
|
|
475
|
+
customInputs: parent.chartType !== "hierCluster" || geneInputType == "hierCluster" ? self2.parent.opts.customInputs?.geneset : void 0,
|
|
476
|
+
/* running hier clustering and the editing group is the group used for clustering
|
|
477
|
+
pass this mode value to inform ui to support the optional button "top variably exp gene"
|
|
478
|
+
this is hardcoded for the purpose of gene expression and should be improved
|
|
479
|
+
*/
|
|
480
|
+
mode: selectedGroup.mode,
|
|
481
|
+
minNumGenes: selectedGroup.mode == "geneExpression" ? 3 : 1,
|
|
482
|
+
maxNumGenes: maxGenes,
|
|
483
|
+
vocabApi: self2.opts.app.vocabApi,
|
|
484
|
+
callback: async ({ geneList: geneList2, groupName }) => {
|
|
485
|
+
if (!selectedGroup) throw `missing selectedGroup`;
|
|
486
|
+
tip3.hide();
|
|
487
|
+
const group = selectedGroup.status == "new" ? { name: groupName, lst: [] } : tg[selectedGroup.index];
|
|
488
|
+
if (selectedGroup.status == "new") tg.push(group);
|
|
489
|
+
const targetTermType = selectedGroup.mode == "geneExpression" ? "geneExpression" : "geneVariant";
|
|
490
|
+
const lst = group.lst.filter((tw) => tw.term.type != targetTermType);
|
|
491
|
+
const tws = await Promise.all(
|
|
492
|
+
geneList2.map(async (d) => {
|
|
493
|
+
let term;
|
|
494
|
+
if (targetTermType == "geneExpression") {
|
|
495
|
+
const gene = d.symbol || d.gene;
|
|
496
|
+
const unit = getGEunit(app.vocabApi);
|
|
497
|
+
const name = `${gene} ${unit}`;
|
|
498
|
+
term = { gene, name, type: "geneExpression" };
|
|
499
|
+
} else {
|
|
500
|
+
term = {
|
|
501
|
+
gene: d.symbol || d.gene,
|
|
502
|
+
name: d.symbol || d.gene,
|
|
503
|
+
type: "geneVariant"
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
let tw = group.lst.find((t) => {
|
|
507
|
+
const geneName = t.term.gene || t.term.name;
|
|
508
|
+
const match = d.symbol ? geneName === d.symbol : d.gene ? geneName === d.gene : false;
|
|
509
|
+
return match && t.term.type == targetTermType;
|
|
510
|
+
});
|
|
511
|
+
if (!tw) {
|
|
512
|
+
tw = { term };
|
|
513
|
+
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
514
|
+
} else if (!tw.$id) {
|
|
515
|
+
tw.$id = await get$id(self2.opts.app.vocabApi.getTwMinCopy({ term }));
|
|
516
|
+
}
|
|
517
|
+
return tw;
|
|
518
|
+
})
|
|
519
|
+
);
|
|
520
|
+
group.lst = [...lst, ...tws];
|
|
521
|
+
if (!group.lst.length) tg.splice(selectedGroup.index, 1);
|
|
522
|
+
app.dispatch({
|
|
523
|
+
type: "plot_edit",
|
|
524
|
+
id: self2.parent.id,
|
|
525
|
+
config: {
|
|
526
|
+
termgroups: tg
|
|
527
|
+
}
|
|
528
|
+
});
|
|
529
|
+
},
|
|
530
|
+
backBtn: {
|
|
531
|
+
target: "Genes Menu",
|
|
532
|
+
callback: () => {
|
|
533
|
+
controlPanelBtn.click();
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
termsAsListed: geneInputType == "hierCluster" && !self2.parent.config.settings.hierCluster.clusterRows || geneInputType != "hierCluster" && self2.parent.config.settings.matrix.sortTermsBy == "asListed"
|
|
537
|
+
});
|
|
538
|
+
};
|
|
539
|
+
const numOfEditableGrps = tg.filter((g) => g.type != "hierCluster").length;
|
|
540
|
+
tr.append("td").attr("class", "sja-termdb-config-row-label").html(geneInputType == "hierCluster" ? "Hierarchical Clustering Gene Set" : "Genomic Alteration Gene Set");
|
|
541
|
+
if (numOfEditableGrps > 0 || geneInputType == "hierCluster") {
|
|
542
|
+
const td1 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
543
|
+
const editGrpDiv = td1.append("div").append("label");
|
|
544
|
+
editGrpDiv.append("button").html(
|
|
545
|
+
numOfEditableGrps > 1 && geneInputType !== "hierCluster" ? "Edit Selected Group" : geneInputType == "hierCluster" ? "Edit Gene Set" : "Edit Current Group"
|
|
546
|
+
).on("click", () => {
|
|
547
|
+
tip3.clear();
|
|
548
|
+
setMenuBackBtn(tip3.d.append("div").style("padding", "5px"), () => controlPanelBtn.click(), `Back`);
|
|
549
|
+
const genesetEdiUiHolder = tip3.d.append("div");
|
|
550
|
+
triggerGenesetEdit(genesetEdiUiHolder);
|
|
551
|
+
});
|
|
552
|
+
if (numOfEditableGrps > 1 && geneInputType !== "hierCluster") {
|
|
553
|
+
const { nonHierClusterGroups, groupSelect } = setTermGroupSelector(self2, editGrpDiv, tg);
|
|
554
|
+
selectedGroup = nonHierClusterGroups.find((g) => g.selected);
|
|
555
|
+
groupSelect.on("change", () => {
|
|
556
|
+
selectedGroup = nonHierClusterGroups[groupSelect.property("value")];
|
|
557
|
+
});
|
|
558
|
+
} else {
|
|
559
|
+
const s = parent.config.settings.hierCluster;
|
|
560
|
+
const g = geneInputType == "hierCluster" ? tg.find((g2) => g2.type == "hierCluster") : tg.find((g2) => g2.type != "hierCluster");
|
|
561
|
+
selectedGroup = {
|
|
562
|
+
index: geneInputType == "hierCluster" ? tg.findIndex((g2) => g2.type == "hierCluster") : tg[0].type == g.type ? 0 : 1,
|
|
563
|
+
name: g.name,
|
|
564
|
+
type: g.type,
|
|
565
|
+
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 })),
|
|
566
|
+
mode: g.type == "hierCluster" ? s.dataType : (
|
|
567
|
+
// !!subject to change!! when group is not clustering, and ds has mutation, defaults to MUTATION_CNV_FUSION
|
|
568
|
+
self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
569
|
+
),
|
|
570
|
+
selected: true
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
if (geneInputType == "hierCluster") {
|
|
575
|
+
return;
|
|
576
|
+
}
|
|
577
|
+
const td2 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
578
|
+
const createNewGrpDiv = td2.append("div").append("label");
|
|
579
|
+
const createBtn = createNewGrpDiv.append("button").html("Create New Group").property("disabled", true).on("click", () => {
|
|
580
|
+
tip3.clear();
|
|
581
|
+
setMenuBackBtn(tip3.d.append("div"), () => controlPanelBtn.click(), "Back");
|
|
582
|
+
const name = nameInput.property("value");
|
|
583
|
+
selectedGroup = {
|
|
584
|
+
index: tg.length,
|
|
585
|
+
name,
|
|
586
|
+
label: name,
|
|
587
|
+
lst: [],
|
|
588
|
+
status: "new",
|
|
589
|
+
mode: parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
590
|
+
};
|
|
591
|
+
triggerGenesetEdit(tip3.d.append("div"));
|
|
592
|
+
});
|
|
593
|
+
const nameInput = createNewGrpDiv.append("input").style("margin", "2px 5px").style("width", "210px").attr("placeholder", "Group Name").on("input", () => {
|
|
594
|
+
createBtn.property("disabled", !nameInput.property("value"));
|
|
595
|
+
}).on("keyup", (event) => {
|
|
596
|
+
if (event.key == "Enter" && !createBtn.property("disabled")) {
|
|
597
|
+
createBtn.node().click();
|
|
598
|
+
}
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
function setMenuBackBtn(holder, callback, label) {
|
|
602
|
+
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) => {
|
|
603
|
+
if (event.key == "Enter") event.target.click();
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
function setTermGroupSelector(self2, holder, tg) {
|
|
607
|
+
const firstGrpWithGeneTw = tg.find(
|
|
608
|
+
(g) => g.lst.find((tw) => tw.term.type == TermTypes.GENE_VARIANT && g.type !== "hierCluster")
|
|
609
|
+
);
|
|
610
|
+
const groups = tg.map((g, index) => {
|
|
611
|
+
return {
|
|
612
|
+
index,
|
|
613
|
+
name: g.name,
|
|
614
|
+
type: g.type,
|
|
615
|
+
lst: g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
|
|
616
|
+
mode: self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : "",
|
|
617
|
+
selected: g === firstGrpWithGeneTw
|
|
618
|
+
};
|
|
619
|
+
});
|
|
620
|
+
const nonHierClusterGroups = groups.filter((g) => g.type != "hierCluster");
|
|
621
|
+
const groupSelect = holder.append("select").style("width", "218px").style("margin", "2px 5px");
|
|
622
|
+
for (const [i, group] of nonHierClusterGroups.entries()) {
|
|
623
|
+
if (group.label) continue;
|
|
624
|
+
if (group.name) group.label = group.name;
|
|
625
|
+
else group.label = `Unlabeled group #${i + 1}`;
|
|
626
|
+
}
|
|
627
|
+
groupSelect.selectAll("option").data(nonHierClusterGroups).enter().append("option").property("selected", (grp) => grp.selected).attr("value", (d, i) => i).html((grp) => grp.label);
|
|
628
|
+
return { nonHierClusterGroups, groupSelect };
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
// plots/matrix/matrix.controls.variables.ts
|
|
632
|
+
var tip2 = new Menu({ padding: "" });
|
|
633
|
+
function setVariablesBtn(self2, s) {
|
|
634
|
+
self2.opts.holder.append("button").datum({
|
|
635
|
+
label: s.controlLabels.Terms || `Variables`,
|
|
636
|
+
//getCount: () => self.parent.termOrder.filter(t => t.tw.term.type != 'geneVariant').length.length,
|
|
637
|
+
rows: [
|
|
638
|
+
{
|
|
639
|
+
label: `Row Group Label Max Length`,
|
|
640
|
+
title: `Truncate the row group label if it exceeds this maximum number of characters`,
|
|
641
|
+
type: "number",
|
|
642
|
+
chartType: "matrix",
|
|
643
|
+
settingsKey: "termGrpLabelMaxChars"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
label: `Row Label Max Length`,
|
|
647
|
+
title: `Truncate the row label if it exceeds this maximum number of characters`,
|
|
648
|
+
type: "number",
|
|
649
|
+
chartType: "matrix",
|
|
650
|
+
settingsKey: "rowlabelmaxchars"
|
|
651
|
+
}
|
|
652
|
+
],
|
|
653
|
+
customInputs: appendDictInputs
|
|
654
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
655
|
+
}
|
|
656
|
+
function appendDictInputs(self2, app, parent) {
|
|
657
|
+
tip2.clear();
|
|
658
|
+
if (!parent.selectedGroup) parent.selectedGroup = parent.chartType == "hierCluster" ? 1 : 0;
|
|
659
|
+
app.tip.d.append("hr");
|
|
660
|
+
addDictMenu(self2, app, parent, app.tip.d.append("div"));
|
|
661
|
+
}
|
|
662
|
+
async function addDictMenu(self2, app, parent, holder = void 0) {
|
|
663
|
+
const termdb = await import("./app-WR6PQ2YK.js");
|
|
664
|
+
termdb.appInit({
|
|
665
|
+
holder: holder || app.tip.d,
|
|
666
|
+
vocabApi: self2.parent.app.vocabApi,
|
|
667
|
+
focus: "off",
|
|
668
|
+
state: {
|
|
669
|
+
vocab: self2.parent.state.vocab,
|
|
670
|
+
activeCohort: self2.parent.activeCohort,
|
|
671
|
+
nav: {
|
|
672
|
+
header_mode: "search_only"
|
|
673
|
+
},
|
|
674
|
+
tree: {
|
|
675
|
+
usecase: { target: "matrix", detail: "termgroups" }
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
tree: {
|
|
679
|
+
submit_lst: (termlst) => {
|
|
680
|
+
submitLst(self2, termlst);
|
|
681
|
+
app.tip.hide();
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
search: {
|
|
685
|
+
focus: "off"
|
|
686
|
+
}
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
async function submitLst(self2, termlst) {
|
|
690
|
+
const newterms = await Promise.all(
|
|
691
|
+
termlst.map(async (_term) => {
|
|
692
|
+
const term = structuredClone(_term);
|
|
693
|
+
const tw = "id" in term ? { id: term.id, term } : { term };
|
|
694
|
+
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
695
|
+
return tw;
|
|
696
|
+
})
|
|
697
|
+
);
|
|
698
|
+
const termgroups = structuredClone(self2.parent.config.termgroups);
|
|
699
|
+
const i = termgroups.findIndex((g) => g.name == "Variables");
|
|
700
|
+
if (i !== -1) {
|
|
701
|
+
const grp = termgroups[i];
|
|
702
|
+
grp.lst.push(...newterms);
|
|
703
|
+
self2.parent.app.dispatch({
|
|
704
|
+
type: "plot_nestedEdits",
|
|
705
|
+
id: self2.parent.id,
|
|
706
|
+
edits: [
|
|
707
|
+
{
|
|
708
|
+
nestedKeys: ["termgroups", i, "lst"],
|
|
709
|
+
value: grp.lst
|
|
710
|
+
}
|
|
711
|
+
]
|
|
712
|
+
});
|
|
713
|
+
} else {
|
|
714
|
+
const grp = { name: "Variables", lst: newterms };
|
|
715
|
+
termgroups.push(grp);
|
|
716
|
+
self2.parent.app.dispatch({
|
|
717
|
+
type: "plot_edit",
|
|
718
|
+
id: self2.parent.id,
|
|
719
|
+
config: { termgroups }
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
// plots/matrix/matrix.controls.dimensions.ts
|
|
725
|
+
function setDimensionsBtn(self2, s) {
|
|
726
|
+
const l = s.controlLabels;
|
|
727
|
+
self2.opts.holder.append("button").datum({
|
|
728
|
+
label: "Cell Layout",
|
|
729
|
+
tables: [
|
|
730
|
+
{
|
|
731
|
+
rows: [
|
|
732
|
+
{
|
|
733
|
+
label: "Grid",
|
|
734
|
+
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.",
|
|
735
|
+
type: "checkbox",
|
|
736
|
+
boxLabel: "show",
|
|
737
|
+
// v===true means property('checked') and convert to recognized 'rect' value for dispatch
|
|
738
|
+
// otherwise, compared value to 'rect' to set the current value of the checkbox
|
|
739
|
+
// note: the non-boolean showGrid values allow keeping the hidden value='pattern' option for benchmark tests
|
|
740
|
+
processInput: (v) => v === true ? "rect" : v === "rect",
|
|
741
|
+
chartType: "matrix",
|
|
742
|
+
settingsKey: "showGrid",
|
|
743
|
+
colspan: 2,
|
|
744
|
+
align: "center"
|
|
745
|
+
// for testing/benchmarking
|
|
746
|
+
// type: 'radio',
|
|
747
|
+
// options: [
|
|
748
|
+
// {
|
|
749
|
+
// label: 'hide',
|
|
750
|
+
// value: ''
|
|
751
|
+
// },
|
|
752
|
+
// {
|
|
753
|
+
// label: 'lines',
|
|
754
|
+
// value: 'pattern' // needs debugging for when s.rowh or d.colw does not apply to all rows
|
|
755
|
+
// },
|
|
756
|
+
// {
|
|
757
|
+
// label: 'rect',
|
|
758
|
+
// value: 'rect'
|
|
759
|
+
// }
|
|
760
|
+
// ]
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
label: "Outline Color",
|
|
764
|
+
title: "Set a border color for the whole matrix",
|
|
765
|
+
type: "color",
|
|
766
|
+
chartType: "matrix",
|
|
767
|
+
settingsKey: "outlineStroke",
|
|
768
|
+
colspan: 2,
|
|
769
|
+
align: "center"
|
|
770
|
+
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
label: "Beam Color",
|
|
774
|
+
title: "Set a color for the beam highlighter",
|
|
775
|
+
type: "color",
|
|
776
|
+
chartType: "matrix",
|
|
777
|
+
settingsKey: "beamStroke",
|
|
778
|
+
colspan: 2,
|
|
779
|
+
align: "center"
|
|
780
|
+
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
label: "Grid Line Color",
|
|
784
|
+
title: "Set the grid color, equivalent to applying the same border color for each matrix cell",
|
|
785
|
+
type: "color",
|
|
786
|
+
chartType: "matrix",
|
|
787
|
+
settingsKey: "gridStroke",
|
|
788
|
+
colspan: 2,
|
|
789
|
+
align: "center"
|
|
790
|
+
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
label: "Background Color",
|
|
794
|
+
title: `Set the background color when there are no alterations or annotation data for a ${l.sample}`,
|
|
795
|
+
type: "color",
|
|
796
|
+
chartType: "matrix",
|
|
797
|
+
settingsKey: "cellbg",
|
|
798
|
+
colspan: 2,
|
|
799
|
+
align: "center"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
label: `Use Canvas If # ${l.sample} Exceeds`,
|
|
803
|
+
title: `Switch from SVG to canvas rendering when the number of ${l.samples} exceeds this number`,
|
|
804
|
+
type: "number",
|
|
805
|
+
chartType: "matrix",
|
|
806
|
+
settingsKey: "svgCanvasSwitch",
|
|
807
|
+
colspan: 2,
|
|
808
|
+
align: "center",
|
|
809
|
+
width: 60,
|
|
810
|
+
min: 0,
|
|
811
|
+
max: 1e4,
|
|
812
|
+
step: 1
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
label: "Canvas Min. Pixel Width",
|
|
816
|
+
title: "Set a minimum pixel width for a matrix cell when using canvas, may affect the perceived sharpness of the canvas image",
|
|
817
|
+
type: "checkbox",
|
|
818
|
+
boxLabel: "apply",
|
|
819
|
+
chartType: "matrix",
|
|
820
|
+
settingsKey: "useMinPixelWidth",
|
|
821
|
+
colspan: 2,
|
|
822
|
+
align: "center",
|
|
823
|
+
getDisplayStyle: () => self2.parent.settings.matrix.useCanvas ? "" : "none"
|
|
824
|
+
}
|
|
825
|
+
]
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
header: ["Cells", "Columns", "Rows"],
|
|
829
|
+
rows: [
|
|
830
|
+
{
|
|
831
|
+
label: "Row Height",
|
|
832
|
+
title: "Set the height of a matrix row",
|
|
833
|
+
type: "number",
|
|
834
|
+
width: 50,
|
|
835
|
+
align: "center",
|
|
836
|
+
chartType: "matrix",
|
|
837
|
+
inputs: [{ label: "N/A" }, { settingsKey: "rowh", min: 8, max: 30, step: 1 }],
|
|
838
|
+
getDisplayStyle(plot) {
|
|
839
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
label: "Min Col. Width",
|
|
844
|
+
title: "Set the minimum width of the auto-computed matrix column width",
|
|
845
|
+
type: "number",
|
|
846
|
+
width: 50,
|
|
847
|
+
align: "center",
|
|
848
|
+
chartType: "matrix",
|
|
849
|
+
inputs: [{ settingsKey: "colwMin", min: 0.1, max: 16, step: 0.2 }, { label: "N/A" }]
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
label: "Max Col. Width",
|
|
853
|
+
title: "Set the maximum width of the auto-computed matrix column width",
|
|
854
|
+
type: "number",
|
|
855
|
+
width: 50,
|
|
856
|
+
align: "center",
|
|
857
|
+
chartType: "matrix",
|
|
858
|
+
inputs: [{ settingsKey: "colwMax", min: 1, max: 24, step: 0.2 }, { label: "N/A" }]
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
label: "Spacing",
|
|
862
|
+
title: "Set the column spacing. Note that this will be set to 0 when the auto-computed width < 2.",
|
|
863
|
+
type: "number",
|
|
864
|
+
width: 50,
|
|
865
|
+
align: "center",
|
|
866
|
+
chartType: "matrix",
|
|
867
|
+
inputs: [
|
|
868
|
+
{ settingsKey: "colspace", min: 0, max: 20, step: 1 },
|
|
869
|
+
{ settingsKey: "rowspace", min: 0, max: 20, step: 1 }
|
|
870
|
+
],
|
|
871
|
+
getDisplayStyle(plot) {
|
|
872
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
label: "Group spacing",
|
|
877
|
+
title: "Set the spacing between column and row groups.",
|
|
878
|
+
type: "number",
|
|
879
|
+
width: 50,
|
|
880
|
+
align: "center",
|
|
881
|
+
chartType: "matrix",
|
|
882
|
+
inputs: [
|
|
883
|
+
self2.parent.chartType == "hierCluster" ? { label: "N/A" } : { settingsKey: "colgspace", min: 0, max: 20, step: 1 },
|
|
884
|
+
{ settingsKey: "rowgspace", min: 0, max: 20, step: 1 }
|
|
885
|
+
]
|
|
886
|
+
}
|
|
887
|
+
]
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
header: ["Labels", "Columns", "Rows"],
|
|
891
|
+
rows: [
|
|
892
|
+
{
|
|
893
|
+
label: "Offset",
|
|
894
|
+
title: "Set the gap between the label text and matrix edge",
|
|
895
|
+
type: "number",
|
|
896
|
+
width: 50,
|
|
897
|
+
align: "center",
|
|
898
|
+
chartType: "matrix",
|
|
899
|
+
inputs: [
|
|
900
|
+
{ settingsKey: "collabelgap", min: 0, max: 20, step: 1 },
|
|
901
|
+
{ settingsKey: "rowlabelgap", min: 0, max: 20, step: 1 }
|
|
902
|
+
]
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
label: "Spacing",
|
|
906
|
+
title: "Set the gap between labels",
|
|
907
|
+
type: "number",
|
|
908
|
+
width: 50,
|
|
909
|
+
align: "center",
|
|
910
|
+
chartType: "matrix",
|
|
911
|
+
inputs: [
|
|
912
|
+
{ settingsKey: "collabelpad", min: 0, max: 20, step: 1 },
|
|
913
|
+
{ settingsKey: "rowlabelpad", min: 0, max: 20, step: 1 }
|
|
914
|
+
]
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
label: "Min font size",
|
|
918
|
+
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.",
|
|
919
|
+
type: "number",
|
|
920
|
+
width: 50,
|
|
921
|
+
align: "center",
|
|
922
|
+
colspan: 2,
|
|
923
|
+
chartType: "matrix",
|
|
924
|
+
settingsKey: "minLabelFontSize",
|
|
925
|
+
min: 0,
|
|
926
|
+
max: 24,
|
|
927
|
+
step: 0.1
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
label: "Max font size",
|
|
931
|
+
title: "Set the maximum auto-computed font size for labels",
|
|
932
|
+
type: "number",
|
|
933
|
+
width: 50,
|
|
934
|
+
align: "center",
|
|
935
|
+
colspan: 2,
|
|
936
|
+
chartType: "matrix",
|
|
937
|
+
settingsKey: "maxLabelFontSize",
|
|
938
|
+
min: 0,
|
|
939
|
+
max: 24,
|
|
940
|
+
step: 0.1
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
label: "Group label<br/>position",
|
|
944
|
+
title: "Set which side of the matrix to display group labels",
|
|
945
|
+
type: "radio",
|
|
946
|
+
width: 50,
|
|
947
|
+
chartType: "matrix",
|
|
948
|
+
labelDisplay: "block",
|
|
949
|
+
getDisplayStyle(plot) {
|
|
950
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
951
|
+
},
|
|
952
|
+
inputs: [
|
|
953
|
+
{
|
|
954
|
+
settingsKey: "collabelpos",
|
|
955
|
+
// switched since settings.collabelpos refers to the individual column label, not group
|
|
956
|
+
options: [
|
|
957
|
+
{ label: "Top", value: "bottom", title: `Display ${l.sample} group labels at the bottom` },
|
|
958
|
+
{ label: "Bottom", value: "top", title: `Display ${l.sample} group labels on top` }
|
|
959
|
+
]
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
settingsKey: "rowlabelpos",
|
|
963
|
+
// switched since settings.rowlabelpos refers to the individual column label, not group
|
|
964
|
+
options: [
|
|
965
|
+
{
|
|
966
|
+
label: "Left",
|
|
967
|
+
value: "right",
|
|
968
|
+
title: `Display gene or variable group labels on the left side`
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
label: "Right",
|
|
972
|
+
value: "left",
|
|
973
|
+
title: `Display gene or variable group labels on the right side`
|
|
974
|
+
}
|
|
975
|
+
]
|
|
976
|
+
}
|
|
977
|
+
]
|
|
978
|
+
}
|
|
979
|
+
]
|
|
980
|
+
}
|
|
981
|
+
]
|
|
982
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
// plots/matrix/matrix.controls.legend.ts
|
|
986
|
+
function setLegendBtn(self2) {
|
|
987
|
+
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
988
|
+
label: "Legend Layout",
|
|
989
|
+
rows: [
|
|
990
|
+
//ontop: false,
|
|
991
|
+
{
|
|
992
|
+
label: "Font Size",
|
|
993
|
+
title: "Set the font size for the legend text",
|
|
994
|
+
type: "number",
|
|
995
|
+
chartType: "legend",
|
|
996
|
+
settingsKey: "fontsize"
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
label: "Line Height",
|
|
1000
|
+
title: "Set the line height for a legend group",
|
|
1001
|
+
type: "number",
|
|
1002
|
+
chartType: "legend",
|
|
1003
|
+
settingsKey: "lineh"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
label: "Icon Height",
|
|
1007
|
+
title: "Set the icon height for a legend item",
|
|
1008
|
+
type: "number",
|
|
1009
|
+
chartType: "legend",
|
|
1010
|
+
settingsKey: "iconh"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
label: "Icon Width",
|
|
1014
|
+
title: "Set the icon width for a legend item",
|
|
1015
|
+
type: "number",
|
|
1016
|
+
chartType: "legend",
|
|
1017
|
+
settingsKey: "iconw"
|
|
1018
|
+
},
|
|
1019
|
+
/*{
|
|
1020
|
+
label: 'Bottom margin',
|
|
1021
|
+
type: 'number',
|
|
1022
|
+
chartType: 'legend',
|
|
1023
|
+
settingsKey: 'padbtm'
|
|
1024
|
+
},*/
|
|
1025
|
+
{
|
|
1026
|
+
label: "Item Left Pad",
|
|
1027
|
+
title: "Set a left margin for each legend item",
|
|
1028
|
+
type: "number",
|
|
1029
|
+
chartType: "legend",
|
|
1030
|
+
settingsKey: "padx"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
label: "Left Margin",
|
|
1034
|
+
title: "Set a left margin for the whole legend",
|
|
1035
|
+
type: "number",
|
|
1036
|
+
chartType: "legend",
|
|
1037
|
+
settingsKey: "padleft"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
label: "Left Indent",
|
|
1041
|
+
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.`,
|
|
1042
|
+
type: "number",
|
|
1043
|
+
chartType: "legend",
|
|
1044
|
+
settingsKey: "hangleft"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
label: "Item Layout",
|
|
1048
|
+
title: "Option to separate each legend item into a new line, instead of a horizontal layout in the same line.",
|
|
1049
|
+
type: "checkbox",
|
|
1050
|
+
chartType: "legend",
|
|
1051
|
+
settingsKey: "linesep",
|
|
1052
|
+
boxLabel: "Line separated"
|
|
1053
|
+
}
|
|
1054
|
+
]
|
|
1055
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
// plots/matrix/matrix.controls.mutations.ts
|
|
1059
|
+
function setMutationBtn(self2) {
|
|
1060
|
+
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1061
|
+
label: "Mutation",
|
|
1062
|
+
updateBtn: (btn) => {
|
|
1063
|
+
const s = self2.parent.config.settings.matrix;
|
|
1064
|
+
btn.style("text-decoration", s.allMatrixMutationHidden ? "line-through" : "").style("text-decoration-thickness", s.allMatrixMutationHidden ? "2px" : "");
|
|
1065
|
+
},
|
|
1066
|
+
rows: [
|
|
1067
|
+
{
|
|
1068
|
+
title: `Show mutation options`,
|
|
1069
|
+
type: "radio",
|
|
1070
|
+
chartType: "matrix",
|
|
1071
|
+
settingsKey: "showMatrixMutation",
|
|
1072
|
+
options: [
|
|
1073
|
+
{ label: "Show all mutations", value: "all" },
|
|
1074
|
+
{ label: `Show only truncating mutations`, value: "onlyTruncating" },
|
|
1075
|
+
{ label: `Show only protein-changing mutations`, value: "onlyPC" },
|
|
1076
|
+
{ label: `Do not show mutations`, value: "none" },
|
|
1077
|
+
{ label: `Show selected mutation`, value: "bySelection" }
|
|
1078
|
+
],
|
|
1079
|
+
labelDisplay: "block",
|
|
1080
|
+
getDisplayStyle(plot) {
|
|
1081
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1082
|
+
},
|
|
1083
|
+
callback: self2.parent.mutationControlCallback
|
|
1084
|
+
}
|
|
1085
|
+
],
|
|
1086
|
+
customInputs: generateMutationItems
|
|
1087
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1088
|
+
}
|
|
1089
|
+
function generateMutationItems(self2, app, parent, table) {
|
|
1090
|
+
table.attr("class", null);
|
|
1091
|
+
const m = parent.config.settings.matrix;
|
|
1092
|
+
const cnvLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtcnv));
|
|
1093
|
+
if (m.showMatrixMutation !== "none" && (m.allMatrixCNVHidden || !cnvLegendGrp || cnvLegendGrp.crossedOut || !cnvLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1094
|
+
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1095
|
+
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1096
|
+
}
|
|
1097
|
+
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixMutation == "bySelection")
|
|
1098
|
+
parent.mutationControlCallback("bySelection");
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
// plots/matrix/matrix.controls.cnv.ts
|
|
1102
|
+
function setCNVBtn(self2) {
|
|
1103
|
+
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1104
|
+
label: "CNV",
|
|
1105
|
+
updateBtn: (btn) => {
|
|
1106
|
+
const s = self2.parent.config.settings.matrix;
|
|
1107
|
+
const notRendered = s.allMatrixCNVHidden;
|
|
1108
|
+
btn.style("text-decoration", notRendered ? "line-through" : "").style("text-decoration-thickness", notRendered ? "2px" : "");
|
|
1109
|
+
},
|
|
1110
|
+
rows: [
|
|
1111
|
+
{
|
|
1112
|
+
title: `Show CNV options`,
|
|
1113
|
+
type: "radio",
|
|
1114
|
+
chartType: "matrix",
|
|
1115
|
+
settingsKey: "showMatrixCNV",
|
|
1116
|
+
options: [
|
|
1117
|
+
{ label: "Show all CNV", value: "all" },
|
|
1118
|
+
{ label: `Do not show CNV`, value: "none" },
|
|
1119
|
+
{ label: `Show selected CNV`, value: "bySelection" }
|
|
1120
|
+
],
|
|
1121
|
+
labelDisplay: "block",
|
|
1122
|
+
getDisplayStyle(plot) {
|
|
1123
|
+
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1124
|
+
},
|
|
1125
|
+
callback: self2.parent.CNVControlCallback
|
|
1126
|
+
}
|
|
1127
|
+
],
|
|
1128
|
+
customInputs: generateCNVItems
|
|
1129
|
+
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1130
|
+
}
|
|
1131
|
+
function generateCNVItems(self2, app, parent, table) {
|
|
1132
|
+
table.attr("class", null);
|
|
1133
|
+
const m = parent.config.settings.matrix;
|
|
1134
|
+
const mutationLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtsnvindel));
|
|
1135
|
+
if (m.showMatrixCNV !== "none" && (m.allMatrixMutationHidden || !mutationLegendGrp || mutationLegendGrp.crossedOut || !mutationLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1136
|
+
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1137
|
+
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1138
|
+
}
|
|
1139
|
+
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixCNV == "bySelection")
|
|
1140
|
+
parent.CNVControlCallback("bySelection");
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
// plots/matrix/matrix.controls.download.ts
|
|
1144
|
+
function setDownloadBtn(self2) {
|
|
1145
|
+
self2.opts.holder.append("button").style("margin", "2px 0").text("Download").on("focus", () => self2.parent.app.tip.hide()).on("click.sjpp-matrix-download", (event) => {
|
|
1146
|
+
const p = self2.parent;
|
|
1147
|
+
if (!p.dom.downloadMenu) p.dom.downloadMenu = new Menu({ padding: "" });
|
|
1148
|
+
const downloadMenu = p.dom.downloadMenu.clear();
|
|
1149
|
+
const div = downloadMenu.d.append("div");
|
|
1150
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`SVG image`).on("click.sjpp-matrix-download", () => {
|
|
1151
|
+
to_svg(self2.opts.getSvg(), "matrix", { apply_dom_styles: true });
|
|
1152
|
+
p.dom.downloadMenu.destroy();
|
|
1153
|
+
});
|
|
1154
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`TSV data`).on("click.sjpp-matrix-download", () => {
|
|
1155
|
+
const lst = p.data.lst;
|
|
1156
|
+
const allTerms = p.termOrder.map((t) => t.tw);
|
|
1157
|
+
const assayAvailability = p.state.termdbConfig.assayAvailability;
|
|
1158
|
+
const controlLabels = p.settings.matrix.controlLabels;
|
|
1159
|
+
if (p.config.divideBy?.id && !allTerms.find((a2) => a2.id == p.config.divideBy.id)) {
|
|
1160
|
+
allTerms.push(p.config.divideBy);
|
|
1161
|
+
}
|
|
1162
|
+
const activeSamples = [];
|
|
1163
|
+
for (const d of lst) {
|
|
1164
|
+
for (const tw of allTerms) {
|
|
1165
|
+
if (tw.$id in d) {
|
|
1166
|
+
activeSamples.push(d);
|
|
1167
|
+
break;
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
const header = [controlLabels.Sample];
|
|
1172
|
+
for (const tw of allTerms) header.push(tw.term.name);
|
|
1173
|
+
const rows = [header];
|
|
1174
|
+
for (const sample of activeSamples) {
|
|
1175
|
+
const row = [sample._ref_.label];
|
|
1176
|
+
for (const tw of allTerms) {
|
|
1177
|
+
if (!sample[tw.$id]) {
|
|
1178
|
+
row.push("");
|
|
1179
|
+
} else {
|
|
1180
|
+
if (tw.term.type == "geneVariant") {
|
|
1181
|
+
const allVariant = [];
|
|
1182
|
+
for (const v of sample[tw.$id].renderedValues) {
|
|
1183
|
+
const hasAssayAvailability = assayAvailability?.byDt?.[parseInt(v.dt)];
|
|
1184
|
+
if (v.dt == dtsnvindel) {
|
|
1185
|
+
allVariant.push(
|
|
1186
|
+
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.mname ? `,${v.mname}` : "")
|
|
1187
|
+
);
|
|
1188
|
+
} else if (v.dt == dtcnv) {
|
|
1189
|
+
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;
|
|
1190
|
+
allVariant.push(
|
|
1191
|
+
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + cnvValue
|
|
1192
|
+
);
|
|
1193
|
+
} else if (v.dt == dtfusionrna || v.dt == dtsv) {
|
|
1194
|
+
allVariant.push(
|
|
1195
|
+
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.gene && v.mname ? `(${v.gene}::${v.mname})` : "")
|
|
1196
|
+
);
|
|
1197
|
+
} else {
|
|
1198
|
+
allVariant.push(`DO NOT SUPPORT dt='${v.dt}'`);
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
row.push(allVariant.join("|"));
|
|
1202
|
+
} else if (tw.term.type == TermTypes.GENE_EXPRESSION || tw.term.type == TermTypes.METABOLITE_INTENSITY || tw.term.type == TermTypes.PROTEOME_ABUNDANCE) {
|
|
1203
|
+
row.push(sample[tw.$id]?.renderedValues?.[0]?.value || "");
|
|
1204
|
+
} else {
|
|
1205
|
+
row.push(sample[tw.$id]?.renderedValues?.[0] || sample[tw.$id]?.value || "");
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
rows.push(row);
|
|
1210
|
+
}
|
|
1211
|
+
const matrix = rows.map((row) => row.join(" ")).join("\n");
|
|
1212
|
+
const a = document.createElement("a");
|
|
1213
|
+
document.body.appendChild(a);
|
|
1214
|
+
a.addEventListener(
|
|
1215
|
+
"click",
|
|
1216
|
+
function() {
|
|
1217
|
+
const currentDate = fileDateStamp();
|
|
1218
|
+
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`;
|
|
1219
|
+
a.href = URL.createObjectURL(new Blob([matrix], { type: "text/tab-separated-values" }));
|
|
1220
|
+
document.body.removeChild(a);
|
|
1221
|
+
},
|
|
1222
|
+
false
|
|
1223
|
+
);
|
|
1224
|
+
a.click();
|
|
1225
|
+
p.dom.downloadMenu.destroy();
|
|
1226
|
+
});
|
|
1227
|
+
downloadMenu.showunder(event.target);
|
|
1228
|
+
});
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
// plots/matrix/matrix.zoomPanScroll.ts
|
|
1232
|
+
function setZoomInput(self2) {
|
|
1233
|
+
const holder = self2.opts.holder.append("div").style("display", "inline-block").style("margin-left", "50px");
|
|
1234
|
+
const s = self2.parent.settings.matrix || self2.parent.config.settings.matrix;
|
|
1235
|
+
self2.zoomApi = zoom({
|
|
1236
|
+
holder,
|
|
1237
|
+
title: "Zoom factor relative to the ideal column width, as computed for the number of columns versus available screen width",
|
|
1238
|
+
unit: "",
|
|
1239
|
+
width: "80px",
|
|
1240
|
+
settings: {
|
|
1241
|
+
min: 0.1,
|
|
1242
|
+
// will be determined once the auto-computed width is determined
|
|
1243
|
+
max: 1,
|
|
1244
|
+
// will be determined once the auto-computed width is determined
|
|
1245
|
+
value: 1,
|
|
1246
|
+
increment: s.zoomIncrement,
|
|
1247
|
+
step: s.zoomStep || 5
|
|
1248
|
+
},
|
|
1249
|
+
callback: (zoomLevel) => {
|
|
1250
|
+
const p = self2.parent;
|
|
1251
|
+
const c = p.getVisibleCenterCell(0);
|
|
1252
|
+
p.app.dispatch({
|
|
1253
|
+
type: "plot_edit",
|
|
1254
|
+
id: p.id,
|
|
1255
|
+
config: {
|
|
1256
|
+
settings: {
|
|
1257
|
+
matrix: {
|
|
1258
|
+
zoomLevel,
|
|
1259
|
+
zoomCenterPct: 0.5,
|
|
1260
|
+
zoomIndex: c.totalIndex,
|
|
1261
|
+
zoomGrpIndex: c.grpIndex
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
});
|
|
1266
|
+
},
|
|
1267
|
+
reset: () => {
|
|
1268
|
+
self2.parent.app.dispatch({
|
|
1269
|
+
type: "plot_edit",
|
|
1270
|
+
id: self2.parent.id,
|
|
1271
|
+
config: {
|
|
1272
|
+
settings: {
|
|
1273
|
+
matrix: {
|
|
1274
|
+
zoomLevel: 1,
|
|
1275
|
+
zoomCenterPct: 0
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
});
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
function setDragToggle(self2, opts = {}) {
|
|
1284
|
+
const defaults = {
|
|
1285
|
+
mouseMode: "select",
|
|
1286
|
+
activeBgColor: "rgb(255, 255, 255)"
|
|
1287
|
+
};
|
|
1288
|
+
opts.target.style("cursor", "default");
|
|
1289
|
+
const instance = {
|
|
1290
|
+
opts: Object.assign({}, defaults, opts),
|
|
1291
|
+
dom: {
|
|
1292
|
+
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")),
|
|
1293
|
+
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"))
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
icons.arrowPointer(instance.dom.selectBtn, { width: 14, height: 14, transform: "translate(50,50)" });
|
|
1297
|
+
icons.grab(instance.dom.grabBtn, { width: 14, height: 14, transform: "translate(30,50)" });
|
|
1298
|
+
function setMode(m) {
|
|
1299
|
+
instance.opts.mouseMode = m;
|
|
1300
|
+
self2.parent.settings.matrix.mouseMode = m;
|
|
1301
|
+
opts.target.style("cursor", m == "select" ? "default" : "grab");
|
|
1302
|
+
instance.dom.selectBtn.style("background-color", m == "select" ? instance.opts.activeBgColor : "");
|
|
1303
|
+
instance.dom.grabBtn.style("background-color", m == "pan" ? instance.opts.activeBgColor : "");
|
|
1304
|
+
}
|
|
1305
|
+
self2.dragToggleApi = {
|
|
1306
|
+
update(s = {}) {
|
|
1307
|
+
Object.assign(instance.opts, s);
|
|
1308
|
+
setMode(instance.opts.mouseMode);
|
|
1309
|
+
},
|
|
1310
|
+
getSettings() {
|
|
1311
|
+
return {
|
|
1312
|
+
mouseMode: instance.opts.mouseMode
|
|
1313
|
+
};
|
|
1314
|
+
}
|
|
1315
|
+
};
|
|
1316
|
+
}
|
|
1317
|
+
function setSvgScroll(self2, state) {
|
|
1318
|
+
self2.svgScrollApi = svgScroll({
|
|
1319
|
+
holder: self2.parent.dom.scroll,
|
|
1320
|
+
height: state.config.settings.matrix.scrollHeight,
|
|
1321
|
+
callback: (dx, eventType) => {
|
|
1322
|
+
const p = self2.parent;
|
|
1323
|
+
const s = p.settings.matrix;
|
|
1324
|
+
const d = p.dimensions;
|
|
1325
|
+
if (eventType == "move") {
|
|
1326
|
+
p.dom.seriesesG.attr("transform", `translate(${d.xOffset + d.seriesXoffset - dx},${d.yOffset})`);
|
|
1327
|
+
p.clusterRenderer.translateElems(-dx, s, d);
|
|
1328
|
+
p.layout.top.attr.adjustBoxTransform(-dx);
|
|
1329
|
+
p.layout.btm.attr.adjustBoxTransform(-dx);
|
|
1330
|
+
if (p.dom.topDendrogram) {
|
|
1331
|
+
p.dom.topDendrogram.attr("transform", `translate(${p.topDendroX - dx},0)`);
|
|
1332
|
+
}
|
|
1333
|
+
} else if (eventType == "up") {
|
|
1334
|
+
const c = p.getVisibleCenterCell(-dx);
|
|
1335
|
+
p.app.dispatch({
|
|
1336
|
+
type: "plot_edit",
|
|
1337
|
+
id: p.id,
|
|
1338
|
+
config: {
|
|
1339
|
+
settings: {
|
|
1340
|
+
matrix: {
|
|
1341
|
+
zoomCenterPct: 0.5,
|
|
1342
|
+
zoomIndex: c.totalIndex,
|
|
1343
|
+
zoomGrpIndex: c.grpIndex
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
});
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
});
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
// plots/matrix/matrix.controls.ts
|
|
1354
|
+
var MatrixControls = class {
|
|
1355
|
+
constructor(opts, appState) {
|
|
1356
|
+
this.activeTab = "basic";
|
|
1357
|
+
this.type = "matrixControls";
|
|
1358
|
+
this.opts = opts;
|
|
1359
|
+
this.parent = opts.parent;
|
|
1360
|
+
this.overrides = {};
|
|
1361
|
+
this.opts.holder.style("margin", "10px 10px 20px 10px").style("white-space", "nowrap");
|
|
1362
|
+
const state = this.parent.getState(appState);
|
|
1363
|
+
const s = state.config.settings.matrix;
|
|
1364
|
+
if (this.parent.setClusteringBtn)
|
|
1365
|
+
this.parent.setClusteringBtn(this.opts.holder, (event, data) => this.callback(event, data));
|
|
1366
|
+
setSamplesBtn(this, s);
|
|
1367
|
+
if (state.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || state.termdbConfig.queries.snvindel || this.parent.chartType == "hierCluster" && this.parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
1368
|
+
setGenesBtn(this, s);
|
|
1369
|
+
}
|
|
1370
|
+
if (s.addMutationCNVButtons && this.parent.chartType !== "hierCluster") {
|
|
1371
|
+
setMutationBtn(this);
|
|
1372
|
+
setCNVBtn(this);
|
|
1373
|
+
}
|
|
1374
|
+
setVariablesBtn(this, s);
|
|
1375
|
+
setDimensionsBtn(this, s);
|
|
1376
|
+
setLegendBtn(this);
|
|
1377
|
+
setDownloadBtn(this);
|
|
1378
|
+
setZoomInput(this);
|
|
1379
|
+
setDragToggle(this, {
|
|
1380
|
+
holder: this.opts.holder.append("div").style("display", "inline-block"),
|
|
1381
|
+
target: this.parent.dom.seriesesG
|
|
1382
|
+
});
|
|
1383
|
+
setSvgScroll(this, state);
|
|
1384
|
+
this.keyboardNavHandler = async (event) => {
|
|
1385
|
+
if (event.key == "Escape") {
|
|
1386
|
+
this.parent.app.tip.hide();
|
|
1387
|
+
} else if (event.key == "Enter" || event.key == "ArrowDown") {
|
|
1388
|
+
const elems = event.target.tagName == "BUTTON" ? this.parent.app.tip.d.node().querySelectorAll("input, select") : event.target.querySelectorAll("input, select");
|
|
1389
|
+
for (const elem of elems) {
|
|
1390
|
+
if (elem.checkVisibility?.() || !elem.checkVisibility && elem.getBoundingClientRect().height) {
|
|
1391
|
+
elem.focus();
|
|
1392
|
+
return false;
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
} else if (event.key == "Tab" && event.shiftKey || event.key == "Backspace" || event.key == "ArrowUp") {
|
|
1396
|
+
if (event.target.tagName == "BUTTON") event.target.focus();
|
|
1397
|
+
return false;
|
|
1398
|
+
}
|
|
1399
|
+
};
|
|
1400
|
+
this.btns = this.opts.holder.selectAll(":scope>button").filter((d) => d && d.label).on(`keyup.matrix-${this.parent.id}`, this.keyboardNavHandler);
|
|
1401
|
+
}
|
|
1402
|
+
main(overrides = {}) {
|
|
1403
|
+
this.overrides = overrides;
|
|
1404
|
+
this.parent.app.tip.hide();
|
|
1405
|
+
this.btns.text(
|
|
1406
|
+
(d2) => !d2.getCount || d2.showCount == "hide" ? d2.label : d2.showCount == "append" ? `${d2.label} (n=${d2.getCount()})` : `${d2.getCount()} ${d2.label}`
|
|
1407
|
+
).each(function(d2) {
|
|
1408
|
+
if (d2.updateBtn) d2.updateBtn(select_default(this));
|
|
1409
|
+
});
|
|
1410
|
+
const s = this.parent.settings.matrix || this.parent.config.settings.matrix;
|
|
1411
|
+
const min = this.parent.computedSettings.zoomMin;
|
|
1412
|
+
const max = this.parent.computedSettings.zoomMax;
|
|
1413
|
+
const increment = Math.max(0.01, Number((min / max).toFixed(2)));
|
|
1414
|
+
const d = this.parent.dimensions;
|
|
1415
|
+
if (this.zoomApi)
|
|
1416
|
+
this.zoomApi.update({
|
|
1417
|
+
value: s.zoomLevel.toFixed(2),
|
|
1418
|
+
min: min.toFixed(2),
|
|
1419
|
+
max: max.toFixed(2),
|
|
1420
|
+
increment,
|
|
1421
|
+
step: s.zoomStep || 1
|
|
1422
|
+
});
|
|
1423
|
+
if (this.svgScrollApi && d) {
|
|
1424
|
+
this.svgScrollApi.update({
|
|
1425
|
+
x: d.xOffset,
|
|
1426
|
+
y: d.yOffset - s.scrollHeight,
|
|
1427
|
+
totalWidth: d.zoomedMainW,
|
|
1428
|
+
visibleWidth: d.mainw,
|
|
1429
|
+
zoomCenter: s.zoomCenterPct * d.mainw - d.seriesXoffset
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
if (this.dragToggleApi) {
|
|
1433
|
+
this.dragToggleApi.update(s.mouseMode ? { mouseMode: s.mouseMode } : {});
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
getSettings() {
|
|
1437
|
+
return {
|
|
1438
|
+
mouseMode: this.dragToggleApi.getSettings().mouseMode
|
|
1439
|
+
};
|
|
1440
|
+
}
|
|
1441
|
+
async callback(event, d) {
|
|
1442
|
+
const app = this.opts.app;
|
|
1443
|
+
const parent = this.opts.parent;
|
|
1444
|
+
const tables = d.tables || [d];
|
|
1445
|
+
event.target.focus();
|
|
1446
|
+
app.tip.clear();
|
|
1447
|
+
const table = app.tip.d.append("table").attr("class", "sjpp-controls-table");
|
|
1448
|
+
for (const t of tables) {
|
|
1449
|
+
if (t.header) {
|
|
1450
|
+
table.append("tr").selectAll("th").data(t.header).enter().append("th").html((d2) => d2);
|
|
1451
|
+
}
|
|
1452
|
+
for (const inputConfig of t.rows) {
|
|
1453
|
+
const holder = table.append("tr");
|
|
1454
|
+
const input = await initByInput[inputConfig.type](
|
|
1455
|
+
Object.assign(
|
|
1456
|
+
{},
|
|
1457
|
+
{
|
|
1458
|
+
holder,
|
|
1459
|
+
app,
|
|
1460
|
+
dispatch: (action) => app.dispatch(action),
|
|
1461
|
+
id: parent.id,
|
|
1462
|
+
debug: this.opts.debug,
|
|
1463
|
+
parent
|
|
1464
|
+
},
|
|
1465
|
+
inputConfig
|
|
1466
|
+
)
|
|
1467
|
+
);
|
|
1468
|
+
input.main(parent.config);
|
|
1469
|
+
}
|
|
1470
|
+
if (t.customInputs) t.customInputs(this, app, parent, table);
|
|
1471
|
+
table.selectAll("select, input, button").attr("tabindex", 0).on("keydown", this.keyboardNavHandler);
|
|
1472
|
+
}
|
|
1473
|
+
app.tip.showunder(event.target);
|
|
1474
|
+
}
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1477
|
+
// plots/matrix/matrix.xtw.ts
|
|
1478
|
+
var addons;
|
|
1479
|
+
async function getTermGroups(termgroups, app) {
|
|
1480
|
+
const termGroups = structuredClone(termgroups);
|
|
1481
|
+
if (!addons)
|
|
1482
|
+
addons = {
|
|
1483
|
+
QualTWValues: discreteAddons,
|
|
1484
|
+
QualTWPredefinedGS: discreteAddons,
|
|
1485
|
+
QualTWCustomGS: discreteAddons,
|
|
1486
|
+
NumTWRegularBin: discreteAddons,
|
|
1487
|
+
NumTWCustomBin: discreteAddons,
|
|
1488
|
+
NumTWCont: continuousAddons,
|
|
1489
|
+
TermCollectionTWCont: TermCollectionContAddons
|
|
1490
|
+
};
|
|
1491
|
+
const opts = {
|
|
1492
|
+
vocabApi: app.vocabApi,
|
|
1493
|
+
addons
|
|
1494
|
+
};
|
|
1495
|
+
for (const [origIndex, tG] of termGroups.entries()) {
|
|
1496
|
+
tG.origIndex = origIndex;
|
|
1497
|
+
if (tG.type == "hierCluster") continue;
|
|
1498
|
+
const xtwlst = [];
|
|
1499
|
+
for (const tw of tG.lst) {
|
|
1500
|
+
const inputTw = tw.getTw?.() || tw;
|
|
1501
|
+
xtwlst.push(
|
|
1502
|
+
inputTw.type in opts.addons && routedTermTypes.has(inputTw.term.type) ? await TwRouter.init(inputTw, opts) : inputTw
|
|
1503
|
+
);
|
|
1504
|
+
}
|
|
1505
|
+
tG.lst = xtwlst;
|
|
1506
|
+
}
|
|
1507
|
+
return termGroups;
|
|
1508
|
+
}
|
|
1509
|
+
var discreteAddons = {
|
|
1510
|
+
setCellProps: {
|
|
1511
|
+
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1512
|
+
const tw = this.getTw();
|
|
1513
|
+
const key = anno.key;
|
|
1514
|
+
const values = tw.term.values || {};
|
|
1515
|
+
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1516
|
+
const tw$id = tw.$id;
|
|
1517
|
+
cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.[key]?.color || anno.color || values[anno.key]?.color || self2.data.refs.byTermId?.[tw$id]?.bins?.find((b) => anno.key == b.name)?.color;
|
|
1518
|
+
cell.order = t.ref.bins ? t.ref.bins.findIndex((bin) => bin.name == key) : 0;
|
|
1519
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1520
|
+
cell.y = height * i;
|
|
1521
|
+
const group = tw.legend?.group || tw$id;
|
|
1522
|
+
return { ref: t.ref, group, value: key, entry: { key, label: cell.label, fill: cell.fill } };
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
};
|
|
1526
|
+
var continuousAddons = {
|
|
1527
|
+
setCellProps: {
|
|
1528
|
+
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1529
|
+
const tw = this.getTw();
|
|
1530
|
+
const key = anno.key;
|
|
1531
|
+
const values = tw.term.values || {};
|
|
1532
|
+
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1533
|
+
cell.fill = anno.color || values[anno.key]?.color;
|
|
1534
|
+
const tw$id = tw.$id;
|
|
1535
|
+
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1536
|
+
if (!twSpecificSettings[tw$id]) twSpecificSettings[tw$id] = {};
|
|
1537
|
+
const twSettings = twSpecificSettings[tw$id];
|
|
1538
|
+
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1539
|
+
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1540
|
+
const specialValue = tw.term.values?.[cell.key];
|
|
1541
|
+
if (specialValue?.uncomputable) {
|
|
1542
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1543
|
+
cell.y = height * i;
|
|
1544
|
+
cell.height = twSettings.contBarH;
|
|
1545
|
+
cell.fill = "transparent";
|
|
1546
|
+
cell.label = specialValue.label;
|
|
1547
|
+
const group = tw.legend?.group || tw.$id;
|
|
1548
|
+
return {
|
|
1549
|
+
ref: t.ref,
|
|
1550
|
+
group,
|
|
1551
|
+
value: specialValue.label || specialValue.key,
|
|
1552
|
+
entry: { key, label: cell.label, fill: cell.fill }
|
|
1553
|
+
};
|
|
1554
|
+
}
|
|
1555
|
+
cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.contBarColor || "#555";
|
|
1556
|
+
if (s.transpose) {
|
|
1557
|
+
cell.height = t.scale(cell.key);
|
|
1558
|
+
cell.x = twSettings.contBarGap;
|
|
1559
|
+
} else {
|
|
1560
|
+
const vc = cell.term.valueConversion;
|
|
1561
|
+
let renderV = vc ? cell.key * vc.scaleFactor : cell.key;
|
|
1562
|
+
if (this.q.convert2ZScore) {
|
|
1563
|
+
renderV = (renderV - t.mean) / t.std;
|
|
1564
|
+
cell.fill = renderV > 0 ? "#FF6666" : "#6666FF";
|
|
1565
|
+
cell.zscoreLabel = ` (Z-score: ${renderV.toFixed(2)})`;
|
|
1566
|
+
}
|
|
1567
|
+
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : this.term.unit ? `${cell.key.toFixed(2)} ${this.term.unit}` : cell.key.toFixed(2);
|
|
1568
|
+
cell.height = renderV >= 0 ? t.scales.pos(renderV) : t.scales.neg(renderV);
|
|
1569
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1570
|
+
cell.y = renderV >= 0 ? t.counts.posMaxHt + twSettings.contBarGap - cell.height : t.counts.posMaxHt + twSettings.contBarGap;
|
|
1571
|
+
cell.convertedValueLabel = !vc ? "" : convertUnits(cell.key, vc.fromUnit, vc.toUnit, vc.scaleFactor);
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
};
|
|
1576
|
+
var TermCollectionContAddons = {
|
|
1577
|
+
setCellProps: {
|
|
1578
|
+
value: function(cell, anno, value, s, t, self2, width, height, dx, _dy, _i) {
|
|
1579
|
+
const tw = this.getTw();
|
|
1580
|
+
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1581
|
+
if (!twSpecificSettings[tw.$id]) twSpecificSettings[tw.$id] = {};
|
|
1582
|
+
const twSettings = twSpecificSettings[tw.$id];
|
|
1583
|
+
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1584
|
+
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1585
|
+
const isNegative = value.value < 0;
|
|
1586
|
+
if (isNegative) {
|
|
1587
|
+
cell.height = t.scales.neg ? t.scales.neg(value.value) - t.scales.neg(0) : 0;
|
|
1588
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1589
|
+
const cumulativeHeight = t.scales.neg ? t.scales.neg(value.pre_val_sum) - t.scales.neg(0) : 0;
|
|
1590
|
+
cell.y = t.counts.posMaxHt + twSettings.contBarGap + (t.scales.neg ? t.scales.neg(0) : 0) + cumulativeHeight;
|
|
1591
|
+
} else {
|
|
1592
|
+
cell.height = t.scales.pos(value.value) - t.scales.pos(0);
|
|
1593
|
+
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1594
|
+
const cumulativeHeight = t.scales.pos(value.pre_val_sum) - t.scales.pos(0);
|
|
1595
|
+
cell.y = t.counts.posMaxHt + twSettings.contBarGap - t.scales.pos(0) - cumulativeHeight - cell.height;
|
|
1596
|
+
}
|
|
1597
|
+
cell.label = value.label;
|
|
1598
|
+
cell.fill = twSettings[value.label]?.color || value.color || tw.term.propsByTermId?.[value.label]?.color;
|
|
1599
|
+
cell.value = value.value;
|
|
1600
|
+
return {
|
|
1601
|
+
ref: t.ref,
|
|
1602
|
+
group: tw.$id,
|
|
1603
|
+
value: value.label,
|
|
1604
|
+
order: -1,
|
|
1605
|
+
entry: { key: value.label, label: value.label, fill: cell.fill }
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1611
|
+
// plots/matrix/matrix.js
|
|
1612
|
+
var Matrix = class _Matrix extends PlotBase {
|
|
1613
|
+
static type = "matrix";
|
|
1614
|
+
configTermKeys = ["termgroups.lst", "divideBy"];
|
|
1615
|
+
constructor(opts) {
|
|
1616
|
+
super(opts);
|
|
1617
|
+
this.type = _Matrix.type;
|
|
1618
|
+
this.holderTitle = "Sample Matrix";
|
|
1619
|
+
this.optionalFeatures = JSON.parse(sessionStorage.getItem("optionalFeatures") || `{}`)?.matrix || [];
|
|
1620
|
+
setInteractivity(this);
|
|
1621
|
+
setRenderers(this);
|
|
1622
|
+
}
|
|
1623
|
+
async init(appState) {
|
|
1624
|
+
const opts = this.opts;
|
|
1625
|
+
if (opts.reactsTo) this.reactsTo = opts.reactsTo;
|
|
1626
|
+
this.setDom = setMatrixDom;
|
|
1627
|
+
this.setDom(opts);
|
|
1628
|
+
this.config = appState.plots.find((p) => p.id === this.id);
|
|
1629
|
+
this.settings = Object.assign({}, this.config.settings.matrix);
|
|
1630
|
+
this.computed = {};
|
|
1631
|
+
if (this.dom.header) this.dom.header.html(this.config.preBuiltPlotTitle || this.holderTitle);
|
|
1632
|
+
this.setControls(appState);
|
|
1633
|
+
this.clusterRenderer = new MatrixCluster({ holder: this.dom.cluster, app: this.app, parent: this });
|
|
1634
|
+
this.legendRenderer = svgLegend({
|
|
1635
|
+
holder: this.dom.legendG,
|
|
1636
|
+
rectFillFxn: (d) => d.color,
|
|
1637
|
+
iconStroke: "#aaa",
|
|
1638
|
+
handlers: {
|
|
1639
|
+
legend: {
|
|
1640
|
+
click: this.legendClick
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
settings: {
|
|
1644
|
+
isExcludedAttr: "isExcluded"
|
|
1645
|
+
},
|
|
1646
|
+
note: "CLICK A ROW LABEL OR ITEM TO APPLY FILTERING"
|
|
1647
|
+
});
|
|
1648
|
+
this.customTipApi = this.dom.tip.getCustomApi({
|
|
1649
|
+
d: this.dom.menubody,
|
|
1650
|
+
clear: (event) => {
|
|
1651
|
+
if (event?.target) this.dom.menutop.style("display", "none");
|
|
1652
|
+
this.dom.menubody.selectAll("*").remove();
|
|
1653
|
+
return this.customTipApi;
|
|
1654
|
+
},
|
|
1655
|
+
show: () => {
|
|
1656
|
+
this.dom.menubody.style("display", "block");
|
|
1657
|
+
},
|
|
1658
|
+
hide: () => {
|
|
1659
|
+
}
|
|
1660
|
+
});
|
|
1661
|
+
this.setPill(appState);
|
|
1662
|
+
const commonKeys = { mclass, dt2label, morigin };
|
|
1663
|
+
for (const k in commonKeys) {
|
|
1664
|
+
const v = commonKeys[k];
|
|
1665
|
+
this[k] = copyMerge({}, v, appState.termdbConfig[k] || {}, appState.termdbConfig.matrix?.[k] || {});
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
setControls(appState) {
|
|
1669
|
+
this.controlsRenderer = new MatrixControls(
|
|
1670
|
+
{
|
|
1671
|
+
app: this.app,
|
|
1672
|
+
id: this.id,
|
|
1673
|
+
parent: this,
|
|
1674
|
+
holder: this.dom.controls,
|
|
1675
|
+
getSvg: () => this.dom.svg.node()
|
|
1676
|
+
},
|
|
1677
|
+
appState
|
|
1678
|
+
);
|
|
1679
|
+
}
|
|
1680
|
+
// reactsTo(action) {
|
|
1681
|
+
// // note: a parent app or 'plot' component is expected to already have
|
|
1682
|
+
// // a comprehensive reactsTo() call to filter the actions for this component,
|
|
1683
|
+
// // so only farther selective action filters should be applied here as needed
|
|
1684
|
+
// return true
|
|
1685
|
+
// }
|
|
1686
|
+
getState(appState) {
|
|
1687
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1688
|
+
const filter0 = appState.termfilter.filter0;
|
|
1689
|
+
this.prevFilter0 = this.state?.filter0;
|
|
1690
|
+
const parentConfig = appState.plots.find((p) => p.id === this.parentId);
|
|
1691
|
+
const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
|
|
1692
|
+
return {
|
|
1693
|
+
isVisible: true,
|
|
1694
|
+
config,
|
|
1695
|
+
filter: termfilter.filter,
|
|
1696
|
+
filter0,
|
|
1697
|
+
// read-only, invisible filter currently only used for gdc dataset
|
|
1698
|
+
hasVerifiedToken: this.app.vocabApi.hasVerifiedToken(),
|
|
1699
|
+
tokenVerificationMessage: this.app.vocabApi.tokenVerificationMessage,
|
|
1700
|
+
vocab: appState.vocab,
|
|
1701
|
+
termdbConfig: appState.termdbConfig,
|
|
1702
|
+
clusterMethod: config.settings.hierCluster?.clusterMethod,
|
|
1703
|
+
distanceMethod: config.settings.hierCluster?.distanceMethod,
|
|
1704
|
+
clusterSamples: config.settings.hierCluster?.clusterSamples,
|
|
1705
|
+
clusterRows: config.settings.hierCluster?.clusterRows,
|
|
1706
|
+
zScoreTransformation: config.settings.hierCluster?.zScoreTransformation,
|
|
1707
|
+
nav: appState.nav,
|
|
1708
|
+
groups: rebaseGroupFilter(appState)
|
|
1709
|
+
};
|
|
1710
|
+
}
|
|
1711
|
+
async main() {
|
|
1712
|
+
try {
|
|
1713
|
+
this.config = await this.getMutableConfig();
|
|
1714
|
+
if (this.mayRequireToken()) return;
|
|
1715
|
+
const termGroups = await getTermGroups(this.config.termgroups, this.app);
|
|
1716
|
+
const prevTranspose = this.settings.transpose;
|
|
1717
|
+
Object.assign(this.settings, structuredClone(this.config.settings), this.controlsRenderer.getSettings());
|
|
1718
|
+
this.dom.loadingDiv.selectAll("*").remove();
|
|
1719
|
+
this.dom.loadingDiv.html("").style("display", "").style("position", "relative").style("left", "45%");
|
|
1720
|
+
this.dom.svg.style("opacity", 0.1).style("pointer-events", "none");
|
|
1721
|
+
delete this.clickedClusterIds;
|
|
1722
|
+
delete this.clickedLeftClusterIds;
|
|
1723
|
+
try {
|
|
1724
|
+
setComputedConfig(this.config);
|
|
1725
|
+
const promises = [];
|
|
1726
|
+
if (this.setHierClusterData) promises.push(this.setHierClusterData());
|
|
1727
|
+
promises.push(this.setData());
|
|
1728
|
+
this.dom.loadingDiv.html("Processing data ...");
|
|
1729
|
+
await Promise.all(promises);
|
|
1730
|
+
const warnings = this.data.warnings.join("\n");
|
|
1731
|
+
this.dom.warningDiv.style("display", warnings.length ? "" : "none").html(warnings);
|
|
1732
|
+
this.applyLegendValueFilter();
|
|
1733
|
+
if (this.combineData) this.combineData();
|
|
1734
|
+
this.app.save({ type: "plot_edit", id: this.id, config: this.config });
|
|
1735
|
+
} catch (e) {
|
|
1736
|
+
if (e == "no data") {
|
|
1737
|
+
this.showNoMatchingDataMessage();
|
|
1738
|
+
return;
|
|
1739
|
+
} else if (this.app.isAbortError(e)) {
|
|
1740
|
+
return;
|
|
1741
|
+
} else {
|
|
1742
|
+
this.dom.svg.style("display", "none");
|
|
1743
|
+
throw e;
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
this.termGroups = termGroups;
|
|
1747
|
+
this.dom.loadingDiv.html("Updating ...").style("display", "");
|
|
1748
|
+
this.termOrder = this.getTermOrder(this.data);
|
|
1749
|
+
this.sampleGroups = this.getSampleGroups(this.hierClusterSamples || this.data);
|
|
1750
|
+
this.sampleOrder = this.getSampleOrder(this.data);
|
|
1751
|
+
this.setLayout();
|
|
1752
|
+
if (this.setHierColorScale) this.setHierColorScale(this.hierClusterData.clustering);
|
|
1753
|
+
if (!this.sampleOrder?.length) {
|
|
1754
|
+
this.showNoMatchingDataMessage();
|
|
1755
|
+
}
|
|
1756
|
+
this.controlsRenderer.main();
|
|
1757
|
+
this.serieses = this.getSerieses(this.data);
|
|
1758
|
+
this.dom.loadingDiv.html("Rendering ...");
|
|
1759
|
+
if (this.plotDendrogramHclust) this.plotDendrogramHclust();
|
|
1760
|
+
this.render();
|
|
1761
|
+
this.mayDisplayCohortMessage();
|
|
1762
|
+
this.dom.svg.style("display", "").style("opacity", 1).style("pointer-events", "");
|
|
1763
|
+
const [xGrps, yGrps] = !this.settings.matrix.transpose ? ["sampleGrps", "termGrps"] : ["termGrps", "sampleGrps"];
|
|
1764
|
+
const d = this.dimensions;
|
|
1765
|
+
this.clusterRenderer.main({
|
|
1766
|
+
settings: this.settings.matrix,
|
|
1767
|
+
xGrps: this[xGrps],
|
|
1768
|
+
yGrps: this[yGrps],
|
|
1769
|
+
dimensions: d
|
|
1770
|
+
});
|
|
1771
|
+
this.legendRenderer(this.legendData, {
|
|
1772
|
+
settings: Object.assign({}, this.settings.legend, {
|
|
1773
|
+
svgw: Math.max(400, d.mainw + d.xOffset - this.settings.matrix.margin.right),
|
|
1774
|
+
svgh: d.mainh + d.yOffset,
|
|
1775
|
+
dimensions: d,
|
|
1776
|
+
padleft: this.settings.legend.padleft
|
|
1777
|
+
//+ d.xOffset
|
|
1778
|
+
})
|
|
1779
|
+
});
|
|
1780
|
+
await this.adjustSvgDimensions(prevTranspose);
|
|
1781
|
+
this.controlsRenderer.main();
|
|
1782
|
+
if (this.data.removedHierClusterTerms) {
|
|
1783
|
+
for (const r of this.data.removedHierClusterTerms) {
|
|
1784
|
+
sayerror(this.dom.errorDiv, r.text + ": " + r.lst.join(", "));
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
} catch (e) {
|
|
1788
|
+
const message = this.app.vocabApi.tokenVerificationMessage;
|
|
1789
|
+
this.mayRequireToken(message);
|
|
1790
|
+
if (!message) {
|
|
1791
|
+
this.app.tip.hide();
|
|
1792
|
+
this.dom.loadingDiv.style("display", "none");
|
|
1793
|
+
throw e;
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
this.resetInteractions();
|
|
1797
|
+
}
|
|
1798
|
+
showNoMatchingDataMessage() {
|
|
1799
|
+
this.forcedSampleCount = 0;
|
|
1800
|
+
this.dom.svg.style("opacity", 1e-3).style("display", "none");
|
|
1801
|
+
if (this.termOrder && this.dimensions) this.controlsRenderer.main({ sampleCount: 0 });
|
|
1802
|
+
this.dom.loadingDiv.html("");
|
|
1803
|
+
const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
|
|
1804
|
+
div.append("div").style("margin", "5px 10px").html("No matching cohort sample data for the current gene list.");
|
|
1805
|
+
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1806
|
+
const div1 = div.append("div").style("margin", "5px 10px");
|
|
1807
|
+
div1.append("span").html("You may change the selected cohort,");
|
|
1808
|
+
if (this.config.legendGrpFilter?.lst.length || this.config.legendValueFilter?.lst.length) {
|
|
1809
|
+
const cnvBtn = this.controlsRenderer.btns.filter((d) => d.label == "CNV")?.node();
|
|
1810
|
+
if (cnvBtn) {
|
|
1811
|
+
div1.append("br");
|
|
1812
|
+
div1.append("span").html("show hidden ");
|
|
1813
|
+
div1.append("span").html("CNV").style("cursor", "pointer").style("text-decoration", "underline").on("click", () => {
|
|
1814
|
+
cnvBtn.click();
|
|
1815
|
+
});
|
|
1816
|
+
}
|
|
1817
|
+
const mutationBtn = this.controlsRenderer.btns.filter((d) => d.label == "Mutation")?.node();
|
|
1818
|
+
if (cnvBtn && mutationBtn) div1.append("span").html(" or ");
|
|
1819
|
+
if (mutationBtn) {
|
|
1820
|
+
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Mutation").on("click", () => {
|
|
1821
|
+
mutationBtn.click();
|
|
1822
|
+
});
|
|
1823
|
+
}
|
|
1824
|
+
if (cnvBtn || mutationBtn) div1.append("span").html(" data,");
|
|
1825
|
+
}
|
|
1826
|
+
div1.append("br");
|
|
1827
|
+
div1.append("span").html("or edit the gene list from the ");
|
|
1828
|
+
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1829
|
+
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1830
|
+
const i = setInterval(() => {
|
|
1831
|
+
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1832
|
+
return this.innerHTML == "Edit Group";
|
|
1833
|
+
}).node();
|
|
1834
|
+
if (editBtn) {
|
|
1835
|
+
editBtn.click();
|
|
1836
|
+
clearInterval(i);
|
|
1837
|
+
}
|
|
1838
|
+
}, 100);
|
|
1839
|
+
});
|
|
1840
|
+
}
|
|
1841
|
+
this.dom.svg.style("display", "none");
|
|
1842
|
+
}
|
|
1843
|
+
mayDisplayCohortMessage() {
|
|
1844
|
+
const msg = deepEqual(this.state.filter0, this.prevFilter0) ? "" : "The gene list is persisted across cohorts.";
|
|
1845
|
+
if (msg) {
|
|
1846
|
+
this.dom.loadingDiv.html("");
|
|
1847
|
+
const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
|
|
1848
|
+
div.append("div").html(msg);
|
|
1849
|
+
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1850
|
+
const div1 = div.append("div");
|
|
1851
|
+
div1.append("span").html(" You may edit the gene list from the ");
|
|
1852
|
+
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1853
|
+
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1854
|
+
const i = setInterval(() => {
|
|
1855
|
+
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1856
|
+
return this.innerHTML == "Edit Group";
|
|
1857
|
+
}).node();
|
|
1858
|
+
if (editBtn) {
|
|
1859
|
+
editBtn.click();
|
|
1860
|
+
clearInterval(i);
|
|
1861
|
+
}
|
|
1862
|
+
}, 100);
|
|
1863
|
+
});
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
this.dom.loadingDiv.style("display", msg ? "" : "none");
|
|
1867
|
+
}
|
|
1868
|
+
sampleKey(s) {
|
|
1869
|
+
return s.row.sample;
|
|
1870
|
+
}
|
|
1871
|
+
sampleLabel(s) {
|
|
1872
|
+
return s.label || s.row._ref_.label || "";
|
|
1873
|
+
}
|
|
1874
|
+
sampleGrpKey(s) {
|
|
1875
|
+
return s.grp.name;
|
|
1876
|
+
}
|
|
1877
|
+
sampleGrpLabel(s) {
|
|
1878
|
+
return s.grp.label || s.grp.name || "";
|
|
1879
|
+
}
|
|
1880
|
+
termKey(t) {
|
|
1881
|
+
return t.tw.$id;
|
|
1882
|
+
}
|
|
1883
|
+
termLabel(t) {
|
|
1884
|
+
return t.label;
|
|
1885
|
+
}
|
|
1886
|
+
termGrpKey(t) {
|
|
1887
|
+
return t.grp.name;
|
|
1888
|
+
}
|
|
1889
|
+
termGrpLabel(t) {
|
|
1890
|
+
return t.grp.label || t.grp.name || [{ text: "\u22EE", dx: 3, cls: "sjpp-exclude-svg-download" }];
|
|
1891
|
+
}
|
|
1892
|
+
destroy() {
|
|
1893
|
+
select_default(window).on(`resize.sjpp-${self.id}`, null);
|
|
1894
|
+
}
|
|
1895
|
+
};
|
|
1896
|
+
for (const m of [matrix_data_exports, matrix_groups_exports, matrix_layout_exports, matrix_serieses_exports, matrix_legend_exports]) {
|
|
1897
|
+
for (const methodName in m) {
|
|
1898
|
+
Matrix.prototype[methodName] = m[methodName];
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
var matrixInit = getCompInit(Matrix);
|
|
1902
|
+
var componentInit = matrixInit;
|
|
1903
|
+
function makeChartBtnMenu(holder, chartsInstance) {
|
|
1904
|
+
chartsInstance.dom.tip.clear();
|
|
1905
|
+
const menuDiv = holder.append("div");
|
|
1906
|
+
if (chartsInstance.state.termdbConfig.matrixplots) {
|
|
1907
|
+
for (const plot of chartsInstance.state.termdbConfig.matrixplots) {
|
|
1908
|
+
menuDiv.append("button").style("margin", "10px").style("padding", "10px 15px").style("border-radius", "20px").style("border-color", "#ededed").style("display", "inline-block").text(plot.name).on("click", async () => {
|
|
1909
|
+
chartsInstance.dom.tip.hide();
|
|
1910
|
+
const config = await chartsInstance.app.vocabApi.getMatrixByName(plot.name);
|
|
1911
|
+
config.preBuiltPlotTitle = plot.name;
|
|
1912
|
+
chartsInstance.app.dispatch({
|
|
1913
|
+
type: "plot_create",
|
|
1914
|
+
config
|
|
1915
|
+
});
|
|
1916
|
+
});
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
const chart = {
|
|
1920
|
+
clickTo: chartsInstance.showTree_selectlst,
|
|
1921
|
+
chartType: "matrix",
|
|
1922
|
+
usecase: { target: "matrix", detail: "termgroups" },
|
|
1923
|
+
processSelection: (lst) => {
|
|
1924
|
+
return [
|
|
1925
|
+
{
|
|
1926
|
+
name: "",
|
|
1927
|
+
lst: lst.map((term) => {
|
|
1928
|
+
return { term };
|
|
1929
|
+
})
|
|
1930
|
+
}
|
|
1931
|
+
];
|
|
1932
|
+
}
|
|
1933
|
+
};
|
|
1934
|
+
chartsInstance.showTree_selectlst(chart);
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
export {
|
|
1938
|
+
Matrix,
|
|
1939
|
+
matrixInit,
|
|
1940
|
+
componentInit,
|
|
1941
|
+
makeChartBtnMenu
|
|
1942
|
+
};
|
|
1943
|
+
//# sourceMappingURL=chunk-USH6NWXA.js.map
|