@sjcrh/proteinpaint-client 2.207.1 → 2.208.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-PN5YS362.js +1367 -0
- package/dist/AggMatrixInput-NJHU4FU2.js +406 -0
- package/dist/AggMatrixInput-NJHU4FU2.js.map +7 -0
- package/dist/AggregateMatrix-IBWOJWOC.js +41 -0
- package/dist/AppHeader-XV6S7GG5.js +830 -0
- package/dist/BoxPlot-ZIVA55SK.js +1211 -0
- package/dist/CorrelationVolcano-33I4FC44.js +617 -0
- package/dist/CorrelationVolcano-33I4FC44.js.map +7 -0
- package/dist/Cuminc-WKY35UGV.js +1219 -0
- package/dist/DE-E256DHID.js +89 -0
- package/dist/DEinput-YU3W72K7.js +499 -0
- package/dist/DM-W7PXTIKY.js +90 -0
- package/dist/DifferentialAnalysis-SHMQHWJL.js +236 -0
- package/dist/DifferentialAnalysis-SHMQHWJL.js.map +7 -0
- package/dist/Disco-OZY5GW2Z.js +3389 -0
- package/dist/Disco.UI-NRALEYXK.js +243 -0
- package/dist/DmrPlot-QKUX5XUW.js +637 -0
- package/dist/GB-ZYH7PGHT.js +1391 -0
- package/dist/GSEA-VQTD4MLY.js +851 -0
- package/dist/GeneExpInput-XEFUTLFU.js +42 -0
- package/dist/Geomap-GEK7UEDU.js +84 -0
- package/dist/HicApp-ZY7UHV5H.js +2245 -0
- package/dist/IDCViewer-YNKG4V46.js +10812 -0
- package/dist/NumBinaryEditor-NEL727DX.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-GCGZMJYF.js +312 -0
- package/dist/NumContEditor-IM6RRDGU.js +105 -0
- package/dist/NumContEditor.unit.spec-B5AJXANS.js +164 -0
- package/dist/NumCustomBinEditor-EZT5DRKP.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-KLUDS6TH.js +397 -0
- package/dist/NumDiscreteEditor-2M6Q5AAZ.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-2JYZYJUX.js +233 -0
- package/dist/NumRegularBinEditor-AQDHA2PU.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-62BYFNYG.js +278 -0
- package/dist/NumSplineEditor-6Y5TZSTO.js +210 -0
- package/dist/NumSplineEditor.unit.spec-S65AV5EK.js +224 -0
- package/dist/NumericDensity-5ES4SDWZ.js +33 -0
- package/dist/NumericDensity.unit.spec-J6KZSE2P.js +418 -0
- package/dist/NumericHandler-ZTLDPP2F.js +34 -0
- package/dist/NumericHandler.unit.spec-BZFBVHGU.js +214 -0
- package/dist/ProteomeInput-IKEXPCGV.js +388 -0
- package/dist/Regression-6F6YP3AX.js +1416 -0
- package/dist/RunChart2-CVRPXQH5.js +749 -0
- package/dist/SC-FPXVXBXF.js +1175 -0
- package/dist/SC-FPXVXBXF.js.map +7 -0
- package/dist/Violin-BAS6DQHL.js +1081 -0
- package/dist/Violin-BAS6DQHL.js.map +7 -0
- package/dist/Volcano-FCCWUMX7.js +1649 -0
- package/dist/Wsi-3YTFABWG.js +629 -0
- package/dist/Wsi-3YTFABWG.js.map +7 -0
- package/dist/adSandbox-QYIG6637.js +33 -0
- package/dist/animatedBubbleChart-X53PR73H.js +547 -0
- package/dist/app-HJLTRZPI.js +32 -0
- package/dist/app-MGY6A4DM.js +42 -0
- package/dist/app.js +14 -14
- package/dist/bam-VRQHRCP5.js +876 -0
- package/dist/barchart-TWMOUZFL.js +42 -0
- package/dist/barchart2-CV7RMMRG.js +309 -0
- package/dist/block-L53P4UGQ.js +6249 -0
- package/dist/block.init-XYOJTXKP.js +33 -0
- package/dist/block.mds.expressionrank-77FSBDHA.js +354 -0
- package/dist/block.mds.geneboxplot-4TSYV4WS.js +823 -0
- package/dist/block.mds.junction-P4MYDET6.js +1539 -0
- package/dist/block.mds.svcnv-CYOFAS2T.js +6796 -0
- package/dist/block.svg-IT3ELCF4.js +159 -0
- package/dist/block.tk.aicheck-GULHJLV5.js +278 -0
- package/dist/block.tk.ase-RW5YL6HN.js +360 -0
- package/dist/block.tk.bam-MPGQW6KB.js +1901 -0
- package/dist/block.tk.bedgraphdot-EYRY374P.js +379 -0
- package/dist/block.tk.bigwig.ui-BKSXCDNM.js +206 -0
- package/dist/block.tk.hicstraw-76PV6NM3.js +818 -0
- package/dist/block.tk.junction-Z52QHQJQ.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-K32OOTZC.js +194 -0
- package/dist/block.tk.ld-DDGLRHPO.js +94 -0
- package/dist/block.tk.menu-MO6TESKI.js +1024 -0
- package/dist/block.tk.pgv-AKLKKSEP.js +938 -0
- package/dist/brainImaging-KSTJQJAB.js +555 -0
- package/dist/brainRegions-WCRMMSK4.js +217 -0
- package/dist/bubbleHeatmap-4YOQ3BAB.js +378 -0
- package/dist/cellTypeBubbleHeatmap-O6YZ2RW4.js +278 -0
- package/dist/chunk-3GUVLDUS.js +299 -0
- package/dist/chunk-3PQDD5HM.js +446 -0
- package/dist/chunk-3WYUHDDP.js +1986 -0
- package/dist/chunk-4C7MA5Q3.js +158 -0
- package/dist/chunk-4EZLVENZ.js +1612 -0
- package/dist/chunk-4EZLVENZ.js.map +7 -0
- package/dist/chunk-4PB5ZEOB.js +102 -0
- package/dist/chunk-5IMFPVGT.js +119 -0
- package/dist/chunk-6DPELKO5.js +518 -0
- package/dist/chunk-6HGTVMZM.js +54 -0
- package/dist/chunk-6HGTVMZM.js.map +7 -0
- package/dist/chunk-72P6O537.js +1731 -0
- package/dist/chunk-72P6O537.js.map +7 -0
- package/dist/chunk-74C6G6JD.js +397 -0
- package/dist/chunk-A7TXS6JR.js +276 -0
- package/dist/chunk-AAJXHERO.js +123 -0
- package/dist/chunk-AVS4IXEA.js +692 -0
- package/dist/chunk-AVS4IXEA.js.map +7 -0
- package/dist/chunk-BFXZBZEV.js +176 -0
- package/dist/chunk-BGVGN73F.js +480 -0
- package/dist/chunk-BL7EYUZC.js +6360 -0
- package/dist/chunk-BPGZUNLL.js +274 -0
- package/dist/chunk-CPIPN5F6.js +141 -0
- package/dist/chunk-D5MSWPAZ.js +217 -0
- package/dist/chunk-DFT2PAIU.js +243 -0
- package/dist/chunk-DMWOK4DS.js +178 -0
- package/dist/chunk-DMWOK4DS.js.map +7 -0
- package/dist/chunk-E7NVJ44Z.js +263 -0
- package/dist/chunk-EMMGUSJB.js +54 -0
- package/dist/chunk-G3CCQOLH.js +240 -0
- package/dist/chunk-GGQVDHYF.js +379 -0
- package/dist/chunk-GMRIEUBW.js +408 -0
- package/dist/chunk-GMRIEUBW.js.map +7 -0
- package/dist/chunk-GPZYAJQH.js +2676 -0
- package/dist/chunk-GS6ZMPKP.js +272 -0
- package/dist/chunk-GUXKLMLM.js +102 -0
- package/dist/chunk-HELEV3LT.js +2853 -0
- package/dist/chunk-HKKTNIMX.js +339 -0
- package/dist/chunk-HKSRIEWJ.js +26 -0
- package/dist/chunk-IELQ3HMN.js +70 -0
- package/dist/chunk-IISNWG4X.js +103 -0
- package/dist/chunk-J7KB2MH3.js +34 -0
- package/dist/chunk-JEJV7V7M.js +2327 -0
- package/dist/chunk-JIZ3B32T.js +626 -0
- package/dist/chunk-KAY2ODXX.js +38 -0
- package/dist/chunk-KJM6PLXM.js +5071 -0
- package/dist/chunk-KZHF3MQX.js +1278 -0
- package/dist/chunk-MC674TS2.js +194 -0
- package/dist/chunk-MLKQZ3RL.js +1339 -0
- package/dist/chunk-MSSPT5YM.js +550 -0
- package/dist/chunk-N6IWVSFP.js +4375 -0
- package/dist/chunk-N6IWVSFP.js.map +7 -0
- package/dist/chunk-NBGVEZNX.js +56 -0
- package/dist/chunk-NBGVEZNX.js.map +7 -0
- package/dist/chunk-OBBR4UYN.js +54 -0
- package/dist/chunk-PQA3C2NY.js +294 -0
- package/dist/chunk-QJ2VBXFB.js +134 -0
- package/dist/chunk-QJ3HYZH3.js +24772 -0
- package/dist/chunk-QJ3HYZH3.js.map +7 -0
- package/dist/chunk-QP7EJXSU.js +55 -0
- package/dist/chunk-QUHXX7JE.js +56 -0
- package/dist/chunk-QUHXX7JE.js.map +7 -0
- package/dist/chunk-REPQKF5L.js +182 -0
- package/dist/chunk-REPQKF5L.js.map +7 -0
- package/dist/chunk-SHXJW27D.js +2784 -0
- package/dist/chunk-SUNDNTVY.js +302 -0
- package/dist/chunk-TSI4W6XO.js +98 -0
- package/dist/chunk-TXIQ5PHR.js +468 -0
- package/dist/chunk-U45R6QNT.js +562 -0
- package/dist/chunk-UMZJQWWK.js +1233 -0
- package/dist/chunk-VMRO6DMC.js +2140 -0
- package/dist/chunk-VMRO6DMC.js.map +7 -0
- package/dist/chunk-VO7Q4WMM.js +55 -0
- package/dist/chunk-VWGRKOVJ.js +170 -0
- package/dist/chunk-WCTKHF5T.js +197 -0
- package/dist/chunk-WOMERKMR.js +31 -0
- package/dist/chunk-WXX2YD4Q.js +59 -0
- package/dist/chunk-X44AR557.js +382 -0
- package/dist/chunk-XEU5HXOY.js +783 -0
- package/dist/chunk-XGYQZHNX.js +281 -0
- package/dist/chunk-XOND7UIK.js +49 -0
- package/dist/chunk-XRMUUWLS.js +339 -0
- package/dist/chunk-XTOGCXPD.js +129 -0
- package/dist/chunk-Y5BBFDC3.js +14 -0
- package/dist/chunk-Z2FSHODI.js +203 -0
- package/dist/cohort-JWIQOO7U.js +70 -0
- package/dist/condition-ZUAQYF5C.js +327 -0
- package/dist/controls-ZPQ6SXD2.js +34 -0
- package/dist/controls.config-NELL5HY5.js +34 -0
- package/dist/correlation-2X76UI3K.js +95 -0
- package/dist/customdata.inputui-V6QIGFRP.js +284 -0
- package/dist/dataDownload-NSDY4MSL.js +329 -0
- package/dist/databrowser.ui-DDLFQB6K.js +425 -0
- package/dist/dictionary-WSDD6TFI.js +113 -0
- package/dist/dnaMethylation-3IM4OACZ.js +33 -0
- package/dist/dnaMethylation.integration.spec-5CSJA67S.js +198 -0
- package/dist/dofetch-GZ7POIBV.js +48 -0
- package/dist/e2pca-AX7U2DOI.js +344 -0
- package/dist/ep-UKACHFJU.js +1249 -0
- package/dist/expclust.gdc.spec-46HDKH2Q.js +302 -0
- package/dist/facet-3EONZDDE.js +519 -0
- package/dist/gb-W7GX5NWS.js +81 -0
- package/dist/geneExpClustering-PJA6Y5GW.js +244 -0
- package/dist/geneExpression-EMLVPVNK.js +310 -0
- package/dist/geneExpression-JMGYBT53.js +33 -0
- package/dist/geneExpression.unit.spec-DDZVZJVC.js +128 -0
- package/dist/geneORA-CIAFQQWB.js +273 -0
- package/dist/geneRanking-JRAU6FMJ.js +548 -0
- package/dist/geneVariant-3DZTWQFG.js +36 -0
- package/dist/geneVariant-YWURIZ72.js +286 -0
- package/dist/geneVariant.integration.spec-V3KECZMM.js +489 -0
- package/dist/genefusion.ui-AO3TUDTL.js +303 -0
- package/dist/geneset-RCIP2GZH.js +203 -0
- package/dist/genomeBrowser.spec-7PZCNBL3.js +276 -0
- package/dist/grin2-EUBCNH4Q.js +70 -0
- package/dist/grin2-YYBB5XJK.js +1137 -0
- package/dist/hierCluster-AV5NO2GW.js +59 -0
- package/dist/hierCluster-W2MVN34V.js +55 -0
- package/dist/hierCluster.config-4MBWG6RZ.js +36 -0
- package/dist/hierCluster.integration.spec-JUIBIUKH.js +483 -0
- package/dist/hierCluster.interactivity-6PJE64PF.js +49 -0
- package/dist/hierCluster.renderers-RWDQ5SHY.js +19 -0
- package/dist/imagePlot-XLDQNUJA.js +156 -0
- package/dist/importPlot-7FISAQKR.js +8 -0
- package/dist/isoformExpression-WOQAOVZS.js +35 -0
- package/dist/isoformExpression.unit.spec-BMEGJNCO.js +237 -0
- package/dist/junction-6NO36IPU.js +36 -0
- package/dist/junction.customTerm-N6JAOWZO.js +16 -0
- package/dist/junction.unit.spec-UKGSQHO4.js +182 -0
- package/dist/launch.adhoc-42PUNEA6.js +37 -0
- package/dist/leftlabel.sample-EXAUDPSB.js +258 -0
- package/dist/lollipop-4ASTA5HO.js +166 -0
- package/dist/maf-HPXANL3M.js +455 -0
- package/dist/maftimeline-2SXFX3HF.js +587 -0
- package/dist/matrix-DX4W5XMX.js +59 -0
- package/dist/matrix-S34ITAPJ.js +54 -0
- package/dist/matrix.cells-BLULUGSZ.js +26 -0
- package/dist/matrix.config-Z3LWYH74.js +37 -0
- package/dist/matrix.data-73HY7Y2V.js +23 -0
- package/dist/matrix.groups-NOUMYNFY.js +26 -0
- package/dist/matrix.integration.spec-VTXYJ46U.js +3160 -0
- package/dist/matrix.interactivity-YHDIO5A2.js +37 -0
- package/dist/matrix.layout-25HYKUF2.js +39 -0
- package/dist/matrix.legend-IMK7DH4V.js +20 -0
- package/dist/matrix.renderers-3RZRN6HO.js +34 -0
- package/dist/matrix.serieses-ZTVHQ7QA.js +19 -0
- package/dist/matrix.sort-EDXHT6NZ.js +26 -0
- package/dist/matrix.sort.unit.spec-LSNY7PHU.js +468 -0
- package/dist/matrix.sorterUi-3DRNHG5Z.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-GNIIWGRJ.js +338 -0
- package/dist/matrix.unit.spec-7A6ZFRXI.js +150 -0
- package/dist/mavb-M5AXPLYX.js +727 -0
- package/dist/mds.fimo-QE5OFA22.js +513 -0
- package/dist/mds.samplescatterplot-664EOHX2.js +1545 -0
- package/dist/mds.survivalplot-H4TJD44D.js +477 -0
- package/dist/multivalue-JD3CNQJR.js +83 -0
- package/dist/numericDictTermCluster-XPKEYXD7.js +63 -0
- package/dist/oncomatrix-TX5PZQ76.js +290 -0
- package/dist/oncomatrix.spec-6X2WAHL7.js +443 -0
- package/dist/plot.2dvaf-5OHUFTMK.js +372 -0
- package/dist/plot.app-XIVVJHWG.js +36 -0
- package/dist/plot.barplot-PSODLAXD.js +97 -0
- package/dist/plot.boxplot-W3ASYFOG.js +146 -0
- package/dist/plot.brainImaging-JGDLKLR7.js +51 -0
- package/dist/plot.disco-TPMXTTZK.js +99 -0
- package/dist/plot.ssgq-KIZIOZIF.js +134 -0
- package/dist/plot.vaf2cov-MSMW72IY.js +253 -0
- package/dist/polar2-LA4MSRRN.js +232 -0
- package/dist/profileForms-BJRNB2ZF.js +941 -0
- package/dist/profilePlot-DDO53C4T.js +49 -0
- package/dist/proteinView-NFUR42XQ.js +1357 -0
- package/dist/proteomeCohortCompare-OZVF3X66.js +912 -0
- package/dist/pseudbulk.unit.spec-RY72JF7A.js +86 -0
- package/dist/pseudbulk.unit.spec-RY72JF7A.js.map +7 -0
- package/dist/pseudobulk-UVT5G2VL.js +35 -0
- package/dist/qualitative-X3VXNC7X.js +38 -0
- package/dist/radar2-RTVUJ3AN.js +327 -0
- package/dist/radarFacility2-ZGLZ5AKM.js +335 -0
- package/dist/rememberedGvQ.unit.spec-RLLLWU5M.js +211 -0
- package/dist/render-LR5BOYW6.js +33 -0
- package/dist/report-37W5OXUM.js +217 -0
- package/dist/sampleView-BDC2WPH7.js +43 -0
- package/dist/samplelst-V2EIVZC5.js +106 -0
- package/dist/samplematrix-XOSKILUL.js +2193 -0
- package/dist/sc-ZVZPWQY7.js +81 -0
- package/dist/scatter-2ZE5MCYH.js +88 -0
- package/dist/scatter-ZOWFPGIS.js +925 -0
- package/dist/scatter-ZOWFPGIS.js.map +7 -0
- package/dist/selectGenomeWithTklst-EF7WYEAJ.js +129 -0
- package/dist/singleCellCellType-TKCGC3G3.js +33 -0
- package/dist/singleCellCellType.unit.spec-JZ6UHC5F.js +154 -0
- package/dist/singleCellGeneExpression-I2INGXGI.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-KL77FSHZ.js +148 -0
- package/dist/singleCellNumericValue-2X5NCEHL.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js +416 -0
- package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js.map +7 -0
- package/dist/singleCellPlot-Q6INE54V.js +48 -0
- package/dist/singlecell-5N2P5ZAT.js +81 -0
- package/dist/singlecell-NPSWMNI3.js +1566 -0
- package/dist/snp-2WPJYPDE.js +33 -0
- package/dist/snp.unit.spec-PPWIIOX6.js +171 -0
- package/dist/snplocus-T3HZFZWA.js +203 -0
- package/dist/spliceevent.a53ss.diagram-APCF4LV5.js +146 -0
- package/dist/spliceevent.exonskip.diagram-TT5JGBSC.js +278 -0
- package/dist/spliceevent.noeventdiagram-CPXQSX3Z.js +455 -0
- package/dist/ssGSEA-FSX6P7HA.js +33 -0
- package/dist/ssGSEA.unit.spec-TXYT665R.js +83 -0
- package/dist/stattable-BD64SFYV.js +117 -0
- package/dist/studyCatalog-6BOWO4PO.js +414 -0
- package/dist/summarizeCnvGeneexp-AMLYJIPU.js +158 -0
- package/dist/summarizeGeneexpSurvival-IDM7T333.js +105 -0
- package/dist/summarizeMutationCnv-R6SYSJQC.js +159 -0
- package/dist/summarizeMutationDiagnosis-XZJ4JLW2.js +35 -0
- package/dist/summarizeMutationSurvival-ABJ5RL4L.js +99 -0
- package/dist/summary-NVYCTE6P.js +44 -0
- package/dist/summary.integration.spec-SSLTLVNW.js +409 -0
- package/dist/summaryInput-SJOZETRP.js +242 -0
- package/dist/sunburst-RU5ZPJKW.js +278 -0
- package/dist/survival-BHJQMXKI.js +53 -0
- package/dist/survival-DVG6Y2FV.js +1248 -0
- package/dist/survival.integration.spec-OJUPTY5N.js +613 -0
- package/dist/survival.integration.spec-OJUPTY5N.js.map +7 -0
- package/dist/svgraph-ETFA4GRX.js +1382 -0
- package/dist/svmr-AI3RU4JK.js +3837 -0
- package/dist/table-YCTSMLQL.js +197 -0
- package/dist/termCollection-GMKEZR6D.js +252 -0
- package/dist/termCollection-VEVKKJZD.js +33 -0
- package/dist/termCollection.unit.spec-EU6YCEPX.js +299 -0
- package/dist/termCollectionFractionSelection-UBS74X36.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-Y5OJFGDD.js +188 -0
- package/dist/tk-HMF4HCNV.js +1121 -0
- package/dist/tk-W6Z4FJMW.js +41 -0
- package/dist/tp.ui-NECRDJCS.js +1454 -0
- package/dist/tvs.dt-2JEH3F35.js +34 -0
- package/dist/tvs.dtcnv.categorical-YBXKEBR2.js +35 -0
- package/dist/tvs.dtcnv.continuous-AD3SJ6BY.js +67 -0
- package/dist/tvs.dtfusion-ODI3CLQS.js +35 -0
- package/dist/tvs.dtitd-V3LYLPJY.js +35 -0
- package/dist/tvs.dtsnvindel-R3V5LTNL.js +35 -0
- package/dist/tvs.dtsv-ZQLKEDLJ.js +35 -0
- package/dist/tvs.samplelst-G25A7HM6.js +98 -0
- package/dist/tvs.termCollection-WLVCWDEJ.js +124 -0
- package/dist/vocabulary-6K537FJM.js +36 -0
- package/dist/vocabulary-6K537FJM.js.map +7 -0
- package/dist/wsi.direct-SNPPQPVO.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-32F56QBJ.js +0 -1367
- package/dist/AggMatrixInput-RDFMGV47.js +0 -277
- package/dist/AggMatrixInput-RDFMGV47.js.map +0 -7
- package/dist/AggregateMatrix-TPXNNWVD.js +0 -41
- package/dist/AppHeader-SEJXDJE3.js +0 -830
- package/dist/BoxPlot-LOAO2MDO.js +0 -1211
- package/dist/CorrelationVolcano-AU6ZAFPG.js +0 -614
- package/dist/CorrelationVolcano-AU6ZAFPG.js.map +0 -7
- package/dist/Cuminc-O533BXFY.js +0 -1219
- package/dist/DE-FDAUNOWU.js +0 -89
- package/dist/DEinput-TF2VYTIJ.js +0 -499
- package/dist/DM-42YN3OEO.js +0 -90
- package/dist/DifferentialAnalysis-H5NBPR3P.js +0 -237
- package/dist/DifferentialAnalysis-H5NBPR3P.js.map +0 -7
- package/dist/Disco-FGFHIKUR.js +0 -3389
- package/dist/Disco.UI-YGIU2JPM.js +0 -243
- package/dist/DmrPlot-EQFXMAW5.js +0 -637
- package/dist/GB-244UT5VU.js +0 -1391
- package/dist/GSEA-KXQBR3HH.js +0 -851
- package/dist/GeneExpInput-ZY6SHXTX.js +0 -42
- package/dist/Geomap-6ZV4AM23.js +0 -84
- package/dist/HicApp-4UHX2YGP.js +0 -2245
- package/dist/IDCViewer-AB6LLO64.js +0 -10812
- package/dist/NumBinaryEditor-CGSO2T4L.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +0 -312
- package/dist/NumContEditor-YLKSC4Y2.js +0 -105
- package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +0 -164
- package/dist/NumCustomBinEditor-K3XSFHCC.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +0 -397
- package/dist/NumDiscreteEditor-RJCSIW4R.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +0 -233
- package/dist/NumRegularBinEditor-C3VIFDS4.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +0 -278
- package/dist/NumSplineEditor-XBE7OV7P.js +0 -210
- package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +0 -224
- package/dist/NumericDensity-ZL7UY7TL.js +0 -33
- package/dist/NumericDensity.unit.spec-CWTMSR56.js +0 -418
- package/dist/NumericHandler-56ENFMNK.js +0 -34
- package/dist/NumericHandler.unit.spec-3YW34TTJ.js +0 -214
- package/dist/ProteomeInput-HIS4GYWH.js +0 -388
- package/dist/Regression-C5GZYLEN.js +0 -1416
- package/dist/RunChart2-X5WKYLPQ.js +0 -749
- package/dist/SC-3Y5J65DT.js +0 -1107
- package/dist/SC-3Y5J65DT.js.map +0 -7
- package/dist/Violin-F3QS2EMJ.js +0 -1082
- package/dist/Violin-F3QS2EMJ.js.map +0 -7
- package/dist/Volcano-ZNYDKP2O.js +0 -1649
- package/dist/Wsi-B6EIGTI2.js +0 -609
- package/dist/Wsi-B6EIGTI2.js.map +0 -7
- package/dist/adSandbox-A52OQSOW.js +0 -33
- package/dist/animatedBubbleChart-OQOZ3WFK.js +0 -547
- package/dist/app-4KIKXQX4.js +0 -32
- package/dist/app-NZUNKWKK.js +0 -42
- package/dist/bam-SME7YD3E.js +0 -876
- package/dist/barchart-ESY6FOS4.js +0 -42
- package/dist/barchart2-XEJZGCES.js +0 -309
- package/dist/block-747IK2EW.js +0 -6249
- package/dist/block.init-ITZ42K43.js +0 -33
- package/dist/block.mds.expressionrank-Q63IJAJK.js +0 -354
- package/dist/block.mds.geneboxplot-EZIKAIKC.js +0 -823
- package/dist/block.mds.junction-TJXFKZ2Q.js +0 -1539
- package/dist/block.mds.svcnv-WSIEAII6.js +0 -6796
- package/dist/block.svg-CQX5W6R4.js +0 -159
- package/dist/block.tk.aicheck-J4MQ4BSD.js +0 -278
- package/dist/block.tk.ase-2JFNPWCZ.js +0 -360
- package/dist/block.tk.bam-RBQ4AXSQ.js +0 -1901
- package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +0 -379
- package/dist/block.tk.bigwig.ui-U5IBO3VF.js +0 -206
- package/dist/block.tk.hicstraw-ZRZMFLLX.js +0 -818
- package/dist/block.tk.junction-7U7ABE4O.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +0 -194
- package/dist/block.tk.ld-E7WPFL5P.js +0 -94
- package/dist/block.tk.menu-AITMEZTZ.js +0 -1024
- package/dist/block.tk.pgv-EDPZHI5L.js +0 -938
- package/dist/brainImaging-35LPNBDR.js +0 -555
- package/dist/brainRegions-JMTQT4X3.js +0 -217
- package/dist/bubbleHeatmap-FMBKMDUL.js +0 -378
- package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +0 -278
- package/dist/chunk-2GBG3KA7.js +0 -129
- package/dist/chunk-2IVN5DWA.js +0 -302
- package/dist/chunk-36AAUYZE.js +0 -194
- package/dist/chunk-3K7AYA3M.js +0 -54
- package/dist/chunk-4JFFFGL3.js +0 -468
- package/dist/chunk-4KJSNR5E.js +0 -562
- package/dist/chunk-52QHIKH2.js +0 -2139
- package/dist/chunk-52QHIKH2.js.map +0 -7
- package/dist/chunk-5ALGKNTQ.js +0 -6360
- package/dist/chunk-5JCTTSV4.js +0 -480
- package/dist/chunk-5W7K7STT.js +0 -26
- package/dist/chunk-6CIGRV5K.js +0 -677
- package/dist/chunk-6CIGRV5K.js.map +0 -7
- package/dist/chunk-6U2OPC6J.js +0 -176
- package/dist/chunk-7AHTS4BP.js +0 -382
- package/dist/chunk-7HFAEB3C.js +0 -55
- package/dist/chunk-7HGZRJZZ.js +0 -98
- package/dist/chunk-A2ORIMUJ.js +0 -339
- package/dist/chunk-A32SGNCT.js +0 -1233
- package/dist/chunk-AKA6RWLC.js +0 -217
- package/dist/chunk-AMVZ6KT5.js +0 -240
- package/dist/chunk-ASXUC6SM.js +0 -54
- package/dist/chunk-BCO5T43J.js +0 -379
- package/dist/chunk-BDQPMVKD.js +0 -783
- package/dist/chunk-BOQZOLRA.js +0 -274
- package/dist/chunk-BSCMVKBP.js +0 -5071
- package/dist/chunk-BZN2O76M.js +0 -119
- package/dist/chunk-BZZZQFTI.js +0 -34
- package/dist/chunk-CRHGXVUQ.js +0 -272
- package/dist/chunk-D6AB63O3.js +0 -216
- package/dist/chunk-D6AB63O3.js.map +0 -7
- package/dist/chunk-DPQP2GUW.js +0 -626
- package/dist/chunk-EKQ7NYOU.js +0 -276
- package/dist/chunk-EUQEQOFE.js +0 -141
- package/dist/chunk-FKA55PHV.js +0 -281
- package/dist/chunk-GVLWCGXX.js +0 -397
- package/dist/chunk-HLVWCJRO.js +0 -518
- package/dist/chunk-HPAW7XDM.js +0 -178
- package/dist/chunk-HPAW7XDM.js.map +0 -7
- package/dist/chunk-IV57XNTG.js +0 -123
- package/dist/chunk-JMAFJKGG.js +0 -243
- package/dist/chunk-JZHRVYNS.js +0 -2676
- package/dist/chunk-K6YUMBDY.js +0 -55
- package/dist/chunk-L6WNBKYN.js +0 -158
- package/dist/chunk-LGR6CJTW.js +0 -2853
- package/dist/chunk-LOWJQFCC.js +0 -550
- package/dist/chunk-M5SYLBBC.js +0 -2327
- package/dist/chunk-MKAILEWO.js +0 -59
- package/dist/chunk-N4PDPZWQ.js +0 -4366
- package/dist/chunk-N4PDPZWQ.js.map +0 -7
- package/dist/chunk-OIJ6GRVS.js +0 -134
- package/dist/chunk-ONVIVITY.js +0 -203
- package/dist/chunk-OQX3HO46.js +0 -56
- package/dist/chunk-OQX3HO46.js.map +0 -7
- package/dist/chunk-OYLGAFFY.js +0 -31
- package/dist/chunk-P7DIIYCX.js +0 -197
- package/dist/chunk-PC4MFDHP.js +0 -24613
- package/dist/chunk-PC4MFDHP.js.map +0 -7
- package/dist/chunk-PGKOJYV6.js +0 -50
- package/dist/chunk-PGKOJYV6.js.map +0 -7
- package/dist/chunk-PPSWNLMG.js +0 -402
- package/dist/chunk-PPSWNLMG.js.map +0 -7
- package/dist/chunk-R624P2GE.js +0 -263
- package/dist/chunk-RBSAEAQV.js +0 -446
- package/dist/chunk-RUBZCKIX.js +0 -1608
- package/dist/chunk-RUBZCKIX.js.map +0 -7
- package/dist/chunk-RZ3KEFZ2.js +0 -339
- package/dist/chunk-SS66BHGA.js +0 -103
- package/dist/chunk-SU63FEY6.js +0 -294
- package/dist/chunk-SVC65ZPG.js +0 -102
- package/dist/chunk-TG3QBMDK.js +0 -102
- package/dist/chunk-TMXW5HVE.js +0 -1278
- package/dist/chunk-TPDBOH3A.js +0 -1339
- package/dist/chunk-U5RWKZVS.js +0 -1720
- package/dist/chunk-U5RWKZVS.js.map +0 -7
- package/dist/chunk-UYKZ5HXA.js +0 -1986
- package/dist/chunk-VOYUJJQ6.js +0 -70
- package/dist/chunk-W4RYRU5D.js +0 -38
- package/dist/chunk-WFSMIVJT.js +0 -2784
- package/dist/chunk-Y4PX2ECH.js +0 -299
- package/dist/chunk-YKM46UX5.js +0 -170
- package/dist/chunk-Z7AO6A7M.js +0 -14
- package/dist/chunk-ZENZ5H2Q.js +0 -49
- package/dist/cohort-Q7TW5XTY.js +0 -70
- package/dist/condition-H6LBUHIF.js +0 -327
- package/dist/controls-DWDKFDXY.js +0 -34
- package/dist/controls.config-KF7PHZSG.js +0 -34
- package/dist/correlation-YMSARIER.js +0 -95
- package/dist/customdata.inputui-KEFE7ZHS.js +0 -284
- package/dist/dataDownload-G7TGPFGL.js +0 -329
- package/dist/databrowser.ui-NFIIFQJZ.js +0 -425
- package/dist/dictionary-ERJQMALC.js +0 -113
- package/dist/dnaMethylation-KVCXKAU3.js +0 -33
- package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +0 -198
- package/dist/dofetch-YRWLEQEH.js +0 -48
- package/dist/e2pca-M2F2CI6I.js +0 -344
- package/dist/ep-QAEG4RV4.js +0 -1249
- package/dist/expclust.gdc.spec-P77T6JR2.js +0 -302
- package/dist/facet-LJTSTASE.js +0 -519
- package/dist/gb-KSB2DQHH.js +0 -81
- package/dist/geneExpClustering-KHDCPE65.js +0 -244
- package/dist/geneExpression-AWWMOUAR.js +0 -310
- package/dist/geneExpression-Z2EDR6EN.js +0 -33
- package/dist/geneExpression.unit.spec-WB2ESPKT.js +0 -128
- package/dist/geneORA-NGZTMFSJ.js +0 -273
- package/dist/geneRanking-AYNBGFKU.js +0 -548
- package/dist/geneVariant-AL64NDHH.js +0 -36
- package/dist/geneVariant-QMKR3LUV.js +0 -286
- package/dist/geneVariant.integration.spec-N3U5CIRT.js +0 -489
- package/dist/genefusion.ui-IWJMF2BM.js +0 -303
- package/dist/geneset-APCO4BRX.js +0 -203
- package/dist/genomeBrowser.spec-JTCVUTO5.js +0 -276
- package/dist/grin2-FVX6AIST.js +0 -70
- package/dist/grin2-LF46UKFY.js +0 -1137
- package/dist/hierCluster-4DRHXD6W.js +0 -55
- package/dist/hierCluster-SFRQK3PS.js +0 -59
- package/dist/hierCluster.config-G2TFGBYF.js +0 -36
- package/dist/hierCluster.integration.spec-ZUZKCG6A.js +0 -483
- package/dist/hierCluster.interactivity-LQA6J56H.js +0 -49
- package/dist/hierCluster.renderers-TZZJEVFO.js +0 -19
- package/dist/imagePlot-OUHFWYKT.js +0 -156
- package/dist/importPlot-7V456QK7.js +0 -8
- package/dist/isoformExpression-NGUJJ6VI.js +0 -35
- package/dist/isoformExpression.unit.spec-DCRPXPBY.js +0 -237
- package/dist/junction-QYKLNXIW.js +0 -36
- package/dist/junction.customTerm-EHOOBR4V.js +0 -16
- package/dist/junction.unit.spec-LDNY7OFK.js +0 -182
- package/dist/launch.adhoc-FF7B3UG6.js +0 -37
- package/dist/leftlabel.sample-BTHMKLGF.js +0 -258
- package/dist/lollipop-H3UCNMHN.js +0 -166
- package/dist/maf-KWGUTPKO.js +0 -455
- package/dist/maftimeline-UD5VE4UW.js +0 -587
- package/dist/matrix-DLCX6GOO.js +0 -59
- package/dist/matrix-TIV42IQB.js +0 -54
- package/dist/matrix.cells-J3QZ7C6U.js +0 -26
- package/dist/matrix.config-VNMS6B7J.js +0 -37
- package/dist/matrix.data-PIE3TLKD.js +0 -23
- package/dist/matrix.groups-URBU775S.js +0 -26
- package/dist/matrix.integration.spec-LC6YMEKP.js +0 -3160
- package/dist/matrix.interactivity-W5AFOAQN.js +0 -37
- package/dist/matrix.layout-LU3NIJAL.js +0 -39
- package/dist/matrix.legend-LTP6ETZO.js +0 -20
- package/dist/matrix.renderers-762XI65L.js +0 -34
- package/dist/matrix.serieses-FHDBRPZA.js +0 -19
- package/dist/matrix.sort-Q6A6UWMY.js +0 -26
- package/dist/matrix.sort.unit.spec-CTCOPKVS.js +0 -468
- package/dist/matrix.sorterUi-4M5AU5EL.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +0 -338
- package/dist/matrix.unit.spec-DROPHFTM.js +0 -150
- package/dist/mavb-BWA73N3U.js +0 -727
- package/dist/mds.fimo-3UJWIH2J.js +0 -513
- package/dist/mds.samplescatterplot-EUS7DCSQ.js +0 -1545
- package/dist/mds.survivalplot-77UEBQIC.js +0 -477
- package/dist/multivalue-KZ2DMVIR.js +0 -83
- package/dist/numericDictTermCluster-C2MYJYPZ.js +0 -63
- package/dist/oncomatrix-6LGB3M7R.js +0 -290
- package/dist/oncomatrix.spec-UWMSLOHW.js +0 -443
- package/dist/plot.2dvaf-LZAVWH65.js +0 -372
- package/dist/plot.app-OEWE3AYV.js +0 -36
- package/dist/plot.barplot-VIBHGTUT.js +0 -97
- package/dist/plot.boxplot-NQI3PSKR.js +0 -146
- package/dist/plot.brainImaging-3MTTCZHI.js +0 -51
- package/dist/plot.disco-HODBY7SO.js +0 -99
- package/dist/plot.ssgq-4URQE673.js +0 -134
- package/dist/plot.vaf2cov-QIJNEKCK.js +0 -253
- package/dist/polar2-GVFQNSLK.js +0 -232
- package/dist/profileForms-Z22CJXI4.js +0 -941
- package/dist/profilePlot-IVQZBSID.js +0 -49
- package/dist/proteinView-AUK634AU.js +0 -1357
- package/dist/proteomeCohortCompare-7G2F35H5.js +0 -912
- package/dist/pseudbulk.unit.spec-JDKUQUCM.js +0 -106
- package/dist/pseudbulk.unit.spec-JDKUQUCM.js.map +0 -7
- package/dist/pseudobulk-QTCUSH5I.js +0 -37
- package/dist/qualitative-7ST7SSBT.js +0 -38
- package/dist/radar2-CEE6SNBS.js +0 -327
- package/dist/radarFacility2-OSKDYIK7.js +0 -335
- package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +0 -211
- package/dist/render-MAD3WMVD.js +0 -33
- package/dist/report-6JXJVSEB.js +0 -217
- package/dist/sampleView-SG3QYZKQ.js +0 -43
- package/dist/samplelst-R765UFP6.js +0 -106
- package/dist/samplematrix-EBJYE5SM.js +0 -2193
- package/dist/sc-7ZXPFDHD.js +0 -81
- package/dist/scatter-3GUL4KF3.js +0 -88
- package/dist/scatter-RHUVER53.js +0 -920
- package/dist/scatter-RHUVER53.js.map +0 -7
- package/dist/selectGenomeWithTklst-K4YXGJYG.js +0 -129
- package/dist/singleCellCellType-TU5VTPLP.js +0 -33
- package/dist/singleCellCellType.unit.spec-IRITQIGT.js +0 -154
- package/dist/singleCellGeneExpression-3IL52QDK.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +0 -148
- package/dist/singleCellPlot-XG3HZS7I.js +0 -48
- package/dist/singlecell-BRF2HAV2.js +0 -81
- package/dist/singlecell-KVCJF2HI.js +0 -1566
- package/dist/snp-RMZRB426.js +0 -33
- package/dist/snp.unit.spec-JF6KR2NT.js +0 -171
- package/dist/snplocus-AHUFHQ3Q.js +0 -203
- package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +0 -146
- package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +0 -278
- package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +0 -455
- package/dist/ssGSEA-7RKWYZKX.js +0 -33
- package/dist/ssGSEA.unit.spec-XLCZHH7S.js +0 -83
- package/dist/stattable-NDYUCLVZ.js +0 -117
- package/dist/studyCatalog-TAXRF5NS.js +0 -414
- package/dist/summarizeCnvGeneexp-3QLHU6N7.js +0 -158
- package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +0 -105
- package/dist/summarizeMutationCnv-W7V7CKPI.js +0 -159
- package/dist/summarizeMutationDiagnosis-GCL4SRON.js +0 -35
- package/dist/summarizeMutationSurvival-6TTMSRRX.js +0 -99
- package/dist/summary-OUYDWLBF.js +0 -44
- package/dist/summary.integration.spec-4GTCG6HY.js +0 -409
- package/dist/summaryInput-UK3TLC7M.js +0 -242
- package/dist/sunburst-2UFHMNH3.js +0 -278
- package/dist/survival-SPWYSDVB.js +0 -53
- package/dist/survival-TL6UZ6FQ.js +0 -1248
- package/dist/survival.integration.spec-WWZELTKZ.js +0 -613
- package/dist/survival.integration.spec-WWZELTKZ.js.map +0 -7
- package/dist/svgraph-Z543MLIN.js +0 -1382
- package/dist/svmr-SZCAOAIF.js +0 -3837
- package/dist/table-IAQ6J4DO.js +0 -197
- package/dist/termCollection-3NGHR7QN.js +0 -252
- package/dist/termCollection-7P3WU6X6.js +0 -33
- package/dist/termCollection.unit.spec-EPYC7LOA.js +0 -299
- package/dist/termCollectionFractionSelection-YKIE6BME.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +0 -188
- package/dist/tk-TOXMU4GT.js +0 -1121
- package/dist/tk-X454XH5N.js +0 -41
- package/dist/tp.ui-FDQ76KPL.js +0 -1454
- package/dist/tvs.dt-U77PCG6X.js +0 -34
- package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +0 -35
- package/dist/tvs.dtcnv.continuous-4GJILFGP.js +0 -67
- package/dist/tvs.dtfusion-7YROAHVI.js +0 -35
- package/dist/tvs.dtitd-MIYU4ZHH.js +0 -35
- package/dist/tvs.dtsnvindel-XLDY7KWB.js +0 -35
- package/dist/tvs.dtsv-YMLJ37YR.js +0 -35
- package/dist/tvs.samplelst-KIVEXJKD.js +0 -98
- package/dist/tvs.termCollection-4CQV3EB3.js +0 -124
- package/dist/vocabulary-64GO4YDB.js +0 -36
- package/dist/wsi.direct-5MQVRJZX.js +0 -8343
- /package/dist/{2dmaf-32F56QBJ.js.map → 2dmaf-PN5YS362.js.map} +0 -0
- /package/dist/{AggregateMatrix-TPXNNWVD.js.map → AggregateMatrix-IBWOJWOC.js.map} +0 -0
- /package/dist/{AppHeader-SEJXDJE3.js.map → AppHeader-XV6S7GG5.js.map} +0 -0
- /package/dist/{BoxPlot-LOAO2MDO.js.map → BoxPlot-ZIVA55SK.js.map} +0 -0
- /package/dist/{Cuminc-O533BXFY.js.map → Cuminc-WKY35UGV.js.map} +0 -0
- /package/dist/{DE-FDAUNOWU.js.map → DE-E256DHID.js.map} +0 -0
- /package/dist/{DEinput-TF2VYTIJ.js.map → DEinput-YU3W72K7.js.map} +0 -0
- /package/dist/{DM-42YN3OEO.js.map → DM-W7PXTIKY.js.map} +0 -0
- /package/dist/{Disco-FGFHIKUR.js.map → Disco-OZY5GW2Z.js.map} +0 -0
- /package/dist/{Disco.UI-YGIU2JPM.js.map → Disco.UI-NRALEYXK.js.map} +0 -0
- /package/dist/{DmrPlot-EQFXMAW5.js.map → DmrPlot-QKUX5XUW.js.map} +0 -0
- /package/dist/{GB-244UT5VU.js.map → GB-ZYH7PGHT.js.map} +0 -0
- /package/dist/{GSEA-KXQBR3HH.js.map → GSEA-VQTD4MLY.js.map} +0 -0
- /package/dist/{GeneExpInput-ZY6SHXTX.js.map → GeneExpInput-XEFUTLFU.js.map} +0 -0
- /package/dist/{Geomap-6ZV4AM23.js.map → Geomap-GEK7UEDU.js.map} +0 -0
- /package/dist/{HicApp-4UHX2YGP.js.map → HicApp-ZY7UHV5H.js.map} +0 -0
- /package/dist/{IDCViewer-AB6LLO64.js.map → IDCViewer-YNKG4V46.js.map} +0 -0
- /package/dist/{NumBinaryEditor-CGSO2T4L.js.map → NumBinaryEditor-NEL727DX.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-3QHARZQJ.js.map → NumBinaryEditor.unit.spec-GCGZMJYF.js.map} +0 -0
- /package/dist/{NumContEditor-YLKSC4Y2.js.map → NumContEditor-IM6RRDGU.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-L3GC3ZTJ.js.map → NumContEditor.unit.spec-B5AJXANS.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-K3XSFHCC.js.map → NumCustomBinEditor-EZT5DRKP.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-2FUHE6BX.js.map → NumCustomBinEditor.unit.spec-KLUDS6TH.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-RJCSIW4R.js.map → NumDiscreteEditor-2M6Q5AAZ.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-CUA6BOIS.js.map → NumDiscreteEditor.unit.spec-2JYZYJUX.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-C3VIFDS4.js.map → NumRegularBinEditor-AQDHA2PU.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map → NumRegularBinEditor.unit.spec-62BYFNYG.js.map} +0 -0
- /package/dist/{NumSplineEditor-XBE7OV7P.js.map → NumSplineEditor-6Y5TZSTO.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-CKRRI4US.js.map → NumSplineEditor.unit.spec-S65AV5EK.js.map} +0 -0
- /package/dist/{NumericDensity-ZL7UY7TL.js.map → NumericDensity-5ES4SDWZ.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-CWTMSR56.js.map → NumericDensity.unit.spec-J6KZSE2P.js.map} +0 -0
- /package/dist/{NumericHandler-56ENFMNK.js.map → NumericHandler-ZTLDPP2F.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-3YW34TTJ.js.map → NumericHandler.unit.spec-BZFBVHGU.js.map} +0 -0
- /package/dist/{ProteomeInput-HIS4GYWH.js.map → ProteomeInput-IKEXPCGV.js.map} +0 -0
- /package/dist/{Regression-C5GZYLEN.js.map → Regression-6F6YP3AX.js.map} +0 -0
- /package/dist/{RunChart2-X5WKYLPQ.js.map → RunChart2-CVRPXQH5.js.map} +0 -0
- /package/dist/{Volcano-ZNYDKP2O.js.map → Volcano-FCCWUMX7.js.map} +0 -0
- /package/dist/{adSandbox-A52OQSOW.js.map → adSandbox-QYIG6637.js.map} +0 -0
- /package/dist/{animatedBubbleChart-OQOZ3WFK.js.map → animatedBubbleChart-X53PR73H.js.map} +0 -0
- /package/dist/{app-4KIKXQX4.js.map → app-HJLTRZPI.js.map} +0 -0
- /package/dist/{app-NZUNKWKK.js.map → app-MGY6A4DM.js.map} +0 -0
- /package/dist/{bam-SME7YD3E.js.map → bam-VRQHRCP5.js.map} +0 -0
- /package/dist/{barchart-ESY6FOS4.js.map → barchart-TWMOUZFL.js.map} +0 -0
- /package/dist/{barchart2-XEJZGCES.js.map → barchart2-CV7RMMRG.js.map} +0 -0
- /package/dist/{block-747IK2EW.js.map → block-L53P4UGQ.js.map} +0 -0
- /package/dist/{block.init-ITZ42K43.js.map → block.init-XYOJTXKP.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-Q63IJAJK.js.map → block.mds.expressionrank-77FSBDHA.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-EZIKAIKC.js.map → block.mds.geneboxplot-4TSYV4WS.js.map} +0 -0
- /package/dist/{block.mds.junction-TJXFKZ2Q.js.map → block.mds.junction-P4MYDET6.js.map} +0 -0
- /package/dist/{block.mds.svcnv-WSIEAII6.js.map → block.mds.svcnv-CYOFAS2T.js.map} +0 -0
- /package/dist/{block.svg-CQX5W6R4.js.map → block.svg-IT3ELCF4.js.map} +0 -0
- /package/dist/{block.tk.aicheck-J4MQ4BSD.js.map → block.tk.aicheck-GULHJLV5.js.map} +0 -0
- /package/dist/{block.tk.ase-2JFNPWCZ.js.map → block.tk.ase-RW5YL6HN.js.map} +0 -0
- /package/dist/{block.tk.bam-RBQ4AXSQ.js.map → block.tk.bam-MPGQW6KB.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-ZQBOMVTO.js.map → block.tk.bedgraphdot-EYRY374P.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-U5IBO3VF.js.map → block.tk.bigwig.ui-BKSXCDNM.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-ZRZMFLLX.js.map → block.tk.hicstraw-76PV6NM3.js.map} +0 -0
- /package/dist/{block.tk.junction-7U7ABE4O.js.map → block.tk.junction-Z52QHQJQ.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-AEXZ7W3U.js.map → block.tk.junction.textmatrixui-K32OOTZC.js.map} +0 -0
- /package/dist/{block.tk.ld-E7WPFL5P.js.map → block.tk.ld-DDGLRHPO.js.map} +0 -0
- /package/dist/{block.tk.menu-AITMEZTZ.js.map → block.tk.menu-MO6TESKI.js.map} +0 -0
- /package/dist/{block.tk.pgv-EDPZHI5L.js.map → block.tk.pgv-AKLKKSEP.js.map} +0 -0
- /package/dist/{brainImaging-35LPNBDR.js.map → brainImaging-KSTJQJAB.js.map} +0 -0
- /package/dist/{brainRegions-JMTQT4X3.js.map → brainRegions-WCRMMSK4.js.map} +0 -0
- /package/dist/{bubbleHeatmap-FMBKMDUL.js.map → bubbleHeatmap-4YOQ3BAB.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-ZPTAGEWW.js.map → cellTypeBubbleHeatmap-O6YZ2RW4.js.map} +0 -0
- /package/dist/{chunk-Y4PX2ECH.js.map → chunk-3GUVLDUS.js.map} +0 -0
- /package/dist/{chunk-RBSAEAQV.js.map → chunk-3PQDD5HM.js.map} +0 -0
- /package/dist/{chunk-UYKZ5HXA.js.map → chunk-3WYUHDDP.js.map} +0 -0
- /package/dist/{chunk-L6WNBKYN.js.map → chunk-4C7MA5Q3.js.map} +0 -0
- /package/dist/{chunk-TG3QBMDK.js.map → chunk-4PB5ZEOB.js.map} +0 -0
- /package/dist/{chunk-BZN2O76M.js.map → chunk-5IMFPVGT.js.map} +0 -0
- /package/dist/{chunk-HLVWCJRO.js.map → chunk-6DPELKO5.js.map} +0 -0
- /package/dist/{chunk-GVLWCGXX.js.map → chunk-74C6G6JD.js.map} +0 -0
- /package/dist/{chunk-EKQ7NYOU.js.map → chunk-A7TXS6JR.js.map} +0 -0
- /package/dist/{chunk-IV57XNTG.js.map → chunk-AAJXHERO.js.map} +0 -0
- /package/dist/{chunk-6U2OPC6J.js.map → chunk-BFXZBZEV.js.map} +0 -0
- /package/dist/{chunk-5JCTTSV4.js.map → chunk-BGVGN73F.js.map} +0 -0
- /package/dist/{chunk-5ALGKNTQ.js.map → chunk-BL7EYUZC.js.map} +0 -0
- /package/dist/{chunk-BOQZOLRA.js.map → chunk-BPGZUNLL.js.map} +0 -0
- /package/dist/{chunk-EUQEQOFE.js.map → chunk-CPIPN5F6.js.map} +0 -0
- /package/dist/{chunk-AKA6RWLC.js.map → chunk-D5MSWPAZ.js.map} +0 -0
- /package/dist/{chunk-JMAFJKGG.js.map → chunk-DFT2PAIU.js.map} +0 -0
- /package/dist/{chunk-R624P2GE.js.map → chunk-E7NVJ44Z.js.map} +0 -0
- /package/dist/{chunk-3K7AYA3M.js.map → chunk-EMMGUSJB.js.map} +0 -0
- /package/dist/{chunk-AMVZ6KT5.js.map → chunk-G3CCQOLH.js.map} +0 -0
- /package/dist/{chunk-BCO5T43J.js.map → chunk-GGQVDHYF.js.map} +0 -0
- /package/dist/{chunk-JZHRVYNS.js.map → chunk-GPZYAJQH.js.map} +0 -0
- /package/dist/{chunk-CRHGXVUQ.js.map → chunk-GS6ZMPKP.js.map} +0 -0
- /package/dist/{chunk-SVC65ZPG.js.map → chunk-GUXKLMLM.js.map} +0 -0
- /package/dist/{chunk-LGR6CJTW.js.map → chunk-HELEV3LT.js.map} +0 -0
- /package/dist/{chunk-A2ORIMUJ.js.map → chunk-HKKTNIMX.js.map} +0 -0
- /package/dist/{chunk-5W7K7STT.js.map → chunk-HKSRIEWJ.js.map} +0 -0
- /package/dist/{chunk-VOYUJJQ6.js.map → chunk-IELQ3HMN.js.map} +0 -0
- /package/dist/{chunk-SS66BHGA.js.map → chunk-IISNWG4X.js.map} +0 -0
- /package/dist/{chunk-BZZZQFTI.js.map → chunk-J7KB2MH3.js.map} +0 -0
- /package/dist/{chunk-M5SYLBBC.js.map → chunk-JEJV7V7M.js.map} +0 -0
- /package/dist/{chunk-DPQP2GUW.js.map → chunk-JIZ3B32T.js.map} +0 -0
- /package/dist/{chunk-W4RYRU5D.js.map → chunk-KAY2ODXX.js.map} +0 -0
- /package/dist/{chunk-BSCMVKBP.js.map → chunk-KJM6PLXM.js.map} +0 -0
- /package/dist/{chunk-TMXW5HVE.js.map → chunk-KZHF3MQX.js.map} +0 -0
- /package/dist/{chunk-36AAUYZE.js.map → chunk-MC674TS2.js.map} +0 -0
- /package/dist/{chunk-TPDBOH3A.js.map → chunk-MLKQZ3RL.js.map} +0 -0
- /package/dist/{chunk-LOWJQFCC.js.map → chunk-MSSPT5YM.js.map} +0 -0
- /package/dist/{chunk-ASXUC6SM.js.map → chunk-OBBR4UYN.js.map} +0 -0
- /package/dist/{chunk-SU63FEY6.js.map → chunk-PQA3C2NY.js.map} +0 -0
- /package/dist/{chunk-OIJ6GRVS.js.map → chunk-QJ2VBXFB.js.map} +0 -0
- /package/dist/{chunk-7HFAEB3C.js.map → chunk-QP7EJXSU.js.map} +0 -0
- /package/dist/{chunk-WFSMIVJT.js.map → chunk-SHXJW27D.js.map} +0 -0
- /package/dist/{chunk-2IVN5DWA.js.map → chunk-SUNDNTVY.js.map} +0 -0
- /package/dist/{chunk-7HGZRJZZ.js.map → chunk-TSI4W6XO.js.map} +0 -0
- /package/dist/{chunk-4JFFFGL3.js.map → chunk-TXIQ5PHR.js.map} +0 -0
- /package/dist/{chunk-4KJSNR5E.js.map → chunk-U45R6QNT.js.map} +0 -0
- /package/dist/{chunk-A32SGNCT.js.map → chunk-UMZJQWWK.js.map} +0 -0
- /package/dist/{chunk-K6YUMBDY.js.map → chunk-VO7Q4WMM.js.map} +0 -0
- /package/dist/{chunk-YKM46UX5.js.map → chunk-VWGRKOVJ.js.map} +0 -0
- /package/dist/{chunk-P7DIIYCX.js.map → chunk-WCTKHF5T.js.map} +0 -0
- /package/dist/{chunk-OYLGAFFY.js.map → chunk-WOMERKMR.js.map} +0 -0
- /package/dist/{chunk-MKAILEWO.js.map → chunk-WXX2YD4Q.js.map} +0 -0
- /package/dist/{chunk-7AHTS4BP.js.map → chunk-X44AR557.js.map} +0 -0
- /package/dist/{chunk-BDQPMVKD.js.map → chunk-XEU5HXOY.js.map} +0 -0
- /package/dist/{chunk-FKA55PHV.js.map → chunk-XGYQZHNX.js.map} +0 -0
- /package/dist/{chunk-ZENZ5H2Q.js.map → chunk-XOND7UIK.js.map} +0 -0
- /package/dist/{chunk-RZ3KEFZ2.js.map → chunk-XRMUUWLS.js.map} +0 -0
- /package/dist/{chunk-2GBG3KA7.js.map → chunk-XTOGCXPD.js.map} +0 -0
- /package/dist/{chunk-Z7AO6A7M.js.map → chunk-Y5BBFDC3.js.map} +0 -0
- /package/dist/{chunk-ONVIVITY.js.map → chunk-Z2FSHODI.js.map} +0 -0
- /package/dist/{cohort-Q7TW5XTY.js.map → cohort-JWIQOO7U.js.map} +0 -0
- /package/dist/{condition-H6LBUHIF.js.map → condition-ZUAQYF5C.js.map} +0 -0
- /package/dist/{controls-DWDKFDXY.js.map → controls-ZPQ6SXD2.js.map} +0 -0
- /package/dist/{controls.config-KF7PHZSG.js.map → controls.config-NELL5HY5.js.map} +0 -0
- /package/dist/{correlation-YMSARIER.js.map → correlation-2X76UI3K.js.map} +0 -0
- /package/dist/{customdata.inputui-KEFE7ZHS.js.map → customdata.inputui-V6QIGFRP.js.map} +0 -0
- /package/dist/{dataDownload-G7TGPFGL.js.map → dataDownload-NSDY4MSL.js.map} +0 -0
- /package/dist/{databrowser.ui-NFIIFQJZ.js.map → databrowser.ui-DDLFQB6K.js.map} +0 -0
- /package/dist/{dictionary-ERJQMALC.js.map → dictionary-WSDD6TFI.js.map} +0 -0
- /package/dist/{dnaMethylation-KVCXKAU3.js.map → dnaMethylation-3IM4OACZ.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-3NXGGG4J.js.map → dnaMethylation.integration.spec-5CSJA67S.js.map} +0 -0
- /package/dist/{dofetch-YRWLEQEH.js.map → dofetch-GZ7POIBV.js.map} +0 -0
- /package/dist/{e2pca-M2F2CI6I.js.map → e2pca-AX7U2DOI.js.map} +0 -0
- /package/dist/{ep-QAEG4RV4.js.map → ep-UKACHFJU.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-P77T6JR2.js.map → expclust.gdc.spec-46HDKH2Q.js.map} +0 -0
- /package/dist/{facet-LJTSTASE.js.map → facet-3EONZDDE.js.map} +0 -0
- /package/dist/{gb-KSB2DQHH.js.map → gb-W7GX5NWS.js.map} +0 -0
- /package/dist/{geneExpClustering-KHDCPE65.js.map → geneExpClustering-PJA6Y5GW.js.map} +0 -0
- /package/dist/{geneExpression-AWWMOUAR.js.map → geneExpression-EMLVPVNK.js.map} +0 -0
- /package/dist/{geneExpression-Z2EDR6EN.js.map → geneExpression-JMGYBT53.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-WB2ESPKT.js.map → geneExpression.unit.spec-DDZVZJVC.js.map} +0 -0
- /package/dist/{geneORA-NGZTMFSJ.js.map → geneORA-CIAFQQWB.js.map} +0 -0
- /package/dist/{geneRanking-AYNBGFKU.js.map → geneRanking-JRAU6FMJ.js.map} +0 -0
- /package/dist/{geneVariant-AL64NDHH.js.map → geneVariant-3DZTWQFG.js.map} +0 -0
- /package/dist/{geneVariant-QMKR3LUV.js.map → geneVariant-YWURIZ72.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-N3U5CIRT.js.map → geneVariant.integration.spec-V3KECZMM.js.map} +0 -0
- /package/dist/{genefusion.ui-IWJMF2BM.js.map → genefusion.ui-AO3TUDTL.js.map} +0 -0
- /package/dist/{geneset-APCO4BRX.js.map → geneset-RCIP2GZH.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-JTCVUTO5.js.map → genomeBrowser.spec-7PZCNBL3.js.map} +0 -0
- /package/dist/{grin2-FVX6AIST.js.map → grin2-EUBCNH4Q.js.map} +0 -0
- /package/dist/{grin2-LF46UKFY.js.map → grin2-YYBB5XJK.js.map} +0 -0
- /package/dist/{hierCluster-4DRHXD6W.js.map → hierCluster-AV5NO2GW.js.map} +0 -0
- /package/dist/{hierCluster-SFRQK3PS.js.map → hierCluster-W2MVN34V.js.map} +0 -0
- /package/dist/{hierCluster.config-G2TFGBYF.js.map → hierCluster.config-4MBWG6RZ.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-ZUZKCG6A.js.map → hierCluster.integration.spec-JUIBIUKH.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-LQA6J56H.js.map → hierCluster.interactivity-6PJE64PF.js.map} +0 -0
- /package/dist/{hierCluster.renderers-TZZJEVFO.js.map → hierCluster.renderers-RWDQ5SHY.js.map} +0 -0
- /package/dist/{imagePlot-OUHFWYKT.js.map → imagePlot-XLDQNUJA.js.map} +0 -0
- /package/dist/{importPlot-7V456QK7.js.map → importPlot-7FISAQKR.js.map} +0 -0
- /package/dist/{isoformExpression-NGUJJ6VI.js.map → isoformExpression-WOQAOVZS.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-DCRPXPBY.js.map → isoformExpression.unit.spec-BMEGJNCO.js.map} +0 -0
- /package/dist/{junction-QYKLNXIW.js.map → junction-6NO36IPU.js.map} +0 -0
- /package/dist/{junction.customTerm-EHOOBR4V.js.map → junction.customTerm-N6JAOWZO.js.map} +0 -0
- /package/dist/{junction.unit.spec-LDNY7OFK.js.map → junction.unit.spec-UKGSQHO4.js.map} +0 -0
- /package/dist/{launch.adhoc-FF7B3UG6.js.map → launch.adhoc-42PUNEA6.js.map} +0 -0
- /package/dist/{leftlabel.sample-BTHMKLGF.js.map → leftlabel.sample-EXAUDPSB.js.map} +0 -0
- /package/dist/{lollipop-H3UCNMHN.js.map → lollipop-4ASTA5HO.js.map} +0 -0
- /package/dist/{maf-KWGUTPKO.js.map → maf-HPXANL3M.js.map} +0 -0
- /package/dist/{maftimeline-UD5VE4UW.js.map → maftimeline-2SXFX3HF.js.map} +0 -0
- /package/dist/{matrix-DLCX6GOO.js.map → matrix-DX4W5XMX.js.map} +0 -0
- /package/dist/{matrix-TIV42IQB.js.map → matrix-S34ITAPJ.js.map} +0 -0
- /package/dist/{matrix.cells-J3QZ7C6U.js.map → matrix.cells-BLULUGSZ.js.map} +0 -0
- /package/dist/{matrix.config-VNMS6B7J.js.map → matrix.config-Z3LWYH74.js.map} +0 -0
- /package/dist/{matrix.data-PIE3TLKD.js.map → matrix.data-73HY7Y2V.js.map} +0 -0
- /package/dist/{matrix.groups-URBU775S.js.map → matrix.groups-NOUMYNFY.js.map} +0 -0
- /package/dist/{matrix.integration.spec-LC6YMEKP.js.map → matrix.integration.spec-VTXYJ46U.js.map} +0 -0
- /package/dist/{matrix.interactivity-W5AFOAQN.js.map → matrix.interactivity-YHDIO5A2.js.map} +0 -0
- /package/dist/{matrix.layout-LU3NIJAL.js.map → matrix.layout-25HYKUF2.js.map} +0 -0
- /package/dist/{matrix.legend-LTP6ETZO.js.map → matrix.legend-IMK7DH4V.js.map} +0 -0
- /package/dist/{matrix.renderers-762XI65L.js.map → matrix.renderers-3RZRN6HO.js.map} +0 -0
- /package/dist/{matrix.serieses-FHDBRPZA.js.map → matrix.serieses-ZTVHQ7QA.js.map} +0 -0
- /package/dist/{matrix.sort-Q6A6UWMY.js.map → matrix.sort-EDXHT6NZ.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-CTCOPKVS.js.map → matrix.sort.unit.spec-LSNY7PHU.js.map} +0 -0
- /package/dist/{matrix.sorterUi-4M5AU5EL.js.map → matrix.sorterUi-3DRNHG5Z.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-Y7GC3PM5.js.map → matrix.sorterUi.unit.spec-GNIIWGRJ.js.map} +0 -0
- /package/dist/{matrix.unit.spec-DROPHFTM.js.map → matrix.unit.spec-7A6ZFRXI.js.map} +0 -0
- /package/dist/{mavb-BWA73N3U.js.map → mavb-M5AXPLYX.js.map} +0 -0
- /package/dist/{mds.fimo-3UJWIH2J.js.map → mds.fimo-QE5OFA22.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-EUS7DCSQ.js.map → mds.samplescatterplot-664EOHX2.js.map} +0 -0
- /package/dist/{mds.survivalplot-77UEBQIC.js.map → mds.survivalplot-H4TJD44D.js.map} +0 -0
- /package/dist/{multivalue-KZ2DMVIR.js.map → multivalue-JD3CNQJR.js.map} +0 -0
- /package/dist/{numericDictTermCluster-C2MYJYPZ.js.map → numericDictTermCluster-XPKEYXD7.js.map} +0 -0
- /package/dist/{oncomatrix-6LGB3M7R.js.map → oncomatrix-TX5PZQ76.js.map} +0 -0
- /package/dist/{oncomatrix.spec-UWMSLOHW.js.map → oncomatrix.spec-6X2WAHL7.js.map} +0 -0
- /package/dist/{plot.2dvaf-LZAVWH65.js.map → plot.2dvaf-5OHUFTMK.js.map} +0 -0
- /package/dist/{plot.app-OEWE3AYV.js.map → plot.app-XIVVJHWG.js.map} +0 -0
- /package/dist/{plot.barplot-VIBHGTUT.js.map → plot.barplot-PSODLAXD.js.map} +0 -0
- /package/dist/{plot.boxplot-NQI3PSKR.js.map → plot.boxplot-W3ASYFOG.js.map} +0 -0
- /package/dist/{plot.brainImaging-3MTTCZHI.js.map → plot.brainImaging-JGDLKLR7.js.map} +0 -0
- /package/dist/{plot.disco-HODBY7SO.js.map → plot.disco-TPMXTTZK.js.map} +0 -0
- /package/dist/{plot.ssgq-4URQE673.js.map → plot.ssgq-KIZIOZIF.js.map} +0 -0
- /package/dist/{plot.vaf2cov-QIJNEKCK.js.map → plot.vaf2cov-MSMW72IY.js.map} +0 -0
- /package/dist/{polar2-GVFQNSLK.js.map → polar2-LA4MSRRN.js.map} +0 -0
- /package/dist/{profileForms-Z22CJXI4.js.map → profileForms-BJRNB2ZF.js.map} +0 -0
- /package/dist/{profilePlot-IVQZBSID.js.map → profilePlot-DDO53C4T.js.map} +0 -0
- /package/dist/{proteinView-AUK634AU.js.map → proteinView-NFUR42XQ.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-7G2F35H5.js.map → proteomeCohortCompare-OZVF3X66.js.map} +0 -0
- /package/dist/{pseudobulk-QTCUSH5I.js.map → pseudobulk-UVT5G2VL.js.map} +0 -0
- /package/dist/{qualitative-7ST7SSBT.js.map → qualitative-X3VXNC7X.js.map} +0 -0
- /package/dist/{radar2-CEE6SNBS.js.map → radar2-RTVUJ3AN.js.map} +0 -0
- /package/dist/{radarFacility2-OSKDYIK7.js.map → radarFacility2-ZGLZ5AKM.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-RYFUJ2NW.js.map → rememberedGvQ.unit.spec-RLLLWU5M.js.map} +0 -0
- /package/dist/{render-MAD3WMVD.js.map → render-LR5BOYW6.js.map} +0 -0
- /package/dist/{report-6JXJVSEB.js.map → report-37W5OXUM.js.map} +0 -0
- /package/dist/{sampleView-SG3QYZKQ.js.map → sampleView-BDC2WPH7.js.map} +0 -0
- /package/dist/{samplelst-R765UFP6.js.map → samplelst-V2EIVZC5.js.map} +0 -0
- /package/dist/{samplematrix-EBJYE5SM.js.map → samplematrix-XOSKILUL.js.map} +0 -0
- /package/dist/{sc-7ZXPFDHD.js.map → sc-ZVZPWQY7.js.map} +0 -0
- /package/dist/{scatter-3GUL4KF3.js.map → scatter-2ZE5MCYH.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-K4YXGJYG.js.map → selectGenomeWithTklst-EF7WYEAJ.js.map} +0 -0
- /package/dist/{singleCellCellType-TU5VTPLP.js.map → singleCellCellType-TKCGC3G3.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-IRITQIGT.js.map → singleCellCellType.unit.spec-JZ6UHC5F.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-3IL52QDK.js.map → singleCellGeneExpression-I2INGXGI.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-WXC4C37T.js.map → singleCellGeneExpression.unit.spec-KL77FSHZ.js.map} +0 -0
- /package/dist/{singleCellPlot-XG3HZS7I.js.map → singleCellNumericValue-2X5NCEHL.js.map} +0 -0
- /package/dist/{snp-RMZRB426.js.map → singleCellPlot-Q6INE54V.js.map} +0 -0
- /package/dist/{singlecell-BRF2HAV2.js.map → singlecell-5N2P5ZAT.js.map} +0 -0
- /package/dist/{singlecell-KVCJF2HI.js.map → singlecell-NPSWMNI3.js.map} +0 -0
- /package/dist/{ssGSEA-7RKWYZKX.js.map → snp-2WPJYPDE.js.map} +0 -0
- /package/dist/{snp.unit.spec-JF6KR2NT.js.map → snp.unit.spec-PPWIIOX6.js.map} +0 -0
- /package/dist/{snplocus-AHUFHQ3Q.js.map → snplocus-T3HZFZWA.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-OSZZ2CF2.js.map → spliceevent.a53ss.diagram-APCF4LV5.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-AMA2D2OL.js.map → spliceevent.exonskip.diagram-TT5JGBSC.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-RKTUXH5D.js.map → spliceevent.noeventdiagram-CPXQSX3Z.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-GCL4SRON.js.map → ssGSEA-FSX6P7HA.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-XLCZHH7S.js.map → ssGSEA.unit.spec-TXYT665R.js.map} +0 -0
- /package/dist/{stattable-NDYUCLVZ.js.map → stattable-BD64SFYV.js.map} +0 -0
- /package/dist/{studyCatalog-TAXRF5NS.js.map → studyCatalog-6BOWO4PO.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-3QLHU6N7.js.map → summarizeCnvGeneexp-AMLYJIPU.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-ARI4MPFX.js.map → summarizeGeneexpSurvival-IDM7T333.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-W7V7CKPI.js.map → summarizeMutationCnv-R6SYSJQC.js.map} +0 -0
- /package/dist/{summary-OUYDWLBF.js.map → summarizeMutationDiagnosis-XZJ4JLW2.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-6TTMSRRX.js.map → summarizeMutationSurvival-ABJ5RL4L.js.map} +0 -0
- /package/dist/{termCollection-7P3WU6X6.js.map → summary-NVYCTE6P.js.map} +0 -0
- /package/dist/{summary.integration.spec-4GTCG6HY.js.map → summary.integration.spec-SSLTLVNW.js.map} +0 -0
- /package/dist/{summaryInput-UK3TLC7M.js.map → summaryInput-SJOZETRP.js.map} +0 -0
- /package/dist/{sunburst-2UFHMNH3.js.map → sunburst-RU5ZPJKW.js.map} +0 -0
- /package/dist/{survival-SPWYSDVB.js.map → survival-BHJQMXKI.js.map} +0 -0
- /package/dist/{survival-TL6UZ6FQ.js.map → survival-DVG6Y2FV.js.map} +0 -0
- /package/dist/{svgraph-Z543MLIN.js.map → svgraph-ETFA4GRX.js.map} +0 -0
- /package/dist/{svmr-SZCAOAIF.js.map → svmr-AI3RU4JK.js.map} +0 -0
- /package/dist/{table-IAQ6J4DO.js.map → table-YCTSMLQL.js.map} +0 -0
- /package/dist/{termCollection-3NGHR7QN.js.map → termCollection-GMKEZR6D.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-YKIE6BME.js.map → termCollection-VEVKKJZD.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-EPYC7LOA.js.map → termCollection.unit.spec-EU6YCEPX.js.map} +0 -0
- /package/dist/{tk-X454XH5N.js.map → termCollectionFractionSelection-UBS74X36.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map → termCollectionFractionSelection.unit.spec-Y5OJFGDD.js.map} +0 -0
- /package/dist/{tk-TOXMU4GT.js.map → tk-HMF4HCNV.js.map} +0 -0
- /package/dist/{tvs.dt-U77PCG6X.js.map → tk-W6Z4FJMW.js.map} +0 -0
- /package/dist/{tp.ui-FDQ76KPL.js.map → tp.ui-NECRDJCS.js.map} +0 -0
- /package/dist/{vocabulary-64GO4YDB.js.map → tvs.dt-2JEH3F35.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-XYZU4XLO.js.map → tvs.dtcnv.categorical-YBXKEBR2.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-4GJILFGP.js.map → tvs.dtcnv.continuous-AD3SJ6BY.js.map} +0 -0
- /package/dist/{tvs.dtfusion-7YROAHVI.js.map → tvs.dtfusion-ODI3CLQS.js.map} +0 -0
- /package/dist/{tvs.dtitd-MIYU4ZHH.js.map → tvs.dtitd-V3LYLPJY.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-XLDY7KWB.js.map → tvs.dtsnvindel-R3V5LTNL.js.map} +0 -0
- /package/dist/{tvs.dtsv-YMLJ37YR.js.map → tvs.dtsv-ZQLKEDLJ.js.map} +0 -0
- /package/dist/{tvs.samplelst-KIVEXJKD.js.map → tvs.samplelst-G25A7HM6.js.map} +0 -0
- /package/dist/{tvs.termCollection-4CQV3EB3.js.map → tvs.termCollection-WLVCWDEJ.js.map} +0 -0
- /package/dist/{wsi.direct-5MQVRJZX.js.map → wsi.direct-SNPPQPVO.js.map} +0 -0
|
@@ -0,0 +1,1649 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VolcanoModel,
|
|
3
|
+
getGroupColors
|
|
4
|
+
} from "./chunk-WCTKHF5T.js";
|
|
5
|
+
import {
|
|
6
|
+
DATermTypes,
|
|
7
|
+
DataPointInteractions,
|
|
8
|
+
GeneSetEditUI,
|
|
9
|
+
MultiTermWrapperEditUI,
|
|
10
|
+
PlotBase,
|
|
11
|
+
axisstyle,
|
|
12
|
+
controlsInit,
|
|
13
|
+
downloadTable,
|
|
14
|
+
enabledTermTypes,
|
|
15
|
+
fileDateStamp,
|
|
16
|
+
fillTermWrapper,
|
|
17
|
+
getCombinedTermFilter,
|
|
18
|
+
getDNAMethTermName,
|
|
19
|
+
getDNAMethUnit,
|
|
20
|
+
getDefaultVolcanoSettings,
|
|
21
|
+
getGEunit,
|
|
22
|
+
getSampleNum,
|
|
23
|
+
renderTable,
|
|
24
|
+
sayerror,
|
|
25
|
+
table2col,
|
|
26
|
+
to_svg,
|
|
27
|
+
validateVolcanoSettings
|
|
28
|
+
} from "./chunk-QJ3HYZH3.js";
|
|
29
|
+
import "./chunk-HJ6L54YS.js";
|
|
30
|
+
import "./chunk-KV4W2ACA.js";
|
|
31
|
+
import "./chunk-DMWOK4DS.js";
|
|
32
|
+
import {
|
|
33
|
+
Menu
|
|
34
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
35
|
+
import "./chunk-5IMFPVGT.js";
|
|
36
|
+
import "./chunk-EEB5VE2A.js";
|
|
37
|
+
import "./chunk-6RRZRISL.js";
|
|
38
|
+
import "./chunk-2KM4PRQM.js";
|
|
39
|
+
import "./chunk-VMRO6DMC.js";
|
|
40
|
+
import "./chunk-HKKTNIMX.js";
|
|
41
|
+
import "./chunk-GMRIEUBW.js";
|
|
42
|
+
import {
|
|
43
|
+
DNA_METHYLATION,
|
|
44
|
+
GENE_EXPRESSION,
|
|
45
|
+
PROTEOME_DAP,
|
|
46
|
+
SINGLECELL_CELLTYPE
|
|
47
|
+
} from "./chunk-4EZLVENZ.js";
|
|
48
|
+
import {
|
|
49
|
+
copyMerge,
|
|
50
|
+
getCompInit
|
|
51
|
+
} from "./chunk-WINIL2KN.js";
|
|
52
|
+
import "./chunk-PF4DSFDR.js";
|
|
53
|
+
import "./chunk-7X6NF7NI.js";
|
|
54
|
+
import {
|
|
55
|
+
uiLabel
|
|
56
|
+
} from "./chunk-W5J3LTYS.js";
|
|
57
|
+
import {
|
|
58
|
+
axisBottom,
|
|
59
|
+
axisLeft
|
|
60
|
+
} from "./chunk-Z2ZITHT4.js";
|
|
61
|
+
import {
|
|
62
|
+
linear
|
|
63
|
+
} from "./chunk-4OLM3KSB.js";
|
|
64
|
+
import "./chunk-FXQXCOII.js";
|
|
65
|
+
import {
|
|
66
|
+
roundValueAuto
|
|
67
|
+
} from "./chunk-TLT4YIG3.js";
|
|
68
|
+
import "./chunk-5R63Q5KH.js";
|
|
69
|
+
import {
|
|
70
|
+
selectAll_default,
|
|
71
|
+
select_default
|
|
72
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
73
|
+
import {
|
|
74
|
+
rgb
|
|
75
|
+
} from "./chunk-Q5RDQNIT.js";
|
|
76
|
+
import "./chunk-DQC5FFGV.js";
|
|
77
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
78
|
+
|
|
79
|
+
// plots/volcano/promoterLabel.ts
|
|
80
|
+
function elementNoun(elementType) {
|
|
81
|
+
switch (elementType) {
|
|
82
|
+
case void 0:
|
|
83
|
+
case "":
|
|
84
|
+
case "promoter":
|
|
85
|
+
return { one: "Promoter", many: "promoters" };
|
|
86
|
+
/* Two different promoter DEFINITIONS, deliberately given distinct nouns. 'promoter' is
|
|
87
|
+
the TSS -1500/+500 window (Bibikova 2011 / Sandoval 2011 -- the 450K array's
|
|
88
|
+
TSS1500+TSS200 categories); 'promoter_pls' is the ENCODE cCRE promoter-like element,
|
|
89
|
+
~349 bp, i.e. the CpG-island core with the shores removed. They cover different numbers
|
|
90
|
+
of genes and their hit counts are NOT comparable, so the UI must never call both
|
|
91
|
+
"promoters". */
|
|
92
|
+
case "promoter_pls":
|
|
93
|
+
return { one: "cCRE promoter", many: "cCRE promoters" };
|
|
94
|
+
case "eqtm_block":
|
|
95
|
+
return { one: "eQTM block", many: "eQTM blocks" };
|
|
96
|
+
case "enhancer":
|
|
97
|
+
return { one: "Enhancer", many: "enhancers" };
|
|
98
|
+
/* Distal and proximal are separate ENCODE classes and separate hypotheses -- dELS are
|
|
99
|
+
the intronic/intergenic enhancers where myeloma hypermethylation concentrates, pELS sit
|
|
100
|
+
within 2 kb of a TSS and behave more promoter-like. There are 4.5x as many dELS, so their
|
|
101
|
+
hit counts are not comparable to each other either. Naming them apart keeps a reader from
|
|
102
|
+
reading two runs as the same analysis. */
|
|
103
|
+
case "enhancer_distal":
|
|
104
|
+
return { one: "Distal enhancer", many: "distal enhancers" };
|
|
105
|
+
case "enhancer_proximal":
|
|
106
|
+
return { one: "Proximal enhancer", many: "proximal enhancers" };
|
|
107
|
+
default:
|
|
108
|
+
return { one: "Element", many: "elements" };
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function formatPromoterLabel(d) {
|
|
112
|
+
if (!d) return "";
|
|
113
|
+
const id = d.promoter_id || "";
|
|
114
|
+
const { chr, start, stop } = d;
|
|
115
|
+
if (!chr || !Number.isFinite(start) || !Number.isFinite(stop)) return id;
|
|
116
|
+
const region = `${chr}:${start}-${stop}`;
|
|
117
|
+
const idx = id.match(/\.(p\d+)_[^_]*:\d+-\d+$/);
|
|
118
|
+
return idx ? `${idx[1]} \xB7 ${region}` : region;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// plots/volcano/viewModel/VolcanoViewModel.ts
|
|
122
|
+
function shortenGroupName(name) {
|
|
123
|
+
if (name.length >= 25) return name.substring(0, 20) + "...";
|
|
124
|
+
return name;
|
|
125
|
+
}
|
|
126
|
+
var VolcanoViewModel = class {
|
|
127
|
+
constructor(config, response, settings) {
|
|
128
|
+
this.numSignificant = 0;
|
|
129
|
+
this.numNonSignificant = 0;
|
|
130
|
+
this.minLogFoldChange = 0;
|
|
131
|
+
this.maxLogFoldChange = 0;
|
|
132
|
+
//Used for the y axis domain
|
|
133
|
+
this.minLogPValue = 0;
|
|
134
|
+
this.maxLogPValue = 0;
|
|
135
|
+
//Unpadded extents — used for the visible axis labels/ticks (only span real data)
|
|
136
|
+
this.minLogFoldChangeAxis = 0;
|
|
137
|
+
this.maxLogFoldChangeAxis = 0;
|
|
138
|
+
this.minLogPValueAxis = 0;
|
|
139
|
+
this.maxLogPValueAxis = 0;
|
|
140
|
+
//Dot radius in pixels (from server) — overlay rings size to match the PNG
|
|
141
|
+
this.dotRadiusPx = 2;
|
|
142
|
+
//Used in place of 0 p values that cannot be log transformed
|
|
143
|
+
this.minNonZeroPValue = 1e-9;
|
|
144
|
+
this.offset = 10;
|
|
145
|
+
this.bottomPad = 60;
|
|
146
|
+
this.horizPad = 70;
|
|
147
|
+
this.topPad = 40;
|
|
148
|
+
this.config = config;
|
|
149
|
+
this.response = response;
|
|
150
|
+
this.plotX = this.horizPad + this.offset * 2;
|
|
151
|
+
this.dataRows = response.data.dots;
|
|
152
|
+
const { caseColor, controlColor } = getGroupColors(this.config);
|
|
153
|
+
const barplot = { colorNegative: controlColor, colorPositive: caseColor };
|
|
154
|
+
this.pValueTable = {
|
|
155
|
+
columns: [
|
|
156
|
+
{ label: "log\u2082(fold-change)", barplot, sortable: true },
|
|
157
|
+
// DAP files carry a single FDR (adjusted p-value); other term types report
|
|
158
|
+
// both a raw and an adjusted p-value.
|
|
159
|
+
...config.termType == DATermTypes.PROTEOME_DAP ? [{ label: "FDR", sortable: true }] : [
|
|
160
|
+
{ label: "Original p-value", sortable: true },
|
|
161
|
+
{ label: "Adjusted p-value", sortable: true }
|
|
162
|
+
]
|
|
163
|
+
],
|
|
164
|
+
/** Filled in setPointData(), one row per threshold-passing dot. Populated even when the
|
|
165
|
+
* table is hidden — the download reads it. */
|
|
166
|
+
rows: [],
|
|
167
|
+
rowKeys: /* @__PURE__ */ new Map(),
|
|
168
|
+
height: settings.height + this.topPad
|
|
169
|
+
};
|
|
170
|
+
this.settings = settings;
|
|
171
|
+
this.termType = config.termType;
|
|
172
|
+
this.dataType = this.setDataType();
|
|
173
|
+
this.setMinMaxValues();
|
|
174
|
+
const plotDim = this.setPlotDimensions();
|
|
175
|
+
this.setPTableColumns();
|
|
176
|
+
const pointData = this.setPointData(plotDim, controlColor, caseColor);
|
|
177
|
+
const foldChangeIdx = this.pValueTable.columns.findIndex((c) => c.label.includes("log\u2082(fold-change)"));
|
|
178
|
+
this.pValueTable.rows.sort((a, b) => b[foldChangeIdx].value - a[foldChangeIdx].value);
|
|
179
|
+
this.viewData = {
|
|
180
|
+
images: response.images || [],
|
|
181
|
+
termInfo: this.setTermInfo(plotDim),
|
|
182
|
+
plotDim,
|
|
183
|
+
pointData,
|
|
184
|
+
pValueTableData: this.pValueTable,
|
|
185
|
+
statsData: this.setStatsData(),
|
|
186
|
+
provenance: this.setProvenance(),
|
|
187
|
+
userActions: this.setUserActions(),
|
|
188
|
+
deltaBetaAxisLabel: this.setDeltaBetaAxisLabel(),
|
|
189
|
+
volcanoPng: response.data.volcanoPng,
|
|
190
|
+
plotExtent: response.data.plotExtent
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
/* The delta-beta axis used to read "Δβ (case − control)". Those are positional roles, not
|
|
194
|
+
names, so the plot showed the size of an effect but not its direction -- you had to already
|
|
195
|
+
know which group landed in which slot, or open a downloaded file and read the provenance line.
|
|
196
|
+
Name the groups instead, in subtraction order (case first), so the axis states what it plots.
|
|
197
|
+
|
|
198
|
+
Returns undefined when the group names are not available; the view falls back to the old
|
|
199
|
+
wording rather than rendering a broken label. */
|
|
200
|
+
setDeltaBetaAxisLabel() {
|
|
201
|
+
const groups = this.config?.samplelst?.groups;
|
|
202
|
+
const control = groups?.[0]?.name;
|
|
203
|
+
const cases = groups?.[1]?.name;
|
|
204
|
+
if (!control || !cases) return void 0;
|
|
205
|
+
return `\u0394\u03B2 (${shortenGroupName(cases)} \u2212 ${shortenGroupName(control)})`;
|
|
206
|
+
}
|
|
207
|
+
setDataType() {
|
|
208
|
+
if (this.termType == DATermTypes.GENE_EXPRESSION) return "genes";
|
|
209
|
+
if (this.termType == DATermTypes.DNA_METHYLATION) return elementNoun(this.settings?.elementType).many;
|
|
210
|
+
if (this.termType == DATermTypes.SINGLECELL_CELLTYPE) return "genes";
|
|
211
|
+
if (this.termType == DATermTypes.PROTEOME_DAP) return "proteins";
|
|
212
|
+
if (this.termType == DATermTypes.SINGLECELL_GENE_EXPRESSION) return "cells";
|
|
213
|
+
throw new Error(`Unknown termType: ${this.termType}`);
|
|
214
|
+
}
|
|
215
|
+
setMinMaxValues() {
|
|
216
|
+
const ext = this.response.data.plotExtent;
|
|
217
|
+
this.minLogFoldChange = ext.xMin;
|
|
218
|
+
this.maxLogFoldChange = ext.xMax;
|
|
219
|
+
this.minLogPValue = ext.yMin;
|
|
220
|
+
this.maxLogPValue = ext.yMax;
|
|
221
|
+
this.minLogFoldChangeAxis = ext.xMinUnpadded;
|
|
222
|
+
this.maxLogFoldChangeAxis = ext.xMaxUnpadded;
|
|
223
|
+
this.minLogPValueAxis = ext.yMinUnpadded;
|
|
224
|
+
this.maxLogPValueAxis = ext.yMaxUnpadded;
|
|
225
|
+
this.dotRadiusPx = ext.dotRadiusPx;
|
|
226
|
+
if (ext.minNonZeroPValue > 0) this.minNonZeroPValue = ext.minNonZeroPValue;
|
|
227
|
+
}
|
|
228
|
+
setPlotDimensions() {
|
|
229
|
+
const ext = this.response.data.plotExtent;
|
|
230
|
+
const plotW = ext.pixelWidth;
|
|
231
|
+
const plotH = ext.pixelHeight;
|
|
232
|
+
const xPlotScale = linear().domain([this.minLogFoldChange, this.maxLogFoldChange]).range([0, plotW]);
|
|
233
|
+
const yPlotScale = linear().domain([this.minLogPValue, this.maxLogPValue]).range([plotH, 0]);
|
|
234
|
+
const xScale = linear().domain([this.minLogFoldChangeAxis, this.maxLogFoldChangeAxis]).range([xPlotScale(this.minLogFoldChangeAxis), xPlotScale(this.maxLogFoldChangeAxis)]);
|
|
235
|
+
const yScale = linear().domain([this.minLogPValueAxis, this.maxLogPValueAxis]).range([yPlotScale(this.minLogPValueAxis), yPlotScale(this.maxLogPValueAxis)]);
|
|
236
|
+
return {
|
|
237
|
+
svg: {
|
|
238
|
+
//20 is for the term info above the plot
|
|
239
|
+
height: plotH + this.topPad + this.bottomPad * 2 + this.offset * 3,
|
|
240
|
+
width: plotW + this.horizPad * 2
|
|
241
|
+
},
|
|
242
|
+
top: {
|
|
243
|
+
x: this.plotX,
|
|
244
|
+
y: 5
|
|
245
|
+
},
|
|
246
|
+
xAxisLabel: {
|
|
247
|
+
x: this.horizPad + plotW / 2 + this.offset,
|
|
248
|
+
y: this.topPad + plotH + this.bottomPad + this.offset
|
|
249
|
+
},
|
|
250
|
+
xScale: {
|
|
251
|
+
scale: xScale,
|
|
252
|
+
x: this.plotX,
|
|
253
|
+
y: plotH + this.topPad + this.offset * 2
|
|
254
|
+
},
|
|
255
|
+
yAxisLabel: {
|
|
256
|
+
text: this.termType == DATermTypes.PROTEOME_DAP ? "-log10(FDR)" : `-log10(${this.settings.pValueType} P value)`,
|
|
257
|
+
x: this.horizPad / 3,
|
|
258
|
+
y: this.topPad + plotH / 2
|
|
259
|
+
},
|
|
260
|
+
yScale: {
|
|
261
|
+
scale: yScale,
|
|
262
|
+
x: this.horizPad,
|
|
263
|
+
y: this.topPad
|
|
264
|
+
},
|
|
265
|
+
plot: {
|
|
266
|
+
height: plotH,
|
|
267
|
+
width: plotW,
|
|
268
|
+
x: this.plotX,
|
|
269
|
+
y: this.topPad
|
|
270
|
+
},
|
|
271
|
+
logFoldChangeLine: {
|
|
272
|
+
x: xPlotScale(0) + this.plotX,
|
|
273
|
+
y1: this.topPad,
|
|
274
|
+
y2: plotH + this.offset * 4
|
|
275
|
+
},
|
|
276
|
+
xPlotScale,
|
|
277
|
+
yPlotScale
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
setTermInfo(plotDim) {
|
|
281
|
+
if (!enabledTermTypes.has(this.termType)) return;
|
|
282
|
+
if (this.termType == DATermTypes.PROTEOME_DAP) {
|
|
283
|
+
return {
|
|
284
|
+
y: plotDim.top.y + 10,
|
|
285
|
+
first: {
|
|
286
|
+
label: shortenGroupName(`Control (${this.response.sample_size1})`),
|
|
287
|
+
x: 0
|
|
288
|
+
},
|
|
289
|
+
second: {
|
|
290
|
+
label: shortenGroupName(`Case (${this.response.sample_size2})`),
|
|
291
|
+
x: this.settings.width
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
if (this.termType == DATermTypes.SINGLECELL_CELLTYPE) {
|
|
296
|
+
const groupLabel = `${this.config.termId} ${this.config.categoryName}`;
|
|
297
|
+
return {
|
|
298
|
+
y: plotDim.top.y + 10,
|
|
299
|
+
first: {
|
|
300
|
+
label: shortenGroupName(`Not in ${groupLabel}`),
|
|
301
|
+
x: 0
|
|
302
|
+
},
|
|
303
|
+
second: {
|
|
304
|
+
label: shortenGroupName(groupLabel),
|
|
305
|
+
x: this.settings.width
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
return {
|
|
310
|
+
//Set slightly above the plot
|
|
311
|
+
y: plotDim.top.y + 10,
|
|
312
|
+
first: {
|
|
313
|
+
// color: controlColor || this.settings.defaultSignColor,
|
|
314
|
+
label: shortenGroupName(`${this.config.samplelst.groups[0].name} (${this.response.sample_size1})`),
|
|
315
|
+
x: 0
|
|
316
|
+
// rectX: this.settings.width/2 - 10,
|
|
317
|
+
},
|
|
318
|
+
second: {
|
|
319
|
+
// color: caseColor || this.settings.defaultSignColor,
|
|
320
|
+
label: shortenGroupName(`${this.config.samplelst.groups[1].name} (${this.response.sample_size2})`),
|
|
321
|
+
x: this.settings.width
|
|
322
|
+
// rectX: this.settings.width/2 + 10,
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
setPointData(_plotDim, controlColor, caseColor) {
|
|
327
|
+
const radius = this.dotRadiusPx;
|
|
328
|
+
this.pValueTable.rows = [];
|
|
329
|
+
this.pValueTable.rowKeys.clear();
|
|
330
|
+
const dataCopy = structuredClone(this.dataRows);
|
|
331
|
+
for (const d of dataCopy) {
|
|
332
|
+
const highlightKey = this.termType === DATermTypes.DNA_METHYLATION ? d.promoter_id : d.gene_name;
|
|
333
|
+
d.highlighted = this.config?.highlightedData?.includes(highlightKey);
|
|
334
|
+
d.significant = true;
|
|
335
|
+
this.getGenesColor(d, d.significant, controlColor, caseColor);
|
|
336
|
+
if (d.significant) {
|
|
337
|
+
this.numSignificant++;
|
|
338
|
+
const row = this.termType == DATermTypes.PROTEOME_DAP ? [{ value: roundValueAuto(d.fold_change) }, { value: roundValueAuto(d.original_p_value) }] : [
|
|
339
|
+
{ value: roundValueAuto(d.fold_change) },
|
|
340
|
+
{ value: roundValueAuto(d.original_p_value) },
|
|
341
|
+
{ value: d.adjusted_p_value != void 0 ? roundValueAuto(d.adjusted_p_value) : "" }
|
|
342
|
+
];
|
|
343
|
+
if (this.termType == DATermTypes.DNA_METHYLATION) {
|
|
344
|
+
row.splice(
|
|
345
|
+
1,
|
|
346
|
+
0,
|
|
347
|
+
{ value: roundValueAuto(d.delta_beta) },
|
|
348
|
+
{ value: roundValueAuto(d.mean_beta_control) },
|
|
349
|
+
{ value: roundValueAuto(d.mean_beta_case) }
|
|
350
|
+
);
|
|
351
|
+
row.splice(0, 0, { value: formatPromoterLabel(d) }, { value: d.gene_name || "" });
|
|
352
|
+
} else if (this.termType == DATermTypes.PROTEOME_DAP) {
|
|
353
|
+
row.splice(0, 0, { value: d.gene_name || "" }, { value: d.gene || "" });
|
|
354
|
+
} else {
|
|
355
|
+
row.splice(0, 0, { value: d.gene_name || "" });
|
|
356
|
+
}
|
|
357
|
+
this.pValueTable.rows.push(row);
|
|
358
|
+
this.pValueTable.rowKeys.set(row, highlightKey);
|
|
359
|
+
} else {
|
|
360
|
+
this.numNonSignificant++;
|
|
361
|
+
}
|
|
362
|
+
d.x = d.pixel_x + this.plotX;
|
|
363
|
+
d.y = d.pixel_y + this.topPad;
|
|
364
|
+
d.radius = radius;
|
|
365
|
+
}
|
|
366
|
+
this.numSignificant = this.response.data.totalSignificantRows;
|
|
367
|
+
this.numNonSignificant = Math.max(0, this.response.data.totalRows - this.numSignificant);
|
|
368
|
+
dataCopy.sort((a, b) => a.highlighted - b.highlighted);
|
|
369
|
+
return dataCopy;
|
|
370
|
+
}
|
|
371
|
+
getGenesColor(d, significant, controlColor, caseColor) {
|
|
372
|
+
if (!d.gene_name && this.termType != DATermTypes.DNA_METHYLATION)
|
|
373
|
+
throw new Error(`Missing gene_name in data: ${JSON.stringify(d)}`);
|
|
374
|
+
if (significant) {
|
|
375
|
+
if (controlColor && caseColor) d.color = d.fold_change > 0 ? caseColor : controlColor;
|
|
376
|
+
else d.color = this.settings.defaultSignColor;
|
|
377
|
+
} else d.color = this.settings.defaultNonSignColor;
|
|
378
|
+
}
|
|
379
|
+
/** One line describing what produced this result: which groups, how many samples actually
|
|
380
|
+
* entered the model, and every setting that changes the numbers.
|
|
381
|
+
*
|
|
382
|
+
* This exists because an exported table is the artifact that outlives the session. Re-running
|
|
383
|
+
* a contrast months later and getting different counts is impossible to diagnose when the
|
|
384
|
+
* original run's group sizes and options were never written down anywhere -- the file, the
|
|
385
|
+
* screenshot and the memory of it all look identical regardless of how it was configured.
|
|
386
|
+
* Only settings that can change the result are listed; cosmetic ones are deliberately left
|
|
387
|
+
* out so the line stays readable and a difference in it always means a real difference. */
|
|
388
|
+
setProvenance() {
|
|
389
|
+
const s = this.settings;
|
|
390
|
+
const parts = [];
|
|
391
|
+
if (this.config.samplelst?.groups?.length == 2) {
|
|
392
|
+
const [g1, g2] = this.config.samplelst.groups;
|
|
393
|
+
parts.push(`group1 (control) "${g1.name}" n=${this.response.sample_size1}`);
|
|
394
|
+
parts.push(`group2 (case) "${g2.name}" n=${this.response.sample_size2}`);
|
|
395
|
+
}
|
|
396
|
+
const conf = this.config.confounderTws?.map((t) => t?.term?.name || t?.term?.id).filter(Boolean);
|
|
397
|
+
parts.push(`confounders: ${conf?.length ? conf.join(" + ") : "none"}`);
|
|
398
|
+
if (this.termType == DATermTypes.DNA_METHYLATION) {
|
|
399
|
+
parts.push(`element class: ${s.elementType || "promoter"}`);
|
|
400
|
+
parts.push(`x axis: ${s.xAxis === "delta_beta" ? "delta-beta" : "log2(fold-change)"}`);
|
|
401
|
+
parts.push(`min samples per group: ${s.minSamplesPerGroup}`);
|
|
402
|
+
parts.push(`exclude sex chromosomes: ${s.excludeSexChr ? "yes" : "no"}`);
|
|
403
|
+
} else if (this.termType == DATermTypes.GENE_EXPRESSION) {
|
|
404
|
+
parts.push(`method: ${s.method}`);
|
|
405
|
+
}
|
|
406
|
+
const onDeltaBeta = this.termType == DATermTypes.DNA_METHYLATION && s.xAxis === "delta_beta";
|
|
407
|
+
const effect = onDeltaBeta ? `|delta-beta| > ${s.deltaBetaCutoff}` : `|log2(fold-change)| > ${s.foldChangeCutoff}`;
|
|
408
|
+
parts.push(`significance: ${s.pValueType} p < ${roundValueAuto(Math.pow(10, -s.pValue))}, ${effect}`);
|
|
409
|
+
return parts.join("; ");
|
|
410
|
+
}
|
|
411
|
+
setStatsData() {
|
|
412
|
+
const tableRows = [
|
|
413
|
+
{
|
|
414
|
+
label: `Percentage of significant ${this.dataType}`,
|
|
415
|
+
value: roundValueAuto(this.numSignificant * 100 / (this.numSignificant + this.numNonSignificant))
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
label: `Number of significant ${this.dataType}`,
|
|
419
|
+
value: this.numSignificant
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
label: `Number of total ${this.dataType}`,
|
|
423
|
+
value: this.numSignificant + this.numNonSignificant
|
|
424
|
+
}
|
|
425
|
+
];
|
|
426
|
+
if (this.termType == DATermTypes.GENE_EXPRESSION || this.termType == DATermTypes.DNA_METHYLATION) {
|
|
427
|
+
tableRows.push(
|
|
428
|
+
{
|
|
429
|
+
label: this.config.samplelst.groups[0].name + " sample size (control group)",
|
|
430
|
+
value: this.response.sample_size1
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
label: this.config.samplelst.groups[1].name + " sample size (case group)",
|
|
434
|
+
value: this.response.sample_size2
|
|
435
|
+
}
|
|
436
|
+
);
|
|
437
|
+
} else if (this.termType == DATermTypes.PROTEOME_DAP) {
|
|
438
|
+
tableRows.push(
|
|
439
|
+
{
|
|
440
|
+
label: "Control sample size",
|
|
441
|
+
value: this.response.sample_size1
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
label: "Case sample size",
|
|
445
|
+
value: this.response.sample_size2
|
|
446
|
+
}
|
|
447
|
+
);
|
|
448
|
+
}
|
|
449
|
+
if (this.response.bcv !== void 0 && this.response.bcv !== null) {
|
|
450
|
+
tableRows.push({
|
|
451
|
+
label: "Biological coefficient of variation",
|
|
452
|
+
value: roundValueAuto(this.response.bcv)
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
return tableRows;
|
|
456
|
+
}
|
|
457
|
+
setPTableColumns() {
|
|
458
|
+
if (this.termType == DATermTypes.DNA_METHYLATION) {
|
|
459
|
+
this.pValueTable.columns.splice(
|
|
460
|
+
1,
|
|
461
|
+
0,
|
|
462
|
+
{ label: "\u0394\u03B2", sortable: true },
|
|
463
|
+
{ label: "Mean \u03B2 (group 1)", sortable: true },
|
|
464
|
+
{ label: "Mean \u03B2 (group 2)", sortable: true }
|
|
465
|
+
);
|
|
466
|
+
this.pValueTable.columns.splice(
|
|
467
|
+
0,
|
|
468
|
+
0,
|
|
469
|
+
{ label: elementNoun(this.settings?.elementType).one, sortable: true },
|
|
470
|
+
{ label: "Gene(s)", sortable: true }
|
|
471
|
+
);
|
|
472
|
+
} else if (this.termType == DATermTypes.PROTEOME_DAP) {
|
|
473
|
+
this.pValueTable.columns.splice(0, 0, { label: "Identifier", sortable: true }, { label: "Gene", sortable: true });
|
|
474
|
+
} else {
|
|
475
|
+
this.pValueTable.columns.splice(0, 0, { label: "Gene Name", sortable: true });
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
setUserActions() {
|
|
479
|
+
const userActions = {
|
|
480
|
+
noShow: /* @__PURE__ */ new Set()
|
|
481
|
+
};
|
|
482
|
+
if (this.termType == DATermTypes.GENE_EXPRESSION) {
|
|
483
|
+
if (this.settings.method == "edgeR" && getSampleNum(this.config) > 100) {
|
|
484
|
+
userActions.noShow.add("Confounding factors");
|
|
485
|
+
}
|
|
486
|
+
if (this.settings.method == "wilcoxon") userActions.noShow.add("Confounding factors");
|
|
487
|
+
}
|
|
488
|
+
return userActions;
|
|
489
|
+
}
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
// plots/volcano/interactions/VolcanoInteractions.ts
|
|
493
|
+
var VolcanoInteractions = class {
|
|
494
|
+
constructor(app, id, dom) {
|
|
495
|
+
this.app = app;
|
|
496
|
+
this.dom = dom;
|
|
497
|
+
this.id = id;
|
|
498
|
+
this.pValueTableData = [];
|
|
499
|
+
this.data = [];
|
|
500
|
+
this.totalSignificantRows = 0;
|
|
501
|
+
this.provenance = "";
|
|
502
|
+
}
|
|
503
|
+
/** Launches a multi-term select tree
|
|
504
|
+
* On submit, dispatches a plot_edit action with the new confounders */
|
|
505
|
+
async confoundersMenu() {
|
|
506
|
+
const state = this.app.getState();
|
|
507
|
+
const config = state.plots.find((p) => p.id === this.id);
|
|
508
|
+
if (config.termType !== GENE_EXPRESSION && config.termType !== DNA_METHYLATION) return;
|
|
509
|
+
const allowedGroupNames = /* @__PURE__ */ new Set([config.samplelst.groups[0].name, config.samplelst.groups[1].name]);
|
|
510
|
+
const grpTerms = new Set(
|
|
511
|
+
(this.app?.vocabApi?.state.groups || []).filter((g) => allowedGroupNames.has(g.name)).flatMap(
|
|
512
|
+
(g) => g.filter.lst.flatMap((f) => {
|
|
513
|
+
if (f.tvs?.term) return f.tvs.term;
|
|
514
|
+
else return f.lst.map((l) => l.tvs.term);
|
|
515
|
+
})
|
|
516
|
+
)
|
|
517
|
+
);
|
|
518
|
+
const disable_terms = grpTerms.size ? Array.from(grpTerms) : [];
|
|
519
|
+
const maxNum = config.settings.volcano.method == "edgeR" ? 1 : 2;
|
|
520
|
+
const ui = new MultiTermWrapperEditUI({
|
|
521
|
+
app: this.app,
|
|
522
|
+
callback: async (tws) => {
|
|
523
|
+
this.dom.actionsTip.hide();
|
|
524
|
+
await this.app.dispatch({
|
|
525
|
+
type: "plot_edit",
|
|
526
|
+
id: this.id,
|
|
527
|
+
config: { confounderTws: tws }
|
|
528
|
+
});
|
|
529
|
+
},
|
|
530
|
+
holder: this.dom.actionsTip.d,
|
|
531
|
+
headerText: "Select confounders",
|
|
532
|
+
maxNum,
|
|
533
|
+
state,
|
|
534
|
+
twList: config.confounderTws,
|
|
535
|
+
disable_terms
|
|
536
|
+
});
|
|
537
|
+
await ui.renderUI();
|
|
538
|
+
}
|
|
539
|
+
download(termType) {
|
|
540
|
+
this.dom.actionsTip.clear().showunder(this.dom.controls.select("div").node());
|
|
541
|
+
const opts = [
|
|
542
|
+
{
|
|
543
|
+
text: "Download plot",
|
|
544
|
+
callback: () => {
|
|
545
|
+
const svg = this.dom.holder.select("svg").node();
|
|
546
|
+
to_svg(svg, `Differential ${termType} analysis volcano`, { apply_dom_styles: true });
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
// DAP volcanoes report a single FDR rather than a p-value.
|
|
551
|
+
text: termType === PROTEOME_DAP ? "Download FDR table" : "Download p-value table",
|
|
552
|
+
callback: (itemDiv) => this.downloadPvalueTable(termType, itemDiv)
|
|
553
|
+
}
|
|
554
|
+
];
|
|
555
|
+
for (const opt of opts) {
|
|
556
|
+
const itemDiv = this.dom.actionsTip.d.append("div").attr("class", "sja_menuoption").text(opt.text);
|
|
557
|
+
itemDiv.on("click", () => opt.callback(itemDiv));
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
/* The interactive table only holds the most-significant maxInteractiveDots rows, because the
|
|
561
|
+
dot overlay has to stay responsive. The download has no such constraint, so it should be the
|
|
562
|
+
COMPLETE set of significant rows: when the two differ, re-request with the cap lifted and write
|
|
563
|
+
those rows instead.
|
|
564
|
+
|
|
565
|
+
That second request is cheap. volcanoRender is deliberately not part of the DA cache key (see
|
|
566
|
+
dmKeyInputs in server/routes/termdb.diffMeth.ts), so lifting the cap re-uses the cached R result
|
|
567
|
+
and pays only for a re-render.
|
|
568
|
+
|
|
569
|
+
If the re-request fails the download still happens, with the capped rows and a note saying so --
|
|
570
|
+
losing the file entirely would be a worse outcome than a disclosed subset. */
|
|
571
|
+
async downloadPvalueTable(termType, itemDiv) {
|
|
572
|
+
const date = fileDateStamp();
|
|
573
|
+
const label = termType === PROTEOME_DAP ? "fdr" : "p-value";
|
|
574
|
+
let { rows, columns } = this.pValueTableData;
|
|
575
|
+
let subsetNote;
|
|
576
|
+
const cappedNote = (reason) => `Top ${rows.length.toLocaleString()} of ${this.totalSignificantRows.toLocaleString()} significant results, selected by adjusted p-value and sorted by fold-change. This file is not the complete result set (${reason}).`;
|
|
577
|
+
if (this.totalSignificantRows > rows.length) {
|
|
578
|
+
if (!this.fetchAllRows) subsetNote = cappedNote("complete set unavailable");
|
|
579
|
+
else {
|
|
580
|
+
const restore = itemDiv?.text();
|
|
581
|
+
itemDiv?.text(`Preparing ${this.totalSignificantRows.toLocaleString()} rows...`);
|
|
582
|
+
try {
|
|
583
|
+
const full = await this.fetchAllRows();
|
|
584
|
+
rows = full.rows;
|
|
585
|
+
columns = full.columns;
|
|
586
|
+
} catch (e) {
|
|
587
|
+
subsetNote = cappedNote(`could not retrieve the complete set: ${e?.message || e}`);
|
|
588
|
+
} finally {
|
|
589
|
+
if (restore) itemDiv?.text(restore);
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
const note = [subsetNote, this.provenance && `Run: ${this.provenance}`].filter(Boolean).join(" | ");
|
|
594
|
+
downloadTable(rows, columns, `${label}-table-${date}.tsv`, note || void 0);
|
|
595
|
+
}
|
|
596
|
+
async highlightDataPoint(value) {
|
|
597
|
+
const config = this.app.getState().plots.find((p) => p.id === this.id);
|
|
598
|
+
const highlightedData = config.highlightedData.includes(value) ? config.highlightedData.filter((d) => d !== value) : [...config.highlightedData, value];
|
|
599
|
+
await this.app.dispatch({
|
|
600
|
+
type: "plot_edit",
|
|
601
|
+
id: this.id,
|
|
602
|
+
config: { highlightedData }
|
|
603
|
+
});
|
|
604
|
+
}
|
|
605
|
+
/** When clicking on a data point, launches the box plot in a separate sandbox
|
|
606
|
+
* For geneExpression, value == gene symbol */
|
|
607
|
+
launchBoxPlot(value) {
|
|
608
|
+
const config = this.app.getState().plots.find((p) => p.id === this.id);
|
|
609
|
+
const values = {};
|
|
610
|
+
for (const group of config.samplelst.groups) {
|
|
611
|
+
values[group.name] = {
|
|
612
|
+
key: group.name,
|
|
613
|
+
label: group.name,
|
|
614
|
+
list: group.values
|
|
615
|
+
};
|
|
616
|
+
}
|
|
617
|
+
const setTerm = () => {
|
|
618
|
+
if (config.termType == GENE_EXPRESSION) {
|
|
619
|
+
return {
|
|
620
|
+
q: { mode: "continuous" },
|
|
621
|
+
term: {
|
|
622
|
+
gene: value,
|
|
623
|
+
name: value,
|
|
624
|
+
type: config.termType
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
} else return config.term;
|
|
628
|
+
};
|
|
629
|
+
this.app.dispatch({
|
|
630
|
+
type: "plot_create",
|
|
631
|
+
config: {
|
|
632
|
+
chartType: "summary",
|
|
633
|
+
childType: "boxplot",
|
|
634
|
+
term: setTerm(),
|
|
635
|
+
term2: {
|
|
636
|
+
q: { groups: config.tw.q.groups, type: "custom-samplelst" },
|
|
637
|
+
term: config.tw.term
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
/** Launch a violin plot for a gene expression data point. */
|
|
643
|
+
launchViolinGeneExp(value) {
|
|
644
|
+
const config = this.app.getState().plots.find((p) => p.id === this.id);
|
|
645
|
+
this.app.dispatch({
|
|
646
|
+
type: "plot_create",
|
|
647
|
+
config: {
|
|
648
|
+
chartType: "summary",
|
|
649
|
+
childType: "violin",
|
|
650
|
+
term: {
|
|
651
|
+
q: { mode: "continuous" },
|
|
652
|
+
term: {
|
|
653
|
+
gene: value,
|
|
654
|
+
name: value,
|
|
655
|
+
type: config.termType
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
term2: {
|
|
659
|
+
q: { groups: config.tw.q.groups, type: "custom-samplelst" },
|
|
660
|
+
term: config.tw.term
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
launchGeneSetEdit() {
|
|
666
|
+
const plotConfig = this.app.getState().plots.find((p) => p.id === this.id);
|
|
667
|
+
const holder = this.dom.actionsTip.d.append("div").style("padding", "5px");
|
|
668
|
+
const limitedGenesList = plotConfig.termType === DNA_METHYLATION ? this.data.map((d) => d.promoter_id) : this.data.map((d) => d.gene_name);
|
|
669
|
+
new GeneSetEditUI({
|
|
670
|
+
holder,
|
|
671
|
+
genome: this.app.opts.genome,
|
|
672
|
+
vocabApi: this.app.vocabApi,
|
|
673
|
+
limitedGenesList,
|
|
674
|
+
geneList: plotConfig.highlightedData.map((d) => {
|
|
675
|
+
return { gene: d };
|
|
676
|
+
}),
|
|
677
|
+
customInputs: [
|
|
678
|
+
{
|
|
679
|
+
label: "Cancel highlight",
|
|
680
|
+
getDisplayStyle: () => plotConfig.highlightedData.length > 0 ? "" : "none",
|
|
681
|
+
showInput: async () => {
|
|
682
|
+
await this.app.dispatch({
|
|
683
|
+
type: "plot_edit",
|
|
684
|
+
id: this.id,
|
|
685
|
+
config: { highlightedData: [] }
|
|
686
|
+
});
|
|
687
|
+
this.dom.actionsTip.hide();
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
callback: async (result) => {
|
|
692
|
+
const highlightedData = result.geneList.map((d) => d.gene);
|
|
693
|
+
await this.app.dispatch({
|
|
694
|
+
type: "plot_edit",
|
|
695
|
+
id: this.id,
|
|
696
|
+
config: { highlightedData }
|
|
697
|
+
});
|
|
698
|
+
this.dom.actionsTip.hide();
|
|
699
|
+
}
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
/** When clicking on a DM data point, dispatches a DMR plot that runs DMRCate
|
|
703
|
+
* analysis and renders a genome browser Block with DMR regions on their own
|
|
704
|
+
* track. */
|
|
705
|
+
async launchDmr(d) {
|
|
706
|
+
const config = this.app.getState().plots.find((p) => p.id === this.id);
|
|
707
|
+
const controlColor = config?.tw?.term?.values?.[config?.samplelst?.groups[0].name]?.color || "#ff0000";
|
|
708
|
+
const caseColor = config?.tw?.term?.values?.[config?.samplelst?.groups[1].name]?.color || "#0000ff";
|
|
709
|
+
const label = d.promoterId || `${d.chr}:${d.start}-${d.stop}`;
|
|
710
|
+
const dmrConfig = {
|
|
711
|
+
chartType: "dmr",
|
|
712
|
+
headerText: `DMR: ${label}`,
|
|
713
|
+
coordinateOverride: { chr: d.chr, start: d.start, stop: d.stop },
|
|
714
|
+
group1: config.samplelst.groups[0].values || [],
|
|
715
|
+
group2: config.samplelst.groups[1].values || [],
|
|
716
|
+
group1Name: config.samplelst.groups[0].name,
|
|
717
|
+
group2Name: config.samplelst.groups[1].name,
|
|
718
|
+
settings: {
|
|
719
|
+
colors: { group1: controlColor, group2: caseColor }
|
|
720
|
+
}
|
|
721
|
+
};
|
|
722
|
+
this.app.dispatch({
|
|
723
|
+
type: "plot_create",
|
|
724
|
+
config: dmrConfig
|
|
725
|
+
});
|
|
726
|
+
}
|
|
727
|
+
/** Launch a violin/box plot for a DNA methylation promoter.
|
|
728
|
+
* Creates a methylation term using the promoter's chr/start/stop coordinates.
|
|
729
|
+
* The tw handler fills in id and unit from termdbConfig. */
|
|
730
|
+
launchDNAMethViolin(d) {
|
|
731
|
+
const config = this.app.getState().plots.find((p) => p.id === this.id);
|
|
732
|
+
const genomicFeatureType = d.promoter_id ? "promoter" : "gene";
|
|
733
|
+
const featureName = genomicFeatureType === "gene" ? d.gene_name?.split(",")[0]?.trim() || "" : "";
|
|
734
|
+
const term = {
|
|
735
|
+
genomicFeatureType,
|
|
736
|
+
featureName,
|
|
737
|
+
type: DNA_METHYLATION,
|
|
738
|
+
chr: d.chr,
|
|
739
|
+
start: d.start,
|
|
740
|
+
stop: d.stop
|
|
741
|
+
};
|
|
742
|
+
if (genomicFeatureType === "promoter") {
|
|
743
|
+
const noun = elementNoun(config?.settings?.volcano?.elementType).one;
|
|
744
|
+
const unit = getDNAMethUnit(genomicFeatureType, this.app.vocabApi);
|
|
745
|
+
term.unit = unit;
|
|
746
|
+
term.name = getDNAMethTermName(term, unit, noun);
|
|
747
|
+
}
|
|
748
|
+
this.app.dispatch({
|
|
749
|
+
type: "plot_create",
|
|
750
|
+
config: {
|
|
751
|
+
chartType: "summary",
|
|
752
|
+
childType: "violin",
|
|
753
|
+
term: {
|
|
754
|
+
q: { mode: "continuous" },
|
|
755
|
+
term
|
|
756
|
+
},
|
|
757
|
+
term2: {
|
|
758
|
+
q: { groups: config.tw.q.groups, type: "custom-samplelst" },
|
|
759
|
+
term: config.tw.term
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
async launchDEGClustering() {
|
|
765
|
+
const geneIndex = this.pValueTableData.columns.findIndex((col) => col.label === "Gene Name");
|
|
766
|
+
const adjustedPValIndex = this.pValueTableData.columns.findIndex((col) => col.label === "Adjusted p-value");
|
|
767
|
+
const rowsSorted = [...this.pValueTableData.rows].sort((a, b) => {
|
|
768
|
+
const aQVal = Number(a[adjustedPValIndex].value);
|
|
769
|
+
const bQVal = Number(b[adjustedPValIndex].value);
|
|
770
|
+
return aQVal - bQVal;
|
|
771
|
+
});
|
|
772
|
+
const geneList = rowsSorted.slice(0, 100).map((r) => ({ gene: r[geneIndex].value }));
|
|
773
|
+
const tws = geneList.map((d) => {
|
|
774
|
+
const gene = d.gene;
|
|
775
|
+
const unit = getGEunit(this.app.vocabApi);
|
|
776
|
+
const name = `${gene} ${unit}`;
|
|
777
|
+
const term = { gene, name, type: GENE_EXPRESSION };
|
|
778
|
+
return { term, q: {} };
|
|
779
|
+
});
|
|
780
|
+
const group = { lst: tws, type: "hierCluster" };
|
|
781
|
+
const customVariable = this.app.getState().plots.find((p) => p.id === this.id).tw;
|
|
782
|
+
const annotationGroup = { lst: [customVariable] };
|
|
783
|
+
const config = {
|
|
784
|
+
chartType: "hierCluster",
|
|
785
|
+
termgroups: [group, annotationGroup],
|
|
786
|
+
dataType: GENE_EXPRESSION,
|
|
787
|
+
filter: {
|
|
788
|
+
in: true,
|
|
789
|
+
join: "",
|
|
790
|
+
type: "tvslst",
|
|
791
|
+
lst: [{ type: "tvs", tvs: { term: customVariable.term } }]
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
await this.app.dispatch({
|
|
795
|
+
type: "plot_create",
|
|
796
|
+
config: structuredClone(config)
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
};
|
|
800
|
+
|
|
801
|
+
// plots/volcano/view/VolcanoPlotView.ts
|
|
802
|
+
var VolcanoPlotView = class {
|
|
803
|
+
constructor(dom, interactions, termType) {
|
|
804
|
+
this.dom = dom;
|
|
805
|
+
this.interactions = interactions;
|
|
806
|
+
this.termType = termType;
|
|
807
|
+
const actions = this.dom.holder.append("div").attr("id", "sjpp-volcano-actions").style("display", "block").style("z-index", 1).style("position", "relative");
|
|
808
|
+
const svg = this.dom.holder.append("svg").style("display", "inline-block").attr("id", "sjpp-volcano-svg").style("vertical-align", "top");
|
|
809
|
+
this.volcanoDom = {
|
|
810
|
+
actions,
|
|
811
|
+
svg,
|
|
812
|
+
pValueTable: void 0,
|
|
813
|
+
top: void 0,
|
|
814
|
+
xAxis: void 0,
|
|
815
|
+
xAxisLabel: void 0,
|
|
816
|
+
yAxis: void 0,
|
|
817
|
+
yAxisLabel: void 0,
|
|
818
|
+
plot: void 0
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
render(settings, viewData) {
|
|
822
|
+
this.settings = settings;
|
|
823
|
+
this.viewData = viewData;
|
|
824
|
+
const plotDim = this.viewData.plotDim;
|
|
825
|
+
this.initDom();
|
|
826
|
+
this.renderUserActions();
|
|
827
|
+
this.renderPlot(plotDim);
|
|
828
|
+
renderDataPoints(this);
|
|
829
|
+
this.renderFoldChangeLine(plotDim);
|
|
830
|
+
this.attachInteractions(plotDim);
|
|
831
|
+
if (this.settings.showPValueTable) this.renderPValueTable();
|
|
832
|
+
}
|
|
833
|
+
initDom() {
|
|
834
|
+
this.volcanoDom.actions.selectAll("*").remove();
|
|
835
|
+
this.volcanoDom.svg.selectAll("*").remove();
|
|
836
|
+
const svg = this.volcanoDom.svg;
|
|
837
|
+
this.volcanoDom.top = svg.append("g").attr("id", "sjpp-volcano-top");
|
|
838
|
+
this.volcanoDom.xAxis = svg.append("g").attr("id", "sjpp-volcano-xAxis");
|
|
839
|
+
this.volcanoDom.yAxis = svg.append("g").attr("id", "sjpp-volcano-yAxis");
|
|
840
|
+
this.volcanoDom.xAxisLabel = svg.append("text").attr("id", "sjpp-volcano-xAxisLabel").attr("text-anchor", "middle");
|
|
841
|
+
this.volcanoDom.yAxisLabel = svg.append("text").attr("id", "sjpp-volcano-yAxisLabel").attr("text-anchor", "middle");
|
|
842
|
+
this.volcanoDom.plot = svg.append("g").attr("id", "sjpp-volcano-plot");
|
|
843
|
+
this.dom.holder.select("#sjpp-volcano-pValueTable").remove();
|
|
844
|
+
if (!this.settings.showPValueTable) return;
|
|
845
|
+
this.volcanoDom.pValueTable = this.dom.holder.append("div").attr("id", "sjpp-volcano-pValueTable").attr("data-testid", "sjpp-volcano-pValueTable").style("display", "inline-block").style("vertical-align", "top");
|
|
846
|
+
}
|
|
847
|
+
renderUserActions() {
|
|
848
|
+
this.dom.actionsTip.d.style("overflow", "hidden");
|
|
849
|
+
this.volcanoDom.actions.style("margin-left", "20px").style("padding", "5px");
|
|
850
|
+
this.addActionButton(
|
|
851
|
+
"Confounding factors",
|
|
852
|
+
[DATermTypes.GENE_EXPRESSION, DATermTypes.DNA_METHYLATION],
|
|
853
|
+
() => this.interactions.confoundersMenu()
|
|
854
|
+
);
|
|
855
|
+
this.addActionButton(
|
|
856
|
+
"Highlight genes",
|
|
857
|
+
[DATermTypes.GENE_EXPRESSION, DATermTypes.SINGLECELL_CELLTYPE, DATermTypes.DNA_METHYLATION],
|
|
858
|
+
() => this.interactions.launchGeneSetEdit()
|
|
859
|
+
);
|
|
860
|
+
this.addActionButton(
|
|
861
|
+
"Statistics",
|
|
862
|
+
[DATermTypes.GENE_EXPRESSION, DATermTypes.SINGLECELL_CELLTYPE, DATermTypes.DNA_METHYLATION],
|
|
863
|
+
() => {
|
|
864
|
+
this.renderStatsMenu();
|
|
865
|
+
},
|
|
866
|
+
{ whenOpen: "Hide statistics" }
|
|
867
|
+
);
|
|
868
|
+
const dmNoun = elementNoun(this.settings?.elementType);
|
|
869
|
+
const sigLabel = this.termType == DATermTypes.DNA_METHYLATION ? `Number of significant ${dmNoun.many}` : "Number of significant genes";
|
|
870
|
+
const numSigGenes = this.viewData.statsData.find((d) => d.label == sigLabel)?.value;
|
|
871
|
+
if (numSigGenes) {
|
|
872
|
+
const n = numSigGenes.toLocaleString();
|
|
873
|
+
const sigText = this.termType == DATermTypes.DNA_METHYLATION ? `${n} DM ${dmNoun.many}:` : `${n} DE genes:`;
|
|
874
|
+
this.volcanoDom.actions.append("span").text(sigText).style("margin-left", "10px").style("font-weight", "bold");
|
|
875
|
+
const pValueTableButtonText = this.settings.showPValueTable ? "Hide p-value table" : "Show p-value table";
|
|
876
|
+
this.addActionButton(
|
|
877
|
+
pValueTableButtonText,
|
|
878
|
+
[DATermTypes.GENE_EXPRESSION, DATermTypes.SINGLECELL_CELLTYPE, DATermTypes.DNA_METHYLATION],
|
|
879
|
+
async () => {
|
|
880
|
+
const showTable = !this.settings.showPValueTable;
|
|
881
|
+
await this.interactions.app.dispatch({
|
|
882
|
+
type: "plot_edit",
|
|
883
|
+
id: this.interactions.id,
|
|
884
|
+
config: { settings: { volcano: { showPValueTable: showTable } } }
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
);
|
|
888
|
+
}
|
|
889
|
+
if (numSigGenes && numSigGenes >= 3) {
|
|
890
|
+
this.addActionButton(
|
|
891
|
+
`Hierarchical clustering of ${numSigGenes > 100 ? "top 100" : numSigGenes} DE genes`,
|
|
892
|
+
[DATermTypes.GENE_EXPRESSION],
|
|
893
|
+
async () => {
|
|
894
|
+
await this.interactions.launchDEGClustering();
|
|
895
|
+
}
|
|
896
|
+
);
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
/** Use the termTypes arr to render the buttons in a consistent order.
|
|
900
|
+
*
|
|
901
|
+
* Pass `opts.whenOpen` to make the button a toggle: clicking once opens
|
|
902
|
+
* the actionsTip with the callback's content and swaps the button text
|
|
903
|
+
* to `whenOpen` ("Hide statistics", etc.); clicking again hides the tip
|
|
904
|
+
* and restores the original text. The text also restores when the tip
|
|
905
|
+
* closes via Esc or outside-click (Menu.onHide hook), and when another
|
|
906
|
+
* action button hijacks the tip (the loop below resets all toggles
|
|
907
|
+
* before showing the new content). */
|
|
908
|
+
addActionButton(text, termTypes, callback, opts) {
|
|
909
|
+
if (this.viewData.userActions.noShow.has(text)) return;
|
|
910
|
+
if (!termTypes.includes(this.termType)) return;
|
|
911
|
+
const button = this.volcanoDom.actions.append("button").attr("class", "sja_menuoption").style("margin", "3px").style("padding", "3px").text(text).on("click", async () => {
|
|
912
|
+
const whenOpen = opts?.whenOpen;
|
|
913
|
+
if (whenOpen && button.text() === whenOpen) {
|
|
914
|
+
this.dom.actionsTip.hide();
|
|
915
|
+
return;
|
|
916
|
+
}
|
|
917
|
+
this.volcanoDom.actions.selectAll('button[data-volcano-toggle-open="1"]').each(function() {
|
|
918
|
+
const b = select_default(this);
|
|
919
|
+
const closed = b.attr("data-volcano-toggle-closed");
|
|
920
|
+
if (closed) b.text(closed).attr("data-volcano-toggle-open", null);
|
|
921
|
+
this.parent_menu = void 0;
|
|
922
|
+
const eh = this.__volcanoEscHandler;
|
|
923
|
+
if (eh) {
|
|
924
|
+
document.removeEventListener("keydown", eh);
|
|
925
|
+
this.__volcanoEscHandler = void 0;
|
|
926
|
+
}
|
|
927
|
+
});
|
|
928
|
+
this.dom.actionsTip.clear().showunder(button.node());
|
|
929
|
+
if (whenOpen) {
|
|
930
|
+
button.text(whenOpen).attr("data-volcano-toggle-open", "1").attr("data-volcano-toggle-closed", text);
|
|
931
|
+
button.node().parent_menu = this.dom.actionsTip.dnode;
|
|
932
|
+
const escHandler = (e) => {
|
|
933
|
+
if (e.key === "Escape") this.dom.actionsTip.hide();
|
|
934
|
+
};
|
|
935
|
+
document.addEventListener("keydown", escHandler);
|
|
936
|
+
button.node().__volcanoEscHandler = escHandler;
|
|
937
|
+
this.dom.actionsTip.onHide = () => {
|
|
938
|
+
button.text(text).attr("data-volcano-toggle-open", null);
|
|
939
|
+
button.node().parent_menu = void 0;
|
|
940
|
+
document.removeEventListener("keydown", escHandler);
|
|
941
|
+
button.node().__volcanoEscHandler = void 0;
|
|
942
|
+
};
|
|
943
|
+
} else {
|
|
944
|
+
this.dom.actionsTip.onHide = void 0;
|
|
945
|
+
}
|
|
946
|
+
await callback();
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
renderPlot(plotDim) {
|
|
950
|
+
this.volcanoDom.svg.attr("width", plotDim.svg.width).attr("height", plotDim.svg.height);
|
|
951
|
+
this.renderTermInfo(plotDim);
|
|
952
|
+
this.volcanoDom.yAxisLabel.attr(
|
|
953
|
+
"transform",
|
|
954
|
+
`translate(${plotDim.yAxisLabel.x}, ${plotDim.yAxisLabel.y}) rotate(-90)`
|
|
955
|
+
);
|
|
956
|
+
this.setSvgSubscriptLabel(
|
|
957
|
+
this.volcanoDom.yAxisLabel,
|
|
958
|
+
"-log",
|
|
959
|
+
"10",
|
|
960
|
+
this.termType === DATermTypes.PROTEOME_DAP ? "(FDR)" : `(${this.settings.pValueType} p-value)`
|
|
961
|
+
);
|
|
962
|
+
this.volcanoDom.xAxisLabel.attr("transform", `translate(${plotDim.xAxisLabel.x}, ${plotDim.xAxisLabel.y})`);
|
|
963
|
+
if (this.termType === DATermTypes.DNA_METHYLATION && this.settings.xAxis === "delta_beta") {
|
|
964
|
+
this.volcanoDom.xAxisLabel.selectAll("*").remove();
|
|
965
|
+
this.volcanoDom.xAxisLabel.text(this.viewData.deltaBetaAxisLabel || "\u0394\u03B2 (case \u2212 control)");
|
|
966
|
+
} else {
|
|
967
|
+
this.volcanoDom.xAxisLabel.text(null);
|
|
968
|
+
this.setSvgSubscriptLabel(this.volcanoDom.xAxisLabel, "log", "2", "(fold-change)");
|
|
969
|
+
}
|
|
970
|
+
this.renderScale(plotDim.xScale);
|
|
971
|
+
this.renderScale(plotDim.yScale, true);
|
|
972
|
+
if (this.viewData.volcanoPng) {
|
|
973
|
+
this.volcanoDom.plot.append("image").attr("href", `data:image/png;base64,${this.viewData.volcanoPng}`).attr("x", plotDim.plot.x).attr("y", plotDim.plot.y).attr("width", plotDim.plot.width).attr("height", plotDim.plot.height).attr("preserveAspectRatio", "none");
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
renderTermInfo(plotDim) {
|
|
977
|
+
if (this.viewData.termInfo == void 0) return;
|
|
978
|
+
this.volcanoDom.top.attr("transform", `translate(${plotDim.top.x}, ${plotDim.top.y})`);
|
|
979
|
+
const y = this.viewData.termInfo.y;
|
|
980
|
+
const addLabel = (term) => {
|
|
981
|
+
return this.volcanoDom.top.append("text").attr("font-size", "0.9em").attr("transform", `translate(${term.x}, ${y + 10})`).text(term.label);
|
|
982
|
+
};
|
|
983
|
+
const firstTerm = this.viewData.termInfo.first;
|
|
984
|
+
addLabel(firstTerm);
|
|
985
|
+
const secondTerm = this.viewData.termInfo.second;
|
|
986
|
+
const secondLabel = addLabel(secondTerm);
|
|
987
|
+
secondLabel.attr("text-anchor", "end");
|
|
988
|
+
}
|
|
989
|
+
renderScale(scale, isLeft = false) {
|
|
990
|
+
const scaleG = this.volcanoDom[isLeft ? "yAxis" : "xAxis"].append("g").attr("transform", `translate(${scale.x}, ${scale.y})`).call(isLeft ? axisLeft(scale.scale) : axisBottom(scale.scale));
|
|
991
|
+
axisstyle({
|
|
992
|
+
axis: scaleG,
|
|
993
|
+
color: "black",
|
|
994
|
+
showline: true
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
renderFoldChangeLine(plotDim) {
|
|
998
|
+
this.volcanoDom.plot.append("line").attr("stroke", "#ccc").attr("shape-rendering", "crispEdges").attr("x1", plotDim.logFoldChangeLine.x).attr("x2", plotDim.logFoldChangeLine.x).attr("y1", plotDim.logFoldChangeLine.y1).attr("y2", plotDim.logFoldChangeLine.y2);
|
|
999
|
+
}
|
|
1000
|
+
renderStatsMenu() {
|
|
1001
|
+
for (const img of this.viewData.images || []) {
|
|
1002
|
+
this.dom.actionsTip.d.append("img").style("display", "inline-block").style("margin-left", "10px").style("margin-top", "-30px").attr("width", 450).attr("height", 450).attr("src", img.src);
|
|
1003
|
+
}
|
|
1004
|
+
const tableHolder = this.dom.actionsTip.d.append("div").style("display", this.viewData.images.length == 1 ? "inline-block" : "block").style("margin", `${this.viewData.images.length == 1 ? `40px 10px` : `0px 0px`} 0px 5px`).style("vertical-align", "top");
|
|
1005
|
+
const table = table2col({ holder: tableHolder });
|
|
1006
|
+
for (const d of this.viewData.statsData) {
|
|
1007
|
+
const [td1, td2] = table.addRow();
|
|
1008
|
+
td1.text(d.label);
|
|
1009
|
+
td2.style("text-align", "end").text(Number.isInteger(d.value) ? d.value.toLocaleString() : d.value);
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
renderPValueTable() {
|
|
1013
|
+
if (!this.settings.showPValueTable) return;
|
|
1014
|
+
const maxTableRows = 5e3;
|
|
1015
|
+
const allRows = this.viewData.pValueTableData.rows;
|
|
1016
|
+
const rows = allRows.length > maxTableRows ? allRows.slice(0, maxTableRows) : allRows;
|
|
1017
|
+
if (allRows.length > maxTableRows) {
|
|
1018
|
+
this.volcanoDom.pValueTable.append("div").style("padding", "5px 10px").style("font-size", ".8em").style("color", "#666").text(
|
|
1019
|
+
`Showing top ${maxTableRows.toLocaleString()} of ${allRows.length.toLocaleString()} significant results (sorted by fold-change)`
|
|
1020
|
+
);
|
|
1021
|
+
}
|
|
1022
|
+
renderTable({
|
|
1023
|
+
columns: this.viewData.pValueTableData.columns,
|
|
1024
|
+
rows,
|
|
1025
|
+
div: this.volcanoDom.pValueTable,
|
|
1026
|
+
showLines: true,
|
|
1027
|
+
maxHeight: `${this.viewData.pValueTableData.height}px`,
|
|
1028
|
+
resize: true,
|
|
1029
|
+
header: { allowSort: true },
|
|
1030
|
+
noRadioBtn: true,
|
|
1031
|
+
noButtonCallback: (i) => {
|
|
1032
|
+
const key = this.viewData.pValueTableData.rowKeys.get(rows[i]);
|
|
1033
|
+
if (!key) return;
|
|
1034
|
+
this.interactions.highlightDataPoint(key);
|
|
1035
|
+
},
|
|
1036
|
+
hoverEffects: (tr, row) => {
|
|
1037
|
+
const circles = this.volcanoDom.plot.selectAll("circle").nodes();
|
|
1038
|
+
const key = this.viewData.pValueTableData.rowKeys.get(row);
|
|
1039
|
+
const dataKey = this.termType === DATermTypes.DNA_METHYLATION ? "promoter_id" : "gene_name";
|
|
1040
|
+
const circle = circles.find((d) => d.__data__[dataKey] == key);
|
|
1041
|
+
if (!circle || circle.__data__.highlighted) return;
|
|
1042
|
+
let clone;
|
|
1043
|
+
tr.on("mouseover", () => {
|
|
1044
|
+
if (circle.__data__.highlighted || clone) return;
|
|
1045
|
+
clone = this.volcanoDom.plot.node()?.appendChild(circle.cloneNode(true));
|
|
1046
|
+
clone.setAttribute("fill-opacity", 0.9);
|
|
1047
|
+
});
|
|
1048
|
+
tr.on("mouseleave", () => {
|
|
1049
|
+
if (!clone) return;
|
|
1050
|
+
clone.remove();
|
|
1051
|
+
clone = null;
|
|
1052
|
+
});
|
|
1053
|
+
this.volcanoDom.pValueTable.on("mouseover", () => {
|
|
1054
|
+
selectAll_default(circles).attr("stroke-opacity", 0.075);
|
|
1055
|
+
});
|
|
1056
|
+
this.volcanoDom.pValueTable.on("mouseleave", () => {
|
|
1057
|
+
selectAll_default(circles).attr("stroke-opacity", (d) => d.significant ? 0.35 : 0.2);
|
|
1058
|
+
});
|
|
1059
|
+
}
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
setSvgSubscriptLabel(textElem, prefix, subscript, suffix) {
|
|
1063
|
+
textElem.text(null);
|
|
1064
|
+
textElem.append("tspan").text(prefix);
|
|
1065
|
+
textElem.append("tspan").attr("baseline-shift", "sub").attr("font-size", "0.7em").text(subscript);
|
|
1066
|
+
textElem.append("tspan").text(suffix);
|
|
1067
|
+
}
|
|
1068
|
+
attachInteractions(plotDim) {
|
|
1069
|
+
const points = this.viewData.pointData;
|
|
1070
|
+
if (!points || points.length === 0) return;
|
|
1071
|
+
const dotRadiusPx = this.viewData.plotExtent.dotRadiusPx;
|
|
1072
|
+
const hitRadius = dotRadiusPx + 3;
|
|
1073
|
+
const highlightRadius = Math.max(0.5, dotRadiusPx - 0.5);
|
|
1074
|
+
const highlightColor = this.settings.defaultHighlightColor;
|
|
1075
|
+
const hoverLayer = this.volcanoDom.plot.append("g").attr("id", "sjpp-volcano-hover").style("pointer-events", "none");
|
|
1076
|
+
const cover = this.volcanoDom.plot.append("rect").attr("id", "sjpp-volcano-cover").attr("x", plotDim.plot.x).attr("y", plotDim.plot.y).attr("width", plotDim.plot.width).attr("height", plotDim.plot.height).attr("fill", "transparent").style("pointer-events", "all").style("cursor", "default");
|
|
1077
|
+
const circlePath = (r) => `M${r},0 A${r},${r} 0 1,1 ${-r},0 A${r},${r} 0 1,1 ${r},0 Z`;
|
|
1078
|
+
new DataPointInteractions({
|
|
1079
|
+
cover,
|
|
1080
|
+
hoverLayer,
|
|
1081
|
+
hoverTip: this.dom.tip,
|
|
1082
|
+
points,
|
|
1083
|
+
// Quadtree in cover-local space — d.x/d.y are SVG-absolute, so subtract
|
|
1084
|
+
// the plot rect's origin once when building the tree.
|
|
1085
|
+
getX: (d) => d.x - plotDim.plot.x,
|
|
1086
|
+
getY: (d) => d.y - plotDim.plot.y,
|
|
1087
|
+
hitRadius,
|
|
1088
|
+
toHoverSpec: (d) => ({
|
|
1089
|
+
path: circlePath(highlightRadius),
|
|
1090
|
+
// Hover layer lives in the same coord space as the dots (SVG-absolute),
|
|
1091
|
+
// so translate by d.x/d.y — NOT the cover-local pair.
|
|
1092
|
+
transform: `translate(${d.x},${d.y})`,
|
|
1093
|
+
fill: highlightColor,
|
|
1094
|
+
fillOpacity: 0.9,
|
|
1095
|
+
stroke: "none"
|
|
1096
|
+
}),
|
|
1097
|
+
maxTooltipRows: this.settings.maxTooltipGenes,
|
|
1098
|
+
itemNoun: "gene",
|
|
1099
|
+
renderSingleHoverTooltip: (d, container) => {
|
|
1100
|
+
const table = table2col({ holder: container.append("table") });
|
|
1101
|
+
this.addTooltipRows(d, table);
|
|
1102
|
+
},
|
|
1103
|
+
buildMultiHitTableData: (dots) => this.buildMultiHitTable(dots),
|
|
1104
|
+
getActions: (d) => this.getActionMenuOpts(d),
|
|
1105
|
+
renderSingleHitInfo: (d, container) => {
|
|
1106
|
+
const tbl = table2col({ holder: container.append("table") });
|
|
1107
|
+
this.addTooltipRows(d, tbl);
|
|
1108
|
+
},
|
|
1109
|
+
getRowKey: (d) => d.gene_name
|
|
1110
|
+
}).attach();
|
|
1111
|
+
}
|
|
1112
|
+
/** Whether the effect size on show is delta-beta rather than log2 fold-change. Methylation
|
|
1113
|
+
* fold-change is a difference of logits: it ranks elements correctly but says nothing about
|
|
1114
|
+
* how much methylation moved, so it must not be what a reader is handed next to a delta-beta
|
|
1115
|
+
* axis. Read by both hover paths -- the single-point tooltip and the multi-point table -- so
|
|
1116
|
+
* the two cannot disagree about which number they show. */
|
|
1117
|
+
get onDeltaBeta() {
|
|
1118
|
+
return this.termType === DATermTypes.DNA_METHYLATION && this.settings.xAxis === "delta_beta";
|
|
1119
|
+
}
|
|
1120
|
+
buildMultiHitTable(dots) {
|
|
1121
|
+
const isDM = this.termType === DATermTypes.DNA_METHYLATION;
|
|
1122
|
+
const isDAP = this.termType === DATermTypes.PROTEOME_DAP;
|
|
1123
|
+
const effectLabel = this.onDeltaBeta ? "\u0394\u03B2" : "log\u2082(FC)";
|
|
1124
|
+
const pValueType = this.settings.pValueType;
|
|
1125
|
+
const pLabel = isDAP ? "FDR" : `${pValueType.charAt(0).toUpperCase()}${pValueType.slice(1)} p-value`;
|
|
1126
|
+
const pField = isDAP ? "original_p_value" : `${pValueType}_p_value`;
|
|
1127
|
+
const columns = isDM ? [
|
|
1128
|
+
{ label: elementNoun(this.settings?.elementType).one },
|
|
1129
|
+
{ label: "Gene(s)" },
|
|
1130
|
+
{ label: effectLabel, sortable: true },
|
|
1131
|
+
{ label: pLabel, sortable: true }
|
|
1132
|
+
] : isDAP ? [
|
|
1133
|
+
{ label: "Identifier" },
|
|
1134
|
+
{ label: "Gene" },
|
|
1135
|
+
{ label: effectLabel, sortable: true },
|
|
1136
|
+
{ label: pLabel, sortable: true }
|
|
1137
|
+
] : [{ label: "Gene" }, { label: effectLabel, sortable: true }, { label: pLabel, sortable: true }];
|
|
1138
|
+
const rows = dots.map((d) => {
|
|
1139
|
+
const fc = { value: roundValueAuto(this.onDeltaBeta ? d.delta_beta : d.fold_change) };
|
|
1140
|
+
const pval = { value: roundValueAuto(d[pField]) };
|
|
1141
|
+
if (isDM) {
|
|
1142
|
+
return [{ value: formatPromoterLabel(d) }, { value: d.gene_name || "" }, fc, pval];
|
|
1143
|
+
}
|
|
1144
|
+
if (isDAP) {
|
|
1145
|
+
return [{ value: d.gene_name || "" }, { value: d.gene || "" }, fc, pval];
|
|
1146
|
+
}
|
|
1147
|
+
return [{ value: d.gene_name || "" }, fc, pval];
|
|
1148
|
+
});
|
|
1149
|
+
return { columns, rows };
|
|
1150
|
+
}
|
|
1151
|
+
/** Per-data-point action menu items (Violin / DMR / Box-plot). Used by
|
|
1152
|
+
* both the single-gene click flow and the multi-gene click-menu rows so
|
|
1153
|
+
* the launchers stay in lock-step. */
|
|
1154
|
+
getActionMenuOpts(d) {
|
|
1155
|
+
const termType = this.termType;
|
|
1156
|
+
const interactions = this.interactions;
|
|
1157
|
+
const all = [
|
|
1158
|
+
{
|
|
1159
|
+
label: "Violin plot",
|
|
1160
|
+
isVisible: () => termType === DATermTypes.DNA_METHYLATION || termType === DATermTypes.GENE_EXPRESSION,
|
|
1161
|
+
onClick: async () => {
|
|
1162
|
+
if (termType === DATermTypes.DNA_METHYLATION) interactions.launchDNAMethViolin(d);
|
|
1163
|
+
if (termType === DATermTypes.GENE_EXPRESSION) interactions.launchViolinGeneExp(d.gene_name);
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
label: "DMR analysis",
|
|
1168
|
+
isVisible: () => termType === DATermTypes.DNA_METHYLATION,
|
|
1169
|
+
onClick: async () => {
|
|
1170
|
+
const dm = d;
|
|
1171
|
+
await interactions.launchDmr({
|
|
1172
|
+
chr: dm.chr,
|
|
1173
|
+
start: dm.start,
|
|
1174
|
+
stop: dm.stop,
|
|
1175
|
+
promoterId: dm.promoter_id
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
label: "Box plot",
|
|
1181
|
+
isVisible: () => termType === DATermTypes.GENE_EXPRESSION,
|
|
1182
|
+
onClick: async () => {
|
|
1183
|
+
interactions.launchBoxPlot(d.gene_name);
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
];
|
|
1187
|
+
return all.filter((o) => o.isVisible()).map(({ label, onClick }) => ({ label, onClick }));
|
|
1188
|
+
}
|
|
1189
|
+
/** Populates a `table2col` instance with the standard volcano hover rows
|
|
1190
|
+
* (gene/promoter, fold-change, original + adjusted p-values). */
|
|
1191
|
+
addTooltipRows(d, table) {
|
|
1192
|
+
if (this.termType === DATermTypes.DNA_METHYLATION) {
|
|
1193
|
+
if ("promoter_id" in d)
|
|
1194
|
+
addTooltipRow(table, elementNoun(this.settings?.elementType).one, formatPromoterLabel(d));
|
|
1195
|
+
if (d.gene_name) addTooltipRow(table, "Gene(s)", d.gene_name);
|
|
1196
|
+
} else if (this.termType === DATermTypes.PROTEOME_DAP) {
|
|
1197
|
+
addTooltipRow(table, "Identifier", d.gene_name);
|
|
1198
|
+
if ("gene" in d) addTooltipRow(table, "Gene", d.gene);
|
|
1199
|
+
} else {
|
|
1200
|
+
addTooltipRow(table, "Gene name", d.gene_name);
|
|
1201
|
+
}
|
|
1202
|
+
if (this.onDeltaBeta) {
|
|
1203
|
+
addTooltipRow(table, "\u0394\u03B2", roundValueAuto(d.delta_beta));
|
|
1204
|
+
} else {
|
|
1205
|
+
addTooltipRow(table, "log<sub>2</sub>(fold-change)", roundValueAuto(d.fold_change));
|
|
1206
|
+
}
|
|
1207
|
+
if (this.termType === DATermTypes.PROTEOME_DAP) {
|
|
1208
|
+
addTooltipRow(table, "FDR", roundValueAuto(d.original_p_value));
|
|
1209
|
+
} else {
|
|
1210
|
+
addTooltipRow(table, "Original p-value", roundValueAuto(d.original_p_value));
|
|
1211
|
+
if (d.adjusted_p_value != void 0) addTooltipRow(table, "Adjusted p-value", roundValueAuto(d.adjusted_p_value));
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
};
|
|
1215
|
+
function addTooltipRow(table, text, value) {
|
|
1216
|
+
const [td1, td2] = table.addRow();
|
|
1217
|
+
td1.html(text);
|
|
1218
|
+
td2.text(value);
|
|
1219
|
+
}
|
|
1220
|
+
function renderDataPoints(self) {
|
|
1221
|
+
self.volcanoDom.plot.selectAll("circle").data(self.viewData.pointData).enter().append("circle").attr("stroke", (d) => rgb(d.color).formatHex()).attr("stroke-opacity", (d) => d.significant ? 0.35 : 0.2).attr("stroke-width", 1).attr("fill", self.settings.defaultHighlightColor).attr("fill-opacity", (d) => d.highlighted ? 0.9 : 0).attr("cx", (d) => d.x).attr("cy", (d) => d.y).attr("r", (d) => d.radius).style("pointer-events", "none");
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
// plots/volcano/VolcanoControlInputs.ts
|
|
1225
|
+
var VolcanoControlInputs = class {
|
|
1226
|
+
constructor(config, termType, elementTypes) {
|
|
1227
|
+
this.config = config;
|
|
1228
|
+
if (this.config.termType == GENE_EXPRESSION) this.sampleNum = getSampleNum(config);
|
|
1229
|
+
this.termType = termType;
|
|
1230
|
+
this.elementTypes = elementTypes || [];
|
|
1231
|
+
this.inputs = [
|
|
1232
|
+
{
|
|
1233
|
+
// DAP volcanoes threshold a single FDR (adjusted p-value); other term types
|
|
1234
|
+
// threshold a p-value.
|
|
1235
|
+
label: this.config.termType == PROTEOME_DAP ? "FDR significance (-log\u2081\u2080)" : "P value significance (-log\u2081\u2080)",
|
|
1236
|
+
type: "number",
|
|
1237
|
+
chartType: "volcano",
|
|
1238
|
+
settingsKey: "pValue",
|
|
1239
|
+
title: this.config.termType == PROTEOME_DAP ? "The FDR threshold to determine statistical significance" : "The p-value threshold to determine statistical significance",
|
|
1240
|
+
min: 0,
|
|
1241
|
+
// 5e-324 is the smallest positive number greater than 0 representable
|
|
1242
|
+
// in IEEE 64-bit floating point (i.e. javascripts native Number.MIN_VALUE)
|
|
1243
|
+
// -Math.log10(5e-324) = 323.3
|
|
1244
|
+
max: 323.3,
|
|
1245
|
+
step: 1
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
label: "P value",
|
|
1249
|
+
type: "radio",
|
|
1250
|
+
chartType: "volcano",
|
|
1251
|
+
settingsKey: "pValueType",
|
|
1252
|
+
title: "Toggle between original and adjusted pvalues for volcano plot",
|
|
1253
|
+
// DAP files carry only a single FDR, so there is nothing to toggle between.
|
|
1254
|
+
getDisplayStyle: () => this.config.termType == PROTEOME_DAP ? "none" : "",
|
|
1255
|
+
options: [
|
|
1256
|
+
{ label: "Adjusted", value: "adjusted" },
|
|
1257
|
+
{ label: "Original", value: "original" }
|
|
1258
|
+
]
|
|
1259
|
+
},
|
|
1260
|
+
/* Hidden for differential methylation: a DM run plots and thresholds on delta-beta,
|
|
1261
|
+
so a log2 cutoff would set a limit in units the plot never shows. Every other term
|
|
1262
|
+
type still gets it. */
|
|
1263
|
+
...this.termType === DNA_METHYLATION ? [] : [
|
|
1264
|
+
{
|
|
1265
|
+
label: "Fold change (log\u2082)",
|
|
1266
|
+
type: "number",
|
|
1267
|
+
chartType: "volcano",
|
|
1268
|
+
settingsKey: "foldChangeCutoff",
|
|
1269
|
+
title: "The fold change threshold to determine biological significance",
|
|
1270
|
+
min: -10,
|
|
1271
|
+
max: 10
|
|
1272
|
+
}
|
|
1273
|
+
],
|
|
1274
|
+
{
|
|
1275
|
+
label: "Max interactive dots",
|
|
1276
|
+
type: "number",
|
|
1277
|
+
chartType: "volcano",
|
|
1278
|
+
settingsKey: "maxInteractiveDots",
|
|
1279
|
+
title: "Cap on the number of top-significant points the server returns as interactive overlay circles. The PNG still shows every dot.",
|
|
1280
|
+
min: 0,
|
|
1281
|
+
max: 2e4,
|
|
1282
|
+
step: 100
|
|
1283
|
+
},
|
|
1284
|
+
//Preferably, keep all the display (e.g. colors, sizes, etc.) controls
|
|
1285
|
+
//at the bottom of the list or at least together
|
|
1286
|
+
{
|
|
1287
|
+
label: "Plot height",
|
|
1288
|
+
type: "number",
|
|
1289
|
+
chartType: "volcano",
|
|
1290
|
+
settingsKey: "height",
|
|
1291
|
+
title: "Height of the plot in pixels",
|
|
1292
|
+
min: 300,
|
|
1293
|
+
max: 1e3
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
label: "Plot width",
|
|
1297
|
+
type: "number",
|
|
1298
|
+
chartType: "volcano",
|
|
1299
|
+
settingsKey: "width",
|
|
1300
|
+
title: "Width of the plot in pixels",
|
|
1301
|
+
min: 300,
|
|
1302
|
+
max: 1e3
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
label: "Significant value color",
|
|
1306
|
+
type: "color",
|
|
1307
|
+
chartType: "volcano",
|
|
1308
|
+
title: "Default color for significant data points.",
|
|
1309
|
+
settingsKey: "defaultSignColor",
|
|
1310
|
+
getDisplayStyle: () => {
|
|
1311
|
+
if (this.config.termType == SINGLECELL_CELLTYPE) return "none";
|
|
1312
|
+
const controlColor = this.config.tw?.term?.values?.[this.config.samplelst.groups[0].name]?.color;
|
|
1313
|
+
const caseColor = this.config.tw?.term?.values?.[this.config.samplelst.groups[1].name].color;
|
|
1314
|
+
if (controlColor && caseColor) return "none";
|
|
1315
|
+
else return "";
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
label: "Non-significant value color",
|
|
1320
|
+
type: "color",
|
|
1321
|
+
chartType: "volcano",
|
|
1322
|
+
title: "Default color for non-significant data points.",
|
|
1323
|
+
settingsKey: "defaultNonSignColor"
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
label: "Highlight color",
|
|
1327
|
+
type: "color",
|
|
1328
|
+
chartType: "volcano",
|
|
1329
|
+
title: "Default color for highlighted data points.",
|
|
1330
|
+
settingsKey: "defaultHighlightColor"
|
|
1331
|
+
}
|
|
1332
|
+
];
|
|
1333
|
+
this.setVolcanoControlInputs();
|
|
1334
|
+
}
|
|
1335
|
+
/** Add more term type specific controls here. */
|
|
1336
|
+
setVolcanoControlInputs() {
|
|
1337
|
+
this.addGeneExpControlInputs();
|
|
1338
|
+
this.addDNAMethControlInputs();
|
|
1339
|
+
this.addSingleCellCTControlInputs();
|
|
1340
|
+
}
|
|
1341
|
+
addGeneExpControlInputs() {
|
|
1342
|
+
if (this.termType !== GENE_EXPRESSION) return;
|
|
1343
|
+
const geInputs = [
|
|
1344
|
+
{
|
|
1345
|
+
label: "Minimum read count",
|
|
1346
|
+
type: "number",
|
|
1347
|
+
chartType: "volcano",
|
|
1348
|
+
settingsKey: "minCount",
|
|
1349
|
+
title: "The smallest number of reads required for a gene to be considered in the analysis",
|
|
1350
|
+
min: 0,
|
|
1351
|
+
max: 1e4
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
label: "Minimum total read count",
|
|
1355
|
+
type: "number",
|
|
1356
|
+
chartType: "volcano",
|
|
1357
|
+
settingsKey: "minTotalCount",
|
|
1358
|
+
title: "The smallest total number of reads required for a gene to be considered in the analysis",
|
|
1359
|
+
min: 0,
|
|
1360
|
+
max: 1e4
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
label: "CPM cutoff",
|
|
1364
|
+
type: "number",
|
|
1365
|
+
chartType: "volcano",
|
|
1366
|
+
settingsKey: "cpmCutoff",
|
|
1367
|
+
title: "The minimum normalized expression threshold to retain only genes with sufficient expression",
|
|
1368
|
+
min: 0
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
label: "Method",
|
|
1372
|
+
type: "radio",
|
|
1373
|
+
chartType: "volcano",
|
|
1374
|
+
settingsKey: "method",
|
|
1375
|
+
title: "Toggle between analysis methods",
|
|
1376
|
+
options: this.getMethodOptions()
|
|
1377
|
+
}
|
|
1378
|
+
// {
|
|
1379
|
+
// label: 'Rank Genes by',
|
|
1380
|
+
// type: 'radio',
|
|
1381
|
+
// chartType: 'volcano',
|
|
1382
|
+
// settingsKey: 'rankBy',
|
|
1383
|
+
// title: 'Rank genes by either the absolute value of the fold change or the variance',
|
|
1384
|
+
// options: [
|
|
1385
|
+
// { label: 'abs(Fold Change)', value: 'abs(foldChange)' },
|
|
1386
|
+
// { label: 'Variance', value: 'variance' }
|
|
1387
|
+
// ],
|
|
1388
|
+
// //TODO: will enable this feature when there is backhand support
|
|
1389
|
+
// getDisplayStyle: () => 'none'
|
|
1390
|
+
// }
|
|
1391
|
+
];
|
|
1392
|
+
this.inputs.splice(0, 0, ...geInputs);
|
|
1393
|
+
}
|
|
1394
|
+
addDNAMethControlInputs() {
|
|
1395
|
+
if (this.termType !== DNA_METHYLATION) return;
|
|
1396
|
+
const dmInputs = [
|
|
1397
|
+
/* Element class comes FIRST because it is categorically different from the
|
|
1398
|
+
controls below it: those tune how the test is run, this one changes what is
|
|
1399
|
+
being tested. Promoters, eQTM blocks, and cCRE classes are different genomic
|
|
1400
|
+
features with different coordinates and different test counts, so switching
|
|
1401
|
+
produces a different analysis rather than a refined one.
|
|
1402
|
+
|
|
1403
|
+
Hidden unless the dataset offers a genuine choice -- a single class means
|
|
1404
|
+
there is nothing to pick, and a dataset using the legacy promoter-only config
|
|
1405
|
+
gets no new UI at all. */
|
|
1406
|
+
...this.elementTypes.length > 1 ? [
|
|
1407
|
+
{
|
|
1408
|
+
label: "Element class",
|
|
1409
|
+
type: "dropdown",
|
|
1410
|
+
chartType: "volcano",
|
|
1411
|
+
settingsKey: "elementType",
|
|
1412
|
+
options: this.elementTypes.map((e) => ({ value: e.key, label: e.label })),
|
|
1413
|
+
title: "Which regulatory elements to test. This changes the features being analysed, not just the thresholds: promoters are TSS windows (-1500/+500 bp, the 450K array definition), cCRE promoters are the ~349 bp ENCODE promoter-like elements (the CpG-island core, no shores), eQTM blocks are runs of CpGs whose methylation correlates with a gene, and the other cCRE classes are ENCODE enhancer and CTCF annotations. Hit counts are not comparable across classes because the number of tests and the genes covered both differ. Narrow elements recover focal signal that a wide window averages away; wide windows do better on broad marks."
|
|
1414
|
+
}
|
|
1415
|
+
] : [],
|
|
1416
|
+
{
|
|
1417
|
+
label: "Min samples per group",
|
|
1418
|
+
type: "number",
|
|
1419
|
+
chartType: "volcano",
|
|
1420
|
+
settingsKey: "minSamplesPerGroup",
|
|
1421
|
+
title: "Minimum non-NA samples required per group for a promoter to be tested",
|
|
1422
|
+
min: 1,
|
|
1423
|
+
max: 100
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
label: "Exclude sex chromosomes",
|
|
1427
|
+
type: "checkbox",
|
|
1428
|
+
chartType: "volcano",
|
|
1429
|
+
settingsKey: "excludeSexChr",
|
|
1430
|
+
boxLabel: "",
|
|
1431
|
+
title: "Drop chrX/chrY promoters. Recommended for mixed-sex cohorts \u2014 X-inactivation makes chrX methylation strongly sex-dependent, so a sex-imbalanced comparison reports sex rather than the grouping variable."
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
label: "Min \u0394\u03B2",
|
|
1435
|
+
type: "number",
|
|
1436
|
+
chartType: "volcano",
|
|
1437
|
+
settingsKey: "deltaBetaCutoff",
|
|
1438
|
+
title: "Effect-size cutoff for differential methylation, applied to \u0394\u03B2. 0.1 is a 10-percentage-point change in methylation, the conventional floor for calling a region differentially methylated. Kept separate from the log\u2082 cutoff because the two are not interchangeable.",
|
|
1439
|
+
min: 0,
|
|
1440
|
+
max: 1,
|
|
1441
|
+
step: 0.01
|
|
1442
|
+
}
|
|
1443
|
+
];
|
|
1444
|
+
this.inputs.splice(0, 0, ...dmInputs);
|
|
1445
|
+
}
|
|
1446
|
+
addSingleCellCTControlInputs() {
|
|
1447
|
+
if (this.termType !== SINGLECELL_CELLTYPE) return;
|
|
1448
|
+
const scctInputs = [];
|
|
1449
|
+
this.inputs.splice(0, 0, ...scctInputs);
|
|
1450
|
+
}
|
|
1451
|
+
getMethodOptions() {
|
|
1452
|
+
if (this.termType !== GENE_EXPRESSION) return;
|
|
1453
|
+
const settings = this.config.settings.volcano;
|
|
1454
|
+
const features = JSON.parse(sessionStorage.getItem("optionalFeatures"));
|
|
1455
|
+
if (features?.runDE_methods?.length) {
|
|
1456
|
+
const opts = [];
|
|
1457
|
+
for (const m of features.runDE_methods) {
|
|
1458
|
+
opts.push({ label: m, value: m.toLowerCase() });
|
|
1459
|
+
}
|
|
1460
|
+
return opts;
|
|
1461
|
+
}
|
|
1462
|
+
if (this.sampleNum < settings.sampleNumCutoff) {
|
|
1463
|
+
return [
|
|
1464
|
+
{ label: "edgeR", value: "edgeR" },
|
|
1465
|
+
{ label: "Wilcoxon", value: "wilcoxon" },
|
|
1466
|
+
{ label: "Limma", value: "limma" }
|
|
1467
|
+
];
|
|
1468
|
+
} else return [{ label: "Wilcoxon", value: "wilcoxon" }];
|
|
1469
|
+
}
|
|
1470
|
+
};
|
|
1471
|
+
|
|
1472
|
+
// plots/volcano/Volcano.ts
|
|
1473
|
+
var MIN_WILCOXON_GROUP_SIZE = 20;
|
|
1474
|
+
var Volcano = class _Volcano extends PlotBase {
|
|
1475
|
+
static {
|
|
1476
|
+
this.type = "volcano";
|
|
1477
|
+
}
|
|
1478
|
+
constructor(opts, api) {
|
|
1479
|
+
super(opts, api);
|
|
1480
|
+
if (this.opts.parentId) this.parentId = this.opts.parentId;
|
|
1481
|
+
this.type = _Volcano.type;
|
|
1482
|
+
this.components = {
|
|
1483
|
+
controls: {}
|
|
1484
|
+
};
|
|
1485
|
+
this.termType = opts.termType;
|
|
1486
|
+
const holder = opts.holder.classed("sjpp-volcano-main", true).attr("data-testid", `sjpp-volcano-main-${opts.termType}`);
|
|
1487
|
+
const controls = typeof opts.controls == "object" ? opts.controls : holder || holder.append("div");
|
|
1488
|
+
const error = opts.holder.append("div").attr("id", "sjpp-volcano-error").attr("data-testid", `sjpp-volcano-error-${opts.termType}`).style("opacity", 0.75);
|
|
1489
|
+
this.dom = {
|
|
1490
|
+
holder,
|
|
1491
|
+
controls,
|
|
1492
|
+
error,
|
|
1493
|
+
wait: holder.append("div").attr("id", "sjpp-volcano-wait").attr("data-testid", `sjpp-volcano-wait-${opts.termType}`).style("opacity", 0.75).style("padding", "20px").text("Loading..."),
|
|
1494
|
+
tip: new Menu({ padding: "" }),
|
|
1495
|
+
actionsTip: new Menu({ padding: "" })
|
|
1496
|
+
};
|
|
1497
|
+
}
|
|
1498
|
+
getState(appState) {
|
|
1499
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1500
|
+
if (!config) {
|
|
1501
|
+
throw new Error(
|
|
1502
|
+
`No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`
|
|
1503
|
+
);
|
|
1504
|
+
}
|
|
1505
|
+
const parentConfig = this.parentId && appState.plots.find((p) => p.id === this.parentId);
|
|
1506
|
+
const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
|
|
1507
|
+
return {
|
|
1508
|
+
config: Object.assign({}, config, {
|
|
1509
|
+
settings: {
|
|
1510
|
+
volcano: config.settings.volcano
|
|
1511
|
+
}
|
|
1512
|
+
}),
|
|
1513
|
+
termfilter
|
|
1514
|
+
};
|
|
1515
|
+
}
|
|
1516
|
+
async setControls() {
|
|
1517
|
+
const plotConfig = this.app.getState().plots.find((p) => p.id === this.id);
|
|
1518
|
+
const controls = new VolcanoControlInputs(
|
|
1519
|
+
plotConfig,
|
|
1520
|
+
this.termType,
|
|
1521
|
+
this.app.vocabApi.termdbConfig?.queries?.dnaMethylation?.elementTypes
|
|
1522
|
+
);
|
|
1523
|
+
this.components.controls = await controlsInit({
|
|
1524
|
+
app: this.app,
|
|
1525
|
+
id: this.id,
|
|
1526
|
+
holder: this.dom.controls.style("display", "inline-block"),
|
|
1527
|
+
inputs: controls.inputs
|
|
1528
|
+
});
|
|
1529
|
+
this.components.controls.on("downloadClick.volcano", () => this.interactions.download(this.termType));
|
|
1530
|
+
if (plotConfig.chartType == "differentialAnalysis")
|
|
1531
|
+
this.components.controls.on(
|
|
1532
|
+
"helpClick.differentialAnalysis",
|
|
1533
|
+
() => (
|
|
1534
|
+
//Opens the page for the differential analysis wiki
|
|
1535
|
+
//Can't put in parent as DA does not have a controls component
|
|
1536
|
+
window.open("https://github.com/stjude/proteinpaint/wiki/Differential-analysis")
|
|
1537
|
+
)
|
|
1538
|
+
);
|
|
1539
|
+
}
|
|
1540
|
+
async init() {
|
|
1541
|
+
this.interactions = new VolcanoInteractions(this.app, this.id, this.dom);
|
|
1542
|
+
this.model = new VolcanoModel(this, this.termType);
|
|
1543
|
+
this.view = new VolcanoPlotView(this.dom, this.interactions, this.termType);
|
|
1544
|
+
await this.setControls();
|
|
1545
|
+
}
|
|
1546
|
+
async main() {
|
|
1547
|
+
if (!this.interactions) throw new Error("Volcano Interactions not initialized");
|
|
1548
|
+
if (!this.model) throw new Error("Volcano Model not initialized");
|
|
1549
|
+
if (!this.view) throw new Error("Volcano View not initialized");
|
|
1550
|
+
const config = structuredClone(this.state.config);
|
|
1551
|
+
if (config.chartType != this.type && config.childType != this.type) return;
|
|
1552
|
+
const settings = config.settings.volcano;
|
|
1553
|
+
try {
|
|
1554
|
+
const showWait = setTimeout(() => {
|
|
1555
|
+
this.dom.wait.style("display", "block");
|
|
1556
|
+
}, 500);
|
|
1557
|
+
const response = await this.model.getData(config, settings);
|
|
1558
|
+
this.dom.error.text("");
|
|
1559
|
+
if (!response || response.error || !response.data || !response.data.volcanoPng || !response.data.totalRows) {
|
|
1560
|
+
const msg = response?.error || "No data returned from server";
|
|
1561
|
+
if (response?.code === "CACHE_BUSY") {
|
|
1562
|
+
if (window.confirm(msg)) this.main();
|
|
1563
|
+
} else sayerror(this.dom.error, msg);
|
|
1564
|
+
clearTimeout(showWait);
|
|
1565
|
+
this.dom.wait.style("display", "none");
|
|
1566
|
+
return;
|
|
1567
|
+
}
|
|
1568
|
+
const viewModel = new VolcanoViewModel(config, response, settings);
|
|
1569
|
+
this.interactions.pValueTableData = viewModel.viewData.pValueTableData;
|
|
1570
|
+
this.interactions.data = response.data.dots;
|
|
1571
|
+
this.interactions.totalSignificantRows = response.data.totalSignificantRows;
|
|
1572
|
+
this.interactions.provenance = viewModel.viewData.provenance;
|
|
1573
|
+
this.interactions.fetchAllRows = async () => {
|
|
1574
|
+
const full = await new VolcanoModel(this, this.termType).getData(config, {
|
|
1575
|
+
...settings,
|
|
1576
|
+
maxInteractiveDots: null
|
|
1577
|
+
});
|
|
1578
|
+
if (!full || full.error || !full.data?.dots) throw new Error(full?.error || "no rows returned");
|
|
1579
|
+
return new VolcanoViewModel(config, full, settings).viewData.pValueTableData;
|
|
1580
|
+
};
|
|
1581
|
+
this.view.render(settings, viewModel.viewData);
|
|
1582
|
+
const notes = [];
|
|
1583
|
+
if (!response.data.dots.length) notes.push("No points passed the significance thresholds.");
|
|
1584
|
+
const smallestGroup = Math.min(response.sample_size1, response.sample_size2);
|
|
1585
|
+
if (settings.method == "wilcoxon" && smallestGroup < MIN_WILCOXON_GROUP_SIZE) {
|
|
1586
|
+
const samplesLabel = uiLabel(this.app.vocabApi.termdbConfig?.uiLabels, "samples", "samples");
|
|
1587
|
+
notes.push(
|
|
1588
|
+
`The smaller group has ${smallestGroup.toLocaleString()} ${samplesLabel}. Wilcoxon p-values are approximated here, and a gene that is zero in most ${samplesLabel} can be assigned a p-value far smaller than its group sizes can support. Rank these results by fold change rather than by p-value magnitude, and do not compare the p-values against another analysis.`
|
|
1589
|
+
);
|
|
1590
|
+
}
|
|
1591
|
+
if (notes.length) this.dom.error.text(notes.join(" ")).style("color", "#555");
|
|
1592
|
+
clearTimeout(showWait);
|
|
1593
|
+
this.dom.wait.style("display", "none");
|
|
1594
|
+
} catch (e) {
|
|
1595
|
+
if (e instanceof Error) console.error(e.message || e);
|
|
1596
|
+
else if (e.stack) console.log(e.stack);
|
|
1597
|
+
throw e;
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
};
|
|
1601
|
+
var volcanoInit = getCompInit(Volcano);
|
|
1602
|
+
var componentInit = volcanoInit;
|
|
1603
|
+
async function getPlotConfig(opts, app) {
|
|
1604
|
+
if (!opts.termType) throw new Error(".termType is required");
|
|
1605
|
+
const config = {
|
|
1606
|
+
settings: {
|
|
1607
|
+
// app is passed through so the defaults can read the dataset's preferred starting
|
|
1608
|
+
// element class from termdbConfig; opts alone does not carry it
|
|
1609
|
+
volcano: getDefaultVolcanoSettings(opts.overrides, { ...opts, app })
|
|
1610
|
+
},
|
|
1611
|
+
highlightedData: opts.highlightedData || [],
|
|
1612
|
+
termType: opts.termType
|
|
1613
|
+
};
|
|
1614
|
+
if (opts.termType == GENE_EXPRESSION || opts.termType == DNA_METHYLATION) {
|
|
1615
|
+
if (opts.confounderTws) {
|
|
1616
|
+
try {
|
|
1617
|
+
for (const tw of opts.confounderTws) {
|
|
1618
|
+
await fillTermWrapper(tw, app.vocabApi);
|
|
1619
|
+
}
|
|
1620
|
+
} catch (e) {
|
|
1621
|
+
console.error(e.message || e);
|
|
1622
|
+
throw new Error(`Volcano getPlotConfig() failed to fill confounder term wrappers: ${e}`);
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
Object.assign(config, {
|
|
1626
|
+
confounderTws: opts.confounderTws || [],
|
|
1627
|
+
samplelst: opts.samplelst
|
|
1628
|
+
});
|
|
1629
|
+
}
|
|
1630
|
+
if (opts.termType == SINGLECELL_CELLTYPE) {
|
|
1631
|
+
Object.assign(config, {
|
|
1632
|
+
//TODO: Fix this logic
|
|
1633
|
+
sample: opts.experimentID || opts.sample || opts.samples?.[0]?.experiments[0]?.experimentID,
|
|
1634
|
+
termId: app.vocabApi.termdbConfig.queries.singleCell.DEgenes.termId,
|
|
1635
|
+
//TODO: 'Cluster' is a fallback for development
|
|
1636
|
+
//Should require opts.categoryName in the future
|
|
1637
|
+
categoryName: opts.categoryName || "Cluster"
|
|
1638
|
+
});
|
|
1639
|
+
}
|
|
1640
|
+
validateVolcanoSettings(config, opts);
|
|
1641
|
+
return copyMerge(config, opts);
|
|
1642
|
+
}
|
|
1643
|
+
export {
|
|
1644
|
+
Volcano,
|
|
1645
|
+
componentInit,
|
|
1646
|
+
getPlotConfig,
|
|
1647
|
+
volcanoInit
|
|
1648
|
+
};
|
|
1649
|
+
//# sourceMappingURL=Volcano-FCCWUMX7.js.map
|