@sjcrh/proteinpaint-client 2.203.0 → 2.203.1

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 (884) hide show
  1. package/dist/2dmaf-6CEBP4SA.js +1366 -0
  2. package/dist/AIProjectAdmin-2CKKFC3A.js +951 -0
  3. package/dist/AggregateMatrix-5TBUMFE5.js +665 -0
  4. package/dist/AppHeader-5YBPWF44.js +829 -0
  5. package/dist/BoxPlot-UOJS5SJV.js +1210 -0
  6. package/dist/CorrelationVolcano-KX6JPZMT.js +613 -0
  7. package/dist/Cuminc-TLOOLZWR.js +1208 -0
  8. package/dist/DE-HUQLQ2Z3.js +87 -0
  9. package/dist/DEinput-WWUISAF2.js +404 -0
  10. package/dist/DifferentialAnalysis-6DTAGCEY.js +237 -0
  11. package/dist/Disco-P6ZLPYLF.js +3388 -0
  12. package/dist/Disco.UI-WGTMAFK2.js +242 -0
  13. package/dist/DmrPlot-3FRU5KUK.js +636 -0
  14. package/dist/GB-NWOBARL3.js +1390 -0
  15. package/dist/GSEA-DEEUAAMI.js +850 -0
  16. package/dist/GeneExpInput-6QWGEAFV.js +361 -0
  17. package/dist/Geomap-6HT2B7RH.js +83 -0
  18. package/dist/HicApp-PCNOUULF.js +2244 -0
  19. package/dist/IDCViewer-H3QPXVM3.js +10811 -0
  20. package/dist/NumBinaryEditor-IU6OLMKN.js +278 -0
  21. package/dist/NumBinaryEditor.unit.spec-YUPUILIV.js +311 -0
  22. package/dist/NumContEditor-KFDA76QN.js +104 -0
  23. package/dist/NumContEditor.unit.spec-QBOT5QHU.js +163 -0
  24. package/dist/NumCustomBinEditor-EOSTEXLB.js +32 -0
  25. package/dist/NumCustomBinEditor.unit.spec-B46XWFYH.js +396 -0
  26. package/dist/NumDiscreteEditor-Y4EAADXC.js +169 -0
  27. package/dist/NumDiscreteEditor.unit.spec-SJGHLWSM.js +232 -0
  28. package/dist/NumRegularBinEditor-3BNG7DIN.js +32 -0
  29. package/dist/NumRegularBinEditor.unit.spec-KM45QXXG.js +277 -0
  30. package/dist/NumSplineEditor-K4KPDC4S.js +209 -0
  31. package/dist/NumSplineEditor.unit.spec-TKQP5XTS.js +223 -0
  32. package/dist/NumericDensity-Z6JFVN3D.js +32 -0
  33. package/dist/NumericDensity.unit.spec-YEYBVLEP.js +417 -0
  34. package/dist/NumericHandler-ITT6HMPN.js +33 -0
  35. package/dist/NumericHandler.unit.spec-QVONMXY4.js +213 -0
  36. package/dist/ProteomeInput-PRS3DEMZ.js +387 -0
  37. package/dist/Regression-LJJJBBT6.js +1413 -0
  38. package/dist/Regression-LJJJBBT6.js.map +7 -0
  39. package/dist/RunChart2-AMM2JFF5.js +749 -0
  40. package/dist/SC-F7IE66VZ.js +1106 -0
  41. package/dist/Violin-RJ6OJZ4F.js +1073 -0
  42. package/dist/Volcano-BJA5HN5Y.js +1414 -0
  43. package/dist/WSIViewer-RJZGRUIR.js +26194 -0
  44. package/dist/Wsi-DXP6KOQA.js +232 -0
  45. package/dist/WsiSamplesPlot-2IAWV2B6.js +159 -0
  46. package/dist/adSandbox-RGWOIV3W.js +32 -0
  47. package/dist/animatedBubbleChart-J4Q2NAEW.js +546 -0
  48. package/dist/app-3QXNR4VG.js +31 -0
  49. package/dist/app-B4B7YNP3.js +41 -0
  50. package/dist/app.js +12 -12
  51. package/dist/bam-LRUMN45P.js +875 -0
  52. package/dist/barchart-L2G6GEHK.js +41 -0
  53. package/dist/barchart2-DWNVAZAJ.js +308 -0
  54. package/dist/block-TVEVAXNP.js +6248 -0
  55. package/dist/block.init-YOHAKPRI.js +32 -0
  56. package/dist/block.mds.expressionrank-PU6JH4W5.js +353 -0
  57. package/dist/block.mds.geneboxplot-WYYFDNE3.js +822 -0
  58. package/dist/block.mds.junction-4WCTL7Y4.js +1538 -0
  59. package/dist/block.mds.svcnv-MR3VCYUW.js +6795 -0
  60. package/dist/block.svg-LR3Y4ZO7.js +158 -0
  61. package/dist/block.tk.aicheck-A5AWKJZI.js +277 -0
  62. package/dist/block.tk.ase-AQBBAQEH.js +359 -0
  63. package/dist/block.tk.bam-QBTA2O3V.js +1900 -0
  64. package/dist/block.tk.bedgraphdot-4ALZG2MY.js +378 -0
  65. package/dist/block.tk.bigwig.ui-32W6XW37.js +205 -0
  66. package/dist/block.tk.hicstraw-PKBHBAG2.js +817 -0
  67. package/dist/block.tk.junction-AO5CXUCU.js +2357 -0
  68. package/dist/block.tk.junction.textmatrixui-RORVUIPI.js +193 -0
  69. package/dist/block.tk.ld-TNBSR4FT.js +93 -0
  70. package/dist/block.tk.menu-QDJO54J5.js +1023 -0
  71. package/dist/block.tk.pgv-6222WWYR.js +937 -0
  72. package/dist/brainImaging-2TPE7MXB.js +426 -0
  73. package/dist/brainImaging-2TPE7MXB.js.map +7 -0
  74. package/dist/brainRegions-KTFH6DE2.js +215 -0
  75. package/dist/bubbleHeatmap-LNXZLFY6.js +377 -0
  76. package/dist/cellTypeBubbleHeatmap-SRHUNX3S.js +277 -0
  77. package/dist/chunk-3TXVDBGN.js +626 -0
  78. package/dist/chunk-4HLHKBHP.js +274 -0
  79. package/dist/chunk-5GG7Q2ZG.js +397 -0
  80. package/dist/chunk-5HVAVJKW.js +518 -0
  81. package/dist/chunk-5HVAVJKW.js.map +7 -0
  82. package/dist/chunk-5PMFCQKC.js +98 -0
  83. package/dist/chunk-67URJYN7.js +84 -0
  84. package/dist/chunk-67URJYN7.js.map +7 -0
  85. package/dist/chunk-6AKSOLBX.js +5071 -0
  86. package/dist/chunk-6AKSOLBX.js.map +7 -0
  87. package/dist/chunk-6X7PP7A4.js +2126 -0
  88. package/dist/chunk-A3EDLRUN.js +54 -0
  89. package/dist/chunk-ACXFPMJP.js +14 -0
  90. package/dist/chunk-ASRW3UJ5.js +102 -0
  91. package/dist/chunk-BBILSUDX.js +176 -0
  92. package/dist/chunk-BOWI37X2.js +100 -0
  93. package/dist/chunk-BVA26EFK.js +368 -0
  94. package/dist/chunk-D5J57ENI.js +797 -0
  95. package/dist/chunk-D5PX2UDG.js +23878 -0
  96. package/dist/chunk-D5PX2UDG.js.map +7 -0
  97. package/dist/chunk-DAGONMWK.js +261 -0
  98. package/dist/chunk-DAGONMWK.js.map +7 -0
  99. package/dist/chunk-DXLO4OAB.js +357 -0
  100. package/dist/chunk-DXLO4OAB.js.map +7 -0
  101. package/dist/chunk-E5BFGDLA.js +292 -0
  102. package/dist/chunk-ECISCOPF.js +134 -0
  103. package/dist/chunk-ECLUUJVE.js +158 -0
  104. package/dist/chunk-EGDQ5I54.js +272 -0
  105. package/dist/chunk-ELNVTA7O.js +56 -0
  106. package/dist/chunk-EO6M3LY3.js +339 -0
  107. package/dist/chunk-EO6M3LY3.js.map +7 -0
  108. package/dist/chunk-F4PMOAQK.js +494 -0
  109. package/dist/chunk-FISQTHD4.js +2327 -0
  110. package/dist/chunk-FXT2XM4E.js +1337 -0
  111. package/dist/chunk-FXT2XM4E.js.map +7 -0
  112. package/dist/chunk-HIWTGMTE.js +1721 -0
  113. package/dist/chunk-HIWTGMTE.js.map +7 -0
  114. package/dist/chunk-HL6GJIOH.js +1254 -0
  115. package/dist/chunk-IGZAOCTU.js +55 -0
  116. package/dist/chunk-JMDJI7KM.js +6360 -0
  117. package/dist/chunk-JQVA264Z.js +49 -0
  118. package/dist/chunk-JRF7SRLB.js +2784 -0
  119. package/dist/chunk-KLWSW6CC.js +203 -0
  120. package/dist/chunk-KNNSOOTG.js +194 -0
  121. package/dist/chunk-KTPXQH2N.js +170 -0
  122. package/dist/chunk-LGKXSWY4.js +276 -0
  123. package/dist/chunk-LP2GIXVK.js +4274 -0
  124. package/dist/chunk-M2ZZL5EV.js +2669 -0
  125. package/dist/chunk-M2ZZL5EV.js.map +7 -0
  126. package/dist/chunk-MBHERRJR.js +302 -0
  127. package/dist/chunk-MLYQDJUQ.js +480 -0
  128. package/dist/chunk-NBGDLLMX.js +446 -0
  129. package/dist/chunk-OPMMU6DQ.js +183 -0
  130. package/dist/chunk-OPMMU6DQ.js.map +7 -0
  131. package/dist/chunk-P3JEXVBT.js +50 -0
  132. package/dist/chunk-PZPPJY4K.js +34 -0
  133. package/dist/chunk-Q6JF4ZLT.js +141 -0
  134. package/dist/chunk-QF5IH7PC.js +263 -0
  135. package/dist/chunk-QJ6SO7CF.js +465 -0
  136. package/dist/chunk-QQUOVIOM.js +2899 -0
  137. package/dist/chunk-R3OBOAOF.js +240 -0
  138. package/dist/chunk-SNCZRDS5.js +557 -0
  139. package/dist/chunk-SNCZRDS5.js.map +7 -0
  140. package/dist/chunk-SPDNUC76.js +70 -0
  141. package/dist/chunk-T3663ZQL.js +37 -0
  142. package/dist/chunk-TSK4ZTFK.js +340 -0
  143. package/dist/chunk-USW6WRDZ.js +217 -0
  144. package/dist/chunk-WBMYHNKH.js +299 -0
  145. package/dist/chunk-X46LAU4Q.js +187 -0
  146. package/dist/chunk-XE6E526E.js +129 -0
  147. package/dist/chunk-XWCWBHLB.js +123 -0
  148. package/dist/chunk-YCECQV3T.js +160 -0
  149. package/dist/chunk-YROOKO3Q.js +1954 -0
  150. package/dist/chunk-YROOKO3Q.js.map +7 -0
  151. package/dist/chunk-Z4NADGZX.js +243 -0
  152. package/dist/chunk-Z53KOPRJ.js +102 -0
  153. package/dist/cohort-U7M6Q2UX.js +69 -0
  154. package/dist/condition-EGAV2PMJ.js +326 -0
  155. package/dist/controls-PTMYWUZV.js +33 -0
  156. package/dist/controls.config-DOA6PTP2.js +33 -0
  157. package/dist/correlation-Y3EL6GB7.js +94 -0
  158. package/dist/customdata.inputui-4NDDG6FL.js +283 -0
  159. package/dist/dataDownload-EQGUAOK2.js +328 -0
  160. package/dist/databrowser.ui-ABGOJUWQ.js +424 -0
  161. package/dist/dictionary-YOLLEDE5.js +112 -0
  162. package/dist/dnaMethylation-JZT63UHO.js +32 -0
  163. package/dist/dnaMethylation.integration.spec-EATCABJW.js +197 -0
  164. package/dist/dofetch-YNBIUFV5.js +48 -0
  165. package/dist/e2pca-RD6COCRL.js +343 -0
  166. package/dist/ep-BAI7WUET.js +1248 -0
  167. package/dist/expclust.gdc.spec-LKV2CQA5.js +301 -0
  168. package/dist/facet-X3SXQIAC.js +518 -0
  169. package/dist/gb-K324K7XB.js +80 -0
  170. package/dist/geneExpClustering-BJD5U3KG.js +243 -0
  171. package/dist/geneExpression-2TK3XLZ5.js +310 -0
  172. package/dist/geneExpression-F6NRTHZ4.js +32 -0
  173. package/dist/geneExpression.unit.spec-IFZN3J6A.js +96 -0
  174. package/dist/geneORA-DUEP735U.js +272 -0
  175. package/dist/geneRanking-LURDNT7L.js +547 -0
  176. package/dist/geneVariant-EAVCWQAZ.js +35 -0
  177. package/dist/geneVariant-IZTFYAG6.js +284 -0
  178. package/dist/geneVariant-IZTFYAG6.js.map +7 -0
  179. package/dist/geneVariant.integration.spec-LHL4ERFO.js +192 -0
  180. package/dist/genefusion.ui-4T5R7DT7.js +302 -0
  181. package/dist/geneset-3PWXPBG2.js +202 -0
  182. package/dist/genomeBrowser.spec-5SEN7R2P.js +275 -0
  183. package/dist/grin2-EXBG7TMS.js +1136 -0
  184. package/dist/grin2-XIXVFVWO.js +69 -0
  185. package/dist/hierCluster-5XQIWXAY.js +57 -0
  186. package/dist/hierCluster-I4TAQWPF.js +53 -0
  187. package/dist/hierCluster.config-T7HVAWES.js +34 -0
  188. package/dist/hierCluster.integration.spec-XWX43K4D.js +482 -0
  189. package/dist/hierCluster.interactivity-MYIDHFSL.js +48 -0
  190. package/dist/hierCluster.renderers-YRXA5ZUK.js +19 -0
  191. package/dist/imagePlot-4JQB6JUG.js +155 -0
  192. package/dist/importPlot-D3MXCCLN.js +8 -0
  193. package/dist/isoformExpression-WNGGUVIZ.js +34 -0
  194. package/dist/isoformExpression.unit.spec-NVJ5TIKM.js +236 -0
  195. package/dist/junction-O7N57JE3.js +35 -0
  196. package/dist/junction.unit.spec-Z63DRTRR.js +181 -0
  197. package/dist/launch.adhoc-MBDRXD3B.js +36 -0
  198. package/dist/leftlabel.sample-IG6FOQ26.js +257 -0
  199. package/dist/lollipop-ZUYBLPGN.js +165 -0
  200. package/dist/maf-QOS5LURG.js +454 -0
  201. package/dist/maftimeline-FEHP2J55.js +586 -0
  202. package/dist/matrix-BG4J4RXA.js +57 -0
  203. package/dist/matrix-PX4LWTGN.js +52 -0
  204. package/dist/matrix.cells-PTIDQVCI.js +26 -0
  205. package/dist/matrix.config-NHW7BLIE.js +35 -0
  206. package/dist/matrix.data-FMIQRXOA.js +23 -0
  207. package/dist/matrix.dom-4S2UYJOU.js +11 -0
  208. package/dist/matrix.groups-QMID5XAO.js +25 -0
  209. package/dist/matrix.integration.spec-H6T7KP5R.js +3066 -0
  210. package/dist/matrix.interactivity-WQUO25HB.js +36 -0
  211. package/dist/matrix.layout-CTPVZZ34.js +38 -0
  212. package/dist/matrix.legend-K6EYUN6L.js +20 -0
  213. package/dist/matrix.renderers-5DIAUY6R.js +32 -0
  214. package/dist/matrix.serieses-LRMN2J52.js +19 -0
  215. package/dist/matrix.sort-RGAGEA6Z.js +25 -0
  216. package/dist/matrix.sort.unit.spec-RGICZZJL.js +466 -0
  217. package/dist/matrix.sorterUi.unit.spec-45QPEGWE.js +336 -0
  218. package/dist/matrix.unit.spec-TMRZM5DU.js +148 -0
  219. package/dist/matrix.unit.spec-TMRZM5DU.js.map +7 -0
  220. package/dist/mavb-VEIVB62L.js +726 -0
  221. package/dist/mds.fimo-BG4LTWFB.js +512 -0
  222. package/dist/mds.samplescatterplot-PWADJZ2J.js +1544 -0
  223. package/dist/mds.survivalplot-BX4HZ23K.js +476 -0
  224. package/dist/multivalue-OZALSBFW.js +82 -0
  225. package/dist/numericDictTermCluster-7PGJ7KV4.js +63 -0
  226. package/dist/oncomatrix-Q2EQZPLS.js +289 -0
  227. package/dist/oncomatrix.spec-YEQOQRPW.js +442 -0
  228. package/dist/plot.2dvaf-NJSB3HNH.js +371 -0
  229. package/dist/plot.app-AEUR6XGI.js +35 -0
  230. package/dist/plot.barplot-OXN2P5KL.js +96 -0
  231. package/dist/plot.boxplot-2KHEVVFE.js +145 -0
  232. package/dist/plot.brainImaging-JWDX4BZG.js +51 -0
  233. package/dist/plot.disco-LUFC5GGC.js +99 -0
  234. package/dist/plot.ssgq-FMM3IRNA.js +133 -0
  235. package/dist/plot.vaf2cov-K5TAQUC5.js +252 -0
  236. package/dist/plot.wsi-CNQCNZ4Z.js +36 -0
  237. package/dist/polar2-AB6SVYRS.js +231 -0
  238. package/dist/profileForms-AIEHZ4GC.js +933 -0
  239. package/dist/profilePlot-PZDFGXKZ.js +48 -0
  240. package/dist/proteinView-7GWHQYXC.js +1561 -0
  241. package/dist/proteomeCohortCompare-BTN4HHFL.js +779 -0
  242. package/dist/proteomeCohortCompare-BTN4HHFL.js.map +7 -0
  243. package/dist/pseudbulk.unit.spec-NFT4VNTI.js +85 -0
  244. package/dist/pseudobulk-WDGWTXW4.js +34 -0
  245. package/dist/qualitative-PZYJENE7.js +37 -0
  246. package/dist/radar2-QHRGH3YS.js +326 -0
  247. package/dist/radarFacility2-2JD26FL6.js +334 -0
  248. package/dist/render-YA4Z56LT.js +32 -0
  249. package/dist/report-2NUKFJTF.js +216 -0
  250. package/dist/sampleView-2XVPJTVR.js +42 -0
  251. package/dist/samplelst-DMILFDT5.js +105 -0
  252. package/dist/samplematrix-LYA5XTUM.js +2192 -0
  253. package/dist/sc-CM2C34MN.js +80 -0
  254. package/dist/scatter-C3CH3HTF.js +879 -0
  255. package/dist/scatter-GO6LV6NY.js +87 -0
  256. package/dist/selectGenomeWithTklst-5C7UBTGZ.js +128 -0
  257. package/dist/singleCellCellType-EZYESBVZ.js +32 -0
  258. package/dist/singleCellCellType.unit.spec-DB6FM4XR.js +153 -0
  259. package/dist/singleCellGeneExpression-DZLEFPW4.js +32 -0
  260. package/dist/singleCellGeneExpression.unit.spec-ZTBK3V43.js +147 -0
  261. package/dist/singleCellPlot-VF4TZ4FT.js +48 -0
  262. package/dist/singlecell-2MHROPBN.js +1565 -0
  263. package/dist/singlecell-GPAFNOUZ.js +80 -0
  264. package/dist/snp-K4EAEVW4.js +32 -0
  265. package/dist/snp.unit.spec-BUVQLVOY.js +170 -0
  266. package/dist/snplocus-GEVISN6Z.js +202 -0
  267. package/dist/spliceevent.a53ss.diagram-5UPWNAZF.js +145 -0
  268. package/dist/spliceevent.exonskip.diagram-7TKAQURC.js +277 -0
  269. package/dist/spliceevent.noeventdiagram-CDXZLR3Z.js +454 -0
  270. package/dist/ssGSEA-NMCJUQXT.js +32 -0
  271. package/dist/ssGSEA.unit.spec-3FQALTPQ.js +82 -0
  272. package/dist/stattable-2RXQPWKK.js +116 -0
  273. package/dist/studyCatalog-WWFCTTX7.js +377 -0
  274. package/dist/studyCatalog-WWFCTTX7.js.map +7 -0
  275. package/dist/summarizeCnvGeneexp-4BQS5AFM.js +157 -0
  276. package/dist/summarizeGeneexpSurvival-HTBZQFB5.js +104 -0
  277. package/dist/summarizeMutationCnv-XUWZGPCM.js +158 -0
  278. package/dist/summarizeMutationDiagnosis-QUJX42TO.js +34 -0
  279. package/dist/summarizeMutationSurvival-3R47TTR6.js +93 -0
  280. package/dist/summary-6UUB63QR.js +41 -0
  281. package/dist/summary.integration.spec-JJDE6SRV.js +408 -0
  282. package/dist/summaryInput-JG4AW6FW.js +225 -0
  283. package/dist/sunburst-YKB42RZX.js +277 -0
  284. package/dist/survival-3IFFTDQA.js +52 -0
  285. package/dist/survival-HOFNJENX.js +1236 -0
  286. package/dist/survival.integration.spec-7YZYKEUW.js +612 -0
  287. package/dist/survival.integration.spec-7YZYKEUW.js.map +7 -0
  288. package/dist/svgraph-WFEY4ZIZ.js +1381 -0
  289. package/dist/svmr-44EIX7YD.js +3836 -0
  290. package/dist/table-6MKVJUNC.js +196 -0
  291. package/dist/termCollection-6JBVQL6Y.js +251 -0
  292. package/dist/termCollection-TTELZVC5.js +32 -0
  293. package/dist/termCollection.unit.spec-6Z7X646L.js +298 -0
  294. package/dist/termCollectionFractionSelection-5DVIJBM5.js +41 -0
  295. package/dist/termCollectionFractionSelection.unit.spec-3HIM5BIF.js +187 -0
  296. package/dist/tk-HSYWJCGQ.js +40 -0
  297. package/dist/tk-PNOVG2XS.js +1120 -0
  298. package/dist/tp.ui-COBBSUPB.js +1453 -0
  299. package/dist/tvs.dt-35AKURFI.js +33 -0
  300. package/dist/tvs.dtcnv.categorical-3EHXYROL.js +34 -0
  301. package/dist/tvs.dtcnv.continuous-AXQ2GU6S.js +66 -0
  302. package/dist/tvs.dtfusion-PLJIMPNX.js +34 -0
  303. package/dist/tvs.dtitd-JS6RFBV5.js +34 -0
  304. package/dist/tvs.dtsnvindel-MDEM5MPT.js +34 -0
  305. package/dist/tvs.dtsv-OU756YLO.js +34 -0
  306. package/dist/tvs.samplelst-5NDICES4.js +98 -0
  307. package/dist/tvs.termCollection-5URPDPH6.js +123 -0
  308. package/dist/vocabulary-CHCVMPK5.js +35 -0
  309. package/dist/wsi.direct-JSKV4H4X.js +75 -0
  310. package/package.json +4 -4
  311. package/dist/2dmaf-I4HBWRNQ.js +0 -1366
  312. package/dist/AIProjectAdmin-SZYSG7HR.js +0 -951
  313. package/dist/AggregateMatrix-U7HHALFR.js +0 -665
  314. package/dist/AppHeader-O4RBZQZF.js +0 -829
  315. package/dist/BoxPlot-NOXWAGX6.js +0 -1210
  316. package/dist/CorrelationVolcano-IJ5UT6N5.js +0 -613
  317. package/dist/Cuminc-NGUDAOAD.js +0 -1208
  318. package/dist/DE-MIAHOI5J.js +0 -87
  319. package/dist/DEinput-FYBSL2ER.js +0 -404
  320. package/dist/DifferentialAnalysis-I6S5YQXY.js +0 -237
  321. package/dist/Disco-VLUBOZDC.js +0 -3388
  322. package/dist/Disco.UI-QQYWQEW7.js +0 -242
  323. package/dist/DmrPlot-DFOBEN7A.js +0 -636
  324. package/dist/GB-5FSXJMEZ.js +0 -1390
  325. package/dist/GSEA-JISHQOVY.js +0 -850
  326. package/dist/GeneExpInput-5YEX22VD.js +0 -361
  327. package/dist/Geomap-YVF6YBK5.js +0 -83
  328. package/dist/HicApp-ZCMOOKTY.js +0 -2244
  329. package/dist/IDCViewer-5ZNTAEUG.js +0 -10811
  330. package/dist/NumBinaryEditor-BEF5YCKI.js +0 -278
  331. package/dist/NumBinaryEditor.unit.spec-GCYZGHB2.js +0 -311
  332. package/dist/NumContEditor-TUXPB6YJ.js +0 -104
  333. package/dist/NumContEditor.unit.spec-5CMHHWIP.js +0 -163
  334. package/dist/NumCustomBinEditor-HS7RSGFV.js +0 -32
  335. package/dist/NumCustomBinEditor.unit.spec-MM3JJXT4.js +0 -396
  336. package/dist/NumDiscreteEditor-ZL7PP6ZT.js +0 -169
  337. package/dist/NumDiscreteEditor.unit.spec-OEWX2KJC.js +0 -232
  338. package/dist/NumRegularBinEditor-YBXK7YV6.js +0 -32
  339. package/dist/NumRegularBinEditor.unit.spec-FVHN4J5L.js +0 -277
  340. package/dist/NumSplineEditor-VN4XBTTI.js +0 -209
  341. package/dist/NumSplineEditor.unit.spec-AI642DWP.js +0 -223
  342. package/dist/NumericDensity-2KTY7DGH.js +0 -32
  343. package/dist/NumericDensity.unit.spec-6EA72A24.js +0 -417
  344. package/dist/NumericHandler-62EN6AD3.js +0 -33
  345. package/dist/NumericHandler.unit.spec-FXOJ2L2L.js +0 -213
  346. package/dist/ProteomeInput-MBBDXO2Z.js +0 -387
  347. package/dist/Regression-OQETMZPL.js +0 -1408
  348. package/dist/Regression-OQETMZPL.js.map +0 -7
  349. package/dist/RunChart2-RHZFHH4M.js +0 -749
  350. package/dist/SC-FAQXOHO4.js +0 -1106
  351. package/dist/Violin-2A3ICNBP.js +0 -1073
  352. package/dist/Volcano-X5KGHLHZ.js +0 -1414
  353. package/dist/WSIViewer-F2SD6LLP.js +0 -26194
  354. package/dist/Wsi-KAFAC3Q5.js +0 -232
  355. package/dist/WsiSamplesPlot-VKPMLDZI.js +0 -159
  356. package/dist/adSandbox-QKG5EA23.js +0 -32
  357. package/dist/animatedBubbleChart-ES62XWMN.js +0 -546
  358. package/dist/app-2HLLOBTD.js +0 -41
  359. package/dist/app-GJL6K6V4.js +0 -31
  360. package/dist/bam-DCPAAVPX.js +0 -875
  361. package/dist/barchart-DCVGCEZO.js +0 -41
  362. package/dist/barchart2-5X57VSIN.js +0 -308
  363. package/dist/block-XYSUTBXJ.js +0 -6248
  364. package/dist/block.init-5B27QKPU.js +0 -32
  365. package/dist/block.mds.expressionrank-Z7BGGPZ7.js +0 -353
  366. package/dist/block.mds.geneboxplot-4U4UZH2J.js +0 -822
  367. package/dist/block.mds.junction-ZPCUEQZJ.js +0 -1538
  368. package/dist/block.mds.svcnv-OGGPBOL2.js +0 -6795
  369. package/dist/block.svg-BWGAMNDS.js +0 -158
  370. package/dist/block.tk.aicheck-XHHW7WST.js +0 -277
  371. package/dist/block.tk.ase-BZ2IL3CQ.js +0 -359
  372. package/dist/block.tk.bam-WRHOOWXN.js +0 -1900
  373. package/dist/block.tk.bedgraphdot-B536STRA.js +0 -378
  374. package/dist/block.tk.bigwig.ui-K5X3BSQC.js +0 -205
  375. package/dist/block.tk.hicstraw-OYOKZ45W.js +0 -817
  376. package/dist/block.tk.junction-S5JMMMR6.js +0 -2357
  377. package/dist/block.tk.junction.textmatrixui-OLZY5BYR.js +0 -193
  378. package/dist/block.tk.ld-KINDO5UU.js +0 -93
  379. package/dist/block.tk.menu-3FNBVZ7J.js +0 -1023
  380. package/dist/block.tk.pgv-UHDY3T4G.js +0 -937
  381. package/dist/brainImaging-KWFRX3XB.js +0 -422
  382. package/dist/brainImaging-KWFRX3XB.js.map +0 -7
  383. package/dist/brainRegions-YI7K4OVE.js +0 -215
  384. package/dist/bubbleHeatmap-EQ44CSG5.js +0 -377
  385. package/dist/cellTypeBubbleHeatmap-O3KL2YBF.js +0 -277
  386. package/dist/chunk-254KEDDH.js +0 -129
  387. package/dist/chunk-25RPYQRT.js +0 -203
  388. package/dist/chunk-2OEMKKLP.js +0 -272
  389. package/dist/chunk-34AV6DED.js +0 -299
  390. package/dist/chunk-3UOSDVFJ.js +0 -1710
  391. package/dist/chunk-3UOSDVFJ.js.map +0 -7
  392. package/dist/chunk-4GN3CSDT.js +0 -98
  393. package/dist/chunk-4KUGV44F.js +0 -397
  394. package/dist/chunk-4WF3XDQP.js +0 -220
  395. package/dist/chunk-4WF3XDQP.js.map +0 -7
  396. package/dist/chunk-55PGOBTR.js +0 -123
  397. package/dist/chunk-5RHE36DQ.js +0 -37
  398. package/dist/chunk-6456HESK.js +0 -160
  399. package/dist/chunk-6THPWBBU.js +0 -102
  400. package/dist/chunk-6ZLCBVJA.js +0 -54
  401. package/dist/chunk-7AYGTMED.js +0 -182
  402. package/dist/chunk-7AYGTMED.js.map +0 -7
  403. package/dist/chunk-7ROMS7YT.js +0 -626
  404. package/dist/chunk-7UFK4GVI.js +0 -263
  405. package/dist/chunk-7UFK4GVI.js.map +0 -7
  406. package/dist/chunk-ALXSSRGI.js +0 -263
  407. package/dist/chunk-AT7HWXMW.js +0 -302
  408. package/dist/chunk-AVR4LFOO.js +0 -194
  409. package/dist/chunk-BY5B5BM5.js +0 -170
  410. package/dist/chunk-BZ36NJHA.js +0 -797
  411. package/dist/chunk-BZKHE26Z.js +0 -340
  412. package/dist/chunk-CBRZIMNF.js +0 -217
  413. package/dist/chunk-CTO247UZ.js +0 -5069
  414. package/dist/chunk-CTO247UZ.js.map +0 -7
  415. package/dist/chunk-D27C6HZW.js +0 -50
  416. package/dist/chunk-D73PJ4WC.js +0 -512
  417. package/dist/chunk-D73PJ4WC.js.map +0 -7
  418. package/dist/chunk-DLXMO6EK.js +0 -494
  419. package/dist/chunk-EK7CQC3P.js +0 -100
  420. package/dist/chunk-FCMHDCMO.js +0 -56
  421. package/dist/chunk-GJFG2MML.js +0 -1254
  422. package/dist/chunk-GQQ4R6BI.js +0 -24060
  423. package/dist/chunk-GQQ4R6BI.js.map +0 -7
  424. package/dist/chunk-HENLCRVM.js +0 -2126
  425. package/dist/chunk-I56CSICA.js +0 -292
  426. package/dist/chunk-I5KBI5PC.js +0 -274
  427. package/dist/chunk-IHDVUZFC.js +0 -1947
  428. package/dist/chunk-IHDVUZFC.js.map +0 -7
  429. package/dist/chunk-IUA3PSTK.js +0 -6360
  430. package/dist/chunk-J3TIXBCS.js +0 -276
  431. package/dist/chunk-JJHMFHRC.js +0 -257
  432. package/dist/chunk-JJHMFHRC.js.map +0 -7
  433. package/dist/chunk-JPQSDB2H.js +0 -102
  434. package/dist/chunk-LIMDUEVX.js +0 -1336
  435. package/dist/chunk-LIMDUEVX.js.map +0 -7
  436. package/dist/chunk-MECQLU4J.js +0 -243
  437. package/dist/chunk-MEJMWIBD.js +0 -187
  438. package/dist/chunk-MT5MHYL3.js +0 -480
  439. package/dist/chunk-NVH5I6EP.js +0 -176
  440. package/dist/chunk-OGQMELRU.js +0 -14
  441. package/dist/chunk-PBRW6QLS.js +0 -4274
  442. package/dist/chunk-PPJMCBVT.js +0 -82
  443. package/dist/chunk-PPJMCBVT.js.map +0 -7
  444. package/dist/chunk-RRI3RX4A.js +0 -2669
  445. package/dist/chunk-RRI3RX4A.js.map +0 -7
  446. package/dist/chunk-S2D6GH6D.js +0 -465
  447. package/dist/chunk-SACNULB3.js +0 -368
  448. package/dist/chunk-SEJGXC2L.js +0 -141
  449. package/dist/chunk-TMZZ4Z7L.js +0 -34
  450. package/dist/chunk-TRWFL52W.js +0 -446
  451. package/dist/chunk-VP2FPPLA.js +0 -70
  452. package/dist/chunk-VTYMSJGY.js +0 -49
  453. package/dist/chunk-WEF6INPI.js +0 -2784
  454. package/dist/chunk-WO4CL5JL.js +0 -240
  455. package/dist/chunk-WVVH56ZU.js +0 -2327
  456. package/dist/chunk-WZTZJNSG.js +0 -2899
  457. package/dist/chunk-XPSUKXMF.js +0 -556
  458. package/dist/chunk-XPSUKXMF.js.map +0 -7
  459. package/dist/chunk-XXITHNR2.js +0 -134
  460. package/dist/chunk-YCLNEB4L.js +0 -158
  461. package/dist/chunk-ZPFN3CYR.js +0 -55
  462. package/dist/cohort-JCMVMOBQ.js +0 -69
  463. package/dist/condition-SHRWEMG7.js +0 -326
  464. package/dist/controls-EKIHLQS6.js +0 -33
  465. package/dist/controls.config-WSVX6UC6.js +0 -33
  466. package/dist/correlation-ALFFZLKD.js +0 -94
  467. package/dist/customdata.inputui-L2UAIU6I.js +0 -283
  468. package/dist/dataDownload-73N5364T.js +0 -328
  469. package/dist/databrowser.ui-NTOGXDYE.js +0 -424
  470. package/dist/dictionary-CUAU2X6Q.js +0 -112
  471. package/dist/dnaMethylation-AGWAGXVD.js +0 -32
  472. package/dist/dnaMethylation.integration.spec-K22XXOU4.js +0 -197
  473. package/dist/dofetch-BVJ77SP7.js +0 -48
  474. package/dist/e2pca-4HIJWLSC.js +0 -343
  475. package/dist/ep-U4RGH62P.js +0 -1248
  476. package/dist/expclust.gdc.spec-JJGGQDQK.js +0 -301
  477. package/dist/facet-NNUPVXCG.js +0 -518
  478. package/dist/gb-2MYXJEMY.js +0 -80
  479. package/dist/geneExpClustering-6ORRRH43.js +0 -243
  480. package/dist/geneExpression-4JVWKJWP.js +0 -310
  481. package/dist/geneExpression-MARWAIHW.js +0 -32
  482. package/dist/geneExpression.unit.spec-3CQTUSDK.js +0 -96
  483. package/dist/geneORA-M2L2YEX3.js +0 -272
  484. package/dist/geneRanking-S2B3LSTU.js +0 -547
  485. package/dist/geneVariant-D2ANGINP.js +0 -35
  486. package/dist/geneVariant-T4NG72OL.js +0 -33
  487. package/dist/geneVariant.integration.spec-62NJS7GD.js +0 -192
  488. package/dist/genefusion.ui-4ZZNKANU.js +0 -302
  489. package/dist/geneset-QCLFANPD.js +0 -202
  490. package/dist/genomeBrowser.spec-BV5M6JFN.js +0 -275
  491. package/dist/grin2-J4VDS2JT.js +0 -1136
  492. package/dist/grin2-K5G3N5XP.js +0 -69
  493. package/dist/hierCluster-FMK524WF.js +0 -57
  494. package/dist/hierCluster-XF7ZWVKD.js +0 -53
  495. package/dist/hierCluster.config-LYAQCO3L.js +0 -34
  496. package/dist/hierCluster.integration.spec-NSLTJBL4.js +0 -482
  497. package/dist/hierCluster.interactivity-VKAOR2DR.js +0 -48
  498. package/dist/hierCluster.renderers-6C5F7LRL.js +0 -19
  499. package/dist/imagePlot-IPTIFVLT.js +0 -155
  500. package/dist/importPlot-V3P6DCUR.js +0 -8
  501. package/dist/isoformExpression-6IIPJI4M.js +0 -34
  502. package/dist/isoformExpression.unit.spec-IYZWSLO5.js +0 -236
  503. package/dist/junction-E6FB2OP4.js +0 -35
  504. package/dist/junction.unit.spec-M4EN7KPG.js +0 -181
  505. package/dist/launch.adhoc-SU5L2YXN.js +0 -36
  506. package/dist/leftlabel.sample-5WTK5NBD.js +0 -257
  507. package/dist/lollipop-L64ZTEEX.js +0 -165
  508. package/dist/maf-QLNFANWO.js +0 -454
  509. package/dist/maftimeline-U7FMTMTV.js +0 -586
  510. package/dist/matrix-GFVK3PEB.js +0 -57
  511. package/dist/matrix-HFJQGPJJ.js +0 -52
  512. package/dist/matrix.cells-5JKTBI3X.js +0 -26
  513. package/dist/matrix.config-QPTQ22RR.js +0 -35
  514. package/dist/matrix.data-MXIUMSRR.js +0 -23
  515. package/dist/matrix.dom-ENBFB4CW.js +0 -11
  516. package/dist/matrix.groups-6DYTBVGR.js +0 -25
  517. package/dist/matrix.integration.spec-X4HM67TN.js +0 -3066
  518. package/dist/matrix.interactivity-QTB56LXE.js +0 -36
  519. package/dist/matrix.layout-VQAORIIH.js +0 -38
  520. package/dist/matrix.legend-SDJXYNHE.js +0 -20
  521. package/dist/matrix.renderers-6PMYIP2S.js +0 -32
  522. package/dist/matrix.serieses-WWY7474U.js +0 -19
  523. package/dist/matrix.sort-V46C2MAZ.js +0 -25
  524. package/dist/matrix.sort.unit.spec-3RM7V6CS.js +0 -466
  525. package/dist/matrix.sorterUi.unit.spec-YOV6FBRT.js +0 -336
  526. package/dist/mavb-PJA76T7F.js +0 -726
  527. package/dist/mds.fimo-GW7XPJGQ.js +0 -512
  528. package/dist/mds.samplescatterplot-ZAIEWPO4.js +0 -1544
  529. package/dist/mds.survivalplot-ETLLFDWR.js +0 -476
  530. package/dist/multivalue-AZPAQJQD.js +0 -82
  531. package/dist/numericDictTermCluster-KOJODGZT.js +0 -63
  532. package/dist/oncomatrix-2TRXETOJ.js +0 -289
  533. package/dist/oncomatrix.spec-DOVKLS24.js +0 -442
  534. package/dist/plot.2dvaf-RQN6QADW.js +0 -371
  535. package/dist/plot.app-MOIVGIS6.js +0 -35
  536. package/dist/plot.barplot-46QRWJOX.js +0 -96
  537. package/dist/plot.boxplot-54J4UWQX.js +0 -145
  538. package/dist/plot.brainImaging-Y32KQFLS.js +0 -51
  539. package/dist/plot.disco-4R5J7Z5S.js +0 -99
  540. package/dist/plot.ssgq-6LCKYRYD.js +0 -133
  541. package/dist/plot.vaf2cov-UCBH4NSC.js +0 -252
  542. package/dist/plot.wsi-DAC7NUQE.js +0 -36
  543. package/dist/polar2-JKV74QV5.js +0 -231
  544. package/dist/profileForms-VDYCFH4M.js +0 -933
  545. package/dist/profilePlot-PR3LVRYU.js +0 -48
  546. package/dist/proteinView-A3EM6OR5.js +0 -1561
  547. package/dist/proteomeCohortCompare-QGFEJTDQ.js +0 -793
  548. package/dist/proteomeCohortCompare-QGFEJTDQ.js.map +0 -7
  549. package/dist/pseudbulk.unit.spec-CUMTLAH7.js +0 -85
  550. package/dist/pseudobulk-5E5MSMU3.js +0 -34
  551. package/dist/qualitative-WPXUBISK.js +0 -37
  552. package/dist/radar2-A5OYMORS.js +0 -326
  553. package/dist/radarFacility2-4TPJB6M4.js +0 -334
  554. package/dist/render-XQBWWS33.js +0 -32
  555. package/dist/report-NCJOTYIC.js +0 -216
  556. package/dist/sampleView-2PUSMG4W.js +0 -42
  557. package/dist/samplelst-FV7BAUN5.js +0 -105
  558. package/dist/samplematrix-DFD3PNI4.js +0 -2192
  559. package/dist/sc-GIMTDVLG.js +0 -80
  560. package/dist/scatter-4GJ5HKUY.js +0 -879
  561. package/dist/scatter-P3ISZB3R.js +0 -87
  562. package/dist/selectGenomeWithTklst-ZZ4CEHDU.js +0 -128
  563. package/dist/singleCellCellType-CEERCVTR.js +0 -32
  564. package/dist/singleCellCellType.unit.spec-JNEIICK5.js +0 -153
  565. package/dist/singleCellGeneExpression-G5B7DDES.js +0 -32
  566. package/dist/singleCellGeneExpression.unit.spec-CGRZGY66.js +0 -147
  567. package/dist/singleCellPlot-US5KTHS4.js +0 -48
  568. package/dist/singlecell-IPTSIKNA.js +0 -1565
  569. package/dist/singlecell-VB4KLPJF.js +0 -80
  570. package/dist/snp-6V2SCCRN.js +0 -32
  571. package/dist/snp.unit.spec-Q537NGVG.js +0 -170
  572. package/dist/snplocus-BV6WJTVP.js +0 -202
  573. package/dist/spliceevent.a53ss.diagram-3BUQVK4Q.js +0 -145
  574. package/dist/spliceevent.exonskip.diagram-CQZ2DFQ5.js +0 -277
  575. package/dist/spliceevent.noeventdiagram-QAEPR6LD.js +0 -454
  576. package/dist/ssGSEA-XNI5S7AC.js +0 -32
  577. package/dist/ssGSEA.unit.spec-A337IMC7.js +0 -82
  578. package/dist/stattable-J4ZQKJFM.js +0 -116
  579. package/dist/studyCatalog-BJTJJGBC.js +0 -352
  580. package/dist/studyCatalog-BJTJJGBC.js.map +0 -7
  581. package/dist/summarizeCnvGeneexp-76UJXLA4.js +0 -157
  582. package/dist/summarizeGeneexpSurvival-ZUEHXA2R.js +0 -104
  583. package/dist/summarizeMutationCnv-EBCBVMG6.js +0 -158
  584. package/dist/summarizeMutationDiagnosis-VLFI2ZIZ.js +0 -34
  585. package/dist/summarizeMutationSurvival-QRFMJLLO.js +0 -93
  586. package/dist/summary-U3YKEMZC.js +0 -41
  587. package/dist/summary.integration.spec-52WP6SNY.js +0 -408
  588. package/dist/summaryInput-WUJNHCGH.js +0 -225
  589. package/dist/sunburst-IJ3ZG2BC.js +0 -277
  590. package/dist/survival-F2B5JKOO.js +0 -1236
  591. package/dist/survival-SQRYWGWZ.js +0 -52
  592. package/dist/survival.integration.spec-YGRZJ2OL.js +0 -967
  593. package/dist/survival.integration.spec-YGRZJ2OL.js.map +0 -7
  594. package/dist/svgraph-HVCMF6KI.js +0 -1381
  595. package/dist/svmr-PROHTMTP.js +0 -3836
  596. package/dist/table-3E64OJNV.js +0 -196
  597. package/dist/termCollection-MUH7P6B5.js +0 -32
  598. package/dist/termCollection-WKT6ESMI.js +0 -251
  599. package/dist/termCollection.unit.spec-XMOCMVER.js +0 -298
  600. package/dist/termCollectionFractionSelection-P5G6WIJJ.js +0 -41
  601. package/dist/termCollectionFractionSelection.unit.spec-MG7E3EIZ.js +0 -187
  602. package/dist/tk-HWUPUGOS.js +0 -1120
  603. package/dist/tk-SBM2GN3S.js +0 -40
  604. package/dist/tp.ui-RRB5MJRD.js +0 -1453
  605. package/dist/tvs.dt-I2ECKHQ2.js +0 -33
  606. package/dist/tvs.dtcnv.categorical-7RJPQKMX.js +0 -34
  607. package/dist/tvs.dtcnv.continuous-FW4ZXIYY.js +0 -66
  608. package/dist/tvs.dtfusion-3GDWW3ML.js +0 -34
  609. package/dist/tvs.dtitd-FER4H4UO.js +0 -34
  610. package/dist/tvs.dtsnvindel-ISEOJ5UA.js +0 -34
  611. package/dist/tvs.dtsv-JDML7EWE.js +0 -34
  612. package/dist/tvs.samplelst-MJTM6GSV.js +0 -98
  613. package/dist/tvs.termCollection-GMOXBJWF.js +0 -123
  614. package/dist/vocabulary-5EJMLXI2.js +0 -35
  615. package/dist/vocabulary-5EJMLXI2.js.map +0 -7
  616. package/dist/wsi.direct-IVPACPNT.js +0 -75
  617. /package/dist/{2dmaf-I4HBWRNQ.js.map → 2dmaf-6CEBP4SA.js.map} +0 -0
  618. /package/dist/{AIProjectAdmin-SZYSG7HR.js.map → AIProjectAdmin-2CKKFC3A.js.map} +0 -0
  619. /package/dist/{AggregateMatrix-U7HHALFR.js.map → AggregateMatrix-5TBUMFE5.js.map} +0 -0
  620. /package/dist/{AppHeader-O4RBZQZF.js.map → AppHeader-5YBPWF44.js.map} +0 -0
  621. /package/dist/{BoxPlot-NOXWAGX6.js.map → BoxPlot-UOJS5SJV.js.map} +0 -0
  622. /package/dist/{CorrelationVolcano-IJ5UT6N5.js.map → CorrelationVolcano-KX6JPZMT.js.map} +0 -0
  623. /package/dist/{Cuminc-NGUDAOAD.js.map → Cuminc-TLOOLZWR.js.map} +0 -0
  624. /package/dist/{DE-MIAHOI5J.js.map → DE-HUQLQ2Z3.js.map} +0 -0
  625. /package/dist/{DEinput-FYBSL2ER.js.map → DEinput-WWUISAF2.js.map} +0 -0
  626. /package/dist/{DifferentialAnalysis-I6S5YQXY.js.map → DifferentialAnalysis-6DTAGCEY.js.map} +0 -0
  627. /package/dist/{Disco-VLUBOZDC.js.map → Disco-P6ZLPYLF.js.map} +0 -0
  628. /package/dist/{Disco.UI-QQYWQEW7.js.map → Disco.UI-WGTMAFK2.js.map} +0 -0
  629. /package/dist/{DmrPlot-DFOBEN7A.js.map → DmrPlot-3FRU5KUK.js.map} +0 -0
  630. /package/dist/{GB-5FSXJMEZ.js.map → GB-NWOBARL3.js.map} +0 -0
  631. /package/dist/{GSEA-JISHQOVY.js.map → GSEA-DEEUAAMI.js.map} +0 -0
  632. /package/dist/{GeneExpInput-5YEX22VD.js.map → GeneExpInput-6QWGEAFV.js.map} +0 -0
  633. /package/dist/{Geomap-YVF6YBK5.js.map → Geomap-6HT2B7RH.js.map} +0 -0
  634. /package/dist/{HicApp-ZCMOOKTY.js.map → HicApp-PCNOUULF.js.map} +0 -0
  635. /package/dist/{IDCViewer-5ZNTAEUG.js.map → IDCViewer-H3QPXVM3.js.map} +0 -0
  636. /package/dist/{NumBinaryEditor-BEF5YCKI.js.map → NumBinaryEditor-IU6OLMKN.js.map} +0 -0
  637. /package/dist/{NumBinaryEditor.unit.spec-GCYZGHB2.js.map → NumBinaryEditor.unit.spec-YUPUILIV.js.map} +0 -0
  638. /package/dist/{NumContEditor-TUXPB6YJ.js.map → NumContEditor-KFDA76QN.js.map} +0 -0
  639. /package/dist/{NumContEditor.unit.spec-5CMHHWIP.js.map → NumContEditor.unit.spec-QBOT5QHU.js.map} +0 -0
  640. /package/dist/{NumCustomBinEditor-HS7RSGFV.js.map → NumCustomBinEditor-EOSTEXLB.js.map} +0 -0
  641. /package/dist/{NumCustomBinEditor.unit.spec-MM3JJXT4.js.map → NumCustomBinEditor.unit.spec-B46XWFYH.js.map} +0 -0
  642. /package/dist/{NumDiscreteEditor-ZL7PP6ZT.js.map → NumDiscreteEditor-Y4EAADXC.js.map} +0 -0
  643. /package/dist/{NumDiscreteEditor.unit.spec-OEWX2KJC.js.map → NumDiscreteEditor.unit.spec-SJGHLWSM.js.map} +0 -0
  644. /package/dist/{NumRegularBinEditor-YBXK7YV6.js.map → NumRegularBinEditor-3BNG7DIN.js.map} +0 -0
  645. /package/dist/{NumRegularBinEditor.unit.spec-FVHN4J5L.js.map → NumRegularBinEditor.unit.spec-KM45QXXG.js.map} +0 -0
  646. /package/dist/{NumSplineEditor-VN4XBTTI.js.map → NumSplineEditor-K4KPDC4S.js.map} +0 -0
  647. /package/dist/{NumSplineEditor.unit.spec-AI642DWP.js.map → NumSplineEditor.unit.spec-TKQP5XTS.js.map} +0 -0
  648. /package/dist/{NumericDensity-2KTY7DGH.js.map → NumericDensity-Z6JFVN3D.js.map} +0 -0
  649. /package/dist/{NumericDensity.unit.spec-6EA72A24.js.map → NumericDensity.unit.spec-YEYBVLEP.js.map} +0 -0
  650. /package/dist/{NumericHandler-62EN6AD3.js.map → NumericHandler-ITT6HMPN.js.map} +0 -0
  651. /package/dist/{NumericHandler.unit.spec-FXOJ2L2L.js.map → NumericHandler.unit.spec-QVONMXY4.js.map} +0 -0
  652. /package/dist/{ProteomeInput-MBBDXO2Z.js.map → ProteomeInput-PRS3DEMZ.js.map} +0 -0
  653. /package/dist/{RunChart2-RHZFHH4M.js.map → RunChart2-AMM2JFF5.js.map} +0 -0
  654. /package/dist/{SC-FAQXOHO4.js.map → SC-F7IE66VZ.js.map} +0 -0
  655. /package/dist/{Violin-2A3ICNBP.js.map → Violin-RJ6OJZ4F.js.map} +0 -0
  656. /package/dist/{Volcano-X5KGHLHZ.js.map → Volcano-BJA5HN5Y.js.map} +0 -0
  657. /package/dist/{WSIViewer-F2SD6LLP.js.map → WSIViewer-RJZGRUIR.js.map} +0 -0
  658. /package/dist/{Wsi-KAFAC3Q5.js.map → Wsi-DXP6KOQA.js.map} +0 -0
  659. /package/dist/{WsiSamplesPlot-VKPMLDZI.js.map → WsiSamplesPlot-2IAWV2B6.js.map} +0 -0
  660. /package/dist/{adSandbox-QKG5EA23.js.map → adSandbox-RGWOIV3W.js.map} +0 -0
  661. /package/dist/{animatedBubbleChart-ES62XWMN.js.map → animatedBubbleChart-J4Q2NAEW.js.map} +0 -0
  662. /package/dist/{app-2HLLOBTD.js.map → app-3QXNR4VG.js.map} +0 -0
  663. /package/dist/{app-GJL6K6V4.js.map → app-B4B7YNP3.js.map} +0 -0
  664. /package/dist/{bam-DCPAAVPX.js.map → bam-LRUMN45P.js.map} +0 -0
  665. /package/dist/{barchart-DCVGCEZO.js.map → barchart-L2G6GEHK.js.map} +0 -0
  666. /package/dist/{barchart2-5X57VSIN.js.map → barchart2-DWNVAZAJ.js.map} +0 -0
  667. /package/dist/{block-XYSUTBXJ.js.map → block-TVEVAXNP.js.map} +0 -0
  668. /package/dist/{block.init-5B27QKPU.js.map → block.init-YOHAKPRI.js.map} +0 -0
  669. /package/dist/{block.mds.expressionrank-Z7BGGPZ7.js.map → block.mds.expressionrank-PU6JH4W5.js.map} +0 -0
  670. /package/dist/{block.mds.geneboxplot-4U4UZH2J.js.map → block.mds.geneboxplot-WYYFDNE3.js.map} +0 -0
  671. /package/dist/{block.mds.junction-ZPCUEQZJ.js.map → block.mds.junction-4WCTL7Y4.js.map} +0 -0
  672. /package/dist/{block.mds.svcnv-OGGPBOL2.js.map → block.mds.svcnv-MR3VCYUW.js.map} +0 -0
  673. /package/dist/{block.svg-BWGAMNDS.js.map → block.svg-LR3Y4ZO7.js.map} +0 -0
  674. /package/dist/{block.tk.aicheck-XHHW7WST.js.map → block.tk.aicheck-A5AWKJZI.js.map} +0 -0
  675. /package/dist/{block.tk.ase-BZ2IL3CQ.js.map → block.tk.ase-AQBBAQEH.js.map} +0 -0
  676. /package/dist/{block.tk.bam-WRHOOWXN.js.map → block.tk.bam-QBTA2O3V.js.map} +0 -0
  677. /package/dist/{block.tk.bedgraphdot-B536STRA.js.map → block.tk.bedgraphdot-4ALZG2MY.js.map} +0 -0
  678. /package/dist/{block.tk.bigwig.ui-K5X3BSQC.js.map → block.tk.bigwig.ui-32W6XW37.js.map} +0 -0
  679. /package/dist/{block.tk.hicstraw-OYOKZ45W.js.map → block.tk.hicstraw-PKBHBAG2.js.map} +0 -0
  680. /package/dist/{block.tk.junction-S5JMMMR6.js.map → block.tk.junction-AO5CXUCU.js.map} +0 -0
  681. /package/dist/{block.tk.junction.textmatrixui-OLZY5BYR.js.map → block.tk.junction.textmatrixui-RORVUIPI.js.map} +0 -0
  682. /package/dist/{block.tk.ld-KINDO5UU.js.map → block.tk.ld-TNBSR4FT.js.map} +0 -0
  683. /package/dist/{block.tk.menu-3FNBVZ7J.js.map → block.tk.menu-QDJO54J5.js.map} +0 -0
  684. /package/dist/{block.tk.pgv-UHDY3T4G.js.map → block.tk.pgv-6222WWYR.js.map} +0 -0
  685. /package/dist/{brainRegions-YI7K4OVE.js.map → brainRegions-KTFH6DE2.js.map} +0 -0
  686. /package/dist/{bubbleHeatmap-EQ44CSG5.js.map → bubbleHeatmap-LNXZLFY6.js.map} +0 -0
  687. /package/dist/{cellTypeBubbleHeatmap-O3KL2YBF.js.map → cellTypeBubbleHeatmap-SRHUNX3S.js.map} +0 -0
  688. /package/dist/{chunk-7ROMS7YT.js.map → chunk-3TXVDBGN.js.map} +0 -0
  689. /package/dist/{chunk-I5KBI5PC.js.map → chunk-4HLHKBHP.js.map} +0 -0
  690. /package/dist/{chunk-4KUGV44F.js.map → chunk-5GG7Q2ZG.js.map} +0 -0
  691. /package/dist/{chunk-4GN3CSDT.js.map → chunk-5PMFCQKC.js.map} +0 -0
  692. /package/dist/{chunk-HENLCRVM.js.map → chunk-6X7PP7A4.js.map} +0 -0
  693. /package/dist/{chunk-6ZLCBVJA.js.map → chunk-A3EDLRUN.js.map} +0 -0
  694. /package/dist/{chunk-OGQMELRU.js.map → chunk-ACXFPMJP.js.map} +0 -0
  695. /package/dist/{chunk-JPQSDB2H.js.map → chunk-ASRW3UJ5.js.map} +0 -0
  696. /package/dist/{chunk-NVH5I6EP.js.map → chunk-BBILSUDX.js.map} +0 -0
  697. /package/dist/{chunk-EK7CQC3P.js.map → chunk-BOWI37X2.js.map} +0 -0
  698. /package/dist/{chunk-SACNULB3.js.map → chunk-BVA26EFK.js.map} +0 -0
  699. /package/dist/{chunk-BZ36NJHA.js.map → chunk-D5J57ENI.js.map} +0 -0
  700. /package/dist/{chunk-I56CSICA.js.map → chunk-E5BFGDLA.js.map} +0 -0
  701. /package/dist/{chunk-XXITHNR2.js.map → chunk-ECISCOPF.js.map} +0 -0
  702. /package/dist/{chunk-YCLNEB4L.js.map → chunk-ECLUUJVE.js.map} +0 -0
  703. /package/dist/{chunk-2OEMKKLP.js.map → chunk-EGDQ5I54.js.map} +0 -0
  704. /package/dist/{chunk-FCMHDCMO.js.map → chunk-ELNVTA7O.js.map} +0 -0
  705. /package/dist/{chunk-DLXMO6EK.js.map → chunk-F4PMOAQK.js.map} +0 -0
  706. /package/dist/{chunk-WVVH56ZU.js.map → chunk-FISQTHD4.js.map} +0 -0
  707. /package/dist/{chunk-GJFG2MML.js.map → chunk-HL6GJIOH.js.map} +0 -0
  708. /package/dist/{chunk-ZPFN3CYR.js.map → chunk-IGZAOCTU.js.map} +0 -0
  709. /package/dist/{chunk-IUA3PSTK.js.map → chunk-JMDJI7KM.js.map} +0 -0
  710. /package/dist/{chunk-VTYMSJGY.js.map → chunk-JQVA264Z.js.map} +0 -0
  711. /package/dist/{chunk-WEF6INPI.js.map → chunk-JRF7SRLB.js.map} +0 -0
  712. /package/dist/{chunk-25RPYQRT.js.map → chunk-KLWSW6CC.js.map} +0 -0
  713. /package/dist/{chunk-AVR4LFOO.js.map → chunk-KNNSOOTG.js.map} +0 -0
  714. /package/dist/{chunk-BY5B5BM5.js.map → chunk-KTPXQH2N.js.map} +0 -0
  715. /package/dist/{chunk-J3TIXBCS.js.map → chunk-LGKXSWY4.js.map} +0 -0
  716. /package/dist/{chunk-PBRW6QLS.js.map → chunk-LP2GIXVK.js.map} +0 -0
  717. /package/dist/{chunk-AT7HWXMW.js.map → chunk-MBHERRJR.js.map} +0 -0
  718. /package/dist/{chunk-MT5MHYL3.js.map → chunk-MLYQDJUQ.js.map} +0 -0
  719. /package/dist/{chunk-TRWFL52W.js.map → chunk-NBGDLLMX.js.map} +0 -0
  720. /package/dist/{chunk-D27C6HZW.js.map → chunk-P3JEXVBT.js.map} +0 -0
  721. /package/dist/{chunk-TMZZ4Z7L.js.map → chunk-PZPPJY4K.js.map} +0 -0
  722. /package/dist/{chunk-SEJGXC2L.js.map → chunk-Q6JF4ZLT.js.map} +0 -0
  723. /package/dist/{chunk-ALXSSRGI.js.map → chunk-QF5IH7PC.js.map} +0 -0
  724. /package/dist/{chunk-S2D6GH6D.js.map → chunk-QJ6SO7CF.js.map} +0 -0
  725. /package/dist/{chunk-WZTZJNSG.js.map → chunk-QQUOVIOM.js.map} +0 -0
  726. /package/dist/{chunk-WO4CL5JL.js.map → chunk-R3OBOAOF.js.map} +0 -0
  727. /package/dist/{chunk-VP2FPPLA.js.map → chunk-SPDNUC76.js.map} +0 -0
  728. /package/dist/{chunk-5RHE36DQ.js.map → chunk-T3663ZQL.js.map} +0 -0
  729. /package/dist/{chunk-BZKHE26Z.js.map → chunk-TSK4ZTFK.js.map} +0 -0
  730. /package/dist/{chunk-CBRZIMNF.js.map → chunk-USW6WRDZ.js.map} +0 -0
  731. /package/dist/{chunk-34AV6DED.js.map → chunk-WBMYHNKH.js.map} +0 -0
  732. /package/dist/{chunk-MEJMWIBD.js.map → chunk-X46LAU4Q.js.map} +0 -0
  733. /package/dist/{chunk-254KEDDH.js.map → chunk-XE6E526E.js.map} +0 -0
  734. /package/dist/{chunk-55PGOBTR.js.map → chunk-XWCWBHLB.js.map} +0 -0
  735. /package/dist/{chunk-6456HESK.js.map → chunk-YCECQV3T.js.map} +0 -0
  736. /package/dist/{chunk-MECQLU4J.js.map → chunk-Z4NADGZX.js.map} +0 -0
  737. /package/dist/{chunk-6THPWBBU.js.map → chunk-Z53KOPRJ.js.map} +0 -0
  738. /package/dist/{cohort-JCMVMOBQ.js.map → cohort-U7M6Q2UX.js.map} +0 -0
  739. /package/dist/{condition-SHRWEMG7.js.map → condition-EGAV2PMJ.js.map} +0 -0
  740. /package/dist/{controls-EKIHLQS6.js.map → controls-PTMYWUZV.js.map} +0 -0
  741. /package/dist/{controls.config-WSVX6UC6.js.map → controls.config-DOA6PTP2.js.map} +0 -0
  742. /package/dist/{correlation-ALFFZLKD.js.map → correlation-Y3EL6GB7.js.map} +0 -0
  743. /package/dist/{customdata.inputui-L2UAIU6I.js.map → customdata.inputui-4NDDG6FL.js.map} +0 -0
  744. /package/dist/{dataDownload-73N5364T.js.map → dataDownload-EQGUAOK2.js.map} +0 -0
  745. /package/dist/{databrowser.ui-NTOGXDYE.js.map → databrowser.ui-ABGOJUWQ.js.map} +0 -0
  746. /package/dist/{dictionary-CUAU2X6Q.js.map → dictionary-YOLLEDE5.js.map} +0 -0
  747. /package/dist/{dnaMethylation-AGWAGXVD.js.map → dnaMethylation-JZT63UHO.js.map} +0 -0
  748. /package/dist/{dnaMethylation.integration.spec-K22XXOU4.js.map → dnaMethylation.integration.spec-EATCABJW.js.map} +0 -0
  749. /package/dist/{dofetch-BVJ77SP7.js.map → dofetch-YNBIUFV5.js.map} +0 -0
  750. /package/dist/{e2pca-4HIJWLSC.js.map → e2pca-RD6COCRL.js.map} +0 -0
  751. /package/dist/{ep-U4RGH62P.js.map → ep-BAI7WUET.js.map} +0 -0
  752. /package/dist/{expclust.gdc.spec-JJGGQDQK.js.map → expclust.gdc.spec-LKV2CQA5.js.map} +0 -0
  753. /package/dist/{facet-NNUPVXCG.js.map → facet-X3SXQIAC.js.map} +0 -0
  754. /package/dist/{gb-2MYXJEMY.js.map → gb-K324K7XB.js.map} +0 -0
  755. /package/dist/{geneExpClustering-6ORRRH43.js.map → geneExpClustering-BJD5U3KG.js.map} +0 -0
  756. /package/dist/{geneExpression-4JVWKJWP.js.map → geneExpression-2TK3XLZ5.js.map} +0 -0
  757. /package/dist/{geneExpression-MARWAIHW.js.map → geneExpression-F6NRTHZ4.js.map} +0 -0
  758. /package/dist/{geneExpression.unit.spec-3CQTUSDK.js.map → geneExpression.unit.spec-IFZN3J6A.js.map} +0 -0
  759. /package/dist/{geneORA-M2L2YEX3.js.map → geneORA-DUEP735U.js.map} +0 -0
  760. /package/dist/{geneRanking-S2B3LSTU.js.map → geneRanking-LURDNT7L.js.map} +0 -0
  761. /package/dist/{geneVariant-D2ANGINP.js.map → geneVariant-EAVCWQAZ.js.map} +0 -0
  762. /package/dist/{geneVariant.integration.spec-62NJS7GD.js.map → geneVariant.integration.spec-LHL4ERFO.js.map} +0 -0
  763. /package/dist/{genefusion.ui-4ZZNKANU.js.map → genefusion.ui-4T5R7DT7.js.map} +0 -0
  764. /package/dist/{geneset-QCLFANPD.js.map → geneset-3PWXPBG2.js.map} +0 -0
  765. /package/dist/{genomeBrowser.spec-BV5M6JFN.js.map → genomeBrowser.spec-5SEN7R2P.js.map} +0 -0
  766. /package/dist/{grin2-J4VDS2JT.js.map → grin2-EXBG7TMS.js.map} +0 -0
  767. /package/dist/{grin2-K5G3N5XP.js.map → grin2-XIXVFVWO.js.map} +0 -0
  768. /package/dist/{geneVariant-T4NG72OL.js.map → hierCluster-5XQIWXAY.js.map} +0 -0
  769. /package/dist/{hierCluster-FMK524WF.js.map → hierCluster-I4TAQWPF.js.map} +0 -0
  770. /package/dist/{hierCluster-XF7ZWVKD.js.map → hierCluster.config-T7HVAWES.js.map} +0 -0
  771. /package/dist/{hierCluster.integration.spec-NSLTJBL4.js.map → hierCluster.integration.spec-XWX43K4D.js.map} +0 -0
  772. /package/dist/{hierCluster.config-LYAQCO3L.js.map → hierCluster.interactivity-MYIDHFSL.js.map} +0 -0
  773. /package/dist/{hierCluster.interactivity-VKAOR2DR.js.map → hierCluster.renderers-YRXA5ZUK.js.map} +0 -0
  774. /package/dist/{imagePlot-IPTIFVLT.js.map → imagePlot-4JQB6JUG.js.map} +0 -0
  775. /package/dist/{hierCluster.renderers-6C5F7LRL.js.map → importPlot-D3MXCCLN.js.map} +0 -0
  776. /package/dist/{importPlot-V3P6DCUR.js.map → isoformExpression-WNGGUVIZ.js.map} +0 -0
  777. /package/dist/{isoformExpression.unit.spec-IYZWSLO5.js.map → isoformExpression.unit.spec-NVJ5TIKM.js.map} +0 -0
  778. /package/dist/{isoformExpression-6IIPJI4M.js.map → junction-O7N57JE3.js.map} +0 -0
  779. /package/dist/{junction.unit.spec-M4EN7KPG.js.map → junction.unit.spec-Z63DRTRR.js.map} +0 -0
  780. /package/dist/{junction-E6FB2OP4.js.map → launch.adhoc-MBDRXD3B.js.map} +0 -0
  781. /package/dist/{leftlabel.sample-5WTK5NBD.js.map → leftlabel.sample-IG6FOQ26.js.map} +0 -0
  782. /package/dist/{lollipop-L64ZTEEX.js.map → lollipop-ZUYBLPGN.js.map} +0 -0
  783. /package/dist/{maf-QLNFANWO.js.map → maf-QOS5LURG.js.map} +0 -0
  784. /package/dist/{maftimeline-U7FMTMTV.js.map → maftimeline-FEHP2J55.js.map} +0 -0
  785. /package/dist/{launch.adhoc-SU5L2YXN.js.map → matrix-BG4J4RXA.js.map} +0 -0
  786. /package/dist/{matrix-GFVK3PEB.js.map → matrix-PX4LWTGN.js.map} +0 -0
  787. /package/dist/{matrix-HFJQGPJJ.js.map → matrix.cells-PTIDQVCI.js.map} +0 -0
  788. /package/dist/{matrix.cells-5JKTBI3X.js.map → matrix.config-NHW7BLIE.js.map} +0 -0
  789. /package/dist/{matrix.config-QPTQ22RR.js.map → matrix.data-FMIQRXOA.js.map} +0 -0
  790. /package/dist/{matrix.data-MXIUMSRR.js.map → matrix.dom-4S2UYJOU.js.map} +0 -0
  791. /package/dist/{matrix.dom-ENBFB4CW.js.map → matrix.groups-QMID5XAO.js.map} +0 -0
  792. /package/dist/{matrix.integration.spec-X4HM67TN.js.map → matrix.integration.spec-H6T7KP5R.js.map} +0 -0
  793. /package/dist/{matrix.groups-6DYTBVGR.js.map → matrix.interactivity-WQUO25HB.js.map} +0 -0
  794. /package/dist/{matrix.interactivity-QTB56LXE.js.map → matrix.layout-CTPVZZ34.js.map} +0 -0
  795. /package/dist/{matrix.layout-VQAORIIH.js.map → matrix.legend-K6EYUN6L.js.map} +0 -0
  796. /package/dist/{matrix.legend-SDJXYNHE.js.map → matrix.renderers-5DIAUY6R.js.map} +0 -0
  797. /package/dist/{matrix.renderers-6PMYIP2S.js.map → matrix.serieses-LRMN2J52.js.map} +0 -0
  798. /package/dist/{matrix.serieses-WWY7474U.js.map → matrix.sort-RGAGEA6Z.js.map} +0 -0
  799. /package/dist/{matrix.sort.unit.spec-3RM7V6CS.js.map → matrix.sort.unit.spec-RGICZZJL.js.map} +0 -0
  800. /package/dist/{matrix.sorterUi.unit.spec-YOV6FBRT.js.map → matrix.sorterUi.unit.spec-45QPEGWE.js.map} +0 -0
  801. /package/dist/{mavb-PJA76T7F.js.map → mavb-VEIVB62L.js.map} +0 -0
  802. /package/dist/{mds.fimo-GW7XPJGQ.js.map → mds.fimo-BG4LTWFB.js.map} +0 -0
  803. /package/dist/{mds.samplescatterplot-ZAIEWPO4.js.map → mds.samplescatterplot-PWADJZ2J.js.map} +0 -0
  804. /package/dist/{mds.survivalplot-ETLLFDWR.js.map → mds.survivalplot-BX4HZ23K.js.map} +0 -0
  805. /package/dist/{multivalue-AZPAQJQD.js.map → multivalue-OZALSBFW.js.map} +0 -0
  806. /package/dist/{numericDictTermCluster-KOJODGZT.js.map → numericDictTermCluster-7PGJ7KV4.js.map} +0 -0
  807. /package/dist/{oncomatrix-2TRXETOJ.js.map → oncomatrix-Q2EQZPLS.js.map} +0 -0
  808. /package/dist/{oncomatrix.spec-DOVKLS24.js.map → oncomatrix.spec-YEQOQRPW.js.map} +0 -0
  809. /package/dist/{plot.2dvaf-RQN6QADW.js.map → plot.2dvaf-NJSB3HNH.js.map} +0 -0
  810. /package/dist/{matrix.sort-V46C2MAZ.js.map → plot.app-AEUR6XGI.js.map} +0 -0
  811. /package/dist/{plot.barplot-46QRWJOX.js.map → plot.barplot-OXN2P5KL.js.map} +0 -0
  812. /package/dist/{plot.boxplot-54J4UWQX.js.map → plot.boxplot-2KHEVVFE.js.map} +0 -0
  813. /package/dist/{plot.brainImaging-Y32KQFLS.js.map → plot.brainImaging-JWDX4BZG.js.map} +0 -0
  814. /package/dist/{plot.disco-4R5J7Z5S.js.map → plot.disco-LUFC5GGC.js.map} +0 -0
  815. /package/dist/{plot.ssgq-6LCKYRYD.js.map → plot.ssgq-FMM3IRNA.js.map} +0 -0
  816. /package/dist/{plot.vaf2cov-UCBH4NSC.js.map → plot.vaf2cov-K5TAQUC5.js.map} +0 -0
  817. /package/dist/{plot.wsi-DAC7NUQE.js.map → plot.wsi-CNQCNZ4Z.js.map} +0 -0
  818. /package/dist/{polar2-JKV74QV5.js.map → polar2-AB6SVYRS.js.map} +0 -0
  819. /package/dist/{profileForms-VDYCFH4M.js.map → profileForms-AIEHZ4GC.js.map} +0 -0
  820. /package/dist/{plot.app-MOIVGIS6.js.map → profilePlot-PZDFGXKZ.js.map} +0 -0
  821. /package/dist/{proteinView-A3EM6OR5.js.map → proteinView-7GWHQYXC.js.map} +0 -0
  822. /package/dist/{pseudbulk.unit.spec-CUMTLAH7.js.map → pseudbulk.unit.spec-NFT4VNTI.js.map} +0 -0
  823. /package/dist/{profilePlot-PR3LVRYU.js.map → pseudobulk-WDGWTXW4.js.map} +0 -0
  824. /package/dist/{pseudobulk-5E5MSMU3.js.map → qualitative-PZYJENE7.js.map} +0 -0
  825. /package/dist/{radar2-A5OYMORS.js.map → radar2-QHRGH3YS.js.map} +0 -0
  826. /package/dist/{radarFacility2-4TPJB6M4.js.map → radarFacility2-2JD26FL6.js.map} +0 -0
  827. /package/dist/{qualitative-WPXUBISK.js.map → render-YA4Z56LT.js.map} +0 -0
  828. /package/dist/{report-NCJOTYIC.js.map → report-2NUKFJTF.js.map} +0 -0
  829. /package/dist/{render-XQBWWS33.js.map → sampleView-2XVPJTVR.js.map} +0 -0
  830. /package/dist/{samplelst-FV7BAUN5.js.map → samplelst-DMILFDT5.js.map} +0 -0
  831. /package/dist/{samplematrix-DFD3PNI4.js.map → samplematrix-LYA5XTUM.js.map} +0 -0
  832. /package/dist/{sc-GIMTDVLG.js.map → sc-CM2C34MN.js.map} +0 -0
  833. /package/dist/{scatter-4GJ5HKUY.js.map → scatter-C3CH3HTF.js.map} +0 -0
  834. /package/dist/{scatter-P3ISZB3R.js.map → scatter-GO6LV6NY.js.map} +0 -0
  835. /package/dist/{selectGenomeWithTklst-ZZ4CEHDU.js.map → selectGenomeWithTklst-5C7UBTGZ.js.map} +0 -0
  836. /package/dist/{sampleView-2PUSMG4W.js.map → singleCellCellType-EZYESBVZ.js.map} +0 -0
  837. /package/dist/{singleCellCellType.unit.spec-JNEIICK5.js.map → singleCellCellType.unit.spec-DB6FM4XR.js.map} +0 -0
  838. /package/dist/{singleCellCellType-CEERCVTR.js.map → singleCellGeneExpression-DZLEFPW4.js.map} +0 -0
  839. /package/dist/{singleCellGeneExpression.unit.spec-CGRZGY66.js.map → singleCellGeneExpression.unit.spec-ZTBK3V43.js.map} +0 -0
  840. /package/dist/{singleCellGeneExpression-G5B7DDES.js.map → singleCellPlot-VF4TZ4FT.js.map} +0 -0
  841. /package/dist/{singlecell-IPTSIKNA.js.map → singlecell-2MHROPBN.js.map} +0 -0
  842. /package/dist/{singlecell-VB4KLPJF.js.map → singlecell-GPAFNOUZ.js.map} +0 -0
  843. /package/dist/{singleCellPlot-US5KTHS4.js.map → snp-K4EAEVW4.js.map} +0 -0
  844. /package/dist/{snp.unit.spec-Q537NGVG.js.map → snp.unit.spec-BUVQLVOY.js.map} +0 -0
  845. /package/dist/{snplocus-BV6WJTVP.js.map → snplocus-GEVISN6Z.js.map} +0 -0
  846. /package/dist/{spliceevent.a53ss.diagram-3BUQVK4Q.js.map → spliceevent.a53ss.diagram-5UPWNAZF.js.map} +0 -0
  847. /package/dist/{spliceevent.exonskip.diagram-CQZ2DFQ5.js.map → spliceevent.exonskip.diagram-7TKAQURC.js.map} +0 -0
  848. /package/dist/{spliceevent.noeventdiagram-QAEPR6LD.js.map → spliceevent.noeventdiagram-CDXZLR3Z.js.map} +0 -0
  849. /package/dist/{snp-6V2SCCRN.js.map → ssGSEA-NMCJUQXT.js.map} +0 -0
  850. /package/dist/{ssGSEA.unit.spec-A337IMC7.js.map → ssGSEA.unit.spec-3FQALTPQ.js.map} +0 -0
  851. /package/dist/{stattable-J4ZQKJFM.js.map → stattable-2RXQPWKK.js.map} +0 -0
  852. /package/dist/{summarizeCnvGeneexp-76UJXLA4.js.map → summarizeCnvGeneexp-4BQS5AFM.js.map} +0 -0
  853. /package/dist/{summarizeGeneexpSurvival-ZUEHXA2R.js.map → summarizeGeneexpSurvival-HTBZQFB5.js.map} +0 -0
  854. /package/dist/{summarizeMutationCnv-EBCBVMG6.js.map → summarizeMutationCnv-XUWZGPCM.js.map} +0 -0
  855. /package/dist/{ssGSEA-XNI5S7AC.js.map → summarizeMutationDiagnosis-QUJX42TO.js.map} +0 -0
  856. /package/dist/{summarizeMutationSurvival-QRFMJLLO.js.map → summarizeMutationSurvival-3R47TTR6.js.map} +0 -0
  857. /package/dist/{summarizeMutationDiagnosis-VLFI2ZIZ.js.map → summary-6UUB63QR.js.map} +0 -0
  858. /package/dist/{summary.integration.spec-52WP6SNY.js.map → summary.integration.spec-JJDE6SRV.js.map} +0 -0
  859. /package/dist/{summaryInput-WUJNHCGH.js.map → summaryInput-JG4AW6FW.js.map} +0 -0
  860. /package/dist/{sunburst-IJ3ZG2BC.js.map → sunburst-YKB42RZX.js.map} +0 -0
  861. /package/dist/{survival-SQRYWGWZ.js.map → survival-3IFFTDQA.js.map} +0 -0
  862. /package/dist/{survival-F2B5JKOO.js.map → survival-HOFNJENX.js.map} +0 -0
  863. /package/dist/{svgraph-HVCMF6KI.js.map → svgraph-WFEY4ZIZ.js.map} +0 -0
  864. /package/dist/{svmr-PROHTMTP.js.map → svmr-44EIX7YD.js.map} +0 -0
  865. /package/dist/{table-3E64OJNV.js.map → table-6MKVJUNC.js.map} +0 -0
  866. /package/dist/{termCollection-WKT6ESMI.js.map → termCollection-6JBVQL6Y.js.map} +0 -0
  867. /package/dist/{summary-U3YKEMZC.js.map → termCollection-TTELZVC5.js.map} +0 -0
  868. /package/dist/{termCollection.unit.spec-XMOCMVER.js.map → termCollection.unit.spec-6Z7X646L.js.map} +0 -0
  869. /package/dist/{termCollection-MUH7P6B5.js.map → termCollectionFractionSelection-5DVIJBM5.js.map} +0 -0
  870. /package/dist/{termCollectionFractionSelection.unit.spec-MG7E3EIZ.js.map → termCollectionFractionSelection.unit.spec-3HIM5BIF.js.map} +0 -0
  871. /package/dist/{termCollectionFractionSelection-P5G6WIJJ.js.map → tk-HSYWJCGQ.js.map} +0 -0
  872. /package/dist/{tk-HWUPUGOS.js.map → tk-PNOVG2XS.js.map} +0 -0
  873. /package/dist/{tp.ui-RRB5MJRD.js.map → tp.ui-COBBSUPB.js.map} +0 -0
  874. /package/dist/{tk-SBM2GN3S.js.map → tvs.dt-35AKURFI.js.map} +0 -0
  875. /package/dist/{tvs.dtcnv.categorical-7RJPQKMX.js.map → tvs.dtcnv.categorical-3EHXYROL.js.map} +0 -0
  876. /package/dist/{tvs.dtcnv.continuous-FW4ZXIYY.js.map → tvs.dtcnv.continuous-AXQ2GU6S.js.map} +0 -0
  877. /package/dist/{tvs.dtfusion-3GDWW3ML.js.map → tvs.dtfusion-PLJIMPNX.js.map} +0 -0
  878. /package/dist/{tvs.dtitd-FER4H4UO.js.map → tvs.dtitd-JS6RFBV5.js.map} +0 -0
  879. /package/dist/{tvs.dtsnvindel-ISEOJ5UA.js.map → tvs.dtsnvindel-MDEM5MPT.js.map} +0 -0
  880. /package/dist/{tvs.dtsv-JDML7EWE.js.map → tvs.dtsv-OU756YLO.js.map} +0 -0
  881. /package/dist/{tvs.samplelst-MJTM6GSV.js.map → tvs.samplelst-5NDICES4.js.map} +0 -0
  882. /package/dist/{tvs.termCollection-GMOXBJWF.js.map → tvs.termCollection-5URPDPH6.js.map} +0 -0
  883. /package/dist/{tvs.dt-I2ECKHQ2.js.map → vocabulary-CHCVMPK5.js.map} +0 -0
  884. /package/dist/{wsi.direct-IVPACPNT.js.map → wsi.direct-JSKV4H4X.js.map} +0 -0
@@ -1,2357 +0,0 @@
1
- import {
2
- spliceevent_phrase_default
3
- } from "./chunk-ZPFN3CYR.js";
4
- import {
5
- spliceevent_exonskip_getdefault_default
6
- } from "./chunk-47WVZIWV.js";
7
- import {
8
- legend_newrow
9
- } from "./chunk-IUA3PSTK.js";
10
- import "./chunk-V2OJLJSK.js";
11
- import "./chunk-J3TIXBCS.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-GQQ4R6BI.js";
23
- import "./chunk-HJ6L54YS.js";
24
- import "./chunk-XFAL46LZ.js";
25
- import "./chunk-7AYGTMED.js";
26
- import {
27
- Menu
28
- } from "./chunk-ELJX3QIQ.js";
29
- import "./chunk-7BLXK3GI.js";
30
- import "./chunk-VSSZJHOR.js";
31
- import "./chunk-5RUVBYLK.js";
32
- import {
33
- dofetch2,
34
- dofetch3
35
- } from "./chunk-HENLCRVM.js";
36
- import "./chunk-4WF3XDQP.js";
37
- import "./chunk-7UFK4GVI.js";
38
- import {
39
- IN_frame,
40
- OUT_frame,
41
- bplen,
42
- defaultcolor,
43
- spliceeventchangegmexon
44
- } from "./chunk-4QBRVM4V.js";
45
- import "./chunk-H6INPPUC.js";
46
- import "./chunk-PF4DSFDR.js";
47
- import "./chunk-IMYSFDE5.js";
48
- import "./chunk-W5J3LTYS.js";
49
- import {
50
- axisRight,
51
- category10_default
52
- } from "./chunk-4ZL6IBXM.js";
53
- import {
54
- linear,
55
- log,
56
- ordinal
57
- } from "./chunk-OZVWP4ZR.js";
58
- import "./chunk-FXQXCOII.js";
59
- import "./chunk-TLT4YIG3.js";
60
- import "./chunk-5R63Q5KH.js";
61
- import {
62
- select_default
63
- } from "./chunk-I6Y4O3RR.js";
64
- import "./chunk-Q5RDQNIT.js";
65
- import "./chunk-DQC5FFGV.js";
66
- import {
67
- __commonJS,
68
- __toESM
69
- } from "./chunk-HFNDKYVF.js";
70
-
71
- // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
72
- var require_d3_beeswarm = __commonJS({
73
- "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
74
- (function(global, factory) {
75
- typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
76
- })(exports, function(exports2) {
77
- "use strict";
78
- function beeswarm2() {
79
- var data = [];
80
- var radius = 4;
81
- var orientation = "horizontal";
82
- var side = "symetric";
83
- var distributeOn = (
84
- // accessor to the x value
85
- function(datum) {
86
- return datum.x;
87
- }
88
- );
89
- var minDistanceBetweenCircles;
90
- var minSquareDistanceBetweenCircles;
91
- var xBasedDataManager;
92
- var xBasedColliderManager;
93
- var yBasedColliderManager;
94
- var arrangement;
95
- var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
96
- function _beeswarm() {
97
- }
98
- _beeswarm.data = function(_) {
99
- if (!arguments.length) {
100
- return data;
101
- }
102
- data = _;
103
- return _beeswarm;
104
- };
105
- _beeswarm.radius = function(_) {
106
- if (!arguments.length) {
107
- return radius;
108
- }
109
- radius = _;
110
- return _beeswarm;
111
- };
112
- _beeswarm.orientation = function(_) {
113
- if (!arguments.length) {
114
- return orientation;
115
- }
116
- if (_ === "horizontal" || _ === "vertical") {
117
- orientation = _;
118
- }
119
- return _beeswarm;
120
- };
121
- _beeswarm.side = function(_) {
122
- if (!arguments.length) {
123
- return side;
124
- }
125
- if (_ === "symetric" || _ === "positive" || _ === "negative") {
126
- side = _;
127
- }
128
- return _beeswarm;
129
- };
130
- _beeswarm.distributeOn = function(_) {
131
- if (!arguments.length) {
132
- return distributeOn;
133
- }
134
- distributeOn = _;
135
- return _beeswarm;
136
- };
137
- _beeswarm.arrange = function() {
138
- initArrangement();
139
- arrangement.forEach(function(d) {
140
- var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
141
- if (xBasedPossibleColliders.length === 0) {
142
- bestYPosition = 0;
143
- } else {
144
- yBasedColliderManager.clear();
145
- yBasedColliderManager.addMany(xBasedPossibleColliders);
146
- d.free = 0;
147
- if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
148
- bestYPosition = 0;
149
- totalVisitedColliders += visitedColliderCount;
150
- if (visitedColliderCount > maxVisitedColliders) {
151
- maxVisitedColliders = visitedColliderCount;
152
- }
153
- visitedColliderCount = 0;
154
- totalTestedPlacements += 1;
155
- } else {
156
- xBasedPossibleColliders.forEach(function(xbpc) {
157
- relativeYPos = yPosRelativeToXbpc(xbpc, d);
158
- placeBelow(d, xbpc, relativeYPos);
159
- if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
160
- bestYPosition = d.free;
161
- }
162
- totalVisitedColliders += visitedColliderCount;
163
- if (visitedColliderCount > maxVisitedColliders) {
164
- maxVisitedColliders = visitedColliderCount;
165
- }
166
- visitedColliderCount = 0;
167
- totalTestedPlacements += 1;
168
- placeAbove(d, xbpc, relativeYPos);
169
- if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
170
- bestYPosition = d.free;
171
- }
172
- totalVisitedColliders += visitedColliderCount;
173
- if (visitedColliderCount > maxVisitedColliders) {
174
- maxVisitedColliders = visitedColliderCount;
175
- }
176
- visitedColliderCount = 0;
177
- totalTestedPlacements += 1;
178
- });
179
- }
180
- }
181
- ;
182
- d.free = bestYPosition;
183
- if (orientation === "horizontal") {
184
- d.x = d.fixed;
185
- d.y = bestYPosition;
186
- } else {
187
- d.x = bestYPosition;
188
- d.y = d.fixed;
189
- }
190
- xBasedColliderManager.add(d);
191
- });
192
- return arrangement;
193
- };
194
- _beeswarm.metrics = function() {
195
- return {
196
- totalPossibleColliders,
197
- maxPossibleColliders,
198
- totalTestedPlacements,
199
- visitedColliderCount,
200
- totalVisitedColliders,
201
- maxVisitedColliders
202
- };
203
- };
204
- function initArrangement() {
205
- arrangement = data.map(function(d, i) {
206
- return {
207
- datum: d,
208
- id: i,
209
- fixed: distributeOn(d),
210
- free: -Infinity
211
- };
212
- });
213
- minDistanceBetweenCircles = 2 * radius;
214
- minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
215
- xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
216
- return d.fixed;
217
- }).addMany(arrangement);
218
- xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
219
- return d.fixed;
220
- });
221
- yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
222
- return d.free;
223
- });
224
- totalPossibleColliders = maxPossibleColliders = 0;
225
- totalTestedPlacements = 0;
226
- visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
227
- }
228
- function findNearestPossibleCollider(dln, visitedDln, direction) {
229
- if (visitedDln === null) {
230
- return null;
231
- } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
232
- return null;
233
- } else {
234
- if (isFinite(visitedDln.datum.free)) {
235
- return visitedDln.datum;
236
- }
237
- return findNearestPossibleCollider(dln, visitedDln[direction], direction);
238
- }
239
- }
240
- function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
241
- if (visitedDln === null) {
242
- return;
243
- } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
244
- return;
245
- } else {
246
- xBasedPossibleColliders.push(visitedDln.datum);
247
- visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
248
- }
249
- }
250
- function gatherXBasedPossibleColliders(datum) {
251
- var xBasedPossibleColliders = [];
252
- var dln = xBasedDataManager.dln(datum);
253
- var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
254
- var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
255
- if (nearestXPrevAlreadyArrangedData != null) {
256
- dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
257
- visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
258
- }
259
- if (nearestXNextAlreadyArrangedData != null) {
260
- dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
261
- visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
262
- }
263
- totalPossibleColliders += xBasedPossibleColliders.length;
264
- if (xBasedPossibleColliders.length > maxPossibleColliders) {
265
- maxPossibleColliders = xBasedPossibleColliders.length;
266
- }
267
- return xBasedPossibleColliders;
268
- }
269
- function isAuthorizedPlacement(datum) {
270
- if (side === "symetric") {
271
- return true;
272
- } else if (side === "positive") {
273
- return datum.free >= 0;
274
- } else {
275
- return datum.free <= 0;
276
- }
277
- }
278
- function isBetterPlacement(datum, bestYPosition) {
279
- return Math.abs(datum.free) < Math.abs(bestYPosition);
280
- }
281
- function yPosRelativeToXbpc(xbpc, d) {
282
- return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
283
- }
284
- function placeBelow(d, aad, relativeYPos) {
285
- d.free = aad.free - relativeYPos;
286
- }
287
- function placeAbove(d, aad, relativeYPos) {
288
- d.free = aad.free + relativeYPos;
289
- }
290
- function areCirclesColliding(d0, d1) {
291
- visitedColliderCount++;
292
- return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
293
- }
294
- function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
295
- if (visitedDln === null) {
296
- return false;
297
- } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
298
- return false;
299
- } else if (areCirclesColliding(datum, visitedDln.datum)) {
300
- return true;
301
- } else {
302
- return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
303
- }
304
- }
305
- function collidesWithOther(datum, visitedDln) {
306
- var visitCount = 0;
307
- if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
308
- return true;
309
- } else {
310
- return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
311
- }
312
- }
313
- function SortedDirectAccessDoublyLinkedList() {
314
- this._valueAccesor = // accessor to the value to sort on
315
- function(obj) {
316
- return obj.value;
317
- };
318
- this._min = null;
319
- this._max = null;
320
- this._closestTo0 = null;
321
- this.size = 0;
322
- this._idToNode = {};
323
- }
324
- SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
325
- if (!arguments.length) {
326
- return this._valueAccesor;
327
- }
328
- this._valueAccesor = _;
329
- return this;
330
- };
331
- SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
332
- return this._closestTo0;
333
- };
334
- SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
335
- this._min = null;
336
- this._max = null;
337
- this._closestTo0 = null;
338
- this.size = 0;
339
- this._idToNode = {};
340
- return this;
341
- };
342
- SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
343
- return this._idToNode[datum.id];
344
- };
345
- SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
346
- data2.forEach(function(datum, item) {
347
- this.add(datum);
348
- }, this);
349
- return this;
350
- };
351
- SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
352
- var dln = {
353
- datum,
354
- // original datum
355
- value: this._valueAccesor(datum),
356
- prev: null,
357
- // previous value-based node
358
- next: null
359
- // next value-based node
360
- };
361
- if (this.size === 0) {
362
- this._min = this._max = this._closestTo0 = dln;
363
- } else {
364
- if (dln.value <= this._min.value) {
365
- dln.next = this._min;
366
- dln.next.prev = dln;
367
- this._min = dln;
368
- } else if (dln.value >= this._max.value) {
369
- dln.prev = this._max;
370
- dln.prev.next = dln;
371
- this._max = dln;
372
- } else {
373
- var current = this._max;
374
- while (current.value > dln.value) {
375
- current = current.prev;
376
- }
377
- dln.prev = current;
378
- dln.next = current.next;
379
- dln.next.prev = dln;
380
- dln.prev.next = dln;
381
- }
382
- if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
383
- this._closestTo0 = dln;
384
- }
385
- }
386
- this._idToNode[dln.datum.id] = dln;
387
- this.size++;
388
- return this;
389
- };
390
- SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
391
- var dln = this.dln(datum);
392
- if (this.size === 1) {
393
- this._min = this._max = this._closestTo0 = null;
394
- } else {
395
- if (dln === this._closestTo0) {
396
- if (this._closestTo0.next === null) {
397
- this._closestTo0 = dln.prev;
398
- } else if (this.closestToZero.prev === null) {
399
- this._closestTo0 = dln.prev;
400
- } else {
401
- var prevAbsValue = Math.abs(this._closestTo0.prev.value);
402
- var nextAbsValue = Math.abs(this._closestTo0.next.value);
403
- if (prevAbsValue < nextAbsValue) {
404
- this._closestTo0 = this._closestTo0.prev;
405
- } else {
406
- this._closestTo0 = this._closestTo0.next;
407
- }
408
- }
409
- }
410
- if (dln === this._min) {
411
- this._min = this._min.next;
412
- this._min.prev = null;
413
- } else if (dln === this._max) {
414
- this._max = this._max.prev;
415
- this._max.next = null;
416
- } else {
417
- dln.next.prev = dln.prev;
418
- dln.prev.next = dln.next;
419
- }
420
- }
421
- dln = null;
422
- delete this._idToNode[datum.id];
423
- this.size--;
424
- return this;
425
- };
426
- return _beeswarm;
427
- }
428
- ;
429
- exports2.beeswarm = beeswarm2;
430
- Object.defineProperty(exports2, "__esModule", { value: true });
431
- });
432
- }
433
- });
434
-
435
- // src/spliceevent.prep.js
436
- function mapjunctiontoexons(junctions, genes) {
437
- for (const j of junctions) {
438
- j.exonleft = [];
439
- j.exonright = [];
440
- j.exonleftin = [];
441
- j.exonrightin = [];
442
- j.intronleft = [];
443
- j.intronright = [];
444
- j.leftout = [];
445
- j.rightout = [];
446
- j.matchisoform = [];
447
- }
448
- const usegenes = [];
449
- for (const gene of genes) {
450
- let use = false;
451
- for (const j of junctions) {
452
- if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
453
- use = true;
454
- break;
455
- }
456
- }
457
- if (use) {
458
- usegenes.push(gene);
459
- }
460
- }
461
- if (usegenes.length == 0) {
462
- return;
463
- }
464
- const leftpos = /* @__PURE__ */ new Map();
465
- const rightpos = /* @__PURE__ */ new Map();
466
- for (const j of junctions) {
467
- if (!leftpos.has(j.start)) {
468
- leftpos.set(j.start, []);
469
- }
470
- leftpos.get(j.start).push(j);
471
- if (!rightpos.has(j.stop)) {
472
- rightpos.set(j.stop, []);
473
- }
474
- rightpos.get(j.stop).push(j);
475
- }
476
- for (const [pos, jlst] of leftpos) {
477
- for (const gm of usegenes) {
478
- if (!gm.exon) continue;
479
- for (let i = 0; i < gm.exon.length; i++) {
480
- if (gm.exon[i][1] - 1 == pos) {
481
- for (const j of jlst) {
482
- j.exonleft.push({
483
- gm,
484
- exonidx: i
485
- });
486
- }
487
- }
488
- if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
489
- for (const j of jlst) {
490
- j.exonleftin.push({
491
- gm,
492
- exonidx: i
493
- });
494
- }
495
- }
496
- }
497
- if (gm.intron) {
498
- for (let i = 0; i < gm.intron.length; i++) {
499
- if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
500
- for (const j of jlst) {
501
- j.intronleft.push({
502
- gm,
503
- intronidx: i
504
- });
505
- }
506
- }
507
- }
508
- }
509
- }
510
- }
511
- for (const [pos, jlst] of rightpos) {
512
- for (const gm of usegenes) {
513
- if (!gm.exon) continue;
514
- for (let i = 0; i < gm.exon.length; i++) {
515
- if (gm.exon[i][0] == pos) {
516
- for (const j of jlst) {
517
- j.exonright.push({
518
- gm,
519
- exonidx: i
520
- });
521
- }
522
- }
523
- if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
524
- for (const j of jlst) {
525
- j.exonrightin.push({
526
- gm,
527
- exonidx: i
528
- });
529
- }
530
- }
531
- }
532
- if (gm.intron) {
533
- for (let i = 0; i < gm.intron.length; i++) {
534
- if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
535
- for (const j of jlst) {
536
- j.intronright.push({
537
- gm,
538
- intronidx: i
539
- });
540
- }
541
- }
542
- }
543
- }
544
- }
545
- }
546
- for (const j of junctions) {
547
- {
548
- const isoforms = /* @__PURE__ */ new Set();
549
- for (const q of j.exonleft) isoforms.add(q.gm.isoform);
550
- for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
551
- for (const q of j.intronleft) isoforms.add(q.gm.isoform);
552
- if (isoforms.size) {
553
- for (const gm of usegenes) {
554
- if (!isoforms.has(gm.isoform)) continue;
555
- if (gm.stop <= j.stop) {
556
- j.rightout.push({
557
- gm
558
- });
559
- }
560
- }
561
- }
562
- }
563
- {
564
- const isoforms = /* @__PURE__ */ new Set();
565
- for (const q of j.exonright) isoforms.add(q.gm.isoform);
566
- for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
567
- for (const q of j.intronright) isoforms.add(q.gm.isoform);
568
- if (isoforms.size) {
569
- for (const gm of usegenes) {
570
- if (!isoforms.has(gm.isoform)) continue;
571
- if (gm.start > j.start) {
572
- j.leftout.push({
573
- gm
574
- });
575
- }
576
- }
577
- }
578
- }
579
- }
580
- for (const j of junctions) {
581
- if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
582
- for (const el of j.exonleft) {
583
- for (const er of j.exonright) {
584
- if (el.gm.isoform == er.gm.isoform) {
585
- j.matchisoform.push({
586
- gm: el.gm,
587
- leftexonidx: el.exonidx,
588
- rightexonidx: er.exonidx
589
- });
590
- }
591
- }
592
- }
593
- }
594
- }
595
-
596
- // src/spliceevent.exonskip.js
597
- var exonskipcolor = "#99004d";
598
- var exonaltcolor = "#004d99";
599
- function findexonskipping(multisample, junctions, gmdata) {
600
- const allevents = [];
601
- for (const j0 of junctions) {
602
- if (!j0.matchisoform || j0.matchisoform.length == 0) {
603
- continue;
604
- }
605
- for (const j0isoform of j0.matchisoform) {
606
- const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
607
- const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
608
- if (j0exonend - j0exonbegin <= 1) {
609
- continue;
610
- }
611
- const jB = j0;
612
- const thisevent = {
613
- skippedexon: [],
614
- junctionB: jB,
615
- junctionAlst: []
616
- };
617
- for (let i = j0exonbegin + 1; i < j0exonend; i++) {
618
- thisevent.skippedexon.push(i);
619
- }
620
- let gmB = null;
621
- for (const gm of gmdata) {
622
- if (!gm.intron) continue;
623
- for (const i of gm.intron) {
624
- if (i[0] - 1 == jB.start && i[1] == jB.stop) {
625
- gmB = gm;
626
- break;
627
- }
628
- }
629
- if (gmB) {
630
- break;
631
- }
632
- }
633
- if (gmB) {
634
- thisevent.isaltexon = true;
635
- thisevent.color = exonaltcolor;
636
- thisevent.gmA = j0isoform.gm;
637
- thisevent.gmB = gmB;
638
- } else {
639
- thisevent.isskipexon = true;
640
- thisevent.color = exonskipcolor;
641
- thisevent.gm = j0isoform.gm;
642
- const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
643
- if (utr3) thisevent.utr3 = true;
644
- if (utr5) thisevent.utr5 = true;
645
- if (coding) thisevent.coding = true;
646
- }
647
- {
648
- const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
649
- for (const ja of jAlst) {
650
- thisevent.junctionAlst.push(ja);
651
- }
652
- }
653
- if (thisevent.isskipexon) {
654
- findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
655
- }
656
- if (multisample) {
657
- if (!jB.data) {
658
- console.error("exonskip: jB.data missing when it is multi-sample");
659
- continue;
660
- }
661
- if (jB.data.length == 0) {
662
- console.error("exonskip: jB.data.length==0");
663
- continue;
664
- }
665
- let percentagesamplesum = 0;
666
- for (const sampleBdata of jB.data) {
667
- const bcount = sampleBdata.v;
668
- let acountsum = 0;
669
- for (const junctionA of thisevent.junctionAlst) {
670
- if (!junctionA) {
671
- continue;
672
- }
673
- if (!junctionA.data) {
674
- console.log("exonskip: jA.data missing when multi-sample");
675
- continue;
676
- }
677
- for (const sampleAdata of junctionA.data) {
678
- if (sampleAdata.tkid == sampleBdata.tkid) {
679
- acountsum += sampleAdata.v;
680
- break;
681
- }
682
- }
683
- }
684
- percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
685
- }
686
- thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
687
- } else {
688
- let asum = 0;
689
- for (const _j of thisevent.junctionAlst) {
690
- asum += _j ? _j.data[0].v : 0;
691
- }
692
- thisevent.percentage = Math.ceil(
693
- 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
694
- );
695
- }
696
- allevents.push(thisevent);
697
- }
698
- }
699
- const exoncoords = /* @__PURE__ */ new Map();
700
- for (const evt of allevents) {
701
- const positionlst = [];
702
- for (const eid of evt.skippedexon) {
703
- let thisexon;
704
- if (evt.isskipexon) {
705
- thisexon = evt.gm.exon[eid];
706
- } else {
707
- thisexon = evt.gmA.exon[eid];
708
- }
709
- positionlst.push(thisexon[0]);
710
- positionlst.push(thisexon[1]);
711
- }
712
- if (positionlst.length == 0) {
713
- console.error("not possible: no skipped exon position for exon-skip");
714
- console.log(evt);
715
- continue;
716
- }
717
- positionlst.sort();
718
- const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
719
- if (!exoncoords.has(posstr)) {
720
- exoncoords.set(posstr, []);
721
- }
722
- exoncoords.get(posstr).push(evt);
723
- }
724
- const eventsetlst = [];
725
- for (const eventlst of exoncoords.values()) {
726
- const thisset = {
727
- eventlst,
728
- exonlst: []
729
- // each exon: {start:, stop:}
730
- };
731
- eventsetlst.push(thisset);
732
- const firstevent = eventlst[0];
733
- for (const eid of firstevent.skippedexon) {
734
- const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
735
- const thisexon = gm.exon[eid];
736
- thisset.exonlst.push({
737
- chr: gm.chr,
738
- start: thisexon[0],
739
- stop: thisexon[1]
740
- });
741
- }
742
- let eventcount_skip = 0, eventcount_alt = 0;
743
- for (const evt of eventlst) {
744
- if (evt.isskipexon) {
745
- eventcount_skip++;
746
- } else {
747
- eventcount_alt++;
748
- }
749
- }
750
- thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
751
- const exonnumberset = /* @__PURE__ */ new Set();
752
- for (const evt of eventlst) {
753
- const thisexonnumbers = [];
754
- for (const eid of evt.skippedexon) {
755
- thisexonnumbers.push(eid + 1);
756
- }
757
- exonnumberset.add(thisexonnumbers.join(","));
758
- }
759
- if (exonnumberset.size == 1) {
760
- thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
761
- } else {
762
- thisset.toplabelsays = "exon ";
763
- }
764
- thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
765
- if (multisample) {
766
- let samplecount = 0;
767
- for (const evt of eventlst) {
768
- samplecount = Math.max(samplecount, evt.junctionB.data.length);
769
- }
770
- thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
771
- }
772
- thisset.bottomlabelsays = firstevent.percentage + "%";
773
- }
774
- return eventsetlst;
775
- }
776
- function findjunctionbystartstop(lst, p1, p2) {
777
- const start = Math.min(p1, p2);
778
- const stop = Math.max(p1, p2);
779
- for (const j of lst) {
780
- if (j.start == start && j.stop == stop) return j;
781
- }
782
- return null;
783
- }
784
- function findjunctionAlst(junctions, gm, exonbegin, exonend) {
785
- const lst = [];
786
- const exonstart = Math.min(exonbegin, exonend);
787
- const exonstop = Math.max(exonbegin, exonend);
788
- if (gm.strand == "+") {
789
- for (let i = exonstart; i < exonstop; i++) {
790
- const p1 = gm.exon[i][1] - 1;
791
- const p2 = gm.exon[i + 1][0];
792
- lst.push(findjunctionbystartstop(junctions, p1, p2));
793
- }
794
- } else {
795
- for (let i = exonstop; i > exonstart; i--) {
796
- const p1 = gm.exon[i][1] - 1;
797
- const p2 = gm.exon[i - 1][0];
798
- lst.unshift(findjunctionbystartstop(junctions, p1, p2));
799
- }
800
- }
801
- return lst;
802
- }
803
- function findupdown1junction4exonskip(evt, gm, junctions) {
804
- let exonidx = evt.skippedexon[0];
805
- if (exonidx > 1) {
806
- let p1, p2;
807
- if (gm.strand == "+") {
808
- p1 = gm.exon[exonidx - 2][1] - 1;
809
- p2 = gm.exon[exonidx - 1][0];
810
- } else {
811
- p1 = gm.exon[exonidx - 1][1] - 1;
812
- p2 = gm.exon[exonidx - 2][0];
813
- }
814
- evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
815
- }
816
- exonidx = evt.skippedexon[evt.skippedexon.length - 1];
817
- if (exonidx < gm.exon.length - 2) {
818
- let p1, p2;
819
- if (gm.strand == "+") {
820
- p1 = gm.exon[exonidx + 1][1] - 1;
821
- p2 = gm.exon[exonidx + 2][0];
822
- } else {
823
- p1 = gm.exon[exonidx + 2][1] - 1;
824
- p2 = gm.exon[exonidx + 1][0];
825
- }
826
- evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
827
- }
828
- }
829
- function checkexoncodingutr(exonidlst, gm) {
830
- if (!gm.coding) {
831
- return [false, false, false];
832
- }
833
- let exonstart = gm.exon[exonidlst[0]][0];
834
- let exonstop = gm.exon[exonidlst[0]][1];
835
- for (const idx of exonidlst) {
836
- exonstart = Math.min(gm.exon[idx][0], exonstart);
837
- exonstop = Math.max(gm.exon[idx][1], exonstop);
838
- }
839
- const forward = gm.strand == "+";
840
- let utr3 = false, utr5 = false, coding = false;
841
- if (exonstop <= gm.codingstart) {
842
- if (forward) {
843
- utr5 = true;
844
- } else {
845
- utr3 = true;
846
- }
847
- } else if (exonstart >= gm.codingstop) {
848
- if (forward) {
849
- utr3 = true;
850
- } else {
851
- utr5 = true;
852
- }
853
- } else {
854
- coding = true;
855
- }
856
- return [utr3, utr5, coding];
857
- }
858
-
859
- // src/block.tk.junction.spliceevent.js
860
- function spliceeventanalyze(tk, block) {
861
- if (tk.eventsg) {
862
- tk.eventsg.selectAll("*").remove();
863
- }
864
- if (tk.type != tkt.junction) {
865
- return;
866
- }
867
- if (!tk.data) {
868
- return;
869
- }
870
- if (tk.data.length == 0) {
871
- return;
872
- }
873
- const [gmdataerr, gmdata] = getgmdata(block);
874
- if (gmdataerr) {
875
- const fontsize = 12;
876
- const pad = 2;
877
- tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
878
- 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");
879
- tk.height_main += pad * 2 + fontsize;
880
- block.block_setheight();
881
- return;
882
- }
883
- if (!gmdata) {
884
- return;
885
- }
886
- for (const junction of tk.data) {
887
- delete junction.spliceevents;
888
- }
889
- mapjunctiontoexons(tk.data, gmdata);
890
- const allevents = [];
891
- const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
892
- if (exonskipalt.length > 0) {
893
- for (const exonset of exonskipalt) {
894
- if (exonlstoutofrange(exonset.exonlst, block)) {
895
- continue;
896
- }
897
- allevents.push(exonset);
898
- for (const thisevt of exonset.eventlst) {
899
- if (!thisevt.junctionB.spliceevents) {
900
- thisevt.junctionB.spliceevents = [];
901
- }
902
- thisevt.junctionB.spliceevents.push(thisevt);
903
- }
904
- }
905
- }
906
- if (allevents.length) {
907
- rendereventsintrack(allevents, tk, block);
908
- }
909
- }
910
- function rendereventsintrack(allevents, tk, block) {
911
- const labelfontsize = 10;
912
- const stackspace = 1;
913
- const boxlabelspacing = 2;
914
- let stackheight;
915
- if (tk.totalsamplecount > 1) {
916
- stackheight = labelfontsize * 3 + stackspace * 2;
917
- } else {
918
- stackheight = labelfontsize * 2 + stackspace;
919
- }
920
- for (const eventset of allevents) {
921
- eventset.g = tk.eventsg.append("g");
922
- const junctionB = eventset.eventlst[0].junctionB;
923
- const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
924
- 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");
925
- if (tk.totalsamplecount > 1) {
926
- 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");
927
- }
928
- let willshowframe = false;
929
- let thiseventframe = null;
930
- for (const evt of eventset.eventlst) {
931
- if (evt.isaltexon) {
932
- evt.framenocheck = true;
933
- continue;
934
- }
935
- if (evt.isskipexon) {
936
- if (!evt.gm.coding) {
937
- evt.framenocheck = true;
938
- continue;
939
- }
940
- if (evt.utr3 || evt.utr5) {
941
- evt.framenocheck = true;
942
- continue;
943
- }
944
- }
945
- willshowframe = true;
946
- if (block.genome.junctionframecache.has(jbstr)) {
947
- let isoform;
948
- if (evt.isskipexon) {
949
- isoform = evt.gm.isoform;
950
- }
951
- const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
952
- if (thisframe == void 0) {
953
- } else {
954
- evt.frame = thisframe;
955
- if (thiseventframe == null) {
956
- thiseventframe = thisframe;
957
- } else {
958
- if (thisframe == IN_frame) {
959
- thiseventframe = IN_frame;
960
- }
961
- }
962
- }
963
- } else {
964
- }
965
- }
966
- eventset.bottomlabel = eventset.g.append("text").text(
967
- eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
968
- ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
969
- if (willshowframe && thiseventframe == null) {
970
- for (const evt of eventset.eventlst) {
971
- let gm;
972
- if (evt.isaltexon) {
973
- gm = evt.gmB;
974
- } else if (evt.isskipexon) {
975
- gm = evt.gm;
976
- }
977
- if (!block.genome.junctionframecache.has(jbstr)) {
978
- checkjunctionframe({
979
- jbstr,
980
- evt,
981
- gm,
982
- block,
983
- eventset
984
- });
985
- continue;
986
- }
987
- if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
988
- checkjunctionframe({
989
- jbstr,
990
- evt,
991
- gm,
992
- block,
993
- eventset
994
- });
995
- }
996
- }
997
- }
998
- const exonobjlst = [];
999
- let boxstart = null, boxstop;
1000
- for (const exon of eventset.exonlst) {
1001
- const pointa = block.seekcoord(exon.chr, exon.start)[0];
1002
- if (!pointa) {
1003
- console.log("skipped exon start position not mapped: " + exon.start);
1004
- return;
1005
- }
1006
- const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1007
- if (!pointb) {
1008
- console.log("skipped exon stop position not mapped: " + exon.stop);
1009
- return;
1010
- }
1011
- const exonobj = {
1012
- x: Math.min(pointa.x, pointb.x),
1013
- w: Math.max(1, Math.abs(pointa.x - pointb.x))
1014
- };
1015
- exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1016
- console.log(eventset);
1017
- });
1018
- if (boxstart == null) {
1019
- boxstart = exonobj.x;
1020
- boxstop = exonobj.x + exonobj.w;
1021
- } else {
1022
- boxstart = Math.min(boxstart, exonobj.x);
1023
- boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1024
- }
1025
- exonobjlst.push(exonobj);
1026
- }
1027
- for (const exon of exonobjlst) {
1028
- exon.rect.attr("x", exon.x - boxstart);
1029
- }
1030
- eventset.boxstart = boxstart;
1031
- eventset.boxwidth = boxstop - boxstart;
1032
- if (eventset.exonlst.length > 1) {
1033
- 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);
1034
- }
1035
- eventset.toplabel.each(function() {
1036
- eventset.labelwidth = this.getBBox().width;
1037
- });
1038
- if (eventset.middlelabel) {
1039
- eventset.middlelabel.each(function() {
1040
- eventset.labelwidth = this.getBBox().width;
1041
- });
1042
- }
1043
- eventset.bottomlabel.each(function() {
1044
- eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1045
- });
1046
- if (eventset.labelwidth > eventset.boxstart) {
1047
- eventset.labelonright = true;
1048
- eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1049
- eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1050
- if (eventset.middlelabel) {
1051
- eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1052
- }
1053
- } else {
1054
- eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1055
- eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1056
- if (eventset.middlelabel) {
1057
- eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1058
- }
1059
- }
1060
- 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", () => {
1061
- eventset.cover.attr("fill-opacity", 0.1);
1062
- }).on("mouseout", () => {
1063
- eventset.cover.attr("fill-opacity", 0);
1064
- }).on("click", () => {
1065
- tk.tktip.clear();
1066
- displayspliceevents(eventset.eventlst, tk.tktip.d);
1067
- tk.tktip.showunder(eventset.cover.node());
1068
- });
1069
- }
1070
- const stacks = [0];
1071
- for (const eventset of allevents) {
1072
- let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1073
- let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1074
- for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1075
- if (x1 > stacks[stackidx]) {
1076
- eventset.stackidx = stackidx;
1077
- stacks[stackidx] = x2;
1078
- break;
1079
- }
1080
- if (!eventset.labelonright) {
1081
- const newx1 = eventset.boxstart;
1082
- const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1083
- if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1084
- eventset.labelonright = true;
1085
- eventset.stackidx = stackidx;
1086
- stacks[stackidx] = newx2;
1087
- eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1088
- eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1089
- if (eventset.middlelabel) {
1090
- eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1091
- }
1092
- eventset.cover.attr("x", 0);
1093
- break;
1094
- }
1095
- }
1096
- }
1097
- if (eventset.stackidx == void 0) {
1098
- eventset.stackidx = stacks.length;
1099
- stacks.push(x2);
1100
- }
1101
- eventset.g.attr(
1102
- "transform",
1103
- "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1104
- );
1105
- }
1106
- tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1107
- block.block_setheight();
1108
- }
1109
- function checkjunctionframe(arg) {
1110
- if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1111
- arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1112
- }
1113
- if (!arg.gm.coding) {
1114
- arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1115
- mayupdateeventsetlabel(arg);
1116
- return;
1117
- }
1118
- const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1119
- dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1120
- if (!data) {
1121
- console.log("server error");
1122
- return;
1123
- }
1124
- if (data.error) {
1125
- console.log(data.error);
1126
- return;
1127
- }
1128
- if (typeof data.frame != "boolean") {
1129
- console.log("invalid result from translategm: " + data.frame);
1130
- return;
1131
- }
1132
- arg.evt.frame = data.frame;
1133
- arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1134
- mayupdateeventsetlabel(arg);
1135
- });
1136
- }
1137
- function mayupdateeventsetlabel(arg) {
1138
- if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1139
- return;
1140
- }
1141
- let frame = OUT_frame;
1142
- for (const evt of arg.eventset.eventlst) {
1143
- if (evt.framenocheck) {
1144
- continue;
1145
- }
1146
- let isoform;
1147
- if (evt.isskipexon) {
1148
- isoform = evt.gm.isoform;
1149
- }
1150
- const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1151
- if (thisframe == void 0) {
1152
- return;
1153
- }
1154
- if (thisframe == IN_frame) {
1155
- frame = IN_frame;
1156
- }
1157
- }
1158
- arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1159
- }
1160
- function displayspliceevents(events, holder) {
1161
- const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1162
- if (events.length > 1) {
1163
- holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1164
- const name = Math.random().toString();
1165
- for (const [idx, evt] of events.entries()) {
1166
- const id = name + idx;
1167
- const row = holder.append("div").style("margin-top", "3px");
1168
- row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1169
- displayspliceevents_show(events, idx, showdiv);
1170
- });
1171
- row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1172
- }
1173
- }
1174
- const showdiv = holder.append("div");
1175
- displayspliceevents_show(events, evt2showidx, showdiv);
1176
- }
1177
- function displayspliceevents_show(events, idx, div) {
1178
- div.selectAll("*").remove();
1179
- import("./spliceevent.exonskip.diagram-CQZ2DFQ5.js").then((p) => {
1180
- p.default({
1181
- event: events[idx],
1182
- holder: div,
1183
- nophrase: events.length > 1
1184
- });
1185
- });
1186
- }
1187
- function exonlstoutofrange(lst, block) {
1188
- const chr = lst[0].chr;
1189
- let start = lst[0].start;
1190
- let stop = lst[0].stop;
1191
- for (const e of lst) {
1192
- start = Math.min(start, e.start);
1193
- stop = Math.max(stop, e.stop);
1194
- }
1195
- const starthit = block.seekcoord(chr, start)[0];
1196
- const stophit = block.seekcoord(chr, stop)[0];
1197
- if (!starthit || !stophit) {
1198
- return true;
1199
- }
1200
- let startoutleft = false;
1201
- let startoutright = false;
1202
- if (starthit.x <= 0) {
1203
- startoutleft = true;
1204
- } else if (starthit.x >= block.width) {
1205
- startoutright = true;
1206
- }
1207
- let stopoutleft = false;
1208
- let stopoutright = false;
1209
- if (stophit.x <= 0) {
1210
- stopoutleft = true;
1211
- } else if (stophit.x >= block.width) {
1212
- stopoutright = true;
1213
- }
1214
- if (startoutleft && stopoutleft) return true;
1215
- if (startoutright && stopoutright) return true;
1216
- return false;
1217
- }
1218
- function getgmdata(block) {
1219
- if (!block.gmmode || block.gmmode == gmmode.genomic) {
1220
- const genetk = [];
1221
- for (const t of block.tklst) {
1222
- if (t.__isgene) {
1223
- genetk.push(t);
1224
- }
1225
- }
1226
- if (genetk.length == 0) {
1227
- return ["Add a gene track to analyze splice junctions."];
1228
- }
1229
- const gmdatalst = [];
1230
- for (const t of genetk) {
1231
- if (t.gmdata) {
1232
- for (const m of t.gmdata) {
1233
- gmdatalst.push(m);
1234
- }
1235
- }
1236
- }
1237
- if (gmdatalst.length == 0) {
1238
- return [null];
1239
- }
1240
- const regions = [];
1241
- for (const m of gmdatalst) {
1242
- let overlap = false;
1243
- for (const r of regions) {
1244
- if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1245
- overlap = true;
1246
- r.start = Math.min(r.start, m.start);
1247
- r.stop = Math.max(r.stop, m.stop);
1248
- break;
1249
- }
1250
- }
1251
- if (!overlap) {
1252
- regions.push({ start: m.start, stop: m.stop });
1253
- }
1254
- }
1255
- if (regions.length >= 3) {
1256
- return ["Zoom in on a single gene to analyze splice junctions."];
1257
- }
1258
- return [null, gmdatalst];
1259
- }
1260
- if (block.gmmode == gmmode.gmsum) {
1261
- if (!block.allgm) {
1262
- return ["Error: block.allgm[] is missing"];
1263
- }
1264
- return [null, block.allgm];
1265
- }
1266
- if (!block.usegm) {
1267
- return ["Error: block.usegm is missing"];
1268
- }
1269
- return [null, [block.usegm]];
1270
- }
1271
-
1272
- // src/block.tk.junction.renderjunctions.js
1273
- var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1274
- var colorfunc = ordinal(category10_default);
1275
- var minfontsize = 12;
1276
- function rendertk(junctions, tk, block) {
1277
- if (tk.data) {
1278
- const map = /* @__PURE__ */ new Map();
1279
- for (const j of tk.data) {
1280
- map.set(j.chr + "." + j.start + "." + j.stop, j);
1281
- }
1282
- const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1283
- for (const i of junctions) {
1284
- const j = map.get(i.chr + "." + i.start + "." + i.stop);
1285
- if (j) {
1286
- i.x = j.x + pannedpx;
1287
- i.mode = j.mode;
1288
- i.modefix = j.modefix;
1289
- if (i.mode == modesample) {
1290
- i.mode = moderaise;
1291
- }
1292
- }
1293
- }
1294
- }
1295
- tk.data = junctions;
1296
- tk.glider.selectAll("*").remove();
1297
- tk.leftaxis.selectAll("*").remove();
1298
- if (tk.readcountcutoff) {
1299
- const newj = [];
1300
- for (const j of tk.data) {
1301
- if (j.data) {
1302
- const newsamples = [];
1303
- for (const s of j.data) {
1304
- if (s.v >= tk.readcountcutoff) {
1305
- newsamples.push(s);
1306
- }
1307
- }
1308
- if (newsamples.length == 0) {
1309
- continue;
1310
- }
1311
- j.data = newsamples;
1312
- newj.push(j);
1313
- } else {
1314
- if (j.v >= tk.readcountcutoff) {
1315
- newj.push(j);
1316
- }
1317
- }
1318
- }
1319
- tk.data = newj;
1320
- }
1321
- if (tk.data.length == 0) {
1322
- tk.height_main = 50;
1323
- block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1324
- tk.label_mcount.text("");
1325
- if (tk.label_samplecount) {
1326
- tk.label_samplecount.text("");
1327
- }
1328
- get_leftLabelMaxwidth(tk);
1329
- block.setllabel();
1330
- block.block_setheight();
1331
- return;
1332
- }
1333
- tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1334
- get_leftLabelMaxwidth(tk);
1335
- block.setllabel();
1336
- junctiontype2color(tk, block);
1337
- const mg = tk.glider.append("g");
1338
- tk.data.sort((a, b) => {
1339
- return a._x - b._x;
1340
- });
1341
- let maxsamplecount = 0;
1342
- if (tk.totalsamplecount > 1) {
1343
- maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1344
- const radius = 5;
1345
- let mrd = 0;
1346
- const w = Math.pow(radius, 2) * Math.PI;
1347
- if (maxsamplecount <= 10) {
1348
- mrd = w * maxsamplecount * 0.9;
1349
- } else if (maxsamplecount <= 100) {
1350
- mrd = w * 10;
1351
- } else if (maxsamplecount <= 1e3) {
1352
- mrd = w * 14;
1353
- } else {
1354
- mrd = w * 20;
1355
- }
1356
- const sf_discradius = linear().domain([
1357
- 1,
1358
- maxsamplecount * 0.5 + 0.1,
1359
- maxsamplecount * 0.6 + 0.1,
1360
- maxsamplecount * 0.7 + 0.1,
1361
- maxsamplecount * 0.8 + 0.1,
1362
- maxsamplecount
1363
- ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1364
- let maxradius = 0;
1365
- for (const j of tk.data) {
1366
- j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1367
- if (j.data.length > 1) {
1368
- mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1369
- const b = this.getBBox();
1370
- const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1371
- j.radius = Math.max(j.radius, newrad);
1372
- }).remove();
1373
- }
1374
- j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1375
- j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1376
- maxradius = Math.max(maxradius, j.radius2);
1377
- }
1378
- tk.maxradius = maxradius;
1379
- } else {
1380
- maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1381
- const radius = 5;
1382
- let mrd = 0;
1383
- const w = Math.pow(radius, 2) * Math.PI;
1384
- if (maxsamplecount <= 10) {
1385
- mrd = w * maxsamplecount * 0.9;
1386
- } else if (maxsamplecount <= 100) {
1387
- mrd = w * 5;
1388
- } else if (maxsamplecount <= 1e3) {
1389
- mrd = w * 7;
1390
- } else {
1391
- mrd = w * 10;
1392
- }
1393
- const sf_discradius = linear().domain([
1394
- 1,
1395
- maxsamplecount * 0.5 + 0.1,
1396
- maxsamplecount * 0.6 + 0.1,
1397
- maxsamplecount * 0.7 + 0.1,
1398
- maxsamplecount * 0.8 + 0.1,
1399
- maxsamplecount
1400
- ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1401
- let maxradius = 0;
1402
- for (const j of tk.data) {
1403
- j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1404
- j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1405
- j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1406
- maxradius = Math.max(maxradius, j.radius2);
1407
- }
1408
- tk.maxradius = maxradius;
1409
- }
1410
- let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1411
- for (const j of tk.data) {
1412
- for (const s of j.data) {
1413
- maxread = Math.max(s.v, maxread);
1414
- }
1415
- if (j.data.length == 1) {
1416
- j.median = j.data[0].v;
1417
- } else {
1418
- const readlst = j.data.map((s) => s.v);
1419
- readlst.sort((a, b) => a - b);
1420
- j.median = readlst[Math.floor(j.data.length / 2)];
1421
- }
1422
- if (j.median > maxmedian) {
1423
- maxmedian = j.median;
1424
- maxmedianradius = j.radius;
1425
- }
1426
- }
1427
- tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1428
- axisstyle({
1429
- axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1430
- color: "black",
1431
- showline: true
1432
- });
1433
- tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1434
- tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1435
- automode(tk, null, block.width);
1436
- mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1437
- {
1438
- const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1439
- 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");
1440
- 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");
1441
- let v = 10;
1442
- while (v <= maxread) {
1443
- 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");
1444
- v *= 10;
1445
- }
1446
- }
1447
- const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1448
- j.jugg = this;
1449
- });
1450
- tk.jug = jug;
1451
- if (tk.hljunctions) {
1452
- jug.attr("class", (d) => {
1453
- for (const j of tk.hljunctions) {
1454
- if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1455
- return "sja_pulse";
1456
- }
1457
- }
1458
- return null;
1459
- });
1460
- }
1461
- 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) {
1462
- d.leg1 = this;
1463
- }).classed("sja_jug_leg1", true);
1464
- 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) {
1465
- d.leg2 = this;
1466
- });
1467
- const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1468
- 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) {
1469
- d.stem = this;
1470
- });
1471
- jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1472
- 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");
1473
- 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) => {
1474
- jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1475
- jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1476
- jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1477
- select_default(d.leg1).attr("stroke-opacity", 1);
1478
- select_default(d.leg2).attr("stroke-opacity", 1);
1479
- select_default(d.stem).attr("stroke-opacity", 1);
1480
- if (d.mode == modefold) {
1481
- foldedjunctioninfo(d, tk);
1482
- return;
1483
- }
1484
- const circle = event.target.getBoundingClientRect();
1485
- expandedjunctioninfo(d, tk, circle);
1486
- }).on("mouseout", () => {
1487
- tk.pica.g.selectAll("*").remove();
1488
- tk.tktip.hide();
1489
- jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1490
- jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1491
- jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1492
- }).on("mousedown", (event) => {
1493
- event.stopPropagation();
1494
- }).on("click", (event, d) => {
1495
- if (d.mode == modefold) {
1496
- d.mode = moderaise;
1497
- } else if (d.mode == moderaise) {
1498
- if (d.data.length == 1) {
1499
- d.mode = modefold;
1500
- } else {
1501
- d.mode = modesample;
1502
- junctionsamplespread(d, tk, block);
1503
- }
1504
- } else {
1505
- d.mode = modefold;
1506
- }
1507
- d.modefix = true;
1508
- horiplace(tk.data, block.width, tk);
1509
- });
1510
- horiplace(tk.data, block.width, tk);
1511
- function set_lineopacity(d) {
1512
- return 0.5;
1513
- }
1514
- block.onloadalltk.push(() => {
1515
- spliceeventanalyze(tk, block);
1516
- });
1517
- block.tkcloakoff(tk, {});
1518
- block.block_setheight();
1519
- }
1520
- function horiplace(lst, width, tk) {
1521
- const todo = [];
1522
- for (const i of lst) {
1523
- if (i.x0 < 0) {
1524
- i.tox = i.x1 - i.radius2 * 2;
1525
- } else if (i.x1 > width) {
1526
- i.tox = i.x0 + i.radius2 * 2;
1527
- } else {
1528
- i.tox = i._x;
1529
- }
1530
- if (i.mode == modefold) {
1531
- i.x = i.tox;
1532
- } else {
1533
- todo.push(i);
1534
- }
1535
- }
1536
- for (const i of lst) {
1537
- i.x = i.tox;
1538
- }
1539
- set_all(tk);
1540
- return;
1541
- }
1542
- function automode(tk, usemode, blockwidth) {
1543
- for (const i of tk.data) {
1544
- if (!i.mode) i.mode = moderaise;
1545
- }
1546
- return;
1547
- const samplecountlst = [];
1548
- for (let i = 0; i < tk.data.length; i++) {
1549
- samplecountlst.push({
1550
- idx: i,
1551
- count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1552
- });
1553
- }
1554
- samplecountlst.sort((a, b) => b.count - a.count);
1555
- let cumx = 0;
1556
- for (const cc of samplecountlst) {
1557
- const d = tk.data[cc.idx];
1558
- if (!d.mode) {
1559
- cumx += d.radius2 * 2;
1560
- d.mode = cumx >= blockwidth ? modefold : moderaise;
1561
- } else {
1562
- if (d.modefix) {
1563
- if (d.mode != modefold) {
1564
- cumx += d.radius2 * 2;
1565
- }
1566
- } else {
1567
- if (usemode) {
1568
- d.mode = usemode;
1569
- if (d.mode != modefold) {
1570
- cumx += d.radius2 * 2;
1571
- }
1572
- } else {
1573
- cumx += d.radius2 * 2;
1574
- d.mode = cumx >= blockwidth ? modefold : moderaise;
1575
- }
1576
- }
1577
- }
1578
- }
1579
- }
1580
- function set_jug(d) {
1581
- return "translate(" + d.x + ",0)";
1582
- }
1583
- function set_leg_x1(d) {
1584
- return d.x0 - d.x;
1585
- }
1586
- function set_leg_x2(d) {
1587
- return d.x1 - d.x;
1588
- }
1589
- function set_discnum(d) {
1590
- return d.mode == modefold ? 0 : 1;
1591
- }
1592
- function set_stem_y1(d) {
1593
- if (d.mode == modefold) return d.radius;
1594
- return d.radius2;
1595
- }
1596
- function set_qmg(d, tk) {
1597
- if (d.mode == modesample)
1598
- return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1599
- return "translate(0,0) scale(0)";
1600
- }
1601
- function set_leg_y(d, tk) {
1602
- if (d.mode == modefold) return -tk.legheight;
1603
- return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1604
- }
1605
- function set_jug2(d, tk) {
1606
- if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1607
- if (d.mode == moderaise)
1608
- return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1609
- return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1610
- }
1611
- function set_stem_y2(d, tk) {
1612
- if (d.mode == modefold) return d.radius + tk.lowpad;
1613
- if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1614
- return tk.maxradius + tk.padheight;
1615
- }
1616
- function set_all(tk) {
1617
- const dur = 500;
1618
- if (tk.totalsamplecount > 1) {
1619
- tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1620
- tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1621
- }
1622
- tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1623
- tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1624
- tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1625
- tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1626
- tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1627
- }
1628
- function junctiontype2color(tk, block) {
1629
- for (const j of tk.data) {
1630
- j.color = defaultcolor;
1631
- }
1632
- if (tk.nocatepreconfig) {
1633
- let categories = {};
1634
- if (tk.categories) {
1635
- categories = tk.categories;
1636
- }
1637
- let hasnewtype = false;
1638
- for (const j of tk.data) {
1639
- if (j.type) {
1640
- if (!categories[j.type]) {
1641
- hasnewtype = true;
1642
- categories[j.type] = {
1643
- label: j.type
1644
- };
1645
- if (j.type.toLowerCase() == "known") {
1646
- categories[j.type].color = "#0C72A8";
1647
- } else if (j.type.toLowerCase() == "novel") {
1648
- categories[j.type].color = "#A80C33";
1649
- } else {
1650
- categories[j.type].color = colorfunc(j.type);
1651
- }
1652
- }
1653
- }
1654
- }
1655
- if (hasnewtype) {
1656
- tk.categories = categories;
1657
- if (!tk.tr_legend) {
1658
- const [tr, td] = legend_newrow(block, tk.name);
1659
- tk.tr_legend = tr;
1660
- tk.td_legend = td;
1661
- tr.style("display", "none");
1662
- appear(tr, "table-row");
1663
- }
1664
- category2legend(tk.categories, tk.td_legend);
1665
- }
1666
- }
1667
- if (tk.categories) {
1668
- for (const j of tk.data) {
1669
- if (j.type && tk.categories[j.type]) {
1670
- j.color = tk.categories[j.type].color;
1671
- }
1672
- }
1673
- }
1674
- }
1675
- function foldedjunctioninfo(d, tk) {
1676
- const fontsize = 15;
1677
- let pad = 5, y = pad, width = 0;
1678
- const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1679
- if (d.type) {
1680
- 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() {
1681
- width = this.getBBox().width;
1682
- });
1683
- y += fontsize;
1684
- }
1685
- if (d.data) {
1686
- 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() {
1687
- width = Math.max(width, this.getBBox().width);
1688
- });
1689
- y += fontsize;
1690
- 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() {
1691
- width = Math.max(width, this.getBBox().width);
1692
- });
1693
- y += fontsize;
1694
- } else {
1695
- 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() {
1696
- width = Math.max(width, this.getBBox().width);
1697
- });
1698
- y += fontsize;
1699
- }
1700
- y += pad;
1701
- bg.attr("width", pad * 2 + width).attr("height", y);
1702
- 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);
1703
- y += 15;
1704
- tk.pica.g.attr(
1705
- "transform",
1706
- "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1707
- );
1708
- }
1709
- function expandedjunctioninfo(d, tk, circle) {
1710
- tk.tktip.clear();
1711
- const holder = tk.tktip.d;
1712
- if (d.type) {
1713
- 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");
1714
- }
1715
- holder.append("div").html(
1716
- bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1717
- );
1718
- if (d.data) {
1719
- if (d.data.length > 1) {
1720
- holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1721
- if (d.rimcount) {
1722
- holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1723
- }
1724
- holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1725
- } else if (d.data.length == 1) {
1726
- samplejunctiontooltip(d, d.data[0], tk, holder);
1727
- }
1728
- } else {
1729
- holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1730
- }
1731
- if (d.spliceevents && d.spliceevents.length > 0) {
1732
- const renderdiv = holder.append("div").style("margin", "10px 0px");
1733
- displayspliceevents(d.spliceevents, renderdiv);
1734
- }
1735
- tk.tktip.show(circle.left + circle.width, circle.top - 50);
1736
- }
1737
- function junctionsamplespread(j, tk, block) {
1738
- if (j.qmg) {
1739
- j.qmg.remove();
1740
- }
1741
- if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1742
- for (const d of j.data) {
1743
- if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1744
- d.color = "gray";
1745
- continue;
1746
- }
1747
- const levelkeys = [];
1748
- for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1749
- const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1750
- if (levelvalue) {
1751
- levelkeys.push(levelvalue);
1752
- }
1753
- }
1754
- const str = levelkeys.join(tk.cohortsetting.levelseparator);
1755
- d.color = tk.cohortsetting.colorfunc(str);
1756
- }
1757
- }
1758
- 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();
1759
- const jugg = select_default(j.jugg);
1760
- j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1761
- const opacity = 0.8;
1762
- j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1763
- return bee.datum.color || "green";
1764
- }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1765
- select_default(event.target).attr("fill-opacity", 1);
1766
- const p = event.target.getBoundingClientRect();
1767
- tk.tktip.clear();
1768
- tk.tktip.show(p.left + 20, p.top - 40);
1769
- samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1770
- }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1771
- if (tk.tracks) {
1772
- return;
1773
- }
1774
- }).transition().attr("cx", (bee) => bee.x);
1775
- }
1776
- function samplejunctiontooltip(j, sample, tk, holder) {
1777
- if (sample.sample) {
1778
- holder.append("div").html(sample.sample);
1779
- } else if (sample.name) {
1780
- holder.append("div").html(sample.name);
1781
- } else if (sample.patient || sample.sampletype) {
1782
- if (sample.patient) {
1783
- holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1784
- }
1785
- if (sample.sampletype) {
1786
- holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1787
- }
1788
- } else if (sample.tkid) {
1789
- for (const t of tk.tracks) {
1790
- if (t.tkid == sample.tkid) {
1791
- holder.append("div").text(t.name || "unnamed member");
1792
- break;
1793
- }
1794
- }
1795
- }
1796
- if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1797
- for (const lev of tk.cohortsetting.cohort.levels) {
1798
- if (sample[lev.k]) {
1799
- holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1800
- }
1801
- }
1802
- }
1803
- holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1804
- if (sample.metadata) {
1805
- holder.append("div").html(
1806
- '<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>"
1807
- );
1808
- }
1809
- if (sample.hasrim) {
1810
- holder.append("div").text(tk.rimwhat);
1811
- }
1812
- if (j.spliceevents) {
1813
- const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1814
- const evt = j.spliceevents[evtidx];
1815
- const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1816
- let jbcount = 0;
1817
- if (evt.junctionB && evt.junctionB.data) {
1818
- for (const d of evt.junctionB.data) {
1819
- if (d.tkid == sample.tkid) {
1820
- jbcount = d.v;
1821
- break;
1822
- }
1823
- }
1824
- }
1825
- let acountsum = 0;
1826
- if (evt.junctionAlst) {
1827
- for (const ja of evt.junctionAlst) {
1828
- if (ja && ja.data) {
1829
- for (const d of ja.data) {
1830
- if (d.tkid == sample.tkid) {
1831
- acountsum += d.v;
1832
- break;
1833
- }
1834
- }
1835
- }
1836
- }
1837
- }
1838
- let percent;
1839
- if (jbcount == 0) {
1840
- percent = 0;
1841
- } else {
1842
- percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1843
- }
1844
- holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1845
- }
1846
- }
1847
- function get_leftLabelMaxwidth(tk) {
1848
- const collectlabw = [];
1849
- tk.tklabel.each(function() {
1850
- collectlabw.push(this.getBBox().width);
1851
- });
1852
- if (tk.label_mcount) {
1853
- tk.label_mcount.each(function() {
1854
- collectlabw.push(this.getBBox().width);
1855
- });
1856
- }
1857
- tk.leftLabelMaxwidth = Math.max(...collectlabw);
1858
- }
1859
-
1860
- // src/block.tk.junction.js
1861
- var binpxw = 5;
1862
- var modefold = 1;
1863
- var moderaise = 2;
1864
- var modesample = 3;
1865
- var labyspace = 5;
1866
- function makeTk(tk, block) {
1867
- tk.leftaxis = tk.gleft.append("g");
1868
- let laby = labyspace + block.labelfontsize;
1869
- const thistip = new Menu({ padding: "none" });
1870
- tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1871
- label_mcount_fillpane(tk, block, thistip);
1872
- });
1873
- laby += labyspace + block.labelfontsize;
1874
- tk.totalsamplecount = 0;
1875
- tk.height_main = 100;
1876
- tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1877
- if (tk.categories || tk.cohortsetting) {
1878
- const [tr, td] = legend_newrow(block, tk.name);
1879
- tk.tr_legend = tr;
1880
- tk.td_legend = td;
1881
- }
1882
- if (tk.categories) {
1883
- category2legend(tk.categories, tk.td_legend);
1884
- }
1885
- if (tk.cohortsetting) {
1886
- tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1887
- tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1888
- }
1889
- }
1890
- function junctionload(tk, block) {
1891
- if (tk.uninitialized) {
1892
- makeTk(tk, block);
1893
- delete tk.uninitialized;
1894
- }
1895
- if ((block.zoomedin || block.resized) && tk.data) {
1896
- const junc = [];
1897
- for (const i of tk.data) {
1898
- const oldx = i.x;
1899
- const e = j2block(i, block);
1900
- if (e) {
1901
- continue;
1902
- }
1903
- if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1904
- i.x = oldx;
1905
- junc.push(i);
1906
- }
1907
- }
1908
- rendertk(junc, tk, block);
1909
- return;
1910
- }
1911
- if (tk.fixeddata) {
1912
- block.tkcloakon(tk);
1913
- const junc2 = [];
1914
- for (const j of tk.fixeddata) {
1915
- const j2 = {
1916
- chr: j.chr,
1917
- start: j.start,
1918
- stop: j.stop,
1919
- data: j.data,
1920
- type: j.type
1921
- };
1922
- const e = j2block(j2, block);
1923
- if (e) {
1924
- continue;
1925
- }
1926
- junc2.push(j2);
1927
- }
1928
- tk.totalsamplecount = tk.tracks[0].samplecount;
1929
- tk.axisheight = 200;
1930
- tk.legheight = 50;
1931
- tk.bottompad = 0;
1932
- tk.qmradius = 2;
1933
- tk.lowpad = 15;
1934
- tk.padheight = 10;
1935
- rendertk(junc2, tk, block);
1936
- return;
1937
- }
1938
- if (!tk.tracks) {
1939
- block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1940
- tk.height_main = 50;
1941
- block.block_setheight();
1942
- return;
1943
- }
1944
- block.block_setheight();
1945
- block.tkcloakon(tk);
1946
- const bincount = Math.ceil(block.width / binpxw);
1947
- let bins = null;
1948
- let donenum = 0;
1949
- const tasks = [];
1950
- const allfiledata = [];
1951
- for (const t of tk.tracks) {
1952
- const getheader = new Promise((resolve, reject) => {
1953
- if (t.rnapegfile) {
1954
- t.samplecount = 1;
1955
- return resolve();
1956
- }
1957
- if (t.samplecount != void 0 && t.checkedheader) return resolve();
1958
- const par = {};
1959
- if (t.file) {
1960
- par.file = t.file;
1961
- } else {
1962
- par.url = t.url;
1963
- if (t.indexURL) par.indexURL = t.indexURL;
1964
- }
1965
- dofetch3("tabixheader", { body: par }).then((data) => {
1966
- if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1967
- t.checkedheader = true;
1968
- const str = data.lines.join("");
1969
- if (!str) {
1970
- } else {
1971
- const l = str.trim().split(" ");
1972
- t.headersamples = [];
1973
- for (let i = 5; i < l.length; i++) {
1974
- const str2 = l[i];
1975
- let j = null;
1976
- if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1977
- try {
1978
- j = JSON.parse(str2);
1979
- } catch (e) {
1980
- console.error("header line field [" + i + "] is broken json: " + str2);
1981
- }
1982
- }
1983
- if (j) {
1984
- j.tkid = Math.random().toString();
1985
- t.headersamples.push(j);
1986
- } else {
1987
- t.headersamples.push({
1988
- name: l[i],
1989
- tkid: Math.random().toString()
1990
- });
1991
- }
1992
- }
1993
- t.samplecount = t.headersamples.length;
1994
- tk.totalsamplecount += t.samplecount;
1995
- }
1996
- resolve();
1997
- });
1998
- });
1999
- const getdata = new Promise((resolve, reject) => {
2000
- getheader.then(() => {
2001
- const par = {
2002
- genome: block.genome.name,
2003
- rglst: block.tkarg_maygm(t)
2004
- };
2005
- if (bincount) par.bincount = bincount;
2006
- if (t.file || t.rnapegfile) {
2007
- par.file = t.file || t.rnapegfile;
2008
- } else {
2009
- par.url = t.url;
2010
- if (t.indexURL) par.indexURL = t.indexURL;
2011
- }
2012
- if (t.rnapegfile) {
2013
- par.isrnapeg = 1;
2014
- }
2015
- dofetch3("termdb/junction/onesampletk", { body: par }).then((data) => {
2016
- donenum++;
2017
- if (tk.tracks.length > 1) {
2018
- block.tkprogress(tk, donenum / tk.tracks.length);
2019
- }
2020
- if (!data) reject("server error for getting member track " + t.name);
2021
- if (data.error) reject("Cannot get data: " + data.error);
2022
- if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2023
- if (data.lst) {
2024
- if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2025
- t.samplecount = data.lst[0].rawdata.length;
2026
- tk.totalsamplecount += t.samplecount;
2027
- }
2028
- if (bins) {
2029
- } else {
2030
- const thisfilejunctions = [];
2031
- for (const k of data.lst) {
2032
- k.data = [];
2033
- for (let i = 0; i < k.rawdata.length; i++) {
2034
- const v = k.rawdata[i];
2035
- if (!Number.isInteger(v) || v <= 0) {
2036
- continue;
2037
- }
2038
- const s = { v };
2039
- if (t.headersamples) {
2040
- const s0 = t.headersamples[i];
2041
- if (s0) {
2042
- for (const _k in s0) {
2043
- s[_k] = s0[_k];
2044
- }
2045
- }
2046
- } else {
2047
- if (t.name) s.name = t.name;
2048
- if (t.sample) s.sample = t.sample;
2049
- if (t.patient) s.patient = t.patient;
2050
- if (t.sampeltype) s.sampletype = t.sampletype;
2051
- if (t.tkid) s.tkid = t.tkid;
2052
- if (t.file) s.file = t.file;
2053
- if (t.url) s.url = t.url;
2054
- if (t.indexURL) s.indexURL = t.indexURL;
2055
- }
2056
- k.data.push(s);
2057
- }
2058
- delete k.rawdata;
2059
- thisfilejunctions.push(k);
2060
- }
2061
- resolve(thisfilejunctions);
2062
- }
2063
- } else {
2064
- }
2065
- });
2066
- }).catch((err) => reject(err));
2067
- });
2068
- tasks.push(getdata);
2069
- }
2070
- Promise.all(tasks).then((data) => {
2071
- const junc = [];
2072
- data.forEach((dat) => {
2073
- if (!dat) return;
2074
- dat.forEach((k) => {
2075
- let notfound = true;
2076
- for (const j of junc) {
2077
- if (j.start == k.start && j.stop == k.stop) {
2078
- j.data = j.data.concat(k.data);
2079
- notfound = false;
2080
- break;
2081
- }
2082
- }
2083
- if (notfound) {
2084
- junc.push(k);
2085
- }
2086
- });
2087
- });
2088
- for (const j of junc) {
2089
- j2block(j, block);
2090
- }
2091
- for (const j of junc) {
2092
- smuggleattributes(j);
2093
- }
2094
- if (!tk.axisheight) {
2095
- if (tk.totalsamplecount > 1) {
2096
- tk.axisheight = 200;
2097
- tk.legheight = 50;
2098
- tk.bottompad = 0;
2099
- tk.qmradius = 2;
2100
- tk.lowpad = 15;
2101
- tk.padheight = 10;
2102
- } else {
2103
- tk.axisheight = 100;
2104
- tk.legheight = 20;
2105
- tk.bottompad = 0;
2106
- tk.lowpad = 10;
2107
- tk.padheight = 10;
2108
- }
2109
- if (tk.cohortsetting) {
2110
- initcohortsetting(tk, block);
2111
- }
2112
- }
2113
- rendertk(junc, tk, block);
2114
- }).catch((err) => {
2115
- tk.glider.selectAll("*").remove();
2116
- block.tkcloakoff(tk, { error: err });
2117
- block.block_setheight();
2118
- });
2119
- }
2120
- function j2block(j, block) {
2121
- const starthit = block.seekcoord(j.chr, j.start)[0];
2122
- if (!starthit) {
2123
- return true;
2124
- }
2125
- const stophit = block.seekcoord(j.chr, j.stop)[0];
2126
- if (!stophit) {
2127
- return true;
2128
- }
2129
- const startout = starthit.x < 0 || starthit.x > block.width;
2130
- const stopout = stophit.x < 0 || stophit.x > block.width;
2131
- if (startout && stopout) {
2132
- return true;
2133
- }
2134
- j.x0 = starthit.x;
2135
- j.x1 = stophit.x;
2136
- j.x = (j.x0 + j.x1) / 2;
2137
- j._x = j.x;
2138
- if (!j.modefix) {
2139
- j.mode = moderaise;
2140
- }
2141
- return false;
2142
- }
2143
- function smuggleattributes(j) {
2144
- }
2145
- function label_mcount_fillpane(tk, block, tip) {
2146
- tip.clear();
2147
- const holder = tip.d;
2148
- const types = /* @__PURE__ */ new Map();
2149
- for (const j of tk.data) {
2150
- if (!j.type) continue;
2151
- if (!types.has(j.type)) {
2152
- types.set(j.type, []);
2153
- }
2154
- if (j.data) {
2155
- types.get(j.type).push(j.data.map((i) => i.v));
2156
- } else {
2157
- types.get(j.type).push(j.v);
2158
- }
2159
- }
2160
- if (types.size) {
2161
- const d = holder.append("div").style("margin", "8px");
2162
- for (const [type, valuelst] of types) {
2163
- d.append("div").style("margin", "2px").html(
2164
- valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2165
- );
2166
- let vlst = valuelst;
2167
- if (tk.tracks) {
2168
- vlst = [];
2169
- for (const l of valuelst) {
2170
- vlst.push(...l);
2171
- }
2172
- }
2173
- if (vlst.length == 1) {
2174
- } else {
2175
- d.append("table").style("margin-left", "20px").html(
2176
- '<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>'
2177
- );
2178
- }
2179
- }
2180
- } else {
2181
- let vlst = [];
2182
- if (tk.tracks) {
2183
- for (const j of tk.data) {
2184
- vlst.push(...j.data.map((i) => i.v));
2185
- }
2186
- } else {
2187
- vlst = tk.data.map((j) => j.v);
2188
- }
2189
- if (vlst.length > 1) {
2190
- holder.append("table").html(
2191
- '<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>'
2192
- );
2193
- }
2194
- }
2195
- holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2196
- tip.hide();
2197
- for (const j of tk.data) {
2198
- j.mode = modefold;
2199
- j.modefix = true;
2200
- }
2201
- horiplace(tk.data, block.width, tk);
2202
- });
2203
- holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2204
- tip.hide();
2205
- for (const j of tk.data) {
2206
- j.modefix = false;
2207
- }
2208
- automode(tk, null, block.width);
2209
- for (const j of tk.data) {
2210
- j.modefix = true;
2211
- }
2212
- horiplace(tk.data, block.width, tk);
2213
- });
2214
- holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2215
- tip.hide();
2216
- downloadjunctions(tk);
2217
- });
2218
- tip.showunder(tk.label_mcount.node());
2219
- }
2220
- function downloadjunctions(tk) {
2221
- const txt = [];
2222
- if (tk.file || tk.url) {
2223
- if (tk.data) {
2224
- txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2225
- for (const j of tk.data) {
2226
- txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2227
- }
2228
- }
2229
- } else if (tk.tracks) {
2230
- if (tk.data) {
2231
- const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2232
- for (const t of tk.tracks) {
2233
- const lst = [];
2234
- if (t.patient) lst.push(t.patient);
2235
- if (t.sampletype) lst.push(t.sampletype);
2236
- if (lst.length == 0) {
2237
- lst.push(t.name);
2238
- }
2239
- header.push(lst.join(", "));
2240
- }
2241
- txt.push(header.join(" "));
2242
- for (const j of tk.data) {
2243
- const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2244
- const hash = /* @__PURE__ */ new Map();
2245
- for (const jsample of j.data) {
2246
- hash.set(jsample.tkid, jsample.v);
2247
- }
2248
- for (const t of tk.tracks) {
2249
- lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2250
- }
2251
- txt.push(lst.join(" "));
2252
- }
2253
- }
2254
- }
2255
- export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2256
- }
2257
- function configpanel(tk, block) {
2258
- tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2259
- const holder = tk.tkconfigtip.d;
2260
- {
2261
- const row = holder.append("div").style("margin-bottom", "10px");
2262
- row.append("span").html("Read count cutoff&nbsp;");
2263
- row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2264
- if (!keyupEnter(event)) return;
2265
- const v = Number.parseFloat(event.target.value);
2266
- if (v == 0) {
2267
- if (tk.readcountcutoff) {
2268
- tk.readcountcutoff = 0;
2269
- junctionload(tk, block);
2270
- } else {
2271
- }
2272
- return;
2273
- }
2274
- if (!v || v < 0) {
2275
- return;
2276
- }
2277
- if (tk.readcountcutoff) {
2278
- if (tk.readcountcutoff == v) {
2279
- } else if (tk.readcountcutoff > v) {
2280
- tk.readcountcutoff = v;
2281
- junctionload(tk, block);
2282
- } else {
2283
- tk.readcountcutoff = v;
2284
- rendertk(tk.data, tk, block);
2285
- }
2286
- } else {
2287
- tk.readcountcutoff = v;
2288
- junctionload(tk, block);
2289
- }
2290
- });
2291
- const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2292
- if (tk.totalsamplecount > 1) {
2293
- note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2294
- } else {
2295
- note.text("Junctions with read count lower than cutoff will not be shown.");
2296
- }
2297
- }
2298
- }
2299
- function initcohortsetting(tk, block) {
2300
- if (!tk.cohortsetting.cohort) {
2301
- sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2302
- return;
2303
- }
2304
- if (!tk.cohortsetting.cohort.levels) {
2305
- sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2306
- return;
2307
- }
2308
- if (!tk.cohortsetting.cohort.levels[0]) {
2309
- sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2310
- return;
2311
- }
2312
- tk.cohortsetting.levelseperator = ".";
2313
- tk.cohortsetting.uselevelidx = 0;
2314
- setcohortlegend_usecohortlevel(tk, block);
2315
- }
2316
- function setcohortlegend_usecohortlevel(tk, block) {
2317
- tk.cohortsetting.legendholder.selectAll("*").remove();
2318
- tk.cohortsetting.colorfunc = ordinal(category10_default);
2319
- const stratkey2count = /* @__PURE__ */ new Map();
2320
- for (const t of tk.tracks) {
2321
- for (const s of t.headersamples) {
2322
- if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2323
- continue;
2324
- }
2325
- const thissamplekeys = [];
2326
- for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2327
- const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2328
- if (thislevelkey) {
2329
- thissamplekeys.push(thislevelkey);
2330
- }
2331
- }
2332
- const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2333
- if (!stratkey2count.has(str)) {
2334
- stratkey2count.set(str, {
2335
- count: 0,
2336
- label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2337
- });
2338
- }
2339
- stratkey2count.get(str).count++;
2340
- }
2341
- }
2342
- const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2343
- for (const item of sorteditems) {
2344
- const color = tk.cohortsetting.colorfunc(item[0]);
2345
- const label = item[1].label;
2346
- const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2347
- row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2348
- row.append("div").style("display", "inline-block").text(label);
2349
- }
2350
- }
2351
- export {
2352
- junctionload,
2353
- modefold,
2354
- moderaise,
2355
- modesample
2356
- };
2357
- //# sourceMappingURL=block.tk.junction-S5JMMMR6.js.map