@sjcrh/proteinpaint-client 2.224.1 → 2.224.2

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 (980) hide show
  1. package/dist/2dmaf-OWA6REJ5.js +1362 -0
  2. package/dist/AggMatrixInput-5GC33U5A.js +402 -0
  3. package/dist/AggregateMatrix-CMJFO53B.js +37 -0
  4. package/dist/AppHeader-KJCXF35P.js +826 -0
  5. package/dist/BoxPlot-NZTO6CLZ.js +1247 -0
  6. package/dist/BoxPlot-NZTO6CLZ.js.map +7 -0
  7. package/dist/CorrelationVolcano-GHTPFM2V.js +613 -0
  8. package/dist/Cuminc-HHBYFFFM.js +1217 -0
  9. package/dist/DE-VVKIMVXD.js +85 -0
  10. package/dist/DEinput-F7HSM2SO.js +479 -0
  11. package/dist/DM-UBCIWZEY.js +86 -0
  12. package/dist/DifferentialAnalysis-UUXXMOQS.js +236 -0
  13. package/dist/Disco-NHXU7LG7.js +3384 -0
  14. package/dist/Disco.UI-GSSSK4YJ.js +239 -0
  15. package/dist/DmrPlot-QFSU62PY.js +344 -0
  16. package/dist/DmrPlot-QFSU62PY.js.map +7 -0
  17. package/dist/GB-CIQGJBJP.js +1388 -0
  18. package/dist/GSEA-3GVFEJTX.js +870 -0
  19. package/dist/GeneExpInput-CFU3Q7FM.js +38 -0
  20. package/dist/Geomap-NMVFA77Q.js +80 -0
  21. package/dist/HicApp-4FCGUUJD.js +2240 -0
  22. package/dist/IDCViewer-WFB6AXHD.js +10810 -0
  23. package/dist/IDCViewer-WFB6AXHD.js.map +7 -0
  24. package/dist/NumBinaryEditor-4WUDJRSU.js +274 -0
  25. package/dist/NumBinaryEditor.unit.spec-MV53GTGQ.js +308 -0
  26. package/dist/NumContEditor-U4R6HPDM.js +100 -0
  27. package/dist/NumContEditor.unit.spec-J4ANPBSF.js +160 -0
  28. package/dist/NumCustomBinEditor-QRGDNFP4.js +29 -0
  29. package/dist/NumCustomBinEditor.unit.spec-PPF233FW.js +393 -0
  30. package/dist/NumDiscreteEditor-LNK4KHSL.js +165 -0
  31. package/dist/NumDiscreteEditor.unit.spec-QY6O62JU.js +229 -0
  32. package/dist/NumRegularBinEditor-XTINNM5L.js +29 -0
  33. package/dist/NumRegularBinEditor.unit.spec-FSLARHOC.js +274 -0
  34. package/dist/NumSplineEditor-YSQTKBFA.js +205 -0
  35. package/dist/NumSplineEditor.unit.spec-QNITPY7R.js +220 -0
  36. package/dist/NumericDensity-J5WS74JZ.js +29 -0
  37. package/dist/NumericDensity.unit.spec-4WQWLSSJ.js +414 -0
  38. package/dist/NumericHandler-ZEWC25U2.js +30 -0
  39. package/dist/NumericHandler.unit.spec-A3G5FWGV.js +225 -0
  40. package/dist/ProteomeInput-7DXGQIOO.js +610 -0
  41. package/dist/Regression-VQ5MC6KW.js +1412 -0
  42. package/dist/RunChart2-B33CQUXH.js +744 -0
  43. package/dist/SC-LEVWXS4P.js +1290 -0
  44. package/dist/Violin-L43OHY63.js +1105 -0
  45. package/dist/Violin-L43OHY63.js.map +7 -0
  46. package/dist/Volcano-NTXVM3UR.js +2657 -0
  47. package/dist/Wsi-VPF6RX3B.js +637 -0
  48. package/dist/Wsi-VPF6RX3B.js.map +7 -0
  49. package/dist/aboutSunburst-NGH3V74S.js +93 -0
  50. package/dist/adSandbox-VOAL4P5A.js +29 -0
  51. package/dist/animatedBubbleChart-HKOGYPSS.js +542 -0
  52. package/dist/app-AZLUP2BA.js +28 -0
  53. package/dist/app-JJPKGBEV.js +38 -0
  54. package/dist/app.js +14 -14
  55. package/dist/bam-GIZSH2MF.js +872 -0
  56. package/dist/barchart-CVTXLIIQ.js +38 -0
  57. package/dist/barchart2-XYC6WITL.js +305 -0
  58. package/dist/block-DXRSU62C.js +6203 -0
  59. package/dist/block.init-U4Y6ROG4.js +29 -0
  60. package/dist/block.mds.expressionrank-BB26LVTM.js +350 -0
  61. package/dist/block.mds.geneboxplot-VVKEU3SL.js +819 -0
  62. package/dist/block.mds.junction-XUZX6EAQ.js +1534 -0
  63. package/dist/block.mds.svcnv-WDSACPWG.js +6325 -0
  64. package/dist/block.svg-T5BA7VLS.js +155 -0
  65. package/dist/block.tk.aicheck-3VN2RDPD.js +274 -0
  66. package/dist/block.tk.bam-5XZ3N4Y7.js +1906 -0
  67. package/dist/block.tk.bigwig.ui-JODVOS4R.js +202 -0
  68. package/dist/block.tk.hicstraw-AFNWJ2YP.js +814 -0
  69. package/dist/block.tk.junction-T2G6XEVS.js +2353 -0
  70. package/dist/block.tk.junction.textmatrixui-FL5MZH7K.js +190 -0
  71. package/dist/block.tk.ld-JKBXDOB5.js +90 -0
  72. package/dist/block.tk.menu-2X4BN7BN.js +1050 -0
  73. package/dist/block.tk.pgv-ASUVEGQF.js +934 -0
  74. package/dist/brainImaging-27442GMQ.js +550 -0
  75. package/dist/brainRegions-3367RQCU.js +213 -0
  76. package/dist/bubbleHeatmap-IOVS6SHX.js +374 -0
  77. package/dist/cellTypeBubbleHeatmap-7XJP6B5W.js +274 -0
  78. package/dist/chunk-2CTAWHGB.js +56 -0
  79. package/dist/chunk-2ESAB2PP.js +848 -0
  80. package/dist/chunk-2GP3LH7J.js +194 -0
  81. package/dist/chunk-2UGYE6EJ.js +54 -0
  82. package/dist/chunk-3TJBSAIO.js +170 -0
  83. package/dist/chunk-46KQE4DV.js +418 -0
  84. package/dist/chunk-4ICGMPPE.js +56 -0
  85. package/dist/chunk-4RQTQDHF.js +5214 -0
  86. package/dist/chunk-5FD6NRGE.js +472 -0
  87. package/dist/chunk-5JBOGNSG.js +159 -0
  88. package/dist/chunk-5OWPH4IH.js +626 -0
  89. package/dist/chunk-63TCOVAK.js +30 -0
  90. package/dist/chunk-7ONTCJWB.js +1219 -0
  91. package/dist/chunk-7Q4KAFCS.js +281 -0
  92. package/dist/chunk-7UXV4IX5.js +102 -0
  93. package/dist/chunk-7ZCYC2DQ.js +70 -0
  94. package/dist/chunk-AQSZLUDV.js +184 -0
  95. package/dist/chunk-BBA5MAFS.js +240 -0
  96. package/dist/chunk-BNJC6OX5.js +2102 -0
  97. package/dist/chunk-BOQYGAYA.js +119 -0
  98. package/dist/chunk-C4YACFGH.js +692 -0
  99. package/dist/chunk-CKO54XWB.js +54 -0
  100. package/dist/chunk-COWLQ74R.js +82 -0
  101. package/dist/chunk-CU434U4N.js +35 -0
  102. package/dist/chunk-CZOJUH3C.js +30 -0
  103. package/dist/chunk-CZOJUH3C.js.map +7 -0
  104. package/dist/chunk-D22DJFFZ.js +254 -0
  105. package/dist/chunk-D22DJFFZ.js.map +7 -0
  106. package/dist/chunk-D2YPS46O.js +266 -0
  107. package/dist/chunk-DVSTBGZT.js +182 -0
  108. package/dist/chunk-EIO6DMIQ.js +31 -0
  109. package/dist/chunk-EM56Y4X6.js +2685 -0
  110. package/dist/chunk-F6CYUMSM.js +37 -0
  111. package/dist/chunk-FUTHP5J4.js +274 -0
  112. package/dist/chunk-G5GFCBJT.js +217 -0
  113. package/dist/chunk-GOL6A746.js +96 -0
  114. package/dist/chunk-GVLXSPTN.js +141 -0
  115. package/dist/chunk-HNU4RYI5.js +203 -0
  116. package/dist/chunk-HTIZFNBC.js +4389 -0
  117. package/dist/chunk-HUF5BTO6.js +562 -0
  118. package/dist/chunk-HWP3U2VY.js +382 -0
  119. package/dist/chunk-JEXS72M5.js +550 -0
  120. package/dist/chunk-JNIYPQWY.js +176 -0
  121. package/dist/chunk-K5RCZIZN.js +2799 -0
  122. package/dist/chunk-KA3KYNOP.js +195 -0
  123. package/dist/chunk-KGFH5VTH.js +444 -0
  124. package/dist/chunk-KTRDLHCP.js +397 -0
  125. package/dist/chunk-L6TGKNRA.js +516 -0
  126. package/dist/chunk-LN4KNFOQ.js +55 -0
  127. package/dist/chunk-M4ML4ACA.js +134 -0
  128. package/dist/chunk-MIDVLNN3.js +123 -0
  129. package/dist/chunk-MUVXIOXM.js +276 -0
  130. package/dist/chunk-N2RAPA7D.js +42 -0
  131. package/dist/chunk-N2RAPA7D.js.map +7 -0
  132. package/dist/chunk-N6AHRJAM.js +1339 -0
  133. package/dist/chunk-NB4UU4DH.js +54 -0
  134. package/dist/chunk-NGG4737W.js +296 -0
  135. package/dist/chunk-O4BDFBVK.js +1253 -0
  136. package/dist/chunk-OGU7IDV7.js +102 -0
  137. package/dist/chunk-OT2DMA2D.js +652 -0
  138. package/dist/chunk-OT2DMA2D.js.map +7 -0
  139. package/dist/chunk-OVO6NYUR.js +480 -0
  140. package/dist/chunk-OXRZSZKA.js +2008 -0
  141. package/dist/chunk-QMR3QMJG.js +50 -0
  142. package/dist/chunk-QUVGLTCF.js +103 -0
  143. package/dist/chunk-R2H22S4J.js +5786 -0
  144. package/dist/chunk-R2H22S4J.js.map +7 -0
  145. package/dist/chunk-RCLCEA55.js +305 -0
  146. package/dist/chunk-RCVA2RWU.js +466 -0
  147. package/dist/chunk-RSCSTOUN.js +6375 -0
  148. package/dist/chunk-SCXWXLMR.js +237 -0
  149. package/dist/chunk-SQUMXZXI.js +257 -0
  150. package/dist/chunk-T2DORAV4.js +398 -0
  151. package/dist/chunk-T4OGXIFB.js +13624 -0
  152. package/dist/chunk-T4OGXIFB.js.map +7 -0
  153. package/dist/chunk-TBXJ2CUA.js +14 -0
  154. package/dist/chunk-TQLHKDNS.js +140 -0
  155. package/dist/chunk-TTSKLWP7.js +2932 -0
  156. package/dist/chunk-TTSKLWP7.js.map +7 -0
  157. package/dist/chunk-VQD6GZMU.js +59 -0
  158. package/dist/chunk-VZBRG6HQ.js +263 -0
  159. package/dist/chunk-WQHL6SR3.js +468 -0
  160. package/dist/chunk-X7JGAQ5N.js +340 -0
  161. package/dist/chunk-Z6ZFRHXK.js +2334 -0
  162. package/dist/chunk-ZCY72DDM.js +379 -0
  163. package/dist/chunk-ZHY7ZHWC.js +243 -0
  164. package/dist/chunk-ZIMAIUZD.js +26744 -0
  165. package/dist/chunk-ZIMAIUZD.js.map +7 -0
  166. package/dist/chunk-ZLQ6PAI6.js +299 -0
  167. package/dist/chunk-ZUG4EY4T.js +348 -0
  168. package/dist/chunk-ZUXXBQ7D.js +2349 -0
  169. package/dist/chunk-ZUXXBQ7D.js.map +7 -0
  170. package/dist/cohort-2DQOQ5AO.js +66 -0
  171. package/dist/cohortSunburst-W6XC7VD6.js +402 -0
  172. package/dist/condition-3A7I5UQA.js +323 -0
  173. package/dist/controls-G5WYBX4P.js +30 -0
  174. package/dist/controls.config-TAFGM2S2.js +30 -0
  175. package/dist/correlation-K4EOOQJU.js +91 -0
  176. package/dist/customdata.inputui-E7RRN3KY.js +280 -0
  177. package/dist/dataDownload-OXZGAE5R.js +326 -0
  178. package/dist/databrowser.ui-IPUF6LUC.js +424 -0
  179. package/dist/databrowser.ui-IPUF6LUC.js.map +7 -0
  180. package/dist/dictionary-MUNAUI43.js +109 -0
  181. package/dist/dnaMethylation-SOV4HBAX.js +29 -0
  182. package/dist/dnaMethylation.integration.spec-T4KKTMRL.js +194 -0
  183. package/dist/dofetch-2CR2TVWC.js +49 -0
  184. package/dist/e2pca-EIOJCV4O.js +340 -0
  185. package/dist/ep-5QX3CW6D.js +1247 -0
  186. package/dist/expclust.gdc.spec-TNHPZLYQ.js +298 -0
  187. package/dist/facet-I3OC4DK2.js +556 -0
  188. package/dist/gb-WPIUHR3O.js +77 -0
  189. package/dist/geneExpClustering-EYGZENSP.js +240 -0
  190. package/dist/geneExpression-54L3DH32.js +309 -0
  191. package/dist/geneExpression-6S6H2EVY.js +29 -0
  192. package/dist/geneExpression.unit.spec-VVI2MXIH.js +151 -0
  193. package/dist/geneORA-7M64LXZC.js +269 -0
  194. package/dist/geneRanking-676CAA3B.js +544 -0
  195. package/dist/geneVariant-4UPJE6MJ.js +289 -0
  196. package/dist/geneVariant-PFVPL22U.js +32 -0
  197. package/dist/geneVariant.integration.spec-EAJ4OSFQ.js +672 -0
  198. package/dist/genefusion.ui-LP4EJUTO.js +299 -0
  199. package/dist/geneset-ANDOMTPO.js +199 -0
  200. package/dist/genomeBrowser.spec-NUXOOL5N.js +272 -0
  201. package/dist/grin2-K4LRVCES.js +66 -0
  202. package/dist/grin2-YFCWJZFR.js +945 -0
  203. package/dist/hierCluster-POD3DRO4.js +55 -0
  204. package/dist/hierCluster-QA7HXKRD.js +51 -0
  205. package/dist/hierCluster.config-HQ3SVKCE.js +32 -0
  206. package/dist/hierCluster.integration.spec-MOYDWJL3.js +479 -0
  207. package/dist/hierCluster.interactivity-OZTNHXZQ.js +45 -0
  208. package/dist/hierCluster.renderers-46E37NL4.js +18 -0
  209. package/dist/imagePlot-HNAYBWY3.js +152 -0
  210. package/dist/importPlot-XTW46VF4.js +8 -0
  211. package/dist/isoformExpression-2TMTILKG.js +31 -0
  212. package/dist/isoformExpression.unit.spec-SIJWP7TH.js +233 -0
  213. package/dist/jspdf.es.min-GSH2SAQO.js +40 -0
  214. package/dist/junction-AICKHNXX.js +32 -0
  215. package/dist/junction.customTerm-5STKYZ4B.js +15 -0
  216. package/dist/junction.unit.spec-EXFN4MLW.js +178 -0
  217. package/dist/launch.adhoc-PB6PGR7Q.js +33 -0
  218. package/dist/leftlabel.sample-ISUD4A7F.js +253 -0
  219. package/dist/lollipop-5UXUAFYY.js +162 -0
  220. package/dist/maf-L6YD25JK.js +451 -0
  221. package/dist/maftimeline-63YZDGJ3.js +583 -0
  222. package/dist/matrix-OPEBHZCW.js +55 -0
  223. package/dist/matrix-TLMWPG7C.js +50 -0
  224. package/dist/matrix.cells-IELMNYC6.js +25 -0
  225. package/dist/matrix.config-J7SVFXLM.js +33 -0
  226. package/dist/matrix.data-DJTJCPO4.js +22 -0
  227. package/dist/matrix.groups-2REICNZK.js +25 -0
  228. package/dist/matrix.integration.spec-ZXU2OEFU.js +3156 -0
  229. package/dist/matrix.interactivity-SX3OR6OI.js +33 -0
  230. package/dist/matrix.layout-ZJ6X5RON.js +35 -0
  231. package/dist/matrix.legend-ZOP72TIO.js +19 -0
  232. package/dist/matrix.renderers-YUSROXKN.js +30 -0
  233. package/dist/matrix.serieses-UMAZNCMR.js +18 -0
  234. package/dist/matrix.sort-2JNIZHNL.js +25 -0
  235. package/dist/matrix.sort.unit.spec-SNB643Y6.js +464 -0
  236. package/dist/matrix.sorterUi-JXEIY6UL.js +15 -0
  237. package/dist/matrix.sorterUi.unit.spec-LDAT4R3H.js +334 -0
  238. package/dist/matrix.unit.spec-QBQIMDLD.js +146 -0
  239. package/dist/mavb-EQUF3VGG.js +726 -0
  240. package/dist/mds.samplescatterplot-73E45ZT7.js +1545 -0
  241. package/dist/mds.survivalplot-DL53IRVD.js +472 -0
  242. package/dist/multivalue-PQN75ENP.js +79 -0
  243. package/dist/numericDictTermCluster-FGMIOTBO.js +62 -0
  244. package/dist/oncomatrix-CCHWOA3N.js +286 -0
  245. package/dist/oncomatrix.spec-GQT3UTCR.js +439 -0
  246. package/dist/plot.2dvaf-L6ZI5ROR.js +368 -0
  247. package/dist/plot.app-A73VXJCP.js +32 -0
  248. package/dist/plot.barplot-HSCHPOO7.js +93 -0
  249. package/dist/plot.boxplot-AXBVNTNH.js +142 -0
  250. package/dist/plot.brainImaging-PEMURKM3.js +51 -0
  251. package/dist/plot.disco-YKMYYVMV.js +98 -0
  252. package/dist/plot.ssgq-FGMQXKZU.js +130 -0
  253. package/dist/plot.vaf2cov-IBM7NQEB.js +249 -0
  254. package/dist/polar2-N7KWY36S.js +228 -0
  255. package/dist/profileForms-Q4NN7653.js +937 -0
  256. package/dist/profilePlot-SQ77M6LI.js +45 -0
  257. package/dist/proteinView-KSIZRDNP.js +1346 -0
  258. package/dist/proteomeCohortCompare-GYSBJSDY.js +866 -0
  259. package/dist/pseudbulk.unit.spec-XELPZVXM.js +82 -0
  260. package/dist/pseudobulk-H3USXM5U.js +31 -0
  261. package/dist/qualitative-ABXENRAF.js +34 -0
  262. package/dist/qualitative-OSEJTJ4D.js +241 -0
  263. package/dist/radar2-VTDQGHWN.js +323 -0
  264. package/dist/radarFacility2-BWGEC5A2.js +331 -0
  265. package/dist/rememberedGvQ.unit.spec-TWUDSEDP.js +210 -0
  266. package/dist/render-C3XJQ2QY.js +29 -0
  267. package/dist/report-7ZZ44X4R.js +213 -0
  268. package/dist/sampleView-CUCNI65Q.js +39 -0
  269. package/dist/samplelst-S7AJQ36J.js +114 -0
  270. package/dist/samplematrix-U7WM6GNB.js +2188 -0
  271. package/dist/sc-FMJHN2SW.js +77 -0
  272. package/dist/scatter-4UMCJNEH.js +919 -0
  273. package/dist/scatter-KMAZ3ZNR.js +84 -0
  274. package/dist/selectGenomeWithTklst-5SRM45BI.js +125 -0
  275. package/dist/singleCellCellType-GIIICJK5.js +29 -0
  276. package/dist/singleCellCellType.unit.spec-MVA7BMGL.js +150 -0
  277. package/dist/singleCellGeneExpression-2QFQHJJH.js +29 -0
  278. package/dist/singleCellGeneExpression.unit.spec-SAIETYHV.js +144 -0
  279. package/dist/singleCellNumericValue-45H5EPIB.js +29 -0
  280. package/dist/singleCellNumericValue.unit.spec-FNKEJ2WC.js +412 -0
  281. package/dist/singleCellPlot-SP7OEGYQ.js +44 -0
  282. package/dist/singlecell-AVZQX4AH.js +1562 -0
  283. package/dist/singlecell-JQKUHGIH.js +77 -0
  284. package/dist/snp-4SA7VABN.js +29 -0
  285. package/dist/snp.unit.spec-YIYGR6GW.js +167 -0
  286. package/dist/snplocus-TDGQ57ZJ.js +200 -0
  287. package/dist/snplst-SWBGRYPA.js +36 -0
  288. package/dist/spliceevent.a53ss.diagram-YODOBS6U.js +142 -0
  289. package/dist/spliceevent.exonskip.diagram-PMZIQ5UG.js +274 -0
  290. package/dist/spliceevent.noeventdiagram-A4T2PNUX.js +451 -0
  291. package/dist/ssGSEA-U7D6HOIV.js +29 -0
  292. package/dist/ssGSEA.unit.spec-SMNAM5DJ.js +79 -0
  293. package/dist/stattable-DBYMPJU6.js +112 -0
  294. package/dist/studyCatalog-7RABX4W5.js +457 -0
  295. package/dist/summarizeCnvGeneexp-YVRW7LWY.js +154 -0
  296. package/dist/summarizeGeneexpSurvival-ZB7IWGPS.js +101 -0
  297. package/dist/summarizeMutationCnv-CUSYURDK.js +155 -0
  298. package/dist/summarizeMutationDiagnosis-NSPCT5WI.js +31 -0
  299. package/dist/summarizeMutationSurvival-2PZZCC4G.js +95 -0
  300. package/dist/summary-CYDZSICI.js +40 -0
  301. package/dist/summary.integration.spec-2TLKJS3X.js +405 -0
  302. package/dist/summaryInput-BRQ5JRGV.js +238 -0
  303. package/dist/sunburst-435LKL2S.js +34 -0
  304. package/dist/sunburst-D5WAGHX6.js +274 -0
  305. package/dist/survival-M63B6DY5.js +1248 -0
  306. package/dist/survival-M63B6DY5.js.map +7 -0
  307. package/dist/survival-MHESSYWF.js +49 -0
  308. package/dist/survival.integration.spec-WMS3FTNR.js +609 -0
  309. package/dist/svg2pdf.es.min-PHWTISHJ.js +3157 -0
  310. package/dist/svgraph-LYFGVTHI.js +1377 -0
  311. package/dist/svmr-UR67QZIP.js +3834 -0
  312. package/dist/swimmer-RP4SUEZS.js +993 -0
  313. package/dist/table-V4OOMF3B.js +192 -0
  314. package/dist/termCollection-VHGVBSWW.js +29 -0
  315. package/dist/termCollection-WSNM3YFK.js +247 -0
  316. package/dist/termCollection.unit.spec-NCZUZL6P.js +295 -0
  317. package/dist/termCollectionFractionSelection-XM3FJWBQ.js +38 -0
  318. package/dist/termCollectionFractionSelection.unit.spec-VO4SAV72.js +184 -0
  319. package/dist/tk-G5PKWSXJ.js +1193 -0
  320. package/dist/tk-KIELQHVI.js +37 -0
  321. package/dist/tp.ui-HAKSWLFB.js +1453 -0
  322. package/dist/tvs.categorical-G4DM4JY5.js +28 -0
  323. package/dist/tvs.condition-E5NUQONB.js +160 -0
  324. package/dist/tvs.dt-T4BK24VZ.js +34 -0
  325. package/dist/tvs.dtcnv.categorical-V57TZFRA.js +31 -0
  326. package/dist/tvs.dtcnv.continuous-D4YIB4PN.js +72 -0
  327. package/dist/tvs.dtfusion-6DUFLUNH.js +31 -0
  328. package/dist/tvs.dtitd-GOEPAQGR.js +31 -0
  329. package/dist/tvs.dtsnvindel-ASTXGC4O.js +31 -0
  330. package/dist/tvs.dtsv-7TGDEWXK.js +31 -0
  331. package/dist/tvs.multivalue-SEIGL2W6.js +84 -0
  332. package/dist/tvs.numeric-MLLX5L7Z.js +32 -0
  333. package/dist/tvs.samplelst-HAV7C2EA.js +95 -0
  334. package/dist/tvs.survival-3B522MT2.js +110 -0
  335. package/dist/tvs.termCollection-R5NG4VXP.js +118 -0
  336. package/dist/vocabulary-LBNHNSEN.js +32 -0
  337. package/dist/wsi.direct-ZEZO4NLR.js +11515 -0
  338. package/dist/wsi.direct-ZEZO4NLR.js.map +7 -0
  339. package/package.json +3 -3
  340. package/src/databrowser/dictionary.parse.js +4 -1
  341. package/dist/2dmaf-7HOQRW25.js +0 -1362
  342. package/dist/AggMatrixInput-LMVRNQBN.js +0 -402
  343. package/dist/AggregateMatrix-AMQTLJV2.js +0 -37
  344. package/dist/AppHeader-AK7O2HUI.js +0 -826
  345. package/dist/BoxPlot-CE5JWPJH.js +0 -1229
  346. package/dist/BoxPlot-CE5JWPJH.js.map +0 -7
  347. package/dist/CorrelationVolcano-DO7I63FR.js +0 -613
  348. package/dist/Cuminc-NHABXYET.js +0 -1217
  349. package/dist/DE-A327BZNW.js +0 -85
  350. package/dist/DEinput-VKRBFYUE.js +0 -479
  351. package/dist/DM-NU23H5PL.js +0 -86
  352. package/dist/DifferentialAnalysis-SH47YDQQ.js +0 -236
  353. package/dist/Disco-DOLET5UY.js +0 -3384
  354. package/dist/Disco.UI-6J6INV56.js +0 -239
  355. package/dist/DmrPlot-KYZOQB2Y.js +0 -361
  356. package/dist/DmrPlot-KYZOQB2Y.js.map +0 -7
  357. package/dist/GB-LQCK6YNB.js +0 -1388
  358. package/dist/GSEA-KLTV4JDP.js +0 -870
  359. package/dist/GeneExpInput-ZMTWWDO7.js +0 -38
  360. package/dist/Geomap-4NP2JPMA.js +0 -80
  361. package/dist/HicApp-DXF6B4YR.js +0 -2240
  362. package/dist/IDCViewer-HEQYB6AY.js +0 -10808
  363. package/dist/IDCViewer-HEQYB6AY.js.map +0 -7
  364. package/dist/NumBinaryEditor-JZZS67NB.js +0 -274
  365. package/dist/NumBinaryEditor.unit.spec-S2MKCJYX.js +0 -308
  366. package/dist/NumContEditor-IRZPIDJU.js +0 -100
  367. package/dist/NumContEditor.unit.spec-JDSSEJLJ.js +0 -160
  368. package/dist/NumCustomBinEditor-E2FJNISZ.js +0 -29
  369. package/dist/NumCustomBinEditor.unit.spec-26GWME2W.js +0 -393
  370. package/dist/NumDiscreteEditor-JECWQKST.js +0 -165
  371. package/dist/NumDiscreteEditor.unit.spec-DG52CSV5.js +0 -229
  372. package/dist/NumRegularBinEditor-W726TJIB.js +0 -29
  373. package/dist/NumRegularBinEditor.unit.spec-GG7XXYLQ.js +0 -274
  374. package/dist/NumSplineEditor-7UYPJI57.js +0 -205
  375. package/dist/NumSplineEditor.unit.spec-MESJVLZV.js +0 -220
  376. package/dist/NumericDensity-VFXO6VZ7.js +0 -29
  377. package/dist/NumericDensity.unit.spec-OQDBGUQJ.js +0 -414
  378. package/dist/NumericHandler-EJHWVASI.js +0 -30
  379. package/dist/NumericHandler.unit.spec-VUIGKU4C.js +0 -225
  380. package/dist/ProteomeInput-ATBCNQLN.js +0 -610
  381. package/dist/Regression-ZL6XKZA6.js +0 -1412
  382. package/dist/RunChart2-NUSOF6LW.js +0 -744
  383. package/dist/SC-A55NDRZ2.js +0 -1290
  384. package/dist/Violin-DRTD42BR.js +0 -1092
  385. package/dist/Violin-DRTD42BR.js.map +0 -7
  386. package/dist/Volcano-UNZ6OAWB.js +0 -2657
  387. package/dist/Wsi-CC7GX3HL.js +0 -636
  388. package/dist/Wsi-CC7GX3HL.js.map +0 -7
  389. package/dist/aboutSunburst-VTBLSKCY.js +0 -93
  390. package/dist/adSandbox-7RA6NVM4.js +0 -29
  391. package/dist/animatedBubbleChart-BRGFUEYW.js +0 -542
  392. package/dist/app-2GMWQIJZ.js +0 -28
  393. package/dist/app-4KI25R4S.js +0 -38
  394. package/dist/bam-B3JWSAZ5.js +0 -872
  395. package/dist/barchart-E2IWHDLL.js +0 -38
  396. package/dist/barchart2-QDATDPDT.js +0 -305
  397. package/dist/block-IS3WJCNW.js +0 -6203
  398. package/dist/block.init-ZCEUPHX2.js +0 -29
  399. package/dist/block.mds.expressionrank-WCJNZ63X.js +0 -350
  400. package/dist/block.mds.geneboxplot-BCXVN3GL.js +0 -819
  401. package/dist/block.mds.junction-J7H7WNMN.js +0 -1534
  402. package/dist/block.mds.svcnv-GJ6BSNGY.js +0 -6325
  403. package/dist/block.svg-SR5EQSKQ.js +0 -155
  404. package/dist/block.tk.aicheck-RPKZMKLM.js +0 -274
  405. package/dist/block.tk.bam-BDF3UFRA.js +0 -1906
  406. package/dist/block.tk.bigwig.ui-2MG6M4CP.js +0 -202
  407. package/dist/block.tk.hicstraw-JFMLXXLH.js +0 -814
  408. package/dist/block.tk.junction-ZDFTQJGA.js +0 -2353
  409. package/dist/block.tk.junction.textmatrixui-OHAZEQNT.js +0 -190
  410. package/dist/block.tk.ld-BRYYNH55.js +0 -90
  411. package/dist/block.tk.menu-XQKB62BG.js +0 -1050
  412. package/dist/block.tk.pgv-76I52IUX.js +0 -934
  413. package/dist/brainImaging-65UMKH6J.js +0 -550
  414. package/dist/brainRegions-AURQKH5R.js +0 -213
  415. package/dist/bubbleHeatmap-T3LEYZBU.js +0 -374
  416. package/dist/cellTypeBubbleHeatmap-UPY53IPQ.js +0 -274
  417. package/dist/chunk-2CQ4YA7M.js +0 -257
  418. package/dist/chunk-2FTQ5RMP.js +0 -340
  419. package/dist/chunk-2GWAEK4R.js +0 -276
  420. package/dist/chunk-2OMX5AYB.js +0 -195
  421. package/dist/chunk-2VBU42YX.js +0 -299
  422. package/dist/chunk-36CCFKWS.js +0 -134
  423. package/dist/chunk-3A2CWTBI.js +0 -159
  424. package/dist/chunk-3I26BABG.js +0 -182
  425. package/dist/chunk-3TO7TWHS.js +0 -2008
  426. package/dist/chunk-3WU2KUY2.js +0 -13624
  427. package/dist/chunk-3WU2KUY2.js.map +0 -7
  428. package/dist/chunk-3YQYWX4M.js +0 -26716
  429. package/dist/chunk-3YQYWX4M.js.map +0 -7
  430. package/dist/chunk-4MGXKCPS.js +0 -2685
  431. package/dist/chunk-53VTLOOW.js +0 -1339
  432. package/dist/chunk-5DI4UNH5.js +0 -562
  433. package/dist/chunk-6T4MN7LV.js +0 -397
  434. package/dist/chunk-76SL5VYA.js +0 -255
  435. package/dist/chunk-76SL5VYA.js.map +0 -7
  436. package/dist/chunk-7BD532EJ.js +0 -70
  437. package/dist/chunk-7CE2X6HL.js +0 -56
  438. package/dist/chunk-7MJENXZ6.js +0 -2799
  439. package/dist/chunk-7SFK32JP.js +0 -398
  440. package/dist/chunk-7TG44KO3.js +0 -2334
  441. package/dist/chunk-AFEPQY5B.js +0 -2922
  442. package/dist/chunk-AFEPQY5B.js.map +0 -7
  443. package/dist/chunk-C7KUMZQM.js +0 -59
  444. package/dist/chunk-C7ROKWV2.js +0 -140
  445. package/dist/chunk-CAH6LJ5Z.js +0 -31
  446. package/dist/chunk-CDUBFFZ7.js +0 -82
  447. package/dist/chunk-CPVUBEDA.js +0 -54
  448. package/dist/chunk-CPWM4S3K.js +0 -123
  449. package/dist/chunk-DEIIID6R.js +0 -1219
  450. package/dist/chunk-E54XQGQM.js +0 -4389
  451. package/dist/chunk-EYKJQJ7R.js +0 -382
  452. package/dist/chunk-FE5TCBIT.js +0 -30
  453. package/dist/chunk-FZYVPRVQ.js +0 -38
  454. package/dist/chunk-FZYVPRVQ.js.map +0 -7
  455. package/dist/chunk-G4QRB64M.js +0 -418
  456. package/dist/chunk-GBKQHVKJ.js +0 -274
  457. package/dist/chunk-GUW7VTUL.js +0 -281
  458. package/dist/chunk-H7HTCD2Q.js +0 -55
  459. package/dist/chunk-HQNH2UX6.js +0 -194
  460. package/dist/chunk-HYW74ZT2.js +0 -103
  461. package/dist/chunk-HZTSMLBZ.js +0 -466
  462. package/dist/chunk-I2QKZURX.js +0 -5214
  463. package/dist/chunk-II5ZAY52.js +0 -516
  464. package/dist/chunk-IW5XJT3H.js +0 -468
  465. package/dist/chunk-JDRUY7IR.js +0 -266
  466. package/dist/chunk-JHLF2ZC2.js +0 -472
  467. package/dist/chunk-JUPLOOCO.js +0 -141
  468. package/dist/chunk-JXVRNCAZ.js +0 -96
  469. package/dist/chunk-K2ARLT2A.js +0 -26
  470. package/dist/chunk-K2ARLT2A.js.map +0 -7
  471. package/dist/chunk-KBTFT76L.js +0 -2305
  472. package/dist/chunk-KBTFT76L.js.map +0 -7
  473. package/dist/chunk-L2H4W3UM.js +0 -237
  474. package/dist/chunk-LXS2GSF4.js +0 -240
  475. package/dist/chunk-MANAUI7R.js +0 -54
  476. package/dist/chunk-MEUSRAOE.js +0 -170
  477. package/dist/chunk-MG5U4JYY.js +0 -102
  478. package/dist/chunk-MHWYRNGA.js +0 -348
  479. package/dist/chunk-MNN6NFZK.js +0 -203
  480. package/dist/chunk-N4ULQIGJ.js +0 -379
  481. package/dist/chunk-NX5IB4IY.js +0 -37
  482. package/dist/chunk-O3XTTT4K.js +0 -217
  483. package/dist/chunk-PGMHFGW7.js +0 -102
  484. package/dist/chunk-PUIQ3UF7.js +0 -176
  485. package/dist/chunk-QBGMD5UV.js +0 -50
  486. package/dist/chunk-QQH32U6O.js +0 -296
  487. package/dist/chunk-R3RD3VEX.js +0 -184
  488. package/dist/chunk-RIHO7ZD5.js +0 -119
  489. package/dist/chunk-RRKUFU4L.js +0 -243
  490. package/dist/chunk-S72DZX6B.js +0 -848
  491. package/dist/chunk-T4KD2FBB.js +0 -263
  492. package/dist/chunk-TLWU7JWO.js +0 -692
  493. package/dist/chunk-TUZ3MJVF.js +0 -6375
  494. package/dist/chunk-TZVSDB7S.js +0 -2102
  495. package/dist/chunk-UHPFEULI.js +0 -480
  496. package/dist/chunk-WJLRU5OF.js +0 -5786
  497. package/dist/chunk-WJLRU5OF.js.map +0 -7
  498. package/dist/chunk-XYAT642G.js +0 -305
  499. package/dist/chunk-Y3CSXSOZ.js +0 -652
  500. package/dist/chunk-Y3CSXSOZ.js.map +0 -7
  501. package/dist/chunk-YJFK6C2M.js +0 -35
  502. package/dist/chunk-Z44FLO2F.js +0 -626
  503. package/dist/chunk-Z5ECCUNG.js +0 -444
  504. package/dist/chunk-Z6CMJQKG.js +0 -1253
  505. package/dist/chunk-Z6LQ3URB.js +0 -14
  506. package/dist/chunk-ZESHWW2R.js +0 -54
  507. package/dist/chunk-ZK4JKSUK.js +0 -56
  508. package/dist/chunk-ZV7LZY67.js +0 -550
  509. package/dist/cohort-T3SEGYG3.js +0 -66
  510. package/dist/cohortSunburst-HIWGWD7A.js +0 -402
  511. package/dist/condition-KEFHKNUU.js +0 -323
  512. package/dist/controls-MDUZLMY7.js +0 -30
  513. package/dist/controls.config-4XZZXUZV.js +0 -30
  514. package/dist/correlation-55LF7GPF.js +0 -91
  515. package/dist/customdata.inputui-6KIPVY2Q.js +0 -280
  516. package/dist/dataDownload-XCFCSKDO.js +0 -326
  517. package/dist/databrowser.ui-HLWUAHSZ.js +0 -421
  518. package/dist/databrowser.ui-HLWUAHSZ.js.map +0 -7
  519. package/dist/dictionary-P5JGXQSW.js +0 -109
  520. package/dist/dnaMethylation-ZNR5U6HS.js +0 -29
  521. package/dist/dnaMethylation.integration.spec-7AMBXA4M.js +0 -194
  522. package/dist/dofetch-4P5F5ZGU.js +0 -49
  523. package/dist/e2pca-AJQ22AHJ.js +0 -340
  524. package/dist/ep-3ZEN3C4U.js +0 -1247
  525. package/dist/expclust.gdc.spec-IQXJYSCH.js +0 -298
  526. package/dist/facet-RPFQA3DH.js +0 -556
  527. package/dist/gb-R4D647D2.js +0 -77
  528. package/dist/geneExpClustering-JLJL6S3Q.js +0 -240
  529. package/dist/geneExpression-NWNOCRVM.js +0 -309
  530. package/dist/geneExpression-TK75VNQG.js +0 -29
  531. package/dist/geneExpression.unit.spec-4HTUTQ5K.js +0 -151
  532. package/dist/geneORA-7FP6KZSE.js +0 -269
  533. package/dist/geneRanking-SBFOUZTQ.js +0 -544
  534. package/dist/geneVariant-3DHX4LQL.js +0 -289
  535. package/dist/geneVariant-SUQWO6ON.js +0 -32
  536. package/dist/geneVariant.integration.spec-KOUVJAFB.js +0 -672
  537. package/dist/genefusion.ui-DAIBYS5I.js +0 -299
  538. package/dist/geneset-MKSYRPV4.js +0 -199
  539. package/dist/genomeBrowser.spec-JSHMD3CR.js +0 -272
  540. package/dist/grin2-RFRYBHBV.js +0 -945
  541. package/dist/grin2-Z4ETF6OM.js +0 -66
  542. package/dist/hierCluster-C67VO3VF.js +0 -55
  543. package/dist/hierCluster-CEJTROX7.js +0 -51
  544. package/dist/hierCluster.config-G3X5I72U.js +0 -32
  545. package/dist/hierCluster.integration.spec-HTS2GNUR.js +0 -479
  546. package/dist/hierCluster.interactivity-4JVDLIPZ.js +0 -45
  547. package/dist/hierCluster.renderers-YGX6MZZW.js +0 -18
  548. package/dist/imagePlot-HNKJX6YK.js +0 -152
  549. package/dist/importPlot-XUL6XFBL.js +0 -8
  550. package/dist/isoformExpression-ZJJUXJDF.js +0 -31
  551. package/dist/isoformExpression.unit.spec-INU6WFAM.js +0 -233
  552. package/dist/jspdf.es.min-THXUXEDC.js +0 -40
  553. package/dist/junction-FKYIKDC4.js +0 -32
  554. package/dist/junction.customTerm-3R2GNE3A.js +0 -15
  555. package/dist/junction.unit.spec-VRFIOT4T.js +0 -178
  556. package/dist/launch.adhoc-SDMXDSHS.js +0 -33
  557. package/dist/leftlabel.sample-S33KB225.js +0 -253
  558. package/dist/lollipop-WXQOGEY7.js +0 -162
  559. package/dist/maf-K6ZUNABR.js +0 -451
  560. package/dist/maftimeline-Y2LETT7W.js +0 -583
  561. package/dist/matrix-LADX4K5W.js +0 -50
  562. package/dist/matrix-M63KP6IL.js +0 -55
  563. package/dist/matrix.cells-5RTZUJVN.js +0 -25
  564. package/dist/matrix.config-ZMT7A2D5.js +0 -33
  565. package/dist/matrix.data-Y5TPRGMW.js +0 -22
  566. package/dist/matrix.groups-6DXCAY4P.js +0 -25
  567. package/dist/matrix.integration.spec-LJ5EQ65D.js +0 -3156
  568. package/dist/matrix.interactivity-2ISWFOK2.js +0 -33
  569. package/dist/matrix.layout-EAYTUK2H.js +0 -35
  570. package/dist/matrix.legend-S3E76TVO.js +0 -19
  571. package/dist/matrix.renderers-XUMZZUDW.js +0 -30
  572. package/dist/matrix.serieses-3UGLZW25.js +0 -18
  573. package/dist/matrix.sort-A7CNLDUJ.js +0 -25
  574. package/dist/matrix.sort.unit.spec-UPG3D6GE.js +0 -464
  575. package/dist/matrix.sorterUi-6PZR3YOD.js +0 -15
  576. package/dist/matrix.sorterUi.unit.spec-WPMREECT.js +0 -334
  577. package/dist/matrix.unit.spec-Z2HXOXM4.js +0 -146
  578. package/dist/mavb-WT4XM6U3.js +0 -726
  579. package/dist/mds.samplescatterplot-UTEBJF66.js +0 -1545
  580. package/dist/mds.survivalplot-DXWJA4IJ.js +0 -472
  581. package/dist/multivalue-LR7Z3OLZ.js +0 -79
  582. package/dist/numericDictTermCluster-6XDVVWLE.js +0 -62
  583. package/dist/oncomatrix-WV2LSH3X.js +0 -286
  584. package/dist/oncomatrix.spec-S7KHSJJG.js +0 -439
  585. package/dist/plot.2dvaf-FH7PMZ3U.js +0 -368
  586. package/dist/plot.app-DDB6YZJ3.js +0 -32
  587. package/dist/plot.barplot-XVSZDYKB.js +0 -93
  588. package/dist/plot.boxplot-M6URTYED.js +0 -142
  589. package/dist/plot.brainImaging-GNIBY3XC.js +0 -51
  590. package/dist/plot.disco-EH4E7B3O.js +0 -98
  591. package/dist/plot.ssgq-7HIGQHOT.js +0 -130
  592. package/dist/plot.vaf2cov-MGJHP2PV.js +0 -249
  593. package/dist/polar2-VYUW5GZO.js +0 -228
  594. package/dist/profileForms-LHJCFAP6.js +0 -937
  595. package/dist/profilePlot-UF2KERDD.js +0 -45
  596. package/dist/proteinView-5AF4I3PB.js +0 -1346
  597. package/dist/proteomeCohortCompare-4DYWZTLQ.js +0 -866
  598. package/dist/pseudbulk.unit.spec-ZTAP2YYA.js +0 -82
  599. package/dist/pseudobulk-A2KE233U.js +0 -31
  600. package/dist/qualitative-3FDE4JUM.js +0 -34
  601. package/dist/qualitative-NVWG57TK.js +0 -241
  602. package/dist/radar2-3CQ7T5QY.js +0 -323
  603. package/dist/radarFacility2-ERBWZQFH.js +0 -331
  604. package/dist/rememberedGvQ.unit.spec-SHTMMZGG.js +0 -210
  605. package/dist/render-LIUPN5SK.js +0 -29
  606. package/dist/report-JWNWR6NA.js +0 -213
  607. package/dist/sampleView-BQ6HCCKT.js +0 -39
  608. package/dist/samplelst-RQWH7WOX.js +0 -114
  609. package/dist/samplematrix-7FDWXSZA.js +0 -2188
  610. package/dist/sc-J2ZPQFGP.js +0 -77
  611. package/dist/scatter-7FQLITP7.js +0 -919
  612. package/dist/scatter-BDIZX73F.js +0 -84
  613. package/dist/selectGenomeWithTklst-52BHWMVR.js +0 -125
  614. package/dist/singleCellCellType-OC6QG6MU.js +0 -29
  615. package/dist/singleCellCellType.unit.spec-R3QPRXVY.js +0 -150
  616. package/dist/singleCellGeneExpression-QDRIVFQ5.js +0 -29
  617. package/dist/singleCellGeneExpression.unit.spec-FHUA6VWD.js +0 -144
  618. package/dist/singleCellNumericValue-2PKMS7NM.js +0 -29
  619. package/dist/singleCellNumericValue.unit.spec-YXDYOFJ5.js +0 -412
  620. package/dist/singleCellPlot-5RVA7KM7.js +0 -44
  621. package/dist/singlecell-5OUPDXEQ.js +0 -1562
  622. package/dist/singlecell-MLKBNJAG.js +0 -77
  623. package/dist/snp-ARLPF6ZU.js +0 -29
  624. package/dist/snp.unit.spec-MUB7YKMP.js +0 -167
  625. package/dist/snplocus-EZ33TXDU.js +0 -200
  626. package/dist/snplst-GLTNXAE5.js +0 -36
  627. package/dist/spliceevent.a53ss.diagram-FMP6CNCV.js +0 -142
  628. package/dist/spliceevent.exonskip.diagram-QRQ3DZ3I.js +0 -274
  629. package/dist/spliceevent.noeventdiagram-LAPCKJS3.js +0 -451
  630. package/dist/ssGSEA-WUE2PKUU.js +0 -29
  631. package/dist/ssGSEA.unit.spec-Y7KCKEGK.js +0 -79
  632. package/dist/stattable-GZF4ZWTT.js +0 -112
  633. package/dist/studyCatalog-PPV7WB2O.js +0 -457
  634. package/dist/summarizeCnvGeneexp-LZ7UWWZS.js +0 -154
  635. package/dist/summarizeGeneexpSurvival-VBRJFZR6.js +0 -101
  636. package/dist/summarizeMutationCnv-6LUM4YR7.js +0 -155
  637. package/dist/summarizeMutationDiagnosis-B47HKNM6.js +0 -31
  638. package/dist/summarizeMutationSurvival-6GH3MTLN.js +0 -95
  639. package/dist/summary-BBI7MS3B.js +0 -40
  640. package/dist/summary.integration.spec-SYLP7X3F.js +0 -405
  641. package/dist/summaryInput-5PPK7KRL.js +0 -238
  642. package/dist/sunburst-BVPS44ZR.js +0 -34
  643. package/dist/sunburst-H57DYWLE.js +0 -274
  644. package/dist/survival-C26WPJFT.js +0 -1248
  645. package/dist/survival-C26WPJFT.js.map +0 -7
  646. package/dist/survival-PRHRAD2T.js +0 -49
  647. package/dist/survival.integration.spec-KH6GPVZ4.js +0 -609
  648. package/dist/svg2pdf.es.min-BRE45YLJ.js +0 -3157
  649. package/dist/svgraph-VVGRE672.js +0 -1377
  650. package/dist/svmr-OKTQIHLN.js +0 -3834
  651. package/dist/swimmer-U5COUOM6.js +0 -993
  652. package/dist/table-I7SINEY4.js +0 -192
  653. package/dist/termCollection-QCSPDISY.js +0 -29
  654. package/dist/termCollection-TFNI2VIX.js +0 -247
  655. package/dist/termCollection.unit.spec-22E76H2W.js +0 -295
  656. package/dist/termCollectionFractionSelection-VZ5JJ7KV.js +0 -38
  657. package/dist/termCollectionFractionSelection.unit.spec-KCAQU2BV.js +0 -184
  658. package/dist/tk-GBNB42AI.js +0 -37
  659. package/dist/tk-YOBCGYFC.js +0 -1193
  660. package/dist/tp.ui-OEL4S73T.js +0 -1453
  661. package/dist/tvs.categorical-3X6CO5EA.js +0 -28
  662. package/dist/tvs.condition-YZQSSONN.js +0 -160
  663. package/dist/tvs.dt-GCMLLAJC.js +0 -34
  664. package/dist/tvs.dtcnv.categorical-ZSYUQQXP.js +0 -31
  665. package/dist/tvs.dtcnv.continuous-T67YFFAE.js +0 -72
  666. package/dist/tvs.dtfusion-VR2NAX3F.js +0 -31
  667. package/dist/tvs.dtitd-O3MIZPZO.js +0 -31
  668. package/dist/tvs.dtsnvindel-6G7UNHSQ.js +0 -31
  669. package/dist/tvs.dtsv-VZ2I4AMH.js +0 -31
  670. package/dist/tvs.multivalue-6KFI5ELB.js +0 -84
  671. package/dist/tvs.numeric-SFSOLXVF.js +0 -32
  672. package/dist/tvs.samplelst-WD5UMMTP.js +0 -95
  673. package/dist/tvs.survival-A2RUXAXJ.js +0 -110
  674. package/dist/tvs.termCollection-NVW4LO44.js +0 -118
  675. package/dist/vocabulary-FASF5IUM.js +0 -32
  676. package/dist/wsi.direct-O6HFKPCP.js +0 -11514
  677. package/dist/wsi.direct-O6HFKPCP.js.map +0 -7
  678. /package/dist/{2dmaf-7HOQRW25.js.map → 2dmaf-OWA6REJ5.js.map} +0 -0
  679. /package/dist/{AggMatrixInput-LMVRNQBN.js.map → AggMatrixInput-5GC33U5A.js.map} +0 -0
  680. /package/dist/{AggregateMatrix-AMQTLJV2.js.map → AggregateMatrix-CMJFO53B.js.map} +0 -0
  681. /package/dist/{AppHeader-AK7O2HUI.js.map → AppHeader-KJCXF35P.js.map} +0 -0
  682. /package/dist/{CorrelationVolcano-DO7I63FR.js.map → CorrelationVolcano-GHTPFM2V.js.map} +0 -0
  683. /package/dist/{Cuminc-NHABXYET.js.map → Cuminc-HHBYFFFM.js.map} +0 -0
  684. /package/dist/{DE-A327BZNW.js.map → DE-VVKIMVXD.js.map} +0 -0
  685. /package/dist/{DEinput-VKRBFYUE.js.map → DEinput-F7HSM2SO.js.map} +0 -0
  686. /package/dist/{DM-NU23H5PL.js.map → DM-UBCIWZEY.js.map} +0 -0
  687. /package/dist/{DifferentialAnalysis-SH47YDQQ.js.map → DifferentialAnalysis-UUXXMOQS.js.map} +0 -0
  688. /package/dist/{Disco-DOLET5UY.js.map → Disco-NHXU7LG7.js.map} +0 -0
  689. /package/dist/{Disco.UI-6J6INV56.js.map → Disco.UI-GSSSK4YJ.js.map} +0 -0
  690. /package/dist/{GB-LQCK6YNB.js.map → GB-CIQGJBJP.js.map} +0 -0
  691. /package/dist/{GSEA-KLTV4JDP.js.map → GSEA-3GVFEJTX.js.map} +0 -0
  692. /package/dist/{GeneExpInput-ZMTWWDO7.js.map → GeneExpInput-CFU3Q7FM.js.map} +0 -0
  693. /package/dist/{Geomap-4NP2JPMA.js.map → Geomap-NMVFA77Q.js.map} +0 -0
  694. /package/dist/{HicApp-DXF6B4YR.js.map → HicApp-4FCGUUJD.js.map} +0 -0
  695. /package/dist/{NumBinaryEditor-JZZS67NB.js.map → NumBinaryEditor-4WUDJRSU.js.map} +0 -0
  696. /package/dist/{NumBinaryEditor.unit.spec-S2MKCJYX.js.map → NumBinaryEditor.unit.spec-MV53GTGQ.js.map} +0 -0
  697. /package/dist/{NumContEditor-IRZPIDJU.js.map → NumContEditor-U4R6HPDM.js.map} +0 -0
  698. /package/dist/{NumContEditor.unit.spec-JDSSEJLJ.js.map → NumContEditor.unit.spec-J4ANPBSF.js.map} +0 -0
  699. /package/dist/{NumCustomBinEditor-E2FJNISZ.js.map → NumCustomBinEditor-QRGDNFP4.js.map} +0 -0
  700. /package/dist/{NumCustomBinEditor.unit.spec-26GWME2W.js.map → NumCustomBinEditor.unit.spec-PPF233FW.js.map} +0 -0
  701. /package/dist/{NumDiscreteEditor-JECWQKST.js.map → NumDiscreteEditor-LNK4KHSL.js.map} +0 -0
  702. /package/dist/{NumDiscreteEditor.unit.spec-DG52CSV5.js.map → NumDiscreteEditor.unit.spec-QY6O62JU.js.map} +0 -0
  703. /package/dist/{NumRegularBinEditor-W726TJIB.js.map → NumRegularBinEditor-XTINNM5L.js.map} +0 -0
  704. /package/dist/{NumRegularBinEditor.unit.spec-GG7XXYLQ.js.map → NumRegularBinEditor.unit.spec-FSLARHOC.js.map} +0 -0
  705. /package/dist/{NumSplineEditor-7UYPJI57.js.map → NumSplineEditor-YSQTKBFA.js.map} +0 -0
  706. /package/dist/{NumSplineEditor.unit.spec-MESJVLZV.js.map → NumSplineEditor.unit.spec-QNITPY7R.js.map} +0 -0
  707. /package/dist/{NumericDensity-VFXO6VZ7.js.map → NumericDensity-J5WS74JZ.js.map} +0 -0
  708. /package/dist/{NumericDensity.unit.spec-OQDBGUQJ.js.map → NumericDensity.unit.spec-4WQWLSSJ.js.map} +0 -0
  709. /package/dist/{NumericHandler-EJHWVASI.js.map → NumericHandler-ZEWC25U2.js.map} +0 -0
  710. /package/dist/{NumericHandler.unit.spec-VUIGKU4C.js.map → NumericHandler.unit.spec-A3G5FWGV.js.map} +0 -0
  711. /package/dist/{ProteomeInput-ATBCNQLN.js.map → ProteomeInput-7DXGQIOO.js.map} +0 -0
  712. /package/dist/{Regression-ZL6XKZA6.js.map → Regression-VQ5MC6KW.js.map} +0 -0
  713. /package/dist/{RunChart2-NUSOF6LW.js.map → RunChart2-B33CQUXH.js.map} +0 -0
  714. /package/dist/{SC-A55NDRZ2.js.map → SC-LEVWXS4P.js.map} +0 -0
  715. /package/dist/{Volcano-UNZ6OAWB.js.map → Volcano-NTXVM3UR.js.map} +0 -0
  716. /package/dist/{aboutSunburst-VTBLSKCY.js.map → aboutSunburst-NGH3V74S.js.map} +0 -0
  717. /package/dist/{adSandbox-7RA6NVM4.js.map → adSandbox-VOAL4P5A.js.map} +0 -0
  718. /package/dist/{animatedBubbleChart-BRGFUEYW.js.map → animatedBubbleChart-HKOGYPSS.js.map} +0 -0
  719. /package/dist/{app-2GMWQIJZ.js.map → app-AZLUP2BA.js.map} +0 -0
  720. /package/dist/{app-4KI25R4S.js.map → app-JJPKGBEV.js.map} +0 -0
  721. /package/dist/{bam-B3JWSAZ5.js.map → bam-GIZSH2MF.js.map} +0 -0
  722. /package/dist/{barchart-E2IWHDLL.js.map → barchart-CVTXLIIQ.js.map} +0 -0
  723. /package/dist/{barchart2-QDATDPDT.js.map → barchart2-XYC6WITL.js.map} +0 -0
  724. /package/dist/{block-IS3WJCNW.js.map → block-DXRSU62C.js.map} +0 -0
  725. /package/dist/{block.init-ZCEUPHX2.js.map → block.init-U4Y6ROG4.js.map} +0 -0
  726. /package/dist/{block.mds.expressionrank-WCJNZ63X.js.map → block.mds.expressionrank-BB26LVTM.js.map} +0 -0
  727. /package/dist/{block.mds.geneboxplot-BCXVN3GL.js.map → block.mds.geneboxplot-VVKEU3SL.js.map} +0 -0
  728. /package/dist/{block.mds.junction-J7H7WNMN.js.map → block.mds.junction-XUZX6EAQ.js.map} +0 -0
  729. /package/dist/{block.mds.svcnv-GJ6BSNGY.js.map → block.mds.svcnv-WDSACPWG.js.map} +0 -0
  730. /package/dist/{block.svg-SR5EQSKQ.js.map → block.svg-T5BA7VLS.js.map} +0 -0
  731. /package/dist/{block.tk.aicheck-RPKZMKLM.js.map → block.tk.aicheck-3VN2RDPD.js.map} +0 -0
  732. /package/dist/{block.tk.bam-BDF3UFRA.js.map → block.tk.bam-5XZ3N4Y7.js.map} +0 -0
  733. /package/dist/{block.tk.bigwig.ui-2MG6M4CP.js.map → block.tk.bigwig.ui-JODVOS4R.js.map} +0 -0
  734. /package/dist/{block.tk.hicstraw-JFMLXXLH.js.map → block.tk.hicstraw-AFNWJ2YP.js.map} +0 -0
  735. /package/dist/{block.tk.junction-ZDFTQJGA.js.map → block.tk.junction-T2G6XEVS.js.map} +0 -0
  736. /package/dist/{block.tk.junction.textmatrixui-OHAZEQNT.js.map → block.tk.junction.textmatrixui-FL5MZH7K.js.map} +0 -0
  737. /package/dist/{block.tk.ld-BRYYNH55.js.map → block.tk.ld-JKBXDOB5.js.map} +0 -0
  738. /package/dist/{block.tk.menu-XQKB62BG.js.map → block.tk.menu-2X4BN7BN.js.map} +0 -0
  739. /package/dist/{block.tk.pgv-76I52IUX.js.map → block.tk.pgv-ASUVEGQF.js.map} +0 -0
  740. /package/dist/{brainImaging-65UMKH6J.js.map → brainImaging-27442GMQ.js.map} +0 -0
  741. /package/dist/{brainRegions-AURQKH5R.js.map → brainRegions-3367RQCU.js.map} +0 -0
  742. /package/dist/{bubbleHeatmap-T3LEYZBU.js.map → bubbleHeatmap-IOVS6SHX.js.map} +0 -0
  743. /package/dist/{cellTypeBubbleHeatmap-UPY53IPQ.js.map → cellTypeBubbleHeatmap-7XJP6B5W.js.map} +0 -0
  744. /package/dist/{chunk-7CE2X6HL.js.map → chunk-2CTAWHGB.js.map} +0 -0
  745. /package/dist/{chunk-S72DZX6B.js.map → chunk-2ESAB2PP.js.map} +0 -0
  746. /package/dist/{chunk-HQNH2UX6.js.map → chunk-2GP3LH7J.js.map} +0 -0
  747. /package/dist/{chunk-MANAUI7R.js.map → chunk-2UGYE6EJ.js.map} +0 -0
  748. /package/dist/{chunk-MEUSRAOE.js.map → chunk-3TJBSAIO.js.map} +0 -0
  749. /package/dist/{chunk-G4QRB64M.js.map → chunk-46KQE4DV.js.map} +0 -0
  750. /package/dist/{chunk-ZK4JKSUK.js.map → chunk-4ICGMPPE.js.map} +0 -0
  751. /package/dist/{chunk-I2QKZURX.js.map → chunk-4RQTQDHF.js.map} +0 -0
  752. /package/dist/{chunk-JHLF2ZC2.js.map → chunk-5FD6NRGE.js.map} +0 -0
  753. /package/dist/{chunk-3A2CWTBI.js.map → chunk-5JBOGNSG.js.map} +0 -0
  754. /package/dist/{chunk-Z44FLO2F.js.map → chunk-5OWPH4IH.js.map} +0 -0
  755. /package/dist/{chunk-FE5TCBIT.js.map → chunk-63TCOVAK.js.map} +0 -0
  756. /package/dist/{chunk-DEIIID6R.js.map → chunk-7ONTCJWB.js.map} +0 -0
  757. /package/dist/{chunk-GUW7VTUL.js.map → chunk-7Q4KAFCS.js.map} +0 -0
  758. /package/dist/{chunk-PGMHFGW7.js.map → chunk-7UXV4IX5.js.map} +0 -0
  759. /package/dist/{chunk-7BD532EJ.js.map → chunk-7ZCYC2DQ.js.map} +0 -0
  760. /package/dist/{chunk-R3RD3VEX.js.map → chunk-AQSZLUDV.js.map} +0 -0
  761. /package/dist/{chunk-LXS2GSF4.js.map → chunk-BBA5MAFS.js.map} +0 -0
  762. /package/dist/{chunk-TZVSDB7S.js.map → chunk-BNJC6OX5.js.map} +0 -0
  763. /package/dist/{chunk-RIHO7ZD5.js.map → chunk-BOQYGAYA.js.map} +0 -0
  764. /package/dist/{chunk-TLWU7JWO.js.map → chunk-C4YACFGH.js.map} +0 -0
  765. /package/dist/{chunk-ZESHWW2R.js.map → chunk-CKO54XWB.js.map} +0 -0
  766. /package/dist/{chunk-CDUBFFZ7.js.map → chunk-COWLQ74R.js.map} +0 -0
  767. /package/dist/{chunk-YJFK6C2M.js.map → chunk-CU434U4N.js.map} +0 -0
  768. /package/dist/{chunk-JDRUY7IR.js.map → chunk-D2YPS46O.js.map} +0 -0
  769. /package/dist/{chunk-3I26BABG.js.map → chunk-DVSTBGZT.js.map} +0 -0
  770. /package/dist/{chunk-CAH6LJ5Z.js.map → chunk-EIO6DMIQ.js.map} +0 -0
  771. /package/dist/{chunk-4MGXKCPS.js.map → chunk-EM56Y4X6.js.map} +0 -0
  772. /package/dist/{chunk-NX5IB4IY.js.map → chunk-F6CYUMSM.js.map} +0 -0
  773. /package/dist/{chunk-GBKQHVKJ.js.map → chunk-FUTHP5J4.js.map} +0 -0
  774. /package/dist/{chunk-O3XTTT4K.js.map → chunk-G5GFCBJT.js.map} +0 -0
  775. /package/dist/{chunk-JXVRNCAZ.js.map → chunk-GOL6A746.js.map} +0 -0
  776. /package/dist/{chunk-JUPLOOCO.js.map → chunk-GVLXSPTN.js.map} +0 -0
  777. /package/dist/{chunk-MNN6NFZK.js.map → chunk-HNU4RYI5.js.map} +0 -0
  778. /package/dist/{chunk-E54XQGQM.js.map → chunk-HTIZFNBC.js.map} +0 -0
  779. /package/dist/{chunk-5DI4UNH5.js.map → chunk-HUF5BTO6.js.map} +0 -0
  780. /package/dist/{chunk-EYKJQJ7R.js.map → chunk-HWP3U2VY.js.map} +0 -0
  781. /package/dist/{chunk-ZV7LZY67.js.map → chunk-JEXS72M5.js.map} +0 -0
  782. /package/dist/{chunk-PUIQ3UF7.js.map → chunk-JNIYPQWY.js.map} +0 -0
  783. /package/dist/{chunk-7MJENXZ6.js.map → chunk-K5RCZIZN.js.map} +0 -0
  784. /package/dist/{chunk-2OMX5AYB.js.map → chunk-KA3KYNOP.js.map} +0 -0
  785. /package/dist/{chunk-Z5ECCUNG.js.map → chunk-KGFH5VTH.js.map} +0 -0
  786. /package/dist/{chunk-6T4MN7LV.js.map → chunk-KTRDLHCP.js.map} +0 -0
  787. /package/dist/{chunk-II5ZAY52.js.map → chunk-L6TGKNRA.js.map} +0 -0
  788. /package/dist/{chunk-H7HTCD2Q.js.map → chunk-LN4KNFOQ.js.map} +0 -0
  789. /package/dist/{chunk-36CCFKWS.js.map → chunk-M4ML4ACA.js.map} +0 -0
  790. /package/dist/{chunk-CPWM4S3K.js.map → chunk-MIDVLNN3.js.map} +0 -0
  791. /package/dist/{chunk-2GWAEK4R.js.map → chunk-MUVXIOXM.js.map} +0 -0
  792. /package/dist/{chunk-53VTLOOW.js.map → chunk-N6AHRJAM.js.map} +0 -0
  793. /package/dist/{chunk-CPVUBEDA.js.map → chunk-NB4UU4DH.js.map} +0 -0
  794. /package/dist/{chunk-QQH32U6O.js.map → chunk-NGG4737W.js.map} +0 -0
  795. /package/dist/{chunk-Z6CMJQKG.js.map → chunk-O4BDFBVK.js.map} +0 -0
  796. /package/dist/{chunk-MG5U4JYY.js.map → chunk-OGU7IDV7.js.map} +0 -0
  797. /package/dist/{chunk-UHPFEULI.js.map → chunk-OVO6NYUR.js.map} +0 -0
  798. /package/dist/{chunk-3TO7TWHS.js.map → chunk-OXRZSZKA.js.map} +0 -0
  799. /package/dist/{chunk-QBGMD5UV.js.map → chunk-QMR3QMJG.js.map} +0 -0
  800. /package/dist/{chunk-HYW74ZT2.js.map → chunk-QUVGLTCF.js.map} +0 -0
  801. /package/dist/{chunk-XYAT642G.js.map → chunk-RCLCEA55.js.map} +0 -0
  802. /package/dist/{chunk-HZTSMLBZ.js.map → chunk-RCVA2RWU.js.map} +0 -0
  803. /package/dist/{chunk-TUZ3MJVF.js.map → chunk-RSCSTOUN.js.map} +0 -0
  804. /package/dist/{chunk-L2H4W3UM.js.map → chunk-SCXWXLMR.js.map} +0 -0
  805. /package/dist/{chunk-2CQ4YA7M.js.map → chunk-SQUMXZXI.js.map} +0 -0
  806. /package/dist/{chunk-7SFK32JP.js.map → chunk-T2DORAV4.js.map} +0 -0
  807. /package/dist/{chunk-Z6LQ3URB.js.map → chunk-TBXJ2CUA.js.map} +0 -0
  808. /package/dist/{chunk-C7ROKWV2.js.map → chunk-TQLHKDNS.js.map} +0 -0
  809. /package/dist/{chunk-C7KUMZQM.js.map → chunk-VQD6GZMU.js.map} +0 -0
  810. /package/dist/{chunk-T4KD2FBB.js.map → chunk-VZBRG6HQ.js.map} +0 -0
  811. /package/dist/{chunk-IW5XJT3H.js.map → chunk-WQHL6SR3.js.map} +0 -0
  812. /package/dist/{chunk-2FTQ5RMP.js.map → chunk-X7JGAQ5N.js.map} +0 -0
  813. /package/dist/{chunk-7TG44KO3.js.map → chunk-Z6ZFRHXK.js.map} +0 -0
  814. /package/dist/{chunk-N4ULQIGJ.js.map → chunk-ZCY72DDM.js.map} +0 -0
  815. /package/dist/{chunk-RRKUFU4L.js.map → chunk-ZHY7ZHWC.js.map} +0 -0
  816. /package/dist/{chunk-2VBU42YX.js.map → chunk-ZLQ6PAI6.js.map} +0 -0
  817. /package/dist/{chunk-MHWYRNGA.js.map → chunk-ZUG4EY4T.js.map} +0 -0
  818. /package/dist/{cohort-T3SEGYG3.js.map → cohort-2DQOQ5AO.js.map} +0 -0
  819. /package/dist/{cohortSunburst-HIWGWD7A.js.map → cohortSunburst-W6XC7VD6.js.map} +0 -0
  820. /package/dist/{condition-KEFHKNUU.js.map → condition-3A7I5UQA.js.map} +0 -0
  821. /package/dist/{controls-MDUZLMY7.js.map → controls-G5WYBX4P.js.map} +0 -0
  822. /package/dist/{controls.config-4XZZXUZV.js.map → controls.config-TAFGM2S2.js.map} +0 -0
  823. /package/dist/{correlation-55LF7GPF.js.map → correlation-K4EOOQJU.js.map} +0 -0
  824. /package/dist/{customdata.inputui-6KIPVY2Q.js.map → customdata.inputui-E7RRN3KY.js.map} +0 -0
  825. /package/dist/{dataDownload-XCFCSKDO.js.map → dataDownload-OXZGAE5R.js.map} +0 -0
  826. /package/dist/{dictionary-P5JGXQSW.js.map → dictionary-MUNAUI43.js.map} +0 -0
  827. /package/dist/{dnaMethylation-ZNR5U6HS.js.map → dnaMethylation-SOV4HBAX.js.map} +0 -0
  828. /package/dist/{dnaMethylation.integration.spec-7AMBXA4M.js.map → dnaMethylation.integration.spec-T4KKTMRL.js.map} +0 -0
  829. /package/dist/{dofetch-4P5F5ZGU.js.map → dofetch-2CR2TVWC.js.map} +0 -0
  830. /package/dist/{e2pca-AJQ22AHJ.js.map → e2pca-EIOJCV4O.js.map} +0 -0
  831. /package/dist/{ep-3ZEN3C4U.js.map → ep-5QX3CW6D.js.map} +0 -0
  832. /package/dist/{expclust.gdc.spec-IQXJYSCH.js.map → expclust.gdc.spec-TNHPZLYQ.js.map} +0 -0
  833. /package/dist/{facet-RPFQA3DH.js.map → facet-I3OC4DK2.js.map} +0 -0
  834. /package/dist/{gb-R4D647D2.js.map → gb-WPIUHR3O.js.map} +0 -0
  835. /package/dist/{geneExpClustering-JLJL6S3Q.js.map → geneExpClustering-EYGZENSP.js.map} +0 -0
  836. /package/dist/{geneExpression-NWNOCRVM.js.map → geneExpression-54L3DH32.js.map} +0 -0
  837. /package/dist/{geneExpression-TK75VNQG.js.map → geneExpression-6S6H2EVY.js.map} +0 -0
  838. /package/dist/{geneExpression.unit.spec-4HTUTQ5K.js.map → geneExpression.unit.spec-VVI2MXIH.js.map} +0 -0
  839. /package/dist/{geneORA-7FP6KZSE.js.map → geneORA-7M64LXZC.js.map} +0 -0
  840. /package/dist/{geneRanking-SBFOUZTQ.js.map → geneRanking-676CAA3B.js.map} +0 -0
  841. /package/dist/{geneVariant-3DHX4LQL.js.map → geneVariant-4UPJE6MJ.js.map} +0 -0
  842. /package/dist/{geneVariant-SUQWO6ON.js.map → geneVariant-PFVPL22U.js.map} +0 -0
  843. /package/dist/{geneVariant.integration.spec-KOUVJAFB.js.map → geneVariant.integration.spec-EAJ4OSFQ.js.map} +0 -0
  844. /package/dist/{genefusion.ui-DAIBYS5I.js.map → genefusion.ui-LP4EJUTO.js.map} +0 -0
  845. /package/dist/{geneset-MKSYRPV4.js.map → geneset-ANDOMTPO.js.map} +0 -0
  846. /package/dist/{genomeBrowser.spec-JSHMD3CR.js.map → genomeBrowser.spec-NUXOOL5N.js.map} +0 -0
  847. /package/dist/{grin2-Z4ETF6OM.js.map → grin2-K4LRVCES.js.map} +0 -0
  848. /package/dist/{grin2-RFRYBHBV.js.map → grin2-YFCWJZFR.js.map} +0 -0
  849. /package/dist/{hierCluster-C67VO3VF.js.map → hierCluster-POD3DRO4.js.map} +0 -0
  850. /package/dist/{hierCluster-CEJTROX7.js.map → hierCluster-QA7HXKRD.js.map} +0 -0
  851. /package/dist/{hierCluster.config-G3X5I72U.js.map → hierCluster.config-HQ3SVKCE.js.map} +0 -0
  852. /package/dist/{hierCluster.integration.spec-HTS2GNUR.js.map → hierCluster.integration.spec-MOYDWJL3.js.map} +0 -0
  853. /package/dist/{hierCluster.interactivity-4JVDLIPZ.js.map → hierCluster.interactivity-OZTNHXZQ.js.map} +0 -0
  854. /package/dist/{hierCluster.renderers-YGX6MZZW.js.map → hierCluster.renderers-46E37NL4.js.map} +0 -0
  855. /package/dist/{imagePlot-HNKJX6YK.js.map → imagePlot-HNAYBWY3.js.map} +0 -0
  856. /package/dist/{importPlot-XUL6XFBL.js.map → importPlot-XTW46VF4.js.map} +0 -0
  857. /package/dist/{isoformExpression-ZJJUXJDF.js.map → isoformExpression-2TMTILKG.js.map} +0 -0
  858. /package/dist/{isoformExpression.unit.spec-INU6WFAM.js.map → isoformExpression.unit.spec-SIJWP7TH.js.map} +0 -0
  859. /package/dist/{jspdf.es.min-THXUXEDC.js.map → jspdf.es.min-GSH2SAQO.js.map} +0 -0
  860. /package/dist/{junction-FKYIKDC4.js.map → junction-AICKHNXX.js.map} +0 -0
  861. /package/dist/{junction.customTerm-3R2GNE3A.js.map → junction.customTerm-5STKYZ4B.js.map} +0 -0
  862. /package/dist/{junction.unit.spec-VRFIOT4T.js.map → junction.unit.spec-EXFN4MLW.js.map} +0 -0
  863. /package/dist/{launch.adhoc-SDMXDSHS.js.map → launch.adhoc-PB6PGR7Q.js.map} +0 -0
  864. /package/dist/{leftlabel.sample-S33KB225.js.map → leftlabel.sample-ISUD4A7F.js.map} +0 -0
  865. /package/dist/{lollipop-WXQOGEY7.js.map → lollipop-5UXUAFYY.js.map} +0 -0
  866. /package/dist/{maf-K6ZUNABR.js.map → maf-L6YD25JK.js.map} +0 -0
  867. /package/dist/{maftimeline-Y2LETT7W.js.map → maftimeline-63YZDGJ3.js.map} +0 -0
  868. /package/dist/{matrix-LADX4K5W.js.map → matrix-OPEBHZCW.js.map} +0 -0
  869. /package/dist/{matrix-M63KP6IL.js.map → matrix-TLMWPG7C.js.map} +0 -0
  870. /package/dist/{matrix.cells-5RTZUJVN.js.map → matrix.cells-IELMNYC6.js.map} +0 -0
  871. /package/dist/{matrix.config-ZMT7A2D5.js.map → matrix.config-J7SVFXLM.js.map} +0 -0
  872. /package/dist/{matrix.data-Y5TPRGMW.js.map → matrix.data-DJTJCPO4.js.map} +0 -0
  873. /package/dist/{matrix.groups-6DXCAY4P.js.map → matrix.groups-2REICNZK.js.map} +0 -0
  874. /package/dist/{matrix.integration.spec-LJ5EQ65D.js.map → matrix.integration.spec-ZXU2OEFU.js.map} +0 -0
  875. /package/dist/{matrix.interactivity-2ISWFOK2.js.map → matrix.interactivity-SX3OR6OI.js.map} +0 -0
  876. /package/dist/{matrix.layout-EAYTUK2H.js.map → matrix.layout-ZJ6X5RON.js.map} +0 -0
  877. /package/dist/{matrix.legend-S3E76TVO.js.map → matrix.legend-ZOP72TIO.js.map} +0 -0
  878. /package/dist/{matrix.renderers-XUMZZUDW.js.map → matrix.renderers-YUSROXKN.js.map} +0 -0
  879. /package/dist/{matrix.serieses-3UGLZW25.js.map → matrix.serieses-UMAZNCMR.js.map} +0 -0
  880. /package/dist/{matrix.sort-A7CNLDUJ.js.map → matrix.sort-2JNIZHNL.js.map} +0 -0
  881. /package/dist/{matrix.sort.unit.spec-UPG3D6GE.js.map → matrix.sort.unit.spec-SNB643Y6.js.map} +0 -0
  882. /package/dist/{matrix.sorterUi-6PZR3YOD.js.map → matrix.sorterUi-JXEIY6UL.js.map} +0 -0
  883. /package/dist/{matrix.sorterUi.unit.spec-WPMREECT.js.map → matrix.sorterUi.unit.spec-LDAT4R3H.js.map} +0 -0
  884. /package/dist/{matrix.unit.spec-Z2HXOXM4.js.map → matrix.unit.spec-QBQIMDLD.js.map} +0 -0
  885. /package/dist/{mavb-WT4XM6U3.js.map → mavb-EQUF3VGG.js.map} +0 -0
  886. /package/dist/{mds.samplescatterplot-UTEBJF66.js.map → mds.samplescatterplot-73E45ZT7.js.map} +0 -0
  887. /package/dist/{mds.survivalplot-DXWJA4IJ.js.map → mds.survivalplot-DL53IRVD.js.map} +0 -0
  888. /package/dist/{multivalue-LR7Z3OLZ.js.map → multivalue-PQN75ENP.js.map} +0 -0
  889. /package/dist/{numericDictTermCluster-6XDVVWLE.js.map → numericDictTermCluster-FGMIOTBO.js.map} +0 -0
  890. /package/dist/{oncomatrix-WV2LSH3X.js.map → oncomatrix-CCHWOA3N.js.map} +0 -0
  891. /package/dist/{oncomatrix.spec-S7KHSJJG.js.map → oncomatrix.spec-GQT3UTCR.js.map} +0 -0
  892. /package/dist/{plot.2dvaf-FH7PMZ3U.js.map → plot.2dvaf-L6ZI5ROR.js.map} +0 -0
  893. /package/dist/{plot.app-DDB6YZJ3.js.map → plot.app-A73VXJCP.js.map} +0 -0
  894. /package/dist/{plot.barplot-XVSZDYKB.js.map → plot.barplot-HSCHPOO7.js.map} +0 -0
  895. /package/dist/{plot.boxplot-M6URTYED.js.map → plot.boxplot-AXBVNTNH.js.map} +0 -0
  896. /package/dist/{plot.brainImaging-GNIBY3XC.js.map → plot.brainImaging-PEMURKM3.js.map} +0 -0
  897. /package/dist/{plot.disco-EH4E7B3O.js.map → plot.disco-YKMYYVMV.js.map} +0 -0
  898. /package/dist/{plot.ssgq-7HIGQHOT.js.map → plot.ssgq-FGMQXKZU.js.map} +0 -0
  899. /package/dist/{plot.vaf2cov-MGJHP2PV.js.map → plot.vaf2cov-IBM7NQEB.js.map} +0 -0
  900. /package/dist/{polar2-VYUW5GZO.js.map → polar2-N7KWY36S.js.map} +0 -0
  901. /package/dist/{profileForms-LHJCFAP6.js.map → profileForms-Q4NN7653.js.map} +0 -0
  902. /package/dist/{profilePlot-UF2KERDD.js.map → profilePlot-SQ77M6LI.js.map} +0 -0
  903. /package/dist/{proteinView-5AF4I3PB.js.map → proteinView-KSIZRDNP.js.map} +0 -0
  904. /package/dist/{proteomeCohortCompare-4DYWZTLQ.js.map → proteomeCohortCompare-GYSBJSDY.js.map} +0 -0
  905. /package/dist/{pseudbulk.unit.spec-ZTAP2YYA.js.map → pseudbulk.unit.spec-XELPZVXM.js.map} +0 -0
  906. /package/dist/{pseudobulk-A2KE233U.js.map → pseudobulk-H3USXM5U.js.map} +0 -0
  907. /package/dist/{qualitative-3FDE4JUM.js.map → qualitative-ABXENRAF.js.map} +0 -0
  908. /package/dist/{qualitative-NVWG57TK.js.map → qualitative-OSEJTJ4D.js.map} +0 -0
  909. /package/dist/{radar2-3CQ7T5QY.js.map → radar2-VTDQGHWN.js.map} +0 -0
  910. /package/dist/{radarFacility2-ERBWZQFH.js.map → radarFacility2-BWGEC5A2.js.map} +0 -0
  911. /package/dist/{rememberedGvQ.unit.spec-SHTMMZGG.js.map → rememberedGvQ.unit.spec-TWUDSEDP.js.map} +0 -0
  912. /package/dist/{render-LIUPN5SK.js.map → render-C3XJQ2QY.js.map} +0 -0
  913. /package/dist/{report-JWNWR6NA.js.map → report-7ZZ44X4R.js.map} +0 -0
  914. /package/dist/{sampleView-BQ6HCCKT.js.map → sampleView-CUCNI65Q.js.map} +0 -0
  915. /package/dist/{samplelst-RQWH7WOX.js.map → samplelst-S7AJQ36J.js.map} +0 -0
  916. /package/dist/{samplematrix-7FDWXSZA.js.map → samplematrix-U7WM6GNB.js.map} +0 -0
  917. /package/dist/{sc-J2ZPQFGP.js.map → sc-FMJHN2SW.js.map} +0 -0
  918. /package/dist/{scatter-7FQLITP7.js.map → scatter-4UMCJNEH.js.map} +0 -0
  919. /package/dist/{scatter-BDIZX73F.js.map → scatter-KMAZ3ZNR.js.map} +0 -0
  920. /package/dist/{selectGenomeWithTklst-52BHWMVR.js.map → selectGenomeWithTklst-5SRM45BI.js.map} +0 -0
  921. /package/dist/{singleCellCellType-OC6QG6MU.js.map → singleCellCellType-GIIICJK5.js.map} +0 -0
  922. /package/dist/{singleCellCellType.unit.spec-R3QPRXVY.js.map → singleCellCellType.unit.spec-MVA7BMGL.js.map} +0 -0
  923. /package/dist/{singleCellGeneExpression-QDRIVFQ5.js.map → singleCellGeneExpression-2QFQHJJH.js.map} +0 -0
  924. /package/dist/{singleCellGeneExpression.unit.spec-FHUA6VWD.js.map → singleCellGeneExpression.unit.spec-SAIETYHV.js.map} +0 -0
  925. /package/dist/{singleCellNumericValue-2PKMS7NM.js.map → singleCellNumericValue-45H5EPIB.js.map} +0 -0
  926. /package/dist/{singleCellNumericValue.unit.spec-YXDYOFJ5.js.map → singleCellNumericValue.unit.spec-FNKEJ2WC.js.map} +0 -0
  927. /package/dist/{singleCellPlot-5RVA7KM7.js.map → singleCellPlot-SP7OEGYQ.js.map} +0 -0
  928. /package/dist/{singlecell-5OUPDXEQ.js.map → singlecell-AVZQX4AH.js.map} +0 -0
  929. /package/dist/{singlecell-MLKBNJAG.js.map → singlecell-JQKUHGIH.js.map} +0 -0
  930. /package/dist/{snp-ARLPF6ZU.js.map → snp-4SA7VABN.js.map} +0 -0
  931. /package/dist/{snp.unit.spec-MUB7YKMP.js.map → snp.unit.spec-YIYGR6GW.js.map} +0 -0
  932. /package/dist/{snplocus-EZ33TXDU.js.map → snplocus-TDGQ57ZJ.js.map} +0 -0
  933. /package/dist/{snplst-GLTNXAE5.js.map → snplst-SWBGRYPA.js.map} +0 -0
  934. /package/dist/{spliceevent.a53ss.diagram-FMP6CNCV.js.map → spliceevent.a53ss.diagram-YODOBS6U.js.map} +0 -0
  935. /package/dist/{spliceevent.exonskip.diagram-QRQ3DZ3I.js.map → spliceevent.exonskip.diagram-PMZIQ5UG.js.map} +0 -0
  936. /package/dist/{spliceevent.noeventdiagram-LAPCKJS3.js.map → spliceevent.noeventdiagram-A4T2PNUX.js.map} +0 -0
  937. /package/dist/{ssGSEA-WUE2PKUU.js.map → ssGSEA-U7D6HOIV.js.map} +0 -0
  938. /package/dist/{ssGSEA.unit.spec-Y7KCKEGK.js.map → ssGSEA.unit.spec-SMNAM5DJ.js.map} +0 -0
  939. /package/dist/{stattable-GZF4ZWTT.js.map → stattable-DBYMPJU6.js.map} +0 -0
  940. /package/dist/{studyCatalog-PPV7WB2O.js.map → studyCatalog-7RABX4W5.js.map} +0 -0
  941. /package/dist/{summarizeCnvGeneexp-LZ7UWWZS.js.map → summarizeCnvGeneexp-YVRW7LWY.js.map} +0 -0
  942. /package/dist/{summarizeGeneexpSurvival-VBRJFZR6.js.map → summarizeGeneexpSurvival-ZB7IWGPS.js.map} +0 -0
  943. /package/dist/{summarizeMutationCnv-6LUM4YR7.js.map → summarizeMutationCnv-CUSYURDK.js.map} +0 -0
  944. /package/dist/{summarizeMutationDiagnosis-B47HKNM6.js.map → summarizeMutationDiagnosis-NSPCT5WI.js.map} +0 -0
  945. /package/dist/{summarizeMutationSurvival-6GH3MTLN.js.map → summarizeMutationSurvival-2PZZCC4G.js.map} +0 -0
  946. /package/dist/{summary-BBI7MS3B.js.map → summary-CYDZSICI.js.map} +0 -0
  947. /package/dist/{summary.integration.spec-SYLP7X3F.js.map → summary.integration.spec-2TLKJS3X.js.map} +0 -0
  948. /package/dist/{summaryInput-5PPK7KRL.js.map → summaryInput-BRQ5JRGV.js.map} +0 -0
  949. /package/dist/{sunburst-BVPS44ZR.js.map → sunburst-435LKL2S.js.map} +0 -0
  950. /package/dist/{sunburst-H57DYWLE.js.map → sunburst-D5WAGHX6.js.map} +0 -0
  951. /package/dist/{survival-PRHRAD2T.js.map → survival-MHESSYWF.js.map} +0 -0
  952. /package/dist/{survival.integration.spec-KH6GPVZ4.js.map → survival.integration.spec-WMS3FTNR.js.map} +0 -0
  953. /package/dist/{svg2pdf.es.min-BRE45YLJ.js.map → svg2pdf.es.min-PHWTISHJ.js.map} +0 -0
  954. /package/dist/{svgraph-VVGRE672.js.map → svgraph-LYFGVTHI.js.map} +0 -0
  955. /package/dist/{svmr-OKTQIHLN.js.map → svmr-UR67QZIP.js.map} +0 -0
  956. /package/dist/{swimmer-U5COUOM6.js.map → swimmer-RP4SUEZS.js.map} +0 -0
  957. /package/dist/{table-I7SINEY4.js.map → table-V4OOMF3B.js.map} +0 -0
  958. /package/dist/{termCollection-QCSPDISY.js.map → termCollection-VHGVBSWW.js.map} +0 -0
  959. /package/dist/{termCollection-TFNI2VIX.js.map → termCollection-WSNM3YFK.js.map} +0 -0
  960. /package/dist/{termCollection.unit.spec-22E76H2W.js.map → termCollection.unit.spec-NCZUZL6P.js.map} +0 -0
  961. /package/dist/{termCollectionFractionSelection-VZ5JJ7KV.js.map → termCollectionFractionSelection-XM3FJWBQ.js.map} +0 -0
  962. /package/dist/{termCollectionFractionSelection.unit.spec-KCAQU2BV.js.map → termCollectionFractionSelection.unit.spec-VO4SAV72.js.map} +0 -0
  963. /package/dist/{tk-YOBCGYFC.js.map → tk-G5PKWSXJ.js.map} +0 -0
  964. /package/dist/{tk-GBNB42AI.js.map → tk-KIELQHVI.js.map} +0 -0
  965. /package/dist/{tp.ui-OEL4S73T.js.map → tp.ui-HAKSWLFB.js.map} +0 -0
  966. /package/dist/{tvs.categorical-3X6CO5EA.js.map → tvs.categorical-G4DM4JY5.js.map} +0 -0
  967. /package/dist/{tvs.condition-YZQSSONN.js.map → tvs.condition-E5NUQONB.js.map} +0 -0
  968. /package/dist/{tvs.dt-GCMLLAJC.js.map → tvs.dt-T4BK24VZ.js.map} +0 -0
  969. /package/dist/{tvs.dtcnv.categorical-ZSYUQQXP.js.map → tvs.dtcnv.categorical-V57TZFRA.js.map} +0 -0
  970. /package/dist/{tvs.dtcnv.continuous-T67YFFAE.js.map → tvs.dtcnv.continuous-D4YIB4PN.js.map} +0 -0
  971. /package/dist/{tvs.dtfusion-VR2NAX3F.js.map → tvs.dtfusion-6DUFLUNH.js.map} +0 -0
  972. /package/dist/{tvs.dtitd-O3MIZPZO.js.map → tvs.dtitd-GOEPAQGR.js.map} +0 -0
  973. /package/dist/{tvs.dtsnvindel-6G7UNHSQ.js.map → tvs.dtsnvindel-ASTXGC4O.js.map} +0 -0
  974. /package/dist/{tvs.dtsv-VZ2I4AMH.js.map → tvs.dtsv-7TGDEWXK.js.map} +0 -0
  975. /package/dist/{tvs.multivalue-6KFI5ELB.js.map → tvs.multivalue-SEIGL2W6.js.map} +0 -0
  976. /package/dist/{tvs.numeric-SFSOLXVF.js.map → tvs.numeric-MLLX5L7Z.js.map} +0 -0
  977. /package/dist/{tvs.samplelst-WD5UMMTP.js.map → tvs.samplelst-HAV7C2EA.js.map} +0 -0
  978. /package/dist/{tvs.survival-A2RUXAXJ.js.map → tvs.survival-3B522MT2.js.map} +0 -0
  979. /package/dist/{tvs.termCollection-NVW4LO44.js.map → tvs.termCollection-R5NG4VXP.js.map} +0 -0
  980. /package/dist/{vocabulary-FASF5IUM.js.map → vocabulary-LBNHNSEN.js.map} +0 -0
@@ -1,2353 +0,0 @@
1
- import {
2
- spliceevent_phrase_default
3
- } from "./chunk-H7HTCD2Q.js";
4
- import {
5
- spliceevent_exonskip_getdefault_default
6
- } from "./chunk-CAH6LJ5Z.js";
7
- import {
8
- legend_newrow
9
- } from "./chunk-TUZ3MJVF.js";
10
- import "./chunk-V2OJLJSK.js";
11
- import "./chunk-2GWAEK4R.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-3YQYWX4M.js";
23
- import "./chunk-HJ6L54YS.js";
24
- import "./chunk-R3RD3VEX.js";
25
- import {
26
- Menu
27
- } from "./chunk-CNFTQSNE.js";
28
- import "./chunk-RIHO7ZD5.js";
29
- import "./chunk-TVJOSRCH.js";
30
- import "./chunk-3CIL7KH7.js";
31
- import "./chunk-T4XPCSLP.js";
32
- import {
33
- dofetch2,
34
- dofetch3
35
- } from "./chunk-KBTFT76L.js";
36
- import "./chunk-W5J3LTYS.js";
37
- import "./chunk-MHWYRNGA.js";
38
- import "./chunk-JHLF2ZC2.js";
39
- import {
40
- IN_frame,
41
- OUT_frame,
42
- axisRight,
43
- bplen,
44
- category10_default,
45
- defaultcolor,
46
- spliceeventchangegmexon
47
- } from "./chunk-WJLRU5OF.js";
48
- import "./chunk-HBNB5TRH.js";
49
- import "./chunk-PF4DSFDR.js";
50
- import {
51
- linear,
52
- log,
53
- ordinal
54
- } from "./chunk-4OLM3KSB.js";
55
- import "./chunk-PWYMHUXY.js";
56
- import "./chunk-TLT4YIG3.js";
57
- import "./chunk-5R63Q5KH.js";
58
- import {
59
- select_default
60
- } from "./chunk-I6Y4O3RR.js";
61
- import "./chunk-Q5RDQNIT.js";
62
- import {
63
- __commonJS,
64
- __toESM
65
- } from "./chunk-HS5PO5ZQ.js";
66
-
67
- // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
68
- var require_d3_beeswarm = __commonJS({
69
- "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
70
- (function(global, factory) {
71
- typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
72
- })(exports, function(exports2) {
73
- "use strict";
74
- function beeswarm2() {
75
- var data = [];
76
- var radius = 4;
77
- var orientation = "horizontal";
78
- var side = "symetric";
79
- var distributeOn = (
80
- // accessor to the x value
81
- function(datum) {
82
- return datum.x;
83
- }
84
- );
85
- var minDistanceBetweenCircles;
86
- var minSquareDistanceBetweenCircles;
87
- var xBasedDataManager;
88
- var xBasedColliderManager;
89
- var yBasedColliderManager;
90
- var arrangement;
91
- var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
92
- function _beeswarm() {
93
- }
94
- _beeswarm.data = function(_) {
95
- if (!arguments.length) {
96
- return data;
97
- }
98
- data = _;
99
- return _beeswarm;
100
- };
101
- _beeswarm.radius = function(_) {
102
- if (!arguments.length) {
103
- return radius;
104
- }
105
- radius = _;
106
- return _beeswarm;
107
- };
108
- _beeswarm.orientation = function(_) {
109
- if (!arguments.length) {
110
- return orientation;
111
- }
112
- if (_ === "horizontal" || _ === "vertical") {
113
- orientation = _;
114
- }
115
- return _beeswarm;
116
- };
117
- _beeswarm.side = function(_) {
118
- if (!arguments.length) {
119
- return side;
120
- }
121
- if (_ === "symetric" || _ === "positive" || _ === "negative") {
122
- side = _;
123
- }
124
- return _beeswarm;
125
- };
126
- _beeswarm.distributeOn = function(_) {
127
- if (!arguments.length) {
128
- return distributeOn;
129
- }
130
- distributeOn = _;
131
- return _beeswarm;
132
- };
133
- _beeswarm.arrange = function() {
134
- initArrangement();
135
- arrangement.forEach(function(d) {
136
- var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
137
- if (xBasedPossibleColliders.length === 0) {
138
- bestYPosition = 0;
139
- } else {
140
- yBasedColliderManager.clear();
141
- yBasedColliderManager.addMany(xBasedPossibleColliders);
142
- d.free = 0;
143
- if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
144
- bestYPosition = 0;
145
- totalVisitedColliders += visitedColliderCount;
146
- if (visitedColliderCount > maxVisitedColliders) {
147
- maxVisitedColliders = visitedColliderCount;
148
- }
149
- visitedColliderCount = 0;
150
- totalTestedPlacements += 1;
151
- } else {
152
- xBasedPossibleColliders.forEach(function(xbpc) {
153
- relativeYPos = yPosRelativeToXbpc(xbpc, d);
154
- placeBelow(d, xbpc, relativeYPos);
155
- if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
156
- bestYPosition = d.free;
157
- }
158
- totalVisitedColliders += visitedColliderCount;
159
- if (visitedColliderCount > maxVisitedColliders) {
160
- maxVisitedColliders = visitedColliderCount;
161
- }
162
- visitedColliderCount = 0;
163
- totalTestedPlacements += 1;
164
- placeAbove(d, xbpc, relativeYPos);
165
- if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
166
- bestYPosition = d.free;
167
- }
168
- totalVisitedColliders += visitedColliderCount;
169
- if (visitedColliderCount > maxVisitedColliders) {
170
- maxVisitedColliders = visitedColliderCount;
171
- }
172
- visitedColliderCount = 0;
173
- totalTestedPlacements += 1;
174
- });
175
- }
176
- }
177
- ;
178
- d.free = bestYPosition;
179
- if (orientation === "horizontal") {
180
- d.x = d.fixed;
181
- d.y = bestYPosition;
182
- } else {
183
- d.x = bestYPosition;
184
- d.y = d.fixed;
185
- }
186
- xBasedColliderManager.add(d);
187
- });
188
- return arrangement;
189
- };
190
- _beeswarm.metrics = function() {
191
- return {
192
- totalPossibleColliders,
193
- maxPossibleColliders,
194
- totalTestedPlacements,
195
- visitedColliderCount,
196
- totalVisitedColliders,
197
- maxVisitedColliders
198
- };
199
- };
200
- function initArrangement() {
201
- arrangement = data.map(function(d, i) {
202
- return {
203
- datum: d,
204
- id: i,
205
- fixed: distributeOn(d),
206
- free: -Infinity
207
- };
208
- });
209
- minDistanceBetweenCircles = 2 * radius;
210
- minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
211
- xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
212
- return d.fixed;
213
- }).addMany(arrangement);
214
- xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
215
- return d.fixed;
216
- });
217
- yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
218
- return d.free;
219
- });
220
- totalPossibleColliders = maxPossibleColliders = 0;
221
- totalTestedPlacements = 0;
222
- visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
223
- }
224
- function findNearestPossibleCollider(dln, visitedDln, direction) {
225
- if (visitedDln === null) {
226
- return null;
227
- } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
228
- return null;
229
- } else {
230
- if (isFinite(visitedDln.datum.free)) {
231
- return visitedDln.datum;
232
- }
233
- return findNearestPossibleCollider(dln, visitedDln[direction], direction);
234
- }
235
- }
236
- function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
237
- if (visitedDln === null) {
238
- return;
239
- } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
240
- return;
241
- } else {
242
- xBasedPossibleColliders.push(visitedDln.datum);
243
- visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
244
- }
245
- }
246
- function gatherXBasedPossibleColliders(datum) {
247
- var xBasedPossibleColliders = [];
248
- var dln = xBasedDataManager.dln(datum);
249
- var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
250
- var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
251
- if (nearestXPrevAlreadyArrangedData != null) {
252
- dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
253
- visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
254
- }
255
- if (nearestXNextAlreadyArrangedData != null) {
256
- dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
257
- visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
258
- }
259
- totalPossibleColliders += xBasedPossibleColliders.length;
260
- if (xBasedPossibleColliders.length > maxPossibleColliders) {
261
- maxPossibleColliders = xBasedPossibleColliders.length;
262
- }
263
- return xBasedPossibleColliders;
264
- }
265
- function isAuthorizedPlacement(datum) {
266
- if (side === "symetric") {
267
- return true;
268
- } else if (side === "positive") {
269
- return datum.free >= 0;
270
- } else {
271
- return datum.free <= 0;
272
- }
273
- }
274
- function isBetterPlacement(datum, bestYPosition) {
275
- return Math.abs(datum.free) < Math.abs(bestYPosition);
276
- }
277
- function yPosRelativeToXbpc(xbpc, d) {
278
- return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
279
- }
280
- function placeBelow(d, aad, relativeYPos) {
281
- d.free = aad.free - relativeYPos;
282
- }
283
- function placeAbove(d, aad, relativeYPos) {
284
- d.free = aad.free + relativeYPos;
285
- }
286
- function areCirclesColliding(d0, d1) {
287
- visitedColliderCount++;
288
- return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
289
- }
290
- function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
291
- if (visitedDln === null) {
292
- return false;
293
- } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
294
- return false;
295
- } else if (areCirclesColliding(datum, visitedDln.datum)) {
296
- return true;
297
- } else {
298
- return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
299
- }
300
- }
301
- function collidesWithOther(datum, visitedDln) {
302
- var visitCount = 0;
303
- if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
304
- return true;
305
- } else {
306
- return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
307
- }
308
- }
309
- function SortedDirectAccessDoublyLinkedList() {
310
- this._valueAccesor = // accessor to the value to sort on
311
- function(obj) {
312
- return obj.value;
313
- };
314
- this._min = null;
315
- this._max = null;
316
- this._closestTo0 = null;
317
- this.size = 0;
318
- this._idToNode = {};
319
- }
320
- SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
321
- if (!arguments.length) {
322
- return this._valueAccesor;
323
- }
324
- this._valueAccesor = _;
325
- return this;
326
- };
327
- SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
328
- return this._closestTo0;
329
- };
330
- SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
331
- this._min = null;
332
- this._max = null;
333
- this._closestTo0 = null;
334
- this.size = 0;
335
- this._idToNode = {};
336
- return this;
337
- };
338
- SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
339
- return this._idToNode[datum.id];
340
- };
341
- SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
342
- data2.forEach(function(datum, item) {
343
- this.add(datum);
344
- }, this);
345
- return this;
346
- };
347
- SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
348
- var dln = {
349
- datum,
350
- // original datum
351
- value: this._valueAccesor(datum),
352
- prev: null,
353
- // previous value-based node
354
- next: null
355
- // next value-based node
356
- };
357
- if (this.size === 0) {
358
- this._min = this._max = this._closestTo0 = dln;
359
- } else {
360
- if (dln.value <= this._min.value) {
361
- dln.next = this._min;
362
- dln.next.prev = dln;
363
- this._min = dln;
364
- } else if (dln.value >= this._max.value) {
365
- dln.prev = this._max;
366
- dln.prev.next = dln;
367
- this._max = dln;
368
- } else {
369
- var current = this._max;
370
- while (current.value > dln.value) {
371
- current = current.prev;
372
- }
373
- dln.prev = current;
374
- dln.next = current.next;
375
- dln.next.prev = dln;
376
- dln.prev.next = dln;
377
- }
378
- if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
379
- this._closestTo0 = dln;
380
- }
381
- }
382
- this._idToNode[dln.datum.id] = dln;
383
- this.size++;
384
- return this;
385
- };
386
- SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
387
- var dln = this.dln(datum);
388
- if (this.size === 1) {
389
- this._min = this._max = this._closestTo0 = null;
390
- } else {
391
- if (dln === this._closestTo0) {
392
- if (this._closestTo0.next === null) {
393
- this._closestTo0 = dln.prev;
394
- } else if (this.closestToZero.prev === null) {
395
- this._closestTo0 = dln.prev;
396
- } else {
397
- var prevAbsValue = Math.abs(this._closestTo0.prev.value);
398
- var nextAbsValue = Math.abs(this._closestTo0.next.value);
399
- if (prevAbsValue < nextAbsValue) {
400
- this._closestTo0 = this._closestTo0.prev;
401
- } else {
402
- this._closestTo0 = this._closestTo0.next;
403
- }
404
- }
405
- }
406
- if (dln === this._min) {
407
- this._min = this._min.next;
408
- this._min.prev = null;
409
- } else if (dln === this._max) {
410
- this._max = this._max.prev;
411
- this._max.next = null;
412
- } else {
413
- dln.next.prev = dln.prev;
414
- dln.prev.next = dln.next;
415
- }
416
- }
417
- dln = null;
418
- delete this._idToNode[datum.id];
419
- this.size--;
420
- return this;
421
- };
422
- return _beeswarm;
423
- }
424
- ;
425
- exports2.beeswarm = beeswarm2;
426
- Object.defineProperty(exports2, "__esModule", { value: true });
427
- });
428
- }
429
- });
430
-
431
- // src/spliceevent.prep.js
432
- function mapjunctiontoexons(junctions, genes) {
433
- for (const j of junctions) {
434
- j.exonleft = [];
435
- j.exonright = [];
436
- j.exonleftin = [];
437
- j.exonrightin = [];
438
- j.intronleft = [];
439
- j.intronright = [];
440
- j.leftout = [];
441
- j.rightout = [];
442
- j.matchisoform = [];
443
- }
444
- const usegenes = [];
445
- for (const gene of genes) {
446
- let use = false;
447
- for (const j of junctions) {
448
- if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
449
- use = true;
450
- break;
451
- }
452
- }
453
- if (use) {
454
- usegenes.push(gene);
455
- }
456
- }
457
- if (usegenes.length == 0) {
458
- return;
459
- }
460
- const leftpos = /* @__PURE__ */ new Map();
461
- const rightpos = /* @__PURE__ */ new Map();
462
- for (const j of junctions) {
463
- if (!leftpos.has(j.start)) {
464
- leftpos.set(j.start, []);
465
- }
466
- leftpos.get(j.start).push(j);
467
- if (!rightpos.has(j.stop)) {
468
- rightpos.set(j.stop, []);
469
- }
470
- rightpos.get(j.stop).push(j);
471
- }
472
- for (const [pos, jlst] of leftpos) {
473
- for (const gm of usegenes) {
474
- if (!gm.exon) continue;
475
- for (let i = 0; i < gm.exon.length; i++) {
476
- if (gm.exon[i][1] - 1 == pos) {
477
- for (const j of jlst) {
478
- j.exonleft.push({
479
- gm,
480
- exonidx: i
481
- });
482
- }
483
- }
484
- if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
485
- for (const j of jlst) {
486
- j.exonleftin.push({
487
- gm,
488
- exonidx: i
489
- });
490
- }
491
- }
492
- }
493
- if (gm.intron) {
494
- for (let i = 0; i < gm.intron.length; i++) {
495
- if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
496
- for (const j of jlst) {
497
- j.intronleft.push({
498
- gm,
499
- intronidx: i
500
- });
501
- }
502
- }
503
- }
504
- }
505
- }
506
- }
507
- for (const [pos, jlst] of rightpos) {
508
- for (const gm of usegenes) {
509
- if (!gm.exon) continue;
510
- for (let i = 0; i < gm.exon.length; i++) {
511
- if (gm.exon[i][0] == pos) {
512
- for (const j of jlst) {
513
- j.exonright.push({
514
- gm,
515
- exonidx: i
516
- });
517
- }
518
- }
519
- if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
520
- for (const j of jlst) {
521
- j.exonrightin.push({
522
- gm,
523
- exonidx: i
524
- });
525
- }
526
- }
527
- }
528
- if (gm.intron) {
529
- for (let i = 0; i < gm.intron.length; i++) {
530
- if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
531
- for (const j of jlst) {
532
- j.intronright.push({
533
- gm,
534
- intronidx: i
535
- });
536
- }
537
- }
538
- }
539
- }
540
- }
541
- }
542
- for (const j of junctions) {
543
- {
544
- const isoforms = /* @__PURE__ */ new Set();
545
- for (const q of j.exonleft) isoforms.add(q.gm.isoform);
546
- for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
547
- for (const q of j.intronleft) isoforms.add(q.gm.isoform);
548
- if (isoforms.size) {
549
- for (const gm of usegenes) {
550
- if (!isoforms.has(gm.isoform)) continue;
551
- if (gm.stop <= j.stop) {
552
- j.rightout.push({
553
- gm
554
- });
555
- }
556
- }
557
- }
558
- }
559
- {
560
- const isoforms = /* @__PURE__ */ new Set();
561
- for (const q of j.exonright) isoforms.add(q.gm.isoform);
562
- for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
563
- for (const q of j.intronright) isoforms.add(q.gm.isoform);
564
- if (isoforms.size) {
565
- for (const gm of usegenes) {
566
- if (!isoforms.has(gm.isoform)) continue;
567
- if (gm.start > j.start) {
568
- j.leftout.push({
569
- gm
570
- });
571
- }
572
- }
573
- }
574
- }
575
- }
576
- for (const j of junctions) {
577
- if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
578
- for (const el of j.exonleft) {
579
- for (const er of j.exonright) {
580
- if (el.gm.isoform == er.gm.isoform) {
581
- j.matchisoform.push({
582
- gm: el.gm,
583
- leftexonidx: el.exonidx,
584
- rightexonidx: er.exonidx
585
- });
586
- }
587
- }
588
- }
589
- }
590
- }
591
-
592
- // src/spliceevent.exonskip.js
593
- var exonskipcolor = "#99004d";
594
- var exonaltcolor = "#004d99";
595
- function findexonskipping(multisample, junctions, gmdata) {
596
- const allevents = [];
597
- for (const j0 of junctions) {
598
- if (!j0.matchisoform || j0.matchisoform.length == 0) {
599
- continue;
600
- }
601
- for (const j0isoform of j0.matchisoform) {
602
- const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
603
- const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
604
- if (j0exonend - j0exonbegin <= 1) {
605
- continue;
606
- }
607
- const jB = j0;
608
- const thisevent = {
609
- skippedexon: [],
610
- junctionB: jB,
611
- junctionAlst: []
612
- };
613
- for (let i = j0exonbegin + 1; i < j0exonend; i++) {
614
- thisevent.skippedexon.push(i);
615
- }
616
- let gmB = null;
617
- for (const gm of gmdata) {
618
- if (!gm.intron) continue;
619
- for (const i of gm.intron) {
620
- if (i[0] - 1 == jB.start && i[1] == jB.stop) {
621
- gmB = gm;
622
- break;
623
- }
624
- }
625
- if (gmB) {
626
- break;
627
- }
628
- }
629
- if (gmB) {
630
- thisevent.isaltexon = true;
631
- thisevent.color = exonaltcolor;
632
- thisevent.gmA = j0isoform.gm;
633
- thisevent.gmB = gmB;
634
- } else {
635
- thisevent.isskipexon = true;
636
- thisevent.color = exonskipcolor;
637
- thisevent.gm = j0isoform.gm;
638
- const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
639
- if (utr3) thisevent.utr3 = true;
640
- if (utr5) thisevent.utr5 = true;
641
- if (coding) thisevent.coding = true;
642
- }
643
- {
644
- const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
645
- for (const ja of jAlst) {
646
- thisevent.junctionAlst.push(ja);
647
- }
648
- }
649
- if (thisevent.isskipexon) {
650
- findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
651
- }
652
- if (multisample) {
653
- if (!jB.data) {
654
- console.error("exonskip: jB.data missing when it is multi-sample");
655
- continue;
656
- }
657
- if (jB.data.length == 0) {
658
- console.error("exonskip: jB.data.length==0");
659
- continue;
660
- }
661
- let percentagesamplesum = 0;
662
- for (const sampleBdata of jB.data) {
663
- const bcount = sampleBdata.v;
664
- let acountsum = 0;
665
- for (const junctionA of thisevent.junctionAlst) {
666
- if (!junctionA) {
667
- continue;
668
- }
669
- if (!junctionA.data) {
670
- console.log("exonskip: jA.data missing when multi-sample");
671
- continue;
672
- }
673
- for (const sampleAdata of junctionA.data) {
674
- if (sampleAdata.tkid == sampleBdata.tkid) {
675
- acountsum += sampleAdata.v;
676
- break;
677
- }
678
- }
679
- }
680
- percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
681
- }
682
- thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
683
- } else {
684
- let asum = 0;
685
- for (const _j of thisevent.junctionAlst) {
686
- asum += _j ? _j.data[0].v : 0;
687
- }
688
- thisevent.percentage = Math.ceil(
689
- 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
690
- );
691
- }
692
- allevents.push(thisevent);
693
- }
694
- }
695
- const exoncoords = /* @__PURE__ */ new Map();
696
- for (const evt of allevents) {
697
- const positionlst = [];
698
- for (const eid of evt.skippedexon) {
699
- let thisexon;
700
- if (evt.isskipexon) {
701
- thisexon = evt.gm.exon[eid];
702
- } else {
703
- thisexon = evt.gmA.exon[eid];
704
- }
705
- positionlst.push(thisexon[0]);
706
- positionlst.push(thisexon[1]);
707
- }
708
- if (positionlst.length == 0) {
709
- console.error("not possible: no skipped exon position for exon-skip");
710
- console.log(evt);
711
- continue;
712
- }
713
- positionlst.sort();
714
- const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
715
- if (!exoncoords.has(posstr)) {
716
- exoncoords.set(posstr, []);
717
- }
718
- exoncoords.get(posstr).push(evt);
719
- }
720
- const eventsetlst = [];
721
- for (const eventlst of exoncoords.values()) {
722
- const thisset = {
723
- eventlst,
724
- exonlst: []
725
- // each exon: {start:, stop:}
726
- };
727
- eventsetlst.push(thisset);
728
- const firstevent = eventlst[0];
729
- for (const eid of firstevent.skippedexon) {
730
- const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
731
- const thisexon = gm.exon[eid];
732
- thisset.exonlst.push({
733
- chr: gm.chr,
734
- start: thisexon[0],
735
- stop: thisexon[1]
736
- });
737
- }
738
- let eventcount_skip = 0, eventcount_alt = 0;
739
- for (const evt of eventlst) {
740
- if (evt.isskipexon) {
741
- eventcount_skip++;
742
- } else {
743
- eventcount_alt++;
744
- }
745
- }
746
- thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
747
- const exonnumberset = /* @__PURE__ */ new Set();
748
- for (const evt of eventlst) {
749
- const thisexonnumbers = [];
750
- for (const eid of evt.skippedexon) {
751
- thisexonnumbers.push(eid + 1);
752
- }
753
- exonnumberset.add(thisexonnumbers.join(","));
754
- }
755
- if (exonnumberset.size == 1) {
756
- thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
757
- } else {
758
- thisset.toplabelsays = "exon ";
759
- }
760
- thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
761
- if (multisample) {
762
- let samplecount = 0;
763
- for (const evt of eventlst) {
764
- samplecount = Math.max(samplecount, evt.junctionB.data.length);
765
- }
766
- thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
767
- }
768
- thisset.bottomlabelsays = firstevent.percentage + "%";
769
- }
770
- return eventsetlst;
771
- }
772
- function findjunctionbystartstop(lst, p1, p2) {
773
- const start = Math.min(p1, p2);
774
- const stop = Math.max(p1, p2);
775
- for (const j of lst) {
776
- if (j.start == start && j.stop == stop) return j;
777
- }
778
- return null;
779
- }
780
- function findjunctionAlst(junctions, gm, exonbegin, exonend) {
781
- const lst = [];
782
- const exonstart = Math.min(exonbegin, exonend);
783
- const exonstop = Math.max(exonbegin, exonend);
784
- if (gm.strand == "+") {
785
- for (let i = exonstart; i < exonstop; i++) {
786
- const p1 = gm.exon[i][1] - 1;
787
- const p2 = gm.exon[i + 1][0];
788
- lst.push(findjunctionbystartstop(junctions, p1, p2));
789
- }
790
- } else {
791
- for (let i = exonstop; i > exonstart; i--) {
792
- const p1 = gm.exon[i][1] - 1;
793
- const p2 = gm.exon[i - 1][0];
794
- lst.unshift(findjunctionbystartstop(junctions, p1, p2));
795
- }
796
- }
797
- return lst;
798
- }
799
- function findupdown1junction4exonskip(evt, gm, junctions) {
800
- let exonidx = evt.skippedexon[0];
801
- if (exonidx > 1) {
802
- let p1, p2;
803
- if (gm.strand == "+") {
804
- p1 = gm.exon[exonidx - 2][1] - 1;
805
- p2 = gm.exon[exonidx - 1][0];
806
- } else {
807
- p1 = gm.exon[exonidx - 1][1] - 1;
808
- p2 = gm.exon[exonidx - 2][0];
809
- }
810
- evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
811
- }
812
- exonidx = evt.skippedexon[evt.skippedexon.length - 1];
813
- if (exonidx < gm.exon.length - 2) {
814
- let p1, p2;
815
- if (gm.strand == "+") {
816
- p1 = gm.exon[exonidx + 1][1] - 1;
817
- p2 = gm.exon[exonidx + 2][0];
818
- } else {
819
- p1 = gm.exon[exonidx + 2][1] - 1;
820
- p2 = gm.exon[exonidx + 1][0];
821
- }
822
- evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
823
- }
824
- }
825
- function checkexoncodingutr(exonidlst, gm) {
826
- if (!gm.coding) {
827
- return [false, false, false];
828
- }
829
- let exonstart = gm.exon[exonidlst[0]][0];
830
- let exonstop = gm.exon[exonidlst[0]][1];
831
- for (const idx of exonidlst) {
832
- exonstart = Math.min(gm.exon[idx][0], exonstart);
833
- exonstop = Math.max(gm.exon[idx][1], exonstop);
834
- }
835
- const forward = gm.strand == "+";
836
- let utr3 = false, utr5 = false, coding = false;
837
- if (exonstop <= gm.codingstart) {
838
- if (forward) {
839
- utr5 = true;
840
- } else {
841
- utr3 = true;
842
- }
843
- } else if (exonstart >= gm.codingstop) {
844
- if (forward) {
845
- utr3 = true;
846
- } else {
847
- utr5 = true;
848
- }
849
- } else {
850
- coding = true;
851
- }
852
- return [utr3, utr5, coding];
853
- }
854
-
855
- // src/block.tk.junction.spliceevent.js
856
- function spliceeventanalyze(tk, block) {
857
- if (tk.eventsg) {
858
- tk.eventsg.selectAll("*").remove();
859
- }
860
- if (tk.type != tkt.junction) {
861
- return;
862
- }
863
- if (!tk.data) {
864
- return;
865
- }
866
- if (tk.data.length == 0) {
867
- return;
868
- }
869
- const [gmdataerr, gmdata] = getgmdata(block);
870
- if (gmdataerr) {
871
- const fontsize = 12;
872
- const pad = 2;
873
- tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
874
- 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");
875
- tk.height_main += pad * 2 + fontsize;
876
- block.block_setheight();
877
- return;
878
- }
879
- if (!gmdata) {
880
- return;
881
- }
882
- for (const junction of tk.data) {
883
- delete junction.spliceevents;
884
- }
885
- mapjunctiontoexons(tk.data, gmdata);
886
- const allevents = [];
887
- const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
888
- if (exonskipalt.length > 0) {
889
- for (const exonset of exonskipalt) {
890
- if (exonlstoutofrange(exonset.exonlst, block)) {
891
- continue;
892
- }
893
- allevents.push(exonset);
894
- for (const thisevt of exonset.eventlst) {
895
- if (!thisevt.junctionB.spliceevents) {
896
- thisevt.junctionB.spliceevents = [];
897
- }
898
- thisevt.junctionB.spliceevents.push(thisevt);
899
- }
900
- }
901
- }
902
- if (allevents.length) {
903
- rendereventsintrack(allevents, tk, block);
904
- }
905
- }
906
- function rendereventsintrack(allevents, tk, block) {
907
- const labelfontsize = 10;
908
- const stackspace = 1;
909
- const boxlabelspacing = 2;
910
- let stackheight;
911
- if (tk.totalsamplecount > 1) {
912
- stackheight = labelfontsize * 3 + stackspace * 2;
913
- } else {
914
- stackheight = labelfontsize * 2 + stackspace;
915
- }
916
- for (const eventset of allevents) {
917
- eventset.g = tk.eventsg.append("g");
918
- const junctionB = eventset.eventlst[0].junctionB;
919
- const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
920
- 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");
921
- if (tk.totalsamplecount > 1) {
922
- 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");
923
- }
924
- let willshowframe = false;
925
- let thiseventframe = null;
926
- for (const evt of eventset.eventlst) {
927
- if (evt.isaltexon) {
928
- evt.framenocheck = true;
929
- continue;
930
- }
931
- if (evt.isskipexon) {
932
- if (!evt.gm.coding) {
933
- evt.framenocheck = true;
934
- continue;
935
- }
936
- if (evt.utr3 || evt.utr5) {
937
- evt.framenocheck = true;
938
- continue;
939
- }
940
- }
941
- willshowframe = true;
942
- if (block.genome.junctionframecache.has(jbstr)) {
943
- let isoform;
944
- if (evt.isskipexon) {
945
- isoform = evt.gm.isoform;
946
- }
947
- const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
948
- if (thisframe == void 0) {
949
- } else {
950
- evt.frame = thisframe;
951
- if (thiseventframe == null) {
952
- thiseventframe = thisframe;
953
- } else {
954
- if (thisframe == IN_frame) {
955
- thiseventframe = IN_frame;
956
- }
957
- }
958
- }
959
- } else {
960
- }
961
- }
962
- eventset.bottomlabel = eventset.g.append("text").text(
963
- eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
964
- ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
965
- if (willshowframe && thiseventframe == null) {
966
- for (const evt of eventset.eventlst) {
967
- let gm;
968
- if (evt.isaltexon) {
969
- gm = evt.gmB;
970
- } else if (evt.isskipexon) {
971
- gm = evt.gm;
972
- }
973
- if (!block.genome.junctionframecache.has(jbstr)) {
974
- checkjunctionframe({
975
- jbstr,
976
- evt,
977
- gm,
978
- block,
979
- eventset
980
- });
981
- continue;
982
- }
983
- if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
984
- checkjunctionframe({
985
- jbstr,
986
- evt,
987
- gm,
988
- block,
989
- eventset
990
- });
991
- }
992
- }
993
- }
994
- const exonobjlst = [];
995
- let boxstart = null, boxstop;
996
- for (const exon of eventset.exonlst) {
997
- const pointa = block.seekcoord(exon.chr, exon.start)[0];
998
- if (!pointa) {
999
- console.log("skipped exon start position not mapped: " + exon.start);
1000
- return;
1001
- }
1002
- const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1003
- if (!pointb) {
1004
- console.log("skipped exon stop position not mapped: " + exon.stop);
1005
- return;
1006
- }
1007
- const exonobj = {
1008
- x: Math.min(pointa.x, pointb.x),
1009
- w: Math.max(1, Math.abs(pointa.x - pointb.x))
1010
- };
1011
- exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1012
- console.log(eventset);
1013
- });
1014
- if (boxstart == null) {
1015
- boxstart = exonobj.x;
1016
- boxstop = exonobj.x + exonobj.w;
1017
- } else {
1018
- boxstart = Math.min(boxstart, exonobj.x);
1019
- boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1020
- }
1021
- exonobjlst.push(exonobj);
1022
- }
1023
- for (const exon of exonobjlst) {
1024
- exon.rect.attr("x", exon.x - boxstart);
1025
- }
1026
- eventset.boxstart = boxstart;
1027
- eventset.boxwidth = boxstop - boxstart;
1028
- if (eventset.exonlst.length > 1) {
1029
- 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);
1030
- }
1031
- eventset.toplabel.each(function() {
1032
- eventset.labelwidth = this.getBBox().width;
1033
- });
1034
- if (eventset.middlelabel) {
1035
- eventset.middlelabel.each(function() {
1036
- eventset.labelwidth = this.getBBox().width;
1037
- });
1038
- }
1039
- eventset.bottomlabel.each(function() {
1040
- eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1041
- });
1042
- if (eventset.labelwidth > eventset.boxstart) {
1043
- eventset.labelonright = true;
1044
- eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1045
- eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1046
- if (eventset.middlelabel) {
1047
- eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1048
- }
1049
- } else {
1050
- eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1051
- eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1052
- if (eventset.middlelabel) {
1053
- eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1054
- }
1055
- }
1056
- 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", () => {
1057
- eventset.cover.attr("fill-opacity", 0.1);
1058
- }).on("mouseout", () => {
1059
- eventset.cover.attr("fill-opacity", 0);
1060
- }).on("click", () => {
1061
- tk.tktip.clear();
1062
- displayspliceevents(eventset.eventlst, tk.tktip.d);
1063
- tk.tktip.showunder(eventset.cover.node());
1064
- });
1065
- }
1066
- const stacks = [0];
1067
- for (const eventset of allevents) {
1068
- let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1069
- let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1070
- for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1071
- if (x1 > stacks[stackidx]) {
1072
- eventset.stackidx = stackidx;
1073
- stacks[stackidx] = x2;
1074
- break;
1075
- }
1076
- if (!eventset.labelonright) {
1077
- const newx1 = eventset.boxstart;
1078
- const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1079
- if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1080
- eventset.labelonright = true;
1081
- eventset.stackidx = stackidx;
1082
- stacks[stackidx] = newx2;
1083
- eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1084
- eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1085
- if (eventset.middlelabel) {
1086
- eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1087
- }
1088
- eventset.cover.attr("x", 0);
1089
- break;
1090
- }
1091
- }
1092
- }
1093
- if (eventset.stackidx == void 0) {
1094
- eventset.stackidx = stacks.length;
1095
- stacks.push(x2);
1096
- }
1097
- eventset.g.attr(
1098
- "transform",
1099
- "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1100
- );
1101
- }
1102
- tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1103
- block.block_setheight();
1104
- }
1105
- function checkjunctionframe(arg) {
1106
- if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1107
- arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1108
- }
1109
- if (!arg.gm.coding) {
1110
- arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1111
- mayupdateeventsetlabel(arg);
1112
- return;
1113
- }
1114
- const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1115
- dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1116
- if (!data) {
1117
- console.log("server error");
1118
- return;
1119
- }
1120
- if (data.error) {
1121
- console.log(data.error);
1122
- return;
1123
- }
1124
- if (typeof data.frame != "boolean") {
1125
- console.log("invalid result from translategm: " + data.frame);
1126
- return;
1127
- }
1128
- arg.evt.frame = data.frame;
1129
- arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1130
- mayupdateeventsetlabel(arg);
1131
- });
1132
- }
1133
- function mayupdateeventsetlabel(arg) {
1134
- if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1135
- return;
1136
- }
1137
- let frame = OUT_frame;
1138
- for (const evt of arg.eventset.eventlst) {
1139
- if (evt.framenocheck) {
1140
- continue;
1141
- }
1142
- let isoform;
1143
- if (evt.isskipexon) {
1144
- isoform = evt.gm.isoform;
1145
- }
1146
- const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1147
- if (thisframe == void 0) {
1148
- return;
1149
- }
1150
- if (thisframe == IN_frame) {
1151
- frame = IN_frame;
1152
- }
1153
- }
1154
- arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1155
- }
1156
- function displayspliceevents(events, holder) {
1157
- const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1158
- if (events.length > 1) {
1159
- holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1160
- const name = Math.random().toString();
1161
- for (const [idx, evt] of events.entries()) {
1162
- const id = name + idx;
1163
- const row = holder.append("div").style("margin-top", "3px");
1164
- row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1165
- displayspliceevents_show(events, idx, showdiv);
1166
- });
1167
- row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1168
- }
1169
- }
1170
- const showdiv = holder.append("div");
1171
- displayspliceevents_show(events, evt2showidx, showdiv);
1172
- }
1173
- function displayspliceevents_show(events, idx, div) {
1174
- div.selectAll("*").remove();
1175
- import("./spliceevent.exonskip.diagram-QRQ3DZ3I.js").then((p) => {
1176
- p.default({
1177
- event: events[idx],
1178
- holder: div,
1179
- nophrase: events.length > 1
1180
- });
1181
- });
1182
- }
1183
- function exonlstoutofrange(lst, block) {
1184
- const chr = lst[0].chr;
1185
- let start = lst[0].start;
1186
- let stop = lst[0].stop;
1187
- for (const e of lst) {
1188
- start = Math.min(start, e.start);
1189
- stop = Math.max(stop, e.stop);
1190
- }
1191
- const starthit = block.seekcoord(chr, start)[0];
1192
- const stophit = block.seekcoord(chr, stop)[0];
1193
- if (!starthit || !stophit) {
1194
- return true;
1195
- }
1196
- let startoutleft = false;
1197
- let startoutright = false;
1198
- if (starthit.x <= 0) {
1199
- startoutleft = true;
1200
- } else if (starthit.x >= block.width) {
1201
- startoutright = true;
1202
- }
1203
- let stopoutleft = false;
1204
- let stopoutright = false;
1205
- if (stophit.x <= 0) {
1206
- stopoutleft = true;
1207
- } else if (stophit.x >= block.width) {
1208
- stopoutright = true;
1209
- }
1210
- if (startoutleft && stopoutleft) return true;
1211
- if (startoutright && stopoutright) return true;
1212
- return false;
1213
- }
1214
- function getgmdata(block) {
1215
- if (!block.gmmode || block.gmmode == gmmode.genomic) {
1216
- const genetk = [];
1217
- for (const t of block.tklst) {
1218
- if (t.__isgene) {
1219
- genetk.push(t);
1220
- }
1221
- }
1222
- if (genetk.length == 0) {
1223
- return ["Add a gene track to analyze splice junctions."];
1224
- }
1225
- const gmdatalst = [];
1226
- for (const t of genetk) {
1227
- if (t.gmdata) {
1228
- for (const m of t.gmdata) {
1229
- gmdatalst.push(m);
1230
- }
1231
- }
1232
- }
1233
- if (gmdatalst.length == 0) {
1234
- return [null];
1235
- }
1236
- const regions = [];
1237
- for (const m of gmdatalst) {
1238
- let overlap = false;
1239
- for (const r of regions) {
1240
- if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1241
- overlap = true;
1242
- r.start = Math.min(r.start, m.start);
1243
- r.stop = Math.max(r.stop, m.stop);
1244
- break;
1245
- }
1246
- }
1247
- if (!overlap) {
1248
- regions.push({ start: m.start, stop: m.stop });
1249
- }
1250
- }
1251
- if (regions.length >= 3) {
1252
- return ["Zoom in on a single gene to analyze splice junctions."];
1253
- }
1254
- return [null, gmdatalst];
1255
- }
1256
- if (block.gmmode == gmmode.gmsum) {
1257
- if (!block.allgm) {
1258
- return ["Error: block.allgm[] is missing"];
1259
- }
1260
- return [null, block.allgm];
1261
- }
1262
- if (!block.usegm) {
1263
- return ["Error: block.usegm is missing"];
1264
- }
1265
- return [null, [block.usegm]];
1266
- }
1267
-
1268
- // src/block.tk.junction.renderjunctions.js
1269
- var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1270
- var colorfunc = ordinal(category10_default);
1271
- var minfontsize = 12;
1272
- function rendertk(junctions, tk, block) {
1273
- if (tk.data) {
1274
- const map = /* @__PURE__ */ new Map();
1275
- for (const j of tk.data) {
1276
- map.set(j.chr + "." + j.start + "." + j.stop, j);
1277
- }
1278
- const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1279
- for (const i of junctions) {
1280
- const j = map.get(i.chr + "." + i.start + "." + i.stop);
1281
- if (j) {
1282
- i.x = j.x + pannedpx;
1283
- i.mode = j.mode;
1284
- i.modefix = j.modefix;
1285
- if (i.mode == modesample) {
1286
- i.mode = moderaise;
1287
- }
1288
- }
1289
- }
1290
- }
1291
- tk.data = junctions;
1292
- tk.glider.selectAll("*").remove();
1293
- tk.leftaxis.selectAll("*").remove();
1294
- if (tk.readcountcutoff) {
1295
- const newj = [];
1296
- for (const j of tk.data) {
1297
- if (j.data) {
1298
- const newsamples = [];
1299
- for (const s of j.data) {
1300
- if (s.v >= tk.readcountcutoff) {
1301
- newsamples.push(s);
1302
- }
1303
- }
1304
- if (newsamples.length == 0) {
1305
- continue;
1306
- }
1307
- j.data = newsamples;
1308
- newj.push(j);
1309
- } else {
1310
- if (j.v >= tk.readcountcutoff) {
1311
- newj.push(j);
1312
- }
1313
- }
1314
- }
1315
- tk.data = newj;
1316
- }
1317
- if (tk.data.length == 0) {
1318
- tk.height_main = 50;
1319
- block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1320
- tk.label_mcount.text("");
1321
- if (tk.label_samplecount) {
1322
- tk.label_samplecount.text("");
1323
- }
1324
- get_leftLabelMaxwidth(tk);
1325
- block.setllabel();
1326
- block.block_setheight();
1327
- return;
1328
- }
1329
- tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1330
- get_leftLabelMaxwidth(tk);
1331
- block.setllabel();
1332
- junctiontype2color(tk, block);
1333
- const mg = tk.glider.append("g");
1334
- tk.data.sort((a, b) => {
1335
- return a._x - b._x;
1336
- });
1337
- let maxsamplecount = 0;
1338
- if (tk.totalsamplecount > 1) {
1339
- maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1340
- const radius = 5;
1341
- let mrd = 0;
1342
- const w = Math.pow(radius, 2) * Math.PI;
1343
- if (maxsamplecount <= 10) {
1344
- mrd = w * maxsamplecount * 0.9;
1345
- } else if (maxsamplecount <= 100) {
1346
- mrd = w * 10;
1347
- } else if (maxsamplecount <= 1e3) {
1348
- mrd = w * 14;
1349
- } else {
1350
- mrd = w * 20;
1351
- }
1352
- const sf_discradius = linear().domain([
1353
- 1,
1354
- maxsamplecount * 0.5 + 0.1,
1355
- maxsamplecount * 0.6 + 0.1,
1356
- maxsamplecount * 0.7 + 0.1,
1357
- maxsamplecount * 0.8 + 0.1,
1358
- maxsamplecount
1359
- ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1360
- let maxradius = 0;
1361
- for (const j of tk.data) {
1362
- j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1363
- if (j.data.length > 1) {
1364
- mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1365
- const b = this.getBBox();
1366
- const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1367
- j.radius = Math.max(j.radius, newrad);
1368
- }).remove();
1369
- }
1370
- j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1371
- j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1372
- maxradius = Math.max(maxradius, j.radius2);
1373
- }
1374
- tk.maxradius = maxradius;
1375
- } else {
1376
- maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1377
- const radius = 5;
1378
- let mrd = 0;
1379
- const w = Math.pow(radius, 2) * Math.PI;
1380
- if (maxsamplecount <= 10) {
1381
- mrd = w * maxsamplecount * 0.9;
1382
- } else if (maxsamplecount <= 100) {
1383
- mrd = w * 5;
1384
- } else if (maxsamplecount <= 1e3) {
1385
- mrd = w * 7;
1386
- } else {
1387
- mrd = w * 10;
1388
- }
1389
- const sf_discradius = linear().domain([
1390
- 1,
1391
- maxsamplecount * 0.5 + 0.1,
1392
- maxsamplecount * 0.6 + 0.1,
1393
- maxsamplecount * 0.7 + 0.1,
1394
- maxsamplecount * 0.8 + 0.1,
1395
- maxsamplecount
1396
- ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1397
- let maxradius = 0;
1398
- for (const j of tk.data) {
1399
- j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1400
- j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1401
- j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1402
- maxradius = Math.max(maxradius, j.radius2);
1403
- }
1404
- tk.maxradius = maxradius;
1405
- }
1406
- let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1407
- for (const j of tk.data) {
1408
- for (const s of j.data) {
1409
- maxread = Math.max(s.v, maxread);
1410
- }
1411
- if (j.data.length == 1) {
1412
- j.median = j.data[0].v;
1413
- } else {
1414
- const readlst = j.data.map((s) => s.v);
1415
- readlst.sort((a, b) => a - b);
1416
- j.median = readlst[Math.floor(j.data.length / 2)];
1417
- }
1418
- if (j.median > maxmedian) {
1419
- maxmedian = j.median;
1420
- maxmedianradius = j.radius;
1421
- }
1422
- }
1423
- tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1424
- axisstyle({
1425
- axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1426
- color: "black",
1427
- showline: true
1428
- });
1429
- tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1430
- tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1431
- automode(tk, null, block.width);
1432
- mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1433
- {
1434
- const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1435
- 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");
1436
- 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");
1437
- let v = 10;
1438
- while (v <= maxread) {
1439
- 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");
1440
- v *= 10;
1441
- }
1442
- }
1443
- const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1444
- j.jugg = this;
1445
- });
1446
- tk.jug = jug;
1447
- if (tk.hljunctions) {
1448
- jug.attr("class", (d) => {
1449
- for (const j of tk.hljunctions) {
1450
- if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1451
- return "sja_pulse";
1452
- }
1453
- }
1454
- return null;
1455
- });
1456
- }
1457
- 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) {
1458
- d.leg1 = this;
1459
- }).classed("sja_jug_leg1", true);
1460
- 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) {
1461
- d.leg2 = this;
1462
- });
1463
- const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1464
- 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) {
1465
- d.stem = this;
1466
- });
1467
- jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1468
- 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");
1469
- 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) => {
1470
- jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1471
- jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1472
- jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1473
- select_default(d.leg1).attr("stroke-opacity", 1);
1474
- select_default(d.leg2).attr("stroke-opacity", 1);
1475
- select_default(d.stem).attr("stroke-opacity", 1);
1476
- if (d.mode == modefold) {
1477
- foldedjunctioninfo(d, tk);
1478
- return;
1479
- }
1480
- const circle = event.target.getBoundingClientRect();
1481
- expandedjunctioninfo(d, tk, circle);
1482
- }).on("mouseout", () => {
1483
- tk.pica.g.selectAll("*").remove();
1484
- tk.tktip.hide();
1485
- jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1486
- jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1487
- jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1488
- }).on("mousedown", (event) => {
1489
- event.stopPropagation();
1490
- }).on("click", (event, d) => {
1491
- if (d.mode == modefold) {
1492
- d.mode = moderaise;
1493
- } else if (d.mode == moderaise) {
1494
- if (d.data.length == 1) {
1495
- d.mode = modefold;
1496
- } else {
1497
- d.mode = modesample;
1498
- junctionsamplespread(d, tk, block);
1499
- }
1500
- } else {
1501
- d.mode = modefold;
1502
- }
1503
- d.modefix = true;
1504
- horiplace(tk.data, block.width, tk);
1505
- });
1506
- horiplace(tk.data, block.width, tk);
1507
- function set_lineopacity(d) {
1508
- return 0.5;
1509
- }
1510
- block.onloadalltk.push(() => {
1511
- spliceeventanalyze(tk, block);
1512
- });
1513
- block.tkcloakoff(tk, {});
1514
- block.block_setheight();
1515
- }
1516
- function horiplace(lst, width, tk) {
1517
- const todo = [];
1518
- for (const i of lst) {
1519
- if (i.x0 < 0) {
1520
- i.tox = i.x1 - i.radius2 * 2;
1521
- } else if (i.x1 > width) {
1522
- i.tox = i.x0 + i.radius2 * 2;
1523
- } else {
1524
- i.tox = i._x;
1525
- }
1526
- if (i.mode == modefold) {
1527
- i.x = i.tox;
1528
- } else {
1529
- todo.push(i);
1530
- }
1531
- }
1532
- for (const i of lst) {
1533
- i.x = i.tox;
1534
- }
1535
- set_all(tk);
1536
- return;
1537
- }
1538
- function automode(tk, usemode, blockwidth) {
1539
- for (const i of tk.data) {
1540
- if (!i.mode) i.mode = moderaise;
1541
- }
1542
- return;
1543
- const samplecountlst = [];
1544
- for (let i = 0; i < tk.data.length; i++) {
1545
- samplecountlst.push({
1546
- idx: i,
1547
- count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1548
- });
1549
- }
1550
- samplecountlst.sort((a, b) => b.count - a.count);
1551
- let cumx = 0;
1552
- for (const cc of samplecountlst) {
1553
- const d = tk.data[cc.idx];
1554
- if (!d.mode) {
1555
- cumx += d.radius2 * 2;
1556
- d.mode = cumx >= blockwidth ? modefold : moderaise;
1557
- } else {
1558
- if (d.modefix) {
1559
- if (d.mode != modefold) {
1560
- cumx += d.radius2 * 2;
1561
- }
1562
- } else {
1563
- if (usemode) {
1564
- d.mode = usemode;
1565
- if (d.mode != modefold) {
1566
- cumx += d.radius2 * 2;
1567
- }
1568
- } else {
1569
- cumx += d.radius2 * 2;
1570
- d.mode = cumx >= blockwidth ? modefold : moderaise;
1571
- }
1572
- }
1573
- }
1574
- }
1575
- }
1576
- function set_jug(d) {
1577
- return "translate(" + d.x + ",0)";
1578
- }
1579
- function set_leg_x1(d) {
1580
- return d.x0 - d.x;
1581
- }
1582
- function set_leg_x2(d) {
1583
- return d.x1 - d.x;
1584
- }
1585
- function set_discnum(d) {
1586
- return d.mode == modefold ? 0 : 1;
1587
- }
1588
- function set_stem_y1(d) {
1589
- if (d.mode == modefold) return d.radius;
1590
- return d.radius2;
1591
- }
1592
- function set_qmg(d, tk) {
1593
- if (d.mode == modesample)
1594
- return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1595
- return "translate(0,0) scale(0)";
1596
- }
1597
- function set_leg_y(d, tk) {
1598
- if (d.mode == modefold) return -tk.legheight;
1599
- return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1600
- }
1601
- function set_jug2(d, tk) {
1602
- if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1603
- if (d.mode == moderaise)
1604
- return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1605
- return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1606
- }
1607
- function set_stem_y2(d, tk) {
1608
- if (d.mode == modefold) return d.radius + tk.lowpad;
1609
- if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1610
- return tk.maxradius + tk.padheight;
1611
- }
1612
- function set_all(tk) {
1613
- const dur = 500;
1614
- if (tk.totalsamplecount > 1) {
1615
- tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1616
- tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1617
- }
1618
- tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1619
- tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1620
- tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1621
- tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1622
- tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1623
- }
1624
- function junctiontype2color(tk, block) {
1625
- for (const j of tk.data) {
1626
- j.color = defaultcolor;
1627
- }
1628
- if (tk.nocatepreconfig) {
1629
- let categories = {};
1630
- if (tk.categories) {
1631
- categories = tk.categories;
1632
- }
1633
- let hasnewtype = false;
1634
- for (const j of tk.data) {
1635
- if (j.type) {
1636
- if (!categories[j.type]) {
1637
- hasnewtype = true;
1638
- categories[j.type] = {
1639
- label: j.type
1640
- };
1641
- if (j.type.toLowerCase() == "known") {
1642
- categories[j.type].color = "#0C72A8";
1643
- } else if (j.type.toLowerCase() == "novel") {
1644
- categories[j.type].color = "#A80C33";
1645
- } else {
1646
- categories[j.type].color = colorfunc(j.type);
1647
- }
1648
- }
1649
- }
1650
- }
1651
- if (hasnewtype) {
1652
- tk.categories = categories;
1653
- if (!tk.tr_legend) {
1654
- const [tr, td] = legend_newrow(block, tk.name);
1655
- tk.tr_legend = tr;
1656
- tk.td_legend = td;
1657
- tr.style("display", "none");
1658
- appear(tr, "table-row");
1659
- }
1660
- category2legend(tk.categories, tk.td_legend);
1661
- }
1662
- }
1663
- if (tk.categories) {
1664
- for (const j of tk.data) {
1665
- if (j.type && tk.categories[j.type]) {
1666
- j.color = tk.categories[j.type].color;
1667
- }
1668
- }
1669
- }
1670
- }
1671
- function foldedjunctioninfo(d, tk) {
1672
- const fontsize = 15;
1673
- let pad = 5, y = pad, width = 0;
1674
- const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1675
- if (d.type) {
1676
- 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() {
1677
- width = this.getBBox().width;
1678
- });
1679
- y += fontsize;
1680
- }
1681
- if (d.data) {
1682
- 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() {
1683
- width = Math.max(width, this.getBBox().width);
1684
- });
1685
- y += fontsize;
1686
- 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() {
1687
- width = Math.max(width, this.getBBox().width);
1688
- });
1689
- y += fontsize;
1690
- } else {
1691
- 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() {
1692
- width = Math.max(width, this.getBBox().width);
1693
- });
1694
- y += fontsize;
1695
- }
1696
- y += pad;
1697
- bg.attr("width", pad * 2 + width).attr("height", y);
1698
- 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);
1699
- y += 15;
1700
- tk.pica.g.attr(
1701
- "transform",
1702
- "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1703
- );
1704
- }
1705
- function expandedjunctioninfo(d, tk, circle) {
1706
- tk.tktip.clear();
1707
- const holder = tk.tktip.d;
1708
- if (d.type) {
1709
- 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");
1710
- }
1711
- holder.append("div").html(
1712
- bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1713
- );
1714
- if (d.data) {
1715
- if (d.data.length > 1) {
1716
- holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1717
- if (d.rimcount) {
1718
- holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1719
- }
1720
- holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1721
- } else if (d.data.length == 1) {
1722
- samplejunctiontooltip(d, d.data[0], tk, holder);
1723
- }
1724
- } else {
1725
- holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1726
- }
1727
- if (d.spliceevents && d.spliceevents.length > 0) {
1728
- const renderdiv = holder.append("div").style("margin", "10px 0px");
1729
- displayspliceevents(d.spliceevents, renderdiv);
1730
- }
1731
- tk.tktip.show(circle.left + circle.width, circle.top - 50);
1732
- }
1733
- function junctionsamplespread(j, tk, block) {
1734
- if (j.qmg) {
1735
- j.qmg.remove();
1736
- }
1737
- if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1738
- for (const d of j.data) {
1739
- if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1740
- d.color = "gray";
1741
- continue;
1742
- }
1743
- const levelkeys = [];
1744
- for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1745
- const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1746
- if (levelvalue) {
1747
- levelkeys.push(levelvalue);
1748
- }
1749
- }
1750
- const str = levelkeys.join(tk.cohortsetting.levelseparator);
1751
- d.color = tk.cohortsetting.colorfunc(str);
1752
- }
1753
- }
1754
- 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();
1755
- const jugg = select_default(j.jugg);
1756
- j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1757
- const opacity = 0.8;
1758
- j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1759
- return bee.datum.color || "green";
1760
- }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1761
- select_default(event.target).attr("fill-opacity", 1);
1762
- const p = event.target.getBoundingClientRect();
1763
- tk.tktip.clear();
1764
- tk.tktip.show(p.left + 20, p.top - 40);
1765
- samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1766
- }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1767
- if (tk.tracks) {
1768
- return;
1769
- }
1770
- }).transition().attr("cx", (bee) => bee.x);
1771
- }
1772
- function samplejunctiontooltip(j, sample, tk, holder) {
1773
- if (sample.sample) {
1774
- holder.append("div").html(sample.sample);
1775
- } else if (sample.name) {
1776
- holder.append("div").html(sample.name);
1777
- } else if (sample.patient || sample.sampletype) {
1778
- if (sample.patient) {
1779
- holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1780
- }
1781
- if (sample.sampletype) {
1782
- holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1783
- }
1784
- } else if (sample.tkid) {
1785
- for (const t of tk.tracks) {
1786
- if (t.tkid == sample.tkid) {
1787
- holder.append("div").text(t.name || "unnamed member");
1788
- break;
1789
- }
1790
- }
1791
- }
1792
- if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1793
- for (const lev of tk.cohortsetting.cohort.levels) {
1794
- if (sample[lev.k]) {
1795
- holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1796
- }
1797
- }
1798
- }
1799
- holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1800
- if (sample.metadata) {
1801
- holder.append("div").html(
1802
- '<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>"
1803
- );
1804
- }
1805
- if (sample.hasrim) {
1806
- holder.append("div").text(tk.rimwhat);
1807
- }
1808
- if (j.spliceevents) {
1809
- const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1810
- const evt = j.spliceevents[evtidx];
1811
- const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1812
- let jbcount = 0;
1813
- if (evt.junctionB && evt.junctionB.data) {
1814
- for (const d of evt.junctionB.data) {
1815
- if (d.tkid == sample.tkid) {
1816
- jbcount = d.v;
1817
- break;
1818
- }
1819
- }
1820
- }
1821
- let acountsum = 0;
1822
- if (evt.junctionAlst) {
1823
- for (const ja of evt.junctionAlst) {
1824
- if (ja && ja.data) {
1825
- for (const d of ja.data) {
1826
- if (d.tkid == sample.tkid) {
1827
- acountsum += d.v;
1828
- break;
1829
- }
1830
- }
1831
- }
1832
- }
1833
- }
1834
- let percent;
1835
- if (jbcount == 0) {
1836
- percent = 0;
1837
- } else {
1838
- percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1839
- }
1840
- holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1841
- }
1842
- }
1843
- function get_leftLabelMaxwidth(tk) {
1844
- const collectlabw = [];
1845
- tk.tklabel.each(function() {
1846
- collectlabw.push(this.getBBox().width);
1847
- });
1848
- if (tk.label_mcount) {
1849
- tk.label_mcount.each(function() {
1850
- collectlabw.push(this.getBBox().width);
1851
- });
1852
- }
1853
- tk.leftLabelMaxwidth = Math.max(...collectlabw);
1854
- }
1855
-
1856
- // src/block.tk.junction.js
1857
- var binpxw = 5;
1858
- var modefold = 1;
1859
- var moderaise = 2;
1860
- var modesample = 3;
1861
- var labyspace = 5;
1862
- function makeTk(tk, block) {
1863
- tk.leftaxis = tk.gleft.append("g");
1864
- let laby = labyspace + block.labelfontsize;
1865
- const thistip = new Menu({ padding: "none" });
1866
- tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1867
- label_mcount_fillpane(tk, block, thistip);
1868
- });
1869
- laby += labyspace + block.labelfontsize;
1870
- tk.totalsamplecount = 0;
1871
- tk.height_main = 100;
1872
- tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1873
- if (tk.categories || tk.cohortsetting) {
1874
- const [tr, td] = legend_newrow(block, tk.name);
1875
- tk.tr_legend = tr;
1876
- tk.td_legend = td;
1877
- }
1878
- if (tk.categories) {
1879
- category2legend(tk.categories, tk.td_legend);
1880
- }
1881
- if (tk.cohortsetting) {
1882
- tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1883
- tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1884
- }
1885
- }
1886
- function junctionload(tk, block) {
1887
- if (tk.uninitialized) {
1888
- makeTk(tk, block);
1889
- delete tk.uninitialized;
1890
- }
1891
- if ((block.zoomedin || block.resized) && tk.data) {
1892
- const junc = [];
1893
- for (const i of tk.data) {
1894
- const oldx = i.x;
1895
- const e = j2block(i, block);
1896
- if (e) {
1897
- continue;
1898
- }
1899
- if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1900
- i.x = oldx;
1901
- junc.push(i);
1902
- }
1903
- }
1904
- rendertk(junc, tk, block);
1905
- return;
1906
- }
1907
- if (tk.fixeddata) {
1908
- block.tkcloakon(tk);
1909
- const junc2 = [];
1910
- for (const j of tk.fixeddata) {
1911
- const j2 = {
1912
- chr: j.chr,
1913
- start: j.start,
1914
- stop: j.stop,
1915
- data: j.data,
1916
- type: j.type
1917
- };
1918
- const e = j2block(j2, block);
1919
- if (e) {
1920
- continue;
1921
- }
1922
- junc2.push(j2);
1923
- }
1924
- tk.totalsamplecount = tk.tracks[0].samplecount;
1925
- tk.axisheight = 200;
1926
- tk.legheight = 50;
1927
- tk.bottompad = 0;
1928
- tk.qmradius = 2;
1929
- tk.lowpad = 15;
1930
- tk.padheight = 10;
1931
- rendertk(junc2, tk, block);
1932
- return;
1933
- }
1934
- if (!tk.tracks) {
1935
- block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1936
- tk.height_main = 50;
1937
- block.block_setheight();
1938
- return;
1939
- }
1940
- block.block_setheight();
1941
- block.tkcloakon(tk);
1942
- const bincount = Math.ceil(block.width / binpxw);
1943
- let bins = null;
1944
- let donenum = 0;
1945
- const tasks = [];
1946
- const allfiledata = [];
1947
- for (const t of tk.tracks) {
1948
- const getheader = new Promise((resolve, reject) => {
1949
- if (t.rnapegfile) {
1950
- t.samplecount = 1;
1951
- return resolve();
1952
- }
1953
- if (t.samplecount != void 0 && t.checkedheader) return resolve();
1954
- const par = {};
1955
- if (t.file) {
1956
- par.file = t.file;
1957
- } else {
1958
- par.url = t.url;
1959
- if (t.indexURL) par.indexURL = t.indexURL;
1960
- }
1961
- dofetch3("tabixheader", { body: par }).then((data) => {
1962
- if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1963
- t.checkedheader = true;
1964
- const str = data.lines.join("");
1965
- if (!str) {
1966
- } else {
1967
- const l = str.trim().split(" ");
1968
- t.headersamples = [];
1969
- for (let i = 5; i < l.length; i++) {
1970
- const str2 = l[i];
1971
- let j = null;
1972
- if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1973
- try {
1974
- j = JSON.parse(str2);
1975
- } catch (e) {
1976
- console.error("header line field [" + i + "] is broken json: " + str2);
1977
- }
1978
- }
1979
- if (j) {
1980
- j.tkid = Math.random().toString();
1981
- t.headersamples.push(j);
1982
- } else {
1983
- t.headersamples.push({
1984
- name: l[i],
1985
- tkid: Math.random().toString()
1986
- });
1987
- }
1988
- }
1989
- t.samplecount = t.headersamples.length;
1990
- tk.totalsamplecount += t.samplecount;
1991
- }
1992
- resolve();
1993
- });
1994
- });
1995
- const getdata = new Promise((resolve, reject) => {
1996
- getheader.then(() => {
1997
- const par = {
1998
- genome: block.genome.name,
1999
- rglst: block.tkarg_maygm(t)
2000
- };
2001
- if (bincount) par.bincount = bincount;
2002
- if (t.file || t.rnapegfile) {
2003
- par.file = t.file || t.rnapegfile;
2004
- } else {
2005
- par.url = t.url;
2006
- if (t.indexURL) par.indexURL = t.indexURL;
2007
- }
2008
- if (t.rnapegfile) {
2009
- par.isrnapeg = 1;
2010
- }
2011
- dofetch3("termdb/junction/onesampletk", { body: par }).then((data) => {
2012
- donenum++;
2013
- if (tk.tracks.length > 1) {
2014
- block.tkprogress(tk, donenum / tk.tracks.length);
2015
- }
2016
- if (!data) reject("server error for getting member track " + t.name);
2017
- if (data.error) reject("Cannot get data: " + data.error);
2018
- if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2019
- if (data.lst) {
2020
- if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2021
- t.samplecount = data.lst[0].rawdata.length;
2022
- tk.totalsamplecount += t.samplecount;
2023
- }
2024
- if (bins) {
2025
- } else {
2026
- const thisfilejunctions = [];
2027
- for (const k of data.lst) {
2028
- k.data = [];
2029
- for (let i = 0; i < k.rawdata.length; i++) {
2030
- const v = k.rawdata[i];
2031
- if (!Number.isInteger(v) || v <= 0) {
2032
- continue;
2033
- }
2034
- const s = { v };
2035
- if (t.headersamples) {
2036
- const s0 = t.headersamples[i];
2037
- if (s0) {
2038
- for (const _k in s0) {
2039
- s[_k] = s0[_k];
2040
- }
2041
- }
2042
- } else {
2043
- if (t.name) s.name = t.name;
2044
- if (t.sample) s.sample = t.sample;
2045
- if (t.patient) s.patient = t.patient;
2046
- if (t.sampeltype) s.sampletype = t.sampletype;
2047
- if (t.tkid) s.tkid = t.tkid;
2048
- if (t.file) s.file = t.file;
2049
- if (t.url) s.url = t.url;
2050
- if (t.indexURL) s.indexURL = t.indexURL;
2051
- }
2052
- k.data.push(s);
2053
- }
2054
- delete k.rawdata;
2055
- thisfilejunctions.push(k);
2056
- }
2057
- resolve(thisfilejunctions);
2058
- }
2059
- } else {
2060
- }
2061
- });
2062
- }).catch((err) => reject(err));
2063
- });
2064
- tasks.push(getdata);
2065
- }
2066
- Promise.all(tasks).then((data) => {
2067
- const junc = [];
2068
- data.forEach((dat) => {
2069
- if (!dat) return;
2070
- dat.forEach((k) => {
2071
- let notfound = true;
2072
- for (const j of junc) {
2073
- if (j.start == k.start && j.stop == k.stop) {
2074
- j.data = j.data.concat(k.data);
2075
- notfound = false;
2076
- break;
2077
- }
2078
- }
2079
- if (notfound) {
2080
- junc.push(k);
2081
- }
2082
- });
2083
- });
2084
- for (const j of junc) {
2085
- j2block(j, block);
2086
- }
2087
- for (const j of junc) {
2088
- smuggleattributes(j);
2089
- }
2090
- if (!tk.axisheight) {
2091
- if (tk.totalsamplecount > 1) {
2092
- tk.axisheight = 200;
2093
- tk.legheight = 50;
2094
- tk.bottompad = 0;
2095
- tk.qmradius = 2;
2096
- tk.lowpad = 15;
2097
- tk.padheight = 10;
2098
- } else {
2099
- tk.axisheight = 100;
2100
- tk.legheight = 20;
2101
- tk.bottompad = 0;
2102
- tk.lowpad = 10;
2103
- tk.padheight = 10;
2104
- }
2105
- if (tk.cohortsetting) {
2106
- initcohortsetting(tk, block);
2107
- }
2108
- }
2109
- rendertk(junc, tk, block);
2110
- }).catch((err) => {
2111
- tk.glider.selectAll("*").remove();
2112
- block.tkcloakoff(tk, { error: err });
2113
- block.block_setheight();
2114
- });
2115
- }
2116
- function j2block(j, block) {
2117
- const starthit = block.seekcoord(j.chr, j.start)[0];
2118
- if (!starthit) {
2119
- return true;
2120
- }
2121
- const stophit = block.seekcoord(j.chr, j.stop)[0];
2122
- if (!stophit) {
2123
- return true;
2124
- }
2125
- const startout = starthit.x < 0 || starthit.x > block.width;
2126
- const stopout = stophit.x < 0 || stophit.x > block.width;
2127
- if (startout && stopout) {
2128
- return true;
2129
- }
2130
- j.x0 = starthit.x;
2131
- j.x1 = stophit.x;
2132
- j.x = (j.x0 + j.x1) / 2;
2133
- j._x = j.x;
2134
- if (!j.modefix) {
2135
- j.mode = moderaise;
2136
- }
2137
- return false;
2138
- }
2139
- function smuggleattributes(j) {
2140
- }
2141
- function label_mcount_fillpane(tk, block, tip) {
2142
- tip.clear();
2143
- const holder = tip.d;
2144
- const types = /* @__PURE__ */ new Map();
2145
- for (const j of tk.data) {
2146
- if (!j.type) continue;
2147
- if (!types.has(j.type)) {
2148
- types.set(j.type, []);
2149
- }
2150
- if (j.data) {
2151
- types.get(j.type).push(j.data.map((i) => i.v));
2152
- } else {
2153
- types.get(j.type).push(j.v);
2154
- }
2155
- }
2156
- if (types.size) {
2157
- const d = holder.append("div").style("margin", "8px");
2158
- for (const [type, valuelst] of types) {
2159
- d.append("div").style("margin", "2px").html(
2160
- valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2161
- );
2162
- let vlst = valuelst;
2163
- if (tk.tracks) {
2164
- vlst = [];
2165
- for (const l of valuelst) {
2166
- vlst.push(...l);
2167
- }
2168
- }
2169
- if (vlst.length == 1) {
2170
- } else {
2171
- d.append("table").style("margin-left", "20px").html(
2172
- '<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>'
2173
- );
2174
- }
2175
- }
2176
- } else {
2177
- let vlst = [];
2178
- if (tk.tracks) {
2179
- for (const j of tk.data) {
2180
- vlst.push(...j.data.map((i) => i.v));
2181
- }
2182
- } else {
2183
- vlst = tk.data.map((j) => j.v);
2184
- }
2185
- if (vlst.length > 1) {
2186
- holder.append("table").html(
2187
- '<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>'
2188
- );
2189
- }
2190
- }
2191
- holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2192
- tip.hide();
2193
- for (const j of tk.data) {
2194
- j.mode = modefold;
2195
- j.modefix = true;
2196
- }
2197
- horiplace(tk.data, block.width, tk);
2198
- });
2199
- holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2200
- tip.hide();
2201
- for (const j of tk.data) {
2202
- j.modefix = false;
2203
- }
2204
- automode(tk, null, block.width);
2205
- for (const j of tk.data) {
2206
- j.modefix = true;
2207
- }
2208
- horiplace(tk.data, block.width, tk);
2209
- });
2210
- holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2211
- tip.hide();
2212
- downloadjunctions(tk);
2213
- });
2214
- tip.showunder(tk.label_mcount.node());
2215
- }
2216
- function downloadjunctions(tk) {
2217
- const txt = [];
2218
- if (tk.file || tk.url) {
2219
- if (tk.data) {
2220
- txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2221
- for (const j of tk.data) {
2222
- txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2223
- }
2224
- }
2225
- } else if (tk.tracks) {
2226
- if (tk.data) {
2227
- const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2228
- for (const t of tk.tracks) {
2229
- const lst = [];
2230
- if (t.patient) lst.push(t.patient);
2231
- if (t.sampletype) lst.push(t.sampletype);
2232
- if (lst.length == 0) {
2233
- lst.push(t.name);
2234
- }
2235
- header.push(lst.join(", "));
2236
- }
2237
- txt.push(header.join(" "));
2238
- for (const j of tk.data) {
2239
- const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2240
- const hash = /* @__PURE__ */ new Map();
2241
- for (const jsample of j.data) {
2242
- hash.set(jsample.tkid, jsample.v);
2243
- }
2244
- for (const t of tk.tracks) {
2245
- lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2246
- }
2247
- txt.push(lst.join(" "));
2248
- }
2249
- }
2250
- }
2251
- export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2252
- }
2253
- function configpanel(tk, block) {
2254
- tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2255
- const holder = tk.tkconfigtip.d;
2256
- {
2257
- const row = holder.append("div").style("margin-bottom", "10px");
2258
- row.append("span").html("Read count cutoff&nbsp;");
2259
- row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2260
- if (!keyupEnter(event)) return;
2261
- const v = Number.parseFloat(event.target.value);
2262
- if (v == 0) {
2263
- if (tk.readcountcutoff) {
2264
- tk.readcountcutoff = 0;
2265
- junctionload(tk, block);
2266
- } else {
2267
- }
2268
- return;
2269
- }
2270
- if (!v || v < 0) {
2271
- return;
2272
- }
2273
- if (tk.readcountcutoff) {
2274
- if (tk.readcountcutoff == v) {
2275
- } else if (tk.readcountcutoff > v) {
2276
- tk.readcountcutoff = v;
2277
- junctionload(tk, block);
2278
- } else {
2279
- tk.readcountcutoff = v;
2280
- rendertk(tk.data, tk, block);
2281
- }
2282
- } else {
2283
- tk.readcountcutoff = v;
2284
- junctionload(tk, block);
2285
- }
2286
- });
2287
- const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2288
- if (tk.totalsamplecount > 1) {
2289
- note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2290
- } else {
2291
- note.text("Junctions with read count lower than cutoff will not be shown.");
2292
- }
2293
- }
2294
- }
2295
- function initcohortsetting(tk, block) {
2296
- if (!tk.cohortsetting.cohort) {
2297
- sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2298
- return;
2299
- }
2300
- if (!tk.cohortsetting.cohort.levels) {
2301
- sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2302
- return;
2303
- }
2304
- if (!tk.cohortsetting.cohort.levels[0]) {
2305
- sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2306
- return;
2307
- }
2308
- tk.cohortsetting.levelseperator = ".";
2309
- tk.cohortsetting.uselevelidx = 0;
2310
- setcohortlegend_usecohortlevel(tk, block);
2311
- }
2312
- function setcohortlegend_usecohortlevel(tk, block) {
2313
- tk.cohortsetting.legendholder.selectAll("*").remove();
2314
- tk.cohortsetting.colorfunc = ordinal(category10_default);
2315
- const stratkey2count = /* @__PURE__ */ new Map();
2316
- for (const t of tk.tracks) {
2317
- for (const s of t.headersamples) {
2318
- if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2319
- continue;
2320
- }
2321
- const thissamplekeys = [];
2322
- for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2323
- const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2324
- if (thislevelkey) {
2325
- thissamplekeys.push(thislevelkey);
2326
- }
2327
- }
2328
- const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2329
- if (!stratkey2count.has(str)) {
2330
- stratkey2count.set(str, {
2331
- count: 0,
2332
- label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2333
- });
2334
- }
2335
- stratkey2count.get(str).count++;
2336
- }
2337
- }
2338
- const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2339
- for (const item of sorteditems) {
2340
- const color = tk.cohortsetting.colorfunc(item[0]);
2341
- const label = item[1].label;
2342
- const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2343
- row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2344
- row.append("div").style("display", "inline-block").text(label);
2345
- }
2346
- }
2347
- export {
2348
- junctionload,
2349
- modefold,
2350
- moderaise,
2351
- modesample
2352
- };
2353
- //# sourceMappingURL=block.tk.junction-ZDFTQJGA.js.map