@sjcrh/proteinpaint-client 2.201.0 → 2.202.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (923) hide show
  1. package/dist/2dmaf-Y2MBOXHL.js +1373 -0
  2. package/dist/AIProjectAdmin-2W4WNV65.js +958 -0
  3. package/dist/AggregateMatrix-7L7OKUXI.js +671 -0
  4. package/dist/AppHeader-6WM66GKP.js +835 -0
  5. package/dist/BoxPlot-AF72DMSS.js +1218 -0
  6. package/dist/CorrelationVolcano-H6DHMTYZ.js +620 -0
  7. package/dist/CorrelationVolcano-H6DHMTYZ.js.map +7 -0
  8. package/dist/DE-AABMOSEE.js +95 -0
  9. package/dist/DEinput-3HVHJE2I.js +409 -0
  10. package/dist/DEinput-3HVHJE2I.js.map +7 -0
  11. package/dist/DifferentialAnalysis-NBC222Q6.js +243 -0
  12. package/dist/Disco-B6E3ALAV.js +3392 -0
  13. package/dist/Disco.UI-KGFIQHXC.js +248 -0
  14. package/dist/DmrPlot-R3S4PCAE.js +642 -0
  15. package/dist/DziViewer-QYLZ4EMQ.js +16332 -0
  16. package/dist/GB-PV4RI5DG.js +1396 -0
  17. package/dist/GSEA-DHUOROST.js +846 -0
  18. package/dist/GeneExpInput-RESMBEM3.js +367 -0
  19. package/dist/Geomap-2WACSP77.js +89 -0
  20. package/dist/HicApp-3FJEZXAI.js +2250 -0
  21. package/dist/IDCViewer-MIRQEK4N.js +10817 -0
  22. package/dist/NumBinaryEditor-EP277U4I.js +284 -0
  23. package/dist/NumBinaryEditor.unit.spec-ZB627VLG.js +317 -0
  24. package/dist/NumContEditor-F7DOQSIW.js +110 -0
  25. package/dist/NumContEditor.unit.spec-PROGQHTU.js +169 -0
  26. package/dist/NumCustomBinEditor-QS3IPKIQ.js +38 -0
  27. package/dist/NumCustomBinEditor.unit.spec-BRDEFIX6.js +402 -0
  28. package/dist/NumDiscreteEditor-SE4I3BDA.js +175 -0
  29. package/dist/NumDiscreteEditor.unit.spec-6GBWQ3NQ.js +238 -0
  30. package/dist/NumRegularBinEditor-RJKB3G3V.js +38 -0
  31. package/dist/NumRegularBinEditor.unit.spec-HRU2Y76X.js +283 -0
  32. package/dist/NumSplineEditor-2DCORF5E.js +215 -0
  33. package/dist/NumSplineEditor.unit.spec-TTNB5IXX.js +229 -0
  34. package/dist/NumericDensity-3A7KTA7Y.js +38 -0
  35. package/dist/NumericDensity.unit.spec-ISPDAUVX.js +423 -0
  36. package/dist/NumericHandler-RG5XZMBU.js +39 -0
  37. package/dist/NumericHandler.unit.spec-RTD7AZNE.js +219 -0
  38. package/dist/ProteomeInput-6A7UB4CI.js +394 -0
  39. package/dist/RunChart2-YEAOBR2L.js +758 -0
  40. package/dist/SC-C3MJQBI5.js +1112 -0
  41. package/dist/Volcano-N6MXAQDZ.js +1417 -0
  42. package/dist/Volcano-N6MXAQDZ.js.map +7 -0
  43. package/dist/WSIViewer-OVJ2QS7P.js +26200 -0
  44. package/dist/WSIViewer-OVJ2QS7P.js.map +7 -0
  45. package/dist/Wsi-CMLKCEG3.js +239 -0
  46. package/dist/Wsi-CMLKCEG3.js.map +7 -0
  47. package/dist/WsiSamplesPlot-ET7LGNJW.js +165 -0
  48. package/dist/adSandbox-6LGHUXPX.js +38 -0
  49. package/dist/animatedBubbleChart-VJ6EQDQP.js +553 -0
  50. package/dist/app-PRLLUIAA.js +49 -0
  51. package/dist/app-WR6PQ2YK.js +37 -0
  52. package/dist/app.js +13 -13
  53. package/dist/bam-EXBXKUSE.js +859 -0
  54. package/dist/barchart-FSIB3IZZ.js +47 -0
  55. package/dist/barchart.events-F4HSVH6M.js +47 -0
  56. package/dist/barchart.integration.spec-AXE7BRKX.js +2243 -0
  57. package/dist/barchart2-DRNQQJE2.js +314 -0
  58. package/dist/block-J3A3RIGS.js +6255 -0
  59. package/dist/block.init-MQKMDKKW.js +38 -0
  60. package/dist/block.mds.expressionrank-ZQEPPDEL.js +359 -0
  61. package/dist/block.mds.geneboxplot-VJTIMZ6H.js +828 -0
  62. package/dist/block.mds.junction-VTAMQ2CW.js +1545 -0
  63. package/dist/block.mds.svcnv-WG7WY3CS.js +6801 -0
  64. package/dist/block.svg-YTWYGSGO.js +164 -0
  65. package/dist/block.tk.aicheck-L4M55U63.js +283 -0
  66. package/dist/block.tk.ase-3OBVSGWM.js +365 -0
  67. package/dist/block.tk.bam-QUCP3HST.js +1906 -0
  68. package/dist/block.tk.bedgraphdot-BGAH5YPF.js +384 -0
  69. package/dist/block.tk.bigwig.ui-2MG6VMOE.js +211 -0
  70. package/dist/block.tk.hicstraw-MDQHFWBB.js +823 -0
  71. package/dist/block.tk.junction-PBCJTAFX.js +2364 -0
  72. package/dist/block.tk.junction.textmatrixui-FJR76QBO.js +199 -0
  73. package/dist/block.tk.ld-ISL7K3DH.js +99 -0
  74. package/dist/block.tk.menu-VQW3FUAF.js +1029 -0
  75. package/dist/block.tk.pgv-RMXDF3XD.js +944 -0
  76. package/dist/brainImaging-F4GZRF53.js +423 -0
  77. package/dist/brainRegions-ONUXPD7P.js +221 -0
  78. package/dist/bubbleHeatmap-ZOS2ME3T.js +383 -0
  79. package/dist/cellTypeBubbleHeatmap-BEVDWLHJ.js +283 -0
  80. package/dist/chunk-2JQWA4EO.js +6364 -0
  81. package/dist/chunk-2TWVFQD2.js +494 -0
  82. package/dist/chunk-2TWVFQD2.js.map +7 -0
  83. package/dist/chunk-2TZITKMT.js +498 -0
  84. package/dist/chunk-4BDOPNYW.js +129 -0
  85. package/dist/chunk-4G6ZGXZF.js +1338 -0
  86. package/dist/chunk-4G6ZGXZF.js.map +7 -0
  87. package/dist/chunk-4QW2O66J.js +22695 -0
  88. package/dist/chunk-4QW2O66J.js.map +7 -0
  89. package/dist/chunk-4RWLKZMS.js +480 -0
  90. package/dist/chunk-57GCW5SF.js +2899 -0
  91. package/dist/chunk-5RUVBYLK.js +117 -0
  92. package/dist/chunk-5YOZ4E5H.js +55 -0
  93. package/dist/chunk-6N5DNN7P.js +302 -0
  94. package/dist/chunk-73PFJ2VF.js +21517 -0
  95. package/dist/chunk-73PFJ2VF.js.map +7 -0
  96. package/dist/chunk-AOVDTRFY.js +272 -0
  97. package/dist/chunk-BIDQ4OZH.js +465 -0
  98. package/dist/chunk-C34UTN5M.js +292 -0
  99. package/dist/chunk-DFHSLHXZ.js +134 -0
  100. package/dist/chunk-DMOTISFN.js +835 -0
  101. package/dist/chunk-DMOTISFN.js.map +7 -0
  102. package/dist/chunk-E2JRANYL.js +299 -0
  103. package/dist/chunk-E6EA7IU7.js +1172 -0
  104. package/dist/chunk-E6EA7IU7.js.map +7 -0
  105. package/dist/chunk-E732F6XI.js +141 -0
  106. package/dist/chunk-E732F6XI.js.map +7 -0
  107. package/dist/chunk-FESRWKYY.js +203 -0
  108. package/dist/chunk-GMJSMF7P.js +5070 -0
  109. package/dist/chunk-H6INPPUC.js +784 -0
  110. package/dist/chunk-H6INPPUC.js.map +7 -0
  111. package/dist/chunk-HDPL53U4.js +14 -0
  112. package/dist/chunk-HOCICSX4.js +276 -0
  113. package/dist/chunk-HR7XPTAV.js +340 -0
  114. package/dist/chunk-HR7XPTAV.js.map +7 -0
  115. package/dist/chunk-HV3GD2F3.js +54 -0
  116. package/dist/chunk-IGVKT4CE.js +56 -0
  117. package/dist/chunk-IMKIDF2H.js +123 -0
  118. package/dist/chunk-ITKMNOLR.js +37 -0
  119. package/dist/chunk-JABW3SRG.js +217 -0
  120. package/dist/chunk-JTYQX3EE.js +4306 -0
  121. package/dist/chunk-JTYQX3EE.js.map +7 -0
  122. package/dist/chunk-KDNYUHAH.js +70 -0
  123. package/dist/chunk-KSA3ND7Z.js +2327 -0
  124. package/dist/chunk-LCRPBPKX.js +34 -0
  125. package/dist/chunk-NIZTWHGT.js +514 -0
  126. package/dist/chunk-OBRVYT5O.js +187 -0
  127. package/dist/chunk-OBRVYT5O.js.map +7 -0
  128. package/dist/chunk-OCC5HEPR.js +411 -0
  129. package/dist/chunk-OMIUJ7JT.js +448 -0
  130. package/dist/chunk-ONCG5AKF.js +160 -0
  131. package/dist/chunk-OW5LD7S2.js +102 -0
  132. package/dist/chunk-PY4QOYPK.js +102 -0
  133. package/dist/chunk-Q3QY7QGU.js +50 -0
  134. package/dist/chunk-RL3IRMOA.js +236 -0
  135. package/dist/chunk-SCOFWMSE.js +240 -0
  136. package/dist/chunk-SMOHPEMJ.js +2681 -0
  137. package/dist/chunk-SNL7MSZD.js +243 -0
  138. package/dist/chunk-SP7HDNXC.js +368 -0
  139. package/dist/chunk-UILBQKQ6.js +143 -0
  140. package/dist/chunk-USH6NWXA.js +1943 -0
  141. package/dist/chunk-USH6NWXA.js.map +7 -0
  142. package/dist/chunk-UTNJA7JC.js +381 -0
  143. package/dist/chunk-VJCJCDFI.js +142 -0
  144. package/dist/chunk-VSSZJHOR.js +473 -0
  145. package/dist/chunk-W2WOZNEN.js +158 -0
  146. package/dist/chunk-WGRJEQT7.js +1250 -0
  147. package/dist/chunk-WGRJEQT7.js.map +7 -0
  148. package/dist/chunk-WJTRQ3ZC.js +1710 -0
  149. package/dist/chunk-X4QQRHFB.js +1812 -0
  150. package/dist/chunk-Y2UCJ33M.js +263 -0
  151. package/dist/chunk-Y45RZL4F.js +98 -0
  152. package/dist/chunk-YAISXQJ5.js +626 -0
  153. package/dist/chunk-YAISXQJ5.js.map +7 -0
  154. package/dist/chunk-Z2TA7NML.js +352 -0
  155. package/dist/chunk-Z7U74YGW.js +222 -0
  156. package/dist/chunk-ZKMBNB5E.js +176 -0
  157. package/dist/chunk-ZPBG6CT3.js +100 -0
  158. package/dist/chunk-ZUDSOVYT.js +2784 -0
  159. package/dist/chunk-ZZMIDYRE.js +197 -0
  160. package/dist/chunk-ZZMIDYRE.js.map +7 -0
  161. package/dist/cohort-R743ZSCR.js +75 -0
  162. package/dist/condition-MPZIRRGP.js +332 -0
  163. package/dist/controls-WD5TZITZ.js +39 -0
  164. package/dist/controls.btns-KCLXBXSL.js +9 -0
  165. package/dist/controls.config-577UCREO.js +39 -0
  166. package/dist/correlation-OCFBDDOX.js +102 -0
  167. package/dist/cuminc-YJGCKHFM.js +1153 -0
  168. package/dist/cuminc-YJGCKHFM.js.map +7 -0
  169. package/dist/cuminc.integration.spec-V46K57GV.js +678 -0
  170. package/dist/customdata.inputui-2MS5ZRKC.js +289 -0
  171. package/dist/dataDownload-HBFKARTR.js +332 -0
  172. package/dist/dataDownload-HBFKARTR.js.map +7 -0
  173. package/dist/dataDownload.integration.spec-TEOJOMYK.js +193 -0
  174. package/dist/databrowser.ui-PDPFHOH7.js +432 -0
  175. package/dist/dictionary-MWUQYW6W.js +118 -0
  176. package/dist/dnaMethylation-SNVVE2MD.js +38 -0
  177. package/dist/dnaMethylation.integration.spec-OSYZ3YDP.js +203 -0
  178. package/dist/dofetch-7R7PL4BX.js +51 -0
  179. package/dist/e2pca-7FYIWR5O.js +350 -0
  180. package/dist/ep-PTAJZLKI.js +1256 -0
  181. package/dist/expclust.gdc.spec-2R7T7JPY.js +307 -0
  182. package/dist/facet-BY6DQRCA.js +521 -0
  183. package/dist/facet-BY6DQRCA.js.map +7 -0
  184. package/dist/gb-5UFIDQWY.js +88 -0
  185. package/dist/geneExpClustering-QLBETGVB.js +249 -0
  186. package/dist/geneExpression-SAMLSOHQ.js +38 -0
  187. package/dist/geneExpression-SECTPIDT.js +313 -0
  188. package/dist/geneExpression.unit.spec-UNRGPJIG.js +102 -0
  189. package/dist/geneORA-CCQGE7QL.js +278 -0
  190. package/dist/geneRanking-NVR7ZZIP.js +553 -0
  191. package/dist/geneVariant-5KL2J3NA.js +39 -0
  192. package/dist/geneVariant-72E5YEPJ.js +41 -0
  193. package/dist/geneVariant.integration.spec-7JLVYF7Q.js +198 -0
  194. package/dist/genefusion.ui-M3IG6NUU.js +308 -0
  195. package/dist/geneset-V2535XGY.js +208 -0
  196. package/dist/genomeBrowser.spec-TRREAQCH.js +281 -0
  197. package/dist/grin2-6X5GCPBQ.js +75 -0
  198. package/dist/grin2-GOO7H3RC.js +1143 -0
  199. package/dist/hierCluster-5YZOCCTV.js +63 -0
  200. package/dist/hierCluster-ZPQCUSVO.js +59 -0
  201. package/dist/hierCluster.config-T3Y2LS6V.js +40 -0
  202. package/dist/hierCluster.integration.spec-PTXVQH77.js +488 -0
  203. package/dist/hierCluster.interactivity-JNBO3MJB.js +54 -0
  204. package/dist/imagePlot-AH2JIGVN.js +163 -0
  205. package/dist/imagePlot-AH2JIGVN.js.map +7 -0
  206. package/dist/importPlot-CWMBFQDD.js +8 -0
  207. package/dist/isoformExpression-ABPY2N3A.js +40 -0
  208. package/dist/isoformExpression.unit.spec-KRAZBQVF.js +242 -0
  209. package/dist/junction-XGCBNVHV.js +41 -0
  210. package/dist/junction.unit.spec-XZFUJRI3.js +187 -0
  211. package/dist/launch.adhoc-7FJD3XSI.js +42 -0
  212. package/dist/leftlabel.sample-VPOZWRVY.js +263 -0
  213. package/dist/lollipop-WBOAFWWO.js +171 -0
  214. package/dist/maf-MMN6WYHA.js +460 -0
  215. package/dist/maf-MMN6WYHA.js.map +7 -0
  216. package/dist/maftimeline-UK4MQP2D.js +593 -0
  217. package/dist/matrix-AT2FFTWO.js +58 -0
  218. package/dist/matrix-AU6NPNID.js +63 -0
  219. package/dist/matrix.config-VTQ6HL5L.js +41 -0
  220. package/dist/matrix.data-DBYXSWIN.js +25 -0
  221. package/dist/matrix.dom-DDPSUNY2.js +11 -0
  222. package/dist/matrix.integration.spec-NJ2AXQAS.js +3072 -0
  223. package/dist/matrix.interactivity-HE2Q6SAO.js +42 -0
  224. package/dist/matrix.layout-FD5BPRCX.js +44 -0
  225. package/dist/matrix.renderers-DVM4NB2R.js +38 -0
  226. package/dist/matrix.sort.unit.spec-VQ3TR4S2.js +472 -0
  227. package/dist/matrix.sorterUi-4KYRGJT5.js +18 -0
  228. package/dist/matrix.sorterUi.unit.spec-IEHG3OKN.js +342 -0
  229. package/dist/mavb-RPRKXPTZ.js +732 -0
  230. package/dist/mds.fimo-PZCVBD44.js +518 -0
  231. package/dist/mds.samplescatterplot-236GTHM4.js +1550 -0
  232. package/dist/mds.survivalplot-IJHOWSZL.js +483 -0
  233. package/dist/oncomatrix-R4OKDXSV.js +295 -0
  234. package/dist/oncomatrix.spec-4Z4HKS44.js +448 -0
  235. package/dist/plot.2dvaf-ZK7DAKRQ.js +377 -0
  236. package/dist/plot.app-J66BA2LD.js +41 -0
  237. package/dist/plot.barplot-UVRVPOKA.js +102 -0
  238. package/dist/plot.boxplot-DQGBDNLU.js +152 -0
  239. package/dist/plot.brainImaging-WRMDYYHC.js +51 -0
  240. package/dist/plot.disco-SSGPSM7W.js +102 -0
  241. package/dist/plot.dzi-F77KKPIJ.js +33 -0
  242. package/dist/plot.ssgq-FVFJOYVO.js +139 -0
  243. package/dist/plot.vaf2cov-CJSYBSPQ.js +259 -0
  244. package/dist/plot.wsi-OSZU2PQ5.js +36 -0
  245. package/dist/polar2-R4ZKXKEV.js +237 -0
  246. package/dist/profileForms-F7LXHITE.js +940 -0
  247. package/dist/profileForms-F7LXHITE.js.map +7 -0
  248. package/dist/profilePlot-JU7SFYYY.js +54 -0
  249. package/dist/proteinView-VU4SVO5I.js +1568 -0
  250. package/dist/proteomeCohortCompare-2U537GOK.js +799 -0
  251. package/dist/pseudbulk.unit.spec-2FDKAEVI.js +91 -0
  252. package/dist/pseudobulk-5GBUBBOY.js +40 -0
  253. package/dist/qualitative-3FTEQ7JW.js +43 -0
  254. package/dist/radar2-EBOTTAMC.js +332 -0
  255. package/dist/radarFacility2-PAGNJR6D.js +340 -0
  256. package/dist/regression-XOVSVC7S.js +58 -0
  257. package/dist/regression.inputs-LGA67ESO.js +48 -0
  258. package/dist/regression.inputs.term-UCQKXC5D.js +50 -0
  259. package/dist/regression.inputs.values.table-2RRE7SMS.js +45 -0
  260. package/dist/regression.integration.spec-BKM5UI7H.js +838 -0
  261. package/dist/regression.results-T3HB6CBH.js +40 -0
  262. package/dist/regression.spec-W7IVCYVZ.js +708 -0
  263. package/dist/render-2C6LWNG2.js +38 -0
  264. package/dist/report-HRGU3XKL.js +222 -0
  265. package/dist/sampleView-P5JZHEKY.js +48 -0
  266. package/dist/samplelst-OYQ6BASU.js +111 -0
  267. package/dist/samplematrix-JC3SGO5V.js +2198 -0
  268. package/dist/sc-FTHUNDGY.js +86 -0
  269. package/dist/scatter-WYP2NPNB.js +890 -0
  270. package/dist/selectGenomeWithTklst-CIETKILP.js +134 -0
  271. package/dist/singleCellCellType-3O3TTLM6.js +38 -0
  272. package/dist/singleCellCellType.unit.spec-GHBS36DB.js +159 -0
  273. package/dist/singleCellGeneExpression-2F7F4EKK.js +38 -0
  274. package/dist/singleCellGeneExpression.unit.spec-2VGIH2NZ.js +153 -0
  275. package/dist/singleCellPlot-MGSS4O3L.js +54 -0
  276. package/dist/singlecell-CKC2VVJ3.js +86 -0
  277. package/dist/singlecell-QOXATRF4.js +1572 -0
  278. package/dist/snp-OSYJO2R7.js +38 -0
  279. package/dist/snp.unit.spec-L5ANPFO2.js +176 -0
  280. package/dist/snplocus-64MJJID2.js +208 -0
  281. package/dist/spliceevent.a53ss.diagram-LHRT5UPB.js +151 -0
  282. package/dist/spliceevent.exonskip.diagram-BGSEPGR5.js +283 -0
  283. package/dist/spliceevent.noeventdiagram-QGZZSKW7.js +460 -0
  284. package/dist/ssGSEA-VVAZDFDT.js +38 -0
  285. package/dist/ssGSEA.unit.spec-LP76RHTV.js +88 -0
  286. package/dist/stattable-55YGV5B4.js +122 -0
  287. package/dist/stattable-55YGV5B4.js.map +7 -0
  288. package/dist/studyCatalog-AXWH7IOH.js +358 -0
  289. package/dist/summarizeCnvGeneexp-DRBIXOAP.js +163 -0
  290. package/dist/summarizeGeneexpSurvival-4PATAUSN.js +110 -0
  291. package/dist/summarizeMutationCnv-UGSIGZDJ.js +164 -0
  292. package/dist/summarizeMutationDiagnosis-UATVI5BK.js +40 -0
  293. package/dist/summarizeMutationSurvival-CZXGM3AA.js +99 -0
  294. package/dist/summary-IGTXNQ5I.js +49 -0
  295. package/dist/summary.integration.spec-VFCYU2V6.js +414 -0
  296. package/dist/summaryInput-AFZSASTM.js +231 -0
  297. package/dist/sunburst-G7DBI637.js +284 -0
  298. package/dist/survival-GIRR5ML4.js +1247 -0
  299. package/dist/survival-GIRR5ML4.js.map +7 -0
  300. package/dist/survival-YOJBLMR2.js +58 -0
  301. package/dist/survival.integration.spec-FXPCZJSS.js +958 -0
  302. package/dist/svgraph-ZSSOWI7R.js +1387 -0
  303. package/dist/svmr-FPYSMXSC.js +3842 -0
  304. package/dist/table-NHS2WLWT.js +202 -0
  305. package/dist/table-NHS2WLWT.js.map +7 -0
  306. package/dist/termCollection-IY5V64IY.js +38 -0
  307. package/dist/termCollection-SR4SP6RZ.js +257 -0
  308. package/dist/termCollection.unit.spec-NL72AQ2P.js +304 -0
  309. package/dist/termCollectionFractionSelection-2LPBE224.js +47 -0
  310. package/dist/termCollectionFractionSelection.unit.spec-PUMGBUDN.js +193 -0
  311. package/dist/termInfo-2DR7DHXM.js +9 -0
  312. package/dist/tk-COBDWIZJ.js +1127 -0
  313. package/dist/tk-N2YBXDQK.js +46 -0
  314. package/dist/tp.ui-BMK2MMIJ.js +1459 -0
  315. package/dist/tvs.dt-KL4VCW5Y.js +39 -0
  316. package/dist/tvs.dtcnv.categorical-VGXOASJE.js +40 -0
  317. package/dist/tvs.dtcnv.continuous-IANT7BPS.js +72 -0
  318. package/dist/tvs.dtfusion-M5HJWCJI.js +40 -0
  319. package/dist/tvs.dtitd-KB72EDPN.js +40 -0
  320. package/dist/tvs.dtsnvindel-VGYTLO6E.js +40 -0
  321. package/dist/tvs.dtsv-KWUXW2F5.js +40 -0
  322. package/dist/tvs.samplelst-3UA7XMHJ.js +104 -0
  323. package/dist/tvs.termCollection-LK6CVGYZ.js +129 -0
  324. package/dist/violin-D4EX3ZFV.js +46 -0
  325. package/dist/violin.integration.spec-GBW3VBHW.js +1425 -0
  326. package/dist/violin.interactivity-N3JVI2AQ.js +38 -0
  327. package/dist/violin.renderer-2NYRUXUY.js +40 -0
  328. package/dist/vocabulary-277KD4RO.js +41 -0
  329. package/dist/wsi.direct-RI3XGLUC.js +81 -0
  330. package/dist/wsi.direct-RI3XGLUC.js.map +7 -0
  331. package/package.json +2 -2
  332. package/dist/2dmaf-6MNHNHWX.js +0 -1373
  333. package/dist/AIProjectAdmin-W36NGUX2.js +0 -958
  334. package/dist/AggregateMatrix-YH2SN6VN.js +0 -671
  335. package/dist/AppHeader-I5CFECIL.js +0 -835
  336. package/dist/BoxPlot-4SXDAOBP.js +0 -1218
  337. package/dist/CorrelationVolcano-NAWMGG4Q.js +0 -619
  338. package/dist/CorrelationVolcano-NAWMGG4Q.js.map +0 -7
  339. package/dist/DE-VZMT7KEM.js +0 -95
  340. package/dist/DEinput-TKERM2YD.js +0 -409
  341. package/dist/DEinput-TKERM2YD.js.map +0 -7
  342. package/dist/DifferentialAnalysis-Y4SU4BVP.js +0 -243
  343. package/dist/Disco-DLK3BYPV.js +0 -3392
  344. package/dist/Disco.UI-IKGMFG36.js +0 -248
  345. package/dist/DmrPlot-JWBZJFS6.js +0 -642
  346. package/dist/DziViewer-6737GC22.js +0 -16332
  347. package/dist/GB-3UZSSIBW.js +0 -1396
  348. package/dist/GSEA-YLHBZY55.js +0 -846
  349. package/dist/GeneExpInput-KX5I63YV.js +0 -367
  350. package/dist/Geomap-QTUHM4VH.js +0 -89
  351. package/dist/HicApp-M2OCHGRT.js +0 -2250
  352. package/dist/IDCViewer-SWFBLBZH.js +0 -10817
  353. package/dist/NumBinaryEditor-ILFP6DR7.js +0 -284
  354. package/dist/NumBinaryEditor.unit.spec-TNIH7GQB.js +0 -317
  355. package/dist/NumContEditor-7UR3QMO6.js +0 -110
  356. package/dist/NumContEditor.unit.spec-P67AFEHM.js +0 -169
  357. package/dist/NumCustomBinEditor-H22J4K47.js +0 -38
  358. package/dist/NumCustomBinEditor.unit.spec-CO76BQPZ.js +0 -402
  359. package/dist/NumDiscreteEditor-TSUHVX77.js +0 -175
  360. package/dist/NumDiscreteEditor.unit.spec-RGC3GT22.js +0 -238
  361. package/dist/NumRegularBinEditor-IRD27CE2.js +0 -38
  362. package/dist/NumRegularBinEditor.unit.spec-MUHVOK5P.js +0 -283
  363. package/dist/NumSplineEditor-3V7RWHE2.js +0 -215
  364. package/dist/NumSplineEditor.unit.spec-BUI7NPN4.js +0 -229
  365. package/dist/NumericDensity-53KMCTDL.js +0 -38
  366. package/dist/NumericDensity.unit.spec-OKAQPQHR.js +0 -423
  367. package/dist/NumericHandler-5QFNXVBA.js +0 -39
  368. package/dist/NumericHandler.unit.spec-OBITSUU3.js +0 -219
  369. package/dist/ProteomeInput-MM373EL3.js +0 -394
  370. package/dist/RunChart2-2L6T3ITZ.js +0 -758
  371. package/dist/SC-JKD3Z2X5.js +0 -1112
  372. package/dist/Volcano-STGBS7IJ.js +0 -1404
  373. package/dist/Volcano-STGBS7IJ.js.map +0 -7
  374. package/dist/WSIViewer-LOBVUTOD.js +0 -48562
  375. package/dist/WSIViewer-LOBVUTOD.js.map +0 -7
  376. package/dist/WsiSamplesPlot-D3L3AILR.js +0 -165
  377. package/dist/adSandbox-XO5HDSFW.js +0 -38
  378. package/dist/animatedBubbleChart-XKW6TCZP.js +0 -553
  379. package/dist/app-H7ABTG6X.js +0 -49
  380. package/dist/app-HJSPIKRQ.js +0 -37
  381. package/dist/bam-R5QVHWGY.js +0 -859
  382. package/dist/barchart-OGCLBPQ2.js +0 -47
  383. package/dist/barchart.events-GZTY4IC3.js +0 -47
  384. package/dist/barchart.integration.spec-Z6ECNFSM.js +0 -2243
  385. package/dist/barchart2-DT42I747.js +0 -314
  386. package/dist/block-UYYJXSCM.js +0 -6255
  387. package/dist/block.init-43M53IMA.js +0 -38
  388. package/dist/block.mds.expressionrank-YH3IWMKM.js +0 -359
  389. package/dist/block.mds.geneboxplot-QS2IK37X.js +0 -828
  390. package/dist/block.mds.junction-7FF5BFEX.js +0 -1545
  391. package/dist/block.mds.svcnv-MMJYLL2W.js +0 -6801
  392. package/dist/block.svg-SA6DSUM2.js +0 -164
  393. package/dist/block.tk.aicheck-ZX5LZ2QO.js +0 -283
  394. package/dist/block.tk.ase-YXT4BOXK.js +0 -365
  395. package/dist/block.tk.bam-IMLRIOOV.js +0 -1906
  396. package/dist/block.tk.bedgraphdot-UYQLL7HM.js +0 -384
  397. package/dist/block.tk.bigwig.ui-WUVLVRSM.js +0 -211
  398. package/dist/block.tk.hicstraw-N4SJGF7H.js +0 -823
  399. package/dist/block.tk.junction-LZWHFKWJ.js +0 -2364
  400. package/dist/block.tk.junction.textmatrixui-B626NYPA.js +0 -199
  401. package/dist/block.tk.ld-6VWUMAP6.js +0 -99
  402. package/dist/block.tk.menu-RRN2UPQX.js +0 -1029
  403. package/dist/block.tk.pgv-GYG3EI6P.js +0 -944
  404. package/dist/brainImaging-VIMLETC5.js +0 -423
  405. package/dist/brainRegions-DRYZT5K5.js +0 -221
  406. package/dist/bubbleHeatmap-Y4SGMVJY.js +0 -383
  407. package/dist/cellTypeBubbleHeatmap-QW37ZT5W.js +0 -283
  408. package/dist/chunk-2Y5C7GJS.js +0 -299
  409. package/dist/chunk-2ZTCRUOL.js +0 -2899
  410. package/dist/chunk-3O6XFPUB.js +0 -243
  411. package/dist/chunk-3P74DH6P.js +0 -236
  412. package/dist/chunk-3PPCZPLN.js +0 -98
  413. package/dist/chunk-4H4WJJ2G.js +0 -54
  414. package/dist/chunk-4KY4XKJV.js +0 -143
  415. package/dist/chunk-4L2OSDQ6.js +0 -626
  416. package/dist/chunk-4L2OSDQ6.js.map +0 -7
  417. package/dist/chunk-4USLEUNR.js +0 -1812
  418. package/dist/chunk-5ITKSTJX.js +0 -34
  419. package/dist/chunk-5VMYXVZG.js +0 -272
  420. package/dist/chunk-7ZVFLC2V.js +0 -134
  421. package/dist/chunk-C2JHLAKV.js +0 -222
  422. package/dist/chunk-C5IAIOCA.js +0 -102
  423. package/dist/chunk-CIRCVMWE.js +0 -102
  424. package/dist/chunk-CRH37PEV.js +0 -203
  425. package/dist/chunk-DCNDZOI3.js +0 -6364
  426. package/dist/chunk-DHPLHIVP.js +0 -498
  427. package/dist/chunk-DKAHHMKN.js +0 -5070
  428. package/dist/chunk-ECIBJXFT.js +0 -352
  429. package/dist/chunk-EQCVSUAF.js +0 -37
  430. package/dist/chunk-FVL37XFU.js +0 -834
  431. package/dist/chunk-FVL37XFU.js.map +0 -7
  432. package/dist/chunk-FXS4I3Z3.js +0 -176
  433. package/dist/chunk-FYAY6D3O.js +0 -123
  434. package/dist/chunk-GL44X7JY.js +0 -302
  435. package/dist/chunk-HQAJVJCQ.js +0 -195
  436. package/dist/chunk-HQAJVJCQ.js.map +0 -7
  437. package/dist/chunk-IIT367QZ.js +0 -473
  438. package/dist/chunk-IYT5PNYJ.js +0 -148
  439. package/dist/chunk-IYT5PNYJ.js.map +0 -7
  440. package/dist/chunk-J6EP7JPJ.js +0 -1245
  441. package/dist/chunk-J6EP7JPJ.js.map +0 -7
  442. package/dist/chunk-JKMN7XOP.js +0 -1114
  443. package/dist/chunk-JKMN7XOP.js.map +0 -7
  444. package/dist/chunk-JLGCQ2F4.js +0 -480
  445. package/dist/chunk-JQT67SWE.js +0 -263
  446. package/dist/chunk-JQYPRW42.js +0 -217
  447. package/dist/chunk-K4IGOJPT.js +0 -160
  448. package/dist/chunk-K6OVOHIZ.js +0 -21483
  449. package/dist/chunk-K6OVOHIZ.js.map +0 -7
  450. package/dist/chunk-KPTPDZX2.js +0 -56
  451. package/dist/chunk-KTB7KXC2.js +0 -187
  452. package/dist/chunk-KTB7KXC2.js.map +0 -7
  453. package/dist/chunk-KW7MKBGF.js +0 -2681
  454. package/dist/chunk-KZFVYDVK.js +0 -448
  455. package/dist/chunk-M3J4MINX.js +0 -783
  456. package/dist/chunk-M3J4MINX.js.map +0 -7
  457. package/dist/chunk-M77DCLJX.js +0 -100
  458. package/dist/chunk-MFEYO6FB.js +0 -4306
  459. package/dist/chunk-MFEYO6FB.js.map +0 -7
  460. package/dist/chunk-MUJMZ6W6.js +0 -129
  461. package/dist/chunk-NRP55BOF.js +0 -50
  462. package/dist/chunk-O5KFJBU3.js +0 -1942
  463. package/dist/chunk-O5KFJBU3.js.map +0 -7
  464. package/dist/chunk-Q4AP5L7R.js +0 -1311
  465. package/dist/chunk-Q4AP5L7R.js.map +0 -7
  466. package/dist/chunk-QHPN3JJZ.js +0 -55
  467. package/dist/chunk-QSGXZEUU.js +0 -465
  468. package/dist/chunk-RIQT2LSR.js +0 -479
  469. package/dist/chunk-RIQT2LSR.js.map +0 -7
  470. package/dist/chunk-RZGEKL77.js +0 -117
  471. package/dist/chunk-SOCGXVIL.js +0 -2327
  472. package/dist/chunk-SZHFBRRT.js +0 -514
  473. package/dist/chunk-TOYMIFHN.js +0 -381
  474. package/dist/chunk-TPVHGI7Q.js +0 -368
  475. package/dist/chunk-UJN2RH5R.js +0 -411
  476. package/dist/chunk-V2DU2OXH.js +0 -1710
  477. package/dist/chunk-X7KRSZQT.js +0 -2784
  478. package/dist/chunk-XIBY5I6F.js +0 -240
  479. package/dist/chunk-XJBSBIZ4.js +0 -70
  480. package/dist/chunk-XRQWZJJ3.js +0 -347
  481. package/dist/chunk-XRQWZJJ3.js.map +0 -7
  482. package/dist/chunk-XZ4M3QAV.js +0 -158
  483. package/dist/chunk-YMP4YKBN.js +0 -142
  484. package/dist/chunk-Z7VK2AMA.js +0 -292
  485. package/dist/chunk-ZH7JPYQE.js +0 -14
  486. package/dist/chunk-ZVDOSFWU.js +0 -276
  487. package/dist/cohort-CEYVJJ7E.js +0 -75
  488. package/dist/condition-QSOFP4MY.js +0 -332
  489. package/dist/controls-QYHARIEY.js +0 -39
  490. package/dist/controls.btns-AP67YWKW.js +0 -9
  491. package/dist/controls.config-3OO3JK6E.js +0 -39
  492. package/dist/correlation-TOI3TMYL.js +0 -102
  493. package/dist/cuminc-L7OJTYXC.js +0 -1148
  494. package/dist/cuminc-L7OJTYXC.js.map +0 -7
  495. package/dist/cuminc.integration.spec-LSWV3KOF.js +0 -678
  496. package/dist/customdata.inputui-VMB3HSSC.js +0 -289
  497. package/dist/dataDownload-NPSWNOAG.js +0 -330
  498. package/dist/dataDownload-NPSWNOAG.js.map +0 -7
  499. package/dist/dataDownload.integration.spec-J6FRFLBK.js +0 -193
  500. package/dist/databrowser.ui-GVYWG6YI.js +0 -432
  501. package/dist/dictionary-GD67R72W.js +0 -118
  502. package/dist/dnaMethylation-S7OSGLAF.js +0 -38
  503. package/dist/dnaMethylation.integration.spec-ETMMJNDE.js +0 -203
  504. package/dist/dofetch-7GURQS65.js +0 -51
  505. package/dist/e2pca-ZIIPBJFN.js +0 -350
  506. package/dist/ep-A2HAL5WA.js +0 -1256
  507. package/dist/expclust.gdc.spec-ZSILLYNI.js +0 -307
  508. package/dist/facet-74LKIPTA.js +0 -521
  509. package/dist/facet-74LKIPTA.js.map +0 -7
  510. package/dist/gb-C3MPQXKN.js +0 -88
  511. package/dist/geneExpClustering-HYCFUUTU.js +0 -249
  512. package/dist/geneExpression-GATKMJJ5.js +0 -313
  513. package/dist/geneExpression-JXSAP2H7.js +0 -38
  514. package/dist/geneExpression.unit.spec-CODZYFHZ.js +0 -102
  515. package/dist/geneORA-LJRIR4VV.js +0 -278
  516. package/dist/geneRanking-TWLBKQZG.js +0 -553
  517. package/dist/geneVariant-35RQHTCK.js +0 -41
  518. package/dist/geneVariant-TMJJIMUF.js +0 -39
  519. package/dist/geneVariant.integration.spec-FIQ7IBSD.js +0 -198
  520. package/dist/genefusion.ui-SOBESSNO.js +0 -308
  521. package/dist/geneset-JXEJFEK2.js +0 -208
  522. package/dist/genomeBrowser.spec-25ZO5S2X.js +0 -281
  523. package/dist/grin2-CW4RPVPI.js +0 -75
  524. package/dist/grin2-EI5BVP4E.js +0 -1143
  525. package/dist/hierCluster-OBBPQH24.js +0 -59
  526. package/dist/hierCluster-SDH3TJQY.js +0 -63
  527. package/dist/hierCluster.config-DO67TCXI.js +0 -40
  528. package/dist/hierCluster.integration.spec-EB24C4VZ.js +0 -488
  529. package/dist/hierCluster.interactivity-LGEAFT5T.js +0 -54
  530. package/dist/imagePlot-LGLFG2QZ.js +0 -163
  531. package/dist/imagePlot-LGLFG2QZ.js.map +0 -7
  532. package/dist/importPlot-R2WRZGZU.js +0 -8
  533. package/dist/isoformExpression-KI3WY5M3.js +0 -40
  534. package/dist/isoformExpression.unit.spec-OQRG2DDU.js +0 -242
  535. package/dist/junction-6SWFPNM5.js +0 -41
  536. package/dist/junction.unit.spec-5TZFITSU.js +0 -187
  537. package/dist/launch.adhoc-HCX2RQLB.js +0 -42
  538. package/dist/leftlabel.sample-OI6XCXTQ.js +0 -263
  539. package/dist/lollipop-SOSOYHYL.js +0 -171
  540. package/dist/maf-73RLOEVN.js +0 -459
  541. package/dist/maf-73RLOEVN.js.map +0 -7
  542. package/dist/maftimeline-UOMLYUNI.js +0 -593
  543. package/dist/matrix-5QWDN6SI.js +0 -63
  544. package/dist/matrix-SKPVVDVR.js +0 -58
  545. package/dist/matrix.config-HE64MAL4.js +0 -41
  546. package/dist/matrix.data-HTUZXQAM.js +0 -25
  547. package/dist/matrix.dom-F7AN3QGE.js +0 -11
  548. package/dist/matrix.integration.spec-YKJ4LZFY.js +0 -3072
  549. package/dist/matrix.interactivity-YB5G5W5T.js +0 -42
  550. package/dist/matrix.layout-MFG65V7K.js +0 -44
  551. package/dist/matrix.renderers-PCZFHDDZ.js +0 -38
  552. package/dist/matrix.sort.unit.spec-GEAM5DSU.js +0 -472
  553. package/dist/matrix.sorterUi-YSKIX6B6.js +0 -18
  554. package/dist/matrix.sorterUi.unit.spec-2MW64QS5.js +0 -342
  555. package/dist/mavb-YMHJXCGA.js +0 -732
  556. package/dist/mds.fimo-PTEDRMLQ.js +0 -518
  557. package/dist/mds.samplescatterplot-7R7PLVQJ.js +0 -1550
  558. package/dist/mds.survivalplot-F3EENMFQ.js +0 -483
  559. package/dist/oncomatrix-27VVSMZB.js +0 -295
  560. package/dist/oncomatrix.spec-F43Y7CWN.js +0 -448
  561. package/dist/plot.2dvaf-MYFQSWIA.js +0 -377
  562. package/dist/plot.app-36QWCKXR.js +0 -41
  563. package/dist/plot.barplot-535EP7XT.js +0 -102
  564. package/dist/plot.boxplot-6IBP7VEB.js +0 -152
  565. package/dist/plot.brainImaging-M4HPNXZH.js +0 -51
  566. package/dist/plot.disco-HIT6GR44.js +0 -102
  567. package/dist/plot.dzi-W66SBKTH.js +0 -33
  568. package/dist/plot.ssgq-MI2OMCUY.js +0 -139
  569. package/dist/plot.vaf2cov-F4CBMLRA.js +0 -259
  570. package/dist/plot.wsi-7M5KTNFC.js +0 -36
  571. package/dist/polar2-7VSWGT4U.js +0 -237
  572. package/dist/profileForms-DFPCNJW2.js +0 -940
  573. package/dist/profileForms-DFPCNJW2.js.map +0 -7
  574. package/dist/profilePlot-ECTPPVB2.js +0 -54
  575. package/dist/proteinView-6ELOLOIU.js +0 -1568
  576. package/dist/proteomeCohortCompare-V2FMWI62.js +0 -799
  577. package/dist/pseudbulk.unit.spec-KV6URTXC.js +0 -91
  578. package/dist/pseudobulk-6ZRFCE65.js +0 -40
  579. package/dist/qualitative-3B62RUOB.js +0 -43
  580. package/dist/radar2-4QQER64E.js +0 -332
  581. package/dist/radarFacility2-MZKORRDY.js +0 -340
  582. package/dist/regression-GZ2YNX6Y.js +0 -56
  583. package/dist/regression.inputs-ZEFDNSVT.js +0 -48
  584. package/dist/regression.inputs.term-O2FQBX7L.js +0 -48
  585. package/dist/regression.inputs.values.table-63BQKSZP.js +0 -45
  586. package/dist/regression.integration.spec-KDHC3KDU.js +0 -838
  587. package/dist/regression.results-5J3QM4RX.js +0 -40
  588. package/dist/regression.spec-WZAZTDDA.js +0 -708
  589. package/dist/render-MZTEXVU5.js +0 -38
  590. package/dist/report-M5TYHH2W.js +0 -222
  591. package/dist/sampleView-QYTLYJEW.js +0 -48
  592. package/dist/samplelst-FN3Q7M7A.js +0 -111
  593. package/dist/samplematrix-Z5FVODO7.js +0 -2198
  594. package/dist/sc-4CHP5SYP.js +0 -86
  595. package/dist/scatter-UOPJYXL3.js +0 -890
  596. package/dist/selectGenomeWithTklst-WMAHGT4F.js +0 -134
  597. package/dist/singleCellCellType-XPWENB6V.js +0 -38
  598. package/dist/singleCellCellType.unit.spec-QK56PHKW.js +0 -159
  599. package/dist/singleCellGeneExpression-4CEVDVYF.js +0 -38
  600. package/dist/singleCellGeneExpression.unit.spec-ZYRLBVF5.js +0 -153
  601. package/dist/singleCellPlot-JS74VUGC.js +0 -54
  602. package/dist/singlecell-5XYOHMWJ.js +0 -1572
  603. package/dist/singlecell-OO77XBDD.js +0 -86
  604. package/dist/snp-X5ZILM5J.js +0 -38
  605. package/dist/snp.unit.spec-V23G3JLJ.js +0 -176
  606. package/dist/snplocus-U5UIIUWR.js +0 -208
  607. package/dist/spliceevent.a53ss.diagram-YDFVSDMT.js +0 -151
  608. package/dist/spliceevent.exonskip.diagram-VDKN5JBE.js +0 -283
  609. package/dist/spliceevent.noeventdiagram-EFPFRUFI.js +0 -460
  610. package/dist/ssGSEA-LKJW5OQK.js +0 -38
  611. package/dist/ssGSEA.unit.spec-7WCZVEP2.js +0 -88
  612. package/dist/stattable-MDABSW3F.js +0 -90
  613. package/dist/stattable-MDABSW3F.js.map +0 -7
  614. package/dist/studyCatalog-EU33KE5H.js +0 -358
  615. package/dist/summarizeCnvGeneexp-QL25OQNB.js +0 -163
  616. package/dist/summarizeGeneexpSurvival-B7HTCH7L.js +0 -110
  617. package/dist/summarizeMutationCnv-DFAPX2JE.js +0 -164
  618. package/dist/summarizeMutationDiagnosis-HCSDSVII.js +0 -40
  619. package/dist/summarizeMutationSurvival-6WEASSA2.js +0 -99
  620. package/dist/summary-BWYXE77G.js +0 -49
  621. package/dist/summary.integration.spec-AVGSW5MF.js +0 -414
  622. package/dist/summaryInput-MOQ6HUCX.js +0 -231
  623. package/dist/sunburst-EZDHVJCL.js +0 -284
  624. package/dist/survival-5TFMM7NP.js +0 -1239
  625. package/dist/survival-5TFMM7NP.js.map +0 -7
  626. package/dist/survival-IEVELTC4.js +0 -58
  627. package/dist/survival.integration.spec-HHWP3R4H.js +0 -958
  628. package/dist/svgraph-55XRIYJW.js +0 -1387
  629. package/dist/svmr-CMEBFSRO.js +0 -3842
  630. package/dist/table-LTWQ3TLQ.js +0 -200
  631. package/dist/table-LTWQ3TLQ.js.map +0 -7
  632. package/dist/termCollection-CPQXYBFA.js +0 -38
  633. package/dist/termCollection-ZWOH273K.js +0 -257
  634. package/dist/termCollection.unit.spec-RK7VATLU.js +0 -304
  635. package/dist/termCollectionFractionSelection-Z4ZRW63R.js +0 -47
  636. package/dist/termCollectionFractionSelection.unit.spec-3CS7DPNU.js +0 -193
  637. package/dist/termInfo-6MJDJSDW.js +0 -9
  638. package/dist/tk-4NNTWWLK.js +0 -46
  639. package/dist/tk-RHWJJXH2.js +0 -1127
  640. package/dist/tp.ui-DPN5UN6U.js +0 -1459
  641. package/dist/tvs.dt-ARPDFRVM.js +0 -39
  642. package/dist/tvs.dtcnv.categorical-POS6WQK6.js +0 -40
  643. package/dist/tvs.dtcnv.continuous-5OETJ7JU.js +0 -72
  644. package/dist/tvs.dtfusion-ERYVI3DW.js +0 -40
  645. package/dist/tvs.dtitd-KTZZYEWU.js +0 -40
  646. package/dist/tvs.dtsnvindel-TGUAX3RN.js +0 -40
  647. package/dist/tvs.dtsv-AM63OIL6.js +0 -40
  648. package/dist/tvs.samplelst-VW2NOQ2C.js +0 -104
  649. package/dist/tvs.termCollection-O4ZSWJFA.js +0 -129
  650. package/dist/violin-ZQ3DEYGR.js +0 -46
  651. package/dist/violin.integration.spec-PVEF77HB.js +0 -1425
  652. package/dist/violin.interactivity-FYU4TCFO.js +0 -38
  653. package/dist/violin.renderer-XAERGBMV.js +0 -40
  654. package/dist/vocabulary-ECJX27W2.js +0 -41
  655. /package/dist/{2dmaf-6MNHNHWX.js.map → 2dmaf-Y2MBOXHL.js.map} +0 -0
  656. /package/dist/{AIProjectAdmin-W36NGUX2.js.map → AIProjectAdmin-2W4WNV65.js.map} +0 -0
  657. /package/dist/{AggregateMatrix-YH2SN6VN.js.map → AggregateMatrix-7L7OKUXI.js.map} +0 -0
  658. /package/dist/{AppHeader-I5CFECIL.js.map → AppHeader-6WM66GKP.js.map} +0 -0
  659. /package/dist/{BoxPlot-4SXDAOBP.js.map → BoxPlot-AF72DMSS.js.map} +0 -0
  660. /package/dist/{DE-VZMT7KEM.js.map → DE-AABMOSEE.js.map} +0 -0
  661. /package/dist/{DifferentialAnalysis-Y4SU4BVP.js.map → DifferentialAnalysis-NBC222Q6.js.map} +0 -0
  662. /package/dist/{Disco-DLK3BYPV.js.map → Disco-B6E3ALAV.js.map} +0 -0
  663. /package/dist/{Disco.UI-IKGMFG36.js.map → Disco.UI-KGFIQHXC.js.map} +0 -0
  664. /package/dist/{DmrPlot-JWBZJFS6.js.map → DmrPlot-R3S4PCAE.js.map} +0 -0
  665. /package/dist/{DziViewer-6737GC22.js.map → DziViewer-QYLZ4EMQ.js.map} +0 -0
  666. /package/dist/{GB-3UZSSIBW.js.map → GB-PV4RI5DG.js.map} +0 -0
  667. /package/dist/{GSEA-YLHBZY55.js.map → GSEA-DHUOROST.js.map} +0 -0
  668. /package/dist/{GeneExpInput-KX5I63YV.js.map → GeneExpInput-RESMBEM3.js.map} +0 -0
  669. /package/dist/{Geomap-QTUHM4VH.js.map → Geomap-2WACSP77.js.map} +0 -0
  670. /package/dist/{HicApp-M2OCHGRT.js.map → HicApp-3FJEZXAI.js.map} +0 -0
  671. /package/dist/{IDCViewer-SWFBLBZH.js.map → IDCViewer-MIRQEK4N.js.map} +0 -0
  672. /package/dist/{NumBinaryEditor-ILFP6DR7.js.map → NumBinaryEditor-EP277U4I.js.map} +0 -0
  673. /package/dist/{NumBinaryEditor.unit.spec-TNIH7GQB.js.map → NumBinaryEditor.unit.spec-ZB627VLG.js.map} +0 -0
  674. /package/dist/{NumContEditor-7UR3QMO6.js.map → NumContEditor-F7DOQSIW.js.map} +0 -0
  675. /package/dist/{NumContEditor.unit.spec-P67AFEHM.js.map → NumContEditor.unit.spec-PROGQHTU.js.map} +0 -0
  676. /package/dist/{NumCustomBinEditor-H22J4K47.js.map → NumCustomBinEditor-QS3IPKIQ.js.map} +0 -0
  677. /package/dist/{NumCustomBinEditor.unit.spec-CO76BQPZ.js.map → NumCustomBinEditor.unit.spec-BRDEFIX6.js.map} +0 -0
  678. /package/dist/{NumDiscreteEditor-TSUHVX77.js.map → NumDiscreteEditor-SE4I3BDA.js.map} +0 -0
  679. /package/dist/{NumDiscreteEditor.unit.spec-RGC3GT22.js.map → NumDiscreteEditor.unit.spec-6GBWQ3NQ.js.map} +0 -0
  680. /package/dist/{NumRegularBinEditor-IRD27CE2.js.map → NumRegularBinEditor-RJKB3G3V.js.map} +0 -0
  681. /package/dist/{NumRegularBinEditor.unit.spec-MUHVOK5P.js.map → NumRegularBinEditor.unit.spec-HRU2Y76X.js.map} +0 -0
  682. /package/dist/{NumSplineEditor-3V7RWHE2.js.map → NumSplineEditor-2DCORF5E.js.map} +0 -0
  683. /package/dist/{NumSplineEditor.unit.spec-BUI7NPN4.js.map → NumSplineEditor.unit.spec-TTNB5IXX.js.map} +0 -0
  684. /package/dist/{NumericDensity-53KMCTDL.js.map → NumericDensity-3A7KTA7Y.js.map} +0 -0
  685. /package/dist/{NumericDensity.unit.spec-OKAQPQHR.js.map → NumericDensity.unit.spec-ISPDAUVX.js.map} +0 -0
  686. /package/dist/{NumericHandler-5QFNXVBA.js.map → NumericHandler-RG5XZMBU.js.map} +0 -0
  687. /package/dist/{NumericHandler.unit.spec-OBITSUU3.js.map → NumericHandler.unit.spec-RTD7AZNE.js.map} +0 -0
  688. /package/dist/{ProteomeInput-MM373EL3.js.map → ProteomeInput-6A7UB4CI.js.map} +0 -0
  689. /package/dist/{RunChart2-2L6T3ITZ.js.map → RunChart2-YEAOBR2L.js.map} +0 -0
  690. /package/dist/{SC-JKD3Z2X5.js.map → SC-C3MJQBI5.js.map} +0 -0
  691. /package/dist/{WsiSamplesPlot-D3L3AILR.js.map → WsiSamplesPlot-ET7LGNJW.js.map} +0 -0
  692. /package/dist/{adSandbox-XO5HDSFW.js.map → adSandbox-6LGHUXPX.js.map} +0 -0
  693. /package/dist/{animatedBubbleChart-XKW6TCZP.js.map → animatedBubbleChart-VJ6EQDQP.js.map} +0 -0
  694. /package/dist/{app-H7ABTG6X.js.map → app-PRLLUIAA.js.map} +0 -0
  695. /package/dist/{app-HJSPIKRQ.js.map → app-WR6PQ2YK.js.map} +0 -0
  696. /package/dist/{bam-R5QVHWGY.js.map → bam-EXBXKUSE.js.map} +0 -0
  697. /package/dist/{barchart-OGCLBPQ2.js.map → barchart-FSIB3IZZ.js.map} +0 -0
  698. /package/dist/{barchart.events-GZTY4IC3.js.map → barchart.events-F4HSVH6M.js.map} +0 -0
  699. /package/dist/{barchart.integration.spec-Z6ECNFSM.js.map → barchart.integration.spec-AXE7BRKX.js.map} +0 -0
  700. /package/dist/{barchart2-DT42I747.js.map → barchart2-DRNQQJE2.js.map} +0 -0
  701. /package/dist/{block-UYYJXSCM.js.map → block-J3A3RIGS.js.map} +0 -0
  702. /package/dist/{block.init-43M53IMA.js.map → block.init-MQKMDKKW.js.map} +0 -0
  703. /package/dist/{block.mds.expressionrank-YH3IWMKM.js.map → block.mds.expressionrank-ZQEPPDEL.js.map} +0 -0
  704. /package/dist/{block.mds.geneboxplot-QS2IK37X.js.map → block.mds.geneboxplot-VJTIMZ6H.js.map} +0 -0
  705. /package/dist/{block.mds.junction-7FF5BFEX.js.map → block.mds.junction-VTAMQ2CW.js.map} +0 -0
  706. /package/dist/{block.mds.svcnv-MMJYLL2W.js.map → block.mds.svcnv-WG7WY3CS.js.map} +0 -0
  707. /package/dist/{block.svg-SA6DSUM2.js.map → block.svg-YTWYGSGO.js.map} +0 -0
  708. /package/dist/{block.tk.aicheck-ZX5LZ2QO.js.map → block.tk.aicheck-L4M55U63.js.map} +0 -0
  709. /package/dist/{block.tk.ase-YXT4BOXK.js.map → block.tk.ase-3OBVSGWM.js.map} +0 -0
  710. /package/dist/{block.tk.bam-IMLRIOOV.js.map → block.tk.bam-QUCP3HST.js.map} +0 -0
  711. /package/dist/{block.tk.bedgraphdot-UYQLL7HM.js.map → block.tk.bedgraphdot-BGAH5YPF.js.map} +0 -0
  712. /package/dist/{block.tk.bigwig.ui-WUVLVRSM.js.map → block.tk.bigwig.ui-2MG6VMOE.js.map} +0 -0
  713. /package/dist/{block.tk.hicstraw-N4SJGF7H.js.map → block.tk.hicstraw-MDQHFWBB.js.map} +0 -0
  714. /package/dist/{block.tk.junction-LZWHFKWJ.js.map → block.tk.junction-PBCJTAFX.js.map} +0 -0
  715. /package/dist/{block.tk.junction.textmatrixui-B626NYPA.js.map → block.tk.junction.textmatrixui-FJR76QBO.js.map} +0 -0
  716. /package/dist/{block.tk.ld-6VWUMAP6.js.map → block.tk.ld-ISL7K3DH.js.map} +0 -0
  717. /package/dist/{block.tk.menu-RRN2UPQX.js.map → block.tk.menu-VQW3FUAF.js.map} +0 -0
  718. /package/dist/{block.tk.pgv-GYG3EI6P.js.map → block.tk.pgv-RMXDF3XD.js.map} +0 -0
  719. /package/dist/{brainImaging-VIMLETC5.js.map → brainImaging-F4GZRF53.js.map} +0 -0
  720. /package/dist/{brainRegions-DRYZT5K5.js.map → brainRegions-ONUXPD7P.js.map} +0 -0
  721. /package/dist/{bubbleHeatmap-Y4SGMVJY.js.map → bubbleHeatmap-ZOS2ME3T.js.map} +0 -0
  722. /package/dist/{cellTypeBubbleHeatmap-QW37ZT5W.js.map → cellTypeBubbleHeatmap-BEVDWLHJ.js.map} +0 -0
  723. /package/dist/{chunk-DCNDZOI3.js.map → chunk-2JQWA4EO.js.map} +0 -0
  724. /package/dist/{chunk-DHPLHIVP.js.map → chunk-2TZITKMT.js.map} +0 -0
  725. /package/dist/{chunk-MUJMZ6W6.js.map → chunk-4BDOPNYW.js.map} +0 -0
  726. /package/dist/{chunk-JLGCQ2F4.js.map → chunk-4RWLKZMS.js.map} +0 -0
  727. /package/dist/{chunk-2ZTCRUOL.js.map → chunk-57GCW5SF.js.map} +0 -0
  728. /package/dist/{chunk-RZGEKL77.js.map → chunk-5RUVBYLK.js.map} +0 -0
  729. /package/dist/{chunk-QHPN3JJZ.js.map → chunk-5YOZ4E5H.js.map} +0 -0
  730. /package/dist/{chunk-GL44X7JY.js.map → chunk-6N5DNN7P.js.map} +0 -0
  731. /package/dist/{chunk-5VMYXVZG.js.map → chunk-AOVDTRFY.js.map} +0 -0
  732. /package/dist/{chunk-QSGXZEUU.js.map → chunk-BIDQ4OZH.js.map} +0 -0
  733. /package/dist/{chunk-Z7VK2AMA.js.map → chunk-C34UTN5M.js.map} +0 -0
  734. /package/dist/{chunk-7ZVFLC2V.js.map → chunk-DFHSLHXZ.js.map} +0 -0
  735. /package/dist/{chunk-2Y5C7GJS.js.map → chunk-E2JRANYL.js.map} +0 -0
  736. /package/dist/{chunk-CRH37PEV.js.map → chunk-FESRWKYY.js.map} +0 -0
  737. /package/dist/{chunk-DKAHHMKN.js.map → chunk-GMJSMF7P.js.map} +0 -0
  738. /package/dist/{chunk-ZH7JPYQE.js.map → chunk-HDPL53U4.js.map} +0 -0
  739. /package/dist/{chunk-ZVDOSFWU.js.map → chunk-HOCICSX4.js.map} +0 -0
  740. /package/dist/{chunk-4H4WJJ2G.js.map → chunk-HV3GD2F3.js.map} +0 -0
  741. /package/dist/{chunk-KPTPDZX2.js.map → chunk-IGVKT4CE.js.map} +0 -0
  742. /package/dist/{chunk-FYAY6D3O.js.map → chunk-IMKIDF2H.js.map} +0 -0
  743. /package/dist/{chunk-EQCVSUAF.js.map → chunk-ITKMNOLR.js.map} +0 -0
  744. /package/dist/{chunk-JQYPRW42.js.map → chunk-JABW3SRG.js.map} +0 -0
  745. /package/dist/{chunk-XJBSBIZ4.js.map → chunk-KDNYUHAH.js.map} +0 -0
  746. /package/dist/{chunk-SOCGXVIL.js.map → chunk-KSA3ND7Z.js.map} +0 -0
  747. /package/dist/{chunk-5ITKSTJX.js.map → chunk-LCRPBPKX.js.map} +0 -0
  748. /package/dist/{chunk-SZHFBRRT.js.map → chunk-NIZTWHGT.js.map} +0 -0
  749. /package/dist/{chunk-UJN2RH5R.js.map → chunk-OCC5HEPR.js.map} +0 -0
  750. /package/dist/{chunk-KZFVYDVK.js.map → chunk-OMIUJ7JT.js.map} +0 -0
  751. /package/dist/{chunk-K4IGOJPT.js.map → chunk-ONCG5AKF.js.map} +0 -0
  752. /package/dist/{chunk-C5IAIOCA.js.map → chunk-OW5LD7S2.js.map} +0 -0
  753. /package/dist/{chunk-CIRCVMWE.js.map → chunk-PY4QOYPK.js.map} +0 -0
  754. /package/dist/{chunk-NRP55BOF.js.map → chunk-Q3QY7QGU.js.map} +0 -0
  755. /package/dist/{chunk-3P74DH6P.js.map → chunk-RL3IRMOA.js.map} +0 -0
  756. /package/dist/{chunk-XIBY5I6F.js.map → chunk-SCOFWMSE.js.map} +0 -0
  757. /package/dist/{chunk-KW7MKBGF.js.map → chunk-SMOHPEMJ.js.map} +0 -0
  758. /package/dist/{chunk-3O6XFPUB.js.map → chunk-SNL7MSZD.js.map} +0 -0
  759. /package/dist/{chunk-TPVHGI7Q.js.map → chunk-SP7HDNXC.js.map} +0 -0
  760. /package/dist/{chunk-4KY4XKJV.js.map → chunk-UILBQKQ6.js.map} +0 -0
  761. /package/dist/{chunk-TOYMIFHN.js.map → chunk-UTNJA7JC.js.map} +0 -0
  762. /package/dist/{chunk-YMP4YKBN.js.map → chunk-VJCJCDFI.js.map} +0 -0
  763. /package/dist/{chunk-IIT367QZ.js.map → chunk-VSSZJHOR.js.map} +0 -0
  764. /package/dist/{chunk-XZ4M3QAV.js.map → chunk-W2WOZNEN.js.map} +0 -0
  765. /package/dist/{chunk-V2DU2OXH.js.map → chunk-WJTRQ3ZC.js.map} +0 -0
  766. /package/dist/{chunk-4USLEUNR.js.map → chunk-X4QQRHFB.js.map} +0 -0
  767. /package/dist/{chunk-JQT67SWE.js.map → chunk-Y2UCJ33M.js.map} +0 -0
  768. /package/dist/{chunk-3PPCZPLN.js.map → chunk-Y45RZL4F.js.map} +0 -0
  769. /package/dist/{chunk-ECIBJXFT.js.map → chunk-Z2TA7NML.js.map} +0 -0
  770. /package/dist/{chunk-C2JHLAKV.js.map → chunk-Z7U74YGW.js.map} +0 -0
  771. /package/dist/{chunk-FXS4I3Z3.js.map → chunk-ZKMBNB5E.js.map} +0 -0
  772. /package/dist/{chunk-M77DCLJX.js.map → chunk-ZPBG6CT3.js.map} +0 -0
  773. /package/dist/{chunk-X7KRSZQT.js.map → chunk-ZUDSOVYT.js.map} +0 -0
  774. /package/dist/{cohort-CEYVJJ7E.js.map → cohort-R743ZSCR.js.map} +0 -0
  775. /package/dist/{condition-QSOFP4MY.js.map → condition-MPZIRRGP.js.map} +0 -0
  776. /package/dist/{controls-QYHARIEY.js.map → controls-WD5TZITZ.js.map} +0 -0
  777. /package/dist/{controls.btns-AP67YWKW.js.map → controls.btns-KCLXBXSL.js.map} +0 -0
  778. /package/dist/{controls.config-3OO3JK6E.js.map → controls.config-577UCREO.js.map} +0 -0
  779. /package/dist/{correlation-TOI3TMYL.js.map → correlation-OCFBDDOX.js.map} +0 -0
  780. /package/dist/{cuminc.integration.spec-LSWV3KOF.js.map → cuminc.integration.spec-V46K57GV.js.map} +0 -0
  781. /package/dist/{customdata.inputui-VMB3HSSC.js.map → customdata.inputui-2MS5ZRKC.js.map} +0 -0
  782. /package/dist/{dataDownload.integration.spec-J6FRFLBK.js.map → dataDownload.integration.spec-TEOJOMYK.js.map} +0 -0
  783. /package/dist/{databrowser.ui-GVYWG6YI.js.map → databrowser.ui-PDPFHOH7.js.map} +0 -0
  784. /package/dist/{dictionary-GD67R72W.js.map → dictionary-MWUQYW6W.js.map} +0 -0
  785. /package/dist/{dnaMethylation-S7OSGLAF.js.map → dnaMethylation-SNVVE2MD.js.map} +0 -0
  786. /package/dist/{dnaMethylation.integration.spec-ETMMJNDE.js.map → dnaMethylation.integration.spec-OSYZ3YDP.js.map} +0 -0
  787. /package/dist/{dofetch-7GURQS65.js.map → dofetch-7R7PL4BX.js.map} +0 -0
  788. /package/dist/{e2pca-ZIIPBJFN.js.map → e2pca-7FYIWR5O.js.map} +0 -0
  789. /package/dist/{ep-A2HAL5WA.js.map → ep-PTAJZLKI.js.map} +0 -0
  790. /package/dist/{expclust.gdc.spec-ZSILLYNI.js.map → expclust.gdc.spec-2R7T7JPY.js.map} +0 -0
  791. /package/dist/{gb-C3MPQXKN.js.map → gb-5UFIDQWY.js.map} +0 -0
  792. /package/dist/{geneExpClustering-HYCFUUTU.js.map → geneExpClustering-QLBETGVB.js.map} +0 -0
  793. /package/dist/{geneExpression-JXSAP2H7.js.map → geneExpression-SAMLSOHQ.js.map} +0 -0
  794. /package/dist/{geneExpression-GATKMJJ5.js.map → geneExpression-SECTPIDT.js.map} +0 -0
  795. /package/dist/{geneExpression.unit.spec-CODZYFHZ.js.map → geneExpression.unit.spec-UNRGPJIG.js.map} +0 -0
  796. /package/dist/{geneORA-LJRIR4VV.js.map → geneORA-CCQGE7QL.js.map} +0 -0
  797. /package/dist/{geneRanking-TWLBKQZG.js.map → geneRanking-NVR7ZZIP.js.map} +0 -0
  798. /package/dist/{geneVariant-35RQHTCK.js.map → geneVariant-5KL2J3NA.js.map} +0 -0
  799. /package/dist/{geneVariant-TMJJIMUF.js.map → geneVariant-72E5YEPJ.js.map} +0 -0
  800. /package/dist/{geneVariant.integration.spec-FIQ7IBSD.js.map → geneVariant.integration.spec-7JLVYF7Q.js.map} +0 -0
  801. /package/dist/{genefusion.ui-SOBESSNO.js.map → genefusion.ui-M3IG6NUU.js.map} +0 -0
  802. /package/dist/{geneset-JXEJFEK2.js.map → geneset-V2535XGY.js.map} +0 -0
  803. /package/dist/{genomeBrowser.spec-25ZO5S2X.js.map → genomeBrowser.spec-TRREAQCH.js.map} +0 -0
  804. /package/dist/{grin2-CW4RPVPI.js.map → grin2-6X5GCPBQ.js.map} +0 -0
  805. /package/dist/{grin2-EI5BVP4E.js.map → grin2-GOO7H3RC.js.map} +0 -0
  806. /package/dist/{hierCluster-OBBPQH24.js.map → hierCluster-5YZOCCTV.js.map} +0 -0
  807. /package/dist/{hierCluster-SDH3TJQY.js.map → hierCluster-ZPQCUSVO.js.map} +0 -0
  808. /package/dist/{hierCluster.config-DO67TCXI.js.map → hierCluster.config-T3Y2LS6V.js.map} +0 -0
  809. /package/dist/{hierCluster.integration.spec-EB24C4VZ.js.map → hierCluster.integration.spec-PTXVQH77.js.map} +0 -0
  810. /package/dist/{hierCluster.interactivity-LGEAFT5T.js.map → hierCluster.interactivity-JNBO3MJB.js.map} +0 -0
  811. /package/dist/{importPlot-R2WRZGZU.js.map → importPlot-CWMBFQDD.js.map} +0 -0
  812. /package/dist/{isoformExpression-KI3WY5M3.js.map → isoformExpression-ABPY2N3A.js.map} +0 -0
  813. /package/dist/{isoformExpression.unit.spec-OQRG2DDU.js.map → isoformExpression.unit.spec-KRAZBQVF.js.map} +0 -0
  814. /package/dist/{junction-6SWFPNM5.js.map → junction-XGCBNVHV.js.map} +0 -0
  815. /package/dist/{junction.unit.spec-5TZFITSU.js.map → junction.unit.spec-XZFUJRI3.js.map} +0 -0
  816. /package/dist/{launch.adhoc-HCX2RQLB.js.map → launch.adhoc-7FJD3XSI.js.map} +0 -0
  817. /package/dist/{leftlabel.sample-OI6XCXTQ.js.map → leftlabel.sample-VPOZWRVY.js.map} +0 -0
  818. /package/dist/{lollipop-SOSOYHYL.js.map → lollipop-WBOAFWWO.js.map} +0 -0
  819. /package/dist/{maftimeline-UOMLYUNI.js.map → maftimeline-UK4MQP2D.js.map} +0 -0
  820. /package/dist/{matrix-5QWDN6SI.js.map → matrix-AT2FFTWO.js.map} +0 -0
  821. /package/dist/{matrix-SKPVVDVR.js.map → matrix-AU6NPNID.js.map} +0 -0
  822. /package/dist/{matrix.config-HE64MAL4.js.map → matrix.config-VTQ6HL5L.js.map} +0 -0
  823. /package/dist/{matrix.data-HTUZXQAM.js.map → matrix.data-DBYXSWIN.js.map} +0 -0
  824. /package/dist/{matrix.dom-F7AN3QGE.js.map → matrix.dom-DDPSUNY2.js.map} +0 -0
  825. /package/dist/{matrix.integration.spec-YKJ4LZFY.js.map → matrix.integration.spec-NJ2AXQAS.js.map} +0 -0
  826. /package/dist/{matrix.interactivity-YB5G5W5T.js.map → matrix.interactivity-HE2Q6SAO.js.map} +0 -0
  827. /package/dist/{matrix.layout-MFG65V7K.js.map → matrix.layout-FD5BPRCX.js.map} +0 -0
  828. /package/dist/{matrix.renderers-PCZFHDDZ.js.map → matrix.renderers-DVM4NB2R.js.map} +0 -0
  829. /package/dist/{matrix.sort.unit.spec-GEAM5DSU.js.map → matrix.sort.unit.spec-VQ3TR4S2.js.map} +0 -0
  830. /package/dist/{matrix.sorterUi-YSKIX6B6.js.map → matrix.sorterUi-4KYRGJT5.js.map} +0 -0
  831. /package/dist/{matrix.sorterUi.unit.spec-2MW64QS5.js.map → matrix.sorterUi.unit.spec-IEHG3OKN.js.map} +0 -0
  832. /package/dist/{mavb-YMHJXCGA.js.map → mavb-RPRKXPTZ.js.map} +0 -0
  833. /package/dist/{mds.fimo-PTEDRMLQ.js.map → mds.fimo-PZCVBD44.js.map} +0 -0
  834. /package/dist/{mds.samplescatterplot-7R7PLVQJ.js.map → mds.samplescatterplot-236GTHM4.js.map} +0 -0
  835. /package/dist/{mds.survivalplot-F3EENMFQ.js.map → mds.survivalplot-IJHOWSZL.js.map} +0 -0
  836. /package/dist/{oncomatrix-27VVSMZB.js.map → oncomatrix-R4OKDXSV.js.map} +0 -0
  837. /package/dist/{oncomatrix.spec-F43Y7CWN.js.map → oncomatrix.spec-4Z4HKS44.js.map} +0 -0
  838. /package/dist/{plot.2dvaf-MYFQSWIA.js.map → plot.2dvaf-ZK7DAKRQ.js.map} +0 -0
  839. /package/dist/{plot.app-36QWCKXR.js.map → plot.app-J66BA2LD.js.map} +0 -0
  840. /package/dist/{plot.barplot-535EP7XT.js.map → plot.barplot-UVRVPOKA.js.map} +0 -0
  841. /package/dist/{plot.boxplot-6IBP7VEB.js.map → plot.boxplot-DQGBDNLU.js.map} +0 -0
  842. /package/dist/{plot.brainImaging-M4HPNXZH.js.map → plot.brainImaging-WRMDYYHC.js.map} +0 -0
  843. /package/dist/{plot.disco-HIT6GR44.js.map → plot.disco-SSGPSM7W.js.map} +0 -0
  844. /package/dist/{plot.dzi-W66SBKTH.js.map → plot.dzi-F77KKPIJ.js.map} +0 -0
  845. /package/dist/{plot.ssgq-MI2OMCUY.js.map → plot.ssgq-FVFJOYVO.js.map} +0 -0
  846. /package/dist/{plot.vaf2cov-F4CBMLRA.js.map → plot.vaf2cov-CJSYBSPQ.js.map} +0 -0
  847. /package/dist/{plot.wsi-7M5KTNFC.js.map → plot.wsi-OSZU2PQ5.js.map} +0 -0
  848. /package/dist/{polar2-7VSWGT4U.js.map → polar2-R4ZKXKEV.js.map} +0 -0
  849. /package/dist/{profilePlot-ECTPPVB2.js.map → profilePlot-JU7SFYYY.js.map} +0 -0
  850. /package/dist/{proteinView-6ELOLOIU.js.map → proteinView-VU4SVO5I.js.map} +0 -0
  851. /package/dist/{proteomeCohortCompare-V2FMWI62.js.map → proteomeCohortCompare-2U537GOK.js.map} +0 -0
  852. /package/dist/{pseudbulk.unit.spec-KV6URTXC.js.map → pseudbulk.unit.spec-2FDKAEVI.js.map} +0 -0
  853. /package/dist/{pseudobulk-6ZRFCE65.js.map → pseudobulk-5GBUBBOY.js.map} +0 -0
  854. /package/dist/{qualitative-3B62RUOB.js.map → qualitative-3FTEQ7JW.js.map} +0 -0
  855. /package/dist/{radar2-4QQER64E.js.map → radar2-EBOTTAMC.js.map} +0 -0
  856. /package/dist/{radarFacility2-MZKORRDY.js.map → radarFacility2-PAGNJR6D.js.map} +0 -0
  857. /package/dist/{regression-GZ2YNX6Y.js.map → regression-XOVSVC7S.js.map} +0 -0
  858. /package/dist/{regression.inputs-ZEFDNSVT.js.map → regression.inputs-LGA67ESO.js.map} +0 -0
  859. /package/dist/{regression.inputs.term-O2FQBX7L.js.map → regression.inputs.term-UCQKXC5D.js.map} +0 -0
  860. /package/dist/{regression.inputs.values.table-63BQKSZP.js.map → regression.inputs.values.table-2RRE7SMS.js.map} +0 -0
  861. /package/dist/{regression.integration.spec-KDHC3KDU.js.map → regression.integration.spec-BKM5UI7H.js.map} +0 -0
  862. /package/dist/{regression.results-5J3QM4RX.js.map → regression.results-T3HB6CBH.js.map} +0 -0
  863. /package/dist/{regression.spec-WZAZTDDA.js.map → regression.spec-W7IVCYVZ.js.map} +0 -0
  864. /package/dist/{render-MZTEXVU5.js.map → render-2C6LWNG2.js.map} +0 -0
  865. /package/dist/{report-M5TYHH2W.js.map → report-HRGU3XKL.js.map} +0 -0
  866. /package/dist/{sampleView-QYTLYJEW.js.map → sampleView-P5JZHEKY.js.map} +0 -0
  867. /package/dist/{samplelst-FN3Q7M7A.js.map → samplelst-OYQ6BASU.js.map} +0 -0
  868. /package/dist/{samplematrix-Z5FVODO7.js.map → samplematrix-JC3SGO5V.js.map} +0 -0
  869. /package/dist/{sc-4CHP5SYP.js.map → sc-FTHUNDGY.js.map} +0 -0
  870. /package/dist/{scatter-UOPJYXL3.js.map → scatter-WYP2NPNB.js.map} +0 -0
  871. /package/dist/{selectGenomeWithTklst-WMAHGT4F.js.map → selectGenomeWithTklst-CIETKILP.js.map} +0 -0
  872. /package/dist/{singleCellCellType-XPWENB6V.js.map → singleCellCellType-3O3TTLM6.js.map} +0 -0
  873. /package/dist/{singleCellCellType.unit.spec-QK56PHKW.js.map → singleCellCellType.unit.spec-GHBS36DB.js.map} +0 -0
  874. /package/dist/{singleCellGeneExpression-4CEVDVYF.js.map → singleCellGeneExpression-2F7F4EKK.js.map} +0 -0
  875. /package/dist/{singleCellGeneExpression.unit.spec-ZYRLBVF5.js.map → singleCellGeneExpression.unit.spec-2VGIH2NZ.js.map} +0 -0
  876. /package/dist/{singleCellPlot-JS74VUGC.js.map → singleCellPlot-MGSS4O3L.js.map} +0 -0
  877. /package/dist/{singlecell-OO77XBDD.js.map → singlecell-CKC2VVJ3.js.map} +0 -0
  878. /package/dist/{singlecell-5XYOHMWJ.js.map → singlecell-QOXATRF4.js.map} +0 -0
  879. /package/dist/{snp-X5ZILM5J.js.map → snp-OSYJO2R7.js.map} +0 -0
  880. /package/dist/{snp.unit.spec-V23G3JLJ.js.map → snp.unit.spec-L5ANPFO2.js.map} +0 -0
  881. /package/dist/{snplocus-U5UIIUWR.js.map → snplocus-64MJJID2.js.map} +0 -0
  882. /package/dist/{spliceevent.a53ss.diagram-YDFVSDMT.js.map → spliceevent.a53ss.diagram-LHRT5UPB.js.map} +0 -0
  883. /package/dist/{spliceevent.exonskip.diagram-VDKN5JBE.js.map → spliceevent.exonskip.diagram-BGSEPGR5.js.map} +0 -0
  884. /package/dist/{spliceevent.noeventdiagram-EFPFRUFI.js.map → spliceevent.noeventdiagram-QGZZSKW7.js.map} +0 -0
  885. /package/dist/{ssGSEA-LKJW5OQK.js.map → ssGSEA-VVAZDFDT.js.map} +0 -0
  886. /package/dist/{ssGSEA.unit.spec-7WCZVEP2.js.map → ssGSEA.unit.spec-LP76RHTV.js.map} +0 -0
  887. /package/dist/{studyCatalog-EU33KE5H.js.map → studyCatalog-AXWH7IOH.js.map} +0 -0
  888. /package/dist/{summarizeCnvGeneexp-QL25OQNB.js.map → summarizeCnvGeneexp-DRBIXOAP.js.map} +0 -0
  889. /package/dist/{summarizeGeneexpSurvival-B7HTCH7L.js.map → summarizeGeneexpSurvival-4PATAUSN.js.map} +0 -0
  890. /package/dist/{summarizeMutationCnv-DFAPX2JE.js.map → summarizeMutationCnv-UGSIGZDJ.js.map} +0 -0
  891. /package/dist/{summarizeMutationDiagnosis-HCSDSVII.js.map → summarizeMutationDiagnosis-UATVI5BK.js.map} +0 -0
  892. /package/dist/{summarizeMutationSurvival-6WEASSA2.js.map → summarizeMutationSurvival-CZXGM3AA.js.map} +0 -0
  893. /package/dist/{summary-BWYXE77G.js.map → summary-IGTXNQ5I.js.map} +0 -0
  894. /package/dist/{summary.integration.spec-AVGSW5MF.js.map → summary.integration.spec-VFCYU2V6.js.map} +0 -0
  895. /package/dist/{summaryInput-MOQ6HUCX.js.map → summaryInput-AFZSASTM.js.map} +0 -0
  896. /package/dist/{sunburst-EZDHVJCL.js.map → sunburst-G7DBI637.js.map} +0 -0
  897. /package/dist/{survival-IEVELTC4.js.map → survival-YOJBLMR2.js.map} +0 -0
  898. /package/dist/{survival.integration.spec-HHWP3R4H.js.map → survival.integration.spec-FXPCZJSS.js.map} +0 -0
  899. /package/dist/{svgraph-55XRIYJW.js.map → svgraph-ZSSOWI7R.js.map} +0 -0
  900. /package/dist/{svmr-CMEBFSRO.js.map → svmr-FPYSMXSC.js.map} +0 -0
  901. /package/dist/{termCollection-CPQXYBFA.js.map → termCollection-IY5V64IY.js.map} +0 -0
  902. /package/dist/{termCollection-ZWOH273K.js.map → termCollection-SR4SP6RZ.js.map} +0 -0
  903. /package/dist/{termCollection.unit.spec-RK7VATLU.js.map → termCollection.unit.spec-NL72AQ2P.js.map} +0 -0
  904. /package/dist/{termCollectionFractionSelection-Z4ZRW63R.js.map → termCollectionFractionSelection-2LPBE224.js.map} +0 -0
  905. /package/dist/{termCollectionFractionSelection.unit.spec-3CS7DPNU.js.map → termCollectionFractionSelection.unit.spec-PUMGBUDN.js.map} +0 -0
  906. /package/dist/{termInfo-6MJDJSDW.js.map → termInfo-2DR7DHXM.js.map} +0 -0
  907. /package/dist/{tk-RHWJJXH2.js.map → tk-COBDWIZJ.js.map} +0 -0
  908. /package/dist/{tk-4NNTWWLK.js.map → tk-N2YBXDQK.js.map} +0 -0
  909. /package/dist/{tp.ui-DPN5UN6U.js.map → tp.ui-BMK2MMIJ.js.map} +0 -0
  910. /package/dist/{tvs.dt-ARPDFRVM.js.map → tvs.dt-KL4VCW5Y.js.map} +0 -0
  911. /package/dist/{tvs.dtcnv.categorical-POS6WQK6.js.map → tvs.dtcnv.categorical-VGXOASJE.js.map} +0 -0
  912. /package/dist/{tvs.dtcnv.continuous-5OETJ7JU.js.map → tvs.dtcnv.continuous-IANT7BPS.js.map} +0 -0
  913. /package/dist/{tvs.dtfusion-ERYVI3DW.js.map → tvs.dtfusion-M5HJWCJI.js.map} +0 -0
  914. /package/dist/{tvs.dtitd-KTZZYEWU.js.map → tvs.dtitd-KB72EDPN.js.map} +0 -0
  915. /package/dist/{tvs.dtsnvindel-TGUAX3RN.js.map → tvs.dtsnvindel-VGYTLO6E.js.map} +0 -0
  916. /package/dist/{tvs.dtsv-AM63OIL6.js.map → tvs.dtsv-KWUXW2F5.js.map} +0 -0
  917. /package/dist/{tvs.samplelst-VW2NOQ2C.js.map → tvs.samplelst-3UA7XMHJ.js.map} +0 -0
  918. /package/dist/{tvs.termCollection-O4ZSWJFA.js.map → tvs.termCollection-LK6CVGYZ.js.map} +0 -0
  919. /package/dist/{violin-ZQ3DEYGR.js.map → violin-D4EX3ZFV.js.map} +0 -0
  920. /package/dist/{violin.integration.spec-PVEF77HB.js.map → violin.integration.spec-GBW3VBHW.js.map} +0 -0
  921. /package/dist/{violin.interactivity-FYU4TCFO.js.map → violin.interactivity-N3JVI2AQ.js.map} +0 -0
  922. /package/dist/{violin.renderer-XAERGBMV.js.map → violin.renderer-2NYRUXUY.js.map} +0 -0
  923. /package/dist/{vocabulary-ECJX27W2.js.map → vocabulary-277KD4RO.js.map} +0 -0
@@ -0,0 +1,2364 @@
1
+ import {
2
+ spliceevent_exonskip_getdefault_default
3
+ } from "./chunk-WWXXSQ2M.js";
4
+ import {
5
+ spliceevent_phrase_default
6
+ } from "./chunk-5YOZ4E5H.js";
7
+ import {
8
+ legend_newrow
9
+ } from "./chunk-2JQWA4EO.js";
10
+ import "./chunk-V2OJLJSK.js";
11
+ import "./chunk-HOCICSX4.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-73PFJ2VF.js";
23
+ import "./chunk-HJ6L54YS.js";
24
+ import "./chunk-XFAL46LZ.js";
25
+ import "./chunk-ZZMIDYRE.js";
26
+ import {
27
+ Menu
28
+ } from "./chunk-HYOEWQ5P.js";
29
+ import "./chunk-6QCYT6G2.js";
30
+ import "./chunk-FN5XPUPH.js";
31
+ import "./chunk-VSSZJHOR.js";
32
+ import "./chunk-5RUVBYLK.js";
33
+ import "./chunk-ZFJUVP2N.js";
34
+ import "./chunk-R3ARQMM4.js";
35
+ import {
36
+ dofetch2,
37
+ dofetch3
38
+ } from "./chunk-X4QQRHFB.js";
39
+ import "./chunk-4WF3XDQP.js";
40
+ import "./chunk-X6VTVZY7.js";
41
+ import "./chunk-H6INPPUC.js";
42
+ import "./chunk-PF4DSFDR.js";
43
+ import "./chunk-L44P5N4U.js";
44
+ import {
45
+ IN_frame,
46
+ OUT_frame,
47
+ bplen,
48
+ defaultcolor,
49
+ spliceeventchangegmexon
50
+ } from "./chunk-GEQUQ3GG.js";
51
+ import "./chunk-WPHUM5S5.js";
52
+ import "./chunk-75T7ESEO.js";
53
+ import {
54
+ category10_default
55
+ } from "./chunk-2KXLYFAO.js";
56
+ import {
57
+ axisRight
58
+ } from "./chunk-LOZEKOES.js";
59
+ import "./chunk-VQZ2Z5YU.js";
60
+ import {
61
+ linear,
62
+ log,
63
+ ordinal
64
+ } from "./chunk-UJELJXJG.js";
65
+ import "./chunk-FXQXCOII.js";
66
+ import "./chunk-TLT4YIG3.js";
67
+ import "./chunk-5R63Q5KH.js";
68
+ import {
69
+ select_default
70
+ } from "./chunk-I6Y4O3RR.js";
71
+ import "./chunk-Q5RDQNIT.js";
72
+ import "./chunk-DQC5FFGV.js";
73
+ import {
74
+ __commonJS,
75
+ __toESM
76
+ } from "./chunk-HFNDKYVF.js";
77
+
78
+ // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
79
+ var require_d3_beeswarm = __commonJS({
80
+ "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
81
+ (function(global, factory) {
82
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
83
+ })(exports, function(exports2) {
84
+ "use strict";
85
+ function beeswarm2() {
86
+ var data = [];
87
+ var radius = 4;
88
+ var orientation = "horizontal";
89
+ var side = "symetric";
90
+ var distributeOn = (
91
+ // accessor to the x value
92
+ function(datum) {
93
+ return datum.x;
94
+ }
95
+ );
96
+ var minDistanceBetweenCircles;
97
+ var minSquareDistanceBetweenCircles;
98
+ var xBasedDataManager;
99
+ var xBasedColliderManager;
100
+ var yBasedColliderManager;
101
+ var arrangement;
102
+ var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
103
+ function _beeswarm() {
104
+ }
105
+ _beeswarm.data = function(_) {
106
+ if (!arguments.length) {
107
+ return data;
108
+ }
109
+ data = _;
110
+ return _beeswarm;
111
+ };
112
+ _beeswarm.radius = function(_) {
113
+ if (!arguments.length) {
114
+ return radius;
115
+ }
116
+ radius = _;
117
+ return _beeswarm;
118
+ };
119
+ _beeswarm.orientation = function(_) {
120
+ if (!arguments.length) {
121
+ return orientation;
122
+ }
123
+ if (_ === "horizontal" || _ === "vertical") {
124
+ orientation = _;
125
+ }
126
+ return _beeswarm;
127
+ };
128
+ _beeswarm.side = function(_) {
129
+ if (!arguments.length) {
130
+ return side;
131
+ }
132
+ if (_ === "symetric" || _ === "positive" || _ === "negative") {
133
+ side = _;
134
+ }
135
+ return _beeswarm;
136
+ };
137
+ _beeswarm.distributeOn = function(_) {
138
+ if (!arguments.length) {
139
+ return distributeOn;
140
+ }
141
+ distributeOn = _;
142
+ return _beeswarm;
143
+ };
144
+ _beeswarm.arrange = function() {
145
+ initArrangement();
146
+ arrangement.forEach(function(d) {
147
+ var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
148
+ if (xBasedPossibleColliders.length === 0) {
149
+ bestYPosition = 0;
150
+ } else {
151
+ yBasedColliderManager.clear();
152
+ yBasedColliderManager.addMany(xBasedPossibleColliders);
153
+ d.free = 0;
154
+ if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
155
+ bestYPosition = 0;
156
+ totalVisitedColliders += visitedColliderCount;
157
+ if (visitedColliderCount > maxVisitedColliders) {
158
+ maxVisitedColliders = visitedColliderCount;
159
+ }
160
+ visitedColliderCount = 0;
161
+ totalTestedPlacements += 1;
162
+ } else {
163
+ xBasedPossibleColliders.forEach(function(xbpc) {
164
+ relativeYPos = yPosRelativeToXbpc(xbpc, d);
165
+ placeBelow(d, xbpc, relativeYPos);
166
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
167
+ bestYPosition = d.free;
168
+ }
169
+ totalVisitedColliders += visitedColliderCount;
170
+ if (visitedColliderCount > maxVisitedColliders) {
171
+ maxVisitedColliders = visitedColliderCount;
172
+ }
173
+ visitedColliderCount = 0;
174
+ totalTestedPlacements += 1;
175
+ placeAbove(d, xbpc, relativeYPos);
176
+ if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
177
+ bestYPosition = d.free;
178
+ }
179
+ totalVisitedColliders += visitedColliderCount;
180
+ if (visitedColliderCount > maxVisitedColliders) {
181
+ maxVisitedColliders = visitedColliderCount;
182
+ }
183
+ visitedColliderCount = 0;
184
+ totalTestedPlacements += 1;
185
+ });
186
+ }
187
+ }
188
+ ;
189
+ d.free = bestYPosition;
190
+ if (orientation === "horizontal") {
191
+ d.x = d.fixed;
192
+ d.y = bestYPosition;
193
+ } else {
194
+ d.x = bestYPosition;
195
+ d.y = d.fixed;
196
+ }
197
+ xBasedColliderManager.add(d);
198
+ });
199
+ return arrangement;
200
+ };
201
+ _beeswarm.metrics = function() {
202
+ return {
203
+ totalPossibleColliders,
204
+ maxPossibleColliders,
205
+ totalTestedPlacements,
206
+ visitedColliderCount,
207
+ totalVisitedColliders,
208
+ maxVisitedColliders
209
+ };
210
+ };
211
+ function initArrangement() {
212
+ arrangement = data.map(function(d, i) {
213
+ return {
214
+ datum: d,
215
+ id: i,
216
+ fixed: distributeOn(d),
217
+ free: -Infinity
218
+ };
219
+ });
220
+ minDistanceBetweenCircles = 2 * radius;
221
+ minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
222
+ xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
223
+ return d.fixed;
224
+ }).addMany(arrangement);
225
+ xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
226
+ return d.fixed;
227
+ });
228
+ yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
229
+ return d.free;
230
+ });
231
+ totalPossibleColliders = maxPossibleColliders = 0;
232
+ totalTestedPlacements = 0;
233
+ visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
234
+ }
235
+ function findNearestPossibleCollider(dln, visitedDln, direction) {
236
+ if (visitedDln === null) {
237
+ return null;
238
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
239
+ return null;
240
+ } else {
241
+ if (isFinite(visitedDln.datum.free)) {
242
+ return visitedDln.datum;
243
+ }
244
+ return findNearestPossibleCollider(dln, visitedDln[direction], direction);
245
+ }
246
+ }
247
+ function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
248
+ if (visitedDln === null) {
249
+ return;
250
+ } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
251
+ return;
252
+ } else {
253
+ xBasedPossibleColliders.push(visitedDln.datum);
254
+ visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
255
+ }
256
+ }
257
+ function gatherXBasedPossibleColliders(datum) {
258
+ var xBasedPossibleColliders = [];
259
+ var dln = xBasedDataManager.dln(datum);
260
+ var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
261
+ var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
262
+ if (nearestXPrevAlreadyArrangedData != null) {
263
+ dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
264
+ visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
265
+ }
266
+ if (nearestXNextAlreadyArrangedData != null) {
267
+ dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
268
+ visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
269
+ }
270
+ totalPossibleColliders += xBasedPossibleColliders.length;
271
+ if (xBasedPossibleColliders.length > maxPossibleColliders) {
272
+ maxPossibleColliders = xBasedPossibleColliders.length;
273
+ }
274
+ return xBasedPossibleColliders;
275
+ }
276
+ function isAuthorizedPlacement(datum) {
277
+ if (side === "symetric") {
278
+ return true;
279
+ } else if (side === "positive") {
280
+ return datum.free >= 0;
281
+ } else {
282
+ return datum.free <= 0;
283
+ }
284
+ }
285
+ function isBetterPlacement(datum, bestYPosition) {
286
+ return Math.abs(datum.free) < Math.abs(bestYPosition);
287
+ }
288
+ function yPosRelativeToXbpc(xbpc, d) {
289
+ return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
290
+ }
291
+ function placeBelow(d, aad, relativeYPos) {
292
+ d.free = aad.free - relativeYPos;
293
+ }
294
+ function placeAbove(d, aad, relativeYPos) {
295
+ d.free = aad.free + relativeYPos;
296
+ }
297
+ function areCirclesColliding(d0, d1) {
298
+ visitedColliderCount++;
299
+ return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
300
+ }
301
+ function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
302
+ if (visitedDln === null) {
303
+ return false;
304
+ } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
305
+ return false;
306
+ } else if (areCirclesColliding(datum, visitedDln.datum)) {
307
+ return true;
308
+ } else {
309
+ return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
310
+ }
311
+ }
312
+ function collidesWithOther(datum, visitedDln) {
313
+ var visitCount = 0;
314
+ if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
315
+ return true;
316
+ } else {
317
+ return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
318
+ }
319
+ }
320
+ function SortedDirectAccessDoublyLinkedList() {
321
+ this._valueAccesor = // accessor to the value to sort on
322
+ function(obj) {
323
+ return obj.value;
324
+ };
325
+ this._min = null;
326
+ this._max = null;
327
+ this._closestTo0 = null;
328
+ this.size = 0;
329
+ this._idToNode = {};
330
+ }
331
+ SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
332
+ if (!arguments.length) {
333
+ return this._valueAccesor;
334
+ }
335
+ this._valueAccesor = _;
336
+ return this;
337
+ };
338
+ SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
339
+ return this._closestTo0;
340
+ };
341
+ SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
342
+ this._min = null;
343
+ this._max = null;
344
+ this._closestTo0 = null;
345
+ this.size = 0;
346
+ this._idToNode = {};
347
+ return this;
348
+ };
349
+ SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
350
+ return this._idToNode[datum.id];
351
+ };
352
+ SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
353
+ data2.forEach(function(datum, item) {
354
+ this.add(datum);
355
+ }, this);
356
+ return this;
357
+ };
358
+ SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
359
+ var dln = {
360
+ datum,
361
+ // original datum
362
+ value: this._valueAccesor(datum),
363
+ prev: null,
364
+ // previous value-based node
365
+ next: null
366
+ // next value-based node
367
+ };
368
+ if (this.size === 0) {
369
+ this._min = this._max = this._closestTo0 = dln;
370
+ } else {
371
+ if (dln.value <= this._min.value) {
372
+ dln.next = this._min;
373
+ dln.next.prev = dln;
374
+ this._min = dln;
375
+ } else if (dln.value >= this._max.value) {
376
+ dln.prev = this._max;
377
+ dln.prev.next = dln;
378
+ this._max = dln;
379
+ } else {
380
+ var current = this._max;
381
+ while (current.value > dln.value) {
382
+ current = current.prev;
383
+ }
384
+ dln.prev = current;
385
+ dln.next = current.next;
386
+ dln.next.prev = dln;
387
+ dln.prev.next = dln;
388
+ }
389
+ if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
390
+ this._closestTo0 = dln;
391
+ }
392
+ }
393
+ this._idToNode[dln.datum.id] = dln;
394
+ this.size++;
395
+ return this;
396
+ };
397
+ SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
398
+ var dln = this.dln(datum);
399
+ if (this.size === 1) {
400
+ this._min = this._max = this._closestTo0 = null;
401
+ } else {
402
+ if (dln === this._closestTo0) {
403
+ if (this._closestTo0.next === null) {
404
+ this._closestTo0 = dln.prev;
405
+ } else if (this.closestToZero.prev === null) {
406
+ this._closestTo0 = dln.prev;
407
+ } else {
408
+ var prevAbsValue = Math.abs(this._closestTo0.prev.value);
409
+ var nextAbsValue = Math.abs(this._closestTo0.next.value);
410
+ if (prevAbsValue < nextAbsValue) {
411
+ this._closestTo0 = this._closestTo0.prev;
412
+ } else {
413
+ this._closestTo0 = this._closestTo0.next;
414
+ }
415
+ }
416
+ }
417
+ if (dln === this._min) {
418
+ this._min = this._min.next;
419
+ this._min.prev = null;
420
+ } else if (dln === this._max) {
421
+ this._max = this._max.prev;
422
+ this._max.next = null;
423
+ } else {
424
+ dln.next.prev = dln.prev;
425
+ dln.prev.next = dln.next;
426
+ }
427
+ }
428
+ dln = null;
429
+ delete this._idToNode[datum.id];
430
+ this.size--;
431
+ return this;
432
+ };
433
+ return _beeswarm;
434
+ }
435
+ ;
436
+ exports2.beeswarm = beeswarm2;
437
+ Object.defineProperty(exports2, "__esModule", { value: true });
438
+ });
439
+ }
440
+ });
441
+
442
+ // src/spliceevent.prep.js
443
+ function mapjunctiontoexons(junctions, genes) {
444
+ for (const j of junctions) {
445
+ j.exonleft = [];
446
+ j.exonright = [];
447
+ j.exonleftin = [];
448
+ j.exonrightin = [];
449
+ j.intronleft = [];
450
+ j.intronright = [];
451
+ j.leftout = [];
452
+ j.rightout = [];
453
+ j.matchisoform = [];
454
+ }
455
+ const usegenes = [];
456
+ for (const gene of genes) {
457
+ let use = false;
458
+ for (const j of junctions) {
459
+ if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
460
+ use = true;
461
+ break;
462
+ }
463
+ }
464
+ if (use) {
465
+ usegenes.push(gene);
466
+ }
467
+ }
468
+ if (usegenes.length == 0) {
469
+ return;
470
+ }
471
+ const leftpos = /* @__PURE__ */ new Map();
472
+ const rightpos = /* @__PURE__ */ new Map();
473
+ for (const j of junctions) {
474
+ if (!leftpos.has(j.start)) {
475
+ leftpos.set(j.start, []);
476
+ }
477
+ leftpos.get(j.start).push(j);
478
+ if (!rightpos.has(j.stop)) {
479
+ rightpos.set(j.stop, []);
480
+ }
481
+ rightpos.get(j.stop).push(j);
482
+ }
483
+ for (const [pos, jlst] of leftpos) {
484
+ for (const gm of usegenes) {
485
+ if (!gm.exon) continue;
486
+ for (let i = 0; i < gm.exon.length; i++) {
487
+ if (gm.exon[i][1] - 1 == pos) {
488
+ for (const j of jlst) {
489
+ j.exonleft.push({
490
+ gm,
491
+ exonidx: i
492
+ });
493
+ }
494
+ }
495
+ if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
496
+ for (const j of jlst) {
497
+ j.exonleftin.push({
498
+ gm,
499
+ exonidx: i
500
+ });
501
+ }
502
+ }
503
+ }
504
+ if (gm.intron) {
505
+ for (let i = 0; i < gm.intron.length; i++) {
506
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
507
+ for (const j of jlst) {
508
+ j.intronleft.push({
509
+ gm,
510
+ intronidx: i
511
+ });
512
+ }
513
+ }
514
+ }
515
+ }
516
+ }
517
+ }
518
+ for (const [pos, jlst] of rightpos) {
519
+ for (const gm of usegenes) {
520
+ if (!gm.exon) continue;
521
+ for (let i = 0; i < gm.exon.length; i++) {
522
+ if (gm.exon[i][0] == pos) {
523
+ for (const j of jlst) {
524
+ j.exonright.push({
525
+ gm,
526
+ exonidx: i
527
+ });
528
+ }
529
+ }
530
+ if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
531
+ for (const j of jlst) {
532
+ j.exonrightin.push({
533
+ gm,
534
+ exonidx: i
535
+ });
536
+ }
537
+ }
538
+ }
539
+ if (gm.intron) {
540
+ for (let i = 0; i < gm.intron.length; i++) {
541
+ if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
542
+ for (const j of jlst) {
543
+ j.intronright.push({
544
+ gm,
545
+ intronidx: i
546
+ });
547
+ }
548
+ }
549
+ }
550
+ }
551
+ }
552
+ }
553
+ for (const j of junctions) {
554
+ {
555
+ const isoforms = /* @__PURE__ */ new Set();
556
+ for (const q of j.exonleft) isoforms.add(q.gm.isoform);
557
+ for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
558
+ for (const q of j.intronleft) isoforms.add(q.gm.isoform);
559
+ if (isoforms.size) {
560
+ for (const gm of usegenes) {
561
+ if (!isoforms.has(gm.isoform)) continue;
562
+ if (gm.stop <= j.stop) {
563
+ j.rightout.push({
564
+ gm
565
+ });
566
+ }
567
+ }
568
+ }
569
+ }
570
+ {
571
+ const isoforms = /* @__PURE__ */ new Set();
572
+ for (const q of j.exonright) isoforms.add(q.gm.isoform);
573
+ for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
574
+ for (const q of j.intronright) isoforms.add(q.gm.isoform);
575
+ if (isoforms.size) {
576
+ for (const gm of usegenes) {
577
+ if (!isoforms.has(gm.isoform)) continue;
578
+ if (gm.start > j.start) {
579
+ j.leftout.push({
580
+ gm
581
+ });
582
+ }
583
+ }
584
+ }
585
+ }
586
+ }
587
+ for (const j of junctions) {
588
+ if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
589
+ for (const el of j.exonleft) {
590
+ for (const er of j.exonright) {
591
+ if (el.gm.isoform == er.gm.isoform) {
592
+ j.matchisoform.push({
593
+ gm: el.gm,
594
+ leftexonidx: el.exonidx,
595
+ rightexonidx: er.exonidx
596
+ });
597
+ }
598
+ }
599
+ }
600
+ }
601
+ }
602
+
603
+ // src/spliceevent.exonskip.js
604
+ var exonskipcolor = "#99004d";
605
+ var exonaltcolor = "#004d99";
606
+ function findexonskipping(multisample, junctions, gmdata) {
607
+ const allevents = [];
608
+ for (const j0 of junctions) {
609
+ if (!j0.matchisoform || j0.matchisoform.length == 0) {
610
+ continue;
611
+ }
612
+ for (const j0isoform of j0.matchisoform) {
613
+ const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
614
+ const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
615
+ if (j0exonend - j0exonbegin <= 1) {
616
+ continue;
617
+ }
618
+ const jB = j0;
619
+ const thisevent = {
620
+ skippedexon: [],
621
+ junctionB: jB,
622
+ junctionAlst: []
623
+ };
624
+ for (let i = j0exonbegin + 1; i < j0exonend; i++) {
625
+ thisevent.skippedexon.push(i);
626
+ }
627
+ let gmB = null;
628
+ for (const gm of gmdata) {
629
+ if (!gm.intron) continue;
630
+ for (const i of gm.intron) {
631
+ if (i[0] - 1 == jB.start && i[1] == jB.stop) {
632
+ gmB = gm;
633
+ break;
634
+ }
635
+ }
636
+ if (gmB) {
637
+ break;
638
+ }
639
+ }
640
+ if (gmB) {
641
+ thisevent.isaltexon = true;
642
+ thisevent.color = exonaltcolor;
643
+ thisevent.gmA = j0isoform.gm;
644
+ thisevent.gmB = gmB;
645
+ } else {
646
+ thisevent.isskipexon = true;
647
+ thisevent.color = exonskipcolor;
648
+ thisevent.gm = j0isoform.gm;
649
+ const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
650
+ if (utr3) thisevent.utr3 = true;
651
+ if (utr5) thisevent.utr5 = true;
652
+ if (coding) thisevent.coding = true;
653
+ }
654
+ {
655
+ const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
656
+ for (const ja of jAlst) {
657
+ thisevent.junctionAlst.push(ja);
658
+ }
659
+ }
660
+ if (thisevent.isskipexon) {
661
+ findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
662
+ }
663
+ if (multisample) {
664
+ if (!jB.data) {
665
+ console.error("exonskip: jB.data missing when it is multi-sample");
666
+ continue;
667
+ }
668
+ if (jB.data.length == 0) {
669
+ console.error("exonskip: jB.data.length==0");
670
+ continue;
671
+ }
672
+ let percentagesamplesum = 0;
673
+ for (const sampleBdata of jB.data) {
674
+ const bcount = sampleBdata.v;
675
+ let acountsum = 0;
676
+ for (const junctionA of thisevent.junctionAlst) {
677
+ if (!junctionA) {
678
+ continue;
679
+ }
680
+ if (!junctionA.data) {
681
+ console.log("exonskip: jA.data missing when multi-sample");
682
+ continue;
683
+ }
684
+ for (const sampleAdata of junctionA.data) {
685
+ if (sampleAdata.tkid == sampleBdata.tkid) {
686
+ acountsum += sampleAdata.v;
687
+ break;
688
+ }
689
+ }
690
+ }
691
+ percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
692
+ }
693
+ thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
694
+ } else {
695
+ let asum = 0;
696
+ for (const _j of thisevent.junctionAlst) {
697
+ asum += _j ? _j.data[0].v : 0;
698
+ }
699
+ thisevent.percentage = Math.ceil(
700
+ 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
701
+ );
702
+ }
703
+ allevents.push(thisevent);
704
+ }
705
+ }
706
+ const exoncoords = /* @__PURE__ */ new Map();
707
+ for (const evt of allevents) {
708
+ const positionlst = [];
709
+ for (const eid of evt.skippedexon) {
710
+ let thisexon;
711
+ if (evt.isskipexon) {
712
+ thisexon = evt.gm.exon[eid];
713
+ } else {
714
+ thisexon = evt.gmA.exon[eid];
715
+ }
716
+ positionlst.push(thisexon[0]);
717
+ positionlst.push(thisexon[1]);
718
+ }
719
+ if (positionlst.length == 0) {
720
+ console.error("not possible: no skipped exon position for exon-skip");
721
+ console.log(evt);
722
+ continue;
723
+ }
724
+ positionlst.sort();
725
+ const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
726
+ if (!exoncoords.has(posstr)) {
727
+ exoncoords.set(posstr, []);
728
+ }
729
+ exoncoords.get(posstr).push(evt);
730
+ }
731
+ const eventsetlst = [];
732
+ for (const eventlst of exoncoords.values()) {
733
+ const thisset = {
734
+ eventlst,
735
+ exonlst: []
736
+ // each exon: {start:, stop:}
737
+ };
738
+ eventsetlst.push(thisset);
739
+ const firstevent = eventlst[0];
740
+ for (const eid of firstevent.skippedexon) {
741
+ const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
742
+ const thisexon = gm.exon[eid];
743
+ thisset.exonlst.push({
744
+ chr: gm.chr,
745
+ start: thisexon[0],
746
+ stop: thisexon[1]
747
+ });
748
+ }
749
+ let eventcount_skip = 0, eventcount_alt = 0;
750
+ for (const evt of eventlst) {
751
+ if (evt.isskipexon) {
752
+ eventcount_skip++;
753
+ } else {
754
+ eventcount_alt++;
755
+ }
756
+ }
757
+ thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
758
+ const exonnumberset = /* @__PURE__ */ new Set();
759
+ for (const evt of eventlst) {
760
+ const thisexonnumbers = [];
761
+ for (const eid of evt.skippedexon) {
762
+ thisexonnumbers.push(eid + 1);
763
+ }
764
+ exonnumberset.add(thisexonnumbers.join(","));
765
+ }
766
+ if (exonnumberset.size == 1) {
767
+ thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
768
+ } else {
769
+ thisset.toplabelsays = "exon ";
770
+ }
771
+ thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
772
+ if (multisample) {
773
+ let samplecount = 0;
774
+ for (const evt of eventlst) {
775
+ samplecount = Math.max(samplecount, evt.junctionB.data.length);
776
+ }
777
+ thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
778
+ }
779
+ thisset.bottomlabelsays = firstevent.percentage + "%";
780
+ }
781
+ return eventsetlst;
782
+ }
783
+ function findjunctionbystartstop(lst, p1, p2) {
784
+ const start = Math.min(p1, p2);
785
+ const stop = Math.max(p1, p2);
786
+ for (const j of lst) {
787
+ if (j.start == start && j.stop == stop) return j;
788
+ }
789
+ return null;
790
+ }
791
+ function findjunctionAlst(junctions, gm, exonbegin, exonend) {
792
+ const lst = [];
793
+ const exonstart = Math.min(exonbegin, exonend);
794
+ const exonstop = Math.max(exonbegin, exonend);
795
+ if (gm.strand == "+") {
796
+ for (let i = exonstart; i < exonstop; i++) {
797
+ const p1 = gm.exon[i][1] - 1;
798
+ const p2 = gm.exon[i + 1][0];
799
+ lst.push(findjunctionbystartstop(junctions, p1, p2));
800
+ }
801
+ } else {
802
+ for (let i = exonstop; i > exonstart; i--) {
803
+ const p1 = gm.exon[i][1] - 1;
804
+ const p2 = gm.exon[i - 1][0];
805
+ lst.unshift(findjunctionbystartstop(junctions, p1, p2));
806
+ }
807
+ }
808
+ return lst;
809
+ }
810
+ function findupdown1junction4exonskip(evt, gm, junctions) {
811
+ let exonidx = evt.skippedexon[0];
812
+ if (exonidx > 1) {
813
+ let p1, p2;
814
+ if (gm.strand == "+") {
815
+ p1 = gm.exon[exonidx - 2][1] - 1;
816
+ p2 = gm.exon[exonidx - 1][0];
817
+ } else {
818
+ p1 = gm.exon[exonidx - 1][1] - 1;
819
+ p2 = gm.exon[exonidx - 2][0];
820
+ }
821
+ evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
822
+ }
823
+ exonidx = evt.skippedexon[evt.skippedexon.length - 1];
824
+ if (exonidx < gm.exon.length - 2) {
825
+ let p1, p2;
826
+ if (gm.strand == "+") {
827
+ p1 = gm.exon[exonidx + 1][1] - 1;
828
+ p2 = gm.exon[exonidx + 2][0];
829
+ } else {
830
+ p1 = gm.exon[exonidx + 2][1] - 1;
831
+ p2 = gm.exon[exonidx + 1][0];
832
+ }
833
+ evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
834
+ }
835
+ }
836
+ function checkexoncodingutr(exonidlst, gm) {
837
+ if (!gm.coding) {
838
+ return [false, false, false];
839
+ }
840
+ let exonstart = gm.exon[exonidlst[0]][0];
841
+ let exonstop = gm.exon[exonidlst[0]][1];
842
+ for (const idx of exonidlst) {
843
+ exonstart = Math.min(gm.exon[idx][0], exonstart);
844
+ exonstop = Math.max(gm.exon[idx][1], exonstop);
845
+ }
846
+ const forward = gm.strand == "+";
847
+ let utr3 = false, utr5 = false, coding = false;
848
+ if (exonstop <= gm.codingstart) {
849
+ if (forward) {
850
+ utr5 = true;
851
+ } else {
852
+ utr3 = true;
853
+ }
854
+ } else if (exonstart >= gm.codingstop) {
855
+ if (forward) {
856
+ utr3 = true;
857
+ } else {
858
+ utr5 = true;
859
+ }
860
+ } else {
861
+ coding = true;
862
+ }
863
+ return [utr3, utr5, coding];
864
+ }
865
+
866
+ // src/block.tk.junction.spliceevent.js
867
+ function spliceeventanalyze(tk, block) {
868
+ if (tk.eventsg) {
869
+ tk.eventsg.selectAll("*").remove();
870
+ }
871
+ if (tk.type != tkt.junction) {
872
+ return;
873
+ }
874
+ if (!tk.data) {
875
+ return;
876
+ }
877
+ if (tk.data.length == 0) {
878
+ return;
879
+ }
880
+ const [gmdataerr, gmdata] = getgmdata(block);
881
+ if (gmdataerr) {
882
+ const fontsize = 12;
883
+ const pad = 2;
884
+ tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
885
+ tk.eventsg.append("text").text(gmdataerr).attr("font-family", font).attr("font-size", fontsize).attr("fill", "#858585").attr("text-anchor", "middle").attr("x", block.width / 2).attr("y", pad + fontsize / 2).attr("dominant-baseline", "central");
886
+ tk.height_main += pad * 2 + fontsize;
887
+ block.block_setheight();
888
+ return;
889
+ }
890
+ if (!gmdata) {
891
+ return;
892
+ }
893
+ for (const junction of tk.data) {
894
+ delete junction.spliceevents;
895
+ }
896
+ mapjunctiontoexons(tk.data, gmdata);
897
+ const allevents = [];
898
+ const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
899
+ if (exonskipalt.length > 0) {
900
+ for (const exonset of exonskipalt) {
901
+ if (exonlstoutofrange(exonset.exonlst, block)) {
902
+ continue;
903
+ }
904
+ allevents.push(exonset);
905
+ for (const thisevt of exonset.eventlst) {
906
+ if (!thisevt.junctionB.spliceevents) {
907
+ thisevt.junctionB.spliceevents = [];
908
+ }
909
+ thisevt.junctionB.spliceevents.push(thisevt);
910
+ }
911
+ }
912
+ }
913
+ if (allevents.length) {
914
+ rendereventsintrack(allevents, tk, block);
915
+ }
916
+ }
917
+ function rendereventsintrack(allevents, tk, block) {
918
+ const labelfontsize = 10;
919
+ const stackspace = 1;
920
+ const boxlabelspacing = 2;
921
+ let stackheight;
922
+ if (tk.totalsamplecount > 1) {
923
+ stackheight = labelfontsize * 3 + stackspace * 2;
924
+ } else {
925
+ stackheight = labelfontsize * 2 + stackspace;
926
+ }
927
+ for (const eventset of allevents) {
928
+ eventset.g = tk.eventsg.append("g");
929
+ const junctionB = eventset.eventlst[0].junctionB;
930
+ const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
931
+ eventset.toplabel = eventset.g.append("text").text(eventset.toplabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize / 2).attr("dominant-baseline", "central");
932
+ if (tk.totalsamplecount > 1) {
933
+ eventset.middlelabel = eventset.g.append("text").text(eventset.middlelabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize * 1.5).attr("dominant-baseline", "central");
934
+ }
935
+ let willshowframe = false;
936
+ let thiseventframe = null;
937
+ for (const evt of eventset.eventlst) {
938
+ if (evt.isaltexon) {
939
+ evt.framenocheck = true;
940
+ continue;
941
+ }
942
+ if (evt.isskipexon) {
943
+ if (!evt.gm.coding) {
944
+ evt.framenocheck = true;
945
+ continue;
946
+ }
947
+ if (evt.utr3 || evt.utr5) {
948
+ evt.framenocheck = true;
949
+ continue;
950
+ }
951
+ }
952
+ willshowframe = true;
953
+ if (block.genome.junctionframecache.has(jbstr)) {
954
+ let isoform;
955
+ if (evt.isskipexon) {
956
+ isoform = evt.gm.isoform;
957
+ }
958
+ const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
959
+ if (thisframe == void 0) {
960
+ } else {
961
+ evt.frame = thisframe;
962
+ if (thiseventframe == null) {
963
+ thiseventframe = thisframe;
964
+ } else {
965
+ if (thisframe == IN_frame) {
966
+ thiseventframe = IN_frame;
967
+ }
968
+ }
969
+ }
970
+ } else {
971
+ }
972
+ }
973
+ eventset.bottomlabel = eventset.g.append("text").text(
974
+ eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
975
+ ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
976
+ if (willshowframe && thiseventframe == null) {
977
+ for (const evt of eventset.eventlst) {
978
+ let gm;
979
+ if (evt.isaltexon) {
980
+ gm = evt.gmB;
981
+ } else if (evt.isskipexon) {
982
+ gm = evt.gm;
983
+ }
984
+ if (!block.genome.junctionframecache.has(jbstr)) {
985
+ checkjunctionframe({
986
+ jbstr,
987
+ evt,
988
+ gm,
989
+ block,
990
+ eventset
991
+ });
992
+ continue;
993
+ }
994
+ if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
995
+ checkjunctionframe({
996
+ jbstr,
997
+ evt,
998
+ gm,
999
+ block,
1000
+ eventset
1001
+ });
1002
+ }
1003
+ }
1004
+ }
1005
+ const exonobjlst = [];
1006
+ let boxstart = null, boxstop;
1007
+ for (const exon of eventset.exonlst) {
1008
+ const pointa = block.seekcoord(exon.chr, exon.start)[0];
1009
+ if (!pointa) {
1010
+ console.log("skipped exon start position not mapped: " + exon.start);
1011
+ return;
1012
+ }
1013
+ const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1014
+ if (!pointb) {
1015
+ console.log("skipped exon stop position not mapped: " + exon.stop);
1016
+ return;
1017
+ }
1018
+ const exonobj = {
1019
+ x: Math.min(pointa.x, pointb.x),
1020
+ w: Math.max(1, Math.abs(pointa.x - pointb.x))
1021
+ };
1022
+ exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1023
+ console.log(eventset);
1024
+ });
1025
+ if (boxstart == null) {
1026
+ boxstart = exonobj.x;
1027
+ boxstop = exonobj.x + exonobj.w;
1028
+ } else {
1029
+ boxstart = Math.min(boxstart, exonobj.x);
1030
+ boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1031
+ }
1032
+ exonobjlst.push(exonobj);
1033
+ }
1034
+ for (const exon of exonobjlst) {
1035
+ exon.rect.attr("x", exon.x - boxstart);
1036
+ }
1037
+ eventset.boxstart = boxstart;
1038
+ eventset.boxwidth = boxstop - boxstart;
1039
+ if (eventset.exonlst.length > 1) {
1040
+ eventset.g.append("line").attr("stroke", eventset.color).attr("stroke-opacity", 0.2).attr("stroke-width", 2).attr("shape-rendering", "crispEdges").attr("x1", 0).attr("x2", eventset.boxwidth).attr("y1", stackheight / 2 - 0.5).attr("y2", stackheight / 2 - 0.5);
1041
+ }
1042
+ eventset.toplabel.each(function() {
1043
+ eventset.labelwidth = this.getBBox().width;
1044
+ });
1045
+ if (eventset.middlelabel) {
1046
+ eventset.middlelabel.each(function() {
1047
+ eventset.labelwidth = this.getBBox().width;
1048
+ });
1049
+ }
1050
+ eventset.bottomlabel.each(function() {
1051
+ eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1052
+ });
1053
+ if (eventset.labelwidth > eventset.boxstart) {
1054
+ eventset.labelonright = true;
1055
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1056
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1057
+ if (eventset.middlelabel) {
1058
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1059
+ }
1060
+ } else {
1061
+ eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1062
+ eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1063
+ if (eventset.middlelabel) {
1064
+ eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1065
+ }
1066
+ }
1067
+ eventset.cover = eventset.g.append("rect").attr("x", eventset.labelonright ? 0 : -eventset.labelwidth - boxlabelspacing).attr("width", eventset.labelwidth + boxlabelspacing + eventset.boxwidth).attr("height", stackheight).attr("fill", "#858585").attr("fill-opacity", 0).on("mouseover", () => {
1068
+ eventset.cover.attr("fill-opacity", 0.1);
1069
+ }).on("mouseout", () => {
1070
+ eventset.cover.attr("fill-opacity", 0);
1071
+ }).on("click", () => {
1072
+ tk.tktip.clear();
1073
+ displayspliceevents(eventset.eventlst, tk.tktip.d);
1074
+ tk.tktip.showunder(eventset.cover.node());
1075
+ });
1076
+ }
1077
+ const stacks = [0];
1078
+ for (const eventset of allevents) {
1079
+ let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1080
+ let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1081
+ for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1082
+ if (x1 > stacks[stackidx]) {
1083
+ eventset.stackidx = stackidx;
1084
+ stacks[stackidx] = x2;
1085
+ break;
1086
+ }
1087
+ if (!eventset.labelonright) {
1088
+ const newx1 = eventset.boxstart;
1089
+ const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1090
+ if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1091
+ eventset.labelonright = true;
1092
+ eventset.stackidx = stackidx;
1093
+ stacks[stackidx] = newx2;
1094
+ eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1095
+ eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1096
+ if (eventset.middlelabel) {
1097
+ eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1098
+ }
1099
+ eventset.cover.attr("x", 0);
1100
+ break;
1101
+ }
1102
+ }
1103
+ }
1104
+ if (eventset.stackidx == void 0) {
1105
+ eventset.stackidx = stacks.length;
1106
+ stacks.push(x2);
1107
+ }
1108
+ eventset.g.attr(
1109
+ "transform",
1110
+ "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1111
+ );
1112
+ }
1113
+ tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1114
+ block.block_setheight();
1115
+ }
1116
+ function checkjunctionframe(arg) {
1117
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1118
+ arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1119
+ }
1120
+ if (!arg.gm.coding) {
1121
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1122
+ mayupdateeventsetlabel(arg);
1123
+ return;
1124
+ }
1125
+ const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1126
+ dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1127
+ if (!data) {
1128
+ console.log("server error");
1129
+ return;
1130
+ }
1131
+ if (data.error) {
1132
+ console.log(data.error);
1133
+ return;
1134
+ }
1135
+ if (typeof data.frame != "boolean") {
1136
+ console.log("invalid result from translategm: " + data.frame);
1137
+ return;
1138
+ }
1139
+ arg.evt.frame = data.frame;
1140
+ arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1141
+ mayupdateeventsetlabel(arg);
1142
+ });
1143
+ }
1144
+ function mayupdateeventsetlabel(arg) {
1145
+ if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1146
+ return;
1147
+ }
1148
+ let frame = OUT_frame;
1149
+ for (const evt of arg.eventset.eventlst) {
1150
+ if (evt.framenocheck) {
1151
+ continue;
1152
+ }
1153
+ let isoform;
1154
+ if (evt.isskipexon) {
1155
+ isoform = evt.gm.isoform;
1156
+ }
1157
+ const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1158
+ if (thisframe == void 0) {
1159
+ return;
1160
+ }
1161
+ if (thisframe == IN_frame) {
1162
+ frame = IN_frame;
1163
+ }
1164
+ }
1165
+ arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1166
+ }
1167
+ function displayspliceevents(events, holder) {
1168
+ const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1169
+ if (events.length > 1) {
1170
+ holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1171
+ const name = Math.random().toString();
1172
+ for (const [idx, evt] of events.entries()) {
1173
+ const id = name + idx;
1174
+ const row = holder.append("div").style("margin-top", "3px");
1175
+ row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1176
+ displayspliceevents_show(events, idx, showdiv);
1177
+ });
1178
+ row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1179
+ }
1180
+ }
1181
+ const showdiv = holder.append("div");
1182
+ displayspliceevents_show(events, evt2showidx, showdiv);
1183
+ }
1184
+ function displayspliceevents_show(events, idx, div) {
1185
+ div.selectAll("*").remove();
1186
+ import("./spliceevent.exonskip.diagram-BGSEPGR5.js").then((p) => {
1187
+ p.default({
1188
+ event: events[idx],
1189
+ holder: div,
1190
+ nophrase: events.length > 1
1191
+ });
1192
+ });
1193
+ }
1194
+ function exonlstoutofrange(lst, block) {
1195
+ const chr = lst[0].chr;
1196
+ let start = lst[0].start;
1197
+ let stop = lst[0].stop;
1198
+ for (const e of lst) {
1199
+ start = Math.min(start, e.start);
1200
+ stop = Math.max(stop, e.stop);
1201
+ }
1202
+ const starthit = block.seekcoord(chr, start)[0];
1203
+ const stophit = block.seekcoord(chr, stop)[0];
1204
+ if (!starthit || !stophit) {
1205
+ return true;
1206
+ }
1207
+ let startoutleft = false;
1208
+ let startoutright = false;
1209
+ if (starthit.x <= 0) {
1210
+ startoutleft = true;
1211
+ } else if (starthit.x >= block.width) {
1212
+ startoutright = true;
1213
+ }
1214
+ let stopoutleft = false;
1215
+ let stopoutright = false;
1216
+ if (stophit.x <= 0) {
1217
+ stopoutleft = true;
1218
+ } else if (stophit.x >= block.width) {
1219
+ stopoutright = true;
1220
+ }
1221
+ if (startoutleft && stopoutleft) return true;
1222
+ if (startoutright && stopoutright) return true;
1223
+ return false;
1224
+ }
1225
+ function getgmdata(block) {
1226
+ if (!block.gmmode || block.gmmode == gmmode.genomic) {
1227
+ const genetk = [];
1228
+ for (const t of block.tklst) {
1229
+ if (t.__isgene) {
1230
+ genetk.push(t);
1231
+ }
1232
+ }
1233
+ if (genetk.length == 0) {
1234
+ return ["Add a gene track to analyze splice junctions."];
1235
+ }
1236
+ const gmdatalst = [];
1237
+ for (const t of genetk) {
1238
+ if (t.gmdata) {
1239
+ for (const m of t.gmdata) {
1240
+ gmdatalst.push(m);
1241
+ }
1242
+ }
1243
+ }
1244
+ if (gmdatalst.length == 0) {
1245
+ return [null];
1246
+ }
1247
+ const regions = [];
1248
+ for (const m of gmdatalst) {
1249
+ let overlap = false;
1250
+ for (const r of regions) {
1251
+ if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1252
+ overlap = true;
1253
+ r.start = Math.min(r.start, m.start);
1254
+ r.stop = Math.max(r.stop, m.stop);
1255
+ break;
1256
+ }
1257
+ }
1258
+ if (!overlap) {
1259
+ regions.push({ start: m.start, stop: m.stop });
1260
+ }
1261
+ }
1262
+ if (regions.length >= 3) {
1263
+ return ["Zoom in on a single gene to analyze splice junctions."];
1264
+ }
1265
+ return [null, gmdatalst];
1266
+ }
1267
+ if (block.gmmode == gmmode.gmsum) {
1268
+ if (!block.allgm) {
1269
+ return ["Error: block.allgm[] is missing"];
1270
+ }
1271
+ return [null, block.allgm];
1272
+ }
1273
+ if (!block.usegm) {
1274
+ return ["Error: block.usegm is missing"];
1275
+ }
1276
+ return [null, [block.usegm]];
1277
+ }
1278
+
1279
+ // src/block.tk.junction.renderjunctions.js
1280
+ var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1281
+ var colorfunc = ordinal(category10_default);
1282
+ var minfontsize = 12;
1283
+ function rendertk(junctions, tk, block) {
1284
+ if (tk.data) {
1285
+ const map = /* @__PURE__ */ new Map();
1286
+ for (const j of tk.data) {
1287
+ map.set(j.chr + "." + j.start + "." + j.stop, j);
1288
+ }
1289
+ const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1290
+ for (const i of junctions) {
1291
+ const j = map.get(i.chr + "." + i.start + "." + i.stop);
1292
+ if (j) {
1293
+ i.x = j.x + pannedpx;
1294
+ i.mode = j.mode;
1295
+ i.modefix = j.modefix;
1296
+ if (i.mode == modesample) {
1297
+ i.mode = moderaise;
1298
+ }
1299
+ }
1300
+ }
1301
+ }
1302
+ tk.data = junctions;
1303
+ tk.glider.selectAll("*").remove();
1304
+ tk.leftaxis.selectAll("*").remove();
1305
+ if (tk.readcountcutoff) {
1306
+ const newj = [];
1307
+ for (const j of tk.data) {
1308
+ if (j.data) {
1309
+ const newsamples = [];
1310
+ for (const s of j.data) {
1311
+ if (s.v >= tk.readcountcutoff) {
1312
+ newsamples.push(s);
1313
+ }
1314
+ }
1315
+ if (newsamples.length == 0) {
1316
+ continue;
1317
+ }
1318
+ j.data = newsamples;
1319
+ newj.push(j);
1320
+ } else {
1321
+ if (j.v >= tk.readcountcutoff) {
1322
+ newj.push(j);
1323
+ }
1324
+ }
1325
+ }
1326
+ tk.data = newj;
1327
+ }
1328
+ if (tk.data.length == 0) {
1329
+ tk.height_main = 50;
1330
+ block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1331
+ tk.label_mcount.text("");
1332
+ if (tk.label_samplecount) {
1333
+ tk.label_samplecount.text("");
1334
+ }
1335
+ get_leftLabelMaxwidth(tk);
1336
+ block.setllabel();
1337
+ block.block_setheight();
1338
+ return;
1339
+ }
1340
+ tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1341
+ get_leftLabelMaxwidth(tk);
1342
+ block.setllabel();
1343
+ junctiontype2color(tk, block);
1344
+ const mg = tk.glider.append("g");
1345
+ tk.data.sort((a, b) => {
1346
+ return a._x - b._x;
1347
+ });
1348
+ let maxsamplecount = 0;
1349
+ if (tk.totalsamplecount > 1) {
1350
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1351
+ const radius = 5;
1352
+ let mrd = 0;
1353
+ const w = Math.pow(radius, 2) * Math.PI;
1354
+ if (maxsamplecount <= 10) {
1355
+ mrd = w * maxsamplecount * 0.9;
1356
+ } else if (maxsamplecount <= 100) {
1357
+ mrd = w * 10;
1358
+ } else if (maxsamplecount <= 1e3) {
1359
+ mrd = w * 14;
1360
+ } else {
1361
+ mrd = w * 20;
1362
+ }
1363
+ const sf_discradius = linear().domain([
1364
+ 1,
1365
+ maxsamplecount * 0.5 + 0.1,
1366
+ maxsamplecount * 0.6 + 0.1,
1367
+ maxsamplecount * 0.7 + 0.1,
1368
+ maxsamplecount * 0.8 + 0.1,
1369
+ maxsamplecount
1370
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1371
+ let maxradius = 0;
1372
+ for (const j of tk.data) {
1373
+ j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1374
+ if (j.data.length > 1) {
1375
+ mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1376
+ const b = this.getBBox();
1377
+ const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1378
+ j.radius = Math.max(j.radius, newrad);
1379
+ }).remove();
1380
+ }
1381
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1382
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1383
+ maxradius = Math.max(maxradius, j.radius2);
1384
+ }
1385
+ tk.maxradius = maxradius;
1386
+ } else {
1387
+ maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1388
+ const radius = 5;
1389
+ let mrd = 0;
1390
+ const w = Math.pow(radius, 2) * Math.PI;
1391
+ if (maxsamplecount <= 10) {
1392
+ mrd = w * maxsamplecount * 0.9;
1393
+ } else if (maxsamplecount <= 100) {
1394
+ mrd = w * 5;
1395
+ } else if (maxsamplecount <= 1e3) {
1396
+ mrd = w * 7;
1397
+ } else {
1398
+ mrd = w * 10;
1399
+ }
1400
+ const sf_discradius = linear().domain([
1401
+ 1,
1402
+ maxsamplecount * 0.5 + 0.1,
1403
+ maxsamplecount * 0.6 + 0.1,
1404
+ maxsamplecount * 0.7 + 0.1,
1405
+ maxsamplecount * 0.8 + 0.1,
1406
+ maxsamplecount
1407
+ ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1408
+ let maxradius = 0;
1409
+ for (const j of tk.data) {
1410
+ j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1411
+ j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1412
+ j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1413
+ maxradius = Math.max(maxradius, j.radius2);
1414
+ }
1415
+ tk.maxradius = maxradius;
1416
+ }
1417
+ let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1418
+ for (const j of tk.data) {
1419
+ for (const s of j.data) {
1420
+ maxread = Math.max(s.v, maxread);
1421
+ }
1422
+ if (j.data.length == 1) {
1423
+ j.median = j.data[0].v;
1424
+ } else {
1425
+ const readlst = j.data.map((s) => s.v);
1426
+ readlst.sort((a, b) => a - b);
1427
+ j.median = readlst[Math.floor(j.data.length / 2)];
1428
+ }
1429
+ if (j.median > maxmedian) {
1430
+ maxmedian = j.median;
1431
+ maxmedianradius = j.radius;
1432
+ }
1433
+ }
1434
+ tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1435
+ axisstyle({
1436
+ axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1437
+ color: "black",
1438
+ showline: true
1439
+ });
1440
+ tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1441
+ tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1442
+ automode(tk, null, block.width);
1443
+ mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1444
+ {
1445
+ const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1446
+ mg.append("line").attr("x1", 0).attr("y1", topy).attr("y2", topy).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
1447
+ mg.append("line").attr("x1", 0).attr("y1", topy + tk.axisheight).attr("y2", topy + tk.axisheight).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
1448
+ let v = 10;
1449
+ while (v <= maxread) {
1450
+ mg.append("line").attr("x1", 0).attr("y1", topy + tk.yscale(v)).attr("y2", topy + tk.yscale(v)).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("stroke-dasharray", "4,4").attr("shape-rendering", "crispEdges");
1451
+ v *= 10;
1452
+ }
1453
+ }
1454
+ const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1455
+ j.jugg = this;
1456
+ });
1457
+ tk.jug = jug;
1458
+ if (tk.hljunctions) {
1459
+ jug.attr("class", (d) => {
1460
+ for (const j of tk.hljunctions) {
1461
+ if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1462
+ return "sja_pulse";
1463
+ }
1464
+ }
1465
+ return null;
1466
+ });
1467
+ }
1468
+ jug.append("line").attr("stroke", (d) => d.color).attr("x1", (d) => set_leg_x1(d)).attr("y2", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
1469
+ d.leg1 = this;
1470
+ }).classed("sja_jug_leg1", true);
1471
+ jug.append("line").attr("stroke", (d) => d.color).attr("x2", (d) => set_leg_x2(d)).attr("y1", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).classed("sja_jug_leg2", true).each(function(d) {
1472
+ d.leg2 = this;
1473
+ });
1474
+ const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1475
+ jug2.append("line").attr("stroke", (d) => d.color).classed("sja_jug_stem", true).attr("stroke-dasharray", "2,2").attr("shape-rendering", "crispEdges").attr("y1", (d) => set_stem_y1(d)).attr("y2", (d) => set_stem_y2(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
1476
+ d.stem = this;
1477
+ });
1478
+ jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1479
+ jug2.filter((d) => d.data.length > 1).append("text").text((d) => d.data.length).attr("font-size", (d) => Math.max(minfontsize, d.radius)).attr("fill-opacity", (d) => set_discnum(d)).classed("sja_jug_discnum", true).attr("fill", "white").attr("font-family", font).attr("text-anchor", "middle").attr("dominant-baseline", "central");
1480
+ jug2.append("circle").attr("r", (d) => d.radius).attr("stroke", (d) => d.color).classed("sja_aa_disckick", true).attr("fill", "white").attr("fill-opacity", 0).attr("stroke-opacity", 0).on("mouseover", (event, d) => {
1481
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1482
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1483
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1484
+ select_default(d.leg1).attr("stroke-opacity", 1);
1485
+ select_default(d.leg2).attr("stroke-opacity", 1);
1486
+ select_default(d.stem).attr("stroke-opacity", 1);
1487
+ if (d.mode == modefold) {
1488
+ foldedjunctioninfo(d, tk);
1489
+ return;
1490
+ }
1491
+ const circle = event.target.getBoundingClientRect();
1492
+ expandedjunctioninfo(d, tk, circle);
1493
+ }).on("mouseout", () => {
1494
+ tk.pica.g.selectAll("*").remove();
1495
+ tk.tktip.hide();
1496
+ jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1497
+ jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1498
+ jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1499
+ }).on("mousedown", (event) => {
1500
+ event.stopPropagation();
1501
+ }).on("click", (event, d) => {
1502
+ if (d.mode == modefold) {
1503
+ d.mode = moderaise;
1504
+ } else if (d.mode == moderaise) {
1505
+ if (d.data.length == 1) {
1506
+ d.mode = modefold;
1507
+ } else {
1508
+ d.mode = modesample;
1509
+ junctionsamplespread(d, tk, block);
1510
+ }
1511
+ } else {
1512
+ d.mode = modefold;
1513
+ }
1514
+ d.modefix = true;
1515
+ horiplace(tk.data, block.width, tk);
1516
+ });
1517
+ horiplace(tk.data, block.width, tk);
1518
+ function set_lineopacity(d) {
1519
+ return 0.5;
1520
+ }
1521
+ block.onloadalltk.push(() => {
1522
+ spliceeventanalyze(tk, block);
1523
+ });
1524
+ block.tkcloakoff(tk, {});
1525
+ block.block_setheight();
1526
+ }
1527
+ function horiplace(lst, width, tk) {
1528
+ const todo = [];
1529
+ for (const i of lst) {
1530
+ if (i.x0 < 0) {
1531
+ i.tox = i.x1 - i.radius2 * 2;
1532
+ } else if (i.x1 > width) {
1533
+ i.tox = i.x0 + i.radius2 * 2;
1534
+ } else {
1535
+ i.tox = i._x;
1536
+ }
1537
+ if (i.mode == modefold) {
1538
+ i.x = i.tox;
1539
+ } else {
1540
+ todo.push(i);
1541
+ }
1542
+ }
1543
+ for (const i of lst) {
1544
+ i.x = i.tox;
1545
+ }
1546
+ set_all(tk);
1547
+ return;
1548
+ }
1549
+ function automode(tk, usemode, blockwidth) {
1550
+ for (const i of tk.data) {
1551
+ if (!i.mode) i.mode = moderaise;
1552
+ }
1553
+ return;
1554
+ const samplecountlst = [];
1555
+ for (let i = 0; i < tk.data.length; i++) {
1556
+ samplecountlst.push({
1557
+ idx: i,
1558
+ count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1559
+ });
1560
+ }
1561
+ samplecountlst.sort((a, b) => b.count - a.count);
1562
+ let cumx = 0;
1563
+ for (const cc of samplecountlst) {
1564
+ const d = tk.data[cc.idx];
1565
+ if (!d.mode) {
1566
+ cumx += d.radius2 * 2;
1567
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1568
+ } else {
1569
+ if (d.modefix) {
1570
+ if (d.mode != modefold) {
1571
+ cumx += d.radius2 * 2;
1572
+ }
1573
+ } else {
1574
+ if (usemode) {
1575
+ d.mode = usemode;
1576
+ if (d.mode != modefold) {
1577
+ cumx += d.radius2 * 2;
1578
+ }
1579
+ } else {
1580
+ cumx += d.radius2 * 2;
1581
+ d.mode = cumx >= blockwidth ? modefold : moderaise;
1582
+ }
1583
+ }
1584
+ }
1585
+ }
1586
+ }
1587
+ function set_jug(d) {
1588
+ return "translate(" + d.x + ",0)";
1589
+ }
1590
+ function set_leg_x1(d) {
1591
+ return d.x0 - d.x;
1592
+ }
1593
+ function set_leg_x2(d) {
1594
+ return d.x1 - d.x;
1595
+ }
1596
+ function set_discnum(d) {
1597
+ return d.mode == modefold ? 0 : 1;
1598
+ }
1599
+ function set_stem_y1(d) {
1600
+ if (d.mode == modefold) return d.radius;
1601
+ return d.radius2;
1602
+ }
1603
+ function set_qmg(d, tk) {
1604
+ if (d.mode == modesample)
1605
+ return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1606
+ return "translate(0,0) scale(0)";
1607
+ }
1608
+ function set_leg_y(d, tk) {
1609
+ if (d.mode == modefold) return -tk.legheight;
1610
+ return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1611
+ }
1612
+ function set_jug2(d, tk) {
1613
+ if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1614
+ if (d.mode == moderaise)
1615
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1616
+ return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1617
+ }
1618
+ function set_stem_y2(d, tk) {
1619
+ if (d.mode == modefold) return d.radius + tk.lowpad;
1620
+ if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1621
+ return tk.maxradius + tk.padheight;
1622
+ }
1623
+ function set_all(tk) {
1624
+ const dur = 500;
1625
+ if (tk.totalsamplecount > 1) {
1626
+ tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1627
+ tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1628
+ }
1629
+ tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1630
+ tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1631
+ tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1632
+ tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1633
+ tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1634
+ }
1635
+ function junctiontype2color(tk, block) {
1636
+ for (const j of tk.data) {
1637
+ j.color = defaultcolor;
1638
+ }
1639
+ if (tk.nocatepreconfig) {
1640
+ let categories = {};
1641
+ if (tk.categories) {
1642
+ categories = tk.categories;
1643
+ }
1644
+ let hasnewtype = false;
1645
+ for (const j of tk.data) {
1646
+ if (j.type) {
1647
+ if (!categories[j.type]) {
1648
+ hasnewtype = true;
1649
+ categories[j.type] = {
1650
+ label: j.type
1651
+ };
1652
+ if (j.type.toLowerCase() == "known") {
1653
+ categories[j.type].color = "#0C72A8";
1654
+ } else if (j.type.toLowerCase() == "novel") {
1655
+ categories[j.type].color = "#A80C33";
1656
+ } else {
1657
+ categories[j.type].color = colorfunc(j.type);
1658
+ }
1659
+ }
1660
+ }
1661
+ }
1662
+ if (hasnewtype) {
1663
+ tk.categories = categories;
1664
+ if (!tk.tr_legend) {
1665
+ const [tr, td] = legend_newrow(block, tk.name);
1666
+ tk.tr_legend = tr;
1667
+ tk.td_legend = td;
1668
+ tr.style("display", "none");
1669
+ appear(tr, "table-row");
1670
+ }
1671
+ category2legend(tk.categories, tk.td_legend);
1672
+ }
1673
+ }
1674
+ if (tk.categories) {
1675
+ for (const j of tk.data) {
1676
+ if (j.type && tk.categories[j.type]) {
1677
+ j.color = tk.categories[j.type].color;
1678
+ }
1679
+ }
1680
+ }
1681
+ }
1682
+ function foldedjunctioninfo(d, tk) {
1683
+ const fontsize = 15;
1684
+ let pad = 5, y = pad, width = 0;
1685
+ const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1686
+ if (d.type) {
1687
+ tk.pica.g.append("text").text(d.type).attr("fill", d.color).attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1688
+ width = this.getBBox().width;
1689
+ });
1690
+ y += fontsize;
1691
+ }
1692
+ if (d.data) {
1693
+ tk.pica.g.append("text").text(d.data.length + " sample" + (d.data.length > 1 ? "s" : "")).attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1694
+ width = Math.max(width, this.getBBox().width);
1695
+ });
1696
+ y += fontsize;
1697
+ tk.pica.g.append("text").text(d.median + " median").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1698
+ width = Math.max(width, this.getBBox().width);
1699
+ });
1700
+ y += fontsize;
1701
+ } else {
1702
+ tk.pica.g.append("text").text(d.v + " reads").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
1703
+ width = Math.max(width, this.getBBox().width);
1704
+ });
1705
+ y += fontsize;
1706
+ }
1707
+ y += pad;
1708
+ bg.attr("width", pad * 2 + width).attr("height", y);
1709
+ tk.pica.g.append("line").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("x1", 30).attr("x2", 30).attr("y1", y).attr("y2", y + 15);
1710
+ y += 15;
1711
+ tk.pica.g.attr(
1712
+ "transform",
1713
+ "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1714
+ );
1715
+ }
1716
+ function expandedjunctioninfo(d, tk, circle) {
1717
+ tk.tktip.clear();
1718
+ const holder = tk.tktip.d;
1719
+ if (d.type) {
1720
+ holder.append("div").style("display", "inline-block").text(d.type).classed("sja_mcdot", true).style("background-color", d.color).style("padding", "1px 8px").style("margin-bottom", "3px");
1721
+ }
1722
+ holder.append("div").html(
1723
+ bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1724
+ );
1725
+ if (d.data) {
1726
+ if (d.data.length > 1) {
1727
+ holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1728
+ if (d.rimcount) {
1729
+ holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1730
+ }
1731
+ holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1732
+ } else if (d.data.length == 1) {
1733
+ samplejunctiontooltip(d, d.data[0], tk, holder);
1734
+ }
1735
+ } else {
1736
+ holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1737
+ }
1738
+ if (d.spliceevents && d.spliceevents.length > 0) {
1739
+ const renderdiv = holder.append("div").style("margin", "10px 0px");
1740
+ displayspliceevents(d.spliceevents, renderdiv);
1741
+ }
1742
+ tk.tktip.show(circle.left + circle.width, circle.top - 50);
1743
+ }
1744
+ function junctionsamplespread(j, tk, block) {
1745
+ if (j.qmg) {
1746
+ j.qmg.remove();
1747
+ }
1748
+ if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1749
+ for (const d of j.data) {
1750
+ if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1751
+ d.color = "gray";
1752
+ continue;
1753
+ }
1754
+ const levelkeys = [];
1755
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1756
+ const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1757
+ if (levelvalue) {
1758
+ levelkeys.push(levelvalue);
1759
+ }
1760
+ }
1761
+ const str = levelkeys.join(tk.cohortsetting.levelseparator);
1762
+ d.color = tk.cohortsetting.colorfunc(str);
1763
+ }
1764
+ }
1765
+ j.swarm = (0, import_d3_beeswarm.beeswarm)().data(j.data).distributeOn((d) => tk.axisheight - tk.yscale(d.v)).radius(tk.qmradius).orientation("vertical").side("symetric").arrange();
1766
+ const jugg = select_default(j.jugg);
1767
+ j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1768
+ const opacity = 0.8;
1769
+ j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1770
+ return bee.datum.color || "green";
1771
+ }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1772
+ select_default(event.target).attr("fill-opacity", 1);
1773
+ const p = event.target.getBoundingClientRect();
1774
+ tk.tktip.clear();
1775
+ tk.tktip.show(p.left + 20, p.top - 40);
1776
+ samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1777
+ }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1778
+ if (tk.tracks) {
1779
+ return;
1780
+ }
1781
+ }).transition().attr("cx", (bee) => bee.x);
1782
+ }
1783
+ function samplejunctiontooltip(j, sample, tk, holder) {
1784
+ if (sample.sample) {
1785
+ holder.append("div").html(sample.sample);
1786
+ } else if (sample.name) {
1787
+ holder.append("div").html(sample.name);
1788
+ } else if (sample.patient || sample.sampletype) {
1789
+ if (sample.patient) {
1790
+ holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1791
+ }
1792
+ if (sample.sampletype) {
1793
+ holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1794
+ }
1795
+ } else if (sample.tkid) {
1796
+ for (const t of tk.tracks) {
1797
+ if (t.tkid == sample.tkid) {
1798
+ holder.append("div").text(t.name || "unnamed member");
1799
+ break;
1800
+ }
1801
+ }
1802
+ }
1803
+ if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1804
+ for (const lev of tk.cohortsetting.cohort.levels) {
1805
+ if (sample[lev.k]) {
1806
+ holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1807
+ }
1808
+ }
1809
+ }
1810
+ holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1811
+ if (sample.metadata) {
1812
+ holder.append("div").html(
1813
+ '<span style="background-color:' + sample.metadata.color + '" class=sja_mcdot>&nbsp;</span> ' + sample.metadata.value + ' <span style="font-size:.7em;color:#858585">' + tk.metadata.m.label + "</span>"
1814
+ );
1815
+ }
1816
+ if (sample.hasrim) {
1817
+ holder.append("div").text(tk.rimwhat);
1818
+ }
1819
+ if (j.spliceevents) {
1820
+ const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1821
+ const evt = j.spliceevents[evtidx];
1822
+ const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1823
+ let jbcount = 0;
1824
+ if (evt.junctionB && evt.junctionB.data) {
1825
+ for (const d of evt.junctionB.data) {
1826
+ if (d.tkid == sample.tkid) {
1827
+ jbcount = d.v;
1828
+ break;
1829
+ }
1830
+ }
1831
+ }
1832
+ let acountsum = 0;
1833
+ if (evt.junctionAlst) {
1834
+ for (const ja of evt.junctionAlst) {
1835
+ if (ja && ja.data) {
1836
+ for (const d of ja.data) {
1837
+ if (d.tkid == sample.tkid) {
1838
+ acountsum += d.v;
1839
+ break;
1840
+ }
1841
+ }
1842
+ }
1843
+ }
1844
+ }
1845
+ let percent;
1846
+ if (jbcount == 0) {
1847
+ percent = 0;
1848
+ } else {
1849
+ percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1850
+ }
1851
+ holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1852
+ }
1853
+ }
1854
+ function get_leftLabelMaxwidth(tk) {
1855
+ const collectlabw = [];
1856
+ tk.tklabel.each(function() {
1857
+ collectlabw.push(this.getBBox().width);
1858
+ });
1859
+ if (tk.label_mcount) {
1860
+ tk.label_mcount.each(function() {
1861
+ collectlabw.push(this.getBBox().width);
1862
+ });
1863
+ }
1864
+ tk.leftLabelMaxwidth = Math.max(...collectlabw);
1865
+ }
1866
+
1867
+ // src/block.tk.junction.js
1868
+ var binpxw = 5;
1869
+ var modefold = 1;
1870
+ var moderaise = 2;
1871
+ var modesample = 3;
1872
+ var labyspace = 5;
1873
+ function makeTk(tk, block) {
1874
+ tk.leftaxis = tk.gleft.append("g");
1875
+ let laby = labyspace + block.labelfontsize;
1876
+ const thistip = new Menu({ padding: "none" });
1877
+ tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1878
+ label_mcount_fillpane(tk, block, thistip);
1879
+ });
1880
+ laby += labyspace + block.labelfontsize;
1881
+ tk.totalsamplecount = 0;
1882
+ tk.height_main = 100;
1883
+ tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1884
+ if (tk.categories || tk.cohortsetting) {
1885
+ const [tr, td] = legend_newrow(block, tk.name);
1886
+ tk.tr_legend = tr;
1887
+ tk.td_legend = td;
1888
+ }
1889
+ if (tk.categories) {
1890
+ category2legend(tk.categories, tk.td_legend);
1891
+ }
1892
+ if (tk.cohortsetting) {
1893
+ tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1894
+ tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1895
+ }
1896
+ }
1897
+ function junctionload(tk, block) {
1898
+ if (tk.uninitialized) {
1899
+ makeTk(tk, block);
1900
+ delete tk.uninitialized;
1901
+ }
1902
+ if ((block.zoomedin || block.resized) && tk.data) {
1903
+ const junc = [];
1904
+ for (const i of tk.data) {
1905
+ const oldx = i.x;
1906
+ const e = j2block(i, block);
1907
+ if (e) {
1908
+ continue;
1909
+ }
1910
+ if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1911
+ i.x = oldx;
1912
+ junc.push(i);
1913
+ }
1914
+ }
1915
+ rendertk(junc, tk, block);
1916
+ return;
1917
+ }
1918
+ if (tk.fixeddata) {
1919
+ block.tkcloakon(tk);
1920
+ const junc2 = [];
1921
+ for (const j of tk.fixeddata) {
1922
+ const j2 = {
1923
+ chr: j.chr,
1924
+ start: j.start,
1925
+ stop: j.stop,
1926
+ data: j.data,
1927
+ type: j.type
1928
+ };
1929
+ const e = j2block(j2, block);
1930
+ if (e) {
1931
+ continue;
1932
+ }
1933
+ junc2.push(j2);
1934
+ }
1935
+ tk.totalsamplecount = tk.tracks[0].samplecount;
1936
+ tk.axisheight = 200;
1937
+ tk.legheight = 50;
1938
+ tk.bottompad = 0;
1939
+ tk.qmradius = 2;
1940
+ tk.lowpad = 15;
1941
+ tk.padheight = 10;
1942
+ rendertk(junc2, tk, block);
1943
+ return;
1944
+ }
1945
+ if (!tk.tracks) {
1946
+ block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1947
+ tk.height_main = 50;
1948
+ block.block_setheight();
1949
+ return;
1950
+ }
1951
+ block.block_setheight();
1952
+ block.tkcloakon(tk);
1953
+ const bincount = Math.ceil(block.width / binpxw);
1954
+ let bins = null;
1955
+ let donenum = 0;
1956
+ const tasks = [];
1957
+ const allfiledata = [];
1958
+ for (const t of tk.tracks) {
1959
+ const getheader = new Promise((resolve, reject) => {
1960
+ if (t.rnapegfile) {
1961
+ t.samplecount = 1;
1962
+ return resolve();
1963
+ }
1964
+ if (t.samplecount != void 0 && t.checkedheader) return resolve();
1965
+ const par = {};
1966
+ if (t.file) {
1967
+ par.file = t.file;
1968
+ } else {
1969
+ par.url = t.url;
1970
+ if (t.indexURL) par.indexURL = t.indexURL;
1971
+ }
1972
+ dofetch3("tabixheader", { body: par }).then((data) => {
1973
+ if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1974
+ t.checkedheader = true;
1975
+ const str = data.lines.join("");
1976
+ if (!str) {
1977
+ } else {
1978
+ const l = str.trim().split(" ");
1979
+ t.headersamples = [];
1980
+ for (let i = 5; i < l.length; i++) {
1981
+ const str2 = l[i];
1982
+ let j = null;
1983
+ if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1984
+ try {
1985
+ j = JSON.parse(str2);
1986
+ } catch (e) {
1987
+ console.error("header line field [" + i + "] is broken json: " + str2);
1988
+ }
1989
+ }
1990
+ if (j) {
1991
+ j.tkid = Math.random().toString();
1992
+ t.headersamples.push(j);
1993
+ } else {
1994
+ t.headersamples.push({
1995
+ name: l[i],
1996
+ tkid: Math.random().toString()
1997
+ });
1998
+ }
1999
+ }
2000
+ t.samplecount = t.headersamples.length;
2001
+ tk.totalsamplecount += t.samplecount;
2002
+ }
2003
+ resolve();
2004
+ });
2005
+ });
2006
+ const getdata = new Promise((resolve, reject) => {
2007
+ getheader.then(() => {
2008
+ const par = {
2009
+ genome: block.genome.name,
2010
+ rglst: block.tkarg_maygm(t)
2011
+ };
2012
+ if (bincount) par.bincount = bincount;
2013
+ if (t.file || t.rnapegfile) {
2014
+ par.file = t.file || t.rnapegfile;
2015
+ } else {
2016
+ par.url = t.url;
2017
+ if (t.indexURL) par.indexURL = t.indexURL;
2018
+ }
2019
+ if (t.rnapegfile) {
2020
+ par.isrnapeg = 1;
2021
+ }
2022
+ dofetch3("termdb/junction/onesampletk", { body: par }).then((data) => {
2023
+ donenum++;
2024
+ if (tk.tracks.length > 1) {
2025
+ block.tkprogress(tk, donenum / tk.tracks.length);
2026
+ }
2027
+ if (!data) reject("server error for getting member track " + t.name);
2028
+ if (data.error) reject("Cannot get data: " + data.error);
2029
+ if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2030
+ if (data.lst) {
2031
+ if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2032
+ t.samplecount = data.lst[0].rawdata.length;
2033
+ tk.totalsamplecount += t.samplecount;
2034
+ }
2035
+ if (bins) {
2036
+ } else {
2037
+ const thisfilejunctions = [];
2038
+ for (const k of data.lst) {
2039
+ k.data = [];
2040
+ for (let i = 0; i < k.rawdata.length; i++) {
2041
+ const v = k.rawdata[i];
2042
+ if (!Number.isInteger(v) || v <= 0) {
2043
+ continue;
2044
+ }
2045
+ const s = { v };
2046
+ if (t.headersamples) {
2047
+ const s0 = t.headersamples[i];
2048
+ if (s0) {
2049
+ for (const _k in s0) {
2050
+ s[_k] = s0[_k];
2051
+ }
2052
+ }
2053
+ } else {
2054
+ if (t.name) s.name = t.name;
2055
+ if (t.sample) s.sample = t.sample;
2056
+ if (t.patient) s.patient = t.patient;
2057
+ if (t.sampeltype) s.sampletype = t.sampletype;
2058
+ if (t.tkid) s.tkid = t.tkid;
2059
+ if (t.file) s.file = t.file;
2060
+ if (t.url) s.url = t.url;
2061
+ if (t.indexURL) s.indexURL = t.indexURL;
2062
+ }
2063
+ k.data.push(s);
2064
+ }
2065
+ delete k.rawdata;
2066
+ thisfilejunctions.push(k);
2067
+ }
2068
+ resolve(thisfilejunctions);
2069
+ }
2070
+ } else {
2071
+ }
2072
+ });
2073
+ }).catch((err) => reject(err));
2074
+ });
2075
+ tasks.push(getdata);
2076
+ }
2077
+ Promise.all(tasks).then((data) => {
2078
+ const junc = [];
2079
+ data.forEach((dat) => {
2080
+ if (!dat) return;
2081
+ dat.forEach((k) => {
2082
+ let notfound = true;
2083
+ for (const j of junc) {
2084
+ if (j.start == k.start && j.stop == k.stop) {
2085
+ j.data = j.data.concat(k.data);
2086
+ notfound = false;
2087
+ break;
2088
+ }
2089
+ }
2090
+ if (notfound) {
2091
+ junc.push(k);
2092
+ }
2093
+ });
2094
+ });
2095
+ for (const j of junc) {
2096
+ j2block(j, block);
2097
+ }
2098
+ for (const j of junc) {
2099
+ smuggleattributes(j);
2100
+ }
2101
+ if (!tk.axisheight) {
2102
+ if (tk.totalsamplecount > 1) {
2103
+ tk.axisheight = 200;
2104
+ tk.legheight = 50;
2105
+ tk.bottompad = 0;
2106
+ tk.qmradius = 2;
2107
+ tk.lowpad = 15;
2108
+ tk.padheight = 10;
2109
+ } else {
2110
+ tk.axisheight = 100;
2111
+ tk.legheight = 20;
2112
+ tk.bottompad = 0;
2113
+ tk.lowpad = 10;
2114
+ tk.padheight = 10;
2115
+ }
2116
+ if (tk.cohortsetting) {
2117
+ initcohortsetting(tk, block);
2118
+ }
2119
+ }
2120
+ rendertk(junc, tk, block);
2121
+ }).catch((err) => {
2122
+ tk.glider.selectAll("*").remove();
2123
+ block.tkcloakoff(tk, { error: err });
2124
+ block.block_setheight();
2125
+ });
2126
+ }
2127
+ function j2block(j, block) {
2128
+ const starthit = block.seekcoord(j.chr, j.start)[0];
2129
+ if (!starthit) {
2130
+ return true;
2131
+ }
2132
+ const stophit = block.seekcoord(j.chr, j.stop)[0];
2133
+ if (!stophit) {
2134
+ return true;
2135
+ }
2136
+ const startout = starthit.x < 0 || starthit.x > block.width;
2137
+ const stopout = stophit.x < 0 || stophit.x > block.width;
2138
+ if (startout && stopout) {
2139
+ return true;
2140
+ }
2141
+ j.x0 = starthit.x;
2142
+ j.x1 = stophit.x;
2143
+ j.x = (j.x0 + j.x1) / 2;
2144
+ j._x = j.x;
2145
+ if (!j.modefix) {
2146
+ j.mode = moderaise;
2147
+ }
2148
+ return false;
2149
+ }
2150
+ function smuggleattributes(j) {
2151
+ }
2152
+ function label_mcount_fillpane(tk, block, tip) {
2153
+ tip.clear();
2154
+ const holder = tip.d;
2155
+ const types = /* @__PURE__ */ new Map();
2156
+ for (const j of tk.data) {
2157
+ if (!j.type) continue;
2158
+ if (!types.has(j.type)) {
2159
+ types.set(j.type, []);
2160
+ }
2161
+ if (j.data) {
2162
+ types.get(j.type).push(j.data.map((i) => i.v));
2163
+ } else {
2164
+ types.get(j.type).push(j.v);
2165
+ }
2166
+ }
2167
+ if (types.size) {
2168
+ const d = holder.append("div").style("margin", "8px");
2169
+ for (const [type, valuelst] of types) {
2170
+ d.append("div").style("margin", "2px").html(
2171
+ valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2172
+ );
2173
+ let vlst = valuelst;
2174
+ if (tk.tracks) {
2175
+ vlst = [];
2176
+ for (const l of valuelst) {
2177
+ vlst.push(...l);
2178
+ }
2179
+ }
2180
+ if (vlst.length == 1) {
2181
+ } else {
2182
+ d.append("table").style("margin-left", "20px").html(
2183
+ '<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
2184
+ );
2185
+ }
2186
+ }
2187
+ } else {
2188
+ let vlst = [];
2189
+ if (tk.tracks) {
2190
+ for (const j of tk.data) {
2191
+ vlst.push(...j.data.map((i) => i.v));
2192
+ }
2193
+ } else {
2194
+ vlst = tk.data.map((j) => j.v);
2195
+ }
2196
+ if (vlst.length > 1) {
2197
+ holder.append("table").html(
2198
+ '<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
2199
+ );
2200
+ }
2201
+ }
2202
+ holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2203
+ tip.hide();
2204
+ for (const j of tk.data) {
2205
+ j.mode = modefold;
2206
+ j.modefix = true;
2207
+ }
2208
+ horiplace(tk.data, block.width, tk);
2209
+ });
2210
+ holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2211
+ tip.hide();
2212
+ for (const j of tk.data) {
2213
+ j.modefix = false;
2214
+ }
2215
+ automode(tk, null, block.width);
2216
+ for (const j of tk.data) {
2217
+ j.modefix = true;
2218
+ }
2219
+ horiplace(tk.data, block.width, tk);
2220
+ });
2221
+ holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2222
+ tip.hide();
2223
+ downloadjunctions(tk);
2224
+ });
2225
+ tip.showunder(tk.label_mcount.node());
2226
+ }
2227
+ function downloadjunctions(tk) {
2228
+ const txt = [];
2229
+ if (tk.file || tk.url) {
2230
+ if (tk.data) {
2231
+ txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2232
+ for (const j of tk.data) {
2233
+ txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2234
+ }
2235
+ }
2236
+ } else if (tk.tracks) {
2237
+ if (tk.data) {
2238
+ const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2239
+ for (const t of tk.tracks) {
2240
+ const lst = [];
2241
+ if (t.patient) lst.push(t.patient);
2242
+ if (t.sampletype) lst.push(t.sampletype);
2243
+ if (lst.length == 0) {
2244
+ lst.push(t.name);
2245
+ }
2246
+ header.push(lst.join(", "));
2247
+ }
2248
+ txt.push(header.join(" "));
2249
+ for (const j of tk.data) {
2250
+ const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2251
+ const hash = /* @__PURE__ */ new Map();
2252
+ for (const jsample of j.data) {
2253
+ hash.set(jsample.tkid, jsample.v);
2254
+ }
2255
+ for (const t of tk.tracks) {
2256
+ lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2257
+ }
2258
+ txt.push(lst.join(" "));
2259
+ }
2260
+ }
2261
+ }
2262
+ export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2263
+ }
2264
+ function configpanel(tk, block) {
2265
+ tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2266
+ const holder = tk.tkconfigtip.d;
2267
+ {
2268
+ const row = holder.append("div").style("margin-bottom", "10px");
2269
+ row.append("span").html("Read count cutoff&nbsp;");
2270
+ row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2271
+ if (!keyupEnter(event)) return;
2272
+ const v = Number.parseFloat(event.target.value);
2273
+ if (v == 0) {
2274
+ if (tk.readcountcutoff) {
2275
+ tk.readcountcutoff = 0;
2276
+ junctionload(tk, block);
2277
+ } else {
2278
+ }
2279
+ return;
2280
+ }
2281
+ if (!v || v < 0) {
2282
+ return;
2283
+ }
2284
+ if (tk.readcountcutoff) {
2285
+ if (tk.readcountcutoff == v) {
2286
+ } else if (tk.readcountcutoff > v) {
2287
+ tk.readcountcutoff = v;
2288
+ junctionload(tk, block);
2289
+ } else {
2290
+ tk.readcountcutoff = v;
2291
+ rendertk(tk.data, tk, block);
2292
+ }
2293
+ } else {
2294
+ tk.readcountcutoff = v;
2295
+ junctionload(tk, block);
2296
+ }
2297
+ });
2298
+ const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2299
+ if (tk.totalsamplecount > 1) {
2300
+ note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2301
+ } else {
2302
+ note.text("Junctions with read count lower than cutoff will not be shown.");
2303
+ }
2304
+ }
2305
+ }
2306
+ function initcohortsetting(tk, block) {
2307
+ if (!tk.cohortsetting.cohort) {
2308
+ sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2309
+ return;
2310
+ }
2311
+ if (!tk.cohortsetting.cohort.levels) {
2312
+ sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2313
+ return;
2314
+ }
2315
+ if (!tk.cohortsetting.cohort.levels[0]) {
2316
+ sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2317
+ return;
2318
+ }
2319
+ tk.cohortsetting.levelseperator = ".";
2320
+ tk.cohortsetting.uselevelidx = 0;
2321
+ setcohortlegend_usecohortlevel(tk, block);
2322
+ }
2323
+ function setcohortlegend_usecohortlevel(tk, block) {
2324
+ tk.cohortsetting.legendholder.selectAll("*").remove();
2325
+ tk.cohortsetting.colorfunc = ordinal(category10_default);
2326
+ const stratkey2count = /* @__PURE__ */ new Map();
2327
+ for (const t of tk.tracks) {
2328
+ for (const s of t.headersamples) {
2329
+ if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2330
+ continue;
2331
+ }
2332
+ const thissamplekeys = [];
2333
+ for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2334
+ const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2335
+ if (thislevelkey) {
2336
+ thissamplekeys.push(thislevelkey);
2337
+ }
2338
+ }
2339
+ const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2340
+ if (!stratkey2count.has(str)) {
2341
+ stratkey2count.set(str, {
2342
+ count: 0,
2343
+ label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2344
+ });
2345
+ }
2346
+ stratkey2count.get(str).count++;
2347
+ }
2348
+ }
2349
+ const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2350
+ for (const item of sorteditems) {
2351
+ const color = tk.cohortsetting.colorfunc(item[0]);
2352
+ const label = item[1].label;
2353
+ const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2354
+ row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2355
+ row.append("div").style("display", "inline-block").text(label);
2356
+ }
2357
+ }
2358
+ export {
2359
+ junctionload,
2360
+ modefold,
2361
+ moderaise,
2362
+ modesample
2363
+ };
2364
+ //# sourceMappingURL=block.tk.junction-PBCJTAFX.js.map