@sjcrh/proteinpaint-client 2.207.0 → 2.207.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-32F56QBJ.js +1367 -0
- package/dist/AggMatrixInput-RDFMGV47.js +277 -0
- package/dist/AggregateMatrix-TPXNNWVD.js +41 -0
- package/dist/AppHeader-SEJXDJE3.js +830 -0
- package/dist/BoxPlot-LOAO2MDO.js +1211 -0
- package/dist/CorrelationVolcano-AU6ZAFPG.js +614 -0
- package/dist/Cuminc-O533BXFY.js +1219 -0
- package/dist/DE-FDAUNOWU.js +89 -0
- package/dist/DEinput-TF2VYTIJ.js +499 -0
- package/dist/DM-42YN3OEO.js +90 -0
- package/dist/DifferentialAnalysis-H5NBPR3P.js +237 -0
- package/dist/Disco-FGFHIKUR.js +3389 -0
- package/dist/Disco.UI-YGIU2JPM.js +243 -0
- package/dist/DmrPlot-EQFXMAW5.js +637 -0
- package/dist/GB-244UT5VU.js +1391 -0
- package/dist/GSEA-KXQBR3HH.js +851 -0
- package/dist/GeneExpInput-ZY6SHXTX.js +42 -0
- package/dist/Geomap-6ZV4AM23.js +84 -0
- package/dist/HicApp-4UHX2YGP.js +2245 -0
- package/dist/IDCViewer-AB6LLO64.js +10812 -0
- package/dist/NumBinaryEditor-CGSO2T4L.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +312 -0
- package/dist/NumContEditor-YLKSC4Y2.js +105 -0
- package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +164 -0
- package/dist/NumCustomBinEditor-K3XSFHCC.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +397 -0
- package/dist/NumDiscreteEditor-RJCSIW4R.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +233 -0
- package/dist/NumRegularBinEditor-C3VIFDS4.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +278 -0
- package/dist/NumSplineEditor-XBE7OV7P.js +210 -0
- package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +224 -0
- package/dist/NumericDensity-ZL7UY7TL.js +33 -0
- package/dist/NumericDensity.unit.spec-CWTMSR56.js +418 -0
- package/dist/NumericHandler-56ENFMNK.js +34 -0
- package/dist/NumericHandler.unit.spec-3YW34TTJ.js +214 -0
- package/dist/ProteomeInput-HIS4GYWH.js +388 -0
- package/dist/Regression-C5GZYLEN.js +1416 -0
- package/dist/RunChart2-X5WKYLPQ.js +749 -0
- package/dist/SC-3Y5J65DT.js +1107 -0
- package/dist/Violin-F3QS2EMJ.js +1082 -0
- package/dist/Volcano-ZNYDKP2O.js +1649 -0
- package/dist/Wsi-B6EIGTI2.js +609 -0
- package/dist/adSandbox-A52OQSOW.js +33 -0
- package/dist/animatedBubbleChart-OQOZ3WFK.js +547 -0
- package/dist/app-4KIKXQX4.js +32 -0
- package/dist/app-NZUNKWKK.js +42 -0
- package/dist/app.js +14 -14
- package/dist/bam-SME7YD3E.js +876 -0
- package/dist/barchart-ESY6FOS4.js +42 -0
- package/dist/barchart2-XEJZGCES.js +309 -0
- package/dist/block-747IK2EW.js +6249 -0
- package/dist/block.init-ITZ42K43.js +33 -0
- package/dist/block.mds.expressionrank-Q63IJAJK.js +354 -0
- package/dist/block.mds.geneboxplot-EZIKAIKC.js +823 -0
- package/dist/block.mds.junction-TJXFKZ2Q.js +1539 -0
- package/dist/block.mds.svcnv-WSIEAII6.js +6796 -0
- package/dist/block.svg-CQX5W6R4.js +159 -0
- package/dist/block.tk.aicheck-J4MQ4BSD.js +278 -0
- package/dist/block.tk.ase-2JFNPWCZ.js +360 -0
- package/dist/block.tk.bam-RBQ4AXSQ.js +1901 -0
- package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +379 -0
- package/dist/block.tk.bigwig.ui-U5IBO3VF.js +206 -0
- package/dist/block.tk.hicstraw-ZRZMFLLX.js +818 -0
- package/dist/block.tk.junction-7U7ABE4O.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +194 -0
- package/dist/block.tk.ld-E7WPFL5P.js +94 -0
- package/dist/block.tk.menu-AITMEZTZ.js +1024 -0
- package/dist/block.tk.pgv-EDPZHI5L.js +938 -0
- package/dist/brainImaging-35LPNBDR.js +555 -0
- package/dist/brainRegions-JMTQT4X3.js +217 -0
- package/dist/bubbleHeatmap-FMBKMDUL.js +378 -0
- package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +278 -0
- package/dist/chunk-2GBG3KA7.js +129 -0
- package/dist/chunk-2IVN5DWA.js +302 -0
- package/dist/chunk-36AAUYZE.js +194 -0
- package/dist/chunk-3K7AYA3M.js +54 -0
- package/dist/chunk-4JFFFGL3.js +468 -0
- package/dist/chunk-4JFFFGL3.js.map +7 -0
- package/dist/chunk-4KJSNR5E.js +562 -0
- package/dist/chunk-52QHIKH2.js +2139 -0
- package/dist/chunk-5ALGKNTQ.js +6360 -0
- package/dist/chunk-5JCTTSV4.js +480 -0
- package/dist/chunk-5W7K7STT.js +26 -0
- package/dist/chunk-6CIGRV5K.js +677 -0
- package/dist/chunk-6U2OPC6J.js +176 -0
- package/dist/chunk-7AHTS4BP.js +382 -0
- package/dist/chunk-7HFAEB3C.js +55 -0
- package/dist/chunk-7HGZRJZZ.js +98 -0
- package/dist/chunk-A2ORIMUJ.js +339 -0
- package/dist/chunk-A32SGNCT.js +1233 -0
- package/dist/chunk-AKA6RWLC.js +217 -0
- package/dist/chunk-AMVZ6KT5.js +240 -0
- package/dist/chunk-ASXUC6SM.js +54 -0
- package/dist/chunk-BCO5T43J.js +379 -0
- package/dist/chunk-BDQPMVKD.js +783 -0
- package/dist/chunk-BOQZOLRA.js +274 -0
- package/dist/chunk-BSCMVKBP.js +5071 -0
- package/dist/chunk-BZN2O76M.js +119 -0
- package/dist/chunk-BZZZQFTI.js +34 -0
- package/dist/chunk-CRHGXVUQ.js +272 -0
- package/dist/chunk-D6AB63O3.js +216 -0
- package/dist/chunk-DPQP2GUW.js +626 -0
- package/dist/chunk-EKQ7NYOU.js +276 -0
- package/dist/chunk-EUQEQOFE.js +141 -0
- package/dist/chunk-FKA55PHV.js +281 -0
- package/dist/chunk-GVLWCGXX.js +397 -0
- package/dist/chunk-HLVWCJRO.js +518 -0
- package/dist/chunk-HPAW7XDM.js +178 -0
- package/dist/chunk-IV57XNTG.js +123 -0
- package/dist/chunk-JMAFJKGG.js +243 -0
- package/dist/chunk-JZHRVYNS.js +2676 -0
- package/dist/chunk-K6YUMBDY.js +55 -0
- package/dist/chunk-L6WNBKYN.js +158 -0
- package/dist/chunk-LGR6CJTW.js +2853 -0
- package/dist/chunk-LOWJQFCC.js +550 -0
- package/dist/chunk-M5SYLBBC.js +2327 -0
- package/dist/chunk-MKAILEWO.js +59 -0
- package/dist/chunk-MKAILEWO.js.map +7 -0
- package/dist/chunk-N4PDPZWQ.js +4366 -0
- package/dist/chunk-N4PDPZWQ.js.map +7 -0
- package/dist/chunk-OIJ6GRVS.js +134 -0
- package/dist/chunk-ONVIVITY.js +203 -0
- package/dist/chunk-OQX3HO46.js +56 -0
- package/dist/chunk-OYLGAFFY.js +31 -0
- package/dist/chunk-P7DIIYCX.js +197 -0
- package/dist/chunk-PC4MFDHP.js +24613 -0
- package/dist/chunk-PC4MFDHP.js.map +7 -0
- package/dist/chunk-PGKOJYV6.js +50 -0
- package/dist/chunk-PPSWNLMG.js +402 -0
- package/dist/chunk-R624P2GE.js +263 -0
- package/dist/chunk-RBSAEAQV.js +446 -0
- package/dist/chunk-RUBZCKIX.js +1608 -0
- package/dist/chunk-RUBZCKIX.js.map +7 -0
- package/dist/chunk-RZ3KEFZ2.js +339 -0
- package/dist/chunk-SS66BHGA.js +103 -0
- package/dist/chunk-SU63FEY6.js +294 -0
- package/dist/chunk-SVC65ZPG.js +102 -0
- package/dist/chunk-TG3QBMDK.js +102 -0
- package/dist/chunk-TMXW5HVE.js +1278 -0
- package/dist/chunk-TPDBOH3A.js +1339 -0
- package/dist/chunk-U5RWKZVS.js +1720 -0
- package/dist/chunk-UYKZ5HXA.js +1986 -0
- package/dist/chunk-VOYUJJQ6.js +70 -0
- package/dist/chunk-W4RYRU5D.js +38 -0
- package/dist/chunk-WFSMIVJT.js +2784 -0
- package/dist/chunk-Y4PX2ECH.js +299 -0
- package/dist/chunk-YKM46UX5.js +170 -0
- package/dist/chunk-Z7AO6A7M.js +14 -0
- package/dist/chunk-ZENZ5H2Q.js +49 -0
- package/dist/cohort-Q7TW5XTY.js +70 -0
- package/dist/condition-H6LBUHIF.js +327 -0
- package/dist/controls-DWDKFDXY.js +34 -0
- package/dist/controls.config-KF7PHZSG.js +34 -0
- package/dist/correlation-YMSARIER.js +95 -0
- package/dist/customdata.inputui-KEFE7ZHS.js +284 -0
- package/dist/dataDownload-G7TGPFGL.js +329 -0
- package/dist/databrowser.ui-NFIIFQJZ.js +425 -0
- package/dist/dictionary-ERJQMALC.js +113 -0
- package/dist/dnaMethylation-KVCXKAU3.js +33 -0
- package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +198 -0
- package/dist/dofetch-YRWLEQEH.js +48 -0
- package/dist/e2pca-M2F2CI6I.js +344 -0
- package/dist/ep-QAEG4RV4.js +1249 -0
- package/dist/expclust.gdc.spec-P77T6JR2.js +302 -0
- package/dist/facet-LJTSTASE.js +519 -0
- package/dist/gb-KSB2DQHH.js +81 -0
- package/dist/geneExpClustering-KHDCPE65.js +244 -0
- package/dist/geneExpression-AWWMOUAR.js +310 -0
- package/dist/geneExpression-Z2EDR6EN.js +33 -0
- package/dist/geneExpression.unit.spec-WB2ESPKT.js +128 -0
- package/dist/geneORA-NGZTMFSJ.js +273 -0
- package/dist/geneRanking-AYNBGFKU.js +548 -0
- package/dist/geneVariant-AL64NDHH.js +36 -0
- package/dist/geneVariant-QMKR3LUV.js +286 -0
- package/dist/geneVariant.integration.spec-N3U5CIRT.js +489 -0
- package/dist/genefusion.ui-IWJMF2BM.js +303 -0
- package/dist/geneset-APCO4BRX.js +203 -0
- package/dist/genomeBrowser.spec-JTCVUTO5.js +276 -0
- package/dist/grin2-FVX6AIST.js +70 -0
- package/dist/grin2-LF46UKFY.js +1137 -0
- package/dist/hierCluster-4DRHXD6W.js +55 -0
- package/dist/hierCluster-SFRQK3PS.js +59 -0
- package/dist/hierCluster.config-G2TFGBYF.js +36 -0
- package/dist/hierCluster.integration.spec-ZUZKCG6A.js +483 -0
- package/dist/hierCluster.interactivity-LQA6J56H.js +49 -0
- package/dist/hierCluster.renderers-TZZJEVFO.js +19 -0
- package/dist/imagePlot-OUHFWYKT.js +156 -0
- package/dist/importPlot-7V456QK7.js +8 -0
- package/dist/isoformExpression-NGUJJ6VI.js +35 -0
- package/dist/isoformExpression.unit.spec-DCRPXPBY.js +237 -0
- package/dist/junction-QYKLNXIW.js +36 -0
- package/dist/junction.customTerm-EHOOBR4V.js +16 -0
- package/dist/junction.unit.spec-LDNY7OFK.js +182 -0
- package/dist/launch.adhoc-FF7B3UG6.js +37 -0
- package/dist/leftlabel.sample-BTHMKLGF.js +258 -0
- package/dist/lollipop-H3UCNMHN.js +166 -0
- package/dist/maf-KWGUTPKO.js +455 -0
- package/dist/maftimeline-UD5VE4UW.js +587 -0
- package/dist/matrix-DLCX6GOO.js +59 -0
- package/dist/matrix-TIV42IQB.js +54 -0
- package/dist/matrix.cells-J3QZ7C6U.js +26 -0
- package/dist/matrix.config-VNMS6B7J.js +37 -0
- package/dist/matrix.data-PIE3TLKD.js +23 -0
- package/dist/matrix.groups-URBU775S.js +26 -0
- package/dist/matrix.integration.spec-LC6YMEKP.js +3160 -0
- package/dist/matrix.interactivity-W5AFOAQN.js +37 -0
- package/dist/matrix.layout-LU3NIJAL.js +39 -0
- package/dist/matrix.legend-LTP6ETZO.js +20 -0
- package/dist/matrix.renderers-762XI65L.js +34 -0
- package/dist/matrix.serieses-FHDBRPZA.js +19 -0
- package/dist/matrix.sort-Q6A6UWMY.js +26 -0
- package/dist/matrix.sort.unit.spec-CTCOPKVS.js +468 -0
- package/dist/matrix.sorterUi-4M5AU5EL.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +338 -0
- package/dist/matrix.unit.spec-DROPHFTM.js +150 -0
- package/dist/mavb-BWA73N3U.js +727 -0
- package/dist/mds.fimo-3UJWIH2J.js +513 -0
- package/dist/mds.samplescatterplot-EUS7DCSQ.js +1545 -0
- package/dist/mds.survivalplot-77UEBQIC.js +477 -0
- package/dist/multivalue-KZ2DMVIR.js +83 -0
- package/dist/numericDictTermCluster-C2MYJYPZ.js +63 -0
- package/dist/oncomatrix-6LGB3M7R.js +290 -0
- package/dist/oncomatrix.spec-UWMSLOHW.js +443 -0
- package/dist/plot.2dvaf-LZAVWH65.js +372 -0
- package/dist/plot.app-OEWE3AYV.js +36 -0
- package/dist/plot.barplot-VIBHGTUT.js +97 -0
- package/dist/plot.boxplot-NQI3PSKR.js +146 -0
- package/dist/plot.brainImaging-3MTTCZHI.js +51 -0
- package/dist/plot.disco-HODBY7SO.js +99 -0
- package/dist/plot.ssgq-4URQE673.js +134 -0
- package/dist/plot.vaf2cov-QIJNEKCK.js +253 -0
- package/dist/polar2-GVFQNSLK.js +232 -0
- package/dist/profileForms-Z22CJXI4.js +941 -0
- package/dist/profilePlot-IVQZBSID.js +49 -0
- package/dist/proteinView-AUK634AU.js +1357 -0
- package/dist/proteomeCohortCompare-7G2F35H5.js +912 -0
- package/dist/pseudbulk.unit.spec-JDKUQUCM.js +106 -0
- package/dist/pseudobulk-QTCUSH5I.js +37 -0
- package/dist/qualitative-7ST7SSBT.js +38 -0
- package/dist/radar2-CEE6SNBS.js +327 -0
- package/dist/radarFacility2-OSKDYIK7.js +335 -0
- package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +211 -0
- package/dist/render-MAD3WMVD.js +33 -0
- package/dist/report-6JXJVSEB.js +217 -0
- package/dist/sampleView-SG3QYZKQ.js +43 -0
- package/dist/samplelst-R765UFP6.js +106 -0
- package/dist/samplematrix-EBJYE5SM.js +2193 -0
- package/dist/sc-7ZXPFDHD.js +81 -0
- package/dist/scatter-3GUL4KF3.js +88 -0
- package/dist/scatter-RHUVER53.js +920 -0
- package/dist/scatter-RHUVER53.js.map +7 -0
- package/dist/selectGenomeWithTklst-K4YXGJYG.js +129 -0
- package/dist/singleCellCellType-TU5VTPLP.js +33 -0
- package/dist/singleCellCellType.unit.spec-IRITQIGT.js +154 -0
- package/dist/singleCellGeneExpression-3IL52QDK.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +148 -0
- package/dist/singleCellPlot-XG3HZS7I.js +48 -0
- package/dist/singlecell-BRF2HAV2.js +81 -0
- package/dist/singlecell-KVCJF2HI.js +1566 -0
- package/dist/snp-RMZRB426.js +33 -0
- package/dist/snp.unit.spec-JF6KR2NT.js +171 -0
- package/dist/snplocus-AHUFHQ3Q.js +203 -0
- package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +146 -0
- package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +278 -0
- package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +455 -0
- package/dist/ssGSEA-7RKWYZKX.js +33 -0
- package/dist/ssGSEA.unit.spec-XLCZHH7S.js +83 -0
- package/dist/stattable-NDYUCLVZ.js +117 -0
- package/dist/studyCatalog-TAXRF5NS.js +414 -0
- package/dist/summarizeCnvGeneexp-3QLHU6N7.js +158 -0
- package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +105 -0
- package/dist/summarizeMutationCnv-W7V7CKPI.js +159 -0
- package/dist/summarizeMutationDiagnosis-GCL4SRON.js +35 -0
- package/dist/summarizeMutationSurvival-6TTMSRRX.js +99 -0
- package/dist/summary-OUYDWLBF.js +44 -0
- package/dist/summary.integration.spec-4GTCG6HY.js +409 -0
- package/dist/summaryInput-UK3TLC7M.js +242 -0
- package/dist/sunburst-2UFHMNH3.js +278 -0
- package/dist/survival-SPWYSDVB.js +53 -0
- package/dist/survival-TL6UZ6FQ.js +1248 -0
- package/dist/survival.integration.spec-WWZELTKZ.js +613 -0
- package/dist/survival.integration.spec-WWZELTKZ.js.map +7 -0
- package/dist/svgraph-Z543MLIN.js +1382 -0
- package/dist/svmr-SZCAOAIF.js +3837 -0
- package/dist/table-IAQ6J4DO.js +197 -0
- package/dist/termCollection-3NGHR7QN.js +252 -0
- package/dist/termCollection-7P3WU6X6.js +33 -0
- package/dist/termCollection.unit.spec-EPYC7LOA.js +299 -0
- package/dist/termCollectionFractionSelection-YKIE6BME.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +188 -0
- package/dist/tk-TOXMU4GT.js +1121 -0
- package/dist/tk-X454XH5N.js +41 -0
- package/dist/tp.ui-FDQ76KPL.js +1454 -0
- package/dist/tvs.dt-U77PCG6X.js +34 -0
- package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +35 -0
- package/dist/tvs.dtcnv.continuous-4GJILFGP.js +67 -0
- package/dist/tvs.dtfusion-7YROAHVI.js +35 -0
- package/dist/tvs.dtitd-MIYU4ZHH.js +35 -0
- package/dist/tvs.dtsnvindel-XLDY7KWB.js +35 -0
- package/dist/tvs.dtsv-YMLJ37YR.js +35 -0
- package/dist/tvs.samplelst-KIVEXJKD.js +98 -0
- package/dist/tvs.termCollection-4CQV3EB3.js +124 -0
- package/dist/vocabulary-64GO4YDB.js +36 -0
- package/dist/wsi.direct-5MQVRJZX.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-5JKVMAPO.js +0 -1367
- package/dist/AggMatrixInput-254IEQYB.js +0 -277
- package/dist/AggregateMatrix-U3NZSNL6.js +0 -41
- package/dist/AppHeader-DK2GIYYT.js +0 -830
- package/dist/BoxPlot-POSL2ZLS.js +0 -1211
- package/dist/CorrelationVolcano-YZ6ACP5D.js +0 -614
- package/dist/Cuminc-SJVFK4VX.js +0 -1219
- package/dist/DE-RJMZGJ5Y.js +0 -89
- package/dist/DEinput-H25PS4QT.js +0 -499
- package/dist/DM-A3UCF7HM.js +0 -90
- package/dist/DifferentialAnalysis-4J75UMV7.js +0 -237
- package/dist/Disco-IXGGKIEI.js +0 -3389
- package/dist/Disco.UI-X3JG4ERN.js +0 -243
- package/dist/DmrPlot-SJWHTSMB.js +0 -637
- package/dist/GB-KPF7BZFQ.js +0 -1391
- package/dist/GSEA-BMVTJ6B7.js +0 -851
- package/dist/GeneExpInput-3KFGQEAY.js +0 -42
- package/dist/Geomap-R7Q3T3DZ.js +0 -84
- package/dist/HicApp-BTFHMXQE.js +0 -2245
- package/dist/IDCViewer-RVVWT7MH.js +0 -10812
- package/dist/NumBinaryEditor-V3YCDNRR.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-IVY27SEV.js +0 -312
- package/dist/NumContEditor-FSHA32UV.js +0 -105
- package/dist/NumContEditor.unit.spec-5IFB4GXP.js +0 -164
- package/dist/NumCustomBinEditor-63YQZU52.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-BJLGQQ4R.js +0 -397
- package/dist/NumDiscreteEditor-K4AZ6UQF.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-AHL7QA4N.js +0 -233
- package/dist/NumRegularBinEditor-5N3PWOIQ.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-SYPTBY5A.js +0 -278
- package/dist/NumSplineEditor-ZLB5MWYK.js +0 -210
- package/dist/NumSplineEditor.unit.spec-ZLAVLV7E.js +0 -224
- package/dist/NumericDensity-K4CTMN2G.js +0 -33
- package/dist/NumericDensity.unit.spec-BLWEQHZC.js +0 -418
- package/dist/NumericHandler-3KACLCOL.js +0 -34
- package/dist/NumericHandler.unit.spec-4P7HBSCB.js +0 -214
- package/dist/ProteomeInput-JZ6MKE7L.js +0 -388
- package/dist/Regression-QBR2VYHT.js +0 -1416
- package/dist/RunChart2-UKN6M5M5.js +0 -749
- package/dist/SC-COHN7DMJ.js +0 -1107
- package/dist/Violin-SDUSKIEX.js +0 -1082
- package/dist/Volcano-KON4MOIM.js +0 -1649
- package/dist/Wsi-SJC56PRR.js +0 -609
- package/dist/adSandbox-L6ZHCJJO.js +0 -33
- package/dist/animatedBubbleChart-IQBJBHPP.js +0 -547
- package/dist/app-2NSQK3GQ.js +0 -32
- package/dist/app-GMYTOBRB.js +0 -42
- package/dist/bam-B4ZPOZTX.js +0 -876
- package/dist/barchart-WF5VWDCV.js +0 -42
- package/dist/barchart2-3HGZ5Q2B.js +0 -309
- package/dist/block-A3I2INBA.js +0 -6249
- package/dist/block.init-YUHPWTMF.js +0 -33
- package/dist/block.mds.expressionrank-TGAZQTVW.js +0 -354
- package/dist/block.mds.geneboxplot-GPIQWNWB.js +0 -823
- package/dist/block.mds.junction-YREJCNYJ.js +0 -1539
- package/dist/block.mds.svcnv-2ZDNI2XE.js +0 -6796
- package/dist/block.svg-2BRKZJAO.js +0 -159
- package/dist/block.tk.aicheck-ZDTQFF7Q.js +0 -278
- package/dist/block.tk.ase-JAIOSXZO.js +0 -360
- package/dist/block.tk.bam-V27YBYQG.js +0 -1901
- package/dist/block.tk.bedgraphdot-QFJNEYKU.js +0 -379
- package/dist/block.tk.bigwig.ui-X77XUZLB.js +0 -206
- package/dist/block.tk.hicstraw-OCZXKJOV.js +0 -818
- package/dist/block.tk.junction-2KI3SPXW.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-G4OHYDVZ.js +0 -194
- package/dist/block.tk.ld-LM4A3V7Z.js +0 -94
- package/dist/block.tk.menu-GL6W3MKK.js +0 -1024
- package/dist/block.tk.pgv-T3YW5EGQ.js +0 -938
- package/dist/brainImaging-6WLB6DWG.js +0 -555
- package/dist/brainRegions-EVHXPPL5.js +0 -217
- package/dist/bubbleHeatmap-WZX7MLQF.js +0 -378
- package/dist/cellTypeBubbleHeatmap-3XY3U7EO.js +0 -278
- package/dist/chunk-26VFFI2G.js +0 -1278
- package/dist/chunk-2XOBD4ZZ.js +0 -102
- package/dist/chunk-4DXQJGJ7.js +0 -31
- package/dist/chunk-5UO7MKCO.js +0 -59
- package/dist/chunk-5UO7MKCO.js.map +0 -7
- package/dist/chunk-5X6CDEMT.js +0 -55
- package/dist/chunk-6BG5G6SC.js +0 -397
- package/dist/chunk-6EXPDXXV.js +0 -464
- package/dist/chunk-6EXPDXXV.js.map +0 -7
- package/dist/chunk-6KCG2NFA.js +0 -49
- package/dist/chunk-6KIZ3Q5X.js +0 -272
- package/dist/chunk-6MDL3FYD.js +0 -141
- package/dist/chunk-7CJKL3LK.js +0 -339
- package/dist/chunk-7T6G6BZF.js +0 -50
- package/dist/chunk-7WL4LROG.js +0 -1986
- package/dist/chunk-7WWTWWB7.js +0 -158
- package/dist/chunk-AEHBMP7F.js +0 -550
- package/dist/chunk-ANGLZ4XR.js +0 -26
- package/dist/chunk-B2XYBFGT.js +0 -299
- package/dist/chunk-BH55L7RJ.js +0 -480
- package/dist/chunk-BMQDU7KN.js +0 -38
- package/dist/chunk-BWE6BZK3.js +0 -240
- package/dist/chunk-BXM6PRTG.js +0 -274
- package/dist/chunk-CCYVGZGI.js +0 -178
- package/dist/chunk-DRKC4J62.js +0 -339
- package/dist/chunk-DX5WQOJU.js +0 -1339
- package/dist/chunk-E6FOW4UK.js +0 -562
- package/dist/chunk-EGKHDALO.js +0 -382
- package/dist/chunk-ESXQDVDP.js +0 -518
- package/dist/chunk-FIN6XVVG.js +0 -34
- package/dist/chunk-GH5EQCLQ.js +0 -379
- package/dist/chunk-GIBTGABW.js +0 -263
- package/dist/chunk-GJ6JKPEY.js +0 -626
- package/dist/chunk-GKB4YPSV.js +0 -14
- package/dist/chunk-GRVO7RW4.js +0 -2139
- package/dist/chunk-HZ3TCGBK.js +0 -402
- package/dist/chunk-IGJOH5LV.js +0 -276
- package/dist/chunk-IUT72AWA.js +0 -55
- package/dist/chunk-IYCSCSRS.js +0 -1720
- package/dist/chunk-IZUYLFOX.js +0 -1608
- package/dist/chunk-IZUYLFOX.js.map +0 -7
- package/dist/chunk-J2O74K2I.js +0 -129
- package/dist/chunk-JO5SX7RA.js +0 -176
- package/dist/chunk-JV5AGMUC.js +0 -123
- package/dist/chunk-KUHCBPKU.js +0 -446
- package/dist/chunk-L32KMIC3.js +0 -54
- package/dist/chunk-LWOWC4PF.js +0 -203
- package/dist/chunk-M3OUBH5W.js +0 -294
- package/dist/chunk-MZ6UOWXO.js +0 -2784
- package/dist/chunk-N7DVQTPC.js +0 -119
- package/dist/chunk-NQDF3U2C.js +0 -24607
- package/dist/chunk-NQDF3U2C.js.map +0 -7
- package/dist/chunk-P7EXGD5F.js +0 -281
- package/dist/chunk-QJQUSRGP.js +0 -134
- package/dist/chunk-RPKZLEY7.js +0 -170
- package/dist/chunk-RRGGHEA4.js +0 -783
- package/dist/chunk-S4XD4GGN.js +0 -6360
- package/dist/chunk-SKS6VDD4.js +0 -56
- package/dist/chunk-SPZQIZLJ.js +0 -70
- package/dist/chunk-SR35T6VI.js +0 -197
- package/dist/chunk-TEMNQTG3.js +0 -194
- package/dist/chunk-UG6RDT65.js +0 -5071
- package/dist/chunk-UO5AU7IW.js +0 -216
- package/dist/chunk-UTOWZWZ5.js +0 -243
- package/dist/chunk-V26BRUAV.js +0 -677
- package/dist/chunk-VRINIB6B.js +0 -1233
- package/dist/chunk-VVJMPICY.js +0 -217
- package/dist/chunk-VZKDGKCP.js +0 -103
- package/dist/chunk-WCAWZJ6M.js +0 -4311
- package/dist/chunk-WCAWZJ6M.js.map +0 -7
- package/dist/chunk-XCN3FKLF.js +0 -2676
- package/dist/chunk-XD2JMWMR.js +0 -54
- package/dist/chunk-XERHX42E.js +0 -98
- package/dist/chunk-XZXGNMNK.js +0 -2853
- package/dist/chunk-Y34GYPF6.js +0 -2327
- package/dist/chunk-YO5DWWBU.js +0 -102
- package/dist/chunk-Z4HZONN6.js +0 -302
- package/dist/cohort-ZLQA2KPW.js +0 -70
- package/dist/condition-SFZAHMKK.js +0 -327
- package/dist/controls-US3ID2ZR.js +0 -34
- package/dist/controls.config-Y7NGPB5K.js +0 -34
- package/dist/correlation-JD4FMZVF.js +0 -95
- package/dist/customdata.inputui-YUHO2ZSR.js +0 -284
- package/dist/dataDownload-4YQHUJQX.js +0 -329
- package/dist/databrowser.ui-4YE24U4B.js +0 -425
- package/dist/dictionary-LFOSXJGH.js +0 -113
- package/dist/dnaMethylation-2627GIZW.js +0 -33
- package/dist/dnaMethylation.integration.spec-HSZKXED3.js +0 -198
- package/dist/dofetch-7O5UTSGI.js +0 -48
- package/dist/e2pca-XL7F5BK3.js +0 -344
- package/dist/ep-35KADAYG.js +0 -1249
- package/dist/expclust.gdc.spec-TFJEXEAA.js +0 -302
- package/dist/facet-AWDU4CCU.js +0 -519
- package/dist/gb-UIBSH7KV.js +0 -81
- package/dist/geneExpClustering-VYZ5VDPL.js +0 -244
- package/dist/geneExpression-CNBSE3KW.js +0 -33
- package/dist/geneExpression-ECXW22H6.js +0 -310
- package/dist/geneExpression.unit.spec-SCBRU5BG.js +0 -128
- package/dist/geneORA-BQZ4XYJH.js +0 -273
- package/dist/geneRanking-GXRSXHIN.js +0 -548
- package/dist/geneVariant-Y7GASAY6.js +0 -36
- package/dist/geneVariant-ZVOUFF27.js +0 -286
- package/dist/geneVariant.integration.spec-2ATUV7NH.js +0 -489
- package/dist/genefusion.ui-CEMLY7HG.js +0 -303
- package/dist/geneset-HMADFO7Z.js +0 -203
- package/dist/genomeBrowser.spec-3U6KE3MK.js +0 -276
- package/dist/grin2-AJAXI4O4.js +0 -1137
- package/dist/grin2-CFAOAHY3.js +0 -70
- package/dist/hierCluster-JUJ7C7TQ.js +0 -59
- package/dist/hierCluster-N6B4L6FW.js +0 -55
- package/dist/hierCluster.config-RSSBKO6G.js +0 -36
- package/dist/hierCluster.integration.spec-YC6B3ID2.js +0 -483
- package/dist/hierCluster.interactivity-PRIWN65K.js +0 -49
- package/dist/hierCluster.renderers-3RHXOHZ5.js +0 -19
- package/dist/imagePlot-DSG4WJOG.js +0 -156
- package/dist/importPlot-QSWJBDWH.js +0 -8
- package/dist/isoformExpression-XWLMWXEK.js +0 -35
- package/dist/isoformExpression.unit.spec-T7VN2WPK.js +0 -237
- package/dist/junction-AUXJROOE.js +0 -36
- package/dist/junction.customTerm-FRYWSS4P.js +0 -16
- package/dist/junction.unit.spec-ODVQMDI5.js +0 -182
- package/dist/launch.adhoc-TNONPG6R.js +0 -37
- package/dist/leftlabel.sample-5VFAMSH5.js +0 -258
- package/dist/lollipop-NEDFCNJJ.js +0 -166
- package/dist/maf-2GO7PDOL.js +0 -455
- package/dist/maftimeline-UMVQGIXA.js +0 -587
- package/dist/matrix-74JSSVR5.js +0 -59
- package/dist/matrix-YARPFYCU.js +0 -54
- package/dist/matrix.cells-WYCIMZRW.js +0 -26
- package/dist/matrix.config-5SNEP3B4.js +0 -37
- package/dist/matrix.data-3H4GFMQK.js +0 -23
- package/dist/matrix.groups-FGLRK6IT.js +0 -26
- package/dist/matrix.integration.spec-4DQIRQQO.js +0 -3160
- package/dist/matrix.interactivity-GSV45F2N.js +0 -37
- package/dist/matrix.layout-BMH4V36B.js +0 -39
- package/dist/matrix.legend-5OVHDE6Q.js +0 -20
- package/dist/matrix.renderers-DENF4NZ6.js +0 -34
- package/dist/matrix.serieses-D7XPW5L4.js +0 -19
- package/dist/matrix.sort-XQEOXSEG.js +0 -26
- package/dist/matrix.sort.unit.spec-HGII2SCC.js +0 -468
- package/dist/matrix.sorterUi-J6PRUT6J.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-TNRATMUJ.js +0 -338
- package/dist/matrix.unit.spec-LBMDCANX.js +0 -150
- package/dist/mavb-UQFSJN4W.js +0 -727
- package/dist/mds.fimo-TXHCH6LW.js +0 -513
- package/dist/mds.samplescatterplot-G6IJO3I7.js +0 -1545
- package/dist/mds.survivalplot-XFB2EL23.js +0 -477
- package/dist/multivalue-GLE6G3ZO.js +0 -83
- package/dist/numericDictTermCluster-YTAMQDWZ.js +0 -63
- package/dist/oncomatrix-P6QVGFAR.js +0 -290
- package/dist/oncomatrix.spec-O6U52E22.js +0 -443
- package/dist/plot.2dvaf-VZL4SH6G.js +0 -372
- package/dist/plot.app-VYMIF4VU.js +0 -36
- package/dist/plot.barplot-I6S266DG.js +0 -97
- package/dist/plot.boxplot-3CHI4AA2.js +0 -146
- package/dist/plot.brainImaging-LRQYKMLQ.js +0 -51
- package/dist/plot.disco-NCTBMD2W.js +0 -99
- package/dist/plot.ssgq-CL3TGZ55.js +0 -134
- package/dist/plot.vaf2cov-5RG3OD6G.js +0 -253
- package/dist/polar2-ABI2UJNC.js +0 -232
- package/dist/profileForms-Z4Y55OQY.js +0 -941
- package/dist/profilePlot-LMDZVOJK.js +0 -49
- package/dist/proteinView-UYMM76WH.js +0 -1357
- package/dist/proteomeCohortCompare-5GFBARC5.js +0 -912
- package/dist/pseudbulk.unit.spec-JJ2I4KPM.js +0 -106
- package/dist/pseudobulk-Y7HWDLIV.js +0 -37
- package/dist/qualitative-H72GEWTZ.js +0 -38
- package/dist/radar2-OXUS5DLT.js +0 -327
- package/dist/radarFacility2-VOUNCM6A.js +0 -335
- package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +0 -211
- package/dist/render-KDLTAQVA.js +0 -33
- package/dist/report-PBRD2KBN.js +0 -217
- package/dist/sampleView-7HWFZCHE.js +0 -43
- package/dist/samplelst-3ZWV4XZQ.js +0 -106
- package/dist/samplematrix-YRJUNYQ6.js +0 -2193
- package/dist/sc-N4YM3GZI.js +0 -81
- package/dist/scatter-KBY6VF76.js +0 -88
- package/dist/scatter-TBGEXELG.js +0 -880
- package/dist/scatter-TBGEXELG.js.map +0 -7
- package/dist/selectGenomeWithTklst-25WQQ42Y.js +0 -129
- package/dist/singleCellCellType-35TDG2YM.js +0 -33
- package/dist/singleCellCellType.unit.spec-G5AVNAUK.js +0 -154
- package/dist/singleCellGeneExpression-7AHJYFWJ.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-LGZMOVTB.js +0 -148
- package/dist/singleCellPlot-AU5K4M7J.js +0 -49
- package/dist/singlecell-HNTYJLJ4.js +0 -81
- package/dist/singlecell-J4FIZPZF.js +0 -1566
- package/dist/snp-OXDVSFGB.js +0 -33
- package/dist/snp.unit.spec-B7LCCGWA.js +0 -171
- package/dist/snplocus-4VWXVQGS.js +0 -203
- package/dist/spliceevent.a53ss.diagram-YS32IFVI.js +0 -146
- package/dist/spliceevent.exonskip.diagram-PHFR53DH.js +0 -278
- package/dist/spliceevent.noeventdiagram-FFHMDEBQ.js +0 -455
- package/dist/ssGSEA-OYEIDW4M.js +0 -33
- package/dist/ssGSEA.unit.spec-SY5XFF45.js +0 -83
- package/dist/stattable-JCH2WPS6.js +0 -117
- package/dist/studyCatalog-FDB7D26M.js +0 -414
- package/dist/summarizeCnvGeneexp-KNW23YAI.js +0 -158
- package/dist/summarizeGeneexpSurvival-H57GGCXL.js +0 -105
- package/dist/summarizeMutationCnv-RBBDE27N.js +0 -159
- package/dist/summarizeMutationDiagnosis-R6YWQ4LQ.js +0 -35
- package/dist/summarizeMutationSurvival-Q6WKBNPD.js +0 -99
- package/dist/summary-AL3GEK3G.js +0 -42
- package/dist/summary.integration.spec-IFGDIEMW.js +0 -409
- package/dist/summaryInput-TYIKTBO3.js +0 -242
- package/dist/sunburst-4PA3CO44.js +0 -278
- package/dist/survival-GT4CSHX2.js +0 -53
- package/dist/survival-HXJCMNCG.js +0 -1248
- package/dist/survival.integration.spec-C7OJC4AG.js +0 -613
- package/dist/survival.integration.spec-C7OJC4AG.js.map +0 -7
- package/dist/svgraph-MZCOBO4J.js +0 -1382
- package/dist/svmr-FQPAAQHB.js +0 -3837
- package/dist/table-FKLXVILD.js +0 -197
- package/dist/termCollection-QDGR6J36.js +0 -33
- package/dist/termCollection-Y7CIC6GQ.js +0 -252
- package/dist/termCollection.unit.spec-PQMFOWLF.js +0 -299
- package/dist/termCollectionFractionSelection-2O32HROA.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-WXGCO2RF.js +0 -188
- package/dist/tk-IBYM4FZC.js +0 -41
- package/dist/tk-QJNN6WK2.js +0 -1121
- package/dist/tp.ui-RI7S54LI.js +0 -1454
- package/dist/tvs.dt-7CIYMLQF.js +0 -34
- package/dist/tvs.dtcnv.categorical-D3W6R6BM.js +0 -35
- package/dist/tvs.dtcnv.continuous-4WS2TN3K.js +0 -67
- package/dist/tvs.dtfusion-NUUFIGG4.js +0 -35
- package/dist/tvs.dtitd-UCSEWRNJ.js +0 -35
- package/dist/tvs.dtsnvindel-J4S7KU3Y.js +0 -35
- package/dist/tvs.dtsv-4OPYIWB6.js +0 -35
- package/dist/tvs.samplelst-RUZYZ2FF.js +0 -98
- package/dist/tvs.termCollection-D5X2HNWO.js +0 -124
- package/dist/vocabulary-4L3RHQFQ.js +0 -36
- package/dist/wsi.direct-FNCUUBEJ.js +0 -8343
- /package/dist/{2dmaf-5JKVMAPO.js.map → 2dmaf-32F56QBJ.js.map} +0 -0
- /package/dist/{AggMatrixInput-254IEQYB.js.map → AggMatrixInput-RDFMGV47.js.map} +0 -0
- /package/dist/{AggregateMatrix-U3NZSNL6.js.map → AggregateMatrix-TPXNNWVD.js.map} +0 -0
- /package/dist/{AppHeader-DK2GIYYT.js.map → AppHeader-SEJXDJE3.js.map} +0 -0
- /package/dist/{BoxPlot-POSL2ZLS.js.map → BoxPlot-LOAO2MDO.js.map} +0 -0
- /package/dist/{CorrelationVolcano-YZ6ACP5D.js.map → CorrelationVolcano-AU6ZAFPG.js.map} +0 -0
- /package/dist/{Cuminc-SJVFK4VX.js.map → Cuminc-O533BXFY.js.map} +0 -0
- /package/dist/{DE-RJMZGJ5Y.js.map → DE-FDAUNOWU.js.map} +0 -0
- /package/dist/{DEinput-H25PS4QT.js.map → DEinput-TF2VYTIJ.js.map} +0 -0
- /package/dist/{DM-A3UCF7HM.js.map → DM-42YN3OEO.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-4J75UMV7.js.map → DifferentialAnalysis-H5NBPR3P.js.map} +0 -0
- /package/dist/{Disco-IXGGKIEI.js.map → Disco-FGFHIKUR.js.map} +0 -0
- /package/dist/{Disco.UI-X3JG4ERN.js.map → Disco.UI-YGIU2JPM.js.map} +0 -0
- /package/dist/{DmrPlot-SJWHTSMB.js.map → DmrPlot-EQFXMAW5.js.map} +0 -0
- /package/dist/{GB-KPF7BZFQ.js.map → GB-244UT5VU.js.map} +0 -0
- /package/dist/{GSEA-BMVTJ6B7.js.map → GSEA-KXQBR3HH.js.map} +0 -0
- /package/dist/{GeneExpInput-3KFGQEAY.js.map → GeneExpInput-ZY6SHXTX.js.map} +0 -0
- /package/dist/{Geomap-R7Q3T3DZ.js.map → Geomap-6ZV4AM23.js.map} +0 -0
- /package/dist/{HicApp-BTFHMXQE.js.map → HicApp-4UHX2YGP.js.map} +0 -0
- /package/dist/{IDCViewer-RVVWT7MH.js.map → IDCViewer-AB6LLO64.js.map} +0 -0
- /package/dist/{NumBinaryEditor-V3YCDNRR.js.map → NumBinaryEditor-CGSO2T4L.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-IVY27SEV.js.map → NumBinaryEditor.unit.spec-3QHARZQJ.js.map} +0 -0
- /package/dist/{NumContEditor-FSHA32UV.js.map → NumContEditor-YLKSC4Y2.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-5IFB4GXP.js.map → NumContEditor.unit.spec-L3GC3ZTJ.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-63YQZU52.js.map → NumCustomBinEditor-K3XSFHCC.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-BJLGQQ4R.js.map → NumCustomBinEditor.unit.spec-2FUHE6BX.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-K4AZ6UQF.js.map → NumDiscreteEditor-RJCSIW4R.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-AHL7QA4N.js.map → NumDiscreteEditor.unit.spec-CUA6BOIS.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-5N3PWOIQ.js.map → NumRegularBinEditor-C3VIFDS4.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-SYPTBY5A.js.map → NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map} +0 -0
- /package/dist/{NumSplineEditor-ZLB5MWYK.js.map → NumSplineEditor-XBE7OV7P.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-ZLAVLV7E.js.map → NumSplineEditor.unit.spec-CKRRI4US.js.map} +0 -0
- /package/dist/{NumericDensity-K4CTMN2G.js.map → NumericDensity-ZL7UY7TL.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-BLWEQHZC.js.map → NumericDensity.unit.spec-CWTMSR56.js.map} +0 -0
- /package/dist/{NumericHandler-3KACLCOL.js.map → NumericHandler-56ENFMNK.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-4P7HBSCB.js.map → NumericHandler.unit.spec-3YW34TTJ.js.map} +0 -0
- /package/dist/{ProteomeInput-JZ6MKE7L.js.map → ProteomeInput-HIS4GYWH.js.map} +0 -0
- /package/dist/{Regression-QBR2VYHT.js.map → Regression-C5GZYLEN.js.map} +0 -0
- /package/dist/{RunChart2-UKN6M5M5.js.map → RunChart2-X5WKYLPQ.js.map} +0 -0
- /package/dist/{SC-COHN7DMJ.js.map → SC-3Y5J65DT.js.map} +0 -0
- /package/dist/{Violin-SDUSKIEX.js.map → Violin-F3QS2EMJ.js.map} +0 -0
- /package/dist/{Volcano-KON4MOIM.js.map → Volcano-ZNYDKP2O.js.map} +0 -0
- /package/dist/{Wsi-SJC56PRR.js.map → Wsi-B6EIGTI2.js.map} +0 -0
- /package/dist/{adSandbox-L6ZHCJJO.js.map → adSandbox-A52OQSOW.js.map} +0 -0
- /package/dist/{animatedBubbleChart-IQBJBHPP.js.map → animatedBubbleChart-OQOZ3WFK.js.map} +0 -0
- /package/dist/{app-2NSQK3GQ.js.map → app-4KIKXQX4.js.map} +0 -0
- /package/dist/{app-GMYTOBRB.js.map → app-NZUNKWKK.js.map} +0 -0
- /package/dist/{bam-B4ZPOZTX.js.map → bam-SME7YD3E.js.map} +0 -0
- /package/dist/{barchart-WF5VWDCV.js.map → barchart-ESY6FOS4.js.map} +0 -0
- /package/dist/{barchart2-3HGZ5Q2B.js.map → barchart2-XEJZGCES.js.map} +0 -0
- /package/dist/{block-A3I2INBA.js.map → block-747IK2EW.js.map} +0 -0
- /package/dist/{block.init-YUHPWTMF.js.map → block.init-ITZ42K43.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-TGAZQTVW.js.map → block.mds.expressionrank-Q63IJAJK.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-GPIQWNWB.js.map → block.mds.geneboxplot-EZIKAIKC.js.map} +0 -0
- /package/dist/{block.mds.junction-YREJCNYJ.js.map → block.mds.junction-TJXFKZ2Q.js.map} +0 -0
- /package/dist/{block.mds.svcnv-2ZDNI2XE.js.map → block.mds.svcnv-WSIEAII6.js.map} +0 -0
- /package/dist/{block.svg-2BRKZJAO.js.map → block.svg-CQX5W6R4.js.map} +0 -0
- /package/dist/{block.tk.aicheck-ZDTQFF7Q.js.map → block.tk.aicheck-J4MQ4BSD.js.map} +0 -0
- /package/dist/{block.tk.ase-JAIOSXZO.js.map → block.tk.ase-2JFNPWCZ.js.map} +0 -0
- /package/dist/{block.tk.bam-V27YBYQG.js.map → block.tk.bam-RBQ4AXSQ.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-QFJNEYKU.js.map → block.tk.bedgraphdot-ZQBOMVTO.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-X77XUZLB.js.map → block.tk.bigwig.ui-U5IBO3VF.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-OCZXKJOV.js.map → block.tk.hicstraw-ZRZMFLLX.js.map} +0 -0
- /package/dist/{block.tk.junction-2KI3SPXW.js.map → block.tk.junction-7U7ABE4O.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-G4OHYDVZ.js.map → block.tk.junction.textmatrixui-AEXZ7W3U.js.map} +0 -0
- /package/dist/{block.tk.ld-LM4A3V7Z.js.map → block.tk.ld-E7WPFL5P.js.map} +0 -0
- /package/dist/{block.tk.menu-GL6W3MKK.js.map → block.tk.menu-AITMEZTZ.js.map} +0 -0
- /package/dist/{block.tk.pgv-T3YW5EGQ.js.map → block.tk.pgv-EDPZHI5L.js.map} +0 -0
- /package/dist/{brainImaging-6WLB6DWG.js.map → brainImaging-35LPNBDR.js.map} +0 -0
- /package/dist/{brainRegions-EVHXPPL5.js.map → brainRegions-JMTQT4X3.js.map} +0 -0
- /package/dist/{bubbleHeatmap-WZX7MLQF.js.map → bubbleHeatmap-FMBKMDUL.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-3XY3U7EO.js.map → cellTypeBubbleHeatmap-ZPTAGEWW.js.map} +0 -0
- /package/dist/{chunk-J2O74K2I.js.map → chunk-2GBG3KA7.js.map} +0 -0
- /package/dist/{chunk-Z4HZONN6.js.map → chunk-2IVN5DWA.js.map} +0 -0
- /package/dist/{chunk-TEMNQTG3.js.map → chunk-36AAUYZE.js.map} +0 -0
- /package/dist/{chunk-XD2JMWMR.js.map → chunk-3K7AYA3M.js.map} +0 -0
- /package/dist/{chunk-E6FOW4UK.js.map → chunk-4KJSNR5E.js.map} +0 -0
- /package/dist/{chunk-GRVO7RW4.js.map → chunk-52QHIKH2.js.map} +0 -0
- /package/dist/{chunk-S4XD4GGN.js.map → chunk-5ALGKNTQ.js.map} +0 -0
- /package/dist/{chunk-BH55L7RJ.js.map → chunk-5JCTTSV4.js.map} +0 -0
- /package/dist/{chunk-ANGLZ4XR.js.map → chunk-5W7K7STT.js.map} +0 -0
- /package/dist/{chunk-V26BRUAV.js.map → chunk-6CIGRV5K.js.map} +0 -0
- /package/dist/{chunk-JO5SX7RA.js.map → chunk-6U2OPC6J.js.map} +0 -0
- /package/dist/{chunk-EGKHDALO.js.map → chunk-7AHTS4BP.js.map} +0 -0
- /package/dist/{chunk-IUT72AWA.js.map → chunk-7HFAEB3C.js.map} +0 -0
- /package/dist/{chunk-XERHX42E.js.map → chunk-7HGZRJZZ.js.map} +0 -0
- /package/dist/{chunk-7CJKL3LK.js.map → chunk-A2ORIMUJ.js.map} +0 -0
- /package/dist/{chunk-VRINIB6B.js.map → chunk-A32SGNCT.js.map} +0 -0
- /package/dist/{chunk-VVJMPICY.js.map → chunk-AKA6RWLC.js.map} +0 -0
- /package/dist/{chunk-BWE6BZK3.js.map → chunk-AMVZ6KT5.js.map} +0 -0
- /package/dist/{chunk-L32KMIC3.js.map → chunk-ASXUC6SM.js.map} +0 -0
- /package/dist/{chunk-GH5EQCLQ.js.map → chunk-BCO5T43J.js.map} +0 -0
- /package/dist/{chunk-RRGGHEA4.js.map → chunk-BDQPMVKD.js.map} +0 -0
- /package/dist/{chunk-BXM6PRTG.js.map → chunk-BOQZOLRA.js.map} +0 -0
- /package/dist/{chunk-UG6RDT65.js.map → chunk-BSCMVKBP.js.map} +0 -0
- /package/dist/{chunk-N7DVQTPC.js.map → chunk-BZN2O76M.js.map} +0 -0
- /package/dist/{chunk-FIN6XVVG.js.map → chunk-BZZZQFTI.js.map} +0 -0
- /package/dist/{chunk-6KIZ3Q5X.js.map → chunk-CRHGXVUQ.js.map} +0 -0
- /package/dist/{chunk-UO5AU7IW.js.map → chunk-D6AB63O3.js.map} +0 -0
- /package/dist/{chunk-GJ6JKPEY.js.map → chunk-DPQP2GUW.js.map} +0 -0
- /package/dist/{chunk-IGJOH5LV.js.map → chunk-EKQ7NYOU.js.map} +0 -0
- /package/dist/{chunk-6MDL3FYD.js.map → chunk-EUQEQOFE.js.map} +0 -0
- /package/dist/{chunk-P7EXGD5F.js.map → chunk-FKA55PHV.js.map} +0 -0
- /package/dist/{chunk-6BG5G6SC.js.map → chunk-GVLWCGXX.js.map} +0 -0
- /package/dist/{chunk-ESXQDVDP.js.map → chunk-HLVWCJRO.js.map} +0 -0
- /package/dist/{chunk-CCYVGZGI.js.map → chunk-HPAW7XDM.js.map} +0 -0
- /package/dist/{chunk-JV5AGMUC.js.map → chunk-IV57XNTG.js.map} +0 -0
- /package/dist/{chunk-UTOWZWZ5.js.map → chunk-JMAFJKGG.js.map} +0 -0
- /package/dist/{chunk-XCN3FKLF.js.map → chunk-JZHRVYNS.js.map} +0 -0
- /package/dist/{chunk-5X6CDEMT.js.map → chunk-K6YUMBDY.js.map} +0 -0
- /package/dist/{chunk-7WWTWWB7.js.map → chunk-L6WNBKYN.js.map} +0 -0
- /package/dist/{chunk-XZXGNMNK.js.map → chunk-LGR6CJTW.js.map} +0 -0
- /package/dist/{chunk-AEHBMP7F.js.map → chunk-LOWJQFCC.js.map} +0 -0
- /package/dist/{chunk-Y34GYPF6.js.map → chunk-M5SYLBBC.js.map} +0 -0
- /package/dist/{chunk-QJQUSRGP.js.map → chunk-OIJ6GRVS.js.map} +0 -0
- /package/dist/{chunk-LWOWC4PF.js.map → chunk-ONVIVITY.js.map} +0 -0
- /package/dist/{chunk-SKS6VDD4.js.map → chunk-OQX3HO46.js.map} +0 -0
- /package/dist/{chunk-4DXQJGJ7.js.map → chunk-OYLGAFFY.js.map} +0 -0
- /package/dist/{chunk-SR35T6VI.js.map → chunk-P7DIIYCX.js.map} +0 -0
- /package/dist/{chunk-7T6G6BZF.js.map → chunk-PGKOJYV6.js.map} +0 -0
- /package/dist/{chunk-HZ3TCGBK.js.map → chunk-PPSWNLMG.js.map} +0 -0
- /package/dist/{chunk-GIBTGABW.js.map → chunk-R624P2GE.js.map} +0 -0
- /package/dist/{chunk-KUHCBPKU.js.map → chunk-RBSAEAQV.js.map} +0 -0
- /package/dist/{chunk-DRKC4J62.js.map → chunk-RZ3KEFZ2.js.map} +0 -0
- /package/dist/{chunk-VZKDGKCP.js.map → chunk-SS66BHGA.js.map} +0 -0
- /package/dist/{chunk-M3OUBH5W.js.map → chunk-SU63FEY6.js.map} +0 -0
- /package/dist/{chunk-YO5DWWBU.js.map → chunk-SVC65ZPG.js.map} +0 -0
- /package/dist/{chunk-2XOBD4ZZ.js.map → chunk-TG3QBMDK.js.map} +0 -0
- /package/dist/{chunk-26VFFI2G.js.map → chunk-TMXW5HVE.js.map} +0 -0
- /package/dist/{chunk-DX5WQOJU.js.map → chunk-TPDBOH3A.js.map} +0 -0
- /package/dist/{chunk-IYCSCSRS.js.map → chunk-U5RWKZVS.js.map} +0 -0
- /package/dist/{chunk-7WL4LROG.js.map → chunk-UYKZ5HXA.js.map} +0 -0
- /package/dist/{chunk-SPZQIZLJ.js.map → chunk-VOYUJJQ6.js.map} +0 -0
- /package/dist/{chunk-BMQDU7KN.js.map → chunk-W4RYRU5D.js.map} +0 -0
- /package/dist/{chunk-MZ6UOWXO.js.map → chunk-WFSMIVJT.js.map} +0 -0
- /package/dist/{chunk-B2XYBFGT.js.map → chunk-Y4PX2ECH.js.map} +0 -0
- /package/dist/{chunk-RPKZLEY7.js.map → chunk-YKM46UX5.js.map} +0 -0
- /package/dist/{chunk-GKB4YPSV.js.map → chunk-Z7AO6A7M.js.map} +0 -0
- /package/dist/{chunk-6KCG2NFA.js.map → chunk-ZENZ5H2Q.js.map} +0 -0
- /package/dist/{cohort-ZLQA2KPW.js.map → cohort-Q7TW5XTY.js.map} +0 -0
- /package/dist/{condition-SFZAHMKK.js.map → condition-H6LBUHIF.js.map} +0 -0
- /package/dist/{controls-US3ID2ZR.js.map → controls-DWDKFDXY.js.map} +0 -0
- /package/dist/{controls.config-Y7NGPB5K.js.map → controls.config-KF7PHZSG.js.map} +0 -0
- /package/dist/{correlation-JD4FMZVF.js.map → correlation-YMSARIER.js.map} +0 -0
- /package/dist/{customdata.inputui-YUHO2ZSR.js.map → customdata.inputui-KEFE7ZHS.js.map} +0 -0
- /package/dist/{dataDownload-4YQHUJQX.js.map → dataDownload-G7TGPFGL.js.map} +0 -0
- /package/dist/{databrowser.ui-4YE24U4B.js.map → databrowser.ui-NFIIFQJZ.js.map} +0 -0
- /package/dist/{dictionary-LFOSXJGH.js.map → dictionary-ERJQMALC.js.map} +0 -0
- /package/dist/{dnaMethylation-2627GIZW.js.map → dnaMethylation-KVCXKAU3.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-HSZKXED3.js.map → dnaMethylation.integration.spec-3NXGGG4J.js.map} +0 -0
- /package/dist/{dofetch-7O5UTSGI.js.map → dofetch-YRWLEQEH.js.map} +0 -0
- /package/dist/{e2pca-XL7F5BK3.js.map → e2pca-M2F2CI6I.js.map} +0 -0
- /package/dist/{ep-35KADAYG.js.map → ep-QAEG4RV4.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-TFJEXEAA.js.map → expclust.gdc.spec-P77T6JR2.js.map} +0 -0
- /package/dist/{facet-AWDU4CCU.js.map → facet-LJTSTASE.js.map} +0 -0
- /package/dist/{gb-UIBSH7KV.js.map → gb-KSB2DQHH.js.map} +0 -0
- /package/dist/{geneExpClustering-VYZ5VDPL.js.map → geneExpClustering-KHDCPE65.js.map} +0 -0
- /package/dist/{geneExpression-ECXW22H6.js.map → geneExpression-AWWMOUAR.js.map} +0 -0
- /package/dist/{geneExpression-CNBSE3KW.js.map → geneExpression-Z2EDR6EN.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-SCBRU5BG.js.map → geneExpression.unit.spec-WB2ESPKT.js.map} +0 -0
- /package/dist/{geneORA-BQZ4XYJH.js.map → geneORA-NGZTMFSJ.js.map} +0 -0
- /package/dist/{geneRanking-GXRSXHIN.js.map → geneRanking-AYNBGFKU.js.map} +0 -0
- /package/dist/{geneVariant-Y7GASAY6.js.map → geneVariant-AL64NDHH.js.map} +0 -0
- /package/dist/{geneVariant-ZVOUFF27.js.map → geneVariant-QMKR3LUV.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-2ATUV7NH.js.map → geneVariant.integration.spec-N3U5CIRT.js.map} +0 -0
- /package/dist/{genefusion.ui-CEMLY7HG.js.map → genefusion.ui-IWJMF2BM.js.map} +0 -0
- /package/dist/{geneset-HMADFO7Z.js.map → geneset-APCO4BRX.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-3U6KE3MK.js.map → genomeBrowser.spec-JTCVUTO5.js.map} +0 -0
- /package/dist/{grin2-CFAOAHY3.js.map → grin2-FVX6AIST.js.map} +0 -0
- /package/dist/{grin2-AJAXI4O4.js.map → grin2-LF46UKFY.js.map} +0 -0
- /package/dist/{hierCluster-JUJ7C7TQ.js.map → hierCluster-4DRHXD6W.js.map} +0 -0
- /package/dist/{hierCluster-N6B4L6FW.js.map → hierCluster-SFRQK3PS.js.map} +0 -0
- /package/dist/{hierCluster.config-RSSBKO6G.js.map → hierCluster.config-G2TFGBYF.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-YC6B3ID2.js.map → hierCluster.integration.spec-ZUZKCG6A.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-PRIWN65K.js.map → hierCluster.interactivity-LQA6J56H.js.map} +0 -0
- /package/dist/{hierCluster.renderers-3RHXOHZ5.js.map → hierCluster.renderers-TZZJEVFO.js.map} +0 -0
- /package/dist/{imagePlot-DSG4WJOG.js.map → imagePlot-OUHFWYKT.js.map} +0 -0
- /package/dist/{importPlot-QSWJBDWH.js.map → importPlot-7V456QK7.js.map} +0 -0
- /package/dist/{isoformExpression-XWLMWXEK.js.map → isoformExpression-NGUJJ6VI.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-T7VN2WPK.js.map → isoformExpression.unit.spec-DCRPXPBY.js.map} +0 -0
- /package/dist/{junction-AUXJROOE.js.map → junction-QYKLNXIW.js.map} +0 -0
- /package/dist/{junction.customTerm-FRYWSS4P.js.map → junction.customTerm-EHOOBR4V.js.map} +0 -0
- /package/dist/{junction.unit.spec-ODVQMDI5.js.map → junction.unit.spec-LDNY7OFK.js.map} +0 -0
- /package/dist/{launch.adhoc-TNONPG6R.js.map → launch.adhoc-FF7B3UG6.js.map} +0 -0
- /package/dist/{leftlabel.sample-5VFAMSH5.js.map → leftlabel.sample-BTHMKLGF.js.map} +0 -0
- /package/dist/{lollipop-NEDFCNJJ.js.map → lollipop-H3UCNMHN.js.map} +0 -0
- /package/dist/{maf-2GO7PDOL.js.map → maf-KWGUTPKO.js.map} +0 -0
- /package/dist/{maftimeline-UMVQGIXA.js.map → maftimeline-UD5VE4UW.js.map} +0 -0
- /package/dist/{matrix-74JSSVR5.js.map → matrix-DLCX6GOO.js.map} +0 -0
- /package/dist/{matrix-YARPFYCU.js.map → matrix-TIV42IQB.js.map} +0 -0
- /package/dist/{matrix.cells-WYCIMZRW.js.map → matrix.cells-J3QZ7C6U.js.map} +0 -0
- /package/dist/{matrix.config-5SNEP3B4.js.map → matrix.config-VNMS6B7J.js.map} +0 -0
- /package/dist/{matrix.data-3H4GFMQK.js.map → matrix.data-PIE3TLKD.js.map} +0 -0
- /package/dist/{matrix.groups-FGLRK6IT.js.map → matrix.groups-URBU775S.js.map} +0 -0
- /package/dist/{matrix.integration.spec-4DQIRQQO.js.map → matrix.integration.spec-LC6YMEKP.js.map} +0 -0
- /package/dist/{matrix.interactivity-GSV45F2N.js.map → matrix.interactivity-W5AFOAQN.js.map} +0 -0
- /package/dist/{matrix.layout-BMH4V36B.js.map → matrix.layout-LU3NIJAL.js.map} +0 -0
- /package/dist/{matrix.legend-5OVHDE6Q.js.map → matrix.legend-LTP6ETZO.js.map} +0 -0
- /package/dist/{matrix.renderers-DENF4NZ6.js.map → matrix.renderers-762XI65L.js.map} +0 -0
- /package/dist/{matrix.serieses-D7XPW5L4.js.map → matrix.serieses-FHDBRPZA.js.map} +0 -0
- /package/dist/{matrix.sort-XQEOXSEG.js.map → matrix.sort-Q6A6UWMY.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-HGII2SCC.js.map → matrix.sort.unit.spec-CTCOPKVS.js.map} +0 -0
- /package/dist/{matrix.sorterUi-J6PRUT6J.js.map → matrix.sorterUi-4M5AU5EL.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-TNRATMUJ.js.map → matrix.sorterUi.unit.spec-Y7GC3PM5.js.map} +0 -0
- /package/dist/{matrix.unit.spec-LBMDCANX.js.map → matrix.unit.spec-DROPHFTM.js.map} +0 -0
- /package/dist/{mavb-UQFSJN4W.js.map → mavb-BWA73N3U.js.map} +0 -0
- /package/dist/{mds.fimo-TXHCH6LW.js.map → mds.fimo-3UJWIH2J.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-G6IJO3I7.js.map → mds.samplescatterplot-EUS7DCSQ.js.map} +0 -0
- /package/dist/{mds.survivalplot-XFB2EL23.js.map → mds.survivalplot-77UEBQIC.js.map} +0 -0
- /package/dist/{multivalue-GLE6G3ZO.js.map → multivalue-KZ2DMVIR.js.map} +0 -0
- /package/dist/{numericDictTermCluster-YTAMQDWZ.js.map → numericDictTermCluster-C2MYJYPZ.js.map} +0 -0
- /package/dist/{oncomatrix-P6QVGFAR.js.map → oncomatrix-6LGB3M7R.js.map} +0 -0
- /package/dist/{oncomatrix.spec-O6U52E22.js.map → oncomatrix.spec-UWMSLOHW.js.map} +0 -0
- /package/dist/{plot.2dvaf-VZL4SH6G.js.map → plot.2dvaf-LZAVWH65.js.map} +0 -0
- /package/dist/{plot.app-VYMIF4VU.js.map → plot.app-OEWE3AYV.js.map} +0 -0
- /package/dist/{plot.barplot-I6S266DG.js.map → plot.barplot-VIBHGTUT.js.map} +0 -0
- /package/dist/{plot.boxplot-3CHI4AA2.js.map → plot.boxplot-NQI3PSKR.js.map} +0 -0
- /package/dist/{plot.brainImaging-LRQYKMLQ.js.map → plot.brainImaging-3MTTCZHI.js.map} +0 -0
- /package/dist/{plot.disco-NCTBMD2W.js.map → plot.disco-HODBY7SO.js.map} +0 -0
- /package/dist/{plot.ssgq-CL3TGZ55.js.map → plot.ssgq-4URQE673.js.map} +0 -0
- /package/dist/{plot.vaf2cov-5RG3OD6G.js.map → plot.vaf2cov-QIJNEKCK.js.map} +0 -0
- /package/dist/{polar2-ABI2UJNC.js.map → polar2-GVFQNSLK.js.map} +0 -0
- /package/dist/{profileForms-Z4Y55OQY.js.map → profileForms-Z22CJXI4.js.map} +0 -0
- /package/dist/{profilePlot-LMDZVOJK.js.map → profilePlot-IVQZBSID.js.map} +0 -0
- /package/dist/{proteinView-UYMM76WH.js.map → proteinView-AUK634AU.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-5GFBARC5.js.map → proteomeCohortCompare-7G2F35H5.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-JJ2I4KPM.js.map → pseudbulk.unit.spec-JDKUQUCM.js.map} +0 -0
- /package/dist/{pseudobulk-Y7HWDLIV.js.map → pseudobulk-QTCUSH5I.js.map} +0 -0
- /package/dist/{qualitative-H72GEWTZ.js.map → qualitative-7ST7SSBT.js.map} +0 -0
- /package/dist/{radar2-OXUS5DLT.js.map → radar2-CEE6SNBS.js.map} +0 -0
- /package/dist/{radarFacility2-VOUNCM6A.js.map → radarFacility2-OSKDYIK7.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-N43O4YTF.js.map → rememberedGvQ.unit.spec-RYFUJ2NW.js.map} +0 -0
- /package/dist/{render-KDLTAQVA.js.map → render-MAD3WMVD.js.map} +0 -0
- /package/dist/{report-PBRD2KBN.js.map → report-6JXJVSEB.js.map} +0 -0
- /package/dist/{sampleView-7HWFZCHE.js.map → sampleView-SG3QYZKQ.js.map} +0 -0
- /package/dist/{samplelst-3ZWV4XZQ.js.map → samplelst-R765UFP6.js.map} +0 -0
- /package/dist/{samplematrix-YRJUNYQ6.js.map → samplematrix-EBJYE5SM.js.map} +0 -0
- /package/dist/{sc-N4YM3GZI.js.map → sc-7ZXPFDHD.js.map} +0 -0
- /package/dist/{scatter-KBY6VF76.js.map → scatter-3GUL4KF3.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-25WQQ42Y.js.map → selectGenomeWithTklst-K4YXGJYG.js.map} +0 -0
- /package/dist/{singleCellCellType-35TDG2YM.js.map → singleCellCellType-TU5VTPLP.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-G5AVNAUK.js.map → singleCellCellType.unit.spec-IRITQIGT.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-7AHJYFWJ.js.map → singleCellGeneExpression-3IL52QDK.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-LGZMOVTB.js.map → singleCellGeneExpression.unit.spec-WXC4C37T.js.map} +0 -0
- /package/dist/{singleCellPlot-AU5K4M7J.js.map → singleCellPlot-XG3HZS7I.js.map} +0 -0
- /package/dist/{singlecell-HNTYJLJ4.js.map → singlecell-BRF2HAV2.js.map} +0 -0
- /package/dist/{singlecell-J4FIZPZF.js.map → singlecell-KVCJF2HI.js.map} +0 -0
- /package/dist/{snp-OXDVSFGB.js.map → snp-RMZRB426.js.map} +0 -0
- /package/dist/{snp.unit.spec-B7LCCGWA.js.map → snp.unit.spec-JF6KR2NT.js.map} +0 -0
- /package/dist/{snplocus-4VWXVQGS.js.map → snplocus-AHUFHQ3Q.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-YS32IFVI.js.map → spliceevent.a53ss.diagram-OSZZ2CF2.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-PHFR53DH.js.map → spliceevent.exonskip.diagram-AMA2D2OL.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-FFHMDEBQ.js.map → spliceevent.noeventdiagram-RKTUXH5D.js.map} +0 -0
- /package/dist/{ssGSEA-OYEIDW4M.js.map → ssGSEA-7RKWYZKX.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-SY5XFF45.js.map → ssGSEA.unit.spec-XLCZHH7S.js.map} +0 -0
- /package/dist/{stattable-JCH2WPS6.js.map → stattable-NDYUCLVZ.js.map} +0 -0
- /package/dist/{studyCatalog-FDB7D26M.js.map → studyCatalog-TAXRF5NS.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-KNW23YAI.js.map → summarizeCnvGeneexp-3QLHU6N7.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-H57GGCXL.js.map → summarizeGeneexpSurvival-ARI4MPFX.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-RBBDE27N.js.map → summarizeMutationCnv-W7V7CKPI.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-R6YWQ4LQ.js.map → summarizeMutationDiagnosis-GCL4SRON.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-Q6WKBNPD.js.map → summarizeMutationSurvival-6TTMSRRX.js.map} +0 -0
- /package/dist/{summary-AL3GEK3G.js.map → summary-OUYDWLBF.js.map} +0 -0
- /package/dist/{summary.integration.spec-IFGDIEMW.js.map → summary.integration.spec-4GTCG6HY.js.map} +0 -0
- /package/dist/{summaryInput-TYIKTBO3.js.map → summaryInput-UK3TLC7M.js.map} +0 -0
- /package/dist/{sunburst-4PA3CO44.js.map → sunburst-2UFHMNH3.js.map} +0 -0
- /package/dist/{survival-GT4CSHX2.js.map → survival-SPWYSDVB.js.map} +0 -0
- /package/dist/{survival-HXJCMNCG.js.map → survival-TL6UZ6FQ.js.map} +0 -0
- /package/dist/{svgraph-MZCOBO4J.js.map → svgraph-Z543MLIN.js.map} +0 -0
- /package/dist/{svmr-FQPAAQHB.js.map → svmr-SZCAOAIF.js.map} +0 -0
- /package/dist/{table-FKLXVILD.js.map → table-IAQ6J4DO.js.map} +0 -0
- /package/dist/{termCollection-Y7CIC6GQ.js.map → termCollection-3NGHR7QN.js.map} +0 -0
- /package/dist/{termCollection-QDGR6J36.js.map → termCollection-7P3WU6X6.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-PQMFOWLF.js.map → termCollection.unit.spec-EPYC7LOA.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-2O32HROA.js.map → termCollectionFractionSelection-YKIE6BME.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-WXGCO2RF.js.map → termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map} +0 -0
- /package/dist/{tk-QJNN6WK2.js.map → tk-TOXMU4GT.js.map} +0 -0
- /package/dist/{tk-IBYM4FZC.js.map → tk-X454XH5N.js.map} +0 -0
- /package/dist/{tp.ui-RI7S54LI.js.map → tp.ui-FDQ76KPL.js.map} +0 -0
- /package/dist/{tvs.dt-7CIYMLQF.js.map → tvs.dt-U77PCG6X.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-D3W6R6BM.js.map → tvs.dtcnv.categorical-XYZU4XLO.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-4WS2TN3K.js.map → tvs.dtcnv.continuous-4GJILFGP.js.map} +0 -0
- /package/dist/{tvs.dtfusion-NUUFIGG4.js.map → tvs.dtfusion-7YROAHVI.js.map} +0 -0
- /package/dist/{tvs.dtitd-UCSEWRNJ.js.map → tvs.dtitd-MIYU4ZHH.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-J4S7KU3Y.js.map → tvs.dtsnvindel-XLDY7KWB.js.map} +0 -0
- /package/dist/{tvs.dtsv-4OPYIWB6.js.map → tvs.dtsv-YMLJ37YR.js.map} +0 -0
- /package/dist/{tvs.samplelst-RUZYZ2FF.js.map → tvs.samplelst-KIVEXJKD.js.map} +0 -0
- /package/dist/{tvs.termCollection-D5X2HNWO.js.map → tvs.termCollection-4CQV3EB3.js.map} +0 -0
- /package/dist/{vocabulary-4L3RHQFQ.js.map → vocabulary-64GO4YDB.js.map} +0 -0
- /package/dist/{wsi.direct-FNCUUBEJ.js.map → wsi.direct-5MQVRJZX.js.map} +0 -0
|
@@ -1,1357 +0,0 @@
|
|
|
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-VRINIB6B.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-NQDF3U2C.js";
|
|
27
|
-
import {
|
|
28
|
-
aa2gmcoord
|
|
29
|
-
} from "./chunk-HJ6L54YS.js";
|
|
30
|
-
import "./chunk-KV4W2ACA.js";
|
|
31
|
-
import "./chunk-CCYVGZGI.js";
|
|
32
|
-
import {
|
|
33
|
-
Menu
|
|
34
|
-
} from "./chunk-ELJX3QIQ.js";
|
|
35
|
-
import "./chunk-N7DVQTPC.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-GRVO7RW4.js";
|
|
44
|
-
import "./chunk-7CJKL3LK.js";
|
|
45
|
-
import "./chunk-HZ3TCGBK.js";
|
|
46
|
-
import {
|
|
47
|
-
TermTypes,
|
|
48
|
-
getColors,
|
|
49
|
-
mclass
|
|
50
|
-
} from "./chunk-IZUYLFOX.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-YUHPWTMF.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-UYMM76WH.js.map
|