@sjcrh/proteinpaint-client 2.192.0 → 2.193.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 (903) hide show
  1. package/dist/2dmaf-US2ZAJJJ.js +1373 -0
  2. package/dist/AIProjectAdmin-QQO2PNAJ.js +958 -0
  3. package/dist/AppHeader-UKB344GC.js +835 -0
  4. package/dist/BoxPlot-JEBLRKBY.js +1217 -0
  5. package/dist/CorrelationVolcano-J3IFVSZB.js +619 -0
  6. package/dist/DE-PAPJP6AH.js +95 -0
  7. package/dist/DEinput-YON466QQ.js +301 -0
  8. package/dist/DifferentialAnalysis-DEUODXGG.js +245 -0
  9. package/dist/Disco-OZM4S7HF.js +3297 -0
  10. package/dist/Disco.UI-VIHYJGYU.js +249 -0
  11. package/dist/DmrPlot-DSELMC4E.js +642 -0
  12. package/dist/GB-MUPI6RL5.js +1151 -0
  13. package/dist/GB-MUPI6RL5.js.map +7 -0
  14. package/dist/GeneExpInput-3AQEPTFZ.js +367 -0
  15. package/dist/HicApp-BP7PSXY2.js +2250 -0
  16. package/dist/NumBinaryEditor-CHWQT445.js +271 -0
  17. package/dist/NumBinaryEditor.unit.spec-MXRNK7XH.js +286 -0
  18. package/dist/NumContEditor-XS3RA7GY.js +109 -0
  19. package/dist/NumContEditor.unit.spec-662MHSP4.js +169 -0
  20. package/dist/NumCustomBinEditor-LUVIAXMZ.js +38 -0
  21. package/dist/NumCustomBinEditor.unit.spec-3D3GY3F4.js +284 -0
  22. package/dist/NumDiscreteEditor-24W2A5IN.js +179 -0
  23. package/dist/NumDiscreteEditor.unit.spec-B5T42Z5S.js +202 -0
  24. package/dist/NumRegularBinEditor-AING4HZ5.js +38 -0
  25. package/dist/NumRegularBinEditor.unit.spec-UKSVZH2S.js +227 -0
  26. package/dist/NumSplineEditor-54KNKHJX.js +198 -0
  27. package/dist/NumSplineEditor.unit.spec-5FTST3Y5.js +199 -0
  28. package/dist/NumericDensity-C7DQZ5Q5.js +38 -0
  29. package/dist/NumericDensity.unit.spec-HV6SD3ZS.js +221 -0
  30. package/dist/NumericHandler-FV3L23EC.js +39 -0
  31. package/dist/NumericHandler.unit.spec-E72DXVBB.js +219 -0
  32. package/dist/ProteomeInput-3XTK74SN.js +396 -0
  33. package/dist/RunChart2-X5FBZVRX.js +758 -0
  34. package/dist/SC-WE5DG2CQ.js +1127 -0
  35. package/dist/SC-WE5DG2CQ.js.map +7 -0
  36. package/dist/Volcano-2USCTLKO.js +1379 -0
  37. package/dist/WSIViewer-U6VSJUFF.js +48562 -0
  38. package/dist/WsiSamplesPlot-VIKSG63U.js +165 -0
  39. package/dist/adSandbox-VXUJGPD3.js +38 -0
  40. package/dist/animatedBubbleChart-4P7XLKSB.js +555 -0
  41. package/dist/app-KHZT2BVF.js +49 -0
  42. package/dist/app-XLYH3YPL.js +37 -0
  43. package/dist/app.js +15 -15
  44. package/dist/bam-C23ZARYE.js +860 -0
  45. package/dist/barchart-KGXLYEIP.js +47 -0
  46. package/dist/barchart.data-7OI5GZZ6.js +22 -0
  47. package/dist/barchart.events-3KDNIFBG.js +47 -0
  48. package/dist/barchart.integration.spec-OQYY54AQ.js +2010 -0
  49. package/dist/barchart.integration.spec-OQYY54AQ.js.map +7 -0
  50. package/dist/barchart2-AT5FXOUY.js +314 -0
  51. package/dist/block-TCWYUB4R.js +6226 -0
  52. package/dist/block.init-7FHXQJNE.js +38 -0
  53. package/dist/block.mds.expressionrank-UGZQK7Z3.js +359 -0
  54. package/dist/block.mds.geneboxplot-2CQLB4YN.js +828 -0
  55. package/dist/block.mds.junction-JHPHWVOS.js +1545 -0
  56. package/dist/block.mds.svcnv-E7P2SVKK.js +6801 -0
  57. package/dist/block.svg-MVRR3C6V.js +164 -0
  58. package/dist/block.tk.aicheck-KX46G4TR.js +283 -0
  59. package/dist/block.tk.ase-WMXI47BF.js +365 -0
  60. package/dist/block.tk.bam-KFEGVEQQ.js +1906 -0
  61. package/dist/block.tk.bedgraphdot-P4DBCWFK.js +384 -0
  62. package/dist/block.tk.bigwig.ui-WJPH2Z7F.js +212 -0
  63. package/dist/block.tk.hicstraw-RSD6I2NX.js +823 -0
  64. package/dist/block.tk.junction-VZS2DEDO.js +2364 -0
  65. package/dist/block.tk.junction.textmatrixui-UCWGHZDI.js +199 -0
  66. package/dist/block.tk.ld-ERSIIBM2.js +99 -0
  67. package/dist/block.tk.menu-2ZNXE7CE.js +1029 -0
  68. package/dist/block.tk.pgv-EJLACCFR.js +944 -0
  69. package/dist/brainImaging-BMZJY6OT.js +423 -0
  70. package/dist/brainRegions-RZEBXPAS.js +221 -0
  71. package/dist/bubbleHeatmap-ERJFMLPK.js +383 -0
  72. package/dist/bubbleHeatmap-ERJFMLPK.js.map +7 -0
  73. package/dist/chunk-27FPMFP2.js +54 -0
  74. package/dist/chunk-3LYZMOLO.js +58 -0
  75. package/dist/chunk-455XZIIA.js +222 -0
  76. package/dist/chunk-474DTKP7.js +263 -0
  77. package/dist/chunk-4AP3O3JW.js +226 -0
  78. package/dist/chunk-4JWN7E7Q.js +117 -0
  79. package/dist/chunk-55MOHL3P.js +158 -0
  80. package/dist/chunk-5CR24RTX.js +381 -0
  81. package/dist/chunk-5QTJUPFS.js +26 -0
  82. package/dist/chunk-5TJQ6633.js +291 -0
  83. package/dist/chunk-5X5LI5YM.js +254 -0
  84. package/dist/chunk-6G4YOMWW.js +1825 -0
  85. package/dist/chunk-6SCBPP4C.js +95 -0
  86. package/dist/chunk-6YVEYTNH.js +4269 -0
  87. package/dist/chunk-73R5BVCY.js +5067 -0
  88. package/dist/chunk-73R5BVCY.js.map +7 -0
  89. package/dist/chunk-74XVBQF7.js +55 -0
  90. package/dist/chunk-7I3LST7R.js +272 -0
  91. package/dist/chunk-7KRS7L4U.js +1443 -0
  92. package/dist/chunk-ATUYZWHV.js +1289 -0
  93. package/dist/chunk-B6U3EDAF.js +448 -0
  94. package/dist/chunk-B6U3EDAF.js.map +7 -0
  95. package/dist/chunk-BO47H3VP.js +477 -0
  96. package/dist/chunk-BOO4W7WD.js +482 -0
  97. package/dist/chunk-C6YT5EM2.js +217 -0
  98. package/dist/chunk-CDUNE45Q.js +534 -0
  99. package/dist/chunk-CLN7ANNL.js +216 -0
  100. package/dist/chunk-CLNSNNQU.js +302 -0
  101. package/dist/chunk-COYULNJF.js +119 -0
  102. package/dist/chunk-DBFKUPM6.js +1275 -0
  103. package/dist/chunk-DNVSEW6P.js +170 -0
  104. package/dist/chunk-E6XLLQCG.js +299 -0
  105. package/dist/chunk-E6XLLQCG.js.map +7 -0
  106. package/dist/chunk-EC3SKPQT.js +446 -0
  107. package/dist/chunk-EDXQKDVQ.js +368 -0
  108. package/dist/chunk-EY253UB7.js +448 -0
  109. package/dist/chunk-FABY3ISP.js +176 -0
  110. package/dist/chunk-FOPHIWFD.js +100 -0
  111. package/dist/chunk-FVX76DZS.js +203 -0
  112. package/dist/chunk-FXGE233W.js +2681 -0
  113. package/dist/chunk-GBXX3AHJ.js +343 -0
  114. package/dist/chunk-GVCQGWN7.js +34 -0
  115. package/dist/chunk-HXNUQOGN.js +234 -0
  116. package/dist/chunk-HXZSSHEB.js +37 -0
  117. package/dist/chunk-I73KUUYG.js +287 -0
  118. package/dist/chunk-IKDWQJZE.js +736 -0
  119. package/dist/chunk-IVXCWCKS.js +317 -0
  120. package/dist/chunk-IVXCWCKS.js.map +7 -0
  121. package/dist/chunk-JEZUPG4J.js +617 -0
  122. package/dist/chunk-JWHFMFF2.js +142 -0
  123. package/dist/chunk-K3OJJZCQ.js +230 -0
  124. package/dist/chunk-KM4JBR26.js +815 -0
  125. package/dist/chunk-KNOFEVOJ.js +54 -0
  126. package/dist/chunk-L7VDSIM7.js +20881 -0
  127. package/dist/chunk-L7VDSIM7.js.map +7 -0
  128. package/dist/chunk-LLX3NKB4.js +148 -0
  129. package/dist/chunk-LSWU6EAQ.js +31 -0
  130. package/dist/chunk-MQJVDIQK.js +2786 -0
  131. package/dist/chunk-N25ENPO3.js +14 -0
  132. package/dist/chunk-N3JT3KCV.js +399 -0
  133. package/dist/chunk-N6QEVQZV.js +194 -0
  134. package/dist/chunk-NJDW6ZQP.js +102 -0
  135. package/dist/chunk-NLQQIVTC.js +276 -0
  136. package/dist/chunk-NU2W6B7I.js +833 -0
  137. package/dist/chunk-OR43PGBV.js +98 -0
  138. package/dist/chunk-PWUERAAF.js +182 -0
  139. package/dist/chunk-PXCFA4ZQ.js +2327 -0
  140. package/dist/chunk-QSEGY3U5.js +129 -0
  141. package/dist/chunk-SC6IPDJR.js +6364 -0
  142. package/dist/chunk-SDMOLIEU.js +1205 -0
  143. package/dist/chunk-T46LHXJW.js +283 -0
  144. package/dist/chunk-UDL2DEBB.js +50 -0
  145. package/dist/chunk-UXDVUCXU.js +190 -0
  146. package/dist/chunk-UXDVUCXU.js.map +7 -0
  147. package/dist/chunk-VDIVDU3T.js +386 -0
  148. package/dist/chunk-VRLC7DAU.js +2833 -0
  149. package/dist/chunk-VRLC7DAU.js.map +7 -0
  150. package/dist/chunk-XQSQQSGB.js +1102 -0
  151. package/dist/chunk-XVXAQ3FI.js +1943 -0
  152. package/dist/chunk-Y45JIQ5Y.js +1219 -0
  153. package/dist/chunk-Y45JIQ5Y.js.map +7 -0
  154. package/dist/chunk-YQMENK5H.js +102 -0
  155. package/dist/chunk-ZUC4XNWU.js +514 -0
  156. package/dist/condition-ZPFBPMEZ.js +332 -0
  157. package/dist/controls-LIVMV2GV.js +41 -0
  158. package/dist/controls.config-2EOMBN5E.js +39 -0
  159. package/dist/correlation-D6GAPOP5.js +102 -0
  160. package/dist/cuminc-GPFDRNUP.js +1149 -0
  161. package/dist/cuminc.integration.spec-V4JYKLA6.js +678 -0
  162. package/dist/customdata.inputui-DSEUS3CT.js +289 -0
  163. package/dist/dataDownload-KT6K3M7Q.js +330 -0
  164. package/dist/dataDownload.integration.spec-VEX2RTSA.js +193 -0
  165. package/dist/databrowser.ui-VJKNMIXA.js +433 -0
  166. package/dist/dictionary-B27BMR5H.js +118 -0
  167. package/dist/dnaMethylation-BWQGUXVR.js +38 -0
  168. package/dist/dnaMethylation.integration.spec-YMGT2HYZ.js +203 -0
  169. package/dist/dofetch-BMSZZAAQ.js +51 -0
  170. package/dist/e2pca-KSY4DP53.js +350 -0
  171. package/dist/ep-4PAYGMWK.js +1256 -0
  172. package/dist/expclust.gdc.spec-XXFP2HHE.js +307 -0
  173. package/dist/facet-VCJQ7QPE.js +521 -0
  174. package/dist/forms2-IUD2SNOQ.js +539 -0
  175. package/dist/gb-JDH242LG.js +88 -0
  176. package/dist/geneExpClustering-L23JB7XA.js +249 -0
  177. package/dist/geneExpression-P2ERCRXO.js +313 -0
  178. package/dist/geneExpression-QGPVFAN4.js +38 -0
  179. package/dist/geneExpression.unit.spec-6BQBM6VL.js +102 -0
  180. package/dist/geneORA-XIMJP665.js +278 -0
  181. package/dist/geneRanking-AJH5G22J.js +551 -0
  182. package/dist/geneVariant-AUUZ7S2B.js +41 -0
  183. package/dist/geneVariant-H6BGRRON.js +39 -0
  184. package/dist/geneVariant.integration.spec-FRCH6VI4.js +198 -0
  185. package/dist/genefusion.ui-AAJ37VFA.js +309 -0
  186. package/dist/geneset-5ARBBUYH.js +208 -0
  187. package/dist/genomeBrowser.spec-RV7YBSMZ.js +281 -0
  188. package/dist/grin2-4MYLICII.js +75 -0
  189. package/dist/grin2-4MYLICII.js.map +7 -0
  190. package/dist/grin2-RBK4NI6W.js +967 -0
  191. package/dist/grin2-RBK4NI6W.js.map +7 -0
  192. package/dist/gsea-XUMCVLFK.js +47 -0
  193. package/dist/hierCluster-HXOTNMC5.js +63 -0
  194. package/dist/hierCluster-PEDY7OTZ.js +59 -0
  195. package/dist/hierCluster.config-RKYCGNWW.js +40 -0
  196. package/dist/hierCluster.integration.spec-YKMAT7UU.js +395 -0
  197. package/dist/hierCluster.interactivity-LPTHVWHR.js +54 -0
  198. package/dist/hierCluster.renderers-4XWKHCNW.js +21 -0
  199. package/dist/imagePlot-3DF7ZH3U.js +163 -0
  200. package/dist/importPlot-N74SV3TL.js +8 -0
  201. package/dist/isoformExpression-FU7Y4OGU.js +40 -0
  202. package/dist/isoformExpression.unit.spec-BLQDKV37.js +208 -0
  203. package/dist/launch.adhoc-Y35FZV6H.js +42 -0
  204. package/dist/leftlabel.sample-ERJGAYTF.js +264 -0
  205. package/dist/leftlabel.sample-ERJGAYTF.js.map +7 -0
  206. package/dist/lollipop-DU37Q5E2.js +171 -0
  207. package/dist/maf-NRLSNDOT.js +452 -0
  208. package/dist/maftimeline-GRXGOOSJ.js +593 -0
  209. package/dist/matrix-G3BULZ7Y.js +58 -0
  210. package/dist/matrix-TCTX26A4.js +63 -0
  211. package/dist/matrix.cells-ED6RS5EC.js +28 -0
  212. package/dist/matrix.config-QHO2YNOT.js +41 -0
  213. package/dist/matrix.data-KQFMXWRX.js +25 -0
  214. package/dist/matrix.groups-RE74EFLY.js +27 -0
  215. package/dist/matrix.integration.spec-Y4FCZ2Q2.js +3072 -0
  216. package/dist/matrix.interactivity-3DW5WAM3.js +42 -0
  217. package/dist/matrix.layout-W57D765I.js +44 -0
  218. package/dist/matrix.legend-ZST44PIB.js +22 -0
  219. package/dist/matrix.renderers-NFRKXO7Y.js +38 -0
  220. package/dist/matrix.serieses-6ZKTFVWY.js +21 -0
  221. package/dist/matrix.sort-2UE47IOC.js +27 -0
  222. package/dist/matrix.sort.unit.spec-5CMWEXPE.js +472 -0
  223. package/dist/matrix.sorterUi-WC2YX7S7.js +18 -0
  224. package/dist/matrix.sorterUi.unit.spec-Y2HXWHJN.js +342 -0
  225. package/dist/mavb-BI4XKI5P.js +732 -0
  226. package/dist/mds.fimo-UJYESPNC.js +518 -0
  227. package/dist/mds.samplescatterplot-JKU5B4QR.js +1550 -0
  228. package/dist/mds.survivalplot-OP7Y4D3L.js +483 -0
  229. package/dist/numericDictTermCluster-DRIEJJSP.js +72 -0
  230. package/dist/oncomatrix-A3IE47HV.js +295 -0
  231. package/dist/oncomatrix.spec-TDWB2ROF.js +448 -0
  232. package/dist/plot.2dvaf-XY34TDSM.js +377 -0
  233. package/dist/plot.app-WRCBLYGO.js +41 -0
  234. package/dist/plot.barplot-RXGOUNHM.js +102 -0
  235. package/dist/plot.boxplot-GBZGSS3D.js +152 -0
  236. package/dist/plot.brainImaging-DYPKMNHL.js +51 -0
  237. package/dist/plot.disco-5K2SCKJ4.js +102 -0
  238. package/dist/plot.dzi-THJIFHIS.js +33 -0
  239. package/dist/plot.ssgq-FSIUIV3A.js +139 -0
  240. package/dist/plot.vaf2cov-HP6KEBVJ.js +259 -0
  241. package/dist/plot.wsi-MR6JMOXW.js +36 -0
  242. package/dist/polar2-IT3OF5DX.js +231 -0
  243. package/dist/profileForms-XXGJVF2T.js +446 -0
  244. package/dist/profilePlot-J2C35OEY.js +54 -0
  245. package/dist/proteinView-7FDCILPH.js +1556 -0
  246. package/dist/qualitative-N7S2JHZM.js +43 -0
  247. package/dist/radar2-CDDOQGQX.js +326 -0
  248. package/dist/radarFacility2-ZQTHO2ON.js +334 -0
  249. package/dist/regression-PBGAMZAV.js +56 -0
  250. package/dist/regression.inputs-54E5YKI4.js +48 -0
  251. package/dist/regression.inputs.term-52MBTMVM.js +48 -0
  252. package/dist/regression.inputs.values.table-F3FOAYFV.js +45 -0
  253. package/dist/regression.integration.spec-M4RPJUE4.js +784 -0
  254. package/dist/regression.results-JOK6I2ZD.js +40 -0
  255. package/dist/regression.spec-O4HZB2HQ.js +708 -0
  256. package/dist/report-BDDTM7SV.js +222 -0
  257. package/dist/sampleScatter.spec-272GLYEK.js +202 -0
  258. package/dist/sampleView-E6OHEEP4.js +48 -0
  259. package/dist/samplelst-3LNF3DBG.js +111 -0
  260. package/dist/samplematrix-HL445X7I.js +2198 -0
  261. package/dist/sc-4LELHVIS.js +86 -0
  262. package/dist/scatter-IZIZURQD.js +851 -0
  263. package/dist/scatter.integration.spec-BBEWMA7M.js +1206 -0
  264. package/dist/selectGenomeWithTklst-5LQGT4Z7.js +134 -0
  265. package/dist/singleCellCellType-T3ZT64EK.js +38 -0
  266. package/dist/singleCellCellType.unit.spec-AE4IAHOF.js +160 -0
  267. package/dist/singleCellGeneExpression-SRJXSDEB.js +38 -0
  268. package/dist/singleCellGeneExpression.unit.spec-EPL73UUO.js +153 -0
  269. package/dist/singleCellPlot-P2BHFTYZ.js +54 -0
  270. package/dist/singlecell-32SSD7VN.js +1572 -0
  271. package/dist/singlecell-7KRD5DP7.js +86 -0
  272. package/dist/snp-LE5R377N.js +38 -0
  273. package/dist/snp.unit.spec-UY6KQ5NJ.js +176 -0
  274. package/dist/snplocus-CP34ABUJ.js +208 -0
  275. package/dist/spliceevent.a53ss.diagram-JWLWQDNJ.js +151 -0
  276. package/dist/spliceevent.exonskip.diagram-C5526P7P.js +277 -0
  277. package/dist/spliceevent.noeventdiagram-352M63YB.js +460 -0
  278. package/dist/ssGSEA-BFTCECV3.js +38 -0
  279. package/dist/ssGSEA.unit.spec-4OUCKRDQ.js +88 -0
  280. package/dist/summarizeCnvGeneexp-Y3AWFIZA.js +163 -0
  281. package/dist/summarizeGeneexpSurvival-U5JSPG22.js +108 -0
  282. package/dist/summarizeMutationCnv-KCOVQEBC.js +164 -0
  283. package/dist/summarizeMutationDiagnosis-EQXEQABW.js +40 -0
  284. package/dist/summarizeMutationSurvival-4VGLG4SC.js +99 -0
  285. package/dist/summary-DXYCBNI4.js +49 -0
  286. package/dist/summary.integration.spec-MZTJISLP.js +414 -0
  287. package/dist/summaryInput-5Z3XVIL6.js +235 -0
  288. package/dist/sunburst-WVSQJYP2.js +284 -0
  289. package/dist/survival-3R3J2JBE.js +46 -0
  290. package/dist/survival-XQWFVGCJ.js +58 -0
  291. package/dist/survival.integration.spec-EBDPIBYM.js +821 -0
  292. package/dist/svgraph-SY2HVMYL.js +1387 -0
  293. package/dist/svmr-TIIMFKG7.js +3842 -0
  294. package/dist/table-5RFTXIQL.js +200 -0
  295. package/dist/termCollection-23QXTZDN.js +38 -0
  296. package/dist/termCollection-7KXABWVW.js +179 -0
  297. package/dist/termCollection.unit.spec-4AN2Z4PQ.js +208 -0
  298. package/dist/tk-WW6PJGPQ.js +46 -0
  299. package/dist/tp.ui-S5PO3MPH.js +1459 -0
  300. package/dist/tvs.dt-O7LUM5TK.js +39 -0
  301. package/dist/tvs.dtcnv.categorical-2OUFOD3W.js +40 -0
  302. package/dist/tvs.dtcnv.continuous-NOOUY5SZ.js +72 -0
  303. package/dist/tvs.dtfusion-KXQMP3UF.js +40 -0
  304. package/dist/tvs.dtsnvindel-PWHFTWZU.js +40 -0
  305. package/dist/tvs.dtsv-25FLS572.js +40 -0
  306. package/dist/tvs.samplelst-FLXNJFIV.js +104 -0
  307. package/dist/tvs.termCollection-PSVOMJE4.js +159 -0
  308. package/dist/violin-SWMEFWRA.js +46 -0
  309. package/dist/violin.integration.spec-6EQ6GC2N.js +1425 -0
  310. package/dist/violin.interactivity-WBIWPLSM.js +38 -0
  311. package/dist/violin.renderer-3WARZUOH.js +40 -0
  312. package/dist/vocabulary-WLHYHDX7.js +41 -0
  313. package/package.json +2 -2
  314. package/dist/2dmaf-BNMEUJVM.js +0 -1373
  315. package/dist/AIProjectAdmin-AEXQY5LY.js +0 -958
  316. package/dist/AppHeader-RXDJBHXZ.js +0 -835
  317. package/dist/BoxPlot-HDP3SIGU.js +0 -1217
  318. package/dist/CorrelationVolcano-V2E566XL.js +0 -619
  319. package/dist/DE-7YUZSW4E.js +0 -95
  320. package/dist/DEinput-P2HOQC4Z.js +0 -301
  321. package/dist/DifferentialAnalysis-2Z6BHS7A.js +0 -245
  322. package/dist/Disco-ZLC54X7T.js +0 -3297
  323. package/dist/Disco.UI-LXJJYQVV.js +0 -249
  324. package/dist/DmrPlot-OEJRGNI3.js +0 -642
  325. package/dist/GB-2GHDD3MW.js +0 -1130
  326. package/dist/GB-2GHDD3MW.js.map +0 -7
  327. package/dist/GeneExpInput-PWLPDLYT.js +0 -367
  328. package/dist/HicApp-CAYC4DPO.js +0 -2250
  329. package/dist/NumBinaryEditor-EUOYSGPM.js +0 -271
  330. package/dist/NumBinaryEditor.unit.spec-5B3W4B4F.js +0 -286
  331. package/dist/NumContEditor-7KK6CIB3.js +0 -109
  332. package/dist/NumContEditor.unit.spec-IMKGVYFZ.js +0 -169
  333. package/dist/NumCustomBinEditor-PDAF6I7B.js +0 -38
  334. package/dist/NumCustomBinEditor.unit.spec-IU3DPECJ.js +0 -284
  335. package/dist/NumDiscreteEditor-YTKUHG6Z.js +0 -179
  336. package/dist/NumDiscreteEditor.unit.spec-FUBS7Z7Z.js +0 -202
  337. package/dist/NumRegularBinEditor-LU3KLBLY.js +0 -38
  338. package/dist/NumRegularBinEditor.unit.spec-2BKOHI7L.js +0 -227
  339. package/dist/NumSplineEditor-56RJ2HT2.js +0 -198
  340. package/dist/NumSplineEditor.unit.spec-PW6VUUBZ.js +0 -199
  341. package/dist/NumericDensity-EB4H54EF.js +0 -38
  342. package/dist/NumericDensity.unit.spec-LSEM4OEY.js +0 -221
  343. package/dist/NumericHandler-VGPDXP35.js +0 -39
  344. package/dist/NumericHandler.unit.spec-NR3F7XHV.js +0 -219
  345. package/dist/ProteomeInput-AUXWUIWK.js +0 -396
  346. package/dist/RunChart2-SQ6TFOHD.js +0 -758
  347. package/dist/SC-OWJ6LYIW.js +0 -1124
  348. package/dist/SC-OWJ6LYIW.js.map +0 -7
  349. package/dist/Volcano-XHDH6UN7.js +0 -1379
  350. package/dist/WSIViewer-WT2QV747.js +0 -48562
  351. package/dist/WsiSamplesPlot-YUOAWG2A.js +0 -165
  352. package/dist/adSandbox-VMMAL22L.js +0 -38
  353. package/dist/animatedBubbleChart-Q6Z5W2UL.js +0 -555
  354. package/dist/app-FX3KZ67X.js +0 -37
  355. package/dist/app-X7ZYEOZN.js +0 -49
  356. package/dist/bam-ZYLH4U5R.js +0 -860
  357. package/dist/barchart-MXSPTKV4.js +0 -47
  358. package/dist/barchart.data-ZWF6EVJH.js +0 -22
  359. package/dist/barchart.events-XON2ANOC.js +0 -47
  360. package/dist/barchart.integration.spec-PJIENJGT.js +0 -1980
  361. package/dist/barchart.integration.spec-PJIENJGT.js.map +0 -7
  362. package/dist/barchart2-HIKBGSSE.js +0 -314
  363. package/dist/block-EGPYVWNP.js +0 -6226
  364. package/dist/block.init-IJBRPZNM.js +0 -38
  365. package/dist/block.mds.expressionrank-3DANCP7E.js +0 -359
  366. package/dist/block.mds.geneboxplot-CRGSCZMG.js +0 -828
  367. package/dist/block.mds.junction-4UIH2ZYN.js +0 -1545
  368. package/dist/block.mds.svcnv-NF4UIRR2.js +0 -6801
  369. package/dist/block.svg-AIZ47JCQ.js +0 -164
  370. package/dist/block.tk.aicheck-7HZFGE63.js +0 -283
  371. package/dist/block.tk.ase-U3VNPZEA.js +0 -365
  372. package/dist/block.tk.bam-4TQ7P2OX.js +0 -1906
  373. package/dist/block.tk.bedgraphdot-MYHKKO6K.js +0 -384
  374. package/dist/block.tk.bigwig.ui-E3YVGIDN.js +0 -212
  375. package/dist/block.tk.hicstraw-Y4XOMG7T.js +0 -823
  376. package/dist/block.tk.junction-T5C7LK6F.js +0 -2364
  377. package/dist/block.tk.junction.textmatrixui-Z3ACCVXH.js +0 -199
  378. package/dist/block.tk.ld-Y5KDA5AU.js +0 -99
  379. package/dist/block.tk.menu-EWRRISDY.js +0 -1029
  380. package/dist/block.tk.pgv-3JYGOZVQ.js +0 -944
  381. package/dist/brainImaging-P3AF3C5N.js +0 -423
  382. package/dist/brainRegions-YA2H2QOI.js +0 -221
  383. package/dist/chunk-2JR7RPB6.js +0 -1825
  384. package/dist/chunk-2U2CP2Y2.js +0 -317
  385. package/dist/chunk-2U2CP2Y2.js.map +0 -7
  386. package/dist/chunk-3BBK6A4X.js +0 -176
  387. package/dist/chunk-3FVIDQOX.js +0 -54
  388. package/dist/chunk-3K2O2NIH.js +0 -446
  389. package/dist/chunk-3RSJU6YM.js +0 -2681
  390. package/dist/chunk-3ZKD6C5S.js +0 -34
  391. package/dist/chunk-46AEH34Z.js +0 -95
  392. package/dist/chunk-4CQVC6XL.js +0 -182
  393. package/dist/chunk-5FXNI724.js +0 -216
  394. package/dist/chunk-6JHIX4RA.js +0 -4269
  395. package/dist/chunk-7PFRBGMN.js +0 -129
  396. package/dist/chunk-7R63MAPC.js +0 -448
  397. package/dist/chunk-A4Z3CI24.js +0 -276
  398. package/dist/chunk-AI2LUQS6.js +0 -119
  399. package/dist/chunk-AJYJW4LX.js +0 -6364
  400. package/dist/chunk-BMS32SNA.js +0 -37
  401. package/dist/chunk-C4BCMAIK.js +0 -188
  402. package/dist/chunk-C4BCMAIK.js.map +0 -7
  403. package/dist/chunk-CJPGYPI3.js +0 -291
  404. package/dist/chunk-CTQH7LQ6.js +0 -31
  405. package/dist/chunk-D5CVYITI.js +0 -203
  406. package/dist/chunk-DMSX5PSO.js +0 -477
  407. package/dist/chunk-E3JRW3T3.js +0 -1102
  408. package/dist/chunk-E574SMCX.js +0 -283
  409. package/dist/chunk-E76O5Z42.js +0 -98
  410. package/dist/chunk-EEW443GL.js +0 -14
  411. package/dist/chunk-EVNMW7BS.js +0 -833
  412. package/dist/chunk-F2WPS7VY.js +0 -1943
  413. package/dist/chunk-FDPWWODM.js +0 -2832
  414. package/dist/chunk-FDPWWODM.js.map +0 -7
  415. package/dist/chunk-FVHUROIJ.js +0 -446
  416. package/dist/chunk-FVHUROIJ.js.map +0 -7
  417. package/dist/chunk-FYFX42YD.js +0 -222
  418. package/dist/chunk-G6RZYGWY.js +0 -386
  419. package/dist/chunk-GTZV2UZV.js +0 -736
  420. package/dist/chunk-H34LAFGH.js +0 -142
  421. package/dist/chunk-I2R5O2XX.js +0 -263
  422. package/dist/chunk-IEYDMN3H.js +0 -26
  423. package/dist/chunk-JWBP4ZZB.js +0 -148
  424. package/dist/chunk-KUZPTJJO.js +0 -20874
  425. package/dist/chunk-KUZPTJJO.js.map +0 -7
  426. package/dist/chunk-KVIH5JPC.js +0 -1275
  427. package/dist/chunk-L5HCOTRF.js +0 -302
  428. package/dist/chunk-LHKDLWG5.js +0 -194
  429. package/dist/chunk-M7UKOCJA.js +0 -234
  430. package/dist/chunk-MHFH66I3.js +0 -1289
  431. package/dist/chunk-MP3DN6JK.js +0 -117
  432. package/dist/chunk-N5OVBS5L.js +0 -2786
  433. package/dist/chunk-NEKAGDTL.js +0 -58
  434. package/dist/chunk-NPCNDM6Y.js +0 -54
  435. package/dist/chunk-NYN2WQN3.js +0 -100
  436. package/dist/chunk-O6WL7USJ.js +0 -343
  437. package/dist/chunk-OH5I6I2D.js +0 -368
  438. package/dist/chunk-PDFCQ7AU.js +0 -5054
  439. package/dist/chunk-PDFCQ7AU.js.map +0 -7
  440. package/dist/chunk-PSJVMAWA.js +0 -294
  441. package/dist/chunk-PSJVMAWA.js.map +0 -7
  442. package/dist/chunk-PTQ774XH.js +0 -514
  443. package/dist/chunk-PXOH4ZN2.js +0 -399
  444. package/dist/chunk-QG4BJUM7.js +0 -102
  445. package/dist/chunk-R7AV73BV.js +0 -617
  446. package/dist/chunk-RITTG5WN.js +0 -158
  447. package/dist/chunk-SMSFTTEO.js +0 -272
  448. package/dist/chunk-TBZKVKR4.js +0 -50
  449. package/dist/chunk-TLTS33EY.js +0 -287
  450. package/dist/chunk-TMM7BWW7.js +0 -381
  451. package/dist/chunk-TTC4MNEM.js +0 -2327
  452. package/dist/chunk-UQ5CDHYF.js +0 -1218
  453. package/dist/chunk-UQ5CDHYF.js.map +0 -7
  454. package/dist/chunk-UXIZYI3X.js +0 -226
  455. package/dist/chunk-VIUATDO2.js +0 -170
  456. package/dist/chunk-VIUDFDN4.js +0 -102
  457. package/dist/chunk-W5OEFZCR.js +0 -254
  458. package/dist/chunk-WXSRK3XR.js +0 -534
  459. package/dist/chunk-XHGMDBTS.js +0 -230
  460. package/dist/chunk-XQ2OBL6R.js +0 -1205
  461. package/dist/chunk-XVGS3QXS.js +0 -55
  462. package/dist/chunk-XYNYQMLH.js +0 -482
  463. package/dist/chunk-Y4JJMUWG.js +0 -217
  464. package/dist/chunk-Z457XQSX.js +0 -815
  465. package/dist/chunk-ZF6HNVYD.js +0 -1444
  466. package/dist/condition-QXTOTGZX.js +0 -332
  467. package/dist/controls-7TDB75LK.js +0 -41
  468. package/dist/controls.config-IBF5ILFP.js +0 -39
  469. package/dist/correlation-M2T5R7CM.js +0 -102
  470. package/dist/cuminc-CAHPKW7W.js +0 -1149
  471. package/dist/cuminc.integration.spec-NNSQGBRI.js +0 -678
  472. package/dist/customdata.inputui-RRTQK7OK.js +0 -289
  473. package/dist/dataDownload-SOUCBKXM.js +0 -330
  474. package/dist/dataDownload.integration.spec-C6TLWSSO.js +0 -193
  475. package/dist/databrowser.ui-KLFEU5QA.js +0 -433
  476. package/dist/dictionary-RUT5VXDD.js +0 -118
  477. package/dist/dnaMethylation-WOKGG33W.js +0 -38
  478. package/dist/dnaMethylation.integration.spec-YUPP42UK.js +0 -203
  479. package/dist/dofetch-V7PLLWSO.js +0 -51
  480. package/dist/e2pca-VT7EM4E3.js +0 -350
  481. package/dist/ep-X6B43UXE.js +0 -1256
  482. package/dist/expclust.gdc.spec-DTBFOXBC.js +0 -307
  483. package/dist/facet-T5ZX7ZGV.js +0 -521
  484. package/dist/forms2-S5OGBFKL.js +0 -539
  485. package/dist/gb-TWXREZIP.js +0 -88
  486. package/dist/geneExpClustering-2G6YDCIN.js +0 -249
  487. package/dist/geneExpression-2A4ZPT7K.js +0 -38
  488. package/dist/geneExpression-ZHQH6SNA.js +0 -313
  489. package/dist/geneExpression.unit.spec-2M223S4P.js +0 -102
  490. package/dist/geneORA-YLIRUMCZ.js +0 -278
  491. package/dist/geneRanking-JDJXNGEC.js +0 -551
  492. package/dist/geneVariant-5ZIOT5BT.js +0 -39
  493. package/dist/geneVariant-GIXIMJ2I.js +0 -41
  494. package/dist/geneVariant.integration.spec-QCROW73S.js +0 -198
  495. package/dist/genefusion.ui-56UQLUKJ.js +0 -309
  496. package/dist/geneset-ACRMGBJO.js +0 -208
  497. package/dist/genomeBrowser.spec-EDILOQON.js +0 -281
  498. package/dist/grin2-5P7CYUT7.js +0 -1560
  499. package/dist/grin2-5P7CYUT7.js.map +0 -7
  500. package/dist/grin2-GNB35CMF.js +0 -871
  501. package/dist/grin2-GNB35CMF.js.map +0 -7
  502. package/dist/gsea-2PQ5HNNT.js +0 -47
  503. package/dist/hierCluster-H5HB7FPW.js +0 -63
  504. package/dist/hierCluster-L3LCP2II.js +0 -59
  505. package/dist/hierCluster.config-6UIJWCND.js +0 -40
  506. package/dist/hierCluster.integration.spec-EVAPT2VF.js +0 -395
  507. package/dist/hierCluster.interactivity-7MW6ZT6O.js +0 -54
  508. package/dist/hierCluster.renderers-F34EVY5J.js +0 -21
  509. package/dist/imagePlot-RSFZ2OKD.js +0 -163
  510. package/dist/importPlot-DQFWY5A7.js +0 -8
  511. package/dist/isoformExpression-2KANPCBH.js +0 -40
  512. package/dist/isoformExpression.unit.spec-6FSMHT4K.js +0 -208
  513. package/dist/launch.adhoc-ZYTIRVIC.js +0 -42
  514. package/dist/leftlabel.sample-66U6MHPN.js +0 -260
  515. package/dist/leftlabel.sample-66U6MHPN.js.map +0 -7
  516. package/dist/lollipop-PJDUFWEY.js +0 -171
  517. package/dist/maf-DLJHCKHJ.js +0 -452
  518. package/dist/maftimeline-NK5QYJMJ.js +0 -593
  519. package/dist/matrix-7BFYR6QL.js +0 -63
  520. package/dist/matrix-USAB2CHO.js +0 -58
  521. package/dist/matrix.cells-OTAXAJ4N.js +0 -28
  522. package/dist/matrix.config-AL4WSFZ7.js +0 -41
  523. package/dist/matrix.data-BDHCSN2G.js +0 -25
  524. package/dist/matrix.groups-MV2D2636.js +0 -27
  525. package/dist/matrix.integration.spec-DESORC2Y.js +0 -3072
  526. package/dist/matrix.interactivity-H7EJW3P2.js +0 -42
  527. package/dist/matrix.layout-7CAS2IBO.js +0 -44
  528. package/dist/matrix.legend-JDVG2JDF.js +0 -22
  529. package/dist/matrix.renderers-PDR5FIBC.js +0 -38
  530. package/dist/matrix.serieses-QVDS5HKK.js +0 -21
  531. package/dist/matrix.sort-HCK4CSTJ.js +0 -27
  532. package/dist/matrix.sort.unit.spec-2GC4E26N.js +0 -472
  533. package/dist/matrix.sorterUi-XGBQOPG4.js +0 -18
  534. package/dist/matrix.sorterUi.unit.spec-BJQKDU2F.js +0 -342
  535. package/dist/mavb-6E6Z4LPK.js +0 -732
  536. package/dist/mds.fimo-5P2TK5U4.js +0 -518
  537. package/dist/mds.samplescatterplot-KLKOD4AS.js +0 -1550
  538. package/dist/mds.survivalplot-SWQCOFIU.js +0 -483
  539. package/dist/numericDictTermCluster-WIVO33AV.js +0 -72
  540. package/dist/oncomatrix-SDUUQZCK.js +0 -295
  541. package/dist/oncomatrix.spec-YGQYIUDT.js +0 -448
  542. package/dist/plot.2dvaf-K53KTP5W.js +0 -377
  543. package/dist/plot.app-FNJVWLPQ.js +0 -41
  544. package/dist/plot.barplot-VTC3N6BR.js +0 -102
  545. package/dist/plot.boxplot-RJFGQSLA.js +0 -152
  546. package/dist/plot.brainImaging-6KVNPPMT.js +0 -51
  547. package/dist/plot.disco-ZFH5RK6B.js +0 -102
  548. package/dist/plot.dzi-IA2SOFUD.js +0 -33
  549. package/dist/plot.ssgq-QARGQVKB.js +0 -139
  550. package/dist/plot.vaf2cov-2JUXYCPG.js +0 -259
  551. package/dist/plot.wsi-C2DULA7U.js +0 -36
  552. package/dist/polar2-3HS3QBU6.js +0 -231
  553. package/dist/profileForms-Y6ZBMZWQ.js +0 -446
  554. package/dist/profilePlot-SVI3QKMD.js +0 -54
  555. package/dist/proteinView-YPFJSBL7.js +0 -1556
  556. package/dist/qualitative-AQFKAZID.js +0 -43
  557. package/dist/radar2-TTQZLARY.js +0 -326
  558. package/dist/radarFacility2-YGS56QUA.js +0 -334
  559. package/dist/regression-DLPBCDZT.js +0 -56
  560. package/dist/regression.inputs-42LY4MEZ.js +0 -48
  561. package/dist/regression.inputs.term-TTUFFPG6.js +0 -48
  562. package/dist/regression.inputs.values.table-CJAPTSMS.js +0 -45
  563. package/dist/regression.integration.spec-UDA26OGS.js +0 -784
  564. package/dist/regression.results-IA3C7SHR.js +0 -40
  565. package/dist/regression.spec-HEXCL3QV.js +0 -708
  566. package/dist/report-4CFOWNPJ.js +0 -222
  567. package/dist/sampleScatter.spec-N6V4BQ5Q.js +0 -202
  568. package/dist/sampleView-CZF7U23I.js +0 -48
  569. package/dist/samplelst-XUGDS5TU.js +0 -111
  570. package/dist/samplematrix-R5PZLZDE.js +0 -2198
  571. package/dist/sc-WTZZA5J5.js +0 -86
  572. package/dist/scatter-EY7HQVCO.js +0 -851
  573. package/dist/scatter.integration.spec-CRMLFO4J.js +0 -1206
  574. package/dist/selectGenomeWithTklst-2S2MXVCI.js +0 -134
  575. package/dist/singleCellCellType-LJWFG7MY.js +0 -38
  576. package/dist/singleCellCellType.unit.spec-RGN2XVUR.js +0 -160
  577. package/dist/singleCellGeneExpression-IW2QXTTU.js +0 -38
  578. package/dist/singleCellGeneExpression.unit.spec-4PO3Q7TM.js +0 -153
  579. package/dist/singleCellPlot-6EZ6JXCM.js +0 -54
  580. package/dist/singlecell-3LFPQ6KO.js +0 -86
  581. package/dist/singlecell-NTTAVVMR.js +0 -1572
  582. package/dist/snp-XB4IBG4Z.js +0 -38
  583. package/dist/snp.unit.spec-HAJPM53L.js +0 -176
  584. package/dist/snplocus-HE6TITSX.js +0 -208
  585. package/dist/spliceevent.a53ss.diagram-TCZMBMD7.js +0 -151
  586. package/dist/spliceevent.exonskip.diagram-VESOF6UC.js +0 -277
  587. package/dist/spliceevent.noeventdiagram-4K7FMO4F.js +0 -460
  588. package/dist/ssGSEA-2XYMX36P.js +0 -38
  589. package/dist/ssGSEA.unit.spec-J36KM2HO.js +0 -88
  590. package/dist/summarizeCnvGeneexp-LYVDZXXD.js +0 -163
  591. package/dist/summarizeGeneexpSurvival-Y52TGAHF.js +0 -108
  592. package/dist/summarizeMutationCnv-6EEJT3PV.js +0 -164
  593. package/dist/summarizeMutationDiagnosis-HZKXHOOQ.js +0 -40
  594. package/dist/summarizeMutationSurvival-TU7TQYFQ.js +0 -99
  595. package/dist/summary-4QQZUAMU.js +0 -49
  596. package/dist/summary.integration.spec-SLIIM4HN.js +0 -414
  597. package/dist/summaryInput-6HROPKCE.js +0 -235
  598. package/dist/sunburst-MBJJPERL.js +0 -284
  599. package/dist/survival-CXLMQSV2.js +0 -58
  600. package/dist/survival-QSL2KDKD.js +0 -46
  601. package/dist/survival.integration.spec-EUAAALVW.js +0 -821
  602. package/dist/svgraph-JM5MHQDX.js +0 -1387
  603. package/dist/svmr-MCMST2FL.js +0 -3842
  604. package/dist/table-MVX3IMAL.js +0 -200
  605. package/dist/termCollection-FZ2SCVA7.js +0 -38
  606. package/dist/termCollection-IGC7REFK.js +0 -179
  607. package/dist/termCollection.unit.spec-VY2EZZIP.js +0 -208
  608. package/dist/tk-5F3TWZ2G.js +0 -46
  609. package/dist/tp.ui-IURWTMAS.js +0 -1459
  610. package/dist/tvs.dt-BPZCFPYK.js +0 -39
  611. package/dist/tvs.dtcnv.categorical-UFS62DTR.js +0 -40
  612. package/dist/tvs.dtcnv.continuous-R6YXNNLA.js +0 -72
  613. package/dist/tvs.dtfusion-FGXXS4XX.js +0 -40
  614. package/dist/tvs.dtsnvindel-DR43K7X3.js +0 -40
  615. package/dist/tvs.dtsv-NO34GIOL.js +0 -40
  616. package/dist/tvs.samplelst-2QP7IV2Y.js +0 -104
  617. package/dist/tvs.termCollection-UEJDG22G.js +0 -159
  618. package/dist/violin-NBZTGGYF.js +0 -46
  619. package/dist/violin.integration.spec-5CLYJSAR.js +0 -1425
  620. package/dist/violin.interactivity-KXVKTT22.js +0 -38
  621. package/dist/violin.renderer-37OF6K7Q.js +0 -40
  622. package/dist/vocabulary-GR6J3VKW.js +0 -41
  623. /package/dist/{2dmaf-BNMEUJVM.js.map → 2dmaf-US2ZAJJJ.js.map} +0 -0
  624. /package/dist/{AIProjectAdmin-AEXQY5LY.js.map → AIProjectAdmin-QQO2PNAJ.js.map} +0 -0
  625. /package/dist/{AppHeader-RXDJBHXZ.js.map → AppHeader-UKB344GC.js.map} +0 -0
  626. /package/dist/{BoxPlot-HDP3SIGU.js.map → BoxPlot-JEBLRKBY.js.map} +0 -0
  627. /package/dist/{CorrelationVolcano-V2E566XL.js.map → CorrelationVolcano-J3IFVSZB.js.map} +0 -0
  628. /package/dist/{DE-7YUZSW4E.js.map → DE-PAPJP6AH.js.map} +0 -0
  629. /package/dist/{DEinput-P2HOQC4Z.js.map → DEinput-YON466QQ.js.map} +0 -0
  630. /package/dist/{DifferentialAnalysis-2Z6BHS7A.js.map → DifferentialAnalysis-DEUODXGG.js.map} +0 -0
  631. /package/dist/{Disco-ZLC54X7T.js.map → Disco-OZM4S7HF.js.map} +0 -0
  632. /package/dist/{Disco.UI-LXJJYQVV.js.map → Disco.UI-VIHYJGYU.js.map} +0 -0
  633. /package/dist/{DmrPlot-OEJRGNI3.js.map → DmrPlot-DSELMC4E.js.map} +0 -0
  634. /package/dist/{GeneExpInput-PWLPDLYT.js.map → GeneExpInput-3AQEPTFZ.js.map} +0 -0
  635. /package/dist/{HicApp-CAYC4DPO.js.map → HicApp-BP7PSXY2.js.map} +0 -0
  636. /package/dist/{NumBinaryEditor-EUOYSGPM.js.map → NumBinaryEditor-CHWQT445.js.map} +0 -0
  637. /package/dist/{NumBinaryEditor.unit.spec-5B3W4B4F.js.map → NumBinaryEditor.unit.spec-MXRNK7XH.js.map} +0 -0
  638. /package/dist/{NumContEditor-7KK6CIB3.js.map → NumContEditor-XS3RA7GY.js.map} +0 -0
  639. /package/dist/{NumContEditor.unit.spec-IMKGVYFZ.js.map → NumContEditor.unit.spec-662MHSP4.js.map} +0 -0
  640. /package/dist/{NumCustomBinEditor-PDAF6I7B.js.map → NumCustomBinEditor-LUVIAXMZ.js.map} +0 -0
  641. /package/dist/{NumCustomBinEditor.unit.spec-IU3DPECJ.js.map → NumCustomBinEditor.unit.spec-3D3GY3F4.js.map} +0 -0
  642. /package/dist/{NumDiscreteEditor-YTKUHG6Z.js.map → NumDiscreteEditor-24W2A5IN.js.map} +0 -0
  643. /package/dist/{NumDiscreteEditor.unit.spec-FUBS7Z7Z.js.map → NumDiscreteEditor.unit.spec-B5T42Z5S.js.map} +0 -0
  644. /package/dist/{NumRegularBinEditor-LU3KLBLY.js.map → NumRegularBinEditor-AING4HZ5.js.map} +0 -0
  645. /package/dist/{NumRegularBinEditor.unit.spec-2BKOHI7L.js.map → NumRegularBinEditor.unit.spec-UKSVZH2S.js.map} +0 -0
  646. /package/dist/{NumSplineEditor-56RJ2HT2.js.map → NumSplineEditor-54KNKHJX.js.map} +0 -0
  647. /package/dist/{NumSplineEditor.unit.spec-PW6VUUBZ.js.map → NumSplineEditor.unit.spec-5FTST3Y5.js.map} +0 -0
  648. /package/dist/{NumericDensity-EB4H54EF.js.map → NumericDensity-C7DQZ5Q5.js.map} +0 -0
  649. /package/dist/{NumericDensity.unit.spec-LSEM4OEY.js.map → NumericDensity.unit.spec-HV6SD3ZS.js.map} +0 -0
  650. /package/dist/{NumericHandler-VGPDXP35.js.map → NumericHandler-FV3L23EC.js.map} +0 -0
  651. /package/dist/{NumericHandler.unit.spec-NR3F7XHV.js.map → NumericHandler.unit.spec-E72DXVBB.js.map} +0 -0
  652. /package/dist/{ProteomeInput-AUXWUIWK.js.map → ProteomeInput-3XTK74SN.js.map} +0 -0
  653. /package/dist/{RunChart2-SQ6TFOHD.js.map → RunChart2-X5FBZVRX.js.map} +0 -0
  654. /package/dist/{Volcano-XHDH6UN7.js.map → Volcano-2USCTLKO.js.map} +0 -0
  655. /package/dist/{WSIViewer-WT2QV747.js.map → WSIViewer-U6VSJUFF.js.map} +0 -0
  656. /package/dist/{WsiSamplesPlot-YUOAWG2A.js.map → WsiSamplesPlot-VIKSG63U.js.map} +0 -0
  657. /package/dist/{adSandbox-VMMAL22L.js.map → adSandbox-VXUJGPD3.js.map} +0 -0
  658. /package/dist/{animatedBubbleChart-Q6Z5W2UL.js.map → animatedBubbleChart-4P7XLKSB.js.map} +0 -0
  659. /package/dist/{app-FX3KZ67X.js.map → app-KHZT2BVF.js.map} +0 -0
  660. /package/dist/{app-X7ZYEOZN.js.map → app-XLYH3YPL.js.map} +0 -0
  661. /package/dist/{bam-ZYLH4U5R.js.map → bam-C23ZARYE.js.map} +0 -0
  662. /package/dist/{barchart-MXSPTKV4.js.map → barchart-KGXLYEIP.js.map} +0 -0
  663. /package/dist/{barchart.data-ZWF6EVJH.js.map → barchart.data-7OI5GZZ6.js.map} +0 -0
  664. /package/dist/{barchart.events-XON2ANOC.js.map → barchart.events-3KDNIFBG.js.map} +0 -0
  665. /package/dist/{barchart2-HIKBGSSE.js.map → barchart2-AT5FXOUY.js.map} +0 -0
  666. /package/dist/{block-EGPYVWNP.js.map → block-TCWYUB4R.js.map} +0 -0
  667. /package/dist/{block.init-IJBRPZNM.js.map → block.init-7FHXQJNE.js.map} +0 -0
  668. /package/dist/{block.mds.expressionrank-3DANCP7E.js.map → block.mds.expressionrank-UGZQK7Z3.js.map} +0 -0
  669. /package/dist/{block.mds.geneboxplot-CRGSCZMG.js.map → block.mds.geneboxplot-2CQLB4YN.js.map} +0 -0
  670. /package/dist/{block.mds.junction-4UIH2ZYN.js.map → block.mds.junction-JHPHWVOS.js.map} +0 -0
  671. /package/dist/{block.mds.svcnv-NF4UIRR2.js.map → block.mds.svcnv-E7P2SVKK.js.map} +0 -0
  672. /package/dist/{block.svg-AIZ47JCQ.js.map → block.svg-MVRR3C6V.js.map} +0 -0
  673. /package/dist/{block.tk.aicheck-7HZFGE63.js.map → block.tk.aicheck-KX46G4TR.js.map} +0 -0
  674. /package/dist/{block.tk.ase-U3VNPZEA.js.map → block.tk.ase-WMXI47BF.js.map} +0 -0
  675. /package/dist/{block.tk.bam-4TQ7P2OX.js.map → block.tk.bam-KFEGVEQQ.js.map} +0 -0
  676. /package/dist/{block.tk.bedgraphdot-MYHKKO6K.js.map → block.tk.bedgraphdot-P4DBCWFK.js.map} +0 -0
  677. /package/dist/{block.tk.bigwig.ui-E3YVGIDN.js.map → block.tk.bigwig.ui-WJPH2Z7F.js.map} +0 -0
  678. /package/dist/{block.tk.hicstraw-Y4XOMG7T.js.map → block.tk.hicstraw-RSD6I2NX.js.map} +0 -0
  679. /package/dist/{block.tk.junction-T5C7LK6F.js.map → block.tk.junction-VZS2DEDO.js.map} +0 -0
  680. /package/dist/{block.tk.junction.textmatrixui-Z3ACCVXH.js.map → block.tk.junction.textmatrixui-UCWGHZDI.js.map} +0 -0
  681. /package/dist/{block.tk.ld-Y5KDA5AU.js.map → block.tk.ld-ERSIIBM2.js.map} +0 -0
  682. /package/dist/{block.tk.menu-EWRRISDY.js.map → block.tk.menu-2ZNXE7CE.js.map} +0 -0
  683. /package/dist/{block.tk.pgv-3JYGOZVQ.js.map → block.tk.pgv-EJLACCFR.js.map} +0 -0
  684. /package/dist/{brainImaging-P3AF3C5N.js.map → brainImaging-BMZJY6OT.js.map} +0 -0
  685. /package/dist/{brainRegions-YA2H2QOI.js.map → brainRegions-RZEBXPAS.js.map} +0 -0
  686. /package/dist/{chunk-3FVIDQOX.js.map → chunk-27FPMFP2.js.map} +0 -0
  687. /package/dist/{chunk-NEKAGDTL.js.map → chunk-3LYZMOLO.js.map} +0 -0
  688. /package/dist/{chunk-FYFX42YD.js.map → chunk-455XZIIA.js.map} +0 -0
  689. /package/dist/{chunk-I2R5O2XX.js.map → chunk-474DTKP7.js.map} +0 -0
  690. /package/dist/{chunk-UXIZYI3X.js.map → chunk-4AP3O3JW.js.map} +0 -0
  691. /package/dist/{chunk-MP3DN6JK.js.map → chunk-4JWN7E7Q.js.map} +0 -0
  692. /package/dist/{chunk-RITTG5WN.js.map → chunk-55MOHL3P.js.map} +0 -0
  693. /package/dist/{chunk-TMM7BWW7.js.map → chunk-5CR24RTX.js.map} +0 -0
  694. /package/dist/{chunk-IEYDMN3H.js.map → chunk-5QTJUPFS.js.map} +0 -0
  695. /package/dist/{chunk-CJPGYPI3.js.map → chunk-5TJQ6633.js.map} +0 -0
  696. /package/dist/{chunk-W5OEFZCR.js.map → chunk-5X5LI5YM.js.map} +0 -0
  697. /package/dist/{chunk-2JR7RPB6.js.map → chunk-6G4YOMWW.js.map} +0 -0
  698. /package/dist/{chunk-46AEH34Z.js.map → chunk-6SCBPP4C.js.map} +0 -0
  699. /package/dist/{chunk-6JHIX4RA.js.map → chunk-6YVEYTNH.js.map} +0 -0
  700. /package/dist/{chunk-XVGS3QXS.js.map → chunk-74XVBQF7.js.map} +0 -0
  701. /package/dist/{chunk-SMSFTTEO.js.map → chunk-7I3LST7R.js.map} +0 -0
  702. /package/dist/{chunk-ZF6HNVYD.js.map → chunk-7KRS7L4U.js.map} +0 -0
  703. /package/dist/{chunk-MHFH66I3.js.map → chunk-ATUYZWHV.js.map} +0 -0
  704. /package/dist/{chunk-DMSX5PSO.js.map → chunk-BO47H3VP.js.map} +0 -0
  705. /package/dist/{chunk-XYNYQMLH.js.map → chunk-BOO4W7WD.js.map} +0 -0
  706. /package/dist/{chunk-Y4JJMUWG.js.map → chunk-C6YT5EM2.js.map} +0 -0
  707. /package/dist/{chunk-WXSRK3XR.js.map → chunk-CDUNE45Q.js.map} +0 -0
  708. /package/dist/{chunk-5FXNI724.js.map → chunk-CLN7ANNL.js.map} +0 -0
  709. /package/dist/{chunk-L5HCOTRF.js.map → chunk-CLNSNNQU.js.map} +0 -0
  710. /package/dist/{chunk-AI2LUQS6.js.map → chunk-COYULNJF.js.map} +0 -0
  711. /package/dist/{chunk-KVIH5JPC.js.map → chunk-DBFKUPM6.js.map} +0 -0
  712. /package/dist/{chunk-VIUATDO2.js.map → chunk-DNVSEW6P.js.map} +0 -0
  713. /package/dist/{chunk-3K2O2NIH.js.map → chunk-EC3SKPQT.js.map} +0 -0
  714. /package/dist/{chunk-OH5I6I2D.js.map → chunk-EDXQKDVQ.js.map} +0 -0
  715. /package/dist/{chunk-7R63MAPC.js.map → chunk-EY253UB7.js.map} +0 -0
  716. /package/dist/{chunk-3BBK6A4X.js.map → chunk-FABY3ISP.js.map} +0 -0
  717. /package/dist/{chunk-NYN2WQN3.js.map → chunk-FOPHIWFD.js.map} +0 -0
  718. /package/dist/{chunk-D5CVYITI.js.map → chunk-FVX76DZS.js.map} +0 -0
  719. /package/dist/{chunk-3RSJU6YM.js.map → chunk-FXGE233W.js.map} +0 -0
  720. /package/dist/{chunk-O6WL7USJ.js.map → chunk-GBXX3AHJ.js.map} +0 -0
  721. /package/dist/{chunk-3ZKD6C5S.js.map → chunk-GVCQGWN7.js.map} +0 -0
  722. /package/dist/{chunk-M7UKOCJA.js.map → chunk-HXNUQOGN.js.map} +0 -0
  723. /package/dist/{chunk-BMS32SNA.js.map → chunk-HXZSSHEB.js.map} +0 -0
  724. /package/dist/{chunk-TLTS33EY.js.map → chunk-I73KUUYG.js.map} +0 -0
  725. /package/dist/{chunk-GTZV2UZV.js.map → chunk-IKDWQJZE.js.map} +0 -0
  726. /package/dist/{chunk-R7AV73BV.js.map → chunk-JEZUPG4J.js.map} +0 -0
  727. /package/dist/{chunk-H34LAFGH.js.map → chunk-JWHFMFF2.js.map} +0 -0
  728. /package/dist/{chunk-XHGMDBTS.js.map → chunk-K3OJJZCQ.js.map} +0 -0
  729. /package/dist/{chunk-Z457XQSX.js.map → chunk-KM4JBR26.js.map} +0 -0
  730. /package/dist/{chunk-NPCNDM6Y.js.map → chunk-KNOFEVOJ.js.map} +0 -0
  731. /package/dist/{chunk-JWBP4ZZB.js.map → chunk-LLX3NKB4.js.map} +0 -0
  732. /package/dist/{chunk-CTQH7LQ6.js.map → chunk-LSWU6EAQ.js.map} +0 -0
  733. /package/dist/{chunk-N5OVBS5L.js.map → chunk-MQJVDIQK.js.map} +0 -0
  734. /package/dist/{chunk-EEW443GL.js.map → chunk-N25ENPO3.js.map} +0 -0
  735. /package/dist/{chunk-PXOH4ZN2.js.map → chunk-N3JT3KCV.js.map} +0 -0
  736. /package/dist/{chunk-LHKDLWG5.js.map → chunk-N6QEVQZV.js.map} +0 -0
  737. /package/dist/{chunk-QG4BJUM7.js.map → chunk-NJDW6ZQP.js.map} +0 -0
  738. /package/dist/{chunk-A4Z3CI24.js.map → chunk-NLQQIVTC.js.map} +0 -0
  739. /package/dist/{chunk-EVNMW7BS.js.map → chunk-NU2W6B7I.js.map} +0 -0
  740. /package/dist/{chunk-E76O5Z42.js.map → chunk-OR43PGBV.js.map} +0 -0
  741. /package/dist/{chunk-4CQVC6XL.js.map → chunk-PWUERAAF.js.map} +0 -0
  742. /package/dist/{chunk-TTC4MNEM.js.map → chunk-PXCFA4ZQ.js.map} +0 -0
  743. /package/dist/{chunk-7PFRBGMN.js.map → chunk-QSEGY3U5.js.map} +0 -0
  744. /package/dist/{chunk-AJYJW4LX.js.map → chunk-SC6IPDJR.js.map} +0 -0
  745. /package/dist/{chunk-XQ2OBL6R.js.map → chunk-SDMOLIEU.js.map} +0 -0
  746. /package/dist/{chunk-E574SMCX.js.map → chunk-T46LHXJW.js.map} +0 -0
  747. /package/dist/{chunk-TBZKVKR4.js.map → chunk-UDL2DEBB.js.map} +0 -0
  748. /package/dist/{chunk-G6RZYGWY.js.map → chunk-VDIVDU3T.js.map} +0 -0
  749. /package/dist/{chunk-E3JRW3T3.js.map → chunk-XQSQQSGB.js.map} +0 -0
  750. /package/dist/{chunk-F2WPS7VY.js.map → chunk-XVXAQ3FI.js.map} +0 -0
  751. /package/dist/{chunk-VIUDFDN4.js.map → chunk-YQMENK5H.js.map} +0 -0
  752. /package/dist/{chunk-PTQ774XH.js.map → chunk-ZUC4XNWU.js.map} +0 -0
  753. /package/dist/{condition-QXTOTGZX.js.map → condition-ZPFBPMEZ.js.map} +0 -0
  754. /package/dist/{controls-7TDB75LK.js.map → controls-LIVMV2GV.js.map} +0 -0
  755. /package/dist/{controls.config-IBF5ILFP.js.map → controls.config-2EOMBN5E.js.map} +0 -0
  756. /package/dist/{correlation-M2T5R7CM.js.map → correlation-D6GAPOP5.js.map} +0 -0
  757. /package/dist/{cuminc-CAHPKW7W.js.map → cuminc-GPFDRNUP.js.map} +0 -0
  758. /package/dist/{cuminc.integration.spec-NNSQGBRI.js.map → cuminc.integration.spec-V4JYKLA6.js.map} +0 -0
  759. /package/dist/{customdata.inputui-RRTQK7OK.js.map → customdata.inputui-DSEUS3CT.js.map} +0 -0
  760. /package/dist/{dataDownload-SOUCBKXM.js.map → dataDownload-KT6K3M7Q.js.map} +0 -0
  761. /package/dist/{dataDownload.integration.spec-C6TLWSSO.js.map → dataDownload.integration.spec-VEX2RTSA.js.map} +0 -0
  762. /package/dist/{databrowser.ui-KLFEU5QA.js.map → databrowser.ui-VJKNMIXA.js.map} +0 -0
  763. /package/dist/{dictionary-RUT5VXDD.js.map → dictionary-B27BMR5H.js.map} +0 -0
  764. /package/dist/{dnaMethylation-WOKGG33W.js.map → dnaMethylation-BWQGUXVR.js.map} +0 -0
  765. /package/dist/{dnaMethylation.integration.spec-YUPP42UK.js.map → dnaMethylation.integration.spec-YMGT2HYZ.js.map} +0 -0
  766. /package/dist/{dofetch-V7PLLWSO.js.map → dofetch-BMSZZAAQ.js.map} +0 -0
  767. /package/dist/{e2pca-VT7EM4E3.js.map → e2pca-KSY4DP53.js.map} +0 -0
  768. /package/dist/{ep-X6B43UXE.js.map → ep-4PAYGMWK.js.map} +0 -0
  769. /package/dist/{expclust.gdc.spec-DTBFOXBC.js.map → expclust.gdc.spec-XXFP2HHE.js.map} +0 -0
  770. /package/dist/{facet-T5ZX7ZGV.js.map → facet-VCJQ7QPE.js.map} +0 -0
  771. /package/dist/{forms2-S5OGBFKL.js.map → forms2-IUD2SNOQ.js.map} +0 -0
  772. /package/dist/{gb-TWXREZIP.js.map → gb-JDH242LG.js.map} +0 -0
  773. /package/dist/{geneExpClustering-2G6YDCIN.js.map → geneExpClustering-L23JB7XA.js.map} +0 -0
  774. /package/dist/{geneExpression-ZHQH6SNA.js.map → geneExpression-P2ERCRXO.js.map} +0 -0
  775. /package/dist/{geneExpression-2A4ZPT7K.js.map → geneExpression-QGPVFAN4.js.map} +0 -0
  776. /package/dist/{geneExpression.unit.spec-2M223S4P.js.map → geneExpression.unit.spec-6BQBM6VL.js.map} +0 -0
  777. /package/dist/{geneORA-YLIRUMCZ.js.map → geneORA-XIMJP665.js.map} +0 -0
  778. /package/dist/{geneRanking-JDJXNGEC.js.map → geneRanking-AJH5G22J.js.map} +0 -0
  779. /package/dist/{geneVariant-5ZIOT5BT.js.map → geneVariant-AUUZ7S2B.js.map} +0 -0
  780. /package/dist/{geneVariant-GIXIMJ2I.js.map → geneVariant-H6BGRRON.js.map} +0 -0
  781. /package/dist/{geneVariant.integration.spec-QCROW73S.js.map → geneVariant.integration.spec-FRCH6VI4.js.map} +0 -0
  782. /package/dist/{genefusion.ui-56UQLUKJ.js.map → genefusion.ui-AAJ37VFA.js.map} +0 -0
  783. /package/dist/{geneset-ACRMGBJO.js.map → geneset-5ARBBUYH.js.map} +0 -0
  784. /package/dist/{genomeBrowser.spec-EDILOQON.js.map → genomeBrowser.spec-RV7YBSMZ.js.map} +0 -0
  785. /package/dist/{gsea-2PQ5HNNT.js.map → gsea-XUMCVLFK.js.map} +0 -0
  786. /package/dist/{hierCluster-H5HB7FPW.js.map → hierCluster-HXOTNMC5.js.map} +0 -0
  787. /package/dist/{hierCluster-L3LCP2II.js.map → hierCluster-PEDY7OTZ.js.map} +0 -0
  788. /package/dist/{hierCluster.config-6UIJWCND.js.map → hierCluster.config-RKYCGNWW.js.map} +0 -0
  789. /package/dist/{hierCluster.integration.spec-EVAPT2VF.js.map → hierCluster.integration.spec-YKMAT7UU.js.map} +0 -0
  790. /package/dist/{hierCluster.interactivity-7MW6ZT6O.js.map → hierCluster.interactivity-LPTHVWHR.js.map} +0 -0
  791. /package/dist/{hierCluster.renderers-F34EVY5J.js.map → hierCluster.renderers-4XWKHCNW.js.map} +0 -0
  792. /package/dist/{imagePlot-RSFZ2OKD.js.map → imagePlot-3DF7ZH3U.js.map} +0 -0
  793. /package/dist/{importPlot-DQFWY5A7.js.map → importPlot-N74SV3TL.js.map} +0 -0
  794. /package/dist/{isoformExpression-2KANPCBH.js.map → isoformExpression-FU7Y4OGU.js.map} +0 -0
  795. /package/dist/{isoformExpression.unit.spec-6FSMHT4K.js.map → isoformExpression.unit.spec-BLQDKV37.js.map} +0 -0
  796. /package/dist/{launch.adhoc-ZYTIRVIC.js.map → launch.adhoc-Y35FZV6H.js.map} +0 -0
  797. /package/dist/{lollipop-PJDUFWEY.js.map → lollipop-DU37Q5E2.js.map} +0 -0
  798. /package/dist/{maf-DLJHCKHJ.js.map → maf-NRLSNDOT.js.map} +0 -0
  799. /package/dist/{maftimeline-NK5QYJMJ.js.map → maftimeline-GRXGOOSJ.js.map} +0 -0
  800. /package/dist/{matrix-7BFYR6QL.js.map → matrix-G3BULZ7Y.js.map} +0 -0
  801. /package/dist/{matrix-USAB2CHO.js.map → matrix-TCTX26A4.js.map} +0 -0
  802. /package/dist/{matrix.cells-OTAXAJ4N.js.map → matrix.cells-ED6RS5EC.js.map} +0 -0
  803. /package/dist/{matrix.config-AL4WSFZ7.js.map → matrix.config-QHO2YNOT.js.map} +0 -0
  804. /package/dist/{matrix.data-BDHCSN2G.js.map → matrix.data-KQFMXWRX.js.map} +0 -0
  805. /package/dist/{matrix.groups-MV2D2636.js.map → matrix.groups-RE74EFLY.js.map} +0 -0
  806. /package/dist/{matrix.integration.spec-DESORC2Y.js.map → matrix.integration.spec-Y4FCZ2Q2.js.map} +0 -0
  807. /package/dist/{matrix.interactivity-H7EJW3P2.js.map → matrix.interactivity-3DW5WAM3.js.map} +0 -0
  808. /package/dist/{matrix.layout-7CAS2IBO.js.map → matrix.layout-W57D765I.js.map} +0 -0
  809. /package/dist/{matrix.legend-JDVG2JDF.js.map → matrix.legend-ZST44PIB.js.map} +0 -0
  810. /package/dist/{matrix.renderers-PDR5FIBC.js.map → matrix.renderers-NFRKXO7Y.js.map} +0 -0
  811. /package/dist/{matrix.serieses-QVDS5HKK.js.map → matrix.serieses-6ZKTFVWY.js.map} +0 -0
  812. /package/dist/{matrix.sort-HCK4CSTJ.js.map → matrix.sort-2UE47IOC.js.map} +0 -0
  813. /package/dist/{matrix.sort.unit.spec-2GC4E26N.js.map → matrix.sort.unit.spec-5CMWEXPE.js.map} +0 -0
  814. /package/dist/{matrix.sorterUi-XGBQOPG4.js.map → matrix.sorterUi-WC2YX7S7.js.map} +0 -0
  815. /package/dist/{matrix.sorterUi.unit.spec-BJQKDU2F.js.map → matrix.sorterUi.unit.spec-Y2HXWHJN.js.map} +0 -0
  816. /package/dist/{mavb-6E6Z4LPK.js.map → mavb-BI4XKI5P.js.map} +0 -0
  817. /package/dist/{mds.fimo-5P2TK5U4.js.map → mds.fimo-UJYESPNC.js.map} +0 -0
  818. /package/dist/{mds.samplescatterplot-KLKOD4AS.js.map → mds.samplescatterplot-JKU5B4QR.js.map} +0 -0
  819. /package/dist/{mds.survivalplot-SWQCOFIU.js.map → mds.survivalplot-OP7Y4D3L.js.map} +0 -0
  820. /package/dist/{numericDictTermCluster-WIVO33AV.js.map → numericDictTermCluster-DRIEJJSP.js.map} +0 -0
  821. /package/dist/{oncomatrix-SDUUQZCK.js.map → oncomatrix-A3IE47HV.js.map} +0 -0
  822. /package/dist/{oncomatrix.spec-YGQYIUDT.js.map → oncomatrix.spec-TDWB2ROF.js.map} +0 -0
  823. /package/dist/{plot.2dvaf-K53KTP5W.js.map → plot.2dvaf-XY34TDSM.js.map} +0 -0
  824. /package/dist/{plot.app-FNJVWLPQ.js.map → plot.app-WRCBLYGO.js.map} +0 -0
  825. /package/dist/{plot.barplot-VTC3N6BR.js.map → plot.barplot-RXGOUNHM.js.map} +0 -0
  826. /package/dist/{plot.boxplot-RJFGQSLA.js.map → plot.boxplot-GBZGSS3D.js.map} +0 -0
  827. /package/dist/{plot.brainImaging-6KVNPPMT.js.map → plot.brainImaging-DYPKMNHL.js.map} +0 -0
  828. /package/dist/{plot.disco-ZFH5RK6B.js.map → plot.disco-5K2SCKJ4.js.map} +0 -0
  829. /package/dist/{plot.dzi-IA2SOFUD.js.map → plot.dzi-THJIFHIS.js.map} +0 -0
  830. /package/dist/{plot.ssgq-QARGQVKB.js.map → plot.ssgq-FSIUIV3A.js.map} +0 -0
  831. /package/dist/{plot.vaf2cov-2JUXYCPG.js.map → plot.vaf2cov-HP6KEBVJ.js.map} +0 -0
  832. /package/dist/{plot.wsi-C2DULA7U.js.map → plot.wsi-MR6JMOXW.js.map} +0 -0
  833. /package/dist/{polar2-3HS3QBU6.js.map → polar2-IT3OF5DX.js.map} +0 -0
  834. /package/dist/{profileForms-Y6ZBMZWQ.js.map → profileForms-XXGJVF2T.js.map} +0 -0
  835. /package/dist/{profilePlot-SVI3QKMD.js.map → profilePlot-J2C35OEY.js.map} +0 -0
  836. /package/dist/{proteinView-YPFJSBL7.js.map → proteinView-7FDCILPH.js.map} +0 -0
  837. /package/dist/{qualitative-AQFKAZID.js.map → qualitative-N7S2JHZM.js.map} +0 -0
  838. /package/dist/{radar2-TTQZLARY.js.map → radar2-CDDOQGQX.js.map} +0 -0
  839. /package/dist/{radarFacility2-YGS56QUA.js.map → radarFacility2-ZQTHO2ON.js.map} +0 -0
  840. /package/dist/{regression-DLPBCDZT.js.map → regression-PBGAMZAV.js.map} +0 -0
  841. /package/dist/{regression.inputs-42LY4MEZ.js.map → regression.inputs-54E5YKI4.js.map} +0 -0
  842. /package/dist/{regression.inputs.term-TTUFFPG6.js.map → regression.inputs.term-52MBTMVM.js.map} +0 -0
  843. /package/dist/{regression.inputs.values.table-CJAPTSMS.js.map → regression.inputs.values.table-F3FOAYFV.js.map} +0 -0
  844. /package/dist/{regression.integration.spec-UDA26OGS.js.map → regression.integration.spec-M4RPJUE4.js.map} +0 -0
  845. /package/dist/{regression.results-IA3C7SHR.js.map → regression.results-JOK6I2ZD.js.map} +0 -0
  846. /package/dist/{regression.spec-HEXCL3QV.js.map → regression.spec-O4HZB2HQ.js.map} +0 -0
  847. /package/dist/{report-4CFOWNPJ.js.map → report-BDDTM7SV.js.map} +0 -0
  848. /package/dist/{sampleScatter.spec-N6V4BQ5Q.js.map → sampleScatter.spec-272GLYEK.js.map} +0 -0
  849. /package/dist/{sampleView-CZF7U23I.js.map → sampleView-E6OHEEP4.js.map} +0 -0
  850. /package/dist/{samplelst-XUGDS5TU.js.map → samplelst-3LNF3DBG.js.map} +0 -0
  851. /package/dist/{samplematrix-R5PZLZDE.js.map → samplematrix-HL445X7I.js.map} +0 -0
  852. /package/dist/{sc-WTZZA5J5.js.map → sc-4LELHVIS.js.map} +0 -0
  853. /package/dist/{scatter-EY7HQVCO.js.map → scatter-IZIZURQD.js.map} +0 -0
  854. /package/dist/{scatter.integration.spec-CRMLFO4J.js.map → scatter.integration.spec-BBEWMA7M.js.map} +0 -0
  855. /package/dist/{selectGenomeWithTklst-2S2MXVCI.js.map → selectGenomeWithTklst-5LQGT4Z7.js.map} +0 -0
  856. /package/dist/{singleCellCellType-LJWFG7MY.js.map → singleCellCellType-T3ZT64EK.js.map} +0 -0
  857. /package/dist/{singleCellCellType.unit.spec-RGN2XVUR.js.map → singleCellCellType.unit.spec-AE4IAHOF.js.map} +0 -0
  858. /package/dist/{singleCellGeneExpression-IW2QXTTU.js.map → singleCellGeneExpression-SRJXSDEB.js.map} +0 -0
  859. /package/dist/{singleCellGeneExpression.unit.spec-4PO3Q7TM.js.map → singleCellGeneExpression.unit.spec-EPL73UUO.js.map} +0 -0
  860. /package/dist/{singleCellPlot-6EZ6JXCM.js.map → singleCellPlot-P2BHFTYZ.js.map} +0 -0
  861. /package/dist/{singlecell-NTTAVVMR.js.map → singlecell-32SSD7VN.js.map} +0 -0
  862. /package/dist/{singlecell-3LFPQ6KO.js.map → singlecell-7KRD5DP7.js.map} +0 -0
  863. /package/dist/{snp-XB4IBG4Z.js.map → snp-LE5R377N.js.map} +0 -0
  864. /package/dist/{snp.unit.spec-HAJPM53L.js.map → snp.unit.spec-UY6KQ5NJ.js.map} +0 -0
  865. /package/dist/{snplocus-HE6TITSX.js.map → snplocus-CP34ABUJ.js.map} +0 -0
  866. /package/dist/{spliceevent.a53ss.diagram-TCZMBMD7.js.map → spliceevent.a53ss.diagram-JWLWQDNJ.js.map} +0 -0
  867. /package/dist/{spliceevent.exonskip.diagram-VESOF6UC.js.map → spliceevent.exonskip.diagram-C5526P7P.js.map} +0 -0
  868. /package/dist/{spliceevent.noeventdiagram-4K7FMO4F.js.map → spliceevent.noeventdiagram-352M63YB.js.map} +0 -0
  869. /package/dist/{ssGSEA-2XYMX36P.js.map → ssGSEA-BFTCECV3.js.map} +0 -0
  870. /package/dist/{ssGSEA.unit.spec-J36KM2HO.js.map → ssGSEA.unit.spec-4OUCKRDQ.js.map} +0 -0
  871. /package/dist/{summarizeCnvGeneexp-LYVDZXXD.js.map → summarizeCnvGeneexp-Y3AWFIZA.js.map} +0 -0
  872. /package/dist/{summarizeGeneexpSurvival-Y52TGAHF.js.map → summarizeGeneexpSurvival-U5JSPG22.js.map} +0 -0
  873. /package/dist/{summarizeMutationCnv-6EEJT3PV.js.map → summarizeMutationCnv-KCOVQEBC.js.map} +0 -0
  874. /package/dist/{summarizeMutationDiagnosis-HZKXHOOQ.js.map → summarizeMutationDiagnosis-EQXEQABW.js.map} +0 -0
  875. /package/dist/{summarizeMutationSurvival-TU7TQYFQ.js.map → summarizeMutationSurvival-4VGLG4SC.js.map} +0 -0
  876. /package/dist/{summary-4QQZUAMU.js.map → summary-DXYCBNI4.js.map} +0 -0
  877. /package/dist/{summary.integration.spec-SLIIM4HN.js.map → summary.integration.spec-MZTJISLP.js.map} +0 -0
  878. /package/dist/{summaryInput-6HROPKCE.js.map → summaryInput-5Z3XVIL6.js.map} +0 -0
  879. /package/dist/{sunburst-MBJJPERL.js.map → sunburst-WVSQJYP2.js.map} +0 -0
  880. /package/dist/{survival-QSL2KDKD.js.map → survival-3R3J2JBE.js.map} +0 -0
  881. /package/dist/{survival-CXLMQSV2.js.map → survival-XQWFVGCJ.js.map} +0 -0
  882. /package/dist/{survival.integration.spec-EUAAALVW.js.map → survival.integration.spec-EBDPIBYM.js.map} +0 -0
  883. /package/dist/{svgraph-JM5MHQDX.js.map → svgraph-SY2HVMYL.js.map} +0 -0
  884. /package/dist/{svmr-MCMST2FL.js.map → svmr-TIIMFKG7.js.map} +0 -0
  885. /package/dist/{table-MVX3IMAL.js.map → table-5RFTXIQL.js.map} +0 -0
  886. /package/dist/{termCollection-FZ2SCVA7.js.map → termCollection-23QXTZDN.js.map} +0 -0
  887. /package/dist/{termCollection-IGC7REFK.js.map → termCollection-7KXABWVW.js.map} +0 -0
  888. /package/dist/{termCollection.unit.spec-VY2EZZIP.js.map → termCollection.unit.spec-4AN2Z4PQ.js.map} +0 -0
  889. /package/dist/{tk-5F3TWZ2G.js.map → tk-WW6PJGPQ.js.map} +0 -0
  890. /package/dist/{tp.ui-IURWTMAS.js.map → tp.ui-S5PO3MPH.js.map} +0 -0
  891. /package/dist/{tvs.dt-BPZCFPYK.js.map → tvs.dt-O7LUM5TK.js.map} +0 -0
  892. /package/dist/{tvs.dtcnv.categorical-UFS62DTR.js.map → tvs.dtcnv.categorical-2OUFOD3W.js.map} +0 -0
  893. /package/dist/{tvs.dtcnv.continuous-R6YXNNLA.js.map → tvs.dtcnv.continuous-NOOUY5SZ.js.map} +0 -0
  894. /package/dist/{tvs.dtfusion-FGXXS4XX.js.map → tvs.dtfusion-KXQMP3UF.js.map} +0 -0
  895. /package/dist/{tvs.dtsnvindel-DR43K7X3.js.map → tvs.dtsnvindel-PWHFTWZU.js.map} +0 -0
  896. /package/dist/{tvs.dtsv-NO34GIOL.js.map → tvs.dtsv-25FLS572.js.map} +0 -0
  897. /package/dist/{tvs.samplelst-2QP7IV2Y.js.map → tvs.samplelst-FLXNJFIV.js.map} +0 -0
  898. /package/dist/{tvs.termCollection-UEJDG22G.js.map → tvs.termCollection-PSVOMJE4.js.map} +0 -0
  899. /package/dist/{violin-NBZTGGYF.js.map → violin-SWMEFWRA.js.map} +0 -0
  900. /package/dist/{violin.integration.spec-5CLYJSAR.js.map → violin.integration.spec-6EQ6GC2N.js.map} +0 -0
  901. /package/dist/{violin.interactivity-KXVKTT22.js.map → violin.interactivity-WBIWPLSM.js.map} +0 -0
  902. /package/dist/{violin.renderer-37OF6K7Q.js.map → violin.renderer-3WARZUOH.js.map} +0 -0
  903. /package/dist/{vocabulary-GR6J3VKW.js.map → vocabulary-WLHYHDX7.js.map} +0 -0
@@ -0,0 +1,2364 @@
1
+ import {
2
+ spliceevent_exonskip_getdefault_default
3
+ } from "./chunk-LSWU6EAQ.js";
4
+ import {
5
+ spliceevent_phrase_default
6
+ } from "./chunk-74XVBQF7.js";
7
+ import {
8
+ legend_newrow
9
+ } from "./chunk-SC6IPDJR.js";
10
+ import "./chunk-V2OJLJSK.js";
11
+ import "./chunk-NLQQIVTC.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-L7VDSIM7.js";
23
+ import "./chunk-HJ6L54YS.js";
24
+ import "./chunk-LSEFWW72.js";
25
+ import "./chunk-UXDVUCXU.js";
26
+ import {
27
+ Menu
28
+ } from "./chunk-HYOEWQ5P.js";
29
+ import "./chunk-HBW42TDT.js";
30
+ import "./chunk-LQJMCE7G.js";
31
+ import "./chunk-FN5XPUPH.js";
32
+ import "./chunk-IIT367QZ.js";
33
+ import "./chunk-RZGEKL77.js";
34
+ import "./chunk-KM4JBR26.js";
35
+ import "./chunk-COYULNJF.js";
36
+ import {
37
+ dofetch2,
38
+ dofetch3
39
+ } from "./chunk-6G4YOMWW.js";
40
+ import "./chunk-7IYJZZQI.js";
41
+ import "./chunk-M3J4MINX.js";
42
+ import "./chunk-PF4DSFDR.js";
43
+ import "./chunk-I73KUUYG.js";
44
+ import "./chunk-IVXCWCKS.js";
45
+ import {
46
+ IN_frame,
47
+ OUT_frame,
48
+ bplen,
49
+ defaultcolor,
50
+ spliceeventchangegmexon
51
+ } from "./chunk-7KRS7L4U.js";
52
+ import "./chunk-BKPDYW5T.js";
53
+ import "./chunk-JNITUVXP.js";
54
+ import {
55
+ category10_default
56
+ } from "./chunk-TJYRBEBK.js";
57
+ import {
58
+ axisRight
59
+ } from "./chunk-LOZEKOES.js";
60
+ import "./chunk-VQZ2Z5YU.js";
61
+ import {
62
+ linear,
63
+ log,
64
+ ordinal
65
+ } from "./chunk-SOTB4FRE.js";
66
+ import "./chunk-TLT4YIG3.js";
67
+ import "./chunk-KYBIQBXE.js";
68
+ import {
69
+ select_default
70
+ } from "./chunk-I6Y4O3RR.js";
71
+ import "./chunk-OMR2DT66.js";
72
+ import "./chunk-DQC5FFGV.js";
73
+ import {
74
+ __commonJS,
75
+ __toESM
76
+ } from "./chunk-HFNDKYVF.js";
77
+
78
+ // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
79
+ var require_d3_beeswarm = __commonJS({
80
+ "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
81
+ (function(global, factory) {
82
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
83
+ })(exports, function(exports2) {
84
+ "use strict";
85
+ function beeswarm2() {
86
+ var data = [];
87
+ var radius = 4;
88
+ var orientation = "horizontal";
89
+ var side = "symetric";
90
+ var distributeOn = (
91
+ // accessor to the x value
92
+ function(datum) {
93
+ return datum.x;
94
+ }
95
+ );
96
+ var minDistanceBetweenCircles;
97
+ var minSquareDistanceBetweenCircles;
98
+ var xBasedDataManager;
99
+ var xBasedColliderManager;
100
+ var yBasedColliderManager;
101
+ var arrangement;
102
+ var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
103
+ function _beeswarm() {
104
+ }
105
+ _beeswarm.data = function(_) {
106
+ if (!arguments.length) {
107
+ return data;
108
+ }
109
+ data = _;
110
+ return _beeswarm;
111
+ };
112
+ _beeswarm.radius = function(_) {
113
+ if (!arguments.length) {
114
+ return radius;
115
+ }
116
+ radius = _;
117
+ return _beeswarm;
118
+ };
119
+ _beeswarm.orientation = function(_) {
120
+ if (!arguments.length) {
121
+ return orientation;
122
+ }
123
+ if (_ === "horizontal" || _ === "vertical") {
124
+ orientation = _;
125
+ }
126
+ return _beeswarm;
127
+ };
128
+ _beeswarm.side = function(_) {
129
+ if (!arguments.length) {
130
+ return side;
131
+ }
132
+ if (_ === "symetric" || _ === "positive" || _ === "negative") {
133
+ side = _;
134
+ }
135
+ return _beeswarm;
136
+ };
137
+ _beeswarm.distributeOn = function(_) {
138
+ if (!arguments.length) {
139
+ return distributeOn;
140
+ }
141
+ distributeOn = _;
142
+ return _beeswarm;
143
+ };
144
+ _beeswarm.arrange = function() {
145
+ initArrangement();
146
+ arrangement.forEach(function(d) {
147
+ var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
148
+ if (xBasedPossibleColliders.length === 0) {
149
+ bestYPosition = 0;
150
+ } else {
151
+ yBasedColliderManager.clear();
152
+ yBasedColliderManager.addMany(xBasedPossibleColliders);
153
+ d.free = 0;
154
+ if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
155
+ bestYPosition = 0;
156
+ totalVisitedColliders += visitedColliderCount;
157
+ if (visitedColliderCount > maxVisitedColliders) {
158
+ maxVisitedColliders = visitedColliderCount;
159
+ }
160
+ visitedColliderCount = 0;
161
+ totalTestedPlacements += 1;
162
+ } else {
163
+ xBasedPossibleColliders.forEach(function(xbpc) {
164
+ relativeYPos = yPosRelativeToXbpc(xbpc, d);
165
+ placeBelow(d, xbpc, relativeYPos);
166
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
167
+ bestYPosition = d.free;
168
+ }
169
+ totalVisitedColliders += visitedColliderCount;
170
+ if (visitedColliderCount > maxVisitedColliders) {
171
+ maxVisitedColliders = visitedColliderCount;
172
+ }
173
+ visitedColliderCount = 0;
174
+ totalTestedPlacements += 1;
175
+ placeAbove(d, xbpc, relativeYPos);
176
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
177
+ bestYPosition = d.free;
178
+ }
179
+ totalVisitedColliders += visitedColliderCount;
180
+ if (visitedColliderCount > maxVisitedColliders) {
181
+ maxVisitedColliders = visitedColliderCount;
182
+ }
183
+ visitedColliderCount = 0;
184
+ totalTestedPlacements += 1;
185
+ });
186
+ }
187
+ }
188
+ ;
189
+ d.free = bestYPosition;
190
+ if (orientation === "horizontal") {
191
+ d.x = d.fixed;
192
+ d.y = bestYPosition;
193
+ } else {
194
+ d.x = bestYPosition;
195
+ d.y = d.fixed;
196
+ }
197
+ xBasedColliderManager.add(d);
198
+ });
199
+ return arrangement;
200
+ };
201
+ _beeswarm.metrics = function() {
202
+ return {
203
+ totalPossibleColliders,
204
+ maxPossibleColliders,
205
+ totalTestedPlacements,
206
+ visitedColliderCount,
207
+ totalVisitedColliders,
208
+ maxVisitedColliders
209
+ };
210
+ };
211
+ function initArrangement() {
212
+ arrangement = data.map(function(d, i) {
213
+ return {
214
+ datum: d,
215
+ id: i,
216
+ fixed: distributeOn(d),
217
+ free: -Infinity
218
+ };
219
+ });
220
+ minDistanceBetweenCircles = 2 * radius;
221
+ minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
222
+ xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
223
+ return d.fixed;
224
+ }).addMany(arrangement);
225
+ xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
226
+ return d.fixed;
227
+ });
228
+ yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
229
+ return d.free;
230
+ });
231
+ totalPossibleColliders = maxPossibleColliders = 0;
232
+ totalTestedPlacements = 0;
233
+ visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
234
+ }
235
+ function findNearestPossibleCollider(dln, visitedDln, direction) {
236
+ if (visitedDln === null) {
237
+ return null;
238
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
239
+ return null;
240
+ } else {
241
+ if (isFinite(visitedDln.datum.free)) {
242
+ return visitedDln.datum;
243
+ }
244
+ return findNearestPossibleCollider(dln, visitedDln[direction], direction);
245
+ }
246
+ }
247
+ function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
248
+ if (visitedDln === null) {
249
+ return;
250
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
251
+ return;
252
+ } else {
253
+ xBasedPossibleColliders.push(visitedDln.datum);
254
+ visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
255
+ }
256
+ }
257
+ function gatherXBasedPossibleColliders(datum) {
258
+ var xBasedPossibleColliders = [];
259
+ var dln = xBasedDataManager.dln(datum);
260
+ var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
261
+ var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
262
+ if (nearestXPrevAlreadyArrangedData != null) {
263
+ dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
264
+ visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
265
+ }
266
+ if (nearestXNextAlreadyArrangedData != null) {
267
+ dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
268
+ visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
269
+ }
270
+ totalPossibleColliders += xBasedPossibleColliders.length;
271
+ if (xBasedPossibleColliders.length > maxPossibleColliders) {
272
+ maxPossibleColliders = xBasedPossibleColliders.length;
273
+ }
274
+ return xBasedPossibleColliders;
275
+ }
276
+ function isAuthorizedPlacement(datum) {
277
+ if (side === "symetric") {
278
+ return true;
279
+ } else if (side === "positive") {
280
+ return datum.free >= 0;
281
+ } else {
282
+ return datum.free <= 0;
283
+ }
284
+ }
285
+ function isBetterPlacement(datum, bestYPosition) {
286
+ return Math.abs(datum.free) < Math.abs(bestYPosition);
287
+ }
288
+ function yPosRelativeToXbpc(xbpc, d) {
289
+ return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
290
+ }
291
+ function placeBelow(d, aad, relativeYPos) {
292
+ d.free = aad.free - relativeYPos;
293
+ }
294
+ function placeAbove(d, aad, relativeYPos) {
295
+ d.free = aad.free + relativeYPos;
296
+ }
297
+ function areCirclesColliding(d0, d1) {
298
+ visitedColliderCount++;
299
+ return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
300
+ }
301
+ function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
302
+ if (visitedDln === null) {
303
+ return false;
304
+ } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
305
+ return false;
306
+ } else if (areCirclesColliding(datum, visitedDln.datum)) {
307
+ return true;
308
+ } else {
309
+ return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
310
+ }
311
+ }
312
+ function collidesWithOther(datum, visitedDln) {
313
+ var visitCount = 0;
314
+ if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
315
+ return true;
316
+ } else {
317
+ return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
318
+ }
319
+ }
320
+ function SortedDirectAccessDoublyLinkedList() {
321
+ this._valueAccesor = // accessor to the value to sort on
322
+ function(obj) {
323
+ return obj.value;
324
+ };
325
+ this._min = null;
326
+ this._max = null;
327
+ this._closestTo0 = null;
328
+ this.size = 0;
329
+ this._idToNode = {};
330
+ }
331
+ SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
332
+ if (!arguments.length) {
333
+ return this._valueAccesor;
334
+ }
335
+ this._valueAccesor = _;
336
+ return this;
337
+ };
338
+ SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
339
+ return this._closestTo0;
340
+ };
341
+ SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
342
+ this._min = null;
343
+ this._max = null;
344
+ this._closestTo0 = null;
345
+ this.size = 0;
346
+ this._idToNode = {};
347
+ return this;
348
+ };
349
+ SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
350
+ return this._idToNode[datum.id];
351
+ };
352
+ SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
353
+ data2.forEach(function(datum, item) {
354
+ this.add(datum);
355
+ }, this);
356
+ return this;
357
+ };
358
+ SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
359
+ var dln = {
360
+ datum,
361
+ // original datum
362
+ value: this._valueAccesor(datum),
363
+ prev: null,
364
+ // previous value-based node
365
+ next: null
366
+ // next value-based node
367
+ };
368
+ if (this.size === 0) {
369
+ this._min = this._max = this._closestTo0 = dln;
370
+ } else {
371
+ if (dln.value <= this._min.value) {
372
+ dln.next = this._min;
373
+ dln.next.prev = dln;
374
+ this._min = dln;
375
+ } else if (dln.value >= this._max.value) {
376
+ dln.prev = this._max;
377
+ dln.prev.next = dln;
378
+ this._max = dln;
379
+ } else {
380
+ var current = this._max;
381
+ while (current.value > dln.value) {
382
+ current = current.prev;
383
+ }
384
+ dln.prev = current;
385
+ dln.next = current.next;
386
+ dln.next.prev = dln;
387
+ dln.prev.next = dln;
388
+ }
389
+ if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
390
+ this._closestTo0 = dln;
391
+ }
392
+ }
393
+ this._idToNode[dln.datum.id] = dln;
394
+ this.size++;
395
+ return this;
396
+ };
397
+ SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
398
+ var dln = this.dln(datum);
399
+ if (this.size === 1) {
400
+ this._min = this._max = this._closestTo0 = null;
401
+ } else {
402
+ if (dln === this._closestTo0) {
403
+ if (this._closestTo0.next === null) {
404
+ this._closestTo0 = dln.prev;
405
+ } else if (this.closestToZero.prev === null) {
406
+ this._closestTo0 = dln.prev;
407
+ } else {
408
+ var prevAbsValue = Math.abs(this._closestTo0.prev.value);
409
+ var nextAbsValue = Math.abs(this._closestTo0.next.value);
410
+ if (prevAbsValue < nextAbsValue) {
411
+ this._closestTo0 = this._closestTo0.prev;
412
+ } else {
413
+ this._closestTo0 = this._closestTo0.next;
414
+ }
415
+ }
416
+ }
417
+ if (dln === this._min) {
418
+ this._min = this._min.next;
419
+ this._min.prev = null;
420
+ } else if (dln === this._max) {
421
+ this._max = this._max.prev;
422
+ this._max.next = null;
423
+ } else {
424
+ dln.next.prev = dln.prev;
425
+ dln.prev.next = dln.next;
426
+ }
427
+ }
428
+ dln = null;
429
+ delete this._idToNode[datum.id];
430
+ this.size--;
431
+ return this;
432
+ };
433
+ return _beeswarm;
434
+ }
435
+ ;
436
+ exports2.beeswarm = beeswarm2;
437
+ Object.defineProperty(exports2, "__esModule", { value: true });
438
+ });
439
+ }
440
+ });
441
+
442
+ // src/spliceevent.prep.js
443
+ function mapjunctiontoexons(junctions, genes) {
444
+ for (const j of junctions) {
445
+ j.exonleft = [];
446
+ j.exonright = [];
447
+ j.exonleftin = [];
448
+ j.exonrightin = [];
449
+ j.intronleft = [];
450
+ j.intronright = [];
451
+ j.leftout = [];
452
+ j.rightout = [];
453
+ j.matchisoform = [];
454
+ }
455
+ const usegenes = [];
456
+ for (const gene of genes) {
457
+ let use = false;
458
+ for (const j of junctions) {
459
+ if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
460
+ use = true;
461
+ break;
462
+ }
463
+ }
464
+ if (use) {
465
+ usegenes.push(gene);
466
+ }
467
+ }
468
+ if (usegenes.length == 0) {
469
+ return;
470
+ }
471
+ const leftpos = /* @__PURE__ */ new Map();
472
+ const rightpos = /* @__PURE__ */ new Map();
473
+ for (const j of junctions) {
474
+ if (!leftpos.has(j.start)) {
475
+ leftpos.set(j.start, []);
476
+ }
477
+ leftpos.get(j.start).push(j);
478
+ if (!rightpos.has(j.stop)) {
479
+ rightpos.set(j.stop, []);
480
+ }
481
+ rightpos.get(j.stop).push(j);
482
+ }
483
+ for (const [pos, jlst] of leftpos) {
484
+ for (const gm of usegenes) {
485
+ if (!gm.exon) continue;
486
+ for (let i = 0; i < gm.exon.length; i++) {
487
+ if (gm.exon[i][1] - 1 == pos) {
488
+ for (const j of jlst) {
489
+ j.exonleft.push({
490
+ gm,
491
+ exonidx: i
492
+ });
493
+ }
494
+ }
495
+ if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
496
+ for (const j of jlst) {
497
+ j.exonleftin.push({
498
+ gm,
499
+ exonidx: i
500
+ });
501
+ }
502
+ }
503
+ }
504
+ if (gm.intron) {
505
+ for (let i = 0; i < gm.intron.length; i++) {
506
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
507
+ for (const j of jlst) {
508
+ j.intronleft.push({
509
+ gm,
510
+ intronidx: i
511
+ });
512
+ }
513
+ }
514
+ }
515
+ }
516
+ }
517
+ }
518
+ for (const [pos, jlst] of rightpos) {
519
+ for (const gm of usegenes) {
520
+ if (!gm.exon) continue;
521
+ for (let i = 0; i < gm.exon.length; i++) {
522
+ if (gm.exon[i][0] == pos) {
523
+ for (const j of jlst) {
524
+ j.exonright.push({
525
+ gm,
526
+ exonidx: i
527
+ });
528
+ }
529
+ }
530
+ if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
531
+ for (const j of jlst) {
532
+ j.exonrightin.push({
533
+ gm,
534
+ exonidx: i
535
+ });
536
+ }
537
+ }
538
+ }
539
+ if (gm.intron) {
540
+ for (let i = 0; i < gm.intron.length; i++) {
541
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
542
+ for (const j of jlst) {
543
+ j.intronright.push({
544
+ gm,
545
+ intronidx: i
546
+ });
547
+ }
548
+ }
549
+ }
550
+ }
551
+ }
552
+ }
553
+ for (const j of junctions) {
554
+ {
555
+ const isoforms = /* @__PURE__ */ new Set();
556
+ for (const q of j.exonleft) isoforms.add(q.gm.isoform);
557
+ for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
558
+ for (const q of j.intronleft) isoforms.add(q.gm.isoform);
559
+ if (isoforms.size) {
560
+ for (const gm of usegenes) {
561
+ if (!isoforms.has(gm.isoform)) continue;
562
+ if (gm.stop <= j.stop) {
563
+ j.rightout.push({
564
+ gm
565
+ });
566
+ }
567
+ }
568
+ }
569
+ }
570
+ {
571
+ const isoforms = /* @__PURE__ */ new Set();
572
+ for (const q of j.exonright) isoforms.add(q.gm.isoform);
573
+ for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
574
+ for (const q of j.intronright) isoforms.add(q.gm.isoform);
575
+ if (isoforms.size) {
576
+ for (const gm of usegenes) {
577
+ if (!isoforms.has(gm.isoform)) continue;
578
+ if (gm.start > j.start) {
579
+ j.leftout.push({
580
+ gm
581
+ });
582
+ }
583
+ }
584
+ }
585
+ }
586
+ }
587
+ for (const j of junctions) {
588
+ if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
589
+ for (const el of j.exonleft) {
590
+ for (const er of j.exonright) {
591
+ if (el.gm.isoform == er.gm.isoform) {
592
+ j.matchisoform.push({
593
+ gm: el.gm,
594
+ leftexonidx: el.exonidx,
595
+ rightexonidx: er.exonidx
596
+ });
597
+ }
598
+ }
599
+ }
600
+ }
601
+ }
602
+
603
+ // src/spliceevent.exonskip.js
604
+ var exonskipcolor = "#99004d";
605
+ var exonaltcolor = "#004d99";
606
+ function findexonskipping(multisample, junctions, gmdata) {
607
+ const allevents = [];
608
+ for (const j0 of junctions) {
609
+ if (!j0.matchisoform || j0.matchisoform.length == 0) {
610
+ continue;
611
+ }
612
+ for (const j0isoform of j0.matchisoform) {
613
+ const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
614
+ const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
615
+ if (j0exonend - j0exonbegin <= 1) {
616
+ continue;
617
+ }
618
+ const jB = j0;
619
+ const thisevent = {
620
+ skippedexon: [],
621
+ junctionB: jB,
622
+ junctionAlst: []
623
+ };
624
+ for (let i = j0exonbegin + 1; i < j0exonend; i++) {
625
+ thisevent.skippedexon.push(i);
626
+ }
627
+ let gmB = null;
628
+ for (const gm of gmdata) {
629
+ if (!gm.intron) continue;
630
+ for (const i of gm.intron) {
631
+ if (i[0] - 1 == jB.start && i[1] == jB.stop) {
632
+ gmB = gm;
633
+ break;
634
+ }
635
+ }
636
+ if (gmB) {
637
+ break;
638
+ }
639
+ }
640
+ if (gmB) {
641
+ thisevent.isaltexon = true;
642
+ thisevent.color = exonaltcolor;
643
+ thisevent.gmA = j0isoform.gm;
644
+ thisevent.gmB = gmB;
645
+ } else {
646
+ thisevent.isskipexon = true;
647
+ thisevent.color = exonskipcolor;
648
+ thisevent.gm = j0isoform.gm;
649
+ const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
650
+ if (utr3) thisevent.utr3 = true;
651
+ if (utr5) thisevent.utr5 = true;
652
+ if (coding) thisevent.coding = true;
653
+ }
654
+ {
655
+ const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
656
+ for (const ja of jAlst) {
657
+ thisevent.junctionAlst.push(ja);
658
+ }
659
+ }
660
+ if (thisevent.isskipexon) {
661
+ findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
662
+ }
663
+ if (multisample) {
664
+ if (!jB.data) {
665
+ console.error("exonskip: jB.data missing when it is multi-sample");
666
+ continue;
667
+ }
668
+ if (jB.data.length == 0) {
669
+ console.error("exonskip: jB.data.length==0");
670
+ continue;
671
+ }
672
+ let percentagesamplesum = 0;
673
+ for (const sampleBdata of jB.data) {
674
+ const bcount = sampleBdata.v;
675
+ let acountsum = 0;
676
+ for (const junctionA of thisevent.junctionAlst) {
677
+ if (!junctionA) {
678
+ continue;
679
+ }
680
+ if (!junctionA.data) {
681
+ console.log("exonskip: jA.data missing when multi-sample");
682
+ continue;
683
+ }
684
+ for (const sampleAdata of junctionA.data) {
685
+ if (sampleAdata.tkid == sampleBdata.tkid) {
686
+ acountsum += sampleAdata.v;
687
+ break;
688
+ }
689
+ }
690
+ }
691
+ percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
692
+ }
693
+ thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
694
+ } else {
695
+ let asum = 0;
696
+ for (const _j of thisevent.junctionAlst) {
697
+ asum += _j ? _j.data[0].v : 0;
698
+ }
699
+ thisevent.percentage = Math.ceil(
700
+ 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
701
+ );
702
+ }
703
+ allevents.push(thisevent);
704
+ }
705
+ }
706
+ const exoncoords = /* @__PURE__ */ new Map();
707
+ for (const evt of allevents) {
708
+ const positionlst = [];
709
+ for (const eid of evt.skippedexon) {
710
+ let thisexon;
711
+ if (evt.isskipexon) {
712
+ thisexon = evt.gm.exon[eid];
713
+ } else {
714
+ thisexon = evt.gmA.exon[eid];
715
+ }
716
+ positionlst.push(thisexon[0]);
717
+ positionlst.push(thisexon[1]);
718
+ }
719
+ if (positionlst.length == 0) {
720
+ console.error("not possible: no skipped exon position for exon-skip");
721
+ console.log(evt);
722
+ continue;
723
+ }
724
+ positionlst.sort();
725
+ const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
726
+ if (!exoncoords.has(posstr)) {
727
+ exoncoords.set(posstr, []);
728
+ }
729
+ exoncoords.get(posstr).push(evt);
730
+ }
731
+ const eventsetlst = [];
732
+ for (const eventlst of exoncoords.values()) {
733
+ const thisset = {
734
+ eventlst,
735
+ exonlst: []
736
+ // each exon: {start:, stop:}
737
+ };
738
+ eventsetlst.push(thisset);
739
+ const firstevent = eventlst[0];
740
+ for (const eid of firstevent.skippedexon) {
741
+ const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
742
+ const thisexon = gm.exon[eid];
743
+ thisset.exonlst.push({
744
+ chr: gm.chr,
745
+ start: thisexon[0],
746
+ stop: thisexon[1]
747
+ });
748
+ }
749
+ let eventcount_skip = 0, eventcount_alt = 0;
750
+ for (const evt of eventlst) {
751
+ if (evt.isskipexon) {
752
+ eventcount_skip++;
753
+ } else {
754
+ eventcount_alt++;
755
+ }
756
+ }
757
+ thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
758
+ const exonnumberset = /* @__PURE__ */ new Set();
759
+ for (const evt of eventlst) {
760
+ const thisexonnumbers = [];
761
+ for (const eid of evt.skippedexon) {
762
+ thisexonnumbers.push(eid + 1);
763
+ }
764
+ exonnumberset.add(thisexonnumbers.join(","));
765
+ }
766
+ if (exonnumberset.size == 1) {
767
+ thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
768
+ } else {
769
+ thisset.toplabelsays = "exon ";
770
+ }
771
+ thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
772
+ if (multisample) {
773
+ let samplecount = 0;
774
+ for (const evt of eventlst) {
775
+ samplecount = Math.max(samplecount, evt.junctionB.data.length);
776
+ }
777
+ thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
778
+ }
779
+ thisset.bottomlabelsays = firstevent.percentage + "%";
780
+ }
781
+ return eventsetlst;
782
+ }
783
+ function findjunctionbystartstop(lst, p1, p2) {
784
+ const start = Math.min(p1, p2);
785
+ const stop = Math.max(p1, p2);
786
+ for (const j of lst) {
787
+ if (j.start == start && j.stop == stop) return j;
788
+ }
789
+ return null;
790
+ }
791
+ function findjunctionAlst(junctions, gm, exonbegin, exonend) {
792
+ const lst = [];
793
+ const exonstart = Math.min(exonbegin, exonend);
794
+ const exonstop = Math.max(exonbegin, exonend);
795
+ if (gm.strand == "+") {
796
+ for (let i = exonstart; i < exonstop; i++) {
797
+ const p1 = gm.exon[i][1] - 1;
798
+ const p2 = gm.exon[i + 1][0];
799
+ lst.push(findjunctionbystartstop(junctions, p1, p2));
800
+ }
801
+ } else {
802
+ for (let i = exonstop; i > exonstart; i--) {
803
+ const p1 = gm.exon[i][1] - 1;
804
+ const p2 = gm.exon[i - 1][0];
805
+ lst.unshift(findjunctionbystartstop(junctions, p1, p2));
806
+ }
807
+ }
808
+ return lst;
809
+ }
810
+ function findupdown1junction4exonskip(evt, gm, junctions) {
811
+ let exonidx = evt.skippedexon[0];
812
+ if (exonidx > 1) {
813
+ let p1, p2;
814
+ if (gm.strand == "+") {
815
+ p1 = gm.exon[exonidx - 2][1] - 1;
816
+ p2 = gm.exon[exonidx - 1][0];
817
+ } else {
818
+ p1 = gm.exon[exonidx - 1][1] - 1;
819
+ p2 = gm.exon[exonidx - 2][0];
820
+ }
821
+ evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
822
+ }
823
+ exonidx = evt.skippedexon[evt.skippedexon.length - 1];
824
+ if (exonidx < gm.exon.length - 2) {
825
+ let p1, p2;
826
+ if (gm.strand == "+") {
827
+ p1 = gm.exon[exonidx + 1][1] - 1;
828
+ p2 = gm.exon[exonidx + 2][0];
829
+ } else {
830
+ p1 = gm.exon[exonidx + 2][1] - 1;
831
+ p2 = gm.exon[exonidx + 1][0];
832
+ }
833
+ evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
834
+ }
835
+ }
836
+ function checkexoncodingutr(exonidlst, gm) {
837
+ if (!gm.coding) {
838
+ return [false, false, false];
839
+ }
840
+ let exonstart = gm.exon[exonidlst[0]][0];
841
+ let exonstop = gm.exon[exonidlst[0]][1];
842
+ for (const idx of exonidlst) {
843
+ exonstart = Math.min(gm.exon[idx][0], exonstart);
844
+ exonstop = Math.max(gm.exon[idx][1], exonstop);
845
+ }
846
+ const forward = gm.strand == "+";
847
+ let utr3 = false, utr5 = false, coding = false;
848
+ if (exonstop <= gm.codingstart) {
849
+ if (forward) {
850
+ utr5 = true;
851
+ } else {
852
+ utr3 = true;
853
+ }
854
+ } else if (exonstart >= gm.codingstop) {
855
+ if (forward) {
856
+ utr3 = true;
857
+ } else {
858
+ utr5 = true;
859
+ }
860
+ } else {
861
+ coding = true;
862
+ }
863
+ return [utr3, utr5, coding];
864
+ }
865
+
866
+ // src/block.tk.junction.spliceevent.js
867
+ function spliceeventanalyze(tk, block) {
868
+ if (tk.eventsg) {
869
+ tk.eventsg.selectAll("*").remove();
870
+ }
871
+ if (tk.type != tkt.junction) {
872
+ return;
873
+ }
874
+ if (!tk.data) {
875
+ return;
876
+ }
877
+ if (tk.data.length == 0) {
878
+ return;
879
+ }
880
+ const [gmdataerr, gmdata] = getgmdata(block);
881
+ if (gmdataerr) {
882
+ const fontsize = 12;
883
+ const pad = 2;
884
+ tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
885
+ tk.eventsg.append("text").text(gmdataerr).attr("font-family", font).attr("font-size", fontsize).attr("fill", "#858585").attr("text-anchor", "middle").attr("x", block.width / 2).attr("y", pad + fontsize / 2).attr("dominant-baseline", "central");
886
+ tk.height_main += pad * 2 + fontsize;
887
+ block.block_setheight();
888
+ return;
889
+ }
890
+ if (!gmdata) {
891
+ return;
892
+ }
893
+ for (const junction of tk.data) {
894
+ delete junction.spliceevents;
895
+ }
896
+ mapjunctiontoexons(tk.data, gmdata);
897
+ const allevents = [];
898
+ const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
899
+ if (exonskipalt.length > 0) {
900
+ for (const exonset of exonskipalt) {
901
+ if (exonlstoutofrange(exonset.exonlst, block)) {
902
+ continue;
903
+ }
904
+ allevents.push(exonset);
905
+ for (const thisevt of exonset.eventlst) {
906
+ if (!thisevt.junctionB.spliceevents) {
907
+ thisevt.junctionB.spliceevents = [];
908
+ }
909
+ thisevt.junctionB.spliceevents.push(thisevt);
910
+ }
911
+ }
912
+ }
913
+ if (allevents.length) {
914
+ rendereventsintrack(allevents, tk, block);
915
+ }
916
+ }
917
+ function rendereventsintrack(allevents, tk, block) {
918
+ const labelfontsize = 10;
919
+ const stackspace = 1;
920
+ const boxlabelspacing = 2;
921
+ let stackheight;
922
+ if (tk.totalsamplecount > 1) {
923
+ stackheight = labelfontsize * 3 + stackspace * 2;
924
+ } else {
925
+ stackheight = labelfontsize * 2 + stackspace;
926
+ }
927
+ for (const eventset of allevents) {
928
+ eventset.g = tk.eventsg.append("g");
929
+ const junctionB = eventset.eventlst[0].junctionB;
930
+ const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
931
+ eventset.toplabel = eventset.g.append("text").text(eventset.toplabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize / 2).attr("dominant-baseline", "central");
932
+ if (tk.totalsamplecount > 1) {
933
+ eventset.middlelabel = eventset.g.append("text").text(eventset.middlelabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize * 1.5).attr("dominant-baseline", "central");
934
+ }
935
+ let willshowframe = false;
936
+ let thiseventframe = null;
937
+ for (const evt of eventset.eventlst) {
938
+ if (evt.isaltexon) {
939
+ evt.framenocheck = true;
940
+ continue;
941
+ }
942
+ if (evt.isskipexon) {
943
+ if (!evt.gm.coding) {
944
+ evt.framenocheck = true;
945
+ continue;
946
+ }
947
+ if (evt.utr3 || evt.utr5) {
948
+ evt.framenocheck = true;
949
+ continue;
950
+ }
951
+ }
952
+ willshowframe = true;
953
+ if (block.genome.junctionframecache.has(jbstr)) {
954
+ let isoform;
955
+ if (evt.isskipexon) {
956
+ isoform = evt.gm.isoform;
957
+ }
958
+ const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
959
+ if (thisframe == void 0) {
960
+ } else {
961
+ evt.frame = thisframe;
962
+ if (thiseventframe == null) {
963
+ thiseventframe = thisframe;
964
+ } else {
965
+ if (thisframe == IN_frame) {
966
+ thiseventframe = IN_frame;
967
+ }
968
+ }
969
+ }
970
+ } else {
971
+ }
972
+ }
973
+ eventset.bottomlabel = eventset.g.append("text").text(
974
+ eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
975
+ ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
976
+ if (willshowframe && thiseventframe == null) {
977
+ for (const evt of eventset.eventlst) {
978
+ let gm;
979
+ if (evt.isaltexon) {
980
+ gm = evt.gmB;
981
+ } else if (evt.isskipexon) {
982
+ gm = evt.gm;
983
+ }
984
+ if (!block.genome.junctionframecache.has(jbstr)) {
985
+ checkjunctionframe({
986
+ jbstr,
987
+ evt,
988
+ gm,
989
+ block,
990
+ eventset
991
+ });
992
+ continue;
993
+ }
994
+ if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
995
+ checkjunctionframe({
996
+ jbstr,
997
+ evt,
998
+ gm,
999
+ block,
1000
+ eventset
1001
+ });
1002
+ }
1003
+ }
1004
+ }
1005
+ const exonobjlst = [];
1006
+ let boxstart = null, boxstop;
1007
+ for (const exon of eventset.exonlst) {
1008
+ const pointa = block.seekcoord(exon.chr, exon.start)[0];
1009
+ if (!pointa) {
1010
+ console.log("skipped exon start position not mapped: " + exon.start);
1011
+ return;
1012
+ }
1013
+ const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1014
+ if (!pointb) {
1015
+ console.log("skipped exon stop position not mapped: " + exon.stop);
1016
+ return;
1017
+ }
1018
+ const exonobj = {
1019
+ x: Math.min(pointa.x, pointb.x),
1020
+ w: Math.max(1, Math.abs(pointa.x - pointb.x))
1021
+ };
1022
+ exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1023
+ console.log(eventset);
1024
+ });
1025
+ if (boxstart == null) {
1026
+ boxstart = exonobj.x;
1027
+ boxstop = exonobj.x + exonobj.w;
1028
+ } else {
1029
+ boxstart = Math.min(boxstart, exonobj.x);
1030
+ boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1031
+ }
1032
+ exonobjlst.push(exonobj);
1033
+ }
1034
+ for (const exon of exonobjlst) {
1035
+ exon.rect.attr("x", exon.x - boxstart);
1036
+ }
1037
+ eventset.boxstart = boxstart;
1038
+ eventset.boxwidth = boxstop - boxstart;
1039
+ if (eventset.exonlst.length > 1) {
1040
+ eventset.g.append("line").attr("stroke", eventset.color).attr("stroke-opacity", 0.2).attr("stroke-width", 2).attr("shape-rendering", "crispEdges").attr("x1", 0).attr("x2", eventset.boxwidth).attr("y1", stackheight / 2 - 0.5).attr("y2", stackheight / 2 - 0.5);
1041
+ }
1042
+ eventset.toplabel.each(function() {
1043
+ eventset.labelwidth = this.getBBox().width;
1044
+ });
1045
+ if (eventset.middlelabel) {
1046
+ eventset.middlelabel.each(function() {
1047
+ eventset.labelwidth = this.getBBox().width;
1048
+ });
1049
+ }
1050
+ eventset.bottomlabel.each(function() {
1051
+ eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1052
+ });
1053
+ if (eventset.labelwidth > eventset.boxstart) {
1054
+ eventset.labelonright = true;
1055
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1056
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1057
+ if (eventset.middlelabel) {
1058
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1059
+ }
1060
+ } else {
1061
+ eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1062
+ eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1063
+ if (eventset.middlelabel) {
1064
+ eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1065
+ }
1066
+ }
1067
+ eventset.cover = eventset.g.append("rect").attr("x", eventset.labelonright ? 0 : -eventset.labelwidth - boxlabelspacing).attr("width", eventset.labelwidth + boxlabelspacing + eventset.boxwidth).attr("height", stackheight).attr("fill", "#858585").attr("fill-opacity", 0).on("mouseover", () => {
1068
+ eventset.cover.attr("fill-opacity", 0.1);
1069
+ }).on("mouseout", () => {
1070
+ eventset.cover.attr("fill-opacity", 0);
1071
+ }).on("click", () => {
1072
+ tk.tktip.clear();
1073
+ displayspliceevents(eventset.eventlst, tk.tktip.d);
1074
+ tk.tktip.showunder(eventset.cover.node());
1075
+ });
1076
+ }
1077
+ const stacks = [0];
1078
+ for (const eventset of allevents) {
1079
+ let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1080
+ let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1081
+ for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1082
+ if (x1 > stacks[stackidx]) {
1083
+ eventset.stackidx = stackidx;
1084
+ stacks[stackidx] = x2;
1085
+ break;
1086
+ }
1087
+ if (!eventset.labelonright) {
1088
+ const newx1 = eventset.boxstart;
1089
+ const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1090
+ if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1091
+ eventset.labelonright = true;
1092
+ eventset.stackidx = stackidx;
1093
+ stacks[stackidx] = newx2;
1094
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1095
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1096
+ if (eventset.middlelabel) {
1097
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1098
+ }
1099
+ eventset.cover.attr("x", 0);
1100
+ break;
1101
+ }
1102
+ }
1103
+ }
1104
+ if (eventset.stackidx == void 0) {
1105
+ eventset.stackidx = stacks.length;
1106
+ stacks.push(x2);
1107
+ }
1108
+ eventset.g.attr(
1109
+ "transform",
1110
+ "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1111
+ );
1112
+ }
1113
+ tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1114
+ block.block_setheight();
1115
+ }
1116
+ function checkjunctionframe(arg) {
1117
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1118
+ arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1119
+ }
1120
+ if (!arg.gm.coding) {
1121
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1122
+ mayupdateeventsetlabel(arg);
1123
+ return;
1124
+ }
1125
+ const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1126
+ dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1127
+ if (!data) {
1128
+ console.log("server error");
1129
+ return;
1130
+ }
1131
+ if (data.error) {
1132
+ console.log(data.error);
1133
+ return;
1134
+ }
1135
+ if (typeof data.frame != "boolean") {
1136
+ console.log("invalid result from translategm: " + data.frame);
1137
+ return;
1138
+ }
1139
+ arg.evt.frame = data.frame;
1140
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1141
+ mayupdateeventsetlabel(arg);
1142
+ });
1143
+ }
1144
+ function mayupdateeventsetlabel(arg) {
1145
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1146
+ return;
1147
+ }
1148
+ let frame = OUT_frame;
1149
+ for (const evt of arg.eventset.eventlst) {
1150
+ if (evt.framenocheck) {
1151
+ continue;
1152
+ }
1153
+ let isoform;
1154
+ if (evt.isskipexon) {
1155
+ isoform = evt.gm.isoform;
1156
+ }
1157
+ const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1158
+ if (thisframe == void 0) {
1159
+ return;
1160
+ }
1161
+ if (thisframe == IN_frame) {
1162
+ frame = IN_frame;
1163
+ }
1164
+ }
1165
+ arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1166
+ }
1167
+ function displayspliceevents(events, holder) {
1168
+ const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1169
+ if (events.length > 1) {
1170
+ holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1171
+ const name = Math.random().toString();
1172
+ for (const [idx, evt] of events.entries()) {
1173
+ const id = name + idx;
1174
+ const row = holder.append("div").style("margin-top", "3px");
1175
+ row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1176
+ displayspliceevents_show(events, idx, showdiv);
1177
+ });
1178
+ row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1179
+ }
1180
+ }
1181
+ const showdiv = holder.append("div");
1182
+ displayspliceevents_show(events, evt2showidx, showdiv);
1183
+ }
1184
+ function displayspliceevents_show(events, idx, div) {
1185
+ div.selectAll("*").remove();
1186
+ import("./spliceevent.exonskip.diagram-C5526P7P.js").then((p) => {
1187
+ p.default({
1188
+ event: events[idx],
1189
+ holder: div,
1190
+ nophrase: events.length > 1
1191
+ });
1192
+ });
1193
+ }
1194
+ function exonlstoutofrange(lst, block) {
1195
+ const chr = lst[0].chr;
1196
+ let start = lst[0].start;
1197
+ let stop = lst[0].stop;
1198
+ for (const e of lst) {
1199
+ start = Math.min(start, e.start);
1200
+ stop = Math.max(stop, e.stop);
1201
+ }
1202
+ const starthit = block.seekcoord(chr, start)[0];
1203
+ const stophit = block.seekcoord(chr, stop)[0];
1204
+ if (!starthit || !stophit) {
1205
+ return true;
1206
+ }
1207
+ let startoutleft = false;
1208
+ let startoutright = false;
1209
+ if (starthit.x <= 0) {
1210
+ startoutleft = true;
1211
+ } else if (starthit.x >= block.width) {
1212
+ startoutright = true;
1213
+ }
1214
+ let stopoutleft = false;
1215
+ let stopoutright = false;
1216
+ if (stophit.x <= 0) {
1217
+ stopoutleft = true;
1218
+ } else if (stophit.x >= block.width) {
1219
+ stopoutright = true;
1220
+ }
1221
+ if (startoutleft && stopoutleft) return true;
1222
+ if (startoutright && stopoutright) return true;
1223
+ return false;
1224
+ }
1225
+ function getgmdata(block) {
1226
+ if (!block.gmmode || block.gmmode == gmmode.genomic) {
1227
+ const genetk = [];
1228
+ for (const t of block.tklst) {
1229
+ if (t.__isgene) {
1230
+ genetk.push(t);
1231
+ }
1232
+ }
1233
+ if (genetk.length == 0) {
1234
+ return ["Add a gene track to analyze splice junctions."];
1235
+ }
1236
+ const gmdatalst = [];
1237
+ for (const t of genetk) {
1238
+ if (t.gmdata) {
1239
+ for (const m of t.gmdata) {
1240
+ gmdatalst.push(m);
1241
+ }
1242
+ }
1243
+ }
1244
+ if (gmdatalst.length == 0) {
1245
+ return [null];
1246
+ }
1247
+ const regions = [];
1248
+ for (const m of gmdatalst) {
1249
+ let overlap = false;
1250
+ for (const r of regions) {
1251
+ if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1252
+ overlap = true;
1253
+ r.start = Math.min(r.start, m.start);
1254
+ r.stop = Math.max(r.stop, m.stop);
1255
+ break;
1256
+ }
1257
+ }
1258
+ if (!overlap) {
1259
+ regions.push({ start: m.start, stop: m.stop });
1260
+ }
1261
+ }
1262
+ if (regions.length >= 3) {
1263
+ return ["Zoom in on a single gene to analyze splice junctions."];
1264
+ }
1265
+ return [null, gmdatalst];
1266
+ }
1267
+ if (block.gmmode == gmmode.gmsum) {
1268
+ if (!block.allgm) {
1269
+ return ["Error: block.allgm[] is missing"];
1270
+ }
1271
+ return [null, block.allgm];
1272
+ }
1273
+ if (!block.usegm) {
1274
+ return ["Error: block.usegm is missing"];
1275
+ }
1276
+ return [null, [block.usegm]];
1277
+ }
1278
+
1279
+ // src/block.tk.junction.renderjunctions.js
1280
+ var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1281
+ var colorfunc = ordinal(category10_default);
1282
+ var minfontsize = 12;
1283
+ function rendertk(junctions, tk, block) {
1284
+ if (tk.data) {
1285
+ const map = /* @__PURE__ */ new Map();
1286
+ for (const j of tk.data) {
1287
+ map.set(j.chr + "." + j.start + "." + j.stop, j);
1288
+ }
1289
+ const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1290
+ for (const i of junctions) {
1291
+ const j = map.get(i.chr + "." + i.start + "." + i.stop);
1292
+ if (j) {
1293
+ i.x = j.x + pannedpx;
1294
+ i.mode = j.mode;
1295
+ i.modefix = j.modefix;
1296
+ if (i.mode == modesample) {
1297
+ i.mode = moderaise;
1298
+ }
1299
+ }
1300
+ }
1301
+ }
1302
+ tk.data = junctions;
1303
+ tk.glider.selectAll("*").remove();
1304
+ tk.leftaxis.selectAll("*").remove();
1305
+ if (tk.readcountcutoff) {
1306
+ const newj = [];
1307
+ for (const j of tk.data) {
1308
+ if (j.data) {
1309
+ const newsamples = [];
1310
+ for (const s of j.data) {
1311
+ if (s.v >= tk.readcountcutoff) {
1312
+ newsamples.push(s);
1313
+ }
1314
+ }
1315
+ if (newsamples.length == 0) {
1316
+ continue;
1317
+ }
1318
+ j.data = newsamples;
1319
+ newj.push(j);
1320
+ } else {
1321
+ if (j.v >= tk.readcountcutoff) {
1322
+ newj.push(j);
1323
+ }
1324
+ }
1325
+ }
1326
+ tk.data = newj;
1327
+ }
1328
+ if (tk.data.length == 0) {
1329
+ tk.height_main = 50;
1330
+ block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1331
+ tk.label_mcount.text("");
1332
+ if (tk.label_samplecount) {
1333
+ tk.label_samplecount.text("");
1334
+ }
1335
+ get_leftLabelMaxwidth(tk);
1336
+ block.setllabel();
1337
+ block.block_setheight();
1338
+ return;
1339
+ }
1340
+ tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1341
+ get_leftLabelMaxwidth(tk);
1342
+ block.setllabel();
1343
+ junctiontype2color(tk, block);
1344
+ const mg = tk.glider.append("g");
1345
+ tk.data.sort((a, b) => {
1346
+ return a._x - b._x;
1347
+ });
1348
+ let maxsamplecount = 0;
1349
+ if (tk.totalsamplecount > 1) {
1350
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1351
+ const radius = 5;
1352
+ let mrd = 0;
1353
+ const w = Math.pow(radius, 2) * Math.PI;
1354
+ if (maxsamplecount <= 10) {
1355
+ mrd = w * maxsamplecount * 0.9;
1356
+ } else if (maxsamplecount <= 100) {
1357
+ mrd = w * 10;
1358
+ } else if (maxsamplecount <= 1e3) {
1359
+ mrd = w * 14;
1360
+ } else {
1361
+ mrd = w * 20;
1362
+ }
1363
+ const sf_discradius = linear().domain([
1364
+ 1,
1365
+ maxsamplecount * 0.5 + 0.1,
1366
+ maxsamplecount * 0.6 + 0.1,
1367
+ maxsamplecount * 0.7 + 0.1,
1368
+ maxsamplecount * 0.8 + 0.1,
1369
+ maxsamplecount
1370
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1371
+ let maxradius = 0;
1372
+ for (const j of tk.data) {
1373
+ j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1374
+ if (j.data.length > 1) {
1375
+ mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1376
+ const b = this.getBBox();
1377
+ const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1378
+ j.radius = Math.max(j.radius, newrad);
1379
+ }).remove();
1380
+ }
1381
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1382
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1383
+ maxradius = Math.max(maxradius, j.radius2);
1384
+ }
1385
+ tk.maxradius = maxradius;
1386
+ } else {
1387
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1388
+ const radius = 5;
1389
+ let mrd = 0;
1390
+ const w = Math.pow(radius, 2) * Math.PI;
1391
+ if (maxsamplecount <= 10) {
1392
+ mrd = w * maxsamplecount * 0.9;
1393
+ } else if (maxsamplecount <= 100) {
1394
+ mrd = w * 5;
1395
+ } else if (maxsamplecount <= 1e3) {
1396
+ mrd = w * 7;
1397
+ } else {
1398
+ mrd = w * 10;
1399
+ }
1400
+ const sf_discradius = linear().domain([
1401
+ 1,
1402
+ maxsamplecount * 0.5 + 0.1,
1403
+ maxsamplecount * 0.6 + 0.1,
1404
+ maxsamplecount * 0.7 + 0.1,
1405
+ maxsamplecount * 0.8 + 0.1,
1406
+ maxsamplecount
1407
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1408
+ let maxradius = 0;
1409
+ for (const j of tk.data) {
1410
+ j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1411
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1412
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1413
+ maxradius = Math.max(maxradius, j.radius2);
1414
+ }
1415
+ tk.maxradius = maxradius;
1416
+ }
1417
+ let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1418
+ for (const j of tk.data) {
1419
+ for (const s of j.data) {
1420
+ maxread = Math.max(s.v, maxread);
1421
+ }
1422
+ if (j.data.length == 1) {
1423
+ j.median = j.data[0].v;
1424
+ } else {
1425
+ const readlst = j.data.map((s) => s.v);
1426
+ readlst.sort((a, b) => a - b);
1427
+ j.median = readlst[Math.floor(j.data.length / 2)];
1428
+ }
1429
+ if (j.median > maxmedian) {
1430
+ maxmedian = j.median;
1431
+ maxmedianradius = j.radius;
1432
+ }
1433
+ }
1434
+ tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1435
+ axisstyle({
1436
+ axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1437
+ color: "black",
1438
+ showline: true
1439
+ });
1440
+ tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1441
+ tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1442
+ automode(tk, null, block.width);
1443
+ mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1444
+ {
1445
+ const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1446
+ mg.append("line").attr("x1", 0).attr("y1", topy).attr("y2", topy).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
1447
+ mg.append("line").attr("x1", 0).attr("y1", topy + tk.axisheight).attr("y2", topy + tk.axisheight).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
1448
+ let v = 10;
1449
+ while (v <= maxread) {
1450
+ mg.append("line").attr("x1", 0).attr("y1", topy + tk.yscale(v)).attr("y2", topy + tk.yscale(v)).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("stroke-dasharray", "4,4").attr("shape-rendering", "crispEdges");
1451
+ v *= 10;
1452
+ }
1453
+ }
1454
+ const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1455
+ j.jugg = this;
1456
+ });
1457
+ tk.jug = jug;
1458
+ if (tk.hljunctions) {
1459
+ jug.attr("class", (d) => {
1460
+ for (const j of tk.hljunctions) {
1461
+ if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1462
+ return "sja_pulse";
1463
+ }
1464
+ }
1465
+ return null;
1466
+ });
1467
+ }
1468
+ jug.append("line").attr("stroke", (d) => d.color).attr("x1", (d) => set_leg_x1(d)).attr("y2", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
1469
+ d.leg1 = this;
1470
+ }).classed("sja_jug_leg1", true);
1471
+ jug.append("line").attr("stroke", (d) => d.color).attr("x2", (d) => set_leg_x2(d)).attr("y1", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).classed("sja_jug_leg2", true).each(function(d) {
1472
+ d.leg2 = this;
1473
+ });
1474
+ const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1475
+ jug2.append("line").attr("stroke", (d) => d.color).classed("sja_jug_stem", true).attr("stroke-dasharray", "2,2").attr("shape-rendering", "crispEdges").attr("y1", (d) => set_stem_y1(d)).attr("y2", (d) => set_stem_y2(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
1476
+ d.stem = this;
1477
+ });
1478
+ jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1479
+ jug2.filter((d) => d.data.length > 1).append("text").text((d) => d.data.length).attr("font-size", (d) => Math.max(minfontsize, d.radius)).attr("fill-opacity", (d) => set_discnum(d)).classed("sja_jug_discnum", true).attr("fill", "white").attr("font-family", font).attr("text-anchor", "middle").attr("dominant-baseline", "central");
1480
+ jug2.append("circle").attr("r", (d) => d.radius).attr("stroke", (d) => d.color).classed("sja_aa_disckick", true).attr("fill", "white").attr("fill-opacity", 0).attr("stroke-opacity", 0).on("mouseover", (event, d) => {
1481
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1482
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1483
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1484
+ select_default(d.leg1).attr("stroke-opacity", 1);
1485
+ select_default(d.leg2).attr("stroke-opacity", 1);
1486
+ select_default(d.stem).attr("stroke-opacity", 1);
1487
+ if (d.mode == modefold) {
1488
+ foldedjunctioninfo(d, tk);
1489
+ return;
1490
+ }
1491
+ const circle = event.target.getBoundingClientRect();
1492
+ expandedjunctioninfo(d, tk, circle);
1493
+ }).on("mouseout", () => {
1494
+ tk.pica.g.selectAll("*").remove();
1495
+ tk.tktip.hide();
1496
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1497
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1498
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1499
+ }).on("mousedown", (event) => {
1500
+ event.stopPropagation();
1501
+ }).on("click", (event, d) => {
1502
+ if (d.mode == modefold) {
1503
+ d.mode = moderaise;
1504
+ } else if (d.mode == moderaise) {
1505
+ if (d.data.length == 1) {
1506
+ d.mode = modefold;
1507
+ } else {
1508
+ d.mode = modesample;
1509
+ junctionsamplespread(d, tk, block);
1510
+ }
1511
+ } else {
1512
+ d.mode = modefold;
1513
+ }
1514
+ d.modefix = true;
1515
+ horiplace(tk.data, block.width, tk);
1516
+ });
1517
+ horiplace(tk.data, block.width, tk);
1518
+ function set_lineopacity(d) {
1519
+ return 0.5;
1520
+ }
1521
+ block.onloadalltk.push(() => {
1522
+ spliceeventanalyze(tk, block);
1523
+ });
1524
+ block.tkcloakoff(tk, {});
1525
+ block.block_setheight();
1526
+ }
1527
+ function horiplace(lst, width, tk) {
1528
+ const todo = [];
1529
+ for (const i of lst) {
1530
+ if (i.x0 < 0) {
1531
+ i.tox = i.x1 - i.radius2 * 2;
1532
+ } else if (i.x1 > width) {
1533
+ i.tox = i.x0 + i.radius2 * 2;
1534
+ } else {
1535
+ i.tox = i._x;
1536
+ }
1537
+ if (i.mode == modefold) {
1538
+ i.x = i.tox;
1539
+ } else {
1540
+ todo.push(i);
1541
+ }
1542
+ }
1543
+ for (const i of lst) {
1544
+ i.x = i.tox;
1545
+ }
1546
+ set_all(tk);
1547
+ return;
1548
+ }
1549
+ function automode(tk, usemode, blockwidth) {
1550
+ for (const i of tk.data) {
1551
+ if (!i.mode) i.mode = moderaise;
1552
+ }
1553
+ return;
1554
+ const samplecountlst = [];
1555
+ for (let i = 0; i < tk.data.length; i++) {
1556
+ samplecountlst.push({
1557
+ idx: i,
1558
+ count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1559
+ });
1560
+ }
1561
+ samplecountlst.sort((a, b) => b.count - a.count);
1562
+ let cumx = 0;
1563
+ for (const cc of samplecountlst) {
1564
+ const d = tk.data[cc.idx];
1565
+ if (!d.mode) {
1566
+ cumx += d.radius2 * 2;
1567
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1568
+ } else {
1569
+ if (d.modefix) {
1570
+ if (d.mode != modefold) {
1571
+ cumx += d.radius2 * 2;
1572
+ }
1573
+ } else {
1574
+ if (usemode) {
1575
+ d.mode = usemode;
1576
+ if (d.mode != modefold) {
1577
+ cumx += d.radius2 * 2;
1578
+ }
1579
+ } else {
1580
+ cumx += d.radius2 * 2;
1581
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1582
+ }
1583
+ }
1584
+ }
1585
+ }
1586
+ }
1587
+ function set_jug(d) {
1588
+ return "translate(" + d.x + ",0)";
1589
+ }
1590
+ function set_leg_x1(d) {
1591
+ return d.x0 - d.x;
1592
+ }
1593
+ function set_leg_x2(d) {
1594
+ return d.x1 - d.x;
1595
+ }
1596
+ function set_discnum(d) {
1597
+ return d.mode == modefold ? 0 : 1;
1598
+ }
1599
+ function set_stem_y1(d) {
1600
+ if (d.mode == modefold) return d.radius;
1601
+ return d.radius2;
1602
+ }
1603
+ function set_qmg(d, tk) {
1604
+ if (d.mode == modesample)
1605
+ return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1606
+ return "translate(0,0) scale(0)";
1607
+ }
1608
+ function set_leg_y(d, tk) {
1609
+ if (d.mode == modefold) return -tk.legheight;
1610
+ return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1611
+ }
1612
+ function set_jug2(d, tk) {
1613
+ if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1614
+ if (d.mode == moderaise)
1615
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1616
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1617
+ }
1618
+ function set_stem_y2(d, tk) {
1619
+ if (d.mode == modefold) return d.radius + tk.lowpad;
1620
+ if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1621
+ return tk.maxradius + tk.padheight;
1622
+ }
1623
+ function set_all(tk) {
1624
+ const dur = 500;
1625
+ if (tk.totalsamplecount > 1) {
1626
+ tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1627
+ tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1628
+ }
1629
+ tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1630
+ tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1631
+ tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1632
+ tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1633
+ tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1634
+ }
1635
+ function junctiontype2color(tk, block) {
1636
+ for (const j of tk.data) {
1637
+ j.color = defaultcolor;
1638
+ }
1639
+ if (tk.nocatepreconfig) {
1640
+ let categories = {};
1641
+ if (tk.categories) {
1642
+ categories = tk.categories;
1643
+ }
1644
+ let hasnewtype = false;
1645
+ for (const j of tk.data) {
1646
+ if (j.type) {
1647
+ if (!categories[j.type]) {
1648
+ hasnewtype = true;
1649
+ categories[j.type] = {
1650
+ label: j.type
1651
+ };
1652
+ if (j.type.toLowerCase() == "known") {
1653
+ categories[j.type].color = "#0C72A8";
1654
+ } else if (j.type.toLowerCase() == "novel") {
1655
+ categories[j.type].color = "#A80C33";
1656
+ } else {
1657
+ categories[j.type].color = colorfunc(j.type);
1658
+ }
1659
+ }
1660
+ }
1661
+ }
1662
+ if (hasnewtype) {
1663
+ tk.categories = categories;
1664
+ if (!tk.tr_legend) {
1665
+ const [tr, td] = legend_newrow(block, tk.name);
1666
+ tk.tr_legend = tr;
1667
+ tk.td_legend = td;
1668
+ tr.style("display", "none");
1669
+ appear(tr, "table-row");
1670
+ }
1671
+ category2legend(tk.categories, tk.td_legend);
1672
+ }
1673
+ }
1674
+ if (tk.categories) {
1675
+ for (const j of tk.data) {
1676
+ if (j.type && tk.categories[j.type]) {
1677
+ j.color = tk.categories[j.type].color;
1678
+ }
1679
+ }
1680
+ }
1681
+ }
1682
+ function foldedjunctioninfo(d, tk) {
1683
+ const fontsize = 15;
1684
+ let pad = 5, y = pad, width = 0;
1685
+ const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1686
+ if (d.type) {
1687
+ tk.pica.g.append("text").text(d.type).attr("fill", d.color).attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1688
+ width = this.getBBox().width;
1689
+ });
1690
+ y += fontsize;
1691
+ }
1692
+ if (d.data) {
1693
+ tk.pica.g.append("text").text(d.data.length + " sample" + (d.data.length > 1 ? "s" : "")).attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1694
+ width = Math.max(width, this.getBBox().width);
1695
+ });
1696
+ y += fontsize;
1697
+ tk.pica.g.append("text").text(d.median + " median").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1698
+ width = Math.max(width, this.getBBox().width);
1699
+ });
1700
+ y += fontsize;
1701
+ } else {
1702
+ tk.pica.g.append("text").text(d.v + " reads").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1703
+ width = Math.max(width, this.getBBox().width);
1704
+ });
1705
+ y += fontsize;
1706
+ }
1707
+ y += pad;
1708
+ bg.attr("width", pad * 2 + width).attr("height", y);
1709
+ tk.pica.g.append("line").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("x1", 30).attr("x2", 30).attr("y1", y).attr("y2", y + 15);
1710
+ y += 15;
1711
+ tk.pica.g.attr(
1712
+ "transform",
1713
+ "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1714
+ );
1715
+ }
1716
+ function expandedjunctioninfo(d, tk, circle) {
1717
+ tk.tktip.clear();
1718
+ const holder = tk.tktip.d;
1719
+ if (d.type) {
1720
+ holder.append("div").style("display", "inline-block").text(d.type).classed("sja_mcdot", true).style("background-color", d.color).style("padding", "1px 8px").style("margin-bottom", "3px");
1721
+ }
1722
+ holder.append("div").html(
1723
+ bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1724
+ );
1725
+ if (d.data) {
1726
+ if (d.data.length > 1) {
1727
+ holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1728
+ if (d.rimcount) {
1729
+ holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1730
+ }
1731
+ holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1732
+ } else if (d.data.length == 1) {
1733
+ samplejunctiontooltip(d, d.data[0], tk, holder);
1734
+ }
1735
+ } else {
1736
+ holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1737
+ }
1738
+ if (d.spliceevents && d.spliceevents.length > 0) {
1739
+ const renderdiv = holder.append("div").style("margin", "10px 0px");
1740
+ displayspliceevents(d.spliceevents, renderdiv);
1741
+ }
1742
+ tk.tktip.show(circle.left + circle.width, circle.top - 50);
1743
+ }
1744
+ function junctionsamplespread(j, tk, block) {
1745
+ if (j.qmg) {
1746
+ j.qmg.remove();
1747
+ }
1748
+ if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1749
+ for (const d of j.data) {
1750
+ if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1751
+ d.color = "gray";
1752
+ continue;
1753
+ }
1754
+ const levelkeys = [];
1755
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1756
+ const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1757
+ if (levelvalue) {
1758
+ levelkeys.push(levelvalue);
1759
+ }
1760
+ }
1761
+ const str = levelkeys.join(tk.cohortsetting.levelseparator);
1762
+ d.color = tk.cohortsetting.colorfunc(str);
1763
+ }
1764
+ }
1765
+ j.swarm = (0, import_d3_beeswarm.beeswarm)().data(j.data).distributeOn((d) => tk.axisheight - tk.yscale(d.v)).radius(tk.qmradius).orientation("vertical").side("symetric").arrange();
1766
+ const jugg = select_default(j.jugg);
1767
+ j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1768
+ const opacity = 0.8;
1769
+ j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1770
+ return bee.datum.color || "green";
1771
+ }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1772
+ select_default(event.target).attr("fill-opacity", 1);
1773
+ const p = event.target.getBoundingClientRect();
1774
+ tk.tktip.clear();
1775
+ tk.tktip.show(p.left + 20, p.top - 40);
1776
+ samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1777
+ }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1778
+ if (tk.tracks) {
1779
+ return;
1780
+ }
1781
+ }).transition().attr("cx", (bee) => bee.x);
1782
+ }
1783
+ function samplejunctiontooltip(j, sample, tk, holder) {
1784
+ if (sample.sample) {
1785
+ holder.append("div").html(sample.sample);
1786
+ } else if (sample.name) {
1787
+ holder.append("div").html(sample.name);
1788
+ } else if (sample.patient || sample.sampletype) {
1789
+ if (sample.patient) {
1790
+ holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1791
+ }
1792
+ if (sample.sampletype) {
1793
+ holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1794
+ }
1795
+ } else if (sample.tkid) {
1796
+ for (const t of tk.tracks) {
1797
+ if (t.tkid == sample.tkid) {
1798
+ holder.append("div").text(t.name || "unnamed member");
1799
+ break;
1800
+ }
1801
+ }
1802
+ }
1803
+ if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1804
+ for (const lev of tk.cohortsetting.cohort.levels) {
1805
+ if (sample[lev.k]) {
1806
+ holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1807
+ }
1808
+ }
1809
+ }
1810
+ holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1811
+ if (sample.metadata) {
1812
+ holder.append("div").html(
1813
+ '<span style="background-color:' + sample.metadata.color + '" class=sja_mcdot>&nbsp;</span> ' + sample.metadata.value + ' <span style="font-size:.7em;color:#858585">' + tk.metadata.m.label + "</span>"
1814
+ );
1815
+ }
1816
+ if (sample.hasrim) {
1817
+ holder.append("div").text(tk.rimwhat);
1818
+ }
1819
+ if (j.spliceevents) {
1820
+ const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1821
+ const evt = j.spliceevents[evtidx];
1822
+ const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1823
+ let jbcount = 0;
1824
+ if (evt.junctionB && evt.junctionB.data) {
1825
+ for (const d of evt.junctionB.data) {
1826
+ if (d.tkid == sample.tkid) {
1827
+ jbcount = d.v;
1828
+ break;
1829
+ }
1830
+ }
1831
+ }
1832
+ let acountsum = 0;
1833
+ if (evt.junctionAlst) {
1834
+ for (const ja of evt.junctionAlst) {
1835
+ if (ja && ja.data) {
1836
+ for (const d of ja.data) {
1837
+ if (d.tkid == sample.tkid) {
1838
+ acountsum += d.v;
1839
+ break;
1840
+ }
1841
+ }
1842
+ }
1843
+ }
1844
+ }
1845
+ let percent;
1846
+ if (jbcount == 0) {
1847
+ percent = 0;
1848
+ } else {
1849
+ percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1850
+ }
1851
+ holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1852
+ }
1853
+ }
1854
+ function get_leftLabelMaxwidth(tk) {
1855
+ const collectlabw = [];
1856
+ tk.tklabel.each(function() {
1857
+ collectlabw.push(this.getBBox().width);
1858
+ });
1859
+ if (tk.label_mcount) {
1860
+ tk.label_mcount.each(function() {
1861
+ collectlabw.push(this.getBBox().width);
1862
+ });
1863
+ }
1864
+ tk.leftLabelMaxwidth = Math.max(...collectlabw);
1865
+ }
1866
+
1867
+ // src/block.tk.junction.js
1868
+ var binpxw = 5;
1869
+ var modefold = 1;
1870
+ var moderaise = 2;
1871
+ var modesample = 3;
1872
+ var labyspace = 5;
1873
+ function makeTk(tk, block) {
1874
+ tk.leftaxis = tk.gleft.append("g");
1875
+ let laby = labyspace + block.labelfontsize;
1876
+ const thistip = new Menu({ padding: "none" });
1877
+ tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1878
+ label_mcount_fillpane(tk, block, thistip);
1879
+ });
1880
+ laby += labyspace + block.labelfontsize;
1881
+ tk.totalsamplecount = 0;
1882
+ tk.height_main = 100;
1883
+ tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1884
+ if (tk.categories || tk.cohortsetting) {
1885
+ const [tr, td] = legend_newrow(block, tk.name);
1886
+ tk.tr_legend = tr;
1887
+ tk.td_legend = td;
1888
+ }
1889
+ if (tk.categories) {
1890
+ category2legend(tk.categories, tk.td_legend);
1891
+ }
1892
+ if (tk.cohortsetting) {
1893
+ tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1894
+ tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1895
+ }
1896
+ }
1897
+ function junctionload(tk, block) {
1898
+ if (tk.uninitialized) {
1899
+ makeTk(tk, block);
1900
+ delete tk.uninitialized;
1901
+ }
1902
+ if ((block.zoomedin || block.resized) && tk.data) {
1903
+ const junc = [];
1904
+ for (const i of tk.data) {
1905
+ const oldx = i.x;
1906
+ const e = j2block(i, block);
1907
+ if (e) {
1908
+ continue;
1909
+ }
1910
+ if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1911
+ i.x = oldx;
1912
+ junc.push(i);
1913
+ }
1914
+ }
1915
+ rendertk(junc, tk, block);
1916
+ return;
1917
+ }
1918
+ if (tk.fixeddata) {
1919
+ block.tkcloakon(tk);
1920
+ const junc2 = [];
1921
+ for (const j of tk.fixeddata) {
1922
+ const j2 = {
1923
+ chr: j.chr,
1924
+ start: j.start,
1925
+ stop: j.stop,
1926
+ data: j.data,
1927
+ type: j.type
1928
+ };
1929
+ const e = j2block(j2, block);
1930
+ if (e) {
1931
+ continue;
1932
+ }
1933
+ junc2.push(j2);
1934
+ }
1935
+ tk.totalsamplecount = tk.tracks[0].samplecount;
1936
+ tk.axisheight = 200;
1937
+ tk.legheight = 50;
1938
+ tk.bottompad = 0;
1939
+ tk.qmradius = 2;
1940
+ tk.lowpad = 15;
1941
+ tk.padheight = 10;
1942
+ rendertk(junc2, tk, block);
1943
+ return;
1944
+ }
1945
+ if (!tk.tracks) {
1946
+ block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1947
+ tk.height_main = 50;
1948
+ block.block_setheight();
1949
+ return;
1950
+ }
1951
+ block.block_setheight();
1952
+ block.tkcloakon(tk);
1953
+ const bincount = Math.ceil(block.width / binpxw);
1954
+ let bins = null;
1955
+ let donenum = 0;
1956
+ const tasks = [];
1957
+ const allfiledata = [];
1958
+ for (const t of tk.tracks) {
1959
+ const getheader = new Promise((resolve, reject) => {
1960
+ if (t.rnapegfile) {
1961
+ t.samplecount = 1;
1962
+ return resolve();
1963
+ }
1964
+ if (t.samplecount != void 0 && t.checkedheader) return resolve();
1965
+ const par = {};
1966
+ if (t.file) {
1967
+ par.file = t.file;
1968
+ } else {
1969
+ par.url = t.url;
1970
+ if (t.indexURL) par.indexURL = t.indexURL;
1971
+ }
1972
+ dofetch3("tabixheader", { body: par }).then((data) => {
1973
+ if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1974
+ t.checkedheader = true;
1975
+ const str = data.lines.join("");
1976
+ if (!str) {
1977
+ } else {
1978
+ const l = str.trim().split(" ");
1979
+ t.headersamples = [];
1980
+ for (let i = 5; i < l.length; i++) {
1981
+ const str2 = l[i];
1982
+ let j = null;
1983
+ if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1984
+ try {
1985
+ j = JSON.parse(str2);
1986
+ } catch (e) {
1987
+ console.error("header line field [" + i + "] is broken json: " + str2);
1988
+ }
1989
+ }
1990
+ if (j) {
1991
+ j.tkid = Math.random().toString();
1992
+ t.headersamples.push(j);
1993
+ } else {
1994
+ t.headersamples.push({
1995
+ name: l[i],
1996
+ tkid: Math.random().toString()
1997
+ });
1998
+ }
1999
+ }
2000
+ t.samplecount = t.headersamples.length;
2001
+ tk.totalsamplecount += t.samplecount;
2002
+ }
2003
+ resolve();
2004
+ });
2005
+ });
2006
+ const getdata = new Promise((resolve, reject) => {
2007
+ getheader.then(() => {
2008
+ const par = {
2009
+ genome: block.genome.name,
2010
+ rglst: block.tkarg_maygm(t)
2011
+ };
2012
+ if (bincount) par.bincount = bincount;
2013
+ if (t.file || t.rnapegfile) {
2014
+ par.file = t.file || t.rnapegfile;
2015
+ } else {
2016
+ par.url = t.url;
2017
+ if (t.indexURL) par.indexURL = t.indexURL;
2018
+ }
2019
+ if (t.rnapegfile) {
2020
+ par.isrnapeg = 1;
2021
+ }
2022
+ dofetch3("junction", { body: par }).then((data) => {
2023
+ donenum++;
2024
+ if (tk.tracks.length > 1) {
2025
+ block.tkprogress(tk, donenum / tk.tracks.length);
2026
+ }
2027
+ if (!data) reject("server error for getting member track " + t.name);
2028
+ if (data.error) reject("Cannot get data: " + data.error);
2029
+ if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2030
+ if (data.lst) {
2031
+ if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2032
+ t.samplecount = data.lst[0].rawdata.length;
2033
+ tk.totalsamplecount += t.samplecount;
2034
+ }
2035
+ if (bins) {
2036
+ } else {
2037
+ const thisfilejunctions = [];
2038
+ for (const k of data.lst) {
2039
+ k.data = [];
2040
+ for (let i = 0; i < k.rawdata.length; i++) {
2041
+ const v = k.rawdata[i];
2042
+ if (!Number.isInteger(v) || v <= 0) {
2043
+ continue;
2044
+ }
2045
+ const s = { v };
2046
+ if (t.headersamples) {
2047
+ const s0 = t.headersamples[i];
2048
+ if (s0) {
2049
+ for (const _k in s0) {
2050
+ s[_k] = s0[_k];
2051
+ }
2052
+ }
2053
+ } else {
2054
+ if (t.name) s.name = t.name;
2055
+ if (t.sample) s.sample = t.sample;
2056
+ if (t.patient) s.patient = t.patient;
2057
+ if (t.sampeltype) s.sampletype = t.sampletype;
2058
+ if (t.tkid) s.tkid = t.tkid;
2059
+ if (t.file) s.file = t.file;
2060
+ if (t.url) s.url = t.url;
2061
+ if (t.indexURL) s.indexURL = t.indexURL;
2062
+ }
2063
+ k.data.push(s);
2064
+ }
2065
+ delete k.rawdata;
2066
+ thisfilejunctions.push(k);
2067
+ }
2068
+ resolve(thisfilejunctions);
2069
+ }
2070
+ } else {
2071
+ }
2072
+ });
2073
+ }).catch((err) => reject(err));
2074
+ });
2075
+ tasks.push(getdata);
2076
+ }
2077
+ Promise.all(tasks).then((data) => {
2078
+ const junc = [];
2079
+ data.forEach((dat) => {
2080
+ if (!dat) return;
2081
+ dat.forEach((k) => {
2082
+ let notfound = true;
2083
+ for (const j of junc) {
2084
+ if (j.start == k.start && j.stop == k.stop) {
2085
+ j.data = j.data.concat(k.data);
2086
+ notfound = false;
2087
+ break;
2088
+ }
2089
+ }
2090
+ if (notfound) {
2091
+ junc.push(k);
2092
+ }
2093
+ });
2094
+ });
2095
+ for (const j of junc) {
2096
+ j2block(j, block);
2097
+ }
2098
+ for (const j of junc) {
2099
+ smuggleattributes(j);
2100
+ }
2101
+ if (!tk.axisheight) {
2102
+ if (tk.totalsamplecount > 1) {
2103
+ tk.axisheight = 200;
2104
+ tk.legheight = 50;
2105
+ tk.bottompad = 0;
2106
+ tk.qmradius = 2;
2107
+ tk.lowpad = 15;
2108
+ tk.padheight = 10;
2109
+ } else {
2110
+ tk.axisheight = 100;
2111
+ tk.legheight = 20;
2112
+ tk.bottompad = 0;
2113
+ tk.lowpad = 10;
2114
+ tk.padheight = 10;
2115
+ }
2116
+ if (tk.cohortsetting) {
2117
+ initcohortsetting(tk, block);
2118
+ }
2119
+ }
2120
+ rendertk(junc, tk, block);
2121
+ }).catch((err) => {
2122
+ tk.glider.selectAll("*").remove();
2123
+ block.tkcloakoff(tk, { error: err });
2124
+ block.block_setheight();
2125
+ });
2126
+ }
2127
+ function j2block(j, block) {
2128
+ const starthit = block.seekcoord(j.chr, j.start)[0];
2129
+ if (!starthit) {
2130
+ return true;
2131
+ }
2132
+ const stophit = block.seekcoord(j.chr, j.stop)[0];
2133
+ if (!stophit) {
2134
+ return true;
2135
+ }
2136
+ const startout = starthit.x < 0 || starthit.x > block.width;
2137
+ const stopout = stophit.x < 0 || stophit.x > block.width;
2138
+ if (startout && stopout) {
2139
+ return true;
2140
+ }
2141
+ j.x0 = starthit.x;
2142
+ j.x1 = stophit.x;
2143
+ j.x = (j.x0 + j.x1) / 2;
2144
+ j._x = j.x;
2145
+ if (!j.modefix) {
2146
+ j.mode = moderaise;
2147
+ }
2148
+ return false;
2149
+ }
2150
+ function smuggleattributes(j) {
2151
+ }
2152
+ function label_mcount_fillpane(tk, block, tip) {
2153
+ tip.clear();
2154
+ const holder = tip.d;
2155
+ const types = /* @__PURE__ */ new Map();
2156
+ for (const j of tk.data) {
2157
+ if (!j.type) continue;
2158
+ if (!types.has(j.type)) {
2159
+ types.set(j.type, []);
2160
+ }
2161
+ if (j.data) {
2162
+ types.get(j.type).push(j.data.map((i) => i.v));
2163
+ } else {
2164
+ types.get(j.type).push(j.v);
2165
+ }
2166
+ }
2167
+ if (types.size) {
2168
+ const d = holder.append("div").style("margin", "8px");
2169
+ for (const [type, valuelst] of types) {
2170
+ d.append("div").style("margin", "2px").html(
2171
+ valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2172
+ );
2173
+ let vlst = valuelst;
2174
+ if (tk.tracks) {
2175
+ vlst = [];
2176
+ for (const l of valuelst) {
2177
+ vlst.push(...l);
2178
+ }
2179
+ }
2180
+ if (vlst.length == 1) {
2181
+ } else {
2182
+ d.append("table").style("margin-left", "20px").html(
2183
+ '<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
2184
+ );
2185
+ }
2186
+ }
2187
+ } else {
2188
+ let vlst = [];
2189
+ if (tk.tracks) {
2190
+ for (const j of tk.data) {
2191
+ vlst.push(...j.data.map((i) => i.v));
2192
+ }
2193
+ } else {
2194
+ vlst = tk.data.map((j) => j.v);
2195
+ }
2196
+ if (vlst.length > 1) {
2197
+ holder.append("table").html(
2198
+ '<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
2199
+ );
2200
+ }
2201
+ }
2202
+ holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2203
+ tip.hide();
2204
+ for (const j of tk.data) {
2205
+ j.mode = modefold;
2206
+ j.modefix = true;
2207
+ }
2208
+ horiplace(tk.data, block.width, tk);
2209
+ });
2210
+ holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2211
+ tip.hide();
2212
+ for (const j of tk.data) {
2213
+ j.modefix = false;
2214
+ }
2215
+ automode(tk, null, block.width);
2216
+ for (const j of tk.data) {
2217
+ j.modefix = true;
2218
+ }
2219
+ horiplace(tk.data, block.width, tk);
2220
+ });
2221
+ holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2222
+ tip.hide();
2223
+ downloadjunctions(tk);
2224
+ });
2225
+ tip.showunder(tk.label_mcount.node());
2226
+ }
2227
+ function downloadjunctions(tk) {
2228
+ const txt = [];
2229
+ if (tk.file || tk.url) {
2230
+ if (tk.data) {
2231
+ txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2232
+ for (const j of tk.data) {
2233
+ txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2234
+ }
2235
+ }
2236
+ } else if (tk.tracks) {
2237
+ if (tk.data) {
2238
+ const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2239
+ for (const t of tk.tracks) {
2240
+ const lst = [];
2241
+ if (t.patient) lst.push(t.patient);
2242
+ if (t.sampletype) lst.push(t.sampletype);
2243
+ if (lst.length == 0) {
2244
+ lst.push(t.name);
2245
+ }
2246
+ header.push(lst.join(", "));
2247
+ }
2248
+ txt.push(header.join(" "));
2249
+ for (const j of tk.data) {
2250
+ const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2251
+ const hash = /* @__PURE__ */ new Map();
2252
+ for (const jsample of j.data) {
2253
+ hash.set(jsample.tkid, jsample.v);
2254
+ }
2255
+ for (const t of tk.tracks) {
2256
+ lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2257
+ }
2258
+ txt.push(lst.join(" "));
2259
+ }
2260
+ }
2261
+ }
2262
+ export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2263
+ }
2264
+ function configpanel(tk, block) {
2265
+ tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2266
+ const holder = tk.tkconfigtip.d;
2267
+ {
2268
+ const row = holder.append("div").style("margin-bottom", "10px");
2269
+ row.append("span").html("Read count cutoff&nbsp;");
2270
+ row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2271
+ if (!keyupEnter(event)) return;
2272
+ const v = Number.parseFloat(event.target.value);
2273
+ if (v == 0) {
2274
+ if (tk.readcountcutoff) {
2275
+ tk.readcountcutoff = 0;
2276
+ junctionload(tk, block);
2277
+ } else {
2278
+ }
2279
+ return;
2280
+ }
2281
+ if (!v || v < 0) {
2282
+ return;
2283
+ }
2284
+ if (tk.readcountcutoff) {
2285
+ if (tk.readcountcutoff == v) {
2286
+ } else if (tk.readcountcutoff > v) {
2287
+ tk.readcountcutoff = v;
2288
+ junctionload(tk, block);
2289
+ } else {
2290
+ tk.readcountcutoff = v;
2291
+ rendertk(tk.data, tk, block);
2292
+ }
2293
+ } else {
2294
+ tk.readcountcutoff = v;
2295
+ junctionload(tk, block);
2296
+ }
2297
+ });
2298
+ const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2299
+ if (tk.totalsamplecount > 1) {
2300
+ note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2301
+ } else {
2302
+ note.text("Junctions with read count lower than cutoff will not be shown.");
2303
+ }
2304
+ }
2305
+ }
2306
+ function initcohortsetting(tk, block) {
2307
+ if (!tk.cohortsetting.cohort) {
2308
+ sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2309
+ return;
2310
+ }
2311
+ if (!tk.cohortsetting.cohort.levels) {
2312
+ sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2313
+ return;
2314
+ }
2315
+ if (!tk.cohortsetting.cohort.levels[0]) {
2316
+ sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2317
+ return;
2318
+ }
2319
+ tk.cohortsetting.levelseperator = ".";
2320
+ tk.cohortsetting.uselevelidx = 0;
2321
+ setcohortlegend_usecohortlevel(tk, block);
2322
+ }
2323
+ function setcohortlegend_usecohortlevel(tk, block) {
2324
+ tk.cohortsetting.legendholder.selectAll("*").remove();
2325
+ tk.cohortsetting.colorfunc = ordinal(category10_default);
2326
+ const stratkey2count = /* @__PURE__ */ new Map();
2327
+ for (const t of tk.tracks) {
2328
+ for (const s of t.headersamples) {
2329
+ if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2330
+ continue;
2331
+ }
2332
+ const thissamplekeys = [];
2333
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2334
+ const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2335
+ if (thislevelkey) {
2336
+ thissamplekeys.push(thislevelkey);
2337
+ }
2338
+ }
2339
+ const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2340
+ if (!stratkey2count.has(str)) {
2341
+ stratkey2count.set(str, {
2342
+ count: 0,
2343
+ label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2344
+ });
2345
+ }
2346
+ stratkey2count.get(str).count++;
2347
+ }
2348
+ }
2349
+ const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2350
+ for (const item of sorteditems) {
2351
+ const color = tk.cohortsetting.colorfunc(item[0]);
2352
+ const label = item[1].label;
2353
+ const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2354
+ row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2355
+ row.append("div").style("display", "inline-block").text(label);
2356
+ }
2357
+ }
2358
+ export {
2359
+ junctionload,
2360
+ modefold,
2361
+ moderaise,
2362
+ modesample
2363
+ };
2364
+ //# sourceMappingURL=block.tk.junction-VZS2DEDO.js.map