@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,1233 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BRAIN_P_THRESHOLD,
|
|
3
|
+
brainFillByRegion,
|
|
4
|
+
brainTooltipByRegion,
|
|
5
|
+
loadBrainAssets,
|
|
6
|
+
makeBrainFcScale,
|
|
7
|
+
makeDiseaseTabs,
|
|
8
|
+
renderBrainSvg
|
|
9
|
+
} from "./chunk-ILEXRHF7.js";
|
|
10
|
+
import {
|
|
11
|
+
axisstyle,
|
|
12
|
+
newpane,
|
|
13
|
+
table2col
|
|
14
|
+
} from "./chunk-K7HFOAR7.js";
|
|
15
|
+
import {
|
|
16
|
+
Menu
|
|
17
|
+
} from "./chunk-7XZA2XR2.js";
|
|
18
|
+
import {
|
|
19
|
+
dofetch3
|
|
20
|
+
} from "./chunk-GP4VLNMZ.js";
|
|
21
|
+
import {
|
|
22
|
+
NumericModes
|
|
23
|
+
} from "./chunk-CME6DYDH.js";
|
|
24
|
+
import {
|
|
25
|
+
axisBottom,
|
|
26
|
+
axisLeft,
|
|
27
|
+
line_default
|
|
28
|
+
} from "./chunk-Z2ZITHT4.js";
|
|
29
|
+
import {
|
|
30
|
+
band,
|
|
31
|
+
linear,
|
|
32
|
+
point,
|
|
33
|
+
sqrt
|
|
34
|
+
} from "./chunk-4OLM3KSB.js";
|
|
35
|
+
import {
|
|
36
|
+
roundValue
|
|
37
|
+
} from "./chunk-TLT4YIG3.js";
|
|
38
|
+
import {
|
|
39
|
+
select_default
|
|
40
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
41
|
+
|
|
42
|
+
// plots/proteinView.tiles.ts
|
|
43
|
+
function getProteinViewConfig(self) {
|
|
44
|
+
return self?.app?.vocabApi?.termdbConfig?.queries?.proteome?.proteinView || {};
|
|
45
|
+
}
|
|
46
|
+
function getTileConfigs(self) {
|
|
47
|
+
return getProteinViewConfig(self).tiles || [];
|
|
48
|
+
}
|
|
49
|
+
function getTileConfig(self, key) {
|
|
50
|
+
return getTileConfigs(self).find((t) => t.key === key);
|
|
51
|
+
}
|
|
52
|
+
function diseaseCfg(self) {
|
|
53
|
+
return getProteinViewConfig(self).diseases || {};
|
|
54
|
+
}
|
|
55
|
+
var diseaseOrder = (self) => Object.keys(diseaseCfg(self));
|
|
56
|
+
var diseaseLabel = (self, d) => diseaseCfg(self)[d]?.label || d;
|
|
57
|
+
var isSpecificityControl = (self, d) => !!diseaseCfg(self)[d]?.specificityControl;
|
|
58
|
+
var modelOrder = (self) => Object.keys(getProteinViewConfig(self).models || {});
|
|
59
|
+
var modelColor = (self, m) => getProteinViewConfig(self).models?.[m]?.color || SINGLE_MODEL_COLOR;
|
|
60
|
+
var cellTypeCfg = (self) => getProteinViewConfig(self).cellTypes || {};
|
|
61
|
+
var proteomeLabel = (self, organism, assay) => self?.app?.vocabApi?.termdbConfig?.queries?.proteome?.organisms?.[organism]?.assays?.[assay]?.proteomeLabel || assay;
|
|
62
|
+
function orderBy(keys, order) {
|
|
63
|
+
const rank = (k) => order.indexOf(k) === -1 ? order.length : order.indexOf(k);
|
|
64
|
+
return [...keys].sort((a, b) => rank(a) - rank(b));
|
|
65
|
+
}
|
|
66
|
+
function cohortMatches(m, organism, assay, catalog) {
|
|
67
|
+
if (!m) return false;
|
|
68
|
+
if (m.organism && m.organism !== organism) return false;
|
|
69
|
+
if (m.assay && m.assay !== assay) return false;
|
|
70
|
+
const c = catalog || {};
|
|
71
|
+
for (const k in m.catalog || {}) if (c[k] !== m.catalog[k]) return false;
|
|
72
|
+
for (const k of m.with || []) if (!c[k]) return false;
|
|
73
|
+
for (const k of m.without || []) if (c[k]) return false;
|
|
74
|
+
return true;
|
|
75
|
+
}
|
|
76
|
+
var SIG_P = 0.05;
|
|
77
|
+
function parseAge(ageGroup) {
|
|
78
|
+
const n = parseInt(ageGroup || "");
|
|
79
|
+
return Number.isFinite(n) ? n : null;
|
|
80
|
+
}
|
|
81
|
+
var byAge = (a, b) => (parseAge(a) ?? 0) - (parseAge(b) ?? 0);
|
|
82
|
+
var fetchCache = /* @__PURE__ */ new Map();
|
|
83
|
+
function cachedFetch(key, load) {
|
|
84
|
+
if (!fetchCache.has(key)) {
|
|
85
|
+
const p = load();
|
|
86
|
+
p.catch(() => fetchCache.delete(key));
|
|
87
|
+
fetchCache.set(key, p);
|
|
88
|
+
}
|
|
89
|
+
return fetchCache.get(key);
|
|
90
|
+
}
|
|
91
|
+
var vocabKey = (self) => `${self.app.opts.state.vocab.genome}|${self.app.opts.state.vocab.dslabel}`;
|
|
92
|
+
var TILE_FACE_SCALE = 0.67;
|
|
93
|
+
var TILE_FACE_SCALE_X = 0.45;
|
|
94
|
+
var EXPANDED_SCALE = 1.7;
|
|
95
|
+
var CARD_W = 230;
|
|
96
|
+
var CARD_MIN_H = 235;
|
|
97
|
+
var SINGLE_MODEL_COLOR = "#6b7280";
|
|
98
|
+
var ND_COLOR = "#4263eb";
|
|
99
|
+
var PSY_COLOR = "#9ca3af";
|
|
100
|
+
var WHOLE_COLOR = "#2166ac";
|
|
101
|
+
var INSOLUBLE_COLOR = "#b2182b";
|
|
102
|
+
var REFERENCE_COLOR = "#111827";
|
|
103
|
+
var FC_NEG_COLOR = "#762a83";
|
|
104
|
+
var FC_ZERO_COLOR = "#f7f7f7";
|
|
105
|
+
var FC_POS_COLOR = "#2166ac";
|
|
106
|
+
function getLog2Ratio(foldChange) {
|
|
107
|
+
if (!Number.isFinite(foldChange) || foldChange <= 0) return null;
|
|
108
|
+
return Math.log2(foldChange);
|
|
109
|
+
}
|
|
110
|
+
function launchViolinPlot(self, organismName, assayName, cohortName, isoform) {
|
|
111
|
+
const selectedProtein = self.state.config?.tw?.term;
|
|
112
|
+
if (!selectedProtein) throw new Error("proteinView: selected protein term is missing");
|
|
113
|
+
const action = {
|
|
114
|
+
type: "plot_create",
|
|
115
|
+
config: {
|
|
116
|
+
chartType: "summary"
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
action.config.assayCohortTitle = `${organismName} ${assayName}: ${cohortName}`;
|
|
120
|
+
action.config.proteomeDetails = { organism: organismName, assay: assayName, cohort: cohortName };
|
|
121
|
+
const termdbConfig = self.app.vocabApi.termdbConfig;
|
|
122
|
+
const proteomeOverlayTerm = termdbConfig?.queries?.proteome?.organisms?.[organismName]?.overlayTerm;
|
|
123
|
+
const t = structuredClone(selectedProtein);
|
|
124
|
+
t.name = `${t.name}: ${isoform}`;
|
|
125
|
+
t.dataTypeDetails = { organism: organismName, assay: assayName, cohort: cohortName };
|
|
126
|
+
action.config.term = { term: t, q: { mode: NumericModes.continuous } };
|
|
127
|
+
if (proteomeOverlayTerm) {
|
|
128
|
+
action.config.term2 = { term: structuredClone(proteomeOverlayTerm), q: {} };
|
|
129
|
+
}
|
|
130
|
+
self.app.dispatch(action);
|
|
131
|
+
}
|
|
132
|
+
var entries = (td, key) => td.byTile[key] || [];
|
|
133
|
+
function catalogForEntry(self, e) {
|
|
134
|
+
return self.app.vocabApi.termdbConfig?.queries?.proteome?.organisms?.[e.organism]?.assays?.[e.assayName]?.cohorts?.[e.cohortName]?.catalog;
|
|
135
|
+
}
|
|
136
|
+
function prepareTileData(data, self) {
|
|
137
|
+
const catalogFor = (e) => catalogForEntry(self, e);
|
|
138
|
+
const accessions = /* @__PURE__ */ new Set();
|
|
139
|
+
let ptmSiteCount = 0;
|
|
140
|
+
const byCohort = /* @__PURE__ */ new Map();
|
|
141
|
+
for (const e of data?.cohorts || []) {
|
|
142
|
+
if (e.PTMType) {
|
|
143
|
+
ptmSiteCount++;
|
|
144
|
+
continue;
|
|
145
|
+
}
|
|
146
|
+
accessions.add(e.proteinAccession);
|
|
147
|
+
const log2fc = getLog2Ratio(e.foldChange);
|
|
148
|
+
if (log2fc === null) continue;
|
|
149
|
+
const key = `${e.organism}|${e.assayName}|${e.cohortName}`;
|
|
150
|
+
const p = Number(e.fdr);
|
|
151
|
+
const pRank = Number.isFinite(p) && p > 0 ? p : Infinity;
|
|
152
|
+
const cur = byCohort.get(key);
|
|
153
|
+
if (!cur) byCohort.set(key, { best: { e, pRank }, count: 1 });
|
|
154
|
+
else {
|
|
155
|
+
cur.count++;
|
|
156
|
+
if (pRank < cur.best.pRank) cur.best = { e, pRank };
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
const tiles = getTileConfigs(self);
|
|
160
|
+
const td = {
|
|
161
|
+
byTile: Object.fromEntries(tiles.map((t) => [t.key, []])),
|
|
162
|
+
isoformCount: accessions.size,
|
|
163
|
+
ptmSiteCount,
|
|
164
|
+
cohortCount: byCohort.size
|
|
165
|
+
};
|
|
166
|
+
for (const { best, count } of byCohort.values()) {
|
|
167
|
+
const e = best.e;
|
|
168
|
+
const catalog = catalogFor(e);
|
|
169
|
+
if (!catalog) continue;
|
|
170
|
+
const p = Number(e.fdr);
|
|
171
|
+
const entry = {
|
|
172
|
+
organism: e.organism,
|
|
173
|
+
assayName: e.assayName,
|
|
174
|
+
cohortName: e.cohortName,
|
|
175
|
+
disease: catalog.disease || e.disease,
|
|
176
|
+
uniqueIdentifier: e.uniqueIdentifier,
|
|
177
|
+
proteinAccession: e.proteinAccession,
|
|
178
|
+
log2fc: getLog2Ratio(e.foldChange),
|
|
179
|
+
fdr: Number.isFinite(p) && p > 0 ? p : null,
|
|
180
|
+
testedN: Number(e.testedN) || 0,
|
|
181
|
+
controlN: Number(e.controlN) || 0,
|
|
182
|
+
isoformCount: count,
|
|
183
|
+
catalog
|
|
184
|
+
};
|
|
185
|
+
const tile = tiles.find((t) => cohortMatches(t.cohortMatch, e.organism, e.assayName, catalog));
|
|
186
|
+
if (tile) td.byTile[tile.key].push(entry);
|
|
187
|
+
}
|
|
188
|
+
return td;
|
|
189
|
+
}
|
|
190
|
+
function makeTileGrid(holder) {
|
|
191
|
+
return holder.append("div").style("display", "flex").style("flex-wrap", "wrap").style("gap", "14px").style("margin-top", "10px").style("white-space", "normal");
|
|
192
|
+
}
|
|
193
|
+
function makeTileCard(grid, opts) {
|
|
194
|
+
const card = grid.append("div").style("border", opts.disabled ? "1px dashed #e5e7eb" : "1px solid #e5e7eb").style("border-radius", "8px").style("padding", "10px 12px").style("background", opts.disabled ? "#f9fafb" : "#fff");
|
|
195
|
+
if (opts.fullWidth) card.style("flex", "1 1 100%");
|
|
196
|
+
if (opts.uniform) {
|
|
197
|
+
card.style("width", `${CARD_W}px`).style("min-height", `${CARD_MIN_H}px`).style("display", "flex").style("flex-direction", "column");
|
|
198
|
+
}
|
|
199
|
+
const header = card.append("div").style("display", "flex").style("align-items", "baseline").style("gap", "8px").style("flex-wrap", "wrap");
|
|
200
|
+
header.append("span").style("font-weight", "600").style("font-size", ".9em").style("min-width", "0").style("color", opts.disabled ? "#9ca3af" : "#111827").text(opts.title);
|
|
201
|
+
if (opts.onExpand) {
|
|
202
|
+
header.append("span").attr("title", "Expand").attr("role", "button").attr("tabindex", "0").attr("aria-label", `Expand ${opts.title}`).style("margin-left", "auto").style("cursor", "pointer").style("color", "#9ca3af").style("font-size", "1em").style("line-height", "1").text("\u2922").on("mouseover", function() {
|
|
203
|
+
select_default(this).style("color", "#374151");
|
|
204
|
+
}).on("mouseout", function() {
|
|
205
|
+
select_default(this).style("color", "#9ca3af");
|
|
206
|
+
}).on("click", opts.onExpand).on("keydown", (event) => {
|
|
207
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
208
|
+
event.preventDefault();
|
|
209
|
+
opts.onExpand?.();
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
if (opts.subtitle) {
|
|
214
|
+
card.append("div").style("font-size", ".75em").style("color", "#6b7280").style("margin", "2px 0 4px 0").text(opts.subtitle);
|
|
215
|
+
}
|
|
216
|
+
return card.append("div");
|
|
217
|
+
}
|
|
218
|
+
var tileClickMenu = new Menu({ padding: "0px" });
|
|
219
|
+
var TILE_PANE_ZINDEX = 100;
|
|
220
|
+
function raiseSharedMenus(self) {
|
|
221
|
+
for (const m of [self?.dom?.tip, tileClickMenu]) {
|
|
222
|
+
const n = m?.d?.node?.();
|
|
223
|
+
if (!n) continue;
|
|
224
|
+
if (!n.style.zIndex) n.style.zIndex = String(TILE_PANE_ZINDEX + 1);
|
|
225
|
+
if (n.parentNode === document.body && n !== document.body.lastChild) document.body.appendChild(n);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
function entryTipTable(entry, holder) {
|
|
229
|
+
const tbl = table2col({ holder: holder.append("table") });
|
|
230
|
+
tbl.addRow("Sample set", entry.cohortName);
|
|
231
|
+
const c = entry.catalog || {};
|
|
232
|
+
if (entry.disease) tbl.addRow("Disease", entry.disease);
|
|
233
|
+
if (c.model) tbl.addRow("Model", c.model);
|
|
234
|
+
if (c.cellType) tbl.addRow("Cell type", c.cellType);
|
|
235
|
+
if (c.ageGroup) tbl.addRow("Age group", c.ageGroup);
|
|
236
|
+
if (c.brainRegion) tbl.addRow("Brain region", c.brainRegion);
|
|
237
|
+
if (entry.ptmType) tbl.addRow("PTM type", entry.ptmType);
|
|
238
|
+
if (entry.modSites) tbl.addRow("Modified site", entry.modSites);
|
|
239
|
+
tbl.addRow("Assay", entry.assayName);
|
|
240
|
+
tbl.addRow("log2 fold change", entry.log2fc === null ? "NA" : roundValue(entry.log2fc, 3));
|
|
241
|
+
tbl.addRow("FDR", entry.fdr === null ? "NA" : entry.fdr.toExponential(2));
|
|
242
|
+
tbl.addRow("Case samples", entry.testedN);
|
|
243
|
+
tbl.addRow("Control samples", entry.controlN);
|
|
244
|
+
tbl.addRow("Protein accession", entry.proteinAccession);
|
|
245
|
+
if (entry.isoformCount > 1) tbl.addRow("Note", `most significant of ${entry.isoformCount} isoforms`);
|
|
246
|
+
}
|
|
247
|
+
function attachEntryBehavior(shape, entry, self) {
|
|
248
|
+
shape.style("cursor", "pointer").on("mouseover", (event) => {
|
|
249
|
+
raiseSharedMenus(self);
|
|
250
|
+
self.dom.tip.clear();
|
|
251
|
+
entryTipTable(entry, self.dom.tip.d);
|
|
252
|
+
self.dom.tip.show(event.clientX, event.clientY);
|
|
253
|
+
}).on("mouseout", () => self.dom.tip.hide()).on("click", (event) => {
|
|
254
|
+
raiseSharedMenus(self);
|
|
255
|
+
self.dom.tip.hide();
|
|
256
|
+
tileClickMenu.clear();
|
|
257
|
+
const div = tileClickMenu.d.append("div");
|
|
258
|
+
entryTipTable(entry, div.append("div").style("padding", "5px"));
|
|
259
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Violin plot").on("click", () => {
|
|
260
|
+
tileClickMenu.hide();
|
|
261
|
+
launchViolinPlot(self, entry.organism, entry.assayName, entry.cohortName, entry.uniqueIdentifier);
|
|
262
|
+
});
|
|
263
|
+
tileClickMenu.show(event.clientX, event.clientY);
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
var isSig = (e) => e.fdr !== null && e.fdr < SIG_P;
|
|
267
|
+
function drawMarker(g, x, y, color, sig, r = 4.5) {
|
|
268
|
+
return g.append("circle").attr("cx", x).attr("cy", y).attr("r", r).attr("fill", sig ? color : "#fff").attr("fill-opacity", sig ? 0.9 : 1).attr("stroke", color).attr("stroke-width", 1.5);
|
|
269
|
+
}
|
|
270
|
+
function fcDomain(values) {
|
|
271
|
+
let min = Math.min(0, ...values);
|
|
272
|
+
let max = Math.max(0, ...values);
|
|
273
|
+
const span = Math.max(0.4, max - min);
|
|
274
|
+
const pad = span * 0.15;
|
|
275
|
+
if (min < 0) min -= pad;
|
|
276
|
+
max += pad;
|
|
277
|
+
if (min === 0) min = -span * 0.05;
|
|
278
|
+
return [min, max];
|
|
279
|
+
}
|
|
280
|
+
function addSigFootnote(body) {
|
|
281
|
+
body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px").text(`filled: FDR < ${SIG_P}; hollow: not significant`);
|
|
282
|
+
}
|
|
283
|
+
function drawZeroLine(g, x1, y1, x2, y2) {
|
|
284
|
+
g.append("line").attr("x1", x1).attr("y1", y1).attr("x2", x2).attr("y2", y2).attr("stroke", "black").attr("stroke-dasharray", "4 3").attr("stroke-opacity", 0.35);
|
|
285
|
+
}
|
|
286
|
+
function styledAxis(g, axis, tickFontSize) {
|
|
287
|
+
const a = g.call(axis);
|
|
288
|
+
axisstyle({ axis: a, color: "black", showline: true });
|
|
289
|
+
if (tickFontSize) a.selectAll("text").style("font-size", tickFontSize);
|
|
290
|
+
return a;
|
|
291
|
+
}
|
|
292
|
+
function rotateXTicks(axisG) {
|
|
293
|
+
axisG.selectAll("text").attr("transform", "rotate(-38)").attr("text-anchor", "end").attr("dx", "-2px").attr("dy", "5px");
|
|
294
|
+
}
|
|
295
|
+
function yAxisTitle(svg, innerH, marginTop, text) {
|
|
296
|
+
svg.append("text").attr("transform", `translate(11,${marginTop + innerH / 2}) rotate(-90)`).attr("text-anchor", "middle").style("font-size", "11px").style("fill", "#374151").text(text);
|
|
297
|
+
}
|
|
298
|
+
function renderCrossDiseaseTile(body, td, self, cfg, opts = {}) {
|
|
299
|
+
const k = opts.scale || 1;
|
|
300
|
+
const kx = opts.scaleX ?? k;
|
|
301
|
+
const mr = 4.5 * Math.sqrt(k);
|
|
302
|
+
const tickFont = k < 1 ? "8.5px" : null;
|
|
303
|
+
const byDisease = /* @__PURE__ */ new Map();
|
|
304
|
+
const multiCohort = /* @__PURE__ */ new Set();
|
|
305
|
+
for (const e of entries(td, cfg.key)) {
|
|
306
|
+
const d = e.disease || e.cohortName;
|
|
307
|
+
const cur = byDisease.get(d);
|
|
308
|
+
if (cur) multiCohort.add(d);
|
|
309
|
+
if (!cur || (e.fdr ?? Infinity) < (cur.fdr ?? Infinity)) byDisease.set(d, e);
|
|
310
|
+
}
|
|
311
|
+
const diseases = orderBy([...byDisease.keys()], diseaseOrder(self));
|
|
312
|
+
const isControl = (d) => isSpecificityControl(self, d);
|
|
313
|
+
const margin = { top: 12, right: 10, bottom: 34, left: 46 };
|
|
314
|
+
const innerW = Math.max(200, diseases.length * 38) * kx;
|
|
315
|
+
const innerH = 150 * k;
|
|
316
|
+
const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
317
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
318
|
+
const x = band().domain(diseases).range([0, innerW]).padding(0.4);
|
|
319
|
+
const y = linear().domain(fcDomain(diseases.map((d) => byDisease.get(d).log2fc))).range([innerH, 0]);
|
|
320
|
+
const xAxisG = styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x), tickFont);
|
|
321
|
+
if (kx < 0.6) rotateXTicks(xAxisG);
|
|
322
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(4), tickFont);
|
|
323
|
+
drawZeroLine(g, 0, y(0), innerW, y(0));
|
|
324
|
+
yAxisTitle(svg, innerH, margin.top, "log2FC vs control");
|
|
325
|
+
const firstPsy = diseases.findIndex(isControl);
|
|
326
|
+
if (firstPsy > 0) {
|
|
327
|
+
const xSep = (x(diseases[firstPsy - 1]) + x.bandwidth() + x(diseases[firstPsy])) / 2;
|
|
328
|
+
g.append("line").attr("x1", xSep).attr("x2", xSep).attr("y1", 0).attr("y2", innerH).attr("stroke", "#d1d5db").attr("stroke-dasharray", "2 3");
|
|
329
|
+
if (kx >= 0.6) {
|
|
330
|
+
g.append("text").attr("x", (xSep + innerW) / 2).attr("y", 9).attr("text-anchor", "middle").style("font-size", "9px").style("fill", "#9ca3af").text(getProteinViewConfig(self).specificityControlLabel || "controls");
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
for (const d of diseases) {
|
|
334
|
+
const e = byDisease.get(d);
|
|
335
|
+
const cx = x(d) + x.bandwidth() / 2;
|
|
336
|
+
const color = isControl(d) ? PSY_COLOR : ND_COLOR;
|
|
337
|
+
g.append("line").attr("x1", cx).attr("x2", cx).attr("y1", y(0)).attr("y2", y(e.log2fc)).attr("stroke", color).attr("stroke-width", 1.5);
|
|
338
|
+
attachEntryBehavior(drawMarker(g, cx, y(e.log2fc), color, isSig(e), mr), e, self);
|
|
339
|
+
}
|
|
340
|
+
g.selectAll("text").each(function() {
|
|
341
|
+
const t = this.textContent || "";
|
|
342
|
+
const l = diseaseLabel(self, t);
|
|
343
|
+
if (l !== t) this.textContent = l;
|
|
344
|
+
});
|
|
345
|
+
addSigFootnote(body);
|
|
346
|
+
if (multiCohort.size) {
|
|
347
|
+
body.append("div").style("font-size", ".7em").style("color", "#9ca3af").text(`${[...multiCohort].map((d) => diseaseLabel(self, d)).join(", ")}: several cohorts, most significant shown`);
|
|
348
|
+
}
|
|
349
|
+
if (opts.expanded) {
|
|
350
|
+
body.append("div").style("font-size", ".75em").style("color", "#6b7280").style("margin-top", "4px").style("max-width", `${innerW + margin.left + margin.right}px`).text(diseases.map((d) => `${diseaseLabel(self, d)} = ${diseaseCfg(self)[d]?.name || d}`).join(" \xB7 "));
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
function renderInsolubleTile(body, td, self, cfg, opts = {}) {
|
|
354
|
+
const k = opts.scale || 1;
|
|
355
|
+
const kx = opts.scaleX ?? k;
|
|
356
|
+
const mr = 4.5 * Math.sqrt(k);
|
|
357
|
+
const tickFont = k < 1 ? "8.5px" : null;
|
|
358
|
+
const wholeByCohort = /* @__PURE__ */ new Map();
|
|
359
|
+
if (cfg.referenceTile) for (const e of entries(td, cfg.referenceTile)) wholeByCohort.set(e.cohortName, e);
|
|
360
|
+
const insol = entries(td, cfg.key);
|
|
361
|
+
const rows = orderBy([...new Set(insol.map((e) => e.cohortName))], diseaseOrder(self));
|
|
362
|
+
const pairs = rows.map((c) => ({
|
|
363
|
+
cohortName: c,
|
|
364
|
+
whole: wholeByCohort.get(c) || null,
|
|
365
|
+
insoluble: insol.find((e) => e.cohortName === c) || null
|
|
366
|
+
}));
|
|
367
|
+
const wholeEntry = pairs.find((p) => p.whole)?.whole;
|
|
368
|
+
const labelOf = (e, fallback) => e ? proteomeLabel(self, e.organism, e.assayName) : fallback;
|
|
369
|
+
const margin = { top: 24, right: 12, bottom: 34, left: 46 };
|
|
370
|
+
const innerW = 240 * kx;
|
|
371
|
+
const innerH = Math.max(90, rows.length * 30 * k);
|
|
372
|
+
const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
373
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
374
|
+
const values = [];
|
|
375
|
+
for (const p of pairs) {
|
|
376
|
+
if (p.whole) values.push(p.whole.log2fc);
|
|
377
|
+
if (p.insoluble) values.push(p.insoluble.log2fc);
|
|
378
|
+
}
|
|
379
|
+
const x = linear().domain(fcDomain(values)).range([0, innerW]);
|
|
380
|
+
const y = band().domain(rows).range([0, innerH]).padding(0.4);
|
|
381
|
+
styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).ticks(4), tickFont);
|
|
382
|
+
styledAxis(g.append("g"), axisLeft(y), tickFont);
|
|
383
|
+
drawZeroLine(g, x(0), 0, x(0), innerH);
|
|
384
|
+
svg.append("text").attr("x", margin.left + innerW / 2).attr("y", margin.top + innerH + 30).attr("text-anchor", "middle").style("font-size", "11px").style("fill", "#374151").text("log2FC vs control");
|
|
385
|
+
const legend = g.append("g").attr("transform", `translate(0,-12)`);
|
|
386
|
+
for (const [i, item] of [
|
|
387
|
+
{
|
|
388
|
+
label: labelOf(wholeEntry, getTileConfig(self, cfg.referenceTile || "")?.title || "reference"),
|
|
389
|
+
color: WHOLE_COLOR
|
|
390
|
+
},
|
|
391
|
+
{ label: labelOf(insol[0], cfg.cohortMatch?.assay || cfg.title), color: INSOLUBLE_COLOR }
|
|
392
|
+
].entries()) {
|
|
393
|
+
const lx = i * (kx < 0.6 ? 58 : 80);
|
|
394
|
+
legend.append("circle").attr("cx", lx).attr("cy", 0).attr("r", 4).attr("fill", item.color).attr("fill-opacity", 0.9);
|
|
395
|
+
legend.append("text").attr("x", lx + 8).attr("y", 3).style("font-size", "10px").style("fill", "#374151").text(item.label);
|
|
396
|
+
}
|
|
397
|
+
for (const p of pairs) {
|
|
398
|
+
const cy = y(p.cohortName) + y.bandwidth() / 2;
|
|
399
|
+
if (p.whole && p.insoluble) {
|
|
400
|
+
g.append("line").attr("x1", x(p.whole.log2fc)).attr("x2", x(p.insoluble.log2fc)).attr("y1", cy).attr("y2", cy).attr("stroke", "#9ca3af").attr("stroke-width", 1.5);
|
|
401
|
+
}
|
|
402
|
+
if (p.whole)
|
|
403
|
+
attachEntryBehavior(
|
|
404
|
+
drawMarker(g, x(p.whole.log2fc), cy, WHOLE_COLOR, isSig(p.whole), mr),
|
|
405
|
+
p.whole,
|
|
406
|
+
self
|
|
407
|
+
);
|
|
408
|
+
if (p.insoluble)
|
|
409
|
+
attachEntryBehavior(
|
|
410
|
+
drawMarker(g, x(p.insoluble.log2fc), cy, INSOLUBLE_COLOR, isSig(p.insoluble), mr),
|
|
411
|
+
p.insoluble,
|
|
412
|
+
self
|
|
413
|
+
);
|
|
414
|
+
}
|
|
415
|
+
addSigFootnote(body);
|
|
416
|
+
}
|
|
417
|
+
var brainGradientSeq = 0;
|
|
418
|
+
function getBrainRegionsData(self) {
|
|
419
|
+
const gene = self.state?.config?.tw?.term?.name;
|
|
420
|
+
const [genome, dslabel] = vocabKey(self).split("|");
|
|
421
|
+
return cachedFetch(`brainRegions|${vocabKey(self)}|${gene}`, async () => {
|
|
422
|
+
const data = await dofetch3("termdb/brainRegions", { body: { genome, dslabel, gene } });
|
|
423
|
+
if (data.error) throw data.error;
|
|
424
|
+
const assets = Object.keys(data.isoforms || {}).length ? await cachedFetch(`brainAssets|${data.svgUrl}`, () => loadBrainAssets(data.svgUrl, Object.keys(data.regions))) : null;
|
|
425
|
+
return { data, assets };
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
var brainFcScale = (isoformData, disease) => makeBrainFcScale(isoformData.data[disease] || {});
|
|
429
|
+
function drawBrainForDisease(holder, data, assets, isoform, disease, self, brainW, colorScale) {
|
|
430
|
+
const regionData = data.isoforms[isoform]?.data?.[disease] || {};
|
|
431
|
+
renderBrainSvg({
|
|
432
|
+
holder: holder.append("div"),
|
|
433
|
+
width: brainW,
|
|
434
|
+
templateUrl: data.templateUrl,
|
|
435
|
+
assets,
|
|
436
|
+
regions: data.regions,
|
|
437
|
+
tip: self.dom.tip,
|
|
438
|
+
fillByRegion: brainFillByRegion(regionData, colorScale),
|
|
439
|
+
tooltipByRegion: brainTooltipByRegion(regionData)
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
function drawBrainLegend(holder, colorScale, maxAbsFC, nSig, disease) {
|
|
443
|
+
const legend = holder.append("div").style("margin-top", "6px");
|
|
444
|
+
if (!nSig) {
|
|
445
|
+
legend.append("div").style("font-size", ".75em").style("color", "#6b7280").text(`No region reaches p < ${BRAIN_P_THRESHOLD} for this isoform in ${disease} (all regions grey).`);
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
const w = 160;
|
|
449
|
+
const h = 10;
|
|
450
|
+
const svg = legend.append("svg").attr("width", w).attr("height", h + 16);
|
|
451
|
+
const gradientId = `pv-brain-fc-gradient-${brainGradientSeq++}`;
|
|
452
|
+
const gradient = svg.append("defs").append("linearGradient").attr("id", gradientId).attr("x1", "0").attr("y1", "0").attr("x2", "1").attr("y2", "0");
|
|
453
|
+
const steps = 10;
|
|
454
|
+
for (let i = 0; i <= steps; i++) {
|
|
455
|
+
const t = i / steps;
|
|
456
|
+
gradient.append("stop").attr("offset", `${t * 100}%`).attr("stop-color", colorScale(-maxAbsFC + t * 2 * maxAbsFC));
|
|
457
|
+
}
|
|
458
|
+
svg.append("rect").attr("width", w).attr("height", h).attr("fill", `url(#${gradientId})`).attr("stroke", "#d1d5db");
|
|
459
|
+
const labels = [
|
|
460
|
+
[0, `-${maxAbsFC.toFixed(2)}`, "start"],
|
|
461
|
+
[w / 2, "0", "middle"],
|
|
462
|
+
[w, maxAbsFC.toFixed(2), "end"]
|
|
463
|
+
];
|
|
464
|
+
for (const [x, text, anchor] of labels) {
|
|
465
|
+
svg.append("text").attr("x", x).attr("y", h + 12).attr("text-anchor", anchor).style("font-size", "9px").style("fill", "#374151").text(text);
|
|
466
|
+
}
|
|
467
|
+
legend.append("div").style("font-size", ".7em").style("color", "#9ca3af").text(`log\u2082 fold change vs control \xB7 grey: not significant (p \u2265 ${BRAIN_P_THRESHOLD})`);
|
|
468
|
+
}
|
|
469
|
+
function renderBrainRegionTile(body, _td, self, _cfg, opts = {}) {
|
|
470
|
+
const expanded = !!opts.expanded;
|
|
471
|
+
const wait = body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Loading\u2026");
|
|
472
|
+
getBrainRegionsData(self).then(({ data, assets }) => {
|
|
473
|
+
wait.remove();
|
|
474
|
+
const isoformIds = Object.keys(data.isoforms || {});
|
|
475
|
+
if (!isoformIds.length || !assets) {
|
|
476
|
+
body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("No brain-region data for this protein.");
|
|
477
|
+
return;
|
|
478
|
+
}
|
|
479
|
+
if (!expanded) {
|
|
480
|
+
const iso = isoformIds[0];
|
|
481
|
+
const tabsHolder2 = body.append("div");
|
|
482
|
+
const brainHolder2 = body.append("div");
|
|
483
|
+
const caption = body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px");
|
|
484
|
+
const redraw2 = (disease) => {
|
|
485
|
+
brainHolder2.selectAll("*").remove();
|
|
486
|
+
const { colorScale, nSig } = brainFcScale(data.isoforms[iso], disease);
|
|
487
|
+
drawBrainForDisease(brainHolder2, data, assets, iso, disease, self, 185, colorScale);
|
|
488
|
+
caption.text(
|
|
489
|
+
nSig ? `red: up \xB7 blue: down \xB7 grey: p \u2265 ${BRAIN_P_THRESHOLD}` : `no region reaches p < ${BRAIN_P_THRESHOLD} in ${disease}`
|
|
490
|
+
);
|
|
491
|
+
};
|
|
492
|
+
if (data.diseases.length > 1) makeDiseaseTabs(tabsHolder2, data.diseases, data.diseases[0], redraw2, ".75em");
|
|
493
|
+
redraw2(data.diseases[0]);
|
|
494
|
+
return;
|
|
495
|
+
}
|
|
496
|
+
const description = self.app.vocabApi.termdbConfig?.queries?.proteome?.brainRegions?.description;
|
|
497
|
+
if (description) {
|
|
498
|
+
body.append("div").style("font-size", ".8em").style("color", "#555").style("max-width", "640px").style("line-height", "1.4").style("margin-bottom", "8px").text(description);
|
|
499
|
+
}
|
|
500
|
+
let selectedIso = isoformIds[0];
|
|
501
|
+
let selectedDisease = data.diseases[0];
|
|
502
|
+
const controlRow = body.append("div").style("margin-bottom", "8px").style("font-size", ".85em");
|
|
503
|
+
controlRow.append("span").style("font-weight", "600").text("Isoform: ");
|
|
504
|
+
const tabsHolder = body.append("div");
|
|
505
|
+
const brainHolder = body.append("div");
|
|
506
|
+
const redraw = () => {
|
|
507
|
+
brainHolder.selectAll("*").remove();
|
|
508
|
+
const isoformData = data.isoforms[selectedIso];
|
|
509
|
+
if (!isoformData) return;
|
|
510
|
+
const { colorScale, maxAbsFC, nSig } = brainFcScale(isoformData, selectedDisease);
|
|
511
|
+
drawBrainForDisease(brainHolder, data, assets, selectedIso, selectedDisease, self, 460, colorScale);
|
|
512
|
+
drawBrainLegend(brainHolder, colorScale, maxAbsFC, nSig, selectedDisease);
|
|
513
|
+
};
|
|
514
|
+
if (data.diseases.length > 1) {
|
|
515
|
+
makeDiseaseTabs(
|
|
516
|
+
tabsHolder,
|
|
517
|
+
data.diseases,
|
|
518
|
+
selectedDisease,
|
|
519
|
+
(d) => {
|
|
520
|
+
selectedDisease = d;
|
|
521
|
+
redraw();
|
|
522
|
+
},
|
|
523
|
+
".9em"
|
|
524
|
+
);
|
|
525
|
+
}
|
|
526
|
+
if (isoformIds.length > 1) {
|
|
527
|
+
const sel = controlRow.append("select").style("margin-left", "5px").on("change", () => {
|
|
528
|
+
selectedIso = sel.node().value;
|
|
529
|
+
redraw();
|
|
530
|
+
});
|
|
531
|
+
sel.selectAll("option").data(isoformIds).enter().append("option").attr("value", (d) => d).text((d) => `${data.isoforms[d].gene_name} \u2014 ${d}`);
|
|
532
|
+
} else {
|
|
533
|
+
controlRow.append("span").style("margin-left", "5px").text(`${data.isoforms[selectedIso].gene_name} \u2014 ${selectedIso}`);
|
|
534
|
+
}
|
|
535
|
+
redraw();
|
|
536
|
+
}).catch((err) => {
|
|
537
|
+
wait.style("color", "#b91c1c").text(`Failed to load: ${err?.message || err}`);
|
|
538
|
+
if (self.app?.opts?.debug) console.error(err);
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
function renderMouseModelsTile(body, td, self, cfg, opts = {}) {
|
|
542
|
+
const k = opts.scale || 1;
|
|
543
|
+
const kx = opts.scaleX ?? k;
|
|
544
|
+
const mr = 4 * Math.sqrt(k);
|
|
545
|
+
const tickFont = k < 1 ? "8.5px" : null;
|
|
546
|
+
const aged = /* @__PURE__ */ new Map();
|
|
547
|
+
const singles = [];
|
|
548
|
+
for (const e of entries(td, cfg.key)) {
|
|
549
|
+
const age = e.catalog.ageGroup ? parseAge(e.catalog.ageGroup) : null;
|
|
550
|
+
if (age === null) {
|
|
551
|
+
singles.push(e);
|
|
552
|
+
continue;
|
|
553
|
+
}
|
|
554
|
+
if (!aged.has(e.catalog.model)) aged.set(e.catalog.model, []);
|
|
555
|
+
aged.get(e.catalog.model).push({ age, e });
|
|
556
|
+
}
|
|
557
|
+
for (const pts of aged.values()) pts.sort((a, b) => a.age - b.age);
|
|
558
|
+
const ages = [...new Set([...aged.values()].flatMap((pts) => pts.map((p) => p.age)))].sort((a, b) => a - b);
|
|
559
|
+
const hasAged = ages.length > 0;
|
|
560
|
+
const margin = { top: 20, right: 12, bottom: 36, left: 46 };
|
|
561
|
+
const mainW = hasAged ? 210 * kx : 0;
|
|
562
|
+
const stripGap = singles.length && hasAged ? 18 * kx : 0;
|
|
563
|
+
const stripW = singles.length * 34 * kx;
|
|
564
|
+
const innerH = 150 * k;
|
|
565
|
+
const svg = body.append("svg").attr("width", margin.left + mainW + stripGap + stripW + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
566
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
567
|
+
const values = [];
|
|
568
|
+
for (const pts of aged.values()) for (const p of pts) values.push(p.e.log2fc);
|
|
569
|
+
for (const e of singles) values.push(e.log2fc);
|
|
570
|
+
const x = linear().domain(ages.length > 1 ? [ages[0], ages[ages.length - 1]] : [(ages[0] ?? 0) - 1, (ages[0] ?? 0) + 1]).range([0, mainW]);
|
|
571
|
+
const y = linear().domain(fcDomain(values)).range([innerH, 0]);
|
|
572
|
+
if (hasAged) {
|
|
573
|
+
styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).tickValues(ages), tickFont);
|
|
574
|
+
svg.append("text").attr("x", margin.left + mainW / 2).attr("y", margin.top + innerH + 32).attr("text-anchor", "middle").style("font-size", "11px").style("fill", "#374151").text(cfg.xLabel || "age");
|
|
575
|
+
}
|
|
576
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(4), tickFont);
|
|
577
|
+
drawZeroLine(g, 0, y(0), mainW + stripGap + stripW, y(0));
|
|
578
|
+
yAxisTitle(svg, innerH, margin.top, cfg.yLabel || "log2FC vs control");
|
|
579
|
+
let legendX = 0;
|
|
580
|
+
for (const model of orderBy([...aged.keys()], modelOrder(self))) {
|
|
581
|
+
const pts = aged.get(model);
|
|
582
|
+
const color = modelColor(self, model);
|
|
583
|
+
const path = line_default().x((p) => x(p.age)).y((p) => y(p.e.log2fc));
|
|
584
|
+
g.append("path").attr("d", path(pts)).attr("fill", "none").attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-opacity", 0.75);
|
|
585
|
+
for (const p of pts)
|
|
586
|
+
attachEntryBehavior(drawMarker(g, x(p.age), y(p.e.log2fc), color, isSig(p.e), mr), p.e, self);
|
|
587
|
+
g.append("text").attr("x", legendX).attr("y", -8).style("font-size", "10px").style("font-weight", "600").style("fill", color).text(model);
|
|
588
|
+
legendX += 52;
|
|
589
|
+
}
|
|
590
|
+
if (singles.length) {
|
|
591
|
+
const stripX0 = mainW + stripGap;
|
|
592
|
+
g.append("line").attr("x1", stripX0 - stripGap / 2).attr("x2", stripX0 - stripGap / 2).attr("y1", 0).attr("y2", innerH).attr("stroke", "#d1d5db").attr("stroke-dasharray", "2 3");
|
|
593
|
+
for (const [i, e] of singles.entries()) {
|
|
594
|
+
const cx = stripX0 + i * 34 * kx + 17 * kx;
|
|
595
|
+
attachEntryBehavior(drawMarker(g, cx, y(e.log2fc), SINGLE_MODEL_COLOR, isSig(e), mr), e, self);
|
|
596
|
+
const lbl = g.append("text").attr("x", cx).attr("y", innerH + 14).attr("text-anchor", "middle").style("font-size", "9px").style("fill", "#6b7280").text(e.catalog.model);
|
|
597
|
+
if (kx < 0.6) lbl.attr("transform", `rotate(-38 ${cx} ${innerH + 14})`).attr("text-anchor", "end");
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
addSigFootnote(body);
|
|
601
|
+
}
|
|
602
|
+
function renderCellTypesTile(body, td, self, cfg, opts = {}) {
|
|
603
|
+
const k = opts.scale || 1;
|
|
604
|
+
const kx = opts.scaleX ?? k;
|
|
605
|
+
const all = entries(td, cfg.key);
|
|
606
|
+
const models = orderBy([...new Set(all.map((e) => e.catalog.model))], modelOrder(self));
|
|
607
|
+
const cellTypes = orderBy([...new Set(all.map((e) => e.catalog.cellType))], Object.keys(cellTypeCfg(self)));
|
|
608
|
+
const agesByModel = /* @__PURE__ */ new Map();
|
|
609
|
+
for (const m of models) {
|
|
610
|
+
const ages = [...new Set(all.filter((e) => e.catalog.model === m).map((e) => e.catalog.ageGroup))].sort(byAge);
|
|
611
|
+
agesByModel.set(m, ages);
|
|
612
|
+
}
|
|
613
|
+
const CELL_W = 34 * kx;
|
|
614
|
+
const CELL_H = 28 * k;
|
|
615
|
+
const ROW_LABEL_W = 82;
|
|
616
|
+
const MODEL_GAP = 12 * kx;
|
|
617
|
+
const HEADER_H = 34;
|
|
618
|
+
const colX = /* @__PURE__ */ new Map();
|
|
619
|
+
let xCursor = 0;
|
|
620
|
+
const modelSpans = [];
|
|
621
|
+
for (const m of models) {
|
|
622
|
+
const x0 = xCursor;
|
|
623
|
+
for (const a of agesByModel.get(m)) {
|
|
624
|
+
colX.set(`${m}|${a}`, xCursor + CELL_W / 2);
|
|
625
|
+
xCursor += CELL_W;
|
|
626
|
+
}
|
|
627
|
+
modelSpans.push({ model: m, x0, x1: xCursor });
|
|
628
|
+
xCursor += MODEL_GAP;
|
|
629
|
+
}
|
|
630
|
+
const gridW = xCursor - MODEL_GAP;
|
|
631
|
+
const gridH = cellTypes.length * CELL_H;
|
|
632
|
+
const svg = body.append("svg").attr("width", ROW_LABEL_W + gridW + 10).attr("height", HEADER_H + gridH + 8);
|
|
633
|
+
const g = svg.append("g").attr("transform", `translate(${ROW_LABEL_W},${HEADER_H})`);
|
|
634
|
+
for (const span of modelSpans) {
|
|
635
|
+
svg.append("text").attr("x", ROW_LABEL_W + (span.x0 + span.x1) / 2).attr("y", 12).attr("text-anchor", "middle").style("font-size", "10px").style("font-weight", "600").style("fill", modelColor(self, span.model)).text(span.model);
|
|
636
|
+
}
|
|
637
|
+
for (const [key, cx] of colX) {
|
|
638
|
+
svg.append("text").attr("x", ROW_LABEL_W + cx).attr("y", 27).attr("text-anchor", "middle").style("font-size", "9px").style("fill", "#6b7280").text(key.split("|")[1]);
|
|
639
|
+
}
|
|
640
|
+
for (const [i, ct] of cellTypes.entries()) {
|
|
641
|
+
svg.append("text").attr("x", ROW_LABEL_W - 6).attr("y", HEADER_H + i * CELL_H + CELL_H / 2 + 3).attr("text-anchor", "end").style("font-size", "10px").style("fill", "#374151").text(ct);
|
|
642
|
+
}
|
|
643
|
+
const maxAbsFc = Math.max(1, ...all.map((e) => Math.abs(e.log2fc)));
|
|
644
|
+
const colorScale = linear().domain([-maxAbsFc, 0, maxAbsFc]).range([FC_NEG_COLOR, FC_ZERO_COLOR, FC_POS_COLOR]);
|
|
645
|
+
const NEG_LOG_P_CAP = 10;
|
|
646
|
+
const rScale = sqrt().domain([0, NEG_LOG_P_CAP]).range([3 * k, Math.min(11 * k, CELL_W / 2 - 0.5)]);
|
|
647
|
+
for (const e of all) {
|
|
648
|
+
const cx = colX.get(`${e.catalog.model}|${e.catalog.ageGroup}`);
|
|
649
|
+
const row = cellTypes.indexOf(e.catalog.cellType);
|
|
650
|
+
if (cx === void 0 || row < 0) continue;
|
|
651
|
+
const negLogP = e.fdr === null ? 0 : Math.min(NEG_LOG_P_CAP, -Math.log10(Math.max(e.fdr, 1e-300)));
|
|
652
|
+
const circle = g.append("circle").attr("cx", cx).attr("cy", row * CELL_H + CELL_H / 2).attr("r", rScale(negLogP)).attr("fill", colorScale(e.log2fc)).attr("stroke", isSig(e) ? "#374151" : "#d1d5db").attr("stroke-width", 1);
|
|
653
|
+
attachEntryBehavior(circle, e, self);
|
|
654
|
+
}
|
|
655
|
+
const foot = body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px");
|
|
656
|
+
foot.style("max-width", "100%");
|
|
657
|
+
foot.append("span").text(`color: log2FC (purple down, blue up) \xB7 size: \u2212log10(FDR) \xB7 outline: FDR < ${SIG_P}`);
|
|
658
|
+
for (const ct of cellTypes) {
|
|
659
|
+
const note = cellTypeCfg(self)[ct]?.note;
|
|
660
|
+
if (note) foot.append("div").text(note);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
function renderPlaqueTile(body, td, self, cfg, opts = {}) {
|
|
664
|
+
const k = opts.scale || 1;
|
|
665
|
+
const kx = opts.scaleX ?? k;
|
|
666
|
+
const mr = 4 * Math.sqrt(k);
|
|
667
|
+
const tickFont = k < 1 ? "8.5px" : null;
|
|
668
|
+
const all = entries(td, cfg.key);
|
|
669
|
+
const series = all.filter((e) => e.catalog.ageGroup && e.catalog.model);
|
|
670
|
+
const reference = all.filter((e) => !(e.catalog.ageGroup && e.catalog.model));
|
|
671
|
+
const refLabel = (e) => e.organism.charAt(0).toUpperCase() + e.organism.slice(1);
|
|
672
|
+
const ages = [...new Set(series.map((e) => e.catalog.ageGroup))].sort(byAge);
|
|
673
|
+
const refCategories = [...new Set(reference.map(refLabel))];
|
|
674
|
+
const categories = [...ages, ...refCategories];
|
|
675
|
+
const margin = { top: 20, right: 14, bottom: 36, left: 46 };
|
|
676
|
+
const innerW = Math.max(180, categories.length * 52) * kx;
|
|
677
|
+
const innerH = 140 * k;
|
|
678
|
+
const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
679
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
680
|
+
const x = point().domain(categories).range([0, innerW]).padding(0.5);
|
|
681
|
+
const y = linear().domain(fcDomain(all.map((e) => e.log2fc))).range([innerH, 0]);
|
|
682
|
+
const xAxisG = styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x), tickFont);
|
|
683
|
+
if (kx < 0.6) rotateXTicks(xAxisG);
|
|
684
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(4), tickFont);
|
|
685
|
+
drawZeroLine(g, 0, y(0), innerW, y(0));
|
|
686
|
+
yAxisTitle(svg, innerH, margin.top, cfg.yLabel || "log2FC vs control");
|
|
687
|
+
if (kx >= 0.6) {
|
|
688
|
+
svg.append("text").attr("x", margin.left + innerW / 2).attr("y", margin.top + innerH + 32).attr("text-anchor", "middle").style("font-size", "11px").style("fill", "#374151").text(cfg.xLabel || "age");
|
|
689
|
+
}
|
|
690
|
+
if (refCategories.length && ages.length) {
|
|
691
|
+
const xSep = (x(ages[ages.length - 1]) + x(refCategories[0])) / 2;
|
|
692
|
+
g.append("line").attr("x1", xSep).attr("x2", xSep).attr("y1", 0).attr("y2", innerH).attr("stroke", "#d1d5db").attr("stroke-dasharray", "2 3");
|
|
693
|
+
}
|
|
694
|
+
const models = orderBy([...new Set(series.map((e) => e.catalog.model))], modelOrder(self));
|
|
695
|
+
let legendX = 0;
|
|
696
|
+
for (const model of models) {
|
|
697
|
+
const color = modelColor(self, model);
|
|
698
|
+
const pts = series.filter((e) => e.catalog.model === model).sort((a, b) => byAge(a.catalog.ageGroup, b.catalog.ageGroup));
|
|
699
|
+
const path = line_default().x((e) => x(e.catalog.ageGroup)).y((e) => y(e.log2fc));
|
|
700
|
+
g.append("path").attr("d", path(pts)).attr("fill", "none").attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-opacity", 0.75).attr("stroke-dasharray", pts.length < ages.length ? "5 3" : null);
|
|
701
|
+
for (const e of pts)
|
|
702
|
+
attachEntryBehavior(drawMarker(g, x(e.catalog.ageGroup), y(e.log2fc), color, isSig(e), mr), e, self);
|
|
703
|
+
g.append("text").attr("x", legendX).attr("y", -8).style("font-size", "10px").style("font-weight", "600").style("fill", color).text(model);
|
|
704
|
+
legendX += 52;
|
|
705
|
+
}
|
|
706
|
+
for (const e of reference) {
|
|
707
|
+
const cx = x(refLabel(e));
|
|
708
|
+
const cy = y(e.log2fc);
|
|
709
|
+
const r = 5.5 * Math.sqrt(k);
|
|
710
|
+
const diamond = g.append("path").attr("d", `M ${cx} ${cy - r} L ${cx + r} ${cy} L ${cx} ${cy + r} L ${cx - r} ${cy} Z`).attr("fill", isSig(e) ? REFERENCE_COLOR : "#fff").attr("stroke", REFERENCE_COLOR).attr("stroke-width", 1.5);
|
|
711
|
+
attachEntryBehavior(diamond, e, self);
|
|
712
|
+
}
|
|
713
|
+
addSigFootnote(body);
|
|
714
|
+
}
|
|
715
|
+
function getGeneRanks(self) {
|
|
716
|
+
const gene = self.state?.config?.tw?.term?.name;
|
|
717
|
+
const [genome, dslabel] = vocabKey(self).split("|");
|
|
718
|
+
return cachedFetch(`geneRanks|${vocabKey(self)}|${gene}`, async () => {
|
|
719
|
+
const data = await dofetch3("termdb/geneRanking", { body: { genome, dslabel, gene } });
|
|
720
|
+
if (data.error) throw data.error;
|
|
721
|
+
return data.geneRanks || {};
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
var rankColor = linear().domain([0, 0.1, 1]).range(["#1d4ed8", "#93c5fd", "#f3f4f6"]).clamp(true);
|
|
725
|
+
function renderMultiomicRankTile(body, _td, self, _cfg, opts = {}) {
|
|
726
|
+
const expanded = !!opts.expanded;
|
|
727
|
+
const rankCfg = self.app.vocabApi.termdbConfig?.queries?.geneRanking || {};
|
|
728
|
+
const modalities = rankCfg.modalities || [];
|
|
729
|
+
const integrativeColumn = rankCfg.integrativeColumn;
|
|
730
|
+
const statColumns = rankCfg.statColumns || [];
|
|
731
|
+
const rankingLabel = (key) => rankCfg.labels?.[key] || key;
|
|
732
|
+
const wait = body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Loading\u2026");
|
|
733
|
+
getGeneRanks(self).then((geneRanks) => {
|
|
734
|
+
wait.remove();
|
|
735
|
+
const keys = Object.keys(geneRanks);
|
|
736
|
+
const ranked = keys.filter((k) => geneRanks[k].row);
|
|
737
|
+
if (!ranked.length) {
|
|
738
|
+
body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Not present in the multiomic rankings.");
|
|
739
|
+
return;
|
|
740
|
+
}
|
|
741
|
+
const fmt = (n) => n.toLocaleString();
|
|
742
|
+
if (expanded) {
|
|
743
|
+
const description = self.app.vocabApi.termdbConfig?.queries?.geneRanking?.description;
|
|
744
|
+
if (description) {
|
|
745
|
+
body.append("div").style("font-size", ".8em").style("color", "#555").style("max-width", "640px").style("line-height", "1.4").style("margin-bottom", "10px").text(description);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
for (const key of keys) {
|
|
749
|
+
const r = geneRanks[key];
|
|
750
|
+
const colIdx = new Map(r.columns.map((c, i) => [c, i]));
|
|
751
|
+
const intIdx = integrativeColumn ? colIdx.get(integrativeColumn) : void 0;
|
|
752
|
+
const intRank = r.row && intIdx !== void 0 ? r.row[intIdx] : null;
|
|
753
|
+
const section = body.append("div").style("margin-bottom", expanded ? "12px" : "6px");
|
|
754
|
+
const head = section.append("div").style("display", "flex").style("align-items", "baseline").style("gap", "6px").style("font-size", expanded ? ".9em" : ".8em");
|
|
755
|
+
head.append("span").style("font-weight", "600").style("color", "#374151").text(rankingLabel(key));
|
|
756
|
+
if (!r.row) {
|
|
757
|
+
head.append("span").style("color", "#9ca3af").text("not ranked");
|
|
758
|
+
continue;
|
|
759
|
+
}
|
|
760
|
+
head.append("span").style("color", typeof intRank === "number" ? "#111827" : "#9ca3af").text(typeof intRank === "number" ? `#${fmt(intRank)} of ${fmt(r.counts[intIdx])}` : "no integrative rank");
|
|
761
|
+
const mods = modalities.filter((m) => colIdx.has(m));
|
|
762
|
+
if (!expanded) {
|
|
763
|
+
const strip = section.append("div").style("display", "flex").style("gap", "2px").style("margin-top", "2px");
|
|
764
|
+
for (const m of mods) {
|
|
765
|
+
const c = colIdx.get(m);
|
|
766
|
+
const v = r.row[c];
|
|
767
|
+
const n = r.counts[c];
|
|
768
|
+
const pct = typeof v === "number" && n ? (v - 1) / Math.max(1, n - 1) : null;
|
|
769
|
+
strip.append("div").attr("title", pct === null ? `${m}: not ranked` : `${m}: #${fmt(v)} of ${fmt(n)}`).style("width", "20px").style("height", "9px").style("border-radius", "2px").style("background", pct === null ? "#fff" : rankColor(pct)).style("border", pct === null ? "1px dashed #d1d5db" : "1px solid transparent").style("box-sizing", "border-box");
|
|
770
|
+
}
|
|
771
|
+
continue;
|
|
772
|
+
}
|
|
773
|
+
const tbl = table2col({ holder: section.append("table") });
|
|
774
|
+
for (const m of mods) {
|
|
775
|
+
const c = colIdx.get(m);
|
|
776
|
+
const v = r.row[c];
|
|
777
|
+
const n = r.counts[c];
|
|
778
|
+
const pctTop = typeof v === "number" ? 100 * v / n : null;
|
|
779
|
+
const pctText = pctTop === null ? "" : ` (top ${pctTop < 0.1 ? pctTop.toFixed(2) : pctTop.toFixed(1)}%)`;
|
|
780
|
+
tbl.addRow(m, typeof v === "number" ? `#${fmt(v)} of ${fmt(n)}${pctText}` : "not ranked");
|
|
781
|
+
}
|
|
782
|
+
for (const extra of statColumns) {
|
|
783
|
+
const c = colIdx.get(extra);
|
|
784
|
+
if (c === void 0) continue;
|
|
785
|
+
const v = r.row[c];
|
|
786
|
+
tbl.addRow(extra, typeof v === "number" ? v < 1e-3 && v > 0 ? v.toExponential(2) : String(v) : "NA");
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
if (!expanded) {
|
|
790
|
+
const foot = body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "4px");
|
|
791
|
+
foot.text("strip: one cell per modality, darker = ranked higher \xB7 hover for ranks");
|
|
792
|
+
}
|
|
793
|
+
}).catch((err) => {
|
|
794
|
+
wait.style("color", "#b91c1c").text(`Failed to load: ${err?.message || err}`);
|
|
795
|
+
if (self.app?.opts?.debug) console.error(err);
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
function getConcordance(self, x, y) {
|
|
799
|
+
const [genome, dslabel] = vocabKey(self).split("|");
|
|
800
|
+
const refKey = (r) => `${r.organism}|${r.assay}|${r.cohort}`;
|
|
801
|
+
return cachedFetch(`dapConcordance|${vocabKey(self)}|${refKey(x)}|${refKey(y)}`, async () => {
|
|
802
|
+
const data = await dofetch3("termdb/dapVolcano", {
|
|
803
|
+
body: {
|
|
804
|
+
genome,
|
|
805
|
+
dslabel,
|
|
806
|
+
organism: x.organism,
|
|
807
|
+
assay: x.assay,
|
|
808
|
+
cohort: x.cohort,
|
|
809
|
+
concordanceWith: { organism: y.organism, assay: y.assay, cohort: y.cohort }
|
|
810
|
+
}
|
|
811
|
+
});
|
|
812
|
+
if (data.error) throw data.error;
|
|
813
|
+
return data.concordance;
|
|
814
|
+
});
|
|
815
|
+
}
|
|
816
|
+
function findPairCohort(self, side, age) {
|
|
817
|
+
const organisms = self.app?.vocabApi?.termdbConfig?.queries?.proteome?.organisms || {};
|
|
818
|
+
for (const organism in organisms) {
|
|
819
|
+
const assays = organisms[organism]?.assays || {};
|
|
820
|
+
for (const assay in assays) {
|
|
821
|
+
for (const cohort in assays[assay].cohorts || {}) {
|
|
822
|
+
const c = assays[assay].cohorts[cohort];
|
|
823
|
+
if (!c.DAPfile || !c.catalog) continue;
|
|
824
|
+
if (!cohortMatches(side, organism, assay, c.catalog)) continue;
|
|
825
|
+
if (side.ageVaries && c.catalog.ageGroup !== age) continue;
|
|
826
|
+
const label = side.ageVaries ? `${side.label} ${age}` : side.label;
|
|
827
|
+
return { organism, assay, cohort, label };
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
return null;
|
|
832
|
+
}
|
|
833
|
+
function concordanceAges(self, cfg) {
|
|
834
|
+
const organisms = self.app?.vocabApi?.termdbConfig?.queries?.proteome?.organisms || {};
|
|
835
|
+
const sides = (cfg.pairs || []).flatMap((p) => [p.x, p.y]).filter((sd) => sd.ageVaries);
|
|
836
|
+
const ages = /* @__PURE__ */ new Set();
|
|
837
|
+
for (const organism in organisms) {
|
|
838
|
+
const assays = organisms[organism]?.assays || {};
|
|
839
|
+
for (const assay in assays) {
|
|
840
|
+
for (const cohort in assays[assay].cohorts || {}) {
|
|
841
|
+
const c = assays[assay].cohorts[cohort];
|
|
842
|
+
if (!c.DAPfile || !c.catalog?.ageGroup) continue;
|
|
843
|
+
if (sides.some((sd) => cohortMatches(sd, organism, assay, c.catalog))) ages.add(c.catalog.ageGroup);
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
return [...ages].sort(byAge);
|
|
848
|
+
}
|
|
849
|
+
function defaultConcordanceAge(self, cfg) {
|
|
850
|
+
const ages = concordanceAges(self, cfg);
|
|
851
|
+
if (cfg.defaultAge && ages.includes(cfg.defaultAge)) return cfg.defaultAge;
|
|
852
|
+
return ages[0] || cfg.defaultAge || "";
|
|
853
|
+
}
|
|
854
|
+
function concordancePairs(self, cfg, age = defaultConcordanceAge(self, cfg)) {
|
|
855
|
+
const pairs = [];
|
|
856
|
+
for (const p of cfg.pairs || []) {
|
|
857
|
+
const x = findPairCohort(self, p.x, age);
|
|
858
|
+
const y = findPairCohort(self, p.y, age);
|
|
859
|
+
if (x && y) pairs.push({ key: p.key, label: p.label, x, y });
|
|
860
|
+
}
|
|
861
|
+
return pairs;
|
|
862
|
+
}
|
|
863
|
+
async function drawConcordance(holder, self, pair, gene, expanded) {
|
|
864
|
+
const { points: pts, r: R, p: P } = await getConcordance(self, pair.x, pair.y);
|
|
865
|
+
const target = gene.toUpperCase();
|
|
866
|
+
const hit = pts.find((p) => p.gene === target);
|
|
867
|
+
const margin = expanded ? { top: 14, right: 16, bottom: 44, left: 52 } : { top: 8, right: 10, bottom: 32, left: 38 };
|
|
868
|
+
const innerW = expanded ? 380 : 150;
|
|
869
|
+
const innerH = expanded ? 320 : 118;
|
|
870
|
+
const svg = holder.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
871
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
872
|
+
const x = linear().domain(fcDomain(pts.map((p) => p.x))).range([0, innerW]);
|
|
873
|
+
const y = linear().domain(fcDomain(pts.map((p) => p.y))).range([innerH, 0]);
|
|
874
|
+
const tickFont = expanded ? null : "8.5px";
|
|
875
|
+
styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).ticks(expanded ? 6 : 4), tickFont);
|
|
876
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(expanded ? 6 : 4), tickFont);
|
|
877
|
+
drawZeroLine(g, x(0), 0, x(0), innerH);
|
|
878
|
+
drawZeroLine(g, 0, y(0), innerW, y(0));
|
|
879
|
+
yAxisTitle(svg, innerH, margin.top, `${pair.y.label} log2FC`);
|
|
880
|
+
svg.append("text").attr("x", margin.left + innerW / 2).attr("y", margin.top + innerH + (expanded ? 36 : 28)).attr("text-anchor", "middle").style("font-size", expanded ? "11px" : "10px").style("fill", "#374151").text(`${pair.x.label} log2FC`);
|
|
881
|
+
for (const p of pts) {
|
|
882
|
+
if (p === hit) continue;
|
|
883
|
+
g.append("circle").attr("cx", x(p.x)).attr("cy", y(p.y)).attr("r", expanded ? 1.6 : 1.1).attr("fill", "#9ca3af").attr("fill-opacity", 0.45);
|
|
884
|
+
}
|
|
885
|
+
if (hit) {
|
|
886
|
+
g.append("circle").attr("cx", x(hit.x)).attr("cy", y(hit.y)).attr("r", expanded ? 6 : 4).attr("fill", "#e75480").attr("stroke", "#7f1d1d").attr("stroke-width", 1.2);
|
|
887
|
+
g.append("text").attr("x", x(hit.x) + (expanded ? 9 : 6)).attr("y", y(hit.y) - (expanded ? 6 : 4)).style("font-size", expanded ? "12px" : "9px").style("font-weight", "600").style("fill", "#7f1d1d").text(gene);
|
|
888
|
+
}
|
|
889
|
+
g.append("text").attr("x", innerW).attr("y", -2).attr("text-anchor", "end").style("font-size", expanded ? "11px" : "9px").style("fill", "#374151").attr("title", P === null ? null : `Pearson cor.test p = ${P < 1e-4 ? P.toExponential(1) : P.toFixed(4)}`).text(`R = ${R === null ? "NA" : R.toFixed(2)} \xB7 n = ${pts.length.toLocaleString()}`);
|
|
890
|
+
if (!hit) {
|
|
891
|
+
holder.append("div").style("font-size", ".72em").style("color", "#9ca3af").text(`${gene} is not quantified in both datasets`);
|
|
892
|
+
} else if (expanded) {
|
|
893
|
+
holder.append("div").style("font-size", ".8em").style("color", "#374151").style("margin-top", "4px").text(`${gene}: ${pair.x.label} log2FC ${hit.x.toFixed(2)} \xB7 ${pair.y.label} log2FC ${hit.y.toFixed(2)}`);
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
function renderConcordanceTile(body, _td, self, cfg, opts = {}) {
|
|
897
|
+
const expanded = !!opts.expanded;
|
|
898
|
+
const gene = self.state?.config?.tw?.term?.name || "";
|
|
899
|
+
let age = defaultConcordanceAge(self, cfg);
|
|
900
|
+
let pairs = concordancePairs(self, cfg, age);
|
|
901
|
+
if (!pairs.length) return;
|
|
902
|
+
let pair = pairs[0];
|
|
903
|
+
const controls = body.append("div").style("display", "flex").style("align-items", "center").style("gap", "12px");
|
|
904
|
+
const tabsHolder = controls.append("div");
|
|
905
|
+
const plotHolder = body.append("div");
|
|
906
|
+
let generation = 0;
|
|
907
|
+
const redraw = () => {
|
|
908
|
+
const gen = ++generation;
|
|
909
|
+
plotHolder.selectAll("*").remove();
|
|
910
|
+
const wait = plotHolder.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Loading\u2026");
|
|
911
|
+
const target = plotHolder.append("div");
|
|
912
|
+
drawConcordance(target, self, pair, gene, expanded).then(() => {
|
|
913
|
+
if (gen !== generation) target.remove();
|
|
914
|
+
else wait.remove();
|
|
915
|
+
}).catch((err) => {
|
|
916
|
+
if (gen !== generation) return;
|
|
917
|
+
wait.style("color", "#b91c1c").text(`Failed to load: ${err?.message || err}`);
|
|
918
|
+
if (self.app?.opts?.debug) console.error(err);
|
|
919
|
+
});
|
|
920
|
+
};
|
|
921
|
+
const makeTabs = () => {
|
|
922
|
+
tabsHolder.selectAll("*").remove();
|
|
923
|
+
if (pairs.length < 2) return;
|
|
924
|
+
makeDiseaseTabs(
|
|
925
|
+
tabsHolder,
|
|
926
|
+
pairs.map((p) => p.label),
|
|
927
|
+
pair.label,
|
|
928
|
+
(label) => {
|
|
929
|
+
pair = pairs.find((p) => p.label === label) || pairs[0];
|
|
930
|
+
redraw();
|
|
931
|
+
},
|
|
932
|
+
".9em"
|
|
933
|
+
);
|
|
934
|
+
};
|
|
935
|
+
if (expanded) {
|
|
936
|
+
makeTabs();
|
|
937
|
+
const ages = concordanceAges(self, cfg);
|
|
938
|
+
if (ages.length > 1) {
|
|
939
|
+
const ageDiv = controls.append("div").style("font-size", ".85em").style("color", "#374151");
|
|
940
|
+
ageDiv.append("span").text("Age: ");
|
|
941
|
+
const sel = ageDiv.append("select").style("font-size", "inherit");
|
|
942
|
+
for (const a of ages)
|
|
943
|
+
sel.append("option").attr("value", a).property("selected", a === age).text(a);
|
|
944
|
+
sel.on("change", () => {
|
|
945
|
+
age = sel.property("value");
|
|
946
|
+
const next = concordancePairs(self, cfg, age);
|
|
947
|
+
if (!next.length) {
|
|
948
|
+
plotHolder.selectAll("*").remove();
|
|
949
|
+
plotHolder.append("div").style("font-size", ".8em").style("color", "#9ca3af").text(`No cohorts at ${age}`);
|
|
950
|
+
tabsHolder.selectAll("*").remove();
|
|
951
|
+
return;
|
|
952
|
+
}
|
|
953
|
+
pairs = next;
|
|
954
|
+
pair = pairs.find((p) => p.key === pair.key) || pairs[0];
|
|
955
|
+
makeTabs();
|
|
956
|
+
redraw();
|
|
957
|
+
});
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
redraw();
|
|
961
|
+
if (!expanded) {
|
|
962
|
+
body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px").text(`${pair.label}${age ? ", " + age : ""}, all genes \xB7 expand for other pairs and ages`);
|
|
963
|
+
} else if (cfg.note) {
|
|
964
|
+
body.append("div").style("font-size", ".75em").style("color", "#9ca3af").style("margin-top", "6px").text(cfg.note);
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
var TILE_RENDERERS = {
|
|
968
|
+
crossDisease: {
|
|
969
|
+
has: (td, _s, cfg) => new Set(entries(td, cfg.key).map((e) => e.disease || e.cohortName)).size >= 2,
|
|
970
|
+
render: renderCrossDiseaseTile
|
|
971
|
+
},
|
|
972
|
+
insoluble: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 1, render: renderInsolubleTile },
|
|
973
|
+
brainRegions: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 2, render: renderBrainRegionTile },
|
|
974
|
+
mouseModels: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 2, render: renderMouseModelsTile },
|
|
975
|
+
cellTypes: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 2, render: renderCellTypesTile },
|
|
976
|
+
plaque: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 1, render: renderPlaqueTile },
|
|
977
|
+
multiomicRank: {
|
|
978
|
+
// available whenever the dataset ships rankings; the gene may still be absent
|
|
979
|
+
has: (_td, self) => !!self?.app?.vocabApi?.termdbConfig?.queries?.geneRanking?.rankings,
|
|
980
|
+
render: renderMultiomicRankTile
|
|
981
|
+
},
|
|
982
|
+
concordance: { has: (_td, self, cfg) => concordancePairs(self, cfg).length > 0, render: renderConcordanceTile }
|
|
983
|
+
// 'ptm' is rendered by renderPTMSummaryCard from site-level data, not here
|
|
984
|
+
};
|
|
985
|
+
function configuredTiles(self) {
|
|
986
|
+
const out = [];
|
|
987
|
+
for (const cfg of getTileConfigs(self)) {
|
|
988
|
+
const r = TILE_RENDERERS[cfg.key];
|
|
989
|
+
if (!r) continue;
|
|
990
|
+
out.push({ ...cfg, ...r });
|
|
991
|
+
}
|
|
992
|
+
return out;
|
|
993
|
+
}
|
|
994
|
+
function renderTileError(holder, err, self) {
|
|
995
|
+
holder.append("div").style("color", "#b91c1c").style("font-size", ".8em").text(`Failed to render: ${err?.message || err}`);
|
|
996
|
+
if (self?.app?.opts?.debug) console.error(err);
|
|
997
|
+
}
|
|
998
|
+
var openTilePanes = /* @__PURE__ */ new Map();
|
|
999
|
+
var tilePaneKey = (self, key) => `${self?.id ?? ""}|${key}`;
|
|
1000
|
+
function closeTilePanes(self) {
|
|
1001
|
+
const prefix = `${self?.id ?? ""}|`;
|
|
1002
|
+
for (const [k, pane] of openTilePanes) {
|
|
1003
|
+
if (!k.startsWith(prefix)) continue;
|
|
1004
|
+
pane.pane.remove();
|
|
1005
|
+
openTilePanes.delete(k);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
function closeTilePane(self, key) {
|
|
1009
|
+
const k = tilePaneKey(self, key);
|
|
1010
|
+
const existing = openTilePanes.get(k);
|
|
1011
|
+
if (!existing) return false;
|
|
1012
|
+
existing.pane.remove();
|
|
1013
|
+
openTilePanes.delete(k);
|
|
1014
|
+
return true;
|
|
1015
|
+
}
|
|
1016
|
+
function toggleTilePane(self, key, title, make, onClose) {
|
|
1017
|
+
const k = tilePaneKey(self, key);
|
|
1018
|
+
if (closeTilePane(self, key)) return null;
|
|
1019
|
+
const pane = newpane({
|
|
1020
|
+
x: Math.max(16, (window.innerWidth - 760) / 2),
|
|
1021
|
+
y: 60,
|
|
1022
|
+
close: () => {
|
|
1023
|
+
pane.pane.remove();
|
|
1024
|
+
openTilePanes.delete(k);
|
|
1025
|
+
}
|
|
1026
|
+
});
|
|
1027
|
+
if (onClose) {
|
|
1028
|
+
const remove = pane.pane.remove.bind(pane.pane);
|
|
1029
|
+
pane.pane.remove = () => {
|
|
1030
|
+
remove();
|
|
1031
|
+
onClose();
|
|
1032
|
+
};
|
|
1033
|
+
}
|
|
1034
|
+
openTilePanes.set(k, pane);
|
|
1035
|
+
if (!pane.pane.node().style.zIndex) pane.pane.style("z-index", TILE_PANE_ZINDEX);
|
|
1036
|
+
pane.header.text(title);
|
|
1037
|
+
make(pane.body);
|
|
1038
|
+
raiseSharedMenus(self);
|
|
1039
|
+
return pane;
|
|
1040
|
+
}
|
|
1041
|
+
function openExpandedTile(tile, td, self) {
|
|
1042
|
+
const protein = self.state?.config?.tw?.term?.name || "";
|
|
1043
|
+
toggleTilePane(self, tile.key, `${protein ? protein + " \u2014 " : ""}${tile.title}`, (paneBody) => {
|
|
1044
|
+
const body = paneBody.append("div").style("padding", "12px 16px");
|
|
1045
|
+
body.append("div").style("font-size", ".8em").style("color", "#6b7280").style("margin-bottom", "6px").text(tile.subtitle);
|
|
1046
|
+
try {
|
|
1047
|
+
tile.render(body.append("div"), td, self, tile, { scale: EXPANDED_SCALE, expanded: true });
|
|
1048
|
+
} catch (err) {
|
|
1049
|
+
renderTileError(body, err, self);
|
|
1050
|
+
}
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
1053
|
+
function renderStudyTiles(grid, td, self) {
|
|
1054
|
+
const missing = [];
|
|
1055
|
+
for (const tile of configuredTiles(self)) {
|
|
1056
|
+
if (!tile.has(td, self, tile)) {
|
|
1057
|
+
missing.push(tile);
|
|
1058
|
+
continue;
|
|
1059
|
+
}
|
|
1060
|
+
const body = makeTileCard(grid, {
|
|
1061
|
+
title: tile.title,
|
|
1062
|
+
subtitle: tile.subtitle,
|
|
1063
|
+
uniform: true,
|
|
1064
|
+
onExpand: () => openExpandedTile(tile, td, self)
|
|
1065
|
+
});
|
|
1066
|
+
try {
|
|
1067
|
+
tile.render(body, td, self, tile, { scale: TILE_FACE_SCALE, scaleX: TILE_FACE_SCALE_X });
|
|
1068
|
+
} catch (err) {
|
|
1069
|
+
renderTileError(body, err, self);
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
return { missing };
|
|
1073
|
+
}
|
|
1074
|
+
function renderPlaceholderTiles(grid, tiles) {
|
|
1075
|
+
for (const tile of tiles) {
|
|
1076
|
+
const body = makeTileCard(grid, { title: tile.title, disabled: true, uniform: true });
|
|
1077
|
+
body.style("flex", "1").style("display", "flex").style("align-items", "center").style("justify-content", "center").append("div").style("font-size", ".75em").style("color", "#9ca3af").style("max-width", "200px").style("text-align", "center").text(tile.note || "No data for this protein in this study");
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
var PTM_FALLBACK_PALETTE = ["#d7301f", "#2166ac", "#1b9e77", "#7570b3", "#e6ab02"];
|
|
1081
|
+
function firstModSitePos(modSites) {
|
|
1082
|
+
const m = /[A-Za-z](\d+)/.exec(modSites || "");
|
|
1083
|
+
if (!m) return null;
|
|
1084
|
+
const pos = Number(m[1]);
|
|
1085
|
+
return Number.isInteger(pos) && pos >= 1 ? pos : null;
|
|
1086
|
+
}
|
|
1087
|
+
function renderOverviewVolcanoCard(grid, data, self, opts) {
|
|
1088
|
+
const pts = [];
|
|
1089
|
+
for (const e of data?.cohorts || []) {
|
|
1090
|
+
if (e.PTMType) continue;
|
|
1091
|
+
const log2fc = getLog2Ratio(e.foldChange);
|
|
1092
|
+
const p = Number(e.fdr);
|
|
1093
|
+
if (log2fc === null || !Number.isFinite(p) || p <= 0) continue;
|
|
1094
|
+
pts.push({ x: log2fc, y: -Math.log10(Math.max(p, 1e-300)), sig: p < SIG_P });
|
|
1095
|
+
}
|
|
1096
|
+
const protein = self.state?.config?.tw?.term?.name || "";
|
|
1097
|
+
const body = makeTileCard(grid, {
|
|
1098
|
+
title: "All sample sets",
|
|
1099
|
+
subtitle: "log2FC vs significance, every cohort",
|
|
1100
|
+
uniform: true,
|
|
1101
|
+
onExpand: () => toggleTilePane(self, "volcano", `${protein ? protein + " \u2014 " : ""}All sample sets`, (paneBody) => {
|
|
1102
|
+
opts.onExpandRender(paneBody.append("div").style("padding", "12px 16px"));
|
|
1103
|
+
})
|
|
1104
|
+
});
|
|
1105
|
+
if (!pts.length) {
|
|
1106
|
+
body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("No protein-level data.");
|
|
1107
|
+
return;
|
|
1108
|
+
}
|
|
1109
|
+
const margin = { top: 8, right: 10, bottom: 32, left: 38 };
|
|
1110
|
+
const innerW = 156;
|
|
1111
|
+
const innerH = 118;
|
|
1112
|
+
const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
1113
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
1114
|
+
const x = linear().domain(fcDomain(pts.map((p) => p.x))).range([0, innerW]);
|
|
1115
|
+
const y = linear().domain([0, Math.max(2, ...pts.map((p) => p.y)) * 1.05]).range([innerH, 0]);
|
|
1116
|
+
styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).ticks(4), "8.5px");
|
|
1117
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(4), "8.5px");
|
|
1118
|
+
drawZeroLine(g, x(0), 0, x(0), innerH);
|
|
1119
|
+
g.append("line").attr("x1", 0).attr("x2", innerW).attr("y1", y(-Math.log10(SIG_P))).attr("y2", y(-Math.log10(SIG_P))).attr("stroke", "#9ca3af").attr("stroke-dasharray", "3 3").attr("stroke-opacity", 0.5);
|
|
1120
|
+
yAxisTitle(svg, innerH, margin.top, "\u2212log\u2081\u2080(FDR)");
|
|
1121
|
+
svg.append("text").attr("x", margin.left + innerW / 2).attr("y", margin.top + innerH + 28).attr("text-anchor", "middle").style("font-size", "10px").style("fill", "#374151").text("log2FC");
|
|
1122
|
+
for (const p of pts) {
|
|
1123
|
+
g.append("circle").attr("cx", x(p.x)).attr("cy", y(p.y)).attr("r", 2).attr("fill", p.sig ? "#e75480" : "#c7cbd1").attr("fill-opacity", 0.6);
|
|
1124
|
+
}
|
|
1125
|
+
body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px").text(`${pts.length} dots (accession \xD7 sample set) \xB7 expand for the interactive view`);
|
|
1126
|
+
}
|
|
1127
|
+
function renderPTMSummaryCard(grid, ptmEntries, self, opts) {
|
|
1128
|
+
if (!ptmEntries?.length) return;
|
|
1129
|
+
const protein = self.state?.config?.tw?.term?.name || "";
|
|
1130
|
+
const cfg = getTileConfig(self, "ptm");
|
|
1131
|
+
const title = cfg?.title || "PTM sites";
|
|
1132
|
+
const body = makeTileCard(grid, {
|
|
1133
|
+
title,
|
|
1134
|
+
subtitle: cfg?.subtitle || "Site-level log2FC along the protein",
|
|
1135
|
+
uniform: true,
|
|
1136
|
+
onExpand: () => toggleTilePane(self, "ptm", `${protein ? protein + " \u2014 " : ""}${title}`, async (paneBody) => {
|
|
1137
|
+
const holder = paneBody.append("div").style("padding", "12px 16px");
|
|
1138
|
+
const wait = holder.append("div").style("color", "#6b7280").style("font-size", ".85em").text("Loading\u2026");
|
|
1139
|
+
try {
|
|
1140
|
+
await opts.onExpandRender(holder);
|
|
1141
|
+
} catch (err) {
|
|
1142
|
+
renderTileError(holder, err, self);
|
|
1143
|
+
}
|
|
1144
|
+
wait.remove();
|
|
1145
|
+
})
|
|
1146
|
+
});
|
|
1147
|
+
const byOrganism = /* @__PURE__ */ new Map();
|
|
1148
|
+
const typeCounts = /* @__PURE__ */ new Map();
|
|
1149
|
+
for (const e of ptmEntries) {
|
|
1150
|
+
const pos = firstModSitePos(e.modSites);
|
|
1151
|
+
const log2fc = getLog2Ratio(e.foldChange);
|
|
1152
|
+
const mclass = Object.values(e.mclassOverride || {})[0];
|
|
1153
|
+
const existing = typeCounts.get(e.PTMType);
|
|
1154
|
+
const color = existing?.color || mclass?.color || PTM_FALLBACK_PALETTE[typeCounts.size % PTM_FALLBACK_PALETTE.length];
|
|
1155
|
+
const tc = existing || { count: 0, color };
|
|
1156
|
+
tc.count++;
|
|
1157
|
+
typeCounts.set(e.PTMType, tc);
|
|
1158
|
+
if (pos === null || log2fc === null) continue;
|
|
1159
|
+
const p = Number(e.fdr);
|
|
1160
|
+
const entry = {
|
|
1161
|
+
organism: e.organism,
|
|
1162
|
+
assayName: e.assayName,
|
|
1163
|
+
cohortName: e.cohortName,
|
|
1164
|
+
disease: e.disease,
|
|
1165
|
+
uniqueIdentifier: e.uniqueIdentifier,
|
|
1166
|
+
proteinAccession: e.proteinAccession,
|
|
1167
|
+
log2fc,
|
|
1168
|
+
fdr: Number.isFinite(p) && p > 0 ? p : null,
|
|
1169
|
+
testedN: Number(e.testedN) || 0,
|
|
1170
|
+
controlN: Number(e.controlN) || 0,
|
|
1171
|
+
isoformCount: 1,
|
|
1172
|
+
catalog: catalogForEntry(self, e) || {},
|
|
1173
|
+
ptmType: e.PTMType,
|
|
1174
|
+
modSites: e.modSites
|
|
1175
|
+
};
|
|
1176
|
+
const arr = byOrganism.get(e.organism) || [];
|
|
1177
|
+
arr.push({ pos, log2fc, color, entry });
|
|
1178
|
+
byOrganism.set(e.organism, arr);
|
|
1179
|
+
}
|
|
1180
|
+
const stripW = 152;
|
|
1181
|
+
const stripH = 46;
|
|
1182
|
+
const labelW = 46;
|
|
1183
|
+
for (const [organism, points] of byOrganism) {
|
|
1184
|
+
const maxPos = Math.max(...points.map((p) => p.pos)) * 1.05;
|
|
1185
|
+
const maxAbs = Math.max(0.2, ...points.map((p) => Math.abs(p.log2fc)));
|
|
1186
|
+
const row = body.append("div").style("display", "flex").style("align-items", "center").style("gap", "4px");
|
|
1187
|
+
row.append("span").style("flex", `0 0 ${labelW}px`).style("font-size", ".7em").style("color", "#6b7280").text(organism);
|
|
1188
|
+
const svg = row.append("svg").attr("width", stripW).attr("height", stripH);
|
|
1189
|
+
const x = linear().domain([0, maxPos]).range([4, stripW - 4]);
|
|
1190
|
+
const y = linear().domain([-maxAbs, maxAbs]).range([stripH - 4, 4]);
|
|
1191
|
+
svg.append("line").attr("x1", 0).attr("x2", stripW).attr("y1", y(0)).attr("y2", y(0)).attr("stroke", "#e5e7eb");
|
|
1192
|
+
for (const p of points) {
|
|
1193
|
+
svg.append("line").attr("x1", x(p.pos)).attr("x2", x(p.pos)).attr("y1", y(0)).attr("y2", y(p.log2fc)).attr("stroke", p.color).attr("stroke-opacity", 0.4);
|
|
1194
|
+
attachEntryBehavior(
|
|
1195
|
+
svg.append("circle").attr("cx", x(p.pos)).attr("cy", y(p.log2fc)).attr("r", 2.5).attr("fill", p.color).attr("fill-opacity", 0.8),
|
|
1196
|
+
p.entry,
|
|
1197
|
+
self
|
|
1198
|
+
);
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
const foot = body.append("div").style("display", "flex").style("gap", "10px").style("flex-wrap", "wrap").style("font-size", ".7em").style("color", "#6b7280").style("margin-top", "4px");
|
|
1202
|
+
for (const [type, tc] of typeCounts) {
|
|
1203
|
+
const item = foot.append("span").style("display", "inline-flex").style("align-items", "center").style("gap", "4px");
|
|
1204
|
+
item.append("span").style("display", "inline-block").style("width", "7px").style("height", "7px").style("border-radius", "50%").style("background", tc.color);
|
|
1205
|
+
item.append("span").text(`${tc.count} ${type}`);
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
function renderCoverageLine(holder, td) {
|
|
1209
|
+
const parts = [`${td.cohortCount} sample set${td.cohortCount === 1 ? "" : "s"}`];
|
|
1210
|
+
if (td.ptmSiteCount) parts.push(`${td.ptmSiteCount} PTM site measurement${td.ptmSiteCount === 1 ? "" : "s"}`);
|
|
1211
|
+
if (td.isoformCount > 1) parts.push(`${td.isoformCount} isoforms (tiles show the most significant per sample set)`);
|
|
1212
|
+
holder.append("div").style("font-size", ".8em").style("color", "#6b7280").style("margin-bottom", "4px").text(parts.join(" \xB7 "));
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
export {
|
|
1216
|
+
getTileConfig,
|
|
1217
|
+
orderBy,
|
|
1218
|
+
getLog2Ratio,
|
|
1219
|
+
launchViolinPlot,
|
|
1220
|
+
prepareTileData,
|
|
1221
|
+
makeTileGrid,
|
|
1222
|
+
makeTileCard,
|
|
1223
|
+
renderTileError,
|
|
1224
|
+
closeTilePanes,
|
|
1225
|
+
closeTilePane,
|
|
1226
|
+
toggleTilePane,
|
|
1227
|
+
renderStudyTiles,
|
|
1228
|
+
renderPlaceholderTiles,
|
|
1229
|
+
renderOverviewVolcanoCard,
|
|
1230
|
+
renderPTMSummaryCard,
|
|
1231
|
+
renderCoverageLine
|
|
1232
|
+
};
|
|
1233
|
+
//# sourceMappingURL=chunk-UKOOGNUF.js.map
|