@sjcrh/proteinpaint-client 2.219.1 → 2.221.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-7YU3SNKL.js +1362 -0
- package/dist/AggMatrixInput-73CDR5FS.js +402 -0
- package/dist/AggregateMatrix-NNULVFBM.js +37 -0
- package/dist/AppHeader-EZDDLLXU.js +826 -0
- package/dist/BoxPlot-463E7CRY.js +1229 -0
- package/dist/CorrelationVolcano-LHIIMBPP.js +613 -0
- package/dist/Cuminc-UL2TCIKV.js +1217 -0
- package/dist/DE-VRFSKFDW.js +85 -0
- package/dist/DEinput-FZTQRWVC.js +479 -0
- package/dist/DM-PO7CQZNT.js +86 -0
- package/dist/DifferentialAnalysis-WK6HE3YH.js +236 -0
- package/dist/Disco-YBNQJQFG.js +3384 -0
- package/dist/Disco.UI-HC5XYBFV.js +239 -0
- package/dist/DmrPlot-7VJ5C66D.js +361 -0
- package/dist/GB-VPFQRDRO.js +1388 -0
- package/dist/GSEA-ZEJB3QZQ.js +870 -0
- package/dist/GeneExpInput-SBDDIY6G.js +38 -0
- package/dist/Geomap-23AHGP2V.js +80 -0
- package/dist/HicApp-7AQQE4CM.js +2240 -0
- package/dist/IDCViewer-NO5Q6VOB.js +10808 -0
- package/dist/NumBinaryEditor-DSRP4OOU.js +274 -0
- package/dist/NumBinaryEditor.unit.spec-TT666YL4.js +308 -0
- package/dist/NumContEditor-6CURFOCH.js +100 -0
- package/dist/NumContEditor.unit.spec-MNVCFCMP.js +160 -0
- package/dist/NumCustomBinEditor-SQRR5EFL.js +29 -0
- package/dist/NumCustomBinEditor.unit.spec-F7BZWGGT.js +393 -0
- package/dist/NumDiscreteEditor-U7Z2QNYP.js +165 -0
- package/dist/NumDiscreteEditor.unit.spec-EIEBUZCX.js +229 -0
- package/dist/NumRegularBinEditor-CVZSWN6Y.js +29 -0
- package/dist/NumRegularBinEditor.unit.spec-ZMAJOIHL.js +274 -0
- package/dist/NumSplineEditor-U43D5NBJ.js +205 -0
- package/dist/NumSplineEditor.unit.spec-C52AADTS.js +220 -0
- package/dist/NumericDensity-PUKDZOVI.js +29 -0
- package/dist/NumericDensity.unit.spec-2347S76D.js +414 -0
- package/dist/NumericHandler-3RT32PTR.js +30 -0
- package/dist/NumericHandler.unit.spec-4PADL4KZ.js +225 -0
- package/dist/ProteomeInput-NFV4FW4U.js +610 -0
- package/dist/Regression-N7M7N6G4.js +1412 -0
- package/dist/RunChart2-UPQ7C6QE.js +744 -0
- package/dist/SC-KBW2NHUV.js +1290 -0
- package/dist/Violin-GWCOP3ZF.js +1092 -0
- package/dist/Volcano-X3HT32GQ.js +2661 -0
- package/dist/Volcano-X3HT32GQ.js.map +7 -0
- package/dist/Wsi-NXAEOYIS.js +636 -0
- package/dist/aboutSunburst-5EKXZV2A.js +86 -0
- package/dist/aboutSunburst-5EKXZV2A.js.map +7 -0
- package/dist/adSandbox-RPEWEEW7.js +29 -0
- package/dist/animatedBubbleChart-ILDMZRBX.js +542 -0
- package/dist/app-LOUC4J47.js +28 -0
- package/dist/app-MRKXZ6AZ.js +38 -0
- package/dist/app.js +15 -15
- package/dist/bam-SQWPHCZZ.js +872 -0
- package/dist/bam-SQWPHCZZ.js.map +7 -0
- package/dist/barchart-CJR37234.js +38 -0
- package/dist/barchart2-QQYLTHWR.js +305 -0
- package/dist/block-GLF6QNKY.js +6203 -0
- package/dist/block-GLF6QNKY.js.map +7 -0
- package/dist/block.init-YJQTJIDO.js +29 -0
- package/dist/block.mds.expressionrank-GBMEI5KQ.js +350 -0
- package/dist/block.mds.geneboxplot-XWE3E5IW.js +819 -0
- package/dist/block.mds.junction-QLEHFVPE.js +1534 -0
- package/dist/block.mds.svcnv-53DTOPBC.js +6413 -0
- package/dist/block.svg-57T37ABS.js +155 -0
- package/dist/block.tk.aicheck-6DXJTS3H.js +274 -0
- package/dist/block.tk.bam-CJFFQDNX.js +1906 -0
- package/dist/block.tk.bam-CJFFQDNX.js.map +7 -0
- package/dist/block.tk.bigwig.ui-OYIVXE2L.js +202 -0
- package/dist/block.tk.hicstraw-UKTGEBWT.js +814 -0
- package/dist/block.tk.junction-ZU5KPFQ3.js +2353 -0
- package/dist/block.tk.junction.textmatrixui-P4WXTAZR.js +190 -0
- package/dist/block.tk.ld-3PQ4O2AE.js +90 -0
- package/dist/block.tk.menu-LLITB6UA.js +1050 -0
- package/dist/block.tk.pgv-Y3FBXUO3.js +934 -0
- package/dist/brainImaging-4B3WXLNP.js +550 -0
- package/dist/brainRegions-7VLONUWN.js +213 -0
- package/dist/bubbleHeatmap-DI6GJRR6.js +374 -0
- package/dist/cellTypeBubbleHeatmap-HJY53DB2.js +274 -0
- package/dist/chunk-226MNBZ2.js +240 -0
- package/dist/chunk-2CDFU4MQ.js +536 -0
- package/dist/chunk-2CDFU4MQ.js.map +7 -0
- package/dist/chunk-2CNFGVHU.js +257 -0
- package/dist/chunk-2MC3RNKA.js +2685 -0
- package/dist/chunk-2OMX5AYB.js +195 -0
- package/dist/chunk-2SL4QWUS.js +50 -0
- package/dist/chunk-3KGBC5MK.js +692 -0
- package/dist/chunk-3PCRAPUV.js +56 -0
- package/dist/chunk-4DBOMSKP.js +102 -0
- package/dist/chunk-4TJO2DGU.js +2297 -0
- package/dist/chunk-4TJO2DGU.js.map +7 -0
- package/dist/chunk-57BS6KNI.js +466 -0
- package/dist/chunk-5AXS5G4A.js +2334 -0
- package/dist/chunk-5DI4UNH5.js +562 -0
- package/dist/chunk-5HJG6ECV.js +237 -0
- package/dist/chunk-5ZYANHGX.js +550 -0
- package/dist/chunk-6T4MN7LV.js +397 -0
- package/dist/chunk-75MRUW2K.js +103 -0
- package/dist/chunk-7J3W3KCN.js +255 -0
- package/dist/chunk-7SFK32JP.js +398 -0
- package/dist/chunk-7SFK32JP.js.map +7 -0
- package/dist/chunk-AIZYAKIE.js +182 -0
- package/dist/chunk-AJNFI6GA.js +2008 -0
- package/dist/chunk-BJAWDZBL.js +2799 -0
- package/dist/chunk-C6PVZVIH.js +379 -0
- package/dist/chunk-C77X5ZUV.js +176 -0
- package/dist/chunk-C7KUMZQM.js +59 -0
- package/dist/chunk-C7ROKWV2.js +140 -0
- package/dist/chunk-CAH6LJ5Z.js +31 -0
- package/dist/chunk-CUCP2GMT.js +102 -0
- package/dist/chunk-DTGAMBRJ.js +134 -0
- package/dist/chunk-DXT7GDHY.js +55 -0
- package/dist/chunk-ENPMWVWG.js +5214 -0
- package/dist/chunk-EYKJQJ7R.js +382 -0
- package/dist/chunk-FE5TCBIT.js +30 -0
- package/dist/chunk-FJ2JV2VK.js +217 -0
- package/dist/chunk-FPMJJBLV.js +4389 -0
- package/dist/chunk-FPMJJBLV.js.map +7 -0
- package/dist/chunk-FZYVPRVQ.js +38 -0
- package/dist/chunk-GBKQHVKJ.js +274 -0
- package/dist/chunk-GUW7VTUL.js +281 -0
- package/dist/chunk-H7F6DMJA.js +70 -0
- package/dist/chunk-HH3NUAR2.js +96 -0
- package/dist/chunk-HRTPGNOG.js +159 -0
- package/dist/chunk-IFPRYTS7.js +848 -0
- package/dist/chunk-IJSFSUI4.js +302 -0
- package/dist/chunk-IRQKX6DL.js +263 -0
- package/dist/chunk-JHLF2ZC2.js +472 -0
- package/dist/chunk-JNZL7HKB.js +1219 -0
- package/dist/chunk-K2ARLT2A.js +26 -0
- package/dist/chunk-K3G56J5R.js +299 -0
- package/dist/chunk-KKUCG2QE.js +516 -0
- package/dist/chunk-KPXCXBNU.js +626 -0
- package/dist/chunk-LF5WBI27.js +418 -0
- package/dist/chunk-LF5WBI27.js.map +7 -0
- package/dist/chunk-MANAUI7R.js +54 -0
- package/dist/chunk-MEUSRAOE.js +170 -0
- package/dist/chunk-MHWYRNGA.js +348 -0
- package/dist/chunk-MSTYU3QO.js +14 -0
- package/dist/chunk-MWARRQT4.js +141 -0
- package/dist/chunk-MXKYPTZ7.js +203 -0
- package/dist/chunk-NX5IB4IY.js +37 -0
- package/dist/chunk-OZUF7O2S.js +133 -0
- package/dist/chunk-PRTLCJYF.js +2941 -0
- package/dist/chunk-PRTLCJYF.js.map +7 -0
- package/dist/chunk-PWYMHUXY.js +116 -0
- package/dist/chunk-PWYMHUXY.js.map +7 -0
- package/dist/chunk-QNCE6EOK.js +82 -0
- package/dist/chunk-RIHO7ZD5.js +119 -0
- package/dist/chunk-RV335DF2.js +266 -0
- package/dist/chunk-SFPZUBPM.js +2102 -0
- package/dist/chunk-SFPZUBPM.js.map +7 -0
- package/dist/chunk-THAUD62Q.js +1253 -0
- package/dist/chunk-VBTBUXXX.js +6375 -0
- package/dist/chunk-VHWJK2MP.js +56 -0
- package/dist/chunk-VLIOMJDR.js +276 -0
- package/dist/chunk-VMK4RHV5.js +54 -0
- package/dist/chunk-WD7FZ5EE.js +26536 -0
- package/dist/chunk-WD7FZ5EE.js.map +7 -0
- package/dist/chunk-WJLRU5OF.js +5786 -0
- package/dist/chunk-WJLRU5OF.js.map +7 -0
- package/dist/chunk-WKT7RF3C.js +468 -0
- package/dist/chunk-WXSMUSU7.js +184 -0
- package/dist/chunk-WXSX5OQJ.js +296 -0
- package/dist/chunk-WY3IORKG.js +194 -0
- package/dist/chunk-WYSOOKFJ.js +480 -0
- package/dist/chunk-XBBFFOLS.js +123 -0
- package/dist/chunk-XSRQGX5H.js +340 -0
- package/dist/chunk-YLL6CTBL.js +54 -0
- package/dist/chunk-YPBY37KD.js +1339 -0
- package/dist/chunk-YUNJBIK4.js +243 -0
- package/dist/chunk-Z5ECCUNG.js +444 -0
- package/dist/chunk-ZAC34BZQ.js +35 -0
- package/dist/chunk-ZAC34BZQ.js.map +7 -0
- package/dist/cohort-5WL6UJOS.js +66 -0
- package/dist/cohortSunburst-R3Z5KJQL.js +402 -0
- package/dist/condition-2IILUMVB.js +323 -0
- package/dist/controls-G3JITZF5.js +30 -0
- package/dist/controls.config-BO7KPPET.js +30 -0
- package/dist/correlation-CZILLVEM.js +91 -0
- package/dist/customdata.inputui-BXFQAMTR.js +280 -0
- package/dist/dataDownload-QTWR4IW7.js +326 -0
- package/dist/dataDownload-QTWR4IW7.js.map +7 -0
- package/dist/databrowser.ui-V2NJQF3U.js +421 -0
- package/dist/dictionary-OVAQX6R3.js +109 -0
- package/dist/dnaMethylation-DHPFRXB2.js +29 -0
- package/dist/dnaMethylation.integration.spec-PJLIRGN5.js +194 -0
- package/dist/dofetch-KBTN6OW4.js +49 -0
- package/dist/e2pca-O7SNMJGB.js +340 -0
- package/dist/ep-NIVLKG4S.js +1247 -0
- package/dist/expclust.gdc.spec-LVCD6C43.js +298 -0
- package/dist/facet-LB4SCXE4.js +556 -0
- package/dist/gb-3IJ4NCPO.js +77 -0
- package/dist/geneExpClustering-SIAC7CMA.js +240 -0
- package/dist/geneExpression-KPUOZ4PT.js +309 -0
- package/dist/geneExpression-P2TTZXN2.js +29 -0
- package/dist/geneExpression.unit.spec-Q5D6XHUF.js +151 -0
- package/dist/geneORA-PKUIJKTL.js +269 -0
- package/dist/geneRanking-ZGT5MHBV.js +544 -0
- package/dist/geneVariant-24YNANTT.js +289 -0
- package/dist/geneVariant-CDGENHWQ.js +32 -0
- package/dist/geneVariant.integration.spec-7QW4C2WO.js +672 -0
- package/dist/genefusion.ui-NVXGSBXD.js +299 -0
- package/dist/geneset-7STL6UDD.js +199 -0
- package/dist/genomeBrowser.spec-OE2CIP7I.js +272 -0
- package/dist/grin2-2HXUIY5O.js +66 -0
- package/dist/grin2-32IIJR5E.js +945 -0
- package/dist/hierCluster-MDZEI2KB.js +51 -0
- package/dist/hierCluster-T3PZUGBI.js +55 -0
- package/dist/hierCluster.config-7UN6AYGB.js +32 -0
- package/dist/hierCluster.integration.spec-DWOYVK6T.js +479 -0
- package/dist/hierCluster.interactivity-5OM6XNFG.js +45 -0
- package/dist/hierCluster.renderers-YGX6MZZW.js +18 -0
- package/dist/imagePlot-KBRXDV5G.js +152 -0
- package/dist/importPlot-DJMIC22L.js +8 -0
- package/dist/isoformExpression-SWDWADRC.js +31 -0
- package/dist/isoformExpression.unit.spec-2U5KCYBP.js +233 -0
- package/dist/junction-NMXVVGRG.js +32 -0
- package/dist/junction.customTerm-3R2GNE3A.js +15 -0
- package/dist/junction.unit.spec-JTGBPPN7.js +178 -0
- package/dist/launch.adhoc-YB5SKMNY.js +33 -0
- package/dist/leftlabel.sample-QKXIODCS.js +253 -0
- package/dist/lollipop-TSZ62PBH.js +162 -0
- package/dist/maf-4L5YN4CG.js +451 -0
- package/dist/maftimeline-VOYB3NY3.js +583 -0
- package/dist/matrix-IWJECVTF.js +55 -0
- package/dist/matrix-MMJAJZA7.js +50 -0
- package/dist/matrix.cells-5RTZUJVN.js +25 -0
- package/dist/matrix.config-DZGOZWJS.js +33 -0
- package/dist/matrix.data-Y5TPRGMW.js +22 -0
- package/dist/matrix.groups-6DXCAY4P.js +25 -0
- package/dist/matrix.integration.spec-2N237E7T.js +3156 -0
- package/dist/matrix.interactivity-FL33UUKR.js +33 -0
- package/dist/matrix.layout-7SYHV3KJ.js +35 -0
- package/dist/matrix.legend-S3E76TVO.js +19 -0
- package/dist/matrix.renderers-3SIBT2RP.js +30 -0
- package/dist/matrix.serieses-3UGLZW25.js +18 -0
- package/dist/matrix.sort-A7CNLDUJ.js +25 -0
- package/dist/matrix.sort.unit.spec-L3H44T6I.js +464 -0
- package/dist/matrix.sorterUi-6PZR3YOD.js +15 -0
- package/dist/matrix.sorterUi.unit.spec-2NRU5UFH.js +334 -0
- package/dist/matrix.unit.spec-HRZIJB6T.js +146 -0
- package/dist/mavb-ZVRQSDPS.js +726 -0
- package/dist/mds.fimo-ZKETTET7.js +509 -0
- package/dist/mds.samplescatterplot-ZV3UNRLP.js +1545 -0
- package/dist/mds.survivalplot-OVXZRTU4.js +472 -0
- package/dist/multivalue-6BE5IA4F.js +79 -0
- package/dist/numericDictTermCluster-6XDVVWLE.js +62 -0
- package/dist/oncomatrix-XK62NEOO.js +286 -0
- package/dist/oncomatrix.spec-YVTCHOPS.js +439 -0
- package/dist/plot.2dvaf-NUOBWMNX.js +368 -0
- package/dist/plot.app-G6IQWXTV.js +32 -0
- package/dist/plot.barplot-6QJ6HEJR.js +93 -0
- package/dist/plot.boxplot-XKQJSW2O.js +142 -0
- package/dist/plot.brainImaging-UTHFJFXU.js +51 -0
- package/dist/plot.disco-3MSCX7TM.js +98 -0
- package/dist/plot.ssgq-4KBVHF42.js +130 -0
- package/dist/plot.vaf2cov-OGUQSSDS.js +249 -0
- package/dist/polar2-V7M56GTZ.js +228 -0
- package/dist/profileForms-TS3BJLHH.js +937 -0
- package/dist/profilePlot-DP5272HR.js +45 -0
- package/dist/proteinView-K4K4SP3L.js +1346 -0
- package/dist/proteomeCohortCompare-SFWVGLFK.js +866 -0
- package/dist/pseudbulk.unit.spec-NFOA7J2C.js +82 -0
- package/dist/pseudobulk-XKZQEZ4I.js +31 -0
- package/dist/qualitative-7OSFNVI5.js +241 -0
- package/dist/qualitative-OIIN6E4Y.js +34 -0
- package/dist/radar2-AHZJKX7S.js +323 -0
- package/dist/radarFacility2-OUW6D5E7.js +331 -0
- package/dist/rememberedGvQ.unit.spec-SHTMMZGG.js +210 -0
- package/dist/render-7UZSGX3Q.js +29 -0
- package/dist/report-J7HKTXZ2.js +213 -0
- package/dist/sampleView-6547OUIM.js +39 -0
- package/dist/samplelst-UHF23UEB.js +114 -0
- package/dist/samplematrix-OOKS3TMR.js +2188 -0
- package/dist/sc-WF2BLGNG.js +77 -0
- package/dist/scatter-ABCVFGRV.js +84 -0
- package/dist/scatter-WF7XM3IA.js +919 -0
- package/dist/selectGenomeWithTklst-67HU5KRB.js +125 -0
- package/dist/singleCellCellType-3FZPJ25V.js +29 -0
- package/dist/singleCellCellType.unit.spec-TOMREHWK.js +150 -0
- package/dist/singleCellGeneExpression-NQTJ5KJQ.js +29 -0
- package/dist/singleCellGeneExpression.unit.spec-ZWUQTU2N.js +144 -0
- package/dist/singleCellNumericValue-VI7H722L.js +29 -0
- package/dist/singleCellNumericValue.unit.spec-QGLHES7H.js +412 -0
- package/dist/singleCellPlot-RU5T6SJK.js +44 -0
- package/dist/singlecell-C3CJVNXP.js +1562 -0
- package/dist/singlecell-NRQZ7KC6.js +77 -0
- package/dist/snp-X6XY65VS.js +29 -0
- package/dist/snp.unit.spec-6EENK7GQ.js +167 -0
- package/dist/snplocus-R4JA6TFT.js +200 -0
- package/dist/snplst-SOWVHSXH.js +36 -0
- package/dist/spliceevent.a53ss.diagram-IRLCCVQZ.js +142 -0
- package/dist/spliceevent.exonskip.diagram-4KG7LE5D.js +274 -0
- package/dist/spliceevent.noeventdiagram-OWXAJJX7.js +451 -0
- package/dist/ssGSEA-EMOKPLMP.js +29 -0
- package/dist/ssGSEA.unit.spec-KXQ7R5WH.js +79 -0
- package/dist/stattable-H2G7MOZG.js +112 -0
- package/dist/studyCatalog-3ITQXWFL.js +457 -0
- package/dist/summarizeCnvGeneexp-ZIPU6YDY.js +154 -0
- package/dist/summarizeGeneexpSurvival-3RYU226R.js +101 -0
- package/dist/summarizeMutationCnv-RGDBUB22.js +155 -0
- package/dist/summarizeMutationDiagnosis-Z4MZE6Y4.js +31 -0
- package/dist/summarizeMutationSurvival-Z5CNRH7E.js +95 -0
- package/dist/summary-6QQCNX3B.js +40 -0
- package/dist/summary.integration.spec-3ULXTZUP.js +405 -0
- package/dist/summaryInput-4QKR34QB.js +238 -0
- package/dist/sunburst-KB3BWC72.js +34 -0
- package/dist/sunburst-XTFBHZNH.js +274 -0
- package/dist/survival-7O6ZK63E.js +49 -0
- package/dist/survival-NNCY4K6C.js +1248 -0
- package/dist/survival.integration.spec-ZYZHZAXA.js +609 -0
- package/dist/svgraph-ZLSFFEAC.js +1377 -0
- package/dist/svmr-REBBDEYM.js +3834 -0
- package/dist/swimmer-NUBRIWLI.js +993 -0
- package/dist/swimmer-NUBRIWLI.js.map +7 -0
- package/dist/table-CWIQQESJ.js +192 -0
- package/dist/termCollection-7TYJSQ45.js +29 -0
- package/dist/termCollection-7Z55QNL7.js +247 -0
- package/dist/termCollection.unit.spec-LQ5MIBDH.js +295 -0
- package/dist/termCollectionFractionSelection-24DZYVDU.js +38 -0
- package/dist/termCollectionFractionSelection.unit.spec-DCV2CFS5.js +184 -0
- package/dist/tk-2WZFPRCP.js +37 -0
- package/dist/tk-QTLEYIP7.js +1193 -0
- package/dist/tk-QTLEYIP7.js.map +7 -0
- package/dist/tp.ui-HXQX2UH4.js +1453 -0
- package/dist/tvs.categorical-4D3JI2ER.js +28 -0
- package/dist/tvs.condition-62FXFHZ5.js +160 -0
- package/dist/tvs.density-IGO4I4T2.js +19 -0
- package/dist/tvs.dt-FZSVMJOO.js +34 -0
- package/dist/tvs.dtcnv.categorical-PPFQIC42.js +31 -0
- package/dist/tvs.dtcnv.continuous-TV2IGHY4.js +72 -0
- package/dist/tvs.dtfusion-ON4BA4XJ.js +31 -0
- package/dist/tvs.dtitd-VFNROOWQ.js +31 -0
- package/dist/tvs.dtsnvindel-ZXOP37T5.js +31 -0
- package/dist/tvs.dtsv-EUHPTW7J.js +31 -0
- package/dist/tvs.multivalue-NHVXZNDI.js +84 -0
- package/dist/tvs.numeric-FPWDPO3J.js +32 -0
- package/dist/tvs.samplelst-ZZHRNUP4.js +95 -0
- package/dist/tvs.survival-F3KSG3U6.js +110 -0
- package/dist/tvs.termCollection-B37DZLDY.js +118 -0
- package/dist/vocabulary-XNE5FFDK.js +32 -0
- package/dist/vocabulary-XNE5FFDK.js.map +7 -0
- package/dist/wsi.direct-3YH3QGQD.js +11514 -0
- package/package.json +4 -4
- package/dist/2dmaf-O2SQ5RGD.js +0 -1362
- package/dist/AggMatrixInput-LUCTWXHU.js +0 -402
- package/dist/AggregateMatrix-JVMF27YL.js +0 -37
- package/dist/AppHeader-DJU6HRKO.js +0 -826
- package/dist/BoxPlot-22RXMPRL.js +0 -1229
- package/dist/CorrelationVolcano-PBZWPFSN.js +0 -613
- package/dist/Cuminc-EL74X5GY.js +0 -1217
- package/dist/DE-W5SAMMRW.js +0 -85
- package/dist/DEinput-ZKEFJZQU.js +0 -479
- package/dist/DM-ABKDXMDG.js +0 -86
- package/dist/DifferentialAnalysis-3JTZ5WCQ.js +0 -236
- package/dist/Disco-ME53U25C.js +0 -3384
- package/dist/Disco.UI-F7XKJMKR.js +0 -239
- package/dist/DmrPlot-OWBXUTON.js +0 -361
- package/dist/GB-7X6DBWKS.js +0 -1388
- package/dist/GSEA-GAZIEGD7.js +0 -870
- package/dist/GeneExpInput-BAOC6ICV.js +0 -38
- package/dist/Geomap-OZERLL7V.js +0 -80
- package/dist/HicApp-WDH5LVTD.js +0 -2240
- package/dist/IDCViewer-XBZFU3BU.js +0 -10808
- package/dist/NumBinaryEditor-5R4EUQOZ.js +0 -274
- package/dist/NumBinaryEditor.unit.spec-ULBXMOYY.js +0 -308
- package/dist/NumContEditor-EN6V4FLQ.js +0 -100
- package/dist/NumContEditor.unit.spec-VDWKNIFN.js +0 -160
- package/dist/NumCustomBinEditor-UB34ALNZ.js +0 -29
- package/dist/NumCustomBinEditor.unit.spec-WZXJ7GEC.js +0 -393
- package/dist/NumDiscreteEditor-H6J67YEL.js +0 -165
- package/dist/NumDiscreteEditor.unit.spec-KJ7YU22W.js +0 -229
- package/dist/NumRegularBinEditor-R5JVUG7J.js +0 -29
- package/dist/NumRegularBinEditor.unit.spec-RZ73FMNO.js +0 -274
- package/dist/NumSplineEditor-AOR6OAJA.js +0 -205
- package/dist/NumSplineEditor.unit.spec-Z6ZEI3UO.js +0 -220
- package/dist/NumericDensity-SRTFTDQA.js +0 -29
- package/dist/NumericDensity.unit.spec-MRREBAYU.js +0 -414
- package/dist/NumericHandler-7RALUACA.js +0 -30
- package/dist/NumericHandler.unit.spec-MDO23WRB.js +0 -225
- package/dist/ProteomeInput-MOBXHRD5.js +0 -610
- package/dist/Regression-XWT4NNTG.js +0 -1412
- package/dist/RunChart2-Q7W5MWJS.js +0 -744
- package/dist/SC-MM3JTEVL.js +0 -1290
- package/dist/Violin-XNTBDUPG.js +0 -1092
- package/dist/Volcano-GRKXU3WL.js +0 -2619
- package/dist/Volcano-GRKXU3WL.js.map +0 -7
- package/dist/Wsi-22KJSFVH.js +0 -636
- package/dist/adSandbox-TLYWQOOA.js +0 -29
- package/dist/animatedBubbleChart-67SY5JGP.js +0 -542
- package/dist/app-FG3KPE4R.js +0 -28
- package/dist/app-VK5LYO6B.js +0 -38
- package/dist/bam-TNLNISLV.js +0 -872
- package/dist/bam-TNLNISLV.js.map +0 -7
- package/dist/barchart-IGWRVB6W.js +0 -38
- package/dist/barchart2-TT6OBJJP.js +0 -305
- package/dist/block-5PV2TYWJ.js +0 -6232
- package/dist/block-5PV2TYWJ.js.map +0 -7
- package/dist/block.init-2Y6CNK7H.js +0 -29
- package/dist/block.mds.expressionrank-VZ4JVPTG.js +0 -350
- package/dist/block.mds.geneboxplot-NYMS32JP.js +0 -819
- package/dist/block.mds.junction-3R6C3B5W.js +0 -1534
- package/dist/block.mds.svcnv-SO5CYYIQ.js +0 -6413
- package/dist/block.svg-R4ASXXNW.js +0 -155
- package/dist/block.tk.aicheck-LYRTDZRA.js +0 -274
- package/dist/block.tk.bam-GR7CHGGQ.js +0 -1897
- package/dist/block.tk.bam-GR7CHGGQ.js.map +0 -7
- package/dist/block.tk.bedgraphdot-GERXK2O6.js +0 -375
- package/dist/block.tk.bedgraphdot-GERXK2O6.js.map +0 -7
- package/dist/block.tk.bigwig.ui-3KMMZX2M.js +0 -202
- package/dist/block.tk.hicstraw-7HH4PGFY.js +0 -814
- package/dist/block.tk.junction-BPEKLYS2.js +0 -2353
- package/dist/block.tk.junction.textmatrixui-2QU5DL2X.js +0 -190
- package/dist/block.tk.ld-TJREYPNY.js +0 -90
- package/dist/block.tk.menu-HDBZK4YP.js +0 -1050
- package/dist/block.tk.pgv-G5GCYBK2.js +0 -934
- package/dist/brainImaging-ODWHF7WZ.js +0 -550
- package/dist/brainRegions-DC7DEA7N.js +0 -213
- package/dist/bubbleHeatmap-T5ACULRL.js +0 -374
- package/dist/cellTypeBubbleHeatmap-RQINXXTK.js +0 -274
- package/dist/chunk-24ZS2XWC.js +0 -176
- package/dist/chunk-2EPEWVKQ.js +0 -4378
- package/dist/chunk-2EPEWVKQ.js.map +0 -7
- package/dist/chunk-2PHFY3VP.js +0 -195
- package/dist/chunk-2QFMKWNS.js +0 -281
- package/dist/chunk-2UB6JZ3I.js +0 -466
- package/dist/chunk-3GQ54XTJ.js +0 -70
- package/dist/chunk-3IE6FDVA.js +0 -1253
- package/dist/chunk-4ENIOXIT.js +0 -133
- package/dist/chunk-4OOQ52ET.js +0 -182
- package/dist/chunk-5NI77Z3O.js +0 -119
- package/dist/chunk-5TPWMYBG.js +0 -274
- package/dist/chunk-64JHE3GV.js +0 -50
- package/dist/chunk-6MUJGVOH.js +0 -140
- package/dist/chunk-6XKAOSQE.js +0 -116
- package/dist/chunk-6XKAOSQE.js.map +0 -7
- package/dist/chunk-6YGSVJJD.js +0 -54
- package/dist/chunk-7PQVNQFR.js +0 -255
- package/dist/chunk-7XW4JWMJ.js +0 -170
- package/dist/chunk-7ZEJKFGW.js +0 -55
- package/dist/chunk-A6ZUYQHO.js +0 -159
- package/dist/chunk-ALIMVUHR.js +0 -1219
- package/dist/chunk-ANBGNYNP.js +0 -1339
- package/dist/chunk-ATZNXW5F.js +0 -237
- package/dist/chunk-AUPTEHV7.js +0 -257
- package/dist/chunk-B2KYLEYM.js +0 -30
- package/dist/chunk-BJCET6RU.js +0 -263
- package/dist/chunk-BKW35Z4U.js +0 -26619
- package/dist/chunk-BKW35Z4U.js.map +0 -7
- package/dist/chunk-CJHNPYFQ.js +0 -2292
- package/dist/chunk-CJHNPYFQ.js.map +0 -7
- package/dist/chunk-CTVPW77S.js +0 -194
- package/dist/chunk-D6U65W7Q.js +0 -626
- package/dist/chunk-DJMDETVU.js +0 -2685
- package/dist/chunk-DKPAOVJH.js +0 -243
- package/dist/chunk-DRESQF33.js +0 -38
- package/dist/chunk-DXM5MQCZ.js +0 -382
- package/dist/chunk-ETXOEP4N.js +0 -184
- package/dist/chunk-FOUMNTII.js +0 -134
- package/dist/chunk-FTGLS763.js +0 -56
- package/dist/chunk-GN2A5NL5.js +0 -472
- package/dist/chunk-GWNCQ5YI.js +0 -468
- package/dist/chunk-GX6G2SSW.js +0 -26
- package/dist/chunk-H3YF55ZI.js +0 -848
- package/dist/chunk-IANE75G3.js +0 -444
- package/dist/chunk-IKZQST6E.js +0 -5213
- package/dist/chunk-IPRYYK26.js +0 -96
- package/dist/chunk-JL3PYV5F.js +0 -6375
- package/dist/chunk-K6VYSDB5.js +0 -276
- package/dist/chunk-KSS26PXB.js +0 -54
- package/dist/chunk-LO2QBHP6.js +0 -418
- package/dist/chunk-LO2QBHP6.js.map +0 -7
- package/dist/chunk-LSRFRZNP.js +0 -59
- package/dist/chunk-LYX4S6WA.js +0 -266
- package/dist/chunk-ME3HB3V6.js +0 -5787
- package/dist/chunk-ME3HB3V6.js.map +0 -7
- package/dist/chunk-MP7BA3GK.js +0 -14
- package/dist/chunk-MVSUESEV.js +0 -141
- package/dist/chunk-NQMS7WV3.js +0 -2799
- package/dist/chunk-NR6WFCPF.js +0 -348
- package/dist/chunk-NS2MZN3C.js +0 -562
- package/dist/chunk-NUA66GW7.js +0 -37
- package/dist/chunk-NYEFSOKD.js +0 -550
- package/dist/chunk-OVHQFZAE.js +0 -34
- package/dist/chunk-OVHQFZAE.js.map +0 -7
- package/dist/chunk-QM724EG2.js +0 -103
- package/dist/chunk-RIL33JCW.js +0 -102
- package/dist/chunk-RJAJG5KN.js +0 -2954
- package/dist/chunk-RJAJG5KN.js.map +0 -7
- package/dist/chunk-SLHXR4BZ.js +0 -82
- package/dist/chunk-SO76DLSZ.js +0 -299
- package/dist/chunk-T7CKGRGP.js +0 -398
- package/dist/chunk-T7CKGRGP.js.map +0 -7
- package/dist/chunk-TUO5I6LP.js +0 -123
- package/dist/chunk-TWTPWEYL.js +0 -240
- package/dist/chunk-U2GHNZ4N.js +0 -54
- package/dist/chunk-UAB5PGOP.js +0 -56
- package/dist/chunk-UCB3W3OT.js +0 -217
- package/dist/chunk-UJIB7QM3.js +0 -2334
- package/dist/chunk-UYQGTW7I.js +0 -1857
- package/dist/chunk-UYQGTW7I.js.map +0 -7
- package/dist/chunk-VBDJG6GZ.js +0 -2008
- package/dist/chunk-VOXUMZMG.js +0 -379
- package/dist/chunk-WCNMP54T.js +0 -516
- package/dist/chunk-WETOH7YW.js +0 -692
- package/dist/chunk-WKGKKM6F.js +0 -480
- package/dist/chunk-WV44DGEJ.js +0 -397
- package/dist/chunk-XVEEMQAT.js +0 -31
- package/dist/chunk-YBOHXANC.js +0 -302
- package/dist/chunk-YNQFOPS6.js +0 -203
- package/dist/chunk-YVQ4USPP.js +0 -340
- package/dist/chunk-ZWLT5QS3.js +0 -102
- package/dist/chunk-ZYAZHJPZ.js +0 -296
- package/dist/cohort-QSLKB4ZO.js +0 -66
- package/dist/cohortSunburst-AQFSNJ5K.js +0 -402
- package/dist/condition-MLS6TJHV.js +0 -323
- package/dist/controls-ZT3GZ667.js +0 -30
- package/dist/controls.config-F7NIPLKB.js +0 -30
- package/dist/correlation-ZEIQJGSQ.js +0 -91
- package/dist/customdata.inputui-6PJSAJK2.js +0 -280
- package/dist/dataDownload-CHMPXHBY.js +0 -325
- package/dist/dataDownload-CHMPXHBY.js.map +0 -7
- package/dist/databrowser.ui-EMZ5L2Y7.js +0 -421
- package/dist/dictionary-U2BWGY6B.js +0 -109
- package/dist/dnaMethylation-R34E2XNC.js +0 -29
- package/dist/dnaMethylation.integration.spec-4Z2AJHWY.js +0 -194
- package/dist/dofetch-JY4A7BYI.js +0 -47
- package/dist/e2pca-WSSCXX6A.js +0 -340
- package/dist/ep-ATUWEHDJ.js +0 -1247
- package/dist/expclust.gdc.spec-QRIRRPO7.js +0 -298
- package/dist/facet-5VDCSP3S.js +0 -556
- package/dist/gb-Y4UG6LFA.js +0 -77
- package/dist/geneExpClustering-OO67JNJ2.js +0 -240
- package/dist/geneExpression-5KGV3MAA.js +0 -29
- package/dist/geneExpression-KPRFXKU7.js +0 -309
- package/dist/geneExpression.unit.spec-YV45EZ5O.js +0 -151
- package/dist/geneORA-R74JPUTC.js +0 -269
- package/dist/geneRanking-IJTXNMHV.js +0 -544
- package/dist/geneVariant-HBAHT6LU.js +0 -32
- package/dist/geneVariant-JT3EGAIH.js +0 -289
- package/dist/geneVariant.integration.spec-TFQYPUAS.js +0 -672
- package/dist/genefusion.ui-MMTQMTHC.js +0 -299
- package/dist/geneset-VMBICNCZ.js +0 -199
- package/dist/genomeBrowser.spec-2XLLIYGA.js +0 -272
- package/dist/grin2-2RYPEUWV.js +0 -66
- package/dist/grin2-Y6KAFVV2.js +0 -945
- package/dist/hierCluster-EKGFBQT4.js +0 -51
- package/dist/hierCluster-Z4PVNMGS.js +0 -55
- package/dist/hierCluster.config-Q6WUNK2K.js +0 -32
- package/dist/hierCluster.integration.spec-2LHSHNFC.js +0 -479
- package/dist/hierCluster.interactivity-OGQ3KUY6.js +0 -45
- package/dist/hierCluster.renderers-3GJZXG75.js +0 -18
- package/dist/imagePlot-ZJEZPBX7.js +0 -152
- package/dist/importPlot-GFEFYEHZ.js +0 -8
- package/dist/isoformExpression-A2X3DSR6.js +0 -31
- package/dist/isoformExpression.unit.spec-VKMEGCL4.js +0 -233
- package/dist/junction-HWIHLQU2.js +0 -32
- package/dist/junction.customTerm-C3VWXEYH.js +0 -15
- package/dist/junction.unit.spec-ZYJGDOXJ.js +0 -178
- package/dist/launch.adhoc-HW5AZM4T.js +0 -33
- package/dist/leftlabel.sample-MTW2HRRQ.js +0 -253
- package/dist/lollipop-VWW5H6CR.js +0 -162
- package/dist/maf-KEJYO3H4.js +0 -451
- package/dist/maftimeline-MJZDSGSR.js +0 -583
- package/dist/matrix-3UJW6LOA.js +0 -50
- package/dist/matrix-W4AX5OBM.js +0 -55
- package/dist/matrix.cells-5DAIZ3E5.js +0 -25
- package/dist/matrix.config-PK26VPQT.js +0 -33
- package/dist/matrix.data-UK5DGKBK.js +0 -22
- package/dist/matrix.groups-NM4Q5YDN.js +0 -25
- package/dist/matrix.integration.spec-FGWNBCRR.js +0 -3156
- package/dist/matrix.interactivity-4C37PII5.js +0 -33
- package/dist/matrix.layout-ODV7WXUP.js +0 -35
- package/dist/matrix.legend-5MY7OXWN.js +0 -19
- package/dist/matrix.renderers-QA7W7ZUL.js +0 -30
- package/dist/matrix.serieses-4FSFJPCK.js +0 -18
- package/dist/matrix.sort-3QLFMBJ5.js +0 -25
- package/dist/matrix.sort.unit.spec-HVOC6IYT.js +0 -464
- package/dist/matrix.sorterUi-EY3SA6CG.js +0 -15
- package/dist/matrix.sorterUi.unit.spec-OAXWPZZI.js +0 -334
- package/dist/matrix.unit.spec-RAL7AU22.js +0 -146
- package/dist/mavb-KIM63AC4.js +0 -726
- package/dist/mds.fimo-DMAVM56P.js +0 -509
- package/dist/mds.samplescatterplot-KILTR2C7.js +0 -1545
- package/dist/mds.survivalplot-PV76ANBP.js +0 -472
- package/dist/multivalue-2V5LMQY7.js +0 -79
- package/dist/numericDictTermCluster-TGL4X6UC.js +0 -62
- package/dist/oncomatrix-2O7SLXHX.js +0 -286
- package/dist/oncomatrix.spec-HZJKOF5G.js +0 -439
- package/dist/plot.2dvaf-424NNMMA.js +0 -368
- package/dist/plot.app-YBZDNST2.js +0 -32
- package/dist/plot.barplot-YZQBYJUY.js +0 -93
- package/dist/plot.boxplot-5OW6IBQL.js +0 -142
- package/dist/plot.brainImaging-H3ABPPD3.js +0 -51
- package/dist/plot.disco-X7KCDWGX.js +0 -98
- package/dist/plot.ssgq-GYRVHTC7.js +0 -130
- package/dist/plot.vaf2cov-B2TELPHL.js +0 -249
- package/dist/polar2-5KNZRLXY.js +0 -228
- package/dist/profileForms-FY34KXCL.js +0 -937
- package/dist/profilePlot-3FX2TPYC.js +0 -45
- package/dist/proteinView-WSEO3LD3.js +0 -1346
- package/dist/proteomeCohortCompare-KA2DF3EE.js +0 -866
- package/dist/pseudbulk.unit.spec-AT3TFCOW.js +0 -82
- package/dist/pseudobulk-4ZRHUC7W.js +0 -31
- package/dist/qualitative-3OBGJRP6.js +0 -241
- package/dist/qualitative-FHJD44OA.js +0 -34
- package/dist/radar2-X757WR6V.js +0 -323
- package/dist/radarFacility2-GUBAK4Y3.js +0 -331
- package/dist/rememberedGvQ.unit.spec-ADO4Y2OE.js +0 -210
- package/dist/render-MZEPNEMU.js +0 -29
- package/dist/report-TUAFDGAE.js +0 -213
- package/dist/sampleView-X6YKCBE7.js +0 -39
- package/dist/samplelst-UPNRALBH.js +0 -114
- package/dist/samplematrix-W3HZK3IS.js +0 -2188
- package/dist/sc-UL7233UR.js +0 -77
- package/dist/scatter-FTJ77NUM.js +0 -919
- package/dist/scatter-VQQRIW6N.js +0 -84
- package/dist/selectGenomeWithTklst-HPYPSPFI.js +0 -125
- package/dist/singleCellCellType-XTKGOH6H.js +0 -29
- package/dist/singleCellCellType.unit.spec-A62GT72A.js +0 -150
- package/dist/singleCellGeneExpression-X7H5GTU3.js +0 -29
- package/dist/singleCellGeneExpression.unit.spec-2KQBHG7O.js +0 -144
- package/dist/singleCellNumericValue-6YS42PZ2.js +0 -29
- package/dist/singleCellNumericValue.unit.spec-DNVXQFKI.js +0 -412
- package/dist/singleCellPlot-MGOQ7EQV.js +0 -44
- package/dist/singlecell-CIOB5XON.js +0 -77
- package/dist/singlecell-QW3SLQD6.js +0 -1562
- package/dist/snp-6B4MIPKL.js +0 -29
- package/dist/snp.unit.spec-HNILS56E.js +0 -167
- package/dist/snplocus-DDFLYZ2Y.js +0 -200
- package/dist/snplst-JYKOV73J.js +0 -36
- package/dist/spliceevent.a53ss.diagram-IBD5ITXR.js +0 -142
- package/dist/spliceevent.exonskip.diagram-ZJGEVUYW.js +0 -274
- package/dist/spliceevent.noeventdiagram-RNLNTFOW.js +0 -451
- package/dist/ssGSEA-42VQLAXL.js +0 -29
- package/dist/ssGSEA.unit.spec-FBJANIKG.js +0 -79
- package/dist/stattable-FROSNTJY.js +0 -112
- package/dist/studyCatalog-XIYNJ24U.js +0 -457
- package/dist/summarizeCnvGeneexp-N3OFI24L.js +0 -154
- package/dist/summarizeGeneexpSurvival-J4DO2AL4.js +0 -101
- package/dist/summarizeMutationCnv-Y43BBSI4.js +0 -155
- package/dist/summarizeMutationDiagnosis-JAEAUFCA.js +0 -31
- package/dist/summarizeMutationSurvival-4QZDDXDV.js +0 -95
- package/dist/summary-DTJZ7NNA.js +0 -40
- package/dist/summary.integration.spec-HRRE3J45.js +0 -405
- package/dist/summaryInput-WCADUZBK.js +0 -238
- package/dist/sunburst-BGXSCB63.js +0 -274
- package/dist/sunburst-DSFFFP33.js +0 -504
- package/dist/sunburst-DSFFFP33.js.map +0 -7
- package/dist/survival-LFXQIWRT.js +0 -49
- package/dist/survival-ONWZ5RFM.js +0 -1248
- package/dist/survival.integration.spec-ZP7XWHQH.js +0 -609
- package/dist/svgraph-2SL2SJVU.js +0 -1377
- package/dist/svmr-ONIPMLC2.js +0 -3834
- package/dist/swimmer-2EJZH5PP.js +0 -785
- package/dist/swimmer-2EJZH5PP.js.map +0 -7
- package/dist/table-LLCFO4KK.js +0 -192
- package/dist/termCollection-DAHJGR5P.js +0 -247
- package/dist/termCollection-QIN53TIL.js +0 -29
- package/dist/termCollection.unit.spec-FQOX2IVP.js +0 -295
- package/dist/termCollectionFractionSelection-UKEVVZXL.js +0 -38
- package/dist/termCollectionFractionSelection.unit.spec-URGEYBU2.js +0 -184
- package/dist/tk-4PYQ6WJQ.js +0 -1116
- package/dist/tk-4PYQ6WJQ.js.map +0 -7
- package/dist/tk-GM7CJ2LU.js +0 -37
- package/dist/tp.ui-TRUHW6GP.js +0 -1453
- package/dist/tvs.categorical-IY6YSFVN.js +0 -28
- package/dist/tvs.condition-YTD7GOPW.js +0 -160
- package/dist/tvs.density-CB24PXDE.js +0 -19
- package/dist/tvs.dt-AQQIZD5Z.js +0 -34
- package/dist/tvs.dtcnv.categorical-WOAOGJSW.js +0 -31
- package/dist/tvs.dtcnv.continuous-TJBEPJGO.js +0 -72
- package/dist/tvs.dtfusion-SFMZQKKU.js +0 -31
- package/dist/tvs.dtitd-Q5RQTCLD.js +0 -31
- package/dist/tvs.dtsnvindel-UEK4O6WI.js +0 -31
- package/dist/tvs.dtsv-ECS4KEYG.js +0 -31
- package/dist/tvs.multivalue-CJIZ3I54.js +0 -84
- package/dist/tvs.numeric-UFAOJR2B.js +0 -32
- package/dist/tvs.samplelst-BVFY2P7Q.js +0 -95
- package/dist/tvs.survival-L56B3I55.js +0 -110
- package/dist/tvs.termCollection-BFIBVBSA.js +0 -118
- package/dist/vocabulary-MTKDDDGB.js +0 -32
- package/dist/wsi.direct-OSHY7VL4.js +0 -11514
- /package/dist/{2dmaf-O2SQ5RGD.js.map → 2dmaf-7YU3SNKL.js.map} +0 -0
- /package/dist/{AggMatrixInput-LUCTWXHU.js.map → AggMatrixInput-73CDR5FS.js.map} +0 -0
- /package/dist/{AggregateMatrix-JVMF27YL.js.map → AggregateMatrix-NNULVFBM.js.map} +0 -0
- /package/dist/{AppHeader-DJU6HRKO.js.map → AppHeader-EZDDLLXU.js.map} +0 -0
- /package/dist/{BoxPlot-22RXMPRL.js.map → BoxPlot-463E7CRY.js.map} +0 -0
- /package/dist/{CorrelationVolcano-PBZWPFSN.js.map → CorrelationVolcano-LHIIMBPP.js.map} +0 -0
- /package/dist/{Cuminc-EL74X5GY.js.map → Cuminc-UL2TCIKV.js.map} +0 -0
- /package/dist/{DE-W5SAMMRW.js.map → DE-VRFSKFDW.js.map} +0 -0
- /package/dist/{DEinput-ZKEFJZQU.js.map → DEinput-FZTQRWVC.js.map} +0 -0
- /package/dist/{DM-ABKDXMDG.js.map → DM-PO7CQZNT.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-3JTZ5WCQ.js.map → DifferentialAnalysis-WK6HE3YH.js.map} +0 -0
- /package/dist/{Disco-ME53U25C.js.map → Disco-YBNQJQFG.js.map} +0 -0
- /package/dist/{Disco.UI-F7XKJMKR.js.map → Disco.UI-HC5XYBFV.js.map} +0 -0
- /package/dist/{DmrPlot-OWBXUTON.js.map → DmrPlot-7VJ5C66D.js.map} +0 -0
- /package/dist/{GB-7X6DBWKS.js.map → GB-VPFQRDRO.js.map} +0 -0
- /package/dist/{GSEA-GAZIEGD7.js.map → GSEA-ZEJB3QZQ.js.map} +0 -0
- /package/dist/{GeneExpInput-BAOC6ICV.js.map → GeneExpInput-SBDDIY6G.js.map} +0 -0
- /package/dist/{Geomap-OZERLL7V.js.map → Geomap-23AHGP2V.js.map} +0 -0
- /package/dist/{HicApp-WDH5LVTD.js.map → HicApp-7AQQE4CM.js.map} +0 -0
- /package/dist/{IDCViewer-XBZFU3BU.js.map → IDCViewer-NO5Q6VOB.js.map} +0 -0
- /package/dist/{NumBinaryEditor-5R4EUQOZ.js.map → NumBinaryEditor-DSRP4OOU.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-ULBXMOYY.js.map → NumBinaryEditor.unit.spec-TT666YL4.js.map} +0 -0
- /package/dist/{NumContEditor-EN6V4FLQ.js.map → NumContEditor-6CURFOCH.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-VDWKNIFN.js.map → NumContEditor.unit.spec-MNVCFCMP.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-UB34ALNZ.js.map → NumCustomBinEditor-SQRR5EFL.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-WZXJ7GEC.js.map → NumCustomBinEditor.unit.spec-F7BZWGGT.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-H6J67YEL.js.map → NumDiscreteEditor-U7Z2QNYP.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-KJ7YU22W.js.map → NumDiscreteEditor.unit.spec-EIEBUZCX.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-R5JVUG7J.js.map → NumRegularBinEditor-CVZSWN6Y.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-RZ73FMNO.js.map → NumRegularBinEditor.unit.spec-ZMAJOIHL.js.map} +0 -0
- /package/dist/{NumSplineEditor-AOR6OAJA.js.map → NumSplineEditor-U43D5NBJ.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-Z6ZEI3UO.js.map → NumSplineEditor.unit.spec-C52AADTS.js.map} +0 -0
- /package/dist/{NumericDensity-SRTFTDQA.js.map → NumericDensity-PUKDZOVI.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-MRREBAYU.js.map → NumericDensity.unit.spec-2347S76D.js.map} +0 -0
- /package/dist/{NumericHandler-7RALUACA.js.map → NumericHandler-3RT32PTR.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-MDO23WRB.js.map → NumericHandler.unit.spec-4PADL4KZ.js.map} +0 -0
- /package/dist/{ProteomeInput-MOBXHRD5.js.map → ProteomeInput-NFV4FW4U.js.map} +0 -0
- /package/dist/{Regression-XWT4NNTG.js.map → Regression-N7M7N6G4.js.map} +0 -0
- /package/dist/{RunChart2-Q7W5MWJS.js.map → RunChart2-UPQ7C6QE.js.map} +0 -0
- /package/dist/{SC-MM3JTEVL.js.map → SC-KBW2NHUV.js.map} +0 -0
- /package/dist/{Violin-XNTBDUPG.js.map → Violin-GWCOP3ZF.js.map} +0 -0
- /package/dist/{Wsi-22KJSFVH.js.map → Wsi-NXAEOYIS.js.map} +0 -0
- /package/dist/{adSandbox-TLYWQOOA.js.map → adSandbox-RPEWEEW7.js.map} +0 -0
- /package/dist/{animatedBubbleChart-67SY5JGP.js.map → animatedBubbleChart-ILDMZRBX.js.map} +0 -0
- /package/dist/{app-FG3KPE4R.js.map → app-LOUC4J47.js.map} +0 -0
- /package/dist/{app-VK5LYO6B.js.map → app-MRKXZ6AZ.js.map} +0 -0
- /package/dist/{barchart-IGWRVB6W.js.map → barchart-CJR37234.js.map} +0 -0
- /package/dist/{barchart2-TT6OBJJP.js.map → barchart2-QQYLTHWR.js.map} +0 -0
- /package/dist/{block.init-2Y6CNK7H.js.map → block.init-YJQTJIDO.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-VZ4JVPTG.js.map → block.mds.expressionrank-GBMEI5KQ.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-NYMS32JP.js.map → block.mds.geneboxplot-XWE3E5IW.js.map} +0 -0
- /package/dist/{block.mds.junction-3R6C3B5W.js.map → block.mds.junction-QLEHFVPE.js.map} +0 -0
- /package/dist/{block.mds.svcnv-SO5CYYIQ.js.map → block.mds.svcnv-53DTOPBC.js.map} +0 -0
- /package/dist/{block.svg-R4ASXXNW.js.map → block.svg-57T37ABS.js.map} +0 -0
- /package/dist/{block.tk.aicheck-LYRTDZRA.js.map → block.tk.aicheck-6DXJTS3H.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-3KMMZX2M.js.map → block.tk.bigwig.ui-OYIVXE2L.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-7HH4PGFY.js.map → block.tk.hicstraw-UKTGEBWT.js.map} +0 -0
- /package/dist/{block.tk.junction-BPEKLYS2.js.map → block.tk.junction-ZU5KPFQ3.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-2QU5DL2X.js.map → block.tk.junction.textmatrixui-P4WXTAZR.js.map} +0 -0
- /package/dist/{block.tk.ld-TJREYPNY.js.map → block.tk.ld-3PQ4O2AE.js.map} +0 -0
- /package/dist/{block.tk.menu-HDBZK4YP.js.map → block.tk.menu-LLITB6UA.js.map} +0 -0
- /package/dist/{block.tk.pgv-G5GCYBK2.js.map → block.tk.pgv-Y3FBXUO3.js.map} +0 -0
- /package/dist/{brainImaging-ODWHF7WZ.js.map → brainImaging-4B3WXLNP.js.map} +0 -0
- /package/dist/{brainRegions-DC7DEA7N.js.map → brainRegions-7VLONUWN.js.map} +0 -0
- /package/dist/{bubbleHeatmap-T5ACULRL.js.map → bubbleHeatmap-DI6GJRR6.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-RQINXXTK.js.map → cellTypeBubbleHeatmap-HJY53DB2.js.map} +0 -0
- /package/dist/{chunk-TWTPWEYL.js.map → chunk-226MNBZ2.js.map} +0 -0
- /package/dist/{chunk-AUPTEHV7.js.map → chunk-2CNFGVHU.js.map} +0 -0
- /package/dist/{chunk-DJMDETVU.js.map → chunk-2MC3RNKA.js.map} +0 -0
- /package/dist/{chunk-2PHFY3VP.js.map → chunk-2OMX5AYB.js.map} +0 -0
- /package/dist/{chunk-64JHE3GV.js.map → chunk-2SL4QWUS.js.map} +0 -0
- /package/dist/{chunk-WETOH7YW.js.map → chunk-3KGBC5MK.js.map} +0 -0
- /package/dist/{chunk-UAB5PGOP.js.map → chunk-3PCRAPUV.js.map} +0 -0
- /package/dist/{chunk-ZWLT5QS3.js.map → chunk-4DBOMSKP.js.map} +0 -0
- /package/dist/{chunk-2UB6JZ3I.js.map → chunk-57BS6KNI.js.map} +0 -0
- /package/dist/{chunk-UJIB7QM3.js.map → chunk-5AXS5G4A.js.map} +0 -0
- /package/dist/{chunk-NS2MZN3C.js.map → chunk-5DI4UNH5.js.map} +0 -0
- /package/dist/{chunk-ATZNXW5F.js.map → chunk-5HJG6ECV.js.map} +0 -0
- /package/dist/{chunk-NYEFSOKD.js.map → chunk-5ZYANHGX.js.map} +0 -0
- /package/dist/{chunk-WV44DGEJ.js.map → chunk-6T4MN7LV.js.map} +0 -0
- /package/dist/{chunk-QM724EG2.js.map → chunk-75MRUW2K.js.map} +0 -0
- /package/dist/{chunk-7PQVNQFR.js.map → chunk-7J3W3KCN.js.map} +0 -0
- /package/dist/{chunk-4OOQ52ET.js.map → chunk-AIZYAKIE.js.map} +0 -0
- /package/dist/{chunk-VBDJG6GZ.js.map → chunk-AJNFI6GA.js.map} +0 -0
- /package/dist/{chunk-NQMS7WV3.js.map → chunk-BJAWDZBL.js.map} +0 -0
- /package/dist/{chunk-VOXUMZMG.js.map → chunk-C6PVZVIH.js.map} +0 -0
- /package/dist/{chunk-24ZS2XWC.js.map → chunk-C77X5ZUV.js.map} +0 -0
- /package/dist/{chunk-LSRFRZNP.js.map → chunk-C7KUMZQM.js.map} +0 -0
- /package/dist/{chunk-6MUJGVOH.js.map → chunk-C7ROKWV2.js.map} +0 -0
- /package/dist/{chunk-XVEEMQAT.js.map → chunk-CAH6LJ5Z.js.map} +0 -0
- /package/dist/{chunk-RIL33JCW.js.map → chunk-CUCP2GMT.js.map} +0 -0
- /package/dist/{chunk-FOUMNTII.js.map → chunk-DTGAMBRJ.js.map} +0 -0
- /package/dist/{chunk-7ZEJKFGW.js.map → chunk-DXT7GDHY.js.map} +0 -0
- /package/dist/{chunk-IKZQST6E.js.map → chunk-ENPMWVWG.js.map} +0 -0
- /package/dist/{chunk-DXM5MQCZ.js.map → chunk-EYKJQJ7R.js.map} +0 -0
- /package/dist/{chunk-B2KYLEYM.js.map → chunk-FE5TCBIT.js.map} +0 -0
- /package/dist/{chunk-UCB3W3OT.js.map → chunk-FJ2JV2VK.js.map} +0 -0
- /package/dist/{chunk-DRESQF33.js.map → chunk-FZYVPRVQ.js.map} +0 -0
- /package/dist/{chunk-5TPWMYBG.js.map → chunk-GBKQHVKJ.js.map} +0 -0
- /package/dist/{chunk-2QFMKWNS.js.map → chunk-GUW7VTUL.js.map} +0 -0
- /package/dist/{chunk-3GQ54XTJ.js.map → chunk-H7F6DMJA.js.map} +0 -0
- /package/dist/{chunk-IPRYYK26.js.map → chunk-HH3NUAR2.js.map} +0 -0
- /package/dist/{chunk-A6ZUYQHO.js.map → chunk-HRTPGNOG.js.map} +0 -0
- /package/dist/{chunk-H3YF55ZI.js.map → chunk-IFPRYTS7.js.map} +0 -0
- /package/dist/{chunk-YBOHXANC.js.map → chunk-IJSFSUI4.js.map} +0 -0
- /package/dist/{chunk-BJCET6RU.js.map → chunk-IRQKX6DL.js.map} +0 -0
- /package/dist/{chunk-GN2A5NL5.js.map → chunk-JHLF2ZC2.js.map} +0 -0
- /package/dist/{chunk-ALIMVUHR.js.map → chunk-JNZL7HKB.js.map} +0 -0
- /package/dist/{chunk-GX6G2SSW.js.map → chunk-K2ARLT2A.js.map} +0 -0
- /package/dist/{chunk-SO76DLSZ.js.map → chunk-K3G56J5R.js.map} +0 -0
- /package/dist/{chunk-WCNMP54T.js.map → chunk-KKUCG2QE.js.map} +0 -0
- /package/dist/{chunk-D6U65W7Q.js.map → chunk-KPXCXBNU.js.map} +0 -0
- /package/dist/{chunk-6YGSVJJD.js.map → chunk-MANAUI7R.js.map} +0 -0
- /package/dist/{chunk-7XW4JWMJ.js.map → chunk-MEUSRAOE.js.map} +0 -0
- /package/dist/{chunk-NR6WFCPF.js.map → chunk-MHWYRNGA.js.map} +0 -0
- /package/dist/{chunk-MP7BA3GK.js.map → chunk-MSTYU3QO.js.map} +0 -0
- /package/dist/{chunk-MVSUESEV.js.map → chunk-MWARRQT4.js.map} +0 -0
- /package/dist/{chunk-YNQFOPS6.js.map → chunk-MXKYPTZ7.js.map} +0 -0
- /package/dist/{chunk-NUA66GW7.js.map → chunk-NX5IB4IY.js.map} +0 -0
- /package/dist/{chunk-4ENIOXIT.js.map → chunk-OZUF7O2S.js.map} +0 -0
- /package/dist/{chunk-SLHXR4BZ.js.map → chunk-QNCE6EOK.js.map} +0 -0
- /package/dist/{chunk-5NI77Z3O.js.map → chunk-RIHO7ZD5.js.map} +0 -0
- /package/dist/{chunk-LYX4S6WA.js.map → chunk-RV335DF2.js.map} +0 -0
- /package/dist/{chunk-3IE6FDVA.js.map → chunk-THAUD62Q.js.map} +0 -0
- /package/dist/{chunk-JL3PYV5F.js.map → chunk-VBTBUXXX.js.map} +0 -0
- /package/dist/{chunk-FTGLS763.js.map → chunk-VHWJK2MP.js.map} +0 -0
- /package/dist/{chunk-K6VYSDB5.js.map → chunk-VLIOMJDR.js.map} +0 -0
- /package/dist/{chunk-U2GHNZ4N.js.map → chunk-VMK4RHV5.js.map} +0 -0
- /package/dist/{chunk-GWNCQ5YI.js.map → chunk-WKT7RF3C.js.map} +0 -0
- /package/dist/{chunk-ETXOEP4N.js.map → chunk-WXSMUSU7.js.map} +0 -0
- /package/dist/{chunk-ZYAZHJPZ.js.map → chunk-WXSX5OQJ.js.map} +0 -0
- /package/dist/{chunk-CTVPW77S.js.map → chunk-WY3IORKG.js.map} +0 -0
- /package/dist/{chunk-WKGKKM6F.js.map → chunk-WYSOOKFJ.js.map} +0 -0
- /package/dist/{chunk-TUO5I6LP.js.map → chunk-XBBFFOLS.js.map} +0 -0
- /package/dist/{chunk-YVQ4USPP.js.map → chunk-XSRQGX5H.js.map} +0 -0
- /package/dist/{chunk-KSS26PXB.js.map → chunk-YLL6CTBL.js.map} +0 -0
- /package/dist/{chunk-ANBGNYNP.js.map → chunk-YPBY37KD.js.map} +0 -0
- /package/dist/{chunk-DKPAOVJH.js.map → chunk-YUNJBIK4.js.map} +0 -0
- /package/dist/{chunk-IANE75G3.js.map → chunk-Z5ECCUNG.js.map} +0 -0
- /package/dist/{cohort-QSLKB4ZO.js.map → cohort-5WL6UJOS.js.map} +0 -0
- /package/dist/{cohortSunburst-AQFSNJ5K.js.map → cohortSunburst-R3Z5KJQL.js.map} +0 -0
- /package/dist/{condition-MLS6TJHV.js.map → condition-2IILUMVB.js.map} +0 -0
- /package/dist/{controls-ZT3GZ667.js.map → controls-G3JITZF5.js.map} +0 -0
- /package/dist/{controls.config-F7NIPLKB.js.map → controls.config-BO7KPPET.js.map} +0 -0
- /package/dist/{correlation-ZEIQJGSQ.js.map → correlation-CZILLVEM.js.map} +0 -0
- /package/dist/{customdata.inputui-6PJSAJK2.js.map → customdata.inputui-BXFQAMTR.js.map} +0 -0
- /package/dist/{databrowser.ui-EMZ5L2Y7.js.map → databrowser.ui-V2NJQF3U.js.map} +0 -0
- /package/dist/{dictionary-U2BWGY6B.js.map → dictionary-OVAQX6R3.js.map} +0 -0
- /package/dist/{dnaMethylation-R34E2XNC.js.map → dnaMethylation-DHPFRXB2.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-4Z2AJHWY.js.map → dnaMethylation.integration.spec-PJLIRGN5.js.map} +0 -0
- /package/dist/{dofetch-JY4A7BYI.js.map → dofetch-KBTN6OW4.js.map} +0 -0
- /package/dist/{e2pca-WSSCXX6A.js.map → e2pca-O7SNMJGB.js.map} +0 -0
- /package/dist/{ep-ATUWEHDJ.js.map → ep-NIVLKG4S.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-QRIRRPO7.js.map → expclust.gdc.spec-LVCD6C43.js.map} +0 -0
- /package/dist/{facet-5VDCSP3S.js.map → facet-LB4SCXE4.js.map} +0 -0
- /package/dist/{gb-Y4UG6LFA.js.map → gb-3IJ4NCPO.js.map} +0 -0
- /package/dist/{geneExpClustering-OO67JNJ2.js.map → geneExpClustering-SIAC7CMA.js.map} +0 -0
- /package/dist/{geneExpression-KPRFXKU7.js.map → geneExpression-KPUOZ4PT.js.map} +0 -0
- /package/dist/{geneExpression-5KGV3MAA.js.map → geneExpression-P2TTZXN2.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-YV45EZ5O.js.map → geneExpression.unit.spec-Q5D6XHUF.js.map} +0 -0
- /package/dist/{geneORA-R74JPUTC.js.map → geneORA-PKUIJKTL.js.map} +0 -0
- /package/dist/{geneRanking-IJTXNMHV.js.map → geneRanking-ZGT5MHBV.js.map} +0 -0
- /package/dist/{geneVariant-JT3EGAIH.js.map → geneVariant-24YNANTT.js.map} +0 -0
- /package/dist/{geneVariant-HBAHT6LU.js.map → geneVariant-CDGENHWQ.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-TFQYPUAS.js.map → geneVariant.integration.spec-7QW4C2WO.js.map} +0 -0
- /package/dist/{genefusion.ui-MMTQMTHC.js.map → genefusion.ui-NVXGSBXD.js.map} +0 -0
- /package/dist/{geneset-VMBICNCZ.js.map → geneset-7STL6UDD.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-2XLLIYGA.js.map → genomeBrowser.spec-OE2CIP7I.js.map} +0 -0
- /package/dist/{grin2-2RYPEUWV.js.map → grin2-2HXUIY5O.js.map} +0 -0
- /package/dist/{grin2-Y6KAFVV2.js.map → grin2-32IIJR5E.js.map} +0 -0
- /package/dist/{hierCluster-EKGFBQT4.js.map → hierCluster-MDZEI2KB.js.map} +0 -0
- /package/dist/{hierCluster-Z4PVNMGS.js.map → hierCluster-T3PZUGBI.js.map} +0 -0
- /package/dist/{hierCluster.config-Q6WUNK2K.js.map → hierCluster.config-7UN6AYGB.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-2LHSHNFC.js.map → hierCluster.integration.spec-DWOYVK6T.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-OGQ3KUY6.js.map → hierCluster.interactivity-5OM6XNFG.js.map} +0 -0
- /package/dist/{hierCluster.renderers-3GJZXG75.js.map → hierCluster.renderers-YGX6MZZW.js.map} +0 -0
- /package/dist/{imagePlot-ZJEZPBX7.js.map → imagePlot-KBRXDV5G.js.map} +0 -0
- /package/dist/{importPlot-GFEFYEHZ.js.map → importPlot-DJMIC22L.js.map} +0 -0
- /package/dist/{isoformExpression-A2X3DSR6.js.map → isoformExpression-SWDWADRC.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-VKMEGCL4.js.map → isoformExpression.unit.spec-2U5KCYBP.js.map} +0 -0
- /package/dist/{junction-HWIHLQU2.js.map → junction-NMXVVGRG.js.map} +0 -0
- /package/dist/{junction.customTerm-C3VWXEYH.js.map → junction.customTerm-3R2GNE3A.js.map} +0 -0
- /package/dist/{junction.unit.spec-ZYJGDOXJ.js.map → junction.unit.spec-JTGBPPN7.js.map} +0 -0
- /package/dist/{launch.adhoc-HW5AZM4T.js.map → launch.adhoc-YB5SKMNY.js.map} +0 -0
- /package/dist/{leftlabel.sample-MTW2HRRQ.js.map → leftlabel.sample-QKXIODCS.js.map} +0 -0
- /package/dist/{lollipop-VWW5H6CR.js.map → lollipop-TSZ62PBH.js.map} +0 -0
- /package/dist/{maf-KEJYO3H4.js.map → maf-4L5YN4CG.js.map} +0 -0
- /package/dist/{maftimeline-MJZDSGSR.js.map → maftimeline-VOYB3NY3.js.map} +0 -0
- /package/dist/{matrix-3UJW6LOA.js.map → matrix-IWJECVTF.js.map} +0 -0
- /package/dist/{matrix-W4AX5OBM.js.map → matrix-MMJAJZA7.js.map} +0 -0
- /package/dist/{matrix.cells-5DAIZ3E5.js.map → matrix.cells-5RTZUJVN.js.map} +0 -0
- /package/dist/{matrix.config-PK26VPQT.js.map → matrix.config-DZGOZWJS.js.map} +0 -0
- /package/dist/{matrix.data-UK5DGKBK.js.map → matrix.data-Y5TPRGMW.js.map} +0 -0
- /package/dist/{matrix.groups-NM4Q5YDN.js.map → matrix.groups-6DXCAY4P.js.map} +0 -0
- /package/dist/{matrix.integration.spec-FGWNBCRR.js.map → matrix.integration.spec-2N237E7T.js.map} +0 -0
- /package/dist/{matrix.interactivity-4C37PII5.js.map → matrix.interactivity-FL33UUKR.js.map} +0 -0
- /package/dist/{matrix.layout-ODV7WXUP.js.map → matrix.layout-7SYHV3KJ.js.map} +0 -0
- /package/dist/{matrix.legend-5MY7OXWN.js.map → matrix.legend-S3E76TVO.js.map} +0 -0
- /package/dist/{matrix.renderers-QA7W7ZUL.js.map → matrix.renderers-3SIBT2RP.js.map} +0 -0
- /package/dist/{matrix.serieses-4FSFJPCK.js.map → matrix.serieses-3UGLZW25.js.map} +0 -0
- /package/dist/{matrix.sort-3QLFMBJ5.js.map → matrix.sort-A7CNLDUJ.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-HVOC6IYT.js.map → matrix.sort.unit.spec-L3H44T6I.js.map} +0 -0
- /package/dist/{matrix.sorterUi-EY3SA6CG.js.map → matrix.sorterUi-6PZR3YOD.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-OAXWPZZI.js.map → matrix.sorterUi.unit.spec-2NRU5UFH.js.map} +0 -0
- /package/dist/{matrix.unit.spec-RAL7AU22.js.map → matrix.unit.spec-HRZIJB6T.js.map} +0 -0
- /package/dist/{mavb-KIM63AC4.js.map → mavb-ZVRQSDPS.js.map} +0 -0
- /package/dist/{mds.fimo-DMAVM56P.js.map → mds.fimo-ZKETTET7.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-KILTR2C7.js.map → mds.samplescatterplot-ZV3UNRLP.js.map} +0 -0
- /package/dist/{mds.survivalplot-PV76ANBP.js.map → mds.survivalplot-OVXZRTU4.js.map} +0 -0
- /package/dist/{multivalue-2V5LMQY7.js.map → multivalue-6BE5IA4F.js.map} +0 -0
- /package/dist/{numericDictTermCluster-TGL4X6UC.js.map → numericDictTermCluster-6XDVVWLE.js.map} +0 -0
- /package/dist/{oncomatrix-2O7SLXHX.js.map → oncomatrix-XK62NEOO.js.map} +0 -0
- /package/dist/{oncomatrix.spec-HZJKOF5G.js.map → oncomatrix.spec-YVTCHOPS.js.map} +0 -0
- /package/dist/{plot.2dvaf-424NNMMA.js.map → plot.2dvaf-NUOBWMNX.js.map} +0 -0
- /package/dist/{plot.app-YBZDNST2.js.map → plot.app-G6IQWXTV.js.map} +0 -0
- /package/dist/{plot.barplot-YZQBYJUY.js.map → plot.barplot-6QJ6HEJR.js.map} +0 -0
- /package/dist/{plot.boxplot-5OW6IBQL.js.map → plot.boxplot-XKQJSW2O.js.map} +0 -0
- /package/dist/{plot.brainImaging-H3ABPPD3.js.map → plot.brainImaging-UTHFJFXU.js.map} +0 -0
- /package/dist/{plot.disco-X7KCDWGX.js.map → plot.disco-3MSCX7TM.js.map} +0 -0
- /package/dist/{plot.ssgq-GYRVHTC7.js.map → plot.ssgq-4KBVHF42.js.map} +0 -0
- /package/dist/{plot.vaf2cov-B2TELPHL.js.map → plot.vaf2cov-OGUQSSDS.js.map} +0 -0
- /package/dist/{polar2-5KNZRLXY.js.map → polar2-V7M56GTZ.js.map} +0 -0
- /package/dist/{profileForms-FY34KXCL.js.map → profileForms-TS3BJLHH.js.map} +0 -0
- /package/dist/{profilePlot-3FX2TPYC.js.map → profilePlot-DP5272HR.js.map} +0 -0
- /package/dist/{proteinView-WSEO3LD3.js.map → proteinView-K4K4SP3L.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-KA2DF3EE.js.map → proteomeCohortCompare-SFWVGLFK.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-AT3TFCOW.js.map → pseudbulk.unit.spec-NFOA7J2C.js.map} +0 -0
- /package/dist/{pseudobulk-4ZRHUC7W.js.map → pseudobulk-XKZQEZ4I.js.map} +0 -0
- /package/dist/{qualitative-3OBGJRP6.js.map → qualitative-7OSFNVI5.js.map} +0 -0
- /package/dist/{qualitative-FHJD44OA.js.map → qualitative-OIIN6E4Y.js.map} +0 -0
- /package/dist/{radar2-X757WR6V.js.map → radar2-AHZJKX7S.js.map} +0 -0
- /package/dist/{radarFacility2-GUBAK4Y3.js.map → radarFacility2-OUW6D5E7.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-ADO4Y2OE.js.map → rememberedGvQ.unit.spec-SHTMMZGG.js.map} +0 -0
- /package/dist/{render-MZEPNEMU.js.map → render-7UZSGX3Q.js.map} +0 -0
- /package/dist/{report-TUAFDGAE.js.map → report-J7HKTXZ2.js.map} +0 -0
- /package/dist/{sampleView-X6YKCBE7.js.map → sampleView-6547OUIM.js.map} +0 -0
- /package/dist/{samplelst-UPNRALBH.js.map → samplelst-UHF23UEB.js.map} +0 -0
- /package/dist/{samplematrix-W3HZK3IS.js.map → samplematrix-OOKS3TMR.js.map} +0 -0
- /package/dist/{sc-UL7233UR.js.map → sc-WF2BLGNG.js.map} +0 -0
- /package/dist/{scatter-VQQRIW6N.js.map → scatter-ABCVFGRV.js.map} +0 -0
- /package/dist/{scatter-FTJ77NUM.js.map → scatter-WF7XM3IA.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-HPYPSPFI.js.map → selectGenomeWithTklst-67HU5KRB.js.map} +0 -0
- /package/dist/{singleCellCellType-XTKGOH6H.js.map → singleCellCellType-3FZPJ25V.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-A62GT72A.js.map → singleCellCellType.unit.spec-TOMREHWK.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-X7H5GTU3.js.map → singleCellGeneExpression-NQTJ5KJQ.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-2KQBHG7O.js.map → singleCellGeneExpression.unit.spec-ZWUQTU2N.js.map} +0 -0
- /package/dist/{singleCellNumericValue-6YS42PZ2.js.map → singleCellNumericValue-VI7H722L.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-DNVXQFKI.js.map → singleCellNumericValue.unit.spec-QGLHES7H.js.map} +0 -0
- /package/dist/{singleCellPlot-MGOQ7EQV.js.map → singleCellPlot-RU5T6SJK.js.map} +0 -0
- /package/dist/{singlecell-QW3SLQD6.js.map → singlecell-C3CJVNXP.js.map} +0 -0
- /package/dist/{singlecell-CIOB5XON.js.map → singlecell-NRQZ7KC6.js.map} +0 -0
- /package/dist/{snp-6B4MIPKL.js.map → snp-X6XY65VS.js.map} +0 -0
- /package/dist/{snp.unit.spec-HNILS56E.js.map → snp.unit.spec-6EENK7GQ.js.map} +0 -0
- /package/dist/{snplocus-DDFLYZ2Y.js.map → snplocus-R4JA6TFT.js.map} +0 -0
- /package/dist/{snplst-JYKOV73J.js.map → snplst-SOWVHSXH.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-IBD5ITXR.js.map → spliceevent.a53ss.diagram-IRLCCVQZ.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-ZJGEVUYW.js.map → spliceevent.exonskip.diagram-4KG7LE5D.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-RNLNTFOW.js.map → spliceevent.noeventdiagram-OWXAJJX7.js.map} +0 -0
- /package/dist/{ssGSEA-42VQLAXL.js.map → ssGSEA-EMOKPLMP.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-FBJANIKG.js.map → ssGSEA.unit.spec-KXQ7R5WH.js.map} +0 -0
- /package/dist/{stattable-FROSNTJY.js.map → stattable-H2G7MOZG.js.map} +0 -0
- /package/dist/{studyCatalog-XIYNJ24U.js.map → studyCatalog-3ITQXWFL.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-N3OFI24L.js.map → summarizeCnvGeneexp-ZIPU6YDY.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-J4DO2AL4.js.map → summarizeGeneexpSurvival-3RYU226R.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-Y43BBSI4.js.map → summarizeMutationCnv-RGDBUB22.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-JAEAUFCA.js.map → summarizeMutationDiagnosis-Z4MZE6Y4.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-4QZDDXDV.js.map → summarizeMutationSurvival-Z5CNRH7E.js.map} +0 -0
- /package/dist/{summary-DTJZ7NNA.js.map → summary-6QQCNX3B.js.map} +0 -0
- /package/dist/{summary.integration.spec-HRRE3J45.js.map → summary.integration.spec-3ULXTZUP.js.map} +0 -0
- /package/dist/{summaryInput-WCADUZBK.js.map → summaryInput-4QKR34QB.js.map} +0 -0
- /package/dist/{termCollection-QIN53TIL.js.map → sunburst-KB3BWC72.js.map} +0 -0
- /package/dist/{sunburst-BGXSCB63.js.map → sunburst-XTFBHZNH.js.map} +0 -0
- /package/dist/{survival-LFXQIWRT.js.map → survival-7O6ZK63E.js.map} +0 -0
- /package/dist/{survival-ONWZ5RFM.js.map → survival-NNCY4K6C.js.map} +0 -0
- /package/dist/{survival.integration.spec-ZP7XWHQH.js.map → survival.integration.spec-ZYZHZAXA.js.map} +0 -0
- /package/dist/{svgraph-2SL2SJVU.js.map → svgraph-ZLSFFEAC.js.map} +0 -0
- /package/dist/{svmr-ONIPMLC2.js.map → svmr-REBBDEYM.js.map} +0 -0
- /package/dist/{table-LLCFO4KK.js.map → table-CWIQQESJ.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-UKEVVZXL.js.map → termCollection-7TYJSQ45.js.map} +0 -0
- /package/dist/{termCollection-DAHJGR5P.js.map → termCollection-7Z55QNL7.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-FQOX2IVP.js.map → termCollection.unit.spec-LQ5MIBDH.js.map} +0 -0
- /package/dist/{tk-GM7CJ2LU.js.map → termCollectionFractionSelection-24DZYVDU.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-URGEYBU2.js.map → termCollectionFractionSelection.unit.spec-DCV2CFS5.js.map} +0 -0
- /package/dist/{tvs.categorical-IY6YSFVN.js.map → tk-2WZFPRCP.js.map} +0 -0
- /package/dist/{tp.ui-TRUHW6GP.js.map → tp.ui-HXQX2UH4.js.map} +0 -0
- /package/dist/{tvs.density-CB24PXDE.js.map → tvs.categorical-4D3JI2ER.js.map} +0 -0
- /package/dist/{tvs.condition-YTD7GOPW.js.map → tvs.condition-62FXFHZ5.js.map} +0 -0
- /package/dist/{tvs.dt-AQQIZD5Z.js.map → tvs.density-IGO4I4T2.js.map} +0 -0
- /package/dist/{tvs.numeric-UFAOJR2B.js.map → tvs.dt-FZSVMJOO.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-WOAOGJSW.js.map → tvs.dtcnv.categorical-PPFQIC42.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-TJBEPJGO.js.map → tvs.dtcnv.continuous-TV2IGHY4.js.map} +0 -0
- /package/dist/{tvs.dtfusion-SFMZQKKU.js.map → tvs.dtfusion-ON4BA4XJ.js.map} +0 -0
- /package/dist/{tvs.dtitd-Q5RQTCLD.js.map → tvs.dtitd-VFNROOWQ.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-UEK4O6WI.js.map → tvs.dtsnvindel-ZXOP37T5.js.map} +0 -0
- /package/dist/{tvs.dtsv-ECS4KEYG.js.map → tvs.dtsv-EUHPTW7J.js.map} +0 -0
- /package/dist/{tvs.multivalue-CJIZ3I54.js.map → tvs.multivalue-NHVXZNDI.js.map} +0 -0
- /package/dist/{vocabulary-MTKDDDGB.js.map → tvs.numeric-FPWDPO3J.js.map} +0 -0
- /package/dist/{tvs.samplelst-BVFY2P7Q.js.map → tvs.samplelst-ZZHRNUP4.js.map} +0 -0
- /package/dist/{tvs.survival-L56B3I55.js.map → tvs.survival-F3KSG3U6.js.map} +0 -0
- /package/dist/{tvs.termCollection-BFIBVBSA.js.map → tvs.termCollection-B37DZLDY.js.map} +0 -0
- /package/dist/{wsi.direct-OSHY7VL4.js.map → wsi.direct-3YH3QGQD.js.map} +0 -0
|
@@ -0,0 +1,1219 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cohortMatches
|
|
3
|
+
} from "./chunk-ZX75ZAUG.js";
|
|
4
|
+
import {
|
|
5
|
+
BRAIN_P_THRESHOLD,
|
|
6
|
+
brainFillByRegion,
|
|
7
|
+
brainTooltipByRegion,
|
|
8
|
+
loadBrainAssets,
|
|
9
|
+
makeBrainFcScale,
|
|
10
|
+
makeDiseaseTabs,
|
|
11
|
+
renderBrainSvg
|
|
12
|
+
} from "./chunk-ILEXRHF7.js";
|
|
13
|
+
import {
|
|
14
|
+
axisstyle,
|
|
15
|
+
table2col
|
|
16
|
+
} from "./chunk-WD7FZ5EE.js";
|
|
17
|
+
import {
|
|
18
|
+
Menu
|
|
19
|
+
} from "./chunk-CNFTQSNE.js";
|
|
20
|
+
import {
|
|
21
|
+
dofetch3
|
|
22
|
+
} from "./chunk-4TJO2DGU.js";
|
|
23
|
+
import {
|
|
24
|
+
NumericModes
|
|
25
|
+
} from "./chunk-JHLF2ZC2.js";
|
|
26
|
+
import {
|
|
27
|
+
axisBottom,
|
|
28
|
+
axisLeft,
|
|
29
|
+
line_default
|
|
30
|
+
} from "./chunk-WJLRU5OF.js";
|
|
31
|
+
import {
|
|
32
|
+
band,
|
|
33
|
+
linear,
|
|
34
|
+
point,
|
|
35
|
+
sqrt
|
|
36
|
+
} from "./chunk-4OLM3KSB.js";
|
|
37
|
+
import {
|
|
38
|
+
roundValue
|
|
39
|
+
} from "./chunk-TLT4YIG3.js";
|
|
40
|
+
import {
|
|
41
|
+
select_default
|
|
42
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
43
|
+
|
|
44
|
+
// plots/proteinView.tiles.ts
|
|
45
|
+
function getProteinViewConfig(self) {
|
|
46
|
+
return self?.app?.vocabApi?.termdbConfig?.queries?.proteome?.proteinView || {};
|
|
47
|
+
}
|
|
48
|
+
function getTileConfigs(self) {
|
|
49
|
+
return getProteinViewConfig(self).tiles || [];
|
|
50
|
+
}
|
|
51
|
+
function getTileConfig(self, key) {
|
|
52
|
+
return getTileConfigs(self).find((t) => t.key === key);
|
|
53
|
+
}
|
|
54
|
+
function diseaseCfg(self) {
|
|
55
|
+
return getProteinViewConfig(self).diseases || {};
|
|
56
|
+
}
|
|
57
|
+
var diseaseOrder = (self) => Object.keys(diseaseCfg(self));
|
|
58
|
+
var diseaseLabel = (self, d) => diseaseCfg(self)[d]?.label || d;
|
|
59
|
+
var isSpecificityControl = (self, d) => !!diseaseCfg(self)[d]?.specificityControl;
|
|
60
|
+
var modelOrder = (self) => Object.keys(getProteinViewConfig(self).models || {});
|
|
61
|
+
var modelColor = (self, m) => getProteinViewConfig(self).models?.[m]?.color || SINGLE_MODEL_COLOR;
|
|
62
|
+
var cellTypeCfg = (self) => getProteinViewConfig(self).cellTypes || {};
|
|
63
|
+
var proteomeLabel = (self, organism, assay) => self?.app?.vocabApi?.termdbConfig?.queries?.proteome?.organisms?.[organism]?.assays?.[assay]?.proteomeLabel || assay;
|
|
64
|
+
function orderBy(keys, order) {
|
|
65
|
+
const rank = (k) => order.indexOf(k) === -1 ? order.length : order.indexOf(k);
|
|
66
|
+
return [...keys].sort((a, b) => rank(a) - rank(b));
|
|
67
|
+
}
|
|
68
|
+
var SIG_P = 0.05;
|
|
69
|
+
function parseAge(ageGroup) {
|
|
70
|
+
const n = parseInt(ageGroup || "");
|
|
71
|
+
return Number.isFinite(n) ? n : null;
|
|
72
|
+
}
|
|
73
|
+
var byAge = (a, b) => (parseAge(a) ?? 0) - (parseAge(b) ?? 0);
|
|
74
|
+
var fetchCache = /* @__PURE__ */ new Map();
|
|
75
|
+
function cachedFetch(key, load) {
|
|
76
|
+
if (!fetchCache.has(key)) {
|
|
77
|
+
const p = load();
|
|
78
|
+
p.catch(() => fetchCache.delete(key));
|
|
79
|
+
fetchCache.set(key, p);
|
|
80
|
+
}
|
|
81
|
+
return fetchCache.get(key);
|
|
82
|
+
}
|
|
83
|
+
var vocabKey = (self) => `${self.app.opts.state.vocab.genome}|${self.app.opts.state.vocab.dslabel}`;
|
|
84
|
+
var TILE_FACE_SCALE = 0.67;
|
|
85
|
+
var TILE_FACE_SCALE_X = 0.45;
|
|
86
|
+
var EXPANDED_SCALE = 1.7;
|
|
87
|
+
var CARD_W = 230;
|
|
88
|
+
var CARD_MIN_H = 235;
|
|
89
|
+
var SINGLE_MODEL_COLOR = "#6b7280";
|
|
90
|
+
var ND_COLOR = "#4263eb";
|
|
91
|
+
var PSY_COLOR = "#9ca3af";
|
|
92
|
+
var WHOLE_COLOR = "#2166ac";
|
|
93
|
+
var INSOLUBLE_COLOR = "#b2182b";
|
|
94
|
+
var REFERENCE_COLOR = "#111827";
|
|
95
|
+
var FC_NEG_COLOR = "#762a83";
|
|
96
|
+
var FC_ZERO_COLOR = "#f7f7f7";
|
|
97
|
+
var FC_POS_COLOR = "#2166ac";
|
|
98
|
+
function getLog2Ratio(foldChange) {
|
|
99
|
+
if (!Number.isFinite(foldChange) || foldChange <= 0) return null;
|
|
100
|
+
return Math.log2(foldChange);
|
|
101
|
+
}
|
|
102
|
+
function launchViolinPlot(self, organismName, assayName, cohortName, isoform) {
|
|
103
|
+
const selectedProtein = self.state.config?.tw?.term;
|
|
104
|
+
if (!selectedProtein) throw new Error("proteinView: selected protein term is missing");
|
|
105
|
+
const action = {
|
|
106
|
+
type: "plot_create",
|
|
107
|
+
config: {
|
|
108
|
+
chartType: "summary"
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
action.config.assayCohortTitle = `${organismName} ${assayName}: ${cohortName}`;
|
|
112
|
+
action.config.proteomeDetails = { organism: organismName, assay: assayName, cohort: cohortName };
|
|
113
|
+
const termdbConfig = self.app.vocabApi.termdbConfig;
|
|
114
|
+
const proteomeOverlayTerm = termdbConfig?.queries?.proteome?.organisms?.[organismName]?.overlayTerm;
|
|
115
|
+
const t = structuredClone(selectedProtein);
|
|
116
|
+
t.name = `${t.name}: ${isoform}`;
|
|
117
|
+
t.dataTypeDetails = { organism: organismName, assay: assayName, cohort: cohortName };
|
|
118
|
+
action.config.term = { term: t, q: { mode: NumericModes.continuous } };
|
|
119
|
+
if (proteomeOverlayTerm) {
|
|
120
|
+
action.config.term2 = { term: structuredClone(proteomeOverlayTerm), q: {} };
|
|
121
|
+
}
|
|
122
|
+
self.app.dispatch(action);
|
|
123
|
+
}
|
|
124
|
+
var entries = (td, key) => td.byTile[key] || [];
|
|
125
|
+
function catalogForEntry(self, e) {
|
|
126
|
+
return self.app.vocabApi.termdbConfig?.queries?.proteome?.organisms?.[e.organism]?.assays?.[e.assayName]?.cohorts?.[e.cohortName]?.catalog;
|
|
127
|
+
}
|
|
128
|
+
function prepareTileData(data, self) {
|
|
129
|
+
const catalogFor = (e) => catalogForEntry(self, e);
|
|
130
|
+
const accessions = /* @__PURE__ */ new Set();
|
|
131
|
+
let ptmSiteCount = 0;
|
|
132
|
+
const byCohort = /* @__PURE__ */ new Map();
|
|
133
|
+
for (const e of data?.cohorts || []) {
|
|
134
|
+
if (e.PTMType) {
|
|
135
|
+
ptmSiteCount++;
|
|
136
|
+
continue;
|
|
137
|
+
}
|
|
138
|
+
accessions.add(e.proteinAccession);
|
|
139
|
+
const log2fc = getLog2Ratio(e.foldChange);
|
|
140
|
+
if (log2fc === null) continue;
|
|
141
|
+
const key = `${e.organism}|${e.assayName}|${e.cohortName}`;
|
|
142
|
+
const p = Number(e.fdr);
|
|
143
|
+
const pRank = Number.isFinite(p) && p > 0 ? p : Infinity;
|
|
144
|
+
const cur = byCohort.get(key);
|
|
145
|
+
if (!cur) byCohort.set(key, { best: { e, pRank }, count: 1 });
|
|
146
|
+
else {
|
|
147
|
+
cur.count++;
|
|
148
|
+
if (pRank < cur.best.pRank) cur.best = { e, pRank };
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
const tiles = getTileConfigs(self);
|
|
152
|
+
const td = {
|
|
153
|
+
byTile: Object.fromEntries(tiles.map((t) => [t.key, []])),
|
|
154
|
+
isoformCount: accessions.size,
|
|
155
|
+
ptmSiteCount,
|
|
156
|
+
cohortCount: byCohort.size
|
|
157
|
+
};
|
|
158
|
+
for (const { best, count } of byCohort.values()) {
|
|
159
|
+
const e = best.e;
|
|
160
|
+
const catalog = catalogFor(e);
|
|
161
|
+
if (!catalog) continue;
|
|
162
|
+
const p = Number(e.fdr);
|
|
163
|
+
const entry = {
|
|
164
|
+
organism: e.organism,
|
|
165
|
+
assayName: e.assayName,
|
|
166
|
+
cohortName: e.cohortName,
|
|
167
|
+
disease: catalog.disease || e.disease,
|
|
168
|
+
uniqueIdentifier: e.uniqueIdentifier,
|
|
169
|
+
proteinAccession: e.proteinAccession,
|
|
170
|
+
log2fc: getLog2Ratio(e.foldChange),
|
|
171
|
+
fdr: Number.isFinite(p) && p > 0 ? p : null,
|
|
172
|
+
testedN: Number(e.testedN) || 0,
|
|
173
|
+
controlN: Number(e.controlN) || 0,
|
|
174
|
+
isoformCount: count,
|
|
175
|
+
catalog
|
|
176
|
+
};
|
|
177
|
+
const tile = tiles.find((t) => cohortMatches(t.cohortMatch, e.organism, e.assayName, catalog));
|
|
178
|
+
if (tile) td.byTile[tile.key].push(entry);
|
|
179
|
+
}
|
|
180
|
+
return td;
|
|
181
|
+
}
|
|
182
|
+
var CARD_OUTER_W = CARD_W + 26;
|
|
183
|
+
function makeTileGrid(holder) {
|
|
184
|
+
return holder.append("div").style("display", "grid").style("grid-template-columns", `repeat(auto-fill, ${CARD_OUTER_W}px)`).style("grid-auto-flow", "row dense").style("gap", "14px").style("margin-top", "10px").style("white-space", "normal");
|
|
185
|
+
}
|
|
186
|
+
var expandedInGrid = /* @__PURE__ */ new WeakMap();
|
|
187
|
+
var NO_EXPAND_SELECTOR = 'button,select,input,textarea,label,a,[role="button"],[role="tab"],[data-no-expand]';
|
|
188
|
+
function tileExpandState(self, key) {
|
|
189
|
+
return {
|
|
190
|
+
open: self.expandedTileKey === key,
|
|
191
|
+
onToggle: (open) => {
|
|
192
|
+
if (open) self.expandedTileKey = key;
|
|
193
|
+
else if (self.expandedTileKey === key) self.expandedTileKey = null;
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
function makeTileCard(grid, opts) {
|
|
198
|
+
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").style("min-width", "0");
|
|
199
|
+
if (opts.fullWidth) card.style("grid-column", "1 / -1");
|
|
200
|
+
if (opts.uniform) {
|
|
201
|
+
card.style("width", `${CARD_W}px`).style("min-height", `${CARD_MIN_H}px`).style("display", "flex").style("flex-direction", "column");
|
|
202
|
+
}
|
|
203
|
+
const header = card.append("div").style("display", "flex").style("align-items", "baseline").style("gap", "8px").style("flex-wrap", "wrap");
|
|
204
|
+
header.append("span").style("font-weight", "600").style("font-size", ".9em").style("min-width", "0").style("color", opts.disabled ? "#9ca3af" : "#111827").text(opts.title);
|
|
205
|
+
if (opts.subtitle) {
|
|
206
|
+
card.append("div").style("font-size", ".75em").style("color", "#6b7280").style("margin", "2px 0 4px 0").text(opts.subtitle);
|
|
207
|
+
}
|
|
208
|
+
const face = card.append("div");
|
|
209
|
+
const expand = opts.expand;
|
|
210
|
+
if (!expand) return face;
|
|
211
|
+
const expandedBody = card.append("div").style("display", "none").style("overflow-x", "auto");
|
|
212
|
+
const gridNode = grid.node();
|
|
213
|
+
let isOpen = false;
|
|
214
|
+
const toggleBtn = header.append("span").attr("role", "button").attr("tabindex", "0").style("margin-left", "auto").style("cursor", "pointer").style("color", "#9ca3af").style("font-size", "1em").style("line-height", "1").on("mouseover", function() {
|
|
215
|
+
select_default(this).style("color", "#374151");
|
|
216
|
+
}).on("mouseout", function() {
|
|
217
|
+
select_default(this).style("color", "#9ca3af");
|
|
218
|
+
});
|
|
219
|
+
const setToggleBtn = () => toggleBtn.text(isOpen ? "\u2921" : "\u2922").attr("title", isOpen ? "Collapse" : "Expand").attr("aria-label", `${isOpen ? "Collapse" : "Expand"} ${opts.title}`).attr("aria-expanded", String(isOpen));
|
|
220
|
+
setToggleBtn();
|
|
221
|
+
const collapse = () => {
|
|
222
|
+
if (!isOpen) return;
|
|
223
|
+
isOpen = false;
|
|
224
|
+
if (expandedInGrid.get(gridNode) === collapse) expandedInGrid.delete(gridNode);
|
|
225
|
+
const bodyNode = expandedBody.node();
|
|
226
|
+
bodyNode.replaceChildren();
|
|
227
|
+
expandedBody.style("display", "none");
|
|
228
|
+
face.style("display", null);
|
|
229
|
+
card.style("grid-column", opts.fullWidth ? "1 / -1" : null).style("cursor", "pointer");
|
|
230
|
+
if (opts.uniform) card.style("width", `${CARD_W}px`).style("min-height", `${CARD_MIN_H}px`);
|
|
231
|
+
setToggleBtn();
|
|
232
|
+
expand.onToggle?.(false);
|
|
233
|
+
};
|
|
234
|
+
const open = (scroll) => {
|
|
235
|
+
if (isOpen) return;
|
|
236
|
+
expandedInGrid.get(gridNode)?.();
|
|
237
|
+
isOpen = true;
|
|
238
|
+
expandedInGrid.set(gridNode, collapse);
|
|
239
|
+
face.style("display", "none");
|
|
240
|
+
card.style("grid-column", "1 / -1").style("width", null).style("min-height", null).style("cursor", null);
|
|
241
|
+
expandedBody.style("display", null);
|
|
242
|
+
expandedBody.node().replaceChildren();
|
|
243
|
+
setToggleBtn();
|
|
244
|
+
expand.onToggle?.(true);
|
|
245
|
+
const holder = expandedBody.append("div").style("padding", "4px 4px 0 4px");
|
|
246
|
+
try {
|
|
247
|
+
const p = expand.render(holder);
|
|
248
|
+
if (p instanceof Promise) {
|
|
249
|
+
const wait = holder.append("div").style("color", "#6b7280").style("font-size", ".85em").text("Loading\u2026");
|
|
250
|
+
p.catch((err) => renderTileError(holder, err, null)).finally(() => wait.remove());
|
|
251
|
+
}
|
|
252
|
+
} catch (err) {
|
|
253
|
+
renderTileError(holder, err, null);
|
|
254
|
+
}
|
|
255
|
+
if (scroll) card.node().scrollIntoView?.({ block: "nearest", behavior: "smooth" });
|
|
256
|
+
};
|
|
257
|
+
toggleBtn.on("click", (event) => {
|
|
258
|
+
event.stopPropagation();
|
|
259
|
+
if (isOpen) collapse();
|
|
260
|
+
else open(true);
|
|
261
|
+
}).on("keydown", (event) => {
|
|
262
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
263
|
+
event.preventDefault();
|
|
264
|
+
if (isOpen) collapse();
|
|
265
|
+
else open(true);
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
card.style("cursor", "pointer").on("click", (event) => {
|
|
269
|
+
if (isOpen) return;
|
|
270
|
+
const t = event.target;
|
|
271
|
+
if (t?.closest?.(NO_EXPAND_SELECTOR)) return;
|
|
272
|
+
open(true);
|
|
273
|
+
});
|
|
274
|
+
if (expand.open) queueMicrotask(() => open(false));
|
|
275
|
+
return face;
|
|
276
|
+
}
|
|
277
|
+
var tileClickMenu = new Menu({ padding: "0px" });
|
|
278
|
+
function entryTipTable(entry, holder) {
|
|
279
|
+
const tbl = table2col({ holder: holder.append("table") });
|
|
280
|
+
tbl.addRow("Sample set", entry.cohortName);
|
|
281
|
+
const c = entry.catalog || {};
|
|
282
|
+
if (entry.disease) tbl.addRow("Disease", entry.disease);
|
|
283
|
+
if (c.model) tbl.addRow("Model", c.model);
|
|
284
|
+
if (c.cellType) tbl.addRow("Cell type", c.cellType);
|
|
285
|
+
if (c.ageGroup) tbl.addRow("Age group", c.ageGroup);
|
|
286
|
+
if (c.sampleSource) tbl.addRow("Sample source", c.sampleSource);
|
|
287
|
+
if (entry.ptmType) tbl.addRow("PTM type", entry.ptmType);
|
|
288
|
+
if (entry.modSites) tbl.addRow("Modified site", entry.modSites);
|
|
289
|
+
tbl.addRow("Assay", entry.assayName);
|
|
290
|
+
tbl.addRow("log2 fold change", entry.log2fc === null ? "NA" : roundValue(entry.log2fc, 3));
|
|
291
|
+
tbl.addRow("FDR", entry.fdr === null ? "NA" : entry.fdr.toExponential(2));
|
|
292
|
+
tbl.addRow("Case samples", entry.testedN);
|
|
293
|
+
tbl.addRow("Control samples", entry.controlN);
|
|
294
|
+
tbl.addRow("Protein accession", entry.proteinAccession);
|
|
295
|
+
if (entry.isoformCount > 1) tbl.addRow("Note", `most significant of ${entry.isoformCount} isoforms`);
|
|
296
|
+
}
|
|
297
|
+
function attachEntryBehavior(shape, entry, self) {
|
|
298
|
+
shape.style("cursor", "pointer").on("mouseover", (event) => {
|
|
299
|
+
self.dom.tip.clear();
|
|
300
|
+
entryTipTable(entry, self.dom.tip.d);
|
|
301
|
+
self.dom.tip.show(event.clientX, event.clientY);
|
|
302
|
+
}).on("mouseout", () => self.dom.tip.hide()).on("click", (event) => {
|
|
303
|
+
event.stopPropagation();
|
|
304
|
+
self.dom.tip.hide();
|
|
305
|
+
tileClickMenu.clear();
|
|
306
|
+
const div = tileClickMenu.d.append("div");
|
|
307
|
+
entryTipTable(entry, div.append("div").style("padding", "5px"));
|
|
308
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Violin plot").on("click", () => {
|
|
309
|
+
tileClickMenu.hide();
|
|
310
|
+
launchViolinPlot(self, entry.organism, entry.assayName, entry.cohortName, entry.uniqueIdentifier);
|
|
311
|
+
});
|
|
312
|
+
tileClickMenu.show(event.clientX, event.clientY);
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
var isSig = (e) => e.fdr !== null && e.fdr < SIG_P;
|
|
316
|
+
function drawMarker(g, x, y, color, sig, r = 4.5) {
|
|
317
|
+
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);
|
|
318
|
+
}
|
|
319
|
+
function fcDomain(values) {
|
|
320
|
+
let min = Math.min(0, ...values);
|
|
321
|
+
let max = Math.max(0, ...values);
|
|
322
|
+
const span = Math.max(0.4, max - min);
|
|
323
|
+
const pad = span * 0.15;
|
|
324
|
+
if (min < 0) min -= pad;
|
|
325
|
+
max += pad;
|
|
326
|
+
if (min === 0) min = -span * 0.05;
|
|
327
|
+
return [min, max];
|
|
328
|
+
}
|
|
329
|
+
function addSigFootnote(body) {
|
|
330
|
+
body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px").text(`filled: FDR < ${SIG_P}; hollow: not significant`);
|
|
331
|
+
}
|
|
332
|
+
function drawZeroLine(g, x1, y1, x2, y2) {
|
|
333
|
+
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);
|
|
334
|
+
}
|
|
335
|
+
function styledAxis(g, axis, tickFontSize) {
|
|
336
|
+
const a = g.call(axis);
|
|
337
|
+
axisstyle({ axis: a, color: "black", showline: true });
|
|
338
|
+
if (tickFontSize) a.selectAll("text").style("font-size", tickFontSize);
|
|
339
|
+
return a;
|
|
340
|
+
}
|
|
341
|
+
function rotateXTicks(axisG) {
|
|
342
|
+
axisG.selectAll("text").attr("transform", "rotate(-38)").attr("text-anchor", "end").attr("dx", "-2px").attr("dy", "5px");
|
|
343
|
+
}
|
|
344
|
+
function yAxisTitle(svg, innerH, marginTop, text) {
|
|
345
|
+
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);
|
|
346
|
+
}
|
|
347
|
+
function renderCrossDiseaseTile(body, td, self, cfg, opts = {}) {
|
|
348
|
+
const k = opts.scale || 1;
|
|
349
|
+
const kx = opts.scaleX ?? k;
|
|
350
|
+
const mr = 4.5 * Math.sqrt(k);
|
|
351
|
+
const tickFont = k < 1 ? "8.5px" : null;
|
|
352
|
+
const byDisease = /* @__PURE__ */ new Map();
|
|
353
|
+
const multiCohort = /* @__PURE__ */ new Set();
|
|
354
|
+
for (const e of entries(td, cfg.key)) {
|
|
355
|
+
const d = e.disease || e.cohortName;
|
|
356
|
+
const cur = byDisease.get(d);
|
|
357
|
+
if (cur) multiCohort.add(d);
|
|
358
|
+
if (!cur || (e.fdr ?? Infinity) < (cur.fdr ?? Infinity)) byDisease.set(d, e);
|
|
359
|
+
}
|
|
360
|
+
const diseases = orderBy([...byDisease.keys()], diseaseOrder(self));
|
|
361
|
+
const isControl = (d) => isSpecificityControl(self, d);
|
|
362
|
+
const margin = { top: 12, right: 10, bottom: 34, left: 46 };
|
|
363
|
+
const innerW = Math.max(200, diseases.length * 38) * kx;
|
|
364
|
+
const innerH = 150 * k;
|
|
365
|
+
const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
366
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
367
|
+
const x = band().domain(diseases).range([0, innerW]).padding(0.4);
|
|
368
|
+
const y = linear().domain(fcDomain(diseases.map((d) => byDisease.get(d).log2fc))).range([innerH, 0]);
|
|
369
|
+
const xAxisG = styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x), tickFont);
|
|
370
|
+
if (kx < 0.6) rotateXTicks(xAxisG);
|
|
371
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(4), tickFont);
|
|
372
|
+
drawZeroLine(g, 0, y(0), innerW, y(0));
|
|
373
|
+
yAxisTitle(svg, innerH, margin.top, "log2FC vs control");
|
|
374
|
+
const firstPsy = diseases.findIndex(isControl);
|
|
375
|
+
if (firstPsy > 0) {
|
|
376
|
+
const xSep = (x(diseases[firstPsy - 1]) + x.bandwidth() + x(diseases[firstPsy])) / 2;
|
|
377
|
+
g.append("line").attr("x1", xSep).attr("x2", xSep).attr("y1", 0).attr("y2", innerH).attr("stroke", "#d1d5db").attr("stroke-dasharray", "2 3");
|
|
378
|
+
if (kx >= 0.6) {
|
|
379
|
+
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");
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
for (const d of diseases) {
|
|
383
|
+
const e = byDisease.get(d);
|
|
384
|
+
const cx = x(d) + x.bandwidth() / 2;
|
|
385
|
+
const color = isControl(d) ? PSY_COLOR : ND_COLOR;
|
|
386
|
+
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);
|
|
387
|
+
attachEntryBehavior(drawMarker(g, cx, y(e.log2fc), color, isSig(e), mr), e, self);
|
|
388
|
+
}
|
|
389
|
+
g.selectAll("text").each(function() {
|
|
390
|
+
const t = this.textContent || "";
|
|
391
|
+
const l = diseaseLabel(self, t);
|
|
392
|
+
if (l !== t) this.textContent = l;
|
|
393
|
+
});
|
|
394
|
+
addSigFootnote(body);
|
|
395
|
+
if (multiCohort.size) {
|
|
396
|
+
body.append("div").style("font-size", ".7em").style("color", "#9ca3af").text(`${[...multiCohort].map((d) => diseaseLabel(self, d)).join(", ")}: several cohorts, most significant shown`);
|
|
397
|
+
}
|
|
398
|
+
if (opts.expanded) {
|
|
399
|
+
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 "));
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
function renderInsolubleTile(body, td, self, cfg, opts = {}) {
|
|
403
|
+
const k = opts.scale || 1;
|
|
404
|
+
const kx = opts.scaleX ?? k;
|
|
405
|
+
const mr = 4.5 * Math.sqrt(k);
|
|
406
|
+
const tickFont = k < 1 ? "8.5px" : null;
|
|
407
|
+
const wholeByCohort = /* @__PURE__ */ new Map();
|
|
408
|
+
if (cfg.referenceTile) for (const e of entries(td, cfg.referenceTile)) wholeByCohort.set(e.cohortName, e);
|
|
409
|
+
const insol = entries(td, cfg.key);
|
|
410
|
+
const rows = orderBy([...new Set(insol.map((e) => e.cohortName))], diseaseOrder(self));
|
|
411
|
+
const pairs = rows.map((c) => ({
|
|
412
|
+
cohortName: c,
|
|
413
|
+
whole: wholeByCohort.get(c) || null,
|
|
414
|
+
insoluble: insol.find((e) => e.cohortName === c) || null
|
|
415
|
+
}));
|
|
416
|
+
const wholeEntry = pairs.find((p) => p.whole)?.whole;
|
|
417
|
+
const labelOf = (e, fallback) => e ? proteomeLabel(self, e.organism, e.assayName) : fallback;
|
|
418
|
+
const margin = { top: 24, right: 12, bottom: 34, left: 46 };
|
|
419
|
+
const innerW = 240 * kx;
|
|
420
|
+
const innerH = Math.max(90, rows.length * 30 * k);
|
|
421
|
+
const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
422
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
423
|
+
const values = [];
|
|
424
|
+
for (const p of pairs) {
|
|
425
|
+
if (p.whole) values.push(p.whole.log2fc);
|
|
426
|
+
if (p.insoluble) values.push(p.insoluble.log2fc);
|
|
427
|
+
}
|
|
428
|
+
const x = linear().domain(fcDomain(values)).range([0, innerW]);
|
|
429
|
+
const y = band().domain(rows).range([0, innerH]).padding(0.4);
|
|
430
|
+
styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).ticks(4), tickFont);
|
|
431
|
+
styledAxis(g.append("g"), axisLeft(y), tickFont);
|
|
432
|
+
drawZeroLine(g, x(0), 0, x(0), innerH);
|
|
433
|
+
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");
|
|
434
|
+
const legend = g.append("g").attr("transform", `translate(0,-12)`);
|
|
435
|
+
for (const [i, item] of [
|
|
436
|
+
{
|
|
437
|
+
label: labelOf(wholeEntry, getTileConfig(self, cfg.referenceTile || "")?.title || "reference"),
|
|
438
|
+
color: WHOLE_COLOR
|
|
439
|
+
},
|
|
440
|
+
{ label: labelOf(insol[0], cfg.cohortMatch?.assay || cfg.title), color: INSOLUBLE_COLOR }
|
|
441
|
+
].entries()) {
|
|
442
|
+
const lx = i * (kx < 0.6 ? 58 : 80);
|
|
443
|
+
legend.append("circle").attr("cx", lx).attr("cy", 0).attr("r", 4).attr("fill", item.color).attr("fill-opacity", 0.9);
|
|
444
|
+
legend.append("text").attr("x", lx + 8).attr("y", 3).style("font-size", "10px").style("fill", "#374151").text(item.label);
|
|
445
|
+
}
|
|
446
|
+
for (const p of pairs) {
|
|
447
|
+
const cy = y(p.cohortName) + y.bandwidth() / 2;
|
|
448
|
+
if (p.whole && p.insoluble) {
|
|
449
|
+
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);
|
|
450
|
+
}
|
|
451
|
+
if (p.whole)
|
|
452
|
+
attachEntryBehavior(
|
|
453
|
+
drawMarker(g, x(p.whole.log2fc), cy, WHOLE_COLOR, isSig(p.whole), mr),
|
|
454
|
+
p.whole,
|
|
455
|
+
self
|
|
456
|
+
);
|
|
457
|
+
if (p.insoluble)
|
|
458
|
+
attachEntryBehavior(
|
|
459
|
+
drawMarker(g, x(p.insoluble.log2fc), cy, INSOLUBLE_COLOR, isSig(p.insoluble), mr),
|
|
460
|
+
p.insoluble,
|
|
461
|
+
self
|
|
462
|
+
);
|
|
463
|
+
}
|
|
464
|
+
addSigFootnote(body);
|
|
465
|
+
}
|
|
466
|
+
var brainGradientSeq = 0;
|
|
467
|
+
function getBrainRegionsData(self) {
|
|
468
|
+
const gene = self.state?.config?.tw?.term?.name;
|
|
469
|
+
const [genome, dslabel] = vocabKey(self).split("|");
|
|
470
|
+
return cachedFetch(`brainRegions|${vocabKey(self)}|${gene}`, async () => {
|
|
471
|
+
const data = await dofetch3("termdb/brainRegions", { body: { genome, dslabel, gene } });
|
|
472
|
+
if (data.error) throw data.error;
|
|
473
|
+
const assets = Object.keys(data.isoforms || {}).length ? await cachedFetch(`brainAssets|${data.svgUrl}`, () => loadBrainAssets(data.svgUrl, Object.keys(data.regions))) : null;
|
|
474
|
+
return { data, assets };
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
var brainFcScale = (isoformData, disease) => makeBrainFcScale(isoformData.data[disease] || {});
|
|
478
|
+
function drawBrainForDisease(holder, data, assets, isoform, disease, self, brainW, colorScale) {
|
|
479
|
+
const regionData = data.isoforms[isoform]?.data?.[disease] || {};
|
|
480
|
+
renderBrainSvg({
|
|
481
|
+
holder: holder.append("div"),
|
|
482
|
+
width: brainW,
|
|
483
|
+
templateUrl: data.templateUrl,
|
|
484
|
+
assets,
|
|
485
|
+
regions: data.regions,
|
|
486
|
+
tip: self.dom.tip,
|
|
487
|
+
fillByRegion: brainFillByRegion(regionData, colorScale),
|
|
488
|
+
tooltipByRegion: brainTooltipByRegion(regionData)
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
function drawBrainLegend(holder, colorScale, maxAbsFC, nSig, disease) {
|
|
492
|
+
const legend = holder.append("div").style("margin-top", "6px");
|
|
493
|
+
if (!nSig) {
|
|
494
|
+
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).`);
|
|
495
|
+
return;
|
|
496
|
+
}
|
|
497
|
+
const w = 160;
|
|
498
|
+
const h = 10;
|
|
499
|
+
const svg = legend.append("svg").attr("width", w).attr("height", h + 16);
|
|
500
|
+
const gradientId = `pv-brain-fc-gradient-${brainGradientSeq++}`;
|
|
501
|
+
const gradient = svg.append("defs").append("linearGradient").attr("id", gradientId).attr("x1", "0").attr("y1", "0").attr("x2", "1").attr("y2", "0");
|
|
502
|
+
const steps = 10;
|
|
503
|
+
for (let i = 0; i <= steps; i++) {
|
|
504
|
+
const t = i / steps;
|
|
505
|
+
gradient.append("stop").attr("offset", `${t * 100}%`).attr("stop-color", colorScale(-maxAbsFC + t * 2 * maxAbsFC));
|
|
506
|
+
}
|
|
507
|
+
svg.append("rect").attr("width", w).attr("height", h).attr("fill", `url(#${gradientId})`).attr("stroke", "#d1d5db");
|
|
508
|
+
const labels = [
|
|
509
|
+
[0, `-${maxAbsFC.toFixed(2)}`, "start"],
|
|
510
|
+
[w / 2, "0", "middle"],
|
|
511
|
+
[w, maxAbsFC.toFixed(2), "end"]
|
|
512
|
+
];
|
|
513
|
+
for (const [x, text, anchor] of labels) {
|
|
514
|
+
svg.append("text").attr("x", x).attr("y", h + 12).attr("text-anchor", anchor).style("font-size", "9px").style("fill", "#374151").text(text);
|
|
515
|
+
}
|
|
516
|
+
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})`);
|
|
517
|
+
}
|
|
518
|
+
function renderBrainRegionTile(body, _td, self, _cfg, opts = {}) {
|
|
519
|
+
const expanded = !!opts.expanded;
|
|
520
|
+
const wait = body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Loading\u2026");
|
|
521
|
+
getBrainRegionsData(self).then(({ data, assets }) => {
|
|
522
|
+
wait.remove();
|
|
523
|
+
const isoformIds = Object.keys(data.isoforms || {});
|
|
524
|
+
if (!isoformIds.length || !assets) {
|
|
525
|
+
body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("No brain-region data for this protein.");
|
|
526
|
+
return;
|
|
527
|
+
}
|
|
528
|
+
if (!expanded) {
|
|
529
|
+
const iso = isoformIds[0];
|
|
530
|
+
const tabsHolder2 = body.append("div");
|
|
531
|
+
const brainHolder2 = body.append("div");
|
|
532
|
+
const caption = body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px");
|
|
533
|
+
const redraw2 = (disease) => {
|
|
534
|
+
brainHolder2.selectAll("*").remove();
|
|
535
|
+
const { colorScale, nSig } = brainFcScale(data.isoforms[iso], disease);
|
|
536
|
+
drawBrainForDisease(brainHolder2, data, assets, iso, disease, self, 185, colorScale);
|
|
537
|
+
caption.text(
|
|
538
|
+
nSig ? `red: up \xB7 blue: down \xB7 grey: p \u2265 ${BRAIN_P_THRESHOLD}` : `no region reaches p < ${BRAIN_P_THRESHOLD} in ${disease}`
|
|
539
|
+
);
|
|
540
|
+
};
|
|
541
|
+
if (data.diseases.length > 1) makeDiseaseTabs(tabsHolder2, data.diseases, data.diseases[0], redraw2, ".75em");
|
|
542
|
+
redraw2(data.diseases[0]);
|
|
543
|
+
return;
|
|
544
|
+
}
|
|
545
|
+
const description = self.app.vocabApi.termdbConfig?.queries?.proteome?.brainRegions?.description;
|
|
546
|
+
if (description) {
|
|
547
|
+
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);
|
|
548
|
+
}
|
|
549
|
+
let selectedIso = isoformIds[0];
|
|
550
|
+
let selectedDisease = data.diseases[0];
|
|
551
|
+
const controlRow = body.append("div").style("margin-bottom", "8px").style("font-size", ".85em");
|
|
552
|
+
controlRow.append("span").style("font-weight", "600").text("Isoform: ");
|
|
553
|
+
const tabsHolder = body.append("div");
|
|
554
|
+
const brainHolder = body.append("div");
|
|
555
|
+
const redraw = () => {
|
|
556
|
+
brainHolder.selectAll("*").remove();
|
|
557
|
+
const isoformData = data.isoforms[selectedIso];
|
|
558
|
+
if (!isoformData) return;
|
|
559
|
+
const { colorScale, maxAbsFC, nSig } = brainFcScale(isoformData, selectedDisease);
|
|
560
|
+
drawBrainForDisease(brainHolder, data, assets, selectedIso, selectedDisease, self, 460, colorScale);
|
|
561
|
+
drawBrainLegend(brainHolder, colorScale, maxAbsFC, nSig, selectedDisease);
|
|
562
|
+
};
|
|
563
|
+
if (data.diseases.length > 1) {
|
|
564
|
+
makeDiseaseTabs(
|
|
565
|
+
tabsHolder,
|
|
566
|
+
data.diseases,
|
|
567
|
+
selectedDisease,
|
|
568
|
+
(d) => {
|
|
569
|
+
selectedDisease = d;
|
|
570
|
+
redraw();
|
|
571
|
+
},
|
|
572
|
+
".9em"
|
|
573
|
+
);
|
|
574
|
+
}
|
|
575
|
+
if (isoformIds.length > 1) {
|
|
576
|
+
const sel = controlRow.append("select").style("margin-left", "5px").on("change", () => {
|
|
577
|
+
selectedIso = sel.node().value;
|
|
578
|
+
redraw();
|
|
579
|
+
});
|
|
580
|
+
sel.selectAll("option").data(isoformIds).enter().append("option").attr("value", (d) => d).text((d) => `${data.isoforms[d].gene_name} \u2014 ${d}`);
|
|
581
|
+
} else {
|
|
582
|
+
controlRow.append("span").style("margin-left", "5px").text(`${data.isoforms[selectedIso].gene_name} \u2014 ${selectedIso}`);
|
|
583
|
+
}
|
|
584
|
+
redraw();
|
|
585
|
+
}).catch((err) => {
|
|
586
|
+
wait.style("color", "#b91c1c").text(`Failed to load: ${err?.message || err}`);
|
|
587
|
+
if (self.app?.opts?.debug) console.error(err);
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
function renderMouseModelsTile(body, td, self, cfg, opts = {}) {
|
|
591
|
+
const k = opts.scale || 1;
|
|
592
|
+
const kx = opts.scaleX ?? k;
|
|
593
|
+
const mr = 4 * Math.sqrt(k);
|
|
594
|
+
const tickFont = k < 1 ? "8.5px" : null;
|
|
595
|
+
const aged = /* @__PURE__ */ new Map();
|
|
596
|
+
const singles = [];
|
|
597
|
+
for (const e of entries(td, cfg.key)) {
|
|
598
|
+
const age = e.catalog.ageGroup ? parseAge(e.catalog.ageGroup) : null;
|
|
599
|
+
if (age === null) {
|
|
600
|
+
singles.push(e);
|
|
601
|
+
continue;
|
|
602
|
+
}
|
|
603
|
+
if (!aged.has(e.catalog.model)) aged.set(e.catalog.model, []);
|
|
604
|
+
aged.get(e.catalog.model).push({ age, e });
|
|
605
|
+
}
|
|
606
|
+
for (const pts of aged.values()) pts.sort((a, b) => a.age - b.age);
|
|
607
|
+
const ages = [...new Set([...aged.values()].flatMap((pts) => pts.map((p) => p.age)))].sort((a, b) => a - b);
|
|
608
|
+
const hasAged = ages.length > 0;
|
|
609
|
+
const margin = { top: 20, right: 12, bottom: 36, left: 46 };
|
|
610
|
+
const mainW = hasAged ? 210 * kx : 0;
|
|
611
|
+
const stripGap = singles.length && hasAged ? 18 * kx : 0;
|
|
612
|
+
const stripW = singles.length * 34 * kx;
|
|
613
|
+
const innerH = 150 * k;
|
|
614
|
+
const svg = body.append("svg").attr("width", margin.left + mainW + stripGap + stripW + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
615
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
616
|
+
const values = [];
|
|
617
|
+
for (const pts of aged.values()) for (const p of pts) values.push(p.e.log2fc);
|
|
618
|
+
for (const e of singles) values.push(e.log2fc);
|
|
619
|
+
const x = linear().domain(ages.length > 1 ? [ages[0], ages[ages.length - 1]] : [(ages[0] ?? 0) - 1, (ages[0] ?? 0) + 1]).range([0, mainW]);
|
|
620
|
+
const y = linear().domain(fcDomain(values)).range([innerH, 0]);
|
|
621
|
+
if (hasAged) {
|
|
622
|
+
styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).tickValues(ages), tickFont);
|
|
623
|
+
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");
|
|
624
|
+
}
|
|
625
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(4), tickFont);
|
|
626
|
+
drawZeroLine(g, 0, y(0), mainW + stripGap + stripW, y(0));
|
|
627
|
+
yAxisTitle(svg, innerH, margin.top, cfg.yLabel || "log2FC vs control");
|
|
628
|
+
let legendX = 0;
|
|
629
|
+
for (const model of orderBy([...aged.keys()], modelOrder(self))) {
|
|
630
|
+
const pts = aged.get(model);
|
|
631
|
+
const color = modelColor(self, model);
|
|
632
|
+
const path = line_default().x((p) => x(p.age)).y((p) => y(p.e.log2fc));
|
|
633
|
+
g.append("path").attr("d", path(pts)).attr("fill", "none").attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-opacity", 0.75);
|
|
634
|
+
for (const p of pts)
|
|
635
|
+
attachEntryBehavior(drawMarker(g, x(p.age), y(p.e.log2fc), color, isSig(p.e), mr), p.e, self);
|
|
636
|
+
g.append("text").attr("x", legendX).attr("y", -8).style("font-size", "10px").style("font-weight", "600").style("fill", color).text(model);
|
|
637
|
+
legendX += 52;
|
|
638
|
+
}
|
|
639
|
+
if (singles.length) {
|
|
640
|
+
const stripX0 = mainW + stripGap;
|
|
641
|
+
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");
|
|
642
|
+
for (const [i, e] of singles.entries()) {
|
|
643
|
+
const cx = stripX0 + i * 34 * kx + 17 * kx;
|
|
644
|
+
attachEntryBehavior(drawMarker(g, cx, y(e.log2fc), SINGLE_MODEL_COLOR, isSig(e), mr), e, self);
|
|
645
|
+
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);
|
|
646
|
+
if (kx < 0.6) lbl.attr("transform", `rotate(-38 ${cx} ${innerH + 14})`).attr("text-anchor", "end");
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
addSigFootnote(body);
|
|
650
|
+
}
|
|
651
|
+
function renderCellTypesTile(body, td, self, cfg, opts = {}) {
|
|
652
|
+
const k = opts.scale || 1;
|
|
653
|
+
const kx = opts.scaleX ?? k;
|
|
654
|
+
const all = entries(td, cfg.key);
|
|
655
|
+
const models = orderBy([...new Set(all.map((e) => e.catalog.model))], modelOrder(self));
|
|
656
|
+
const cellTypes = orderBy([...new Set(all.map((e) => e.catalog.cellType))], Object.keys(cellTypeCfg(self)));
|
|
657
|
+
const agesByModel = /* @__PURE__ */ new Map();
|
|
658
|
+
for (const m of models) {
|
|
659
|
+
const ages = [...new Set(all.filter((e) => e.catalog.model === m).map((e) => e.catalog.ageGroup))].sort(byAge);
|
|
660
|
+
agesByModel.set(m, ages);
|
|
661
|
+
}
|
|
662
|
+
const CELL_W = 34 * kx;
|
|
663
|
+
const CELL_H = 28 * k;
|
|
664
|
+
const ROW_LABEL_W = 82;
|
|
665
|
+
const MODEL_GAP = 12 * kx;
|
|
666
|
+
const HEADER_H = 34;
|
|
667
|
+
const colX = /* @__PURE__ */ new Map();
|
|
668
|
+
let xCursor = 0;
|
|
669
|
+
const modelSpans = [];
|
|
670
|
+
for (const m of models) {
|
|
671
|
+
const x0 = xCursor;
|
|
672
|
+
for (const a of agesByModel.get(m)) {
|
|
673
|
+
colX.set(`${m}|${a}`, xCursor + CELL_W / 2);
|
|
674
|
+
xCursor += CELL_W;
|
|
675
|
+
}
|
|
676
|
+
modelSpans.push({ model: m, x0, x1: xCursor });
|
|
677
|
+
xCursor += MODEL_GAP;
|
|
678
|
+
}
|
|
679
|
+
const gridW = xCursor - MODEL_GAP;
|
|
680
|
+
const gridH = cellTypes.length * CELL_H;
|
|
681
|
+
const svg = body.append("svg").attr("width", ROW_LABEL_W + gridW + 10).attr("height", HEADER_H + gridH + 8);
|
|
682
|
+
const g = svg.append("g").attr("transform", `translate(${ROW_LABEL_W},${HEADER_H})`);
|
|
683
|
+
for (const span of modelSpans) {
|
|
684
|
+
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);
|
|
685
|
+
}
|
|
686
|
+
for (const [key, cx] of colX) {
|
|
687
|
+
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]);
|
|
688
|
+
}
|
|
689
|
+
for (const [i, ct] of cellTypes.entries()) {
|
|
690
|
+
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);
|
|
691
|
+
}
|
|
692
|
+
const maxAbsFc = Math.max(1, ...all.map((e) => Math.abs(e.log2fc)));
|
|
693
|
+
const colorScale = linear().domain([-maxAbsFc, 0, maxAbsFc]).range([FC_NEG_COLOR, FC_ZERO_COLOR, FC_POS_COLOR]);
|
|
694
|
+
const NEG_LOG_P_CAP = 10;
|
|
695
|
+
const rScale = sqrt().domain([0, NEG_LOG_P_CAP]).range([3 * k, Math.min(11 * k, CELL_W / 2 - 0.5)]);
|
|
696
|
+
for (const e of all) {
|
|
697
|
+
const cx = colX.get(`${e.catalog.model}|${e.catalog.ageGroup}`);
|
|
698
|
+
const row = cellTypes.indexOf(e.catalog.cellType);
|
|
699
|
+
if (cx === void 0 || row < 0) continue;
|
|
700
|
+
const negLogP = e.fdr === null ? 0 : Math.min(NEG_LOG_P_CAP, -Math.log10(Math.max(e.fdr, 1e-300)));
|
|
701
|
+
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);
|
|
702
|
+
attachEntryBehavior(circle, e, self);
|
|
703
|
+
}
|
|
704
|
+
const foot = body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px");
|
|
705
|
+
foot.style("max-width", "100%");
|
|
706
|
+
foot.append("span").text(`color: log2FC (purple down, blue up) \xB7 size: \u2212log10(FDR) \xB7 outline: FDR < ${SIG_P}`);
|
|
707
|
+
for (const ct of cellTypes) {
|
|
708
|
+
const note = cellTypeCfg(self)[ct]?.note;
|
|
709
|
+
if (note) foot.append("div").text(note);
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
function renderPlaqueTile(body, td, self, cfg, opts = {}) {
|
|
713
|
+
const k = opts.scale || 1;
|
|
714
|
+
const kx = opts.scaleX ?? k;
|
|
715
|
+
const mr = 4 * Math.sqrt(k);
|
|
716
|
+
const tickFont = k < 1 ? "8.5px" : null;
|
|
717
|
+
const all = entries(td, cfg.key);
|
|
718
|
+
const series = all.filter((e) => e.catalog.ageGroup && e.catalog.model);
|
|
719
|
+
const reference = all.filter((e) => !(e.catalog.ageGroup && e.catalog.model));
|
|
720
|
+
const refLabel = (e) => e.organism.charAt(0).toUpperCase() + e.organism.slice(1);
|
|
721
|
+
const ages = [...new Set(series.map((e) => e.catalog.ageGroup))].sort(byAge);
|
|
722
|
+
const refCategories = [...new Set(reference.map(refLabel))];
|
|
723
|
+
const categories = [...ages, ...refCategories];
|
|
724
|
+
const margin = { top: 20, right: 14, bottom: 36, left: 46 };
|
|
725
|
+
const innerW = Math.max(180, categories.length * 52) * kx;
|
|
726
|
+
const innerH = 140 * k;
|
|
727
|
+
const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
728
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
729
|
+
const x = point().domain(categories).range([0, innerW]).padding(0.5);
|
|
730
|
+
const y = linear().domain(fcDomain(all.map((e) => e.log2fc))).range([innerH, 0]);
|
|
731
|
+
const xAxisG = styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x), tickFont);
|
|
732
|
+
if (kx < 0.6) rotateXTicks(xAxisG);
|
|
733
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(4), tickFont);
|
|
734
|
+
drawZeroLine(g, 0, y(0), innerW, y(0));
|
|
735
|
+
yAxisTitle(svg, innerH, margin.top, cfg.yLabel || "log2FC vs control");
|
|
736
|
+
if (kx >= 0.6) {
|
|
737
|
+
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");
|
|
738
|
+
}
|
|
739
|
+
if (refCategories.length && ages.length) {
|
|
740
|
+
const xSep = (x(ages[ages.length - 1]) + x(refCategories[0])) / 2;
|
|
741
|
+
g.append("line").attr("x1", xSep).attr("x2", xSep).attr("y1", 0).attr("y2", innerH).attr("stroke", "#d1d5db").attr("stroke-dasharray", "2 3");
|
|
742
|
+
}
|
|
743
|
+
const models = orderBy([...new Set(series.map((e) => e.catalog.model))], modelOrder(self));
|
|
744
|
+
let legendX = 0;
|
|
745
|
+
for (const model of models) {
|
|
746
|
+
const color = modelColor(self, model);
|
|
747
|
+
const pts = series.filter((e) => e.catalog.model === model).sort((a, b) => byAge(a.catalog.ageGroup, b.catalog.ageGroup));
|
|
748
|
+
const path = line_default().x((e) => x(e.catalog.ageGroup)).y((e) => y(e.log2fc));
|
|
749
|
+
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);
|
|
750
|
+
for (const e of pts)
|
|
751
|
+
attachEntryBehavior(drawMarker(g, x(e.catalog.ageGroup), y(e.log2fc), color, isSig(e), mr), e, self);
|
|
752
|
+
g.append("text").attr("x", legendX).attr("y", -8).style("font-size", "10px").style("font-weight", "600").style("fill", color).text(model);
|
|
753
|
+
legendX += 52;
|
|
754
|
+
}
|
|
755
|
+
for (const e of reference) {
|
|
756
|
+
const cx = x(refLabel(e));
|
|
757
|
+
const cy = y(e.log2fc);
|
|
758
|
+
const r = 5.5 * Math.sqrt(k);
|
|
759
|
+
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);
|
|
760
|
+
attachEntryBehavior(diamond, e, self);
|
|
761
|
+
}
|
|
762
|
+
addSigFootnote(body);
|
|
763
|
+
}
|
|
764
|
+
function getGeneRanks(self) {
|
|
765
|
+
const gene = self.state?.config?.tw?.term?.name;
|
|
766
|
+
const [genome, dslabel] = vocabKey(self).split("|");
|
|
767
|
+
return cachedFetch(`geneRanks|${vocabKey(self)}|${gene}`, async () => {
|
|
768
|
+
const data = await dofetch3("termdb/geneRanking", { body: { genome, dslabel, gene } });
|
|
769
|
+
if (data.error) throw data.error;
|
|
770
|
+
return data.geneRanks || {};
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
var rankColor = linear().domain([0, 0.1, 1]).range(["#1d4ed8", "#93c5fd", "#f3f4f6"]).clamp(true);
|
|
774
|
+
function renderMultiomicRankTile(body, _td, self, _cfg, opts = {}) {
|
|
775
|
+
const expanded = !!opts.expanded;
|
|
776
|
+
const rankCfg = self.app.vocabApi.termdbConfig?.queries?.geneRanking || {};
|
|
777
|
+
const modalities = rankCfg.modalities || [];
|
|
778
|
+
const integrativeColumn = rankCfg.integrativeColumn;
|
|
779
|
+
const statColumns = rankCfg.statColumns || [];
|
|
780
|
+
const rankingLabel = (key) => rankCfg.labels?.[key] || key;
|
|
781
|
+
const wait = body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Loading\u2026");
|
|
782
|
+
getGeneRanks(self).then((geneRanks) => {
|
|
783
|
+
wait.remove();
|
|
784
|
+
const keys = Object.keys(geneRanks);
|
|
785
|
+
const ranked = keys.filter((k) => geneRanks[k].row);
|
|
786
|
+
if (!ranked.length) {
|
|
787
|
+
body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Not present in the multiomic rankings.");
|
|
788
|
+
return;
|
|
789
|
+
}
|
|
790
|
+
const fmt = (n) => n.toLocaleString();
|
|
791
|
+
if (expanded) {
|
|
792
|
+
const description = self.app.vocabApi.termdbConfig?.queries?.geneRanking?.description;
|
|
793
|
+
if (description) {
|
|
794
|
+
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);
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
for (const key of keys) {
|
|
798
|
+
const r = geneRanks[key];
|
|
799
|
+
const colIdx = new Map(r.columns.map((c, i) => [c, i]));
|
|
800
|
+
const intIdx = integrativeColumn ? colIdx.get(integrativeColumn) : void 0;
|
|
801
|
+
const intRank = r.row && intIdx !== void 0 ? r.row[intIdx] : null;
|
|
802
|
+
const section = body.append("div").style("margin-bottom", expanded ? "12px" : "6px");
|
|
803
|
+
const head = section.append("div").style("display", "flex").style("align-items", "baseline").style("gap", "6px").style("font-size", expanded ? ".9em" : ".8em");
|
|
804
|
+
head.append("span").style("font-weight", "600").style("color", "#374151").text(rankingLabel(key));
|
|
805
|
+
if (!r.row) {
|
|
806
|
+
head.append("span").style("color", "#9ca3af").text("not ranked");
|
|
807
|
+
continue;
|
|
808
|
+
}
|
|
809
|
+
head.append("span").style("color", typeof intRank === "number" ? "#111827" : "#9ca3af").text(typeof intRank === "number" ? `#${fmt(intRank)} of ${fmt(r.counts[intIdx])}` : "no integrative rank");
|
|
810
|
+
const mods = modalities.filter((m) => colIdx.has(m));
|
|
811
|
+
if (!expanded) {
|
|
812
|
+
const strip = section.append("div").style("display", "flex").style("gap", "2px").style("margin-top", "2px");
|
|
813
|
+
for (const m of mods) {
|
|
814
|
+
const c = colIdx.get(m);
|
|
815
|
+
const v = r.row[c];
|
|
816
|
+
const n = r.counts[c];
|
|
817
|
+
const pct = typeof v === "number" && n ? (v - 1) / Math.max(1, n - 1) : null;
|
|
818
|
+
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");
|
|
819
|
+
}
|
|
820
|
+
continue;
|
|
821
|
+
}
|
|
822
|
+
const tbl = table2col({ holder: section.append("table") });
|
|
823
|
+
for (const m of mods) {
|
|
824
|
+
const c = colIdx.get(m);
|
|
825
|
+
const v = r.row[c];
|
|
826
|
+
const n = r.counts[c];
|
|
827
|
+
const pctTop = typeof v === "number" ? 100 * v / n : null;
|
|
828
|
+
const pctText = pctTop === null ? "" : ` (top ${pctTop < 0.1 ? pctTop.toFixed(2) : pctTop.toFixed(1)}%)`;
|
|
829
|
+
tbl.addRow(m, typeof v === "number" ? `#${fmt(v)} of ${fmt(n)}${pctText}` : "not ranked");
|
|
830
|
+
}
|
|
831
|
+
for (const extra of statColumns) {
|
|
832
|
+
const c = colIdx.get(extra);
|
|
833
|
+
if (c === void 0) continue;
|
|
834
|
+
const v = r.row[c];
|
|
835
|
+
tbl.addRow(extra, typeof v === "number" ? v < 1e-3 && v > 0 ? v.toExponential(2) : String(v) : "NA");
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
if (!expanded) {
|
|
839
|
+
const foot = body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "4px");
|
|
840
|
+
foot.text("strip: one cell per modality, darker = ranked higher \xB7 hover for ranks");
|
|
841
|
+
}
|
|
842
|
+
}).catch((err) => {
|
|
843
|
+
wait.style("color", "#b91c1c").text(`Failed to load: ${err?.message || err}`);
|
|
844
|
+
if (self.app?.opts?.debug) console.error(err);
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
function getConcordance(self, x, y) {
|
|
848
|
+
const [genome, dslabel] = vocabKey(self).split("|");
|
|
849
|
+
const refKey = (r) => `${r.organism}|${r.assay}|${r.cohort}`;
|
|
850
|
+
return cachedFetch(`dapConcordance|${vocabKey(self)}|${refKey(x)}|${refKey(y)}`, async () => {
|
|
851
|
+
const data = await dofetch3("termdb/dapVolcano", {
|
|
852
|
+
body: {
|
|
853
|
+
genome,
|
|
854
|
+
dslabel,
|
|
855
|
+
organism: x.organism,
|
|
856
|
+
assay: x.assay,
|
|
857
|
+
cohort: x.cohort,
|
|
858
|
+
concordanceWith: { organism: y.organism, assay: y.assay, cohort: y.cohort }
|
|
859
|
+
}
|
|
860
|
+
});
|
|
861
|
+
if (data.error) throw data.error;
|
|
862
|
+
return data.concordance;
|
|
863
|
+
});
|
|
864
|
+
}
|
|
865
|
+
function findPairCohort(self, side, age) {
|
|
866
|
+
const organisms = self.app?.vocabApi?.termdbConfig?.queries?.proteome?.organisms || {};
|
|
867
|
+
for (const organism in organisms) {
|
|
868
|
+
const assays = organisms[organism]?.assays || {};
|
|
869
|
+
for (const assay in assays) {
|
|
870
|
+
for (const cohort in assays[assay].cohorts || {}) {
|
|
871
|
+
const c = assays[assay].cohorts[cohort];
|
|
872
|
+
if (!c.DAPfile || !c.catalog) continue;
|
|
873
|
+
if (!cohortMatches(side, organism, assay, c.catalog)) continue;
|
|
874
|
+
if (side.ageVaries && c.catalog.ageGroup !== age) continue;
|
|
875
|
+
const label = side.ageVaries ? `${side.label} ${age}` : side.label;
|
|
876
|
+
return { organism, assay, cohort, label };
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
return null;
|
|
881
|
+
}
|
|
882
|
+
function concordanceAges(self, cfg) {
|
|
883
|
+
const organisms = self.app?.vocabApi?.termdbConfig?.queries?.proteome?.organisms || {};
|
|
884
|
+
const sides = (cfg.pairs || []).flatMap((p) => [p.x, p.y]).filter((sd) => sd.ageVaries);
|
|
885
|
+
const ages = /* @__PURE__ */ new Set();
|
|
886
|
+
for (const organism in organisms) {
|
|
887
|
+
const assays = organisms[organism]?.assays || {};
|
|
888
|
+
for (const assay in assays) {
|
|
889
|
+
for (const cohort in assays[assay].cohorts || {}) {
|
|
890
|
+
const c = assays[assay].cohorts[cohort];
|
|
891
|
+
if (!c.DAPfile || !c.catalog?.ageGroup) continue;
|
|
892
|
+
if (sides.some((sd) => cohortMatches(sd, organism, assay, c.catalog))) ages.add(c.catalog.ageGroup);
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
return [...ages].sort(byAge);
|
|
897
|
+
}
|
|
898
|
+
function defaultConcordanceAge(self, cfg) {
|
|
899
|
+
const ages = concordanceAges(self, cfg);
|
|
900
|
+
if (cfg.defaultAge && ages.includes(cfg.defaultAge)) return cfg.defaultAge;
|
|
901
|
+
return ages[0] || cfg.defaultAge || "";
|
|
902
|
+
}
|
|
903
|
+
function concordancePairs(self, cfg, age = defaultConcordanceAge(self, cfg)) {
|
|
904
|
+
const pairs = [];
|
|
905
|
+
for (const p of cfg.pairs || []) {
|
|
906
|
+
const x = findPairCohort(self, p.x, age);
|
|
907
|
+
const y = findPairCohort(self, p.y, age);
|
|
908
|
+
if (x && y) pairs.push({ key: p.key, label: p.label, x, y });
|
|
909
|
+
}
|
|
910
|
+
return pairs;
|
|
911
|
+
}
|
|
912
|
+
async function drawConcordance(holder, self, pair, gene, expanded) {
|
|
913
|
+
const { points: pts, r: R, p: P } = await getConcordance(self, pair.x, pair.y);
|
|
914
|
+
const target = gene.toUpperCase();
|
|
915
|
+
const hit = pts.find((p) => p.gene === target);
|
|
916
|
+
const margin = expanded ? { top: 14, right: 16, bottom: 44, left: 52 } : { top: 8, right: 10, bottom: 32, left: 38 };
|
|
917
|
+
const innerW = expanded ? 380 : 150;
|
|
918
|
+
const innerH = expanded ? 320 : 118;
|
|
919
|
+
const svg = holder.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
920
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
921
|
+
const x = linear().domain(fcDomain(pts.map((p) => p.x))).range([0, innerW]);
|
|
922
|
+
const y = linear().domain(fcDomain(pts.map((p) => p.y))).range([innerH, 0]);
|
|
923
|
+
const tickFont = expanded ? null : "8.5px";
|
|
924
|
+
styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).ticks(expanded ? 6 : 4), tickFont);
|
|
925
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(expanded ? 6 : 4), tickFont);
|
|
926
|
+
drawZeroLine(g, x(0), 0, x(0), innerH);
|
|
927
|
+
drawZeroLine(g, 0, y(0), innerW, y(0));
|
|
928
|
+
yAxisTitle(svg, innerH, margin.top, `${pair.y.label} log2FC`);
|
|
929
|
+
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`);
|
|
930
|
+
for (const p of pts) {
|
|
931
|
+
if (p === hit) continue;
|
|
932
|
+
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);
|
|
933
|
+
}
|
|
934
|
+
if (hit) {
|
|
935
|
+
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);
|
|
936
|
+
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);
|
|
937
|
+
}
|
|
938
|
+
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()}`);
|
|
939
|
+
if (!hit) {
|
|
940
|
+
holder.append("div").style("font-size", ".72em").style("color", "#9ca3af").text(`${gene} is not quantified in both datasets`);
|
|
941
|
+
} else if (expanded) {
|
|
942
|
+
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)}`);
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
function renderConcordanceTile(body, _td, self, cfg, opts = {}) {
|
|
946
|
+
const expanded = !!opts.expanded;
|
|
947
|
+
const gene = self.state?.config?.tw?.term?.name || "";
|
|
948
|
+
let age = defaultConcordanceAge(self, cfg);
|
|
949
|
+
let pairs = concordancePairs(self, cfg, age);
|
|
950
|
+
if (!pairs.length) return;
|
|
951
|
+
let pair = pairs[0];
|
|
952
|
+
const controls = body.append("div").style("display", "flex").style("align-items", "center").style("gap", "12px");
|
|
953
|
+
const tabsHolder = controls.append("div");
|
|
954
|
+
const plotHolder = body.append("div");
|
|
955
|
+
let generation = 0;
|
|
956
|
+
const redraw = () => {
|
|
957
|
+
const gen = ++generation;
|
|
958
|
+
plotHolder.selectAll("*").remove();
|
|
959
|
+
const wait = plotHolder.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Loading\u2026");
|
|
960
|
+
const target = plotHolder.append("div");
|
|
961
|
+
drawConcordance(target, self, pair, gene, expanded).then(() => {
|
|
962
|
+
if (gen !== generation) target.remove();
|
|
963
|
+
else wait.remove();
|
|
964
|
+
}).catch((err) => {
|
|
965
|
+
if (gen !== generation) return;
|
|
966
|
+
wait.style("color", "#b91c1c").text(`Failed to load: ${err?.message || err}`);
|
|
967
|
+
if (self.app?.opts?.debug) console.error(err);
|
|
968
|
+
});
|
|
969
|
+
};
|
|
970
|
+
const makeTabs = () => {
|
|
971
|
+
tabsHolder.selectAll("*").remove();
|
|
972
|
+
if (pairs.length < 2) return;
|
|
973
|
+
makeDiseaseTabs(
|
|
974
|
+
tabsHolder,
|
|
975
|
+
pairs.map((p) => p.label),
|
|
976
|
+
pair.label,
|
|
977
|
+
(label) => {
|
|
978
|
+
pair = pairs.find((p) => p.label === label) || pairs[0];
|
|
979
|
+
redraw();
|
|
980
|
+
},
|
|
981
|
+
".9em"
|
|
982
|
+
);
|
|
983
|
+
};
|
|
984
|
+
if (expanded) {
|
|
985
|
+
makeTabs();
|
|
986
|
+
const ages = concordanceAges(self, cfg);
|
|
987
|
+
if (ages.length > 1) {
|
|
988
|
+
const ageDiv = controls.append("div").style("font-size", ".85em").style("color", "#374151");
|
|
989
|
+
ageDiv.append("span").text("Age: ");
|
|
990
|
+
const sel = ageDiv.append("select").style("font-size", "inherit");
|
|
991
|
+
for (const a of ages)
|
|
992
|
+
sel.append("option").attr("value", a).property("selected", a === age).text(a);
|
|
993
|
+
sel.on("change", () => {
|
|
994
|
+
age = sel.property("value");
|
|
995
|
+
const next = concordancePairs(self, cfg, age);
|
|
996
|
+
if (!next.length) {
|
|
997
|
+
plotHolder.selectAll("*").remove();
|
|
998
|
+
plotHolder.append("div").style("font-size", ".8em").style("color", "#9ca3af").text(`No cohorts at ${age}`);
|
|
999
|
+
tabsHolder.selectAll("*").remove();
|
|
1000
|
+
return;
|
|
1001
|
+
}
|
|
1002
|
+
pairs = next;
|
|
1003
|
+
pair = pairs.find((p) => p.key === pair.key) || pairs[0];
|
|
1004
|
+
makeTabs();
|
|
1005
|
+
redraw();
|
|
1006
|
+
});
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
redraw();
|
|
1010
|
+
if (!expanded) {
|
|
1011
|
+
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`);
|
|
1012
|
+
} else if (cfg.note) {
|
|
1013
|
+
body.append("div").style("font-size", ".75em").style("color", "#9ca3af").style("margin-top", "6px").text(cfg.note);
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
var TILE_RENDERERS = {
|
|
1017
|
+
crossDisease: {
|
|
1018
|
+
has: (td, _s, cfg) => new Set(entries(td, cfg.key).map((e) => e.disease || e.cohortName)).size >= 2,
|
|
1019
|
+
render: renderCrossDiseaseTile
|
|
1020
|
+
},
|
|
1021
|
+
insoluble: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 1, render: renderInsolubleTile },
|
|
1022
|
+
brainRegions: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 2, render: renderBrainRegionTile },
|
|
1023
|
+
mouseModels: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 2, render: renderMouseModelsTile },
|
|
1024
|
+
cellTypes: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 2, render: renderCellTypesTile },
|
|
1025
|
+
plaque: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 1, render: renderPlaqueTile },
|
|
1026
|
+
multiomicRank: {
|
|
1027
|
+
// available whenever the dataset ships rankings; the gene may still be absent
|
|
1028
|
+
has: (_td, self) => !!self?.app?.vocabApi?.termdbConfig?.queries?.geneRanking?.rankings,
|
|
1029
|
+
render: renderMultiomicRankTile
|
|
1030
|
+
},
|
|
1031
|
+
concordance: { has: (_td, self, cfg) => concordancePairs(self, cfg).length > 0, render: renderConcordanceTile }
|
|
1032
|
+
// 'ptm' is rendered by renderPTMSummaryCard from site-level data, not here
|
|
1033
|
+
};
|
|
1034
|
+
function configuredTiles(self) {
|
|
1035
|
+
const out = [];
|
|
1036
|
+
for (const cfg of getTileConfigs(self)) {
|
|
1037
|
+
const r = TILE_RENDERERS[cfg.key];
|
|
1038
|
+
if (!r) continue;
|
|
1039
|
+
out.push({ ...cfg, ...r });
|
|
1040
|
+
}
|
|
1041
|
+
return out;
|
|
1042
|
+
}
|
|
1043
|
+
function renderTileError(holder, err, self) {
|
|
1044
|
+
holder.append("div").style("color", "#b91c1c").style("font-size", ".8em").text(`Failed to render: ${err?.message || err}`);
|
|
1045
|
+
if (self?.app?.opts?.debug) console.error(err);
|
|
1046
|
+
}
|
|
1047
|
+
function renderExpandedTile(holder, tile, td, self) {
|
|
1048
|
+
try {
|
|
1049
|
+
tile.render(holder.append("div"), td, self, tile, { scale: EXPANDED_SCALE, expanded: true });
|
|
1050
|
+
} catch (err) {
|
|
1051
|
+
renderTileError(holder, err, self);
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
function renderStudyTiles(grid, td, self) {
|
|
1055
|
+
const missing = [];
|
|
1056
|
+
for (const tile of configuredTiles(self)) {
|
|
1057
|
+
if (!tile.has(td, self, tile)) {
|
|
1058
|
+
missing.push(tile);
|
|
1059
|
+
continue;
|
|
1060
|
+
}
|
|
1061
|
+
const body = makeTileCard(grid, {
|
|
1062
|
+
title: tile.title,
|
|
1063
|
+
subtitle: tile.subtitle,
|
|
1064
|
+
uniform: true,
|
|
1065
|
+
expand: { render: (holder) => renderExpandedTile(holder, tile, td, self), ...tileExpandState(self, tile.key) }
|
|
1066
|
+
});
|
|
1067
|
+
try {
|
|
1068
|
+
tile.render(body, td, self, tile, { scale: TILE_FACE_SCALE, scaleX: TILE_FACE_SCALE_X });
|
|
1069
|
+
} catch (err) {
|
|
1070
|
+
renderTileError(body, err, self);
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
return { missing };
|
|
1074
|
+
}
|
|
1075
|
+
function renderPlaceholderTiles(grid, tiles) {
|
|
1076
|
+
for (const tile of tiles) {
|
|
1077
|
+
const body = makeTileCard(grid, { title: tile.title, disabled: true, uniform: true });
|
|
1078
|
+
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");
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
var PTM_FALLBACK_PALETTE = ["#d7301f", "#2166ac", "#1b9e77", "#7570b3", "#e6ab02"];
|
|
1082
|
+
function firstModSitePos(modSites) {
|
|
1083
|
+
const m = /[A-Za-z](\d+)/.exec(modSites || "");
|
|
1084
|
+
if (!m) return null;
|
|
1085
|
+
const pos = Number(m[1]);
|
|
1086
|
+
return Number.isInteger(pos) && pos >= 1 ? pos : null;
|
|
1087
|
+
}
|
|
1088
|
+
function renderOverviewVolcanoCard(grid, data, self, opts) {
|
|
1089
|
+
const pts = [];
|
|
1090
|
+
for (const e of data?.cohorts || []) {
|
|
1091
|
+
if (e.PTMType) continue;
|
|
1092
|
+
const log2fc = getLog2Ratio(e.foldChange);
|
|
1093
|
+
const p = Number(e.fdr);
|
|
1094
|
+
if (log2fc === null || !Number.isFinite(p) || p <= 0) continue;
|
|
1095
|
+
pts.push({ x: log2fc, y: -Math.log10(Math.max(p, 1e-300)), sig: p < SIG_P });
|
|
1096
|
+
}
|
|
1097
|
+
const body = makeTileCard(grid, {
|
|
1098
|
+
title: "All sample sets",
|
|
1099
|
+
subtitle: "log2FC vs significance, every cohort",
|
|
1100
|
+
uniform: true,
|
|
1101
|
+
expand: { render: opts.onExpandRender, ...tileExpandState(self, "volcano") }
|
|
1102
|
+
});
|
|
1103
|
+
if (!pts.length) {
|
|
1104
|
+
body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("No protein-level data.");
|
|
1105
|
+
return;
|
|
1106
|
+
}
|
|
1107
|
+
const margin = { top: 8, right: 10, bottom: 32, left: 38 };
|
|
1108
|
+
const innerW = 156;
|
|
1109
|
+
const innerH = 118;
|
|
1110
|
+
const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
|
|
1111
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
1112
|
+
const x = linear().domain(fcDomain(pts.map((p) => p.x))).range([0, innerW]);
|
|
1113
|
+
const y = linear().domain([0, Math.max(2, ...pts.map((p) => p.y)) * 1.05]).range([innerH, 0]);
|
|
1114
|
+
styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).ticks(4), "8.5px");
|
|
1115
|
+
styledAxis(g.append("g"), axisLeft(y).ticks(4), "8.5px");
|
|
1116
|
+
drawZeroLine(g, x(0), 0, x(0), innerH);
|
|
1117
|
+
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);
|
|
1118
|
+
yAxisTitle(svg, innerH, margin.top, "\u2212log\u2081\u2080(FDR)");
|
|
1119
|
+
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");
|
|
1120
|
+
for (const p of pts) {
|
|
1121
|
+
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);
|
|
1122
|
+
}
|
|
1123
|
+
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`);
|
|
1124
|
+
}
|
|
1125
|
+
function renderPTMSummaryCard(grid, ptmEntries, self, opts) {
|
|
1126
|
+
if (!ptmEntries?.length) return;
|
|
1127
|
+
const cfg = getTileConfig(self, "ptm");
|
|
1128
|
+
const title = cfg?.title || "PTM sites";
|
|
1129
|
+
const body = makeTileCard(grid, {
|
|
1130
|
+
title,
|
|
1131
|
+
subtitle: cfg?.subtitle || "Site-level log2FC along the protein",
|
|
1132
|
+
uniform: true,
|
|
1133
|
+
expand: { render: opts.onExpandRender, ...tileExpandState(self, "ptm") }
|
|
1134
|
+
});
|
|
1135
|
+
const byOrganism = /* @__PURE__ */ new Map();
|
|
1136
|
+
const typeCounts = /* @__PURE__ */ new Map();
|
|
1137
|
+
for (const e of ptmEntries) {
|
|
1138
|
+
const pos = firstModSitePos(e.modSites);
|
|
1139
|
+
const log2fc = getLog2Ratio(e.foldChange);
|
|
1140
|
+
const mclass = Object.values(e.mclassOverride || {})[0];
|
|
1141
|
+
const existing = typeCounts.get(e.PTMType);
|
|
1142
|
+
const color = existing?.color || mclass?.color || PTM_FALLBACK_PALETTE[typeCounts.size % PTM_FALLBACK_PALETTE.length];
|
|
1143
|
+
const tc = existing || { count: 0, color };
|
|
1144
|
+
tc.count++;
|
|
1145
|
+
typeCounts.set(e.PTMType, tc);
|
|
1146
|
+
if (pos === null || log2fc === null) continue;
|
|
1147
|
+
const p = Number(e.fdr);
|
|
1148
|
+
const entry = {
|
|
1149
|
+
organism: e.organism,
|
|
1150
|
+
assayName: e.assayName,
|
|
1151
|
+
cohortName: e.cohortName,
|
|
1152
|
+
disease: e.disease,
|
|
1153
|
+
uniqueIdentifier: e.uniqueIdentifier,
|
|
1154
|
+
proteinAccession: e.proteinAccession,
|
|
1155
|
+
log2fc,
|
|
1156
|
+
fdr: Number.isFinite(p) && p > 0 ? p : null,
|
|
1157
|
+
testedN: Number(e.testedN) || 0,
|
|
1158
|
+
controlN: Number(e.controlN) || 0,
|
|
1159
|
+
isoformCount: 1,
|
|
1160
|
+
catalog: catalogForEntry(self, e) || {},
|
|
1161
|
+
ptmType: e.PTMType,
|
|
1162
|
+
modSites: e.modSites
|
|
1163
|
+
};
|
|
1164
|
+
const arr = byOrganism.get(e.organism) || [];
|
|
1165
|
+
arr.push({ pos, log2fc, color, entry });
|
|
1166
|
+
byOrganism.set(e.organism, arr);
|
|
1167
|
+
}
|
|
1168
|
+
const stripW = 152;
|
|
1169
|
+
const stripH = 46;
|
|
1170
|
+
const labelW = 46;
|
|
1171
|
+
for (const [organism, points] of byOrganism) {
|
|
1172
|
+
const maxPos = Math.max(...points.map((p) => p.pos)) * 1.05;
|
|
1173
|
+
const maxAbs = Math.max(0.2, ...points.map((p) => Math.abs(p.log2fc)));
|
|
1174
|
+
const row = body.append("div").style("display", "flex").style("align-items", "center").style("gap", "4px");
|
|
1175
|
+
row.append("span").style("flex", `0 0 ${labelW}px`).style("font-size", ".7em").style("color", "#6b7280").text(organism);
|
|
1176
|
+
const svg = row.append("svg").attr("width", stripW).attr("height", stripH);
|
|
1177
|
+
const x = linear().domain([0, maxPos]).range([4, stripW - 4]);
|
|
1178
|
+
const y = linear().domain([-maxAbs, maxAbs]).range([stripH - 4, 4]);
|
|
1179
|
+
svg.append("line").attr("x1", 0).attr("x2", stripW).attr("y1", y(0)).attr("y2", y(0)).attr("stroke", "#e5e7eb");
|
|
1180
|
+
for (const p of points) {
|
|
1181
|
+
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);
|
|
1182
|
+
attachEntryBehavior(
|
|
1183
|
+
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),
|
|
1184
|
+
p.entry,
|
|
1185
|
+
self
|
|
1186
|
+
);
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
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");
|
|
1190
|
+
for (const [type, tc] of typeCounts) {
|
|
1191
|
+
const item = foot.append("span").style("display", "inline-flex").style("align-items", "center").style("gap", "4px");
|
|
1192
|
+
item.append("span").style("display", "inline-block").style("width", "7px").style("height", "7px").style("border-radius", "50%").style("background", tc.color);
|
|
1193
|
+
item.append("span").text(`${tc.count} ${type}`);
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
function renderCoverageLine(holder, td) {
|
|
1197
|
+
const parts = [`${td.cohortCount} sample set${td.cohortCount === 1 ? "" : "s"}`];
|
|
1198
|
+
if (td.ptmSiteCount) parts.push(`${td.ptmSiteCount} PTM site measurement${td.ptmSiteCount === 1 ? "" : "s"}`);
|
|
1199
|
+
if (td.isoformCount > 1) parts.push(`${td.isoformCount} isoforms (tiles show the most significant per sample set)`);
|
|
1200
|
+
holder.append("div").style("font-size", ".8em").style("color", "#6b7280").style("margin-bottom", "4px").text(parts.join(" \xB7 "));
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
export {
|
|
1204
|
+
getTileConfig,
|
|
1205
|
+
orderBy,
|
|
1206
|
+
getLog2Ratio,
|
|
1207
|
+
launchViolinPlot,
|
|
1208
|
+
prepareTileData,
|
|
1209
|
+
makeTileGrid,
|
|
1210
|
+
tileExpandState,
|
|
1211
|
+
makeTileCard,
|
|
1212
|
+
renderTileError,
|
|
1213
|
+
renderStudyTiles,
|
|
1214
|
+
renderPlaceholderTiles,
|
|
1215
|
+
renderOverviewVolcanoCard,
|
|
1216
|
+
renderPTMSummaryCard,
|
|
1217
|
+
renderCoverageLine
|
|
1218
|
+
};
|
|
1219
|
+
//# sourceMappingURL=chunk-JNZL7HKB.js.map
|