@sjcrh/proteinpaint-client 2.191.4 → 2.192.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-BNMEUJVM.js +1373 -0
- package/dist/AIProjectAdmin-AEXQY5LY.js +958 -0
- package/dist/AIProjectAdmin-AEXQY5LY.js.map +7 -0
- package/dist/AppHeader-RXDJBHXZ.js +835 -0
- package/dist/BoxPlot-HDP3SIGU.js +1217 -0
- package/dist/BoxPlot-HDP3SIGU.js.map +7 -0
- package/dist/CorrelationVolcano-V2E566XL.js +619 -0
- package/dist/DE-7YUZSW4E.js +95 -0
- package/dist/DEinput-P2HOQC4Z.js +301 -0
- package/dist/DifferentialAnalysis-2Z6BHS7A.js +245 -0
- package/dist/Disco-ZLC54X7T.js +3297 -0
- package/dist/Disco-ZLC54X7T.js.map +7 -0
- package/dist/Disco.UI-LXJJYQVV.js +249 -0
- package/dist/Disco.UI-LXJJYQVV.js.map +7 -0
- package/dist/DmrPlot-OEJRGNI3.js +642 -0
- package/dist/GB-2GHDD3MW.js +1130 -0
- package/dist/GeneExpInput-PWLPDLYT.js +367 -0
- package/dist/GeneExpInput-PWLPDLYT.js.map +7 -0
- package/dist/HicApp-CAYC4DPO.js +2250 -0
- package/dist/NumBinaryEditor-EUOYSGPM.js +271 -0
- package/dist/NumBinaryEditor.unit.spec-5B3W4B4F.js +286 -0
- package/dist/NumContEditor-7KK6CIB3.js +109 -0
- package/dist/NumContEditor.unit.spec-IMKGVYFZ.js +169 -0
- package/dist/NumCustomBinEditor-PDAF6I7B.js +38 -0
- package/dist/NumCustomBinEditor.unit.spec-IU3DPECJ.js +284 -0
- package/dist/NumDiscreteEditor-YTKUHG6Z.js +179 -0
- package/dist/NumDiscreteEditor.unit.spec-FUBS7Z7Z.js +202 -0
- package/dist/NumRegularBinEditor-LU3KLBLY.js +38 -0
- package/dist/NumRegularBinEditor.unit.spec-2BKOHI7L.js +227 -0
- package/dist/NumSplineEditor-56RJ2HT2.js +198 -0
- package/dist/NumSplineEditor.unit.spec-PW6VUUBZ.js +199 -0
- package/dist/NumericDensity-EB4H54EF.js +38 -0
- package/dist/NumericDensity.unit.spec-LSEM4OEY.js +221 -0
- package/dist/NumericHandler-VGPDXP35.js +39 -0
- package/dist/NumericHandler.unit.spec-NR3F7XHV.js +219 -0
- package/dist/ProteomeInput-AUXWUIWK.js +396 -0
- package/dist/RunChart2-SQ6TFOHD.js +758 -0
- package/dist/SC-OWJ6LYIW.js +1124 -0
- package/dist/SC-OWJ6LYIW.js.map +7 -0
- package/dist/Volcano-XHDH6UN7.js +1379 -0
- package/dist/WSIViewer-WT2QV747.js +48562 -0
- package/dist/WSIViewer-WT2QV747.js.map +7 -0
- package/dist/WsiSamplesPlot-YUOAWG2A.js +165 -0
- package/dist/adSandbox-VMMAL22L.js +38 -0
- package/dist/animatedBubbleChart-Q6Z5W2UL.js +555 -0
- package/dist/animatedBubbleChart-Q6Z5W2UL.js.map +7 -0
- package/dist/app-FX3KZ67X.js +37 -0
- package/dist/app-X7ZYEOZN.js +49 -0
- package/dist/app.js +20 -20
- package/dist/bam-ZYLH4U5R.js +860 -0
- package/dist/barchart-MXSPTKV4.js +47 -0
- package/dist/barchart.data-ZWF6EVJH.js +22 -0
- package/dist/barchart.events-XON2ANOC.js +47 -0
- package/dist/barchart.integration.spec-PJIENJGT.js +1980 -0
- package/dist/barchart2-HIKBGSSE.js +314 -0
- package/dist/barchart2-HIKBGSSE.js.map +7 -0
- package/dist/bars.renderer-57KSYAAT.js +12 -0
- package/dist/block-EGPYVWNP.js +6226 -0
- package/dist/block-EGPYVWNP.js.map +7 -0
- package/dist/block.init-IJBRPZNM.js +38 -0
- package/dist/block.mds.expressionrank-3DANCP7E.js +359 -0
- package/dist/block.mds.geneboxplot-CRGSCZMG.js +828 -0
- package/dist/block.mds.junction-4UIH2ZYN.js +1545 -0
- package/dist/block.mds.svcnv-NF4UIRR2.js +6801 -0
- package/dist/block.svg-AIZ47JCQ.js +164 -0
- package/dist/block.tk.aicheck-7HZFGE63.js +283 -0
- package/dist/block.tk.ase-U3VNPZEA.js +365 -0
- package/dist/block.tk.bam-4TQ7P2OX.js +1906 -0
- package/dist/block.tk.bedgraphdot-MYHKKO6K.js +384 -0
- package/dist/block.tk.bigwig.ui-E3YVGIDN.js +212 -0
- package/dist/block.tk.hicstraw-Y4XOMG7T.js +823 -0
- package/dist/block.tk.junction-T5C7LK6F.js +2364 -0
- package/dist/block.tk.junction.textmatrixui-Z3ACCVXH.js +199 -0
- package/dist/block.tk.ld-Y5KDA5AU.js +99 -0
- package/dist/block.tk.menu-EWRRISDY.js +1029 -0
- package/dist/block.tk.pgv-3JYGOZVQ.js +944 -0
- package/dist/brainImaging-P3AF3C5N.js +423 -0
- package/dist/brainRegions-YA2H2QOI.js +221 -0
- package/dist/brainRegions-YA2H2QOI.js.map +7 -0
- package/dist/chunk-2JR7RPB6.js +1825 -0
- package/dist/chunk-2U2CP2Y2.js +317 -0
- package/dist/chunk-2U2CP2Y2.js.map +7 -0
- package/dist/chunk-3BBK6A4X.js +176 -0
- package/dist/chunk-3BBK6A4X.js.map +7 -0
- package/dist/chunk-3FVIDQOX.js +54 -0
- package/dist/chunk-3K2O2NIH.js +446 -0
- package/dist/chunk-3RSJU6YM.js +2681 -0
- package/dist/chunk-3ZKD6C5S.js +34 -0
- package/dist/chunk-46AEH34Z.js +95 -0
- package/dist/chunk-4CQVC6XL.js +182 -0
- package/dist/chunk-5FXNI724.js +216 -0
- package/dist/chunk-634MOGE3.js +314 -0
- package/dist/chunk-634MOGE3.js.map +7 -0
- package/dist/chunk-6JHIX4RA.js +4269 -0
- package/dist/chunk-6JHIX4RA.js.map +7 -0
- package/dist/chunk-7PFRBGMN.js +129 -0
- package/dist/chunk-7R63MAPC.js +448 -0
- package/dist/chunk-7R63MAPC.js.map +7 -0
- package/dist/chunk-A4Z3CI24.js +276 -0
- package/dist/chunk-AI2LUQS6.js +119 -0
- package/dist/chunk-AJYJW4LX.js +6364 -0
- package/dist/chunk-BKPDYW5T.js +177 -0
- package/dist/chunk-BMS32SNA.js +37 -0
- package/dist/chunk-C4BCMAIK.js +188 -0
- package/dist/chunk-C4BCMAIK.js.map +7 -0
- package/dist/chunk-CJPGYPI3.js +291 -0
- package/dist/chunk-CTQH7LQ6.js +31 -0
- package/dist/chunk-D5CVYITI.js +203 -0
- package/dist/chunk-DMSX5PSO.js +477 -0
- package/dist/chunk-E3JRW3T3.js +1102 -0
- package/dist/chunk-E574SMCX.js +283 -0
- package/dist/chunk-E76O5Z42.js +98 -0
- package/dist/chunk-EEW443GL.js +14 -0
- package/dist/chunk-EVNMW7BS.js +833 -0
- package/dist/chunk-EVNMW7BS.js.map +7 -0
- package/dist/chunk-F2WPS7VY.js +1943 -0
- package/dist/chunk-FDPWWODM.js +2832 -0
- package/dist/chunk-FDPWWODM.js.map +7 -0
- package/dist/chunk-FVHUROIJ.js +446 -0
- package/dist/chunk-FVHUROIJ.js.map +7 -0
- package/dist/chunk-FYFX42YD.js +222 -0
- package/dist/chunk-G6RZYGWY.js +386 -0
- package/dist/chunk-GTZV2UZV.js +736 -0
- package/dist/chunk-H34LAFGH.js +142 -0
- package/dist/chunk-I2R5O2XX.js +263 -0
- package/dist/chunk-IEYDMN3H.js +26 -0
- package/dist/chunk-JWBP4ZZB.js +148 -0
- package/dist/chunk-KUZPTJJO.js +20874 -0
- package/dist/chunk-KUZPTJJO.js.map +7 -0
- package/dist/chunk-KVIH5JPC.js +1275 -0
- package/dist/chunk-L5HCOTRF.js +302 -0
- package/dist/chunk-LHKDLWG5.js +194 -0
- package/dist/chunk-LQJMCE7G.js +467 -0
- package/dist/chunk-M7UKOCJA.js +234 -0
- package/dist/chunk-M7UKOCJA.js.map +7 -0
- package/dist/chunk-MHFH66I3.js +1289 -0
- package/dist/chunk-MHFH66I3.js.map +7 -0
- package/dist/chunk-MNIBZTQE.js +146 -0
- package/dist/chunk-MP3DN6JK.js +117 -0
- package/dist/chunk-N5OVBS5L.js +2786 -0
- package/dist/chunk-NEKAGDTL.js +58 -0
- package/dist/chunk-NPCNDM6Y.js +54 -0
- package/dist/chunk-NYN2WQN3.js +100 -0
- package/dist/chunk-O6WL7USJ.js +343 -0
- package/dist/chunk-OH5I6I2D.js +368 -0
- package/dist/chunk-PDFCQ7AU.js +5054 -0
- package/dist/chunk-PDFCQ7AU.js.map +7 -0
- package/dist/chunk-PSJVMAWA.js +294 -0
- package/dist/chunk-PSJVMAWA.js.map +7 -0
- package/dist/chunk-PTQ774XH.js +514 -0
- package/dist/chunk-PXOH4ZN2.js +399 -0
- package/dist/chunk-QG4BJUM7.js +102 -0
- package/dist/chunk-R7AV73BV.js +617 -0
- package/dist/chunk-R7AV73BV.js.map +7 -0
- package/dist/chunk-RITTG5WN.js +158 -0
- package/dist/chunk-SMSFTTEO.js +272 -0
- package/dist/chunk-SOTB4FRE.js +2098 -0
- package/dist/chunk-SOTB4FRE.js.map +7 -0
- package/dist/chunk-TBZKVKR4.js +50 -0
- package/dist/chunk-TJYRBEBK.js +2878 -0
- package/dist/chunk-TLTS33EY.js +287 -0
- package/dist/chunk-TMM7BWW7.js +381 -0
- package/dist/chunk-TTC4MNEM.js +2327 -0
- package/dist/chunk-UN3O2MNB.js +375 -0
- package/dist/chunk-UN3O2MNB.js.map +7 -0
- package/dist/chunk-UQ5CDHYF.js +1218 -0
- package/dist/chunk-UQ5CDHYF.js.map +7 -0
- package/dist/chunk-UXIZYI3X.js +226 -0
- package/dist/chunk-VIUATDO2.js +170 -0
- package/dist/chunk-VIUDFDN4.js +102 -0
- package/dist/chunk-VQZ2Z5YU.js +587 -0
- package/dist/chunk-VQZ2Z5YU.js.map +7 -0
- package/dist/chunk-W5OEFZCR.js +254 -0
- package/dist/chunk-WXSRK3XR.js +534 -0
- package/dist/chunk-XHGMDBTS.js +230 -0
- package/dist/chunk-XQ2OBL6R.js +1205 -0
- package/dist/chunk-XQ2OBL6R.js.map +7 -0
- package/dist/chunk-XVGS3QXS.js +55 -0
- package/dist/chunk-XYNYQMLH.js +482 -0
- package/dist/chunk-Y4JJMUWG.js +217 -0
- package/dist/chunk-Z457XQSX.js +815 -0
- package/dist/chunk-ZF6HNVYD.js +1444 -0
- package/dist/chunk-ZF6HNVYD.js.map +7 -0
- package/dist/condition-QXTOTGZX.js +332 -0
- package/dist/controls-7TDB75LK.js +41 -0
- package/dist/controls.config-IBF5ILFP.js +39 -0
- package/dist/correlation-M2T5R7CM.js +102 -0
- package/dist/correlation-M2T5R7CM.js.map +7 -0
- package/dist/cuminc-CAHPKW7W.js +1149 -0
- package/dist/cuminc.integration.spec-NNSQGBRI.js +678 -0
- package/dist/customdata.inputui-RRTQK7OK.js +289 -0
- package/dist/dataDownload-SOUCBKXM.js +330 -0
- package/dist/dataDownload.integration.spec-C6TLWSSO.js +193 -0
- package/dist/databrowser.ui-KLFEU5QA.js +433 -0
- package/dist/dictionary-RUT5VXDD.js +118 -0
- package/dist/dictionary-RUT5VXDD.js.map +7 -0
- package/dist/dnaMethylation-WOKGG33W.js +38 -0
- package/dist/dnaMethylation.integration.spec-YUPP42UK.js +203 -0
- package/dist/dofetch-V7PLLWSO.js +51 -0
- package/dist/e2pca-VT7EM4E3.js +350 -0
- package/dist/ep-X6B43UXE.js +1256 -0
- package/dist/expclust.gdc.spec-DTBFOXBC.js +307 -0
- package/dist/facet-T5ZX7ZGV.js +521 -0
- package/dist/forms2-S5OGBFKL.js +539 -0
- package/dist/forms2-S5OGBFKL.js.map +7 -0
- package/dist/gb-TWXREZIP.js +88 -0
- package/dist/geneExpClustering-2G6YDCIN.js +249 -0
- package/dist/geneExpression-2A4ZPT7K.js +38 -0
- package/dist/geneExpression-ZHQH6SNA.js +313 -0
- package/dist/geneExpression.unit.spec-2M223S4P.js +102 -0
- package/dist/geneORA-YLIRUMCZ.js +278 -0
- package/dist/geneRanking-JDJXNGEC.js +551 -0
- package/dist/geneVariant-5ZIOT5BT.js +39 -0
- package/dist/geneVariant-GIXIMJ2I.js +41 -0
- package/dist/geneVariant.integration.spec-QCROW73S.js +198 -0
- package/dist/genefusion.ui-56UQLUKJ.js +309 -0
- package/dist/geneset-ACRMGBJO.js +208 -0
- package/dist/genomeBrowser.spec-EDILOQON.js +281 -0
- package/dist/grin2-5P7CYUT7.js +1560 -0
- package/dist/grin2-GNB35CMF.js +871 -0
- package/dist/grin2-GNB35CMF.js.map +7 -0
- package/dist/gsea-2PQ5HNNT.js +47 -0
- package/dist/hierCluster-H5HB7FPW.js +63 -0
- package/dist/hierCluster-L3LCP2II.js +59 -0
- package/dist/hierCluster.config-6UIJWCND.js +40 -0
- package/dist/hierCluster.integration.spec-EVAPT2VF.js +395 -0
- package/dist/hierCluster.interactivity-7MW6ZT6O.js +54 -0
- package/dist/hierCluster.renderers-F34EVY5J.js +21 -0
- package/dist/imagePlot-RSFZ2OKD.js +163 -0
- package/dist/importPlot-DQFWY5A7.js +8 -0
- package/dist/isoformExpression-2KANPCBH.js +40 -0
- package/dist/isoformExpression.unit.spec-6FSMHT4K.js +208 -0
- package/dist/launch.adhoc-ZYTIRVIC.js +42 -0
- package/dist/leftlabel.sample-66U6MHPN.js +260 -0
- package/dist/legacyDataset-TNIIJABK.js +119 -0
- package/dist/lollipop-PJDUFWEY.js +171 -0
- package/dist/maf-DLJHCKHJ.js +452 -0
- package/dist/maftimeline-NK5QYJMJ.js +593 -0
- package/dist/matrix-7BFYR6QL.js +63 -0
- package/dist/matrix-USAB2CHO.js +58 -0
- package/dist/matrix.cells-OTAXAJ4N.js +28 -0
- package/dist/matrix.config-AL4WSFZ7.js +41 -0
- package/dist/matrix.data-BDHCSN2G.js +25 -0
- package/dist/matrix.groups-MV2D2636.js +27 -0
- package/dist/matrix.integration.spec-DESORC2Y.js +3072 -0
- package/dist/matrix.interactivity-H7EJW3P2.js +42 -0
- package/dist/matrix.layout-7CAS2IBO.js +44 -0
- package/dist/matrix.legend-JDVG2JDF.js +22 -0
- package/dist/matrix.renderers-PDR5FIBC.js +38 -0
- package/dist/matrix.serieses-QVDS5HKK.js +21 -0
- package/dist/matrix.sort-HCK4CSTJ.js +27 -0
- package/dist/matrix.sort.unit.spec-2GC4E26N.js +472 -0
- package/dist/matrix.sorterUi-XGBQOPG4.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-BJQKDU2F.js +342 -0
- package/dist/mavb-6E6Z4LPK.js +732 -0
- package/dist/mds.fimo-5P2TK5U4.js +518 -0
- package/dist/mds.samplescatterplot-KLKOD4AS.js +1550 -0
- package/dist/mds.survivalplot-SWQCOFIU.js +483 -0
- package/dist/numericDictTermCluster-WIVO33AV.js +72 -0
- package/dist/oncomatrix-SDUUQZCK.js +295 -0
- package/dist/oncomatrix.spec-YGQYIUDT.js +448 -0
- package/dist/plot.2dvaf-K53KTP5W.js +377 -0
- package/dist/plot.app-FNJVWLPQ.js +41 -0
- package/dist/plot.barplot-VTC3N6BR.js +102 -0
- package/dist/plot.boxplot-RJFGQSLA.js +152 -0
- package/dist/plot.brainImaging-6KVNPPMT.js +51 -0
- package/dist/plot.disco-ZFH5RK6B.js +102 -0
- package/dist/plot.dzi-IA2SOFUD.js +33 -0
- package/dist/plot.ssgq-QARGQVKB.js +139 -0
- package/dist/plot.vaf2cov-2JUXYCPG.js +259 -0
- package/dist/plot.wsi-C2DULA7U.js +36 -0
- package/dist/polar2-3HS3QBU6.js +231 -0
- package/dist/polar2-3HS3QBU6.js.map +7 -0
- package/dist/profileForms-Y6ZBMZWQ.js +446 -0
- package/dist/profileForms-Y6ZBMZWQ.js.map +7 -0
- package/dist/profilePlot-SVI3QKMD.js +54 -0
- package/dist/proteinView-YPFJSBL7.js +1556 -0
- package/dist/proteinView-YPFJSBL7.js.map +7 -0
- package/dist/qualitative-AQFKAZID.js +43 -0
- package/dist/radar2-TTQZLARY.js +326 -0
- package/dist/radar2-TTQZLARY.js.map +7 -0
- package/dist/radarFacility2-YGS56QUA.js +334 -0
- package/dist/radarFacility2-YGS56QUA.js.map +7 -0
- package/dist/regression-DLPBCDZT.js +56 -0
- package/dist/regression.inputs-42LY4MEZ.js +48 -0
- package/dist/regression.inputs.term-TTUFFPG6.js +48 -0
- package/dist/regression.inputs.values.table-CJAPTSMS.js +45 -0
- package/dist/regression.integration.spec-UDA26OGS.js +784 -0
- package/dist/regression.results-IA3C7SHR.js +40 -0
- package/dist/regression.spec-HEXCL3QV.js +708 -0
- package/dist/report-4CFOWNPJ.js +222 -0
- package/dist/sampleScatter.spec-N6V4BQ5Q.js +202 -0
- package/dist/sampleView-CZF7U23I.js +48 -0
- package/dist/samplelst-XUGDS5TU.js +111 -0
- package/dist/samplematrix-R5PZLZDE.js +2198 -0
- package/dist/sc-WTZZA5J5.js +86 -0
- package/dist/scatter-EY7HQVCO.js +851 -0
- package/dist/scatter-EY7HQVCO.js.map +7 -0
- package/dist/scatter.integration.spec-CRMLFO4J.js +1206 -0
- package/dist/scatter.integration.spec-CRMLFO4J.js.map +7 -0
- package/dist/selectGenomeWithTklst-2S2MXVCI.js +134 -0
- package/dist/singleCellCellType-LJWFG7MY.js +38 -0
- package/dist/singleCellCellType.unit.spec-RGN2XVUR.js +160 -0
- package/dist/singleCellGeneExpression-IW2QXTTU.js +38 -0
- package/dist/singleCellGeneExpression.unit.spec-4PO3Q7TM.js +153 -0
- package/dist/singleCellPlot-6EZ6JXCM.js +54 -0
- package/dist/singlecell-3LFPQ6KO.js +86 -0
- package/dist/singlecell-NTTAVVMR.js +1572 -0
- package/dist/snp-XB4IBG4Z.js +38 -0
- package/dist/snp.unit.spec-HAJPM53L.js +176 -0
- package/dist/snplocus-HE6TITSX.js +208 -0
- package/dist/spliceevent.a53ss.diagram-TCZMBMD7.js +151 -0
- package/dist/spliceevent.exonskip.diagram-VESOF6UC.js +277 -0
- package/dist/spliceevent.noeventdiagram-4K7FMO4F.js +460 -0
- package/dist/ssGSEA-2XYMX36P.js +38 -0
- package/dist/ssGSEA.unit.spec-J36KM2HO.js +88 -0
- package/dist/summarizeCnvGeneexp-LYVDZXXD.js +163 -0
- package/dist/summarizeGeneexpSurvival-Y52TGAHF.js +108 -0
- package/dist/summarizeMutationCnv-6EEJT3PV.js +164 -0
- package/dist/summarizeMutationDiagnosis-HZKXHOOQ.js +40 -0
- package/dist/summarizeMutationSurvival-TU7TQYFQ.js +99 -0
- package/dist/summary-4QQZUAMU.js +49 -0
- package/dist/summary.integration.spec-SLIIM4HN.js +414 -0
- package/dist/summaryInput-6HROPKCE.js +235 -0
- package/dist/sunburst-MBJJPERL.js +284 -0
- package/dist/survival-CXLMQSV2.js +58 -0
- package/dist/survival-QSL2KDKD.js +46 -0
- package/dist/survival.integration.spec-EUAAALVW.js +821 -0
- package/dist/svgraph-JM5MHQDX.js +1387 -0
- package/dist/svmr-MCMST2FL.js +3842 -0
- package/dist/table-MVX3IMAL.js +200 -0
- package/dist/termCollection-FZ2SCVA7.js +38 -0
- package/dist/termCollection-IGC7REFK.js +179 -0
- package/dist/termCollection.unit.spec-VY2EZZIP.js +208 -0
- package/dist/tk-5F3TWZ2G.js +46 -0
- package/dist/tp.ui-IURWTMAS.js +1459 -0
- package/dist/tvs.dt-BPZCFPYK.js +39 -0
- package/dist/tvs.dtcnv.categorical-UFS62DTR.js +40 -0
- package/dist/tvs.dtcnv.continuous-R6YXNNLA.js +72 -0
- package/dist/tvs.dtfusion-FGXXS4XX.js +40 -0
- package/dist/tvs.dtsnvindel-DR43K7X3.js +40 -0
- package/dist/tvs.dtsv-NO34GIOL.js +40 -0
- package/dist/tvs.numeric-KYAU5OV3.js +21 -0
- package/dist/tvs.samplelst-2QP7IV2Y.js +104 -0
- package/dist/tvs.termCollection-UEJDG22G.js +159 -0
- package/dist/violin-NBZTGGYF.js +46 -0
- package/dist/violin.integration.spec-5CLYJSAR.js +1425 -0
- package/dist/violin.interactivity-KXVKTT22.js +38 -0
- package/dist/violin.renderer-37OF6K7Q.js +40 -0
- package/dist/vocabulary-GR6J3VKW.js +41 -0
- package/package.json +3 -3
- package/dist/2dmaf-Z3D2M3FB.js +0 -1373
- package/dist/AIProjectAdmin-2OQOQXH4.js +0 -956
- package/dist/AIProjectAdmin-2OQOQXH4.js.map +0 -7
- package/dist/AppHeader-PXLGVCVS.js +0 -835
- package/dist/BoxPlot-PUZKHACO.js +0 -1211
- package/dist/BoxPlot-PUZKHACO.js.map +0 -7
- package/dist/CorrelationVolcano-RO6CFLZA.js +0 -619
- package/dist/DE-CCA5SBJG.js +0 -95
- package/dist/DEinput-MRUQW6X6.js +0 -301
- package/dist/DifferentialAnalysis-5YQQLJKR.js +0 -245
- package/dist/Disco-4FTOJBLG.js +0 -3237
- package/dist/Disco-4FTOJBLG.js.map +0 -7
- package/dist/Disco.UI-IWVSK3RN.js +0 -245
- package/dist/Disco.UI-IWVSK3RN.js.map +0 -7
- package/dist/DmrPlot-FPJJHTM5.js +0 -642
- package/dist/GB-H6JETPRC.js +0 -1130
- package/dist/GeneExpInput-Q42COANS.js +0 -366
- package/dist/GeneExpInput-Q42COANS.js.map +0 -7
- package/dist/HicApp-BBD2YOMT.js +0 -2250
- package/dist/NumBinaryEditor-WMSF7HIO.js +0 -271
- package/dist/NumBinaryEditor.unit.spec-QQATLHF7.js +0 -286
- package/dist/NumContEditor-4CSTHVRX.js +0 -109
- package/dist/NumContEditor.unit.spec-2YF3OS3A.js +0 -169
- package/dist/NumCustomBinEditor-KFAYUWYV.js +0 -38
- package/dist/NumCustomBinEditor.unit.spec-YHAUSGPN.js +0 -284
- package/dist/NumDiscreteEditor-F46H5CME.js +0 -179
- package/dist/NumDiscreteEditor.unit.spec-5BIAWAVN.js +0 -202
- package/dist/NumRegularBinEditor-G7KOA7NR.js +0 -38
- package/dist/NumRegularBinEditor.unit.spec-Y6CBCWLN.js +0 -227
- package/dist/NumSplineEditor-JP2V2L4Y.js +0 -198
- package/dist/NumSplineEditor.unit.spec-N34QBZN3.js +0 -199
- package/dist/NumericDensity-JOPHLURB.js +0 -38
- package/dist/NumericDensity.unit.spec-N45PCLOT.js +0 -221
- package/dist/NumericHandler-SIM4E2Z5.js +0 -39
- package/dist/NumericHandler.unit.spec-NKLYDVTG.js +0 -219
- package/dist/ProteomeInput-5KMNE3PZ.js +0 -396
- package/dist/RunChart2-N7AZVQXJ.js +0 -758
- package/dist/SC-M6RGALZM.js +0 -936
- package/dist/SC-M6RGALZM.js.map +0 -7
- package/dist/Volcano-YH4RJTT5.js +0 -1379
- package/dist/WSIViewer-7LOVM3AU.js +0 -48508
- package/dist/WSIViewer-7LOVM3AU.js.map +0 -7
- package/dist/WsiSamplesPlot-QPPB7OOD.js +0 -165
- package/dist/adSandbox-R2QP74P7.js +0 -38
- package/dist/app-AIIN4WDE.js +0 -37
- package/dist/app-FJT5VXMF.js +0 -49
- package/dist/bam-QBO22VQB.js +0 -860
- package/dist/barchart-VDOP6FQU.js +0 -47
- package/dist/barchart.data-Z2E72EET.js +0 -22
- package/dist/barchart.events-NUYQBI5S.js +0 -47
- package/dist/barchart.integration.spec-COVZPXMH.js +0 -1980
- package/dist/barchart2-KMSU4ROO.js +0 -311
- package/dist/barchart2-KMSU4ROO.js.map +0 -7
- package/dist/bars.renderer-JHCZDSM6.js +0 -12
- package/dist/block-TTN2IQAH.js +0 -6202
- package/dist/block-TTN2IQAH.js.map +0 -7
- package/dist/block.init-RRHHCNSR.js +0 -38
- package/dist/block.mds.expressionrank-7NWBRUII.js +0 -359
- package/dist/block.mds.geneboxplot-4BAJJWCC.js +0 -828
- package/dist/block.mds.junction-XRUIHAF5.js +0 -1545
- package/dist/block.mds.svcnv-YZ7PL733.js +0 -6801
- package/dist/block.svg-FUMP2J7A.js +0 -164
- package/dist/block.tk.aicheck-AIZEND45.js +0 -283
- package/dist/block.tk.ase-H26PKO5U.js +0 -365
- package/dist/block.tk.bam-XNZFHSDQ.js +0 -1906
- package/dist/block.tk.bedgraphdot-QTDBLBO2.js +0 -384
- package/dist/block.tk.bigwig.ui-OSRCPTQC.js +0 -212
- package/dist/block.tk.hicstraw-7GH6LVIH.js +0 -823
- package/dist/block.tk.junction-AJYML4AW.js +0 -2364
- package/dist/block.tk.junction.textmatrixui-4RIH3EZI.js +0 -199
- package/dist/block.tk.ld-AJYQ4C6T.js +0 -99
- package/dist/block.tk.menu-57OP5UW5.js +0 -1029
- package/dist/block.tk.pgv-XO7HP5MM.js +0 -944
- package/dist/brainImaging-65QDNR4D.js +0 -423
- package/dist/chunk-2XCUERHJ.js +0 -102
- package/dist/chunk-322QC6R4.js +0 -222
- package/dist/chunk-35SCELN4.js +0 -217
- package/dist/chunk-36EHIPV4.js +0 -514
- package/dist/chunk-3SZ6GKLB.js +0 -14
- package/dist/chunk-3ZLJDFJU.js +0 -368
- package/dist/chunk-4DXZGZOB.js +0 -54
- package/dist/chunk-4UWS5Y3N.js +0 -1438
- package/dist/chunk-4UWS5Y3N.js.map +0 -7
- package/dist/chunk-54EMVNPW.js +0 -102
- package/dist/chunk-57RBC6IZ.js +0 -302
- package/dist/chunk-5OUTR67M.js +0 -37
- package/dist/chunk-67DBIM6H.js +0 -293
- package/dist/chunk-67DBIM6H.js.map +0 -7
- package/dist/chunk-6A3IPDE2.js +0 -1943
- package/dist/chunk-6GN7X6LU.js +0 -2681
- package/dist/chunk-72X7LSBN.js +0 -54
- package/dist/chunk-74ZU4BT6.js +0 -2824
- package/dist/chunk-74ZU4BT6.js.map +0 -7
- package/dist/chunk-7EMWHCVW.js +0 -1825
- package/dist/chunk-7FACFCZK.js +0 -226
- package/dist/chunk-7XFGYYRV.js +0 -371
- package/dist/chunk-7XFGYYRV.js.map +0 -7
- package/dist/chunk-B6CSYKZJ.js +0 -1275
- package/dist/chunk-BDIKFVWZ.js +0 -443
- package/dist/chunk-BDIKFVWZ.js.map +0 -7
- package/dist/chunk-BWGU5NJS.js +0 -291
- package/dist/chunk-C5ZMAQXQ.js +0 -1173
- package/dist/chunk-C5ZMAQXQ.js.map +0 -7
- package/dist/chunk-CC3GFVV6.js +0 -117
- package/dist/chunk-CXQ6KS3Z.js +0 -1348
- package/dist/chunk-CXQ6KS3Z.js.map +0 -7
- package/dist/chunk-DCH54HC5.js +0 -824
- package/dist/chunk-DCH54HC5.js.map +0 -7
- package/dist/chunk-DD4R5P6W.js +0 -177
- package/dist/chunk-DKVUOBIE.js +0 -203
- package/dist/chunk-DR6H3QAA.js +0 -399
- package/dist/chunk-EH4NQ7C4.js +0 -170
- package/dist/chunk-EVN6KWPN.js +0 -50
- package/dist/chunk-FFEIP5CT.js +0 -458
- package/dist/chunk-FFEIP5CT.js.map +0 -7
- package/dist/chunk-FJP77STI.js +0 -158
- package/dist/chunk-FJP77STI.js.map +0 -7
- package/dist/chunk-G6O3URDN.js +0 -467
- package/dist/chunk-GNIK4JYM.js +0 -534
- package/dist/chunk-HKSNADSX.js +0 -477
- package/dist/chunk-I5RAQKKJ.js +0 -129
- package/dist/chunk-IW57W7EQ.js +0 -1210
- package/dist/chunk-IW57W7EQ.js.map +0 -7
- package/dist/chunk-J4SOF2ZH.js +0 -263
- package/dist/chunk-KPJZBCVI.js +0 -272
- package/dist/chunk-KSGA62R2.js +0 -2878
- package/dist/chunk-LTOBEUM2.js +0 -98
- package/dist/chunk-MYF2BWKC.js +0 -205
- package/dist/chunk-MYF2BWKC.js.map +0 -7
- package/dist/chunk-N2SKTCDK.js +0 -148
- package/dist/chunk-NGM3ZLIP.js +0 -230
- package/dist/chunk-NOEAT6CX.js +0 -317
- package/dist/chunk-NOEAT6CX.js.map +0 -7
- package/dist/chunk-NSXZPWRP.js +0 -482
- package/dist/chunk-O3JB4PIX.js +0 -31
- package/dist/chunk-OAWQ6LOO.js +0 -2063
- package/dist/chunk-OAWQ6LOO.js.map +0 -7
- package/dist/chunk-ODG6RD7P.js +0 -254
- package/dist/chunk-OEDZHPBJ.js +0 -58
- package/dist/chunk-ORL44TIK.js +0 -386
- package/dist/chunk-P3IENRWJ.js +0 -613
- package/dist/chunk-P3IENRWJ.js.map +0 -7
- package/dist/chunk-PCZNTK74.js +0 -26
- package/dist/chunk-QH6W3NVF.js +0 -287
- package/dist/chunk-QNETLNPB.js +0 -343
- package/dist/chunk-QQZ3SBF3.js +0 -216
- package/dist/chunk-R2MMURGK.js +0 -2786
- package/dist/chunk-SA7APTJR.js +0 -20792
- package/dist/chunk-SA7APTJR.js.map +0 -7
- package/dist/chunk-SHWLROJG.js +0 -283
- package/dist/chunk-SKREEF3H.js +0 -184
- package/dist/chunk-SKREEF3H.js.map +0 -7
- package/dist/chunk-TOU7EVFQ.js +0 -396
- package/dist/chunk-TOU7EVFQ.js.map +0 -7
- package/dist/chunk-UGVNZMLU.js +0 -4274
- package/dist/chunk-UGVNZMLU.js.map +0 -7
- package/dist/chunk-UI7OCM2A.js +0 -815
- package/dist/chunk-UJKW42DI.js +0 -6364
- package/dist/chunk-ULPMYS5B.js +0 -100
- package/dist/chunk-UOVALHAJ.js +0 -182
- package/dist/chunk-VGJSASRT.js +0 -446
- package/dist/chunk-VGYTAYFK.js +0 -276
- package/dist/chunk-VHOEJBFP.js +0 -736
- package/dist/chunk-VOUMS6IP.js +0 -1102
- package/dist/chunk-VV36JRUF.js +0 -381
- package/dist/chunk-W55XSG6K.js +0 -142
- package/dist/chunk-W6ME65LV.js +0 -34
- package/dist/chunk-WHI6466S.js +0 -146
- package/dist/chunk-WSDUD52Y.js +0 -55
- package/dist/chunk-XAVNZNXQ.js +0 -95
- package/dist/chunk-XMLURPEP.js +0 -194
- package/dist/chunk-YKXUK7HJ.js +0 -5041
- package/dist/chunk-YKXUK7HJ.js.map +0 -7
- package/dist/chunk-YZK37YCC.js +0 -119
- package/dist/chunk-ZTYNN6G5.js +0 -2327
- package/dist/chunk-ZXTHADSC.js +0 -158
- package/dist/condition-HDVYPJJD.js +0 -332
- package/dist/controls-YEEW46C6.js +0 -41
- package/dist/controls.config-C535H5DL.js +0 -39
- package/dist/correlation-AOSSSSL3.js +0 -99
- package/dist/correlation-AOSSSSL3.js.map +0 -7
- package/dist/cuminc-II7NFIFP.js +0 -1149
- package/dist/cuminc.integration.spec-B4N6OMBJ.js +0 -678
- package/dist/customdata.inputui-AI4ZBIEP.js +0 -289
- package/dist/dataDownload-ZQYLXN6D.js +0 -330
- package/dist/dataDownload.integration.spec-2PKYZ2AY.js +0 -193
- package/dist/databrowser.ui-WGD7D3XV.js +0 -433
- package/dist/dictionary-RYM4WP2W.js +0 -111
- package/dist/dictionary-RYM4WP2W.js.map +0 -7
- package/dist/dnaMethylation-WGJMJL5B.js +0 -38
- package/dist/dnaMethylation.integration.spec-DO3PV4MO.js +0 -203
- package/dist/dofetch-RADX3AFU.js +0 -51
- package/dist/e2pca-KOAAU2JX.js +0 -350
- package/dist/ep-CXCATXYH.js +0 -1256
- package/dist/expclust.gdc.spec-UJO2R3CW.js +0 -307
- package/dist/facet-2FBUAD7P.js +0 -521
- package/dist/forms2-ZBT5BZW3.js +0 -534
- package/dist/forms2-ZBT5BZW3.js.map +0 -7
- package/dist/gb-VCJFV63W.js +0 -88
- package/dist/geneExpClustering-FUNS6D2P.js +0 -249
- package/dist/geneExpression-2BWWGYL4.js +0 -38
- package/dist/geneExpression-2OPFWV2K.js +0 -313
- package/dist/geneExpression.unit.spec-G7BSHJQT.js +0 -102
- package/dist/geneORA-S3KQMBYL.js +0 -278
- package/dist/geneRanking-UZ36XAL7.js +0 -551
- package/dist/geneVariant-OOZ2SBXO.js +0 -41
- package/dist/geneVariant-ZHNVEKQ6.js +0 -39
- package/dist/geneVariant.integration.spec-2C7EWKEV.js +0 -198
- package/dist/genefusion.ui-ASICJNII.js +0 -309
- package/dist/geneset-SNM4M6UM.js +0 -208
- package/dist/genomeBrowser.spec-DJIRW2X7.js +0 -281
- package/dist/grin2-7AOJP5QJ.js +0 -1560
- package/dist/grin2-RKJXYWJ5.js +0 -821
- package/dist/grin2-RKJXYWJ5.js.map +0 -7
- package/dist/gsea-SPTQJW67.js +0 -47
- package/dist/hierCluster-KDE5SMYP.js +0 -63
- package/dist/hierCluster-XG4YLVL3.js +0 -59
- package/dist/hierCluster.config-VNEEJCKJ.js +0 -40
- package/dist/hierCluster.integration.spec-SSDN7LSH.js +0 -395
- package/dist/hierCluster.interactivity-DKBSJ644.js +0 -54
- package/dist/hierCluster.renderers-OG6LZAT7.js +0 -21
- package/dist/imagePlot-M5JSHEY4.js +0 -163
- package/dist/importPlot-YH7ZY6RJ.js +0 -8
- package/dist/isoformExpression-EV27MKYZ.js +0 -40
- package/dist/isoformExpression.unit.spec-7T2GOHH3.js +0 -208
- package/dist/launch.adhoc-NOISOX5E.js +0 -42
- package/dist/leftlabel.sample-42AX4KTV.js +0 -260
- package/dist/legacyDataset-SWJCAWIR.js +0 -119
- package/dist/lollipop-LQCQBTSX.js +0 -171
- package/dist/maf-U237OWZ3.js +0 -452
- package/dist/maftimeline-NLZLMHT2.js +0 -593
- package/dist/matrix-DZJXYRYN.js +0 -63
- package/dist/matrix-Y5345QQG.js +0 -58
- package/dist/matrix.cells-PT7S74QP.js +0 -28
- package/dist/matrix.config-2ORCUWKX.js +0 -41
- package/dist/matrix.data-C6VPQJJ4.js +0 -25
- package/dist/matrix.groups-CEOCG2CT.js +0 -27
- package/dist/matrix.integration.spec-U4B3JB6N.js +0 -3072
- package/dist/matrix.interactivity-GFLIFIER.js +0 -42
- package/dist/matrix.layout-DOVDHTDX.js +0 -44
- package/dist/matrix.legend-JE4ZSLP7.js +0 -22
- package/dist/matrix.renderers-GPUJQ7KF.js +0 -38
- package/dist/matrix.serieses-REE4DCSR.js +0 -21
- package/dist/matrix.sort-VD5URUWY.js +0 -27
- package/dist/matrix.sort.unit.spec-4IOFVHJN.js +0 -472
- package/dist/matrix.sorterUi-VQYY6KBK.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-V5O2EJBX.js +0 -342
- package/dist/mavb-SQDA3B2B.js +0 -732
- package/dist/mds.fimo-ZJSEPLD7.js +0 -518
- package/dist/mds.samplescatterplot-Y5V73GOY.js +0 -1550
- package/dist/mds.survivalplot-CZBRMHYN.js +0 -483
- package/dist/numericDictTermCluster-TFXBBUVI.js +0 -72
- package/dist/oncomatrix-ZILACPPI.js +0 -295
- package/dist/oncomatrix.spec-RLIVVVD6.js +0 -448
- package/dist/plot.2dvaf-BNRZPIKU.js +0 -377
- package/dist/plot.app-NRUARQCN.js +0 -41
- package/dist/plot.barplot-342AYQC7.js +0 -102
- package/dist/plot.boxplot-OHEJDPTW.js +0 -152
- package/dist/plot.brainImaging-KV72PAON.js +0 -51
- package/dist/plot.disco-OUE4RFHL.js +0 -102
- package/dist/plot.dzi-T3GPUH36.js +0 -33
- package/dist/plot.ssgq-WJHGMXW5.js +0 -139
- package/dist/plot.vaf2cov-NGD5PCV4.js +0 -259
- package/dist/plot.wsi-2MU5BDG3.js +0 -36
- package/dist/polar2-YCWPBPFU.js +0 -226
- package/dist/polar2-YCWPBPFU.js.map +0 -7
- package/dist/profileForms-OV3I6RK7.js +0 -441
- package/dist/profileForms-OV3I6RK7.js.map +0 -7
- package/dist/profilePlot-OMVO3K4H.js +0 -54
- package/dist/proteinView-OAR2RC6U.js +0 -1320
- package/dist/proteinView-OAR2RC6U.js.map +0 -7
- package/dist/qualitative-MEYBRUC6.js +0 -43
- package/dist/radar2-KREAMGVV.js +0 -321
- package/dist/radar2-KREAMGVV.js.map +0 -7
- package/dist/radarFacility2-DBPEV7VC.js +0 -329
- package/dist/radarFacility2-DBPEV7VC.js.map +0 -7
- package/dist/regression-ZPDPLI6G.js +0 -56
- package/dist/regression.inputs-QOSBAGL6.js +0 -48
- package/dist/regression.inputs.term-HMUMPY7X.js +0 -48
- package/dist/regression.inputs.values.table-VMCTZHLG.js +0 -45
- package/dist/regression.integration.spec-RP74JTAA.js +0 -784
- package/dist/regression.results-5XC6M67C.js +0 -40
- package/dist/regression.spec-EZYM24J7.js +0 -708
- package/dist/report-ZOVQCOGQ.js +0 -222
- package/dist/sampleScatter.spec-CD52FEOC.js +0 -202
- package/dist/sampleView-SVTLSWRG.js +0 -48
- package/dist/samplelst-HXF5POJD.js +0 -111
- package/dist/samplematrix-NYDAH74I.js +0 -2198
- package/dist/sc-JIDT4W4K.js +0 -86
- package/dist/scatter-WNRTPSEE.js +0 -849
- package/dist/scatter-WNRTPSEE.js.map +0 -7
- package/dist/scatter.integration.spec-3EYTPY5B.js +0 -1197
- package/dist/scatter.integration.spec-3EYTPY5B.js.map +0 -7
- package/dist/selectGenomeWithTklst-OSB7B6L3.js +0 -134
- package/dist/singleCellCellType-3BH7LWQ6.js +0 -38
- package/dist/singleCellCellType.unit.spec-RU4RJXFF.js +0 -160
- package/dist/singleCellGeneExpression-3UA4YER7.js +0 -38
- package/dist/singleCellGeneExpression.unit.spec-4ZTBG37H.js +0 -153
- package/dist/singleCellPlot-ZUAWK5RE.js +0 -54
- package/dist/singlecell-BGJZB7MF.js +0 -86
- package/dist/singlecell-RO3BL5OO.js +0 -1572
- package/dist/snp-HD7VQKBR.js +0 -38
- package/dist/snp.unit.spec-ISXCLMWW.js +0 -176
- package/dist/snplocus-IL5Z4XWV.js +0 -208
- package/dist/spliceevent.a53ss.diagram-LLJSPV7M.js +0 -151
- package/dist/spliceevent.exonskip.diagram-LAOIOIST.js +0 -277
- package/dist/spliceevent.noeventdiagram-MVA7Q3HT.js +0 -460
- package/dist/ssGSEA-7T6S3DSE.js +0 -38
- package/dist/ssGSEA.unit.spec-XJ3W4NWX.js +0 -88
- package/dist/summarizeCnvGeneexp-RRP6JUV6.js +0 -163
- package/dist/summarizeGeneexpSurvival-AFLHDD6Q.js +0 -108
- package/dist/summarizeMutationCnv-NABUYHMX.js +0 -164
- package/dist/summarizeMutationDiagnosis-2LQ7JU3K.js +0 -40
- package/dist/summarizeMutationSurvival-3WBT5TXG.js +0 -99
- package/dist/summary-FRDKOFXW.js +0 -49
- package/dist/summary.integration.spec-ZLRIA7G2.js +0 -414
- package/dist/summaryInput-4JO6MHP4.js +0 -235
- package/dist/sunburst-DRCVSC2X.js +0 -284
- package/dist/survival-AK75COPY.js +0 -58
- package/dist/survival-IF5NI3A6.js +0 -46
- package/dist/survival.integration.spec-7IWBTPJG.js +0 -821
- package/dist/svgraph-QBDF2SLB.js +0 -1387
- package/dist/svmr-O4GJJUT2.js +0 -3842
- package/dist/table-FQAIXKLE.js +0 -200
- package/dist/termCollection-GMDDL3L7.js +0 -179
- package/dist/termCollection-ZO5PZ7E3.js +0 -38
- package/dist/termCollection.unit.spec-5JBCTXHX.js +0 -208
- package/dist/tk-GJX23IV7.js +0 -46
- package/dist/tp.ui-T7FVMTGQ.js +0 -1459
- package/dist/tvs.dt-X7L7NSU6.js +0 -39
- package/dist/tvs.dtcnv.categorical-73G2V6CH.js +0 -40
- package/dist/tvs.dtcnv.continuous-DWFJL3X7.js +0 -72
- package/dist/tvs.dtfusion-HQADHCSV.js +0 -40
- package/dist/tvs.dtsnvindel-PY5OBMGW.js +0 -40
- package/dist/tvs.dtsv-OTBEEWSW.js +0 -40
- package/dist/tvs.numeric-WGDHEBJV.js +0 -21
- package/dist/tvs.samplelst-LCXSU5MG.js +0 -104
- package/dist/tvs.termCollection-L527XN4X.js +0 -159
- package/dist/violin-6VKRUQV3.js +0 -46
- package/dist/violin.integration.spec-RJATDLQH.js +0 -1425
- package/dist/violin.interactivity-SKF5H7MN.js +0 -38
- package/dist/violin.renderer-GB4TPX3B.js +0 -40
- package/dist/vocabulary-D3W44IWE.js +0 -41
- /package/dist/{2dmaf-Z3D2M3FB.js.map → 2dmaf-BNMEUJVM.js.map} +0 -0
- /package/dist/{AppHeader-PXLGVCVS.js.map → AppHeader-RXDJBHXZ.js.map} +0 -0
- /package/dist/{CorrelationVolcano-RO6CFLZA.js.map → CorrelationVolcano-V2E566XL.js.map} +0 -0
- /package/dist/{DE-CCA5SBJG.js.map → DE-7YUZSW4E.js.map} +0 -0
- /package/dist/{DEinput-MRUQW6X6.js.map → DEinput-P2HOQC4Z.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-5YQQLJKR.js.map → DifferentialAnalysis-2Z6BHS7A.js.map} +0 -0
- /package/dist/{DmrPlot-FPJJHTM5.js.map → DmrPlot-OEJRGNI3.js.map} +0 -0
- /package/dist/{GB-H6JETPRC.js.map → GB-2GHDD3MW.js.map} +0 -0
- /package/dist/{HicApp-BBD2YOMT.js.map → HicApp-CAYC4DPO.js.map} +0 -0
- /package/dist/{NumBinaryEditor-WMSF7HIO.js.map → NumBinaryEditor-EUOYSGPM.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-QQATLHF7.js.map → NumBinaryEditor.unit.spec-5B3W4B4F.js.map} +0 -0
- /package/dist/{NumContEditor-4CSTHVRX.js.map → NumContEditor-7KK6CIB3.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-2YF3OS3A.js.map → NumContEditor.unit.spec-IMKGVYFZ.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-KFAYUWYV.js.map → NumCustomBinEditor-PDAF6I7B.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-YHAUSGPN.js.map → NumCustomBinEditor.unit.spec-IU3DPECJ.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-F46H5CME.js.map → NumDiscreteEditor-YTKUHG6Z.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-5BIAWAVN.js.map → NumDiscreteEditor.unit.spec-FUBS7Z7Z.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-G7KOA7NR.js.map → NumRegularBinEditor-LU3KLBLY.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-Y6CBCWLN.js.map → NumRegularBinEditor.unit.spec-2BKOHI7L.js.map} +0 -0
- /package/dist/{NumSplineEditor-JP2V2L4Y.js.map → NumSplineEditor-56RJ2HT2.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-N34QBZN3.js.map → NumSplineEditor.unit.spec-PW6VUUBZ.js.map} +0 -0
- /package/dist/{NumericDensity-JOPHLURB.js.map → NumericDensity-EB4H54EF.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-N45PCLOT.js.map → NumericDensity.unit.spec-LSEM4OEY.js.map} +0 -0
- /package/dist/{NumericHandler-SIM4E2Z5.js.map → NumericHandler-VGPDXP35.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-NKLYDVTG.js.map → NumericHandler.unit.spec-NR3F7XHV.js.map} +0 -0
- /package/dist/{ProteomeInput-5KMNE3PZ.js.map → ProteomeInput-AUXWUIWK.js.map} +0 -0
- /package/dist/{RunChart2-N7AZVQXJ.js.map → RunChart2-SQ6TFOHD.js.map} +0 -0
- /package/dist/{Volcano-YH4RJTT5.js.map → Volcano-XHDH6UN7.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-QPPB7OOD.js.map → WsiSamplesPlot-YUOAWG2A.js.map} +0 -0
- /package/dist/{adSandbox-R2QP74P7.js.map → adSandbox-VMMAL22L.js.map} +0 -0
- /package/dist/{app-AIIN4WDE.js.map → app-FX3KZ67X.js.map} +0 -0
- /package/dist/{app-FJT5VXMF.js.map → app-X7ZYEOZN.js.map} +0 -0
- /package/dist/{bam-QBO22VQB.js.map → bam-ZYLH4U5R.js.map} +0 -0
- /package/dist/{barchart-VDOP6FQU.js.map → barchart-MXSPTKV4.js.map} +0 -0
- /package/dist/{barchart.data-Z2E72EET.js.map → barchart.data-ZWF6EVJH.js.map} +0 -0
- /package/dist/{barchart.events-NUYQBI5S.js.map → barchart.events-XON2ANOC.js.map} +0 -0
- /package/dist/{barchart.integration.spec-COVZPXMH.js.map → barchart.integration.spec-PJIENJGT.js.map} +0 -0
- /package/dist/{bars.renderer-JHCZDSM6.js.map → bars.renderer-57KSYAAT.js.map} +0 -0
- /package/dist/{block.init-RRHHCNSR.js.map → block.init-IJBRPZNM.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-7NWBRUII.js.map → block.mds.expressionrank-3DANCP7E.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-4BAJJWCC.js.map → block.mds.geneboxplot-CRGSCZMG.js.map} +0 -0
- /package/dist/{block.mds.junction-XRUIHAF5.js.map → block.mds.junction-4UIH2ZYN.js.map} +0 -0
- /package/dist/{block.mds.svcnv-YZ7PL733.js.map → block.mds.svcnv-NF4UIRR2.js.map} +0 -0
- /package/dist/{block.svg-FUMP2J7A.js.map → block.svg-AIZ47JCQ.js.map} +0 -0
- /package/dist/{block.tk.aicheck-AIZEND45.js.map → block.tk.aicheck-7HZFGE63.js.map} +0 -0
- /package/dist/{block.tk.ase-H26PKO5U.js.map → block.tk.ase-U3VNPZEA.js.map} +0 -0
- /package/dist/{block.tk.bam-XNZFHSDQ.js.map → block.tk.bam-4TQ7P2OX.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-QTDBLBO2.js.map → block.tk.bedgraphdot-MYHKKO6K.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-OSRCPTQC.js.map → block.tk.bigwig.ui-E3YVGIDN.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-7GH6LVIH.js.map → block.tk.hicstraw-Y4XOMG7T.js.map} +0 -0
- /package/dist/{block.tk.junction-AJYML4AW.js.map → block.tk.junction-T5C7LK6F.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-4RIH3EZI.js.map → block.tk.junction.textmatrixui-Z3ACCVXH.js.map} +0 -0
- /package/dist/{block.tk.ld-AJYQ4C6T.js.map → block.tk.ld-Y5KDA5AU.js.map} +0 -0
- /package/dist/{block.tk.menu-57OP5UW5.js.map → block.tk.menu-EWRRISDY.js.map} +0 -0
- /package/dist/{block.tk.pgv-XO7HP5MM.js.map → block.tk.pgv-3JYGOZVQ.js.map} +0 -0
- /package/dist/{brainImaging-65QDNR4D.js.map → brainImaging-P3AF3C5N.js.map} +0 -0
- /package/dist/{chunk-7EMWHCVW.js.map → chunk-2JR7RPB6.js.map} +0 -0
- /package/dist/{chunk-72X7LSBN.js.map → chunk-3FVIDQOX.js.map} +0 -0
- /package/dist/{chunk-VGJSASRT.js.map → chunk-3K2O2NIH.js.map} +0 -0
- /package/dist/{chunk-6GN7X6LU.js.map → chunk-3RSJU6YM.js.map} +0 -0
- /package/dist/{chunk-W6ME65LV.js.map → chunk-3ZKD6C5S.js.map} +0 -0
- /package/dist/{chunk-XAVNZNXQ.js.map → chunk-46AEH34Z.js.map} +0 -0
- /package/dist/{chunk-UOVALHAJ.js.map → chunk-4CQVC6XL.js.map} +0 -0
- /package/dist/{chunk-QQZ3SBF3.js.map → chunk-5FXNI724.js.map} +0 -0
- /package/dist/{chunk-I5RAQKKJ.js.map → chunk-7PFRBGMN.js.map} +0 -0
- /package/dist/{chunk-VGYTAYFK.js.map → chunk-A4Z3CI24.js.map} +0 -0
- /package/dist/{chunk-YZK37YCC.js.map → chunk-AI2LUQS6.js.map} +0 -0
- /package/dist/{chunk-UJKW42DI.js.map → chunk-AJYJW4LX.js.map} +0 -0
- /package/dist/{chunk-DD4R5P6W.js.map → chunk-BKPDYW5T.js.map} +0 -0
- /package/dist/{chunk-5OUTR67M.js.map → chunk-BMS32SNA.js.map} +0 -0
- /package/dist/{chunk-BWGU5NJS.js.map → chunk-CJPGYPI3.js.map} +0 -0
- /package/dist/{chunk-O3JB4PIX.js.map → chunk-CTQH7LQ6.js.map} +0 -0
- /package/dist/{chunk-DKVUOBIE.js.map → chunk-D5CVYITI.js.map} +0 -0
- /package/dist/{chunk-HKSNADSX.js.map → chunk-DMSX5PSO.js.map} +0 -0
- /package/dist/{chunk-VOUMS6IP.js.map → chunk-E3JRW3T3.js.map} +0 -0
- /package/dist/{chunk-SHWLROJG.js.map → chunk-E574SMCX.js.map} +0 -0
- /package/dist/{chunk-LTOBEUM2.js.map → chunk-E76O5Z42.js.map} +0 -0
- /package/dist/{chunk-3SZ6GKLB.js.map → chunk-EEW443GL.js.map} +0 -0
- /package/dist/{chunk-6A3IPDE2.js.map → chunk-F2WPS7VY.js.map} +0 -0
- /package/dist/{chunk-322QC6R4.js.map → chunk-FYFX42YD.js.map} +0 -0
- /package/dist/{chunk-ORL44TIK.js.map → chunk-G6RZYGWY.js.map} +0 -0
- /package/dist/{chunk-VHOEJBFP.js.map → chunk-GTZV2UZV.js.map} +0 -0
- /package/dist/{chunk-W55XSG6K.js.map → chunk-H34LAFGH.js.map} +0 -0
- /package/dist/{chunk-J4SOF2ZH.js.map → chunk-I2R5O2XX.js.map} +0 -0
- /package/dist/{chunk-PCZNTK74.js.map → chunk-IEYDMN3H.js.map} +0 -0
- /package/dist/{chunk-N2SKTCDK.js.map → chunk-JWBP4ZZB.js.map} +0 -0
- /package/dist/{chunk-B6CSYKZJ.js.map → chunk-KVIH5JPC.js.map} +0 -0
- /package/dist/{chunk-57RBC6IZ.js.map → chunk-L5HCOTRF.js.map} +0 -0
- /package/dist/{chunk-XMLURPEP.js.map → chunk-LHKDLWG5.js.map} +0 -0
- /package/dist/{chunk-G6O3URDN.js.map → chunk-LQJMCE7G.js.map} +0 -0
- /package/dist/{chunk-WHI6466S.js.map → chunk-MNIBZTQE.js.map} +0 -0
- /package/dist/{chunk-CC3GFVV6.js.map → chunk-MP3DN6JK.js.map} +0 -0
- /package/dist/{chunk-R2MMURGK.js.map → chunk-N5OVBS5L.js.map} +0 -0
- /package/dist/{chunk-OEDZHPBJ.js.map → chunk-NEKAGDTL.js.map} +0 -0
- /package/dist/{chunk-4DXZGZOB.js.map → chunk-NPCNDM6Y.js.map} +0 -0
- /package/dist/{chunk-ULPMYS5B.js.map → chunk-NYN2WQN3.js.map} +0 -0
- /package/dist/{chunk-QNETLNPB.js.map → chunk-O6WL7USJ.js.map} +0 -0
- /package/dist/{chunk-3ZLJDFJU.js.map → chunk-OH5I6I2D.js.map} +0 -0
- /package/dist/{chunk-36EHIPV4.js.map → chunk-PTQ774XH.js.map} +0 -0
- /package/dist/{chunk-DR6H3QAA.js.map → chunk-PXOH4ZN2.js.map} +0 -0
- /package/dist/{chunk-54EMVNPW.js.map → chunk-QG4BJUM7.js.map} +0 -0
- /package/dist/{chunk-ZXTHADSC.js.map → chunk-RITTG5WN.js.map} +0 -0
- /package/dist/{chunk-KPJZBCVI.js.map → chunk-SMSFTTEO.js.map} +0 -0
- /package/dist/{chunk-EVN6KWPN.js.map → chunk-TBZKVKR4.js.map} +0 -0
- /package/dist/{chunk-KSGA62R2.js.map → chunk-TJYRBEBK.js.map} +0 -0
- /package/dist/{chunk-QH6W3NVF.js.map → chunk-TLTS33EY.js.map} +0 -0
- /package/dist/{chunk-VV36JRUF.js.map → chunk-TMM7BWW7.js.map} +0 -0
- /package/dist/{chunk-ZTYNN6G5.js.map → chunk-TTC4MNEM.js.map} +0 -0
- /package/dist/{chunk-7FACFCZK.js.map → chunk-UXIZYI3X.js.map} +0 -0
- /package/dist/{chunk-EH4NQ7C4.js.map → chunk-VIUATDO2.js.map} +0 -0
- /package/dist/{chunk-2XCUERHJ.js.map → chunk-VIUDFDN4.js.map} +0 -0
- /package/dist/{chunk-ODG6RD7P.js.map → chunk-W5OEFZCR.js.map} +0 -0
- /package/dist/{chunk-GNIK4JYM.js.map → chunk-WXSRK3XR.js.map} +0 -0
- /package/dist/{chunk-NGM3ZLIP.js.map → chunk-XHGMDBTS.js.map} +0 -0
- /package/dist/{chunk-WSDUD52Y.js.map → chunk-XVGS3QXS.js.map} +0 -0
- /package/dist/{chunk-NSXZPWRP.js.map → chunk-XYNYQMLH.js.map} +0 -0
- /package/dist/{chunk-35SCELN4.js.map → chunk-Y4JJMUWG.js.map} +0 -0
- /package/dist/{chunk-UI7OCM2A.js.map → chunk-Z457XQSX.js.map} +0 -0
- /package/dist/{condition-HDVYPJJD.js.map → condition-QXTOTGZX.js.map} +0 -0
- /package/dist/{controls-YEEW46C6.js.map → controls-7TDB75LK.js.map} +0 -0
- /package/dist/{controls.config-C535H5DL.js.map → controls.config-IBF5ILFP.js.map} +0 -0
- /package/dist/{cuminc-II7NFIFP.js.map → cuminc-CAHPKW7W.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-B4N6OMBJ.js.map → cuminc.integration.spec-NNSQGBRI.js.map} +0 -0
- /package/dist/{customdata.inputui-AI4ZBIEP.js.map → customdata.inputui-RRTQK7OK.js.map} +0 -0
- /package/dist/{dataDownload-ZQYLXN6D.js.map → dataDownload-SOUCBKXM.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-2PKYZ2AY.js.map → dataDownload.integration.spec-C6TLWSSO.js.map} +0 -0
- /package/dist/{databrowser.ui-WGD7D3XV.js.map → databrowser.ui-KLFEU5QA.js.map} +0 -0
- /package/dist/{dnaMethylation-WGJMJL5B.js.map → dnaMethylation-WOKGG33W.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-DO3PV4MO.js.map → dnaMethylation.integration.spec-YUPP42UK.js.map} +0 -0
- /package/dist/{dofetch-RADX3AFU.js.map → dofetch-V7PLLWSO.js.map} +0 -0
- /package/dist/{e2pca-KOAAU2JX.js.map → e2pca-VT7EM4E3.js.map} +0 -0
- /package/dist/{ep-CXCATXYH.js.map → ep-X6B43UXE.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-UJO2R3CW.js.map → expclust.gdc.spec-DTBFOXBC.js.map} +0 -0
- /package/dist/{facet-2FBUAD7P.js.map → facet-T5ZX7ZGV.js.map} +0 -0
- /package/dist/{gb-VCJFV63W.js.map → gb-TWXREZIP.js.map} +0 -0
- /package/dist/{geneExpClustering-FUNS6D2P.js.map → geneExpClustering-2G6YDCIN.js.map} +0 -0
- /package/dist/{geneExpression-2BWWGYL4.js.map → geneExpression-2A4ZPT7K.js.map} +0 -0
- /package/dist/{geneExpression-2OPFWV2K.js.map → geneExpression-ZHQH6SNA.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-G7BSHJQT.js.map → geneExpression.unit.spec-2M223S4P.js.map} +0 -0
- /package/dist/{geneORA-S3KQMBYL.js.map → geneORA-YLIRUMCZ.js.map} +0 -0
- /package/dist/{geneRanking-UZ36XAL7.js.map → geneRanking-JDJXNGEC.js.map} +0 -0
- /package/dist/{geneVariant-OOZ2SBXO.js.map → geneVariant-5ZIOT5BT.js.map} +0 -0
- /package/dist/{geneVariant-ZHNVEKQ6.js.map → geneVariant-GIXIMJ2I.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-2C7EWKEV.js.map → geneVariant.integration.spec-QCROW73S.js.map} +0 -0
- /package/dist/{genefusion.ui-ASICJNII.js.map → genefusion.ui-56UQLUKJ.js.map} +0 -0
- /package/dist/{geneset-SNM4M6UM.js.map → geneset-ACRMGBJO.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-DJIRW2X7.js.map → genomeBrowser.spec-EDILOQON.js.map} +0 -0
- /package/dist/{grin2-7AOJP5QJ.js.map → grin2-5P7CYUT7.js.map} +0 -0
- /package/dist/{gsea-SPTQJW67.js.map → gsea-2PQ5HNNT.js.map} +0 -0
- /package/dist/{hierCluster-KDE5SMYP.js.map → hierCluster-H5HB7FPW.js.map} +0 -0
- /package/dist/{hierCluster-XG4YLVL3.js.map → hierCluster-L3LCP2II.js.map} +0 -0
- /package/dist/{hierCluster.config-VNEEJCKJ.js.map → hierCluster.config-6UIJWCND.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-SSDN7LSH.js.map → hierCluster.integration.spec-EVAPT2VF.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-DKBSJ644.js.map → hierCluster.interactivity-7MW6ZT6O.js.map} +0 -0
- /package/dist/{hierCluster.renderers-OG6LZAT7.js.map → hierCluster.renderers-F34EVY5J.js.map} +0 -0
- /package/dist/{imagePlot-M5JSHEY4.js.map → imagePlot-RSFZ2OKD.js.map} +0 -0
- /package/dist/{importPlot-YH7ZY6RJ.js.map → importPlot-DQFWY5A7.js.map} +0 -0
- /package/dist/{isoformExpression-EV27MKYZ.js.map → isoformExpression-2KANPCBH.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-7T2GOHH3.js.map → isoformExpression.unit.spec-6FSMHT4K.js.map} +0 -0
- /package/dist/{launch.adhoc-NOISOX5E.js.map → launch.adhoc-ZYTIRVIC.js.map} +0 -0
- /package/dist/{leftlabel.sample-42AX4KTV.js.map → leftlabel.sample-66U6MHPN.js.map} +0 -0
- /package/dist/{legacyDataset-SWJCAWIR.js.map → legacyDataset-TNIIJABK.js.map} +0 -0
- /package/dist/{lollipop-LQCQBTSX.js.map → lollipop-PJDUFWEY.js.map} +0 -0
- /package/dist/{maf-U237OWZ3.js.map → maf-DLJHCKHJ.js.map} +0 -0
- /package/dist/{maftimeline-NLZLMHT2.js.map → maftimeline-NK5QYJMJ.js.map} +0 -0
- /package/dist/{matrix-DZJXYRYN.js.map → matrix-7BFYR6QL.js.map} +0 -0
- /package/dist/{matrix-Y5345QQG.js.map → matrix-USAB2CHO.js.map} +0 -0
- /package/dist/{matrix.cells-PT7S74QP.js.map → matrix.cells-OTAXAJ4N.js.map} +0 -0
- /package/dist/{matrix.config-2ORCUWKX.js.map → matrix.config-AL4WSFZ7.js.map} +0 -0
- /package/dist/{matrix.data-C6VPQJJ4.js.map → matrix.data-BDHCSN2G.js.map} +0 -0
- /package/dist/{matrix.groups-CEOCG2CT.js.map → matrix.groups-MV2D2636.js.map} +0 -0
- /package/dist/{matrix.integration.spec-U4B3JB6N.js.map → matrix.integration.spec-DESORC2Y.js.map} +0 -0
- /package/dist/{matrix.interactivity-GFLIFIER.js.map → matrix.interactivity-H7EJW3P2.js.map} +0 -0
- /package/dist/{matrix.layout-DOVDHTDX.js.map → matrix.layout-7CAS2IBO.js.map} +0 -0
- /package/dist/{matrix.legend-JE4ZSLP7.js.map → matrix.legend-JDVG2JDF.js.map} +0 -0
- /package/dist/{matrix.renderers-GPUJQ7KF.js.map → matrix.renderers-PDR5FIBC.js.map} +0 -0
- /package/dist/{matrix.serieses-REE4DCSR.js.map → matrix.serieses-QVDS5HKK.js.map} +0 -0
- /package/dist/{matrix.sort-VD5URUWY.js.map → matrix.sort-HCK4CSTJ.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-4IOFVHJN.js.map → matrix.sort.unit.spec-2GC4E26N.js.map} +0 -0
- /package/dist/{matrix.sorterUi-VQYY6KBK.js.map → matrix.sorterUi-XGBQOPG4.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-V5O2EJBX.js.map → matrix.sorterUi.unit.spec-BJQKDU2F.js.map} +0 -0
- /package/dist/{mavb-SQDA3B2B.js.map → mavb-6E6Z4LPK.js.map} +0 -0
- /package/dist/{mds.fimo-ZJSEPLD7.js.map → mds.fimo-5P2TK5U4.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-Y5V73GOY.js.map → mds.samplescatterplot-KLKOD4AS.js.map} +0 -0
- /package/dist/{mds.survivalplot-CZBRMHYN.js.map → mds.survivalplot-SWQCOFIU.js.map} +0 -0
- /package/dist/{numericDictTermCluster-TFXBBUVI.js.map → numericDictTermCluster-WIVO33AV.js.map} +0 -0
- /package/dist/{oncomatrix-ZILACPPI.js.map → oncomatrix-SDUUQZCK.js.map} +0 -0
- /package/dist/{oncomatrix.spec-RLIVVVD6.js.map → oncomatrix.spec-YGQYIUDT.js.map} +0 -0
- /package/dist/{plot.2dvaf-BNRZPIKU.js.map → plot.2dvaf-K53KTP5W.js.map} +0 -0
- /package/dist/{plot.app-NRUARQCN.js.map → plot.app-FNJVWLPQ.js.map} +0 -0
- /package/dist/{plot.barplot-342AYQC7.js.map → plot.barplot-VTC3N6BR.js.map} +0 -0
- /package/dist/{plot.boxplot-OHEJDPTW.js.map → plot.boxplot-RJFGQSLA.js.map} +0 -0
- /package/dist/{plot.brainImaging-KV72PAON.js.map → plot.brainImaging-6KVNPPMT.js.map} +0 -0
- /package/dist/{plot.disco-OUE4RFHL.js.map → plot.disco-ZFH5RK6B.js.map} +0 -0
- /package/dist/{plot.dzi-T3GPUH36.js.map → plot.dzi-IA2SOFUD.js.map} +0 -0
- /package/dist/{plot.ssgq-WJHGMXW5.js.map → plot.ssgq-QARGQVKB.js.map} +0 -0
- /package/dist/{plot.vaf2cov-NGD5PCV4.js.map → plot.vaf2cov-2JUXYCPG.js.map} +0 -0
- /package/dist/{plot.wsi-2MU5BDG3.js.map → plot.wsi-C2DULA7U.js.map} +0 -0
- /package/dist/{profilePlot-OMVO3K4H.js.map → profilePlot-SVI3QKMD.js.map} +0 -0
- /package/dist/{qualitative-MEYBRUC6.js.map → qualitative-AQFKAZID.js.map} +0 -0
- /package/dist/{regression-ZPDPLI6G.js.map → regression-DLPBCDZT.js.map} +0 -0
- /package/dist/{regression.inputs-QOSBAGL6.js.map → regression.inputs-42LY4MEZ.js.map} +0 -0
- /package/dist/{regression.inputs.term-HMUMPY7X.js.map → regression.inputs.term-TTUFFPG6.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-VMCTZHLG.js.map → regression.inputs.values.table-CJAPTSMS.js.map} +0 -0
- /package/dist/{regression.integration.spec-RP74JTAA.js.map → regression.integration.spec-UDA26OGS.js.map} +0 -0
- /package/dist/{regression.results-5XC6M67C.js.map → regression.results-IA3C7SHR.js.map} +0 -0
- /package/dist/{regression.spec-EZYM24J7.js.map → regression.spec-HEXCL3QV.js.map} +0 -0
- /package/dist/{report-ZOVQCOGQ.js.map → report-4CFOWNPJ.js.map} +0 -0
- /package/dist/{sampleScatter.spec-CD52FEOC.js.map → sampleScatter.spec-N6V4BQ5Q.js.map} +0 -0
- /package/dist/{sampleView-SVTLSWRG.js.map → sampleView-CZF7U23I.js.map} +0 -0
- /package/dist/{samplelst-HXF5POJD.js.map → samplelst-XUGDS5TU.js.map} +0 -0
- /package/dist/{samplematrix-NYDAH74I.js.map → samplematrix-R5PZLZDE.js.map} +0 -0
- /package/dist/{sc-JIDT4W4K.js.map → sc-WTZZA5J5.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-OSB7B6L3.js.map → selectGenomeWithTklst-2S2MXVCI.js.map} +0 -0
- /package/dist/{singleCellCellType-3BH7LWQ6.js.map → singleCellCellType-LJWFG7MY.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-RU4RJXFF.js.map → singleCellCellType.unit.spec-RGN2XVUR.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-3UA4YER7.js.map → singleCellGeneExpression-IW2QXTTU.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-4ZTBG37H.js.map → singleCellGeneExpression.unit.spec-4PO3Q7TM.js.map} +0 -0
- /package/dist/{singleCellPlot-ZUAWK5RE.js.map → singleCellPlot-6EZ6JXCM.js.map} +0 -0
- /package/dist/{singlecell-BGJZB7MF.js.map → singlecell-3LFPQ6KO.js.map} +0 -0
- /package/dist/{singlecell-RO3BL5OO.js.map → singlecell-NTTAVVMR.js.map} +0 -0
- /package/dist/{snp-HD7VQKBR.js.map → snp-XB4IBG4Z.js.map} +0 -0
- /package/dist/{snp.unit.spec-ISXCLMWW.js.map → snp.unit.spec-HAJPM53L.js.map} +0 -0
- /package/dist/{snplocus-IL5Z4XWV.js.map → snplocus-HE6TITSX.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-LLJSPV7M.js.map → spliceevent.a53ss.diagram-TCZMBMD7.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-LAOIOIST.js.map → spliceevent.exonskip.diagram-VESOF6UC.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-MVA7Q3HT.js.map → spliceevent.noeventdiagram-4K7FMO4F.js.map} +0 -0
- /package/dist/{ssGSEA-7T6S3DSE.js.map → ssGSEA-2XYMX36P.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-XJ3W4NWX.js.map → ssGSEA.unit.spec-J36KM2HO.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-RRP6JUV6.js.map → summarizeCnvGeneexp-LYVDZXXD.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-AFLHDD6Q.js.map → summarizeGeneexpSurvival-Y52TGAHF.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-NABUYHMX.js.map → summarizeMutationCnv-6EEJT3PV.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-2LQ7JU3K.js.map → summarizeMutationDiagnosis-HZKXHOOQ.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-3WBT5TXG.js.map → summarizeMutationSurvival-TU7TQYFQ.js.map} +0 -0
- /package/dist/{summary-FRDKOFXW.js.map → summary-4QQZUAMU.js.map} +0 -0
- /package/dist/{summary.integration.spec-ZLRIA7G2.js.map → summary.integration.spec-SLIIM4HN.js.map} +0 -0
- /package/dist/{summaryInput-4JO6MHP4.js.map → summaryInput-6HROPKCE.js.map} +0 -0
- /package/dist/{sunburst-DRCVSC2X.js.map → sunburst-MBJJPERL.js.map} +0 -0
- /package/dist/{survival-AK75COPY.js.map → survival-CXLMQSV2.js.map} +0 -0
- /package/dist/{survival-IF5NI3A6.js.map → survival-QSL2KDKD.js.map} +0 -0
- /package/dist/{survival.integration.spec-7IWBTPJG.js.map → survival.integration.spec-EUAAALVW.js.map} +0 -0
- /package/dist/{svgraph-QBDF2SLB.js.map → svgraph-JM5MHQDX.js.map} +0 -0
- /package/dist/{svmr-O4GJJUT2.js.map → svmr-MCMST2FL.js.map} +0 -0
- /package/dist/{table-FQAIXKLE.js.map → table-MVX3IMAL.js.map} +0 -0
- /package/dist/{termCollection-ZO5PZ7E3.js.map → termCollection-FZ2SCVA7.js.map} +0 -0
- /package/dist/{termCollection-GMDDL3L7.js.map → termCollection-IGC7REFK.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-5JBCTXHX.js.map → termCollection.unit.spec-VY2EZZIP.js.map} +0 -0
- /package/dist/{tk-GJX23IV7.js.map → tk-5F3TWZ2G.js.map} +0 -0
- /package/dist/{tp.ui-T7FVMTGQ.js.map → tp.ui-IURWTMAS.js.map} +0 -0
- /package/dist/{tvs.dt-X7L7NSU6.js.map → tvs.dt-BPZCFPYK.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-73G2V6CH.js.map → tvs.dtcnv.categorical-UFS62DTR.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-DWFJL3X7.js.map → tvs.dtcnv.continuous-R6YXNNLA.js.map} +0 -0
- /package/dist/{tvs.dtfusion-HQADHCSV.js.map → tvs.dtfusion-FGXXS4XX.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-PY5OBMGW.js.map → tvs.dtsnvindel-DR43K7X3.js.map} +0 -0
- /package/dist/{tvs.dtsv-OTBEEWSW.js.map → tvs.dtsv-NO34GIOL.js.map} +0 -0
- /package/dist/{tvs.numeric-WGDHEBJV.js.map → tvs.numeric-KYAU5OV3.js.map} +0 -0
- /package/dist/{tvs.samplelst-LCXSU5MG.js.map → tvs.samplelst-2QP7IV2Y.js.map} +0 -0
- /package/dist/{tvs.termCollection-L527XN4X.js.map → tvs.termCollection-UEJDG22G.js.map} +0 -0
- /package/dist/{violin-6VKRUQV3.js.map → violin-NBZTGGYF.js.map} +0 -0
- /package/dist/{violin.integration.spec-RJATDLQH.js.map → violin.integration.spec-5CLYJSAR.js.map} +0 -0
- /package/dist/{violin.interactivity-SKF5H7MN.js.map → violin.interactivity-KXVKTT22.js.map} +0 -0
- /package/dist/{violin.renderer-GB4TPX3B.js.map → violin.renderer-37OF6K7Q.js.map} +0 -0
- /package/dist/{vocabulary-D3W44IWE.js.map → vocabulary-GR6J3VKW.js.map} +0 -0
|
@@ -1,1320 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DataPointInteractions,
|
|
3
|
-
LegendCircleReference,
|
|
4
|
-
PlotBase,
|
|
5
|
-
addGeneSearchbox,
|
|
6
|
-
axisstyle,
|
|
7
|
-
make_radios,
|
|
8
|
-
shapeSelector,
|
|
9
|
-
shapes,
|
|
10
|
-
table2col,
|
|
11
|
-
to_svg
|
|
12
|
-
} from "./chunk-SA7APTJR.js";
|
|
13
|
-
import {
|
|
14
|
-
aa2gmcoord
|
|
15
|
-
} from "./chunk-HJ6L54YS.js";
|
|
16
|
-
import "./chunk-LSEFWW72.js";
|
|
17
|
-
import "./chunk-SKREEF3H.js";
|
|
18
|
-
import {
|
|
19
|
-
Menu
|
|
20
|
-
} from "./chunk-HYOEWQ5P.js";
|
|
21
|
-
import "./chunk-HBW42TDT.js";
|
|
22
|
-
import "./chunk-G6O3URDN.js";
|
|
23
|
-
import "./chunk-FN5XPUPH.js";
|
|
24
|
-
import {
|
|
25
|
-
icons
|
|
26
|
-
} from "./chunk-IIT367QZ.js";
|
|
27
|
-
import "./chunk-RZGEKL77.js";
|
|
28
|
-
import "./chunk-UI7OCM2A.js";
|
|
29
|
-
import "./chunk-YZK37YCC.js";
|
|
30
|
-
import {
|
|
31
|
-
dofetch3
|
|
32
|
-
} from "./chunk-7EMWHCVW.js";
|
|
33
|
-
import "./chunk-7IYJZZQI.js";
|
|
34
|
-
import {
|
|
35
|
-
copyMerge,
|
|
36
|
-
getCompInit
|
|
37
|
-
} from "./chunk-M3J4MINX.js";
|
|
38
|
-
import "./chunk-PF4DSFDR.js";
|
|
39
|
-
import "./chunk-QH6W3NVF.js";
|
|
40
|
-
import {
|
|
41
|
-
NumericModes,
|
|
42
|
-
TermTypes
|
|
43
|
-
} from "./chunk-NOEAT6CX.js";
|
|
44
|
-
import {
|
|
45
|
-
getColors,
|
|
46
|
-
mclass
|
|
47
|
-
} from "./chunk-4UWS5Y3N.js";
|
|
48
|
-
import "./chunk-DD4R5P6W.js";
|
|
49
|
-
import "./chunk-JNITUVXP.js";
|
|
50
|
-
import "./chunk-KSGA62R2.js";
|
|
51
|
-
import {
|
|
52
|
-
axisBottom,
|
|
53
|
-
axisLeft
|
|
54
|
-
} from "./chunk-LOZEKOES.js";
|
|
55
|
-
import "./chunk-TOU7EVFQ.js";
|
|
56
|
-
import {
|
|
57
|
-
linear
|
|
58
|
-
} from "./chunk-OAWQ6LOO.js";
|
|
59
|
-
import {
|
|
60
|
-
roundValue
|
|
61
|
-
} from "./chunk-TLT4YIG3.js";
|
|
62
|
-
import "./chunk-KYBIQBXE.js";
|
|
63
|
-
import {
|
|
64
|
-
creator_default,
|
|
65
|
-
select_default
|
|
66
|
-
} from "./chunk-I6Y4O3RR.js";
|
|
67
|
-
import {
|
|
68
|
-
rgb
|
|
69
|
-
} from "./chunk-OMR2DT66.js";
|
|
70
|
-
import "./chunk-DQC5FFGV.js";
|
|
71
|
-
import "./chunk-HFNDKYVF.js";
|
|
72
|
-
|
|
73
|
-
// plots/proteinView.ts
|
|
74
|
-
var defaultConfig = {
|
|
75
|
-
chartType: "proteinView"
|
|
76
|
-
};
|
|
77
|
-
var COHORT_VOLCANO_HIT_RADIUS_PADDING_PX = 3;
|
|
78
|
-
var COHORT_VOLCANO_HIT_BUFFER_PX = 2;
|
|
79
|
-
var COHORT_VOLCANO_HOVER_RING_SIZE_SCALE = 1.15;
|
|
80
|
-
var COHORT_VOLCANO_HOVER_RING_STROKE_PX = 1.5;
|
|
81
|
-
var COHORT_VOLCANO_HOVER_MAX_COHORTS = 5;
|
|
82
|
-
var ProteinView = class _ProteinView extends PlotBase {
|
|
83
|
-
static {
|
|
84
|
-
this.type = "proteinView";
|
|
85
|
-
}
|
|
86
|
-
constructor(opts, api) {
|
|
87
|
-
super(opts, api);
|
|
88
|
-
this.type = _ProteinView.type;
|
|
89
|
-
this.components = {};
|
|
90
|
-
}
|
|
91
|
-
async init() {
|
|
92
|
-
const holder = this.opts.holder.append("div").style("padding", "10px");
|
|
93
|
-
this.dom = {
|
|
94
|
-
holder,
|
|
95
|
-
body: holder.append("div"),
|
|
96
|
-
tip: new Menu({ padding: "" }),
|
|
97
|
-
header: this.opts.header
|
|
98
|
-
};
|
|
99
|
-
if (this.dom.header) this.dom.header.html("Protein View");
|
|
100
|
-
}
|
|
101
|
-
getState(appState) {
|
|
102
|
-
const config = appState.plots.find((p) => p.id === this.id);
|
|
103
|
-
if (!config) throw `No plot with id='${this.id}' found`;
|
|
104
|
-
return { config };
|
|
105
|
-
}
|
|
106
|
-
maySetSandboxHeader() {
|
|
107
|
-
if (!this.dom.header) return;
|
|
108
|
-
const term = this.state.config?.tw?.term;
|
|
109
|
-
const header = `Protein View: ${term?.name}`;
|
|
110
|
-
this.dom.header.text(header);
|
|
111
|
-
}
|
|
112
|
-
async main() {
|
|
113
|
-
const term = this.state.config?.tw?.term;
|
|
114
|
-
if (!term?.name) throw new Error("proteinView: selected protein term is missing");
|
|
115
|
-
const body = {
|
|
116
|
-
genome: this.app.opts.state.vocab.genome,
|
|
117
|
-
dslabel: this.app.opts.state.vocab.dslabel,
|
|
118
|
-
term: this.state.config.tw,
|
|
119
|
-
filter: this.state.config.filter,
|
|
120
|
-
filter0: this.state.config.filter0
|
|
121
|
-
};
|
|
122
|
-
this.maySetSandboxHeader();
|
|
123
|
-
const data = await dofetch3("termdb/proteome", { body });
|
|
124
|
-
if (data.error) throw data.error;
|
|
125
|
-
this.dom.body.selectAll("*").remove();
|
|
126
|
-
renderCohortVolcano(this.dom.body, data, this);
|
|
127
|
-
const ptmDataByOrganism = /* @__PURE__ */ new Map();
|
|
128
|
-
for (const cohortData of data.cohorts || []) {
|
|
129
|
-
if (!cohortData.PTMType) continue;
|
|
130
|
-
const organism = cohortData.organism;
|
|
131
|
-
const isoform = cohortData.isoform;
|
|
132
|
-
const ptmDataByIsoform = ptmDataByOrganism.get(organism) || /* @__PURE__ */ new Map();
|
|
133
|
-
ptmDataByOrganism.set(organism, ptmDataByIsoform);
|
|
134
|
-
const existingCohorts = ptmDataByIsoform.get(isoform);
|
|
135
|
-
if (!existingCohorts) {
|
|
136
|
-
ptmDataByIsoform.set(isoform, [cohortData]);
|
|
137
|
-
} else {
|
|
138
|
-
existingCohorts.push(cohortData);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
const sections = [];
|
|
142
|
-
for (const [organism, byIso] of ptmDataByOrganism) {
|
|
143
|
-
for (const [isoform, cohorts] of byIso) {
|
|
144
|
-
sections.push({ organism, isoform, cohorts, genomeName: cohorts[0].genomeName });
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if (sections.length === 0) return;
|
|
148
|
-
let allGenomes = null;
|
|
149
|
-
const baseGenome = this.app.opts.genome;
|
|
150
|
-
const getGenome = async (genomeName) => {
|
|
151
|
-
if (genomeName === baseGenome.name) return baseGenome;
|
|
152
|
-
if (!allGenomes) {
|
|
153
|
-
const result = await dofetch3("genomes");
|
|
154
|
-
allGenomes = result.genomes || {};
|
|
155
|
-
for (const g2 of Object.values(allGenomes)) {
|
|
156
|
-
if (g2.chrlookup || g2.name == baseGenome.name) continue;
|
|
157
|
-
g2.chrlookup = {};
|
|
158
|
-
for (const chr in g2.majorchr) {
|
|
159
|
-
g2.chrlookup[chr.toUpperCase()] = { name: chr, len: g2.majorchr[chr], major: true };
|
|
160
|
-
}
|
|
161
|
-
for (const chr in g2.minorchr || {}) {
|
|
162
|
-
g2.chrlookup[chr.toUpperCase()] = { name: chr, len: g2.minorchr[chr] };
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
const g = allGenomes[genomeName];
|
|
167
|
-
if (!g) throw `genome ${genomeName} not supported`;
|
|
168
|
-
return g;
|
|
169
|
-
};
|
|
170
|
-
if (sections.length === 1) {
|
|
171
|
-
const s = sections[0];
|
|
172
|
-
const genome = await getGenome(s.genomeName);
|
|
173
|
-
await renderPTMLollipop(this.dom.body.append("div"), s.cohorts, this, s.isoform, genome);
|
|
174
|
-
return;
|
|
175
|
-
}
|
|
176
|
-
const keyOf = (s) => `${s.organism}${s.isoform}`;
|
|
177
|
-
const selectedKeys = /* @__PURE__ */ new Set([keyOf(sections[0])]);
|
|
178
|
-
let compareMode = false;
|
|
179
|
-
const layoutDiv = this.dom.body.append("div").style("display", "flex").style("gap", "16px").style("margin-top", "10px").style("align-items", "flex-start");
|
|
180
|
-
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");
|
|
181
|
-
const rightPane = layoutDiv.append("div").style("flex", "1 1 auto").style("min-width", "0");
|
|
182
|
-
const sidebarHeader = sidebar.append("div").style("display", "flex").style("flex-direction", "column").style("gap", "6px").style("margin-bottom", "8px");
|
|
183
|
-
sidebarHeader.append("span").style("font-weight", "600").style("font-size", "1.5em").style("text-transform", "uppercase").text("Isoforms");
|
|
184
|
-
const modeToggle = sidebarHeader.append("div").style("display", "inline-flex").style("align-items", "center").style("gap", "6px");
|
|
185
|
-
modeToggle.append("span").style("color", "#6b7280").text("Mode:");
|
|
186
|
-
make_radios({
|
|
187
|
-
holder: modeToggle.append("div").attr("aria-label", "Isoform view mode"),
|
|
188
|
-
options: [
|
|
189
|
-
{ label: "Single", value: "single", checked: true },
|
|
190
|
-
{ label: "Compare", value: "compare" }
|
|
191
|
-
],
|
|
192
|
-
styles: { display: "inline-block" },
|
|
193
|
-
callback: (value) => {
|
|
194
|
-
const asCompare = value === "compare";
|
|
195
|
-
if (asCompare === compareMode) return;
|
|
196
|
-
compareMode = asCompare;
|
|
197
|
-
if (!compareMode && selectedKeys.size > 1) {
|
|
198
|
-
const first = selectedKeys.values().next().value;
|
|
199
|
-
selectedKeys.clear();
|
|
200
|
-
selectedKeys.add(first);
|
|
201
|
-
}
|
|
202
|
-
renderSidebar();
|
|
203
|
-
void renderRight();
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
const sidebarList = sidebar.append("div");
|
|
207
|
-
const sectionsByOrganism = /* @__PURE__ */ new Map();
|
|
208
|
-
for (const s of sections) {
|
|
209
|
-
const arr = sectionsByOrganism.get(s.organism) || [];
|
|
210
|
-
arr.push(s);
|
|
211
|
-
sectionsByOrganism.set(s.organism, arr);
|
|
212
|
-
}
|
|
213
|
-
const showOrganismHeading = sectionsByOrganism.size > 1;
|
|
214
|
-
const renderSidebar = () => {
|
|
215
|
-
sidebarList.selectAll("*").remove();
|
|
216
|
-
for (const [organism, items] of sectionsByOrganism) {
|
|
217
|
-
if (showOrganismHeading) {
|
|
218
|
-
sidebarList.append("div").text(organism).style("font-weight", "600").style("color", "#374151").style("margin", "6px 0 4px 0");
|
|
219
|
-
}
|
|
220
|
-
for (const s of items) {
|
|
221
|
-
const key = keyOf(s);
|
|
222
|
-
const isSelected = selectedKeys.has(key);
|
|
223
|
-
const isSoleSelection = isSelected && selectedKeys.size === 1;
|
|
224
|
-
const toggleSelection = () => {
|
|
225
|
-
if (compareMode) {
|
|
226
|
-
if (selectedKeys.has(key)) {
|
|
227
|
-
if (selectedKeys.size > 1) selectedKeys.delete(key);
|
|
228
|
-
else return;
|
|
229
|
-
} else selectedKeys.add(key);
|
|
230
|
-
} else {
|
|
231
|
-
if (selectedKeys.has(key) && selectedKeys.size === 1) return;
|
|
232
|
-
selectedKeys.clear();
|
|
233
|
-
selectedKeys.add(key);
|
|
234
|
-
}
|
|
235
|
-
renderSidebar();
|
|
236
|
-
void renderRight();
|
|
237
|
-
};
|
|
238
|
-
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) => {
|
|
239
|
-
if (event.key === "Enter" || event.key === " ") {
|
|
240
|
-
event.preventDefault();
|
|
241
|
-
toggleSelection();
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
if (compareMode) {
|
|
245
|
-
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) => {
|
|
246
|
-
event.stopPropagation();
|
|
247
|
-
toggleSelection();
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
row.append("span").text(s.isoform);
|
|
251
|
-
row.append("span").style("color", "#6b7280").style("margin-left", "auto").text(String(s.cohorts.length));
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
const renderRight = async () => {
|
|
256
|
-
rightPane.selectAll("*").remove();
|
|
257
|
-
const selected = sections.filter((s) => selectedKeys.has(keyOf(s)));
|
|
258
|
-
if (!selected.length) return;
|
|
259
|
-
const cols = rightPane.append("div").style("display", "flex").style("flex-direction", "column").style("gap", "16px");
|
|
260
|
-
for (const s of selected) {
|
|
261
|
-
const col = cols.append("div").style("min-width", "0");
|
|
262
|
-
try {
|
|
263
|
-
const genome = await getGenome(s.genomeName);
|
|
264
|
-
await renderPTMLollipop(col, s.cohorts, this, s.isoform, genome);
|
|
265
|
-
} catch (err) {
|
|
266
|
-
col.append("div").style("color", "#b91c1c").style("padding", "6px").text(`Failed to render ${s.organism} \xB7 ${s.isoform}: ${err?.message || err}`);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
};
|
|
270
|
-
renderSidebar();
|
|
271
|
-
await renderRight();
|
|
272
|
-
}
|
|
273
|
-
};
|
|
274
|
-
function renderCohortVolcano(holder, data, self) {
|
|
275
|
-
const dots = [];
|
|
276
|
-
for (const cohortData of data?.cohorts || []) {
|
|
277
|
-
const log2fc = getLog2Ratio(cohortData.foldChange);
|
|
278
|
-
const pValue = Number(cohortData.pValue);
|
|
279
|
-
const testedN = Number(cohortData.testedN);
|
|
280
|
-
const controlN = Number(cohortData.controlN);
|
|
281
|
-
if (log2fc === null || !Number.isFinite(pValue) || pValue <= 0) continue;
|
|
282
|
-
dots.push({
|
|
283
|
-
organismName: cohortData.organism,
|
|
284
|
-
disease: cohortData.disease,
|
|
285
|
-
assayName: cohortData.assayName,
|
|
286
|
-
cohortName: cohortData.cohortName,
|
|
287
|
-
PTMType: cohortData.PTMType,
|
|
288
|
-
modSites: cohortData.modSites,
|
|
289
|
-
proteinAccession: cohortData.proteinAccession,
|
|
290
|
-
uniqueIdentifier: cohortData.uniqueIdentifier,
|
|
291
|
-
log2fc,
|
|
292
|
-
pValue,
|
|
293
|
-
score: -Math.log10(Math.max(pValue, 1e-300)),
|
|
294
|
-
testedN: Number.isFinite(testedN) ? testedN : 0,
|
|
295
|
-
controlN: Number.isFinite(controlN) ? controlN : 0
|
|
296
|
-
});
|
|
297
|
-
}
|
|
298
|
-
const panel = holder.append("div").style("margin-bottom", "14px");
|
|
299
|
-
const header = panel.append("div").style("display", "flex").style("align-items", "center").style("gap", "6px").style("margin-bottom", "6px");
|
|
300
|
-
const downloadBtn = header.append("div").style("display", "inline-block");
|
|
301
|
-
header.append("div").style("font-weight", 600).text("Sample Set Volcano");
|
|
302
|
-
if (!dots.length) {
|
|
303
|
-
downloadBtn.style("display", "none");
|
|
304
|
-
panel.append("div").style("font-size", ".85em").style("color", "#666").text("No cohorts with valid fold-change and p-value to plot.");
|
|
305
|
-
return;
|
|
306
|
-
}
|
|
307
|
-
const width = 640;
|
|
308
|
-
const height = 660;
|
|
309
|
-
const margin = { top: 40, right: 70, bottom: 120, left: 70 };
|
|
310
|
-
const innerW = width - margin.left - margin.right;
|
|
311
|
-
const innerH = height - margin.top - margin.bottom;
|
|
312
|
-
let minX = Number.POSITIVE_INFINITY;
|
|
313
|
-
let maxX = Number.NEGATIVE_INFINITY;
|
|
314
|
-
let maxY = 0;
|
|
315
|
-
let maxTestedN = 0;
|
|
316
|
-
let minTestedN = Number.POSITIVE_INFINITY;
|
|
317
|
-
for (const p of dots) {
|
|
318
|
-
minX = Math.min(minX, p.log2fc);
|
|
319
|
-
maxX = Math.max(maxX, p.log2fc);
|
|
320
|
-
maxY = Math.max(maxY, p.score);
|
|
321
|
-
maxTestedN = Math.max(maxTestedN, p.testedN);
|
|
322
|
-
if (p.testedN > 0) minTestedN = Math.min(minTestedN, p.testedN);
|
|
323
|
-
}
|
|
324
|
-
if (maxY < 1) maxY = 1;
|
|
325
|
-
if (!Number.isFinite(minTestedN)) minTestedN = 1;
|
|
326
|
-
const xSpan = Math.max(0.05, maxX - minX);
|
|
327
|
-
const xPad = Math.max(0.01, xSpan * 0.1);
|
|
328
|
-
const xMin = Math.min(0, minX - xPad);
|
|
329
|
-
const xMax = Math.max(0, maxX + xPad);
|
|
330
|
-
const yMax = maxY * 1.15;
|
|
331
|
-
const xScale = linear().domain([xMin, xMax]).range([0, innerW]);
|
|
332
|
-
const yScale = linear().domain([0, yMax]).range([innerH, 0]);
|
|
333
|
-
const radiusRange = [4, 12];
|
|
334
|
-
const radiusScale = linear().domain([minTestedN, Math.max(minTestedN + 1, maxTestedN)]).range(radiusRange);
|
|
335
|
-
let scaleDotSize = true;
|
|
336
|
-
const getDotRadius = (d) => scaleDotSize ? radiusScale(Math.max(minTestedN, d.testedN || minTestedN)) : (radiusRange[0] + radiusRange[1]) / 2;
|
|
337
|
-
const organismNames = [...new Set(dots.map((d) => d.organismName).filter(Boolean))].sort();
|
|
338
|
-
const assayNames = [...new Set(dots.map((d) => d.assayName))].sort();
|
|
339
|
-
const cohortNames = [...new Set(dots.map((d) => d.cohortName))].sort();
|
|
340
|
-
const proteinAccessions = [...new Set(dots.map((d) => d.proteinAccession))].sort();
|
|
341
|
-
const organismColorScale = getColors(organismNames.length).domain(organismNames);
|
|
342
|
-
const assayColorScale = getColors(assayNames.length).domain(assayNames);
|
|
343
|
-
const cohortColorScale = getColors(cohortNames.length).domain(cohortNames);
|
|
344
|
-
const proteinColorScale = getColors(proteinAccessions.length).domain(proteinAccessions);
|
|
345
|
-
const organismColors = new Map(
|
|
346
|
-
organismNames.map((name) => [name, rgb(organismColorScale(name)).formatHex()])
|
|
347
|
-
);
|
|
348
|
-
const assayColors = new Map(assayNames.map((name) => [name, rgb(assayColorScale(name)).formatHex()]));
|
|
349
|
-
const cohortColors = new Map(cohortNames.map((name) => [name, rgb(cohortColorScale(name)).formatHex()]));
|
|
350
|
-
const proteinColors = new Map(
|
|
351
|
-
proteinAccessions.map((acc) => [acc, rgb(proteinColorScale(acc)).formatHex()])
|
|
352
|
-
);
|
|
353
|
-
const prioritizedShapesArray = (() => {
|
|
354
|
-
const entries = Object.entries(shapes);
|
|
355
|
-
const sorted = [
|
|
356
|
-
...entries.filter(([, s]) => s.isFilled === true),
|
|
357
|
-
...entries.filter(([, s]) => s.isFilled === false),
|
|
358
|
-
...entries.filter(([, s]) => !("isFilled" in s))
|
|
359
|
-
];
|
|
360
|
-
return sorted.map(([, s]) => s.path);
|
|
361
|
-
})();
|
|
362
|
-
const makeShapeMap = (items) => new Map(items.map((item, i) => [item, i % prioritizedShapesArray.length]));
|
|
363
|
-
const organismShapes = makeShapeMap(organismNames);
|
|
364
|
-
const assayShapes = makeShapeMap(assayNames);
|
|
365
|
-
const cohortShapes = makeShapeMap(cohortNames);
|
|
366
|
-
const proteinShapes = makeShapeMap(proteinAccessions);
|
|
367
|
-
let colorMode = "assayType";
|
|
368
|
-
let shapeMode = "organism";
|
|
369
|
-
const customGroupPrefix = "__custom_group__:";
|
|
370
|
-
const makeCustomGroupKey = (name) => `${customGroupPrefix}${name}`;
|
|
371
|
-
const isCustomGroupKey = (value) => value.startsWith(customGroupPrefix);
|
|
372
|
-
const getCustomGroupNameFromKey = (value) => value.slice(customGroupPrefix.length);
|
|
373
|
-
const customShapeGroupPrefix = "__custom_shape_group__:";
|
|
374
|
-
const makeCustomShapeGroupKey = (name) => `${customShapeGroupPrefix}${name}`;
|
|
375
|
-
const isCustomShapeGroupKey = (value) => value.startsWith(customShapeGroupPrefix);
|
|
376
|
-
const getCustomShapeGroupNameFromKey = (value) => value.slice(customShapeGroupPrefix.length);
|
|
377
|
-
const customColorDomain = Array.from({ length: 64 }, (_, i) => `custom-${i}`);
|
|
378
|
-
const customColorScale = getColors(customColorDomain.length).domain(customColorDomain);
|
|
379
|
-
const colorModesWithGroups = ["organism", "assayType", "cohort", "proteinAccession"];
|
|
380
|
-
const shapeModesWithGroups = ["organism", "assayType", "cohort", "proteinAccession"];
|
|
381
|
-
const createModeMap = (factory) => ({
|
|
382
|
-
organism: factory(),
|
|
383
|
-
assayType: factory(),
|
|
384
|
-
cohort: factory(),
|
|
385
|
-
proteinAccession: factory()
|
|
386
|
-
});
|
|
387
|
-
const customGroupsByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
388
|
-
const customGroupColorsByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
389
|
-
const customShapeGroupsByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
390
|
-
const customShapeIndicesByMode = createModeMap(() => /* @__PURE__ */ new Map());
|
|
391
|
-
const checkedItemsByMode = createModeMap(() => /* @__PURE__ */ new Set());
|
|
392
|
-
const checkedShapeItemsByMode = createModeMap(() => /* @__PURE__ */ new Set());
|
|
393
|
-
const groupingModeActive = /* @__PURE__ */ new Set();
|
|
394
|
-
const shapeGroupingModeActive = /* @__PURE__ */ new Set();
|
|
395
|
-
let customColorSeed = 0;
|
|
396
|
-
const getBaseColorValue = (d, mode) => {
|
|
397
|
-
switch (mode) {
|
|
398
|
-
case "organism":
|
|
399
|
-
return d.organismName;
|
|
400
|
-
case "assayType":
|
|
401
|
-
return d.assayName;
|
|
402
|
-
case "cohort":
|
|
403
|
-
return d.cohortName;
|
|
404
|
-
case "proteinAccession":
|
|
405
|
-
return d.proteinAccession;
|
|
406
|
-
default:
|
|
407
|
-
return "";
|
|
408
|
-
}
|
|
409
|
-
};
|
|
410
|
-
const getCustomGroupOfValue = (mode, value) => {
|
|
411
|
-
for (const [group, members] of customGroupsByMode[mode]) {
|
|
412
|
-
if (members.has(value)) return group;
|
|
413
|
-
}
|
|
414
|
-
return null;
|
|
415
|
-
};
|
|
416
|
-
const getCustomGroupOfDot = (d, mode) => {
|
|
417
|
-
return getCustomGroupOfValue(mode, getBaseColorValue(d, mode));
|
|
418
|
-
};
|
|
419
|
-
const getCustomShapeGroupOfValue = (mode, value) => {
|
|
420
|
-
for (const [group, members] of customShapeGroupsByMode[mode]) {
|
|
421
|
-
if (members.has(value)) return group;
|
|
422
|
-
}
|
|
423
|
-
return null;
|
|
424
|
-
};
|
|
425
|
-
const getCustomShapeGroupOfDot = (d, mode) => {
|
|
426
|
-
return getCustomShapeGroupOfValue(mode, getBaseColorValue(d, mode));
|
|
427
|
-
};
|
|
428
|
-
const getNextCustomColor = () => {
|
|
429
|
-
const color = rgb(customColorScale(customColorDomain[customColorSeed % customColorDomain.length])).formatHex();
|
|
430
|
-
customColorSeed++;
|
|
431
|
-
return color;
|
|
432
|
-
};
|
|
433
|
-
const addOrUpdateCustomGroup = (mode, name, baseValues) => {
|
|
434
|
-
if (!name || !baseValues.length) return;
|
|
435
|
-
for (const members of customGroupsByMode[mode].values()) {
|
|
436
|
-
for (const val of baseValues) members.delete(val);
|
|
437
|
-
}
|
|
438
|
-
const existing = customGroupsByMode[mode].get(name) || /* @__PURE__ */ new Set();
|
|
439
|
-
for (const val of baseValues) existing.add(val);
|
|
440
|
-
customGroupsByMode[mode].set(name, existing);
|
|
441
|
-
if (!customGroupColorsByMode[mode].has(name)) customGroupColorsByMode[mode].set(name, getNextCustomColor());
|
|
442
|
-
};
|
|
443
|
-
const removeCustomGroup = (mode, name) => {
|
|
444
|
-
customGroupsByMode[mode].delete(name);
|
|
445
|
-
customGroupColorsByMode[mode].delete(name);
|
|
446
|
-
hiddenColor[mode].delete(makeCustomGroupKey(name));
|
|
447
|
-
};
|
|
448
|
-
const addOrUpdateCustomShapeGroup = (mode, name, baseValues) => {
|
|
449
|
-
if (!name || !baseValues.length) return;
|
|
450
|
-
for (const members of customShapeGroupsByMode[mode].values()) {
|
|
451
|
-
for (const val of baseValues) members.delete(val);
|
|
452
|
-
}
|
|
453
|
-
const existing = customShapeGroupsByMode[mode].get(name) || /* @__PURE__ */ new Set();
|
|
454
|
-
for (const val of baseValues) existing.add(val);
|
|
455
|
-
customShapeGroupsByMode[mode].set(name, existing);
|
|
456
|
-
if (!customShapeIndicesByMode[mode].has(name)) {
|
|
457
|
-
const idx = customShapeIndicesByMode[mode].size % prioritizedShapesArray.length;
|
|
458
|
-
customShapeIndicesByMode[mode].set(name, idx);
|
|
459
|
-
}
|
|
460
|
-
};
|
|
461
|
-
const removeCustomShapeGroup = (mode, name) => {
|
|
462
|
-
customShapeGroupsByMode[mode].delete(name);
|
|
463
|
-
customShapeIndicesByMode[mode].delete(name);
|
|
464
|
-
hiddenShape[mode].delete(makeCustomShapeGroupKey(name));
|
|
465
|
-
};
|
|
466
|
-
const getCustomGroupItems = (mode) => {
|
|
467
|
-
return [...customGroupsByMode[mode].keys()].sort().map((name) => makeCustomGroupKey(name));
|
|
468
|
-
};
|
|
469
|
-
const getCustomShapeGroupItems = (mode) => {
|
|
470
|
-
return [...customShapeGroupsByMode[mode].keys()].sort().map((name) => makeCustomShapeGroupKey(name));
|
|
471
|
-
};
|
|
472
|
-
const getLegendItemSampleCount = (mode, item, dotsToCount = dots) => {
|
|
473
|
-
if (isCustomGroupKey(item)) {
|
|
474
|
-
const groupName = getCustomGroupNameFromKey(item);
|
|
475
|
-
return dotsToCount.filter(
|
|
476
|
-
(d) => getCustomGroupOfValue(mode, getBaseColorValue(d, mode)) === groupName
|
|
477
|
-
).length;
|
|
478
|
-
}
|
|
479
|
-
if (isCustomShapeGroupKey(item)) {
|
|
480
|
-
const groupName = getCustomShapeGroupNameFromKey(item);
|
|
481
|
-
return dotsToCount.filter(
|
|
482
|
-
(d) => getCustomShapeGroupOfValue(mode, getBaseColorValue(d, mode)) === groupName
|
|
483
|
-
).length;
|
|
484
|
-
}
|
|
485
|
-
return dotsToCount.filter((d) => getBaseColorValue(d, mode) === item).length;
|
|
486
|
-
};
|
|
487
|
-
const getColor = (d) => {
|
|
488
|
-
const customGroup = getCustomGroupOfDot(d, colorMode);
|
|
489
|
-
switch (colorMode) {
|
|
490
|
-
case "organism":
|
|
491
|
-
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
492
|
-
return organismColors.get(d.organismName) ?? "#888";
|
|
493
|
-
case "assayType":
|
|
494
|
-
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
495
|
-
return assayColors.get(d.assayName) ?? "#888";
|
|
496
|
-
case "cohort":
|
|
497
|
-
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
498
|
-
return cohortColors.get(d.cohortName) ?? "#888";
|
|
499
|
-
case "proteinAccession":
|
|
500
|
-
if (customGroup) return customGroupColorsByMode[colorMode].get(customGroup) ?? "#888";
|
|
501
|
-
return proteinColors.get(d.proteinAccession) ?? "#888";
|
|
502
|
-
default:
|
|
503
|
-
return "#888";
|
|
504
|
-
}
|
|
505
|
-
};
|
|
506
|
-
const getShapeIndex = (d) => {
|
|
507
|
-
const customShapeGroup = getCustomShapeGroupOfDot(d, shapeMode);
|
|
508
|
-
if (customShapeGroup) {
|
|
509
|
-
return customShapeIndicesByMode[shapeMode].get(customShapeGroup) ?? 0;
|
|
510
|
-
}
|
|
511
|
-
switch (shapeMode) {
|
|
512
|
-
case "organism":
|
|
513
|
-
return organismShapes.get(d.organismName) ?? 0;
|
|
514
|
-
case "assayType":
|
|
515
|
-
return assayShapes.get(d.assayName) ?? 0;
|
|
516
|
-
case "cohort":
|
|
517
|
-
return cohortShapes.get(d.cohortName) ?? 0;
|
|
518
|
-
case "proteinAccession":
|
|
519
|
-
return proteinShapes.get(d.proteinAccession) ?? 0;
|
|
520
|
-
default:
|
|
521
|
-
return 0;
|
|
522
|
-
}
|
|
523
|
-
};
|
|
524
|
-
const getShapePath = (d) => {
|
|
525
|
-
const index = getShapeIndex(d) % prioritizedShapesArray.length;
|
|
526
|
-
return prioritizedShapesArray[index];
|
|
527
|
-
};
|
|
528
|
-
const getShapeTransform = (d, sizeScale = 1) => {
|
|
529
|
-
const r = getDotRadius(d) * sizeScale;
|
|
530
|
-
const scale = r / 8;
|
|
531
|
-
const x = xScale(d.log2fc) - 8 * scale;
|
|
532
|
-
const y = yScale(d.score) - 8 * scale;
|
|
533
|
-
return `translate(${x},${y}) scale(${scale})`;
|
|
534
|
-
};
|
|
535
|
-
const colorGroupingModes = [
|
|
536
|
-
{ key: "organism", label: "Organism" },
|
|
537
|
-
{ key: "assayType", label: "Assay" },
|
|
538
|
-
{ key: "cohort", label: "Sample Set" },
|
|
539
|
-
{ key: "proteinAccession", label: "Isoform" }
|
|
540
|
-
];
|
|
541
|
-
const shapeGroupingModes = [
|
|
542
|
-
{ key: "organism", label: "Organism" },
|
|
543
|
-
{ key: "assayType", label: "Assay" },
|
|
544
|
-
{ key: "cohort", label: "Sample Set" },
|
|
545
|
-
{ key: "proteinAccession", label: "Isoform" }
|
|
546
|
-
];
|
|
547
|
-
const makeHiddenState = () => ({
|
|
548
|
-
organism: /* @__PURE__ */ new Set(),
|
|
549
|
-
assayType: /* @__PURE__ */ new Set(),
|
|
550
|
-
cohort: /* @__PURE__ */ new Set(),
|
|
551
|
-
proteinAccession: /* @__PURE__ */ new Set()
|
|
552
|
-
});
|
|
553
|
-
const hiddenColor = makeHiddenState();
|
|
554
|
-
const hiddenShape = makeHiddenState();
|
|
555
|
-
const getColorValueByMode = (d, mode) => {
|
|
556
|
-
switch (mode) {
|
|
557
|
-
case "organism":
|
|
558
|
-
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.organismName;
|
|
559
|
-
case "assayType":
|
|
560
|
-
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.assayName;
|
|
561
|
-
case "cohort":
|
|
562
|
-
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.cohortName;
|
|
563
|
-
case "proteinAccession":
|
|
564
|
-
return getCustomGroupOfDot(d, mode) ? makeCustomGroupKey(getCustomGroupOfDot(d, mode)) : d.proteinAccession;
|
|
565
|
-
default:
|
|
566
|
-
return "";
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
const getShapeValueByMode = (d, mode) => {
|
|
570
|
-
switch (mode) {
|
|
571
|
-
case "organism":
|
|
572
|
-
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.organismName;
|
|
573
|
-
case "assayType":
|
|
574
|
-
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.assayName;
|
|
575
|
-
case "cohort":
|
|
576
|
-
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.cohortName;
|
|
577
|
-
case "proteinAccession":
|
|
578
|
-
return getCustomShapeGroupOfDot(d, mode) ? makeCustomShapeGroupKey(getCustomShapeGroupOfDot(d, mode)) : d.proteinAccession;
|
|
579
|
-
default:
|
|
580
|
-
return "";
|
|
581
|
-
}
|
|
582
|
-
};
|
|
583
|
-
const isDotHidden = (d) => {
|
|
584
|
-
const colorValue = getColorValueByMode(d, colorMode);
|
|
585
|
-
const shapeValue = getShapeValueByMode(d, shapeMode);
|
|
586
|
-
return hiddenColor[colorMode].has(colorValue) || hiddenShape[shapeMode].has(shapeValue);
|
|
587
|
-
};
|
|
588
|
-
const getDotDistancePx = (d1, d2) => {
|
|
589
|
-
const x = xScale(d1.log2fc) - xScale(d2.log2fc);
|
|
590
|
-
const y = yScale(d1.score) - yScale(d2.score);
|
|
591
|
-
return Math.sqrt(x * x + y * y);
|
|
592
|
-
};
|
|
593
|
-
const getVisibleDots = () => dots.filter((d) => !isDotHidden(d));
|
|
594
|
-
const getVisibleTestedNStats = () => {
|
|
595
|
-
const visibleDots = getVisibleDots();
|
|
596
|
-
if (!visibleDots.length) {
|
|
597
|
-
return { domainMin: 1, domainMax: 2, minLabel: 0, maxLabel: 0 };
|
|
598
|
-
}
|
|
599
|
-
let visibleMax = 0;
|
|
600
|
-
let visibleMin = Number.POSITIVE_INFINITY;
|
|
601
|
-
for (const d of visibleDots) {
|
|
602
|
-
visibleMax = Math.max(visibleMax, d.testedN);
|
|
603
|
-
if (d.testedN > 0) visibleMin = Math.min(visibleMin, d.testedN);
|
|
604
|
-
}
|
|
605
|
-
if (!Number.isFinite(visibleMin)) visibleMin = 1;
|
|
606
|
-
const domainMax = Math.max(visibleMin + 1, visibleMax);
|
|
607
|
-
return { domainMin: visibleMin, domainMax, minLabel: visibleMin, maxLabel: visibleMax || visibleMin };
|
|
608
|
-
};
|
|
609
|
-
const updateRadiusScaleForVisibleDots = () => {
|
|
610
|
-
const stats = getVisibleTestedNStats();
|
|
611
|
-
radiusScale.domain([stats.domainMin, stats.domainMax]).range(radiusRange);
|
|
612
|
-
return stats;
|
|
613
|
-
};
|
|
614
|
-
const getClusterDots = (seed) => {
|
|
615
|
-
const thresholdPx = 5;
|
|
616
|
-
return dots.filter((d) => !isDotHidden(d) && getDotDistancePx(d, seed) < thresholdPx).sort((a, b) => getDotDistancePx(a, seed) - getDotDistancePx(b, seed));
|
|
617
|
-
};
|
|
618
|
-
const buildClusterTableData = (clusterDots) => {
|
|
619
|
-
const hasPtm = clusterDots.some((d) => d.PTMType);
|
|
620
|
-
const hasNonPtm = clusterDots.some((d) => !d.PTMType);
|
|
621
|
-
const hasModSites = clusterDots.some((d) => d.modSites);
|
|
622
|
-
const columns = [{ label: "Organism" }, { label: "Assay" }, { label: "Sample Set" }];
|
|
623
|
-
if (hasPtm) columns.push({ label: "PTM Type" });
|
|
624
|
-
if (hasModSites) columns.push({ label: "Modified Site" });
|
|
625
|
-
if (hasPtm) columns.push({ label: "PTM" });
|
|
626
|
-
if (hasNonPtm) columns.push({ label: "Isoform" });
|
|
627
|
-
columns.push({ label: "log\u2082(FC)", sortable: true }, { label: "p-value", sortable: true });
|
|
628
|
-
const rows = clusterDots.map((d) => {
|
|
629
|
-
const isPtm = !!d.PTMType;
|
|
630
|
-
const row = [{ value: d.organismName || "" }, { value: d.assayName || "" }, { value: d.cohortName || "" }];
|
|
631
|
-
if (hasPtm) row.push({ value: isPtm ? d.PTMType || "" : "" });
|
|
632
|
-
if (hasModSites) row.push({ value: d.modSites || "" });
|
|
633
|
-
if (hasPtm) row.push({ value: isPtm ? d.uniqueIdentifier || "" : "" });
|
|
634
|
-
if (hasNonPtm) row.push({ value: !isPtm ? d.uniqueIdentifier || "" : "" });
|
|
635
|
-
row.push({ value: roundValue(d.log2fc, 3) }, { value: d.pValue.toExponential(2) });
|
|
636
|
-
return row;
|
|
637
|
-
});
|
|
638
|
-
return { columns, rows };
|
|
639
|
-
};
|
|
640
|
-
const updateDots = () => {
|
|
641
|
-
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");
|
|
642
|
-
};
|
|
643
|
-
const getShapeMapInUse = () => {
|
|
644
|
-
switch (shapeMode) {
|
|
645
|
-
case "organism":
|
|
646
|
-
return organismShapes;
|
|
647
|
-
case "assayType":
|
|
648
|
-
return assayShapes;
|
|
649
|
-
case "cohort":
|
|
650
|
-
return cohortShapes;
|
|
651
|
-
case "proteinAccession":
|
|
652
|
-
return proteinShapes;
|
|
653
|
-
default:
|
|
654
|
-
return assayShapes;
|
|
655
|
-
}
|
|
656
|
-
};
|
|
657
|
-
const plotAndLegend = panel.append("div").style("display", "flex").style("align-items", "flex-start").style("gap", "14px").style("flex-wrap", "wrap");
|
|
658
|
-
const svg = plotAndLegend.append("svg").attr("width", width).attr("height", height).style("display", "block").style("max-width", "100%").style("height", "auto");
|
|
659
|
-
const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
660
|
-
const xAxis = g.append("g").attr("transform", `translate(0,${innerH})`).call(axisBottom(xScale));
|
|
661
|
-
axisstyle({ axis: xAxis, color: "black", showline: true });
|
|
662
|
-
const yAxis = g.append("g").call(axisLeft(yScale));
|
|
663
|
-
axisstyle({ axis: yAxis, color: "black", showline: true });
|
|
664
|
-
const x0 = xScale(0);
|
|
665
|
-
const pThreshold = -Math.log10(0.05);
|
|
666
|
-
const thresholdY = yScale(Math.min(yMax, pThreshold));
|
|
667
|
-
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);
|
|
668
|
-
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);
|
|
669
|
-
g.append("text").attr("x", innerW / 2).attr("y", innerH + 44).attr("text-anchor", "middle").style("font-weight", 600).text("log2 fold change (disease / control)");
|
|
670
|
-
g.append("text").attr("transform", `translate(${-50},${innerH / 2}) rotate(-90)`).attr("text-anchor", "middle").style("font-weight", 600).text("-log10(p-value)");
|
|
671
|
-
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");
|
|
672
|
-
cohortDots.transition().duration(350).attr("d", (d) => getShapePath(d)).attr("transform", (d) => getShapeTransform(d, 1));
|
|
673
|
-
const hoverLayer = g.append("g").attr("class", "cohort-volcano-hover").style("pointer-events", "none");
|
|
674
|
-
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");
|
|
675
|
-
updateDots();
|
|
676
|
-
const renderDotInfoTable = (d, container) => {
|
|
677
|
-
const tbl = table2col({ holder: container.append("table") });
|
|
678
|
-
tbl.addRow("Organism", d.organismName);
|
|
679
|
-
tbl.addRow("Disease", d.disease);
|
|
680
|
-
tbl.addRow("Assay", d.assayName);
|
|
681
|
-
tbl.addRow("Sample Set", d.cohortName);
|
|
682
|
-
tbl.addRow("Protein Accession", d.proteinAccession);
|
|
683
|
-
if (d.PTMType) {
|
|
684
|
-
tbl.addRow("PTM Type", d.PTMType);
|
|
685
|
-
tbl.addRow("Modified Site", d.modSites);
|
|
686
|
-
tbl.addRow("PTM", d.uniqueIdentifier);
|
|
687
|
-
} else {
|
|
688
|
-
tbl.addRow("Isoform", d.uniqueIdentifier);
|
|
689
|
-
}
|
|
690
|
-
tbl.addRow("log2 fold change", roundValue(d.log2fc, 3));
|
|
691
|
-
tbl.addRow("p value", d.pValue.toExponential(2));
|
|
692
|
-
tbl.addRow("-log10(p)", roundValue(d.score, 3));
|
|
693
|
-
tbl.addRow("Case samples", d.testedN);
|
|
694
|
-
tbl.addRow("Control samples", d.controlN);
|
|
695
|
-
};
|
|
696
|
-
const interactions = new DataPointInteractions({
|
|
697
|
-
cover,
|
|
698
|
-
hoverLayer,
|
|
699
|
-
hoverTip: self.dom.tip,
|
|
700
|
-
points: dots,
|
|
701
|
-
getX: (d) => xScale(d.log2fc),
|
|
702
|
-
getY: (d) => yScale(d.score),
|
|
703
|
-
// Function form because the size-legend menu mutates radiusRange at runtime;
|
|
704
|
-
// caching this once would leave the broad-query stale after dots are enlarged.
|
|
705
|
-
hitRadius: () => radiusRange[1] + COHORT_VOLCANO_HIT_RADIUS_PADDING_PX,
|
|
706
|
-
perDotRadius: (d) => getDotRadius(d),
|
|
707
|
-
perDotBuffer: COHORT_VOLCANO_HIT_BUFFER_PX,
|
|
708
|
-
isHidden: isDotHidden,
|
|
709
|
-
getCluster: (seed) => getClusterDots(seed),
|
|
710
|
-
toHoverSpec: (d) => ({
|
|
711
|
-
path: getShapePath(d),
|
|
712
|
-
transform: getShapeTransform(d, COHORT_VOLCANO_HOVER_RING_SIZE_SCALE),
|
|
713
|
-
stroke: "black",
|
|
714
|
-
strokeWidth: COHORT_VOLCANO_HOVER_RING_STROKE_PX
|
|
715
|
-
}),
|
|
716
|
-
maxTooltipRows: COHORT_VOLCANO_HOVER_MAX_COHORTS,
|
|
717
|
-
itemNoun: "cohort",
|
|
718
|
-
renderSingleHoverTooltip: renderDotInfoTable,
|
|
719
|
-
buildMultiHitTableData: buildClusterTableData,
|
|
720
|
-
getActions: (d) => [
|
|
721
|
-
{
|
|
722
|
-
label: "Violin plot",
|
|
723
|
-
onClick: () => {
|
|
724
|
-
launchViolinPlot(self, d.organismName, d.assayName, d.cohortName, d.uniqueIdentifier);
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
],
|
|
728
|
-
renderSingleHitInfo: renderDotInfoTable,
|
|
729
|
-
getRowKey: (d) => d.uniqueIdentifier
|
|
730
|
-
});
|
|
731
|
-
interactions.attach();
|
|
732
|
-
const legend = plotAndLegend.append("div").style("margin", "0").style("min-width", "220px").style("font-size", ".75em").style("color", "#374151");
|
|
733
|
-
function renderSizeLegend() {
|
|
734
|
-
legendSvg.selectAll("*").remove();
|
|
735
|
-
const stats = updateRadiusScaleForVisibleDots();
|
|
736
|
-
new LegendCircleReference({
|
|
737
|
-
g: legendSvg.append("g").attr("transform", "translate(12, 8)"),
|
|
738
|
-
inputMax: radiusRange[1],
|
|
739
|
-
inputMin: radiusRange[0],
|
|
740
|
-
maxLabel: stats.maxLabel,
|
|
741
|
-
maxRadius: radiusScale(stats.domainMax),
|
|
742
|
-
minLabel: stats.minLabel,
|
|
743
|
-
minRadius: radiusScale(stats.domainMin),
|
|
744
|
-
title: "",
|
|
745
|
-
menu: {
|
|
746
|
-
minMaxLabel: "pixels",
|
|
747
|
-
callback: async (obj) => {
|
|
748
|
-
radiusRange[0] = obj.min;
|
|
749
|
-
radiusRange[1] = obj.max;
|
|
750
|
-
radiusScale.range([obj.min, obj.max]);
|
|
751
|
-
updateDots();
|
|
752
|
-
renderSizeLegend();
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
});
|
|
756
|
-
}
|
|
757
|
-
const refreshAfterVisibilityChange = () => {
|
|
758
|
-
updateRadiusScaleForVisibleDots();
|
|
759
|
-
updateDots();
|
|
760
|
-
renderColorLegend();
|
|
761
|
-
renderSizeLegend();
|
|
762
|
-
};
|
|
763
|
-
const termName = self.state.config?.tw?.term?.name || "";
|
|
764
|
-
const svgName = `${termName}.cohort-volcano`;
|
|
765
|
-
const downloadVolcanoSvg = () => {
|
|
766
|
-
const plotNode = svg.node();
|
|
767
|
-
const legendNode = legend.node();
|
|
768
|
-
if (!plotNode) return;
|
|
769
|
-
const plotWidth = width;
|
|
770
|
-
const plotHeight = height;
|
|
771
|
-
const legendRect = legendNode?.getBoundingClientRect();
|
|
772
|
-
const legendWidth = Math.max(220, Math.ceil(legendRect?.width || 220));
|
|
773
|
-
const legendHeight = Math.max(plotHeight, Math.ceil(legendRect?.height || 0));
|
|
774
|
-
const gap = 14;
|
|
775
|
-
const combinedSvg = select_default(creator_default("svg").call(document.documentElement)).attr("width", plotWidth + gap + legendWidth).attr("height", legendHeight);
|
|
776
|
-
combinedSvg.append(() => plotNode.cloneNode(true));
|
|
777
|
-
combinedSvg.append("foreignObject").attr("x", plotWidth + gap).attr("y", 0).attr("width", legendWidth).attr("height", legendHeight).append(() => {
|
|
778
|
-
const clone = legendNode.cloneNode(true);
|
|
779
|
-
clone.style.margin = "0px";
|
|
780
|
-
clone.style.minWidth = "0px";
|
|
781
|
-
return clone;
|
|
782
|
-
});
|
|
783
|
-
to_svg(combinedSvg.node(), svgName, { apply_dom_styles: true });
|
|
784
|
-
};
|
|
785
|
-
icons.download(downloadBtn, { handler: downloadVolcanoSvg, title: "Download" });
|
|
786
|
-
const colorLegendDiv = legend.append("div").style("margin-bottom", "12px");
|
|
787
|
-
const shapeLegendDiv = legend.append("div").style("margin-bottom", "12px");
|
|
788
|
-
const sizeLegendRow = legend.append("div").style("display", "flex").style("flex-direction", "column").style("gap", "6px").style("margin-top", "8px");
|
|
789
|
-
sizeLegendRow.append("div").style("border-top", "1px solid #e5e7eb").style("margin", "8px 0 8px 0");
|
|
790
|
-
const sizeModeRow = sizeLegendRow.append("div").style("display", "flex").style("align-items", "center").style("gap", "4px").style("flex-wrap", "wrap");
|
|
791
|
-
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() {
|
|
792
|
-
scaleDotSize = this.checked;
|
|
793
|
-
sizeModeText.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
794
|
-
legendSvg.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
795
|
-
updateDots();
|
|
796
|
-
renderSizeLegend();
|
|
797
|
-
});
|
|
798
|
-
void sizeToggleCheckbox;
|
|
799
|
-
const sizeModeText = sizeModeRow.append("span").style("display", "inline-flex").style("gap", "6px");
|
|
800
|
-
sizeModeText.append("span").text("Scale by");
|
|
801
|
-
sizeModeText.append("span").text("Case sample size").style("font-weight", "600").style("text-decoration", "underline").style("color", "#111");
|
|
802
|
-
sizeModeText.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
803
|
-
const legendSvg = sizeLegendRow.append("svg").attr("width", 190).attr("height", 110).style("display", "block");
|
|
804
|
-
legendSvg.style("opacity", scaleDotSize ? 1 : 0.4);
|
|
805
|
-
function renderColorLegend() {
|
|
806
|
-
colorLegendDiv.selectAll("*").remove();
|
|
807
|
-
shapeLegendDiv.selectAll("*").remove();
|
|
808
|
-
const setCreateButtonState = (container, isActive, inputSelector, buttonSelector, hasCheckedItems) => {
|
|
809
|
-
if (!isActive) return;
|
|
810
|
-
const inputNode = container.select(inputSelector).node();
|
|
811
|
-
const createBtn = container.select(buttonSelector);
|
|
812
|
-
if (!inputNode || createBtn.empty()) return;
|
|
813
|
-
const shouldDisable = !inputNode.value.trim() || !hasCheckedItems;
|
|
814
|
-
createBtn.property("disabled", shouldDisable).style("opacity", shouldDisable ? "0.5" : "1").style("cursor", shouldDisable ? "not-allowed" : "pointer");
|
|
815
|
-
};
|
|
816
|
-
const updateColorCreateButtonState = () => {
|
|
817
|
-
setCreateButtonState(
|
|
818
|
-
colorLegendDiv,
|
|
819
|
-
groupingModeActive.has(colorMode),
|
|
820
|
-
'input[data-role="custom-group-name"]',
|
|
821
|
-
'button[data-role="create-custom-group-submit"]',
|
|
822
|
-
checkedItemsByMode[colorMode].size > 0
|
|
823
|
-
);
|
|
824
|
-
};
|
|
825
|
-
const updateShapeCreateButtonState = () => {
|
|
826
|
-
setCreateButtonState(
|
|
827
|
-
shapeLegendDiv,
|
|
828
|
-
shapeGroupingModeActive.has(shapeMode),
|
|
829
|
-
'input[data-role="custom-shape-group-name"]',
|
|
830
|
-
'button[data-role="create-custom-shape-group-submit"]',
|
|
831
|
-
checkedShapeItemsByMode[shapeMode].size > 0
|
|
832
|
-
);
|
|
833
|
-
};
|
|
834
|
-
const modeRow = colorLegendDiv.append("div").style("display", "flex").style("gap", "10px").style("margin-bottom", "6px").style("flex-wrap", "wrap");
|
|
835
|
-
modeRow.append("span").text("Color by");
|
|
836
|
-
for (const { key, label } of colorGroupingModes) {
|
|
837
|
-
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", () => {
|
|
838
|
-
groupingModeActive.delete(colorMode);
|
|
839
|
-
checkedItemsByMode[colorMode].clear();
|
|
840
|
-
colorMode = key;
|
|
841
|
-
refreshAfterVisibilityChange();
|
|
842
|
-
});
|
|
843
|
-
}
|
|
844
|
-
const makeLegendItems = (items, colorMap) => {
|
|
845
|
-
const dotsVisibleByShape = dots.filter((d) => !hiddenShape[shapeMode].has(getShapeValueByMode(d, shapeMode)));
|
|
846
|
-
const openColorMenu = (event, name, swatch) => {
|
|
847
|
-
const menu = new Menu({ padding: "0px" });
|
|
848
|
-
const div = menu.d.append("div");
|
|
849
|
-
const hidden = hiddenColor[colorMode].has(name);
|
|
850
|
-
const hiddenCount = hiddenColor[colorMode].size;
|
|
851
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(hidden ? "Show" : "Hide").on("click", () => {
|
|
852
|
-
if (hidden) hiddenColor[colorMode].delete(name);
|
|
853
|
-
else hiddenColor[colorMode].add(name);
|
|
854
|
-
refreshAfterVisibilityChange();
|
|
855
|
-
menu.hide();
|
|
856
|
-
});
|
|
857
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show only").on("click", () => {
|
|
858
|
-
hiddenColor[colorMode].clear();
|
|
859
|
-
for (const item of items) {
|
|
860
|
-
if (item != name) hiddenColor[colorMode].add(item);
|
|
861
|
-
}
|
|
862
|
-
refreshAfterVisibilityChange();
|
|
863
|
-
menu.hide();
|
|
864
|
-
});
|
|
865
|
-
if (hiddenCount > 1)
|
|
866
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show all").on("click", () => {
|
|
867
|
-
hiddenColor[colorMode].clear();
|
|
868
|
-
refreshAfterVisibilityChange();
|
|
869
|
-
menu.hide();
|
|
870
|
-
});
|
|
871
|
-
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", () => {
|
|
872
|
-
const newColor = input.node().value;
|
|
873
|
-
if (isCustomGroupKey(name)) {
|
|
874
|
-
customGroupColorsByMode[colorMode].set(getCustomGroupNameFromKey(name), newColor);
|
|
875
|
-
} else if (!isCustomGroupKey(name)) {
|
|
876
|
-
if (colorMode == "organism") organismColors.set(name, newColor);
|
|
877
|
-
else if (colorMode == "assayType") assayColors.set(name, newColor);
|
|
878
|
-
else if (colorMode == "cohort") cohortColors.set(name, newColor);
|
|
879
|
-
else if (colorMode == "proteinAccession") proteinColors.set(name, newColor);
|
|
880
|
-
}
|
|
881
|
-
colorMap.set(name, newColor);
|
|
882
|
-
swatch.style("background", newColor);
|
|
883
|
-
updateDots();
|
|
884
|
-
menu.hide();
|
|
885
|
-
});
|
|
886
|
-
if (isCustomGroupKey(name))
|
|
887
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Remove group").on("click", () => {
|
|
888
|
-
removeCustomGroup(colorMode, getCustomGroupNameFromKey(name));
|
|
889
|
-
refreshAfterVisibilityChange();
|
|
890
|
-
menu.hide();
|
|
891
|
-
});
|
|
892
|
-
menu.showunder(event.target);
|
|
893
|
-
};
|
|
894
|
-
for (const name of items) {
|
|
895
|
-
const hidden = hiddenColor[colorMode].has(name);
|
|
896
|
-
const isGroup = isCustomGroupKey(name);
|
|
897
|
-
const displayName = isGroup ? getCustomGroupNameFromKey(name) : name;
|
|
898
|
-
const inGroup = !isGroup ? getCustomGroupOfValue(colorMode, name) : null;
|
|
899
|
-
const sampleCount = getLegendItemSampleCount(colorMode, name, dotsVisibleByShape);
|
|
900
|
-
if (sampleCount === 0) continue;
|
|
901
|
-
const row = colorLegendDiv.append("div").style("display", "flex").style("align-items", "center").style("gap", "6px").style("margin-bottom", "3px");
|
|
902
|
-
if (!isGroup && groupingModeActive.has(colorMode)) {
|
|
903
|
-
const cb = row.append("input").attr("type", "checkbox").style("cursor", "pointer").style("flex-shrink", "0");
|
|
904
|
-
const cbNode = cb.node();
|
|
905
|
-
cbNode.checked = checkedItemsByMode[colorMode].has(name);
|
|
906
|
-
cb.on("change", () => {
|
|
907
|
-
if (cbNode.checked) checkedItemsByMode[colorMode].add(name);
|
|
908
|
-
else checkedItemsByMode[colorMode].delete(name);
|
|
909
|
-
updateColorCreateButtonState();
|
|
910
|
-
});
|
|
911
|
-
}
|
|
912
|
-
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");
|
|
913
|
-
swatch.on("click", (event) => openColorMenu(event, name, swatch));
|
|
914
|
-
row.append("span").text(`${displayName}, n=${sampleCount}`).style("text-decoration", hidden ? "line-through" : "none").style("cursor", "pointer").on("click", (event) => openColorMenu(event, name, swatch));
|
|
915
|
-
if (isGroup) {
|
|
916
|
-
const count = customGroupsByMode[colorMode].get(getCustomGroupNameFromKey(name))?.size || 0;
|
|
917
|
-
const itemLabel = colorMode === "organism" ? "organisms" : colorMode === "assayType" ? "assays" : colorMode === "cohort" ? "sample sets" : colorMode === "proteinAccession" ? "isoforms" : "items";
|
|
918
|
-
row.append("span").style("color", "#6b7280").text(`(${count} ${itemLabel})`);
|
|
919
|
-
} else if (inGroup) {
|
|
920
|
-
row.append("span").style("color", "#6b7280").style("font-style", "italic").text(`\u2192 ${inGroup}`);
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
};
|
|
924
|
-
const buildModeLegendItems = (baseItems, baseColorMap) => {
|
|
925
|
-
const visibleBaseItems = baseItems.filter((name) => !getCustomGroupOfValue(colorMode, name));
|
|
926
|
-
const mergedColorMap = /* @__PURE__ */ new Map();
|
|
927
|
-
for (const name of visibleBaseItems) mergedColorMap.set(name, baseColorMap.get(name) ?? "#888");
|
|
928
|
-
for (const name of getCustomGroupItems(colorMode)) {
|
|
929
|
-
const rawName = getCustomGroupNameFromKey(name);
|
|
930
|
-
mergedColorMap.set(name, customGroupColorsByMode[colorMode].get(rawName) ?? "#888");
|
|
931
|
-
}
|
|
932
|
-
return { items: [...visibleBaseItems, ...getCustomGroupItems(colorMode)], colorMap: mergedColorMap };
|
|
933
|
-
};
|
|
934
|
-
const renderCustomGroupControls = () => {
|
|
935
|
-
if (!colorModesWithGroups.includes(colorMode)) return;
|
|
936
|
-
if (!groupingModeActive.has(colorMode)) {
|
|
937
|
-
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", () => {
|
|
938
|
-
groupingModeActive.add(colorMode);
|
|
939
|
-
renderColorLegend();
|
|
940
|
-
});
|
|
941
|
-
createBtn.on("mouseover", function() {
|
|
942
|
-
select_default(this).style("color", "#111827");
|
|
943
|
-
}).on("mouseout", function() {
|
|
944
|
-
select_default(this).style("color", "#6b7280");
|
|
945
|
-
});
|
|
946
|
-
return;
|
|
947
|
-
}
|
|
948
|
-
colorLegendDiv.append("div").style("font-size", "11px").style("color", "#6b7280").style("margin-bottom", "4px").text("Check items to include in the new group:");
|
|
949
|
-
const controls = colorLegendDiv.append("div").style("display", "flex").style("gap", "6px").style("align-items", "center").style("flex-wrap", "wrap").style("margin-top", "4px");
|
|
950
|
-
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());
|
|
951
|
-
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", () => {
|
|
952
|
-
const groupName = (nameInput.node()?.value || "").trim();
|
|
953
|
-
if (!groupName || checkedItemsByMode[colorMode].size < 1) return;
|
|
954
|
-
addOrUpdateCustomGroup(colorMode, groupName, [...checkedItemsByMode[colorMode]]);
|
|
955
|
-
checkedItemsByMode[colorMode].clear();
|
|
956
|
-
groupingModeActive.delete(colorMode);
|
|
957
|
-
refreshAfterVisibilityChange();
|
|
958
|
-
});
|
|
959
|
-
updateColorCreateButtonState();
|
|
960
|
-
controls.append("button").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Cancel").on("click", () => {
|
|
961
|
-
checkedItemsByMode[colorMode].clear();
|
|
962
|
-
groupingModeActive.delete(colorMode);
|
|
963
|
-
renderColorLegend();
|
|
964
|
-
});
|
|
965
|
-
};
|
|
966
|
-
if (colorMode === "organism") {
|
|
967
|
-
const { items, colorMap } = buildModeLegendItems(organismNames, organismColors);
|
|
968
|
-
makeLegendItems(items, colorMap);
|
|
969
|
-
renderCustomGroupControls();
|
|
970
|
-
} else if (colorMode === "assayType") {
|
|
971
|
-
const { items, colorMap } = buildModeLegendItems(assayNames, assayColors);
|
|
972
|
-
makeLegendItems(items, colorMap);
|
|
973
|
-
renderCustomGroupControls();
|
|
974
|
-
} else if (colorMode === "cohort") {
|
|
975
|
-
const { items, colorMap } = buildModeLegendItems(cohortNames, cohortColors);
|
|
976
|
-
makeLegendItems(items, colorMap);
|
|
977
|
-
renderCustomGroupControls();
|
|
978
|
-
} else if (colorMode === "proteinAccession") {
|
|
979
|
-
const { items, colorMap } = buildModeLegendItems(proteinAccessions, proteinColors);
|
|
980
|
-
makeLegendItems(items, colorMap);
|
|
981
|
-
renderCustomGroupControls();
|
|
982
|
-
}
|
|
983
|
-
shapeLegendDiv.append("div").style("border-top", "1px solid #e5e7eb").style("margin", "8px 0 8px 0");
|
|
984
|
-
const shapeModeRow = shapeLegendDiv.append("div").style("display", "flex").style("gap", "10px").style("margin-bottom", "6px").style("flex-wrap", "wrap");
|
|
985
|
-
shapeModeRow.append("span").text("Shape by");
|
|
986
|
-
for (const { key, label } of shapeGroupingModes) {
|
|
987
|
-
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", () => {
|
|
988
|
-
shapeGroupingModeActive.delete(shapeMode);
|
|
989
|
-
checkedShapeItemsByMode[shapeMode].clear();
|
|
990
|
-
shapeMode = key;
|
|
991
|
-
refreshAfterVisibilityChange();
|
|
992
|
-
});
|
|
993
|
-
}
|
|
994
|
-
const buildShapeLegendItems = (baseItems) => {
|
|
995
|
-
const visibleBaseItems = baseItems.filter((name) => !getCustomShapeGroupOfValue(shapeMode, name));
|
|
996
|
-
return { items: [...visibleBaseItems, ...getCustomShapeGroupItems(shapeMode)] };
|
|
997
|
-
};
|
|
998
|
-
const drawShapeLegend = (items, shapeMap) => {
|
|
999
|
-
const dotsVisibleByColor = dots.filter((d) => !hiddenColor[colorMode].has(getColorValueByMode(d, colorMode)));
|
|
1000
|
-
const openShapeMenu = (event, name) => {
|
|
1001
|
-
const menu = new Menu({ padding: "0px" });
|
|
1002
|
-
const activeShapeMap = isCustomShapeGroupKey(name) ? customShapeIndicesByMode[shapeMode] : getShapeMapInUse();
|
|
1003
|
-
const div = menu.d.append("div");
|
|
1004
|
-
const hidden = hiddenShape[shapeMode].has(name);
|
|
1005
|
-
const hiddenCount = hiddenShape[shapeMode].size;
|
|
1006
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(hidden ? "Show" : "Hide").on("click", () => {
|
|
1007
|
-
if (hidden) hiddenShape[shapeMode].delete(name);
|
|
1008
|
-
else hiddenShape[shapeMode].add(name);
|
|
1009
|
-
refreshAfterVisibilityChange();
|
|
1010
|
-
menu.hide();
|
|
1011
|
-
});
|
|
1012
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show only").on("click", () => {
|
|
1013
|
-
hiddenShape[shapeMode].clear();
|
|
1014
|
-
for (const item of items) {
|
|
1015
|
-
if (item != name) hiddenShape[shapeMode].add(item);
|
|
1016
|
-
}
|
|
1017
|
-
refreshAfterVisibilityChange();
|
|
1018
|
-
menu.hide();
|
|
1019
|
-
});
|
|
1020
|
-
if (hiddenCount > 1)
|
|
1021
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Show all").on("click", () => {
|
|
1022
|
-
hiddenShape[shapeMode].clear();
|
|
1023
|
-
refreshAfterVisibilityChange();
|
|
1024
|
-
menu.hide();
|
|
1025
|
-
});
|
|
1026
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Change shape").on("click", () => {
|
|
1027
|
-
div.selectAll("*").remove();
|
|
1028
|
-
shapeSelector(
|
|
1029
|
-
div,
|
|
1030
|
-
(index) => {
|
|
1031
|
-
const shapeKey = isCustomShapeGroupKey(name) ? getCustomShapeGroupNameFromKey(name) : name;
|
|
1032
|
-
activeShapeMap.set(shapeKey, index);
|
|
1033
|
-
updateDots();
|
|
1034
|
-
renderColorLegend();
|
|
1035
|
-
menu.hide();
|
|
1036
|
-
},
|
|
1037
|
-
prioritizedShapesArray
|
|
1038
|
-
);
|
|
1039
|
-
});
|
|
1040
|
-
if (isCustomShapeGroupKey(name))
|
|
1041
|
-
div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Remove group").on("click", () => {
|
|
1042
|
-
removeCustomShapeGroup(shapeMode, getCustomShapeGroupNameFromKey(name));
|
|
1043
|
-
refreshAfterVisibilityChange();
|
|
1044
|
-
menu.hide();
|
|
1045
|
-
});
|
|
1046
|
-
menu.showunder(event.target);
|
|
1047
|
-
};
|
|
1048
|
-
for (const name of items) {
|
|
1049
|
-
const hidden = hiddenShape[shapeMode].has(name);
|
|
1050
|
-
const isGroup = isCustomShapeGroupKey(name);
|
|
1051
|
-
const displayName = isGroup ? getCustomShapeGroupNameFromKey(name) : name;
|
|
1052
|
-
const inGroup = !isGroup ? getCustomShapeGroupOfValue(shapeMode, name) : null;
|
|
1053
|
-
const sampleCount = getLegendItemSampleCount(shapeMode, name, dotsVisibleByColor);
|
|
1054
|
-
if (sampleCount === 0) continue;
|
|
1055
|
-
const row = shapeLegendDiv.append("div").style("display", "flex").style("align-items", "center").style("gap", "6px").style("margin-bottom", "3px");
|
|
1056
|
-
if (!isGroup && shapeGroupingModeActive.has(shapeMode)) {
|
|
1057
|
-
const cb = row.append("input").attr("type", "checkbox").style("cursor", "pointer").style("flex-shrink", "0");
|
|
1058
|
-
const cbNode = cb.node();
|
|
1059
|
-
cbNode.checked = checkedShapeItemsByMode[shapeMode].has(name);
|
|
1060
|
-
cb.on("change", () => {
|
|
1061
|
-
if (cbNode.checked) checkedShapeItemsByMode[shapeMode].add(name);
|
|
1062
|
-
else checkedShapeItemsByMode[shapeMode].delete(name);
|
|
1063
|
-
updateShapeCreateButtonState();
|
|
1064
|
-
});
|
|
1065
|
-
}
|
|
1066
|
-
const icon = row.append("svg").attr("width", 16).attr("height", 16).style("display", "inline-block").style("cursor", "pointer");
|
|
1067
|
-
icon.append("path").attr("transform", "scale(0.8)").attr(
|
|
1068
|
-
"d",
|
|
1069
|
-
prioritizedShapesArray[((isGroup ? customShapeIndicesByMode[shapeMode].get(getCustomShapeGroupNameFromKey(name)) : shapeMap.get(name)) || 0) % prioritizedShapesArray.length]
|
|
1070
|
-
).attr("fill", "#4b5563").attr("fill-opacity", hidden ? 0.35 : 0.9);
|
|
1071
|
-
icon.on("click", (event) => openShapeMenu(event, name));
|
|
1072
|
-
row.append("span").text(`${displayName}, n=${sampleCount}`).style("text-decoration", hidden ? "line-through" : "none").style("cursor", "pointer").on("click", (event) => openShapeMenu(event, name));
|
|
1073
|
-
if (isGroup) {
|
|
1074
|
-
const count = customShapeGroupsByMode[shapeMode].get(getCustomShapeGroupNameFromKey(name))?.size || 0;
|
|
1075
|
-
const itemLabel = shapeMode === "organism" ? "organisms" : shapeMode === "assayType" ? "assays" : shapeMode === "cohort" ? "sample sets" : shapeMode === "proteinAccession" ? "isoforms" : "items";
|
|
1076
|
-
row.append("span").style("color", "#6b7280").text(`(${count} ${itemLabel})`);
|
|
1077
|
-
} else if (inGroup) {
|
|
1078
|
-
row.append("span").style("color", "#6b7280").style("font-style", "italic").text(`\u2192 ${inGroup}`);
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
};
|
|
1082
|
-
const renderShapeCustomGroupControls = () => {
|
|
1083
|
-
if (!shapeModesWithGroups.includes(shapeMode)) return;
|
|
1084
|
-
if (!shapeGroupingModeActive.has(shapeMode)) {
|
|
1085
|
-
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", () => {
|
|
1086
|
-
shapeGroupingModeActive.add(shapeMode);
|
|
1087
|
-
renderColorLegend();
|
|
1088
|
-
});
|
|
1089
|
-
createBtn.on("mouseover", function() {
|
|
1090
|
-
select_default(this).style("color", "#111827");
|
|
1091
|
-
}).on("mouseout", function() {
|
|
1092
|
-
select_default(this).style("color", "#6b7280");
|
|
1093
|
-
});
|
|
1094
|
-
return;
|
|
1095
|
-
}
|
|
1096
|
-
shapeLegendDiv.append("div").style("font-size", "11px").style("color", "#6b7280").style("margin-bottom", "4px").text("Check items to include in the new group:");
|
|
1097
|
-
const controls = shapeLegendDiv.append("div").style("display", "flex").style("gap", "6px").style("align-items", "center").style("flex-wrap", "wrap").style("margin-top", "4px");
|
|
1098
|
-
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());
|
|
1099
|
-
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", () => {
|
|
1100
|
-
const groupName = (nameInput.node()?.value || "").trim();
|
|
1101
|
-
if (!groupName || checkedShapeItemsByMode[shapeMode].size < 1) return;
|
|
1102
|
-
addOrUpdateCustomShapeGroup(shapeMode, groupName, [...checkedShapeItemsByMode[shapeMode]]);
|
|
1103
|
-
checkedShapeItemsByMode[shapeMode].clear();
|
|
1104
|
-
shapeGroupingModeActive.delete(shapeMode);
|
|
1105
|
-
refreshAfterVisibilityChange();
|
|
1106
|
-
});
|
|
1107
|
-
updateShapeCreateButtonState();
|
|
1108
|
-
controls.append("button").attr("type", "button").style("font-size", "12px").style("padding", "2px 6px").text("Cancel").on("click", () => {
|
|
1109
|
-
checkedShapeItemsByMode[shapeMode].clear();
|
|
1110
|
-
shapeGroupingModeActive.delete(shapeMode);
|
|
1111
|
-
renderColorLegend();
|
|
1112
|
-
});
|
|
1113
|
-
};
|
|
1114
|
-
if (shapeMode === "organism") {
|
|
1115
|
-
const { items } = buildShapeLegendItems(organismNames);
|
|
1116
|
-
drawShapeLegend(items, organismShapes);
|
|
1117
|
-
renderShapeCustomGroupControls();
|
|
1118
|
-
} else if (shapeMode === "assayType") {
|
|
1119
|
-
const { items } = buildShapeLegendItems(assayNames);
|
|
1120
|
-
drawShapeLegend(items, assayShapes);
|
|
1121
|
-
renderShapeCustomGroupControls();
|
|
1122
|
-
} else if (shapeMode === "cohort") {
|
|
1123
|
-
const { items } = buildShapeLegendItems(cohortNames);
|
|
1124
|
-
drawShapeLegend(items, cohortShapes);
|
|
1125
|
-
renderShapeCustomGroupControls();
|
|
1126
|
-
} else if (shapeMode === "proteinAccession") {
|
|
1127
|
-
const { items } = buildShapeLegendItems(proteinAccessions);
|
|
1128
|
-
drawShapeLegend(items, proteinShapes);
|
|
1129
|
-
renderShapeCustomGroupControls();
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
updateRadiusScaleForVisibleDots();
|
|
1133
|
-
renderColorLegend();
|
|
1134
|
-
renderSizeLegend();
|
|
1135
|
-
}
|
|
1136
|
-
function launchViolinPlot(self, organismName, assayName, cohortName, isoform) {
|
|
1137
|
-
const selectedProtein = self.state.config?.tw?.term;
|
|
1138
|
-
if (!selectedProtein) throw new Error("proteinView: selected protein term is missing");
|
|
1139
|
-
const action = {
|
|
1140
|
-
type: "plot_create",
|
|
1141
|
-
config: {
|
|
1142
|
-
chartType: "summary"
|
|
1143
|
-
}
|
|
1144
|
-
};
|
|
1145
|
-
action.config.assayCohortTitle = `${organismName} ${assayName}: ${cohortName}`;
|
|
1146
|
-
action.config.proteomeDetails = { organism: organismName, assay: assayName, cohort: cohortName };
|
|
1147
|
-
const termdbConfig = self.app.vocabApi.termdbConfig;
|
|
1148
|
-
const proteomeOverlayTerm = termdbConfig?.queries?.proteome?.organisms?.[organismName]?.overlayTerm;
|
|
1149
|
-
const t = structuredClone(selectedProtein);
|
|
1150
|
-
t.name = `${t.name}: ${isoform}`;
|
|
1151
|
-
t.dataTypeDetails = { organism: organismName, assay: assayName, cohort: cohortName };
|
|
1152
|
-
action.config.term = { term: t, q: { mode: NumericModes.continuous } };
|
|
1153
|
-
if (proteomeOverlayTerm) {
|
|
1154
|
-
action.config.term2 = { term: structuredClone(proteomeOverlayTerm), q: {} };
|
|
1155
|
-
}
|
|
1156
|
-
self.app.dispatch(action);
|
|
1157
|
-
}
|
|
1158
|
-
async function renderPTMLollipop(holder, ptmCohorts, self, isoform, genome) {
|
|
1159
|
-
if (!ptmCohorts?.length) return;
|
|
1160
|
-
const custom_variants = [];
|
|
1161
|
-
const mergedMclassOverride = {};
|
|
1162
|
-
const gm = await getGmForPTM(ptmCohorts[0].geneName, genome.name, isoform);
|
|
1163
|
-
for (const ptm of ptmCohorts) {
|
|
1164
|
-
if (!gm) continue;
|
|
1165
|
-
const logValue = getLog2Ratio(ptm.foldChange);
|
|
1166
|
-
const pValue = Number(ptm.pValue);
|
|
1167
|
-
const testedN = Number(ptm.testedN);
|
|
1168
|
-
const controlN = Number(ptm.controlN);
|
|
1169
|
-
if (ptm.mclassOverride && typeof ptm.mclassOverride == "object") {
|
|
1170
|
-
Object.assign(mergedMclassOverride, ptm.mclassOverride);
|
|
1171
|
-
}
|
|
1172
|
-
const site = parsePTMModSites(ptm.modSites);
|
|
1173
|
-
if (!site) continue;
|
|
1174
|
-
const pos = aa2gmcoord(site, gm);
|
|
1175
|
-
if (!Number.isInteger(pos)) continue;
|
|
1176
|
-
const ptmClass = Object.keys(ptm.mclassOverride || {})[0];
|
|
1177
|
-
custom_variants.push({
|
|
1178
|
-
chr: gm.chr,
|
|
1179
|
-
pos,
|
|
1180
|
-
mname: ptm.modSites,
|
|
1181
|
-
class: ptmClass,
|
|
1182
|
-
dt: 1,
|
|
1183
|
-
logValue,
|
|
1184
|
-
pValue,
|
|
1185
|
-
testedN: Number.isFinite(testedN) ? testedN : null,
|
|
1186
|
-
controlN: Number.isFinite(controlN) ? controlN : null,
|
|
1187
|
-
organism: ptm.organism || null,
|
|
1188
|
-
assayName: ptm.assayName || null,
|
|
1189
|
-
cohortName: ptm.cohortName || null,
|
|
1190
|
-
proteinAccession: ptm.proteinAccession || null,
|
|
1191
|
-
PTMStr: ptm.uniqueIdentifier || null,
|
|
1192
|
-
htmlSections: [
|
|
1193
|
-
{
|
|
1194
|
-
key: "Action",
|
|
1195
|
-
label: "Launch Violin Plot",
|
|
1196
|
-
callback: () => launchViolinPlot(self, ptm.organism, ptm.assayName, ptm.cohortName, ptm.uniqueIdentifier)
|
|
1197
|
-
}
|
|
1198
|
-
]
|
|
1199
|
-
});
|
|
1200
|
-
}
|
|
1201
|
-
if (!custom_variants.length) return;
|
|
1202
|
-
const mclassOverride = {
|
|
1203
|
-
className: "PTM",
|
|
1204
|
-
classes: mergedMclassOverride
|
|
1205
|
-
};
|
|
1206
|
-
for (const key in mclassOverride.classes) {
|
|
1207
|
-
if (mclass[key]) Object.assign(mclass[key], mclassOverride.classes[key]);
|
|
1208
|
-
}
|
|
1209
|
-
const tk = {
|
|
1210
|
-
type: "mds3",
|
|
1211
|
-
name: "PTMs",
|
|
1212
|
-
custom_variants,
|
|
1213
|
-
skewerModes: [
|
|
1214
|
-
{
|
|
1215
|
-
type: "numeric",
|
|
1216
|
-
byAttribute: "logValue",
|
|
1217
|
-
label: "Log2FC",
|
|
1218
|
-
tooltipPrintValue: (m) => {
|
|
1219
|
-
const p = Number(m.pValue);
|
|
1220
|
-
return [
|
|
1221
|
-
{ k: "Organism", v: m.organism ?? "NA" },
|
|
1222
|
-
{ k: "Assay", v: m.assayName ?? "NA" },
|
|
1223
|
-
{ k: "Sample set", v: m.cohortName ?? "NA" },
|
|
1224
|
-
{ k: "PTM", v: m.PTMStr ?? "NA" },
|
|
1225
|
-
{ k: "Log2 fold change", v: Number.isFinite(m.logValue) ? roundValue(m.logValue, 3) : "NA" },
|
|
1226
|
-
{ k: "P value", v: Number.isFinite(p) && p > 0 ? p.toExponential(2) : "NA" },
|
|
1227
|
-
{ k: "Case samples", v: Number.isFinite(m.testedN) ? m.testedN : "NA" },
|
|
1228
|
-
{ k: "Control samples", v: Number.isFinite(m.controlN) ? m.controlN : "NA" },
|
|
1229
|
-
{ k: "Protein accession", v: m.proteinAccession ?? "NA" }
|
|
1230
|
-
];
|
|
1231
|
-
},
|
|
1232
|
-
inuse: true,
|
|
1233
|
-
axisheight: 100
|
|
1234
|
-
}
|
|
1235
|
-
],
|
|
1236
|
-
mclassOverride
|
|
1237
|
-
};
|
|
1238
|
-
const arg = {
|
|
1239
|
-
holder: holder.append("div"),
|
|
1240
|
-
genome,
|
|
1241
|
-
nobox: true,
|
|
1242
|
-
tklst: [tk],
|
|
1243
|
-
mclassOverride,
|
|
1244
|
-
debugmode: self.app.opts.debug,
|
|
1245
|
-
query: gm.isoform,
|
|
1246
|
-
hide_dsHandles: true
|
|
1247
|
-
};
|
|
1248
|
-
const _ = await import("./block.init-RRHHCNSR.js");
|
|
1249
|
-
await _.default(arg);
|
|
1250
|
-
}
|
|
1251
|
-
function parsePTMModSites(modSites) {
|
|
1252
|
-
if (!modSites) return null;
|
|
1253
|
-
const regex = /([A-Za-z])(\d+)/g;
|
|
1254
|
-
let m;
|
|
1255
|
-
while ((m = regex.exec(modSites)) !== null) {
|
|
1256
|
-
const position = Number(m[2]);
|
|
1257
|
-
if (!Number.isInteger(position) || position < 1) continue;
|
|
1258
|
-
return position;
|
|
1259
|
-
}
|
|
1260
|
-
return null;
|
|
1261
|
-
}
|
|
1262
|
-
async function getGmForPTM(geneName, genomeName, isoform) {
|
|
1263
|
-
if (!geneName) return null;
|
|
1264
|
-
const d = await dofetch3("genelookup", {
|
|
1265
|
-
body: {
|
|
1266
|
-
deep: 1,
|
|
1267
|
-
genome: genomeName,
|
|
1268
|
-
input: geneName
|
|
1269
|
-
}
|
|
1270
|
-
});
|
|
1271
|
-
if (d.error || !Array.isArray(d.gmlst) || !d.gmlst.length) return null;
|
|
1272
|
-
const normalizedIsoform = isoform?.trim().toUpperCase();
|
|
1273
|
-
const gm = d.gmlst.find((i) => i.isoform && normalizedIsoform && i.isoform.toUpperCase() == normalizedIsoform) || d.gmlst.find((i) => i.isdefault) || d.gmlst[0];
|
|
1274
|
-
return gm;
|
|
1275
|
-
}
|
|
1276
|
-
function getLog2Ratio(foldChange) {
|
|
1277
|
-
if (!Number.isFinite(foldChange) || foldChange <= 0) return null;
|
|
1278
|
-
return Math.log2(foldChange);
|
|
1279
|
-
}
|
|
1280
|
-
async function getPlotConfig(opts) {
|
|
1281
|
-
const config = structuredClone(defaultConfig);
|
|
1282
|
-
if (!opts.tw) throw new Error("proteinView requires opts.tw");
|
|
1283
|
-
return copyMerge(config, opts);
|
|
1284
|
-
}
|
|
1285
|
-
function makeChartBtnMenu(holder, chartsInstance) {
|
|
1286
|
-
const row = holder.append("div").style("padding", "5px");
|
|
1287
|
-
row.append("span").style("font-weight", "bold").text("Enter a gene name:");
|
|
1288
|
-
const geneSearch = addGeneSearchbox({
|
|
1289
|
-
row,
|
|
1290
|
-
genome: chartsInstance.app.opts.genome,
|
|
1291
|
-
tip: new Menu({ padding: "0px" }),
|
|
1292
|
-
searchOnly: "gene",
|
|
1293
|
-
callback: async () => {
|
|
1294
|
-
if (!geneSearch.geneSymbol) throw new Error("A valid gene selection is required");
|
|
1295
|
-
chartsInstance.dom.tip.hide();
|
|
1296
|
-
chartsInstance.app.dispatch({
|
|
1297
|
-
type: "plot_create",
|
|
1298
|
-
config: {
|
|
1299
|
-
chartType: "proteinView",
|
|
1300
|
-
tw: {
|
|
1301
|
-
term: {
|
|
1302
|
-
gene: geneSearch.geneSymbol,
|
|
1303
|
-
name: geneSearch.geneSymbol,
|
|
1304
|
-
type: TermTypes.PROTEOME_ABUNDANCE
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
});
|
|
1309
|
-
}
|
|
1310
|
-
});
|
|
1311
|
-
}
|
|
1312
|
-
var proteinViewInit = getCompInit(ProteinView);
|
|
1313
|
-
var componentInit = proteinViewInit;
|
|
1314
|
-
export {
|
|
1315
|
-
componentInit,
|
|
1316
|
-
getPlotConfig,
|
|
1317
|
-
makeChartBtnMenu,
|
|
1318
|
-
proteinViewInit
|
|
1319
|
-
};
|
|
1320
|
-
//# sourceMappingURL=proteinView-OAR2RC6U.js.map
|