@sjcrh/proteinpaint-client 2.190.2 → 2.191.2

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 (932) hide show
  1. package/dist/2dmaf-V4WJ2LEK.js +1373 -0
  2. package/dist/AIProjectAdmin-JMN5O6YU.js +829 -0
  3. package/dist/AppHeader-Y4SEKCEF.js +835 -0
  4. package/dist/BoxPlot-ZXQZGCR3.js +1211 -0
  5. package/dist/BoxPlot-ZXQZGCR3.js.map +7 -0
  6. package/dist/CorrelationVolcano-R5IWD6WA.js +619 -0
  7. package/dist/DE-ZV6O7B6Y.js +95 -0
  8. package/dist/DEinput-FTOALZKN.js +301 -0
  9. package/dist/DifferentialAnalysis-NLCA766A.js +245 -0
  10. package/dist/Disco-Y5Z4A7GN.js +3237 -0
  11. package/dist/Disco.UI-GSWZYIUT.js +245 -0
  12. package/dist/DmrPlot-FEFUCIGT.js +642 -0
  13. package/dist/DziViewer-6737GC22.js +16332 -0
  14. package/dist/GB-AOXF2JJB.js +1130 -0
  15. package/dist/GeneExpInput-CXYRKQU7.js +366 -0
  16. package/dist/HicApp-GLNNZ4H5.js +2250 -0
  17. package/dist/NumBinaryEditor-6ZAL6CCP.js +271 -0
  18. package/dist/NumBinaryEditor-6ZAL6CCP.js.map +7 -0
  19. package/dist/NumBinaryEditor.unit.spec-3VTJLILH.js +286 -0
  20. package/dist/NumContEditor-3LOAR676.js +109 -0
  21. package/dist/NumContEditor-3LOAR676.js.map +7 -0
  22. package/dist/NumContEditor.unit.spec-WIMYCOVO.js +169 -0
  23. package/dist/NumCustomBinEditor-XIOAYWOD.js +38 -0
  24. package/dist/NumCustomBinEditor.unit.spec-N5OV6MKR.js +284 -0
  25. package/dist/NumDiscreteEditor-AT6FKYGI.js +179 -0
  26. package/dist/NumDiscreteEditor.unit.spec-BDR5GZ46.js +202 -0
  27. package/dist/NumRegularBinEditor-Z4NBS4VZ.js +38 -0
  28. package/dist/NumRegularBinEditor.unit.spec-BRWYNQ55.js +227 -0
  29. package/dist/NumSplineEditor-B45BAWQ2.js +198 -0
  30. package/dist/NumSplineEditor-B45BAWQ2.js.map +7 -0
  31. package/dist/NumSplineEditor.unit.spec-5RDBCZ4N.js +199 -0
  32. package/dist/NumericDensity-L7HIVV7D.js +38 -0
  33. package/dist/NumericDensity.unit.spec-PL3XDJCV.js +221 -0
  34. package/dist/NumericHandler-KJYZOCCG.js +39 -0
  35. package/dist/NumericHandler.unit.spec-VC7NPLJW.js +219 -0
  36. package/dist/ProteomeInput-A3GRPIAH.js +396 -0
  37. package/dist/RunChart2-MSNU3ZNT.js +758 -0
  38. package/dist/SC-FNKG2FK5.js +936 -0
  39. package/dist/Volcano-IRJMPHXJ.js +1379 -0
  40. package/dist/WSIViewer-KITT7I67.js +48475 -0
  41. package/dist/WsiSamplesPlot-G3YZ6SIE.js +165 -0
  42. package/dist/adSandbox-GIQTJ4VA.js +38 -0
  43. package/dist/app-MGNEMS2K.js +49 -0
  44. package/dist/app-UQTHPQFD.js +37 -0
  45. package/dist/app.js +17 -17
  46. package/dist/bam-5PROQBRT.js +860 -0
  47. package/dist/barchart-BQYJ73Z4.js +47 -0
  48. package/dist/barchart.data-VFULOIHY.js +22 -0
  49. package/dist/barchart.events-W2CIDD4B.js +47 -0
  50. package/dist/barchart.integration.spec-JF2IHFQE.js +1980 -0
  51. package/dist/barchart.integration.spec-JF2IHFQE.js.map +7 -0
  52. package/dist/barchart2-V6W4UAFH.js +311 -0
  53. package/dist/block-5V2FCT7Q.js +6202 -0
  54. package/dist/block.init-43IUNDNB.js +38 -0
  55. package/dist/block.mds.expressionrank-LI6MZPBE.js +359 -0
  56. package/dist/block.mds.geneboxplot-673AIJMJ.js +828 -0
  57. package/dist/block.mds.junction-UWNVNV3X.js +1545 -0
  58. package/dist/block.mds.svcnv-Z5VFCUUE.js +6801 -0
  59. package/dist/block.svg-MGK4GWLL.js +164 -0
  60. package/dist/block.tk.aicheck-OFNDGG7Q.js +283 -0
  61. package/dist/block.tk.ase-IDZQY7MW.js +365 -0
  62. package/dist/block.tk.bam-K7A2Q5NI.js +1906 -0
  63. package/dist/block.tk.bedgraphdot-PPTKCCPK.js +384 -0
  64. package/dist/block.tk.bigwig.ui-PI6EAU43.js +212 -0
  65. package/dist/block.tk.hicstraw-EZ2GS2K4.js +823 -0
  66. package/dist/block.tk.junction-4WSLQGSQ.js +2364 -0
  67. package/dist/block.tk.junction.textmatrixui-7EJUSVMB.js +199 -0
  68. package/dist/block.tk.ld-KLVO7M37.js +99 -0
  69. package/dist/block.tk.menu-KZSL7BAR.js +1029 -0
  70. package/dist/block.tk.pgv-NYWGB4VH.js +944 -0
  71. package/dist/brainImaging-MTIIMJHW.js +423 -0
  72. package/dist/chunk-2NQLAH3L.js +443 -0
  73. package/dist/chunk-2Q6PBSPS.js +1943 -0
  74. package/dist/chunk-2TCCXOAV.js +1170 -0
  75. package/dist/chunk-2TCCXOAV.js.map +7 -0
  76. package/dist/chunk-3D5GZIGG.js +1210 -0
  77. package/dist/chunk-3TPAIXNL.js +263 -0
  78. package/dist/chunk-42EBECOD.js +95 -0
  79. package/dist/chunk-4B42QV34.js +2786 -0
  80. package/dist/chunk-4FKWINMK.js +184 -0
  81. package/dist/chunk-4FKWINMK.js.map +7 -0
  82. package/dist/chunk-4KY4XKJV.js +143 -0
  83. package/dist/chunk-52RORO74.js +158 -0
  84. package/dist/chunk-52RORO74.js.map +7 -0
  85. package/dist/chunk-5SXCIKYV.js +100 -0
  86. package/dist/chunk-647P2I4Q.js +482 -0
  87. package/dist/chunk-67HSIHPP.js +2327 -0
  88. package/dist/chunk-6GZJCSA6.js +1102 -0
  89. package/dist/chunk-6VKTEMFV.js +1815 -0
  90. package/dist/chunk-6VKTEMFV.js.map +7 -0
  91. package/dist/chunk-7JEKUSEL.js +102 -0
  92. package/dist/chunk-BMO6KSVC.js +477 -0
  93. package/dist/chunk-CKA52OEA.js +399 -0
  94. package/dist/chunk-CKA52OEA.js.map +7 -0
  95. package/dist/chunk-CKDC326M.js +50 -0
  96. package/dist/chunk-CRUBP5PT.js +446 -0
  97. package/dist/chunk-CW2Q5EA7.js +283 -0
  98. package/dist/chunk-CYHUNQMS.js +6364 -0
  99. package/dist/chunk-DC4KD6FJ.js +458 -0
  100. package/dist/chunk-DC4KD6FJ.js.map +7 -0
  101. package/dist/chunk-DHPLHIVP.js +498 -0
  102. package/dist/chunk-DJQTUDJM.js +414 -0
  103. package/dist/chunk-DJQTUDJM.js.map +7 -0
  104. package/dist/chunk-DWCVGCBX.js +381 -0
  105. package/dist/chunk-EIBNV236.js +339 -0
  106. package/dist/chunk-EZ3WMXYT.js +217 -0
  107. package/dist/chunk-F5QIZOPL.js +736 -0
  108. package/dist/chunk-F6N6JBZR.js +37 -0
  109. package/dist/chunk-FXMHSVBS.js +54 -0
  110. package/dist/chunk-FZ63VOSX.js +226 -0
  111. package/dist/chunk-GMT2GNQY.js +1332 -0
  112. package/dist/chunk-IIT367QZ.js +473 -0
  113. package/dist/chunk-IL5QT2FI.js +293 -0
  114. package/dist/chunk-J6GLTYGJ.js +2681 -0
  115. package/dist/chunk-JEZIKGZI.js +386 -0
  116. package/dist/chunk-JJOLDYSQ.js +824 -0
  117. package/dist/chunk-KSCJWPTJ.js +34 -0
  118. package/dist/chunk-L4TUTGTA.js +20787 -0
  119. package/dist/chunk-L4TUTGTA.js.map +7 -0
  120. package/dist/chunk-LT5XPBIX.js +272 -0
  121. package/dist/chunk-M3J4MINX.js +783 -0
  122. package/dist/chunk-M3J4MINX.js.map +7 -0
  123. package/dist/chunk-MEGBYD4U.js +182 -0
  124. package/dist/chunk-MEY5OBDJ.js +170 -0
  125. package/dist/chunk-MYWV64P5.js +1275 -0
  126. package/dist/chunk-MYWV64P5.js.map +7 -0
  127. package/dist/chunk-NKTBR5SK.js +613 -0
  128. package/dist/chunk-NKTBR5SK.js.map +7 -0
  129. package/dist/chunk-NVX26LFC.js +148 -0
  130. package/dist/chunk-O7NFSCEW.js +291 -0
  131. package/dist/chunk-P4QGOUDH.js +368 -0
  132. package/dist/chunk-PGBKZ76Y.js +129 -0
  133. package/dist/chunk-PQNVPSQR.js +205 -0
  134. package/dist/chunk-PQZ3A27I.js +54 -0
  135. package/dist/chunk-QNMB7LYW.js +5010 -0
  136. package/dist/chunk-RZGEKL77.js +117 -0
  137. package/dist/chunk-RZY34QRF.js +158 -0
  138. package/dist/chunk-S4JLRRKK.js +287 -0
  139. package/dist/chunk-S4JLRRKK.js.map +7 -0
  140. package/dist/chunk-SDACELDR.js +14 -0
  141. package/dist/chunk-SQWEREGE.js +222 -0
  142. package/dist/chunk-SQWEREGE.js.map +7 -0
  143. package/dist/chunk-TVADJLMF.js +317 -0
  144. package/dist/chunk-TVADJLMF.js.map +7 -0
  145. package/dist/chunk-UCLROZRF.js +142 -0
  146. package/dist/chunk-VIHUKORE.js +216 -0
  147. package/dist/chunk-VIHUKORE.js.map +7 -0
  148. package/dist/chunk-VMLSRKIB.js +276 -0
  149. package/dist/chunk-VXKO2ONI.js +534 -0
  150. package/dist/chunk-WET4LPLO.js +117 -0
  151. package/dist/chunk-WMELUFVS.js +254 -0
  152. package/dist/chunk-WS3NUPNV.js +119 -0
  153. package/dist/chunk-X5X5T3AJ.js +230 -0
  154. package/dist/chunk-X5X5T3AJ.js.map +7 -0
  155. package/dist/chunk-X63AAJGT.js +514 -0
  156. package/dist/chunk-XRAFQKOF.js +4274 -0
  157. package/dist/chunk-XRAFQKOF.js.map +7 -0
  158. package/dist/chunk-XVZ5UJWU.js +815 -0
  159. package/dist/chunk-YNBT4N6T.js +2824 -0
  160. package/dist/chunk-YVCTEEVQ.js +55 -0
  161. package/dist/chunk-YWZCJMHS.js +203 -0
  162. package/dist/chunk-Z3SC67OA.js +102 -0
  163. package/dist/chunk-ZK226W6V.js +194 -0
  164. package/dist/chunk-ZLREFIZB.js +302 -0
  165. package/dist/chunk-ZX2ISBEF.js +95 -0
  166. package/dist/condition-P2XD32QM.js +332 -0
  167. package/dist/controls-FZUTJPKV.js +41 -0
  168. package/dist/controls.btns-AP67YWKW.js +9 -0
  169. package/dist/controls.config-TEFY3NTE.js +39 -0
  170. package/dist/correlation-HS2WJFXN.js +99 -0
  171. package/dist/correlation-HS2WJFXN.js.map +7 -0
  172. package/dist/cuminc-42GBJHD3.js +1149 -0
  173. package/dist/cuminc.integration.spec-BAY4JHVL.js +678 -0
  174. package/dist/customdata.inputui-IPM5K56K.js +289 -0
  175. package/dist/dataDownload-D7VCYBDT.js +330 -0
  176. package/dist/dataDownload.integration.spec-SEBY2BIX.js +193 -0
  177. package/dist/databrowser.ui-5OC5MPZB.js +433 -0
  178. package/dist/dictionary-VVRWVLJX.js +111 -0
  179. package/dist/dnaMethylation-72IS3FRI.js +38 -0
  180. package/dist/dnaMethylation.integration.spec-U2LLSDGE.js +203 -0
  181. package/dist/dofetch-5ZRAQH5F.js +51 -0
  182. package/dist/e2pca-AR6EKEJA.js +350 -0
  183. package/dist/ep-JS5UUJQX.js +1256 -0
  184. package/dist/expclust.gdc.spec-73MGQ7RN.js +307 -0
  185. package/dist/facet-AR3QKHCY.js +521 -0
  186. package/dist/forms2-UXEI7MUP.js +534 -0
  187. package/dist/gb-RHDVYU2V.js +88 -0
  188. package/dist/geneExpClustering-L6KLCMPH.js +249 -0
  189. package/dist/geneExpression-GYT2XRE6.js +313 -0
  190. package/dist/geneExpression-SKIU3NEP.js +38 -0
  191. package/dist/geneExpression.unit.spec-CWR6KDVK.js +102 -0
  192. package/dist/geneORA-C3TALK5P.js +278 -0
  193. package/dist/geneRanking-LLYLDPLV.js +551 -0
  194. package/dist/geneVariant-PUSKBHPY.js +39 -0
  195. package/dist/geneVariant-YFMU6PHM.js +41 -0
  196. package/dist/geneVariant.integration.spec-EJ5V46OQ.js +198 -0
  197. package/dist/genefusion.ui-XUHSKQKW.js +309 -0
  198. package/dist/geneset-DEL5LXFZ.js +208 -0
  199. package/dist/genomeBrowser.spec-W5TVHOUJ.js +281 -0
  200. package/dist/grin2-FXAEGECD.js +1560 -0
  201. package/dist/grin2-U2FKULLC.js +821 -0
  202. package/dist/grin2-U2FKULLC.js.map +7 -0
  203. package/dist/gsea-CNL6SHH5.js +47 -0
  204. package/dist/hierCluster-7V65PMIW.js +59 -0
  205. package/dist/hierCluster-C44GHM4B.js +63 -0
  206. package/dist/hierCluster.config-RU5JDPWM.js +40 -0
  207. package/dist/hierCluster.integration.spec-6YH5KE4H.js +395 -0
  208. package/dist/hierCluster.interactivity-PK2L7BSW.js +54 -0
  209. package/dist/hierCluster.renderers-G3274UYA.js +21 -0
  210. package/dist/imagePlot-5SEDMPBP.js +163 -0
  211. package/dist/importPlot-M3MKWRON.js +8 -0
  212. package/dist/isoformExpression-PPMISWKT.js +40 -0
  213. package/dist/isoformExpression.unit.spec-ENHCCQRZ.js +208 -0
  214. package/dist/launch.adhoc-XAG6H42J.js +42 -0
  215. package/dist/leftlabel.sample-BSPCI6GR.js +260 -0
  216. package/dist/lollipop-IZJ7E3YO.js +171 -0
  217. package/dist/maf-54XWBQ73.js +452 -0
  218. package/dist/maftimeline-3AJKAFS6.js +593 -0
  219. package/dist/matrix-AJPMHUXG.js +63 -0
  220. package/dist/matrix-ZMXNOESU.js +58 -0
  221. package/dist/matrix.cells-E3LEVA7U.js +28 -0
  222. package/dist/matrix.config-4WLSFMTY.js +41 -0
  223. package/dist/matrix.data-WMOTOB6C.js +25 -0
  224. package/dist/matrix.dom-F7AN3QGE.js +11 -0
  225. package/dist/matrix.groups-BGMZZ6CM.js +27 -0
  226. package/dist/matrix.integration.spec-ENRPVB7R.js +3072 -0
  227. package/dist/matrix.interactivity-IMWERCZF.js +42 -0
  228. package/dist/matrix.layout-5DDZWLNX.js +44 -0
  229. package/dist/matrix.legend-RJAFOZHQ.js +22 -0
  230. package/dist/matrix.renderers-VFQZG5JP.js +38 -0
  231. package/dist/matrix.serieses-GJWHSBG4.js +21 -0
  232. package/dist/matrix.sort-KIJENIT2.js +27 -0
  233. package/dist/matrix.sort.unit.spec-ZA5DRNL6.js +472 -0
  234. package/dist/matrix.sorterUi-3KEDVLGW.js +18 -0
  235. package/dist/matrix.sorterUi.unit.spec-7TPOJ46U.js +342 -0
  236. package/dist/mavb-73BXZ7MO.js +732 -0
  237. package/dist/mds.fimo-L7VVAOXQ.js +518 -0
  238. package/dist/mds.samplescatterplot-6P75XEWB.js +1550 -0
  239. package/dist/mds.survivalplot-GCVE7XGO.js +483 -0
  240. package/dist/numericDictTermCluster-OMXIURRD.js +72 -0
  241. package/dist/oncomatrix-BFWV2IC4.js +295 -0
  242. package/dist/oncomatrix.spec-J6IAY3O6.js +448 -0
  243. package/dist/plot.2dvaf-ESJAB2F3.js +377 -0
  244. package/dist/plot.app-T7CQMBRV.js +41 -0
  245. package/dist/plot.barplot-HAWPMPPU.js +102 -0
  246. package/dist/plot.boxplot-4QUORFXY.js +152 -0
  247. package/dist/plot.brainImaging-HG6I3GJW.js +51 -0
  248. package/dist/plot.disco-LPH7F6YW.js +102 -0
  249. package/dist/plot.dzi-DYAY4D4E.js +33 -0
  250. package/dist/plot.ssgq-CF5VIGYJ.js +139 -0
  251. package/dist/plot.vaf2cov-7HZCKNK6.js +259 -0
  252. package/dist/plot.wsi-MU6AXOWO.js +36 -0
  253. package/dist/polar2-G636L5TB.js +226 -0
  254. package/dist/polar2-G636L5TB.js.map +7 -0
  255. package/dist/profileForms-TIT4JUEJ.js +441 -0
  256. package/dist/profilePlot-QFGRAZQA.js +54 -0
  257. package/dist/proteinView-RZ56F45C.js +1320 -0
  258. package/dist/proteinView-RZ56F45C.js.map +7 -0
  259. package/dist/qualitative-YWP4YUPF.js +43 -0
  260. package/dist/radar2-TKSHL54E.js +321 -0
  261. package/dist/radarFacility2-FHRFLBLF.js +329 -0
  262. package/dist/regression-5XG5LXP7.js +56 -0
  263. package/dist/regression.inputs-QHXK7ZYY.js +48 -0
  264. package/dist/regression.inputs.term-YYO3CR2D.js +48 -0
  265. package/dist/regression.inputs.values.table-3I2FCON2.js +45 -0
  266. package/dist/regression.integration.spec-QVDGCKVT.js +784 -0
  267. package/dist/regression.results-B7LVT2WG.js +40 -0
  268. package/dist/regression.spec-ISYKKQOM.js +708 -0
  269. package/dist/report-TF6Z3Y44.js +222 -0
  270. package/dist/sampleScatter.spec-2VW55XIZ.js +202 -0
  271. package/dist/sampleView-DNNJRAMU.js +48 -0
  272. package/dist/samplelst-726II3LN.js +111 -0
  273. package/dist/samplematrix-TBPW4URH.js +2198 -0
  274. package/dist/sc-GBYH3W4S.js +86 -0
  275. package/dist/scatter-ATUM7AEW.js +849 -0
  276. package/dist/scatter-ATUM7AEW.js.map +7 -0
  277. package/dist/scatter.integration.spec-PDM454O3.js +1197 -0
  278. package/dist/scatter.integration.spec-PDM454O3.js.map +7 -0
  279. package/dist/selectGenomeWithTklst-RCAYDV6D.js +134 -0
  280. package/dist/singleCellCellType-IQYCKUT6.js +38 -0
  281. package/dist/singleCellCellType.unit.spec-ZEWA2IFI.js +160 -0
  282. package/dist/singleCellGeneExpression-STLTBXJQ.js +38 -0
  283. package/dist/singleCellGeneExpression.unit.spec-W6FPS5ZU.js +153 -0
  284. package/dist/singleCellPlot-7XH7NIL4.js +54 -0
  285. package/dist/singlecell-IDZB2MXW.js +86 -0
  286. package/dist/singlecell-JCXR7X5U.js +1572 -0
  287. package/dist/snp-QOKI26PO.js +38 -0
  288. package/dist/snp.unit.spec-DTPZAALW.js +176 -0
  289. package/dist/snplocus-BKUJYANW.js +208 -0
  290. package/dist/spliceevent.a53ss.diagram-4O54ORKZ.js +151 -0
  291. package/dist/spliceevent.exonskip.diagram-KOIOS6IV.js +277 -0
  292. package/dist/spliceevent.noeventdiagram-YGUGQMVE.js +460 -0
  293. package/dist/ssGSEA-UZMBIHVD.js +38 -0
  294. package/dist/ssGSEA.unit.spec-4YO4E3T7.js +88 -0
  295. package/dist/stattable-MDABSW3F.js +90 -0
  296. package/dist/summarizeCnvGeneexp-HV3DHIW4.js +163 -0
  297. package/dist/summarizeGeneexpSurvival-VGPRWYQ5.js +108 -0
  298. package/dist/summarizeMutationCnv-N3JEB4DJ.js +164 -0
  299. package/dist/summarizeMutationDiagnosis-6U4DBLG5.js +40 -0
  300. package/dist/summarizeMutationSurvival-S7NLAVEI.js +99 -0
  301. package/dist/summary-NPR56I4S.js +49 -0
  302. package/dist/summary.integration.spec-HWNJWLKT.js +414 -0
  303. package/dist/summaryInput-DO73NGDQ.js +235 -0
  304. package/dist/sunburst-MMXSGJSL.js +284 -0
  305. package/dist/survival-7AIKFGV5.js +58 -0
  306. package/dist/survival-UK332X6L.js +46 -0
  307. package/dist/survival.integration.spec-YMTEKEGB.js +821 -0
  308. package/dist/svgraph-MLLAYO4A.js +1387 -0
  309. package/dist/svmr-PYW4PLT3.js +3842 -0
  310. package/dist/table-Y3ED2444.js +200 -0
  311. package/dist/termCollection-3XVL75II.js +38 -0
  312. package/dist/termCollection-VAB53YGO.js +179 -0
  313. package/dist/termCollection.unit.spec-DYPWNVEZ.js +208 -0
  314. package/dist/termInfo-6MJDJSDW.js +9 -0
  315. package/dist/tk-GUGJYKJ2.js +46 -0
  316. package/dist/tp.ui-WGETBYJQ.js +1459 -0
  317. package/dist/tvs.dt-JWF4I3KY.js +39 -0
  318. package/dist/tvs.dtcnv.categorical-72Y5QMPL.js +40 -0
  319. package/dist/tvs.dtcnv.continuous-73LHWTU5.js +72 -0
  320. package/dist/tvs.dtfusion-LP6HUMZU.js +40 -0
  321. package/dist/tvs.dtsnvindel-23N2CFZJ.js +40 -0
  322. package/dist/tvs.dtsv-DILQVKYM.js +40 -0
  323. package/dist/tvs.samplelst-GV4VSCRF.js +104 -0
  324. package/dist/tvs.termCollection-KBDNXK7X.js +159 -0
  325. package/dist/violin-TYUP7FB5.js +46 -0
  326. package/dist/violin.integration.spec-ULRFK2A6.js +1425 -0
  327. package/dist/violin.interactivity-2QZVQWQJ.js +38 -0
  328. package/dist/violin.renderer-HCDSN62Z.js +40 -0
  329. package/dist/vocabulary-I4CMPN2Z.js +41 -0
  330. package/package.json +3 -3
  331. package/dist/2dmaf-ZCIOFNSJ.js +0 -1373
  332. package/dist/AIProjectAdmin-Z7EA2Y74.js +0 -829
  333. package/dist/AppHeader-4AZ76NN3.js +0 -835
  334. package/dist/BoxPlot-BFVBNQNR.js +0 -1217
  335. package/dist/BoxPlot-BFVBNQNR.js.map +0 -7
  336. package/dist/CorrelationVolcano-L5VSJWJF.js +0 -619
  337. package/dist/DE-7TPZWAKI.js +0 -95
  338. package/dist/DEinput-WQJEXWGY.js +0 -301
  339. package/dist/DifferentialAnalysis-FPG7RDNN.js +0 -245
  340. package/dist/Disco-WP2BBL5V.js +0 -3237
  341. package/dist/Disco.UI-ZYSUA57E.js +0 -245
  342. package/dist/DmrPlot-V3E7JMPN.js +0 -642
  343. package/dist/DziViewer-ZHAPJ457.js +0 -16332
  344. package/dist/GB-BKLVGYWP.js +0 -1130
  345. package/dist/GeneExpInput-7V72SRDT.js +0 -366
  346. package/dist/HicApp-IT5YNABL.js +0 -2250
  347. package/dist/NumBinaryEditor-7E37MVQO.js +0 -270
  348. package/dist/NumBinaryEditor-7E37MVQO.js.map +0 -7
  349. package/dist/NumBinaryEditor.unit.spec-C3WVAXMY.js +0 -286
  350. package/dist/NumContEditor-FEVZJUB4.js +0 -107
  351. package/dist/NumContEditor-FEVZJUB4.js.map +0 -7
  352. package/dist/NumContEditor.unit.spec-4IGP657P.js +0 -169
  353. package/dist/NumCustomBinEditor-QC4D63Y5.js +0 -38
  354. package/dist/NumCustomBinEditor.unit.spec-USLECMWI.js +0 -284
  355. package/dist/NumDiscreteEditor-PRAI76XQ.js +0 -179
  356. package/dist/NumDiscreteEditor.unit.spec-IWL3OCTC.js +0 -202
  357. package/dist/NumRegularBinEditor-ESL2HAD7.js +0 -38
  358. package/dist/NumRegularBinEditor.unit.spec-7LLZAW4Z.js +0 -227
  359. package/dist/NumSplineEditor-JZOROO36.js +0 -197
  360. package/dist/NumSplineEditor-JZOROO36.js.map +0 -7
  361. package/dist/NumSplineEditor.unit.spec-3SHSXTC7.js +0 -199
  362. package/dist/NumericDensity-SGYRBDCQ.js +0 -38
  363. package/dist/NumericDensity.unit.spec-Y6JMH6IR.js +0 -221
  364. package/dist/NumericHandler-YG7AMINA.js +0 -39
  365. package/dist/NumericHandler.unit.spec-CABSMERN.js +0 -219
  366. package/dist/ProteomeInput-2WPCK72Z.js +0 -396
  367. package/dist/RunChart2-PJWMDWJR.js +0 -758
  368. package/dist/SC-WVVUFPNU.js +0 -936
  369. package/dist/Volcano-7JI4LUSF.js +0 -1379
  370. package/dist/WSIViewer-GDSOEEA6.js +0 -48475
  371. package/dist/WsiSamplesPlot-Z5C3NPF7.js +0 -165
  372. package/dist/adSandbox-KQKENDNQ.js +0 -38
  373. package/dist/alphaGenome-PN2SEPCK.js +0 -175
  374. package/dist/alphaGenome-PN2SEPCK.js.map +0 -7
  375. package/dist/app-4OEY56FN.js +0 -49
  376. package/dist/app-TGMYXJ4E.js +0 -37
  377. package/dist/bam-3IMX42G5.js +0 -860
  378. package/dist/barchart-44HOJWVS.js +0 -47
  379. package/dist/barchart.data-CHNR4XL2.js +0 -22
  380. package/dist/barchart.events-XW5OZ5MR.js +0 -47
  381. package/dist/barchart.integration.spec-M5PACARH.js +0 -1923
  382. package/dist/barchart.integration.spec-M5PACARH.js.map +0 -7
  383. package/dist/barchart2-4NU7NWJZ.js +0 -311
  384. package/dist/block-OYSZ2JXC.js +0 -6202
  385. package/dist/block.init-WSIQLW7A.js +0 -38
  386. package/dist/block.mds.expressionrank-2KWOWDW4.js +0 -359
  387. package/dist/block.mds.geneboxplot-6ZAD6A5K.js +0 -828
  388. package/dist/block.mds.junction-VQDLHFNG.js +0 -1545
  389. package/dist/block.mds.svcnv-7OIRG7DQ.js +0 -6801
  390. package/dist/block.svg-HXAIFHXM.js +0 -164
  391. package/dist/block.tk.aicheck-GTGHCUEN.js +0 -283
  392. package/dist/block.tk.ase-TAEE2ZHN.js +0 -365
  393. package/dist/block.tk.bam-6A26AZ7S.js +0 -1906
  394. package/dist/block.tk.bedgraphdot-6MYIVRBC.js +0 -384
  395. package/dist/block.tk.bigwig.ui-GJ7JXRH3.js +0 -212
  396. package/dist/block.tk.hicstraw-3TCDZ2GM.js +0 -823
  397. package/dist/block.tk.junction-WDBIP7DK.js +0 -2364
  398. package/dist/block.tk.junction.textmatrixui-QOV3U7AN.js +0 -199
  399. package/dist/block.tk.ld-GCPH66C3.js +0 -99
  400. package/dist/block.tk.menu-YDAIYUGC.js +0 -1029
  401. package/dist/block.tk.pgv-RWOZAUGA.js +0 -944
  402. package/dist/brainImaging-ZAFU6U2Y.js +0 -423
  403. package/dist/chunk-34SAHEQU.js +0 -291
  404. package/dist/chunk-3I7TUGLD.js +0 -226
  405. package/dist/chunk-3JL2HBGE.js +0 -2824
  406. package/dist/chunk-3L32ZXRS.js +0 -117
  407. package/dist/chunk-5GMXV4VC.js +0 -5010
  408. package/dist/chunk-5ITQVR2P.js +0 -102
  409. package/dist/chunk-5TKVUSMQ.js +0 -217
  410. package/dist/chunk-5V43Y2RC.js +0 -774
  411. package/dist/chunk-5V43Y2RC.js.map +0 -7
  412. package/dist/chunk-5X6J6UAT.js +0 -473
  413. package/dist/chunk-5YF3LGLX.js +0 -2327
  414. package/dist/chunk-76PGYH5J.js +0 -203
  415. package/dist/chunk-7JXLWRVZ.js +0 -2681
  416. package/dist/chunk-7YWFO7CJ.js +0 -6364
  417. package/dist/chunk-B3M3AZPL.js +0 -215
  418. package/dist/chunk-B3M3AZPL.js.map +0 -7
  419. package/dist/chunk-B4VRYXOQ.js +0 -288
  420. package/dist/chunk-B4VRYXOQ.js.map +0 -7
  421. package/dist/chunk-BLKF2SE6.js +0 -37
  422. package/dist/chunk-CA2AOIHR.js +0 -142
  423. package/dist/chunk-DBFPAZG3.js +0 -1943
  424. package/dist/chunk-DCJUDSRM.js +0 -446
  425. package/dist/chunk-DNM2DKYE.js +0 -1332
  426. package/dist/chunk-DVH6K2NP.js +0 -14
  427. package/dist/chunk-DYVY7D67.js +0 -263
  428. package/dist/chunk-E4IHE23N.js +0 -398
  429. package/dist/chunk-E4IHE23N.js.map +0 -7
  430. package/dist/chunk-G6WVVRDA.js +0 -339
  431. package/dist/chunk-GERVYIL4.js +0 -1210
  432. package/dist/chunk-GKBMGKYN.js +0 -117
  433. package/dist/chunk-GRNZWYOJ.js +0 -815
  434. package/dist/chunk-GS7SQKJT.js +0 -102
  435. package/dist/chunk-H5NNQO2V.js +0 -55
  436. package/dist/chunk-HONXMORI.js +0 -368
  437. package/dist/chunk-HURY7IJE.js +0 -4272
  438. package/dist/chunk-HURY7IJE.js.map +0 -7
  439. package/dist/chunk-HWVEN2MK.js +0 -498
  440. package/dist/chunk-I2RRWDYV.js +0 -514
  441. package/dist/chunk-IFA3COXY.js +0 -185
  442. package/dist/chunk-IFA3COXY.js.map +0 -7
  443. package/dist/chunk-IOQV2VX3.js +0 -2786
  444. package/dist/chunk-IWMWT7O7.js +0 -276
  445. package/dist/chunk-JSEMZPAO.js +0 -34
  446. package/dist/chunk-K7UIR22L.js +0 -229
  447. package/dist/chunk-K7UIR22L.js.map +0 -7
  448. package/dist/chunk-L75HW457.js +0 -824
  449. package/dist/chunk-LO6OYUDE.js +0 -158
  450. package/dist/chunk-LO6OYUDE.js.map +0 -7
  451. package/dist/chunk-LRZ463XM.js +0 -612
  452. package/dist/chunk-LRZ463XM.js.map +0 -7
  453. package/dist/chunk-MQQRTH4U.js +0 -302
  454. package/dist/chunk-NPEQHLVG.js +0 -158
  455. package/dist/chunk-NPTHYZY4.js +0 -205
  456. package/dist/chunk-NZDQV7ZO.js +0 -50
  457. package/dist/chunk-O7Z7SQCS.js +0 -534
  458. package/dist/chunk-OSWTQVAX.js +0 -477
  459. package/dist/chunk-OY4NTIUQ.js +0 -1272
  460. package/dist/chunk-OY4NTIUQ.js.map +0 -7
  461. package/dist/chunk-PKDJVK2F.js +0 -381
  462. package/dist/chunk-PSQETQZZ.js +0 -182
  463. package/dist/chunk-QWOZ2QDM.js +0 -386
  464. package/dist/chunk-QZVCFDJ7.js +0 -736
  465. package/dist/chunk-R4BCNWKE.js +0 -54
  466. package/dist/chunk-RRWP2LM4.js +0 -143
  467. package/dist/chunk-S6H6OUOA.js +0 -283
  468. package/dist/chunk-S6OIEQXG.js +0 -443
  469. package/dist/chunk-SDMZUHN7.js +0 -482
  470. package/dist/chunk-SKZ37PND.js +0 -129
  471. package/dist/chunk-STQU7XZV.js +0 -1814
  472. package/dist/chunk-STQU7XZV.js.map +0 -7
  473. package/dist/chunk-SY63VCQB.js +0 -95
  474. package/dist/chunk-TEQ2PC7Z.js +0 -100
  475. package/dist/chunk-TRY57CMI.js +0 -148
  476. package/dist/chunk-TXJTOTIQ.js +0 -1102
  477. package/dist/chunk-UK3PTE3P.js +0 -20752
  478. package/dist/chunk-UK3PTE3P.js.map +0 -7
  479. package/dist/chunk-UT2PKKQ4.js +0 -254
  480. package/dist/chunk-VDPQ2ZV2.js +0 -95
  481. package/dist/chunk-VJH3NP42.js +0 -54
  482. package/dist/chunk-W3LVNVG3.js +0 -272
  483. package/dist/chunk-WC62ZAWT.js +0 -293
  484. package/dist/chunk-WKMZ4ZQ3.js +0 -407
  485. package/dist/chunk-WKMZ4ZQ3.js.map +0 -7
  486. package/dist/chunk-X27TRPIZ.js +0 -119
  487. package/dist/chunk-XIIAQQ4T.js +0 -1179
  488. package/dist/chunk-XIIAQQ4T.js.map +0 -7
  489. package/dist/chunk-XOCO3LVN.js +0 -317
  490. package/dist/chunk-XOCO3LVN.js.map +0 -7
  491. package/dist/chunk-XUFWJJM5.js +0 -454
  492. package/dist/chunk-XUFWJJM5.js.map +0 -7
  493. package/dist/chunk-Y2Z4XDHA.js +0 -170
  494. package/dist/chunk-YFKJ2TMX.js +0 -194
  495. package/dist/chunk-YPVFTNLG.js +0 -228
  496. package/dist/chunk-YPVFTNLG.js.map +0 -7
  497. package/dist/condition-XKEW2LCM.js +0 -332
  498. package/dist/controls-4RFWTHFH.js +0 -41
  499. package/dist/controls.btns-3QQ5FOKQ.js +0 -9
  500. package/dist/controls.config-VHH2IGCI.js +0 -39
  501. package/dist/correlation-HGAMIIPH.js +0 -99
  502. package/dist/correlation-HGAMIIPH.js.map +0 -7
  503. package/dist/cuminc-EHW6IH6V.js +0 -1149
  504. package/dist/cuminc.integration.spec-B3EOIE4K.js +0 -678
  505. package/dist/customdata.inputui-IPJHL7BX.js +0 -289
  506. package/dist/dataDownload-GYFEC6XG.js +0 -330
  507. package/dist/dataDownload.integration.spec-V7WQ6AMV.js +0 -193
  508. package/dist/databrowser.ui-TFAJVFFF.js +0 -433
  509. package/dist/dictionary-2ZSMOJCN.js +0 -111
  510. package/dist/dnaMethylation-RHNO5DAC.js +0 -38
  511. package/dist/dnaMethylation.integration.spec-ET7OLMNC.js +0 -203
  512. package/dist/dofetch-UGCQ3OVW.js +0 -51
  513. package/dist/e2pca-SLRCDKF5.js +0 -350
  514. package/dist/ep-FOFTKVBH.js +0 -1256
  515. package/dist/expclust.gdc.spec-FNOOSLCC.js +0 -307
  516. package/dist/facet-UO5A7AGS.js +0 -521
  517. package/dist/forms2-SFV4HHBA.js +0 -534
  518. package/dist/gb-3KR6MAGB.js +0 -88
  519. package/dist/geneExpClustering-BCDXKSNU.js +0 -249
  520. package/dist/geneExpression-5UPKETEZ.js +0 -313
  521. package/dist/geneExpression-CXQ5HFEP.js +0 -38
  522. package/dist/geneExpression.unit.spec-7FVVD4UF.js +0 -102
  523. package/dist/geneORA-UC45CL2U.js +0 -278
  524. package/dist/geneRanking-OOQWVUIG.js +0 -551
  525. package/dist/geneVariant-BQFB7LKZ.js +0 -39
  526. package/dist/geneVariant-BYN7EWTT.js +0 -41
  527. package/dist/geneVariant.integration.spec-OESHXKBV.js +0 -198
  528. package/dist/genefusion.ui-TOSPIGTE.js +0 -309
  529. package/dist/geneset-57DECCND.js +0 -208
  530. package/dist/genomeBrowser.spec-CQP5JG35.js +0 -281
  531. package/dist/grin2-3RDGRV4Z.js +0 -846
  532. package/dist/grin2-3RDGRV4Z.js.map +0 -7
  533. package/dist/grin2-G4MBI5UC.js +0 -1560
  534. package/dist/gsea-VYAXSBM4.js +0 -47
  535. package/dist/hierCluster-4QKMY7GP.js +0 -59
  536. package/dist/hierCluster-GFPFVB3Q.js +0 -63
  537. package/dist/hierCluster.config-3A24DEKA.js +0 -40
  538. package/dist/hierCluster.integration.spec-6NTJYVN4.js +0 -395
  539. package/dist/hierCluster.interactivity-B2T6WS5R.js +0 -54
  540. package/dist/hierCluster.renderers-R3RLK6BI.js +0 -21
  541. package/dist/imagePlot-YZBZRENG.js +0 -163
  542. package/dist/importPlot-LIXKD3WJ.js +0 -8
  543. package/dist/isoformExpression-ZZ5DL6AE.js +0 -40
  544. package/dist/isoformExpression.unit.spec-IH4247TT.js +0 -208
  545. package/dist/launch.adhoc-3YWVAF7R.js +0 -42
  546. package/dist/leftlabel.sample-XFM45ZKO.js +0 -260
  547. package/dist/lollipop-7K5R5KHB.js +0 -171
  548. package/dist/maf-SQVJHNUY.js +0 -452
  549. package/dist/maftimeline-RCPASNN2.js +0 -593
  550. package/dist/matrix-KHTDB56P.js +0 -63
  551. package/dist/matrix-YTHWIMBP.js +0 -58
  552. package/dist/matrix.cells-KNDVYI2S.js +0 -28
  553. package/dist/matrix.config-6BHBCTXE.js +0 -41
  554. package/dist/matrix.data-VWJQ7N4L.js +0 -25
  555. package/dist/matrix.dom-2SU4EYLI.js +0 -11
  556. package/dist/matrix.groups-5AUHEO52.js +0 -27
  557. package/dist/matrix.integration.spec-Q2BXNCUO.js +0 -3072
  558. package/dist/matrix.interactivity-FEEWY34M.js +0 -42
  559. package/dist/matrix.layout-FWWM6QQO.js +0 -44
  560. package/dist/matrix.legend-QT3PMREX.js +0 -22
  561. package/dist/matrix.renderers-M6MJO5IU.js +0 -38
  562. package/dist/matrix.serieses-NTKMKT22.js +0 -21
  563. package/dist/matrix.sort-TTHPJ4XC.js +0 -27
  564. package/dist/matrix.sort.unit.spec-XZI2KPNC.js +0 -472
  565. package/dist/matrix.sorterUi-FFLYKBGC.js +0 -18
  566. package/dist/matrix.sorterUi.unit.spec-6FVHTGSN.js +0 -342
  567. package/dist/mavb-FZDN27QY.js +0 -732
  568. package/dist/mds.fimo-SSFKQ3BH.js +0 -518
  569. package/dist/mds.samplescatterplot-BMTTX3TB.js +0 -1550
  570. package/dist/mds.survivalplot-PL75RDYI.js +0 -483
  571. package/dist/numericDictTermCluster-NJUXCQYH.js +0 -72
  572. package/dist/oncomatrix-BZDCCEWH.js +0 -295
  573. package/dist/oncomatrix.spec-5A4A4JLV.js +0 -448
  574. package/dist/plot.2dvaf-AC7LW56S.js +0 -377
  575. package/dist/plot.app-DOOWDQ3U.js +0 -41
  576. package/dist/plot.barplot-RNJWREG5.js +0 -102
  577. package/dist/plot.boxplot-CRAEUBQF.js +0 -152
  578. package/dist/plot.brainImaging-ZESEULN6.js +0 -51
  579. package/dist/plot.disco-B4KBP6RK.js +0 -102
  580. package/dist/plot.dzi-2UMRV6IF.js +0 -33
  581. package/dist/plot.ssgq-FVZ27Z2K.js +0 -139
  582. package/dist/plot.vaf2cov-3OXCIEAX.js +0 -259
  583. package/dist/plot.wsi-UKTLZSYW.js +0 -36
  584. package/dist/polar2-D6T34ONJ.js +0 -226
  585. package/dist/polar2-D6T34ONJ.js.map +0 -7
  586. package/dist/profileForms-SBNPRIFT.js +0 -441
  587. package/dist/profilePlot-PPI4IDP4.js +0 -54
  588. package/dist/proteinView-URQEZSH5.js +0 -1320
  589. package/dist/proteinView-URQEZSH5.js.map +0 -7
  590. package/dist/qualitative-4O6KAGEA.js +0 -43
  591. package/dist/radar2-ICKCJY4T.js +0 -321
  592. package/dist/radarFacility2-HEBBSM3T.js +0 -329
  593. package/dist/regression-YFQJE2EP.js +0 -56
  594. package/dist/regression.inputs-A2JVBVZ7.js +0 -48
  595. package/dist/regression.inputs.term-CTVNS5MO.js +0 -48
  596. package/dist/regression.inputs.values.table-X7SI6EDO.js +0 -45
  597. package/dist/regression.integration.spec-NRDEVBWS.js +0 -784
  598. package/dist/regression.results-XVB6CIGW.js +0 -40
  599. package/dist/regression.spec-TNB5HBY5.js +0 -708
  600. package/dist/report-5VDIBC2W.js +0 -222
  601. package/dist/sampleScatter.spec-XDW7SCYA.js +0 -202
  602. package/dist/sampleView-FLUSGZCM.js +0 -48
  603. package/dist/samplelst-4WPG5UBN.js +0 -111
  604. package/dist/samplematrix-YJGMSXUJ.js +0 -2198
  605. package/dist/sc-DHU5KSEJ.js +0 -86
  606. package/dist/scatter-UZMWX3DU.js +0 -854
  607. package/dist/scatter-UZMWX3DU.js.map +0 -7
  608. package/dist/scatter.integration.spec-YX5OC3L2.js +0 -1196
  609. package/dist/scatter.integration.spec-YX5OC3L2.js.map +0 -7
  610. package/dist/selectGenomeWithTklst-BVBMVRMQ.js +0 -134
  611. package/dist/singleCellCellType-DADK5UKZ.js +0 -38
  612. package/dist/singleCellCellType.unit.spec-X25RMBJ3.js +0 -160
  613. package/dist/singleCellGeneExpression-3UEZWI4E.js +0 -38
  614. package/dist/singleCellGeneExpression.unit.spec-5GU3JWE6.js +0 -153
  615. package/dist/singleCellPlot-TFRZG73T.js +0 -54
  616. package/dist/singlecell-HQH6EWJO.js +0 -1572
  617. package/dist/singlecell-KR6JYFAY.js +0 -86
  618. package/dist/snp-ACIZ7D5X.js +0 -38
  619. package/dist/snp.unit.spec-653HGJBM.js +0 -176
  620. package/dist/snplocus-AH6KJCVN.js +0 -208
  621. package/dist/spliceevent.a53ss.diagram-MKJLJDOG.js +0 -151
  622. package/dist/spliceevent.exonskip.diagram-PSEVCDH4.js +0 -277
  623. package/dist/spliceevent.noeventdiagram-T2LHGFN7.js +0 -460
  624. package/dist/ssGSEA-QFMYBITZ.js +0 -38
  625. package/dist/ssGSEA.unit.spec-SQW7KFWE.js +0 -88
  626. package/dist/stattable-QDIUQCMG.js +0 -90
  627. package/dist/summarizeCnvGeneexp-EVRTBY3L.js +0 -163
  628. package/dist/summarizeGeneexpSurvival-O3MGRS6K.js +0 -108
  629. package/dist/summarizeMutationCnv-RZ2DZ2XO.js +0 -164
  630. package/dist/summarizeMutationDiagnosis-V2DISQTC.js +0 -40
  631. package/dist/summarizeMutationSurvival-FTTWJBUG.js +0 -99
  632. package/dist/summary-QKBTZINC.js +0 -49
  633. package/dist/summary.integration.spec-54HA7BC2.js +0 -414
  634. package/dist/summaryInput-4RLZT6RW.js +0 -235
  635. package/dist/sunburst-SMKD45XD.js +0 -284
  636. package/dist/survival-BAW5ME6J.js +0 -46
  637. package/dist/survival-YQNA3WP7.js +0 -58
  638. package/dist/survival.integration.spec-2AHXNMH2.js +0 -821
  639. package/dist/svgraph-5Z7VAIVR.js +0 -1387
  640. package/dist/svmr-PHD76RV4.js +0 -3842
  641. package/dist/table-GMRAOIWZ.js +0 -200
  642. package/dist/termCollection-MEBY34TJ.js +0 -179
  643. package/dist/termCollection-QLKTRXUR.js +0 -38
  644. package/dist/termCollection.unit.spec-6B53SW2Q.js +0 -208
  645. package/dist/termInfo-2Z4V2QLE.js +0 -9
  646. package/dist/tk-X46SEOL7.js +0 -46
  647. package/dist/tp.ui-XV7CL7CA.js +0 -1459
  648. package/dist/tvs.dt-U6SIZTXW.js +0 -39
  649. package/dist/tvs.dtcnv.categorical-6YGEKMHW.js +0 -40
  650. package/dist/tvs.dtcnv.continuous-CQFEENBO.js +0 -72
  651. package/dist/tvs.dtfusion-NOBT2JPI.js +0 -40
  652. package/dist/tvs.dtsnvindel-6GTCSVAV.js +0 -40
  653. package/dist/tvs.dtsv-PMI4YVI5.js +0 -40
  654. package/dist/tvs.samplelst-HVNYKHXG.js +0 -104
  655. package/dist/tvs.termCollection-EWGTT75Z.js +0 -159
  656. package/dist/violin-MKWRB25Z.js +0 -46
  657. package/dist/violin.integration.spec-CNWJ43SD.js +0 -1425
  658. package/dist/violin.interactivity-UXOMTGSD.js +0 -38
  659. package/dist/violin.renderer-67Q6YGYQ.js +0 -40
  660. package/dist/vocabulary-AKXE7SNU.js +0 -41
  661. /package/dist/{2dmaf-ZCIOFNSJ.js.map → 2dmaf-V4WJ2LEK.js.map} +0 -0
  662. /package/dist/{AIProjectAdmin-Z7EA2Y74.js.map → AIProjectAdmin-JMN5O6YU.js.map} +0 -0
  663. /package/dist/{AppHeader-4AZ76NN3.js.map → AppHeader-Y4SEKCEF.js.map} +0 -0
  664. /package/dist/{CorrelationVolcano-L5VSJWJF.js.map → CorrelationVolcano-R5IWD6WA.js.map} +0 -0
  665. /package/dist/{DE-7TPZWAKI.js.map → DE-ZV6O7B6Y.js.map} +0 -0
  666. /package/dist/{DEinput-WQJEXWGY.js.map → DEinput-FTOALZKN.js.map} +0 -0
  667. /package/dist/{DifferentialAnalysis-FPG7RDNN.js.map → DifferentialAnalysis-NLCA766A.js.map} +0 -0
  668. /package/dist/{Disco-WP2BBL5V.js.map → Disco-Y5Z4A7GN.js.map} +0 -0
  669. /package/dist/{Disco.UI-ZYSUA57E.js.map → Disco.UI-GSWZYIUT.js.map} +0 -0
  670. /package/dist/{DmrPlot-V3E7JMPN.js.map → DmrPlot-FEFUCIGT.js.map} +0 -0
  671. /package/dist/{DziViewer-ZHAPJ457.js.map → DziViewer-6737GC22.js.map} +0 -0
  672. /package/dist/{GB-BKLVGYWP.js.map → GB-AOXF2JJB.js.map} +0 -0
  673. /package/dist/{GeneExpInput-7V72SRDT.js.map → GeneExpInput-CXYRKQU7.js.map} +0 -0
  674. /package/dist/{HicApp-IT5YNABL.js.map → HicApp-GLNNZ4H5.js.map} +0 -0
  675. /package/dist/{NumBinaryEditor.unit.spec-C3WVAXMY.js.map → NumBinaryEditor.unit.spec-3VTJLILH.js.map} +0 -0
  676. /package/dist/{NumContEditor.unit.spec-4IGP657P.js.map → NumContEditor.unit.spec-WIMYCOVO.js.map} +0 -0
  677. /package/dist/{NumCustomBinEditor-QC4D63Y5.js.map → NumCustomBinEditor-XIOAYWOD.js.map} +0 -0
  678. /package/dist/{NumCustomBinEditor.unit.spec-USLECMWI.js.map → NumCustomBinEditor.unit.spec-N5OV6MKR.js.map} +0 -0
  679. /package/dist/{NumDiscreteEditor-PRAI76XQ.js.map → NumDiscreteEditor-AT6FKYGI.js.map} +0 -0
  680. /package/dist/{NumDiscreteEditor.unit.spec-IWL3OCTC.js.map → NumDiscreteEditor.unit.spec-BDR5GZ46.js.map} +0 -0
  681. /package/dist/{NumRegularBinEditor-ESL2HAD7.js.map → NumRegularBinEditor-Z4NBS4VZ.js.map} +0 -0
  682. /package/dist/{NumRegularBinEditor.unit.spec-7LLZAW4Z.js.map → NumRegularBinEditor.unit.spec-BRWYNQ55.js.map} +0 -0
  683. /package/dist/{NumSplineEditor.unit.spec-3SHSXTC7.js.map → NumSplineEditor.unit.spec-5RDBCZ4N.js.map} +0 -0
  684. /package/dist/{NumericDensity-SGYRBDCQ.js.map → NumericDensity-L7HIVV7D.js.map} +0 -0
  685. /package/dist/{NumericDensity.unit.spec-Y6JMH6IR.js.map → NumericDensity.unit.spec-PL3XDJCV.js.map} +0 -0
  686. /package/dist/{NumericHandler-YG7AMINA.js.map → NumericHandler-KJYZOCCG.js.map} +0 -0
  687. /package/dist/{NumericHandler.unit.spec-CABSMERN.js.map → NumericHandler.unit.spec-VC7NPLJW.js.map} +0 -0
  688. /package/dist/{ProteomeInput-2WPCK72Z.js.map → ProteomeInput-A3GRPIAH.js.map} +0 -0
  689. /package/dist/{RunChart2-PJWMDWJR.js.map → RunChart2-MSNU3ZNT.js.map} +0 -0
  690. /package/dist/{SC-WVVUFPNU.js.map → SC-FNKG2FK5.js.map} +0 -0
  691. /package/dist/{Volcano-7JI4LUSF.js.map → Volcano-IRJMPHXJ.js.map} +0 -0
  692. /package/dist/{WSIViewer-GDSOEEA6.js.map → WSIViewer-KITT7I67.js.map} +0 -0
  693. /package/dist/{WsiSamplesPlot-Z5C3NPF7.js.map → WsiSamplesPlot-G3YZ6SIE.js.map} +0 -0
  694. /package/dist/{adSandbox-KQKENDNQ.js.map → adSandbox-GIQTJ4VA.js.map} +0 -0
  695. /package/dist/{app-4OEY56FN.js.map → app-MGNEMS2K.js.map} +0 -0
  696. /package/dist/{app-TGMYXJ4E.js.map → app-UQTHPQFD.js.map} +0 -0
  697. /package/dist/{bam-3IMX42G5.js.map → bam-5PROQBRT.js.map} +0 -0
  698. /package/dist/{barchart-44HOJWVS.js.map → barchart-BQYJ73Z4.js.map} +0 -0
  699. /package/dist/{barchart.data-CHNR4XL2.js.map → barchart.data-VFULOIHY.js.map} +0 -0
  700. /package/dist/{barchart.events-XW5OZ5MR.js.map → barchart.events-W2CIDD4B.js.map} +0 -0
  701. /package/dist/{barchart2-4NU7NWJZ.js.map → barchart2-V6W4UAFH.js.map} +0 -0
  702. /package/dist/{block-OYSZ2JXC.js.map → block-5V2FCT7Q.js.map} +0 -0
  703. /package/dist/{block.init-WSIQLW7A.js.map → block.init-43IUNDNB.js.map} +0 -0
  704. /package/dist/{block.mds.expressionrank-2KWOWDW4.js.map → block.mds.expressionrank-LI6MZPBE.js.map} +0 -0
  705. /package/dist/{block.mds.geneboxplot-6ZAD6A5K.js.map → block.mds.geneboxplot-673AIJMJ.js.map} +0 -0
  706. /package/dist/{block.mds.junction-VQDLHFNG.js.map → block.mds.junction-UWNVNV3X.js.map} +0 -0
  707. /package/dist/{block.mds.svcnv-7OIRG7DQ.js.map → block.mds.svcnv-Z5VFCUUE.js.map} +0 -0
  708. /package/dist/{block.svg-HXAIFHXM.js.map → block.svg-MGK4GWLL.js.map} +0 -0
  709. /package/dist/{block.tk.aicheck-GTGHCUEN.js.map → block.tk.aicheck-OFNDGG7Q.js.map} +0 -0
  710. /package/dist/{block.tk.ase-TAEE2ZHN.js.map → block.tk.ase-IDZQY7MW.js.map} +0 -0
  711. /package/dist/{block.tk.bam-6A26AZ7S.js.map → block.tk.bam-K7A2Q5NI.js.map} +0 -0
  712. /package/dist/{block.tk.bedgraphdot-6MYIVRBC.js.map → block.tk.bedgraphdot-PPTKCCPK.js.map} +0 -0
  713. /package/dist/{block.tk.bigwig.ui-GJ7JXRH3.js.map → block.tk.bigwig.ui-PI6EAU43.js.map} +0 -0
  714. /package/dist/{block.tk.hicstraw-3TCDZ2GM.js.map → block.tk.hicstraw-EZ2GS2K4.js.map} +0 -0
  715. /package/dist/{block.tk.junction-WDBIP7DK.js.map → block.tk.junction-4WSLQGSQ.js.map} +0 -0
  716. /package/dist/{block.tk.junction.textmatrixui-QOV3U7AN.js.map → block.tk.junction.textmatrixui-7EJUSVMB.js.map} +0 -0
  717. /package/dist/{block.tk.ld-GCPH66C3.js.map → block.tk.ld-KLVO7M37.js.map} +0 -0
  718. /package/dist/{block.tk.menu-YDAIYUGC.js.map → block.tk.menu-KZSL7BAR.js.map} +0 -0
  719. /package/dist/{block.tk.pgv-RWOZAUGA.js.map → block.tk.pgv-NYWGB4VH.js.map} +0 -0
  720. /package/dist/{brainImaging-ZAFU6U2Y.js.map → brainImaging-MTIIMJHW.js.map} +0 -0
  721. /package/dist/{chunk-S6OIEQXG.js.map → chunk-2NQLAH3L.js.map} +0 -0
  722. /package/dist/{chunk-DBFPAZG3.js.map → chunk-2Q6PBSPS.js.map} +0 -0
  723. /package/dist/{chunk-GERVYIL4.js.map → chunk-3D5GZIGG.js.map} +0 -0
  724. /package/dist/{chunk-DYVY7D67.js.map → chunk-3TPAIXNL.js.map} +0 -0
  725. /package/dist/{chunk-SY63VCQB.js.map → chunk-42EBECOD.js.map} +0 -0
  726. /package/dist/{chunk-IOQV2VX3.js.map → chunk-4B42QV34.js.map} +0 -0
  727. /package/dist/{chunk-RRWP2LM4.js.map → chunk-4KY4XKJV.js.map} +0 -0
  728. /package/dist/{chunk-TEQ2PC7Z.js.map → chunk-5SXCIKYV.js.map} +0 -0
  729. /package/dist/{chunk-SDMZUHN7.js.map → chunk-647P2I4Q.js.map} +0 -0
  730. /package/dist/{chunk-5YF3LGLX.js.map → chunk-67HSIHPP.js.map} +0 -0
  731. /package/dist/{chunk-TXJTOTIQ.js.map → chunk-6GZJCSA6.js.map} +0 -0
  732. /package/dist/{chunk-GS7SQKJT.js.map → chunk-7JEKUSEL.js.map} +0 -0
  733. /package/dist/{chunk-OSWTQVAX.js.map → chunk-BMO6KSVC.js.map} +0 -0
  734. /package/dist/{chunk-NZDQV7ZO.js.map → chunk-CKDC326M.js.map} +0 -0
  735. /package/dist/{chunk-DCJUDSRM.js.map → chunk-CRUBP5PT.js.map} +0 -0
  736. /package/dist/{chunk-S6H6OUOA.js.map → chunk-CW2Q5EA7.js.map} +0 -0
  737. /package/dist/{chunk-7YWFO7CJ.js.map → chunk-CYHUNQMS.js.map} +0 -0
  738. /package/dist/{chunk-HWVEN2MK.js.map → chunk-DHPLHIVP.js.map} +0 -0
  739. /package/dist/{chunk-PKDJVK2F.js.map → chunk-DWCVGCBX.js.map} +0 -0
  740. /package/dist/{chunk-G6WVVRDA.js.map → chunk-EIBNV236.js.map} +0 -0
  741. /package/dist/{chunk-5TKVUSMQ.js.map → chunk-EZ3WMXYT.js.map} +0 -0
  742. /package/dist/{chunk-QZVCFDJ7.js.map → chunk-F5QIZOPL.js.map} +0 -0
  743. /package/dist/{chunk-BLKF2SE6.js.map → chunk-F6N6JBZR.js.map} +0 -0
  744. /package/dist/{chunk-VJH3NP42.js.map → chunk-FXMHSVBS.js.map} +0 -0
  745. /package/dist/{chunk-3I7TUGLD.js.map → chunk-FZ63VOSX.js.map} +0 -0
  746. /package/dist/{chunk-DNM2DKYE.js.map → chunk-GMT2GNQY.js.map} +0 -0
  747. /package/dist/{chunk-5X6J6UAT.js.map → chunk-IIT367QZ.js.map} +0 -0
  748. /package/dist/{chunk-WC62ZAWT.js.map → chunk-IL5QT2FI.js.map} +0 -0
  749. /package/dist/{chunk-7JXLWRVZ.js.map → chunk-J6GLTYGJ.js.map} +0 -0
  750. /package/dist/{chunk-QWOZ2QDM.js.map → chunk-JEZIKGZI.js.map} +0 -0
  751. /package/dist/{chunk-L75HW457.js.map → chunk-JJOLDYSQ.js.map} +0 -0
  752. /package/dist/{chunk-JSEMZPAO.js.map → chunk-KSCJWPTJ.js.map} +0 -0
  753. /package/dist/{chunk-W3LVNVG3.js.map → chunk-LT5XPBIX.js.map} +0 -0
  754. /package/dist/{chunk-PSQETQZZ.js.map → chunk-MEGBYD4U.js.map} +0 -0
  755. /package/dist/{chunk-Y2Z4XDHA.js.map → chunk-MEY5OBDJ.js.map} +0 -0
  756. /package/dist/{chunk-TRY57CMI.js.map → chunk-NVX26LFC.js.map} +0 -0
  757. /package/dist/{chunk-34SAHEQU.js.map → chunk-O7NFSCEW.js.map} +0 -0
  758. /package/dist/{chunk-HONXMORI.js.map → chunk-P4QGOUDH.js.map} +0 -0
  759. /package/dist/{chunk-SKZ37PND.js.map → chunk-PGBKZ76Y.js.map} +0 -0
  760. /package/dist/{chunk-NPTHYZY4.js.map → chunk-PQNVPSQR.js.map} +0 -0
  761. /package/dist/{chunk-R4BCNWKE.js.map → chunk-PQZ3A27I.js.map} +0 -0
  762. /package/dist/{chunk-5GMXV4VC.js.map → chunk-QNMB7LYW.js.map} +0 -0
  763. /package/dist/{chunk-3L32ZXRS.js.map → chunk-RZGEKL77.js.map} +0 -0
  764. /package/dist/{chunk-NPEQHLVG.js.map → chunk-RZY34QRF.js.map} +0 -0
  765. /package/dist/{chunk-DVH6K2NP.js.map → chunk-SDACELDR.js.map} +0 -0
  766. /package/dist/{chunk-CA2AOIHR.js.map → chunk-UCLROZRF.js.map} +0 -0
  767. /package/dist/{chunk-IWMWT7O7.js.map → chunk-VMLSRKIB.js.map} +0 -0
  768. /package/dist/{chunk-O7Z7SQCS.js.map → chunk-VXKO2ONI.js.map} +0 -0
  769. /package/dist/{chunk-GKBMGKYN.js.map → chunk-WET4LPLO.js.map} +0 -0
  770. /package/dist/{chunk-UT2PKKQ4.js.map → chunk-WMELUFVS.js.map} +0 -0
  771. /package/dist/{chunk-X27TRPIZ.js.map → chunk-WS3NUPNV.js.map} +0 -0
  772. /package/dist/{chunk-I2RRWDYV.js.map → chunk-X63AAJGT.js.map} +0 -0
  773. /package/dist/{chunk-GRNZWYOJ.js.map → chunk-XVZ5UJWU.js.map} +0 -0
  774. /package/dist/{chunk-3JL2HBGE.js.map → chunk-YNBT4N6T.js.map} +0 -0
  775. /package/dist/{chunk-H5NNQO2V.js.map → chunk-YVCTEEVQ.js.map} +0 -0
  776. /package/dist/{chunk-76PGYH5J.js.map → chunk-YWZCJMHS.js.map} +0 -0
  777. /package/dist/{chunk-5ITQVR2P.js.map → chunk-Z3SC67OA.js.map} +0 -0
  778. /package/dist/{chunk-YFKJ2TMX.js.map → chunk-ZK226W6V.js.map} +0 -0
  779. /package/dist/{chunk-MQQRTH4U.js.map → chunk-ZLREFIZB.js.map} +0 -0
  780. /package/dist/{chunk-VDPQ2ZV2.js.map → chunk-ZX2ISBEF.js.map} +0 -0
  781. /package/dist/{condition-XKEW2LCM.js.map → condition-P2XD32QM.js.map} +0 -0
  782. /package/dist/{controls-4RFWTHFH.js.map → controls-FZUTJPKV.js.map} +0 -0
  783. /package/dist/{controls.btns-3QQ5FOKQ.js.map → controls.btns-AP67YWKW.js.map} +0 -0
  784. /package/dist/{controls.config-VHH2IGCI.js.map → controls.config-TEFY3NTE.js.map} +0 -0
  785. /package/dist/{cuminc-EHW6IH6V.js.map → cuminc-42GBJHD3.js.map} +0 -0
  786. /package/dist/{cuminc.integration.spec-B3EOIE4K.js.map → cuminc.integration.spec-BAY4JHVL.js.map} +0 -0
  787. /package/dist/{customdata.inputui-IPJHL7BX.js.map → customdata.inputui-IPM5K56K.js.map} +0 -0
  788. /package/dist/{dataDownload-GYFEC6XG.js.map → dataDownload-D7VCYBDT.js.map} +0 -0
  789. /package/dist/{dataDownload.integration.spec-V7WQ6AMV.js.map → dataDownload.integration.spec-SEBY2BIX.js.map} +0 -0
  790. /package/dist/{databrowser.ui-TFAJVFFF.js.map → databrowser.ui-5OC5MPZB.js.map} +0 -0
  791. /package/dist/{dictionary-2ZSMOJCN.js.map → dictionary-VVRWVLJX.js.map} +0 -0
  792. /package/dist/{dnaMethylation-RHNO5DAC.js.map → dnaMethylation-72IS3FRI.js.map} +0 -0
  793. /package/dist/{dnaMethylation.integration.spec-ET7OLMNC.js.map → dnaMethylation.integration.spec-U2LLSDGE.js.map} +0 -0
  794. /package/dist/{dofetch-UGCQ3OVW.js.map → dofetch-5ZRAQH5F.js.map} +0 -0
  795. /package/dist/{e2pca-SLRCDKF5.js.map → e2pca-AR6EKEJA.js.map} +0 -0
  796. /package/dist/{ep-FOFTKVBH.js.map → ep-JS5UUJQX.js.map} +0 -0
  797. /package/dist/{expclust.gdc.spec-FNOOSLCC.js.map → expclust.gdc.spec-73MGQ7RN.js.map} +0 -0
  798. /package/dist/{facet-UO5A7AGS.js.map → facet-AR3QKHCY.js.map} +0 -0
  799. /package/dist/{forms2-SFV4HHBA.js.map → forms2-UXEI7MUP.js.map} +0 -0
  800. /package/dist/{gb-3KR6MAGB.js.map → gb-RHDVYU2V.js.map} +0 -0
  801. /package/dist/{geneExpClustering-BCDXKSNU.js.map → geneExpClustering-L6KLCMPH.js.map} +0 -0
  802. /package/dist/{geneExpression-5UPKETEZ.js.map → geneExpression-GYT2XRE6.js.map} +0 -0
  803. /package/dist/{geneExpression-CXQ5HFEP.js.map → geneExpression-SKIU3NEP.js.map} +0 -0
  804. /package/dist/{geneExpression.unit.spec-7FVVD4UF.js.map → geneExpression.unit.spec-CWR6KDVK.js.map} +0 -0
  805. /package/dist/{geneORA-UC45CL2U.js.map → geneORA-C3TALK5P.js.map} +0 -0
  806. /package/dist/{geneRanking-OOQWVUIG.js.map → geneRanking-LLYLDPLV.js.map} +0 -0
  807. /package/dist/{geneVariant-BQFB7LKZ.js.map → geneVariant-PUSKBHPY.js.map} +0 -0
  808. /package/dist/{geneVariant-BYN7EWTT.js.map → geneVariant-YFMU6PHM.js.map} +0 -0
  809. /package/dist/{geneVariant.integration.spec-OESHXKBV.js.map → geneVariant.integration.spec-EJ5V46OQ.js.map} +0 -0
  810. /package/dist/{genefusion.ui-TOSPIGTE.js.map → genefusion.ui-XUHSKQKW.js.map} +0 -0
  811. /package/dist/{geneset-57DECCND.js.map → geneset-DEL5LXFZ.js.map} +0 -0
  812. /package/dist/{genomeBrowser.spec-CQP5JG35.js.map → genomeBrowser.spec-W5TVHOUJ.js.map} +0 -0
  813. /package/dist/{grin2-G4MBI5UC.js.map → grin2-FXAEGECD.js.map} +0 -0
  814. /package/dist/{gsea-VYAXSBM4.js.map → gsea-CNL6SHH5.js.map} +0 -0
  815. /package/dist/{hierCluster-4QKMY7GP.js.map → hierCluster-7V65PMIW.js.map} +0 -0
  816. /package/dist/{hierCluster-GFPFVB3Q.js.map → hierCluster-C44GHM4B.js.map} +0 -0
  817. /package/dist/{hierCluster.config-3A24DEKA.js.map → hierCluster.config-RU5JDPWM.js.map} +0 -0
  818. /package/dist/{hierCluster.integration.spec-6NTJYVN4.js.map → hierCluster.integration.spec-6YH5KE4H.js.map} +0 -0
  819. /package/dist/{hierCluster.interactivity-B2T6WS5R.js.map → hierCluster.interactivity-PK2L7BSW.js.map} +0 -0
  820. /package/dist/{hierCluster.renderers-R3RLK6BI.js.map → hierCluster.renderers-G3274UYA.js.map} +0 -0
  821. /package/dist/{imagePlot-YZBZRENG.js.map → imagePlot-5SEDMPBP.js.map} +0 -0
  822. /package/dist/{importPlot-LIXKD3WJ.js.map → importPlot-M3MKWRON.js.map} +0 -0
  823. /package/dist/{isoformExpression-ZZ5DL6AE.js.map → isoformExpression-PPMISWKT.js.map} +0 -0
  824. /package/dist/{isoformExpression.unit.spec-IH4247TT.js.map → isoformExpression.unit.spec-ENHCCQRZ.js.map} +0 -0
  825. /package/dist/{launch.adhoc-3YWVAF7R.js.map → launch.adhoc-XAG6H42J.js.map} +0 -0
  826. /package/dist/{leftlabel.sample-XFM45ZKO.js.map → leftlabel.sample-BSPCI6GR.js.map} +0 -0
  827. /package/dist/{lollipop-7K5R5KHB.js.map → lollipop-IZJ7E3YO.js.map} +0 -0
  828. /package/dist/{maf-SQVJHNUY.js.map → maf-54XWBQ73.js.map} +0 -0
  829. /package/dist/{maftimeline-RCPASNN2.js.map → maftimeline-3AJKAFS6.js.map} +0 -0
  830. /package/dist/{matrix-KHTDB56P.js.map → matrix-AJPMHUXG.js.map} +0 -0
  831. /package/dist/{matrix-YTHWIMBP.js.map → matrix-ZMXNOESU.js.map} +0 -0
  832. /package/dist/{matrix.cells-KNDVYI2S.js.map → matrix.cells-E3LEVA7U.js.map} +0 -0
  833. /package/dist/{matrix.config-6BHBCTXE.js.map → matrix.config-4WLSFMTY.js.map} +0 -0
  834. /package/dist/{matrix.data-VWJQ7N4L.js.map → matrix.data-WMOTOB6C.js.map} +0 -0
  835. /package/dist/{matrix.dom-2SU4EYLI.js.map → matrix.dom-F7AN3QGE.js.map} +0 -0
  836. /package/dist/{matrix.groups-5AUHEO52.js.map → matrix.groups-BGMZZ6CM.js.map} +0 -0
  837. /package/dist/{matrix.integration.spec-Q2BXNCUO.js.map → matrix.integration.spec-ENRPVB7R.js.map} +0 -0
  838. /package/dist/{matrix.interactivity-FEEWY34M.js.map → matrix.interactivity-IMWERCZF.js.map} +0 -0
  839. /package/dist/{matrix.layout-FWWM6QQO.js.map → matrix.layout-5DDZWLNX.js.map} +0 -0
  840. /package/dist/{matrix.legend-QT3PMREX.js.map → matrix.legend-RJAFOZHQ.js.map} +0 -0
  841. /package/dist/{matrix.renderers-M6MJO5IU.js.map → matrix.renderers-VFQZG5JP.js.map} +0 -0
  842. /package/dist/{matrix.serieses-NTKMKT22.js.map → matrix.serieses-GJWHSBG4.js.map} +0 -0
  843. /package/dist/{matrix.sort-TTHPJ4XC.js.map → matrix.sort-KIJENIT2.js.map} +0 -0
  844. /package/dist/{matrix.sort.unit.spec-XZI2KPNC.js.map → matrix.sort.unit.spec-ZA5DRNL6.js.map} +0 -0
  845. /package/dist/{matrix.sorterUi-FFLYKBGC.js.map → matrix.sorterUi-3KEDVLGW.js.map} +0 -0
  846. /package/dist/{matrix.sorterUi.unit.spec-6FVHTGSN.js.map → matrix.sorterUi.unit.spec-7TPOJ46U.js.map} +0 -0
  847. /package/dist/{mavb-FZDN27QY.js.map → mavb-73BXZ7MO.js.map} +0 -0
  848. /package/dist/{mds.fimo-SSFKQ3BH.js.map → mds.fimo-L7VVAOXQ.js.map} +0 -0
  849. /package/dist/{mds.samplescatterplot-BMTTX3TB.js.map → mds.samplescatterplot-6P75XEWB.js.map} +0 -0
  850. /package/dist/{mds.survivalplot-PL75RDYI.js.map → mds.survivalplot-GCVE7XGO.js.map} +0 -0
  851. /package/dist/{numericDictTermCluster-NJUXCQYH.js.map → numericDictTermCluster-OMXIURRD.js.map} +0 -0
  852. /package/dist/{oncomatrix-BZDCCEWH.js.map → oncomatrix-BFWV2IC4.js.map} +0 -0
  853. /package/dist/{oncomatrix.spec-5A4A4JLV.js.map → oncomatrix.spec-J6IAY3O6.js.map} +0 -0
  854. /package/dist/{plot.2dvaf-AC7LW56S.js.map → plot.2dvaf-ESJAB2F3.js.map} +0 -0
  855. /package/dist/{plot.app-DOOWDQ3U.js.map → plot.app-T7CQMBRV.js.map} +0 -0
  856. /package/dist/{plot.barplot-RNJWREG5.js.map → plot.barplot-HAWPMPPU.js.map} +0 -0
  857. /package/dist/{plot.boxplot-CRAEUBQF.js.map → plot.boxplot-4QUORFXY.js.map} +0 -0
  858. /package/dist/{plot.brainImaging-ZESEULN6.js.map → plot.brainImaging-HG6I3GJW.js.map} +0 -0
  859. /package/dist/{plot.disco-B4KBP6RK.js.map → plot.disco-LPH7F6YW.js.map} +0 -0
  860. /package/dist/{plot.dzi-2UMRV6IF.js.map → plot.dzi-DYAY4D4E.js.map} +0 -0
  861. /package/dist/{plot.ssgq-FVZ27Z2K.js.map → plot.ssgq-CF5VIGYJ.js.map} +0 -0
  862. /package/dist/{plot.vaf2cov-3OXCIEAX.js.map → plot.vaf2cov-7HZCKNK6.js.map} +0 -0
  863. /package/dist/{plot.wsi-UKTLZSYW.js.map → plot.wsi-MU6AXOWO.js.map} +0 -0
  864. /package/dist/{profileForms-SBNPRIFT.js.map → profileForms-TIT4JUEJ.js.map} +0 -0
  865. /package/dist/{profilePlot-PPI4IDP4.js.map → profilePlot-QFGRAZQA.js.map} +0 -0
  866. /package/dist/{qualitative-4O6KAGEA.js.map → qualitative-YWP4YUPF.js.map} +0 -0
  867. /package/dist/{radar2-ICKCJY4T.js.map → radar2-TKSHL54E.js.map} +0 -0
  868. /package/dist/{radarFacility2-HEBBSM3T.js.map → radarFacility2-FHRFLBLF.js.map} +0 -0
  869. /package/dist/{regression-YFQJE2EP.js.map → regression-5XG5LXP7.js.map} +0 -0
  870. /package/dist/{regression.inputs-A2JVBVZ7.js.map → regression.inputs-QHXK7ZYY.js.map} +0 -0
  871. /package/dist/{regression.inputs.term-CTVNS5MO.js.map → regression.inputs.term-YYO3CR2D.js.map} +0 -0
  872. /package/dist/{regression.inputs.values.table-X7SI6EDO.js.map → regression.inputs.values.table-3I2FCON2.js.map} +0 -0
  873. /package/dist/{regression.integration.spec-NRDEVBWS.js.map → regression.integration.spec-QVDGCKVT.js.map} +0 -0
  874. /package/dist/{regression.results-XVB6CIGW.js.map → regression.results-B7LVT2WG.js.map} +0 -0
  875. /package/dist/{regression.spec-TNB5HBY5.js.map → regression.spec-ISYKKQOM.js.map} +0 -0
  876. /package/dist/{report-5VDIBC2W.js.map → report-TF6Z3Y44.js.map} +0 -0
  877. /package/dist/{sampleScatter.spec-XDW7SCYA.js.map → sampleScatter.spec-2VW55XIZ.js.map} +0 -0
  878. /package/dist/{sampleView-FLUSGZCM.js.map → sampleView-DNNJRAMU.js.map} +0 -0
  879. /package/dist/{samplelst-4WPG5UBN.js.map → samplelst-726II3LN.js.map} +0 -0
  880. /package/dist/{samplematrix-YJGMSXUJ.js.map → samplematrix-TBPW4URH.js.map} +0 -0
  881. /package/dist/{sc-DHU5KSEJ.js.map → sc-GBYH3W4S.js.map} +0 -0
  882. /package/dist/{selectGenomeWithTklst-BVBMVRMQ.js.map → selectGenomeWithTklst-RCAYDV6D.js.map} +0 -0
  883. /package/dist/{singleCellCellType-DADK5UKZ.js.map → singleCellCellType-IQYCKUT6.js.map} +0 -0
  884. /package/dist/{singleCellCellType.unit.spec-X25RMBJ3.js.map → singleCellCellType.unit.spec-ZEWA2IFI.js.map} +0 -0
  885. /package/dist/{singleCellGeneExpression-3UEZWI4E.js.map → singleCellGeneExpression-STLTBXJQ.js.map} +0 -0
  886. /package/dist/{singleCellGeneExpression.unit.spec-5GU3JWE6.js.map → singleCellGeneExpression.unit.spec-W6FPS5ZU.js.map} +0 -0
  887. /package/dist/{singleCellPlot-TFRZG73T.js.map → singleCellPlot-7XH7NIL4.js.map} +0 -0
  888. /package/dist/{singlecell-KR6JYFAY.js.map → singlecell-IDZB2MXW.js.map} +0 -0
  889. /package/dist/{singlecell-HQH6EWJO.js.map → singlecell-JCXR7X5U.js.map} +0 -0
  890. /package/dist/{snp-ACIZ7D5X.js.map → snp-QOKI26PO.js.map} +0 -0
  891. /package/dist/{snp.unit.spec-653HGJBM.js.map → snp.unit.spec-DTPZAALW.js.map} +0 -0
  892. /package/dist/{snplocus-AH6KJCVN.js.map → snplocus-BKUJYANW.js.map} +0 -0
  893. /package/dist/{spliceevent.a53ss.diagram-MKJLJDOG.js.map → spliceevent.a53ss.diagram-4O54ORKZ.js.map} +0 -0
  894. /package/dist/{spliceevent.exonskip.diagram-PSEVCDH4.js.map → spliceevent.exonskip.diagram-KOIOS6IV.js.map} +0 -0
  895. /package/dist/{spliceevent.noeventdiagram-T2LHGFN7.js.map → spliceevent.noeventdiagram-YGUGQMVE.js.map} +0 -0
  896. /package/dist/{ssGSEA-QFMYBITZ.js.map → ssGSEA-UZMBIHVD.js.map} +0 -0
  897. /package/dist/{ssGSEA.unit.spec-SQW7KFWE.js.map → ssGSEA.unit.spec-4YO4E3T7.js.map} +0 -0
  898. /package/dist/{stattable-QDIUQCMG.js.map → stattable-MDABSW3F.js.map} +0 -0
  899. /package/dist/{summarizeCnvGeneexp-EVRTBY3L.js.map → summarizeCnvGeneexp-HV3DHIW4.js.map} +0 -0
  900. /package/dist/{summarizeGeneexpSurvival-O3MGRS6K.js.map → summarizeGeneexpSurvival-VGPRWYQ5.js.map} +0 -0
  901. /package/dist/{summarizeMutationCnv-RZ2DZ2XO.js.map → summarizeMutationCnv-N3JEB4DJ.js.map} +0 -0
  902. /package/dist/{summarizeMutationDiagnosis-V2DISQTC.js.map → summarizeMutationDiagnosis-6U4DBLG5.js.map} +0 -0
  903. /package/dist/{summarizeMutationSurvival-FTTWJBUG.js.map → summarizeMutationSurvival-S7NLAVEI.js.map} +0 -0
  904. /package/dist/{summary-QKBTZINC.js.map → summary-NPR56I4S.js.map} +0 -0
  905. /package/dist/{summary.integration.spec-54HA7BC2.js.map → summary.integration.spec-HWNJWLKT.js.map} +0 -0
  906. /package/dist/{summaryInput-4RLZT6RW.js.map → summaryInput-DO73NGDQ.js.map} +0 -0
  907. /package/dist/{sunburst-SMKD45XD.js.map → sunburst-MMXSGJSL.js.map} +0 -0
  908. /package/dist/{survival-YQNA3WP7.js.map → survival-7AIKFGV5.js.map} +0 -0
  909. /package/dist/{survival-BAW5ME6J.js.map → survival-UK332X6L.js.map} +0 -0
  910. /package/dist/{survival.integration.spec-2AHXNMH2.js.map → survival.integration.spec-YMTEKEGB.js.map} +0 -0
  911. /package/dist/{svgraph-5Z7VAIVR.js.map → svgraph-MLLAYO4A.js.map} +0 -0
  912. /package/dist/{svmr-PHD76RV4.js.map → svmr-PYW4PLT3.js.map} +0 -0
  913. /package/dist/{table-GMRAOIWZ.js.map → table-Y3ED2444.js.map} +0 -0
  914. /package/dist/{termCollection-QLKTRXUR.js.map → termCollection-3XVL75II.js.map} +0 -0
  915. /package/dist/{termCollection-MEBY34TJ.js.map → termCollection-VAB53YGO.js.map} +0 -0
  916. /package/dist/{termCollection.unit.spec-6B53SW2Q.js.map → termCollection.unit.spec-DYPWNVEZ.js.map} +0 -0
  917. /package/dist/{termInfo-2Z4V2QLE.js.map → termInfo-6MJDJSDW.js.map} +0 -0
  918. /package/dist/{tk-X46SEOL7.js.map → tk-GUGJYKJ2.js.map} +0 -0
  919. /package/dist/{tp.ui-XV7CL7CA.js.map → tp.ui-WGETBYJQ.js.map} +0 -0
  920. /package/dist/{tvs.dt-U6SIZTXW.js.map → tvs.dt-JWF4I3KY.js.map} +0 -0
  921. /package/dist/{tvs.dtcnv.categorical-6YGEKMHW.js.map → tvs.dtcnv.categorical-72Y5QMPL.js.map} +0 -0
  922. /package/dist/{tvs.dtcnv.continuous-CQFEENBO.js.map → tvs.dtcnv.continuous-73LHWTU5.js.map} +0 -0
  923. /package/dist/{tvs.dtfusion-NOBT2JPI.js.map → tvs.dtfusion-LP6HUMZU.js.map} +0 -0
  924. /package/dist/{tvs.dtsnvindel-6GTCSVAV.js.map → tvs.dtsnvindel-23N2CFZJ.js.map} +0 -0
  925. /package/dist/{tvs.dtsv-PMI4YVI5.js.map → tvs.dtsv-DILQVKYM.js.map} +0 -0
  926. /package/dist/{tvs.samplelst-HVNYKHXG.js.map → tvs.samplelst-GV4VSCRF.js.map} +0 -0
  927. /package/dist/{tvs.termCollection-EWGTT75Z.js.map → tvs.termCollection-KBDNXK7X.js.map} +0 -0
  928. /package/dist/{violin-MKWRB25Z.js.map → violin-TYUP7FB5.js.map} +0 -0
  929. /package/dist/{violin.integration.spec-CNWJ43SD.js.map → violin.integration.spec-ULRFK2A6.js.map} +0 -0
  930. /package/dist/{violin.interactivity-UXOMTGSD.js.map → violin.interactivity-2QZVQWQJ.js.map} +0 -0
  931. /package/dist/{violin.renderer-67Q6YGYQ.js.map → violin.renderer-HCDSN62Z.js.map} +0 -0
  932. /package/dist/{vocabulary-AKXE7SNU.js.map → vocabulary-I4CMPN2Z.js.map} +0 -0
@@ -0,0 +1,2364 @@
1
+ import {
2
+ spliceevent_exonskip_getdefault_default
3
+ } from "./chunk-B5N4G4QU.js";
4
+ import {
5
+ spliceevent_phrase_default
6
+ } from "./chunk-YVCTEEVQ.js";
7
+ import {
8
+ legend_newrow
9
+ } from "./chunk-CYHUNQMS.js";
10
+ import "./chunk-V2OJLJSK.js";
11
+ import "./chunk-VMLSRKIB.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-L4TUTGTA.js";
23
+ import "./chunk-HJ6L54YS.js";
24
+ import "./chunk-LSEFWW72.js";
25
+ import "./chunk-4FKWINMK.js";
26
+ import {
27
+ Menu
28
+ } from "./chunk-HYOEWQ5P.js";
29
+ import "./chunk-HBW42TDT.js";
30
+ import "./chunk-G6O3URDN.js";
31
+ import "./chunk-FN5XPUPH.js";
32
+ import "./chunk-IIT367QZ.js";
33
+ import "./chunk-RZGEKL77.js";
34
+ import "./chunk-XVZ5UJWU.js";
35
+ import "./chunk-WS3NUPNV.js";
36
+ import {
37
+ dofetch2,
38
+ dofetch3
39
+ } from "./chunk-6VKTEMFV.js";
40
+ import "./chunk-7IYJZZQI.js";
41
+ import "./chunk-M3J4MINX.js";
42
+ import "./chunk-PF4DSFDR.js";
43
+ import "./chunk-S4JLRRKK.js";
44
+ import "./chunk-TVADJLMF.js";
45
+ import {
46
+ IN_frame,
47
+ OUT_frame,
48
+ bplen,
49
+ defaultcolor,
50
+ spliceeventchangegmexon
51
+ } from "./chunk-EBKERML3.js";
52
+ import "./chunk-DD4R5P6W.js";
53
+ import "./chunk-JNITUVXP.js";
54
+ import {
55
+ category10_default
56
+ } from "./chunk-KSGA62R2.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-TLT4YIG3.js";
67
+ import "./chunk-KYBIQBXE.js";
68
+ import {
69
+ select_default
70
+ } from "./chunk-I6Y4O3RR.js";
71
+ import "./chunk-OMR2DT66.js";
72
+ import "./chunk-DQC5FFGV.js";
73
+ import {
74
+ __commonJS,
75
+ __toESM
76
+ } from "./chunk-HFNDKYVF.js";
77
+
78
+ // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
79
+ var require_d3_beeswarm = __commonJS({
80
+ "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
81
+ (function(global, factory) {
82
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
83
+ })(exports, function(exports2) {
84
+ "use strict";
85
+ function beeswarm2() {
86
+ var data = [];
87
+ var radius = 4;
88
+ var orientation = "horizontal";
89
+ var side = "symetric";
90
+ var distributeOn = (
91
+ // accessor to the x value
92
+ function(datum) {
93
+ return datum.x;
94
+ }
95
+ );
96
+ var minDistanceBetweenCircles;
97
+ var minSquareDistanceBetweenCircles;
98
+ var xBasedDataManager;
99
+ var xBasedColliderManager;
100
+ var yBasedColliderManager;
101
+ var arrangement;
102
+ var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
103
+ function _beeswarm() {
104
+ }
105
+ _beeswarm.data = function(_) {
106
+ if (!arguments.length) {
107
+ return data;
108
+ }
109
+ data = _;
110
+ return _beeswarm;
111
+ };
112
+ _beeswarm.radius = function(_) {
113
+ if (!arguments.length) {
114
+ return radius;
115
+ }
116
+ radius = _;
117
+ return _beeswarm;
118
+ };
119
+ _beeswarm.orientation = function(_) {
120
+ if (!arguments.length) {
121
+ return orientation;
122
+ }
123
+ if (_ === "horizontal" || _ === "vertical") {
124
+ orientation = _;
125
+ }
126
+ return _beeswarm;
127
+ };
128
+ _beeswarm.side = function(_) {
129
+ if (!arguments.length) {
130
+ return side;
131
+ }
132
+ if (_ === "symetric" || _ === "positive" || _ === "negative") {
133
+ side = _;
134
+ }
135
+ return _beeswarm;
136
+ };
137
+ _beeswarm.distributeOn = function(_) {
138
+ if (!arguments.length) {
139
+ return distributeOn;
140
+ }
141
+ distributeOn = _;
142
+ return _beeswarm;
143
+ };
144
+ _beeswarm.arrange = function() {
145
+ initArrangement();
146
+ arrangement.forEach(function(d) {
147
+ var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
148
+ if (xBasedPossibleColliders.length === 0) {
149
+ bestYPosition = 0;
150
+ } else {
151
+ yBasedColliderManager.clear();
152
+ yBasedColliderManager.addMany(xBasedPossibleColliders);
153
+ d.free = 0;
154
+ if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
155
+ bestYPosition = 0;
156
+ totalVisitedColliders += visitedColliderCount;
157
+ if (visitedColliderCount > maxVisitedColliders) {
158
+ maxVisitedColliders = visitedColliderCount;
159
+ }
160
+ visitedColliderCount = 0;
161
+ totalTestedPlacements += 1;
162
+ } else {
163
+ xBasedPossibleColliders.forEach(function(xbpc) {
164
+ relativeYPos = yPosRelativeToXbpc(xbpc, d);
165
+ placeBelow(d, xbpc, relativeYPos);
166
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
167
+ bestYPosition = d.free;
168
+ }
169
+ totalVisitedColliders += visitedColliderCount;
170
+ if (visitedColliderCount > maxVisitedColliders) {
171
+ maxVisitedColliders = visitedColliderCount;
172
+ }
173
+ visitedColliderCount = 0;
174
+ totalTestedPlacements += 1;
175
+ placeAbove(d, xbpc, relativeYPos);
176
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
177
+ bestYPosition = d.free;
178
+ }
179
+ totalVisitedColliders += visitedColliderCount;
180
+ if (visitedColliderCount > maxVisitedColliders) {
181
+ maxVisitedColliders = visitedColliderCount;
182
+ }
183
+ visitedColliderCount = 0;
184
+ totalTestedPlacements += 1;
185
+ });
186
+ }
187
+ }
188
+ ;
189
+ d.free = bestYPosition;
190
+ if (orientation === "horizontal") {
191
+ d.x = d.fixed;
192
+ d.y = bestYPosition;
193
+ } else {
194
+ d.x = bestYPosition;
195
+ d.y = d.fixed;
196
+ }
197
+ xBasedColliderManager.add(d);
198
+ });
199
+ return arrangement;
200
+ };
201
+ _beeswarm.metrics = function() {
202
+ return {
203
+ totalPossibleColliders,
204
+ maxPossibleColliders,
205
+ totalTestedPlacements,
206
+ visitedColliderCount,
207
+ totalVisitedColliders,
208
+ maxVisitedColliders
209
+ };
210
+ };
211
+ function initArrangement() {
212
+ arrangement = data.map(function(d, i) {
213
+ return {
214
+ datum: d,
215
+ id: i,
216
+ fixed: distributeOn(d),
217
+ free: -Infinity
218
+ };
219
+ });
220
+ minDistanceBetweenCircles = 2 * radius;
221
+ minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
222
+ xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
223
+ return d.fixed;
224
+ }).addMany(arrangement);
225
+ xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
226
+ return d.fixed;
227
+ });
228
+ yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
229
+ return d.free;
230
+ });
231
+ totalPossibleColliders = maxPossibleColliders = 0;
232
+ totalTestedPlacements = 0;
233
+ visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
234
+ }
235
+ function findNearestPossibleCollider(dln, visitedDln, direction) {
236
+ if (visitedDln === null) {
237
+ return null;
238
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
239
+ return null;
240
+ } else {
241
+ if (isFinite(visitedDln.datum.free)) {
242
+ return visitedDln.datum;
243
+ }
244
+ return findNearestPossibleCollider(dln, visitedDln[direction], direction);
245
+ }
246
+ }
247
+ function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
248
+ if (visitedDln === null) {
249
+ return;
250
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
251
+ return;
252
+ } else {
253
+ xBasedPossibleColliders.push(visitedDln.datum);
254
+ visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
255
+ }
256
+ }
257
+ function gatherXBasedPossibleColliders(datum) {
258
+ var xBasedPossibleColliders = [];
259
+ var dln = xBasedDataManager.dln(datum);
260
+ var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
261
+ var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
262
+ if (nearestXPrevAlreadyArrangedData != null) {
263
+ dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
264
+ visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
265
+ }
266
+ if (nearestXNextAlreadyArrangedData != null) {
267
+ dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
268
+ visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
269
+ }
270
+ totalPossibleColliders += xBasedPossibleColliders.length;
271
+ if (xBasedPossibleColliders.length > maxPossibleColliders) {
272
+ maxPossibleColliders = xBasedPossibleColliders.length;
273
+ }
274
+ return xBasedPossibleColliders;
275
+ }
276
+ function isAuthorizedPlacement(datum) {
277
+ if (side === "symetric") {
278
+ return true;
279
+ } else if (side === "positive") {
280
+ return datum.free >= 0;
281
+ } else {
282
+ return datum.free <= 0;
283
+ }
284
+ }
285
+ function isBetterPlacement(datum, bestYPosition) {
286
+ return Math.abs(datum.free) < Math.abs(bestYPosition);
287
+ }
288
+ function yPosRelativeToXbpc(xbpc, d) {
289
+ return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
290
+ }
291
+ function placeBelow(d, aad, relativeYPos) {
292
+ d.free = aad.free - relativeYPos;
293
+ }
294
+ function placeAbove(d, aad, relativeYPos) {
295
+ d.free = aad.free + relativeYPos;
296
+ }
297
+ function areCirclesColliding(d0, d1) {
298
+ visitedColliderCount++;
299
+ return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
300
+ }
301
+ function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
302
+ if (visitedDln === null) {
303
+ return false;
304
+ } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
305
+ return false;
306
+ } else if (areCirclesColliding(datum, visitedDln.datum)) {
307
+ return true;
308
+ } else {
309
+ return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
310
+ }
311
+ }
312
+ function collidesWithOther(datum, visitedDln) {
313
+ var visitCount = 0;
314
+ if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
315
+ return true;
316
+ } else {
317
+ return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
318
+ }
319
+ }
320
+ function SortedDirectAccessDoublyLinkedList() {
321
+ this._valueAccesor = // accessor to the value to sort on
322
+ function(obj) {
323
+ return obj.value;
324
+ };
325
+ this._min = null;
326
+ this._max = null;
327
+ this._closestTo0 = null;
328
+ this.size = 0;
329
+ this._idToNode = {};
330
+ }
331
+ SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
332
+ if (!arguments.length) {
333
+ return this._valueAccesor;
334
+ }
335
+ this._valueAccesor = _;
336
+ return this;
337
+ };
338
+ SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
339
+ return this._closestTo0;
340
+ };
341
+ SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
342
+ this._min = null;
343
+ this._max = null;
344
+ this._closestTo0 = null;
345
+ this.size = 0;
346
+ this._idToNode = {};
347
+ return this;
348
+ };
349
+ SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
350
+ return this._idToNode[datum.id];
351
+ };
352
+ SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
353
+ data2.forEach(function(datum, item) {
354
+ this.add(datum);
355
+ }, this);
356
+ return this;
357
+ };
358
+ SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
359
+ var dln = {
360
+ datum,
361
+ // original datum
362
+ value: this._valueAccesor(datum),
363
+ prev: null,
364
+ // previous value-based node
365
+ next: null
366
+ // next value-based node
367
+ };
368
+ if (this.size === 0) {
369
+ this._min = this._max = this._closestTo0 = dln;
370
+ } else {
371
+ if (dln.value <= this._min.value) {
372
+ dln.next = this._min;
373
+ dln.next.prev = dln;
374
+ this._min = dln;
375
+ } else if (dln.value >= this._max.value) {
376
+ dln.prev = this._max;
377
+ dln.prev.next = dln;
378
+ this._max = dln;
379
+ } else {
380
+ var current = this._max;
381
+ while (current.value > dln.value) {
382
+ current = current.prev;
383
+ }
384
+ dln.prev = current;
385
+ dln.next = current.next;
386
+ dln.next.prev = dln;
387
+ dln.prev.next = dln;
388
+ }
389
+ if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
390
+ this._closestTo0 = dln;
391
+ }
392
+ }
393
+ this._idToNode[dln.datum.id] = dln;
394
+ this.size++;
395
+ return this;
396
+ };
397
+ SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
398
+ var dln = this.dln(datum);
399
+ if (this.size === 1) {
400
+ this._min = this._max = this._closestTo0 = null;
401
+ } else {
402
+ if (dln === this._closestTo0) {
403
+ if (this._closestTo0.next === null) {
404
+ this._closestTo0 = dln.prev;
405
+ } else if (this.closestToZero.prev === null) {
406
+ this._closestTo0 = dln.prev;
407
+ } else {
408
+ var prevAbsValue = Math.abs(this._closestTo0.prev.value);
409
+ var nextAbsValue = Math.abs(this._closestTo0.next.value);
410
+ if (prevAbsValue < nextAbsValue) {
411
+ this._closestTo0 = this._closestTo0.prev;
412
+ } else {
413
+ this._closestTo0 = this._closestTo0.next;
414
+ }
415
+ }
416
+ }
417
+ if (dln === this._min) {
418
+ this._min = this._min.next;
419
+ this._min.prev = null;
420
+ } else if (dln === this._max) {
421
+ this._max = this._max.prev;
422
+ this._max.next = null;
423
+ } else {
424
+ dln.next.prev = dln.prev;
425
+ dln.prev.next = dln.next;
426
+ }
427
+ }
428
+ dln = null;
429
+ delete this._idToNode[datum.id];
430
+ this.size--;
431
+ return this;
432
+ };
433
+ return _beeswarm;
434
+ }
435
+ ;
436
+ exports2.beeswarm = beeswarm2;
437
+ Object.defineProperty(exports2, "__esModule", { value: true });
438
+ });
439
+ }
440
+ });
441
+
442
+ // src/spliceevent.prep.js
443
+ function mapjunctiontoexons(junctions, genes) {
444
+ for (const j of junctions) {
445
+ j.exonleft = [];
446
+ j.exonright = [];
447
+ j.exonleftin = [];
448
+ j.exonrightin = [];
449
+ j.intronleft = [];
450
+ j.intronright = [];
451
+ j.leftout = [];
452
+ j.rightout = [];
453
+ j.matchisoform = [];
454
+ }
455
+ const usegenes = [];
456
+ for (const gene of genes) {
457
+ let use = false;
458
+ for (const j of junctions) {
459
+ if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
460
+ use = true;
461
+ break;
462
+ }
463
+ }
464
+ if (use) {
465
+ usegenes.push(gene);
466
+ }
467
+ }
468
+ if (usegenes.length == 0) {
469
+ return;
470
+ }
471
+ const leftpos = /* @__PURE__ */ new Map();
472
+ const rightpos = /* @__PURE__ */ new Map();
473
+ for (const j of junctions) {
474
+ if (!leftpos.has(j.start)) {
475
+ leftpos.set(j.start, []);
476
+ }
477
+ leftpos.get(j.start).push(j);
478
+ if (!rightpos.has(j.stop)) {
479
+ rightpos.set(j.stop, []);
480
+ }
481
+ rightpos.get(j.stop).push(j);
482
+ }
483
+ for (const [pos, jlst] of leftpos) {
484
+ for (const gm of usegenes) {
485
+ if (!gm.exon) continue;
486
+ for (let i = 0; i < gm.exon.length; i++) {
487
+ if (gm.exon[i][1] - 1 == pos) {
488
+ for (const j of jlst) {
489
+ j.exonleft.push({
490
+ gm,
491
+ exonidx: i
492
+ });
493
+ }
494
+ }
495
+ if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
496
+ for (const j of jlst) {
497
+ j.exonleftin.push({
498
+ gm,
499
+ exonidx: i
500
+ });
501
+ }
502
+ }
503
+ }
504
+ if (gm.intron) {
505
+ for (let i = 0; i < gm.intron.length; i++) {
506
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
507
+ for (const j of jlst) {
508
+ j.intronleft.push({
509
+ gm,
510
+ intronidx: i
511
+ });
512
+ }
513
+ }
514
+ }
515
+ }
516
+ }
517
+ }
518
+ for (const [pos, jlst] of rightpos) {
519
+ for (const gm of usegenes) {
520
+ if (!gm.exon) continue;
521
+ for (let i = 0; i < gm.exon.length; i++) {
522
+ if (gm.exon[i][0] == pos) {
523
+ for (const j of jlst) {
524
+ j.exonright.push({
525
+ gm,
526
+ exonidx: i
527
+ });
528
+ }
529
+ }
530
+ if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
531
+ for (const j of jlst) {
532
+ j.exonrightin.push({
533
+ gm,
534
+ exonidx: i
535
+ });
536
+ }
537
+ }
538
+ }
539
+ if (gm.intron) {
540
+ for (let i = 0; i < gm.intron.length; i++) {
541
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
542
+ for (const j of jlst) {
543
+ j.intronright.push({
544
+ gm,
545
+ intronidx: i
546
+ });
547
+ }
548
+ }
549
+ }
550
+ }
551
+ }
552
+ }
553
+ for (const j of junctions) {
554
+ {
555
+ const isoforms = /* @__PURE__ */ new Set();
556
+ for (const q of j.exonleft) isoforms.add(q.gm.isoform);
557
+ for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
558
+ for (const q of j.intronleft) isoforms.add(q.gm.isoform);
559
+ if (isoforms.size) {
560
+ for (const gm of usegenes) {
561
+ if (!isoforms.has(gm.isoform)) continue;
562
+ if (gm.stop <= j.stop) {
563
+ j.rightout.push({
564
+ gm
565
+ });
566
+ }
567
+ }
568
+ }
569
+ }
570
+ {
571
+ const isoforms = /* @__PURE__ */ new Set();
572
+ for (const q of j.exonright) isoforms.add(q.gm.isoform);
573
+ for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
574
+ for (const q of j.intronright) isoforms.add(q.gm.isoform);
575
+ if (isoforms.size) {
576
+ for (const gm of usegenes) {
577
+ if (!isoforms.has(gm.isoform)) continue;
578
+ if (gm.start > j.start) {
579
+ j.leftout.push({
580
+ gm
581
+ });
582
+ }
583
+ }
584
+ }
585
+ }
586
+ }
587
+ for (const j of junctions) {
588
+ if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
589
+ for (const el of j.exonleft) {
590
+ for (const er of j.exonright) {
591
+ if (el.gm.isoform == er.gm.isoform) {
592
+ j.matchisoform.push({
593
+ gm: el.gm,
594
+ leftexonidx: el.exonidx,
595
+ rightexonidx: er.exonidx
596
+ });
597
+ }
598
+ }
599
+ }
600
+ }
601
+ }
602
+
603
+ // src/spliceevent.exonskip.js
604
+ var exonskipcolor = "#99004d";
605
+ var exonaltcolor = "#004d99";
606
+ function findexonskipping(multisample, junctions, gmdata) {
607
+ const allevents = [];
608
+ for (const j0 of junctions) {
609
+ if (!j0.matchisoform || j0.matchisoform.length == 0) {
610
+ continue;
611
+ }
612
+ for (const j0isoform of j0.matchisoform) {
613
+ const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
614
+ const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
615
+ if (j0exonend - j0exonbegin <= 1) {
616
+ continue;
617
+ }
618
+ const jB = j0;
619
+ const thisevent = {
620
+ skippedexon: [],
621
+ junctionB: jB,
622
+ junctionAlst: []
623
+ };
624
+ for (let i = j0exonbegin + 1; i < j0exonend; i++) {
625
+ thisevent.skippedexon.push(i);
626
+ }
627
+ let gmB = null;
628
+ for (const gm of gmdata) {
629
+ if (!gm.intron) continue;
630
+ for (const i of gm.intron) {
631
+ if (i[0] - 1 == jB.start && i[1] == jB.stop) {
632
+ gmB = gm;
633
+ break;
634
+ }
635
+ }
636
+ if (gmB) {
637
+ break;
638
+ }
639
+ }
640
+ if (gmB) {
641
+ thisevent.isaltexon = true;
642
+ thisevent.color = exonaltcolor;
643
+ thisevent.gmA = j0isoform.gm;
644
+ thisevent.gmB = gmB;
645
+ } else {
646
+ thisevent.isskipexon = true;
647
+ thisevent.color = exonskipcolor;
648
+ thisevent.gm = j0isoform.gm;
649
+ const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
650
+ if (utr3) thisevent.utr3 = true;
651
+ if (utr5) thisevent.utr5 = true;
652
+ if (coding) thisevent.coding = true;
653
+ }
654
+ {
655
+ const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
656
+ for (const ja of jAlst) {
657
+ thisevent.junctionAlst.push(ja);
658
+ }
659
+ }
660
+ if (thisevent.isskipexon) {
661
+ findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
662
+ }
663
+ if (multisample) {
664
+ if (!jB.data) {
665
+ console.error("exonskip: jB.data missing when it is multi-sample");
666
+ continue;
667
+ }
668
+ if (jB.data.length == 0) {
669
+ console.error("exonskip: jB.data.length==0");
670
+ continue;
671
+ }
672
+ let percentagesamplesum = 0;
673
+ for (const sampleBdata of jB.data) {
674
+ const bcount = sampleBdata.v;
675
+ let acountsum = 0;
676
+ for (const junctionA of thisevent.junctionAlst) {
677
+ if (!junctionA) {
678
+ continue;
679
+ }
680
+ if (!junctionA.data) {
681
+ console.log("exonskip: jA.data missing when multi-sample");
682
+ continue;
683
+ }
684
+ for (const sampleAdata of junctionA.data) {
685
+ if (sampleAdata.tkid == sampleBdata.tkid) {
686
+ acountsum += sampleAdata.v;
687
+ break;
688
+ }
689
+ }
690
+ }
691
+ percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
692
+ }
693
+ thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
694
+ } else {
695
+ let asum = 0;
696
+ for (const _j of thisevent.junctionAlst) {
697
+ asum += _j ? _j.data[0].v : 0;
698
+ }
699
+ thisevent.percentage = Math.ceil(
700
+ 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
701
+ );
702
+ }
703
+ allevents.push(thisevent);
704
+ }
705
+ }
706
+ const exoncoords = /* @__PURE__ */ new Map();
707
+ for (const evt of allevents) {
708
+ const positionlst = [];
709
+ for (const eid of evt.skippedexon) {
710
+ let thisexon;
711
+ if (evt.isskipexon) {
712
+ thisexon = evt.gm.exon[eid];
713
+ } else {
714
+ thisexon = evt.gmA.exon[eid];
715
+ }
716
+ positionlst.push(thisexon[0]);
717
+ positionlst.push(thisexon[1]);
718
+ }
719
+ if (positionlst.length == 0) {
720
+ console.error("not possible: no skipped exon position for exon-skip");
721
+ console.log(evt);
722
+ continue;
723
+ }
724
+ positionlst.sort();
725
+ const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
726
+ if (!exoncoords.has(posstr)) {
727
+ exoncoords.set(posstr, []);
728
+ }
729
+ exoncoords.get(posstr).push(evt);
730
+ }
731
+ const eventsetlst = [];
732
+ for (const eventlst of exoncoords.values()) {
733
+ const thisset = {
734
+ eventlst,
735
+ exonlst: []
736
+ // each exon: {start:, stop:}
737
+ };
738
+ eventsetlst.push(thisset);
739
+ const firstevent = eventlst[0];
740
+ for (const eid of firstevent.skippedexon) {
741
+ const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
742
+ const thisexon = gm.exon[eid];
743
+ thisset.exonlst.push({
744
+ chr: gm.chr,
745
+ start: thisexon[0],
746
+ stop: thisexon[1]
747
+ });
748
+ }
749
+ let eventcount_skip = 0, eventcount_alt = 0;
750
+ for (const evt of eventlst) {
751
+ if (evt.isskipexon) {
752
+ eventcount_skip++;
753
+ } else {
754
+ eventcount_alt++;
755
+ }
756
+ }
757
+ thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
758
+ const exonnumberset = /* @__PURE__ */ new Set();
759
+ for (const evt of eventlst) {
760
+ const thisexonnumbers = [];
761
+ for (const eid of evt.skippedexon) {
762
+ thisexonnumbers.push(eid + 1);
763
+ }
764
+ exonnumberset.add(thisexonnumbers.join(","));
765
+ }
766
+ if (exonnumberset.size == 1) {
767
+ thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
768
+ } else {
769
+ thisset.toplabelsays = "exon ";
770
+ }
771
+ thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
772
+ if (multisample) {
773
+ let samplecount = 0;
774
+ for (const evt of eventlst) {
775
+ samplecount = Math.max(samplecount, evt.junctionB.data.length);
776
+ }
777
+ thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
778
+ }
779
+ thisset.bottomlabelsays = firstevent.percentage + "%";
780
+ }
781
+ return eventsetlst;
782
+ }
783
+ function findjunctionbystartstop(lst, p1, p2) {
784
+ const start = Math.min(p1, p2);
785
+ const stop = Math.max(p1, p2);
786
+ for (const j of lst) {
787
+ if (j.start == start && j.stop == stop) return j;
788
+ }
789
+ return null;
790
+ }
791
+ function findjunctionAlst(junctions, gm, exonbegin, exonend) {
792
+ const lst = [];
793
+ const exonstart = Math.min(exonbegin, exonend);
794
+ const exonstop = Math.max(exonbegin, exonend);
795
+ if (gm.strand == "+") {
796
+ for (let i = exonstart; i < exonstop; i++) {
797
+ const p1 = gm.exon[i][1] - 1;
798
+ const p2 = gm.exon[i + 1][0];
799
+ lst.push(findjunctionbystartstop(junctions, p1, p2));
800
+ }
801
+ } else {
802
+ for (let i = exonstop; i > exonstart; i--) {
803
+ const p1 = gm.exon[i][1] - 1;
804
+ const p2 = gm.exon[i - 1][0];
805
+ lst.unshift(findjunctionbystartstop(junctions, p1, p2));
806
+ }
807
+ }
808
+ return lst;
809
+ }
810
+ function findupdown1junction4exonskip(evt, gm, junctions) {
811
+ let exonidx = evt.skippedexon[0];
812
+ if (exonidx > 1) {
813
+ let p1, p2;
814
+ if (gm.strand == "+") {
815
+ p1 = gm.exon[exonidx - 2][1] - 1;
816
+ p2 = gm.exon[exonidx - 1][0];
817
+ } else {
818
+ p1 = gm.exon[exonidx - 1][1] - 1;
819
+ p2 = gm.exon[exonidx - 2][0];
820
+ }
821
+ evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
822
+ }
823
+ exonidx = evt.skippedexon[evt.skippedexon.length - 1];
824
+ if (exonidx < gm.exon.length - 2) {
825
+ let p1, p2;
826
+ if (gm.strand == "+") {
827
+ p1 = gm.exon[exonidx + 1][1] - 1;
828
+ p2 = gm.exon[exonidx + 2][0];
829
+ } else {
830
+ p1 = gm.exon[exonidx + 2][1] - 1;
831
+ p2 = gm.exon[exonidx + 1][0];
832
+ }
833
+ evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
834
+ }
835
+ }
836
+ function checkexoncodingutr(exonidlst, gm) {
837
+ if (!gm.coding) {
838
+ return [false, false, false];
839
+ }
840
+ let exonstart = gm.exon[exonidlst[0]][0];
841
+ let exonstop = gm.exon[exonidlst[0]][1];
842
+ for (const idx of exonidlst) {
843
+ exonstart = Math.min(gm.exon[idx][0], exonstart);
844
+ exonstop = Math.max(gm.exon[idx][1], exonstop);
845
+ }
846
+ const forward = gm.strand == "+";
847
+ let utr3 = false, utr5 = false, coding = false;
848
+ if (exonstop <= gm.codingstart) {
849
+ if (forward) {
850
+ utr5 = true;
851
+ } else {
852
+ utr3 = true;
853
+ }
854
+ } else if (exonstart >= gm.codingstop) {
855
+ if (forward) {
856
+ utr3 = true;
857
+ } else {
858
+ utr5 = true;
859
+ }
860
+ } else {
861
+ coding = true;
862
+ }
863
+ return [utr3, utr5, coding];
864
+ }
865
+
866
+ // src/block.tk.junction.spliceevent.js
867
+ function spliceeventanalyze(tk, block) {
868
+ if (tk.eventsg) {
869
+ tk.eventsg.selectAll("*").remove();
870
+ }
871
+ if (tk.type != tkt.junction) {
872
+ return;
873
+ }
874
+ if (!tk.data) {
875
+ return;
876
+ }
877
+ if (tk.data.length == 0) {
878
+ return;
879
+ }
880
+ const [gmdataerr, gmdata] = getgmdata(block);
881
+ if (gmdataerr) {
882
+ const fontsize = 12;
883
+ const pad = 2;
884
+ tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
885
+ 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");
886
+ tk.height_main += pad * 2 + fontsize;
887
+ block.block_setheight();
888
+ return;
889
+ }
890
+ if (!gmdata) {
891
+ return;
892
+ }
893
+ for (const junction of tk.data) {
894
+ delete junction.spliceevents;
895
+ }
896
+ mapjunctiontoexons(tk.data, gmdata);
897
+ const allevents = [];
898
+ const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
899
+ if (exonskipalt.length > 0) {
900
+ for (const exonset of exonskipalt) {
901
+ if (exonlstoutofrange(exonset.exonlst, block)) {
902
+ continue;
903
+ }
904
+ allevents.push(exonset);
905
+ for (const thisevt of exonset.eventlst) {
906
+ if (!thisevt.junctionB.spliceevents) {
907
+ thisevt.junctionB.spliceevents = [];
908
+ }
909
+ thisevt.junctionB.spliceevents.push(thisevt);
910
+ }
911
+ }
912
+ }
913
+ if (allevents.length) {
914
+ rendereventsintrack(allevents, tk, block);
915
+ }
916
+ }
917
+ function rendereventsintrack(allevents, tk, block) {
918
+ const labelfontsize = 10;
919
+ const stackspace = 1;
920
+ const boxlabelspacing = 2;
921
+ let stackheight;
922
+ if (tk.totalsamplecount > 1) {
923
+ stackheight = labelfontsize * 3 + stackspace * 2;
924
+ } else {
925
+ stackheight = labelfontsize * 2 + stackspace;
926
+ }
927
+ for (const eventset of allevents) {
928
+ eventset.g = tk.eventsg.append("g");
929
+ const junctionB = eventset.eventlst[0].junctionB;
930
+ const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
931
+ 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");
932
+ if (tk.totalsamplecount > 1) {
933
+ 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");
934
+ }
935
+ let willshowframe = false;
936
+ let thiseventframe = null;
937
+ for (const evt of eventset.eventlst) {
938
+ if (evt.isaltexon) {
939
+ evt.framenocheck = true;
940
+ continue;
941
+ }
942
+ if (evt.isskipexon) {
943
+ if (!evt.gm.coding) {
944
+ evt.framenocheck = true;
945
+ continue;
946
+ }
947
+ if (evt.utr3 || evt.utr5) {
948
+ evt.framenocheck = true;
949
+ continue;
950
+ }
951
+ }
952
+ willshowframe = true;
953
+ if (block.genome.junctionframecache.has(jbstr)) {
954
+ let isoform;
955
+ if (evt.isskipexon) {
956
+ isoform = evt.gm.isoform;
957
+ }
958
+ const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
959
+ if (thisframe == void 0) {
960
+ } else {
961
+ evt.frame = thisframe;
962
+ if (thiseventframe == null) {
963
+ thiseventframe = thisframe;
964
+ } else {
965
+ if (thisframe == IN_frame) {
966
+ thiseventframe = IN_frame;
967
+ }
968
+ }
969
+ }
970
+ } else {
971
+ }
972
+ }
973
+ eventset.bottomlabel = eventset.g.append("text").text(
974
+ eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
975
+ ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
976
+ if (willshowframe && thiseventframe == null) {
977
+ for (const evt of eventset.eventlst) {
978
+ let gm;
979
+ if (evt.isaltexon) {
980
+ gm = evt.gmB;
981
+ } else if (evt.isskipexon) {
982
+ gm = evt.gm;
983
+ }
984
+ if (!block.genome.junctionframecache.has(jbstr)) {
985
+ checkjunctionframe({
986
+ jbstr,
987
+ evt,
988
+ gm,
989
+ block,
990
+ eventset
991
+ });
992
+ continue;
993
+ }
994
+ if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
995
+ checkjunctionframe({
996
+ jbstr,
997
+ evt,
998
+ gm,
999
+ block,
1000
+ eventset
1001
+ });
1002
+ }
1003
+ }
1004
+ }
1005
+ const exonobjlst = [];
1006
+ let boxstart = null, boxstop;
1007
+ for (const exon of eventset.exonlst) {
1008
+ const pointa = block.seekcoord(exon.chr, exon.start)[0];
1009
+ if (!pointa) {
1010
+ console.log("skipped exon start position not mapped: " + exon.start);
1011
+ return;
1012
+ }
1013
+ const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1014
+ if (!pointb) {
1015
+ console.log("skipped exon stop position not mapped: " + exon.stop);
1016
+ return;
1017
+ }
1018
+ const exonobj = {
1019
+ x: Math.min(pointa.x, pointb.x),
1020
+ w: Math.max(1, Math.abs(pointa.x - pointb.x))
1021
+ };
1022
+ exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1023
+ console.log(eventset);
1024
+ });
1025
+ if (boxstart == null) {
1026
+ boxstart = exonobj.x;
1027
+ boxstop = exonobj.x + exonobj.w;
1028
+ } else {
1029
+ boxstart = Math.min(boxstart, exonobj.x);
1030
+ boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1031
+ }
1032
+ exonobjlst.push(exonobj);
1033
+ }
1034
+ for (const exon of exonobjlst) {
1035
+ exon.rect.attr("x", exon.x - boxstart);
1036
+ }
1037
+ eventset.boxstart = boxstart;
1038
+ eventset.boxwidth = boxstop - boxstart;
1039
+ if (eventset.exonlst.length > 1) {
1040
+ 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);
1041
+ }
1042
+ eventset.toplabel.each(function() {
1043
+ eventset.labelwidth = this.getBBox().width;
1044
+ });
1045
+ if (eventset.middlelabel) {
1046
+ eventset.middlelabel.each(function() {
1047
+ eventset.labelwidth = this.getBBox().width;
1048
+ });
1049
+ }
1050
+ eventset.bottomlabel.each(function() {
1051
+ eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1052
+ });
1053
+ if (eventset.labelwidth > eventset.boxstart) {
1054
+ eventset.labelonright = true;
1055
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1056
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1057
+ if (eventset.middlelabel) {
1058
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1059
+ }
1060
+ } else {
1061
+ eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1062
+ eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1063
+ if (eventset.middlelabel) {
1064
+ eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1065
+ }
1066
+ }
1067
+ 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", () => {
1068
+ eventset.cover.attr("fill-opacity", 0.1);
1069
+ }).on("mouseout", () => {
1070
+ eventset.cover.attr("fill-opacity", 0);
1071
+ }).on("click", () => {
1072
+ tk.tktip.clear();
1073
+ displayspliceevents(eventset.eventlst, tk.tktip.d);
1074
+ tk.tktip.showunder(eventset.cover.node());
1075
+ });
1076
+ }
1077
+ const stacks = [0];
1078
+ for (const eventset of allevents) {
1079
+ let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1080
+ let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1081
+ for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1082
+ if (x1 > stacks[stackidx]) {
1083
+ eventset.stackidx = stackidx;
1084
+ stacks[stackidx] = x2;
1085
+ break;
1086
+ }
1087
+ if (!eventset.labelonright) {
1088
+ const newx1 = eventset.boxstart;
1089
+ const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1090
+ if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1091
+ eventset.labelonright = true;
1092
+ eventset.stackidx = stackidx;
1093
+ stacks[stackidx] = newx2;
1094
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1095
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1096
+ if (eventset.middlelabel) {
1097
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1098
+ }
1099
+ eventset.cover.attr("x", 0);
1100
+ break;
1101
+ }
1102
+ }
1103
+ }
1104
+ if (eventset.stackidx == void 0) {
1105
+ eventset.stackidx = stacks.length;
1106
+ stacks.push(x2);
1107
+ }
1108
+ eventset.g.attr(
1109
+ "transform",
1110
+ "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1111
+ );
1112
+ }
1113
+ tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1114
+ block.block_setheight();
1115
+ }
1116
+ function checkjunctionframe(arg) {
1117
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1118
+ arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1119
+ }
1120
+ if (!arg.gm.coding) {
1121
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1122
+ mayupdateeventsetlabel(arg);
1123
+ return;
1124
+ }
1125
+ const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1126
+ dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1127
+ if (!data) {
1128
+ console.log("server error");
1129
+ return;
1130
+ }
1131
+ if (data.error) {
1132
+ console.log(data.error);
1133
+ return;
1134
+ }
1135
+ if (typeof data.frame != "boolean") {
1136
+ console.log("invalid result from translategm: " + data.frame);
1137
+ return;
1138
+ }
1139
+ arg.evt.frame = data.frame;
1140
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1141
+ mayupdateeventsetlabel(arg);
1142
+ });
1143
+ }
1144
+ function mayupdateeventsetlabel(arg) {
1145
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1146
+ return;
1147
+ }
1148
+ let frame = OUT_frame;
1149
+ for (const evt of arg.eventset.eventlst) {
1150
+ if (evt.framenocheck) {
1151
+ continue;
1152
+ }
1153
+ let isoform;
1154
+ if (evt.isskipexon) {
1155
+ isoform = evt.gm.isoform;
1156
+ }
1157
+ const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1158
+ if (thisframe == void 0) {
1159
+ return;
1160
+ }
1161
+ if (thisframe == IN_frame) {
1162
+ frame = IN_frame;
1163
+ }
1164
+ }
1165
+ arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1166
+ }
1167
+ function displayspliceevents(events, holder) {
1168
+ const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1169
+ if (events.length > 1) {
1170
+ holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1171
+ const name = Math.random().toString();
1172
+ for (const [idx, evt] of events.entries()) {
1173
+ const id = name + idx;
1174
+ const row = holder.append("div").style("margin-top", "3px");
1175
+ row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1176
+ displayspliceevents_show(events, idx, showdiv);
1177
+ });
1178
+ row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1179
+ }
1180
+ }
1181
+ const showdiv = holder.append("div");
1182
+ displayspliceevents_show(events, evt2showidx, showdiv);
1183
+ }
1184
+ function displayspliceevents_show(events, idx, div) {
1185
+ div.selectAll("*").remove();
1186
+ import("./spliceevent.exonskip.diagram-KOIOS6IV.js").then((p) => {
1187
+ p.default({
1188
+ event: events[idx],
1189
+ holder: div,
1190
+ nophrase: events.length > 1
1191
+ });
1192
+ });
1193
+ }
1194
+ function exonlstoutofrange(lst, block) {
1195
+ const chr = lst[0].chr;
1196
+ let start = lst[0].start;
1197
+ let stop = lst[0].stop;
1198
+ for (const e of lst) {
1199
+ start = Math.min(start, e.start);
1200
+ stop = Math.max(stop, e.stop);
1201
+ }
1202
+ const starthit = block.seekcoord(chr, start)[0];
1203
+ const stophit = block.seekcoord(chr, stop)[0];
1204
+ if (!starthit || !stophit) {
1205
+ return true;
1206
+ }
1207
+ let startoutleft = false;
1208
+ let startoutright = false;
1209
+ if (starthit.x <= 0) {
1210
+ startoutleft = true;
1211
+ } else if (starthit.x >= block.width) {
1212
+ startoutright = true;
1213
+ }
1214
+ let stopoutleft = false;
1215
+ let stopoutright = false;
1216
+ if (stophit.x <= 0) {
1217
+ stopoutleft = true;
1218
+ } else if (stophit.x >= block.width) {
1219
+ stopoutright = true;
1220
+ }
1221
+ if (startoutleft && stopoutleft) return true;
1222
+ if (startoutright && stopoutright) return true;
1223
+ return false;
1224
+ }
1225
+ function getgmdata(block) {
1226
+ if (!block.gmmode || block.gmmode == gmmode.genomic) {
1227
+ const genetk = [];
1228
+ for (const t of block.tklst) {
1229
+ if (t.__isgene) {
1230
+ genetk.push(t);
1231
+ }
1232
+ }
1233
+ if (genetk.length == 0) {
1234
+ return ["Add a gene track to analyze splice junctions."];
1235
+ }
1236
+ const gmdatalst = [];
1237
+ for (const t of genetk) {
1238
+ if (t.gmdata) {
1239
+ for (const m of t.gmdata) {
1240
+ gmdatalst.push(m);
1241
+ }
1242
+ }
1243
+ }
1244
+ if (gmdatalst.length == 0) {
1245
+ return [null];
1246
+ }
1247
+ const regions = [];
1248
+ for (const m of gmdatalst) {
1249
+ let overlap = false;
1250
+ for (const r of regions) {
1251
+ if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1252
+ overlap = true;
1253
+ r.start = Math.min(r.start, m.start);
1254
+ r.stop = Math.max(r.stop, m.stop);
1255
+ break;
1256
+ }
1257
+ }
1258
+ if (!overlap) {
1259
+ regions.push({ start: m.start, stop: m.stop });
1260
+ }
1261
+ }
1262
+ if (regions.length >= 3) {
1263
+ return ["Zoom in on a single gene to analyze splice junctions."];
1264
+ }
1265
+ return [null, gmdatalst];
1266
+ }
1267
+ if (block.gmmode == gmmode.gmsum) {
1268
+ if (!block.allgm) {
1269
+ return ["Error: block.allgm[] is missing"];
1270
+ }
1271
+ return [null, block.allgm];
1272
+ }
1273
+ if (!block.usegm) {
1274
+ return ["Error: block.usegm is missing"];
1275
+ }
1276
+ return [null, [block.usegm]];
1277
+ }
1278
+
1279
+ // src/block.tk.junction.renderjunctions.js
1280
+ var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1281
+ var colorfunc = ordinal(category10_default);
1282
+ var minfontsize = 12;
1283
+ function rendertk(junctions, tk, block) {
1284
+ if (tk.data) {
1285
+ const map = /* @__PURE__ */ new Map();
1286
+ for (const j of tk.data) {
1287
+ map.set(j.chr + "." + j.start + "." + j.stop, j);
1288
+ }
1289
+ const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1290
+ for (const i of junctions) {
1291
+ const j = map.get(i.chr + "." + i.start + "." + i.stop);
1292
+ if (j) {
1293
+ i.x = j.x + pannedpx;
1294
+ i.mode = j.mode;
1295
+ i.modefix = j.modefix;
1296
+ if (i.mode == modesample) {
1297
+ i.mode = moderaise;
1298
+ }
1299
+ }
1300
+ }
1301
+ }
1302
+ tk.data = junctions;
1303
+ tk.glider.selectAll("*").remove();
1304
+ tk.leftaxis.selectAll("*").remove();
1305
+ if (tk.readcountcutoff) {
1306
+ const newj = [];
1307
+ for (const j of tk.data) {
1308
+ if (j.data) {
1309
+ const newsamples = [];
1310
+ for (const s of j.data) {
1311
+ if (s.v >= tk.readcountcutoff) {
1312
+ newsamples.push(s);
1313
+ }
1314
+ }
1315
+ if (newsamples.length == 0) {
1316
+ continue;
1317
+ }
1318
+ j.data = newsamples;
1319
+ newj.push(j);
1320
+ } else {
1321
+ if (j.v >= tk.readcountcutoff) {
1322
+ newj.push(j);
1323
+ }
1324
+ }
1325
+ }
1326
+ tk.data = newj;
1327
+ }
1328
+ if (tk.data.length == 0) {
1329
+ tk.height_main = 50;
1330
+ block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1331
+ tk.label_mcount.text("");
1332
+ if (tk.label_samplecount) {
1333
+ tk.label_samplecount.text("");
1334
+ }
1335
+ get_leftLabelMaxwidth(tk);
1336
+ block.setllabel();
1337
+ block.block_setheight();
1338
+ return;
1339
+ }
1340
+ tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1341
+ get_leftLabelMaxwidth(tk);
1342
+ block.setllabel();
1343
+ junctiontype2color(tk, block);
1344
+ const mg = tk.glider.append("g");
1345
+ tk.data.sort((a, b) => {
1346
+ return a._x - b._x;
1347
+ });
1348
+ let maxsamplecount = 0;
1349
+ if (tk.totalsamplecount > 1) {
1350
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1351
+ const radius = 5;
1352
+ let mrd = 0;
1353
+ const w = Math.pow(radius, 2) * Math.PI;
1354
+ if (maxsamplecount <= 10) {
1355
+ mrd = w * maxsamplecount * 0.9;
1356
+ } else if (maxsamplecount <= 100) {
1357
+ mrd = w * 10;
1358
+ } else if (maxsamplecount <= 1e3) {
1359
+ mrd = w * 14;
1360
+ } else {
1361
+ mrd = w * 20;
1362
+ }
1363
+ const sf_discradius = linear().domain([
1364
+ 1,
1365
+ maxsamplecount * 0.5 + 0.1,
1366
+ maxsamplecount * 0.6 + 0.1,
1367
+ maxsamplecount * 0.7 + 0.1,
1368
+ maxsamplecount * 0.8 + 0.1,
1369
+ maxsamplecount
1370
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1371
+ let maxradius = 0;
1372
+ for (const j of tk.data) {
1373
+ j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1374
+ if (j.data.length > 1) {
1375
+ mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1376
+ const b = this.getBBox();
1377
+ const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1378
+ j.radius = Math.max(j.radius, newrad);
1379
+ }).remove();
1380
+ }
1381
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1382
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1383
+ maxradius = Math.max(maxradius, j.radius2);
1384
+ }
1385
+ tk.maxradius = maxradius;
1386
+ } else {
1387
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1388
+ const radius = 5;
1389
+ let mrd = 0;
1390
+ const w = Math.pow(radius, 2) * Math.PI;
1391
+ if (maxsamplecount <= 10) {
1392
+ mrd = w * maxsamplecount * 0.9;
1393
+ } else if (maxsamplecount <= 100) {
1394
+ mrd = w * 5;
1395
+ } else if (maxsamplecount <= 1e3) {
1396
+ mrd = w * 7;
1397
+ } else {
1398
+ mrd = w * 10;
1399
+ }
1400
+ const sf_discradius = linear().domain([
1401
+ 1,
1402
+ maxsamplecount * 0.5 + 0.1,
1403
+ maxsamplecount * 0.6 + 0.1,
1404
+ maxsamplecount * 0.7 + 0.1,
1405
+ maxsamplecount * 0.8 + 0.1,
1406
+ maxsamplecount
1407
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1408
+ let maxradius = 0;
1409
+ for (const j of tk.data) {
1410
+ j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1411
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1412
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1413
+ maxradius = Math.max(maxradius, j.radius2);
1414
+ }
1415
+ tk.maxradius = maxradius;
1416
+ }
1417
+ let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1418
+ for (const j of tk.data) {
1419
+ for (const s of j.data) {
1420
+ maxread = Math.max(s.v, maxread);
1421
+ }
1422
+ if (j.data.length == 1) {
1423
+ j.median = j.data[0].v;
1424
+ } else {
1425
+ const readlst = j.data.map((s) => s.v);
1426
+ readlst.sort((a, b) => a - b);
1427
+ j.median = readlst[Math.floor(j.data.length / 2)];
1428
+ }
1429
+ if (j.median > maxmedian) {
1430
+ maxmedian = j.median;
1431
+ maxmedianradius = j.radius;
1432
+ }
1433
+ }
1434
+ tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1435
+ axisstyle({
1436
+ axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1437
+ color: "black",
1438
+ showline: true
1439
+ });
1440
+ tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1441
+ tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1442
+ automode(tk, null, block.width);
1443
+ mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1444
+ {
1445
+ const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1446
+ 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");
1447
+ 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");
1448
+ let v = 10;
1449
+ while (v <= maxread) {
1450
+ 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");
1451
+ v *= 10;
1452
+ }
1453
+ }
1454
+ const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1455
+ j.jugg = this;
1456
+ });
1457
+ tk.jug = jug;
1458
+ if (tk.hljunctions) {
1459
+ jug.attr("class", (d) => {
1460
+ for (const j of tk.hljunctions) {
1461
+ if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1462
+ return "sja_pulse";
1463
+ }
1464
+ }
1465
+ return null;
1466
+ });
1467
+ }
1468
+ 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) {
1469
+ d.leg1 = this;
1470
+ }).classed("sja_jug_leg1", true);
1471
+ 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) {
1472
+ d.leg2 = this;
1473
+ });
1474
+ const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1475
+ 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) {
1476
+ d.stem = this;
1477
+ });
1478
+ jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1479
+ 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");
1480
+ 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) => {
1481
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1482
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1483
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1484
+ select_default(d.leg1).attr("stroke-opacity", 1);
1485
+ select_default(d.leg2).attr("stroke-opacity", 1);
1486
+ select_default(d.stem).attr("stroke-opacity", 1);
1487
+ if (d.mode == modefold) {
1488
+ foldedjunctioninfo(d, tk);
1489
+ return;
1490
+ }
1491
+ const circle = event.target.getBoundingClientRect();
1492
+ expandedjunctioninfo(d, tk, circle);
1493
+ }).on("mouseout", () => {
1494
+ tk.pica.g.selectAll("*").remove();
1495
+ tk.tktip.hide();
1496
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1497
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1498
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1499
+ }).on("mousedown", (event) => {
1500
+ event.stopPropagation();
1501
+ }).on("click", (event, d) => {
1502
+ if (d.mode == modefold) {
1503
+ d.mode = moderaise;
1504
+ } else if (d.mode == moderaise) {
1505
+ if (d.data.length == 1) {
1506
+ d.mode = modefold;
1507
+ } else {
1508
+ d.mode = modesample;
1509
+ junctionsamplespread(d, tk, block);
1510
+ }
1511
+ } else {
1512
+ d.mode = modefold;
1513
+ }
1514
+ d.modefix = true;
1515
+ horiplace(tk.data, block.width, tk);
1516
+ });
1517
+ horiplace(tk.data, block.width, tk);
1518
+ function set_lineopacity(d) {
1519
+ return 0.5;
1520
+ }
1521
+ block.onloadalltk.push(() => {
1522
+ spliceeventanalyze(tk, block);
1523
+ });
1524
+ block.tkcloakoff(tk, {});
1525
+ block.block_setheight();
1526
+ }
1527
+ function horiplace(lst, width, tk) {
1528
+ const todo = [];
1529
+ for (const i of lst) {
1530
+ if (i.x0 < 0) {
1531
+ i.tox = i.x1 - i.radius2 * 2;
1532
+ } else if (i.x1 > width) {
1533
+ i.tox = i.x0 + i.radius2 * 2;
1534
+ } else {
1535
+ i.tox = i._x;
1536
+ }
1537
+ if (i.mode == modefold) {
1538
+ i.x = i.tox;
1539
+ } else {
1540
+ todo.push(i);
1541
+ }
1542
+ }
1543
+ for (const i of lst) {
1544
+ i.x = i.tox;
1545
+ }
1546
+ set_all(tk);
1547
+ return;
1548
+ }
1549
+ function automode(tk, usemode, blockwidth) {
1550
+ for (const i of tk.data) {
1551
+ if (!i.mode) i.mode = moderaise;
1552
+ }
1553
+ return;
1554
+ const samplecountlst = [];
1555
+ for (let i = 0; i < tk.data.length; i++) {
1556
+ samplecountlst.push({
1557
+ idx: i,
1558
+ count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1559
+ });
1560
+ }
1561
+ samplecountlst.sort((a, b) => b.count - a.count);
1562
+ let cumx = 0;
1563
+ for (const cc of samplecountlst) {
1564
+ const d = tk.data[cc.idx];
1565
+ if (!d.mode) {
1566
+ cumx += d.radius2 * 2;
1567
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1568
+ } else {
1569
+ if (d.modefix) {
1570
+ if (d.mode != modefold) {
1571
+ cumx += d.radius2 * 2;
1572
+ }
1573
+ } else {
1574
+ if (usemode) {
1575
+ d.mode = usemode;
1576
+ if (d.mode != modefold) {
1577
+ cumx += d.radius2 * 2;
1578
+ }
1579
+ } else {
1580
+ cumx += d.radius2 * 2;
1581
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1582
+ }
1583
+ }
1584
+ }
1585
+ }
1586
+ }
1587
+ function set_jug(d) {
1588
+ return "translate(" + d.x + ",0)";
1589
+ }
1590
+ function set_leg_x1(d) {
1591
+ return d.x0 - d.x;
1592
+ }
1593
+ function set_leg_x2(d) {
1594
+ return d.x1 - d.x;
1595
+ }
1596
+ function set_discnum(d) {
1597
+ return d.mode == modefold ? 0 : 1;
1598
+ }
1599
+ function set_stem_y1(d) {
1600
+ if (d.mode == modefold) return d.radius;
1601
+ return d.radius2;
1602
+ }
1603
+ function set_qmg(d, tk) {
1604
+ if (d.mode == modesample)
1605
+ return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1606
+ return "translate(0,0) scale(0)";
1607
+ }
1608
+ function set_leg_y(d, tk) {
1609
+ if (d.mode == modefold) return -tk.legheight;
1610
+ return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1611
+ }
1612
+ function set_jug2(d, tk) {
1613
+ if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1614
+ if (d.mode == moderaise)
1615
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1616
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1617
+ }
1618
+ function set_stem_y2(d, tk) {
1619
+ if (d.mode == modefold) return d.radius + tk.lowpad;
1620
+ if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1621
+ return tk.maxradius + tk.padheight;
1622
+ }
1623
+ function set_all(tk) {
1624
+ const dur = 500;
1625
+ if (tk.totalsamplecount > 1) {
1626
+ tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1627
+ tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1628
+ }
1629
+ tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1630
+ tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1631
+ tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1632
+ tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1633
+ tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1634
+ }
1635
+ function junctiontype2color(tk, block) {
1636
+ for (const j of tk.data) {
1637
+ j.color = defaultcolor;
1638
+ }
1639
+ if (tk.nocatepreconfig) {
1640
+ let categories = {};
1641
+ if (tk.categories) {
1642
+ categories = tk.categories;
1643
+ }
1644
+ let hasnewtype = false;
1645
+ for (const j of tk.data) {
1646
+ if (j.type) {
1647
+ if (!categories[j.type]) {
1648
+ hasnewtype = true;
1649
+ categories[j.type] = {
1650
+ label: j.type
1651
+ };
1652
+ if (j.type.toLowerCase() == "known") {
1653
+ categories[j.type].color = "#0C72A8";
1654
+ } else if (j.type.toLowerCase() == "novel") {
1655
+ categories[j.type].color = "#A80C33";
1656
+ } else {
1657
+ categories[j.type].color = colorfunc(j.type);
1658
+ }
1659
+ }
1660
+ }
1661
+ }
1662
+ if (hasnewtype) {
1663
+ tk.categories = categories;
1664
+ if (!tk.tr_legend) {
1665
+ const [tr, td] = legend_newrow(block, tk.name);
1666
+ tk.tr_legend = tr;
1667
+ tk.td_legend = td;
1668
+ tr.style("display", "none");
1669
+ appear(tr, "table-row");
1670
+ }
1671
+ category2legend(tk.categories, tk.td_legend);
1672
+ }
1673
+ }
1674
+ if (tk.categories) {
1675
+ for (const j of tk.data) {
1676
+ if (j.type && tk.categories[j.type]) {
1677
+ j.color = tk.categories[j.type].color;
1678
+ }
1679
+ }
1680
+ }
1681
+ }
1682
+ function foldedjunctioninfo(d, tk) {
1683
+ const fontsize = 15;
1684
+ let pad = 5, y = pad, width = 0;
1685
+ const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1686
+ if (d.type) {
1687
+ 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() {
1688
+ width = this.getBBox().width;
1689
+ });
1690
+ y += fontsize;
1691
+ }
1692
+ if (d.data) {
1693
+ 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() {
1694
+ width = Math.max(width, this.getBBox().width);
1695
+ });
1696
+ y += fontsize;
1697
+ 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() {
1698
+ width = Math.max(width, this.getBBox().width);
1699
+ });
1700
+ y += fontsize;
1701
+ } else {
1702
+ 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() {
1703
+ width = Math.max(width, this.getBBox().width);
1704
+ });
1705
+ y += fontsize;
1706
+ }
1707
+ y += pad;
1708
+ bg.attr("width", pad * 2 + width).attr("height", y);
1709
+ 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);
1710
+ y += 15;
1711
+ tk.pica.g.attr(
1712
+ "transform",
1713
+ "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1714
+ );
1715
+ }
1716
+ function expandedjunctioninfo(d, tk, circle) {
1717
+ tk.tktip.clear();
1718
+ const holder = tk.tktip.d;
1719
+ if (d.type) {
1720
+ 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");
1721
+ }
1722
+ holder.append("div").html(
1723
+ bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1724
+ );
1725
+ if (d.data) {
1726
+ if (d.data.length > 1) {
1727
+ holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1728
+ if (d.rimcount) {
1729
+ holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1730
+ }
1731
+ holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1732
+ } else if (d.data.length == 1) {
1733
+ samplejunctiontooltip(d, d.data[0], tk, holder);
1734
+ }
1735
+ } else {
1736
+ holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1737
+ }
1738
+ if (d.spliceevents && d.spliceevents.length > 0) {
1739
+ const renderdiv = holder.append("div").style("margin", "10px 0px");
1740
+ displayspliceevents(d.spliceevents, renderdiv);
1741
+ }
1742
+ tk.tktip.show(circle.left + circle.width, circle.top - 50);
1743
+ }
1744
+ function junctionsamplespread(j, tk, block) {
1745
+ if (j.qmg) {
1746
+ j.qmg.remove();
1747
+ }
1748
+ if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1749
+ for (const d of j.data) {
1750
+ if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1751
+ d.color = "gray";
1752
+ continue;
1753
+ }
1754
+ const levelkeys = [];
1755
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1756
+ const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1757
+ if (levelvalue) {
1758
+ levelkeys.push(levelvalue);
1759
+ }
1760
+ }
1761
+ const str = levelkeys.join(tk.cohortsetting.levelseparator);
1762
+ d.color = tk.cohortsetting.colorfunc(str);
1763
+ }
1764
+ }
1765
+ 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();
1766
+ const jugg = select_default(j.jugg);
1767
+ j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1768
+ const opacity = 0.8;
1769
+ j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1770
+ return bee.datum.color || "green";
1771
+ }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1772
+ select_default(event.target).attr("fill-opacity", 1);
1773
+ const p = event.target.getBoundingClientRect();
1774
+ tk.tktip.clear();
1775
+ tk.tktip.show(p.left + 20, p.top - 40);
1776
+ samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1777
+ }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1778
+ if (tk.tracks) {
1779
+ return;
1780
+ }
1781
+ }).transition().attr("cx", (bee) => bee.x);
1782
+ }
1783
+ function samplejunctiontooltip(j, sample, tk, holder) {
1784
+ if (sample.sample) {
1785
+ holder.append("div").html(sample.sample);
1786
+ } else if (sample.name) {
1787
+ holder.append("div").html(sample.name);
1788
+ } else if (sample.patient || sample.sampletype) {
1789
+ if (sample.patient) {
1790
+ holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1791
+ }
1792
+ if (sample.sampletype) {
1793
+ holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1794
+ }
1795
+ } else if (sample.tkid) {
1796
+ for (const t of tk.tracks) {
1797
+ if (t.tkid == sample.tkid) {
1798
+ holder.append("div").text(t.name || "unnamed member");
1799
+ break;
1800
+ }
1801
+ }
1802
+ }
1803
+ if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1804
+ for (const lev of tk.cohortsetting.cohort.levels) {
1805
+ if (sample[lev.k]) {
1806
+ holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1807
+ }
1808
+ }
1809
+ }
1810
+ holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1811
+ if (sample.metadata) {
1812
+ holder.append("div").html(
1813
+ '<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>"
1814
+ );
1815
+ }
1816
+ if (sample.hasrim) {
1817
+ holder.append("div").text(tk.rimwhat);
1818
+ }
1819
+ if (j.spliceevents) {
1820
+ const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1821
+ const evt = j.spliceevents[evtidx];
1822
+ const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1823
+ let jbcount = 0;
1824
+ if (evt.junctionB && evt.junctionB.data) {
1825
+ for (const d of evt.junctionB.data) {
1826
+ if (d.tkid == sample.tkid) {
1827
+ jbcount = d.v;
1828
+ break;
1829
+ }
1830
+ }
1831
+ }
1832
+ let acountsum = 0;
1833
+ if (evt.junctionAlst) {
1834
+ for (const ja of evt.junctionAlst) {
1835
+ if (ja && ja.data) {
1836
+ for (const d of ja.data) {
1837
+ if (d.tkid == sample.tkid) {
1838
+ acountsum += d.v;
1839
+ break;
1840
+ }
1841
+ }
1842
+ }
1843
+ }
1844
+ }
1845
+ let percent;
1846
+ if (jbcount == 0) {
1847
+ percent = 0;
1848
+ } else {
1849
+ percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1850
+ }
1851
+ holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1852
+ }
1853
+ }
1854
+ function get_leftLabelMaxwidth(tk) {
1855
+ const collectlabw = [];
1856
+ tk.tklabel.each(function() {
1857
+ collectlabw.push(this.getBBox().width);
1858
+ });
1859
+ if (tk.label_mcount) {
1860
+ tk.label_mcount.each(function() {
1861
+ collectlabw.push(this.getBBox().width);
1862
+ });
1863
+ }
1864
+ tk.leftLabelMaxwidth = Math.max(...collectlabw);
1865
+ }
1866
+
1867
+ // src/block.tk.junction.js
1868
+ var binpxw = 5;
1869
+ var modefold = 1;
1870
+ var moderaise = 2;
1871
+ var modesample = 3;
1872
+ var labyspace = 5;
1873
+ function makeTk(tk, block) {
1874
+ tk.leftaxis = tk.gleft.append("g");
1875
+ let laby = labyspace + block.labelfontsize;
1876
+ const thistip = new Menu({ padding: "none" });
1877
+ tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1878
+ label_mcount_fillpane(tk, block, thistip);
1879
+ });
1880
+ laby += labyspace + block.labelfontsize;
1881
+ tk.totalsamplecount = 0;
1882
+ tk.height_main = 100;
1883
+ tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1884
+ if (tk.categories || tk.cohortsetting) {
1885
+ const [tr, td] = legend_newrow(block, tk.name);
1886
+ tk.tr_legend = tr;
1887
+ tk.td_legend = td;
1888
+ }
1889
+ if (tk.categories) {
1890
+ category2legend(tk.categories, tk.td_legend);
1891
+ }
1892
+ if (tk.cohortsetting) {
1893
+ tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1894
+ tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1895
+ }
1896
+ }
1897
+ function junctionload(tk, block) {
1898
+ if (tk.uninitialized) {
1899
+ makeTk(tk, block);
1900
+ delete tk.uninitialized;
1901
+ }
1902
+ if ((block.zoomedin || block.resized) && tk.data) {
1903
+ const junc = [];
1904
+ for (const i of tk.data) {
1905
+ const oldx = i.x;
1906
+ const e = j2block(i, block);
1907
+ if (e) {
1908
+ continue;
1909
+ }
1910
+ if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1911
+ i.x = oldx;
1912
+ junc.push(i);
1913
+ }
1914
+ }
1915
+ rendertk(junc, tk, block);
1916
+ return;
1917
+ }
1918
+ if (tk.fixeddata) {
1919
+ block.tkcloakon(tk);
1920
+ const junc2 = [];
1921
+ for (const j of tk.fixeddata) {
1922
+ const j2 = {
1923
+ chr: j.chr,
1924
+ start: j.start,
1925
+ stop: j.stop,
1926
+ data: j.data,
1927
+ type: j.type
1928
+ };
1929
+ const e = j2block(j2, block);
1930
+ if (e) {
1931
+ continue;
1932
+ }
1933
+ junc2.push(j2);
1934
+ }
1935
+ tk.totalsamplecount = tk.tracks[0].samplecount;
1936
+ tk.axisheight = 200;
1937
+ tk.legheight = 50;
1938
+ tk.bottompad = 0;
1939
+ tk.qmradius = 2;
1940
+ tk.lowpad = 15;
1941
+ tk.padheight = 10;
1942
+ rendertk(junc2, tk, block);
1943
+ return;
1944
+ }
1945
+ if (!tk.tracks) {
1946
+ block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1947
+ tk.height_main = 50;
1948
+ block.block_setheight();
1949
+ return;
1950
+ }
1951
+ block.block_setheight();
1952
+ block.tkcloakon(tk);
1953
+ const bincount = Math.ceil(block.width / binpxw);
1954
+ let bins = null;
1955
+ let donenum = 0;
1956
+ const tasks = [];
1957
+ const allfiledata = [];
1958
+ for (const t of tk.tracks) {
1959
+ const getheader = new Promise((resolve, reject) => {
1960
+ if (t.rnapegfile) {
1961
+ t.samplecount = 1;
1962
+ return resolve();
1963
+ }
1964
+ if (t.samplecount != void 0 && t.checkedheader) return resolve();
1965
+ const par = {};
1966
+ if (t.file) {
1967
+ par.file = t.file;
1968
+ } else {
1969
+ par.url = t.url;
1970
+ if (t.indexURL) par.indexURL = t.indexURL;
1971
+ }
1972
+ dofetch3("tabixheader", { body: par }).then((data) => {
1973
+ if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1974
+ t.checkedheader = true;
1975
+ const str = data.lines.join("");
1976
+ if (!str) {
1977
+ } else {
1978
+ const l = str.trim().split(" ");
1979
+ t.headersamples = [];
1980
+ for (let i = 5; i < l.length; i++) {
1981
+ const str2 = l[i];
1982
+ let j = null;
1983
+ if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1984
+ try {
1985
+ j = JSON.parse(str2);
1986
+ } catch (e) {
1987
+ console.error("header line field [" + i + "] is broken json: " + str2);
1988
+ }
1989
+ }
1990
+ if (j) {
1991
+ j.tkid = Math.random().toString();
1992
+ t.headersamples.push(j);
1993
+ } else {
1994
+ t.headersamples.push({
1995
+ name: l[i],
1996
+ tkid: Math.random().toString()
1997
+ });
1998
+ }
1999
+ }
2000
+ t.samplecount = t.headersamples.length;
2001
+ tk.totalsamplecount += t.samplecount;
2002
+ }
2003
+ resolve();
2004
+ });
2005
+ });
2006
+ const getdata = new Promise((resolve, reject) => {
2007
+ getheader.then(() => {
2008
+ const par = {
2009
+ genome: block.genome.name,
2010
+ rglst: block.tkarg_maygm(t)
2011
+ };
2012
+ if (bincount) par.bincount = bincount;
2013
+ if (t.file || t.rnapegfile) {
2014
+ par.file = t.file || t.rnapegfile;
2015
+ } else {
2016
+ par.url = t.url;
2017
+ if (t.indexURL) par.indexURL = t.indexURL;
2018
+ }
2019
+ if (t.rnapegfile) {
2020
+ par.isrnapeg = 1;
2021
+ }
2022
+ dofetch3("junction", { body: par }).then((data) => {
2023
+ donenum++;
2024
+ if (tk.tracks.length > 1) {
2025
+ block.tkprogress(tk, donenum / tk.tracks.length);
2026
+ }
2027
+ if (!data) reject("server error for getting member track " + t.name);
2028
+ if (data.error) reject("Cannot get data: " + data.error);
2029
+ if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2030
+ if (data.lst) {
2031
+ if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2032
+ t.samplecount = data.lst[0].rawdata.length;
2033
+ tk.totalsamplecount += t.samplecount;
2034
+ }
2035
+ if (bins) {
2036
+ } else {
2037
+ const thisfilejunctions = [];
2038
+ for (const k of data.lst) {
2039
+ k.data = [];
2040
+ for (let i = 0; i < k.rawdata.length; i++) {
2041
+ const v = k.rawdata[i];
2042
+ if (!Number.isInteger(v) || v <= 0) {
2043
+ continue;
2044
+ }
2045
+ const s = { v };
2046
+ if (t.headersamples) {
2047
+ const s0 = t.headersamples[i];
2048
+ if (s0) {
2049
+ for (const _k in s0) {
2050
+ s[_k] = s0[_k];
2051
+ }
2052
+ }
2053
+ } else {
2054
+ if (t.name) s.name = t.name;
2055
+ if (t.sample) s.sample = t.sample;
2056
+ if (t.patient) s.patient = t.patient;
2057
+ if (t.sampeltype) s.sampletype = t.sampletype;
2058
+ if (t.tkid) s.tkid = t.tkid;
2059
+ if (t.file) s.file = t.file;
2060
+ if (t.url) s.url = t.url;
2061
+ if (t.indexURL) s.indexURL = t.indexURL;
2062
+ }
2063
+ k.data.push(s);
2064
+ }
2065
+ delete k.rawdata;
2066
+ thisfilejunctions.push(k);
2067
+ }
2068
+ resolve(thisfilejunctions);
2069
+ }
2070
+ } else {
2071
+ }
2072
+ });
2073
+ }).catch((err) => reject(err));
2074
+ });
2075
+ tasks.push(getdata);
2076
+ }
2077
+ Promise.all(tasks).then((data) => {
2078
+ const junc = [];
2079
+ data.forEach((dat) => {
2080
+ if (!dat) return;
2081
+ dat.forEach((k) => {
2082
+ let notfound = true;
2083
+ for (const j of junc) {
2084
+ if (j.start == k.start && j.stop == k.stop) {
2085
+ j.data = j.data.concat(k.data);
2086
+ notfound = false;
2087
+ break;
2088
+ }
2089
+ }
2090
+ if (notfound) {
2091
+ junc.push(k);
2092
+ }
2093
+ });
2094
+ });
2095
+ for (const j of junc) {
2096
+ j2block(j, block);
2097
+ }
2098
+ for (const j of junc) {
2099
+ smuggleattributes(j);
2100
+ }
2101
+ if (!tk.axisheight) {
2102
+ if (tk.totalsamplecount > 1) {
2103
+ tk.axisheight = 200;
2104
+ tk.legheight = 50;
2105
+ tk.bottompad = 0;
2106
+ tk.qmradius = 2;
2107
+ tk.lowpad = 15;
2108
+ tk.padheight = 10;
2109
+ } else {
2110
+ tk.axisheight = 100;
2111
+ tk.legheight = 20;
2112
+ tk.bottompad = 0;
2113
+ tk.lowpad = 10;
2114
+ tk.padheight = 10;
2115
+ }
2116
+ if (tk.cohortsetting) {
2117
+ initcohortsetting(tk, block);
2118
+ }
2119
+ }
2120
+ rendertk(junc, tk, block);
2121
+ }).catch((err) => {
2122
+ tk.glider.selectAll("*").remove();
2123
+ block.tkcloakoff(tk, { error: err });
2124
+ block.block_setheight();
2125
+ });
2126
+ }
2127
+ function j2block(j, block) {
2128
+ const starthit = block.seekcoord(j.chr, j.start)[0];
2129
+ if (!starthit) {
2130
+ return true;
2131
+ }
2132
+ const stophit = block.seekcoord(j.chr, j.stop)[0];
2133
+ if (!stophit) {
2134
+ return true;
2135
+ }
2136
+ const startout = starthit.x < 0 || starthit.x > block.width;
2137
+ const stopout = stophit.x < 0 || stophit.x > block.width;
2138
+ if (startout && stopout) {
2139
+ return true;
2140
+ }
2141
+ j.x0 = starthit.x;
2142
+ j.x1 = stophit.x;
2143
+ j.x = (j.x0 + j.x1) / 2;
2144
+ j._x = j.x;
2145
+ if (!j.modefix) {
2146
+ j.mode = moderaise;
2147
+ }
2148
+ return false;
2149
+ }
2150
+ function smuggleattributes(j) {
2151
+ }
2152
+ function label_mcount_fillpane(tk, block, tip) {
2153
+ tip.clear();
2154
+ const holder = tip.d;
2155
+ const types = /* @__PURE__ */ new Map();
2156
+ for (const j of tk.data) {
2157
+ if (!j.type) continue;
2158
+ if (!types.has(j.type)) {
2159
+ types.set(j.type, []);
2160
+ }
2161
+ if (j.data) {
2162
+ types.get(j.type).push(j.data.map((i) => i.v));
2163
+ } else {
2164
+ types.get(j.type).push(j.v);
2165
+ }
2166
+ }
2167
+ if (types.size) {
2168
+ const d = holder.append("div").style("margin", "8px");
2169
+ for (const [type, valuelst] of types) {
2170
+ d.append("div").style("margin", "2px").html(
2171
+ valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2172
+ );
2173
+ let vlst = valuelst;
2174
+ if (tk.tracks) {
2175
+ vlst = [];
2176
+ for (const l of valuelst) {
2177
+ vlst.push(...l);
2178
+ }
2179
+ }
2180
+ if (vlst.length == 1) {
2181
+ } else {
2182
+ d.append("table").style("margin-left", "20px").html(
2183
+ '<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>'
2184
+ );
2185
+ }
2186
+ }
2187
+ } else {
2188
+ let vlst = [];
2189
+ if (tk.tracks) {
2190
+ for (const j of tk.data) {
2191
+ vlst.push(...j.data.map((i) => i.v));
2192
+ }
2193
+ } else {
2194
+ vlst = tk.data.map((j) => j.v);
2195
+ }
2196
+ if (vlst.length > 1) {
2197
+ holder.append("table").html(
2198
+ '<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>'
2199
+ );
2200
+ }
2201
+ }
2202
+ holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2203
+ tip.hide();
2204
+ for (const j of tk.data) {
2205
+ j.mode = modefold;
2206
+ j.modefix = true;
2207
+ }
2208
+ horiplace(tk.data, block.width, tk);
2209
+ });
2210
+ holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2211
+ tip.hide();
2212
+ for (const j of tk.data) {
2213
+ j.modefix = false;
2214
+ }
2215
+ automode(tk, null, block.width);
2216
+ for (const j of tk.data) {
2217
+ j.modefix = true;
2218
+ }
2219
+ horiplace(tk.data, block.width, tk);
2220
+ });
2221
+ holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2222
+ tip.hide();
2223
+ downloadjunctions(tk);
2224
+ });
2225
+ tip.showunder(tk.label_mcount.node());
2226
+ }
2227
+ function downloadjunctions(tk) {
2228
+ const txt = [];
2229
+ if (tk.file || tk.url) {
2230
+ if (tk.data) {
2231
+ txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2232
+ for (const j of tk.data) {
2233
+ txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2234
+ }
2235
+ }
2236
+ } else if (tk.tracks) {
2237
+ if (tk.data) {
2238
+ const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2239
+ for (const t of tk.tracks) {
2240
+ const lst = [];
2241
+ if (t.patient) lst.push(t.patient);
2242
+ if (t.sampletype) lst.push(t.sampletype);
2243
+ if (lst.length == 0) {
2244
+ lst.push(t.name);
2245
+ }
2246
+ header.push(lst.join(", "));
2247
+ }
2248
+ txt.push(header.join(" "));
2249
+ for (const j of tk.data) {
2250
+ const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2251
+ const hash = /* @__PURE__ */ new Map();
2252
+ for (const jsample of j.data) {
2253
+ hash.set(jsample.tkid, jsample.v);
2254
+ }
2255
+ for (const t of tk.tracks) {
2256
+ lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2257
+ }
2258
+ txt.push(lst.join(" "));
2259
+ }
2260
+ }
2261
+ }
2262
+ export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2263
+ }
2264
+ function configpanel(tk, block) {
2265
+ tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2266
+ const holder = tk.tkconfigtip.d;
2267
+ {
2268
+ const row = holder.append("div").style("margin-bottom", "10px");
2269
+ row.append("span").html("Read count cutoff&nbsp;");
2270
+ row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2271
+ if (!keyupEnter(event)) return;
2272
+ const v = Number.parseFloat(event.target.value);
2273
+ if (v == 0) {
2274
+ if (tk.readcountcutoff) {
2275
+ tk.readcountcutoff = 0;
2276
+ junctionload(tk, block);
2277
+ } else {
2278
+ }
2279
+ return;
2280
+ }
2281
+ if (!v || v < 0) {
2282
+ return;
2283
+ }
2284
+ if (tk.readcountcutoff) {
2285
+ if (tk.readcountcutoff == v) {
2286
+ } else if (tk.readcountcutoff > v) {
2287
+ tk.readcountcutoff = v;
2288
+ junctionload(tk, block);
2289
+ } else {
2290
+ tk.readcountcutoff = v;
2291
+ rendertk(tk.data, tk, block);
2292
+ }
2293
+ } else {
2294
+ tk.readcountcutoff = v;
2295
+ junctionload(tk, block);
2296
+ }
2297
+ });
2298
+ const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2299
+ if (tk.totalsamplecount > 1) {
2300
+ note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2301
+ } else {
2302
+ note.text("Junctions with read count lower than cutoff will not be shown.");
2303
+ }
2304
+ }
2305
+ }
2306
+ function initcohortsetting(tk, block) {
2307
+ if (!tk.cohortsetting.cohort) {
2308
+ sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2309
+ return;
2310
+ }
2311
+ if (!tk.cohortsetting.cohort.levels) {
2312
+ sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2313
+ return;
2314
+ }
2315
+ if (!tk.cohortsetting.cohort.levels[0]) {
2316
+ sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2317
+ return;
2318
+ }
2319
+ tk.cohortsetting.levelseperator = ".";
2320
+ tk.cohortsetting.uselevelidx = 0;
2321
+ setcohortlegend_usecohortlevel(tk, block);
2322
+ }
2323
+ function setcohortlegend_usecohortlevel(tk, block) {
2324
+ tk.cohortsetting.legendholder.selectAll("*").remove();
2325
+ tk.cohortsetting.colorfunc = ordinal(category10_default);
2326
+ const stratkey2count = /* @__PURE__ */ new Map();
2327
+ for (const t of tk.tracks) {
2328
+ for (const s of t.headersamples) {
2329
+ if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2330
+ continue;
2331
+ }
2332
+ const thissamplekeys = [];
2333
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2334
+ const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2335
+ if (thislevelkey) {
2336
+ thissamplekeys.push(thislevelkey);
2337
+ }
2338
+ }
2339
+ const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2340
+ if (!stratkey2count.has(str)) {
2341
+ stratkey2count.set(str, {
2342
+ count: 0,
2343
+ label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2344
+ });
2345
+ }
2346
+ stratkey2count.get(str).count++;
2347
+ }
2348
+ }
2349
+ const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2350
+ for (const item of sorteditems) {
2351
+ const color = tk.cohortsetting.colorfunc(item[0]);
2352
+ const label = item[1].label;
2353
+ const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2354
+ row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2355
+ row.append("div").style("display", "inline-block").text(label);
2356
+ }
2357
+ }
2358
+ export {
2359
+ junctionload,
2360
+ modefold,
2361
+ moderaise,
2362
+ modesample
2363
+ };
2364
+ //# sourceMappingURL=block.tk.junction-4WSLQGSQ.js.map