@sjcrh/proteinpaint-client 2.182.1 → 2.183.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (933) hide show
  1. package/dist/2dmaf-PBJ3POZQ.js +1371 -0
  2. package/dist/AIProjectAdmin-5IAXCACJ.js +830 -0
  3. package/dist/AppHeader-HLUE2IQT.js +833 -0
  4. package/dist/BoxPlot-NAQS5MHV.js +1217 -0
  5. package/dist/CorrelationVolcano-TVVUP4L4.js +617 -0
  6. package/dist/DE-F7LUSAO2.js +93 -0
  7. package/dist/DEinput-V7MF5IEZ.js +297 -0
  8. package/dist/DifferentialAnalysis-R2Z7G75Y.js +238 -0
  9. package/dist/Disco-7S5KUVQ6.js +3235 -0
  10. package/dist/Disco.UI-6ONZR7GK.js +242 -0
  11. package/dist/DmrPlot-NZXGFMBY.js +640 -0
  12. package/dist/GB-3EXBSESG.js +1125 -0
  13. package/dist/HicApp-WEYV7T46.js +2248 -0
  14. package/dist/NumBinaryEditor-SNJD6NVL.js +268 -0
  15. package/dist/NumBinaryEditor.unit.spec-A7C4A2HF.js +284 -0
  16. package/dist/NumContEditor-TBOEORWJ.js +105 -0
  17. package/dist/NumContEditor.unit.spec-BJKQNFPL.js +167 -0
  18. package/dist/NumCustomBinEditor-RNWEGLLB.js +36 -0
  19. package/dist/NumCustomBinEditor.unit.spec-CW3D5WOW.js +282 -0
  20. package/dist/NumDiscreteEditor-WXRAMEWQ.js +177 -0
  21. package/dist/NumDiscreteEditor.unit.spec-SJTHYGMI.js +200 -0
  22. package/dist/NumRegularBinEditor-LLSKHSJC.js +36 -0
  23. package/dist/NumRegularBinEditor.unit.spec-G3YRWT52.js +225 -0
  24. package/dist/NumSplineEditor-W6HG3I53.js +190 -0
  25. package/dist/NumSplineEditor.unit.spec-BVVTYJY7.js +197 -0
  26. package/dist/NumericDensity-VYAZXP4D.js +36 -0
  27. package/dist/NumericDensity.unit.spec-4QCKG6GM.js +219 -0
  28. package/dist/NumericHandler-PKCERKLB.js +37 -0
  29. package/dist/NumericHandler.unit.spec-JIYZ3IFG.js +217 -0
  30. package/dist/RunChart2-I4ZBBKOC.js +756 -0
  31. package/dist/SC-OLNRPTNS.js +682 -0
  32. package/dist/Volcano-DEOVDPYB.js +1185 -0
  33. package/dist/WSIViewer-VA36EDFH.js +47974 -0
  34. package/dist/WsiSamplesPlot-RA644FK6.js +163 -0
  35. package/dist/adSandbox-SJ3O3RVJ.js +36 -0
  36. package/dist/alphaGenome-UTVIVOEF.js +173 -0
  37. package/dist/app-6UPJNZVS.js +35 -0
  38. package/dist/app-YFBAT5TM.js +47 -0
  39. package/dist/app.js +20 -20
  40. package/dist/bam-C4KHGT7X.js +857 -0
  41. package/dist/barchart-UOELLJAZ.js +45 -0
  42. package/dist/barchart.data-EYZ3W4BQ.js +22 -0
  43. package/dist/barchart.events-SJZZV3TI.js +45 -0
  44. package/dist/barchart.integration.spec-A4XZNV3B.js +1675 -0
  45. package/dist/block-ODDURI6Y.js +6200 -0
  46. package/dist/block.init-TZXJGL7D.js +36 -0
  47. package/dist/block.mds.expressionrank-UE2D6D3N.js +357 -0
  48. package/dist/block.mds.geneboxplot-KINAWY6K.js +826 -0
  49. package/dist/block.mds.junction-HRJQOYBL.js +1543 -0
  50. package/dist/block.mds.svcnv-7C2IMZXB.js +6799 -0
  51. package/dist/block.svg-757BH6PD.js +162 -0
  52. package/dist/block.tk.aicheck-M4VAVJL6.js +281 -0
  53. package/dist/block.tk.ase-J5HCPECM.js +363 -0
  54. package/dist/block.tk.bam-7NFAMVLF.js +1904 -0
  55. package/dist/block.tk.bedgraphdot-HROSDQH5.js +382 -0
  56. package/dist/block.tk.bigwig.ui-BIMVFUT6.js +209 -0
  57. package/dist/block.tk.hicstraw-W7CWMNZ7.js +821 -0
  58. package/dist/block.tk.junction-ZUUBN36V.js +2362 -0
  59. package/dist/block.tk.junction.textmatrixui-PYJ4UGCF.js +197 -0
  60. package/dist/block.tk.ld-6E7ZXTCC.js +97 -0
  61. package/dist/block.tk.menu-SWT3R74J.js +1027 -0
  62. package/dist/block.tk.pgv-SEDDAV24.js +942 -0
  63. package/dist/brainImaging-X5WPNTUO.js +421 -0
  64. package/dist/chat-KZ3LZAQ6.js +148 -0
  65. package/dist/chunk-2LCTMDCS.js +20649 -0
  66. package/dist/chunk-2TMP56TB.js +386 -0
  67. package/dist/chunk-2VNQJGPM.js +92 -0
  68. package/dist/chunk-3DN47Y2E.js +526 -0
  69. package/dist/chunk-4IL33OUX.js +261 -0
  70. package/dist/chunk-4YG57UVZ.js +228 -0
  71. package/dist/chunk-54P7H5GL.js +1150 -0
  72. package/dist/chunk-5BBR2HND.js +158 -0
  73. package/dist/chunk-5BCACIPX.js +2784 -0
  74. package/dist/chunk-5OHXYXLD.js +46 -0
  75. package/dist/chunk-5OHXYXLD.js.map +7 -0
  76. package/dist/chunk-6CRWDKT7.js +289 -0
  77. package/dist/chunk-7M45T6YS.js +1426 -0
  78. package/dist/chunk-7N3Q25KC.js +26 -0
  79. package/dist/chunk-AQ2ODUYY.js +50 -0
  80. package/dist/chunk-AZLWNXFP.js +1087 -0
  81. package/dist/chunk-B3SLLQAS.js +100 -0
  82. package/dist/chunk-BEWDIM6H.js +42 -0
  83. package/dist/chunk-BEWDIM6H.js.map +7 -0
  84. package/dist/chunk-BHEBKIGM.js +824 -0
  85. package/dist/chunk-CAHAYB6O.js +148 -0
  86. package/dist/chunk-CGDEEO4I.js +37 -0
  87. package/dist/chunk-CXLRKDEC.js +56 -0
  88. package/dist/chunk-DET76M2J.js +102 -0
  89. package/dist/chunk-DONWY7TP.js +39 -0
  90. package/dist/chunk-DP5ACVIR.js +480 -0
  91. package/dist/chunk-E5JQ3PN6.js +176 -0
  92. package/dist/chunk-EJNV6SCH.js +148 -0
  93. package/dist/chunk-F5D4ADBB.js +514 -0
  94. package/dist/chunk-F6V4AYWP.js +177 -0
  95. package/dist/chunk-FBG235FD.js +229 -0
  96. package/dist/chunk-FGMPKWT5.js +371 -0
  97. package/dist/chunk-FWKAYZ55.js +205 -0
  98. package/dist/chunk-GMDQIP3M.js +31 -0
  99. package/dist/chunk-GXINX3WK.js +281 -0
  100. package/dist/chunk-GXINX3WK.js.map +7 -0
  101. package/dist/chunk-GZJ7GDZ4.js +2327 -0
  102. package/dist/chunk-GZJ7GDZ4.js.map +7 -0
  103. package/dist/chunk-H55L2FAY.js +107 -0
  104. package/dist/chunk-HED3JZ2O.js +615 -0
  105. package/dist/chunk-I2M62STM.js +276 -0
  106. package/dist/chunk-I2M62STM.js.map +7 -0
  107. package/dist/chunk-IBIFTCWL.js +293 -0
  108. package/dist/chunk-ILDUYXV5.js +407 -0
  109. package/dist/chunk-IQ25XHGX.js +335 -0
  110. package/dist/chunk-IQIXGTQV.js +84 -0
  111. package/dist/chunk-IQIXGTQV.js.map +7 -0
  112. package/dist/chunk-JLSN2WF5.js +95 -0
  113. package/dist/chunk-JOT4WDJE.js +815 -0
  114. package/dist/chunk-JQIR2UG5.js +1271 -0
  115. package/dist/chunk-K6ZAAZKO.js +1159 -0
  116. package/dist/chunk-KBDY6GE3.js +446 -0
  117. package/dist/chunk-KZFOWI7N.js +52 -0
  118. package/dist/chunk-LKFYRQOH.js +226 -0
  119. package/dist/chunk-LO4WNMBO.js +6364 -0
  120. package/dist/chunk-LXQ6DLAR.js +217 -0
  121. package/dist/chunk-M3EBH2WK.js +194 -0
  122. package/dist/chunk-M5Z3GYRH.js +2672 -0
  123. package/dist/chunk-MEIKKPY7.js +2815 -0
  124. package/dist/chunk-MZ7RBJSI.js +629 -0
  125. package/dist/chunk-OH7PDA2Z.js +170 -0
  126. package/dist/chunk-OKIJIYSP.js +470 -0
  127. package/dist/chunk-OOD5HBVR.js +34 -0
  128. package/dist/chunk-OTCYJP7G.js +119 -0
  129. package/dist/chunk-P7T2U6T7.js +158 -0
  130. package/dist/chunk-PLHGSDJY.js +142 -0
  131. package/dist/chunk-PUDZL7RZ.js +1205 -0
  132. package/dist/chunk-PYJ3QA6E.js +14 -0
  133. package/dist/chunk-QDRZL47L.js +455 -0
  134. package/dist/chunk-QTGTMFHM.js +441 -0
  135. package/dist/chunk-QWL5TZ4G.js +97 -0
  136. package/dist/chunk-RCYTUKAJ.js +1745 -0
  137. package/dist/chunk-RCYTUKAJ.js.map +7 -0
  138. package/dist/chunk-RF6ATFT2.js +302 -0
  139. package/dist/chunk-RH573XZP.js +368 -0
  140. package/dist/chunk-SOED2SLH.js +257 -0
  141. package/dist/chunk-SOED2SLH.js.map +7 -0
  142. package/dist/chunk-SR72NS4M.js +4961 -0
  143. package/dist/chunk-SR72NS4M.js.map +7 -0
  144. package/dist/chunk-STEV77G7.js +215 -0
  145. package/dist/chunk-TBRPZ3FL.js +4207 -0
  146. package/dist/chunk-TE3DK3A6.js +147 -0
  147. package/dist/chunk-TTGDA3MA.js +203 -0
  148. package/dist/chunk-UFDQ2R2Q.js +534 -0
  149. package/dist/chunk-UWX7W22M.js +121 -0
  150. package/dist/chunk-V2R3JFLP.js +54 -0
  151. package/dist/chunk-VKK5MGDU.js +272 -0
  152. package/dist/chunk-WHVOWEFP.js +117 -0
  153. package/dist/chunk-XQTXYKAU.js +55 -0
  154. package/dist/chunk-XRVBHNCW.js +1561 -0
  155. package/dist/chunk-XRVBHNCW.js.map +7 -0
  156. package/dist/chunk-YA73ETIT.js +252 -0
  157. package/dist/chunk-YXJXRXJR.js +273 -0
  158. package/dist/chunk-ZIAGMGMS.js +381 -0
  159. package/dist/chunk-ZXNBYIBD.js +129 -0
  160. package/dist/condition-RQP7JUST.js +330 -0
  161. package/dist/controls-WFT5GE3D.js +39 -0
  162. package/dist/controls.config-66ZKRSPU.js +37 -0
  163. package/dist/correlation-45MFH7X4.js +96 -0
  164. package/dist/cuminc-44ALCFL4.js +1147 -0
  165. package/dist/cuminc.integration.spec-I2UTPH3X.js +676 -0
  166. package/dist/customdata.inputui-PBA5LZRT.js +287 -0
  167. package/dist/customdata.inputui-PBA5LZRT.js.map +7 -0
  168. package/dist/dataDownload-CRGQTCOW.js +328 -0
  169. package/dist/dataDownload.integration.spec-7SAPXDH4.js +191 -0
  170. package/dist/databrowser.ui-O5TPKDPL.js +419 -0
  171. package/dist/dictionary-QGSAJ7FM.js +109 -0
  172. package/dist/dnaMethylation-4VDQBBGJ.js +36 -0
  173. package/dist/dnaMethylation.integration.spec-RSO5U6RN.js +165 -0
  174. package/dist/e2pca-7LPSASDI.js +348 -0
  175. package/dist/ep-AIOPCUME.js +1254 -0
  176. package/dist/expclust.gdc.spec-PSXJZCAI.js +305 -0
  177. package/dist/facet-W3RYRWXJ.js +519 -0
  178. package/dist/geneExpClustering-SBQWW6IZ.js +246 -0
  179. package/dist/geneExpression-4WEYCEZV.js +312 -0
  180. package/dist/geneExpression-JWYJNDN5.js +36 -0
  181. package/dist/geneExpression.unit.spec-HKD4DJIV.js +100 -0
  182. package/dist/geneORA-YUVDOZ5X.js +276 -0
  183. package/dist/geneVariant-J3UI6RWM.js +39 -0
  184. package/dist/geneVariant-ZB7CLFCT.js +37 -0
  185. package/dist/geneVariant.integration.spec-JDCKOR4C.js +196 -0
  186. package/dist/genefusion.ui-GUMRDRHQ.js +306 -0
  187. package/dist/genefusion.ui-GUMRDRHQ.js.map +7 -0
  188. package/dist/geneset-242QGP5Q.js +194 -0
  189. package/dist/genomeBrowser.spec-NRLKLJQD.js +279 -0
  190. package/dist/grin2-FD3JTI5R.js +1554 -0
  191. package/dist/grin2-TAR4VXPJ.js +1031 -0
  192. package/dist/gsea-YHG57UZ5.js +45 -0
  193. package/dist/hierCluster-QUAZ7NI6.js +62 -0
  194. package/dist/hierCluster-V2YZEXGX.js +58 -0
  195. package/dist/hierCluster.config-ZOWXZGTF.js +38 -0
  196. package/dist/hierCluster.integration.spec-FAR4KK32.js +374 -0
  197. package/dist/hierCluster.interactivity-D3TK5FSM.js +52 -0
  198. package/dist/hierCluster.renderers-C2RK55NN.js +21 -0
  199. package/dist/imagePlot-2CACVKOO.js +139 -0
  200. package/dist/importPlot-KUOEC2YF.js +8 -0
  201. package/dist/isoformExpression-2G4WCETG.js +38 -0
  202. package/dist/isoformExpression.unit.spec-YBNCR6PE.js +206 -0
  203. package/dist/launch.adhoc-PECQW652.js +40 -0
  204. package/dist/leftlabel.sample-6O2CXXC2.js +257 -0
  205. package/dist/legacyDataset-QRSNRVUA.js +119 -0
  206. package/dist/lollipop-CAFEKZSO.js +166 -0
  207. package/dist/maf-N7ZB5J22.js +450 -0
  208. package/dist/maftimeline-MCYB3EST.js +591 -0
  209. package/dist/matrix-ID662DZG.js +57 -0
  210. package/dist/matrix-JDGO6A4G.js +62 -0
  211. package/dist/matrix.cells-QWB3XSTN.js +28 -0
  212. package/dist/matrix.config-HHWMMUZT.js +39 -0
  213. package/dist/matrix.controls-EOX43634.js +37 -0
  214. package/dist/matrix.data-YTSSULKG.js +25 -0
  215. package/dist/matrix.groups-NGJ276VG.js +26 -0
  216. package/dist/matrix.integration.spec-XHGSEBYM.js +3070 -0
  217. package/dist/matrix.interactivity-OZS7R32Z.js +40 -0
  218. package/dist/matrix.layout-GBQJ7O3H.js +42 -0
  219. package/dist/matrix.legend-AGTC5JPS.js +22 -0
  220. package/dist/matrix.renderers-L5D5NLLR.js +36 -0
  221. package/dist/matrix.serieses-DDQOSCL4.js +21 -0
  222. package/dist/matrix.sort-6VF7VNFX.js +27 -0
  223. package/dist/matrix.sort.unit.spec-QGJBVO3X.js +470 -0
  224. package/dist/matrix.sorterUi-UE7CBIUP.js +18 -0
  225. package/dist/matrix.sorterUi.unit.spec-CTLTVJCO.js +340 -0
  226. package/dist/mavb-MU7H7YWY.js +730 -0
  227. package/dist/mds.fimo-ELCNQMNR.js +516 -0
  228. package/dist/mds.samplescatterplot-P7N4SXYT.js +1548 -0
  229. package/dist/mds.survivalplot-KJFW4IRT.js +481 -0
  230. package/dist/oncomatrix-Q5X3O65P.js +293 -0
  231. package/dist/oncomatrix.spec-CJGXXI3U.js +446 -0
  232. package/dist/plot.2dvaf-CDPVMUPX.js +375 -0
  233. package/dist/plot.app-BSPQMQCI.js +39 -0
  234. package/dist/plot.barplot-C33LEV4Q.js +100 -0
  235. package/dist/plot.boxplot-XH7FN6PC.js +150 -0
  236. package/dist/plot.brainImaging-5BB455FT.js +51 -0
  237. package/dist/plot.disco-3YUN6XAY.js +101 -0
  238. package/dist/plot.dzi-RZWAL5UC.js +33 -0
  239. package/dist/plot.ssgq-M763HWMN.js +137 -0
  240. package/dist/plot.vaf2cov-EAHQV6FD.js +257 -0
  241. package/dist/plot.wsi-2BDC3RJS.js +36 -0
  242. package/dist/polar-3SJ5SUNJ.js +184 -0
  243. package/dist/polar2-3GTEGZUL.js +226 -0
  244. package/dist/profile.spec-AR7JLQYT.js +78 -0
  245. package/dist/profileBarchart-GLTPPW2O.js +265 -0
  246. package/dist/profileForms-FE4GHA2T.js +438 -0
  247. package/dist/profilePlot-3JXEZUX5.js +52 -0
  248. package/dist/profileRadar-NA2WUSHG.js +261 -0
  249. package/dist/profileRadarFacility-6UNT4GPM.js +261 -0
  250. package/dist/proteinView-ESTBC3K2.js +633 -0
  251. package/dist/proteinView-ESTBC3K2.js.map +7 -0
  252. package/dist/proteomeAbundance-GDK5EIE7.js +63 -0
  253. package/dist/proteomeAbundance-NVLYQRKI.js +21 -0
  254. package/dist/qualitative-TUNIICQ4.js +41 -0
  255. package/dist/regression-22IF77A7.js +54 -0
  256. package/dist/regression.inputs-VCVMUBA7.js +46 -0
  257. package/dist/regression.inputs.term-6FWVBNJT.js +46 -0
  258. package/dist/regression.inputs.values.table-2FXOWLKN.js +43 -0
  259. package/dist/regression.integration.spec-2UMB7EIG.js +782 -0
  260. package/dist/regression.results-27XHC5GE.js +38 -0
  261. package/dist/regression.spec-5Q4J7TJZ.js +706 -0
  262. package/dist/report-B4RRLC7Q.js +220 -0
  263. package/dist/sampleScatter.spec-TXZYLGM7.js +200 -0
  264. package/dist/sampleView-2WKGJUSX.js +46 -0
  265. package/dist/samplelst-NJZOPYYJ.js +109 -0
  266. package/dist/samplematrix-ZXOLANI5.js +2196 -0
  267. package/dist/sc-4IYYVV2I.js +84 -0
  268. package/dist/scatter-UBF4N6ON.js +800 -0
  269. package/dist/scatter.integration.spec-JNGJ4BU5.js +1194 -0
  270. package/dist/selectGenomeWithTklst-7ICTRJNK.js +132 -0
  271. package/dist/singleCellCellType-Y5ETQYDC.js +36 -0
  272. package/dist/singleCellCellType.unit.spec-TLLZRMD7.js +158 -0
  273. package/dist/singleCellGeneExpression-HZRIE2XT.js +36 -0
  274. package/dist/singleCellGeneExpression.unit.spec-K435LTFJ.js +151 -0
  275. package/dist/singleCellPlot-T7MKCAAW.js +51 -0
  276. package/dist/singlecell-K662WWCH.js +84 -0
  277. package/dist/singlecell-KVLDYQ36.js +1570 -0
  278. package/dist/snp-JNV3DX5W.js +36 -0
  279. package/dist/snp.unit.spec-7KFVZUWR.js +174 -0
  280. package/dist/snplocus-VJLA35TV.js +206 -0
  281. package/dist/spliceevent.a53ss.diagram-MZPU6IBF.js +149 -0
  282. package/dist/spliceevent.exonskip.diagram-OOYBJT4F.js +275 -0
  283. package/dist/spliceevent.noeventdiagram-KPEZVRFS.js +458 -0
  284. package/dist/ssGSEA-GPPPUU2J.js +36 -0
  285. package/dist/ssGSEA.unit.spec-4SRZ4NRN.js +86 -0
  286. package/dist/summarizeCnvGeneexp-NRLEM4X4.js +161 -0
  287. package/dist/summarizeGeneexpSurvival-BJLP43OZ.js +106 -0
  288. package/dist/summarizeMutationCnv-7DCCBY5U.js +162 -0
  289. package/dist/summarizeMutationDiagnosis-HATSCOMG.js +38 -0
  290. package/dist/summarizeMutationSurvival-XIRZFWDJ.js +97 -0
  291. package/dist/summary-VOFTJ76P.js +47 -0
  292. package/dist/summary.integration.spec-2C5RCIY4.js +412 -0
  293. package/dist/summaryInput-DIIECI4W.js +218 -0
  294. package/dist/sunburst-CYROEYTG.js +282 -0
  295. package/dist/survival-5Y3DFIES.js +44 -0
  296. package/dist/survival-WCPGEHW5.js +56 -0
  297. package/dist/survival.integration.spec-LRSN2B7G.js +800 -0
  298. package/dist/svgraph-3T6XL7TR.js +1385 -0
  299. package/dist/svmr-GUBPSOID.js +3840 -0
  300. package/dist/table-NTS6ROT7.js +198 -0
  301. package/dist/termCollection-EE72SAHN.js +177 -0
  302. package/dist/termCollection-ZZXLZ3UE.js +36 -0
  303. package/dist/termCollection.unit.spec-3CTEJRTX.js +206 -0
  304. package/dist/tk-6FIXPXTM.js +44 -0
  305. package/dist/tp.ui-4ESL6SCH.js +1457 -0
  306. package/dist/tvs.density-AQ5GD437.js +18 -0
  307. package/dist/tvs.dt-G5FMPWPL.js +37 -0
  308. package/dist/tvs.dtcnv.categorical-EYQ6RTHD.js +38 -0
  309. package/dist/tvs.dtcnv.continuous-PSQMFFNX.js +70 -0
  310. package/dist/tvs.dtfusion-4F6627GK.js +38 -0
  311. package/dist/tvs.dtsnvindel-YNYVLJEI.js +38 -0
  312. package/dist/tvs.dtsv-X2K4K4RN.js +38 -0
  313. package/dist/tvs.numeric-ZN2R7BH3.js +21 -0
  314. package/dist/tvs.samplelst-XZK4BE3H.js +102 -0
  315. package/dist/tvs.termCollection-ZAX57TN4.js +151 -0
  316. package/dist/violin-YEMSGTYF.js +44 -0
  317. package/dist/violin.integration.spec-TULH2DWL.js +1423 -0
  318. package/dist/violin.interactivity-RX2CDFVC.js +36 -0
  319. package/dist/violin.renderer-OJJDZFMZ.js +38 -0
  320. package/dist/vocabulary-726CSMNM.js +39 -0
  321. package/package.json +3 -3
  322. package/dist/2dmaf-YHYYSSKR.js +0 -1371
  323. package/dist/AIProjectAdmin-D4AASQBM.js +0 -830
  324. package/dist/AppHeader-T4ZLY3VG.js +0 -833
  325. package/dist/BoxPlot-DIU4YXNK.js +0 -1217
  326. package/dist/CorrelationVolcano-EXH4P56S.js +0 -617
  327. package/dist/DE-C5K2TVUQ.js +0 -93
  328. package/dist/DEinput-KVILE7QQ.js +0 -297
  329. package/dist/DifferentialAnalysis-P6GKHAS5.js +0 -238
  330. package/dist/Disco-IMLXEBPG.js +0 -3235
  331. package/dist/Disco.UI-4A2P5Q55.js +0 -242
  332. package/dist/DmrPlot-6EEEGD32.js +0 -640
  333. package/dist/GB-XFO5I6ND.js +0 -1125
  334. package/dist/HicApp-3LFHOOAR.js +0 -2248
  335. package/dist/NumBinaryEditor-74PY52BP.js +0 -268
  336. package/dist/NumBinaryEditor.unit.spec-2PYZ7P2R.js +0 -284
  337. package/dist/NumContEditor-BMWALLQM.js +0 -105
  338. package/dist/NumContEditor.unit.spec-ETVLVX6A.js +0 -167
  339. package/dist/NumCustomBinEditor-2XJ6GUWY.js +0 -36
  340. package/dist/NumCustomBinEditor.unit.spec-TZVL553E.js +0 -282
  341. package/dist/NumDiscreteEditor-4LNLKAXT.js +0 -177
  342. package/dist/NumDiscreteEditor.unit.spec-KQND2XAE.js +0 -200
  343. package/dist/NumRegularBinEditor-OYELFDIB.js +0 -36
  344. package/dist/NumRegularBinEditor.unit.spec-44SALKLH.js +0 -225
  345. package/dist/NumSplineEditor-SENQC4P2.js +0 -190
  346. package/dist/NumSplineEditor.unit.spec-XKB4XXU4.js +0 -197
  347. package/dist/NumericDensity-GCNWO7YS.js +0 -36
  348. package/dist/NumericDensity.unit.spec-7LWNOUYK.js +0 -219
  349. package/dist/NumericHandler-EMQBI5UI.js +0 -37
  350. package/dist/NumericHandler.unit.spec-TEELPRIM.js +0 -217
  351. package/dist/RunChart2-LJBC5X2H.js +0 -756
  352. package/dist/SC-3EB6UYIS.js +0 -682
  353. package/dist/Volcano-CPULLVYV.js +0 -1185
  354. package/dist/WSIViewer-2YCT4LCM.js +0 -47974
  355. package/dist/WsiSamplesPlot-B2DM7Z3Q.js +0 -163
  356. package/dist/adSandbox-INF3NNEV.js +0 -36
  357. package/dist/alphaGenome-CO4TQHXN.js +0 -173
  358. package/dist/app-63JU2YIT.js +0 -47
  359. package/dist/app-BL3POUOO.js +0 -35
  360. package/dist/bam-SVEJYICC.js +0 -857
  361. package/dist/barchart-PDUXZAIH.js +0 -45
  362. package/dist/barchart.data-EXENRVMU.js +0 -22
  363. package/dist/barchart.events-MQNQTSWI.js +0 -45
  364. package/dist/barchart.integration.spec-DSO2377T.js +0 -1675
  365. package/dist/block-OO2NLGUP.js +0 -6200
  366. package/dist/block.init-7J5OHYKA.js +0 -36
  367. package/dist/block.mds.expressionrank-643H7PN7.js +0 -357
  368. package/dist/block.mds.geneboxplot-C222ODSL.js +0 -826
  369. package/dist/block.mds.junction-C5DJRUOK.js +0 -1543
  370. package/dist/block.mds.svcnv-4G74JQ7Y.js +0 -6799
  371. package/dist/block.svg-35KUC5R7.js +0 -162
  372. package/dist/block.tk.aicheck-LLWT6K6H.js +0 -281
  373. package/dist/block.tk.ase-PQUKY65E.js +0 -363
  374. package/dist/block.tk.bam-EUEOB7BR.js +0 -1904
  375. package/dist/block.tk.bedgraphdot-XAHUY545.js +0 -382
  376. package/dist/block.tk.bigwig.ui-HEOPNL3T.js +0 -209
  377. package/dist/block.tk.hicstraw-EPH3LEX2.js +0 -821
  378. package/dist/block.tk.junction-MIUDAIAR.js +0 -2362
  379. package/dist/block.tk.junction.textmatrixui-AVFUQBDS.js +0 -197
  380. package/dist/block.tk.ld-ED7YMBQ4.js +0 -97
  381. package/dist/block.tk.menu-3CVIECWQ.js +0 -1027
  382. package/dist/block.tk.pgv-HETJVWXH.js +0 -942
  383. package/dist/brainImaging-K3LHK3DD.js +0 -421
  384. package/dist/chat-BYX5ARUK.js +0 -148
  385. package/dist/chunk-25RP5OSE.js +0 -1426
  386. package/dist/chunk-2K5DSRBJ.js +0 -84
  387. package/dist/chunk-2K5DSRBJ.js.map +0 -7
  388. package/dist/chunk-2LULD7RN.js +0 -31
  389. package/dist/chunk-2M6JV7YS.js +0 -261
  390. package/dist/chunk-2TJESM3Z.js +0 -158
  391. package/dist/chunk-2VFYZ3EY.js +0 -102
  392. package/dist/chunk-3CD5ZROA.js +0 -4952
  393. package/dist/chunk-3CD5ZROA.js.map +0 -7
  394. package/dist/chunk-3DCABJHB.js +0 -381
  395. package/dist/chunk-3MMKHYUM.js +0 -95
  396. package/dist/chunk-3PRPMJTG.js +0 -55
  397. package/dist/chunk-4JON7TLI.js +0 -176
  398. package/dist/chunk-5HCB4HNL.js +0 -147
  399. package/dist/chunk-5JD4D5GD.js +0 -215
  400. package/dist/chunk-5UMPBVA6.js +0 -534
  401. package/dist/chunk-64FGLSIM.js +0 -56
  402. package/dist/chunk-6ITDJ5UR.js +0 -261
  403. package/dist/chunk-6ITDJ5UR.js.map +0 -7
  404. package/dist/chunk-6VLA5NEW.js +0 -335
  405. package/dist/chunk-7FTDQDVF.js +0 -824
  406. package/dist/chunk-7IEZ2KMW.js +0 -142
  407. package/dist/chunk-7RN3L2BX.js +0 -1788
  408. package/dist/chunk-7RN3L2BX.js.map +0 -7
  409. package/dist/chunk-A5AFIW2T.js +0 -14
  410. package/dist/chunk-AIBODF32.js +0 -2784
  411. package/dist/chunk-AQ4OP4GR.js +0 -39
  412. package/dist/chunk-AWWW6K2I.js +0 -407
  413. package/dist/chunk-BAY47D5E.js +0 -226
  414. package/dist/chunk-CFHKYLDY.js +0 -26
  415. package/dist/chunk-CJZN7HFL.js +0 -293
  416. package/dist/chunk-CXOF4UGH.js +0 -229
  417. package/dist/chunk-D4QFQQWJ.js +0 -170
  418. package/dist/chunk-DNCSPTOQ.js +0 -446
  419. package/dist/chunk-DQGSCCI3.js +0 -100
  420. package/dist/chunk-EWGMLVC7.js +0 -34
  421. package/dist/chunk-F7PB5HGT.js +0 -148
  422. package/dist/chunk-FVWCYGJL.js +0 -121
  423. package/dist/chunk-G7QKLA54.js +0 -92
  424. package/dist/chunk-HWHG63LH.js +0 -148
  425. package/dist/chunk-IBBMKCO7.js +0 -526
  426. package/dist/chunk-IQUYTZOA.js +0 -455
  427. package/dist/chunk-J5RINDKS.js +0 -480
  428. package/dist/chunk-JMPSZMDD.js +0 -52
  429. package/dist/chunk-KQMEJUWI.js +0 -815
  430. package/dist/chunk-KWFEGPZL.js +0 -97
  431. package/dist/chunk-L4QG7XZE.js +0 -46
  432. package/dist/chunk-L4QG7XZE.js.map +0 -7
  433. package/dist/chunk-LBXZGYU5.js +0 -368
  434. package/dist/chunk-LI7FE335.js +0 -371
  435. package/dist/chunk-LRBNYEFI.js +0 -50
  436. package/dist/chunk-LRMV5DNW.js +0 -441
  437. package/dist/chunk-LWNOC7AJ.js +0 -54
  438. package/dist/chunk-MICNOSX7.js +0 -129
  439. package/dist/chunk-MLWNMXAV.js +0 -272
  440. package/dist/chunk-MMBLSLQR.js +0 -158
  441. package/dist/chunk-N3QEGDEZ.js +0 -117
  442. package/dist/chunk-NV5XWADG.js +0 -1150
  443. package/dist/chunk-NVB7MQLH.js +0 -20649
  444. package/dist/chunk-O3255WPP.js +0 -1087
  445. package/dist/chunk-OSM7YS23.js +0 -276
  446. package/dist/chunk-OSM7YS23.js.map +0 -7
  447. package/dist/chunk-PEWHCKCH.js +0 -1205
  448. package/dist/chunk-Q7PYFSNU.js +0 -107
  449. package/dist/chunk-QEZPKEWB.js +0 -1159
  450. package/dist/chunk-QMI222IJ.js +0 -386
  451. package/dist/chunk-QRIRWDIW.js +0 -252
  452. package/dist/chunk-SEQLC4AD.js +0 -177
  453. package/dist/chunk-SJTOSA7E.js +0 -629
  454. package/dist/chunk-SRYFYAXK.js +0 -615
  455. package/dist/chunk-SYMOQE3X.js +0 -37
  456. package/dist/chunk-TITA4HJA.js +0 -228
  457. package/dist/chunk-TV74I3Y5.js +0 -43
  458. package/dist/chunk-TV74I3Y5.js.map +0 -7
  459. package/dist/chunk-U7ZMIMI5.js +0 -2815
  460. package/dist/chunk-UJU3Q7QJ.js +0 -119
  461. package/dist/chunk-UL2ISTHR.js +0 -2672
  462. package/dist/chunk-VIPMLSZP.js +0 -217
  463. package/dist/chunk-VZPYIG77.js +0 -1271
  464. package/dist/chunk-W345H42C.js +0 -273
  465. package/dist/chunk-WGL6FIUE.js +0 -330
  466. package/dist/chunk-WGL6FIUE.js.map +0 -7
  467. package/dist/chunk-WIYKAKWE.js +0 -302
  468. package/dist/chunk-WJGVQJSX.js +0 -514
  469. package/dist/chunk-WPHOEG56.js +0 -194
  470. package/dist/chunk-WU63AOK2.js +0 -4207
  471. package/dist/chunk-XS4QWRS3.js +0 -205
  472. package/dist/chunk-XYFDBYOY.js +0 -1658
  473. package/dist/chunk-XYFDBYOY.js.map +0 -7
  474. package/dist/chunk-YDWRIMCT.js +0 -289
  475. package/dist/chunk-YSW57QDM.js +0 -6364
  476. package/dist/chunk-YXQNZPCO.js +0 -203
  477. package/dist/chunk-YYYJB53A.js +0 -2370
  478. package/dist/chunk-YYYJB53A.js.map +0 -7
  479. package/dist/chunk-ZTKQLABY.js +0 -470
  480. package/dist/condition-AM523RDR.js +0 -330
  481. package/dist/controls-HTMH5QBP.js +0 -39
  482. package/dist/controls.config-EEK2RBPI.js +0 -37
  483. package/dist/correlation-HKD67SPS.js +0 -96
  484. package/dist/cuminc-66V55MMN.js +0 -1147
  485. package/dist/cuminc.integration.spec-PNTOPB2L.js +0 -676
  486. package/dist/customdata.inputui-Z4WQDU6I.js +0 -285
  487. package/dist/customdata.inputui-Z4WQDU6I.js.map +0 -7
  488. package/dist/dataDownload-3ZEI22OK.js +0 -328
  489. package/dist/dataDownload.integration.spec-C3JRC6K5.js +0 -191
  490. package/dist/databrowser.ui-Q365SHBG.js +0 -419
  491. package/dist/dictionary-D4E2VEJT.js +0 -109
  492. package/dist/dnaMethylation-IFZWWBUG.js +0 -36
  493. package/dist/dnaMethylation.integration.spec-UKV4BSIO.js +0 -165
  494. package/dist/e2pca-I3QXF7EM.js +0 -348
  495. package/dist/ep-2VCQ36GT.js +0 -1254
  496. package/dist/expclust.gdc.spec-VWIQFY67.js +0 -305
  497. package/dist/facet-CHP3VUWS.js +0 -519
  498. package/dist/geneExpClustering-YDIDEH2O.js +0 -246
  499. package/dist/geneExpression-FA5RJRHZ.js +0 -36
  500. package/dist/geneExpression-X2KXJPND.js +0 -312
  501. package/dist/geneExpression.unit.spec-3LVHYZGG.js +0 -100
  502. package/dist/geneORA-4CAYRKSN.js +0 -276
  503. package/dist/geneVariant-OCOTNUH4.js +0 -39
  504. package/dist/geneVariant-Y4L5W5HF.js +0 -37
  505. package/dist/geneVariant.integration.spec-BOJ5MM5K.js +0 -196
  506. package/dist/genefusion.ui-I6HZOBIV.js +0 -249
  507. package/dist/genefusion.ui-I6HZOBIV.js.map +0 -7
  508. package/dist/geneset-GEWKDAAT.js +0 -194
  509. package/dist/genomeBrowser.spec-FDEGH4DY.js +0 -279
  510. package/dist/grin2-K56B6XBZ.js +0 -1031
  511. package/dist/grin2-V6FMM44N.js +0 -1554
  512. package/dist/gsea-UNPPRU2U.js +0 -45
  513. package/dist/hierCluster-DXAWRQNI.js +0 -58
  514. package/dist/hierCluster-SPIQA2M2.js +0 -62
  515. package/dist/hierCluster.config-JW6D3T3Q.js +0 -38
  516. package/dist/hierCluster.integration.spec-5NXZY4LG.js +0 -374
  517. package/dist/hierCluster.interactivity-CPPBXHM7.js +0 -52
  518. package/dist/hierCluster.renderers-A6MEGO2B.js +0 -21
  519. package/dist/imagePlot-QLAHCULW.js +0 -139
  520. package/dist/importPlot-6ITZ6U7G.js +0 -8
  521. package/dist/isoformExpression-7GAUF2QV.js +0 -38
  522. package/dist/isoformExpression.unit.spec-3BVXVVNO.js +0 -206
  523. package/dist/launch.adhoc-HFHBAUR6.js +0 -40
  524. package/dist/leftlabel.sample-CWPJUCHR.js +0 -257
  525. package/dist/legacyDataset-PBCPC5I7.js +0 -119
  526. package/dist/lollipop-QFRQLEER.js +0 -166
  527. package/dist/maf-OEODBT3Y.js +0 -450
  528. package/dist/maftimeline-2DFIF4C4.js +0 -591
  529. package/dist/matrix-3HFB5TUU.js +0 -57
  530. package/dist/matrix-MIXK27AD.js +0 -62
  531. package/dist/matrix.cells-U7AQNEBP.js +0 -28
  532. package/dist/matrix.config-FX5MHX6O.js +0 -39
  533. package/dist/matrix.controls-5K7BB5Z4.js +0 -37
  534. package/dist/matrix.data-EEIY6AO4.js +0 -25
  535. package/dist/matrix.groups-CUB6UWC5.js +0 -26
  536. package/dist/matrix.integration.spec-ML4T7FRG.js +0 -3070
  537. package/dist/matrix.interactivity-QMPWX63Q.js +0 -40
  538. package/dist/matrix.layout-7SEF6MYI.js +0 -42
  539. package/dist/matrix.legend-42LQGAGX.js +0 -22
  540. package/dist/matrix.renderers-ZF7LLER3.js +0 -36
  541. package/dist/matrix.serieses-4B2WB526.js +0 -21
  542. package/dist/matrix.sort-BJACNR7G.js +0 -27
  543. package/dist/matrix.sort.unit.spec-ZGSM7HDJ.js +0 -470
  544. package/dist/matrix.sorterUi-W6XFYZY2.js +0 -18
  545. package/dist/matrix.sorterUi.unit.spec-V34ZZD7A.js +0 -340
  546. package/dist/mavb-NVQVFU6E.js +0 -730
  547. package/dist/mds.fimo-HOCF6U6K.js +0 -516
  548. package/dist/mds.samplescatterplot-ULD5BK5R.js +0 -1548
  549. package/dist/mds.survivalplot-5US32RQD.js +0 -481
  550. package/dist/oncomatrix-Y3G3MUJJ.js +0 -293
  551. package/dist/oncomatrix.spec-MFUJLWEP.js +0 -446
  552. package/dist/plot.2dvaf-F4WZ4YPU.js +0 -375
  553. package/dist/plot.app-YFFLLBU5.js +0 -39
  554. package/dist/plot.barplot-2EJ2MWQD.js +0 -100
  555. package/dist/plot.boxplot-AKZM443E.js +0 -150
  556. package/dist/plot.brainImaging-DR6WJNFZ.js +0 -51
  557. package/dist/plot.disco-LBE5H67U.js +0 -101
  558. package/dist/plot.dzi-R2MR7HAT.js +0 -33
  559. package/dist/plot.ssgq-C52YIUFY.js +0 -137
  560. package/dist/plot.vaf2cov-FOD3K7BC.js +0 -257
  561. package/dist/plot.wsi-D2TXYERK.js +0 -36
  562. package/dist/polar-2LC35O6K.js +0 -184
  563. package/dist/polar2-QPUOEUJZ.js +0 -226
  564. package/dist/profile.spec-3NCDGHLX.js +0 -78
  565. package/dist/profileBarchart-PPQ3NL4D.js +0 -265
  566. package/dist/profileForms-GS3VVW65.js +0 -438
  567. package/dist/profilePlot-DQWFH5NC.js +0 -52
  568. package/dist/profileRadar-KAKRDC4R.js +0 -261
  569. package/dist/profileRadarFacility-FZP62VPV.js +0 -261
  570. package/dist/proteinView-LWVWJY54.js +0 -444
  571. package/dist/proteinView-LWVWJY54.js.map +0 -7
  572. package/dist/proteomeAbundance-DE4NVBCN.js +0 -21
  573. package/dist/proteomeAbundance-LTB3QR3G.js +0 -63
  574. package/dist/qualitative-YOFAROVR.js +0 -41
  575. package/dist/regression-PF6IAHJK.js +0 -54
  576. package/dist/regression.inputs-77IUYED3.js +0 -46
  577. package/dist/regression.inputs.term-WWCHU6KF.js +0 -46
  578. package/dist/regression.inputs.values.table-I6GM6MU7.js +0 -43
  579. package/dist/regression.integration.spec-DGEZUURU.js +0 -782
  580. package/dist/regression.results-6GXNKYUS.js +0 -38
  581. package/dist/regression.spec-MEFQNY34.js +0 -706
  582. package/dist/report-LG3UKZHL.js +0 -220
  583. package/dist/sampleScatter.spec-D3IK7MSA.js +0 -200
  584. package/dist/sampleView-XUI2J5EC.js +0 -46
  585. package/dist/samplelst-A7IHCBAX.js +0 -109
  586. package/dist/samplematrix-VGUU7Q75.js +0 -2196
  587. package/dist/sc-UVKVT2RY.js +0 -84
  588. package/dist/scatter-UILUYOGO.js +0 -800
  589. package/dist/scatter.integration.spec-VPNALPUG.js +0 -1194
  590. package/dist/selectGenomeWithTklst-LWKIMZEJ.js +0 -132
  591. package/dist/singleCellCellType-TI52WQQ4.js +0 -36
  592. package/dist/singleCellCellType.unit.spec-R3BTRFRU.js +0 -158
  593. package/dist/singleCellGeneExpression-I5SAHMGI.js +0 -36
  594. package/dist/singleCellGeneExpression.unit.spec-2JTB5HLY.js +0 -151
  595. package/dist/singleCellPlot-HRWCHYCI.js +0 -51
  596. package/dist/singlecell-BHPP7KCO.js +0 -1570
  597. package/dist/singlecell-PQNKBKR7.js +0 -84
  598. package/dist/snp-V4YGI7B3.js +0 -36
  599. package/dist/snp.unit.spec-JSUCMGNP.js +0 -174
  600. package/dist/snplocus-3YT5NNCH.js +0 -206
  601. package/dist/spliceevent.a53ss.diagram-QEQJ44YH.js +0 -149
  602. package/dist/spliceevent.exonskip.diagram-HMWVSOJG.js +0 -275
  603. package/dist/spliceevent.noeventdiagram-L5HUCT5A.js +0 -458
  604. package/dist/ssGSEA-Z3XRCBYW.js +0 -36
  605. package/dist/ssGSEA.unit.spec-EUCTV2XJ.js +0 -86
  606. package/dist/summarizeCnvGeneexp-O7O2CFW4.js +0 -161
  607. package/dist/summarizeGeneexpSurvival-DDPH56EI.js +0 -106
  608. package/dist/summarizeMutationCnv-6KJQUJWR.js +0 -162
  609. package/dist/summarizeMutationDiagnosis-HFFYLQOF.js +0 -38
  610. package/dist/summarizeMutationSurvival-OBK6YILP.js +0 -97
  611. package/dist/summary-W55WWIU2.js +0 -47
  612. package/dist/summary.integration.spec-X2PNAUKW.js +0 -412
  613. package/dist/summaryInput-X547Q6C7.js +0 -218
  614. package/dist/sunburst-KWNGYBRI.js +0 -282
  615. package/dist/survival-PAJZHZPD.js +0 -56
  616. package/dist/survival-TQPWMOD5.js +0 -44
  617. package/dist/survival.integration.spec-YMQASOMX.js +0 -800
  618. package/dist/svgraph-Y35C2M3D.js +0 -1385
  619. package/dist/svmr-WGCIR7PE.js +0 -3840
  620. package/dist/table-Q3B2YXEN.js +0 -198
  621. package/dist/termCollection-A6YTSM5I.js +0 -177
  622. package/dist/termCollection-NTFNVQ7D.js +0 -36
  623. package/dist/termCollection.unit.spec-BX54PHKT.js +0 -206
  624. package/dist/tk-OCBZ7YR6.js +0 -44
  625. package/dist/tp.ui-ZT47N2CO.js +0 -1457
  626. package/dist/tvs.density-HSVPDDGA.js +0 -18
  627. package/dist/tvs.dt-BFB253O3.js +0 -37
  628. package/dist/tvs.dtcnv.categorical-ARGAYIDO.js +0 -38
  629. package/dist/tvs.dtcnv.continuous-JCU23ERV.js +0 -70
  630. package/dist/tvs.dtfusion-FV64XLZI.js +0 -38
  631. package/dist/tvs.dtsnvindel-DMOXMEVL.js +0 -38
  632. package/dist/tvs.dtsv-53FSZEPV.js +0 -38
  633. package/dist/tvs.numeric-ICUGA4WY.js +0 -21
  634. package/dist/tvs.samplelst-MVPL6VXX.js +0 -102
  635. package/dist/tvs.termCollection-UGJXTHTG.js +0 -151
  636. package/dist/violin-ZLUDGSQG.js +0 -44
  637. package/dist/violin.integration.spec-KWOFOFLT.js +0 -1423
  638. package/dist/violin.interactivity-ULDOCZWW.js +0 -36
  639. package/dist/violin.renderer-KJAXPMIK.js +0 -38
  640. package/dist/vocabulary-34YUQ4ZQ.js +0 -39
  641. /package/dist/{2dmaf-YHYYSSKR.js.map → 2dmaf-PBJ3POZQ.js.map} +0 -0
  642. /package/dist/{AIProjectAdmin-D4AASQBM.js.map → AIProjectAdmin-5IAXCACJ.js.map} +0 -0
  643. /package/dist/{AppHeader-T4ZLY3VG.js.map → AppHeader-HLUE2IQT.js.map} +0 -0
  644. /package/dist/{BoxPlot-DIU4YXNK.js.map → BoxPlot-NAQS5MHV.js.map} +0 -0
  645. /package/dist/{CorrelationVolcano-EXH4P56S.js.map → CorrelationVolcano-TVVUP4L4.js.map} +0 -0
  646. /package/dist/{DE-C5K2TVUQ.js.map → DE-F7LUSAO2.js.map} +0 -0
  647. /package/dist/{DEinput-KVILE7QQ.js.map → DEinput-V7MF5IEZ.js.map} +0 -0
  648. /package/dist/{DifferentialAnalysis-P6GKHAS5.js.map → DifferentialAnalysis-R2Z7G75Y.js.map} +0 -0
  649. /package/dist/{Disco-IMLXEBPG.js.map → Disco-7S5KUVQ6.js.map} +0 -0
  650. /package/dist/{Disco.UI-4A2P5Q55.js.map → Disco.UI-6ONZR7GK.js.map} +0 -0
  651. /package/dist/{DmrPlot-6EEEGD32.js.map → DmrPlot-NZXGFMBY.js.map} +0 -0
  652. /package/dist/{GB-XFO5I6ND.js.map → GB-3EXBSESG.js.map} +0 -0
  653. /package/dist/{HicApp-3LFHOOAR.js.map → HicApp-WEYV7T46.js.map} +0 -0
  654. /package/dist/{NumBinaryEditor-74PY52BP.js.map → NumBinaryEditor-SNJD6NVL.js.map} +0 -0
  655. /package/dist/{NumBinaryEditor.unit.spec-2PYZ7P2R.js.map → NumBinaryEditor.unit.spec-A7C4A2HF.js.map} +0 -0
  656. /package/dist/{NumContEditor-BMWALLQM.js.map → NumContEditor-TBOEORWJ.js.map} +0 -0
  657. /package/dist/{NumContEditor.unit.spec-ETVLVX6A.js.map → NumContEditor.unit.spec-BJKQNFPL.js.map} +0 -0
  658. /package/dist/{NumCustomBinEditor-2XJ6GUWY.js.map → NumCustomBinEditor-RNWEGLLB.js.map} +0 -0
  659. /package/dist/{NumCustomBinEditor.unit.spec-TZVL553E.js.map → NumCustomBinEditor.unit.spec-CW3D5WOW.js.map} +0 -0
  660. /package/dist/{NumDiscreteEditor-4LNLKAXT.js.map → NumDiscreteEditor-WXRAMEWQ.js.map} +0 -0
  661. /package/dist/{NumDiscreteEditor.unit.spec-KQND2XAE.js.map → NumDiscreteEditor.unit.spec-SJTHYGMI.js.map} +0 -0
  662. /package/dist/{NumRegularBinEditor-OYELFDIB.js.map → NumRegularBinEditor-LLSKHSJC.js.map} +0 -0
  663. /package/dist/{NumRegularBinEditor.unit.spec-44SALKLH.js.map → NumRegularBinEditor.unit.spec-G3YRWT52.js.map} +0 -0
  664. /package/dist/{NumSplineEditor-SENQC4P2.js.map → NumSplineEditor-W6HG3I53.js.map} +0 -0
  665. /package/dist/{NumSplineEditor.unit.spec-XKB4XXU4.js.map → NumSplineEditor.unit.spec-BVVTYJY7.js.map} +0 -0
  666. /package/dist/{NumericDensity-GCNWO7YS.js.map → NumericDensity-VYAZXP4D.js.map} +0 -0
  667. /package/dist/{NumericDensity.unit.spec-7LWNOUYK.js.map → NumericDensity.unit.spec-4QCKG6GM.js.map} +0 -0
  668. /package/dist/{NumericHandler-EMQBI5UI.js.map → NumericHandler-PKCERKLB.js.map} +0 -0
  669. /package/dist/{NumericHandler.unit.spec-TEELPRIM.js.map → NumericHandler.unit.spec-JIYZ3IFG.js.map} +0 -0
  670. /package/dist/{RunChart2-LJBC5X2H.js.map → RunChart2-I4ZBBKOC.js.map} +0 -0
  671. /package/dist/{SC-3EB6UYIS.js.map → SC-OLNRPTNS.js.map} +0 -0
  672. /package/dist/{Volcano-CPULLVYV.js.map → Volcano-DEOVDPYB.js.map} +0 -0
  673. /package/dist/{WSIViewer-2YCT4LCM.js.map → WSIViewer-VA36EDFH.js.map} +0 -0
  674. /package/dist/{WsiSamplesPlot-B2DM7Z3Q.js.map → WsiSamplesPlot-RA644FK6.js.map} +0 -0
  675. /package/dist/{adSandbox-INF3NNEV.js.map → adSandbox-SJ3O3RVJ.js.map} +0 -0
  676. /package/dist/{alphaGenome-CO4TQHXN.js.map → alphaGenome-UTVIVOEF.js.map} +0 -0
  677. /package/dist/{app-63JU2YIT.js.map → app-6UPJNZVS.js.map} +0 -0
  678. /package/dist/{app-BL3POUOO.js.map → app-YFBAT5TM.js.map} +0 -0
  679. /package/dist/{bam-SVEJYICC.js.map → bam-C4KHGT7X.js.map} +0 -0
  680. /package/dist/{barchart-PDUXZAIH.js.map → barchart-UOELLJAZ.js.map} +0 -0
  681. /package/dist/{barchart.data-EXENRVMU.js.map → barchart.data-EYZ3W4BQ.js.map} +0 -0
  682. /package/dist/{barchart.events-MQNQTSWI.js.map → barchart.events-SJZZV3TI.js.map} +0 -0
  683. /package/dist/{barchart.integration.spec-DSO2377T.js.map → barchart.integration.spec-A4XZNV3B.js.map} +0 -0
  684. /package/dist/{block-OO2NLGUP.js.map → block-ODDURI6Y.js.map} +0 -0
  685. /package/dist/{block.init-7J5OHYKA.js.map → block.init-TZXJGL7D.js.map} +0 -0
  686. /package/dist/{block.mds.expressionrank-643H7PN7.js.map → block.mds.expressionrank-UE2D6D3N.js.map} +0 -0
  687. /package/dist/{block.mds.geneboxplot-C222ODSL.js.map → block.mds.geneboxplot-KINAWY6K.js.map} +0 -0
  688. /package/dist/{block.mds.junction-C5DJRUOK.js.map → block.mds.junction-HRJQOYBL.js.map} +0 -0
  689. /package/dist/{block.mds.svcnv-4G74JQ7Y.js.map → block.mds.svcnv-7C2IMZXB.js.map} +0 -0
  690. /package/dist/{block.svg-35KUC5R7.js.map → block.svg-757BH6PD.js.map} +0 -0
  691. /package/dist/{block.tk.aicheck-LLWT6K6H.js.map → block.tk.aicheck-M4VAVJL6.js.map} +0 -0
  692. /package/dist/{block.tk.ase-PQUKY65E.js.map → block.tk.ase-J5HCPECM.js.map} +0 -0
  693. /package/dist/{block.tk.bam-EUEOB7BR.js.map → block.tk.bam-7NFAMVLF.js.map} +0 -0
  694. /package/dist/{block.tk.bedgraphdot-XAHUY545.js.map → block.tk.bedgraphdot-HROSDQH5.js.map} +0 -0
  695. /package/dist/{block.tk.bigwig.ui-HEOPNL3T.js.map → block.tk.bigwig.ui-BIMVFUT6.js.map} +0 -0
  696. /package/dist/{block.tk.hicstraw-EPH3LEX2.js.map → block.tk.hicstraw-W7CWMNZ7.js.map} +0 -0
  697. /package/dist/{block.tk.junction-MIUDAIAR.js.map → block.tk.junction-ZUUBN36V.js.map} +0 -0
  698. /package/dist/{block.tk.junction.textmatrixui-AVFUQBDS.js.map → block.tk.junction.textmatrixui-PYJ4UGCF.js.map} +0 -0
  699. /package/dist/{block.tk.ld-ED7YMBQ4.js.map → block.tk.ld-6E7ZXTCC.js.map} +0 -0
  700. /package/dist/{block.tk.menu-3CVIECWQ.js.map → block.tk.menu-SWT3R74J.js.map} +0 -0
  701. /package/dist/{block.tk.pgv-HETJVWXH.js.map → block.tk.pgv-SEDDAV24.js.map} +0 -0
  702. /package/dist/{brainImaging-K3LHK3DD.js.map → brainImaging-X5WPNTUO.js.map} +0 -0
  703. /package/dist/{chat-BYX5ARUK.js.map → chat-KZ3LZAQ6.js.map} +0 -0
  704. /package/dist/{chunk-NVB7MQLH.js.map → chunk-2LCTMDCS.js.map} +0 -0
  705. /package/dist/{chunk-QMI222IJ.js.map → chunk-2TMP56TB.js.map} +0 -0
  706. /package/dist/{chunk-G7QKLA54.js.map → chunk-2VNQJGPM.js.map} +0 -0
  707. /package/dist/{chunk-IBBMKCO7.js.map → chunk-3DN47Y2E.js.map} +0 -0
  708. /package/dist/{chunk-2M6JV7YS.js.map → chunk-4IL33OUX.js.map} +0 -0
  709. /package/dist/{chunk-TITA4HJA.js.map → chunk-4YG57UVZ.js.map} +0 -0
  710. /package/dist/{chunk-NV5XWADG.js.map → chunk-54P7H5GL.js.map} +0 -0
  711. /package/dist/{chunk-2TJESM3Z.js.map → chunk-5BBR2HND.js.map} +0 -0
  712. /package/dist/{chunk-AIBODF32.js.map → chunk-5BCACIPX.js.map} +0 -0
  713. /package/dist/{chunk-YDWRIMCT.js.map → chunk-6CRWDKT7.js.map} +0 -0
  714. /package/dist/{chunk-25RP5OSE.js.map → chunk-7M45T6YS.js.map} +0 -0
  715. /package/dist/{chunk-CFHKYLDY.js.map → chunk-7N3Q25KC.js.map} +0 -0
  716. /package/dist/{chunk-LRBNYEFI.js.map → chunk-AQ2ODUYY.js.map} +0 -0
  717. /package/dist/{chunk-O3255WPP.js.map → chunk-AZLWNXFP.js.map} +0 -0
  718. /package/dist/{chunk-DQGSCCI3.js.map → chunk-B3SLLQAS.js.map} +0 -0
  719. /package/dist/{chunk-7FTDQDVF.js.map → chunk-BHEBKIGM.js.map} +0 -0
  720. /package/dist/{chunk-F7PB5HGT.js.map → chunk-CAHAYB6O.js.map} +0 -0
  721. /package/dist/{chunk-SYMOQE3X.js.map → chunk-CGDEEO4I.js.map} +0 -0
  722. /package/dist/{chunk-64FGLSIM.js.map → chunk-CXLRKDEC.js.map} +0 -0
  723. /package/dist/{chunk-2VFYZ3EY.js.map → chunk-DET76M2J.js.map} +0 -0
  724. /package/dist/{chunk-AQ4OP4GR.js.map → chunk-DONWY7TP.js.map} +0 -0
  725. /package/dist/{chunk-J5RINDKS.js.map → chunk-DP5ACVIR.js.map} +0 -0
  726. /package/dist/{chunk-4JON7TLI.js.map → chunk-E5JQ3PN6.js.map} +0 -0
  727. /package/dist/{chunk-HWHG63LH.js.map → chunk-EJNV6SCH.js.map} +0 -0
  728. /package/dist/{chunk-WJGVQJSX.js.map → chunk-F5D4ADBB.js.map} +0 -0
  729. /package/dist/{chunk-SEQLC4AD.js.map → chunk-F6V4AYWP.js.map} +0 -0
  730. /package/dist/{chunk-CXOF4UGH.js.map → chunk-FBG235FD.js.map} +0 -0
  731. /package/dist/{chunk-LI7FE335.js.map → chunk-FGMPKWT5.js.map} +0 -0
  732. /package/dist/{chunk-XS4QWRS3.js.map → chunk-FWKAYZ55.js.map} +0 -0
  733. /package/dist/{chunk-2LULD7RN.js.map → chunk-GMDQIP3M.js.map} +0 -0
  734. /package/dist/{chunk-Q7PYFSNU.js.map → chunk-H55L2FAY.js.map} +0 -0
  735. /package/dist/{chunk-SRYFYAXK.js.map → chunk-HED3JZ2O.js.map} +0 -0
  736. /package/dist/{chunk-CJZN7HFL.js.map → chunk-IBIFTCWL.js.map} +0 -0
  737. /package/dist/{chunk-AWWW6K2I.js.map → chunk-ILDUYXV5.js.map} +0 -0
  738. /package/dist/{chunk-6VLA5NEW.js.map → chunk-IQ25XHGX.js.map} +0 -0
  739. /package/dist/{chunk-3MMKHYUM.js.map → chunk-JLSN2WF5.js.map} +0 -0
  740. /package/dist/{chunk-KQMEJUWI.js.map → chunk-JOT4WDJE.js.map} +0 -0
  741. /package/dist/{chunk-VZPYIG77.js.map → chunk-JQIR2UG5.js.map} +0 -0
  742. /package/dist/{chunk-QEZPKEWB.js.map → chunk-K6ZAAZKO.js.map} +0 -0
  743. /package/dist/{chunk-DNCSPTOQ.js.map → chunk-KBDY6GE3.js.map} +0 -0
  744. /package/dist/{chunk-JMPSZMDD.js.map → chunk-KZFOWI7N.js.map} +0 -0
  745. /package/dist/{chunk-BAY47D5E.js.map → chunk-LKFYRQOH.js.map} +0 -0
  746. /package/dist/{chunk-YSW57QDM.js.map → chunk-LO4WNMBO.js.map} +0 -0
  747. /package/dist/{chunk-VIPMLSZP.js.map → chunk-LXQ6DLAR.js.map} +0 -0
  748. /package/dist/{chunk-WPHOEG56.js.map → chunk-M3EBH2WK.js.map} +0 -0
  749. /package/dist/{chunk-UL2ISTHR.js.map → chunk-M5Z3GYRH.js.map} +0 -0
  750. /package/dist/{chunk-U7ZMIMI5.js.map → chunk-MEIKKPY7.js.map} +0 -0
  751. /package/dist/{chunk-SJTOSA7E.js.map → chunk-MZ7RBJSI.js.map} +0 -0
  752. /package/dist/{chunk-D4QFQQWJ.js.map → chunk-OH7PDA2Z.js.map} +0 -0
  753. /package/dist/{chunk-ZTKQLABY.js.map → chunk-OKIJIYSP.js.map} +0 -0
  754. /package/dist/{chunk-EWGMLVC7.js.map → chunk-OOD5HBVR.js.map} +0 -0
  755. /package/dist/{chunk-UJU3Q7QJ.js.map → chunk-OTCYJP7G.js.map} +0 -0
  756. /package/dist/{chunk-MMBLSLQR.js.map → chunk-P7T2U6T7.js.map} +0 -0
  757. /package/dist/{chunk-7IEZ2KMW.js.map → chunk-PLHGSDJY.js.map} +0 -0
  758. /package/dist/{chunk-PEWHCKCH.js.map → chunk-PUDZL7RZ.js.map} +0 -0
  759. /package/dist/{chunk-A5AFIW2T.js.map → chunk-PYJ3QA6E.js.map} +0 -0
  760. /package/dist/{chunk-IQUYTZOA.js.map → chunk-QDRZL47L.js.map} +0 -0
  761. /package/dist/{chunk-LRMV5DNW.js.map → chunk-QTGTMFHM.js.map} +0 -0
  762. /package/dist/{chunk-KWFEGPZL.js.map → chunk-QWL5TZ4G.js.map} +0 -0
  763. /package/dist/{chunk-WIYKAKWE.js.map → chunk-RF6ATFT2.js.map} +0 -0
  764. /package/dist/{chunk-LBXZGYU5.js.map → chunk-RH573XZP.js.map} +0 -0
  765. /package/dist/{chunk-5JD4D5GD.js.map → chunk-STEV77G7.js.map} +0 -0
  766. /package/dist/{chunk-WU63AOK2.js.map → chunk-TBRPZ3FL.js.map} +0 -0
  767. /package/dist/{chunk-5HCB4HNL.js.map → chunk-TE3DK3A6.js.map} +0 -0
  768. /package/dist/{chunk-YXQNZPCO.js.map → chunk-TTGDA3MA.js.map} +0 -0
  769. /package/dist/{chunk-5UMPBVA6.js.map → chunk-UFDQ2R2Q.js.map} +0 -0
  770. /package/dist/{chunk-FVWCYGJL.js.map → chunk-UWX7W22M.js.map} +0 -0
  771. /package/dist/{chunk-LWNOC7AJ.js.map → chunk-V2R3JFLP.js.map} +0 -0
  772. /package/dist/{chunk-MLWNMXAV.js.map → chunk-VKK5MGDU.js.map} +0 -0
  773. /package/dist/{chunk-N3QEGDEZ.js.map → chunk-WHVOWEFP.js.map} +0 -0
  774. /package/dist/{chunk-3PRPMJTG.js.map → chunk-XQTXYKAU.js.map} +0 -0
  775. /package/dist/{chunk-QRIRWDIW.js.map → chunk-YA73ETIT.js.map} +0 -0
  776. /package/dist/{chunk-W345H42C.js.map → chunk-YXJXRXJR.js.map} +0 -0
  777. /package/dist/{chunk-3DCABJHB.js.map → chunk-ZIAGMGMS.js.map} +0 -0
  778. /package/dist/{chunk-MICNOSX7.js.map → chunk-ZXNBYIBD.js.map} +0 -0
  779. /package/dist/{condition-AM523RDR.js.map → condition-RQP7JUST.js.map} +0 -0
  780. /package/dist/{controls-HTMH5QBP.js.map → controls-WFT5GE3D.js.map} +0 -0
  781. /package/dist/{controls.config-EEK2RBPI.js.map → controls.config-66ZKRSPU.js.map} +0 -0
  782. /package/dist/{correlation-HKD67SPS.js.map → correlation-45MFH7X4.js.map} +0 -0
  783. /package/dist/{cuminc-66V55MMN.js.map → cuminc-44ALCFL4.js.map} +0 -0
  784. /package/dist/{cuminc.integration.spec-PNTOPB2L.js.map → cuminc.integration.spec-I2UTPH3X.js.map} +0 -0
  785. /package/dist/{dataDownload-3ZEI22OK.js.map → dataDownload-CRGQTCOW.js.map} +0 -0
  786. /package/dist/{dataDownload.integration.spec-C3JRC6K5.js.map → dataDownload.integration.spec-7SAPXDH4.js.map} +0 -0
  787. /package/dist/{databrowser.ui-Q365SHBG.js.map → databrowser.ui-O5TPKDPL.js.map} +0 -0
  788. /package/dist/{dictionary-D4E2VEJT.js.map → dictionary-QGSAJ7FM.js.map} +0 -0
  789. /package/dist/{dnaMethylation-IFZWWBUG.js.map → dnaMethylation-4VDQBBGJ.js.map} +0 -0
  790. /package/dist/{dnaMethylation.integration.spec-UKV4BSIO.js.map → dnaMethylation.integration.spec-RSO5U6RN.js.map} +0 -0
  791. /package/dist/{e2pca-I3QXF7EM.js.map → e2pca-7LPSASDI.js.map} +0 -0
  792. /package/dist/{ep-2VCQ36GT.js.map → ep-AIOPCUME.js.map} +0 -0
  793. /package/dist/{expclust.gdc.spec-VWIQFY67.js.map → expclust.gdc.spec-PSXJZCAI.js.map} +0 -0
  794. /package/dist/{facet-CHP3VUWS.js.map → facet-W3RYRWXJ.js.map} +0 -0
  795. /package/dist/{geneExpClustering-YDIDEH2O.js.map → geneExpClustering-SBQWW6IZ.js.map} +0 -0
  796. /package/dist/{geneExpression-X2KXJPND.js.map → geneExpression-4WEYCEZV.js.map} +0 -0
  797. /package/dist/{geneExpression-FA5RJRHZ.js.map → geneExpression-JWYJNDN5.js.map} +0 -0
  798. /package/dist/{geneExpression.unit.spec-3LVHYZGG.js.map → geneExpression.unit.spec-HKD4DJIV.js.map} +0 -0
  799. /package/dist/{geneORA-4CAYRKSN.js.map → geneORA-YUVDOZ5X.js.map} +0 -0
  800. /package/dist/{geneVariant-OCOTNUH4.js.map → geneVariant-J3UI6RWM.js.map} +0 -0
  801. /package/dist/{geneVariant-Y4L5W5HF.js.map → geneVariant-ZB7CLFCT.js.map} +0 -0
  802. /package/dist/{geneVariant.integration.spec-BOJ5MM5K.js.map → geneVariant.integration.spec-JDCKOR4C.js.map} +0 -0
  803. /package/dist/{geneset-GEWKDAAT.js.map → geneset-242QGP5Q.js.map} +0 -0
  804. /package/dist/{genomeBrowser.spec-FDEGH4DY.js.map → genomeBrowser.spec-NRLKLJQD.js.map} +0 -0
  805. /package/dist/{grin2-V6FMM44N.js.map → grin2-FD3JTI5R.js.map} +0 -0
  806. /package/dist/{grin2-K56B6XBZ.js.map → grin2-TAR4VXPJ.js.map} +0 -0
  807. /package/dist/{gsea-UNPPRU2U.js.map → gsea-YHG57UZ5.js.map} +0 -0
  808. /package/dist/{hierCluster-DXAWRQNI.js.map → hierCluster-QUAZ7NI6.js.map} +0 -0
  809. /package/dist/{hierCluster-SPIQA2M2.js.map → hierCluster-V2YZEXGX.js.map} +0 -0
  810. /package/dist/{hierCluster.config-JW6D3T3Q.js.map → hierCluster.config-ZOWXZGTF.js.map} +0 -0
  811. /package/dist/{hierCluster.integration.spec-5NXZY4LG.js.map → hierCluster.integration.spec-FAR4KK32.js.map} +0 -0
  812. /package/dist/{hierCluster.interactivity-CPPBXHM7.js.map → hierCluster.interactivity-D3TK5FSM.js.map} +0 -0
  813. /package/dist/{hierCluster.renderers-A6MEGO2B.js.map → hierCluster.renderers-C2RK55NN.js.map} +0 -0
  814. /package/dist/{imagePlot-QLAHCULW.js.map → imagePlot-2CACVKOO.js.map} +0 -0
  815. /package/dist/{importPlot-6ITZ6U7G.js.map → importPlot-KUOEC2YF.js.map} +0 -0
  816. /package/dist/{isoformExpression-7GAUF2QV.js.map → isoformExpression-2G4WCETG.js.map} +0 -0
  817. /package/dist/{isoformExpression.unit.spec-3BVXVVNO.js.map → isoformExpression.unit.spec-YBNCR6PE.js.map} +0 -0
  818. /package/dist/{launch.adhoc-HFHBAUR6.js.map → launch.adhoc-PECQW652.js.map} +0 -0
  819. /package/dist/{leftlabel.sample-CWPJUCHR.js.map → leftlabel.sample-6O2CXXC2.js.map} +0 -0
  820. /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-QRSNRVUA.js.map} +0 -0
  821. /package/dist/{lollipop-QFRQLEER.js.map → lollipop-CAFEKZSO.js.map} +0 -0
  822. /package/dist/{maf-OEODBT3Y.js.map → maf-N7ZB5J22.js.map} +0 -0
  823. /package/dist/{maftimeline-2DFIF4C4.js.map → maftimeline-MCYB3EST.js.map} +0 -0
  824. /package/dist/{matrix-3HFB5TUU.js.map → matrix-ID662DZG.js.map} +0 -0
  825. /package/dist/{matrix-MIXK27AD.js.map → matrix-JDGO6A4G.js.map} +0 -0
  826. /package/dist/{matrix.cells-U7AQNEBP.js.map → matrix.cells-QWB3XSTN.js.map} +0 -0
  827. /package/dist/{matrix.config-FX5MHX6O.js.map → matrix.config-HHWMMUZT.js.map} +0 -0
  828. /package/dist/{matrix.controls-5K7BB5Z4.js.map → matrix.controls-EOX43634.js.map} +0 -0
  829. /package/dist/{matrix.data-EEIY6AO4.js.map → matrix.data-YTSSULKG.js.map} +0 -0
  830. /package/dist/{matrix.groups-CUB6UWC5.js.map → matrix.groups-NGJ276VG.js.map} +0 -0
  831. /package/dist/{matrix.integration.spec-ML4T7FRG.js.map → matrix.integration.spec-XHGSEBYM.js.map} +0 -0
  832. /package/dist/{matrix.interactivity-QMPWX63Q.js.map → matrix.interactivity-OZS7R32Z.js.map} +0 -0
  833. /package/dist/{matrix.layout-7SEF6MYI.js.map → matrix.layout-GBQJ7O3H.js.map} +0 -0
  834. /package/dist/{matrix.legend-42LQGAGX.js.map → matrix.legend-AGTC5JPS.js.map} +0 -0
  835. /package/dist/{matrix.renderers-ZF7LLER3.js.map → matrix.renderers-L5D5NLLR.js.map} +0 -0
  836. /package/dist/{matrix.serieses-4B2WB526.js.map → matrix.serieses-DDQOSCL4.js.map} +0 -0
  837. /package/dist/{matrix.sort-BJACNR7G.js.map → matrix.sort-6VF7VNFX.js.map} +0 -0
  838. /package/dist/{matrix.sort.unit.spec-ZGSM7HDJ.js.map → matrix.sort.unit.spec-QGJBVO3X.js.map} +0 -0
  839. /package/dist/{matrix.sorterUi-W6XFYZY2.js.map → matrix.sorterUi-UE7CBIUP.js.map} +0 -0
  840. /package/dist/{matrix.sorterUi.unit.spec-V34ZZD7A.js.map → matrix.sorterUi.unit.spec-CTLTVJCO.js.map} +0 -0
  841. /package/dist/{mavb-NVQVFU6E.js.map → mavb-MU7H7YWY.js.map} +0 -0
  842. /package/dist/{mds.fimo-HOCF6U6K.js.map → mds.fimo-ELCNQMNR.js.map} +0 -0
  843. /package/dist/{mds.samplescatterplot-ULD5BK5R.js.map → mds.samplescatterplot-P7N4SXYT.js.map} +0 -0
  844. /package/dist/{mds.survivalplot-5US32RQD.js.map → mds.survivalplot-KJFW4IRT.js.map} +0 -0
  845. /package/dist/{oncomatrix-Y3G3MUJJ.js.map → oncomatrix-Q5X3O65P.js.map} +0 -0
  846. /package/dist/{oncomatrix.spec-MFUJLWEP.js.map → oncomatrix.spec-CJGXXI3U.js.map} +0 -0
  847. /package/dist/{plot.2dvaf-F4WZ4YPU.js.map → plot.2dvaf-CDPVMUPX.js.map} +0 -0
  848. /package/dist/{plot.app-YFFLLBU5.js.map → plot.app-BSPQMQCI.js.map} +0 -0
  849. /package/dist/{plot.barplot-2EJ2MWQD.js.map → plot.barplot-C33LEV4Q.js.map} +0 -0
  850. /package/dist/{plot.boxplot-AKZM443E.js.map → plot.boxplot-XH7FN6PC.js.map} +0 -0
  851. /package/dist/{plot.brainImaging-DR6WJNFZ.js.map → plot.brainImaging-5BB455FT.js.map} +0 -0
  852. /package/dist/{plot.disco-LBE5H67U.js.map → plot.disco-3YUN6XAY.js.map} +0 -0
  853. /package/dist/{plot.dzi-R2MR7HAT.js.map → plot.dzi-RZWAL5UC.js.map} +0 -0
  854. /package/dist/{plot.ssgq-C52YIUFY.js.map → plot.ssgq-M763HWMN.js.map} +0 -0
  855. /package/dist/{plot.vaf2cov-FOD3K7BC.js.map → plot.vaf2cov-EAHQV6FD.js.map} +0 -0
  856. /package/dist/{plot.wsi-D2TXYERK.js.map → plot.wsi-2BDC3RJS.js.map} +0 -0
  857. /package/dist/{polar-2LC35O6K.js.map → polar-3SJ5SUNJ.js.map} +0 -0
  858. /package/dist/{polar2-QPUOEUJZ.js.map → polar2-3GTEGZUL.js.map} +0 -0
  859. /package/dist/{profile.spec-3NCDGHLX.js.map → profile.spec-AR7JLQYT.js.map} +0 -0
  860. /package/dist/{profileBarchart-PPQ3NL4D.js.map → profileBarchart-GLTPPW2O.js.map} +0 -0
  861. /package/dist/{profileForms-GS3VVW65.js.map → profileForms-FE4GHA2T.js.map} +0 -0
  862. /package/dist/{profilePlot-DQWFH5NC.js.map → profilePlot-3JXEZUX5.js.map} +0 -0
  863. /package/dist/{profileRadar-KAKRDC4R.js.map → profileRadar-NA2WUSHG.js.map} +0 -0
  864. /package/dist/{profileRadarFacility-FZP62VPV.js.map → profileRadarFacility-6UNT4GPM.js.map} +0 -0
  865. /package/dist/{proteomeAbundance-LTB3QR3G.js.map → proteomeAbundance-GDK5EIE7.js.map} +0 -0
  866. /package/dist/{proteomeAbundance-DE4NVBCN.js.map → proteomeAbundance-NVLYQRKI.js.map} +0 -0
  867. /package/dist/{qualitative-YOFAROVR.js.map → qualitative-TUNIICQ4.js.map} +0 -0
  868. /package/dist/{regression-PF6IAHJK.js.map → regression-22IF77A7.js.map} +0 -0
  869. /package/dist/{regression.inputs-77IUYED3.js.map → regression.inputs-VCVMUBA7.js.map} +0 -0
  870. /package/dist/{regression.inputs.term-WWCHU6KF.js.map → regression.inputs.term-6FWVBNJT.js.map} +0 -0
  871. /package/dist/{regression.inputs.values.table-I6GM6MU7.js.map → regression.inputs.values.table-2FXOWLKN.js.map} +0 -0
  872. /package/dist/{regression.integration.spec-DGEZUURU.js.map → regression.integration.spec-2UMB7EIG.js.map} +0 -0
  873. /package/dist/{regression.results-6GXNKYUS.js.map → regression.results-27XHC5GE.js.map} +0 -0
  874. /package/dist/{regression.spec-MEFQNY34.js.map → regression.spec-5Q4J7TJZ.js.map} +0 -0
  875. /package/dist/{report-LG3UKZHL.js.map → report-B4RRLC7Q.js.map} +0 -0
  876. /package/dist/{sampleScatter.spec-D3IK7MSA.js.map → sampleScatter.spec-TXZYLGM7.js.map} +0 -0
  877. /package/dist/{sampleView-XUI2J5EC.js.map → sampleView-2WKGJUSX.js.map} +0 -0
  878. /package/dist/{samplelst-A7IHCBAX.js.map → samplelst-NJZOPYYJ.js.map} +0 -0
  879. /package/dist/{samplematrix-VGUU7Q75.js.map → samplematrix-ZXOLANI5.js.map} +0 -0
  880. /package/dist/{sc-UVKVT2RY.js.map → sc-4IYYVV2I.js.map} +0 -0
  881. /package/dist/{scatter-UILUYOGO.js.map → scatter-UBF4N6ON.js.map} +0 -0
  882. /package/dist/{scatter.integration.spec-VPNALPUG.js.map → scatter.integration.spec-JNGJ4BU5.js.map} +0 -0
  883. /package/dist/{selectGenomeWithTklst-LWKIMZEJ.js.map → selectGenomeWithTklst-7ICTRJNK.js.map} +0 -0
  884. /package/dist/{singleCellCellType-TI52WQQ4.js.map → singleCellCellType-Y5ETQYDC.js.map} +0 -0
  885. /package/dist/{singleCellCellType.unit.spec-R3BTRFRU.js.map → singleCellCellType.unit.spec-TLLZRMD7.js.map} +0 -0
  886. /package/dist/{singleCellGeneExpression-I5SAHMGI.js.map → singleCellGeneExpression-HZRIE2XT.js.map} +0 -0
  887. /package/dist/{singleCellGeneExpression.unit.spec-2JTB5HLY.js.map → singleCellGeneExpression.unit.spec-K435LTFJ.js.map} +0 -0
  888. /package/dist/{singleCellPlot-HRWCHYCI.js.map → singleCellPlot-T7MKCAAW.js.map} +0 -0
  889. /package/dist/{singlecell-PQNKBKR7.js.map → singlecell-K662WWCH.js.map} +0 -0
  890. /package/dist/{singlecell-BHPP7KCO.js.map → singlecell-KVLDYQ36.js.map} +0 -0
  891. /package/dist/{snp-V4YGI7B3.js.map → snp-JNV3DX5W.js.map} +0 -0
  892. /package/dist/{snp.unit.spec-JSUCMGNP.js.map → snp.unit.spec-7KFVZUWR.js.map} +0 -0
  893. /package/dist/{snplocus-3YT5NNCH.js.map → snplocus-VJLA35TV.js.map} +0 -0
  894. /package/dist/{spliceevent.a53ss.diagram-QEQJ44YH.js.map → spliceevent.a53ss.diagram-MZPU6IBF.js.map} +0 -0
  895. /package/dist/{spliceevent.exonskip.diagram-HMWVSOJG.js.map → spliceevent.exonskip.diagram-OOYBJT4F.js.map} +0 -0
  896. /package/dist/{spliceevent.noeventdiagram-L5HUCT5A.js.map → spliceevent.noeventdiagram-KPEZVRFS.js.map} +0 -0
  897. /package/dist/{ssGSEA-Z3XRCBYW.js.map → ssGSEA-GPPPUU2J.js.map} +0 -0
  898. /package/dist/{ssGSEA.unit.spec-EUCTV2XJ.js.map → ssGSEA.unit.spec-4SRZ4NRN.js.map} +0 -0
  899. /package/dist/{summarizeCnvGeneexp-O7O2CFW4.js.map → summarizeCnvGeneexp-NRLEM4X4.js.map} +0 -0
  900. /package/dist/{summarizeGeneexpSurvival-DDPH56EI.js.map → summarizeGeneexpSurvival-BJLP43OZ.js.map} +0 -0
  901. /package/dist/{summarizeMutationCnv-6KJQUJWR.js.map → summarizeMutationCnv-7DCCBY5U.js.map} +0 -0
  902. /package/dist/{summarizeMutationDiagnosis-HFFYLQOF.js.map → summarizeMutationDiagnosis-HATSCOMG.js.map} +0 -0
  903. /package/dist/{summarizeMutationSurvival-OBK6YILP.js.map → summarizeMutationSurvival-XIRZFWDJ.js.map} +0 -0
  904. /package/dist/{summary-W55WWIU2.js.map → summary-VOFTJ76P.js.map} +0 -0
  905. /package/dist/{summary.integration.spec-X2PNAUKW.js.map → summary.integration.spec-2C5RCIY4.js.map} +0 -0
  906. /package/dist/{summaryInput-X547Q6C7.js.map → summaryInput-DIIECI4W.js.map} +0 -0
  907. /package/dist/{sunburst-KWNGYBRI.js.map → sunburst-CYROEYTG.js.map} +0 -0
  908. /package/dist/{survival-TQPWMOD5.js.map → survival-5Y3DFIES.js.map} +0 -0
  909. /package/dist/{survival-PAJZHZPD.js.map → survival-WCPGEHW5.js.map} +0 -0
  910. /package/dist/{survival.integration.spec-YMQASOMX.js.map → survival.integration.spec-LRSN2B7G.js.map} +0 -0
  911. /package/dist/{svgraph-Y35C2M3D.js.map → svgraph-3T6XL7TR.js.map} +0 -0
  912. /package/dist/{svmr-WGCIR7PE.js.map → svmr-GUBPSOID.js.map} +0 -0
  913. /package/dist/{table-Q3B2YXEN.js.map → table-NTS6ROT7.js.map} +0 -0
  914. /package/dist/{termCollection-A6YTSM5I.js.map → termCollection-EE72SAHN.js.map} +0 -0
  915. /package/dist/{termCollection-NTFNVQ7D.js.map → termCollection-ZZXLZ3UE.js.map} +0 -0
  916. /package/dist/{termCollection.unit.spec-BX54PHKT.js.map → termCollection.unit.spec-3CTEJRTX.js.map} +0 -0
  917. /package/dist/{tk-OCBZ7YR6.js.map → tk-6FIXPXTM.js.map} +0 -0
  918. /package/dist/{tp.ui-ZT47N2CO.js.map → tp.ui-4ESL6SCH.js.map} +0 -0
  919. /package/dist/{tvs.density-HSVPDDGA.js.map → tvs.density-AQ5GD437.js.map} +0 -0
  920. /package/dist/{tvs.dt-BFB253O3.js.map → tvs.dt-G5FMPWPL.js.map} +0 -0
  921. /package/dist/{tvs.dtcnv.categorical-ARGAYIDO.js.map → tvs.dtcnv.categorical-EYQ6RTHD.js.map} +0 -0
  922. /package/dist/{tvs.dtcnv.continuous-JCU23ERV.js.map → tvs.dtcnv.continuous-PSQMFFNX.js.map} +0 -0
  923. /package/dist/{tvs.dtfusion-FV64XLZI.js.map → tvs.dtfusion-4F6627GK.js.map} +0 -0
  924. /package/dist/{tvs.dtsnvindel-DMOXMEVL.js.map → tvs.dtsnvindel-YNYVLJEI.js.map} +0 -0
  925. /package/dist/{tvs.dtsv-53FSZEPV.js.map → tvs.dtsv-X2K4K4RN.js.map} +0 -0
  926. /package/dist/{tvs.numeric-ICUGA4WY.js.map → tvs.numeric-ZN2R7BH3.js.map} +0 -0
  927. /package/dist/{tvs.samplelst-MVPL6VXX.js.map → tvs.samplelst-XZK4BE3H.js.map} +0 -0
  928. /package/dist/{tvs.termCollection-UGJXTHTG.js.map → tvs.termCollection-ZAX57TN4.js.map} +0 -0
  929. /package/dist/{violin-ZLUDGSQG.js.map → violin-YEMSGTYF.js.map} +0 -0
  930. /package/dist/{violin.integration.spec-KWOFOFLT.js.map → violin.integration.spec-TULH2DWL.js.map} +0 -0
  931. /package/dist/{violin.interactivity-ULDOCZWW.js.map → violin.interactivity-RX2CDFVC.js.map} +0 -0
  932. /package/dist/{violin.renderer-KJAXPMIK.js.map → violin.renderer-OJJDZFMZ.js.map} +0 -0
  933. /package/dist/{vocabulary-34YUQ4ZQ.js.map → vocabulary-726CSMNM.js.map} +0 -0
@@ -0,0 +1,2362 @@
1
+ import {
2
+ spliceevent_exonskip_getdefault_default
3
+ } from "./chunk-GMDQIP3M.js";
4
+ import {
5
+ spliceevent_phrase_default
6
+ } from "./chunk-XQTXYKAU.js";
7
+ import {
8
+ legend_newrow
9
+ } from "./chunk-LO4WNMBO.js";
10
+ import "./chunk-V2OJLJSK.js";
11
+ import "./chunk-I2M62STM.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-2LCTMDCS.js";
23
+ import "./chunk-HJ6L54YS.js";
24
+ import "./chunk-E5JQ3PN6.js";
25
+ import {
26
+ dofetch2,
27
+ dofetch3
28
+ } from "./chunk-RCYTUKAJ.js";
29
+ import {
30
+ Menu
31
+ } from "./chunk-A6TQGNDQ.js";
32
+ import "./chunk-HYZG6OPC.js";
33
+ import "./chunk-FN5XPUPH.js";
34
+ import "./chunk-LSEFWW72.js";
35
+ import "./chunk-5EF5U7MX.js";
36
+ import "./chunk-IQIXGTQV.js";
37
+ import "./chunk-UCLS2SVB.js";
38
+ import "./chunk-MVTCBVSX.js";
39
+ import "./chunk-F6V4AYWP.js";
40
+ import "./chunk-5OHXYXLD.js";
41
+ import "./chunk-DQC5FFGV.js";
42
+ import "./chunk-JOT4WDJE.js";
43
+ import "./chunk-OTCYJP7G.js";
44
+ import "./chunk-GXINX3WK.js";
45
+ import "./chunk-SOED2SLH.js";
46
+ import {
47
+ IN_frame,
48
+ OUT_frame,
49
+ bplen,
50
+ defaultcolor,
51
+ spliceeventchangegmexon
52
+ } from "./chunk-XRVBHNCW.js";
53
+ import "./chunk-BEWDIM6H.js";
54
+ import {
55
+ category10_default
56
+ } from "./chunk-IH7ILDJS.js";
57
+ import {
58
+ axisRight
59
+ } from "./chunk-LOZEKOES.js";
60
+ import "./chunk-TOU7EVFQ.js";
61
+ import {
62
+ linear,
63
+ log,
64
+ ordinal
65
+ } from "./chunk-OAWQ6LOO.js";
66
+ import "./chunk-SEEYV6P2.js";
67
+ import {
68
+ select_default
69
+ } from "./chunk-NDWTN4U5.js";
70
+ import "./chunk-OMR2DT66.js";
71
+ import {
72
+ __commonJS,
73
+ __toESM
74
+ } from "./chunk-HFNDKYVF.js";
75
+
76
+ // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
77
+ var require_d3_beeswarm = __commonJS({
78
+ "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
79
+ (function(global, factory) {
80
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
81
+ })(exports, function(exports2) {
82
+ "use strict";
83
+ function beeswarm2() {
84
+ var data = [];
85
+ var radius = 4;
86
+ var orientation = "horizontal";
87
+ var side = "symetric";
88
+ var distributeOn = (
89
+ // accessor to the x value
90
+ function(datum) {
91
+ return datum.x;
92
+ }
93
+ );
94
+ var minDistanceBetweenCircles;
95
+ var minSquareDistanceBetweenCircles;
96
+ var xBasedDataManager;
97
+ var xBasedColliderManager;
98
+ var yBasedColliderManager;
99
+ var arrangement;
100
+ var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
101
+ function _beeswarm() {
102
+ }
103
+ _beeswarm.data = function(_) {
104
+ if (!arguments.length) {
105
+ return data;
106
+ }
107
+ data = _;
108
+ return _beeswarm;
109
+ };
110
+ _beeswarm.radius = function(_) {
111
+ if (!arguments.length) {
112
+ return radius;
113
+ }
114
+ radius = _;
115
+ return _beeswarm;
116
+ };
117
+ _beeswarm.orientation = function(_) {
118
+ if (!arguments.length) {
119
+ return orientation;
120
+ }
121
+ if (_ === "horizontal" || _ === "vertical") {
122
+ orientation = _;
123
+ }
124
+ return _beeswarm;
125
+ };
126
+ _beeswarm.side = function(_) {
127
+ if (!arguments.length) {
128
+ return side;
129
+ }
130
+ if (_ === "symetric" || _ === "positive" || _ === "negative") {
131
+ side = _;
132
+ }
133
+ return _beeswarm;
134
+ };
135
+ _beeswarm.distributeOn = function(_) {
136
+ if (!arguments.length) {
137
+ return distributeOn;
138
+ }
139
+ distributeOn = _;
140
+ return _beeswarm;
141
+ };
142
+ _beeswarm.arrange = function() {
143
+ initArrangement();
144
+ arrangement.forEach(function(d) {
145
+ var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
146
+ if (xBasedPossibleColliders.length === 0) {
147
+ bestYPosition = 0;
148
+ } else {
149
+ yBasedColliderManager.clear();
150
+ yBasedColliderManager.addMany(xBasedPossibleColliders);
151
+ d.free = 0;
152
+ if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
153
+ bestYPosition = 0;
154
+ totalVisitedColliders += visitedColliderCount;
155
+ if (visitedColliderCount > maxVisitedColliders) {
156
+ maxVisitedColliders = visitedColliderCount;
157
+ }
158
+ visitedColliderCount = 0;
159
+ totalTestedPlacements += 1;
160
+ } else {
161
+ xBasedPossibleColliders.forEach(function(xbpc) {
162
+ relativeYPos = yPosRelativeToXbpc(xbpc, d);
163
+ placeBelow(d, xbpc, relativeYPos);
164
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
165
+ bestYPosition = d.free;
166
+ }
167
+ totalVisitedColliders += visitedColliderCount;
168
+ if (visitedColliderCount > maxVisitedColliders) {
169
+ maxVisitedColliders = visitedColliderCount;
170
+ }
171
+ visitedColliderCount = 0;
172
+ totalTestedPlacements += 1;
173
+ placeAbove(d, xbpc, relativeYPos);
174
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
175
+ bestYPosition = d.free;
176
+ }
177
+ totalVisitedColliders += visitedColliderCount;
178
+ if (visitedColliderCount > maxVisitedColliders) {
179
+ maxVisitedColliders = visitedColliderCount;
180
+ }
181
+ visitedColliderCount = 0;
182
+ totalTestedPlacements += 1;
183
+ });
184
+ }
185
+ }
186
+ ;
187
+ d.free = bestYPosition;
188
+ if (orientation === "horizontal") {
189
+ d.x = d.fixed;
190
+ d.y = bestYPosition;
191
+ } else {
192
+ d.x = bestYPosition;
193
+ d.y = d.fixed;
194
+ }
195
+ xBasedColliderManager.add(d);
196
+ });
197
+ return arrangement;
198
+ };
199
+ _beeswarm.metrics = function() {
200
+ return {
201
+ totalPossibleColliders,
202
+ maxPossibleColliders,
203
+ totalTestedPlacements,
204
+ visitedColliderCount,
205
+ totalVisitedColliders,
206
+ maxVisitedColliders
207
+ };
208
+ };
209
+ function initArrangement() {
210
+ arrangement = data.map(function(d, i) {
211
+ return {
212
+ datum: d,
213
+ id: i,
214
+ fixed: distributeOn(d),
215
+ free: -Infinity
216
+ };
217
+ });
218
+ minDistanceBetweenCircles = 2 * radius;
219
+ minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
220
+ xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
221
+ return d.fixed;
222
+ }).addMany(arrangement);
223
+ xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
224
+ return d.fixed;
225
+ });
226
+ yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
227
+ return d.free;
228
+ });
229
+ totalPossibleColliders = maxPossibleColliders = 0;
230
+ totalTestedPlacements = 0;
231
+ visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
232
+ }
233
+ function findNearestPossibleCollider(dln, visitedDln, direction) {
234
+ if (visitedDln === null) {
235
+ return null;
236
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
237
+ return null;
238
+ } else {
239
+ if (isFinite(visitedDln.datum.free)) {
240
+ return visitedDln.datum;
241
+ }
242
+ return findNearestPossibleCollider(dln, visitedDln[direction], direction);
243
+ }
244
+ }
245
+ function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
246
+ if (visitedDln === null) {
247
+ return;
248
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
249
+ return;
250
+ } else {
251
+ xBasedPossibleColliders.push(visitedDln.datum);
252
+ visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
253
+ }
254
+ }
255
+ function gatherXBasedPossibleColliders(datum) {
256
+ var xBasedPossibleColliders = [];
257
+ var dln = xBasedDataManager.dln(datum);
258
+ var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
259
+ var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
260
+ if (nearestXPrevAlreadyArrangedData != null) {
261
+ dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
262
+ visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
263
+ }
264
+ if (nearestXNextAlreadyArrangedData != null) {
265
+ dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
266
+ visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
267
+ }
268
+ totalPossibleColliders += xBasedPossibleColliders.length;
269
+ if (xBasedPossibleColliders.length > maxPossibleColliders) {
270
+ maxPossibleColliders = xBasedPossibleColliders.length;
271
+ }
272
+ return xBasedPossibleColliders;
273
+ }
274
+ function isAuthorizedPlacement(datum) {
275
+ if (side === "symetric") {
276
+ return true;
277
+ } else if (side === "positive") {
278
+ return datum.free >= 0;
279
+ } else {
280
+ return datum.free <= 0;
281
+ }
282
+ }
283
+ function isBetterPlacement(datum, bestYPosition) {
284
+ return Math.abs(datum.free) < Math.abs(bestYPosition);
285
+ }
286
+ function yPosRelativeToXbpc(xbpc, d) {
287
+ return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
288
+ }
289
+ function placeBelow(d, aad, relativeYPos) {
290
+ d.free = aad.free - relativeYPos;
291
+ }
292
+ function placeAbove(d, aad, relativeYPos) {
293
+ d.free = aad.free + relativeYPos;
294
+ }
295
+ function areCirclesColliding(d0, d1) {
296
+ visitedColliderCount++;
297
+ return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
298
+ }
299
+ function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
300
+ if (visitedDln === null) {
301
+ return false;
302
+ } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
303
+ return false;
304
+ } else if (areCirclesColliding(datum, visitedDln.datum)) {
305
+ return true;
306
+ } else {
307
+ return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
308
+ }
309
+ }
310
+ function collidesWithOther(datum, visitedDln) {
311
+ var visitCount = 0;
312
+ if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
313
+ return true;
314
+ } else {
315
+ return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
316
+ }
317
+ }
318
+ function SortedDirectAccessDoublyLinkedList() {
319
+ this._valueAccesor = // accessor to the value to sort on
320
+ function(obj) {
321
+ return obj.value;
322
+ };
323
+ this._min = null;
324
+ this._max = null;
325
+ this._closestTo0 = null;
326
+ this.size = 0;
327
+ this._idToNode = {};
328
+ }
329
+ SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
330
+ if (!arguments.length) {
331
+ return this._valueAccesor;
332
+ }
333
+ this._valueAccesor = _;
334
+ return this;
335
+ };
336
+ SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
337
+ return this._closestTo0;
338
+ };
339
+ SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
340
+ this._min = null;
341
+ this._max = null;
342
+ this._closestTo0 = null;
343
+ this.size = 0;
344
+ this._idToNode = {};
345
+ return this;
346
+ };
347
+ SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
348
+ return this._idToNode[datum.id];
349
+ };
350
+ SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
351
+ data2.forEach(function(datum, item) {
352
+ this.add(datum);
353
+ }, this);
354
+ return this;
355
+ };
356
+ SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
357
+ var dln = {
358
+ datum,
359
+ // original datum
360
+ value: this._valueAccesor(datum),
361
+ prev: null,
362
+ // previous value-based node
363
+ next: null
364
+ // next value-based node
365
+ };
366
+ if (this.size === 0) {
367
+ this._min = this._max = this._closestTo0 = dln;
368
+ } else {
369
+ if (dln.value <= this._min.value) {
370
+ dln.next = this._min;
371
+ dln.next.prev = dln;
372
+ this._min = dln;
373
+ } else if (dln.value >= this._max.value) {
374
+ dln.prev = this._max;
375
+ dln.prev.next = dln;
376
+ this._max = dln;
377
+ } else {
378
+ var current = this._max;
379
+ while (current.value > dln.value) {
380
+ current = current.prev;
381
+ }
382
+ dln.prev = current;
383
+ dln.next = current.next;
384
+ dln.next.prev = dln;
385
+ dln.prev.next = dln;
386
+ }
387
+ if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
388
+ this._closestTo0 = dln;
389
+ }
390
+ }
391
+ this._idToNode[dln.datum.id] = dln;
392
+ this.size++;
393
+ return this;
394
+ };
395
+ SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
396
+ var dln = this.dln(datum);
397
+ if (this.size === 1) {
398
+ this._min = this._max = this._closestTo0 = null;
399
+ } else {
400
+ if (dln === this._closestTo0) {
401
+ if (this._closestTo0.next === null) {
402
+ this._closestTo0 = dln.prev;
403
+ } else if (this.closestToZero.prev === null) {
404
+ this._closestTo0 = dln.prev;
405
+ } else {
406
+ var prevAbsValue = Math.abs(this._closestTo0.prev.value);
407
+ var nextAbsValue = Math.abs(this._closestTo0.next.value);
408
+ if (prevAbsValue < nextAbsValue) {
409
+ this._closestTo0 = this._closestTo0.prev;
410
+ } else {
411
+ this._closestTo0 = this._closestTo0.next;
412
+ }
413
+ }
414
+ }
415
+ if (dln === this._min) {
416
+ this._min = this._min.next;
417
+ this._min.prev = null;
418
+ } else if (dln === this._max) {
419
+ this._max = this._max.prev;
420
+ this._max.next = null;
421
+ } else {
422
+ dln.next.prev = dln.prev;
423
+ dln.prev.next = dln.next;
424
+ }
425
+ }
426
+ dln = null;
427
+ delete this._idToNode[datum.id];
428
+ this.size--;
429
+ return this;
430
+ };
431
+ return _beeswarm;
432
+ }
433
+ ;
434
+ exports2.beeswarm = beeswarm2;
435
+ Object.defineProperty(exports2, "__esModule", { value: true });
436
+ });
437
+ }
438
+ });
439
+
440
+ // src/spliceevent.prep.js
441
+ function mapjunctiontoexons(junctions, genes) {
442
+ for (const j of junctions) {
443
+ j.exonleft = [];
444
+ j.exonright = [];
445
+ j.exonleftin = [];
446
+ j.exonrightin = [];
447
+ j.intronleft = [];
448
+ j.intronright = [];
449
+ j.leftout = [];
450
+ j.rightout = [];
451
+ j.matchisoform = [];
452
+ }
453
+ const usegenes = [];
454
+ for (const gene of genes) {
455
+ let use = false;
456
+ for (const j of junctions) {
457
+ if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
458
+ use = true;
459
+ break;
460
+ }
461
+ }
462
+ if (use) {
463
+ usegenes.push(gene);
464
+ }
465
+ }
466
+ if (usegenes.length == 0) {
467
+ return;
468
+ }
469
+ const leftpos = /* @__PURE__ */ new Map();
470
+ const rightpos = /* @__PURE__ */ new Map();
471
+ for (const j of junctions) {
472
+ if (!leftpos.has(j.start)) {
473
+ leftpos.set(j.start, []);
474
+ }
475
+ leftpos.get(j.start).push(j);
476
+ if (!rightpos.has(j.stop)) {
477
+ rightpos.set(j.stop, []);
478
+ }
479
+ rightpos.get(j.stop).push(j);
480
+ }
481
+ for (const [pos, jlst] of leftpos) {
482
+ for (const gm of usegenes) {
483
+ if (!gm.exon) continue;
484
+ for (let i = 0; i < gm.exon.length; i++) {
485
+ if (gm.exon[i][1] - 1 == pos) {
486
+ for (const j of jlst) {
487
+ j.exonleft.push({
488
+ gm,
489
+ exonidx: i
490
+ });
491
+ }
492
+ }
493
+ if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
494
+ for (const j of jlst) {
495
+ j.exonleftin.push({
496
+ gm,
497
+ exonidx: i
498
+ });
499
+ }
500
+ }
501
+ }
502
+ if (gm.intron) {
503
+ for (let i = 0; i < gm.intron.length; i++) {
504
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
505
+ for (const j of jlst) {
506
+ j.intronleft.push({
507
+ gm,
508
+ intronidx: i
509
+ });
510
+ }
511
+ }
512
+ }
513
+ }
514
+ }
515
+ }
516
+ for (const [pos, jlst] of rightpos) {
517
+ for (const gm of usegenes) {
518
+ if (!gm.exon) continue;
519
+ for (let i = 0; i < gm.exon.length; i++) {
520
+ if (gm.exon[i][0] == pos) {
521
+ for (const j of jlst) {
522
+ j.exonright.push({
523
+ gm,
524
+ exonidx: i
525
+ });
526
+ }
527
+ }
528
+ if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
529
+ for (const j of jlst) {
530
+ j.exonrightin.push({
531
+ gm,
532
+ exonidx: i
533
+ });
534
+ }
535
+ }
536
+ }
537
+ if (gm.intron) {
538
+ for (let i = 0; i < gm.intron.length; i++) {
539
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
540
+ for (const j of jlst) {
541
+ j.intronright.push({
542
+ gm,
543
+ intronidx: i
544
+ });
545
+ }
546
+ }
547
+ }
548
+ }
549
+ }
550
+ }
551
+ for (const j of junctions) {
552
+ {
553
+ const isoforms = /* @__PURE__ */ new Set();
554
+ for (const q of j.exonleft) isoforms.add(q.gm.isoform);
555
+ for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
556
+ for (const q of j.intronleft) isoforms.add(q.gm.isoform);
557
+ if (isoforms.size) {
558
+ for (const gm of usegenes) {
559
+ if (!isoforms.has(gm.isoform)) continue;
560
+ if (gm.stop <= j.stop) {
561
+ j.rightout.push({
562
+ gm
563
+ });
564
+ }
565
+ }
566
+ }
567
+ }
568
+ {
569
+ const isoforms = /* @__PURE__ */ new Set();
570
+ for (const q of j.exonright) isoforms.add(q.gm.isoform);
571
+ for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
572
+ for (const q of j.intronright) isoforms.add(q.gm.isoform);
573
+ if (isoforms.size) {
574
+ for (const gm of usegenes) {
575
+ if (!isoforms.has(gm.isoform)) continue;
576
+ if (gm.start > j.start) {
577
+ j.leftout.push({
578
+ gm
579
+ });
580
+ }
581
+ }
582
+ }
583
+ }
584
+ }
585
+ for (const j of junctions) {
586
+ if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
587
+ for (const el of j.exonleft) {
588
+ for (const er of j.exonright) {
589
+ if (el.gm.isoform == er.gm.isoform) {
590
+ j.matchisoform.push({
591
+ gm: el.gm,
592
+ leftexonidx: el.exonidx,
593
+ rightexonidx: er.exonidx
594
+ });
595
+ }
596
+ }
597
+ }
598
+ }
599
+ }
600
+
601
+ // src/spliceevent.exonskip.js
602
+ var exonskipcolor = "#99004d";
603
+ var exonaltcolor = "#004d99";
604
+ function findexonskipping(multisample, junctions, gmdata) {
605
+ const allevents = [];
606
+ for (const j0 of junctions) {
607
+ if (!j0.matchisoform || j0.matchisoform.length == 0) {
608
+ continue;
609
+ }
610
+ for (const j0isoform of j0.matchisoform) {
611
+ const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
612
+ const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
613
+ if (j0exonend - j0exonbegin <= 1) {
614
+ continue;
615
+ }
616
+ const jB = j0;
617
+ const thisevent = {
618
+ skippedexon: [],
619
+ junctionB: jB,
620
+ junctionAlst: []
621
+ };
622
+ for (let i = j0exonbegin + 1; i < j0exonend; i++) {
623
+ thisevent.skippedexon.push(i);
624
+ }
625
+ let gmB = null;
626
+ for (const gm of gmdata) {
627
+ if (!gm.intron) continue;
628
+ for (const i of gm.intron) {
629
+ if (i[0] - 1 == jB.start && i[1] == jB.stop) {
630
+ gmB = gm;
631
+ break;
632
+ }
633
+ }
634
+ if (gmB) {
635
+ break;
636
+ }
637
+ }
638
+ if (gmB) {
639
+ thisevent.isaltexon = true;
640
+ thisevent.color = exonaltcolor;
641
+ thisevent.gmA = j0isoform.gm;
642
+ thisevent.gmB = gmB;
643
+ } else {
644
+ thisevent.isskipexon = true;
645
+ thisevent.color = exonskipcolor;
646
+ thisevent.gm = j0isoform.gm;
647
+ const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
648
+ if (utr3) thisevent.utr3 = true;
649
+ if (utr5) thisevent.utr5 = true;
650
+ if (coding) thisevent.coding = true;
651
+ }
652
+ {
653
+ const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
654
+ for (const ja of jAlst) {
655
+ thisevent.junctionAlst.push(ja);
656
+ }
657
+ }
658
+ if (thisevent.isskipexon) {
659
+ findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
660
+ }
661
+ if (multisample) {
662
+ if (!jB.data) {
663
+ console.error("exonskip: jB.data missing when it is multi-sample");
664
+ continue;
665
+ }
666
+ if (jB.data.length == 0) {
667
+ console.error("exonskip: jB.data.length==0");
668
+ continue;
669
+ }
670
+ let percentagesamplesum = 0;
671
+ for (const sampleBdata of jB.data) {
672
+ const bcount = sampleBdata.v;
673
+ let acountsum = 0;
674
+ for (const junctionA of thisevent.junctionAlst) {
675
+ if (!junctionA) {
676
+ continue;
677
+ }
678
+ if (!junctionA.data) {
679
+ console.log("exonskip: jA.data missing when multi-sample");
680
+ continue;
681
+ }
682
+ for (const sampleAdata of junctionA.data) {
683
+ if (sampleAdata.tkid == sampleBdata.tkid) {
684
+ acountsum += sampleAdata.v;
685
+ break;
686
+ }
687
+ }
688
+ }
689
+ percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
690
+ }
691
+ thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
692
+ } else {
693
+ let asum = 0;
694
+ for (const _j of thisevent.junctionAlst) {
695
+ asum += _j ? _j.data[0].v : 0;
696
+ }
697
+ thisevent.percentage = Math.ceil(
698
+ 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
699
+ );
700
+ }
701
+ allevents.push(thisevent);
702
+ }
703
+ }
704
+ const exoncoords = /* @__PURE__ */ new Map();
705
+ for (const evt of allevents) {
706
+ const positionlst = [];
707
+ for (const eid of evt.skippedexon) {
708
+ let thisexon;
709
+ if (evt.isskipexon) {
710
+ thisexon = evt.gm.exon[eid];
711
+ } else {
712
+ thisexon = evt.gmA.exon[eid];
713
+ }
714
+ positionlst.push(thisexon[0]);
715
+ positionlst.push(thisexon[1]);
716
+ }
717
+ if (positionlst.length == 0) {
718
+ console.error("not possible: no skipped exon position for exon-skip");
719
+ console.log(evt);
720
+ continue;
721
+ }
722
+ positionlst.sort();
723
+ const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
724
+ if (!exoncoords.has(posstr)) {
725
+ exoncoords.set(posstr, []);
726
+ }
727
+ exoncoords.get(posstr).push(evt);
728
+ }
729
+ const eventsetlst = [];
730
+ for (const eventlst of exoncoords.values()) {
731
+ const thisset = {
732
+ eventlst,
733
+ exonlst: []
734
+ // each exon: {start:, stop:}
735
+ };
736
+ eventsetlst.push(thisset);
737
+ const firstevent = eventlst[0];
738
+ for (const eid of firstevent.skippedexon) {
739
+ const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
740
+ const thisexon = gm.exon[eid];
741
+ thisset.exonlst.push({
742
+ chr: gm.chr,
743
+ start: thisexon[0],
744
+ stop: thisexon[1]
745
+ });
746
+ }
747
+ let eventcount_skip = 0, eventcount_alt = 0;
748
+ for (const evt of eventlst) {
749
+ if (evt.isskipexon) {
750
+ eventcount_skip++;
751
+ } else {
752
+ eventcount_alt++;
753
+ }
754
+ }
755
+ thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
756
+ const exonnumberset = /* @__PURE__ */ new Set();
757
+ for (const evt of eventlst) {
758
+ const thisexonnumbers = [];
759
+ for (const eid of evt.skippedexon) {
760
+ thisexonnumbers.push(eid + 1);
761
+ }
762
+ exonnumberset.add(thisexonnumbers.join(","));
763
+ }
764
+ if (exonnumberset.size == 1) {
765
+ thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
766
+ } else {
767
+ thisset.toplabelsays = "exon ";
768
+ }
769
+ thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
770
+ if (multisample) {
771
+ let samplecount = 0;
772
+ for (const evt of eventlst) {
773
+ samplecount = Math.max(samplecount, evt.junctionB.data.length);
774
+ }
775
+ thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
776
+ }
777
+ thisset.bottomlabelsays = firstevent.percentage + "%";
778
+ }
779
+ return eventsetlst;
780
+ }
781
+ function findjunctionbystartstop(lst, p1, p2) {
782
+ const start = Math.min(p1, p2);
783
+ const stop = Math.max(p1, p2);
784
+ for (const j of lst) {
785
+ if (j.start == start && j.stop == stop) return j;
786
+ }
787
+ return null;
788
+ }
789
+ function findjunctionAlst(junctions, gm, exonbegin, exonend) {
790
+ const lst = [];
791
+ const exonstart = Math.min(exonbegin, exonend);
792
+ const exonstop = Math.max(exonbegin, exonend);
793
+ if (gm.strand == "+") {
794
+ for (let i = exonstart; i < exonstop; i++) {
795
+ const p1 = gm.exon[i][1] - 1;
796
+ const p2 = gm.exon[i + 1][0];
797
+ lst.push(findjunctionbystartstop(junctions, p1, p2));
798
+ }
799
+ } else {
800
+ for (let i = exonstop; i > exonstart; i--) {
801
+ const p1 = gm.exon[i][1] - 1;
802
+ const p2 = gm.exon[i - 1][0];
803
+ lst.unshift(findjunctionbystartstop(junctions, p1, p2));
804
+ }
805
+ }
806
+ return lst;
807
+ }
808
+ function findupdown1junction4exonskip(evt, gm, junctions) {
809
+ let exonidx = evt.skippedexon[0];
810
+ if (exonidx > 1) {
811
+ let p1, p2;
812
+ if (gm.strand == "+") {
813
+ p1 = gm.exon[exonidx - 2][1] - 1;
814
+ p2 = gm.exon[exonidx - 1][0];
815
+ } else {
816
+ p1 = gm.exon[exonidx - 1][1] - 1;
817
+ p2 = gm.exon[exonidx - 2][0];
818
+ }
819
+ evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
820
+ }
821
+ exonidx = evt.skippedexon[evt.skippedexon.length - 1];
822
+ if (exonidx < gm.exon.length - 2) {
823
+ let p1, p2;
824
+ if (gm.strand == "+") {
825
+ p1 = gm.exon[exonidx + 1][1] - 1;
826
+ p2 = gm.exon[exonidx + 2][0];
827
+ } else {
828
+ p1 = gm.exon[exonidx + 2][1] - 1;
829
+ p2 = gm.exon[exonidx + 1][0];
830
+ }
831
+ evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
832
+ }
833
+ }
834
+ function checkexoncodingutr(exonidlst, gm) {
835
+ if (!gm.coding) {
836
+ return [false, false, false];
837
+ }
838
+ let exonstart = gm.exon[exonidlst[0]][0];
839
+ let exonstop = gm.exon[exonidlst[0]][1];
840
+ for (const idx of exonidlst) {
841
+ exonstart = Math.min(gm.exon[idx][0], exonstart);
842
+ exonstop = Math.max(gm.exon[idx][1], exonstop);
843
+ }
844
+ const forward = gm.strand == "+";
845
+ let utr3 = false, utr5 = false, coding = false;
846
+ if (exonstop <= gm.codingstart) {
847
+ if (forward) {
848
+ utr5 = true;
849
+ } else {
850
+ utr3 = true;
851
+ }
852
+ } else if (exonstart >= gm.codingstop) {
853
+ if (forward) {
854
+ utr3 = true;
855
+ } else {
856
+ utr5 = true;
857
+ }
858
+ } else {
859
+ coding = true;
860
+ }
861
+ return [utr3, utr5, coding];
862
+ }
863
+
864
+ // src/block.tk.junction.spliceevent.js
865
+ function spliceeventanalyze(tk, block) {
866
+ if (tk.eventsg) {
867
+ tk.eventsg.selectAll("*").remove();
868
+ }
869
+ if (tk.type != tkt.junction) {
870
+ return;
871
+ }
872
+ if (!tk.data) {
873
+ return;
874
+ }
875
+ if (tk.data.length == 0) {
876
+ return;
877
+ }
878
+ const [gmdataerr, gmdata] = getgmdata(block);
879
+ if (gmdataerr) {
880
+ const fontsize = 12;
881
+ const pad = 2;
882
+ tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
883
+ 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");
884
+ tk.height_main += pad * 2 + fontsize;
885
+ block.block_setheight();
886
+ return;
887
+ }
888
+ if (!gmdata) {
889
+ return;
890
+ }
891
+ for (const junction of tk.data) {
892
+ delete junction.spliceevents;
893
+ }
894
+ mapjunctiontoexons(tk.data, gmdata);
895
+ const allevents = [];
896
+ const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
897
+ if (exonskipalt.length > 0) {
898
+ for (const exonset of exonskipalt) {
899
+ if (exonlstoutofrange(exonset.exonlst, block)) {
900
+ continue;
901
+ }
902
+ allevents.push(exonset);
903
+ for (const thisevt of exonset.eventlst) {
904
+ if (!thisevt.junctionB.spliceevents) {
905
+ thisevt.junctionB.spliceevents = [];
906
+ }
907
+ thisevt.junctionB.spliceevents.push(thisevt);
908
+ }
909
+ }
910
+ }
911
+ if (allevents.length) {
912
+ rendereventsintrack(allevents, tk, block);
913
+ }
914
+ }
915
+ function rendereventsintrack(allevents, tk, block) {
916
+ const labelfontsize = 10;
917
+ const stackspace = 1;
918
+ const boxlabelspacing = 2;
919
+ let stackheight;
920
+ if (tk.totalsamplecount > 1) {
921
+ stackheight = labelfontsize * 3 + stackspace * 2;
922
+ } else {
923
+ stackheight = labelfontsize * 2 + stackspace;
924
+ }
925
+ for (const eventset of allevents) {
926
+ eventset.g = tk.eventsg.append("g");
927
+ const junctionB = eventset.eventlst[0].junctionB;
928
+ const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
929
+ 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");
930
+ if (tk.totalsamplecount > 1) {
931
+ 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");
932
+ }
933
+ let willshowframe = false;
934
+ let thiseventframe = null;
935
+ for (const evt of eventset.eventlst) {
936
+ if (evt.isaltexon) {
937
+ evt.framenocheck = true;
938
+ continue;
939
+ }
940
+ if (evt.isskipexon) {
941
+ if (!evt.gm.coding) {
942
+ evt.framenocheck = true;
943
+ continue;
944
+ }
945
+ if (evt.utr3 || evt.utr5) {
946
+ evt.framenocheck = true;
947
+ continue;
948
+ }
949
+ }
950
+ willshowframe = true;
951
+ if (block.genome.junctionframecache.has(jbstr)) {
952
+ let isoform;
953
+ if (evt.isskipexon) {
954
+ isoform = evt.gm.isoform;
955
+ }
956
+ const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
957
+ if (thisframe == void 0) {
958
+ } else {
959
+ evt.frame = thisframe;
960
+ if (thiseventframe == null) {
961
+ thiseventframe = thisframe;
962
+ } else {
963
+ if (thisframe == IN_frame) {
964
+ thiseventframe = IN_frame;
965
+ }
966
+ }
967
+ }
968
+ } else {
969
+ }
970
+ }
971
+ eventset.bottomlabel = eventset.g.append("text").text(
972
+ eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
973
+ ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
974
+ if (willshowframe && thiseventframe == null) {
975
+ for (const evt of eventset.eventlst) {
976
+ let gm;
977
+ if (evt.isaltexon) {
978
+ gm = evt.gmB;
979
+ } else if (evt.isskipexon) {
980
+ gm = evt.gm;
981
+ }
982
+ if (!block.genome.junctionframecache.has(jbstr)) {
983
+ checkjunctionframe({
984
+ jbstr,
985
+ evt,
986
+ gm,
987
+ block,
988
+ eventset
989
+ });
990
+ continue;
991
+ }
992
+ if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
993
+ checkjunctionframe({
994
+ jbstr,
995
+ evt,
996
+ gm,
997
+ block,
998
+ eventset
999
+ });
1000
+ }
1001
+ }
1002
+ }
1003
+ const exonobjlst = [];
1004
+ let boxstart = null, boxstop;
1005
+ for (const exon of eventset.exonlst) {
1006
+ const pointa = block.seekcoord(exon.chr, exon.start)[0];
1007
+ if (!pointa) {
1008
+ console.log("skipped exon start position not mapped: " + exon.start);
1009
+ return;
1010
+ }
1011
+ const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1012
+ if (!pointb) {
1013
+ console.log("skipped exon stop position not mapped: " + exon.stop);
1014
+ return;
1015
+ }
1016
+ const exonobj = {
1017
+ x: Math.min(pointa.x, pointb.x),
1018
+ w: Math.max(1, Math.abs(pointa.x - pointb.x))
1019
+ };
1020
+ exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1021
+ console.log(eventset);
1022
+ });
1023
+ if (boxstart == null) {
1024
+ boxstart = exonobj.x;
1025
+ boxstop = exonobj.x + exonobj.w;
1026
+ } else {
1027
+ boxstart = Math.min(boxstart, exonobj.x);
1028
+ boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1029
+ }
1030
+ exonobjlst.push(exonobj);
1031
+ }
1032
+ for (const exon of exonobjlst) {
1033
+ exon.rect.attr("x", exon.x - boxstart);
1034
+ }
1035
+ eventset.boxstart = boxstart;
1036
+ eventset.boxwidth = boxstop - boxstart;
1037
+ if (eventset.exonlst.length > 1) {
1038
+ 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);
1039
+ }
1040
+ eventset.toplabel.each(function() {
1041
+ eventset.labelwidth = this.getBBox().width;
1042
+ });
1043
+ if (eventset.middlelabel) {
1044
+ eventset.middlelabel.each(function() {
1045
+ eventset.labelwidth = this.getBBox().width;
1046
+ });
1047
+ }
1048
+ eventset.bottomlabel.each(function() {
1049
+ eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1050
+ });
1051
+ if (eventset.labelwidth > eventset.boxstart) {
1052
+ eventset.labelonright = true;
1053
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1054
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1055
+ if (eventset.middlelabel) {
1056
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1057
+ }
1058
+ } else {
1059
+ eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1060
+ eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1061
+ if (eventset.middlelabel) {
1062
+ eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1063
+ }
1064
+ }
1065
+ 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", () => {
1066
+ eventset.cover.attr("fill-opacity", 0.1);
1067
+ }).on("mouseout", () => {
1068
+ eventset.cover.attr("fill-opacity", 0);
1069
+ }).on("click", () => {
1070
+ tk.tktip.clear();
1071
+ displayspliceevents(eventset.eventlst, tk.tktip.d);
1072
+ tk.tktip.showunder(eventset.cover.node());
1073
+ });
1074
+ }
1075
+ const stacks = [0];
1076
+ for (const eventset of allevents) {
1077
+ let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1078
+ let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1079
+ for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1080
+ if (x1 > stacks[stackidx]) {
1081
+ eventset.stackidx = stackidx;
1082
+ stacks[stackidx] = x2;
1083
+ break;
1084
+ }
1085
+ if (!eventset.labelonright) {
1086
+ const newx1 = eventset.boxstart;
1087
+ const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1088
+ if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1089
+ eventset.labelonright = true;
1090
+ eventset.stackidx = stackidx;
1091
+ stacks[stackidx] = newx2;
1092
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1093
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1094
+ if (eventset.middlelabel) {
1095
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1096
+ }
1097
+ eventset.cover.attr("x", 0);
1098
+ break;
1099
+ }
1100
+ }
1101
+ }
1102
+ if (eventset.stackidx == void 0) {
1103
+ eventset.stackidx = stacks.length;
1104
+ stacks.push(x2);
1105
+ }
1106
+ eventset.g.attr(
1107
+ "transform",
1108
+ "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1109
+ );
1110
+ }
1111
+ tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1112
+ block.block_setheight();
1113
+ }
1114
+ function checkjunctionframe(arg) {
1115
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1116
+ arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1117
+ }
1118
+ if (!arg.gm.coding) {
1119
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1120
+ mayupdateeventsetlabel(arg);
1121
+ return;
1122
+ }
1123
+ const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1124
+ dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1125
+ if (!data) {
1126
+ console.log("server error");
1127
+ return;
1128
+ }
1129
+ if (data.error) {
1130
+ console.log(data.error);
1131
+ return;
1132
+ }
1133
+ if (typeof data.frame != "boolean") {
1134
+ console.log("invalid result from translategm: " + data.frame);
1135
+ return;
1136
+ }
1137
+ arg.evt.frame = data.frame;
1138
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1139
+ mayupdateeventsetlabel(arg);
1140
+ });
1141
+ }
1142
+ function mayupdateeventsetlabel(arg) {
1143
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1144
+ return;
1145
+ }
1146
+ let frame = OUT_frame;
1147
+ for (const evt of arg.eventset.eventlst) {
1148
+ if (evt.framenocheck) {
1149
+ continue;
1150
+ }
1151
+ let isoform;
1152
+ if (evt.isskipexon) {
1153
+ isoform = evt.gm.isoform;
1154
+ }
1155
+ const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1156
+ if (thisframe == void 0) {
1157
+ return;
1158
+ }
1159
+ if (thisframe == IN_frame) {
1160
+ frame = IN_frame;
1161
+ }
1162
+ }
1163
+ arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1164
+ }
1165
+ function displayspliceevents(events, holder) {
1166
+ const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1167
+ if (events.length > 1) {
1168
+ holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1169
+ const name = Math.random().toString();
1170
+ for (const [idx, evt] of events.entries()) {
1171
+ const id = name + idx;
1172
+ const row = holder.append("div").style("margin-top", "3px");
1173
+ row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1174
+ displayspliceevents_show(events, idx, showdiv);
1175
+ });
1176
+ row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1177
+ }
1178
+ }
1179
+ const showdiv = holder.append("div");
1180
+ displayspliceevents_show(events, evt2showidx, showdiv);
1181
+ }
1182
+ function displayspliceevents_show(events, idx, div) {
1183
+ div.selectAll("*").remove();
1184
+ import("./spliceevent.exonskip.diagram-OOYBJT4F.js").then((p) => {
1185
+ p.default({
1186
+ event: events[idx],
1187
+ holder: div,
1188
+ nophrase: events.length > 1
1189
+ });
1190
+ });
1191
+ }
1192
+ function exonlstoutofrange(lst, block) {
1193
+ const chr = lst[0].chr;
1194
+ let start = lst[0].start;
1195
+ let stop = lst[0].stop;
1196
+ for (const e of lst) {
1197
+ start = Math.min(start, e.start);
1198
+ stop = Math.max(stop, e.stop);
1199
+ }
1200
+ const starthit = block.seekcoord(chr, start)[0];
1201
+ const stophit = block.seekcoord(chr, stop)[0];
1202
+ if (!starthit || !stophit) {
1203
+ return true;
1204
+ }
1205
+ let startoutleft = false;
1206
+ let startoutright = false;
1207
+ if (starthit.x <= 0) {
1208
+ startoutleft = true;
1209
+ } else if (starthit.x >= block.width) {
1210
+ startoutright = true;
1211
+ }
1212
+ let stopoutleft = false;
1213
+ let stopoutright = false;
1214
+ if (stophit.x <= 0) {
1215
+ stopoutleft = true;
1216
+ } else if (stophit.x >= block.width) {
1217
+ stopoutright = true;
1218
+ }
1219
+ if (startoutleft && stopoutleft) return true;
1220
+ if (startoutright && stopoutright) return true;
1221
+ return false;
1222
+ }
1223
+ function getgmdata(block) {
1224
+ if (!block.gmmode || block.gmmode == gmmode.genomic) {
1225
+ const genetk = [];
1226
+ for (const t of block.tklst) {
1227
+ if (t.__isgene) {
1228
+ genetk.push(t);
1229
+ }
1230
+ }
1231
+ if (genetk.length == 0) {
1232
+ return ["Add a gene track to analyze splice junctions."];
1233
+ }
1234
+ const gmdatalst = [];
1235
+ for (const t of genetk) {
1236
+ if (t.gmdata) {
1237
+ for (const m of t.gmdata) {
1238
+ gmdatalst.push(m);
1239
+ }
1240
+ }
1241
+ }
1242
+ if (gmdatalst.length == 0) {
1243
+ return [null];
1244
+ }
1245
+ const regions = [];
1246
+ for (const m of gmdatalst) {
1247
+ let overlap = false;
1248
+ for (const r of regions) {
1249
+ if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1250
+ overlap = true;
1251
+ r.start = Math.min(r.start, m.start);
1252
+ r.stop = Math.max(r.stop, m.stop);
1253
+ break;
1254
+ }
1255
+ }
1256
+ if (!overlap) {
1257
+ regions.push({ start: m.start, stop: m.stop });
1258
+ }
1259
+ }
1260
+ if (regions.length >= 3) {
1261
+ return ["Zoom in on a single gene to analyze splice junctions."];
1262
+ }
1263
+ return [null, gmdatalst];
1264
+ }
1265
+ if (block.gmmode == gmmode.gmsum) {
1266
+ if (!block.allgm) {
1267
+ return ["Error: block.allgm[] is missing"];
1268
+ }
1269
+ return [null, block.allgm];
1270
+ }
1271
+ if (!block.usegm) {
1272
+ return ["Error: block.usegm is missing"];
1273
+ }
1274
+ return [null, [block.usegm]];
1275
+ }
1276
+
1277
+ // src/block.tk.junction.renderjunctions.js
1278
+ var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1279
+ var colorfunc = ordinal(category10_default);
1280
+ var minfontsize = 12;
1281
+ function rendertk(junctions, tk, block) {
1282
+ if (tk.data) {
1283
+ const map = /* @__PURE__ */ new Map();
1284
+ for (const j of tk.data) {
1285
+ map.set(j.chr + "." + j.start + "." + j.stop, j);
1286
+ }
1287
+ const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1288
+ for (const i of junctions) {
1289
+ const j = map.get(i.chr + "." + i.start + "." + i.stop);
1290
+ if (j) {
1291
+ i.x = j.x + pannedpx;
1292
+ i.mode = j.mode;
1293
+ i.modefix = j.modefix;
1294
+ if (i.mode == modesample) {
1295
+ i.mode = moderaise;
1296
+ }
1297
+ }
1298
+ }
1299
+ }
1300
+ tk.data = junctions;
1301
+ tk.glider.selectAll("*").remove();
1302
+ tk.leftaxis.selectAll("*").remove();
1303
+ if (tk.readcountcutoff) {
1304
+ const newj = [];
1305
+ for (const j of tk.data) {
1306
+ if (j.data) {
1307
+ const newsamples = [];
1308
+ for (const s of j.data) {
1309
+ if (s.v >= tk.readcountcutoff) {
1310
+ newsamples.push(s);
1311
+ }
1312
+ }
1313
+ if (newsamples.length == 0) {
1314
+ continue;
1315
+ }
1316
+ j.data = newsamples;
1317
+ newj.push(j);
1318
+ } else {
1319
+ if (j.v >= tk.readcountcutoff) {
1320
+ newj.push(j);
1321
+ }
1322
+ }
1323
+ }
1324
+ tk.data = newj;
1325
+ }
1326
+ if (tk.data.length == 0) {
1327
+ tk.height_main = 50;
1328
+ block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1329
+ tk.label_mcount.text("");
1330
+ if (tk.label_samplecount) {
1331
+ tk.label_samplecount.text("");
1332
+ }
1333
+ get_leftLabelMaxwidth(tk);
1334
+ block.setllabel();
1335
+ block.block_setheight();
1336
+ return;
1337
+ }
1338
+ tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1339
+ get_leftLabelMaxwidth(tk);
1340
+ block.setllabel();
1341
+ junctiontype2color(tk, block);
1342
+ const mg = tk.glider.append("g");
1343
+ tk.data.sort((a, b) => {
1344
+ return a._x - b._x;
1345
+ });
1346
+ let maxsamplecount = 0;
1347
+ if (tk.totalsamplecount > 1) {
1348
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1349
+ const radius = 5;
1350
+ let mrd = 0;
1351
+ const w = Math.pow(radius, 2) * Math.PI;
1352
+ if (maxsamplecount <= 10) {
1353
+ mrd = w * maxsamplecount * 0.9;
1354
+ } else if (maxsamplecount <= 100) {
1355
+ mrd = w * 10;
1356
+ } else if (maxsamplecount <= 1e3) {
1357
+ mrd = w * 14;
1358
+ } else {
1359
+ mrd = w * 20;
1360
+ }
1361
+ const sf_discradius = linear().domain([
1362
+ 1,
1363
+ maxsamplecount * 0.5 + 0.1,
1364
+ maxsamplecount * 0.6 + 0.1,
1365
+ maxsamplecount * 0.7 + 0.1,
1366
+ maxsamplecount * 0.8 + 0.1,
1367
+ maxsamplecount
1368
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1369
+ let maxradius = 0;
1370
+ for (const j of tk.data) {
1371
+ j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1372
+ if (j.data.length > 1) {
1373
+ mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1374
+ const b = this.getBBox();
1375
+ const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1376
+ j.radius = Math.max(j.radius, newrad);
1377
+ }).remove();
1378
+ }
1379
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1380
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1381
+ maxradius = Math.max(maxradius, j.radius2);
1382
+ }
1383
+ tk.maxradius = maxradius;
1384
+ } else {
1385
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1386
+ const radius = 5;
1387
+ let mrd = 0;
1388
+ const w = Math.pow(radius, 2) * Math.PI;
1389
+ if (maxsamplecount <= 10) {
1390
+ mrd = w * maxsamplecount * 0.9;
1391
+ } else if (maxsamplecount <= 100) {
1392
+ mrd = w * 5;
1393
+ } else if (maxsamplecount <= 1e3) {
1394
+ mrd = w * 7;
1395
+ } else {
1396
+ mrd = w * 10;
1397
+ }
1398
+ const sf_discradius = linear().domain([
1399
+ 1,
1400
+ maxsamplecount * 0.5 + 0.1,
1401
+ maxsamplecount * 0.6 + 0.1,
1402
+ maxsamplecount * 0.7 + 0.1,
1403
+ maxsamplecount * 0.8 + 0.1,
1404
+ maxsamplecount
1405
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1406
+ let maxradius = 0;
1407
+ for (const j of tk.data) {
1408
+ j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1409
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1410
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1411
+ maxradius = Math.max(maxradius, j.radius2);
1412
+ }
1413
+ tk.maxradius = maxradius;
1414
+ }
1415
+ let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1416
+ for (const j of tk.data) {
1417
+ for (const s of j.data) {
1418
+ maxread = Math.max(s.v, maxread);
1419
+ }
1420
+ if (j.data.length == 1) {
1421
+ j.median = j.data[0].v;
1422
+ } else {
1423
+ const readlst = j.data.map((s) => s.v);
1424
+ readlst.sort((a, b) => a - b);
1425
+ j.median = readlst[Math.floor(j.data.length / 2)];
1426
+ }
1427
+ if (j.median > maxmedian) {
1428
+ maxmedian = j.median;
1429
+ maxmedianradius = j.radius;
1430
+ }
1431
+ }
1432
+ tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1433
+ axisstyle({
1434
+ axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1435
+ color: "black",
1436
+ showline: true
1437
+ });
1438
+ tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1439
+ tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1440
+ automode(tk, null, block.width);
1441
+ mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1442
+ {
1443
+ const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1444
+ 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");
1445
+ 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");
1446
+ let v = 10;
1447
+ while (v <= maxread) {
1448
+ 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");
1449
+ v *= 10;
1450
+ }
1451
+ }
1452
+ const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1453
+ j.jugg = this;
1454
+ });
1455
+ tk.jug = jug;
1456
+ if (tk.hljunctions) {
1457
+ jug.attr("class", (d) => {
1458
+ for (const j of tk.hljunctions) {
1459
+ if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1460
+ return "sja_pulse";
1461
+ }
1462
+ }
1463
+ return null;
1464
+ });
1465
+ }
1466
+ 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) {
1467
+ d.leg1 = this;
1468
+ }).classed("sja_jug_leg1", true);
1469
+ 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) {
1470
+ d.leg2 = this;
1471
+ });
1472
+ const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1473
+ 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) {
1474
+ d.stem = this;
1475
+ });
1476
+ jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1477
+ 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");
1478
+ 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) => {
1479
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1480
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1481
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1482
+ select_default(d.leg1).attr("stroke-opacity", 1);
1483
+ select_default(d.leg2).attr("stroke-opacity", 1);
1484
+ select_default(d.stem).attr("stroke-opacity", 1);
1485
+ if (d.mode == modefold) {
1486
+ foldedjunctioninfo(d, tk);
1487
+ return;
1488
+ }
1489
+ const circle = event.target.getBoundingClientRect();
1490
+ expandedjunctioninfo(d, tk, circle);
1491
+ }).on("mouseout", () => {
1492
+ tk.pica.g.selectAll("*").remove();
1493
+ tk.tktip.hide();
1494
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1495
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1496
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1497
+ }).on("mousedown", (event) => {
1498
+ event.stopPropagation();
1499
+ }).on("click", (event, d) => {
1500
+ if (d.mode == modefold) {
1501
+ d.mode = moderaise;
1502
+ } else if (d.mode == moderaise) {
1503
+ if (d.data.length == 1) {
1504
+ d.mode = modefold;
1505
+ } else {
1506
+ d.mode = modesample;
1507
+ junctionsamplespread(d, tk, block);
1508
+ }
1509
+ } else {
1510
+ d.mode = modefold;
1511
+ }
1512
+ d.modefix = true;
1513
+ horiplace(tk.data, block.width, tk);
1514
+ });
1515
+ horiplace(tk.data, block.width, tk);
1516
+ function set_lineopacity(d) {
1517
+ return 0.5;
1518
+ }
1519
+ block.onloadalltk.push(() => {
1520
+ spliceeventanalyze(tk, block);
1521
+ });
1522
+ block.tkcloakoff(tk, {});
1523
+ block.block_setheight();
1524
+ }
1525
+ function horiplace(lst, width, tk) {
1526
+ const todo = [];
1527
+ for (const i of lst) {
1528
+ if (i.x0 < 0) {
1529
+ i.tox = i.x1 - i.radius2 * 2;
1530
+ } else if (i.x1 > width) {
1531
+ i.tox = i.x0 + i.radius2 * 2;
1532
+ } else {
1533
+ i.tox = i._x;
1534
+ }
1535
+ if (i.mode == modefold) {
1536
+ i.x = i.tox;
1537
+ } else {
1538
+ todo.push(i);
1539
+ }
1540
+ }
1541
+ for (const i of lst) {
1542
+ i.x = i.tox;
1543
+ }
1544
+ set_all(tk);
1545
+ return;
1546
+ }
1547
+ function automode(tk, usemode, blockwidth) {
1548
+ for (const i of tk.data) {
1549
+ if (!i.mode) i.mode = moderaise;
1550
+ }
1551
+ return;
1552
+ const samplecountlst = [];
1553
+ for (let i = 0; i < tk.data.length; i++) {
1554
+ samplecountlst.push({
1555
+ idx: i,
1556
+ count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1557
+ });
1558
+ }
1559
+ samplecountlst.sort((a, b) => b.count - a.count);
1560
+ let cumx = 0;
1561
+ for (const cc of samplecountlst) {
1562
+ const d = tk.data[cc.idx];
1563
+ if (!d.mode) {
1564
+ cumx += d.radius2 * 2;
1565
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1566
+ } else {
1567
+ if (d.modefix) {
1568
+ if (d.mode != modefold) {
1569
+ cumx += d.radius2 * 2;
1570
+ }
1571
+ } else {
1572
+ if (usemode) {
1573
+ d.mode = usemode;
1574
+ if (d.mode != modefold) {
1575
+ cumx += d.radius2 * 2;
1576
+ }
1577
+ } else {
1578
+ cumx += d.radius2 * 2;
1579
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1580
+ }
1581
+ }
1582
+ }
1583
+ }
1584
+ }
1585
+ function set_jug(d) {
1586
+ return "translate(" + d.x + ",0)";
1587
+ }
1588
+ function set_leg_x1(d) {
1589
+ return d.x0 - d.x;
1590
+ }
1591
+ function set_leg_x2(d) {
1592
+ return d.x1 - d.x;
1593
+ }
1594
+ function set_discnum(d) {
1595
+ return d.mode == modefold ? 0 : 1;
1596
+ }
1597
+ function set_stem_y1(d) {
1598
+ if (d.mode == modefold) return d.radius;
1599
+ return d.radius2;
1600
+ }
1601
+ function set_qmg(d, tk) {
1602
+ if (d.mode == modesample)
1603
+ return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1604
+ return "translate(0,0) scale(0)";
1605
+ }
1606
+ function set_leg_y(d, tk) {
1607
+ if (d.mode == modefold) return -tk.legheight;
1608
+ return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1609
+ }
1610
+ function set_jug2(d, tk) {
1611
+ if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1612
+ if (d.mode == moderaise)
1613
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1614
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1615
+ }
1616
+ function set_stem_y2(d, tk) {
1617
+ if (d.mode == modefold) return d.radius + tk.lowpad;
1618
+ if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1619
+ return tk.maxradius + tk.padheight;
1620
+ }
1621
+ function set_all(tk) {
1622
+ const dur = 500;
1623
+ if (tk.totalsamplecount > 1) {
1624
+ tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1625
+ tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1626
+ }
1627
+ tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1628
+ tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1629
+ tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1630
+ tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1631
+ tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1632
+ }
1633
+ function junctiontype2color(tk, block) {
1634
+ for (const j of tk.data) {
1635
+ j.color = defaultcolor;
1636
+ }
1637
+ if (tk.nocatepreconfig) {
1638
+ let categories = {};
1639
+ if (tk.categories) {
1640
+ categories = tk.categories;
1641
+ }
1642
+ let hasnewtype = false;
1643
+ for (const j of tk.data) {
1644
+ if (j.type) {
1645
+ if (!categories[j.type]) {
1646
+ hasnewtype = true;
1647
+ categories[j.type] = {
1648
+ label: j.type
1649
+ };
1650
+ if (j.type.toLowerCase() == "known") {
1651
+ categories[j.type].color = "#0C72A8";
1652
+ } else if (j.type.toLowerCase() == "novel") {
1653
+ categories[j.type].color = "#A80C33";
1654
+ } else {
1655
+ categories[j.type].color = colorfunc(j.type);
1656
+ }
1657
+ }
1658
+ }
1659
+ }
1660
+ if (hasnewtype) {
1661
+ tk.categories = categories;
1662
+ if (!tk.tr_legend) {
1663
+ const [tr, td] = legend_newrow(block, tk.name);
1664
+ tk.tr_legend = tr;
1665
+ tk.td_legend = td;
1666
+ tr.style("display", "none");
1667
+ appear(tr, "table-row");
1668
+ }
1669
+ category2legend(tk.categories, tk.td_legend);
1670
+ }
1671
+ }
1672
+ if (tk.categories) {
1673
+ for (const j of tk.data) {
1674
+ if (j.type && tk.categories[j.type]) {
1675
+ j.color = tk.categories[j.type].color;
1676
+ }
1677
+ }
1678
+ }
1679
+ }
1680
+ function foldedjunctioninfo(d, tk) {
1681
+ const fontsize = 15;
1682
+ let pad = 5, y = pad, width = 0;
1683
+ const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1684
+ if (d.type) {
1685
+ 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() {
1686
+ width = this.getBBox().width;
1687
+ });
1688
+ y += fontsize;
1689
+ }
1690
+ if (d.data) {
1691
+ 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() {
1692
+ width = Math.max(width, this.getBBox().width);
1693
+ });
1694
+ y += fontsize;
1695
+ 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() {
1696
+ width = Math.max(width, this.getBBox().width);
1697
+ });
1698
+ y += fontsize;
1699
+ } else {
1700
+ 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() {
1701
+ width = Math.max(width, this.getBBox().width);
1702
+ });
1703
+ y += fontsize;
1704
+ }
1705
+ y += pad;
1706
+ bg.attr("width", pad * 2 + width).attr("height", y);
1707
+ 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);
1708
+ y += 15;
1709
+ tk.pica.g.attr(
1710
+ "transform",
1711
+ "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1712
+ );
1713
+ }
1714
+ function expandedjunctioninfo(d, tk, circle) {
1715
+ tk.tktip.clear();
1716
+ const holder = tk.tktip.d;
1717
+ if (d.type) {
1718
+ 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");
1719
+ }
1720
+ holder.append("div").html(
1721
+ bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1722
+ );
1723
+ if (d.data) {
1724
+ if (d.data.length > 1) {
1725
+ holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1726
+ if (d.rimcount) {
1727
+ holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1728
+ }
1729
+ holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1730
+ } else if (d.data.length == 1) {
1731
+ samplejunctiontooltip(d, d.data[0], tk, holder);
1732
+ }
1733
+ } else {
1734
+ holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1735
+ }
1736
+ if (d.spliceevents && d.spliceevents.length > 0) {
1737
+ const renderdiv = holder.append("div").style("margin", "10px 0px");
1738
+ displayspliceevents(d.spliceevents, renderdiv);
1739
+ }
1740
+ tk.tktip.show(circle.left + circle.width, circle.top - 50);
1741
+ }
1742
+ function junctionsamplespread(j, tk, block) {
1743
+ if (j.qmg) {
1744
+ j.qmg.remove();
1745
+ }
1746
+ if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1747
+ for (const d of j.data) {
1748
+ if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1749
+ d.color = "gray";
1750
+ continue;
1751
+ }
1752
+ const levelkeys = [];
1753
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1754
+ const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1755
+ if (levelvalue) {
1756
+ levelkeys.push(levelvalue);
1757
+ }
1758
+ }
1759
+ const str = levelkeys.join(tk.cohortsetting.levelseparator);
1760
+ d.color = tk.cohortsetting.colorfunc(str);
1761
+ }
1762
+ }
1763
+ 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();
1764
+ const jugg = select_default(j.jugg);
1765
+ j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1766
+ const opacity = 0.8;
1767
+ j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1768
+ return bee.datum.color || "green";
1769
+ }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1770
+ select_default(event.target).attr("fill-opacity", 1);
1771
+ const p = event.target.getBoundingClientRect();
1772
+ tk.tktip.clear();
1773
+ tk.tktip.show(p.left + 20, p.top - 40);
1774
+ samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1775
+ }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1776
+ if (tk.tracks) {
1777
+ return;
1778
+ }
1779
+ }).transition().attr("cx", (bee) => bee.x);
1780
+ }
1781
+ function samplejunctiontooltip(j, sample, tk, holder) {
1782
+ if (sample.sample) {
1783
+ holder.append("div").html(sample.sample);
1784
+ } else if (sample.name) {
1785
+ holder.append("div").html(sample.name);
1786
+ } else if (sample.patient || sample.sampletype) {
1787
+ if (sample.patient) {
1788
+ holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1789
+ }
1790
+ if (sample.sampletype) {
1791
+ holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1792
+ }
1793
+ } else if (sample.tkid) {
1794
+ for (const t of tk.tracks) {
1795
+ if (t.tkid == sample.tkid) {
1796
+ holder.append("div").text(t.name || "unnamed member");
1797
+ break;
1798
+ }
1799
+ }
1800
+ }
1801
+ if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1802
+ for (const lev of tk.cohortsetting.cohort.levels) {
1803
+ if (sample[lev.k]) {
1804
+ holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1805
+ }
1806
+ }
1807
+ }
1808
+ holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1809
+ if (sample.metadata) {
1810
+ holder.append("div").html(
1811
+ '<span style="background-color:' + sample.metadata.color + '" class=sja_mcdot>&nbsp;</span> ' + sample.metadata.value + ' <span style="font-size:.7em;color:#858585">' + tk.metadata.m.label + "</span>"
1812
+ );
1813
+ }
1814
+ if (sample.hasrim) {
1815
+ holder.append("div").text(tk.rimwhat);
1816
+ }
1817
+ if (j.spliceevents) {
1818
+ const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1819
+ const evt = j.spliceevents[evtidx];
1820
+ const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1821
+ let jbcount = 0;
1822
+ if (evt.junctionB && evt.junctionB.data) {
1823
+ for (const d of evt.junctionB.data) {
1824
+ if (d.tkid == sample.tkid) {
1825
+ jbcount = d.v;
1826
+ break;
1827
+ }
1828
+ }
1829
+ }
1830
+ let acountsum = 0;
1831
+ if (evt.junctionAlst) {
1832
+ for (const ja of evt.junctionAlst) {
1833
+ if (ja && ja.data) {
1834
+ for (const d of ja.data) {
1835
+ if (d.tkid == sample.tkid) {
1836
+ acountsum += d.v;
1837
+ break;
1838
+ }
1839
+ }
1840
+ }
1841
+ }
1842
+ }
1843
+ let percent;
1844
+ if (jbcount == 0) {
1845
+ percent = 0;
1846
+ } else {
1847
+ percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1848
+ }
1849
+ holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1850
+ }
1851
+ }
1852
+ function get_leftLabelMaxwidth(tk) {
1853
+ const collectlabw = [];
1854
+ tk.tklabel.each(function() {
1855
+ collectlabw.push(this.getBBox().width);
1856
+ });
1857
+ if (tk.label_mcount) {
1858
+ tk.label_mcount.each(function() {
1859
+ collectlabw.push(this.getBBox().width);
1860
+ });
1861
+ }
1862
+ tk.leftLabelMaxwidth = Math.max(...collectlabw);
1863
+ }
1864
+
1865
+ // src/block.tk.junction.js
1866
+ var binpxw = 5;
1867
+ var modefold = 1;
1868
+ var moderaise = 2;
1869
+ var modesample = 3;
1870
+ var labyspace = 5;
1871
+ function makeTk(tk, block) {
1872
+ tk.leftaxis = tk.gleft.append("g");
1873
+ let laby = labyspace + block.labelfontsize;
1874
+ const thistip = new Menu({ padding: "none" });
1875
+ tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1876
+ label_mcount_fillpane(tk, block, thistip);
1877
+ });
1878
+ laby += labyspace + block.labelfontsize;
1879
+ tk.totalsamplecount = 0;
1880
+ tk.height_main = 100;
1881
+ tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1882
+ if (tk.categories || tk.cohortsetting) {
1883
+ const [tr, td] = legend_newrow(block, tk.name);
1884
+ tk.tr_legend = tr;
1885
+ tk.td_legend = td;
1886
+ }
1887
+ if (tk.categories) {
1888
+ category2legend(tk.categories, tk.td_legend);
1889
+ }
1890
+ if (tk.cohortsetting) {
1891
+ tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1892
+ tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1893
+ }
1894
+ }
1895
+ function junctionload(tk, block) {
1896
+ if (tk.uninitialized) {
1897
+ makeTk(tk, block);
1898
+ delete tk.uninitialized;
1899
+ }
1900
+ if ((block.zoomedin || block.resized) && tk.data) {
1901
+ const junc = [];
1902
+ for (const i of tk.data) {
1903
+ const oldx = i.x;
1904
+ const e = j2block(i, block);
1905
+ if (e) {
1906
+ continue;
1907
+ }
1908
+ if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1909
+ i.x = oldx;
1910
+ junc.push(i);
1911
+ }
1912
+ }
1913
+ rendertk(junc, tk, block);
1914
+ return;
1915
+ }
1916
+ if (tk.fixeddata) {
1917
+ block.tkcloakon(tk);
1918
+ const junc2 = [];
1919
+ for (const j of tk.fixeddata) {
1920
+ const j2 = {
1921
+ chr: j.chr,
1922
+ start: j.start,
1923
+ stop: j.stop,
1924
+ data: j.data,
1925
+ type: j.type
1926
+ };
1927
+ const e = j2block(j2, block);
1928
+ if (e) {
1929
+ continue;
1930
+ }
1931
+ junc2.push(j2);
1932
+ }
1933
+ tk.totalsamplecount = tk.tracks[0].samplecount;
1934
+ tk.axisheight = 200;
1935
+ tk.legheight = 50;
1936
+ tk.bottompad = 0;
1937
+ tk.qmradius = 2;
1938
+ tk.lowpad = 15;
1939
+ tk.padheight = 10;
1940
+ rendertk(junc2, tk, block);
1941
+ return;
1942
+ }
1943
+ if (!tk.tracks) {
1944
+ block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1945
+ tk.height_main = 50;
1946
+ block.block_setheight();
1947
+ return;
1948
+ }
1949
+ block.block_setheight();
1950
+ block.tkcloakon(tk);
1951
+ const bincount = Math.ceil(block.width / binpxw);
1952
+ let bins = null;
1953
+ let donenum = 0;
1954
+ const tasks = [];
1955
+ const allfiledata = [];
1956
+ for (const t of tk.tracks) {
1957
+ const getheader = new Promise((resolve, reject) => {
1958
+ if (t.rnapegfile) {
1959
+ t.samplecount = 1;
1960
+ return resolve();
1961
+ }
1962
+ if (t.samplecount != void 0 && t.checkedheader) return resolve();
1963
+ const par = {};
1964
+ if (t.file) {
1965
+ par.file = t.file;
1966
+ } else {
1967
+ par.url = t.url;
1968
+ if (t.indexURL) par.indexURL = t.indexURL;
1969
+ }
1970
+ dofetch3("tabixheader", { body: par }).then((data) => {
1971
+ if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1972
+ t.checkedheader = true;
1973
+ const str = data.lines.join("");
1974
+ if (!str) {
1975
+ } else {
1976
+ const l = str.trim().split(" ");
1977
+ t.headersamples = [];
1978
+ for (let i = 5; i < l.length; i++) {
1979
+ const str2 = l[i];
1980
+ let j = null;
1981
+ if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1982
+ try {
1983
+ j = JSON.parse(str2);
1984
+ } catch (e) {
1985
+ console.error("header line field [" + i + "] is broken json: " + str2);
1986
+ }
1987
+ }
1988
+ if (j) {
1989
+ j.tkid = Math.random().toString();
1990
+ t.headersamples.push(j);
1991
+ } else {
1992
+ t.headersamples.push({
1993
+ name: l[i],
1994
+ tkid: Math.random().toString()
1995
+ });
1996
+ }
1997
+ }
1998
+ t.samplecount = t.headersamples.length;
1999
+ tk.totalsamplecount += t.samplecount;
2000
+ }
2001
+ resolve();
2002
+ });
2003
+ });
2004
+ const getdata = new Promise((resolve, reject) => {
2005
+ getheader.then(() => {
2006
+ const par = {
2007
+ genome: block.genome.name,
2008
+ rglst: block.tkarg_maygm(t)
2009
+ };
2010
+ if (bincount) par.bincount = bincount;
2011
+ if (t.file || t.rnapegfile) {
2012
+ par.file = t.file || t.rnapegfile;
2013
+ } else {
2014
+ par.url = t.url;
2015
+ if (t.indexURL) par.indexURL = t.indexURL;
2016
+ }
2017
+ if (t.rnapegfile) {
2018
+ par.isrnapeg = 1;
2019
+ }
2020
+ dofetch3("junction", { body: par }).then((data) => {
2021
+ donenum++;
2022
+ if (tk.tracks.length > 1) {
2023
+ block.tkprogress(tk, donenum / tk.tracks.length);
2024
+ }
2025
+ if (!data) reject("server error for getting member track " + t.name);
2026
+ if (data.error) reject("Cannot get data: " + data.error);
2027
+ if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2028
+ if (data.lst) {
2029
+ if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2030
+ t.samplecount = data.lst[0].rawdata.length;
2031
+ tk.totalsamplecount += t.samplecount;
2032
+ }
2033
+ if (bins) {
2034
+ } else {
2035
+ const thisfilejunctions = [];
2036
+ for (const k of data.lst) {
2037
+ k.data = [];
2038
+ for (let i = 0; i < k.rawdata.length; i++) {
2039
+ const v = k.rawdata[i];
2040
+ if (!Number.isInteger(v) || v <= 0) {
2041
+ continue;
2042
+ }
2043
+ const s = { v };
2044
+ if (t.headersamples) {
2045
+ const s0 = t.headersamples[i];
2046
+ if (s0) {
2047
+ for (const _k in s0) {
2048
+ s[_k] = s0[_k];
2049
+ }
2050
+ }
2051
+ } else {
2052
+ if (t.name) s.name = t.name;
2053
+ if (t.sample) s.sample = t.sample;
2054
+ if (t.patient) s.patient = t.patient;
2055
+ if (t.sampeltype) s.sampletype = t.sampletype;
2056
+ if (t.tkid) s.tkid = t.tkid;
2057
+ if (t.file) s.file = t.file;
2058
+ if (t.url) s.url = t.url;
2059
+ if (t.indexURL) s.indexURL = t.indexURL;
2060
+ }
2061
+ k.data.push(s);
2062
+ }
2063
+ delete k.rawdata;
2064
+ thisfilejunctions.push(k);
2065
+ }
2066
+ resolve(thisfilejunctions);
2067
+ }
2068
+ } else {
2069
+ }
2070
+ });
2071
+ }).catch((err) => reject(err));
2072
+ });
2073
+ tasks.push(getdata);
2074
+ }
2075
+ Promise.all(tasks).then((data) => {
2076
+ const junc = [];
2077
+ data.forEach((dat) => {
2078
+ if (!dat) return;
2079
+ dat.forEach((k) => {
2080
+ let notfound = true;
2081
+ for (const j of junc) {
2082
+ if (j.start == k.start && j.stop == k.stop) {
2083
+ j.data = j.data.concat(k.data);
2084
+ notfound = false;
2085
+ break;
2086
+ }
2087
+ }
2088
+ if (notfound) {
2089
+ junc.push(k);
2090
+ }
2091
+ });
2092
+ });
2093
+ for (const j of junc) {
2094
+ j2block(j, block);
2095
+ }
2096
+ for (const j of junc) {
2097
+ smuggleattributes(j);
2098
+ }
2099
+ if (!tk.axisheight) {
2100
+ if (tk.totalsamplecount > 1) {
2101
+ tk.axisheight = 200;
2102
+ tk.legheight = 50;
2103
+ tk.bottompad = 0;
2104
+ tk.qmradius = 2;
2105
+ tk.lowpad = 15;
2106
+ tk.padheight = 10;
2107
+ } else {
2108
+ tk.axisheight = 100;
2109
+ tk.legheight = 20;
2110
+ tk.bottompad = 0;
2111
+ tk.lowpad = 10;
2112
+ tk.padheight = 10;
2113
+ }
2114
+ if (tk.cohortsetting) {
2115
+ initcohortsetting(tk, block);
2116
+ }
2117
+ }
2118
+ rendertk(junc, tk, block);
2119
+ }).catch((err) => {
2120
+ tk.glider.selectAll("*").remove();
2121
+ block.tkcloakoff(tk, { error: err });
2122
+ block.block_setheight();
2123
+ });
2124
+ }
2125
+ function j2block(j, block) {
2126
+ const starthit = block.seekcoord(j.chr, j.start)[0];
2127
+ if (!starthit) {
2128
+ return true;
2129
+ }
2130
+ const stophit = block.seekcoord(j.chr, j.stop)[0];
2131
+ if (!stophit) {
2132
+ return true;
2133
+ }
2134
+ const startout = starthit.x < 0 || starthit.x > block.width;
2135
+ const stopout = stophit.x < 0 || stophit.x > block.width;
2136
+ if (startout && stopout) {
2137
+ return true;
2138
+ }
2139
+ j.x0 = starthit.x;
2140
+ j.x1 = stophit.x;
2141
+ j.x = (j.x0 + j.x1) / 2;
2142
+ j._x = j.x;
2143
+ if (!j.modefix) {
2144
+ j.mode = moderaise;
2145
+ }
2146
+ return false;
2147
+ }
2148
+ function smuggleattributes(j) {
2149
+ }
2150
+ function label_mcount_fillpane(tk, block, tip) {
2151
+ tip.clear();
2152
+ const holder = tip.d;
2153
+ const types = /* @__PURE__ */ new Map();
2154
+ for (const j of tk.data) {
2155
+ if (!j.type) continue;
2156
+ if (!types.has(j.type)) {
2157
+ types.set(j.type, []);
2158
+ }
2159
+ if (j.data) {
2160
+ types.get(j.type).push(j.data.map((i) => i.v));
2161
+ } else {
2162
+ types.get(j.type).push(j.v);
2163
+ }
2164
+ }
2165
+ if (types.size) {
2166
+ const d = holder.append("div").style("margin", "8px");
2167
+ for (const [type, valuelst] of types) {
2168
+ d.append("div").style("margin", "2px").html(
2169
+ valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2170
+ );
2171
+ let vlst = valuelst;
2172
+ if (tk.tracks) {
2173
+ vlst = [];
2174
+ for (const l of valuelst) {
2175
+ vlst.push(...l);
2176
+ }
2177
+ }
2178
+ if (vlst.length == 1) {
2179
+ } else {
2180
+ d.append("table").style("margin-left", "20px").html(
2181
+ '<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>'
2182
+ );
2183
+ }
2184
+ }
2185
+ } else {
2186
+ let vlst = [];
2187
+ if (tk.tracks) {
2188
+ for (const j of tk.data) {
2189
+ vlst.push(...j.data.map((i) => i.v));
2190
+ }
2191
+ } else {
2192
+ vlst = tk.data.map((j) => j.v);
2193
+ }
2194
+ if (vlst.length > 1) {
2195
+ holder.append("table").html(
2196
+ '<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>'
2197
+ );
2198
+ }
2199
+ }
2200
+ holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2201
+ tip.hide();
2202
+ for (const j of tk.data) {
2203
+ j.mode = modefold;
2204
+ j.modefix = true;
2205
+ }
2206
+ horiplace(tk.data, block.width, tk);
2207
+ });
2208
+ holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2209
+ tip.hide();
2210
+ for (const j of tk.data) {
2211
+ j.modefix = false;
2212
+ }
2213
+ automode(tk, null, block.width);
2214
+ for (const j of tk.data) {
2215
+ j.modefix = true;
2216
+ }
2217
+ horiplace(tk.data, block.width, tk);
2218
+ });
2219
+ holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2220
+ tip.hide();
2221
+ downloadjunctions(tk);
2222
+ });
2223
+ tip.showunder(tk.label_mcount.node());
2224
+ }
2225
+ function downloadjunctions(tk) {
2226
+ const txt = [];
2227
+ if (tk.file || tk.url) {
2228
+ if (tk.data) {
2229
+ txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2230
+ for (const j of tk.data) {
2231
+ txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2232
+ }
2233
+ }
2234
+ } else if (tk.tracks) {
2235
+ if (tk.data) {
2236
+ const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2237
+ for (const t of tk.tracks) {
2238
+ const lst = [];
2239
+ if (t.patient) lst.push(t.patient);
2240
+ if (t.sampletype) lst.push(t.sampletype);
2241
+ if (lst.length == 0) {
2242
+ lst.push(t.name);
2243
+ }
2244
+ header.push(lst.join(", "));
2245
+ }
2246
+ txt.push(header.join(" "));
2247
+ for (const j of tk.data) {
2248
+ const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2249
+ const hash = /* @__PURE__ */ new Map();
2250
+ for (const jsample of j.data) {
2251
+ hash.set(jsample.tkid, jsample.v);
2252
+ }
2253
+ for (const t of tk.tracks) {
2254
+ lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2255
+ }
2256
+ txt.push(lst.join(" "));
2257
+ }
2258
+ }
2259
+ }
2260
+ export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2261
+ }
2262
+ function configpanel(tk, block) {
2263
+ tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2264
+ const holder = tk.tkconfigtip.d;
2265
+ {
2266
+ const row = holder.append("div").style("margin-bottom", "10px");
2267
+ row.append("span").html("Read count cutoff&nbsp;");
2268
+ row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2269
+ if (!keyupEnter(event)) return;
2270
+ const v = Number.parseFloat(event.target.value);
2271
+ if (v == 0) {
2272
+ if (tk.readcountcutoff) {
2273
+ tk.readcountcutoff = 0;
2274
+ junctionload(tk, block);
2275
+ } else {
2276
+ }
2277
+ return;
2278
+ }
2279
+ if (!v || v < 0) {
2280
+ return;
2281
+ }
2282
+ if (tk.readcountcutoff) {
2283
+ if (tk.readcountcutoff == v) {
2284
+ } else if (tk.readcountcutoff > v) {
2285
+ tk.readcountcutoff = v;
2286
+ junctionload(tk, block);
2287
+ } else {
2288
+ tk.readcountcutoff = v;
2289
+ rendertk(tk.data, tk, block);
2290
+ }
2291
+ } else {
2292
+ tk.readcountcutoff = v;
2293
+ junctionload(tk, block);
2294
+ }
2295
+ });
2296
+ const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2297
+ if (tk.totalsamplecount > 1) {
2298
+ note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2299
+ } else {
2300
+ note.text("Junctions with read count lower than cutoff will not be shown.");
2301
+ }
2302
+ }
2303
+ }
2304
+ function initcohortsetting(tk, block) {
2305
+ if (!tk.cohortsetting.cohort) {
2306
+ sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2307
+ return;
2308
+ }
2309
+ if (!tk.cohortsetting.cohort.levels) {
2310
+ sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2311
+ return;
2312
+ }
2313
+ if (!tk.cohortsetting.cohort.levels[0]) {
2314
+ sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2315
+ return;
2316
+ }
2317
+ tk.cohortsetting.levelseperator = ".";
2318
+ tk.cohortsetting.uselevelidx = 0;
2319
+ setcohortlegend_usecohortlevel(tk, block);
2320
+ }
2321
+ function setcohortlegend_usecohortlevel(tk, block) {
2322
+ tk.cohortsetting.legendholder.selectAll("*").remove();
2323
+ tk.cohortsetting.colorfunc = ordinal(category10_default);
2324
+ const stratkey2count = /* @__PURE__ */ new Map();
2325
+ for (const t of tk.tracks) {
2326
+ for (const s of t.headersamples) {
2327
+ if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2328
+ continue;
2329
+ }
2330
+ const thissamplekeys = [];
2331
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2332
+ const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2333
+ if (thislevelkey) {
2334
+ thissamplekeys.push(thislevelkey);
2335
+ }
2336
+ }
2337
+ const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2338
+ if (!stratkey2count.has(str)) {
2339
+ stratkey2count.set(str, {
2340
+ count: 0,
2341
+ label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2342
+ });
2343
+ }
2344
+ stratkey2count.get(str).count++;
2345
+ }
2346
+ }
2347
+ const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2348
+ for (const item of sorteditems) {
2349
+ const color = tk.cohortsetting.colorfunc(item[0]);
2350
+ const label = item[1].label;
2351
+ const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2352
+ row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2353
+ row.append("div").style("display", "inline-block").text(label);
2354
+ }
2355
+ }
2356
+ export {
2357
+ junctionload,
2358
+ modefold,
2359
+ moderaise,
2360
+ modesample
2361
+ };
2362
+ //# sourceMappingURL=block.tk.junction-ZUUBN36V.js.map