@sjcrh/proteinpaint-client 2.208.0 → 2.209.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 (930) hide show
  1. package/dist/2dmaf-VTMPVZGT.js +1367 -0
  2. package/dist/AggMatrixInput-CH3RQ2QC.js +406 -0
  3. package/dist/AggregateMatrix-DPCHUOMF.js +41 -0
  4. package/dist/AppHeader-RA7T467G.js +830 -0
  5. package/dist/BoxPlot-7Q7SMT26.js +1211 -0
  6. package/dist/CorrelationVolcano-YV4UHOAX.js +617 -0
  7. package/dist/Cuminc-ZN53C3MD.js +1219 -0
  8. package/dist/DE-BEWW5AIG.js +89 -0
  9. package/dist/DEinput-SJITUJF2.js +499 -0
  10. package/dist/DM-2LBNE4WE.js +90 -0
  11. package/dist/DifferentialAnalysis-WE4LBHEF.js +239 -0
  12. package/dist/DifferentialAnalysis-WE4LBHEF.js.map +7 -0
  13. package/dist/Disco-PTZQF7IM.js +3389 -0
  14. package/dist/Disco.UI-NBR67N5M.js +243 -0
  15. package/dist/DmrPlot-QROLI66S.js +362 -0
  16. package/dist/DmrPlot-QROLI66S.js.map +7 -0
  17. package/dist/GB-FEBSFX5U.js +1428 -0
  18. package/dist/GB-FEBSFX5U.js.map +7 -0
  19. package/dist/GSEA-KOXOVC5V.js +875 -0
  20. package/dist/GSEA-KOXOVC5V.js.map +7 -0
  21. package/dist/GeneExpInput-DYBK54HC.js +42 -0
  22. package/dist/Geomap-QRD2WZVL.js +84 -0
  23. package/dist/HicApp-VKET4QHD.js +2245 -0
  24. package/dist/IDCViewer-RLLTXGD7.js +10812 -0
  25. package/dist/NumBinaryEditor-GYHOYPQL.js +279 -0
  26. package/dist/NumBinaryEditor.unit.spec-E2HKBWOO.js +312 -0
  27. package/dist/NumContEditor-3V76ZSEY.js +105 -0
  28. package/dist/NumContEditor.unit.spec-RTT5Q5E5.js +164 -0
  29. package/dist/NumCustomBinEditor-O5DMPY7H.js +33 -0
  30. package/dist/NumCustomBinEditor.unit.spec-5LZBP2JL.js +397 -0
  31. package/dist/NumDiscreteEditor-DFOJ7AIH.js +170 -0
  32. package/dist/NumDiscreteEditor.unit.spec-PPJGEBFX.js +233 -0
  33. package/dist/NumRegularBinEditor-O6RDO32C.js +33 -0
  34. package/dist/NumRegularBinEditor.unit.spec-GOB3BF25.js +278 -0
  35. package/dist/NumSplineEditor-PUXJF2RW.js +210 -0
  36. package/dist/NumSplineEditor.unit.spec-4VOAAMOU.js +224 -0
  37. package/dist/NumericDensity-E6MH2THZ.js +33 -0
  38. package/dist/NumericDensity.unit.spec-IRPFBQUS.js +418 -0
  39. package/dist/NumericHandler-42RR54X3.js +34 -0
  40. package/dist/NumericHandler.unit.spec-YYOO7XVT.js +214 -0
  41. package/dist/ProteomeInput-4N2G6IFX.js +388 -0
  42. package/dist/Regression-LIWUWAGQ.js +1416 -0
  43. package/dist/Regression-LIWUWAGQ.js.map +7 -0
  44. package/dist/RunChart2-VAX5JGZY.js +749 -0
  45. package/dist/SC-UHBZ3HRO.js +1183 -0
  46. package/dist/SC-UHBZ3HRO.js.map +7 -0
  47. package/dist/Violin-V23VZR6B.js +1081 -0
  48. package/dist/Violin-V23VZR6B.js.map +7 -0
  49. package/dist/Volcano-64S4AW66.js +2443 -0
  50. package/dist/Volcano-64S4AW66.js.map +7 -0
  51. package/dist/Wsi-FOJCKDCP.js +629 -0
  52. package/dist/adSandbox-CLMUYNC3.js +33 -0
  53. package/dist/animatedBubbleChart-GMLNYTQC.js +547 -0
  54. package/dist/app-2SFDRDN2.js +32 -0
  55. package/dist/app-QOZ36UR4.js +42 -0
  56. package/dist/app.js +14 -14
  57. package/dist/bam-LLAK7FVG.js +876 -0
  58. package/dist/barchart-SEC6VKQ2.js +42 -0
  59. package/dist/barchart2-D4FXZCTU.js +309 -0
  60. package/dist/block-XGK6TEGH.js +6250 -0
  61. package/dist/block-XGK6TEGH.js.map +7 -0
  62. package/dist/block.init-UMRCAKCF.js +33 -0
  63. package/dist/block.mds.expressionrank-LFPJ52SX.js +354 -0
  64. package/dist/block.mds.geneboxplot-2QIEN6AH.js +823 -0
  65. package/dist/block.mds.junction-Z4HUFSG2.js +1539 -0
  66. package/dist/block.mds.svcnv-3GXGY6ET.js +6796 -0
  67. package/dist/block.svg-7RCJLMAP.js +159 -0
  68. package/dist/block.tk.aicheck-5N6EGZ6F.js +278 -0
  69. package/dist/block.tk.ase-V3AJRYT6.js +360 -0
  70. package/dist/block.tk.bam-W6QOVVEU.js +1901 -0
  71. package/dist/block.tk.bedgraphdot-FKTPJZTH.js +379 -0
  72. package/dist/block.tk.bigwig.ui-Y3M2TDM2.js +206 -0
  73. package/dist/block.tk.hicstraw-3SWYTMFQ.js +818 -0
  74. package/dist/block.tk.junction-OXB22PDS.js +2358 -0
  75. package/dist/block.tk.junction.textmatrixui-PWBLRGCO.js +194 -0
  76. package/dist/block.tk.ld-NTRJL5GA.js +94 -0
  77. package/dist/block.tk.menu-JIHSGGIO.js +1024 -0
  78. package/dist/block.tk.pgv-4Q6CY6QN.js +938 -0
  79. package/dist/brainImaging-MBI4XTTU.js +555 -0
  80. package/dist/brainRegions-YVTAESRP.js +217 -0
  81. package/dist/bubbleHeatmap-ZKTA3AIG.js +378 -0
  82. package/dist/cellTypeBubbleHeatmap-GJZNXDG4.js +278 -0
  83. package/dist/chunk-2PDBU42F.js +4375 -0
  84. package/dist/chunk-2RMSV4BS.js +6360 -0
  85. package/dist/chunk-33BE7AYS.js +299 -0
  86. package/dist/chunk-3FEP6B5T.js +119 -0
  87. package/dist/chunk-3XBG5HIV.js +424 -0
  88. package/dist/chunk-3XBG5HIV.js.map +7 -0
  89. package/dist/chunk-4G73CMUL.js +38 -0
  90. package/dist/chunk-5FRETII3.js +281 -0
  91. package/dist/chunk-5LYVIIYR.js +170 -0
  92. package/dist/chunk-6FG6JFZP.js +339 -0
  93. package/dist/chunk-6G45AUSV.js +237 -0
  94. package/dist/chunk-6G45AUSV.js.map +7 -0
  95. package/dist/chunk-6LDKSKYQ.js +70 -0
  96. package/dist/chunk-7FFTAYT4.js +272 -0
  97. package/dist/chunk-7GDRMBNO.js +339 -0
  98. package/dist/chunk-A2UUXYH6.js +1986 -0
  99. package/dist/chunk-AFQKYV4D.js +2853 -0
  100. package/dist/chunk-ANACCKCQ.js +276 -0
  101. package/dist/chunk-AR3HXZIW.js +562 -0
  102. package/dist/chunk-AVCEHJG7.js +446 -0
  103. package/dist/chunk-AVCIZWH5.js +692 -0
  104. package/dist/chunk-B6UXFX73.js +178 -0
  105. package/dist/chunk-BCCFJYPE.js +54 -0
  106. package/dist/chunk-BG3SGGVB.js +134 -0
  107. package/dist/chunk-C3HEDQPT.js +24921 -0
  108. package/dist/chunk-C3HEDQPT.js.map +7 -0
  109. package/dist/chunk-CFZ2ZW3E.js +382 -0
  110. package/dist/chunk-CKOU3P27.js +26 -0
  111. package/dist/chunk-CN6KJORZ.js +397 -0
  112. package/dist/chunk-CYWEYHJQ.js +203 -0
  113. package/dist/chunk-D5ETVOOE.js +158 -0
  114. package/dist/chunk-DANF4CC5.js +102 -0
  115. package/dist/chunk-DNCFJTPI.js +1339 -0
  116. package/dist/chunk-FNW6BKOA.js +480 -0
  117. package/dist/chunk-FR5USNAT.js +54 -0
  118. package/dist/chunk-FSLOUTTK.js +37 -0
  119. package/dist/chunk-FSLOUTTK.js.map +7 -0
  120. package/dist/chunk-GYE6FU7P.js +626 -0
  121. package/dist/chunk-IEIGHCZS.js +1278 -0
  122. package/dist/chunk-J5GQGWYX.js +1731 -0
  123. package/dist/chunk-JMDUO47F.js +5071 -0
  124. package/dist/chunk-JTANDSTD.js +54 -0
  125. package/dist/chunk-JTQPPUDG.js +379 -0
  126. package/dist/chunk-K32DV4QI.js +302 -0
  127. package/dist/chunk-K77W4SSI.js +98 -0
  128. package/dist/chunk-KEHVNCFK.js +102 -0
  129. package/dist/chunk-MMKSXXU2.js +55 -0
  130. package/dist/chunk-NDOKW2HJ.js +31 -0
  131. package/dist/chunk-NGMM2MNC.js +518 -0
  132. package/dist/chunk-OASGOTRM.js +80 -0
  133. package/dist/chunk-OASGOTRM.js.map +7 -0
  134. package/dist/chunk-OBDIJ4QS.js +2146 -0
  135. package/dist/chunk-OBDIJ4QS.js.map +7 -0
  136. package/dist/chunk-OEBGQKQR.js +2676 -0
  137. package/dist/chunk-OI5KBFBE.js +468 -0
  138. package/dist/chunk-OWEBE64A.js +243 -0
  139. package/dist/chunk-P7X4LDW4.js +783 -0
  140. package/dist/chunk-Q4HTEL2O.js +56 -0
  141. package/dist/chunk-QD75Q5LM.js +59 -0
  142. package/dist/chunk-QGH5BM2D.js +141 -0
  143. package/dist/chunk-QSOFGLWZ.js +240 -0
  144. package/dist/chunk-QXDGIQYA.js +217 -0
  145. package/dist/chunk-R2QE6ROO.js +176 -0
  146. package/dist/chunk-RMHUDMZ7.js +103 -0
  147. package/dist/chunk-SB36AUG7.js +1614 -0
  148. package/dist/chunk-SB36AUG7.js.map +7 -0
  149. package/dist/chunk-SXB4IZQ7.js +123 -0
  150. package/dist/chunk-T6Q76PDN.js +182 -0
  151. package/dist/chunk-TYR355RM.js +263 -0
  152. package/dist/chunk-ULZPHJYD.js +2784 -0
  153. package/dist/chunk-V3SOBDIT.js +255 -0
  154. package/dist/chunk-V3SOBDIT.js.map +7 -0
  155. package/dist/chunk-VFUSBU43.js +14 -0
  156. package/dist/chunk-VOF6NWTS.js +274 -0
  157. package/dist/chunk-WGDJX7WZ.js +2327 -0
  158. package/dist/chunk-WIQVSCD5.js +294 -0
  159. package/dist/chunk-WXXRVJSP.js +56 -0
  160. package/dist/chunk-X4MV2M5F.js +129 -0
  161. package/dist/chunk-XVVVNCXS.js +217 -0
  162. package/dist/chunk-XVVVNCXS.js.map +7 -0
  163. package/dist/chunk-YHP7MYB7.js +49 -0
  164. package/dist/chunk-YHWQWVWX.js +550 -0
  165. package/dist/chunk-YKZOQTT4.js +1233 -0
  166. package/dist/chunk-Z5HU276I.js +34 -0
  167. package/dist/chunk-Z6MCBFDM.js +194 -0
  168. package/dist/cohort-GVAJTICQ.js +70 -0
  169. package/dist/condition-EGPNMM47.js +327 -0
  170. package/dist/controls-HBROSXHF.js +34 -0
  171. package/dist/controls.config-FWKV66TU.js +34 -0
  172. package/dist/correlation-CEHE66EC.js +95 -0
  173. package/dist/customdata.inputui-LFT3N5FD.js +284 -0
  174. package/dist/dataDownload-ZPAIAAE4.js +329 -0
  175. package/dist/databrowser.ui-W5JGFBE6.js +425 -0
  176. package/dist/dictionary-RBE2CIZI.js +113 -0
  177. package/dist/dnaMethylation-CX22TSRO.js +33 -0
  178. package/dist/dnaMethylation.integration.spec-KEE6ZZRT.js +198 -0
  179. package/dist/dofetch-6NAGX5EG.js +48 -0
  180. package/dist/e2pca-XDGPTEXL.js +344 -0
  181. package/dist/ep-IUIDMIGW.js +1249 -0
  182. package/dist/expclust.gdc.spec-BMN2PTJX.js +302 -0
  183. package/dist/facet-DTJKZOBA.js +519 -0
  184. package/dist/gb-MV7MUJWO.js +81 -0
  185. package/dist/geneExpClustering-NFH5FS3S.js +244 -0
  186. package/dist/geneExpression-XVOLNYVN.js +310 -0
  187. package/dist/geneExpression-ZP2VWHED.js +33 -0
  188. package/dist/geneExpression.unit.spec-2NSK4ARK.js +128 -0
  189. package/dist/geneExpression.unit.spec-2NSK4ARK.js.map +7 -0
  190. package/dist/geneORA-HQ7FLMEJ.js +273 -0
  191. package/dist/geneRanking-MIABUKTN.js +548 -0
  192. package/dist/geneVariant-H52UUK6Z.js +289 -0
  193. package/dist/geneVariant-H52UUK6Z.js.map +7 -0
  194. package/dist/geneVariant-HDFWLALZ.js +36 -0
  195. package/dist/geneVariant.integration.spec-O36JK4B7.js +503 -0
  196. package/dist/geneVariant.integration.spec-O36JK4B7.js.map +7 -0
  197. package/dist/genefusion.ui-HSDZQHJA.js +303 -0
  198. package/dist/geneset-WKV3X2EJ.js +203 -0
  199. package/dist/genomeBrowser.spec-UTAHAU76.js +276 -0
  200. package/dist/grin2-M2JDZVYU.js +70 -0
  201. package/dist/grin2-N2QM3XTG.js +949 -0
  202. package/dist/grin2-N2QM3XTG.js.map +7 -0
  203. package/dist/hierCluster-LZI6OTRS.js +59 -0
  204. package/dist/hierCluster-VVXPOTQU.js +55 -0
  205. package/dist/hierCluster.config-NCYH3Y7Z.js +36 -0
  206. package/dist/hierCluster.integration.spec-ZDOOCTV3.js +483 -0
  207. package/dist/hierCluster.interactivity-4HP3JCON.js +49 -0
  208. package/dist/hierCluster.renderers-3F5GMEXA.js +19 -0
  209. package/dist/imagePlot-OA4WTMLU.js +156 -0
  210. package/dist/importPlot-OSTC2GPO.js +8 -0
  211. package/dist/isoformExpression-LZ5RTUS5.js +35 -0
  212. package/dist/isoformExpression.unit.spec-L6YDBKYM.js +237 -0
  213. package/dist/junction-UR6COY3A.js +36 -0
  214. package/dist/junction.customTerm-TMV43R7Z.js +16 -0
  215. package/dist/junction.unit.spec-NVBJTGA4.js +182 -0
  216. package/dist/launch.adhoc-AZG6QJG7.js +37 -0
  217. package/dist/leftlabel.sample-LYZG25RT.js +258 -0
  218. package/dist/lollipop-FJXVP5QM.js +166 -0
  219. package/dist/maf-OXJIJD6D.js +455 -0
  220. package/dist/maftimeline-75N6ZXEM.js +587 -0
  221. package/dist/matrix-QFKGEW5A.js +54 -0
  222. package/dist/matrix-XT7LUV5K.js +59 -0
  223. package/dist/matrix.cells-NB7LKKXV.js +26 -0
  224. package/dist/matrix.config-X6HS4UGD.js +37 -0
  225. package/dist/matrix.data-VLFF34SS.js +23 -0
  226. package/dist/matrix.groups-F62TSKIG.js +26 -0
  227. package/dist/matrix.integration.spec-7QBYWHW6.js +3160 -0
  228. package/dist/matrix.integration.spec-7QBYWHW6.js.map +7 -0
  229. package/dist/matrix.interactivity-2FBXB52E.js +37 -0
  230. package/dist/matrix.layout-6TPVKLSX.js +39 -0
  231. package/dist/matrix.legend-L4ULBMGX.js +20 -0
  232. package/dist/matrix.renderers-DK6YRLO2.js +34 -0
  233. package/dist/matrix.serieses-DCRJLJ3H.js +19 -0
  234. package/dist/matrix.sort-XSGPH44J.js +26 -0
  235. package/dist/matrix.sort.unit.spec-JF75F4I4.js +468 -0
  236. package/dist/matrix.sorterUi-WL5I6S3K.js +16 -0
  237. package/dist/matrix.sorterUi.unit.spec-66JMV5BK.js +338 -0
  238. package/dist/matrix.unit.spec-36AR4I43.js +150 -0
  239. package/dist/mavb-ZH4RO77H.js +727 -0
  240. package/dist/mds.fimo-MVP2G5PS.js +513 -0
  241. package/dist/mds.samplescatterplot-GYJ3OI4N.js +1545 -0
  242. package/dist/mds.survivalplot-Q6MYQGTB.js +477 -0
  243. package/dist/multivalue-BGFMPH4X.js +83 -0
  244. package/dist/numericDictTermCluster-FNNVLIWB.js +63 -0
  245. package/dist/oncomatrix-LIIALWWN.js +290 -0
  246. package/dist/oncomatrix.spec-NEMLM2ZN.js +443 -0
  247. package/dist/plot.2dvaf-HJO3SKNK.js +372 -0
  248. package/dist/plot.app-WSLFOFSR.js +36 -0
  249. package/dist/plot.barplot-SPI5JA37.js +97 -0
  250. package/dist/plot.boxplot-4W3XEY5I.js +146 -0
  251. package/dist/plot.brainImaging-KEOUTYIB.js +51 -0
  252. package/dist/plot.disco-7IDMKNAQ.js +99 -0
  253. package/dist/plot.ssgq-IOKUGDC4.js +134 -0
  254. package/dist/plot.vaf2cov-SFSZ6M43.js +253 -0
  255. package/dist/polar2-PLPE5TX5.js +232 -0
  256. package/dist/profileForms-ZDHG67GM.js +941 -0
  257. package/dist/profilePlot-UUZA2YG6.js +49 -0
  258. package/dist/proteinView-GHS3XARL.js +1357 -0
  259. package/dist/proteomeCohortCompare-TQ3BGIPS.js +912 -0
  260. package/dist/pseudbulk.unit.spec-HFESRN7A.js +86 -0
  261. package/dist/pseudobulk-ODXYIUD5.js +35 -0
  262. package/dist/qualitative-WOSYAIGQ.js +38 -0
  263. package/dist/radar2-2KXBS3Y3.js +327 -0
  264. package/dist/radarFacility2-JCOKJQQF.js +335 -0
  265. package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +211 -0
  266. package/dist/render-IJ6GE3NE.js +33 -0
  267. package/dist/report-WLLFUA7L.js +217 -0
  268. package/dist/sampleView-LPKSYUNF.js +43 -0
  269. package/dist/samplelst-MNI2MGMT.js +106 -0
  270. package/dist/samplematrix-KEKJP2B4.js +2193 -0
  271. package/dist/sc-ZYKFRJU4.js +81 -0
  272. package/dist/scatter-BAEZOFWA.js +88 -0
  273. package/dist/scatter-IGFBIZ3B.js +925 -0
  274. package/dist/selectGenomeWithTklst-HBHRXEDY.js +129 -0
  275. package/dist/singleCellCellType-PMFDV24B.js +33 -0
  276. package/dist/singleCellCellType.unit.spec-ZLYDUDIY.js +154 -0
  277. package/dist/singleCellGeneExpression-SUYO3HR3.js +33 -0
  278. package/dist/singleCellGeneExpression.unit.spec-3N3HRXFN.js +148 -0
  279. package/dist/singleCellNumericValue-BV7C6Y34.js +33 -0
  280. package/dist/singleCellNumericValue.unit.spec-7VJOMYQ6.js +416 -0
  281. package/dist/singleCellPlot-BG7UJOHA.js +48 -0
  282. package/dist/singlecell-BANNFGBS.js +81 -0
  283. package/dist/singlecell-ZUTL5ZWE.js +1566 -0
  284. package/dist/snp-BHG4NVK4.js +33 -0
  285. package/dist/snp.unit.spec-Q3AZHQRC.js +171 -0
  286. package/dist/snplocus-HTJL63M3.js +203 -0
  287. package/dist/spliceevent.a53ss.diagram-UKRIP7EP.js +146 -0
  288. package/dist/spliceevent.exonskip.diagram-CU777CXQ.js +278 -0
  289. package/dist/spliceevent.noeventdiagram-LGLXCF25.js +455 -0
  290. package/dist/ssGSEA-BIEEKAKX.js +33 -0
  291. package/dist/ssGSEA.unit.spec-YD4UDIRH.js +83 -0
  292. package/dist/stattable-LFR3RSD6.js +117 -0
  293. package/dist/studyCatalog-RINIZ277.js +414 -0
  294. package/dist/summarizeCnvGeneexp-ZQFNPR65.js +158 -0
  295. package/dist/summarizeGeneexpSurvival-GIS7XMMH.js +105 -0
  296. package/dist/summarizeMutationCnv-FWF7YIGR.js +159 -0
  297. package/dist/summarizeMutationDiagnosis-V5L2OKTK.js +35 -0
  298. package/dist/summarizeMutationSurvival-LAUUF6XN.js +99 -0
  299. package/dist/summary-OMU3ACNE.js +44 -0
  300. package/dist/summary.integration.spec-6JZAT73L.js +409 -0
  301. package/dist/summaryInput-QIKL3HDD.js +242 -0
  302. package/dist/sunburst-32IW2R57.js +278 -0
  303. package/dist/survival-BMOPVAN2.js +53 -0
  304. package/dist/survival-H5AWMQ36.js +1248 -0
  305. package/dist/survival.integration.spec-66UOWSZG.js +613 -0
  306. package/dist/svgraph-B75FS3BB.js +1382 -0
  307. package/dist/svmr-IUEUOHVO.js +3837 -0
  308. package/dist/table-YAAH7WR6.js +197 -0
  309. package/dist/termCollection-7F5ZG2DB.js +252 -0
  310. package/dist/termCollection-KNFUELYY.js +33 -0
  311. package/dist/termCollection.unit.spec-S6M6QC4C.js +299 -0
  312. package/dist/termCollectionFractionSelection-X22VMJWY.js +42 -0
  313. package/dist/termCollectionFractionSelection.unit.spec-ELU6SD7P.js +188 -0
  314. package/dist/tk-TT666UVE.js +41 -0
  315. package/dist/tk-UOPNJ323.js +1121 -0
  316. package/dist/tp.ui-HGAHRKO5.js +1454 -0
  317. package/dist/tvs.dt-H7YYR4EB.js +34 -0
  318. package/dist/tvs.dtcnv.categorical-IPJTKGMF.js +35 -0
  319. package/dist/tvs.dtcnv.continuous-XY5XZ4GH.js +67 -0
  320. package/dist/tvs.dtfusion-VFCBMXRM.js +35 -0
  321. package/dist/tvs.dtitd-RZVW6FTR.js +35 -0
  322. package/dist/tvs.dtsnvindel-IDPJWSGC.js +35 -0
  323. package/dist/tvs.dtsv-QERP756F.js +35 -0
  324. package/dist/tvs.samplelst-6KNDHBIU.js +98 -0
  325. package/dist/tvs.termCollection-GWPJK3NE.js +124 -0
  326. package/dist/vocabulary-C5FIZMPQ.js +36 -0
  327. package/dist/wsi.direct-2RBCBXDA.js +8343 -0
  328. package/package.json +3 -3
  329. package/dist/2dmaf-PN5YS362.js +0 -1367
  330. package/dist/AggMatrixInput-NJHU4FU2.js +0 -406
  331. package/dist/AggregateMatrix-IBWOJWOC.js +0 -41
  332. package/dist/AppHeader-XV6S7GG5.js +0 -830
  333. package/dist/BoxPlot-ZIVA55SK.js +0 -1211
  334. package/dist/CorrelationVolcano-33I4FC44.js +0 -617
  335. package/dist/Cuminc-WKY35UGV.js +0 -1219
  336. package/dist/DE-E256DHID.js +0 -89
  337. package/dist/DEinput-YU3W72K7.js +0 -499
  338. package/dist/DM-W7PXTIKY.js +0 -90
  339. package/dist/DifferentialAnalysis-SHMQHWJL.js +0 -236
  340. package/dist/DifferentialAnalysis-SHMQHWJL.js.map +0 -7
  341. package/dist/Disco-OZY5GW2Z.js +0 -3389
  342. package/dist/Disco.UI-NRALEYXK.js +0 -243
  343. package/dist/DmrPlot-QKUX5XUW.js +0 -637
  344. package/dist/DmrPlot-QKUX5XUW.js.map +0 -7
  345. package/dist/GB-ZYH7PGHT.js +0 -1391
  346. package/dist/GB-ZYH7PGHT.js.map +0 -7
  347. package/dist/GSEA-VQTD4MLY.js +0 -851
  348. package/dist/GSEA-VQTD4MLY.js.map +0 -7
  349. package/dist/GeneExpInput-XEFUTLFU.js +0 -42
  350. package/dist/Geomap-GEK7UEDU.js +0 -84
  351. package/dist/HicApp-ZY7UHV5H.js +0 -2245
  352. package/dist/IDCViewer-YNKG4V46.js +0 -10812
  353. package/dist/NumBinaryEditor-NEL727DX.js +0 -279
  354. package/dist/NumBinaryEditor.unit.spec-GCGZMJYF.js +0 -312
  355. package/dist/NumContEditor-IM6RRDGU.js +0 -105
  356. package/dist/NumContEditor.unit.spec-B5AJXANS.js +0 -164
  357. package/dist/NumCustomBinEditor-EZT5DRKP.js +0 -33
  358. package/dist/NumCustomBinEditor.unit.spec-KLUDS6TH.js +0 -397
  359. package/dist/NumDiscreteEditor-2M6Q5AAZ.js +0 -170
  360. package/dist/NumDiscreteEditor.unit.spec-2JYZYJUX.js +0 -233
  361. package/dist/NumRegularBinEditor-AQDHA2PU.js +0 -33
  362. package/dist/NumRegularBinEditor.unit.spec-62BYFNYG.js +0 -278
  363. package/dist/NumSplineEditor-6Y5TZSTO.js +0 -210
  364. package/dist/NumSplineEditor.unit.spec-S65AV5EK.js +0 -224
  365. package/dist/NumericDensity-5ES4SDWZ.js +0 -33
  366. package/dist/NumericDensity.unit.spec-J6KZSE2P.js +0 -418
  367. package/dist/NumericHandler-ZTLDPP2F.js +0 -34
  368. package/dist/NumericHandler.unit.spec-BZFBVHGU.js +0 -214
  369. package/dist/ProteomeInput-IKEXPCGV.js +0 -388
  370. package/dist/Regression-6F6YP3AX.js +0 -1416
  371. package/dist/Regression-6F6YP3AX.js.map +0 -7
  372. package/dist/RunChart2-CVRPXQH5.js +0 -749
  373. package/dist/SC-FPXVXBXF.js +0 -1175
  374. package/dist/SC-FPXVXBXF.js.map +0 -7
  375. package/dist/Violin-BAS6DQHL.js +0 -1081
  376. package/dist/Violin-BAS6DQHL.js.map +0 -7
  377. package/dist/Volcano-FCCWUMX7.js +0 -1649
  378. package/dist/Volcano-FCCWUMX7.js.map +0 -7
  379. package/dist/Wsi-3YTFABWG.js +0 -629
  380. package/dist/adSandbox-QYIG6637.js +0 -33
  381. package/dist/animatedBubbleChart-X53PR73H.js +0 -547
  382. package/dist/app-HJLTRZPI.js +0 -32
  383. package/dist/app-MGY6A4DM.js +0 -42
  384. package/dist/bam-VRQHRCP5.js +0 -876
  385. package/dist/barchart-TWMOUZFL.js +0 -42
  386. package/dist/barchart2-CV7RMMRG.js +0 -309
  387. package/dist/block-L53P4UGQ.js +0 -6249
  388. package/dist/block-L53P4UGQ.js.map +0 -7
  389. package/dist/block.init-XYOJTXKP.js +0 -33
  390. package/dist/block.mds.expressionrank-77FSBDHA.js +0 -354
  391. package/dist/block.mds.geneboxplot-4TSYV4WS.js +0 -823
  392. package/dist/block.mds.junction-P4MYDET6.js +0 -1539
  393. package/dist/block.mds.svcnv-CYOFAS2T.js +0 -6796
  394. package/dist/block.svg-IT3ELCF4.js +0 -159
  395. package/dist/block.tk.aicheck-GULHJLV5.js +0 -278
  396. package/dist/block.tk.ase-RW5YL6HN.js +0 -360
  397. package/dist/block.tk.bam-MPGQW6KB.js +0 -1901
  398. package/dist/block.tk.bedgraphdot-EYRY374P.js +0 -379
  399. package/dist/block.tk.bigwig.ui-BKSXCDNM.js +0 -206
  400. package/dist/block.tk.hicstraw-76PV6NM3.js +0 -818
  401. package/dist/block.tk.junction-Z52QHQJQ.js +0 -2358
  402. package/dist/block.tk.junction.textmatrixui-K32OOTZC.js +0 -194
  403. package/dist/block.tk.ld-DDGLRHPO.js +0 -94
  404. package/dist/block.tk.menu-MO6TESKI.js +0 -1024
  405. package/dist/block.tk.pgv-AKLKKSEP.js +0 -938
  406. package/dist/brainImaging-KSTJQJAB.js +0 -555
  407. package/dist/brainRegions-WCRMMSK4.js +0 -217
  408. package/dist/bubbleHeatmap-4YOQ3BAB.js +0 -378
  409. package/dist/cellTypeBubbleHeatmap-O6YZ2RW4.js +0 -278
  410. package/dist/chunk-3GUVLDUS.js +0 -299
  411. package/dist/chunk-3PQDD5HM.js +0 -446
  412. package/dist/chunk-3WYUHDDP.js +0 -1986
  413. package/dist/chunk-4C7MA5Q3.js +0 -158
  414. package/dist/chunk-4EZLVENZ.js +0 -1612
  415. package/dist/chunk-4EZLVENZ.js.map +0 -7
  416. package/dist/chunk-4PB5ZEOB.js +0 -102
  417. package/dist/chunk-5IMFPVGT.js +0 -119
  418. package/dist/chunk-6DPELKO5.js +0 -518
  419. package/dist/chunk-6HGTVMZM.js +0 -54
  420. package/dist/chunk-72P6O537.js +0 -1731
  421. package/dist/chunk-74C6G6JD.js +0 -397
  422. package/dist/chunk-A7TXS6JR.js +0 -276
  423. package/dist/chunk-AAJXHERO.js +0 -123
  424. package/dist/chunk-AVS4IXEA.js +0 -692
  425. package/dist/chunk-BFXZBZEV.js +0 -176
  426. package/dist/chunk-BGVGN73F.js +0 -480
  427. package/dist/chunk-BL7EYUZC.js +0 -6360
  428. package/dist/chunk-BPGZUNLL.js +0 -274
  429. package/dist/chunk-CPIPN5F6.js +0 -141
  430. package/dist/chunk-D5MSWPAZ.js +0 -217
  431. package/dist/chunk-DFT2PAIU.js +0 -243
  432. package/dist/chunk-DMWOK4DS.js +0 -178
  433. package/dist/chunk-E7NVJ44Z.js +0 -263
  434. package/dist/chunk-EMMGUSJB.js +0 -54
  435. package/dist/chunk-G3CCQOLH.js +0 -240
  436. package/dist/chunk-GGQVDHYF.js +0 -379
  437. package/dist/chunk-GMRIEUBW.js +0 -408
  438. package/dist/chunk-GMRIEUBW.js.map +0 -7
  439. package/dist/chunk-GPZYAJQH.js +0 -2676
  440. package/dist/chunk-GS6ZMPKP.js +0 -272
  441. package/dist/chunk-GUXKLMLM.js +0 -102
  442. package/dist/chunk-HELEV3LT.js +0 -2853
  443. package/dist/chunk-HKKTNIMX.js +0 -339
  444. package/dist/chunk-HKSRIEWJ.js +0 -26
  445. package/dist/chunk-IELQ3HMN.js +0 -70
  446. package/dist/chunk-IISNWG4X.js +0 -103
  447. package/dist/chunk-J7KB2MH3.js +0 -34
  448. package/dist/chunk-JEJV7V7M.js +0 -2327
  449. package/dist/chunk-JIZ3B32T.js +0 -626
  450. package/dist/chunk-KAY2ODXX.js +0 -38
  451. package/dist/chunk-KJM6PLXM.js +0 -5071
  452. package/dist/chunk-KTKZSYIH.js +0 -24
  453. package/dist/chunk-KTKZSYIH.js.map +0 -7
  454. package/dist/chunk-KZHF3MQX.js +0 -1278
  455. package/dist/chunk-MC674TS2.js +0 -194
  456. package/dist/chunk-MLKQZ3RL.js +0 -1339
  457. package/dist/chunk-MSSPT5YM.js +0 -550
  458. package/dist/chunk-N6IWVSFP.js +0 -4375
  459. package/dist/chunk-NBGVEZNX.js +0 -56
  460. package/dist/chunk-OBBR4UYN.js +0 -54
  461. package/dist/chunk-PQA3C2NY.js +0 -294
  462. package/dist/chunk-QJ2VBXFB.js +0 -134
  463. package/dist/chunk-QJ3HYZH3.js +0 -24772
  464. package/dist/chunk-QJ3HYZH3.js.map +0 -7
  465. package/dist/chunk-QP7EJXSU.js +0 -55
  466. package/dist/chunk-QUHXX7JE.js +0 -56
  467. package/dist/chunk-REPQKF5L.js +0 -182
  468. package/dist/chunk-SHXJW27D.js +0 -2784
  469. package/dist/chunk-SUNDNTVY.js +0 -302
  470. package/dist/chunk-TSI4W6XO.js +0 -98
  471. package/dist/chunk-TXIQ5PHR.js +0 -468
  472. package/dist/chunk-U45R6QNT.js +0 -562
  473. package/dist/chunk-UMZJQWWK.js +0 -1233
  474. package/dist/chunk-VMRO6DMC.js +0 -2140
  475. package/dist/chunk-VMRO6DMC.js.map +0 -7
  476. package/dist/chunk-VO7Q4WMM.js +0 -55
  477. package/dist/chunk-VO7Q4WMM.js.map +0 -7
  478. package/dist/chunk-VWGRKOVJ.js +0 -170
  479. package/dist/chunk-WCTKHF5T.js +0 -197
  480. package/dist/chunk-WCTKHF5T.js.map +0 -7
  481. package/dist/chunk-WOMERKMR.js +0 -31
  482. package/dist/chunk-WXX2YD4Q.js +0 -59
  483. package/dist/chunk-X44AR557.js +0 -382
  484. package/dist/chunk-XEU5HXOY.js +0 -783
  485. package/dist/chunk-XGYQZHNX.js +0 -281
  486. package/dist/chunk-XOND7UIK.js +0 -49
  487. package/dist/chunk-XRMUUWLS.js +0 -339
  488. package/dist/chunk-XTOGCXPD.js +0 -129
  489. package/dist/chunk-Y5BBFDC3.js +0 -14
  490. package/dist/chunk-Z2FSHODI.js +0 -203
  491. package/dist/cohort-JWIQOO7U.js +0 -70
  492. package/dist/condition-ZUAQYF5C.js +0 -327
  493. package/dist/controls-ZPQ6SXD2.js +0 -34
  494. package/dist/controls.config-NELL5HY5.js +0 -34
  495. package/dist/correlation-2X76UI3K.js +0 -95
  496. package/dist/customdata.inputui-V6QIGFRP.js +0 -284
  497. package/dist/dataDownload-NSDY4MSL.js +0 -329
  498. package/dist/databrowser.ui-DDLFQB6K.js +0 -425
  499. package/dist/dictionary-WSDD6TFI.js +0 -113
  500. package/dist/dnaMethylation-3IM4OACZ.js +0 -33
  501. package/dist/dnaMethylation.integration.spec-5CSJA67S.js +0 -198
  502. package/dist/dofetch-GZ7POIBV.js +0 -48
  503. package/dist/e2pca-AX7U2DOI.js +0 -344
  504. package/dist/ep-UKACHFJU.js +0 -1249
  505. package/dist/expclust.gdc.spec-46HDKH2Q.js +0 -302
  506. package/dist/facet-3EONZDDE.js +0 -519
  507. package/dist/gb-W7GX5NWS.js +0 -81
  508. package/dist/geneExpClustering-PJA6Y5GW.js +0 -244
  509. package/dist/geneExpression-EMLVPVNK.js +0 -310
  510. package/dist/geneExpression-JMGYBT53.js +0 -33
  511. package/dist/geneExpression.unit.spec-DDZVZJVC.js +0 -128
  512. package/dist/geneExpression.unit.spec-DDZVZJVC.js.map +0 -7
  513. package/dist/geneORA-CIAFQQWB.js +0 -273
  514. package/dist/geneRanking-JRAU6FMJ.js +0 -548
  515. package/dist/geneVariant-3DZTWQFG.js +0 -36
  516. package/dist/geneVariant-YWURIZ72.js +0 -286
  517. package/dist/geneVariant-YWURIZ72.js.map +0 -7
  518. package/dist/geneVariant.integration.spec-V3KECZMM.js +0 -489
  519. package/dist/geneVariant.integration.spec-V3KECZMM.js.map +0 -7
  520. package/dist/genefusion.ui-AO3TUDTL.js +0 -303
  521. package/dist/geneset-RCIP2GZH.js +0 -203
  522. package/dist/genomeBrowser.spec-7PZCNBL3.js +0 -276
  523. package/dist/grin2-EUBCNH4Q.js +0 -70
  524. package/dist/grin2-YYBB5XJK.js +0 -1137
  525. package/dist/grin2-YYBB5XJK.js.map +0 -7
  526. package/dist/hierCluster-AV5NO2GW.js +0 -59
  527. package/dist/hierCluster-W2MVN34V.js +0 -55
  528. package/dist/hierCluster.config-4MBWG6RZ.js +0 -36
  529. package/dist/hierCluster.integration.spec-JUIBIUKH.js +0 -483
  530. package/dist/hierCluster.interactivity-6PJE64PF.js +0 -49
  531. package/dist/hierCluster.renderers-RWDQ5SHY.js +0 -19
  532. package/dist/imagePlot-XLDQNUJA.js +0 -156
  533. package/dist/importPlot-7FISAQKR.js +0 -8
  534. package/dist/isoformExpression-WOQAOVZS.js +0 -35
  535. package/dist/isoformExpression.unit.spec-BMEGJNCO.js +0 -237
  536. package/dist/junction-6NO36IPU.js +0 -36
  537. package/dist/junction.customTerm-N6JAOWZO.js +0 -16
  538. package/dist/junction.unit.spec-UKGSQHO4.js +0 -182
  539. package/dist/launch.adhoc-42PUNEA6.js +0 -37
  540. package/dist/leftlabel.sample-EXAUDPSB.js +0 -258
  541. package/dist/lollipop-4ASTA5HO.js +0 -166
  542. package/dist/maf-HPXANL3M.js +0 -455
  543. package/dist/maftimeline-2SXFX3HF.js +0 -587
  544. package/dist/matrix-DX4W5XMX.js +0 -59
  545. package/dist/matrix-S34ITAPJ.js +0 -54
  546. package/dist/matrix.cells-BLULUGSZ.js +0 -26
  547. package/dist/matrix.config-Z3LWYH74.js +0 -37
  548. package/dist/matrix.data-73HY7Y2V.js +0 -23
  549. package/dist/matrix.groups-NOUMYNFY.js +0 -26
  550. package/dist/matrix.integration.spec-VTXYJ46U.js +0 -3160
  551. package/dist/matrix.integration.spec-VTXYJ46U.js.map +0 -7
  552. package/dist/matrix.interactivity-YHDIO5A2.js +0 -37
  553. package/dist/matrix.layout-25HYKUF2.js +0 -39
  554. package/dist/matrix.legend-IMK7DH4V.js +0 -20
  555. package/dist/matrix.renderers-3RZRN6HO.js +0 -34
  556. package/dist/matrix.serieses-ZTVHQ7QA.js +0 -19
  557. package/dist/matrix.sort-EDXHT6NZ.js +0 -26
  558. package/dist/matrix.sort.unit.spec-LSNY7PHU.js +0 -468
  559. package/dist/matrix.sorterUi-3DRNHG5Z.js +0 -16
  560. package/dist/matrix.sorterUi.unit.spec-GNIIWGRJ.js +0 -338
  561. package/dist/matrix.unit.spec-7A6ZFRXI.js +0 -150
  562. package/dist/mavb-M5AXPLYX.js +0 -727
  563. package/dist/mds.fimo-QE5OFA22.js +0 -513
  564. package/dist/mds.samplescatterplot-664EOHX2.js +0 -1545
  565. package/dist/mds.survivalplot-H4TJD44D.js +0 -477
  566. package/dist/multivalue-JD3CNQJR.js +0 -83
  567. package/dist/numericDictTermCluster-XPKEYXD7.js +0 -63
  568. package/dist/oncomatrix-TX5PZQ76.js +0 -290
  569. package/dist/oncomatrix.spec-6X2WAHL7.js +0 -443
  570. package/dist/plot.2dvaf-5OHUFTMK.js +0 -372
  571. package/dist/plot.app-XIVVJHWG.js +0 -36
  572. package/dist/plot.barplot-PSODLAXD.js +0 -97
  573. package/dist/plot.boxplot-W3ASYFOG.js +0 -146
  574. package/dist/plot.brainImaging-JGDLKLR7.js +0 -51
  575. package/dist/plot.disco-TPMXTTZK.js +0 -99
  576. package/dist/plot.ssgq-KIZIOZIF.js +0 -134
  577. package/dist/plot.vaf2cov-MSMW72IY.js +0 -253
  578. package/dist/polar2-LA4MSRRN.js +0 -232
  579. package/dist/profileForms-BJRNB2ZF.js +0 -941
  580. package/dist/profilePlot-DDO53C4T.js +0 -49
  581. package/dist/proteinView-NFUR42XQ.js +0 -1357
  582. package/dist/proteomeCohortCompare-OZVF3X66.js +0 -912
  583. package/dist/pseudbulk.unit.spec-RY72JF7A.js +0 -86
  584. package/dist/pseudobulk-UVT5G2VL.js +0 -35
  585. package/dist/qualitative-X3VXNC7X.js +0 -38
  586. package/dist/radar2-RTVUJ3AN.js +0 -327
  587. package/dist/radarFacility2-ZGLZ5AKM.js +0 -335
  588. package/dist/rememberedGvQ.unit.spec-RLLLWU5M.js +0 -211
  589. package/dist/render-LR5BOYW6.js +0 -33
  590. package/dist/report-37W5OXUM.js +0 -217
  591. package/dist/sampleView-BDC2WPH7.js +0 -43
  592. package/dist/samplelst-V2EIVZC5.js +0 -106
  593. package/dist/samplematrix-XOSKILUL.js +0 -2193
  594. package/dist/sc-ZVZPWQY7.js +0 -81
  595. package/dist/scatter-2ZE5MCYH.js +0 -88
  596. package/dist/scatter-ZOWFPGIS.js +0 -925
  597. package/dist/selectGenomeWithTklst-EF7WYEAJ.js +0 -129
  598. package/dist/singleCellCellType-TKCGC3G3.js +0 -33
  599. package/dist/singleCellCellType.unit.spec-JZ6UHC5F.js +0 -154
  600. package/dist/singleCellGeneExpression-I2INGXGI.js +0 -33
  601. package/dist/singleCellGeneExpression.unit.spec-KL77FSHZ.js +0 -148
  602. package/dist/singleCellNumericValue-2X5NCEHL.js +0 -33
  603. package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js +0 -416
  604. package/dist/singleCellPlot-Q6INE54V.js +0 -48
  605. package/dist/singlecell-5N2P5ZAT.js +0 -81
  606. package/dist/singlecell-NPSWMNI3.js +0 -1566
  607. package/dist/snp-2WPJYPDE.js +0 -33
  608. package/dist/snp.unit.spec-PPWIIOX6.js +0 -171
  609. package/dist/snplocus-T3HZFZWA.js +0 -203
  610. package/dist/spliceevent.a53ss.diagram-APCF4LV5.js +0 -146
  611. package/dist/spliceevent.exonskip.diagram-TT5JGBSC.js +0 -278
  612. package/dist/spliceevent.noeventdiagram-CPXQSX3Z.js +0 -455
  613. package/dist/ssGSEA-FSX6P7HA.js +0 -33
  614. package/dist/ssGSEA.unit.spec-TXYT665R.js +0 -83
  615. package/dist/stattable-BD64SFYV.js +0 -117
  616. package/dist/studyCatalog-6BOWO4PO.js +0 -414
  617. package/dist/summarizeCnvGeneexp-AMLYJIPU.js +0 -158
  618. package/dist/summarizeGeneexpSurvival-IDM7T333.js +0 -105
  619. package/dist/summarizeMutationCnv-R6SYSJQC.js +0 -159
  620. package/dist/summarizeMutationDiagnosis-XZJ4JLW2.js +0 -35
  621. package/dist/summarizeMutationSurvival-ABJ5RL4L.js +0 -99
  622. package/dist/summary-NVYCTE6P.js +0 -44
  623. package/dist/summary.integration.spec-SSLTLVNW.js +0 -409
  624. package/dist/summaryInput-SJOZETRP.js +0 -242
  625. package/dist/sunburst-RU5ZPJKW.js +0 -278
  626. package/dist/survival-BHJQMXKI.js +0 -53
  627. package/dist/survival-DVG6Y2FV.js +0 -1248
  628. package/dist/survival.integration.spec-OJUPTY5N.js +0 -613
  629. package/dist/svgraph-ETFA4GRX.js +0 -1382
  630. package/dist/svmr-AI3RU4JK.js +0 -3837
  631. package/dist/table-YCTSMLQL.js +0 -197
  632. package/dist/termCollection-GMKEZR6D.js +0 -252
  633. package/dist/termCollection-VEVKKJZD.js +0 -33
  634. package/dist/termCollection.unit.spec-EU6YCEPX.js +0 -299
  635. package/dist/termCollectionFractionSelection-UBS74X36.js +0 -42
  636. package/dist/termCollectionFractionSelection.unit.spec-Y5OJFGDD.js +0 -188
  637. package/dist/tk-HMF4HCNV.js +0 -1121
  638. package/dist/tk-W6Z4FJMW.js +0 -41
  639. package/dist/tp.ui-NECRDJCS.js +0 -1454
  640. package/dist/tvs.dt-2JEH3F35.js +0 -34
  641. package/dist/tvs.dtcnv.categorical-YBXKEBR2.js +0 -35
  642. package/dist/tvs.dtcnv.continuous-AD3SJ6BY.js +0 -67
  643. package/dist/tvs.dtfusion-ODI3CLQS.js +0 -35
  644. package/dist/tvs.dtitd-V3LYLPJY.js +0 -35
  645. package/dist/tvs.dtsnvindel-R3V5LTNL.js +0 -35
  646. package/dist/tvs.dtsv-ZQLKEDLJ.js +0 -35
  647. package/dist/tvs.samplelst-G25A7HM6.js +0 -98
  648. package/dist/tvs.termCollection-WLVCWDEJ.js +0 -124
  649. package/dist/vocabulary-6K537FJM.js +0 -36
  650. package/dist/wsi.direct-SNPPQPVO.js +0 -8343
  651. /package/dist/{2dmaf-PN5YS362.js.map → 2dmaf-VTMPVZGT.js.map} +0 -0
  652. /package/dist/{AggMatrixInput-NJHU4FU2.js.map → AggMatrixInput-CH3RQ2QC.js.map} +0 -0
  653. /package/dist/{AggregateMatrix-IBWOJWOC.js.map → AggregateMatrix-DPCHUOMF.js.map} +0 -0
  654. /package/dist/{AppHeader-XV6S7GG5.js.map → AppHeader-RA7T467G.js.map} +0 -0
  655. /package/dist/{BoxPlot-ZIVA55SK.js.map → BoxPlot-7Q7SMT26.js.map} +0 -0
  656. /package/dist/{CorrelationVolcano-33I4FC44.js.map → CorrelationVolcano-YV4UHOAX.js.map} +0 -0
  657. /package/dist/{Cuminc-WKY35UGV.js.map → Cuminc-ZN53C3MD.js.map} +0 -0
  658. /package/dist/{DE-E256DHID.js.map → DE-BEWW5AIG.js.map} +0 -0
  659. /package/dist/{DEinput-YU3W72K7.js.map → DEinput-SJITUJF2.js.map} +0 -0
  660. /package/dist/{DM-W7PXTIKY.js.map → DM-2LBNE4WE.js.map} +0 -0
  661. /package/dist/{Disco-OZY5GW2Z.js.map → Disco-PTZQF7IM.js.map} +0 -0
  662. /package/dist/{Disco.UI-NRALEYXK.js.map → Disco.UI-NBR67N5M.js.map} +0 -0
  663. /package/dist/{GeneExpInput-XEFUTLFU.js.map → GeneExpInput-DYBK54HC.js.map} +0 -0
  664. /package/dist/{Geomap-GEK7UEDU.js.map → Geomap-QRD2WZVL.js.map} +0 -0
  665. /package/dist/{HicApp-ZY7UHV5H.js.map → HicApp-VKET4QHD.js.map} +0 -0
  666. /package/dist/{IDCViewer-YNKG4V46.js.map → IDCViewer-RLLTXGD7.js.map} +0 -0
  667. /package/dist/{NumBinaryEditor-NEL727DX.js.map → NumBinaryEditor-GYHOYPQL.js.map} +0 -0
  668. /package/dist/{NumBinaryEditor.unit.spec-GCGZMJYF.js.map → NumBinaryEditor.unit.spec-E2HKBWOO.js.map} +0 -0
  669. /package/dist/{NumContEditor-IM6RRDGU.js.map → NumContEditor-3V76ZSEY.js.map} +0 -0
  670. /package/dist/{NumContEditor.unit.spec-B5AJXANS.js.map → NumContEditor.unit.spec-RTT5Q5E5.js.map} +0 -0
  671. /package/dist/{NumCustomBinEditor-EZT5DRKP.js.map → NumCustomBinEditor-O5DMPY7H.js.map} +0 -0
  672. /package/dist/{NumCustomBinEditor.unit.spec-KLUDS6TH.js.map → NumCustomBinEditor.unit.spec-5LZBP2JL.js.map} +0 -0
  673. /package/dist/{NumDiscreteEditor-2M6Q5AAZ.js.map → NumDiscreteEditor-DFOJ7AIH.js.map} +0 -0
  674. /package/dist/{NumDiscreteEditor.unit.spec-2JYZYJUX.js.map → NumDiscreteEditor.unit.spec-PPJGEBFX.js.map} +0 -0
  675. /package/dist/{NumRegularBinEditor-AQDHA2PU.js.map → NumRegularBinEditor-O6RDO32C.js.map} +0 -0
  676. /package/dist/{NumRegularBinEditor.unit.spec-62BYFNYG.js.map → NumRegularBinEditor.unit.spec-GOB3BF25.js.map} +0 -0
  677. /package/dist/{NumSplineEditor-6Y5TZSTO.js.map → NumSplineEditor-PUXJF2RW.js.map} +0 -0
  678. /package/dist/{NumSplineEditor.unit.spec-S65AV5EK.js.map → NumSplineEditor.unit.spec-4VOAAMOU.js.map} +0 -0
  679. /package/dist/{NumericDensity-5ES4SDWZ.js.map → NumericDensity-E6MH2THZ.js.map} +0 -0
  680. /package/dist/{NumericDensity.unit.spec-J6KZSE2P.js.map → NumericDensity.unit.spec-IRPFBQUS.js.map} +0 -0
  681. /package/dist/{NumericHandler-ZTLDPP2F.js.map → NumericHandler-42RR54X3.js.map} +0 -0
  682. /package/dist/{NumericHandler.unit.spec-BZFBVHGU.js.map → NumericHandler.unit.spec-YYOO7XVT.js.map} +0 -0
  683. /package/dist/{ProteomeInput-IKEXPCGV.js.map → ProteomeInput-4N2G6IFX.js.map} +0 -0
  684. /package/dist/{RunChart2-CVRPXQH5.js.map → RunChart2-VAX5JGZY.js.map} +0 -0
  685. /package/dist/{Wsi-3YTFABWG.js.map → Wsi-FOJCKDCP.js.map} +0 -0
  686. /package/dist/{adSandbox-QYIG6637.js.map → adSandbox-CLMUYNC3.js.map} +0 -0
  687. /package/dist/{animatedBubbleChart-X53PR73H.js.map → animatedBubbleChart-GMLNYTQC.js.map} +0 -0
  688. /package/dist/{app-HJLTRZPI.js.map → app-2SFDRDN2.js.map} +0 -0
  689. /package/dist/{app-MGY6A4DM.js.map → app-QOZ36UR4.js.map} +0 -0
  690. /package/dist/{bam-VRQHRCP5.js.map → bam-LLAK7FVG.js.map} +0 -0
  691. /package/dist/{barchart-TWMOUZFL.js.map → barchart-SEC6VKQ2.js.map} +0 -0
  692. /package/dist/{barchart2-CV7RMMRG.js.map → barchart2-D4FXZCTU.js.map} +0 -0
  693. /package/dist/{block.init-XYOJTXKP.js.map → block.init-UMRCAKCF.js.map} +0 -0
  694. /package/dist/{block.mds.expressionrank-77FSBDHA.js.map → block.mds.expressionrank-LFPJ52SX.js.map} +0 -0
  695. /package/dist/{block.mds.geneboxplot-4TSYV4WS.js.map → block.mds.geneboxplot-2QIEN6AH.js.map} +0 -0
  696. /package/dist/{block.mds.junction-P4MYDET6.js.map → block.mds.junction-Z4HUFSG2.js.map} +0 -0
  697. /package/dist/{block.mds.svcnv-CYOFAS2T.js.map → block.mds.svcnv-3GXGY6ET.js.map} +0 -0
  698. /package/dist/{block.svg-IT3ELCF4.js.map → block.svg-7RCJLMAP.js.map} +0 -0
  699. /package/dist/{block.tk.aicheck-GULHJLV5.js.map → block.tk.aicheck-5N6EGZ6F.js.map} +0 -0
  700. /package/dist/{block.tk.ase-RW5YL6HN.js.map → block.tk.ase-V3AJRYT6.js.map} +0 -0
  701. /package/dist/{block.tk.bam-MPGQW6KB.js.map → block.tk.bam-W6QOVVEU.js.map} +0 -0
  702. /package/dist/{block.tk.bedgraphdot-EYRY374P.js.map → block.tk.bedgraphdot-FKTPJZTH.js.map} +0 -0
  703. /package/dist/{block.tk.bigwig.ui-BKSXCDNM.js.map → block.tk.bigwig.ui-Y3M2TDM2.js.map} +0 -0
  704. /package/dist/{block.tk.hicstraw-76PV6NM3.js.map → block.tk.hicstraw-3SWYTMFQ.js.map} +0 -0
  705. /package/dist/{block.tk.junction-Z52QHQJQ.js.map → block.tk.junction-OXB22PDS.js.map} +0 -0
  706. /package/dist/{block.tk.junction.textmatrixui-K32OOTZC.js.map → block.tk.junction.textmatrixui-PWBLRGCO.js.map} +0 -0
  707. /package/dist/{block.tk.ld-DDGLRHPO.js.map → block.tk.ld-NTRJL5GA.js.map} +0 -0
  708. /package/dist/{block.tk.menu-MO6TESKI.js.map → block.tk.menu-JIHSGGIO.js.map} +0 -0
  709. /package/dist/{block.tk.pgv-AKLKKSEP.js.map → block.tk.pgv-4Q6CY6QN.js.map} +0 -0
  710. /package/dist/{brainImaging-KSTJQJAB.js.map → brainImaging-MBI4XTTU.js.map} +0 -0
  711. /package/dist/{brainRegions-WCRMMSK4.js.map → brainRegions-YVTAESRP.js.map} +0 -0
  712. /package/dist/{bubbleHeatmap-4YOQ3BAB.js.map → bubbleHeatmap-ZKTA3AIG.js.map} +0 -0
  713. /package/dist/{cellTypeBubbleHeatmap-O6YZ2RW4.js.map → cellTypeBubbleHeatmap-GJZNXDG4.js.map} +0 -0
  714. /package/dist/{chunk-N6IWVSFP.js.map → chunk-2PDBU42F.js.map} +0 -0
  715. /package/dist/{chunk-BL7EYUZC.js.map → chunk-2RMSV4BS.js.map} +0 -0
  716. /package/dist/{chunk-3GUVLDUS.js.map → chunk-33BE7AYS.js.map} +0 -0
  717. /package/dist/{chunk-5IMFPVGT.js.map → chunk-3FEP6B5T.js.map} +0 -0
  718. /package/dist/{chunk-KAY2ODXX.js.map → chunk-4G73CMUL.js.map} +0 -0
  719. /package/dist/{chunk-XGYQZHNX.js.map → chunk-5FRETII3.js.map} +0 -0
  720. /package/dist/{chunk-VWGRKOVJ.js.map → chunk-5LYVIIYR.js.map} +0 -0
  721. /package/dist/{chunk-HKKTNIMX.js.map → chunk-6FG6JFZP.js.map} +0 -0
  722. /package/dist/{chunk-IELQ3HMN.js.map → chunk-6LDKSKYQ.js.map} +0 -0
  723. /package/dist/{chunk-GS6ZMPKP.js.map → chunk-7FFTAYT4.js.map} +0 -0
  724. /package/dist/{chunk-XRMUUWLS.js.map → chunk-7GDRMBNO.js.map} +0 -0
  725. /package/dist/{chunk-3WYUHDDP.js.map → chunk-A2UUXYH6.js.map} +0 -0
  726. /package/dist/{chunk-HELEV3LT.js.map → chunk-AFQKYV4D.js.map} +0 -0
  727. /package/dist/{chunk-A7TXS6JR.js.map → chunk-ANACCKCQ.js.map} +0 -0
  728. /package/dist/{chunk-U45R6QNT.js.map → chunk-AR3HXZIW.js.map} +0 -0
  729. /package/dist/{chunk-3PQDD5HM.js.map → chunk-AVCEHJG7.js.map} +0 -0
  730. /package/dist/{chunk-AVS4IXEA.js.map → chunk-AVCIZWH5.js.map} +0 -0
  731. /package/dist/{chunk-DMWOK4DS.js.map → chunk-B6UXFX73.js.map} +0 -0
  732. /package/dist/{chunk-6HGTVMZM.js.map → chunk-BCCFJYPE.js.map} +0 -0
  733. /package/dist/{chunk-QJ2VBXFB.js.map → chunk-BG3SGGVB.js.map} +0 -0
  734. /package/dist/{chunk-X44AR557.js.map → chunk-CFZ2ZW3E.js.map} +0 -0
  735. /package/dist/{chunk-HKSRIEWJ.js.map → chunk-CKOU3P27.js.map} +0 -0
  736. /package/dist/{chunk-74C6G6JD.js.map → chunk-CN6KJORZ.js.map} +0 -0
  737. /package/dist/{chunk-Z2FSHODI.js.map → chunk-CYWEYHJQ.js.map} +0 -0
  738. /package/dist/{chunk-4C7MA5Q3.js.map → chunk-D5ETVOOE.js.map} +0 -0
  739. /package/dist/{chunk-4PB5ZEOB.js.map → chunk-DANF4CC5.js.map} +0 -0
  740. /package/dist/{chunk-MLKQZ3RL.js.map → chunk-DNCFJTPI.js.map} +0 -0
  741. /package/dist/{chunk-BGVGN73F.js.map → chunk-FNW6BKOA.js.map} +0 -0
  742. /package/dist/{chunk-EMMGUSJB.js.map → chunk-FR5USNAT.js.map} +0 -0
  743. /package/dist/{chunk-JIZ3B32T.js.map → chunk-GYE6FU7P.js.map} +0 -0
  744. /package/dist/{chunk-KZHF3MQX.js.map → chunk-IEIGHCZS.js.map} +0 -0
  745. /package/dist/{chunk-72P6O537.js.map → chunk-J5GQGWYX.js.map} +0 -0
  746. /package/dist/{chunk-KJM6PLXM.js.map → chunk-JMDUO47F.js.map} +0 -0
  747. /package/dist/{chunk-OBBR4UYN.js.map → chunk-JTANDSTD.js.map} +0 -0
  748. /package/dist/{chunk-GGQVDHYF.js.map → chunk-JTQPPUDG.js.map} +0 -0
  749. /package/dist/{chunk-SUNDNTVY.js.map → chunk-K32DV4QI.js.map} +0 -0
  750. /package/dist/{chunk-TSI4W6XO.js.map → chunk-K77W4SSI.js.map} +0 -0
  751. /package/dist/{chunk-GUXKLMLM.js.map → chunk-KEHVNCFK.js.map} +0 -0
  752. /package/dist/{chunk-QP7EJXSU.js.map → chunk-MMKSXXU2.js.map} +0 -0
  753. /package/dist/{chunk-WOMERKMR.js.map → chunk-NDOKW2HJ.js.map} +0 -0
  754. /package/dist/{chunk-6DPELKO5.js.map → chunk-NGMM2MNC.js.map} +0 -0
  755. /package/dist/{chunk-GPZYAJQH.js.map → chunk-OEBGQKQR.js.map} +0 -0
  756. /package/dist/{chunk-TXIQ5PHR.js.map → chunk-OI5KBFBE.js.map} +0 -0
  757. /package/dist/{chunk-DFT2PAIU.js.map → chunk-OWEBE64A.js.map} +0 -0
  758. /package/dist/{chunk-XEU5HXOY.js.map → chunk-P7X4LDW4.js.map} +0 -0
  759. /package/dist/{chunk-QUHXX7JE.js.map → chunk-Q4HTEL2O.js.map} +0 -0
  760. /package/dist/{chunk-WXX2YD4Q.js.map → chunk-QD75Q5LM.js.map} +0 -0
  761. /package/dist/{chunk-CPIPN5F6.js.map → chunk-QGH5BM2D.js.map} +0 -0
  762. /package/dist/{chunk-G3CCQOLH.js.map → chunk-QSOFGLWZ.js.map} +0 -0
  763. /package/dist/{chunk-D5MSWPAZ.js.map → chunk-QXDGIQYA.js.map} +0 -0
  764. /package/dist/{chunk-BFXZBZEV.js.map → chunk-R2QE6ROO.js.map} +0 -0
  765. /package/dist/{chunk-IISNWG4X.js.map → chunk-RMHUDMZ7.js.map} +0 -0
  766. /package/dist/{chunk-AAJXHERO.js.map → chunk-SXB4IZQ7.js.map} +0 -0
  767. /package/dist/{chunk-REPQKF5L.js.map → chunk-T6Q76PDN.js.map} +0 -0
  768. /package/dist/{chunk-E7NVJ44Z.js.map → chunk-TYR355RM.js.map} +0 -0
  769. /package/dist/{chunk-SHXJW27D.js.map → chunk-ULZPHJYD.js.map} +0 -0
  770. /package/dist/{chunk-Y5BBFDC3.js.map → chunk-VFUSBU43.js.map} +0 -0
  771. /package/dist/{chunk-BPGZUNLL.js.map → chunk-VOF6NWTS.js.map} +0 -0
  772. /package/dist/{chunk-JEJV7V7M.js.map → chunk-WGDJX7WZ.js.map} +0 -0
  773. /package/dist/{chunk-PQA3C2NY.js.map → chunk-WIQVSCD5.js.map} +0 -0
  774. /package/dist/{chunk-NBGVEZNX.js.map → chunk-WXXRVJSP.js.map} +0 -0
  775. /package/dist/{chunk-XTOGCXPD.js.map → chunk-X4MV2M5F.js.map} +0 -0
  776. /package/dist/{chunk-XOND7UIK.js.map → chunk-YHP7MYB7.js.map} +0 -0
  777. /package/dist/{chunk-MSSPT5YM.js.map → chunk-YHWQWVWX.js.map} +0 -0
  778. /package/dist/{chunk-UMZJQWWK.js.map → chunk-YKZOQTT4.js.map} +0 -0
  779. /package/dist/{chunk-J7KB2MH3.js.map → chunk-Z5HU276I.js.map} +0 -0
  780. /package/dist/{chunk-MC674TS2.js.map → chunk-Z6MCBFDM.js.map} +0 -0
  781. /package/dist/{cohort-JWIQOO7U.js.map → cohort-GVAJTICQ.js.map} +0 -0
  782. /package/dist/{condition-ZUAQYF5C.js.map → condition-EGPNMM47.js.map} +0 -0
  783. /package/dist/{controls-ZPQ6SXD2.js.map → controls-HBROSXHF.js.map} +0 -0
  784. /package/dist/{controls.config-NELL5HY5.js.map → controls.config-FWKV66TU.js.map} +0 -0
  785. /package/dist/{correlation-2X76UI3K.js.map → correlation-CEHE66EC.js.map} +0 -0
  786. /package/dist/{customdata.inputui-V6QIGFRP.js.map → customdata.inputui-LFT3N5FD.js.map} +0 -0
  787. /package/dist/{dataDownload-NSDY4MSL.js.map → dataDownload-ZPAIAAE4.js.map} +0 -0
  788. /package/dist/{databrowser.ui-DDLFQB6K.js.map → databrowser.ui-W5JGFBE6.js.map} +0 -0
  789. /package/dist/{dictionary-WSDD6TFI.js.map → dictionary-RBE2CIZI.js.map} +0 -0
  790. /package/dist/{dnaMethylation-3IM4OACZ.js.map → dnaMethylation-CX22TSRO.js.map} +0 -0
  791. /package/dist/{dnaMethylation.integration.spec-5CSJA67S.js.map → dnaMethylation.integration.spec-KEE6ZZRT.js.map} +0 -0
  792. /package/dist/{dofetch-GZ7POIBV.js.map → dofetch-6NAGX5EG.js.map} +0 -0
  793. /package/dist/{e2pca-AX7U2DOI.js.map → e2pca-XDGPTEXL.js.map} +0 -0
  794. /package/dist/{ep-UKACHFJU.js.map → ep-IUIDMIGW.js.map} +0 -0
  795. /package/dist/{expclust.gdc.spec-46HDKH2Q.js.map → expclust.gdc.spec-BMN2PTJX.js.map} +0 -0
  796. /package/dist/{facet-3EONZDDE.js.map → facet-DTJKZOBA.js.map} +0 -0
  797. /package/dist/{gb-W7GX5NWS.js.map → gb-MV7MUJWO.js.map} +0 -0
  798. /package/dist/{geneExpClustering-PJA6Y5GW.js.map → geneExpClustering-NFH5FS3S.js.map} +0 -0
  799. /package/dist/{geneExpression-EMLVPVNK.js.map → geneExpression-XVOLNYVN.js.map} +0 -0
  800. /package/dist/{geneExpression-JMGYBT53.js.map → geneExpression-ZP2VWHED.js.map} +0 -0
  801. /package/dist/{geneORA-CIAFQQWB.js.map → geneORA-HQ7FLMEJ.js.map} +0 -0
  802. /package/dist/{geneRanking-JRAU6FMJ.js.map → geneRanking-MIABUKTN.js.map} +0 -0
  803. /package/dist/{geneVariant-3DZTWQFG.js.map → geneVariant-HDFWLALZ.js.map} +0 -0
  804. /package/dist/{genefusion.ui-AO3TUDTL.js.map → genefusion.ui-HSDZQHJA.js.map} +0 -0
  805. /package/dist/{geneset-RCIP2GZH.js.map → geneset-WKV3X2EJ.js.map} +0 -0
  806. /package/dist/{genomeBrowser.spec-7PZCNBL3.js.map → genomeBrowser.spec-UTAHAU76.js.map} +0 -0
  807. /package/dist/{grin2-EUBCNH4Q.js.map → grin2-M2JDZVYU.js.map} +0 -0
  808. /package/dist/{hierCluster-AV5NO2GW.js.map → hierCluster-LZI6OTRS.js.map} +0 -0
  809. /package/dist/{hierCluster-W2MVN34V.js.map → hierCluster-VVXPOTQU.js.map} +0 -0
  810. /package/dist/{hierCluster.config-4MBWG6RZ.js.map → hierCluster.config-NCYH3Y7Z.js.map} +0 -0
  811. /package/dist/{hierCluster.integration.spec-JUIBIUKH.js.map → hierCluster.integration.spec-ZDOOCTV3.js.map} +0 -0
  812. /package/dist/{hierCluster.interactivity-6PJE64PF.js.map → hierCluster.interactivity-4HP3JCON.js.map} +0 -0
  813. /package/dist/{hierCluster.renderers-RWDQ5SHY.js.map → hierCluster.renderers-3F5GMEXA.js.map} +0 -0
  814. /package/dist/{imagePlot-XLDQNUJA.js.map → imagePlot-OA4WTMLU.js.map} +0 -0
  815. /package/dist/{importPlot-7FISAQKR.js.map → importPlot-OSTC2GPO.js.map} +0 -0
  816. /package/dist/{isoformExpression-WOQAOVZS.js.map → isoformExpression-LZ5RTUS5.js.map} +0 -0
  817. /package/dist/{isoformExpression.unit.spec-BMEGJNCO.js.map → isoformExpression.unit.spec-L6YDBKYM.js.map} +0 -0
  818. /package/dist/{junction-6NO36IPU.js.map → junction-UR6COY3A.js.map} +0 -0
  819. /package/dist/{junction.customTerm-N6JAOWZO.js.map → junction.customTerm-TMV43R7Z.js.map} +0 -0
  820. /package/dist/{junction.unit.spec-UKGSQHO4.js.map → junction.unit.spec-NVBJTGA4.js.map} +0 -0
  821. /package/dist/{launch.adhoc-42PUNEA6.js.map → launch.adhoc-AZG6QJG7.js.map} +0 -0
  822. /package/dist/{leftlabel.sample-EXAUDPSB.js.map → leftlabel.sample-LYZG25RT.js.map} +0 -0
  823. /package/dist/{lollipop-4ASTA5HO.js.map → lollipop-FJXVP5QM.js.map} +0 -0
  824. /package/dist/{maf-HPXANL3M.js.map → maf-OXJIJD6D.js.map} +0 -0
  825. /package/dist/{maftimeline-2SXFX3HF.js.map → maftimeline-75N6ZXEM.js.map} +0 -0
  826. /package/dist/{matrix-DX4W5XMX.js.map → matrix-QFKGEW5A.js.map} +0 -0
  827. /package/dist/{matrix-S34ITAPJ.js.map → matrix-XT7LUV5K.js.map} +0 -0
  828. /package/dist/{matrix.cells-BLULUGSZ.js.map → matrix.cells-NB7LKKXV.js.map} +0 -0
  829. /package/dist/{matrix.config-Z3LWYH74.js.map → matrix.config-X6HS4UGD.js.map} +0 -0
  830. /package/dist/{matrix.data-73HY7Y2V.js.map → matrix.data-VLFF34SS.js.map} +0 -0
  831. /package/dist/{matrix.groups-NOUMYNFY.js.map → matrix.groups-F62TSKIG.js.map} +0 -0
  832. /package/dist/{matrix.interactivity-YHDIO5A2.js.map → matrix.interactivity-2FBXB52E.js.map} +0 -0
  833. /package/dist/{matrix.layout-25HYKUF2.js.map → matrix.layout-6TPVKLSX.js.map} +0 -0
  834. /package/dist/{matrix.legend-IMK7DH4V.js.map → matrix.legend-L4ULBMGX.js.map} +0 -0
  835. /package/dist/{matrix.renderers-3RZRN6HO.js.map → matrix.renderers-DK6YRLO2.js.map} +0 -0
  836. /package/dist/{matrix.serieses-ZTVHQ7QA.js.map → matrix.serieses-DCRJLJ3H.js.map} +0 -0
  837. /package/dist/{matrix.sort-EDXHT6NZ.js.map → matrix.sort-XSGPH44J.js.map} +0 -0
  838. /package/dist/{matrix.sort.unit.spec-LSNY7PHU.js.map → matrix.sort.unit.spec-JF75F4I4.js.map} +0 -0
  839. /package/dist/{matrix.sorterUi-3DRNHG5Z.js.map → matrix.sorterUi-WL5I6S3K.js.map} +0 -0
  840. /package/dist/{matrix.sorterUi.unit.spec-GNIIWGRJ.js.map → matrix.sorterUi.unit.spec-66JMV5BK.js.map} +0 -0
  841. /package/dist/{matrix.unit.spec-7A6ZFRXI.js.map → matrix.unit.spec-36AR4I43.js.map} +0 -0
  842. /package/dist/{mavb-M5AXPLYX.js.map → mavb-ZH4RO77H.js.map} +0 -0
  843. /package/dist/{mds.fimo-QE5OFA22.js.map → mds.fimo-MVP2G5PS.js.map} +0 -0
  844. /package/dist/{mds.samplescatterplot-664EOHX2.js.map → mds.samplescatterplot-GYJ3OI4N.js.map} +0 -0
  845. /package/dist/{mds.survivalplot-H4TJD44D.js.map → mds.survivalplot-Q6MYQGTB.js.map} +0 -0
  846. /package/dist/{multivalue-JD3CNQJR.js.map → multivalue-BGFMPH4X.js.map} +0 -0
  847. /package/dist/{numericDictTermCluster-XPKEYXD7.js.map → numericDictTermCluster-FNNVLIWB.js.map} +0 -0
  848. /package/dist/{oncomatrix-TX5PZQ76.js.map → oncomatrix-LIIALWWN.js.map} +0 -0
  849. /package/dist/{oncomatrix.spec-6X2WAHL7.js.map → oncomatrix.spec-NEMLM2ZN.js.map} +0 -0
  850. /package/dist/{plot.2dvaf-5OHUFTMK.js.map → plot.2dvaf-HJO3SKNK.js.map} +0 -0
  851. /package/dist/{plot.app-XIVVJHWG.js.map → plot.app-WSLFOFSR.js.map} +0 -0
  852. /package/dist/{plot.barplot-PSODLAXD.js.map → plot.barplot-SPI5JA37.js.map} +0 -0
  853. /package/dist/{plot.boxplot-W3ASYFOG.js.map → plot.boxplot-4W3XEY5I.js.map} +0 -0
  854. /package/dist/{plot.brainImaging-JGDLKLR7.js.map → plot.brainImaging-KEOUTYIB.js.map} +0 -0
  855. /package/dist/{plot.disco-TPMXTTZK.js.map → plot.disco-7IDMKNAQ.js.map} +0 -0
  856. /package/dist/{plot.ssgq-KIZIOZIF.js.map → plot.ssgq-IOKUGDC4.js.map} +0 -0
  857. /package/dist/{plot.vaf2cov-MSMW72IY.js.map → plot.vaf2cov-SFSZ6M43.js.map} +0 -0
  858. /package/dist/{polar2-LA4MSRRN.js.map → polar2-PLPE5TX5.js.map} +0 -0
  859. /package/dist/{profileForms-BJRNB2ZF.js.map → profileForms-ZDHG67GM.js.map} +0 -0
  860. /package/dist/{profilePlot-DDO53C4T.js.map → profilePlot-UUZA2YG6.js.map} +0 -0
  861. /package/dist/{proteinView-NFUR42XQ.js.map → proteinView-GHS3XARL.js.map} +0 -0
  862. /package/dist/{proteomeCohortCompare-OZVF3X66.js.map → proteomeCohortCompare-TQ3BGIPS.js.map} +0 -0
  863. /package/dist/{pseudbulk.unit.spec-RY72JF7A.js.map → pseudbulk.unit.spec-HFESRN7A.js.map} +0 -0
  864. /package/dist/{pseudobulk-UVT5G2VL.js.map → pseudobulk-ODXYIUD5.js.map} +0 -0
  865. /package/dist/{qualitative-X3VXNC7X.js.map → qualitative-WOSYAIGQ.js.map} +0 -0
  866. /package/dist/{radar2-RTVUJ3AN.js.map → radar2-2KXBS3Y3.js.map} +0 -0
  867. /package/dist/{radarFacility2-ZGLZ5AKM.js.map → radarFacility2-JCOKJQQF.js.map} +0 -0
  868. /package/dist/{rememberedGvQ.unit.spec-RLLLWU5M.js.map → rememberedGvQ.unit.spec-DYRO2LO5.js.map} +0 -0
  869. /package/dist/{render-LR5BOYW6.js.map → render-IJ6GE3NE.js.map} +0 -0
  870. /package/dist/{report-37W5OXUM.js.map → report-WLLFUA7L.js.map} +0 -0
  871. /package/dist/{sampleView-BDC2WPH7.js.map → sampleView-LPKSYUNF.js.map} +0 -0
  872. /package/dist/{samplelst-V2EIVZC5.js.map → samplelst-MNI2MGMT.js.map} +0 -0
  873. /package/dist/{samplematrix-XOSKILUL.js.map → samplematrix-KEKJP2B4.js.map} +0 -0
  874. /package/dist/{sc-ZVZPWQY7.js.map → sc-ZYKFRJU4.js.map} +0 -0
  875. /package/dist/{scatter-2ZE5MCYH.js.map → scatter-BAEZOFWA.js.map} +0 -0
  876. /package/dist/{scatter-ZOWFPGIS.js.map → scatter-IGFBIZ3B.js.map} +0 -0
  877. /package/dist/{selectGenomeWithTklst-EF7WYEAJ.js.map → selectGenomeWithTklst-HBHRXEDY.js.map} +0 -0
  878. /package/dist/{singleCellCellType-TKCGC3G3.js.map → singleCellCellType-PMFDV24B.js.map} +0 -0
  879. /package/dist/{singleCellCellType.unit.spec-JZ6UHC5F.js.map → singleCellCellType.unit.spec-ZLYDUDIY.js.map} +0 -0
  880. /package/dist/{singleCellGeneExpression-I2INGXGI.js.map → singleCellGeneExpression-SUYO3HR3.js.map} +0 -0
  881. /package/dist/{singleCellGeneExpression.unit.spec-KL77FSHZ.js.map → singleCellGeneExpression.unit.spec-3N3HRXFN.js.map} +0 -0
  882. /package/dist/{singleCellNumericValue-2X5NCEHL.js.map → singleCellNumericValue-BV7C6Y34.js.map} +0 -0
  883. /package/dist/{singleCellNumericValue.unit.spec-OUDBX5MY.js.map → singleCellNumericValue.unit.spec-7VJOMYQ6.js.map} +0 -0
  884. /package/dist/{singleCellPlot-Q6INE54V.js.map → singleCellPlot-BG7UJOHA.js.map} +0 -0
  885. /package/dist/{singlecell-5N2P5ZAT.js.map → singlecell-BANNFGBS.js.map} +0 -0
  886. /package/dist/{singlecell-NPSWMNI3.js.map → singlecell-ZUTL5ZWE.js.map} +0 -0
  887. /package/dist/{snp-2WPJYPDE.js.map → snp-BHG4NVK4.js.map} +0 -0
  888. /package/dist/{snp.unit.spec-PPWIIOX6.js.map → snp.unit.spec-Q3AZHQRC.js.map} +0 -0
  889. /package/dist/{snplocus-T3HZFZWA.js.map → snplocus-HTJL63M3.js.map} +0 -0
  890. /package/dist/{spliceevent.a53ss.diagram-APCF4LV5.js.map → spliceevent.a53ss.diagram-UKRIP7EP.js.map} +0 -0
  891. /package/dist/{spliceevent.exonskip.diagram-TT5JGBSC.js.map → spliceevent.exonskip.diagram-CU777CXQ.js.map} +0 -0
  892. /package/dist/{spliceevent.noeventdiagram-CPXQSX3Z.js.map → spliceevent.noeventdiagram-LGLXCF25.js.map} +0 -0
  893. /package/dist/{ssGSEA-FSX6P7HA.js.map → ssGSEA-BIEEKAKX.js.map} +0 -0
  894. /package/dist/{ssGSEA.unit.spec-TXYT665R.js.map → ssGSEA.unit.spec-YD4UDIRH.js.map} +0 -0
  895. /package/dist/{stattable-BD64SFYV.js.map → stattable-LFR3RSD6.js.map} +0 -0
  896. /package/dist/{studyCatalog-6BOWO4PO.js.map → studyCatalog-RINIZ277.js.map} +0 -0
  897. /package/dist/{summarizeCnvGeneexp-AMLYJIPU.js.map → summarizeCnvGeneexp-ZQFNPR65.js.map} +0 -0
  898. /package/dist/{summarizeGeneexpSurvival-IDM7T333.js.map → summarizeGeneexpSurvival-GIS7XMMH.js.map} +0 -0
  899. /package/dist/{summarizeMutationCnv-R6SYSJQC.js.map → summarizeMutationCnv-FWF7YIGR.js.map} +0 -0
  900. /package/dist/{summarizeMutationDiagnosis-XZJ4JLW2.js.map → summarizeMutationDiagnosis-V5L2OKTK.js.map} +0 -0
  901. /package/dist/{summarizeMutationSurvival-ABJ5RL4L.js.map → summarizeMutationSurvival-LAUUF6XN.js.map} +0 -0
  902. /package/dist/{summary-NVYCTE6P.js.map → summary-OMU3ACNE.js.map} +0 -0
  903. /package/dist/{summary.integration.spec-SSLTLVNW.js.map → summary.integration.spec-6JZAT73L.js.map} +0 -0
  904. /package/dist/{summaryInput-SJOZETRP.js.map → summaryInput-QIKL3HDD.js.map} +0 -0
  905. /package/dist/{sunburst-RU5ZPJKW.js.map → sunburst-32IW2R57.js.map} +0 -0
  906. /package/dist/{survival-BHJQMXKI.js.map → survival-BMOPVAN2.js.map} +0 -0
  907. /package/dist/{survival-DVG6Y2FV.js.map → survival-H5AWMQ36.js.map} +0 -0
  908. /package/dist/{survival.integration.spec-OJUPTY5N.js.map → survival.integration.spec-66UOWSZG.js.map} +0 -0
  909. /package/dist/{svgraph-ETFA4GRX.js.map → svgraph-B75FS3BB.js.map} +0 -0
  910. /package/dist/{svmr-AI3RU4JK.js.map → svmr-IUEUOHVO.js.map} +0 -0
  911. /package/dist/{table-YCTSMLQL.js.map → table-YAAH7WR6.js.map} +0 -0
  912. /package/dist/{termCollection-GMKEZR6D.js.map → termCollection-7F5ZG2DB.js.map} +0 -0
  913. /package/dist/{termCollection-VEVKKJZD.js.map → termCollection-KNFUELYY.js.map} +0 -0
  914. /package/dist/{termCollection.unit.spec-EU6YCEPX.js.map → termCollection.unit.spec-S6M6QC4C.js.map} +0 -0
  915. /package/dist/{termCollectionFractionSelection-UBS74X36.js.map → termCollectionFractionSelection-X22VMJWY.js.map} +0 -0
  916. /package/dist/{termCollectionFractionSelection.unit.spec-Y5OJFGDD.js.map → termCollectionFractionSelection.unit.spec-ELU6SD7P.js.map} +0 -0
  917. /package/dist/{tk-W6Z4FJMW.js.map → tk-TT666UVE.js.map} +0 -0
  918. /package/dist/{tk-HMF4HCNV.js.map → tk-UOPNJ323.js.map} +0 -0
  919. /package/dist/{tp.ui-NECRDJCS.js.map → tp.ui-HGAHRKO5.js.map} +0 -0
  920. /package/dist/{tvs.dt-2JEH3F35.js.map → tvs.dt-H7YYR4EB.js.map} +0 -0
  921. /package/dist/{tvs.dtcnv.categorical-YBXKEBR2.js.map → tvs.dtcnv.categorical-IPJTKGMF.js.map} +0 -0
  922. /package/dist/{tvs.dtcnv.continuous-AD3SJ6BY.js.map → tvs.dtcnv.continuous-XY5XZ4GH.js.map} +0 -0
  923. /package/dist/{tvs.dtfusion-ODI3CLQS.js.map → tvs.dtfusion-VFCBMXRM.js.map} +0 -0
  924. /package/dist/{tvs.dtitd-V3LYLPJY.js.map → tvs.dtitd-RZVW6FTR.js.map} +0 -0
  925. /package/dist/{tvs.dtsnvindel-R3V5LTNL.js.map → tvs.dtsnvindel-IDPJWSGC.js.map} +0 -0
  926. /package/dist/{tvs.dtsv-ZQLKEDLJ.js.map → tvs.dtsv-QERP756F.js.map} +0 -0
  927. /package/dist/{tvs.samplelst-G25A7HM6.js.map → tvs.samplelst-6KNDHBIU.js.map} +0 -0
  928. /package/dist/{tvs.termCollection-WLVCWDEJ.js.map → tvs.termCollection-GWPJK3NE.js.map} +0 -0
  929. /package/dist/{vocabulary-6K537FJM.js.map → vocabulary-C5FIZMPQ.js.map} +0 -0
  930. /package/dist/{wsi.direct-SNPPQPVO.js.map → wsi.direct-2RBCBXDA.js.map} +0 -0
@@ -0,0 +1,2358 @@
1
+ import {
2
+ spliceevent_phrase_default
3
+ } from "./chunk-MMKSXXU2.js";
4
+ import {
5
+ spliceevent_exonskip_getdefault_default
6
+ } from "./chunk-NDOKW2HJ.js";
7
+ import {
8
+ legend_newrow
9
+ } from "./chunk-2RMSV4BS.js";
10
+ import "./chunk-V2OJLJSK.js";
11
+ import "./chunk-ANACCKCQ.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-C3HEDQPT.js";
23
+ import "./chunk-HJ6L54YS.js";
24
+ import "./chunk-KV4W2ACA.js";
25
+ import "./chunk-B6UXFX73.js";
26
+ import {
27
+ Menu
28
+ } from "./chunk-ELJX3QIQ.js";
29
+ import "./chunk-3FEP6B5T.js";
30
+ import "./chunk-EEB5VE2A.js";
31
+ import "./chunk-6RRZRISL.js";
32
+ import "./chunk-2KM4PRQM.js";
33
+ import {
34
+ dofetch2,
35
+ dofetch3
36
+ } from "./chunk-OBDIJ4QS.js";
37
+ import "./chunk-6FG6JFZP.js";
38
+ import "./chunk-3XBG5HIV.js";
39
+ import {
40
+ IN_frame,
41
+ OUT_frame,
42
+ bplen,
43
+ defaultcolor,
44
+ spliceeventchangegmexon
45
+ } from "./chunk-SB36AUG7.js";
46
+ import "./chunk-WINIL2KN.js";
47
+ import "./chunk-PF4DSFDR.js";
48
+ import "./chunk-7X6NF7NI.js";
49
+ import "./chunk-W5J3LTYS.js";
50
+ import {
51
+ axisRight,
52
+ category10_default
53
+ } from "./chunk-Z2ZITHT4.js";
54
+ import {
55
+ linear,
56
+ log,
57
+ ordinal
58
+ } from "./chunk-4OLM3KSB.js";
59
+ import "./chunk-FXQXCOII.js";
60
+ import "./chunk-TLT4YIG3.js";
61
+ import "./chunk-5R63Q5KH.js";
62
+ import {
63
+ select_default
64
+ } from "./chunk-I6Y4O3RR.js";
65
+ import "./chunk-Q5RDQNIT.js";
66
+ import "./chunk-DQC5FFGV.js";
67
+ import {
68
+ __commonJS,
69
+ __toESM
70
+ } from "./chunk-HS5PO5ZQ.js";
71
+
72
+ // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
73
+ var require_d3_beeswarm = __commonJS({
74
+ "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
75
+ (function(global, factory) {
76
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
77
+ })(exports, function(exports2) {
78
+ "use strict";
79
+ function beeswarm2() {
80
+ var data = [];
81
+ var radius = 4;
82
+ var orientation = "horizontal";
83
+ var side = "symetric";
84
+ var distributeOn = (
85
+ // accessor to the x value
86
+ function(datum) {
87
+ return datum.x;
88
+ }
89
+ );
90
+ var minDistanceBetweenCircles;
91
+ var minSquareDistanceBetweenCircles;
92
+ var xBasedDataManager;
93
+ var xBasedColliderManager;
94
+ var yBasedColliderManager;
95
+ var arrangement;
96
+ var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
97
+ function _beeswarm() {
98
+ }
99
+ _beeswarm.data = function(_) {
100
+ if (!arguments.length) {
101
+ return data;
102
+ }
103
+ data = _;
104
+ return _beeswarm;
105
+ };
106
+ _beeswarm.radius = function(_) {
107
+ if (!arguments.length) {
108
+ return radius;
109
+ }
110
+ radius = _;
111
+ return _beeswarm;
112
+ };
113
+ _beeswarm.orientation = function(_) {
114
+ if (!arguments.length) {
115
+ return orientation;
116
+ }
117
+ if (_ === "horizontal" || _ === "vertical") {
118
+ orientation = _;
119
+ }
120
+ return _beeswarm;
121
+ };
122
+ _beeswarm.side = function(_) {
123
+ if (!arguments.length) {
124
+ return side;
125
+ }
126
+ if (_ === "symetric" || _ === "positive" || _ === "negative") {
127
+ side = _;
128
+ }
129
+ return _beeswarm;
130
+ };
131
+ _beeswarm.distributeOn = function(_) {
132
+ if (!arguments.length) {
133
+ return distributeOn;
134
+ }
135
+ distributeOn = _;
136
+ return _beeswarm;
137
+ };
138
+ _beeswarm.arrange = function() {
139
+ initArrangement();
140
+ arrangement.forEach(function(d) {
141
+ var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
142
+ if (xBasedPossibleColliders.length === 0) {
143
+ bestYPosition = 0;
144
+ } else {
145
+ yBasedColliderManager.clear();
146
+ yBasedColliderManager.addMany(xBasedPossibleColliders);
147
+ d.free = 0;
148
+ if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
149
+ bestYPosition = 0;
150
+ totalVisitedColliders += visitedColliderCount;
151
+ if (visitedColliderCount > maxVisitedColliders) {
152
+ maxVisitedColliders = visitedColliderCount;
153
+ }
154
+ visitedColliderCount = 0;
155
+ totalTestedPlacements += 1;
156
+ } else {
157
+ xBasedPossibleColliders.forEach(function(xbpc) {
158
+ relativeYPos = yPosRelativeToXbpc(xbpc, d);
159
+ placeBelow(d, xbpc, relativeYPos);
160
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
161
+ bestYPosition = d.free;
162
+ }
163
+ totalVisitedColliders += visitedColliderCount;
164
+ if (visitedColliderCount > maxVisitedColliders) {
165
+ maxVisitedColliders = visitedColliderCount;
166
+ }
167
+ visitedColliderCount = 0;
168
+ totalTestedPlacements += 1;
169
+ placeAbove(d, xbpc, relativeYPos);
170
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
171
+ bestYPosition = d.free;
172
+ }
173
+ totalVisitedColliders += visitedColliderCount;
174
+ if (visitedColliderCount > maxVisitedColliders) {
175
+ maxVisitedColliders = visitedColliderCount;
176
+ }
177
+ visitedColliderCount = 0;
178
+ totalTestedPlacements += 1;
179
+ });
180
+ }
181
+ }
182
+ ;
183
+ d.free = bestYPosition;
184
+ if (orientation === "horizontal") {
185
+ d.x = d.fixed;
186
+ d.y = bestYPosition;
187
+ } else {
188
+ d.x = bestYPosition;
189
+ d.y = d.fixed;
190
+ }
191
+ xBasedColliderManager.add(d);
192
+ });
193
+ return arrangement;
194
+ };
195
+ _beeswarm.metrics = function() {
196
+ return {
197
+ totalPossibleColliders,
198
+ maxPossibleColliders,
199
+ totalTestedPlacements,
200
+ visitedColliderCount,
201
+ totalVisitedColliders,
202
+ maxVisitedColliders
203
+ };
204
+ };
205
+ function initArrangement() {
206
+ arrangement = data.map(function(d, i) {
207
+ return {
208
+ datum: d,
209
+ id: i,
210
+ fixed: distributeOn(d),
211
+ free: -Infinity
212
+ };
213
+ });
214
+ minDistanceBetweenCircles = 2 * radius;
215
+ minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
216
+ xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
217
+ return d.fixed;
218
+ }).addMany(arrangement);
219
+ xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
220
+ return d.fixed;
221
+ });
222
+ yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
223
+ return d.free;
224
+ });
225
+ totalPossibleColliders = maxPossibleColliders = 0;
226
+ totalTestedPlacements = 0;
227
+ visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
228
+ }
229
+ function findNearestPossibleCollider(dln, visitedDln, direction) {
230
+ if (visitedDln === null) {
231
+ return null;
232
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
233
+ return null;
234
+ } else {
235
+ if (isFinite(visitedDln.datum.free)) {
236
+ return visitedDln.datum;
237
+ }
238
+ return findNearestPossibleCollider(dln, visitedDln[direction], direction);
239
+ }
240
+ }
241
+ function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
242
+ if (visitedDln === null) {
243
+ return;
244
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
245
+ return;
246
+ } else {
247
+ xBasedPossibleColliders.push(visitedDln.datum);
248
+ visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
249
+ }
250
+ }
251
+ function gatherXBasedPossibleColliders(datum) {
252
+ var xBasedPossibleColliders = [];
253
+ var dln = xBasedDataManager.dln(datum);
254
+ var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
255
+ var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
256
+ if (nearestXPrevAlreadyArrangedData != null) {
257
+ dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
258
+ visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
259
+ }
260
+ if (nearestXNextAlreadyArrangedData != null) {
261
+ dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
262
+ visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
263
+ }
264
+ totalPossibleColliders += xBasedPossibleColliders.length;
265
+ if (xBasedPossibleColliders.length > maxPossibleColliders) {
266
+ maxPossibleColliders = xBasedPossibleColliders.length;
267
+ }
268
+ return xBasedPossibleColliders;
269
+ }
270
+ function isAuthorizedPlacement(datum) {
271
+ if (side === "symetric") {
272
+ return true;
273
+ } else if (side === "positive") {
274
+ return datum.free >= 0;
275
+ } else {
276
+ return datum.free <= 0;
277
+ }
278
+ }
279
+ function isBetterPlacement(datum, bestYPosition) {
280
+ return Math.abs(datum.free) < Math.abs(bestYPosition);
281
+ }
282
+ function yPosRelativeToXbpc(xbpc, d) {
283
+ return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
284
+ }
285
+ function placeBelow(d, aad, relativeYPos) {
286
+ d.free = aad.free - relativeYPos;
287
+ }
288
+ function placeAbove(d, aad, relativeYPos) {
289
+ d.free = aad.free + relativeYPos;
290
+ }
291
+ function areCirclesColliding(d0, d1) {
292
+ visitedColliderCount++;
293
+ return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
294
+ }
295
+ function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
296
+ if (visitedDln === null) {
297
+ return false;
298
+ } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
299
+ return false;
300
+ } else if (areCirclesColliding(datum, visitedDln.datum)) {
301
+ return true;
302
+ } else {
303
+ return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
304
+ }
305
+ }
306
+ function collidesWithOther(datum, visitedDln) {
307
+ var visitCount = 0;
308
+ if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
309
+ return true;
310
+ } else {
311
+ return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
312
+ }
313
+ }
314
+ function SortedDirectAccessDoublyLinkedList() {
315
+ this._valueAccesor = // accessor to the value to sort on
316
+ function(obj) {
317
+ return obj.value;
318
+ };
319
+ this._min = null;
320
+ this._max = null;
321
+ this._closestTo0 = null;
322
+ this.size = 0;
323
+ this._idToNode = {};
324
+ }
325
+ SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
326
+ if (!arguments.length) {
327
+ return this._valueAccesor;
328
+ }
329
+ this._valueAccesor = _;
330
+ return this;
331
+ };
332
+ SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
333
+ return this._closestTo0;
334
+ };
335
+ SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
336
+ this._min = null;
337
+ this._max = null;
338
+ this._closestTo0 = null;
339
+ this.size = 0;
340
+ this._idToNode = {};
341
+ return this;
342
+ };
343
+ SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
344
+ return this._idToNode[datum.id];
345
+ };
346
+ SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
347
+ data2.forEach(function(datum, item) {
348
+ this.add(datum);
349
+ }, this);
350
+ return this;
351
+ };
352
+ SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
353
+ var dln = {
354
+ datum,
355
+ // original datum
356
+ value: this._valueAccesor(datum),
357
+ prev: null,
358
+ // previous value-based node
359
+ next: null
360
+ // next value-based node
361
+ };
362
+ if (this.size === 0) {
363
+ this._min = this._max = this._closestTo0 = dln;
364
+ } else {
365
+ if (dln.value <= this._min.value) {
366
+ dln.next = this._min;
367
+ dln.next.prev = dln;
368
+ this._min = dln;
369
+ } else if (dln.value >= this._max.value) {
370
+ dln.prev = this._max;
371
+ dln.prev.next = dln;
372
+ this._max = dln;
373
+ } else {
374
+ var current = this._max;
375
+ while (current.value > dln.value) {
376
+ current = current.prev;
377
+ }
378
+ dln.prev = current;
379
+ dln.next = current.next;
380
+ dln.next.prev = dln;
381
+ dln.prev.next = dln;
382
+ }
383
+ if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
384
+ this._closestTo0 = dln;
385
+ }
386
+ }
387
+ this._idToNode[dln.datum.id] = dln;
388
+ this.size++;
389
+ return this;
390
+ };
391
+ SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
392
+ var dln = this.dln(datum);
393
+ if (this.size === 1) {
394
+ this._min = this._max = this._closestTo0 = null;
395
+ } else {
396
+ if (dln === this._closestTo0) {
397
+ if (this._closestTo0.next === null) {
398
+ this._closestTo0 = dln.prev;
399
+ } else if (this.closestToZero.prev === null) {
400
+ this._closestTo0 = dln.prev;
401
+ } else {
402
+ var prevAbsValue = Math.abs(this._closestTo0.prev.value);
403
+ var nextAbsValue = Math.abs(this._closestTo0.next.value);
404
+ if (prevAbsValue < nextAbsValue) {
405
+ this._closestTo0 = this._closestTo0.prev;
406
+ } else {
407
+ this._closestTo0 = this._closestTo0.next;
408
+ }
409
+ }
410
+ }
411
+ if (dln === this._min) {
412
+ this._min = this._min.next;
413
+ this._min.prev = null;
414
+ } else if (dln === this._max) {
415
+ this._max = this._max.prev;
416
+ this._max.next = null;
417
+ } else {
418
+ dln.next.prev = dln.prev;
419
+ dln.prev.next = dln.next;
420
+ }
421
+ }
422
+ dln = null;
423
+ delete this._idToNode[datum.id];
424
+ this.size--;
425
+ return this;
426
+ };
427
+ return _beeswarm;
428
+ }
429
+ ;
430
+ exports2.beeswarm = beeswarm2;
431
+ Object.defineProperty(exports2, "__esModule", { value: true });
432
+ });
433
+ }
434
+ });
435
+
436
+ // src/spliceevent.prep.js
437
+ function mapjunctiontoexons(junctions, genes) {
438
+ for (const j of junctions) {
439
+ j.exonleft = [];
440
+ j.exonright = [];
441
+ j.exonleftin = [];
442
+ j.exonrightin = [];
443
+ j.intronleft = [];
444
+ j.intronright = [];
445
+ j.leftout = [];
446
+ j.rightout = [];
447
+ j.matchisoform = [];
448
+ }
449
+ const usegenes = [];
450
+ for (const gene of genes) {
451
+ let use = false;
452
+ for (const j of junctions) {
453
+ if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
454
+ use = true;
455
+ break;
456
+ }
457
+ }
458
+ if (use) {
459
+ usegenes.push(gene);
460
+ }
461
+ }
462
+ if (usegenes.length == 0) {
463
+ return;
464
+ }
465
+ const leftpos = /* @__PURE__ */ new Map();
466
+ const rightpos = /* @__PURE__ */ new Map();
467
+ for (const j of junctions) {
468
+ if (!leftpos.has(j.start)) {
469
+ leftpos.set(j.start, []);
470
+ }
471
+ leftpos.get(j.start).push(j);
472
+ if (!rightpos.has(j.stop)) {
473
+ rightpos.set(j.stop, []);
474
+ }
475
+ rightpos.get(j.stop).push(j);
476
+ }
477
+ for (const [pos, jlst] of leftpos) {
478
+ for (const gm of usegenes) {
479
+ if (!gm.exon) continue;
480
+ for (let i = 0; i < gm.exon.length; i++) {
481
+ if (gm.exon[i][1] - 1 == pos) {
482
+ for (const j of jlst) {
483
+ j.exonleft.push({
484
+ gm,
485
+ exonidx: i
486
+ });
487
+ }
488
+ }
489
+ if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
490
+ for (const j of jlst) {
491
+ j.exonleftin.push({
492
+ gm,
493
+ exonidx: i
494
+ });
495
+ }
496
+ }
497
+ }
498
+ if (gm.intron) {
499
+ for (let i = 0; i < gm.intron.length; i++) {
500
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
501
+ for (const j of jlst) {
502
+ j.intronleft.push({
503
+ gm,
504
+ intronidx: i
505
+ });
506
+ }
507
+ }
508
+ }
509
+ }
510
+ }
511
+ }
512
+ for (const [pos, jlst] of rightpos) {
513
+ for (const gm of usegenes) {
514
+ if (!gm.exon) continue;
515
+ for (let i = 0; i < gm.exon.length; i++) {
516
+ if (gm.exon[i][0] == pos) {
517
+ for (const j of jlst) {
518
+ j.exonright.push({
519
+ gm,
520
+ exonidx: i
521
+ });
522
+ }
523
+ }
524
+ if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
525
+ for (const j of jlst) {
526
+ j.exonrightin.push({
527
+ gm,
528
+ exonidx: i
529
+ });
530
+ }
531
+ }
532
+ }
533
+ if (gm.intron) {
534
+ for (let i = 0; i < gm.intron.length; i++) {
535
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
536
+ for (const j of jlst) {
537
+ j.intronright.push({
538
+ gm,
539
+ intronidx: i
540
+ });
541
+ }
542
+ }
543
+ }
544
+ }
545
+ }
546
+ }
547
+ for (const j of junctions) {
548
+ {
549
+ const isoforms = /* @__PURE__ */ new Set();
550
+ for (const q of j.exonleft) isoforms.add(q.gm.isoform);
551
+ for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
552
+ for (const q of j.intronleft) isoforms.add(q.gm.isoform);
553
+ if (isoforms.size) {
554
+ for (const gm of usegenes) {
555
+ if (!isoforms.has(gm.isoform)) continue;
556
+ if (gm.stop <= j.stop) {
557
+ j.rightout.push({
558
+ gm
559
+ });
560
+ }
561
+ }
562
+ }
563
+ }
564
+ {
565
+ const isoforms = /* @__PURE__ */ new Set();
566
+ for (const q of j.exonright) isoforms.add(q.gm.isoform);
567
+ for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
568
+ for (const q of j.intronright) isoforms.add(q.gm.isoform);
569
+ if (isoforms.size) {
570
+ for (const gm of usegenes) {
571
+ if (!isoforms.has(gm.isoform)) continue;
572
+ if (gm.start > j.start) {
573
+ j.leftout.push({
574
+ gm
575
+ });
576
+ }
577
+ }
578
+ }
579
+ }
580
+ }
581
+ for (const j of junctions) {
582
+ if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
583
+ for (const el of j.exonleft) {
584
+ for (const er of j.exonright) {
585
+ if (el.gm.isoform == er.gm.isoform) {
586
+ j.matchisoform.push({
587
+ gm: el.gm,
588
+ leftexonidx: el.exonidx,
589
+ rightexonidx: er.exonidx
590
+ });
591
+ }
592
+ }
593
+ }
594
+ }
595
+ }
596
+
597
+ // src/spliceevent.exonskip.js
598
+ var exonskipcolor = "#99004d";
599
+ var exonaltcolor = "#004d99";
600
+ function findexonskipping(multisample, junctions, gmdata) {
601
+ const allevents = [];
602
+ for (const j0 of junctions) {
603
+ if (!j0.matchisoform || j0.matchisoform.length == 0) {
604
+ continue;
605
+ }
606
+ for (const j0isoform of j0.matchisoform) {
607
+ const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
608
+ const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
609
+ if (j0exonend - j0exonbegin <= 1) {
610
+ continue;
611
+ }
612
+ const jB = j0;
613
+ const thisevent = {
614
+ skippedexon: [],
615
+ junctionB: jB,
616
+ junctionAlst: []
617
+ };
618
+ for (let i = j0exonbegin + 1; i < j0exonend; i++) {
619
+ thisevent.skippedexon.push(i);
620
+ }
621
+ let gmB = null;
622
+ for (const gm of gmdata) {
623
+ if (!gm.intron) continue;
624
+ for (const i of gm.intron) {
625
+ if (i[0] - 1 == jB.start && i[1] == jB.stop) {
626
+ gmB = gm;
627
+ break;
628
+ }
629
+ }
630
+ if (gmB) {
631
+ break;
632
+ }
633
+ }
634
+ if (gmB) {
635
+ thisevent.isaltexon = true;
636
+ thisevent.color = exonaltcolor;
637
+ thisevent.gmA = j0isoform.gm;
638
+ thisevent.gmB = gmB;
639
+ } else {
640
+ thisevent.isskipexon = true;
641
+ thisevent.color = exonskipcolor;
642
+ thisevent.gm = j0isoform.gm;
643
+ const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
644
+ if (utr3) thisevent.utr3 = true;
645
+ if (utr5) thisevent.utr5 = true;
646
+ if (coding) thisevent.coding = true;
647
+ }
648
+ {
649
+ const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
650
+ for (const ja of jAlst) {
651
+ thisevent.junctionAlst.push(ja);
652
+ }
653
+ }
654
+ if (thisevent.isskipexon) {
655
+ findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
656
+ }
657
+ if (multisample) {
658
+ if (!jB.data) {
659
+ console.error("exonskip: jB.data missing when it is multi-sample");
660
+ continue;
661
+ }
662
+ if (jB.data.length == 0) {
663
+ console.error("exonskip: jB.data.length==0");
664
+ continue;
665
+ }
666
+ let percentagesamplesum = 0;
667
+ for (const sampleBdata of jB.data) {
668
+ const bcount = sampleBdata.v;
669
+ let acountsum = 0;
670
+ for (const junctionA of thisevent.junctionAlst) {
671
+ if (!junctionA) {
672
+ continue;
673
+ }
674
+ if (!junctionA.data) {
675
+ console.log("exonskip: jA.data missing when multi-sample");
676
+ continue;
677
+ }
678
+ for (const sampleAdata of junctionA.data) {
679
+ if (sampleAdata.tkid == sampleBdata.tkid) {
680
+ acountsum += sampleAdata.v;
681
+ break;
682
+ }
683
+ }
684
+ }
685
+ percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
686
+ }
687
+ thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
688
+ } else {
689
+ let asum = 0;
690
+ for (const _j of thisevent.junctionAlst) {
691
+ asum += _j ? _j.data[0].v : 0;
692
+ }
693
+ thisevent.percentage = Math.ceil(
694
+ 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
695
+ );
696
+ }
697
+ allevents.push(thisevent);
698
+ }
699
+ }
700
+ const exoncoords = /* @__PURE__ */ new Map();
701
+ for (const evt of allevents) {
702
+ const positionlst = [];
703
+ for (const eid of evt.skippedexon) {
704
+ let thisexon;
705
+ if (evt.isskipexon) {
706
+ thisexon = evt.gm.exon[eid];
707
+ } else {
708
+ thisexon = evt.gmA.exon[eid];
709
+ }
710
+ positionlst.push(thisexon[0]);
711
+ positionlst.push(thisexon[1]);
712
+ }
713
+ if (positionlst.length == 0) {
714
+ console.error("not possible: no skipped exon position for exon-skip");
715
+ console.log(evt);
716
+ continue;
717
+ }
718
+ positionlst.sort();
719
+ const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
720
+ if (!exoncoords.has(posstr)) {
721
+ exoncoords.set(posstr, []);
722
+ }
723
+ exoncoords.get(posstr).push(evt);
724
+ }
725
+ const eventsetlst = [];
726
+ for (const eventlst of exoncoords.values()) {
727
+ const thisset = {
728
+ eventlst,
729
+ exonlst: []
730
+ // each exon: {start:, stop:}
731
+ };
732
+ eventsetlst.push(thisset);
733
+ const firstevent = eventlst[0];
734
+ for (const eid of firstevent.skippedexon) {
735
+ const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
736
+ const thisexon = gm.exon[eid];
737
+ thisset.exonlst.push({
738
+ chr: gm.chr,
739
+ start: thisexon[0],
740
+ stop: thisexon[1]
741
+ });
742
+ }
743
+ let eventcount_skip = 0, eventcount_alt = 0;
744
+ for (const evt of eventlst) {
745
+ if (evt.isskipexon) {
746
+ eventcount_skip++;
747
+ } else {
748
+ eventcount_alt++;
749
+ }
750
+ }
751
+ thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
752
+ const exonnumberset = /* @__PURE__ */ new Set();
753
+ for (const evt of eventlst) {
754
+ const thisexonnumbers = [];
755
+ for (const eid of evt.skippedexon) {
756
+ thisexonnumbers.push(eid + 1);
757
+ }
758
+ exonnumberset.add(thisexonnumbers.join(","));
759
+ }
760
+ if (exonnumberset.size == 1) {
761
+ thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
762
+ } else {
763
+ thisset.toplabelsays = "exon ";
764
+ }
765
+ thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
766
+ if (multisample) {
767
+ let samplecount = 0;
768
+ for (const evt of eventlst) {
769
+ samplecount = Math.max(samplecount, evt.junctionB.data.length);
770
+ }
771
+ thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
772
+ }
773
+ thisset.bottomlabelsays = firstevent.percentage + "%";
774
+ }
775
+ return eventsetlst;
776
+ }
777
+ function findjunctionbystartstop(lst, p1, p2) {
778
+ const start = Math.min(p1, p2);
779
+ const stop = Math.max(p1, p2);
780
+ for (const j of lst) {
781
+ if (j.start == start && j.stop == stop) return j;
782
+ }
783
+ return null;
784
+ }
785
+ function findjunctionAlst(junctions, gm, exonbegin, exonend) {
786
+ const lst = [];
787
+ const exonstart = Math.min(exonbegin, exonend);
788
+ const exonstop = Math.max(exonbegin, exonend);
789
+ if (gm.strand == "+") {
790
+ for (let i = exonstart; i < exonstop; i++) {
791
+ const p1 = gm.exon[i][1] - 1;
792
+ const p2 = gm.exon[i + 1][0];
793
+ lst.push(findjunctionbystartstop(junctions, p1, p2));
794
+ }
795
+ } else {
796
+ for (let i = exonstop; i > exonstart; i--) {
797
+ const p1 = gm.exon[i][1] - 1;
798
+ const p2 = gm.exon[i - 1][0];
799
+ lst.unshift(findjunctionbystartstop(junctions, p1, p2));
800
+ }
801
+ }
802
+ return lst;
803
+ }
804
+ function findupdown1junction4exonskip(evt, gm, junctions) {
805
+ let exonidx = evt.skippedexon[0];
806
+ if (exonidx > 1) {
807
+ let p1, p2;
808
+ if (gm.strand == "+") {
809
+ p1 = gm.exon[exonidx - 2][1] - 1;
810
+ p2 = gm.exon[exonidx - 1][0];
811
+ } else {
812
+ p1 = gm.exon[exonidx - 1][1] - 1;
813
+ p2 = gm.exon[exonidx - 2][0];
814
+ }
815
+ evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
816
+ }
817
+ exonidx = evt.skippedexon[evt.skippedexon.length - 1];
818
+ if (exonidx < gm.exon.length - 2) {
819
+ let p1, p2;
820
+ if (gm.strand == "+") {
821
+ p1 = gm.exon[exonidx + 1][1] - 1;
822
+ p2 = gm.exon[exonidx + 2][0];
823
+ } else {
824
+ p1 = gm.exon[exonidx + 2][1] - 1;
825
+ p2 = gm.exon[exonidx + 1][0];
826
+ }
827
+ evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
828
+ }
829
+ }
830
+ function checkexoncodingutr(exonidlst, gm) {
831
+ if (!gm.coding) {
832
+ return [false, false, false];
833
+ }
834
+ let exonstart = gm.exon[exonidlst[0]][0];
835
+ let exonstop = gm.exon[exonidlst[0]][1];
836
+ for (const idx of exonidlst) {
837
+ exonstart = Math.min(gm.exon[idx][0], exonstart);
838
+ exonstop = Math.max(gm.exon[idx][1], exonstop);
839
+ }
840
+ const forward = gm.strand == "+";
841
+ let utr3 = false, utr5 = false, coding = false;
842
+ if (exonstop <= gm.codingstart) {
843
+ if (forward) {
844
+ utr5 = true;
845
+ } else {
846
+ utr3 = true;
847
+ }
848
+ } else if (exonstart >= gm.codingstop) {
849
+ if (forward) {
850
+ utr3 = true;
851
+ } else {
852
+ utr5 = true;
853
+ }
854
+ } else {
855
+ coding = true;
856
+ }
857
+ return [utr3, utr5, coding];
858
+ }
859
+
860
+ // src/block.tk.junction.spliceevent.js
861
+ function spliceeventanalyze(tk, block) {
862
+ if (tk.eventsg) {
863
+ tk.eventsg.selectAll("*").remove();
864
+ }
865
+ if (tk.type != tkt.junction) {
866
+ return;
867
+ }
868
+ if (!tk.data) {
869
+ return;
870
+ }
871
+ if (tk.data.length == 0) {
872
+ return;
873
+ }
874
+ const [gmdataerr, gmdata] = getgmdata(block);
875
+ if (gmdataerr) {
876
+ const fontsize = 12;
877
+ const pad = 2;
878
+ tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
879
+ 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");
880
+ tk.height_main += pad * 2 + fontsize;
881
+ block.block_setheight();
882
+ return;
883
+ }
884
+ if (!gmdata) {
885
+ return;
886
+ }
887
+ for (const junction of tk.data) {
888
+ delete junction.spliceevents;
889
+ }
890
+ mapjunctiontoexons(tk.data, gmdata);
891
+ const allevents = [];
892
+ const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
893
+ if (exonskipalt.length > 0) {
894
+ for (const exonset of exonskipalt) {
895
+ if (exonlstoutofrange(exonset.exonlst, block)) {
896
+ continue;
897
+ }
898
+ allevents.push(exonset);
899
+ for (const thisevt of exonset.eventlst) {
900
+ if (!thisevt.junctionB.spliceevents) {
901
+ thisevt.junctionB.spliceevents = [];
902
+ }
903
+ thisevt.junctionB.spliceevents.push(thisevt);
904
+ }
905
+ }
906
+ }
907
+ if (allevents.length) {
908
+ rendereventsintrack(allevents, tk, block);
909
+ }
910
+ }
911
+ function rendereventsintrack(allevents, tk, block) {
912
+ const labelfontsize = 10;
913
+ const stackspace = 1;
914
+ const boxlabelspacing = 2;
915
+ let stackheight;
916
+ if (tk.totalsamplecount > 1) {
917
+ stackheight = labelfontsize * 3 + stackspace * 2;
918
+ } else {
919
+ stackheight = labelfontsize * 2 + stackspace;
920
+ }
921
+ for (const eventset of allevents) {
922
+ eventset.g = tk.eventsg.append("g");
923
+ const junctionB = eventset.eventlst[0].junctionB;
924
+ const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
925
+ 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");
926
+ if (tk.totalsamplecount > 1) {
927
+ 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");
928
+ }
929
+ let willshowframe = false;
930
+ let thiseventframe = null;
931
+ for (const evt of eventset.eventlst) {
932
+ if (evt.isaltexon) {
933
+ evt.framenocheck = true;
934
+ continue;
935
+ }
936
+ if (evt.isskipexon) {
937
+ if (!evt.gm.coding) {
938
+ evt.framenocheck = true;
939
+ continue;
940
+ }
941
+ if (evt.utr3 || evt.utr5) {
942
+ evt.framenocheck = true;
943
+ continue;
944
+ }
945
+ }
946
+ willshowframe = true;
947
+ if (block.genome.junctionframecache.has(jbstr)) {
948
+ let isoform;
949
+ if (evt.isskipexon) {
950
+ isoform = evt.gm.isoform;
951
+ }
952
+ const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
953
+ if (thisframe == void 0) {
954
+ } else {
955
+ evt.frame = thisframe;
956
+ if (thiseventframe == null) {
957
+ thiseventframe = thisframe;
958
+ } else {
959
+ if (thisframe == IN_frame) {
960
+ thiseventframe = IN_frame;
961
+ }
962
+ }
963
+ }
964
+ } else {
965
+ }
966
+ }
967
+ eventset.bottomlabel = eventset.g.append("text").text(
968
+ eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
969
+ ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
970
+ if (willshowframe && thiseventframe == null) {
971
+ for (const evt of eventset.eventlst) {
972
+ let gm;
973
+ if (evt.isaltexon) {
974
+ gm = evt.gmB;
975
+ } else if (evt.isskipexon) {
976
+ gm = evt.gm;
977
+ }
978
+ if (!block.genome.junctionframecache.has(jbstr)) {
979
+ checkjunctionframe({
980
+ jbstr,
981
+ evt,
982
+ gm,
983
+ block,
984
+ eventset
985
+ });
986
+ continue;
987
+ }
988
+ if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
989
+ checkjunctionframe({
990
+ jbstr,
991
+ evt,
992
+ gm,
993
+ block,
994
+ eventset
995
+ });
996
+ }
997
+ }
998
+ }
999
+ const exonobjlst = [];
1000
+ let boxstart = null, boxstop;
1001
+ for (const exon of eventset.exonlst) {
1002
+ const pointa = block.seekcoord(exon.chr, exon.start)[0];
1003
+ if (!pointa) {
1004
+ console.log("skipped exon start position not mapped: " + exon.start);
1005
+ return;
1006
+ }
1007
+ const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1008
+ if (!pointb) {
1009
+ console.log("skipped exon stop position not mapped: " + exon.stop);
1010
+ return;
1011
+ }
1012
+ const exonobj = {
1013
+ x: Math.min(pointa.x, pointb.x),
1014
+ w: Math.max(1, Math.abs(pointa.x - pointb.x))
1015
+ };
1016
+ exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1017
+ console.log(eventset);
1018
+ });
1019
+ if (boxstart == null) {
1020
+ boxstart = exonobj.x;
1021
+ boxstop = exonobj.x + exonobj.w;
1022
+ } else {
1023
+ boxstart = Math.min(boxstart, exonobj.x);
1024
+ boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1025
+ }
1026
+ exonobjlst.push(exonobj);
1027
+ }
1028
+ for (const exon of exonobjlst) {
1029
+ exon.rect.attr("x", exon.x - boxstart);
1030
+ }
1031
+ eventset.boxstart = boxstart;
1032
+ eventset.boxwidth = boxstop - boxstart;
1033
+ if (eventset.exonlst.length > 1) {
1034
+ 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);
1035
+ }
1036
+ eventset.toplabel.each(function() {
1037
+ eventset.labelwidth = this.getBBox().width;
1038
+ });
1039
+ if (eventset.middlelabel) {
1040
+ eventset.middlelabel.each(function() {
1041
+ eventset.labelwidth = this.getBBox().width;
1042
+ });
1043
+ }
1044
+ eventset.bottomlabel.each(function() {
1045
+ eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1046
+ });
1047
+ if (eventset.labelwidth > eventset.boxstart) {
1048
+ eventset.labelonright = true;
1049
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1050
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1051
+ if (eventset.middlelabel) {
1052
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1053
+ }
1054
+ } else {
1055
+ eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1056
+ eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1057
+ if (eventset.middlelabel) {
1058
+ eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1059
+ }
1060
+ }
1061
+ 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", () => {
1062
+ eventset.cover.attr("fill-opacity", 0.1);
1063
+ }).on("mouseout", () => {
1064
+ eventset.cover.attr("fill-opacity", 0);
1065
+ }).on("click", () => {
1066
+ tk.tktip.clear();
1067
+ displayspliceevents(eventset.eventlst, tk.tktip.d);
1068
+ tk.tktip.showunder(eventset.cover.node());
1069
+ });
1070
+ }
1071
+ const stacks = [0];
1072
+ for (const eventset of allevents) {
1073
+ let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1074
+ let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1075
+ for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1076
+ if (x1 > stacks[stackidx]) {
1077
+ eventset.stackidx = stackidx;
1078
+ stacks[stackidx] = x2;
1079
+ break;
1080
+ }
1081
+ if (!eventset.labelonright) {
1082
+ const newx1 = eventset.boxstart;
1083
+ const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1084
+ if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1085
+ eventset.labelonright = true;
1086
+ eventset.stackidx = stackidx;
1087
+ stacks[stackidx] = newx2;
1088
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1089
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1090
+ if (eventset.middlelabel) {
1091
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1092
+ }
1093
+ eventset.cover.attr("x", 0);
1094
+ break;
1095
+ }
1096
+ }
1097
+ }
1098
+ if (eventset.stackidx == void 0) {
1099
+ eventset.stackidx = stacks.length;
1100
+ stacks.push(x2);
1101
+ }
1102
+ eventset.g.attr(
1103
+ "transform",
1104
+ "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1105
+ );
1106
+ }
1107
+ tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1108
+ block.block_setheight();
1109
+ }
1110
+ function checkjunctionframe(arg) {
1111
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1112
+ arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1113
+ }
1114
+ if (!arg.gm.coding) {
1115
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1116
+ mayupdateeventsetlabel(arg);
1117
+ return;
1118
+ }
1119
+ const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1120
+ dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1121
+ if (!data) {
1122
+ console.log("server error");
1123
+ return;
1124
+ }
1125
+ if (data.error) {
1126
+ console.log(data.error);
1127
+ return;
1128
+ }
1129
+ if (typeof data.frame != "boolean") {
1130
+ console.log("invalid result from translategm: " + data.frame);
1131
+ return;
1132
+ }
1133
+ arg.evt.frame = data.frame;
1134
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1135
+ mayupdateeventsetlabel(arg);
1136
+ });
1137
+ }
1138
+ function mayupdateeventsetlabel(arg) {
1139
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1140
+ return;
1141
+ }
1142
+ let frame = OUT_frame;
1143
+ for (const evt of arg.eventset.eventlst) {
1144
+ if (evt.framenocheck) {
1145
+ continue;
1146
+ }
1147
+ let isoform;
1148
+ if (evt.isskipexon) {
1149
+ isoform = evt.gm.isoform;
1150
+ }
1151
+ const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1152
+ if (thisframe == void 0) {
1153
+ return;
1154
+ }
1155
+ if (thisframe == IN_frame) {
1156
+ frame = IN_frame;
1157
+ }
1158
+ }
1159
+ arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1160
+ }
1161
+ function displayspliceevents(events, holder) {
1162
+ const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1163
+ if (events.length > 1) {
1164
+ holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1165
+ const name = Math.random().toString();
1166
+ for (const [idx, evt] of events.entries()) {
1167
+ const id = name + idx;
1168
+ const row = holder.append("div").style("margin-top", "3px");
1169
+ row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1170
+ displayspliceevents_show(events, idx, showdiv);
1171
+ });
1172
+ row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1173
+ }
1174
+ }
1175
+ const showdiv = holder.append("div");
1176
+ displayspliceevents_show(events, evt2showidx, showdiv);
1177
+ }
1178
+ function displayspliceevents_show(events, idx, div) {
1179
+ div.selectAll("*").remove();
1180
+ import("./spliceevent.exonskip.diagram-CU777CXQ.js").then((p) => {
1181
+ p.default({
1182
+ event: events[idx],
1183
+ holder: div,
1184
+ nophrase: events.length > 1
1185
+ });
1186
+ });
1187
+ }
1188
+ function exonlstoutofrange(lst, block) {
1189
+ const chr = lst[0].chr;
1190
+ let start = lst[0].start;
1191
+ let stop = lst[0].stop;
1192
+ for (const e of lst) {
1193
+ start = Math.min(start, e.start);
1194
+ stop = Math.max(stop, e.stop);
1195
+ }
1196
+ const starthit = block.seekcoord(chr, start)[0];
1197
+ const stophit = block.seekcoord(chr, stop)[0];
1198
+ if (!starthit || !stophit) {
1199
+ return true;
1200
+ }
1201
+ let startoutleft = false;
1202
+ let startoutright = false;
1203
+ if (starthit.x <= 0) {
1204
+ startoutleft = true;
1205
+ } else if (starthit.x >= block.width) {
1206
+ startoutright = true;
1207
+ }
1208
+ let stopoutleft = false;
1209
+ let stopoutright = false;
1210
+ if (stophit.x <= 0) {
1211
+ stopoutleft = true;
1212
+ } else if (stophit.x >= block.width) {
1213
+ stopoutright = true;
1214
+ }
1215
+ if (startoutleft && stopoutleft) return true;
1216
+ if (startoutright && stopoutright) return true;
1217
+ return false;
1218
+ }
1219
+ function getgmdata(block) {
1220
+ if (!block.gmmode || block.gmmode == gmmode.genomic) {
1221
+ const genetk = [];
1222
+ for (const t of block.tklst) {
1223
+ if (t.__isgene) {
1224
+ genetk.push(t);
1225
+ }
1226
+ }
1227
+ if (genetk.length == 0) {
1228
+ return ["Add a gene track to analyze splice junctions."];
1229
+ }
1230
+ const gmdatalst = [];
1231
+ for (const t of genetk) {
1232
+ if (t.gmdata) {
1233
+ for (const m of t.gmdata) {
1234
+ gmdatalst.push(m);
1235
+ }
1236
+ }
1237
+ }
1238
+ if (gmdatalst.length == 0) {
1239
+ return [null];
1240
+ }
1241
+ const regions = [];
1242
+ for (const m of gmdatalst) {
1243
+ let overlap = false;
1244
+ for (const r of regions) {
1245
+ if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1246
+ overlap = true;
1247
+ r.start = Math.min(r.start, m.start);
1248
+ r.stop = Math.max(r.stop, m.stop);
1249
+ break;
1250
+ }
1251
+ }
1252
+ if (!overlap) {
1253
+ regions.push({ start: m.start, stop: m.stop });
1254
+ }
1255
+ }
1256
+ if (regions.length >= 3) {
1257
+ return ["Zoom in on a single gene to analyze splice junctions."];
1258
+ }
1259
+ return [null, gmdatalst];
1260
+ }
1261
+ if (block.gmmode == gmmode.gmsum) {
1262
+ if (!block.allgm) {
1263
+ return ["Error: block.allgm[] is missing"];
1264
+ }
1265
+ return [null, block.allgm];
1266
+ }
1267
+ if (!block.usegm) {
1268
+ return ["Error: block.usegm is missing"];
1269
+ }
1270
+ return [null, [block.usegm]];
1271
+ }
1272
+
1273
+ // src/block.tk.junction.renderjunctions.js
1274
+ var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1275
+ var colorfunc = ordinal(category10_default);
1276
+ var minfontsize = 12;
1277
+ function rendertk(junctions, tk, block) {
1278
+ if (tk.data) {
1279
+ const map = /* @__PURE__ */ new Map();
1280
+ for (const j of tk.data) {
1281
+ map.set(j.chr + "." + j.start + "." + j.stop, j);
1282
+ }
1283
+ const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1284
+ for (const i of junctions) {
1285
+ const j = map.get(i.chr + "." + i.start + "." + i.stop);
1286
+ if (j) {
1287
+ i.x = j.x + pannedpx;
1288
+ i.mode = j.mode;
1289
+ i.modefix = j.modefix;
1290
+ if (i.mode == modesample) {
1291
+ i.mode = moderaise;
1292
+ }
1293
+ }
1294
+ }
1295
+ }
1296
+ tk.data = junctions;
1297
+ tk.glider.selectAll("*").remove();
1298
+ tk.leftaxis.selectAll("*").remove();
1299
+ if (tk.readcountcutoff) {
1300
+ const newj = [];
1301
+ for (const j of tk.data) {
1302
+ if (j.data) {
1303
+ const newsamples = [];
1304
+ for (const s of j.data) {
1305
+ if (s.v >= tk.readcountcutoff) {
1306
+ newsamples.push(s);
1307
+ }
1308
+ }
1309
+ if (newsamples.length == 0) {
1310
+ continue;
1311
+ }
1312
+ j.data = newsamples;
1313
+ newj.push(j);
1314
+ } else {
1315
+ if (j.v >= tk.readcountcutoff) {
1316
+ newj.push(j);
1317
+ }
1318
+ }
1319
+ }
1320
+ tk.data = newj;
1321
+ }
1322
+ if (tk.data.length == 0) {
1323
+ tk.height_main = 50;
1324
+ block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1325
+ tk.label_mcount.text("");
1326
+ if (tk.label_samplecount) {
1327
+ tk.label_samplecount.text("");
1328
+ }
1329
+ get_leftLabelMaxwidth(tk);
1330
+ block.setllabel();
1331
+ block.block_setheight();
1332
+ return;
1333
+ }
1334
+ tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1335
+ get_leftLabelMaxwidth(tk);
1336
+ block.setllabel();
1337
+ junctiontype2color(tk, block);
1338
+ const mg = tk.glider.append("g");
1339
+ tk.data.sort((a, b) => {
1340
+ return a._x - b._x;
1341
+ });
1342
+ let maxsamplecount = 0;
1343
+ if (tk.totalsamplecount > 1) {
1344
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1345
+ const radius = 5;
1346
+ let mrd = 0;
1347
+ const w = Math.pow(radius, 2) * Math.PI;
1348
+ if (maxsamplecount <= 10) {
1349
+ mrd = w * maxsamplecount * 0.9;
1350
+ } else if (maxsamplecount <= 100) {
1351
+ mrd = w * 10;
1352
+ } else if (maxsamplecount <= 1e3) {
1353
+ mrd = w * 14;
1354
+ } else {
1355
+ mrd = w * 20;
1356
+ }
1357
+ const sf_discradius = linear().domain([
1358
+ 1,
1359
+ maxsamplecount * 0.5 + 0.1,
1360
+ maxsamplecount * 0.6 + 0.1,
1361
+ maxsamplecount * 0.7 + 0.1,
1362
+ maxsamplecount * 0.8 + 0.1,
1363
+ maxsamplecount
1364
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1365
+ let maxradius = 0;
1366
+ for (const j of tk.data) {
1367
+ j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1368
+ if (j.data.length > 1) {
1369
+ mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1370
+ const b = this.getBBox();
1371
+ const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1372
+ j.radius = Math.max(j.radius, newrad);
1373
+ }).remove();
1374
+ }
1375
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1376
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1377
+ maxradius = Math.max(maxradius, j.radius2);
1378
+ }
1379
+ tk.maxradius = maxradius;
1380
+ } else {
1381
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1382
+ const radius = 5;
1383
+ let mrd = 0;
1384
+ const w = Math.pow(radius, 2) * Math.PI;
1385
+ if (maxsamplecount <= 10) {
1386
+ mrd = w * maxsamplecount * 0.9;
1387
+ } else if (maxsamplecount <= 100) {
1388
+ mrd = w * 5;
1389
+ } else if (maxsamplecount <= 1e3) {
1390
+ mrd = w * 7;
1391
+ } else {
1392
+ mrd = w * 10;
1393
+ }
1394
+ const sf_discradius = linear().domain([
1395
+ 1,
1396
+ maxsamplecount * 0.5 + 0.1,
1397
+ maxsamplecount * 0.6 + 0.1,
1398
+ maxsamplecount * 0.7 + 0.1,
1399
+ maxsamplecount * 0.8 + 0.1,
1400
+ maxsamplecount
1401
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1402
+ let maxradius = 0;
1403
+ for (const j of tk.data) {
1404
+ j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1405
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1406
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1407
+ maxradius = Math.max(maxradius, j.radius2);
1408
+ }
1409
+ tk.maxradius = maxradius;
1410
+ }
1411
+ let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1412
+ for (const j of tk.data) {
1413
+ for (const s of j.data) {
1414
+ maxread = Math.max(s.v, maxread);
1415
+ }
1416
+ if (j.data.length == 1) {
1417
+ j.median = j.data[0].v;
1418
+ } else {
1419
+ const readlst = j.data.map((s) => s.v);
1420
+ readlst.sort((a, b) => a - b);
1421
+ j.median = readlst[Math.floor(j.data.length / 2)];
1422
+ }
1423
+ if (j.median > maxmedian) {
1424
+ maxmedian = j.median;
1425
+ maxmedianradius = j.radius;
1426
+ }
1427
+ }
1428
+ tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1429
+ axisstyle({
1430
+ axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1431
+ color: "black",
1432
+ showline: true
1433
+ });
1434
+ tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1435
+ tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1436
+ automode(tk, null, block.width);
1437
+ mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1438
+ {
1439
+ const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1440
+ 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");
1441
+ 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");
1442
+ let v = 10;
1443
+ while (v <= maxread) {
1444
+ 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");
1445
+ v *= 10;
1446
+ }
1447
+ }
1448
+ const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1449
+ j.jugg = this;
1450
+ });
1451
+ tk.jug = jug;
1452
+ if (tk.hljunctions) {
1453
+ jug.attr("class", (d) => {
1454
+ for (const j of tk.hljunctions) {
1455
+ if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1456
+ return "sja_pulse";
1457
+ }
1458
+ }
1459
+ return null;
1460
+ });
1461
+ }
1462
+ 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) {
1463
+ d.leg1 = this;
1464
+ }).classed("sja_jug_leg1", true);
1465
+ 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) {
1466
+ d.leg2 = this;
1467
+ });
1468
+ const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1469
+ 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) {
1470
+ d.stem = this;
1471
+ });
1472
+ jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1473
+ 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");
1474
+ 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) => {
1475
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1476
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1477
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1478
+ select_default(d.leg1).attr("stroke-opacity", 1);
1479
+ select_default(d.leg2).attr("stroke-opacity", 1);
1480
+ select_default(d.stem).attr("stroke-opacity", 1);
1481
+ if (d.mode == modefold) {
1482
+ foldedjunctioninfo(d, tk);
1483
+ return;
1484
+ }
1485
+ const circle = event.target.getBoundingClientRect();
1486
+ expandedjunctioninfo(d, tk, circle);
1487
+ }).on("mouseout", () => {
1488
+ tk.pica.g.selectAll("*").remove();
1489
+ tk.tktip.hide();
1490
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1491
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1492
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1493
+ }).on("mousedown", (event) => {
1494
+ event.stopPropagation();
1495
+ }).on("click", (event, d) => {
1496
+ if (d.mode == modefold) {
1497
+ d.mode = moderaise;
1498
+ } else if (d.mode == moderaise) {
1499
+ if (d.data.length == 1) {
1500
+ d.mode = modefold;
1501
+ } else {
1502
+ d.mode = modesample;
1503
+ junctionsamplespread(d, tk, block);
1504
+ }
1505
+ } else {
1506
+ d.mode = modefold;
1507
+ }
1508
+ d.modefix = true;
1509
+ horiplace(tk.data, block.width, tk);
1510
+ });
1511
+ horiplace(tk.data, block.width, tk);
1512
+ function set_lineopacity(d) {
1513
+ return 0.5;
1514
+ }
1515
+ block.onloadalltk.push(() => {
1516
+ spliceeventanalyze(tk, block);
1517
+ });
1518
+ block.tkcloakoff(tk, {});
1519
+ block.block_setheight();
1520
+ }
1521
+ function horiplace(lst, width, tk) {
1522
+ const todo = [];
1523
+ for (const i of lst) {
1524
+ if (i.x0 < 0) {
1525
+ i.tox = i.x1 - i.radius2 * 2;
1526
+ } else if (i.x1 > width) {
1527
+ i.tox = i.x0 + i.radius2 * 2;
1528
+ } else {
1529
+ i.tox = i._x;
1530
+ }
1531
+ if (i.mode == modefold) {
1532
+ i.x = i.tox;
1533
+ } else {
1534
+ todo.push(i);
1535
+ }
1536
+ }
1537
+ for (const i of lst) {
1538
+ i.x = i.tox;
1539
+ }
1540
+ set_all(tk);
1541
+ return;
1542
+ }
1543
+ function automode(tk, usemode, blockwidth) {
1544
+ for (const i of tk.data) {
1545
+ if (!i.mode) i.mode = moderaise;
1546
+ }
1547
+ return;
1548
+ const samplecountlst = [];
1549
+ for (let i = 0; i < tk.data.length; i++) {
1550
+ samplecountlst.push({
1551
+ idx: i,
1552
+ count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1553
+ });
1554
+ }
1555
+ samplecountlst.sort((a, b) => b.count - a.count);
1556
+ let cumx = 0;
1557
+ for (const cc of samplecountlst) {
1558
+ const d = tk.data[cc.idx];
1559
+ if (!d.mode) {
1560
+ cumx += d.radius2 * 2;
1561
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1562
+ } else {
1563
+ if (d.modefix) {
1564
+ if (d.mode != modefold) {
1565
+ cumx += d.radius2 * 2;
1566
+ }
1567
+ } else {
1568
+ if (usemode) {
1569
+ d.mode = usemode;
1570
+ if (d.mode != modefold) {
1571
+ cumx += d.radius2 * 2;
1572
+ }
1573
+ } else {
1574
+ cumx += d.radius2 * 2;
1575
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1576
+ }
1577
+ }
1578
+ }
1579
+ }
1580
+ }
1581
+ function set_jug(d) {
1582
+ return "translate(" + d.x + ",0)";
1583
+ }
1584
+ function set_leg_x1(d) {
1585
+ return d.x0 - d.x;
1586
+ }
1587
+ function set_leg_x2(d) {
1588
+ return d.x1 - d.x;
1589
+ }
1590
+ function set_discnum(d) {
1591
+ return d.mode == modefold ? 0 : 1;
1592
+ }
1593
+ function set_stem_y1(d) {
1594
+ if (d.mode == modefold) return d.radius;
1595
+ return d.radius2;
1596
+ }
1597
+ function set_qmg(d, tk) {
1598
+ if (d.mode == modesample)
1599
+ return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1600
+ return "translate(0,0) scale(0)";
1601
+ }
1602
+ function set_leg_y(d, tk) {
1603
+ if (d.mode == modefold) return -tk.legheight;
1604
+ return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1605
+ }
1606
+ function set_jug2(d, tk) {
1607
+ if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1608
+ if (d.mode == moderaise)
1609
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1610
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1611
+ }
1612
+ function set_stem_y2(d, tk) {
1613
+ if (d.mode == modefold) return d.radius + tk.lowpad;
1614
+ if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1615
+ return tk.maxradius + tk.padheight;
1616
+ }
1617
+ function set_all(tk) {
1618
+ const dur = 500;
1619
+ if (tk.totalsamplecount > 1) {
1620
+ tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1621
+ tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1622
+ }
1623
+ tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1624
+ tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1625
+ tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1626
+ tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1627
+ tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1628
+ }
1629
+ function junctiontype2color(tk, block) {
1630
+ for (const j of tk.data) {
1631
+ j.color = defaultcolor;
1632
+ }
1633
+ if (tk.nocatepreconfig) {
1634
+ let categories = {};
1635
+ if (tk.categories) {
1636
+ categories = tk.categories;
1637
+ }
1638
+ let hasnewtype = false;
1639
+ for (const j of tk.data) {
1640
+ if (j.type) {
1641
+ if (!categories[j.type]) {
1642
+ hasnewtype = true;
1643
+ categories[j.type] = {
1644
+ label: j.type
1645
+ };
1646
+ if (j.type.toLowerCase() == "known") {
1647
+ categories[j.type].color = "#0C72A8";
1648
+ } else if (j.type.toLowerCase() == "novel") {
1649
+ categories[j.type].color = "#A80C33";
1650
+ } else {
1651
+ categories[j.type].color = colorfunc(j.type);
1652
+ }
1653
+ }
1654
+ }
1655
+ }
1656
+ if (hasnewtype) {
1657
+ tk.categories = categories;
1658
+ if (!tk.tr_legend) {
1659
+ const [tr, td] = legend_newrow(block, tk.name);
1660
+ tk.tr_legend = tr;
1661
+ tk.td_legend = td;
1662
+ tr.style("display", "none");
1663
+ appear(tr, "table-row");
1664
+ }
1665
+ category2legend(tk.categories, tk.td_legend);
1666
+ }
1667
+ }
1668
+ if (tk.categories) {
1669
+ for (const j of tk.data) {
1670
+ if (j.type && tk.categories[j.type]) {
1671
+ j.color = tk.categories[j.type].color;
1672
+ }
1673
+ }
1674
+ }
1675
+ }
1676
+ function foldedjunctioninfo(d, tk) {
1677
+ const fontsize = 15;
1678
+ let pad = 5, y = pad, width = 0;
1679
+ const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1680
+ if (d.type) {
1681
+ 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() {
1682
+ width = this.getBBox().width;
1683
+ });
1684
+ y += fontsize;
1685
+ }
1686
+ if (d.data) {
1687
+ 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() {
1688
+ width = Math.max(width, this.getBBox().width);
1689
+ });
1690
+ y += fontsize;
1691
+ 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() {
1692
+ width = Math.max(width, this.getBBox().width);
1693
+ });
1694
+ y += fontsize;
1695
+ } else {
1696
+ 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() {
1697
+ width = Math.max(width, this.getBBox().width);
1698
+ });
1699
+ y += fontsize;
1700
+ }
1701
+ y += pad;
1702
+ bg.attr("width", pad * 2 + width).attr("height", y);
1703
+ 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);
1704
+ y += 15;
1705
+ tk.pica.g.attr(
1706
+ "transform",
1707
+ "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1708
+ );
1709
+ }
1710
+ function expandedjunctioninfo(d, tk, circle) {
1711
+ tk.tktip.clear();
1712
+ const holder = tk.tktip.d;
1713
+ if (d.type) {
1714
+ 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");
1715
+ }
1716
+ holder.append("div").html(
1717
+ bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1718
+ );
1719
+ if (d.data) {
1720
+ if (d.data.length > 1) {
1721
+ holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1722
+ if (d.rimcount) {
1723
+ holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1724
+ }
1725
+ holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1726
+ } else if (d.data.length == 1) {
1727
+ samplejunctiontooltip(d, d.data[0], tk, holder);
1728
+ }
1729
+ } else {
1730
+ holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1731
+ }
1732
+ if (d.spliceevents && d.spliceevents.length > 0) {
1733
+ const renderdiv = holder.append("div").style("margin", "10px 0px");
1734
+ displayspliceevents(d.spliceevents, renderdiv);
1735
+ }
1736
+ tk.tktip.show(circle.left + circle.width, circle.top - 50);
1737
+ }
1738
+ function junctionsamplespread(j, tk, block) {
1739
+ if (j.qmg) {
1740
+ j.qmg.remove();
1741
+ }
1742
+ if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1743
+ for (const d of j.data) {
1744
+ if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1745
+ d.color = "gray";
1746
+ continue;
1747
+ }
1748
+ const levelkeys = [];
1749
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1750
+ const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1751
+ if (levelvalue) {
1752
+ levelkeys.push(levelvalue);
1753
+ }
1754
+ }
1755
+ const str = levelkeys.join(tk.cohortsetting.levelseparator);
1756
+ d.color = tk.cohortsetting.colorfunc(str);
1757
+ }
1758
+ }
1759
+ 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();
1760
+ const jugg = select_default(j.jugg);
1761
+ j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1762
+ const opacity = 0.8;
1763
+ j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1764
+ return bee.datum.color || "green";
1765
+ }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1766
+ select_default(event.target).attr("fill-opacity", 1);
1767
+ const p = event.target.getBoundingClientRect();
1768
+ tk.tktip.clear();
1769
+ tk.tktip.show(p.left + 20, p.top - 40);
1770
+ samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1771
+ }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1772
+ if (tk.tracks) {
1773
+ return;
1774
+ }
1775
+ }).transition().attr("cx", (bee) => bee.x);
1776
+ }
1777
+ function samplejunctiontooltip(j, sample, tk, holder) {
1778
+ if (sample.sample) {
1779
+ holder.append("div").html(sample.sample);
1780
+ } else if (sample.name) {
1781
+ holder.append("div").html(sample.name);
1782
+ } else if (sample.patient || sample.sampletype) {
1783
+ if (sample.patient) {
1784
+ holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1785
+ }
1786
+ if (sample.sampletype) {
1787
+ holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1788
+ }
1789
+ } else if (sample.tkid) {
1790
+ for (const t of tk.tracks) {
1791
+ if (t.tkid == sample.tkid) {
1792
+ holder.append("div").text(t.name || "unnamed member");
1793
+ break;
1794
+ }
1795
+ }
1796
+ }
1797
+ if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1798
+ for (const lev of tk.cohortsetting.cohort.levels) {
1799
+ if (sample[lev.k]) {
1800
+ holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1801
+ }
1802
+ }
1803
+ }
1804
+ holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1805
+ if (sample.metadata) {
1806
+ holder.append("div").html(
1807
+ '<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>"
1808
+ );
1809
+ }
1810
+ if (sample.hasrim) {
1811
+ holder.append("div").text(tk.rimwhat);
1812
+ }
1813
+ if (j.spliceevents) {
1814
+ const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1815
+ const evt = j.spliceevents[evtidx];
1816
+ const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1817
+ let jbcount = 0;
1818
+ if (evt.junctionB && evt.junctionB.data) {
1819
+ for (const d of evt.junctionB.data) {
1820
+ if (d.tkid == sample.tkid) {
1821
+ jbcount = d.v;
1822
+ break;
1823
+ }
1824
+ }
1825
+ }
1826
+ let acountsum = 0;
1827
+ if (evt.junctionAlst) {
1828
+ for (const ja of evt.junctionAlst) {
1829
+ if (ja && ja.data) {
1830
+ for (const d of ja.data) {
1831
+ if (d.tkid == sample.tkid) {
1832
+ acountsum += d.v;
1833
+ break;
1834
+ }
1835
+ }
1836
+ }
1837
+ }
1838
+ }
1839
+ let percent;
1840
+ if (jbcount == 0) {
1841
+ percent = 0;
1842
+ } else {
1843
+ percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1844
+ }
1845
+ holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1846
+ }
1847
+ }
1848
+ function get_leftLabelMaxwidth(tk) {
1849
+ const collectlabw = [];
1850
+ tk.tklabel.each(function() {
1851
+ collectlabw.push(this.getBBox().width);
1852
+ });
1853
+ if (tk.label_mcount) {
1854
+ tk.label_mcount.each(function() {
1855
+ collectlabw.push(this.getBBox().width);
1856
+ });
1857
+ }
1858
+ tk.leftLabelMaxwidth = Math.max(...collectlabw);
1859
+ }
1860
+
1861
+ // src/block.tk.junction.js
1862
+ var binpxw = 5;
1863
+ var modefold = 1;
1864
+ var moderaise = 2;
1865
+ var modesample = 3;
1866
+ var labyspace = 5;
1867
+ function makeTk(tk, block) {
1868
+ tk.leftaxis = tk.gleft.append("g");
1869
+ let laby = labyspace + block.labelfontsize;
1870
+ const thistip = new Menu({ padding: "none" });
1871
+ tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1872
+ label_mcount_fillpane(tk, block, thistip);
1873
+ });
1874
+ laby += labyspace + block.labelfontsize;
1875
+ tk.totalsamplecount = 0;
1876
+ tk.height_main = 100;
1877
+ tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1878
+ if (tk.categories || tk.cohortsetting) {
1879
+ const [tr, td] = legend_newrow(block, tk.name);
1880
+ tk.tr_legend = tr;
1881
+ tk.td_legend = td;
1882
+ }
1883
+ if (tk.categories) {
1884
+ category2legend(tk.categories, tk.td_legend);
1885
+ }
1886
+ if (tk.cohortsetting) {
1887
+ tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1888
+ tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1889
+ }
1890
+ }
1891
+ function junctionload(tk, block) {
1892
+ if (tk.uninitialized) {
1893
+ makeTk(tk, block);
1894
+ delete tk.uninitialized;
1895
+ }
1896
+ if ((block.zoomedin || block.resized) && tk.data) {
1897
+ const junc = [];
1898
+ for (const i of tk.data) {
1899
+ const oldx = i.x;
1900
+ const e = j2block(i, block);
1901
+ if (e) {
1902
+ continue;
1903
+ }
1904
+ if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1905
+ i.x = oldx;
1906
+ junc.push(i);
1907
+ }
1908
+ }
1909
+ rendertk(junc, tk, block);
1910
+ return;
1911
+ }
1912
+ if (tk.fixeddata) {
1913
+ block.tkcloakon(tk);
1914
+ const junc2 = [];
1915
+ for (const j of tk.fixeddata) {
1916
+ const j2 = {
1917
+ chr: j.chr,
1918
+ start: j.start,
1919
+ stop: j.stop,
1920
+ data: j.data,
1921
+ type: j.type
1922
+ };
1923
+ const e = j2block(j2, block);
1924
+ if (e) {
1925
+ continue;
1926
+ }
1927
+ junc2.push(j2);
1928
+ }
1929
+ tk.totalsamplecount = tk.tracks[0].samplecount;
1930
+ tk.axisheight = 200;
1931
+ tk.legheight = 50;
1932
+ tk.bottompad = 0;
1933
+ tk.qmradius = 2;
1934
+ tk.lowpad = 15;
1935
+ tk.padheight = 10;
1936
+ rendertk(junc2, tk, block);
1937
+ return;
1938
+ }
1939
+ if (!tk.tracks) {
1940
+ block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1941
+ tk.height_main = 50;
1942
+ block.block_setheight();
1943
+ return;
1944
+ }
1945
+ block.block_setheight();
1946
+ block.tkcloakon(tk);
1947
+ const bincount = Math.ceil(block.width / binpxw);
1948
+ let bins = null;
1949
+ let donenum = 0;
1950
+ const tasks = [];
1951
+ const allfiledata = [];
1952
+ for (const t of tk.tracks) {
1953
+ const getheader = new Promise((resolve, reject) => {
1954
+ if (t.rnapegfile) {
1955
+ t.samplecount = 1;
1956
+ return resolve();
1957
+ }
1958
+ if (t.samplecount != void 0 && t.checkedheader) return resolve();
1959
+ const par = {};
1960
+ if (t.file) {
1961
+ par.file = t.file;
1962
+ } else {
1963
+ par.url = t.url;
1964
+ if (t.indexURL) par.indexURL = t.indexURL;
1965
+ }
1966
+ dofetch3("tabixheader", { body: par }).then((data) => {
1967
+ if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1968
+ t.checkedheader = true;
1969
+ const str = data.lines.join("");
1970
+ if (!str) {
1971
+ } else {
1972
+ const l = str.trim().split(" ");
1973
+ t.headersamples = [];
1974
+ for (let i = 5; i < l.length; i++) {
1975
+ const str2 = l[i];
1976
+ let j = null;
1977
+ if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1978
+ try {
1979
+ j = JSON.parse(str2);
1980
+ } catch (e) {
1981
+ console.error("header line field [" + i + "] is broken json: " + str2);
1982
+ }
1983
+ }
1984
+ if (j) {
1985
+ j.tkid = Math.random().toString();
1986
+ t.headersamples.push(j);
1987
+ } else {
1988
+ t.headersamples.push({
1989
+ name: l[i],
1990
+ tkid: Math.random().toString()
1991
+ });
1992
+ }
1993
+ }
1994
+ t.samplecount = t.headersamples.length;
1995
+ tk.totalsamplecount += t.samplecount;
1996
+ }
1997
+ resolve();
1998
+ });
1999
+ });
2000
+ const getdata = new Promise((resolve, reject) => {
2001
+ getheader.then(() => {
2002
+ const par = {
2003
+ genome: block.genome.name,
2004
+ rglst: block.tkarg_maygm(t)
2005
+ };
2006
+ if (bincount) par.bincount = bincount;
2007
+ if (t.file || t.rnapegfile) {
2008
+ par.file = t.file || t.rnapegfile;
2009
+ } else {
2010
+ par.url = t.url;
2011
+ if (t.indexURL) par.indexURL = t.indexURL;
2012
+ }
2013
+ if (t.rnapegfile) {
2014
+ par.isrnapeg = 1;
2015
+ }
2016
+ dofetch3("termdb/junction/onesampletk", { body: par }).then((data) => {
2017
+ donenum++;
2018
+ if (tk.tracks.length > 1) {
2019
+ block.tkprogress(tk, donenum / tk.tracks.length);
2020
+ }
2021
+ if (!data) reject("server error for getting member track " + t.name);
2022
+ if (data.error) reject("Cannot get data: " + data.error);
2023
+ if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2024
+ if (data.lst) {
2025
+ if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2026
+ t.samplecount = data.lst[0].rawdata.length;
2027
+ tk.totalsamplecount += t.samplecount;
2028
+ }
2029
+ if (bins) {
2030
+ } else {
2031
+ const thisfilejunctions = [];
2032
+ for (const k of data.lst) {
2033
+ k.data = [];
2034
+ for (let i = 0; i < k.rawdata.length; i++) {
2035
+ const v = k.rawdata[i];
2036
+ if (!Number.isInteger(v) || v <= 0) {
2037
+ continue;
2038
+ }
2039
+ const s = { v };
2040
+ if (t.headersamples) {
2041
+ const s0 = t.headersamples[i];
2042
+ if (s0) {
2043
+ for (const _k in s0) {
2044
+ s[_k] = s0[_k];
2045
+ }
2046
+ }
2047
+ } else {
2048
+ if (t.name) s.name = t.name;
2049
+ if (t.sample) s.sample = t.sample;
2050
+ if (t.patient) s.patient = t.patient;
2051
+ if (t.sampeltype) s.sampletype = t.sampletype;
2052
+ if (t.tkid) s.tkid = t.tkid;
2053
+ if (t.file) s.file = t.file;
2054
+ if (t.url) s.url = t.url;
2055
+ if (t.indexURL) s.indexURL = t.indexURL;
2056
+ }
2057
+ k.data.push(s);
2058
+ }
2059
+ delete k.rawdata;
2060
+ thisfilejunctions.push(k);
2061
+ }
2062
+ resolve(thisfilejunctions);
2063
+ }
2064
+ } else {
2065
+ }
2066
+ });
2067
+ }).catch((err) => reject(err));
2068
+ });
2069
+ tasks.push(getdata);
2070
+ }
2071
+ Promise.all(tasks).then((data) => {
2072
+ const junc = [];
2073
+ data.forEach((dat) => {
2074
+ if (!dat) return;
2075
+ dat.forEach((k) => {
2076
+ let notfound = true;
2077
+ for (const j of junc) {
2078
+ if (j.start == k.start && j.stop == k.stop) {
2079
+ j.data = j.data.concat(k.data);
2080
+ notfound = false;
2081
+ break;
2082
+ }
2083
+ }
2084
+ if (notfound) {
2085
+ junc.push(k);
2086
+ }
2087
+ });
2088
+ });
2089
+ for (const j of junc) {
2090
+ j2block(j, block);
2091
+ }
2092
+ for (const j of junc) {
2093
+ smuggleattributes(j);
2094
+ }
2095
+ if (!tk.axisheight) {
2096
+ if (tk.totalsamplecount > 1) {
2097
+ tk.axisheight = 200;
2098
+ tk.legheight = 50;
2099
+ tk.bottompad = 0;
2100
+ tk.qmradius = 2;
2101
+ tk.lowpad = 15;
2102
+ tk.padheight = 10;
2103
+ } else {
2104
+ tk.axisheight = 100;
2105
+ tk.legheight = 20;
2106
+ tk.bottompad = 0;
2107
+ tk.lowpad = 10;
2108
+ tk.padheight = 10;
2109
+ }
2110
+ if (tk.cohortsetting) {
2111
+ initcohortsetting(tk, block);
2112
+ }
2113
+ }
2114
+ rendertk(junc, tk, block);
2115
+ }).catch((err) => {
2116
+ tk.glider.selectAll("*").remove();
2117
+ block.tkcloakoff(tk, { error: err });
2118
+ block.block_setheight();
2119
+ });
2120
+ }
2121
+ function j2block(j, block) {
2122
+ const starthit = block.seekcoord(j.chr, j.start)[0];
2123
+ if (!starthit) {
2124
+ return true;
2125
+ }
2126
+ const stophit = block.seekcoord(j.chr, j.stop)[0];
2127
+ if (!stophit) {
2128
+ return true;
2129
+ }
2130
+ const startout = starthit.x < 0 || starthit.x > block.width;
2131
+ const stopout = stophit.x < 0 || stophit.x > block.width;
2132
+ if (startout && stopout) {
2133
+ return true;
2134
+ }
2135
+ j.x0 = starthit.x;
2136
+ j.x1 = stophit.x;
2137
+ j.x = (j.x0 + j.x1) / 2;
2138
+ j._x = j.x;
2139
+ if (!j.modefix) {
2140
+ j.mode = moderaise;
2141
+ }
2142
+ return false;
2143
+ }
2144
+ function smuggleattributes(j) {
2145
+ }
2146
+ function label_mcount_fillpane(tk, block, tip) {
2147
+ tip.clear();
2148
+ const holder = tip.d;
2149
+ const types = /* @__PURE__ */ new Map();
2150
+ for (const j of tk.data) {
2151
+ if (!j.type) continue;
2152
+ if (!types.has(j.type)) {
2153
+ types.set(j.type, []);
2154
+ }
2155
+ if (j.data) {
2156
+ types.get(j.type).push(j.data.map((i) => i.v));
2157
+ } else {
2158
+ types.get(j.type).push(j.v);
2159
+ }
2160
+ }
2161
+ if (types.size) {
2162
+ const d = holder.append("div").style("margin", "8px");
2163
+ for (const [type, valuelst] of types) {
2164
+ d.append("div").style("margin", "2px").html(
2165
+ valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2166
+ );
2167
+ let vlst = valuelst;
2168
+ if (tk.tracks) {
2169
+ vlst = [];
2170
+ for (const l of valuelst) {
2171
+ vlst.push(...l);
2172
+ }
2173
+ }
2174
+ if (vlst.length == 1) {
2175
+ } else {
2176
+ d.append("table").style("margin-left", "20px").html(
2177
+ '<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>'
2178
+ );
2179
+ }
2180
+ }
2181
+ } else {
2182
+ let vlst = [];
2183
+ if (tk.tracks) {
2184
+ for (const j of tk.data) {
2185
+ vlst.push(...j.data.map((i) => i.v));
2186
+ }
2187
+ } else {
2188
+ vlst = tk.data.map((j) => j.v);
2189
+ }
2190
+ if (vlst.length > 1) {
2191
+ holder.append("table").html(
2192
+ '<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>'
2193
+ );
2194
+ }
2195
+ }
2196
+ holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2197
+ tip.hide();
2198
+ for (const j of tk.data) {
2199
+ j.mode = modefold;
2200
+ j.modefix = true;
2201
+ }
2202
+ horiplace(tk.data, block.width, tk);
2203
+ });
2204
+ holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2205
+ tip.hide();
2206
+ for (const j of tk.data) {
2207
+ j.modefix = false;
2208
+ }
2209
+ automode(tk, null, block.width);
2210
+ for (const j of tk.data) {
2211
+ j.modefix = true;
2212
+ }
2213
+ horiplace(tk.data, block.width, tk);
2214
+ });
2215
+ holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2216
+ tip.hide();
2217
+ downloadjunctions(tk);
2218
+ });
2219
+ tip.showunder(tk.label_mcount.node());
2220
+ }
2221
+ function downloadjunctions(tk) {
2222
+ const txt = [];
2223
+ if (tk.file || tk.url) {
2224
+ if (tk.data) {
2225
+ txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2226
+ for (const j of tk.data) {
2227
+ txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2228
+ }
2229
+ }
2230
+ } else if (tk.tracks) {
2231
+ if (tk.data) {
2232
+ const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2233
+ for (const t of tk.tracks) {
2234
+ const lst = [];
2235
+ if (t.patient) lst.push(t.patient);
2236
+ if (t.sampletype) lst.push(t.sampletype);
2237
+ if (lst.length == 0) {
2238
+ lst.push(t.name);
2239
+ }
2240
+ header.push(lst.join(", "));
2241
+ }
2242
+ txt.push(header.join(" "));
2243
+ for (const j of tk.data) {
2244
+ const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2245
+ const hash = /* @__PURE__ */ new Map();
2246
+ for (const jsample of j.data) {
2247
+ hash.set(jsample.tkid, jsample.v);
2248
+ }
2249
+ for (const t of tk.tracks) {
2250
+ lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2251
+ }
2252
+ txt.push(lst.join(" "));
2253
+ }
2254
+ }
2255
+ }
2256
+ export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2257
+ }
2258
+ function configpanel(tk, block) {
2259
+ tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2260
+ const holder = tk.tkconfigtip.d;
2261
+ {
2262
+ const row = holder.append("div").style("margin-bottom", "10px");
2263
+ row.append("span").html("Read count cutoff&nbsp;");
2264
+ row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2265
+ if (!keyupEnter(event)) return;
2266
+ const v = Number.parseFloat(event.target.value);
2267
+ if (v == 0) {
2268
+ if (tk.readcountcutoff) {
2269
+ tk.readcountcutoff = 0;
2270
+ junctionload(tk, block);
2271
+ } else {
2272
+ }
2273
+ return;
2274
+ }
2275
+ if (!v || v < 0) {
2276
+ return;
2277
+ }
2278
+ if (tk.readcountcutoff) {
2279
+ if (tk.readcountcutoff == v) {
2280
+ } else if (tk.readcountcutoff > v) {
2281
+ tk.readcountcutoff = v;
2282
+ junctionload(tk, block);
2283
+ } else {
2284
+ tk.readcountcutoff = v;
2285
+ rendertk(tk.data, tk, block);
2286
+ }
2287
+ } else {
2288
+ tk.readcountcutoff = v;
2289
+ junctionload(tk, block);
2290
+ }
2291
+ });
2292
+ const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2293
+ if (tk.totalsamplecount > 1) {
2294
+ note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2295
+ } else {
2296
+ note.text("Junctions with read count lower than cutoff will not be shown.");
2297
+ }
2298
+ }
2299
+ }
2300
+ function initcohortsetting(tk, block) {
2301
+ if (!tk.cohortsetting.cohort) {
2302
+ sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2303
+ return;
2304
+ }
2305
+ if (!tk.cohortsetting.cohort.levels) {
2306
+ sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2307
+ return;
2308
+ }
2309
+ if (!tk.cohortsetting.cohort.levels[0]) {
2310
+ sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2311
+ return;
2312
+ }
2313
+ tk.cohortsetting.levelseperator = ".";
2314
+ tk.cohortsetting.uselevelidx = 0;
2315
+ setcohortlegend_usecohortlevel(tk, block);
2316
+ }
2317
+ function setcohortlegend_usecohortlevel(tk, block) {
2318
+ tk.cohortsetting.legendholder.selectAll("*").remove();
2319
+ tk.cohortsetting.colorfunc = ordinal(category10_default);
2320
+ const stratkey2count = /* @__PURE__ */ new Map();
2321
+ for (const t of tk.tracks) {
2322
+ for (const s of t.headersamples) {
2323
+ if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2324
+ continue;
2325
+ }
2326
+ const thissamplekeys = [];
2327
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2328
+ const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2329
+ if (thislevelkey) {
2330
+ thissamplekeys.push(thislevelkey);
2331
+ }
2332
+ }
2333
+ const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2334
+ if (!stratkey2count.has(str)) {
2335
+ stratkey2count.set(str, {
2336
+ count: 0,
2337
+ label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2338
+ });
2339
+ }
2340
+ stratkey2count.get(str).count++;
2341
+ }
2342
+ }
2343
+ const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2344
+ for (const item of sorteditems) {
2345
+ const color = tk.cohortsetting.colorfunc(item[0]);
2346
+ const label = item[1].label;
2347
+ const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2348
+ row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2349
+ row.append("div").style("display", "inline-block").text(label);
2350
+ }
2351
+ }
2352
+ export {
2353
+ junctionload,
2354
+ modefold,
2355
+ moderaise,
2356
+ modesample
2357
+ };
2358
+ //# sourceMappingURL=block.tk.junction-OXB22PDS.js.map