@sjcrh/proteinpaint-client 2.210.1 → 2.211.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-FEZRNHDF.js +1367 -0
- package/dist/AggMatrixInput-6FJIELYO.js +406 -0
- package/dist/AggregateMatrix-MUPBUGIZ.js +41 -0
- package/dist/AppHeader-ZTNZ62UL.js +830 -0
- package/dist/BoxPlot-P5SVFYSB.js +1208 -0
- package/dist/BoxPlot-P5SVFYSB.js.map +7 -0
- package/dist/CorrelationVolcano-42NYXAXG.js +617 -0
- package/dist/Cuminc-6AKLT6HF.js +1219 -0
- package/dist/DE-KJHFZWND.js +89 -0
- package/dist/DEinput-HXB3LYZW.js +501 -0
- package/dist/DM-AAHX4PLH.js +90 -0
- package/dist/DifferentialAnalysis-JX4EDEOY.js +239 -0
- package/dist/Disco-GXKO4QQH.js +3389 -0
- package/dist/Disco.UI-DGD4RXJP.js +243 -0
- package/dist/DmrPlot-DQ3XTMTN.js +362 -0
- package/dist/GB-OUWNNBBK.js +1392 -0
- package/dist/GSEA-DSKGFAPG.js +875 -0
- package/dist/GeneExpInput-FZLOBE2Q.js +42 -0
- package/dist/Geomap-GP5KD3OX.js +84 -0
- package/dist/HicApp-2N6WYWZX.js +2245 -0
- package/dist/IDCViewer-MSUC7IXX.js +10812 -0
- package/dist/NumBinaryEditor-C4G2IH36.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-ZAVAUGXA.js +312 -0
- package/dist/NumContEditor-VEEMMWHX.js +105 -0
- package/dist/NumContEditor.unit.spec-65ORC42O.js +164 -0
- package/dist/NumCustomBinEditor-YIUHJAXP.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-NT5VK2LO.js +397 -0
- package/dist/NumDiscreteEditor-A4WELAJH.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-7QABM6KK.js +233 -0
- package/dist/NumRegularBinEditor-IPVPLSQY.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-Q4DMWATB.js +278 -0
- package/dist/NumSplineEditor-5E6CIWLP.js +210 -0
- package/dist/NumSplineEditor.unit.spec-DHJF5F6H.js +224 -0
- package/dist/NumericDensity-GXMWWK2A.js +33 -0
- package/dist/NumericDensity.unit.spec-OAPOMSEW.js +418 -0
- package/dist/NumericHandler-H5WHGFXD.js +34 -0
- package/dist/NumericHandler.unit.spec-PBNOJEMS.js +214 -0
- package/dist/ProteomeInput-ZA7R5S43.js +388 -0
- package/dist/Regression-WSWTSXFX.js +1416 -0
- package/dist/RunChart2-J5CTJI5C.js +749 -0
- package/dist/SC-POCQDMWZ.js +1181 -0
- package/dist/SC-POCQDMWZ.js.map +7 -0
- package/dist/Violin-VA6FBRUQ.js +1064 -0
- package/dist/Violin-VA6FBRUQ.js.map +7 -0
- package/dist/Volcano-4IEQIEDS.js +2456 -0
- package/dist/Wsi-LJ6AY5RI.js +629 -0
- package/dist/adSandbox-EIN4KEML.js +33 -0
- package/dist/animatedBubbleChart-LINYUKMD.js +547 -0
- package/dist/app-SE7UQ5DB.js +42 -0
- package/dist/app-VGMZNGWP.js +32 -0
- package/dist/app.js +16 -16
- package/dist/bam-ZXEZWRSZ.js +876 -0
- package/dist/barchart-N4B4C2FO.js +42 -0
- package/dist/barchart2-EDVEWTVX.js +309 -0
- package/dist/block-E7YUGCHL.js +6250 -0
- package/dist/block.init-FSOCF2IM.js +33 -0
- package/dist/block.mds.expressionrank-EDBTITXU.js +354 -0
- package/dist/block.mds.geneboxplot-GG5672SY.js +823 -0
- package/dist/block.mds.junction-HUC4S24K.js +1539 -0
- package/dist/block.mds.svcnv-EQHYCIBU.js +6796 -0
- package/dist/block.svg-HBVPUQJ2.js +159 -0
- package/dist/block.tk.aicheck-TRJ5IIWZ.js +278 -0
- package/dist/block.tk.ase-COV7YYYO.js +360 -0
- package/dist/block.tk.bam-MDSLY6NH.js +1901 -0
- package/dist/block.tk.bedgraphdot-MKWEL53X.js +379 -0
- package/dist/block.tk.bigwig.ui-UKKJX7TA.js +206 -0
- package/dist/block.tk.hicstraw-6LNXEIOF.js +818 -0
- package/dist/block.tk.junction-F3SERFFD.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-2XUMSKLS.js +194 -0
- package/dist/block.tk.ld-COP5RUJJ.js +94 -0
- package/dist/block.tk.menu-SRDPD44N.js +1024 -0
- package/dist/block.tk.pgv-3SVINTXN.js +938 -0
- package/dist/brainImaging-UNBA4KA3.js +555 -0
- package/dist/brainRegions-DC6TQB53.js +217 -0
- package/dist/bubbleHeatmap-X3W3AZJY.js +378 -0
- package/dist/cellTypeBubbleHeatmap-LFI6TGOO.js +278 -0
- package/dist/chunk-2ANFUNS3.js +102 -0
- package/dist/chunk-2G4SFRWC.js +1278 -0
- package/dist/chunk-2WKGE7BO.js +54 -0
- package/dist/chunk-3CGMCYZB.js +237 -0
- package/dist/chunk-3I4DBVLM.js +55 -0
- package/dist/chunk-42VFF74T.js +397 -0
- package/dist/chunk-4ENIOXIT.js +133 -0
- package/dist/chunk-4ENIOXIT.js.map +7 -0
- package/dist/chunk-4HTRCXLS.js +98 -0
- package/dist/chunk-55T2AMJ3.js +281 -0
- package/dist/chunk-57Z4VYLM.js +1616 -0
- package/dist/chunk-57Z4VYLM.js.map +7 -0
- package/dist/chunk-5JDG5NNA.js +203 -0
- package/dist/chunk-6AFMWQXZ.js +339 -0
- package/dist/chunk-6ECKCC4X.js +294 -0
- package/dist/chunk-6QMC7LFA.js +299 -0
- package/dist/chunk-6XKAOSQE.js +116 -0
- package/dist/chunk-6XKAOSQE.js.map +7 -0
- package/dist/chunk-72L6NTNT.js +14 -0
- package/dist/chunk-7ISAV37C.js +194 -0
- package/dist/chunk-7MFY22IZ.js +2902 -0
- package/dist/chunk-7MFY22IZ.js.map +7 -0
- package/dist/chunk-7XZA2XR2.js +424 -0
- package/dist/chunk-7XZA2XR2.js.map +7 -0
- package/dist/chunk-A32XQLMP.js +49 -0
- package/dist/chunk-A3MYBXG3.js +274 -0
- package/dist/chunk-AU3Y6IQF.js +1339 -0
- package/dist/chunk-AXL3CC4U.js +468 -0
- package/dist/chunk-BSWVDH75.js +26 -0
- package/dist/chunk-CME6DYDH.js +424 -0
- package/dist/chunk-D637XDOT.js +417 -0
- package/dist/chunk-D637XDOT.js.map +7 -0
- package/dist/chunk-DD3DWHUY.js +119 -0
- package/dist/chunk-DKED35KW.js +2327 -0
- package/dist/chunk-DPGALT5N.js +255 -0
- package/dist/chunk-DPTGY4BW.js +129 -0
- package/dist/chunk-DQD4MTK4.js +379 -0
- package/dist/chunk-EFLRT7JY.js +243 -0
- package/dist/chunk-EMSO3BNW.js +34 -0
- package/dist/chunk-F2LWFF7V.js +158 -0
- package/dist/chunk-F2LWFF7V.js.map +7 -0
- package/dist/chunk-F5QB5YEE.js +276 -0
- package/dist/chunk-FKSR53VK.js +182 -0
- package/dist/chunk-FSWBNSQD.js +178 -0
- package/dist/chunk-G6ZIO5T3.js +37 -0
- package/dist/chunk-GP4VLNMZ.js +2149 -0
- package/dist/chunk-GP4VLNMZ.js.map +7 -0
- package/dist/chunk-HTZJQNHP.js +562 -0
- package/dist/chunk-ITYNHDDD.js +56 -0
- package/dist/chunk-IWVCFZHQ.js +170 -0
- package/dist/chunk-J4WRX5G6.js +263 -0
- package/dist/chunk-JZLIHI6A.js +339 -0
- package/dist/chunk-K7HFOAR7.js +25008 -0
- package/dist/chunk-K7HFOAR7.js.map +7 -0
- package/dist/chunk-KJGYGPJZ.js +103 -0
- package/dist/chunk-L3UFI52T.js +217 -0
- package/dist/chunk-L4ZPMF7E.js +692 -0
- package/dist/chunk-L62JI5UL.js +302 -0
- package/dist/chunk-MRPYHLFW.js +518 -0
- package/dist/chunk-MVWJHZ5G.js +783 -0
- package/dist/chunk-NGWU4QLU.js +134 -0
- package/dist/chunk-OC2FSBFB.js +176 -0
- package/dist/chunk-OGRDLK57.js +140 -0
- package/dist/chunk-OYBYKZUR.js +6360 -0
- package/dist/chunk-PFRPC2SY.js +382 -0
- package/dist/chunk-PLHOCPJD.js +272 -0
- package/dist/chunk-PQDZLOY7.js +102 -0
- package/dist/chunk-QDNUIS2Y.js +70 -0
- package/dist/chunk-RHOMR2GY.js +2676 -0
- package/dist/chunk-SKF6HQ74.js +31 -0
- package/dist/chunk-SLPZ6SBN.js +626 -0
- package/dist/chunk-SLPZ6SBN.js.map +7 -0
- package/dist/chunk-SPFK5XZH.js +446 -0
- package/dist/chunk-SQGAWR2L.js +141 -0
- package/dist/chunk-TGKWEAUE.js +84 -0
- package/dist/chunk-UKOOGNUF.js +1233 -0
- package/dist/chunk-UL5PEVZW.js +123 -0
- package/dist/chunk-UTMIX2H2.js +2784 -0
- package/dist/chunk-UZNFOCE7.js +56 -0
- package/dist/chunk-V7UVHM57.js +550 -0
- package/dist/chunk-VP2JWT5W.js +1988 -0
- package/dist/chunk-VSTHBKQW.js +480 -0
- package/dist/chunk-W7A4QXZ7.js +38 -0
- package/dist/chunk-WKCVZIN7.js +59 -0
- package/dist/chunk-X7TJBXJJ.js +54 -0
- package/dist/chunk-XEEMCYP6.js +4375 -0
- package/dist/chunk-XTQWAVWJ.js +54 -0
- package/dist/chunk-YAN2MOON.js +5071 -0
- package/dist/chunk-YCBENC6R.js +1769 -0
- package/dist/chunk-YCBENC6R.js.map +7 -0
- package/dist/chunk-YCORHJ64.js +240 -0
- package/dist/chunk-YOBTHZVU.js +80 -0
- package/dist/chunk-ZTT6ZHU5.js +217 -0
- package/dist/cohort-RF4FT2NT.js +70 -0
- package/dist/condition-WXE2CFYT.js +327 -0
- package/dist/controls-AYF4H7UG.js +34 -0
- package/dist/controls.config-TXZKQNYC.js +34 -0
- package/dist/correlation-UAYMVVUS.js +95 -0
- package/dist/customdata.inputui-I7RFOGYM.js +284 -0
- package/dist/dataDownload-4AGSDSEO.js +329 -0
- package/dist/databrowser.ui-RGJEA2BI.js +425 -0
- package/dist/dictionary-AWWQXIRP.js +113 -0
- package/dist/dnaMethylation-PICKZS2M.js +33 -0
- package/dist/dnaMethylation.integration.spec-JUSB3CFZ.js +198 -0
- package/dist/dofetch-ZJMKEYN2.js +48 -0
- package/dist/e2pca-K4W7ZJZG.js +344 -0
- package/dist/ep-OY5YQMEF.js +1249 -0
- package/dist/expclust.gdc.spec-LYDBM3TZ.js +302 -0
- package/dist/facet-7NJHLLCZ.js +519 -0
- package/dist/gb-COV44BMA.js +81 -0
- package/dist/geneExpClustering-EQR5XX4J.js +244 -0
- package/dist/geneExpression-2BNDQ6S6.js +310 -0
- package/dist/geneExpression-PGB6WF5H.js +33 -0
- package/dist/geneExpression.unit.spec-OUNGGOJP.js +128 -0
- package/dist/geneORA-EKNEVQOS.js +273 -0
- package/dist/geneRanking-XUXLRERA.js +548 -0
- package/dist/geneVariant-JZDYV6LS.js +36 -0
- package/dist/geneVariant-KPZ2FYLK.js +289 -0
- package/dist/geneVariant.integration.spec-ISMLGTKC.js +503 -0
- package/dist/genefusion.ui-GRUXFC4U.js +303 -0
- package/dist/geneset-RM4XIX23.js +203 -0
- package/dist/genomeBrowser.spec-X7EOK2LS.js +276 -0
- package/dist/grin2-5XRUMYQO.js +949 -0
- package/dist/grin2-SWZLKD52.js +70 -0
- package/dist/hierCluster-I6T4XD3P.js +55 -0
- package/dist/hierCluster-XVDGUOW7.js +59 -0
- package/dist/hierCluster.config-66CKAAPG.js +36 -0
- package/dist/hierCluster.integration.spec-OEHHO2RT.js +483 -0
- package/dist/hierCluster.integration.spec-OEHHO2RT.js.map +7 -0
- package/dist/hierCluster.interactivity-B5ZNFF4R.js +49 -0
- package/dist/hierCluster.renderers-R2DTKTLI.js +19 -0
- package/dist/imagePlot-ZM4IVDJT.js +156 -0
- package/dist/importPlot-FQ65CZRI.js +8 -0
- package/dist/isoformExpression-BFCLGD2U.js +35 -0
- package/dist/isoformExpression.unit.spec-KYI4HI7U.js +237 -0
- package/dist/junction-BKH6RWOP.js +36 -0
- package/dist/junction.customTerm-VNQKP5I4.js +16 -0
- package/dist/junction.unit.spec-MQIHKSNE.js +182 -0
- package/dist/launch.adhoc-AHTCA2BP.js +37 -0
- package/dist/leftlabel.sample-LIBMKP22.js +258 -0
- package/dist/lollipop-26ZQH3EL.js +166 -0
- package/dist/maf-W3W2XJ5B.js +455 -0
- package/dist/maftimeline-LCJD5O2M.js +587 -0
- package/dist/matrix-H634EZWK.js +59 -0
- package/dist/matrix-O2AINT5M.js +54 -0
- package/dist/matrix.cells-3U3CUU5I.js +26 -0
- package/dist/matrix.config-F6IPB5B5.js +37 -0
- package/dist/matrix.data-KQNBNYC6.js +23 -0
- package/dist/matrix.dom-YQNX4IQO.js +11 -0
- package/dist/matrix.groups-QFL2ZDHD.js +26 -0
- package/dist/matrix.integration.spec-OVGSXJWO.js +3160 -0
- package/dist/matrix.interactivity-Q5ODZPDL.js +37 -0
- package/dist/matrix.layout-YPYM7FRY.js +39 -0
- package/dist/matrix.legend-ZO57ENXP.js +20 -0
- package/dist/matrix.renderers-NIGONKWO.js +34 -0
- package/dist/matrix.serieses-ZQD2U6RF.js +19 -0
- package/dist/matrix.sort-RZU65LR2.js +26 -0
- package/dist/matrix.sort.unit.spec-NDFK2A5C.js +468 -0
- package/dist/matrix.sorterUi-MVUI25W7.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-4ZKNOV2L.js +338 -0
- package/dist/matrix.unit.spec-V5XNLECG.js +150 -0
- package/dist/mavb-LF7A7BDK.js +727 -0
- package/dist/mds.fimo-KJ4HPMZP.js +513 -0
- package/dist/mds.samplescatterplot-ZHNWWWYI.js +1545 -0
- package/dist/mds.survivalplot-DNG7I22N.js +477 -0
- package/dist/multivalue-SJQF7PHU.js +83 -0
- package/dist/numericDictTermCluster-O6PKT2FJ.js +63 -0
- package/dist/oncomatrix-YJCPKS72.js +290 -0
- package/dist/oncomatrix.spec-MWGBQCIQ.js +443 -0
- package/dist/plot.2dvaf-KIPQYNEH.js +372 -0
- package/dist/plot.app-WHG3SEOG.js +36 -0
- package/dist/plot.barplot-DTSYFUPC.js +97 -0
- package/dist/plot.boxplot-MQDULP3P.js +146 -0
- package/dist/plot.brainImaging-DGVJQSCH.js +51 -0
- package/dist/plot.disco-HYPRBLMQ.js +99 -0
- package/dist/plot.ssgq-J5MMN7OD.js +134 -0
- package/dist/plot.vaf2cov-CID7GQB5.js +253 -0
- package/dist/polar2-QTSO2HCB.js +232 -0
- package/dist/profileForms-SRR2M5OS.js +941 -0
- package/dist/profilePlot-NDC4S2SC.js +49 -0
- package/dist/proteinView-EFNQL3LD.js +1357 -0
- package/dist/proteomeCohortCompare-WMR53HEL.js +912 -0
- package/dist/pseudbulk.unit.spec-6MRZNXFI.js +86 -0
- package/dist/pseudobulk-O5EC44RY.js +35 -0
- package/dist/qualitative-W6MFYG7Z.js +38 -0
- package/dist/radar2-GIQILMWK.js +327 -0
- package/dist/radarFacility2-5YJZ5JCK.js +335 -0
- package/dist/rememberedGvQ.unit.spec-B6RQM5LQ.js +211 -0
- package/dist/render-2J4LR3UI.js +33 -0
- package/dist/report-MUMQK6XY.js +217 -0
- package/dist/sampleView-NKZMNBMH.js +43 -0
- package/dist/samplelst-X74JZMTR.js +106 -0
- package/dist/samplematrix-QDQXB5ZG.js +2193 -0
- package/dist/sc-FGHV5CBJ.js +81 -0
- package/dist/scatter-QFVRBA7F.js +925 -0
- package/dist/scatter-YXF5VQGZ.js +88 -0
- package/dist/selectGenomeWithTklst-DP4RPV7U.js +129 -0
- package/dist/singleCellCellType-XCHCMRR6.js +33 -0
- package/dist/singleCellCellType.unit.spec-S3JTP235.js +154 -0
- package/dist/singleCellGeneExpression-FD6REV7Y.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-PVMZYD4G.js +148 -0
- package/dist/singleCellNumericValue-SIITQPMD.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-7PJEHLF7.js +416 -0
- package/dist/singleCellPlot-YJCFAYJW.js +48 -0
- package/dist/singlecell-6R7YK5P3.js +1566 -0
- package/dist/singlecell-KHMH732Y.js +81 -0
- package/dist/snp-HXCVSW2F.js +33 -0
- package/dist/snp.unit.spec-HXMFR4QS.js +171 -0
- package/dist/snplocus-YQVHAKBC.js +203 -0
- package/dist/spliceevent.a53ss.diagram-4IBTR3JD.js +146 -0
- package/dist/spliceevent.exonskip.diagram-5ZTG65CE.js +278 -0
- package/dist/spliceevent.noeventdiagram-WO5KSC45.js +455 -0
- package/dist/ssGSEA-VJ3LVYJV.js +33 -0
- package/dist/ssGSEA.unit.spec-JQIJ4NZP.js +83 -0
- package/dist/stattable-COVQSHRZ.js +117 -0
- package/dist/studyCatalog-EXVRH4FI.js +414 -0
- package/dist/summarizeCnvGeneexp-UJBTMXXH.js +158 -0
- package/dist/summarizeGeneexpSurvival-XLQJGDRY.js +105 -0
- package/dist/summarizeMutationCnv-7RWSXB6F.js +159 -0
- package/dist/summarizeMutationDiagnosis-42MG737O.js +35 -0
- package/dist/summarizeMutationSurvival-FWVKVEHK.js +99 -0
- package/dist/summary-NR26ZPQB.js +44 -0
- package/dist/summary.integration.spec-Z7JSUTGK.js +409 -0
- package/dist/summaryInput-DGKUOJVC.js +242 -0
- package/dist/sunburst-C5JNGFT7.js +278 -0
- package/dist/survival-GCEX3EAZ.js +53 -0
- package/dist/survival-OAQA5JQN.js +1248 -0
- package/dist/survival.integration.spec-ZX5RD6VQ.js +613 -0
- package/dist/svgraph-XCFZ2WAG.js +1382 -0
- package/dist/svmr-4XTTURHA.js +3837 -0
- package/dist/table-FQZ4UAH6.js +197 -0
- package/dist/termCollection-5QCR6LED.js +33 -0
- package/dist/termCollection-DN6A6HJU.js +252 -0
- package/dist/termCollection.unit.spec-RSSSXDHU.js +299 -0
- package/dist/termCollectionFractionSelection-OSN7FITY.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-UW6D3DVK.js +188 -0
- package/dist/tk-4CZCVYBP.js +41 -0
- package/dist/tk-BIPJNXBZ.js +1121 -0
- package/dist/tp.ui-NI4U7567.js +1454 -0
- package/dist/tvs.density-CB24PXDE.js +19 -0
- package/dist/tvs.dt-YRDNDXUU.js +34 -0
- package/dist/tvs.dtcnv.categorical-REP4T33P.js +35 -0
- package/dist/tvs.dtcnv.continuous-K7OREEP5.js +67 -0
- package/dist/tvs.dtfusion-AB5MPH3Q.js +35 -0
- package/dist/tvs.dtitd-AFWU7ACY.js +35 -0
- package/dist/tvs.dtsnvindel-G7XQEKEO.js +35 -0
- package/dist/tvs.dtsv-Y6BEY4J2.js +35 -0
- package/dist/tvs.numeric-GF4XF5OF.js +20 -0
- package/dist/tvs.samplelst-XRRWPC2E.js +98 -0
- package/dist/tvs.termCollection-PL4AN3GA.js +122 -0
- package/dist/tvs.termCollection-PL4AN3GA.js.map +7 -0
- package/dist/vocabulary-DJZWOO6Q.js +36 -0
- package/dist/wsi.direct-XUWANMKV.js +8343 -0
- package/package.json +2 -2
- package/dist/2dmaf-7VZ536T5.js +0 -1367
- package/dist/AggMatrixInput-UTUOXTGA.js +0 -406
- package/dist/AggregateMatrix-X75HUZYO.js +0 -41
- package/dist/AppHeader-X2DR6VSM.js +0 -830
- package/dist/BoxPlot-NQMPJICU.js +0 -1211
- package/dist/BoxPlot-NQMPJICU.js.map +0 -7
- package/dist/CorrelationVolcano-IDBUJH2E.js +0 -617
- package/dist/Cuminc-BYFIMOLO.js +0 -1219
- package/dist/DE-BI7DHHW4.js +0 -89
- package/dist/DEinput-W66CT4U2.js +0 -501
- package/dist/DM-62TEJA3C.js +0 -90
- package/dist/DifferentialAnalysis-PRTA6CYW.js +0 -239
- package/dist/Disco-4JQP3FRW.js +0 -3389
- package/dist/Disco.UI-6RHAA5KU.js +0 -243
- package/dist/DmrPlot-VYQYMTQ7.js +0 -362
- package/dist/GB-LULUM5LH.js +0 -1392
- package/dist/GSEA-DT3SYXOZ.js +0 -875
- package/dist/GeneExpInput-UILWAGRH.js +0 -42
- package/dist/Geomap-AFKEGMR5.js +0 -84
- package/dist/HicApp-APDL5POY.js +0 -2245
- package/dist/IDCViewer-DQXAORHT.js +0 -10812
- package/dist/NumBinaryEditor-OUVIOEH7.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-VBX2X4CT.js +0 -312
- package/dist/NumContEditor-JVPRBZPW.js +0 -105
- package/dist/NumContEditor.unit.spec-EQNB6RMI.js +0 -164
- package/dist/NumCustomBinEditor-E2SXZDF4.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-VLR7MGNL.js +0 -397
- package/dist/NumDiscreteEditor-CUA55FU3.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-7IPCMUDQ.js +0 -233
- package/dist/NumRegularBinEditor-CWU7YBEP.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-RGV3EUPC.js +0 -278
- package/dist/NumSplineEditor-PC5X7AUJ.js +0 -210
- package/dist/NumSplineEditor.unit.spec-QCR3RL5W.js +0 -224
- package/dist/NumericDensity-CFUEE5ZN.js +0 -33
- package/dist/NumericDensity.unit.spec-JOCVEC32.js +0 -418
- package/dist/NumericHandler-VL2Z55KF.js +0 -34
- package/dist/NumericHandler.unit.spec-ULM5FSSA.js +0 -214
- package/dist/ProteomeInput-3WKTVCYT.js +0 -388
- package/dist/Regression-M7AQTYXL.js +0 -1416
- package/dist/RunChart2-54SVOXJR.js +0 -749
- package/dist/SC-QRWDGHB2.js +0 -1183
- package/dist/SC-QRWDGHB2.js.map +0 -7
- package/dist/Violin-2AD6QRJB.js +0 -1081
- package/dist/Violin-2AD6QRJB.js.map +0 -7
- package/dist/Volcano-T57VFSWR.js +0 -2456
- package/dist/Wsi-U3U3EILE.js +0 -629
- package/dist/adSandbox-S3JP7XF3.js +0 -33
- package/dist/animatedBubbleChart-LZKNERIM.js +0 -547
- package/dist/app-2MERLGNJ.js +0 -42
- package/dist/app-ZNSUUOFJ.js +0 -32
- package/dist/bam-ESRPS4TQ.js +0 -876
- package/dist/barchart-BPUEO4RK.js +0 -42
- package/dist/barchart2-Z36PNSM2.js +0 -309
- package/dist/block-GEG4UUOU.js +0 -6250
- package/dist/block.init-SB6OX35E.js +0 -33
- package/dist/block.mds.expressionrank-2JLMS334.js +0 -354
- package/dist/block.mds.geneboxplot-BZMGG6G3.js +0 -823
- package/dist/block.mds.junction-636PWE2O.js +0 -1539
- package/dist/block.mds.svcnv-S4L2HMZW.js +0 -6796
- package/dist/block.svg-A7EABUXG.js +0 -159
- package/dist/block.tk.aicheck-KNFJVUTW.js +0 -278
- package/dist/block.tk.ase-BPU25OLX.js +0 -360
- package/dist/block.tk.bam-VC4CZCUS.js +0 -1901
- package/dist/block.tk.bedgraphdot-FQS4Z4RC.js +0 -379
- package/dist/block.tk.bigwig.ui-7STXSD3X.js +0 -206
- package/dist/block.tk.hicstraw-CVDCOMPP.js +0 -818
- package/dist/block.tk.junction-PG4RZFH3.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-JRW4ZJIK.js +0 -194
- package/dist/block.tk.ld-DLDP2NHJ.js +0 -94
- package/dist/block.tk.menu-PWGFMKBQ.js +0 -1024
- package/dist/block.tk.pgv-HOBOXQIN.js +0 -938
- package/dist/brainImaging-GUQTOHQF.js +0 -555
- package/dist/brainRegions-JWBIBCTG.js +0 -217
- package/dist/bubbleHeatmap-EUO3DUVT.js +0 -378
- package/dist/cellTypeBubbleHeatmap-TIBGPZTB.js +0 -278
- package/dist/chunk-3CGAABHZ.js +0 -176
- package/dist/chunk-3ELYMSGO.js +0 -26
- package/dist/chunk-3QL3U6FU.js +0 -2853
- package/dist/chunk-3QL3U6FU.js.map +0 -7
- package/dist/chunk-3TV5WWUN.js +0 -339
- package/dist/chunk-4Y5W26UF.js +0 -424
- package/dist/chunk-5XE3WSUX.js +0 -6360
- package/dist/chunk-665X7R7S.js +0 -382
- package/dist/chunk-67URJYN7.js +0 -84
- package/dist/chunk-6MQPXWOR.js +0 -55
- package/dist/chunk-7DSL65G7.js +0 -14
- package/dist/chunk-A6F3CSXP.js +0 -626
- package/dist/chunk-A6F3CSXP.js.map +0 -7
- package/dist/chunk-A7OWXDYA.js +0 -129
- package/dist/chunk-A7OWXDYA.js.map +0 -7
- package/dist/chunk-AB6JQFIQ.js +0 -129
- package/dist/chunk-ACOHIDWO.js +0 -240
- package/dist/chunk-AIVPAC5Q.js +0 -102
- package/dist/chunk-AKKJFMW5.js +0 -4375
- package/dist/chunk-AR2UIN77.js +0 -255
- package/dist/chunk-AXF6SVNQ.js +0 -56
- package/dist/chunk-BLYD6SQO.js +0 -98
- package/dist/chunk-BSWPONNA.js +0 -550
- package/dist/chunk-BX3P73XH.js +0 -299
- package/dist/chunk-CSAS3PVJ.js +0 -24956
- package/dist/chunk-CSAS3PVJ.js.map +0 -7
- package/dist/chunk-CW35X5ZL.js +0 -5071
- package/dist/chunk-D4XHYQNS.js +0 -281
- package/dist/chunk-DH74ZT37.js +0 -141
- package/dist/chunk-E76UYIT2.js +0 -182
- package/dist/chunk-ELJX3QIQ.js +0 -424
- package/dist/chunk-ELJX3QIQ.js.map +0 -7
- package/dist/chunk-EM6KUVI5.js +0 -194
- package/dist/chunk-F4GYWCRF.js +0 -302
- package/dist/chunk-FJ3JD7B3.js +0 -59
- package/dist/chunk-FW3ME75U.js +0 -54
- package/dist/chunk-FXQXCOII.js +0 -101
- package/dist/chunk-FXQXCOII.js.map +0 -7
- package/dist/chunk-G2X2PN74.js +0 -783
- package/dist/chunk-G3QKTYUT.js +0 -2676
- package/dist/chunk-G5USS6FI.js +0 -56
- package/dist/chunk-GLPTPX45.js +0 -203
- package/dist/chunk-GPY6SBCX.js +0 -339
- package/dist/chunk-GWHIKECP.js +0 -1731
- package/dist/chunk-GWHIKECP.js.map +0 -7
- package/dist/chunk-GWVVEOYX.js +0 -263
- package/dist/chunk-HDV3LHCN.js +0 -379
- package/dist/chunk-HGXSYPU6.js +0 -2327
- package/dist/chunk-HMKEVTRM.js +0 -446
- package/dist/chunk-HPCKKXRK.js +0 -1233
- package/dist/chunk-IAB2PRIH.js +0 -396
- package/dist/chunk-IAB2PRIH.js.map +0 -7
- package/dist/chunk-J5JBHGRN.js +0 -31
- package/dist/chunk-JHOGTGIS.js +0 -1988
- package/dist/chunk-KCX54MGS.js +0 -480
- package/dist/chunk-KVRSO2OZ.js +0 -34
- package/dist/chunk-M367Y7ML.js +0 -140
- package/dist/chunk-M4PUW3ML.js +0 -243
- package/dist/chunk-ME325OQC.js +0 -562
- package/dist/chunk-NJWNKBRC.js +0 -468
- package/dist/chunk-O5FUHCNU.js +0 -397
- package/dist/chunk-ODHQPTHU.js +0 -134
- package/dist/chunk-PTQ4GQCS.js +0 -692
- package/dist/chunk-PUSSP76H.js +0 -70
- package/dist/chunk-Q3PAXUCU.js +0 -54
- package/dist/chunk-QWBKN2IC.js +0 -80
- package/dist/chunk-R4E7BXC6.js +0 -49
- package/dist/chunk-SDYFM3UL.js +0 -274
- package/dist/chunk-SP6WCXY6.js +0 -217
- package/dist/chunk-SRTZQOK7.js +0 -102
- package/dist/chunk-T4RYLTR3.js +0 -178
- package/dist/chunk-TANWA6SU.js +0 -54
- package/dist/chunk-TBIHBC5V.js +0 -170
- package/dist/chunk-TGTCOCPF.js +0 -1278
- package/dist/chunk-TOFOT2BN.js +0 -294
- package/dist/chunk-UOYIPBTX.js +0 -217
- package/dist/chunk-USULBM4V.js +0 -2784
- package/dist/chunk-UYKJOBRO.js +0 -1616
- package/dist/chunk-UYKJOBRO.js.map +0 -7
- package/dist/chunk-V3WSMWBF.js +0 -123
- package/dist/chunk-VTHZGUSZ.js +0 -2146
- package/dist/chunk-VTHZGUSZ.js.map +0 -7
- package/dist/chunk-WMQDFVJK.js +0 -103
- package/dist/chunk-WTQQWFV4.js +0 -38
- package/dist/chunk-XDLKYVYU.js +0 -276
- package/dist/chunk-XNJN5J3U.js +0 -37
- package/dist/chunk-XQLOEZ7T.js +0 -158
- package/dist/chunk-XQLOEZ7T.js.map +0 -7
- package/dist/chunk-Y3SDMRDX.js +0 -119
- package/dist/chunk-Y5FE3G6J.js +0 -518
- package/dist/chunk-YMEWZVRG.js +0 -237
- package/dist/chunk-YPHFEKWI.js +0 -1339
- package/dist/chunk-Z4HW3FEE.js +0 -272
- package/dist/cohort-NYFUILFO.js +0 -70
- package/dist/condition-6M4AVISY.js +0 -327
- package/dist/controls-LMTWS3SY.js +0 -34
- package/dist/controls.config-4PK7HLFJ.js +0 -34
- package/dist/correlation-X6GB6ITK.js +0 -95
- package/dist/customdata.inputui-MDG3BTTG.js +0 -284
- package/dist/dataDownload-TFRI3VFM.js +0 -329
- package/dist/databrowser.ui-L2K7VVDW.js +0 -425
- package/dist/dictionary-MS6R3VNY.js +0 -113
- package/dist/dnaMethylation-2KYSQWNE.js +0 -33
- package/dist/dnaMethylation.integration.spec-2BHNKOGN.js +0 -198
- package/dist/dofetch-BETN7HEX.js +0 -48
- package/dist/e2pca-QC2EI5JM.js +0 -344
- package/dist/ep-BTRMR4OT.js +0 -1249
- package/dist/expclust.gdc.spec-C5ZMBCGO.js +0 -302
- package/dist/facet-LPXKLX53.js +0 -519
- package/dist/gb-PHJ2SM5D.js +0 -81
- package/dist/geneExpClustering-OXZJHEPD.js +0 -244
- package/dist/geneExpression-54RGEGML.js +0 -310
- package/dist/geneExpression-FLBQXMSX.js +0 -33
- package/dist/geneExpression.unit.spec-ZCE7G6HI.js +0 -128
- package/dist/geneORA-TELI5AFV.js +0 -273
- package/dist/geneRanking-7YZA5GNG.js +0 -548
- package/dist/geneVariant-NJYUEY4C.js +0 -36
- package/dist/geneVariant-VKWTXUMK.js +0 -289
- package/dist/geneVariant.integration.spec-RWYP523U.js +0 -503
- package/dist/genefusion.ui-B6J7I3RA.js +0 -303
- package/dist/geneset-VG4SFYML.js +0 -203
- package/dist/genomeBrowser.spec-5IS5Y2NG.js +0 -276
- package/dist/grin2-3T6KRC34.js +0 -70
- package/dist/grin2-FOOH736B.js +0 -949
- package/dist/hierCluster-WLAFGZAT.js +0 -55
- package/dist/hierCluster-XBL2TOOL.js +0 -59
- package/dist/hierCluster.config-VCBRBGDZ.js +0 -36
- package/dist/hierCluster.integration.spec-TNJD2QT6.js +0 -483
- package/dist/hierCluster.integration.spec-TNJD2QT6.js.map +0 -7
- package/dist/hierCluster.interactivity-PEEJ3BRC.js +0 -49
- package/dist/hierCluster.renderers-7ESGKIGM.js +0 -19
- package/dist/imagePlot-LWL6JMKM.js +0 -156
- package/dist/importPlot-CLBY6QZN.js +0 -8
- package/dist/isoformExpression-36P3BBN7.js +0 -35
- package/dist/isoformExpression.unit.spec-SF2SPTRC.js +0 -237
- package/dist/junction-B7DSIG4E.js +0 -36
- package/dist/junction.customTerm-7VZS4JDE.js +0 -16
- package/dist/junction.unit.spec-4MWU36MR.js +0 -182
- package/dist/launch.adhoc-3B34GV4S.js +0 -37
- package/dist/leftlabel.sample-6OM5H67E.js +0 -258
- package/dist/lollipop-SL2F5G6K.js +0 -166
- package/dist/maf-FRYGN5GR.js +0 -455
- package/dist/maftimeline-3UFWS73J.js +0 -587
- package/dist/matrix-DDKSOJ4C.js +0 -59
- package/dist/matrix-H2ZH2QKC.js +0 -54
- package/dist/matrix.cells-JTMC35SK.js +0 -26
- package/dist/matrix.config-EUBXWEBS.js +0 -37
- package/dist/matrix.data-CO5RBWY5.js +0 -23
- package/dist/matrix.dom-2SA43BPT.js +0 -11
- package/dist/matrix.groups-AKOJ2W6U.js +0 -26
- package/dist/matrix.integration.spec-66KNZO3S.js +0 -3160
- package/dist/matrix.interactivity-DY5YJIYB.js +0 -37
- package/dist/matrix.layout-MQQNHBI2.js +0 -39
- package/dist/matrix.legend-CGU7T6GF.js +0 -20
- package/dist/matrix.renderers-HC7PJN4B.js +0 -34
- package/dist/matrix.serieses-W4L6ZO37.js +0 -19
- package/dist/matrix.sort-T74DWFB2.js +0 -26
- package/dist/matrix.sort.unit.spec-EQEHQXTO.js +0 -468
- package/dist/matrix.sorterUi-GFQG4HFV.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-XQHFOEYE.js +0 -338
- package/dist/matrix.unit.spec-4ZWUGZUC.js +0 -150
- package/dist/mavb-3CL5OHWB.js +0 -727
- package/dist/mds.fimo-2RFJQKJM.js +0 -513
- package/dist/mds.samplescatterplot-X6CXMY4C.js +0 -1545
- package/dist/mds.survivalplot-57NIKSSH.js +0 -477
- package/dist/multivalue-3TUGYL4J.js +0 -83
- package/dist/numericDictTermCluster-RLX5CLTN.js +0 -63
- package/dist/oncomatrix-COK76MJN.js +0 -290
- package/dist/oncomatrix.spec-SO3ZN5BF.js +0 -443
- package/dist/plot.2dvaf-TETCE4VG.js +0 -372
- package/dist/plot.app-5YUAVZA4.js +0 -36
- package/dist/plot.barplot-JUGY5Z7A.js +0 -97
- package/dist/plot.boxplot-QZXICT7J.js +0 -146
- package/dist/plot.brainImaging-2F6E6QS4.js +0 -51
- package/dist/plot.disco-H4P4B6QS.js +0 -99
- package/dist/plot.ssgq-LEQF3STZ.js +0 -134
- package/dist/plot.vaf2cov-UBMD2CN7.js +0 -253
- package/dist/polar2-AVEZM2T5.js +0 -232
- package/dist/profileForms-CUSUGTPC.js +0 -941
- package/dist/profilePlot-67Z7AXQ4.js +0 -49
- package/dist/proteinView-7K7VHGX3.js +0 -1357
- package/dist/proteomeCohortCompare-MRGH6HHI.js +0 -912
- package/dist/pseudbulk.unit.spec-ZHDL6GIM.js +0 -86
- package/dist/pseudobulk-ZNXPF7QB.js +0 -35
- package/dist/qualitative-QXMZHDWU.js +0 -38
- package/dist/radar2-QJDGNLED.js +0 -327
- package/dist/radarFacility2-LGGOOWX4.js +0 -335
- package/dist/rememberedGvQ.unit.spec-YKUMMYFT.js +0 -211
- package/dist/render-LSSRZJY3.js +0 -33
- package/dist/report-TTECPO44.js +0 -217
- package/dist/sampleView-EFS2UBRS.js +0 -43
- package/dist/samplelst-FXULLJBO.js +0 -106
- package/dist/samplematrix-MNFCXOWO.js +0 -2193
- package/dist/sc-2BUOXML2.js +0 -81
- package/dist/scatter-AVRTALYY.js +0 -925
- package/dist/scatter-CPEIVL3K.js +0 -88
- package/dist/selectGenomeWithTklst-3BG2ZPPN.js +0 -129
- package/dist/singleCellCellType-QLAEBVN2.js +0 -33
- package/dist/singleCellCellType.unit.spec-P4NAWYKL.js +0 -154
- package/dist/singleCellGeneExpression-IZ2PMDDL.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-DKBZICJM.js +0 -148
- package/dist/singleCellNumericValue-NB3QFH7H.js +0 -33
- package/dist/singleCellNumericValue.unit.spec-ZKK2KWRQ.js +0 -416
- package/dist/singleCellPlot-ZU655L4Z.js +0 -48
- package/dist/singlecell-NKPTXVHW.js +0 -1566
- package/dist/singlecell-PEIEFXVU.js +0 -81
- package/dist/snp-G55JGINX.js +0 -33
- package/dist/snp.unit.spec-47CCZKJO.js +0 -171
- package/dist/snplocus-TRVAEAPF.js +0 -203
- package/dist/spliceevent.a53ss.diagram-FL2R6F22.js +0 -146
- package/dist/spliceevent.exonskip.diagram-XDZWTJXR.js +0 -278
- package/dist/spliceevent.noeventdiagram-L322N534.js +0 -455
- package/dist/ssGSEA-DZY4LFQY.js +0 -33
- package/dist/ssGSEA.unit.spec-P6C3VTVZ.js +0 -83
- package/dist/stattable-R7O6OIMB.js +0 -117
- package/dist/studyCatalog-OMDE4JRD.js +0 -414
- package/dist/summarizeCnvGeneexp-A7HW6FJI.js +0 -158
- package/dist/summarizeGeneexpSurvival-ODI4HGFH.js +0 -105
- package/dist/summarizeMutationCnv-C2YB73OL.js +0 -159
- package/dist/summarizeMutationDiagnosis-4Y322NYU.js +0 -35
- package/dist/summarizeMutationSurvival-7IHNURLC.js +0 -99
- package/dist/summary-E4L5MZTF.js +0 -44
- package/dist/summary.integration.spec-SDCGE6BQ.js +0 -409
- package/dist/summaryInput-DHIMU5DM.js +0 -242
- package/dist/sunburst-ULNPFEAM.js +0 -278
- package/dist/survival-CU4N5KZO.js +0 -53
- package/dist/survival-KWWH6REE.js +0 -1248
- package/dist/survival.integration.spec-UW6SYVLP.js +0 -613
- package/dist/svgraph-HFI6NNF3.js +0 -1382
- package/dist/svmr-VHS7Z4SO.js +0 -3837
- package/dist/table-GJUXHKQI.js +0 -197
- package/dist/termCollection-CCZ4BFIU.js +0 -33
- package/dist/termCollection-O5CQ472U.js +0 -252
- package/dist/termCollection.unit.spec-KR5G6JFU.js +0 -299
- package/dist/termCollectionFractionSelection-IKU5MFBT.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-6ZWHNGES.js +0 -188
- package/dist/tk-3DLMAFW7.js +0 -41
- package/dist/tk-CAYWF7LX.js +0 -1121
- package/dist/tp.ui-NF5ZYOHW.js +0 -1454
- package/dist/tvs.density-V6ZXSFGF.js +0 -19
- package/dist/tvs.dt-43A4SSLG.js +0 -34
- package/dist/tvs.dtcnv.categorical-DYXHUNP2.js +0 -35
- package/dist/tvs.dtcnv.continuous-NOKNP4UG.js +0 -67
- package/dist/tvs.dtfusion-4NAOCC2X.js +0 -35
- package/dist/tvs.dtitd-SZC6EITI.js +0 -35
- package/dist/tvs.dtsnvindel-EYSBCNQK.js +0 -35
- package/dist/tvs.dtsv-VSPWIIFO.js +0 -35
- package/dist/tvs.numeric-M5LH3PRH.js +0 -20
- package/dist/tvs.samplelst-3YQ4GKNG.js +0 -98
- package/dist/tvs.termCollection-EVM4ATPW.js +0 -124
- package/dist/tvs.termCollection-EVM4ATPW.js.map +0 -7
- package/dist/vocabulary-HCPEIO2P.js +0 -36
- package/dist/wsi.direct-K2J6GGWY.js +0 -8343
- /package/dist/{2dmaf-7VZ536T5.js.map → 2dmaf-FEZRNHDF.js.map} +0 -0
- /package/dist/{AggMatrixInput-UTUOXTGA.js.map → AggMatrixInput-6FJIELYO.js.map} +0 -0
- /package/dist/{AggregateMatrix-X75HUZYO.js.map → AggregateMatrix-MUPBUGIZ.js.map} +0 -0
- /package/dist/{AppHeader-X2DR6VSM.js.map → AppHeader-ZTNZ62UL.js.map} +0 -0
- /package/dist/{CorrelationVolcano-IDBUJH2E.js.map → CorrelationVolcano-42NYXAXG.js.map} +0 -0
- /package/dist/{Cuminc-BYFIMOLO.js.map → Cuminc-6AKLT6HF.js.map} +0 -0
- /package/dist/{DE-BI7DHHW4.js.map → DE-KJHFZWND.js.map} +0 -0
- /package/dist/{DEinput-W66CT4U2.js.map → DEinput-HXB3LYZW.js.map} +0 -0
- /package/dist/{DM-62TEJA3C.js.map → DM-AAHX4PLH.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-PRTA6CYW.js.map → DifferentialAnalysis-JX4EDEOY.js.map} +0 -0
- /package/dist/{Disco-4JQP3FRW.js.map → Disco-GXKO4QQH.js.map} +0 -0
- /package/dist/{Disco.UI-6RHAA5KU.js.map → Disco.UI-DGD4RXJP.js.map} +0 -0
- /package/dist/{DmrPlot-VYQYMTQ7.js.map → DmrPlot-DQ3XTMTN.js.map} +0 -0
- /package/dist/{GB-LULUM5LH.js.map → GB-OUWNNBBK.js.map} +0 -0
- /package/dist/{GSEA-DT3SYXOZ.js.map → GSEA-DSKGFAPG.js.map} +0 -0
- /package/dist/{GeneExpInput-UILWAGRH.js.map → GeneExpInput-FZLOBE2Q.js.map} +0 -0
- /package/dist/{Geomap-AFKEGMR5.js.map → Geomap-GP5KD3OX.js.map} +0 -0
- /package/dist/{HicApp-APDL5POY.js.map → HicApp-2N6WYWZX.js.map} +0 -0
- /package/dist/{IDCViewer-DQXAORHT.js.map → IDCViewer-MSUC7IXX.js.map} +0 -0
- /package/dist/{NumBinaryEditor-OUVIOEH7.js.map → NumBinaryEditor-C4G2IH36.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-VBX2X4CT.js.map → NumBinaryEditor.unit.spec-ZAVAUGXA.js.map} +0 -0
- /package/dist/{NumContEditor-JVPRBZPW.js.map → NumContEditor-VEEMMWHX.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-EQNB6RMI.js.map → NumContEditor.unit.spec-65ORC42O.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-E2SXZDF4.js.map → NumCustomBinEditor-YIUHJAXP.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-VLR7MGNL.js.map → NumCustomBinEditor.unit.spec-NT5VK2LO.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-CUA55FU3.js.map → NumDiscreteEditor-A4WELAJH.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-7IPCMUDQ.js.map → NumDiscreteEditor.unit.spec-7QABM6KK.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-CWU7YBEP.js.map → NumRegularBinEditor-IPVPLSQY.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-RGV3EUPC.js.map → NumRegularBinEditor.unit.spec-Q4DMWATB.js.map} +0 -0
- /package/dist/{NumSplineEditor-PC5X7AUJ.js.map → NumSplineEditor-5E6CIWLP.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-QCR3RL5W.js.map → NumSplineEditor.unit.spec-DHJF5F6H.js.map} +0 -0
- /package/dist/{NumericDensity-CFUEE5ZN.js.map → NumericDensity-GXMWWK2A.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-JOCVEC32.js.map → NumericDensity.unit.spec-OAPOMSEW.js.map} +0 -0
- /package/dist/{NumericHandler-VL2Z55KF.js.map → NumericHandler-H5WHGFXD.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-ULM5FSSA.js.map → NumericHandler.unit.spec-PBNOJEMS.js.map} +0 -0
- /package/dist/{ProteomeInput-3WKTVCYT.js.map → ProteomeInput-ZA7R5S43.js.map} +0 -0
- /package/dist/{Regression-M7AQTYXL.js.map → Regression-WSWTSXFX.js.map} +0 -0
- /package/dist/{RunChart2-54SVOXJR.js.map → RunChart2-J5CTJI5C.js.map} +0 -0
- /package/dist/{Volcano-T57VFSWR.js.map → Volcano-4IEQIEDS.js.map} +0 -0
- /package/dist/{Wsi-U3U3EILE.js.map → Wsi-LJ6AY5RI.js.map} +0 -0
- /package/dist/{adSandbox-S3JP7XF3.js.map → adSandbox-EIN4KEML.js.map} +0 -0
- /package/dist/{animatedBubbleChart-LZKNERIM.js.map → animatedBubbleChart-LINYUKMD.js.map} +0 -0
- /package/dist/{app-2MERLGNJ.js.map → app-SE7UQ5DB.js.map} +0 -0
- /package/dist/{app-ZNSUUOFJ.js.map → app-VGMZNGWP.js.map} +0 -0
- /package/dist/{bam-ESRPS4TQ.js.map → bam-ZXEZWRSZ.js.map} +0 -0
- /package/dist/{barchart-BPUEO4RK.js.map → barchart-N4B4C2FO.js.map} +0 -0
- /package/dist/{barchart2-Z36PNSM2.js.map → barchart2-EDVEWTVX.js.map} +0 -0
- /package/dist/{block-GEG4UUOU.js.map → block-E7YUGCHL.js.map} +0 -0
- /package/dist/{block.init-SB6OX35E.js.map → block.init-FSOCF2IM.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-2JLMS334.js.map → block.mds.expressionrank-EDBTITXU.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-BZMGG6G3.js.map → block.mds.geneboxplot-GG5672SY.js.map} +0 -0
- /package/dist/{block.mds.junction-636PWE2O.js.map → block.mds.junction-HUC4S24K.js.map} +0 -0
- /package/dist/{block.mds.svcnv-S4L2HMZW.js.map → block.mds.svcnv-EQHYCIBU.js.map} +0 -0
- /package/dist/{block.svg-A7EABUXG.js.map → block.svg-HBVPUQJ2.js.map} +0 -0
- /package/dist/{block.tk.aicheck-KNFJVUTW.js.map → block.tk.aicheck-TRJ5IIWZ.js.map} +0 -0
- /package/dist/{block.tk.ase-BPU25OLX.js.map → block.tk.ase-COV7YYYO.js.map} +0 -0
- /package/dist/{block.tk.bam-VC4CZCUS.js.map → block.tk.bam-MDSLY6NH.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-FQS4Z4RC.js.map → block.tk.bedgraphdot-MKWEL53X.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-7STXSD3X.js.map → block.tk.bigwig.ui-UKKJX7TA.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-CVDCOMPP.js.map → block.tk.hicstraw-6LNXEIOF.js.map} +0 -0
- /package/dist/{block.tk.junction-PG4RZFH3.js.map → block.tk.junction-F3SERFFD.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-JRW4ZJIK.js.map → block.tk.junction.textmatrixui-2XUMSKLS.js.map} +0 -0
- /package/dist/{block.tk.ld-DLDP2NHJ.js.map → block.tk.ld-COP5RUJJ.js.map} +0 -0
- /package/dist/{block.tk.menu-PWGFMKBQ.js.map → block.tk.menu-SRDPD44N.js.map} +0 -0
- /package/dist/{block.tk.pgv-HOBOXQIN.js.map → block.tk.pgv-3SVINTXN.js.map} +0 -0
- /package/dist/{brainImaging-GUQTOHQF.js.map → brainImaging-UNBA4KA3.js.map} +0 -0
- /package/dist/{brainRegions-JWBIBCTG.js.map → brainRegions-DC6TQB53.js.map} +0 -0
- /package/dist/{bubbleHeatmap-EUO3DUVT.js.map → bubbleHeatmap-X3W3AZJY.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-TIBGPZTB.js.map → cellTypeBubbleHeatmap-LFI6TGOO.js.map} +0 -0
- /package/dist/{chunk-SRTZQOK7.js.map → chunk-2ANFUNS3.js.map} +0 -0
- /package/dist/{chunk-TGTCOCPF.js.map → chunk-2G4SFRWC.js.map} +0 -0
- /package/dist/{chunk-Q3PAXUCU.js.map → chunk-2WKGE7BO.js.map} +0 -0
- /package/dist/{chunk-YMEWZVRG.js.map → chunk-3CGMCYZB.js.map} +0 -0
- /package/dist/{chunk-6MQPXWOR.js.map → chunk-3I4DBVLM.js.map} +0 -0
- /package/dist/{chunk-O5FUHCNU.js.map → chunk-42VFF74T.js.map} +0 -0
- /package/dist/{chunk-BLYD6SQO.js.map → chunk-4HTRCXLS.js.map} +0 -0
- /package/dist/{chunk-D4XHYQNS.js.map → chunk-55T2AMJ3.js.map} +0 -0
- /package/dist/{chunk-GLPTPX45.js.map → chunk-5JDG5NNA.js.map} +0 -0
- /package/dist/{chunk-3TV5WWUN.js.map → chunk-6AFMWQXZ.js.map} +0 -0
- /package/dist/{chunk-TOFOT2BN.js.map → chunk-6ECKCC4X.js.map} +0 -0
- /package/dist/{chunk-BX3P73XH.js.map → chunk-6QMC7LFA.js.map} +0 -0
- /package/dist/{chunk-7DSL65G7.js.map → chunk-72L6NTNT.js.map} +0 -0
- /package/dist/{chunk-EM6KUVI5.js.map → chunk-7ISAV37C.js.map} +0 -0
- /package/dist/{chunk-R4E7BXC6.js.map → chunk-A32XQLMP.js.map} +0 -0
- /package/dist/{chunk-SDYFM3UL.js.map → chunk-A3MYBXG3.js.map} +0 -0
- /package/dist/{chunk-YPHFEKWI.js.map → chunk-AU3Y6IQF.js.map} +0 -0
- /package/dist/{chunk-NJWNKBRC.js.map → chunk-AXL3CC4U.js.map} +0 -0
- /package/dist/{chunk-3ELYMSGO.js.map → chunk-BSWVDH75.js.map} +0 -0
- /package/dist/{chunk-4Y5W26UF.js.map → chunk-CME6DYDH.js.map} +0 -0
- /package/dist/{chunk-Y3SDMRDX.js.map → chunk-DD3DWHUY.js.map} +0 -0
- /package/dist/{chunk-HGXSYPU6.js.map → chunk-DKED35KW.js.map} +0 -0
- /package/dist/{chunk-AR2UIN77.js.map → chunk-DPGALT5N.js.map} +0 -0
- /package/dist/{chunk-AB6JQFIQ.js.map → chunk-DPTGY4BW.js.map} +0 -0
- /package/dist/{chunk-HDV3LHCN.js.map → chunk-DQD4MTK4.js.map} +0 -0
- /package/dist/{chunk-M4PUW3ML.js.map → chunk-EFLRT7JY.js.map} +0 -0
- /package/dist/{chunk-KVRSO2OZ.js.map → chunk-EMSO3BNW.js.map} +0 -0
- /package/dist/{chunk-XDLKYVYU.js.map → chunk-F5QB5YEE.js.map} +0 -0
- /package/dist/{chunk-E76UYIT2.js.map → chunk-FKSR53VK.js.map} +0 -0
- /package/dist/{chunk-T4RYLTR3.js.map → chunk-FSWBNSQD.js.map} +0 -0
- /package/dist/{chunk-XNJN5J3U.js.map → chunk-G6ZIO5T3.js.map} +0 -0
- /package/dist/{chunk-ME325OQC.js.map → chunk-HTZJQNHP.js.map} +0 -0
- /package/dist/{chunk-G5USS6FI.js.map → chunk-ITYNHDDD.js.map} +0 -0
- /package/dist/{chunk-TBIHBC5V.js.map → chunk-IWVCFZHQ.js.map} +0 -0
- /package/dist/{chunk-GWVVEOYX.js.map → chunk-J4WRX5G6.js.map} +0 -0
- /package/dist/{chunk-GPY6SBCX.js.map → chunk-JZLIHI6A.js.map} +0 -0
- /package/dist/{chunk-WMQDFVJK.js.map → chunk-KJGYGPJZ.js.map} +0 -0
- /package/dist/{chunk-UOYIPBTX.js.map → chunk-L3UFI52T.js.map} +0 -0
- /package/dist/{chunk-PTQ4GQCS.js.map → chunk-L4ZPMF7E.js.map} +0 -0
- /package/dist/{chunk-F4GYWCRF.js.map → chunk-L62JI5UL.js.map} +0 -0
- /package/dist/{chunk-Y5FE3G6J.js.map → chunk-MRPYHLFW.js.map} +0 -0
- /package/dist/{chunk-G2X2PN74.js.map → chunk-MVWJHZ5G.js.map} +0 -0
- /package/dist/{chunk-ODHQPTHU.js.map → chunk-NGWU4QLU.js.map} +0 -0
- /package/dist/{chunk-3CGAABHZ.js.map → chunk-OC2FSBFB.js.map} +0 -0
- /package/dist/{chunk-M367Y7ML.js.map → chunk-OGRDLK57.js.map} +0 -0
- /package/dist/{chunk-5XE3WSUX.js.map → chunk-OYBYKZUR.js.map} +0 -0
- /package/dist/{chunk-665X7R7S.js.map → chunk-PFRPC2SY.js.map} +0 -0
- /package/dist/{chunk-Z4HW3FEE.js.map → chunk-PLHOCPJD.js.map} +0 -0
- /package/dist/{chunk-AIVPAC5Q.js.map → chunk-PQDZLOY7.js.map} +0 -0
- /package/dist/{chunk-PUSSP76H.js.map → chunk-QDNUIS2Y.js.map} +0 -0
- /package/dist/{chunk-G3QKTYUT.js.map → chunk-RHOMR2GY.js.map} +0 -0
- /package/dist/{chunk-J5JBHGRN.js.map → chunk-SKF6HQ74.js.map} +0 -0
- /package/dist/{chunk-HMKEVTRM.js.map → chunk-SPFK5XZH.js.map} +0 -0
- /package/dist/{chunk-DH74ZT37.js.map → chunk-SQGAWR2L.js.map} +0 -0
- /package/dist/{chunk-67URJYN7.js.map → chunk-TGKWEAUE.js.map} +0 -0
- /package/dist/{chunk-HPCKKXRK.js.map → chunk-UKOOGNUF.js.map} +0 -0
- /package/dist/{chunk-V3WSMWBF.js.map → chunk-UL5PEVZW.js.map} +0 -0
- /package/dist/{chunk-USULBM4V.js.map → chunk-UTMIX2H2.js.map} +0 -0
- /package/dist/{chunk-AXF6SVNQ.js.map → chunk-UZNFOCE7.js.map} +0 -0
- /package/dist/{chunk-BSWPONNA.js.map → chunk-V7UVHM57.js.map} +0 -0
- /package/dist/{chunk-JHOGTGIS.js.map → chunk-VP2JWT5W.js.map} +0 -0
- /package/dist/{chunk-KCX54MGS.js.map → chunk-VSTHBKQW.js.map} +0 -0
- /package/dist/{chunk-WTQQWFV4.js.map → chunk-W7A4QXZ7.js.map} +0 -0
- /package/dist/{chunk-FJ3JD7B3.js.map → chunk-WKCVZIN7.js.map} +0 -0
- /package/dist/{chunk-TANWA6SU.js.map → chunk-X7TJBXJJ.js.map} +0 -0
- /package/dist/{chunk-AKKJFMW5.js.map → chunk-XEEMCYP6.js.map} +0 -0
- /package/dist/{chunk-FW3ME75U.js.map → chunk-XTQWAVWJ.js.map} +0 -0
- /package/dist/{chunk-CW35X5ZL.js.map → chunk-YAN2MOON.js.map} +0 -0
- /package/dist/{chunk-ACOHIDWO.js.map → chunk-YCORHJ64.js.map} +0 -0
- /package/dist/{chunk-QWBKN2IC.js.map → chunk-YOBTHZVU.js.map} +0 -0
- /package/dist/{chunk-SP6WCXY6.js.map → chunk-ZTT6ZHU5.js.map} +0 -0
- /package/dist/{cohort-NYFUILFO.js.map → cohort-RF4FT2NT.js.map} +0 -0
- /package/dist/{condition-6M4AVISY.js.map → condition-WXE2CFYT.js.map} +0 -0
- /package/dist/{controls-LMTWS3SY.js.map → controls-AYF4H7UG.js.map} +0 -0
- /package/dist/{controls.config-4PK7HLFJ.js.map → controls.config-TXZKQNYC.js.map} +0 -0
- /package/dist/{correlation-X6GB6ITK.js.map → correlation-UAYMVVUS.js.map} +0 -0
- /package/dist/{customdata.inputui-MDG3BTTG.js.map → customdata.inputui-I7RFOGYM.js.map} +0 -0
- /package/dist/{dataDownload-TFRI3VFM.js.map → dataDownload-4AGSDSEO.js.map} +0 -0
- /package/dist/{databrowser.ui-L2K7VVDW.js.map → databrowser.ui-RGJEA2BI.js.map} +0 -0
- /package/dist/{dictionary-MS6R3VNY.js.map → dictionary-AWWQXIRP.js.map} +0 -0
- /package/dist/{dnaMethylation-2KYSQWNE.js.map → dnaMethylation-PICKZS2M.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-2BHNKOGN.js.map → dnaMethylation.integration.spec-JUSB3CFZ.js.map} +0 -0
- /package/dist/{dofetch-BETN7HEX.js.map → dofetch-ZJMKEYN2.js.map} +0 -0
- /package/dist/{e2pca-QC2EI5JM.js.map → e2pca-K4W7ZJZG.js.map} +0 -0
- /package/dist/{ep-BTRMR4OT.js.map → ep-OY5YQMEF.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-C5ZMBCGO.js.map → expclust.gdc.spec-LYDBM3TZ.js.map} +0 -0
- /package/dist/{facet-LPXKLX53.js.map → facet-7NJHLLCZ.js.map} +0 -0
- /package/dist/{gb-PHJ2SM5D.js.map → gb-COV44BMA.js.map} +0 -0
- /package/dist/{geneExpClustering-OXZJHEPD.js.map → geneExpClustering-EQR5XX4J.js.map} +0 -0
- /package/dist/{geneExpression-54RGEGML.js.map → geneExpression-2BNDQ6S6.js.map} +0 -0
- /package/dist/{geneExpression-FLBQXMSX.js.map → geneExpression-PGB6WF5H.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-ZCE7G6HI.js.map → geneExpression.unit.spec-OUNGGOJP.js.map} +0 -0
- /package/dist/{geneORA-TELI5AFV.js.map → geneORA-EKNEVQOS.js.map} +0 -0
- /package/dist/{geneRanking-7YZA5GNG.js.map → geneRanking-XUXLRERA.js.map} +0 -0
- /package/dist/{geneVariant-NJYUEY4C.js.map → geneVariant-JZDYV6LS.js.map} +0 -0
- /package/dist/{geneVariant-VKWTXUMK.js.map → geneVariant-KPZ2FYLK.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-RWYP523U.js.map → geneVariant.integration.spec-ISMLGTKC.js.map} +0 -0
- /package/dist/{genefusion.ui-B6J7I3RA.js.map → genefusion.ui-GRUXFC4U.js.map} +0 -0
- /package/dist/{geneset-VG4SFYML.js.map → geneset-RM4XIX23.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-5IS5Y2NG.js.map → genomeBrowser.spec-X7EOK2LS.js.map} +0 -0
- /package/dist/{grin2-FOOH736B.js.map → grin2-5XRUMYQO.js.map} +0 -0
- /package/dist/{grin2-3T6KRC34.js.map → grin2-SWZLKD52.js.map} +0 -0
- /package/dist/{hierCluster-WLAFGZAT.js.map → hierCluster-I6T4XD3P.js.map} +0 -0
- /package/dist/{hierCluster-XBL2TOOL.js.map → hierCluster-XVDGUOW7.js.map} +0 -0
- /package/dist/{hierCluster.config-VCBRBGDZ.js.map → hierCluster.config-66CKAAPG.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-PEEJ3BRC.js.map → hierCluster.interactivity-B5ZNFF4R.js.map} +0 -0
- /package/dist/{hierCluster.renderers-7ESGKIGM.js.map → hierCluster.renderers-R2DTKTLI.js.map} +0 -0
- /package/dist/{imagePlot-LWL6JMKM.js.map → imagePlot-ZM4IVDJT.js.map} +0 -0
- /package/dist/{importPlot-CLBY6QZN.js.map → importPlot-FQ65CZRI.js.map} +0 -0
- /package/dist/{isoformExpression-36P3BBN7.js.map → isoformExpression-BFCLGD2U.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-SF2SPTRC.js.map → isoformExpression.unit.spec-KYI4HI7U.js.map} +0 -0
- /package/dist/{junction-B7DSIG4E.js.map → junction-BKH6RWOP.js.map} +0 -0
- /package/dist/{junction.customTerm-7VZS4JDE.js.map → junction.customTerm-VNQKP5I4.js.map} +0 -0
- /package/dist/{junction.unit.spec-4MWU36MR.js.map → junction.unit.spec-MQIHKSNE.js.map} +0 -0
- /package/dist/{launch.adhoc-3B34GV4S.js.map → launch.adhoc-AHTCA2BP.js.map} +0 -0
- /package/dist/{leftlabel.sample-6OM5H67E.js.map → leftlabel.sample-LIBMKP22.js.map} +0 -0
- /package/dist/{lollipop-SL2F5G6K.js.map → lollipop-26ZQH3EL.js.map} +0 -0
- /package/dist/{maf-FRYGN5GR.js.map → maf-W3W2XJ5B.js.map} +0 -0
- /package/dist/{maftimeline-3UFWS73J.js.map → maftimeline-LCJD5O2M.js.map} +0 -0
- /package/dist/{matrix-DDKSOJ4C.js.map → matrix-H634EZWK.js.map} +0 -0
- /package/dist/{matrix-H2ZH2QKC.js.map → matrix-O2AINT5M.js.map} +0 -0
- /package/dist/{matrix.cells-JTMC35SK.js.map → matrix.cells-3U3CUU5I.js.map} +0 -0
- /package/dist/{matrix.config-EUBXWEBS.js.map → matrix.config-F6IPB5B5.js.map} +0 -0
- /package/dist/{matrix.data-CO5RBWY5.js.map → matrix.data-KQNBNYC6.js.map} +0 -0
- /package/dist/{matrix.dom-2SA43BPT.js.map → matrix.dom-YQNX4IQO.js.map} +0 -0
- /package/dist/{matrix.groups-AKOJ2W6U.js.map → matrix.groups-QFL2ZDHD.js.map} +0 -0
- /package/dist/{matrix.integration.spec-66KNZO3S.js.map → matrix.integration.spec-OVGSXJWO.js.map} +0 -0
- /package/dist/{matrix.interactivity-DY5YJIYB.js.map → matrix.interactivity-Q5ODZPDL.js.map} +0 -0
- /package/dist/{matrix.layout-MQQNHBI2.js.map → matrix.layout-YPYM7FRY.js.map} +0 -0
- /package/dist/{matrix.legend-CGU7T6GF.js.map → matrix.legend-ZO57ENXP.js.map} +0 -0
- /package/dist/{matrix.renderers-HC7PJN4B.js.map → matrix.renderers-NIGONKWO.js.map} +0 -0
- /package/dist/{matrix.serieses-W4L6ZO37.js.map → matrix.serieses-ZQD2U6RF.js.map} +0 -0
- /package/dist/{matrix.sort-T74DWFB2.js.map → matrix.sort-RZU65LR2.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-EQEHQXTO.js.map → matrix.sort.unit.spec-NDFK2A5C.js.map} +0 -0
- /package/dist/{matrix.sorterUi-GFQG4HFV.js.map → matrix.sorterUi-MVUI25W7.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-XQHFOEYE.js.map → matrix.sorterUi.unit.spec-4ZKNOV2L.js.map} +0 -0
- /package/dist/{matrix.unit.spec-4ZWUGZUC.js.map → matrix.unit.spec-V5XNLECG.js.map} +0 -0
- /package/dist/{mavb-3CL5OHWB.js.map → mavb-LF7A7BDK.js.map} +0 -0
- /package/dist/{mds.fimo-2RFJQKJM.js.map → mds.fimo-KJ4HPMZP.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-X6CXMY4C.js.map → mds.samplescatterplot-ZHNWWWYI.js.map} +0 -0
- /package/dist/{mds.survivalplot-57NIKSSH.js.map → mds.survivalplot-DNG7I22N.js.map} +0 -0
- /package/dist/{multivalue-3TUGYL4J.js.map → multivalue-SJQF7PHU.js.map} +0 -0
- /package/dist/{numericDictTermCluster-RLX5CLTN.js.map → numericDictTermCluster-O6PKT2FJ.js.map} +0 -0
- /package/dist/{oncomatrix-COK76MJN.js.map → oncomatrix-YJCPKS72.js.map} +0 -0
- /package/dist/{oncomatrix.spec-SO3ZN5BF.js.map → oncomatrix.spec-MWGBQCIQ.js.map} +0 -0
- /package/dist/{plot.2dvaf-TETCE4VG.js.map → plot.2dvaf-KIPQYNEH.js.map} +0 -0
- /package/dist/{plot.app-5YUAVZA4.js.map → plot.app-WHG3SEOG.js.map} +0 -0
- /package/dist/{plot.barplot-JUGY5Z7A.js.map → plot.barplot-DTSYFUPC.js.map} +0 -0
- /package/dist/{plot.boxplot-QZXICT7J.js.map → plot.boxplot-MQDULP3P.js.map} +0 -0
- /package/dist/{plot.brainImaging-2F6E6QS4.js.map → plot.brainImaging-DGVJQSCH.js.map} +0 -0
- /package/dist/{plot.disco-H4P4B6QS.js.map → plot.disco-HYPRBLMQ.js.map} +0 -0
- /package/dist/{plot.ssgq-LEQF3STZ.js.map → plot.ssgq-J5MMN7OD.js.map} +0 -0
- /package/dist/{plot.vaf2cov-UBMD2CN7.js.map → plot.vaf2cov-CID7GQB5.js.map} +0 -0
- /package/dist/{polar2-AVEZM2T5.js.map → polar2-QTSO2HCB.js.map} +0 -0
- /package/dist/{profileForms-CUSUGTPC.js.map → profileForms-SRR2M5OS.js.map} +0 -0
- /package/dist/{profilePlot-67Z7AXQ4.js.map → profilePlot-NDC4S2SC.js.map} +0 -0
- /package/dist/{proteinView-7K7VHGX3.js.map → proteinView-EFNQL3LD.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-MRGH6HHI.js.map → proteomeCohortCompare-WMR53HEL.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-ZHDL6GIM.js.map → pseudbulk.unit.spec-6MRZNXFI.js.map} +0 -0
- /package/dist/{pseudobulk-ZNXPF7QB.js.map → pseudobulk-O5EC44RY.js.map} +0 -0
- /package/dist/{qualitative-QXMZHDWU.js.map → qualitative-W6MFYG7Z.js.map} +0 -0
- /package/dist/{radar2-QJDGNLED.js.map → radar2-GIQILMWK.js.map} +0 -0
- /package/dist/{radarFacility2-LGGOOWX4.js.map → radarFacility2-5YJZ5JCK.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-YKUMMYFT.js.map → rememberedGvQ.unit.spec-B6RQM5LQ.js.map} +0 -0
- /package/dist/{render-LSSRZJY3.js.map → render-2J4LR3UI.js.map} +0 -0
- /package/dist/{report-TTECPO44.js.map → report-MUMQK6XY.js.map} +0 -0
- /package/dist/{sampleView-EFS2UBRS.js.map → sampleView-NKZMNBMH.js.map} +0 -0
- /package/dist/{samplelst-FXULLJBO.js.map → samplelst-X74JZMTR.js.map} +0 -0
- /package/dist/{samplematrix-MNFCXOWO.js.map → samplematrix-QDQXB5ZG.js.map} +0 -0
- /package/dist/{sc-2BUOXML2.js.map → sc-FGHV5CBJ.js.map} +0 -0
- /package/dist/{scatter-AVRTALYY.js.map → scatter-QFVRBA7F.js.map} +0 -0
- /package/dist/{scatter-CPEIVL3K.js.map → scatter-YXF5VQGZ.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-3BG2ZPPN.js.map → selectGenomeWithTklst-DP4RPV7U.js.map} +0 -0
- /package/dist/{singleCellCellType-QLAEBVN2.js.map → singleCellCellType-XCHCMRR6.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-P4NAWYKL.js.map → singleCellCellType.unit.spec-S3JTP235.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-IZ2PMDDL.js.map → singleCellGeneExpression-FD6REV7Y.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-DKBZICJM.js.map → singleCellGeneExpression.unit.spec-PVMZYD4G.js.map} +0 -0
- /package/dist/{singleCellNumericValue-NB3QFH7H.js.map → singleCellNumericValue-SIITQPMD.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-ZKK2KWRQ.js.map → singleCellNumericValue.unit.spec-7PJEHLF7.js.map} +0 -0
- /package/dist/{singleCellPlot-ZU655L4Z.js.map → singleCellPlot-YJCFAYJW.js.map} +0 -0
- /package/dist/{singlecell-NKPTXVHW.js.map → singlecell-6R7YK5P3.js.map} +0 -0
- /package/dist/{singlecell-PEIEFXVU.js.map → singlecell-KHMH732Y.js.map} +0 -0
- /package/dist/{snp-G55JGINX.js.map → snp-HXCVSW2F.js.map} +0 -0
- /package/dist/{snp.unit.spec-47CCZKJO.js.map → snp.unit.spec-HXMFR4QS.js.map} +0 -0
- /package/dist/{snplocus-TRVAEAPF.js.map → snplocus-YQVHAKBC.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-FL2R6F22.js.map → spliceevent.a53ss.diagram-4IBTR3JD.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-XDZWTJXR.js.map → spliceevent.exonskip.diagram-5ZTG65CE.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-L322N534.js.map → spliceevent.noeventdiagram-WO5KSC45.js.map} +0 -0
- /package/dist/{ssGSEA-DZY4LFQY.js.map → ssGSEA-VJ3LVYJV.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-P6C3VTVZ.js.map → ssGSEA.unit.spec-JQIJ4NZP.js.map} +0 -0
- /package/dist/{stattable-R7O6OIMB.js.map → stattable-COVQSHRZ.js.map} +0 -0
- /package/dist/{studyCatalog-OMDE4JRD.js.map → studyCatalog-EXVRH4FI.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-A7HW6FJI.js.map → summarizeCnvGeneexp-UJBTMXXH.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-ODI4HGFH.js.map → summarizeGeneexpSurvival-XLQJGDRY.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-C2YB73OL.js.map → summarizeMutationCnv-7RWSXB6F.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-4Y322NYU.js.map → summarizeMutationDiagnosis-42MG737O.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-7IHNURLC.js.map → summarizeMutationSurvival-FWVKVEHK.js.map} +0 -0
- /package/dist/{summary-E4L5MZTF.js.map → summary-NR26ZPQB.js.map} +0 -0
- /package/dist/{summary.integration.spec-SDCGE6BQ.js.map → summary.integration.spec-Z7JSUTGK.js.map} +0 -0
- /package/dist/{summaryInput-DHIMU5DM.js.map → summaryInput-DGKUOJVC.js.map} +0 -0
- /package/dist/{sunburst-ULNPFEAM.js.map → sunburst-C5JNGFT7.js.map} +0 -0
- /package/dist/{survival-CU4N5KZO.js.map → survival-GCEX3EAZ.js.map} +0 -0
- /package/dist/{survival-KWWH6REE.js.map → survival-OAQA5JQN.js.map} +0 -0
- /package/dist/{survival.integration.spec-UW6SYVLP.js.map → survival.integration.spec-ZX5RD6VQ.js.map} +0 -0
- /package/dist/{svgraph-HFI6NNF3.js.map → svgraph-XCFZ2WAG.js.map} +0 -0
- /package/dist/{svmr-VHS7Z4SO.js.map → svmr-4XTTURHA.js.map} +0 -0
- /package/dist/{table-GJUXHKQI.js.map → table-FQZ4UAH6.js.map} +0 -0
- /package/dist/{termCollection-CCZ4BFIU.js.map → termCollection-5QCR6LED.js.map} +0 -0
- /package/dist/{termCollection-O5CQ472U.js.map → termCollection-DN6A6HJU.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-KR5G6JFU.js.map → termCollection.unit.spec-RSSSXDHU.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-IKU5MFBT.js.map → termCollectionFractionSelection-OSN7FITY.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-6ZWHNGES.js.map → termCollectionFractionSelection.unit.spec-UW6D3DVK.js.map} +0 -0
- /package/dist/{tk-3DLMAFW7.js.map → tk-4CZCVYBP.js.map} +0 -0
- /package/dist/{tk-CAYWF7LX.js.map → tk-BIPJNXBZ.js.map} +0 -0
- /package/dist/{tp.ui-NF5ZYOHW.js.map → tp.ui-NI4U7567.js.map} +0 -0
- /package/dist/{tvs.density-V6ZXSFGF.js.map → tvs.density-CB24PXDE.js.map} +0 -0
- /package/dist/{tvs.dt-43A4SSLG.js.map → tvs.dt-YRDNDXUU.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-DYXHUNP2.js.map → tvs.dtcnv.categorical-REP4T33P.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-NOKNP4UG.js.map → tvs.dtcnv.continuous-K7OREEP5.js.map} +0 -0
- /package/dist/{tvs.dtfusion-4NAOCC2X.js.map → tvs.dtfusion-AB5MPH3Q.js.map} +0 -0
- /package/dist/{tvs.dtitd-SZC6EITI.js.map → tvs.dtitd-AFWU7ACY.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-EYSBCNQK.js.map → tvs.dtsnvindel-G7XQEKEO.js.map} +0 -0
- /package/dist/{tvs.dtsv-VSPWIIFO.js.map → tvs.dtsv-Y6BEY4J2.js.map} +0 -0
- /package/dist/{tvs.numeric-M5LH3PRH.js.map → tvs.numeric-GF4XF5OF.js.map} +0 -0
- /package/dist/{tvs.samplelst-3YQ4GKNG.js.map → tvs.samplelst-XRRWPC2E.js.map} +0 -0
- /package/dist/{vocabulary-HCPEIO2P.js.map → vocabulary-DJZWOO6Q.js.map} +0 -0
- /package/dist/{wsi.direct-K2J6GGWY.js.map → wsi.direct-XUWANMKV.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-UKOOGNUF.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-K7HFOAR7.js";
|
|
27
|
+
import {
|
|
28
|
+
aa2gmcoord
|
|
29
|
+
} from "./chunk-HJ6L54YS.js";
|
|
30
|
+
import "./chunk-KV4W2ACA.js";
|
|
31
|
+
import "./chunk-FSWBNSQD.js";
|
|
32
|
+
import {
|
|
33
|
+
Menu
|
|
34
|
+
} from "./chunk-7XZA2XR2.js";
|
|
35
|
+
import "./chunk-DD3DWHUY.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-GP4VLNMZ.js";
|
|
44
|
+
import "./chunk-6AFMWQXZ.js";
|
|
45
|
+
import "./chunk-CME6DYDH.js";
|
|
46
|
+
import {
|
|
47
|
+
TermTypes,
|
|
48
|
+
getColors,
|
|
49
|
+
mclass
|
|
50
|
+
} from "./chunk-57Z4VYLM.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-6XKAOSQE.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-FSOCF2IM.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-EFNQL3LD.js.map
|