@sjcrh/proteinpaint-client 2.205.0 → 2.206.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 (928) hide show
  1. package/dist/2dmaf-5OYM4MXA.js +1367 -0
  2. package/dist/AggMatrixInput-4VTI4Y6E.js +277 -0
  3. package/dist/AggregateMatrix-K7SGNO63.js +41 -0
  4. package/dist/AppHeader-WU6TO2OZ.js +830 -0
  5. package/dist/BoxPlot-OW7U3XTF.js +1211 -0
  6. package/dist/CorrelationVolcano-B3JTTZHF.js +614 -0
  7. package/dist/Cuminc-AJEXWRU2.js +1219 -0
  8. package/dist/DE-2J7DSRPC.js +89 -0
  9. package/dist/DEinput-I7JWNOSD.js +499 -0
  10. package/dist/DM-NQ46YPGF.js +90 -0
  11. package/dist/DifferentialAnalysis-BFCQBX5J.js +237 -0
  12. package/dist/Disco-ZJLVQRTC.js +3389 -0
  13. package/dist/Disco.UI-AEDACXW2.js +243 -0
  14. package/dist/DmrPlot-QMRXAOM3.js +637 -0
  15. package/dist/GB-MFU2UJ22.js +1391 -0
  16. package/dist/GSEA-E3NHU22A.js +851 -0
  17. package/dist/GeneExpInput-MIUNSOPY.js +362 -0
  18. package/dist/Geomap-HAJG3STN.js +84 -0
  19. package/dist/HicApp-ECFFIRWI.js +2245 -0
  20. package/dist/IDCViewer-TNSD3U2V.js +10812 -0
  21. package/dist/NumBinaryEditor-CNBGZ6WY.js +279 -0
  22. package/dist/NumBinaryEditor.unit.spec-SKFDALF3.js +312 -0
  23. package/dist/NumContEditor-7ID2U7JL.js +105 -0
  24. package/dist/NumContEditor.unit.spec-XHSQSAWK.js +164 -0
  25. package/dist/NumCustomBinEditor-PAIPRJPO.js +33 -0
  26. package/dist/NumCustomBinEditor.unit.spec-QYVZMMHV.js +397 -0
  27. package/dist/NumDiscreteEditor-K2NZZQTH.js +170 -0
  28. package/dist/NumDiscreteEditor.unit.spec-3CG5VEQL.js +233 -0
  29. package/dist/NumRegularBinEditor-EOVZ22TP.js +33 -0
  30. package/dist/NumRegularBinEditor.unit.spec-FHTVH5FH.js +278 -0
  31. package/dist/NumSplineEditor-N3REMJUC.js +210 -0
  32. package/dist/NumSplineEditor.unit.spec-DZCP35GL.js +224 -0
  33. package/dist/NumericDensity-42MWVI2S.js +33 -0
  34. package/dist/NumericDensity.unit.spec-T2HHSQON.js +418 -0
  35. package/dist/NumericHandler-5XU3SSPD.js +34 -0
  36. package/dist/NumericHandler.unit.spec-3F23KSAQ.js +214 -0
  37. package/dist/ProteomeInput-UN2BUNRO.js +388 -0
  38. package/dist/Regression-HWLJENA5.js +1416 -0
  39. package/dist/RunChart2-YO55WE4M.js +749 -0
  40. package/dist/SC-LEDJ4DQR.js +1107 -0
  41. package/dist/Violin-E6PDJZ2B.js +1082 -0
  42. package/dist/Volcano-XJTBWYUK.js +1649 -0
  43. package/dist/Wsi-S675CYTW.js +431 -0
  44. package/dist/adSandbox-ZJQ5ZW2T.js +33 -0
  45. package/dist/animatedBubbleChart-LRUS7W36.js +547 -0
  46. package/dist/app-7Q3QIBU4.js +32 -0
  47. package/dist/app-PKSI4MV5.js +42 -0
  48. package/dist/app.js +17 -17
  49. package/dist/bam-X5JH5ZT7.js +876 -0
  50. package/dist/barchart-UT6J4L2N.js +42 -0
  51. package/dist/barchart2-ZG5QJO3C.js +309 -0
  52. package/dist/block-TC466NGW.js +6249 -0
  53. package/dist/block.init-CIBNSYAC.js +33 -0
  54. package/dist/block.mds.expressionrank-EY5PCQCK.js +354 -0
  55. package/dist/block.mds.geneboxplot-R6AOMHO5.js +823 -0
  56. package/dist/block.mds.junction-JMV6FNYC.js +1539 -0
  57. package/dist/block.mds.svcnv-IHTV3QYG.js +6796 -0
  58. package/dist/block.svg-NTFLVQAQ.js +159 -0
  59. package/dist/block.tk.aicheck-FYPL32Y4.js +278 -0
  60. package/dist/block.tk.ase-FWCB6VBO.js +360 -0
  61. package/dist/block.tk.bam-Q5UFUABN.js +1901 -0
  62. package/dist/block.tk.bedgraphdot-KBI3GFDM.js +379 -0
  63. package/dist/block.tk.bigwig.ui-KXNFX7G7.js +206 -0
  64. package/dist/block.tk.hicstraw-MQBH3YAJ.js +818 -0
  65. package/dist/block.tk.junction-EBTVXLJH.js +2358 -0
  66. package/dist/block.tk.junction.textmatrixui-ETYLCP2O.js +194 -0
  67. package/dist/block.tk.ld-NLB6L6WQ.js +94 -0
  68. package/dist/block.tk.menu-PJLCOXVJ.js +1024 -0
  69. package/dist/block.tk.pgv-JOIQVWL2.js +938 -0
  70. package/dist/brainImaging-SPRC3QFB.js +515 -0
  71. package/dist/brainRegions-LGQGRWG7.js +217 -0
  72. package/dist/brainRegions-LGQGRWG7.js.map +7 -0
  73. package/dist/bubbleHeatmap-CFTZ5RXH.js +378 -0
  74. package/dist/cellTypeBubbleHeatmap-DXPLFT5U.js +278 -0
  75. package/dist/chunk-2BQ572SL.js +102 -0
  76. package/dist/chunk-2DQIQYY3.js +103 -0
  77. package/dist/chunk-2POQWEK6.js +134 -0
  78. package/dist/chunk-2SQEVMAL.js +446 -0
  79. package/dist/chunk-37HTZ6IG.js +158 -0
  80. package/dist/chunk-452765PG.js +2676 -0
  81. package/dist/chunk-4DXQJGJ7.js +31 -0
  82. package/dist/chunk-4OLM3KSB.js +2708 -0
  83. package/dist/chunk-4OLM3KSB.js.map +7 -0
  84. package/dist/chunk-54KC7DAB.js +178 -0
  85. package/dist/chunk-5D5YTFI2.js +783 -0
  86. package/dist/chunk-5DBW3WLK.js +129 -0
  87. package/dist/chunk-5ILEFNXJ.js +402 -0
  88. package/dist/chunk-5UO7MKCO.js +59 -0
  89. package/dist/chunk-7R7P6VMT.js +243 -0
  90. package/dist/chunk-7X6NF7NI.js +96 -0
  91. package/dist/chunk-ANGLZ4XR.js +26 -0
  92. package/dist/chunk-BMQDU7KN.js +38 -0
  93. package/dist/chunk-C5TU4AYP.js +281 -0
  94. package/dist/chunk-DBQA6QIJ.js +4311 -0
  95. package/dist/chunk-DHNET3P4.js +42 -0
  96. package/dist/chunk-EGKHDALO.js +382 -0
  97. package/dist/chunk-EPWGUWQP.js +34 -0
  98. package/dist/chunk-F3EYPES3.js +1339 -0
  99. package/dist/chunk-F4DM3WS4.js +194 -0
  100. package/dist/chunk-FTLCINDC.js +294 -0
  101. package/dist/chunk-GT6WJUJY.js +480 -0
  102. package/dist/chunk-GWCK5QGV.js +70 -0
  103. package/dist/chunk-HJSGHFJ6.js +464 -0
  104. package/dist/chunk-HS6BTSFX.js +49 -0
  105. package/dist/chunk-IB5TKNG5.js +5071 -0
  106. package/dist/chunk-IIMTOPH3.js +54 -0
  107. package/dist/chunk-ILEXRHF7.js +367 -0
  108. package/dist/chunk-ILEXRHF7.js.map +7 -0
  109. package/dist/chunk-IZUYLFOX.js +1608 -0
  110. package/dist/chunk-IZUYLFOX.js.map +7 -0
  111. package/dist/chunk-JAXN3Q3K.js +272 -0
  112. package/dist/chunk-K6PYTAXW.js +2853 -0
  113. package/dist/chunk-KIRZXPMB.js +141 -0
  114. package/dist/chunk-KT4OZVO3.js +1275 -0
  115. package/dist/chunk-L32KMIC3.js +54 -0
  116. package/dist/chunk-LB7NENEB.js +123 -0
  117. package/dist/chunk-LDWMVZYF.js +562 -0
  118. package/dist/chunk-M367Y7ML.js +140 -0
  119. package/dist/chunk-M4XXKTH2.js +339 -0
  120. package/dist/chunk-ME7OF3CS.js +176 -0
  121. package/dist/chunk-N2CXLMNX.js +626 -0
  122. package/dist/chunk-N7DVQTPC.js +119 -0
  123. package/dist/chunk-N7TD7N7D.js +518 -0
  124. package/dist/chunk-NBX6TT5C.js +299 -0
  125. package/dist/chunk-NLR7JIMM.js +1986 -0
  126. package/dist/chunk-NSRGYBDM.js +339 -0
  127. package/dist/chunk-NVS7KYYI.js +379 -0
  128. package/dist/chunk-OVPEMVXT.js +397 -0
  129. package/dist/chunk-OXWLQQXL.js +274 -0
  130. package/dist/chunk-Q5SK3U2T.js +24163 -0
  131. package/dist/chunk-Q5SK3U2T.js.map +7 -0
  132. package/dist/chunk-QGGSYEVJ.js +55 -0
  133. package/dist/chunk-QLEVONLD.js +50 -0
  134. package/dist/chunk-RFW5BRIZ.js +1233 -0
  135. package/dist/chunk-RFW5BRIZ.js.map +7 -0
  136. package/dist/chunk-RNWHB5DI.js +98 -0
  137. package/dist/chunk-RPDVFM7E.js +2133 -0
  138. package/dist/chunk-RUHLDUOT.js +203 -0
  139. package/dist/chunk-RV34WFGZ.js +197 -0
  140. package/dist/chunk-SDVE5ECI.js +6360 -0
  141. package/dist/chunk-SWO6DZTG.js +170 -0
  142. package/dist/chunk-SYPSS3JQ.js +387 -0
  143. package/dist/chunk-TDM3645O.js +2327 -0
  144. package/dist/chunk-VVO3R5JV.js +217 -0
  145. package/dist/chunk-VYEU6Y35.js +14 -0
  146. package/dist/chunk-WGXC6IEF.js +263 -0
  147. package/dist/chunk-WPDM57B5.js +1720 -0
  148. package/dist/chunk-WS7WKS2B.js +2784 -0
  149. package/dist/chunk-X63NSV33.js +276 -0
  150. package/dist/chunk-XXNRSSBR.js +56 -0
  151. package/dist/chunk-YD6UGDFI.js +102 -0
  152. package/dist/chunk-YRIYDFNU.js +160 -0
  153. package/dist/chunk-YY5WQQ3J.js +194 -0
  154. package/dist/chunk-Z2ZITHT4.js +4195 -0
  155. package/dist/chunk-Z4SM3FBK.js +302 -0
  156. package/dist/chunk-ZEYEIUEZ.js +240 -0
  157. package/dist/chunk-ZLYTDHQP.js +677 -0
  158. package/dist/chunk-ZWCVRVV4.js +550 -0
  159. package/dist/cohort-FZNMFWOX.js +70 -0
  160. package/dist/condition-AJJLFCBQ.js +327 -0
  161. package/dist/controls-SZOLV37V.js +34 -0
  162. package/dist/controls.config-CVP75WFA.js +34 -0
  163. package/dist/correlation-UFJFQHQ3.js +95 -0
  164. package/dist/customdata.inputui-HOVA4A6O.js +284 -0
  165. package/dist/dataDownload-VTUG4IOK.js +329 -0
  166. package/dist/databrowser.ui-O5S4Y4EK.js +425 -0
  167. package/dist/dictionary-L2UNNNP7.js +113 -0
  168. package/dist/dnaMethylation-B4SWZI4O.js +33 -0
  169. package/dist/dnaMethylation.integration.spec-ANJAMNYJ.js +198 -0
  170. package/dist/dofetch-F5XSHQIS.js +48 -0
  171. package/dist/e2pca-66ARIMKL.js +344 -0
  172. package/dist/ep-OFGJYVUY.js +1249 -0
  173. package/dist/expclust.gdc.spec-22RXQTTP.js +302 -0
  174. package/dist/facet-GVZQ3RPN.js +519 -0
  175. package/dist/gb-HEPGVYEK.js +81 -0
  176. package/dist/geneExpClustering-3NU2U422.js +244 -0
  177. package/dist/geneExpression-FXQ4L2J2.js +310 -0
  178. package/dist/geneExpression-XYVYJJA5.js +33 -0
  179. package/dist/geneExpression.unit.spec-K3FIRSNK.js +99 -0
  180. package/dist/geneORA-5M2JSDMF.js +273 -0
  181. package/dist/geneRanking-TP3R3CS3.js +548 -0
  182. package/dist/geneVariant-232EYUFJ.js +36 -0
  183. package/dist/geneVariant-BHXTPUDC.js +286 -0
  184. package/dist/geneVariant.integration.spec-ICFHVFIR.js +388 -0
  185. package/dist/genefusion.ui-ABRCUQFC.js +303 -0
  186. package/dist/geneset-N42FIVA6.js +203 -0
  187. package/dist/genomeBrowser.spec-5HKQKLRU.js +276 -0
  188. package/dist/grin2-H2KJYLP6.js +1137 -0
  189. package/dist/grin2-NGMTEMXF.js +70 -0
  190. package/dist/hierCluster-JU5JPLM7.js +55 -0
  191. package/dist/hierCluster-LSSH275H.js +59 -0
  192. package/dist/hierCluster.config-ILOR7GBB.js +36 -0
  193. package/dist/hierCluster.integration.spec-CNR5OJOH.js +483 -0
  194. package/dist/hierCluster.interactivity-TLEIVTFK.js +49 -0
  195. package/dist/hierCluster.renderers-P7JNIT3N.js +19 -0
  196. package/dist/imagePlot-BF67SXQR.js +156 -0
  197. package/dist/importPlot-OHXSXNZN.js +8 -0
  198. package/dist/isoformExpression-4VKHE4HA.js +35 -0
  199. package/dist/isoformExpression.unit.spec-4TVSIFG4.js +237 -0
  200. package/dist/junction-VUHORV43.js +36 -0
  201. package/dist/junction.customTerm-FRYWSS4P.js +16 -0
  202. package/dist/junction.unit.spec-KKVLYT7Q.js +182 -0
  203. package/dist/launch.adhoc-UDYMFZTQ.js +37 -0
  204. package/dist/leftlabel.sample-R5FFBWG3.js +258 -0
  205. package/dist/legacyDataset-IEFWFVS6.js +117 -0
  206. package/dist/lollipop-3IX6ZYUN.js +166 -0
  207. package/dist/maf-42UFYSL4.js +455 -0
  208. package/dist/maftimeline-M5WYEN62.js +587 -0
  209. package/dist/matrix-CI76EDHU.js +54 -0
  210. package/dist/matrix-WJZKA6VR.js +59 -0
  211. package/dist/matrix.cells-ZFKVIPDC.js +26 -0
  212. package/dist/matrix.config-24TFHBEM.js +37 -0
  213. package/dist/matrix.data-NCGZPNWR.js +23 -0
  214. package/dist/matrix.groups-XQJTGM6M.js +26 -0
  215. package/dist/matrix.integration.spec-OGXZUDE6.js +3160 -0
  216. package/dist/matrix.interactivity-ZOOTPNSW.js +37 -0
  217. package/dist/matrix.layout-5J2YENK3.js +39 -0
  218. package/dist/matrix.legend-U36VCS46.js +20 -0
  219. package/dist/matrix.renderers-4KFE7ZVR.js +34 -0
  220. package/dist/matrix.serieses-AW7XBXLJ.js +19 -0
  221. package/dist/matrix.sort-7PMECLOE.js +26 -0
  222. package/dist/matrix.sort.unit.spec-GIA2YOTQ.js +468 -0
  223. package/dist/matrix.sorterUi-J6PRUT6J.js +16 -0
  224. package/dist/matrix.sorterUi.unit.spec-OPGKZZL6.js +338 -0
  225. package/dist/matrix.unit.spec-7UIVVR4T.js +150 -0
  226. package/dist/mavb-MSYUMT6W.js +727 -0
  227. package/dist/mds.fimo-OYEAQP37.js +513 -0
  228. package/dist/mds.samplescatterplot-EXISSRQQ.js +1545 -0
  229. package/dist/mds.survivalplot-SZST6BLN.js +477 -0
  230. package/dist/multivalue-YDE7L75Y.js +83 -0
  231. package/dist/numericDictTermCluster-5AKP6ICC.js +63 -0
  232. package/dist/oncomatrix-2OEIYWR6.js +290 -0
  233. package/dist/oncomatrix.spec-CXQW4JWU.js +443 -0
  234. package/dist/plot.2dvaf-LN7A3NNC.js +372 -0
  235. package/dist/plot.app-YIQOY2Z7.js +36 -0
  236. package/dist/plot.barplot-HF2J25XP.js +97 -0
  237. package/dist/plot.boxplot-YJH4L27U.js +146 -0
  238. package/dist/plot.brainImaging-PS4TRSPI.js +51 -0
  239. package/dist/plot.disco-BN5RNZ6Q.js +99 -0
  240. package/dist/plot.ssgq-N2HTOIY3.js +134 -0
  241. package/dist/plot.vaf2cov-6AOHRUQ2.js +253 -0
  242. package/dist/polar2-TC5OEJRE.js +232 -0
  243. package/dist/profileForms-5WV2TSBB.js +941 -0
  244. package/dist/profilePlot-OJLLW44P.js +49 -0
  245. package/dist/proteinView-CGNAJN4S.js +1357 -0
  246. package/dist/proteinView-CGNAJN4S.js.map +7 -0
  247. package/dist/proteomeCohortCompare-XXQGGVCF.js +912 -0
  248. package/dist/proteomeCohortCompare-XXQGGVCF.js.map +7 -0
  249. package/dist/pseudbulk.unit.spec-RAYRGN6C.js +86 -0
  250. package/dist/pseudobulk-ADHAYVSQ.js +35 -0
  251. package/dist/qualitative-JXEI3IYC.js +38 -0
  252. package/dist/radar2-BWTKSTT3.js +327 -0
  253. package/dist/radarFacility2-WIRSKTDG.js +335 -0
  254. package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +211 -0
  255. package/dist/render-J7WOYBOL.js +33 -0
  256. package/dist/report-DRPCXX2B.js +217 -0
  257. package/dist/sampleView-BV6BQGGQ.js +43 -0
  258. package/dist/samplelst-ZD63EYO7.js +106 -0
  259. package/dist/samplematrix-ZZ3DVELU.js +2193 -0
  260. package/dist/sc-MUI43YTB.js +81 -0
  261. package/dist/scatter-7B44HTKN.js +88 -0
  262. package/dist/scatter-UEDVIE4Y.js +880 -0
  263. package/dist/selectGenomeWithTklst-WGOKGVZ5.js +129 -0
  264. package/dist/singleCellCellType-Z7OXK7PI.js +33 -0
  265. package/dist/singleCellCellType.unit.spec-IIOVCCJQ.js +154 -0
  266. package/dist/singleCellGeneExpression-LYZAIJ2Z.js +33 -0
  267. package/dist/singleCellGeneExpression.unit.spec-67AAWZTG.js +148 -0
  268. package/dist/singleCellPlot-TXPYQLSH.js +49 -0
  269. package/dist/singlecell-22OG6HNI.js +1566 -0
  270. package/dist/singlecell-7TBALI2S.js +81 -0
  271. package/dist/snp-3U2G3Z57.js +33 -0
  272. package/dist/snp.unit.spec-BMBBUBYD.js +171 -0
  273. package/dist/snplocus-SSVZDIQV.js +203 -0
  274. package/dist/spliceevent.a53ss.diagram-FK7CN4AU.js +146 -0
  275. package/dist/spliceevent.exonskip.diagram-EFLGV3O4.js +278 -0
  276. package/dist/spliceevent.noeventdiagram-2DYO7CCZ.js +455 -0
  277. package/dist/ssGSEA-52LWBQJP.js +33 -0
  278. package/dist/ssGSEA.unit.spec-3JV6WHUQ.js +83 -0
  279. package/dist/stattable-RLMYQ4G6.js +117 -0
  280. package/dist/studyCatalog-DKB3U7EV.js +414 -0
  281. package/dist/studyCatalog-DKB3U7EV.js.map +7 -0
  282. package/dist/summarizeCnvGeneexp-QPRYAKC2.js +158 -0
  283. package/dist/summarizeGeneexpSurvival-RWVQXEKB.js +105 -0
  284. package/dist/summarizeMutationCnv-DW5F6NUJ.js +159 -0
  285. package/dist/summarizeMutationDiagnosis-5FOQ7CHI.js +35 -0
  286. package/dist/summarizeMutationSurvival-4UKB4EVO.js +99 -0
  287. package/dist/summary-TYC6QNT4.js +42 -0
  288. package/dist/summary.integration.spec-5GLJJZNM.js +409 -0
  289. package/dist/summaryInput-4IJGKW4P.js +242 -0
  290. package/dist/sunburst-G7DGATWP.js +278 -0
  291. package/dist/survival-IHM6A7LL.js +1248 -0
  292. package/dist/survival-MKNABJPU.js +53 -0
  293. package/dist/survival.integration.spec-THOKI3DL.js +613 -0
  294. package/dist/survival.integration.spec-THOKI3DL.js.map +7 -0
  295. package/dist/svgraph-VB7JWWR5.js +1382 -0
  296. package/dist/svmr-VLQIO2U5.js +3837 -0
  297. package/dist/table-EAXMDWOY.js +197 -0
  298. package/dist/termCollection-5LG7ICQY.js +252 -0
  299. package/dist/termCollection-SB6MWLFK.js +33 -0
  300. package/dist/termCollection.unit.spec-H5ITGTR3.js +299 -0
  301. package/dist/termCollectionFractionSelection-2XZSTDCQ.js +42 -0
  302. package/dist/termCollectionFractionSelection.unit.spec-BIO7V6KA.js +188 -0
  303. package/dist/tk-TRWYZLQ2.js +1121 -0
  304. package/dist/tk-VZI5HNSX.js +41 -0
  305. package/dist/tp.ui-J5SNNAT3.js +1454 -0
  306. package/dist/tvs.dt-6YHFJPER.js +34 -0
  307. package/dist/tvs.dtcnv.categorical-WTIE63GM.js +35 -0
  308. package/dist/tvs.dtcnv.continuous-OCMKGTF5.js +67 -0
  309. package/dist/tvs.dtfusion-CA23UNM3.js +35 -0
  310. package/dist/tvs.dtitd-VSYMR3OD.js +35 -0
  311. package/dist/tvs.dtsnvindel-YBNO3CYF.js +35 -0
  312. package/dist/tvs.dtsv-S743GBB5.js +35 -0
  313. package/dist/tvs.numeric-22AHXO5K.js +20 -0
  314. package/dist/tvs.samplelst-XAJO4EM6.js +98 -0
  315. package/dist/tvs.termCollection-QOVJGAUC.js +124 -0
  316. package/dist/vocabulary-6EADTHP3.js +36 -0
  317. package/dist/wsi.direct-2WB2NGC5.js +8184 -0
  318. package/package.json +3 -3
  319. package/dist/2dmaf-ZQ7ACPAD.js +0 -1367
  320. package/dist/AggMatrixInput-EACGUIQA.js +0 -277
  321. package/dist/AggregateMatrix-TC5DTSYN.js +0 -41
  322. package/dist/AppHeader-PHI6US5B.js +0 -830
  323. package/dist/BoxPlot-QWKK3IJ7.js +0 -1211
  324. package/dist/CorrelationVolcano-QJJN7FVP.js +0 -614
  325. package/dist/Cuminc-6F2C5C4E.js +0 -1219
  326. package/dist/DE-HRJH6ZQL.js +0 -89
  327. package/dist/DEinput-T3MPAYPH.js +0 -499
  328. package/dist/DM-PEG4ED2X.js +0 -90
  329. package/dist/DifferentialAnalysis-XGXHWGPI.js +0 -237
  330. package/dist/Disco-7SRTTB3X.js +0 -3389
  331. package/dist/Disco.UI-CKKZ5MMK.js +0 -243
  332. package/dist/DmrPlot-N4CT4J2I.js +0 -637
  333. package/dist/GB-NVCLPRWN.js +0 -1391
  334. package/dist/GSEA-UZUNJG7Z.js +0 -851
  335. package/dist/GeneExpInput-3MDN2CAW.js +0 -362
  336. package/dist/Geomap-ZUF2PE5A.js +0 -84
  337. package/dist/HicApp-OIJT5TFU.js +0 -2245
  338. package/dist/IDCViewer-ZSH2E57L.js +0 -10812
  339. package/dist/NumBinaryEditor-74ZPGT7L.js +0 -279
  340. package/dist/NumBinaryEditor.unit.spec-T2I66SO5.js +0 -312
  341. package/dist/NumContEditor-M2GARZXM.js +0 -105
  342. package/dist/NumContEditor.unit.spec-G2QBBNH7.js +0 -164
  343. package/dist/NumCustomBinEditor-P44G67KS.js +0 -33
  344. package/dist/NumCustomBinEditor.unit.spec-AZHJN3V6.js +0 -397
  345. package/dist/NumDiscreteEditor-VOZ63LZY.js +0 -170
  346. package/dist/NumDiscreteEditor.unit.spec-CFSVPNBA.js +0 -233
  347. package/dist/NumRegularBinEditor-I6GJQR7W.js +0 -33
  348. package/dist/NumRegularBinEditor.unit.spec-IDJE7H6S.js +0 -278
  349. package/dist/NumSplineEditor-BCGWE52A.js +0 -210
  350. package/dist/NumSplineEditor.unit.spec-YQAL7L2E.js +0 -224
  351. package/dist/NumericDensity-P25W63RV.js +0 -33
  352. package/dist/NumericDensity.unit.spec-N7CQ5W5L.js +0 -418
  353. package/dist/NumericHandler-R7JWIFEO.js +0 -34
  354. package/dist/NumericHandler.unit.spec-LMGIAGZJ.js +0 -214
  355. package/dist/ProteomeInput-PRYKKF5E.js +0 -388
  356. package/dist/Regression-PSHH7ZXN.js +0 -1416
  357. package/dist/RunChart2-KJ2UWVCE.js +0 -749
  358. package/dist/SC-R6ZIJZ6F.js +0 -1107
  359. package/dist/Violin-GTQAUJ7B.js +0 -1082
  360. package/dist/Volcano-NER64J7W.js +0 -1649
  361. package/dist/Wsi-GXNGL7O6.js +0 -431
  362. package/dist/adSandbox-SXSHVG4P.js +0 -33
  363. package/dist/animatedBubbleChart-Q4NEETEH.js +0 -547
  364. package/dist/app-MX4PL2QO.js +0 -42
  365. package/dist/app-R5CTEVAC.js +0 -32
  366. package/dist/bam-45N3FEEM.js +0 -876
  367. package/dist/barchart-YCTKQJQX.js +0 -42
  368. package/dist/barchart2-252GS3CA.js +0 -309
  369. package/dist/block-CR75JHV3.js +0 -6249
  370. package/dist/block.init-U3JMED2E.js +0 -33
  371. package/dist/block.mds.expressionrank-TAN3BDPS.js +0 -354
  372. package/dist/block.mds.geneboxplot-EN344GEP.js +0 -823
  373. package/dist/block.mds.junction-RFVVJUTR.js +0 -1539
  374. package/dist/block.mds.svcnv-SSUMXEWD.js +0 -6796
  375. package/dist/block.svg-LRPGNFFI.js +0 -159
  376. package/dist/block.tk.aicheck-YY23FT2G.js +0 -278
  377. package/dist/block.tk.ase-JCGPFKFT.js +0 -360
  378. package/dist/block.tk.bam-NZDC4H7Y.js +0 -1901
  379. package/dist/block.tk.bedgraphdot-NCNZPZH6.js +0 -379
  380. package/dist/block.tk.bigwig.ui-Z7G6ZITU.js +0 -206
  381. package/dist/block.tk.hicstraw-VVDP4UF5.js +0 -818
  382. package/dist/block.tk.junction-L4YBPAHM.js +0 -2358
  383. package/dist/block.tk.junction.textmatrixui-6CMKKUB5.js +0 -194
  384. package/dist/block.tk.ld-VCP2R5UO.js +0 -94
  385. package/dist/block.tk.menu-ZJYGMEDX.js +0 -1024
  386. package/dist/block.tk.pgv-M5WNUIVS.js +0 -938
  387. package/dist/brainImaging-JGECJHZO.js +0 -515
  388. package/dist/brainRegions-NTEAXNZJ.js +0 -234
  389. package/dist/brainRegions-NTEAXNZJ.js.map +0 -7
  390. package/dist/bubbleHeatmap-7DQNWBQ2.js +0 -378
  391. package/dist/cellTypeBubbleHeatmap-LAE7U3RF.js +0 -278
  392. package/dist/chunk-2AQT3ZWL.js +0 -626
  393. package/dist/chunk-2GLNPB5J.js +0 -203
  394. package/dist/chunk-2O4CS3EZ.js +0 -274
  395. package/dist/chunk-2Z4ZSINZ.js +0 -323
  396. package/dist/chunk-2Z4ZSINZ.js.map +0 -7
  397. package/dist/chunk-3MFFZRH3.js +0 -6360
  398. package/dist/chunk-3PHXBY3Z.js +0 -1275
  399. package/dist/chunk-4AQQ3BXD.js +0 -70
  400. package/dist/chunk-4PPZYVWZ.js +0 -281
  401. package/dist/chunk-4WEA7HHH.js +0 -26
  402. package/dist/chunk-57NYHASA.js +0 -38
  403. package/dist/chunk-5AAAH4OZ.js +0 -141
  404. package/dist/chunk-5BCNVZIW.js +0 -480
  405. package/dist/chunk-6JBLNS4D.js +0 -387
  406. package/dist/chunk-6JBQLOJW.js +0 -1339
  407. package/dist/chunk-756KZF5Y.js +0 -158
  408. package/dist/chunk-ABTO5QSB.js +0 -276
  409. package/dist/chunk-ALEZQQOK.js +0 -299
  410. package/dist/chunk-APK7TUJX.js +0 -102
  411. package/dist/chunk-AQAFURQM.js +0 -59
  412. package/dist/chunk-BEJJS2HC.js +0 -194
  413. package/dist/chunk-CZ5QLVWK.js +0 -49
  414. package/dist/chunk-D2MZT7CC.js +0 -176
  415. package/dist/chunk-D6G64XPJ.js +0 -96
  416. package/dist/chunk-DE3F7FAP.js +0 -34
  417. package/dist/chunk-DF3IMIR2.js +0 -464
  418. package/dist/chunk-E4WIMTK4.js +0 -446
  419. package/dist/chunk-E7TJXNIL.js +0 -42
  420. package/dist/chunk-G3JNTWCX.js +0 -103
  421. package/dist/chunk-GN2IIC6U.js +0 -160
  422. package/dist/chunk-GRI74AXV.js +0 -294
  423. package/dist/chunk-HDTFYTEL.js +0 -2694
  424. package/dist/chunk-HDTFYTEL.js.map +0 -7
  425. package/dist/chunk-IAE3KWN5.js +0 -550
  426. package/dist/chunk-IB4NE4SI.js +0 -397
  427. package/dist/chunk-IK2BO37K.js +0 -1608
  428. package/dist/chunk-IK2BO37K.js.map +0 -7
  429. package/dist/chunk-IS4VLUEX.js +0 -382
  430. package/dist/chunk-J2DICGKC.js +0 -194
  431. package/dist/chunk-J7JDCNLU.js +0 -24141
  432. package/dist/chunk-J7JDCNLU.js.map +0 -7
  433. package/dist/chunk-JBUEQ4E6.js +0 -263
  434. package/dist/chunk-JIDJBM2R.js +0 -2676
  435. package/dist/chunk-JNVWSFNC.js +0 -54
  436. package/dist/chunk-JYOIO5UY.js +0 -2133
  437. package/dist/chunk-KAFDQKN7.js +0 -1720
  438. package/dist/chunk-L743GRJE.js +0 -783
  439. package/dist/chunk-LGOTIL62.js +0 -54
  440. package/dist/chunk-LHP7RXET.js +0 -243
  441. package/dist/chunk-LK2GHBUH.js +0 -123
  442. package/dist/chunk-MAVDQAZE.js +0 -518
  443. package/dist/chunk-MKT4OJ3G.js +0 -102
  444. package/dist/chunk-N635HDJ4.js +0 -178
  445. package/dist/chunk-NFAE6VNU.js +0 -2327
  446. package/dist/chunk-NG7K5KYO.js +0 -56
  447. package/dist/chunk-NXVUL3EY.js +0 -2853
  448. package/dist/chunk-ODMLC5FN.js +0 -55
  449. package/dist/chunk-OJ4TDGPQ.js +0 -339
  450. package/dist/chunk-OXLBPSJ6.js +0 -379
  451. package/dist/chunk-P5GRGXH4.js +0 -98
  452. package/dist/chunk-POWG4MPT.js +0 -31
  453. package/dist/chunk-Q25DABNW.js +0 -217
  454. package/dist/chunk-QHJGWCH3.js +0 -4311
  455. package/dist/chunk-R5OIIFSF.js +0 -197
  456. package/dist/chunk-RJFCT67B.js +0 -2784
  457. package/dist/chunk-RN4BOWRH.js +0 -402
  458. package/dist/chunk-RZFJ6K77.js +0 -302
  459. package/dist/chunk-S5UN4VIQ.js +0 -272
  460. package/dist/chunk-SDMNZJ7X.js +0 -50
  461. package/dist/chunk-SWZAHJYP.js +0 -170
  462. package/dist/chunk-SY63UUF7.js +0 -562
  463. package/dist/chunk-T46FA72N.js +0 -119
  464. package/dist/chunk-TBPVP3KZ.js +0 -1986
  465. package/dist/chunk-UM5NWVMA.js +0 -140
  466. package/dist/chunk-VIBK253J.js +0 -134
  467. package/dist/chunk-XKL2D2NN.js +0 -240
  468. package/dist/chunk-XXJT7DSL.js +0 -677
  469. package/dist/chunk-YHA3AYAM.js +0 -5071
  470. package/dist/chunk-YLJOZP4P.js +0 -4195
  471. package/dist/chunk-YN5NY3D3.js +0 -339
  472. package/dist/chunk-YX6FIREB.js +0 -14
  473. package/dist/chunk-ZXU4ALLZ.js +0 -129
  474. package/dist/cohort-75FUW3UO.js +0 -70
  475. package/dist/condition-VW43Q6ZE.js +0 -327
  476. package/dist/controls-HOP2AFHD.js +0 -34
  477. package/dist/controls.config-CMIFSKQE.js +0 -34
  478. package/dist/correlation-PN7BS5OR.js +0 -95
  479. package/dist/customdata.inputui-ZBZX63PS.js +0 -284
  480. package/dist/dataDownload-LGA4LAUF.js +0 -329
  481. package/dist/databrowser.ui-IQRDVL66.js +0 -425
  482. package/dist/dictionary-BPWD77LJ.js +0 -113
  483. package/dist/dnaMethylation-A3XPPBBB.js +0 -33
  484. package/dist/dnaMethylation.integration.spec-554ITDQC.js +0 -198
  485. package/dist/dofetch-FQ42AX7C.js +0 -48
  486. package/dist/e2pca-F3GWG7WZ.js +0 -344
  487. package/dist/ep-QAVN472H.js +0 -1249
  488. package/dist/expclust.gdc.spec-DQNX7FTL.js +0 -302
  489. package/dist/facet-DH7OOZTJ.js +0 -519
  490. package/dist/gb-OCXOLAMD.js +0 -81
  491. package/dist/geneExpClustering-DWYRZGTS.js +0 -244
  492. package/dist/geneExpression-2NKSKZR6.js +0 -33
  493. package/dist/geneExpression-BGFR3KQE.js +0 -310
  494. package/dist/geneExpression.unit.spec-63EKKMET.js +0 -99
  495. package/dist/geneORA-BED6XL4D.js +0 -273
  496. package/dist/geneRanking-UB5RCQNP.js +0 -548
  497. package/dist/geneVariant-WJEONTTY.js +0 -286
  498. package/dist/geneVariant-Y4C2FPJK.js +0 -36
  499. package/dist/geneVariant.integration.spec-VFYLC47N.js +0 -388
  500. package/dist/genefusion.ui-P3NBIMLE.js +0 -303
  501. package/dist/geneset-O22RQAED.js +0 -203
  502. package/dist/genomeBrowser.spec-MM7WZUGI.js +0 -276
  503. package/dist/grin2-3YBIRKUT.js +0 -70
  504. package/dist/grin2-O637DNDS.js +0 -1137
  505. package/dist/hierCluster-3X3BQVNE.js +0 -59
  506. package/dist/hierCluster-7P7M75TU.js +0 -55
  507. package/dist/hierCluster.config-XFUOLLDK.js +0 -36
  508. package/dist/hierCluster.integration.spec-HKYGSDDG.js +0 -483
  509. package/dist/hierCluster.interactivity-JUZSWCM7.js +0 -49
  510. package/dist/hierCluster.renderers-NGPPAYFM.js +0 -19
  511. package/dist/imagePlot-LKGAFJO7.js +0 -156
  512. package/dist/importPlot-SRWQA2FH.js +0 -8
  513. package/dist/isoformExpression-RYIZQIVX.js +0 -35
  514. package/dist/isoformExpression.unit.spec-DP4ECITF.js +0 -237
  515. package/dist/junction-D7QQ3YSG.js +0 -36
  516. package/dist/junction.customTerm-ZEVNCVU7.js +0 -16
  517. package/dist/junction.unit.spec-6MAKIB3R.js +0 -182
  518. package/dist/launch.adhoc-FAHRZFYG.js +0 -37
  519. package/dist/leftlabel.sample-PDZLWLJ4.js +0 -258
  520. package/dist/legacyDataset-27L4DMCL.js +0 -117
  521. package/dist/lollipop-VWGJUHNX.js +0 -166
  522. package/dist/maf-W52H44WK.js +0 -455
  523. package/dist/maftimeline-5JV3HZLE.js +0 -587
  524. package/dist/matrix-CEVGKXSK.js +0 -54
  525. package/dist/matrix-EXNYXYLK.js +0 -59
  526. package/dist/matrix.cells-DVPWSLJW.js +0 -26
  527. package/dist/matrix.config-RLSTWDXC.js +0 -37
  528. package/dist/matrix.data-Z6GUACVZ.js +0 -23
  529. package/dist/matrix.groups-3ZSTUWRK.js +0 -26
  530. package/dist/matrix.integration.spec-4U2R3UB2.js +0 -3160
  531. package/dist/matrix.interactivity-DJZFQ7DN.js +0 -37
  532. package/dist/matrix.layout-RQJ6VB4P.js +0 -39
  533. package/dist/matrix.legend-YQ36NWKW.js +0 -20
  534. package/dist/matrix.renderers-MWDFI6HW.js +0 -34
  535. package/dist/matrix.serieses-LTC4RLYD.js +0 -19
  536. package/dist/matrix.sort-5VFYLABY.js +0 -26
  537. package/dist/matrix.sort.unit.spec-2RUEKUT4.js +0 -468
  538. package/dist/matrix.sorterUi-EEMYZLPI.js +0 -16
  539. package/dist/matrix.sorterUi.unit.spec-ZXGSPRFZ.js +0 -338
  540. package/dist/matrix.unit.spec-HTF6UV4L.js +0 -150
  541. package/dist/mavb-GGQRDCO6.js +0 -727
  542. package/dist/mds.fimo-YKV5OIYV.js +0 -513
  543. package/dist/mds.samplescatterplot-RQOEW2AW.js +0 -1545
  544. package/dist/mds.survivalplot-TN636DED.js +0 -477
  545. package/dist/multivalue-MDQY64EH.js +0 -83
  546. package/dist/numericDictTermCluster-E73TJCLI.js +0 -63
  547. package/dist/oncomatrix-AENXQMLL.js +0 -290
  548. package/dist/oncomatrix.spec-UD6U462U.js +0 -443
  549. package/dist/plot.2dvaf-XMRV6KEG.js +0 -372
  550. package/dist/plot.app-A6JKLYQQ.js +0 -36
  551. package/dist/plot.barplot-UIX7LVWR.js +0 -97
  552. package/dist/plot.boxplot-DIFWVLMA.js +0 -146
  553. package/dist/plot.brainImaging-ZRPVE2UK.js +0 -51
  554. package/dist/plot.disco-I56MT3PC.js +0 -99
  555. package/dist/plot.ssgq-FCKFSZTV.js +0 -134
  556. package/dist/plot.vaf2cov-E5C7RJ7Z.js +0 -253
  557. package/dist/polar2-SKVBB4FD.js +0 -232
  558. package/dist/profileForms-5B3MTUNP.js +0 -941
  559. package/dist/profilePlot-MCYCGEWT.js +0 -49
  560. package/dist/proteinView-5X55JWVL.js +0 -1562
  561. package/dist/proteinView-5X55JWVL.js.map +0 -7
  562. package/dist/proteomeCohortCompare-WZBMBLFD.js +0 -780
  563. package/dist/proteomeCohortCompare-WZBMBLFD.js.map +0 -7
  564. package/dist/pseudbulk.unit.spec-Q4YTIPH7.js +0 -86
  565. package/dist/pseudobulk-3UIWCCCQ.js +0 -35
  566. package/dist/qualitative-6TJRXZFV.js +0 -38
  567. package/dist/radar2-6X4XW5IZ.js +0 -327
  568. package/dist/radarFacility2-UVPXWPV5.js +0 -335
  569. package/dist/rememberedGvQ.unit.spec-GVRFRVSO.js +0 -211
  570. package/dist/render-G7V6R4PV.js +0 -33
  571. package/dist/report-O7D46EKQ.js +0 -217
  572. package/dist/sampleView-6Y3OOOMW.js +0 -43
  573. package/dist/samplelst-JRVC4GYC.js +0 -106
  574. package/dist/samplematrix-VP5RQVRH.js +0 -2193
  575. package/dist/sc-BPHVEP6N.js +0 -81
  576. package/dist/scatter-2YYRZCSW.js +0 -88
  577. package/dist/scatter-Y4BIG2PW.js +0 -880
  578. package/dist/selectGenomeWithTklst-2BVZU5SW.js +0 -129
  579. package/dist/singleCellCellType-XBGCSIQT.js +0 -33
  580. package/dist/singleCellCellType.unit.spec-T4GFRLVZ.js +0 -154
  581. package/dist/singleCellGeneExpression-5ZPWLSVW.js +0 -33
  582. package/dist/singleCellGeneExpression.unit.spec-4O5UBUDU.js +0 -148
  583. package/dist/singleCellPlot-CZLQBGVU.js +0 -49
  584. package/dist/singlecell-IIUYX7OG.js +0 -1566
  585. package/dist/singlecell-O3P5BLWT.js +0 -81
  586. package/dist/snp-ZCYBF3ZQ.js +0 -33
  587. package/dist/snp.unit.spec-TAGD2DRL.js +0 -171
  588. package/dist/snplocus-TL25OOPE.js +0 -203
  589. package/dist/spliceevent.a53ss.diagram-I7J4PQZT.js +0 -146
  590. package/dist/spliceevent.exonskip.diagram-SB4454HB.js +0 -278
  591. package/dist/spliceevent.noeventdiagram-FOSDNYLH.js +0 -455
  592. package/dist/ssGSEA-WANB2X5L.js +0 -33
  593. package/dist/ssGSEA.unit.spec-4XXWU4XV.js +0 -83
  594. package/dist/stattable-FNTJLVNB.js +0 -117
  595. package/dist/studyCatalog-7KEOFLO2.js +0 -378
  596. package/dist/studyCatalog-7KEOFLO2.js.map +0 -7
  597. package/dist/summarizeCnvGeneexp-P4AFZMKD.js +0 -158
  598. package/dist/summarizeGeneexpSurvival-YL2J7F4R.js +0 -105
  599. package/dist/summarizeMutationCnv-BHBHST5F.js +0 -159
  600. package/dist/summarizeMutationDiagnosis-Z7ZHTV27.js +0 -35
  601. package/dist/summarizeMutationSurvival-PZ4TYHT7.js +0 -99
  602. package/dist/summary-ZMNPO65S.js +0 -42
  603. package/dist/summary.integration.spec-DPJR2ZBE.js +0 -409
  604. package/dist/summaryInput-6JUFJZ5P.js +0 -242
  605. package/dist/sunburst-OWAUI3HC.js +0 -278
  606. package/dist/survival-6JPKG3VA.js +0 -53
  607. package/dist/survival-7EXICNK7.js +0 -1248
  608. package/dist/survival.integration.spec-A6NUJLL6.js +0 -613
  609. package/dist/survival.integration.spec-A6NUJLL6.js.map +0 -7
  610. package/dist/svgraph-34IKFHUS.js +0 -1382
  611. package/dist/svmr-4XNPSVVQ.js +0 -3837
  612. package/dist/table-LPZATFLC.js +0 -197
  613. package/dist/termCollection-DYY5FXU5.js +0 -252
  614. package/dist/termCollection-WOAUFFIC.js +0 -33
  615. package/dist/termCollection.unit.spec-WTICTZ7H.js +0 -299
  616. package/dist/termCollectionFractionSelection-K5HPDEFP.js +0 -42
  617. package/dist/termCollectionFractionSelection.unit.spec-D7DG2HOI.js +0 -188
  618. package/dist/tk-DD2LWVGM.js +0 -1121
  619. package/dist/tk-NV7NBLT6.js +0 -41
  620. package/dist/tp.ui-B5J3UUVB.js +0 -1454
  621. package/dist/tvs.dt-XLKQT64T.js +0 -34
  622. package/dist/tvs.dtcnv.categorical-XIC3RH2D.js +0 -35
  623. package/dist/tvs.dtcnv.continuous-OA2K4LHF.js +0 -67
  624. package/dist/tvs.dtfusion-ZGNKALZB.js +0 -35
  625. package/dist/tvs.dtitd-6QSG4E34.js +0 -35
  626. package/dist/tvs.dtsnvindel-5CXXOGPH.js +0 -35
  627. package/dist/tvs.dtsv-QYYEYUD3.js +0 -35
  628. package/dist/tvs.numeric-3UXW4JHJ.js +0 -20
  629. package/dist/tvs.samplelst-X77ODFFR.js +0 -98
  630. package/dist/tvs.termCollection-VXROWAPS.js +0 -124
  631. package/dist/vocabulary-DKWYTZRC.js +0 -36
  632. package/dist/wsi.direct-C3HQEC2V.js +0 -8184
  633. /package/dist/{2dmaf-ZQ7ACPAD.js.map → 2dmaf-5OYM4MXA.js.map} +0 -0
  634. /package/dist/{AggMatrixInput-EACGUIQA.js.map → AggMatrixInput-4VTI4Y6E.js.map} +0 -0
  635. /package/dist/{AggregateMatrix-TC5DTSYN.js.map → AggregateMatrix-K7SGNO63.js.map} +0 -0
  636. /package/dist/{AppHeader-PHI6US5B.js.map → AppHeader-WU6TO2OZ.js.map} +0 -0
  637. /package/dist/{BoxPlot-QWKK3IJ7.js.map → BoxPlot-OW7U3XTF.js.map} +0 -0
  638. /package/dist/{CorrelationVolcano-QJJN7FVP.js.map → CorrelationVolcano-B3JTTZHF.js.map} +0 -0
  639. /package/dist/{Cuminc-6F2C5C4E.js.map → Cuminc-AJEXWRU2.js.map} +0 -0
  640. /package/dist/{DE-HRJH6ZQL.js.map → DE-2J7DSRPC.js.map} +0 -0
  641. /package/dist/{DEinput-T3MPAYPH.js.map → DEinput-I7JWNOSD.js.map} +0 -0
  642. /package/dist/{DM-PEG4ED2X.js.map → DM-NQ46YPGF.js.map} +0 -0
  643. /package/dist/{DifferentialAnalysis-XGXHWGPI.js.map → DifferentialAnalysis-BFCQBX5J.js.map} +0 -0
  644. /package/dist/{Disco-7SRTTB3X.js.map → Disco-ZJLVQRTC.js.map} +0 -0
  645. /package/dist/{Disco.UI-CKKZ5MMK.js.map → Disco.UI-AEDACXW2.js.map} +0 -0
  646. /package/dist/{DmrPlot-N4CT4J2I.js.map → DmrPlot-QMRXAOM3.js.map} +0 -0
  647. /package/dist/{GB-NVCLPRWN.js.map → GB-MFU2UJ22.js.map} +0 -0
  648. /package/dist/{GSEA-UZUNJG7Z.js.map → GSEA-E3NHU22A.js.map} +0 -0
  649. /package/dist/{GeneExpInput-3MDN2CAW.js.map → GeneExpInput-MIUNSOPY.js.map} +0 -0
  650. /package/dist/{Geomap-ZUF2PE5A.js.map → Geomap-HAJG3STN.js.map} +0 -0
  651. /package/dist/{HicApp-OIJT5TFU.js.map → HicApp-ECFFIRWI.js.map} +0 -0
  652. /package/dist/{IDCViewer-ZSH2E57L.js.map → IDCViewer-TNSD3U2V.js.map} +0 -0
  653. /package/dist/{NumBinaryEditor-74ZPGT7L.js.map → NumBinaryEditor-CNBGZ6WY.js.map} +0 -0
  654. /package/dist/{NumBinaryEditor.unit.spec-T2I66SO5.js.map → NumBinaryEditor.unit.spec-SKFDALF3.js.map} +0 -0
  655. /package/dist/{NumContEditor-M2GARZXM.js.map → NumContEditor-7ID2U7JL.js.map} +0 -0
  656. /package/dist/{NumContEditor.unit.spec-G2QBBNH7.js.map → NumContEditor.unit.spec-XHSQSAWK.js.map} +0 -0
  657. /package/dist/{NumCustomBinEditor-P44G67KS.js.map → NumCustomBinEditor-PAIPRJPO.js.map} +0 -0
  658. /package/dist/{NumCustomBinEditor.unit.spec-AZHJN3V6.js.map → NumCustomBinEditor.unit.spec-QYVZMMHV.js.map} +0 -0
  659. /package/dist/{NumDiscreteEditor-VOZ63LZY.js.map → NumDiscreteEditor-K2NZZQTH.js.map} +0 -0
  660. /package/dist/{NumDiscreteEditor.unit.spec-CFSVPNBA.js.map → NumDiscreteEditor.unit.spec-3CG5VEQL.js.map} +0 -0
  661. /package/dist/{NumRegularBinEditor-I6GJQR7W.js.map → NumRegularBinEditor-EOVZ22TP.js.map} +0 -0
  662. /package/dist/{NumRegularBinEditor.unit.spec-IDJE7H6S.js.map → NumRegularBinEditor.unit.spec-FHTVH5FH.js.map} +0 -0
  663. /package/dist/{NumSplineEditor-BCGWE52A.js.map → NumSplineEditor-N3REMJUC.js.map} +0 -0
  664. /package/dist/{NumSplineEditor.unit.spec-YQAL7L2E.js.map → NumSplineEditor.unit.spec-DZCP35GL.js.map} +0 -0
  665. /package/dist/{NumericDensity-P25W63RV.js.map → NumericDensity-42MWVI2S.js.map} +0 -0
  666. /package/dist/{NumericDensity.unit.spec-N7CQ5W5L.js.map → NumericDensity.unit.spec-T2HHSQON.js.map} +0 -0
  667. /package/dist/{NumericHandler-R7JWIFEO.js.map → NumericHandler-5XU3SSPD.js.map} +0 -0
  668. /package/dist/{NumericHandler.unit.spec-LMGIAGZJ.js.map → NumericHandler.unit.spec-3F23KSAQ.js.map} +0 -0
  669. /package/dist/{ProteomeInput-PRYKKF5E.js.map → ProteomeInput-UN2BUNRO.js.map} +0 -0
  670. /package/dist/{Regression-PSHH7ZXN.js.map → Regression-HWLJENA5.js.map} +0 -0
  671. /package/dist/{RunChart2-KJ2UWVCE.js.map → RunChart2-YO55WE4M.js.map} +0 -0
  672. /package/dist/{SC-R6ZIJZ6F.js.map → SC-LEDJ4DQR.js.map} +0 -0
  673. /package/dist/{Violin-GTQAUJ7B.js.map → Violin-E6PDJZ2B.js.map} +0 -0
  674. /package/dist/{Volcano-NER64J7W.js.map → Volcano-XJTBWYUK.js.map} +0 -0
  675. /package/dist/{Wsi-GXNGL7O6.js.map → Wsi-S675CYTW.js.map} +0 -0
  676. /package/dist/{adSandbox-SXSHVG4P.js.map → adSandbox-ZJQ5ZW2T.js.map} +0 -0
  677. /package/dist/{animatedBubbleChart-Q4NEETEH.js.map → animatedBubbleChart-LRUS7W36.js.map} +0 -0
  678. /package/dist/{app-MX4PL2QO.js.map → app-7Q3QIBU4.js.map} +0 -0
  679. /package/dist/{app-R5CTEVAC.js.map → app-PKSI4MV5.js.map} +0 -0
  680. /package/dist/{bam-45N3FEEM.js.map → bam-X5JH5ZT7.js.map} +0 -0
  681. /package/dist/{barchart-YCTKQJQX.js.map → barchart-UT6J4L2N.js.map} +0 -0
  682. /package/dist/{barchart2-252GS3CA.js.map → barchart2-ZG5QJO3C.js.map} +0 -0
  683. /package/dist/{block-CR75JHV3.js.map → block-TC466NGW.js.map} +0 -0
  684. /package/dist/{block.init-U3JMED2E.js.map → block.init-CIBNSYAC.js.map} +0 -0
  685. /package/dist/{block.mds.expressionrank-TAN3BDPS.js.map → block.mds.expressionrank-EY5PCQCK.js.map} +0 -0
  686. /package/dist/{block.mds.geneboxplot-EN344GEP.js.map → block.mds.geneboxplot-R6AOMHO5.js.map} +0 -0
  687. /package/dist/{block.mds.junction-RFVVJUTR.js.map → block.mds.junction-JMV6FNYC.js.map} +0 -0
  688. /package/dist/{block.mds.svcnv-SSUMXEWD.js.map → block.mds.svcnv-IHTV3QYG.js.map} +0 -0
  689. /package/dist/{block.svg-LRPGNFFI.js.map → block.svg-NTFLVQAQ.js.map} +0 -0
  690. /package/dist/{block.tk.aicheck-YY23FT2G.js.map → block.tk.aicheck-FYPL32Y4.js.map} +0 -0
  691. /package/dist/{block.tk.ase-JCGPFKFT.js.map → block.tk.ase-FWCB6VBO.js.map} +0 -0
  692. /package/dist/{block.tk.bam-NZDC4H7Y.js.map → block.tk.bam-Q5UFUABN.js.map} +0 -0
  693. /package/dist/{block.tk.bedgraphdot-NCNZPZH6.js.map → block.tk.bedgraphdot-KBI3GFDM.js.map} +0 -0
  694. /package/dist/{block.tk.bigwig.ui-Z7G6ZITU.js.map → block.tk.bigwig.ui-KXNFX7G7.js.map} +0 -0
  695. /package/dist/{block.tk.hicstraw-VVDP4UF5.js.map → block.tk.hicstraw-MQBH3YAJ.js.map} +0 -0
  696. /package/dist/{block.tk.junction-L4YBPAHM.js.map → block.tk.junction-EBTVXLJH.js.map} +0 -0
  697. /package/dist/{block.tk.junction.textmatrixui-6CMKKUB5.js.map → block.tk.junction.textmatrixui-ETYLCP2O.js.map} +0 -0
  698. /package/dist/{block.tk.ld-VCP2R5UO.js.map → block.tk.ld-NLB6L6WQ.js.map} +0 -0
  699. /package/dist/{block.tk.menu-ZJYGMEDX.js.map → block.tk.menu-PJLCOXVJ.js.map} +0 -0
  700. /package/dist/{block.tk.pgv-M5WNUIVS.js.map → block.tk.pgv-JOIQVWL2.js.map} +0 -0
  701. /package/dist/{brainImaging-JGECJHZO.js.map → brainImaging-SPRC3QFB.js.map} +0 -0
  702. /package/dist/{bubbleHeatmap-7DQNWBQ2.js.map → bubbleHeatmap-CFTZ5RXH.js.map} +0 -0
  703. /package/dist/{cellTypeBubbleHeatmap-LAE7U3RF.js.map → cellTypeBubbleHeatmap-DXPLFT5U.js.map} +0 -0
  704. /package/dist/{chunk-APK7TUJX.js.map → chunk-2BQ572SL.js.map} +0 -0
  705. /package/dist/{chunk-G3JNTWCX.js.map → chunk-2DQIQYY3.js.map} +0 -0
  706. /package/dist/{chunk-VIBK253J.js.map → chunk-2POQWEK6.js.map} +0 -0
  707. /package/dist/{chunk-E4WIMTK4.js.map → chunk-2SQEVMAL.js.map} +0 -0
  708. /package/dist/{chunk-756KZF5Y.js.map → chunk-37HTZ6IG.js.map} +0 -0
  709. /package/dist/{chunk-JIDJBM2R.js.map → chunk-452765PG.js.map} +0 -0
  710. /package/dist/{chunk-POWG4MPT.js.map → chunk-4DXQJGJ7.js.map} +0 -0
  711. /package/dist/{chunk-N635HDJ4.js.map → chunk-54KC7DAB.js.map} +0 -0
  712. /package/dist/{chunk-L743GRJE.js.map → chunk-5D5YTFI2.js.map} +0 -0
  713. /package/dist/{chunk-ZXU4ALLZ.js.map → chunk-5DBW3WLK.js.map} +0 -0
  714. /package/dist/{chunk-RN4BOWRH.js.map → chunk-5ILEFNXJ.js.map} +0 -0
  715. /package/dist/{chunk-AQAFURQM.js.map → chunk-5UO7MKCO.js.map} +0 -0
  716. /package/dist/{chunk-LHP7RXET.js.map → chunk-7R7P6VMT.js.map} +0 -0
  717. /package/dist/{chunk-D6G64XPJ.js.map → chunk-7X6NF7NI.js.map} +0 -0
  718. /package/dist/{chunk-4WEA7HHH.js.map → chunk-ANGLZ4XR.js.map} +0 -0
  719. /package/dist/{chunk-57NYHASA.js.map → chunk-BMQDU7KN.js.map} +0 -0
  720. /package/dist/{chunk-4PPZYVWZ.js.map → chunk-C5TU4AYP.js.map} +0 -0
  721. /package/dist/{chunk-QHJGWCH3.js.map → chunk-DBQA6QIJ.js.map} +0 -0
  722. /package/dist/{chunk-E7TJXNIL.js.map → chunk-DHNET3P4.js.map} +0 -0
  723. /package/dist/{chunk-IS4VLUEX.js.map → chunk-EGKHDALO.js.map} +0 -0
  724. /package/dist/{chunk-DE3F7FAP.js.map → chunk-EPWGUWQP.js.map} +0 -0
  725. /package/dist/{chunk-6JBQLOJW.js.map → chunk-F3EYPES3.js.map} +0 -0
  726. /package/dist/{chunk-BEJJS2HC.js.map → chunk-F4DM3WS4.js.map} +0 -0
  727. /package/dist/{chunk-GRI74AXV.js.map → chunk-FTLCINDC.js.map} +0 -0
  728. /package/dist/{chunk-5BCNVZIW.js.map → chunk-GT6WJUJY.js.map} +0 -0
  729. /package/dist/{chunk-4AQQ3BXD.js.map → chunk-GWCK5QGV.js.map} +0 -0
  730. /package/dist/{chunk-DF3IMIR2.js.map → chunk-HJSGHFJ6.js.map} +0 -0
  731. /package/dist/{chunk-CZ5QLVWK.js.map → chunk-HS6BTSFX.js.map} +0 -0
  732. /package/dist/{chunk-YHA3AYAM.js.map → chunk-IB5TKNG5.js.map} +0 -0
  733. /package/dist/{chunk-LGOTIL62.js.map → chunk-IIMTOPH3.js.map} +0 -0
  734. /package/dist/{chunk-S5UN4VIQ.js.map → chunk-JAXN3Q3K.js.map} +0 -0
  735. /package/dist/{chunk-NXVUL3EY.js.map → chunk-K6PYTAXW.js.map} +0 -0
  736. /package/dist/{chunk-5AAAH4OZ.js.map → chunk-KIRZXPMB.js.map} +0 -0
  737. /package/dist/{chunk-3PHXBY3Z.js.map → chunk-KT4OZVO3.js.map} +0 -0
  738. /package/dist/{chunk-JNVWSFNC.js.map → chunk-L32KMIC3.js.map} +0 -0
  739. /package/dist/{chunk-LK2GHBUH.js.map → chunk-LB7NENEB.js.map} +0 -0
  740. /package/dist/{chunk-SY63UUF7.js.map → chunk-LDWMVZYF.js.map} +0 -0
  741. /package/dist/{chunk-UM5NWVMA.js.map → chunk-M367Y7ML.js.map} +0 -0
  742. /package/dist/{chunk-YN5NY3D3.js.map → chunk-M4XXKTH2.js.map} +0 -0
  743. /package/dist/{chunk-D2MZT7CC.js.map → chunk-ME7OF3CS.js.map} +0 -0
  744. /package/dist/{chunk-2AQT3ZWL.js.map → chunk-N2CXLMNX.js.map} +0 -0
  745. /package/dist/{chunk-T46FA72N.js.map → chunk-N7DVQTPC.js.map} +0 -0
  746. /package/dist/{chunk-MAVDQAZE.js.map → chunk-N7TD7N7D.js.map} +0 -0
  747. /package/dist/{chunk-ALEZQQOK.js.map → chunk-NBX6TT5C.js.map} +0 -0
  748. /package/dist/{chunk-TBPVP3KZ.js.map → chunk-NLR7JIMM.js.map} +0 -0
  749. /package/dist/{chunk-OJ4TDGPQ.js.map → chunk-NSRGYBDM.js.map} +0 -0
  750. /package/dist/{chunk-OXLBPSJ6.js.map → chunk-NVS7KYYI.js.map} +0 -0
  751. /package/dist/{chunk-IB4NE4SI.js.map → chunk-OVPEMVXT.js.map} +0 -0
  752. /package/dist/{chunk-2O4CS3EZ.js.map → chunk-OXWLQQXL.js.map} +0 -0
  753. /package/dist/{chunk-ODMLC5FN.js.map → chunk-QGGSYEVJ.js.map} +0 -0
  754. /package/dist/{chunk-SDMNZJ7X.js.map → chunk-QLEVONLD.js.map} +0 -0
  755. /package/dist/{chunk-P5GRGXH4.js.map → chunk-RNWHB5DI.js.map} +0 -0
  756. /package/dist/{chunk-JYOIO5UY.js.map → chunk-RPDVFM7E.js.map} +0 -0
  757. /package/dist/{chunk-2GLNPB5J.js.map → chunk-RUHLDUOT.js.map} +0 -0
  758. /package/dist/{chunk-R5OIIFSF.js.map → chunk-RV34WFGZ.js.map} +0 -0
  759. /package/dist/{chunk-3MFFZRH3.js.map → chunk-SDVE5ECI.js.map} +0 -0
  760. /package/dist/{chunk-SWZAHJYP.js.map → chunk-SWO6DZTG.js.map} +0 -0
  761. /package/dist/{chunk-6JBLNS4D.js.map → chunk-SYPSS3JQ.js.map} +0 -0
  762. /package/dist/{chunk-NFAE6VNU.js.map → chunk-TDM3645O.js.map} +0 -0
  763. /package/dist/{chunk-Q25DABNW.js.map → chunk-VVO3R5JV.js.map} +0 -0
  764. /package/dist/{chunk-YX6FIREB.js.map → chunk-VYEU6Y35.js.map} +0 -0
  765. /package/dist/{chunk-JBUEQ4E6.js.map → chunk-WGXC6IEF.js.map} +0 -0
  766. /package/dist/{chunk-KAFDQKN7.js.map → chunk-WPDM57B5.js.map} +0 -0
  767. /package/dist/{chunk-RJFCT67B.js.map → chunk-WS7WKS2B.js.map} +0 -0
  768. /package/dist/{chunk-ABTO5QSB.js.map → chunk-X63NSV33.js.map} +0 -0
  769. /package/dist/{chunk-NG7K5KYO.js.map → chunk-XXNRSSBR.js.map} +0 -0
  770. /package/dist/{chunk-MKT4OJ3G.js.map → chunk-YD6UGDFI.js.map} +0 -0
  771. /package/dist/{chunk-GN2IIC6U.js.map → chunk-YRIYDFNU.js.map} +0 -0
  772. /package/dist/{chunk-J2DICGKC.js.map → chunk-YY5WQQ3J.js.map} +0 -0
  773. /package/dist/{chunk-YLJOZP4P.js.map → chunk-Z2ZITHT4.js.map} +0 -0
  774. /package/dist/{chunk-RZFJ6K77.js.map → chunk-Z4SM3FBK.js.map} +0 -0
  775. /package/dist/{chunk-XKL2D2NN.js.map → chunk-ZEYEIUEZ.js.map} +0 -0
  776. /package/dist/{chunk-XXJT7DSL.js.map → chunk-ZLYTDHQP.js.map} +0 -0
  777. /package/dist/{chunk-IAE3KWN5.js.map → chunk-ZWCVRVV4.js.map} +0 -0
  778. /package/dist/{cohort-75FUW3UO.js.map → cohort-FZNMFWOX.js.map} +0 -0
  779. /package/dist/{condition-VW43Q6ZE.js.map → condition-AJJLFCBQ.js.map} +0 -0
  780. /package/dist/{controls-HOP2AFHD.js.map → controls-SZOLV37V.js.map} +0 -0
  781. /package/dist/{controls.config-CMIFSKQE.js.map → controls.config-CVP75WFA.js.map} +0 -0
  782. /package/dist/{correlation-PN7BS5OR.js.map → correlation-UFJFQHQ3.js.map} +0 -0
  783. /package/dist/{customdata.inputui-ZBZX63PS.js.map → customdata.inputui-HOVA4A6O.js.map} +0 -0
  784. /package/dist/{dataDownload-LGA4LAUF.js.map → dataDownload-VTUG4IOK.js.map} +0 -0
  785. /package/dist/{databrowser.ui-IQRDVL66.js.map → databrowser.ui-O5S4Y4EK.js.map} +0 -0
  786. /package/dist/{dictionary-BPWD77LJ.js.map → dictionary-L2UNNNP7.js.map} +0 -0
  787. /package/dist/{dnaMethylation-A3XPPBBB.js.map → dnaMethylation-B4SWZI4O.js.map} +0 -0
  788. /package/dist/{dnaMethylation.integration.spec-554ITDQC.js.map → dnaMethylation.integration.spec-ANJAMNYJ.js.map} +0 -0
  789. /package/dist/{dofetch-FQ42AX7C.js.map → dofetch-F5XSHQIS.js.map} +0 -0
  790. /package/dist/{e2pca-F3GWG7WZ.js.map → e2pca-66ARIMKL.js.map} +0 -0
  791. /package/dist/{ep-QAVN472H.js.map → ep-OFGJYVUY.js.map} +0 -0
  792. /package/dist/{expclust.gdc.spec-DQNX7FTL.js.map → expclust.gdc.spec-22RXQTTP.js.map} +0 -0
  793. /package/dist/{facet-DH7OOZTJ.js.map → facet-GVZQ3RPN.js.map} +0 -0
  794. /package/dist/{gb-OCXOLAMD.js.map → gb-HEPGVYEK.js.map} +0 -0
  795. /package/dist/{geneExpClustering-DWYRZGTS.js.map → geneExpClustering-3NU2U422.js.map} +0 -0
  796. /package/dist/{geneExpression-BGFR3KQE.js.map → geneExpression-FXQ4L2J2.js.map} +0 -0
  797. /package/dist/{geneExpression-2NKSKZR6.js.map → geneExpression-XYVYJJA5.js.map} +0 -0
  798. /package/dist/{geneExpression.unit.spec-63EKKMET.js.map → geneExpression.unit.spec-K3FIRSNK.js.map} +0 -0
  799. /package/dist/{geneORA-BED6XL4D.js.map → geneORA-5M2JSDMF.js.map} +0 -0
  800. /package/dist/{geneRanking-UB5RCQNP.js.map → geneRanking-TP3R3CS3.js.map} +0 -0
  801. /package/dist/{geneVariant-Y4C2FPJK.js.map → geneVariant-232EYUFJ.js.map} +0 -0
  802. /package/dist/{geneVariant-WJEONTTY.js.map → geneVariant-BHXTPUDC.js.map} +0 -0
  803. /package/dist/{geneVariant.integration.spec-VFYLC47N.js.map → geneVariant.integration.spec-ICFHVFIR.js.map} +0 -0
  804. /package/dist/{genefusion.ui-P3NBIMLE.js.map → genefusion.ui-ABRCUQFC.js.map} +0 -0
  805. /package/dist/{geneset-O22RQAED.js.map → geneset-N42FIVA6.js.map} +0 -0
  806. /package/dist/{genomeBrowser.spec-MM7WZUGI.js.map → genomeBrowser.spec-5HKQKLRU.js.map} +0 -0
  807. /package/dist/{grin2-O637DNDS.js.map → grin2-H2KJYLP6.js.map} +0 -0
  808. /package/dist/{grin2-3YBIRKUT.js.map → grin2-NGMTEMXF.js.map} +0 -0
  809. /package/dist/{hierCluster-3X3BQVNE.js.map → hierCluster-JU5JPLM7.js.map} +0 -0
  810. /package/dist/{hierCluster-7P7M75TU.js.map → hierCluster-LSSH275H.js.map} +0 -0
  811. /package/dist/{hierCluster.config-XFUOLLDK.js.map → hierCluster.config-ILOR7GBB.js.map} +0 -0
  812. /package/dist/{hierCluster.integration.spec-HKYGSDDG.js.map → hierCluster.integration.spec-CNR5OJOH.js.map} +0 -0
  813. /package/dist/{hierCluster.interactivity-JUZSWCM7.js.map → hierCluster.interactivity-TLEIVTFK.js.map} +0 -0
  814. /package/dist/{hierCluster.renderers-NGPPAYFM.js.map → hierCluster.renderers-P7JNIT3N.js.map} +0 -0
  815. /package/dist/{imagePlot-LKGAFJO7.js.map → imagePlot-BF67SXQR.js.map} +0 -0
  816. /package/dist/{importPlot-SRWQA2FH.js.map → importPlot-OHXSXNZN.js.map} +0 -0
  817. /package/dist/{isoformExpression-RYIZQIVX.js.map → isoformExpression-4VKHE4HA.js.map} +0 -0
  818. /package/dist/{isoformExpression.unit.spec-DP4ECITF.js.map → isoformExpression.unit.spec-4TVSIFG4.js.map} +0 -0
  819. /package/dist/{junction-D7QQ3YSG.js.map → junction-VUHORV43.js.map} +0 -0
  820. /package/dist/{junction.customTerm-ZEVNCVU7.js.map → junction.customTerm-FRYWSS4P.js.map} +0 -0
  821. /package/dist/{junction.unit.spec-6MAKIB3R.js.map → junction.unit.spec-KKVLYT7Q.js.map} +0 -0
  822. /package/dist/{launch.adhoc-FAHRZFYG.js.map → launch.adhoc-UDYMFZTQ.js.map} +0 -0
  823. /package/dist/{leftlabel.sample-PDZLWLJ4.js.map → leftlabel.sample-R5FFBWG3.js.map} +0 -0
  824. /package/dist/{legacyDataset-27L4DMCL.js.map → legacyDataset-IEFWFVS6.js.map} +0 -0
  825. /package/dist/{lollipop-VWGJUHNX.js.map → lollipop-3IX6ZYUN.js.map} +0 -0
  826. /package/dist/{maf-W52H44WK.js.map → maf-42UFYSL4.js.map} +0 -0
  827. /package/dist/{maftimeline-5JV3HZLE.js.map → maftimeline-M5WYEN62.js.map} +0 -0
  828. /package/dist/{matrix-CEVGKXSK.js.map → matrix-CI76EDHU.js.map} +0 -0
  829. /package/dist/{matrix-EXNYXYLK.js.map → matrix-WJZKA6VR.js.map} +0 -0
  830. /package/dist/{matrix.cells-DVPWSLJW.js.map → matrix.cells-ZFKVIPDC.js.map} +0 -0
  831. /package/dist/{matrix.config-RLSTWDXC.js.map → matrix.config-24TFHBEM.js.map} +0 -0
  832. /package/dist/{matrix.data-Z6GUACVZ.js.map → matrix.data-NCGZPNWR.js.map} +0 -0
  833. /package/dist/{matrix.groups-3ZSTUWRK.js.map → matrix.groups-XQJTGM6M.js.map} +0 -0
  834. /package/dist/{matrix.integration.spec-4U2R3UB2.js.map → matrix.integration.spec-OGXZUDE6.js.map} +0 -0
  835. /package/dist/{matrix.interactivity-DJZFQ7DN.js.map → matrix.interactivity-ZOOTPNSW.js.map} +0 -0
  836. /package/dist/{matrix.layout-RQJ6VB4P.js.map → matrix.layout-5J2YENK3.js.map} +0 -0
  837. /package/dist/{matrix.legend-YQ36NWKW.js.map → matrix.legend-U36VCS46.js.map} +0 -0
  838. /package/dist/{matrix.renderers-MWDFI6HW.js.map → matrix.renderers-4KFE7ZVR.js.map} +0 -0
  839. /package/dist/{matrix.serieses-LTC4RLYD.js.map → matrix.serieses-AW7XBXLJ.js.map} +0 -0
  840. /package/dist/{matrix.sort-5VFYLABY.js.map → matrix.sort-7PMECLOE.js.map} +0 -0
  841. /package/dist/{matrix.sort.unit.spec-2RUEKUT4.js.map → matrix.sort.unit.spec-GIA2YOTQ.js.map} +0 -0
  842. /package/dist/{matrix.sorterUi-EEMYZLPI.js.map → matrix.sorterUi-J6PRUT6J.js.map} +0 -0
  843. /package/dist/{matrix.sorterUi.unit.spec-ZXGSPRFZ.js.map → matrix.sorterUi.unit.spec-OPGKZZL6.js.map} +0 -0
  844. /package/dist/{matrix.unit.spec-HTF6UV4L.js.map → matrix.unit.spec-7UIVVR4T.js.map} +0 -0
  845. /package/dist/{mavb-GGQRDCO6.js.map → mavb-MSYUMT6W.js.map} +0 -0
  846. /package/dist/{mds.fimo-YKV5OIYV.js.map → mds.fimo-OYEAQP37.js.map} +0 -0
  847. /package/dist/{mds.samplescatterplot-RQOEW2AW.js.map → mds.samplescatterplot-EXISSRQQ.js.map} +0 -0
  848. /package/dist/{mds.survivalplot-TN636DED.js.map → mds.survivalplot-SZST6BLN.js.map} +0 -0
  849. /package/dist/{multivalue-MDQY64EH.js.map → multivalue-YDE7L75Y.js.map} +0 -0
  850. /package/dist/{numericDictTermCluster-E73TJCLI.js.map → numericDictTermCluster-5AKP6ICC.js.map} +0 -0
  851. /package/dist/{oncomatrix-AENXQMLL.js.map → oncomatrix-2OEIYWR6.js.map} +0 -0
  852. /package/dist/{oncomatrix.spec-UD6U462U.js.map → oncomatrix.spec-CXQW4JWU.js.map} +0 -0
  853. /package/dist/{plot.2dvaf-XMRV6KEG.js.map → plot.2dvaf-LN7A3NNC.js.map} +0 -0
  854. /package/dist/{plot.app-A6JKLYQQ.js.map → plot.app-YIQOY2Z7.js.map} +0 -0
  855. /package/dist/{plot.barplot-UIX7LVWR.js.map → plot.barplot-HF2J25XP.js.map} +0 -0
  856. /package/dist/{plot.boxplot-DIFWVLMA.js.map → plot.boxplot-YJH4L27U.js.map} +0 -0
  857. /package/dist/{plot.brainImaging-ZRPVE2UK.js.map → plot.brainImaging-PS4TRSPI.js.map} +0 -0
  858. /package/dist/{plot.disco-I56MT3PC.js.map → plot.disco-BN5RNZ6Q.js.map} +0 -0
  859. /package/dist/{plot.ssgq-FCKFSZTV.js.map → plot.ssgq-N2HTOIY3.js.map} +0 -0
  860. /package/dist/{plot.vaf2cov-E5C7RJ7Z.js.map → plot.vaf2cov-6AOHRUQ2.js.map} +0 -0
  861. /package/dist/{polar2-SKVBB4FD.js.map → polar2-TC5OEJRE.js.map} +0 -0
  862. /package/dist/{profileForms-5B3MTUNP.js.map → profileForms-5WV2TSBB.js.map} +0 -0
  863. /package/dist/{profilePlot-MCYCGEWT.js.map → profilePlot-OJLLW44P.js.map} +0 -0
  864. /package/dist/{pseudbulk.unit.spec-Q4YTIPH7.js.map → pseudbulk.unit.spec-RAYRGN6C.js.map} +0 -0
  865. /package/dist/{pseudobulk-3UIWCCCQ.js.map → pseudobulk-ADHAYVSQ.js.map} +0 -0
  866. /package/dist/{qualitative-6TJRXZFV.js.map → qualitative-JXEI3IYC.js.map} +0 -0
  867. /package/dist/{radar2-6X4XW5IZ.js.map → radar2-BWTKSTT3.js.map} +0 -0
  868. /package/dist/{radarFacility2-UVPXWPV5.js.map → radarFacility2-WIRSKTDG.js.map} +0 -0
  869. /package/dist/{rememberedGvQ.unit.spec-GVRFRVSO.js.map → rememberedGvQ.unit.spec-N43O4YTF.js.map} +0 -0
  870. /package/dist/{render-G7V6R4PV.js.map → render-J7WOYBOL.js.map} +0 -0
  871. /package/dist/{report-O7D46EKQ.js.map → report-DRPCXX2B.js.map} +0 -0
  872. /package/dist/{sampleView-6Y3OOOMW.js.map → sampleView-BV6BQGGQ.js.map} +0 -0
  873. /package/dist/{samplelst-JRVC4GYC.js.map → samplelst-ZD63EYO7.js.map} +0 -0
  874. /package/dist/{samplematrix-VP5RQVRH.js.map → samplematrix-ZZ3DVELU.js.map} +0 -0
  875. /package/dist/{sc-BPHVEP6N.js.map → sc-MUI43YTB.js.map} +0 -0
  876. /package/dist/{scatter-2YYRZCSW.js.map → scatter-7B44HTKN.js.map} +0 -0
  877. /package/dist/{scatter-Y4BIG2PW.js.map → scatter-UEDVIE4Y.js.map} +0 -0
  878. /package/dist/{selectGenomeWithTklst-2BVZU5SW.js.map → selectGenomeWithTklst-WGOKGVZ5.js.map} +0 -0
  879. /package/dist/{singleCellCellType-XBGCSIQT.js.map → singleCellCellType-Z7OXK7PI.js.map} +0 -0
  880. /package/dist/{singleCellCellType.unit.spec-T4GFRLVZ.js.map → singleCellCellType.unit.spec-IIOVCCJQ.js.map} +0 -0
  881. /package/dist/{singleCellGeneExpression-5ZPWLSVW.js.map → singleCellGeneExpression-LYZAIJ2Z.js.map} +0 -0
  882. /package/dist/{singleCellGeneExpression.unit.spec-4O5UBUDU.js.map → singleCellGeneExpression.unit.spec-67AAWZTG.js.map} +0 -0
  883. /package/dist/{singleCellPlot-CZLQBGVU.js.map → singleCellPlot-TXPYQLSH.js.map} +0 -0
  884. /package/dist/{singlecell-IIUYX7OG.js.map → singlecell-22OG6HNI.js.map} +0 -0
  885. /package/dist/{singlecell-O3P5BLWT.js.map → singlecell-7TBALI2S.js.map} +0 -0
  886. /package/dist/{snp-ZCYBF3ZQ.js.map → snp-3U2G3Z57.js.map} +0 -0
  887. /package/dist/{snp.unit.spec-TAGD2DRL.js.map → snp.unit.spec-BMBBUBYD.js.map} +0 -0
  888. /package/dist/{snplocus-TL25OOPE.js.map → snplocus-SSVZDIQV.js.map} +0 -0
  889. /package/dist/{spliceevent.a53ss.diagram-I7J4PQZT.js.map → spliceevent.a53ss.diagram-FK7CN4AU.js.map} +0 -0
  890. /package/dist/{spliceevent.exonskip.diagram-SB4454HB.js.map → spliceevent.exonskip.diagram-EFLGV3O4.js.map} +0 -0
  891. /package/dist/{spliceevent.noeventdiagram-FOSDNYLH.js.map → spliceevent.noeventdiagram-2DYO7CCZ.js.map} +0 -0
  892. /package/dist/{ssGSEA-WANB2X5L.js.map → ssGSEA-52LWBQJP.js.map} +0 -0
  893. /package/dist/{ssGSEA.unit.spec-4XXWU4XV.js.map → ssGSEA.unit.spec-3JV6WHUQ.js.map} +0 -0
  894. /package/dist/{stattable-FNTJLVNB.js.map → stattable-RLMYQ4G6.js.map} +0 -0
  895. /package/dist/{summarizeCnvGeneexp-P4AFZMKD.js.map → summarizeCnvGeneexp-QPRYAKC2.js.map} +0 -0
  896. /package/dist/{summarizeGeneexpSurvival-YL2J7F4R.js.map → summarizeGeneexpSurvival-RWVQXEKB.js.map} +0 -0
  897. /package/dist/{summarizeMutationCnv-BHBHST5F.js.map → summarizeMutationCnv-DW5F6NUJ.js.map} +0 -0
  898. /package/dist/{summarizeMutationDiagnosis-Z7ZHTV27.js.map → summarizeMutationDiagnosis-5FOQ7CHI.js.map} +0 -0
  899. /package/dist/{summarizeMutationSurvival-PZ4TYHT7.js.map → summarizeMutationSurvival-4UKB4EVO.js.map} +0 -0
  900. /package/dist/{summary-ZMNPO65S.js.map → summary-TYC6QNT4.js.map} +0 -0
  901. /package/dist/{summary.integration.spec-DPJR2ZBE.js.map → summary.integration.spec-5GLJJZNM.js.map} +0 -0
  902. /package/dist/{summaryInput-6JUFJZ5P.js.map → summaryInput-4IJGKW4P.js.map} +0 -0
  903. /package/dist/{sunburst-OWAUI3HC.js.map → sunburst-G7DGATWP.js.map} +0 -0
  904. /package/dist/{survival-7EXICNK7.js.map → survival-IHM6A7LL.js.map} +0 -0
  905. /package/dist/{survival-6JPKG3VA.js.map → survival-MKNABJPU.js.map} +0 -0
  906. /package/dist/{svgraph-34IKFHUS.js.map → svgraph-VB7JWWR5.js.map} +0 -0
  907. /package/dist/{svmr-4XNPSVVQ.js.map → svmr-VLQIO2U5.js.map} +0 -0
  908. /package/dist/{table-LPZATFLC.js.map → table-EAXMDWOY.js.map} +0 -0
  909. /package/dist/{termCollection-DYY5FXU5.js.map → termCollection-5LG7ICQY.js.map} +0 -0
  910. /package/dist/{termCollection-WOAUFFIC.js.map → termCollection-SB6MWLFK.js.map} +0 -0
  911. /package/dist/{termCollection.unit.spec-WTICTZ7H.js.map → termCollection.unit.spec-H5ITGTR3.js.map} +0 -0
  912. /package/dist/{termCollectionFractionSelection-K5HPDEFP.js.map → termCollectionFractionSelection-2XZSTDCQ.js.map} +0 -0
  913. /package/dist/{termCollectionFractionSelection.unit.spec-D7DG2HOI.js.map → termCollectionFractionSelection.unit.spec-BIO7V6KA.js.map} +0 -0
  914. /package/dist/{tk-DD2LWVGM.js.map → tk-TRWYZLQ2.js.map} +0 -0
  915. /package/dist/{tk-NV7NBLT6.js.map → tk-VZI5HNSX.js.map} +0 -0
  916. /package/dist/{tp.ui-B5J3UUVB.js.map → tp.ui-J5SNNAT3.js.map} +0 -0
  917. /package/dist/{tvs.dt-XLKQT64T.js.map → tvs.dt-6YHFJPER.js.map} +0 -0
  918. /package/dist/{tvs.dtcnv.categorical-XIC3RH2D.js.map → tvs.dtcnv.categorical-WTIE63GM.js.map} +0 -0
  919. /package/dist/{tvs.dtcnv.continuous-OA2K4LHF.js.map → tvs.dtcnv.continuous-OCMKGTF5.js.map} +0 -0
  920. /package/dist/{tvs.dtfusion-ZGNKALZB.js.map → tvs.dtfusion-CA23UNM3.js.map} +0 -0
  921. /package/dist/{tvs.dtitd-6QSG4E34.js.map → tvs.dtitd-VSYMR3OD.js.map} +0 -0
  922. /package/dist/{tvs.dtsnvindel-5CXXOGPH.js.map → tvs.dtsnvindel-YBNO3CYF.js.map} +0 -0
  923. /package/dist/{tvs.dtsv-QYYEYUD3.js.map → tvs.dtsv-S743GBB5.js.map} +0 -0
  924. /package/dist/{tvs.numeric-3UXW4JHJ.js.map → tvs.numeric-22AHXO5K.js.map} +0 -0
  925. /package/dist/{tvs.samplelst-X77ODFFR.js.map → tvs.samplelst-XAJO4EM6.js.map} +0 -0
  926. /package/dist/{tvs.termCollection-VXROWAPS.js.map → tvs.termCollection-QOVJGAUC.js.map} +0 -0
  927. /package/dist/{vocabulary-DKWYTZRC.js.map → vocabulary-6EADTHP3.js.map} +0 -0
  928. /package/dist/{wsi.direct-C3HQEC2V.js.map → wsi.direct-2WB2NGC5.js.map} +0 -0
@@ -0,0 +1,2358 @@
1
+ import {
2
+ spliceevent_phrase_default
3
+ } from "./chunk-QGGSYEVJ.js";
4
+ import {
5
+ spliceevent_exonskip_getdefault_default
6
+ } from "./chunk-4DXQJGJ7.js";
7
+ import {
8
+ legend_newrow
9
+ } from "./chunk-SDVE5ECI.js";
10
+ import "./chunk-V2OJLJSK.js";
11
+ import "./chunk-X63NSV33.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-Q5SK3U2T.js";
23
+ import "./chunk-HJ6L54YS.js";
24
+ import "./chunk-KV4W2ACA.js";
25
+ import "./chunk-54KC7DAB.js";
26
+ import "./chunk-N7DVQTPC.js";
27
+ import {
28
+ Menu
29
+ } from "./chunk-ELJX3QIQ.js";
30
+ import "./chunk-EEB5VE2A.js";
31
+ import "./chunk-6RRZRISL.js";
32
+ import "./chunk-2KM4PRQM.js";
33
+ import {
34
+ dofetch2,
35
+ dofetch3
36
+ } from "./chunk-RPDVFM7E.js";
37
+ import "./chunk-M4XXKTH2.js";
38
+ import "./chunk-5ILEFNXJ.js";
39
+ import {
40
+ IN_frame,
41
+ OUT_frame,
42
+ bplen,
43
+ defaultcolor,
44
+ spliceeventchangegmexon
45
+ } from "./chunk-IZUYLFOX.js";
46
+ import "./chunk-WINIL2KN.js";
47
+ import "./chunk-PF4DSFDR.js";
48
+ import "./chunk-7X6NF7NI.js";
49
+ import "./chunk-W5J3LTYS.js";
50
+ import {
51
+ axisRight,
52
+ category10_default
53
+ } from "./chunk-Z2ZITHT4.js";
54
+ import {
55
+ linear,
56
+ log,
57
+ ordinal
58
+ } from "./chunk-4OLM3KSB.js";
59
+ import "./chunk-FXQXCOII.js";
60
+ import "./chunk-TLT4YIG3.js";
61
+ import "./chunk-5R63Q5KH.js";
62
+ import {
63
+ select_default
64
+ } from "./chunk-I6Y4O3RR.js";
65
+ import "./chunk-Q5RDQNIT.js";
66
+ import "./chunk-DQC5FFGV.js";
67
+ import {
68
+ __commonJS,
69
+ __toESM
70
+ } from "./chunk-HS5PO5ZQ.js";
71
+
72
+ // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
73
+ var require_d3_beeswarm = __commonJS({
74
+ "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
75
+ (function(global, factory) {
76
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
77
+ })(exports, function(exports2) {
78
+ "use strict";
79
+ function beeswarm2() {
80
+ var data = [];
81
+ var radius = 4;
82
+ var orientation = "horizontal";
83
+ var side = "symetric";
84
+ var distributeOn = (
85
+ // accessor to the x value
86
+ function(datum) {
87
+ return datum.x;
88
+ }
89
+ );
90
+ var minDistanceBetweenCircles;
91
+ var minSquareDistanceBetweenCircles;
92
+ var xBasedDataManager;
93
+ var xBasedColliderManager;
94
+ var yBasedColliderManager;
95
+ var arrangement;
96
+ var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
97
+ function _beeswarm() {
98
+ }
99
+ _beeswarm.data = function(_) {
100
+ if (!arguments.length) {
101
+ return data;
102
+ }
103
+ data = _;
104
+ return _beeswarm;
105
+ };
106
+ _beeswarm.radius = function(_) {
107
+ if (!arguments.length) {
108
+ return radius;
109
+ }
110
+ radius = _;
111
+ return _beeswarm;
112
+ };
113
+ _beeswarm.orientation = function(_) {
114
+ if (!arguments.length) {
115
+ return orientation;
116
+ }
117
+ if (_ === "horizontal" || _ === "vertical") {
118
+ orientation = _;
119
+ }
120
+ return _beeswarm;
121
+ };
122
+ _beeswarm.side = function(_) {
123
+ if (!arguments.length) {
124
+ return side;
125
+ }
126
+ if (_ === "symetric" || _ === "positive" || _ === "negative") {
127
+ side = _;
128
+ }
129
+ return _beeswarm;
130
+ };
131
+ _beeswarm.distributeOn = function(_) {
132
+ if (!arguments.length) {
133
+ return distributeOn;
134
+ }
135
+ distributeOn = _;
136
+ return _beeswarm;
137
+ };
138
+ _beeswarm.arrange = function() {
139
+ initArrangement();
140
+ arrangement.forEach(function(d) {
141
+ var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
142
+ if (xBasedPossibleColliders.length === 0) {
143
+ bestYPosition = 0;
144
+ } else {
145
+ yBasedColliderManager.clear();
146
+ yBasedColliderManager.addMany(xBasedPossibleColliders);
147
+ d.free = 0;
148
+ if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
149
+ bestYPosition = 0;
150
+ totalVisitedColliders += visitedColliderCount;
151
+ if (visitedColliderCount > maxVisitedColliders) {
152
+ maxVisitedColliders = visitedColliderCount;
153
+ }
154
+ visitedColliderCount = 0;
155
+ totalTestedPlacements += 1;
156
+ } else {
157
+ xBasedPossibleColliders.forEach(function(xbpc) {
158
+ relativeYPos = yPosRelativeToXbpc(xbpc, d);
159
+ placeBelow(d, xbpc, relativeYPos);
160
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
161
+ bestYPosition = d.free;
162
+ }
163
+ totalVisitedColliders += visitedColliderCount;
164
+ if (visitedColliderCount > maxVisitedColliders) {
165
+ maxVisitedColliders = visitedColliderCount;
166
+ }
167
+ visitedColliderCount = 0;
168
+ totalTestedPlacements += 1;
169
+ placeAbove(d, xbpc, relativeYPos);
170
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
171
+ bestYPosition = d.free;
172
+ }
173
+ totalVisitedColliders += visitedColliderCount;
174
+ if (visitedColliderCount > maxVisitedColliders) {
175
+ maxVisitedColliders = visitedColliderCount;
176
+ }
177
+ visitedColliderCount = 0;
178
+ totalTestedPlacements += 1;
179
+ });
180
+ }
181
+ }
182
+ ;
183
+ d.free = bestYPosition;
184
+ if (orientation === "horizontal") {
185
+ d.x = d.fixed;
186
+ d.y = bestYPosition;
187
+ } else {
188
+ d.x = bestYPosition;
189
+ d.y = d.fixed;
190
+ }
191
+ xBasedColliderManager.add(d);
192
+ });
193
+ return arrangement;
194
+ };
195
+ _beeswarm.metrics = function() {
196
+ return {
197
+ totalPossibleColliders,
198
+ maxPossibleColliders,
199
+ totalTestedPlacements,
200
+ visitedColliderCount,
201
+ totalVisitedColliders,
202
+ maxVisitedColliders
203
+ };
204
+ };
205
+ function initArrangement() {
206
+ arrangement = data.map(function(d, i) {
207
+ return {
208
+ datum: d,
209
+ id: i,
210
+ fixed: distributeOn(d),
211
+ free: -Infinity
212
+ };
213
+ });
214
+ minDistanceBetweenCircles = 2 * radius;
215
+ minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
216
+ xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
217
+ return d.fixed;
218
+ }).addMany(arrangement);
219
+ xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
220
+ return d.fixed;
221
+ });
222
+ yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
223
+ return d.free;
224
+ });
225
+ totalPossibleColliders = maxPossibleColliders = 0;
226
+ totalTestedPlacements = 0;
227
+ visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
228
+ }
229
+ function findNearestPossibleCollider(dln, visitedDln, direction) {
230
+ if (visitedDln === null) {
231
+ return null;
232
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
233
+ return null;
234
+ } else {
235
+ if (isFinite(visitedDln.datum.free)) {
236
+ return visitedDln.datum;
237
+ }
238
+ return findNearestPossibleCollider(dln, visitedDln[direction], direction);
239
+ }
240
+ }
241
+ function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
242
+ if (visitedDln === null) {
243
+ return;
244
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
245
+ return;
246
+ } else {
247
+ xBasedPossibleColliders.push(visitedDln.datum);
248
+ visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
249
+ }
250
+ }
251
+ function gatherXBasedPossibleColliders(datum) {
252
+ var xBasedPossibleColliders = [];
253
+ var dln = xBasedDataManager.dln(datum);
254
+ var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
255
+ var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
256
+ if (nearestXPrevAlreadyArrangedData != null) {
257
+ dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
258
+ visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
259
+ }
260
+ if (nearestXNextAlreadyArrangedData != null) {
261
+ dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
262
+ visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
263
+ }
264
+ totalPossibleColliders += xBasedPossibleColliders.length;
265
+ if (xBasedPossibleColliders.length > maxPossibleColliders) {
266
+ maxPossibleColliders = xBasedPossibleColliders.length;
267
+ }
268
+ return xBasedPossibleColliders;
269
+ }
270
+ function isAuthorizedPlacement(datum) {
271
+ if (side === "symetric") {
272
+ return true;
273
+ } else if (side === "positive") {
274
+ return datum.free >= 0;
275
+ } else {
276
+ return datum.free <= 0;
277
+ }
278
+ }
279
+ function isBetterPlacement(datum, bestYPosition) {
280
+ return Math.abs(datum.free) < Math.abs(bestYPosition);
281
+ }
282
+ function yPosRelativeToXbpc(xbpc, d) {
283
+ return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
284
+ }
285
+ function placeBelow(d, aad, relativeYPos) {
286
+ d.free = aad.free - relativeYPos;
287
+ }
288
+ function placeAbove(d, aad, relativeYPos) {
289
+ d.free = aad.free + relativeYPos;
290
+ }
291
+ function areCirclesColliding(d0, d1) {
292
+ visitedColliderCount++;
293
+ return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
294
+ }
295
+ function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
296
+ if (visitedDln === null) {
297
+ return false;
298
+ } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
299
+ return false;
300
+ } else if (areCirclesColliding(datum, visitedDln.datum)) {
301
+ return true;
302
+ } else {
303
+ return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
304
+ }
305
+ }
306
+ function collidesWithOther(datum, visitedDln) {
307
+ var visitCount = 0;
308
+ if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
309
+ return true;
310
+ } else {
311
+ return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
312
+ }
313
+ }
314
+ function SortedDirectAccessDoublyLinkedList() {
315
+ this._valueAccesor = // accessor to the value to sort on
316
+ function(obj) {
317
+ return obj.value;
318
+ };
319
+ this._min = null;
320
+ this._max = null;
321
+ this._closestTo0 = null;
322
+ this.size = 0;
323
+ this._idToNode = {};
324
+ }
325
+ SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
326
+ if (!arguments.length) {
327
+ return this._valueAccesor;
328
+ }
329
+ this._valueAccesor = _;
330
+ return this;
331
+ };
332
+ SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
333
+ return this._closestTo0;
334
+ };
335
+ SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
336
+ this._min = null;
337
+ this._max = null;
338
+ this._closestTo0 = null;
339
+ this.size = 0;
340
+ this._idToNode = {};
341
+ return this;
342
+ };
343
+ SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
344
+ return this._idToNode[datum.id];
345
+ };
346
+ SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
347
+ data2.forEach(function(datum, item) {
348
+ this.add(datum);
349
+ }, this);
350
+ return this;
351
+ };
352
+ SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
353
+ var dln = {
354
+ datum,
355
+ // original datum
356
+ value: this._valueAccesor(datum),
357
+ prev: null,
358
+ // previous value-based node
359
+ next: null
360
+ // next value-based node
361
+ };
362
+ if (this.size === 0) {
363
+ this._min = this._max = this._closestTo0 = dln;
364
+ } else {
365
+ if (dln.value <= this._min.value) {
366
+ dln.next = this._min;
367
+ dln.next.prev = dln;
368
+ this._min = dln;
369
+ } else if (dln.value >= this._max.value) {
370
+ dln.prev = this._max;
371
+ dln.prev.next = dln;
372
+ this._max = dln;
373
+ } else {
374
+ var current = this._max;
375
+ while (current.value > dln.value) {
376
+ current = current.prev;
377
+ }
378
+ dln.prev = current;
379
+ dln.next = current.next;
380
+ dln.next.prev = dln;
381
+ dln.prev.next = dln;
382
+ }
383
+ if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
384
+ this._closestTo0 = dln;
385
+ }
386
+ }
387
+ this._idToNode[dln.datum.id] = dln;
388
+ this.size++;
389
+ return this;
390
+ };
391
+ SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
392
+ var dln = this.dln(datum);
393
+ if (this.size === 1) {
394
+ this._min = this._max = this._closestTo0 = null;
395
+ } else {
396
+ if (dln === this._closestTo0) {
397
+ if (this._closestTo0.next === null) {
398
+ this._closestTo0 = dln.prev;
399
+ } else if (this.closestToZero.prev === null) {
400
+ this._closestTo0 = dln.prev;
401
+ } else {
402
+ var prevAbsValue = Math.abs(this._closestTo0.prev.value);
403
+ var nextAbsValue = Math.abs(this._closestTo0.next.value);
404
+ if (prevAbsValue < nextAbsValue) {
405
+ this._closestTo0 = this._closestTo0.prev;
406
+ } else {
407
+ this._closestTo0 = this._closestTo0.next;
408
+ }
409
+ }
410
+ }
411
+ if (dln === this._min) {
412
+ this._min = this._min.next;
413
+ this._min.prev = null;
414
+ } else if (dln === this._max) {
415
+ this._max = this._max.prev;
416
+ this._max.next = null;
417
+ } else {
418
+ dln.next.prev = dln.prev;
419
+ dln.prev.next = dln.next;
420
+ }
421
+ }
422
+ dln = null;
423
+ delete this._idToNode[datum.id];
424
+ this.size--;
425
+ return this;
426
+ };
427
+ return _beeswarm;
428
+ }
429
+ ;
430
+ exports2.beeswarm = beeswarm2;
431
+ Object.defineProperty(exports2, "__esModule", { value: true });
432
+ });
433
+ }
434
+ });
435
+
436
+ // src/spliceevent.prep.js
437
+ function mapjunctiontoexons(junctions, genes) {
438
+ for (const j of junctions) {
439
+ j.exonleft = [];
440
+ j.exonright = [];
441
+ j.exonleftin = [];
442
+ j.exonrightin = [];
443
+ j.intronleft = [];
444
+ j.intronright = [];
445
+ j.leftout = [];
446
+ j.rightout = [];
447
+ j.matchisoform = [];
448
+ }
449
+ const usegenes = [];
450
+ for (const gene of genes) {
451
+ let use = false;
452
+ for (const j of junctions) {
453
+ if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
454
+ use = true;
455
+ break;
456
+ }
457
+ }
458
+ if (use) {
459
+ usegenes.push(gene);
460
+ }
461
+ }
462
+ if (usegenes.length == 0) {
463
+ return;
464
+ }
465
+ const leftpos = /* @__PURE__ */ new Map();
466
+ const rightpos = /* @__PURE__ */ new Map();
467
+ for (const j of junctions) {
468
+ if (!leftpos.has(j.start)) {
469
+ leftpos.set(j.start, []);
470
+ }
471
+ leftpos.get(j.start).push(j);
472
+ if (!rightpos.has(j.stop)) {
473
+ rightpos.set(j.stop, []);
474
+ }
475
+ rightpos.get(j.stop).push(j);
476
+ }
477
+ for (const [pos, jlst] of leftpos) {
478
+ for (const gm of usegenes) {
479
+ if (!gm.exon) continue;
480
+ for (let i = 0; i < gm.exon.length; i++) {
481
+ if (gm.exon[i][1] - 1 == pos) {
482
+ for (const j of jlst) {
483
+ j.exonleft.push({
484
+ gm,
485
+ exonidx: i
486
+ });
487
+ }
488
+ }
489
+ if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
490
+ for (const j of jlst) {
491
+ j.exonleftin.push({
492
+ gm,
493
+ exonidx: i
494
+ });
495
+ }
496
+ }
497
+ }
498
+ if (gm.intron) {
499
+ for (let i = 0; i < gm.intron.length; i++) {
500
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
501
+ for (const j of jlst) {
502
+ j.intronleft.push({
503
+ gm,
504
+ intronidx: i
505
+ });
506
+ }
507
+ }
508
+ }
509
+ }
510
+ }
511
+ }
512
+ for (const [pos, jlst] of rightpos) {
513
+ for (const gm of usegenes) {
514
+ if (!gm.exon) continue;
515
+ for (let i = 0; i < gm.exon.length; i++) {
516
+ if (gm.exon[i][0] == pos) {
517
+ for (const j of jlst) {
518
+ j.exonright.push({
519
+ gm,
520
+ exonidx: i
521
+ });
522
+ }
523
+ }
524
+ if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
525
+ for (const j of jlst) {
526
+ j.exonrightin.push({
527
+ gm,
528
+ exonidx: i
529
+ });
530
+ }
531
+ }
532
+ }
533
+ if (gm.intron) {
534
+ for (let i = 0; i < gm.intron.length; i++) {
535
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
536
+ for (const j of jlst) {
537
+ j.intronright.push({
538
+ gm,
539
+ intronidx: i
540
+ });
541
+ }
542
+ }
543
+ }
544
+ }
545
+ }
546
+ }
547
+ for (const j of junctions) {
548
+ {
549
+ const isoforms = /* @__PURE__ */ new Set();
550
+ for (const q of j.exonleft) isoforms.add(q.gm.isoform);
551
+ for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
552
+ for (const q of j.intronleft) isoforms.add(q.gm.isoform);
553
+ if (isoforms.size) {
554
+ for (const gm of usegenes) {
555
+ if (!isoforms.has(gm.isoform)) continue;
556
+ if (gm.stop <= j.stop) {
557
+ j.rightout.push({
558
+ gm
559
+ });
560
+ }
561
+ }
562
+ }
563
+ }
564
+ {
565
+ const isoforms = /* @__PURE__ */ new Set();
566
+ for (const q of j.exonright) isoforms.add(q.gm.isoform);
567
+ for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
568
+ for (const q of j.intronright) isoforms.add(q.gm.isoform);
569
+ if (isoforms.size) {
570
+ for (const gm of usegenes) {
571
+ if (!isoforms.has(gm.isoform)) continue;
572
+ if (gm.start > j.start) {
573
+ j.leftout.push({
574
+ gm
575
+ });
576
+ }
577
+ }
578
+ }
579
+ }
580
+ }
581
+ for (const j of junctions) {
582
+ if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
583
+ for (const el of j.exonleft) {
584
+ for (const er of j.exonright) {
585
+ if (el.gm.isoform == er.gm.isoform) {
586
+ j.matchisoform.push({
587
+ gm: el.gm,
588
+ leftexonidx: el.exonidx,
589
+ rightexonidx: er.exonidx
590
+ });
591
+ }
592
+ }
593
+ }
594
+ }
595
+ }
596
+
597
+ // src/spliceevent.exonskip.js
598
+ var exonskipcolor = "#99004d";
599
+ var exonaltcolor = "#004d99";
600
+ function findexonskipping(multisample, junctions, gmdata) {
601
+ const allevents = [];
602
+ for (const j0 of junctions) {
603
+ if (!j0.matchisoform || j0.matchisoform.length == 0) {
604
+ continue;
605
+ }
606
+ for (const j0isoform of j0.matchisoform) {
607
+ const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
608
+ const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
609
+ if (j0exonend - j0exonbegin <= 1) {
610
+ continue;
611
+ }
612
+ const jB = j0;
613
+ const thisevent = {
614
+ skippedexon: [],
615
+ junctionB: jB,
616
+ junctionAlst: []
617
+ };
618
+ for (let i = j0exonbegin + 1; i < j0exonend; i++) {
619
+ thisevent.skippedexon.push(i);
620
+ }
621
+ let gmB = null;
622
+ for (const gm of gmdata) {
623
+ if (!gm.intron) continue;
624
+ for (const i of gm.intron) {
625
+ if (i[0] - 1 == jB.start && i[1] == jB.stop) {
626
+ gmB = gm;
627
+ break;
628
+ }
629
+ }
630
+ if (gmB) {
631
+ break;
632
+ }
633
+ }
634
+ if (gmB) {
635
+ thisevent.isaltexon = true;
636
+ thisevent.color = exonaltcolor;
637
+ thisevent.gmA = j0isoform.gm;
638
+ thisevent.gmB = gmB;
639
+ } else {
640
+ thisevent.isskipexon = true;
641
+ thisevent.color = exonskipcolor;
642
+ thisevent.gm = j0isoform.gm;
643
+ const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
644
+ if (utr3) thisevent.utr3 = true;
645
+ if (utr5) thisevent.utr5 = true;
646
+ if (coding) thisevent.coding = true;
647
+ }
648
+ {
649
+ const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
650
+ for (const ja of jAlst) {
651
+ thisevent.junctionAlst.push(ja);
652
+ }
653
+ }
654
+ if (thisevent.isskipexon) {
655
+ findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
656
+ }
657
+ if (multisample) {
658
+ if (!jB.data) {
659
+ console.error("exonskip: jB.data missing when it is multi-sample");
660
+ continue;
661
+ }
662
+ if (jB.data.length == 0) {
663
+ console.error("exonskip: jB.data.length==0");
664
+ continue;
665
+ }
666
+ let percentagesamplesum = 0;
667
+ for (const sampleBdata of jB.data) {
668
+ const bcount = sampleBdata.v;
669
+ let acountsum = 0;
670
+ for (const junctionA of thisevent.junctionAlst) {
671
+ if (!junctionA) {
672
+ continue;
673
+ }
674
+ if (!junctionA.data) {
675
+ console.log("exonskip: jA.data missing when multi-sample");
676
+ continue;
677
+ }
678
+ for (const sampleAdata of junctionA.data) {
679
+ if (sampleAdata.tkid == sampleBdata.tkid) {
680
+ acountsum += sampleAdata.v;
681
+ break;
682
+ }
683
+ }
684
+ }
685
+ percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
686
+ }
687
+ thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
688
+ } else {
689
+ let asum = 0;
690
+ for (const _j of thisevent.junctionAlst) {
691
+ asum += _j ? _j.data[0].v : 0;
692
+ }
693
+ thisevent.percentage = Math.ceil(
694
+ 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
695
+ );
696
+ }
697
+ allevents.push(thisevent);
698
+ }
699
+ }
700
+ const exoncoords = /* @__PURE__ */ new Map();
701
+ for (const evt of allevents) {
702
+ const positionlst = [];
703
+ for (const eid of evt.skippedexon) {
704
+ let thisexon;
705
+ if (evt.isskipexon) {
706
+ thisexon = evt.gm.exon[eid];
707
+ } else {
708
+ thisexon = evt.gmA.exon[eid];
709
+ }
710
+ positionlst.push(thisexon[0]);
711
+ positionlst.push(thisexon[1]);
712
+ }
713
+ if (positionlst.length == 0) {
714
+ console.error("not possible: no skipped exon position for exon-skip");
715
+ console.log(evt);
716
+ continue;
717
+ }
718
+ positionlst.sort();
719
+ const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
720
+ if (!exoncoords.has(posstr)) {
721
+ exoncoords.set(posstr, []);
722
+ }
723
+ exoncoords.get(posstr).push(evt);
724
+ }
725
+ const eventsetlst = [];
726
+ for (const eventlst of exoncoords.values()) {
727
+ const thisset = {
728
+ eventlst,
729
+ exonlst: []
730
+ // each exon: {start:, stop:}
731
+ };
732
+ eventsetlst.push(thisset);
733
+ const firstevent = eventlst[0];
734
+ for (const eid of firstevent.skippedexon) {
735
+ const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
736
+ const thisexon = gm.exon[eid];
737
+ thisset.exonlst.push({
738
+ chr: gm.chr,
739
+ start: thisexon[0],
740
+ stop: thisexon[1]
741
+ });
742
+ }
743
+ let eventcount_skip = 0, eventcount_alt = 0;
744
+ for (const evt of eventlst) {
745
+ if (evt.isskipexon) {
746
+ eventcount_skip++;
747
+ } else {
748
+ eventcount_alt++;
749
+ }
750
+ }
751
+ thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
752
+ const exonnumberset = /* @__PURE__ */ new Set();
753
+ for (const evt of eventlst) {
754
+ const thisexonnumbers = [];
755
+ for (const eid of evt.skippedexon) {
756
+ thisexonnumbers.push(eid + 1);
757
+ }
758
+ exonnumberset.add(thisexonnumbers.join(","));
759
+ }
760
+ if (exonnumberset.size == 1) {
761
+ thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
762
+ } else {
763
+ thisset.toplabelsays = "exon ";
764
+ }
765
+ thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
766
+ if (multisample) {
767
+ let samplecount = 0;
768
+ for (const evt of eventlst) {
769
+ samplecount = Math.max(samplecount, evt.junctionB.data.length);
770
+ }
771
+ thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
772
+ }
773
+ thisset.bottomlabelsays = firstevent.percentage + "%";
774
+ }
775
+ return eventsetlst;
776
+ }
777
+ function findjunctionbystartstop(lst, p1, p2) {
778
+ const start = Math.min(p1, p2);
779
+ const stop = Math.max(p1, p2);
780
+ for (const j of lst) {
781
+ if (j.start == start && j.stop == stop) return j;
782
+ }
783
+ return null;
784
+ }
785
+ function findjunctionAlst(junctions, gm, exonbegin, exonend) {
786
+ const lst = [];
787
+ const exonstart = Math.min(exonbegin, exonend);
788
+ const exonstop = Math.max(exonbegin, exonend);
789
+ if (gm.strand == "+") {
790
+ for (let i = exonstart; i < exonstop; i++) {
791
+ const p1 = gm.exon[i][1] - 1;
792
+ const p2 = gm.exon[i + 1][0];
793
+ lst.push(findjunctionbystartstop(junctions, p1, p2));
794
+ }
795
+ } else {
796
+ for (let i = exonstop; i > exonstart; i--) {
797
+ const p1 = gm.exon[i][1] - 1;
798
+ const p2 = gm.exon[i - 1][0];
799
+ lst.unshift(findjunctionbystartstop(junctions, p1, p2));
800
+ }
801
+ }
802
+ return lst;
803
+ }
804
+ function findupdown1junction4exonskip(evt, gm, junctions) {
805
+ let exonidx = evt.skippedexon[0];
806
+ if (exonidx > 1) {
807
+ let p1, p2;
808
+ if (gm.strand == "+") {
809
+ p1 = gm.exon[exonidx - 2][1] - 1;
810
+ p2 = gm.exon[exonidx - 1][0];
811
+ } else {
812
+ p1 = gm.exon[exonidx - 1][1] - 1;
813
+ p2 = gm.exon[exonidx - 2][0];
814
+ }
815
+ evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
816
+ }
817
+ exonidx = evt.skippedexon[evt.skippedexon.length - 1];
818
+ if (exonidx < gm.exon.length - 2) {
819
+ let p1, p2;
820
+ if (gm.strand == "+") {
821
+ p1 = gm.exon[exonidx + 1][1] - 1;
822
+ p2 = gm.exon[exonidx + 2][0];
823
+ } else {
824
+ p1 = gm.exon[exonidx + 2][1] - 1;
825
+ p2 = gm.exon[exonidx + 1][0];
826
+ }
827
+ evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
828
+ }
829
+ }
830
+ function checkexoncodingutr(exonidlst, gm) {
831
+ if (!gm.coding) {
832
+ return [false, false, false];
833
+ }
834
+ let exonstart = gm.exon[exonidlst[0]][0];
835
+ let exonstop = gm.exon[exonidlst[0]][1];
836
+ for (const idx of exonidlst) {
837
+ exonstart = Math.min(gm.exon[idx][0], exonstart);
838
+ exonstop = Math.max(gm.exon[idx][1], exonstop);
839
+ }
840
+ const forward = gm.strand == "+";
841
+ let utr3 = false, utr5 = false, coding = false;
842
+ if (exonstop <= gm.codingstart) {
843
+ if (forward) {
844
+ utr5 = true;
845
+ } else {
846
+ utr3 = true;
847
+ }
848
+ } else if (exonstart >= gm.codingstop) {
849
+ if (forward) {
850
+ utr3 = true;
851
+ } else {
852
+ utr5 = true;
853
+ }
854
+ } else {
855
+ coding = true;
856
+ }
857
+ return [utr3, utr5, coding];
858
+ }
859
+
860
+ // src/block.tk.junction.spliceevent.js
861
+ function spliceeventanalyze(tk, block) {
862
+ if (tk.eventsg) {
863
+ tk.eventsg.selectAll("*").remove();
864
+ }
865
+ if (tk.type != tkt.junction) {
866
+ return;
867
+ }
868
+ if (!tk.data) {
869
+ return;
870
+ }
871
+ if (tk.data.length == 0) {
872
+ return;
873
+ }
874
+ const [gmdataerr, gmdata] = getgmdata(block);
875
+ if (gmdataerr) {
876
+ const fontsize = 12;
877
+ const pad = 2;
878
+ tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
879
+ tk.eventsg.append("text").text(gmdataerr).attr("font-family", font).attr("font-size", fontsize).attr("fill", "#858585").attr("text-anchor", "middle").attr("x", block.width / 2).attr("y", pad + fontsize / 2).attr("dominant-baseline", "central");
880
+ tk.height_main += pad * 2 + fontsize;
881
+ block.block_setheight();
882
+ return;
883
+ }
884
+ if (!gmdata) {
885
+ return;
886
+ }
887
+ for (const junction of tk.data) {
888
+ delete junction.spliceevents;
889
+ }
890
+ mapjunctiontoexons(tk.data, gmdata);
891
+ const allevents = [];
892
+ const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
893
+ if (exonskipalt.length > 0) {
894
+ for (const exonset of exonskipalt) {
895
+ if (exonlstoutofrange(exonset.exonlst, block)) {
896
+ continue;
897
+ }
898
+ allevents.push(exonset);
899
+ for (const thisevt of exonset.eventlst) {
900
+ if (!thisevt.junctionB.spliceevents) {
901
+ thisevt.junctionB.spliceevents = [];
902
+ }
903
+ thisevt.junctionB.spliceevents.push(thisevt);
904
+ }
905
+ }
906
+ }
907
+ if (allevents.length) {
908
+ rendereventsintrack(allevents, tk, block);
909
+ }
910
+ }
911
+ function rendereventsintrack(allevents, tk, block) {
912
+ const labelfontsize = 10;
913
+ const stackspace = 1;
914
+ const boxlabelspacing = 2;
915
+ let stackheight;
916
+ if (tk.totalsamplecount > 1) {
917
+ stackheight = labelfontsize * 3 + stackspace * 2;
918
+ } else {
919
+ stackheight = labelfontsize * 2 + stackspace;
920
+ }
921
+ for (const eventset of allevents) {
922
+ eventset.g = tk.eventsg.append("g");
923
+ const junctionB = eventset.eventlst[0].junctionB;
924
+ const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
925
+ eventset.toplabel = eventset.g.append("text").text(eventset.toplabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize / 2).attr("dominant-baseline", "central");
926
+ if (tk.totalsamplecount > 1) {
927
+ eventset.middlelabel = eventset.g.append("text").text(eventset.middlelabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize * 1.5).attr("dominant-baseline", "central");
928
+ }
929
+ let willshowframe = false;
930
+ let thiseventframe = null;
931
+ for (const evt of eventset.eventlst) {
932
+ if (evt.isaltexon) {
933
+ evt.framenocheck = true;
934
+ continue;
935
+ }
936
+ if (evt.isskipexon) {
937
+ if (!evt.gm.coding) {
938
+ evt.framenocheck = true;
939
+ continue;
940
+ }
941
+ if (evt.utr3 || evt.utr5) {
942
+ evt.framenocheck = true;
943
+ continue;
944
+ }
945
+ }
946
+ willshowframe = true;
947
+ if (block.genome.junctionframecache.has(jbstr)) {
948
+ let isoform;
949
+ if (evt.isskipexon) {
950
+ isoform = evt.gm.isoform;
951
+ }
952
+ const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
953
+ if (thisframe == void 0) {
954
+ } else {
955
+ evt.frame = thisframe;
956
+ if (thiseventframe == null) {
957
+ thiseventframe = thisframe;
958
+ } else {
959
+ if (thisframe == IN_frame) {
960
+ thiseventframe = IN_frame;
961
+ }
962
+ }
963
+ }
964
+ } else {
965
+ }
966
+ }
967
+ eventset.bottomlabel = eventset.g.append("text").text(
968
+ eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
969
+ ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
970
+ if (willshowframe && thiseventframe == null) {
971
+ for (const evt of eventset.eventlst) {
972
+ let gm;
973
+ if (evt.isaltexon) {
974
+ gm = evt.gmB;
975
+ } else if (evt.isskipexon) {
976
+ gm = evt.gm;
977
+ }
978
+ if (!block.genome.junctionframecache.has(jbstr)) {
979
+ checkjunctionframe({
980
+ jbstr,
981
+ evt,
982
+ gm,
983
+ block,
984
+ eventset
985
+ });
986
+ continue;
987
+ }
988
+ if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
989
+ checkjunctionframe({
990
+ jbstr,
991
+ evt,
992
+ gm,
993
+ block,
994
+ eventset
995
+ });
996
+ }
997
+ }
998
+ }
999
+ const exonobjlst = [];
1000
+ let boxstart = null, boxstop;
1001
+ for (const exon of eventset.exonlst) {
1002
+ const pointa = block.seekcoord(exon.chr, exon.start)[0];
1003
+ if (!pointa) {
1004
+ console.log("skipped exon start position not mapped: " + exon.start);
1005
+ return;
1006
+ }
1007
+ const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1008
+ if (!pointb) {
1009
+ console.log("skipped exon stop position not mapped: " + exon.stop);
1010
+ return;
1011
+ }
1012
+ const exonobj = {
1013
+ x: Math.min(pointa.x, pointb.x),
1014
+ w: Math.max(1, Math.abs(pointa.x - pointb.x))
1015
+ };
1016
+ exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1017
+ console.log(eventset);
1018
+ });
1019
+ if (boxstart == null) {
1020
+ boxstart = exonobj.x;
1021
+ boxstop = exonobj.x + exonobj.w;
1022
+ } else {
1023
+ boxstart = Math.min(boxstart, exonobj.x);
1024
+ boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1025
+ }
1026
+ exonobjlst.push(exonobj);
1027
+ }
1028
+ for (const exon of exonobjlst) {
1029
+ exon.rect.attr("x", exon.x - boxstart);
1030
+ }
1031
+ eventset.boxstart = boxstart;
1032
+ eventset.boxwidth = boxstop - boxstart;
1033
+ if (eventset.exonlst.length > 1) {
1034
+ eventset.g.append("line").attr("stroke", eventset.color).attr("stroke-opacity", 0.2).attr("stroke-width", 2).attr("shape-rendering", "crispEdges").attr("x1", 0).attr("x2", eventset.boxwidth).attr("y1", stackheight / 2 - 0.5).attr("y2", stackheight / 2 - 0.5);
1035
+ }
1036
+ eventset.toplabel.each(function() {
1037
+ eventset.labelwidth = this.getBBox().width;
1038
+ });
1039
+ if (eventset.middlelabel) {
1040
+ eventset.middlelabel.each(function() {
1041
+ eventset.labelwidth = this.getBBox().width;
1042
+ });
1043
+ }
1044
+ eventset.bottomlabel.each(function() {
1045
+ eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1046
+ });
1047
+ if (eventset.labelwidth > eventset.boxstart) {
1048
+ eventset.labelonright = true;
1049
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1050
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1051
+ if (eventset.middlelabel) {
1052
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1053
+ }
1054
+ } else {
1055
+ eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1056
+ eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1057
+ if (eventset.middlelabel) {
1058
+ eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1059
+ }
1060
+ }
1061
+ eventset.cover = eventset.g.append("rect").attr("x", eventset.labelonright ? 0 : -eventset.labelwidth - boxlabelspacing).attr("width", eventset.labelwidth + boxlabelspacing + eventset.boxwidth).attr("height", stackheight).attr("fill", "#858585").attr("fill-opacity", 0).on("mouseover", () => {
1062
+ eventset.cover.attr("fill-opacity", 0.1);
1063
+ }).on("mouseout", () => {
1064
+ eventset.cover.attr("fill-opacity", 0);
1065
+ }).on("click", () => {
1066
+ tk.tktip.clear();
1067
+ displayspliceevents(eventset.eventlst, tk.tktip.d);
1068
+ tk.tktip.showunder(eventset.cover.node());
1069
+ });
1070
+ }
1071
+ const stacks = [0];
1072
+ for (const eventset of allevents) {
1073
+ let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1074
+ let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1075
+ for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1076
+ if (x1 > stacks[stackidx]) {
1077
+ eventset.stackidx = stackidx;
1078
+ stacks[stackidx] = x2;
1079
+ break;
1080
+ }
1081
+ if (!eventset.labelonright) {
1082
+ const newx1 = eventset.boxstart;
1083
+ const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1084
+ if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1085
+ eventset.labelonright = true;
1086
+ eventset.stackidx = stackidx;
1087
+ stacks[stackidx] = newx2;
1088
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1089
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1090
+ if (eventset.middlelabel) {
1091
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1092
+ }
1093
+ eventset.cover.attr("x", 0);
1094
+ break;
1095
+ }
1096
+ }
1097
+ }
1098
+ if (eventset.stackidx == void 0) {
1099
+ eventset.stackidx = stacks.length;
1100
+ stacks.push(x2);
1101
+ }
1102
+ eventset.g.attr(
1103
+ "transform",
1104
+ "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1105
+ );
1106
+ }
1107
+ tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1108
+ block.block_setheight();
1109
+ }
1110
+ function checkjunctionframe(arg) {
1111
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1112
+ arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1113
+ }
1114
+ if (!arg.gm.coding) {
1115
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1116
+ mayupdateeventsetlabel(arg);
1117
+ return;
1118
+ }
1119
+ const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1120
+ dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1121
+ if (!data) {
1122
+ console.log("server error");
1123
+ return;
1124
+ }
1125
+ if (data.error) {
1126
+ console.log(data.error);
1127
+ return;
1128
+ }
1129
+ if (typeof data.frame != "boolean") {
1130
+ console.log("invalid result from translategm: " + data.frame);
1131
+ return;
1132
+ }
1133
+ arg.evt.frame = data.frame;
1134
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1135
+ mayupdateeventsetlabel(arg);
1136
+ });
1137
+ }
1138
+ function mayupdateeventsetlabel(arg) {
1139
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1140
+ return;
1141
+ }
1142
+ let frame = OUT_frame;
1143
+ for (const evt of arg.eventset.eventlst) {
1144
+ if (evt.framenocheck) {
1145
+ continue;
1146
+ }
1147
+ let isoform;
1148
+ if (evt.isskipexon) {
1149
+ isoform = evt.gm.isoform;
1150
+ }
1151
+ const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1152
+ if (thisframe == void 0) {
1153
+ return;
1154
+ }
1155
+ if (thisframe == IN_frame) {
1156
+ frame = IN_frame;
1157
+ }
1158
+ }
1159
+ arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1160
+ }
1161
+ function displayspliceevents(events, holder) {
1162
+ const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1163
+ if (events.length > 1) {
1164
+ holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1165
+ const name = Math.random().toString();
1166
+ for (const [idx, evt] of events.entries()) {
1167
+ const id = name + idx;
1168
+ const row = holder.append("div").style("margin-top", "3px");
1169
+ row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1170
+ displayspliceevents_show(events, idx, showdiv);
1171
+ });
1172
+ row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1173
+ }
1174
+ }
1175
+ const showdiv = holder.append("div");
1176
+ displayspliceevents_show(events, evt2showidx, showdiv);
1177
+ }
1178
+ function displayspliceevents_show(events, idx, div) {
1179
+ div.selectAll("*").remove();
1180
+ import("./spliceevent.exonskip.diagram-EFLGV3O4.js").then((p) => {
1181
+ p.default({
1182
+ event: events[idx],
1183
+ holder: div,
1184
+ nophrase: events.length > 1
1185
+ });
1186
+ });
1187
+ }
1188
+ function exonlstoutofrange(lst, block) {
1189
+ const chr = lst[0].chr;
1190
+ let start = lst[0].start;
1191
+ let stop = lst[0].stop;
1192
+ for (const e of lst) {
1193
+ start = Math.min(start, e.start);
1194
+ stop = Math.max(stop, e.stop);
1195
+ }
1196
+ const starthit = block.seekcoord(chr, start)[0];
1197
+ const stophit = block.seekcoord(chr, stop)[0];
1198
+ if (!starthit || !stophit) {
1199
+ return true;
1200
+ }
1201
+ let startoutleft = false;
1202
+ let startoutright = false;
1203
+ if (starthit.x <= 0) {
1204
+ startoutleft = true;
1205
+ } else if (starthit.x >= block.width) {
1206
+ startoutright = true;
1207
+ }
1208
+ let stopoutleft = false;
1209
+ let stopoutright = false;
1210
+ if (stophit.x <= 0) {
1211
+ stopoutleft = true;
1212
+ } else if (stophit.x >= block.width) {
1213
+ stopoutright = true;
1214
+ }
1215
+ if (startoutleft && stopoutleft) return true;
1216
+ if (startoutright && stopoutright) return true;
1217
+ return false;
1218
+ }
1219
+ function getgmdata(block) {
1220
+ if (!block.gmmode || block.gmmode == gmmode.genomic) {
1221
+ const genetk = [];
1222
+ for (const t of block.tklst) {
1223
+ if (t.__isgene) {
1224
+ genetk.push(t);
1225
+ }
1226
+ }
1227
+ if (genetk.length == 0) {
1228
+ return ["Add a gene track to analyze splice junctions."];
1229
+ }
1230
+ const gmdatalst = [];
1231
+ for (const t of genetk) {
1232
+ if (t.gmdata) {
1233
+ for (const m of t.gmdata) {
1234
+ gmdatalst.push(m);
1235
+ }
1236
+ }
1237
+ }
1238
+ if (gmdatalst.length == 0) {
1239
+ return [null];
1240
+ }
1241
+ const regions = [];
1242
+ for (const m of gmdatalst) {
1243
+ let overlap = false;
1244
+ for (const r of regions) {
1245
+ if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1246
+ overlap = true;
1247
+ r.start = Math.min(r.start, m.start);
1248
+ r.stop = Math.max(r.stop, m.stop);
1249
+ break;
1250
+ }
1251
+ }
1252
+ if (!overlap) {
1253
+ regions.push({ start: m.start, stop: m.stop });
1254
+ }
1255
+ }
1256
+ if (regions.length >= 3) {
1257
+ return ["Zoom in on a single gene to analyze splice junctions."];
1258
+ }
1259
+ return [null, gmdatalst];
1260
+ }
1261
+ if (block.gmmode == gmmode.gmsum) {
1262
+ if (!block.allgm) {
1263
+ return ["Error: block.allgm[] is missing"];
1264
+ }
1265
+ return [null, block.allgm];
1266
+ }
1267
+ if (!block.usegm) {
1268
+ return ["Error: block.usegm is missing"];
1269
+ }
1270
+ return [null, [block.usegm]];
1271
+ }
1272
+
1273
+ // src/block.tk.junction.renderjunctions.js
1274
+ var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1275
+ var colorfunc = ordinal(category10_default);
1276
+ var minfontsize = 12;
1277
+ function rendertk(junctions, tk, block) {
1278
+ if (tk.data) {
1279
+ const map = /* @__PURE__ */ new Map();
1280
+ for (const j of tk.data) {
1281
+ map.set(j.chr + "." + j.start + "." + j.stop, j);
1282
+ }
1283
+ const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1284
+ for (const i of junctions) {
1285
+ const j = map.get(i.chr + "." + i.start + "." + i.stop);
1286
+ if (j) {
1287
+ i.x = j.x + pannedpx;
1288
+ i.mode = j.mode;
1289
+ i.modefix = j.modefix;
1290
+ if (i.mode == modesample) {
1291
+ i.mode = moderaise;
1292
+ }
1293
+ }
1294
+ }
1295
+ }
1296
+ tk.data = junctions;
1297
+ tk.glider.selectAll("*").remove();
1298
+ tk.leftaxis.selectAll("*").remove();
1299
+ if (tk.readcountcutoff) {
1300
+ const newj = [];
1301
+ for (const j of tk.data) {
1302
+ if (j.data) {
1303
+ const newsamples = [];
1304
+ for (const s of j.data) {
1305
+ if (s.v >= tk.readcountcutoff) {
1306
+ newsamples.push(s);
1307
+ }
1308
+ }
1309
+ if (newsamples.length == 0) {
1310
+ continue;
1311
+ }
1312
+ j.data = newsamples;
1313
+ newj.push(j);
1314
+ } else {
1315
+ if (j.v >= tk.readcountcutoff) {
1316
+ newj.push(j);
1317
+ }
1318
+ }
1319
+ }
1320
+ tk.data = newj;
1321
+ }
1322
+ if (tk.data.length == 0) {
1323
+ tk.height_main = 50;
1324
+ block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1325
+ tk.label_mcount.text("");
1326
+ if (tk.label_samplecount) {
1327
+ tk.label_samplecount.text("");
1328
+ }
1329
+ get_leftLabelMaxwidth(tk);
1330
+ block.setllabel();
1331
+ block.block_setheight();
1332
+ return;
1333
+ }
1334
+ tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1335
+ get_leftLabelMaxwidth(tk);
1336
+ block.setllabel();
1337
+ junctiontype2color(tk, block);
1338
+ const mg = tk.glider.append("g");
1339
+ tk.data.sort((a, b) => {
1340
+ return a._x - b._x;
1341
+ });
1342
+ let maxsamplecount = 0;
1343
+ if (tk.totalsamplecount > 1) {
1344
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1345
+ const radius = 5;
1346
+ let mrd = 0;
1347
+ const w = Math.pow(radius, 2) * Math.PI;
1348
+ if (maxsamplecount <= 10) {
1349
+ mrd = w * maxsamplecount * 0.9;
1350
+ } else if (maxsamplecount <= 100) {
1351
+ mrd = w * 10;
1352
+ } else if (maxsamplecount <= 1e3) {
1353
+ mrd = w * 14;
1354
+ } else {
1355
+ mrd = w * 20;
1356
+ }
1357
+ const sf_discradius = linear().domain([
1358
+ 1,
1359
+ maxsamplecount * 0.5 + 0.1,
1360
+ maxsamplecount * 0.6 + 0.1,
1361
+ maxsamplecount * 0.7 + 0.1,
1362
+ maxsamplecount * 0.8 + 0.1,
1363
+ maxsamplecount
1364
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1365
+ let maxradius = 0;
1366
+ for (const j of tk.data) {
1367
+ j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1368
+ if (j.data.length > 1) {
1369
+ mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1370
+ const b = this.getBBox();
1371
+ const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1372
+ j.radius = Math.max(j.radius, newrad);
1373
+ }).remove();
1374
+ }
1375
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1376
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1377
+ maxradius = Math.max(maxradius, j.radius2);
1378
+ }
1379
+ tk.maxradius = maxradius;
1380
+ } else {
1381
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1382
+ const radius = 5;
1383
+ let mrd = 0;
1384
+ const w = Math.pow(radius, 2) * Math.PI;
1385
+ if (maxsamplecount <= 10) {
1386
+ mrd = w * maxsamplecount * 0.9;
1387
+ } else if (maxsamplecount <= 100) {
1388
+ mrd = w * 5;
1389
+ } else if (maxsamplecount <= 1e3) {
1390
+ mrd = w * 7;
1391
+ } else {
1392
+ mrd = w * 10;
1393
+ }
1394
+ const sf_discradius = linear().domain([
1395
+ 1,
1396
+ maxsamplecount * 0.5 + 0.1,
1397
+ maxsamplecount * 0.6 + 0.1,
1398
+ maxsamplecount * 0.7 + 0.1,
1399
+ maxsamplecount * 0.8 + 0.1,
1400
+ maxsamplecount
1401
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1402
+ let maxradius = 0;
1403
+ for (const j of tk.data) {
1404
+ j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1405
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1406
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1407
+ maxradius = Math.max(maxradius, j.radius2);
1408
+ }
1409
+ tk.maxradius = maxradius;
1410
+ }
1411
+ let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1412
+ for (const j of tk.data) {
1413
+ for (const s of j.data) {
1414
+ maxread = Math.max(s.v, maxread);
1415
+ }
1416
+ if (j.data.length == 1) {
1417
+ j.median = j.data[0].v;
1418
+ } else {
1419
+ const readlst = j.data.map((s) => s.v);
1420
+ readlst.sort((a, b) => a - b);
1421
+ j.median = readlst[Math.floor(j.data.length / 2)];
1422
+ }
1423
+ if (j.median > maxmedian) {
1424
+ maxmedian = j.median;
1425
+ maxmedianradius = j.radius;
1426
+ }
1427
+ }
1428
+ tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1429
+ axisstyle({
1430
+ axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1431
+ color: "black",
1432
+ showline: true
1433
+ });
1434
+ tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1435
+ tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1436
+ automode(tk, null, block.width);
1437
+ mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1438
+ {
1439
+ const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1440
+ mg.append("line").attr("x1", 0).attr("y1", topy).attr("y2", topy).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
1441
+ mg.append("line").attr("x1", 0).attr("y1", topy + tk.axisheight).attr("y2", topy + tk.axisheight).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
1442
+ let v = 10;
1443
+ while (v <= maxread) {
1444
+ mg.append("line").attr("x1", 0).attr("y1", topy + tk.yscale(v)).attr("y2", topy + tk.yscale(v)).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("stroke-dasharray", "4,4").attr("shape-rendering", "crispEdges");
1445
+ v *= 10;
1446
+ }
1447
+ }
1448
+ const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1449
+ j.jugg = this;
1450
+ });
1451
+ tk.jug = jug;
1452
+ if (tk.hljunctions) {
1453
+ jug.attr("class", (d) => {
1454
+ for (const j of tk.hljunctions) {
1455
+ if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1456
+ return "sja_pulse";
1457
+ }
1458
+ }
1459
+ return null;
1460
+ });
1461
+ }
1462
+ jug.append("line").attr("stroke", (d) => d.color).attr("x1", (d) => set_leg_x1(d)).attr("y2", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
1463
+ d.leg1 = this;
1464
+ }).classed("sja_jug_leg1", true);
1465
+ jug.append("line").attr("stroke", (d) => d.color).attr("x2", (d) => set_leg_x2(d)).attr("y1", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).classed("sja_jug_leg2", true).each(function(d) {
1466
+ d.leg2 = this;
1467
+ });
1468
+ const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1469
+ jug2.append("line").attr("stroke", (d) => d.color).classed("sja_jug_stem", true).attr("stroke-dasharray", "2,2").attr("shape-rendering", "crispEdges").attr("y1", (d) => set_stem_y1(d)).attr("y2", (d) => set_stem_y2(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
1470
+ d.stem = this;
1471
+ });
1472
+ jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1473
+ jug2.filter((d) => d.data.length > 1).append("text").text((d) => d.data.length).attr("font-size", (d) => Math.max(minfontsize, d.radius)).attr("fill-opacity", (d) => set_discnum(d)).classed("sja_jug_discnum", true).attr("fill", "white").attr("font-family", font).attr("text-anchor", "middle").attr("dominant-baseline", "central");
1474
+ jug2.append("circle").attr("r", (d) => d.radius).attr("stroke", (d) => d.color).classed("sja_aa_disckick", true).attr("fill", "white").attr("fill-opacity", 0).attr("stroke-opacity", 0).on("mouseover", (event, d) => {
1475
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1476
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1477
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1478
+ select_default(d.leg1).attr("stroke-opacity", 1);
1479
+ select_default(d.leg2).attr("stroke-opacity", 1);
1480
+ select_default(d.stem).attr("stroke-opacity", 1);
1481
+ if (d.mode == modefold) {
1482
+ foldedjunctioninfo(d, tk);
1483
+ return;
1484
+ }
1485
+ const circle = event.target.getBoundingClientRect();
1486
+ expandedjunctioninfo(d, tk, circle);
1487
+ }).on("mouseout", () => {
1488
+ tk.pica.g.selectAll("*").remove();
1489
+ tk.tktip.hide();
1490
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1491
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1492
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1493
+ }).on("mousedown", (event) => {
1494
+ event.stopPropagation();
1495
+ }).on("click", (event, d) => {
1496
+ if (d.mode == modefold) {
1497
+ d.mode = moderaise;
1498
+ } else if (d.mode == moderaise) {
1499
+ if (d.data.length == 1) {
1500
+ d.mode = modefold;
1501
+ } else {
1502
+ d.mode = modesample;
1503
+ junctionsamplespread(d, tk, block);
1504
+ }
1505
+ } else {
1506
+ d.mode = modefold;
1507
+ }
1508
+ d.modefix = true;
1509
+ horiplace(tk.data, block.width, tk);
1510
+ });
1511
+ horiplace(tk.data, block.width, tk);
1512
+ function set_lineopacity(d) {
1513
+ return 0.5;
1514
+ }
1515
+ block.onloadalltk.push(() => {
1516
+ spliceeventanalyze(tk, block);
1517
+ });
1518
+ block.tkcloakoff(tk, {});
1519
+ block.block_setheight();
1520
+ }
1521
+ function horiplace(lst, width, tk) {
1522
+ const todo = [];
1523
+ for (const i of lst) {
1524
+ if (i.x0 < 0) {
1525
+ i.tox = i.x1 - i.radius2 * 2;
1526
+ } else if (i.x1 > width) {
1527
+ i.tox = i.x0 + i.radius2 * 2;
1528
+ } else {
1529
+ i.tox = i._x;
1530
+ }
1531
+ if (i.mode == modefold) {
1532
+ i.x = i.tox;
1533
+ } else {
1534
+ todo.push(i);
1535
+ }
1536
+ }
1537
+ for (const i of lst) {
1538
+ i.x = i.tox;
1539
+ }
1540
+ set_all(tk);
1541
+ return;
1542
+ }
1543
+ function automode(tk, usemode, blockwidth) {
1544
+ for (const i of tk.data) {
1545
+ if (!i.mode) i.mode = moderaise;
1546
+ }
1547
+ return;
1548
+ const samplecountlst = [];
1549
+ for (let i = 0; i < tk.data.length; i++) {
1550
+ samplecountlst.push({
1551
+ idx: i,
1552
+ count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1553
+ });
1554
+ }
1555
+ samplecountlst.sort((a, b) => b.count - a.count);
1556
+ let cumx = 0;
1557
+ for (const cc of samplecountlst) {
1558
+ const d = tk.data[cc.idx];
1559
+ if (!d.mode) {
1560
+ cumx += d.radius2 * 2;
1561
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1562
+ } else {
1563
+ if (d.modefix) {
1564
+ if (d.mode != modefold) {
1565
+ cumx += d.radius2 * 2;
1566
+ }
1567
+ } else {
1568
+ if (usemode) {
1569
+ d.mode = usemode;
1570
+ if (d.mode != modefold) {
1571
+ cumx += d.radius2 * 2;
1572
+ }
1573
+ } else {
1574
+ cumx += d.radius2 * 2;
1575
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1576
+ }
1577
+ }
1578
+ }
1579
+ }
1580
+ }
1581
+ function set_jug(d) {
1582
+ return "translate(" + d.x + ",0)";
1583
+ }
1584
+ function set_leg_x1(d) {
1585
+ return d.x0 - d.x;
1586
+ }
1587
+ function set_leg_x2(d) {
1588
+ return d.x1 - d.x;
1589
+ }
1590
+ function set_discnum(d) {
1591
+ return d.mode == modefold ? 0 : 1;
1592
+ }
1593
+ function set_stem_y1(d) {
1594
+ if (d.mode == modefold) return d.radius;
1595
+ return d.radius2;
1596
+ }
1597
+ function set_qmg(d, tk) {
1598
+ if (d.mode == modesample)
1599
+ return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1600
+ return "translate(0,0) scale(0)";
1601
+ }
1602
+ function set_leg_y(d, tk) {
1603
+ if (d.mode == modefold) return -tk.legheight;
1604
+ return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1605
+ }
1606
+ function set_jug2(d, tk) {
1607
+ if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1608
+ if (d.mode == moderaise)
1609
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1610
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1611
+ }
1612
+ function set_stem_y2(d, tk) {
1613
+ if (d.mode == modefold) return d.radius + tk.lowpad;
1614
+ if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1615
+ return tk.maxradius + tk.padheight;
1616
+ }
1617
+ function set_all(tk) {
1618
+ const dur = 500;
1619
+ if (tk.totalsamplecount > 1) {
1620
+ tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1621
+ tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1622
+ }
1623
+ tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1624
+ tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1625
+ tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1626
+ tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1627
+ tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1628
+ }
1629
+ function junctiontype2color(tk, block) {
1630
+ for (const j of tk.data) {
1631
+ j.color = defaultcolor;
1632
+ }
1633
+ if (tk.nocatepreconfig) {
1634
+ let categories = {};
1635
+ if (tk.categories) {
1636
+ categories = tk.categories;
1637
+ }
1638
+ let hasnewtype = false;
1639
+ for (const j of tk.data) {
1640
+ if (j.type) {
1641
+ if (!categories[j.type]) {
1642
+ hasnewtype = true;
1643
+ categories[j.type] = {
1644
+ label: j.type
1645
+ };
1646
+ if (j.type.toLowerCase() == "known") {
1647
+ categories[j.type].color = "#0C72A8";
1648
+ } else if (j.type.toLowerCase() == "novel") {
1649
+ categories[j.type].color = "#A80C33";
1650
+ } else {
1651
+ categories[j.type].color = colorfunc(j.type);
1652
+ }
1653
+ }
1654
+ }
1655
+ }
1656
+ if (hasnewtype) {
1657
+ tk.categories = categories;
1658
+ if (!tk.tr_legend) {
1659
+ const [tr, td] = legend_newrow(block, tk.name);
1660
+ tk.tr_legend = tr;
1661
+ tk.td_legend = td;
1662
+ tr.style("display", "none");
1663
+ appear(tr, "table-row");
1664
+ }
1665
+ category2legend(tk.categories, tk.td_legend);
1666
+ }
1667
+ }
1668
+ if (tk.categories) {
1669
+ for (const j of tk.data) {
1670
+ if (j.type && tk.categories[j.type]) {
1671
+ j.color = tk.categories[j.type].color;
1672
+ }
1673
+ }
1674
+ }
1675
+ }
1676
+ function foldedjunctioninfo(d, tk) {
1677
+ const fontsize = 15;
1678
+ let pad = 5, y = pad, width = 0;
1679
+ const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1680
+ if (d.type) {
1681
+ tk.pica.g.append("text").text(d.type).attr("fill", d.color).attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1682
+ width = this.getBBox().width;
1683
+ });
1684
+ y += fontsize;
1685
+ }
1686
+ if (d.data) {
1687
+ tk.pica.g.append("text").text(d.data.length + " sample" + (d.data.length > 1 ? "s" : "")).attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1688
+ width = Math.max(width, this.getBBox().width);
1689
+ });
1690
+ y += fontsize;
1691
+ tk.pica.g.append("text").text(d.median + " median").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1692
+ width = Math.max(width, this.getBBox().width);
1693
+ });
1694
+ y += fontsize;
1695
+ } else {
1696
+ tk.pica.g.append("text").text(d.v + " reads").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1697
+ width = Math.max(width, this.getBBox().width);
1698
+ });
1699
+ y += fontsize;
1700
+ }
1701
+ y += pad;
1702
+ bg.attr("width", pad * 2 + width).attr("height", y);
1703
+ tk.pica.g.append("line").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("x1", 30).attr("x2", 30).attr("y1", y).attr("y2", y + 15);
1704
+ y += 15;
1705
+ tk.pica.g.attr(
1706
+ "transform",
1707
+ "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1708
+ );
1709
+ }
1710
+ function expandedjunctioninfo(d, tk, circle) {
1711
+ tk.tktip.clear();
1712
+ const holder = tk.tktip.d;
1713
+ if (d.type) {
1714
+ holder.append("div").style("display", "inline-block").text(d.type).classed("sja_mcdot", true).style("background-color", d.color).style("padding", "1px 8px").style("margin-bottom", "3px");
1715
+ }
1716
+ holder.append("div").html(
1717
+ bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1718
+ );
1719
+ if (d.data) {
1720
+ if (d.data.length > 1) {
1721
+ holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1722
+ if (d.rimcount) {
1723
+ holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1724
+ }
1725
+ holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1726
+ } else if (d.data.length == 1) {
1727
+ samplejunctiontooltip(d, d.data[0], tk, holder);
1728
+ }
1729
+ } else {
1730
+ holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1731
+ }
1732
+ if (d.spliceevents && d.spliceevents.length > 0) {
1733
+ const renderdiv = holder.append("div").style("margin", "10px 0px");
1734
+ displayspliceevents(d.spliceevents, renderdiv);
1735
+ }
1736
+ tk.tktip.show(circle.left + circle.width, circle.top - 50);
1737
+ }
1738
+ function junctionsamplespread(j, tk, block) {
1739
+ if (j.qmg) {
1740
+ j.qmg.remove();
1741
+ }
1742
+ if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1743
+ for (const d of j.data) {
1744
+ if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1745
+ d.color = "gray";
1746
+ continue;
1747
+ }
1748
+ const levelkeys = [];
1749
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1750
+ const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1751
+ if (levelvalue) {
1752
+ levelkeys.push(levelvalue);
1753
+ }
1754
+ }
1755
+ const str = levelkeys.join(tk.cohortsetting.levelseparator);
1756
+ d.color = tk.cohortsetting.colorfunc(str);
1757
+ }
1758
+ }
1759
+ j.swarm = (0, import_d3_beeswarm.beeswarm)().data(j.data).distributeOn((d) => tk.axisheight - tk.yscale(d.v)).radius(tk.qmradius).orientation("vertical").side("symetric").arrange();
1760
+ const jugg = select_default(j.jugg);
1761
+ j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1762
+ const opacity = 0.8;
1763
+ j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1764
+ return bee.datum.color || "green";
1765
+ }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1766
+ select_default(event.target).attr("fill-opacity", 1);
1767
+ const p = event.target.getBoundingClientRect();
1768
+ tk.tktip.clear();
1769
+ tk.tktip.show(p.left + 20, p.top - 40);
1770
+ samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1771
+ }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1772
+ if (tk.tracks) {
1773
+ return;
1774
+ }
1775
+ }).transition().attr("cx", (bee) => bee.x);
1776
+ }
1777
+ function samplejunctiontooltip(j, sample, tk, holder) {
1778
+ if (sample.sample) {
1779
+ holder.append("div").html(sample.sample);
1780
+ } else if (sample.name) {
1781
+ holder.append("div").html(sample.name);
1782
+ } else if (sample.patient || sample.sampletype) {
1783
+ if (sample.patient) {
1784
+ holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1785
+ }
1786
+ if (sample.sampletype) {
1787
+ holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1788
+ }
1789
+ } else if (sample.tkid) {
1790
+ for (const t of tk.tracks) {
1791
+ if (t.tkid == sample.tkid) {
1792
+ holder.append("div").text(t.name || "unnamed member");
1793
+ break;
1794
+ }
1795
+ }
1796
+ }
1797
+ if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1798
+ for (const lev of tk.cohortsetting.cohort.levels) {
1799
+ if (sample[lev.k]) {
1800
+ holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1801
+ }
1802
+ }
1803
+ }
1804
+ holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1805
+ if (sample.metadata) {
1806
+ holder.append("div").html(
1807
+ '<span style="background-color:' + sample.metadata.color + '" class=sja_mcdot>&nbsp;</span> ' + sample.metadata.value + ' <span style="font-size:.7em;color:#858585">' + tk.metadata.m.label + "</span>"
1808
+ );
1809
+ }
1810
+ if (sample.hasrim) {
1811
+ holder.append("div").text(tk.rimwhat);
1812
+ }
1813
+ if (j.spliceevents) {
1814
+ const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1815
+ const evt = j.spliceevents[evtidx];
1816
+ const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1817
+ let jbcount = 0;
1818
+ if (evt.junctionB && evt.junctionB.data) {
1819
+ for (const d of evt.junctionB.data) {
1820
+ if (d.tkid == sample.tkid) {
1821
+ jbcount = d.v;
1822
+ break;
1823
+ }
1824
+ }
1825
+ }
1826
+ let acountsum = 0;
1827
+ if (evt.junctionAlst) {
1828
+ for (const ja of evt.junctionAlst) {
1829
+ if (ja && ja.data) {
1830
+ for (const d of ja.data) {
1831
+ if (d.tkid == sample.tkid) {
1832
+ acountsum += d.v;
1833
+ break;
1834
+ }
1835
+ }
1836
+ }
1837
+ }
1838
+ }
1839
+ let percent;
1840
+ if (jbcount == 0) {
1841
+ percent = 0;
1842
+ } else {
1843
+ percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1844
+ }
1845
+ holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1846
+ }
1847
+ }
1848
+ function get_leftLabelMaxwidth(tk) {
1849
+ const collectlabw = [];
1850
+ tk.tklabel.each(function() {
1851
+ collectlabw.push(this.getBBox().width);
1852
+ });
1853
+ if (tk.label_mcount) {
1854
+ tk.label_mcount.each(function() {
1855
+ collectlabw.push(this.getBBox().width);
1856
+ });
1857
+ }
1858
+ tk.leftLabelMaxwidth = Math.max(...collectlabw);
1859
+ }
1860
+
1861
+ // src/block.tk.junction.js
1862
+ var binpxw = 5;
1863
+ var modefold = 1;
1864
+ var moderaise = 2;
1865
+ var modesample = 3;
1866
+ var labyspace = 5;
1867
+ function makeTk(tk, block) {
1868
+ tk.leftaxis = tk.gleft.append("g");
1869
+ let laby = labyspace + block.labelfontsize;
1870
+ const thistip = new Menu({ padding: "none" });
1871
+ tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1872
+ label_mcount_fillpane(tk, block, thistip);
1873
+ });
1874
+ laby += labyspace + block.labelfontsize;
1875
+ tk.totalsamplecount = 0;
1876
+ tk.height_main = 100;
1877
+ tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1878
+ if (tk.categories || tk.cohortsetting) {
1879
+ const [tr, td] = legend_newrow(block, tk.name);
1880
+ tk.tr_legend = tr;
1881
+ tk.td_legend = td;
1882
+ }
1883
+ if (tk.categories) {
1884
+ category2legend(tk.categories, tk.td_legend);
1885
+ }
1886
+ if (tk.cohortsetting) {
1887
+ tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1888
+ tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1889
+ }
1890
+ }
1891
+ function junctionload(tk, block) {
1892
+ if (tk.uninitialized) {
1893
+ makeTk(tk, block);
1894
+ delete tk.uninitialized;
1895
+ }
1896
+ if ((block.zoomedin || block.resized) && tk.data) {
1897
+ const junc = [];
1898
+ for (const i of tk.data) {
1899
+ const oldx = i.x;
1900
+ const e = j2block(i, block);
1901
+ if (e) {
1902
+ continue;
1903
+ }
1904
+ if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1905
+ i.x = oldx;
1906
+ junc.push(i);
1907
+ }
1908
+ }
1909
+ rendertk(junc, tk, block);
1910
+ return;
1911
+ }
1912
+ if (tk.fixeddata) {
1913
+ block.tkcloakon(tk);
1914
+ const junc2 = [];
1915
+ for (const j of tk.fixeddata) {
1916
+ const j2 = {
1917
+ chr: j.chr,
1918
+ start: j.start,
1919
+ stop: j.stop,
1920
+ data: j.data,
1921
+ type: j.type
1922
+ };
1923
+ const e = j2block(j2, block);
1924
+ if (e) {
1925
+ continue;
1926
+ }
1927
+ junc2.push(j2);
1928
+ }
1929
+ tk.totalsamplecount = tk.tracks[0].samplecount;
1930
+ tk.axisheight = 200;
1931
+ tk.legheight = 50;
1932
+ tk.bottompad = 0;
1933
+ tk.qmradius = 2;
1934
+ tk.lowpad = 15;
1935
+ tk.padheight = 10;
1936
+ rendertk(junc2, tk, block);
1937
+ return;
1938
+ }
1939
+ if (!tk.tracks) {
1940
+ block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1941
+ tk.height_main = 50;
1942
+ block.block_setheight();
1943
+ return;
1944
+ }
1945
+ block.block_setheight();
1946
+ block.tkcloakon(tk);
1947
+ const bincount = Math.ceil(block.width / binpxw);
1948
+ let bins = null;
1949
+ let donenum = 0;
1950
+ const tasks = [];
1951
+ const allfiledata = [];
1952
+ for (const t of tk.tracks) {
1953
+ const getheader = new Promise((resolve, reject) => {
1954
+ if (t.rnapegfile) {
1955
+ t.samplecount = 1;
1956
+ return resolve();
1957
+ }
1958
+ if (t.samplecount != void 0 && t.checkedheader) return resolve();
1959
+ const par = {};
1960
+ if (t.file) {
1961
+ par.file = t.file;
1962
+ } else {
1963
+ par.url = t.url;
1964
+ if (t.indexURL) par.indexURL = t.indexURL;
1965
+ }
1966
+ dofetch3("tabixheader", { body: par }).then((data) => {
1967
+ if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1968
+ t.checkedheader = true;
1969
+ const str = data.lines.join("");
1970
+ if (!str) {
1971
+ } else {
1972
+ const l = str.trim().split(" ");
1973
+ t.headersamples = [];
1974
+ for (let i = 5; i < l.length; i++) {
1975
+ const str2 = l[i];
1976
+ let j = null;
1977
+ if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1978
+ try {
1979
+ j = JSON.parse(str2);
1980
+ } catch (e) {
1981
+ console.error("header line field [" + i + "] is broken json: " + str2);
1982
+ }
1983
+ }
1984
+ if (j) {
1985
+ j.tkid = Math.random().toString();
1986
+ t.headersamples.push(j);
1987
+ } else {
1988
+ t.headersamples.push({
1989
+ name: l[i],
1990
+ tkid: Math.random().toString()
1991
+ });
1992
+ }
1993
+ }
1994
+ t.samplecount = t.headersamples.length;
1995
+ tk.totalsamplecount += t.samplecount;
1996
+ }
1997
+ resolve();
1998
+ });
1999
+ });
2000
+ const getdata = new Promise((resolve, reject) => {
2001
+ getheader.then(() => {
2002
+ const par = {
2003
+ genome: block.genome.name,
2004
+ rglst: block.tkarg_maygm(t)
2005
+ };
2006
+ if (bincount) par.bincount = bincount;
2007
+ if (t.file || t.rnapegfile) {
2008
+ par.file = t.file || t.rnapegfile;
2009
+ } else {
2010
+ par.url = t.url;
2011
+ if (t.indexURL) par.indexURL = t.indexURL;
2012
+ }
2013
+ if (t.rnapegfile) {
2014
+ par.isrnapeg = 1;
2015
+ }
2016
+ dofetch3("termdb/junction/onesampletk", { body: par }).then((data) => {
2017
+ donenum++;
2018
+ if (tk.tracks.length > 1) {
2019
+ block.tkprogress(tk, donenum / tk.tracks.length);
2020
+ }
2021
+ if (!data) reject("server error for getting member track " + t.name);
2022
+ if (data.error) reject("Cannot get data: " + data.error);
2023
+ if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2024
+ if (data.lst) {
2025
+ if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2026
+ t.samplecount = data.lst[0].rawdata.length;
2027
+ tk.totalsamplecount += t.samplecount;
2028
+ }
2029
+ if (bins) {
2030
+ } else {
2031
+ const thisfilejunctions = [];
2032
+ for (const k of data.lst) {
2033
+ k.data = [];
2034
+ for (let i = 0; i < k.rawdata.length; i++) {
2035
+ const v = k.rawdata[i];
2036
+ if (!Number.isInteger(v) || v <= 0) {
2037
+ continue;
2038
+ }
2039
+ const s = { v };
2040
+ if (t.headersamples) {
2041
+ const s0 = t.headersamples[i];
2042
+ if (s0) {
2043
+ for (const _k in s0) {
2044
+ s[_k] = s0[_k];
2045
+ }
2046
+ }
2047
+ } else {
2048
+ if (t.name) s.name = t.name;
2049
+ if (t.sample) s.sample = t.sample;
2050
+ if (t.patient) s.patient = t.patient;
2051
+ if (t.sampeltype) s.sampletype = t.sampletype;
2052
+ if (t.tkid) s.tkid = t.tkid;
2053
+ if (t.file) s.file = t.file;
2054
+ if (t.url) s.url = t.url;
2055
+ if (t.indexURL) s.indexURL = t.indexURL;
2056
+ }
2057
+ k.data.push(s);
2058
+ }
2059
+ delete k.rawdata;
2060
+ thisfilejunctions.push(k);
2061
+ }
2062
+ resolve(thisfilejunctions);
2063
+ }
2064
+ } else {
2065
+ }
2066
+ });
2067
+ }).catch((err) => reject(err));
2068
+ });
2069
+ tasks.push(getdata);
2070
+ }
2071
+ Promise.all(tasks).then((data) => {
2072
+ const junc = [];
2073
+ data.forEach((dat) => {
2074
+ if (!dat) return;
2075
+ dat.forEach((k) => {
2076
+ let notfound = true;
2077
+ for (const j of junc) {
2078
+ if (j.start == k.start && j.stop == k.stop) {
2079
+ j.data = j.data.concat(k.data);
2080
+ notfound = false;
2081
+ break;
2082
+ }
2083
+ }
2084
+ if (notfound) {
2085
+ junc.push(k);
2086
+ }
2087
+ });
2088
+ });
2089
+ for (const j of junc) {
2090
+ j2block(j, block);
2091
+ }
2092
+ for (const j of junc) {
2093
+ smuggleattributes(j);
2094
+ }
2095
+ if (!tk.axisheight) {
2096
+ if (tk.totalsamplecount > 1) {
2097
+ tk.axisheight = 200;
2098
+ tk.legheight = 50;
2099
+ tk.bottompad = 0;
2100
+ tk.qmradius = 2;
2101
+ tk.lowpad = 15;
2102
+ tk.padheight = 10;
2103
+ } else {
2104
+ tk.axisheight = 100;
2105
+ tk.legheight = 20;
2106
+ tk.bottompad = 0;
2107
+ tk.lowpad = 10;
2108
+ tk.padheight = 10;
2109
+ }
2110
+ if (tk.cohortsetting) {
2111
+ initcohortsetting(tk, block);
2112
+ }
2113
+ }
2114
+ rendertk(junc, tk, block);
2115
+ }).catch((err) => {
2116
+ tk.glider.selectAll("*").remove();
2117
+ block.tkcloakoff(tk, { error: err });
2118
+ block.block_setheight();
2119
+ });
2120
+ }
2121
+ function j2block(j, block) {
2122
+ const starthit = block.seekcoord(j.chr, j.start)[0];
2123
+ if (!starthit) {
2124
+ return true;
2125
+ }
2126
+ const stophit = block.seekcoord(j.chr, j.stop)[0];
2127
+ if (!stophit) {
2128
+ return true;
2129
+ }
2130
+ const startout = starthit.x < 0 || starthit.x > block.width;
2131
+ const stopout = stophit.x < 0 || stophit.x > block.width;
2132
+ if (startout && stopout) {
2133
+ return true;
2134
+ }
2135
+ j.x0 = starthit.x;
2136
+ j.x1 = stophit.x;
2137
+ j.x = (j.x0 + j.x1) / 2;
2138
+ j._x = j.x;
2139
+ if (!j.modefix) {
2140
+ j.mode = moderaise;
2141
+ }
2142
+ return false;
2143
+ }
2144
+ function smuggleattributes(j) {
2145
+ }
2146
+ function label_mcount_fillpane(tk, block, tip) {
2147
+ tip.clear();
2148
+ const holder = tip.d;
2149
+ const types = /* @__PURE__ */ new Map();
2150
+ for (const j of tk.data) {
2151
+ if (!j.type) continue;
2152
+ if (!types.has(j.type)) {
2153
+ types.set(j.type, []);
2154
+ }
2155
+ if (j.data) {
2156
+ types.get(j.type).push(j.data.map((i) => i.v));
2157
+ } else {
2158
+ types.get(j.type).push(j.v);
2159
+ }
2160
+ }
2161
+ if (types.size) {
2162
+ const d = holder.append("div").style("margin", "8px");
2163
+ for (const [type, valuelst] of types) {
2164
+ d.append("div").style("margin", "2px").html(
2165
+ valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2166
+ );
2167
+ let vlst = valuelst;
2168
+ if (tk.tracks) {
2169
+ vlst = [];
2170
+ for (const l of valuelst) {
2171
+ vlst.push(...l);
2172
+ }
2173
+ }
2174
+ if (vlst.length == 1) {
2175
+ } else {
2176
+ d.append("table").style("margin-left", "20px").html(
2177
+ '<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
2178
+ );
2179
+ }
2180
+ }
2181
+ } else {
2182
+ let vlst = [];
2183
+ if (tk.tracks) {
2184
+ for (const j of tk.data) {
2185
+ vlst.push(...j.data.map((i) => i.v));
2186
+ }
2187
+ } else {
2188
+ vlst = tk.data.map((j) => j.v);
2189
+ }
2190
+ if (vlst.length > 1) {
2191
+ holder.append("table").html(
2192
+ '<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
2193
+ );
2194
+ }
2195
+ }
2196
+ holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2197
+ tip.hide();
2198
+ for (const j of tk.data) {
2199
+ j.mode = modefold;
2200
+ j.modefix = true;
2201
+ }
2202
+ horiplace(tk.data, block.width, tk);
2203
+ });
2204
+ holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2205
+ tip.hide();
2206
+ for (const j of tk.data) {
2207
+ j.modefix = false;
2208
+ }
2209
+ automode(tk, null, block.width);
2210
+ for (const j of tk.data) {
2211
+ j.modefix = true;
2212
+ }
2213
+ horiplace(tk.data, block.width, tk);
2214
+ });
2215
+ holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2216
+ tip.hide();
2217
+ downloadjunctions(tk);
2218
+ });
2219
+ tip.showunder(tk.label_mcount.node());
2220
+ }
2221
+ function downloadjunctions(tk) {
2222
+ const txt = [];
2223
+ if (tk.file || tk.url) {
2224
+ if (tk.data) {
2225
+ txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2226
+ for (const j of tk.data) {
2227
+ txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2228
+ }
2229
+ }
2230
+ } else if (tk.tracks) {
2231
+ if (tk.data) {
2232
+ const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2233
+ for (const t of tk.tracks) {
2234
+ const lst = [];
2235
+ if (t.patient) lst.push(t.patient);
2236
+ if (t.sampletype) lst.push(t.sampletype);
2237
+ if (lst.length == 0) {
2238
+ lst.push(t.name);
2239
+ }
2240
+ header.push(lst.join(", "));
2241
+ }
2242
+ txt.push(header.join(" "));
2243
+ for (const j of tk.data) {
2244
+ const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2245
+ const hash = /* @__PURE__ */ new Map();
2246
+ for (const jsample of j.data) {
2247
+ hash.set(jsample.tkid, jsample.v);
2248
+ }
2249
+ for (const t of tk.tracks) {
2250
+ lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2251
+ }
2252
+ txt.push(lst.join(" "));
2253
+ }
2254
+ }
2255
+ }
2256
+ export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2257
+ }
2258
+ function configpanel(tk, block) {
2259
+ tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2260
+ const holder = tk.tkconfigtip.d;
2261
+ {
2262
+ const row = holder.append("div").style("margin-bottom", "10px");
2263
+ row.append("span").html("Read count cutoff&nbsp;");
2264
+ row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2265
+ if (!keyupEnter(event)) return;
2266
+ const v = Number.parseFloat(event.target.value);
2267
+ if (v == 0) {
2268
+ if (tk.readcountcutoff) {
2269
+ tk.readcountcutoff = 0;
2270
+ junctionload(tk, block);
2271
+ } else {
2272
+ }
2273
+ return;
2274
+ }
2275
+ if (!v || v < 0) {
2276
+ return;
2277
+ }
2278
+ if (tk.readcountcutoff) {
2279
+ if (tk.readcountcutoff == v) {
2280
+ } else if (tk.readcountcutoff > v) {
2281
+ tk.readcountcutoff = v;
2282
+ junctionload(tk, block);
2283
+ } else {
2284
+ tk.readcountcutoff = v;
2285
+ rendertk(tk.data, tk, block);
2286
+ }
2287
+ } else {
2288
+ tk.readcountcutoff = v;
2289
+ junctionload(tk, block);
2290
+ }
2291
+ });
2292
+ const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2293
+ if (tk.totalsamplecount > 1) {
2294
+ note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2295
+ } else {
2296
+ note.text("Junctions with read count lower than cutoff will not be shown.");
2297
+ }
2298
+ }
2299
+ }
2300
+ function initcohortsetting(tk, block) {
2301
+ if (!tk.cohortsetting.cohort) {
2302
+ sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2303
+ return;
2304
+ }
2305
+ if (!tk.cohortsetting.cohort.levels) {
2306
+ sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2307
+ return;
2308
+ }
2309
+ if (!tk.cohortsetting.cohort.levels[0]) {
2310
+ sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2311
+ return;
2312
+ }
2313
+ tk.cohortsetting.levelseperator = ".";
2314
+ tk.cohortsetting.uselevelidx = 0;
2315
+ setcohortlegend_usecohortlevel(tk, block);
2316
+ }
2317
+ function setcohortlegend_usecohortlevel(tk, block) {
2318
+ tk.cohortsetting.legendholder.selectAll("*").remove();
2319
+ tk.cohortsetting.colorfunc = ordinal(category10_default);
2320
+ const stratkey2count = /* @__PURE__ */ new Map();
2321
+ for (const t of tk.tracks) {
2322
+ for (const s of t.headersamples) {
2323
+ if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2324
+ continue;
2325
+ }
2326
+ const thissamplekeys = [];
2327
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2328
+ const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2329
+ if (thislevelkey) {
2330
+ thissamplekeys.push(thislevelkey);
2331
+ }
2332
+ }
2333
+ const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2334
+ if (!stratkey2count.has(str)) {
2335
+ stratkey2count.set(str, {
2336
+ count: 0,
2337
+ label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2338
+ });
2339
+ }
2340
+ stratkey2count.get(str).count++;
2341
+ }
2342
+ }
2343
+ const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2344
+ for (const item of sorteditems) {
2345
+ const color = tk.cohortsetting.colorfunc(item[0]);
2346
+ const label = item[1].label;
2347
+ const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2348
+ row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2349
+ row.append("div").style("display", "inline-block").text(label);
2350
+ }
2351
+ }
2352
+ export {
2353
+ junctionload,
2354
+ modefold,
2355
+ moderaise,
2356
+ modesample
2357
+ };
2358
+ //# sourceMappingURL=block.tk.junction-EBTVXLJH.js.map