@sjcrh/proteinpaint-client 2.205.0 → 2.206.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-5OYM4MXA.js +1367 -0
- package/dist/AggMatrixInput-4VTI4Y6E.js +277 -0
- package/dist/AggregateMatrix-K7SGNO63.js +41 -0
- package/dist/AppHeader-WU6TO2OZ.js +830 -0
- package/dist/BoxPlot-OW7U3XTF.js +1211 -0
- package/dist/CorrelationVolcano-B3JTTZHF.js +614 -0
- package/dist/Cuminc-AJEXWRU2.js +1219 -0
- package/dist/DE-2J7DSRPC.js +89 -0
- package/dist/DEinput-I7JWNOSD.js +499 -0
- package/dist/DM-NQ46YPGF.js +90 -0
- package/dist/DifferentialAnalysis-BFCQBX5J.js +237 -0
- package/dist/Disco-ZJLVQRTC.js +3389 -0
- package/dist/Disco.UI-AEDACXW2.js +243 -0
- package/dist/DmrPlot-QMRXAOM3.js +637 -0
- package/dist/GB-MFU2UJ22.js +1391 -0
- package/dist/GSEA-E3NHU22A.js +851 -0
- package/dist/GeneExpInput-MIUNSOPY.js +362 -0
- package/dist/Geomap-HAJG3STN.js +84 -0
- package/dist/HicApp-ECFFIRWI.js +2245 -0
- package/dist/IDCViewer-TNSD3U2V.js +10812 -0
- package/dist/NumBinaryEditor-CNBGZ6WY.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-SKFDALF3.js +312 -0
- package/dist/NumContEditor-7ID2U7JL.js +105 -0
- package/dist/NumContEditor.unit.spec-XHSQSAWK.js +164 -0
- package/dist/NumCustomBinEditor-PAIPRJPO.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-QYVZMMHV.js +397 -0
- package/dist/NumDiscreteEditor-K2NZZQTH.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-3CG5VEQL.js +233 -0
- package/dist/NumRegularBinEditor-EOVZ22TP.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-FHTVH5FH.js +278 -0
- package/dist/NumSplineEditor-N3REMJUC.js +210 -0
- package/dist/NumSplineEditor.unit.spec-DZCP35GL.js +224 -0
- package/dist/NumericDensity-42MWVI2S.js +33 -0
- package/dist/NumericDensity.unit.spec-T2HHSQON.js +418 -0
- package/dist/NumericHandler-5XU3SSPD.js +34 -0
- package/dist/NumericHandler.unit.spec-3F23KSAQ.js +214 -0
- package/dist/ProteomeInput-UN2BUNRO.js +388 -0
- package/dist/Regression-HWLJENA5.js +1416 -0
- package/dist/RunChart2-YO55WE4M.js +749 -0
- package/dist/SC-LEDJ4DQR.js +1107 -0
- package/dist/Violin-E6PDJZ2B.js +1082 -0
- package/dist/Volcano-XJTBWYUK.js +1649 -0
- package/dist/Wsi-S675CYTW.js +431 -0
- package/dist/adSandbox-ZJQ5ZW2T.js +33 -0
- package/dist/animatedBubbleChart-LRUS7W36.js +547 -0
- package/dist/app-7Q3QIBU4.js +32 -0
- package/dist/app-PKSI4MV5.js +42 -0
- package/dist/app.js +17 -17
- package/dist/bam-X5JH5ZT7.js +876 -0
- package/dist/barchart-UT6J4L2N.js +42 -0
- package/dist/barchart2-ZG5QJO3C.js +309 -0
- package/dist/block-TC466NGW.js +6249 -0
- package/dist/block.init-CIBNSYAC.js +33 -0
- package/dist/block.mds.expressionrank-EY5PCQCK.js +354 -0
- package/dist/block.mds.geneboxplot-R6AOMHO5.js +823 -0
- package/dist/block.mds.junction-JMV6FNYC.js +1539 -0
- package/dist/block.mds.svcnv-IHTV3QYG.js +6796 -0
- package/dist/block.svg-NTFLVQAQ.js +159 -0
- package/dist/block.tk.aicheck-FYPL32Y4.js +278 -0
- package/dist/block.tk.ase-FWCB6VBO.js +360 -0
- package/dist/block.tk.bam-Q5UFUABN.js +1901 -0
- package/dist/block.tk.bedgraphdot-KBI3GFDM.js +379 -0
- package/dist/block.tk.bigwig.ui-KXNFX7G7.js +206 -0
- package/dist/block.tk.hicstraw-MQBH3YAJ.js +818 -0
- package/dist/block.tk.junction-EBTVXLJH.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-ETYLCP2O.js +194 -0
- package/dist/block.tk.ld-NLB6L6WQ.js +94 -0
- package/dist/block.tk.menu-PJLCOXVJ.js +1024 -0
- package/dist/block.tk.pgv-JOIQVWL2.js +938 -0
- package/dist/brainImaging-SPRC3QFB.js +515 -0
- package/dist/brainRegions-LGQGRWG7.js +217 -0
- package/dist/brainRegions-LGQGRWG7.js.map +7 -0
- package/dist/bubbleHeatmap-CFTZ5RXH.js +378 -0
- package/dist/cellTypeBubbleHeatmap-DXPLFT5U.js +278 -0
- package/dist/chunk-2BQ572SL.js +102 -0
- package/dist/chunk-2DQIQYY3.js +103 -0
- package/dist/chunk-2POQWEK6.js +134 -0
- package/dist/chunk-2SQEVMAL.js +446 -0
- package/dist/chunk-37HTZ6IG.js +158 -0
- package/dist/chunk-452765PG.js +2676 -0
- package/dist/chunk-4DXQJGJ7.js +31 -0
- package/dist/chunk-4OLM3KSB.js +2708 -0
- package/dist/chunk-4OLM3KSB.js.map +7 -0
- package/dist/chunk-54KC7DAB.js +178 -0
- package/dist/chunk-5D5YTFI2.js +783 -0
- package/dist/chunk-5DBW3WLK.js +129 -0
- package/dist/chunk-5ILEFNXJ.js +402 -0
- package/dist/chunk-5UO7MKCO.js +59 -0
- package/dist/chunk-7R7P6VMT.js +243 -0
- package/dist/chunk-7X6NF7NI.js +96 -0
- package/dist/chunk-ANGLZ4XR.js +26 -0
- package/dist/chunk-BMQDU7KN.js +38 -0
- package/dist/chunk-C5TU4AYP.js +281 -0
- package/dist/chunk-DBQA6QIJ.js +4311 -0
- package/dist/chunk-DHNET3P4.js +42 -0
- package/dist/chunk-EGKHDALO.js +382 -0
- package/dist/chunk-EPWGUWQP.js +34 -0
- package/dist/chunk-F3EYPES3.js +1339 -0
- package/dist/chunk-F4DM3WS4.js +194 -0
- package/dist/chunk-FTLCINDC.js +294 -0
- package/dist/chunk-GT6WJUJY.js +480 -0
- package/dist/chunk-GWCK5QGV.js +70 -0
- package/dist/chunk-HJSGHFJ6.js +464 -0
- package/dist/chunk-HS6BTSFX.js +49 -0
- package/dist/chunk-IB5TKNG5.js +5071 -0
- package/dist/chunk-IIMTOPH3.js +54 -0
- package/dist/chunk-ILEXRHF7.js +367 -0
- package/dist/chunk-ILEXRHF7.js.map +7 -0
- package/dist/chunk-IZUYLFOX.js +1608 -0
- package/dist/chunk-IZUYLFOX.js.map +7 -0
- package/dist/chunk-JAXN3Q3K.js +272 -0
- package/dist/chunk-K6PYTAXW.js +2853 -0
- package/dist/chunk-KIRZXPMB.js +141 -0
- package/dist/chunk-KT4OZVO3.js +1275 -0
- package/dist/chunk-L32KMIC3.js +54 -0
- package/dist/chunk-LB7NENEB.js +123 -0
- package/dist/chunk-LDWMVZYF.js +562 -0
- package/dist/chunk-M367Y7ML.js +140 -0
- package/dist/chunk-M4XXKTH2.js +339 -0
- package/dist/chunk-ME7OF3CS.js +176 -0
- package/dist/chunk-N2CXLMNX.js +626 -0
- package/dist/chunk-N7DVQTPC.js +119 -0
- package/dist/chunk-N7TD7N7D.js +518 -0
- package/dist/chunk-NBX6TT5C.js +299 -0
- package/dist/chunk-NLR7JIMM.js +1986 -0
- package/dist/chunk-NSRGYBDM.js +339 -0
- package/dist/chunk-NVS7KYYI.js +379 -0
- package/dist/chunk-OVPEMVXT.js +397 -0
- package/dist/chunk-OXWLQQXL.js +274 -0
- package/dist/chunk-Q5SK3U2T.js +24163 -0
- package/dist/chunk-Q5SK3U2T.js.map +7 -0
- package/dist/chunk-QGGSYEVJ.js +55 -0
- package/dist/chunk-QLEVONLD.js +50 -0
- package/dist/chunk-RFW5BRIZ.js +1233 -0
- package/dist/chunk-RFW5BRIZ.js.map +7 -0
- package/dist/chunk-RNWHB5DI.js +98 -0
- package/dist/chunk-RPDVFM7E.js +2133 -0
- package/dist/chunk-RUHLDUOT.js +203 -0
- package/dist/chunk-RV34WFGZ.js +197 -0
- package/dist/chunk-SDVE5ECI.js +6360 -0
- package/dist/chunk-SWO6DZTG.js +170 -0
- package/dist/chunk-SYPSS3JQ.js +387 -0
- package/dist/chunk-TDM3645O.js +2327 -0
- package/dist/chunk-VVO3R5JV.js +217 -0
- package/dist/chunk-VYEU6Y35.js +14 -0
- package/dist/chunk-WGXC6IEF.js +263 -0
- package/dist/chunk-WPDM57B5.js +1720 -0
- package/dist/chunk-WS7WKS2B.js +2784 -0
- package/dist/chunk-X63NSV33.js +276 -0
- package/dist/chunk-XXNRSSBR.js +56 -0
- package/dist/chunk-YD6UGDFI.js +102 -0
- package/dist/chunk-YRIYDFNU.js +160 -0
- package/dist/chunk-YY5WQQ3J.js +194 -0
- package/dist/chunk-Z2ZITHT4.js +4195 -0
- package/dist/chunk-Z4SM3FBK.js +302 -0
- package/dist/chunk-ZEYEIUEZ.js +240 -0
- package/dist/chunk-ZLYTDHQP.js +677 -0
- package/dist/chunk-ZWCVRVV4.js +550 -0
- package/dist/cohort-FZNMFWOX.js +70 -0
- package/dist/condition-AJJLFCBQ.js +327 -0
- package/dist/controls-SZOLV37V.js +34 -0
- package/dist/controls.config-CVP75WFA.js +34 -0
- package/dist/correlation-UFJFQHQ3.js +95 -0
- package/dist/customdata.inputui-HOVA4A6O.js +284 -0
- package/dist/dataDownload-VTUG4IOK.js +329 -0
- package/dist/databrowser.ui-O5S4Y4EK.js +425 -0
- package/dist/dictionary-L2UNNNP7.js +113 -0
- package/dist/dnaMethylation-B4SWZI4O.js +33 -0
- package/dist/dnaMethylation.integration.spec-ANJAMNYJ.js +198 -0
- package/dist/dofetch-F5XSHQIS.js +48 -0
- package/dist/e2pca-66ARIMKL.js +344 -0
- package/dist/ep-OFGJYVUY.js +1249 -0
- package/dist/expclust.gdc.spec-22RXQTTP.js +302 -0
- package/dist/facet-GVZQ3RPN.js +519 -0
- package/dist/gb-HEPGVYEK.js +81 -0
- package/dist/geneExpClustering-3NU2U422.js +244 -0
- package/dist/geneExpression-FXQ4L2J2.js +310 -0
- package/dist/geneExpression-XYVYJJA5.js +33 -0
- package/dist/geneExpression.unit.spec-K3FIRSNK.js +99 -0
- package/dist/geneORA-5M2JSDMF.js +273 -0
- package/dist/geneRanking-TP3R3CS3.js +548 -0
- package/dist/geneVariant-232EYUFJ.js +36 -0
- package/dist/geneVariant-BHXTPUDC.js +286 -0
- package/dist/geneVariant.integration.spec-ICFHVFIR.js +388 -0
- package/dist/genefusion.ui-ABRCUQFC.js +303 -0
- package/dist/geneset-N42FIVA6.js +203 -0
- package/dist/genomeBrowser.spec-5HKQKLRU.js +276 -0
- package/dist/grin2-H2KJYLP6.js +1137 -0
- package/dist/grin2-NGMTEMXF.js +70 -0
- package/dist/hierCluster-JU5JPLM7.js +55 -0
- package/dist/hierCluster-LSSH275H.js +59 -0
- package/dist/hierCluster.config-ILOR7GBB.js +36 -0
- package/dist/hierCluster.integration.spec-CNR5OJOH.js +483 -0
- package/dist/hierCluster.interactivity-TLEIVTFK.js +49 -0
- package/dist/hierCluster.renderers-P7JNIT3N.js +19 -0
- package/dist/imagePlot-BF67SXQR.js +156 -0
- package/dist/importPlot-OHXSXNZN.js +8 -0
- package/dist/isoformExpression-4VKHE4HA.js +35 -0
- package/dist/isoformExpression.unit.spec-4TVSIFG4.js +237 -0
- package/dist/junction-VUHORV43.js +36 -0
- package/dist/junction.customTerm-FRYWSS4P.js +16 -0
- package/dist/junction.unit.spec-KKVLYT7Q.js +182 -0
- package/dist/launch.adhoc-UDYMFZTQ.js +37 -0
- package/dist/leftlabel.sample-R5FFBWG3.js +258 -0
- package/dist/legacyDataset-IEFWFVS6.js +117 -0
- package/dist/lollipop-3IX6ZYUN.js +166 -0
- package/dist/maf-42UFYSL4.js +455 -0
- package/dist/maftimeline-M5WYEN62.js +587 -0
- package/dist/matrix-CI76EDHU.js +54 -0
- package/dist/matrix-WJZKA6VR.js +59 -0
- package/dist/matrix.cells-ZFKVIPDC.js +26 -0
- package/dist/matrix.config-24TFHBEM.js +37 -0
- package/dist/matrix.data-NCGZPNWR.js +23 -0
- package/dist/matrix.groups-XQJTGM6M.js +26 -0
- package/dist/matrix.integration.spec-OGXZUDE6.js +3160 -0
- package/dist/matrix.interactivity-ZOOTPNSW.js +37 -0
- package/dist/matrix.layout-5J2YENK3.js +39 -0
- package/dist/matrix.legend-U36VCS46.js +20 -0
- package/dist/matrix.renderers-4KFE7ZVR.js +34 -0
- package/dist/matrix.serieses-AW7XBXLJ.js +19 -0
- package/dist/matrix.sort-7PMECLOE.js +26 -0
- package/dist/matrix.sort.unit.spec-GIA2YOTQ.js +468 -0
- package/dist/matrix.sorterUi-J6PRUT6J.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-OPGKZZL6.js +338 -0
- package/dist/matrix.unit.spec-7UIVVR4T.js +150 -0
- package/dist/mavb-MSYUMT6W.js +727 -0
- package/dist/mds.fimo-OYEAQP37.js +513 -0
- package/dist/mds.samplescatterplot-EXISSRQQ.js +1545 -0
- package/dist/mds.survivalplot-SZST6BLN.js +477 -0
- package/dist/multivalue-YDE7L75Y.js +83 -0
- package/dist/numericDictTermCluster-5AKP6ICC.js +63 -0
- package/dist/oncomatrix-2OEIYWR6.js +290 -0
- package/dist/oncomatrix.spec-CXQW4JWU.js +443 -0
- package/dist/plot.2dvaf-LN7A3NNC.js +372 -0
- package/dist/plot.app-YIQOY2Z7.js +36 -0
- package/dist/plot.barplot-HF2J25XP.js +97 -0
- package/dist/plot.boxplot-YJH4L27U.js +146 -0
- package/dist/plot.brainImaging-PS4TRSPI.js +51 -0
- package/dist/plot.disco-BN5RNZ6Q.js +99 -0
- package/dist/plot.ssgq-N2HTOIY3.js +134 -0
- package/dist/plot.vaf2cov-6AOHRUQ2.js +253 -0
- package/dist/polar2-TC5OEJRE.js +232 -0
- package/dist/profileForms-5WV2TSBB.js +941 -0
- package/dist/profilePlot-OJLLW44P.js +49 -0
- package/dist/proteinView-CGNAJN4S.js +1357 -0
- package/dist/proteinView-CGNAJN4S.js.map +7 -0
- package/dist/proteomeCohortCompare-XXQGGVCF.js +912 -0
- package/dist/proteomeCohortCompare-XXQGGVCF.js.map +7 -0
- package/dist/pseudbulk.unit.spec-RAYRGN6C.js +86 -0
- package/dist/pseudobulk-ADHAYVSQ.js +35 -0
- package/dist/qualitative-JXEI3IYC.js +38 -0
- package/dist/radar2-BWTKSTT3.js +327 -0
- package/dist/radarFacility2-WIRSKTDG.js +335 -0
- package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +211 -0
- package/dist/render-J7WOYBOL.js +33 -0
- package/dist/report-DRPCXX2B.js +217 -0
- package/dist/sampleView-BV6BQGGQ.js +43 -0
- package/dist/samplelst-ZD63EYO7.js +106 -0
- package/dist/samplematrix-ZZ3DVELU.js +2193 -0
- package/dist/sc-MUI43YTB.js +81 -0
- package/dist/scatter-7B44HTKN.js +88 -0
- package/dist/scatter-UEDVIE4Y.js +880 -0
- package/dist/selectGenomeWithTklst-WGOKGVZ5.js +129 -0
- package/dist/singleCellCellType-Z7OXK7PI.js +33 -0
- package/dist/singleCellCellType.unit.spec-IIOVCCJQ.js +154 -0
- package/dist/singleCellGeneExpression-LYZAIJ2Z.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-67AAWZTG.js +148 -0
- package/dist/singleCellPlot-TXPYQLSH.js +49 -0
- package/dist/singlecell-22OG6HNI.js +1566 -0
- package/dist/singlecell-7TBALI2S.js +81 -0
- package/dist/snp-3U2G3Z57.js +33 -0
- package/dist/snp.unit.spec-BMBBUBYD.js +171 -0
- package/dist/snplocus-SSVZDIQV.js +203 -0
- package/dist/spliceevent.a53ss.diagram-FK7CN4AU.js +146 -0
- package/dist/spliceevent.exonskip.diagram-EFLGV3O4.js +278 -0
- package/dist/spliceevent.noeventdiagram-2DYO7CCZ.js +455 -0
- package/dist/ssGSEA-52LWBQJP.js +33 -0
- package/dist/ssGSEA.unit.spec-3JV6WHUQ.js +83 -0
- package/dist/stattable-RLMYQ4G6.js +117 -0
- package/dist/studyCatalog-DKB3U7EV.js +414 -0
- package/dist/studyCatalog-DKB3U7EV.js.map +7 -0
- package/dist/summarizeCnvGeneexp-QPRYAKC2.js +158 -0
- package/dist/summarizeGeneexpSurvival-RWVQXEKB.js +105 -0
- package/dist/summarizeMutationCnv-DW5F6NUJ.js +159 -0
- package/dist/summarizeMutationDiagnosis-5FOQ7CHI.js +35 -0
- package/dist/summarizeMutationSurvival-4UKB4EVO.js +99 -0
- package/dist/summary-TYC6QNT4.js +42 -0
- package/dist/summary.integration.spec-5GLJJZNM.js +409 -0
- package/dist/summaryInput-4IJGKW4P.js +242 -0
- package/dist/sunburst-G7DGATWP.js +278 -0
- package/dist/survival-IHM6A7LL.js +1248 -0
- package/dist/survival-MKNABJPU.js +53 -0
- package/dist/survival.integration.spec-THOKI3DL.js +613 -0
- package/dist/survival.integration.spec-THOKI3DL.js.map +7 -0
- package/dist/svgraph-VB7JWWR5.js +1382 -0
- package/dist/svmr-VLQIO2U5.js +3837 -0
- package/dist/table-EAXMDWOY.js +197 -0
- package/dist/termCollection-5LG7ICQY.js +252 -0
- package/dist/termCollection-SB6MWLFK.js +33 -0
- package/dist/termCollection.unit.spec-H5ITGTR3.js +299 -0
- package/dist/termCollectionFractionSelection-2XZSTDCQ.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-BIO7V6KA.js +188 -0
- package/dist/tk-TRWYZLQ2.js +1121 -0
- package/dist/tk-VZI5HNSX.js +41 -0
- package/dist/tp.ui-J5SNNAT3.js +1454 -0
- package/dist/tvs.dt-6YHFJPER.js +34 -0
- package/dist/tvs.dtcnv.categorical-WTIE63GM.js +35 -0
- package/dist/tvs.dtcnv.continuous-OCMKGTF5.js +67 -0
- package/dist/tvs.dtfusion-CA23UNM3.js +35 -0
- package/dist/tvs.dtitd-VSYMR3OD.js +35 -0
- package/dist/tvs.dtsnvindel-YBNO3CYF.js +35 -0
- package/dist/tvs.dtsv-S743GBB5.js +35 -0
- package/dist/tvs.numeric-22AHXO5K.js +20 -0
- package/dist/tvs.samplelst-XAJO4EM6.js +98 -0
- package/dist/tvs.termCollection-QOVJGAUC.js +124 -0
- package/dist/vocabulary-6EADTHP3.js +36 -0
- package/dist/wsi.direct-2WB2NGC5.js +8184 -0
- package/package.json +3 -3
- package/dist/2dmaf-ZQ7ACPAD.js +0 -1367
- package/dist/AggMatrixInput-EACGUIQA.js +0 -277
- package/dist/AggregateMatrix-TC5DTSYN.js +0 -41
- package/dist/AppHeader-PHI6US5B.js +0 -830
- package/dist/BoxPlot-QWKK3IJ7.js +0 -1211
- package/dist/CorrelationVolcano-QJJN7FVP.js +0 -614
- package/dist/Cuminc-6F2C5C4E.js +0 -1219
- package/dist/DE-HRJH6ZQL.js +0 -89
- package/dist/DEinput-T3MPAYPH.js +0 -499
- package/dist/DM-PEG4ED2X.js +0 -90
- package/dist/DifferentialAnalysis-XGXHWGPI.js +0 -237
- package/dist/Disco-7SRTTB3X.js +0 -3389
- package/dist/Disco.UI-CKKZ5MMK.js +0 -243
- package/dist/DmrPlot-N4CT4J2I.js +0 -637
- package/dist/GB-NVCLPRWN.js +0 -1391
- package/dist/GSEA-UZUNJG7Z.js +0 -851
- package/dist/GeneExpInput-3MDN2CAW.js +0 -362
- package/dist/Geomap-ZUF2PE5A.js +0 -84
- package/dist/HicApp-OIJT5TFU.js +0 -2245
- package/dist/IDCViewer-ZSH2E57L.js +0 -10812
- package/dist/NumBinaryEditor-74ZPGT7L.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-T2I66SO5.js +0 -312
- package/dist/NumContEditor-M2GARZXM.js +0 -105
- package/dist/NumContEditor.unit.spec-G2QBBNH7.js +0 -164
- package/dist/NumCustomBinEditor-P44G67KS.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-AZHJN3V6.js +0 -397
- package/dist/NumDiscreteEditor-VOZ63LZY.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-CFSVPNBA.js +0 -233
- package/dist/NumRegularBinEditor-I6GJQR7W.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-IDJE7H6S.js +0 -278
- package/dist/NumSplineEditor-BCGWE52A.js +0 -210
- package/dist/NumSplineEditor.unit.spec-YQAL7L2E.js +0 -224
- package/dist/NumericDensity-P25W63RV.js +0 -33
- package/dist/NumericDensity.unit.spec-N7CQ5W5L.js +0 -418
- package/dist/NumericHandler-R7JWIFEO.js +0 -34
- package/dist/NumericHandler.unit.spec-LMGIAGZJ.js +0 -214
- package/dist/ProteomeInput-PRYKKF5E.js +0 -388
- package/dist/Regression-PSHH7ZXN.js +0 -1416
- package/dist/RunChart2-KJ2UWVCE.js +0 -749
- package/dist/SC-R6ZIJZ6F.js +0 -1107
- package/dist/Violin-GTQAUJ7B.js +0 -1082
- package/dist/Volcano-NER64J7W.js +0 -1649
- package/dist/Wsi-GXNGL7O6.js +0 -431
- package/dist/adSandbox-SXSHVG4P.js +0 -33
- package/dist/animatedBubbleChart-Q4NEETEH.js +0 -547
- package/dist/app-MX4PL2QO.js +0 -42
- package/dist/app-R5CTEVAC.js +0 -32
- package/dist/bam-45N3FEEM.js +0 -876
- package/dist/barchart-YCTKQJQX.js +0 -42
- package/dist/barchart2-252GS3CA.js +0 -309
- package/dist/block-CR75JHV3.js +0 -6249
- package/dist/block.init-U3JMED2E.js +0 -33
- package/dist/block.mds.expressionrank-TAN3BDPS.js +0 -354
- package/dist/block.mds.geneboxplot-EN344GEP.js +0 -823
- package/dist/block.mds.junction-RFVVJUTR.js +0 -1539
- package/dist/block.mds.svcnv-SSUMXEWD.js +0 -6796
- package/dist/block.svg-LRPGNFFI.js +0 -159
- package/dist/block.tk.aicheck-YY23FT2G.js +0 -278
- package/dist/block.tk.ase-JCGPFKFT.js +0 -360
- package/dist/block.tk.bam-NZDC4H7Y.js +0 -1901
- package/dist/block.tk.bedgraphdot-NCNZPZH6.js +0 -379
- package/dist/block.tk.bigwig.ui-Z7G6ZITU.js +0 -206
- package/dist/block.tk.hicstraw-VVDP4UF5.js +0 -818
- package/dist/block.tk.junction-L4YBPAHM.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-6CMKKUB5.js +0 -194
- package/dist/block.tk.ld-VCP2R5UO.js +0 -94
- package/dist/block.tk.menu-ZJYGMEDX.js +0 -1024
- package/dist/block.tk.pgv-M5WNUIVS.js +0 -938
- package/dist/brainImaging-JGECJHZO.js +0 -515
- package/dist/brainRegions-NTEAXNZJ.js +0 -234
- package/dist/brainRegions-NTEAXNZJ.js.map +0 -7
- package/dist/bubbleHeatmap-7DQNWBQ2.js +0 -378
- package/dist/cellTypeBubbleHeatmap-LAE7U3RF.js +0 -278
- package/dist/chunk-2AQT3ZWL.js +0 -626
- package/dist/chunk-2GLNPB5J.js +0 -203
- package/dist/chunk-2O4CS3EZ.js +0 -274
- package/dist/chunk-2Z4ZSINZ.js +0 -323
- package/dist/chunk-2Z4ZSINZ.js.map +0 -7
- package/dist/chunk-3MFFZRH3.js +0 -6360
- package/dist/chunk-3PHXBY3Z.js +0 -1275
- package/dist/chunk-4AQQ3BXD.js +0 -70
- package/dist/chunk-4PPZYVWZ.js +0 -281
- package/dist/chunk-4WEA7HHH.js +0 -26
- package/dist/chunk-57NYHASA.js +0 -38
- package/dist/chunk-5AAAH4OZ.js +0 -141
- package/dist/chunk-5BCNVZIW.js +0 -480
- package/dist/chunk-6JBLNS4D.js +0 -387
- package/dist/chunk-6JBQLOJW.js +0 -1339
- package/dist/chunk-756KZF5Y.js +0 -158
- package/dist/chunk-ABTO5QSB.js +0 -276
- package/dist/chunk-ALEZQQOK.js +0 -299
- package/dist/chunk-APK7TUJX.js +0 -102
- package/dist/chunk-AQAFURQM.js +0 -59
- package/dist/chunk-BEJJS2HC.js +0 -194
- package/dist/chunk-CZ5QLVWK.js +0 -49
- package/dist/chunk-D2MZT7CC.js +0 -176
- package/dist/chunk-D6G64XPJ.js +0 -96
- package/dist/chunk-DE3F7FAP.js +0 -34
- package/dist/chunk-DF3IMIR2.js +0 -464
- package/dist/chunk-E4WIMTK4.js +0 -446
- package/dist/chunk-E7TJXNIL.js +0 -42
- package/dist/chunk-G3JNTWCX.js +0 -103
- package/dist/chunk-GN2IIC6U.js +0 -160
- package/dist/chunk-GRI74AXV.js +0 -294
- package/dist/chunk-HDTFYTEL.js +0 -2694
- package/dist/chunk-HDTFYTEL.js.map +0 -7
- package/dist/chunk-IAE3KWN5.js +0 -550
- package/dist/chunk-IB4NE4SI.js +0 -397
- package/dist/chunk-IK2BO37K.js +0 -1608
- package/dist/chunk-IK2BO37K.js.map +0 -7
- package/dist/chunk-IS4VLUEX.js +0 -382
- package/dist/chunk-J2DICGKC.js +0 -194
- package/dist/chunk-J7JDCNLU.js +0 -24141
- package/dist/chunk-J7JDCNLU.js.map +0 -7
- package/dist/chunk-JBUEQ4E6.js +0 -263
- package/dist/chunk-JIDJBM2R.js +0 -2676
- package/dist/chunk-JNVWSFNC.js +0 -54
- package/dist/chunk-JYOIO5UY.js +0 -2133
- package/dist/chunk-KAFDQKN7.js +0 -1720
- package/dist/chunk-L743GRJE.js +0 -783
- package/dist/chunk-LGOTIL62.js +0 -54
- package/dist/chunk-LHP7RXET.js +0 -243
- package/dist/chunk-LK2GHBUH.js +0 -123
- package/dist/chunk-MAVDQAZE.js +0 -518
- package/dist/chunk-MKT4OJ3G.js +0 -102
- package/dist/chunk-N635HDJ4.js +0 -178
- package/dist/chunk-NFAE6VNU.js +0 -2327
- package/dist/chunk-NG7K5KYO.js +0 -56
- package/dist/chunk-NXVUL3EY.js +0 -2853
- package/dist/chunk-ODMLC5FN.js +0 -55
- package/dist/chunk-OJ4TDGPQ.js +0 -339
- package/dist/chunk-OXLBPSJ6.js +0 -379
- package/dist/chunk-P5GRGXH4.js +0 -98
- package/dist/chunk-POWG4MPT.js +0 -31
- package/dist/chunk-Q25DABNW.js +0 -217
- package/dist/chunk-QHJGWCH3.js +0 -4311
- package/dist/chunk-R5OIIFSF.js +0 -197
- package/dist/chunk-RJFCT67B.js +0 -2784
- package/dist/chunk-RN4BOWRH.js +0 -402
- package/dist/chunk-RZFJ6K77.js +0 -302
- package/dist/chunk-S5UN4VIQ.js +0 -272
- package/dist/chunk-SDMNZJ7X.js +0 -50
- package/dist/chunk-SWZAHJYP.js +0 -170
- package/dist/chunk-SY63UUF7.js +0 -562
- package/dist/chunk-T46FA72N.js +0 -119
- package/dist/chunk-TBPVP3KZ.js +0 -1986
- package/dist/chunk-UM5NWVMA.js +0 -140
- package/dist/chunk-VIBK253J.js +0 -134
- package/dist/chunk-XKL2D2NN.js +0 -240
- package/dist/chunk-XXJT7DSL.js +0 -677
- package/dist/chunk-YHA3AYAM.js +0 -5071
- package/dist/chunk-YLJOZP4P.js +0 -4195
- package/dist/chunk-YN5NY3D3.js +0 -339
- package/dist/chunk-YX6FIREB.js +0 -14
- package/dist/chunk-ZXU4ALLZ.js +0 -129
- package/dist/cohort-75FUW3UO.js +0 -70
- package/dist/condition-VW43Q6ZE.js +0 -327
- package/dist/controls-HOP2AFHD.js +0 -34
- package/dist/controls.config-CMIFSKQE.js +0 -34
- package/dist/correlation-PN7BS5OR.js +0 -95
- package/dist/customdata.inputui-ZBZX63PS.js +0 -284
- package/dist/dataDownload-LGA4LAUF.js +0 -329
- package/dist/databrowser.ui-IQRDVL66.js +0 -425
- package/dist/dictionary-BPWD77LJ.js +0 -113
- package/dist/dnaMethylation-A3XPPBBB.js +0 -33
- package/dist/dnaMethylation.integration.spec-554ITDQC.js +0 -198
- package/dist/dofetch-FQ42AX7C.js +0 -48
- package/dist/e2pca-F3GWG7WZ.js +0 -344
- package/dist/ep-QAVN472H.js +0 -1249
- package/dist/expclust.gdc.spec-DQNX7FTL.js +0 -302
- package/dist/facet-DH7OOZTJ.js +0 -519
- package/dist/gb-OCXOLAMD.js +0 -81
- package/dist/geneExpClustering-DWYRZGTS.js +0 -244
- package/dist/geneExpression-2NKSKZR6.js +0 -33
- package/dist/geneExpression-BGFR3KQE.js +0 -310
- package/dist/geneExpression.unit.spec-63EKKMET.js +0 -99
- package/dist/geneORA-BED6XL4D.js +0 -273
- package/dist/geneRanking-UB5RCQNP.js +0 -548
- package/dist/geneVariant-WJEONTTY.js +0 -286
- package/dist/geneVariant-Y4C2FPJK.js +0 -36
- package/dist/geneVariant.integration.spec-VFYLC47N.js +0 -388
- package/dist/genefusion.ui-P3NBIMLE.js +0 -303
- package/dist/geneset-O22RQAED.js +0 -203
- package/dist/genomeBrowser.spec-MM7WZUGI.js +0 -276
- package/dist/grin2-3YBIRKUT.js +0 -70
- package/dist/grin2-O637DNDS.js +0 -1137
- package/dist/hierCluster-3X3BQVNE.js +0 -59
- package/dist/hierCluster-7P7M75TU.js +0 -55
- package/dist/hierCluster.config-XFUOLLDK.js +0 -36
- package/dist/hierCluster.integration.spec-HKYGSDDG.js +0 -483
- package/dist/hierCluster.interactivity-JUZSWCM7.js +0 -49
- package/dist/hierCluster.renderers-NGPPAYFM.js +0 -19
- package/dist/imagePlot-LKGAFJO7.js +0 -156
- package/dist/importPlot-SRWQA2FH.js +0 -8
- package/dist/isoformExpression-RYIZQIVX.js +0 -35
- package/dist/isoformExpression.unit.spec-DP4ECITF.js +0 -237
- package/dist/junction-D7QQ3YSG.js +0 -36
- package/dist/junction.customTerm-ZEVNCVU7.js +0 -16
- package/dist/junction.unit.spec-6MAKIB3R.js +0 -182
- package/dist/launch.adhoc-FAHRZFYG.js +0 -37
- package/dist/leftlabel.sample-PDZLWLJ4.js +0 -258
- package/dist/legacyDataset-27L4DMCL.js +0 -117
- package/dist/lollipop-VWGJUHNX.js +0 -166
- package/dist/maf-W52H44WK.js +0 -455
- package/dist/maftimeline-5JV3HZLE.js +0 -587
- package/dist/matrix-CEVGKXSK.js +0 -54
- package/dist/matrix-EXNYXYLK.js +0 -59
- package/dist/matrix.cells-DVPWSLJW.js +0 -26
- package/dist/matrix.config-RLSTWDXC.js +0 -37
- package/dist/matrix.data-Z6GUACVZ.js +0 -23
- package/dist/matrix.groups-3ZSTUWRK.js +0 -26
- package/dist/matrix.integration.spec-4U2R3UB2.js +0 -3160
- package/dist/matrix.interactivity-DJZFQ7DN.js +0 -37
- package/dist/matrix.layout-RQJ6VB4P.js +0 -39
- package/dist/matrix.legend-YQ36NWKW.js +0 -20
- package/dist/matrix.renderers-MWDFI6HW.js +0 -34
- package/dist/matrix.serieses-LTC4RLYD.js +0 -19
- package/dist/matrix.sort-5VFYLABY.js +0 -26
- package/dist/matrix.sort.unit.spec-2RUEKUT4.js +0 -468
- package/dist/matrix.sorterUi-EEMYZLPI.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-ZXGSPRFZ.js +0 -338
- package/dist/matrix.unit.spec-HTF6UV4L.js +0 -150
- package/dist/mavb-GGQRDCO6.js +0 -727
- package/dist/mds.fimo-YKV5OIYV.js +0 -513
- package/dist/mds.samplescatterplot-RQOEW2AW.js +0 -1545
- package/dist/mds.survivalplot-TN636DED.js +0 -477
- package/dist/multivalue-MDQY64EH.js +0 -83
- package/dist/numericDictTermCluster-E73TJCLI.js +0 -63
- package/dist/oncomatrix-AENXQMLL.js +0 -290
- package/dist/oncomatrix.spec-UD6U462U.js +0 -443
- package/dist/plot.2dvaf-XMRV6KEG.js +0 -372
- package/dist/plot.app-A6JKLYQQ.js +0 -36
- package/dist/plot.barplot-UIX7LVWR.js +0 -97
- package/dist/plot.boxplot-DIFWVLMA.js +0 -146
- package/dist/plot.brainImaging-ZRPVE2UK.js +0 -51
- package/dist/plot.disco-I56MT3PC.js +0 -99
- package/dist/plot.ssgq-FCKFSZTV.js +0 -134
- package/dist/plot.vaf2cov-E5C7RJ7Z.js +0 -253
- package/dist/polar2-SKVBB4FD.js +0 -232
- package/dist/profileForms-5B3MTUNP.js +0 -941
- package/dist/profilePlot-MCYCGEWT.js +0 -49
- package/dist/proteinView-5X55JWVL.js +0 -1562
- package/dist/proteinView-5X55JWVL.js.map +0 -7
- package/dist/proteomeCohortCompare-WZBMBLFD.js +0 -780
- package/dist/proteomeCohortCompare-WZBMBLFD.js.map +0 -7
- package/dist/pseudbulk.unit.spec-Q4YTIPH7.js +0 -86
- package/dist/pseudobulk-3UIWCCCQ.js +0 -35
- package/dist/qualitative-6TJRXZFV.js +0 -38
- package/dist/radar2-6X4XW5IZ.js +0 -327
- package/dist/radarFacility2-UVPXWPV5.js +0 -335
- package/dist/rememberedGvQ.unit.spec-GVRFRVSO.js +0 -211
- package/dist/render-G7V6R4PV.js +0 -33
- package/dist/report-O7D46EKQ.js +0 -217
- package/dist/sampleView-6Y3OOOMW.js +0 -43
- package/dist/samplelst-JRVC4GYC.js +0 -106
- package/dist/samplematrix-VP5RQVRH.js +0 -2193
- package/dist/sc-BPHVEP6N.js +0 -81
- package/dist/scatter-2YYRZCSW.js +0 -88
- package/dist/scatter-Y4BIG2PW.js +0 -880
- package/dist/selectGenomeWithTklst-2BVZU5SW.js +0 -129
- package/dist/singleCellCellType-XBGCSIQT.js +0 -33
- package/dist/singleCellCellType.unit.spec-T4GFRLVZ.js +0 -154
- package/dist/singleCellGeneExpression-5ZPWLSVW.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-4O5UBUDU.js +0 -148
- package/dist/singleCellPlot-CZLQBGVU.js +0 -49
- package/dist/singlecell-IIUYX7OG.js +0 -1566
- package/dist/singlecell-O3P5BLWT.js +0 -81
- package/dist/snp-ZCYBF3ZQ.js +0 -33
- package/dist/snp.unit.spec-TAGD2DRL.js +0 -171
- package/dist/snplocus-TL25OOPE.js +0 -203
- package/dist/spliceevent.a53ss.diagram-I7J4PQZT.js +0 -146
- package/dist/spliceevent.exonskip.diagram-SB4454HB.js +0 -278
- package/dist/spliceevent.noeventdiagram-FOSDNYLH.js +0 -455
- package/dist/ssGSEA-WANB2X5L.js +0 -33
- package/dist/ssGSEA.unit.spec-4XXWU4XV.js +0 -83
- package/dist/stattable-FNTJLVNB.js +0 -117
- package/dist/studyCatalog-7KEOFLO2.js +0 -378
- package/dist/studyCatalog-7KEOFLO2.js.map +0 -7
- package/dist/summarizeCnvGeneexp-P4AFZMKD.js +0 -158
- package/dist/summarizeGeneexpSurvival-YL2J7F4R.js +0 -105
- package/dist/summarizeMutationCnv-BHBHST5F.js +0 -159
- package/dist/summarizeMutationDiagnosis-Z7ZHTV27.js +0 -35
- package/dist/summarizeMutationSurvival-PZ4TYHT7.js +0 -99
- package/dist/summary-ZMNPO65S.js +0 -42
- package/dist/summary.integration.spec-DPJR2ZBE.js +0 -409
- package/dist/summaryInput-6JUFJZ5P.js +0 -242
- package/dist/sunburst-OWAUI3HC.js +0 -278
- package/dist/survival-6JPKG3VA.js +0 -53
- package/dist/survival-7EXICNK7.js +0 -1248
- package/dist/survival.integration.spec-A6NUJLL6.js +0 -613
- package/dist/survival.integration.spec-A6NUJLL6.js.map +0 -7
- package/dist/svgraph-34IKFHUS.js +0 -1382
- package/dist/svmr-4XNPSVVQ.js +0 -3837
- package/dist/table-LPZATFLC.js +0 -197
- package/dist/termCollection-DYY5FXU5.js +0 -252
- package/dist/termCollection-WOAUFFIC.js +0 -33
- package/dist/termCollection.unit.spec-WTICTZ7H.js +0 -299
- package/dist/termCollectionFractionSelection-K5HPDEFP.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-D7DG2HOI.js +0 -188
- package/dist/tk-DD2LWVGM.js +0 -1121
- package/dist/tk-NV7NBLT6.js +0 -41
- package/dist/tp.ui-B5J3UUVB.js +0 -1454
- package/dist/tvs.dt-XLKQT64T.js +0 -34
- package/dist/tvs.dtcnv.categorical-XIC3RH2D.js +0 -35
- package/dist/tvs.dtcnv.continuous-OA2K4LHF.js +0 -67
- package/dist/tvs.dtfusion-ZGNKALZB.js +0 -35
- package/dist/tvs.dtitd-6QSG4E34.js +0 -35
- package/dist/tvs.dtsnvindel-5CXXOGPH.js +0 -35
- package/dist/tvs.dtsv-QYYEYUD3.js +0 -35
- package/dist/tvs.numeric-3UXW4JHJ.js +0 -20
- package/dist/tvs.samplelst-X77ODFFR.js +0 -98
- package/dist/tvs.termCollection-VXROWAPS.js +0 -124
- package/dist/vocabulary-DKWYTZRC.js +0 -36
- package/dist/wsi.direct-C3HQEC2V.js +0 -8184
- /package/dist/{2dmaf-ZQ7ACPAD.js.map → 2dmaf-5OYM4MXA.js.map} +0 -0
- /package/dist/{AggMatrixInput-EACGUIQA.js.map → AggMatrixInput-4VTI4Y6E.js.map} +0 -0
- /package/dist/{AggregateMatrix-TC5DTSYN.js.map → AggregateMatrix-K7SGNO63.js.map} +0 -0
- /package/dist/{AppHeader-PHI6US5B.js.map → AppHeader-WU6TO2OZ.js.map} +0 -0
- /package/dist/{BoxPlot-QWKK3IJ7.js.map → BoxPlot-OW7U3XTF.js.map} +0 -0
- /package/dist/{CorrelationVolcano-QJJN7FVP.js.map → CorrelationVolcano-B3JTTZHF.js.map} +0 -0
- /package/dist/{Cuminc-6F2C5C4E.js.map → Cuminc-AJEXWRU2.js.map} +0 -0
- /package/dist/{DE-HRJH6ZQL.js.map → DE-2J7DSRPC.js.map} +0 -0
- /package/dist/{DEinput-T3MPAYPH.js.map → DEinput-I7JWNOSD.js.map} +0 -0
- /package/dist/{DM-PEG4ED2X.js.map → DM-NQ46YPGF.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-XGXHWGPI.js.map → DifferentialAnalysis-BFCQBX5J.js.map} +0 -0
- /package/dist/{Disco-7SRTTB3X.js.map → Disco-ZJLVQRTC.js.map} +0 -0
- /package/dist/{Disco.UI-CKKZ5MMK.js.map → Disco.UI-AEDACXW2.js.map} +0 -0
- /package/dist/{DmrPlot-N4CT4J2I.js.map → DmrPlot-QMRXAOM3.js.map} +0 -0
- /package/dist/{GB-NVCLPRWN.js.map → GB-MFU2UJ22.js.map} +0 -0
- /package/dist/{GSEA-UZUNJG7Z.js.map → GSEA-E3NHU22A.js.map} +0 -0
- /package/dist/{GeneExpInput-3MDN2CAW.js.map → GeneExpInput-MIUNSOPY.js.map} +0 -0
- /package/dist/{Geomap-ZUF2PE5A.js.map → Geomap-HAJG3STN.js.map} +0 -0
- /package/dist/{HicApp-OIJT5TFU.js.map → HicApp-ECFFIRWI.js.map} +0 -0
- /package/dist/{IDCViewer-ZSH2E57L.js.map → IDCViewer-TNSD3U2V.js.map} +0 -0
- /package/dist/{NumBinaryEditor-74ZPGT7L.js.map → NumBinaryEditor-CNBGZ6WY.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-T2I66SO5.js.map → NumBinaryEditor.unit.spec-SKFDALF3.js.map} +0 -0
- /package/dist/{NumContEditor-M2GARZXM.js.map → NumContEditor-7ID2U7JL.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-G2QBBNH7.js.map → NumContEditor.unit.spec-XHSQSAWK.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-P44G67KS.js.map → NumCustomBinEditor-PAIPRJPO.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-AZHJN3V6.js.map → NumCustomBinEditor.unit.spec-QYVZMMHV.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-VOZ63LZY.js.map → NumDiscreteEditor-K2NZZQTH.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-CFSVPNBA.js.map → NumDiscreteEditor.unit.spec-3CG5VEQL.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-I6GJQR7W.js.map → NumRegularBinEditor-EOVZ22TP.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-IDJE7H6S.js.map → NumRegularBinEditor.unit.spec-FHTVH5FH.js.map} +0 -0
- /package/dist/{NumSplineEditor-BCGWE52A.js.map → NumSplineEditor-N3REMJUC.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-YQAL7L2E.js.map → NumSplineEditor.unit.spec-DZCP35GL.js.map} +0 -0
- /package/dist/{NumericDensity-P25W63RV.js.map → NumericDensity-42MWVI2S.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-N7CQ5W5L.js.map → NumericDensity.unit.spec-T2HHSQON.js.map} +0 -0
- /package/dist/{NumericHandler-R7JWIFEO.js.map → NumericHandler-5XU3SSPD.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-LMGIAGZJ.js.map → NumericHandler.unit.spec-3F23KSAQ.js.map} +0 -0
- /package/dist/{ProteomeInput-PRYKKF5E.js.map → ProteomeInput-UN2BUNRO.js.map} +0 -0
- /package/dist/{Regression-PSHH7ZXN.js.map → Regression-HWLJENA5.js.map} +0 -0
- /package/dist/{RunChart2-KJ2UWVCE.js.map → RunChart2-YO55WE4M.js.map} +0 -0
- /package/dist/{SC-R6ZIJZ6F.js.map → SC-LEDJ4DQR.js.map} +0 -0
- /package/dist/{Violin-GTQAUJ7B.js.map → Violin-E6PDJZ2B.js.map} +0 -0
- /package/dist/{Volcano-NER64J7W.js.map → Volcano-XJTBWYUK.js.map} +0 -0
- /package/dist/{Wsi-GXNGL7O6.js.map → Wsi-S675CYTW.js.map} +0 -0
- /package/dist/{adSandbox-SXSHVG4P.js.map → adSandbox-ZJQ5ZW2T.js.map} +0 -0
- /package/dist/{animatedBubbleChart-Q4NEETEH.js.map → animatedBubbleChart-LRUS7W36.js.map} +0 -0
- /package/dist/{app-MX4PL2QO.js.map → app-7Q3QIBU4.js.map} +0 -0
- /package/dist/{app-R5CTEVAC.js.map → app-PKSI4MV5.js.map} +0 -0
- /package/dist/{bam-45N3FEEM.js.map → bam-X5JH5ZT7.js.map} +0 -0
- /package/dist/{barchart-YCTKQJQX.js.map → barchart-UT6J4L2N.js.map} +0 -0
- /package/dist/{barchart2-252GS3CA.js.map → barchart2-ZG5QJO3C.js.map} +0 -0
- /package/dist/{block-CR75JHV3.js.map → block-TC466NGW.js.map} +0 -0
- /package/dist/{block.init-U3JMED2E.js.map → block.init-CIBNSYAC.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-TAN3BDPS.js.map → block.mds.expressionrank-EY5PCQCK.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-EN344GEP.js.map → block.mds.geneboxplot-R6AOMHO5.js.map} +0 -0
- /package/dist/{block.mds.junction-RFVVJUTR.js.map → block.mds.junction-JMV6FNYC.js.map} +0 -0
- /package/dist/{block.mds.svcnv-SSUMXEWD.js.map → block.mds.svcnv-IHTV3QYG.js.map} +0 -0
- /package/dist/{block.svg-LRPGNFFI.js.map → block.svg-NTFLVQAQ.js.map} +0 -0
- /package/dist/{block.tk.aicheck-YY23FT2G.js.map → block.tk.aicheck-FYPL32Y4.js.map} +0 -0
- /package/dist/{block.tk.ase-JCGPFKFT.js.map → block.tk.ase-FWCB6VBO.js.map} +0 -0
- /package/dist/{block.tk.bam-NZDC4H7Y.js.map → block.tk.bam-Q5UFUABN.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-NCNZPZH6.js.map → block.tk.bedgraphdot-KBI3GFDM.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-Z7G6ZITU.js.map → block.tk.bigwig.ui-KXNFX7G7.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-VVDP4UF5.js.map → block.tk.hicstraw-MQBH3YAJ.js.map} +0 -0
- /package/dist/{block.tk.junction-L4YBPAHM.js.map → block.tk.junction-EBTVXLJH.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-6CMKKUB5.js.map → block.tk.junction.textmatrixui-ETYLCP2O.js.map} +0 -0
- /package/dist/{block.tk.ld-VCP2R5UO.js.map → block.tk.ld-NLB6L6WQ.js.map} +0 -0
- /package/dist/{block.tk.menu-ZJYGMEDX.js.map → block.tk.menu-PJLCOXVJ.js.map} +0 -0
- /package/dist/{block.tk.pgv-M5WNUIVS.js.map → block.tk.pgv-JOIQVWL2.js.map} +0 -0
- /package/dist/{brainImaging-JGECJHZO.js.map → brainImaging-SPRC3QFB.js.map} +0 -0
- /package/dist/{bubbleHeatmap-7DQNWBQ2.js.map → bubbleHeatmap-CFTZ5RXH.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-LAE7U3RF.js.map → cellTypeBubbleHeatmap-DXPLFT5U.js.map} +0 -0
- /package/dist/{chunk-APK7TUJX.js.map → chunk-2BQ572SL.js.map} +0 -0
- /package/dist/{chunk-G3JNTWCX.js.map → chunk-2DQIQYY3.js.map} +0 -0
- /package/dist/{chunk-VIBK253J.js.map → chunk-2POQWEK6.js.map} +0 -0
- /package/dist/{chunk-E4WIMTK4.js.map → chunk-2SQEVMAL.js.map} +0 -0
- /package/dist/{chunk-756KZF5Y.js.map → chunk-37HTZ6IG.js.map} +0 -0
- /package/dist/{chunk-JIDJBM2R.js.map → chunk-452765PG.js.map} +0 -0
- /package/dist/{chunk-POWG4MPT.js.map → chunk-4DXQJGJ7.js.map} +0 -0
- /package/dist/{chunk-N635HDJ4.js.map → chunk-54KC7DAB.js.map} +0 -0
- /package/dist/{chunk-L743GRJE.js.map → chunk-5D5YTFI2.js.map} +0 -0
- /package/dist/{chunk-ZXU4ALLZ.js.map → chunk-5DBW3WLK.js.map} +0 -0
- /package/dist/{chunk-RN4BOWRH.js.map → chunk-5ILEFNXJ.js.map} +0 -0
- /package/dist/{chunk-AQAFURQM.js.map → chunk-5UO7MKCO.js.map} +0 -0
- /package/dist/{chunk-LHP7RXET.js.map → chunk-7R7P6VMT.js.map} +0 -0
- /package/dist/{chunk-D6G64XPJ.js.map → chunk-7X6NF7NI.js.map} +0 -0
- /package/dist/{chunk-4WEA7HHH.js.map → chunk-ANGLZ4XR.js.map} +0 -0
- /package/dist/{chunk-57NYHASA.js.map → chunk-BMQDU7KN.js.map} +0 -0
- /package/dist/{chunk-4PPZYVWZ.js.map → chunk-C5TU4AYP.js.map} +0 -0
- /package/dist/{chunk-QHJGWCH3.js.map → chunk-DBQA6QIJ.js.map} +0 -0
- /package/dist/{chunk-E7TJXNIL.js.map → chunk-DHNET3P4.js.map} +0 -0
- /package/dist/{chunk-IS4VLUEX.js.map → chunk-EGKHDALO.js.map} +0 -0
- /package/dist/{chunk-DE3F7FAP.js.map → chunk-EPWGUWQP.js.map} +0 -0
- /package/dist/{chunk-6JBQLOJW.js.map → chunk-F3EYPES3.js.map} +0 -0
- /package/dist/{chunk-BEJJS2HC.js.map → chunk-F4DM3WS4.js.map} +0 -0
- /package/dist/{chunk-GRI74AXV.js.map → chunk-FTLCINDC.js.map} +0 -0
- /package/dist/{chunk-5BCNVZIW.js.map → chunk-GT6WJUJY.js.map} +0 -0
- /package/dist/{chunk-4AQQ3BXD.js.map → chunk-GWCK5QGV.js.map} +0 -0
- /package/dist/{chunk-DF3IMIR2.js.map → chunk-HJSGHFJ6.js.map} +0 -0
- /package/dist/{chunk-CZ5QLVWK.js.map → chunk-HS6BTSFX.js.map} +0 -0
- /package/dist/{chunk-YHA3AYAM.js.map → chunk-IB5TKNG5.js.map} +0 -0
- /package/dist/{chunk-LGOTIL62.js.map → chunk-IIMTOPH3.js.map} +0 -0
- /package/dist/{chunk-S5UN4VIQ.js.map → chunk-JAXN3Q3K.js.map} +0 -0
- /package/dist/{chunk-NXVUL3EY.js.map → chunk-K6PYTAXW.js.map} +0 -0
- /package/dist/{chunk-5AAAH4OZ.js.map → chunk-KIRZXPMB.js.map} +0 -0
- /package/dist/{chunk-3PHXBY3Z.js.map → chunk-KT4OZVO3.js.map} +0 -0
- /package/dist/{chunk-JNVWSFNC.js.map → chunk-L32KMIC3.js.map} +0 -0
- /package/dist/{chunk-LK2GHBUH.js.map → chunk-LB7NENEB.js.map} +0 -0
- /package/dist/{chunk-SY63UUF7.js.map → chunk-LDWMVZYF.js.map} +0 -0
- /package/dist/{chunk-UM5NWVMA.js.map → chunk-M367Y7ML.js.map} +0 -0
- /package/dist/{chunk-YN5NY3D3.js.map → chunk-M4XXKTH2.js.map} +0 -0
- /package/dist/{chunk-D2MZT7CC.js.map → chunk-ME7OF3CS.js.map} +0 -0
- /package/dist/{chunk-2AQT3ZWL.js.map → chunk-N2CXLMNX.js.map} +0 -0
- /package/dist/{chunk-T46FA72N.js.map → chunk-N7DVQTPC.js.map} +0 -0
- /package/dist/{chunk-MAVDQAZE.js.map → chunk-N7TD7N7D.js.map} +0 -0
- /package/dist/{chunk-ALEZQQOK.js.map → chunk-NBX6TT5C.js.map} +0 -0
- /package/dist/{chunk-TBPVP3KZ.js.map → chunk-NLR7JIMM.js.map} +0 -0
- /package/dist/{chunk-OJ4TDGPQ.js.map → chunk-NSRGYBDM.js.map} +0 -0
- /package/dist/{chunk-OXLBPSJ6.js.map → chunk-NVS7KYYI.js.map} +0 -0
- /package/dist/{chunk-IB4NE4SI.js.map → chunk-OVPEMVXT.js.map} +0 -0
- /package/dist/{chunk-2O4CS3EZ.js.map → chunk-OXWLQQXL.js.map} +0 -0
- /package/dist/{chunk-ODMLC5FN.js.map → chunk-QGGSYEVJ.js.map} +0 -0
- /package/dist/{chunk-SDMNZJ7X.js.map → chunk-QLEVONLD.js.map} +0 -0
- /package/dist/{chunk-P5GRGXH4.js.map → chunk-RNWHB5DI.js.map} +0 -0
- /package/dist/{chunk-JYOIO5UY.js.map → chunk-RPDVFM7E.js.map} +0 -0
- /package/dist/{chunk-2GLNPB5J.js.map → chunk-RUHLDUOT.js.map} +0 -0
- /package/dist/{chunk-R5OIIFSF.js.map → chunk-RV34WFGZ.js.map} +0 -0
- /package/dist/{chunk-3MFFZRH3.js.map → chunk-SDVE5ECI.js.map} +0 -0
- /package/dist/{chunk-SWZAHJYP.js.map → chunk-SWO6DZTG.js.map} +0 -0
- /package/dist/{chunk-6JBLNS4D.js.map → chunk-SYPSS3JQ.js.map} +0 -0
- /package/dist/{chunk-NFAE6VNU.js.map → chunk-TDM3645O.js.map} +0 -0
- /package/dist/{chunk-Q25DABNW.js.map → chunk-VVO3R5JV.js.map} +0 -0
- /package/dist/{chunk-YX6FIREB.js.map → chunk-VYEU6Y35.js.map} +0 -0
- /package/dist/{chunk-JBUEQ4E6.js.map → chunk-WGXC6IEF.js.map} +0 -0
- /package/dist/{chunk-KAFDQKN7.js.map → chunk-WPDM57B5.js.map} +0 -0
- /package/dist/{chunk-RJFCT67B.js.map → chunk-WS7WKS2B.js.map} +0 -0
- /package/dist/{chunk-ABTO5QSB.js.map → chunk-X63NSV33.js.map} +0 -0
- /package/dist/{chunk-NG7K5KYO.js.map → chunk-XXNRSSBR.js.map} +0 -0
- /package/dist/{chunk-MKT4OJ3G.js.map → chunk-YD6UGDFI.js.map} +0 -0
- /package/dist/{chunk-GN2IIC6U.js.map → chunk-YRIYDFNU.js.map} +0 -0
- /package/dist/{chunk-J2DICGKC.js.map → chunk-YY5WQQ3J.js.map} +0 -0
- /package/dist/{chunk-YLJOZP4P.js.map → chunk-Z2ZITHT4.js.map} +0 -0
- /package/dist/{chunk-RZFJ6K77.js.map → chunk-Z4SM3FBK.js.map} +0 -0
- /package/dist/{chunk-XKL2D2NN.js.map → chunk-ZEYEIUEZ.js.map} +0 -0
- /package/dist/{chunk-XXJT7DSL.js.map → chunk-ZLYTDHQP.js.map} +0 -0
- /package/dist/{chunk-IAE3KWN5.js.map → chunk-ZWCVRVV4.js.map} +0 -0
- /package/dist/{cohort-75FUW3UO.js.map → cohort-FZNMFWOX.js.map} +0 -0
- /package/dist/{condition-VW43Q6ZE.js.map → condition-AJJLFCBQ.js.map} +0 -0
- /package/dist/{controls-HOP2AFHD.js.map → controls-SZOLV37V.js.map} +0 -0
- /package/dist/{controls.config-CMIFSKQE.js.map → controls.config-CVP75WFA.js.map} +0 -0
- /package/dist/{correlation-PN7BS5OR.js.map → correlation-UFJFQHQ3.js.map} +0 -0
- /package/dist/{customdata.inputui-ZBZX63PS.js.map → customdata.inputui-HOVA4A6O.js.map} +0 -0
- /package/dist/{dataDownload-LGA4LAUF.js.map → dataDownload-VTUG4IOK.js.map} +0 -0
- /package/dist/{databrowser.ui-IQRDVL66.js.map → databrowser.ui-O5S4Y4EK.js.map} +0 -0
- /package/dist/{dictionary-BPWD77LJ.js.map → dictionary-L2UNNNP7.js.map} +0 -0
- /package/dist/{dnaMethylation-A3XPPBBB.js.map → dnaMethylation-B4SWZI4O.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-554ITDQC.js.map → dnaMethylation.integration.spec-ANJAMNYJ.js.map} +0 -0
- /package/dist/{dofetch-FQ42AX7C.js.map → dofetch-F5XSHQIS.js.map} +0 -0
- /package/dist/{e2pca-F3GWG7WZ.js.map → e2pca-66ARIMKL.js.map} +0 -0
- /package/dist/{ep-QAVN472H.js.map → ep-OFGJYVUY.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-DQNX7FTL.js.map → expclust.gdc.spec-22RXQTTP.js.map} +0 -0
- /package/dist/{facet-DH7OOZTJ.js.map → facet-GVZQ3RPN.js.map} +0 -0
- /package/dist/{gb-OCXOLAMD.js.map → gb-HEPGVYEK.js.map} +0 -0
- /package/dist/{geneExpClustering-DWYRZGTS.js.map → geneExpClustering-3NU2U422.js.map} +0 -0
- /package/dist/{geneExpression-BGFR3KQE.js.map → geneExpression-FXQ4L2J2.js.map} +0 -0
- /package/dist/{geneExpression-2NKSKZR6.js.map → geneExpression-XYVYJJA5.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-63EKKMET.js.map → geneExpression.unit.spec-K3FIRSNK.js.map} +0 -0
- /package/dist/{geneORA-BED6XL4D.js.map → geneORA-5M2JSDMF.js.map} +0 -0
- /package/dist/{geneRanking-UB5RCQNP.js.map → geneRanking-TP3R3CS3.js.map} +0 -0
- /package/dist/{geneVariant-Y4C2FPJK.js.map → geneVariant-232EYUFJ.js.map} +0 -0
- /package/dist/{geneVariant-WJEONTTY.js.map → geneVariant-BHXTPUDC.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-VFYLC47N.js.map → geneVariant.integration.spec-ICFHVFIR.js.map} +0 -0
- /package/dist/{genefusion.ui-P3NBIMLE.js.map → genefusion.ui-ABRCUQFC.js.map} +0 -0
- /package/dist/{geneset-O22RQAED.js.map → geneset-N42FIVA6.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-MM7WZUGI.js.map → genomeBrowser.spec-5HKQKLRU.js.map} +0 -0
- /package/dist/{grin2-O637DNDS.js.map → grin2-H2KJYLP6.js.map} +0 -0
- /package/dist/{grin2-3YBIRKUT.js.map → grin2-NGMTEMXF.js.map} +0 -0
- /package/dist/{hierCluster-3X3BQVNE.js.map → hierCluster-JU5JPLM7.js.map} +0 -0
- /package/dist/{hierCluster-7P7M75TU.js.map → hierCluster-LSSH275H.js.map} +0 -0
- /package/dist/{hierCluster.config-XFUOLLDK.js.map → hierCluster.config-ILOR7GBB.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-HKYGSDDG.js.map → hierCluster.integration.spec-CNR5OJOH.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-JUZSWCM7.js.map → hierCluster.interactivity-TLEIVTFK.js.map} +0 -0
- /package/dist/{hierCluster.renderers-NGPPAYFM.js.map → hierCluster.renderers-P7JNIT3N.js.map} +0 -0
- /package/dist/{imagePlot-LKGAFJO7.js.map → imagePlot-BF67SXQR.js.map} +0 -0
- /package/dist/{importPlot-SRWQA2FH.js.map → importPlot-OHXSXNZN.js.map} +0 -0
- /package/dist/{isoformExpression-RYIZQIVX.js.map → isoformExpression-4VKHE4HA.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-DP4ECITF.js.map → isoformExpression.unit.spec-4TVSIFG4.js.map} +0 -0
- /package/dist/{junction-D7QQ3YSG.js.map → junction-VUHORV43.js.map} +0 -0
- /package/dist/{junction.customTerm-ZEVNCVU7.js.map → junction.customTerm-FRYWSS4P.js.map} +0 -0
- /package/dist/{junction.unit.spec-6MAKIB3R.js.map → junction.unit.spec-KKVLYT7Q.js.map} +0 -0
- /package/dist/{launch.adhoc-FAHRZFYG.js.map → launch.adhoc-UDYMFZTQ.js.map} +0 -0
- /package/dist/{leftlabel.sample-PDZLWLJ4.js.map → leftlabel.sample-R5FFBWG3.js.map} +0 -0
- /package/dist/{legacyDataset-27L4DMCL.js.map → legacyDataset-IEFWFVS6.js.map} +0 -0
- /package/dist/{lollipop-VWGJUHNX.js.map → lollipop-3IX6ZYUN.js.map} +0 -0
- /package/dist/{maf-W52H44WK.js.map → maf-42UFYSL4.js.map} +0 -0
- /package/dist/{maftimeline-5JV3HZLE.js.map → maftimeline-M5WYEN62.js.map} +0 -0
- /package/dist/{matrix-CEVGKXSK.js.map → matrix-CI76EDHU.js.map} +0 -0
- /package/dist/{matrix-EXNYXYLK.js.map → matrix-WJZKA6VR.js.map} +0 -0
- /package/dist/{matrix.cells-DVPWSLJW.js.map → matrix.cells-ZFKVIPDC.js.map} +0 -0
- /package/dist/{matrix.config-RLSTWDXC.js.map → matrix.config-24TFHBEM.js.map} +0 -0
- /package/dist/{matrix.data-Z6GUACVZ.js.map → matrix.data-NCGZPNWR.js.map} +0 -0
- /package/dist/{matrix.groups-3ZSTUWRK.js.map → matrix.groups-XQJTGM6M.js.map} +0 -0
- /package/dist/{matrix.integration.spec-4U2R3UB2.js.map → matrix.integration.spec-OGXZUDE6.js.map} +0 -0
- /package/dist/{matrix.interactivity-DJZFQ7DN.js.map → matrix.interactivity-ZOOTPNSW.js.map} +0 -0
- /package/dist/{matrix.layout-RQJ6VB4P.js.map → matrix.layout-5J2YENK3.js.map} +0 -0
- /package/dist/{matrix.legend-YQ36NWKW.js.map → matrix.legend-U36VCS46.js.map} +0 -0
- /package/dist/{matrix.renderers-MWDFI6HW.js.map → matrix.renderers-4KFE7ZVR.js.map} +0 -0
- /package/dist/{matrix.serieses-LTC4RLYD.js.map → matrix.serieses-AW7XBXLJ.js.map} +0 -0
- /package/dist/{matrix.sort-5VFYLABY.js.map → matrix.sort-7PMECLOE.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-2RUEKUT4.js.map → matrix.sort.unit.spec-GIA2YOTQ.js.map} +0 -0
- /package/dist/{matrix.sorterUi-EEMYZLPI.js.map → matrix.sorterUi-J6PRUT6J.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-ZXGSPRFZ.js.map → matrix.sorterUi.unit.spec-OPGKZZL6.js.map} +0 -0
- /package/dist/{matrix.unit.spec-HTF6UV4L.js.map → matrix.unit.spec-7UIVVR4T.js.map} +0 -0
- /package/dist/{mavb-GGQRDCO6.js.map → mavb-MSYUMT6W.js.map} +0 -0
- /package/dist/{mds.fimo-YKV5OIYV.js.map → mds.fimo-OYEAQP37.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-RQOEW2AW.js.map → mds.samplescatterplot-EXISSRQQ.js.map} +0 -0
- /package/dist/{mds.survivalplot-TN636DED.js.map → mds.survivalplot-SZST6BLN.js.map} +0 -0
- /package/dist/{multivalue-MDQY64EH.js.map → multivalue-YDE7L75Y.js.map} +0 -0
- /package/dist/{numericDictTermCluster-E73TJCLI.js.map → numericDictTermCluster-5AKP6ICC.js.map} +0 -0
- /package/dist/{oncomatrix-AENXQMLL.js.map → oncomatrix-2OEIYWR6.js.map} +0 -0
- /package/dist/{oncomatrix.spec-UD6U462U.js.map → oncomatrix.spec-CXQW4JWU.js.map} +0 -0
- /package/dist/{plot.2dvaf-XMRV6KEG.js.map → plot.2dvaf-LN7A3NNC.js.map} +0 -0
- /package/dist/{plot.app-A6JKLYQQ.js.map → plot.app-YIQOY2Z7.js.map} +0 -0
- /package/dist/{plot.barplot-UIX7LVWR.js.map → plot.barplot-HF2J25XP.js.map} +0 -0
- /package/dist/{plot.boxplot-DIFWVLMA.js.map → plot.boxplot-YJH4L27U.js.map} +0 -0
- /package/dist/{plot.brainImaging-ZRPVE2UK.js.map → plot.brainImaging-PS4TRSPI.js.map} +0 -0
- /package/dist/{plot.disco-I56MT3PC.js.map → plot.disco-BN5RNZ6Q.js.map} +0 -0
- /package/dist/{plot.ssgq-FCKFSZTV.js.map → plot.ssgq-N2HTOIY3.js.map} +0 -0
- /package/dist/{plot.vaf2cov-E5C7RJ7Z.js.map → plot.vaf2cov-6AOHRUQ2.js.map} +0 -0
- /package/dist/{polar2-SKVBB4FD.js.map → polar2-TC5OEJRE.js.map} +0 -0
- /package/dist/{profileForms-5B3MTUNP.js.map → profileForms-5WV2TSBB.js.map} +0 -0
- /package/dist/{profilePlot-MCYCGEWT.js.map → profilePlot-OJLLW44P.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-Q4YTIPH7.js.map → pseudbulk.unit.spec-RAYRGN6C.js.map} +0 -0
- /package/dist/{pseudobulk-3UIWCCCQ.js.map → pseudobulk-ADHAYVSQ.js.map} +0 -0
- /package/dist/{qualitative-6TJRXZFV.js.map → qualitative-JXEI3IYC.js.map} +0 -0
- /package/dist/{radar2-6X4XW5IZ.js.map → radar2-BWTKSTT3.js.map} +0 -0
- /package/dist/{radarFacility2-UVPXWPV5.js.map → radarFacility2-WIRSKTDG.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-GVRFRVSO.js.map → rememberedGvQ.unit.spec-N43O4YTF.js.map} +0 -0
- /package/dist/{render-G7V6R4PV.js.map → render-J7WOYBOL.js.map} +0 -0
- /package/dist/{report-O7D46EKQ.js.map → report-DRPCXX2B.js.map} +0 -0
- /package/dist/{sampleView-6Y3OOOMW.js.map → sampleView-BV6BQGGQ.js.map} +0 -0
- /package/dist/{samplelst-JRVC4GYC.js.map → samplelst-ZD63EYO7.js.map} +0 -0
- /package/dist/{samplematrix-VP5RQVRH.js.map → samplematrix-ZZ3DVELU.js.map} +0 -0
- /package/dist/{sc-BPHVEP6N.js.map → sc-MUI43YTB.js.map} +0 -0
- /package/dist/{scatter-2YYRZCSW.js.map → scatter-7B44HTKN.js.map} +0 -0
- /package/dist/{scatter-Y4BIG2PW.js.map → scatter-UEDVIE4Y.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-2BVZU5SW.js.map → selectGenomeWithTklst-WGOKGVZ5.js.map} +0 -0
- /package/dist/{singleCellCellType-XBGCSIQT.js.map → singleCellCellType-Z7OXK7PI.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-T4GFRLVZ.js.map → singleCellCellType.unit.spec-IIOVCCJQ.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-5ZPWLSVW.js.map → singleCellGeneExpression-LYZAIJ2Z.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-4O5UBUDU.js.map → singleCellGeneExpression.unit.spec-67AAWZTG.js.map} +0 -0
- /package/dist/{singleCellPlot-CZLQBGVU.js.map → singleCellPlot-TXPYQLSH.js.map} +0 -0
- /package/dist/{singlecell-IIUYX7OG.js.map → singlecell-22OG6HNI.js.map} +0 -0
- /package/dist/{singlecell-O3P5BLWT.js.map → singlecell-7TBALI2S.js.map} +0 -0
- /package/dist/{snp-ZCYBF3ZQ.js.map → snp-3U2G3Z57.js.map} +0 -0
- /package/dist/{snp.unit.spec-TAGD2DRL.js.map → snp.unit.spec-BMBBUBYD.js.map} +0 -0
- /package/dist/{snplocus-TL25OOPE.js.map → snplocus-SSVZDIQV.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-I7J4PQZT.js.map → spliceevent.a53ss.diagram-FK7CN4AU.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-SB4454HB.js.map → spliceevent.exonskip.diagram-EFLGV3O4.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-FOSDNYLH.js.map → spliceevent.noeventdiagram-2DYO7CCZ.js.map} +0 -0
- /package/dist/{ssGSEA-WANB2X5L.js.map → ssGSEA-52LWBQJP.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-4XXWU4XV.js.map → ssGSEA.unit.spec-3JV6WHUQ.js.map} +0 -0
- /package/dist/{stattable-FNTJLVNB.js.map → stattable-RLMYQ4G6.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-P4AFZMKD.js.map → summarizeCnvGeneexp-QPRYAKC2.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-YL2J7F4R.js.map → summarizeGeneexpSurvival-RWVQXEKB.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-BHBHST5F.js.map → summarizeMutationCnv-DW5F6NUJ.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-Z7ZHTV27.js.map → summarizeMutationDiagnosis-5FOQ7CHI.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-PZ4TYHT7.js.map → summarizeMutationSurvival-4UKB4EVO.js.map} +0 -0
- /package/dist/{summary-ZMNPO65S.js.map → summary-TYC6QNT4.js.map} +0 -0
- /package/dist/{summary.integration.spec-DPJR2ZBE.js.map → summary.integration.spec-5GLJJZNM.js.map} +0 -0
- /package/dist/{summaryInput-6JUFJZ5P.js.map → summaryInput-4IJGKW4P.js.map} +0 -0
- /package/dist/{sunburst-OWAUI3HC.js.map → sunburst-G7DGATWP.js.map} +0 -0
- /package/dist/{survival-7EXICNK7.js.map → survival-IHM6A7LL.js.map} +0 -0
- /package/dist/{survival-6JPKG3VA.js.map → survival-MKNABJPU.js.map} +0 -0
- /package/dist/{svgraph-34IKFHUS.js.map → svgraph-VB7JWWR5.js.map} +0 -0
- /package/dist/{svmr-4XNPSVVQ.js.map → svmr-VLQIO2U5.js.map} +0 -0
- /package/dist/{table-LPZATFLC.js.map → table-EAXMDWOY.js.map} +0 -0
- /package/dist/{termCollection-DYY5FXU5.js.map → termCollection-5LG7ICQY.js.map} +0 -0
- /package/dist/{termCollection-WOAUFFIC.js.map → termCollection-SB6MWLFK.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-WTICTZ7H.js.map → termCollection.unit.spec-H5ITGTR3.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-K5HPDEFP.js.map → termCollectionFractionSelection-2XZSTDCQ.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-D7DG2HOI.js.map → termCollectionFractionSelection.unit.spec-BIO7V6KA.js.map} +0 -0
- /package/dist/{tk-DD2LWVGM.js.map → tk-TRWYZLQ2.js.map} +0 -0
- /package/dist/{tk-NV7NBLT6.js.map → tk-VZI5HNSX.js.map} +0 -0
- /package/dist/{tp.ui-B5J3UUVB.js.map → tp.ui-J5SNNAT3.js.map} +0 -0
- /package/dist/{tvs.dt-XLKQT64T.js.map → tvs.dt-6YHFJPER.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-XIC3RH2D.js.map → tvs.dtcnv.categorical-WTIE63GM.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-OA2K4LHF.js.map → tvs.dtcnv.continuous-OCMKGTF5.js.map} +0 -0
- /package/dist/{tvs.dtfusion-ZGNKALZB.js.map → tvs.dtfusion-CA23UNM3.js.map} +0 -0
- /package/dist/{tvs.dtitd-6QSG4E34.js.map → tvs.dtitd-VSYMR3OD.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-5CXXOGPH.js.map → tvs.dtsnvindel-YBNO3CYF.js.map} +0 -0
- /package/dist/{tvs.dtsv-QYYEYUD3.js.map → tvs.dtsv-S743GBB5.js.map} +0 -0
- /package/dist/{tvs.numeric-3UXW4JHJ.js.map → tvs.numeric-22AHXO5K.js.map} +0 -0
- /package/dist/{tvs.samplelst-X77ODFFR.js.map → tvs.samplelst-XAJO4EM6.js.map} +0 -0
- /package/dist/{tvs.termCollection-VXROWAPS.js.map → tvs.termCollection-QOVJGAUC.js.map} +0 -0
- /package/dist/{vocabulary-DKWYTZRC.js.map → vocabulary-6EADTHP3.js.map} +0 -0
- /package/dist/{wsi.direct-C3HQEC2V.js.map → wsi.direct-2WB2NGC5.js.map} +0 -0
|
@@ -0,0 +1,1357 @@
|
|
|
1
|
+
import {
|
|
2
|
+
closeTilePanes,
|
|
3
|
+
getLog2Ratio,
|
|
4
|
+
getTileConfig,
|
|
5
|
+
launchViolinPlot,
|
|
6
|
+
makeTileGrid,
|
|
7
|
+
prepareTileData,
|
|
8
|
+
renderCoverageLine,
|
|
9
|
+
renderOverviewVolcanoCard,
|
|
10
|
+
renderPTMSummaryCard,
|
|
11
|
+
renderPlaceholderTiles,
|
|
12
|
+
renderStudyTiles
|
|
13
|
+
} from "./chunk-RFW5BRIZ.js";
|
|
14
|
+
import "./chunk-ILEXRHF7.js";
|
|
15
|
+
import {
|
|
16
|
+
DataPointInteractions,
|
|
17
|
+
LegendCircleReference,
|
|
18
|
+
PlotBase,
|
|
19
|
+
addGeneSearchbox,
|
|
20
|
+
axisstyle,
|
|
21
|
+
make_radios,
|
|
22
|
+
shapeSelector,
|
|
23
|
+
shapes,
|
|
24
|
+
table2col,
|
|
25
|
+
to_svg
|
|
26
|
+
} from "./chunk-Q5SK3U2T.js";
|
|
27
|
+
import {
|
|
28
|
+
aa2gmcoord
|
|
29
|
+
} from "./chunk-HJ6L54YS.js";
|
|
30
|
+
import "./chunk-KV4W2ACA.js";
|
|
31
|
+
import "./chunk-54KC7DAB.js";
|
|
32
|
+
import "./chunk-N7DVQTPC.js";
|
|
33
|
+
import {
|
|
34
|
+
Menu
|
|
35
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
36
|
+
import "./chunk-EEB5VE2A.js";
|
|
37
|
+
import {
|
|
38
|
+
icons
|
|
39
|
+
} from "./chunk-6RRZRISL.js";
|
|
40
|
+
import "./chunk-2KM4PRQM.js";
|
|
41
|
+
import {
|
|
42
|
+
dofetch3
|
|
43
|
+
} from "./chunk-RPDVFM7E.js";
|
|
44
|
+
import "./chunk-M4XXKTH2.js";
|
|
45
|
+
import "./chunk-5ILEFNXJ.js";
|
|
46
|
+
import {
|
|
47
|
+
TermTypes,
|
|
48
|
+
getColors,
|
|
49
|
+
mclass
|
|
50
|
+
} from "./chunk-IZUYLFOX.js";
|
|
51
|
+
import {
|
|
52
|
+
copyMerge,
|
|
53
|
+
getCompInit
|
|
54
|
+
} from "./chunk-WINIL2KN.js";
|
|
55
|
+
import "./chunk-PF4DSFDR.js";
|
|
56
|
+
import "./chunk-7X6NF7NI.js";
|
|
57
|
+
import "./chunk-W5J3LTYS.js";
|
|
58
|
+
import {
|
|
59
|
+
axisBottom,
|
|
60
|
+
axisLeft
|
|
61
|
+
} from "./chunk-Z2ZITHT4.js";
|
|
62
|
+
import {
|
|
63
|
+
linear
|
|
64
|
+
} from "./chunk-4OLM3KSB.js";
|
|
65
|
+
import "./chunk-FXQXCOII.js";
|
|
66
|
+
import {
|
|
67
|
+
roundValue
|
|
68
|
+
} from "./chunk-TLT4YIG3.js";
|
|
69
|
+
import "./chunk-5R63Q5KH.js";
|
|
70
|
+
import {
|
|
71
|
+
creator_default,
|
|
72
|
+
select_default
|
|
73
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
74
|
+
import {
|
|
75
|
+
rgb
|
|
76
|
+
} from "./chunk-Q5RDQNIT.js";
|
|
77
|
+
import "./chunk-DQC5FFGV.js";
|
|
78
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
79
|
+
|
|
80
|
+
// plots/proteinView.ts
|
|
81
|
+
var defaultConfig = {
|
|
82
|
+
chartType: "proteinView"
|
|
83
|
+
};
|
|
84
|
+
var COHORT_VOLCANO_HIT_RADIUS_PADDING_PX = 3;
|
|
85
|
+
var COHORT_VOLCANO_HIT_BUFFER_PX = 2;
|
|
86
|
+
var COHORT_VOLCANO_HOVER_RING_SIZE_SCALE = 1.15;
|
|
87
|
+
var COHORT_VOLCANO_HOVER_RING_STROKE_PX = 1.5;
|
|
88
|
+
var COHORT_VOLCANO_HOVER_MAX_COHORTS = 5;
|
|
89
|
+
var ProteinView = class _ProteinView extends PlotBase {
|
|
90
|
+
static {
|
|
91
|
+
this.type = "proteinView";
|
|
92
|
+
}
|
|
93
|
+
constructor(opts, api) {
|
|
94
|
+
super(opts, api);
|
|
95
|
+
this.type = _ProteinView.type;
|
|
96
|
+
this.components = {};
|
|
97
|
+
}
|
|
98
|
+
async init() {
|
|
99
|
+
const holder = this.opts.holder.append("div").style("padding", "10px");
|
|
100
|
+
this.dom = {
|
|
101
|
+
holder,
|
|
102
|
+
body: holder.append("div"),
|
|
103
|
+
tip: new Menu({ padding: "" }),
|
|
104
|
+
header: this.opts.header
|
|
105
|
+
};
|
|
106
|
+
if (this.dom.header) this.dom.header.html("Protein View");
|
|
107
|
+
}
|
|
108
|
+
getState(appState) {
|
|
109
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
110
|
+
if (!config) throw `No plot with id='${this.id}' found`;
|
|
111
|
+
return { config };
|
|
112
|
+
}
|
|
113
|
+
maySetSandboxHeader() {
|
|
114
|
+
if (!this.dom.header) return;
|
|
115
|
+
const term = this.state.config?.tw?.term;
|
|
116
|
+
const header = `Protein View: ${term?.name}`;
|
|
117
|
+
this.dom.header.text(header);
|
|
118
|
+
}
|
|
119
|
+
async main() {
|
|
120
|
+
const term = this.state.config?.tw?.term;
|
|
121
|
+
if (!term?.name) throw new Error("proteinView: selected protein term is missing");
|
|
122
|
+
const body = {
|
|
123
|
+
genome: this.app.opts.state.vocab.genome,
|
|
124
|
+
dslabel: this.app.opts.state.vocab.dslabel,
|
|
125
|
+
term: this.state.config.tw,
|
|
126
|
+
filter: this.state.config.filter,
|
|
127
|
+
filter0: this.state.config.filter0
|
|
128
|
+
};
|
|
129
|
+
this.maySetSandboxHeader();
|
|
130
|
+
closeTilePanes(this);
|
|
131
|
+
const data = await dofetch3("termdb/proteome", { body });
|
|
132
|
+
if (data.error) throw data.error;
|
|
133
|
+
this.dom.body.selectAll("*").remove();
|
|
134
|
+
const tileData = prepareTileData(data, this);
|
|
135
|
+
renderCoverageLine(this.dom.body, tileData);
|
|
136
|
+
const grid = makeTileGrid(this.dom.body);
|
|
137
|
+
renderOverviewVolcanoCard(grid, data, this, {
|
|
138
|
+
onExpandRender: (holder) => {
|
|
139
|
+
renderCohortVolcano(holder, data, this, tileData.ptmSiteCount);
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
const { missing: missingTiles } = renderStudyTiles(grid, tileData, this);
|
|
143
|
+
const ptmDataByOrganism = /* @__PURE__ */ new Map();
|
|
144
|
+
for (const cohortData of data.cohorts || []) {
|
|
145
|
+
if (!cohortData.PTMType) continue;
|
|
146
|
+
const organism = cohortData.organism;
|
|
147
|
+
const isoform = cohortData.isoform;
|
|
148
|
+
const ptmDataByIsoform = ptmDataByOrganism.get(organism) || /* @__PURE__ */ new Map();
|
|
149
|
+
ptmDataByOrganism.set(organism, ptmDataByIsoform);
|
|
150
|
+
const existingCohorts = ptmDataByIsoform.get(isoform);
|
|
151
|
+
if (!existingCohorts) {
|
|
152
|
+
ptmDataByIsoform.set(isoform, [cohortData]);
|
|
153
|
+
} else {
|
|
154
|
+
existingCohorts.push(cohortData);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
const sections = [];
|
|
158
|
+
for (const [organism, byIso] of ptmDataByOrganism) {
|
|
159
|
+
for (const [isoform, cohorts] of byIso) {
|
|
160
|
+
sections.push({ organism, isoform, cohorts, genomeName: cohorts[0].genomeName });
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
let allGenomes = null;
|
|
164
|
+
const baseGenome = this.app.opts.genome;
|
|
165
|
+
const getGenome = async (genomeName) => {
|
|
166
|
+
if (genomeName === baseGenome.name) return baseGenome;
|
|
167
|
+
if (!allGenomes) {
|
|
168
|
+
const result = await dofetch3("genomes");
|
|
169
|
+
allGenomes = result.genomes || {};
|
|
170
|
+
for (const g2 of Object.values(allGenomes)) {
|
|
171
|
+
if (g2.chrlookup || g2.name == baseGenome.name) continue;
|
|
172
|
+
g2.chrlookup = {};
|
|
173
|
+
for (const chr in g2.majorchr) {
|
|
174
|
+
g2.chrlookup[chr.toUpperCase()] = { name: chr, len: g2.majorchr[chr], major: true };
|
|
175
|
+
}
|
|
176
|
+
for (const chr in g2.minorchr || {}) {
|
|
177
|
+
g2.chrlookup[chr.toUpperCase()] = { name: chr, len: g2.minorchr[chr] };
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
const g = allGenomes[genomeName];
|
|
182
|
+
if (!g) throw `genome ${genomeName} not supported`;
|
|
183
|
+
return g;
|
|
184
|
+
};
|
|
185
|
+
const renderPTMSectionsInto = async (holder) => {
|
|
186
|
+
if (sections.length === 1) {
|
|
187
|
+
const s = sections[0];
|
|
188
|
+
const genome = await getGenome(s.genomeName);
|
|
189
|
+
await renderPTMLollipop(holder.append("div"), s.cohorts, this, s.isoform, genome);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
const keyOf = (s) => `${s.organism}${s.isoform}`;
|
|
193
|
+
const selectedKeys = /* @__PURE__ */ new Set([keyOf(sections[0])]);
|
|
194
|
+
let compareMode = false;
|
|
195
|
+
const layoutDiv = holder.append("div").style("display", "flex").style("gap", "16px").style("margin-top", "10px").style("margin-left", "70px").style("align-items", "flex-start");
|
|
196
|
+
const sidebar = layoutDiv.append("div").style("flex", "0 0 220px").style("border", "1px solid #e5e7eb").style("border-radius", "4px").style("padding", "8px").style("font-size", ".85em").style("position", "sticky").style("top", "8px").style("margin-top", "20px").style("max-height", "85vh").style("overflow", "auto");
|
|
197
|
+
const rightPane = layoutDiv.append("div").style("flex", "1 1 auto").style("min-width", "0");
|
|
198
|
+
const sidebarHeader = sidebar.append("div").style("display", "flex").style("flex-direction", "column").style("gap", "6px").style("margin-bottom", "8px");
|
|
199
|
+
sidebarHeader.append("span").style("font-weight", "600").style("font-size", "1.5em").style("text-transform", "uppercase").text("Isoforms");
|
|
200
|
+
const modeToggle = sidebarHeader.append("div").style("display", "inline-flex").style("align-items", "center").style("gap", "6px");
|
|
201
|
+
modeToggle.append("span").style("color", "#6b7280").text("Mode:");
|
|
202
|
+
make_radios({
|
|
203
|
+
holder: modeToggle.append("div").attr("aria-label", "Isoform view mode"),
|
|
204
|
+
options: [
|
|
205
|
+
{ label: "Single", value: "single", checked: true },
|
|
206
|
+
{ label: "Compare", value: "compare" }
|
|
207
|
+
],
|
|
208
|
+
styles: { display: "inline-block" },
|
|
209
|
+
callback: (value) => {
|
|
210
|
+
const asCompare = value === "compare";
|
|
211
|
+
if (asCompare === compareMode) return;
|
|
212
|
+
compareMode = asCompare;
|
|
213
|
+
if (!compareMode && selectedKeys.size > 1) {
|
|
214
|
+
const first = selectedKeys.values().next().value;
|
|
215
|
+
selectedKeys.clear();
|
|
216
|
+
selectedKeys.add(first);
|
|
217
|
+
}
|
|
218
|
+
renderSidebar();
|
|
219
|
+
void renderRight();
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
const sidebarList = sidebar.append("div");
|
|
223
|
+
const sectionsByOrganism = /* @__PURE__ */ new Map();
|
|
224
|
+
for (const s of sections) {
|
|
225
|
+
const arr = sectionsByOrganism.get(s.organism) || [];
|
|
226
|
+
arr.push(s);
|
|
227
|
+
sectionsByOrganism.set(s.organism, arr);
|
|
228
|
+
}
|
|
229
|
+
const showOrganismHeading = sectionsByOrganism.size > 1;
|
|
230
|
+
const renderSidebar = () => {
|
|
231
|
+
sidebarList.selectAll("*").remove();
|
|
232
|
+
for (const [organism, items] of sectionsByOrganism) {
|
|
233
|
+
if (showOrganismHeading) {
|
|
234
|
+
sidebarList.append("div").text(organism).style("font-weight", "600").style("color", "#374151").style("margin", "6px 0 4px 0");
|
|
235
|
+
}
|
|
236
|
+
for (const s of items) {
|
|
237
|
+
const key = keyOf(s);
|
|
238
|
+
const isSelected = selectedKeys.has(key);
|
|
239
|
+
const isSoleSelection = isSelected && selectedKeys.size === 1;
|
|
240
|
+
const toggleSelection = () => {
|
|
241
|
+
if (compareMode) {
|
|
242
|
+
if (selectedKeys.has(key)) {
|
|
243
|
+
if (selectedKeys.size > 1) selectedKeys.delete(key);
|
|
244
|
+
else return;
|
|
245
|
+
} else selectedKeys.add(key);
|
|
246
|
+
} else {
|
|
247
|
+
if (selectedKeys.has(key) && selectedKeys.size === 1) return;
|
|
248
|
+
selectedKeys.clear();
|
|
249
|
+
selectedKeys.add(key);
|
|
250
|
+
}
|
|
251
|
+
renderSidebar();
|
|
252
|
+
void renderRight();
|
|
253
|
+
};
|
|
254
|
+
const row = sidebarList.append("div").attr("role", compareMode ? "checkbox" : "radio").attr("aria-checked", String(isSelected)).attr("aria-label", `${s.organism} ${s.isoform}`).attr("tabindex", "0").style("display", "flex").style("align-items", "center").style("gap", "6px").style("padding", "3px 4px").style("border-radius", "3px").style("background", isSelected ? "#eff6ff" : "transparent").style("cursor", "pointer").on("click", toggleSelection).on("keydown", (event) => {
|
|
255
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
256
|
+
event.preventDefault();
|
|
257
|
+
toggleSelection();
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
if (compareMode) {
|
|
261
|
+
row.append("input").attr("type", "checkbox").attr("tabindex", "-1").attr("aria-hidden", "true").property("checked", isSelected).property("disabled", isSoleSelection).style("margin", "0").style("cursor", isSoleSelection ? "not-allowed" : "pointer").on("click", (event) => {
|
|
262
|
+
event.stopPropagation();
|
|
263
|
+
toggleSelection();
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
row.append("span").text(s.isoform);
|
|
267
|
+
row.append("span").style("color", "#6b7280").style("margin-left", "auto").text(String(s.cohorts.length));
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
const renderRight = async () => {
|
|
272
|
+
rightPane.selectAll("*").remove();
|
|
273
|
+
const selected = sections.filter((s) => selectedKeys.has(keyOf(s)));
|
|
274
|
+
if (!selected.length) return;
|
|
275
|
+
const cols = rightPane.append("div").style("display", "flex").style("flex-direction", "column").style("gap", "16px");
|
|
276
|
+
for (const s of selected) {
|
|
277
|
+
const col = cols.append("div").style("min-width", "0");
|
|
278
|
+
try {
|
|
279
|
+
const genome = await getGenome(s.genomeName);
|
|
280
|
+
await renderPTMLollipop(col, s.cohorts, this, s.isoform, genome);
|
|
281
|
+
} catch (err) {
|
|
282
|
+
col.append("div").style("color", "#b91c1c").style("padding", "6px").text(`Failed to render ${s.organism} \xB7 ${s.isoform}: ${err?.message || err}`);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
renderSidebar();
|
|
287
|
+
await renderRight();
|
|
288
|
+
};
|
|
289
|
+
if (sections.length) {
|
|
290
|
+
renderPTMSummaryCard(
|
|
291
|
+
grid,
|
|
292
|
+
(data.cohorts || []).filter((c) => c.PTMType),
|
|
293
|
+
this,
|
|
294
|
+
{ onExpandRender: renderPTMSectionsInto }
|
|
295
|
+
);
|
|
296
|
+
}
|
|
297
|
+
const ptmCfg = getTileConfig(this, "ptm");
|
|
298
|
+
const placeholders = missingTiles.map((t) => ({ title: t.title }));
|
|
299
|
+
if (!sections.length && ptmCfg && ptmAssaysConfigured(this)) placeholders.push({ title: ptmCfg.title });
|
|
300
|
+
renderPlaceholderTiles(grid, placeholders);
|
|
301
|
+
}
|
|
302
|
+
/** rx calls this when the plot is deleted: expanded-tile panes live on document.body
|
|
303
|
+
* and would otherwise outlive the plot with handlers bound to a dead instance */
|
|
304
|
+
destroy() {
|
|
305
|
+
closeTilePanes(this);
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
function ptmAssaysConfigured(self) {
|
|
309
|
+
const organisms = self.app.vocabApi.termdbConfig?.queries?.proteome?.organisms || {};
|
|
310
|
+
for (const org of Object.values(organisms)) {
|
|
311
|
+
for (const assay of Object.values(org?.assays || {})) if (assay?.PTMType) return true;
|
|
312
|
+
}
|
|
313
|
+
return false;
|
|
314
|
+
}
|
|
315
|
+
function renderCohortVolcano(holder, data, self, ptmSiteCount = 0) {
|
|
316
|
+
const dots = [];
|
|
317
|
+
const sampleRegionById = data?.sampleRegions || {};
|
|
318
|
+
for (const cohortData of data?.cohorts || []) {
|
|
319
|
+
if (cohortData.PTMType) continue;
|
|
320
|
+
const log2fc = getLog2Ratio(cohortData.foldChange);
|
|
321
|
+
const fdr = Number(cohortData.fdr);
|
|
322
|
+
const testedN = Number(cohortData.testedN);
|
|
323
|
+
const controlN = Number(cohortData.controlN);
|
|
324
|
+
if (log2fc === null || !Number.isFinite(fdr) || fdr <= 0) continue;
|
|
325
|
+
dots.push({
|
|
326
|
+
organismName: cohortData.organism,
|
|
327
|
+
disease: cohortData.disease,
|
|
328
|
+
assayName: cohortData.assayName,
|
|
329
|
+
cohortName: cohortData.cohortName,
|
|
330
|
+
proteinAccession: cohortData.proteinAccession,
|
|
331
|
+
uniqueIdentifier: cohortData.uniqueIdentifier,
|
|
332
|
+
log2fc,
|
|
333
|
+
fdr,
|
|
334
|
+
score: -Math.log10(Math.max(fdr, 1e-300)),
|
|
335
|
+
testedN: Number.isFinite(testedN) ? testedN : 0,
|
|
336
|
+
controlN: Number.isFinite(controlN) ? controlN : 0,
|
|
337
|
+
// per-dot sample identity (case + control); each sample's region comes from the
|
|
338
|
+
// response-level sampleRegions map and is listed in the dot's tooltip
|
|
339
|
+
sampleIds: Array.isArray(cohortData.sampleIds) ? cohortData.sampleIds : []
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
const panel = holder.append("div").style("margin-bottom", "14px");
|
|
343
|
+
const header = panel.append("div").style("display", "flex").style("align-items", "center").style("gap", "6px").style("margin-bottom", "6px");
|
|
344
|
+
const downloadBtn = header.append("div").style("display", "inline-block");
|
|
345
|
+
if (ptmSiteCount) {
|
|
346
|
+
header.append("div").style("font-size", ".75em").style("color", "#6b7280").text(
|
|
347
|
+
`${ptmSiteCount} site-level PTM measurement${ptmSiteCount === 1 ? "" : "s"} excluded \u2014 see the PTM track below.`
|
|
348
|
+
);
|
|
349
|
+
}
|
|
350
|
+
if (!dots.length) {
|
|
351
|
+
downloadBtn.style("display", "none");
|
|
352
|
+
panel.append("div").style("font-size", ".85em").style("color", "#666").text("No cohorts with valid fold-change and FDR to plot.");
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
355
|
+
const width = 500;
|
|
356
|
+
const height = 480;
|
|
357
|
+
const margin = { top: 20, right: 30, bottom: 60, left: 70 };
|
|
358
|
+
const innerW = width - margin.left - margin.right;
|
|
359
|
+
const innerH = height - margin.top - margin.bottom;
|
|
360
|
+
let minX = Number.POSITIVE_INFINITY;
|
|
361
|
+
let maxX = Number.NEGATIVE_INFINITY;
|
|
362
|
+
let maxY = 0;
|
|
363
|
+
let maxTestedN = 0;
|
|
364
|
+
let minTestedN = Number.POSITIVE_INFINITY;
|
|
365
|
+
for (const p of dots) {
|
|
366
|
+
minX = Math.min(minX, p.log2fc);
|
|
367
|
+
maxX = Math.max(maxX, p.log2fc);
|
|
368
|
+
maxY = Math.max(maxY, p.score);
|
|
369
|
+
maxTestedN = Math.max(maxTestedN, p.testedN);
|
|
370
|
+
if (p.testedN > 0) minTestedN = Math.min(minTestedN, p.testedN);
|
|
371
|
+
}
|
|
372
|
+
if (maxY < 1) maxY = 1;
|
|
373
|
+
if (!Number.isFinite(minTestedN)) minTestedN = 1;
|
|
374
|
+
const xSpan = Math.max(0.05, maxX - minX);
|
|
375
|
+
const xPad = Math.max(0.01, xSpan * 0.1);
|
|
376
|
+
const xMin = Math.min(0, minX - xPad);
|
|
377
|
+
const xMax = Math.max(0, maxX + xPad);
|
|
378
|
+
const yMax = maxY * 1.15;
|
|
379
|
+
const xScale = linear().domain([xMin, xMax]).range([0, innerW]);
|
|
380
|
+
const yScale = linear().domain([0, yMax]).range([innerH, 0]);
|
|
381
|
+
const radiusRange = [4, 12];
|
|
382
|
+
const radiusScale = linear().domain([minTestedN, Math.max(minTestedN + 1, maxTestedN)]).range(radiusRange);
|
|
383
|
+
let scaleDotSize = true;
|
|
384
|
+
const getDotRadius = (d) => scaleDotSize ? radiusScale(Math.max(minTestedN, d.testedN || minTestedN)) : (radiusRange[0] + radiusRange[1]) / 2;
|
|
385
|
+
const organismNames = [...new Set(dots.map((d) => d.organismName).filter(Boolean))].sort();
|
|
386
|
+
const assayNames = [...new Set(dots.map((d) => d.assayName))].sort();
|
|
387
|
+
const cohortNames = [...new Set(dots.map((d) => d.cohortName))].sort();
|
|
388
|
+
const proteinAccessions = [...new Set(dots.map((d) => d.proteinAccession))].sort();
|
|
389
|
+
const organismColorScale = getColors(organismNames.length).domain(organismNames);
|
|
390
|
+
const assayColorScale = getColors(assayNames.length).domain(assayNames);
|
|
391
|
+
const cohortColorScale = getColors(cohortNames.length).domain(cohortNames);
|
|
392
|
+
const proteinColorScale = getColors(proteinAccessions.length).domain(proteinAccessions);
|
|
393
|
+
const organismColors = new Map(
|
|
394
|
+
organismNames.map((name) => [name, rgb(organismColorScale(name)).formatHex()])
|
|
395
|
+
);
|
|
396
|
+
const assayColors = new Map(assayNames.map((name) => [name, rgb(assayColorScale(name)).formatHex()]));
|
|
397
|
+
const cohortColors = new Map(cohortNames.map((name) => [name, rgb(cohortColorScale(name)).formatHex()]));
|
|
398
|
+
const proteinColors = new Map(
|
|
399
|
+
proteinAccessions.map((acc) => [acc, rgb(proteinColorScale(acc)).formatHex()])
|
|
400
|
+
);
|
|
401
|
+
const prioritizedShapesArray = (() => {
|
|
402
|
+
const entries = Object.entries(shapes);
|
|
403
|
+
const sorted = [
|
|
404
|
+
...entries.filter(([, s]) => s.isFilled === true),
|
|
405
|
+
...entries.filter(([, s]) => s.isFilled === false),
|
|
406
|
+
...entries.filter(([, s]) => !("isFilled" in s))
|
|
407
|
+
];
|
|
408
|
+
return sorted.map(([, s]) => s.path);
|
|
409
|
+
})();
|
|
410
|
+
const makeShapeMap = (items) => new Map(items.map((item, i) => [item, i % prioritizedShapesArray.length]));
|
|
411
|
+
const organismShapes = makeShapeMap(organismNames);
|
|
412
|
+
const assayShapes = makeShapeMap(assayNames);
|
|
413
|
+
const cohortShapes = makeShapeMap(cohortNames);
|
|
414
|
+
const proteinShapes = makeShapeMap(proteinAccessions);
|
|
415
|
+
let colorMode = "assayType";
|
|
416
|
+
let shapeMode = "organism";
|
|
417
|
+
const customGroupPrefix = "__custom_group__:";
|
|
418
|
+
const makeCustomGroupKey = (name) => `${customGroupPrefix}${name}`;
|
|
419
|
+
const isCustomGroupKey = (value) => value.startsWith(customGroupPrefix);
|
|
420
|
+
const getCustomGroupNameFromKey = (value) => value.slice(customGroupPrefix.length);
|
|
421
|
+
const customShapeGroupPrefix = "__custom_shape_group__:";
|
|
422
|
+
const makeCustomShapeGroupKey = (name) => `${customShapeGroupPrefix}${name}`;
|
|
423
|
+
const isCustomShapeGroupKey = (value) => value.startsWith(customShapeGroupPrefix);
|
|
424
|
+
const getCustomShapeGroupNameFromKey = (value) => value.slice(customShapeGroupPrefix.length);
|
|
425
|
+
const customColorDomain = Array.from({ length: 64 }, (_, i) => `custom-${i}`);
|
|
426
|
+
const customColorScale = getColors(customColorDomain.length).domain(customColorDomain);
|
|
427
|
+
const colorModesWithGroups = ["organism", "assayType", "cohort", "proteinAccession"];
|
|
428
|
+
const shapeModesWithGroups = ["organism", "assayType", "cohort", "proteinAccession"];
|
|
429
|
+
const createModeMap = (factory) => ({
|
|
430
|
+
organism: factory(),
|
|
431
|
+
assayType: factory(),
|
|
432
|
+
cohort: factory(),
|
|
433
|
+
proteinAccession: factory()
|
|
434
|
+
});
|
|
435
|
+
const customGroupsByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
436
|
+
const customGroupColorsByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
437
|
+
const customShapeGroupsByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
438
|
+
const customShapeIndicesByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
439
|
+
const checkedItemsByMode = createModeMap(() => /* @__PURE__ */ new Set());
|
|
440
|
+
const checkedShapeItemsByMode = createModeMap(() => /* @__PURE__ */ new Set());
|
|
441
|
+
const groupingModeActive = /* @__PURE__ */ new Set();
|
|
442
|
+
const shapeGroupingModeActive = /* @__PURE__ */ new Set();
|
|
443
|
+
let customColorSeed = 0;
|
|
444
|
+
const getBaseColorValue = (d, mode) => {
|
|
445
|
+
switch (mode) {
|
|
446
|
+
case "organism":
|
|
447
|
+
return d.organismName;
|
|
448
|
+
case "assayType":
|
|
449
|
+
return d.assayName;
|
|
450
|
+
case "cohort":
|
|
451
|
+
return d.cohortName;
|
|
452
|
+
case "proteinAccession":
|
|
453
|
+
return d.proteinAccession;
|
|
454
|
+
default:
|
|
455
|
+
return "";
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
const getCustomGroupOfValue = (mode, value) => {
|
|
459
|
+
for (const [group, members] of customGroupsByMode[mode]) {
|
|
460
|
+
if (members.has(value)) return group;
|
|
461
|
+
}
|
|
462
|
+
return null;
|
|
463
|
+
};
|
|
464
|
+
const getCustomGroupOfDot = (d, mode) => {
|
|
465
|
+
return getCustomGroupOfValue(mode, getBaseColorValue(d, mode));
|
|
466
|
+
};
|
|
467
|
+
const getCustomShapeGroupOfValue = (mode, value) => {
|
|
468
|
+
for (const [group, members] of customShapeGroupsByMode[mode]) {
|
|
469
|
+
if (members.has(value)) return group;
|
|
470
|
+
}
|
|
471
|
+
return null;
|
|
472
|
+
};
|
|
473
|
+
const getCustomShapeGroupOfDot = (d, mode) => {
|
|
474
|
+
return getCustomShapeGroupOfValue(mode, getBaseColorValue(d, mode));
|
|
475
|
+
};
|
|
476
|
+
const getNextCustomColor = () => {
|
|
477
|
+
const color = rgb(customColorScale(customColorDomain[customColorSeed % customColorDomain.length])).formatHex();
|
|
478
|
+
customColorSeed++;
|
|
479
|
+
return color;
|
|
480
|
+
};
|
|
481
|
+
const addOrUpdateCustomGroup = (mode, name, baseValues) => {
|
|
482
|
+
if (!name || !baseValues.length) return;
|
|
483
|
+
for (const members of customGroupsByMode[mode].values()) {
|
|
484
|
+
for (const val of baseValues) members.delete(val);
|
|
485
|
+
}
|
|
486
|
+
const existing = customGroupsByMode[mode].get(name) || /* @__PURE__ */ new Set();
|
|
487
|
+
for (const val of baseValues) existing.add(val);
|
|
488
|
+
customGroupsByMode[mode].set(name, existing);
|
|
489
|
+
if (!customGroupColorsByMode[mode].has(name)) customGroupColorsByMode[mode].set(name, getNextCustomColor());
|
|
490
|
+
};
|
|
491
|
+
const removeCustomGroup = (mode, name) => {
|
|
492
|
+
customGroupsByMode[mode].delete(name);
|
|
493
|
+
customGroupColorsByMode[mode].delete(name);
|
|
494
|
+
hiddenColor[mode].delete(makeCustomGroupKey(name));
|
|
495
|
+
};
|
|
496
|
+
const addOrUpdateCustomShapeGroup = (mode, name, baseValues) => {
|
|
497
|
+
if (!name || !baseValues.length) return;
|
|
498
|
+
for (const members of customShapeGroupsByMode[mode].values()) {
|
|
499
|
+
for (const val of baseValues) members.delete(val);
|
|
500
|
+
}
|
|
501
|
+
const existing = customShapeGroupsByMode[mode].get(name) || /* @__PURE__ */ new Set();
|
|
502
|
+
for (const val of baseValues) existing.add(val);
|
|
503
|
+
customShapeGroupsByMode[mode].set(name, existing);
|
|
504
|
+
if (!customShapeIndicesByMode[mode].has(name)) {
|
|
505
|
+
const idx = customShapeIndicesByMode[mode].size % prioritizedShapesArray.length;
|
|
506
|
+
customShapeIndicesByMode[mode].set(name, idx);
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
const removeCustomShapeGroup = (mode, name) => {
|
|
510
|
+
customShapeGroupsByMode[mode].delete(name);
|
|
511
|
+
customShapeIndicesByMode[mode].delete(name);
|
|
512
|
+
hiddenShape[mode].delete(makeCustomShapeGroupKey(name));
|
|
513
|
+
};
|
|
514
|
+
const getCustomGroupItems = (mode) => {
|
|
515
|
+
return [...customGroupsByMode[mode].keys()].sort().map((name) => makeCustomGroupKey(name));
|
|
516
|
+
};
|
|
517
|
+
const getCustomShapeGroupItems = (mode) => {
|
|
518
|
+
return [...customShapeGroupsByMode[mode].keys()].sort().map((name) => makeCustomShapeGroupKey(name));
|
|
519
|
+
};
|
|
520
|
+
const getLegendItemSampleCount = (mode, item, dotsToCount = dots) => {
|
|
521
|
+
let matched;
|
|
522
|
+
if (isCustomGroupKey(item)) {
|
|
523
|
+
const groupName = getCustomGroupNameFromKey(item);
|
|
524
|
+
matched = dotsToCount.filter(
|
|
525
|
+
(d) => getCustomGroupOfValue(mode, getBaseColorValue(d, mode)) === groupName
|
|
526
|
+
);
|
|
527
|
+
} else if (isCustomShapeGroupKey(item)) {
|
|
528
|
+
const groupName = getCustomShapeGroupNameFromKey(item);
|
|
529
|
+
matched = dotsToCount.filter(
|
|
530
|
+
(d) => getCustomShapeGroupOfValue(mode, getBaseColorValue(d, mode)) === groupName
|
|
531
|
+
);
|
|
532
|
+
} else {
|
|
533
|
+
matched = dotsToCount.filter((d) => getBaseColorValue(d, mode) === item);
|
|
534
|
+
}
|
|
535
|
+
return new Set(matched.map((d) => `${d.organismName}|${d.assayName}|${d.cohortName}`)).size;
|
|
536
|
+
};
|
|
537
|
+
const getColor = (d) => {
|
|
538
|
+
const customGroup = getCustomGroupOfDot(d, colorMode);
|
|
539
|
+
switch (colorMode) {
|
|
540
|
+
case "organism":
|
|
541
|
+
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
542
|
+
return organismColors.get(d.organismName) ?? "#888";
|
|
543
|
+
case "assayType":
|
|
544
|
+
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
545
|
+
return assayColors.get(d.assayName) ?? "#888";
|
|
546
|
+
case "cohort":
|
|
547
|
+
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
548
|
+
return cohortColors.get(d.cohortName) ?? "#888";
|
|
549
|
+
case "proteinAccession":
|
|
550
|
+
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
551
|
+
return proteinColors.get(d.proteinAccession) ?? "#888";
|
|
552
|
+
default:
|
|
553
|
+
return "#888";
|
|
554
|
+
}
|
|
555
|
+
};
|
|
556
|
+
const getShapeIndex = (d) => {
|
|
557
|
+
const customShapeGroup = getCustomShapeGroupOfDot(d, shapeMode);
|
|
558
|
+
if (customShapeGroup) {
|
|
559
|
+
return customShapeIndicesByMode[shapeMode].get(customShapeGroup) ?? 0;
|
|
560
|
+
}
|
|
561
|
+
switch (shapeMode) {
|
|
562
|
+
case "organism":
|
|
563
|
+
return organismShapes.get(d.organismName) ?? 0;
|
|
564
|
+
case "assayType":
|
|
565
|
+
return assayShapes.get(d.assayName) ?? 0;
|
|
566
|
+
case "cohort":
|
|
567
|
+
return cohortShapes.get(d.cohortName) ?? 0;
|
|
568
|
+
case "proteinAccession":
|
|
569
|
+
return proteinShapes.get(d.proteinAccession) ?? 0;
|
|
570
|
+
default:
|
|
571
|
+
return 0;
|
|
572
|
+
}
|
|
573
|
+
};
|
|
574
|
+
const getShapePath = (d) => {
|
|
575
|
+
const index = getShapeIndex(d) % prioritizedShapesArray.length;
|
|
576
|
+
return prioritizedShapesArray[index];
|
|
577
|
+
};
|
|
578
|
+
const getShapeTransform = (d, sizeScale = 1) => {
|
|
579
|
+
const r = getDotRadius(d) * sizeScale;
|
|
580
|
+
const scale = r / 8;
|
|
581
|
+
const x = xScale(d.log2fc) - 8 * scale;
|
|
582
|
+
const y = yScale(d.score) - 8 * scale;
|
|
583
|
+
return `translate(${x},${y}) scale(${scale})`;
|
|
584
|
+
};
|
|
585
|
+
const colorGroupingModes = [
|
|
586
|
+
{ key: "organism", label: "Organism" },
|
|
587
|
+
{ key: "assayType", label: "Assay" },
|
|
588
|
+
{ key: "cohort", label: "Sample Set" },
|
|
589
|
+
{ key: "proteinAccession", label: "Isoform" }
|
|
590
|
+
];
|
|
591
|
+
const shapeGroupingModes = [
|
|
592
|
+
{ key: "organism", label: "Organism" },
|
|
593
|
+
{ key: "assayType", label: "Assay" },
|
|
594
|
+
{ key: "cohort", label: "Sample Set" },
|
|
595
|
+
{ key: "proteinAccession", label: "Isoform" }
|
|
596
|
+
];
|
|
597
|
+
const makeHiddenState = () => ({
|
|
598
|
+
organism: /* @__PURE__ */ new Set(),
|
|
599
|
+
assayType: /* @__PURE__ */ new Set(),
|
|
600
|
+
cohort: /* @__PURE__ */ new Set(),
|
|
601
|
+
proteinAccession: /* @__PURE__ */ new Set()
|
|
602
|
+
});
|
|
603
|
+
const hiddenColor = makeHiddenState();
|
|
604
|
+
const hiddenShape = makeHiddenState();
|
|
605
|
+
const getColorValueByMode = (d, mode) => {
|
|
606
|
+
switch (mode) {
|
|
607
|
+
case "organism":
|
|
608
|
+
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.organismName;
|
|
609
|
+
case "assayType":
|
|
610
|
+
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.assayName;
|
|
611
|
+
case "cohort":
|
|
612
|
+
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.cohortName;
|
|
613
|
+
case "proteinAccession":
|
|
614
|
+
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.proteinAccession;
|
|
615
|
+
default:
|
|
616
|
+
return "";
|
|
617
|
+
}
|
|
618
|
+
};
|
|
619
|
+
const getShapeValueByMode = (d, mode) => {
|
|
620
|
+
switch (mode) {
|
|
621
|
+
case "organism":
|
|
622
|
+
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.organismName;
|
|
623
|
+
case "assayType":
|
|
624
|
+
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.assayName;
|
|
625
|
+
case "cohort":
|
|
626
|
+
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.cohortName;
|
|
627
|
+
case "proteinAccession":
|
|
628
|
+
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.proteinAccession;
|
|
629
|
+
default:
|
|
630
|
+
return "";
|
|
631
|
+
}
|
|
632
|
+
};
|
|
633
|
+
const isDotHidden = (d) => {
|
|
634
|
+
const colorValue = getColorValueByMode(d, colorMode);
|
|
635
|
+
const shapeValue = getShapeValueByMode(d, shapeMode);
|
|
636
|
+
return hiddenColor[colorMode].has(colorValue) || hiddenShape[shapeMode].has(shapeValue);
|
|
637
|
+
};
|
|
638
|
+
const getDotDistancePx = (d1, d2) => {
|
|
639
|
+
const x = xScale(d1.log2fc) - xScale(d2.log2fc);
|
|
640
|
+
const y = yScale(d1.score) - yScale(d2.score);
|
|
641
|
+
return Math.sqrt(x * x + y * y);
|
|
642
|
+
};
|
|
643
|
+
const getVisibleDots = () => dots.filter((d) => !isDotHidden(d));
|
|
644
|
+
const getVisibleTestedNStats = () => {
|
|
645
|
+
const visibleDots = getVisibleDots();
|
|
646
|
+
if (!visibleDots.length) {
|
|
647
|
+
return { domainMin: 1, domainMax: 2, minLabel: 0, maxLabel: 0 };
|
|
648
|
+
}
|
|
649
|
+
let visibleMax = 0;
|
|
650
|
+
let visibleMin = Number.POSITIVE_INFINITY;
|
|
651
|
+
for (const d of visibleDots) {
|
|
652
|
+
visibleMax = Math.max(visibleMax, d.testedN);
|
|
653
|
+
if (d.testedN > 0) visibleMin = Math.min(visibleMin, d.testedN);
|
|
654
|
+
}
|
|
655
|
+
if (!Number.isFinite(visibleMin)) visibleMin = 1;
|
|
656
|
+
const domainMax = Math.max(visibleMin + 1, visibleMax);
|
|
657
|
+
return { domainMin: visibleMin, domainMax, minLabel: visibleMin, maxLabel: visibleMax || visibleMin };
|
|
658
|
+
};
|
|
659
|
+
const updateRadiusScaleForVisibleDots = () => {
|
|
660
|
+
const stats = getVisibleTestedNStats();
|
|
661
|
+
radiusScale.domain([stats.domainMin, stats.domainMax]).range(radiusRange);
|
|
662
|
+
return stats;
|
|
663
|
+
};
|
|
664
|
+
const getClusterDots = (seed) => {
|
|
665
|
+
const thresholdPx = 5;
|
|
666
|
+
return dots.filter((d) => !isDotHidden(d) && getDotDistancePx(d, seed) < thresholdPx).sort((a, b) => getDotDistancePx(a, seed) - getDotDistancePx(b, seed));
|
|
667
|
+
};
|
|
668
|
+
const buildClusterTableData = (clusterDots) => {
|
|
669
|
+
const columns = [
|
|
670
|
+
{ label: "Organism" },
|
|
671
|
+
{ label: "Assay" },
|
|
672
|
+
{ label: "Sample Set" },
|
|
673
|
+
{ label: "Isoform" },
|
|
674
|
+
{ label: "log\u2082(FC)", sortable: true },
|
|
675
|
+
{ label: "FDR", sortable: true }
|
|
676
|
+
];
|
|
677
|
+
const rows = clusterDots.map((d) => [
|
|
678
|
+
{ value: d.organismName || "" },
|
|
679
|
+
{ value: d.assayName || "" },
|
|
680
|
+
{ value: d.cohortName || "" },
|
|
681
|
+
{ value: d.uniqueIdentifier || "" },
|
|
682
|
+
{ value: roundValue(d.log2fc, 3) },
|
|
683
|
+
{ value: d.fdr.toExponential(2) }
|
|
684
|
+
]);
|
|
685
|
+
return { columns, rows };
|
|
686
|
+
};
|
|
687
|
+
const updateDots = () => {
|
|
688
|
+
cohortDots.attr("fill", (d) => getColor(d)).attr("stroke", (d) => getColor(d)).attr("stroke-width", 1).attr("d", (d) => getShapePath(d)).attr("transform", (d) => getShapeTransform(d)).style("opacity", (d) => isDotHidden(d) ? 0 : 1).style("pointer-events", (d) => isDotHidden(d) ? "none" : "auto");
|
|
689
|
+
};
|
|
690
|
+
const getShapeMapInUse = () => {
|
|
691
|
+
switch (shapeMode) {
|
|
692
|
+
case "organism":
|
|
693
|
+
return organismShapes;
|
|
694
|
+
case "assayType":
|
|
695
|
+
return assayShapes;
|
|
696
|
+
case "cohort":
|
|
697
|
+
return cohortShapes;
|
|
698
|
+
case "proteinAccession":
|
|
699
|
+
return proteinShapes;
|
|
700
|
+
default:
|
|
701
|
+
return assayShapes;
|
|
702
|
+
}
|
|
703
|
+
};
|
|
704
|
+
const plotAndLegend = panel.append("div").style("display", "flex").style("align-items", "flex-start").style("gap", "4px").style("flex-wrap", "wrap");
|
|
705
|
+
const svg = plotAndLegend.append("svg").attr("width", width).attr("height", height).style("display", "block").style("max-width", "100%").style("height", "auto");
|
|
706
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
707
|
+
const xAxis = g.append("g").attr("transform", `translate(0,${innerH})`).call(axisBottom(xScale));
|
|
708
|
+
axisstyle({ axis: xAxis, color: "black", showline: true });
|
|
709
|
+
const yAxis = g.append("g").call(axisLeft(yScale));
|
|
710
|
+
axisstyle({ axis: yAxis, color: "black", showline: true });
|
|
711
|
+
const x0 = xScale(0);
|
|
712
|
+
const pThreshold = -Math.log10(0.05);
|
|
713
|
+
const thresholdY = yScale(Math.min(yMax, pThreshold));
|
|
714
|
+
g.append("line").attr("x1", x0).attr("x2", x0).attr("y1", 0).attr("y2", innerH).attr("stroke", "black").attr("stroke-dasharray", "5 4").attr("stroke-opacity", 0.4);
|
|
715
|
+
g.append("line").attr("x1", 0).attr("x2", innerW).attr("y1", thresholdY).attr("y2", thresholdY).attr("stroke", "black").attr("stroke-dasharray", "5 4").attr("stroke-opacity", 0.4);
|
|
716
|
+
g.append("text").attr("x", innerW / 2).attr("y", innerH + 44).attr("text-anchor", "middle").style("font-weight", 600).text("log2 fold change");
|
|
717
|
+
g.append("text").attr("transform", `translate(${-50},${innerH / 2}) rotate(-90)`).attr("text-anchor", "middle").style("font-weight", 600).text("-log10(FDR)");
|
|
718
|
+
const cohortDots = g.selectAll("path.cohort-dot").data(dots).enter().append("path").attr("class", "cohort-dot").attr("transform", (d) => getShapeTransform(d, 0.9)).attr("d", (d) => getShapePath(d)).attr("fill", (d) => getColor(d)).attr("fill-opacity", 0.5).attr("stroke", (d) => getColor(d)).attr("stroke-width", 1).attr("vector-effect", "non-scaling-stroke");
|
|
719
|
+
cohortDots.transition().duration(350).attr("d", (d) => getShapePath(d)).attr("transform", (d) => getShapeTransform(d, 1));
|
|
720
|
+
const hoverLayer = g.append("g").attr("class", "cohort-volcano-hover").style("pointer-events", "none");
|
|
721
|
+
const cover = g.append("rect").attr("class", "cohort-volcano-cover").attr("x", 0).attr("y", 0).attr("width", innerW).attr("height", innerH).attr("fill", "transparent").style("pointer-events", "all").style("cursor", "default");
|
|
722
|
+
updateDots();
|
|
723
|
+
const renderDotInfoTable = (d, container) => {
|
|
724
|
+
const tbl = table2col({ holder: container.append("table") });
|
|
725
|
+
tbl.addRow("Organism", d.organismName);
|
|
726
|
+
tbl.addRow("Disease", d.disease);
|
|
727
|
+
tbl.addRow("Assay", d.assayName);
|
|
728
|
+
tbl.addRow("Sample Set", d.cohortName);
|
|
729
|
+
const dotRegions = [
|
|
730
|
+
...new Set((d.sampleIds || []).map((sid) => sampleRegionById[sid]).filter(Boolean))
|
|
731
|
+
];
|
|
732
|
+
if (dotRegions.length) {
|
|
733
|
+
const regionNames = self.app.vocabApi.termdbConfig?.queries?.proteome?.brainRegions?.regions || {};
|
|
734
|
+
tbl.addRow(
|
|
735
|
+
"Brain Region",
|
|
736
|
+
dotRegions.sort().map((c) => regionNames[c] ? `${regionNames[c]} (${c})` : c).join(", ")
|
|
737
|
+
);
|
|
738
|
+
}
|
|
739
|
+
tbl.addRow("Protein Accession", d.proteinAccession);
|
|
740
|
+
tbl.addRow("Isoform", d.uniqueIdentifier);
|
|
741
|
+
tbl.addRow("log2 fold change", roundValue(d.log2fc, 3));
|
|
742
|
+
tbl.addRow("FDR", d.fdr.toExponential(2));
|
|
743
|
+
tbl.addRow("-log10(FDR)", roundValue(d.score, 3));
|
|
744
|
+
tbl.addRow("Case samples", d.testedN);
|
|
745
|
+
tbl.addRow("Control samples", d.controlN);
|
|
746
|
+
};
|
|
747
|
+
const interactions = new DataPointInteractions({
|
|
748
|
+
cover,
|
|
749
|
+
hoverLayer,
|
|
750
|
+
hoverTip: self.dom.tip,
|
|
751
|
+
points: dots,
|
|
752
|
+
getX: (d) => xScale(d.log2fc),
|
|
753
|
+
getY: (d) => yScale(d.score),
|
|
754
|
+
// Function form because the size-legend menu mutates radiusRange at runtime;
|
|
755
|
+
// caching this once would leave the broad-query stale after dots are enlarged.
|
|
756
|
+
hitRadius: () => radiusRange[1] + COHORT_VOLCANO_HIT_RADIUS_PADDING_PX,
|
|
757
|
+
perDotRadius: (d) => getDotRadius(d),
|
|
758
|
+
perDotBuffer: COHORT_VOLCANO_HIT_BUFFER_PX,
|
|
759
|
+
isHidden: isDotHidden,
|
|
760
|
+
getCluster: (seed) => getClusterDots(seed),
|
|
761
|
+
toHoverSpec: (d) => ({
|
|
762
|
+
path: getShapePath(d),
|
|
763
|
+
transform: getShapeTransform(d, COHORT_VOLCANO_HOVER_RING_SIZE_SCALE),
|
|
764
|
+
stroke: "black",
|
|
765
|
+
strokeWidth: COHORT_VOLCANO_HOVER_RING_STROKE_PX
|
|
766
|
+
}),
|
|
767
|
+
maxTooltipRows: COHORT_VOLCANO_HOVER_MAX_COHORTS,
|
|
768
|
+
itemNoun: "cohort",
|
|
769
|
+
renderSingleHoverTooltip: renderDotInfoTable,
|
|
770
|
+
buildMultiHitTableData: buildClusterTableData,
|
|
771
|
+
getActions: (d) => [
|
|
772
|
+
{
|
|
773
|
+
label: "Violin plot",
|
|
774
|
+
onClick: () => {
|
|
775
|
+
launchViolinPlot(self, d.organismName, d.assayName, d.cohortName, d.uniqueIdentifier);
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
renderSingleHitInfo: renderDotInfoTable,
|
|
780
|
+
getRowKey: (d) => d.uniqueIdentifier
|
|
781
|
+
});
|
|
782
|
+
interactions.attach();
|
|
783
|
+
const legend = plotAndLegend.append("div").style("margin", "0").style("min-width", "220px").style("font-size", ".75em").style("color", "#374151");
|
|
784
|
+
function renderSizeLegend() {
|
|
785
|
+
legendSvg.selectAll("*").remove();
|
|
786
|
+
const stats = updateRadiusScaleForVisibleDots();
|
|
787
|
+
new LegendCircleReference({
|
|
788
|
+
g: legendSvg.append("g").attr("transform", "translate(12, 8)"),
|
|
789
|
+
inputMax: radiusRange[1],
|
|
790
|
+
inputMin: radiusRange[0],
|
|
791
|
+
maxLabel: stats.maxLabel,
|
|
792
|
+
maxRadius: radiusScale(stats.domainMax),
|
|
793
|
+
minLabel: stats.minLabel,
|
|
794
|
+
minRadius: radiusScale(stats.domainMin),
|
|
795
|
+
title: "",
|
|
796
|
+
menu: {
|
|
797
|
+
minMaxLabel: "pixels",
|
|
798
|
+
callback: async (obj) => {
|
|
799
|
+
radiusRange[0] = obj.min;
|
|
800
|
+
radiusRange[1] = obj.max;
|
|
801
|
+
radiusScale.range([obj.min, obj.max]);
|
|
802
|
+
updateDots();
|
|
803
|
+
renderSizeLegend();
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
const refreshAfterVisibilityChange = () => {
|
|
809
|
+
updateRadiusScaleForVisibleDots();
|
|
810
|
+
updateDots();
|
|
811
|
+
renderColorLegend();
|
|
812
|
+
renderSizeLegend();
|
|
813
|
+
};
|
|
814
|
+
const termName = self.state.config?.tw?.term?.name || "";
|
|
815
|
+
const svgName = `${termName}.cohort-volcano`;
|
|
816
|
+
const downloadVolcanoSvg = () => {
|
|
817
|
+
const plotNode = svg.node();
|
|
818
|
+
const legendNode = legend.node();
|
|
819
|
+
if (!plotNode) return;
|
|
820
|
+
const plotWidth = width;
|
|
821
|
+
const plotHeight = height;
|
|
822
|
+
const legendRect = legendNode?.getBoundingClientRect();
|
|
823
|
+
const legendWidth = Math.max(220, Math.ceil(legendRect?.width || 220));
|
|
824
|
+
const legendHeight = Math.max(plotHeight, Math.ceil(legendRect?.height || 0));
|
|
825
|
+
const gap = 14;
|
|
826
|
+
const combinedSvg = select_default(creator_default("svg").call(document.documentElement)).attr("width", plotWidth + gap + legendWidth).attr("height", legendHeight);
|
|
827
|
+
combinedSvg.append(() => plotNode.cloneNode(true));
|
|
828
|
+
combinedSvg.append("foreignObject").attr("x", plotWidth + gap).attr("y", 0).attr("width", legendWidth).attr("height", legendHeight).append(() => {
|
|
829
|
+
const clone = legendNode.cloneNode(true);
|
|
830
|
+
clone.style.margin = "0px";
|
|
831
|
+
clone.style.minWidth = "0px";
|
|
832
|
+
return clone;
|
|
833
|
+
});
|
|
834
|
+
to_svg(combinedSvg.node(), svgName, { apply_dom_styles: true });
|
|
835
|
+
};
|
|
836
|
+
icons.download(downloadBtn, { handler: downloadVolcanoSvg, title: "Download" });
|
|
837
|
+
const colorLegendDiv = legend.append("div").style("margin-bottom", "12px");
|
|
838
|
+
const shapeLegendDiv = legend.append("div").style("margin-bottom", "12px");
|
|
839
|
+
const sizeLegendRow = legend.append("div").style("display", "flex").style("flex-direction", "column").style("gap", "6px").style("margin-top", "8px");
|
|
840
|
+
sizeLegendRow.append("div").style("border-top", "1px solid #e5e7eb").style("margin", "8px 0 8px 0");
|
|
841
|
+
const sizeModeRow = sizeLegendRow.append("div").style("display", "flex").style("align-items", "center").style("gap", "4px").style("flex-wrap", "wrap");
|
|
842
|
+
const sizeToggleCheckbox = sizeModeRow.append("input").attr("type", "checkbox").attr("aria-label", "Scale dot size by case sample size").property("checked", scaleDotSize).style("cursor", "pointer").style("margin", "0").on("change", function() {
|
|
843
|
+
scaleDotSize = this.checked;
|
|
844
|
+
sizeModeText.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
845
|
+
legendSvg.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
846
|
+
updateDots();
|
|
847
|
+
renderSizeLegend();
|
|
848
|
+
});
|
|
849
|
+
void sizeToggleCheckbox;
|
|
850
|
+
const sizeModeText = sizeModeRow.append("span").style("display", "inline-flex").style("gap", "6px");
|
|
851
|
+
sizeModeText.append("span").text("Scale by");
|
|
852
|
+
sizeModeText.append("span").text("Case sample size").style("font-weight", "600").style("text-decoration", "underline").style("color", "#111");
|
|
853
|
+
sizeModeText.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
854
|
+
const legendSvg = sizeLegendRow.append("svg").attr("width", 190).attr("height", 110).style("display", "block");
|
|
855
|
+
legendSvg.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
856
|
+
function renderColorLegend() {
|
|
857
|
+
colorLegendDiv.selectAll("*").remove();
|
|
858
|
+
shapeLegendDiv.selectAll("*").remove();
|
|
859
|
+
const setCreateButtonState = (container, isActive, inputSelector, buttonSelector, hasCheckedItems) => {
|
|
860
|
+
if (!isActive) return;
|
|
861
|
+
const inputNode = container.select(inputSelector).node();
|
|
862
|
+
const createBtn = container.select(buttonSelector);
|
|
863
|
+
if (!inputNode || createBtn.empty()) return;
|
|
864
|
+
const shouldDisable = !inputNode.value.trim() || !hasCheckedItems;
|
|
865
|
+
createBtn.property("disabled", shouldDisable).style("opacity", shouldDisable ? "0.5" : "1").style("cursor", shouldDisable ? "not-allowed" : "pointer");
|
|
866
|
+
};
|
|
867
|
+
const updateColorCreateButtonState = () => {
|
|
868
|
+
setCreateButtonState(
|
|
869
|
+
colorLegendDiv,
|
|
870
|
+
groupingModeActive.has(colorMode),
|
|
871
|
+
'input[data-role="custom-group-name"]',
|
|
872
|
+
'button[data-role="create-custom-group-submit"]',
|
|
873
|
+
checkedItemsByMode[colorMode].size > 0
|
|
874
|
+
);
|
|
875
|
+
};
|
|
876
|
+
const updateShapeCreateButtonState = () => {
|
|
877
|
+
setCreateButtonState(
|
|
878
|
+
shapeLegendDiv,
|
|
879
|
+
shapeGroupingModeActive.has(shapeMode),
|
|
880
|
+
'input[data-role="custom-shape-group-name"]',
|
|
881
|
+
'button[data-role="create-custom-shape-group-submit"]',
|
|
882
|
+
checkedShapeItemsByMode[shapeMode].size > 0
|
|
883
|
+
);
|
|
884
|
+
};
|
|
885
|
+
const modeRow = colorLegendDiv.append("div").style("display", "flex").style("gap", "10px").style("margin-bottom", "6px").style("flex-wrap", "wrap");
|
|
886
|
+
modeRow.append("span").text("Color by");
|
|
887
|
+
for (const { key, label } of colorGroupingModes) {
|
|
888
|
+
modeRow.append("span").text(label).style("cursor", "pointer").style("font-weight", key === colorMode ? "600" : "400").style("text-decoration", key === colorMode ? "underline" : "none").style("color", key === colorMode ? "#111" : "#6b7280").on("click", () => {
|
|
889
|
+
groupingModeActive.delete(colorMode);
|
|
890
|
+
checkedItemsByMode[colorMode].clear();
|
|
891
|
+
colorMode = key;
|
|
892
|
+
refreshAfterVisibilityChange();
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
const makeLegendItems = (items, colorMap) => {
|
|
896
|
+
const dotsVisibleByShape = dots.filter((d) => !hiddenShape[shapeMode].has(getShapeValueByMode(d, shapeMode)));
|
|
897
|
+
const openColorMenu = (event, name, swatch) => {
|
|
898
|
+
const menu = new Menu({ padding: "0px" });
|
|
899
|
+
const div = menu.d.append("div");
|
|
900
|
+
const hidden = hiddenColor[colorMode].has(name);
|
|
901
|
+
const hiddenCount = hiddenColor[colorMode].size;
|
|
902
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(hidden ? "Show" : "Hide").on("click", () => {
|
|
903
|
+
if (hidden) hiddenColor[colorMode].delete(name);
|
|
904
|
+
else hiddenColor[colorMode].add(name);
|
|
905
|
+
refreshAfterVisibilityChange();
|
|
906
|
+
menu.hide();
|
|
907
|
+
});
|
|
908
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show only").on("click", () => {
|
|
909
|
+
hiddenColor[colorMode].clear();
|
|
910
|
+
for (const item of items) {
|
|
911
|
+
if (item != name) hiddenColor[colorMode].add(item);
|
|
912
|
+
}
|
|
913
|
+
refreshAfterVisibilityChange();
|
|
914
|
+
menu.hide();
|
|
915
|
+
});
|
|
916
|
+
if (hiddenCount > 1)
|
|
917
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show all").on("click", () => {
|
|
918
|
+
hiddenColor[colorMode].clear();
|
|
919
|
+
refreshAfterVisibilityChange();
|
|
920
|
+
menu.hide();
|
|
921
|
+
});
|
|
922
|
+
const input = div.append("div").attr("class", "sja_sharp_border").style("padding", "0px 10px").text("Color:").append("input").attr("type", "color").attr("value", colorMap.get(name) ?? "#888").on("change", () => {
|
|
923
|
+
const newColor = input.node().value;
|
|
924
|
+
if (isCustomGroupKey(name)) {
|
|
925
|
+
customGroupColorsByMode[colorMode].set(getCustomGroupNameFromKey(name), newColor);
|
|
926
|
+
} else if (!isCustomGroupKey(name)) {
|
|
927
|
+
if (colorMode == "organism") organismColors.set(name, newColor);
|
|
928
|
+
else if (colorMode == "assayType") assayColors.set(name, newColor);
|
|
929
|
+
else if (colorMode == "cohort") cohortColors.set(name, newColor);
|
|
930
|
+
else if (colorMode == "proteinAccession") proteinColors.set(name, newColor);
|
|
931
|
+
}
|
|
932
|
+
colorMap.set(name, newColor);
|
|
933
|
+
swatch.style("background", newColor);
|
|
934
|
+
updateDots();
|
|
935
|
+
menu.hide();
|
|
936
|
+
});
|
|
937
|
+
if (isCustomGroupKey(name))
|
|
938
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Remove group").on("click", () => {
|
|
939
|
+
removeCustomGroup(colorMode, getCustomGroupNameFromKey(name));
|
|
940
|
+
refreshAfterVisibilityChange();
|
|
941
|
+
menu.hide();
|
|
942
|
+
});
|
|
943
|
+
menu.showunder(event.target);
|
|
944
|
+
};
|
|
945
|
+
for (const name of items) {
|
|
946
|
+
const hidden = hiddenColor[colorMode].has(name);
|
|
947
|
+
const isGroup = isCustomGroupKey(name);
|
|
948
|
+
const displayName = isGroup ? getCustomGroupNameFromKey(name) : name;
|
|
949
|
+
const inGroup = !isGroup ? getCustomGroupOfValue(colorMode, name) : null;
|
|
950
|
+
const sampleCount = getLegendItemSampleCount(colorMode, name, dotsVisibleByShape);
|
|
951
|
+
if (sampleCount === 0) continue;
|
|
952
|
+
const row = colorLegendDiv.append("div").style("display", "flex").style("align-items", "center").style("gap", "6px").style("margin-bottom", "3px");
|
|
953
|
+
if (!isGroup && groupingModeActive.has(colorMode)) {
|
|
954
|
+
const cb = row.append("input").attr("type", "checkbox").style("cursor", "pointer").style("flex-shrink", "0");
|
|
955
|
+
const cbNode = cb.node();
|
|
956
|
+
cbNode.checked = checkedItemsByMode[colorMode].has(name);
|
|
957
|
+
cb.on("change", () => {
|
|
958
|
+
if (cbNode.checked) checkedItemsByMode[colorMode].add(name);
|
|
959
|
+
else checkedItemsByMode[colorMode].delete(name);
|
|
960
|
+
updateColorCreateButtonState();
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
const swatch = row.append("span").style("display", "inline-block").style("width", "10px").style("height", "10px").style("border-radius", "50%").style("background", colorMap.get(name) ?? "#888").style("opacity", hidden ? 0.35 : 0.8).style("flex-shrink", "0").style("cursor", "pointer");
|
|
964
|
+
swatch.on("click", (event) => openColorMenu(event, name, swatch));
|
|
965
|
+
row.append("span").text(`${displayName}, ${sampleCount} sample set${sampleCount === 1 ? "" : "s"}`).style("text-decoration", hidden ? "line-through" : "none").style("cursor", "pointer").on("click", (event) => openColorMenu(event, name, swatch));
|
|
966
|
+
if (isGroup) {
|
|
967
|
+
const count = customGroupsByMode[colorMode].get(getCustomGroupNameFromKey(name))?.size || 0;
|
|
968
|
+
const itemLabel = colorMode === "organism" ? "organisms" : colorMode === "assayType" ? "assays" : colorMode === "cohort" ? "sample sets" : colorMode === "proteinAccession" ? "isoforms" : "items";
|
|
969
|
+
row.append("span").style("color", "#6b7280").text(`(${count} ${itemLabel})`);
|
|
970
|
+
} else if (inGroup) {
|
|
971
|
+
row.append("span").style("color", "#6b7280").style("font-style", "italic").text(`\u2192 ${inGroup}`);
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
};
|
|
975
|
+
const buildModeLegendItems = (baseItems, baseColorMap) => {
|
|
976
|
+
const visibleBaseItems = baseItems.filter((name) => !getCustomGroupOfValue(colorMode, name));
|
|
977
|
+
const mergedColorMap = /* @__PURE__ */ new Map();
|
|
978
|
+
for (const name of visibleBaseItems) mergedColorMap.set(name, baseColorMap.get(name) ?? "#888");
|
|
979
|
+
for (const name of getCustomGroupItems(colorMode)) {
|
|
980
|
+
const rawName = getCustomGroupNameFromKey(name);
|
|
981
|
+
mergedColorMap.set(name, customGroupColorsByMode[colorMode].get(rawName) ?? "#888");
|
|
982
|
+
}
|
|
983
|
+
return { items: [...visibleBaseItems, ...getCustomGroupItems(colorMode)], colorMap: mergedColorMap };
|
|
984
|
+
};
|
|
985
|
+
const renderCustomGroupControls = () => {
|
|
986
|
+
if (!colorModesWithGroups.includes(colorMode)) return;
|
|
987
|
+
if (!groupingModeActive.has(colorMode)) {
|
|
988
|
+
const createBtn = colorLegendDiv.append("button").attr("type", "button").style("font-size", "1em").style("font-weight", "400").style("margin-top", "6px").style("padding", "0").style("border", "none").style("border-radius", "0").style("background", "transparent").style("color", "#6b7280").style("box-shadow", "none").style("cursor", "pointer").style("transition", "color 120ms ease").text("+ Create custom group").on("click", () => {
|
|
989
|
+
groupingModeActive.add(colorMode);
|
|
990
|
+
renderColorLegend();
|
|
991
|
+
});
|
|
992
|
+
createBtn.on("mouseover", function() {
|
|
993
|
+
select_default(this).style("color", "#111827");
|
|
994
|
+
}).on("mouseout", function() {
|
|
995
|
+
select_default(this).style("color", "#6b7280");
|
|
996
|
+
});
|
|
997
|
+
return;
|
|
998
|
+
}
|
|
999
|
+
colorLegendDiv.append("div").style("font-size", "11px").style("color", "#6b7280").style("margin-bottom", "4px").text("Check items to include in the new group:");
|
|
1000
|
+
const controls = colorLegendDiv.append("div").style("display", "flex").style("gap", "6px").style("align-items", "center").style("flex-wrap", "wrap").style("margin-top", "4px");
|
|
1001
|
+
const nameInput = controls.append("input").attr("data-role", "custom-group-name").attr("type", "text").attr("placeholder", "Group name").style("font-size", "12px").style("padding", "2px 4px").style("min-width", "100px").on("input", () => updateColorCreateButtonState());
|
|
1002
|
+
controls.append("button").attr("data-role", "create-custom-group-submit").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Create").on("click", () => {
|
|
1003
|
+
const groupName = (nameInput.node()?.value || "").trim();
|
|
1004
|
+
if (!groupName || checkedItemsByMode[colorMode].size < 1) return;
|
|
1005
|
+
addOrUpdateCustomGroup(colorMode, groupName, [...checkedItemsByMode[colorMode]]);
|
|
1006
|
+
checkedItemsByMode[colorMode].clear();
|
|
1007
|
+
groupingModeActive.delete(colorMode);
|
|
1008
|
+
refreshAfterVisibilityChange();
|
|
1009
|
+
});
|
|
1010
|
+
updateColorCreateButtonState();
|
|
1011
|
+
controls.append("button").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Cancel").on("click", () => {
|
|
1012
|
+
checkedItemsByMode[colorMode].clear();
|
|
1013
|
+
groupingModeActive.delete(colorMode);
|
|
1014
|
+
renderColorLegend();
|
|
1015
|
+
});
|
|
1016
|
+
};
|
|
1017
|
+
if (colorMode === "organism") {
|
|
1018
|
+
const { items, colorMap } = buildModeLegendItems(organismNames, organismColors);
|
|
1019
|
+
makeLegendItems(items, colorMap);
|
|
1020
|
+
renderCustomGroupControls();
|
|
1021
|
+
} else if (colorMode === "assayType") {
|
|
1022
|
+
const { items, colorMap } = buildModeLegendItems(assayNames, assayColors);
|
|
1023
|
+
makeLegendItems(items, colorMap);
|
|
1024
|
+
renderCustomGroupControls();
|
|
1025
|
+
} else if (colorMode === "cohort") {
|
|
1026
|
+
const { items, colorMap } = buildModeLegendItems(cohortNames, cohortColors);
|
|
1027
|
+
makeLegendItems(items, colorMap);
|
|
1028
|
+
renderCustomGroupControls();
|
|
1029
|
+
} else if (colorMode === "proteinAccession") {
|
|
1030
|
+
const { items, colorMap } = buildModeLegendItems(proteinAccessions, proteinColors);
|
|
1031
|
+
makeLegendItems(items, colorMap);
|
|
1032
|
+
renderCustomGroupControls();
|
|
1033
|
+
}
|
|
1034
|
+
shapeLegendDiv.append("div").style("border-top", "1px solid #e5e7eb").style("margin", "8px 0 8px 0");
|
|
1035
|
+
const shapeModeRow = shapeLegendDiv.append("div").style("display", "flex").style("gap", "10px").style("margin-bottom", "6px").style("flex-wrap", "wrap");
|
|
1036
|
+
shapeModeRow.append("span").text("Shape by");
|
|
1037
|
+
for (const { key, label } of shapeGroupingModes) {
|
|
1038
|
+
shapeModeRow.append("span").text(label).style("cursor", "pointer").style("font-weight", key === shapeMode ? "600" : "400").style("text-decoration", key === shapeMode ? "underline" : "none").style("color", key === shapeMode ? "#111" : "#6b7280").on("click", () => {
|
|
1039
|
+
shapeGroupingModeActive.delete(shapeMode);
|
|
1040
|
+
checkedShapeItemsByMode[shapeMode].clear();
|
|
1041
|
+
shapeMode = key;
|
|
1042
|
+
refreshAfterVisibilityChange();
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
const buildShapeLegendItems = (baseItems) => {
|
|
1046
|
+
const visibleBaseItems = baseItems.filter((name) => !getCustomShapeGroupOfValue(shapeMode, name));
|
|
1047
|
+
return { items: [...visibleBaseItems, ...getCustomShapeGroupItems(shapeMode)] };
|
|
1048
|
+
};
|
|
1049
|
+
const drawShapeLegend = (items, shapeMap) => {
|
|
1050
|
+
const dotsVisibleByColor = dots.filter((d) => !hiddenColor[colorMode].has(getColorValueByMode(d, colorMode)));
|
|
1051
|
+
const openShapeMenu = (event, name) => {
|
|
1052
|
+
const menu = new Menu({ padding: "0px" });
|
|
1053
|
+
const activeShapeMap = isCustomShapeGroupKey(name) ? customShapeIndicesByMode[shapeMode] : getShapeMapInUse();
|
|
1054
|
+
const div = menu.d.append("div");
|
|
1055
|
+
const hidden = hiddenShape[shapeMode].has(name);
|
|
1056
|
+
const hiddenCount = hiddenShape[shapeMode].size;
|
|
1057
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(hidden ? "Show" : "Hide").on("click", () => {
|
|
1058
|
+
if (hidden) hiddenShape[shapeMode].delete(name);
|
|
1059
|
+
else hiddenShape[shapeMode].add(name);
|
|
1060
|
+
refreshAfterVisibilityChange();
|
|
1061
|
+
menu.hide();
|
|
1062
|
+
});
|
|
1063
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show only").on("click", () => {
|
|
1064
|
+
hiddenShape[shapeMode].clear();
|
|
1065
|
+
for (const item of items) {
|
|
1066
|
+
if (item != name) hiddenShape[shapeMode].add(item);
|
|
1067
|
+
}
|
|
1068
|
+
refreshAfterVisibilityChange();
|
|
1069
|
+
menu.hide();
|
|
1070
|
+
});
|
|
1071
|
+
if (hiddenCount > 1)
|
|
1072
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show all").on("click", () => {
|
|
1073
|
+
hiddenShape[shapeMode].clear();
|
|
1074
|
+
refreshAfterVisibilityChange();
|
|
1075
|
+
menu.hide();
|
|
1076
|
+
});
|
|
1077
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Change shape").on("click", () => {
|
|
1078
|
+
div.selectAll("*").remove();
|
|
1079
|
+
shapeSelector(
|
|
1080
|
+
div,
|
|
1081
|
+
(index) => {
|
|
1082
|
+
const shapeKey = isCustomShapeGroupKey(name) ? getCustomShapeGroupNameFromKey(name) : name;
|
|
1083
|
+
activeShapeMap.set(shapeKey, index);
|
|
1084
|
+
updateDots();
|
|
1085
|
+
renderColorLegend();
|
|
1086
|
+
menu.hide();
|
|
1087
|
+
},
|
|
1088
|
+
prioritizedShapesArray
|
|
1089
|
+
);
|
|
1090
|
+
});
|
|
1091
|
+
if (isCustomShapeGroupKey(name))
|
|
1092
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Remove group").on("click", () => {
|
|
1093
|
+
removeCustomShapeGroup(shapeMode, getCustomShapeGroupNameFromKey(name));
|
|
1094
|
+
refreshAfterVisibilityChange();
|
|
1095
|
+
menu.hide();
|
|
1096
|
+
});
|
|
1097
|
+
menu.showunder(event.target);
|
|
1098
|
+
};
|
|
1099
|
+
for (const name of items) {
|
|
1100
|
+
const hidden = hiddenShape[shapeMode].has(name);
|
|
1101
|
+
const isGroup = isCustomShapeGroupKey(name);
|
|
1102
|
+
const displayName = isGroup ? getCustomShapeGroupNameFromKey(name) : name;
|
|
1103
|
+
const inGroup = !isGroup ? getCustomShapeGroupOfValue(shapeMode, name) : null;
|
|
1104
|
+
const sampleCount = getLegendItemSampleCount(shapeMode, name, dotsVisibleByColor);
|
|
1105
|
+
if (sampleCount === 0) continue;
|
|
1106
|
+
const row = shapeLegendDiv.append("div").style("display", "flex").style("align-items", "center").style("gap", "6px").style("margin-bottom", "3px");
|
|
1107
|
+
if (!isGroup && shapeGroupingModeActive.has(shapeMode)) {
|
|
1108
|
+
const cb = row.append("input").attr("type", "checkbox").style("cursor", "pointer").style("flex-shrink", "0");
|
|
1109
|
+
const cbNode = cb.node();
|
|
1110
|
+
cbNode.checked = checkedShapeItemsByMode[shapeMode].has(name);
|
|
1111
|
+
cb.on("change", () => {
|
|
1112
|
+
if (cbNode.checked) checkedShapeItemsByMode[shapeMode].add(name);
|
|
1113
|
+
else checkedShapeItemsByMode[shapeMode].delete(name);
|
|
1114
|
+
updateShapeCreateButtonState();
|
|
1115
|
+
});
|
|
1116
|
+
}
|
|
1117
|
+
const icon = row.append("svg").attr("width", 16).attr("height", 16).style("display", "inline-block").style("cursor", "pointer");
|
|
1118
|
+
icon.append("path").attr("transform", "scale(0.8)").attr(
|
|
1119
|
+
"d",
|
|
1120
|
+
prioritizedShapesArray[((isGroup ? customShapeIndicesByMode[shapeMode].get(getCustomShapeGroupNameFromKey(name)) : shapeMap.get(name)) || 0) % prioritizedShapesArray.length]
|
|
1121
|
+
).attr("fill", "#4b5563").attr("fill-opacity", hidden ? 0.35 : 0.9);
|
|
1122
|
+
icon.on("click", (event) => openShapeMenu(event, name));
|
|
1123
|
+
row.append("span").text(`${displayName}, ${sampleCount} sample set${sampleCount === 1 ? "" : "s"}`).style("text-decoration", hidden ? "line-through" : "none").style("cursor", "pointer").on("click", (event) => openShapeMenu(event, name));
|
|
1124
|
+
if (isGroup) {
|
|
1125
|
+
const count = customShapeGroupsByMode[shapeMode].get(getCustomShapeGroupNameFromKey(name))?.size || 0;
|
|
1126
|
+
const itemLabel = shapeMode === "organism" ? "organisms" : shapeMode === "assayType" ? "assays" : shapeMode === "cohort" ? "sample sets" : shapeMode === "proteinAccession" ? "isoforms" : "items";
|
|
1127
|
+
row.append("span").style("color", "#6b7280").text(`(${count} ${itemLabel})`);
|
|
1128
|
+
} else if (inGroup) {
|
|
1129
|
+
row.append("span").style("color", "#6b7280").style("font-style", "italic").text(`\u2192 ${inGroup}`);
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
};
|
|
1133
|
+
const renderShapeCustomGroupControls = () => {
|
|
1134
|
+
if (!shapeModesWithGroups.includes(shapeMode)) return;
|
|
1135
|
+
if (!shapeGroupingModeActive.has(shapeMode)) {
|
|
1136
|
+
const createBtn = shapeLegendDiv.append("button").attr("type", "button").style("font-size", "1em").style("font-weight", "400").style("margin-top", "6px").style("padding", "0").style("border", "none").style("border-radius", "0").style("background", "transparent").style("color", "#6b7280").style("box-shadow", "none").style("cursor", "pointer").style("transition", "color 120ms ease").text("+ Create custom group").on("click", () => {
|
|
1137
|
+
shapeGroupingModeActive.add(shapeMode);
|
|
1138
|
+
renderColorLegend();
|
|
1139
|
+
});
|
|
1140
|
+
createBtn.on("mouseover", function() {
|
|
1141
|
+
select_default(this).style("color", "#111827");
|
|
1142
|
+
}).on("mouseout", function() {
|
|
1143
|
+
select_default(this).style("color", "#6b7280");
|
|
1144
|
+
});
|
|
1145
|
+
return;
|
|
1146
|
+
}
|
|
1147
|
+
shapeLegendDiv.append("div").style("font-size", "11px").style("color", "#6b7280").style("margin-bottom", "4px").text("Check items to include in the new group:");
|
|
1148
|
+
const controls = shapeLegendDiv.append("div").style("display", "flex").style("gap", "6px").style("align-items", "center").style("flex-wrap", "wrap").style("margin-top", "4px");
|
|
1149
|
+
const nameInput = controls.append("input").attr("data-role", "custom-shape-group-name").attr("type", "text").attr("placeholder", "Group name").style("font-size", "12px").style("padding", "2px 4px").style("min-width", "100px").on("input", () => updateShapeCreateButtonState());
|
|
1150
|
+
controls.append("button").attr("data-role", "create-custom-shape-group-submit").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Create").on("click", () => {
|
|
1151
|
+
const groupName = (nameInput.node()?.value || "").trim();
|
|
1152
|
+
if (!groupName || checkedShapeItemsByMode[shapeMode].size < 1) return;
|
|
1153
|
+
addOrUpdateCustomShapeGroup(shapeMode, groupName, [...checkedShapeItemsByMode[shapeMode]]);
|
|
1154
|
+
checkedShapeItemsByMode[shapeMode].clear();
|
|
1155
|
+
shapeGroupingModeActive.delete(shapeMode);
|
|
1156
|
+
refreshAfterVisibilityChange();
|
|
1157
|
+
});
|
|
1158
|
+
updateShapeCreateButtonState();
|
|
1159
|
+
controls.append("button").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Cancel").on("click", () => {
|
|
1160
|
+
checkedShapeItemsByMode[shapeMode].clear();
|
|
1161
|
+
shapeGroupingModeActive.delete(shapeMode);
|
|
1162
|
+
renderColorLegend();
|
|
1163
|
+
});
|
|
1164
|
+
};
|
|
1165
|
+
if (shapeMode === "organism") {
|
|
1166
|
+
const { items } = buildShapeLegendItems(organismNames);
|
|
1167
|
+
drawShapeLegend(items, organismShapes);
|
|
1168
|
+
renderShapeCustomGroupControls();
|
|
1169
|
+
} else if (shapeMode === "assayType") {
|
|
1170
|
+
const { items } = buildShapeLegendItems(assayNames);
|
|
1171
|
+
drawShapeLegend(items, assayShapes);
|
|
1172
|
+
renderShapeCustomGroupControls();
|
|
1173
|
+
} else if (shapeMode === "cohort") {
|
|
1174
|
+
const { items } = buildShapeLegendItems(cohortNames);
|
|
1175
|
+
drawShapeLegend(items, cohortShapes);
|
|
1176
|
+
renderShapeCustomGroupControls();
|
|
1177
|
+
} else if (shapeMode === "proteinAccession") {
|
|
1178
|
+
const { items } = buildShapeLegendItems(proteinAccessions);
|
|
1179
|
+
drawShapeLegend(items, proteinShapes);
|
|
1180
|
+
renderShapeCustomGroupControls();
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
updateRadiusScaleForVisibleDots();
|
|
1184
|
+
renderColorLegend();
|
|
1185
|
+
renderSizeLegend();
|
|
1186
|
+
}
|
|
1187
|
+
async function renderPTMLollipop(holder, ptmCohorts, self, isoform, genome) {
|
|
1188
|
+
if (!ptmCohorts?.length) return;
|
|
1189
|
+
const custom_variants = [];
|
|
1190
|
+
const mergedMclassOverride = {};
|
|
1191
|
+
const gm = await getGmForPTM(ptmCohorts[0].geneName, genome.name, isoform);
|
|
1192
|
+
for (const ptm of ptmCohorts) {
|
|
1193
|
+
if (!gm) continue;
|
|
1194
|
+
const logValue = getLog2Ratio(ptm.foldChange);
|
|
1195
|
+
const wholeProteomeLog2 = getLog2Ratio(ptm.proteinFoldChange);
|
|
1196
|
+
const normalizedLog2 = logValue != null && wholeProteomeLog2 != null ? logValue - wholeProteomeLog2 : null;
|
|
1197
|
+
const fdr = Number(ptm.fdr);
|
|
1198
|
+
const testedN = Number(ptm.testedN);
|
|
1199
|
+
const controlN = Number(ptm.controlN);
|
|
1200
|
+
if (ptm.mclassOverride && typeof ptm.mclassOverride == "object") {
|
|
1201
|
+
Object.assign(mergedMclassOverride, ptm.mclassOverride);
|
|
1202
|
+
}
|
|
1203
|
+
const site = parsePTMModSites(ptm.modSites);
|
|
1204
|
+
if (!site) continue;
|
|
1205
|
+
const pos = aa2gmcoord(site, gm);
|
|
1206
|
+
if (!Number.isInteger(pos)) continue;
|
|
1207
|
+
const ptmClass = Object.keys(ptm.mclassOverride || {})[0];
|
|
1208
|
+
custom_variants.push({
|
|
1209
|
+
chr: gm.chr,
|
|
1210
|
+
pos,
|
|
1211
|
+
mname: ptm.modSites,
|
|
1212
|
+
class: ptmClass,
|
|
1213
|
+
dt: 1,
|
|
1214
|
+
logValue,
|
|
1215
|
+
wholeProteomeLog2,
|
|
1216
|
+
normalizedLog2,
|
|
1217
|
+
fdr,
|
|
1218
|
+
testedN: Number.isFinite(testedN) ? testedN : null,
|
|
1219
|
+
controlN: Number.isFinite(controlN) ? controlN : null,
|
|
1220
|
+
organism: ptm.organism || null,
|
|
1221
|
+
assayName: ptm.assayName || null,
|
|
1222
|
+
cohortName: ptm.cohortName || null,
|
|
1223
|
+
proteinAccession: ptm.proteinAccession || null,
|
|
1224
|
+
PTMStr: ptm.uniqueIdentifier || null,
|
|
1225
|
+
htmlSections: [
|
|
1226
|
+
{
|
|
1227
|
+
key: "Action",
|
|
1228
|
+
label: "Launch Violin Plot",
|
|
1229
|
+
callback: () => launchViolinPlot(self, ptm.organism, ptm.assayName, ptm.cohortName, ptm.uniqueIdentifier)
|
|
1230
|
+
}
|
|
1231
|
+
]
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
if (!custom_variants.length) return;
|
|
1235
|
+
const mclassOverride = {
|
|
1236
|
+
className: "PTM",
|
|
1237
|
+
classes: mergedMclassOverride
|
|
1238
|
+
};
|
|
1239
|
+
for (const key in mclassOverride.classes) {
|
|
1240
|
+
if (mclass[key]) Object.assign(mclass[key], mclassOverride.classes[key]);
|
|
1241
|
+
}
|
|
1242
|
+
const tk = {
|
|
1243
|
+
type: "mds3",
|
|
1244
|
+
name: "PTMs",
|
|
1245
|
+
custom_variants,
|
|
1246
|
+
skewerModes: [
|
|
1247
|
+
{
|
|
1248
|
+
type: "numeric",
|
|
1249
|
+
byAttribute: "logValue",
|
|
1250
|
+
label: "Log2FC",
|
|
1251
|
+
tooltipPrintValue: (m) => {
|
|
1252
|
+
const p = Number(m.fdr);
|
|
1253
|
+
return [
|
|
1254
|
+
{ k: "Organism", v: m.organism ?? "NA" },
|
|
1255
|
+
{ k: "Assay", v: m.assayName ?? "NA" },
|
|
1256
|
+
{ k: "Sample set", v: m.cohortName ?? "NA" },
|
|
1257
|
+
{ k: "PTM", v: m.PTMStr ?? "NA" },
|
|
1258
|
+
{ k: "Log2 fold change", v: Number.isFinite(m.logValue) ? roundValue(m.logValue, 3) : "NA" },
|
|
1259
|
+
{
|
|
1260
|
+
k: "Whole proteome Log2 FC",
|
|
1261
|
+
v: Number.isFinite(m.wholeProteomeLog2) ? roundValue(m.wholeProteomeLog2, 3) : "NA"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
k: "Normalized Log2 FC",
|
|
1265
|
+
v: Number.isFinite(m.normalizedLog2) ? roundValue(m.normalizedLog2, 3) : "NA"
|
|
1266
|
+
},
|
|
1267
|
+
{ k: "FDR", v: Number.isFinite(p) && p > 0 ? p.toExponential(2) : "NA" },
|
|
1268
|
+
{ k: "Case samples", v: Number.isFinite(m.testedN) ? m.testedN : "NA" },
|
|
1269
|
+
{ k: "Control samples", v: Number.isFinite(m.controlN) ? m.controlN : "NA" },
|
|
1270
|
+
{ k: "Protein accession", v: m.proteinAccession ?? "NA" }
|
|
1271
|
+
];
|
|
1272
|
+
},
|
|
1273
|
+
inuse: true,
|
|
1274
|
+
axisheight: 100
|
|
1275
|
+
}
|
|
1276
|
+
],
|
|
1277
|
+
mclassOverride
|
|
1278
|
+
};
|
|
1279
|
+
const arg = {
|
|
1280
|
+
holder: holder.append("div"),
|
|
1281
|
+
genome,
|
|
1282
|
+
nobox: true,
|
|
1283
|
+
tklst: [tk],
|
|
1284
|
+
mclassOverride,
|
|
1285
|
+
debugmode: self.app.opts.debug,
|
|
1286
|
+
query: gm.isoform,
|
|
1287
|
+
hide_dsHandles: true
|
|
1288
|
+
};
|
|
1289
|
+
const _ = await import("./block.init-CIBNSYAC.js");
|
|
1290
|
+
await _.default(arg);
|
|
1291
|
+
}
|
|
1292
|
+
function parsePTMModSites(modSites) {
|
|
1293
|
+
if (!modSites) return null;
|
|
1294
|
+
const regex = /([A-Za-z])(\d+)/g;
|
|
1295
|
+
let m;
|
|
1296
|
+
while ((m = regex.exec(modSites)) !== null) {
|
|
1297
|
+
const position = Number(m[2]);
|
|
1298
|
+
if (!Number.isInteger(position) || position < 1) continue;
|
|
1299
|
+
return position;
|
|
1300
|
+
}
|
|
1301
|
+
return null;
|
|
1302
|
+
}
|
|
1303
|
+
async function getGmForPTM(geneName, genomeName, isoform) {
|
|
1304
|
+
if (!geneName) return null;
|
|
1305
|
+
const d = await dofetch3("genelookup", {
|
|
1306
|
+
body: {
|
|
1307
|
+
deep: 1,
|
|
1308
|
+
genome: genomeName,
|
|
1309
|
+
input: geneName
|
|
1310
|
+
}
|
|
1311
|
+
});
|
|
1312
|
+
if (d.error || !Array.isArray(d.gmlst) || !d.gmlst.length) return null;
|
|
1313
|
+
const normalizedIsoform = isoform?.trim().toUpperCase();
|
|
1314
|
+
const gm = d.gmlst.find((i) => i.isoform && normalizedIsoform && i.isoform.toUpperCase() == normalizedIsoform) || d.gmlst.find((i) => i.isdefault) || d.gmlst[0];
|
|
1315
|
+
return gm;
|
|
1316
|
+
}
|
|
1317
|
+
async function getPlotConfig(opts) {
|
|
1318
|
+
const config = structuredClone(defaultConfig);
|
|
1319
|
+
if (!opts.tw) throw new Error("proteinView requires opts.tw");
|
|
1320
|
+
return copyMerge(config, opts);
|
|
1321
|
+
}
|
|
1322
|
+
function makeChartBtnMenu(holder, chartsInstance) {
|
|
1323
|
+
const row = holder.append("div").style("padding", "5px");
|
|
1324
|
+
row.append("span").style("font-weight", "bold").text("Enter a gene name:");
|
|
1325
|
+
const geneSearch = addGeneSearchbox({
|
|
1326
|
+
row,
|
|
1327
|
+
genome: chartsInstance.app.opts.genome,
|
|
1328
|
+
tip: new Menu({ padding: "0px" }),
|
|
1329
|
+
searchOnly: "gene",
|
|
1330
|
+
callback: async () => {
|
|
1331
|
+
if (!geneSearch.geneSymbol) throw new Error("A valid gene selection is required");
|
|
1332
|
+
chartsInstance.dom.tip.hide();
|
|
1333
|
+
chartsInstance.app.dispatch({
|
|
1334
|
+
type: "plot_create",
|
|
1335
|
+
config: {
|
|
1336
|
+
chartType: "proteinView",
|
|
1337
|
+
tw: {
|
|
1338
|
+
term: {
|
|
1339
|
+
gene: geneSearch.geneSymbol,
|
|
1340
|
+
name: geneSearch.geneSymbol,
|
|
1341
|
+
type: TermTypes.PROTEOME_ABUNDANCE
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
});
|
|
1346
|
+
}
|
|
1347
|
+
});
|
|
1348
|
+
}
|
|
1349
|
+
var proteinViewInit = getCompInit(ProteinView);
|
|
1350
|
+
var componentInit = proteinViewInit;
|
|
1351
|
+
export {
|
|
1352
|
+
componentInit,
|
|
1353
|
+
getPlotConfig,
|
|
1354
|
+
makeChartBtnMenu,
|
|
1355
|
+
proteinViewInit
|
|
1356
|
+
};
|
|
1357
|
+
//# sourceMappingURL=proteinView-CGNAJN4S.js.map
|