@sjcrh/proteinpaint-client 2.210.0 → 2.210.1
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-7VZ536T5.js +1367 -0
- package/dist/AggMatrixInput-UTUOXTGA.js +406 -0
- package/dist/AggregateMatrix-X75HUZYO.js +41 -0
- package/dist/AppHeader-X2DR6VSM.js +830 -0
- package/dist/BoxPlot-NQMPJICU.js +1211 -0
- package/dist/CorrelationVolcano-IDBUJH2E.js +617 -0
- package/dist/Cuminc-BYFIMOLO.js +1219 -0
- package/dist/DE-BI7DHHW4.js +89 -0
- package/dist/DEinput-W66CT4U2.js +501 -0
- package/dist/DM-62TEJA3C.js +90 -0
- package/dist/DifferentialAnalysis-PRTA6CYW.js +239 -0
- package/dist/Disco-4JQP3FRW.js +3389 -0
- package/dist/Disco.UI-6RHAA5KU.js +243 -0
- package/dist/DmrPlot-VYQYMTQ7.js +362 -0
- package/dist/GB-LULUM5LH.js +1392 -0
- package/dist/GB-LULUM5LH.js.map +7 -0
- package/dist/GSEA-DT3SYXOZ.js +875 -0
- package/dist/GeneExpInput-UILWAGRH.js +42 -0
- package/dist/Geomap-AFKEGMR5.js +84 -0
- package/dist/HicApp-APDL5POY.js +2245 -0
- package/dist/IDCViewer-DQXAORHT.js +10812 -0
- package/dist/NumBinaryEditor-OUVIOEH7.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-VBX2X4CT.js +312 -0
- package/dist/NumContEditor-JVPRBZPW.js +105 -0
- package/dist/NumContEditor.unit.spec-EQNB6RMI.js +164 -0
- package/dist/NumCustomBinEditor-E2SXZDF4.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-VLR7MGNL.js +397 -0
- package/dist/NumDiscreteEditor-CUA55FU3.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-7IPCMUDQ.js +233 -0
- package/dist/NumRegularBinEditor-CWU7YBEP.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-RGV3EUPC.js +278 -0
- package/dist/NumSplineEditor-PC5X7AUJ.js +210 -0
- package/dist/NumSplineEditor.unit.spec-QCR3RL5W.js +224 -0
- package/dist/NumericDensity-CFUEE5ZN.js +33 -0
- package/dist/NumericDensity.unit.spec-JOCVEC32.js +418 -0
- package/dist/NumericHandler-VL2Z55KF.js +34 -0
- package/dist/NumericHandler.unit.spec-ULM5FSSA.js +214 -0
- package/dist/ProteomeInput-3WKTVCYT.js +388 -0
- package/dist/Regression-M7AQTYXL.js +1416 -0
- package/dist/RunChart2-54SVOXJR.js +749 -0
- package/dist/SC-QRWDGHB2.js +1183 -0
- package/dist/Violin-2AD6QRJB.js +1081 -0
- package/dist/Volcano-T57VFSWR.js +2456 -0
- package/dist/Volcano-T57VFSWR.js.map +7 -0
- package/dist/Wsi-U3U3EILE.js +629 -0
- package/dist/adSandbox-S3JP7XF3.js +33 -0
- package/dist/animatedBubbleChart-LZKNERIM.js +547 -0
- package/dist/app-2MERLGNJ.js +42 -0
- package/dist/app-ZNSUUOFJ.js +32 -0
- package/dist/app.js +14 -14
- package/dist/bam-ESRPS4TQ.js +876 -0
- package/dist/barchart-BPUEO4RK.js +42 -0
- package/dist/barchart2-Z36PNSM2.js +309 -0
- package/dist/block-GEG4UUOU.js +6250 -0
- package/dist/block.init-SB6OX35E.js +33 -0
- package/dist/block.mds.expressionrank-2JLMS334.js +354 -0
- package/dist/block.mds.geneboxplot-BZMGG6G3.js +823 -0
- package/dist/block.mds.junction-636PWE2O.js +1539 -0
- package/dist/block.mds.svcnv-S4L2HMZW.js +6796 -0
- package/dist/block.svg-A7EABUXG.js +159 -0
- package/dist/block.tk.aicheck-KNFJVUTW.js +278 -0
- package/dist/block.tk.ase-BPU25OLX.js +360 -0
- package/dist/block.tk.bam-VC4CZCUS.js +1901 -0
- package/dist/block.tk.bedgraphdot-FQS4Z4RC.js +379 -0
- package/dist/block.tk.bigwig.ui-7STXSD3X.js +206 -0
- package/dist/block.tk.hicstraw-CVDCOMPP.js +818 -0
- package/dist/block.tk.junction-PG4RZFH3.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-JRW4ZJIK.js +194 -0
- package/dist/block.tk.ld-DLDP2NHJ.js +94 -0
- package/dist/block.tk.menu-PWGFMKBQ.js +1024 -0
- package/dist/block.tk.pgv-HOBOXQIN.js +938 -0
- package/dist/brainImaging-GUQTOHQF.js +555 -0
- package/dist/brainRegions-JWBIBCTG.js +217 -0
- package/dist/bubbleHeatmap-EUO3DUVT.js +378 -0
- package/dist/cellTypeBubbleHeatmap-TIBGPZTB.js +278 -0
- package/dist/chunk-3CGAABHZ.js +176 -0
- package/dist/chunk-3ELYMSGO.js +26 -0
- package/dist/chunk-3QL3U6FU.js +2853 -0
- package/dist/chunk-3TV5WWUN.js +339 -0
- package/dist/chunk-4Y5W26UF.js +424 -0
- package/dist/chunk-5XE3WSUX.js +6360 -0
- package/dist/chunk-665X7R7S.js +382 -0
- package/dist/chunk-6MQPXWOR.js +55 -0
- package/dist/chunk-7DSL65G7.js +14 -0
- package/dist/chunk-A6F3CSXP.js +626 -0
- package/dist/chunk-AB6JQFIQ.js +129 -0
- package/dist/chunk-ACOHIDWO.js +240 -0
- package/dist/chunk-AIVPAC5Q.js +102 -0
- package/dist/chunk-AKKJFMW5.js +4375 -0
- package/dist/chunk-AR2UIN77.js +255 -0
- package/dist/chunk-AXF6SVNQ.js +56 -0
- package/dist/chunk-BLYD6SQO.js +98 -0
- package/dist/chunk-BSWPONNA.js +550 -0
- package/dist/chunk-BX3P73XH.js +299 -0
- package/dist/chunk-CSAS3PVJ.js +24956 -0
- package/dist/chunk-CSAS3PVJ.js.map +7 -0
- package/dist/chunk-CW35X5ZL.js +5071 -0
- package/dist/chunk-D4XHYQNS.js +281 -0
- package/dist/chunk-DH74ZT37.js +141 -0
- package/dist/chunk-E76UYIT2.js +182 -0
- package/dist/chunk-EM6KUVI5.js +194 -0
- package/dist/chunk-F4GYWCRF.js +302 -0
- package/dist/chunk-FJ3JD7B3.js +59 -0
- package/dist/chunk-FW3ME75U.js +54 -0
- package/dist/chunk-G2X2PN74.js +783 -0
- package/dist/chunk-G3QKTYUT.js +2676 -0
- package/dist/chunk-G5USS6FI.js +56 -0
- package/dist/chunk-GLPTPX45.js +203 -0
- package/dist/chunk-GPY6SBCX.js +339 -0
- package/dist/chunk-GWHIKECP.js +1731 -0
- package/dist/chunk-GWVVEOYX.js +263 -0
- package/dist/chunk-HDV3LHCN.js +379 -0
- package/dist/chunk-HGXSYPU6.js +2327 -0
- package/dist/chunk-HMKEVTRM.js +446 -0
- package/dist/chunk-HPCKKXRK.js +1233 -0
- package/dist/chunk-J5JBHGRN.js +31 -0
- package/dist/chunk-JHOGTGIS.js +1988 -0
- package/dist/chunk-KCX54MGS.js +480 -0
- package/dist/chunk-KVRSO2OZ.js +34 -0
- package/dist/chunk-M4PUW3ML.js +243 -0
- package/dist/chunk-ME325OQC.js +562 -0
- package/dist/chunk-NJWNKBRC.js +468 -0
- package/dist/chunk-O5FUHCNU.js +397 -0
- package/dist/chunk-ODHQPTHU.js +134 -0
- package/dist/chunk-PTQ4GQCS.js +692 -0
- package/dist/chunk-PUSSP76H.js +70 -0
- package/dist/chunk-Q3PAXUCU.js +54 -0
- package/dist/chunk-QWBKN2IC.js +80 -0
- package/dist/chunk-R4E7BXC6.js +49 -0
- package/dist/chunk-SDYFM3UL.js +274 -0
- package/dist/chunk-SP6WCXY6.js +217 -0
- package/dist/chunk-SRTZQOK7.js +102 -0
- package/dist/chunk-T4RYLTR3.js +178 -0
- package/dist/chunk-TANWA6SU.js +54 -0
- package/dist/chunk-TBIHBC5V.js +170 -0
- package/dist/chunk-TGTCOCPF.js +1278 -0
- package/dist/chunk-TOFOT2BN.js +294 -0
- package/dist/chunk-UOYIPBTX.js +217 -0
- package/dist/chunk-USULBM4V.js +2784 -0
- package/dist/chunk-UYKJOBRO.js +1616 -0
- package/dist/chunk-UYKJOBRO.js.map +7 -0
- package/dist/chunk-V3WSMWBF.js +123 -0
- package/dist/chunk-VTHZGUSZ.js +2146 -0
- package/dist/chunk-WMQDFVJK.js +103 -0
- package/dist/chunk-WTQQWFV4.js +38 -0
- package/dist/chunk-XDLKYVYU.js +276 -0
- package/dist/chunk-XNJN5J3U.js +37 -0
- package/dist/chunk-XQLOEZ7T.js +158 -0
- package/dist/chunk-Y3SDMRDX.js +119 -0
- package/dist/chunk-Y5FE3G6J.js +518 -0
- package/dist/chunk-YMEWZVRG.js +237 -0
- package/dist/chunk-YPHFEKWI.js +1339 -0
- package/dist/chunk-Z4HW3FEE.js +272 -0
- package/dist/cohort-NYFUILFO.js +70 -0
- package/dist/condition-6M4AVISY.js +327 -0
- package/dist/controls-LMTWS3SY.js +34 -0
- package/dist/controls.config-4PK7HLFJ.js +34 -0
- package/dist/correlation-X6GB6ITK.js +95 -0
- package/dist/customdata.inputui-MDG3BTTG.js +284 -0
- package/dist/dataDownload-TFRI3VFM.js +329 -0
- package/dist/databrowser.ui-L2K7VVDW.js +425 -0
- package/dist/dictionary-MS6R3VNY.js +113 -0
- package/dist/dnaMethylation-2KYSQWNE.js +33 -0
- package/dist/dnaMethylation.integration.spec-2BHNKOGN.js +198 -0
- package/dist/dofetch-BETN7HEX.js +48 -0
- package/dist/e2pca-QC2EI5JM.js +344 -0
- package/dist/ep-BTRMR4OT.js +1249 -0
- package/dist/expclust.gdc.spec-C5ZMBCGO.js +302 -0
- package/dist/facet-LPXKLX53.js +519 -0
- package/dist/gb-PHJ2SM5D.js +81 -0
- package/dist/geneExpClustering-OXZJHEPD.js +244 -0
- package/dist/geneExpression-54RGEGML.js +310 -0
- package/dist/geneExpression-FLBQXMSX.js +33 -0
- package/dist/geneExpression.unit.spec-ZCE7G6HI.js +128 -0
- package/dist/geneORA-TELI5AFV.js +273 -0
- package/dist/geneRanking-7YZA5GNG.js +548 -0
- package/dist/geneVariant-NJYUEY4C.js +36 -0
- package/dist/geneVariant-VKWTXUMK.js +289 -0
- package/dist/geneVariant.integration.spec-RWYP523U.js +503 -0
- package/dist/genefusion.ui-B6J7I3RA.js +303 -0
- package/dist/geneset-VG4SFYML.js +203 -0
- package/dist/genomeBrowser.spec-5IS5Y2NG.js +276 -0
- package/dist/grin2-3T6KRC34.js +70 -0
- package/dist/grin2-FOOH736B.js +949 -0
- package/dist/hierCluster-WLAFGZAT.js +55 -0
- package/dist/hierCluster-XBL2TOOL.js +59 -0
- package/dist/hierCluster.config-VCBRBGDZ.js +36 -0
- package/dist/hierCluster.integration.spec-TNJD2QT6.js +483 -0
- package/dist/hierCluster.interactivity-PEEJ3BRC.js +49 -0
- package/dist/hierCluster.renderers-7ESGKIGM.js +19 -0
- package/dist/imagePlot-LWL6JMKM.js +156 -0
- package/dist/importPlot-CLBY6QZN.js +8 -0
- package/dist/isoformExpression-36P3BBN7.js +35 -0
- package/dist/isoformExpression.unit.spec-SF2SPTRC.js +237 -0
- package/dist/junction-B7DSIG4E.js +36 -0
- package/dist/junction.customTerm-7VZS4JDE.js +16 -0
- package/dist/junction.unit.spec-4MWU36MR.js +182 -0
- package/dist/launch.adhoc-3B34GV4S.js +37 -0
- package/dist/leftlabel.sample-6OM5H67E.js +258 -0
- package/dist/lollipop-SL2F5G6K.js +166 -0
- package/dist/maf-FRYGN5GR.js +455 -0
- package/dist/maftimeline-3UFWS73J.js +587 -0
- package/dist/matrix-DDKSOJ4C.js +59 -0
- package/dist/matrix-H2ZH2QKC.js +54 -0
- package/dist/matrix.cells-JTMC35SK.js +26 -0
- package/dist/matrix.config-EUBXWEBS.js +37 -0
- package/dist/matrix.data-CO5RBWY5.js +23 -0
- package/dist/matrix.groups-AKOJ2W6U.js +26 -0
- package/dist/matrix.integration.spec-66KNZO3S.js +3160 -0
- package/dist/matrix.interactivity-DY5YJIYB.js +37 -0
- package/dist/matrix.layout-MQQNHBI2.js +39 -0
- package/dist/matrix.legend-CGU7T6GF.js +20 -0
- package/dist/matrix.renderers-HC7PJN4B.js +34 -0
- package/dist/matrix.serieses-W4L6ZO37.js +19 -0
- package/dist/matrix.sort-T74DWFB2.js +26 -0
- package/dist/matrix.sort.unit.spec-EQEHQXTO.js +468 -0
- package/dist/matrix.sorterUi-GFQG4HFV.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-XQHFOEYE.js +338 -0
- package/dist/matrix.unit.spec-4ZWUGZUC.js +150 -0
- package/dist/mavb-3CL5OHWB.js +727 -0
- package/dist/mds.fimo-2RFJQKJM.js +513 -0
- package/dist/mds.samplescatterplot-X6CXMY4C.js +1545 -0
- package/dist/mds.survivalplot-57NIKSSH.js +477 -0
- package/dist/multivalue-3TUGYL4J.js +83 -0
- package/dist/numericDictTermCluster-RLX5CLTN.js +63 -0
- package/dist/oncomatrix-COK76MJN.js +290 -0
- package/dist/oncomatrix.spec-SO3ZN5BF.js +443 -0
- package/dist/plot.2dvaf-TETCE4VG.js +372 -0
- package/dist/plot.app-5YUAVZA4.js +36 -0
- package/dist/plot.barplot-JUGY5Z7A.js +97 -0
- package/dist/plot.boxplot-QZXICT7J.js +146 -0
- package/dist/plot.brainImaging-2F6E6QS4.js +51 -0
- package/dist/plot.disco-H4P4B6QS.js +99 -0
- package/dist/plot.ssgq-LEQF3STZ.js +134 -0
- package/dist/plot.vaf2cov-UBMD2CN7.js +253 -0
- package/dist/polar2-AVEZM2T5.js +232 -0
- package/dist/profileForms-CUSUGTPC.js +941 -0
- package/dist/profilePlot-67Z7AXQ4.js +49 -0
- package/dist/proteinView-7K7VHGX3.js +1357 -0
- package/dist/proteomeCohortCompare-MRGH6HHI.js +912 -0
- package/dist/pseudbulk.unit.spec-ZHDL6GIM.js +86 -0
- package/dist/pseudobulk-ZNXPF7QB.js +35 -0
- package/dist/qualitative-QXMZHDWU.js +38 -0
- package/dist/radar2-QJDGNLED.js +327 -0
- package/dist/radarFacility2-LGGOOWX4.js +335 -0
- package/dist/rememberedGvQ.unit.spec-YKUMMYFT.js +211 -0
- package/dist/render-LSSRZJY3.js +33 -0
- package/dist/report-TTECPO44.js +217 -0
- package/dist/sampleView-EFS2UBRS.js +43 -0
- package/dist/samplelst-FXULLJBO.js +106 -0
- package/dist/samplematrix-MNFCXOWO.js +2193 -0
- package/dist/sc-2BUOXML2.js +81 -0
- package/dist/scatter-AVRTALYY.js +925 -0
- package/dist/scatter-CPEIVL3K.js +88 -0
- package/dist/selectGenomeWithTklst-3BG2ZPPN.js +129 -0
- package/dist/singleCellCellType-QLAEBVN2.js +33 -0
- package/dist/singleCellCellType.unit.spec-P4NAWYKL.js +154 -0
- package/dist/singleCellGeneExpression-IZ2PMDDL.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-DKBZICJM.js +148 -0
- package/dist/singleCellNumericValue-NB3QFH7H.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-ZKK2KWRQ.js +416 -0
- package/dist/singleCellPlot-ZU655L4Z.js +48 -0
- package/dist/singlecell-NKPTXVHW.js +1566 -0
- package/dist/singlecell-PEIEFXVU.js +81 -0
- package/dist/snp-G55JGINX.js +33 -0
- package/dist/snp.unit.spec-47CCZKJO.js +171 -0
- package/dist/snplocus-TRVAEAPF.js +203 -0
- package/dist/spliceevent.a53ss.diagram-FL2R6F22.js +146 -0
- package/dist/spliceevent.exonskip.diagram-XDZWTJXR.js +278 -0
- package/dist/spliceevent.noeventdiagram-L322N534.js +455 -0
- package/dist/ssGSEA-DZY4LFQY.js +33 -0
- package/dist/ssGSEA.unit.spec-P6C3VTVZ.js +83 -0
- package/dist/stattable-R7O6OIMB.js +117 -0
- package/dist/studyCatalog-OMDE4JRD.js +414 -0
- package/dist/summarizeCnvGeneexp-A7HW6FJI.js +158 -0
- package/dist/summarizeGeneexpSurvival-ODI4HGFH.js +105 -0
- package/dist/summarizeMutationCnv-C2YB73OL.js +159 -0
- package/dist/summarizeMutationDiagnosis-4Y322NYU.js +35 -0
- package/dist/summarizeMutationSurvival-7IHNURLC.js +99 -0
- package/dist/summary-E4L5MZTF.js +44 -0
- package/dist/summary.integration.spec-SDCGE6BQ.js +409 -0
- package/dist/summaryInput-DHIMU5DM.js +242 -0
- package/dist/sunburst-ULNPFEAM.js +278 -0
- package/dist/survival-CU4N5KZO.js +53 -0
- package/dist/survival-KWWH6REE.js +1248 -0
- package/dist/survival.integration.spec-UW6SYVLP.js +613 -0
- package/dist/svgraph-HFI6NNF3.js +1382 -0
- package/dist/svmr-VHS7Z4SO.js +3837 -0
- package/dist/table-GJUXHKQI.js +197 -0
- package/dist/termCollection-CCZ4BFIU.js +33 -0
- package/dist/termCollection-O5CQ472U.js +252 -0
- package/dist/termCollection.unit.spec-KR5G6JFU.js +299 -0
- package/dist/termCollectionFractionSelection-IKU5MFBT.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-6ZWHNGES.js +188 -0
- package/dist/tk-3DLMAFW7.js +41 -0
- package/dist/tk-CAYWF7LX.js +1121 -0
- package/dist/tp.ui-NF5ZYOHW.js +1454 -0
- package/dist/tvs.dt-43A4SSLG.js +34 -0
- package/dist/tvs.dtcnv.categorical-DYXHUNP2.js +35 -0
- package/dist/tvs.dtcnv.continuous-NOKNP4UG.js +67 -0
- package/dist/tvs.dtfusion-4NAOCC2X.js +35 -0
- package/dist/tvs.dtitd-SZC6EITI.js +35 -0
- package/dist/tvs.dtsnvindel-EYSBCNQK.js +35 -0
- package/dist/tvs.dtsv-VSPWIIFO.js +35 -0
- package/dist/tvs.samplelst-3YQ4GKNG.js +98 -0
- package/dist/tvs.termCollection-EVM4ATPW.js +124 -0
- package/dist/vocabulary-HCPEIO2P.js +36 -0
- package/dist/wsi.direct-K2J6GGWY.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-43QBND66.js +0 -1367
- package/dist/AggMatrixInput-X7NGFUHH.js +0 -406
- package/dist/AggregateMatrix-M4HRI4PX.js +0 -41
- package/dist/AppHeader-QBRQN6PM.js +0 -830
- package/dist/BoxPlot-V6SPSEQ2.js +0 -1211
- package/dist/CorrelationVolcano-UFPCYC77.js +0 -617
- package/dist/Cuminc-KXGXGLKZ.js +0 -1219
- package/dist/DE-K2YXHOOW.js +0 -89
- package/dist/DEinput-O6LBFAAH.js +0 -501
- package/dist/DM-C7VN3RWB.js +0 -90
- package/dist/DifferentialAnalysis-A2BU4WB3.js +0 -239
- package/dist/Disco-HECQVKXG.js +0 -3389
- package/dist/Disco.UI-XF2GEKRW.js +0 -243
- package/dist/DmrPlot-TVXVXOHL.js +0 -362
- package/dist/GB-66ZGJ5ST.js +0 -1428
- package/dist/GB-66ZGJ5ST.js.map +0 -7
- package/dist/GSEA-Z4YPI4HY.js +0 -875
- package/dist/GeneExpInput-VBIZZV27.js +0 -42
- package/dist/Geomap-UIIOLRFA.js +0 -84
- package/dist/HicApp-73ESVNBA.js +0 -2245
- package/dist/IDCViewer-RBYN5A4P.js +0 -10812
- package/dist/NumBinaryEditor-DJLSNSLE.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-LCJHL3XM.js +0 -312
- package/dist/NumContEditor-SVLDJ2ML.js +0 -105
- package/dist/NumContEditor.unit.spec-JDMSK4HY.js +0 -164
- package/dist/NumCustomBinEditor-BI63AH3R.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-5433G7Y2.js +0 -397
- package/dist/NumDiscreteEditor-LEZTGXAV.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-5OEORHJ4.js +0 -233
- package/dist/NumRegularBinEditor-EXWHIWPM.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-QY25Z2TT.js +0 -278
- package/dist/NumSplineEditor-XPPMYYAD.js +0 -210
- package/dist/NumSplineEditor.unit.spec-GOGBKWMN.js +0 -224
- package/dist/NumericDensity-RKY2IQ72.js +0 -33
- package/dist/NumericDensity.unit.spec-5ZM6ICXM.js +0 -418
- package/dist/NumericHandler-FXF3M5M3.js +0 -34
- package/dist/NumericHandler.unit.spec-M2OQTBJX.js +0 -214
- package/dist/ProteomeInput-TMZ3THRL.js +0 -388
- package/dist/Regression-GQGAATHG.js +0 -1416
- package/dist/RunChart2-7GNDWRKC.js +0 -749
- package/dist/SC-R2I2EMHA.js +0 -1183
- package/dist/Violin-GKKEB55L.js +0 -1081
- package/dist/Volcano-HRG5EFWH.js +0 -2443
- package/dist/Volcano-HRG5EFWH.js.map +0 -7
- package/dist/Wsi-OHRCGYYD.js +0 -629
- package/dist/adSandbox-H56B25WR.js +0 -33
- package/dist/animatedBubbleChart-7SXFHU4J.js +0 -547
- package/dist/app-22JCSULA.js +0 -42
- package/dist/app-RGZJB6LN.js +0 -32
- package/dist/bam-HA65TRGX.js +0 -876
- package/dist/barchart-6XO75OMA.js +0 -42
- package/dist/barchart2-6E5BIRHD.js +0 -309
- package/dist/block-43KNTXZ5.js +0 -6250
- package/dist/block.init-TPU5QIPA.js +0 -33
- package/dist/block.mds.expressionrank-QZDRFXCH.js +0 -354
- package/dist/block.mds.geneboxplot-64QVBK5Q.js +0 -823
- package/dist/block.mds.junction-I4J6VXNT.js +0 -1539
- package/dist/block.mds.svcnv-GDQMSQFF.js +0 -6796
- package/dist/block.svg-2MZFT5QP.js +0 -159
- package/dist/block.tk.aicheck-2MKHF6LX.js +0 -278
- package/dist/block.tk.ase-CLYGKFTS.js +0 -360
- package/dist/block.tk.bam-XTR4QA5Z.js +0 -1901
- package/dist/block.tk.bedgraphdot-A2P2CXRU.js +0 -379
- package/dist/block.tk.bigwig.ui-YZH6JXEO.js +0 -206
- package/dist/block.tk.hicstraw-QBK5VWGU.js +0 -818
- package/dist/block.tk.junction-5DEVBA7G.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-7TTQMO6W.js +0 -194
- package/dist/block.tk.ld-PRIVUPKL.js +0 -94
- package/dist/block.tk.menu-JGBRFSS3.js +0 -1024
- package/dist/block.tk.pgv-KQJCJMVD.js +0 -938
- package/dist/brainImaging-4SLVJ2HV.js +0 -555
- package/dist/brainRegions-BDIVM2SG.js +0 -217
- package/dist/bubbleHeatmap-ORKFJNEQ.js +0 -378
- package/dist/cellTypeBubbleHeatmap-VOHLI4P7.js +0 -278
- package/dist/chunk-26N3B2JO.js +0 -194
- package/dist/chunk-2HNJF5ZI.js +0 -240
- package/dist/chunk-2LNGHIOC.js +0 -281
- package/dist/chunk-3FEP6B5T.js +0 -119
- package/dist/chunk-3SCQGODD.js +0 -274
- package/dist/chunk-47STLK7K.js +0 -518
- package/dist/chunk-4G73CMUL.js +0 -38
- package/dist/chunk-4XYQG3XU.js +0 -276
- package/dist/chunk-53XNEXR6.js +0 -34
- package/dist/chunk-55FABQU2.js +0 -24955
- package/dist/chunk-55FABQU2.js.map +0 -7
- package/dist/chunk-5UB5H7A3.js +0 -123
- package/dist/chunk-6FYQYTV6.js +0 -141
- package/dist/chunk-6RP6CR4Q.js +0 -182
- package/dist/chunk-A5D37SIL.js +0 -103
- package/dist/chunk-ADRFQ5AL.js +0 -102
- package/dist/chunk-AUZ63NKJ.js +0 -70
- package/dist/chunk-B563DUNQ.js +0 -217
- package/dist/chunk-BK6UDL7F.js +0 -339
- package/dist/chunk-CFZ2ZW3E.js +0 -382
- package/dist/chunk-CKOU3P27.js +0 -26
- package/dist/chunk-CT4IG5IR.js +0 -339
- package/dist/chunk-D6UBH77N.js +0 -1731
- package/dist/chunk-DS4GLMJL.js +0 -170
- package/dist/chunk-DSBRHWZ7.js +0 -2853
- package/dist/chunk-DX35MKPR.js +0 -272
- package/dist/chunk-EDZJ3VNZ.js +0 -54
- package/dist/chunk-F47A4CVK.js +0 -1339
- package/dist/chunk-FSLOUTTK.js +0 -37
- package/dist/chunk-G4H34RNK.js +0 -446
- package/dist/chunk-G7RUMSHL.js +0 -263
- package/dist/chunk-GXFS25SK.js +0 -480
- package/dist/chunk-I25LKYC4.js +0 -379
- package/dist/chunk-IBT6WRY6.js +0 -692
- package/dist/chunk-IJ7AIDEO.js +0 -302
- package/dist/chunk-JBFVJHZN.js +0 -1233
- package/dist/chunk-JDVBUIEU.js +0 -56
- package/dist/chunk-JTANDSTD.js +0 -54
- package/dist/chunk-K7RW5TPU.js +0 -4375
- package/dist/chunk-KIAMLQ7S.js +0 -424
- package/dist/chunk-LBCIXRI2.js +0 -49
- package/dist/chunk-MNXL2UV5.js +0 -98
- package/dist/chunk-NDOKW2HJ.js +0 -31
- package/dist/chunk-NI5CVN43.js +0 -203
- package/dist/chunk-NOBXDQDU.js +0 -397
- package/dist/chunk-NQNVLZOA.js +0 -6360
- package/dist/chunk-NULFGPE3.js +0 -158
- package/dist/chunk-OUIXGM3K.js +0 -299
- package/dist/chunk-P4LGA36F.js +0 -14
- package/dist/chunk-PU5FQWAY.js +0 -55
- package/dist/chunk-PZ2OSHBF.js +0 -56
- package/dist/chunk-QBNDPW7O.js +0 -5071
- package/dist/chunk-QD75Q5LM.js +0 -59
- package/dist/chunk-R5PKBL7V.js +0 -80
- package/dist/chunk-RFSOP75Z.js +0 -1988
- package/dist/chunk-RI65SIN3.js +0 -626
- package/dist/chunk-RPGLLO4T.js +0 -2676
- package/dist/chunk-RXNZK7MF.js +0 -134
- package/dist/chunk-S2ICJ3RZ.js +0 -550
- package/dist/chunk-SB36AUG7.js +0 -1614
- package/dist/chunk-SB36AUG7.js.map +0 -7
- package/dist/chunk-SFHG6H2D.js +0 -129
- package/dist/chunk-TQ2DVEQO.js +0 -783
- package/dist/chunk-U6BJ4ZNU.js +0 -176
- package/dist/chunk-UXD6G6G4.js +0 -178
- package/dist/chunk-VA57CUC7.js +0 -2146
- package/dist/chunk-VH5W6ODW.js +0 -294
- package/dist/chunk-VROF55EH.js +0 -255
- package/dist/chunk-VWA7BYSV.js +0 -217
- package/dist/chunk-X37BRSGS.js +0 -102
- package/dist/chunk-XQYDXA47.js +0 -562
- package/dist/chunk-XXPUZVS4.js +0 -237
- package/dist/chunk-Y7V5AIUH.js +0 -468
- package/dist/chunk-YBNIOGUE.js +0 -243
- package/dist/chunk-YEYMNF7V.js +0 -2327
- package/dist/chunk-YJ74QATP.js +0 -1278
- package/dist/chunk-ZG2HCGAO.js +0 -2784
- package/dist/chunk-ZZN7ZD7J.js +0 -54
- package/dist/cohort-6OCRQQ2S.js +0 -70
- package/dist/condition-SZVXH3VU.js +0 -327
- package/dist/controls-MO6ZND76.js +0 -34
- package/dist/controls.config-P4MSTGL4.js +0 -34
- package/dist/correlation-NMI3CM3T.js +0 -95
- package/dist/customdata.inputui-VCHSCA65.js +0 -284
- package/dist/dataDownload-VQHOTQ5D.js +0 -329
- package/dist/databrowser.ui-ZFOCAG32.js +0 -425
- package/dist/dictionary-S5YCFUWH.js +0 -113
- package/dist/dnaMethylation-MQZLZRGT.js +0 -33
- package/dist/dnaMethylation.integration.spec-H546EBUO.js +0 -198
- package/dist/dofetch-QZIYSC7H.js +0 -48
- package/dist/e2pca-XOXOS3PN.js +0 -344
- package/dist/ep-U6KRL7FR.js +0 -1249
- package/dist/expclust.gdc.spec-HCK65C63.js +0 -302
- package/dist/facet-DCC25KJO.js +0 -519
- package/dist/gb-TIFWFD4Y.js +0 -81
- package/dist/geneExpClustering-6DQEOTOY.js +0 -244
- package/dist/geneExpression-EASRAN6B.js +0 -310
- package/dist/geneExpression-G4YMDCBH.js +0 -33
- package/dist/geneExpression.unit.spec-XVEJYMPX.js +0 -128
- package/dist/geneORA-6UBS5GSC.js +0 -273
- package/dist/geneRanking-UXXYWHNB.js +0 -548
- package/dist/geneVariant-SZRJOXVC.js +0 -289
- package/dist/geneVariant-TKFKARZK.js +0 -36
- package/dist/geneVariant.integration.spec-PXMAYJN3.js +0 -503
- package/dist/genefusion.ui-TJLYXSVL.js +0 -303
- package/dist/geneset-YTBDLEIH.js +0 -203
- package/dist/genomeBrowser.spec-ZO4LFIXE.js +0 -276
- package/dist/grin2-FC4VYU54.js +0 -949
- package/dist/grin2-LIFKBMVK.js +0 -70
- package/dist/hierCluster-56EGAPOR.js +0 -59
- package/dist/hierCluster-DR5NWCXA.js +0 -55
- package/dist/hierCluster.config-NACE3FH2.js +0 -36
- package/dist/hierCluster.integration.spec-PEEXPAS6.js +0 -483
- package/dist/hierCluster.interactivity-OCBGLUJM.js +0 -49
- package/dist/hierCluster.renderers-JNQUSAP4.js +0 -19
- package/dist/imagePlot-GR4JNUGG.js +0 -156
- package/dist/importPlot-4R4BSPVD.js +0 -8
- package/dist/isoformExpression-ST5ZW2NE.js +0 -35
- package/dist/isoformExpression.unit.spec-PPFC5Z7N.js +0 -237
- package/dist/junction-7AKZHOHV.js +0 -36
- package/dist/junction.customTerm-TMV43R7Z.js +0 -16
- package/dist/junction.unit.spec-SZUJXRQ2.js +0 -182
- package/dist/launch.adhoc-RWJQUOJ6.js +0 -37
- package/dist/leftlabel.sample-WRHLVQAQ.js +0 -258
- package/dist/lollipop-ZZWXTM23.js +0 -166
- package/dist/maf-N4XPZTQU.js +0 -455
- package/dist/maftimeline-2FBS6RWS.js +0 -587
- package/dist/matrix-5KEQPB5H.js +0 -59
- package/dist/matrix-RJUNXB5N.js +0 -54
- package/dist/matrix.cells-WXTPOJYB.js +0 -26
- package/dist/matrix.config-ZZFLLD6Z.js +0 -37
- package/dist/matrix.data-3PQ73GVJ.js +0 -23
- package/dist/matrix.groups-U6CKS6WW.js +0 -26
- package/dist/matrix.integration.spec-T53PMVHC.js +0 -3160
- package/dist/matrix.interactivity-3LDZV3F7.js +0 -37
- package/dist/matrix.layout-MINLYQCA.js +0 -39
- package/dist/matrix.legend-6GSDFZHS.js +0 -20
- package/dist/matrix.renderers-5BKOXDE3.js +0 -34
- package/dist/matrix.serieses-6FCFIFAQ.js +0 -19
- package/dist/matrix.sort-EHVVYDZ3.js +0 -26
- package/dist/matrix.sort.unit.spec-BCWE4AFX.js +0 -468
- package/dist/matrix.sorterUi-WL5I6S3K.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-XJR5KXRL.js +0 -338
- package/dist/matrix.unit.spec-TUCKPE26.js +0 -150
- package/dist/mavb-GWSNRBLM.js +0 -727
- package/dist/mds.fimo-OMAQRSMW.js +0 -513
- package/dist/mds.samplescatterplot-4UW3CC45.js +0 -1545
- package/dist/mds.survivalplot-2CJYJBD2.js +0 -477
- package/dist/multivalue-G44MHEYI.js +0 -83
- package/dist/numericDictTermCluster-5BDRGVQG.js +0 -63
- package/dist/oncomatrix-ZTVO23ZH.js +0 -290
- package/dist/oncomatrix.spec-2QVK2A3Q.js +0 -443
- package/dist/plot.2dvaf-CL5YUXKH.js +0 -372
- package/dist/plot.app-4ANKPSNP.js +0 -36
- package/dist/plot.barplot-BMGDNZRA.js +0 -97
- package/dist/plot.boxplot-GMLQCDP6.js +0 -146
- package/dist/plot.brainImaging-RZXX3NUZ.js +0 -51
- package/dist/plot.disco-3MD4J4C7.js +0 -99
- package/dist/plot.ssgq-ZC4UYKOT.js +0 -134
- package/dist/plot.vaf2cov-4DHFMYQV.js +0 -253
- package/dist/polar2-TMB5EITR.js +0 -232
- package/dist/profileForms-GD7BIOOD.js +0 -941
- package/dist/profilePlot-CZLK5E74.js +0 -49
- package/dist/proteinView-FEEEXLKT.js +0 -1357
- package/dist/proteomeCohortCompare-NVLJ2FXX.js +0 -912
- package/dist/pseudbulk.unit.spec-GHQZPNAH.js +0 -86
- package/dist/pseudobulk-G5UQIRKL.js +0 -35
- package/dist/qualitative-EAUUCKU5.js +0 -38
- package/dist/radar2-CJQ2L6KE.js +0 -327
- package/dist/radarFacility2-BLVRZE4V.js +0 -335
- package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +0 -211
- package/dist/render-KKAQPH6Y.js +0 -33
- package/dist/report-OSOJHTSD.js +0 -217
- package/dist/sampleView-WB74RLD7.js +0 -43
- package/dist/samplelst-ZKXV5WOD.js +0 -106
- package/dist/samplematrix-WJFYMWLT.js +0 -2193
- package/dist/sc-RBRBUCLR.js +0 -81
- package/dist/scatter-5K3QTIDK.js +0 -88
- package/dist/scatter-SM7GQENM.js +0 -925
- package/dist/selectGenomeWithTklst-ZZUJ7AQ7.js +0 -129
- package/dist/singleCellCellType-LCF2JNZ2.js +0 -33
- package/dist/singleCellCellType.unit.spec-T6DYH4BC.js +0 -154
- package/dist/singleCellGeneExpression-2XUYTH4C.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-SMRCLOF4.js +0 -148
- package/dist/singleCellNumericValue-57I33FZT.js +0 -33
- package/dist/singleCellNumericValue.unit.spec-4YNB4OEV.js +0 -416
- package/dist/singleCellPlot-L6TKQHGD.js +0 -48
- package/dist/singlecell-LZKR3UDV.js +0 -81
- package/dist/singlecell-UKN2VCXQ.js +0 -1566
- package/dist/snp-3LJITU5B.js +0 -33
- package/dist/snp.unit.spec-ZQNU6XRM.js +0 -171
- package/dist/snplocus-OME7UQBW.js +0 -203
- package/dist/spliceevent.a53ss.diagram-C32IEFMU.js +0 -146
- package/dist/spliceevent.exonskip.diagram-CZ7MVRLK.js +0 -278
- package/dist/spliceevent.noeventdiagram-ZO6R3776.js +0 -455
- package/dist/ssGSEA-BGPQ2PFY.js +0 -33
- package/dist/ssGSEA.unit.spec-U7TBUSSK.js +0 -83
- package/dist/stattable-FISGQCED.js +0 -117
- package/dist/studyCatalog-UHFUT2CJ.js +0 -414
- package/dist/summarizeCnvGeneexp-OVZO6KIB.js +0 -158
- package/dist/summarizeGeneexpSurvival-KVQ4JGWK.js +0 -105
- package/dist/summarizeMutationCnv-RAKGHNLE.js +0 -159
- package/dist/summarizeMutationDiagnosis-LGCINAGG.js +0 -35
- package/dist/summarizeMutationSurvival-J7H7L4FX.js +0 -99
- package/dist/summary-2632JZXH.js +0 -44
- package/dist/summary.integration.spec-5WBS2ZRP.js +0 -409
- package/dist/summaryInput-BH6C3ATV.js +0 -242
- package/dist/sunburst-AMRR2IHM.js +0 -278
- package/dist/survival-2RNJQVFS.js +0 -1248
- package/dist/survival-WYCH4QOQ.js +0 -53
- package/dist/survival.integration.spec-7IFPY4I4.js +0 -613
- package/dist/svgraph-YQWS52ZJ.js +0 -1382
- package/dist/svmr-NRN6LGKK.js +0 -3837
- package/dist/table-3QOMV2NN.js +0 -197
- package/dist/termCollection-2ZJ7TJGO.js +0 -33
- package/dist/termCollection-3MCVR7BA.js +0 -252
- package/dist/termCollection.unit.spec-QYOEA3X6.js +0 -299
- package/dist/termCollectionFractionSelection-5AH6EF4L.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-WPGW4WJN.js +0 -188
- package/dist/tk-DQ7D5UEO.js +0 -41
- package/dist/tk-ONKYBG6R.js +0 -1121
- package/dist/tp.ui-C7BTMHEI.js +0 -1454
- package/dist/tvs.dt-PLRMK7OT.js +0 -34
- package/dist/tvs.dtcnv.categorical-IZUY2AQO.js +0 -35
- package/dist/tvs.dtcnv.continuous-ENV3RHHA.js +0 -67
- package/dist/tvs.dtfusion-2DVCV6AM.js +0 -35
- package/dist/tvs.dtitd-XNDIRQYU.js +0 -35
- package/dist/tvs.dtsnvindel-4D3G7XSF.js +0 -35
- package/dist/tvs.dtsv-QYMIMC4Z.js +0 -35
- package/dist/tvs.samplelst-2KEU2ZWB.js +0 -98
- package/dist/tvs.termCollection-FEY746V5.js +0 -124
- package/dist/vocabulary-BR4NJDPS.js +0 -36
- package/dist/wsi.direct-JWDUNHIO.js +0 -8343
- /package/dist/{2dmaf-43QBND66.js.map → 2dmaf-7VZ536T5.js.map} +0 -0
- /package/dist/{AggMatrixInput-X7NGFUHH.js.map → AggMatrixInput-UTUOXTGA.js.map} +0 -0
- /package/dist/{AggregateMatrix-M4HRI4PX.js.map → AggregateMatrix-X75HUZYO.js.map} +0 -0
- /package/dist/{AppHeader-QBRQN6PM.js.map → AppHeader-X2DR6VSM.js.map} +0 -0
- /package/dist/{BoxPlot-V6SPSEQ2.js.map → BoxPlot-NQMPJICU.js.map} +0 -0
- /package/dist/{CorrelationVolcano-UFPCYC77.js.map → CorrelationVolcano-IDBUJH2E.js.map} +0 -0
- /package/dist/{Cuminc-KXGXGLKZ.js.map → Cuminc-BYFIMOLO.js.map} +0 -0
- /package/dist/{DE-K2YXHOOW.js.map → DE-BI7DHHW4.js.map} +0 -0
- /package/dist/{DEinput-O6LBFAAH.js.map → DEinput-W66CT4U2.js.map} +0 -0
- /package/dist/{DM-C7VN3RWB.js.map → DM-62TEJA3C.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-A2BU4WB3.js.map → DifferentialAnalysis-PRTA6CYW.js.map} +0 -0
- /package/dist/{Disco-HECQVKXG.js.map → Disco-4JQP3FRW.js.map} +0 -0
- /package/dist/{Disco.UI-XF2GEKRW.js.map → Disco.UI-6RHAA5KU.js.map} +0 -0
- /package/dist/{DmrPlot-TVXVXOHL.js.map → DmrPlot-VYQYMTQ7.js.map} +0 -0
- /package/dist/{GSEA-Z4YPI4HY.js.map → GSEA-DT3SYXOZ.js.map} +0 -0
- /package/dist/{GeneExpInput-VBIZZV27.js.map → GeneExpInput-UILWAGRH.js.map} +0 -0
- /package/dist/{Geomap-UIIOLRFA.js.map → Geomap-AFKEGMR5.js.map} +0 -0
- /package/dist/{HicApp-73ESVNBA.js.map → HicApp-APDL5POY.js.map} +0 -0
- /package/dist/{IDCViewer-RBYN5A4P.js.map → IDCViewer-DQXAORHT.js.map} +0 -0
- /package/dist/{NumBinaryEditor-DJLSNSLE.js.map → NumBinaryEditor-OUVIOEH7.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-LCJHL3XM.js.map → NumBinaryEditor.unit.spec-VBX2X4CT.js.map} +0 -0
- /package/dist/{NumContEditor-SVLDJ2ML.js.map → NumContEditor-JVPRBZPW.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-JDMSK4HY.js.map → NumContEditor.unit.spec-EQNB6RMI.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-BI63AH3R.js.map → NumCustomBinEditor-E2SXZDF4.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-5433G7Y2.js.map → NumCustomBinEditor.unit.spec-VLR7MGNL.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-LEZTGXAV.js.map → NumDiscreteEditor-CUA55FU3.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-5OEORHJ4.js.map → NumDiscreteEditor.unit.spec-7IPCMUDQ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-EXWHIWPM.js.map → NumRegularBinEditor-CWU7YBEP.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-QY25Z2TT.js.map → NumRegularBinEditor.unit.spec-RGV3EUPC.js.map} +0 -0
- /package/dist/{NumSplineEditor-XPPMYYAD.js.map → NumSplineEditor-PC5X7AUJ.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-GOGBKWMN.js.map → NumSplineEditor.unit.spec-QCR3RL5W.js.map} +0 -0
- /package/dist/{NumericDensity-RKY2IQ72.js.map → NumericDensity-CFUEE5ZN.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-5ZM6ICXM.js.map → NumericDensity.unit.spec-JOCVEC32.js.map} +0 -0
- /package/dist/{NumericHandler-FXF3M5M3.js.map → NumericHandler-VL2Z55KF.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-M2OQTBJX.js.map → NumericHandler.unit.spec-ULM5FSSA.js.map} +0 -0
- /package/dist/{ProteomeInput-TMZ3THRL.js.map → ProteomeInput-3WKTVCYT.js.map} +0 -0
- /package/dist/{Regression-GQGAATHG.js.map → Regression-M7AQTYXL.js.map} +0 -0
- /package/dist/{RunChart2-7GNDWRKC.js.map → RunChart2-54SVOXJR.js.map} +0 -0
- /package/dist/{SC-R2I2EMHA.js.map → SC-QRWDGHB2.js.map} +0 -0
- /package/dist/{Violin-GKKEB55L.js.map → Violin-2AD6QRJB.js.map} +0 -0
- /package/dist/{Wsi-OHRCGYYD.js.map → Wsi-U3U3EILE.js.map} +0 -0
- /package/dist/{adSandbox-H56B25WR.js.map → adSandbox-S3JP7XF3.js.map} +0 -0
- /package/dist/{animatedBubbleChart-7SXFHU4J.js.map → animatedBubbleChart-LZKNERIM.js.map} +0 -0
- /package/dist/{app-22JCSULA.js.map → app-2MERLGNJ.js.map} +0 -0
- /package/dist/{app-RGZJB6LN.js.map → app-ZNSUUOFJ.js.map} +0 -0
- /package/dist/{bam-HA65TRGX.js.map → bam-ESRPS4TQ.js.map} +0 -0
- /package/dist/{barchart-6XO75OMA.js.map → barchart-BPUEO4RK.js.map} +0 -0
- /package/dist/{barchart2-6E5BIRHD.js.map → barchart2-Z36PNSM2.js.map} +0 -0
- /package/dist/{block-43KNTXZ5.js.map → block-GEG4UUOU.js.map} +0 -0
- /package/dist/{block.init-TPU5QIPA.js.map → block.init-SB6OX35E.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-QZDRFXCH.js.map → block.mds.expressionrank-2JLMS334.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-64QVBK5Q.js.map → block.mds.geneboxplot-BZMGG6G3.js.map} +0 -0
- /package/dist/{block.mds.junction-I4J6VXNT.js.map → block.mds.junction-636PWE2O.js.map} +0 -0
- /package/dist/{block.mds.svcnv-GDQMSQFF.js.map → block.mds.svcnv-S4L2HMZW.js.map} +0 -0
- /package/dist/{block.svg-2MZFT5QP.js.map → block.svg-A7EABUXG.js.map} +0 -0
- /package/dist/{block.tk.aicheck-2MKHF6LX.js.map → block.tk.aicheck-KNFJVUTW.js.map} +0 -0
- /package/dist/{block.tk.ase-CLYGKFTS.js.map → block.tk.ase-BPU25OLX.js.map} +0 -0
- /package/dist/{block.tk.bam-XTR4QA5Z.js.map → block.tk.bam-VC4CZCUS.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-A2P2CXRU.js.map → block.tk.bedgraphdot-FQS4Z4RC.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-YZH6JXEO.js.map → block.tk.bigwig.ui-7STXSD3X.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-QBK5VWGU.js.map → block.tk.hicstraw-CVDCOMPP.js.map} +0 -0
- /package/dist/{block.tk.junction-5DEVBA7G.js.map → block.tk.junction-PG4RZFH3.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-7TTQMO6W.js.map → block.tk.junction.textmatrixui-JRW4ZJIK.js.map} +0 -0
- /package/dist/{block.tk.ld-PRIVUPKL.js.map → block.tk.ld-DLDP2NHJ.js.map} +0 -0
- /package/dist/{block.tk.menu-JGBRFSS3.js.map → block.tk.menu-PWGFMKBQ.js.map} +0 -0
- /package/dist/{block.tk.pgv-KQJCJMVD.js.map → block.tk.pgv-HOBOXQIN.js.map} +0 -0
- /package/dist/{brainImaging-4SLVJ2HV.js.map → brainImaging-GUQTOHQF.js.map} +0 -0
- /package/dist/{brainRegions-BDIVM2SG.js.map → brainRegions-JWBIBCTG.js.map} +0 -0
- /package/dist/{bubbleHeatmap-ORKFJNEQ.js.map → bubbleHeatmap-EUO3DUVT.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-VOHLI4P7.js.map → cellTypeBubbleHeatmap-TIBGPZTB.js.map} +0 -0
- /package/dist/{chunk-U6BJ4ZNU.js.map → chunk-3CGAABHZ.js.map} +0 -0
- /package/dist/{chunk-CKOU3P27.js.map → chunk-3ELYMSGO.js.map} +0 -0
- /package/dist/{chunk-DSBRHWZ7.js.map → chunk-3QL3U6FU.js.map} +0 -0
- /package/dist/{chunk-BK6UDL7F.js.map → chunk-3TV5WWUN.js.map} +0 -0
- /package/dist/{chunk-KIAMLQ7S.js.map → chunk-4Y5W26UF.js.map} +0 -0
- /package/dist/{chunk-NQNVLZOA.js.map → chunk-5XE3WSUX.js.map} +0 -0
- /package/dist/{chunk-CFZ2ZW3E.js.map → chunk-665X7R7S.js.map} +0 -0
- /package/dist/{chunk-PU5FQWAY.js.map → chunk-6MQPXWOR.js.map} +0 -0
- /package/dist/{chunk-P4LGA36F.js.map → chunk-7DSL65G7.js.map} +0 -0
- /package/dist/{chunk-RI65SIN3.js.map → chunk-A6F3CSXP.js.map} +0 -0
- /package/dist/{chunk-SFHG6H2D.js.map → chunk-AB6JQFIQ.js.map} +0 -0
- /package/dist/{chunk-2HNJF5ZI.js.map → chunk-ACOHIDWO.js.map} +0 -0
- /package/dist/{chunk-ADRFQ5AL.js.map → chunk-AIVPAC5Q.js.map} +0 -0
- /package/dist/{chunk-K7RW5TPU.js.map → chunk-AKKJFMW5.js.map} +0 -0
- /package/dist/{chunk-VROF55EH.js.map → chunk-AR2UIN77.js.map} +0 -0
- /package/dist/{chunk-JDVBUIEU.js.map → chunk-AXF6SVNQ.js.map} +0 -0
- /package/dist/{chunk-MNXL2UV5.js.map → chunk-BLYD6SQO.js.map} +0 -0
- /package/dist/{chunk-S2ICJ3RZ.js.map → chunk-BSWPONNA.js.map} +0 -0
- /package/dist/{chunk-OUIXGM3K.js.map → chunk-BX3P73XH.js.map} +0 -0
- /package/dist/{chunk-QBNDPW7O.js.map → chunk-CW35X5ZL.js.map} +0 -0
- /package/dist/{chunk-2LNGHIOC.js.map → chunk-D4XHYQNS.js.map} +0 -0
- /package/dist/{chunk-6FYQYTV6.js.map → chunk-DH74ZT37.js.map} +0 -0
- /package/dist/{chunk-6RP6CR4Q.js.map → chunk-E76UYIT2.js.map} +0 -0
- /package/dist/{chunk-26N3B2JO.js.map → chunk-EM6KUVI5.js.map} +0 -0
- /package/dist/{chunk-IJ7AIDEO.js.map → chunk-F4GYWCRF.js.map} +0 -0
- /package/dist/{chunk-QD75Q5LM.js.map → chunk-FJ3JD7B3.js.map} +0 -0
- /package/dist/{chunk-ZZN7ZD7J.js.map → chunk-FW3ME75U.js.map} +0 -0
- /package/dist/{chunk-TQ2DVEQO.js.map → chunk-G2X2PN74.js.map} +0 -0
- /package/dist/{chunk-RPGLLO4T.js.map → chunk-G3QKTYUT.js.map} +0 -0
- /package/dist/{chunk-PZ2OSHBF.js.map → chunk-G5USS6FI.js.map} +0 -0
- /package/dist/{chunk-NI5CVN43.js.map → chunk-GLPTPX45.js.map} +0 -0
- /package/dist/{chunk-CT4IG5IR.js.map → chunk-GPY6SBCX.js.map} +0 -0
- /package/dist/{chunk-D6UBH77N.js.map → chunk-GWHIKECP.js.map} +0 -0
- /package/dist/{chunk-G7RUMSHL.js.map → chunk-GWVVEOYX.js.map} +0 -0
- /package/dist/{chunk-I25LKYC4.js.map → chunk-HDV3LHCN.js.map} +0 -0
- /package/dist/{chunk-YEYMNF7V.js.map → chunk-HGXSYPU6.js.map} +0 -0
- /package/dist/{chunk-G4H34RNK.js.map → chunk-HMKEVTRM.js.map} +0 -0
- /package/dist/{chunk-JBFVJHZN.js.map → chunk-HPCKKXRK.js.map} +0 -0
- /package/dist/{chunk-NDOKW2HJ.js.map → chunk-J5JBHGRN.js.map} +0 -0
- /package/dist/{chunk-RFSOP75Z.js.map → chunk-JHOGTGIS.js.map} +0 -0
- /package/dist/{chunk-GXFS25SK.js.map → chunk-KCX54MGS.js.map} +0 -0
- /package/dist/{chunk-53XNEXR6.js.map → chunk-KVRSO2OZ.js.map} +0 -0
- /package/dist/{chunk-YBNIOGUE.js.map → chunk-M4PUW3ML.js.map} +0 -0
- /package/dist/{chunk-XQYDXA47.js.map → chunk-ME325OQC.js.map} +0 -0
- /package/dist/{chunk-Y7V5AIUH.js.map → chunk-NJWNKBRC.js.map} +0 -0
- /package/dist/{chunk-NOBXDQDU.js.map → chunk-O5FUHCNU.js.map} +0 -0
- /package/dist/{chunk-RXNZK7MF.js.map → chunk-ODHQPTHU.js.map} +0 -0
- /package/dist/{chunk-IBT6WRY6.js.map → chunk-PTQ4GQCS.js.map} +0 -0
- /package/dist/{chunk-AUZ63NKJ.js.map → chunk-PUSSP76H.js.map} +0 -0
- /package/dist/{chunk-JTANDSTD.js.map → chunk-Q3PAXUCU.js.map} +0 -0
- /package/dist/{chunk-R5PKBL7V.js.map → chunk-QWBKN2IC.js.map} +0 -0
- /package/dist/{chunk-LBCIXRI2.js.map → chunk-R4E7BXC6.js.map} +0 -0
- /package/dist/{chunk-3SCQGODD.js.map → chunk-SDYFM3UL.js.map} +0 -0
- /package/dist/{chunk-VWA7BYSV.js.map → chunk-SP6WCXY6.js.map} +0 -0
- /package/dist/{chunk-X37BRSGS.js.map → chunk-SRTZQOK7.js.map} +0 -0
- /package/dist/{chunk-UXD6G6G4.js.map → chunk-T4RYLTR3.js.map} +0 -0
- /package/dist/{chunk-EDZJ3VNZ.js.map → chunk-TANWA6SU.js.map} +0 -0
- /package/dist/{chunk-DS4GLMJL.js.map → chunk-TBIHBC5V.js.map} +0 -0
- /package/dist/{chunk-YJ74QATP.js.map → chunk-TGTCOCPF.js.map} +0 -0
- /package/dist/{chunk-VH5W6ODW.js.map → chunk-TOFOT2BN.js.map} +0 -0
- /package/dist/{chunk-B563DUNQ.js.map → chunk-UOYIPBTX.js.map} +0 -0
- /package/dist/{chunk-ZG2HCGAO.js.map → chunk-USULBM4V.js.map} +0 -0
- /package/dist/{chunk-5UB5H7A3.js.map → chunk-V3WSMWBF.js.map} +0 -0
- /package/dist/{chunk-VA57CUC7.js.map → chunk-VTHZGUSZ.js.map} +0 -0
- /package/dist/{chunk-A5D37SIL.js.map → chunk-WMQDFVJK.js.map} +0 -0
- /package/dist/{chunk-4G73CMUL.js.map → chunk-WTQQWFV4.js.map} +0 -0
- /package/dist/{chunk-4XYQG3XU.js.map → chunk-XDLKYVYU.js.map} +0 -0
- /package/dist/{chunk-FSLOUTTK.js.map → chunk-XNJN5J3U.js.map} +0 -0
- /package/dist/{chunk-NULFGPE3.js.map → chunk-XQLOEZ7T.js.map} +0 -0
- /package/dist/{chunk-3FEP6B5T.js.map → chunk-Y3SDMRDX.js.map} +0 -0
- /package/dist/{chunk-47STLK7K.js.map → chunk-Y5FE3G6J.js.map} +0 -0
- /package/dist/{chunk-XXPUZVS4.js.map → chunk-YMEWZVRG.js.map} +0 -0
- /package/dist/{chunk-F47A4CVK.js.map → chunk-YPHFEKWI.js.map} +0 -0
- /package/dist/{chunk-DX35MKPR.js.map → chunk-Z4HW3FEE.js.map} +0 -0
- /package/dist/{cohort-6OCRQQ2S.js.map → cohort-NYFUILFO.js.map} +0 -0
- /package/dist/{condition-SZVXH3VU.js.map → condition-6M4AVISY.js.map} +0 -0
- /package/dist/{controls-MO6ZND76.js.map → controls-LMTWS3SY.js.map} +0 -0
- /package/dist/{controls.config-P4MSTGL4.js.map → controls.config-4PK7HLFJ.js.map} +0 -0
- /package/dist/{correlation-NMI3CM3T.js.map → correlation-X6GB6ITK.js.map} +0 -0
- /package/dist/{customdata.inputui-VCHSCA65.js.map → customdata.inputui-MDG3BTTG.js.map} +0 -0
- /package/dist/{dataDownload-VQHOTQ5D.js.map → dataDownload-TFRI3VFM.js.map} +0 -0
- /package/dist/{databrowser.ui-ZFOCAG32.js.map → databrowser.ui-L2K7VVDW.js.map} +0 -0
- /package/dist/{dictionary-S5YCFUWH.js.map → dictionary-MS6R3VNY.js.map} +0 -0
- /package/dist/{dnaMethylation-MQZLZRGT.js.map → dnaMethylation-2KYSQWNE.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-H546EBUO.js.map → dnaMethylation.integration.spec-2BHNKOGN.js.map} +0 -0
- /package/dist/{dofetch-QZIYSC7H.js.map → dofetch-BETN7HEX.js.map} +0 -0
- /package/dist/{e2pca-XOXOS3PN.js.map → e2pca-QC2EI5JM.js.map} +0 -0
- /package/dist/{ep-U6KRL7FR.js.map → ep-BTRMR4OT.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-HCK65C63.js.map → expclust.gdc.spec-C5ZMBCGO.js.map} +0 -0
- /package/dist/{facet-DCC25KJO.js.map → facet-LPXKLX53.js.map} +0 -0
- /package/dist/{gb-TIFWFD4Y.js.map → gb-PHJ2SM5D.js.map} +0 -0
- /package/dist/{geneExpClustering-6DQEOTOY.js.map → geneExpClustering-OXZJHEPD.js.map} +0 -0
- /package/dist/{geneExpression-EASRAN6B.js.map → geneExpression-54RGEGML.js.map} +0 -0
- /package/dist/{geneExpression-G4YMDCBH.js.map → geneExpression-FLBQXMSX.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-XVEJYMPX.js.map → geneExpression.unit.spec-ZCE7G6HI.js.map} +0 -0
- /package/dist/{geneORA-6UBS5GSC.js.map → geneORA-TELI5AFV.js.map} +0 -0
- /package/dist/{geneRanking-UXXYWHNB.js.map → geneRanking-7YZA5GNG.js.map} +0 -0
- /package/dist/{geneVariant-TKFKARZK.js.map → geneVariant-NJYUEY4C.js.map} +0 -0
- /package/dist/{geneVariant-SZRJOXVC.js.map → geneVariant-VKWTXUMK.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-PXMAYJN3.js.map → geneVariant.integration.spec-RWYP523U.js.map} +0 -0
- /package/dist/{genefusion.ui-TJLYXSVL.js.map → genefusion.ui-B6J7I3RA.js.map} +0 -0
- /package/dist/{geneset-YTBDLEIH.js.map → geneset-VG4SFYML.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-ZO4LFIXE.js.map → genomeBrowser.spec-5IS5Y2NG.js.map} +0 -0
- /package/dist/{grin2-LIFKBMVK.js.map → grin2-3T6KRC34.js.map} +0 -0
- /package/dist/{grin2-FC4VYU54.js.map → grin2-FOOH736B.js.map} +0 -0
- /package/dist/{hierCluster-56EGAPOR.js.map → hierCluster-WLAFGZAT.js.map} +0 -0
- /package/dist/{hierCluster-DR5NWCXA.js.map → hierCluster-XBL2TOOL.js.map} +0 -0
- /package/dist/{hierCluster.config-NACE3FH2.js.map → hierCluster.config-VCBRBGDZ.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-PEEXPAS6.js.map → hierCluster.integration.spec-TNJD2QT6.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-OCBGLUJM.js.map → hierCluster.interactivity-PEEJ3BRC.js.map} +0 -0
- /package/dist/{hierCluster.renderers-JNQUSAP4.js.map → hierCluster.renderers-7ESGKIGM.js.map} +0 -0
- /package/dist/{imagePlot-GR4JNUGG.js.map → imagePlot-LWL6JMKM.js.map} +0 -0
- /package/dist/{importPlot-4R4BSPVD.js.map → importPlot-CLBY6QZN.js.map} +0 -0
- /package/dist/{isoformExpression-ST5ZW2NE.js.map → isoformExpression-36P3BBN7.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-PPFC5Z7N.js.map → isoformExpression.unit.spec-SF2SPTRC.js.map} +0 -0
- /package/dist/{junction-7AKZHOHV.js.map → junction-B7DSIG4E.js.map} +0 -0
- /package/dist/{junction.customTerm-TMV43R7Z.js.map → junction.customTerm-7VZS4JDE.js.map} +0 -0
- /package/dist/{junction.unit.spec-SZUJXRQ2.js.map → junction.unit.spec-4MWU36MR.js.map} +0 -0
- /package/dist/{launch.adhoc-RWJQUOJ6.js.map → launch.adhoc-3B34GV4S.js.map} +0 -0
- /package/dist/{leftlabel.sample-WRHLVQAQ.js.map → leftlabel.sample-6OM5H67E.js.map} +0 -0
- /package/dist/{lollipop-ZZWXTM23.js.map → lollipop-SL2F5G6K.js.map} +0 -0
- /package/dist/{maf-N4XPZTQU.js.map → maf-FRYGN5GR.js.map} +0 -0
- /package/dist/{maftimeline-2FBS6RWS.js.map → maftimeline-3UFWS73J.js.map} +0 -0
- /package/dist/{matrix-5KEQPB5H.js.map → matrix-DDKSOJ4C.js.map} +0 -0
- /package/dist/{matrix-RJUNXB5N.js.map → matrix-H2ZH2QKC.js.map} +0 -0
- /package/dist/{matrix.cells-WXTPOJYB.js.map → matrix.cells-JTMC35SK.js.map} +0 -0
- /package/dist/{matrix.config-ZZFLLD6Z.js.map → matrix.config-EUBXWEBS.js.map} +0 -0
- /package/dist/{matrix.data-3PQ73GVJ.js.map → matrix.data-CO5RBWY5.js.map} +0 -0
- /package/dist/{matrix.groups-U6CKS6WW.js.map → matrix.groups-AKOJ2W6U.js.map} +0 -0
- /package/dist/{matrix.integration.spec-T53PMVHC.js.map → matrix.integration.spec-66KNZO3S.js.map} +0 -0
- /package/dist/{matrix.interactivity-3LDZV3F7.js.map → matrix.interactivity-DY5YJIYB.js.map} +0 -0
- /package/dist/{matrix.layout-MINLYQCA.js.map → matrix.layout-MQQNHBI2.js.map} +0 -0
- /package/dist/{matrix.legend-6GSDFZHS.js.map → matrix.legend-CGU7T6GF.js.map} +0 -0
- /package/dist/{matrix.renderers-5BKOXDE3.js.map → matrix.renderers-HC7PJN4B.js.map} +0 -0
- /package/dist/{matrix.serieses-6FCFIFAQ.js.map → matrix.serieses-W4L6ZO37.js.map} +0 -0
- /package/dist/{matrix.sort-EHVVYDZ3.js.map → matrix.sort-T74DWFB2.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-BCWE4AFX.js.map → matrix.sort.unit.spec-EQEHQXTO.js.map} +0 -0
- /package/dist/{matrix.sorterUi-WL5I6S3K.js.map → matrix.sorterUi-GFQG4HFV.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-XJR5KXRL.js.map → matrix.sorterUi.unit.spec-XQHFOEYE.js.map} +0 -0
- /package/dist/{matrix.unit.spec-TUCKPE26.js.map → matrix.unit.spec-4ZWUGZUC.js.map} +0 -0
- /package/dist/{mavb-GWSNRBLM.js.map → mavb-3CL5OHWB.js.map} +0 -0
- /package/dist/{mds.fimo-OMAQRSMW.js.map → mds.fimo-2RFJQKJM.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-4UW3CC45.js.map → mds.samplescatterplot-X6CXMY4C.js.map} +0 -0
- /package/dist/{mds.survivalplot-2CJYJBD2.js.map → mds.survivalplot-57NIKSSH.js.map} +0 -0
- /package/dist/{multivalue-G44MHEYI.js.map → multivalue-3TUGYL4J.js.map} +0 -0
- /package/dist/{numericDictTermCluster-5BDRGVQG.js.map → numericDictTermCluster-RLX5CLTN.js.map} +0 -0
- /package/dist/{oncomatrix-ZTVO23ZH.js.map → oncomatrix-COK76MJN.js.map} +0 -0
- /package/dist/{oncomatrix.spec-2QVK2A3Q.js.map → oncomatrix.spec-SO3ZN5BF.js.map} +0 -0
- /package/dist/{plot.2dvaf-CL5YUXKH.js.map → plot.2dvaf-TETCE4VG.js.map} +0 -0
- /package/dist/{plot.app-4ANKPSNP.js.map → plot.app-5YUAVZA4.js.map} +0 -0
- /package/dist/{plot.barplot-BMGDNZRA.js.map → plot.barplot-JUGY5Z7A.js.map} +0 -0
- /package/dist/{plot.boxplot-GMLQCDP6.js.map → plot.boxplot-QZXICT7J.js.map} +0 -0
- /package/dist/{plot.brainImaging-RZXX3NUZ.js.map → plot.brainImaging-2F6E6QS4.js.map} +0 -0
- /package/dist/{plot.disco-3MD4J4C7.js.map → plot.disco-H4P4B6QS.js.map} +0 -0
- /package/dist/{plot.ssgq-ZC4UYKOT.js.map → plot.ssgq-LEQF3STZ.js.map} +0 -0
- /package/dist/{plot.vaf2cov-4DHFMYQV.js.map → plot.vaf2cov-UBMD2CN7.js.map} +0 -0
- /package/dist/{polar2-TMB5EITR.js.map → polar2-AVEZM2T5.js.map} +0 -0
- /package/dist/{profileForms-GD7BIOOD.js.map → profileForms-CUSUGTPC.js.map} +0 -0
- /package/dist/{profilePlot-CZLK5E74.js.map → profilePlot-67Z7AXQ4.js.map} +0 -0
- /package/dist/{proteinView-FEEEXLKT.js.map → proteinView-7K7VHGX3.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-NVLJ2FXX.js.map → proteomeCohortCompare-MRGH6HHI.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-GHQZPNAH.js.map → pseudbulk.unit.spec-ZHDL6GIM.js.map} +0 -0
- /package/dist/{pseudobulk-G5UQIRKL.js.map → pseudobulk-ZNXPF7QB.js.map} +0 -0
- /package/dist/{qualitative-EAUUCKU5.js.map → qualitative-QXMZHDWU.js.map} +0 -0
- /package/dist/{radar2-CJQ2L6KE.js.map → radar2-QJDGNLED.js.map} +0 -0
- /package/dist/{radarFacility2-BLVRZE4V.js.map → radarFacility2-LGGOOWX4.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-DYRO2LO5.js.map → rememberedGvQ.unit.spec-YKUMMYFT.js.map} +0 -0
- /package/dist/{render-KKAQPH6Y.js.map → render-LSSRZJY3.js.map} +0 -0
- /package/dist/{report-OSOJHTSD.js.map → report-TTECPO44.js.map} +0 -0
- /package/dist/{sampleView-WB74RLD7.js.map → sampleView-EFS2UBRS.js.map} +0 -0
- /package/dist/{samplelst-ZKXV5WOD.js.map → samplelst-FXULLJBO.js.map} +0 -0
- /package/dist/{samplematrix-WJFYMWLT.js.map → samplematrix-MNFCXOWO.js.map} +0 -0
- /package/dist/{sc-RBRBUCLR.js.map → sc-2BUOXML2.js.map} +0 -0
- /package/dist/{scatter-SM7GQENM.js.map → scatter-AVRTALYY.js.map} +0 -0
- /package/dist/{scatter-5K3QTIDK.js.map → scatter-CPEIVL3K.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-ZZUJ7AQ7.js.map → selectGenomeWithTklst-3BG2ZPPN.js.map} +0 -0
- /package/dist/{singleCellCellType-LCF2JNZ2.js.map → singleCellCellType-QLAEBVN2.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-T6DYH4BC.js.map → singleCellCellType.unit.spec-P4NAWYKL.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-2XUYTH4C.js.map → singleCellGeneExpression-IZ2PMDDL.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-SMRCLOF4.js.map → singleCellGeneExpression.unit.spec-DKBZICJM.js.map} +0 -0
- /package/dist/{singleCellNumericValue-57I33FZT.js.map → singleCellNumericValue-NB3QFH7H.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-4YNB4OEV.js.map → singleCellNumericValue.unit.spec-ZKK2KWRQ.js.map} +0 -0
- /package/dist/{singleCellPlot-L6TKQHGD.js.map → singleCellPlot-ZU655L4Z.js.map} +0 -0
- /package/dist/{singlecell-UKN2VCXQ.js.map → singlecell-NKPTXVHW.js.map} +0 -0
- /package/dist/{singlecell-LZKR3UDV.js.map → singlecell-PEIEFXVU.js.map} +0 -0
- /package/dist/{snp-3LJITU5B.js.map → snp-G55JGINX.js.map} +0 -0
- /package/dist/{snp.unit.spec-ZQNU6XRM.js.map → snp.unit.spec-47CCZKJO.js.map} +0 -0
- /package/dist/{snplocus-OME7UQBW.js.map → snplocus-TRVAEAPF.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-C32IEFMU.js.map → spliceevent.a53ss.diagram-FL2R6F22.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-CZ7MVRLK.js.map → spliceevent.exonskip.diagram-XDZWTJXR.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-ZO6R3776.js.map → spliceevent.noeventdiagram-L322N534.js.map} +0 -0
- /package/dist/{ssGSEA-BGPQ2PFY.js.map → ssGSEA-DZY4LFQY.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-U7TBUSSK.js.map → ssGSEA.unit.spec-P6C3VTVZ.js.map} +0 -0
- /package/dist/{stattable-FISGQCED.js.map → stattable-R7O6OIMB.js.map} +0 -0
- /package/dist/{studyCatalog-UHFUT2CJ.js.map → studyCatalog-OMDE4JRD.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-OVZO6KIB.js.map → summarizeCnvGeneexp-A7HW6FJI.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-KVQ4JGWK.js.map → summarizeGeneexpSurvival-ODI4HGFH.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-RAKGHNLE.js.map → summarizeMutationCnv-C2YB73OL.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-LGCINAGG.js.map → summarizeMutationDiagnosis-4Y322NYU.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-J7H7L4FX.js.map → summarizeMutationSurvival-7IHNURLC.js.map} +0 -0
- /package/dist/{summary-2632JZXH.js.map → summary-E4L5MZTF.js.map} +0 -0
- /package/dist/{summary.integration.spec-5WBS2ZRP.js.map → summary.integration.spec-SDCGE6BQ.js.map} +0 -0
- /package/dist/{summaryInput-BH6C3ATV.js.map → summaryInput-DHIMU5DM.js.map} +0 -0
- /package/dist/{sunburst-AMRR2IHM.js.map → sunburst-ULNPFEAM.js.map} +0 -0
- /package/dist/{survival-WYCH4QOQ.js.map → survival-CU4N5KZO.js.map} +0 -0
- /package/dist/{survival-2RNJQVFS.js.map → survival-KWWH6REE.js.map} +0 -0
- /package/dist/{survival.integration.spec-7IFPY4I4.js.map → survival.integration.spec-UW6SYVLP.js.map} +0 -0
- /package/dist/{svgraph-YQWS52ZJ.js.map → svgraph-HFI6NNF3.js.map} +0 -0
- /package/dist/{svmr-NRN6LGKK.js.map → svmr-VHS7Z4SO.js.map} +0 -0
- /package/dist/{table-3QOMV2NN.js.map → table-GJUXHKQI.js.map} +0 -0
- /package/dist/{termCollection-2ZJ7TJGO.js.map → termCollection-CCZ4BFIU.js.map} +0 -0
- /package/dist/{termCollection-3MCVR7BA.js.map → termCollection-O5CQ472U.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-QYOEA3X6.js.map → termCollection.unit.spec-KR5G6JFU.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-5AH6EF4L.js.map → termCollectionFractionSelection-IKU5MFBT.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-WPGW4WJN.js.map → termCollectionFractionSelection.unit.spec-6ZWHNGES.js.map} +0 -0
- /package/dist/{tk-DQ7D5UEO.js.map → tk-3DLMAFW7.js.map} +0 -0
- /package/dist/{tk-ONKYBG6R.js.map → tk-CAYWF7LX.js.map} +0 -0
- /package/dist/{tp.ui-C7BTMHEI.js.map → tp.ui-NF5ZYOHW.js.map} +0 -0
- /package/dist/{tvs.dt-PLRMK7OT.js.map → tvs.dt-43A4SSLG.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-IZUY2AQO.js.map → tvs.dtcnv.categorical-DYXHUNP2.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-ENV3RHHA.js.map → tvs.dtcnv.continuous-NOKNP4UG.js.map} +0 -0
- /package/dist/{tvs.dtfusion-2DVCV6AM.js.map → tvs.dtfusion-4NAOCC2X.js.map} +0 -0
- /package/dist/{tvs.dtitd-XNDIRQYU.js.map → tvs.dtitd-SZC6EITI.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-4D3G7XSF.js.map → tvs.dtsnvindel-EYSBCNQK.js.map} +0 -0
- /package/dist/{tvs.dtsv-QYMIMC4Z.js.map → tvs.dtsv-VSPWIIFO.js.map} +0 -0
- /package/dist/{tvs.samplelst-2KEU2ZWB.js.map → tvs.samplelst-3YQ4GKNG.js.map} +0 -0
- /package/dist/{tvs.termCollection-FEY746V5.js.map → tvs.termCollection-EVM4ATPW.js.map} +0 -0
- /package/dist/{vocabulary-BR4NJDPS.js.map → vocabulary-HCPEIO2P.js.map} +0 -0
- /package/dist/{wsi.direct-JWDUNHIO.js.map → wsi.direct-K2J6GGWY.js.map} +0 -0
|
@@ -0,0 +1,1357 @@
|
|
|
1
|
+
import {
|
|
2
|
+
closeTilePanes,
|
|
3
|
+
getLog2Ratio,
|
|
4
|
+
getTileConfig,
|
|
5
|
+
launchViolinPlot,
|
|
6
|
+
makeTileGrid,
|
|
7
|
+
prepareTileData,
|
|
8
|
+
renderCoverageLine,
|
|
9
|
+
renderOverviewVolcanoCard,
|
|
10
|
+
renderPTMSummaryCard,
|
|
11
|
+
renderPlaceholderTiles,
|
|
12
|
+
renderStudyTiles
|
|
13
|
+
} from "./chunk-HPCKKXRK.js";
|
|
14
|
+
import "./chunk-ILEXRHF7.js";
|
|
15
|
+
import {
|
|
16
|
+
DataPointInteractions,
|
|
17
|
+
LegendCircleReference,
|
|
18
|
+
PlotBase,
|
|
19
|
+
addGeneSearchbox,
|
|
20
|
+
axisstyle,
|
|
21
|
+
make_radios,
|
|
22
|
+
shapeSelector,
|
|
23
|
+
shapes,
|
|
24
|
+
table2col,
|
|
25
|
+
to_svg
|
|
26
|
+
} from "./chunk-CSAS3PVJ.js";
|
|
27
|
+
import {
|
|
28
|
+
aa2gmcoord
|
|
29
|
+
} from "./chunk-HJ6L54YS.js";
|
|
30
|
+
import "./chunk-KV4W2ACA.js";
|
|
31
|
+
import "./chunk-T4RYLTR3.js";
|
|
32
|
+
import {
|
|
33
|
+
Menu
|
|
34
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
35
|
+
import "./chunk-Y3SDMRDX.js";
|
|
36
|
+
import "./chunk-EEB5VE2A.js";
|
|
37
|
+
import {
|
|
38
|
+
icons
|
|
39
|
+
} from "./chunk-6RRZRISL.js";
|
|
40
|
+
import "./chunk-2KM4PRQM.js";
|
|
41
|
+
import {
|
|
42
|
+
dofetch3
|
|
43
|
+
} from "./chunk-VTHZGUSZ.js";
|
|
44
|
+
import "./chunk-3TV5WWUN.js";
|
|
45
|
+
import "./chunk-4Y5W26UF.js";
|
|
46
|
+
import {
|
|
47
|
+
TermTypes,
|
|
48
|
+
getColors,
|
|
49
|
+
mclass
|
|
50
|
+
} from "./chunk-UYKJOBRO.js";
|
|
51
|
+
import {
|
|
52
|
+
copyMerge,
|
|
53
|
+
getCompInit
|
|
54
|
+
} from "./chunk-WINIL2KN.js";
|
|
55
|
+
import "./chunk-PF4DSFDR.js";
|
|
56
|
+
import "./chunk-7X6NF7NI.js";
|
|
57
|
+
import "./chunk-W5J3LTYS.js";
|
|
58
|
+
import {
|
|
59
|
+
axisBottom,
|
|
60
|
+
axisLeft
|
|
61
|
+
} from "./chunk-Z2ZITHT4.js";
|
|
62
|
+
import {
|
|
63
|
+
linear
|
|
64
|
+
} from "./chunk-4OLM3KSB.js";
|
|
65
|
+
import "./chunk-FXQXCOII.js";
|
|
66
|
+
import {
|
|
67
|
+
roundValue
|
|
68
|
+
} from "./chunk-TLT4YIG3.js";
|
|
69
|
+
import "./chunk-5R63Q5KH.js";
|
|
70
|
+
import {
|
|
71
|
+
creator_default,
|
|
72
|
+
select_default
|
|
73
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
74
|
+
import {
|
|
75
|
+
rgb
|
|
76
|
+
} from "./chunk-Q5RDQNIT.js";
|
|
77
|
+
import "./chunk-DQC5FFGV.js";
|
|
78
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
79
|
+
|
|
80
|
+
// plots/proteinView.ts
|
|
81
|
+
var defaultConfig = {
|
|
82
|
+
chartType: "proteinView"
|
|
83
|
+
};
|
|
84
|
+
var COHORT_VOLCANO_HIT_RADIUS_PADDING_PX = 3;
|
|
85
|
+
var COHORT_VOLCANO_HIT_BUFFER_PX = 2;
|
|
86
|
+
var COHORT_VOLCANO_HOVER_RING_SIZE_SCALE = 1.15;
|
|
87
|
+
var COHORT_VOLCANO_HOVER_RING_STROKE_PX = 1.5;
|
|
88
|
+
var COHORT_VOLCANO_HOVER_MAX_COHORTS = 5;
|
|
89
|
+
var ProteinView = class _ProteinView extends PlotBase {
|
|
90
|
+
static {
|
|
91
|
+
this.type = "proteinView";
|
|
92
|
+
}
|
|
93
|
+
constructor(opts, api) {
|
|
94
|
+
super(opts, api);
|
|
95
|
+
this.type = _ProteinView.type;
|
|
96
|
+
this.components = {};
|
|
97
|
+
}
|
|
98
|
+
async init() {
|
|
99
|
+
const holder = this.opts.holder.append("div").style("padding", "10px");
|
|
100
|
+
this.dom = {
|
|
101
|
+
holder,
|
|
102
|
+
body: holder.append("div"),
|
|
103
|
+
tip: new Menu({ padding: "" }),
|
|
104
|
+
header: this.opts.header
|
|
105
|
+
};
|
|
106
|
+
if (this.dom.header) this.dom.header.html("Protein View");
|
|
107
|
+
}
|
|
108
|
+
getState(appState) {
|
|
109
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
110
|
+
if (!config) throw `No plot with id='${this.id}' found`;
|
|
111
|
+
return { config };
|
|
112
|
+
}
|
|
113
|
+
maySetSandboxHeader() {
|
|
114
|
+
if (!this.dom.header) return;
|
|
115
|
+
const term = this.state.config?.tw?.term;
|
|
116
|
+
const header = `Protein View: ${term?.name}`;
|
|
117
|
+
this.dom.header.text(header);
|
|
118
|
+
}
|
|
119
|
+
async main() {
|
|
120
|
+
const term = this.state.config?.tw?.term;
|
|
121
|
+
if (!term?.name) throw new Error("proteinView: selected protein term is missing");
|
|
122
|
+
const body = {
|
|
123
|
+
genome: this.app.opts.state.vocab.genome,
|
|
124
|
+
dslabel: this.app.opts.state.vocab.dslabel,
|
|
125
|
+
term: this.state.config.tw,
|
|
126
|
+
filter: this.state.config.filter,
|
|
127
|
+
filter0: this.state.config.filter0
|
|
128
|
+
};
|
|
129
|
+
this.maySetSandboxHeader();
|
|
130
|
+
closeTilePanes(this);
|
|
131
|
+
const data = await dofetch3("termdb/proteome", { body });
|
|
132
|
+
if (data.error) throw data.error;
|
|
133
|
+
this.dom.body.selectAll("*").remove();
|
|
134
|
+
const tileData = prepareTileData(data, this);
|
|
135
|
+
renderCoverageLine(this.dom.body, tileData);
|
|
136
|
+
const grid = makeTileGrid(this.dom.body);
|
|
137
|
+
renderOverviewVolcanoCard(grid, data, this, {
|
|
138
|
+
onExpandRender: (holder) => {
|
|
139
|
+
renderCohortVolcano(holder, data, this, tileData.ptmSiteCount);
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
const { missing: missingTiles } = renderStudyTiles(grid, tileData, this);
|
|
143
|
+
const ptmDataByOrganism = /* @__PURE__ */ new Map();
|
|
144
|
+
for (const cohortData of data.cohorts || []) {
|
|
145
|
+
if (!cohortData.PTMType) continue;
|
|
146
|
+
const organism = cohortData.organism;
|
|
147
|
+
const isoform = cohortData.isoform;
|
|
148
|
+
const ptmDataByIsoform = ptmDataByOrganism.get(organism) || /* @__PURE__ */ new Map();
|
|
149
|
+
ptmDataByOrganism.set(organism, ptmDataByIsoform);
|
|
150
|
+
const existingCohorts = ptmDataByIsoform.get(isoform);
|
|
151
|
+
if (!existingCohorts) {
|
|
152
|
+
ptmDataByIsoform.set(isoform, [cohortData]);
|
|
153
|
+
} else {
|
|
154
|
+
existingCohorts.push(cohortData);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
const sections = [];
|
|
158
|
+
for (const [organism, byIso] of ptmDataByOrganism) {
|
|
159
|
+
for (const [isoform, cohorts] of byIso) {
|
|
160
|
+
sections.push({ organism, isoform, cohorts, genomeName: cohorts[0].genomeName });
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
let allGenomes = null;
|
|
164
|
+
const baseGenome = this.app.opts.genome;
|
|
165
|
+
const getGenome = async (genomeName) => {
|
|
166
|
+
if (genomeName === baseGenome.name) return baseGenome;
|
|
167
|
+
if (!allGenomes) {
|
|
168
|
+
const result = await dofetch3("genomes");
|
|
169
|
+
allGenomes = result.genomes || {};
|
|
170
|
+
for (const g2 of Object.values(allGenomes)) {
|
|
171
|
+
if (g2.chrlookup || g2.name == baseGenome.name) continue;
|
|
172
|
+
g2.chrlookup = {};
|
|
173
|
+
for (const chr in g2.majorchr) {
|
|
174
|
+
g2.chrlookup[chr.toUpperCase()] = { name: chr, len: g2.majorchr[chr], major: true };
|
|
175
|
+
}
|
|
176
|
+
for (const chr in g2.minorchr || {}) {
|
|
177
|
+
g2.chrlookup[chr.toUpperCase()] = { name: chr, len: g2.minorchr[chr] };
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
const g = allGenomes[genomeName];
|
|
182
|
+
if (!g) throw `genome ${genomeName} not supported`;
|
|
183
|
+
return g;
|
|
184
|
+
};
|
|
185
|
+
const renderPTMSectionsInto = async (holder) => {
|
|
186
|
+
if (sections.length === 1) {
|
|
187
|
+
const s = sections[0];
|
|
188
|
+
const genome = await getGenome(s.genomeName);
|
|
189
|
+
await renderPTMLollipop(holder.append("div"), s.cohorts, this, s.isoform, genome);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
const keyOf = (s) => `${s.organism}${s.isoform}`;
|
|
193
|
+
const selectedKeys = /* @__PURE__ */ new Set([keyOf(sections[0])]);
|
|
194
|
+
let compareMode = false;
|
|
195
|
+
const layoutDiv = holder.append("div").style("display", "flex").style("gap", "16px").style("margin-top", "10px").style("margin-left", "70px").style("align-items", "flex-start");
|
|
196
|
+
const sidebar = layoutDiv.append("div").style("flex", "0 0 220px").style("border", "1px solid #e5e7eb").style("border-radius", "4px").style("padding", "8px").style("font-size", ".85em").style("position", "sticky").style("top", "8px").style("margin-top", "20px").style("max-height", "85vh").style("overflow", "auto");
|
|
197
|
+
const rightPane = layoutDiv.append("div").style("flex", "1 1 auto").style("min-width", "0");
|
|
198
|
+
const sidebarHeader = sidebar.append("div").style("display", "flex").style("flex-direction", "column").style("gap", "6px").style("margin-bottom", "8px");
|
|
199
|
+
sidebarHeader.append("span").style("font-weight", "600").style("font-size", "1.5em").style("text-transform", "uppercase").text("Isoforms");
|
|
200
|
+
const modeToggle = sidebarHeader.append("div").style("display", "inline-flex").style("align-items", "center").style("gap", "6px");
|
|
201
|
+
modeToggle.append("span").style("color", "#6b7280").text("Mode:");
|
|
202
|
+
make_radios({
|
|
203
|
+
holder: modeToggle.append("div").attr("aria-label", "Isoform view mode"),
|
|
204
|
+
options: [
|
|
205
|
+
{ label: "Single", value: "single", checked: true },
|
|
206
|
+
{ label: "Compare", value: "compare" }
|
|
207
|
+
],
|
|
208
|
+
styles: { display: "inline-block" },
|
|
209
|
+
callback: (value) => {
|
|
210
|
+
const asCompare = value === "compare";
|
|
211
|
+
if (asCompare === compareMode) return;
|
|
212
|
+
compareMode = asCompare;
|
|
213
|
+
if (!compareMode && selectedKeys.size > 1) {
|
|
214
|
+
const first = selectedKeys.values().next().value;
|
|
215
|
+
selectedKeys.clear();
|
|
216
|
+
selectedKeys.add(first);
|
|
217
|
+
}
|
|
218
|
+
renderSidebar();
|
|
219
|
+
void renderRight();
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
const sidebarList = sidebar.append("div");
|
|
223
|
+
const sectionsByOrganism = /* @__PURE__ */ new Map();
|
|
224
|
+
for (const s of sections) {
|
|
225
|
+
const arr = sectionsByOrganism.get(s.organism) || [];
|
|
226
|
+
arr.push(s);
|
|
227
|
+
sectionsByOrganism.set(s.organism, arr);
|
|
228
|
+
}
|
|
229
|
+
const showOrganismHeading = sectionsByOrganism.size > 1;
|
|
230
|
+
const renderSidebar = () => {
|
|
231
|
+
sidebarList.selectAll("*").remove();
|
|
232
|
+
for (const [organism, items] of sectionsByOrganism) {
|
|
233
|
+
if (showOrganismHeading) {
|
|
234
|
+
sidebarList.append("div").text(organism).style("font-weight", "600").style("color", "#374151").style("margin", "6px 0 4px 0");
|
|
235
|
+
}
|
|
236
|
+
for (const s of items) {
|
|
237
|
+
const key = keyOf(s);
|
|
238
|
+
const isSelected = selectedKeys.has(key);
|
|
239
|
+
const isSoleSelection = isSelected && selectedKeys.size === 1;
|
|
240
|
+
const toggleSelection = () => {
|
|
241
|
+
if (compareMode) {
|
|
242
|
+
if (selectedKeys.has(key)) {
|
|
243
|
+
if (selectedKeys.size > 1) selectedKeys.delete(key);
|
|
244
|
+
else return;
|
|
245
|
+
} else selectedKeys.add(key);
|
|
246
|
+
} else {
|
|
247
|
+
if (selectedKeys.has(key) && selectedKeys.size === 1) return;
|
|
248
|
+
selectedKeys.clear();
|
|
249
|
+
selectedKeys.add(key);
|
|
250
|
+
}
|
|
251
|
+
renderSidebar();
|
|
252
|
+
void renderRight();
|
|
253
|
+
};
|
|
254
|
+
const row = sidebarList.append("div").attr("role", compareMode ? "checkbox" : "radio").attr("aria-checked", String(isSelected)).attr("aria-label", `${s.organism} ${s.isoform}`).attr("tabindex", "0").style("display", "flex").style("align-items", "center").style("gap", "6px").style("padding", "3px 4px").style("border-radius", "3px").style("background", isSelected ? "#eff6ff" : "transparent").style("cursor", "pointer").on("click", toggleSelection).on("keydown", (event) => {
|
|
255
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
256
|
+
event.preventDefault();
|
|
257
|
+
toggleSelection();
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
if (compareMode) {
|
|
261
|
+
row.append("input").attr("type", "checkbox").attr("tabindex", "-1").attr("aria-hidden", "true").property("checked", isSelected).property("disabled", isSoleSelection).style("margin", "0").style("cursor", isSoleSelection ? "not-allowed" : "pointer").on("click", (event) => {
|
|
262
|
+
event.stopPropagation();
|
|
263
|
+
toggleSelection();
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
row.append("span").text(s.isoform);
|
|
267
|
+
row.append("span").style("color", "#6b7280").style("margin-left", "auto").text(String(s.cohorts.length));
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
const renderRight = async () => {
|
|
272
|
+
rightPane.selectAll("*").remove();
|
|
273
|
+
const selected = sections.filter((s) => selectedKeys.has(keyOf(s)));
|
|
274
|
+
if (!selected.length) return;
|
|
275
|
+
const cols = rightPane.append("div").style("display", "flex").style("flex-direction", "column").style("gap", "16px");
|
|
276
|
+
for (const s of selected) {
|
|
277
|
+
const col = cols.append("div").style("min-width", "0");
|
|
278
|
+
try {
|
|
279
|
+
const genome = await getGenome(s.genomeName);
|
|
280
|
+
await renderPTMLollipop(col, s.cohorts, this, s.isoform, genome);
|
|
281
|
+
} catch (err) {
|
|
282
|
+
col.append("div").style("color", "#b91c1c").style("padding", "6px").text(`Failed to render ${s.organism} \xB7 ${s.isoform}: ${err?.message || err}`);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
renderSidebar();
|
|
287
|
+
await renderRight();
|
|
288
|
+
};
|
|
289
|
+
if (sections.length) {
|
|
290
|
+
renderPTMSummaryCard(
|
|
291
|
+
grid,
|
|
292
|
+
(data.cohorts || []).filter((c) => c.PTMType),
|
|
293
|
+
this,
|
|
294
|
+
{ onExpandRender: renderPTMSectionsInto }
|
|
295
|
+
);
|
|
296
|
+
}
|
|
297
|
+
const ptmCfg = getTileConfig(this, "ptm");
|
|
298
|
+
const placeholders = missingTiles.map((t) => ({ title: t.title }));
|
|
299
|
+
if (!sections.length && ptmCfg && ptmAssaysConfigured(this)) placeholders.push({ title: ptmCfg.title });
|
|
300
|
+
renderPlaceholderTiles(grid, placeholders);
|
|
301
|
+
}
|
|
302
|
+
/** rx calls this when the plot is deleted: expanded-tile panes live on document.body
|
|
303
|
+
* and would otherwise outlive the plot with handlers bound to a dead instance */
|
|
304
|
+
destroy() {
|
|
305
|
+
closeTilePanes(this);
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
function ptmAssaysConfigured(self) {
|
|
309
|
+
const organisms = self.app.vocabApi.termdbConfig?.queries?.proteome?.organisms || {};
|
|
310
|
+
for (const org of Object.values(organisms)) {
|
|
311
|
+
for (const assay of Object.values(org?.assays || {})) if (assay?.PTMType) return true;
|
|
312
|
+
}
|
|
313
|
+
return false;
|
|
314
|
+
}
|
|
315
|
+
function renderCohortVolcano(holder, data, self, ptmSiteCount = 0) {
|
|
316
|
+
const dots = [];
|
|
317
|
+
const sampleRegionById = data?.sampleRegions || {};
|
|
318
|
+
for (const cohortData of data?.cohorts || []) {
|
|
319
|
+
if (cohortData.PTMType) continue;
|
|
320
|
+
const log2fc = getLog2Ratio(cohortData.foldChange);
|
|
321
|
+
const fdr = Number(cohortData.fdr);
|
|
322
|
+
const testedN = Number(cohortData.testedN);
|
|
323
|
+
const controlN = Number(cohortData.controlN);
|
|
324
|
+
if (log2fc === null || !Number.isFinite(fdr) || fdr <= 0) continue;
|
|
325
|
+
dots.push({
|
|
326
|
+
organismName: cohortData.organism,
|
|
327
|
+
disease: cohortData.disease,
|
|
328
|
+
assayName: cohortData.assayName,
|
|
329
|
+
cohortName: cohortData.cohortName,
|
|
330
|
+
proteinAccession: cohortData.proteinAccession,
|
|
331
|
+
uniqueIdentifier: cohortData.uniqueIdentifier,
|
|
332
|
+
log2fc,
|
|
333
|
+
fdr,
|
|
334
|
+
score: -Math.log10(Math.max(fdr, 1e-300)),
|
|
335
|
+
testedN: Number.isFinite(testedN) ? testedN : 0,
|
|
336
|
+
controlN: Number.isFinite(controlN) ? controlN : 0,
|
|
337
|
+
// per-dot sample identity (case + control); each sample's region comes from the
|
|
338
|
+
// response-level sampleRegions map and is listed in the dot's tooltip
|
|
339
|
+
sampleIds: Array.isArray(cohortData.sampleIds) ? cohortData.sampleIds : []
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
const panel = holder.append("div").style("margin-bottom", "14px");
|
|
343
|
+
const header = panel.append("div").style("display", "flex").style("align-items", "center").style("gap", "6px").style("margin-bottom", "6px");
|
|
344
|
+
const downloadBtn = header.append("div").style("display", "inline-block");
|
|
345
|
+
if (ptmSiteCount) {
|
|
346
|
+
header.append("div").style("font-size", ".75em").style("color", "#6b7280").text(
|
|
347
|
+
`${ptmSiteCount} site-level PTM measurement${ptmSiteCount === 1 ? "" : "s"} excluded \u2014 see the PTM track below.`
|
|
348
|
+
);
|
|
349
|
+
}
|
|
350
|
+
if (!dots.length) {
|
|
351
|
+
downloadBtn.style("display", "none");
|
|
352
|
+
panel.append("div").style("font-size", ".85em").style("color", "#666").text("No cohorts with valid fold-change and FDR to plot.");
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
355
|
+
const width = 500;
|
|
356
|
+
const height = 480;
|
|
357
|
+
const margin = { top: 20, right: 30, bottom: 60, left: 70 };
|
|
358
|
+
const innerW = width - margin.left - margin.right;
|
|
359
|
+
const innerH = height - margin.top - margin.bottom;
|
|
360
|
+
let minX = Number.POSITIVE_INFINITY;
|
|
361
|
+
let maxX = Number.NEGATIVE_INFINITY;
|
|
362
|
+
let maxY = 0;
|
|
363
|
+
let maxTestedN = 0;
|
|
364
|
+
let minTestedN = Number.POSITIVE_INFINITY;
|
|
365
|
+
for (const p of dots) {
|
|
366
|
+
minX = Math.min(minX, p.log2fc);
|
|
367
|
+
maxX = Math.max(maxX, p.log2fc);
|
|
368
|
+
maxY = Math.max(maxY, p.score);
|
|
369
|
+
maxTestedN = Math.max(maxTestedN, p.testedN);
|
|
370
|
+
if (p.testedN > 0) minTestedN = Math.min(minTestedN, p.testedN);
|
|
371
|
+
}
|
|
372
|
+
if (maxY < 1) maxY = 1;
|
|
373
|
+
if (!Number.isFinite(minTestedN)) minTestedN = 1;
|
|
374
|
+
const xSpan = Math.max(0.05, maxX - minX);
|
|
375
|
+
const xPad = Math.max(0.01, xSpan * 0.1);
|
|
376
|
+
const xMin = Math.min(0, minX - xPad);
|
|
377
|
+
const xMax = Math.max(0, maxX + xPad);
|
|
378
|
+
const yMax = maxY * 1.15;
|
|
379
|
+
const xScale = linear().domain([xMin, xMax]).range([0, innerW]);
|
|
380
|
+
const yScale = linear().domain([0, yMax]).range([innerH, 0]);
|
|
381
|
+
const radiusRange = [4, 12];
|
|
382
|
+
const radiusScale = linear().domain([minTestedN, Math.max(minTestedN + 1, maxTestedN)]).range(radiusRange);
|
|
383
|
+
let scaleDotSize = true;
|
|
384
|
+
const getDotRadius = (d) => scaleDotSize ? radiusScale(Math.max(minTestedN, d.testedN || minTestedN)) : (radiusRange[0] + radiusRange[1]) / 2;
|
|
385
|
+
const organismNames = [...new Set(dots.map((d) => d.organismName).filter(Boolean))].sort();
|
|
386
|
+
const assayNames = [...new Set(dots.map((d) => d.assayName))].sort();
|
|
387
|
+
const cohortNames = [...new Set(dots.map((d) => d.cohortName))].sort();
|
|
388
|
+
const proteinAccessions = [...new Set(dots.map((d) => d.proteinAccession))].sort();
|
|
389
|
+
const organismColorScale = getColors(organismNames.length).domain(organismNames);
|
|
390
|
+
const assayColorScale = getColors(assayNames.length).domain(assayNames);
|
|
391
|
+
const cohortColorScale = getColors(cohortNames.length).domain(cohortNames);
|
|
392
|
+
const proteinColorScale = getColors(proteinAccessions.length).domain(proteinAccessions);
|
|
393
|
+
const organismColors = new Map(
|
|
394
|
+
organismNames.map((name) => [name, rgb(organismColorScale(name)).formatHex()])
|
|
395
|
+
);
|
|
396
|
+
const assayColors = new Map(assayNames.map((name) => [name, rgb(assayColorScale(name)).formatHex()]));
|
|
397
|
+
const cohortColors = new Map(cohortNames.map((name) => [name, rgb(cohortColorScale(name)).formatHex()]));
|
|
398
|
+
const proteinColors = new Map(
|
|
399
|
+
proteinAccessions.map((acc) => [acc, rgb(proteinColorScale(acc)).formatHex()])
|
|
400
|
+
);
|
|
401
|
+
const prioritizedShapesArray = (() => {
|
|
402
|
+
const entries = Object.entries(shapes);
|
|
403
|
+
const sorted = [
|
|
404
|
+
...entries.filter(([, s]) => s.isFilled === true),
|
|
405
|
+
...entries.filter(([, s]) => s.isFilled === false),
|
|
406
|
+
...entries.filter(([, s]) => !("isFilled" in s))
|
|
407
|
+
];
|
|
408
|
+
return sorted.map(([, s]) => s.path);
|
|
409
|
+
})();
|
|
410
|
+
const makeShapeMap = (items) => new Map(items.map((item, i) => [item, i % prioritizedShapesArray.length]));
|
|
411
|
+
const organismShapes = makeShapeMap(organismNames);
|
|
412
|
+
const assayShapes = makeShapeMap(assayNames);
|
|
413
|
+
const cohortShapes = makeShapeMap(cohortNames);
|
|
414
|
+
const proteinShapes = makeShapeMap(proteinAccessions);
|
|
415
|
+
let colorMode = "assayType";
|
|
416
|
+
let shapeMode = "organism";
|
|
417
|
+
const customGroupPrefix = "__custom_group__:";
|
|
418
|
+
const makeCustomGroupKey = (name) => `${customGroupPrefix}${name}`;
|
|
419
|
+
const isCustomGroupKey = (value) => value.startsWith(customGroupPrefix);
|
|
420
|
+
const getCustomGroupNameFromKey = (value) => value.slice(customGroupPrefix.length);
|
|
421
|
+
const customShapeGroupPrefix = "__custom_shape_group__:";
|
|
422
|
+
const makeCustomShapeGroupKey = (name) => `${customShapeGroupPrefix}${name}`;
|
|
423
|
+
const isCustomShapeGroupKey = (value) => value.startsWith(customShapeGroupPrefix);
|
|
424
|
+
const getCustomShapeGroupNameFromKey = (value) => value.slice(customShapeGroupPrefix.length);
|
|
425
|
+
const customColorDomain = Array.from({ length: 64 }, (_, i) => `custom-${i}`);
|
|
426
|
+
const customColorScale = getColors(customColorDomain.length).domain(customColorDomain);
|
|
427
|
+
const colorModesWithGroups = ["organism", "assayType", "cohort", "proteinAccession"];
|
|
428
|
+
const shapeModesWithGroups = ["organism", "assayType", "cohort", "proteinAccession"];
|
|
429
|
+
const createModeMap = (factory) => ({
|
|
430
|
+
organism: factory(),
|
|
431
|
+
assayType: factory(),
|
|
432
|
+
cohort: factory(),
|
|
433
|
+
proteinAccession: factory()
|
|
434
|
+
});
|
|
435
|
+
const customGroupsByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
436
|
+
const customGroupColorsByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
437
|
+
const customShapeGroupsByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
438
|
+
const customShapeIndicesByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
439
|
+
const checkedItemsByMode = createModeMap(() => /* @__PURE__ */ new Set());
|
|
440
|
+
const checkedShapeItemsByMode = createModeMap(() => /* @__PURE__ */ new Set());
|
|
441
|
+
const groupingModeActive = /* @__PURE__ */ new Set();
|
|
442
|
+
const shapeGroupingModeActive = /* @__PURE__ */ new Set();
|
|
443
|
+
let customColorSeed = 0;
|
|
444
|
+
const getBaseColorValue = (d, mode) => {
|
|
445
|
+
switch (mode) {
|
|
446
|
+
case "organism":
|
|
447
|
+
return d.organismName;
|
|
448
|
+
case "assayType":
|
|
449
|
+
return d.assayName;
|
|
450
|
+
case "cohort":
|
|
451
|
+
return d.cohortName;
|
|
452
|
+
case "proteinAccession":
|
|
453
|
+
return d.proteinAccession;
|
|
454
|
+
default:
|
|
455
|
+
return "";
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
const getCustomGroupOfValue = (mode, value) => {
|
|
459
|
+
for (const [group, members] of customGroupsByMode[mode]) {
|
|
460
|
+
if (members.has(value)) return group;
|
|
461
|
+
}
|
|
462
|
+
return null;
|
|
463
|
+
};
|
|
464
|
+
const getCustomGroupOfDot = (d, mode) => {
|
|
465
|
+
return getCustomGroupOfValue(mode, getBaseColorValue(d, mode));
|
|
466
|
+
};
|
|
467
|
+
const getCustomShapeGroupOfValue = (mode, value) => {
|
|
468
|
+
for (const [group, members] of customShapeGroupsByMode[mode]) {
|
|
469
|
+
if (members.has(value)) return group;
|
|
470
|
+
}
|
|
471
|
+
return null;
|
|
472
|
+
};
|
|
473
|
+
const getCustomShapeGroupOfDot = (d, mode) => {
|
|
474
|
+
return getCustomShapeGroupOfValue(mode, getBaseColorValue(d, mode));
|
|
475
|
+
};
|
|
476
|
+
const getNextCustomColor = () => {
|
|
477
|
+
const color = rgb(customColorScale(customColorDomain[customColorSeed % customColorDomain.length])).formatHex();
|
|
478
|
+
customColorSeed++;
|
|
479
|
+
return color;
|
|
480
|
+
};
|
|
481
|
+
const addOrUpdateCustomGroup = (mode, name, baseValues) => {
|
|
482
|
+
if (!name || !baseValues.length) return;
|
|
483
|
+
for (const members of customGroupsByMode[mode].values()) {
|
|
484
|
+
for (const val of baseValues) members.delete(val);
|
|
485
|
+
}
|
|
486
|
+
const existing = customGroupsByMode[mode].get(name) || /* @__PURE__ */ new Set();
|
|
487
|
+
for (const val of baseValues) existing.add(val);
|
|
488
|
+
customGroupsByMode[mode].set(name, existing);
|
|
489
|
+
if (!customGroupColorsByMode[mode].has(name)) customGroupColorsByMode[mode].set(name, getNextCustomColor());
|
|
490
|
+
};
|
|
491
|
+
const removeCustomGroup = (mode, name) => {
|
|
492
|
+
customGroupsByMode[mode].delete(name);
|
|
493
|
+
customGroupColorsByMode[mode].delete(name);
|
|
494
|
+
hiddenColor[mode].delete(makeCustomGroupKey(name));
|
|
495
|
+
};
|
|
496
|
+
const addOrUpdateCustomShapeGroup = (mode, name, baseValues) => {
|
|
497
|
+
if (!name || !baseValues.length) return;
|
|
498
|
+
for (const members of customShapeGroupsByMode[mode].values()) {
|
|
499
|
+
for (const val of baseValues) members.delete(val);
|
|
500
|
+
}
|
|
501
|
+
const existing = customShapeGroupsByMode[mode].get(name) || /* @__PURE__ */ new Set();
|
|
502
|
+
for (const val of baseValues) existing.add(val);
|
|
503
|
+
customShapeGroupsByMode[mode].set(name, existing);
|
|
504
|
+
if (!customShapeIndicesByMode[mode].has(name)) {
|
|
505
|
+
const idx = customShapeIndicesByMode[mode].size % prioritizedShapesArray.length;
|
|
506
|
+
customShapeIndicesByMode[mode].set(name, idx);
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
const removeCustomShapeGroup = (mode, name) => {
|
|
510
|
+
customShapeGroupsByMode[mode].delete(name);
|
|
511
|
+
customShapeIndicesByMode[mode].delete(name);
|
|
512
|
+
hiddenShape[mode].delete(makeCustomShapeGroupKey(name));
|
|
513
|
+
};
|
|
514
|
+
const getCustomGroupItems = (mode) => {
|
|
515
|
+
return [...customGroupsByMode[mode].keys()].sort().map((name) => makeCustomGroupKey(name));
|
|
516
|
+
};
|
|
517
|
+
const getCustomShapeGroupItems = (mode) => {
|
|
518
|
+
return [...customShapeGroupsByMode[mode].keys()].sort().map((name) => makeCustomShapeGroupKey(name));
|
|
519
|
+
};
|
|
520
|
+
const getLegendItemSampleCount = (mode, item, dotsToCount = dots) => {
|
|
521
|
+
let matched;
|
|
522
|
+
if (isCustomGroupKey(item)) {
|
|
523
|
+
const groupName = getCustomGroupNameFromKey(item);
|
|
524
|
+
matched = dotsToCount.filter(
|
|
525
|
+
(d) => getCustomGroupOfValue(mode, getBaseColorValue(d, mode)) === groupName
|
|
526
|
+
);
|
|
527
|
+
} else if (isCustomShapeGroupKey(item)) {
|
|
528
|
+
const groupName = getCustomShapeGroupNameFromKey(item);
|
|
529
|
+
matched = dotsToCount.filter(
|
|
530
|
+
(d) => getCustomShapeGroupOfValue(mode, getBaseColorValue(d, mode)) === groupName
|
|
531
|
+
);
|
|
532
|
+
} else {
|
|
533
|
+
matched = dotsToCount.filter((d) => getBaseColorValue(d, mode) === item);
|
|
534
|
+
}
|
|
535
|
+
return new Set(matched.map((d) => `${d.organismName}|${d.assayName}|${d.cohortName}`)).size;
|
|
536
|
+
};
|
|
537
|
+
const getColor = (d) => {
|
|
538
|
+
const customGroup = getCustomGroupOfDot(d, colorMode);
|
|
539
|
+
switch (colorMode) {
|
|
540
|
+
case "organism":
|
|
541
|
+
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
542
|
+
return organismColors.get(d.organismName) ?? "#888";
|
|
543
|
+
case "assayType":
|
|
544
|
+
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
545
|
+
return assayColors.get(d.assayName) ?? "#888";
|
|
546
|
+
case "cohort":
|
|
547
|
+
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
548
|
+
return cohortColors.get(d.cohortName) ?? "#888";
|
|
549
|
+
case "proteinAccession":
|
|
550
|
+
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
551
|
+
return proteinColors.get(d.proteinAccession) ?? "#888";
|
|
552
|
+
default:
|
|
553
|
+
return "#888";
|
|
554
|
+
}
|
|
555
|
+
};
|
|
556
|
+
const getShapeIndex = (d) => {
|
|
557
|
+
const customShapeGroup = getCustomShapeGroupOfDot(d, shapeMode);
|
|
558
|
+
if (customShapeGroup) {
|
|
559
|
+
return customShapeIndicesByMode[shapeMode].get(customShapeGroup) ?? 0;
|
|
560
|
+
}
|
|
561
|
+
switch (shapeMode) {
|
|
562
|
+
case "organism":
|
|
563
|
+
return organismShapes.get(d.organismName) ?? 0;
|
|
564
|
+
case "assayType":
|
|
565
|
+
return assayShapes.get(d.assayName) ?? 0;
|
|
566
|
+
case "cohort":
|
|
567
|
+
return cohortShapes.get(d.cohortName) ?? 0;
|
|
568
|
+
case "proteinAccession":
|
|
569
|
+
return proteinShapes.get(d.proteinAccession) ?? 0;
|
|
570
|
+
default:
|
|
571
|
+
return 0;
|
|
572
|
+
}
|
|
573
|
+
};
|
|
574
|
+
const getShapePath = (d) => {
|
|
575
|
+
const index = getShapeIndex(d) % prioritizedShapesArray.length;
|
|
576
|
+
return prioritizedShapesArray[index];
|
|
577
|
+
};
|
|
578
|
+
const getShapeTransform = (d, sizeScale = 1) => {
|
|
579
|
+
const r = getDotRadius(d) * sizeScale;
|
|
580
|
+
const scale = r / 8;
|
|
581
|
+
const x = xScale(d.log2fc) - 8 * scale;
|
|
582
|
+
const y = yScale(d.score) - 8 * scale;
|
|
583
|
+
return `translate(${x},${y}) scale(${scale})`;
|
|
584
|
+
};
|
|
585
|
+
const colorGroupingModes = [
|
|
586
|
+
{ key: "organism", label: "Organism" },
|
|
587
|
+
{ key: "assayType", label: "Assay" },
|
|
588
|
+
{ key: "cohort", label: "Sample Set" },
|
|
589
|
+
{ key: "proteinAccession", label: "Isoform" }
|
|
590
|
+
];
|
|
591
|
+
const shapeGroupingModes = [
|
|
592
|
+
{ key: "organism", label: "Organism" },
|
|
593
|
+
{ key: "assayType", label: "Assay" },
|
|
594
|
+
{ key: "cohort", label: "Sample Set" },
|
|
595
|
+
{ key: "proteinAccession", label: "Isoform" }
|
|
596
|
+
];
|
|
597
|
+
const makeHiddenState = () => ({
|
|
598
|
+
organism: /* @__PURE__ */ new Set(),
|
|
599
|
+
assayType: /* @__PURE__ */ new Set(),
|
|
600
|
+
cohort: /* @__PURE__ */ new Set(),
|
|
601
|
+
proteinAccession: /* @__PURE__ */ new Set()
|
|
602
|
+
});
|
|
603
|
+
const hiddenColor = makeHiddenState();
|
|
604
|
+
const hiddenShape = makeHiddenState();
|
|
605
|
+
const getColorValueByMode = (d, mode) => {
|
|
606
|
+
switch (mode) {
|
|
607
|
+
case "organism":
|
|
608
|
+
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.organismName;
|
|
609
|
+
case "assayType":
|
|
610
|
+
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.assayName;
|
|
611
|
+
case "cohort":
|
|
612
|
+
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.cohortName;
|
|
613
|
+
case "proteinAccession":
|
|
614
|
+
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.proteinAccession;
|
|
615
|
+
default:
|
|
616
|
+
return "";
|
|
617
|
+
}
|
|
618
|
+
};
|
|
619
|
+
const getShapeValueByMode = (d, mode) => {
|
|
620
|
+
switch (mode) {
|
|
621
|
+
case "organism":
|
|
622
|
+
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.organismName;
|
|
623
|
+
case "assayType":
|
|
624
|
+
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.assayName;
|
|
625
|
+
case "cohort":
|
|
626
|
+
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.cohortName;
|
|
627
|
+
case "proteinAccession":
|
|
628
|
+
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.proteinAccession;
|
|
629
|
+
default:
|
|
630
|
+
return "";
|
|
631
|
+
}
|
|
632
|
+
};
|
|
633
|
+
const isDotHidden = (d) => {
|
|
634
|
+
const colorValue = getColorValueByMode(d, colorMode);
|
|
635
|
+
const shapeValue = getShapeValueByMode(d, shapeMode);
|
|
636
|
+
return hiddenColor[colorMode].has(colorValue) || hiddenShape[shapeMode].has(shapeValue);
|
|
637
|
+
};
|
|
638
|
+
const getDotDistancePx = (d1, d2) => {
|
|
639
|
+
const x = xScale(d1.log2fc) - xScale(d2.log2fc);
|
|
640
|
+
const y = yScale(d1.score) - yScale(d2.score);
|
|
641
|
+
return Math.sqrt(x * x + y * y);
|
|
642
|
+
};
|
|
643
|
+
const getVisibleDots = () => dots.filter((d) => !isDotHidden(d));
|
|
644
|
+
const getVisibleTestedNStats = () => {
|
|
645
|
+
const visibleDots = getVisibleDots();
|
|
646
|
+
if (!visibleDots.length) {
|
|
647
|
+
return { domainMin: 1, domainMax: 2, minLabel: 0, maxLabel: 0 };
|
|
648
|
+
}
|
|
649
|
+
let visibleMax = 0;
|
|
650
|
+
let visibleMin = Number.POSITIVE_INFINITY;
|
|
651
|
+
for (const d of visibleDots) {
|
|
652
|
+
visibleMax = Math.max(visibleMax, d.testedN);
|
|
653
|
+
if (d.testedN > 0) visibleMin = Math.min(visibleMin, d.testedN);
|
|
654
|
+
}
|
|
655
|
+
if (!Number.isFinite(visibleMin)) visibleMin = 1;
|
|
656
|
+
const domainMax = Math.max(visibleMin + 1, visibleMax);
|
|
657
|
+
return { domainMin: visibleMin, domainMax, minLabel: visibleMin, maxLabel: visibleMax || visibleMin };
|
|
658
|
+
};
|
|
659
|
+
const updateRadiusScaleForVisibleDots = () => {
|
|
660
|
+
const stats = getVisibleTestedNStats();
|
|
661
|
+
radiusScale.domain([stats.domainMin, stats.domainMax]).range(radiusRange);
|
|
662
|
+
return stats;
|
|
663
|
+
};
|
|
664
|
+
const getClusterDots = (seed) => {
|
|
665
|
+
const thresholdPx = 5;
|
|
666
|
+
return dots.filter((d) => !isDotHidden(d) && getDotDistancePx(d, seed) < thresholdPx).sort((a, b) => getDotDistancePx(a, seed) - getDotDistancePx(b, seed));
|
|
667
|
+
};
|
|
668
|
+
const buildClusterTableData = (clusterDots) => {
|
|
669
|
+
const columns = [
|
|
670
|
+
{ label: "Organism" },
|
|
671
|
+
{ label: "Assay" },
|
|
672
|
+
{ label: "Sample Set" },
|
|
673
|
+
{ label: "Isoform" },
|
|
674
|
+
{ label: "log\u2082(FC)", sortable: true },
|
|
675
|
+
{ label: "FDR", sortable: true }
|
|
676
|
+
];
|
|
677
|
+
const rows = clusterDots.map((d) => [
|
|
678
|
+
{ value: d.organismName || "" },
|
|
679
|
+
{ value: d.assayName || "" },
|
|
680
|
+
{ value: d.cohortName || "" },
|
|
681
|
+
{ value: d.uniqueIdentifier || "" },
|
|
682
|
+
{ value: roundValue(d.log2fc, 3) },
|
|
683
|
+
{ value: d.fdr.toExponential(2) }
|
|
684
|
+
]);
|
|
685
|
+
return { columns, rows };
|
|
686
|
+
};
|
|
687
|
+
const updateDots = () => {
|
|
688
|
+
cohortDots.attr("fill", (d) => getColor(d)).attr("stroke", (d) => getColor(d)).attr("stroke-width", 1).attr("d", (d) => getShapePath(d)).attr("transform", (d) => getShapeTransform(d)).style("opacity", (d) => isDotHidden(d) ? 0 : 1).style("pointer-events", (d) => isDotHidden(d) ? "none" : "auto");
|
|
689
|
+
};
|
|
690
|
+
const getShapeMapInUse = () => {
|
|
691
|
+
switch (shapeMode) {
|
|
692
|
+
case "organism":
|
|
693
|
+
return organismShapes;
|
|
694
|
+
case "assayType":
|
|
695
|
+
return assayShapes;
|
|
696
|
+
case "cohort":
|
|
697
|
+
return cohortShapes;
|
|
698
|
+
case "proteinAccession":
|
|
699
|
+
return proteinShapes;
|
|
700
|
+
default:
|
|
701
|
+
return assayShapes;
|
|
702
|
+
}
|
|
703
|
+
};
|
|
704
|
+
const plotAndLegend = panel.append("div").style("display", "flex").style("align-items", "flex-start").style("gap", "4px").style("flex-wrap", "wrap");
|
|
705
|
+
const svg = plotAndLegend.append("svg").attr("width", width).attr("height", height).style("display", "block").style("max-width", "100%").style("height", "auto");
|
|
706
|
+
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
707
|
+
const xAxis = g.append("g").attr("transform", `translate(0,${innerH})`).call(axisBottom(xScale));
|
|
708
|
+
axisstyle({ axis: xAxis, color: "black", showline: true });
|
|
709
|
+
const yAxis = g.append("g").call(axisLeft(yScale));
|
|
710
|
+
axisstyle({ axis: yAxis, color: "black", showline: true });
|
|
711
|
+
const x0 = xScale(0);
|
|
712
|
+
const pThreshold = -Math.log10(0.05);
|
|
713
|
+
const thresholdY = yScale(Math.min(yMax, pThreshold));
|
|
714
|
+
g.append("line").attr("x1", x0).attr("x2", x0).attr("y1", 0).attr("y2", innerH).attr("stroke", "black").attr("stroke-dasharray", "5 4").attr("stroke-opacity", 0.4);
|
|
715
|
+
g.append("line").attr("x1", 0).attr("x2", innerW).attr("y1", thresholdY).attr("y2", thresholdY).attr("stroke", "black").attr("stroke-dasharray", "5 4").attr("stroke-opacity", 0.4);
|
|
716
|
+
g.append("text").attr("x", innerW / 2).attr("y", innerH + 44).attr("text-anchor", "middle").style("font-weight", 600).text("log2 fold change");
|
|
717
|
+
g.append("text").attr("transform", `translate(${-50},${innerH / 2}) rotate(-90)`).attr("text-anchor", "middle").style("font-weight", 600).text("-log10(FDR)");
|
|
718
|
+
const cohortDots = g.selectAll("path.cohort-dot").data(dots).enter().append("path").attr("class", "cohort-dot").attr("transform", (d) => getShapeTransform(d, 0.9)).attr("d", (d) => getShapePath(d)).attr("fill", (d) => getColor(d)).attr("fill-opacity", 0.5).attr("stroke", (d) => getColor(d)).attr("stroke-width", 1).attr("vector-effect", "non-scaling-stroke");
|
|
719
|
+
cohortDots.transition().duration(350).attr("d", (d) => getShapePath(d)).attr("transform", (d) => getShapeTransform(d, 1));
|
|
720
|
+
const hoverLayer = g.append("g").attr("class", "cohort-volcano-hover").style("pointer-events", "none");
|
|
721
|
+
const cover = g.append("rect").attr("class", "cohort-volcano-cover").attr("x", 0).attr("y", 0).attr("width", innerW).attr("height", innerH).attr("fill", "transparent").style("pointer-events", "all").style("cursor", "default");
|
|
722
|
+
updateDots();
|
|
723
|
+
const renderDotInfoTable = (d, container) => {
|
|
724
|
+
const tbl = table2col({ holder: container.append("table") });
|
|
725
|
+
tbl.addRow("Organism", d.organismName);
|
|
726
|
+
tbl.addRow("Disease", d.disease);
|
|
727
|
+
tbl.addRow("Assay", d.assayName);
|
|
728
|
+
tbl.addRow("Sample Set", d.cohortName);
|
|
729
|
+
const dotRegions = [
|
|
730
|
+
...new Set((d.sampleIds || []).map((sid) => sampleRegionById[sid]).filter(Boolean))
|
|
731
|
+
];
|
|
732
|
+
if (dotRegions.length) {
|
|
733
|
+
const regionNames = self.app.vocabApi.termdbConfig?.queries?.proteome?.brainRegions?.regions || {};
|
|
734
|
+
tbl.addRow(
|
|
735
|
+
"Brain Region",
|
|
736
|
+
dotRegions.sort().map((c) => regionNames[c] ? `${regionNames[c]} (${c})` : c).join(", ")
|
|
737
|
+
);
|
|
738
|
+
}
|
|
739
|
+
tbl.addRow("Protein Accession", d.proteinAccession);
|
|
740
|
+
tbl.addRow("Isoform", d.uniqueIdentifier);
|
|
741
|
+
tbl.addRow("log2 fold change", roundValue(d.log2fc, 3));
|
|
742
|
+
tbl.addRow("FDR", d.fdr.toExponential(2));
|
|
743
|
+
tbl.addRow("-log10(FDR)", roundValue(d.score, 3));
|
|
744
|
+
tbl.addRow("Case samples", d.testedN);
|
|
745
|
+
tbl.addRow("Control samples", d.controlN);
|
|
746
|
+
};
|
|
747
|
+
const interactions = new DataPointInteractions({
|
|
748
|
+
cover,
|
|
749
|
+
hoverLayer,
|
|
750
|
+
hoverTip: self.dom.tip,
|
|
751
|
+
points: dots,
|
|
752
|
+
getX: (d) => xScale(d.log2fc),
|
|
753
|
+
getY: (d) => yScale(d.score),
|
|
754
|
+
// Function form because the size-legend menu mutates radiusRange at runtime;
|
|
755
|
+
// caching this once would leave the broad-query stale after dots are enlarged.
|
|
756
|
+
hitRadius: () => radiusRange[1] + COHORT_VOLCANO_HIT_RADIUS_PADDING_PX,
|
|
757
|
+
perDotRadius: (d) => getDotRadius(d),
|
|
758
|
+
perDotBuffer: COHORT_VOLCANO_HIT_BUFFER_PX,
|
|
759
|
+
isHidden: isDotHidden,
|
|
760
|
+
getCluster: (seed) => getClusterDots(seed),
|
|
761
|
+
toHoverSpec: (d) => ({
|
|
762
|
+
path: getShapePath(d),
|
|
763
|
+
transform: getShapeTransform(d, COHORT_VOLCANO_HOVER_RING_SIZE_SCALE),
|
|
764
|
+
stroke: "black",
|
|
765
|
+
strokeWidth: COHORT_VOLCANO_HOVER_RING_STROKE_PX
|
|
766
|
+
}),
|
|
767
|
+
maxTooltipRows: COHORT_VOLCANO_HOVER_MAX_COHORTS,
|
|
768
|
+
itemNoun: "cohort",
|
|
769
|
+
renderSingleHoverTooltip: renderDotInfoTable,
|
|
770
|
+
buildMultiHitTableData: buildClusterTableData,
|
|
771
|
+
getActions: (d) => [
|
|
772
|
+
{
|
|
773
|
+
label: "Violin plot",
|
|
774
|
+
onClick: () => {
|
|
775
|
+
launchViolinPlot(self, d.organismName, d.assayName, d.cohortName, d.uniqueIdentifier);
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
renderSingleHitInfo: renderDotInfoTable,
|
|
780
|
+
getRowKey: (d) => d.uniqueIdentifier
|
|
781
|
+
});
|
|
782
|
+
interactions.attach();
|
|
783
|
+
const legend = plotAndLegend.append("div").style("margin", "0").style("min-width", "220px").style("font-size", ".75em").style("color", "#374151");
|
|
784
|
+
function renderSizeLegend() {
|
|
785
|
+
legendSvg.selectAll("*").remove();
|
|
786
|
+
const stats = updateRadiusScaleForVisibleDots();
|
|
787
|
+
new LegendCircleReference({
|
|
788
|
+
g: legendSvg.append("g").attr("transform", "translate(12, 8)"),
|
|
789
|
+
inputMax: radiusRange[1],
|
|
790
|
+
inputMin: radiusRange[0],
|
|
791
|
+
maxLabel: stats.maxLabel,
|
|
792
|
+
maxRadius: radiusScale(stats.domainMax),
|
|
793
|
+
minLabel: stats.minLabel,
|
|
794
|
+
minRadius: radiusScale(stats.domainMin),
|
|
795
|
+
title: "",
|
|
796
|
+
menu: {
|
|
797
|
+
minMaxLabel: "pixels",
|
|
798
|
+
callback: async (obj) => {
|
|
799
|
+
radiusRange[0] = obj.min;
|
|
800
|
+
radiusRange[1] = obj.max;
|
|
801
|
+
radiusScale.range([obj.min, obj.max]);
|
|
802
|
+
updateDots();
|
|
803
|
+
renderSizeLegend();
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
const refreshAfterVisibilityChange = () => {
|
|
809
|
+
updateRadiusScaleForVisibleDots();
|
|
810
|
+
updateDots();
|
|
811
|
+
renderColorLegend();
|
|
812
|
+
renderSizeLegend();
|
|
813
|
+
};
|
|
814
|
+
const termName = self.state.config?.tw?.term?.name || "";
|
|
815
|
+
const svgName = `${termName}.cohort-volcano`;
|
|
816
|
+
const downloadVolcanoSvg = () => {
|
|
817
|
+
const plotNode = svg.node();
|
|
818
|
+
const legendNode = legend.node();
|
|
819
|
+
if (!plotNode) return;
|
|
820
|
+
const plotWidth = width;
|
|
821
|
+
const plotHeight = height;
|
|
822
|
+
const legendRect = legendNode?.getBoundingClientRect();
|
|
823
|
+
const legendWidth = Math.max(220, Math.ceil(legendRect?.width || 220));
|
|
824
|
+
const legendHeight = Math.max(plotHeight, Math.ceil(legendRect?.height || 0));
|
|
825
|
+
const gap = 14;
|
|
826
|
+
const combinedSvg = select_default(creator_default("svg").call(document.documentElement)).attr("width", plotWidth + gap + legendWidth).attr("height", legendHeight);
|
|
827
|
+
combinedSvg.append(() => plotNode.cloneNode(true));
|
|
828
|
+
combinedSvg.append("foreignObject").attr("x", plotWidth + gap).attr("y", 0).attr("width", legendWidth).attr("height", legendHeight).append(() => {
|
|
829
|
+
const clone = legendNode.cloneNode(true);
|
|
830
|
+
clone.style.margin = "0px";
|
|
831
|
+
clone.style.minWidth = "0px";
|
|
832
|
+
return clone;
|
|
833
|
+
});
|
|
834
|
+
to_svg(combinedSvg.node(), svgName, { apply_dom_styles: true });
|
|
835
|
+
};
|
|
836
|
+
icons.download(downloadBtn, { handler: downloadVolcanoSvg, title: "Download" });
|
|
837
|
+
const colorLegendDiv = legend.append("div").style("margin-bottom", "12px");
|
|
838
|
+
const shapeLegendDiv = legend.append("div").style("margin-bottom", "12px");
|
|
839
|
+
const sizeLegendRow = legend.append("div").style("display", "flex").style("flex-direction", "column").style("gap", "6px").style("margin-top", "8px");
|
|
840
|
+
sizeLegendRow.append("div").style("border-top", "1px solid #e5e7eb").style("margin", "8px 0 8px 0");
|
|
841
|
+
const sizeModeRow = sizeLegendRow.append("div").style("display", "flex").style("align-items", "center").style("gap", "4px").style("flex-wrap", "wrap");
|
|
842
|
+
const sizeToggleCheckbox = sizeModeRow.append("input").attr("type", "checkbox").attr("aria-label", "Scale dot size by case sample size").property("checked", scaleDotSize).style("cursor", "pointer").style("margin", "0").on("change", function() {
|
|
843
|
+
scaleDotSize = this.checked;
|
|
844
|
+
sizeModeText.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
845
|
+
legendSvg.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
846
|
+
updateDots();
|
|
847
|
+
renderSizeLegend();
|
|
848
|
+
});
|
|
849
|
+
void sizeToggleCheckbox;
|
|
850
|
+
const sizeModeText = sizeModeRow.append("span").style("display", "inline-flex").style("gap", "6px");
|
|
851
|
+
sizeModeText.append("span").text("Scale by");
|
|
852
|
+
sizeModeText.append("span").text("Case sample size").style("font-weight", "600").style("text-decoration", "underline").style("color", "#111");
|
|
853
|
+
sizeModeText.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
854
|
+
const legendSvg = sizeLegendRow.append("svg").attr("width", 190).attr("height", 110).style("display", "block");
|
|
855
|
+
legendSvg.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
856
|
+
function renderColorLegend() {
|
|
857
|
+
colorLegendDiv.selectAll("*").remove();
|
|
858
|
+
shapeLegendDiv.selectAll("*").remove();
|
|
859
|
+
const setCreateButtonState = (container, isActive, inputSelector, buttonSelector, hasCheckedItems) => {
|
|
860
|
+
if (!isActive) return;
|
|
861
|
+
const inputNode = container.select(inputSelector).node();
|
|
862
|
+
const createBtn = container.select(buttonSelector);
|
|
863
|
+
if (!inputNode || createBtn.empty()) return;
|
|
864
|
+
const shouldDisable = !inputNode.value.trim() || !hasCheckedItems;
|
|
865
|
+
createBtn.property("disabled", shouldDisable).style("opacity", shouldDisable ? "0.5" : "1").style("cursor", shouldDisable ? "not-allowed" : "pointer");
|
|
866
|
+
};
|
|
867
|
+
const updateColorCreateButtonState = () => {
|
|
868
|
+
setCreateButtonState(
|
|
869
|
+
colorLegendDiv,
|
|
870
|
+
groupingModeActive.has(colorMode),
|
|
871
|
+
'input[data-role="custom-group-name"]',
|
|
872
|
+
'button[data-role="create-custom-group-submit"]',
|
|
873
|
+
checkedItemsByMode[colorMode].size > 0
|
|
874
|
+
);
|
|
875
|
+
};
|
|
876
|
+
const updateShapeCreateButtonState = () => {
|
|
877
|
+
setCreateButtonState(
|
|
878
|
+
shapeLegendDiv,
|
|
879
|
+
shapeGroupingModeActive.has(shapeMode),
|
|
880
|
+
'input[data-role="custom-shape-group-name"]',
|
|
881
|
+
'button[data-role="create-custom-shape-group-submit"]',
|
|
882
|
+
checkedShapeItemsByMode[shapeMode].size > 0
|
|
883
|
+
);
|
|
884
|
+
};
|
|
885
|
+
const modeRow = colorLegendDiv.append("div").style("display", "flex").style("gap", "10px").style("margin-bottom", "6px").style("flex-wrap", "wrap");
|
|
886
|
+
modeRow.append("span").text("Color by");
|
|
887
|
+
for (const { key, label } of colorGroupingModes) {
|
|
888
|
+
modeRow.append("span").text(label).style("cursor", "pointer").style("font-weight", key === colorMode ? "600" : "400").style("text-decoration", key === colorMode ? "underline" : "none").style("color", key === colorMode ? "#111" : "#6b7280").on("click", () => {
|
|
889
|
+
groupingModeActive.delete(colorMode);
|
|
890
|
+
checkedItemsByMode[colorMode].clear();
|
|
891
|
+
colorMode = key;
|
|
892
|
+
refreshAfterVisibilityChange();
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
const makeLegendItems = (items, colorMap) => {
|
|
896
|
+
const dotsVisibleByShape = dots.filter((d) => !hiddenShape[shapeMode].has(getShapeValueByMode(d, shapeMode)));
|
|
897
|
+
const openColorMenu = (event, name, swatch) => {
|
|
898
|
+
const menu = new Menu({ padding: "0px" });
|
|
899
|
+
const div = menu.d.append("div");
|
|
900
|
+
const hidden = hiddenColor[colorMode].has(name);
|
|
901
|
+
const hiddenCount = hiddenColor[colorMode].size;
|
|
902
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(hidden ? "Show" : "Hide").on("click", () => {
|
|
903
|
+
if (hidden) hiddenColor[colorMode].delete(name);
|
|
904
|
+
else hiddenColor[colorMode].add(name);
|
|
905
|
+
refreshAfterVisibilityChange();
|
|
906
|
+
menu.hide();
|
|
907
|
+
});
|
|
908
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show only").on("click", () => {
|
|
909
|
+
hiddenColor[colorMode].clear();
|
|
910
|
+
for (const item of items) {
|
|
911
|
+
if (item != name) hiddenColor[colorMode].add(item);
|
|
912
|
+
}
|
|
913
|
+
refreshAfterVisibilityChange();
|
|
914
|
+
menu.hide();
|
|
915
|
+
});
|
|
916
|
+
if (hiddenCount > 1)
|
|
917
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show all").on("click", () => {
|
|
918
|
+
hiddenColor[colorMode].clear();
|
|
919
|
+
refreshAfterVisibilityChange();
|
|
920
|
+
menu.hide();
|
|
921
|
+
});
|
|
922
|
+
const input = div.append("div").attr("class", "sja_sharp_border").style("padding", "0px 10px").text("Color:").append("input").attr("type", "color").attr("value", colorMap.get(name) ?? "#888").on("change", () => {
|
|
923
|
+
const newColor = input.node().value;
|
|
924
|
+
if (isCustomGroupKey(name)) {
|
|
925
|
+
customGroupColorsByMode[colorMode].set(getCustomGroupNameFromKey(name), newColor);
|
|
926
|
+
} else if (!isCustomGroupKey(name)) {
|
|
927
|
+
if (colorMode == "organism") organismColors.set(name, newColor);
|
|
928
|
+
else if (colorMode == "assayType") assayColors.set(name, newColor);
|
|
929
|
+
else if (colorMode == "cohort") cohortColors.set(name, newColor);
|
|
930
|
+
else if (colorMode == "proteinAccession") proteinColors.set(name, newColor);
|
|
931
|
+
}
|
|
932
|
+
colorMap.set(name, newColor);
|
|
933
|
+
swatch.style("background", newColor);
|
|
934
|
+
updateDots();
|
|
935
|
+
menu.hide();
|
|
936
|
+
});
|
|
937
|
+
if (isCustomGroupKey(name))
|
|
938
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Remove group").on("click", () => {
|
|
939
|
+
removeCustomGroup(colorMode, getCustomGroupNameFromKey(name));
|
|
940
|
+
refreshAfterVisibilityChange();
|
|
941
|
+
menu.hide();
|
|
942
|
+
});
|
|
943
|
+
menu.showunder(event.target);
|
|
944
|
+
};
|
|
945
|
+
for (const name of items) {
|
|
946
|
+
const hidden = hiddenColor[colorMode].has(name);
|
|
947
|
+
const isGroup = isCustomGroupKey(name);
|
|
948
|
+
const displayName = isGroup ? getCustomGroupNameFromKey(name) : name;
|
|
949
|
+
const inGroup = !isGroup ? getCustomGroupOfValue(colorMode, name) : null;
|
|
950
|
+
const sampleCount = getLegendItemSampleCount(colorMode, name, dotsVisibleByShape);
|
|
951
|
+
if (sampleCount === 0) continue;
|
|
952
|
+
const row = colorLegendDiv.append("div").style("display", "flex").style("align-items", "center").style("gap", "6px").style("margin-bottom", "3px");
|
|
953
|
+
if (!isGroup && groupingModeActive.has(colorMode)) {
|
|
954
|
+
const cb = row.append("input").attr("type", "checkbox").style("cursor", "pointer").style("flex-shrink", "0");
|
|
955
|
+
const cbNode = cb.node();
|
|
956
|
+
cbNode.checked = checkedItemsByMode[colorMode].has(name);
|
|
957
|
+
cb.on("change", () => {
|
|
958
|
+
if (cbNode.checked) checkedItemsByMode[colorMode].add(name);
|
|
959
|
+
else checkedItemsByMode[colorMode].delete(name);
|
|
960
|
+
updateColorCreateButtonState();
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
const swatch = row.append("span").style("display", "inline-block").style("width", "10px").style("height", "10px").style("border-radius", "50%").style("background", colorMap.get(name) ?? "#888").style("opacity", hidden ? 0.35 : 0.8).style("flex-shrink", "0").style("cursor", "pointer");
|
|
964
|
+
swatch.on("click", (event) => openColorMenu(event, name, swatch));
|
|
965
|
+
row.append("span").text(`${displayName}, ${sampleCount} sample set${sampleCount === 1 ? "" : "s"}`).style("text-decoration", hidden ? "line-through" : "none").style("cursor", "pointer").on("click", (event) => openColorMenu(event, name, swatch));
|
|
966
|
+
if (isGroup) {
|
|
967
|
+
const count = customGroupsByMode[colorMode].get(getCustomGroupNameFromKey(name))?.size || 0;
|
|
968
|
+
const itemLabel = colorMode === "organism" ? "organisms" : colorMode === "assayType" ? "assays" : colorMode === "cohort" ? "sample sets" : colorMode === "proteinAccession" ? "isoforms" : "items";
|
|
969
|
+
row.append("span").style("color", "#6b7280").text(`(${count} ${itemLabel})`);
|
|
970
|
+
} else if (inGroup) {
|
|
971
|
+
row.append("span").style("color", "#6b7280").style("font-style", "italic").text(`\u2192 ${inGroup}`);
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
};
|
|
975
|
+
const buildModeLegendItems = (baseItems, baseColorMap) => {
|
|
976
|
+
const visibleBaseItems = baseItems.filter((name) => !getCustomGroupOfValue(colorMode, name));
|
|
977
|
+
const mergedColorMap = /* @__PURE__ */ new Map();
|
|
978
|
+
for (const name of visibleBaseItems) mergedColorMap.set(name, baseColorMap.get(name) ?? "#888");
|
|
979
|
+
for (const name of getCustomGroupItems(colorMode)) {
|
|
980
|
+
const rawName = getCustomGroupNameFromKey(name);
|
|
981
|
+
mergedColorMap.set(name, customGroupColorsByMode[colorMode].get(rawName) ?? "#888");
|
|
982
|
+
}
|
|
983
|
+
return { items: [...visibleBaseItems, ...getCustomGroupItems(colorMode)], colorMap: mergedColorMap };
|
|
984
|
+
};
|
|
985
|
+
const renderCustomGroupControls = () => {
|
|
986
|
+
if (!colorModesWithGroups.includes(colorMode)) return;
|
|
987
|
+
if (!groupingModeActive.has(colorMode)) {
|
|
988
|
+
const createBtn = colorLegendDiv.append("button").attr("type", "button").style("font-size", "1em").style("font-weight", "400").style("margin-top", "6px").style("padding", "0").style("border", "none").style("border-radius", "0").style("background", "transparent").style("color", "#6b7280").style("box-shadow", "none").style("cursor", "pointer").style("transition", "color 120ms ease").text("+ Create custom group").on("click", () => {
|
|
989
|
+
groupingModeActive.add(colorMode);
|
|
990
|
+
renderColorLegend();
|
|
991
|
+
});
|
|
992
|
+
createBtn.on("mouseover", function() {
|
|
993
|
+
select_default(this).style("color", "#111827");
|
|
994
|
+
}).on("mouseout", function() {
|
|
995
|
+
select_default(this).style("color", "#6b7280");
|
|
996
|
+
});
|
|
997
|
+
return;
|
|
998
|
+
}
|
|
999
|
+
colorLegendDiv.append("div").style("font-size", "11px").style("color", "#6b7280").style("margin-bottom", "4px").text("Check items to include in the new group:");
|
|
1000
|
+
const controls = colorLegendDiv.append("div").style("display", "flex").style("gap", "6px").style("align-items", "center").style("flex-wrap", "wrap").style("margin-top", "4px");
|
|
1001
|
+
const nameInput = controls.append("input").attr("data-role", "custom-group-name").attr("type", "text").attr("placeholder", "Group name").style("font-size", "12px").style("padding", "2px 4px").style("min-width", "100px").on("input", () => updateColorCreateButtonState());
|
|
1002
|
+
controls.append("button").attr("data-role", "create-custom-group-submit").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Create").on("click", () => {
|
|
1003
|
+
const groupName = (nameInput.node()?.value || "").trim();
|
|
1004
|
+
if (!groupName || checkedItemsByMode[colorMode].size < 1) return;
|
|
1005
|
+
addOrUpdateCustomGroup(colorMode, groupName, [...checkedItemsByMode[colorMode]]);
|
|
1006
|
+
checkedItemsByMode[colorMode].clear();
|
|
1007
|
+
groupingModeActive.delete(colorMode);
|
|
1008
|
+
refreshAfterVisibilityChange();
|
|
1009
|
+
});
|
|
1010
|
+
updateColorCreateButtonState();
|
|
1011
|
+
controls.append("button").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Cancel").on("click", () => {
|
|
1012
|
+
checkedItemsByMode[colorMode].clear();
|
|
1013
|
+
groupingModeActive.delete(colorMode);
|
|
1014
|
+
renderColorLegend();
|
|
1015
|
+
});
|
|
1016
|
+
};
|
|
1017
|
+
if (colorMode === "organism") {
|
|
1018
|
+
const { items, colorMap } = buildModeLegendItems(organismNames, organismColors);
|
|
1019
|
+
makeLegendItems(items, colorMap);
|
|
1020
|
+
renderCustomGroupControls();
|
|
1021
|
+
} else if (colorMode === "assayType") {
|
|
1022
|
+
const { items, colorMap } = buildModeLegendItems(assayNames, assayColors);
|
|
1023
|
+
makeLegendItems(items, colorMap);
|
|
1024
|
+
renderCustomGroupControls();
|
|
1025
|
+
} else if (colorMode === "cohort") {
|
|
1026
|
+
const { items, colorMap } = buildModeLegendItems(cohortNames, cohortColors);
|
|
1027
|
+
makeLegendItems(items, colorMap);
|
|
1028
|
+
renderCustomGroupControls();
|
|
1029
|
+
} else if (colorMode === "proteinAccession") {
|
|
1030
|
+
const { items, colorMap } = buildModeLegendItems(proteinAccessions, proteinColors);
|
|
1031
|
+
makeLegendItems(items, colorMap);
|
|
1032
|
+
renderCustomGroupControls();
|
|
1033
|
+
}
|
|
1034
|
+
shapeLegendDiv.append("div").style("border-top", "1px solid #e5e7eb").style("margin", "8px 0 8px 0");
|
|
1035
|
+
const shapeModeRow = shapeLegendDiv.append("div").style("display", "flex").style("gap", "10px").style("margin-bottom", "6px").style("flex-wrap", "wrap");
|
|
1036
|
+
shapeModeRow.append("span").text("Shape by");
|
|
1037
|
+
for (const { key, label } of shapeGroupingModes) {
|
|
1038
|
+
shapeModeRow.append("span").text(label).style("cursor", "pointer").style("font-weight", key === shapeMode ? "600" : "400").style("text-decoration", key === shapeMode ? "underline" : "none").style("color", key === shapeMode ? "#111" : "#6b7280").on("click", () => {
|
|
1039
|
+
shapeGroupingModeActive.delete(shapeMode);
|
|
1040
|
+
checkedShapeItemsByMode[shapeMode].clear();
|
|
1041
|
+
shapeMode = key;
|
|
1042
|
+
refreshAfterVisibilityChange();
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
const buildShapeLegendItems = (baseItems) => {
|
|
1046
|
+
const visibleBaseItems = baseItems.filter((name) => !getCustomShapeGroupOfValue(shapeMode, name));
|
|
1047
|
+
return { items: [...visibleBaseItems, ...getCustomShapeGroupItems(shapeMode)] };
|
|
1048
|
+
};
|
|
1049
|
+
const drawShapeLegend = (items, shapeMap) => {
|
|
1050
|
+
const dotsVisibleByColor = dots.filter((d) => !hiddenColor[colorMode].has(getColorValueByMode(d, colorMode)));
|
|
1051
|
+
const openShapeMenu = (event, name) => {
|
|
1052
|
+
const menu = new Menu({ padding: "0px" });
|
|
1053
|
+
const activeShapeMap = isCustomShapeGroupKey(name) ? customShapeIndicesByMode[shapeMode] : getShapeMapInUse();
|
|
1054
|
+
const div = menu.d.append("div");
|
|
1055
|
+
const hidden = hiddenShape[shapeMode].has(name);
|
|
1056
|
+
const hiddenCount = hiddenShape[shapeMode].size;
|
|
1057
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(hidden ? "Show" : "Hide").on("click", () => {
|
|
1058
|
+
if (hidden) hiddenShape[shapeMode].delete(name);
|
|
1059
|
+
else hiddenShape[shapeMode].add(name);
|
|
1060
|
+
refreshAfterVisibilityChange();
|
|
1061
|
+
menu.hide();
|
|
1062
|
+
});
|
|
1063
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show only").on("click", () => {
|
|
1064
|
+
hiddenShape[shapeMode].clear();
|
|
1065
|
+
for (const item of items) {
|
|
1066
|
+
if (item != name) hiddenShape[shapeMode].add(item);
|
|
1067
|
+
}
|
|
1068
|
+
refreshAfterVisibilityChange();
|
|
1069
|
+
menu.hide();
|
|
1070
|
+
});
|
|
1071
|
+
if (hiddenCount > 1)
|
|
1072
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show all").on("click", () => {
|
|
1073
|
+
hiddenShape[shapeMode].clear();
|
|
1074
|
+
refreshAfterVisibilityChange();
|
|
1075
|
+
menu.hide();
|
|
1076
|
+
});
|
|
1077
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Change shape").on("click", () => {
|
|
1078
|
+
div.selectAll("*").remove();
|
|
1079
|
+
shapeSelector(
|
|
1080
|
+
div,
|
|
1081
|
+
(index) => {
|
|
1082
|
+
const shapeKey = isCustomShapeGroupKey(name) ? getCustomShapeGroupNameFromKey(name) : name;
|
|
1083
|
+
activeShapeMap.set(shapeKey, index);
|
|
1084
|
+
updateDots();
|
|
1085
|
+
renderColorLegend();
|
|
1086
|
+
menu.hide();
|
|
1087
|
+
},
|
|
1088
|
+
prioritizedShapesArray
|
|
1089
|
+
);
|
|
1090
|
+
});
|
|
1091
|
+
if (isCustomShapeGroupKey(name))
|
|
1092
|
+
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Remove group").on("click", () => {
|
|
1093
|
+
removeCustomShapeGroup(shapeMode, getCustomShapeGroupNameFromKey(name));
|
|
1094
|
+
refreshAfterVisibilityChange();
|
|
1095
|
+
menu.hide();
|
|
1096
|
+
});
|
|
1097
|
+
menu.showunder(event.target);
|
|
1098
|
+
};
|
|
1099
|
+
for (const name of items) {
|
|
1100
|
+
const hidden = hiddenShape[shapeMode].has(name);
|
|
1101
|
+
const isGroup = isCustomShapeGroupKey(name);
|
|
1102
|
+
const displayName = isGroup ? getCustomShapeGroupNameFromKey(name) : name;
|
|
1103
|
+
const inGroup = !isGroup ? getCustomShapeGroupOfValue(shapeMode, name) : null;
|
|
1104
|
+
const sampleCount = getLegendItemSampleCount(shapeMode, name, dotsVisibleByColor);
|
|
1105
|
+
if (sampleCount === 0) continue;
|
|
1106
|
+
const row = shapeLegendDiv.append("div").style("display", "flex").style("align-items", "center").style("gap", "6px").style("margin-bottom", "3px");
|
|
1107
|
+
if (!isGroup && shapeGroupingModeActive.has(shapeMode)) {
|
|
1108
|
+
const cb = row.append("input").attr("type", "checkbox").style("cursor", "pointer").style("flex-shrink", "0");
|
|
1109
|
+
const cbNode = cb.node();
|
|
1110
|
+
cbNode.checked = checkedShapeItemsByMode[shapeMode].has(name);
|
|
1111
|
+
cb.on("change", () => {
|
|
1112
|
+
if (cbNode.checked) checkedShapeItemsByMode[shapeMode].add(name);
|
|
1113
|
+
else checkedShapeItemsByMode[shapeMode].delete(name);
|
|
1114
|
+
updateShapeCreateButtonState();
|
|
1115
|
+
});
|
|
1116
|
+
}
|
|
1117
|
+
const icon = row.append("svg").attr("width", 16).attr("height", 16).style("display", "inline-block").style("cursor", "pointer");
|
|
1118
|
+
icon.append("path").attr("transform", "scale(0.8)").attr(
|
|
1119
|
+
"d",
|
|
1120
|
+
prioritizedShapesArray[((isGroup ? customShapeIndicesByMode[shapeMode].get(getCustomShapeGroupNameFromKey(name)) : shapeMap.get(name)) || 0) % prioritizedShapesArray.length]
|
|
1121
|
+
).attr("fill", "#4b5563").attr("fill-opacity", hidden ? 0.35 : 0.9);
|
|
1122
|
+
icon.on("click", (event) => openShapeMenu(event, name));
|
|
1123
|
+
row.append("span").text(`${displayName}, ${sampleCount} sample set${sampleCount === 1 ? "" : "s"}`).style("text-decoration", hidden ? "line-through" : "none").style("cursor", "pointer").on("click", (event) => openShapeMenu(event, name));
|
|
1124
|
+
if (isGroup) {
|
|
1125
|
+
const count = customShapeGroupsByMode[shapeMode].get(getCustomShapeGroupNameFromKey(name))?.size || 0;
|
|
1126
|
+
const itemLabel = shapeMode === "organism" ? "organisms" : shapeMode === "assayType" ? "assays" : shapeMode === "cohort" ? "sample sets" : shapeMode === "proteinAccession" ? "isoforms" : "items";
|
|
1127
|
+
row.append("span").style("color", "#6b7280").text(`(${count} ${itemLabel})`);
|
|
1128
|
+
} else if (inGroup) {
|
|
1129
|
+
row.append("span").style("color", "#6b7280").style("font-style", "italic").text(`\u2192 ${inGroup}`);
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
};
|
|
1133
|
+
const renderShapeCustomGroupControls = () => {
|
|
1134
|
+
if (!shapeModesWithGroups.includes(shapeMode)) return;
|
|
1135
|
+
if (!shapeGroupingModeActive.has(shapeMode)) {
|
|
1136
|
+
const createBtn = shapeLegendDiv.append("button").attr("type", "button").style("font-size", "1em").style("font-weight", "400").style("margin-top", "6px").style("padding", "0").style("border", "none").style("border-radius", "0").style("background", "transparent").style("color", "#6b7280").style("box-shadow", "none").style("cursor", "pointer").style("transition", "color 120ms ease").text("+ Create custom group").on("click", () => {
|
|
1137
|
+
shapeGroupingModeActive.add(shapeMode);
|
|
1138
|
+
renderColorLegend();
|
|
1139
|
+
});
|
|
1140
|
+
createBtn.on("mouseover", function() {
|
|
1141
|
+
select_default(this).style("color", "#111827");
|
|
1142
|
+
}).on("mouseout", function() {
|
|
1143
|
+
select_default(this).style("color", "#6b7280");
|
|
1144
|
+
});
|
|
1145
|
+
return;
|
|
1146
|
+
}
|
|
1147
|
+
shapeLegendDiv.append("div").style("font-size", "11px").style("color", "#6b7280").style("margin-bottom", "4px").text("Check items to include in the new group:");
|
|
1148
|
+
const controls = shapeLegendDiv.append("div").style("display", "flex").style("gap", "6px").style("align-items", "center").style("flex-wrap", "wrap").style("margin-top", "4px");
|
|
1149
|
+
const nameInput = controls.append("input").attr("data-role", "custom-shape-group-name").attr("type", "text").attr("placeholder", "Group name").style("font-size", "12px").style("padding", "2px 4px").style("min-width", "100px").on("input", () => updateShapeCreateButtonState());
|
|
1150
|
+
controls.append("button").attr("data-role", "create-custom-shape-group-submit").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Create").on("click", () => {
|
|
1151
|
+
const groupName = (nameInput.node()?.value || "").trim();
|
|
1152
|
+
if (!groupName || checkedShapeItemsByMode[shapeMode].size < 1) return;
|
|
1153
|
+
addOrUpdateCustomShapeGroup(shapeMode, groupName, [...checkedShapeItemsByMode[shapeMode]]);
|
|
1154
|
+
checkedShapeItemsByMode[shapeMode].clear();
|
|
1155
|
+
shapeGroupingModeActive.delete(shapeMode);
|
|
1156
|
+
refreshAfterVisibilityChange();
|
|
1157
|
+
});
|
|
1158
|
+
updateShapeCreateButtonState();
|
|
1159
|
+
controls.append("button").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Cancel").on("click", () => {
|
|
1160
|
+
checkedShapeItemsByMode[shapeMode].clear();
|
|
1161
|
+
shapeGroupingModeActive.delete(shapeMode);
|
|
1162
|
+
renderColorLegend();
|
|
1163
|
+
});
|
|
1164
|
+
};
|
|
1165
|
+
if (shapeMode === "organism") {
|
|
1166
|
+
const { items } = buildShapeLegendItems(organismNames);
|
|
1167
|
+
drawShapeLegend(items, organismShapes);
|
|
1168
|
+
renderShapeCustomGroupControls();
|
|
1169
|
+
} else if (shapeMode === "assayType") {
|
|
1170
|
+
const { items } = buildShapeLegendItems(assayNames);
|
|
1171
|
+
drawShapeLegend(items, assayShapes);
|
|
1172
|
+
renderShapeCustomGroupControls();
|
|
1173
|
+
} else if (shapeMode === "cohort") {
|
|
1174
|
+
const { items } = buildShapeLegendItems(cohortNames);
|
|
1175
|
+
drawShapeLegend(items, cohortShapes);
|
|
1176
|
+
renderShapeCustomGroupControls();
|
|
1177
|
+
} else if (shapeMode === "proteinAccession") {
|
|
1178
|
+
const { items } = buildShapeLegendItems(proteinAccessions);
|
|
1179
|
+
drawShapeLegend(items, proteinShapes);
|
|
1180
|
+
renderShapeCustomGroupControls();
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
updateRadiusScaleForVisibleDots();
|
|
1184
|
+
renderColorLegend();
|
|
1185
|
+
renderSizeLegend();
|
|
1186
|
+
}
|
|
1187
|
+
async function renderPTMLollipop(holder, ptmCohorts, self, isoform, genome) {
|
|
1188
|
+
if (!ptmCohorts?.length) return;
|
|
1189
|
+
const custom_variants = [];
|
|
1190
|
+
const mergedMclassOverride = {};
|
|
1191
|
+
const gm = await getGmForPTM(ptmCohorts[0].geneName, genome.name, isoform);
|
|
1192
|
+
for (const ptm of ptmCohorts) {
|
|
1193
|
+
if (!gm) continue;
|
|
1194
|
+
const logValue = getLog2Ratio(ptm.foldChange);
|
|
1195
|
+
const wholeProteomeLog2 = getLog2Ratio(ptm.proteinFoldChange);
|
|
1196
|
+
const normalizedLog2 = logValue != null && wholeProteomeLog2 != null ? logValue - wholeProteomeLog2 : null;
|
|
1197
|
+
const fdr = Number(ptm.fdr);
|
|
1198
|
+
const testedN = Number(ptm.testedN);
|
|
1199
|
+
const controlN = Number(ptm.controlN);
|
|
1200
|
+
if (ptm.mclassOverride && typeof ptm.mclassOverride == "object") {
|
|
1201
|
+
Object.assign(mergedMclassOverride, ptm.mclassOverride);
|
|
1202
|
+
}
|
|
1203
|
+
const site = parsePTMModSites(ptm.modSites);
|
|
1204
|
+
if (!site) continue;
|
|
1205
|
+
const pos = aa2gmcoord(site, gm);
|
|
1206
|
+
if (!Number.isInteger(pos)) continue;
|
|
1207
|
+
const ptmClass = Object.keys(ptm.mclassOverride || {})[0];
|
|
1208
|
+
custom_variants.push({
|
|
1209
|
+
chr: gm.chr,
|
|
1210
|
+
pos,
|
|
1211
|
+
mname: ptm.modSites,
|
|
1212
|
+
class: ptmClass,
|
|
1213
|
+
dt: 1,
|
|
1214
|
+
logValue,
|
|
1215
|
+
wholeProteomeLog2,
|
|
1216
|
+
normalizedLog2,
|
|
1217
|
+
fdr,
|
|
1218
|
+
testedN: Number.isFinite(testedN) ? testedN : null,
|
|
1219
|
+
controlN: Number.isFinite(controlN) ? controlN : null,
|
|
1220
|
+
organism: ptm.organism || null,
|
|
1221
|
+
assayName: ptm.assayName || null,
|
|
1222
|
+
cohortName: ptm.cohortName || null,
|
|
1223
|
+
proteinAccession: ptm.proteinAccession || null,
|
|
1224
|
+
PTMStr: ptm.uniqueIdentifier || null,
|
|
1225
|
+
htmlSections: [
|
|
1226
|
+
{
|
|
1227
|
+
key: "Action",
|
|
1228
|
+
label: "Launch Violin Plot",
|
|
1229
|
+
callback: () => launchViolinPlot(self, ptm.organism, ptm.assayName, ptm.cohortName, ptm.uniqueIdentifier)
|
|
1230
|
+
}
|
|
1231
|
+
]
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
if (!custom_variants.length) return;
|
|
1235
|
+
const mclassOverride = {
|
|
1236
|
+
className: "PTM",
|
|
1237
|
+
classes: mergedMclassOverride
|
|
1238
|
+
};
|
|
1239
|
+
for (const key in mclassOverride.classes) {
|
|
1240
|
+
if (mclass[key]) Object.assign(mclass[key], mclassOverride.classes[key]);
|
|
1241
|
+
}
|
|
1242
|
+
const tk = {
|
|
1243
|
+
type: "mds3",
|
|
1244
|
+
name: "PTMs",
|
|
1245
|
+
custom_variants,
|
|
1246
|
+
skewerModes: [
|
|
1247
|
+
{
|
|
1248
|
+
type: "numeric",
|
|
1249
|
+
byAttribute: "logValue",
|
|
1250
|
+
label: "Log2FC",
|
|
1251
|
+
tooltipPrintValue: (m) => {
|
|
1252
|
+
const p = Number(m.fdr);
|
|
1253
|
+
return [
|
|
1254
|
+
{ k: "Organism", v: m.organism ?? "NA" },
|
|
1255
|
+
{ k: "Assay", v: m.assayName ?? "NA" },
|
|
1256
|
+
{ k: "Sample set", v: m.cohortName ?? "NA" },
|
|
1257
|
+
{ k: "PTM", v: m.PTMStr ?? "NA" },
|
|
1258
|
+
{ k: "Log2 fold change", v: Number.isFinite(m.logValue) ? roundValue(m.logValue, 3) : "NA" },
|
|
1259
|
+
{
|
|
1260
|
+
k: "Whole proteome Log2 FC",
|
|
1261
|
+
v: Number.isFinite(m.wholeProteomeLog2) ? roundValue(m.wholeProteomeLog2, 3) : "NA"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
k: "Normalized Log2 FC",
|
|
1265
|
+
v: Number.isFinite(m.normalizedLog2) ? roundValue(m.normalizedLog2, 3) : "NA"
|
|
1266
|
+
},
|
|
1267
|
+
{ k: "FDR", v: Number.isFinite(p) && p > 0 ? p.toExponential(2) : "NA" },
|
|
1268
|
+
{ k: "Case samples", v: Number.isFinite(m.testedN) ? m.testedN : "NA" },
|
|
1269
|
+
{ k: "Control samples", v: Number.isFinite(m.controlN) ? m.controlN : "NA" },
|
|
1270
|
+
{ k: "Protein accession", v: m.proteinAccession ?? "NA" }
|
|
1271
|
+
];
|
|
1272
|
+
},
|
|
1273
|
+
inuse: true,
|
|
1274
|
+
axisheight: 100
|
|
1275
|
+
}
|
|
1276
|
+
],
|
|
1277
|
+
mclassOverride
|
|
1278
|
+
};
|
|
1279
|
+
const arg = {
|
|
1280
|
+
holder: holder.append("div"),
|
|
1281
|
+
genome,
|
|
1282
|
+
nobox: true,
|
|
1283
|
+
tklst: [tk],
|
|
1284
|
+
mclassOverride,
|
|
1285
|
+
debugmode: self.app.opts.debug,
|
|
1286
|
+
query: gm.isoform,
|
|
1287
|
+
hide_dsHandles: true
|
|
1288
|
+
};
|
|
1289
|
+
const _ = await import("./block.init-SB6OX35E.js");
|
|
1290
|
+
await _.default(arg);
|
|
1291
|
+
}
|
|
1292
|
+
function parsePTMModSites(modSites) {
|
|
1293
|
+
if (!modSites) return null;
|
|
1294
|
+
const regex = /([A-Za-z])(\d+)/g;
|
|
1295
|
+
let m;
|
|
1296
|
+
while ((m = regex.exec(modSites)) !== null) {
|
|
1297
|
+
const position = Number(m[2]);
|
|
1298
|
+
if (!Number.isInteger(position) || position < 1) continue;
|
|
1299
|
+
return position;
|
|
1300
|
+
}
|
|
1301
|
+
return null;
|
|
1302
|
+
}
|
|
1303
|
+
async function getGmForPTM(geneName, genomeName, isoform) {
|
|
1304
|
+
if (!geneName) return null;
|
|
1305
|
+
const d = await dofetch3("genelookup", {
|
|
1306
|
+
body: {
|
|
1307
|
+
deep: 1,
|
|
1308
|
+
genome: genomeName,
|
|
1309
|
+
input: geneName
|
|
1310
|
+
}
|
|
1311
|
+
});
|
|
1312
|
+
if (d.error || !Array.isArray(d.gmlst) || !d.gmlst.length) return null;
|
|
1313
|
+
const normalizedIsoform = isoform?.trim().toUpperCase();
|
|
1314
|
+
const gm = d.gmlst.find((i) => i.isoform && normalizedIsoform && i.isoform.toUpperCase() == normalizedIsoform) || d.gmlst.find((i) => i.isdefault) || d.gmlst[0];
|
|
1315
|
+
return gm;
|
|
1316
|
+
}
|
|
1317
|
+
async function getPlotConfig(opts) {
|
|
1318
|
+
const config = structuredClone(defaultConfig);
|
|
1319
|
+
if (!opts.tw) throw new Error("proteinView requires opts.tw");
|
|
1320
|
+
return copyMerge(config, opts);
|
|
1321
|
+
}
|
|
1322
|
+
function makeChartBtnMenu(holder, chartsInstance) {
|
|
1323
|
+
const row = holder.append("div").style("padding", "5px");
|
|
1324
|
+
row.append("span").style("font-weight", "bold").text("Enter a gene name:");
|
|
1325
|
+
const geneSearch = addGeneSearchbox({
|
|
1326
|
+
row,
|
|
1327
|
+
genome: chartsInstance.app.opts.genome,
|
|
1328
|
+
tip: new Menu({ padding: "0px" }),
|
|
1329
|
+
searchOnly: "gene",
|
|
1330
|
+
callback: async () => {
|
|
1331
|
+
if (!geneSearch.geneSymbol) throw new Error("A valid gene selection is required");
|
|
1332
|
+
chartsInstance.dom.tip.hide();
|
|
1333
|
+
chartsInstance.app.dispatch({
|
|
1334
|
+
type: "plot_create",
|
|
1335
|
+
config: {
|
|
1336
|
+
chartType: "proteinView",
|
|
1337
|
+
tw: {
|
|
1338
|
+
term: {
|
|
1339
|
+
gene: geneSearch.geneSymbol,
|
|
1340
|
+
name: geneSearch.geneSymbol,
|
|
1341
|
+
type: TermTypes.PROTEOME_ABUNDANCE
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
});
|
|
1346
|
+
}
|
|
1347
|
+
});
|
|
1348
|
+
}
|
|
1349
|
+
var proteinViewInit = getCompInit(ProteinView);
|
|
1350
|
+
var componentInit = proteinViewInit;
|
|
1351
|
+
export {
|
|
1352
|
+
componentInit,
|
|
1353
|
+
getPlotConfig,
|
|
1354
|
+
makeChartBtnMenu,
|
|
1355
|
+
proteinViewInit
|
|
1356
|
+
};
|
|
1357
|
+
//# sourceMappingURL=proteinView-7K7VHGX3.js.map
|