@sjcrh/proteinpaint-client 2.166.0 → 2.167.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-VLW5XJ4O.js +1364 -0
- package/dist/AIProjectAdmin-X3TBCRPR.js +780 -0
- package/dist/AppHeader-YA7FCKVM.js +813 -0
- package/dist/BoxPlot-PAZYARCX.js +44 -0
- package/dist/CorrelationVolcano-S35GWKV5.js +616 -0
- package/dist/DifferentialAnalysis-DTDFAUXT.js +237 -0
- package/dist/Disco-OE6YY3MH.js +3089 -0
- package/dist/Disco.UI-2CCWETSM.js +238 -0
- package/dist/DziViewer-OHPZOH72.js +16328 -0
- package/dist/GB-LIHKHJ32.js +1099 -0
- package/dist/HicApp-6AYCPCW6.js +2218 -0
- package/dist/NumBinaryEditor-ONJB4DKM.js +259 -0
- package/dist/NumBinaryEditor.unit.spec-Y6DGBAIB.js +277 -0
- package/dist/NumContEditor-6WGAI3PH.js +98 -0
- package/dist/NumContEditor.unit.spec-6LT5MALH.js +160 -0
- package/dist/NumCustomBinEditor-K4OD7SWD.js +29 -0
- package/dist/NumCustomBinEditor.unit.spec-O6QYV6Q4.js +275 -0
- package/dist/NumDiscreteEditor-AFLINO62.js +145 -0
- package/dist/NumDiscreteEditor.unit.spec-3VWWSS24.js +193 -0
- package/dist/NumRegularBinEditor-IRKC5SVF.js +29 -0
- package/dist/NumRegularBinEditor.unit.spec-2ZTI7HR2.js +220 -0
- package/dist/NumSplineEditor-DBW6XE4N.js +181 -0
- package/dist/NumSplineEditor.unit.spec-645ZQXXL.js +190 -0
- package/dist/NumericDensity-27SM2P45.js +29 -0
- package/dist/NumericDensity.unit.spec-DM7PPSMV.js +212 -0
- package/dist/NumericHandler-KFQ2OSUR.js +30 -0
- package/dist/NumericHandler.unit.spec-RNXGCYH7.js +210 -0
- package/dist/SC-SUUATZYR.js +714 -0
- package/dist/Volcano-DEKTKEEZ.js +1018 -0
- package/dist/WSIViewer-SWX4OXHY.js +46959 -0
- package/dist/WsiSamplesPlot-OCVLBBBD.js +153 -0
- package/dist/adSandbox-VGHHJWLL.js +29 -0
- package/dist/alphaGenome-YOJWFJCS.js +170 -0
- package/dist/app-3TXV35H5.js +28 -0
- package/dist/app-NUTP544R.js +54 -0
- package/dist/app.js +16 -16
- package/dist/bam-LXDFDUBH.js +842 -0
- package/dist/barchart-P4BTYT5K.js +48 -0
- package/dist/barchart.data-6WIS5D4I.js +30 -0
- package/dist/barchart.events-V4ANDWUH.js +44 -0
- package/dist/barchart.integration.spec-QU3Y3YHM.js +1600 -0
- package/dist/bars.renderer-4N4QOUNI.js +12 -0
- package/dist/bars.settings-SDU7PZOS.js +10 -0
- package/dist/block-OGJAZG3E.js +6291 -0
- package/dist/block.init-SNZKGO2G.js +29 -0
- package/dist/block.mds.expressionrank-WYV55X5Y.js +350 -0
- package/dist/block.mds.geneboxplot-2LVYSSSU.js +819 -0
- package/dist/block.mds.junction-YY3P64U5.js +1536 -0
- package/dist/block.mds.svcnv-JFNOLZX3.js +6792 -0
- package/dist/block.svg-JBR6OYAD.js +155 -0
- package/dist/block.tk.aicheck-2XDMLOND.js +274 -0
- package/dist/block.tk.ase-TC3NY65S.js +356 -0
- package/dist/block.tk.bam-YA32442V.js +1897 -0
- package/dist/block.tk.bedgraphdot-TRNM4O4F.js +375 -0
- package/dist/block.tk.bigwig.ui-6JJG42M3.js +202 -0
- package/dist/block.tk.hicstraw-HEQXBJZN.js +814 -0
- package/dist/block.tk.junction-7LWL3N6V.js +2355 -0
- package/dist/block.tk.junction.textmatrixui-6CTLQ2M7.js +190 -0
- package/dist/block.tk.ld-SG4ZJ5VB.js +90 -0
- package/dist/block.tk.menu-FNKM5H5D.js +1020 -0
- package/dist/block.tk.pgv-KNLGEASZ.js +935 -0
- package/dist/brainImaging-RO5P7ZR6.js +417 -0
- package/dist/chat-JS4NIRVH.js +142 -0
- package/dist/chat-JS4NIRVH.js.map +7 -0
- package/dist/chunk-2HJ7OD7H.js +252 -0
- package/dist/chunk-2MN5JLZB.js +2878 -0
- package/dist/chunk-353ULT52.js +480 -0
- package/dist/chunk-3JFEWVHR.js +80 -0
- package/dist/chunk-4PHD5H4A.js +226 -0
- package/dist/chunk-56IFQMJK.js +413 -0
- package/dist/chunk-5GQEXGQC.js +256 -0
- package/dist/chunk-5GQEXGQC.js.map +7 -0
- package/dist/chunk-5HXU7P5T.js +276 -0
- package/dist/chunk-5KUQSXQC.js +293 -0
- package/dist/chunk-6ADTREVX.js +1968 -0
- package/dist/chunk-6ADTREVX.js.map +7 -0
- package/dist/chunk-6ISTNHM6.js +144 -0
- package/dist/chunk-6VQ4C735.js +1536 -0
- package/dist/chunk-7M6V7OGP.js +1088 -0
- package/dist/chunk-B5YJ4S2E.js +190 -0
- package/dist/chunk-B65X5UQH.js +518 -0
- package/dist/chunk-BTYCW3D5.js +85 -0
- package/dist/chunk-BW2MEKH4.js +102 -0
- package/dist/chunk-C4NAQESE.js +157 -0
- package/dist/chunk-CDVICC3E.js +272 -0
- package/dist/chunk-D53HBTYQ.js +238 -0
- package/dist/chunk-D7HC37OF.js +297 -0
- package/dist/chunk-DACGCI3Q.js +215 -0
- package/dist/chunk-DDOM4XYV.js +1177 -0
- package/dist/chunk-DDOM4XYV.js.map +7 -0
- package/dist/chunk-DKI7YOTJ.js +196 -0
- package/dist/chunk-DNU4IPD2.js +165 -0
- package/dist/chunk-DOLIDO2R.js +2784 -0
- package/dist/chunk-DRDIOSDW.js +129 -0
- package/dist/chunk-DRFGAPYN.js +158 -0
- package/dist/chunk-ECFK2NV5.js +82 -0
- package/dist/chunk-ETBTUFRA.js +1415 -0
- package/dist/chunk-FMZEW7AB.js +1275 -0
- package/dist/chunk-FN5XPUPH.js +83 -0
- package/dist/chunk-FN5XPUPH.js.map +7 -0
- package/dist/chunk-FRLEROW5.js +279 -0
- package/dist/chunk-FRLEROW5.js.map +7 -0
- package/dist/chunk-GCQYBMGL.js +6364 -0
- package/dist/chunk-H2QGRBCK.js +95 -0
- package/dist/chunk-HPEMEDXB.js +123 -0
- package/dist/chunk-HXT3XNAX.js +228 -0
- package/dist/chunk-ITJ2SXU5.js +467 -0
- package/dist/chunk-ITJ2SXU5.js.map +7 -0
- package/dist/chunk-IZ77ZFBY.js +142 -0
- package/dist/chunk-JMO7ENSD.js +381 -0
- package/dist/chunk-KHOR7BCS.js +217 -0
- package/dist/chunk-LD45BCVM.js +177 -0
- package/dist/chunk-MJM2U67B.js +2327 -0
- package/dist/chunk-MRDHGWNV.js +634 -0
- package/dist/chunk-MXSMHJIP.js +748 -0
- package/dist/chunk-N4D5G5IT.js +402 -0
- package/dist/chunk-NCL2K6UD.js +14 -0
- package/dist/chunk-NNDNKEFI.js +419 -0
- package/dist/chunk-NNDNKEFI.js.map +7 -0
- package/dist/chunk-O552UNW2.js +303 -0
- package/dist/chunk-OA7TPCTX.js +55 -0
- package/dist/chunk-OA7TPCTX.js.map +7 -0
- package/dist/chunk-OARG7PAV.js +401 -0
- package/dist/chunk-OLUMAQOQ.js +91 -0
- package/dist/chunk-OSNUFZAX.js +203 -0
- package/dist/chunk-PN6GLQWD.js +166 -0
- package/dist/chunk-PX7A6LBY.js +15078 -0
- package/dist/chunk-PX7A6LBY.js.map +7 -0
- package/dist/chunk-PZRXLO7V.js +229 -0
- package/dist/chunk-PZY4L6NK.js +1151 -0
- package/dist/chunk-Q6FKQ63P.js +161 -0
- package/dist/chunk-QCTJ6JA2.js +323 -0
- package/dist/chunk-RKV3CP4C.js +258 -0
- package/dist/chunk-RYT4A7AQ.js +2789 -0
- package/dist/chunk-SBEA552U.js +4172 -0
- package/dist/chunk-SEL5UNRC.js +142 -0
- package/dist/chunk-SO4QKH47.js +133 -0
- package/dist/chunk-SWDSU33C.js +797 -0
- package/dist/chunk-SWDSU33C.js.map +7 -0
- package/dist/chunk-TGZA4ETW.js +311 -0
- package/dist/chunk-TGZA4ETW.js.map +7 -0
- package/dist/chunk-TMEYYK4R.js +2676 -0
- package/dist/chunk-TRS2KOXE.js +487 -0
- package/dist/chunk-TRS2KOXE.js.map +7 -0
- package/dist/chunk-TWWRXWWS.js +451 -0
- package/dist/chunk-TWWRXWWS.js.map +7 -0
- package/dist/chunk-UAKYIZJI.js +149 -0
- package/dist/chunk-V4F264MW.js +1143 -0
- package/dist/chunk-W4IQ4XYS.js +467 -0
- package/dist/chunk-WTPVXDJT.js +31 -0
- package/dist/chunk-WVZV43PF.js +459 -0
- package/dist/chunk-X62MQS7A.js +613 -0
- package/dist/chunk-XAIW4R76.js +422 -0
- package/dist/chunk-XF36ROHS.js +4947 -0
- package/dist/chunk-XF36ROHS.js.map +7 -0
- package/dist/chunk-XQGO3DQ2.js +619 -0
- package/dist/chunk-YBDLY45S.js +368 -0
- package/dist/chunk-YEYC4PLD.js +1133 -0
- package/dist/chunk-YEYC4PLD.js.map +7 -0
- package/dist/chunk-YFZH3WDM.js +55 -0
- package/dist/chunk-YUL2RO7I.js +1720 -0
- package/dist/chunk-YUL2RO7I.js.map +7 -0
- package/dist/chunk-ZFFHOEBE.js +117 -0
- package/dist/chunk-ZLBDDGSP.js +1412 -0
- package/dist/chunk-ZOD2EZOP.js +1197 -0
- package/dist/condition-KDKI25VM.js +323 -0
- package/dist/controls-26FVLZRQ.js +35 -0
- package/dist/controls.btns-H4TWTHTW.js +10 -0
- package/dist/controls.config-O6YC7P4M.js +31 -0
- package/dist/correlation-DVDT43OT.js +102 -0
- package/dist/cuminc-T6EYUBUX.js +1143 -0
- package/dist/cuminc.integration.spec-P4YPZXDY.js +669 -0
- package/dist/customdata.inputui-XPXZ7KB5.js +278 -0
- package/dist/dataDownload-46POC5GF.js +320 -0
- package/dist/dataDownload.integration.spec-L7P5YMF7.js +184 -0
- package/dist/databrowser.ui-DQEQXZCP.js +426 -0
- package/dist/dictionary-MBERWWV4.js +90 -0
- package/dist/e2pca-5HU65GVJ.js +341 -0
- package/dist/ep-ECP7H37A.js +1247 -0
- package/dist/expclust.gdc.spec-553FSEDH.js +298 -0
- package/dist/facet-ND335XOF.js +437 -0
- package/dist/frequencyChart-2OHEOWEU.js +371 -0
- package/dist/frequencyChart.integration.spec-NW4DDLRX.js +301 -0
- package/dist/geneExpClustering-GHGBONBF.js +242 -0
- package/dist/geneExpression-UGYGT6DM.js +54 -0
- package/dist/geneExpression-X6HAUFPK.js +310 -0
- package/dist/geneORA-YKXRPEYY.js +272 -0
- package/dist/geneVariant-363FWTVR.js +29 -0
- package/dist/geneVariant-J4O45233.js +32 -0
- package/dist/genefusion.ui-DWAZJDO4.js +242 -0
- package/dist/geneset-64VRPPTK.js +186 -0
- package/dist/genomeBrowser.spec-AN3YXXBS.js +272 -0
- package/dist/grin2-E2WNBPLR.js +1547 -0
- package/dist/grin2-Y57FKOV6.js +1044 -0
- package/dist/grin2-Y57FKOV6.js.map +7 -0
- package/dist/gsea-PNORGHHB.js +43 -0
- package/dist/hierCluster-B7YMJ3UK.js +56 -0
- package/dist/hierCluster-VAQBNVKU.js +60 -0
- package/dist/hierCluster.config-D7MDBQ35.js +32 -0
- package/dist/hierCluster.integration.spec-UHRGPV6T.js +389 -0
- package/dist/hierCluster.interactivity-NJFEZILS.js +45 -0
- package/dist/hierCluster.renderers-GWFH5ZX7.js +21 -0
- package/dist/imagePlot-LWJPXMNK.js +134 -0
- package/dist/importPlot-JBVMBUCU.js +8 -0
- package/dist/launch.adhoc-6GLLB7TX.js +36 -0
- package/dist/leftlabel.sample-3SO3AJ2U.js +249 -0
- package/dist/lollipop-LJEVK7YO.js +159 -0
- package/dist/maf-3EW7QN3S.js +435 -0
- package/dist/maf-3EW7QN3S.js.map +7 -0
- package/dist/maftimeline-YMX542CP.js +584 -0
- package/dist/matrix-CR2EK5EU.js +60 -0
- package/dist/matrix-YI4D3YQI.js +55 -0
- package/dist/matrix.cells-SCLZA3P4.js +30 -0
- package/dist/matrix.config-TOC4QWE7.js +33 -0
- package/dist/matrix.controls-27D3Q4GD.js +31 -0
- package/dist/matrix.data-ETVML2F7.js +35 -0
- package/dist/matrix.dom-QO7BXZ27.js +11 -0
- package/dist/matrix.groups-QMZMZ6Q7.js +26 -0
- package/dist/matrix.integration.spec-DDXKS5GP.js +2936 -0
- package/dist/matrix.interactivity-XTNDVF55.js +36 -0
- package/dist/matrix.layout-NGPK4EEU.js +35 -0
- package/dist/matrix.legend-CS6DNC5V.js +22 -0
- package/dist/matrix.renderers-ILFHUPHQ.js +29 -0
- package/dist/matrix.serieses-3SERD6CV.js +21 -0
- package/dist/matrix.sort-UVS6WHIS.js +27 -0
- package/dist/matrix.sort.unit.spec-DAMINC6B.js +464 -0
- package/dist/matrix.sorterUi-JDGLTLJM.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-M3RXU6B2.js +335 -0
- package/dist/mavb-EC5VS3RS.js +723 -0
- package/dist/mds.fimo-7SXXTBUH.js +509 -0
- package/dist/mds.samplescatterplot-CALFSFR6.js +1541 -0
- package/dist/mds.survivalplot-NRA67V4T.js +474 -0
- package/dist/mutationSignature-43SECPTY.js +72 -0
- package/dist/numericDictTermCluster-2ER4FUKO.js +72 -0
- package/dist/oncomatrix-FOCP66RC.js +287 -0
- package/dist/oncomatrix.spec-XB232WT7.js +439 -0
- package/dist/plot.2dvaf-GSQS5J6Y.js +368 -0
- package/dist/plot.app-RHPEFX47.js +35 -0
- package/dist/plot.barplot-2Q5YF3MU.js +93 -0
- package/dist/plot.boxplot-LTYLWTF4.js +143 -0
- package/dist/plot.brainImaging-EFRI4QV7.js +51 -0
- package/dist/plot.disco-HHYCMRCZ.js +100 -0
- package/dist/plot.dzi-BCTPDUDK.js +33 -0
- package/dist/plot.ssgq-ES2ZP7MO.js +130 -0
- package/dist/plot.vaf2cov-W72Y2IHA.js +250 -0
- package/dist/plot.wsi-TPZXI45Q.js +36 -0
- package/dist/polar-MT3K2WDL.js +179 -0
- package/dist/profile.spec-DOQYKG6P.js +71 -0
- package/dist/profileBarchart-A4UWV2YA.js +260 -0
- package/dist/profileForms-VONTWVOF.js +365 -0
- package/dist/profilePlot-OK5VKWO4.js +50 -0
- package/dist/profileRadar-VLEZJCD7.js +256 -0
- package/dist/profileRadarFacility-QPSSUTB6.js +256 -0
- package/dist/qualitative-RJKAWHQR.js +34 -0
- package/dist/regression-GV73BYCQ.js +57 -0
- package/dist/regression.inputs-PVIJHCRE.js +49 -0
- package/dist/regression.inputs.term-V5I3EP6M.js +49 -0
- package/dist/regression.inputs.values.table-Y37EJUQB.js +46 -0
- package/dist/regression.integration.spec-JD32ODD2.js +777 -0
- package/dist/regression.results-AHAYXYGI.js +31 -0
- package/dist/regression.spec-FGYEES5G.js +699 -0
- package/dist/report-JYIEDDW5.js +220 -0
- package/dist/runChart-CVAWIBA3.js +54 -0
- package/dist/runchart.integration.spec-5Z4IHQU5.js +362 -0
- package/dist/sampleScatter.spec-QNFWS2Y7.js +193 -0
- package/dist/sampleView-GKYHS3WO.js +42 -0
- package/dist/samplelst-CHBS5BGY.js +102 -0
- package/dist/samplematrix-IK4YDAID.js +2189 -0
- package/dist/scatter-NDA5YSCP.js +55 -0
- package/dist/scatter.integration.spec-GV3EIFGT.js +1026 -0
- package/dist/selectGenomeWithTklst-X7RAGKRC.js +125 -0
- package/dist/singleCellPlot-7F735HTR.js +50 -0
- package/dist/singlecell-EO3WYGS7.js +1563 -0
- package/dist/singlecell-YMYLKTSC.js +80 -0
- package/dist/snp-6KN4AWBB.js +73 -0
- package/dist/snplocus-CLM4WHVH.js +199 -0
- package/dist/spliceevent.a53ss.diagram-PKFVC2N4.js +142 -0
- package/dist/spliceevent.exonskip.diagram-XV2Z7AYB.js +268 -0
- package/dist/spliceevent.noeventdiagram-L5L2BJL5.js +451 -0
- package/dist/ssGSEA-W6N4CXMD.js +53 -0
- package/dist/stattable-324FS2HA.js +89 -0
- package/dist/summarizeCnvGeneexp-57LZ5B2Q.js +136 -0
- package/dist/summarizeGeneexpSurvival-UQX3VZUK.js +90 -0
- package/dist/summarizeMutationDiagnosis-5SWO42E4.js +32 -0
- package/dist/summarizeMutationSurvival-EOU5QOB6.js +92 -0
- package/dist/summary-FRIKVPYZ.js +55 -0
- package/dist/summary.integration.spec-WSI3JNTO.js +405 -0
- package/dist/summaryInput-3L7CM52X.js +170 -0
- package/dist/sunburst-HA7UGSXX.js +275 -0
- package/dist/survival-2HZ446Y3.js +41 -0
- package/dist/survival-LJI5JEZZ.js +49 -0
- package/dist/survival.integration.spec-7XVO2WNF.js +601 -0
- package/dist/svgraph-TRPAXTNP.js +1378 -0
- package/dist/svmr-TJOCKTE2.js +3833 -0
- package/dist/table-35RHJK4M.js +193 -0
- package/dist/termCollection-JS6N5TAP.js +80 -0
- package/dist/termInfo-5USFZGDB.js +9 -0
- package/dist/tk-4ARNGTEQ.js +37 -0
- package/dist/tp.ui-QZEMGVEH.js +1450 -0
- package/dist/tvs.dtcnv.continuous-4K7B7FXF.js +65 -0
- package/dist/tvs.numeric-FCC2EY62.js +355 -0
- package/dist/tvs.samplelst-IUSDLB6P.js +95 -0
- package/dist/violin-I5JO56GZ.js +47 -0
- package/dist/violin.integration.spec-5WVLT3DW.js +1425 -0
- package/dist/violin.interactivity-EFFBMTN2.js +39 -0
- package/dist/violin.renderer-Z3AIV5RH.js +31 -0
- package/dist/vocabulary-4PHACFSG.js +32 -0
- package/package.json +3 -3
- package/dist/2dmaf-E4NOGWWO.js +0 -1364
- package/dist/AIProjectAdmin-3QDXMCOK.js +0 -780
- package/dist/AppHeader-IFZ57DJE.js +0 -813
- package/dist/BoxPlot-GXDTPRA5.js +0 -44
- package/dist/CorrelationVolcano-S4GUYIPT.js +0 -616
- package/dist/DifferentialAnalysis-YLKYWPUT.js +0 -237
- package/dist/Disco-OQMP3HRQ.js +0 -3089
- package/dist/Disco.UI-XB3XQP33.js +0 -238
- package/dist/DziViewer-UIRNTFNS.js +0 -16328
- package/dist/GB-KDPJTOLP.js +0 -1099
- package/dist/HicApp-XJERMLKH.js +0 -2218
- package/dist/NumBinaryEditor-5MWWWNLW.js +0 -259
- package/dist/NumBinaryEditor.unit.spec-ROGT5FOH.js +0 -277
- package/dist/NumContEditor-RRCB4CKG.js +0 -98
- package/dist/NumContEditor.unit.spec-AJTKOF7W.js +0 -160
- package/dist/NumCustomBinEditor-3GJITZ7V.js +0 -29
- package/dist/NumCustomBinEditor.unit.spec-DNBDZSHT.js +0 -275
- package/dist/NumDiscreteEditor-TARWA6CZ.js +0 -145
- package/dist/NumDiscreteEditor.unit.spec-TCSLTQ25.js +0 -193
- package/dist/NumRegularBinEditor-QF5ALVV4.js +0 -29
- package/dist/NumRegularBinEditor.unit.spec-GFNDBWNM.js +0 -220
- package/dist/NumSplineEditor-MOEUXR34.js +0 -181
- package/dist/NumSplineEditor.unit.spec-XPJOOXS4.js +0 -190
- package/dist/NumericDensity-JDE263EQ.js +0 -29
- package/dist/NumericDensity.unit.spec-RX6UGV56.js +0 -212
- package/dist/NumericHandler-XM7LUYHN.js +0 -30
- package/dist/NumericHandler.unit.spec-5EYRMII7.js +0 -210
- package/dist/SC-Z4KBNK7P.js +0 -714
- package/dist/Volcano-WYJLKM4K.js +0 -1018
- package/dist/WSIViewer-3RMG3VOA.js +0 -46959
- package/dist/WsiSamplesPlot-PAWNKI7R.js +0 -153
- package/dist/adSandbox-7H5H46SE.js +0 -29
- package/dist/alphaGenome-PODWDV5T.js +0 -170
- package/dist/app-JPURIGQW.js +0 -28
- package/dist/app-YL7S55T5.js +0 -54
- package/dist/bam-XEO47VYA.js +0 -842
- package/dist/barchart-B5M6SSJH.js +0 -48
- package/dist/barchart.data-6A6WVV4Y.js +0 -30
- package/dist/barchart.events-2GNB5KWY.js +0 -44
- package/dist/barchart.integration.spec-JEOTKIWC.js +0 -1600
- package/dist/bars.renderer-NLUBMQEO.js +0 -12
- package/dist/bars.settings-UQZ63KU4.js +0 -8
- package/dist/block-B7WMYLPO.js +0 -6291
- package/dist/block.init-KCIXEYQC.js +0 -29
- package/dist/block.mds.expressionrank-RYZXAH5Y.js +0 -350
- package/dist/block.mds.geneboxplot-LNWUEI6N.js +0 -819
- package/dist/block.mds.junction-CVIY7QMD.js +0 -1536
- package/dist/block.mds.svcnv-EUGWHSCA.js +0 -6792
- package/dist/block.svg-QBLNIGUF.js +0 -155
- package/dist/block.tk.aicheck-U6NG22FX.js +0 -274
- package/dist/block.tk.ase-U3TRZAOH.js +0 -356
- package/dist/block.tk.bam-6Y6YFVR2.js +0 -1897
- package/dist/block.tk.bedgraphdot-O3VCFX6K.js +0 -375
- package/dist/block.tk.bigwig.ui-DNBJAF72.js +0 -202
- package/dist/block.tk.hicstraw-2EIFJX7E.js +0 -814
- package/dist/block.tk.junction-UXSO5EJP.js +0 -2355
- package/dist/block.tk.junction.textmatrixui-HQ6ZKCHM.js +0 -190
- package/dist/block.tk.ld-NEB4F3UG.js +0 -90
- package/dist/block.tk.menu-BN4JPJSD.js +0 -1020
- package/dist/block.tk.pgv-A4QFVSPF.js +0 -935
- package/dist/brainImaging-ESQGNGZH.js +0 -417
- package/dist/chat-AY7RCQYY.js +0 -145
- package/dist/chat-AY7RCQYY.js.map +0 -7
- package/dist/chunk-236ZRGXA.js +0 -297
- package/dist/chunk-2DZWOGEH.js +0 -272
- package/dist/chunk-2HQJMZNY.js +0 -14
- package/dist/chunk-2MRZFUHZ.js +0 -165
- package/dist/chunk-2ZEORJCF.js +0 -215
- package/dist/chunk-3WA7SJTR.js +0 -82
- package/dist/chunk-47HG7LGD.js +0 -133
- package/dist/chunk-47X254B7.js +0 -91
- package/dist/chunk-4TPDYPGD.js +0 -1098
- package/dist/chunk-4TPDYPGD.js.map +0 -7
- package/dist/chunk-4WA2H5DE.js +0 -75
- package/dist/chunk-4WA2H5DE.js.map +0 -7
- package/dist/chunk-4XDKCFFT.js +0 -613
- package/dist/chunk-5CJJLBUZ.js +0 -229
- package/dist/chunk-5TDKRZN5.js +0 -1931
- package/dist/chunk-5TDKRZN5.js.map +0 -7
- package/dist/chunk-6MSJ3TLQ.js +0 -1151
- package/dist/chunk-7JAFXNAL.js +0 -256
- package/dist/chunk-7JAFXNAL.js.map +0 -7
- package/dist/chunk-7LKSKJCV.js +0 -480
- package/dist/chunk-7P67W6NF.js +0 -190
- package/dist/chunk-7RIC35AF.js +0 -129
- package/dist/chunk-A76B53VT.js +0 -158
- package/dist/chunk-AZ276Z7T.js +0 -2327
- package/dist/chunk-B662XJMJ.js +0 -748
- package/dist/chunk-BK7GIOC5.js +0 -4924
- package/dist/chunk-BK7GIOC5.js.map +0 -7
- package/dist/chunk-BP2F2GRB.js +0 -2676
- package/dist/chunk-BRO4KZSZ.js +0 -417
- package/dist/chunk-BRO4KZSZ.js.map +0 -7
- package/dist/chunk-C5YNONHQ.js +0 -144
- package/dist/chunk-CT3LPTWW.js +0 -1197
- package/dist/chunk-CZTC4MTE.js +0 -161
- package/dist/chunk-DA5VGV5L.js +0 -280
- package/dist/chunk-DA5VGV5L.js.map +0 -7
- package/dist/chunk-DPU66MZ7.js +0 -381
- package/dist/chunk-E6NE5IWR.js +0 -102
- package/dist/chunk-ECKWM4HB.js +0 -1536
- package/dist/chunk-EEX5VPJG.js +0 -467
- package/dist/chunk-EIMEUZP2.js +0 -323
- package/dist/chunk-ETFPL4UP.js +0 -4172
- package/dist/chunk-F3FTQWTA.js +0 -303
- package/dist/chunk-F4APZ34G.js +0 -55
- package/dist/chunk-FOXJTDTH.js +0 -166
- package/dist/chunk-FYTZCTJC.js +0 -1157
- package/dist/chunk-FYTZCTJC.js.map +0 -7
- package/dist/chunk-GBS5I24E.js +0 -1706
- package/dist/chunk-GBS5I24E.js.map +0 -7
- package/dist/chunk-GBWRKJAH.js +0 -413
- package/dist/chunk-GG67VPVD.js +0 -238
- package/dist/chunk-GZ2B634M.js +0 -123
- package/dist/chunk-HEFXMCSF.js +0 -6364
- package/dist/chunk-I26R4NJJ.js +0 -228
- package/dist/chunk-I2GCD26Y.js +0 -55
- package/dist/chunk-I2GCD26Y.js.map +0 -7
- package/dist/chunk-ICNJQHQZ.js +0 -117
- package/dist/chunk-IPAGDFO4.js +0 -80
- package/dist/chunk-J2E4FALN.js +0 -1415
- package/dist/chunk-JXHU2FIA.js +0 -2789
- package/dist/chunk-K7LZ77GD.js +0 -468
- package/dist/chunk-K7LZ77GD.js.map +0 -7
- package/dist/chunk-KACWSU3U.js +0 -487
- package/dist/chunk-KACWSU3U.js.map +0 -7
- package/dist/chunk-KGSCQRQ5.js +0 -203
- package/dist/chunk-KGYPMYQD.js +0 -1143
- package/dist/chunk-L3PMRBTA.js +0 -422
- package/dist/chunk-M7QVMSRW.js +0 -293
- package/dist/chunk-MG6GRQKO.js +0 -459
- package/dist/chunk-N5VBIEH5.js +0 -1412
- package/dist/chunk-NRYOB7WU.js +0 -252
- package/dist/chunk-NXOWHUR4.js +0 -311
- package/dist/chunk-NXOWHUR4.js.map +0 -7
- package/dist/chunk-OFQV6PRB.js +0 -1275
- package/dist/chunk-OMO754MK.js +0 -177
- package/dist/chunk-OQSP66C6.js +0 -226
- package/dist/chunk-OS46MR72.js +0 -368
- package/dist/chunk-PBJFLQGL.js +0 -142
- package/dist/chunk-PMZS3SHH.js +0 -2877
- package/dist/chunk-PPJSDC3Z.js +0 -157
- package/dist/chunk-QIS45Z4Y.js +0 -2784
- package/dist/chunk-RCVZ4L7K.js +0 -402
- package/dist/chunk-ROWCKPNW.js +0 -1088
- package/dist/chunk-RQUXELHE.js +0 -276
- package/dist/chunk-RYRCMHYR.js +0 -196
- package/dist/chunk-S7EKSDVS.js +0 -258
- package/dist/chunk-SN5QKRXO.js +0 -85
- package/dist/chunk-TZRD3FPN.js +0 -634
- package/dist/chunk-U5QRRS7K.js +0 -619
- package/dist/chunk-UOMRXQNW.js +0 -401
- package/dist/chunk-UT6W4ZZL.js +0 -15048
- package/dist/chunk-UT6W4ZZL.js.map +0 -7
- package/dist/chunk-UZV3QI5M.js +0 -518
- package/dist/chunk-VALBVQXS.js +0 -217
- package/dist/chunk-VDR5JXI2.js +0 -444
- package/dist/chunk-VDR5JXI2.js.map +0 -7
- package/dist/chunk-W4D2EYE4.js +0 -95
- package/dist/chunk-XATIKUGU.js +0 -142
- package/dist/chunk-ZHWC5SJP.js +0 -797
- package/dist/chunk-ZHWC5SJP.js.map +0 -7
- package/dist/chunk-ZL4CNBYY.js +0 -149
- package/dist/chunk-ZQ7L66GP.js +0 -31
- package/dist/condition-24HPVH23.js +0 -323
- package/dist/controls-5CSAKANR.js +0 -35
- package/dist/controls.btns-QLLBCT65.js +0 -10
- package/dist/controls.config-H4FMU5LI.js +0 -31
- package/dist/correlation-RB77VSXB.js +0 -102
- package/dist/cuminc-YZSLH5IO.js +0 -1143
- package/dist/cuminc.integration.spec-MZPT3Y5A.js +0 -669
- package/dist/customdata.inputui-CBTZFODT.js +0 -278
- package/dist/dataDownload-ZTGRVI4Q.js +0 -320
- package/dist/dataDownload.integration.spec-Q6GUTUYD.js +0 -184
- package/dist/databrowser.ui-V7E6CLUZ.js +0 -426
- package/dist/dictionary-RPC5OZMM.js +0 -90
- package/dist/e2pca-WDQHMAUM.js +0 -341
- package/dist/ep-NAM34BBI.js +0 -1247
- package/dist/expclust.gdc.spec-QB4GVDJA.js +0 -298
- package/dist/facet-DOXBBIG6.js +0 -437
- package/dist/frequencyChart-GLOIGP3T.js +0 -371
- package/dist/frequencyChart.integration.spec-B7NBBLH2.js +0 -301
- package/dist/geneExpClustering-B4S6GFNT.js +0 -242
- package/dist/geneExpression-DMU4AQP6.js +0 -310
- package/dist/geneExpression-MVVXRNEY.js +0 -54
- package/dist/geneORA-XDAITCQF.js +0 -272
- package/dist/geneVariant-N6IGEIRR.js +0 -29
- package/dist/geneVariant-QYLA2V6J.js +0 -32
- package/dist/genefusion.ui-FRBMNK7V.js +0 -242
- package/dist/geneset-GZYNBG7Y.js +0 -186
- package/dist/genomeBrowser.spec-WFIVQSE7.js +0 -272
- package/dist/grin2-I6GJF35U.js +0 -882
- package/dist/grin2-I6GJF35U.js.map +0 -7
- package/dist/grin2-ZKNNZXON.js +0 -1547
- package/dist/gsea-GFGAEC4K.js +0 -43
- package/dist/hierCluster-MF4TI3E4.js +0 -60
- package/dist/hierCluster-SDJMQLOQ.js +0 -56
- package/dist/hierCluster.config-RMEX3VTC.js +0 -32
- package/dist/hierCluster.integration.spec-3H63OHMU.js +0 -389
- package/dist/hierCluster.interactivity-4DZBRQ6P.js +0 -45
- package/dist/hierCluster.renderers-UOW7BI6N.js +0 -21
- package/dist/imagePlot-P2UHJRSL.js +0 -134
- package/dist/importPlot-PPCMNVOW.js +0 -8
- package/dist/launch.adhoc-RJWUEVRA.js +0 -36
- package/dist/leftlabel.sample-OYP6MICL.js +0 -249
- package/dist/lollipop-BXQOWLGO.js +0 -159
- package/dist/maf-YJJO773K.js +0 -448
- package/dist/maf-YJJO773K.js.map +0 -7
- package/dist/maftimeline-GHKDDWYR.js +0 -584
- package/dist/matrix-FWDLHZYR.js +0 -60
- package/dist/matrix-YMJFP53F.js +0 -55
- package/dist/matrix.cells-JH7FPY3E.js +0 -30
- package/dist/matrix.config-HIHOLDCE.js +0 -33
- package/dist/matrix.controls-EKZ543FY.js +0 -31
- package/dist/matrix.data-NKAZI2BF.js +0 -35
- package/dist/matrix.dom-RGZ52GJ2.js +0 -11
- package/dist/matrix.groups-BO53ZXXV.js +0 -26
- package/dist/matrix.integration.spec-BXTATNAC.js +0 -2936
- package/dist/matrix.interactivity-UGUMKCFN.js +0 -36
- package/dist/matrix.layout-WBIF5QTG.js +0 -35
- package/dist/matrix.legend-P3GFCXXK.js +0 -22
- package/dist/matrix.renderers-I54IHQ3S.js +0 -29
- package/dist/matrix.serieses-R2T57OYI.js +0 -21
- package/dist/matrix.sort-3GCA2GDU.js +0 -27
- package/dist/matrix.sort.unit.spec-AXGPCZZD.js +0 -464
- package/dist/matrix.sorterUi-QWRK6OGE.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-H7GUVWRJ.js +0 -335
- package/dist/mavb-4EECWXYX.js +0 -723
- package/dist/mds.fimo-NHZOY43X.js +0 -509
- package/dist/mds.samplescatterplot-7A5IZ6W7.js +0 -1541
- package/dist/mds.survivalplot-SQDPUFQE.js +0 -474
- package/dist/mutationSignature-QH7PZYKL.js +0 -72
- package/dist/numericDictTermCluster-X5SGSC5K.js +0 -72
- package/dist/oncomatrix-M4C4XPQK.js +0 -287
- package/dist/oncomatrix.spec-3C642O7O.js +0 -439
- package/dist/plot.2dvaf-TILP7J53.js +0 -368
- package/dist/plot.app-DE2UQP2M.js +0 -35
- package/dist/plot.barplot-FJHS765K.js +0 -93
- package/dist/plot.boxplot-YRSHGNYZ.js +0 -143
- package/dist/plot.brainImaging-JV4OUVJY.js +0 -51
- package/dist/plot.disco-DBVPBMLG.js +0 -100
- package/dist/plot.dzi-O2OA4EBK.js +0 -33
- package/dist/plot.ssgq-YFQEZQYK.js +0 -130
- package/dist/plot.vaf2cov-YNFP5LJ4.js +0 -250
- package/dist/plot.wsi-DJB7TDIS.js +0 -36
- package/dist/polar-K5Z5FYKV.js +0 -179
- package/dist/profile.spec-A6EADWEC.js +0 -71
- package/dist/profileBarchart-EFLPJK2P.js +0 -260
- package/dist/profileForms-TG35YNLD.js +0 -365
- package/dist/profilePlot-2EW2XVTK.js +0 -50
- package/dist/profileRadar-AKUYC2O5.js +0 -256
- package/dist/profileRadarFacility-EAT66XTX.js +0 -256
- package/dist/qualitative-PHQU5DXE.js +0 -34
- package/dist/regression-EOMJRRDO.js +0 -57
- package/dist/regression.inputs-LIH5X2JM.js +0 -49
- package/dist/regression.inputs.term-OO4RZ3QB.js +0 -49
- package/dist/regression.inputs.values.table-E7WCTO2L.js +0 -46
- package/dist/regression.integration.spec-62VEQP6X.js +0 -777
- package/dist/regression.results-WAHFJ6NA.js +0 -31
- package/dist/regression.spec-IBIOTZVX.js +0 -699
- package/dist/report-MKDJXHGY.js +0 -220
- package/dist/runChart-ETM2EETF.js +0 -54
- package/dist/runchart.integration.spec-QFA4XBKB.js +0 -362
- package/dist/sampleScatter.spec-N4N7ZGZF.js +0 -193
- package/dist/sampleView-JTY3RV7I.js +0 -42
- package/dist/samplelst-RRUMBVT6.js +0 -102
- package/dist/samplematrix-L37O664Y.js +0 -2189
- package/dist/scatter-E5QHW32W.js +0 -55
- package/dist/scatter.integration.spec-FNVAJSVU.js +0 -1026
- package/dist/selectGenomeWithTklst-J6VXCYGG.js +0 -125
- package/dist/singleCellPlot-S6S6CKYX.js +0 -50
- package/dist/singlecell-4BMIKFY4.js +0 -80
- package/dist/singlecell-B4TNI23F.js +0 -1563
- package/dist/snp-PAUQ24NZ.js +0 -73
- package/dist/snplocus-HVFYZTEE.js +0 -199
- package/dist/spliceevent.a53ss.diagram-GGGHVNBF.js +0 -142
- package/dist/spliceevent.exonskip.diagram-HLMFD6LJ.js +0 -268
- package/dist/spliceevent.noeventdiagram-CKZ3BZ7Y.js +0 -451
- package/dist/ssGSEA-UGT4GH55.js +0 -53
- package/dist/stattable-6JWMALGB.js +0 -89
- package/dist/summarizeCnvGeneexp-BJOQY62E.js +0 -136
- package/dist/summarizeGeneexpSurvival-4HDHL7PE.js +0 -90
- package/dist/summarizeMutationDiagnosis-TDWO5CKU.js +0 -32
- package/dist/summarizeMutationSurvival-CJJFABOX.js +0 -92
- package/dist/summary-WOAXXIHG.js +0 -55
- package/dist/summary.integration.spec-GM73ERMN.js +0 -405
- package/dist/summaryInput-FD4SONTY.js +0 -170
- package/dist/sunburst-3LCJTBRN.js +0 -275
- package/dist/survival-A3A7IVXT.js +0 -41
- package/dist/survival-XF72VMM6.js +0 -49
- package/dist/survival.integration.spec-AU7MCAQV.js +0 -601
- package/dist/svgraph-BEMS4JDJ.js +0 -1378
- package/dist/svmr-CDEMTZPK.js +0 -3833
- package/dist/table-WYF6QCGB.js +0 -193
- package/dist/termCollection-BVQMNVY7.js +0 -80
- package/dist/termInfo-JXLIVCSO.js +0 -9
- package/dist/tk-TGIIJYBO.js +0 -37
- package/dist/tp.ui-USYF67P7.js +0 -1450
- package/dist/tvs.dtcnv.continuous-7SCTSFK3.js +0 -65
- package/dist/tvs.numeric-OLVW6US3.js +0 -355
- package/dist/tvs.samplelst-BHZHCX5V.js +0 -95
- package/dist/violin-OEOWVIZF.js +0 -47
- package/dist/violin.integration.spec-AW2U3RHO.js +0 -1425
- package/dist/violin.interactivity-3O2UDNPQ.js +0 -39
- package/dist/violin.renderer-W26FA6M7.js +0 -31
- package/dist/vocabulary-BIQYDKVY.js +0 -32
- /package/dist/{2dmaf-E4NOGWWO.js.map → 2dmaf-VLW5XJ4O.js.map} +0 -0
- /package/dist/{AIProjectAdmin-3QDXMCOK.js.map → AIProjectAdmin-X3TBCRPR.js.map} +0 -0
- /package/dist/{AppHeader-IFZ57DJE.js.map → AppHeader-YA7FCKVM.js.map} +0 -0
- /package/dist/{BoxPlot-GXDTPRA5.js.map → BoxPlot-PAZYARCX.js.map} +0 -0
- /package/dist/{CorrelationVolcano-S4GUYIPT.js.map → CorrelationVolcano-S35GWKV5.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-YLKYWPUT.js.map → DifferentialAnalysis-DTDFAUXT.js.map} +0 -0
- /package/dist/{Disco-OQMP3HRQ.js.map → Disco-OE6YY3MH.js.map} +0 -0
- /package/dist/{Disco.UI-XB3XQP33.js.map → Disco.UI-2CCWETSM.js.map} +0 -0
- /package/dist/{DziViewer-UIRNTFNS.js.map → DziViewer-OHPZOH72.js.map} +0 -0
- /package/dist/{GB-KDPJTOLP.js.map → GB-LIHKHJ32.js.map} +0 -0
- /package/dist/{HicApp-XJERMLKH.js.map → HicApp-6AYCPCW6.js.map} +0 -0
- /package/dist/{NumBinaryEditor-5MWWWNLW.js.map → NumBinaryEditor-ONJB4DKM.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-ROGT5FOH.js.map → NumBinaryEditor.unit.spec-Y6DGBAIB.js.map} +0 -0
- /package/dist/{NumContEditor-RRCB4CKG.js.map → NumContEditor-6WGAI3PH.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-AJTKOF7W.js.map → NumContEditor.unit.spec-6LT5MALH.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-3GJITZ7V.js.map → NumCustomBinEditor-K4OD7SWD.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-DNBDZSHT.js.map → NumCustomBinEditor.unit.spec-O6QYV6Q4.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-TARWA6CZ.js.map → NumDiscreteEditor-AFLINO62.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-TCSLTQ25.js.map → NumDiscreteEditor.unit.spec-3VWWSS24.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-QF5ALVV4.js.map → NumRegularBinEditor-IRKC5SVF.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-GFNDBWNM.js.map → NumRegularBinEditor.unit.spec-2ZTI7HR2.js.map} +0 -0
- /package/dist/{NumSplineEditor-MOEUXR34.js.map → NumSplineEditor-DBW6XE4N.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-XPJOOXS4.js.map → NumSplineEditor.unit.spec-645ZQXXL.js.map} +0 -0
- /package/dist/{NumericDensity-JDE263EQ.js.map → NumericDensity-27SM2P45.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-RX6UGV56.js.map → NumericDensity.unit.spec-DM7PPSMV.js.map} +0 -0
- /package/dist/{NumericHandler-XM7LUYHN.js.map → NumericHandler-KFQ2OSUR.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-5EYRMII7.js.map → NumericHandler.unit.spec-RNXGCYH7.js.map} +0 -0
- /package/dist/{SC-Z4KBNK7P.js.map → SC-SUUATZYR.js.map} +0 -0
- /package/dist/{Volcano-WYJLKM4K.js.map → Volcano-DEKTKEEZ.js.map} +0 -0
- /package/dist/{WSIViewer-3RMG3VOA.js.map → WSIViewer-SWX4OXHY.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-PAWNKI7R.js.map → WsiSamplesPlot-OCVLBBBD.js.map} +0 -0
- /package/dist/{adSandbox-7H5H46SE.js.map → adSandbox-VGHHJWLL.js.map} +0 -0
- /package/dist/{alphaGenome-PODWDV5T.js.map → alphaGenome-YOJWFJCS.js.map} +0 -0
- /package/dist/{app-JPURIGQW.js.map → app-3TXV35H5.js.map} +0 -0
- /package/dist/{app-YL7S55T5.js.map → app-NUTP544R.js.map} +0 -0
- /package/dist/{bam-XEO47VYA.js.map → bam-LXDFDUBH.js.map} +0 -0
- /package/dist/{barchart-B5M6SSJH.js.map → barchart-P4BTYT5K.js.map} +0 -0
- /package/dist/{barchart.data-6A6WVV4Y.js.map → barchart.data-6WIS5D4I.js.map} +0 -0
- /package/dist/{barchart.events-2GNB5KWY.js.map → barchart.events-V4ANDWUH.js.map} +0 -0
- /package/dist/{barchart.integration.spec-JEOTKIWC.js.map → barchart.integration.spec-QU3Y3YHM.js.map} +0 -0
- /package/dist/{bars.renderer-NLUBMQEO.js.map → bars.renderer-4N4QOUNI.js.map} +0 -0
- /package/dist/{bars.settings-UQZ63KU4.js.map → bars.settings-SDU7PZOS.js.map} +0 -0
- /package/dist/{block-B7WMYLPO.js.map → block-OGJAZG3E.js.map} +0 -0
- /package/dist/{block.init-KCIXEYQC.js.map → block.init-SNZKGO2G.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-RYZXAH5Y.js.map → block.mds.expressionrank-WYV55X5Y.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-LNWUEI6N.js.map → block.mds.geneboxplot-2LVYSSSU.js.map} +0 -0
- /package/dist/{block.mds.junction-CVIY7QMD.js.map → block.mds.junction-YY3P64U5.js.map} +0 -0
- /package/dist/{block.mds.svcnv-EUGWHSCA.js.map → block.mds.svcnv-JFNOLZX3.js.map} +0 -0
- /package/dist/{block.svg-QBLNIGUF.js.map → block.svg-JBR6OYAD.js.map} +0 -0
- /package/dist/{block.tk.aicheck-U6NG22FX.js.map → block.tk.aicheck-2XDMLOND.js.map} +0 -0
- /package/dist/{block.tk.ase-U3TRZAOH.js.map → block.tk.ase-TC3NY65S.js.map} +0 -0
- /package/dist/{block.tk.bam-6Y6YFVR2.js.map → block.tk.bam-YA32442V.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-O3VCFX6K.js.map → block.tk.bedgraphdot-TRNM4O4F.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-DNBJAF72.js.map → block.tk.bigwig.ui-6JJG42M3.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-2EIFJX7E.js.map → block.tk.hicstraw-HEQXBJZN.js.map} +0 -0
- /package/dist/{block.tk.junction-UXSO5EJP.js.map → block.tk.junction-7LWL3N6V.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-HQ6ZKCHM.js.map → block.tk.junction.textmatrixui-6CTLQ2M7.js.map} +0 -0
- /package/dist/{block.tk.ld-NEB4F3UG.js.map → block.tk.ld-SG4ZJ5VB.js.map} +0 -0
- /package/dist/{block.tk.menu-BN4JPJSD.js.map → block.tk.menu-FNKM5H5D.js.map} +0 -0
- /package/dist/{block.tk.pgv-A4QFVSPF.js.map → block.tk.pgv-KNLGEASZ.js.map} +0 -0
- /package/dist/{brainImaging-ESQGNGZH.js.map → brainImaging-RO5P7ZR6.js.map} +0 -0
- /package/dist/{chunk-NRYOB7WU.js.map → chunk-2HJ7OD7H.js.map} +0 -0
- /package/dist/{chunk-PMZS3SHH.js.map → chunk-2MN5JLZB.js.map} +0 -0
- /package/dist/{chunk-7LKSKJCV.js.map → chunk-353ULT52.js.map} +0 -0
- /package/dist/{chunk-IPAGDFO4.js.map → chunk-3JFEWVHR.js.map} +0 -0
- /package/dist/{chunk-OQSP66C6.js.map → chunk-4PHD5H4A.js.map} +0 -0
- /package/dist/{chunk-GBWRKJAH.js.map → chunk-56IFQMJK.js.map} +0 -0
- /package/dist/{chunk-RQUXELHE.js.map → chunk-5HXU7P5T.js.map} +0 -0
- /package/dist/{chunk-M7QVMSRW.js.map → chunk-5KUQSXQC.js.map} +0 -0
- /package/dist/{chunk-C5YNONHQ.js.map → chunk-6ISTNHM6.js.map} +0 -0
- /package/dist/{chunk-ECKWM4HB.js.map → chunk-6VQ4C735.js.map} +0 -0
- /package/dist/{chunk-ROWCKPNW.js.map → chunk-7M6V7OGP.js.map} +0 -0
- /package/dist/{chunk-7P67W6NF.js.map → chunk-B5YJ4S2E.js.map} +0 -0
- /package/dist/{chunk-UZV3QI5M.js.map → chunk-B65X5UQH.js.map} +0 -0
- /package/dist/{chunk-SN5QKRXO.js.map → chunk-BTYCW3D5.js.map} +0 -0
- /package/dist/{chunk-E6NE5IWR.js.map → chunk-BW2MEKH4.js.map} +0 -0
- /package/dist/{chunk-PPJSDC3Z.js.map → chunk-C4NAQESE.js.map} +0 -0
- /package/dist/{chunk-2DZWOGEH.js.map → chunk-CDVICC3E.js.map} +0 -0
- /package/dist/{chunk-GG67VPVD.js.map → chunk-D53HBTYQ.js.map} +0 -0
- /package/dist/{chunk-236ZRGXA.js.map → chunk-D7HC37OF.js.map} +0 -0
- /package/dist/{chunk-2ZEORJCF.js.map → chunk-DACGCI3Q.js.map} +0 -0
- /package/dist/{chunk-RYRCMHYR.js.map → chunk-DKI7YOTJ.js.map} +0 -0
- /package/dist/{chunk-2MRZFUHZ.js.map → chunk-DNU4IPD2.js.map} +0 -0
- /package/dist/{chunk-QIS45Z4Y.js.map → chunk-DOLIDO2R.js.map} +0 -0
- /package/dist/{chunk-7RIC35AF.js.map → chunk-DRDIOSDW.js.map} +0 -0
- /package/dist/{chunk-A76B53VT.js.map → chunk-DRFGAPYN.js.map} +0 -0
- /package/dist/{chunk-3WA7SJTR.js.map → chunk-ECFK2NV5.js.map} +0 -0
- /package/dist/{chunk-J2E4FALN.js.map → chunk-ETBTUFRA.js.map} +0 -0
- /package/dist/{chunk-OFQV6PRB.js.map → chunk-FMZEW7AB.js.map} +0 -0
- /package/dist/{chunk-HEFXMCSF.js.map → chunk-GCQYBMGL.js.map} +0 -0
- /package/dist/{chunk-W4D2EYE4.js.map → chunk-H2QGRBCK.js.map} +0 -0
- /package/dist/{chunk-GZ2B634M.js.map → chunk-HPEMEDXB.js.map} +0 -0
- /package/dist/{chunk-I26R4NJJ.js.map → chunk-HXT3XNAX.js.map} +0 -0
- /package/dist/{chunk-XATIKUGU.js.map → chunk-IZ77ZFBY.js.map} +0 -0
- /package/dist/{chunk-DPU66MZ7.js.map → chunk-JMO7ENSD.js.map} +0 -0
- /package/dist/{chunk-VALBVQXS.js.map → chunk-KHOR7BCS.js.map} +0 -0
- /package/dist/{chunk-OMO754MK.js.map → chunk-LD45BCVM.js.map} +0 -0
- /package/dist/{chunk-AZ276Z7T.js.map → chunk-MJM2U67B.js.map} +0 -0
- /package/dist/{chunk-TZRD3FPN.js.map → chunk-MRDHGWNV.js.map} +0 -0
- /package/dist/{chunk-B662XJMJ.js.map → chunk-MXSMHJIP.js.map} +0 -0
- /package/dist/{chunk-RCVZ4L7K.js.map → chunk-N4D5G5IT.js.map} +0 -0
- /package/dist/{chunk-2HQJMZNY.js.map → chunk-NCL2K6UD.js.map} +0 -0
- /package/dist/{chunk-F3FTQWTA.js.map → chunk-O552UNW2.js.map} +0 -0
- /package/dist/{chunk-UOMRXQNW.js.map → chunk-OARG7PAV.js.map} +0 -0
- /package/dist/{chunk-47X254B7.js.map → chunk-OLUMAQOQ.js.map} +0 -0
- /package/dist/{chunk-KGSCQRQ5.js.map → chunk-OSNUFZAX.js.map} +0 -0
- /package/dist/{chunk-FOXJTDTH.js.map → chunk-PN6GLQWD.js.map} +0 -0
- /package/dist/{chunk-5CJJLBUZ.js.map → chunk-PZRXLO7V.js.map} +0 -0
- /package/dist/{chunk-6MSJ3TLQ.js.map → chunk-PZY4L6NK.js.map} +0 -0
- /package/dist/{chunk-CZTC4MTE.js.map → chunk-Q6FKQ63P.js.map} +0 -0
- /package/dist/{chunk-EIMEUZP2.js.map → chunk-QCTJ6JA2.js.map} +0 -0
- /package/dist/{chunk-S7EKSDVS.js.map → chunk-RKV3CP4C.js.map} +0 -0
- /package/dist/{chunk-JXHU2FIA.js.map → chunk-RYT4A7AQ.js.map} +0 -0
- /package/dist/{chunk-ETFPL4UP.js.map → chunk-SBEA552U.js.map} +0 -0
- /package/dist/{chunk-PBJFLQGL.js.map → chunk-SEL5UNRC.js.map} +0 -0
- /package/dist/{chunk-47HG7LGD.js.map → chunk-SO4QKH47.js.map} +0 -0
- /package/dist/{chunk-BP2F2GRB.js.map → chunk-TMEYYK4R.js.map} +0 -0
- /package/dist/{chunk-ZL4CNBYY.js.map → chunk-UAKYIZJI.js.map} +0 -0
- /package/dist/{chunk-KGYPMYQD.js.map → chunk-V4F264MW.js.map} +0 -0
- /package/dist/{chunk-EEX5VPJG.js.map → chunk-W4IQ4XYS.js.map} +0 -0
- /package/dist/{chunk-ZQ7L66GP.js.map → chunk-WTPVXDJT.js.map} +0 -0
- /package/dist/{chunk-MG6GRQKO.js.map → chunk-WVZV43PF.js.map} +0 -0
- /package/dist/{chunk-4XDKCFFT.js.map → chunk-X62MQS7A.js.map} +0 -0
- /package/dist/{chunk-L3PMRBTA.js.map → chunk-XAIW4R76.js.map} +0 -0
- /package/dist/{chunk-U5QRRS7K.js.map → chunk-XQGO3DQ2.js.map} +0 -0
- /package/dist/{chunk-OS46MR72.js.map → chunk-YBDLY45S.js.map} +0 -0
- /package/dist/{chunk-F4APZ34G.js.map → chunk-YFZH3WDM.js.map} +0 -0
- /package/dist/{chunk-ICNJQHQZ.js.map → chunk-ZFFHOEBE.js.map} +0 -0
- /package/dist/{chunk-N5VBIEH5.js.map → chunk-ZLBDDGSP.js.map} +0 -0
- /package/dist/{chunk-CT3LPTWW.js.map → chunk-ZOD2EZOP.js.map} +0 -0
- /package/dist/{condition-24HPVH23.js.map → condition-KDKI25VM.js.map} +0 -0
- /package/dist/{controls-5CSAKANR.js.map → controls-26FVLZRQ.js.map} +0 -0
- /package/dist/{controls.btns-QLLBCT65.js.map → controls.btns-H4TWTHTW.js.map} +0 -0
- /package/dist/{controls.config-H4FMU5LI.js.map → controls.config-O6YC7P4M.js.map} +0 -0
- /package/dist/{correlation-RB77VSXB.js.map → correlation-DVDT43OT.js.map} +0 -0
- /package/dist/{cuminc-YZSLH5IO.js.map → cuminc-T6EYUBUX.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-MZPT3Y5A.js.map → cuminc.integration.spec-P4YPZXDY.js.map} +0 -0
- /package/dist/{customdata.inputui-CBTZFODT.js.map → customdata.inputui-XPXZ7KB5.js.map} +0 -0
- /package/dist/{dataDownload-ZTGRVI4Q.js.map → dataDownload-46POC5GF.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-Q6GUTUYD.js.map → dataDownload.integration.spec-L7P5YMF7.js.map} +0 -0
- /package/dist/{databrowser.ui-V7E6CLUZ.js.map → databrowser.ui-DQEQXZCP.js.map} +0 -0
- /package/dist/{dictionary-RPC5OZMM.js.map → dictionary-MBERWWV4.js.map} +0 -0
- /package/dist/{e2pca-WDQHMAUM.js.map → e2pca-5HU65GVJ.js.map} +0 -0
- /package/dist/{ep-NAM34BBI.js.map → ep-ECP7H37A.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-QB4GVDJA.js.map → expclust.gdc.spec-553FSEDH.js.map} +0 -0
- /package/dist/{facet-DOXBBIG6.js.map → facet-ND335XOF.js.map} +0 -0
- /package/dist/{frequencyChart-GLOIGP3T.js.map → frequencyChart-2OHEOWEU.js.map} +0 -0
- /package/dist/{frequencyChart.integration.spec-B7NBBLH2.js.map → frequencyChart.integration.spec-NW4DDLRX.js.map} +0 -0
- /package/dist/{geneExpClustering-B4S6GFNT.js.map → geneExpClustering-GHGBONBF.js.map} +0 -0
- /package/dist/{geneExpression-MVVXRNEY.js.map → geneExpression-UGYGT6DM.js.map} +0 -0
- /package/dist/{geneExpression-DMU4AQP6.js.map → geneExpression-X6HAUFPK.js.map} +0 -0
- /package/dist/{geneORA-XDAITCQF.js.map → geneORA-YKXRPEYY.js.map} +0 -0
- /package/dist/{geneVariant-N6IGEIRR.js.map → geneVariant-363FWTVR.js.map} +0 -0
- /package/dist/{geneVariant-QYLA2V6J.js.map → geneVariant-J4O45233.js.map} +0 -0
- /package/dist/{genefusion.ui-FRBMNK7V.js.map → genefusion.ui-DWAZJDO4.js.map} +0 -0
- /package/dist/{geneset-GZYNBG7Y.js.map → geneset-64VRPPTK.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-WFIVQSE7.js.map → genomeBrowser.spec-AN3YXXBS.js.map} +0 -0
- /package/dist/{grin2-ZKNNZXON.js.map → grin2-E2WNBPLR.js.map} +0 -0
- /package/dist/{gsea-GFGAEC4K.js.map → gsea-PNORGHHB.js.map} +0 -0
- /package/dist/{hierCluster-MF4TI3E4.js.map → hierCluster-B7YMJ3UK.js.map} +0 -0
- /package/dist/{hierCluster-SDJMQLOQ.js.map → hierCluster-VAQBNVKU.js.map} +0 -0
- /package/dist/{hierCluster.config-RMEX3VTC.js.map → hierCluster.config-D7MDBQ35.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-3H63OHMU.js.map → hierCluster.integration.spec-UHRGPV6T.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-4DZBRQ6P.js.map → hierCluster.interactivity-NJFEZILS.js.map} +0 -0
- /package/dist/{hierCluster.renderers-UOW7BI6N.js.map → hierCluster.renderers-GWFH5ZX7.js.map} +0 -0
- /package/dist/{imagePlot-P2UHJRSL.js.map → imagePlot-LWJPXMNK.js.map} +0 -0
- /package/dist/{importPlot-PPCMNVOW.js.map → importPlot-JBVMBUCU.js.map} +0 -0
- /package/dist/{launch.adhoc-RJWUEVRA.js.map → launch.adhoc-6GLLB7TX.js.map} +0 -0
- /package/dist/{leftlabel.sample-OYP6MICL.js.map → leftlabel.sample-3SO3AJ2U.js.map} +0 -0
- /package/dist/{lollipop-BXQOWLGO.js.map → lollipop-LJEVK7YO.js.map} +0 -0
- /package/dist/{maftimeline-GHKDDWYR.js.map → maftimeline-YMX542CP.js.map} +0 -0
- /package/dist/{matrix-FWDLHZYR.js.map → matrix-CR2EK5EU.js.map} +0 -0
- /package/dist/{matrix-YMJFP53F.js.map → matrix-YI4D3YQI.js.map} +0 -0
- /package/dist/{matrix.cells-JH7FPY3E.js.map → matrix.cells-SCLZA3P4.js.map} +0 -0
- /package/dist/{matrix.config-HIHOLDCE.js.map → matrix.config-TOC4QWE7.js.map} +0 -0
- /package/dist/{matrix.controls-EKZ543FY.js.map → matrix.controls-27D3Q4GD.js.map} +0 -0
- /package/dist/{matrix.data-NKAZI2BF.js.map → matrix.data-ETVML2F7.js.map} +0 -0
- /package/dist/{matrix.dom-RGZ52GJ2.js.map → matrix.dom-QO7BXZ27.js.map} +0 -0
- /package/dist/{matrix.groups-BO53ZXXV.js.map → matrix.groups-QMZMZ6Q7.js.map} +0 -0
- /package/dist/{matrix.integration.spec-BXTATNAC.js.map → matrix.integration.spec-DDXKS5GP.js.map} +0 -0
- /package/dist/{matrix.interactivity-UGUMKCFN.js.map → matrix.interactivity-XTNDVF55.js.map} +0 -0
- /package/dist/{matrix.layout-WBIF5QTG.js.map → matrix.layout-NGPK4EEU.js.map} +0 -0
- /package/dist/{matrix.legend-P3GFCXXK.js.map → matrix.legend-CS6DNC5V.js.map} +0 -0
- /package/dist/{matrix.renderers-I54IHQ3S.js.map → matrix.renderers-ILFHUPHQ.js.map} +0 -0
- /package/dist/{matrix.serieses-R2T57OYI.js.map → matrix.serieses-3SERD6CV.js.map} +0 -0
- /package/dist/{matrix.sort-3GCA2GDU.js.map → matrix.sort-UVS6WHIS.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-AXGPCZZD.js.map → matrix.sort.unit.spec-DAMINC6B.js.map} +0 -0
- /package/dist/{matrix.sorterUi-QWRK6OGE.js.map → matrix.sorterUi-JDGLTLJM.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-H7GUVWRJ.js.map → matrix.sorterUi.unit.spec-M3RXU6B2.js.map} +0 -0
- /package/dist/{mavb-4EECWXYX.js.map → mavb-EC5VS3RS.js.map} +0 -0
- /package/dist/{mds.fimo-NHZOY43X.js.map → mds.fimo-7SXXTBUH.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-7A5IZ6W7.js.map → mds.samplescatterplot-CALFSFR6.js.map} +0 -0
- /package/dist/{mds.survivalplot-SQDPUFQE.js.map → mds.survivalplot-NRA67V4T.js.map} +0 -0
- /package/dist/{mutationSignature-QH7PZYKL.js.map → mutationSignature-43SECPTY.js.map} +0 -0
- /package/dist/{numericDictTermCluster-X5SGSC5K.js.map → numericDictTermCluster-2ER4FUKO.js.map} +0 -0
- /package/dist/{oncomatrix-M4C4XPQK.js.map → oncomatrix-FOCP66RC.js.map} +0 -0
- /package/dist/{oncomatrix.spec-3C642O7O.js.map → oncomatrix.spec-XB232WT7.js.map} +0 -0
- /package/dist/{plot.2dvaf-TILP7J53.js.map → plot.2dvaf-GSQS5J6Y.js.map} +0 -0
- /package/dist/{plot.app-DE2UQP2M.js.map → plot.app-RHPEFX47.js.map} +0 -0
- /package/dist/{plot.barplot-FJHS765K.js.map → plot.barplot-2Q5YF3MU.js.map} +0 -0
- /package/dist/{plot.boxplot-YRSHGNYZ.js.map → plot.boxplot-LTYLWTF4.js.map} +0 -0
- /package/dist/{plot.brainImaging-JV4OUVJY.js.map → plot.brainImaging-EFRI4QV7.js.map} +0 -0
- /package/dist/{plot.disco-DBVPBMLG.js.map → plot.disco-HHYCMRCZ.js.map} +0 -0
- /package/dist/{plot.dzi-O2OA4EBK.js.map → plot.dzi-BCTPDUDK.js.map} +0 -0
- /package/dist/{plot.ssgq-YFQEZQYK.js.map → plot.ssgq-ES2ZP7MO.js.map} +0 -0
- /package/dist/{plot.vaf2cov-YNFP5LJ4.js.map → plot.vaf2cov-W72Y2IHA.js.map} +0 -0
- /package/dist/{plot.wsi-DJB7TDIS.js.map → plot.wsi-TPZXI45Q.js.map} +0 -0
- /package/dist/{polar-K5Z5FYKV.js.map → polar-MT3K2WDL.js.map} +0 -0
- /package/dist/{profile.spec-A6EADWEC.js.map → profile.spec-DOQYKG6P.js.map} +0 -0
- /package/dist/{profileBarchart-EFLPJK2P.js.map → profileBarchart-A4UWV2YA.js.map} +0 -0
- /package/dist/{profileForms-TG35YNLD.js.map → profileForms-VONTWVOF.js.map} +0 -0
- /package/dist/{profilePlot-2EW2XVTK.js.map → profilePlot-OK5VKWO4.js.map} +0 -0
- /package/dist/{profileRadar-AKUYC2O5.js.map → profileRadar-VLEZJCD7.js.map} +0 -0
- /package/dist/{profileRadarFacility-EAT66XTX.js.map → profileRadarFacility-QPSSUTB6.js.map} +0 -0
- /package/dist/{qualitative-PHQU5DXE.js.map → qualitative-RJKAWHQR.js.map} +0 -0
- /package/dist/{regression-EOMJRRDO.js.map → regression-GV73BYCQ.js.map} +0 -0
- /package/dist/{regression.inputs-LIH5X2JM.js.map → regression.inputs-PVIJHCRE.js.map} +0 -0
- /package/dist/{regression.inputs.term-OO4RZ3QB.js.map → regression.inputs.term-V5I3EP6M.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-E7WCTO2L.js.map → regression.inputs.values.table-Y37EJUQB.js.map} +0 -0
- /package/dist/{regression.integration.spec-62VEQP6X.js.map → regression.integration.spec-JD32ODD2.js.map} +0 -0
- /package/dist/{regression.results-WAHFJ6NA.js.map → regression.results-AHAYXYGI.js.map} +0 -0
- /package/dist/{regression.spec-IBIOTZVX.js.map → regression.spec-FGYEES5G.js.map} +0 -0
- /package/dist/{report-MKDJXHGY.js.map → report-JYIEDDW5.js.map} +0 -0
- /package/dist/{runChart-ETM2EETF.js.map → runChart-CVAWIBA3.js.map} +0 -0
- /package/dist/{runchart.integration.spec-QFA4XBKB.js.map → runchart.integration.spec-5Z4IHQU5.js.map} +0 -0
- /package/dist/{sampleScatter.spec-N4N7ZGZF.js.map → sampleScatter.spec-QNFWS2Y7.js.map} +0 -0
- /package/dist/{sampleView-JTY3RV7I.js.map → sampleView-GKYHS3WO.js.map} +0 -0
- /package/dist/{samplelst-RRUMBVT6.js.map → samplelst-CHBS5BGY.js.map} +0 -0
- /package/dist/{samplematrix-L37O664Y.js.map → samplematrix-IK4YDAID.js.map} +0 -0
- /package/dist/{scatter-E5QHW32W.js.map → scatter-NDA5YSCP.js.map} +0 -0
- /package/dist/{scatter.integration.spec-FNVAJSVU.js.map → scatter.integration.spec-GV3EIFGT.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-J6VXCYGG.js.map → selectGenomeWithTklst-X7RAGKRC.js.map} +0 -0
- /package/dist/{singleCellPlot-S6S6CKYX.js.map → singleCellPlot-7F735HTR.js.map} +0 -0
- /package/dist/{singlecell-B4TNI23F.js.map → singlecell-EO3WYGS7.js.map} +0 -0
- /package/dist/{singlecell-4BMIKFY4.js.map → singlecell-YMYLKTSC.js.map} +0 -0
- /package/dist/{snp-PAUQ24NZ.js.map → snp-6KN4AWBB.js.map} +0 -0
- /package/dist/{snplocus-HVFYZTEE.js.map → snplocus-CLM4WHVH.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-GGGHVNBF.js.map → spliceevent.a53ss.diagram-PKFVC2N4.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-HLMFD6LJ.js.map → spliceevent.exonskip.diagram-XV2Z7AYB.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-CKZ3BZ7Y.js.map → spliceevent.noeventdiagram-L5L2BJL5.js.map} +0 -0
- /package/dist/{ssGSEA-UGT4GH55.js.map → ssGSEA-W6N4CXMD.js.map} +0 -0
- /package/dist/{stattable-6JWMALGB.js.map → stattable-324FS2HA.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-BJOQY62E.js.map → summarizeCnvGeneexp-57LZ5B2Q.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-4HDHL7PE.js.map → summarizeGeneexpSurvival-UQX3VZUK.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-TDWO5CKU.js.map → summarizeMutationDiagnosis-5SWO42E4.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-CJJFABOX.js.map → summarizeMutationSurvival-EOU5QOB6.js.map} +0 -0
- /package/dist/{summary-WOAXXIHG.js.map → summary-FRIKVPYZ.js.map} +0 -0
- /package/dist/{summary.integration.spec-GM73ERMN.js.map → summary.integration.spec-WSI3JNTO.js.map} +0 -0
- /package/dist/{summaryInput-FD4SONTY.js.map → summaryInput-3L7CM52X.js.map} +0 -0
- /package/dist/{sunburst-3LCJTBRN.js.map → sunburst-HA7UGSXX.js.map} +0 -0
- /package/dist/{survival-A3A7IVXT.js.map → survival-2HZ446Y3.js.map} +0 -0
- /package/dist/{survival-XF72VMM6.js.map → survival-LJI5JEZZ.js.map} +0 -0
- /package/dist/{survival.integration.spec-AU7MCAQV.js.map → survival.integration.spec-7XVO2WNF.js.map} +0 -0
- /package/dist/{svgraph-BEMS4JDJ.js.map → svgraph-TRPAXTNP.js.map} +0 -0
- /package/dist/{svmr-CDEMTZPK.js.map → svmr-TJOCKTE2.js.map} +0 -0
- /package/dist/{table-WYF6QCGB.js.map → table-35RHJK4M.js.map} +0 -0
- /package/dist/{termCollection-BVQMNVY7.js.map → termCollection-JS6N5TAP.js.map} +0 -0
- /package/dist/{termInfo-JXLIVCSO.js.map → termInfo-5USFZGDB.js.map} +0 -0
- /package/dist/{tk-TGIIJYBO.js.map → tk-4ARNGTEQ.js.map} +0 -0
- /package/dist/{tp.ui-USYF67P7.js.map → tp.ui-QZEMGVEH.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-7SCTSFK3.js.map → tvs.dtcnv.continuous-4K7B7FXF.js.map} +0 -0
- /package/dist/{tvs.numeric-OLVW6US3.js.map → tvs.numeric-FCC2EY62.js.map} +0 -0
- /package/dist/{tvs.samplelst-BHZHCX5V.js.map → tvs.samplelst-IUSDLB6P.js.map} +0 -0
- /package/dist/{violin-OEOWVIZF.js.map → violin-I5JO56GZ.js.map} +0 -0
- /package/dist/{violin.integration.spec-AW2U3RHO.js.map → violin.integration.spec-5WVLT3DW.js.map} +0 -0
- /package/dist/{violin.interactivity-3O2UDNPQ.js.map → violin.interactivity-EFFBMTN2.js.map} +0 -0
- /package/dist/{violin.renderer-W26FA6M7.js.map → violin.renderer-Z3AIV5RH.js.map} +0 -0
- /package/dist/{vocabulary-BIQYDKVY.js.map → vocabulary-4PHACFSG.js.map} +0 -0
|
@@ -0,0 +1,2355 @@
|
|
|
1
|
+
import {
|
|
2
|
+
spliceevent_exonskip_getdefault_default
|
|
3
|
+
} from "./chunk-WTPVXDJT.js";
|
|
4
|
+
import {
|
|
5
|
+
legend_newrow
|
|
6
|
+
} from "./chunk-GCQYBMGL.js";
|
|
7
|
+
import {
|
|
8
|
+
spliceevent_phrase_default
|
|
9
|
+
} from "./chunk-YFZH3WDM.js";
|
|
10
|
+
import "./chunk-V2OJLJSK.js";
|
|
11
|
+
import "./chunk-5HXU7P5T.js";
|
|
12
|
+
import {
|
|
13
|
+
appear2 as appear,
|
|
14
|
+
axisstyle,
|
|
15
|
+
category2legend,
|
|
16
|
+
export_data,
|
|
17
|
+
font,
|
|
18
|
+
gmmode,
|
|
19
|
+
keyupEnter,
|
|
20
|
+
sayerror,
|
|
21
|
+
tkt
|
|
22
|
+
} from "./chunk-PX7A6LBY.js";
|
|
23
|
+
import "./chunk-HJ6L54YS.js";
|
|
24
|
+
import {
|
|
25
|
+
dofetch2,
|
|
26
|
+
dofetch3
|
|
27
|
+
} from "./chunk-6ADTREVX.js";
|
|
28
|
+
import "./chunk-DKI7YOTJ.js";
|
|
29
|
+
import {
|
|
30
|
+
IN_frame,
|
|
31
|
+
OUT_frame,
|
|
32
|
+
bplen,
|
|
33
|
+
defaultcolor,
|
|
34
|
+
spliceeventchangegmexon
|
|
35
|
+
} from "./chunk-6VQ4C735.js";
|
|
36
|
+
import {
|
|
37
|
+
Menu
|
|
38
|
+
} from "./chunk-TGZA4ETW.js";
|
|
39
|
+
import "./chunk-5MWX5HUZ.js";
|
|
40
|
+
import "./chunk-IQIXGTQV.js";
|
|
41
|
+
import "./chunk-ZFFHOEBE.js";
|
|
42
|
+
import "./chunk-DDOM4XYV.js";
|
|
43
|
+
import "./chunk-7NTZWOJV.js";
|
|
44
|
+
import "./chunk-LD45BCVM.js";
|
|
45
|
+
import "./chunk-RA5EXEHB.js";
|
|
46
|
+
import {
|
|
47
|
+
category10_default
|
|
48
|
+
} from "./chunk-2MN5JLZB.js";
|
|
49
|
+
import {
|
|
50
|
+
axisRight
|
|
51
|
+
} from "./chunk-LOZEKOES.js";
|
|
52
|
+
import "./chunk-TOU7EVFQ.js";
|
|
53
|
+
import {
|
|
54
|
+
linear,
|
|
55
|
+
log,
|
|
56
|
+
ordinal
|
|
57
|
+
} from "./chunk-W2IWHXLL.js";
|
|
58
|
+
import "./chunk-5OHXYXLD.js";
|
|
59
|
+
import "./chunk-UJUXE42U.js";
|
|
60
|
+
import "./chunk-OMR2DT66.js";
|
|
61
|
+
import {
|
|
62
|
+
select_default
|
|
63
|
+
} from "./chunk-NDWTN4U5.js";
|
|
64
|
+
import {
|
|
65
|
+
__commonJS,
|
|
66
|
+
__toESM
|
|
67
|
+
} from "./chunk-HFNDKYVF.js";
|
|
68
|
+
|
|
69
|
+
// ../node_modules/d3-beeswarm/build/d3-beeswarm.js
|
|
70
|
+
var require_d3_beeswarm = __commonJS({
|
|
71
|
+
"../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
|
|
72
|
+
(function(global, factory) {
|
|
73
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
|
|
74
|
+
})(exports, function(exports2) {
|
|
75
|
+
"use strict";
|
|
76
|
+
function beeswarm2() {
|
|
77
|
+
var data = [];
|
|
78
|
+
var radius = 4;
|
|
79
|
+
var orientation = "horizontal";
|
|
80
|
+
var side = "symetric";
|
|
81
|
+
var distributeOn = (
|
|
82
|
+
// accessor to the x value
|
|
83
|
+
function(datum) {
|
|
84
|
+
return datum.x;
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
var minDistanceBetweenCircles;
|
|
88
|
+
var minSquareDistanceBetweenCircles;
|
|
89
|
+
var xBasedDataManager;
|
|
90
|
+
var xBasedColliderManager;
|
|
91
|
+
var yBasedColliderManager;
|
|
92
|
+
var arrangement;
|
|
93
|
+
var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
|
|
94
|
+
function _beeswarm() {
|
|
95
|
+
}
|
|
96
|
+
_beeswarm.data = function(_) {
|
|
97
|
+
if (!arguments.length) {
|
|
98
|
+
return data;
|
|
99
|
+
}
|
|
100
|
+
data = _;
|
|
101
|
+
return _beeswarm;
|
|
102
|
+
};
|
|
103
|
+
_beeswarm.radius = function(_) {
|
|
104
|
+
if (!arguments.length) {
|
|
105
|
+
return radius;
|
|
106
|
+
}
|
|
107
|
+
radius = _;
|
|
108
|
+
return _beeswarm;
|
|
109
|
+
};
|
|
110
|
+
_beeswarm.orientation = function(_) {
|
|
111
|
+
if (!arguments.length) {
|
|
112
|
+
return orientation;
|
|
113
|
+
}
|
|
114
|
+
if (_ === "horizontal" || _ === "vertical") {
|
|
115
|
+
orientation = _;
|
|
116
|
+
}
|
|
117
|
+
return _beeswarm;
|
|
118
|
+
};
|
|
119
|
+
_beeswarm.side = function(_) {
|
|
120
|
+
if (!arguments.length) {
|
|
121
|
+
return side;
|
|
122
|
+
}
|
|
123
|
+
if (_ === "symetric" || _ === "positive" || _ === "negative") {
|
|
124
|
+
side = _;
|
|
125
|
+
}
|
|
126
|
+
return _beeswarm;
|
|
127
|
+
};
|
|
128
|
+
_beeswarm.distributeOn = function(_) {
|
|
129
|
+
if (!arguments.length) {
|
|
130
|
+
return distributeOn;
|
|
131
|
+
}
|
|
132
|
+
distributeOn = _;
|
|
133
|
+
return _beeswarm;
|
|
134
|
+
};
|
|
135
|
+
_beeswarm.arrange = function() {
|
|
136
|
+
initArrangement();
|
|
137
|
+
arrangement.forEach(function(d) {
|
|
138
|
+
var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
|
|
139
|
+
if (xBasedPossibleColliders.length === 0) {
|
|
140
|
+
bestYPosition = 0;
|
|
141
|
+
} else {
|
|
142
|
+
yBasedColliderManager.clear();
|
|
143
|
+
yBasedColliderManager.addMany(xBasedPossibleColliders);
|
|
144
|
+
d.free = 0;
|
|
145
|
+
if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
|
|
146
|
+
bestYPosition = 0;
|
|
147
|
+
totalVisitedColliders += visitedColliderCount;
|
|
148
|
+
if (visitedColliderCount > maxVisitedColliders) {
|
|
149
|
+
maxVisitedColliders = visitedColliderCount;
|
|
150
|
+
}
|
|
151
|
+
visitedColliderCount = 0;
|
|
152
|
+
totalTestedPlacements += 1;
|
|
153
|
+
} else {
|
|
154
|
+
xBasedPossibleColliders.forEach(function(xbpc) {
|
|
155
|
+
relativeYPos = yPosRelativeToXbpc(xbpc, d);
|
|
156
|
+
placeBelow(d, xbpc, relativeYPos);
|
|
157
|
+
if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
|
|
158
|
+
bestYPosition = d.free;
|
|
159
|
+
}
|
|
160
|
+
totalVisitedColliders += visitedColliderCount;
|
|
161
|
+
if (visitedColliderCount > maxVisitedColliders) {
|
|
162
|
+
maxVisitedColliders = visitedColliderCount;
|
|
163
|
+
}
|
|
164
|
+
visitedColliderCount = 0;
|
|
165
|
+
totalTestedPlacements += 1;
|
|
166
|
+
placeAbove(d, xbpc, relativeYPos);
|
|
167
|
+
if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
|
|
168
|
+
bestYPosition = d.free;
|
|
169
|
+
}
|
|
170
|
+
totalVisitedColliders += visitedColliderCount;
|
|
171
|
+
if (visitedColliderCount > maxVisitedColliders) {
|
|
172
|
+
maxVisitedColliders = visitedColliderCount;
|
|
173
|
+
}
|
|
174
|
+
visitedColliderCount = 0;
|
|
175
|
+
totalTestedPlacements += 1;
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
;
|
|
180
|
+
d.free = bestYPosition;
|
|
181
|
+
if (orientation === "horizontal") {
|
|
182
|
+
d.x = d.fixed;
|
|
183
|
+
d.y = bestYPosition;
|
|
184
|
+
} else {
|
|
185
|
+
d.x = bestYPosition;
|
|
186
|
+
d.y = d.fixed;
|
|
187
|
+
}
|
|
188
|
+
xBasedColliderManager.add(d);
|
|
189
|
+
});
|
|
190
|
+
return arrangement;
|
|
191
|
+
};
|
|
192
|
+
_beeswarm.metrics = function() {
|
|
193
|
+
return {
|
|
194
|
+
totalPossibleColliders,
|
|
195
|
+
maxPossibleColliders,
|
|
196
|
+
totalTestedPlacements,
|
|
197
|
+
visitedColliderCount,
|
|
198
|
+
totalVisitedColliders,
|
|
199
|
+
maxVisitedColliders
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
function initArrangement() {
|
|
203
|
+
arrangement = data.map(function(d, i) {
|
|
204
|
+
return {
|
|
205
|
+
datum: d,
|
|
206
|
+
id: i,
|
|
207
|
+
fixed: distributeOn(d),
|
|
208
|
+
free: -Infinity
|
|
209
|
+
};
|
|
210
|
+
});
|
|
211
|
+
minDistanceBetweenCircles = 2 * radius;
|
|
212
|
+
minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
|
|
213
|
+
xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
|
|
214
|
+
return d.fixed;
|
|
215
|
+
}).addMany(arrangement);
|
|
216
|
+
xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
|
|
217
|
+
return d.fixed;
|
|
218
|
+
});
|
|
219
|
+
yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
|
|
220
|
+
return d.free;
|
|
221
|
+
});
|
|
222
|
+
totalPossibleColliders = maxPossibleColliders = 0;
|
|
223
|
+
totalTestedPlacements = 0;
|
|
224
|
+
visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
|
|
225
|
+
}
|
|
226
|
+
function findNearestPossibleCollider(dln, visitedDln, direction) {
|
|
227
|
+
if (visitedDln === null) {
|
|
228
|
+
return null;
|
|
229
|
+
} else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
|
|
230
|
+
return null;
|
|
231
|
+
} else {
|
|
232
|
+
if (isFinite(visitedDln.datum.free)) {
|
|
233
|
+
return visitedDln.datum;
|
|
234
|
+
}
|
|
235
|
+
return findNearestPossibleCollider(dln, visitedDln[direction], direction);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
|
|
239
|
+
if (visitedDln === null) {
|
|
240
|
+
return;
|
|
241
|
+
} else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
|
|
242
|
+
return;
|
|
243
|
+
} else {
|
|
244
|
+
xBasedPossibleColliders.push(visitedDln.datum);
|
|
245
|
+
visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
function gatherXBasedPossibleColliders(datum) {
|
|
249
|
+
var xBasedPossibleColliders = [];
|
|
250
|
+
var dln = xBasedDataManager.dln(datum);
|
|
251
|
+
var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
|
|
252
|
+
var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
|
|
253
|
+
if (nearestXPrevAlreadyArrangedData != null) {
|
|
254
|
+
dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
|
|
255
|
+
visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
|
|
256
|
+
}
|
|
257
|
+
if (nearestXNextAlreadyArrangedData != null) {
|
|
258
|
+
dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
|
|
259
|
+
visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
|
|
260
|
+
}
|
|
261
|
+
totalPossibleColliders += xBasedPossibleColliders.length;
|
|
262
|
+
if (xBasedPossibleColliders.length > maxPossibleColliders) {
|
|
263
|
+
maxPossibleColliders = xBasedPossibleColliders.length;
|
|
264
|
+
}
|
|
265
|
+
return xBasedPossibleColliders;
|
|
266
|
+
}
|
|
267
|
+
function isAuthorizedPlacement(datum) {
|
|
268
|
+
if (side === "symetric") {
|
|
269
|
+
return true;
|
|
270
|
+
} else if (side === "positive") {
|
|
271
|
+
return datum.free >= 0;
|
|
272
|
+
} else {
|
|
273
|
+
return datum.free <= 0;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
function isBetterPlacement(datum, bestYPosition) {
|
|
277
|
+
return Math.abs(datum.free) < Math.abs(bestYPosition);
|
|
278
|
+
}
|
|
279
|
+
function yPosRelativeToXbpc(xbpc, d) {
|
|
280
|
+
return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
|
|
281
|
+
}
|
|
282
|
+
function placeBelow(d, aad, relativeYPos) {
|
|
283
|
+
d.free = aad.free - relativeYPos;
|
|
284
|
+
}
|
|
285
|
+
function placeAbove(d, aad, relativeYPos) {
|
|
286
|
+
d.free = aad.free + relativeYPos;
|
|
287
|
+
}
|
|
288
|
+
function areCirclesColliding(d0, d1) {
|
|
289
|
+
visitedColliderCount++;
|
|
290
|
+
return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
|
|
291
|
+
}
|
|
292
|
+
function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
|
|
293
|
+
if (visitedDln === null) {
|
|
294
|
+
return false;
|
|
295
|
+
} else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
|
|
296
|
+
return false;
|
|
297
|
+
} else if (areCirclesColliding(datum, visitedDln.datum)) {
|
|
298
|
+
return true;
|
|
299
|
+
} else {
|
|
300
|
+
return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
function collidesWithOther(datum, visitedDln) {
|
|
304
|
+
var visitCount = 0;
|
|
305
|
+
if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
|
|
306
|
+
return true;
|
|
307
|
+
} else {
|
|
308
|
+
return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
function SortedDirectAccessDoublyLinkedList() {
|
|
312
|
+
this._valueAccesor = // accessor to the value to sort on
|
|
313
|
+
function(obj) {
|
|
314
|
+
return obj.value;
|
|
315
|
+
};
|
|
316
|
+
this._min = null;
|
|
317
|
+
this._max = null;
|
|
318
|
+
this._closestTo0 = null;
|
|
319
|
+
this.size = 0;
|
|
320
|
+
this._idToNode = {};
|
|
321
|
+
}
|
|
322
|
+
SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
|
|
323
|
+
if (!arguments.length) {
|
|
324
|
+
return this._valueAccesor;
|
|
325
|
+
}
|
|
326
|
+
this._valueAccesor = _;
|
|
327
|
+
return this;
|
|
328
|
+
};
|
|
329
|
+
SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
|
|
330
|
+
return this._closestTo0;
|
|
331
|
+
};
|
|
332
|
+
SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
|
|
333
|
+
this._min = null;
|
|
334
|
+
this._max = null;
|
|
335
|
+
this._closestTo0 = null;
|
|
336
|
+
this.size = 0;
|
|
337
|
+
this._idToNode = {};
|
|
338
|
+
return this;
|
|
339
|
+
};
|
|
340
|
+
SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
|
|
341
|
+
return this._idToNode[datum.id];
|
|
342
|
+
};
|
|
343
|
+
SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
|
|
344
|
+
data2.forEach(function(datum, item) {
|
|
345
|
+
this.add(datum);
|
|
346
|
+
}, this);
|
|
347
|
+
return this;
|
|
348
|
+
};
|
|
349
|
+
SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
|
|
350
|
+
var dln = {
|
|
351
|
+
datum,
|
|
352
|
+
// original datum
|
|
353
|
+
value: this._valueAccesor(datum),
|
|
354
|
+
prev: null,
|
|
355
|
+
// previous value-based node
|
|
356
|
+
next: null
|
|
357
|
+
// next value-based node
|
|
358
|
+
};
|
|
359
|
+
if (this.size === 0) {
|
|
360
|
+
this._min = this._max = this._closestTo0 = dln;
|
|
361
|
+
} else {
|
|
362
|
+
if (dln.value <= this._min.value) {
|
|
363
|
+
dln.next = this._min;
|
|
364
|
+
dln.next.prev = dln;
|
|
365
|
+
this._min = dln;
|
|
366
|
+
} else if (dln.value >= this._max.value) {
|
|
367
|
+
dln.prev = this._max;
|
|
368
|
+
dln.prev.next = dln;
|
|
369
|
+
this._max = dln;
|
|
370
|
+
} else {
|
|
371
|
+
var current = this._max;
|
|
372
|
+
while (current.value > dln.value) {
|
|
373
|
+
current = current.prev;
|
|
374
|
+
}
|
|
375
|
+
dln.prev = current;
|
|
376
|
+
dln.next = current.next;
|
|
377
|
+
dln.next.prev = dln;
|
|
378
|
+
dln.prev.next = dln;
|
|
379
|
+
}
|
|
380
|
+
if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
|
|
381
|
+
this._closestTo0 = dln;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
this._idToNode[dln.datum.id] = dln;
|
|
385
|
+
this.size++;
|
|
386
|
+
return this;
|
|
387
|
+
};
|
|
388
|
+
SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
|
|
389
|
+
var dln = this.dln(datum);
|
|
390
|
+
if (this.size === 1) {
|
|
391
|
+
this._min = this._max = this._closestTo0 = null;
|
|
392
|
+
} else {
|
|
393
|
+
if (dln === this._closestTo0) {
|
|
394
|
+
if (this._closestTo0.next === null) {
|
|
395
|
+
this._closestTo0 = dln.prev;
|
|
396
|
+
} else if (this.closestToZero.prev === null) {
|
|
397
|
+
this._closestTo0 = dln.prev;
|
|
398
|
+
} else {
|
|
399
|
+
var prevAbsValue = Math.abs(this._closestTo0.prev.value);
|
|
400
|
+
var nextAbsValue = Math.abs(this._closestTo0.next.value);
|
|
401
|
+
if (prevAbsValue < nextAbsValue) {
|
|
402
|
+
this._closestTo0 = this._closestTo0.prev;
|
|
403
|
+
} else {
|
|
404
|
+
this._closestTo0 = this._closestTo0.next;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
if (dln === this._min) {
|
|
409
|
+
this._min = this._min.next;
|
|
410
|
+
this._min.prev = null;
|
|
411
|
+
} else if (dln === this._max) {
|
|
412
|
+
this._max = this._max.prev;
|
|
413
|
+
this._max.next = null;
|
|
414
|
+
} else {
|
|
415
|
+
dln.next.prev = dln.prev;
|
|
416
|
+
dln.prev.next = dln.next;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
dln = null;
|
|
420
|
+
delete this._idToNode[datum.id];
|
|
421
|
+
this.size--;
|
|
422
|
+
return this;
|
|
423
|
+
};
|
|
424
|
+
return _beeswarm;
|
|
425
|
+
}
|
|
426
|
+
;
|
|
427
|
+
exports2.beeswarm = beeswarm2;
|
|
428
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
});
|
|
432
|
+
|
|
433
|
+
// src/spliceevent.prep.js
|
|
434
|
+
function mapjunctiontoexons(junctions, genes) {
|
|
435
|
+
for (const j of junctions) {
|
|
436
|
+
j.exonleft = [];
|
|
437
|
+
j.exonright = [];
|
|
438
|
+
j.exonleftin = [];
|
|
439
|
+
j.exonrightin = [];
|
|
440
|
+
j.intronleft = [];
|
|
441
|
+
j.intronright = [];
|
|
442
|
+
j.leftout = [];
|
|
443
|
+
j.rightout = [];
|
|
444
|
+
j.matchisoform = [];
|
|
445
|
+
}
|
|
446
|
+
const usegenes = [];
|
|
447
|
+
for (const gene of genes) {
|
|
448
|
+
let use = false;
|
|
449
|
+
for (const j of junctions) {
|
|
450
|
+
if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
|
|
451
|
+
use = true;
|
|
452
|
+
break;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
if (use) {
|
|
456
|
+
usegenes.push(gene);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
if (usegenes.length == 0) {
|
|
460
|
+
return;
|
|
461
|
+
}
|
|
462
|
+
const leftpos = /* @__PURE__ */ new Map();
|
|
463
|
+
const rightpos = /* @__PURE__ */ new Map();
|
|
464
|
+
for (const j of junctions) {
|
|
465
|
+
if (!leftpos.has(j.start)) {
|
|
466
|
+
leftpos.set(j.start, []);
|
|
467
|
+
}
|
|
468
|
+
leftpos.get(j.start).push(j);
|
|
469
|
+
if (!rightpos.has(j.stop)) {
|
|
470
|
+
rightpos.set(j.stop, []);
|
|
471
|
+
}
|
|
472
|
+
rightpos.get(j.stop).push(j);
|
|
473
|
+
}
|
|
474
|
+
for (const [pos, jlst] of leftpos) {
|
|
475
|
+
for (const gm of usegenes) {
|
|
476
|
+
if (!gm.exon) continue;
|
|
477
|
+
for (let i = 0; i < gm.exon.length; i++) {
|
|
478
|
+
if (gm.exon[i][1] - 1 == pos) {
|
|
479
|
+
for (const j of jlst) {
|
|
480
|
+
j.exonleft.push({
|
|
481
|
+
gm,
|
|
482
|
+
exonidx: i
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
|
|
487
|
+
for (const j of jlst) {
|
|
488
|
+
j.exonleftin.push({
|
|
489
|
+
gm,
|
|
490
|
+
exonidx: i
|
|
491
|
+
});
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
if (gm.intron) {
|
|
496
|
+
for (let i = 0; i < gm.intron.length; i++) {
|
|
497
|
+
if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
|
|
498
|
+
for (const j of jlst) {
|
|
499
|
+
j.intronleft.push({
|
|
500
|
+
gm,
|
|
501
|
+
intronidx: i
|
|
502
|
+
});
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
for (const [pos, jlst] of rightpos) {
|
|
510
|
+
for (const gm of usegenes) {
|
|
511
|
+
if (!gm.exon) continue;
|
|
512
|
+
for (let i = 0; i < gm.exon.length; i++) {
|
|
513
|
+
if (gm.exon[i][0] == pos) {
|
|
514
|
+
for (const j of jlst) {
|
|
515
|
+
j.exonright.push({
|
|
516
|
+
gm,
|
|
517
|
+
exonidx: i
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
|
|
522
|
+
for (const j of jlst) {
|
|
523
|
+
j.exonrightin.push({
|
|
524
|
+
gm,
|
|
525
|
+
exonidx: i
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
if (gm.intron) {
|
|
531
|
+
for (let i = 0; i < gm.intron.length; i++) {
|
|
532
|
+
if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
|
|
533
|
+
for (const j of jlst) {
|
|
534
|
+
j.intronright.push({
|
|
535
|
+
gm,
|
|
536
|
+
intronidx: i
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
for (const j of junctions) {
|
|
545
|
+
{
|
|
546
|
+
const isoforms = /* @__PURE__ */ new Set();
|
|
547
|
+
for (const q of j.exonleft) isoforms.add(q.gm.isoform);
|
|
548
|
+
for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
|
|
549
|
+
for (const q of j.intronleft) isoforms.add(q.gm.isoform);
|
|
550
|
+
if (isoforms.size) {
|
|
551
|
+
for (const gm of usegenes) {
|
|
552
|
+
if (!isoforms.has(gm.isoform)) continue;
|
|
553
|
+
if (gm.stop <= j.stop) {
|
|
554
|
+
j.rightout.push({
|
|
555
|
+
gm
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
{
|
|
562
|
+
const isoforms = /* @__PURE__ */ new Set();
|
|
563
|
+
for (const q of j.exonright) isoforms.add(q.gm.isoform);
|
|
564
|
+
for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
|
|
565
|
+
for (const q of j.intronright) isoforms.add(q.gm.isoform);
|
|
566
|
+
if (isoforms.size) {
|
|
567
|
+
for (const gm of usegenes) {
|
|
568
|
+
if (!isoforms.has(gm.isoform)) continue;
|
|
569
|
+
if (gm.start > j.start) {
|
|
570
|
+
j.leftout.push({
|
|
571
|
+
gm
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
for (const j of junctions) {
|
|
579
|
+
if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
|
|
580
|
+
for (const el of j.exonleft) {
|
|
581
|
+
for (const er of j.exonright) {
|
|
582
|
+
if (el.gm.isoform == er.gm.isoform) {
|
|
583
|
+
j.matchisoform.push({
|
|
584
|
+
gm: el.gm,
|
|
585
|
+
leftexonidx: el.exonidx,
|
|
586
|
+
rightexonidx: er.exonidx
|
|
587
|
+
});
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
// src/spliceevent.exonskip.js
|
|
595
|
+
var exonskipcolor = "#99004d";
|
|
596
|
+
var exonaltcolor = "#004d99";
|
|
597
|
+
function findexonskipping(multisample, junctions, gmdata) {
|
|
598
|
+
const allevents = [];
|
|
599
|
+
for (const j0 of junctions) {
|
|
600
|
+
if (!j0.matchisoform || j0.matchisoform.length == 0) {
|
|
601
|
+
continue;
|
|
602
|
+
}
|
|
603
|
+
for (const j0isoform of j0.matchisoform) {
|
|
604
|
+
const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
|
|
605
|
+
const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
|
|
606
|
+
if (j0exonend - j0exonbegin <= 1) {
|
|
607
|
+
continue;
|
|
608
|
+
}
|
|
609
|
+
const jB = j0;
|
|
610
|
+
const thisevent = {
|
|
611
|
+
skippedexon: [],
|
|
612
|
+
junctionB: jB,
|
|
613
|
+
junctionAlst: []
|
|
614
|
+
};
|
|
615
|
+
for (let i = j0exonbegin + 1; i < j0exonend; i++) {
|
|
616
|
+
thisevent.skippedexon.push(i);
|
|
617
|
+
}
|
|
618
|
+
let gmB = null;
|
|
619
|
+
for (const gm of gmdata) {
|
|
620
|
+
if (!gm.intron) continue;
|
|
621
|
+
for (const i of gm.intron) {
|
|
622
|
+
if (i[0] - 1 == jB.start && i[1] == jB.stop) {
|
|
623
|
+
gmB = gm;
|
|
624
|
+
break;
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
if (gmB) {
|
|
628
|
+
break;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
if (gmB) {
|
|
632
|
+
thisevent.isaltexon = true;
|
|
633
|
+
thisevent.color = exonaltcolor;
|
|
634
|
+
thisevent.gmA = j0isoform.gm;
|
|
635
|
+
thisevent.gmB = gmB;
|
|
636
|
+
} else {
|
|
637
|
+
thisevent.isskipexon = true;
|
|
638
|
+
thisevent.color = exonskipcolor;
|
|
639
|
+
thisevent.gm = j0isoform.gm;
|
|
640
|
+
const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
|
|
641
|
+
if (utr3) thisevent.utr3 = true;
|
|
642
|
+
if (utr5) thisevent.utr5 = true;
|
|
643
|
+
if (coding) thisevent.coding = true;
|
|
644
|
+
}
|
|
645
|
+
{
|
|
646
|
+
const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
|
|
647
|
+
for (const ja of jAlst) {
|
|
648
|
+
thisevent.junctionAlst.push(ja);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
if (thisevent.isskipexon) {
|
|
652
|
+
findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
|
|
653
|
+
}
|
|
654
|
+
if (multisample) {
|
|
655
|
+
if (!jB.data) {
|
|
656
|
+
console.error("exonskip: jB.data missing when it is multi-sample");
|
|
657
|
+
continue;
|
|
658
|
+
}
|
|
659
|
+
if (jB.data.length == 0) {
|
|
660
|
+
console.error("exonskip: jB.data.length==0");
|
|
661
|
+
continue;
|
|
662
|
+
}
|
|
663
|
+
let percentagesamplesum = 0;
|
|
664
|
+
for (const sampleBdata of jB.data) {
|
|
665
|
+
const bcount = sampleBdata.v;
|
|
666
|
+
let acountsum = 0;
|
|
667
|
+
for (const junctionA of thisevent.junctionAlst) {
|
|
668
|
+
if (!junctionA) {
|
|
669
|
+
continue;
|
|
670
|
+
}
|
|
671
|
+
if (!junctionA.data) {
|
|
672
|
+
console.log("exonskip: jA.data missing when multi-sample");
|
|
673
|
+
continue;
|
|
674
|
+
}
|
|
675
|
+
for (const sampleAdata of junctionA.data) {
|
|
676
|
+
if (sampleAdata.tkid == sampleBdata.tkid) {
|
|
677
|
+
acountsum += sampleAdata.v;
|
|
678
|
+
break;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
|
|
683
|
+
}
|
|
684
|
+
thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
|
|
685
|
+
} else {
|
|
686
|
+
let asum = 0;
|
|
687
|
+
for (const _j of thisevent.junctionAlst) {
|
|
688
|
+
asum += _j ? _j.data[0].v : 0;
|
|
689
|
+
}
|
|
690
|
+
thisevent.percentage = Math.ceil(
|
|
691
|
+
100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
|
|
692
|
+
);
|
|
693
|
+
}
|
|
694
|
+
allevents.push(thisevent);
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
const exoncoords = /* @__PURE__ */ new Map();
|
|
698
|
+
for (const evt of allevents) {
|
|
699
|
+
const positionlst = [];
|
|
700
|
+
for (const eid of evt.skippedexon) {
|
|
701
|
+
let thisexon;
|
|
702
|
+
if (evt.isskipexon) {
|
|
703
|
+
thisexon = evt.gm.exon[eid];
|
|
704
|
+
} else {
|
|
705
|
+
thisexon = evt.gmA.exon[eid];
|
|
706
|
+
}
|
|
707
|
+
positionlst.push(thisexon[0]);
|
|
708
|
+
positionlst.push(thisexon[1]);
|
|
709
|
+
}
|
|
710
|
+
if (positionlst.length == 0) {
|
|
711
|
+
console.error("not possible: no skipped exon position for exon-skip");
|
|
712
|
+
console.log(evt);
|
|
713
|
+
continue;
|
|
714
|
+
}
|
|
715
|
+
positionlst.sort();
|
|
716
|
+
const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
|
|
717
|
+
if (!exoncoords.has(posstr)) {
|
|
718
|
+
exoncoords.set(posstr, []);
|
|
719
|
+
}
|
|
720
|
+
exoncoords.get(posstr).push(evt);
|
|
721
|
+
}
|
|
722
|
+
const eventsetlst = [];
|
|
723
|
+
for (const eventlst of exoncoords.values()) {
|
|
724
|
+
const thisset = {
|
|
725
|
+
eventlst,
|
|
726
|
+
exonlst: []
|
|
727
|
+
// each exon: {start:, stop:}
|
|
728
|
+
};
|
|
729
|
+
eventsetlst.push(thisset);
|
|
730
|
+
const firstevent = eventlst[0];
|
|
731
|
+
for (const eid of firstevent.skippedexon) {
|
|
732
|
+
const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
|
|
733
|
+
const thisexon = gm.exon[eid];
|
|
734
|
+
thisset.exonlst.push({
|
|
735
|
+
chr: gm.chr,
|
|
736
|
+
start: thisexon[0],
|
|
737
|
+
stop: thisexon[1]
|
|
738
|
+
});
|
|
739
|
+
}
|
|
740
|
+
let eventcount_skip = 0, eventcount_alt = 0;
|
|
741
|
+
for (const evt of eventlst) {
|
|
742
|
+
if (evt.isskipexon) {
|
|
743
|
+
eventcount_skip++;
|
|
744
|
+
} else {
|
|
745
|
+
eventcount_alt++;
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
|
|
749
|
+
const exonnumberset = /* @__PURE__ */ new Set();
|
|
750
|
+
for (const evt of eventlst) {
|
|
751
|
+
const thisexonnumbers = [];
|
|
752
|
+
for (const eid of evt.skippedexon) {
|
|
753
|
+
thisexonnumbers.push(eid + 1);
|
|
754
|
+
}
|
|
755
|
+
exonnumberset.add(thisexonnumbers.join(","));
|
|
756
|
+
}
|
|
757
|
+
if (exonnumberset.size == 1) {
|
|
758
|
+
thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
|
|
759
|
+
} else {
|
|
760
|
+
thisset.toplabelsays = "exon ";
|
|
761
|
+
}
|
|
762
|
+
thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
|
|
763
|
+
if (multisample) {
|
|
764
|
+
let samplecount = 0;
|
|
765
|
+
for (const evt of eventlst) {
|
|
766
|
+
samplecount = Math.max(samplecount, evt.junctionB.data.length);
|
|
767
|
+
}
|
|
768
|
+
thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
|
|
769
|
+
}
|
|
770
|
+
thisset.bottomlabelsays = firstevent.percentage + "%";
|
|
771
|
+
}
|
|
772
|
+
return eventsetlst;
|
|
773
|
+
}
|
|
774
|
+
function findjunctionbystartstop(lst, p1, p2) {
|
|
775
|
+
const start = Math.min(p1, p2);
|
|
776
|
+
const stop = Math.max(p1, p2);
|
|
777
|
+
for (const j of lst) {
|
|
778
|
+
if (j.start == start && j.stop == stop) return j;
|
|
779
|
+
}
|
|
780
|
+
return null;
|
|
781
|
+
}
|
|
782
|
+
function findjunctionAlst(junctions, gm, exonbegin, exonend) {
|
|
783
|
+
const lst = [];
|
|
784
|
+
const exonstart = Math.min(exonbegin, exonend);
|
|
785
|
+
const exonstop = Math.max(exonbegin, exonend);
|
|
786
|
+
if (gm.strand == "+") {
|
|
787
|
+
for (let i = exonstart; i < exonstop; i++) {
|
|
788
|
+
const p1 = gm.exon[i][1] - 1;
|
|
789
|
+
const p2 = gm.exon[i + 1][0];
|
|
790
|
+
lst.push(findjunctionbystartstop(junctions, p1, p2));
|
|
791
|
+
}
|
|
792
|
+
} else {
|
|
793
|
+
for (let i = exonstop; i > exonstart; i--) {
|
|
794
|
+
const p1 = gm.exon[i][1] - 1;
|
|
795
|
+
const p2 = gm.exon[i - 1][0];
|
|
796
|
+
lst.unshift(findjunctionbystartstop(junctions, p1, p2));
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
return lst;
|
|
800
|
+
}
|
|
801
|
+
function findupdown1junction4exonskip(evt, gm, junctions) {
|
|
802
|
+
let exonidx = evt.skippedexon[0];
|
|
803
|
+
if (exonidx > 1) {
|
|
804
|
+
let p1, p2;
|
|
805
|
+
if (gm.strand == "+") {
|
|
806
|
+
p1 = gm.exon[exonidx - 2][1] - 1;
|
|
807
|
+
p2 = gm.exon[exonidx - 1][0];
|
|
808
|
+
} else {
|
|
809
|
+
p1 = gm.exon[exonidx - 1][1] - 1;
|
|
810
|
+
p2 = gm.exon[exonidx - 2][0];
|
|
811
|
+
}
|
|
812
|
+
evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
|
|
813
|
+
}
|
|
814
|
+
exonidx = evt.skippedexon[evt.skippedexon.length - 1];
|
|
815
|
+
if (exonidx < gm.exon.length - 2) {
|
|
816
|
+
let p1, p2;
|
|
817
|
+
if (gm.strand == "+") {
|
|
818
|
+
p1 = gm.exon[exonidx + 1][1] - 1;
|
|
819
|
+
p2 = gm.exon[exonidx + 2][0];
|
|
820
|
+
} else {
|
|
821
|
+
p1 = gm.exon[exonidx + 2][1] - 1;
|
|
822
|
+
p2 = gm.exon[exonidx + 1][0];
|
|
823
|
+
}
|
|
824
|
+
evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
function checkexoncodingutr(exonidlst, gm) {
|
|
828
|
+
if (!gm.coding) {
|
|
829
|
+
return [false, false, false];
|
|
830
|
+
}
|
|
831
|
+
let exonstart = gm.exon[exonidlst[0]][0];
|
|
832
|
+
let exonstop = gm.exon[exonidlst[0]][1];
|
|
833
|
+
for (const idx of exonidlst) {
|
|
834
|
+
exonstart = Math.min(gm.exon[idx][0], exonstart);
|
|
835
|
+
exonstop = Math.max(gm.exon[idx][1], exonstop);
|
|
836
|
+
}
|
|
837
|
+
const forward = gm.strand == "+";
|
|
838
|
+
let utr3 = false, utr5 = false, coding = false;
|
|
839
|
+
if (exonstop <= gm.codingstart) {
|
|
840
|
+
if (forward) {
|
|
841
|
+
utr5 = true;
|
|
842
|
+
} else {
|
|
843
|
+
utr3 = true;
|
|
844
|
+
}
|
|
845
|
+
} else if (exonstart >= gm.codingstop) {
|
|
846
|
+
if (forward) {
|
|
847
|
+
utr3 = true;
|
|
848
|
+
} else {
|
|
849
|
+
utr5 = true;
|
|
850
|
+
}
|
|
851
|
+
} else {
|
|
852
|
+
coding = true;
|
|
853
|
+
}
|
|
854
|
+
return [utr3, utr5, coding];
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
// src/block.tk.junction.spliceevent.js
|
|
858
|
+
function spliceeventanalyze(tk, block) {
|
|
859
|
+
if (tk.eventsg) {
|
|
860
|
+
tk.eventsg.selectAll("*").remove();
|
|
861
|
+
}
|
|
862
|
+
if (tk.type != tkt.junction) {
|
|
863
|
+
return;
|
|
864
|
+
}
|
|
865
|
+
if (!tk.data) {
|
|
866
|
+
return;
|
|
867
|
+
}
|
|
868
|
+
if (tk.data.length == 0) {
|
|
869
|
+
return;
|
|
870
|
+
}
|
|
871
|
+
const [gmdataerr, gmdata] = getgmdata(block);
|
|
872
|
+
if (gmdataerr) {
|
|
873
|
+
const fontsize = 12;
|
|
874
|
+
const pad = 2;
|
|
875
|
+
tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
|
|
876
|
+
tk.eventsg.append("text").text(gmdataerr).attr("font-family", font).attr("font-size", fontsize).attr("fill", "#858585").attr("text-anchor", "middle").attr("x", block.width / 2).attr("y", pad + fontsize / 2).attr("dominant-baseline", "central");
|
|
877
|
+
tk.height_main += pad * 2 + fontsize;
|
|
878
|
+
block.block_setheight();
|
|
879
|
+
return;
|
|
880
|
+
}
|
|
881
|
+
if (!gmdata) {
|
|
882
|
+
return;
|
|
883
|
+
}
|
|
884
|
+
for (const junction of tk.data) {
|
|
885
|
+
delete junction.spliceevents;
|
|
886
|
+
}
|
|
887
|
+
mapjunctiontoexons(tk.data, gmdata);
|
|
888
|
+
const allevents = [];
|
|
889
|
+
const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
|
|
890
|
+
if (exonskipalt.length > 0) {
|
|
891
|
+
for (const exonset of exonskipalt) {
|
|
892
|
+
if (exonlstoutofrange(exonset.exonlst, block)) {
|
|
893
|
+
continue;
|
|
894
|
+
}
|
|
895
|
+
allevents.push(exonset);
|
|
896
|
+
for (const thisevt of exonset.eventlst) {
|
|
897
|
+
if (!thisevt.junctionB.spliceevents) {
|
|
898
|
+
thisevt.junctionB.spliceevents = [];
|
|
899
|
+
}
|
|
900
|
+
thisevt.junctionB.spliceevents.push(thisevt);
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
if (allevents.length) {
|
|
905
|
+
rendereventsintrack(allevents, tk, block);
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
function rendereventsintrack(allevents, tk, block) {
|
|
909
|
+
const labelfontsize = 10;
|
|
910
|
+
const stackspace = 1;
|
|
911
|
+
const boxlabelspacing = 2;
|
|
912
|
+
let stackheight;
|
|
913
|
+
if (tk.totalsamplecount > 1) {
|
|
914
|
+
stackheight = labelfontsize * 3 + stackspace * 2;
|
|
915
|
+
} else {
|
|
916
|
+
stackheight = labelfontsize * 2 + stackspace;
|
|
917
|
+
}
|
|
918
|
+
for (const eventset of allevents) {
|
|
919
|
+
eventset.g = tk.eventsg.append("g");
|
|
920
|
+
const junctionB = eventset.eventlst[0].junctionB;
|
|
921
|
+
const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
|
|
922
|
+
eventset.toplabel = eventset.g.append("text").text(eventset.toplabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize / 2).attr("dominant-baseline", "central");
|
|
923
|
+
if (tk.totalsamplecount > 1) {
|
|
924
|
+
eventset.middlelabel = eventset.g.append("text").text(eventset.middlelabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize * 1.5).attr("dominant-baseline", "central");
|
|
925
|
+
}
|
|
926
|
+
let willshowframe = false;
|
|
927
|
+
let thiseventframe = null;
|
|
928
|
+
for (const evt of eventset.eventlst) {
|
|
929
|
+
if (evt.isaltexon) {
|
|
930
|
+
evt.framenocheck = true;
|
|
931
|
+
continue;
|
|
932
|
+
}
|
|
933
|
+
if (evt.isskipexon) {
|
|
934
|
+
if (!evt.gm.coding) {
|
|
935
|
+
evt.framenocheck = true;
|
|
936
|
+
continue;
|
|
937
|
+
}
|
|
938
|
+
if (evt.utr3 || evt.utr5) {
|
|
939
|
+
evt.framenocheck = true;
|
|
940
|
+
continue;
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
willshowframe = true;
|
|
944
|
+
if (block.genome.junctionframecache.has(jbstr)) {
|
|
945
|
+
let isoform;
|
|
946
|
+
if (evt.isskipexon) {
|
|
947
|
+
isoform = evt.gm.isoform;
|
|
948
|
+
}
|
|
949
|
+
const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
|
|
950
|
+
if (thisframe == void 0) {
|
|
951
|
+
} else {
|
|
952
|
+
evt.frame = thisframe;
|
|
953
|
+
if (thiseventframe == null) {
|
|
954
|
+
thiseventframe = thisframe;
|
|
955
|
+
} else {
|
|
956
|
+
if (thisframe == IN_frame) {
|
|
957
|
+
thiseventframe = IN_frame;
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
} else {
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
eventset.bottomlabel = eventset.g.append("text").text(
|
|
965
|
+
eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
|
|
966
|
+
).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
|
|
967
|
+
if (willshowframe && thiseventframe == null) {
|
|
968
|
+
for (const evt of eventset.eventlst) {
|
|
969
|
+
let gm;
|
|
970
|
+
if (evt.isaltexon) {
|
|
971
|
+
gm = evt.gmB;
|
|
972
|
+
} else if (evt.isskipexon) {
|
|
973
|
+
gm = evt.gm;
|
|
974
|
+
}
|
|
975
|
+
if (!block.genome.junctionframecache.has(jbstr)) {
|
|
976
|
+
checkjunctionframe({
|
|
977
|
+
jbstr,
|
|
978
|
+
evt,
|
|
979
|
+
gm,
|
|
980
|
+
block,
|
|
981
|
+
eventset
|
|
982
|
+
});
|
|
983
|
+
continue;
|
|
984
|
+
}
|
|
985
|
+
if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
|
|
986
|
+
checkjunctionframe({
|
|
987
|
+
jbstr,
|
|
988
|
+
evt,
|
|
989
|
+
gm,
|
|
990
|
+
block,
|
|
991
|
+
eventset
|
|
992
|
+
});
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
const exonobjlst = [];
|
|
997
|
+
let boxstart = null, boxstop;
|
|
998
|
+
for (const exon of eventset.exonlst) {
|
|
999
|
+
const pointa = block.seekcoord(exon.chr, exon.start)[0];
|
|
1000
|
+
if (!pointa) {
|
|
1001
|
+
console.log("skipped exon start position not mapped: " + exon.start);
|
|
1002
|
+
return;
|
|
1003
|
+
}
|
|
1004
|
+
const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
|
|
1005
|
+
if (!pointb) {
|
|
1006
|
+
console.log("skipped exon stop position not mapped: " + exon.stop);
|
|
1007
|
+
return;
|
|
1008
|
+
}
|
|
1009
|
+
const exonobj = {
|
|
1010
|
+
x: Math.min(pointa.x, pointb.x),
|
|
1011
|
+
w: Math.max(1, Math.abs(pointa.x - pointb.x))
|
|
1012
|
+
};
|
|
1013
|
+
exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
|
|
1014
|
+
console.log(eventset);
|
|
1015
|
+
});
|
|
1016
|
+
if (boxstart == null) {
|
|
1017
|
+
boxstart = exonobj.x;
|
|
1018
|
+
boxstop = exonobj.x + exonobj.w;
|
|
1019
|
+
} else {
|
|
1020
|
+
boxstart = Math.min(boxstart, exonobj.x);
|
|
1021
|
+
boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
|
|
1022
|
+
}
|
|
1023
|
+
exonobjlst.push(exonobj);
|
|
1024
|
+
}
|
|
1025
|
+
for (const exon of exonobjlst) {
|
|
1026
|
+
exon.rect.attr("x", exon.x - boxstart);
|
|
1027
|
+
}
|
|
1028
|
+
eventset.boxstart = boxstart;
|
|
1029
|
+
eventset.boxwidth = boxstop - boxstart;
|
|
1030
|
+
if (eventset.exonlst.length > 1) {
|
|
1031
|
+
eventset.g.append("line").attr("stroke", eventset.color).attr("stroke-opacity", 0.2).attr("stroke-width", 2).attr("shape-rendering", "crispEdges").attr("x1", 0).attr("x2", eventset.boxwidth).attr("y1", stackheight / 2 - 0.5).attr("y2", stackheight / 2 - 0.5);
|
|
1032
|
+
}
|
|
1033
|
+
eventset.toplabel.each(function() {
|
|
1034
|
+
eventset.labelwidth = this.getBBox().width;
|
|
1035
|
+
});
|
|
1036
|
+
if (eventset.middlelabel) {
|
|
1037
|
+
eventset.middlelabel.each(function() {
|
|
1038
|
+
eventset.labelwidth = this.getBBox().width;
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
eventset.bottomlabel.each(function() {
|
|
1042
|
+
eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
|
|
1043
|
+
});
|
|
1044
|
+
if (eventset.labelwidth > eventset.boxstart) {
|
|
1045
|
+
eventset.labelonright = true;
|
|
1046
|
+
eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
|
|
1047
|
+
eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
|
|
1048
|
+
if (eventset.middlelabel) {
|
|
1049
|
+
eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
|
|
1050
|
+
}
|
|
1051
|
+
} else {
|
|
1052
|
+
eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
|
|
1053
|
+
eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
|
|
1054
|
+
if (eventset.middlelabel) {
|
|
1055
|
+
eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
eventset.cover = eventset.g.append("rect").attr("x", eventset.labelonright ? 0 : -eventset.labelwidth - boxlabelspacing).attr("width", eventset.labelwidth + boxlabelspacing + eventset.boxwidth).attr("height", stackheight).attr("fill", "#858585").attr("fill-opacity", 0).on("mouseover", () => {
|
|
1059
|
+
eventset.cover.attr("fill-opacity", 0.1);
|
|
1060
|
+
}).on("mouseout", () => {
|
|
1061
|
+
eventset.cover.attr("fill-opacity", 0);
|
|
1062
|
+
}).on("click", () => {
|
|
1063
|
+
tk.tktip.clear();
|
|
1064
|
+
displayspliceevents(eventset.eventlst, tk.tktip.d);
|
|
1065
|
+
tk.tktip.showunder(eventset.cover.node());
|
|
1066
|
+
});
|
|
1067
|
+
}
|
|
1068
|
+
const stacks = [0];
|
|
1069
|
+
for (const eventset of allevents) {
|
|
1070
|
+
let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
|
|
1071
|
+
let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
|
|
1072
|
+
for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
|
|
1073
|
+
if (x1 > stacks[stackidx]) {
|
|
1074
|
+
eventset.stackidx = stackidx;
|
|
1075
|
+
stacks[stackidx] = x2;
|
|
1076
|
+
break;
|
|
1077
|
+
}
|
|
1078
|
+
if (!eventset.labelonright) {
|
|
1079
|
+
const newx1 = eventset.boxstart;
|
|
1080
|
+
const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
|
|
1081
|
+
if (newx1 > stacks[stackidx] && newx2 <= block.width) {
|
|
1082
|
+
eventset.labelonright = true;
|
|
1083
|
+
eventset.stackidx = stackidx;
|
|
1084
|
+
stacks[stackidx] = newx2;
|
|
1085
|
+
eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
|
|
1086
|
+
eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
|
|
1087
|
+
if (eventset.middlelabel) {
|
|
1088
|
+
eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
|
|
1089
|
+
}
|
|
1090
|
+
eventset.cover.attr("x", 0);
|
|
1091
|
+
break;
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
if (eventset.stackidx == void 0) {
|
|
1096
|
+
eventset.stackidx = stacks.length;
|
|
1097
|
+
stacks.push(x2);
|
|
1098
|
+
}
|
|
1099
|
+
eventset.g.attr(
|
|
1100
|
+
"transform",
|
|
1101
|
+
"translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
|
|
1102
|
+
);
|
|
1103
|
+
}
|
|
1104
|
+
tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
|
|
1105
|
+
block.block_setheight();
|
|
1106
|
+
}
|
|
1107
|
+
function checkjunctionframe(arg) {
|
|
1108
|
+
if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
|
|
1109
|
+
arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
|
|
1110
|
+
}
|
|
1111
|
+
if (!arg.gm.coding) {
|
|
1112
|
+
arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
|
|
1113
|
+
mayupdateeventsetlabel(arg);
|
|
1114
|
+
return;
|
|
1115
|
+
}
|
|
1116
|
+
const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
|
|
1117
|
+
dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
|
|
1118
|
+
if (!data) {
|
|
1119
|
+
console.log("server error");
|
|
1120
|
+
return;
|
|
1121
|
+
}
|
|
1122
|
+
if (data.error) {
|
|
1123
|
+
console.log(data.error);
|
|
1124
|
+
return;
|
|
1125
|
+
}
|
|
1126
|
+
if (typeof data.frame != "boolean") {
|
|
1127
|
+
console.log("invalid result from translategm: " + data.frame);
|
|
1128
|
+
return;
|
|
1129
|
+
}
|
|
1130
|
+
arg.evt.frame = data.frame;
|
|
1131
|
+
arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
|
|
1132
|
+
mayupdateeventsetlabel(arg);
|
|
1133
|
+
});
|
|
1134
|
+
}
|
|
1135
|
+
function mayupdateeventsetlabel(arg) {
|
|
1136
|
+
if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
|
|
1137
|
+
return;
|
|
1138
|
+
}
|
|
1139
|
+
let frame = OUT_frame;
|
|
1140
|
+
for (const evt of arg.eventset.eventlst) {
|
|
1141
|
+
if (evt.framenocheck) {
|
|
1142
|
+
continue;
|
|
1143
|
+
}
|
|
1144
|
+
let isoform;
|
|
1145
|
+
if (evt.isskipexon) {
|
|
1146
|
+
isoform = evt.gm.isoform;
|
|
1147
|
+
}
|
|
1148
|
+
const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
|
|
1149
|
+
if (thisframe == void 0) {
|
|
1150
|
+
return;
|
|
1151
|
+
}
|
|
1152
|
+
if (thisframe == IN_frame) {
|
|
1153
|
+
frame = IN_frame;
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
|
|
1157
|
+
}
|
|
1158
|
+
function displayspliceevents(events, holder) {
|
|
1159
|
+
const evt2showidx = spliceevent_exonskip_getdefault_default(events);
|
|
1160
|
+
if (events.length > 1) {
|
|
1161
|
+
holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
|
|
1162
|
+
const name = Math.random().toString();
|
|
1163
|
+
for (const [idx, evt] of events.entries()) {
|
|
1164
|
+
const id = name + idx;
|
|
1165
|
+
const row = holder.append("div").style("margin-top", "3px");
|
|
1166
|
+
row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
|
|
1167
|
+
displayspliceevents_show(events, idx, showdiv);
|
|
1168
|
+
});
|
|
1169
|
+
row.append("label").attr("for", id).html(" " + spliceevent_phrase_default(evt));
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
const showdiv = holder.append("div");
|
|
1173
|
+
displayspliceevents_show(events, evt2showidx, showdiv);
|
|
1174
|
+
}
|
|
1175
|
+
function displayspliceevents_show(events, idx, div) {
|
|
1176
|
+
div.selectAll("*").remove();
|
|
1177
|
+
import("./spliceevent.exonskip.diagram-XV2Z7AYB.js").then((p) => {
|
|
1178
|
+
p.default({
|
|
1179
|
+
event: events[idx],
|
|
1180
|
+
holder: div,
|
|
1181
|
+
nophrase: events.length > 1
|
|
1182
|
+
});
|
|
1183
|
+
});
|
|
1184
|
+
}
|
|
1185
|
+
function exonlstoutofrange(lst, block) {
|
|
1186
|
+
const chr = lst[0].chr;
|
|
1187
|
+
let start = lst[0].start;
|
|
1188
|
+
let stop = lst[0].stop;
|
|
1189
|
+
for (const e of lst) {
|
|
1190
|
+
start = Math.min(start, e.start);
|
|
1191
|
+
stop = Math.max(stop, e.stop);
|
|
1192
|
+
}
|
|
1193
|
+
const starthit = block.seekcoord(chr, start)[0];
|
|
1194
|
+
const stophit = block.seekcoord(chr, stop)[0];
|
|
1195
|
+
if (!starthit || !stophit) {
|
|
1196
|
+
return true;
|
|
1197
|
+
}
|
|
1198
|
+
let startoutleft = false;
|
|
1199
|
+
let startoutright = false;
|
|
1200
|
+
if (starthit.x <= 0) {
|
|
1201
|
+
startoutleft = true;
|
|
1202
|
+
} else if (starthit.x >= block.width) {
|
|
1203
|
+
startoutright = true;
|
|
1204
|
+
}
|
|
1205
|
+
let stopoutleft = false;
|
|
1206
|
+
let stopoutright = false;
|
|
1207
|
+
if (stophit.x <= 0) {
|
|
1208
|
+
stopoutleft = true;
|
|
1209
|
+
} else if (stophit.x >= block.width) {
|
|
1210
|
+
stopoutright = true;
|
|
1211
|
+
}
|
|
1212
|
+
if (startoutleft && stopoutleft) return true;
|
|
1213
|
+
if (startoutright && stopoutright) return true;
|
|
1214
|
+
return false;
|
|
1215
|
+
}
|
|
1216
|
+
function getgmdata(block) {
|
|
1217
|
+
if (!block.gmmode || block.gmmode == gmmode.genomic) {
|
|
1218
|
+
const genetk = [];
|
|
1219
|
+
for (const t of block.tklst) {
|
|
1220
|
+
if (t.__isgene) {
|
|
1221
|
+
genetk.push(t);
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
if (genetk.length == 0) {
|
|
1225
|
+
return ["Add a gene track to analyze splice junctions."];
|
|
1226
|
+
}
|
|
1227
|
+
const gmdatalst = [];
|
|
1228
|
+
for (const t of genetk) {
|
|
1229
|
+
if (t.gmdata) {
|
|
1230
|
+
for (const m of t.gmdata) {
|
|
1231
|
+
gmdatalst.push(m);
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
if (gmdatalst.length == 0) {
|
|
1236
|
+
return [null];
|
|
1237
|
+
}
|
|
1238
|
+
const regions = [];
|
|
1239
|
+
for (const m of gmdatalst) {
|
|
1240
|
+
let overlap = false;
|
|
1241
|
+
for (const r of regions) {
|
|
1242
|
+
if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
|
|
1243
|
+
overlap = true;
|
|
1244
|
+
r.start = Math.min(r.start, m.start);
|
|
1245
|
+
r.stop = Math.max(r.stop, m.stop);
|
|
1246
|
+
break;
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
if (!overlap) {
|
|
1250
|
+
regions.push({ start: m.start, stop: m.stop });
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
if (regions.length >= 3) {
|
|
1254
|
+
return ["Zoom in on a single gene to analyze splice junctions."];
|
|
1255
|
+
}
|
|
1256
|
+
return [null, gmdatalst];
|
|
1257
|
+
}
|
|
1258
|
+
if (block.gmmode == gmmode.gmsum) {
|
|
1259
|
+
if (!block.allgm) {
|
|
1260
|
+
return ["Error: block.allgm[] is missing"];
|
|
1261
|
+
}
|
|
1262
|
+
return [null, block.allgm];
|
|
1263
|
+
}
|
|
1264
|
+
if (!block.usegm) {
|
|
1265
|
+
return ["Error: block.usegm is missing"];
|
|
1266
|
+
}
|
|
1267
|
+
return [null, [block.usegm]];
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
// src/block.tk.junction.renderjunctions.js
|
|
1271
|
+
var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
|
|
1272
|
+
var colorfunc = ordinal(category10_default);
|
|
1273
|
+
var minfontsize = 12;
|
|
1274
|
+
function rendertk(junctions, tk, block) {
|
|
1275
|
+
if (tk.data) {
|
|
1276
|
+
const map = /* @__PURE__ */ new Map();
|
|
1277
|
+
for (const j of tk.data) {
|
|
1278
|
+
map.set(j.chr + "." + j.start + "." + j.stop, j);
|
|
1279
|
+
}
|
|
1280
|
+
const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
|
|
1281
|
+
for (const i of junctions) {
|
|
1282
|
+
const j = map.get(i.chr + "." + i.start + "." + i.stop);
|
|
1283
|
+
if (j) {
|
|
1284
|
+
i.x = j.x + pannedpx;
|
|
1285
|
+
i.mode = j.mode;
|
|
1286
|
+
i.modefix = j.modefix;
|
|
1287
|
+
if (i.mode == modesample) {
|
|
1288
|
+
i.mode = moderaise;
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
tk.data = junctions;
|
|
1294
|
+
tk.glider.selectAll("*").remove();
|
|
1295
|
+
tk.leftaxis.selectAll("*").remove();
|
|
1296
|
+
if (tk.readcountcutoff) {
|
|
1297
|
+
const newj = [];
|
|
1298
|
+
for (const j of tk.data) {
|
|
1299
|
+
if (j.data) {
|
|
1300
|
+
const newsamples = [];
|
|
1301
|
+
for (const s of j.data) {
|
|
1302
|
+
if (s.v >= tk.readcountcutoff) {
|
|
1303
|
+
newsamples.push(s);
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
if (newsamples.length == 0) {
|
|
1307
|
+
continue;
|
|
1308
|
+
}
|
|
1309
|
+
j.data = newsamples;
|
|
1310
|
+
newj.push(j);
|
|
1311
|
+
} else {
|
|
1312
|
+
if (j.v >= tk.readcountcutoff) {
|
|
1313
|
+
newj.push(j);
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
tk.data = newj;
|
|
1318
|
+
}
|
|
1319
|
+
if (tk.data.length == 0) {
|
|
1320
|
+
tk.height_main = 50;
|
|
1321
|
+
block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
|
|
1322
|
+
tk.label_mcount.text("");
|
|
1323
|
+
if (tk.label_samplecount) {
|
|
1324
|
+
tk.label_samplecount.text("");
|
|
1325
|
+
}
|
|
1326
|
+
get_leftLabelMaxwidth(tk);
|
|
1327
|
+
block.setllabel();
|
|
1328
|
+
block.block_setheight();
|
|
1329
|
+
return;
|
|
1330
|
+
}
|
|
1331
|
+
tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
|
|
1332
|
+
get_leftLabelMaxwidth(tk);
|
|
1333
|
+
block.setllabel();
|
|
1334
|
+
junctiontype2color(tk, block);
|
|
1335
|
+
const mg = tk.glider.append("g");
|
|
1336
|
+
tk.data.sort((a, b) => {
|
|
1337
|
+
return a._x - b._x;
|
|
1338
|
+
});
|
|
1339
|
+
let maxsamplecount = 0;
|
|
1340
|
+
if (tk.totalsamplecount > 1) {
|
|
1341
|
+
maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
|
|
1342
|
+
const radius = 5;
|
|
1343
|
+
let mrd = 0;
|
|
1344
|
+
const w = Math.pow(radius, 2) * Math.PI;
|
|
1345
|
+
if (maxsamplecount <= 10) {
|
|
1346
|
+
mrd = w * maxsamplecount * 0.9;
|
|
1347
|
+
} else if (maxsamplecount <= 100) {
|
|
1348
|
+
mrd = w * 10;
|
|
1349
|
+
} else if (maxsamplecount <= 1e3) {
|
|
1350
|
+
mrd = w * 14;
|
|
1351
|
+
} else {
|
|
1352
|
+
mrd = w * 20;
|
|
1353
|
+
}
|
|
1354
|
+
const sf_discradius = linear().domain([
|
|
1355
|
+
1,
|
|
1356
|
+
maxsamplecount * 0.5 + 0.1,
|
|
1357
|
+
maxsamplecount * 0.6 + 0.1,
|
|
1358
|
+
maxsamplecount * 0.7 + 0.1,
|
|
1359
|
+
maxsamplecount * 0.8 + 0.1,
|
|
1360
|
+
maxsamplecount
|
|
1361
|
+
]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
|
|
1362
|
+
let maxradius = 0;
|
|
1363
|
+
for (const j of tk.data) {
|
|
1364
|
+
j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
|
|
1365
|
+
if (j.data.length > 1) {
|
|
1366
|
+
mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
|
|
1367
|
+
const b = this.getBBox();
|
|
1368
|
+
const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
|
|
1369
|
+
j.radius = Math.max(j.radius, newrad);
|
|
1370
|
+
}).remove();
|
|
1371
|
+
}
|
|
1372
|
+
j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
|
|
1373
|
+
j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
|
|
1374
|
+
maxradius = Math.max(maxradius, j.radius2);
|
|
1375
|
+
}
|
|
1376
|
+
tk.maxradius = maxradius;
|
|
1377
|
+
} else {
|
|
1378
|
+
maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
|
|
1379
|
+
const radius = 5;
|
|
1380
|
+
let mrd = 0;
|
|
1381
|
+
const w = Math.pow(radius, 2) * Math.PI;
|
|
1382
|
+
if (maxsamplecount <= 10) {
|
|
1383
|
+
mrd = w * maxsamplecount * 0.9;
|
|
1384
|
+
} else if (maxsamplecount <= 100) {
|
|
1385
|
+
mrd = w * 5;
|
|
1386
|
+
} else if (maxsamplecount <= 1e3) {
|
|
1387
|
+
mrd = w * 7;
|
|
1388
|
+
} else {
|
|
1389
|
+
mrd = w * 10;
|
|
1390
|
+
}
|
|
1391
|
+
const sf_discradius = linear().domain([
|
|
1392
|
+
1,
|
|
1393
|
+
maxsamplecount * 0.5 + 0.1,
|
|
1394
|
+
maxsamplecount * 0.6 + 0.1,
|
|
1395
|
+
maxsamplecount * 0.7 + 0.1,
|
|
1396
|
+
maxsamplecount * 0.8 + 0.1,
|
|
1397
|
+
maxsamplecount
|
|
1398
|
+
]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
|
|
1399
|
+
let maxradius = 0;
|
|
1400
|
+
for (const j of tk.data) {
|
|
1401
|
+
j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
|
|
1402
|
+
j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
|
|
1403
|
+
j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
|
|
1404
|
+
maxradius = Math.max(maxradius, j.radius2);
|
|
1405
|
+
}
|
|
1406
|
+
tk.maxradius = maxradius;
|
|
1407
|
+
}
|
|
1408
|
+
let maxread = 0, maxmedian = 0, maxmedianradius = 0;
|
|
1409
|
+
for (const j of tk.data) {
|
|
1410
|
+
for (const s of j.data) {
|
|
1411
|
+
maxread = Math.max(s.v, maxread);
|
|
1412
|
+
}
|
|
1413
|
+
if (j.data.length == 1) {
|
|
1414
|
+
j.median = j.data[0].v;
|
|
1415
|
+
} else {
|
|
1416
|
+
const readlst = j.data.map((s) => s.v);
|
|
1417
|
+
readlst.sort((a, b) => a - b);
|
|
1418
|
+
j.median = readlst[Math.floor(j.data.length / 2)];
|
|
1419
|
+
}
|
|
1420
|
+
if (j.median > maxmedian) {
|
|
1421
|
+
maxmedian = j.median;
|
|
1422
|
+
maxmedianradius = j.radius;
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
|
|
1426
|
+
axisstyle({
|
|
1427
|
+
axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
|
|
1428
|
+
color: "black",
|
|
1429
|
+
showline: true
|
|
1430
|
+
});
|
|
1431
|
+
tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
|
|
1432
|
+
tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
|
|
1433
|
+
automode(tk, null, block.width);
|
|
1434
|
+
mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
|
|
1435
|
+
{
|
|
1436
|
+
const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
|
|
1437
|
+
mg.append("line").attr("x1", 0).attr("y1", topy).attr("y2", topy).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
|
|
1438
|
+
mg.append("line").attr("x1", 0).attr("y1", topy + tk.axisheight).attr("y2", topy + tk.axisheight).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
|
|
1439
|
+
let v = 10;
|
|
1440
|
+
while (v <= maxread) {
|
|
1441
|
+
mg.append("line").attr("x1", 0).attr("y1", topy + tk.yscale(v)).attr("y2", topy + tk.yscale(v)).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("stroke-dasharray", "4,4").attr("shape-rendering", "crispEdges");
|
|
1442
|
+
v *= 10;
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
|
|
1446
|
+
j.jugg = this;
|
|
1447
|
+
});
|
|
1448
|
+
tk.jug = jug;
|
|
1449
|
+
if (tk.hljunctions) {
|
|
1450
|
+
jug.attr("class", (d) => {
|
|
1451
|
+
for (const j of tk.hljunctions) {
|
|
1452
|
+
if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
|
|
1453
|
+
return "sja_pulse";
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
return null;
|
|
1457
|
+
});
|
|
1458
|
+
}
|
|
1459
|
+
jug.append("line").attr("stroke", (d) => d.color).attr("x1", (d) => set_leg_x1(d)).attr("y2", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
|
|
1460
|
+
d.leg1 = this;
|
|
1461
|
+
}).classed("sja_jug_leg1", true);
|
|
1462
|
+
jug.append("line").attr("stroke", (d) => d.color).attr("x2", (d) => set_leg_x2(d)).attr("y1", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).classed("sja_jug_leg2", true).each(function(d) {
|
|
1463
|
+
d.leg2 = this;
|
|
1464
|
+
});
|
|
1465
|
+
const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
|
|
1466
|
+
jug2.append("line").attr("stroke", (d) => d.color).classed("sja_jug_stem", true).attr("stroke-dasharray", "2,2").attr("shape-rendering", "crispEdges").attr("y1", (d) => set_stem_y1(d)).attr("y2", (d) => set_stem_y2(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
|
|
1467
|
+
d.stem = this;
|
|
1468
|
+
});
|
|
1469
|
+
jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
|
|
1470
|
+
jug2.filter((d) => d.data.length > 1).append("text").text((d) => d.data.length).attr("font-size", (d) => Math.max(minfontsize, d.radius)).attr("fill-opacity", (d) => set_discnum(d)).classed("sja_jug_discnum", true).attr("fill", "white").attr("font-family", font).attr("text-anchor", "middle").attr("dominant-baseline", "central");
|
|
1471
|
+
jug2.append("circle").attr("r", (d) => d.radius).attr("stroke", (d) => d.color).classed("sja_aa_disckick", true).attr("fill", "white").attr("fill-opacity", 0).attr("stroke-opacity", 0).on("mouseover", (event, d) => {
|
|
1472
|
+
jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
|
|
1473
|
+
jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
|
|
1474
|
+
jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
|
|
1475
|
+
select_default(d.leg1).attr("stroke-opacity", 1);
|
|
1476
|
+
select_default(d.leg2).attr("stroke-opacity", 1);
|
|
1477
|
+
select_default(d.stem).attr("stroke-opacity", 1);
|
|
1478
|
+
if (d.mode == modefold) {
|
|
1479
|
+
foldedjunctioninfo(d, tk);
|
|
1480
|
+
return;
|
|
1481
|
+
}
|
|
1482
|
+
const circle = event.target.getBoundingClientRect();
|
|
1483
|
+
expandedjunctioninfo(d, tk, circle);
|
|
1484
|
+
}).on("mouseout", () => {
|
|
1485
|
+
tk.pica.g.selectAll("*").remove();
|
|
1486
|
+
tk.tktip.hide();
|
|
1487
|
+
jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
|
|
1488
|
+
jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
|
|
1489
|
+
jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
|
|
1490
|
+
}).on("mousedown", (event) => {
|
|
1491
|
+
event.stopPropagation();
|
|
1492
|
+
}).on("click", (event, d) => {
|
|
1493
|
+
if (d.mode == modefold) {
|
|
1494
|
+
d.mode = moderaise;
|
|
1495
|
+
} else if (d.mode == moderaise) {
|
|
1496
|
+
if (d.data.length == 1) {
|
|
1497
|
+
d.mode = modefold;
|
|
1498
|
+
} else {
|
|
1499
|
+
d.mode = modesample;
|
|
1500
|
+
junctionsamplespread(d, tk, block);
|
|
1501
|
+
}
|
|
1502
|
+
} else {
|
|
1503
|
+
d.mode = modefold;
|
|
1504
|
+
}
|
|
1505
|
+
d.modefix = true;
|
|
1506
|
+
horiplace(tk.data, block.width, tk);
|
|
1507
|
+
});
|
|
1508
|
+
horiplace(tk.data, block.width, tk);
|
|
1509
|
+
function set_lineopacity(d) {
|
|
1510
|
+
return 0.5;
|
|
1511
|
+
}
|
|
1512
|
+
block.onloadalltk.push(() => {
|
|
1513
|
+
spliceeventanalyze(tk, block);
|
|
1514
|
+
});
|
|
1515
|
+
block.tkcloakoff(tk, {});
|
|
1516
|
+
block.block_setheight();
|
|
1517
|
+
}
|
|
1518
|
+
function horiplace(lst, width, tk) {
|
|
1519
|
+
const todo = [];
|
|
1520
|
+
for (const i of lst) {
|
|
1521
|
+
if (i.x0 < 0) {
|
|
1522
|
+
i.tox = i.x1 - i.radius2 * 2;
|
|
1523
|
+
} else if (i.x1 > width) {
|
|
1524
|
+
i.tox = i.x0 + i.radius2 * 2;
|
|
1525
|
+
} else {
|
|
1526
|
+
i.tox = i._x;
|
|
1527
|
+
}
|
|
1528
|
+
if (i.mode == modefold) {
|
|
1529
|
+
i.x = i.tox;
|
|
1530
|
+
} else {
|
|
1531
|
+
todo.push(i);
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
for (const i of lst) {
|
|
1535
|
+
i.x = i.tox;
|
|
1536
|
+
}
|
|
1537
|
+
set_all(tk);
|
|
1538
|
+
return;
|
|
1539
|
+
}
|
|
1540
|
+
function automode(tk, usemode, blockwidth) {
|
|
1541
|
+
for (const i of tk.data) {
|
|
1542
|
+
if (!i.mode) i.mode = moderaise;
|
|
1543
|
+
}
|
|
1544
|
+
return;
|
|
1545
|
+
const samplecountlst = [];
|
|
1546
|
+
for (let i = 0; i < tk.data.length; i++) {
|
|
1547
|
+
samplecountlst.push({
|
|
1548
|
+
idx: i,
|
|
1549
|
+
count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
|
|
1550
|
+
});
|
|
1551
|
+
}
|
|
1552
|
+
samplecountlst.sort((a, b) => b.count - a.count);
|
|
1553
|
+
let cumx = 0;
|
|
1554
|
+
for (const cc of samplecountlst) {
|
|
1555
|
+
const d = tk.data[cc.idx];
|
|
1556
|
+
if (!d.mode) {
|
|
1557
|
+
cumx += d.radius2 * 2;
|
|
1558
|
+
d.mode = cumx >= blockwidth ? modefold : moderaise;
|
|
1559
|
+
} else {
|
|
1560
|
+
if (d.modefix) {
|
|
1561
|
+
if (d.mode != modefold) {
|
|
1562
|
+
cumx += d.radius2 * 2;
|
|
1563
|
+
}
|
|
1564
|
+
} else {
|
|
1565
|
+
if (usemode) {
|
|
1566
|
+
d.mode = usemode;
|
|
1567
|
+
if (d.mode != modefold) {
|
|
1568
|
+
cumx += d.radius2 * 2;
|
|
1569
|
+
}
|
|
1570
|
+
} else {
|
|
1571
|
+
cumx += d.radius2 * 2;
|
|
1572
|
+
d.mode = cumx >= blockwidth ? modefold : moderaise;
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
function set_jug(d) {
|
|
1579
|
+
return "translate(" + d.x + ",0)";
|
|
1580
|
+
}
|
|
1581
|
+
function set_leg_x1(d) {
|
|
1582
|
+
return d.x0 - d.x;
|
|
1583
|
+
}
|
|
1584
|
+
function set_leg_x2(d) {
|
|
1585
|
+
return d.x1 - d.x;
|
|
1586
|
+
}
|
|
1587
|
+
function set_discnum(d) {
|
|
1588
|
+
return d.mode == modefold ? 0 : 1;
|
|
1589
|
+
}
|
|
1590
|
+
function set_stem_y1(d) {
|
|
1591
|
+
if (d.mode == modefold) return d.radius;
|
|
1592
|
+
return d.radius2;
|
|
1593
|
+
}
|
|
1594
|
+
function set_qmg(d, tk) {
|
|
1595
|
+
if (d.mode == modesample)
|
|
1596
|
+
return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
|
|
1597
|
+
return "translate(0,0) scale(0)";
|
|
1598
|
+
}
|
|
1599
|
+
function set_leg_y(d, tk) {
|
|
1600
|
+
if (d.mode == modefold) return -tk.legheight;
|
|
1601
|
+
return -tk.legheight - tk.lowpad - tk.maxradius * 2;
|
|
1602
|
+
}
|
|
1603
|
+
function set_jug2(d, tk) {
|
|
1604
|
+
if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
|
|
1605
|
+
if (d.mode == moderaise)
|
|
1606
|
+
return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
|
|
1607
|
+
return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
|
|
1608
|
+
}
|
|
1609
|
+
function set_stem_y2(d, tk) {
|
|
1610
|
+
if (d.mode == modefold) return d.radius + tk.lowpad;
|
|
1611
|
+
if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
|
|
1612
|
+
return tk.maxradius + tk.padheight;
|
|
1613
|
+
}
|
|
1614
|
+
function set_all(tk) {
|
|
1615
|
+
const dur = 500;
|
|
1616
|
+
if (tk.totalsamplecount > 1) {
|
|
1617
|
+
tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
|
|
1618
|
+
tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
|
|
1619
|
+
}
|
|
1620
|
+
tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
|
|
1621
|
+
tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
|
|
1622
|
+
tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
|
|
1623
|
+
tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
|
|
1624
|
+
tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
|
|
1625
|
+
}
|
|
1626
|
+
function junctiontype2color(tk, block) {
|
|
1627
|
+
for (const j of tk.data) {
|
|
1628
|
+
j.color = defaultcolor;
|
|
1629
|
+
}
|
|
1630
|
+
if (tk.nocatepreconfig) {
|
|
1631
|
+
let categories = {};
|
|
1632
|
+
if (tk.categories) {
|
|
1633
|
+
categories = tk.categories;
|
|
1634
|
+
}
|
|
1635
|
+
let hasnewtype = false;
|
|
1636
|
+
for (const j of tk.data) {
|
|
1637
|
+
if (j.type) {
|
|
1638
|
+
if (!categories[j.type]) {
|
|
1639
|
+
hasnewtype = true;
|
|
1640
|
+
categories[j.type] = {
|
|
1641
|
+
label: j.type
|
|
1642
|
+
};
|
|
1643
|
+
if (j.type.toLowerCase() == "known") {
|
|
1644
|
+
categories[j.type].color = "#0C72A8";
|
|
1645
|
+
} else if (j.type.toLowerCase() == "novel") {
|
|
1646
|
+
categories[j.type].color = "#A80C33";
|
|
1647
|
+
} else {
|
|
1648
|
+
categories[j.type].color = colorfunc(j.type);
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
if (hasnewtype) {
|
|
1654
|
+
tk.categories = categories;
|
|
1655
|
+
if (!tk.tr_legend) {
|
|
1656
|
+
const [tr, td] = legend_newrow(block, tk.name);
|
|
1657
|
+
tk.tr_legend = tr;
|
|
1658
|
+
tk.td_legend = td;
|
|
1659
|
+
tr.style("display", "none");
|
|
1660
|
+
appear(tr, "table-row");
|
|
1661
|
+
}
|
|
1662
|
+
category2legend(tk.categories, tk.td_legend);
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
if (tk.categories) {
|
|
1666
|
+
for (const j of tk.data) {
|
|
1667
|
+
if (j.type && tk.categories[j.type]) {
|
|
1668
|
+
j.color = tk.categories[j.type].color;
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
function foldedjunctioninfo(d, tk) {
|
|
1674
|
+
const fontsize = 15;
|
|
1675
|
+
let pad = 5, y = pad, width = 0;
|
|
1676
|
+
const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
|
|
1677
|
+
if (d.type) {
|
|
1678
|
+
tk.pica.g.append("text").text(d.type).attr("fill", d.color).attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
|
|
1679
|
+
width = this.getBBox().width;
|
|
1680
|
+
});
|
|
1681
|
+
y += fontsize;
|
|
1682
|
+
}
|
|
1683
|
+
if (d.data) {
|
|
1684
|
+
tk.pica.g.append("text").text(d.data.length + " sample" + (d.data.length > 1 ? "s" : "")).attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
|
|
1685
|
+
width = Math.max(width, this.getBBox().width);
|
|
1686
|
+
});
|
|
1687
|
+
y += fontsize;
|
|
1688
|
+
tk.pica.g.append("text").text(d.median + " median").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
|
|
1689
|
+
width = Math.max(width, this.getBBox().width);
|
|
1690
|
+
});
|
|
1691
|
+
y += fontsize;
|
|
1692
|
+
} else {
|
|
1693
|
+
tk.pica.g.append("text").text(d.v + " reads").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
|
|
1694
|
+
width = Math.max(width, this.getBBox().width);
|
|
1695
|
+
});
|
|
1696
|
+
y += fontsize;
|
|
1697
|
+
}
|
|
1698
|
+
y += pad;
|
|
1699
|
+
bg.attr("width", pad * 2 + width).attr("height", y);
|
|
1700
|
+
tk.pica.g.append("line").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("x1", 30).attr("x2", 30).attr("y1", y).attr("y2", y + 15);
|
|
1701
|
+
y += 15;
|
|
1702
|
+
tk.pica.g.attr(
|
|
1703
|
+
"transform",
|
|
1704
|
+
"translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
|
|
1705
|
+
);
|
|
1706
|
+
}
|
|
1707
|
+
function expandedjunctioninfo(d, tk, circle) {
|
|
1708
|
+
tk.tktip.clear();
|
|
1709
|
+
const holder = tk.tktip.d;
|
|
1710
|
+
if (d.type) {
|
|
1711
|
+
holder.append("div").style("display", "inline-block").text(d.type).classed("sja_mcdot", true).style("background-color", d.color).style("padding", "1px 8px").style("margin-bottom", "3px");
|
|
1712
|
+
}
|
|
1713
|
+
holder.append("div").html(
|
|
1714
|
+
bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
|
|
1715
|
+
);
|
|
1716
|
+
if (d.data) {
|
|
1717
|
+
if (d.data.length > 1) {
|
|
1718
|
+
holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
|
|
1719
|
+
if (d.rimcount) {
|
|
1720
|
+
holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
|
|
1721
|
+
}
|
|
1722
|
+
holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
|
|
1723
|
+
} else if (d.data.length == 1) {
|
|
1724
|
+
samplejunctiontooltip(d, d.data[0], tk, holder);
|
|
1725
|
+
}
|
|
1726
|
+
} else {
|
|
1727
|
+
holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
|
|
1728
|
+
}
|
|
1729
|
+
if (d.spliceevents && d.spliceevents.length > 0) {
|
|
1730
|
+
const renderdiv = holder.append("div").style("margin", "10px 0px");
|
|
1731
|
+
displayspliceevents(d.spliceevents, renderdiv);
|
|
1732
|
+
}
|
|
1733
|
+
tk.tktip.show(circle.left + circle.width, circle.top - 50);
|
|
1734
|
+
}
|
|
1735
|
+
function junctionsamplespread(j, tk, block) {
|
|
1736
|
+
if (j.qmg) {
|
|
1737
|
+
j.qmg.remove();
|
|
1738
|
+
}
|
|
1739
|
+
if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
|
|
1740
|
+
for (const d of j.data) {
|
|
1741
|
+
if (!d[tk.cohortsetting.cohort.levels[0].k]) {
|
|
1742
|
+
d.color = "gray";
|
|
1743
|
+
continue;
|
|
1744
|
+
}
|
|
1745
|
+
const levelkeys = [];
|
|
1746
|
+
for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
|
|
1747
|
+
const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
|
|
1748
|
+
if (levelvalue) {
|
|
1749
|
+
levelkeys.push(levelvalue);
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
const str = levelkeys.join(tk.cohortsetting.levelseparator);
|
|
1753
|
+
d.color = tk.cohortsetting.colorfunc(str);
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
j.swarm = (0, import_d3_beeswarm.beeswarm)().data(j.data).distributeOn((d) => tk.axisheight - tk.yscale(d.v)).radius(tk.qmradius).orientation("vertical").side("symetric").arrange();
|
|
1757
|
+
const jugg = select_default(j.jugg);
|
|
1758
|
+
j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
|
|
1759
|
+
const opacity = 0.8;
|
|
1760
|
+
j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
|
|
1761
|
+
return bee.datum.color || "green";
|
|
1762
|
+
}).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
|
|
1763
|
+
select_default(event.target).attr("fill-opacity", 1);
|
|
1764
|
+
const p = event.target.getBoundingClientRect();
|
|
1765
|
+
tk.tktip.clear();
|
|
1766
|
+
tk.tktip.show(p.left + 20, p.top - 40);
|
|
1767
|
+
samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
|
|
1768
|
+
}).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
|
|
1769
|
+
if (tk.tracks) {
|
|
1770
|
+
return;
|
|
1771
|
+
}
|
|
1772
|
+
}).transition().attr("cx", (bee) => bee.x);
|
|
1773
|
+
}
|
|
1774
|
+
function samplejunctiontooltip(j, sample, tk, holder) {
|
|
1775
|
+
if (sample.sample) {
|
|
1776
|
+
holder.append("div").html(sample.sample);
|
|
1777
|
+
} else if (sample.name) {
|
|
1778
|
+
holder.append("div").html(sample.name);
|
|
1779
|
+
} else if (sample.patient || sample.sampletype) {
|
|
1780
|
+
if (sample.patient) {
|
|
1781
|
+
holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
|
|
1782
|
+
}
|
|
1783
|
+
if (sample.sampletype) {
|
|
1784
|
+
holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
|
|
1785
|
+
}
|
|
1786
|
+
} else if (sample.tkid) {
|
|
1787
|
+
for (const t of tk.tracks) {
|
|
1788
|
+
if (t.tkid == sample.tkid) {
|
|
1789
|
+
holder.append("div").text(t.name || "unnamed member");
|
|
1790
|
+
break;
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
|
|
1795
|
+
for (const lev of tk.cohortsetting.cohort.levels) {
|
|
1796
|
+
if (sample[lev.k]) {
|
|
1797
|
+
holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
|
|
1802
|
+
if (sample.metadata) {
|
|
1803
|
+
holder.append("div").html(
|
|
1804
|
+
'<span style="background-color:' + sample.metadata.color + '" class=sja_mcdot> </span> ' + sample.metadata.value + ' <span style="font-size:.7em;color:#858585">' + tk.metadata.m.label + "</span>"
|
|
1805
|
+
);
|
|
1806
|
+
}
|
|
1807
|
+
if (sample.hasrim) {
|
|
1808
|
+
holder.append("div").text(tk.rimwhat);
|
|
1809
|
+
}
|
|
1810
|
+
if (j.spliceevents) {
|
|
1811
|
+
const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
|
|
1812
|
+
const evt = j.spliceevents[evtidx];
|
|
1813
|
+
const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
|
|
1814
|
+
let jbcount = 0;
|
|
1815
|
+
if (evt.junctionB && evt.junctionB.data) {
|
|
1816
|
+
for (const d of evt.junctionB.data) {
|
|
1817
|
+
if (d.tkid == sample.tkid) {
|
|
1818
|
+
jbcount = d.v;
|
|
1819
|
+
break;
|
|
1820
|
+
}
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
let acountsum = 0;
|
|
1824
|
+
if (evt.junctionAlst) {
|
|
1825
|
+
for (const ja of evt.junctionAlst) {
|
|
1826
|
+
if (ja && ja.data) {
|
|
1827
|
+
for (const d of ja.data) {
|
|
1828
|
+
if (d.tkid == sample.tkid) {
|
|
1829
|
+
acountsum += d.v;
|
|
1830
|
+
break;
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
let percent;
|
|
1837
|
+
if (jbcount == 0) {
|
|
1838
|
+
percent = 0;
|
|
1839
|
+
} else {
|
|
1840
|
+
percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
|
|
1841
|
+
}
|
|
1842
|
+
holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
function get_leftLabelMaxwidth(tk) {
|
|
1846
|
+
const collectlabw = [];
|
|
1847
|
+
tk.tklabel.each(function() {
|
|
1848
|
+
collectlabw.push(this.getBBox().width);
|
|
1849
|
+
});
|
|
1850
|
+
if (tk.label_mcount) {
|
|
1851
|
+
tk.label_mcount.each(function() {
|
|
1852
|
+
collectlabw.push(this.getBBox().width);
|
|
1853
|
+
});
|
|
1854
|
+
}
|
|
1855
|
+
tk.leftLabelMaxwidth = Math.max(...collectlabw);
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
// src/block.tk.junction.js
|
|
1859
|
+
var binpxw = 5;
|
|
1860
|
+
var modefold = 1;
|
|
1861
|
+
var moderaise = 2;
|
|
1862
|
+
var modesample = 3;
|
|
1863
|
+
var labyspace = 5;
|
|
1864
|
+
function makeTk(tk, block) {
|
|
1865
|
+
tk.leftaxis = tk.gleft.append("g");
|
|
1866
|
+
let laby = labyspace + block.labelfontsize;
|
|
1867
|
+
const thistip = new Menu({ padding: "none" });
|
|
1868
|
+
tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
|
|
1869
|
+
label_mcount_fillpane(tk, block, thistip);
|
|
1870
|
+
});
|
|
1871
|
+
laby += labyspace + block.labelfontsize;
|
|
1872
|
+
tk.totalsamplecount = 0;
|
|
1873
|
+
tk.height_main = 100;
|
|
1874
|
+
tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
|
|
1875
|
+
if (tk.categories || tk.cohortsetting) {
|
|
1876
|
+
const [tr, td] = legend_newrow(block, tk.name);
|
|
1877
|
+
tk.tr_legend = tr;
|
|
1878
|
+
tk.td_legend = td;
|
|
1879
|
+
}
|
|
1880
|
+
if (tk.categories) {
|
|
1881
|
+
category2legend(tk.categories, tk.td_legend);
|
|
1882
|
+
}
|
|
1883
|
+
if (tk.cohortsetting) {
|
|
1884
|
+
tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
|
|
1885
|
+
tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
function junctionload(tk, block) {
|
|
1889
|
+
if (tk.uninitialized) {
|
|
1890
|
+
makeTk(tk, block);
|
|
1891
|
+
delete tk.uninitialized;
|
|
1892
|
+
}
|
|
1893
|
+
if ((block.zoomedin || block.resized) && tk.data) {
|
|
1894
|
+
const junc = [];
|
|
1895
|
+
for (const i of tk.data) {
|
|
1896
|
+
const oldx = i.x;
|
|
1897
|
+
const e = j2block(i, block);
|
|
1898
|
+
if (e) {
|
|
1899
|
+
continue;
|
|
1900
|
+
}
|
|
1901
|
+
if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
|
|
1902
|
+
i.x = oldx;
|
|
1903
|
+
junc.push(i);
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
rendertk(junc, tk, block);
|
|
1907
|
+
return;
|
|
1908
|
+
}
|
|
1909
|
+
if (tk.fixeddata) {
|
|
1910
|
+
block.tkcloakon(tk);
|
|
1911
|
+
const junc2 = [];
|
|
1912
|
+
for (const j of tk.fixeddata) {
|
|
1913
|
+
const j2 = {
|
|
1914
|
+
chr: j.chr,
|
|
1915
|
+
start: j.start,
|
|
1916
|
+
stop: j.stop,
|
|
1917
|
+
data: j.data,
|
|
1918
|
+
type: j.type
|
|
1919
|
+
};
|
|
1920
|
+
const e = j2block(j2, block);
|
|
1921
|
+
if (e) {
|
|
1922
|
+
continue;
|
|
1923
|
+
}
|
|
1924
|
+
junc2.push(j2);
|
|
1925
|
+
}
|
|
1926
|
+
tk.totalsamplecount = tk.tracks[0].samplecount;
|
|
1927
|
+
tk.axisheight = 200;
|
|
1928
|
+
tk.legheight = 50;
|
|
1929
|
+
tk.bottompad = 0;
|
|
1930
|
+
tk.qmradius = 2;
|
|
1931
|
+
tk.lowpad = 15;
|
|
1932
|
+
tk.padheight = 10;
|
|
1933
|
+
rendertk(junc2, tk, block);
|
|
1934
|
+
return;
|
|
1935
|
+
}
|
|
1936
|
+
if (!tk.tracks) {
|
|
1937
|
+
block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
|
|
1938
|
+
tk.height_main = 50;
|
|
1939
|
+
block.block_setheight();
|
|
1940
|
+
return;
|
|
1941
|
+
}
|
|
1942
|
+
block.block_setheight();
|
|
1943
|
+
block.tkcloakon(tk);
|
|
1944
|
+
const bincount = Math.ceil(block.width / binpxw);
|
|
1945
|
+
let bins = null;
|
|
1946
|
+
let donenum = 0;
|
|
1947
|
+
const tasks = [];
|
|
1948
|
+
const allfiledata = [];
|
|
1949
|
+
for (const t of tk.tracks) {
|
|
1950
|
+
const getheader = new Promise((resolve, reject) => {
|
|
1951
|
+
if (t.rnapegfile) {
|
|
1952
|
+
t.samplecount = 1;
|
|
1953
|
+
return resolve();
|
|
1954
|
+
}
|
|
1955
|
+
if (t.samplecount != void 0 && t.checkedheader) return resolve();
|
|
1956
|
+
const par = {};
|
|
1957
|
+
if (t.file) {
|
|
1958
|
+
par.file = t.file;
|
|
1959
|
+
} else {
|
|
1960
|
+
par.url = t.url;
|
|
1961
|
+
if (t.indexURL) par.indexURL = t.indexURL;
|
|
1962
|
+
}
|
|
1963
|
+
dofetch3("tabixheader", { body: par }).then((data) => {
|
|
1964
|
+
if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
|
|
1965
|
+
t.checkedheader = true;
|
|
1966
|
+
const str = data.lines.join("");
|
|
1967
|
+
if (!str) {
|
|
1968
|
+
} else {
|
|
1969
|
+
const l = str.trim().split(" ");
|
|
1970
|
+
t.headersamples = [];
|
|
1971
|
+
for (let i = 5; i < l.length; i++) {
|
|
1972
|
+
const str2 = l[i];
|
|
1973
|
+
let j = null;
|
|
1974
|
+
if (str2[0] == "{" && str2[str2.length - 1] == "}") {
|
|
1975
|
+
try {
|
|
1976
|
+
j = JSON.parse(str2);
|
|
1977
|
+
} catch (e) {
|
|
1978
|
+
console.error("header line field [" + i + "] is broken json: " + str2);
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
if (j) {
|
|
1982
|
+
j.tkid = Math.random().toString();
|
|
1983
|
+
t.headersamples.push(j);
|
|
1984
|
+
} else {
|
|
1985
|
+
t.headersamples.push({
|
|
1986
|
+
name: l[i],
|
|
1987
|
+
tkid: Math.random().toString()
|
|
1988
|
+
});
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
t.samplecount = t.headersamples.length;
|
|
1992
|
+
tk.totalsamplecount += t.samplecount;
|
|
1993
|
+
}
|
|
1994
|
+
resolve();
|
|
1995
|
+
});
|
|
1996
|
+
});
|
|
1997
|
+
const getdata = new Promise((resolve, reject) => {
|
|
1998
|
+
getheader.then(() => {
|
|
1999
|
+
const par = {
|
|
2000
|
+
genome: block.genome.name,
|
|
2001
|
+
rglst: block.tkarg_maygm(t)
|
|
2002
|
+
};
|
|
2003
|
+
if (bincount) par.bincount = bincount;
|
|
2004
|
+
if (t.file || t.rnapegfile) {
|
|
2005
|
+
par.file = t.file || t.rnapegfile;
|
|
2006
|
+
} else {
|
|
2007
|
+
par.url = t.url;
|
|
2008
|
+
if (t.indexURL) par.indexURL = t.indexURL;
|
|
2009
|
+
}
|
|
2010
|
+
if (t.rnapegfile) {
|
|
2011
|
+
par.isrnapeg = 1;
|
|
2012
|
+
}
|
|
2013
|
+
dofetch3("junction", { body: par }).then((data) => {
|
|
2014
|
+
donenum++;
|
|
2015
|
+
if (tk.tracks.length > 1) {
|
|
2016
|
+
block.tkprogress(tk, donenum / tk.tracks.length);
|
|
2017
|
+
}
|
|
2018
|
+
if (!data) reject("server error for getting member track " + t.name);
|
|
2019
|
+
if (data.error) reject("Cannot get data: " + data.error);
|
|
2020
|
+
if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
|
|
2021
|
+
if (data.lst) {
|
|
2022
|
+
if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
|
|
2023
|
+
t.samplecount = data.lst[0].rawdata.length;
|
|
2024
|
+
tk.totalsamplecount += t.samplecount;
|
|
2025
|
+
}
|
|
2026
|
+
if (bins) {
|
|
2027
|
+
} else {
|
|
2028
|
+
const thisfilejunctions = [];
|
|
2029
|
+
for (const k of data.lst) {
|
|
2030
|
+
k.data = [];
|
|
2031
|
+
for (let i = 0; i < k.rawdata.length; i++) {
|
|
2032
|
+
const v = k.rawdata[i];
|
|
2033
|
+
if (!Number.isInteger(v) || v <= 0) {
|
|
2034
|
+
continue;
|
|
2035
|
+
}
|
|
2036
|
+
const s = { v };
|
|
2037
|
+
if (t.headersamples) {
|
|
2038
|
+
const s0 = t.headersamples[i];
|
|
2039
|
+
if (s0) {
|
|
2040
|
+
for (const _k in s0) {
|
|
2041
|
+
s[_k] = s0[_k];
|
|
2042
|
+
}
|
|
2043
|
+
}
|
|
2044
|
+
} else {
|
|
2045
|
+
if (t.name) s.name = t.name;
|
|
2046
|
+
if (t.sample) s.sample = t.sample;
|
|
2047
|
+
if (t.patient) s.patient = t.patient;
|
|
2048
|
+
if (t.sampeltype) s.sampletype = t.sampletype;
|
|
2049
|
+
if (t.tkid) s.tkid = t.tkid;
|
|
2050
|
+
if (t.file) s.file = t.file;
|
|
2051
|
+
if (t.url) s.url = t.url;
|
|
2052
|
+
if (t.indexURL) s.indexURL = t.indexURL;
|
|
2053
|
+
}
|
|
2054
|
+
k.data.push(s);
|
|
2055
|
+
}
|
|
2056
|
+
delete k.rawdata;
|
|
2057
|
+
thisfilejunctions.push(k);
|
|
2058
|
+
}
|
|
2059
|
+
resolve(thisfilejunctions);
|
|
2060
|
+
}
|
|
2061
|
+
} else {
|
|
2062
|
+
}
|
|
2063
|
+
});
|
|
2064
|
+
}).catch((err) => reject(err));
|
|
2065
|
+
});
|
|
2066
|
+
tasks.push(getdata);
|
|
2067
|
+
}
|
|
2068
|
+
Promise.all(tasks).then((data) => {
|
|
2069
|
+
const junc = [];
|
|
2070
|
+
data.forEach((dat) => {
|
|
2071
|
+
if (!dat) return;
|
|
2072
|
+
dat.forEach((k) => {
|
|
2073
|
+
let notfound = true;
|
|
2074
|
+
for (const j of junc) {
|
|
2075
|
+
if (j.start == k.start && j.stop == k.stop) {
|
|
2076
|
+
j.data = j.data.concat(k.data);
|
|
2077
|
+
notfound = false;
|
|
2078
|
+
break;
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
if (notfound) {
|
|
2082
|
+
junc.push(k);
|
|
2083
|
+
}
|
|
2084
|
+
});
|
|
2085
|
+
});
|
|
2086
|
+
for (const j of junc) {
|
|
2087
|
+
j2block(j, block);
|
|
2088
|
+
}
|
|
2089
|
+
for (const j of junc) {
|
|
2090
|
+
smuggleattributes(j);
|
|
2091
|
+
}
|
|
2092
|
+
if (!tk.axisheight) {
|
|
2093
|
+
if (tk.totalsamplecount > 1) {
|
|
2094
|
+
tk.axisheight = 200;
|
|
2095
|
+
tk.legheight = 50;
|
|
2096
|
+
tk.bottompad = 0;
|
|
2097
|
+
tk.qmradius = 2;
|
|
2098
|
+
tk.lowpad = 15;
|
|
2099
|
+
tk.padheight = 10;
|
|
2100
|
+
} else {
|
|
2101
|
+
tk.axisheight = 100;
|
|
2102
|
+
tk.legheight = 20;
|
|
2103
|
+
tk.bottompad = 0;
|
|
2104
|
+
tk.lowpad = 10;
|
|
2105
|
+
tk.padheight = 10;
|
|
2106
|
+
}
|
|
2107
|
+
if (tk.cohortsetting) {
|
|
2108
|
+
initcohortsetting(tk, block);
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
rendertk(junc, tk, block);
|
|
2112
|
+
}).catch((err) => {
|
|
2113
|
+
tk.glider.selectAll("*").remove();
|
|
2114
|
+
block.tkcloakoff(tk, { error: err });
|
|
2115
|
+
block.block_setheight();
|
|
2116
|
+
});
|
|
2117
|
+
}
|
|
2118
|
+
function j2block(j, block) {
|
|
2119
|
+
const starthit = block.seekcoord(j.chr, j.start)[0];
|
|
2120
|
+
if (!starthit) {
|
|
2121
|
+
return true;
|
|
2122
|
+
}
|
|
2123
|
+
const stophit = block.seekcoord(j.chr, j.stop)[0];
|
|
2124
|
+
if (!stophit) {
|
|
2125
|
+
return true;
|
|
2126
|
+
}
|
|
2127
|
+
const startout = starthit.x < 0 || starthit.x > block.width;
|
|
2128
|
+
const stopout = stophit.x < 0 || stophit.x > block.width;
|
|
2129
|
+
if (startout && stopout) {
|
|
2130
|
+
return true;
|
|
2131
|
+
}
|
|
2132
|
+
j.x0 = starthit.x;
|
|
2133
|
+
j.x1 = stophit.x;
|
|
2134
|
+
j.x = (j.x0 + j.x1) / 2;
|
|
2135
|
+
j._x = j.x;
|
|
2136
|
+
if (!j.modefix) {
|
|
2137
|
+
j.mode = moderaise;
|
|
2138
|
+
}
|
|
2139
|
+
return false;
|
|
2140
|
+
}
|
|
2141
|
+
function smuggleattributes(j) {
|
|
2142
|
+
}
|
|
2143
|
+
function label_mcount_fillpane(tk, block, tip) {
|
|
2144
|
+
tip.clear();
|
|
2145
|
+
const holder = tip.d;
|
|
2146
|
+
const types = /* @__PURE__ */ new Map();
|
|
2147
|
+
for (const j of tk.data) {
|
|
2148
|
+
if (!j.type) continue;
|
|
2149
|
+
if (!types.has(j.type)) {
|
|
2150
|
+
types.set(j.type, []);
|
|
2151
|
+
}
|
|
2152
|
+
if (j.data) {
|
|
2153
|
+
types.get(j.type).push(j.data.map((i) => i.v));
|
|
2154
|
+
} else {
|
|
2155
|
+
types.get(j.type).push(j.v);
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
if (types.size) {
|
|
2159
|
+
const d = holder.append("div").style("margin", "8px");
|
|
2160
|
+
for (const [type, valuelst] of types) {
|
|
2161
|
+
d.append("div").style("margin", "2px").html(
|
|
2162
|
+
valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
|
|
2163
|
+
);
|
|
2164
|
+
let vlst = valuelst;
|
|
2165
|
+
if (tk.tracks) {
|
|
2166
|
+
vlst = [];
|
|
2167
|
+
for (const l of valuelst) {
|
|
2168
|
+
vlst.push(...l);
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
if (vlst.length == 1) {
|
|
2172
|
+
} else {
|
|
2173
|
+
d.append("table").style("margin-left", "20px").html(
|
|
2174
|
+
'<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
|
|
2175
|
+
);
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
} else {
|
|
2179
|
+
let vlst = [];
|
|
2180
|
+
if (tk.tracks) {
|
|
2181
|
+
for (const j of tk.data) {
|
|
2182
|
+
vlst.push(...j.data.map((i) => i.v));
|
|
2183
|
+
}
|
|
2184
|
+
} else {
|
|
2185
|
+
vlst = tk.data.map((j) => j.v);
|
|
2186
|
+
}
|
|
2187
|
+
if (vlst.length > 1) {
|
|
2188
|
+
holder.append("table").html(
|
|
2189
|
+
'<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
|
|
2190
|
+
);
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
|
|
2194
|
+
tip.hide();
|
|
2195
|
+
for (const j of tk.data) {
|
|
2196
|
+
j.mode = modefold;
|
|
2197
|
+
j.modefix = true;
|
|
2198
|
+
}
|
|
2199
|
+
horiplace(tk.data, block.width, tk);
|
|
2200
|
+
});
|
|
2201
|
+
holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
|
|
2202
|
+
tip.hide();
|
|
2203
|
+
for (const j of tk.data) {
|
|
2204
|
+
j.modefix = false;
|
|
2205
|
+
}
|
|
2206
|
+
automode(tk, null, block.width);
|
|
2207
|
+
for (const j of tk.data) {
|
|
2208
|
+
j.modefix = true;
|
|
2209
|
+
}
|
|
2210
|
+
horiplace(tk.data, block.width, tk);
|
|
2211
|
+
});
|
|
2212
|
+
holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
|
|
2213
|
+
tip.hide();
|
|
2214
|
+
downloadjunctions(tk);
|
|
2215
|
+
});
|
|
2216
|
+
tip.showunder(tk.label_mcount.node());
|
|
2217
|
+
}
|
|
2218
|
+
function downloadjunctions(tk) {
|
|
2219
|
+
const txt = [];
|
|
2220
|
+
if (tk.file || tk.url) {
|
|
2221
|
+
if (tk.data) {
|
|
2222
|
+
txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
|
|
2223
|
+
for (const j of tk.data) {
|
|
2224
|
+
txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
} else if (tk.tracks) {
|
|
2228
|
+
if (tk.data) {
|
|
2229
|
+
const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
|
|
2230
|
+
for (const t of tk.tracks) {
|
|
2231
|
+
const lst = [];
|
|
2232
|
+
if (t.patient) lst.push(t.patient);
|
|
2233
|
+
if (t.sampletype) lst.push(t.sampletype);
|
|
2234
|
+
if (lst.length == 0) {
|
|
2235
|
+
lst.push(t.name);
|
|
2236
|
+
}
|
|
2237
|
+
header.push(lst.join(", "));
|
|
2238
|
+
}
|
|
2239
|
+
txt.push(header.join(" "));
|
|
2240
|
+
for (const j of tk.data) {
|
|
2241
|
+
const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
|
|
2242
|
+
const hash = /* @__PURE__ */ new Map();
|
|
2243
|
+
for (const jsample of j.data) {
|
|
2244
|
+
hash.set(jsample.tkid, jsample.v);
|
|
2245
|
+
}
|
|
2246
|
+
for (const t of tk.tracks) {
|
|
2247
|
+
lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
|
|
2248
|
+
}
|
|
2249
|
+
txt.push(lst.join(" "));
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
|
|
2254
|
+
}
|
|
2255
|
+
function configpanel(tk, block) {
|
|
2256
|
+
tk.tkconfigtip.clear().showunder(tk.config_handle.node());
|
|
2257
|
+
const holder = tk.tkconfigtip.d;
|
|
2258
|
+
{
|
|
2259
|
+
const row = holder.append("div").style("margin-bottom", "10px");
|
|
2260
|
+
row.append("span").html("Read count cutoff ");
|
|
2261
|
+
row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
|
|
2262
|
+
if (!keyupEnter(event)) return;
|
|
2263
|
+
const v = Number.parseFloat(event.target.value);
|
|
2264
|
+
if (v == 0) {
|
|
2265
|
+
if (tk.readcountcutoff) {
|
|
2266
|
+
tk.readcountcutoff = 0;
|
|
2267
|
+
junctionload(tk, block);
|
|
2268
|
+
} else {
|
|
2269
|
+
}
|
|
2270
|
+
return;
|
|
2271
|
+
}
|
|
2272
|
+
if (!v || v < 0) {
|
|
2273
|
+
return;
|
|
2274
|
+
}
|
|
2275
|
+
if (tk.readcountcutoff) {
|
|
2276
|
+
if (tk.readcountcutoff == v) {
|
|
2277
|
+
} else if (tk.readcountcutoff > v) {
|
|
2278
|
+
tk.readcountcutoff = v;
|
|
2279
|
+
junctionload(tk, block);
|
|
2280
|
+
} else {
|
|
2281
|
+
tk.readcountcutoff = v;
|
|
2282
|
+
rendertk(tk.data, tk, block);
|
|
2283
|
+
}
|
|
2284
|
+
} else {
|
|
2285
|
+
tk.readcountcutoff = v;
|
|
2286
|
+
junctionload(tk, block);
|
|
2287
|
+
}
|
|
2288
|
+
});
|
|
2289
|
+
const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
|
|
2290
|
+
if (tk.totalsamplecount > 1) {
|
|
2291
|
+
note.text("For a junction, samples with read count lower than cutoff will not be shown.");
|
|
2292
|
+
} else {
|
|
2293
|
+
note.text("Junctions with read count lower than cutoff will not be shown.");
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
}
|
|
2297
|
+
function initcohortsetting(tk, block) {
|
|
2298
|
+
if (!tk.cohortsetting.cohort) {
|
|
2299
|
+
sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
|
|
2300
|
+
return;
|
|
2301
|
+
}
|
|
2302
|
+
if (!tk.cohortsetting.cohort.levels) {
|
|
2303
|
+
sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
|
|
2304
|
+
return;
|
|
2305
|
+
}
|
|
2306
|
+
if (!tk.cohortsetting.cohort.levels[0]) {
|
|
2307
|
+
sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
|
|
2308
|
+
return;
|
|
2309
|
+
}
|
|
2310
|
+
tk.cohortsetting.levelseperator = ".";
|
|
2311
|
+
tk.cohortsetting.uselevelidx = 0;
|
|
2312
|
+
setcohortlegend_usecohortlevel(tk, block);
|
|
2313
|
+
}
|
|
2314
|
+
function setcohortlegend_usecohortlevel(tk, block) {
|
|
2315
|
+
tk.cohortsetting.legendholder.selectAll("*").remove();
|
|
2316
|
+
tk.cohortsetting.colorfunc = ordinal(category10_default);
|
|
2317
|
+
const stratkey2count = /* @__PURE__ */ new Map();
|
|
2318
|
+
for (const t of tk.tracks) {
|
|
2319
|
+
for (const s of t.headersamples) {
|
|
2320
|
+
if (!s[tk.cohortsetting.cohort.levels[0].k]) {
|
|
2321
|
+
continue;
|
|
2322
|
+
}
|
|
2323
|
+
const thissamplekeys = [];
|
|
2324
|
+
for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
|
|
2325
|
+
const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
|
|
2326
|
+
if (thislevelkey) {
|
|
2327
|
+
thissamplekeys.push(thislevelkey);
|
|
2328
|
+
}
|
|
2329
|
+
}
|
|
2330
|
+
const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
|
|
2331
|
+
if (!stratkey2count.has(str)) {
|
|
2332
|
+
stratkey2count.set(str, {
|
|
2333
|
+
count: 0,
|
|
2334
|
+
label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
|
|
2335
|
+
});
|
|
2336
|
+
}
|
|
2337
|
+
stratkey2count.get(str).count++;
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
|
|
2341
|
+
for (const item of sorteditems) {
|
|
2342
|
+
const color = tk.cohortsetting.colorfunc(item[0]);
|
|
2343
|
+
const label = item[1].label;
|
|
2344
|
+
const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
|
|
2345
|
+
row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html(" ");
|
|
2346
|
+
row.append("div").style("display", "inline-block").text(label);
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2349
|
+
export {
|
|
2350
|
+
junctionload,
|
|
2351
|
+
modefold,
|
|
2352
|
+
moderaise,
|
|
2353
|
+
modesample
|
|
2354
|
+
};
|
|
2355
|
+
//# sourceMappingURL=block.tk.junction-7LWL3N6V.js.map
|