@sjcrh/proteinpaint-client 2.185.0 → 2.186.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 (848) hide show
  1. package/dist/2dmaf-F5QNP7AQ.js +1371 -0
  2. package/dist/AIProjectAdmin-ROSQHK6Q.js +827 -0
  3. package/dist/AIProjectAdmin-ROSQHK6Q.js.map +7 -0
  4. package/dist/AppHeader-STVCDLET.js +833 -0
  5. package/dist/BoxPlot-CU7MEBH7.js +1217 -0
  6. package/dist/CorrelationVolcano-OE4R2GS3.js +617 -0
  7. package/dist/DE-SR7PJPKI.js +93 -0
  8. package/dist/DEinput-PRIAIBFH.js +299 -0
  9. package/dist/DEinput-PRIAIBFH.js.map +7 -0
  10. package/dist/DifferentialAnalysis-UWTYK7NU.js +241 -0
  11. package/dist/Disco-IL6REGSA.js +3235 -0
  12. package/dist/Disco.UI-JHHLS5BA.js +242 -0
  13. package/dist/DmrPlot-DDP53T3F.js +640 -0
  14. package/dist/GB-F4LMYMHF.js +1127 -0
  15. package/dist/GB-F4LMYMHF.js.map +7 -0
  16. package/dist/GeneExpInput-ZWBC226P.js +363 -0
  17. package/dist/GeneExpInput-ZWBC226P.js.map +7 -0
  18. package/dist/HicApp-RVFHTYED.js +2248 -0
  19. package/dist/NumBinaryEditor-B3FXQAOH.js +268 -0
  20. package/dist/NumBinaryEditor.unit.spec-75YQJ2U6.js +284 -0
  21. package/dist/NumContEditor-5PYW3OLY.js +105 -0
  22. package/dist/NumContEditor.unit.spec-F7ZRDGBN.js +167 -0
  23. package/dist/NumCustomBinEditor-TBT6GLYQ.js +36 -0
  24. package/dist/NumCustomBinEditor.unit.spec-6YHU45XV.js +282 -0
  25. package/dist/NumDiscreteEditor-N6OJYSJA.js +177 -0
  26. package/dist/NumDiscreteEditor.unit.spec-HQS5RZ6R.js +200 -0
  27. package/dist/NumRegularBinEditor-HSDDKVNG.js +36 -0
  28. package/dist/NumRegularBinEditor.unit.spec-33KN2MVM.js +225 -0
  29. package/dist/NumSplineEditor-XERKOACS.js +190 -0
  30. package/dist/NumSplineEditor.unit.spec-MPVM6KSC.js +197 -0
  31. package/dist/NumericDensity-35EKYW3V.js +36 -0
  32. package/dist/NumericDensity.unit.spec-OR24PPRJ.js +219 -0
  33. package/dist/NumericHandler-D6ZNGRE3.js +37 -0
  34. package/dist/NumericHandler.unit.spec-EKPGVSXI.js +217 -0
  35. package/dist/RunChart2-7DOXOFXV.js +756 -0
  36. package/dist/SC-APZRV4H6.js +826 -0
  37. package/dist/SC-APZRV4H6.js.map +7 -0
  38. package/dist/Volcano-X4ZWK644.js +1344 -0
  39. package/dist/Volcano-X4ZWK644.js.map +7 -0
  40. package/dist/WSIViewer-E247ELKN.js +47971 -0
  41. package/dist/WsiSamplesPlot-3522VRB5.js +163 -0
  42. package/dist/adSandbox-IDFY5P2P.js +36 -0
  43. package/dist/alphaGenome-F3W7GJQ5.js +173 -0
  44. package/dist/app-2HDSFMRM.js +47 -0
  45. package/dist/app-LIWPFL7C.js +35 -0
  46. package/dist/app.js +10 -10
  47. package/dist/bam-TBHHSATL.js +857 -0
  48. package/dist/barchart-HHFCBOZE.js +45 -0
  49. package/dist/barchart.events-UQUSSRXB.js +45 -0
  50. package/dist/barchart.integration.spec-OF3MWFQ5.js +1675 -0
  51. package/dist/barchart2-XRMPCBBU.js +309 -0
  52. package/dist/block-5UEORHFB.js +6200 -0
  53. package/dist/block.init-QSSFUVIT.js +36 -0
  54. package/dist/block.mds.expressionrank-VBIIJHQF.js +357 -0
  55. package/dist/block.mds.geneboxplot-KSBHXBNX.js +826 -0
  56. package/dist/block.mds.junction-FWZWMZJ2.js +1543 -0
  57. package/dist/block.mds.svcnv-UXORVLH2.js +6799 -0
  58. package/dist/block.svg-6KIGW4QH.js +162 -0
  59. package/dist/block.tk.aicheck-DK566Q4C.js +281 -0
  60. package/dist/block.tk.ase-2GB2VJJ6.js +363 -0
  61. package/dist/block.tk.bam-RQNOLY52.js +1904 -0
  62. package/dist/block.tk.bedgraphdot-N4YMZFO4.js +382 -0
  63. package/dist/block.tk.bigwig.ui-4S7L7D7D.js +209 -0
  64. package/dist/block.tk.hicstraw-AHFNQKCS.js +821 -0
  65. package/dist/block.tk.junction-7E6SNQMQ.js +2362 -0
  66. package/dist/block.tk.junction.textmatrixui-3C5JVYX5.js +197 -0
  67. package/dist/block.tk.ld-TOUCLT3W.js +97 -0
  68. package/dist/block.tk.menu-JCV5ORD6.js +1027 -0
  69. package/dist/block.tk.pgv-CUU22U6M.js +942 -0
  70. package/dist/brainImaging-MTQTXNNL.js +421 -0
  71. package/dist/chunk-2UYBBUXK.js +293 -0
  72. package/dist/chunk-2VPEFXEJ.js +4207 -0
  73. package/dist/chunk-2YC6ZVE4.js +20377 -0
  74. package/dist/chunk-2YC6ZVE4.js.map +7 -0
  75. package/dist/chunk-37MD3Y5G.js +1230 -0
  76. package/dist/chunk-37MD3Y5G.js.map +7 -0
  77. package/dist/chunk-3QHIL3V3.js +55 -0
  78. package/dist/chunk-44VXWKYJ.js +129 -0
  79. package/dist/chunk-52D6EGUS.js +95 -0
  80. package/dist/chunk-5FHM3L4I.js +102 -0
  81. package/dist/chunk-62TF2MCH.js +142 -0
  82. package/dist/chunk-67QM2NUK.js +6364 -0
  83. package/dist/chunk-6AAPHEWK.js +676 -0
  84. package/dist/chunk-6KPGMUHS.js +153 -0
  85. package/dist/chunk-6WBIZXNI.js +455 -0
  86. package/dist/chunk-7AAJVXEG.js +302 -0
  87. package/dist/chunk-AFJRAR4N.js +1271 -0
  88. package/dist/chunk-BBNO6JLO.js +200 -0
  89. package/dist/chunk-BBNO6JLO.js.map +7 -0
  90. package/dist/chunk-CVRYZMDE.js +148 -0
  91. package/dist/chunk-DGUTCYH2.js +276 -0
  92. package/dist/chunk-DHNXATHC.js +158 -0
  93. package/dist/chunk-DXHATYHE.js +180 -0
  94. package/dist/chunk-DXHATYHE.js.map +7 -0
  95. package/dist/chunk-E3BI23UK.js +229 -0
  96. package/dist/chunk-E4JDHA3C.js +621 -0
  97. package/dist/chunk-FOJWYEGV.js +228 -0
  98. package/dist/chunk-FTN7Y34O.js +158 -0
  99. package/dist/chunk-GAOUV4ID.js +1943 -0
  100. package/dist/chunk-GAOUV4ID.js.map +7 -0
  101. package/dist/chunk-GRG5MMPN.js +2815 -0
  102. package/dist/chunk-GSU4PZN3.js +482 -0
  103. package/dist/chunk-I55NLUCQ.js +1823 -0
  104. package/dist/chunk-I55NLUCQ.js.map +7 -0
  105. package/dist/chunk-IIRU2JLK.js +217 -0
  106. package/dist/chunk-JCB74ZSK.js +272 -0
  107. package/dist/chunk-JUDWPYMA.js +824 -0
  108. package/dist/chunk-KT6VZBC7.js +1087 -0
  109. package/dist/chunk-L2HBHFTK.js +2370 -0
  110. package/dist/chunk-LKADRF3Q.js +368 -0
  111. package/dist/chunk-MAXFRUGM.js +407 -0
  112. package/dist/chunk-MQN7RYCK.js +37 -0
  113. package/dist/chunk-OEUI4CYZ.js +470 -0
  114. package/dist/chunk-OM36XUQL.js +34 -0
  115. package/dist/chunk-P5LNIH5X.js +54 -0
  116. package/dist/chunk-PG62PRMF.js +102 -0
  117. package/dist/chunk-Q3J3F2NU.js +205 -0
  118. package/dist/chunk-RYCOJY7M.js +188 -0
  119. package/dist/chunk-RYCOJY7M.js.map +7 -0
  120. package/dist/chunk-RZBV6474.js +117 -0
  121. package/dist/chunk-T5V4OC27.js +442 -0
  122. package/dist/chunk-TXJG4N6S.js +4992 -0
  123. package/dist/chunk-TXJG4N6S.js.map +7 -0
  124. package/dist/chunk-UCKSUNSJ.js +335 -0
  125. package/dist/chunk-W4TLYHZO.js +514 -0
  126. package/dist/chunk-WPZUXKIB.js +56 -0
  127. package/dist/chunk-XM47XD6G.js +215 -0
  128. package/dist/chunk-XVA3UOWD.js +263 -0
  129. package/dist/chunk-XVA3UOWD.js.map +7 -0
  130. package/dist/chunk-YIMRBXQK.js +1210 -0
  131. package/dist/chunk-YIMRBXQK.js.map +7 -0
  132. package/dist/chunk-YL7VT4QT.js +1159 -0
  133. package/dist/chunk-YL7VT4QT.js.map +7 -0
  134. package/dist/chunk-YWBUK4B7.js +291 -0
  135. package/dist/chunk-YWBUK4B7.js.map +7 -0
  136. package/dist/chunk-YZHGLSKQ.js +50 -0
  137. package/dist/chunk-ZGOOZK3I.js +203 -0
  138. package/dist/chunk-ZH2VP6Q6.js +95 -0
  139. package/dist/chunk-ZLOQXO5K.js +14 -0
  140. package/dist/chunk-ZMNDBPJU.js +100 -0
  141. package/dist/chunk-ZRTW6X3F.js +2784 -0
  142. package/dist/chunk-ZTT52MBP.js +2681 -0
  143. package/dist/condition-VUACUQYF.js +330 -0
  144. package/dist/controls-N4MPSNO4.js +39 -0
  145. package/dist/controls.config-PRXVODCM.js +37 -0
  146. package/dist/correlation-QJZUYDFH.js +96 -0
  147. package/dist/cuminc-JJHXW55V.js +1147 -0
  148. package/dist/cuminc.integration.spec-IXS2UO2O.js +676 -0
  149. package/dist/customdata.inputui-DUHO6M6I.js +287 -0
  150. package/dist/dataDownload-OFB7TYDB.js +328 -0
  151. package/dist/dataDownload.integration.spec-4HWDQO4C.js +191 -0
  152. package/dist/databrowser.ui-FGZ5SWG3.js +430 -0
  153. package/dist/databrowser.ui-FGZ5SWG3.js.map +7 -0
  154. package/dist/dictionary-BSKN37CP.js +109 -0
  155. package/dist/dnaMethylation-5QNEEGC6.js +36 -0
  156. package/dist/dnaMethylation.integration.spec-YIX3JSA7.js +201 -0
  157. package/dist/dofetch-KFMGQY7G.js +50 -0
  158. package/dist/e2pca-VX42HDYZ.js +348 -0
  159. package/dist/ep-B6ZNETLI.js +1254 -0
  160. package/dist/expclust.gdc.spec-SGECIILQ.js +305 -0
  161. package/dist/facet-2W5SBPGP.js +519 -0
  162. package/dist/gb-67KTSE2W.js +86 -0
  163. package/dist/gb-67KTSE2W.js.map +7 -0
  164. package/dist/geneExpClustering-6A7364T5.js +247 -0
  165. package/dist/geneExpression-NAM2UEYN.js +36 -0
  166. package/dist/geneExpression-WF56ODMZ.js +312 -0
  167. package/dist/geneExpression.unit.spec-DNE2T3WI.js +100 -0
  168. package/dist/geneORA-33FK2YOS.js +276 -0
  169. package/dist/geneVariant-C7PCNBOQ.js +37 -0
  170. package/dist/geneVariant-REELFRRA.js +39 -0
  171. package/dist/geneVariant.integration.spec-GNXUGDKL.js +196 -0
  172. package/dist/genefusion.ui-WO5EPJDS.js +306 -0
  173. package/dist/geneset-4C6ZLVMN.js +201 -0
  174. package/dist/geneset-4C6ZLVMN.js.map +7 -0
  175. package/dist/genomeBrowser.spec-VPAKTUJF.js +279 -0
  176. package/dist/grin2-AJFEBD43.js +852 -0
  177. package/dist/grin2-AJFEBD43.js.map +7 -0
  178. package/dist/grin2-GYHUYNEF.js +1554 -0
  179. package/dist/gsea-PE5WZ5ZI.js +45 -0
  180. package/dist/hierCluster-FH6YJHRT.js +61 -0
  181. package/dist/hierCluster-IFM5I5QN.js +57 -0
  182. package/dist/hierCluster.config-M57ZIWMB.js +38 -0
  183. package/dist/hierCluster.integration.spec-Z64RL7MC.js +393 -0
  184. package/dist/hierCluster.interactivity-CDBAJXOY.js +52 -0
  185. package/dist/imagePlot-NFEE6IGV.js +161 -0
  186. package/dist/imagePlot-NFEE6IGV.js.map +7 -0
  187. package/dist/importPlot-OWKXSK77.js +8 -0
  188. package/dist/isoformExpression-66XLJG73.js +38 -0
  189. package/dist/isoformExpression.unit.spec-QJX2IRHL.js +206 -0
  190. package/dist/launch.adhoc-JCWID253.js +40 -0
  191. package/dist/leftlabel.sample-5NZ6VQDN.js +257 -0
  192. package/dist/lollipop-BPFDEM2R.js +169 -0
  193. package/dist/lollipop-BPFDEM2R.js.map +7 -0
  194. package/dist/maf-HIS2FQXK.js +450 -0
  195. package/dist/maftimeline-UPJJQE23.js +591 -0
  196. package/dist/matrix-62CN2KXR.js +56 -0
  197. package/dist/matrix-SPEDEB3J.js +61 -0
  198. package/dist/matrix.config-XB6WFXUY.js +39 -0
  199. package/dist/matrix.integration.spec-NN7OR5XM.js +3070 -0
  200. package/dist/matrix.interactivity-OWMHUJCX.js +40 -0
  201. package/dist/matrix.layout-27QB6MWK.js +42 -0
  202. package/dist/matrix.renderers-EPXES5E4.js +36 -0
  203. package/dist/matrix.sort.unit.spec-NBT5FSZ6.js +470 -0
  204. package/dist/matrix.sorterUi.unit.spec-QKGUE4RR.js +340 -0
  205. package/dist/mavb-M7Y74OWQ.js +730 -0
  206. package/dist/mds.fimo-WCDFA7HG.js +516 -0
  207. package/dist/mds.samplescatterplot-ZDHQ3MKJ.js +1548 -0
  208. package/dist/mds.survivalplot-R74DL2RA.js +481 -0
  209. package/dist/oncomatrix-MOITJBII.js +293 -0
  210. package/dist/oncomatrix.spec-NALJBPYS.js +446 -0
  211. package/dist/plot.2dvaf-IE2EZEFA.js +375 -0
  212. package/dist/plot.app-HTW6TZEH.js +39 -0
  213. package/dist/plot.barplot-NCQEPEOY.js +100 -0
  214. package/dist/plot.boxplot-WNKVBVJJ.js +150 -0
  215. package/dist/plot.brainImaging-2Z3TOO6J.js +51 -0
  216. package/dist/plot.disco-4JAEIAYK.js +101 -0
  217. package/dist/plot.dzi-ZGLOVJJN.js +33 -0
  218. package/dist/plot.ssgq-IHUILM43.js +137 -0
  219. package/dist/plot.vaf2cov-ZYCQMD27.js +257 -0
  220. package/dist/plot.wsi-3GISVBDH.js +36 -0
  221. package/dist/polar-4AUAZHBV.js +184 -0
  222. package/dist/polar2-SRD4WWXU.js +226 -0
  223. package/dist/profile.spec-TOITKBBZ.js +78 -0
  224. package/dist/profileBarchart-Z4SYIYBE.js +265 -0
  225. package/dist/profileForms-RA7XQ2QT.js +438 -0
  226. package/dist/profilePlot-4BM3XZVK.js +52 -0
  227. package/dist/profileRadar-EYBESEPI.js +261 -0
  228. package/dist/profileRadarFacility-FZYTFM26.js +261 -0
  229. package/dist/proteinView-F6XKT2A5.js +1122 -0
  230. package/dist/proteinView-F6XKT2A5.js.map +7 -0
  231. package/dist/proteomeAbundance-3RJMRXYI.js +68 -0
  232. package/dist/proteomeAbundance-3RJMRXYI.js.map +7 -0
  233. package/dist/proteomeAbundance-65R6M4YQ.js +21 -0
  234. package/dist/qualitative-E7WL6DN4.js +41 -0
  235. package/dist/radar2-I6FN5SUX.js +314 -0
  236. package/dist/radarFacility2-GVK7PT3V.js +323 -0
  237. package/dist/regression-TIR5D354.js +54 -0
  238. package/dist/regression.inputs-2AMJCJ3L.js +46 -0
  239. package/dist/regression.inputs.term-D6D2QEUB.js +46 -0
  240. package/dist/regression.inputs.values.table-M3IPLGDJ.js +43 -0
  241. package/dist/regression.integration.spec-ROUSXLMH.js +782 -0
  242. package/dist/regression.results-YD5S74YS.js +38 -0
  243. package/dist/regression.spec-4OXBBTNO.js +706 -0
  244. package/dist/report-ETNALKTY.js +220 -0
  245. package/dist/sampleScatter.spec-LECMFMI2.js +200 -0
  246. package/dist/sampleView-B5TM7JOW.js +46 -0
  247. package/dist/samplelst-GFQCG4SS.js +109 -0
  248. package/dist/samplematrix-OMTNWCJK.js +2196 -0
  249. package/dist/sc-MIEEZBWG.js +84 -0
  250. package/dist/scatter-ETOZ722F.js +800 -0
  251. package/dist/scatter.integration.spec-TS4PNRLX.js +1194 -0
  252. package/dist/selectGenomeWithTklst-Y5QIM2JB.js +132 -0
  253. package/dist/singleCellCellType-HOJHZF5W.js +36 -0
  254. package/dist/singleCellCellType.unit.spec-MH5V3RPX.js +158 -0
  255. package/dist/singleCellGeneExpression-YVQ5TIKN.js +36 -0
  256. package/dist/singleCellGeneExpression.unit.spec-BMFFT5HO.js +151 -0
  257. package/dist/singleCellPlot-3YFUYA2Y.js +51 -0
  258. package/dist/singlecell-FK5JETW5.js +1570 -0
  259. package/dist/singlecell-RL7V7DIC.js +84 -0
  260. package/dist/snp-FT7HB3XN.js +36 -0
  261. package/dist/snp.unit.spec-CLYVYPPG.js +174 -0
  262. package/dist/snplocus-M5SEQGAC.js +206 -0
  263. package/dist/spliceevent.a53ss.diagram-EJ5CTRCZ.js +149 -0
  264. package/dist/spliceevent.exonskip.diagram-ETXMOHZ3.js +275 -0
  265. package/dist/spliceevent.noeventdiagram-S2O4ZM2Z.js +458 -0
  266. package/dist/ssGSEA-6PMDQDTJ.js +36 -0
  267. package/dist/ssGSEA.unit.spec-JD5T4R2N.js +86 -0
  268. package/dist/summarizeCnvGeneexp-GCHNKTIU.js +161 -0
  269. package/dist/summarizeGeneexpSurvival-R2RYQZ3M.js +106 -0
  270. package/dist/summarizeMutationCnv-LB2BIYRL.js +162 -0
  271. package/dist/summarizeMutationDiagnosis-3JUY75LM.js +38 -0
  272. package/dist/summarizeMutationSurvival-VYLRWTCF.js +97 -0
  273. package/dist/summary-2QQ72IEQ.js +47 -0
  274. package/dist/summary.integration.spec-XXU362UQ.js +412 -0
  275. package/dist/summaryInput-OZHZG3PV.js +233 -0
  276. package/dist/sunburst-CMCJCANX.js +282 -0
  277. package/dist/survival-EBD4DHO7.js +44 -0
  278. package/dist/survival-ISLRRPKU.js +56 -0
  279. package/dist/survival.integration.spec-FS7V4OXK.js +800 -0
  280. package/dist/svgraph-KGLNUM7W.js +1385 -0
  281. package/dist/svmr-NXZ5VLKH.js +3840 -0
  282. package/dist/table-ISOQOI6C.js +198 -0
  283. package/dist/termCollection-7ZSU3I45.js +36 -0
  284. package/dist/termCollection-V2A5BDQB.js +177 -0
  285. package/dist/termCollection.unit.spec-6VLCJGOU.js +206 -0
  286. package/dist/tk-6AB6XYIE.js +44 -0
  287. package/dist/tp.ui-2O4UW5N7.js +1457 -0
  288. package/dist/tvs.dt-CY6TOQVB.js +37 -0
  289. package/dist/tvs.dtcnv.categorical-AYQ432TW.js +38 -0
  290. package/dist/tvs.dtcnv.continuous-XVDL6SG3.js +70 -0
  291. package/dist/tvs.dtfusion-V3AV7A6Q.js +38 -0
  292. package/dist/tvs.dtsnvindel-XM3NXIT7.js +38 -0
  293. package/dist/tvs.dtsv-Z2GYRINW.js +38 -0
  294. package/dist/tvs.samplelst-C4FB63G7.js +102 -0
  295. package/dist/tvs.termCollection-VHTSC2ST.js +157 -0
  296. package/dist/violin-KGGTUQFF.js +44 -0
  297. package/dist/violin.integration.spec-5EW6PLJX.js +1423 -0
  298. package/dist/violin.interactivity-RI4RURGO.js +36 -0
  299. package/dist/violin.renderer-EWU2IFZE.js +38 -0
  300. package/dist/vocabulary-VLIGC7OP.js +39 -0
  301. package/package.json +3 -3
  302. package/src/databrowser/dictionary.parse.js +14 -2
  303. package/dist/2dmaf-X7LATQT7.js +0 -1371
  304. package/dist/AIProjectAdmin-GUBKURGO.js +0 -830
  305. package/dist/AIProjectAdmin-GUBKURGO.js.map +0 -7
  306. package/dist/AppHeader-RDOFP322.js +0 -833
  307. package/dist/BoxPlot-AZF2EMGQ.js +0 -1217
  308. package/dist/CorrelationVolcano-VXW35SXU.js +0 -617
  309. package/dist/DE-NLGMZ44O.js +0 -93
  310. package/dist/DEinput-OJ7P4UMP.js +0 -297
  311. package/dist/DEinput-OJ7P4UMP.js.map +0 -7
  312. package/dist/DifferentialAnalysis-G75VUHDI.js +0 -241
  313. package/dist/Disco-DX4S44SI.js +0 -3235
  314. package/dist/Disco.UI-5FYIACCU.js +0 -242
  315. package/dist/DmrPlot-HWYITHK2.js +0 -640
  316. package/dist/GB-DBTMRVYH.js +0 -1125
  317. package/dist/GB-DBTMRVYH.js.map +0 -7
  318. package/dist/GeneExpInput-DWB7OYT2.js +0 -335
  319. package/dist/GeneExpInput-DWB7OYT2.js.map +0 -7
  320. package/dist/HicApp-XPZVZXB7.js +0 -2248
  321. package/dist/NumBinaryEditor-M6MJYIHK.js +0 -268
  322. package/dist/NumBinaryEditor.unit.spec-W6MMYDAW.js +0 -284
  323. package/dist/NumContEditor-YRVENTS5.js +0 -105
  324. package/dist/NumContEditor.unit.spec-A6OH4TI7.js +0 -167
  325. package/dist/NumCustomBinEditor-BLBOYSCQ.js +0 -36
  326. package/dist/NumCustomBinEditor.unit.spec-55V5CKLB.js +0 -282
  327. package/dist/NumDiscreteEditor-DTRM6VL2.js +0 -177
  328. package/dist/NumDiscreteEditor.unit.spec-YMB6QRER.js +0 -200
  329. package/dist/NumRegularBinEditor-XW4SVA7S.js +0 -36
  330. package/dist/NumRegularBinEditor.unit.spec-VAHC3VOD.js +0 -225
  331. package/dist/NumSplineEditor-H22HTRFR.js +0 -190
  332. package/dist/NumSplineEditor.unit.spec-4JUADXZR.js +0 -197
  333. package/dist/NumericDensity-ECSZCQRX.js +0 -36
  334. package/dist/NumericDensity.unit.spec-SXXCXM4X.js +0 -219
  335. package/dist/NumericHandler-CMBN3FZX.js +0 -37
  336. package/dist/NumericHandler.unit.spec-UYTJG2Z2.js +0 -217
  337. package/dist/RunChart2-MVFWLXZX.js +0 -756
  338. package/dist/SC-BRC3J2O4.js +0 -797
  339. package/dist/SC-BRC3J2O4.js.map +0 -7
  340. package/dist/Volcano-WMNFZSX2.js +0 -1234
  341. package/dist/Volcano-WMNFZSX2.js.map +0 -7
  342. package/dist/WSIViewer-2Z636FMA.js +0 -47971
  343. package/dist/WsiSamplesPlot-LN75PND3.js +0 -163
  344. package/dist/adSandbox-AJ7QUDOI.js +0 -36
  345. package/dist/alphaGenome-PVCRXAQK.js +0 -173
  346. package/dist/app-DWYCAFRP.js +0 -47
  347. package/dist/app-RENXV7VR.js +0 -35
  348. package/dist/bam-5G6IT6OX.js +0 -857
  349. package/dist/barchart-MLCCU6SU.js +0 -45
  350. package/dist/barchart.events-B6HQTLK2.js +0 -45
  351. package/dist/barchart.integration.spec-S43A7C7N.js +0 -1675
  352. package/dist/barchart2-QMKEN6MN.js +0 -309
  353. package/dist/block-IGBB4BJH.js +0 -6200
  354. package/dist/block.init-NLCYAKV4.js +0 -36
  355. package/dist/block.mds.expressionrank-TZWGRDY7.js +0 -357
  356. package/dist/block.mds.geneboxplot-OAFROYDL.js +0 -826
  357. package/dist/block.mds.junction-NSLXTW3D.js +0 -1543
  358. package/dist/block.mds.svcnv-ICPG4BW6.js +0 -6799
  359. package/dist/block.svg-DTFVIAAC.js +0 -162
  360. package/dist/block.tk.aicheck-ZIMIBWHA.js +0 -281
  361. package/dist/block.tk.ase-I7UNK5BK.js +0 -363
  362. package/dist/block.tk.bam-W7JG46RS.js +0 -1904
  363. package/dist/block.tk.bedgraphdot-XAQJPKGJ.js +0 -382
  364. package/dist/block.tk.bigwig.ui-YQOJPJSG.js +0 -209
  365. package/dist/block.tk.hicstraw-OWWGGCHU.js +0 -821
  366. package/dist/block.tk.junction-V63ZQQX6.js +0 -2362
  367. package/dist/block.tk.junction.textmatrixui-B7KXX7WN.js +0 -197
  368. package/dist/block.tk.ld-2J6CT74S.js +0 -97
  369. package/dist/block.tk.menu-6AQLG7PW.js +0 -1027
  370. package/dist/block.tk.pgv-4V6PKVCQ.js +0 -942
  371. package/dist/brainImaging-WRBGYLHK.js +0 -421
  372. package/dist/chat-X2BCTEDF.js +0 -148
  373. package/dist/chat-X2BCTEDF.js.map +0 -7
  374. package/dist/chunk-23VG37CB.js +0 -1939
  375. package/dist/chunk-23VG37CB.js.map +0 -7
  376. package/dist/chunk-2VOHINOC.js +0 -262
  377. package/dist/chunk-2VOHINOC.js.map +0 -7
  378. package/dist/chunk-3AK6GP4M.js +0 -215
  379. package/dist/chunk-3B7EWIVB.js +0 -153
  380. package/dist/chunk-3JAC5CHL.js +0 -407
  381. package/dist/chunk-3QBZ2Y77.js +0 -188
  382. package/dist/chunk-3QBZ2Y77.js.map +0 -7
  383. package/dist/chunk-3T2PCWII.js +0 -442
  384. package/dist/chunk-4BTAI6HQ.js +0 -100
  385. package/dist/chunk-4JVNATQR.js +0 -621
  386. package/dist/chunk-4ZCR6CPK.js +0 -4964
  387. package/dist/chunk-4ZCR6CPK.js.map +0 -7
  388. package/dist/chunk-5MW5VMWD.js +0 -2784
  389. package/dist/chunk-5ZBEDKBD.js +0 -158
  390. package/dist/chunk-65YTZS3R.js +0 -203
  391. package/dist/chunk-6ZCHECOT.js +0 -1816
  392. package/dist/chunk-6ZCHECOT.js.map +0 -7
  393. package/dist/chunk-73ZT6NAT.js +0 -34
  394. package/dist/chunk-7HJ6H7AZ.js +0 -2681
  395. package/dist/chunk-AFXYPMFZ.js +0 -117
  396. package/dist/chunk-BL4ALBZ7.js +0 -37
  397. package/dist/chunk-BRCDZJBQ.js +0 -824
  398. package/dist/chunk-EBGX226R.js +0 -205
  399. package/dist/chunk-EHXI36HJ.js +0 -2815
  400. package/dist/chunk-ENP4FLOX.js +0 -293
  401. package/dist/chunk-FDOSJKDA.js +0 -1209
  402. package/dist/chunk-FDOSJKDA.js.map +0 -7
  403. package/dist/chunk-HP2BASCY.js +0 -1159
  404. package/dist/chunk-HP2BASCY.js.map +0 -7
  405. package/dist/chunk-HROKXT4K.js +0 -14
  406. package/dist/chunk-HTMXVOTH.js +0 -482
  407. package/dist/chunk-IA7S4UL5.js +0 -302
  408. package/dist/chunk-JFIOYO3M.js +0 -272
  409. package/dist/chunk-JMJW3ERE.js +0 -470
  410. package/dist/chunk-K7XWZSQA.js +0 -148
  411. package/dist/chunk-KSN3EVKI.js +0 -102
  412. package/dist/chunk-L5SOHZ5V.js +0 -229
  413. package/dist/chunk-LMGE54CQ.js +0 -54
  414. package/dist/chunk-LOMVTHAM.js +0 -95
  415. package/dist/chunk-MSW7OS2O.js +0 -276
  416. package/dist/chunk-MVCGSYS2.js +0 -50
  417. package/dist/chunk-N2HBIQKU.js +0 -102
  418. package/dist/chunk-NL3DVEVX.js +0 -158
  419. package/dist/chunk-O4WJSZC3.js +0 -1087
  420. package/dist/chunk-OLUDD6EC.js +0 -2370
  421. package/dist/chunk-OVPVPPRG.js +0 -55
  422. package/dist/chunk-OYEISJSJ.js +0 -289
  423. package/dist/chunk-OYEISJSJ.js.map +0 -7
  424. package/dist/chunk-P2JDCMXW.js +0 -4207
  425. package/dist/chunk-PMDXCESS.js +0 -514
  426. package/dist/chunk-PXYYICV7.js +0 -1271
  427. package/dist/chunk-PZ3KIUWJ.js +0 -56
  428. package/dist/chunk-QEWMCAJW.js +0 -335
  429. package/dist/chunk-QLWDUZ5K.js +0 -129
  430. package/dist/chunk-QRSIID3T.js +0 -95
  431. package/dist/chunk-ST644IDH.js +0 -217
  432. package/dist/chunk-UOOMFM7K.js +0 -6364
  433. package/dist/chunk-VGHSLILD.js +0 -368
  434. package/dist/chunk-W35IOI74.js +0 -228
  435. package/dist/chunk-XKF4KMCB.js +0 -146
  436. package/dist/chunk-XKF4KMCB.js.map +0 -7
  437. package/dist/chunk-XVDWYTJ6.js +0 -676
  438. package/dist/chunk-YQVEBFGT.js +0 -455
  439. package/dist/chunk-YWUVCXFS.js +0 -20271
  440. package/dist/chunk-YWUVCXFS.js.map +0 -7
  441. package/dist/chunk-ZT3PB4XX.js +0 -1150
  442. package/dist/chunk-ZT3PB4XX.js.map +0 -7
  443. package/dist/chunk-ZVSXHCGP.js +0 -142
  444. package/dist/condition-CZX2GSN4.js +0 -330
  445. package/dist/controls-BQR3WY5W.js +0 -39
  446. package/dist/controls.config-TAVZDHFZ.js +0 -37
  447. package/dist/correlation-BIWVZNC6.js +0 -96
  448. package/dist/cuminc-EDXOOI5R.js +0 -1147
  449. package/dist/cuminc.integration.spec-UZA7BDTB.js +0 -676
  450. package/dist/customdata.inputui-PEB4CE7J.js +0 -287
  451. package/dist/dataDownload-KANEHJXJ.js +0 -328
  452. package/dist/dataDownload.integration.spec-23WLHSWJ.js +0 -191
  453. package/dist/databrowser.ui-B2TNECC4.js +0 -419
  454. package/dist/databrowser.ui-B2TNECC4.js.map +0 -7
  455. package/dist/dictionary-YOTUFVES.js +0 -109
  456. package/dist/dnaMethylation-TRFAZWRJ.js +0 -36
  457. package/dist/dnaMethylation.integration.spec-SPFZO76D.js +0 -201
  458. package/dist/dofetch-MH4MRMGY.js +0 -50
  459. package/dist/e2pca-AFVAFUJ2.js +0 -348
  460. package/dist/ep-4FXTLWB4.js +0 -1254
  461. package/dist/expclust.gdc.spec-SFOCKBLR.js +0 -305
  462. package/dist/facet-SY6PYSTN.js +0 -519
  463. package/dist/gb-JUV63QCN.js +0 -93
  464. package/dist/gb-JUV63QCN.js.map +0 -7
  465. package/dist/geneExpClustering-FOY77R7P.js +0 -247
  466. package/dist/geneExpression-AHKX57BT.js +0 -312
  467. package/dist/geneExpression-D2F2KVGY.js +0 -36
  468. package/dist/geneExpression.unit.spec-SR2BGZQL.js +0 -100
  469. package/dist/geneORA-VJMYI4BT.js +0 -276
  470. package/dist/geneVariant-LFM5SO2P.js +0 -37
  471. package/dist/geneVariant-OIKEV4JM.js +0 -39
  472. package/dist/geneVariant.integration.spec-T6BINPIN.js +0 -196
  473. package/dist/genefusion.ui-NLMW5XMI.js +0 -306
  474. package/dist/geneset-HKXFHM5K.js +0 -197
  475. package/dist/geneset-HKXFHM5K.js.map +0 -7
  476. package/dist/genomeBrowser.spec-DRYIFJLY.js +0 -279
  477. package/dist/grin2-GJKLNT4J.js +0 -1031
  478. package/dist/grin2-GJKLNT4J.js.map +0 -7
  479. package/dist/grin2-LGI535FF.js +0 -1554
  480. package/dist/gsea-Z7DSDFOA.js +0 -45
  481. package/dist/hierCluster-HC2B5XRR.js +0 -61
  482. package/dist/hierCluster-PLHVN5S3.js +0 -57
  483. package/dist/hierCluster.config-E3DIJWL5.js +0 -38
  484. package/dist/hierCluster.integration.spec-OQLPUQG4.js +0 -393
  485. package/dist/hierCluster.interactivity-LRNPDTEH.js +0 -52
  486. package/dist/imagePlot-GUXRGYQA.js +0 -139
  487. package/dist/imagePlot-GUXRGYQA.js.map +0 -7
  488. package/dist/importPlot-M5HGLHRO.js +0 -8
  489. package/dist/isoformExpression-PADLHHR5.js +0 -38
  490. package/dist/isoformExpression.unit.spec-5BPAL4OS.js +0 -206
  491. package/dist/launch.adhoc-JH6ZZFDB.js +0 -40
  492. package/dist/leftlabel.sample-NS2TBANH.js +0 -257
  493. package/dist/lollipop-W6NOHHCP.js +0 -166
  494. package/dist/lollipop-W6NOHHCP.js.map +0 -7
  495. package/dist/maf-NOHIKTUP.js +0 -450
  496. package/dist/maftimeline-WGWE52EF.js +0 -591
  497. package/dist/matrix-B6NPQFFF.js +0 -61
  498. package/dist/matrix-UAKRJL5A.js +0 -56
  499. package/dist/matrix.config-KJNJXPJJ.js +0 -39
  500. package/dist/matrix.integration.spec-VAXIR3E6.js +0 -3070
  501. package/dist/matrix.interactivity-H4MCMJXU.js +0 -40
  502. package/dist/matrix.layout-RFKQJM5D.js +0 -42
  503. package/dist/matrix.renderers-7JJIC6VC.js +0 -36
  504. package/dist/matrix.sort.unit.spec-MQQVWWNT.js +0 -470
  505. package/dist/matrix.sorterUi.unit.spec-LG4TI7VF.js +0 -340
  506. package/dist/mavb-EIZHS6F4.js +0 -730
  507. package/dist/mds.fimo-XVC6MI7W.js +0 -516
  508. package/dist/mds.samplescatterplot-PRR4TKYI.js +0 -1548
  509. package/dist/mds.survivalplot-3OG4Y2B6.js +0 -481
  510. package/dist/oncomatrix-SO6S6IIB.js +0 -293
  511. package/dist/oncomatrix.spec-VXTF44K5.js +0 -446
  512. package/dist/plot.2dvaf-JW5OJJXV.js +0 -375
  513. package/dist/plot.app-T3GVCFQ3.js +0 -39
  514. package/dist/plot.barplot-2TYP6DPI.js +0 -100
  515. package/dist/plot.boxplot-HOQHM7JF.js +0 -150
  516. package/dist/plot.brainImaging-5AI7BSD4.js +0 -51
  517. package/dist/plot.disco-HNNZHK5Z.js +0 -101
  518. package/dist/plot.dzi-4OQSO7SY.js +0 -33
  519. package/dist/plot.ssgq-VZTTGECT.js +0 -137
  520. package/dist/plot.vaf2cov-ASEELRDV.js +0 -257
  521. package/dist/plot.wsi-MDWYLU4R.js +0 -36
  522. package/dist/polar-QSY6JG4P.js +0 -184
  523. package/dist/polar2-FD6656VD.js +0 -226
  524. package/dist/profile.spec-V7EQBXT2.js +0 -78
  525. package/dist/profileBarchart-EIKHZAPD.js +0 -265
  526. package/dist/profileForms-NGFRXPFF.js +0 -438
  527. package/dist/profilePlot-2UFKJ2OC.js +0 -52
  528. package/dist/profileRadar-B2R7OV5F.js +0 -261
  529. package/dist/profileRadarFacility-ILC7POCI.js +0 -261
  530. package/dist/proteinView-AS6ZV2JT.js +0 -758
  531. package/dist/proteinView-AS6ZV2JT.js.map +0 -7
  532. package/dist/proteomeAbundance-6J5YF4V2.js +0 -63
  533. package/dist/proteomeAbundance-6J5YF4V2.js.map +0 -7
  534. package/dist/proteomeAbundance-OF27N347.js +0 -21
  535. package/dist/qualitative-CSUO2WG5.js +0 -41
  536. package/dist/radar2-L2HGCUYR.js +0 -314
  537. package/dist/radarFacility2-HXUUTRYO.js +0 -323
  538. package/dist/regression-Y4NYGZSA.js +0 -54
  539. package/dist/regression.inputs-RWFIJLNF.js +0 -46
  540. package/dist/regression.inputs.term-QIU5SHTN.js +0 -46
  541. package/dist/regression.inputs.values.table-FM6QTSEV.js +0 -43
  542. package/dist/regression.integration.spec-YRKKU7HL.js +0 -782
  543. package/dist/regression.results-YUDCHUZJ.js +0 -38
  544. package/dist/regression.spec-G4GIIV32.js +0 -706
  545. package/dist/report-2N4FBR4Q.js +0 -220
  546. package/dist/sampleScatter.spec-UIUYO4WR.js +0 -200
  547. package/dist/sampleView-TOK5Y5KU.js +0 -46
  548. package/dist/samplelst-YW5ZS3GJ.js +0 -109
  549. package/dist/samplematrix-447BHSO7.js +0 -2196
  550. package/dist/sc-O2PL3FL2.js +0 -84
  551. package/dist/scatter-4DXHOWVY.js +0 -800
  552. package/dist/scatter.integration.spec-ZPTM3AGQ.js +0 -1194
  553. package/dist/selectGenomeWithTklst-3RLZFW62.js +0 -132
  554. package/dist/singleCellCellType-3LQJXS7H.js +0 -36
  555. package/dist/singleCellCellType.unit.spec-UJM72SP4.js +0 -158
  556. package/dist/singleCellGeneExpression-JOWJWPIQ.js +0 -36
  557. package/dist/singleCellGeneExpression.unit.spec-VY5CGRZH.js +0 -151
  558. package/dist/singleCellPlot-IVLVKOO6.js +0 -51
  559. package/dist/singlecell-VJJZJZF7.js +0 -1570
  560. package/dist/singlecell-VQJ2252L.js +0 -84
  561. package/dist/snp-ALMKZKL2.js +0 -36
  562. package/dist/snp.unit.spec-GJQBAHGQ.js +0 -174
  563. package/dist/snplocus-WCNCMFWZ.js +0 -206
  564. package/dist/spliceevent.a53ss.diagram-4Q4JF4RX.js +0 -149
  565. package/dist/spliceevent.exonskip.diagram-IOYOKELT.js +0 -275
  566. package/dist/spliceevent.noeventdiagram-77ZCOHSF.js +0 -458
  567. package/dist/ssGSEA-QTXXIN4K.js +0 -36
  568. package/dist/ssGSEA.unit.spec-LQESATT3.js +0 -86
  569. package/dist/summarizeCnvGeneexp-YKUQGDQF.js +0 -161
  570. package/dist/summarizeGeneexpSurvival-ARGG5VDC.js +0 -106
  571. package/dist/summarizeMutationCnv-FMZYT3EC.js +0 -162
  572. package/dist/summarizeMutationDiagnosis-ZX7I46SC.js +0 -38
  573. package/dist/summarizeMutationSurvival-RCFMTT43.js +0 -97
  574. package/dist/summary-QLL5YVI2.js +0 -47
  575. package/dist/summary.integration.spec-DHY6XCEJ.js +0 -412
  576. package/dist/summaryInput-ANCUQGIB.js +0 -233
  577. package/dist/sunburst-RDNFBOCK.js +0 -282
  578. package/dist/survival-BG7QV52L.js +0 -44
  579. package/dist/survival-WSN36OQE.js +0 -56
  580. package/dist/survival.integration.spec-37KAJ5IK.js +0 -800
  581. package/dist/svgraph-A5WGHW4S.js +0 -1385
  582. package/dist/svmr-CYRHHWZF.js +0 -3840
  583. package/dist/table-VHO7E5PI.js +0 -198
  584. package/dist/termCollection-E4Q6GLXN.js +0 -177
  585. package/dist/termCollection-HSVSH7TJ.js +0 -36
  586. package/dist/termCollection.unit.spec-ZCE3TUMS.js +0 -206
  587. package/dist/tk-GPRHDN4K.js +0 -44
  588. package/dist/tp.ui-LTUA3FSL.js +0 -1457
  589. package/dist/tvs.dt-G43PAAKD.js +0 -37
  590. package/dist/tvs.dtcnv.categorical-UHDS2TGZ.js +0 -38
  591. package/dist/tvs.dtcnv.continuous-ZNGYQKTD.js +0 -70
  592. package/dist/tvs.dtfusion-JBEEUDUS.js +0 -38
  593. package/dist/tvs.dtsnvindel-XXN5Q7RN.js +0 -38
  594. package/dist/tvs.dtsv-MO6L7HHV.js +0 -38
  595. package/dist/tvs.samplelst-HKY6UUJM.js +0 -102
  596. package/dist/tvs.termCollection-TY6FPL25.js +0 -157
  597. package/dist/violin-YHE3WSGR.js +0 -44
  598. package/dist/violin.integration.spec-F2UD7BHC.js +0 -1423
  599. package/dist/violin.interactivity-LVDTDEPQ.js +0 -36
  600. package/dist/violin.renderer-IIEIUGRI.js +0 -38
  601. package/dist/vocabulary-WQRYXBRO.js +0 -39
  602. /package/dist/{2dmaf-X7LATQT7.js.map → 2dmaf-F5QNP7AQ.js.map} +0 -0
  603. /package/dist/{AppHeader-RDOFP322.js.map → AppHeader-STVCDLET.js.map} +0 -0
  604. /package/dist/{BoxPlot-AZF2EMGQ.js.map → BoxPlot-CU7MEBH7.js.map} +0 -0
  605. /package/dist/{CorrelationVolcano-VXW35SXU.js.map → CorrelationVolcano-OE4R2GS3.js.map} +0 -0
  606. /package/dist/{DE-NLGMZ44O.js.map → DE-SR7PJPKI.js.map} +0 -0
  607. /package/dist/{DifferentialAnalysis-G75VUHDI.js.map → DifferentialAnalysis-UWTYK7NU.js.map} +0 -0
  608. /package/dist/{Disco-DX4S44SI.js.map → Disco-IL6REGSA.js.map} +0 -0
  609. /package/dist/{Disco.UI-5FYIACCU.js.map → Disco.UI-JHHLS5BA.js.map} +0 -0
  610. /package/dist/{DmrPlot-HWYITHK2.js.map → DmrPlot-DDP53T3F.js.map} +0 -0
  611. /package/dist/{HicApp-XPZVZXB7.js.map → HicApp-RVFHTYED.js.map} +0 -0
  612. /package/dist/{NumBinaryEditor-M6MJYIHK.js.map → NumBinaryEditor-B3FXQAOH.js.map} +0 -0
  613. /package/dist/{NumBinaryEditor.unit.spec-W6MMYDAW.js.map → NumBinaryEditor.unit.spec-75YQJ2U6.js.map} +0 -0
  614. /package/dist/{NumContEditor-YRVENTS5.js.map → NumContEditor-5PYW3OLY.js.map} +0 -0
  615. /package/dist/{NumContEditor.unit.spec-A6OH4TI7.js.map → NumContEditor.unit.spec-F7ZRDGBN.js.map} +0 -0
  616. /package/dist/{NumCustomBinEditor-BLBOYSCQ.js.map → NumCustomBinEditor-TBT6GLYQ.js.map} +0 -0
  617. /package/dist/{NumCustomBinEditor.unit.spec-55V5CKLB.js.map → NumCustomBinEditor.unit.spec-6YHU45XV.js.map} +0 -0
  618. /package/dist/{NumDiscreteEditor-DTRM6VL2.js.map → NumDiscreteEditor-N6OJYSJA.js.map} +0 -0
  619. /package/dist/{NumDiscreteEditor.unit.spec-YMB6QRER.js.map → NumDiscreteEditor.unit.spec-HQS5RZ6R.js.map} +0 -0
  620. /package/dist/{NumRegularBinEditor-XW4SVA7S.js.map → NumRegularBinEditor-HSDDKVNG.js.map} +0 -0
  621. /package/dist/{NumRegularBinEditor.unit.spec-VAHC3VOD.js.map → NumRegularBinEditor.unit.spec-33KN2MVM.js.map} +0 -0
  622. /package/dist/{NumSplineEditor-H22HTRFR.js.map → NumSplineEditor-XERKOACS.js.map} +0 -0
  623. /package/dist/{NumSplineEditor.unit.spec-4JUADXZR.js.map → NumSplineEditor.unit.spec-MPVM6KSC.js.map} +0 -0
  624. /package/dist/{NumericDensity-ECSZCQRX.js.map → NumericDensity-35EKYW3V.js.map} +0 -0
  625. /package/dist/{NumericDensity.unit.spec-SXXCXM4X.js.map → NumericDensity.unit.spec-OR24PPRJ.js.map} +0 -0
  626. /package/dist/{NumericHandler-CMBN3FZX.js.map → NumericHandler-D6ZNGRE3.js.map} +0 -0
  627. /package/dist/{NumericHandler.unit.spec-UYTJG2Z2.js.map → NumericHandler.unit.spec-EKPGVSXI.js.map} +0 -0
  628. /package/dist/{RunChart2-MVFWLXZX.js.map → RunChart2-7DOXOFXV.js.map} +0 -0
  629. /package/dist/{WSIViewer-2Z636FMA.js.map → WSIViewer-E247ELKN.js.map} +0 -0
  630. /package/dist/{WsiSamplesPlot-LN75PND3.js.map → WsiSamplesPlot-3522VRB5.js.map} +0 -0
  631. /package/dist/{adSandbox-AJ7QUDOI.js.map → adSandbox-IDFY5P2P.js.map} +0 -0
  632. /package/dist/{alphaGenome-PVCRXAQK.js.map → alphaGenome-F3W7GJQ5.js.map} +0 -0
  633. /package/dist/{app-DWYCAFRP.js.map → app-2HDSFMRM.js.map} +0 -0
  634. /package/dist/{app-RENXV7VR.js.map → app-LIWPFL7C.js.map} +0 -0
  635. /package/dist/{bam-5G6IT6OX.js.map → bam-TBHHSATL.js.map} +0 -0
  636. /package/dist/{barchart-MLCCU6SU.js.map → barchart-HHFCBOZE.js.map} +0 -0
  637. /package/dist/{barchart.events-B6HQTLK2.js.map → barchart.events-UQUSSRXB.js.map} +0 -0
  638. /package/dist/{barchart.integration.spec-S43A7C7N.js.map → barchart.integration.spec-OF3MWFQ5.js.map} +0 -0
  639. /package/dist/{barchart2-QMKEN6MN.js.map → barchart2-XRMPCBBU.js.map} +0 -0
  640. /package/dist/{block-IGBB4BJH.js.map → block-5UEORHFB.js.map} +0 -0
  641. /package/dist/{block.init-NLCYAKV4.js.map → block.init-QSSFUVIT.js.map} +0 -0
  642. /package/dist/{block.mds.expressionrank-TZWGRDY7.js.map → block.mds.expressionrank-VBIIJHQF.js.map} +0 -0
  643. /package/dist/{block.mds.geneboxplot-OAFROYDL.js.map → block.mds.geneboxplot-KSBHXBNX.js.map} +0 -0
  644. /package/dist/{block.mds.junction-NSLXTW3D.js.map → block.mds.junction-FWZWMZJ2.js.map} +0 -0
  645. /package/dist/{block.mds.svcnv-ICPG4BW6.js.map → block.mds.svcnv-UXORVLH2.js.map} +0 -0
  646. /package/dist/{block.svg-DTFVIAAC.js.map → block.svg-6KIGW4QH.js.map} +0 -0
  647. /package/dist/{block.tk.aicheck-ZIMIBWHA.js.map → block.tk.aicheck-DK566Q4C.js.map} +0 -0
  648. /package/dist/{block.tk.ase-I7UNK5BK.js.map → block.tk.ase-2GB2VJJ6.js.map} +0 -0
  649. /package/dist/{block.tk.bam-W7JG46RS.js.map → block.tk.bam-RQNOLY52.js.map} +0 -0
  650. /package/dist/{block.tk.bedgraphdot-XAQJPKGJ.js.map → block.tk.bedgraphdot-N4YMZFO4.js.map} +0 -0
  651. /package/dist/{block.tk.bigwig.ui-YQOJPJSG.js.map → block.tk.bigwig.ui-4S7L7D7D.js.map} +0 -0
  652. /package/dist/{block.tk.hicstraw-OWWGGCHU.js.map → block.tk.hicstraw-AHFNQKCS.js.map} +0 -0
  653. /package/dist/{block.tk.junction-V63ZQQX6.js.map → block.tk.junction-7E6SNQMQ.js.map} +0 -0
  654. /package/dist/{block.tk.junction.textmatrixui-B7KXX7WN.js.map → block.tk.junction.textmatrixui-3C5JVYX5.js.map} +0 -0
  655. /package/dist/{block.tk.ld-2J6CT74S.js.map → block.tk.ld-TOUCLT3W.js.map} +0 -0
  656. /package/dist/{block.tk.menu-6AQLG7PW.js.map → block.tk.menu-JCV5ORD6.js.map} +0 -0
  657. /package/dist/{block.tk.pgv-4V6PKVCQ.js.map → block.tk.pgv-CUU22U6M.js.map} +0 -0
  658. /package/dist/{brainImaging-WRBGYLHK.js.map → brainImaging-MTQTXNNL.js.map} +0 -0
  659. /package/dist/{chunk-ENP4FLOX.js.map → chunk-2UYBBUXK.js.map} +0 -0
  660. /package/dist/{chunk-P2JDCMXW.js.map → chunk-2VPEFXEJ.js.map} +0 -0
  661. /package/dist/{chunk-OVPVPPRG.js.map → chunk-3QHIL3V3.js.map} +0 -0
  662. /package/dist/{chunk-QLWDUZ5K.js.map → chunk-44VXWKYJ.js.map} +0 -0
  663. /package/dist/{chunk-QRSIID3T.js.map → chunk-52D6EGUS.js.map} +0 -0
  664. /package/dist/{chunk-N2HBIQKU.js.map → chunk-5FHM3L4I.js.map} +0 -0
  665. /package/dist/{chunk-ZVSXHCGP.js.map → chunk-62TF2MCH.js.map} +0 -0
  666. /package/dist/{chunk-UOOMFM7K.js.map → chunk-67QM2NUK.js.map} +0 -0
  667. /package/dist/{chunk-XVDWYTJ6.js.map → chunk-6AAPHEWK.js.map} +0 -0
  668. /package/dist/{chunk-3B7EWIVB.js.map → chunk-6KPGMUHS.js.map} +0 -0
  669. /package/dist/{chunk-YQVEBFGT.js.map → chunk-6WBIZXNI.js.map} +0 -0
  670. /package/dist/{chunk-IA7S4UL5.js.map → chunk-7AAJVXEG.js.map} +0 -0
  671. /package/dist/{chunk-PXYYICV7.js.map → chunk-AFJRAR4N.js.map} +0 -0
  672. /package/dist/{chunk-K7XWZSQA.js.map → chunk-CVRYZMDE.js.map} +0 -0
  673. /package/dist/{chunk-MSW7OS2O.js.map → chunk-DGUTCYH2.js.map} +0 -0
  674. /package/dist/{chunk-5ZBEDKBD.js.map → chunk-DHNXATHC.js.map} +0 -0
  675. /package/dist/{chunk-L5SOHZ5V.js.map → chunk-E3BI23UK.js.map} +0 -0
  676. /package/dist/{chunk-4JVNATQR.js.map → chunk-E4JDHA3C.js.map} +0 -0
  677. /package/dist/{chunk-W35IOI74.js.map → chunk-FOJWYEGV.js.map} +0 -0
  678. /package/dist/{chunk-NL3DVEVX.js.map → chunk-FTN7Y34O.js.map} +0 -0
  679. /package/dist/{chunk-EHXI36HJ.js.map → chunk-GRG5MMPN.js.map} +0 -0
  680. /package/dist/{chunk-HTMXVOTH.js.map → chunk-GSU4PZN3.js.map} +0 -0
  681. /package/dist/{chunk-ST644IDH.js.map → chunk-IIRU2JLK.js.map} +0 -0
  682. /package/dist/{chunk-JFIOYO3M.js.map → chunk-JCB74ZSK.js.map} +0 -0
  683. /package/dist/{chunk-BRCDZJBQ.js.map → chunk-JUDWPYMA.js.map} +0 -0
  684. /package/dist/{chunk-O4WJSZC3.js.map → chunk-KT6VZBC7.js.map} +0 -0
  685. /package/dist/{chunk-OLUDD6EC.js.map → chunk-L2HBHFTK.js.map} +0 -0
  686. /package/dist/{chunk-VGHSLILD.js.map → chunk-LKADRF3Q.js.map} +0 -0
  687. /package/dist/{chunk-3JAC5CHL.js.map → chunk-MAXFRUGM.js.map} +0 -0
  688. /package/dist/{chunk-BL4ALBZ7.js.map → chunk-MQN7RYCK.js.map} +0 -0
  689. /package/dist/{chunk-JMJW3ERE.js.map → chunk-OEUI4CYZ.js.map} +0 -0
  690. /package/dist/{chunk-73ZT6NAT.js.map → chunk-OM36XUQL.js.map} +0 -0
  691. /package/dist/{chunk-LMGE54CQ.js.map → chunk-P5LNIH5X.js.map} +0 -0
  692. /package/dist/{chunk-KSN3EVKI.js.map → chunk-PG62PRMF.js.map} +0 -0
  693. /package/dist/{chunk-EBGX226R.js.map → chunk-Q3J3F2NU.js.map} +0 -0
  694. /package/dist/{chunk-AFXYPMFZ.js.map → chunk-RZBV6474.js.map} +0 -0
  695. /package/dist/{chunk-3T2PCWII.js.map → chunk-T5V4OC27.js.map} +0 -0
  696. /package/dist/{chunk-QEWMCAJW.js.map → chunk-UCKSUNSJ.js.map} +0 -0
  697. /package/dist/{chunk-PMDXCESS.js.map → chunk-W4TLYHZO.js.map} +0 -0
  698. /package/dist/{chunk-PZ3KIUWJ.js.map → chunk-WPZUXKIB.js.map} +0 -0
  699. /package/dist/{chunk-3AK6GP4M.js.map → chunk-XM47XD6G.js.map} +0 -0
  700. /package/dist/{chunk-MVCGSYS2.js.map → chunk-YZHGLSKQ.js.map} +0 -0
  701. /package/dist/{chunk-65YTZS3R.js.map → chunk-ZGOOZK3I.js.map} +0 -0
  702. /package/dist/{chunk-LOMVTHAM.js.map → chunk-ZH2VP6Q6.js.map} +0 -0
  703. /package/dist/{chunk-HROKXT4K.js.map → chunk-ZLOQXO5K.js.map} +0 -0
  704. /package/dist/{chunk-4BTAI6HQ.js.map → chunk-ZMNDBPJU.js.map} +0 -0
  705. /package/dist/{chunk-5MW5VMWD.js.map → chunk-ZRTW6X3F.js.map} +0 -0
  706. /package/dist/{chunk-7HJ6H7AZ.js.map → chunk-ZTT52MBP.js.map} +0 -0
  707. /package/dist/{condition-CZX2GSN4.js.map → condition-VUACUQYF.js.map} +0 -0
  708. /package/dist/{controls-BQR3WY5W.js.map → controls-N4MPSNO4.js.map} +0 -0
  709. /package/dist/{controls.config-TAVZDHFZ.js.map → controls.config-PRXVODCM.js.map} +0 -0
  710. /package/dist/{correlation-BIWVZNC6.js.map → correlation-QJZUYDFH.js.map} +0 -0
  711. /package/dist/{cuminc-EDXOOI5R.js.map → cuminc-JJHXW55V.js.map} +0 -0
  712. /package/dist/{cuminc.integration.spec-UZA7BDTB.js.map → cuminc.integration.spec-IXS2UO2O.js.map} +0 -0
  713. /package/dist/{customdata.inputui-PEB4CE7J.js.map → customdata.inputui-DUHO6M6I.js.map} +0 -0
  714. /package/dist/{dataDownload-KANEHJXJ.js.map → dataDownload-OFB7TYDB.js.map} +0 -0
  715. /package/dist/{dataDownload.integration.spec-23WLHSWJ.js.map → dataDownload.integration.spec-4HWDQO4C.js.map} +0 -0
  716. /package/dist/{dictionary-YOTUFVES.js.map → dictionary-BSKN37CP.js.map} +0 -0
  717. /package/dist/{dnaMethylation-TRFAZWRJ.js.map → dnaMethylation-5QNEEGC6.js.map} +0 -0
  718. /package/dist/{dnaMethylation.integration.spec-SPFZO76D.js.map → dnaMethylation.integration.spec-YIX3JSA7.js.map} +0 -0
  719. /package/dist/{dofetch-MH4MRMGY.js.map → dofetch-KFMGQY7G.js.map} +0 -0
  720. /package/dist/{e2pca-AFVAFUJ2.js.map → e2pca-VX42HDYZ.js.map} +0 -0
  721. /package/dist/{ep-4FXTLWB4.js.map → ep-B6ZNETLI.js.map} +0 -0
  722. /package/dist/{expclust.gdc.spec-SFOCKBLR.js.map → expclust.gdc.spec-SGECIILQ.js.map} +0 -0
  723. /package/dist/{facet-SY6PYSTN.js.map → facet-2W5SBPGP.js.map} +0 -0
  724. /package/dist/{geneExpClustering-FOY77R7P.js.map → geneExpClustering-6A7364T5.js.map} +0 -0
  725. /package/dist/{geneExpression-D2F2KVGY.js.map → geneExpression-NAM2UEYN.js.map} +0 -0
  726. /package/dist/{geneExpression-AHKX57BT.js.map → geneExpression-WF56ODMZ.js.map} +0 -0
  727. /package/dist/{geneExpression.unit.spec-SR2BGZQL.js.map → geneExpression.unit.spec-DNE2T3WI.js.map} +0 -0
  728. /package/dist/{geneORA-VJMYI4BT.js.map → geneORA-33FK2YOS.js.map} +0 -0
  729. /package/dist/{geneVariant-LFM5SO2P.js.map → geneVariant-C7PCNBOQ.js.map} +0 -0
  730. /package/dist/{geneVariant-OIKEV4JM.js.map → geneVariant-REELFRRA.js.map} +0 -0
  731. /package/dist/{geneVariant.integration.spec-T6BINPIN.js.map → geneVariant.integration.spec-GNXUGDKL.js.map} +0 -0
  732. /package/dist/{genefusion.ui-NLMW5XMI.js.map → genefusion.ui-WO5EPJDS.js.map} +0 -0
  733. /package/dist/{genomeBrowser.spec-DRYIFJLY.js.map → genomeBrowser.spec-VPAKTUJF.js.map} +0 -0
  734. /package/dist/{grin2-LGI535FF.js.map → grin2-GYHUYNEF.js.map} +0 -0
  735. /package/dist/{gsea-Z7DSDFOA.js.map → gsea-PE5WZ5ZI.js.map} +0 -0
  736. /package/dist/{hierCluster-HC2B5XRR.js.map → hierCluster-FH6YJHRT.js.map} +0 -0
  737. /package/dist/{hierCluster-PLHVN5S3.js.map → hierCluster-IFM5I5QN.js.map} +0 -0
  738. /package/dist/{hierCluster.config-E3DIJWL5.js.map → hierCluster.config-M57ZIWMB.js.map} +0 -0
  739. /package/dist/{hierCluster.integration.spec-OQLPUQG4.js.map → hierCluster.integration.spec-Z64RL7MC.js.map} +0 -0
  740. /package/dist/{hierCluster.interactivity-LRNPDTEH.js.map → hierCluster.interactivity-CDBAJXOY.js.map} +0 -0
  741. /package/dist/{importPlot-M5HGLHRO.js.map → importPlot-OWKXSK77.js.map} +0 -0
  742. /package/dist/{isoformExpression-PADLHHR5.js.map → isoformExpression-66XLJG73.js.map} +0 -0
  743. /package/dist/{isoformExpression.unit.spec-5BPAL4OS.js.map → isoformExpression.unit.spec-QJX2IRHL.js.map} +0 -0
  744. /package/dist/{launch.adhoc-JH6ZZFDB.js.map → launch.adhoc-JCWID253.js.map} +0 -0
  745. /package/dist/{leftlabel.sample-NS2TBANH.js.map → leftlabel.sample-5NZ6VQDN.js.map} +0 -0
  746. /package/dist/{maf-NOHIKTUP.js.map → maf-HIS2FQXK.js.map} +0 -0
  747. /package/dist/{maftimeline-WGWE52EF.js.map → maftimeline-UPJJQE23.js.map} +0 -0
  748. /package/dist/{matrix-B6NPQFFF.js.map → matrix-62CN2KXR.js.map} +0 -0
  749. /package/dist/{matrix-UAKRJL5A.js.map → matrix-SPEDEB3J.js.map} +0 -0
  750. /package/dist/{matrix.config-KJNJXPJJ.js.map → matrix.config-XB6WFXUY.js.map} +0 -0
  751. /package/dist/{matrix.integration.spec-VAXIR3E6.js.map → matrix.integration.spec-NN7OR5XM.js.map} +0 -0
  752. /package/dist/{matrix.interactivity-H4MCMJXU.js.map → matrix.interactivity-OWMHUJCX.js.map} +0 -0
  753. /package/dist/{matrix.layout-RFKQJM5D.js.map → matrix.layout-27QB6MWK.js.map} +0 -0
  754. /package/dist/{matrix.renderers-7JJIC6VC.js.map → matrix.renderers-EPXES5E4.js.map} +0 -0
  755. /package/dist/{matrix.sort.unit.spec-MQQVWWNT.js.map → matrix.sort.unit.spec-NBT5FSZ6.js.map} +0 -0
  756. /package/dist/{matrix.sorterUi.unit.spec-LG4TI7VF.js.map → matrix.sorterUi.unit.spec-QKGUE4RR.js.map} +0 -0
  757. /package/dist/{mavb-EIZHS6F4.js.map → mavb-M7Y74OWQ.js.map} +0 -0
  758. /package/dist/{mds.fimo-XVC6MI7W.js.map → mds.fimo-WCDFA7HG.js.map} +0 -0
  759. /package/dist/{mds.samplescatterplot-PRR4TKYI.js.map → mds.samplescatterplot-ZDHQ3MKJ.js.map} +0 -0
  760. /package/dist/{mds.survivalplot-3OG4Y2B6.js.map → mds.survivalplot-R74DL2RA.js.map} +0 -0
  761. /package/dist/{oncomatrix-SO6S6IIB.js.map → oncomatrix-MOITJBII.js.map} +0 -0
  762. /package/dist/{oncomatrix.spec-VXTF44K5.js.map → oncomatrix.spec-NALJBPYS.js.map} +0 -0
  763. /package/dist/{plot.2dvaf-JW5OJJXV.js.map → plot.2dvaf-IE2EZEFA.js.map} +0 -0
  764. /package/dist/{plot.app-T3GVCFQ3.js.map → plot.app-HTW6TZEH.js.map} +0 -0
  765. /package/dist/{plot.barplot-2TYP6DPI.js.map → plot.barplot-NCQEPEOY.js.map} +0 -0
  766. /package/dist/{plot.boxplot-HOQHM7JF.js.map → plot.boxplot-WNKVBVJJ.js.map} +0 -0
  767. /package/dist/{plot.brainImaging-5AI7BSD4.js.map → plot.brainImaging-2Z3TOO6J.js.map} +0 -0
  768. /package/dist/{plot.disco-HNNZHK5Z.js.map → plot.disco-4JAEIAYK.js.map} +0 -0
  769. /package/dist/{plot.dzi-4OQSO7SY.js.map → plot.dzi-ZGLOVJJN.js.map} +0 -0
  770. /package/dist/{plot.ssgq-VZTTGECT.js.map → plot.ssgq-IHUILM43.js.map} +0 -0
  771. /package/dist/{plot.vaf2cov-ASEELRDV.js.map → plot.vaf2cov-ZYCQMD27.js.map} +0 -0
  772. /package/dist/{plot.wsi-MDWYLU4R.js.map → plot.wsi-3GISVBDH.js.map} +0 -0
  773. /package/dist/{polar-QSY6JG4P.js.map → polar-4AUAZHBV.js.map} +0 -0
  774. /package/dist/{polar2-FD6656VD.js.map → polar2-SRD4WWXU.js.map} +0 -0
  775. /package/dist/{profile.spec-V7EQBXT2.js.map → profile.spec-TOITKBBZ.js.map} +0 -0
  776. /package/dist/{profileBarchart-EIKHZAPD.js.map → profileBarchart-Z4SYIYBE.js.map} +0 -0
  777. /package/dist/{profileForms-NGFRXPFF.js.map → profileForms-RA7XQ2QT.js.map} +0 -0
  778. /package/dist/{profilePlot-2UFKJ2OC.js.map → profilePlot-4BM3XZVK.js.map} +0 -0
  779. /package/dist/{profileRadar-B2R7OV5F.js.map → profileRadar-EYBESEPI.js.map} +0 -0
  780. /package/dist/{profileRadarFacility-ILC7POCI.js.map → profileRadarFacility-FZYTFM26.js.map} +0 -0
  781. /package/dist/{proteomeAbundance-OF27N347.js.map → proteomeAbundance-65R6M4YQ.js.map} +0 -0
  782. /package/dist/{qualitative-CSUO2WG5.js.map → qualitative-E7WL6DN4.js.map} +0 -0
  783. /package/dist/{radar2-L2HGCUYR.js.map → radar2-I6FN5SUX.js.map} +0 -0
  784. /package/dist/{radarFacility2-HXUUTRYO.js.map → radarFacility2-GVK7PT3V.js.map} +0 -0
  785. /package/dist/{regression-Y4NYGZSA.js.map → regression-TIR5D354.js.map} +0 -0
  786. /package/dist/{regression.inputs-RWFIJLNF.js.map → regression.inputs-2AMJCJ3L.js.map} +0 -0
  787. /package/dist/{regression.inputs.term-QIU5SHTN.js.map → regression.inputs.term-D6D2QEUB.js.map} +0 -0
  788. /package/dist/{regression.inputs.values.table-FM6QTSEV.js.map → regression.inputs.values.table-M3IPLGDJ.js.map} +0 -0
  789. /package/dist/{regression.integration.spec-YRKKU7HL.js.map → regression.integration.spec-ROUSXLMH.js.map} +0 -0
  790. /package/dist/{regression.results-YUDCHUZJ.js.map → regression.results-YD5S74YS.js.map} +0 -0
  791. /package/dist/{regression.spec-G4GIIV32.js.map → regression.spec-4OXBBTNO.js.map} +0 -0
  792. /package/dist/{report-2N4FBR4Q.js.map → report-ETNALKTY.js.map} +0 -0
  793. /package/dist/{sampleScatter.spec-UIUYO4WR.js.map → sampleScatter.spec-LECMFMI2.js.map} +0 -0
  794. /package/dist/{sampleView-TOK5Y5KU.js.map → sampleView-B5TM7JOW.js.map} +0 -0
  795. /package/dist/{samplelst-YW5ZS3GJ.js.map → samplelst-GFQCG4SS.js.map} +0 -0
  796. /package/dist/{samplematrix-447BHSO7.js.map → samplematrix-OMTNWCJK.js.map} +0 -0
  797. /package/dist/{sc-O2PL3FL2.js.map → sc-MIEEZBWG.js.map} +0 -0
  798. /package/dist/{scatter-4DXHOWVY.js.map → scatter-ETOZ722F.js.map} +0 -0
  799. /package/dist/{scatter.integration.spec-ZPTM3AGQ.js.map → scatter.integration.spec-TS4PNRLX.js.map} +0 -0
  800. /package/dist/{selectGenomeWithTklst-3RLZFW62.js.map → selectGenomeWithTklst-Y5QIM2JB.js.map} +0 -0
  801. /package/dist/{singleCellCellType-3LQJXS7H.js.map → singleCellCellType-HOJHZF5W.js.map} +0 -0
  802. /package/dist/{singleCellCellType.unit.spec-UJM72SP4.js.map → singleCellCellType.unit.spec-MH5V3RPX.js.map} +0 -0
  803. /package/dist/{singleCellGeneExpression-JOWJWPIQ.js.map → singleCellGeneExpression-YVQ5TIKN.js.map} +0 -0
  804. /package/dist/{singleCellGeneExpression.unit.spec-VY5CGRZH.js.map → singleCellGeneExpression.unit.spec-BMFFT5HO.js.map} +0 -0
  805. /package/dist/{singleCellPlot-IVLVKOO6.js.map → singleCellPlot-3YFUYA2Y.js.map} +0 -0
  806. /package/dist/{singlecell-VJJZJZF7.js.map → singlecell-FK5JETW5.js.map} +0 -0
  807. /package/dist/{singlecell-VQJ2252L.js.map → singlecell-RL7V7DIC.js.map} +0 -0
  808. /package/dist/{snp-ALMKZKL2.js.map → snp-FT7HB3XN.js.map} +0 -0
  809. /package/dist/{snp.unit.spec-GJQBAHGQ.js.map → snp.unit.spec-CLYVYPPG.js.map} +0 -0
  810. /package/dist/{snplocus-WCNCMFWZ.js.map → snplocus-M5SEQGAC.js.map} +0 -0
  811. /package/dist/{spliceevent.a53ss.diagram-4Q4JF4RX.js.map → spliceevent.a53ss.diagram-EJ5CTRCZ.js.map} +0 -0
  812. /package/dist/{spliceevent.exonskip.diagram-IOYOKELT.js.map → spliceevent.exonskip.diagram-ETXMOHZ3.js.map} +0 -0
  813. /package/dist/{spliceevent.noeventdiagram-77ZCOHSF.js.map → spliceevent.noeventdiagram-S2O4ZM2Z.js.map} +0 -0
  814. /package/dist/{ssGSEA-QTXXIN4K.js.map → ssGSEA-6PMDQDTJ.js.map} +0 -0
  815. /package/dist/{ssGSEA.unit.spec-LQESATT3.js.map → ssGSEA.unit.spec-JD5T4R2N.js.map} +0 -0
  816. /package/dist/{summarizeCnvGeneexp-YKUQGDQF.js.map → summarizeCnvGeneexp-GCHNKTIU.js.map} +0 -0
  817. /package/dist/{summarizeGeneexpSurvival-ARGG5VDC.js.map → summarizeGeneexpSurvival-R2RYQZ3M.js.map} +0 -0
  818. /package/dist/{summarizeMutationCnv-FMZYT3EC.js.map → summarizeMutationCnv-LB2BIYRL.js.map} +0 -0
  819. /package/dist/{summarizeMutationDiagnosis-ZX7I46SC.js.map → summarizeMutationDiagnosis-3JUY75LM.js.map} +0 -0
  820. /package/dist/{summarizeMutationSurvival-RCFMTT43.js.map → summarizeMutationSurvival-VYLRWTCF.js.map} +0 -0
  821. /package/dist/{summary-QLL5YVI2.js.map → summary-2QQ72IEQ.js.map} +0 -0
  822. /package/dist/{summary.integration.spec-DHY6XCEJ.js.map → summary.integration.spec-XXU362UQ.js.map} +0 -0
  823. /package/dist/{summaryInput-ANCUQGIB.js.map → summaryInput-OZHZG3PV.js.map} +0 -0
  824. /package/dist/{sunburst-RDNFBOCK.js.map → sunburst-CMCJCANX.js.map} +0 -0
  825. /package/dist/{survival-BG7QV52L.js.map → survival-EBD4DHO7.js.map} +0 -0
  826. /package/dist/{survival-WSN36OQE.js.map → survival-ISLRRPKU.js.map} +0 -0
  827. /package/dist/{survival.integration.spec-37KAJ5IK.js.map → survival.integration.spec-FS7V4OXK.js.map} +0 -0
  828. /package/dist/{svgraph-A5WGHW4S.js.map → svgraph-KGLNUM7W.js.map} +0 -0
  829. /package/dist/{svmr-CYRHHWZF.js.map → svmr-NXZ5VLKH.js.map} +0 -0
  830. /package/dist/{table-VHO7E5PI.js.map → table-ISOQOI6C.js.map} +0 -0
  831. /package/dist/{termCollection-HSVSH7TJ.js.map → termCollection-7ZSU3I45.js.map} +0 -0
  832. /package/dist/{termCollection-E4Q6GLXN.js.map → termCollection-V2A5BDQB.js.map} +0 -0
  833. /package/dist/{termCollection.unit.spec-ZCE3TUMS.js.map → termCollection.unit.spec-6VLCJGOU.js.map} +0 -0
  834. /package/dist/{tk-GPRHDN4K.js.map → tk-6AB6XYIE.js.map} +0 -0
  835. /package/dist/{tp.ui-LTUA3FSL.js.map → tp.ui-2O4UW5N7.js.map} +0 -0
  836. /package/dist/{tvs.dt-G43PAAKD.js.map → tvs.dt-CY6TOQVB.js.map} +0 -0
  837. /package/dist/{tvs.dtcnv.categorical-UHDS2TGZ.js.map → tvs.dtcnv.categorical-AYQ432TW.js.map} +0 -0
  838. /package/dist/{tvs.dtcnv.continuous-ZNGYQKTD.js.map → tvs.dtcnv.continuous-XVDL6SG3.js.map} +0 -0
  839. /package/dist/{tvs.dtfusion-JBEEUDUS.js.map → tvs.dtfusion-V3AV7A6Q.js.map} +0 -0
  840. /package/dist/{tvs.dtsnvindel-XXN5Q7RN.js.map → tvs.dtsnvindel-XM3NXIT7.js.map} +0 -0
  841. /package/dist/{tvs.dtsv-MO6L7HHV.js.map → tvs.dtsv-Z2GYRINW.js.map} +0 -0
  842. /package/dist/{tvs.samplelst-HKY6UUJM.js.map → tvs.samplelst-C4FB63G7.js.map} +0 -0
  843. /package/dist/{tvs.termCollection-TY6FPL25.js.map → tvs.termCollection-VHTSC2ST.js.map} +0 -0
  844. /package/dist/{violin-YHE3WSGR.js.map → violin-KGGTUQFF.js.map} +0 -0
  845. /package/dist/{violin.integration.spec-F2UD7BHC.js.map → violin.integration.spec-5EW6PLJX.js.map} +0 -0
  846. /package/dist/{violin.interactivity-LVDTDEPQ.js.map → violin.interactivity-RI4RURGO.js.map} +0 -0
  847. /package/dist/{violin.renderer-IIEIUGRI.js.map → violin.renderer-EWU2IFZE.js.map} +0 -0
  848. /package/dist/{vocabulary-WQRYXBRO.js.map → vocabulary-VLIGC7OP.js.map} +0 -0
@@ -0,0 +1,2362 @@
1
+ import {
2
+ spliceevent_exonskip_getdefault_default
3
+ } from "./chunk-LSV4Z473.js";
4
+ import {
5
+ spliceevent_phrase_default
6
+ } from "./chunk-3QHIL3V3.js";
7
+ import {
8
+ legend_newrow
9
+ } from "./chunk-67QM2NUK.js";
10
+ import "./chunk-V2OJLJSK.js";
11
+ import "./chunk-DGUTCYH2.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-2YC6ZVE4.js";
23
+ import "./chunk-HJ6L54YS.js";
24
+ import "./chunk-RYCOJY7M.js";
25
+ import {
26
+ Menu
27
+ } from "./chunk-HYOEWQ5P.js";
28
+ import "./chunk-FN5XPUPH.js";
29
+ import "./chunk-G6O3URDN.js";
30
+ import "./chunk-LSEFWW72.js";
31
+ import "./chunk-KWM6B3NL.js";
32
+ import "./chunk-UCLS2SVB.js";
33
+ import {
34
+ dofetch2,
35
+ dofetch3
36
+ } from "./chunk-I55NLUCQ.js";
37
+ import "./chunk-MVTCBVSX.js";
38
+ import "./chunk-2K5DSRBJ.js";
39
+ import "./chunk-X4NI4JLQ.js";
40
+ import "./chunk-L4QG7XZE.js";
41
+ import "./chunk-DQC5FFGV.js";
42
+ import "./chunk-UWYCEYML.js";
43
+ import "./chunk-7UHUOC6F.js";
44
+ import "./chunk-ZYY54HBU.js";
45
+ import "./chunk-EGWVYY7K.js";
46
+ import {
47
+ IN_frame,
48
+ OUT_frame,
49
+ bplen,
50
+ defaultcolor,
51
+ spliceeventchangegmexon
52
+ } from "./chunk-AMYSEKPF.js";
53
+ import "./chunk-TV74I3Y5.js";
54
+ import {
55
+ category10_default
56
+ } from "./chunk-KSGA62R2.js";
57
+ import {
58
+ axisRight
59
+ } from "./chunk-LOZEKOES.js";
60
+ import "./chunk-TOU7EVFQ.js";
61
+ import {
62
+ linear,
63
+ log,
64
+ ordinal
65
+ } from "./chunk-OAWQ6LOO.js";
66
+ import "./chunk-KYBIQBXE.js";
67
+ import {
68
+ select_default
69
+ } from "./chunk-I6Y4O3RR.js";
70
+ import "./chunk-OMR2DT66.js";
71
+ import {
72
+ __commonJS,
73
+ __toESM
74
+ } from "./chunk-HFNDKYVF.js";
75
+
76
+ // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
77
+ var require_d3_beeswarm = __commonJS({
78
+ "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
79
+ (function(global, factory) {
80
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
81
+ })(exports, function(exports2) {
82
+ "use strict";
83
+ function beeswarm2() {
84
+ var data = [];
85
+ var radius = 4;
86
+ var orientation = "horizontal";
87
+ var side = "symetric";
88
+ var distributeOn = (
89
+ // accessor to the x value
90
+ function(datum) {
91
+ return datum.x;
92
+ }
93
+ );
94
+ var minDistanceBetweenCircles;
95
+ var minSquareDistanceBetweenCircles;
96
+ var xBasedDataManager;
97
+ var xBasedColliderManager;
98
+ var yBasedColliderManager;
99
+ var arrangement;
100
+ var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
101
+ function _beeswarm() {
102
+ }
103
+ _beeswarm.data = function(_) {
104
+ if (!arguments.length) {
105
+ return data;
106
+ }
107
+ data = _;
108
+ return _beeswarm;
109
+ };
110
+ _beeswarm.radius = function(_) {
111
+ if (!arguments.length) {
112
+ return radius;
113
+ }
114
+ radius = _;
115
+ return _beeswarm;
116
+ };
117
+ _beeswarm.orientation = function(_) {
118
+ if (!arguments.length) {
119
+ return orientation;
120
+ }
121
+ if (_ === "horizontal" || _ === "vertical") {
122
+ orientation = _;
123
+ }
124
+ return _beeswarm;
125
+ };
126
+ _beeswarm.side = function(_) {
127
+ if (!arguments.length) {
128
+ return side;
129
+ }
130
+ if (_ === "symetric" || _ === "positive" || _ === "negative") {
131
+ side = _;
132
+ }
133
+ return _beeswarm;
134
+ };
135
+ _beeswarm.distributeOn = function(_) {
136
+ if (!arguments.length) {
137
+ return distributeOn;
138
+ }
139
+ distributeOn = _;
140
+ return _beeswarm;
141
+ };
142
+ _beeswarm.arrange = function() {
143
+ initArrangement();
144
+ arrangement.forEach(function(d) {
145
+ var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
146
+ if (xBasedPossibleColliders.length === 0) {
147
+ bestYPosition = 0;
148
+ } else {
149
+ yBasedColliderManager.clear();
150
+ yBasedColliderManager.addMany(xBasedPossibleColliders);
151
+ d.free = 0;
152
+ if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
153
+ bestYPosition = 0;
154
+ totalVisitedColliders += visitedColliderCount;
155
+ if (visitedColliderCount > maxVisitedColliders) {
156
+ maxVisitedColliders = visitedColliderCount;
157
+ }
158
+ visitedColliderCount = 0;
159
+ totalTestedPlacements += 1;
160
+ } else {
161
+ xBasedPossibleColliders.forEach(function(xbpc) {
162
+ relativeYPos = yPosRelativeToXbpc(xbpc, d);
163
+ placeBelow(d, xbpc, relativeYPos);
164
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
165
+ bestYPosition = d.free;
166
+ }
167
+ totalVisitedColliders += visitedColliderCount;
168
+ if (visitedColliderCount > maxVisitedColliders) {
169
+ maxVisitedColliders = visitedColliderCount;
170
+ }
171
+ visitedColliderCount = 0;
172
+ totalTestedPlacements += 1;
173
+ placeAbove(d, xbpc, relativeYPos);
174
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
175
+ bestYPosition = d.free;
176
+ }
177
+ totalVisitedColliders += visitedColliderCount;
178
+ if (visitedColliderCount > maxVisitedColliders) {
179
+ maxVisitedColliders = visitedColliderCount;
180
+ }
181
+ visitedColliderCount = 0;
182
+ totalTestedPlacements += 1;
183
+ });
184
+ }
185
+ }
186
+ ;
187
+ d.free = bestYPosition;
188
+ if (orientation === "horizontal") {
189
+ d.x = d.fixed;
190
+ d.y = bestYPosition;
191
+ } else {
192
+ d.x = bestYPosition;
193
+ d.y = d.fixed;
194
+ }
195
+ xBasedColliderManager.add(d);
196
+ });
197
+ return arrangement;
198
+ };
199
+ _beeswarm.metrics = function() {
200
+ return {
201
+ totalPossibleColliders,
202
+ maxPossibleColliders,
203
+ totalTestedPlacements,
204
+ visitedColliderCount,
205
+ totalVisitedColliders,
206
+ maxVisitedColliders
207
+ };
208
+ };
209
+ function initArrangement() {
210
+ arrangement = data.map(function(d, i) {
211
+ return {
212
+ datum: d,
213
+ id: i,
214
+ fixed: distributeOn(d),
215
+ free: -Infinity
216
+ };
217
+ });
218
+ minDistanceBetweenCircles = 2 * radius;
219
+ minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
220
+ xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
221
+ return d.fixed;
222
+ }).addMany(arrangement);
223
+ xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
224
+ return d.fixed;
225
+ });
226
+ yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
227
+ return d.free;
228
+ });
229
+ totalPossibleColliders = maxPossibleColliders = 0;
230
+ totalTestedPlacements = 0;
231
+ visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
232
+ }
233
+ function findNearestPossibleCollider(dln, visitedDln, direction) {
234
+ if (visitedDln === null) {
235
+ return null;
236
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
237
+ return null;
238
+ } else {
239
+ if (isFinite(visitedDln.datum.free)) {
240
+ return visitedDln.datum;
241
+ }
242
+ return findNearestPossibleCollider(dln, visitedDln[direction], direction);
243
+ }
244
+ }
245
+ function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
246
+ if (visitedDln === null) {
247
+ return;
248
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
249
+ return;
250
+ } else {
251
+ xBasedPossibleColliders.push(visitedDln.datum);
252
+ visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
253
+ }
254
+ }
255
+ function gatherXBasedPossibleColliders(datum) {
256
+ var xBasedPossibleColliders = [];
257
+ var dln = xBasedDataManager.dln(datum);
258
+ var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
259
+ var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
260
+ if (nearestXPrevAlreadyArrangedData != null) {
261
+ dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
262
+ visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
263
+ }
264
+ if (nearestXNextAlreadyArrangedData != null) {
265
+ dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
266
+ visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
267
+ }
268
+ totalPossibleColliders += xBasedPossibleColliders.length;
269
+ if (xBasedPossibleColliders.length > maxPossibleColliders) {
270
+ maxPossibleColliders = xBasedPossibleColliders.length;
271
+ }
272
+ return xBasedPossibleColliders;
273
+ }
274
+ function isAuthorizedPlacement(datum) {
275
+ if (side === "symetric") {
276
+ return true;
277
+ } else if (side === "positive") {
278
+ return datum.free >= 0;
279
+ } else {
280
+ return datum.free <= 0;
281
+ }
282
+ }
283
+ function isBetterPlacement(datum, bestYPosition) {
284
+ return Math.abs(datum.free) < Math.abs(bestYPosition);
285
+ }
286
+ function yPosRelativeToXbpc(xbpc, d) {
287
+ return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
288
+ }
289
+ function placeBelow(d, aad, relativeYPos) {
290
+ d.free = aad.free - relativeYPos;
291
+ }
292
+ function placeAbove(d, aad, relativeYPos) {
293
+ d.free = aad.free + relativeYPos;
294
+ }
295
+ function areCirclesColliding(d0, d1) {
296
+ visitedColliderCount++;
297
+ return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
298
+ }
299
+ function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
300
+ if (visitedDln === null) {
301
+ return false;
302
+ } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
303
+ return false;
304
+ } else if (areCirclesColliding(datum, visitedDln.datum)) {
305
+ return true;
306
+ } else {
307
+ return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
308
+ }
309
+ }
310
+ function collidesWithOther(datum, visitedDln) {
311
+ var visitCount = 0;
312
+ if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
313
+ return true;
314
+ } else {
315
+ return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
316
+ }
317
+ }
318
+ function SortedDirectAccessDoublyLinkedList() {
319
+ this._valueAccesor = // accessor to the value to sort on
320
+ function(obj) {
321
+ return obj.value;
322
+ };
323
+ this._min = null;
324
+ this._max = null;
325
+ this._closestTo0 = null;
326
+ this.size = 0;
327
+ this._idToNode = {};
328
+ }
329
+ SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
330
+ if (!arguments.length) {
331
+ return this._valueAccesor;
332
+ }
333
+ this._valueAccesor = _;
334
+ return this;
335
+ };
336
+ SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
337
+ return this._closestTo0;
338
+ };
339
+ SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
340
+ this._min = null;
341
+ this._max = null;
342
+ this._closestTo0 = null;
343
+ this.size = 0;
344
+ this._idToNode = {};
345
+ return this;
346
+ };
347
+ SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
348
+ return this._idToNode[datum.id];
349
+ };
350
+ SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
351
+ data2.forEach(function(datum, item) {
352
+ this.add(datum);
353
+ }, this);
354
+ return this;
355
+ };
356
+ SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
357
+ var dln = {
358
+ datum,
359
+ // original datum
360
+ value: this._valueAccesor(datum),
361
+ prev: null,
362
+ // previous value-based node
363
+ next: null
364
+ // next value-based node
365
+ };
366
+ if (this.size === 0) {
367
+ this._min = this._max = this._closestTo0 = dln;
368
+ } else {
369
+ if (dln.value <= this._min.value) {
370
+ dln.next = this._min;
371
+ dln.next.prev = dln;
372
+ this._min = dln;
373
+ } else if (dln.value >= this._max.value) {
374
+ dln.prev = this._max;
375
+ dln.prev.next = dln;
376
+ this._max = dln;
377
+ } else {
378
+ var current = this._max;
379
+ while (current.value > dln.value) {
380
+ current = current.prev;
381
+ }
382
+ dln.prev = current;
383
+ dln.next = current.next;
384
+ dln.next.prev = dln;
385
+ dln.prev.next = dln;
386
+ }
387
+ if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
388
+ this._closestTo0 = dln;
389
+ }
390
+ }
391
+ this._idToNode[dln.datum.id] = dln;
392
+ this.size++;
393
+ return this;
394
+ };
395
+ SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
396
+ var dln = this.dln(datum);
397
+ if (this.size === 1) {
398
+ this._min = this._max = this._closestTo0 = null;
399
+ } else {
400
+ if (dln === this._closestTo0) {
401
+ if (this._closestTo0.next === null) {
402
+ this._closestTo0 = dln.prev;
403
+ } else if (this.closestToZero.prev === null) {
404
+ this._closestTo0 = dln.prev;
405
+ } else {
406
+ var prevAbsValue = Math.abs(this._closestTo0.prev.value);
407
+ var nextAbsValue = Math.abs(this._closestTo0.next.value);
408
+ if (prevAbsValue < nextAbsValue) {
409
+ this._closestTo0 = this._closestTo0.prev;
410
+ } else {
411
+ this._closestTo0 = this._closestTo0.next;
412
+ }
413
+ }
414
+ }
415
+ if (dln === this._min) {
416
+ this._min = this._min.next;
417
+ this._min.prev = null;
418
+ } else if (dln === this._max) {
419
+ this._max = this._max.prev;
420
+ this._max.next = null;
421
+ } else {
422
+ dln.next.prev = dln.prev;
423
+ dln.prev.next = dln.next;
424
+ }
425
+ }
426
+ dln = null;
427
+ delete this._idToNode[datum.id];
428
+ this.size--;
429
+ return this;
430
+ };
431
+ return _beeswarm;
432
+ }
433
+ ;
434
+ exports2.beeswarm = beeswarm2;
435
+ Object.defineProperty(exports2, "__esModule", { value: true });
436
+ });
437
+ }
438
+ });
439
+
440
+ // src/spliceevent.prep.js
441
+ function mapjunctiontoexons(junctions, genes) {
442
+ for (const j of junctions) {
443
+ j.exonleft = [];
444
+ j.exonright = [];
445
+ j.exonleftin = [];
446
+ j.exonrightin = [];
447
+ j.intronleft = [];
448
+ j.intronright = [];
449
+ j.leftout = [];
450
+ j.rightout = [];
451
+ j.matchisoform = [];
452
+ }
453
+ const usegenes = [];
454
+ for (const gene of genes) {
455
+ let use = false;
456
+ for (const j of junctions) {
457
+ if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
458
+ use = true;
459
+ break;
460
+ }
461
+ }
462
+ if (use) {
463
+ usegenes.push(gene);
464
+ }
465
+ }
466
+ if (usegenes.length == 0) {
467
+ return;
468
+ }
469
+ const leftpos = /* @__PURE__ */ new Map();
470
+ const rightpos = /* @__PURE__ */ new Map();
471
+ for (const j of junctions) {
472
+ if (!leftpos.has(j.start)) {
473
+ leftpos.set(j.start, []);
474
+ }
475
+ leftpos.get(j.start).push(j);
476
+ if (!rightpos.has(j.stop)) {
477
+ rightpos.set(j.stop, []);
478
+ }
479
+ rightpos.get(j.stop).push(j);
480
+ }
481
+ for (const [pos, jlst] of leftpos) {
482
+ for (const gm of usegenes) {
483
+ if (!gm.exon) continue;
484
+ for (let i = 0; i < gm.exon.length; i++) {
485
+ if (gm.exon[i][1] - 1 == pos) {
486
+ for (const j of jlst) {
487
+ j.exonleft.push({
488
+ gm,
489
+ exonidx: i
490
+ });
491
+ }
492
+ }
493
+ if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
494
+ for (const j of jlst) {
495
+ j.exonleftin.push({
496
+ gm,
497
+ exonidx: i
498
+ });
499
+ }
500
+ }
501
+ }
502
+ if (gm.intron) {
503
+ for (let i = 0; i < gm.intron.length; i++) {
504
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
505
+ for (const j of jlst) {
506
+ j.intronleft.push({
507
+ gm,
508
+ intronidx: i
509
+ });
510
+ }
511
+ }
512
+ }
513
+ }
514
+ }
515
+ }
516
+ for (const [pos, jlst] of rightpos) {
517
+ for (const gm of usegenes) {
518
+ if (!gm.exon) continue;
519
+ for (let i = 0; i < gm.exon.length; i++) {
520
+ if (gm.exon[i][0] == pos) {
521
+ for (const j of jlst) {
522
+ j.exonright.push({
523
+ gm,
524
+ exonidx: i
525
+ });
526
+ }
527
+ }
528
+ if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
529
+ for (const j of jlst) {
530
+ j.exonrightin.push({
531
+ gm,
532
+ exonidx: i
533
+ });
534
+ }
535
+ }
536
+ }
537
+ if (gm.intron) {
538
+ for (let i = 0; i < gm.intron.length; i++) {
539
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
540
+ for (const j of jlst) {
541
+ j.intronright.push({
542
+ gm,
543
+ intronidx: i
544
+ });
545
+ }
546
+ }
547
+ }
548
+ }
549
+ }
550
+ }
551
+ for (const j of junctions) {
552
+ {
553
+ const isoforms = /* @__PURE__ */ new Set();
554
+ for (const q of j.exonleft) isoforms.add(q.gm.isoform);
555
+ for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
556
+ for (const q of j.intronleft) isoforms.add(q.gm.isoform);
557
+ if (isoforms.size) {
558
+ for (const gm of usegenes) {
559
+ if (!isoforms.has(gm.isoform)) continue;
560
+ if (gm.stop <= j.stop) {
561
+ j.rightout.push({
562
+ gm
563
+ });
564
+ }
565
+ }
566
+ }
567
+ }
568
+ {
569
+ const isoforms = /* @__PURE__ */ new Set();
570
+ for (const q of j.exonright) isoforms.add(q.gm.isoform);
571
+ for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
572
+ for (const q of j.intronright) isoforms.add(q.gm.isoform);
573
+ if (isoforms.size) {
574
+ for (const gm of usegenes) {
575
+ if (!isoforms.has(gm.isoform)) continue;
576
+ if (gm.start > j.start) {
577
+ j.leftout.push({
578
+ gm
579
+ });
580
+ }
581
+ }
582
+ }
583
+ }
584
+ }
585
+ for (const j of junctions) {
586
+ if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
587
+ for (const el of j.exonleft) {
588
+ for (const er of j.exonright) {
589
+ if (el.gm.isoform == er.gm.isoform) {
590
+ j.matchisoform.push({
591
+ gm: el.gm,
592
+ leftexonidx: el.exonidx,
593
+ rightexonidx: er.exonidx
594
+ });
595
+ }
596
+ }
597
+ }
598
+ }
599
+ }
600
+
601
+ // src/spliceevent.exonskip.js
602
+ var exonskipcolor = "#99004d";
603
+ var exonaltcolor = "#004d99";
604
+ function findexonskipping(multisample, junctions, gmdata) {
605
+ const allevents = [];
606
+ for (const j0 of junctions) {
607
+ if (!j0.matchisoform || j0.matchisoform.length == 0) {
608
+ continue;
609
+ }
610
+ for (const j0isoform of j0.matchisoform) {
611
+ const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
612
+ const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
613
+ if (j0exonend - j0exonbegin <= 1) {
614
+ continue;
615
+ }
616
+ const jB = j0;
617
+ const thisevent = {
618
+ skippedexon: [],
619
+ junctionB: jB,
620
+ junctionAlst: []
621
+ };
622
+ for (let i = j0exonbegin + 1; i < j0exonend; i++) {
623
+ thisevent.skippedexon.push(i);
624
+ }
625
+ let gmB = null;
626
+ for (const gm of gmdata) {
627
+ if (!gm.intron) continue;
628
+ for (const i of gm.intron) {
629
+ if (i[0] - 1 == jB.start && i[1] == jB.stop) {
630
+ gmB = gm;
631
+ break;
632
+ }
633
+ }
634
+ if (gmB) {
635
+ break;
636
+ }
637
+ }
638
+ if (gmB) {
639
+ thisevent.isaltexon = true;
640
+ thisevent.color = exonaltcolor;
641
+ thisevent.gmA = j0isoform.gm;
642
+ thisevent.gmB = gmB;
643
+ } else {
644
+ thisevent.isskipexon = true;
645
+ thisevent.color = exonskipcolor;
646
+ thisevent.gm = j0isoform.gm;
647
+ const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
648
+ if (utr3) thisevent.utr3 = true;
649
+ if (utr5) thisevent.utr5 = true;
650
+ if (coding) thisevent.coding = true;
651
+ }
652
+ {
653
+ const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
654
+ for (const ja of jAlst) {
655
+ thisevent.junctionAlst.push(ja);
656
+ }
657
+ }
658
+ if (thisevent.isskipexon) {
659
+ findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
660
+ }
661
+ if (multisample) {
662
+ if (!jB.data) {
663
+ console.error("exonskip: jB.data missing when it is multi-sample");
664
+ continue;
665
+ }
666
+ if (jB.data.length == 0) {
667
+ console.error("exonskip: jB.data.length==0");
668
+ continue;
669
+ }
670
+ let percentagesamplesum = 0;
671
+ for (const sampleBdata of jB.data) {
672
+ const bcount = sampleBdata.v;
673
+ let acountsum = 0;
674
+ for (const junctionA of thisevent.junctionAlst) {
675
+ if (!junctionA) {
676
+ continue;
677
+ }
678
+ if (!junctionA.data) {
679
+ console.log("exonskip: jA.data missing when multi-sample");
680
+ continue;
681
+ }
682
+ for (const sampleAdata of junctionA.data) {
683
+ if (sampleAdata.tkid == sampleBdata.tkid) {
684
+ acountsum += sampleAdata.v;
685
+ break;
686
+ }
687
+ }
688
+ }
689
+ percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
690
+ }
691
+ thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
692
+ } else {
693
+ let asum = 0;
694
+ for (const _j of thisevent.junctionAlst) {
695
+ asum += _j ? _j.data[0].v : 0;
696
+ }
697
+ thisevent.percentage = Math.ceil(
698
+ 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
699
+ );
700
+ }
701
+ allevents.push(thisevent);
702
+ }
703
+ }
704
+ const exoncoords = /* @__PURE__ */ new Map();
705
+ for (const evt of allevents) {
706
+ const positionlst = [];
707
+ for (const eid of evt.skippedexon) {
708
+ let thisexon;
709
+ if (evt.isskipexon) {
710
+ thisexon = evt.gm.exon[eid];
711
+ } else {
712
+ thisexon = evt.gmA.exon[eid];
713
+ }
714
+ positionlst.push(thisexon[0]);
715
+ positionlst.push(thisexon[1]);
716
+ }
717
+ if (positionlst.length == 0) {
718
+ console.error("not possible: no skipped exon position for exon-skip");
719
+ console.log(evt);
720
+ continue;
721
+ }
722
+ positionlst.sort();
723
+ const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
724
+ if (!exoncoords.has(posstr)) {
725
+ exoncoords.set(posstr, []);
726
+ }
727
+ exoncoords.get(posstr).push(evt);
728
+ }
729
+ const eventsetlst = [];
730
+ for (const eventlst of exoncoords.values()) {
731
+ const thisset = {
732
+ eventlst,
733
+ exonlst: []
734
+ // each exon: {start:, stop:}
735
+ };
736
+ eventsetlst.push(thisset);
737
+ const firstevent = eventlst[0];
738
+ for (const eid of firstevent.skippedexon) {
739
+ const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
740
+ const thisexon = gm.exon[eid];
741
+ thisset.exonlst.push({
742
+ chr: gm.chr,
743
+ start: thisexon[0],
744
+ stop: thisexon[1]
745
+ });
746
+ }
747
+ let eventcount_skip = 0, eventcount_alt = 0;
748
+ for (const evt of eventlst) {
749
+ if (evt.isskipexon) {
750
+ eventcount_skip++;
751
+ } else {
752
+ eventcount_alt++;
753
+ }
754
+ }
755
+ thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
756
+ const exonnumberset = /* @__PURE__ */ new Set();
757
+ for (const evt of eventlst) {
758
+ const thisexonnumbers = [];
759
+ for (const eid of evt.skippedexon) {
760
+ thisexonnumbers.push(eid + 1);
761
+ }
762
+ exonnumberset.add(thisexonnumbers.join(","));
763
+ }
764
+ if (exonnumberset.size == 1) {
765
+ thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
766
+ } else {
767
+ thisset.toplabelsays = "exon ";
768
+ }
769
+ thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
770
+ if (multisample) {
771
+ let samplecount = 0;
772
+ for (const evt of eventlst) {
773
+ samplecount = Math.max(samplecount, evt.junctionB.data.length);
774
+ }
775
+ thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
776
+ }
777
+ thisset.bottomlabelsays = firstevent.percentage + "%";
778
+ }
779
+ return eventsetlst;
780
+ }
781
+ function findjunctionbystartstop(lst, p1, p2) {
782
+ const start = Math.min(p1, p2);
783
+ const stop = Math.max(p1, p2);
784
+ for (const j of lst) {
785
+ if (j.start == start && j.stop == stop) return j;
786
+ }
787
+ return null;
788
+ }
789
+ function findjunctionAlst(junctions, gm, exonbegin, exonend) {
790
+ const lst = [];
791
+ const exonstart = Math.min(exonbegin, exonend);
792
+ const exonstop = Math.max(exonbegin, exonend);
793
+ if (gm.strand == "+") {
794
+ for (let i = exonstart; i < exonstop; i++) {
795
+ const p1 = gm.exon[i][1] - 1;
796
+ const p2 = gm.exon[i + 1][0];
797
+ lst.push(findjunctionbystartstop(junctions, p1, p2));
798
+ }
799
+ } else {
800
+ for (let i = exonstop; i > exonstart; i--) {
801
+ const p1 = gm.exon[i][1] - 1;
802
+ const p2 = gm.exon[i - 1][0];
803
+ lst.unshift(findjunctionbystartstop(junctions, p1, p2));
804
+ }
805
+ }
806
+ return lst;
807
+ }
808
+ function findupdown1junction4exonskip(evt, gm, junctions) {
809
+ let exonidx = evt.skippedexon[0];
810
+ if (exonidx > 1) {
811
+ let p1, p2;
812
+ if (gm.strand == "+") {
813
+ p1 = gm.exon[exonidx - 2][1] - 1;
814
+ p2 = gm.exon[exonidx - 1][0];
815
+ } else {
816
+ p1 = gm.exon[exonidx - 1][1] - 1;
817
+ p2 = gm.exon[exonidx - 2][0];
818
+ }
819
+ evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
820
+ }
821
+ exonidx = evt.skippedexon[evt.skippedexon.length - 1];
822
+ if (exonidx < gm.exon.length - 2) {
823
+ let p1, p2;
824
+ if (gm.strand == "+") {
825
+ p1 = gm.exon[exonidx + 1][1] - 1;
826
+ p2 = gm.exon[exonidx + 2][0];
827
+ } else {
828
+ p1 = gm.exon[exonidx + 2][1] - 1;
829
+ p2 = gm.exon[exonidx + 1][0];
830
+ }
831
+ evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
832
+ }
833
+ }
834
+ function checkexoncodingutr(exonidlst, gm) {
835
+ if (!gm.coding) {
836
+ return [false, false, false];
837
+ }
838
+ let exonstart = gm.exon[exonidlst[0]][0];
839
+ let exonstop = gm.exon[exonidlst[0]][1];
840
+ for (const idx of exonidlst) {
841
+ exonstart = Math.min(gm.exon[idx][0], exonstart);
842
+ exonstop = Math.max(gm.exon[idx][1], exonstop);
843
+ }
844
+ const forward = gm.strand == "+";
845
+ let utr3 = false, utr5 = false, coding = false;
846
+ if (exonstop <= gm.codingstart) {
847
+ if (forward) {
848
+ utr5 = true;
849
+ } else {
850
+ utr3 = true;
851
+ }
852
+ } else if (exonstart >= gm.codingstop) {
853
+ if (forward) {
854
+ utr3 = true;
855
+ } else {
856
+ utr5 = true;
857
+ }
858
+ } else {
859
+ coding = true;
860
+ }
861
+ return [utr3, utr5, coding];
862
+ }
863
+
864
+ // src/block.tk.junction.spliceevent.js
865
+ function spliceeventanalyze(tk, block) {
866
+ if (tk.eventsg) {
867
+ tk.eventsg.selectAll("*").remove();
868
+ }
869
+ if (tk.type != tkt.junction) {
870
+ return;
871
+ }
872
+ if (!tk.data) {
873
+ return;
874
+ }
875
+ if (tk.data.length == 0) {
876
+ return;
877
+ }
878
+ const [gmdataerr, gmdata] = getgmdata(block);
879
+ if (gmdataerr) {
880
+ const fontsize = 12;
881
+ const pad = 2;
882
+ tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
883
+ tk.eventsg.append("text").text(gmdataerr).attr("font-family", font).attr("font-size", fontsize).attr("fill", "#858585").attr("text-anchor", "middle").attr("x", block.width / 2).attr("y", pad + fontsize / 2).attr("dominant-baseline", "central");
884
+ tk.height_main += pad * 2 + fontsize;
885
+ block.block_setheight();
886
+ return;
887
+ }
888
+ if (!gmdata) {
889
+ return;
890
+ }
891
+ for (const junction of tk.data) {
892
+ delete junction.spliceevents;
893
+ }
894
+ mapjunctiontoexons(tk.data, gmdata);
895
+ const allevents = [];
896
+ const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
897
+ if (exonskipalt.length > 0) {
898
+ for (const exonset of exonskipalt) {
899
+ if (exonlstoutofrange(exonset.exonlst, block)) {
900
+ continue;
901
+ }
902
+ allevents.push(exonset);
903
+ for (const thisevt of exonset.eventlst) {
904
+ if (!thisevt.junctionB.spliceevents) {
905
+ thisevt.junctionB.spliceevents = [];
906
+ }
907
+ thisevt.junctionB.spliceevents.push(thisevt);
908
+ }
909
+ }
910
+ }
911
+ if (allevents.length) {
912
+ rendereventsintrack(allevents, tk, block);
913
+ }
914
+ }
915
+ function rendereventsintrack(allevents, tk, block) {
916
+ const labelfontsize = 10;
917
+ const stackspace = 1;
918
+ const boxlabelspacing = 2;
919
+ let stackheight;
920
+ if (tk.totalsamplecount > 1) {
921
+ stackheight = labelfontsize * 3 + stackspace * 2;
922
+ } else {
923
+ stackheight = labelfontsize * 2 + stackspace;
924
+ }
925
+ for (const eventset of allevents) {
926
+ eventset.g = tk.eventsg.append("g");
927
+ const junctionB = eventset.eventlst[0].junctionB;
928
+ const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
929
+ eventset.toplabel = eventset.g.append("text").text(eventset.toplabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize / 2).attr("dominant-baseline", "central");
930
+ if (tk.totalsamplecount > 1) {
931
+ eventset.middlelabel = eventset.g.append("text").text(eventset.middlelabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize * 1.5).attr("dominant-baseline", "central");
932
+ }
933
+ let willshowframe = false;
934
+ let thiseventframe = null;
935
+ for (const evt of eventset.eventlst) {
936
+ if (evt.isaltexon) {
937
+ evt.framenocheck = true;
938
+ continue;
939
+ }
940
+ if (evt.isskipexon) {
941
+ if (!evt.gm.coding) {
942
+ evt.framenocheck = true;
943
+ continue;
944
+ }
945
+ if (evt.utr3 || evt.utr5) {
946
+ evt.framenocheck = true;
947
+ continue;
948
+ }
949
+ }
950
+ willshowframe = true;
951
+ if (block.genome.junctionframecache.has(jbstr)) {
952
+ let isoform;
953
+ if (evt.isskipexon) {
954
+ isoform = evt.gm.isoform;
955
+ }
956
+ const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
957
+ if (thisframe == void 0) {
958
+ } else {
959
+ evt.frame = thisframe;
960
+ if (thiseventframe == null) {
961
+ thiseventframe = thisframe;
962
+ } else {
963
+ if (thisframe == IN_frame) {
964
+ thiseventframe = IN_frame;
965
+ }
966
+ }
967
+ }
968
+ } else {
969
+ }
970
+ }
971
+ eventset.bottomlabel = eventset.g.append("text").text(
972
+ eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
973
+ ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
974
+ if (willshowframe && thiseventframe == null) {
975
+ for (const evt of eventset.eventlst) {
976
+ let gm;
977
+ if (evt.isaltexon) {
978
+ gm = evt.gmB;
979
+ } else if (evt.isskipexon) {
980
+ gm = evt.gm;
981
+ }
982
+ if (!block.genome.junctionframecache.has(jbstr)) {
983
+ checkjunctionframe({
984
+ jbstr,
985
+ evt,
986
+ gm,
987
+ block,
988
+ eventset
989
+ });
990
+ continue;
991
+ }
992
+ if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
993
+ checkjunctionframe({
994
+ jbstr,
995
+ evt,
996
+ gm,
997
+ block,
998
+ eventset
999
+ });
1000
+ }
1001
+ }
1002
+ }
1003
+ const exonobjlst = [];
1004
+ let boxstart = null, boxstop;
1005
+ for (const exon of eventset.exonlst) {
1006
+ const pointa = block.seekcoord(exon.chr, exon.start)[0];
1007
+ if (!pointa) {
1008
+ console.log("skipped exon start position not mapped: " + exon.start);
1009
+ return;
1010
+ }
1011
+ const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1012
+ if (!pointb) {
1013
+ console.log("skipped exon stop position not mapped: " + exon.stop);
1014
+ return;
1015
+ }
1016
+ const exonobj = {
1017
+ x: Math.min(pointa.x, pointb.x),
1018
+ w: Math.max(1, Math.abs(pointa.x - pointb.x))
1019
+ };
1020
+ exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1021
+ console.log(eventset);
1022
+ });
1023
+ if (boxstart == null) {
1024
+ boxstart = exonobj.x;
1025
+ boxstop = exonobj.x + exonobj.w;
1026
+ } else {
1027
+ boxstart = Math.min(boxstart, exonobj.x);
1028
+ boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1029
+ }
1030
+ exonobjlst.push(exonobj);
1031
+ }
1032
+ for (const exon of exonobjlst) {
1033
+ exon.rect.attr("x", exon.x - boxstart);
1034
+ }
1035
+ eventset.boxstart = boxstart;
1036
+ eventset.boxwidth = boxstop - boxstart;
1037
+ if (eventset.exonlst.length > 1) {
1038
+ eventset.g.append("line").attr("stroke", eventset.color).attr("stroke-opacity", 0.2).attr("stroke-width", 2).attr("shape-rendering", "crispEdges").attr("x1", 0).attr("x2", eventset.boxwidth).attr("y1", stackheight / 2 - 0.5).attr("y2", stackheight / 2 - 0.5);
1039
+ }
1040
+ eventset.toplabel.each(function() {
1041
+ eventset.labelwidth = this.getBBox().width;
1042
+ });
1043
+ if (eventset.middlelabel) {
1044
+ eventset.middlelabel.each(function() {
1045
+ eventset.labelwidth = this.getBBox().width;
1046
+ });
1047
+ }
1048
+ eventset.bottomlabel.each(function() {
1049
+ eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1050
+ });
1051
+ if (eventset.labelwidth > eventset.boxstart) {
1052
+ eventset.labelonright = true;
1053
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1054
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1055
+ if (eventset.middlelabel) {
1056
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1057
+ }
1058
+ } else {
1059
+ eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1060
+ eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1061
+ if (eventset.middlelabel) {
1062
+ eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1063
+ }
1064
+ }
1065
+ eventset.cover = eventset.g.append("rect").attr("x", eventset.labelonright ? 0 : -eventset.labelwidth - boxlabelspacing).attr("width", eventset.labelwidth + boxlabelspacing + eventset.boxwidth).attr("height", stackheight).attr("fill", "#858585").attr("fill-opacity", 0).on("mouseover", () => {
1066
+ eventset.cover.attr("fill-opacity", 0.1);
1067
+ }).on("mouseout", () => {
1068
+ eventset.cover.attr("fill-opacity", 0);
1069
+ }).on("click", () => {
1070
+ tk.tktip.clear();
1071
+ displayspliceevents(eventset.eventlst, tk.tktip.d);
1072
+ tk.tktip.showunder(eventset.cover.node());
1073
+ });
1074
+ }
1075
+ const stacks = [0];
1076
+ for (const eventset of allevents) {
1077
+ let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1078
+ let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1079
+ for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1080
+ if (x1 > stacks[stackidx]) {
1081
+ eventset.stackidx = stackidx;
1082
+ stacks[stackidx] = x2;
1083
+ break;
1084
+ }
1085
+ if (!eventset.labelonright) {
1086
+ const newx1 = eventset.boxstart;
1087
+ const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1088
+ if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1089
+ eventset.labelonright = true;
1090
+ eventset.stackidx = stackidx;
1091
+ stacks[stackidx] = newx2;
1092
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1093
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1094
+ if (eventset.middlelabel) {
1095
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1096
+ }
1097
+ eventset.cover.attr("x", 0);
1098
+ break;
1099
+ }
1100
+ }
1101
+ }
1102
+ if (eventset.stackidx == void 0) {
1103
+ eventset.stackidx = stacks.length;
1104
+ stacks.push(x2);
1105
+ }
1106
+ eventset.g.attr(
1107
+ "transform",
1108
+ "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1109
+ );
1110
+ }
1111
+ tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1112
+ block.block_setheight();
1113
+ }
1114
+ function checkjunctionframe(arg) {
1115
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1116
+ arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1117
+ }
1118
+ if (!arg.gm.coding) {
1119
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1120
+ mayupdateeventsetlabel(arg);
1121
+ return;
1122
+ }
1123
+ const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1124
+ dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1125
+ if (!data) {
1126
+ console.log("server error");
1127
+ return;
1128
+ }
1129
+ if (data.error) {
1130
+ console.log(data.error);
1131
+ return;
1132
+ }
1133
+ if (typeof data.frame != "boolean") {
1134
+ console.log("invalid result from translategm: " + data.frame);
1135
+ return;
1136
+ }
1137
+ arg.evt.frame = data.frame;
1138
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1139
+ mayupdateeventsetlabel(arg);
1140
+ });
1141
+ }
1142
+ function mayupdateeventsetlabel(arg) {
1143
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1144
+ return;
1145
+ }
1146
+ let frame = OUT_frame;
1147
+ for (const evt of arg.eventset.eventlst) {
1148
+ if (evt.framenocheck) {
1149
+ continue;
1150
+ }
1151
+ let isoform;
1152
+ if (evt.isskipexon) {
1153
+ isoform = evt.gm.isoform;
1154
+ }
1155
+ const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1156
+ if (thisframe == void 0) {
1157
+ return;
1158
+ }
1159
+ if (thisframe == IN_frame) {
1160
+ frame = IN_frame;
1161
+ }
1162
+ }
1163
+ arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1164
+ }
1165
+ function displayspliceevents(events, holder) {
1166
+ const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1167
+ if (events.length > 1) {
1168
+ holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1169
+ const name = Math.random().toString();
1170
+ for (const [idx, evt] of events.entries()) {
1171
+ const id = name + idx;
1172
+ const row = holder.append("div").style("margin-top", "3px");
1173
+ row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1174
+ displayspliceevents_show(events, idx, showdiv);
1175
+ });
1176
+ row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1177
+ }
1178
+ }
1179
+ const showdiv = holder.append("div");
1180
+ displayspliceevents_show(events, evt2showidx, showdiv);
1181
+ }
1182
+ function displayspliceevents_show(events, idx, div) {
1183
+ div.selectAll("*").remove();
1184
+ import("./spliceevent.exonskip.diagram-ETXMOHZ3.js").then((p) => {
1185
+ p.default({
1186
+ event: events[idx],
1187
+ holder: div,
1188
+ nophrase: events.length > 1
1189
+ });
1190
+ });
1191
+ }
1192
+ function exonlstoutofrange(lst, block) {
1193
+ const chr = lst[0].chr;
1194
+ let start = lst[0].start;
1195
+ let stop = lst[0].stop;
1196
+ for (const e of lst) {
1197
+ start = Math.min(start, e.start);
1198
+ stop = Math.max(stop, e.stop);
1199
+ }
1200
+ const starthit = block.seekcoord(chr, start)[0];
1201
+ const stophit = block.seekcoord(chr, stop)[0];
1202
+ if (!starthit || !stophit) {
1203
+ return true;
1204
+ }
1205
+ let startoutleft = false;
1206
+ let startoutright = false;
1207
+ if (starthit.x <= 0) {
1208
+ startoutleft = true;
1209
+ } else if (starthit.x >= block.width) {
1210
+ startoutright = true;
1211
+ }
1212
+ let stopoutleft = false;
1213
+ let stopoutright = false;
1214
+ if (stophit.x <= 0) {
1215
+ stopoutleft = true;
1216
+ } else if (stophit.x >= block.width) {
1217
+ stopoutright = true;
1218
+ }
1219
+ if (startoutleft && stopoutleft) return true;
1220
+ if (startoutright && stopoutright) return true;
1221
+ return false;
1222
+ }
1223
+ function getgmdata(block) {
1224
+ if (!block.gmmode || block.gmmode == gmmode.genomic) {
1225
+ const genetk = [];
1226
+ for (const t of block.tklst) {
1227
+ if (t.__isgene) {
1228
+ genetk.push(t);
1229
+ }
1230
+ }
1231
+ if (genetk.length == 0) {
1232
+ return ["Add a gene track to analyze splice junctions."];
1233
+ }
1234
+ const gmdatalst = [];
1235
+ for (const t of genetk) {
1236
+ if (t.gmdata) {
1237
+ for (const m of t.gmdata) {
1238
+ gmdatalst.push(m);
1239
+ }
1240
+ }
1241
+ }
1242
+ if (gmdatalst.length == 0) {
1243
+ return [null];
1244
+ }
1245
+ const regions = [];
1246
+ for (const m of gmdatalst) {
1247
+ let overlap = false;
1248
+ for (const r of regions) {
1249
+ if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1250
+ overlap = true;
1251
+ r.start = Math.min(r.start, m.start);
1252
+ r.stop = Math.max(r.stop, m.stop);
1253
+ break;
1254
+ }
1255
+ }
1256
+ if (!overlap) {
1257
+ regions.push({ start: m.start, stop: m.stop });
1258
+ }
1259
+ }
1260
+ if (regions.length >= 3) {
1261
+ return ["Zoom in on a single gene to analyze splice junctions."];
1262
+ }
1263
+ return [null, gmdatalst];
1264
+ }
1265
+ if (block.gmmode == gmmode.gmsum) {
1266
+ if (!block.allgm) {
1267
+ return ["Error: block.allgm[] is missing"];
1268
+ }
1269
+ return [null, block.allgm];
1270
+ }
1271
+ if (!block.usegm) {
1272
+ return ["Error: block.usegm is missing"];
1273
+ }
1274
+ return [null, [block.usegm]];
1275
+ }
1276
+
1277
+ // src/block.tk.junction.renderjunctions.js
1278
+ var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1279
+ var colorfunc = ordinal(category10_default);
1280
+ var minfontsize = 12;
1281
+ function rendertk(junctions, tk, block) {
1282
+ if (tk.data) {
1283
+ const map = /* @__PURE__ */ new Map();
1284
+ for (const j of tk.data) {
1285
+ map.set(j.chr + "." + j.start + "." + j.stop, j);
1286
+ }
1287
+ const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1288
+ for (const i of junctions) {
1289
+ const j = map.get(i.chr + "." + i.start + "." + i.stop);
1290
+ if (j) {
1291
+ i.x = j.x + pannedpx;
1292
+ i.mode = j.mode;
1293
+ i.modefix = j.modefix;
1294
+ if (i.mode == modesample) {
1295
+ i.mode = moderaise;
1296
+ }
1297
+ }
1298
+ }
1299
+ }
1300
+ tk.data = junctions;
1301
+ tk.glider.selectAll("*").remove();
1302
+ tk.leftaxis.selectAll("*").remove();
1303
+ if (tk.readcountcutoff) {
1304
+ const newj = [];
1305
+ for (const j of tk.data) {
1306
+ if (j.data) {
1307
+ const newsamples = [];
1308
+ for (const s of j.data) {
1309
+ if (s.v >= tk.readcountcutoff) {
1310
+ newsamples.push(s);
1311
+ }
1312
+ }
1313
+ if (newsamples.length == 0) {
1314
+ continue;
1315
+ }
1316
+ j.data = newsamples;
1317
+ newj.push(j);
1318
+ } else {
1319
+ if (j.v >= tk.readcountcutoff) {
1320
+ newj.push(j);
1321
+ }
1322
+ }
1323
+ }
1324
+ tk.data = newj;
1325
+ }
1326
+ if (tk.data.length == 0) {
1327
+ tk.height_main = 50;
1328
+ block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1329
+ tk.label_mcount.text("");
1330
+ if (tk.label_samplecount) {
1331
+ tk.label_samplecount.text("");
1332
+ }
1333
+ get_leftLabelMaxwidth(tk);
1334
+ block.setllabel();
1335
+ block.block_setheight();
1336
+ return;
1337
+ }
1338
+ tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1339
+ get_leftLabelMaxwidth(tk);
1340
+ block.setllabel();
1341
+ junctiontype2color(tk, block);
1342
+ const mg = tk.glider.append("g");
1343
+ tk.data.sort((a, b) => {
1344
+ return a._x - b._x;
1345
+ });
1346
+ let maxsamplecount = 0;
1347
+ if (tk.totalsamplecount > 1) {
1348
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1349
+ const radius = 5;
1350
+ let mrd = 0;
1351
+ const w = Math.pow(radius, 2) * Math.PI;
1352
+ if (maxsamplecount <= 10) {
1353
+ mrd = w * maxsamplecount * 0.9;
1354
+ } else if (maxsamplecount <= 100) {
1355
+ mrd = w * 10;
1356
+ } else if (maxsamplecount <= 1e3) {
1357
+ mrd = w * 14;
1358
+ } else {
1359
+ mrd = w * 20;
1360
+ }
1361
+ const sf_discradius = linear().domain([
1362
+ 1,
1363
+ maxsamplecount * 0.5 + 0.1,
1364
+ maxsamplecount * 0.6 + 0.1,
1365
+ maxsamplecount * 0.7 + 0.1,
1366
+ maxsamplecount * 0.8 + 0.1,
1367
+ maxsamplecount
1368
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1369
+ let maxradius = 0;
1370
+ for (const j of tk.data) {
1371
+ j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1372
+ if (j.data.length > 1) {
1373
+ mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1374
+ const b = this.getBBox();
1375
+ const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1376
+ j.radius = Math.max(j.radius, newrad);
1377
+ }).remove();
1378
+ }
1379
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1380
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1381
+ maxradius = Math.max(maxradius, j.radius2);
1382
+ }
1383
+ tk.maxradius = maxradius;
1384
+ } else {
1385
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1386
+ const radius = 5;
1387
+ let mrd = 0;
1388
+ const w = Math.pow(radius, 2) * Math.PI;
1389
+ if (maxsamplecount <= 10) {
1390
+ mrd = w * maxsamplecount * 0.9;
1391
+ } else if (maxsamplecount <= 100) {
1392
+ mrd = w * 5;
1393
+ } else if (maxsamplecount <= 1e3) {
1394
+ mrd = w * 7;
1395
+ } else {
1396
+ mrd = w * 10;
1397
+ }
1398
+ const sf_discradius = linear().domain([
1399
+ 1,
1400
+ maxsamplecount * 0.5 + 0.1,
1401
+ maxsamplecount * 0.6 + 0.1,
1402
+ maxsamplecount * 0.7 + 0.1,
1403
+ maxsamplecount * 0.8 + 0.1,
1404
+ maxsamplecount
1405
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1406
+ let maxradius = 0;
1407
+ for (const j of tk.data) {
1408
+ j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1409
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1410
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1411
+ maxradius = Math.max(maxradius, j.radius2);
1412
+ }
1413
+ tk.maxradius = maxradius;
1414
+ }
1415
+ let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1416
+ for (const j of tk.data) {
1417
+ for (const s of j.data) {
1418
+ maxread = Math.max(s.v, maxread);
1419
+ }
1420
+ if (j.data.length == 1) {
1421
+ j.median = j.data[0].v;
1422
+ } else {
1423
+ const readlst = j.data.map((s) => s.v);
1424
+ readlst.sort((a, b) => a - b);
1425
+ j.median = readlst[Math.floor(j.data.length / 2)];
1426
+ }
1427
+ if (j.median > maxmedian) {
1428
+ maxmedian = j.median;
1429
+ maxmedianradius = j.radius;
1430
+ }
1431
+ }
1432
+ tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1433
+ axisstyle({
1434
+ axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1435
+ color: "black",
1436
+ showline: true
1437
+ });
1438
+ tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1439
+ tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1440
+ automode(tk, null, block.width);
1441
+ mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1442
+ {
1443
+ const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1444
+ mg.append("line").attr("x1", 0).attr("y1", topy).attr("y2", topy).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
1445
+ mg.append("line").attr("x1", 0).attr("y1", topy + tk.axisheight).attr("y2", topy + tk.axisheight).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
1446
+ let v = 10;
1447
+ while (v <= maxread) {
1448
+ mg.append("line").attr("x1", 0).attr("y1", topy + tk.yscale(v)).attr("y2", topy + tk.yscale(v)).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("stroke-dasharray", "4,4").attr("shape-rendering", "crispEdges");
1449
+ v *= 10;
1450
+ }
1451
+ }
1452
+ const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1453
+ j.jugg = this;
1454
+ });
1455
+ tk.jug = jug;
1456
+ if (tk.hljunctions) {
1457
+ jug.attr("class", (d) => {
1458
+ for (const j of tk.hljunctions) {
1459
+ if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1460
+ return "sja_pulse";
1461
+ }
1462
+ }
1463
+ return null;
1464
+ });
1465
+ }
1466
+ jug.append("line").attr("stroke", (d) => d.color).attr("x1", (d) => set_leg_x1(d)).attr("y2", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
1467
+ d.leg1 = this;
1468
+ }).classed("sja_jug_leg1", true);
1469
+ jug.append("line").attr("stroke", (d) => d.color).attr("x2", (d) => set_leg_x2(d)).attr("y1", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).classed("sja_jug_leg2", true).each(function(d) {
1470
+ d.leg2 = this;
1471
+ });
1472
+ const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1473
+ jug2.append("line").attr("stroke", (d) => d.color).classed("sja_jug_stem", true).attr("stroke-dasharray", "2,2").attr("shape-rendering", "crispEdges").attr("y1", (d) => set_stem_y1(d)).attr("y2", (d) => set_stem_y2(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
1474
+ d.stem = this;
1475
+ });
1476
+ jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1477
+ jug2.filter((d) => d.data.length > 1).append("text").text((d) => d.data.length).attr("font-size", (d) => Math.max(minfontsize, d.radius)).attr("fill-opacity", (d) => set_discnum(d)).classed("sja_jug_discnum", true).attr("fill", "white").attr("font-family", font).attr("text-anchor", "middle").attr("dominant-baseline", "central");
1478
+ jug2.append("circle").attr("r", (d) => d.radius).attr("stroke", (d) => d.color).classed("sja_aa_disckick", true).attr("fill", "white").attr("fill-opacity", 0).attr("stroke-opacity", 0).on("mouseover", (event, d) => {
1479
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1480
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1481
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1482
+ select_default(d.leg1).attr("stroke-opacity", 1);
1483
+ select_default(d.leg2).attr("stroke-opacity", 1);
1484
+ select_default(d.stem).attr("stroke-opacity", 1);
1485
+ if (d.mode == modefold) {
1486
+ foldedjunctioninfo(d, tk);
1487
+ return;
1488
+ }
1489
+ const circle = event.target.getBoundingClientRect();
1490
+ expandedjunctioninfo(d, tk, circle);
1491
+ }).on("mouseout", () => {
1492
+ tk.pica.g.selectAll("*").remove();
1493
+ tk.tktip.hide();
1494
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1495
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1496
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1497
+ }).on("mousedown", (event) => {
1498
+ event.stopPropagation();
1499
+ }).on("click", (event, d) => {
1500
+ if (d.mode == modefold) {
1501
+ d.mode = moderaise;
1502
+ } else if (d.mode == moderaise) {
1503
+ if (d.data.length == 1) {
1504
+ d.mode = modefold;
1505
+ } else {
1506
+ d.mode = modesample;
1507
+ junctionsamplespread(d, tk, block);
1508
+ }
1509
+ } else {
1510
+ d.mode = modefold;
1511
+ }
1512
+ d.modefix = true;
1513
+ horiplace(tk.data, block.width, tk);
1514
+ });
1515
+ horiplace(tk.data, block.width, tk);
1516
+ function set_lineopacity(d) {
1517
+ return 0.5;
1518
+ }
1519
+ block.onloadalltk.push(() => {
1520
+ spliceeventanalyze(tk, block);
1521
+ });
1522
+ block.tkcloakoff(tk, {});
1523
+ block.block_setheight();
1524
+ }
1525
+ function horiplace(lst, width, tk) {
1526
+ const todo = [];
1527
+ for (const i of lst) {
1528
+ if (i.x0 < 0) {
1529
+ i.tox = i.x1 - i.radius2 * 2;
1530
+ } else if (i.x1 > width) {
1531
+ i.tox = i.x0 + i.radius2 * 2;
1532
+ } else {
1533
+ i.tox = i._x;
1534
+ }
1535
+ if (i.mode == modefold) {
1536
+ i.x = i.tox;
1537
+ } else {
1538
+ todo.push(i);
1539
+ }
1540
+ }
1541
+ for (const i of lst) {
1542
+ i.x = i.tox;
1543
+ }
1544
+ set_all(tk);
1545
+ return;
1546
+ }
1547
+ function automode(tk, usemode, blockwidth) {
1548
+ for (const i of tk.data) {
1549
+ if (!i.mode) i.mode = moderaise;
1550
+ }
1551
+ return;
1552
+ const samplecountlst = [];
1553
+ for (let i = 0; i < tk.data.length; i++) {
1554
+ samplecountlst.push({
1555
+ idx: i,
1556
+ count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1557
+ });
1558
+ }
1559
+ samplecountlst.sort((a, b) => b.count - a.count);
1560
+ let cumx = 0;
1561
+ for (const cc of samplecountlst) {
1562
+ const d = tk.data[cc.idx];
1563
+ if (!d.mode) {
1564
+ cumx += d.radius2 * 2;
1565
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1566
+ } else {
1567
+ if (d.modefix) {
1568
+ if (d.mode != modefold) {
1569
+ cumx += d.radius2 * 2;
1570
+ }
1571
+ } else {
1572
+ if (usemode) {
1573
+ d.mode = usemode;
1574
+ if (d.mode != modefold) {
1575
+ cumx += d.radius2 * 2;
1576
+ }
1577
+ } else {
1578
+ cumx += d.radius2 * 2;
1579
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1580
+ }
1581
+ }
1582
+ }
1583
+ }
1584
+ }
1585
+ function set_jug(d) {
1586
+ return "translate(" + d.x + ",0)";
1587
+ }
1588
+ function set_leg_x1(d) {
1589
+ return d.x0 - d.x;
1590
+ }
1591
+ function set_leg_x2(d) {
1592
+ return d.x1 - d.x;
1593
+ }
1594
+ function set_discnum(d) {
1595
+ return d.mode == modefold ? 0 : 1;
1596
+ }
1597
+ function set_stem_y1(d) {
1598
+ if (d.mode == modefold) return d.radius;
1599
+ return d.radius2;
1600
+ }
1601
+ function set_qmg(d, tk) {
1602
+ if (d.mode == modesample)
1603
+ return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1604
+ return "translate(0,0) scale(0)";
1605
+ }
1606
+ function set_leg_y(d, tk) {
1607
+ if (d.mode == modefold) return -tk.legheight;
1608
+ return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1609
+ }
1610
+ function set_jug2(d, tk) {
1611
+ if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1612
+ if (d.mode == moderaise)
1613
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1614
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1615
+ }
1616
+ function set_stem_y2(d, tk) {
1617
+ if (d.mode == modefold) return d.radius + tk.lowpad;
1618
+ if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1619
+ return tk.maxradius + tk.padheight;
1620
+ }
1621
+ function set_all(tk) {
1622
+ const dur = 500;
1623
+ if (tk.totalsamplecount > 1) {
1624
+ tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1625
+ tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1626
+ }
1627
+ tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1628
+ tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1629
+ tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1630
+ tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1631
+ tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1632
+ }
1633
+ function junctiontype2color(tk, block) {
1634
+ for (const j of tk.data) {
1635
+ j.color = defaultcolor;
1636
+ }
1637
+ if (tk.nocatepreconfig) {
1638
+ let categories = {};
1639
+ if (tk.categories) {
1640
+ categories = tk.categories;
1641
+ }
1642
+ let hasnewtype = false;
1643
+ for (const j of tk.data) {
1644
+ if (j.type) {
1645
+ if (!categories[j.type]) {
1646
+ hasnewtype = true;
1647
+ categories[j.type] = {
1648
+ label: j.type
1649
+ };
1650
+ if (j.type.toLowerCase() == "known") {
1651
+ categories[j.type].color = "#0C72A8";
1652
+ } else if (j.type.toLowerCase() == "novel") {
1653
+ categories[j.type].color = "#A80C33";
1654
+ } else {
1655
+ categories[j.type].color = colorfunc(j.type);
1656
+ }
1657
+ }
1658
+ }
1659
+ }
1660
+ if (hasnewtype) {
1661
+ tk.categories = categories;
1662
+ if (!tk.tr_legend) {
1663
+ const [tr, td] = legend_newrow(block, tk.name);
1664
+ tk.tr_legend = tr;
1665
+ tk.td_legend = td;
1666
+ tr.style("display", "none");
1667
+ appear(tr, "table-row");
1668
+ }
1669
+ category2legend(tk.categories, tk.td_legend);
1670
+ }
1671
+ }
1672
+ if (tk.categories) {
1673
+ for (const j of tk.data) {
1674
+ if (j.type && tk.categories[j.type]) {
1675
+ j.color = tk.categories[j.type].color;
1676
+ }
1677
+ }
1678
+ }
1679
+ }
1680
+ function foldedjunctioninfo(d, tk) {
1681
+ const fontsize = 15;
1682
+ let pad = 5, y = pad, width = 0;
1683
+ const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1684
+ if (d.type) {
1685
+ tk.pica.g.append("text").text(d.type).attr("fill", d.color).attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1686
+ width = this.getBBox().width;
1687
+ });
1688
+ y += fontsize;
1689
+ }
1690
+ if (d.data) {
1691
+ tk.pica.g.append("text").text(d.data.length + " sample" + (d.data.length > 1 ? "s" : "")).attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1692
+ width = Math.max(width, this.getBBox().width);
1693
+ });
1694
+ y += fontsize;
1695
+ tk.pica.g.append("text").text(d.median + " median").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1696
+ width = Math.max(width, this.getBBox().width);
1697
+ });
1698
+ y += fontsize;
1699
+ } else {
1700
+ tk.pica.g.append("text").text(d.v + " reads").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1701
+ width = Math.max(width, this.getBBox().width);
1702
+ });
1703
+ y += fontsize;
1704
+ }
1705
+ y += pad;
1706
+ bg.attr("width", pad * 2 + width).attr("height", y);
1707
+ tk.pica.g.append("line").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("x1", 30).attr("x2", 30).attr("y1", y).attr("y2", y + 15);
1708
+ y += 15;
1709
+ tk.pica.g.attr(
1710
+ "transform",
1711
+ "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1712
+ );
1713
+ }
1714
+ function expandedjunctioninfo(d, tk, circle) {
1715
+ tk.tktip.clear();
1716
+ const holder = tk.tktip.d;
1717
+ if (d.type) {
1718
+ holder.append("div").style("display", "inline-block").text(d.type).classed("sja_mcdot", true).style("background-color", d.color).style("padding", "1px 8px").style("margin-bottom", "3px");
1719
+ }
1720
+ holder.append("div").html(
1721
+ bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1722
+ );
1723
+ if (d.data) {
1724
+ if (d.data.length > 1) {
1725
+ holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1726
+ if (d.rimcount) {
1727
+ holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1728
+ }
1729
+ holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1730
+ } else if (d.data.length == 1) {
1731
+ samplejunctiontooltip(d, d.data[0], tk, holder);
1732
+ }
1733
+ } else {
1734
+ holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1735
+ }
1736
+ if (d.spliceevents && d.spliceevents.length > 0) {
1737
+ const renderdiv = holder.append("div").style("margin", "10px 0px");
1738
+ displayspliceevents(d.spliceevents, renderdiv);
1739
+ }
1740
+ tk.tktip.show(circle.left + circle.width, circle.top - 50);
1741
+ }
1742
+ function junctionsamplespread(j, tk, block) {
1743
+ if (j.qmg) {
1744
+ j.qmg.remove();
1745
+ }
1746
+ if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1747
+ for (const d of j.data) {
1748
+ if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1749
+ d.color = "gray";
1750
+ continue;
1751
+ }
1752
+ const levelkeys = [];
1753
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1754
+ const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1755
+ if (levelvalue) {
1756
+ levelkeys.push(levelvalue);
1757
+ }
1758
+ }
1759
+ const str = levelkeys.join(tk.cohortsetting.levelseparator);
1760
+ d.color = tk.cohortsetting.colorfunc(str);
1761
+ }
1762
+ }
1763
+ j.swarm = (0, import_d3_beeswarm.beeswarm)().data(j.data).distributeOn((d) => tk.axisheight - tk.yscale(d.v)).radius(tk.qmradius).orientation("vertical").side("symetric").arrange();
1764
+ const jugg = select_default(j.jugg);
1765
+ j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1766
+ const opacity = 0.8;
1767
+ j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1768
+ return bee.datum.color || "green";
1769
+ }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1770
+ select_default(event.target).attr("fill-opacity", 1);
1771
+ const p = event.target.getBoundingClientRect();
1772
+ tk.tktip.clear();
1773
+ tk.tktip.show(p.left + 20, p.top - 40);
1774
+ samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1775
+ }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1776
+ if (tk.tracks) {
1777
+ return;
1778
+ }
1779
+ }).transition().attr("cx", (bee) => bee.x);
1780
+ }
1781
+ function samplejunctiontooltip(j, sample, tk, holder) {
1782
+ if (sample.sample) {
1783
+ holder.append("div").html(sample.sample);
1784
+ } else if (sample.name) {
1785
+ holder.append("div").html(sample.name);
1786
+ } else if (sample.patient || sample.sampletype) {
1787
+ if (sample.patient) {
1788
+ holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1789
+ }
1790
+ if (sample.sampletype) {
1791
+ holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1792
+ }
1793
+ } else if (sample.tkid) {
1794
+ for (const t of tk.tracks) {
1795
+ if (t.tkid == sample.tkid) {
1796
+ holder.append("div").text(t.name || "unnamed member");
1797
+ break;
1798
+ }
1799
+ }
1800
+ }
1801
+ if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1802
+ for (const lev of tk.cohortsetting.cohort.levels) {
1803
+ if (sample[lev.k]) {
1804
+ holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1805
+ }
1806
+ }
1807
+ }
1808
+ holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1809
+ if (sample.metadata) {
1810
+ holder.append("div").html(
1811
+ '<span style="background-color:' + sample.metadata.color + '" class=sja_mcdot>&nbsp;</span> ' + sample.metadata.value + ' <span style="font-size:.7em;color:#858585">' + tk.metadata.m.label + "</span>"
1812
+ );
1813
+ }
1814
+ if (sample.hasrim) {
1815
+ holder.append("div").text(tk.rimwhat);
1816
+ }
1817
+ if (j.spliceevents) {
1818
+ const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1819
+ const evt = j.spliceevents[evtidx];
1820
+ const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1821
+ let jbcount = 0;
1822
+ if (evt.junctionB && evt.junctionB.data) {
1823
+ for (const d of evt.junctionB.data) {
1824
+ if (d.tkid == sample.tkid) {
1825
+ jbcount = d.v;
1826
+ break;
1827
+ }
1828
+ }
1829
+ }
1830
+ let acountsum = 0;
1831
+ if (evt.junctionAlst) {
1832
+ for (const ja of evt.junctionAlst) {
1833
+ if (ja && ja.data) {
1834
+ for (const d of ja.data) {
1835
+ if (d.tkid == sample.tkid) {
1836
+ acountsum += d.v;
1837
+ break;
1838
+ }
1839
+ }
1840
+ }
1841
+ }
1842
+ }
1843
+ let percent;
1844
+ if (jbcount == 0) {
1845
+ percent = 0;
1846
+ } else {
1847
+ percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1848
+ }
1849
+ holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1850
+ }
1851
+ }
1852
+ function get_leftLabelMaxwidth(tk) {
1853
+ const collectlabw = [];
1854
+ tk.tklabel.each(function() {
1855
+ collectlabw.push(this.getBBox().width);
1856
+ });
1857
+ if (tk.label_mcount) {
1858
+ tk.label_mcount.each(function() {
1859
+ collectlabw.push(this.getBBox().width);
1860
+ });
1861
+ }
1862
+ tk.leftLabelMaxwidth = Math.max(...collectlabw);
1863
+ }
1864
+
1865
+ // src/block.tk.junction.js
1866
+ var binpxw = 5;
1867
+ var modefold = 1;
1868
+ var moderaise = 2;
1869
+ var modesample = 3;
1870
+ var labyspace = 5;
1871
+ function makeTk(tk, block) {
1872
+ tk.leftaxis = tk.gleft.append("g");
1873
+ let laby = labyspace + block.labelfontsize;
1874
+ const thistip = new Menu({ padding: "none" });
1875
+ tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1876
+ label_mcount_fillpane(tk, block, thistip);
1877
+ });
1878
+ laby += labyspace + block.labelfontsize;
1879
+ tk.totalsamplecount = 0;
1880
+ tk.height_main = 100;
1881
+ tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1882
+ if (tk.categories || tk.cohortsetting) {
1883
+ const [tr, td] = legend_newrow(block, tk.name);
1884
+ tk.tr_legend = tr;
1885
+ tk.td_legend = td;
1886
+ }
1887
+ if (tk.categories) {
1888
+ category2legend(tk.categories, tk.td_legend);
1889
+ }
1890
+ if (tk.cohortsetting) {
1891
+ tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1892
+ tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1893
+ }
1894
+ }
1895
+ function junctionload(tk, block) {
1896
+ if (tk.uninitialized) {
1897
+ makeTk(tk, block);
1898
+ delete tk.uninitialized;
1899
+ }
1900
+ if ((block.zoomedin || block.resized) && tk.data) {
1901
+ const junc = [];
1902
+ for (const i of tk.data) {
1903
+ const oldx = i.x;
1904
+ const e = j2block(i, block);
1905
+ if (e) {
1906
+ continue;
1907
+ }
1908
+ if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1909
+ i.x = oldx;
1910
+ junc.push(i);
1911
+ }
1912
+ }
1913
+ rendertk(junc, tk, block);
1914
+ return;
1915
+ }
1916
+ if (tk.fixeddata) {
1917
+ block.tkcloakon(tk);
1918
+ const junc2 = [];
1919
+ for (const j of tk.fixeddata) {
1920
+ const j2 = {
1921
+ chr: j.chr,
1922
+ start: j.start,
1923
+ stop: j.stop,
1924
+ data: j.data,
1925
+ type: j.type
1926
+ };
1927
+ const e = j2block(j2, block);
1928
+ if (e) {
1929
+ continue;
1930
+ }
1931
+ junc2.push(j2);
1932
+ }
1933
+ tk.totalsamplecount = tk.tracks[0].samplecount;
1934
+ tk.axisheight = 200;
1935
+ tk.legheight = 50;
1936
+ tk.bottompad = 0;
1937
+ tk.qmradius = 2;
1938
+ tk.lowpad = 15;
1939
+ tk.padheight = 10;
1940
+ rendertk(junc2, tk, block);
1941
+ return;
1942
+ }
1943
+ if (!tk.tracks) {
1944
+ block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1945
+ tk.height_main = 50;
1946
+ block.block_setheight();
1947
+ return;
1948
+ }
1949
+ block.block_setheight();
1950
+ block.tkcloakon(tk);
1951
+ const bincount = Math.ceil(block.width / binpxw);
1952
+ let bins = null;
1953
+ let donenum = 0;
1954
+ const tasks = [];
1955
+ const allfiledata = [];
1956
+ for (const t of tk.tracks) {
1957
+ const getheader = new Promise((resolve, reject) => {
1958
+ if (t.rnapegfile) {
1959
+ t.samplecount = 1;
1960
+ return resolve();
1961
+ }
1962
+ if (t.samplecount != void 0 && t.checkedheader) return resolve();
1963
+ const par = {};
1964
+ if (t.file) {
1965
+ par.file = t.file;
1966
+ } else {
1967
+ par.url = t.url;
1968
+ if (t.indexURL) par.indexURL = t.indexURL;
1969
+ }
1970
+ dofetch3("tabixheader", { body: par }).then((data) => {
1971
+ if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1972
+ t.checkedheader = true;
1973
+ const str = data.lines.join("");
1974
+ if (!str) {
1975
+ } else {
1976
+ const l = str.trim().split(" ");
1977
+ t.headersamples = [];
1978
+ for (let i = 5; i < l.length; i++) {
1979
+ const str2 = l[i];
1980
+ let j = null;
1981
+ if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1982
+ try {
1983
+ j = JSON.parse(str2);
1984
+ } catch (e) {
1985
+ console.error("header line field [" + i + "] is broken json: " + str2);
1986
+ }
1987
+ }
1988
+ if (j) {
1989
+ j.tkid = Math.random().toString();
1990
+ t.headersamples.push(j);
1991
+ } else {
1992
+ t.headersamples.push({
1993
+ name: l[i],
1994
+ tkid: Math.random().toString()
1995
+ });
1996
+ }
1997
+ }
1998
+ t.samplecount = t.headersamples.length;
1999
+ tk.totalsamplecount += t.samplecount;
2000
+ }
2001
+ resolve();
2002
+ });
2003
+ });
2004
+ const getdata = new Promise((resolve, reject) => {
2005
+ getheader.then(() => {
2006
+ const par = {
2007
+ genome: block.genome.name,
2008
+ rglst: block.tkarg_maygm(t)
2009
+ };
2010
+ if (bincount) par.bincount = bincount;
2011
+ if (t.file || t.rnapegfile) {
2012
+ par.file = t.file || t.rnapegfile;
2013
+ } else {
2014
+ par.url = t.url;
2015
+ if (t.indexURL) par.indexURL = t.indexURL;
2016
+ }
2017
+ if (t.rnapegfile) {
2018
+ par.isrnapeg = 1;
2019
+ }
2020
+ dofetch3("junction", { body: par }).then((data) => {
2021
+ donenum++;
2022
+ if (tk.tracks.length > 1) {
2023
+ block.tkprogress(tk, donenum / tk.tracks.length);
2024
+ }
2025
+ if (!data) reject("server error for getting member track " + t.name);
2026
+ if (data.error) reject("Cannot get data: " + data.error);
2027
+ if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2028
+ if (data.lst) {
2029
+ if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2030
+ t.samplecount = data.lst[0].rawdata.length;
2031
+ tk.totalsamplecount += t.samplecount;
2032
+ }
2033
+ if (bins) {
2034
+ } else {
2035
+ const thisfilejunctions = [];
2036
+ for (const k of data.lst) {
2037
+ k.data = [];
2038
+ for (let i = 0; i < k.rawdata.length; i++) {
2039
+ const v = k.rawdata[i];
2040
+ if (!Number.isInteger(v) || v <= 0) {
2041
+ continue;
2042
+ }
2043
+ const s = { v };
2044
+ if (t.headersamples) {
2045
+ const s0 = t.headersamples[i];
2046
+ if (s0) {
2047
+ for (const _k in s0) {
2048
+ s[_k] = s0[_k];
2049
+ }
2050
+ }
2051
+ } else {
2052
+ if (t.name) s.name = t.name;
2053
+ if (t.sample) s.sample = t.sample;
2054
+ if (t.patient) s.patient = t.patient;
2055
+ if (t.sampeltype) s.sampletype = t.sampletype;
2056
+ if (t.tkid) s.tkid = t.tkid;
2057
+ if (t.file) s.file = t.file;
2058
+ if (t.url) s.url = t.url;
2059
+ if (t.indexURL) s.indexURL = t.indexURL;
2060
+ }
2061
+ k.data.push(s);
2062
+ }
2063
+ delete k.rawdata;
2064
+ thisfilejunctions.push(k);
2065
+ }
2066
+ resolve(thisfilejunctions);
2067
+ }
2068
+ } else {
2069
+ }
2070
+ });
2071
+ }).catch((err) => reject(err));
2072
+ });
2073
+ tasks.push(getdata);
2074
+ }
2075
+ Promise.all(tasks).then((data) => {
2076
+ const junc = [];
2077
+ data.forEach((dat) => {
2078
+ if (!dat) return;
2079
+ dat.forEach((k) => {
2080
+ let notfound = true;
2081
+ for (const j of junc) {
2082
+ if (j.start == k.start && j.stop == k.stop) {
2083
+ j.data = j.data.concat(k.data);
2084
+ notfound = false;
2085
+ break;
2086
+ }
2087
+ }
2088
+ if (notfound) {
2089
+ junc.push(k);
2090
+ }
2091
+ });
2092
+ });
2093
+ for (const j of junc) {
2094
+ j2block(j, block);
2095
+ }
2096
+ for (const j of junc) {
2097
+ smuggleattributes(j);
2098
+ }
2099
+ if (!tk.axisheight) {
2100
+ if (tk.totalsamplecount > 1) {
2101
+ tk.axisheight = 200;
2102
+ tk.legheight = 50;
2103
+ tk.bottompad = 0;
2104
+ tk.qmradius = 2;
2105
+ tk.lowpad = 15;
2106
+ tk.padheight = 10;
2107
+ } else {
2108
+ tk.axisheight = 100;
2109
+ tk.legheight = 20;
2110
+ tk.bottompad = 0;
2111
+ tk.lowpad = 10;
2112
+ tk.padheight = 10;
2113
+ }
2114
+ if (tk.cohortsetting) {
2115
+ initcohortsetting(tk, block);
2116
+ }
2117
+ }
2118
+ rendertk(junc, tk, block);
2119
+ }).catch((err) => {
2120
+ tk.glider.selectAll("*").remove();
2121
+ block.tkcloakoff(tk, { error: err });
2122
+ block.block_setheight();
2123
+ });
2124
+ }
2125
+ function j2block(j, block) {
2126
+ const starthit = block.seekcoord(j.chr, j.start)[0];
2127
+ if (!starthit) {
2128
+ return true;
2129
+ }
2130
+ const stophit = block.seekcoord(j.chr, j.stop)[0];
2131
+ if (!stophit) {
2132
+ return true;
2133
+ }
2134
+ const startout = starthit.x < 0 || starthit.x > block.width;
2135
+ const stopout = stophit.x < 0 || stophit.x > block.width;
2136
+ if (startout && stopout) {
2137
+ return true;
2138
+ }
2139
+ j.x0 = starthit.x;
2140
+ j.x1 = stophit.x;
2141
+ j.x = (j.x0 + j.x1) / 2;
2142
+ j._x = j.x;
2143
+ if (!j.modefix) {
2144
+ j.mode = moderaise;
2145
+ }
2146
+ return false;
2147
+ }
2148
+ function smuggleattributes(j) {
2149
+ }
2150
+ function label_mcount_fillpane(tk, block, tip) {
2151
+ tip.clear();
2152
+ const holder = tip.d;
2153
+ const types = /* @__PURE__ */ new Map();
2154
+ for (const j of tk.data) {
2155
+ if (!j.type) continue;
2156
+ if (!types.has(j.type)) {
2157
+ types.set(j.type, []);
2158
+ }
2159
+ if (j.data) {
2160
+ types.get(j.type).push(j.data.map((i) => i.v));
2161
+ } else {
2162
+ types.get(j.type).push(j.v);
2163
+ }
2164
+ }
2165
+ if (types.size) {
2166
+ const d = holder.append("div").style("margin", "8px");
2167
+ for (const [type, valuelst] of types) {
2168
+ d.append("div").style("margin", "2px").html(
2169
+ valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2170
+ );
2171
+ let vlst = valuelst;
2172
+ if (tk.tracks) {
2173
+ vlst = [];
2174
+ for (const l of valuelst) {
2175
+ vlst.push(...l);
2176
+ }
2177
+ }
2178
+ if (vlst.length == 1) {
2179
+ } else {
2180
+ d.append("table").style("margin-left", "20px").html(
2181
+ '<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
2182
+ );
2183
+ }
2184
+ }
2185
+ } else {
2186
+ let vlst = [];
2187
+ if (tk.tracks) {
2188
+ for (const j of tk.data) {
2189
+ vlst.push(...j.data.map((i) => i.v));
2190
+ }
2191
+ } else {
2192
+ vlst = tk.data.map((j) => j.v);
2193
+ }
2194
+ if (vlst.length > 1) {
2195
+ holder.append("table").html(
2196
+ '<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
2197
+ );
2198
+ }
2199
+ }
2200
+ holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2201
+ tip.hide();
2202
+ for (const j of tk.data) {
2203
+ j.mode = modefold;
2204
+ j.modefix = true;
2205
+ }
2206
+ horiplace(tk.data, block.width, tk);
2207
+ });
2208
+ holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2209
+ tip.hide();
2210
+ for (const j of tk.data) {
2211
+ j.modefix = false;
2212
+ }
2213
+ automode(tk, null, block.width);
2214
+ for (const j of tk.data) {
2215
+ j.modefix = true;
2216
+ }
2217
+ horiplace(tk.data, block.width, tk);
2218
+ });
2219
+ holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2220
+ tip.hide();
2221
+ downloadjunctions(tk);
2222
+ });
2223
+ tip.showunder(tk.label_mcount.node());
2224
+ }
2225
+ function downloadjunctions(tk) {
2226
+ const txt = [];
2227
+ if (tk.file || tk.url) {
2228
+ if (tk.data) {
2229
+ txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2230
+ for (const j of tk.data) {
2231
+ txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2232
+ }
2233
+ }
2234
+ } else if (tk.tracks) {
2235
+ if (tk.data) {
2236
+ const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2237
+ for (const t of tk.tracks) {
2238
+ const lst = [];
2239
+ if (t.patient) lst.push(t.patient);
2240
+ if (t.sampletype) lst.push(t.sampletype);
2241
+ if (lst.length == 0) {
2242
+ lst.push(t.name);
2243
+ }
2244
+ header.push(lst.join(", "));
2245
+ }
2246
+ txt.push(header.join(" "));
2247
+ for (const j of tk.data) {
2248
+ const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2249
+ const hash = /* @__PURE__ */ new Map();
2250
+ for (const jsample of j.data) {
2251
+ hash.set(jsample.tkid, jsample.v);
2252
+ }
2253
+ for (const t of tk.tracks) {
2254
+ lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2255
+ }
2256
+ txt.push(lst.join(" "));
2257
+ }
2258
+ }
2259
+ }
2260
+ export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2261
+ }
2262
+ function configpanel(tk, block) {
2263
+ tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2264
+ const holder = tk.tkconfigtip.d;
2265
+ {
2266
+ const row = holder.append("div").style("margin-bottom", "10px");
2267
+ row.append("span").html("Read count cutoff&nbsp;");
2268
+ row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2269
+ if (!keyupEnter(event)) return;
2270
+ const v = Number.parseFloat(event.target.value);
2271
+ if (v == 0) {
2272
+ if (tk.readcountcutoff) {
2273
+ tk.readcountcutoff = 0;
2274
+ junctionload(tk, block);
2275
+ } else {
2276
+ }
2277
+ return;
2278
+ }
2279
+ if (!v || v < 0) {
2280
+ return;
2281
+ }
2282
+ if (tk.readcountcutoff) {
2283
+ if (tk.readcountcutoff == v) {
2284
+ } else if (tk.readcountcutoff > v) {
2285
+ tk.readcountcutoff = v;
2286
+ junctionload(tk, block);
2287
+ } else {
2288
+ tk.readcountcutoff = v;
2289
+ rendertk(tk.data, tk, block);
2290
+ }
2291
+ } else {
2292
+ tk.readcountcutoff = v;
2293
+ junctionload(tk, block);
2294
+ }
2295
+ });
2296
+ const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2297
+ if (tk.totalsamplecount > 1) {
2298
+ note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2299
+ } else {
2300
+ note.text("Junctions with read count lower than cutoff will not be shown.");
2301
+ }
2302
+ }
2303
+ }
2304
+ function initcohortsetting(tk, block) {
2305
+ if (!tk.cohortsetting.cohort) {
2306
+ sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2307
+ return;
2308
+ }
2309
+ if (!tk.cohortsetting.cohort.levels) {
2310
+ sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2311
+ return;
2312
+ }
2313
+ if (!tk.cohortsetting.cohort.levels[0]) {
2314
+ sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2315
+ return;
2316
+ }
2317
+ tk.cohortsetting.levelseperator = ".";
2318
+ tk.cohortsetting.uselevelidx = 0;
2319
+ setcohortlegend_usecohortlevel(tk, block);
2320
+ }
2321
+ function setcohortlegend_usecohortlevel(tk, block) {
2322
+ tk.cohortsetting.legendholder.selectAll("*").remove();
2323
+ tk.cohortsetting.colorfunc = ordinal(category10_default);
2324
+ const stratkey2count = /* @__PURE__ */ new Map();
2325
+ for (const t of tk.tracks) {
2326
+ for (const s of t.headersamples) {
2327
+ if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2328
+ continue;
2329
+ }
2330
+ const thissamplekeys = [];
2331
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2332
+ const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2333
+ if (thislevelkey) {
2334
+ thissamplekeys.push(thislevelkey);
2335
+ }
2336
+ }
2337
+ const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2338
+ if (!stratkey2count.has(str)) {
2339
+ stratkey2count.set(str, {
2340
+ count: 0,
2341
+ label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2342
+ });
2343
+ }
2344
+ stratkey2count.get(str).count++;
2345
+ }
2346
+ }
2347
+ const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2348
+ for (const item of sorteditems) {
2349
+ const color = tk.cohortsetting.colorfunc(item[0]);
2350
+ const label = item[1].label;
2351
+ const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2352
+ row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2353
+ row.append("div").style("display", "inline-block").text(label);
2354
+ }
2355
+ }
2356
+ export {
2357
+ junctionload,
2358
+ modefold,
2359
+ moderaise,
2360
+ modesample
2361
+ };
2362
+ //# sourceMappingURL=block.tk.junction-7E6SNQMQ.js.map