@sjcrh/proteinpaint-client 2.217.0 → 2.218.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-BZWQ4YZF.js +1362 -0
- package/dist/AggMatrixInput-OXUENYYF.js +402 -0
- package/dist/AggregateMatrix-7PYLWY3X.js +37 -0
- package/dist/AppHeader-QOLLABH4.js +826 -0
- package/dist/BoxPlot-PDRYKWXF.js +1233 -0
- package/dist/CorrelationVolcano-Z3ABRHL6.js +613 -0
- package/dist/Cuminc-ATQT3KDO.js +1217 -0
- package/dist/DE-5LMMF5QB.js +85 -0
- package/dist/DEinput-Y2VXYH54.js +497 -0
- package/dist/DM-ACIWRZS2.js +86 -0
- package/dist/DifferentialAnalysis-23WQKT6I.js +235 -0
- package/dist/Disco-5UBCTVTY.js +3384 -0
- package/dist/Disco.UI-6YCIW3QK.js +239 -0
- package/dist/DmrPlot-R7UOGAVY.js +361 -0
- package/dist/DmrPlot-R7UOGAVY.js.map +7 -0
- package/dist/GB-QZZG4DHJ.js +1388 -0
- package/dist/GSEA-3WW4GEXE.js +870 -0
- package/dist/GeneExpInput-PW6HP5LO.js +38 -0
- package/dist/Geomap-YDUXJ65P.js +80 -0
- package/dist/HicApp-CXHLK5UM.js +2240 -0
- package/dist/IDCViewer-ID46XKWW.js +10808 -0
- package/dist/NumBinaryEditor-7HEQD3UO.js +274 -0
- package/dist/NumBinaryEditor.unit.spec-CE5FZMLZ.js +308 -0
- package/dist/NumContEditor-7J4IODVT.js +100 -0
- package/dist/NumContEditor.unit.spec-H3DEDHGO.js +160 -0
- package/dist/NumCustomBinEditor-URE4NOZI.js +29 -0
- package/dist/NumCustomBinEditor.unit.spec-XE5AUM45.js +393 -0
- package/dist/NumDiscreteEditor-PBV2QXRU.js +165 -0
- package/dist/NumDiscreteEditor.unit.spec-2TWQ7DAZ.js +229 -0
- package/dist/NumRegularBinEditor-MG27BRWO.js +29 -0
- package/dist/NumRegularBinEditor.unit.spec-6NJLP3BX.js +274 -0
- package/dist/NumSplineEditor-ZZKMWU2V.js +205 -0
- package/dist/NumSplineEditor.unit.spec-T3C2YPU5.js +220 -0
- package/dist/NumericDensity-BUEAEQZD.js +29 -0
- package/dist/NumericDensity.unit.spec-XZ77VRO7.js +414 -0
- package/dist/NumericHandler-RW2NAEBZ.js +30 -0
- package/dist/NumericHandler.unit.spec-BQGTQBV6.js +210 -0
- package/dist/ProteomeInput-RL6IDTOA.js +610 -0
- package/dist/Regression-EVGHTLUT.js +1412 -0
- package/dist/RunChart2-NK2KWOZ7.js +744 -0
- package/dist/SC-QWJ72SI3.js +1290 -0
- package/dist/SC-QWJ72SI3.js.map +7 -0
- package/dist/Violin-2HIRC6A2.js +1095 -0
- package/dist/Volcano-H55O7GBI.js +2453 -0
- package/dist/Volcano-H55O7GBI.js.map +7 -0
- package/dist/Wsi-M2XRJBGL.js +636 -0
- package/dist/Wsi-M2XRJBGL.js.map +7 -0
- package/dist/adSandbox-T2HORPLC.js +29 -0
- package/dist/animatedBubbleChart-PS7KMVSY.js +542 -0
- package/dist/app-FKPGNJDN.js +38 -0
- package/dist/app-NPGVS6X4.js +28 -0
- package/dist/app.js +14 -14
- package/dist/bam-QQ54FE3A.js +872 -0
- package/dist/barchart-4DLCN7NL.js +38 -0
- package/dist/barchart2-H65GFNNQ.js +305 -0
- package/dist/block-RAYA73ZN.js +6232 -0
- package/dist/block.init-VE3TQWH4.js +29 -0
- package/dist/block.mds.expressionrank-YLFQQHZJ.js +350 -0
- package/dist/block.mds.geneboxplot-6V44H7EC.js +819 -0
- package/dist/block.mds.junction-DEIUZOQK.js +1534 -0
- package/dist/block.mds.svcnv-PTP7JYS2.js +6408 -0
- package/dist/block.svg-RGDXDKV6.js +155 -0
- package/dist/block.tk.aicheck-MFXHYAIN.js +274 -0
- package/dist/block.tk.bam-ICTVSRQ6.js +1897 -0
- package/dist/block.tk.bedgraphdot-X5AYHRUJ.js +375 -0
- package/dist/block.tk.bigwig.ui-FS3DA5JQ.js +202 -0
- package/dist/block.tk.hicstraw-MBBA3H4E.js +814 -0
- package/dist/block.tk.junction-L3YVWWOR.js +2353 -0
- package/dist/block.tk.junction.textmatrixui-PU3C7W6B.js +190 -0
- package/dist/block.tk.ld-SNKUZDPW.js +90 -0
- package/dist/block.tk.menu-NARHQW7Y.js +1050 -0
- package/dist/block.tk.pgv-NVNFNJZ6.js +934 -0
- package/dist/brainImaging-KHFLAPHC.js +550 -0
- package/dist/brainRegions-MQL2KZOQ.js +213 -0
- package/dist/bubbleHeatmap-U3GAF5AV.js +374 -0
- package/dist/cellTypeBubbleHeatmap-5ENEMDCZ.js +274 -0
- package/dist/chunk-25Q4AX4L.js +102 -0
- package/dist/chunk-2GQSPQ3U.js +1273 -0
- package/dist/chunk-2GQSPQ3U.js.map +7 -0
- package/dist/chunk-2RILGMXS.js +22873 -0
- package/dist/chunk-2RILGMXS.js.map +7 -0
- package/dist/chunk-2WWCHIXZ.js +194 -0
- package/dist/chunk-3AO7OZLF.js +294 -0
- package/dist/chunk-3DZJ64RQ.js +56 -0
- package/dist/chunk-3QZHRQ55.js +26 -0
- package/dist/chunk-3ZM5PZXA.js +240 -0
- package/dist/chunk-43FVCJXV.js +2685 -0
- package/dist/chunk-43WVK5KI.js +96 -0
- package/dist/chunk-4ZOKEHK4.js +516 -0
- package/dist/chunk-5M4U6S3E.js +103 -0
- package/dist/chunk-5O4GAKJT.js +49 -0
- package/dist/chunk-5Q6TANNH.js +274 -0
- package/dist/chunk-5WBIVXMG.js +134 -0
- package/dist/chunk-65FN7LIA.js +255 -0
- package/dist/chunk-6HVJJT3Y.js +6360 -0
- package/dist/chunk-6HVJJT3Y.js.map +7 -0
- package/dist/chunk-7HTMIFVR.js +170 -0
- package/dist/chunk-AOKINHUU.js +2799 -0
- package/dist/chunk-APXULA6M.js +182 -0
- package/dist/chunk-C7O67FZJ.js +1844 -0
- package/dist/chunk-CCNV3WJO.js +281 -0
- package/dist/chunk-DAKRDL76.js +156 -0
- package/dist/chunk-EGQVMN6S.js +397 -0
- package/dist/chunk-ERCLZ433.js +217 -0
- package/dist/chunk-ESLXHJ7W.js +31 -0
- package/dist/chunk-ET2KFCXK.js +424 -0
- package/dist/chunk-EYIZTX33.js +263 -0
- package/dist/chunk-F2PHTKCI.js +243 -0
- package/dist/chunk-FJXUMOVQ.js +176 -0
- package/dist/chunk-HJCI33L4.js +140 -0
- package/dist/chunk-HKXBGMUT.js +80 -0
- package/dist/chunk-HNMKK33Y.js +38 -0
- package/dist/chunk-IKZAWD7P.js +480 -0
- package/dist/chunk-ILPJAASI.js +203 -0
- package/dist/chunk-JFZECJY2.js +562 -0
- package/dist/chunk-K6CZAEBF.js +119 -0
- package/dist/chunk-KXDK6ZOJ.js +13624 -0
- package/dist/chunk-L7LRBRUN.js +2960 -0
- package/dist/chunk-LMG7Y5IN.js +5799 -0
- package/dist/chunk-LMG7Y5IN.js.map +7 -0
- package/dist/chunk-LO624OGK.js +102 -0
- package/dist/chunk-LPDQ26OP.js +550 -0
- package/dist/chunk-M2XWAAIZ.js +340 -0
- package/dist/chunk-M37J6Z5U.js +1988 -0
- package/dist/chunk-M5SJ42E2.js +468 -0
- package/dist/chunk-MJREV2KW.js +692 -0
- package/dist/chunk-MRR5GPPP.js +466 -0
- package/dist/chunk-NSCNNQOY.js +56 -0
- package/dist/chunk-OAQLBII5.js +54 -0
- package/dist/chunk-OKHU7EJW.js +194 -0
- package/dist/chunk-OXVB4OZC.js +4373 -0
- package/dist/chunk-PDZED3RR.js +382 -0
- package/dist/chunk-PITPUAWX.js +182 -0
- package/dist/chunk-PVXG2BRT.js +59 -0
- package/dist/chunk-PX6MHRAN.js +141 -0
- package/dist/chunk-REIPTX7J.js +626 -0
- package/dist/chunk-RFE2VG6T.js +55 -0
- package/dist/chunk-RPFQOIYX.js +418 -0
- package/dist/chunk-S2NAGL4V.js +839 -0
- package/dist/chunk-T24YYODE.js +217 -0
- package/dist/chunk-TDP4PX2S.js +123 -0
- package/dist/chunk-TUPJEZSL.js +299 -0
- package/dist/chunk-UNXVW5OT.js +379 -0
- package/dist/chunk-UOWUMUAX.js +444 -0
- package/dist/chunk-V6EIPPMT.js +1339 -0
- package/dist/chunk-VGUO2BQ7.js +276 -0
- package/dist/chunk-VKWZPC73.js +37 -0
- package/dist/chunk-VQ5PDCAJ.js +5213 -0
- package/dist/chunk-VQK3UKNA.js +54 -0
- package/dist/chunk-WB5MHFHB.js +237 -0
- package/dist/chunk-WK6CPMXR.js +302 -0
- package/dist/chunk-WNUCR3UF.js +2334 -0
- package/dist/chunk-WNUCR3UF.js.map +7 -0
- package/dist/chunk-WRYNE3Q4.js +1219 -0
- package/dist/chunk-XA6LI63Y.js +54 -0
- package/dist/chunk-XJYVMXMZ.js +2279 -0
- package/dist/chunk-XJYVMXMZ.js.map +7 -0
- package/dist/chunk-Y7Y6X6E5.js +70 -0
- package/dist/chunk-YG57X4VD.js +257 -0
- package/dist/chunk-YPOIMSJR.js +34 -0
- package/dist/chunk-YS7Y257H.js +26152 -0
- package/dist/chunk-YS7Y257H.js.map +7 -0
- package/dist/chunk-ZRLON6PP.js +14 -0
- package/dist/chunk-ZSNZPH6G.js +339 -0
- package/dist/cohort-TPMJZ4OH.js +66 -0
- package/dist/cohortSunburst-SL5F36RM.js +684 -0
- package/dist/cohortSunburst-SL5F36RM.js.map +7 -0
- package/dist/condition-QROUALBG.js +323 -0
- package/dist/controls-GH37YWOP.js +30 -0
- package/dist/controls.config-ZYCDICYF.js +30 -0
- package/dist/correlation-JESMUFS6.js +91 -0
- package/dist/customdata.inputui-T2DLAZYJ.js +280 -0
- package/dist/dataDownload-Z7A6ZEH7.js +325 -0
- package/dist/databrowser.ui-ZVMGFYJ2.js +421 -0
- package/dist/dictionary-KXFUR3NL.js +109 -0
- package/dist/dnaMethylation-2YU2HDD4.js +29 -0
- package/dist/dnaMethylation.integration.spec-75Y5RSDO.js +194 -0
- package/dist/dofetch-G5ULIRMG.js +47 -0
- package/dist/e2pca-75VDPO7P.js +340 -0
- package/dist/ep-F2Z7TNAG.js +1247 -0
- package/dist/ep-F2Z7TNAG.js.map +7 -0
- package/dist/expclust.gdc.spec-PB66FFWD.js +298 -0
- package/dist/facet-2RY37EFR.js +515 -0
- package/dist/gb-WQQFYFGF.js +77 -0
- package/dist/geneExpClustering-ARVZDF6G.js +240 -0
- package/dist/geneExpression-FR33PKJW.js +309 -0
- package/dist/geneExpression-O7DR5SMR.js +29 -0
- package/dist/geneExpression.unit.spec-HGNDSTAI.js +124 -0
- package/dist/geneORA-RXXQT44V.js +269 -0
- package/dist/geneRanking-WDQZ7TI3.js +544 -0
- package/dist/geneVariant-6JYBWFEJ.js +32 -0
- package/dist/geneVariant-TKRG5VQN.js +285 -0
- package/dist/geneVariant.integration.spec-L2Q2DY67.js +499 -0
- package/dist/genefusion.ui-DBLMBU2D.js +299 -0
- package/dist/geneset-2ZQF7FET.js +199 -0
- package/dist/genomeBrowser.spec-E5RJD53Z.js +272 -0
- package/dist/grin2-MJ4SYAFO.js +66 -0
- package/dist/grin2-VXRMV7VA.js +945 -0
- package/dist/hierCluster-44FPBMNL.js +55 -0
- package/dist/hierCluster-SU4BDK6I.js +51 -0
- package/dist/hierCluster.config-4OZ65GKH.js +32 -0
- package/dist/hierCluster.integration.spec-CHNSKZD4.js +479 -0
- package/dist/hierCluster.interactivity-M72CEGCW.js +45 -0
- package/dist/hierCluster.renderers-RM43G7ZR.js +18 -0
- package/dist/imagePlot-UYMWFNI4.js +152 -0
- package/dist/importPlot-W3HPE4LZ.js +8 -0
- package/dist/isoformExpression-JEMJE5WY.js +31 -0
- package/dist/isoformExpression.unit.spec-GOK5LFME.js +233 -0
- package/dist/jspdf.es.min-KB3HW45U.js +40 -0
- package/dist/junction-2X4AS47T.js +32 -0
- package/dist/junction.customTerm-MVSIUY66.js +15 -0
- package/dist/junction.unit.spec-HA74XQYV.js +178 -0
- package/dist/launch.adhoc-PZAJ6J2S.js +33 -0
- package/dist/leftlabel.sample-7BZKFB3I.js +253 -0
- package/dist/lollipop-URSFH4ZE.js +162 -0
- package/dist/maf-CM3ETF4N.js +451 -0
- package/dist/maftimeline-CRQEUTRY.js +583 -0
- package/dist/matrix-IBWB4A3Z.js +50 -0
- package/dist/matrix-SOBGWBTY.js +55 -0
- package/dist/matrix.cells-GSKC6FXI.js +25 -0
- package/dist/matrix.config-4KU5X3LQ.js +33 -0
- package/dist/matrix.data-XC2OTBTR.js +22 -0
- package/dist/matrix.groups-THXKRQSD.js +25 -0
- package/dist/matrix.integration.spec-GKHH4RSR.js +3156 -0
- package/dist/matrix.interactivity-ITXMM2ZP.js +33 -0
- package/dist/matrix.layout-D6SRLAXS.js +35 -0
- package/dist/matrix.legend-OWQAMHI2.js +19 -0
- package/dist/matrix.renderers-J66OAQUZ.js +30 -0
- package/dist/matrix.serieses-P5I4E2NB.js +18 -0
- package/dist/matrix.sort-CXBXF75N.js +25 -0
- package/dist/matrix.sort.unit.spec-RSXBKXC5.js +464 -0
- package/dist/matrix.sorterUi-WEZRKU63.js +15 -0
- package/dist/matrix.sorterUi.unit.spec-6EULDV43.js +334 -0
- package/dist/matrix.unit.spec-D4ZLDVDT.js +146 -0
- package/dist/mavb-5JAD6CPN.js +726 -0
- package/dist/mavb-5JAD6CPN.js.map +7 -0
- package/dist/mds.fimo-CQFREH3A.js +509 -0
- package/dist/mds.samplescatterplot-XLJITURG.js +1545 -0
- package/dist/mds.survivalplot-MLRD27QP.js +472 -0
- package/dist/multivalue-KJQCYBHA.js +79 -0
- package/dist/numericDictTermCluster-ZOU6R4XP.js +62 -0
- package/dist/oncomatrix-4RHDDJDC.js +286 -0
- package/dist/oncomatrix.spec-JA6DT4PP.js +439 -0
- package/dist/plot.2dvaf-VJWPWCOY.js +368 -0
- package/dist/plot.app-JNEOGNVW.js +32 -0
- package/dist/plot.barplot-YELRBXUB.js +93 -0
- package/dist/plot.boxplot-HNFOB3TV.js +142 -0
- package/dist/plot.brainImaging-AZYEGF3U.js +51 -0
- package/dist/plot.disco-L6PGGZJI.js +98 -0
- package/dist/plot.ssgq-UM64SSXW.js +130 -0
- package/dist/plot.vaf2cov-DKUKJRUP.js +249 -0
- package/dist/polar2-4YHPENAV.js +228 -0
- package/dist/profileForms-KMECFO3K.js +937 -0
- package/dist/profilePlot-3AXSIXCK.js +45 -0
- package/dist/proteinView-QWHOTL35.js +1346 -0
- package/dist/proteomeCohortCompare-DL2QLFL3.js +866 -0
- package/dist/pseudbulk.unit.spec-IWR7EZ7O.js +82 -0
- package/dist/pseudobulk-IC525IZ2.js +31 -0
- package/dist/purify.es-34NJ2D5A.js +1986 -0
- package/dist/purify.es-34NJ2D5A.js.map +7 -0
- package/dist/qualitative-LK2QEYHU.js +34 -0
- package/dist/qualitative-YY4NQGO5.js +241 -0
- package/dist/radar2-TJUPENQF.js +323 -0
- package/dist/radarFacility2-Q7LBWLCV.js +331 -0
- package/dist/rememberedGvQ.unit.spec-2GBLM5AO.js +210 -0
- package/dist/render-AHR6SCQX.js +29 -0
- package/dist/report-BPHJTRTO.js +213 -0
- package/dist/sampleView-CS2FB3K3.js +39 -0
- package/dist/samplelst-A3DHKP6U.js +102 -0
- package/dist/samplematrix-5X7MFT3G.js +2188 -0
- package/dist/sc-RCYXZMN6.js +77 -0
- package/dist/scatter-2ITGMX5N.js +921 -0
- package/dist/scatter-OAL4YOCA.js +84 -0
- package/dist/selectGenomeWithTklst-PB5KDW2N.js +125 -0
- package/dist/singleCellCellType-FEFNOHOP.js +29 -0
- package/dist/singleCellCellType.unit.spec-V2I32V23.js +150 -0
- package/dist/singleCellGeneExpression-RUQQMKDE.js +29 -0
- package/dist/singleCellGeneExpression.unit.spec-VCMJRMT7.js +144 -0
- package/dist/singleCellNumericValue-JLXZQWNT.js +29 -0
- package/dist/singleCellNumericValue.unit.spec-XVCZEN5K.js +412 -0
- package/dist/singleCellPlot-4EBYWOJ2.js +44 -0
- package/dist/singlecell-UKZJAYVH.js +1562 -0
- package/dist/singlecell-VNRWPXGV.js +77 -0
- package/dist/snp-2RJDJQZC.js +29 -0
- package/dist/snp.unit.spec-Z4DNBFAH.js +167 -0
- package/dist/snplocus-OZLIZ7R7.js +200 -0
- package/dist/snplst-EVRJ4OCL.js +36 -0
- package/dist/spliceevent.a53ss.diagram-N5UXX4OX.js +142 -0
- package/dist/spliceevent.exonskip.diagram-WBNFLW4V.js +274 -0
- package/dist/spliceevent.noeventdiagram-EI72A6L3.js +451 -0
- package/dist/ssGSEA-NONMMNF7.js +29 -0
- package/dist/ssGSEA.unit.spec-7JDPNLZA.js +79 -0
- package/dist/stattable-NNUHKPF4.js +112 -0
- package/dist/studyCatalog-KMLE7Q55.js +457 -0
- package/dist/summarizeCnvGeneexp-AHCGPQLE.js +154 -0
- package/dist/summarizeGeneexpSurvival-NCST7HDQ.js +101 -0
- package/dist/summarizeMutationCnv-VUTQYXO6.js +155 -0
- package/dist/summarizeMutationDiagnosis-TFU2HUHQ.js +31 -0
- package/dist/summarizeMutationSurvival-F4CJILS3.js +95 -0
- package/dist/summary-QQZW7BEE.js +40 -0
- package/dist/summary.integration.spec-FILIPD3W.js +405 -0
- package/dist/summaryInput-RMY226Y3.js +238 -0
- package/dist/sunburst-Y4LNCKMR.js +274 -0
- package/dist/survival-4FYQHQHX.js +49 -0
- package/dist/survival-6GC267GY.js +1246 -0
- package/dist/survival.integration.spec-5ERXR6MG.js +609 -0
- package/dist/svg2pdf.es.min-KKHWPFWG.js +3157 -0
- package/dist/svgraph-XIQIA7OJ.js +1377 -0
- package/dist/svmr-45YJKRQP.js +3834 -0
- package/dist/svmr-45YJKRQP.js.map +7 -0
- package/dist/swimmer-643B5Q6F.js +741 -0
- package/dist/table-JQIBRXTJ.js +192 -0
- package/dist/termCollection-LU5NW6KT.js +247 -0
- package/dist/termCollection-XZCPBXRV.js +29 -0
- package/dist/termCollection.unit.spec-H5LBV3N4.js +295 -0
- package/dist/termCollectionFractionSelection-3YHOFXEL.js +38 -0
- package/dist/termCollectionFractionSelection.unit.spec-G5X3Y5YI.js +184 -0
- package/dist/tk-NPWNBXLB.js +37 -0
- package/dist/tk-YSW5NPW2.js +1116 -0
- package/dist/tp.ui-W6RG7V2A.js +1453 -0
- package/dist/tp.ui-W6RG7V2A.js.map +7 -0
- package/dist/tvs.categorical-TUX6KRZI.js +28 -0
- package/dist/tvs.condition-2CH25PLO.js +160 -0
- package/dist/tvs.dt-YKP3F75O.js +30 -0
- package/dist/tvs.dtcnv.categorical-QBJWJNHZ.js +31 -0
- package/dist/tvs.dtcnv.continuous-MV25OLBD.js +63 -0
- package/dist/tvs.dtfusion-SJ64HNKE.js +31 -0
- package/dist/tvs.dtitd-WQLHZK2P.js +31 -0
- package/dist/tvs.dtsnvindel-WMFJ7W7U.js +31 -0
- package/dist/tvs.dtsv-GKEC5OGA.js +31 -0
- package/dist/tvs.multivalue-LFWMQETN.js +84 -0
- package/dist/tvs.numeric-63NVZG7U.js +32 -0
- package/dist/tvs.samplelst-DEMMYRKK.js +95 -0
- package/dist/tvs.survival-M4QUVP5L.js +110 -0
- package/dist/tvs.termCollection-J367GZY3.js +118 -0
- package/dist/vocabulary-RAVWS5IS.js +32 -0
- package/dist/wsi.direct-UY3SIIAD.js +11514 -0
- package/dist/wsi.direct-UY3SIIAD.js.map +7 -0
- package/package.json +3 -3
- package/dist/2dmaf-RRHATFHO.js +0 -1362
- package/dist/AggMatrixInput-4UHBCXYH.js +0 -402
- package/dist/AggregateMatrix-IJE5CM5Y.js +0 -37
- package/dist/AppHeader-UXGLRW6C.js +0 -826
- package/dist/BoxPlot-GQYC22KY.js +0 -1233
- package/dist/CorrelationVolcano-5CWRWZTI.js +0 -613
- package/dist/Cuminc-TYHKAPRK.js +0 -1217
- package/dist/DE-UUFQGSOI.js +0 -85
- package/dist/DEinput-DU7MF4YY.js +0 -497
- package/dist/DM-SSI5KUBC.js +0 -86
- package/dist/DifferentialAnalysis-G6FE2MXY.js +0 -235
- package/dist/Disco-B3KGNEAW.js +0 -3384
- package/dist/Disco.UI-UNPUBQCN.js +0 -239
- package/dist/DmrPlot-27NGDMT4.js +0 -358
- package/dist/DmrPlot-27NGDMT4.js.map +0 -7
- package/dist/GB-SXACUA4V.js +0 -1388
- package/dist/GSEA-EHMBA3TF.js +0 -870
- package/dist/GeneExpInput-NDXISF2U.js +0 -38
- package/dist/Geomap-3CNT227W.js +0 -80
- package/dist/HicApp-VQBUB6EZ.js +0 -2240
- package/dist/IDCViewer-DTOE7KDX.js +0 -10808
- package/dist/NumBinaryEditor-IVZ4MMQT.js +0 -274
- package/dist/NumBinaryEditor.unit.spec-3BSQ6FM4.js +0 -308
- package/dist/NumContEditor-CUZHU3IO.js +0 -100
- package/dist/NumContEditor.unit.spec-SCQFD2Y7.js +0 -160
- package/dist/NumCustomBinEditor-UEEYZ4ZO.js +0 -29
- package/dist/NumCustomBinEditor.unit.spec-GYS35OQV.js +0 -393
- package/dist/NumDiscreteEditor-IT7NIXTV.js +0 -165
- package/dist/NumDiscreteEditor.unit.spec-LB6VLAWO.js +0 -229
- package/dist/NumRegularBinEditor-FF6UXZWN.js +0 -29
- package/dist/NumRegularBinEditor.unit.spec-Z4S5LH2C.js +0 -274
- package/dist/NumSplineEditor-IW5WEN3P.js +0 -205
- package/dist/NumSplineEditor.unit.spec-PAEN3SAD.js +0 -220
- package/dist/NumericDensity-CPJIQLYT.js +0 -29
- package/dist/NumericDensity.unit.spec-4KHECHVU.js +0 -414
- package/dist/NumericHandler-SEFTQJDM.js +0 -30
- package/dist/NumericHandler.unit.spec-UGDR3476.js +0 -210
- package/dist/ProteomeInput-NYPUYVN5.js +0 -610
- package/dist/Regression-WDSISHYL.js +0 -1412
- package/dist/RunChart2-2NPADXUR.js +0 -744
- package/dist/SC-EWDBPHEL.js +0 -1344
- package/dist/SC-EWDBPHEL.js.map +0 -7
- package/dist/Violin-POGGPCZY.js +0 -1095
- package/dist/Volcano-U2B4KEUL.js +0 -2452
- package/dist/Volcano-U2B4KEUL.js.map +0 -7
- package/dist/Wsi-G7OCAJ3R.js +0 -625
- package/dist/Wsi-G7OCAJ3R.js.map +0 -7
- package/dist/adSandbox-SUCX6DAQ.js +0 -29
- package/dist/animatedBubbleChart-SDBWJELZ.js +0 -542
- package/dist/app-ATQM5PKI.js +0 -28
- package/dist/app-BCKEWJCY.js +0 -38
- package/dist/bam-QK2ZLZDI.js +0 -872
- package/dist/barchart-RHDKI3NZ.js +0 -38
- package/dist/barchart2-CS3E6FOY.js +0 -305
- package/dist/block-RQ3HTJVP.js +0 -6232
- package/dist/block.init-T33F47DO.js +0 -29
- package/dist/block.mds.expressionrank-LQD6MN6Z.js +0 -350
- package/dist/block.mds.geneboxplot-N5XHHVR7.js +0 -819
- package/dist/block.mds.junction-JD4WQUSH.js +0 -1534
- package/dist/block.mds.svcnv-LCTYWXL2.js +0 -6408
- package/dist/block.svg-2F3RGTI3.js +0 -155
- package/dist/block.tk.aicheck-BOF6WZ5E.js +0 -274
- package/dist/block.tk.bam-5GBYEQBM.js +0 -1897
- package/dist/block.tk.bedgraphdot-LVQEP4RS.js +0 -375
- package/dist/block.tk.bigwig.ui-HHBO4JAC.js +0 -202
- package/dist/block.tk.hicstraw-JBO4UEOA.js +0 -814
- package/dist/block.tk.junction-S5S2N7FK.js +0 -2353
- package/dist/block.tk.junction.textmatrixui-DNQL7WB5.js +0 -190
- package/dist/block.tk.ld-JHQNR67E.js +0 -90
- package/dist/block.tk.menu-7JBJOY2O.js +0 -1050
- package/dist/block.tk.pgv-FQPREV6P.js +0 -934
- package/dist/brainImaging-HEWGZZNY.js +0 -550
- package/dist/brainRegions-QUGB7YUW.js +0 -213
- package/dist/bubbleHeatmap-OZRONGAX.js +0 -374
- package/dist/cellTypeBubbleHeatmap-N7NDE325.js +0 -274
- package/dist/chunk-2FWSNJEN.js +0 -54
- package/dist/chunk-2JIKMCJR.js +0 -34
- package/dist/chunk-3SPEW6R6.js +0 -102
- package/dist/chunk-5G6O5RYM.js +0 -123
- package/dist/chunk-65DO5IKM.js +0 -299
- package/dist/chunk-6D4HOTG7.js +0 -1844
- package/dist/chunk-6Q5SOSSU.js +0 -2685
- package/dist/chunk-7JHIUS54.js +0 -626
- package/dist/chunk-7X347XMF.js +0 -397
- package/dist/chunk-ABLG7GUS.js +0 -55
- package/dist/chunk-AFEFZ74T.js +0 -276
- package/dist/chunk-AIC43DTG.js +0 -243
- package/dist/chunk-AJXP4AV7.js +0 -182
- package/dist/chunk-AMW5LCUB.js +0 -424
- package/dist/chunk-AV2IH5K2.js +0 -156
- package/dist/chunk-B3WLXXGY.js +0 -263
- package/dist/chunk-BG6GAROI.js +0 -302
- package/dist/chunk-BIJOXCLN.js +0 -2277
- package/dist/chunk-BIJOXCLN.js.map +0 -7
- package/dist/chunk-BU6PAOGA.js +0 -103
- package/dist/chunk-BZV2BJDU.js +0 -13624
- package/dist/chunk-C2TII2FF.js +0 -96
- package/dist/chunk-CTFHEDG2.js +0 -550
- package/dist/chunk-CXEECHP5.js +0 -37
- package/dist/chunk-CZK4EV3Y.js +0 -1339
- package/dist/chunk-D35GNF3Y.js +0 -2325
- package/dist/chunk-D35GNF3Y.js.map +0 -7
- package/dist/chunk-DFZWE3TR.js +0 -170
- package/dist/chunk-DX23HAW7.js +0 -1219
- package/dist/chunk-E7XHA4YL.js +0 -1988
- package/dist/chunk-EDFBRXX2.js +0 -54
- package/dist/chunk-F23EQSGU.js +0 -26
- package/dist/chunk-F2EEQ7KG.js +0 -379
- package/dist/chunk-F5FFI7Z7.js +0 -468
- package/dist/chunk-FK5NL2DF.js +0 -141
- package/dist/chunk-FVZTRWAO.js +0 -692
- package/dist/chunk-GDHQVEIO.js +0 -217
- package/dist/chunk-GSVB4XNS.js +0 -2799
- package/dist/chunk-GVAV4VRI.js +0 -418
- package/dist/chunk-H2FELGYK.js +0 -140
- package/dist/chunk-HFKZGMVV.js +0 -839
- package/dist/chunk-HJARHSDC.js +0 -274
- package/dist/chunk-HWNQOADC.js +0 -182
- package/dist/chunk-HXRG7XYB.js +0 -54
- package/dist/chunk-J5KCTRJC.js +0 -80
- package/dist/chunk-JMFVXWDX.js +0 -59
- package/dist/chunk-KGX2OIR4.js +0 -203
- package/dist/chunk-L2NPLA43.js +0 -257
- package/dist/chunk-L2WOLNZK.js +0 -339
- package/dist/chunk-LQKMDIRB.js +0 -466
- package/dist/chunk-LSQ5AQ6Q.js +0 -562
- package/dist/chunk-MBQIHLGI.js +0 -1269
- package/dist/chunk-MBQIHLGI.js.map +0 -7
- package/dist/chunk-MFR4WWDM.js +0 -14
- package/dist/chunk-MU4Z2MX2.js +0 -340
- package/dist/chunk-NHMIMTJA.js +0 -281
- package/dist/chunk-NNDKYTUV.js +0 -25353
- package/dist/chunk-NNDKYTUV.js.map +0 -7
- package/dist/chunk-NPBN3PPZ.js +0 -6358
- package/dist/chunk-NPBN3PPZ.js.map +0 -7
- package/dist/chunk-NULQJF73.js +0 -56
- package/dist/chunk-NYO7YANQ.js +0 -294
- package/dist/chunk-OBNHXAYG.js +0 -194
- package/dist/chunk-PETYR7LC.js +0 -134
- package/dist/chunk-PLFPXOGX.js +0 -119
- package/dist/chunk-PQVHRM4L.js +0 -5213
- package/dist/chunk-QLUTQPZE.js +0 -240
- package/dist/chunk-QNQ2ZYT7.js +0 -38
- package/dist/chunk-QYCPIVCX.js +0 -255
- package/dist/chunk-RZ2THVK4.js +0 -516
- package/dist/chunk-S4IZ4VM7.js +0 -31
- package/dist/chunk-SFUDTUXF.js +0 -382
- package/dist/chunk-SUT75MRI.js +0 -102
- package/dist/chunk-SYLYLOHK.js +0 -56
- package/dist/chunk-TEFWF3SK.js +0 -176
- package/dist/chunk-TPSVPMAN.js +0 -70
- package/dist/chunk-V4ZKHM6D.js +0 -2960
- package/dist/chunk-V7DNHPZD.js +0 -4373
- package/dist/chunk-VPMQDTYR.js +0 -194
- package/dist/chunk-VV6JIG4D.js +0 -444
- package/dist/chunk-WTAPOH2W.js +0 -22699
- package/dist/chunk-WTAPOH2W.js.map +0 -7
- package/dist/chunk-WU3YXPRE.js +0 -217
- package/dist/chunk-X2HWRISK.js +0 -480
- package/dist/chunk-X77QVINS.js +0 -49
- package/dist/chunk-XXFLJWTQ.js +0 -237
- package/dist/chunk-ZPWBYHNE.js +0 -5799
- package/dist/chunk-ZPWBYHNE.js.map +0 -7
- package/dist/cohort-ATIZW34H.js +0 -66
- package/dist/cohortSunburst-WQK2UV25.js +0 -686
- package/dist/cohortSunburst-WQK2UV25.js.map +0 -7
- package/dist/condition-SGJIDZNB.js +0 -323
- package/dist/controls-JQCMGPXP.js +0 -30
- package/dist/controls.config-WQHVQAIJ.js +0 -30
- package/dist/correlation-S3MN3L5Q.js +0 -91
- package/dist/customdata.inputui-LGTGMJBZ.js +0 -280
- package/dist/dataDownload-FAWN2WKE.js +0 -325
- package/dist/databrowser.ui-KF3LWQXG.js +0 -421
- package/dist/dictionary-EVLEOT72.js +0 -109
- package/dist/dnaMethylation-J3SPEM4S.js +0 -29
- package/dist/dnaMethylation.integration.spec-CTA53YCT.js +0 -194
- package/dist/dofetch-3C3MI5NR.js +0 -47
- package/dist/e2pca-PTWPY5WP.js +0 -340
- package/dist/ep-MS4LQQDR.js +0 -1245
- package/dist/ep-MS4LQQDR.js.map +0 -7
- package/dist/expclust.gdc.spec-S5FE4MMD.js +0 -298
- package/dist/facet-FSOIZJCA.js +0 -515
- package/dist/gb-YDEOK7NW.js +0 -77
- package/dist/geneExpClustering-37JKKFW3.js +0 -240
- package/dist/geneExpression-G6ODP3VY.js +0 -29
- package/dist/geneExpression-VQPRFNKE.js +0 -309
- package/dist/geneExpression.unit.spec-ZHXCUG6Q.js +0 -124
- package/dist/geneORA-E3PSS3CI.js +0 -269
- package/dist/geneRanking-MK3YYINC.js +0 -544
- package/dist/geneVariant-LEMAVFOY.js +0 -32
- package/dist/geneVariant-NNSB7JLS.js +0 -285
- package/dist/geneVariant.integration.spec-6CC5UAOP.js +0 -499
- package/dist/genefusion.ui-5NCQIQPN.js +0 -299
- package/dist/geneset-ZX4V3CFB.js +0 -199
- package/dist/genomeBrowser.spec-J7ISXY6H.js +0 -272
- package/dist/grin2-GN3DQNON.js +0 -945
- package/dist/grin2-LBGBBB4L.js +0 -66
- package/dist/hierCluster-5JURTKAZ.js +0 -55
- package/dist/hierCluster-BJ5VBPXR.js +0 -51
- package/dist/hierCluster.config-4EERP4KK.js +0 -32
- package/dist/hierCluster.integration.spec-VR4GULRV.js +0 -479
- package/dist/hierCluster.interactivity-SMTQOKUY.js +0 -45
- package/dist/hierCluster.renderers-PAME7BWU.js +0 -18
- package/dist/imagePlot-4LMIKBVE.js +0 -152
- package/dist/importPlot-3CG6ASNH.js +0 -8
- package/dist/isoformExpression-VCDNKTZ6.js +0 -31
- package/dist/isoformExpression.unit.spec-ZXYY37TA.js +0 -233
- package/dist/jspdf.es.min-V7ONHJJV.js +0 -40
- package/dist/junction-5DXJO4PS.js +0 -32
- package/dist/junction.customTerm-UOPUSEOE.js +0 -15
- package/dist/junction.unit.spec-F35E3GJW.js +0 -178
- package/dist/launch.adhoc-V2HTCQGD.js +0 -33
- package/dist/leftlabel.sample-V7O2EC36.js +0 -253
- package/dist/lollipop-RNRZLG64.js +0 -162
- package/dist/maf-W6SF6BJS.js +0 -451
- package/dist/maftimeline-NABCAMHG.js +0 -583
- package/dist/matrix-JC6AJT2N.js +0 -55
- package/dist/matrix-UCHESWVK.js +0 -50
- package/dist/matrix.cells-B4L42TBM.js +0 -25
- package/dist/matrix.config-6US3AAH7.js +0 -33
- package/dist/matrix.data-FYFXYDA3.js +0 -22
- package/dist/matrix.groups-Y7DEG3GS.js +0 -25
- package/dist/matrix.integration.spec-KXX7SFX5.js +0 -3156
- package/dist/matrix.interactivity-NHWG4WCC.js +0 -33
- package/dist/matrix.layout-5DQNT7DD.js +0 -35
- package/dist/matrix.legend-OY7IF6AS.js +0 -19
- package/dist/matrix.renderers-GYOXGHPU.js +0 -30
- package/dist/matrix.serieses-657TLDAV.js +0 -18
- package/dist/matrix.sort-IMA2ES3T.js +0 -25
- package/dist/matrix.sort.unit.spec-S6BAFYPR.js +0 -464
- package/dist/matrix.sorterUi-77F36Q5H.js +0 -15
- package/dist/matrix.sorterUi.unit.spec-V5NVQGD5.js +0 -334
- package/dist/matrix.unit.spec-R4NMTZYQ.js +0 -146
- package/dist/mavb-MRCVMBPD.js +0 -723
- package/dist/mavb-MRCVMBPD.js.map +0 -7
- package/dist/mds.fimo-5DCH5BEM.js +0 -509
- package/dist/mds.samplescatterplot-VIBCS5M6.js +0 -1545
- package/dist/mds.survivalplot-AZ7LJDZZ.js +0 -472
- package/dist/multivalue-4QKGYYW2.js +0 -79
- package/dist/numericDictTermCluster-GLLG6IK2.js +0 -62
- package/dist/oncomatrix-R32ZPMX7.js +0 -286
- package/dist/oncomatrix.spec-BMK6LMBS.js +0 -439
- package/dist/plot.2dvaf-46FT53MF.js +0 -368
- package/dist/plot.app-7EE4YCV4.js +0 -32
- package/dist/plot.barplot-FK4J2G7K.js +0 -93
- package/dist/plot.boxplot-ATY4LK3X.js +0 -142
- package/dist/plot.brainImaging-S7B547V4.js +0 -51
- package/dist/plot.disco-K5MMC2GD.js +0 -98
- package/dist/plot.ssgq-B3OVMZFD.js +0 -130
- package/dist/plot.vaf2cov-RBHDQULW.js +0 -249
- package/dist/polar2-GECELCTG.js +0 -228
- package/dist/profileForms-2USYOA34.js +0 -937
- package/dist/profilePlot-YGD2CF6P.js +0 -45
- package/dist/proteinView-FCPWJLGU.js +0 -1346
- package/dist/proteomeCohortCompare-TYYUF5A5.js +0 -866
- package/dist/pseudbulk.unit.spec-UVVRP6NR.js +0 -82
- package/dist/pseudobulk-ZIN5VJGB.js +0 -31
- package/dist/purify.es-3S3RVH5Y.js +0 -1594
- package/dist/purify.es-3S3RVH5Y.js.map +0 -7
- package/dist/qualitative-27BZGASV.js +0 -34
- package/dist/qualitative-N4F6NITI.js +0 -241
- package/dist/radar2-X465RPJX.js +0 -323
- package/dist/radarFacility2-AE7BA62N.js +0 -331
- package/dist/rememberedGvQ.unit.spec-4PDIU5RY.js +0 -210
- package/dist/render-TD2QWOHT.js +0 -29
- package/dist/report-3Y2OWDF7.js +0 -213
- package/dist/sampleView-BUMMYRHJ.js +0 -39
- package/dist/samplelst-BWK53BLI.js +0 -102
- package/dist/samplematrix-RQU43UYR.js +0 -2188
- package/dist/sc-LCBFWCZZ.js +0 -77
- package/dist/scatter-6S5I7OW3.js +0 -921
- package/dist/scatter-MJELX75N.js +0 -84
- package/dist/selectGenomeWithTklst-WAVXHXR5.js +0 -125
- package/dist/singleCellCellType-WMCAJ7JF.js +0 -29
- package/dist/singleCellCellType.unit.spec-4Z46ZT5Q.js +0 -150
- package/dist/singleCellGeneExpression-7Q5ZJT4R.js +0 -29
- package/dist/singleCellGeneExpression.unit.spec-6C7PDGRH.js +0 -144
- package/dist/singleCellNumericValue-QGYITZRC.js +0 -29
- package/dist/singleCellNumericValue.unit.spec-MQUKPEZJ.js +0 -412
- package/dist/singleCellPlot-JJMFJ2KQ.js +0 -44
- package/dist/singlecell-J23S3JR2.js +0 -1562
- package/dist/singlecell-Y4OGUWEC.js +0 -77
- package/dist/snp-IO6TKWGD.js +0 -29
- package/dist/snp.unit.spec-X7ILEEPO.js +0 -167
- package/dist/snplocus-Z2NGIKMO.js +0 -200
- package/dist/snplst-XCS2FCQV.js +0 -36
- package/dist/spliceevent.a53ss.diagram-F3S4BRVG.js +0 -142
- package/dist/spliceevent.exonskip.diagram-AXCDJKH4.js +0 -274
- package/dist/spliceevent.noeventdiagram-UK3X667E.js +0 -451
- package/dist/ssGSEA-ZRPNQKJ5.js +0 -29
- package/dist/ssGSEA.unit.spec-DG5ZHLC7.js +0 -79
- package/dist/stattable-XYSC3CYU.js +0 -112
- package/dist/studyCatalog-Y75LMI62.js +0 -457
- package/dist/summarizeCnvGeneexp-H2NP7VLU.js +0 -154
- package/dist/summarizeGeneexpSurvival-HTCD3VQQ.js +0 -101
- package/dist/summarizeMutationCnv-UEGXWK2P.js +0 -155
- package/dist/summarizeMutationDiagnosis-MJGWP7IT.js +0 -31
- package/dist/summarizeMutationSurvival-55JW5LA6.js +0 -95
- package/dist/summary-HJO23RGB.js +0 -40
- package/dist/summary.integration.spec-OWI2C2N5.js +0 -405
- package/dist/summaryInput-RL2JXRDE.js +0 -238
- package/dist/sunburst-JFY6V5E2.js +0 -274
- package/dist/survival-6FLR4YCJ.js +0 -1246
- package/dist/survival-PBBU6PA5.js +0 -49
- package/dist/survival.integration.spec-WAKTGYGP.js +0 -609
- package/dist/svg2pdf.es.min-NIFE2BIE.js +0 -3157
- package/dist/svgraph-WD3DUZV7.js +0 -1377
- package/dist/svmr-AP6ZFO7S.js +0 -3832
- package/dist/svmr-AP6ZFO7S.js.map +0 -7
- package/dist/swimmer-VPKSBV6V.js +0 -741
- package/dist/table-GX3VJLPZ.js +0 -192
- package/dist/termCollection-QE7U5QBD.js +0 -29
- package/dist/termCollection-YQ332WKB.js +0 -247
- package/dist/termCollection.unit.spec-ELLN7VRA.js +0 -295
- package/dist/termCollectionFractionSelection-V3RP5KAT.js +0 -38
- package/dist/termCollectionFractionSelection.unit.spec-JR7Q7TJI.js +0 -184
- package/dist/tk-GD2KJM5W.js +0 -1116
- package/dist/tk-J5VPFEX6.js +0 -37
- package/dist/tp.ui-5K3AAXDW.js +0 -1449
- package/dist/tp.ui-5K3AAXDW.js.map +0 -7
- package/dist/tvs.categorical-RPACB4VU.js +0 -28
- package/dist/tvs.condition-O6JBUM6D.js +0 -160
- package/dist/tvs.dt-5EVBSRX3.js +0 -30
- package/dist/tvs.dtcnv.categorical-Y5YHBZNC.js +0 -31
- package/dist/tvs.dtcnv.continuous-WP322QUP.js +0 -63
- package/dist/tvs.dtfusion-CCMUFDMQ.js +0 -31
- package/dist/tvs.dtitd-P3ED3MWA.js +0 -31
- package/dist/tvs.dtsnvindel-X2MXPLC6.js +0 -31
- package/dist/tvs.dtsv-4FOWFNVV.js +0 -31
- package/dist/tvs.multivalue-IRF467ZK.js +0 -84
- package/dist/tvs.numeric-C7FDCGCS.js +0 -32
- package/dist/tvs.samplelst-CBU6ATI5.js +0 -95
- package/dist/tvs.survival-3K5ASAXV.js +0 -110
- package/dist/tvs.termCollection-MXEWO6KJ.js +0 -118
- package/dist/vocabulary-GQBHDP3K.js +0 -32
- package/dist/wsi.direct-25JUHWEF.js +0 -8339
- package/dist/wsi.direct-25JUHWEF.js.map +0 -7
- /package/dist/{2dmaf-RRHATFHO.js.map → 2dmaf-BZWQ4YZF.js.map} +0 -0
- /package/dist/{AggMatrixInput-4UHBCXYH.js.map → AggMatrixInput-OXUENYYF.js.map} +0 -0
- /package/dist/{AggregateMatrix-IJE5CM5Y.js.map → AggregateMatrix-7PYLWY3X.js.map} +0 -0
- /package/dist/{AppHeader-UXGLRW6C.js.map → AppHeader-QOLLABH4.js.map} +0 -0
- /package/dist/{BoxPlot-GQYC22KY.js.map → BoxPlot-PDRYKWXF.js.map} +0 -0
- /package/dist/{CorrelationVolcano-5CWRWZTI.js.map → CorrelationVolcano-Z3ABRHL6.js.map} +0 -0
- /package/dist/{Cuminc-TYHKAPRK.js.map → Cuminc-ATQT3KDO.js.map} +0 -0
- /package/dist/{DE-UUFQGSOI.js.map → DE-5LMMF5QB.js.map} +0 -0
- /package/dist/{DEinput-DU7MF4YY.js.map → DEinput-Y2VXYH54.js.map} +0 -0
- /package/dist/{DM-SSI5KUBC.js.map → DM-ACIWRZS2.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-G6FE2MXY.js.map → DifferentialAnalysis-23WQKT6I.js.map} +0 -0
- /package/dist/{Disco-B3KGNEAW.js.map → Disco-5UBCTVTY.js.map} +0 -0
- /package/dist/{Disco.UI-UNPUBQCN.js.map → Disco.UI-6YCIW3QK.js.map} +0 -0
- /package/dist/{GB-SXACUA4V.js.map → GB-QZZG4DHJ.js.map} +0 -0
- /package/dist/{GSEA-EHMBA3TF.js.map → GSEA-3WW4GEXE.js.map} +0 -0
- /package/dist/{GeneExpInput-NDXISF2U.js.map → GeneExpInput-PW6HP5LO.js.map} +0 -0
- /package/dist/{Geomap-3CNT227W.js.map → Geomap-YDUXJ65P.js.map} +0 -0
- /package/dist/{HicApp-VQBUB6EZ.js.map → HicApp-CXHLK5UM.js.map} +0 -0
- /package/dist/{IDCViewer-DTOE7KDX.js.map → IDCViewer-ID46XKWW.js.map} +0 -0
- /package/dist/{NumBinaryEditor-IVZ4MMQT.js.map → NumBinaryEditor-7HEQD3UO.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-3BSQ6FM4.js.map → NumBinaryEditor.unit.spec-CE5FZMLZ.js.map} +0 -0
- /package/dist/{NumContEditor-CUZHU3IO.js.map → NumContEditor-7J4IODVT.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-SCQFD2Y7.js.map → NumContEditor.unit.spec-H3DEDHGO.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-UEEYZ4ZO.js.map → NumCustomBinEditor-URE4NOZI.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-GYS35OQV.js.map → NumCustomBinEditor.unit.spec-XE5AUM45.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-IT7NIXTV.js.map → NumDiscreteEditor-PBV2QXRU.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-LB6VLAWO.js.map → NumDiscreteEditor.unit.spec-2TWQ7DAZ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-FF6UXZWN.js.map → NumRegularBinEditor-MG27BRWO.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-Z4S5LH2C.js.map → NumRegularBinEditor.unit.spec-6NJLP3BX.js.map} +0 -0
- /package/dist/{NumSplineEditor-IW5WEN3P.js.map → NumSplineEditor-ZZKMWU2V.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-PAEN3SAD.js.map → NumSplineEditor.unit.spec-T3C2YPU5.js.map} +0 -0
- /package/dist/{NumericDensity-CPJIQLYT.js.map → NumericDensity-BUEAEQZD.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-4KHECHVU.js.map → NumericDensity.unit.spec-XZ77VRO7.js.map} +0 -0
- /package/dist/{NumericHandler-SEFTQJDM.js.map → NumericHandler-RW2NAEBZ.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-UGDR3476.js.map → NumericHandler.unit.spec-BQGTQBV6.js.map} +0 -0
- /package/dist/{ProteomeInput-NYPUYVN5.js.map → ProteomeInput-RL6IDTOA.js.map} +0 -0
- /package/dist/{Regression-WDSISHYL.js.map → Regression-EVGHTLUT.js.map} +0 -0
- /package/dist/{RunChart2-2NPADXUR.js.map → RunChart2-NK2KWOZ7.js.map} +0 -0
- /package/dist/{Violin-POGGPCZY.js.map → Violin-2HIRC6A2.js.map} +0 -0
- /package/dist/{adSandbox-SUCX6DAQ.js.map → adSandbox-T2HORPLC.js.map} +0 -0
- /package/dist/{animatedBubbleChart-SDBWJELZ.js.map → animatedBubbleChart-PS7KMVSY.js.map} +0 -0
- /package/dist/{app-ATQM5PKI.js.map → app-FKPGNJDN.js.map} +0 -0
- /package/dist/{app-BCKEWJCY.js.map → app-NPGVS6X4.js.map} +0 -0
- /package/dist/{bam-QK2ZLZDI.js.map → bam-QQ54FE3A.js.map} +0 -0
- /package/dist/{barchart-RHDKI3NZ.js.map → barchart-4DLCN7NL.js.map} +0 -0
- /package/dist/{barchart2-CS3E6FOY.js.map → barchart2-H65GFNNQ.js.map} +0 -0
- /package/dist/{block-RQ3HTJVP.js.map → block-RAYA73ZN.js.map} +0 -0
- /package/dist/{block.init-T33F47DO.js.map → block.init-VE3TQWH4.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-LQD6MN6Z.js.map → block.mds.expressionrank-YLFQQHZJ.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-N5XHHVR7.js.map → block.mds.geneboxplot-6V44H7EC.js.map} +0 -0
- /package/dist/{block.mds.junction-JD4WQUSH.js.map → block.mds.junction-DEIUZOQK.js.map} +0 -0
- /package/dist/{block.mds.svcnv-LCTYWXL2.js.map → block.mds.svcnv-PTP7JYS2.js.map} +0 -0
- /package/dist/{block.svg-2F3RGTI3.js.map → block.svg-RGDXDKV6.js.map} +0 -0
- /package/dist/{block.tk.aicheck-BOF6WZ5E.js.map → block.tk.aicheck-MFXHYAIN.js.map} +0 -0
- /package/dist/{block.tk.bam-5GBYEQBM.js.map → block.tk.bam-ICTVSRQ6.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-LVQEP4RS.js.map → block.tk.bedgraphdot-X5AYHRUJ.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-HHBO4JAC.js.map → block.tk.bigwig.ui-FS3DA5JQ.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-JBO4UEOA.js.map → block.tk.hicstraw-MBBA3H4E.js.map} +0 -0
- /package/dist/{block.tk.junction-S5S2N7FK.js.map → block.tk.junction-L3YVWWOR.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-DNQL7WB5.js.map → block.tk.junction.textmatrixui-PU3C7W6B.js.map} +0 -0
- /package/dist/{block.tk.ld-JHQNR67E.js.map → block.tk.ld-SNKUZDPW.js.map} +0 -0
- /package/dist/{block.tk.menu-7JBJOY2O.js.map → block.tk.menu-NARHQW7Y.js.map} +0 -0
- /package/dist/{block.tk.pgv-FQPREV6P.js.map → block.tk.pgv-NVNFNJZ6.js.map} +0 -0
- /package/dist/{brainImaging-HEWGZZNY.js.map → brainImaging-KHFLAPHC.js.map} +0 -0
- /package/dist/{brainRegions-QUGB7YUW.js.map → brainRegions-MQL2KZOQ.js.map} +0 -0
- /package/dist/{bubbleHeatmap-OZRONGAX.js.map → bubbleHeatmap-U3GAF5AV.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-N7NDE325.js.map → cellTypeBubbleHeatmap-5ENEMDCZ.js.map} +0 -0
- /package/dist/{chunk-3SPEW6R6.js.map → chunk-25Q4AX4L.js.map} +0 -0
- /package/dist/{chunk-VPMQDTYR.js.map → chunk-2WWCHIXZ.js.map} +0 -0
- /package/dist/{chunk-NYO7YANQ.js.map → chunk-3AO7OZLF.js.map} +0 -0
- /package/dist/{chunk-NULQJF73.js.map → chunk-3DZJ64RQ.js.map} +0 -0
- /package/dist/{chunk-F23EQSGU.js.map → chunk-3QZHRQ55.js.map} +0 -0
- /package/dist/{chunk-QLUTQPZE.js.map → chunk-3ZM5PZXA.js.map} +0 -0
- /package/dist/{chunk-6Q5SOSSU.js.map → chunk-43FVCJXV.js.map} +0 -0
- /package/dist/{chunk-C2TII2FF.js.map → chunk-43WVK5KI.js.map} +0 -0
- /package/dist/{chunk-RZ2THVK4.js.map → chunk-4ZOKEHK4.js.map} +0 -0
- /package/dist/{chunk-BU6PAOGA.js.map → chunk-5M4U6S3E.js.map} +0 -0
- /package/dist/{chunk-X77QVINS.js.map → chunk-5O4GAKJT.js.map} +0 -0
- /package/dist/{chunk-HJARHSDC.js.map → chunk-5Q6TANNH.js.map} +0 -0
- /package/dist/{chunk-PETYR7LC.js.map → chunk-5WBIVXMG.js.map} +0 -0
- /package/dist/{chunk-QYCPIVCX.js.map → chunk-65FN7LIA.js.map} +0 -0
- /package/dist/{chunk-DFZWE3TR.js.map → chunk-7HTMIFVR.js.map} +0 -0
- /package/dist/{chunk-GSVB4XNS.js.map → chunk-AOKINHUU.js.map} +0 -0
- /package/dist/{chunk-AJXP4AV7.js.map → chunk-APXULA6M.js.map} +0 -0
- /package/dist/{chunk-6D4HOTG7.js.map → chunk-C7O67FZJ.js.map} +0 -0
- /package/dist/{chunk-NHMIMTJA.js.map → chunk-CCNV3WJO.js.map} +0 -0
- /package/dist/{chunk-AV2IH5K2.js.map → chunk-DAKRDL76.js.map} +0 -0
- /package/dist/{chunk-7X347XMF.js.map → chunk-EGQVMN6S.js.map} +0 -0
- /package/dist/{chunk-WU3YXPRE.js.map → chunk-ERCLZ433.js.map} +0 -0
- /package/dist/{chunk-S4IZ4VM7.js.map → chunk-ESLXHJ7W.js.map} +0 -0
- /package/dist/{chunk-AMW5LCUB.js.map → chunk-ET2KFCXK.js.map} +0 -0
- /package/dist/{chunk-B3WLXXGY.js.map → chunk-EYIZTX33.js.map} +0 -0
- /package/dist/{chunk-AIC43DTG.js.map → chunk-F2PHTKCI.js.map} +0 -0
- /package/dist/{chunk-TEFWF3SK.js.map → chunk-FJXUMOVQ.js.map} +0 -0
- /package/dist/{chunk-H2FELGYK.js.map → chunk-HJCI33L4.js.map} +0 -0
- /package/dist/{chunk-J5KCTRJC.js.map → chunk-HKXBGMUT.js.map} +0 -0
- /package/dist/{chunk-QNQ2ZYT7.js.map → chunk-HNMKK33Y.js.map} +0 -0
- /package/dist/{chunk-X2HWRISK.js.map → chunk-IKZAWD7P.js.map} +0 -0
- /package/dist/{chunk-KGX2OIR4.js.map → chunk-ILPJAASI.js.map} +0 -0
- /package/dist/{chunk-LSQ5AQ6Q.js.map → chunk-JFZECJY2.js.map} +0 -0
- /package/dist/{chunk-PLFPXOGX.js.map → chunk-K6CZAEBF.js.map} +0 -0
- /package/dist/{chunk-BZV2BJDU.js.map → chunk-KXDK6ZOJ.js.map} +0 -0
- /package/dist/{chunk-V4ZKHM6D.js.map → chunk-L7LRBRUN.js.map} +0 -0
- /package/dist/{chunk-SUT75MRI.js.map → chunk-LO624OGK.js.map} +0 -0
- /package/dist/{chunk-CTFHEDG2.js.map → chunk-LPDQ26OP.js.map} +0 -0
- /package/dist/{chunk-MU4Z2MX2.js.map → chunk-M2XWAAIZ.js.map} +0 -0
- /package/dist/{chunk-E7XHA4YL.js.map → chunk-M37J6Z5U.js.map} +0 -0
- /package/dist/{chunk-F5FFI7Z7.js.map → chunk-M5SJ42E2.js.map} +0 -0
- /package/dist/{chunk-FVZTRWAO.js.map → chunk-MJREV2KW.js.map} +0 -0
- /package/dist/{chunk-LQKMDIRB.js.map → chunk-MRR5GPPP.js.map} +0 -0
- /package/dist/{chunk-SYLYLOHK.js.map → chunk-NSCNNQOY.js.map} +0 -0
- /package/dist/{chunk-EDFBRXX2.js.map → chunk-OAQLBII5.js.map} +0 -0
- /package/dist/{chunk-OBNHXAYG.js.map → chunk-OKHU7EJW.js.map} +0 -0
- /package/dist/{chunk-V7DNHPZD.js.map → chunk-OXVB4OZC.js.map} +0 -0
- /package/dist/{chunk-SFUDTUXF.js.map → chunk-PDZED3RR.js.map} +0 -0
- /package/dist/{chunk-HWNQOADC.js.map → chunk-PITPUAWX.js.map} +0 -0
- /package/dist/{chunk-JMFVXWDX.js.map → chunk-PVXG2BRT.js.map} +0 -0
- /package/dist/{chunk-FK5NL2DF.js.map → chunk-PX6MHRAN.js.map} +0 -0
- /package/dist/{chunk-7JHIUS54.js.map → chunk-REIPTX7J.js.map} +0 -0
- /package/dist/{chunk-ABLG7GUS.js.map → chunk-RFE2VG6T.js.map} +0 -0
- /package/dist/{chunk-GVAV4VRI.js.map → chunk-RPFQOIYX.js.map} +0 -0
- /package/dist/{chunk-HFKZGMVV.js.map → chunk-S2NAGL4V.js.map} +0 -0
- /package/dist/{chunk-GDHQVEIO.js.map → chunk-T24YYODE.js.map} +0 -0
- /package/dist/{chunk-5G6O5RYM.js.map → chunk-TDP4PX2S.js.map} +0 -0
- /package/dist/{chunk-65DO5IKM.js.map → chunk-TUPJEZSL.js.map} +0 -0
- /package/dist/{chunk-F2EEQ7KG.js.map → chunk-UNXVW5OT.js.map} +0 -0
- /package/dist/{chunk-VV6JIG4D.js.map → chunk-UOWUMUAX.js.map} +0 -0
- /package/dist/{chunk-CZK4EV3Y.js.map → chunk-V6EIPPMT.js.map} +0 -0
- /package/dist/{chunk-AFEFZ74T.js.map → chunk-VGUO2BQ7.js.map} +0 -0
- /package/dist/{chunk-CXEECHP5.js.map → chunk-VKWZPC73.js.map} +0 -0
- /package/dist/{chunk-PQVHRM4L.js.map → chunk-VQ5PDCAJ.js.map} +0 -0
- /package/dist/{chunk-HXRG7XYB.js.map → chunk-VQK3UKNA.js.map} +0 -0
- /package/dist/{chunk-XXFLJWTQ.js.map → chunk-WB5MHFHB.js.map} +0 -0
- /package/dist/{chunk-BG6GAROI.js.map → chunk-WK6CPMXR.js.map} +0 -0
- /package/dist/{chunk-DX23HAW7.js.map → chunk-WRYNE3Q4.js.map} +0 -0
- /package/dist/{chunk-2FWSNJEN.js.map → chunk-XA6LI63Y.js.map} +0 -0
- /package/dist/{chunk-TPSVPMAN.js.map → chunk-Y7Y6X6E5.js.map} +0 -0
- /package/dist/{chunk-L2NPLA43.js.map → chunk-YG57X4VD.js.map} +0 -0
- /package/dist/{chunk-2JIKMCJR.js.map → chunk-YPOIMSJR.js.map} +0 -0
- /package/dist/{chunk-MFR4WWDM.js.map → chunk-ZRLON6PP.js.map} +0 -0
- /package/dist/{chunk-L2WOLNZK.js.map → chunk-ZSNZPH6G.js.map} +0 -0
- /package/dist/{cohort-ATIZW34H.js.map → cohort-TPMJZ4OH.js.map} +0 -0
- /package/dist/{condition-SGJIDZNB.js.map → condition-QROUALBG.js.map} +0 -0
- /package/dist/{controls-JQCMGPXP.js.map → controls-GH37YWOP.js.map} +0 -0
- /package/dist/{controls.config-WQHVQAIJ.js.map → controls.config-ZYCDICYF.js.map} +0 -0
- /package/dist/{correlation-S3MN3L5Q.js.map → correlation-JESMUFS6.js.map} +0 -0
- /package/dist/{customdata.inputui-LGTGMJBZ.js.map → customdata.inputui-T2DLAZYJ.js.map} +0 -0
- /package/dist/{dataDownload-FAWN2WKE.js.map → dataDownload-Z7A6ZEH7.js.map} +0 -0
- /package/dist/{databrowser.ui-KF3LWQXG.js.map → databrowser.ui-ZVMGFYJ2.js.map} +0 -0
- /package/dist/{dictionary-EVLEOT72.js.map → dictionary-KXFUR3NL.js.map} +0 -0
- /package/dist/{dnaMethylation-J3SPEM4S.js.map → dnaMethylation-2YU2HDD4.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-CTA53YCT.js.map → dnaMethylation.integration.spec-75Y5RSDO.js.map} +0 -0
- /package/dist/{dofetch-3C3MI5NR.js.map → dofetch-G5ULIRMG.js.map} +0 -0
- /package/dist/{e2pca-PTWPY5WP.js.map → e2pca-75VDPO7P.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-S5FE4MMD.js.map → expclust.gdc.spec-PB66FFWD.js.map} +0 -0
- /package/dist/{facet-FSOIZJCA.js.map → facet-2RY37EFR.js.map} +0 -0
- /package/dist/{gb-YDEOK7NW.js.map → gb-WQQFYFGF.js.map} +0 -0
- /package/dist/{geneExpClustering-37JKKFW3.js.map → geneExpClustering-ARVZDF6G.js.map} +0 -0
- /package/dist/{geneExpression-VQPRFNKE.js.map → geneExpression-FR33PKJW.js.map} +0 -0
- /package/dist/{geneExpression-G6ODP3VY.js.map → geneExpression-O7DR5SMR.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-ZHXCUG6Q.js.map → geneExpression.unit.spec-HGNDSTAI.js.map} +0 -0
- /package/dist/{geneORA-E3PSS3CI.js.map → geneORA-RXXQT44V.js.map} +0 -0
- /package/dist/{geneRanking-MK3YYINC.js.map → geneRanking-WDQZ7TI3.js.map} +0 -0
- /package/dist/{geneVariant-LEMAVFOY.js.map → geneVariant-6JYBWFEJ.js.map} +0 -0
- /package/dist/{geneVariant-NNSB7JLS.js.map → geneVariant-TKRG5VQN.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-6CC5UAOP.js.map → geneVariant.integration.spec-L2Q2DY67.js.map} +0 -0
- /package/dist/{genefusion.ui-5NCQIQPN.js.map → genefusion.ui-DBLMBU2D.js.map} +0 -0
- /package/dist/{geneset-ZX4V3CFB.js.map → geneset-2ZQF7FET.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-J7ISXY6H.js.map → genomeBrowser.spec-E5RJD53Z.js.map} +0 -0
- /package/dist/{grin2-LBGBBB4L.js.map → grin2-MJ4SYAFO.js.map} +0 -0
- /package/dist/{grin2-GN3DQNON.js.map → grin2-VXRMV7VA.js.map} +0 -0
- /package/dist/{hierCluster-5JURTKAZ.js.map → hierCluster-44FPBMNL.js.map} +0 -0
- /package/dist/{hierCluster-BJ5VBPXR.js.map → hierCluster-SU4BDK6I.js.map} +0 -0
- /package/dist/{hierCluster.config-4EERP4KK.js.map → hierCluster.config-4OZ65GKH.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-VR4GULRV.js.map → hierCluster.integration.spec-CHNSKZD4.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-SMTQOKUY.js.map → hierCluster.interactivity-M72CEGCW.js.map} +0 -0
- /package/dist/{hierCluster.renderers-PAME7BWU.js.map → hierCluster.renderers-RM43G7ZR.js.map} +0 -0
- /package/dist/{imagePlot-4LMIKBVE.js.map → imagePlot-UYMWFNI4.js.map} +0 -0
- /package/dist/{importPlot-3CG6ASNH.js.map → importPlot-W3HPE4LZ.js.map} +0 -0
- /package/dist/{isoformExpression-VCDNKTZ6.js.map → isoformExpression-JEMJE5WY.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-ZXYY37TA.js.map → isoformExpression.unit.spec-GOK5LFME.js.map} +0 -0
- /package/dist/{jspdf.es.min-V7ONHJJV.js.map → jspdf.es.min-KB3HW45U.js.map} +0 -0
- /package/dist/{junction-5DXJO4PS.js.map → junction-2X4AS47T.js.map} +0 -0
- /package/dist/{junction.customTerm-UOPUSEOE.js.map → junction.customTerm-MVSIUY66.js.map} +0 -0
- /package/dist/{junction.unit.spec-F35E3GJW.js.map → junction.unit.spec-HA74XQYV.js.map} +0 -0
- /package/dist/{launch.adhoc-V2HTCQGD.js.map → launch.adhoc-PZAJ6J2S.js.map} +0 -0
- /package/dist/{leftlabel.sample-V7O2EC36.js.map → leftlabel.sample-7BZKFB3I.js.map} +0 -0
- /package/dist/{lollipop-RNRZLG64.js.map → lollipop-URSFH4ZE.js.map} +0 -0
- /package/dist/{maf-W6SF6BJS.js.map → maf-CM3ETF4N.js.map} +0 -0
- /package/dist/{maftimeline-NABCAMHG.js.map → maftimeline-CRQEUTRY.js.map} +0 -0
- /package/dist/{matrix-JC6AJT2N.js.map → matrix-IBWB4A3Z.js.map} +0 -0
- /package/dist/{matrix-UCHESWVK.js.map → matrix-SOBGWBTY.js.map} +0 -0
- /package/dist/{matrix.cells-B4L42TBM.js.map → matrix.cells-GSKC6FXI.js.map} +0 -0
- /package/dist/{matrix.config-6US3AAH7.js.map → matrix.config-4KU5X3LQ.js.map} +0 -0
- /package/dist/{matrix.data-FYFXYDA3.js.map → matrix.data-XC2OTBTR.js.map} +0 -0
- /package/dist/{matrix.groups-Y7DEG3GS.js.map → matrix.groups-THXKRQSD.js.map} +0 -0
- /package/dist/{matrix.integration.spec-KXX7SFX5.js.map → matrix.integration.spec-GKHH4RSR.js.map} +0 -0
- /package/dist/{matrix.interactivity-NHWG4WCC.js.map → matrix.interactivity-ITXMM2ZP.js.map} +0 -0
- /package/dist/{matrix.layout-5DQNT7DD.js.map → matrix.layout-D6SRLAXS.js.map} +0 -0
- /package/dist/{matrix.legend-OY7IF6AS.js.map → matrix.legend-OWQAMHI2.js.map} +0 -0
- /package/dist/{matrix.renderers-GYOXGHPU.js.map → matrix.renderers-J66OAQUZ.js.map} +0 -0
- /package/dist/{matrix.serieses-657TLDAV.js.map → matrix.serieses-P5I4E2NB.js.map} +0 -0
- /package/dist/{matrix.sort-IMA2ES3T.js.map → matrix.sort-CXBXF75N.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-S6BAFYPR.js.map → matrix.sort.unit.spec-RSXBKXC5.js.map} +0 -0
- /package/dist/{matrix.sorterUi-77F36Q5H.js.map → matrix.sorterUi-WEZRKU63.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-V5NVQGD5.js.map → matrix.sorterUi.unit.spec-6EULDV43.js.map} +0 -0
- /package/dist/{matrix.unit.spec-R4NMTZYQ.js.map → matrix.unit.spec-D4ZLDVDT.js.map} +0 -0
- /package/dist/{mds.fimo-5DCH5BEM.js.map → mds.fimo-CQFREH3A.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-VIBCS5M6.js.map → mds.samplescatterplot-XLJITURG.js.map} +0 -0
- /package/dist/{mds.survivalplot-AZ7LJDZZ.js.map → mds.survivalplot-MLRD27QP.js.map} +0 -0
- /package/dist/{multivalue-4QKGYYW2.js.map → multivalue-KJQCYBHA.js.map} +0 -0
- /package/dist/{numericDictTermCluster-GLLG6IK2.js.map → numericDictTermCluster-ZOU6R4XP.js.map} +0 -0
- /package/dist/{oncomatrix-R32ZPMX7.js.map → oncomatrix-4RHDDJDC.js.map} +0 -0
- /package/dist/{oncomatrix.spec-BMK6LMBS.js.map → oncomatrix.spec-JA6DT4PP.js.map} +0 -0
- /package/dist/{plot.2dvaf-46FT53MF.js.map → plot.2dvaf-VJWPWCOY.js.map} +0 -0
- /package/dist/{plot.app-7EE4YCV4.js.map → plot.app-JNEOGNVW.js.map} +0 -0
- /package/dist/{plot.barplot-FK4J2G7K.js.map → plot.barplot-YELRBXUB.js.map} +0 -0
- /package/dist/{plot.boxplot-ATY4LK3X.js.map → plot.boxplot-HNFOB3TV.js.map} +0 -0
- /package/dist/{plot.brainImaging-S7B547V4.js.map → plot.brainImaging-AZYEGF3U.js.map} +0 -0
- /package/dist/{plot.disco-K5MMC2GD.js.map → plot.disco-L6PGGZJI.js.map} +0 -0
- /package/dist/{plot.ssgq-B3OVMZFD.js.map → plot.ssgq-UM64SSXW.js.map} +0 -0
- /package/dist/{plot.vaf2cov-RBHDQULW.js.map → plot.vaf2cov-DKUKJRUP.js.map} +0 -0
- /package/dist/{polar2-GECELCTG.js.map → polar2-4YHPENAV.js.map} +0 -0
- /package/dist/{profileForms-2USYOA34.js.map → profileForms-KMECFO3K.js.map} +0 -0
- /package/dist/{profilePlot-YGD2CF6P.js.map → profilePlot-3AXSIXCK.js.map} +0 -0
- /package/dist/{proteinView-FCPWJLGU.js.map → proteinView-QWHOTL35.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-TYYUF5A5.js.map → proteomeCohortCompare-DL2QLFL3.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-UVVRP6NR.js.map → pseudbulk.unit.spec-IWR7EZ7O.js.map} +0 -0
- /package/dist/{pseudobulk-ZIN5VJGB.js.map → pseudobulk-IC525IZ2.js.map} +0 -0
- /package/dist/{qualitative-27BZGASV.js.map → qualitative-LK2QEYHU.js.map} +0 -0
- /package/dist/{qualitative-N4F6NITI.js.map → qualitative-YY4NQGO5.js.map} +0 -0
- /package/dist/{radar2-X465RPJX.js.map → radar2-TJUPENQF.js.map} +0 -0
- /package/dist/{radarFacility2-AE7BA62N.js.map → radarFacility2-Q7LBWLCV.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-4PDIU5RY.js.map → rememberedGvQ.unit.spec-2GBLM5AO.js.map} +0 -0
- /package/dist/{render-TD2QWOHT.js.map → render-AHR6SCQX.js.map} +0 -0
- /package/dist/{report-3Y2OWDF7.js.map → report-BPHJTRTO.js.map} +0 -0
- /package/dist/{sampleView-BUMMYRHJ.js.map → sampleView-CS2FB3K3.js.map} +0 -0
- /package/dist/{samplelst-BWK53BLI.js.map → samplelst-A3DHKP6U.js.map} +0 -0
- /package/dist/{samplematrix-RQU43UYR.js.map → samplematrix-5X7MFT3G.js.map} +0 -0
- /package/dist/{sc-LCBFWCZZ.js.map → sc-RCYXZMN6.js.map} +0 -0
- /package/dist/{scatter-6S5I7OW3.js.map → scatter-2ITGMX5N.js.map} +0 -0
- /package/dist/{scatter-MJELX75N.js.map → scatter-OAL4YOCA.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-WAVXHXR5.js.map → selectGenomeWithTklst-PB5KDW2N.js.map} +0 -0
- /package/dist/{singleCellCellType-WMCAJ7JF.js.map → singleCellCellType-FEFNOHOP.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-4Z46ZT5Q.js.map → singleCellCellType.unit.spec-V2I32V23.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-7Q5ZJT4R.js.map → singleCellGeneExpression-RUQQMKDE.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-6C7PDGRH.js.map → singleCellGeneExpression.unit.spec-VCMJRMT7.js.map} +0 -0
- /package/dist/{singleCellNumericValue-QGYITZRC.js.map → singleCellNumericValue-JLXZQWNT.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-MQUKPEZJ.js.map → singleCellNumericValue.unit.spec-XVCZEN5K.js.map} +0 -0
- /package/dist/{singleCellPlot-JJMFJ2KQ.js.map → singleCellPlot-4EBYWOJ2.js.map} +0 -0
- /package/dist/{singlecell-J23S3JR2.js.map → singlecell-UKZJAYVH.js.map} +0 -0
- /package/dist/{singlecell-Y4OGUWEC.js.map → singlecell-VNRWPXGV.js.map} +0 -0
- /package/dist/{snp-IO6TKWGD.js.map → snp-2RJDJQZC.js.map} +0 -0
- /package/dist/{snp.unit.spec-X7ILEEPO.js.map → snp.unit.spec-Z4DNBFAH.js.map} +0 -0
- /package/dist/{snplocus-Z2NGIKMO.js.map → snplocus-OZLIZ7R7.js.map} +0 -0
- /package/dist/{snplst-XCS2FCQV.js.map → snplst-EVRJ4OCL.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-F3S4BRVG.js.map → spliceevent.a53ss.diagram-N5UXX4OX.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-AXCDJKH4.js.map → spliceevent.exonskip.diagram-WBNFLW4V.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-UK3X667E.js.map → spliceevent.noeventdiagram-EI72A6L3.js.map} +0 -0
- /package/dist/{ssGSEA-ZRPNQKJ5.js.map → ssGSEA-NONMMNF7.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-DG5ZHLC7.js.map → ssGSEA.unit.spec-7JDPNLZA.js.map} +0 -0
- /package/dist/{stattable-XYSC3CYU.js.map → stattable-NNUHKPF4.js.map} +0 -0
- /package/dist/{studyCatalog-Y75LMI62.js.map → studyCatalog-KMLE7Q55.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-H2NP7VLU.js.map → summarizeCnvGeneexp-AHCGPQLE.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-HTCD3VQQ.js.map → summarizeGeneexpSurvival-NCST7HDQ.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-UEGXWK2P.js.map → summarizeMutationCnv-VUTQYXO6.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-MJGWP7IT.js.map → summarizeMutationDiagnosis-TFU2HUHQ.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-55JW5LA6.js.map → summarizeMutationSurvival-F4CJILS3.js.map} +0 -0
- /package/dist/{summary-HJO23RGB.js.map → summary-QQZW7BEE.js.map} +0 -0
- /package/dist/{summary.integration.spec-OWI2C2N5.js.map → summary.integration.spec-FILIPD3W.js.map} +0 -0
- /package/dist/{summaryInput-RL2JXRDE.js.map → summaryInput-RMY226Y3.js.map} +0 -0
- /package/dist/{sunburst-JFY6V5E2.js.map → sunburst-Y4LNCKMR.js.map} +0 -0
- /package/dist/{survival-PBBU6PA5.js.map → survival-4FYQHQHX.js.map} +0 -0
- /package/dist/{survival-6FLR4YCJ.js.map → survival-6GC267GY.js.map} +0 -0
- /package/dist/{survival.integration.spec-WAKTGYGP.js.map → survival.integration.spec-5ERXR6MG.js.map} +0 -0
- /package/dist/{svg2pdf.es.min-NIFE2BIE.js.map → svg2pdf.es.min-KKHWPFWG.js.map} +0 -0
- /package/dist/{svgraph-WD3DUZV7.js.map → svgraph-XIQIA7OJ.js.map} +0 -0
- /package/dist/{swimmer-VPKSBV6V.js.map → swimmer-643B5Q6F.js.map} +0 -0
- /package/dist/{table-GX3VJLPZ.js.map → table-JQIBRXTJ.js.map} +0 -0
- /package/dist/{termCollection-YQ332WKB.js.map → termCollection-LU5NW6KT.js.map} +0 -0
- /package/dist/{termCollection-QE7U5QBD.js.map → termCollection-XZCPBXRV.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-ELLN7VRA.js.map → termCollection.unit.spec-H5LBV3N4.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-V3RP5KAT.js.map → termCollectionFractionSelection-3YHOFXEL.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-JR7Q7TJI.js.map → termCollectionFractionSelection.unit.spec-G5X3Y5YI.js.map} +0 -0
- /package/dist/{tk-J5VPFEX6.js.map → tk-NPWNBXLB.js.map} +0 -0
- /package/dist/{tk-GD2KJM5W.js.map → tk-YSW5NPW2.js.map} +0 -0
- /package/dist/{tvs.categorical-RPACB4VU.js.map → tvs.categorical-TUX6KRZI.js.map} +0 -0
- /package/dist/{tvs.condition-O6JBUM6D.js.map → tvs.condition-2CH25PLO.js.map} +0 -0
- /package/dist/{tvs.dt-5EVBSRX3.js.map → tvs.dt-YKP3F75O.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-Y5YHBZNC.js.map → tvs.dtcnv.categorical-QBJWJNHZ.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-WP322QUP.js.map → tvs.dtcnv.continuous-MV25OLBD.js.map} +0 -0
- /package/dist/{tvs.dtfusion-CCMUFDMQ.js.map → tvs.dtfusion-SJ64HNKE.js.map} +0 -0
- /package/dist/{tvs.dtitd-P3ED3MWA.js.map → tvs.dtitd-WQLHZK2P.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-X2MXPLC6.js.map → tvs.dtsnvindel-WMFJ7W7U.js.map} +0 -0
- /package/dist/{tvs.dtsv-4FOWFNVV.js.map → tvs.dtsv-GKEC5OGA.js.map} +0 -0
- /package/dist/{tvs.multivalue-IRF467ZK.js.map → tvs.multivalue-LFWMQETN.js.map} +0 -0
- /package/dist/{tvs.numeric-C7FDCGCS.js.map → tvs.numeric-63NVZG7U.js.map} +0 -0
- /package/dist/{tvs.samplelst-CBU6ATI5.js.map → tvs.samplelst-DEMMYRKK.js.map} +0 -0
- /package/dist/{tvs.survival-3K5ASAXV.js.map → tvs.survival-M4QUVP5L.js.map} +0 -0
- /package/dist/{tvs.termCollection-MXEWO6KJ.js.map → tvs.termCollection-J367GZY3.js.map} +0 -0
- /package/dist/{vocabulary-GQBHDP3K.js.map → vocabulary-RAVWS5IS.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-YS7Y257H.js";
|
|
17
|
+
import {
|
|
18
|
+
Menu
|
|
19
|
+
} from "./chunk-CNFTQSNE.js";
|
|
20
|
+
import {
|
|
21
|
+
dofetch3
|
|
22
|
+
} from "./chunk-XJYVMXMZ.js";
|
|
23
|
+
import {
|
|
24
|
+
NumericModes
|
|
25
|
+
} from "./chunk-ET2KFCXK.js";
|
|
26
|
+
import {
|
|
27
|
+
axisBottom,
|
|
28
|
+
axisLeft,
|
|
29
|
+
line_default
|
|
30
|
+
} from "./chunk-LMG7Y5IN.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-WRYNE3Q4.js.map
|