@sjcrh/proteinpaint-client 2.182.0 → 2.183.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 (1004) hide show
  1. package/dist/2dmaf-6ZTETSC5.js +1371 -0
  2. package/dist/AIProjectAdmin-ZT3XKBBT.js +830 -0
  3. package/dist/AIProjectAdmin-ZT3XKBBT.js.map +7 -0
  4. package/dist/AppHeader-U7SJPIBS.js +833 -0
  5. package/dist/BoxPlot-QGHLZ67V.js +1217 -0
  6. package/dist/BoxPlot-QGHLZ67V.js.map +7 -0
  7. package/dist/CorrelationVolcano-7SE4CTBW.js +617 -0
  8. package/dist/DE-PZ7RHPBS.js +93 -0
  9. package/dist/DEinput-UZEQIU2V.js +297 -0
  10. package/dist/DifferentialAnalysis-L6BOEYVO.js +238 -0
  11. package/dist/Disco-6FDT6KRM.js +3235 -0
  12. package/dist/Disco-6FDT6KRM.js.map +7 -0
  13. package/dist/Disco.UI-HKOUAD4P.js +242 -0
  14. package/dist/DmrPlot-3R24PTXP.js +640 -0
  15. package/dist/GB-SZVYZASR.js +1125 -0
  16. package/dist/HicApp-SEEJETVE.js +2248 -0
  17. package/dist/NumBinaryEditor-SDQFJ3FW.js +268 -0
  18. package/dist/NumBinaryEditor.unit.spec-76ZZXTYC.js +284 -0
  19. package/dist/NumContEditor-G75O4YZE.js +105 -0
  20. package/dist/NumContEditor.unit.spec-BFUZRBPL.js +167 -0
  21. package/dist/NumCustomBinEditor-ILTPHCEF.js +36 -0
  22. package/dist/NumCustomBinEditor.unit.spec-GFIYV55V.js +282 -0
  23. package/dist/NumDiscreteEditor-5K3OKUOE.js +177 -0
  24. package/dist/NumDiscreteEditor.unit.spec-NZ4KWPFK.js +200 -0
  25. package/dist/NumRegularBinEditor-7ZJ2MEMY.js +36 -0
  26. package/dist/NumRegularBinEditor.unit.spec-QGVJET65.js +225 -0
  27. package/dist/NumSplineEditor-KE4UPODZ.js +190 -0
  28. package/dist/NumSplineEditor.unit.spec-YQOOZA7S.js +197 -0
  29. package/dist/NumericDensity-RL42P4QC.js +36 -0
  30. package/dist/NumericDensity.unit.spec-Y6RMTYC7.js +219 -0
  31. package/dist/NumericHandler-4QIX324I.js +37 -0
  32. package/dist/NumericHandler.unit.spec-T6F5QYP6.js +217 -0
  33. package/dist/RunChart2-ASGCKKER.js +756 -0
  34. package/dist/RunChart2-ASGCKKER.js.map +7 -0
  35. package/dist/SC-H2YCKSBH.js +682 -0
  36. package/dist/SC-H2YCKSBH.js.map +7 -0
  37. package/dist/Volcano-QBYYJYVW.js +1185 -0
  38. package/dist/Volcano-QBYYJYVW.js.map +7 -0
  39. package/dist/WSIViewer-NDHWFVAB.js +47974 -0
  40. package/dist/WSIViewer-NDHWFVAB.js.map +7 -0
  41. package/dist/WsiSamplesPlot-CXGWPCDL.js +163 -0
  42. package/dist/adSandbox-DE4VRO4Z.js +36 -0
  43. package/dist/alphaGenome-FSIGC5ZT.js +173 -0
  44. package/dist/app-KZGKWQMU.js +47 -0
  45. package/dist/app-MQRJ7FVL.js +35 -0
  46. package/dist/app.js +22 -22
  47. package/dist/bam-BDWTA4O3.js +857 -0
  48. package/dist/barchart-4Q6LVJY4.js +45 -0
  49. package/dist/barchart.data-EXENRVMU.js +22 -0
  50. package/dist/barchart.events-XRGND6I7.js +45 -0
  51. package/dist/barchart.integration.spec-VQITP4YH.js +1675 -0
  52. package/dist/bars.renderer-S7A7I6BQ.js +12 -0
  53. package/dist/block-2MABX5QO.js +6200 -0
  54. package/dist/block-2MABX5QO.js.map +7 -0
  55. package/dist/block.init-NCNSE3HD.js +36 -0
  56. package/dist/block.mds.expressionrank-JYZARS7T.js +357 -0
  57. package/dist/block.mds.geneboxplot-FD2MCIHV.js +826 -0
  58. package/dist/block.mds.junction-LOHVQBIU.js +1543 -0
  59. package/dist/block.mds.svcnv-Z7SAYPQL.js +6799 -0
  60. package/dist/block.svg-LNJOKQNN.js +162 -0
  61. package/dist/block.tk.aicheck-IXCMMAGV.js +281 -0
  62. package/dist/block.tk.ase-WYRYFP6N.js +363 -0
  63. package/dist/block.tk.bam-EIVBNGAL.js +1904 -0
  64. package/dist/block.tk.bedgraphdot-3FHLNCU7.js +382 -0
  65. package/dist/block.tk.bigwig.ui-YDQU5PC4.js +209 -0
  66. package/dist/block.tk.hicstraw-S3ROL3CV.js +821 -0
  67. package/dist/block.tk.junction-DL7RNWX3.js +2362 -0
  68. package/dist/block.tk.junction.textmatrixui-Z6I7IEDY.js +197 -0
  69. package/dist/block.tk.ld-XHVU6L56.js +97 -0
  70. package/dist/block.tk.menu-FPLAEEFY.js +1027 -0
  71. package/dist/block.tk.pgv-6ZZ2QGNO.js +942 -0
  72. package/dist/brainImaging-VSOOMITW.js +421 -0
  73. package/dist/chat-LW23PIG5.js +148 -0
  74. package/dist/chunk-2A2KM5DU.js +117 -0
  75. package/dist/chunk-2A2KM5DU.js.map +7 -0
  76. package/dist/chunk-2K5DSRBJ.js +84 -0
  77. package/dist/chunk-2K5DSRBJ.js.map +7 -0
  78. package/dist/chunk-2LULD7RN.js +31 -0
  79. package/dist/chunk-36DYWBU7.js +514 -0
  80. package/dist/chunk-36DYWBU7.js.map +7 -0
  81. package/dist/chunk-3AGB6HL4.js +158 -0
  82. package/dist/chunk-3AVDNIDN.js +55 -0
  83. package/dist/chunk-3DCABJHB.js +381 -0
  84. package/dist/chunk-3JMB3OSC.js +102 -0
  85. package/dist/chunk-3UEMY45Y.js +215 -0
  86. package/dist/chunk-4RR4KPRJ.js +1205 -0
  87. package/dist/chunk-5HCB4HNL.js +147 -0
  88. package/dist/chunk-5RFB7TYT.js +92 -0
  89. package/dist/chunk-5UMPBVA6.js +534 -0
  90. package/dist/chunk-6C2SBTLR.js +407 -0
  91. package/dist/chunk-6ITDJ5UR.js +261 -0
  92. package/dist/chunk-6ITDJ5UR.js.map +7 -0
  93. package/dist/chunk-6LAE5AVA.js +13624 -0
  94. package/dist/chunk-77ZJGPK2.js +289 -0
  95. package/dist/chunk-77ZJGPK2.js.map +7 -0
  96. package/dist/chunk-7FKIAQ4K.js +17 -0
  97. package/dist/chunk-7FKIAQ4K.js.map +7 -0
  98. package/dist/chunk-7RN3L2BX.js +1788 -0
  99. package/dist/chunk-7RN3L2BX.js.map +7 -0
  100. package/dist/chunk-7VV43ICF.js +272 -0
  101. package/dist/chunk-A6TQGNDQ.js +421 -0
  102. package/dist/chunk-A6TQGNDQ.js.map +7 -0
  103. package/dist/chunk-A742TQD2.js +615 -0
  104. package/dist/chunk-A7E3JZ5P.js +56 -0
  105. package/dist/chunk-A7E3JZ5P.js.map +7 -0
  106. package/dist/chunk-AFLFPYJI.js +480 -0
  107. package/dist/chunk-APOHXHKH.js +526 -0
  108. package/dist/chunk-APOHXHKH.js.map +7 -0
  109. package/dist/chunk-AQ4OP4GR.js +39 -0
  110. package/dist/chunk-BAY47D5E.js +226 -0
  111. package/dist/chunk-CFHKYLDY.js +26 -0
  112. package/dist/chunk-CTAKX5CT.js +129 -0
  113. package/dist/chunk-CVBQWXLH.js +455 -0
  114. package/dist/chunk-CVBQWXLH.js.map +7 -0
  115. package/dist/chunk-D4QFQQWJ.js +170 -0
  116. package/dist/chunk-DGMK7SXX.js +203 -0
  117. package/dist/chunk-DNCSPTOQ.js +446 -0
  118. package/dist/chunk-DTDQKGIQ.js +2672 -0
  119. package/dist/chunk-E4NVHKWD.js +142 -0
  120. package/dist/chunk-E6KEZENR.js +4207 -0
  121. package/dist/chunk-EY2KBPHJ.js +261 -0
  122. package/dist/chunk-EY2KBPHJ.js.map +7 -0
  123. package/dist/chunk-FRBYOOWT.js +229 -0
  124. package/dist/chunk-FVWCYGJL.js +121 -0
  125. package/dist/chunk-HWHG63LH.js +148 -0
  126. package/dist/chunk-HWHG63LH.js.map +7 -0
  127. package/dist/chunk-HYZG6OPC.js +467 -0
  128. package/dist/chunk-HYZG6OPC.js.map +7 -0
  129. package/dist/chunk-I4IKRKYJ.js +2815 -0
  130. package/dist/chunk-IEQSUAIO.js +6364 -0
  131. package/dist/chunk-IET6P5MV.js +335 -0
  132. package/dist/chunk-IET6P5MV.js.map +7 -0
  133. package/dist/chunk-JMPSZMDD.js +52 -0
  134. package/dist/chunk-JXOL73PT.js +2784 -0
  135. package/dist/chunk-K62XUHA4.js +100 -0
  136. package/dist/chunk-KQMEJUWI.js +815 -0
  137. package/dist/chunk-L4QG7XZE.js +46 -0
  138. package/dist/chunk-L4QG7XZE.js.map +7 -0
  139. package/dist/chunk-L4YGMXLX.js +37 -0
  140. package/dist/chunk-L4YGMXLX.js.map +7 -0
  141. package/dist/chunk-LI7FE335.js +371 -0
  142. package/dist/chunk-M7W2GYSM.js +4961 -0
  143. package/dist/chunk-M7W2GYSM.js.map +7 -0
  144. package/dist/chunk-MV6O4I2B.js +441 -0
  145. package/dist/chunk-MXNSW55L.js +148 -0
  146. package/dist/chunk-NB7NLFGZ.js +228 -0
  147. package/dist/chunk-NGGWK6HX.js +302 -0
  148. package/dist/chunk-OGGFS66K.js +1087 -0
  149. package/dist/chunk-OSM7YS23.js +276 -0
  150. package/dist/chunk-OSM7YS23.js.map +7 -0
  151. package/dist/chunk-OXJ2TWDO.js +20644 -0
  152. package/dist/chunk-OXJ2TWDO.js.map +7 -0
  153. package/dist/chunk-Q7PYFSNU.js +107 -0
  154. package/dist/chunk-QMI222IJ.js +386 -0
  155. package/dist/chunk-QRIRWDIW.js +252 -0
  156. package/dist/chunk-R6L6NVEC.js +14 -0
  157. package/dist/chunk-RLTLYKHO.js +34 -0
  158. package/dist/chunk-S5ZI6N2I.js +293 -0
  159. package/dist/chunk-S7T7OZC7.js +158 -0
  160. package/dist/chunk-SEQLC4AD.js +177 -0
  161. package/dist/chunk-TEZLFSOV.js +54 -0
  162. package/dist/chunk-TFI7ZZJG.js +50 -0
  163. package/dist/chunk-TFI7ZZJG.js.map +7 -0
  164. package/dist/chunk-TV74I3Y5.js +43 -0
  165. package/dist/chunk-TV74I3Y5.js.map +7 -0
  166. package/dist/chunk-UEMTP6ZC.js +824 -0
  167. package/dist/chunk-UJU3Q7QJ.js +119 -0
  168. package/dist/chunk-V245THQC.js +2370 -0
  169. package/dist/chunk-V245THQC.js.map +7 -0
  170. package/dist/chunk-V6DLLX4N.js +176 -0
  171. package/dist/chunk-V6DLLX4N.js.map +7 -0
  172. package/dist/chunk-VIPMLSZP.js +217 -0
  173. package/dist/chunk-VQPS4SXU.js +97 -0
  174. package/dist/chunk-VQPS4SXU.js.map +7 -0
  175. package/dist/chunk-VUUZJANK.js +1150 -0
  176. package/dist/chunk-VYIO7T6J.js +82 -0
  177. package/dist/chunk-VYIO7T6J.js.map +7 -0
  178. package/dist/chunk-W345H42C.js +273 -0
  179. package/dist/chunk-W345H42C.js.map +7 -0
  180. package/dist/chunk-WGHO2NCP.js +205 -0
  181. package/dist/chunk-WGL6FIUE.js +330 -0
  182. package/dist/chunk-WGL6FIUE.js.map +7 -0
  183. package/dist/chunk-WPHOEG56.js +194 -0
  184. package/dist/chunk-WS5XVKPJ.js +470 -0
  185. package/dist/chunk-X6URQAFD.js +1271 -0
  186. package/dist/chunk-XYFDBYOY.js +1658 -0
  187. package/dist/chunk-XYFDBYOY.js.map +7 -0
  188. package/dist/chunk-Y6RCKITI.js +1155 -0
  189. package/dist/chunk-Y6RCKITI.js.map +7 -0
  190. package/dist/chunk-YALAQWX4.js +368 -0
  191. package/dist/chunk-YK5NFMHR.js +269 -0
  192. package/dist/chunk-YK5NFMHR.js.map +7 -0
  193. package/dist/chunk-YY4CKQJ6.js +95 -0
  194. package/dist/chunk-Z3KV6SC2.js +629 -0
  195. package/dist/chunk-ZGT4XP5J.js +1426 -0
  196. package/dist/chunk-ZGT4XP5J.js.map +7 -0
  197. package/dist/condition-JKQIRMMW.js +330 -0
  198. package/dist/controls-324AGOZG.js +39 -0
  199. package/dist/controls.config-TA4NNARU.js +37 -0
  200. package/dist/correlation-3Z36TKC2.js +96 -0
  201. package/dist/cuminc-4DY2CSZF.js +1147 -0
  202. package/dist/cuminc.integration.spec-SFQPLMSF.js +676 -0
  203. package/dist/customdata.inputui-IKGPEBXV.js +287 -0
  204. package/dist/customdata.inputui-IKGPEBXV.js.map +7 -0
  205. package/dist/dataDownload-3AE2N7KI.js +328 -0
  206. package/dist/dataDownload.integration.spec-DKOT6BJP.js +191 -0
  207. package/dist/databrowser.ui-ATODRS5P.js +419 -0
  208. package/dist/dictionary-WHDZBW5M.js +109 -0
  209. package/dist/dictionary-WHDZBW5M.js.map +7 -0
  210. package/dist/dnaMethylation-TVA5YMOR.js +36 -0
  211. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js +165 -0
  212. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js.map +7 -0
  213. package/dist/e2pca-KHVDNFEZ.js +348 -0
  214. package/dist/ep-B5GAAMNM.js +1254 -0
  215. package/dist/expclust.gdc.spec-EDPX7V6K.js +305 -0
  216. package/dist/facet-ZCSXKXIO.js +519 -0
  217. package/dist/geneExpClustering-ERNCMAED.js +246 -0
  218. package/dist/geneExpression-HUOXWETT.js +36 -0
  219. package/dist/geneExpression-X2KXJPND.js +312 -0
  220. package/dist/geneExpression.unit.spec-5QQB4ISW.js +100 -0
  221. package/dist/geneORA-B5UK77KL.js +276 -0
  222. package/dist/geneVariant-7MGUAIZ6.js +39 -0
  223. package/dist/geneVariant-FK3KZJ2K.js +37 -0
  224. package/dist/geneVariant.integration.spec-C6TYWKIC.js +196 -0
  225. package/dist/genefusion.ui-VKAINMY7.js +249 -0
  226. package/dist/geneset-673KAZVX.js +194 -0
  227. package/dist/genomeBrowser.spec-T6TQCJ3O.js +279 -0
  228. package/dist/grin2-376BD4XY.js +1554 -0
  229. package/dist/grin2-OALS75LC.js +1031 -0
  230. package/dist/gsea-25LD2LGP.js +45 -0
  231. package/dist/hierCluster-7KU3K52V.js +58 -0
  232. package/dist/hierCluster-M5VVWKQK.js +62 -0
  233. package/dist/hierCluster.config-EDO3SH2P.js +38 -0
  234. package/dist/hierCluster.integration.spec-UOX7J2XD.js +374 -0
  235. package/dist/hierCluster.interactivity-FEFZDXML.js +52 -0
  236. package/dist/hierCluster.renderers-A6MEGO2B.js +21 -0
  237. package/dist/imagePlot-FPXZ2H5Z.js +139 -0
  238. package/dist/importPlot-VKWPSFEK.js +8 -0
  239. package/dist/isoformExpression-2R2TOB6P.js +38 -0
  240. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js +206 -0
  241. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js.map +7 -0
  242. package/dist/jspdf.es.min-FC3BCETM.js +40 -0
  243. package/dist/launch.adhoc-242RS6DW.js +40 -0
  244. package/dist/leftlabel.sample-OJW3AE64.js +257 -0
  245. package/dist/legacyDataset-PBCPC5I7.js +119 -0
  246. package/dist/lollipop-TRQ3LK7Y.js +166 -0
  247. package/dist/maf-ZBOLN2FE.js +450 -0
  248. package/dist/maftimeline-GVX7NJP7.js +591 -0
  249. package/dist/matrix-73KRNXLM.js +57 -0
  250. package/dist/matrix-US3OXYRY.js +62 -0
  251. package/dist/matrix.cells-U7AQNEBP.js +28 -0
  252. package/dist/matrix.config-Q57D7C3F.js +39 -0
  253. package/dist/matrix.controls-AWXDRSWP.js +37 -0
  254. package/dist/matrix.data-EEIY6AO4.js +25 -0
  255. package/dist/matrix.dom-6QL3AJMW.js +11 -0
  256. package/dist/matrix.groups-CUB6UWC5.js +26 -0
  257. package/dist/matrix.integration.spec-PQH67KRM.js +3070 -0
  258. package/dist/matrix.interactivity-JW4AXAWO.js +40 -0
  259. package/dist/matrix.layout-I56KRVCO.js +42 -0
  260. package/dist/matrix.legend-42LQGAGX.js +22 -0
  261. package/dist/matrix.renderers-IX3FCNBK.js +36 -0
  262. package/dist/matrix.serieses-4B2WB526.js +21 -0
  263. package/dist/matrix.sort-BJACNR7G.js +27 -0
  264. package/dist/matrix.sort.unit.spec-3KKDKIPY.js +470 -0
  265. package/dist/matrix.sorterUi-W6XFYZY2.js +18 -0
  266. package/dist/matrix.sorterUi.unit.spec-CMJ7EBIW.js +340 -0
  267. package/dist/mavb-ROAE6WYA.js +730 -0
  268. package/dist/mds.fimo-UGK5OWCF.js +516 -0
  269. package/dist/mds.samplescatterplot-5KFUAYSB.js +1548 -0
  270. package/dist/mds.survivalplot-2EVNZUX5.js +481 -0
  271. package/dist/oncomatrix-UGFXSXQJ.js +293 -0
  272. package/dist/oncomatrix.spec-FEP7BR7L.js +446 -0
  273. package/dist/plot.2dvaf-WXGLWCOC.js +375 -0
  274. package/dist/plot.app-IZAFRTBU.js +39 -0
  275. package/dist/plot.barplot-Z4VWOPFJ.js +100 -0
  276. package/dist/plot.boxplot-QU2KZSB7.js +150 -0
  277. package/dist/plot.brainImaging-U643YIK7.js +51 -0
  278. package/dist/plot.disco-3BV6YEBC.js +101 -0
  279. package/dist/plot.disco-3BV6YEBC.js.map +7 -0
  280. package/dist/plot.dzi-DWXPOOQE.js +33 -0
  281. package/dist/plot.ssgq-GXB2GZO3.js +137 -0
  282. package/dist/plot.vaf2cov-EKRIADPB.js +257 -0
  283. package/dist/plot.wsi-E2LLE6HI.js +36 -0
  284. package/dist/polar-MZLIUXHO.js +184 -0
  285. package/dist/polar2-IUVHNQM4.js +226 -0
  286. package/dist/profile.spec-JRW6KYUI.js +78 -0
  287. package/dist/profileBarchart-N7HJMYZ5.js +265 -0
  288. package/dist/profileForms-Q5TPGPQP.js +438 -0
  289. package/dist/profilePlot-TXTUYDVE.js +52 -0
  290. package/dist/profileRadar-ICEASI7W.js +261 -0
  291. package/dist/profileRadarFacility-NFMRNJYX.js +261 -0
  292. package/dist/profileRadarFacility-NFMRNJYX.js.map +7 -0
  293. package/dist/proteinView-K3JFNORQ.js +633 -0
  294. package/dist/proteinView-K3JFNORQ.js.map +7 -0
  295. package/dist/proteomeAbundance-DE4NVBCN.js +21 -0
  296. package/dist/proteomeAbundance-LTB3QR3G.js +63 -0
  297. package/dist/qualitative-DFGWQURY.js +41 -0
  298. package/dist/regression-TTQTAEGD.js +54 -0
  299. package/dist/regression.inputs-2LU2XRGC.js +46 -0
  300. package/dist/regression.inputs.term-G57GL57T.js +46 -0
  301. package/dist/regression.inputs.values.table-JSEM3PXL.js +43 -0
  302. package/dist/regression.integration.spec-XJQJAIC3.js +782 -0
  303. package/dist/regression.integration.spec-XJQJAIC3.js.map +7 -0
  304. package/dist/regression.results-3YNM6LLQ.js +38 -0
  305. package/dist/regression.spec-S6WFCPSW.js +706 -0
  306. package/dist/report-YRAV4MY4.js +220 -0
  307. package/dist/sampleScatter.spec-MBJ4XNTX.js +200 -0
  308. package/dist/sampleView-IUR3ZEN7.js +46 -0
  309. package/dist/samplelst-C2NBFGH6.js +109 -0
  310. package/dist/samplematrix-AOK2HHSB.js +2196 -0
  311. package/dist/sc-XT3Z5XJI.js +84 -0
  312. package/dist/scatter-SAHKZRFL.js +800 -0
  313. package/dist/scatter.integration.spec-6KRDNHHH.js +1194 -0
  314. package/dist/scatter.integration.spec-6KRDNHHH.js.map +7 -0
  315. package/dist/selectGenomeWithTklst-2YVZ4JWV.js +132 -0
  316. package/dist/singleCellCellType-NFN5GQJM.js +36 -0
  317. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js +158 -0
  318. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js.map +7 -0
  319. package/dist/singleCellGeneExpression-7AQGLXTR.js +36 -0
  320. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js +151 -0
  321. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js.map +7 -0
  322. package/dist/singleCellPlot-IWFEG44C.js +51 -0
  323. package/dist/singlecell-3QNV4OMZ.js +1570 -0
  324. package/dist/singlecell-EATPLH66.js +84 -0
  325. package/dist/snp-UP7WL7WG.js +36 -0
  326. package/dist/snp.unit.spec-Y5NWQ442.js +174 -0
  327. package/dist/snplocus-WAQK2AZG.js +206 -0
  328. package/dist/spliceevent.a53ss.diagram-FFK27UIB.js +149 -0
  329. package/dist/spliceevent.exonskip.diagram-KWEF2OZJ.js +275 -0
  330. package/dist/spliceevent.noeventdiagram-PU4TI7OM.js +458 -0
  331. package/dist/ssGSEA-N6QOAVLW.js +36 -0
  332. package/dist/ssGSEA.unit.spec-KQBNZNNP.js +86 -0
  333. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js +161 -0
  334. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js.map +7 -0
  335. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js +106 -0
  336. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js.map +7 -0
  337. package/dist/summarizeMutationCnv-VV7CVAA7.js +162 -0
  338. package/dist/summarizeMutationCnv-VV7CVAA7.js.map +7 -0
  339. package/dist/summarizeMutationDiagnosis-5RHSG7L6.js +38 -0
  340. package/dist/summarizeMutationSurvival-22YYXGS5.js +97 -0
  341. package/dist/summary-P3WIKJS7.js +47 -0
  342. package/dist/summary.integration.spec-ULGRPICW.js +412 -0
  343. package/dist/summaryInput-IH4EVNF5.js +218 -0
  344. package/dist/sunburst-VJJ3UVYC.js +282 -0
  345. package/dist/sunburst-VJJ3UVYC.js.map +7 -0
  346. package/dist/survival-2ZE3N62A.js +44 -0
  347. package/dist/survival-ASCLKIII.js +56 -0
  348. package/dist/survival.integration.spec-C5YXOY77.js +787 -0
  349. package/dist/svg2pdf.es.min-CYTPRWNB.js +3157 -0
  350. package/dist/svgraph-AYR2UPNK.js +1385 -0
  351. package/dist/svmr-MOMW5DNY.js +3840 -0
  352. package/dist/table-PQB6KCEY.js +198 -0
  353. package/dist/termCollection-5AY2AWT4.js +36 -0
  354. package/dist/termCollection-OQMUUTW6.js +177 -0
  355. package/dist/termCollection.unit.spec-BUAXYIJK.js +206 -0
  356. package/dist/tk-EJLFFA5H.js +44 -0
  357. package/dist/tp.ui-WUW6A7KP.js +1457 -0
  358. package/dist/tvs.density-HSVPDDGA.js +18 -0
  359. package/dist/tvs.dt-MVJXQMNU.js +37 -0
  360. package/dist/tvs.dtcnv.categorical-FIIDWVK7.js +38 -0
  361. package/dist/tvs.dtcnv.continuous-JPQU3JA2.js +70 -0
  362. package/dist/tvs.dtfusion-BW35GOQM.js +38 -0
  363. package/dist/tvs.dtsnvindel-AEMFZ4EH.js +38 -0
  364. package/dist/tvs.dtsv-JHTU7UFD.js +38 -0
  365. package/dist/tvs.numeric-ICUGA4WY.js +21 -0
  366. package/dist/tvs.samplelst-VD2NFFFS.js +102 -0
  367. package/dist/tvs.termCollection-IKE5Q74D.js +151 -0
  368. package/dist/violin-DPMJLHQG.js +44 -0
  369. package/dist/violin.integration.spec-A4PNR4ES.js +1423 -0
  370. package/dist/violin.integration.spec-A4PNR4ES.js.map +7 -0
  371. package/dist/violin.interactivity-TS4DYUE5.js +36 -0
  372. package/dist/violin.renderer-53L4PXUT.js +38 -0
  373. package/dist/vocabulary-4MPFHKYC.js +39 -0
  374. package/package.json +3 -3
  375. package/dist/2dmaf-SLBAWGPG.js +0 -1371
  376. package/dist/AIProjectAdmin-6SH5X3AF.js +0 -830
  377. package/dist/AIProjectAdmin-6SH5X3AF.js.map +0 -7
  378. package/dist/AppHeader-MVYNRMC7.js +0 -833
  379. package/dist/BoxPlot-HLGWW3IK.js +0 -1295
  380. package/dist/BoxPlot-HLGWW3IK.js.map +0 -7
  381. package/dist/CorrelationVolcano-TZCYC3NI.js +0 -617
  382. package/dist/DE-2J2SK5UT.js +0 -93
  383. package/dist/DEinput-QM3GOQHM.js +0 -297
  384. package/dist/DifferentialAnalysis-DS7CQOT6.js +0 -238
  385. package/dist/Disco-U5I6NJUT.js +0 -3199
  386. package/dist/Disco-U5I6NJUT.js.map +0 -7
  387. package/dist/Disco.UI-J2B7GGEZ.js +0 -242
  388. package/dist/DmrPlot-D5W76QPY.js +0 -640
  389. package/dist/GB-LM5SGUG4.js +0 -1125
  390. package/dist/HicApp-YNBGAGKM.js +0 -2248
  391. package/dist/NumBinaryEditor-4QA5DQJT.js +0 -268
  392. package/dist/NumBinaryEditor.unit.spec-YWSIFTOJ.js +0 -284
  393. package/dist/NumContEditor-ZPLVZFLH.js +0 -105
  394. package/dist/NumContEditor.unit.spec-NBCFOCOX.js +0 -167
  395. package/dist/NumCustomBinEditor-TXEYRVPL.js +0 -36
  396. package/dist/NumCustomBinEditor.unit.spec-SQM63H4B.js +0 -282
  397. package/dist/NumDiscreteEditor-6C4OWX62.js +0 -177
  398. package/dist/NumDiscreteEditor.unit.spec-4HC4AGAM.js +0 -200
  399. package/dist/NumRegularBinEditor-VQAS3OXK.js +0 -36
  400. package/dist/NumRegularBinEditor.unit.spec-RGVEPB3Z.js +0 -225
  401. package/dist/NumSplineEditor-SXOJICHU.js +0 -190
  402. package/dist/NumSplineEditor.unit.spec-HF5E6ANH.js +0 -197
  403. package/dist/NumericDensity-LMLPMOSE.js +0 -36
  404. package/dist/NumericDensity.unit.spec-3ZI5EVON.js +0 -219
  405. package/dist/NumericHandler-Q6F6ANOS.js +0 -37
  406. package/dist/NumericHandler.unit.spec-E6Z5HUNZ.js +0 -217
  407. package/dist/RunChart2-XSNWNAIL.js +0 -756
  408. package/dist/RunChart2-XSNWNAIL.js.map +0 -7
  409. package/dist/SC-RA46YM57.js +0 -733
  410. package/dist/SC-RA46YM57.js.map +0 -7
  411. package/dist/Volcano-75UDYPVB.js +0 -1187
  412. package/dist/Volcano-75UDYPVB.js.map +0 -7
  413. package/dist/WSIViewer-GYUUXCSJ.js +0 -47933
  414. package/dist/WSIViewer-GYUUXCSJ.js.map +0 -7
  415. package/dist/WsiSamplesPlot-KMI5S2EL.js +0 -163
  416. package/dist/adSandbox-JTK5XEQL.js +0 -36
  417. package/dist/alphaGenome-JRAV6WIY.js +0 -173
  418. package/dist/app-JKDZL23V.js +0 -35
  419. package/dist/app-OEARXM6E.js +0 -47
  420. package/dist/bam-CYEPLBK4.js +0 -857
  421. package/dist/barchart-GG5UFDG4.js +0 -45
  422. package/dist/barchart.data-KXA66FAL.js +0 -22
  423. package/dist/barchart.events-P2USOIR7.js +0 -45
  424. package/dist/barchart.integration.spec-5QSPQQLJ.js +0 -1675
  425. package/dist/bars.renderer-T5R3UIBW.js +0 -12
  426. package/dist/block-6DVPQBSH.js +0 -6200
  427. package/dist/block-6DVPQBSH.js.map +0 -7
  428. package/dist/block.init-ZHX6DFWF.js +0 -36
  429. package/dist/block.mds.expressionrank-YMGYXXYT.js +0 -357
  430. package/dist/block.mds.geneboxplot-IAILQYX4.js +0 -826
  431. package/dist/block.mds.junction-BRNFNQMU.js +0 -1543
  432. package/dist/block.mds.svcnv-OHKC7YPO.js +0 -6799
  433. package/dist/block.svg-PNGK45HW.js +0 -162
  434. package/dist/block.tk.aicheck-SCIOJ4WN.js +0 -281
  435. package/dist/block.tk.ase-BABJ73GG.js +0 -363
  436. package/dist/block.tk.bam-LZWJ5BCQ.js +0 -1904
  437. package/dist/block.tk.bedgraphdot-7NQLC3XJ.js +0 -382
  438. package/dist/block.tk.bigwig.ui-VNY4SFD5.js +0 -209
  439. package/dist/block.tk.hicstraw-36A7VDRM.js +0 -821
  440. package/dist/block.tk.junction-D373YEMK.js +0 -2362
  441. package/dist/block.tk.junction.textmatrixui-FFII7J3X.js +0 -197
  442. package/dist/block.tk.ld-XGB6KMDO.js +0 -97
  443. package/dist/block.tk.menu-PEZANZBZ.js +0 -1027
  444. package/dist/block.tk.pgv-MU5BPTT2.js +0 -942
  445. package/dist/brainImaging-LVJON47N.js +0 -421
  446. package/dist/chat-5FDIAQJ4.js +0 -148
  447. package/dist/chunk-22NJUYET.js +0 -281
  448. package/dist/chunk-22NJUYET.js.map +0 -7
  449. package/dist/chunk-2J3566TA.js +0 -215
  450. package/dist/chunk-2OSEZCWZ.js +0 -205
  451. package/dist/chunk-2SRMRC6L.js +0 -421
  452. package/dist/chunk-2SRMRC6L.js.map +0 -7
  453. package/dist/chunk-5OHXYXLD.js +0 -46
  454. package/dist/chunk-5OHXYXLD.js.map +0 -7
  455. package/dist/chunk-6MSCYO7K.js +0 -119
  456. package/dist/chunk-75EBDB7G.js +0 -21
  457. package/dist/chunk-75EBDB7G.js.map +0 -7
  458. package/dist/chunk-7A7NMCQ3.js +0 -534
  459. package/dist/chunk-7FEHI46K.js +0 -20456
  460. package/dist/chunk-7FEHI46K.js.map +0 -7
  461. package/dist/chunk-AETE4F7R.js +0 -252
  462. package/dist/chunk-AZYDW5T7.js +0 -441
  463. package/dist/chunk-B6HCIAM3.js +0 -34
  464. package/dist/chunk-BEWDIM6H.js +0 -42
  465. package/dist/chunk-BEWDIM6H.js.map +0 -7
  466. package/dist/chunk-CCIZJAXB.js +0 -2815
  467. package/dist/chunk-DHZL3FBC.js +0 -107
  468. package/dist/chunk-DONWY7TP.js +0 -39
  469. package/dist/chunk-DVDDXOWT.js +0 -815
  470. package/dist/chunk-E6DRQJJT.js +0 -480
  471. package/dist/chunk-ESKU6LNC.js +0 -36
  472. package/dist/chunk-ESKU6LNC.js.map +0 -7
  473. package/dist/chunk-F6V4AYWP.js +0 -177
  474. package/dist/chunk-FBAJTPBU.js +0 -302
  475. package/dist/chunk-FGMPKWT5.js +0 -371
  476. package/dist/chunk-FK4MYVW2.js +0 -261
  477. package/dist/chunk-FK4MYVW2.js.map +0 -7
  478. package/dist/chunk-FMBJ4SKC.js +0 -98
  479. package/dist/chunk-FMBJ4SKC.js.map +0 -7
  480. package/dist/chunk-FOEZG4VX.js +0 -505
  481. package/dist/chunk-FOEZG4VX.js.map +0 -7
  482. package/dist/chunk-FQRLSKJC.js +0 -226
  483. package/dist/chunk-G6ELKVBG.js +0 -629
  484. package/dist/chunk-GKK3CZ6H.js +0 -4207
  485. package/dist/chunk-GO5SIPFE.js +0 -194
  486. package/dist/chunk-GPOECA3V.js +0 -386
  487. package/dist/chunk-GTOY3JJO.js +0 -288
  488. package/dist/chunk-GTOY3JJO.js.map +0 -7
  489. package/dist/chunk-GW7DHJYH.js +0 -439
  490. package/dist/chunk-GW7DHJYH.js.map +0 -7
  491. package/dist/chunk-H2D7EVUA.js +0 -158
  492. package/dist/chunk-H2K5KZP7.js +0 -95
  493. package/dist/chunk-H5XFH3FV.js +0 -153
  494. package/dist/chunk-H5XFH3FV.js.map +0 -7
  495. package/dist/chunk-HAMDFQIX.js +0 -228
  496. package/dist/chunk-HH4QLSTK.js +0 -4952
  497. package/dist/chunk-HH4QLSTK.js.map +0 -7
  498. package/dist/chunk-IBTPGSYI.js +0 -526
  499. package/dist/chunk-IBTPGSYI.js.map +0 -7
  500. package/dist/chunk-IC7SUXJD.js +0 -82
  501. package/dist/chunk-IC7SUXJD.js.map +0 -7
  502. package/dist/chunk-IGEQI6MR.js +0 -1561
  503. package/dist/chunk-IGEQI6MR.js.map +0 -7
  504. package/dist/chunk-IIRU6VK2.js +0 -2672
  505. package/dist/chunk-ILF2GKBY.js +0 -1205
  506. package/dist/chunk-IP4T477W.js +0 -92
  507. package/dist/chunk-IQIXGTQV.js +0 -84
  508. package/dist/chunk-IQIXGTQV.js.map +0 -7
  509. package/dist/chunk-IXT4U5CE.js +0 -91
  510. package/dist/chunk-IXT4U5CE.js.map +0 -7
  511. package/dist/chunk-JHOGX5VE.js +0 -272
  512. package/dist/chunk-JOXUBWN3.js +0 -381
  513. package/dist/chunk-K57RR3FD.js +0 -142
  514. package/dist/chunk-K6JLCMVL.js +0 -129
  515. package/dist/chunk-KISFQDQE.js +0 -258
  516. package/dist/chunk-KISFQDQE.js.map +0 -7
  517. package/dist/chunk-KSFSM46X.js +0 -100
  518. package/dist/chunk-KVG7FTTK.js +0 -470
  519. package/dist/chunk-LEDPPLQK.js +0 -158
  520. package/dist/chunk-LUTT3MBZ.js +0 -1150
  521. package/dist/chunk-MDL2HG3N.js +0 -257
  522. package/dist/chunk-MDL2HG3N.js.map +0 -7
  523. package/dist/chunk-MNRYCG2S.js +0 -1271
  524. package/dist/chunk-MPJHDHBA.js +0 -2784
  525. package/dist/chunk-MXI3NXRB.js +0 -407
  526. package/dist/chunk-O4PXELXF.js +0 -615
  527. package/dist/chunk-ORPCSG6T.js +0 -14
  528. package/dist/chunk-OUKDZKSZ.js +0 -334
  529. package/dist/chunk-OUKDZKSZ.js.map +0 -7
  530. package/dist/chunk-P5HLYAHP.js +0 -1087
  531. package/dist/chunk-PIACSJPH.js +0 -148
  532. package/dist/chunk-PQABAAEZ.js +0 -31
  533. package/dist/chunk-PSMDCZET.js +0 -46
  534. package/dist/chunk-PSMDCZET.js.map +0 -7
  535. package/dist/chunk-RFIVPTMS.js +0 -217
  536. package/dist/chunk-RSU37SVQ.js +0 -54
  537. package/dist/chunk-RTC4U4PH.js +0 -2327
  538. package/dist/chunk-RTC4U4PH.js.map +0 -7
  539. package/dist/chunk-RZ5JP44H.js +0 -276
  540. package/dist/chunk-RZ5JP44H.js.map +0 -7
  541. package/dist/chunk-SPAIFVM2.js +0 -1155
  542. package/dist/chunk-SPAIFVM2.js.map +0 -7
  543. package/dist/chunk-T2HYA2KL.js +0 -55
  544. package/dist/chunk-TCPU43TU.js +0 -1741
  545. package/dist/chunk-TCPU43TU.js.map +0 -7
  546. package/dist/chunk-TE3DK3A6.js +0 -147
  547. package/dist/chunk-TIQPSXFJ.js +0 -237
  548. package/dist/chunk-TIQPSXFJ.js.map +0 -7
  549. package/dist/chunk-TN5GSG34.js +0 -26
  550. package/dist/chunk-UBGTQMOO.js +0 -52
  551. package/dist/chunk-UBS5UVIY.js +0 -13624
  552. package/dist/chunk-UE5ZYM63.js +0 -48
  553. package/dist/chunk-UE5ZYM63.js.map +0 -7
  554. package/dist/chunk-UQACPOCM.js +0 -102
  555. package/dist/chunk-UR3C4SCH.js +0 -446
  556. package/dist/chunk-UWX7W22M.js +0 -121
  557. package/dist/chunk-VJ37HKM6.js +0 -368
  558. package/dist/chunk-VLTDUJRM.js +0 -293
  559. package/dist/chunk-W6UUEAEP.js +0 -6364
  560. package/dist/chunk-X6UPDFDX.js +0 -229
  561. package/dist/chunk-XD6BFNMR.js +0 -172
  562. package/dist/chunk-XD6BFNMR.js.map +0 -7
  563. package/dist/chunk-XDI4UFCZ.js +0 -467
  564. package/dist/chunk-XDI4UFCZ.js.map +0 -7
  565. package/dist/chunk-XOBD3EAM.js +0 -1425
  566. package/dist/chunk-XOBD3EAM.js.map +0 -7
  567. package/dist/chunk-Y3TDC7NU.js +0 -170
  568. package/dist/chunk-YOTWMCT5.js +0 -824
  569. package/dist/chunk-YUMPQ3CJ.js +0 -203
  570. package/dist/condition-VHP2L4GM.js +0 -330
  571. package/dist/controls-N5Q7U7JR.js +0 -39
  572. package/dist/controls.config-NJMW4SLR.js +0 -37
  573. package/dist/correlation-3LDASF5I.js +0 -96
  574. package/dist/cuminc-UWJ23W6C.js +0 -1147
  575. package/dist/cuminc.integration.spec-OZYYET3W.js +0 -676
  576. package/dist/customdata.inputui-2FVCVSE4.js +0 -285
  577. package/dist/customdata.inputui-2FVCVSE4.js.map +0 -7
  578. package/dist/dataDownload-4S4PE5HX.js +0 -328
  579. package/dist/dataDownload.integration.spec-B57LEKFZ.js +0 -191
  580. package/dist/databrowser.ui-N6GHEQ2P.js +0 -419
  581. package/dist/dictionary-UP46QRYZ.js +0 -98
  582. package/dist/dictionary-UP46QRYZ.js.map +0 -7
  583. package/dist/dnaMethylation-BOGAUAWA.js +0 -36
  584. package/dist/dnaMethylation.integration.spec-UAHBJSSJ.js +0 -179
  585. package/dist/dnaMethylation.integration.spec-UAHBJSSJ.js.map +0 -7
  586. package/dist/e2pca-L5EBQJNP.js +0 -348
  587. package/dist/ep-Z67ORKUX.js +0 -1254
  588. package/dist/expclust.gdc.spec-SP7VOL64.js +0 -305
  589. package/dist/facet-HDB4VDGU.js +0 -519
  590. package/dist/geneExpClustering-6ZPOLTDJ.js +0 -246
  591. package/dist/geneExpression-T6YIG4XQ.js +0 -312
  592. package/dist/geneExpression-T7QUHV5S.js +0 -36
  593. package/dist/geneExpression.unit.spec-DO52L5IB.js +0 -100
  594. package/dist/geneORA-KOUDUWUO.js +0 -276
  595. package/dist/geneVariant-FVR76F6I.js +0 -39
  596. package/dist/geneVariant-I5QUITKG.js +0 -37
  597. package/dist/geneVariant.integration.spec-D4IRM7B5.js +0 -196
  598. package/dist/genefusion.ui-35IYSZD7.js +0 -249
  599. package/dist/geneset-7ZHJ5KWK.js +0 -194
  600. package/dist/genomeBrowser.spec-VXASVLNH.js +0 -279
  601. package/dist/grin2-7NM56COO.js +0 -1554
  602. package/dist/grin2-IY26UUQI.js +0 -1031
  603. package/dist/gsea-TORO46C6.js +0 -45
  604. package/dist/hierCluster-3BKEGW6P.js +0 -58
  605. package/dist/hierCluster-HM3LOM6V.js +0 -62
  606. package/dist/hierCluster.config-LDO5IGQ5.js +0 -38
  607. package/dist/hierCluster.integration.spec-XO5R6CQT.js +0 -374
  608. package/dist/hierCluster.interactivity-NVQ6262K.js +0 -52
  609. package/dist/hierCluster.renderers-SWPPNBLU.js +0 -21
  610. package/dist/imagePlot-V4WLAPV6.js +0 -139
  611. package/dist/importPlot-NZKQEOX4.js +0 -8
  612. package/dist/isoformExpression-TIZBIGNL.js +0 -38
  613. package/dist/isoformExpression.unit.spec-WHH5LPFG.js +0 -124
  614. package/dist/isoformExpression.unit.spec-WHH5LPFG.js.map +0 -7
  615. package/dist/jspdf.es.min-DO4YWL2R.js +0 -40
  616. package/dist/launch.adhoc-JYEN42NM.js +0 -40
  617. package/dist/leftlabel.sample-43DL3J3H.js +0 -257
  618. package/dist/legacyDataset-QRSNRVUA.js +0 -119
  619. package/dist/lollipop-NMWZ4FVF.js +0 -166
  620. package/dist/maf-DS3EOVGV.js +0 -450
  621. package/dist/maftimeline-ZB2753S7.js +0 -591
  622. package/dist/matrix-RCGQWQ3C.js +0 -57
  623. package/dist/matrix-WTTEK4FT.js +0 -62
  624. package/dist/matrix.cells-UO5ASQ35.js +0 -28
  625. package/dist/matrix.config-3UQAT3QR.js +0 -39
  626. package/dist/matrix.controls-PRZ77K5L.js +0 -37
  627. package/dist/matrix.data-4W73RQ3H.js +0 -25
  628. package/dist/matrix.dom-IZFFS4RQ.js +0 -11
  629. package/dist/matrix.groups-5VMPI7SA.js +0 -26
  630. package/dist/matrix.integration.spec-2F5LDLC2.js +0 -3070
  631. package/dist/matrix.interactivity-MIPZ6ELV.js +0 -40
  632. package/dist/matrix.layout-EO5LVYRO.js +0 -42
  633. package/dist/matrix.legend-QBFBFEUG.js +0 -22
  634. package/dist/matrix.renderers-ERJXVCQL.js +0 -36
  635. package/dist/matrix.serieses-E23EPXHA.js +0 -21
  636. package/dist/matrix.sort-I4UGMEXR.js +0 -27
  637. package/dist/matrix.sort.unit.spec-CRGF6CSE.js +0 -470
  638. package/dist/matrix.sorterUi-YLSYTYLE.js +0 -18
  639. package/dist/matrix.sorterUi.unit.spec-ENG3ICOO.js +0 -340
  640. package/dist/mavb-5WR7OJHI.js +0 -730
  641. package/dist/mds.fimo-3ZRH7BBJ.js +0 -516
  642. package/dist/mds.samplescatterplot-RPXR2FVK.js +0 -1548
  643. package/dist/mds.survivalplot-WSSMYUZD.js +0 -481
  644. package/dist/oncomatrix-JKYPUJQR.js +0 -293
  645. package/dist/oncomatrix.spec-OEGU4DYK.js +0 -446
  646. package/dist/plot.2dvaf-ZGARLQNK.js +0 -375
  647. package/dist/plot.app-TKUJH3LK.js +0 -39
  648. package/dist/plot.barplot-FEIPGDZ2.js +0 -100
  649. package/dist/plot.boxplot-6RASUMZB.js +0 -150
  650. package/dist/plot.brainImaging-ZJPFWX2W.js +0 -51
  651. package/dist/plot.disco-2KTKB3XX.js +0 -101
  652. package/dist/plot.disco-2KTKB3XX.js.map +0 -7
  653. package/dist/plot.dzi-PC34YI6Y.js +0 -33
  654. package/dist/plot.ssgq-Z4UNJKWO.js +0 -137
  655. package/dist/plot.vaf2cov-NZ4WULKT.js +0 -257
  656. package/dist/plot.wsi-YYXFAZWY.js +0 -36
  657. package/dist/polar-X2GPIBLB.js +0 -184
  658. package/dist/polar2-TZ553QQH.js +0 -226
  659. package/dist/profile.spec-VB6VMFLY.js +0 -78
  660. package/dist/profileBarchart-SKJSTC7B.js +0 -265
  661. package/dist/profileForms-RLOGSMAQ.js +0 -438
  662. package/dist/profilePlot-267ZS3RG.js +0 -52
  663. package/dist/profileRadar-KGOBHCSF.js +0 -261
  664. package/dist/profileRadarFacility-MCJKSHUM.js +0 -261
  665. package/dist/profileRadarFacility-MCJKSHUM.js.map +0 -7
  666. package/dist/proteomeAbundance-JUYAYO5I.js +0 -63
  667. package/dist/proteomeAbundance-PGHZSVAF.js +0 -19
  668. package/dist/qualitative-3IECKKJM.js +0 -41
  669. package/dist/regression-J6FFRPXN.js +0 -54
  670. package/dist/regression.inputs-T7LWBSYZ.js +0 -46
  671. package/dist/regression.inputs.term-TT7PNX6G.js +0 -46
  672. package/dist/regression.inputs.values.table-SHFUNKCS.js +0 -43
  673. package/dist/regression.integration.spec-QKHMJTHA.js +0 -784
  674. package/dist/regression.integration.spec-QKHMJTHA.js.map +0 -7
  675. package/dist/regression.results-D4WX6VIV.js +0 -38
  676. package/dist/regression.spec-7SW55L7X.js +0 -706
  677. package/dist/report-QYOZ4BRF.js +0 -220
  678. package/dist/sampleScatter.spec-JCHFMGNF.js +0 -200
  679. package/dist/sampleView-7RPKNAZC.js +0 -46
  680. package/dist/samplelst-4WNPHZVG.js +0 -109
  681. package/dist/samplematrix-CG52DSXJ.js +0 -2196
  682. package/dist/sc-OJSWILSA.js +0 -84
  683. package/dist/scatter-LG2RMMEC.js +0 -800
  684. package/dist/scatter.integration.spec-QPANYTKW.js +0 -1194
  685. package/dist/scatter.integration.spec-QPANYTKW.js.map +0 -7
  686. package/dist/selectGenomeWithTklst-QXRVE6N4.js +0 -132
  687. package/dist/singleCellCellType-XBSRL33U.js +0 -36
  688. package/dist/singleCellCellType.unit.spec-YZX4CSXA.js +0 -177
  689. package/dist/singleCellCellType.unit.spec-YZX4CSXA.js.map +0 -7
  690. package/dist/singleCellGeneExpression-64ECP62X.js +0 -36
  691. package/dist/singleCellGeneExpression.unit.spec-CFHFXMA6.js +0 -163
  692. package/dist/singleCellGeneExpression.unit.spec-CFHFXMA6.js.map +0 -7
  693. package/dist/singleCellPlot-E5F62JY6.js +0 -51
  694. package/dist/singlecell-FCY5EOUV.js +0 -84
  695. package/dist/singlecell-S7B5V7NK.js +0 -1570
  696. package/dist/snp-ACKX4GRX.js +0 -36
  697. package/dist/snp.unit.spec-QBGHKKUD.js +0 -174
  698. package/dist/snplocus-7EUOW7J7.js +0 -206
  699. package/dist/spliceevent.a53ss.diagram-ALQZA35Z.js +0 -149
  700. package/dist/spliceevent.exonskip.diagram-UF7WJA5R.js +0 -275
  701. package/dist/spliceevent.noeventdiagram-4HPGRNRR.js +0 -458
  702. package/dist/ssGSEA-FDRBBBLJ.js +0 -36
  703. package/dist/ssGSEA.unit.spec-EZEOWJVV.js +0 -86
  704. package/dist/summarizeCnvGeneexp-FTL2MGAJ.js +0 -158
  705. package/dist/summarizeCnvGeneexp-FTL2MGAJ.js.map +0 -7
  706. package/dist/summarizeGeneexpSurvival-DDIF4UW6.js +0 -105
  707. package/dist/summarizeGeneexpSurvival-DDIF4UW6.js.map +0 -7
  708. package/dist/summarizeMutationCnv-L3GL5YDY.js +0 -159
  709. package/dist/summarizeMutationCnv-L3GL5YDY.js.map +0 -7
  710. package/dist/summarizeMutationDiagnosis-LALOJTHV.js +0 -38
  711. package/dist/summarizeMutationSurvival-TSNTSOBZ.js +0 -97
  712. package/dist/summary-YRHVS64T.js +0 -47
  713. package/dist/summary.integration.spec-766YQLQA.js +0 -412
  714. package/dist/summaryInput-VQ2X6GSX.js +0 -218
  715. package/dist/sunburst-XFOONS6K.js +0 -282
  716. package/dist/sunburst-XFOONS6K.js.map +0 -7
  717. package/dist/survival-FQXZH2MM.js +0 -44
  718. package/dist/survival-TVA3ZWVP.js +0 -56
  719. package/dist/survival.integration.spec-WFIOPD6A.js +0 -787
  720. package/dist/svg2pdf.es.min-EZ4UYRSH.js +0 -3157
  721. package/dist/svgraph-4BFBO7EL.js +0 -1385
  722. package/dist/svmr-ML7GAIIA.js +0 -3840
  723. package/dist/table-SMLMUWPP.js +0 -198
  724. package/dist/termCollection-22CPTISZ.js +0 -36
  725. package/dist/termCollection-EE6AOIVA.js +0 -177
  726. package/dist/termCollection.unit.spec-4DIW3CJ3.js +0 -206
  727. package/dist/tk-ITZCKOQ5.js +0 -44
  728. package/dist/tp.ui-R6HVKCBC.js +0 -1457
  729. package/dist/tvs.density-AQ5GD437.js +0 -18
  730. package/dist/tvs.dt-2263TBEJ.js +0 -37
  731. package/dist/tvs.dtcnv.categorical-TRRHL33N.js +0 -38
  732. package/dist/tvs.dtcnv.continuous-GREYNF52.js +0 -70
  733. package/dist/tvs.dtfusion-XOX46L3M.js +0 -38
  734. package/dist/tvs.dtsnvindel-IDMXT53F.js +0 -38
  735. package/dist/tvs.dtsv-ZDWFYH2C.js +0 -38
  736. package/dist/tvs.numeric-ZN2R7BH3.js +0 -21
  737. package/dist/tvs.samplelst-GAP76HRH.js +0 -102
  738. package/dist/tvs.termCollection-GQ65UKSI.js +0 -151
  739. package/dist/violin-JGDL62YA.js +0 -44
  740. package/dist/violin.integration.spec-W4NN7LBY.js +0 -1417
  741. package/dist/violin.integration.spec-W4NN7LBY.js.map +0 -7
  742. package/dist/violin.interactivity-H4RP4K5U.js +0 -36
  743. package/dist/violin.renderer-QPHLACDC.js +0 -38
  744. package/dist/vocabulary-7JACY4J2.js +0 -39
  745. /package/dist/{2dmaf-SLBAWGPG.js.map → 2dmaf-6ZTETSC5.js.map} +0 -0
  746. /package/dist/{AppHeader-MVYNRMC7.js.map → AppHeader-U7SJPIBS.js.map} +0 -0
  747. /package/dist/{CorrelationVolcano-TZCYC3NI.js.map → CorrelationVolcano-7SE4CTBW.js.map} +0 -0
  748. /package/dist/{DE-2J2SK5UT.js.map → DE-PZ7RHPBS.js.map} +0 -0
  749. /package/dist/{DEinput-QM3GOQHM.js.map → DEinput-UZEQIU2V.js.map} +0 -0
  750. /package/dist/{DifferentialAnalysis-DS7CQOT6.js.map → DifferentialAnalysis-L6BOEYVO.js.map} +0 -0
  751. /package/dist/{Disco.UI-J2B7GGEZ.js.map → Disco.UI-HKOUAD4P.js.map} +0 -0
  752. /package/dist/{DmrPlot-D5W76QPY.js.map → DmrPlot-3R24PTXP.js.map} +0 -0
  753. /package/dist/{GB-LM5SGUG4.js.map → GB-SZVYZASR.js.map} +0 -0
  754. /package/dist/{HicApp-YNBGAGKM.js.map → HicApp-SEEJETVE.js.map} +0 -0
  755. /package/dist/{NumBinaryEditor-4QA5DQJT.js.map → NumBinaryEditor-SDQFJ3FW.js.map} +0 -0
  756. /package/dist/{NumBinaryEditor.unit.spec-YWSIFTOJ.js.map → NumBinaryEditor.unit.spec-76ZZXTYC.js.map} +0 -0
  757. /package/dist/{NumContEditor-ZPLVZFLH.js.map → NumContEditor-G75O4YZE.js.map} +0 -0
  758. /package/dist/{NumContEditor.unit.spec-NBCFOCOX.js.map → NumContEditor.unit.spec-BFUZRBPL.js.map} +0 -0
  759. /package/dist/{NumCustomBinEditor-TXEYRVPL.js.map → NumCustomBinEditor-ILTPHCEF.js.map} +0 -0
  760. /package/dist/{NumCustomBinEditor.unit.spec-SQM63H4B.js.map → NumCustomBinEditor.unit.spec-GFIYV55V.js.map} +0 -0
  761. /package/dist/{NumDiscreteEditor-6C4OWX62.js.map → NumDiscreteEditor-5K3OKUOE.js.map} +0 -0
  762. /package/dist/{NumDiscreteEditor.unit.spec-4HC4AGAM.js.map → NumDiscreteEditor.unit.spec-NZ4KWPFK.js.map} +0 -0
  763. /package/dist/{NumRegularBinEditor-VQAS3OXK.js.map → NumRegularBinEditor-7ZJ2MEMY.js.map} +0 -0
  764. /package/dist/{NumRegularBinEditor.unit.spec-RGVEPB3Z.js.map → NumRegularBinEditor.unit.spec-QGVJET65.js.map} +0 -0
  765. /package/dist/{NumSplineEditor-SXOJICHU.js.map → NumSplineEditor-KE4UPODZ.js.map} +0 -0
  766. /package/dist/{NumSplineEditor.unit.spec-HF5E6ANH.js.map → NumSplineEditor.unit.spec-YQOOZA7S.js.map} +0 -0
  767. /package/dist/{NumericDensity-LMLPMOSE.js.map → NumericDensity-RL42P4QC.js.map} +0 -0
  768. /package/dist/{NumericDensity.unit.spec-3ZI5EVON.js.map → NumericDensity.unit.spec-Y6RMTYC7.js.map} +0 -0
  769. /package/dist/{NumericHandler-Q6F6ANOS.js.map → NumericHandler-4QIX324I.js.map} +0 -0
  770. /package/dist/{NumericHandler.unit.spec-E6Z5HUNZ.js.map → NumericHandler.unit.spec-T6F5QYP6.js.map} +0 -0
  771. /package/dist/{WsiSamplesPlot-KMI5S2EL.js.map → WsiSamplesPlot-CXGWPCDL.js.map} +0 -0
  772. /package/dist/{adSandbox-JTK5XEQL.js.map → adSandbox-DE4VRO4Z.js.map} +0 -0
  773. /package/dist/{alphaGenome-JRAV6WIY.js.map → alphaGenome-FSIGC5ZT.js.map} +0 -0
  774. /package/dist/{app-JKDZL23V.js.map → app-KZGKWQMU.js.map} +0 -0
  775. /package/dist/{app-OEARXM6E.js.map → app-MQRJ7FVL.js.map} +0 -0
  776. /package/dist/{bam-CYEPLBK4.js.map → bam-BDWTA4O3.js.map} +0 -0
  777. /package/dist/{barchart-GG5UFDG4.js.map → barchart-4Q6LVJY4.js.map} +0 -0
  778. /package/dist/{barchart.data-KXA66FAL.js.map → barchart.data-EXENRVMU.js.map} +0 -0
  779. /package/dist/{barchart.events-P2USOIR7.js.map → barchart.events-XRGND6I7.js.map} +0 -0
  780. /package/dist/{barchart.integration.spec-5QSPQQLJ.js.map → barchart.integration.spec-VQITP4YH.js.map} +0 -0
  781. /package/dist/{bars.renderer-T5R3UIBW.js.map → bars.renderer-S7A7I6BQ.js.map} +0 -0
  782. /package/dist/{block.init-ZHX6DFWF.js.map → block.init-NCNSE3HD.js.map} +0 -0
  783. /package/dist/{block.mds.expressionrank-YMGYXXYT.js.map → block.mds.expressionrank-JYZARS7T.js.map} +0 -0
  784. /package/dist/{block.mds.geneboxplot-IAILQYX4.js.map → block.mds.geneboxplot-FD2MCIHV.js.map} +0 -0
  785. /package/dist/{block.mds.junction-BRNFNQMU.js.map → block.mds.junction-LOHVQBIU.js.map} +0 -0
  786. /package/dist/{block.mds.svcnv-OHKC7YPO.js.map → block.mds.svcnv-Z7SAYPQL.js.map} +0 -0
  787. /package/dist/{block.svg-PNGK45HW.js.map → block.svg-LNJOKQNN.js.map} +0 -0
  788. /package/dist/{block.tk.aicheck-SCIOJ4WN.js.map → block.tk.aicheck-IXCMMAGV.js.map} +0 -0
  789. /package/dist/{block.tk.ase-BABJ73GG.js.map → block.tk.ase-WYRYFP6N.js.map} +0 -0
  790. /package/dist/{block.tk.bam-LZWJ5BCQ.js.map → block.tk.bam-EIVBNGAL.js.map} +0 -0
  791. /package/dist/{block.tk.bedgraphdot-7NQLC3XJ.js.map → block.tk.bedgraphdot-3FHLNCU7.js.map} +0 -0
  792. /package/dist/{block.tk.bigwig.ui-VNY4SFD5.js.map → block.tk.bigwig.ui-YDQU5PC4.js.map} +0 -0
  793. /package/dist/{block.tk.hicstraw-36A7VDRM.js.map → block.tk.hicstraw-S3ROL3CV.js.map} +0 -0
  794. /package/dist/{block.tk.junction-D373YEMK.js.map → block.tk.junction-DL7RNWX3.js.map} +0 -0
  795. /package/dist/{block.tk.junction.textmatrixui-FFII7J3X.js.map → block.tk.junction.textmatrixui-Z6I7IEDY.js.map} +0 -0
  796. /package/dist/{block.tk.ld-XGB6KMDO.js.map → block.tk.ld-XHVU6L56.js.map} +0 -0
  797. /package/dist/{block.tk.menu-PEZANZBZ.js.map → block.tk.menu-FPLAEEFY.js.map} +0 -0
  798. /package/dist/{block.tk.pgv-MU5BPTT2.js.map → block.tk.pgv-6ZZ2QGNO.js.map} +0 -0
  799. /package/dist/{brainImaging-LVJON47N.js.map → brainImaging-VSOOMITW.js.map} +0 -0
  800. /package/dist/{chat-5FDIAQJ4.js.map → chat-LW23PIG5.js.map} +0 -0
  801. /package/dist/{chunk-PQABAAEZ.js.map → chunk-2LULD7RN.js.map} +0 -0
  802. /package/dist/{chunk-LEDPPLQK.js.map → chunk-3AGB6HL4.js.map} +0 -0
  803. /package/dist/{chunk-T2HYA2KL.js.map → chunk-3AVDNIDN.js.map} +0 -0
  804. /package/dist/{chunk-JOXUBWN3.js.map → chunk-3DCABJHB.js.map} +0 -0
  805. /package/dist/{chunk-UQACPOCM.js.map → chunk-3JMB3OSC.js.map} +0 -0
  806. /package/dist/{chunk-2J3566TA.js.map → chunk-3UEMY45Y.js.map} +0 -0
  807. /package/dist/{chunk-ILF2GKBY.js.map → chunk-4RR4KPRJ.js.map} +0 -0
  808. /package/dist/{chunk-TE3DK3A6.js.map → chunk-5HCB4HNL.js.map} +0 -0
  809. /package/dist/{chunk-IP4T477W.js.map → chunk-5RFB7TYT.js.map} +0 -0
  810. /package/dist/{chunk-7A7NMCQ3.js.map → chunk-5UMPBVA6.js.map} +0 -0
  811. /package/dist/{chunk-MXI3NXRB.js.map → chunk-6C2SBTLR.js.map} +0 -0
  812. /package/dist/{chunk-UBS5UVIY.js.map → chunk-6LAE5AVA.js.map} +0 -0
  813. /package/dist/{chunk-JHOGX5VE.js.map → chunk-7VV43ICF.js.map} +0 -0
  814. /package/dist/{chunk-O4PXELXF.js.map → chunk-A742TQD2.js.map} +0 -0
  815. /package/dist/{chunk-E6DRQJJT.js.map → chunk-AFLFPYJI.js.map} +0 -0
  816. /package/dist/{chunk-DONWY7TP.js.map → chunk-AQ4OP4GR.js.map} +0 -0
  817. /package/dist/{chunk-FQRLSKJC.js.map → chunk-BAY47D5E.js.map} +0 -0
  818. /package/dist/{chunk-TN5GSG34.js.map → chunk-CFHKYLDY.js.map} +0 -0
  819. /package/dist/{chunk-K6JLCMVL.js.map → chunk-CTAKX5CT.js.map} +0 -0
  820. /package/dist/{chunk-Y3TDC7NU.js.map → chunk-D4QFQQWJ.js.map} +0 -0
  821. /package/dist/{chunk-YUMPQ3CJ.js.map → chunk-DGMK7SXX.js.map} +0 -0
  822. /package/dist/{chunk-UR3C4SCH.js.map → chunk-DNCSPTOQ.js.map} +0 -0
  823. /package/dist/{chunk-IIRU6VK2.js.map → chunk-DTDQKGIQ.js.map} +0 -0
  824. /package/dist/{chunk-K57RR3FD.js.map → chunk-E4NVHKWD.js.map} +0 -0
  825. /package/dist/{chunk-GKK3CZ6H.js.map → chunk-E6KEZENR.js.map} +0 -0
  826. /package/dist/{chunk-X6UPDFDX.js.map → chunk-FRBYOOWT.js.map} +0 -0
  827. /package/dist/{chunk-UWX7W22M.js.map → chunk-FVWCYGJL.js.map} +0 -0
  828. /package/dist/{chunk-CCIZJAXB.js.map → chunk-I4IKRKYJ.js.map} +0 -0
  829. /package/dist/{chunk-W6UUEAEP.js.map → chunk-IEQSUAIO.js.map} +0 -0
  830. /package/dist/{chunk-UBGTQMOO.js.map → chunk-JMPSZMDD.js.map} +0 -0
  831. /package/dist/{chunk-MPJHDHBA.js.map → chunk-JXOL73PT.js.map} +0 -0
  832. /package/dist/{chunk-KSFSM46X.js.map → chunk-K62XUHA4.js.map} +0 -0
  833. /package/dist/{chunk-DVDDXOWT.js.map → chunk-KQMEJUWI.js.map} +0 -0
  834. /package/dist/{chunk-FGMPKWT5.js.map → chunk-LI7FE335.js.map} +0 -0
  835. /package/dist/{chunk-AZYDW5T7.js.map → chunk-MV6O4I2B.js.map} +0 -0
  836. /package/dist/{chunk-PIACSJPH.js.map → chunk-MXNSW55L.js.map} +0 -0
  837. /package/dist/{chunk-HAMDFQIX.js.map → chunk-NB7NLFGZ.js.map} +0 -0
  838. /package/dist/{chunk-FBAJTPBU.js.map → chunk-NGGWK6HX.js.map} +0 -0
  839. /package/dist/{chunk-P5HLYAHP.js.map → chunk-OGGFS66K.js.map} +0 -0
  840. /package/dist/{chunk-DHZL3FBC.js.map → chunk-Q7PYFSNU.js.map} +0 -0
  841. /package/dist/{chunk-GPOECA3V.js.map → chunk-QMI222IJ.js.map} +0 -0
  842. /package/dist/{chunk-AETE4F7R.js.map → chunk-QRIRWDIW.js.map} +0 -0
  843. /package/dist/{chunk-ORPCSG6T.js.map → chunk-R6L6NVEC.js.map} +0 -0
  844. /package/dist/{chunk-B6HCIAM3.js.map → chunk-RLTLYKHO.js.map} +0 -0
  845. /package/dist/{chunk-VLTDUJRM.js.map → chunk-S5ZI6N2I.js.map} +0 -0
  846. /package/dist/{chunk-H2D7EVUA.js.map → chunk-S7T7OZC7.js.map} +0 -0
  847. /package/dist/{chunk-F6V4AYWP.js.map → chunk-SEQLC4AD.js.map} +0 -0
  848. /package/dist/{chunk-RSU37SVQ.js.map → chunk-TEZLFSOV.js.map} +0 -0
  849. /package/dist/{chunk-YOTWMCT5.js.map → chunk-UEMTP6ZC.js.map} +0 -0
  850. /package/dist/{chunk-6MSCYO7K.js.map → chunk-UJU3Q7QJ.js.map} +0 -0
  851. /package/dist/{chunk-RFIVPTMS.js.map → chunk-VIPMLSZP.js.map} +0 -0
  852. /package/dist/{chunk-LUTT3MBZ.js.map → chunk-VUUZJANK.js.map} +0 -0
  853. /package/dist/{chunk-2OSEZCWZ.js.map → chunk-WGHO2NCP.js.map} +0 -0
  854. /package/dist/{chunk-GO5SIPFE.js.map → chunk-WPHOEG56.js.map} +0 -0
  855. /package/dist/{chunk-KVG7FTTK.js.map → chunk-WS5XVKPJ.js.map} +0 -0
  856. /package/dist/{chunk-MNRYCG2S.js.map → chunk-X6URQAFD.js.map} +0 -0
  857. /package/dist/{chunk-VJ37HKM6.js.map → chunk-YALAQWX4.js.map} +0 -0
  858. /package/dist/{chunk-H2K5KZP7.js.map → chunk-YY4CKQJ6.js.map} +0 -0
  859. /package/dist/{chunk-G6ELKVBG.js.map → chunk-Z3KV6SC2.js.map} +0 -0
  860. /package/dist/{condition-VHP2L4GM.js.map → condition-JKQIRMMW.js.map} +0 -0
  861. /package/dist/{controls-N5Q7U7JR.js.map → controls-324AGOZG.js.map} +0 -0
  862. /package/dist/{controls.config-NJMW4SLR.js.map → controls.config-TA4NNARU.js.map} +0 -0
  863. /package/dist/{correlation-3LDASF5I.js.map → correlation-3Z36TKC2.js.map} +0 -0
  864. /package/dist/{cuminc-UWJ23W6C.js.map → cuminc-4DY2CSZF.js.map} +0 -0
  865. /package/dist/{cuminc.integration.spec-OZYYET3W.js.map → cuminc.integration.spec-SFQPLMSF.js.map} +0 -0
  866. /package/dist/{dataDownload-4S4PE5HX.js.map → dataDownload-3AE2N7KI.js.map} +0 -0
  867. /package/dist/{dataDownload.integration.spec-B57LEKFZ.js.map → dataDownload.integration.spec-DKOT6BJP.js.map} +0 -0
  868. /package/dist/{databrowser.ui-N6GHEQ2P.js.map → databrowser.ui-ATODRS5P.js.map} +0 -0
  869. /package/dist/{dnaMethylation-BOGAUAWA.js.map → dnaMethylation-TVA5YMOR.js.map} +0 -0
  870. /package/dist/{e2pca-L5EBQJNP.js.map → e2pca-KHVDNFEZ.js.map} +0 -0
  871. /package/dist/{ep-Z67ORKUX.js.map → ep-B5GAAMNM.js.map} +0 -0
  872. /package/dist/{expclust.gdc.spec-SP7VOL64.js.map → expclust.gdc.spec-EDPX7V6K.js.map} +0 -0
  873. /package/dist/{facet-HDB4VDGU.js.map → facet-ZCSXKXIO.js.map} +0 -0
  874. /package/dist/{geneExpClustering-6ZPOLTDJ.js.map → geneExpClustering-ERNCMAED.js.map} +0 -0
  875. /package/dist/{geneExpression-T7QUHV5S.js.map → geneExpression-HUOXWETT.js.map} +0 -0
  876. /package/dist/{geneExpression-T6YIG4XQ.js.map → geneExpression-X2KXJPND.js.map} +0 -0
  877. /package/dist/{geneExpression.unit.spec-DO52L5IB.js.map → geneExpression.unit.spec-5QQB4ISW.js.map} +0 -0
  878. /package/dist/{geneORA-KOUDUWUO.js.map → geneORA-B5UK77KL.js.map} +0 -0
  879. /package/dist/{geneVariant-FVR76F6I.js.map → geneVariant-7MGUAIZ6.js.map} +0 -0
  880. /package/dist/{geneVariant-I5QUITKG.js.map → geneVariant-FK3KZJ2K.js.map} +0 -0
  881. /package/dist/{geneVariant.integration.spec-D4IRM7B5.js.map → geneVariant.integration.spec-C6TYWKIC.js.map} +0 -0
  882. /package/dist/{genefusion.ui-35IYSZD7.js.map → genefusion.ui-VKAINMY7.js.map} +0 -0
  883. /package/dist/{geneset-7ZHJ5KWK.js.map → geneset-673KAZVX.js.map} +0 -0
  884. /package/dist/{genomeBrowser.spec-VXASVLNH.js.map → genomeBrowser.spec-T6TQCJ3O.js.map} +0 -0
  885. /package/dist/{grin2-7NM56COO.js.map → grin2-376BD4XY.js.map} +0 -0
  886. /package/dist/{grin2-IY26UUQI.js.map → grin2-OALS75LC.js.map} +0 -0
  887. /package/dist/{gsea-TORO46C6.js.map → gsea-25LD2LGP.js.map} +0 -0
  888. /package/dist/{hierCluster-3BKEGW6P.js.map → hierCluster-7KU3K52V.js.map} +0 -0
  889. /package/dist/{hierCluster-HM3LOM6V.js.map → hierCluster-M5VVWKQK.js.map} +0 -0
  890. /package/dist/{hierCluster.config-LDO5IGQ5.js.map → hierCluster.config-EDO3SH2P.js.map} +0 -0
  891. /package/dist/{hierCluster.integration.spec-XO5R6CQT.js.map → hierCluster.integration.spec-UOX7J2XD.js.map} +0 -0
  892. /package/dist/{hierCluster.interactivity-NVQ6262K.js.map → hierCluster.interactivity-FEFZDXML.js.map} +0 -0
  893. /package/dist/{hierCluster.renderers-SWPPNBLU.js.map → hierCluster.renderers-A6MEGO2B.js.map} +0 -0
  894. /package/dist/{imagePlot-V4WLAPV6.js.map → imagePlot-FPXZ2H5Z.js.map} +0 -0
  895. /package/dist/{importPlot-NZKQEOX4.js.map → importPlot-VKWPSFEK.js.map} +0 -0
  896. /package/dist/{isoformExpression-TIZBIGNL.js.map → isoformExpression-2R2TOB6P.js.map} +0 -0
  897. /package/dist/{jspdf.es.min-DO4YWL2R.js.map → jspdf.es.min-FC3BCETM.js.map} +0 -0
  898. /package/dist/{launch.adhoc-JYEN42NM.js.map → launch.adhoc-242RS6DW.js.map} +0 -0
  899. /package/dist/{leftlabel.sample-43DL3J3H.js.map → leftlabel.sample-OJW3AE64.js.map} +0 -0
  900. /package/dist/{legacyDataset-QRSNRVUA.js.map → legacyDataset-PBCPC5I7.js.map} +0 -0
  901. /package/dist/{lollipop-NMWZ4FVF.js.map → lollipop-TRQ3LK7Y.js.map} +0 -0
  902. /package/dist/{maf-DS3EOVGV.js.map → maf-ZBOLN2FE.js.map} +0 -0
  903. /package/dist/{maftimeline-ZB2753S7.js.map → maftimeline-GVX7NJP7.js.map} +0 -0
  904. /package/dist/{matrix-RCGQWQ3C.js.map → matrix-73KRNXLM.js.map} +0 -0
  905. /package/dist/{matrix-WTTEK4FT.js.map → matrix-US3OXYRY.js.map} +0 -0
  906. /package/dist/{matrix.cells-UO5ASQ35.js.map → matrix.cells-U7AQNEBP.js.map} +0 -0
  907. /package/dist/{matrix.config-3UQAT3QR.js.map → matrix.config-Q57D7C3F.js.map} +0 -0
  908. /package/dist/{matrix.controls-PRZ77K5L.js.map → matrix.controls-AWXDRSWP.js.map} +0 -0
  909. /package/dist/{matrix.data-4W73RQ3H.js.map → matrix.data-EEIY6AO4.js.map} +0 -0
  910. /package/dist/{matrix.dom-IZFFS4RQ.js.map → matrix.dom-6QL3AJMW.js.map} +0 -0
  911. /package/dist/{matrix.groups-5VMPI7SA.js.map → matrix.groups-CUB6UWC5.js.map} +0 -0
  912. /package/dist/{matrix.integration.spec-2F5LDLC2.js.map → matrix.integration.spec-PQH67KRM.js.map} +0 -0
  913. /package/dist/{matrix.interactivity-MIPZ6ELV.js.map → matrix.interactivity-JW4AXAWO.js.map} +0 -0
  914. /package/dist/{matrix.layout-EO5LVYRO.js.map → matrix.layout-I56KRVCO.js.map} +0 -0
  915. /package/dist/{matrix.legend-QBFBFEUG.js.map → matrix.legend-42LQGAGX.js.map} +0 -0
  916. /package/dist/{matrix.renderers-ERJXVCQL.js.map → matrix.renderers-IX3FCNBK.js.map} +0 -0
  917. /package/dist/{matrix.serieses-E23EPXHA.js.map → matrix.serieses-4B2WB526.js.map} +0 -0
  918. /package/dist/{matrix.sort-I4UGMEXR.js.map → matrix.sort-BJACNR7G.js.map} +0 -0
  919. /package/dist/{matrix.sort.unit.spec-CRGF6CSE.js.map → matrix.sort.unit.spec-3KKDKIPY.js.map} +0 -0
  920. /package/dist/{matrix.sorterUi-YLSYTYLE.js.map → matrix.sorterUi-W6XFYZY2.js.map} +0 -0
  921. /package/dist/{matrix.sorterUi.unit.spec-ENG3ICOO.js.map → matrix.sorterUi.unit.spec-CMJ7EBIW.js.map} +0 -0
  922. /package/dist/{mavb-5WR7OJHI.js.map → mavb-ROAE6WYA.js.map} +0 -0
  923. /package/dist/{mds.fimo-3ZRH7BBJ.js.map → mds.fimo-UGK5OWCF.js.map} +0 -0
  924. /package/dist/{mds.samplescatterplot-RPXR2FVK.js.map → mds.samplescatterplot-5KFUAYSB.js.map} +0 -0
  925. /package/dist/{mds.survivalplot-WSSMYUZD.js.map → mds.survivalplot-2EVNZUX5.js.map} +0 -0
  926. /package/dist/{oncomatrix-JKYPUJQR.js.map → oncomatrix-UGFXSXQJ.js.map} +0 -0
  927. /package/dist/{oncomatrix.spec-OEGU4DYK.js.map → oncomatrix.spec-FEP7BR7L.js.map} +0 -0
  928. /package/dist/{plot.2dvaf-ZGARLQNK.js.map → plot.2dvaf-WXGLWCOC.js.map} +0 -0
  929. /package/dist/{plot.app-TKUJH3LK.js.map → plot.app-IZAFRTBU.js.map} +0 -0
  930. /package/dist/{plot.barplot-FEIPGDZ2.js.map → plot.barplot-Z4VWOPFJ.js.map} +0 -0
  931. /package/dist/{plot.boxplot-6RASUMZB.js.map → plot.boxplot-QU2KZSB7.js.map} +0 -0
  932. /package/dist/{plot.brainImaging-ZJPFWX2W.js.map → plot.brainImaging-U643YIK7.js.map} +0 -0
  933. /package/dist/{plot.dzi-PC34YI6Y.js.map → plot.dzi-DWXPOOQE.js.map} +0 -0
  934. /package/dist/{plot.ssgq-Z4UNJKWO.js.map → plot.ssgq-GXB2GZO3.js.map} +0 -0
  935. /package/dist/{plot.vaf2cov-NZ4WULKT.js.map → plot.vaf2cov-EKRIADPB.js.map} +0 -0
  936. /package/dist/{plot.wsi-YYXFAZWY.js.map → plot.wsi-E2LLE6HI.js.map} +0 -0
  937. /package/dist/{polar-X2GPIBLB.js.map → polar-MZLIUXHO.js.map} +0 -0
  938. /package/dist/{polar2-TZ553QQH.js.map → polar2-IUVHNQM4.js.map} +0 -0
  939. /package/dist/{profile.spec-VB6VMFLY.js.map → profile.spec-JRW6KYUI.js.map} +0 -0
  940. /package/dist/{profileBarchart-SKJSTC7B.js.map → profileBarchart-N7HJMYZ5.js.map} +0 -0
  941. /package/dist/{profileForms-RLOGSMAQ.js.map → profileForms-Q5TPGPQP.js.map} +0 -0
  942. /package/dist/{profilePlot-267ZS3RG.js.map → profilePlot-TXTUYDVE.js.map} +0 -0
  943. /package/dist/{profileRadar-KGOBHCSF.js.map → profileRadar-ICEASI7W.js.map} +0 -0
  944. /package/dist/{proteomeAbundance-PGHZSVAF.js.map → proteomeAbundance-DE4NVBCN.js.map} +0 -0
  945. /package/dist/{proteomeAbundance-JUYAYO5I.js.map → proteomeAbundance-LTB3QR3G.js.map} +0 -0
  946. /package/dist/{qualitative-3IECKKJM.js.map → qualitative-DFGWQURY.js.map} +0 -0
  947. /package/dist/{regression-J6FFRPXN.js.map → regression-TTQTAEGD.js.map} +0 -0
  948. /package/dist/{regression.inputs-T7LWBSYZ.js.map → regression.inputs-2LU2XRGC.js.map} +0 -0
  949. /package/dist/{regression.inputs.term-TT7PNX6G.js.map → regression.inputs.term-G57GL57T.js.map} +0 -0
  950. /package/dist/{regression.inputs.values.table-SHFUNKCS.js.map → regression.inputs.values.table-JSEM3PXL.js.map} +0 -0
  951. /package/dist/{regression.results-D4WX6VIV.js.map → regression.results-3YNM6LLQ.js.map} +0 -0
  952. /package/dist/{regression.spec-7SW55L7X.js.map → regression.spec-S6WFCPSW.js.map} +0 -0
  953. /package/dist/{report-QYOZ4BRF.js.map → report-YRAV4MY4.js.map} +0 -0
  954. /package/dist/{sampleScatter.spec-JCHFMGNF.js.map → sampleScatter.spec-MBJ4XNTX.js.map} +0 -0
  955. /package/dist/{sampleView-7RPKNAZC.js.map → sampleView-IUR3ZEN7.js.map} +0 -0
  956. /package/dist/{samplelst-4WNPHZVG.js.map → samplelst-C2NBFGH6.js.map} +0 -0
  957. /package/dist/{samplematrix-CG52DSXJ.js.map → samplematrix-AOK2HHSB.js.map} +0 -0
  958. /package/dist/{sc-OJSWILSA.js.map → sc-XT3Z5XJI.js.map} +0 -0
  959. /package/dist/{scatter-LG2RMMEC.js.map → scatter-SAHKZRFL.js.map} +0 -0
  960. /package/dist/{selectGenomeWithTklst-QXRVE6N4.js.map → selectGenomeWithTklst-2YVZ4JWV.js.map} +0 -0
  961. /package/dist/{singleCellCellType-XBSRL33U.js.map → singleCellCellType-NFN5GQJM.js.map} +0 -0
  962. /package/dist/{singleCellGeneExpression-64ECP62X.js.map → singleCellGeneExpression-7AQGLXTR.js.map} +0 -0
  963. /package/dist/{singleCellPlot-E5F62JY6.js.map → singleCellPlot-IWFEG44C.js.map} +0 -0
  964. /package/dist/{singlecell-S7B5V7NK.js.map → singlecell-3QNV4OMZ.js.map} +0 -0
  965. /package/dist/{singlecell-FCY5EOUV.js.map → singlecell-EATPLH66.js.map} +0 -0
  966. /package/dist/{snp-ACKX4GRX.js.map → snp-UP7WL7WG.js.map} +0 -0
  967. /package/dist/{snp.unit.spec-QBGHKKUD.js.map → snp.unit.spec-Y5NWQ442.js.map} +0 -0
  968. /package/dist/{snplocus-7EUOW7J7.js.map → snplocus-WAQK2AZG.js.map} +0 -0
  969. /package/dist/{spliceevent.a53ss.diagram-ALQZA35Z.js.map → spliceevent.a53ss.diagram-FFK27UIB.js.map} +0 -0
  970. /package/dist/{spliceevent.exonskip.diagram-UF7WJA5R.js.map → spliceevent.exonskip.diagram-KWEF2OZJ.js.map} +0 -0
  971. /package/dist/{spliceevent.noeventdiagram-4HPGRNRR.js.map → spliceevent.noeventdiagram-PU4TI7OM.js.map} +0 -0
  972. /package/dist/{ssGSEA-FDRBBBLJ.js.map → ssGSEA-N6QOAVLW.js.map} +0 -0
  973. /package/dist/{ssGSEA.unit.spec-EZEOWJVV.js.map → ssGSEA.unit.spec-KQBNZNNP.js.map} +0 -0
  974. /package/dist/{summarizeMutationDiagnosis-LALOJTHV.js.map → summarizeMutationDiagnosis-5RHSG7L6.js.map} +0 -0
  975. /package/dist/{summarizeMutationSurvival-TSNTSOBZ.js.map → summarizeMutationSurvival-22YYXGS5.js.map} +0 -0
  976. /package/dist/{summary-YRHVS64T.js.map → summary-P3WIKJS7.js.map} +0 -0
  977. /package/dist/{summary.integration.spec-766YQLQA.js.map → summary.integration.spec-ULGRPICW.js.map} +0 -0
  978. /package/dist/{summaryInput-VQ2X6GSX.js.map → summaryInput-IH4EVNF5.js.map} +0 -0
  979. /package/dist/{survival-FQXZH2MM.js.map → survival-2ZE3N62A.js.map} +0 -0
  980. /package/dist/{survival-TVA3ZWVP.js.map → survival-ASCLKIII.js.map} +0 -0
  981. /package/dist/{survival.integration.spec-WFIOPD6A.js.map → survival.integration.spec-C5YXOY77.js.map} +0 -0
  982. /package/dist/{svg2pdf.es.min-EZ4UYRSH.js.map → svg2pdf.es.min-CYTPRWNB.js.map} +0 -0
  983. /package/dist/{svgraph-4BFBO7EL.js.map → svgraph-AYR2UPNK.js.map} +0 -0
  984. /package/dist/{svmr-ML7GAIIA.js.map → svmr-MOMW5DNY.js.map} +0 -0
  985. /package/dist/{table-SMLMUWPP.js.map → table-PQB6KCEY.js.map} +0 -0
  986. /package/dist/{termCollection-22CPTISZ.js.map → termCollection-5AY2AWT4.js.map} +0 -0
  987. /package/dist/{termCollection-EE6AOIVA.js.map → termCollection-OQMUUTW6.js.map} +0 -0
  988. /package/dist/{termCollection.unit.spec-4DIW3CJ3.js.map → termCollection.unit.spec-BUAXYIJK.js.map} +0 -0
  989. /package/dist/{tk-ITZCKOQ5.js.map → tk-EJLFFA5H.js.map} +0 -0
  990. /package/dist/{tp.ui-R6HVKCBC.js.map → tp.ui-WUW6A7KP.js.map} +0 -0
  991. /package/dist/{tvs.density-AQ5GD437.js.map → tvs.density-HSVPDDGA.js.map} +0 -0
  992. /package/dist/{tvs.dt-2263TBEJ.js.map → tvs.dt-MVJXQMNU.js.map} +0 -0
  993. /package/dist/{tvs.dtcnv.categorical-TRRHL33N.js.map → tvs.dtcnv.categorical-FIIDWVK7.js.map} +0 -0
  994. /package/dist/{tvs.dtcnv.continuous-GREYNF52.js.map → tvs.dtcnv.continuous-JPQU3JA2.js.map} +0 -0
  995. /package/dist/{tvs.dtfusion-XOX46L3M.js.map → tvs.dtfusion-BW35GOQM.js.map} +0 -0
  996. /package/dist/{tvs.dtsnvindel-IDMXT53F.js.map → tvs.dtsnvindel-AEMFZ4EH.js.map} +0 -0
  997. /package/dist/{tvs.dtsv-ZDWFYH2C.js.map → tvs.dtsv-JHTU7UFD.js.map} +0 -0
  998. /package/dist/{tvs.numeric-ZN2R7BH3.js.map → tvs.numeric-ICUGA4WY.js.map} +0 -0
  999. /package/dist/{tvs.samplelst-GAP76HRH.js.map → tvs.samplelst-VD2NFFFS.js.map} +0 -0
  1000. /package/dist/{tvs.termCollection-GQ65UKSI.js.map → tvs.termCollection-IKE5Q74D.js.map} +0 -0
  1001. /package/dist/{violin-JGDL62YA.js.map → violin-DPMJLHQG.js.map} +0 -0
  1002. /package/dist/{violin.interactivity-H4RP4K5U.js.map → violin.interactivity-TS4DYUE5.js.map} +0 -0
  1003. /package/dist/{violin.renderer-QPHLACDC.js.map → violin.renderer-53L4PXUT.js.map} +0 -0
  1004. /package/dist/{vocabulary-7JACY4J2.js.map → vocabulary-4MPFHKYC.js.map} +0 -0
@@ -1,2362 +0,0 @@
1
- import {
2
- spliceevent_exonskip_getdefault_default
3
- } from "./chunk-PQABAAEZ.js";
4
- import {
5
- spliceevent_phrase_default
6
- } from "./chunk-T2HYA2KL.js";
7
- import {
8
- legend_newrow
9
- } from "./chunk-W6UUEAEP.js";
10
- import "./chunk-V2OJLJSK.js";
11
- import "./chunk-RZ5JP44H.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-7FEHI46K.js";
23
- import "./chunk-HJ6L54YS.js";
24
- import "./chunk-XD6BFNMR.js";
25
- import {
26
- Menu
27
- } from "./chunk-2SRMRC6L.js";
28
- import {
29
- dofetch2,
30
- dofetch3
31
- } from "./chunk-TCPU43TU.js";
32
- import "./chunk-XDI4UFCZ.js";
33
- import "./chunk-FN5XPUPH.js";
34
- import "./chunk-LSEFWW72.js";
35
- import "./chunk-5EF5U7MX.js";
36
- import "./chunk-IQIXGTQV.js";
37
- import "./chunk-UCLS2SVB.js";
38
- import "./chunk-MVTCBVSX.js";
39
- import "./chunk-F6V4AYWP.js";
40
- import "./chunk-5OHXYXLD.js";
41
- import "./chunk-DQC5FFGV.js";
42
- import "./chunk-DVDDXOWT.js";
43
- import "./chunk-6MSCYO7K.js";
44
- import "./chunk-22NJUYET.js";
45
- import "./chunk-MDL2HG3N.js";
46
- import {
47
- IN_frame,
48
- OUT_frame,
49
- bplen,
50
- defaultcolor,
51
- spliceeventchangegmexon
52
- } from "./chunk-IGEQI6MR.js";
53
- import "./chunk-BEWDIM6H.js";
54
- import {
55
- category10_default
56
- } from "./chunk-IH7ILDJS.js";
57
- import {
58
- axisRight
59
- } from "./chunk-LOZEKOES.js";
60
- import "./chunk-TOU7EVFQ.js";
61
- import {
62
- linear,
63
- log,
64
- ordinal
65
- } from "./chunk-OAWQ6LOO.js";
66
- import "./chunk-SEEYV6P2.js";
67
- import {
68
- select_default
69
- } from "./chunk-NDWTN4U5.js";
70
- import "./chunk-OMR2DT66.js";
71
- import {
72
- __commonJS,
73
- __toESM
74
- } from "./chunk-HFNDKYVF.js";
75
-
76
- // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
77
- var require_d3_beeswarm = __commonJS({
78
- "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
79
- (function(global, factory) {
80
- typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
81
- })(exports, function(exports2) {
82
- "use strict";
83
- function beeswarm2() {
84
- var data = [];
85
- var radius = 4;
86
- var orientation = "horizontal";
87
- var side = "symetric";
88
- var distributeOn = (
89
- // accessor to the x value
90
- function(datum) {
91
- return datum.x;
92
- }
93
- );
94
- var minDistanceBetweenCircles;
95
- var minSquareDistanceBetweenCircles;
96
- var xBasedDataManager;
97
- var xBasedColliderManager;
98
- var yBasedColliderManager;
99
- var arrangement;
100
- var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
101
- function _beeswarm() {
102
- }
103
- _beeswarm.data = function(_) {
104
- if (!arguments.length) {
105
- return data;
106
- }
107
- data = _;
108
- return _beeswarm;
109
- };
110
- _beeswarm.radius = function(_) {
111
- if (!arguments.length) {
112
- return radius;
113
- }
114
- radius = _;
115
- return _beeswarm;
116
- };
117
- _beeswarm.orientation = function(_) {
118
- if (!arguments.length) {
119
- return orientation;
120
- }
121
- if (_ === "horizontal" || _ === "vertical") {
122
- orientation = _;
123
- }
124
- return _beeswarm;
125
- };
126
- _beeswarm.side = function(_) {
127
- if (!arguments.length) {
128
- return side;
129
- }
130
- if (_ === "symetric" || _ === "positive" || _ === "negative") {
131
- side = _;
132
- }
133
- return _beeswarm;
134
- };
135
- _beeswarm.distributeOn = function(_) {
136
- if (!arguments.length) {
137
- return distributeOn;
138
- }
139
- distributeOn = _;
140
- return _beeswarm;
141
- };
142
- _beeswarm.arrange = function() {
143
- initArrangement();
144
- arrangement.forEach(function(d) {
145
- var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
146
- if (xBasedPossibleColliders.length === 0) {
147
- bestYPosition = 0;
148
- } else {
149
- yBasedColliderManager.clear();
150
- yBasedColliderManager.addMany(xBasedPossibleColliders);
151
- d.free = 0;
152
- if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
153
- bestYPosition = 0;
154
- totalVisitedColliders += visitedColliderCount;
155
- if (visitedColliderCount > maxVisitedColliders) {
156
- maxVisitedColliders = visitedColliderCount;
157
- }
158
- visitedColliderCount = 0;
159
- totalTestedPlacements += 1;
160
- } else {
161
- xBasedPossibleColliders.forEach(function(xbpc) {
162
- relativeYPos = yPosRelativeToXbpc(xbpc, d);
163
- placeBelow(d, xbpc, relativeYPos);
164
- if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
165
- bestYPosition = d.free;
166
- }
167
- totalVisitedColliders += visitedColliderCount;
168
- if (visitedColliderCount > maxVisitedColliders) {
169
- maxVisitedColliders = visitedColliderCount;
170
- }
171
- visitedColliderCount = 0;
172
- totalTestedPlacements += 1;
173
- placeAbove(d, xbpc, relativeYPos);
174
- if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
175
- bestYPosition = d.free;
176
- }
177
- totalVisitedColliders += visitedColliderCount;
178
- if (visitedColliderCount > maxVisitedColliders) {
179
- maxVisitedColliders = visitedColliderCount;
180
- }
181
- visitedColliderCount = 0;
182
- totalTestedPlacements += 1;
183
- });
184
- }
185
- }
186
- ;
187
- d.free = bestYPosition;
188
- if (orientation === "horizontal") {
189
- d.x = d.fixed;
190
- d.y = bestYPosition;
191
- } else {
192
- d.x = bestYPosition;
193
- d.y = d.fixed;
194
- }
195
- xBasedColliderManager.add(d);
196
- });
197
- return arrangement;
198
- };
199
- _beeswarm.metrics = function() {
200
- return {
201
- totalPossibleColliders,
202
- maxPossibleColliders,
203
- totalTestedPlacements,
204
- visitedColliderCount,
205
- totalVisitedColliders,
206
- maxVisitedColliders
207
- };
208
- };
209
- function initArrangement() {
210
- arrangement = data.map(function(d, i) {
211
- return {
212
- datum: d,
213
- id: i,
214
- fixed: distributeOn(d),
215
- free: -Infinity
216
- };
217
- });
218
- minDistanceBetweenCircles = 2 * radius;
219
- minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
220
- xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
221
- return d.fixed;
222
- }).addMany(arrangement);
223
- xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
224
- return d.fixed;
225
- });
226
- yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
227
- return d.free;
228
- });
229
- totalPossibleColliders = maxPossibleColliders = 0;
230
- totalTestedPlacements = 0;
231
- visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
232
- }
233
- function findNearestPossibleCollider(dln, visitedDln, direction) {
234
- if (visitedDln === null) {
235
- return null;
236
- } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
237
- return null;
238
- } else {
239
- if (isFinite(visitedDln.datum.free)) {
240
- return visitedDln.datum;
241
- }
242
- return findNearestPossibleCollider(dln, visitedDln[direction], direction);
243
- }
244
- }
245
- function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
246
- if (visitedDln === null) {
247
- return;
248
- } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
249
- return;
250
- } else {
251
- xBasedPossibleColliders.push(visitedDln.datum);
252
- visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
253
- }
254
- }
255
- function gatherXBasedPossibleColliders(datum) {
256
- var xBasedPossibleColliders = [];
257
- var dln = xBasedDataManager.dln(datum);
258
- var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
259
- var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
260
- if (nearestXPrevAlreadyArrangedData != null) {
261
- dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
262
- visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
263
- }
264
- if (nearestXNextAlreadyArrangedData != null) {
265
- dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
266
- visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
267
- }
268
- totalPossibleColliders += xBasedPossibleColliders.length;
269
- if (xBasedPossibleColliders.length > maxPossibleColliders) {
270
- maxPossibleColliders = xBasedPossibleColliders.length;
271
- }
272
- return xBasedPossibleColliders;
273
- }
274
- function isAuthorizedPlacement(datum) {
275
- if (side === "symetric") {
276
- return true;
277
- } else if (side === "positive") {
278
- return datum.free >= 0;
279
- } else {
280
- return datum.free <= 0;
281
- }
282
- }
283
- function isBetterPlacement(datum, bestYPosition) {
284
- return Math.abs(datum.free) < Math.abs(bestYPosition);
285
- }
286
- function yPosRelativeToXbpc(xbpc, d) {
287
- return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
288
- }
289
- function placeBelow(d, aad, relativeYPos) {
290
- d.free = aad.free - relativeYPos;
291
- }
292
- function placeAbove(d, aad, relativeYPos) {
293
- d.free = aad.free + relativeYPos;
294
- }
295
- function areCirclesColliding(d0, d1) {
296
- visitedColliderCount++;
297
- return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
298
- }
299
- function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
300
- if (visitedDln === null) {
301
- return false;
302
- } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
303
- return false;
304
- } else if (areCirclesColliding(datum, visitedDln.datum)) {
305
- return true;
306
- } else {
307
- return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
308
- }
309
- }
310
- function collidesWithOther(datum, visitedDln) {
311
- var visitCount = 0;
312
- if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
313
- return true;
314
- } else {
315
- return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
316
- }
317
- }
318
- function SortedDirectAccessDoublyLinkedList() {
319
- this._valueAccesor = // accessor to the value to sort on
320
- function(obj) {
321
- return obj.value;
322
- };
323
- this._min = null;
324
- this._max = null;
325
- this._closestTo0 = null;
326
- this.size = 0;
327
- this._idToNode = {};
328
- }
329
- SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
330
- if (!arguments.length) {
331
- return this._valueAccesor;
332
- }
333
- this._valueAccesor = _;
334
- return this;
335
- };
336
- SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
337
- return this._closestTo0;
338
- };
339
- SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
340
- this._min = null;
341
- this._max = null;
342
- this._closestTo0 = null;
343
- this.size = 0;
344
- this._idToNode = {};
345
- return this;
346
- };
347
- SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
348
- return this._idToNode[datum.id];
349
- };
350
- SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
351
- data2.forEach(function(datum, item) {
352
- this.add(datum);
353
- }, this);
354
- return this;
355
- };
356
- SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
357
- var dln = {
358
- datum,
359
- // original datum
360
- value: this._valueAccesor(datum),
361
- prev: null,
362
- // previous value-based node
363
- next: null
364
- // next value-based node
365
- };
366
- if (this.size === 0) {
367
- this._min = this._max = this._closestTo0 = dln;
368
- } else {
369
- if (dln.value <= this._min.value) {
370
- dln.next = this._min;
371
- dln.next.prev = dln;
372
- this._min = dln;
373
- } else if (dln.value >= this._max.value) {
374
- dln.prev = this._max;
375
- dln.prev.next = dln;
376
- this._max = dln;
377
- } else {
378
- var current = this._max;
379
- while (current.value > dln.value) {
380
- current = current.prev;
381
- }
382
- dln.prev = current;
383
- dln.next = current.next;
384
- dln.next.prev = dln;
385
- dln.prev.next = dln;
386
- }
387
- if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
388
- this._closestTo0 = dln;
389
- }
390
- }
391
- this._idToNode[dln.datum.id] = dln;
392
- this.size++;
393
- return this;
394
- };
395
- SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
396
- var dln = this.dln(datum);
397
- if (this.size === 1) {
398
- this._min = this._max = this._closestTo0 = null;
399
- } else {
400
- if (dln === this._closestTo0) {
401
- if (this._closestTo0.next === null) {
402
- this._closestTo0 = dln.prev;
403
- } else if (this.closestToZero.prev === null) {
404
- this._closestTo0 = dln.prev;
405
- } else {
406
- var prevAbsValue = Math.abs(this._closestTo0.prev.value);
407
- var nextAbsValue = Math.abs(this._closestTo0.next.value);
408
- if (prevAbsValue < nextAbsValue) {
409
- this._closestTo0 = this._closestTo0.prev;
410
- } else {
411
- this._closestTo0 = this._closestTo0.next;
412
- }
413
- }
414
- }
415
- if (dln === this._min) {
416
- this._min = this._min.next;
417
- this._min.prev = null;
418
- } else if (dln === this._max) {
419
- this._max = this._max.prev;
420
- this._max.next = null;
421
- } else {
422
- dln.next.prev = dln.prev;
423
- dln.prev.next = dln.next;
424
- }
425
- }
426
- dln = null;
427
- delete this._idToNode[datum.id];
428
- this.size--;
429
- return this;
430
- };
431
- return _beeswarm;
432
- }
433
- ;
434
- exports2.beeswarm = beeswarm2;
435
- Object.defineProperty(exports2, "__esModule", { value: true });
436
- });
437
- }
438
- });
439
-
440
- // src/spliceevent.prep.js
441
- function mapjunctiontoexons(junctions, genes) {
442
- for (const j of junctions) {
443
- j.exonleft = [];
444
- j.exonright = [];
445
- j.exonleftin = [];
446
- j.exonrightin = [];
447
- j.intronleft = [];
448
- j.intronright = [];
449
- j.leftout = [];
450
- j.rightout = [];
451
- j.matchisoform = [];
452
- }
453
- const usegenes = [];
454
- for (const gene of genes) {
455
- let use = false;
456
- for (const j of junctions) {
457
- if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
458
- use = true;
459
- break;
460
- }
461
- }
462
- if (use) {
463
- usegenes.push(gene);
464
- }
465
- }
466
- if (usegenes.length == 0) {
467
- return;
468
- }
469
- const leftpos = /* @__PURE__ */ new Map();
470
- const rightpos = /* @__PURE__ */ new Map();
471
- for (const j of junctions) {
472
- if (!leftpos.has(j.start)) {
473
- leftpos.set(j.start, []);
474
- }
475
- leftpos.get(j.start).push(j);
476
- if (!rightpos.has(j.stop)) {
477
- rightpos.set(j.stop, []);
478
- }
479
- rightpos.get(j.stop).push(j);
480
- }
481
- for (const [pos, jlst] of leftpos) {
482
- for (const gm of usegenes) {
483
- if (!gm.exon) continue;
484
- for (let i = 0; i < gm.exon.length; i++) {
485
- if (gm.exon[i][1] - 1 == pos) {
486
- for (const j of jlst) {
487
- j.exonleft.push({
488
- gm,
489
- exonidx: i
490
- });
491
- }
492
- }
493
- if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
494
- for (const j of jlst) {
495
- j.exonleftin.push({
496
- gm,
497
- exonidx: i
498
- });
499
- }
500
- }
501
- }
502
- if (gm.intron) {
503
- for (let i = 0; i < gm.intron.length; i++) {
504
- if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
505
- for (const j of jlst) {
506
- j.intronleft.push({
507
- gm,
508
- intronidx: i
509
- });
510
- }
511
- }
512
- }
513
- }
514
- }
515
- }
516
- for (const [pos, jlst] of rightpos) {
517
- for (const gm of usegenes) {
518
- if (!gm.exon) continue;
519
- for (let i = 0; i < gm.exon.length; i++) {
520
- if (gm.exon[i][0] == pos) {
521
- for (const j of jlst) {
522
- j.exonright.push({
523
- gm,
524
- exonidx: i
525
- });
526
- }
527
- }
528
- if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
529
- for (const j of jlst) {
530
- j.exonrightin.push({
531
- gm,
532
- exonidx: i
533
- });
534
- }
535
- }
536
- }
537
- if (gm.intron) {
538
- for (let i = 0; i < gm.intron.length; i++) {
539
- if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
540
- for (const j of jlst) {
541
- j.intronright.push({
542
- gm,
543
- intronidx: i
544
- });
545
- }
546
- }
547
- }
548
- }
549
- }
550
- }
551
- for (const j of junctions) {
552
- {
553
- const isoforms = /* @__PURE__ */ new Set();
554
- for (const q of j.exonleft) isoforms.add(q.gm.isoform);
555
- for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
556
- for (const q of j.intronleft) isoforms.add(q.gm.isoform);
557
- if (isoforms.size) {
558
- for (const gm of usegenes) {
559
- if (!isoforms.has(gm.isoform)) continue;
560
- if (gm.stop <= j.stop) {
561
- j.rightout.push({
562
- gm
563
- });
564
- }
565
- }
566
- }
567
- }
568
- {
569
- const isoforms = /* @__PURE__ */ new Set();
570
- for (const q of j.exonright) isoforms.add(q.gm.isoform);
571
- for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
572
- for (const q of j.intronright) isoforms.add(q.gm.isoform);
573
- if (isoforms.size) {
574
- for (const gm of usegenes) {
575
- if (!isoforms.has(gm.isoform)) continue;
576
- if (gm.start > j.start) {
577
- j.leftout.push({
578
- gm
579
- });
580
- }
581
- }
582
- }
583
- }
584
- }
585
- for (const j of junctions) {
586
- if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
587
- for (const el of j.exonleft) {
588
- for (const er of j.exonright) {
589
- if (el.gm.isoform == er.gm.isoform) {
590
- j.matchisoform.push({
591
- gm: el.gm,
592
- leftexonidx: el.exonidx,
593
- rightexonidx: er.exonidx
594
- });
595
- }
596
- }
597
- }
598
- }
599
- }
600
-
601
- // src/spliceevent.exonskip.js
602
- var exonskipcolor = "#99004d";
603
- var exonaltcolor = "#004d99";
604
- function findexonskipping(multisample, junctions, gmdata) {
605
- const allevents = [];
606
- for (const j0 of junctions) {
607
- if (!j0.matchisoform || j0.matchisoform.length == 0) {
608
- continue;
609
- }
610
- for (const j0isoform of j0.matchisoform) {
611
- const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
612
- const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
613
- if (j0exonend - j0exonbegin <= 1) {
614
- continue;
615
- }
616
- const jB = j0;
617
- const thisevent = {
618
- skippedexon: [],
619
- junctionB: jB,
620
- junctionAlst: []
621
- };
622
- for (let i = j0exonbegin + 1; i < j0exonend; i++) {
623
- thisevent.skippedexon.push(i);
624
- }
625
- let gmB = null;
626
- for (const gm of gmdata) {
627
- if (!gm.intron) continue;
628
- for (const i of gm.intron) {
629
- if (i[0] - 1 == jB.start && i[1] == jB.stop) {
630
- gmB = gm;
631
- break;
632
- }
633
- }
634
- if (gmB) {
635
- break;
636
- }
637
- }
638
- if (gmB) {
639
- thisevent.isaltexon = true;
640
- thisevent.color = exonaltcolor;
641
- thisevent.gmA = j0isoform.gm;
642
- thisevent.gmB = gmB;
643
- } else {
644
- thisevent.isskipexon = true;
645
- thisevent.color = exonskipcolor;
646
- thisevent.gm = j0isoform.gm;
647
- const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
648
- if (utr3) thisevent.utr3 = true;
649
- if (utr5) thisevent.utr5 = true;
650
- if (coding) thisevent.coding = true;
651
- }
652
- {
653
- const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
654
- for (const ja of jAlst) {
655
- thisevent.junctionAlst.push(ja);
656
- }
657
- }
658
- if (thisevent.isskipexon) {
659
- findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
660
- }
661
- if (multisample) {
662
- if (!jB.data) {
663
- console.error("exonskip: jB.data missing when it is multi-sample");
664
- continue;
665
- }
666
- if (jB.data.length == 0) {
667
- console.error("exonskip: jB.data.length==0");
668
- continue;
669
- }
670
- let percentagesamplesum = 0;
671
- for (const sampleBdata of jB.data) {
672
- const bcount = sampleBdata.v;
673
- let acountsum = 0;
674
- for (const junctionA of thisevent.junctionAlst) {
675
- if (!junctionA) {
676
- continue;
677
- }
678
- if (!junctionA.data) {
679
- console.log("exonskip: jA.data missing when multi-sample");
680
- continue;
681
- }
682
- for (const sampleAdata of junctionA.data) {
683
- if (sampleAdata.tkid == sampleBdata.tkid) {
684
- acountsum += sampleAdata.v;
685
- break;
686
- }
687
- }
688
- }
689
- percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
690
- }
691
- thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
692
- } else {
693
- let asum = 0;
694
- for (const _j of thisevent.junctionAlst) {
695
- asum += _j ? _j.data[0].v : 0;
696
- }
697
- thisevent.percentage = Math.ceil(
698
- 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
699
- );
700
- }
701
- allevents.push(thisevent);
702
- }
703
- }
704
- const exoncoords = /* @__PURE__ */ new Map();
705
- for (const evt of allevents) {
706
- const positionlst = [];
707
- for (const eid of evt.skippedexon) {
708
- let thisexon;
709
- if (evt.isskipexon) {
710
- thisexon = evt.gm.exon[eid];
711
- } else {
712
- thisexon = evt.gmA.exon[eid];
713
- }
714
- positionlst.push(thisexon[0]);
715
- positionlst.push(thisexon[1]);
716
- }
717
- if (positionlst.length == 0) {
718
- console.error("not possible: no skipped exon position for exon-skip");
719
- console.log(evt);
720
- continue;
721
- }
722
- positionlst.sort();
723
- const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
724
- if (!exoncoords.has(posstr)) {
725
- exoncoords.set(posstr, []);
726
- }
727
- exoncoords.get(posstr).push(evt);
728
- }
729
- const eventsetlst = [];
730
- for (const eventlst of exoncoords.values()) {
731
- const thisset = {
732
- eventlst,
733
- exonlst: []
734
- // each exon: {start:, stop:}
735
- };
736
- eventsetlst.push(thisset);
737
- const firstevent = eventlst[0];
738
- for (const eid of firstevent.skippedexon) {
739
- const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
740
- const thisexon = gm.exon[eid];
741
- thisset.exonlst.push({
742
- chr: gm.chr,
743
- start: thisexon[0],
744
- stop: thisexon[1]
745
- });
746
- }
747
- let eventcount_skip = 0, eventcount_alt = 0;
748
- for (const evt of eventlst) {
749
- if (evt.isskipexon) {
750
- eventcount_skip++;
751
- } else {
752
- eventcount_alt++;
753
- }
754
- }
755
- thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
756
- const exonnumberset = /* @__PURE__ */ new Set();
757
- for (const evt of eventlst) {
758
- const thisexonnumbers = [];
759
- for (const eid of evt.skippedexon) {
760
- thisexonnumbers.push(eid + 1);
761
- }
762
- exonnumberset.add(thisexonnumbers.join(","));
763
- }
764
- if (exonnumberset.size == 1) {
765
- thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
766
- } else {
767
- thisset.toplabelsays = "exon ";
768
- }
769
- thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
770
- if (multisample) {
771
- let samplecount = 0;
772
- for (const evt of eventlst) {
773
- samplecount = Math.max(samplecount, evt.junctionB.data.length);
774
- }
775
- thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
776
- }
777
- thisset.bottomlabelsays = firstevent.percentage + "%";
778
- }
779
- return eventsetlst;
780
- }
781
- function findjunctionbystartstop(lst, p1, p2) {
782
- const start = Math.min(p1, p2);
783
- const stop = Math.max(p1, p2);
784
- for (const j of lst) {
785
- if (j.start == start && j.stop == stop) return j;
786
- }
787
- return null;
788
- }
789
- function findjunctionAlst(junctions, gm, exonbegin, exonend) {
790
- const lst = [];
791
- const exonstart = Math.min(exonbegin, exonend);
792
- const exonstop = Math.max(exonbegin, exonend);
793
- if (gm.strand == "+") {
794
- for (let i = exonstart; i < exonstop; i++) {
795
- const p1 = gm.exon[i][1] - 1;
796
- const p2 = gm.exon[i + 1][0];
797
- lst.push(findjunctionbystartstop(junctions, p1, p2));
798
- }
799
- } else {
800
- for (let i = exonstop; i > exonstart; i--) {
801
- const p1 = gm.exon[i][1] - 1;
802
- const p2 = gm.exon[i - 1][0];
803
- lst.unshift(findjunctionbystartstop(junctions, p1, p2));
804
- }
805
- }
806
- return lst;
807
- }
808
- function findupdown1junction4exonskip(evt, gm, junctions) {
809
- let exonidx = evt.skippedexon[0];
810
- if (exonidx > 1) {
811
- let p1, p2;
812
- if (gm.strand == "+") {
813
- p1 = gm.exon[exonidx - 2][1] - 1;
814
- p2 = gm.exon[exonidx - 1][0];
815
- } else {
816
- p1 = gm.exon[exonidx - 1][1] - 1;
817
- p2 = gm.exon[exonidx - 2][0];
818
- }
819
- evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
820
- }
821
- exonidx = evt.skippedexon[evt.skippedexon.length - 1];
822
- if (exonidx < gm.exon.length - 2) {
823
- let p1, p2;
824
- if (gm.strand == "+") {
825
- p1 = gm.exon[exonidx + 1][1] - 1;
826
- p2 = gm.exon[exonidx + 2][0];
827
- } else {
828
- p1 = gm.exon[exonidx + 2][1] - 1;
829
- p2 = gm.exon[exonidx + 1][0];
830
- }
831
- evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
832
- }
833
- }
834
- function checkexoncodingutr(exonidlst, gm) {
835
- if (!gm.coding) {
836
- return [false, false, false];
837
- }
838
- let exonstart = gm.exon[exonidlst[0]][0];
839
- let exonstop = gm.exon[exonidlst[0]][1];
840
- for (const idx of exonidlst) {
841
- exonstart = Math.min(gm.exon[idx][0], exonstart);
842
- exonstop = Math.max(gm.exon[idx][1], exonstop);
843
- }
844
- const forward = gm.strand == "+";
845
- let utr3 = false, utr5 = false, coding = false;
846
- if (exonstop <= gm.codingstart) {
847
- if (forward) {
848
- utr5 = true;
849
- } else {
850
- utr3 = true;
851
- }
852
- } else if (exonstart >= gm.codingstop) {
853
- if (forward) {
854
- utr3 = true;
855
- } else {
856
- utr5 = true;
857
- }
858
- } else {
859
- coding = true;
860
- }
861
- return [utr3, utr5, coding];
862
- }
863
-
864
- // src/block.tk.junction.spliceevent.js
865
- function spliceeventanalyze(tk, block) {
866
- if (tk.eventsg) {
867
- tk.eventsg.selectAll("*").remove();
868
- }
869
- if (tk.type != tkt.junction) {
870
- return;
871
- }
872
- if (!tk.data) {
873
- return;
874
- }
875
- if (tk.data.length == 0) {
876
- return;
877
- }
878
- const [gmdataerr, gmdata] = getgmdata(block);
879
- if (gmdataerr) {
880
- const fontsize = 12;
881
- const pad = 2;
882
- tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
883
- tk.eventsg.append("text").text(gmdataerr).attr("font-family", font).attr("font-size", fontsize).attr("fill", "#858585").attr("text-anchor", "middle").attr("x", block.width / 2).attr("y", pad + fontsize / 2).attr("dominant-baseline", "central");
884
- tk.height_main += pad * 2 + fontsize;
885
- block.block_setheight();
886
- return;
887
- }
888
- if (!gmdata) {
889
- return;
890
- }
891
- for (const junction of tk.data) {
892
- delete junction.spliceevents;
893
- }
894
- mapjunctiontoexons(tk.data, gmdata);
895
- const allevents = [];
896
- const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
897
- if (exonskipalt.length > 0) {
898
- for (const exonset of exonskipalt) {
899
- if (exonlstoutofrange(exonset.exonlst, block)) {
900
- continue;
901
- }
902
- allevents.push(exonset);
903
- for (const thisevt of exonset.eventlst) {
904
- if (!thisevt.junctionB.spliceevents) {
905
- thisevt.junctionB.spliceevents = [];
906
- }
907
- thisevt.junctionB.spliceevents.push(thisevt);
908
- }
909
- }
910
- }
911
- if (allevents.length) {
912
- rendereventsintrack(allevents, tk, block);
913
- }
914
- }
915
- function rendereventsintrack(allevents, tk, block) {
916
- const labelfontsize = 10;
917
- const stackspace = 1;
918
- const boxlabelspacing = 2;
919
- let stackheight;
920
- if (tk.totalsamplecount > 1) {
921
- stackheight = labelfontsize * 3 + stackspace * 2;
922
- } else {
923
- stackheight = labelfontsize * 2 + stackspace;
924
- }
925
- for (const eventset of allevents) {
926
- eventset.g = tk.eventsg.append("g");
927
- const junctionB = eventset.eventlst[0].junctionB;
928
- const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
929
- eventset.toplabel = eventset.g.append("text").text(eventset.toplabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize / 2).attr("dominant-baseline", "central");
930
- if (tk.totalsamplecount > 1) {
931
- eventset.middlelabel = eventset.g.append("text").text(eventset.middlelabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize * 1.5).attr("dominant-baseline", "central");
932
- }
933
- let willshowframe = false;
934
- let thiseventframe = null;
935
- for (const evt of eventset.eventlst) {
936
- if (evt.isaltexon) {
937
- evt.framenocheck = true;
938
- continue;
939
- }
940
- if (evt.isskipexon) {
941
- if (!evt.gm.coding) {
942
- evt.framenocheck = true;
943
- continue;
944
- }
945
- if (evt.utr3 || evt.utr5) {
946
- evt.framenocheck = true;
947
- continue;
948
- }
949
- }
950
- willshowframe = true;
951
- if (block.genome.junctionframecache.has(jbstr)) {
952
- let isoform;
953
- if (evt.isskipexon) {
954
- isoform = evt.gm.isoform;
955
- }
956
- const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
957
- if (thisframe == void 0) {
958
- } else {
959
- evt.frame = thisframe;
960
- if (thiseventframe == null) {
961
- thiseventframe = thisframe;
962
- } else {
963
- if (thisframe == IN_frame) {
964
- thiseventframe = IN_frame;
965
- }
966
- }
967
- }
968
- } else {
969
- }
970
- }
971
- eventset.bottomlabel = eventset.g.append("text").text(
972
- eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
973
- ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
974
- if (willshowframe && thiseventframe == null) {
975
- for (const evt of eventset.eventlst) {
976
- let gm;
977
- if (evt.isaltexon) {
978
- gm = evt.gmB;
979
- } else if (evt.isskipexon) {
980
- gm = evt.gm;
981
- }
982
- if (!block.genome.junctionframecache.has(jbstr)) {
983
- checkjunctionframe({
984
- jbstr,
985
- evt,
986
- gm,
987
- block,
988
- eventset
989
- });
990
- continue;
991
- }
992
- if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
993
- checkjunctionframe({
994
- jbstr,
995
- evt,
996
- gm,
997
- block,
998
- eventset
999
- });
1000
- }
1001
- }
1002
- }
1003
- const exonobjlst = [];
1004
- let boxstart = null, boxstop;
1005
- for (const exon of eventset.exonlst) {
1006
- const pointa = block.seekcoord(exon.chr, exon.start)[0];
1007
- if (!pointa) {
1008
- console.log("skipped exon start position not mapped: " + exon.start);
1009
- return;
1010
- }
1011
- const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1012
- if (!pointb) {
1013
- console.log("skipped exon stop position not mapped: " + exon.stop);
1014
- return;
1015
- }
1016
- const exonobj = {
1017
- x: Math.min(pointa.x, pointb.x),
1018
- w: Math.max(1, Math.abs(pointa.x - pointb.x))
1019
- };
1020
- exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1021
- console.log(eventset);
1022
- });
1023
- if (boxstart == null) {
1024
- boxstart = exonobj.x;
1025
- boxstop = exonobj.x + exonobj.w;
1026
- } else {
1027
- boxstart = Math.min(boxstart, exonobj.x);
1028
- boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1029
- }
1030
- exonobjlst.push(exonobj);
1031
- }
1032
- for (const exon of exonobjlst) {
1033
- exon.rect.attr("x", exon.x - boxstart);
1034
- }
1035
- eventset.boxstart = boxstart;
1036
- eventset.boxwidth = boxstop - boxstart;
1037
- if (eventset.exonlst.length > 1) {
1038
- eventset.g.append("line").attr("stroke", eventset.color).attr("stroke-opacity", 0.2).attr("stroke-width", 2).attr("shape-rendering", "crispEdges").attr("x1", 0).attr("x2", eventset.boxwidth).attr("y1", stackheight / 2 - 0.5).attr("y2", stackheight / 2 - 0.5);
1039
- }
1040
- eventset.toplabel.each(function() {
1041
- eventset.labelwidth = this.getBBox().width;
1042
- });
1043
- if (eventset.middlelabel) {
1044
- eventset.middlelabel.each(function() {
1045
- eventset.labelwidth = this.getBBox().width;
1046
- });
1047
- }
1048
- eventset.bottomlabel.each(function() {
1049
- eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1050
- });
1051
- if (eventset.labelwidth > eventset.boxstart) {
1052
- eventset.labelonright = true;
1053
- eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1054
- eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1055
- if (eventset.middlelabel) {
1056
- eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1057
- }
1058
- } else {
1059
- eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1060
- eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1061
- if (eventset.middlelabel) {
1062
- eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1063
- }
1064
- }
1065
- eventset.cover = eventset.g.append("rect").attr("x", eventset.labelonright ? 0 : -eventset.labelwidth - boxlabelspacing).attr("width", eventset.labelwidth + boxlabelspacing + eventset.boxwidth).attr("height", stackheight).attr("fill", "#858585").attr("fill-opacity", 0).on("mouseover", () => {
1066
- eventset.cover.attr("fill-opacity", 0.1);
1067
- }).on("mouseout", () => {
1068
- eventset.cover.attr("fill-opacity", 0);
1069
- }).on("click", () => {
1070
- tk.tktip.clear();
1071
- displayspliceevents(eventset.eventlst, tk.tktip.d);
1072
- tk.tktip.showunder(eventset.cover.node());
1073
- });
1074
- }
1075
- const stacks = [0];
1076
- for (const eventset of allevents) {
1077
- let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1078
- let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1079
- for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1080
- if (x1 > stacks[stackidx]) {
1081
- eventset.stackidx = stackidx;
1082
- stacks[stackidx] = x2;
1083
- break;
1084
- }
1085
- if (!eventset.labelonright) {
1086
- const newx1 = eventset.boxstart;
1087
- const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1088
- if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1089
- eventset.labelonright = true;
1090
- eventset.stackidx = stackidx;
1091
- stacks[stackidx] = newx2;
1092
- eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1093
- eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1094
- if (eventset.middlelabel) {
1095
- eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1096
- }
1097
- eventset.cover.attr("x", 0);
1098
- break;
1099
- }
1100
- }
1101
- }
1102
- if (eventset.stackidx == void 0) {
1103
- eventset.stackidx = stacks.length;
1104
- stacks.push(x2);
1105
- }
1106
- eventset.g.attr(
1107
- "transform",
1108
- "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1109
- );
1110
- }
1111
- tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1112
- block.block_setheight();
1113
- }
1114
- function checkjunctionframe(arg) {
1115
- if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1116
- arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1117
- }
1118
- if (!arg.gm.coding) {
1119
- arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1120
- mayupdateeventsetlabel(arg);
1121
- return;
1122
- }
1123
- const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1124
- dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1125
- if (!data) {
1126
- console.log("server error");
1127
- return;
1128
- }
1129
- if (data.error) {
1130
- console.log(data.error);
1131
- return;
1132
- }
1133
- if (typeof data.frame != "boolean") {
1134
- console.log("invalid result from translategm: " + data.frame);
1135
- return;
1136
- }
1137
- arg.evt.frame = data.frame;
1138
- arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1139
- mayupdateeventsetlabel(arg);
1140
- });
1141
- }
1142
- function mayupdateeventsetlabel(arg) {
1143
- if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1144
- return;
1145
- }
1146
- let frame = OUT_frame;
1147
- for (const evt of arg.eventset.eventlst) {
1148
- if (evt.framenocheck) {
1149
- continue;
1150
- }
1151
- let isoform;
1152
- if (evt.isskipexon) {
1153
- isoform = evt.gm.isoform;
1154
- }
1155
- const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1156
- if (thisframe == void 0) {
1157
- return;
1158
- }
1159
- if (thisframe == IN_frame) {
1160
- frame = IN_frame;
1161
- }
1162
- }
1163
- arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1164
- }
1165
- function displayspliceevents(events, holder) {
1166
- const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1167
- if (events.length > 1) {
1168
- holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1169
- const name = Math.random().toString();
1170
- for (const [idx, evt] of events.entries()) {
1171
- const id = name + idx;
1172
- const row = holder.append("div").style("margin-top", "3px");
1173
- row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1174
- displayspliceevents_show(events, idx, showdiv);
1175
- });
1176
- row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1177
- }
1178
- }
1179
- const showdiv = holder.append("div");
1180
- displayspliceevents_show(events, evt2showidx, showdiv);
1181
- }
1182
- function displayspliceevents_show(events, idx, div) {
1183
- div.selectAll("*").remove();
1184
- import("./spliceevent.exonskip.diagram-UF7WJA5R.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-D373YEMK.js.map