@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
package/dist/chunk-O5KFJBU3.js
DELETED
|
@@ -1,1942 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
matrix_groups_exports
|
|
3
|
-
} from "./chunk-TRQUMV4T.js";
|
|
4
|
-
import {
|
|
5
|
-
setComputedConfig
|
|
6
|
-
} from "./chunk-Z7VK2AMA.js";
|
|
7
|
-
import {
|
|
8
|
-
setRenderers
|
|
9
|
-
} from "./chunk-TPVHGI7Q.js";
|
|
10
|
-
import {
|
|
11
|
-
MatrixCluster
|
|
12
|
-
} from "./chunk-DDKS3MV3.js";
|
|
13
|
-
import {
|
|
14
|
-
getSorterUi
|
|
15
|
-
} from "./chunk-TOYMIFHN.js";
|
|
16
|
-
import {
|
|
17
|
-
matrix_data_exports
|
|
18
|
-
} from "./chunk-DCR4QQ5Y.js";
|
|
19
|
-
import {
|
|
20
|
-
matrix_layout_exports
|
|
21
|
-
} from "./chunk-SZHFBRRT.js";
|
|
22
|
-
import {
|
|
23
|
-
matrix_serieses_exports
|
|
24
|
-
} from "./chunk-CLTRQZGJ.js";
|
|
25
|
-
import {
|
|
26
|
-
matrix_legend_exports
|
|
27
|
-
} from "./chunk-IQVBMLFI.js";
|
|
28
|
-
import {
|
|
29
|
-
setMatrixDom
|
|
30
|
-
} from "./chunk-HUBO743S.js";
|
|
31
|
-
import {
|
|
32
|
-
setInteractivity
|
|
33
|
-
} from "./chunk-KW7MKBGF.js";
|
|
34
|
-
import {
|
|
35
|
-
GeneSetEditUI,
|
|
36
|
-
GeneSetEditUIwithTabs,
|
|
37
|
-
PlotBase,
|
|
38
|
-
TwRouter,
|
|
39
|
-
fillTermWrapper,
|
|
40
|
-
get$id,
|
|
41
|
-
getCombinedTermFilter,
|
|
42
|
-
getGEunit,
|
|
43
|
-
initByInput,
|
|
44
|
-
make_one_checkbox,
|
|
45
|
-
make_radios,
|
|
46
|
-
rebaseGroupFilter,
|
|
47
|
-
routedTermTypes,
|
|
48
|
-
sayerror,
|
|
49
|
-
svgLegend,
|
|
50
|
-
svgScroll,
|
|
51
|
-
to_svg,
|
|
52
|
-
zoom
|
|
53
|
-
} from "./chunk-K6OVOHIZ.js";
|
|
54
|
-
import {
|
|
55
|
-
Menu
|
|
56
|
-
} from "./chunk-HYOEWQ5P.js";
|
|
57
|
-
import {
|
|
58
|
-
icons
|
|
59
|
-
} from "./chunk-IIT367QZ.js";
|
|
60
|
-
import {
|
|
61
|
-
isNumericTerm
|
|
62
|
-
} from "./chunk-X6VTVZY7.js";
|
|
63
|
-
import {
|
|
64
|
-
copyMerge,
|
|
65
|
-
deepEqual,
|
|
66
|
-
getCompInit
|
|
67
|
-
} from "./chunk-M3J4MINX.js";
|
|
68
|
-
import {
|
|
69
|
-
TermTypes,
|
|
70
|
-
dt2label,
|
|
71
|
-
dtcnv,
|
|
72
|
-
dtfusionrna,
|
|
73
|
-
dtsnvindel,
|
|
74
|
-
dtsv,
|
|
75
|
-
mclass,
|
|
76
|
-
morigin
|
|
77
|
-
} from "./chunk-GEQUQ3GG.js";
|
|
78
|
-
import {
|
|
79
|
-
convertUnits
|
|
80
|
-
} from "./chunk-75T7ESEO.js";
|
|
81
|
-
import {
|
|
82
|
-
select_default
|
|
83
|
-
} from "./chunk-I6Y4O3RR.js";
|
|
84
|
-
|
|
85
|
-
// plots/matrix/matrix.controls.samples.ts
|
|
86
|
-
function setSamplesBtn(self2, s) {
|
|
87
|
-
const l = s.controlLabels;
|
|
88
|
-
const controls = self2;
|
|
89
|
-
const parent = self2.parent;
|
|
90
|
-
const rows = [
|
|
91
|
-
{
|
|
92
|
-
label: `Maximum # ${l.Samples}`,
|
|
93
|
-
title: `Limit the number of displayed ${l.samples}`,
|
|
94
|
-
type: "number",
|
|
95
|
-
chartType: "matrix",
|
|
96
|
-
settingsKey: "maxSample",
|
|
97
|
-
getDisplayStyle(plot) {
|
|
98
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
label: `Sort ${l.Sample} Groups`,
|
|
103
|
-
title: `Set how to sort ${l.sample} groups`,
|
|
104
|
-
type: "radio",
|
|
105
|
-
chartType: "matrix",
|
|
106
|
-
settingsKey: "sortSampleGrpsBy",
|
|
107
|
-
options: [
|
|
108
|
-
{
|
|
109
|
-
label: "Predefined or Group Name",
|
|
110
|
-
value: "name",
|
|
111
|
-
title: `Sort by group name`
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
label: `${l.Sample} Count`,
|
|
115
|
-
value: "sampleCount",
|
|
116
|
-
title: `Sort by the number of samples in the group`
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
label: `Hits`,
|
|
120
|
-
value: "hits",
|
|
121
|
-
title: `Sort by the total number of variants for every ${l.sample} in the group`
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
getDisplayStyle(plot) {
|
|
125
|
-
return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
label: `${l.Sample} Group Label Character Limit`,
|
|
130
|
-
title: `Truncate the ${l.sample} group label if it exceeds this maximum number of characters`,
|
|
131
|
-
type: "number",
|
|
132
|
-
chartType: "matrix",
|
|
133
|
-
settingsKey: "sampleGrpLabelMaxChars",
|
|
134
|
-
getDisplayStyle(plot) {
|
|
135
|
-
return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
label: `${l.Sample} Label Character Limit`,
|
|
140
|
-
title: `Truncate the ${l.sample} label if it exceeds this maximum number of characters`,
|
|
141
|
-
type: "number",
|
|
142
|
-
chartType: "matrix",
|
|
143
|
-
settingsKey: "collabelmaxchars"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
label: `Toggle sample labels`,
|
|
147
|
-
title: `Do not automatically show sample labels based on column width`,
|
|
148
|
-
type: "radio",
|
|
149
|
-
chartType: "matrix",
|
|
150
|
-
settingsKey: "sampleLabelsToggle",
|
|
151
|
-
styles: { display: "inline-block" },
|
|
152
|
-
options: [
|
|
153
|
-
{ label: `Based on column width`, value: "auto" },
|
|
154
|
-
{ label: "Always hide", value: "hide" }
|
|
155
|
-
]
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
label: `Group ${l.Samples} By`,
|
|
159
|
-
title: `Select a variable with discrete values to group ${l.samples}`,
|
|
160
|
-
type: "term",
|
|
161
|
-
chartType: "matrix",
|
|
162
|
-
configKey: "divideBy",
|
|
163
|
-
vocabApi: self2.opts.app.vocabApi,
|
|
164
|
-
state: {
|
|
165
|
-
vocab: self2.opts.vocab
|
|
166
|
-
//activeCohort: appState.activeCohort
|
|
167
|
-
},
|
|
168
|
-
processInput: async (tw) => {
|
|
169
|
-
if (tw?.term && isNumericTerm(tw.term)) {
|
|
170
|
-
tw.q = { ...tw.q, mode: "discrete" };
|
|
171
|
-
}
|
|
172
|
-
if (tw) await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
173
|
-
return tw;
|
|
174
|
-
},
|
|
175
|
-
processConfig: (config) => {
|
|
176
|
-
if (self2.parent.chartType == "hierCluster" && config["divideBy"]) {
|
|
177
|
-
config.settings = {
|
|
178
|
-
hierCluster: {
|
|
179
|
-
yDendrogramHeight: 0,
|
|
180
|
-
clusterSamples: false
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
if (self2.parent.config.divideBy)
|
|
185
|
-
config.legendValueFilter = self2.parent.mayRemoveTvsEntry(self2.parent.config.divideBy);
|
|
186
|
-
},
|
|
187
|
-
getBodyParams: () => {
|
|
188
|
-
const currentGeneNames = self2.parent.termOrder.filter((t) => t.tw.term.type === "geneVariant").map(
|
|
189
|
-
(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
|
|
190
|
-
);
|
|
191
|
-
if (currentGeneNames.length) return { currentGeneNames };
|
|
192
|
-
return {};
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
];
|
|
196
|
-
rows.push({
|
|
197
|
-
label: `Sort ${l.Sample} Priority`,
|
|
198
|
-
title: `Set how to sort ${l.samples}`,
|
|
199
|
-
type: "custom",
|
|
200
|
-
// the "input" argument is created by controls
|
|
201
|
-
init(input) {
|
|
202
|
-
const m = parent.config.settings.matrix;
|
|
203
|
-
if (!controls.activeTab) controls.activeTab = "basic";
|
|
204
|
-
input.dom.inputTd.style("padding", "5px");
|
|
205
|
-
const btnsDiv = input.dom.inputTd.append("div").style("margin-bottom", "5px");
|
|
206
|
-
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", () => {
|
|
207
|
-
controls.activeTab = "basic";
|
|
208
|
-
basicBtn.style("text-decoration", "underline");
|
|
209
|
-
advancedBtn.style("text-decoration", "");
|
|
210
|
-
basicDiv.style("display", "");
|
|
211
|
-
advancedDiv.style("display", "none");
|
|
212
|
-
});
|
|
213
|
-
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", () => {
|
|
214
|
-
controls.activeTab = "advanced";
|
|
215
|
-
basicBtn.style("text-decoration", "");
|
|
216
|
-
advancedBtn.style("text-decoration", "underline");
|
|
217
|
-
basicDiv.style("display", "none");
|
|
218
|
-
advancedDiv.style("display", "");
|
|
219
|
-
});
|
|
220
|
-
const basicDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "basic" ? "" : "none");
|
|
221
|
-
const ssmDiv = basicDiv.append("div");
|
|
222
|
-
ssmDiv.append("span").html("SSM");
|
|
223
|
-
const { inputs } = make_radios({
|
|
224
|
-
// holder, options, callback, styles
|
|
225
|
-
holder: ssmDiv.append("span"),
|
|
226
|
-
options: [
|
|
227
|
-
{ label: "by consequence", value: "consequence", checked: m.sortByMutation === "consequence" },
|
|
228
|
-
{ label: "by presence", value: "presence", checked: m.sortByMutation === "presence" }
|
|
229
|
-
],
|
|
230
|
-
styles: {
|
|
231
|
-
display: "inline-block"
|
|
232
|
-
},
|
|
233
|
-
callback: (sortByMutation) => {
|
|
234
|
-
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
235
|
-
const activeOption = sortOptions.a;
|
|
236
|
-
const mutTb = activeOption.sortPriority[0].tiebreakers[1];
|
|
237
|
-
mutTb.disabled = !sortByMutation;
|
|
238
|
-
mutTb.isOrdered = sortByMutation === "consequence";
|
|
239
|
-
parent.app.dispatch({
|
|
240
|
-
type: "plot_edit",
|
|
241
|
-
id: parent.id,
|
|
242
|
-
config: {
|
|
243
|
-
settings: {
|
|
244
|
-
matrix: {
|
|
245
|
-
sortByMutation,
|
|
246
|
-
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
247
|
-
sortOptions
|
|
248
|
-
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
});
|
|
255
|
-
inputs.style("margin", "2px 0 0 2px").style("vertical-align", "top");
|
|
256
|
-
const cnvDiv = basicDiv.append("div").style("display", m.showMatrixCNV != "none" && !m.allMatrixCNVHidden ? "block" : "none");
|
|
257
|
-
cnvDiv.append("span").html("CNV");
|
|
258
|
-
const checkbox = make_one_checkbox({
|
|
259
|
-
holder: cnvDiv.append("span"),
|
|
260
|
-
divstyle: { display: "inline-block" },
|
|
261
|
-
checked: m.sortByCNV,
|
|
262
|
-
labeltext: "sort by CNV",
|
|
263
|
-
callback: () => {
|
|
264
|
-
const sortByCNV = checkbox.property("checked");
|
|
265
|
-
const sortOptions = parent.config.settings.matrix.sortOptions;
|
|
266
|
-
const activeOption = sortOptions.a;
|
|
267
|
-
const cnvTb = activeOption.sortPriority[0].tiebreakers[2];
|
|
268
|
-
cnvTb.disabled = !sortByCNV;
|
|
269
|
-
cnvTb.isOrdered = sortByCNV;
|
|
270
|
-
parent.app.dispatch({
|
|
271
|
-
type: "plot_edit",
|
|
272
|
-
id: parent.id,
|
|
273
|
-
config: {
|
|
274
|
-
settings: {
|
|
275
|
-
matrix: {
|
|
276
|
-
sortByCNV,
|
|
277
|
-
// needed to show the correct status for checkbox, but actual sorting behavior
|
|
278
|
-
sortOptions
|
|
279
|
-
// is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
});
|
|
286
|
-
const advancedDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "advanced" ? "" : "none");
|
|
287
|
-
input.dom.row.on("mouseover", function() {
|
|
288
|
-
this.style.backgroundColor = "#fff";
|
|
289
|
-
this.style.textShadow = "none";
|
|
290
|
-
});
|
|
291
|
-
if (!controls.sorterUi) {
|
|
292
|
-
controls.sorterUi = getSorterUi({
|
|
293
|
-
controls,
|
|
294
|
-
holder: advancedDiv,
|
|
295
|
-
tip: controls.parent.app.tip
|
|
296
|
-
});
|
|
297
|
-
} else {
|
|
298
|
-
controls.sorterUi.main(controls.parent.config.settings.matrix, { holder: advancedDiv });
|
|
299
|
-
}
|
|
300
|
-
return {
|
|
301
|
-
main: (plot) => {
|
|
302
|
-
const s2 = plot.settings.matrix;
|
|
303
|
-
inputs.property("checked", (d) => d.value == s2.sortByMutation);
|
|
304
|
-
checkbox.property("checked", s2.sortByCNV);
|
|
305
|
-
cnvDiv.style("display", s2.showMatrixCNV != "none" && !s2.allMatrixCNVHidden ? "block" : "none");
|
|
306
|
-
}
|
|
307
|
-
};
|
|
308
|
-
}
|
|
309
|
-
});
|
|
310
|
-
self2.opts.holder.append("button").datum({
|
|
311
|
-
label: l.Samples || `Samples`,
|
|
312
|
-
getCount: () => "sampleCount" in self2.overrides ? self2.overrides.sampleCount : self2.parent.sampleOrder?.length || 0,
|
|
313
|
-
rows,
|
|
314
|
-
customInputs: updateSamplesControls
|
|
315
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
316
|
-
}
|
|
317
|
-
function updateSamplesControls(self2, app, parent, table) {
|
|
318
|
-
if (parent.chartType == "hierCluster" && parent.config.settings.hierCluster.clusterSamples) {
|
|
319
|
-
const l = parent.config.settings.matrix.controlLabels;
|
|
320
|
-
const sortingControl = select_default(
|
|
321
|
-
table.selectAll("td").filter(function() {
|
|
322
|
-
return select_default(this).text() == `Sort ${l.Sample} Priority`;
|
|
323
|
-
}).node().closest("tr")
|
|
324
|
-
);
|
|
325
|
-
sortingControl.style("display", "none");
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
// plots/matrix/matrix.controls.genes.ts
|
|
330
|
-
var tip = new Menu({ padding: "" });
|
|
331
|
-
function setGenesBtn(self2, s) {
|
|
332
|
-
const l = s.controlLabels;
|
|
333
|
-
const renderStyleOptions = [
|
|
334
|
-
{
|
|
335
|
-
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>`,
|
|
336
|
-
value: "",
|
|
337
|
-
title: `Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
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>`,
|
|
341
|
-
value: "oncoprint",
|
|
342
|
-
title: `Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
|
|
343
|
-
}
|
|
344
|
-
];
|
|
345
|
-
if (s.addMutationCNVButtons && self2.parent.chartType !== "hierCluster")
|
|
346
|
-
renderStyleOptions.unshift({
|
|
347
|
-
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>`,
|
|
348
|
-
value: "single",
|
|
349
|
-
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`
|
|
350
|
-
});
|
|
351
|
-
self2.opts.holder.append("button").datum({
|
|
352
|
-
label: "Genes",
|
|
353
|
-
getCount: () => self2.parent.termOrder?.filter(
|
|
354
|
-
(t) => t.tw.term.type == TermTypes.GENE_VARIANT || t.tw.term.type == TermTypes.GENE_EXPRESSION
|
|
355
|
-
).length || 0,
|
|
356
|
-
customInputs: addGeneInputs,
|
|
357
|
-
rows: [
|
|
358
|
-
{
|
|
359
|
-
label: `Display ${l.Sample} Counts for Gene`,
|
|
360
|
-
title: `Include the ${l.sample} count in the gene label`,
|
|
361
|
-
type: "radio",
|
|
362
|
-
chartType: "matrix",
|
|
363
|
-
settingsKey: "samplecount4gene",
|
|
364
|
-
styles: { display: "inline-block" },
|
|
365
|
-
options: [
|
|
366
|
-
{ label: "Absolute", value: "abs" },
|
|
367
|
-
{ label: `Percent`, value: "pct" },
|
|
368
|
-
{ label: `None`, value: "" }
|
|
369
|
-
],
|
|
370
|
-
getDisplayStyle() {
|
|
371
|
-
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
372
|
-
}
|
|
373
|
-
},
|
|
374
|
-
// TODO: implement this contol option
|
|
375
|
-
// {
|
|
376
|
-
// label: `Exclude From ${l.Sample} Displayed Counts`,
|
|
377
|
-
// title: `Do not include these variations/mutations when counting samples for a gene.`,
|
|
378
|
-
// type: 'text',
|
|
379
|
-
// chartType: 'matrix',
|
|
380
|
-
// settingsKey: 'geneVariantCountSamplesSkipMclass',
|
|
381
|
-
// processInput: tw => {},
|
|
382
|
-
// },
|
|
383
|
-
{
|
|
384
|
-
label: "Genomic Alterations Rendering",
|
|
385
|
-
title: `Set how to indicate a ${l.sample}'s applicable variant types in the same matrix cell`,
|
|
386
|
-
type: "radio",
|
|
387
|
-
chartType: "matrix",
|
|
388
|
-
settingsKey: "cellEncoding",
|
|
389
|
-
options: renderStyleOptions,
|
|
390
|
-
styles: { padding: "5px 0px", margin: 0 },
|
|
391
|
-
labelDisplay: "block",
|
|
392
|
-
getDisplayStyle() {
|
|
393
|
-
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
394
|
-
},
|
|
395
|
-
callback: self2.parent.geneStyleControlCallback
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
label: "Sort Genes",
|
|
399
|
-
title: "Set how to order the genes as rows",
|
|
400
|
-
type: "radio",
|
|
401
|
-
chartType: "matrix",
|
|
402
|
-
settingsKey: "sortTermsBy",
|
|
403
|
-
options: [
|
|
404
|
-
{ label: "By Input Data Order", value: "asListed" },
|
|
405
|
-
{ label: `By ${l.sample} Count`, value: "sampleCount" }
|
|
406
|
-
],
|
|
407
|
-
styles: { padding: 0, "padding-right": "10px", margin: 0, display: "inline-block" },
|
|
408
|
-
getDisplayStyle() {
|
|
409
|
-
return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
]
|
|
413
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
414
|
-
}
|
|
415
|
-
async function addGeneInputs(self2, app, parent, table) {
|
|
416
|
-
if (parent.chartType == "hierCluster" && parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
417
|
-
appendGeneInputs(self2, app, parent, table, "hierCluster");
|
|
418
|
-
}
|
|
419
|
-
if (parent.state?.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || parent.state.termdbConfig.queries.snvindel)
|
|
420
|
-
appendGeneInputs(self2, app, parent, table);
|
|
421
|
-
}
|
|
422
|
-
async function appendGeneInputs(self2, app, parent, table, geneInputType) {
|
|
423
|
-
tip.clear();
|
|
424
|
-
if (!parent.selectedGroup) parent.selectedGroup = 0;
|
|
425
|
-
if (parent.opts.customInputs?.genes) {
|
|
426
|
-
for (const inputConfig of parent.opts.customInputs.genes) {
|
|
427
|
-
inputConfig.chartType = "matrix";
|
|
428
|
-
const holder = table.append("tr");
|
|
429
|
-
if (inputConfig.title) holder.attr("aria-label", inputConfig.title);
|
|
430
|
-
const input = await initByInput[inputConfig.type](
|
|
431
|
-
Object.assign(
|
|
432
|
-
{},
|
|
433
|
-
{
|
|
434
|
-
holder,
|
|
435
|
-
app,
|
|
436
|
-
id: parent.id,
|
|
437
|
-
debug: self2.opts.debug,
|
|
438
|
-
parent
|
|
439
|
-
},
|
|
440
|
-
inputConfig
|
|
441
|
-
)
|
|
442
|
-
);
|
|
443
|
-
input.main(parent.config);
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
let geneInputTr;
|
|
447
|
-
if (geneInputType == "hierCluster" || parent.chartType !== "hierCluster") {
|
|
448
|
-
geneInputTr = table.insert("tr", () => table.select("tr").node());
|
|
449
|
-
} else {
|
|
450
|
-
const secondTr = table.selectAll("tr").nodes()[1] || null;
|
|
451
|
-
const hrTr = table.insert("tr", () => secondTr);
|
|
452
|
-
hrTr.append("td").attr("colspan", 2).append("hr").style("border", "1px solid #ccc");
|
|
453
|
-
geneInputTr = table.insert("tr", () => secondTr);
|
|
454
|
-
}
|
|
455
|
-
addGenesetInput(self2, app, parent, geneInputTr, geneInputType);
|
|
456
|
-
}
|
|
457
|
-
function addGenesetInput(self2, app, parent, tr, geneInputType) {
|
|
458
|
-
const controlPanelBtn = self2.btns.filter((d) => d.label.endsWith("Genes"))?.node();
|
|
459
|
-
const tip3 = app.tip;
|
|
460
|
-
const tg = parent.config.termgroups;
|
|
461
|
-
const { maxGenes, genesetEditUiVersion } = parent.settings?.matrix || parent.config?.settings?.matrix || {};
|
|
462
|
-
let selectedGroup;
|
|
463
|
-
const triggerGenesetEdit = (holder) => {
|
|
464
|
-
holder.selectAll("*").remove();
|
|
465
|
-
const geneList = selectedGroup.lst.map((item) => {
|
|
466
|
-
return { gene: item.name };
|
|
467
|
-
});
|
|
468
|
-
const genesetUi = genesetEditUiVersion === "withTabs" ? GeneSetEditUIwithTabs : GeneSetEditUI;
|
|
469
|
-
new genesetUi({
|
|
470
|
-
holder,
|
|
471
|
-
genome: app.opts.genome,
|
|
472
|
-
geneList,
|
|
473
|
-
// Remove the GFF Loads Gene Sets option from unclustered genes panel.
|
|
474
|
-
customInputs: parent.chartType !== "hierCluster" || geneInputType == "hierCluster" ? self2.parent.opts.customInputs?.geneset : void 0,
|
|
475
|
-
/* running hier clustering and the editing group is the group used for clustering
|
|
476
|
-
pass this mode value to inform ui to support the optional button "top variably exp gene"
|
|
477
|
-
this is hardcoded for the purpose of gene expression and should be improved
|
|
478
|
-
*/
|
|
479
|
-
mode: selectedGroup.mode,
|
|
480
|
-
minNumGenes: selectedGroup.mode == "geneExpression" ? 3 : 1,
|
|
481
|
-
maxNumGenes: maxGenes,
|
|
482
|
-
vocabApi: self2.opts.app.vocabApi,
|
|
483
|
-
callback: async ({ geneList: geneList2, groupName }) => {
|
|
484
|
-
if (!selectedGroup) throw `missing selectedGroup`;
|
|
485
|
-
tip3.hide();
|
|
486
|
-
const group = selectedGroup.status == "new" ? { name: groupName, lst: [] } : tg[selectedGroup.index];
|
|
487
|
-
if (selectedGroup.status == "new") tg.push(group);
|
|
488
|
-
const targetTermType = selectedGroup.mode == "geneExpression" ? "geneExpression" : "geneVariant";
|
|
489
|
-
const lst = group.lst.filter((tw) => tw.term.type != targetTermType);
|
|
490
|
-
const tws = await Promise.all(
|
|
491
|
-
geneList2.map(async (d) => {
|
|
492
|
-
let term;
|
|
493
|
-
if (targetTermType == "geneExpression") {
|
|
494
|
-
const gene = d.symbol || d.gene;
|
|
495
|
-
const unit = getGEunit(app.vocabApi);
|
|
496
|
-
const name = `${gene} ${unit}`;
|
|
497
|
-
term = { gene, name, type: "geneExpression" };
|
|
498
|
-
} else {
|
|
499
|
-
term = {
|
|
500
|
-
gene: d.symbol || d.gene,
|
|
501
|
-
name: d.symbol || d.gene,
|
|
502
|
-
type: "geneVariant"
|
|
503
|
-
};
|
|
504
|
-
}
|
|
505
|
-
let tw = group.lst.find((t) => {
|
|
506
|
-
const geneName = t.term.gene || t.term.name;
|
|
507
|
-
const match = d.symbol ? geneName === d.symbol : d.gene ? geneName === d.gene : false;
|
|
508
|
-
return match && t.term.type == targetTermType;
|
|
509
|
-
});
|
|
510
|
-
if (!tw) {
|
|
511
|
-
tw = { term };
|
|
512
|
-
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
513
|
-
} else if (!tw.$id) {
|
|
514
|
-
tw.$id = await get$id(self2.opts.app.vocabApi.getTwMinCopy({ term }));
|
|
515
|
-
}
|
|
516
|
-
return tw;
|
|
517
|
-
})
|
|
518
|
-
);
|
|
519
|
-
group.lst = [...lst, ...tws];
|
|
520
|
-
if (!group.lst.length) tg.splice(selectedGroup.index, 1);
|
|
521
|
-
app.dispatch({
|
|
522
|
-
type: "plot_edit",
|
|
523
|
-
id: self2.parent.id,
|
|
524
|
-
config: {
|
|
525
|
-
termgroups: tg
|
|
526
|
-
}
|
|
527
|
-
});
|
|
528
|
-
},
|
|
529
|
-
backBtn: {
|
|
530
|
-
target: "Genes Menu",
|
|
531
|
-
callback: () => {
|
|
532
|
-
controlPanelBtn.click();
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
termsAsListed: geneInputType == "hierCluster" && !self2.parent.config.settings.hierCluster.clusterRows || geneInputType != "hierCluster" && self2.parent.config.settings.matrix.sortTermsBy == "asListed"
|
|
536
|
-
});
|
|
537
|
-
};
|
|
538
|
-
const numOfEditableGrps = tg.filter((g) => g.type != "hierCluster").length;
|
|
539
|
-
tr.append("td").attr("class", "sja-termdb-config-row-label").html(geneInputType == "hierCluster" ? "Hierarchical Clustering Gene Set" : "Genomic Alteration Gene Set");
|
|
540
|
-
if (numOfEditableGrps > 0 || geneInputType == "hierCluster") {
|
|
541
|
-
const td1 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
542
|
-
const editGrpDiv = td1.append("div").append("label");
|
|
543
|
-
editGrpDiv.append("button").html(
|
|
544
|
-
numOfEditableGrps > 1 && geneInputType !== "hierCluster" ? "Edit Selected Group" : geneInputType == "hierCluster" ? "Edit Gene Set" : "Edit Current Group"
|
|
545
|
-
).on("click", () => {
|
|
546
|
-
tip3.clear();
|
|
547
|
-
setMenuBackBtn(tip3.d.append("div").style("padding", "5px"), () => controlPanelBtn.click(), `Back`);
|
|
548
|
-
const genesetEdiUiHolder = tip3.d.append("div");
|
|
549
|
-
triggerGenesetEdit(genesetEdiUiHolder);
|
|
550
|
-
});
|
|
551
|
-
if (numOfEditableGrps > 1 && geneInputType !== "hierCluster") {
|
|
552
|
-
const { nonHierClusterGroups, groupSelect } = setTermGroupSelector(self2, editGrpDiv, tg);
|
|
553
|
-
selectedGroup = nonHierClusterGroups.find((g) => g.selected);
|
|
554
|
-
groupSelect.on("change", () => {
|
|
555
|
-
selectedGroup = nonHierClusterGroups[groupSelect.property("value")];
|
|
556
|
-
});
|
|
557
|
-
} else {
|
|
558
|
-
const s = parent.config.settings.hierCluster;
|
|
559
|
-
const g = geneInputType == "hierCluster" ? tg.find((g2) => g2.type == "hierCluster") : tg.find((g2) => g2.type != "hierCluster");
|
|
560
|
-
selectedGroup = {
|
|
561
|
-
index: geneInputType == "hierCluster" ? tg.findIndex((g2) => g2.type == "hierCluster") : tg[0].type == g.type ? 0 : 1,
|
|
562
|
-
name: g.name,
|
|
563
|
-
type: g.type,
|
|
564
|
-
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 })),
|
|
565
|
-
mode: g.type == "hierCluster" ? s.dataType : (
|
|
566
|
-
// !!subject to change!! when group is not clustering, and ds has mutation, defaults to MUTATION_CNV_FUSION
|
|
567
|
-
self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
568
|
-
),
|
|
569
|
-
selected: true
|
|
570
|
-
};
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
if (geneInputType == "hierCluster") {
|
|
574
|
-
return;
|
|
575
|
-
}
|
|
576
|
-
const td2 = tr.append("td").style("display", "block").style("padding", "5px 0px");
|
|
577
|
-
const createNewGrpDiv = td2.append("div").append("label");
|
|
578
|
-
const createBtn = createNewGrpDiv.append("button").html("Create New Group").property("disabled", true).on("click", () => {
|
|
579
|
-
tip3.clear();
|
|
580
|
-
setMenuBackBtn(tip3.d.append("div"), () => controlPanelBtn.click(), "Back");
|
|
581
|
-
const name = nameInput.property("value");
|
|
582
|
-
selectedGroup = {
|
|
583
|
-
index: tg.length,
|
|
584
|
-
name,
|
|
585
|
-
label: name,
|
|
586
|
-
lst: [],
|
|
587
|
-
status: "new",
|
|
588
|
-
mode: parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
|
|
589
|
-
};
|
|
590
|
-
triggerGenesetEdit(tip3.d.append("div"));
|
|
591
|
-
});
|
|
592
|
-
const nameInput = createNewGrpDiv.append("input").style("margin", "2px 5px").style("width", "210px").attr("placeholder", "Group Name").on("input", () => {
|
|
593
|
-
createBtn.property("disabled", !nameInput.property("value"));
|
|
594
|
-
}).on("keyup", (event) => {
|
|
595
|
-
if (event.key == "Enter" && !createBtn.property("disabled")) {
|
|
596
|
-
createBtn.node().click();
|
|
597
|
-
}
|
|
598
|
-
});
|
|
599
|
-
}
|
|
600
|
-
function setMenuBackBtn(holder, callback, label) {
|
|
601
|
-
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) => {
|
|
602
|
-
if (event.key == "Enter") event.target.click();
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
function setTermGroupSelector(self2, holder, tg) {
|
|
606
|
-
const firstGrpWithGeneTw = tg.find(
|
|
607
|
-
(g) => g.lst.find((tw) => tw.term.type == TermTypes.GENE_VARIANT && g.type !== "hierCluster")
|
|
608
|
-
);
|
|
609
|
-
const groups = tg.map((g, index) => {
|
|
610
|
-
return {
|
|
611
|
-
index,
|
|
612
|
-
name: g.name,
|
|
613
|
-
type: g.type,
|
|
614
|
-
lst: g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
|
|
615
|
-
mode: self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : "",
|
|
616
|
-
selected: g === firstGrpWithGeneTw
|
|
617
|
-
};
|
|
618
|
-
});
|
|
619
|
-
const nonHierClusterGroups = groups.filter((g) => g.type != "hierCluster");
|
|
620
|
-
const groupSelect = holder.append("select").style("width", "218px").style("margin", "2px 5px");
|
|
621
|
-
for (const [i, group] of nonHierClusterGroups.entries()) {
|
|
622
|
-
if (group.label) continue;
|
|
623
|
-
if (group.name) group.label = group.name;
|
|
624
|
-
else group.label = `Unlabeled group #${i + 1}`;
|
|
625
|
-
}
|
|
626
|
-
groupSelect.selectAll("option").data(nonHierClusterGroups).enter().append("option").property("selected", (grp) => grp.selected).attr("value", (d, i) => i).html((grp) => grp.label);
|
|
627
|
-
return { nonHierClusterGroups, groupSelect };
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
// plots/matrix/matrix.controls.variables.ts
|
|
631
|
-
var tip2 = new Menu({ padding: "" });
|
|
632
|
-
function setVariablesBtn(self2, s) {
|
|
633
|
-
self2.opts.holder.append("button").datum({
|
|
634
|
-
label: s.controlLabels.Terms || `Variables`,
|
|
635
|
-
//getCount: () => self.parent.termOrder.filter(t => t.tw.term.type != 'geneVariant').length.length,
|
|
636
|
-
rows: [
|
|
637
|
-
{
|
|
638
|
-
label: `Row Group Label Max Length`,
|
|
639
|
-
title: `Truncate the row group label if it exceeds this maximum number of characters`,
|
|
640
|
-
type: "number",
|
|
641
|
-
chartType: "matrix",
|
|
642
|
-
settingsKey: "termGrpLabelMaxChars"
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
label: `Row Label Max Length`,
|
|
646
|
-
title: `Truncate the row label if it exceeds this maximum number of characters`,
|
|
647
|
-
type: "number",
|
|
648
|
-
chartType: "matrix",
|
|
649
|
-
settingsKey: "rowlabelmaxchars"
|
|
650
|
-
}
|
|
651
|
-
],
|
|
652
|
-
customInputs: appendDictInputs
|
|
653
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
654
|
-
}
|
|
655
|
-
function appendDictInputs(self2, app, parent) {
|
|
656
|
-
tip2.clear();
|
|
657
|
-
if (!parent.selectedGroup) parent.selectedGroup = parent.chartType == "hierCluster" ? 1 : 0;
|
|
658
|
-
app.tip.d.append("hr");
|
|
659
|
-
addDictMenu(self2, app, parent, app.tip.d.append("div"));
|
|
660
|
-
}
|
|
661
|
-
async function addDictMenu(self2, app, parent, holder = void 0) {
|
|
662
|
-
const termdb = await import("./app-HJSPIKRQ.js");
|
|
663
|
-
termdb.appInit({
|
|
664
|
-
holder: holder || app.tip.d,
|
|
665
|
-
vocabApi: self2.parent.app.vocabApi,
|
|
666
|
-
focus: "off",
|
|
667
|
-
state: {
|
|
668
|
-
vocab: self2.parent.state.vocab,
|
|
669
|
-
activeCohort: self2.parent.activeCohort,
|
|
670
|
-
nav: {
|
|
671
|
-
header_mode: "search_only"
|
|
672
|
-
},
|
|
673
|
-
tree: {
|
|
674
|
-
usecase: { target: "matrix", detail: "termgroups" }
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
|
-
tree: {
|
|
678
|
-
submit_lst: (termlst) => {
|
|
679
|
-
submitLst(self2, termlst);
|
|
680
|
-
app.tip.hide();
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
search: {
|
|
684
|
-
focus: "off"
|
|
685
|
-
}
|
|
686
|
-
});
|
|
687
|
-
}
|
|
688
|
-
async function submitLst(self2, termlst) {
|
|
689
|
-
const newterms = await Promise.all(
|
|
690
|
-
termlst.map(async (_term) => {
|
|
691
|
-
const term = structuredClone(_term);
|
|
692
|
-
const tw = "id" in term ? { id: term.id, term } : { term };
|
|
693
|
-
await fillTermWrapper(tw, self2.opts.app.vocabApi);
|
|
694
|
-
return tw;
|
|
695
|
-
})
|
|
696
|
-
);
|
|
697
|
-
const termgroups = structuredClone(self2.parent.config.termgroups);
|
|
698
|
-
const i = termgroups.findIndex((g) => g.name == "Variables");
|
|
699
|
-
if (i !== -1) {
|
|
700
|
-
const grp = termgroups[i];
|
|
701
|
-
grp.lst.push(...newterms);
|
|
702
|
-
self2.parent.app.dispatch({
|
|
703
|
-
type: "plot_nestedEdits",
|
|
704
|
-
id: self2.parent.id,
|
|
705
|
-
edits: [
|
|
706
|
-
{
|
|
707
|
-
nestedKeys: ["termgroups", i, "lst"],
|
|
708
|
-
value: grp.lst
|
|
709
|
-
}
|
|
710
|
-
]
|
|
711
|
-
});
|
|
712
|
-
} else {
|
|
713
|
-
const grp = { name: "Variables", lst: newterms };
|
|
714
|
-
termgroups.push(grp);
|
|
715
|
-
self2.parent.app.dispatch({
|
|
716
|
-
type: "plot_edit",
|
|
717
|
-
id: self2.parent.id,
|
|
718
|
-
config: { termgroups }
|
|
719
|
-
});
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
// plots/matrix/matrix.controls.dimensions.ts
|
|
724
|
-
function setDimensionsBtn(self2, s) {
|
|
725
|
-
const l = s.controlLabels;
|
|
726
|
-
self2.opts.holder.append("button").datum({
|
|
727
|
-
label: "Cell Layout",
|
|
728
|
-
tables: [
|
|
729
|
-
{
|
|
730
|
-
rows: [
|
|
731
|
-
{
|
|
732
|
-
label: "Grid",
|
|
733
|
-
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.",
|
|
734
|
-
type: "checkbox",
|
|
735
|
-
boxLabel: "show",
|
|
736
|
-
// v===true means property('checked') and convert to recognized 'rect' value for dispatch
|
|
737
|
-
// otherwise, compared value to 'rect' to set the current value of the checkbox
|
|
738
|
-
// note: the non-boolean showGrid values allow keeping the hidden value='pattern' option for benchmark tests
|
|
739
|
-
processInput: (v) => v === true ? "rect" : v === "rect",
|
|
740
|
-
chartType: "matrix",
|
|
741
|
-
settingsKey: "showGrid",
|
|
742
|
-
colspan: 2,
|
|
743
|
-
align: "center"
|
|
744
|
-
// for testing/benchmarking
|
|
745
|
-
// type: 'radio',
|
|
746
|
-
// options: [
|
|
747
|
-
// {
|
|
748
|
-
// label: 'hide',
|
|
749
|
-
// value: ''
|
|
750
|
-
// },
|
|
751
|
-
// {
|
|
752
|
-
// label: 'lines',
|
|
753
|
-
// value: 'pattern' // needs debugging for when s.rowh or d.colw does not apply to all rows
|
|
754
|
-
// },
|
|
755
|
-
// {
|
|
756
|
-
// label: 'rect',
|
|
757
|
-
// value: 'rect'
|
|
758
|
-
// }
|
|
759
|
-
// ]
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
label: "Outline Color",
|
|
763
|
-
title: "Set a border color for the whole matrix",
|
|
764
|
-
type: "color",
|
|
765
|
-
chartType: "matrix",
|
|
766
|
-
settingsKey: "outlineStroke",
|
|
767
|
-
colspan: 2,
|
|
768
|
-
align: "center"
|
|
769
|
-
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
label: "Beam Color",
|
|
773
|
-
title: "Set a color for the beam highlighter",
|
|
774
|
-
type: "color",
|
|
775
|
-
chartType: "matrix",
|
|
776
|
-
settingsKey: "beamStroke",
|
|
777
|
-
colspan: 2,
|
|
778
|
-
align: "center"
|
|
779
|
-
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
label: "Grid Line Color",
|
|
783
|
-
title: "Set the grid color, equivalent to applying the same border color for each matrix cell",
|
|
784
|
-
type: "color",
|
|
785
|
-
chartType: "matrix",
|
|
786
|
-
settingsKey: "gridStroke",
|
|
787
|
-
colspan: 2,
|
|
788
|
-
align: "center"
|
|
789
|
-
//getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
label: "Background Color",
|
|
793
|
-
title: `Set the background color when there are no alterations or annotation data for a ${l.sample}`,
|
|
794
|
-
type: "color",
|
|
795
|
-
chartType: "matrix",
|
|
796
|
-
settingsKey: "cellbg",
|
|
797
|
-
colspan: 2,
|
|
798
|
-
align: "center"
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
label: `Use Canvas If # ${l.sample} Exceeds`,
|
|
802
|
-
title: `Switch from SVG to canvas rendering when the number of ${l.samples} exceeds this number`,
|
|
803
|
-
type: "number",
|
|
804
|
-
chartType: "matrix",
|
|
805
|
-
settingsKey: "svgCanvasSwitch",
|
|
806
|
-
colspan: 2,
|
|
807
|
-
align: "center",
|
|
808
|
-
width: 60,
|
|
809
|
-
min: 0,
|
|
810
|
-
max: 1e4,
|
|
811
|
-
step: 1
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
label: "Canvas Min. Pixel Width",
|
|
815
|
-
title: "Set a minimum pixel width for a matrix cell when using canvas, may affect the perceived sharpness of the canvas image",
|
|
816
|
-
type: "checkbox",
|
|
817
|
-
boxLabel: "apply",
|
|
818
|
-
chartType: "matrix",
|
|
819
|
-
settingsKey: "useMinPixelWidth",
|
|
820
|
-
colspan: 2,
|
|
821
|
-
align: "center",
|
|
822
|
-
getDisplayStyle: () => self2.parent.settings.matrix.useCanvas ? "" : "none"
|
|
823
|
-
}
|
|
824
|
-
]
|
|
825
|
-
},
|
|
826
|
-
{
|
|
827
|
-
header: ["Cells", "Columns", "Rows"],
|
|
828
|
-
rows: [
|
|
829
|
-
{
|
|
830
|
-
label: "Row Height",
|
|
831
|
-
title: "Set the height of a matrix row",
|
|
832
|
-
type: "number",
|
|
833
|
-
width: 50,
|
|
834
|
-
align: "center",
|
|
835
|
-
chartType: "matrix",
|
|
836
|
-
inputs: [{ label: "N/A" }, { settingsKey: "rowh", min: 8, max: 30, step: 1 }],
|
|
837
|
-
getDisplayStyle(plot) {
|
|
838
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
839
|
-
}
|
|
840
|
-
},
|
|
841
|
-
{
|
|
842
|
-
label: "Min Col. Width",
|
|
843
|
-
title: "Set the minimum width of the auto-computed matrix column width",
|
|
844
|
-
type: "number",
|
|
845
|
-
width: 50,
|
|
846
|
-
align: "center",
|
|
847
|
-
chartType: "matrix",
|
|
848
|
-
inputs: [{ settingsKey: "colwMin", min: 0.1, max: 16, step: 0.2 }, { label: "N/A" }]
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
label: "Max Col. Width",
|
|
852
|
-
title: "Set the maximum width of the auto-computed matrix column width",
|
|
853
|
-
type: "number",
|
|
854
|
-
width: 50,
|
|
855
|
-
align: "center",
|
|
856
|
-
chartType: "matrix",
|
|
857
|
-
inputs: [{ settingsKey: "colwMax", min: 1, max: 24, step: 0.2 }, { label: "N/A" }]
|
|
858
|
-
},
|
|
859
|
-
{
|
|
860
|
-
label: "Spacing",
|
|
861
|
-
title: "Set the column spacing. Note that this will be set to 0 when the auto-computed width < 2.",
|
|
862
|
-
type: "number",
|
|
863
|
-
width: 50,
|
|
864
|
-
align: "center",
|
|
865
|
-
chartType: "matrix",
|
|
866
|
-
inputs: [
|
|
867
|
-
{ settingsKey: "colspace", min: 0, max: 20, step: 1 },
|
|
868
|
-
{ settingsKey: "rowspace", min: 0, max: 20, step: 1 }
|
|
869
|
-
],
|
|
870
|
-
getDisplayStyle(plot) {
|
|
871
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
label: "Group spacing",
|
|
876
|
-
title: "Set the spacing between column and row groups.",
|
|
877
|
-
type: "number",
|
|
878
|
-
width: 50,
|
|
879
|
-
align: "center",
|
|
880
|
-
chartType: "matrix",
|
|
881
|
-
inputs: [
|
|
882
|
-
self2.parent.chartType == "hierCluster" ? { label: "N/A" } : { settingsKey: "colgspace", min: 0, max: 20, step: 1 },
|
|
883
|
-
{ settingsKey: "rowgspace", min: 0, max: 20, step: 1 }
|
|
884
|
-
]
|
|
885
|
-
}
|
|
886
|
-
]
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
header: ["Labels", "Columns", "Rows"],
|
|
890
|
-
rows: [
|
|
891
|
-
{
|
|
892
|
-
label: "Offset",
|
|
893
|
-
title: "Set the gap between the label text and matrix edge",
|
|
894
|
-
type: "number",
|
|
895
|
-
width: 50,
|
|
896
|
-
align: "center",
|
|
897
|
-
chartType: "matrix",
|
|
898
|
-
inputs: [
|
|
899
|
-
{ settingsKey: "collabelgap", min: 0, max: 20, step: 1 },
|
|
900
|
-
{ settingsKey: "rowlabelgap", min: 0, max: 20, step: 1 }
|
|
901
|
-
]
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
label: "Spacing",
|
|
905
|
-
title: "Set the gap between labels",
|
|
906
|
-
type: "number",
|
|
907
|
-
width: 50,
|
|
908
|
-
align: "center",
|
|
909
|
-
chartType: "matrix",
|
|
910
|
-
inputs: [
|
|
911
|
-
{ settingsKey: "collabelpad", min: 0, max: 20, step: 1 },
|
|
912
|
-
{ settingsKey: "rowlabelpad", min: 0, max: 20, step: 1 }
|
|
913
|
-
]
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
label: "Min font size",
|
|
917
|
-
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.",
|
|
918
|
-
type: "number",
|
|
919
|
-
width: 50,
|
|
920
|
-
align: "center",
|
|
921
|
-
colspan: 2,
|
|
922
|
-
chartType: "matrix",
|
|
923
|
-
settingsKey: "minLabelFontSize",
|
|
924
|
-
min: 0,
|
|
925
|
-
max: 24,
|
|
926
|
-
step: 0.1
|
|
927
|
-
},
|
|
928
|
-
{
|
|
929
|
-
label: "Max font size",
|
|
930
|
-
title: "Set the maximum auto-computed font size for labels",
|
|
931
|
-
type: "number",
|
|
932
|
-
width: 50,
|
|
933
|
-
align: "center",
|
|
934
|
-
colspan: 2,
|
|
935
|
-
chartType: "matrix",
|
|
936
|
-
settingsKey: "maxLabelFontSize",
|
|
937
|
-
min: 0,
|
|
938
|
-
max: 24,
|
|
939
|
-
step: 0.1
|
|
940
|
-
},
|
|
941
|
-
{
|
|
942
|
-
label: "Group label<br/>position",
|
|
943
|
-
title: "Set which side of the matrix to display group labels",
|
|
944
|
-
type: "radio",
|
|
945
|
-
width: 50,
|
|
946
|
-
chartType: "matrix",
|
|
947
|
-
labelDisplay: "block",
|
|
948
|
-
getDisplayStyle(plot) {
|
|
949
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
950
|
-
},
|
|
951
|
-
inputs: [
|
|
952
|
-
{
|
|
953
|
-
settingsKey: "collabelpos",
|
|
954
|
-
// switched since settings.collabelpos refers to the individual column label, not group
|
|
955
|
-
options: [
|
|
956
|
-
{ label: "Top", value: "bottom", title: `Display ${l.sample} group labels at the bottom` },
|
|
957
|
-
{ label: "Bottom", value: "top", title: `Display ${l.sample} group labels on top` }
|
|
958
|
-
]
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
settingsKey: "rowlabelpos",
|
|
962
|
-
// switched since settings.rowlabelpos refers to the individual column label, not group
|
|
963
|
-
options: [
|
|
964
|
-
{
|
|
965
|
-
label: "Left",
|
|
966
|
-
value: "right",
|
|
967
|
-
title: `Display gene or variable group labels on the left side`
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
label: "Right",
|
|
971
|
-
value: "left",
|
|
972
|
-
title: `Display gene or variable group labels on the right side`
|
|
973
|
-
}
|
|
974
|
-
]
|
|
975
|
-
}
|
|
976
|
-
]
|
|
977
|
-
}
|
|
978
|
-
]
|
|
979
|
-
}
|
|
980
|
-
]
|
|
981
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
// plots/matrix/matrix.controls.legend.ts
|
|
985
|
-
function setLegendBtn(self2) {
|
|
986
|
-
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
987
|
-
label: "Legend Layout",
|
|
988
|
-
rows: [
|
|
989
|
-
//ontop: false,
|
|
990
|
-
{
|
|
991
|
-
label: "Font Size",
|
|
992
|
-
title: "Set the font size for the legend text",
|
|
993
|
-
type: "number",
|
|
994
|
-
chartType: "legend",
|
|
995
|
-
settingsKey: "fontsize"
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
label: "Line Height",
|
|
999
|
-
title: "Set the line height for a legend group",
|
|
1000
|
-
type: "number",
|
|
1001
|
-
chartType: "legend",
|
|
1002
|
-
settingsKey: "lineh"
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
label: "Icon Height",
|
|
1006
|
-
title: "Set the icon height for a legend item",
|
|
1007
|
-
type: "number",
|
|
1008
|
-
chartType: "legend",
|
|
1009
|
-
settingsKey: "iconh"
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
label: "Icon Width",
|
|
1013
|
-
title: "Set the icon width for a legend item",
|
|
1014
|
-
type: "number",
|
|
1015
|
-
chartType: "legend",
|
|
1016
|
-
settingsKey: "iconw"
|
|
1017
|
-
},
|
|
1018
|
-
/*{
|
|
1019
|
-
label: 'Bottom margin',
|
|
1020
|
-
type: 'number',
|
|
1021
|
-
chartType: 'legend',
|
|
1022
|
-
settingsKey: 'padbtm'
|
|
1023
|
-
},*/
|
|
1024
|
-
{
|
|
1025
|
-
label: "Item Left Pad",
|
|
1026
|
-
title: "Set a left margin for each legend item",
|
|
1027
|
-
type: "number",
|
|
1028
|
-
chartType: "legend",
|
|
1029
|
-
settingsKey: "padx"
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
label: "Left Margin",
|
|
1033
|
-
title: "Set a left margin for the whole legend",
|
|
1034
|
-
type: "number",
|
|
1035
|
-
chartType: "legend",
|
|
1036
|
-
settingsKey: "padleft"
|
|
1037
|
-
},
|
|
1038
|
-
{
|
|
1039
|
-
label: "Left Indent",
|
|
1040
|
-
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.`,
|
|
1041
|
-
type: "number",
|
|
1042
|
-
chartType: "legend",
|
|
1043
|
-
settingsKey: "hangleft"
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
label: "Item Layout",
|
|
1047
|
-
title: "Option to separate each legend item into a new line, instead of a horizontal layout in the same line.",
|
|
1048
|
-
type: "checkbox",
|
|
1049
|
-
chartType: "legend",
|
|
1050
|
-
settingsKey: "linesep",
|
|
1051
|
-
boxLabel: "Line separated"
|
|
1052
|
-
}
|
|
1053
|
-
]
|
|
1054
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
// plots/matrix/matrix.controls.mutations.ts
|
|
1058
|
-
function setMutationBtn(self2) {
|
|
1059
|
-
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1060
|
-
label: "Mutation",
|
|
1061
|
-
updateBtn: (btn) => {
|
|
1062
|
-
const s = self2.parent.config.settings.matrix;
|
|
1063
|
-
btn.style("text-decoration", s.allMatrixMutationHidden ? "line-through" : "").style("text-decoration-thickness", s.allMatrixMutationHidden ? "2px" : "");
|
|
1064
|
-
},
|
|
1065
|
-
rows: [
|
|
1066
|
-
{
|
|
1067
|
-
title: `Show mutation options`,
|
|
1068
|
-
type: "radio",
|
|
1069
|
-
chartType: "matrix",
|
|
1070
|
-
settingsKey: "showMatrixMutation",
|
|
1071
|
-
options: [
|
|
1072
|
-
{ label: "Show all mutations", value: "all" },
|
|
1073
|
-
{ label: `Show only truncating mutations`, value: "onlyTruncating" },
|
|
1074
|
-
{ label: `Show only protein-changing mutations`, value: "onlyPC" },
|
|
1075
|
-
{ label: `Do not show mutations`, value: "none" },
|
|
1076
|
-
{ label: `Show selected mutation`, value: "bySelection" }
|
|
1077
|
-
],
|
|
1078
|
-
labelDisplay: "block",
|
|
1079
|
-
getDisplayStyle(plot) {
|
|
1080
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1081
|
-
},
|
|
1082
|
-
callback: self2.parent.mutationControlCallback
|
|
1083
|
-
}
|
|
1084
|
-
],
|
|
1085
|
-
customInputs: generateMutationItems
|
|
1086
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1087
|
-
}
|
|
1088
|
-
function generateMutationItems(self2, app, parent, table) {
|
|
1089
|
-
table.attr("class", null);
|
|
1090
|
-
const m = parent.config.settings.matrix;
|
|
1091
|
-
const cnvLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtcnv));
|
|
1092
|
-
if (m.showMatrixMutation !== "none" && (m.allMatrixCNVHidden || !cnvLegendGrp || cnvLegendGrp.crossedOut || !cnvLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1093
|
-
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1094
|
-
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1095
|
-
}
|
|
1096
|
-
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixMutation == "bySelection")
|
|
1097
|
-
parent.mutationControlCallback("bySelection");
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
// plots/matrix/matrix.controls.cnv.ts
|
|
1101
|
-
function setCNVBtn(self2) {
|
|
1102
|
-
self2.opts.holder.append("button").style("margin", "2px 0").datum({
|
|
1103
|
-
label: "CNV",
|
|
1104
|
-
updateBtn: (btn) => {
|
|
1105
|
-
const s = self2.parent.config.settings.matrix;
|
|
1106
|
-
const notRendered = s.allMatrixCNVHidden;
|
|
1107
|
-
btn.style("text-decoration", notRendered ? "line-through" : "").style("text-decoration-thickness", notRendered ? "2px" : "");
|
|
1108
|
-
},
|
|
1109
|
-
rows: [
|
|
1110
|
-
{
|
|
1111
|
-
title: `Show CNV options`,
|
|
1112
|
-
type: "radio",
|
|
1113
|
-
chartType: "matrix",
|
|
1114
|
-
settingsKey: "showMatrixCNV",
|
|
1115
|
-
options: [
|
|
1116
|
-
{ label: "Show all CNV", value: "all" },
|
|
1117
|
-
{ label: `Do not show CNV`, value: "none" },
|
|
1118
|
-
{ label: `Show selected CNV`, value: "bySelection" }
|
|
1119
|
-
],
|
|
1120
|
-
labelDisplay: "block",
|
|
1121
|
-
getDisplayStyle(plot) {
|
|
1122
|
-
return plot.chartType == "hierCluster" ? "none" : "table-row";
|
|
1123
|
-
},
|
|
1124
|
-
callback: self2.parent.CNVControlCallback
|
|
1125
|
-
}
|
|
1126
|
-
],
|
|
1127
|
-
customInputs: generateCNVItems
|
|
1128
|
-
}).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
|
|
1129
|
-
}
|
|
1130
|
-
function generateCNVItems(self2, app, parent, table) {
|
|
1131
|
-
table.attr("class", null);
|
|
1132
|
-
const m = parent.config.settings.matrix;
|
|
1133
|
-
const mutationLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtsnvindel));
|
|
1134
|
-
if (m.showMatrixCNV !== "none" && (m.allMatrixMutationHidden || !mutationLegendGrp || mutationLegendGrp.crossedOut || !mutationLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
|
|
1135
|
-
table.select("input[type='radio'][value='none']").property("disabled", true);
|
|
1136
|
-
table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
|
|
1137
|
-
}
|
|
1138
|
-
if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixCNV == "bySelection")
|
|
1139
|
-
parent.CNVControlCallback("bySelection");
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
// plots/matrix/matrix.controls.download.ts
|
|
1143
|
-
function setDownloadBtn(self2) {
|
|
1144
|
-
self2.opts.holder.append("button").style("margin", "2px 0").text("Download").on("focus", () => self2.parent.app.tip.hide()).on("click.sjpp-matrix-download", (event) => {
|
|
1145
|
-
const p = self2.parent;
|
|
1146
|
-
if (!p.dom.downloadMenu) p.dom.downloadMenu = new Menu({ padding: "" });
|
|
1147
|
-
const downloadMenu = p.dom.downloadMenu.clear();
|
|
1148
|
-
const div = downloadMenu.d.append("div");
|
|
1149
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`SVG image`).on("click.sjpp-matrix-download", () => {
|
|
1150
|
-
to_svg(self2.opts.getSvg(), "matrix", { apply_dom_styles: true });
|
|
1151
|
-
p.dom.downloadMenu.destroy();
|
|
1152
|
-
});
|
|
1153
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`TSV data`).on("click.sjpp-matrix-download", () => {
|
|
1154
|
-
const lst = p.data.lst;
|
|
1155
|
-
const allTerms = p.termOrder.map((t) => t.tw);
|
|
1156
|
-
const assayAvailability = p.state.termdbConfig.assayAvailability;
|
|
1157
|
-
const controlLabels = p.settings.matrix.controlLabels;
|
|
1158
|
-
if (p.config.divideBy?.id && !allTerms.find((a2) => a2.id == p.config.divideBy.id)) {
|
|
1159
|
-
allTerms.push(p.config.divideBy);
|
|
1160
|
-
}
|
|
1161
|
-
const activeSamples = [];
|
|
1162
|
-
for (const d of lst) {
|
|
1163
|
-
for (const tw of allTerms) {
|
|
1164
|
-
if (tw.$id in d) {
|
|
1165
|
-
activeSamples.push(d);
|
|
1166
|
-
break;
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
const header = [controlLabels.Sample];
|
|
1171
|
-
for (const tw of allTerms) header.push(tw.term.name);
|
|
1172
|
-
const rows = [header];
|
|
1173
|
-
for (const sample of activeSamples) {
|
|
1174
|
-
const row = [sample._ref_.label];
|
|
1175
|
-
for (const tw of allTerms) {
|
|
1176
|
-
if (!sample[tw.$id]) {
|
|
1177
|
-
row.push("");
|
|
1178
|
-
} else {
|
|
1179
|
-
if (tw.term.type == "geneVariant") {
|
|
1180
|
-
const allVariant = [];
|
|
1181
|
-
for (const v of sample[tw.$id].renderedValues) {
|
|
1182
|
-
const hasAssayAvailability = assayAvailability?.byDt?.[parseInt(v.dt)];
|
|
1183
|
-
if (v.dt == dtsnvindel) {
|
|
1184
|
-
allVariant.push(
|
|
1185
|
-
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.mname ? `,${v.mname}` : "")
|
|
1186
|
-
);
|
|
1187
|
-
} else if (v.dt == dtcnv) {
|
|
1188
|
-
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;
|
|
1189
|
-
allVariant.push(
|
|
1190
|
-
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + cnvValue
|
|
1191
|
-
);
|
|
1192
|
-
} else if (v.dt == dtfusionrna || v.dt == dtsv) {
|
|
1193
|
-
allVariant.push(
|
|
1194
|
-
(v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.gene && v.mname ? `(${v.gene}::${v.mname})` : "")
|
|
1195
|
-
);
|
|
1196
|
-
} else {
|
|
1197
|
-
allVariant.push(`DO NOT SUPPORT dt='${v.dt}'`);
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
row.push(allVariant.join("|"));
|
|
1201
|
-
} else if (tw.term.type == TermTypes.GENE_EXPRESSION || tw.term.type == TermTypes.METABOLITE_INTENSITY || tw.term.type == TermTypes.PROTEOME_ABUNDANCE) {
|
|
1202
|
-
row.push(sample[tw.$id]?.renderedValues?.[0]?.value || "");
|
|
1203
|
-
} else {
|
|
1204
|
-
row.push(sample[tw.$id]?.renderedValues?.[0] || sample[tw.$id]?.value || "");
|
|
1205
|
-
}
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
rows.push(row);
|
|
1209
|
-
}
|
|
1210
|
-
const matrix = rows.map((row) => row.join(" ")).join("\n");
|
|
1211
|
-
const a = document.createElement("a");
|
|
1212
|
-
document.body.appendChild(a);
|
|
1213
|
-
a.addEventListener(
|
|
1214
|
-
"click",
|
|
1215
|
-
function() {
|
|
1216
|
-
const currentDate = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
1217
|
-
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`;
|
|
1218
|
-
a.href = URL.createObjectURL(new Blob([matrix], { type: "text/tab-separated-values" }));
|
|
1219
|
-
document.body.removeChild(a);
|
|
1220
|
-
},
|
|
1221
|
-
false
|
|
1222
|
-
);
|
|
1223
|
-
a.click();
|
|
1224
|
-
p.dom.downloadMenu.destroy();
|
|
1225
|
-
});
|
|
1226
|
-
downloadMenu.showunder(event.target);
|
|
1227
|
-
});
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
// plots/matrix/matrix.zoomPanScroll.ts
|
|
1231
|
-
function setZoomInput(self2) {
|
|
1232
|
-
const holder = self2.opts.holder.append("div").style("display", "inline-block").style("margin-left", "50px");
|
|
1233
|
-
const s = self2.parent.settings.matrix || self2.parent.config.settings.matrix;
|
|
1234
|
-
self2.zoomApi = zoom({
|
|
1235
|
-
holder,
|
|
1236
|
-
title: "Zoom factor relative to the ideal column width, as computed for the number of columns versus available screen width",
|
|
1237
|
-
unit: "",
|
|
1238
|
-
width: "80px",
|
|
1239
|
-
settings: {
|
|
1240
|
-
min: 0.1,
|
|
1241
|
-
// will be determined once the auto-computed width is determined
|
|
1242
|
-
max: 1,
|
|
1243
|
-
// will be determined once the auto-computed width is determined
|
|
1244
|
-
value: 1,
|
|
1245
|
-
increment: s.zoomIncrement,
|
|
1246
|
-
step: s.zoomStep || 5
|
|
1247
|
-
},
|
|
1248
|
-
callback: (zoomLevel) => {
|
|
1249
|
-
const p = self2.parent;
|
|
1250
|
-
const c = p.getVisibleCenterCell(0);
|
|
1251
|
-
p.app.dispatch({
|
|
1252
|
-
type: "plot_edit",
|
|
1253
|
-
id: p.id,
|
|
1254
|
-
config: {
|
|
1255
|
-
settings: {
|
|
1256
|
-
matrix: {
|
|
1257
|
-
zoomLevel,
|
|
1258
|
-
zoomCenterPct: 0.5,
|
|
1259
|
-
zoomIndex: c.totalIndex,
|
|
1260
|
-
zoomGrpIndex: c.grpIndex
|
|
1261
|
-
}
|
|
1262
|
-
}
|
|
1263
|
-
}
|
|
1264
|
-
});
|
|
1265
|
-
},
|
|
1266
|
-
reset: () => {
|
|
1267
|
-
self2.parent.app.dispatch({
|
|
1268
|
-
type: "plot_edit",
|
|
1269
|
-
id: self2.parent.id,
|
|
1270
|
-
config: {
|
|
1271
|
-
settings: {
|
|
1272
|
-
matrix: {
|
|
1273
|
-
zoomLevel: 1,
|
|
1274
|
-
zoomCenterPct: 0
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
});
|
|
1279
|
-
}
|
|
1280
|
-
});
|
|
1281
|
-
}
|
|
1282
|
-
function setDragToggle(self2, opts = {}) {
|
|
1283
|
-
const defaults = {
|
|
1284
|
-
mouseMode: "select",
|
|
1285
|
-
activeBgColor: "rgb(255, 255, 255)"
|
|
1286
|
-
};
|
|
1287
|
-
opts.target.style("cursor", "default");
|
|
1288
|
-
const instance = {
|
|
1289
|
-
opts: Object.assign({}, defaults, opts),
|
|
1290
|
-
dom: {
|
|
1291
|
-
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")),
|
|
1292
|
-
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"))
|
|
1293
|
-
}
|
|
1294
|
-
};
|
|
1295
|
-
icons.arrowPointer(instance.dom.selectBtn, { width: 14, height: 14, transform: "translate(50,50)" });
|
|
1296
|
-
icons.grab(instance.dom.grabBtn, { width: 14, height: 14, transform: "translate(30,50)" });
|
|
1297
|
-
function setMode(m) {
|
|
1298
|
-
instance.opts.mouseMode = m;
|
|
1299
|
-
self2.parent.settings.matrix.mouseMode = m;
|
|
1300
|
-
opts.target.style("cursor", m == "select" ? "default" : "grab");
|
|
1301
|
-
instance.dom.selectBtn.style("background-color", m == "select" ? instance.opts.activeBgColor : "");
|
|
1302
|
-
instance.dom.grabBtn.style("background-color", m == "pan" ? instance.opts.activeBgColor : "");
|
|
1303
|
-
}
|
|
1304
|
-
self2.dragToggleApi = {
|
|
1305
|
-
update(s = {}) {
|
|
1306
|
-
Object.assign(instance.opts, s);
|
|
1307
|
-
setMode(instance.opts.mouseMode);
|
|
1308
|
-
},
|
|
1309
|
-
getSettings() {
|
|
1310
|
-
return {
|
|
1311
|
-
mouseMode: instance.opts.mouseMode
|
|
1312
|
-
};
|
|
1313
|
-
}
|
|
1314
|
-
};
|
|
1315
|
-
}
|
|
1316
|
-
function setSvgScroll(self2, state) {
|
|
1317
|
-
self2.svgScrollApi = svgScroll({
|
|
1318
|
-
holder: self2.parent.dom.scroll,
|
|
1319
|
-
height: state.config.settings.matrix.scrollHeight,
|
|
1320
|
-
callback: (dx, eventType) => {
|
|
1321
|
-
const p = self2.parent;
|
|
1322
|
-
const s = p.settings.matrix;
|
|
1323
|
-
const d = p.dimensions;
|
|
1324
|
-
if (eventType == "move") {
|
|
1325
|
-
p.dom.seriesesG.attr("transform", `translate(${d.xOffset + d.seriesXoffset - dx},${d.yOffset})`);
|
|
1326
|
-
p.clusterRenderer.translateElems(-dx, s, d);
|
|
1327
|
-
p.layout.top.attr.adjustBoxTransform(-dx);
|
|
1328
|
-
p.layout.btm.attr.adjustBoxTransform(-dx);
|
|
1329
|
-
if (p.dom.topDendrogram) {
|
|
1330
|
-
p.dom.topDendrogram.attr("transform", `translate(${p.topDendroX - dx},0)`);
|
|
1331
|
-
}
|
|
1332
|
-
} else if (eventType == "up") {
|
|
1333
|
-
const c = p.getVisibleCenterCell(-dx);
|
|
1334
|
-
p.app.dispatch({
|
|
1335
|
-
type: "plot_edit",
|
|
1336
|
-
id: p.id,
|
|
1337
|
-
config: {
|
|
1338
|
-
settings: {
|
|
1339
|
-
matrix: {
|
|
1340
|
-
zoomCenterPct: 0.5,
|
|
1341
|
-
zoomIndex: c.totalIndex,
|
|
1342
|
-
zoomGrpIndex: c.grpIndex
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
});
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
});
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
// plots/matrix/matrix.controls.ts
|
|
1353
|
-
var MatrixControls = class {
|
|
1354
|
-
constructor(opts, appState) {
|
|
1355
|
-
this.activeTab = "basic";
|
|
1356
|
-
this.type = "matrixControls";
|
|
1357
|
-
this.opts = opts;
|
|
1358
|
-
this.parent = opts.parent;
|
|
1359
|
-
this.overrides = {};
|
|
1360
|
-
this.opts.holder.style("margin", "10px 10px 20px 10px").style("white-space", "nowrap");
|
|
1361
|
-
const state = this.parent.getState(appState);
|
|
1362
|
-
const s = state.config.settings.matrix;
|
|
1363
|
-
if (this.parent.setClusteringBtn)
|
|
1364
|
-
this.parent.setClusteringBtn(this.opts.holder, (event, data) => this.callback(event, data));
|
|
1365
|
-
setSamplesBtn(this, s);
|
|
1366
|
-
if (state.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || state.termdbConfig.queries.snvindel || this.parent.chartType == "hierCluster" && this.parent.config.dataType == TermTypes.GENE_EXPRESSION) {
|
|
1367
|
-
setGenesBtn(this, s);
|
|
1368
|
-
}
|
|
1369
|
-
if (s.addMutationCNVButtons && this.parent.chartType !== "hierCluster") {
|
|
1370
|
-
setMutationBtn(this);
|
|
1371
|
-
setCNVBtn(this);
|
|
1372
|
-
}
|
|
1373
|
-
setVariablesBtn(this, s);
|
|
1374
|
-
setDimensionsBtn(this, s);
|
|
1375
|
-
setLegendBtn(this);
|
|
1376
|
-
setDownloadBtn(this);
|
|
1377
|
-
setZoomInput(this);
|
|
1378
|
-
setDragToggle(this, {
|
|
1379
|
-
holder: this.opts.holder.append("div").style("display", "inline-block"),
|
|
1380
|
-
target: this.parent.dom.seriesesG
|
|
1381
|
-
});
|
|
1382
|
-
setSvgScroll(this, state);
|
|
1383
|
-
this.keyboardNavHandler = async (event) => {
|
|
1384
|
-
if (event.key == "Escape") {
|
|
1385
|
-
this.parent.app.tip.hide();
|
|
1386
|
-
} else if (event.key == "Enter" || event.key == "ArrowDown") {
|
|
1387
|
-
const elems = event.target.tagName == "BUTTON" ? this.parent.app.tip.d.node().querySelectorAll("input, select") : event.target.querySelectorAll("input, select");
|
|
1388
|
-
for (const elem of elems) {
|
|
1389
|
-
if (elem.checkVisibility?.() || !elem.checkVisibility && elem.getBoundingClientRect().height) {
|
|
1390
|
-
elem.focus();
|
|
1391
|
-
return false;
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
} else if (event.key == "Tab" && event.shiftKey || event.key == "Backspace" || event.key == "ArrowUp") {
|
|
1395
|
-
if (event.target.tagName == "BUTTON") event.target.focus();
|
|
1396
|
-
return false;
|
|
1397
|
-
}
|
|
1398
|
-
};
|
|
1399
|
-
this.btns = this.opts.holder.selectAll(":scope>button").filter((d) => d && d.label).on(`keyup.matrix-${this.parent.id}`, this.keyboardNavHandler);
|
|
1400
|
-
}
|
|
1401
|
-
main(overrides = {}) {
|
|
1402
|
-
this.overrides = overrides;
|
|
1403
|
-
this.parent.app.tip.hide();
|
|
1404
|
-
this.btns.text(
|
|
1405
|
-
(d2) => !d2.getCount || d2.showCount == "hide" ? d2.label : d2.showCount == "append" ? `${d2.label} (n=${d2.getCount()})` : `${d2.getCount()} ${d2.label}`
|
|
1406
|
-
).each(function(d2) {
|
|
1407
|
-
if (d2.updateBtn) d2.updateBtn(select_default(this));
|
|
1408
|
-
});
|
|
1409
|
-
const s = this.parent.settings.matrix || this.parent.config.settings.matrix;
|
|
1410
|
-
const min = this.parent.computedSettings.zoomMin;
|
|
1411
|
-
const max = this.parent.computedSettings.zoomMax;
|
|
1412
|
-
const increment = Math.max(0.01, Number((min / max).toFixed(2)));
|
|
1413
|
-
const d = this.parent.dimensions;
|
|
1414
|
-
if (this.zoomApi)
|
|
1415
|
-
this.zoomApi.update({
|
|
1416
|
-
value: s.zoomLevel.toFixed(2),
|
|
1417
|
-
min: min.toFixed(2),
|
|
1418
|
-
max: max.toFixed(2),
|
|
1419
|
-
increment,
|
|
1420
|
-
step: s.zoomStep || 1
|
|
1421
|
-
});
|
|
1422
|
-
if (this.svgScrollApi && d) {
|
|
1423
|
-
this.svgScrollApi.update({
|
|
1424
|
-
x: d.xOffset,
|
|
1425
|
-
y: d.yOffset - s.scrollHeight,
|
|
1426
|
-
totalWidth: d.zoomedMainW,
|
|
1427
|
-
visibleWidth: d.mainw,
|
|
1428
|
-
zoomCenter: s.zoomCenterPct * d.mainw - d.seriesXoffset
|
|
1429
|
-
});
|
|
1430
|
-
}
|
|
1431
|
-
if (this.dragToggleApi) {
|
|
1432
|
-
this.dragToggleApi.update(s.mouseMode ? { mouseMode: s.mouseMode } : {});
|
|
1433
|
-
}
|
|
1434
|
-
}
|
|
1435
|
-
getSettings() {
|
|
1436
|
-
return {
|
|
1437
|
-
mouseMode: this.dragToggleApi.getSettings().mouseMode
|
|
1438
|
-
};
|
|
1439
|
-
}
|
|
1440
|
-
async callback(event, d) {
|
|
1441
|
-
const app = this.opts.app;
|
|
1442
|
-
const parent = this.opts.parent;
|
|
1443
|
-
const tables = d.tables || [d];
|
|
1444
|
-
event.target.focus();
|
|
1445
|
-
app.tip.clear();
|
|
1446
|
-
const table = app.tip.d.append("table").attr("class", "sjpp-controls-table");
|
|
1447
|
-
for (const t of tables) {
|
|
1448
|
-
if (t.header) {
|
|
1449
|
-
table.append("tr").selectAll("th").data(t.header).enter().append("th").html((d2) => d2);
|
|
1450
|
-
}
|
|
1451
|
-
for (const inputConfig of t.rows) {
|
|
1452
|
-
const holder = table.append("tr");
|
|
1453
|
-
const input = await initByInput[inputConfig.type](
|
|
1454
|
-
Object.assign(
|
|
1455
|
-
{},
|
|
1456
|
-
{
|
|
1457
|
-
holder,
|
|
1458
|
-
app,
|
|
1459
|
-
dispatch: (action) => app.dispatch(action),
|
|
1460
|
-
id: parent.id,
|
|
1461
|
-
debug: this.opts.debug,
|
|
1462
|
-
parent
|
|
1463
|
-
},
|
|
1464
|
-
inputConfig
|
|
1465
|
-
)
|
|
1466
|
-
);
|
|
1467
|
-
input.main(parent.config);
|
|
1468
|
-
}
|
|
1469
|
-
if (t.customInputs) t.customInputs(this, app, parent, table);
|
|
1470
|
-
table.selectAll("select, input, button").attr("tabindex", 0).on("keydown", this.keyboardNavHandler);
|
|
1471
|
-
}
|
|
1472
|
-
app.tip.showunder(event.target);
|
|
1473
|
-
}
|
|
1474
|
-
};
|
|
1475
|
-
|
|
1476
|
-
// plots/matrix/matrix.xtw.ts
|
|
1477
|
-
var addons;
|
|
1478
|
-
async function getTermGroups(termgroups, app) {
|
|
1479
|
-
const termGroups = structuredClone(termgroups);
|
|
1480
|
-
if (!addons)
|
|
1481
|
-
addons = {
|
|
1482
|
-
QualTWValues: discreteAddons,
|
|
1483
|
-
QualTWPredefinedGS: discreteAddons,
|
|
1484
|
-
QualTWCustomGS: discreteAddons,
|
|
1485
|
-
NumTWRegularBin: discreteAddons,
|
|
1486
|
-
NumTWCustomBin: discreteAddons,
|
|
1487
|
-
NumTWCont: continuousAddons,
|
|
1488
|
-
TermCollectionTWCont: TermCollectionContAddons
|
|
1489
|
-
};
|
|
1490
|
-
const opts = {
|
|
1491
|
-
vocabApi: app.vocabApi,
|
|
1492
|
-
addons
|
|
1493
|
-
};
|
|
1494
|
-
for (const [origIndex, tG] of termGroups.entries()) {
|
|
1495
|
-
tG.origIndex = origIndex;
|
|
1496
|
-
if (tG.type == "hierCluster") continue;
|
|
1497
|
-
const xtwlst = [];
|
|
1498
|
-
for (const tw of tG.lst) {
|
|
1499
|
-
const inputTw = tw.getTw?.() || tw;
|
|
1500
|
-
xtwlst.push(
|
|
1501
|
-
inputTw.type in opts.addons && routedTermTypes.has(inputTw.term.type) ? await TwRouter.init(inputTw, opts) : inputTw
|
|
1502
|
-
);
|
|
1503
|
-
}
|
|
1504
|
-
tG.lst = xtwlst;
|
|
1505
|
-
}
|
|
1506
|
-
return termGroups;
|
|
1507
|
-
}
|
|
1508
|
-
var discreteAddons = {
|
|
1509
|
-
setCellProps: {
|
|
1510
|
-
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1511
|
-
const tw = this.getTw();
|
|
1512
|
-
const key = anno.key;
|
|
1513
|
-
const values = tw.term.values || {};
|
|
1514
|
-
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1515
|
-
const tw$id = tw.$id;
|
|
1516
|
-
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;
|
|
1517
|
-
cell.order = t.ref.bins ? t.ref.bins.findIndex((bin) => bin.name == key) : 0;
|
|
1518
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1519
|
-
cell.y = height * i;
|
|
1520
|
-
const group = tw.legend?.group || tw$id;
|
|
1521
|
-
return { ref: t.ref, group, value: key, entry: { key, label: cell.label, fill: cell.fill } };
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
};
|
|
1525
|
-
var continuousAddons = {
|
|
1526
|
-
setCellProps: {
|
|
1527
|
-
value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
|
|
1528
|
-
const tw = this.getTw();
|
|
1529
|
-
const key = anno.key;
|
|
1530
|
-
const values = tw.term.values || {};
|
|
1531
|
-
cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
|
|
1532
|
-
cell.fill = anno.color || values[anno.key]?.color;
|
|
1533
|
-
const tw$id = tw.$id;
|
|
1534
|
-
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1535
|
-
if (!twSpecificSettings[tw$id]) twSpecificSettings[tw$id] = {};
|
|
1536
|
-
const twSettings = twSpecificSettings[tw$id];
|
|
1537
|
-
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1538
|
-
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1539
|
-
const specialValue = tw.term.values?.[cell.key];
|
|
1540
|
-
if (specialValue?.uncomputable) {
|
|
1541
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1542
|
-
cell.y = height * i;
|
|
1543
|
-
cell.height = twSettings.contBarH;
|
|
1544
|
-
cell.fill = "transparent";
|
|
1545
|
-
cell.label = specialValue.label;
|
|
1546
|
-
const group = tw.legend?.group || tw.$id;
|
|
1547
|
-
return {
|
|
1548
|
-
ref: t.ref,
|
|
1549
|
-
group,
|
|
1550
|
-
value: specialValue.label || specialValue.key,
|
|
1551
|
-
entry: { key, label: cell.label, fill: cell.fill }
|
|
1552
|
-
};
|
|
1553
|
-
}
|
|
1554
|
-
cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.contBarColor || "#555";
|
|
1555
|
-
if (s.transpose) {
|
|
1556
|
-
cell.height = t.scale(cell.key);
|
|
1557
|
-
cell.x = twSettings.contBarGap;
|
|
1558
|
-
} else {
|
|
1559
|
-
const vc = cell.term.valueConversion;
|
|
1560
|
-
let renderV = vc ? cell.key * vc.scaleFactor : cell.key;
|
|
1561
|
-
if (this.q.convert2ZScore) {
|
|
1562
|
-
renderV = (renderV - t.mean) / t.std;
|
|
1563
|
-
cell.fill = renderV > 0 ? "#FF6666" : "#6666FF";
|
|
1564
|
-
cell.zscoreLabel = ` (Z-score: ${renderV.toFixed(2)})`;
|
|
1565
|
-
}
|
|
1566
|
-
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);
|
|
1567
|
-
cell.height = renderV >= 0 ? t.scales.pos(renderV) : t.scales.neg(renderV);
|
|
1568
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1569
|
-
cell.y = renderV >= 0 ? t.counts.posMaxHt + twSettings.contBarGap - cell.height : t.counts.posMaxHt + twSettings.contBarGap;
|
|
1570
|
-
cell.convertedValueLabel = !vc ? "" : convertUnits(cell.key, vc.fromUnit, vc.toUnit, vc.scaleFactor);
|
|
1571
|
-
}
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
};
|
|
1575
|
-
var TermCollectionContAddons = {
|
|
1576
|
-
setCellProps: {
|
|
1577
|
-
value: function(cell, anno, value, s, t, self2, width, height, dx, _dy, _i) {
|
|
1578
|
-
const tw = this.getTw();
|
|
1579
|
-
const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
|
|
1580
|
-
if (!twSpecificSettings[tw.$id]) twSpecificSettings[tw.$id] = {};
|
|
1581
|
-
const twSettings = twSpecificSettings[tw.$id];
|
|
1582
|
-
if (!twSettings.contBarH) twSettings.contBarH = s.barh;
|
|
1583
|
-
if (!("gap" in twSettings)) twSettings.contBarGap = 4;
|
|
1584
|
-
const isNegative = value.value < 0;
|
|
1585
|
-
if (isNegative) {
|
|
1586
|
-
cell.height = t.scales.neg ? t.scales.neg(value.value) - t.scales.neg(0) : 0;
|
|
1587
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1588
|
-
const cumulativeHeight = t.scales.neg ? t.scales.neg(value.pre_val_sum) - t.scales.neg(0) : 0;
|
|
1589
|
-
cell.y = t.counts.posMaxHt + twSettings.contBarGap + (t.scales.neg ? t.scales.neg(0) : 0) + cumulativeHeight;
|
|
1590
|
-
} else {
|
|
1591
|
-
cell.height = t.scales.pos(value.value) - t.scales.pos(0);
|
|
1592
|
-
cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
|
|
1593
|
-
const cumulativeHeight = t.scales.pos(value.pre_val_sum) - t.scales.pos(0);
|
|
1594
|
-
cell.y = t.counts.posMaxHt + twSettings.contBarGap - t.scales.pos(0) - cumulativeHeight - cell.height;
|
|
1595
|
-
}
|
|
1596
|
-
cell.label = value.label;
|
|
1597
|
-
cell.fill = twSettings[value.label]?.color || value.color || tw.term.propsByTermId?.[value.label]?.color;
|
|
1598
|
-
cell.value = value.value;
|
|
1599
|
-
return {
|
|
1600
|
-
ref: t.ref,
|
|
1601
|
-
group: tw.$id,
|
|
1602
|
-
value: value.label,
|
|
1603
|
-
order: -1,
|
|
1604
|
-
entry: { key: value.label, label: value.label, fill: cell.fill }
|
|
1605
|
-
};
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
};
|
|
1609
|
-
|
|
1610
|
-
// plots/matrix/matrix.js
|
|
1611
|
-
var Matrix = class _Matrix extends PlotBase {
|
|
1612
|
-
static type = "matrix";
|
|
1613
|
-
configTermKeys = ["termgroups.lst", "divideBy"];
|
|
1614
|
-
constructor(opts) {
|
|
1615
|
-
super(opts);
|
|
1616
|
-
this.type = _Matrix.type;
|
|
1617
|
-
this.holderTitle = "Sample Matrix";
|
|
1618
|
-
this.optionalFeatures = JSON.parse(sessionStorage.getItem("optionalFeatures") || `{}`)?.matrix || [];
|
|
1619
|
-
setInteractivity(this);
|
|
1620
|
-
setRenderers(this);
|
|
1621
|
-
}
|
|
1622
|
-
async init(appState) {
|
|
1623
|
-
const opts = this.opts;
|
|
1624
|
-
if (opts.reactsTo) this.reactsTo = opts.reactsTo;
|
|
1625
|
-
this.setDom = setMatrixDom;
|
|
1626
|
-
this.setDom(opts);
|
|
1627
|
-
this.config = appState.plots.find((p) => p.id === this.id);
|
|
1628
|
-
this.settings = Object.assign({}, this.config.settings.matrix);
|
|
1629
|
-
this.computed = {};
|
|
1630
|
-
if (this.dom.header) this.dom.header.html(this.config.preBuiltPlotTitle || this.holderTitle);
|
|
1631
|
-
this.setControls(appState);
|
|
1632
|
-
this.clusterRenderer = new MatrixCluster({ holder: this.dom.cluster, app: this.app, parent: this });
|
|
1633
|
-
this.legendRenderer = svgLegend({
|
|
1634
|
-
holder: this.dom.legendG,
|
|
1635
|
-
rectFillFxn: (d) => d.color,
|
|
1636
|
-
iconStroke: "#aaa",
|
|
1637
|
-
handlers: {
|
|
1638
|
-
legend: {
|
|
1639
|
-
click: this.legendClick
|
|
1640
|
-
}
|
|
1641
|
-
},
|
|
1642
|
-
settings: {
|
|
1643
|
-
isExcludedAttr: "isExcluded"
|
|
1644
|
-
},
|
|
1645
|
-
note: "CLICK A ROW LABEL OR ITEM TO APPLY FILTERING"
|
|
1646
|
-
});
|
|
1647
|
-
this.customTipApi = this.dom.tip.getCustomApi({
|
|
1648
|
-
d: this.dom.menubody,
|
|
1649
|
-
clear: (event) => {
|
|
1650
|
-
if (event?.target) this.dom.menutop.style("display", "none");
|
|
1651
|
-
this.dom.menubody.selectAll("*").remove();
|
|
1652
|
-
return this.customTipApi;
|
|
1653
|
-
},
|
|
1654
|
-
show: () => {
|
|
1655
|
-
this.dom.menubody.style("display", "block");
|
|
1656
|
-
},
|
|
1657
|
-
hide: () => {
|
|
1658
|
-
}
|
|
1659
|
-
});
|
|
1660
|
-
this.setPill(appState);
|
|
1661
|
-
const commonKeys = { mclass, dt2label, morigin };
|
|
1662
|
-
for (const k in commonKeys) {
|
|
1663
|
-
const v = commonKeys[k];
|
|
1664
|
-
this[k] = copyMerge({}, v, appState.termdbConfig[k] || {}, appState.termdbConfig.matrix?.[k] || {});
|
|
1665
|
-
}
|
|
1666
|
-
}
|
|
1667
|
-
setControls(appState) {
|
|
1668
|
-
this.controlsRenderer = new MatrixControls(
|
|
1669
|
-
{
|
|
1670
|
-
app: this.app,
|
|
1671
|
-
id: this.id,
|
|
1672
|
-
parent: this,
|
|
1673
|
-
holder: this.dom.controls,
|
|
1674
|
-
getSvg: () => this.dom.svg.node()
|
|
1675
|
-
},
|
|
1676
|
-
appState
|
|
1677
|
-
);
|
|
1678
|
-
}
|
|
1679
|
-
// reactsTo(action) {
|
|
1680
|
-
// // note: a parent app or 'plot' component is expected to already have
|
|
1681
|
-
// // a comprehensive reactsTo() call to filter the actions for this component,
|
|
1682
|
-
// // so only farther selective action filters should be applied here as needed
|
|
1683
|
-
// return true
|
|
1684
|
-
// }
|
|
1685
|
-
getState(appState) {
|
|
1686
|
-
const config = appState.plots.find((p) => p.id === this.id);
|
|
1687
|
-
const filter0 = appState.termfilter.filter0;
|
|
1688
|
-
this.prevFilter0 = this.state?.filter0;
|
|
1689
|
-
const parentConfig = appState.plots.find((p) => p.id === this.parentId);
|
|
1690
|
-
const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
|
|
1691
|
-
return {
|
|
1692
|
-
isVisible: true,
|
|
1693
|
-
config,
|
|
1694
|
-
filter: termfilter.filter,
|
|
1695
|
-
filter0,
|
|
1696
|
-
// read-only, invisible filter currently only used for gdc dataset
|
|
1697
|
-
hasVerifiedToken: this.app.vocabApi.hasVerifiedToken(),
|
|
1698
|
-
tokenVerificationMessage: this.app.vocabApi.tokenVerificationMessage,
|
|
1699
|
-
vocab: appState.vocab,
|
|
1700
|
-
termdbConfig: appState.termdbConfig,
|
|
1701
|
-
clusterMethod: config.settings.hierCluster?.clusterMethod,
|
|
1702
|
-
distanceMethod: config.settings.hierCluster?.distanceMethod,
|
|
1703
|
-
clusterSamples: config.settings.hierCluster?.clusterSamples,
|
|
1704
|
-
clusterRows: config.settings.hierCluster?.clusterRows,
|
|
1705
|
-
zScoreTransformation: config.settings.hierCluster?.zScoreTransformation,
|
|
1706
|
-
nav: appState.nav,
|
|
1707
|
-
groups: rebaseGroupFilter(appState)
|
|
1708
|
-
};
|
|
1709
|
-
}
|
|
1710
|
-
async main() {
|
|
1711
|
-
try {
|
|
1712
|
-
this.config = await this.getMutableConfig();
|
|
1713
|
-
if (this.mayRequireToken()) return;
|
|
1714
|
-
const termGroups = await getTermGroups(this.config.termgroups, this.app);
|
|
1715
|
-
const prevTranspose = this.settings.transpose;
|
|
1716
|
-
Object.assign(this.settings, structuredClone(this.config.settings), this.controlsRenderer.getSettings());
|
|
1717
|
-
this.dom.loadingDiv.selectAll("*").remove();
|
|
1718
|
-
this.dom.loadingDiv.html("").style("display", "").style("position", "relative").style("left", "45%");
|
|
1719
|
-
this.dom.svg.style("opacity", 0.1).style("pointer-events", "none");
|
|
1720
|
-
delete this.clickedClusterIds;
|
|
1721
|
-
delete this.clickedLeftClusterIds;
|
|
1722
|
-
try {
|
|
1723
|
-
setComputedConfig(this.config);
|
|
1724
|
-
const promises = [];
|
|
1725
|
-
if (this.setHierClusterData) promises.push(this.setHierClusterData());
|
|
1726
|
-
promises.push(this.setData());
|
|
1727
|
-
this.dom.loadingDiv.html("Processing data ...");
|
|
1728
|
-
await Promise.all(promises);
|
|
1729
|
-
const warnings = this.data.warnings.join("\n");
|
|
1730
|
-
this.dom.warningDiv.style("display", warnings.length ? "" : "none").html(warnings);
|
|
1731
|
-
this.applyLegendValueFilter();
|
|
1732
|
-
if (this.combineData) this.combineData();
|
|
1733
|
-
this.app.save({ type: "plot_edit", id: this.id, config: this.config });
|
|
1734
|
-
} catch (e) {
|
|
1735
|
-
if (e == "no data") {
|
|
1736
|
-
this.showNoMatchingDataMessage();
|
|
1737
|
-
return;
|
|
1738
|
-
} else if (this.app.isAbortError(e)) {
|
|
1739
|
-
return;
|
|
1740
|
-
} else {
|
|
1741
|
-
this.dom.svg.style("display", "none");
|
|
1742
|
-
throw e;
|
|
1743
|
-
}
|
|
1744
|
-
}
|
|
1745
|
-
this.termGroups = termGroups;
|
|
1746
|
-
this.dom.loadingDiv.html("Updating ...").style("display", "");
|
|
1747
|
-
this.termOrder = this.getTermOrder(this.data);
|
|
1748
|
-
this.sampleGroups = this.getSampleGroups(this.hierClusterSamples || this.data);
|
|
1749
|
-
this.sampleOrder = this.getSampleOrder(this.data);
|
|
1750
|
-
this.setLayout();
|
|
1751
|
-
if (this.setHierColorScale) this.setHierColorScale(this.hierClusterData.clustering);
|
|
1752
|
-
if (!this.sampleOrder?.length) {
|
|
1753
|
-
this.showNoMatchingDataMessage();
|
|
1754
|
-
}
|
|
1755
|
-
this.controlsRenderer.main();
|
|
1756
|
-
this.serieses = this.getSerieses(this.data);
|
|
1757
|
-
this.dom.loadingDiv.html("Rendering ...");
|
|
1758
|
-
if (this.plotDendrogramHclust) this.plotDendrogramHclust();
|
|
1759
|
-
this.render();
|
|
1760
|
-
this.mayDisplayCohortMessage();
|
|
1761
|
-
this.dom.svg.style("display", "").style("opacity", 1).style("pointer-events", "");
|
|
1762
|
-
const [xGrps, yGrps] = !this.settings.matrix.transpose ? ["sampleGrps", "termGrps"] : ["termGrps", "sampleGrps"];
|
|
1763
|
-
const d = this.dimensions;
|
|
1764
|
-
this.clusterRenderer.main({
|
|
1765
|
-
settings: this.settings.matrix,
|
|
1766
|
-
xGrps: this[xGrps],
|
|
1767
|
-
yGrps: this[yGrps],
|
|
1768
|
-
dimensions: d
|
|
1769
|
-
});
|
|
1770
|
-
this.legendRenderer(this.legendData, {
|
|
1771
|
-
settings: Object.assign({}, this.settings.legend, {
|
|
1772
|
-
svgw: Math.max(400, d.mainw + d.xOffset - this.settings.matrix.margin.right),
|
|
1773
|
-
svgh: d.mainh + d.yOffset,
|
|
1774
|
-
dimensions: d,
|
|
1775
|
-
padleft: this.settings.legend.padleft
|
|
1776
|
-
//+ d.xOffset
|
|
1777
|
-
})
|
|
1778
|
-
});
|
|
1779
|
-
await this.adjustSvgDimensions(prevTranspose);
|
|
1780
|
-
this.controlsRenderer.main();
|
|
1781
|
-
if (this.data.removedHierClusterTerms) {
|
|
1782
|
-
for (const r of this.data.removedHierClusterTerms) {
|
|
1783
|
-
sayerror(this.dom.errorDiv, r.text + ": " + r.lst.join(", "));
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1786
|
-
} catch (e) {
|
|
1787
|
-
const message = this.app.vocabApi.tokenVerificationMessage;
|
|
1788
|
-
this.mayRequireToken(message);
|
|
1789
|
-
if (!message) {
|
|
1790
|
-
this.app.tip.hide();
|
|
1791
|
-
this.dom.loadingDiv.style("display", "none");
|
|
1792
|
-
throw e;
|
|
1793
|
-
}
|
|
1794
|
-
}
|
|
1795
|
-
this.resetInteractions();
|
|
1796
|
-
}
|
|
1797
|
-
showNoMatchingDataMessage() {
|
|
1798
|
-
this.forcedSampleCount = 0;
|
|
1799
|
-
this.dom.svg.style("opacity", 1e-3).style("display", "none");
|
|
1800
|
-
if (this.termOrder && this.dimensions) this.controlsRenderer.main({ sampleCount: 0 });
|
|
1801
|
-
this.dom.loadingDiv.html("");
|
|
1802
|
-
const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
|
|
1803
|
-
div.append("div").style("margin", "5px 10px").html("No matching cohort sample data for the current gene list.");
|
|
1804
|
-
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1805
|
-
const div1 = div.append("div").style("margin", "5px 10px");
|
|
1806
|
-
div1.append("span").html("You may change the selected cohort,");
|
|
1807
|
-
if (this.config.legendGrpFilter?.lst.length || this.config.legendValueFilter?.lst.length) {
|
|
1808
|
-
const cnvBtn = this.controlsRenderer.btns.filter((d) => d.label == "CNV")?.node();
|
|
1809
|
-
if (cnvBtn) {
|
|
1810
|
-
div1.append("br");
|
|
1811
|
-
div1.append("span").html("show hidden ");
|
|
1812
|
-
div1.append("span").html("CNV").style("cursor", "pointer").style("text-decoration", "underline").on("click", () => {
|
|
1813
|
-
cnvBtn.click();
|
|
1814
|
-
});
|
|
1815
|
-
}
|
|
1816
|
-
const mutationBtn = this.controlsRenderer.btns.filter((d) => d.label == "Mutation")?.node();
|
|
1817
|
-
if (cnvBtn && mutationBtn) div1.append("span").html(" or ");
|
|
1818
|
-
if (mutationBtn) {
|
|
1819
|
-
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Mutation").on("click", () => {
|
|
1820
|
-
mutationBtn.click();
|
|
1821
|
-
});
|
|
1822
|
-
}
|
|
1823
|
-
if (cnvBtn || mutationBtn) div1.append("span").html(" data,");
|
|
1824
|
-
}
|
|
1825
|
-
div1.append("br");
|
|
1826
|
-
div1.append("span").html("or edit the gene list from the ");
|
|
1827
|
-
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1828
|
-
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1829
|
-
const i = setInterval(() => {
|
|
1830
|
-
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1831
|
-
return this.innerHTML == "Edit Group";
|
|
1832
|
-
}).node();
|
|
1833
|
-
if (editBtn) {
|
|
1834
|
-
editBtn.click();
|
|
1835
|
-
clearInterval(i);
|
|
1836
|
-
}
|
|
1837
|
-
}, 100);
|
|
1838
|
-
});
|
|
1839
|
-
}
|
|
1840
|
-
this.dom.svg.style("display", "none");
|
|
1841
|
-
}
|
|
1842
|
-
mayDisplayCohortMessage() {
|
|
1843
|
-
const msg = deepEqual(this.state.filter0, this.prevFilter0) ? "" : "The gene list is persisted across cohorts.";
|
|
1844
|
-
if (msg) {
|
|
1845
|
-
this.dom.loadingDiv.html("");
|
|
1846
|
-
const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
|
|
1847
|
-
div.append("div").html(msg);
|
|
1848
|
-
if (this.settings.matrix.showHints?.includes("genesetEdit")) {
|
|
1849
|
-
const div1 = div.append("div");
|
|
1850
|
-
div1.append("span").html(" You may edit the gene list from the ");
|
|
1851
|
-
div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
|
|
1852
|
-
const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
|
|
1853
|
-
const i = setInterval(() => {
|
|
1854
|
-
const editBtn = this.app.tip.d.selectAll("button").filter(function() {
|
|
1855
|
-
return this.innerHTML == "Edit Group";
|
|
1856
|
-
}).node();
|
|
1857
|
-
if (editBtn) {
|
|
1858
|
-
editBtn.click();
|
|
1859
|
-
clearInterval(i);
|
|
1860
|
-
}
|
|
1861
|
-
}, 100);
|
|
1862
|
-
});
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
this.dom.loadingDiv.style("display", msg ? "" : "none");
|
|
1866
|
-
}
|
|
1867
|
-
sampleKey(s) {
|
|
1868
|
-
return s.row.sample;
|
|
1869
|
-
}
|
|
1870
|
-
sampleLabel(s) {
|
|
1871
|
-
return s.label || s.row._ref_.label || "";
|
|
1872
|
-
}
|
|
1873
|
-
sampleGrpKey(s) {
|
|
1874
|
-
return s.grp.name;
|
|
1875
|
-
}
|
|
1876
|
-
sampleGrpLabel(s) {
|
|
1877
|
-
return s.grp.label || s.grp.name || "";
|
|
1878
|
-
}
|
|
1879
|
-
termKey(t) {
|
|
1880
|
-
return t.tw.$id;
|
|
1881
|
-
}
|
|
1882
|
-
termLabel(t) {
|
|
1883
|
-
return t.label;
|
|
1884
|
-
}
|
|
1885
|
-
termGrpKey(t) {
|
|
1886
|
-
return t.grp.name;
|
|
1887
|
-
}
|
|
1888
|
-
termGrpLabel(t) {
|
|
1889
|
-
return t.grp.label || t.grp.name || [{ text: "\u22EE", dx: 3, cls: "sjpp-exclude-svg-download" }];
|
|
1890
|
-
}
|
|
1891
|
-
destroy() {
|
|
1892
|
-
select_default(window).on(`resize.sjpp-${self.id}`, null);
|
|
1893
|
-
}
|
|
1894
|
-
};
|
|
1895
|
-
for (const m of [matrix_data_exports, matrix_groups_exports, matrix_layout_exports, matrix_serieses_exports, matrix_legend_exports]) {
|
|
1896
|
-
for (const methodName in m) {
|
|
1897
|
-
Matrix.prototype[methodName] = m[methodName];
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
var matrixInit = getCompInit(Matrix);
|
|
1901
|
-
var componentInit = matrixInit;
|
|
1902
|
-
function makeChartBtnMenu(holder, chartsInstance) {
|
|
1903
|
-
chartsInstance.dom.tip.clear();
|
|
1904
|
-
const menuDiv = holder.append("div");
|
|
1905
|
-
if (chartsInstance.state.termdbConfig.matrixplots) {
|
|
1906
|
-
for (const plot of chartsInstance.state.termdbConfig.matrixplots) {
|
|
1907
|
-
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 () => {
|
|
1908
|
-
chartsInstance.dom.tip.hide();
|
|
1909
|
-
const config = await chartsInstance.app.vocabApi.getMatrixByName(plot.name);
|
|
1910
|
-
config.preBuiltPlotTitle = plot.name;
|
|
1911
|
-
chartsInstance.app.dispatch({
|
|
1912
|
-
type: "plot_create",
|
|
1913
|
-
config
|
|
1914
|
-
});
|
|
1915
|
-
});
|
|
1916
|
-
}
|
|
1917
|
-
}
|
|
1918
|
-
const chart = {
|
|
1919
|
-
clickTo: chartsInstance.showTree_selectlst,
|
|
1920
|
-
chartType: "matrix",
|
|
1921
|
-
usecase: { target: "matrix", detail: "termgroups" },
|
|
1922
|
-
processSelection: (lst) => {
|
|
1923
|
-
return [
|
|
1924
|
-
{
|
|
1925
|
-
name: "",
|
|
1926
|
-
lst: lst.map((term) => {
|
|
1927
|
-
return { term };
|
|
1928
|
-
})
|
|
1929
|
-
}
|
|
1930
|
-
];
|
|
1931
|
-
}
|
|
1932
|
-
};
|
|
1933
|
-
chartsInstance.showTree_selectlst(chart);
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
export {
|
|
1937
|
-
Matrix,
|
|
1938
|
-
matrixInit,
|
|
1939
|
-
componentInit,
|
|
1940
|
-
makeChartBtnMenu
|
|
1941
|
-
};
|
|
1942
|
-
//# sourceMappingURL=chunk-O5KFJBU3.js.map
|