@sjcrh/proteinpaint-client 2.206.0 → 2.207.0

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