@sjcrh/proteinpaint-client 2.196.0 → 2.198.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (957) hide show
  1. package/dist/2dmaf-R3PFZNRN.js +1373 -0
  2. package/dist/AIProjectAdmin-DM3KG6SR.js +958 -0
  3. package/dist/AppHeader-6DZQ6YZX.js +835 -0
  4. package/dist/BoxPlot-76NINVX4.js +1217 -0
  5. package/dist/CorrelationVolcano-U5UMJNH5.js +619 -0
  6. package/dist/DE-AXNYWIQK.js +95 -0
  7. package/dist/DEinput-JH6YY6LS.js +301 -0
  8. package/dist/DifferentialAnalysis-25P4CGIY.js +242 -0
  9. package/dist/DifferentialAnalysis-25P4CGIY.js.map +7 -0
  10. package/dist/Disco-NVMLF3BK.js +3392 -0
  11. package/dist/Disco-NVMLF3BK.js.map +7 -0
  12. package/dist/Disco.UI-C7CZINUQ.js +249 -0
  13. package/dist/DmrPlot-WROR4ENM.js +642 -0
  14. package/dist/GB-JUABODPH.js +1394 -0
  15. package/dist/GB-JUABODPH.js.map +7 -0
  16. package/dist/GSEA-Y5R2THIJ.js +846 -0
  17. package/dist/GSEA-Y5R2THIJ.js.map +7 -0
  18. package/dist/GeneExpInput-JDU6EI7K.js +367 -0
  19. package/dist/Geomap-J763OK2F.js +89 -0
  20. package/dist/Geomap-J763OK2F.js.map +7 -0
  21. package/dist/HicApp-UNIJLH4B.js +2250 -0
  22. package/dist/IDCViewer-KVPCIUDW.js +10803 -0
  23. package/dist/IDCViewer-KVPCIUDW.js.map +7 -0
  24. package/dist/NumBinaryEditor-WMN2GGO4.js +271 -0
  25. package/dist/NumBinaryEditor.unit.spec-TAMXV6SE.js +286 -0
  26. package/dist/NumContEditor-XYIOJY4E.js +109 -0
  27. package/dist/NumContEditor.unit.spec-WDZ75BHO.js +169 -0
  28. package/dist/NumCustomBinEditor-5SY3C4TY.js +38 -0
  29. package/dist/NumCustomBinEditor.unit.spec-XHTAIXR3.js +284 -0
  30. package/dist/NumDiscreteEditor-NRDRX4FD.js +179 -0
  31. package/dist/NumDiscreteEditor.unit.spec-2CJW7OAT.js +202 -0
  32. package/dist/NumRegularBinEditor-DUDVTNDC.js +38 -0
  33. package/dist/NumRegularBinEditor.unit.spec-H3GNQHMN.js +227 -0
  34. package/dist/NumSplineEditor-7Q4AC7KH.js +198 -0
  35. package/dist/NumSplineEditor.unit.spec-YRZK5PH5.js +199 -0
  36. package/dist/NumericDensity-NTNWUESG.js +38 -0
  37. package/dist/NumericDensity.unit.spec-5I5U6T6P.js +221 -0
  38. package/dist/NumericHandler-MEW2KMPX.js +39 -0
  39. package/dist/NumericHandler.unit.spec-JFX4BPRG.js +219 -0
  40. package/dist/ProteomeInput-K2ZHR2U6.js +395 -0
  41. package/dist/ProteomeInput-K2ZHR2U6.js.map +7 -0
  42. package/dist/RunChart2-BEBDU7RC.js +758 -0
  43. package/dist/SC-XCBFJVUJ.js +1120 -0
  44. package/dist/SC-XCBFJVUJ.js.map +7 -0
  45. package/dist/Volcano-4Y4TP3UX.js +1385 -0
  46. package/dist/Volcano-4Y4TP3UX.js.map +7 -0
  47. package/dist/WSIViewer-ZLQU62PD.js +48562 -0
  48. package/dist/WsiSamplesPlot-JMBSITOM.js +165 -0
  49. package/dist/adSandbox-664IRCRL.js +38 -0
  50. package/dist/animatedBubbleChart-TX7NW34K.js +555 -0
  51. package/dist/app-63WJ3BMP.js +37 -0
  52. package/dist/app-77FIZHCG.js +49 -0
  53. package/dist/app.js +19 -19
  54. package/dist/bam-IETNVAYD.js +860 -0
  55. package/dist/barchart-YUVXJNH4.js +47 -0
  56. package/dist/barchart.data-P4EIQXGE.js +22 -0
  57. package/dist/barchart.events-JPVCLTIG.js +47 -0
  58. package/dist/barchart.integration.spec-ZH7DEQI2.js +2196 -0
  59. package/dist/barchart2-XO2FG76J.js +314 -0
  60. package/dist/bars.renderer-AUIWUJDH.js +12 -0
  61. package/dist/block-NBTCOT3H.js +6255 -0
  62. package/dist/block-NBTCOT3H.js.map +7 -0
  63. package/dist/block.init-X7Y2EEVR.js +38 -0
  64. package/dist/block.mds.expressionrank-BIAOZIZ3.js +359 -0
  65. package/dist/block.mds.geneboxplot-CNICDVLK.js +828 -0
  66. package/dist/block.mds.junction-PQXCTSUI.js +1545 -0
  67. package/dist/block.mds.svcnv-32KMVTCT.js +6801 -0
  68. package/dist/block.svg-LRTOYQK2.js +164 -0
  69. package/dist/block.tk.aicheck-HDV7ZIUD.js +283 -0
  70. package/dist/block.tk.ase-JIDWKMYI.js +365 -0
  71. package/dist/block.tk.bam-5X3OS5HB.js +1906 -0
  72. package/dist/block.tk.bedgraphdot-T7JX7YQL.js +384 -0
  73. package/dist/block.tk.bigwig.ui-OSAYEBAE.js +212 -0
  74. package/dist/block.tk.hicstraw-DEY3VQFK.js +823 -0
  75. package/dist/block.tk.junction-7UAFEZSJ.js +2364 -0
  76. package/dist/block.tk.junction.textmatrixui-27LHS33U.js +199 -0
  77. package/dist/block.tk.ld-DF2PI7OO.js +99 -0
  78. package/dist/block.tk.menu-L2D5KBIV.js +1029 -0
  79. package/dist/block.tk.pgv-QO56SKBV.js +944 -0
  80. package/dist/brainImaging-NIPQWFWO.js +423 -0
  81. package/dist/brainRegions-ZNZ2WHSU.js +221 -0
  82. package/dist/bubbleHeatmap-ERWNEKZB.js +383 -0
  83. package/dist/chunk-2GYWFQML.js +299 -0
  84. package/dist/chunk-2HYJ4GDH.js +50 -0
  85. package/dist/chunk-2MG6XE6R.js +272 -0
  86. package/dist/chunk-2X6W4E3W.js +1507 -0
  87. package/dist/chunk-2X6W4E3W.js.map +7 -0
  88. package/dist/chunk-33K5PA52.js +54 -0
  89. package/dist/chunk-37XDBPOP.js +26 -0
  90. package/dist/chunk-3EWB3246.js +58 -0
  91. package/dist/chunk-3RSKOPIY.js +100 -0
  92. package/dist/chunk-3XVVN66M.js +4085 -0
  93. package/dist/chunk-3XVVN66M.js.map +7 -0
  94. package/dist/chunk-4DPVT4NE.js +1102 -0
  95. package/dist/chunk-4IH7DORZ.js +98 -0
  96. package/dist/chunk-4QNBFIIR.js +399 -0
  97. package/dist/chunk-4STKL6SR.js +217 -0
  98. package/dist/chunk-4TZIVSL5.js +34 -0
  99. package/dist/chunk-5ABGFJSP.js +467 -0
  100. package/dist/chunk-5AZNP47R.js +302 -0
  101. package/dist/chunk-5RL2OHXX.js +5070 -0
  102. package/dist/chunk-5RL2OHXX.js.map +7 -0
  103. package/dist/chunk-5VOPABBA.js +20941 -0
  104. package/dist/chunk-5VOPABBA.js.map +7 -0
  105. package/dist/chunk-6BB43SIB.js +102 -0
  106. package/dist/chunk-7OHRR2IE.js +276 -0
  107. package/dist/chunk-ARBHWDMY.js +226 -0
  108. package/dist/chunk-ARBHWDMY.js.map +7 -0
  109. package/dist/chunk-ASATD4T7.js +14 -0
  110. package/dist/chunk-AZ47Q7BX.js +1223 -0
  111. package/dist/chunk-AZ47Q7BX.js.map +7 -0
  112. package/dist/chunk-B5B3LZB3.js +236 -0
  113. package/dist/chunk-BHGISFCA.js +2681 -0
  114. package/dist/chunk-BMBOZ64T.js +2786 -0
  115. package/dist/chunk-BOZJHPJP.js +216 -0
  116. package/dist/chunk-CDD7LYJM.js +194 -0
  117. package/dist/chunk-CTQ3IUCA.js +2327 -0
  118. package/dist/chunk-D7TID3HR.js +158 -0
  119. package/dist/chunk-DBKNWR4J.js +1561 -0
  120. package/dist/chunk-DBKNWR4J.js.map +7 -0
  121. package/dist/chunk-E55LLYRX.js +55 -0
  122. package/dist/chunk-ESGXULRH.js +386 -0
  123. package/dist/chunk-EZ4LZ6ZT.js +117 -0
  124. package/dist/chunk-F3SJTVP5.js +4284 -0
  125. package/dist/chunk-F5IXNJO7.js +222 -0
  126. package/dist/chunk-FJYECRHW.js +448 -0
  127. package/dist/chunk-FPNRUQOU.js +833 -0
  128. package/dist/chunk-G5S4R77D.js +1942 -0
  129. package/dist/chunk-G5S4R77D.js.map +7 -0
  130. package/dist/chunk-G764NXQN.js +170 -0
  131. package/dist/chunk-GAPI4MML.js +148 -0
  132. package/dist/chunk-HLUZOZXJ.js +272 -0
  133. package/dist/chunk-HOKIK2FR.js +375 -0
  134. package/dist/chunk-I6WR4CG7.js +323 -0
  135. package/dist/chunk-I6WR4CG7.js.map +7 -0
  136. package/dist/chunk-KLGL6XZD.js +129 -0
  137. package/dist/chunk-KTKZSYIH.js +24 -0
  138. package/dist/chunk-KTKZSYIH.js.map +7 -0
  139. package/dist/chunk-L7IRWUKT.js +480 -0
  140. package/dist/chunk-LFCYMSVA.js +314 -0
  141. package/dist/chunk-LFCYMSVA.js.map +7 -0
  142. package/dist/chunk-LX6G7HJJ.js +617 -0
  143. package/dist/chunk-M2G5R4WB.js +142 -0
  144. package/dist/chunk-M4TTGGT4.js +102 -0
  145. package/dist/chunk-M6EF3WVV.js +1825 -0
  146. package/dist/chunk-M6KHT3MM.js +146 -0
  147. package/dist/chunk-MCZFHWIR.js +230 -0
  148. package/dist/chunk-MFQACKYU.js +448 -0
  149. package/dist/chunk-MVGAGTM3.js +343 -0
  150. package/dist/chunk-NELOT3NJ.js +119 -0
  151. package/dist/chunk-NRKMXULC.js +54 -0
  152. package/dist/chunk-NSTL4MY2.js +2110 -0
  153. package/dist/chunk-NSTL4MY2.js.map +7 -0
  154. package/dist/chunk-NYRZNRG5.js +177 -0
  155. package/dist/chunk-ONPKE6DC.js +368 -0
  156. package/dist/chunk-OXVLWQ6M.js +556 -0
  157. package/dist/chunk-OXVLWQ6M.js.map +7 -0
  158. package/dist/chunk-PFRWS4CR.js +203 -0
  159. package/dist/chunk-PJKQUXEN.js +1275 -0
  160. package/dist/chunk-Q2L44HK3.js +6364 -0
  161. package/dist/chunk-QNHT74XC.js +1245 -0
  162. package/dist/chunk-QNHT74XC.js.map +7 -0
  163. package/dist/chunk-RKO6BL5N.js +446 -0
  164. package/dist/chunk-T25QNZHB.js +254 -0
  165. package/dist/chunk-U7TBYVIQ.js +31 -0
  166. package/dist/chunk-UGRQXBL4.js +381 -0
  167. package/dist/chunk-USFSHSCJ.js +477 -0
  168. package/dist/chunk-VJ6UFVGC.js +2833 -0
  169. package/dist/chunk-W3WPPOXH.js +292 -0
  170. package/dist/chunk-WFCSOTBO.js +263 -0
  171. package/dist/chunk-WHP4AKDM.js +185 -0
  172. package/dist/chunk-WHP4AKDM.js.map +7 -0
  173. package/dist/chunk-WZ2L57MB.js +102 -0
  174. package/dist/chunk-XPY6AWXO.js +787 -0
  175. package/dist/chunk-XPY6AWXO.js.map +7 -0
  176. package/dist/chunk-Y4UAKFWC.js +37 -0
  177. package/dist/chunk-YQBS2ZCK.js +514 -0
  178. package/dist/chunk-Z5U6HOE4.js +190 -0
  179. package/dist/chunk-Z5U6HOE4.js.map +7 -0
  180. package/dist/chunk-ZNEJUKJW.js +140 -0
  181. package/dist/chunk-ZNEJUKJW.js.map +7 -0
  182. package/dist/chunk-ZTHM2TKP.js +176 -0
  183. package/dist/condition-2PASYSUC.js +332 -0
  184. package/dist/controls-5IMJ6K5L.js +41 -0
  185. package/dist/controls.config-P5PG2DHW.js +39 -0
  186. package/dist/correlation-U3EDLNHR.js +102 -0
  187. package/dist/cuminc-2HUFEROK.js +1149 -0
  188. package/dist/cuminc.integration.spec-WFWAPTDA.js +678 -0
  189. package/dist/cuminc.integration.spec-WFWAPTDA.js.map +7 -0
  190. package/dist/customdata.inputui-ZHWNEPFH.js +289 -0
  191. package/dist/dataDownload-VBSJBKMP.js +330 -0
  192. package/dist/dataDownload.integration.spec-LUFSETOP.js +193 -0
  193. package/dist/databrowser.ui-6H2KMSTJ.js +433 -0
  194. package/dist/dictionary-V37LXFIP.js +118 -0
  195. package/dist/dnaMethylation-OIZMHMLK.js +38 -0
  196. package/dist/dnaMethylation.integration.spec-CWPTJ74H.js +203 -0
  197. package/dist/dofetch-IWPZQB5N.js +51 -0
  198. package/dist/e2pca-7SLIAGYW.js +350 -0
  199. package/dist/ep-7L6KF6K4.js +1256 -0
  200. package/dist/expclust.gdc.spec-JT452Q3G.js +307 -0
  201. package/dist/facet-CXOUU5AS.js +521 -0
  202. package/dist/forms2-VPNCLQOY.js +539 -0
  203. package/dist/gb-P4VRXRED.js +88 -0
  204. package/dist/geneExpClustering-FQTCKRJJ.js +249 -0
  205. package/dist/geneExpression-BHO5326K.js +313 -0
  206. package/dist/geneExpression-ZMERB64E.js +38 -0
  207. package/dist/geneExpression.unit.spec-CNVHZWNG.js +102 -0
  208. package/dist/geneORA-FXVUCXGX.js +278 -0
  209. package/dist/geneRanking-SFK4UBKQ.js +553 -0
  210. package/dist/geneVariant-IYEHB4H7.js +41 -0
  211. package/dist/geneVariant-LIRRLUFR.js +39 -0
  212. package/dist/geneVariant.integration.spec-Y2NPNTYX.js +198 -0
  213. package/dist/genefusion.ui-L3HIJM3N.js +309 -0
  214. package/dist/geneset-A6VUFX63.js +208 -0
  215. package/dist/genomeBrowser.spec-CB4HHHBN.js +281 -0
  216. package/dist/grin2-FKBIMH5N.js +75 -0
  217. package/dist/grin2-V36KLEBU.js +1143 -0
  218. package/dist/grin2-V36KLEBU.js.map +7 -0
  219. package/dist/hierCluster-QFPRMHVA.js +63 -0
  220. package/dist/hierCluster-YWC3XYPV.js +59 -0
  221. package/dist/hierCluster.config-F7YYZNM3.js +40 -0
  222. package/dist/hierCluster.integration.spec-AF4L3YT6.js +488 -0
  223. package/dist/hierCluster.interactivity-RPY74PK6.js +54 -0
  224. package/dist/hierCluster.renderers-LOKHZ3V2.js +21 -0
  225. package/dist/imagePlot-BBEXA754.js +163 -0
  226. package/dist/importPlot-7QGANZGK.js +8 -0
  227. package/dist/isoformExpression-4SLLCVFD.js +40 -0
  228. package/dist/isoformExpression.unit.spec-GEL4JJ64.js +208 -0
  229. package/dist/launch.adhoc-LWLBQJS5.js +42 -0
  230. package/dist/leftlabel.sample-RTEZOIH2.js +264 -0
  231. package/dist/legacyDataset-VLD7ZYWI.js +119 -0
  232. package/dist/lollipop-XKQK5QZU.js +171 -0
  233. package/dist/maf-AZQPPWDO.js +459 -0
  234. package/dist/maftimeline-7MSVYKQU.js +593 -0
  235. package/dist/matrix-BGLWC25D.js +58 -0
  236. package/dist/matrix-IQR5SRMK.js +63 -0
  237. package/dist/matrix.cells-5C57NWOY.js +28 -0
  238. package/dist/matrix.config-2DQXAN2E.js +41 -0
  239. package/dist/matrix.data-ADCGF5H6.js +25 -0
  240. package/dist/matrix.groups-V4ITQ5F7.js +27 -0
  241. package/dist/matrix.integration.spec-IBNOO2WP.js +3072 -0
  242. package/dist/matrix.integration.spec-IBNOO2WP.js.map +7 -0
  243. package/dist/matrix.interactivity-JNELJFOV.js +42 -0
  244. package/dist/matrix.layout-WBVIV6GR.js +44 -0
  245. package/dist/matrix.legend-YHOWPK77.js +22 -0
  246. package/dist/matrix.renderers-5BGVRR3M.js +38 -0
  247. package/dist/matrix.serieses-2GZJOASZ.js +21 -0
  248. package/dist/matrix.sort-WKIWPJKP.js +27 -0
  249. package/dist/matrix.sort.unit.spec-L2E4D4AS.js +472 -0
  250. package/dist/matrix.sorterUi-TEJWWJ64.js +18 -0
  251. package/dist/matrix.sorterUi.unit.spec-SHP7C4P7.js +342 -0
  252. package/dist/mavb-4MXNYUEO.js +732 -0
  253. package/dist/mds.fimo-WHIJIBOI.js +518 -0
  254. package/dist/mds.samplescatterplot-BRJ6NG2D.js +1550 -0
  255. package/dist/mds.survivalplot-OPCMB5PB.js +483 -0
  256. package/dist/numericDictTermCluster-7MIFOP2K.js +65 -0
  257. package/dist/oncomatrix-BGG6BEUI.js +295 -0
  258. package/dist/oncomatrix.spec-LYQ4L4F3.js +448 -0
  259. package/dist/plot.2dvaf-6WVCP2ZI.js +377 -0
  260. package/dist/plot.app-MLBP6WFP.js +41 -0
  261. package/dist/plot.barplot-JEPRZSCU.js +102 -0
  262. package/dist/plot.boxplot-GNFW42VM.js +152 -0
  263. package/dist/plot.brainImaging-5ACNSD45.js +51 -0
  264. package/dist/plot.disco-Q2V2KKIH.js +102 -0
  265. package/dist/plot.dzi-KVT6S7K7.js +33 -0
  266. package/dist/plot.ssgq-4N3KFJQ2.js +139 -0
  267. package/dist/plot.vaf2cov-ITRG5U43.js +259 -0
  268. package/dist/plot.wsi-26YZNU4V.js +36 -0
  269. package/dist/polar2-J7GVUK4X.js +231 -0
  270. package/dist/profileForms-VXV2JLXU.js +446 -0
  271. package/dist/profilePlot-ZZYZK4SY.js +54 -0
  272. package/dist/proteinView-7KN532D3.js +1568 -0
  273. package/dist/qualitative-MLRVLIAU.js +43 -0
  274. package/dist/radar2-WM2ZBOH3.js +326 -0
  275. package/dist/radarFacility2-3SBR2JJ3.js +334 -0
  276. package/dist/regression-WMRPQJW2.js +56 -0
  277. package/dist/regression.inputs-VWZKSYNY.js +48 -0
  278. package/dist/regression.inputs.term-OWE6GWHM.js +48 -0
  279. package/dist/regression.inputs.values.table-4INNZQI2.js +45 -0
  280. package/dist/regression.integration.spec-XKQ2JOOT.js +784 -0
  281. package/dist/regression.results-VZBYMBYC.js +40 -0
  282. package/dist/regression.spec-DU3UTDCJ.js +708 -0
  283. package/dist/render-N5FOF247.js +38 -0
  284. package/dist/report-DW3OHB67.js +222 -0
  285. package/dist/sampleScatter.spec-REFSK2V4.js +202 -0
  286. package/dist/sampleView-ICOT2R6O.js +48 -0
  287. package/dist/samplelst-TJEVASYG.js +111 -0
  288. package/dist/samplematrix-6DAWCXQ3.js +2198 -0
  289. package/dist/sc-53LNOB7N.js +86 -0
  290. package/dist/scatter-DKYSS4DL.js +851 -0
  291. package/dist/selectGenomeWithTklst-WTX66TV3.js +134 -0
  292. package/dist/singleCellCellType-D2CN2BHQ.js +38 -0
  293. package/dist/singleCellCellType.unit.spec-LADUCI4R.js +160 -0
  294. package/dist/singleCellGeneExpression-YR2ZT34W.js +38 -0
  295. package/dist/singleCellGeneExpression.unit.spec-BM63M432.js +153 -0
  296. package/dist/singleCellPlot-3ICIOILE.js +54 -0
  297. package/dist/singlecell-6ZUFA3BQ.js +86 -0
  298. package/dist/singlecell-KX7W4U57.js +1572 -0
  299. package/dist/snp-VIURB7L3.js +38 -0
  300. package/dist/snp.unit.spec-ACZNZUNS.js +176 -0
  301. package/dist/snplocus-3LW4ZUZR.js +208 -0
  302. package/dist/spliceevent.a53ss.diagram-AKTZGWNM.js +151 -0
  303. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js +283 -0
  304. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js.map +7 -0
  305. package/dist/spliceevent.noeventdiagram-YTXWWNTJ.js +460 -0
  306. package/dist/ssGSEA-THW4WFMI.js +38 -0
  307. package/dist/ssGSEA.unit.spec-HTRGQI2K.js +88 -0
  308. package/dist/summarizeCnvGeneexp-RFYC3H2Z.js +163 -0
  309. package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js +114 -0
  310. package/dist/summarizeMutationCnv-7AYEMHAI.js +164 -0
  311. package/dist/summarizeMutationDiagnosis-AKFJDSAF.js +40 -0
  312. package/dist/summarizeMutationSurvival-QJHZRQBZ.js +99 -0
  313. package/dist/summary-A5P7AYK4.js +49 -0
  314. package/dist/summary.integration.spec-HQISXGNL.js +414 -0
  315. package/dist/summaryInput-HP675QOQ.js +235 -0
  316. package/dist/sunburst-65LSYRXX.js +284 -0
  317. package/dist/survival-QNEI6YVK.js +46 -0
  318. package/dist/survival-UI74VXSM.js +58 -0
  319. package/dist/survival.integration.spec-X5N3JQXS.js +915 -0
  320. package/dist/survival.integration.spec-X5N3JQXS.js.map +7 -0
  321. package/dist/svgraph-PSX2NER3.js +1387 -0
  322. package/dist/svmr-QDQ33EFX.js +3842 -0
  323. package/dist/table-LWAI27UO.js +200 -0
  324. package/dist/termCollection-3JHR74FG.js +179 -0
  325. package/dist/termCollection-CDF5LYUG.js +38 -0
  326. package/dist/termCollection.unit.spec-HOJKYWHF.js +208 -0
  327. package/dist/tk-GL4QCL4K.js +1019 -0
  328. package/dist/tk-GL4QCL4K.js.map +7 -0
  329. package/dist/tk-OEQFO73V.js +46 -0
  330. package/dist/tp.ui-SHNERDGC.js +1459 -0
  331. package/dist/tvs.dt-CZDC4TSR.js +39 -0
  332. package/dist/tvs.dtcnv.categorical-OPBDHZGB.js +40 -0
  333. package/dist/tvs.dtcnv.continuous-AR6P4EP3.js +72 -0
  334. package/dist/tvs.dtfusion-2YQ7N6FQ.js +40 -0
  335. package/dist/tvs.dtitd-ATCHW735.js +40 -0
  336. package/dist/tvs.dtitd-ATCHW735.js.map +7 -0
  337. package/dist/tvs.dtsnvindel-WHHWAATJ.js +40 -0
  338. package/dist/tvs.dtsv-3UMCW65O.js +40 -0
  339. package/dist/tvs.numeric-TOEPASWN.js +21 -0
  340. package/dist/tvs.samplelst-M7XKXRTZ.js +104 -0
  341. package/dist/tvs.termCollection-WT4WZMYR.js +159 -0
  342. package/dist/violin-2YGXTBDS.js +46 -0
  343. package/dist/violin.integration.spec-YWNHVAGS.js +1425 -0
  344. package/dist/violin.interactivity-J6BE2UQL.js +38 -0
  345. package/dist/violin.renderer-3GRUWP2U.js +40 -0
  346. package/dist/vocabulary-2INCVPYJ.js +41 -0
  347. package/package.json +3 -3
  348. package/dist/2dmaf-SKNV7IHT.js +0 -1373
  349. package/dist/AIProjectAdmin-AOTVRBNH.js +0 -958
  350. package/dist/AppHeader-M2ZSS3M3.js +0 -835
  351. package/dist/BoxPlot-P3EECSQA.js +0 -1217
  352. package/dist/CorrelationVolcano-YCQ5S6MT.js +0 -619
  353. package/dist/DE-RBMOQZCR.js +0 -95
  354. package/dist/DEinput-PTW6RS6U.js +0 -301
  355. package/dist/DifferentialAnalysis-M6IDWPYX.js +0 -245
  356. package/dist/DifferentialAnalysis-M6IDWPYX.js.map +0 -7
  357. package/dist/Disco-GUKDAHUY.js +0 -3297
  358. package/dist/Disco-GUKDAHUY.js.map +0 -7
  359. package/dist/Disco.UI-YBIMV7RH.js +0 -249
  360. package/dist/DmrPlot-JQPLLU6P.js +0 -642
  361. package/dist/GB-UOTFNVJE.js +0 -1353
  362. package/dist/GB-UOTFNVJE.js.map +0 -7
  363. package/dist/GeneExpInput-3OPDDCXR.js +0 -367
  364. package/dist/HicApp-VFOWRP6G.js +0 -2250
  365. package/dist/IDCViewer-Y7EOIIBG.js +0 -10455
  366. package/dist/IDCViewer-Y7EOIIBG.js.map +0 -7
  367. package/dist/NumBinaryEditor-RL44SO3T.js +0 -271
  368. package/dist/NumBinaryEditor.unit.spec-P73PGAX5.js +0 -286
  369. package/dist/NumContEditor-MIC7M73G.js +0 -109
  370. package/dist/NumContEditor.unit.spec-5XZH7OCG.js +0 -169
  371. package/dist/NumCustomBinEditor-W357XTIR.js +0 -38
  372. package/dist/NumCustomBinEditor.unit.spec-CJMK4CYW.js +0 -284
  373. package/dist/NumDiscreteEditor-PRSUMS3I.js +0 -179
  374. package/dist/NumDiscreteEditor.unit.spec-A6R56P3Z.js +0 -202
  375. package/dist/NumRegularBinEditor-7OHUEUCC.js +0 -38
  376. package/dist/NumRegularBinEditor.unit.spec-NOAX42UZ.js +0 -227
  377. package/dist/NumSplineEditor-XI7AT5LM.js +0 -198
  378. package/dist/NumSplineEditor.unit.spec-ZH4M2N2C.js +0 -199
  379. package/dist/NumericDensity-X6IHQAW3.js +0 -38
  380. package/dist/NumericDensity.unit.spec-EKVD4AUG.js +0 -221
  381. package/dist/NumericHandler-5ONBWFJ5.js +0 -39
  382. package/dist/NumericHandler.unit.spec-SHI6E4VA.js +0 -219
  383. package/dist/ProteomeInput-HN46MIBP.js +0 -396
  384. package/dist/ProteomeInput-HN46MIBP.js.map +0 -7
  385. package/dist/RunChart2-Y6IY6MW2.js +0 -758
  386. package/dist/SC-JYF564FK.js +0 -1130
  387. package/dist/SC-JYF564FK.js.map +0 -7
  388. package/dist/Volcano-WZGAUYGY.js +0 -1380
  389. package/dist/Volcano-WZGAUYGY.js.map +0 -7
  390. package/dist/WSIViewer-RLLL7MAL.js +0 -48562
  391. package/dist/WsiSamplesPlot-FU3TCOTY.js +0 -165
  392. package/dist/adSandbox-ZINST5DE.js +0 -38
  393. package/dist/animatedBubbleChart-PIQWCVBJ.js +0 -555
  394. package/dist/app-N42SVGI2.js +0 -37
  395. package/dist/app-RWN4XLCP.js +0 -49
  396. package/dist/bam-QTSTXJ4N.js +0 -860
  397. package/dist/barchart-27BYTRVI.js +0 -47
  398. package/dist/barchart.data-OUNVH4JU.js +0 -22
  399. package/dist/barchart.events-PY4CEDSO.js +0 -47
  400. package/dist/barchart.integration.spec-H4WGHQ7R.js +0 -2196
  401. package/dist/barchart2-TIOTRAC2.js +0 -314
  402. package/dist/bars.renderer-57KSYAAT.js +0 -12
  403. package/dist/block-YPM767A4.js +0 -6226
  404. package/dist/block-YPM767A4.js.map +0 -7
  405. package/dist/block.init-LRZ3QAGC.js +0 -38
  406. package/dist/block.mds.expressionrank-IV7JLC52.js +0 -359
  407. package/dist/block.mds.geneboxplot-IBCE5XZU.js +0 -828
  408. package/dist/block.mds.junction-ISSCJHNF.js +0 -1545
  409. package/dist/block.mds.svcnv-ZEBVBTL7.js +0 -6801
  410. package/dist/block.svg-FYWA5VYH.js +0 -164
  411. package/dist/block.tk.aicheck-AD6DTKXR.js +0 -283
  412. package/dist/block.tk.ase-LO2J4KRE.js +0 -365
  413. package/dist/block.tk.bam-XGX22FCN.js +0 -1906
  414. package/dist/block.tk.bedgraphdot-SUIRFNFL.js +0 -384
  415. package/dist/block.tk.bigwig.ui-2Q7FAK3V.js +0 -212
  416. package/dist/block.tk.hicstraw-4MVP2PCL.js +0 -823
  417. package/dist/block.tk.junction-F54FTEPB.js +0 -2364
  418. package/dist/block.tk.junction.textmatrixui-ETROZJVK.js +0 -199
  419. package/dist/block.tk.ld-NJEDKSTU.js +0 -99
  420. package/dist/block.tk.menu-LZOY4FKT.js +0 -1029
  421. package/dist/block.tk.pgv-I3XHJ7VU.js +0 -944
  422. package/dist/brainImaging-BGP6VRFV.js +0 -423
  423. package/dist/brainRegions-AAN7LM2Y.js +0 -221
  424. package/dist/bubbleHeatmap-HNEU4CYA.js +0 -383
  425. package/dist/chunk-25XCVML7.js +0 -236
  426. package/dist/chunk-2XV6U42J.js +0 -100
  427. package/dist/chunk-36NAWXQ7.js +0 -5067
  428. package/dist/chunk-36NAWXQ7.js.map +0 -7
  429. package/dist/chunk-3LYZMOLO.js +0 -58
  430. package/dist/chunk-427UL37G.js +0 -222
  431. package/dist/chunk-4C3XRI6J.js +0 -54
  432. package/dist/chunk-4O6H4ZHL.js +0 -514
  433. package/dist/chunk-53JJ7SXN.js +0 -276
  434. package/dist/chunk-5CR24RTX.js +0 -381
  435. package/dist/chunk-5HMX4NUJ.js +0 -217
  436. package/dist/chunk-5QTJUPFS.js +0 -26
  437. package/dist/chunk-5V2BMEAS.js +0 -55
  438. package/dist/chunk-6MBTPVIM.js +0 -1275
  439. package/dist/chunk-6MQWYMPB.js +0 -183
  440. package/dist/chunk-6MQWYMPB.js.map +0 -7
  441. package/dist/chunk-7D3WX34I.js +0 -1230
  442. package/dist/chunk-7D3WX34I.js.map +0 -7
  443. package/dist/chunk-7FSIZZOX.js +0 -176
  444. package/dist/chunk-7KRS7L4U.js +0 -1443
  445. package/dist/chunk-7KRS7L4U.js.map +0 -7
  446. package/dist/chunk-A3URBFXN.js +0 -119
  447. package/dist/chunk-A45KH7LP.js +0 -254
  448. package/dist/chunk-B4GS7OLB.js +0 -4284
  449. package/dist/chunk-BKPDYW5T.js +0 -177
  450. package/dist/chunk-BWQV2OBL.js +0 -102
  451. package/dist/chunk-BXGQXLHP.js +0 -2786
  452. package/dist/chunk-CDJAHMAN.js +0 -299
  453. package/dist/chunk-CXHLROWX.js +0 -37
  454. package/dist/chunk-EKKQMKQI.js +0 -102
  455. package/dist/chunk-EPWIJEMK.js +0 -158
  456. package/dist/chunk-F7Y67LK7.js +0 -230
  457. package/dist/chunk-FDBVAL6K.js +0 -14
  458. package/dist/chunk-FISP5YN2.js +0 -292
  459. package/dist/chunk-G3FSS7GR.js +0 -477
  460. package/dist/chunk-GE4NJDV4.js +0 -98
  461. package/dist/chunk-GYGU4UT5.js +0 -34
  462. package/dist/chunk-I5IPJG2R.js +0 -148
  463. package/dist/chunk-I73KUUYG.js +0 -287
  464. package/dist/chunk-I73KUUYG.js.map +0 -7
  465. package/dist/chunk-IFK24IXL.js +0 -194
  466. package/dist/chunk-ILE6ML2D.js +0 -50
  467. package/dist/chunk-IRKP6IZ4.js +0 -216
  468. package/dist/chunk-J6ZOUCWN.js +0 -170
  469. package/dist/chunk-JFRSVFWO.js +0 -736
  470. package/dist/chunk-JFRSVFWO.js.map +0 -7
  471. package/dist/chunk-JNBJG57F.js +0 -448
  472. package/dist/chunk-K5UVG3FQ.js +0 -117
  473. package/dist/chunk-KE5B34CS.js +0 -102
  474. package/dist/chunk-L6A2BEXB.js +0 -2681
  475. package/dist/chunk-LQJMCE7G.js +0 -467
  476. package/dist/chunk-LSWU6EAQ.js +0 -31
  477. package/dist/chunk-LWEGSYDD.js +0 -226
  478. package/dist/chunk-LWEGSYDD.js.map +0 -7
  479. package/dist/chunk-LYVLF6HO.js +0 -1825
  480. package/dist/chunk-MBUQ34CF.js +0 -189
  481. package/dist/chunk-MBUQ34CF.js.map +0 -7
  482. package/dist/chunk-MN3KDNHC.js +0 -617
  483. package/dist/chunk-MNIBZTQE.js +0 -146
  484. package/dist/chunk-MTHEEXT2.js +0 -1450
  485. package/dist/chunk-MTHEEXT2.js.map +0 -7
  486. package/dist/chunk-MTZSN3H4.js +0 -302
  487. package/dist/chunk-N7O7NPUO.js +0 -534
  488. package/dist/chunk-N7O7NPUO.js.map +0 -7
  489. package/dist/chunk-NNFAUP2I.js +0 -315
  490. package/dist/chunk-NNFAUP2I.js.map +0 -7
  491. package/dist/chunk-OF5FE6GT.js +0 -142
  492. package/dist/chunk-OVSKJROY.js +0 -815
  493. package/dist/chunk-OVSKJROY.js.map +0 -7
  494. package/dist/chunk-PJ3FCJBZ.js +0 -480
  495. package/dist/chunk-PU2Q4SZR.js +0 -2327
  496. package/dist/chunk-PZPS56Z6.js +0 -343
  497. package/dist/chunk-QKR3ZD3S.js +0 -833
  498. package/dist/chunk-QMXCK4Y5.js +0 -203
  499. package/dist/chunk-ROJ3LJLE.js +0 -448
  500. package/dist/chunk-SLHWUFAW.js +0 -1943
  501. package/dist/chunk-SLHWUFAW.js.map +0 -7
  502. package/dist/chunk-SOTB4FRE.js +0 -2098
  503. package/dist/chunk-SOTB4FRE.js.map +0 -7
  504. package/dist/chunk-TJYRBEBK.js +0 -2878
  505. package/dist/chunk-TJYRBEBK.js.map +0 -7
  506. package/dist/chunk-U3G4JGKJ.js +0 -54
  507. package/dist/chunk-UN3O2MNB.js +0 -375
  508. package/dist/chunk-VDZ5QOF6.js +0 -446
  509. package/dist/chunk-VO5XZ2EG.js +0 -129
  510. package/dist/chunk-VRH7NP6R.js +0 -263
  511. package/dist/chunk-VTMJGRT5.js +0 -272
  512. package/dist/chunk-W5X6C7LY.js +0 -399
  513. package/dist/chunk-WJGUNGFK.js +0 -272
  514. package/dist/chunk-WKT46ZJ6.js +0 -368
  515. package/dist/chunk-WQCQWUUP.js +0 -2833
  516. package/dist/chunk-WY2PGUVX.js +0 -20898
  517. package/dist/chunk-WY2PGUVX.js.map +0 -7
  518. package/dist/chunk-WZ2U5QXJ.js +0 -6364
  519. package/dist/chunk-WZUWK5Q6.js +0 -1102
  520. package/dist/chunk-XPMTUVSS.js +0 -1220
  521. package/dist/chunk-XPMTUVSS.js.map +0 -7
  522. package/dist/chunk-YYFQPGIE.js +0 -386
  523. package/dist/condition-GVIEMQG7.js +0 -332
  524. package/dist/controls-73K3XBDR.js +0 -41
  525. package/dist/controls.config-FQKY2LRE.js +0 -39
  526. package/dist/correlation-AOAXIUFJ.js +0 -102
  527. package/dist/cuminc-OD2PPCEK.js +0 -1149
  528. package/dist/cuminc.integration.spec-TMIFW7EO.js +0 -678
  529. package/dist/cuminc.integration.spec-TMIFW7EO.js.map +0 -7
  530. package/dist/customdata.inputui-SWLGLATL.js +0 -289
  531. package/dist/dataDownload-456HL2OE.js +0 -330
  532. package/dist/dataDownload.integration.spec-5YS4MWK5.js +0 -193
  533. package/dist/databrowser.ui-7APC5MNM.js +0 -433
  534. package/dist/dictionary-A3HA5MVK.js +0 -118
  535. package/dist/dnaMethylation-6ONBKARD.js +0 -38
  536. package/dist/dnaMethylation.integration.spec-T3WEGVX3.js +0 -203
  537. package/dist/dofetch-RVPQUMVX.js +0 -51
  538. package/dist/e2pca-75WZ46XG.js +0 -350
  539. package/dist/ep-QG5CWPTW.js +0 -1256
  540. package/dist/expclust.gdc.spec-KBBQJR4M.js +0 -307
  541. package/dist/facet-QGB2Q7YV.js +0 -521
  542. package/dist/forms2-CJGDCWYH.js +0 -539
  543. package/dist/gb-NEFAHKQI.js +0 -88
  544. package/dist/geneExpClustering-ZVR44UZC.js +0 -249
  545. package/dist/geneExpression-25EX4DFK.js +0 -313
  546. package/dist/geneExpression-FALOA4GC.js +0 -38
  547. package/dist/geneExpression.unit.spec-BQLELQUS.js +0 -102
  548. package/dist/geneORA-K2B7JYWD.js +0 -278
  549. package/dist/geneRanking-6AXL5ZJS.js +0 -553
  550. package/dist/geneVariant-RZFDP5J5.js +0 -41
  551. package/dist/geneVariant-UIBZ5UIQ.js +0 -39
  552. package/dist/geneVariant.integration.spec-4EZQMPQB.js +0 -198
  553. package/dist/genefusion.ui-YK4TNS2P.js +0 -309
  554. package/dist/geneset-47J4D5ID.js +0 -208
  555. package/dist/genomeBrowser.spec-LFFWRIWG.js +0 -281
  556. package/dist/grin2-DQB2WW3C.js +0 -75
  557. package/dist/grin2-TZFU4JM3.js +0 -1078
  558. package/dist/grin2-TZFU4JM3.js.map +0 -7
  559. package/dist/gsea-KKLAMLMG.js +0 -47
  560. package/dist/hierCluster-3MZEJG6B.js +0 -59
  561. package/dist/hierCluster-YGBC4XCZ.js +0 -63
  562. package/dist/hierCluster.config-A4N54K3A.js +0 -40
  563. package/dist/hierCluster.integration.spec-GLKXFZDM.js +0 -488
  564. package/dist/hierCluster.interactivity-4TPWGIVC.js +0 -54
  565. package/dist/hierCluster.renderers-WUWSXXHU.js +0 -21
  566. package/dist/imagePlot-JRPYOV3Q.js +0 -163
  567. package/dist/importPlot-A3PFUP6K.js +0 -8
  568. package/dist/isoformExpression-5L4O3WKL.js +0 -40
  569. package/dist/isoformExpression.unit.spec-SLB6XIX4.js +0 -208
  570. package/dist/launch.adhoc-QI7TPYSC.js +0 -42
  571. package/dist/leftlabel.sample-OSIRTJFW.js +0 -264
  572. package/dist/legacyDataset-TNIIJABK.js +0 -119
  573. package/dist/lollipop-LAELXNQY.js +0 -171
  574. package/dist/maf-HZAYVZFO.js +0 -459
  575. package/dist/maftimeline-BLBNUGAL.js +0 -593
  576. package/dist/matrix-LVJSHXDM.js +0 -58
  577. package/dist/matrix-S5QQV4JU.js +0 -63
  578. package/dist/matrix.cells-JUTRYPG4.js +0 -28
  579. package/dist/matrix.config-ZTWWYNIZ.js +0 -41
  580. package/dist/matrix.data-BREYB54F.js +0 -25
  581. package/dist/matrix.groups-WMHTLOXC.js +0 -27
  582. package/dist/matrix.integration.spec-S6FIEE2X.js +0 -3072
  583. package/dist/matrix.integration.spec-S6FIEE2X.js.map +0 -7
  584. package/dist/matrix.interactivity-TMBVAM5M.js +0 -42
  585. package/dist/matrix.layout-POK5NOUV.js +0 -44
  586. package/dist/matrix.legend-6XVQ67AC.js +0 -22
  587. package/dist/matrix.renderers-G5FQZZ73.js +0 -38
  588. package/dist/matrix.serieses-XNLQSQS6.js +0 -21
  589. package/dist/matrix.sort-XNES23OQ.js +0 -27
  590. package/dist/matrix.sort.unit.spec-65BDBQUV.js +0 -472
  591. package/dist/matrix.sorterUi-WC2YX7S7.js +0 -18
  592. package/dist/matrix.sorterUi.unit.spec-GZQBW7F7.js +0 -342
  593. package/dist/mavb-T2UCRWWM.js +0 -732
  594. package/dist/mds.fimo-65UUK7ER.js +0 -518
  595. package/dist/mds.samplescatterplot-4NHGQBJF.js +0 -1550
  596. package/dist/mds.survivalplot-WVAHDM3Z.js +0 -483
  597. package/dist/numericDictTermCluster-CXASCSQ6.js +0 -65
  598. package/dist/oncomatrix-5WMOICWR.js +0 -295
  599. package/dist/oncomatrix.spec-POVBNFJR.js +0 -448
  600. package/dist/plot.2dvaf-63K5RSIU.js +0 -377
  601. package/dist/plot.app-V5IY25QS.js +0 -41
  602. package/dist/plot.barplot-IQTYHNFE.js +0 -102
  603. package/dist/plot.boxplot-2RMTO7AS.js +0 -152
  604. package/dist/plot.brainImaging-DLUHAHHG.js +0 -51
  605. package/dist/plot.disco-WK6GDLNF.js +0 -102
  606. package/dist/plot.dzi-3V3FWE7U.js +0 -33
  607. package/dist/plot.ssgq-TENK2RP4.js +0 -139
  608. package/dist/plot.vaf2cov-P2QOOZGZ.js +0 -259
  609. package/dist/plot.wsi-BVRGJF4E.js +0 -36
  610. package/dist/polar2-NNOZOQQJ.js +0 -231
  611. package/dist/profileForms-RS4GEZZV.js +0 -446
  612. package/dist/profilePlot-3DLME3NH.js +0 -54
  613. package/dist/proteinView-NPKJAQAI.js +0 -1568
  614. package/dist/qualitative-S45RXXRJ.js +0 -43
  615. package/dist/radar2-EX7YBNMT.js +0 -326
  616. package/dist/radarFacility2-WU5O6O77.js +0 -334
  617. package/dist/regression-7MCOYJVD.js +0 -56
  618. package/dist/regression.inputs-QHSWJ23R.js +0 -48
  619. package/dist/regression.inputs.term-EJ4Z5Q5O.js +0 -48
  620. package/dist/regression.inputs.values.table-YKMAWNXN.js +0 -45
  621. package/dist/regression.integration.spec-XOX7OXXA.js +0 -784
  622. package/dist/regression.results-YKPOTPCC.js +0 -40
  623. package/dist/regression.spec-YIIY2AZA.js +0 -708
  624. package/dist/report-JEJFCWUU.js +0 -222
  625. package/dist/sampleScatter.spec-LBAZBDYA.js +0 -202
  626. package/dist/sampleView-WKZT5ZFE.js +0 -48
  627. package/dist/samplelst-HXM3H6M4.js +0 -111
  628. package/dist/samplematrix-LCGHK2EK.js +0 -2198
  629. package/dist/sc-3OE2G4BU.js +0 -86
  630. package/dist/scatter-AGVUDTTU.js +0 -851
  631. package/dist/selectGenomeWithTklst-WF2XZ6GH.js +0 -134
  632. package/dist/singleCellCellType-2SRGROMS.js +0 -38
  633. package/dist/singleCellCellType.unit.spec-DCGHNRJI.js +0 -160
  634. package/dist/singleCellGeneExpression-RASZA4NO.js +0 -38
  635. package/dist/singleCellGeneExpression.unit.spec-5MRGH2OO.js +0 -153
  636. package/dist/singleCellPlot-TIYA3GNM.js +0 -54
  637. package/dist/singlecell-CFA43TTU.js +0 -1572
  638. package/dist/singlecell-JS5SIZHY.js +0 -86
  639. package/dist/snp-VXZXPMKS.js +0 -38
  640. package/dist/snp.unit.spec-TR5TCO7X.js +0 -176
  641. package/dist/snplocus-VLPH5Y65.js +0 -208
  642. package/dist/spliceevent.a53ss.diagram-PATK67SH.js +0 -151
  643. package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js +0 -277
  644. package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js.map +0 -7
  645. package/dist/spliceevent.noeventdiagram-4NPNZUEN.js +0 -460
  646. package/dist/ssGSEA-XMW5BLAU.js +0 -38
  647. package/dist/ssGSEA.unit.spec-ASUWKVUT.js +0 -88
  648. package/dist/summarizeCnvGeneexp-KWRFGX32.js +0 -163
  649. package/dist/summarizeGeneexpSurvival-FIPIMEJR.js +0 -114
  650. package/dist/summarizeMutationCnv-IUYRVLZG.js +0 -164
  651. package/dist/summarizeMutationDiagnosis-ZFJPCABL.js +0 -40
  652. package/dist/summarizeMutationSurvival-HFHYB7DT.js +0 -99
  653. package/dist/summary-AZUNEZ5I.js +0 -49
  654. package/dist/summary.integration.spec-WLBAJL44.js +0 -414
  655. package/dist/summaryInput-NJWVXDXW.js +0 -235
  656. package/dist/sunburst-PXGF4WM6.js +0 -284
  657. package/dist/survival-RAU4XCKG.js +0 -58
  658. package/dist/survival-ZZ4QLZHK.js +0 -46
  659. package/dist/survival.integration.spec-GBQ5X362.js +0 -915
  660. package/dist/survival.integration.spec-GBQ5X362.js.map +0 -7
  661. package/dist/svgraph-7UCFRL6A.js +0 -1387
  662. package/dist/svmr-DB3RY2ID.js +0 -3842
  663. package/dist/table-HJRWWXGM.js +0 -200
  664. package/dist/termCollection-AW7M6DTP.js +0 -38
  665. package/dist/termCollection-WPON7RG3.js +0 -179
  666. package/dist/termCollection.unit.spec-254ESHOE.js +0 -208
  667. package/dist/tk-SUAFM5YA.js +0 -46
  668. package/dist/tp.ui-ELEQGSK2.js +0 -1459
  669. package/dist/tvs.dt-DCXY66YY.js +0 -39
  670. package/dist/tvs.dtcnv.categorical-SFQZMYX7.js +0 -40
  671. package/dist/tvs.dtcnv.continuous-AUZNJMC3.js +0 -72
  672. package/dist/tvs.dtfusion-5F7MYFHZ.js +0 -40
  673. package/dist/tvs.dtsnvindel-JJSPL4PH.js +0 -40
  674. package/dist/tvs.dtsv-DARTSV5H.js +0 -40
  675. package/dist/tvs.numeric-KYAU5OV3.js +0 -21
  676. package/dist/tvs.samplelst-HHBIO26C.js +0 -104
  677. package/dist/tvs.termCollection-KCMALH6B.js +0 -159
  678. package/dist/violin-C26FW5WK.js +0 -46
  679. package/dist/violin.integration.spec-QQ43XWHQ.js +0 -1425
  680. package/dist/violin.interactivity-H2BHC6M4.js +0 -38
  681. package/dist/violin.renderer-GSG2I7AV.js +0 -40
  682. package/dist/vocabulary-3G525O5V.js +0 -41
  683. /package/dist/{2dmaf-SKNV7IHT.js.map → 2dmaf-R3PFZNRN.js.map} +0 -0
  684. /package/dist/{AIProjectAdmin-AOTVRBNH.js.map → AIProjectAdmin-DM3KG6SR.js.map} +0 -0
  685. /package/dist/{AppHeader-M2ZSS3M3.js.map → AppHeader-6DZQ6YZX.js.map} +0 -0
  686. /package/dist/{BoxPlot-P3EECSQA.js.map → BoxPlot-76NINVX4.js.map} +0 -0
  687. /package/dist/{CorrelationVolcano-YCQ5S6MT.js.map → CorrelationVolcano-U5UMJNH5.js.map} +0 -0
  688. /package/dist/{DE-RBMOQZCR.js.map → DE-AXNYWIQK.js.map} +0 -0
  689. /package/dist/{DEinput-PTW6RS6U.js.map → DEinput-JH6YY6LS.js.map} +0 -0
  690. /package/dist/{Disco.UI-YBIMV7RH.js.map → Disco.UI-C7CZINUQ.js.map} +0 -0
  691. /package/dist/{DmrPlot-JQPLLU6P.js.map → DmrPlot-WROR4ENM.js.map} +0 -0
  692. /package/dist/{GeneExpInput-3OPDDCXR.js.map → GeneExpInput-JDU6EI7K.js.map} +0 -0
  693. /package/dist/{HicApp-VFOWRP6G.js.map → HicApp-UNIJLH4B.js.map} +0 -0
  694. /package/dist/{NumBinaryEditor-RL44SO3T.js.map → NumBinaryEditor-WMN2GGO4.js.map} +0 -0
  695. /package/dist/{NumBinaryEditor.unit.spec-P73PGAX5.js.map → NumBinaryEditor.unit.spec-TAMXV6SE.js.map} +0 -0
  696. /package/dist/{NumContEditor-MIC7M73G.js.map → NumContEditor-XYIOJY4E.js.map} +0 -0
  697. /package/dist/{NumContEditor.unit.spec-5XZH7OCG.js.map → NumContEditor.unit.spec-WDZ75BHO.js.map} +0 -0
  698. /package/dist/{NumCustomBinEditor-W357XTIR.js.map → NumCustomBinEditor-5SY3C4TY.js.map} +0 -0
  699. /package/dist/{NumCustomBinEditor.unit.spec-CJMK4CYW.js.map → NumCustomBinEditor.unit.spec-XHTAIXR3.js.map} +0 -0
  700. /package/dist/{NumDiscreteEditor-PRSUMS3I.js.map → NumDiscreteEditor-NRDRX4FD.js.map} +0 -0
  701. /package/dist/{NumDiscreteEditor.unit.spec-A6R56P3Z.js.map → NumDiscreteEditor.unit.spec-2CJW7OAT.js.map} +0 -0
  702. /package/dist/{NumRegularBinEditor-7OHUEUCC.js.map → NumRegularBinEditor-DUDVTNDC.js.map} +0 -0
  703. /package/dist/{NumRegularBinEditor.unit.spec-NOAX42UZ.js.map → NumRegularBinEditor.unit.spec-H3GNQHMN.js.map} +0 -0
  704. /package/dist/{NumSplineEditor-XI7AT5LM.js.map → NumSplineEditor-7Q4AC7KH.js.map} +0 -0
  705. /package/dist/{NumSplineEditor.unit.spec-ZH4M2N2C.js.map → NumSplineEditor.unit.spec-YRZK5PH5.js.map} +0 -0
  706. /package/dist/{NumericDensity-X6IHQAW3.js.map → NumericDensity-NTNWUESG.js.map} +0 -0
  707. /package/dist/{NumericDensity.unit.spec-EKVD4AUG.js.map → NumericDensity.unit.spec-5I5U6T6P.js.map} +0 -0
  708. /package/dist/{NumericHandler-5ONBWFJ5.js.map → NumericHandler-MEW2KMPX.js.map} +0 -0
  709. /package/dist/{NumericHandler.unit.spec-SHI6E4VA.js.map → NumericHandler.unit.spec-JFX4BPRG.js.map} +0 -0
  710. /package/dist/{RunChart2-Y6IY6MW2.js.map → RunChart2-BEBDU7RC.js.map} +0 -0
  711. /package/dist/{WSIViewer-RLLL7MAL.js.map → WSIViewer-ZLQU62PD.js.map} +0 -0
  712. /package/dist/{WsiSamplesPlot-FU3TCOTY.js.map → WsiSamplesPlot-JMBSITOM.js.map} +0 -0
  713. /package/dist/{adSandbox-ZINST5DE.js.map → adSandbox-664IRCRL.js.map} +0 -0
  714. /package/dist/{animatedBubbleChart-PIQWCVBJ.js.map → animatedBubbleChart-TX7NW34K.js.map} +0 -0
  715. /package/dist/{app-N42SVGI2.js.map → app-63WJ3BMP.js.map} +0 -0
  716. /package/dist/{app-RWN4XLCP.js.map → app-77FIZHCG.js.map} +0 -0
  717. /package/dist/{bam-QTSTXJ4N.js.map → bam-IETNVAYD.js.map} +0 -0
  718. /package/dist/{barchart-27BYTRVI.js.map → barchart-YUVXJNH4.js.map} +0 -0
  719. /package/dist/{barchart.data-OUNVH4JU.js.map → barchart.data-P4EIQXGE.js.map} +0 -0
  720. /package/dist/{barchart.events-PY4CEDSO.js.map → barchart.events-JPVCLTIG.js.map} +0 -0
  721. /package/dist/{barchart.integration.spec-H4WGHQ7R.js.map → barchart.integration.spec-ZH7DEQI2.js.map} +0 -0
  722. /package/dist/{barchart2-TIOTRAC2.js.map → barchart2-XO2FG76J.js.map} +0 -0
  723. /package/dist/{bars.renderer-57KSYAAT.js.map → bars.renderer-AUIWUJDH.js.map} +0 -0
  724. /package/dist/{block.init-LRZ3QAGC.js.map → block.init-X7Y2EEVR.js.map} +0 -0
  725. /package/dist/{block.mds.expressionrank-IV7JLC52.js.map → block.mds.expressionrank-BIAOZIZ3.js.map} +0 -0
  726. /package/dist/{block.mds.geneboxplot-IBCE5XZU.js.map → block.mds.geneboxplot-CNICDVLK.js.map} +0 -0
  727. /package/dist/{block.mds.junction-ISSCJHNF.js.map → block.mds.junction-PQXCTSUI.js.map} +0 -0
  728. /package/dist/{block.mds.svcnv-ZEBVBTL7.js.map → block.mds.svcnv-32KMVTCT.js.map} +0 -0
  729. /package/dist/{block.svg-FYWA5VYH.js.map → block.svg-LRTOYQK2.js.map} +0 -0
  730. /package/dist/{block.tk.aicheck-AD6DTKXR.js.map → block.tk.aicheck-HDV7ZIUD.js.map} +0 -0
  731. /package/dist/{block.tk.ase-LO2J4KRE.js.map → block.tk.ase-JIDWKMYI.js.map} +0 -0
  732. /package/dist/{block.tk.bam-XGX22FCN.js.map → block.tk.bam-5X3OS5HB.js.map} +0 -0
  733. /package/dist/{block.tk.bedgraphdot-SUIRFNFL.js.map → block.tk.bedgraphdot-T7JX7YQL.js.map} +0 -0
  734. /package/dist/{block.tk.bigwig.ui-2Q7FAK3V.js.map → block.tk.bigwig.ui-OSAYEBAE.js.map} +0 -0
  735. /package/dist/{block.tk.hicstraw-4MVP2PCL.js.map → block.tk.hicstraw-DEY3VQFK.js.map} +0 -0
  736. /package/dist/{block.tk.junction-F54FTEPB.js.map → block.tk.junction-7UAFEZSJ.js.map} +0 -0
  737. /package/dist/{block.tk.junction.textmatrixui-ETROZJVK.js.map → block.tk.junction.textmatrixui-27LHS33U.js.map} +0 -0
  738. /package/dist/{block.tk.ld-NJEDKSTU.js.map → block.tk.ld-DF2PI7OO.js.map} +0 -0
  739. /package/dist/{block.tk.menu-LZOY4FKT.js.map → block.tk.menu-L2D5KBIV.js.map} +0 -0
  740. /package/dist/{block.tk.pgv-I3XHJ7VU.js.map → block.tk.pgv-QO56SKBV.js.map} +0 -0
  741. /package/dist/{brainImaging-BGP6VRFV.js.map → brainImaging-NIPQWFWO.js.map} +0 -0
  742. /package/dist/{brainRegions-AAN7LM2Y.js.map → brainRegions-ZNZ2WHSU.js.map} +0 -0
  743. /package/dist/{bubbleHeatmap-HNEU4CYA.js.map → bubbleHeatmap-ERWNEKZB.js.map} +0 -0
  744. /package/dist/{chunk-CDJAHMAN.js.map → chunk-2GYWFQML.js.map} +0 -0
  745. /package/dist/{chunk-ILE6ML2D.js.map → chunk-2HYJ4GDH.js.map} +0 -0
  746. /package/dist/{chunk-VTMJGRT5.js.map → chunk-2MG6XE6R.js.map} +0 -0
  747. /package/dist/{chunk-4C3XRI6J.js.map → chunk-33K5PA52.js.map} +0 -0
  748. /package/dist/{chunk-5QTJUPFS.js.map → chunk-37XDBPOP.js.map} +0 -0
  749. /package/dist/{chunk-3LYZMOLO.js.map → chunk-3EWB3246.js.map} +0 -0
  750. /package/dist/{chunk-2XV6U42J.js.map → chunk-3RSKOPIY.js.map} +0 -0
  751. /package/dist/{chunk-WZUWK5Q6.js.map → chunk-4DPVT4NE.js.map} +0 -0
  752. /package/dist/{chunk-GE4NJDV4.js.map → chunk-4IH7DORZ.js.map} +0 -0
  753. /package/dist/{chunk-W5X6C7LY.js.map → chunk-4QNBFIIR.js.map} +0 -0
  754. /package/dist/{chunk-5HMX4NUJ.js.map → chunk-4STKL6SR.js.map} +0 -0
  755. /package/dist/{chunk-GYGU4UT5.js.map → chunk-4TZIVSL5.js.map} +0 -0
  756. /package/dist/{chunk-LQJMCE7G.js.map → chunk-5ABGFJSP.js.map} +0 -0
  757. /package/dist/{chunk-MTZSN3H4.js.map → chunk-5AZNP47R.js.map} +0 -0
  758. /package/dist/{chunk-KE5B34CS.js.map → chunk-6BB43SIB.js.map} +0 -0
  759. /package/dist/{chunk-53JJ7SXN.js.map → chunk-7OHRR2IE.js.map} +0 -0
  760. /package/dist/{chunk-FDBVAL6K.js.map → chunk-ASATD4T7.js.map} +0 -0
  761. /package/dist/{chunk-25XCVML7.js.map → chunk-B5B3LZB3.js.map} +0 -0
  762. /package/dist/{chunk-L6A2BEXB.js.map → chunk-BHGISFCA.js.map} +0 -0
  763. /package/dist/{chunk-BXGQXLHP.js.map → chunk-BMBOZ64T.js.map} +0 -0
  764. /package/dist/{chunk-IRKP6IZ4.js.map → chunk-BOZJHPJP.js.map} +0 -0
  765. /package/dist/{chunk-IFK24IXL.js.map → chunk-CDD7LYJM.js.map} +0 -0
  766. /package/dist/{chunk-PU2Q4SZR.js.map → chunk-CTQ3IUCA.js.map} +0 -0
  767. /package/dist/{chunk-EPWIJEMK.js.map → chunk-D7TID3HR.js.map} +0 -0
  768. /package/dist/{chunk-5V2BMEAS.js.map → chunk-E55LLYRX.js.map} +0 -0
  769. /package/dist/{chunk-YYFQPGIE.js.map → chunk-ESGXULRH.js.map} +0 -0
  770. /package/dist/{chunk-K5UVG3FQ.js.map → chunk-EZ4LZ6ZT.js.map} +0 -0
  771. /package/dist/{chunk-B4GS7OLB.js.map → chunk-F3SJTVP5.js.map} +0 -0
  772. /package/dist/{chunk-427UL37G.js.map → chunk-F5IXNJO7.js.map} +0 -0
  773. /package/dist/{chunk-ROJ3LJLE.js.map → chunk-FJYECRHW.js.map} +0 -0
  774. /package/dist/{chunk-QKR3ZD3S.js.map → chunk-FPNRUQOU.js.map} +0 -0
  775. /package/dist/{chunk-J6ZOUCWN.js.map → chunk-G764NXQN.js.map} +0 -0
  776. /package/dist/{chunk-I5IPJG2R.js.map → chunk-GAPI4MML.js.map} +0 -0
  777. /package/dist/{chunk-WJGUNGFK.js.map → chunk-HLUZOZXJ.js.map} +0 -0
  778. /package/dist/{chunk-UN3O2MNB.js.map → chunk-HOKIK2FR.js.map} +0 -0
  779. /package/dist/{chunk-VO5XZ2EG.js.map → chunk-KLGL6XZD.js.map} +0 -0
  780. /package/dist/{chunk-PJ3FCJBZ.js.map → chunk-L7IRWUKT.js.map} +0 -0
  781. /package/dist/{chunk-MN3KDNHC.js.map → chunk-LX6G7HJJ.js.map} +0 -0
  782. /package/dist/{chunk-OF5FE6GT.js.map → chunk-M2G5R4WB.js.map} +0 -0
  783. /package/dist/{chunk-EKKQMKQI.js.map → chunk-M4TTGGT4.js.map} +0 -0
  784. /package/dist/{chunk-LYVLF6HO.js.map → chunk-M6EF3WVV.js.map} +0 -0
  785. /package/dist/{chunk-MNIBZTQE.js.map → chunk-M6KHT3MM.js.map} +0 -0
  786. /package/dist/{chunk-F7Y67LK7.js.map → chunk-MCZFHWIR.js.map} +0 -0
  787. /package/dist/{chunk-JNBJG57F.js.map → chunk-MFQACKYU.js.map} +0 -0
  788. /package/dist/{chunk-PZPS56Z6.js.map → chunk-MVGAGTM3.js.map} +0 -0
  789. /package/dist/{chunk-A3URBFXN.js.map → chunk-NELOT3NJ.js.map} +0 -0
  790. /package/dist/{chunk-U3G4JGKJ.js.map → chunk-NRKMXULC.js.map} +0 -0
  791. /package/dist/{chunk-BKPDYW5T.js.map → chunk-NYRZNRG5.js.map} +0 -0
  792. /package/dist/{chunk-WKT46ZJ6.js.map → chunk-ONPKE6DC.js.map} +0 -0
  793. /package/dist/{chunk-QMXCK4Y5.js.map → chunk-PFRWS4CR.js.map} +0 -0
  794. /package/dist/{chunk-6MBTPVIM.js.map → chunk-PJKQUXEN.js.map} +0 -0
  795. /package/dist/{chunk-WZ2U5QXJ.js.map → chunk-Q2L44HK3.js.map} +0 -0
  796. /package/dist/{chunk-VDZ5QOF6.js.map → chunk-RKO6BL5N.js.map} +0 -0
  797. /package/dist/{chunk-A45KH7LP.js.map → chunk-T25QNZHB.js.map} +0 -0
  798. /package/dist/{chunk-LSWU6EAQ.js.map → chunk-U7TBYVIQ.js.map} +0 -0
  799. /package/dist/{chunk-5CR24RTX.js.map → chunk-UGRQXBL4.js.map} +0 -0
  800. /package/dist/{chunk-G3FSS7GR.js.map → chunk-USFSHSCJ.js.map} +0 -0
  801. /package/dist/{chunk-WQCQWUUP.js.map → chunk-VJ6UFVGC.js.map} +0 -0
  802. /package/dist/{chunk-FISP5YN2.js.map → chunk-W3WPPOXH.js.map} +0 -0
  803. /package/dist/{chunk-VRH7NP6R.js.map → chunk-WFCSOTBO.js.map} +0 -0
  804. /package/dist/{chunk-BWQV2OBL.js.map → chunk-WZ2L57MB.js.map} +0 -0
  805. /package/dist/{chunk-CXHLROWX.js.map → chunk-Y4UAKFWC.js.map} +0 -0
  806. /package/dist/{chunk-4O6H4ZHL.js.map → chunk-YQBS2ZCK.js.map} +0 -0
  807. /package/dist/{chunk-7FSIZZOX.js.map → chunk-ZTHM2TKP.js.map} +0 -0
  808. /package/dist/{condition-GVIEMQG7.js.map → condition-2PASYSUC.js.map} +0 -0
  809. /package/dist/{controls-73K3XBDR.js.map → controls-5IMJ6K5L.js.map} +0 -0
  810. /package/dist/{controls.config-FQKY2LRE.js.map → controls.config-P5PG2DHW.js.map} +0 -0
  811. /package/dist/{correlation-AOAXIUFJ.js.map → correlation-U3EDLNHR.js.map} +0 -0
  812. /package/dist/{cuminc-OD2PPCEK.js.map → cuminc-2HUFEROK.js.map} +0 -0
  813. /package/dist/{customdata.inputui-SWLGLATL.js.map → customdata.inputui-ZHWNEPFH.js.map} +0 -0
  814. /package/dist/{dataDownload-456HL2OE.js.map → dataDownload-VBSJBKMP.js.map} +0 -0
  815. /package/dist/{dataDownload.integration.spec-5YS4MWK5.js.map → dataDownload.integration.spec-LUFSETOP.js.map} +0 -0
  816. /package/dist/{databrowser.ui-7APC5MNM.js.map → databrowser.ui-6H2KMSTJ.js.map} +0 -0
  817. /package/dist/{dictionary-A3HA5MVK.js.map → dictionary-V37LXFIP.js.map} +0 -0
  818. /package/dist/{dnaMethylation-6ONBKARD.js.map → dnaMethylation-OIZMHMLK.js.map} +0 -0
  819. /package/dist/{dnaMethylation.integration.spec-T3WEGVX3.js.map → dnaMethylation.integration.spec-CWPTJ74H.js.map} +0 -0
  820. /package/dist/{dofetch-RVPQUMVX.js.map → dofetch-IWPZQB5N.js.map} +0 -0
  821. /package/dist/{e2pca-75WZ46XG.js.map → e2pca-7SLIAGYW.js.map} +0 -0
  822. /package/dist/{ep-QG5CWPTW.js.map → ep-7L6KF6K4.js.map} +0 -0
  823. /package/dist/{expclust.gdc.spec-KBBQJR4M.js.map → expclust.gdc.spec-JT452Q3G.js.map} +0 -0
  824. /package/dist/{facet-QGB2Q7YV.js.map → facet-CXOUU5AS.js.map} +0 -0
  825. /package/dist/{forms2-CJGDCWYH.js.map → forms2-VPNCLQOY.js.map} +0 -0
  826. /package/dist/{gb-NEFAHKQI.js.map → gb-P4VRXRED.js.map} +0 -0
  827. /package/dist/{geneExpClustering-ZVR44UZC.js.map → geneExpClustering-FQTCKRJJ.js.map} +0 -0
  828. /package/dist/{geneExpression-25EX4DFK.js.map → geneExpression-BHO5326K.js.map} +0 -0
  829. /package/dist/{geneExpression-FALOA4GC.js.map → geneExpression-ZMERB64E.js.map} +0 -0
  830. /package/dist/{geneExpression.unit.spec-BQLELQUS.js.map → geneExpression.unit.spec-CNVHZWNG.js.map} +0 -0
  831. /package/dist/{geneORA-K2B7JYWD.js.map → geneORA-FXVUCXGX.js.map} +0 -0
  832. /package/dist/{geneRanking-6AXL5ZJS.js.map → geneRanking-SFK4UBKQ.js.map} +0 -0
  833. /package/dist/{geneVariant-RZFDP5J5.js.map → geneVariant-IYEHB4H7.js.map} +0 -0
  834. /package/dist/{geneVariant-UIBZ5UIQ.js.map → geneVariant-LIRRLUFR.js.map} +0 -0
  835. /package/dist/{geneVariant.integration.spec-4EZQMPQB.js.map → geneVariant.integration.spec-Y2NPNTYX.js.map} +0 -0
  836. /package/dist/{genefusion.ui-YK4TNS2P.js.map → genefusion.ui-L3HIJM3N.js.map} +0 -0
  837. /package/dist/{geneset-47J4D5ID.js.map → geneset-A6VUFX63.js.map} +0 -0
  838. /package/dist/{genomeBrowser.spec-LFFWRIWG.js.map → genomeBrowser.spec-CB4HHHBN.js.map} +0 -0
  839. /package/dist/{grin2-DQB2WW3C.js.map → grin2-FKBIMH5N.js.map} +0 -0
  840. /package/dist/{gsea-KKLAMLMG.js.map → hierCluster-QFPRMHVA.js.map} +0 -0
  841. /package/dist/{hierCluster-3MZEJG6B.js.map → hierCluster-YWC3XYPV.js.map} +0 -0
  842. /package/dist/{hierCluster-YGBC4XCZ.js.map → hierCluster.config-F7YYZNM3.js.map} +0 -0
  843. /package/dist/{hierCluster.integration.spec-GLKXFZDM.js.map → hierCluster.integration.spec-AF4L3YT6.js.map} +0 -0
  844. /package/dist/{hierCluster.config-A4N54K3A.js.map → hierCluster.interactivity-RPY74PK6.js.map} +0 -0
  845. /package/dist/{hierCluster.interactivity-4TPWGIVC.js.map → hierCluster.renderers-LOKHZ3V2.js.map} +0 -0
  846. /package/dist/{imagePlot-JRPYOV3Q.js.map → imagePlot-BBEXA754.js.map} +0 -0
  847. /package/dist/{hierCluster.renderers-WUWSXXHU.js.map → importPlot-7QGANZGK.js.map} +0 -0
  848. /package/dist/{importPlot-A3PFUP6K.js.map → isoformExpression-4SLLCVFD.js.map} +0 -0
  849. /package/dist/{isoformExpression.unit.spec-SLB6XIX4.js.map → isoformExpression.unit.spec-GEL4JJ64.js.map} +0 -0
  850. /package/dist/{isoformExpression-5L4O3WKL.js.map → launch.adhoc-LWLBQJS5.js.map} +0 -0
  851. /package/dist/{leftlabel.sample-OSIRTJFW.js.map → leftlabel.sample-RTEZOIH2.js.map} +0 -0
  852. /package/dist/{legacyDataset-TNIIJABK.js.map → legacyDataset-VLD7ZYWI.js.map} +0 -0
  853. /package/dist/{lollipop-LAELXNQY.js.map → lollipop-XKQK5QZU.js.map} +0 -0
  854. /package/dist/{maf-HZAYVZFO.js.map → maf-AZQPPWDO.js.map} +0 -0
  855. /package/dist/{maftimeline-BLBNUGAL.js.map → maftimeline-7MSVYKQU.js.map} +0 -0
  856. /package/dist/{launch.adhoc-QI7TPYSC.js.map → matrix-BGLWC25D.js.map} +0 -0
  857. /package/dist/{matrix-LVJSHXDM.js.map → matrix-IQR5SRMK.js.map} +0 -0
  858. /package/dist/{matrix-S5QQV4JU.js.map → matrix.cells-5C57NWOY.js.map} +0 -0
  859. /package/dist/{matrix.cells-JUTRYPG4.js.map → matrix.config-2DQXAN2E.js.map} +0 -0
  860. /package/dist/{matrix.config-ZTWWYNIZ.js.map → matrix.data-ADCGF5H6.js.map} +0 -0
  861. /package/dist/{matrix.data-BREYB54F.js.map → matrix.groups-V4ITQ5F7.js.map} +0 -0
  862. /package/dist/{matrix.groups-WMHTLOXC.js.map → matrix.interactivity-JNELJFOV.js.map} +0 -0
  863. /package/dist/{matrix.interactivity-TMBVAM5M.js.map → matrix.layout-WBVIV6GR.js.map} +0 -0
  864. /package/dist/{matrix.layout-POK5NOUV.js.map → matrix.legend-YHOWPK77.js.map} +0 -0
  865. /package/dist/{matrix.legend-6XVQ67AC.js.map → matrix.renderers-5BGVRR3M.js.map} +0 -0
  866. /package/dist/{matrix.renderers-G5FQZZ73.js.map → matrix.serieses-2GZJOASZ.js.map} +0 -0
  867. /package/dist/{matrix.serieses-XNLQSQS6.js.map → matrix.sort-WKIWPJKP.js.map} +0 -0
  868. /package/dist/{matrix.sort.unit.spec-65BDBQUV.js.map → matrix.sort.unit.spec-L2E4D4AS.js.map} +0 -0
  869. /package/dist/{matrix.sort-XNES23OQ.js.map → matrix.sorterUi-TEJWWJ64.js.map} +0 -0
  870. /package/dist/{matrix.sorterUi.unit.spec-GZQBW7F7.js.map → matrix.sorterUi.unit.spec-SHP7C4P7.js.map} +0 -0
  871. /package/dist/{mavb-T2UCRWWM.js.map → mavb-4MXNYUEO.js.map} +0 -0
  872. /package/dist/{mds.fimo-65UUK7ER.js.map → mds.fimo-WHIJIBOI.js.map} +0 -0
  873. /package/dist/{mds.samplescatterplot-4NHGQBJF.js.map → mds.samplescatterplot-BRJ6NG2D.js.map} +0 -0
  874. /package/dist/{mds.survivalplot-WVAHDM3Z.js.map → mds.survivalplot-OPCMB5PB.js.map} +0 -0
  875. /package/dist/{numericDictTermCluster-CXASCSQ6.js.map → numericDictTermCluster-7MIFOP2K.js.map} +0 -0
  876. /package/dist/{oncomatrix-5WMOICWR.js.map → oncomatrix-BGG6BEUI.js.map} +0 -0
  877. /package/dist/{oncomatrix.spec-POVBNFJR.js.map → oncomatrix.spec-LYQ4L4F3.js.map} +0 -0
  878. /package/dist/{plot.2dvaf-63K5RSIU.js.map → plot.2dvaf-6WVCP2ZI.js.map} +0 -0
  879. /package/dist/{matrix.sorterUi-WC2YX7S7.js.map → plot.app-MLBP6WFP.js.map} +0 -0
  880. /package/dist/{plot.barplot-IQTYHNFE.js.map → plot.barplot-JEPRZSCU.js.map} +0 -0
  881. /package/dist/{plot.boxplot-2RMTO7AS.js.map → plot.boxplot-GNFW42VM.js.map} +0 -0
  882. /package/dist/{plot.brainImaging-DLUHAHHG.js.map → plot.brainImaging-5ACNSD45.js.map} +0 -0
  883. /package/dist/{plot.disco-WK6GDLNF.js.map → plot.disco-Q2V2KKIH.js.map} +0 -0
  884. /package/dist/{plot.dzi-3V3FWE7U.js.map → plot.dzi-KVT6S7K7.js.map} +0 -0
  885. /package/dist/{plot.ssgq-TENK2RP4.js.map → plot.ssgq-4N3KFJQ2.js.map} +0 -0
  886. /package/dist/{plot.vaf2cov-P2QOOZGZ.js.map → plot.vaf2cov-ITRG5U43.js.map} +0 -0
  887. /package/dist/{plot.wsi-BVRGJF4E.js.map → plot.wsi-26YZNU4V.js.map} +0 -0
  888. /package/dist/{polar2-NNOZOQQJ.js.map → polar2-J7GVUK4X.js.map} +0 -0
  889. /package/dist/{profileForms-RS4GEZZV.js.map → profileForms-VXV2JLXU.js.map} +0 -0
  890. /package/dist/{plot.app-V5IY25QS.js.map → profilePlot-ZZYZK4SY.js.map} +0 -0
  891. /package/dist/{proteinView-NPKJAQAI.js.map → proteinView-7KN532D3.js.map} +0 -0
  892. /package/dist/{profilePlot-3DLME3NH.js.map → qualitative-MLRVLIAU.js.map} +0 -0
  893. /package/dist/{radar2-EX7YBNMT.js.map → radar2-WM2ZBOH3.js.map} +0 -0
  894. /package/dist/{radarFacility2-WU5O6O77.js.map → radarFacility2-3SBR2JJ3.js.map} +0 -0
  895. /package/dist/{qualitative-S45RXXRJ.js.map → regression-WMRPQJW2.js.map} +0 -0
  896. /package/dist/{regression-7MCOYJVD.js.map → regression.inputs-VWZKSYNY.js.map} +0 -0
  897. /package/dist/{regression.inputs-QHSWJ23R.js.map → regression.inputs.term-OWE6GWHM.js.map} +0 -0
  898. /package/dist/{regression.inputs.term-EJ4Z5Q5O.js.map → regression.inputs.values.table-4INNZQI2.js.map} +0 -0
  899. /package/dist/{regression.integration.spec-XOX7OXXA.js.map → regression.integration.spec-XKQ2JOOT.js.map} +0 -0
  900. /package/dist/{regression.inputs.values.table-YKMAWNXN.js.map → regression.results-VZBYMBYC.js.map} +0 -0
  901. /package/dist/{regression.spec-YIIY2AZA.js.map → regression.spec-DU3UTDCJ.js.map} +0 -0
  902. /package/dist/{regression.results-YKPOTPCC.js.map → render-N5FOF247.js.map} +0 -0
  903. /package/dist/{report-JEJFCWUU.js.map → report-DW3OHB67.js.map} +0 -0
  904. /package/dist/{sampleScatter.spec-LBAZBDYA.js.map → sampleScatter.spec-REFSK2V4.js.map} +0 -0
  905. /package/dist/{sampleView-WKZT5ZFE.js.map → sampleView-ICOT2R6O.js.map} +0 -0
  906. /package/dist/{samplelst-HXM3H6M4.js.map → samplelst-TJEVASYG.js.map} +0 -0
  907. /package/dist/{samplematrix-LCGHK2EK.js.map → samplematrix-6DAWCXQ3.js.map} +0 -0
  908. /package/dist/{sc-3OE2G4BU.js.map → sc-53LNOB7N.js.map} +0 -0
  909. /package/dist/{scatter-AGVUDTTU.js.map → scatter-DKYSS4DL.js.map} +0 -0
  910. /package/dist/{selectGenomeWithTklst-WF2XZ6GH.js.map → selectGenomeWithTklst-WTX66TV3.js.map} +0 -0
  911. /package/dist/{singleCellCellType-2SRGROMS.js.map → singleCellCellType-D2CN2BHQ.js.map} +0 -0
  912. /package/dist/{singleCellCellType.unit.spec-DCGHNRJI.js.map → singleCellCellType.unit.spec-LADUCI4R.js.map} +0 -0
  913. /package/dist/{singleCellGeneExpression-RASZA4NO.js.map → singleCellGeneExpression-YR2ZT34W.js.map} +0 -0
  914. /package/dist/{singleCellGeneExpression.unit.spec-5MRGH2OO.js.map → singleCellGeneExpression.unit.spec-BM63M432.js.map} +0 -0
  915. /package/dist/{singleCellPlot-TIYA3GNM.js.map → singleCellPlot-3ICIOILE.js.map} +0 -0
  916. /package/dist/{singlecell-JS5SIZHY.js.map → singlecell-6ZUFA3BQ.js.map} +0 -0
  917. /package/dist/{singlecell-CFA43TTU.js.map → singlecell-KX7W4U57.js.map} +0 -0
  918. /package/dist/{snp-VXZXPMKS.js.map → snp-VIURB7L3.js.map} +0 -0
  919. /package/dist/{snp.unit.spec-TR5TCO7X.js.map → snp.unit.spec-ACZNZUNS.js.map} +0 -0
  920. /package/dist/{snplocus-VLPH5Y65.js.map → snplocus-3LW4ZUZR.js.map} +0 -0
  921. /package/dist/{spliceevent.a53ss.diagram-PATK67SH.js.map → spliceevent.a53ss.diagram-AKTZGWNM.js.map} +0 -0
  922. /package/dist/{spliceevent.noeventdiagram-4NPNZUEN.js.map → spliceevent.noeventdiagram-YTXWWNTJ.js.map} +0 -0
  923. /package/dist/{ssGSEA-XMW5BLAU.js.map → ssGSEA-THW4WFMI.js.map} +0 -0
  924. /package/dist/{ssGSEA.unit.spec-ASUWKVUT.js.map → ssGSEA.unit.spec-HTRGQI2K.js.map} +0 -0
  925. /package/dist/{summarizeCnvGeneexp-KWRFGX32.js.map → summarizeCnvGeneexp-RFYC3H2Z.js.map} +0 -0
  926. /package/dist/{summarizeGeneexpSurvival-FIPIMEJR.js.map → summarizeGeneexpSurvival-DQBZUTQ6.js.map} +0 -0
  927. /package/dist/{summarizeMutationCnv-IUYRVLZG.js.map → summarizeMutationCnv-7AYEMHAI.js.map} +0 -0
  928. /package/dist/{summarizeMutationDiagnosis-ZFJPCABL.js.map → summarizeMutationDiagnosis-AKFJDSAF.js.map} +0 -0
  929. /package/dist/{summarizeMutationSurvival-HFHYB7DT.js.map → summarizeMutationSurvival-QJHZRQBZ.js.map} +0 -0
  930. /package/dist/{summary-AZUNEZ5I.js.map → summary-A5P7AYK4.js.map} +0 -0
  931. /package/dist/{summary.integration.spec-WLBAJL44.js.map → summary.integration.spec-HQISXGNL.js.map} +0 -0
  932. /package/dist/{summaryInput-NJWVXDXW.js.map → summaryInput-HP675QOQ.js.map} +0 -0
  933. /package/dist/{sunburst-PXGF4WM6.js.map → sunburst-65LSYRXX.js.map} +0 -0
  934. /package/dist/{survival-ZZ4QLZHK.js.map → survival-QNEI6YVK.js.map} +0 -0
  935. /package/dist/{survival-RAU4XCKG.js.map → survival-UI74VXSM.js.map} +0 -0
  936. /package/dist/{svgraph-7UCFRL6A.js.map → svgraph-PSX2NER3.js.map} +0 -0
  937. /package/dist/{svmr-DB3RY2ID.js.map → svmr-QDQ33EFX.js.map} +0 -0
  938. /package/dist/{table-HJRWWXGM.js.map → table-LWAI27UO.js.map} +0 -0
  939. /package/dist/{termCollection-WPON7RG3.js.map → termCollection-3JHR74FG.js.map} +0 -0
  940. /package/dist/{termCollection-AW7M6DTP.js.map → termCollection-CDF5LYUG.js.map} +0 -0
  941. /package/dist/{termCollection.unit.spec-254ESHOE.js.map → termCollection.unit.spec-HOJKYWHF.js.map} +0 -0
  942. /package/dist/{tk-SUAFM5YA.js.map → tk-OEQFO73V.js.map} +0 -0
  943. /package/dist/{tp.ui-ELEQGSK2.js.map → tp.ui-SHNERDGC.js.map} +0 -0
  944. /package/dist/{tvs.dt-DCXY66YY.js.map → tvs.dt-CZDC4TSR.js.map} +0 -0
  945. /package/dist/{tvs.dtcnv.categorical-SFQZMYX7.js.map → tvs.dtcnv.categorical-OPBDHZGB.js.map} +0 -0
  946. /package/dist/{tvs.dtcnv.continuous-AUZNJMC3.js.map → tvs.dtcnv.continuous-AR6P4EP3.js.map} +0 -0
  947. /package/dist/{tvs.dtfusion-5F7MYFHZ.js.map → tvs.dtfusion-2YQ7N6FQ.js.map} +0 -0
  948. /package/dist/{tvs.dtsnvindel-JJSPL4PH.js.map → tvs.dtsnvindel-WHHWAATJ.js.map} +0 -0
  949. /package/dist/{tvs.dtsv-DARTSV5H.js.map → tvs.dtsv-3UMCW65O.js.map} +0 -0
  950. /package/dist/{tvs.numeric-KYAU5OV3.js.map → tvs.numeric-TOEPASWN.js.map} +0 -0
  951. /package/dist/{tvs.samplelst-HHBIO26C.js.map → tvs.samplelst-M7XKXRTZ.js.map} +0 -0
  952. /package/dist/{tvs.termCollection-KCMALH6B.js.map → tvs.termCollection-WT4WZMYR.js.map} +0 -0
  953. /package/dist/{violin-C26FW5WK.js.map → violin-2YGXTBDS.js.map} +0 -0
  954. /package/dist/{violin.integration.spec-QQ43XWHQ.js.map → violin.integration.spec-YWNHVAGS.js.map} +0 -0
  955. /package/dist/{violin.interactivity-H2BHC6M4.js.map → violin.interactivity-J6BE2UQL.js.map} +0 -0
  956. /package/dist/{violin.renderer-GSG2I7AV.js.map → violin.renderer-3GRUWP2U.js.map} +0 -0
  957. /package/dist/{vocabulary-3G525O5V.js.map → vocabulary-2INCVPYJ.js.map} +0 -0
@@ -0,0 +1,2364 @@
1
+ import {
2
+ spliceevent_exonskip_getdefault_default
3
+ } from "./chunk-U7TBYVIQ.js";
4
+ import {
5
+ spliceevent_phrase_default
6
+ } from "./chunk-E55LLYRX.js";
7
+ import {
8
+ legend_newrow
9
+ } from "./chunk-Q2L44HK3.js";
10
+ import "./chunk-V2OJLJSK.js";
11
+ import "./chunk-7OHRR2IE.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-5VOPABBA.js";
23
+ import "./chunk-HJ6L54YS.js";
24
+ import "./chunk-LSEFWW72.js";
25
+ import "./chunk-Z5U6HOE4.js";
26
+ import {
27
+ Menu
28
+ } from "./chunk-HYOEWQ5P.js";
29
+ import "./chunk-HBW42TDT.js";
30
+ import "./chunk-FN5XPUPH.js";
31
+ import "./chunk-5ABGFJSP.js";
32
+ import "./chunk-IIT367QZ.js";
33
+ import "./chunk-RZGEKL77.js";
34
+ import "./chunk-XPY6AWXO.js";
35
+ import "./chunk-NELOT3NJ.js";
36
+ import {
37
+ dofetch2,
38
+ dofetch3
39
+ } from "./chunk-M6EF3WVV.js";
40
+ import "./chunk-7IYJZZQI.js";
41
+ import "./chunk-M3J4MINX.js";
42
+ import "./chunk-PF4DSFDR.js";
43
+ import "./chunk-LFCYMSVA.js";
44
+ import "./chunk-I6WR4CG7.js";
45
+ import {
46
+ IN_frame,
47
+ OUT_frame,
48
+ bplen,
49
+ defaultcolor,
50
+ spliceeventchangegmexon
51
+ } from "./chunk-2X6W4E3W.js";
52
+ import "./chunk-NYRZNRG5.js";
53
+ import "./chunk-JNITUVXP.js";
54
+ import {
55
+ category10_default
56
+ } from "./chunk-3XVVN66M.js";
57
+ import {
58
+ axisRight
59
+ } from "./chunk-LOZEKOES.js";
60
+ import "./chunk-VQZ2Z5YU.js";
61
+ import {
62
+ linear,
63
+ log,
64
+ ordinal
65
+ } from "./chunk-NSTL4MY2.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-XZHXB77R.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("termdb/junction/onesampletk", { 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-7UAFEZSJ.js.map