@sjcrh/proteinpaint-client 2.187.0 → 2.188.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 (963) hide show
  1. package/dist/2dmaf-6YIEXAIG.js +1372 -0
  2. package/dist/AIProjectAdmin-5K5NIQNT.js +828 -0
  3. package/dist/AppHeader-4SN5M6SZ.js +834 -0
  4. package/dist/BoxPlot-DBJA6TQF.js +1218 -0
  5. package/dist/CorrelationVolcano-MDMTMTT5.js +618 -0
  6. package/dist/DE-S5AFNI4I.js +94 -0
  7. package/dist/DEinput-XVBBA74N.js +300 -0
  8. package/dist/DifferentialAnalysis-TUBGPAB2.js +244 -0
  9. package/dist/DifferentialAnalysis-TUBGPAB2.js.map +7 -0
  10. package/dist/Disco-VV7FQ7WW.js +3236 -0
  11. package/dist/Disco.UI-JDJFJFEY.js +244 -0
  12. package/dist/DmrPlot-XOG67W74.js +641 -0
  13. package/dist/GB-K3AWZQFF.js +1129 -0
  14. package/dist/GeneExpInput-Y7MDS2CA.js +365 -0
  15. package/dist/HicApp-53OTZ3YU.js +2249 -0
  16. package/dist/NumBinaryEditor-SB4YR3JM.js +269 -0
  17. package/dist/NumBinaryEditor.unit.spec-V2W2OZYP.js +285 -0
  18. package/dist/NumContEditor-RZZBM7PR.js +106 -0
  19. package/dist/NumContEditor.unit.spec-GAAW3ZZN.js +168 -0
  20. package/dist/NumCustomBinEditor-GFCGPRPI.js +37 -0
  21. package/dist/NumCustomBinEditor.unit.spec-24MXSO3L.js +283 -0
  22. package/dist/NumDiscreteEditor-HAHIOFNC.js +178 -0
  23. package/dist/NumDiscreteEditor.unit.spec-JYN2CWSI.js +201 -0
  24. package/dist/NumRegularBinEditor-7DOE64RB.js +37 -0
  25. package/dist/NumRegularBinEditor.unit.spec-2WU4GGNT.js +226 -0
  26. package/dist/NumSplineEditor-JLRD5TVX.js +191 -0
  27. package/dist/NumSplineEditor.unit.spec-LOG7CECJ.js +198 -0
  28. package/dist/NumericDensity-IDOP7I34.js +37 -0
  29. package/dist/NumericDensity.unit.spec-HTJQRPVH.js +220 -0
  30. package/dist/NumericHandler-DWVVGLLB.js +38 -0
  31. package/dist/NumericHandler.unit.spec-BDDFTHOF.js +218 -0
  32. package/dist/ProteomeInput-PK4ZM3SZ.js +395 -0
  33. package/dist/ProteomeInput-PK4ZM3SZ.js.map +7 -0
  34. package/dist/RunChart2-PBJ56YX3.js +757 -0
  35. package/dist/SC-UC3HP2MY.js +830 -0
  36. package/dist/SC-UC3HP2MY.js.map +7 -0
  37. package/dist/Volcano-BZJCA53R.js +1314 -0
  38. package/dist/Volcano-BZJCA53R.js.map +7 -0
  39. package/dist/WSIViewer-OHOP2DZT.js +48475 -0
  40. package/dist/WSIViewer-OHOP2DZT.js.map +7 -0
  41. package/dist/WsiSamplesPlot-FOMPMEXK.js +164 -0
  42. package/dist/adSandbox-SRPPCYYR.js +37 -0
  43. package/dist/alphaGenome-IS2WAJCK.js +174 -0
  44. package/dist/app-GTHYSGWI.js +36 -0
  45. package/dist/app-XEKETNLG.js +48 -0
  46. package/dist/app.js +20 -20
  47. package/dist/bam-GQBFL6A7.js +859 -0
  48. package/dist/barchart-AESC4JSX.js +46 -0
  49. package/dist/barchart.data-RE34IC4G.js +22 -0
  50. package/dist/barchart.events-KM4J5ISO.js +46 -0
  51. package/dist/barchart.integration.spec-DFVSBGO3.js +1676 -0
  52. package/dist/barchart2-NNTL4RQZ.js +310 -0
  53. package/dist/block-EHZM3FUX.js +6201 -0
  54. package/dist/block.init-EAEFNNF6.js +37 -0
  55. package/dist/block.mds.expressionrank-ZBHA2CFE.js +358 -0
  56. package/dist/block.mds.geneboxplot-4ZU3QUAK.js +827 -0
  57. package/dist/block.mds.junction-PDH55JXO.js +1544 -0
  58. package/dist/block.mds.svcnv-QWBU54XQ.js +6800 -0
  59. package/dist/block.svg-HUGBYWXU.js +163 -0
  60. package/dist/block.tk.aicheck-SDCWXQZF.js +282 -0
  61. package/dist/block.tk.ase-HMUTHCJS.js +364 -0
  62. package/dist/block.tk.bam-Q7B2YQLI.js +1905 -0
  63. package/dist/block.tk.bedgraphdot-QBGBSVHN.js +383 -0
  64. package/dist/block.tk.bigwig.ui-767A3MUH.js +211 -0
  65. package/dist/block.tk.hicstraw-LEZUZHLF.js +822 -0
  66. package/dist/block.tk.junction-GQHCZOYR.js +2363 -0
  67. package/dist/block.tk.junction.textmatrixui-D5QUO7KQ.js +198 -0
  68. package/dist/block.tk.ld-E3MHZOG5.js +98 -0
  69. package/dist/block.tk.menu-XE7PFYGR.js +1028 -0
  70. package/dist/block.tk.pgv-MPPMPDED.js +943 -0
  71. package/dist/brainImaging-YQ443NOL.js +422 -0
  72. package/dist/chunk-26WXJBSR.js +228 -0
  73. package/dist/chunk-2P6Z7JFC.js +119 -0
  74. package/dist/chunk-2QQO4RRD.js +2681 -0
  75. package/dist/chunk-2T7VYQLY.js +281 -0
  76. package/dist/chunk-2T7VYQLY.js.map +7 -0
  77. package/dist/chunk-2XPDA6NL.js +20652 -0
  78. package/dist/chunk-2XPDA6NL.js.map +7 -0
  79. package/dist/chunk-37ARSZOI.js +2815 -0
  80. package/dist/chunk-42Q53PXE.js +381 -0
  81. package/dist/chunk-46ASPS5Y.js +386 -0
  82. package/dist/chunk-4KPI7PB5.js +142 -0
  83. package/dist/chunk-4MDNMCGZ.js +102 -0
  84. package/dist/chunk-5IG3E4DT.js +272 -0
  85. package/dist/chunk-5MIR7IHI.js +52 -0
  86. package/dist/chunk-5MZVXJVA.js +55 -0
  87. package/dist/chunk-66D5GRS5.js +263 -0
  88. package/dist/chunk-6ATE2TRC.js +534 -0
  89. package/dist/chunk-6BFR6MK3.js +158 -0
  90. package/dist/chunk-6NJMCO4X.js +335 -0
  91. package/dist/chunk-6ON5KAMO.js +54 -0
  92. package/dist/chunk-76GPYMHZ.js +102 -0
  93. package/dist/chunk-7AAFBFOH.js +147 -0
  94. package/dist/chunk-7OOZHEUC.js +302 -0
  95. package/dist/chunk-A4VLWLYF.js +226 -0
  96. package/dist/chunk-A6EFWGWD.js +444 -0
  97. package/dist/chunk-ALW5XXVW.js +170 -0
  98. package/dist/chunk-ANCT2BGO.js +34 -0
  99. package/dist/chunk-AROMXWCY.js +291 -0
  100. package/dist/chunk-AY4UBGLC.js +815 -0
  101. package/dist/chunk-B43MTEYB.js +84 -0
  102. package/dist/chunk-B43MTEYB.js.map +7 -0
  103. package/dist/chunk-BMVLR3TM.js +1210 -0
  104. package/dist/chunk-BR7JA2EO.js +621 -0
  105. package/dist/chunk-C3SYSMNE.js +42 -0
  106. package/dist/chunk-C3SYSMNE.js.map +7 -0
  107. package/dist/chunk-D3HJXMTH.js +17 -0
  108. package/dist/chunk-DKUEZ4XD.js +205 -0
  109. package/dist/chunk-DT3MMC5U.js +31 -0
  110. package/dist/chunk-DYVKN7EE.js +5000 -0
  111. package/dist/chunk-EF37UZY6.js +37 -0
  112. package/dist/chunk-ESXMS7FW.js +229 -0
  113. package/dist/chunk-FDK4UJMN.js +263 -0
  114. package/dist/chunk-FDK4UJMN.js.map +7 -0
  115. package/dist/chunk-FUSVXQ6C.js +368 -0
  116. package/dist/chunk-G7JRRTS5.js +170 -0
  117. package/dist/chunk-G7JRRTS5.js.map +7 -0
  118. package/dist/chunk-GHWHLSUX.js +192 -0
  119. package/dist/chunk-GHWHLSUX.js.map +7 -0
  120. package/dist/chunk-GXKVAPGP.js +2786 -0
  121. package/dist/chunk-H4JIENLQ.js +39 -0
  122. package/dist/chunk-H7YJG4YM.js +470 -0
  123. package/dist/chunk-I24KPIDD.js +148 -0
  124. package/dist/chunk-IENFDUWD.js +203 -0
  125. package/dist/chunk-IKHIY6IZ.js +2327 -0
  126. package/dist/chunk-IKHIY6IZ.js.map +7 -0
  127. package/dist/chunk-J7BISJTL.js +50 -0
  128. package/dist/chunk-J7KYOSEK.js +824 -0
  129. package/dist/chunk-JGPZ5254.js +371 -0
  130. package/dist/chunk-JUIPCWAM.js +194 -0
  131. package/dist/chunk-LO4NMQ7W.js +293 -0
  132. package/dist/chunk-LSSLS5HV.js +95 -0
  133. package/dist/chunk-MDLRB3MR.js +407 -0
  134. package/dist/chunk-MJLKGZ27.js +129 -0
  135. package/dist/chunk-MYWJQRTD.js +1849 -0
  136. package/dist/chunk-MYWJQRTD.js.map +7 -0
  137. package/dist/chunk-NL5T3SBK.js +4209 -0
  138. package/dist/chunk-NMBIT4IK.js +46 -0
  139. package/dist/chunk-NMBIT4IK.js.map +7 -0
  140. package/dist/chunk-ONAYJVN2.js +217 -0
  141. package/dist/chunk-PP7K4R2E.js +141 -0
  142. package/dist/chunk-PP7K4R2E.js.map +7 -0
  143. package/dist/chunk-PSMFOARZ.js +14 -0
  144. package/dist/chunk-QX3GF2IA.js +514 -0
  145. package/dist/chunk-QZ2U4BOS.js +1159 -0
  146. package/dist/chunk-RBZBBNLL.js +1087 -0
  147. package/dist/chunk-RQ2ZJ66W.js +276 -0
  148. package/dist/chunk-RQ2ZJ66W.js.map +7 -0
  149. package/dist/chunk-RZTFQXWV.js +117 -0
  150. package/dist/chunk-SJC2C77V.js +177 -0
  151. package/dist/chunk-THUXB7EE.js +698 -0
  152. package/dist/chunk-THUXB7EE.js.map +7 -0
  153. package/dist/chunk-TVXVP4M6.js +215 -0
  154. package/dist/chunk-UTDPKDIY.js +482 -0
  155. package/dist/chunk-UVIUB7QI.js +280 -0
  156. package/dist/chunk-VAUSRBL5.js +6364 -0
  157. package/dist/chunk-VP3IZVQA.js +54 -0
  158. package/dist/chunk-VP3IZVQA.js.map +7 -0
  159. package/dist/chunk-WP22GYZ2.js +446 -0
  160. package/dist/chunk-WUNX3VST.js +1271 -0
  161. package/dist/chunk-X7GDCYND.js +1561 -0
  162. package/dist/chunk-X7GDCYND.js.map +7 -0
  163. package/dist/chunk-XB3V6S2X.js +1230 -0
  164. package/dist/chunk-XB3V6S2X.js.map +7 -0
  165. package/dist/chunk-XD4TBJK2.js +455 -0
  166. package/dist/chunk-Y6DSXMPB.js +121 -0
  167. package/dist/chunk-YBIZRASR.js +252 -0
  168. package/dist/chunk-YI2YH7ZK.js +158 -0
  169. package/dist/chunk-YLDE3PVC.js +1943 -0
  170. package/dist/chunk-Z736NYXL.js +26 -0
  171. package/dist/chunk-ZEJB7CPC.js +95 -0
  172. package/dist/chunk-ZGWEBKZ4.js +100 -0
  173. package/dist/condition-FSF6ROJV.js +331 -0
  174. package/dist/controls-OPSBFDFZ.js +40 -0
  175. package/dist/controls.config-3QRV5363.js +38 -0
  176. package/dist/correlation-WLOI7Z35.js +97 -0
  177. package/dist/cuminc-G2UGJUUA.js +1148 -0
  178. package/dist/cuminc.integration.spec-X5NEZ6S5.js +677 -0
  179. package/dist/customdata.inputui-RNW3AO3Z.js +288 -0
  180. package/dist/dataDownload-4U3TGDMH.js +329 -0
  181. package/dist/dataDownload.integration.spec-6FUI2SJ4.js +192 -0
  182. package/dist/databrowser.ui-4GVJVJWG.js +432 -0
  183. package/dist/dictionary-NSDS7Z4K.js +110 -0
  184. package/dist/dnaMethylation-OYQB75LD.js +37 -0
  185. package/dist/dnaMethylation.integration.spec-6TTLV34N.js +202 -0
  186. package/dist/dofetch-4TO3QMT6.js +50 -0
  187. package/dist/e2pca-NYBVR6PL.js +349 -0
  188. package/dist/ep-RTDVEA4D.js +1255 -0
  189. package/dist/expclust.gdc.spec-JVIRESTP.js +306 -0
  190. package/dist/facet-OVBF2QMO.js +520 -0
  191. package/dist/forms2-HTLS54CX.js +533 -0
  192. package/dist/gb-Y3546HMZ.js +87 -0
  193. package/dist/geneExpClustering-PH3PWH3K.js +248 -0
  194. package/dist/geneExpression-2Z2EV3XM.js +37 -0
  195. package/dist/geneExpression-6CFXOCGW.js +312 -0
  196. package/dist/geneExpression.unit.spec-WKUTHRHC.js +101 -0
  197. package/dist/geneORA-SHLZESLB.js +277 -0
  198. package/dist/geneVariant-FHZUIFPM.js +38 -0
  199. package/dist/geneVariant-Y7ZUBEOX.js +40 -0
  200. package/dist/geneVariant.integration.spec-N7TZUOY3.js +197 -0
  201. package/dist/genefusion.ui-7PDVZPZ2.js +308 -0
  202. package/dist/geneset-HLVOGYUI.js +202 -0
  203. package/dist/genomeBrowser.spec-7IVIMUR5.js +280 -0
  204. package/dist/grin2-2GNWIYFU.js +845 -0
  205. package/dist/grin2-2GNWIYFU.js.map +7 -0
  206. package/dist/grin2-Z5O7254R.js +1555 -0
  207. package/dist/gsea-TFC3MBRW.js +46 -0
  208. package/dist/hierCluster-ERSE5I4I.js +62 -0
  209. package/dist/hierCluster-QQZQU5ZG.js +58 -0
  210. package/dist/hierCluster.config-WPINWW37.js +39 -0
  211. package/dist/hierCluster.integration.spec-Y6OHSKPW.js +394 -0
  212. package/dist/hierCluster.interactivity-HS3G5QC5.js +53 -0
  213. package/dist/hierCluster.renderers-W63ZKZTT.js +21 -0
  214. package/dist/imagePlot-QFVN25PM.js +162 -0
  215. package/dist/importPlot-MIDM5APH.js +8 -0
  216. package/dist/isoformExpression-L4TRNT4A.js +39 -0
  217. package/dist/isoformExpression.unit.spec-QQG323LA.js +207 -0
  218. package/dist/launch.adhoc-4NQ6GGGL.js +41 -0
  219. package/dist/leftlabel.sample-JU7AIPZL.js +259 -0
  220. package/dist/legacyDataset-TT4CHF23.js +119 -0
  221. package/dist/lollipop-JG74M6PJ.js +170 -0
  222. package/dist/maf-PDL2EGHI.js +451 -0
  223. package/dist/maftimeline-V43NQEEE.js +592 -0
  224. package/dist/matrix-EB2EFP4S.js +57 -0
  225. package/dist/matrix-Q57FU5FE.js +62 -0
  226. package/dist/matrix.cells-NJIMPD32.js +28 -0
  227. package/dist/matrix.config-GLDEQD3H.js +40 -0
  228. package/dist/matrix.data-6SHAKOQU.js +25 -0
  229. package/dist/matrix.groups-MTDEANQA.js +26 -0
  230. package/dist/matrix.integration.spec-JCZ5VQJU.js +3071 -0
  231. package/dist/matrix.interactivity-SVRNWL6V.js +41 -0
  232. package/dist/matrix.layout-2HREO42N.js +43 -0
  233. package/dist/matrix.legend-QHVKT3MP.js +22 -0
  234. package/dist/matrix.renderers-IYR3ZY6V.js +37 -0
  235. package/dist/matrix.serieses-2VMTQXL2.js +21 -0
  236. package/dist/matrix.sort-PWA2RQQR.js +27 -0
  237. package/dist/matrix.sort.unit.spec-3OYIPTFY.js +471 -0
  238. package/dist/matrix.sorterUi-Y5QLO75X.js +18 -0
  239. package/dist/matrix.sorterUi.unit.spec-BNEXQHLP.js +341 -0
  240. package/dist/mavb-IZDDU4KK.js +731 -0
  241. package/dist/mds.fimo-FWBL7JE6.js +517 -0
  242. package/dist/mds.samplescatterplot-T47C7DJB.js +1549 -0
  243. package/dist/mds.survivalplot-MFZJCGS6.js +482 -0
  244. package/dist/numericDictTermCluster-I2W67RGA.js +72 -0
  245. package/dist/oncomatrix-6W7IBAED.js +294 -0
  246. package/dist/oncomatrix.spec-CEFH5IGH.js +447 -0
  247. package/dist/plot.2dvaf-BN6CFLNU.js +376 -0
  248. package/dist/plot.app-7EYWUCZV.js +40 -0
  249. package/dist/plot.barplot-MDIARSQD.js +101 -0
  250. package/dist/plot.boxplot-RUHGXC54.js +151 -0
  251. package/dist/plot.brainImaging-JEE32ZBV.js +51 -0
  252. package/dist/plot.disco-2RPNPX6E.js +101 -0
  253. package/dist/plot.dzi-7VTYYGGW.js +33 -0
  254. package/dist/plot.ssgq-FHE5KU5C.js +138 -0
  255. package/dist/plot.vaf2cov-WDJJM5Q4.js +258 -0
  256. package/dist/plot.wsi-FQZWHNSF.js +36 -0
  257. package/dist/polar-M7EGINN4.js +185 -0
  258. package/dist/polar2-JFYY43K2.js +227 -0
  259. package/dist/profile.spec-SIOHASOX.js +79 -0
  260. package/dist/profileBarchart-6JLEKVJV.js +266 -0
  261. package/dist/profileForms-G6CH73RV.js +440 -0
  262. package/dist/profilePlot-NQYJOBVV.js +53 -0
  263. package/dist/profileRadar-4TNWIXDB.js +262 -0
  264. package/dist/profileRadarFacility-XPH3LCBQ.js +262 -0
  265. package/dist/proteinView-OZLHO45J.js +1222 -0
  266. package/dist/proteinView-OZLHO45J.js.map +7 -0
  267. package/dist/proteomeAbundance-NQ4635NL.js +12 -0
  268. package/dist/proteomeAbundance-OV24UTZN.js +59 -0
  269. package/dist/proteomeAbundance-OV24UTZN.js.map +7 -0
  270. package/dist/qualitative-DL4WJG3O.js +42 -0
  271. package/dist/radar2-YNOQWHBT.js +315 -0
  272. package/dist/radarFacility2-24UPSI7S.js +324 -0
  273. package/dist/regression-URAUTLTD.js +55 -0
  274. package/dist/regression.inputs-UDVOU7FB.js +47 -0
  275. package/dist/regression.inputs.term-BWW6W34R.js +47 -0
  276. package/dist/regression.inputs.values.table-UKGIZTXG.js +44 -0
  277. package/dist/regression.integration.spec-EBHQTNA3.js +783 -0
  278. package/dist/regression.results-XTOSWIP6.js +39 -0
  279. package/dist/regression.spec-KG2I53VR.js +707 -0
  280. package/dist/report-KH7SNPVF.js +221 -0
  281. package/dist/sampleScatter.spec-PIXGS3LG.js +201 -0
  282. package/dist/sampleView-TWS6VT55.js +47 -0
  283. package/dist/samplelst-6AB5Y4WR.js +110 -0
  284. package/dist/samplematrix-AJAF555E.js +2197 -0
  285. package/dist/sc-PMNYZKXA.js +85 -0
  286. package/dist/scatter-Q2GH3ZJD.js +801 -0
  287. package/dist/scatter.integration.spec-SMMYKWH3.js +1195 -0
  288. package/dist/selectGenomeWithTklst-VE4SDYY7.js +133 -0
  289. package/dist/singleCellCellType-S324GCKW.js +37 -0
  290. package/dist/singleCellCellType.unit.spec-NXC2GELH.js +159 -0
  291. package/dist/singleCellGeneExpression-6H4HRKIA.js +37 -0
  292. package/dist/singleCellGeneExpression.unit.spec-HIJXVUWJ.js +152 -0
  293. package/dist/singleCellPlot-H7PCZ2DP.js +52 -0
  294. package/dist/singlecell-4LH3MQVL.js +85 -0
  295. package/dist/singlecell-MOSYT3RI.js +1571 -0
  296. package/dist/snp-IKLGTD4Q.js +37 -0
  297. package/dist/snp.unit.spec-GC74MUVM.js +175 -0
  298. package/dist/snplocus-RIABFSBQ.js +207 -0
  299. package/dist/spliceevent.a53ss.diagram-4E2IYYHL.js +150 -0
  300. package/dist/spliceevent.exonskip.diagram-C56R6XLQ.js +276 -0
  301. package/dist/spliceevent.noeventdiagram-SIPMAKXI.js +459 -0
  302. package/dist/ssGSEA-5QNHLSOI.js +37 -0
  303. package/dist/ssGSEA.unit.spec-KVPN553B.js +87 -0
  304. package/dist/summarizeCnvGeneexp-K4VGJSW6.js +162 -0
  305. package/dist/summarizeGeneexpSurvival-HGHX65FN.js +107 -0
  306. package/dist/summarizeMutationCnv-3K4Z6R2X.js +163 -0
  307. package/dist/summarizeMutationDiagnosis-M2MHUPRT.js +39 -0
  308. package/dist/summarizeMutationSurvival-WVBUP3GA.js +98 -0
  309. package/dist/summary-RZHZXCU5.js +48 -0
  310. package/dist/summary.integration.spec-FGZP7DY7.js +413 -0
  311. package/dist/summaryInput-UGM7MMCR.js +234 -0
  312. package/dist/sunburst-L27U7LV7.js +283 -0
  313. package/dist/survival-5ZMEBV6O.js +57 -0
  314. package/dist/survival-JWRRGTJT.js +45 -0
  315. package/dist/survival.integration.spec-Z5542I4V.js +801 -0
  316. package/dist/svgraph-O6ZVLNNN.js +1386 -0
  317. package/dist/svmr-ULFV7OSH.js +3841 -0
  318. package/dist/table-CHRQH2GH.js +199 -0
  319. package/dist/termCollection-FAO6ZA6F.js +178 -0
  320. package/dist/termCollection-GBXS3GOY.js +37 -0
  321. package/dist/termCollection.unit.spec-4WRTOV6E.js +207 -0
  322. package/dist/tk-KNUBWRNK.js +45 -0
  323. package/dist/tp.ui-2PPYOQYL.js +1458 -0
  324. package/dist/tvs.density-BZ5SKDQS.js +18 -0
  325. package/dist/tvs.dt-TDNSTGQR.js +38 -0
  326. package/dist/tvs.dtcnv.categorical-P2IGIE4I.js +39 -0
  327. package/dist/tvs.dtcnv.continuous-2XUCRBDR.js +71 -0
  328. package/dist/tvs.dtfusion-PRHZVMOG.js +39 -0
  329. package/dist/tvs.dtsnvindel-KGKBW5JS.js +39 -0
  330. package/dist/tvs.dtsv-M3CY5TZF.js +39 -0
  331. package/dist/tvs.numeric-W74JCC5P.js +21 -0
  332. package/dist/tvs.samplelst-BTWFBBAN.js +103 -0
  333. package/dist/tvs.termCollection-Y64QIKOA.js +158 -0
  334. package/dist/violin-3LLHHV3L.js +45 -0
  335. package/dist/violin.integration.spec-6NF5FDLQ.js +1424 -0
  336. package/dist/violin.interactivity-W2AKZ24D.js +37 -0
  337. package/dist/violin.renderer-CRFYYZRI.js +39 -0
  338. package/dist/vocabulary-AUJOAVYS.js +40 -0
  339. package/package.json +4 -3
  340. package/dist/2dmaf-DTWWXOZC.js +0 -1372
  341. package/dist/AIProjectAdmin-BCYIWOXD.js +0 -828
  342. package/dist/AppHeader-H3L2MRWP.js +0 -834
  343. package/dist/BoxPlot-INZ6IN3V.js +0 -1218
  344. package/dist/CorrelationVolcano-AK3XW4ZH.js +0 -618
  345. package/dist/DE-IBSFUKNG.js +0 -94
  346. package/dist/DEinput-H4GMQWDY.js +0 -300
  347. package/dist/DifferentialAnalysis-3DSL5LQC.js +0 -243
  348. package/dist/DifferentialAnalysis-3DSL5LQC.js.map +0 -7
  349. package/dist/Disco-5PXXMGGQ.js +0 -3236
  350. package/dist/Disco.UI-23LOT2U6.js +0 -244
  351. package/dist/DmrPlot-PBCU2XNF.js +0 -641
  352. package/dist/GB-HIEPWNPV.js +0 -1129
  353. package/dist/GeneExpInput-A4JNX7PU.js +0 -365
  354. package/dist/HicApp-IDH2A4BC.js +0 -2249
  355. package/dist/NumBinaryEditor-CZ54X7J3.js +0 -269
  356. package/dist/NumBinaryEditor.unit.spec-QLBRM7MJ.js +0 -285
  357. package/dist/NumContEditor-Z5MGLQ2I.js +0 -106
  358. package/dist/NumContEditor.unit.spec-TR7D7ULV.js +0 -168
  359. package/dist/NumCustomBinEditor-B7JID42Y.js +0 -37
  360. package/dist/NumCustomBinEditor.unit.spec-GZJIVY4K.js +0 -283
  361. package/dist/NumDiscreteEditor-LWHZ36T6.js +0 -178
  362. package/dist/NumDiscreteEditor.unit.spec-QCQCMEWO.js +0 -201
  363. package/dist/NumRegularBinEditor-IATRIUKD.js +0 -37
  364. package/dist/NumRegularBinEditor.unit.spec-J6UTQO76.js +0 -226
  365. package/dist/NumSplineEditor-2KMU6SRO.js +0 -191
  366. package/dist/NumSplineEditor.unit.spec-MX7Y4MTD.js +0 -198
  367. package/dist/NumericDensity-JCH7F5FV.js +0 -37
  368. package/dist/NumericDensity.unit.spec-4TKKRKHF.js +0 -220
  369. package/dist/NumericHandler-7FB3RJM7.js +0 -38
  370. package/dist/NumericHandler.unit.spec-U6DCADZY.js +0 -218
  371. package/dist/RunChart2-VQTIVMKM.js +0 -757
  372. package/dist/SC-XW272KAP.js +0 -827
  373. package/dist/SC-XW272KAP.js.map +0 -7
  374. package/dist/Volcano-Y4U3L6D2.js +0 -1352
  375. package/dist/Volcano-Y4U3L6D2.js.map +0 -7
  376. package/dist/WSIViewer-UFB7TI2D.js +0 -47972
  377. package/dist/WSIViewer-UFB7TI2D.js.map +0 -7
  378. package/dist/WsiSamplesPlot-2OAR57YB.js +0 -164
  379. package/dist/adSandbox-IKKFYRF7.js +0 -37
  380. package/dist/alphaGenome-WJNFQGGK.js +0 -174
  381. package/dist/app-UHGTFH6D.js +0 -48
  382. package/dist/app-YETYAR45.js +0 -36
  383. package/dist/bam-S6U7VNJP.js +0 -859
  384. package/dist/barchart-3NJDGHXU.js +0 -46
  385. package/dist/barchart.data-MVVKPDLE.js +0 -22
  386. package/dist/barchart.events-WQGA4CGB.js +0 -46
  387. package/dist/barchart.integration.spec-E6CJTWRN.js +0 -1676
  388. package/dist/barchart2-UNHFOYKB.js +0 -310
  389. package/dist/block-2XHZLY26.js +0 -6201
  390. package/dist/block.init-CMG4V6RB.js +0 -37
  391. package/dist/block.mds.expressionrank-QX2JOEMV.js +0 -358
  392. package/dist/block.mds.geneboxplot-USVQSDBT.js +0 -827
  393. package/dist/block.mds.junction-R6GJO75N.js +0 -1544
  394. package/dist/block.mds.svcnv-MRISSDAX.js +0 -6800
  395. package/dist/block.svg-Z5KKZTDB.js +0 -163
  396. package/dist/block.tk.aicheck-SOFJYYZX.js +0 -282
  397. package/dist/block.tk.ase-EHX5FV2Y.js +0 -364
  398. package/dist/block.tk.bam-DJS6LODM.js +0 -1905
  399. package/dist/block.tk.bedgraphdot-R2YHPXZA.js +0 -383
  400. package/dist/block.tk.bigwig.ui-VPEEQJLS.js +0 -211
  401. package/dist/block.tk.hicstraw-BDYN573B.js +0 -822
  402. package/dist/block.tk.junction-BONB4BXU.js +0 -2363
  403. package/dist/block.tk.junction.textmatrixui-Y5R6KY4N.js +0 -198
  404. package/dist/block.tk.ld-EGVVSXCB.js +0 -98
  405. package/dist/block.tk.menu-4YBMB5JT.js +0 -1028
  406. package/dist/block.tk.pgv-SBHGL6UH.js +0 -943
  407. package/dist/brainImaging-G3WZDYG6.js +0 -422
  408. package/dist/chunk-2K5DSRBJ.js +0 -84
  409. package/dist/chunk-2K5DSRBJ.js.map +0 -7
  410. package/dist/chunk-2O6JF76T.js +0 -121
  411. package/dist/chunk-2QULGYVE.js +0 -368
  412. package/dist/chunk-2VLGHVOL.js +0 -215
  413. package/dist/chunk-32TTOWY6.js +0 -1210
  414. package/dist/chunk-43PMSEMV.js +0 -50
  415. package/dist/chunk-4KSU6NBP.js +0 -194
  416. package/dist/chunk-4SFX42S7.js +0 -1271
  417. package/dist/chunk-4Y444IRJ.js +0 -272
  418. package/dist/chunk-56AN5PPQ.js +0 -679
  419. package/dist/chunk-56AN5PPQ.js.map +0 -7
  420. package/dist/chunk-5FO3NKA4.js +0 -155
  421. package/dist/chunk-5FO3NKA4.js.map +0 -7
  422. package/dist/chunk-5HOR6JQ2.js +0 -100
  423. package/dist/chunk-5LZKQFLO.js +0 -180
  424. package/dist/chunk-5LZKQFLO.js.map +0 -7
  425. package/dist/chunk-5RE3J6HK.js +0 -293
  426. package/dist/chunk-5SMOOFRW.js +0 -386
  427. package/dist/chunk-64Z22QAH.js +0 -14
  428. package/dist/chunk-6NMH6WPB.js +0 -446
  429. package/dist/chunk-7FKIAQ4K.js +0 -17
  430. package/dist/chunk-7NOKTEHK.js +0 -407
  431. package/dist/chunk-7UHUOC6F.js +0 -119
  432. package/dist/chunk-AMYSEKPF.js +0 -1658
  433. package/dist/chunk-AMYSEKPF.js.map +0 -7
  434. package/dist/chunk-ANGDY7VC.js +0 -170
  435. package/dist/chunk-AQ4OP4GR.js +0 -39
  436. package/dist/chunk-AQVOYTLS.js +0 -177
  437. package/dist/chunk-ARINZFQG.js +0 -276
  438. package/dist/chunk-ARINZFQG.js.map +0 -7
  439. package/dist/chunk-BQJVLXEL.js +0 -55
  440. package/dist/chunk-BRMASRRS.js +0 -455
  441. package/dist/chunk-BT4OOYPT.js +0 -280
  442. package/dist/chunk-BTJFVY3R.js +0 -190
  443. package/dist/chunk-BTJFVY3R.js.map +0 -7
  444. package/dist/chunk-C62CSWMV.js +0 -335
  445. package/dist/chunk-CAWDQURD.js +0 -6364
  446. package/dist/chunk-DMAHNBGN.js +0 -1230
  447. package/dist/chunk-DMAHNBGN.js.map +0 -7
  448. package/dist/chunk-EGWVYY7K.js +0 -264
  449. package/dist/chunk-EGWVYY7K.js.map +0 -7
  450. package/dist/chunk-ENWVV6EU.js +0 -2681
  451. package/dist/chunk-EPOELG75.js +0 -56
  452. package/dist/chunk-EPOELG75.js.map +0 -7
  453. package/dist/chunk-FA44G3GZ.js +0 -470
  454. package/dist/chunk-GD7FKXOA.js +0 -148
  455. package/dist/chunk-GF4OSOYW.js +0 -2815
  456. package/dist/chunk-GQOBT2W7.js +0 -203
  457. package/dist/chunk-GTBL7UHX.js +0 -2786
  458. package/dist/chunk-HE7CD7BD.js +0 -482
  459. package/dist/chunk-I7JDV4ZC.js +0 -226
  460. package/dist/chunk-IABWKPRK.js +0 -534
  461. package/dist/chunk-IPDH4FHY.js +0 -54
  462. package/dist/chunk-JNOOLCYB.js +0 -1159
  463. package/dist/chunk-JPKYHLNI.js +0 -158
  464. package/dist/chunk-KMQ6GQ3I.js +0 -1943
  465. package/dist/chunk-KTCW3JA6.js +0 -4209
  466. package/dist/chunk-L4QG7XZE.js +0 -46
  467. package/dist/chunk-L4QG7XZE.js.map +0 -7
  468. package/dist/chunk-LGUE54VX.js +0 -302
  469. package/dist/chunk-LJ4AUJXC.js +0 -95
  470. package/dist/chunk-LN3QYBGI.js +0 -20495
  471. package/dist/chunk-LN3QYBGI.js.map +0 -7
  472. package/dist/chunk-LQQSRNR5.js +0 -228
  473. package/dist/chunk-LSV4Z473.js +0 -31
  474. package/dist/chunk-LTSR7SLO.js +0 -514
  475. package/dist/chunk-LY7GD74F.js +0 -381
  476. package/dist/chunk-MHCTLVGE.js +0 -26
  477. package/dist/chunk-MSAMGAQF.js +0 -2370
  478. package/dist/chunk-MSAMGAQF.js.map +0 -7
  479. package/dist/chunk-NYX4B5CO.js +0 -291
  480. package/dist/chunk-OPPNZXYG.js +0 -129
  481. package/dist/chunk-P6TPXUMP.js +0 -117
  482. package/dist/chunk-PL2CM7RY.js +0 -621
  483. package/dist/chunk-PSGQWZN4.js +0 -147
  484. package/dist/chunk-PZLYNNST.js +0 -371
  485. package/dist/chunk-RA4RQYXQ.js +0 -142
  486. package/dist/chunk-RAJZYWFN.js +0 -95
  487. package/dist/chunk-ROLVOPVR.js +0 -252
  488. package/dist/chunk-RQZJIBIH.js +0 -34
  489. package/dist/chunk-RSE2FOKW.js +0 -217
  490. package/dist/chunk-SDLRTORS.js +0 -263
  491. package/dist/chunk-TF4EDNQO.js +0 -158
  492. package/dist/chunk-TV74I3Y5.js +0 -43
  493. package/dist/chunk-TV74I3Y5.js.map +0 -7
  494. package/dist/chunk-UPPBAFUK.js +0 -5000
  495. package/dist/chunk-UVPAZM3G.js +0 -52
  496. package/dist/chunk-UWYCEYML.js +0 -815
  497. package/dist/chunk-VB3SRNBK.js +0 -37
  498. package/dist/chunk-W6XQR5UL.js +0 -444
  499. package/dist/chunk-XBBUQW52.js +0 -824
  500. package/dist/chunk-XSA3VIEQ.js +0 -205
  501. package/dist/chunk-XZ6MGJQ3.js +0 -102
  502. package/dist/chunk-YC6ZJ7RP.js +0 -1842
  503. package/dist/chunk-YC6ZJ7RP.js.map +0 -7
  504. package/dist/chunk-YEMIL6QU.js +0 -1087
  505. package/dist/chunk-ZD47FENE.js +0 -229
  506. package/dist/chunk-ZYBM24FU.js +0 -102
  507. package/dist/chunk-ZYY54HBU.js +0 -330
  508. package/dist/chunk-ZYY54HBU.js.map +0 -7
  509. package/dist/condition-ARCN26MF.js +0 -331
  510. package/dist/controls-PKWN2JGN.js +0 -40
  511. package/dist/controls.config-NFRPXFUJ.js +0 -38
  512. package/dist/correlation-DPT6XL2U.js +0 -97
  513. package/dist/cuminc-M4U7LQD5.js +0 -1148
  514. package/dist/cuminc.integration.spec-MH4OFYDJ.js +0 -677
  515. package/dist/customdata.inputui-6TAHAMSV.js +0 -288
  516. package/dist/dataDownload-7GZEYSUT.js +0 -329
  517. package/dist/dataDownload.integration.spec-NAIJRFTV.js +0 -192
  518. package/dist/databrowser.ui-LLXHZ5O6.js +0 -432
  519. package/dist/dictionary-MUAURMYE.js +0 -110
  520. package/dist/dnaMethylation-AU5D3U3E.js +0 -37
  521. package/dist/dnaMethylation.integration.spec-JIDBRA6P.js +0 -202
  522. package/dist/dofetch-WSYK5OTB.js +0 -50
  523. package/dist/e2pca-ICG35YR5.js +0 -349
  524. package/dist/ep-CSSSQOUP.js +0 -1255
  525. package/dist/expclust.gdc.spec-4WPQUXH4.js +0 -306
  526. package/dist/facet-JAGILNY6.js +0 -520
  527. package/dist/forms2-IMVDB6AT.js +0 -533
  528. package/dist/gb-36LTYICV.js +0 -87
  529. package/dist/geneExpClustering-CGMENTHI.js +0 -248
  530. package/dist/geneExpression-AD2L46J4.js +0 -37
  531. package/dist/geneExpression-G2FHBDUQ.js +0 -312
  532. package/dist/geneExpression.unit.spec-XWCB7K5L.js +0 -101
  533. package/dist/geneORA-GVHQF7DF.js +0 -277
  534. package/dist/geneVariant-HE22CH76.js +0 -40
  535. package/dist/geneVariant-SQD5QUFH.js +0 -38
  536. package/dist/geneVariant.integration.spec-66XFLDNN.js +0 -197
  537. package/dist/genefusion.ui-TD32NWD4.js +0 -308
  538. package/dist/geneset-NSYPDXS3.js +0 -202
  539. package/dist/genomeBrowser.spec-CYFONLNQ.js +0 -280
  540. package/dist/grin2-3QB57OPH.js +0 -1555
  541. package/dist/grin2-FLQNWPMZ.js +0 -851
  542. package/dist/grin2-FLQNWPMZ.js.map +0 -7
  543. package/dist/gsea-RMTU5I3U.js +0 -46
  544. package/dist/hierCluster-LSQL6PGC.js +0 -58
  545. package/dist/hierCluster-XTEBDEVO.js +0 -62
  546. package/dist/hierCluster.config-SHXFSPOH.js +0 -39
  547. package/dist/hierCluster.integration.spec-KNMIYWV3.js +0 -394
  548. package/dist/hierCluster.interactivity-6NAKTUR5.js +0 -53
  549. package/dist/hierCluster.renderers-FWOV4Q47.js +0 -21
  550. package/dist/imagePlot-3IVG4SFN.js +0 -162
  551. package/dist/importPlot-HEMDRIVF.js +0 -8
  552. package/dist/isoformExpression-FJ3GEU6D.js +0 -39
  553. package/dist/isoformExpression.unit.spec-L7D22UDB.js +0 -207
  554. package/dist/launch.adhoc-PDGQF2UP.js +0 -41
  555. package/dist/leftlabel.sample-ZBI4NHCV.js +0 -259
  556. package/dist/legacyDataset-PBCPC5I7.js +0 -119
  557. package/dist/lollipop-K7S6ASFE.js +0 -170
  558. package/dist/maf-JEW6PPJB.js +0 -451
  559. package/dist/maftimeline-7URL27MC.js +0 -592
  560. package/dist/matrix-6EK5WGIG.js +0 -57
  561. package/dist/matrix-DKBD5RIL.js +0 -62
  562. package/dist/matrix.cells-KEIOXJQ7.js +0 -28
  563. package/dist/matrix.config-FGJB4VVM.js +0 -40
  564. package/dist/matrix.data-QGCGFLD7.js +0 -25
  565. package/dist/matrix.groups-HBPLZ2QX.js +0 -26
  566. package/dist/matrix.integration.spec-R4PF67KF.js +0 -3071
  567. package/dist/matrix.interactivity-M3SY33ET.js +0 -41
  568. package/dist/matrix.layout-H6WQ3ZMW.js +0 -43
  569. package/dist/matrix.legend-UCL7HM26.js +0 -22
  570. package/dist/matrix.renderers-3PPFSS7Z.js +0 -37
  571. package/dist/matrix.serieses-S2TJ3E6P.js +0 -21
  572. package/dist/matrix.sort-CFA4UWBJ.js +0 -27
  573. package/dist/matrix.sort.unit.spec-562VIWDS.js +0 -471
  574. package/dist/matrix.sorterUi-FT7K5664.js +0 -18
  575. package/dist/matrix.sorterUi.unit.spec-GAHHUN3K.js +0 -341
  576. package/dist/mavb-HPW5X55U.js +0 -731
  577. package/dist/mds.fimo-HSBKLIOX.js +0 -517
  578. package/dist/mds.samplescatterplot-DE27OMJE.js +0 -1549
  579. package/dist/mds.survivalplot-IW22UGCE.js +0 -482
  580. package/dist/numericDictTermCluster-DOD66G3A.js +0 -72
  581. package/dist/oncomatrix-BZCVCPR4.js +0 -294
  582. package/dist/oncomatrix.spec-IHYCIAP4.js +0 -447
  583. package/dist/plot.2dvaf-QLOZ54VC.js +0 -376
  584. package/dist/plot.app-XDVDR23J.js +0 -40
  585. package/dist/plot.barplot-XOESF7OQ.js +0 -101
  586. package/dist/plot.boxplot-VNOC2CHT.js +0 -151
  587. package/dist/plot.brainImaging-7ZEOY4UR.js +0 -51
  588. package/dist/plot.disco-6GVDYK7A.js +0 -101
  589. package/dist/plot.dzi-TEFPPPL6.js +0 -33
  590. package/dist/plot.ssgq-OG4TODLO.js +0 -138
  591. package/dist/plot.vaf2cov-VMZRJULA.js +0 -258
  592. package/dist/plot.wsi-2CHZZ7AC.js +0 -36
  593. package/dist/polar-QUYQRQOQ.js +0 -185
  594. package/dist/polar2-OXXLAXJC.js +0 -227
  595. package/dist/profile.spec-TI6PRHNJ.js +0 -79
  596. package/dist/profileBarchart-GEK77XEB.js +0 -266
  597. package/dist/profileForms-NR3VNHKM.js +0 -440
  598. package/dist/profilePlot-GGKO3IW5.js +0 -53
  599. package/dist/profileRadar-MN3LX5ER.js +0 -262
  600. package/dist/profileRadarFacility-3G2HWB2L.js +0 -262
  601. package/dist/proteinView-TZ5BGOTA.js +0 -1188
  602. package/dist/proteinView-TZ5BGOTA.js.map +0 -7
  603. package/dist/proteomeAbundance-JXNECXF7.js +0 -68
  604. package/dist/proteomeAbundance-JXNECXF7.js.map +0 -7
  605. package/dist/proteomeAbundance-O4BB55O3.js +0 -21
  606. package/dist/qualitative-Q3TT73O7.js +0 -42
  607. package/dist/radar2-LSD3VPZT.js +0 -315
  608. package/dist/radarFacility2-LZGIXY7A.js +0 -324
  609. package/dist/regression-J3XDAPAZ.js +0 -55
  610. package/dist/regression.inputs-BBZYI5OI.js +0 -47
  611. package/dist/regression.inputs.term-7BW6XGLG.js +0 -47
  612. package/dist/regression.inputs.values.table-DYX2YU4H.js +0 -44
  613. package/dist/regression.integration.spec-WLXZYKWW.js +0 -783
  614. package/dist/regression.results-K5Q2N2KW.js +0 -39
  615. package/dist/regression.spec-VT7T6KBY.js +0 -707
  616. package/dist/report-3D3L573D.js +0 -221
  617. package/dist/sampleScatter.spec-6IPJQLM2.js +0 -201
  618. package/dist/sampleView-5JMFI4HF.js +0 -47
  619. package/dist/samplelst-SUCB5WOZ.js +0 -110
  620. package/dist/samplematrix-A5SZBKO6.js +0 -2197
  621. package/dist/sc-NAA6ESO6.js +0 -85
  622. package/dist/scatter-EQCN2HYE.js +0 -801
  623. package/dist/scatter.integration.spec-7NXIYS67.js +0 -1195
  624. package/dist/selectGenomeWithTklst-KXODNCY6.js +0 -133
  625. package/dist/singleCellCellType-HMIW76YB.js +0 -37
  626. package/dist/singleCellCellType.unit.spec-ZCZET56X.js +0 -159
  627. package/dist/singleCellGeneExpression-IUCUHF6R.js +0 -37
  628. package/dist/singleCellGeneExpression.unit.spec-J4D6F2N3.js +0 -152
  629. package/dist/singleCellPlot-L6W3MDGG.js +0 -52
  630. package/dist/singlecell-A6ECAAPI.js +0 -85
  631. package/dist/singlecell-KBABNXC5.js +0 -1571
  632. package/dist/snp-RO7ATG6E.js +0 -37
  633. package/dist/snp.unit.spec-ZJLRGJD4.js +0 -175
  634. package/dist/snplocus-N3CU6NRP.js +0 -207
  635. package/dist/spliceevent.a53ss.diagram-7PHT4COB.js +0 -150
  636. package/dist/spliceevent.exonskip.diagram-3CZTY6QD.js +0 -276
  637. package/dist/spliceevent.noeventdiagram-GQE256DT.js +0 -459
  638. package/dist/ssGSEA-4I3L5MX2.js +0 -37
  639. package/dist/ssGSEA.unit.spec-PZCC5YU7.js +0 -87
  640. package/dist/summarizeCnvGeneexp-ASXUQW56.js +0 -162
  641. package/dist/summarizeGeneexpSurvival-ULGUOW5V.js +0 -107
  642. package/dist/summarizeMutationCnv-VDUCIUGM.js +0 -163
  643. package/dist/summarizeMutationDiagnosis-FMAAMCZC.js +0 -39
  644. package/dist/summarizeMutationSurvival-GZ4NGDJT.js +0 -98
  645. package/dist/summary-2WNZ6JSB.js +0 -48
  646. package/dist/summary.integration.spec-XPMYB6GM.js +0 -413
  647. package/dist/summaryInput-2UGXEA5C.js +0 -234
  648. package/dist/sunburst-76WCQLTT.js +0 -283
  649. package/dist/survival-23IZM4ML.js +0 -45
  650. package/dist/survival-3EAMPHSX.js +0 -57
  651. package/dist/survival.integration.spec-YNVAKBV3.js +0 -801
  652. package/dist/svgraph-G2M5LXEP.js +0 -1386
  653. package/dist/svmr-BUDBVU34.js +0 -3841
  654. package/dist/table-QJSZ6YFK.js +0 -199
  655. package/dist/termCollection-2YAY3RLZ.js +0 -178
  656. package/dist/termCollection-MAMDMEDD.js +0 -37
  657. package/dist/termCollection.unit.spec-UY7G2BHG.js +0 -207
  658. package/dist/tk-GFGP3F76.js +0 -45
  659. package/dist/tp.ui-OQ757UIE.js +0 -1458
  660. package/dist/tvs.density-BJK23JYJ.js +0 -18
  661. package/dist/tvs.dt-TOYEFKNT.js +0 -38
  662. package/dist/tvs.dtcnv.categorical-EO2VLFL2.js +0 -39
  663. package/dist/tvs.dtcnv.continuous-ZAHTKZ4Y.js +0 -71
  664. package/dist/tvs.dtfusion-BY3AHBL3.js +0 -39
  665. package/dist/tvs.dtsnvindel-UM5LQ4FR.js +0 -39
  666. package/dist/tvs.dtsv-H7ZVHLS5.js +0 -39
  667. package/dist/tvs.numeric-66FP6RRH.js +0 -21
  668. package/dist/tvs.samplelst-Q5ECTZOY.js +0 -103
  669. package/dist/tvs.termCollection-FYNMKZTR.js +0 -158
  670. package/dist/violin-EGWLAJVM.js +0 -45
  671. package/dist/violin.integration.spec-3P4TYHBR.js +0 -1424
  672. package/dist/violin.interactivity-VWDR4LYB.js +0 -37
  673. package/dist/violin.renderer-WWTU6J7X.js +0 -39
  674. package/dist/vocabulary-JG4ZITOH.js +0 -40
  675. /package/dist/{2dmaf-DTWWXOZC.js.map → 2dmaf-6YIEXAIG.js.map} +0 -0
  676. /package/dist/{AIProjectAdmin-BCYIWOXD.js.map → AIProjectAdmin-5K5NIQNT.js.map} +0 -0
  677. /package/dist/{AppHeader-H3L2MRWP.js.map → AppHeader-4SN5M6SZ.js.map} +0 -0
  678. /package/dist/{BoxPlot-INZ6IN3V.js.map → BoxPlot-DBJA6TQF.js.map} +0 -0
  679. /package/dist/{CorrelationVolcano-AK3XW4ZH.js.map → CorrelationVolcano-MDMTMTT5.js.map} +0 -0
  680. /package/dist/{DE-IBSFUKNG.js.map → DE-S5AFNI4I.js.map} +0 -0
  681. /package/dist/{DEinput-H4GMQWDY.js.map → DEinput-XVBBA74N.js.map} +0 -0
  682. /package/dist/{Disco-5PXXMGGQ.js.map → Disco-VV7FQ7WW.js.map} +0 -0
  683. /package/dist/{Disco.UI-23LOT2U6.js.map → Disco.UI-JDJFJFEY.js.map} +0 -0
  684. /package/dist/{DmrPlot-PBCU2XNF.js.map → DmrPlot-XOG67W74.js.map} +0 -0
  685. /package/dist/{GB-HIEPWNPV.js.map → GB-K3AWZQFF.js.map} +0 -0
  686. /package/dist/{GeneExpInput-A4JNX7PU.js.map → GeneExpInput-Y7MDS2CA.js.map} +0 -0
  687. /package/dist/{HicApp-IDH2A4BC.js.map → HicApp-53OTZ3YU.js.map} +0 -0
  688. /package/dist/{NumBinaryEditor-CZ54X7J3.js.map → NumBinaryEditor-SB4YR3JM.js.map} +0 -0
  689. /package/dist/{NumBinaryEditor.unit.spec-QLBRM7MJ.js.map → NumBinaryEditor.unit.spec-V2W2OZYP.js.map} +0 -0
  690. /package/dist/{NumContEditor-Z5MGLQ2I.js.map → NumContEditor-RZZBM7PR.js.map} +0 -0
  691. /package/dist/{NumContEditor.unit.spec-TR7D7ULV.js.map → NumContEditor.unit.spec-GAAW3ZZN.js.map} +0 -0
  692. /package/dist/{NumCustomBinEditor-B7JID42Y.js.map → NumCustomBinEditor-GFCGPRPI.js.map} +0 -0
  693. /package/dist/{NumCustomBinEditor.unit.spec-GZJIVY4K.js.map → NumCustomBinEditor.unit.spec-24MXSO3L.js.map} +0 -0
  694. /package/dist/{NumDiscreteEditor-LWHZ36T6.js.map → NumDiscreteEditor-HAHIOFNC.js.map} +0 -0
  695. /package/dist/{NumDiscreteEditor.unit.spec-QCQCMEWO.js.map → NumDiscreteEditor.unit.spec-JYN2CWSI.js.map} +0 -0
  696. /package/dist/{NumRegularBinEditor-IATRIUKD.js.map → NumRegularBinEditor-7DOE64RB.js.map} +0 -0
  697. /package/dist/{NumRegularBinEditor.unit.spec-J6UTQO76.js.map → NumRegularBinEditor.unit.spec-2WU4GGNT.js.map} +0 -0
  698. /package/dist/{NumSplineEditor-2KMU6SRO.js.map → NumSplineEditor-JLRD5TVX.js.map} +0 -0
  699. /package/dist/{NumSplineEditor.unit.spec-MX7Y4MTD.js.map → NumSplineEditor.unit.spec-LOG7CECJ.js.map} +0 -0
  700. /package/dist/{NumericDensity-JCH7F5FV.js.map → NumericDensity-IDOP7I34.js.map} +0 -0
  701. /package/dist/{NumericDensity.unit.spec-4TKKRKHF.js.map → NumericDensity.unit.spec-HTJQRPVH.js.map} +0 -0
  702. /package/dist/{NumericHandler-7FB3RJM7.js.map → NumericHandler-DWVVGLLB.js.map} +0 -0
  703. /package/dist/{NumericHandler.unit.spec-U6DCADZY.js.map → NumericHandler.unit.spec-BDDFTHOF.js.map} +0 -0
  704. /package/dist/{RunChart2-VQTIVMKM.js.map → RunChart2-PBJ56YX3.js.map} +0 -0
  705. /package/dist/{WsiSamplesPlot-2OAR57YB.js.map → WsiSamplesPlot-FOMPMEXK.js.map} +0 -0
  706. /package/dist/{adSandbox-IKKFYRF7.js.map → adSandbox-SRPPCYYR.js.map} +0 -0
  707. /package/dist/{alphaGenome-WJNFQGGK.js.map → alphaGenome-IS2WAJCK.js.map} +0 -0
  708. /package/dist/{app-UHGTFH6D.js.map → app-GTHYSGWI.js.map} +0 -0
  709. /package/dist/{app-YETYAR45.js.map → app-XEKETNLG.js.map} +0 -0
  710. /package/dist/{bam-S6U7VNJP.js.map → bam-GQBFL6A7.js.map} +0 -0
  711. /package/dist/{barchart-3NJDGHXU.js.map → barchart-AESC4JSX.js.map} +0 -0
  712. /package/dist/{barchart.data-MVVKPDLE.js.map → barchart.data-RE34IC4G.js.map} +0 -0
  713. /package/dist/{barchart.events-WQGA4CGB.js.map → barchart.events-KM4J5ISO.js.map} +0 -0
  714. /package/dist/{barchart.integration.spec-E6CJTWRN.js.map → barchart.integration.spec-DFVSBGO3.js.map} +0 -0
  715. /package/dist/{barchart2-UNHFOYKB.js.map → barchart2-NNTL4RQZ.js.map} +0 -0
  716. /package/dist/{block-2XHZLY26.js.map → block-EHZM3FUX.js.map} +0 -0
  717. /package/dist/{block.init-CMG4V6RB.js.map → block.init-EAEFNNF6.js.map} +0 -0
  718. /package/dist/{block.mds.expressionrank-QX2JOEMV.js.map → block.mds.expressionrank-ZBHA2CFE.js.map} +0 -0
  719. /package/dist/{block.mds.geneboxplot-USVQSDBT.js.map → block.mds.geneboxplot-4ZU3QUAK.js.map} +0 -0
  720. /package/dist/{block.mds.junction-R6GJO75N.js.map → block.mds.junction-PDH55JXO.js.map} +0 -0
  721. /package/dist/{block.mds.svcnv-MRISSDAX.js.map → block.mds.svcnv-QWBU54XQ.js.map} +0 -0
  722. /package/dist/{block.svg-Z5KKZTDB.js.map → block.svg-HUGBYWXU.js.map} +0 -0
  723. /package/dist/{block.tk.aicheck-SOFJYYZX.js.map → block.tk.aicheck-SDCWXQZF.js.map} +0 -0
  724. /package/dist/{block.tk.ase-EHX5FV2Y.js.map → block.tk.ase-HMUTHCJS.js.map} +0 -0
  725. /package/dist/{block.tk.bam-DJS6LODM.js.map → block.tk.bam-Q7B2YQLI.js.map} +0 -0
  726. /package/dist/{block.tk.bedgraphdot-R2YHPXZA.js.map → block.tk.bedgraphdot-QBGBSVHN.js.map} +0 -0
  727. /package/dist/{block.tk.bigwig.ui-VPEEQJLS.js.map → block.tk.bigwig.ui-767A3MUH.js.map} +0 -0
  728. /package/dist/{block.tk.hicstraw-BDYN573B.js.map → block.tk.hicstraw-LEZUZHLF.js.map} +0 -0
  729. /package/dist/{block.tk.junction-BONB4BXU.js.map → block.tk.junction-GQHCZOYR.js.map} +0 -0
  730. /package/dist/{block.tk.junction.textmatrixui-Y5R6KY4N.js.map → block.tk.junction.textmatrixui-D5QUO7KQ.js.map} +0 -0
  731. /package/dist/{block.tk.ld-EGVVSXCB.js.map → block.tk.ld-E3MHZOG5.js.map} +0 -0
  732. /package/dist/{block.tk.menu-4YBMB5JT.js.map → block.tk.menu-XE7PFYGR.js.map} +0 -0
  733. /package/dist/{block.tk.pgv-SBHGL6UH.js.map → block.tk.pgv-MPPMPDED.js.map} +0 -0
  734. /package/dist/{brainImaging-G3WZDYG6.js.map → brainImaging-YQ443NOL.js.map} +0 -0
  735. /package/dist/{chunk-LQQSRNR5.js.map → chunk-26WXJBSR.js.map} +0 -0
  736. /package/dist/{chunk-7UHUOC6F.js.map → chunk-2P6Z7JFC.js.map} +0 -0
  737. /package/dist/{chunk-ENWVV6EU.js.map → chunk-2QQO4RRD.js.map} +0 -0
  738. /package/dist/{chunk-GF4OSOYW.js.map → chunk-37ARSZOI.js.map} +0 -0
  739. /package/dist/{chunk-LY7GD74F.js.map → chunk-42Q53PXE.js.map} +0 -0
  740. /package/dist/{chunk-5SMOOFRW.js.map → chunk-46ASPS5Y.js.map} +0 -0
  741. /package/dist/{chunk-RA4RQYXQ.js.map → chunk-4KPI7PB5.js.map} +0 -0
  742. /package/dist/{chunk-XZ6MGJQ3.js.map → chunk-4MDNMCGZ.js.map} +0 -0
  743. /package/dist/{chunk-4Y444IRJ.js.map → chunk-5IG3E4DT.js.map} +0 -0
  744. /package/dist/{chunk-UVPAZM3G.js.map → chunk-5MIR7IHI.js.map} +0 -0
  745. /package/dist/{chunk-BQJVLXEL.js.map → chunk-5MZVXJVA.js.map} +0 -0
  746. /package/dist/{chunk-SDLRTORS.js.map → chunk-66D5GRS5.js.map} +0 -0
  747. /package/dist/{chunk-IABWKPRK.js.map → chunk-6ATE2TRC.js.map} +0 -0
  748. /package/dist/{chunk-JPKYHLNI.js.map → chunk-6BFR6MK3.js.map} +0 -0
  749. /package/dist/{chunk-C62CSWMV.js.map → chunk-6NJMCO4X.js.map} +0 -0
  750. /package/dist/{chunk-IPDH4FHY.js.map → chunk-6ON5KAMO.js.map} +0 -0
  751. /package/dist/{chunk-ZYBM24FU.js.map → chunk-76GPYMHZ.js.map} +0 -0
  752. /package/dist/{chunk-PSGQWZN4.js.map → chunk-7AAFBFOH.js.map} +0 -0
  753. /package/dist/{chunk-LGUE54VX.js.map → chunk-7OOZHEUC.js.map} +0 -0
  754. /package/dist/{chunk-I7JDV4ZC.js.map → chunk-A4VLWLYF.js.map} +0 -0
  755. /package/dist/{chunk-W6XQR5UL.js.map → chunk-A6EFWGWD.js.map} +0 -0
  756. /package/dist/{chunk-ANGDY7VC.js.map → chunk-ALW5XXVW.js.map} +0 -0
  757. /package/dist/{chunk-RQZJIBIH.js.map → chunk-ANCT2BGO.js.map} +0 -0
  758. /package/dist/{chunk-NYX4B5CO.js.map → chunk-AROMXWCY.js.map} +0 -0
  759. /package/dist/{chunk-UWYCEYML.js.map → chunk-AY4UBGLC.js.map} +0 -0
  760. /package/dist/{chunk-32TTOWY6.js.map → chunk-BMVLR3TM.js.map} +0 -0
  761. /package/dist/{chunk-PL2CM7RY.js.map → chunk-BR7JA2EO.js.map} +0 -0
  762. /package/dist/{chunk-7FKIAQ4K.js.map → chunk-D3HJXMTH.js.map} +0 -0
  763. /package/dist/{chunk-XSA3VIEQ.js.map → chunk-DKUEZ4XD.js.map} +0 -0
  764. /package/dist/{chunk-LSV4Z473.js.map → chunk-DT3MMC5U.js.map} +0 -0
  765. /package/dist/{chunk-UPPBAFUK.js.map → chunk-DYVKN7EE.js.map} +0 -0
  766. /package/dist/{chunk-VB3SRNBK.js.map → chunk-EF37UZY6.js.map} +0 -0
  767. /package/dist/{chunk-ZD47FENE.js.map → chunk-ESXMS7FW.js.map} +0 -0
  768. /package/dist/{chunk-2QULGYVE.js.map → chunk-FUSVXQ6C.js.map} +0 -0
  769. /package/dist/{chunk-GTBL7UHX.js.map → chunk-GXKVAPGP.js.map} +0 -0
  770. /package/dist/{chunk-AQ4OP4GR.js.map → chunk-H4JIENLQ.js.map} +0 -0
  771. /package/dist/{chunk-FA44G3GZ.js.map → chunk-H7YJG4YM.js.map} +0 -0
  772. /package/dist/{chunk-GD7FKXOA.js.map → chunk-I24KPIDD.js.map} +0 -0
  773. /package/dist/{chunk-GQOBT2W7.js.map → chunk-IENFDUWD.js.map} +0 -0
  774. /package/dist/{chunk-43PMSEMV.js.map → chunk-J7BISJTL.js.map} +0 -0
  775. /package/dist/{chunk-XBBUQW52.js.map → chunk-J7KYOSEK.js.map} +0 -0
  776. /package/dist/{chunk-PZLYNNST.js.map → chunk-JGPZ5254.js.map} +0 -0
  777. /package/dist/{chunk-4KSU6NBP.js.map → chunk-JUIPCWAM.js.map} +0 -0
  778. /package/dist/{chunk-5RE3J6HK.js.map → chunk-LO4NMQ7W.js.map} +0 -0
  779. /package/dist/{chunk-RAJZYWFN.js.map → chunk-LSSLS5HV.js.map} +0 -0
  780. /package/dist/{chunk-7NOKTEHK.js.map → chunk-MDLRB3MR.js.map} +0 -0
  781. /package/dist/{chunk-OPPNZXYG.js.map → chunk-MJLKGZ27.js.map} +0 -0
  782. /package/dist/{chunk-KTCW3JA6.js.map → chunk-NL5T3SBK.js.map} +0 -0
  783. /package/dist/{chunk-RSE2FOKW.js.map → chunk-ONAYJVN2.js.map} +0 -0
  784. /package/dist/{chunk-64Z22QAH.js.map → chunk-PSMFOARZ.js.map} +0 -0
  785. /package/dist/{chunk-LTSR7SLO.js.map → chunk-QX3GF2IA.js.map} +0 -0
  786. /package/dist/{chunk-JNOOLCYB.js.map → chunk-QZ2U4BOS.js.map} +0 -0
  787. /package/dist/{chunk-YEMIL6QU.js.map → chunk-RBZBBNLL.js.map} +0 -0
  788. /package/dist/{chunk-P6TPXUMP.js.map → chunk-RZTFQXWV.js.map} +0 -0
  789. /package/dist/{chunk-AQVOYTLS.js.map → chunk-SJC2C77V.js.map} +0 -0
  790. /package/dist/{chunk-2VLGHVOL.js.map → chunk-TVXVP4M6.js.map} +0 -0
  791. /package/dist/{chunk-HE7CD7BD.js.map → chunk-UTDPKDIY.js.map} +0 -0
  792. /package/dist/{chunk-BT4OOYPT.js.map → chunk-UVIUB7QI.js.map} +0 -0
  793. /package/dist/{chunk-CAWDQURD.js.map → chunk-VAUSRBL5.js.map} +0 -0
  794. /package/dist/{chunk-6NMH6WPB.js.map → chunk-WP22GYZ2.js.map} +0 -0
  795. /package/dist/{chunk-4SFX42S7.js.map → chunk-WUNX3VST.js.map} +0 -0
  796. /package/dist/{chunk-BRMASRRS.js.map → chunk-XD4TBJK2.js.map} +0 -0
  797. /package/dist/{chunk-2O6JF76T.js.map → chunk-Y6DSXMPB.js.map} +0 -0
  798. /package/dist/{chunk-ROLVOPVR.js.map → chunk-YBIZRASR.js.map} +0 -0
  799. /package/dist/{chunk-TF4EDNQO.js.map → chunk-YI2YH7ZK.js.map} +0 -0
  800. /package/dist/{chunk-KMQ6GQ3I.js.map → chunk-YLDE3PVC.js.map} +0 -0
  801. /package/dist/{chunk-MHCTLVGE.js.map → chunk-Z736NYXL.js.map} +0 -0
  802. /package/dist/{chunk-LJ4AUJXC.js.map → chunk-ZEJB7CPC.js.map} +0 -0
  803. /package/dist/{chunk-5HOR6JQ2.js.map → chunk-ZGWEBKZ4.js.map} +0 -0
  804. /package/dist/{condition-ARCN26MF.js.map → condition-FSF6ROJV.js.map} +0 -0
  805. /package/dist/{controls-PKWN2JGN.js.map → controls-OPSBFDFZ.js.map} +0 -0
  806. /package/dist/{controls.config-NFRPXFUJ.js.map → controls.config-3QRV5363.js.map} +0 -0
  807. /package/dist/{correlation-DPT6XL2U.js.map → correlation-WLOI7Z35.js.map} +0 -0
  808. /package/dist/{cuminc-M4U7LQD5.js.map → cuminc-G2UGJUUA.js.map} +0 -0
  809. /package/dist/{cuminc.integration.spec-MH4OFYDJ.js.map → cuminc.integration.spec-X5NEZ6S5.js.map} +0 -0
  810. /package/dist/{customdata.inputui-6TAHAMSV.js.map → customdata.inputui-RNW3AO3Z.js.map} +0 -0
  811. /package/dist/{dataDownload-7GZEYSUT.js.map → dataDownload-4U3TGDMH.js.map} +0 -0
  812. /package/dist/{dataDownload.integration.spec-NAIJRFTV.js.map → dataDownload.integration.spec-6FUI2SJ4.js.map} +0 -0
  813. /package/dist/{databrowser.ui-LLXHZ5O6.js.map → databrowser.ui-4GVJVJWG.js.map} +0 -0
  814. /package/dist/{dictionary-MUAURMYE.js.map → dictionary-NSDS7Z4K.js.map} +0 -0
  815. /package/dist/{dnaMethylation-AU5D3U3E.js.map → dnaMethylation-OYQB75LD.js.map} +0 -0
  816. /package/dist/{dnaMethylation.integration.spec-JIDBRA6P.js.map → dnaMethylation.integration.spec-6TTLV34N.js.map} +0 -0
  817. /package/dist/{dofetch-WSYK5OTB.js.map → dofetch-4TO3QMT6.js.map} +0 -0
  818. /package/dist/{e2pca-ICG35YR5.js.map → e2pca-NYBVR6PL.js.map} +0 -0
  819. /package/dist/{ep-CSSSQOUP.js.map → ep-RTDVEA4D.js.map} +0 -0
  820. /package/dist/{expclust.gdc.spec-4WPQUXH4.js.map → expclust.gdc.spec-JVIRESTP.js.map} +0 -0
  821. /package/dist/{facet-JAGILNY6.js.map → facet-OVBF2QMO.js.map} +0 -0
  822. /package/dist/{forms2-IMVDB6AT.js.map → forms2-HTLS54CX.js.map} +0 -0
  823. /package/dist/{gb-36LTYICV.js.map → gb-Y3546HMZ.js.map} +0 -0
  824. /package/dist/{geneExpClustering-CGMENTHI.js.map → geneExpClustering-PH3PWH3K.js.map} +0 -0
  825. /package/dist/{geneExpression-AD2L46J4.js.map → geneExpression-2Z2EV3XM.js.map} +0 -0
  826. /package/dist/{geneExpression-G2FHBDUQ.js.map → geneExpression-6CFXOCGW.js.map} +0 -0
  827. /package/dist/{geneExpression.unit.spec-XWCB7K5L.js.map → geneExpression.unit.spec-WKUTHRHC.js.map} +0 -0
  828. /package/dist/{geneORA-GVHQF7DF.js.map → geneORA-SHLZESLB.js.map} +0 -0
  829. /package/dist/{geneVariant-HE22CH76.js.map → geneVariant-FHZUIFPM.js.map} +0 -0
  830. /package/dist/{geneVariant-SQD5QUFH.js.map → geneVariant-Y7ZUBEOX.js.map} +0 -0
  831. /package/dist/{geneVariant.integration.spec-66XFLDNN.js.map → geneVariant.integration.spec-N7TZUOY3.js.map} +0 -0
  832. /package/dist/{genefusion.ui-TD32NWD4.js.map → genefusion.ui-7PDVZPZ2.js.map} +0 -0
  833. /package/dist/{geneset-NSYPDXS3.js.map → geneset-HLVOGYUI.js.map} +0 -0
  834. /package/dist/{genomeBrowser.spec-CYFONLNQ.js.map → genomeBrowser.spec-7IVIMUR5.js.map} +0 -0
  835. /package/dist/{grin2-3QB57OPH.js.map → grin2-Z5O7254R.js.map} +0 -0
  836. /package/dist/{gsea-RMTU5I3U.js.map → gsea-TFC3MBRW.js.map} +0 -0
  837. /package/dist/{hierCluster-LSQL6PGC.js.map → hierCluster-ERSE5I4I.js.map} +0 -0
  838. /package/dist/{hierCluster-XTEBDEVO.js.map → hierCluster-QQZQU5ZG.js.map} +0 -0
  839. /package/dist/{hierCluster.config-SHXFSPOH.js.map → hierCluster.config-WPINWW37.js.map} +0 -0
  840. /package/dist/{hierCluster.integration.spec-KNMIYWV3.js.map → hierCluster.integration.spec-Y6OHSKPW.js.map} +0 -0
  841. /package/dist/{hierCluster.interactivity-6NAKTUR5.js.map → hierCluster.interactivity-HS3G5QC5.js.map} +0 -0
  842. /package/dist/{hierCluster.renderers-FWOV4Q47.js.map → hierCluster.renderers-W63ZKZTT.js.map} +0 -0
  843. /package/dist/{imagePlot-3IVG4SFN.js.map → imagePlot-QFVN25PM.js.map} +0 -0
  844. /package/dist/{importPlot-HEMDRIVF.js.map → importPlot-MIDM5APH.js.map} +0 -0
  845. /package/dist/{isoformExpression-FJ3GEU6D.js.map → isoformExpression-L4TRNT4A.js.map} +0 -0
  846. /package/dist/{isoformExpression.unit.spec-L7D22UDB.js.map → isoformExpression.unit.spec-QQG323LA.js.map} +0 -0
  847. /package/dist/{launch.adhoc-PDGQF2UP.js.map → launch.adhoc-4NQ6GGGL.js.map} +0 -0
  848. /package/dist/{leftlabel.sample-ZBI4NHCV.js.map → leftlabel.sample-JU7AIPZL.js.map} +0 -0
  849. /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-TT4CHF23.js.map} +0 -0
  850. /package/dist/{lollipop-K7S6ASFE.js.map → lollipop-JG74M6PJ.js.map} +0 -0
  851. /package/dist/{maf-JEW6PPJB.js.map → maf-PDL2EGHI.js.map} +0 -0
  852. /package/dist/{maftimeline-7URL27MC.js.map → maftimeline-V43NQEEE.js.map} +0 -0
  853. /package/dist/{matrix-6EK5WGIG.js.map → matrix-EB2EFP4S.js.map} +0 -0
  854. /package/dist/{matrix-DKBD5RIL.js.map → matrix-Q57FU5FE.js.map} +0 -0
  855. /package/dist/{matrix.cells-KEIOXJQ7.js.map → matrix.cells-NJIMPD32.js.map} +0 -0
  856. /package/dist/{matrix.config-FGJB4VVM.js.map → matrix.config-GLDEQD3H.js.map} +0 -0
  857. /package/dist/{matrix.data-QGCGFLD7.js.map → matrix.data-6SHAKOQU.js.map} +0 -0
  858. /package/dist/{matrix.groups-HBPLZ2QX.js.map → matrix.groups-MTDEANQA.js.map} +0 -0
  859. /package/dist/{matrix.integration.spec-R4PF67KF.js.map → matrix.integration.spec-JCZ5VQJU.js.map} +0 -0
  860. /package/dist/{matrix.interactivity-M3SY33ET.js.map → matrix.interactivity-SVRNWL6V.js.map} +0 -0
  861. /package/dist/{matrix.layout-H6WQ3ZMW.js.map → matrix.layout-2HREO42N.js.map} +0 -0
  862. /package/dist/{matrix.legend-UCL7HM26.js.map → matrix.legend-QHVKT3MP.js.map} +0 -0
  863. /package/dist/{matrix.renderers-3PPFSS7Z.js.map → matrix.renderers-IYR3ZY6V.js.map} +0 -0
  864. /package/dist/{matrix.serieses-S2TJ3E6P.js.map → matrix.serieses-2VMTQXL2.js.map} +0 -0
  865. /package/dist/{matrix.sort-CFA4UWBJ.js.map → matrix.sort-PWA2RQQR.js.map} +0 -0
  866. /package/dist/{matrix.sort.unit.spec-562VIWDS.js.map → matrix.sort.unit.spec-3OYIPTFY.js.map} +0 -0
  867. /package/dist/{matrix.sorterUi-FT7K5664.js.map → matrix.sorterUi-Y5QLO75X.js.map} +0 -0
  868. /package/dist/{matrix.sorterUi.unit.spec-GAHHUN3K.js.map → matrix.sorterUi.unit.spec-BNEXQHLP.js.map} +0 -0
  869. /package/dist/{mavb-HPW5X55U.js.map → mavb-IZDDU4KK.js.map} +0 -0
  870. /package/dist/{mds.fimo-HSBKLIOX.js.map → mds.fimo-FWBL7JE6.js.map} +0 -0
  871. /package/dist/{mds.samplescatterplot-DE27OMJE.js.map → mds.samplescatterplot-T47C7DJB.js.map} +0 -0
  872. /package/dist/{mds.survivalplot-IW22UGCE.js.map → mds.survivalplot-MFZJCGS6.js.map} +0 -0
  873. /package/dist/{numericDictTermCluster-DOD66G3A.js.map → numericDictTermCluster-I2W67RGA.js.map} +0 -0
  874. /package/dist/{oncomatrix-BZCVCPR4.js.map → oncomatrix-6W7IBAED.js.map} +0 -0
  875. /package/dist/{oncomatrix.spec-IHYCIAP4.js.map → oncomatrix.spec-CEFH5IGH.js.map} +0 -0
  876. /package/dist/{plot.2dvaf-QLOZ54VC.js.map → plot.2dvaf-BN6CFLNU.js.map} +0 -0
  877. /package/dist/{plot.app-XDVDR23J.js.map → plot.app-7EYWUCZV.js.map} +0 -0
  878. /package/dist/{plot.barplot-XOESF7OQ.js.map → plot.barplot-MDIARSQD.js.map} +0 -0
  879. /package/dist/{plot.boxplot-VNOC2CHT.js.map → plot.boxplot-RUHGXC54.js.map} +0 -0
  880. /package/dist/{plot.brainImaging-7ZEOY4UR.js.map → plot.brainImaging-JEE32ZBV.js.map} +0 -0
  881. /package/dist/{plot.disco-6GVDYK7A.js.map → plot.disco-2RPNPX6E.js.map} +0 -0
  882. /package/dist/{plot.dzi-TEFPPPL6.js.map → plot.dzi-7VTYYGGW.js.map} +0 -0
  883. /package/dist/{plot.ssgq-OG4TODLO.js.map → plot.ssgq-FHE5KU5C.js.map} +0 -0
  884. /package/dist/{plot.vaf2cov-VMZRJULA.js.map → plot.vaf2cov-WDJJM5Q4.js.map} +0 -0
  885. /package/dist/{plot.wsi-2CHZZ7AC.js.map → plot.wsi-FQZWHNSF.js.map} +0 -0
  886. /package/dist/{polar-QUYQRQOQ.js.map → polar-M7EGINN4.js.map} +0 -0
  887. /package/dist/{polar2-OXXLAXJC.js.map → polar2-JFYY43K2.js.map} +0 -0
  888. /package/dist/{profile.spec-TI6PRHNJ.js.map → profile.spec-SIOHASOX.js.map} +0 -0
  889. /package/dist/{profileBarchart-GEK77XEB.js.map → profileBarchart-6JLEKVJV.js.map} +0 -0
  890. /package/dist/{profileForms-NR3VNHKM.js.map → profileForms-G6CH73RV.js.map} +0 -0
  891. /package/dist/{profilePlot-GGKO3IW5.js.map → profilePlot-NQYJOBVV.js.map} +0 -0
  892. /package/dist/{profileRadar-MN3LX5ER.js.map → profileRadar-4TNWIXDB.js.map} +0 -0
  893. /package/dist/{profileRadarFacility-3G2HWB2L.js.map → profileRadarFacility-XPH3LCBQ.js.map} +0 -0
  894. /package/dist/{proteomeAbundance-O4BB55O3.js.map → proteomeAbundance-NQ4635NL.js.map} +0 -0
  895. /package/dist/{qualitative-Q3TT73O7.js.map → qualitative-DL4WJG3O.js.map} +0 -0
  896. /package/dist/{radar2-LSD3VPZT.js.map → radar2-YNOQWHBT.js.map} +0 -0
  897. /package/dist/{radarFacility2-LZGIXY7A.js.map → radarFacility2-24UPSI7S.js.map} +0 -0
  898. /package/dist/{regression-J3XDAPAZ.js.map → regression-URAUTLTD.js.map} +0 -0
  899. /package/dist/{regression.inputs-BBZYI5OI.js.map → regression.inputs-UDVOU7FB.js.map} +0 -0
  900. /package/dist/{regression.inputs.term-7BW6XGLG.js.map → regression.inputs.term-BWW6W34R.js.map} +0 -0
  901. /package/dist/{regression.inputs.values.table-DYX2YU4H.js.map → regression.inputs.values.table-UKGIZTXG.js.map} +0 -0
  902. /package/dist/{regression.integration.spec-WLXZYKWW.js.map → regression.integration.spec-EBHQTNA3.js.map} +0 -0
  903. /package/dist/{regression.results-K5Q2N2KW.js.map → regression.results-XTOSWIP6.js.map} +0 -0
  904. /package/dist/{regression.spec-VT7T6KBY.js.map → regression.spec-KG2I53VR.js.map} +0 -0
  905. /package/dist/{report-3D3L573D.js.map → report-KH7SNPVF.js.map} +0 -0
  906. /package/dist/{sampleScatter.spec-6IPJQLM2.js.map → sampleScatter.spec-PIXGS3LG.js.map} +0 -0
  907. /package/dist/{sampleView-5JMFI4HF.js.map → sampleView-TWS6VT55.js.map} +0 -0
  908. /package/dist/{samplelst-SUCB5WOZ.js.map → samplelst-6AB5Y4WR.js.map} +0 -0
  909. /package/dist/{samplematrix-A5SZBKO6.js.map → samplematrix-AJAF555E.js.map} +0 -0
  910. /package/dist/{sc-NAA6ESO6.js.map → sc-PMNYZKXA.js.map} +0 -0
  911. /package/dist/{scatter-EQCN2HYE.js.map → scatter-Q2GH3ZJD.js.map} +0 -0
  912. /package/dist/{scatter.integration.spec-7NXIYS67.js.map → scatter.integration.spec-SMMYKWH3.js.map} +0 -0
  913. /package/dist/{selectGenomeWithTklst-KXODNCY6.js.map → selectGenomeWithTklst-VE4SDYY7.js.map} +0 -0
  914. /package/dist/{singleCellCellType-HMIW76YB.js.map → singleCellCellType-S324GCKW.js.map} +0 -0
  915. /package/dist/{singleCellCellType.unit.spec-ZCZET56X.js.map → singleCellCellType.unit.spec-NXC2GELH.js.map} +0 -0
  916. /package/dist/{singleCellGeneExpression-IUCUHF6R.js.map → singleCellGeneExpression-6H4HRKIA.js.map} +0 -0
  917. /package/dist/{singleCellGeneExpression.unit.spec-J4D6F2N3.js.map → singleCellGeneExpression.unit.spec-HIJXVUWJ.js.map} +0 -0
  918. /package/dist/{singleCellPlot-L6W3MDGG.js.map → singleCellPlot-H7PCZ2DP.js.map} +0 -0
  919. /package/dist/{singlecell-A6ECAAPI.js.map → singlecell-4LH3MQVL.js.map} +0 -0
  920. /package/dist/{singlecell-KBABNXC5.js.map → singlecell-MOSYT3RI.js.map} +0 -0
  921. /package/dist/{snp-RO7ATG6E.js.map → snp-IKLGTD4Q.js.map} +0 -0
  922. /package/dist/{snp.unit.spec-ZJLRGJD4.js.map → snp.unit.spec-GC74MUVM.js.map} +0 -0
  923. /package/dist/{snplocus-N3CU6NRP.js.map → snplocus-RIABFSBQ.js.map} +0 -0
  924. /package/dist/{spliceevent.a53ss.diagram-7PHT4COB.js.map → spliceevent.a53ss.diagram-4E2IYYHL.js.map} +0 -0
  925. /package/dist/{spliceevent.exonskip.diagram-3CZTY6QD.js.map → spliceevent.exonskip.diagram-C56R6XLQ.js.map} +0 -0
  926. /package/dist/{spliceevent.noeventdiagram-GQE256DT.js.map → spliceevent.noeventdiagram-SIPMAKXI.js.map} +0 -0
  927. /package/dist/{ssGSEA-4I3L5MX2.js.map → ssGSEA-5QNHLSOI.js.map} +0 -0
  928. /package/dist/{ssGSEA.unit.spec-PZCC5YU7.js.map → ssGSEA.unit.spec-KVPN553B.js.map} +0 -0
  929. /package/dist/{summarizeCnvGeneexp-ASXUQW56.js.map → summarizeCnvGeneexp-K4VGJSW6.js.map} +0 -0
  930. /package/dist/{summarizeGeneexpSurvival-ULGUOW5V.js.map → summarizeGeneexpSurvival-HGHX65FN.js.map} +0 -0
  931. /package/dist/{summarizeMutationCnv-VDUCIUGM.js.map → summarizeMutationCnv-3K4Z6R2X.js.map} +0 -0
  932. /package/dist/{summarizeMutationDiagnosis-FMAAMCZC.js.map → summarizeMutationDiagnosis-M2MHUPRT.js.map} +0 -0
  933. /package/dist/{summarizeMutationSurvival-GZ4NGDJT.js.map → summarizeMutationSurvival-WVBUP3GA.js.map} +0 -0
  934. /package/dist/{summary-2WNZ6JSB.js.map → summary-RZHZXCU5.js.map} +0 -0
  935. /package/dist/{summary.integration.spec-XPMYB6GM.js.map → summary.integration.spec-FGZP7DY7.js.map} +0 -0
  936. /package/dist/{summaryInput-2UGXEA5C.js.map → summaryInput-UGM7MMCR.js.map} +0 -0
  937. /package/dist/{sunburst-76WCQLTT.js.map → sunburst-L27U7LV7.js.map} +0 -0
  938. /package/dist/{survival-3EAMPHSX.js.map → survival-5ZMEBV6O.js.map} +0 -0
  939. /package/dist/{survival-23IZM4ML.js.map → survival-JWRRGTJT.js.map} +0 -0
  940. /package/dist/{survival.integration.spec-YNVAKBV3.js.map → survival.integration.spec-Z5542I4V.js.map} +0 -0
  941. /package/dist/{svgraph-G2M5LXEP.js.map → svgraph-O6ZVLNNN.js.map} +0 -0
  942. /package/dist/{svmr-BUDBVU34.js.map → svmr-ULFV7OSH.js.map} +0 -0
  943. /package/dist/{table-QJSZ6YFK.js.map → table-CHRQH2GH.js.map} +0 -0
  944. /package/dist/{termCollection-2YAY3RLZ.js.map → termCollection-FAO6ZA6F.js.map} +0 -0
  945. /package/dist/{termCollection-MAMDMEDD.js.map → termCollection-GBXS3GOY.js.map} +0 -0
  946. /package/dist/{termCollection.unit.spec-UY7G2BHG.js.map → termCollection.unit.spec-4WRTOV6E.js.map} +0 -0
  947. /package/dist/{tk-GFGP3F76.js.map → tk-KNUBWRNK.js.map} +0 -0
  948. /package/dist/{tp.ui-OQ757UIE.js.map → tp.ui-2PPYOQYL.js.map} +0 -0
  949. /package/dist/{tvs.density-BJK23JYJ.js.map → tvs.density-BZ5SKDQS.js.map} +0 -0
  950. /package/dist/{tvs.dt-TOYEFKNT.js.map → tvs.dt-TDNSTGQR.js.map} +0 -0
  951. /package/dist/{tvs.dtcnv.categorical-EO2VLFL2.js.map → tvs.dtcnv.categorical-P2IGIE4I.js.map} +0 -0
  952. /package/dist/{tvs.dtcnv.continuous-ZAHTKZ4Y.js.map → tvs.dtcnv.continuous-2XUCRBDR.js.map} +0 -0
  953. /package/dist/{tvs.dtfusion-BY3AHBL3.js.map → tvs.dtfusion-PRHZVMOG.js.map} +0 -0
  954. /package/dist/{tvs.dtsnvindel-UM5LQ4FR.js.map → tvs.dtsnvindel-KGKBW5JS.js.map} +0 -0
  955. /package/dist/{tvs.dtsv-H7ZVHLS5.js.map → tvs.dtsv-M3CY5TZF.js.map} +0 -0
  956. /package/dist/{tvs.numeric-66FP6RRH.js.map → tvs.numeric-W74JCC5P.js.map} +0 -0
  957. /package/dist/{tvs.samplelst-Q5ECTZOY.js.map → tvs.samplelst-BTWFBBAN.js.map} +0 -0
  958. /package/dist/{tvs.termCollection-FYNMKZTR.js.map → tvs.termCollection-Y64QIKOA.js.map} +0 -0
  959. /package/dist/{violin-EGWLAJVM.js.map → violin-3LLHHV3L.js.map} +0 -0
  960. /package/dist/{violin.integration.spec-3P4TYHBR.js.map → violin.integration.spec-6NF5FDLQ.js.map} +0 -0
  961. /package/dist/{violin.interactivity-VWDR4LYB.js.map → violin.interactivity-W2AKZ24D.js.map} +0 -0
  962. /package/dist/{violin.renderer-WWTU6J7X.js.map → violin.renderer-CRFYYZRI.js.map} +0 -0
  963. /package/dist/{vocabulary-JG4ZITOH.js.map → vocabulary-AUJOAVYS.js.map} +0 -0
@@ -1,2363 +0,0 @@
1
- import {
2
- spliceevent_exonskip_getdefault_default
3
- } from "./chunk-LSV4Z473.js";
4
- import {
5
- spliceevent_phrase_default
6
- } from "./chunk-BQJVLXEL.js";
7
- import {
8
- legend_newrow
9
- } from "./chunk-CAWDQURD.js";
10
- import "./chunk-V2OJLJSK.js";
11
- import "./chunk-ARINZFQG.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-LN3QYBGI.js";
23
- import "./chunk-HJ6L54YS.js";
24
- import "./chunk-LSEFWW72.js";
25
- import "./chunk-BTJFVY3R.js";
26
- import {
27
- Menu
28
- } from "./chunk-HYOEWQ5P.js";
29
- import "./chunk-HBW42TDT.js";
30
- import "./chunk-G6O3URDN.js";
31
- import "./chunk-FN5XPUPH.js";
32
- import "./chunk-KWM6B3NL.js";
33
- import "./chunk-UCLS2SVB.js";
34
- import "./chunk-UWYCEYML.js";
35
- import "./chunk-7UHUOC6F.js";
36
- import {
37
- dofetch2,
38
- dofetch3
39
- } from "./chunk-YC6ZJ7RP.js";
40
- import "./chunk-MVTCBVSX.js";
41
- import "./chunk-2K5DSRBJ.js";
42
- import "./chunk-ZYY54HBU.js";
43
- import "./chunk-EGWVYY7K.js";
44
- import {
45
- IN_frame,
46
- OUT_frame,
47
- bplen,
48
- defaultcolor,
49
- spliceeventchangegmexon
50
- } from "./chunk-AMYSEKPF.js";
51
- import "./chunk-AQVOYTLS.js";
52
- import "./chunk-TV74I3Y5.js";
53
- import {
54
- category10_default
55
- } from "./chunk-KSGA62R2.js";
56
- import {
57
- axisRight
58
- } from "./chunk-LOZEKOES.js";
59
- import "./chunk-TOU7EVFQ.js";
60
- import {
61
- linear,
62
- log,
63
- ordinal
64
- } from "./chunk-OAWQ6LOO.js";
65
- import "./chunk-L4QG7XZE.js";
66
- import "./chunk-KYBIQBXE.js";
67
- import {
68
- select_default
69
- } from "./chunk-I6Y4O3RR.js";
70
- import "./chunk-OMR2DT66.js";
71
- import "./chunk-DQC5FFGV.js";
72
- import {
73
- __commonJS,
74
- __toESM
75
- } from "./chunk-HFNDKYVF.js";
76
-
77
- // ../node_modules/d3-beeswarm/build/d3-beeswarm.js
78
- var require_d3_beeswarm = __commonJS({
79
- "../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
80
- (function(global, factory) {
81
- typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
82
- })(exports, function(exports2) {
83
- "use strict";
84
- function beeswarm2() {
85
- var data = [];
86
- var radius = 4;
87
- var orientation = "horizontal";
88
- var side = "symetric";
89
- var distributeOn = (
90
- // accessor to the x value
91
- function(datum) {
92
- return datum.x;
93
- }
94
- );
95
- var minDistanceBetweenCircles;
96
- var minSquareDistanceBetweenCircles;
97
- var xBasedDataManager;
98
- var xBasedColliderManager;
99
- var yBasedColliderManager;
100
- var arrangement;
101
- var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
102
- function _beeswarm() {
103
- }
104
- _beeswarm.data = function(_) {
105
- if (!arguments.length) {
106
- return data;
107
- }
108
- data = _;
109
- return _beeswarm;
110
- };
111
- _beeswarm.radius = function(_) {
112
- if (!arguments.length) {
113
- return radius;
114
- }
115
- radius = _;
116
- return _beeswarm;
117
- };
118
- _beeswarm.orientation = function(_) {
119
- if (!arguments.length) {
120
- return orientation;
121
- }
122
- if (_ === "horizontal" || _ === "vertical") {
123
- orientation = _;
124
- }
125
- return _beeswarm;
126
- };
127
- _beeswarm.side = function(_) {
128
- if (!arguments.length) {
129
- return side;
130
- }
131
- if (_ === "symetric" || _ === "positive" || _ === "negative") {
132
- side = _;
133
- }
134
- return _beeswarm;
135
- };
136
- _beeswarm.distributeOn = function(_) {
137
- if (!arguments.length) {
138
- return distributeOn;
139
- }
140
- distributeOn = _;
141
- return _beeswarm;
142
- };
143
- _beeswarm.arrange = function() {
144
- initArrangement();
145
- arrangement.forEach(function(d) {
146
- var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
147
- if (xBasedPossibleColliders.length === 0) {
148
- bestYPosition = 0;
149
- } else {
150
- yBasedColliderManager.clear();
151
- yBasedColliderManager.addMany(xBasedPossibleColliders);
152
- d.free = 0;
153
- if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
154
- bestYPosition = 0;
155
- totalVisitedColliders += visitedColliderCount;
156
- if (visitedColliderCount > maxVisitedColliders) {
157
- maxVisitedColliders = visitedColliderCount;
158
- }
159
- visitedColliderCount = 0;
160
- totalTestedPlacements += 1;
161
- } else {
162
- xBasedPossibleColliders.forEach(function(xbpc) {
163
- relativeYPos = yPosRelativeToXbpc(xbpc, d);
164
- placeBelow(d, xbpc, relativeYPos);
165
- if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
166
- bestYPosition = d.free;
167
- }
168
- totalVisitedColliders += visitedColliderCount;
169
- if (visitedColliderCount > maxVisitedColliders) {
170
- maxVisitedColliders = visitedColliderCount;
171
- }
172
- visitedColliderCount = 0;
173
- totalTestedPlacements += 1;
174
- placeAbove(d, xbpc, relativeYPos);
175
- if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
176
- bestYPosition = d.free;
177
- }
178
- totalVisitedColliders += visitedColliderCount;
179
- if (visitedColliderCount > maxVisitedColliders) {
180
- maxVisitedColliders = visitedColliderCount;
181
- }
182
- visitedColliderCount = 0;
183
- totalTestedPlacements += 1;
184
- });
185
- }
186
- }
187
- ;
188
- d.free = bestYPosition;
189
- if (orientation === "horizontal") {
190
- d.x = d.fixed;
191
- d.y = bestYPosition;
192
- } else {
193
- d.x = bestYPosition;
194
- d.y = d.fixed;
195
- }
196
- xBasedColliderManager.add(d);
197
- });
198
- return arrangement;
199
- };
200
- _beeswarm.metrics = function() {
201
- return {
202
- totalPossibleColliders,
203
- maxPossibleColliders,
204
- totalTestedPlacements,
205
- visitedColliderCount,
206
- totalVisitedColliders,
207
- maxVisitedColliders
208
- };
209
- };
210
- function initArrangement() {
211
- arrangement = data.map(function(d, i) {
212
- return {
213
- datum: d,
214
- id: i,
215
- fixed: distributeOn(d),
216
- free: -Infinity
217
- };
218
- });
219
- minDistanceBetweenCircles = 2 * radius;
220
- minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
221
- xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
222
- return d.fixed;
223
- }).addMany(arrangement);
224
- xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
225
- return d.fixed;
226
- });
227
- yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
228
- return d.free;
229
- });
230
- totalPossibleColliders = maxPossibleColliders = 0;
231
- totalTestedPlacements = 0;
232
- visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
233
- }
234
- function findNearestPossibleCollider(dln, visitedDln, direction) {
235
- if (visitedDln === null) {
236
- return null;
237
- } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
238
- return null;
239
- } else {
240
- if (isFinite(visitedDln.datum.free)) {
241
- return visitedDln.datum;
242
- }
243
- return findNearestPossibleCollider(dln, visitedDln[direction], direction);
244
- }
245
- }
246
- function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
247
- if (visitedDln === null) {
248
- return;
249
- } else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
250
- return;
251
- } else {
252
- xBasedPossibleColliders.push(visitedDln.datum);
253
- visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
254
- }
255
- }
256
- function gatherXBasedPossibleColliders(datum) {
257
- var xBasedPossibleColliders = [];
258
- var dln = xBasedDataManager.dln(datum);
259
- var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
260
- var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
261
- if (nearestXPrevAlreadyArrangedData != null) {
262
- dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
263
- visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
264
- }
265
- if (nearestXNextAlreadyArrangedData != null) {
266
- dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
267
- visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
268
- }
269
- totalPossibleColliders += xBasedPossibleColliders.length;
270
- if (xBasedPossibleColliders.length > maxPossibleColliders) {
271
- maxPossibleColliders = xBasedPossibleColliders.length;
272
- }
273
- return xBasedPossibleColliders;
274
- }
275
- function isAuthorizedPlacement(datum) {
276
- if (side === "symetric") {
277
- return true;
278
- } else if (side === "positive") {
279
- return datum.free >= 0;
280
- } else {
281
- return datum.free <= 0;
282
- }
283
- }
284
- function isBetterPlacement(datum, bestYPosition) {
285
- return Math.abs(datum.free) < Math.abs(bestYPosition);
286
- }
287
- function yPosRelativeToXbpc(xbpc, d) {
288
- return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
289
- }
290
- function placeBelow(d, aad, relativeYPos) {
291
- d.free = aad.free - relativeYPos;
292
- }
293
- function placeAbove(d, aad, relativeYPos) {
294
- d.free = aad.free + relativeYPos;
295
- }
296
- function areCirclesColliding(d0, d1) {
297
- visitedColliderCount++;
298
- return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
299
- }
300
- function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
301
- if (visitedDln === null) {
302
- return false;
303
- } else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
304
- return false;
305
- } else if (areCirclesColliding(datum, visitedDln.datum)) {
306
- return true;
307
- } else {
308
- return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
309
- }
310
- }
311
- function collidesWithOther(datum, visitedDln) {
312
- var visitCount = 0;
313
- if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
314
- return true;
315
- } else {
316
- return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
317
- }
318
- }
319
- function SortedDirectAccessDoublyLinkedList() {
320
- this._valueAccesor = // accessor to the value to sort on
321
- function(obj) {
322
- return obj.value;
323
- };
324
- this._min = null;
325
- this._max = null;
326
- this._closestTo0 = null;
327
- this.size = 0;
328
- this._idToNode = {};
329
- }
330
- SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
331
- if (!arguments.length) {
332
- return this._valueAccesor;
333
- }
334
- this._valueAccesor = _;
335
- return this;
336
- };
337
- SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
338
- return this._closestTo0;
339
- };
340
- SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
341
- this._min = null;
342
- this._max = null;
343
- this._closestTo0 = null;
344
- this.size = 0;
345
- this._idToNode = {};
346
- return this;
347
- };
348
- SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
349
- return this._idToNode[datum.id];
350
- };
351
- SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
352
- data2.forEach(function(datum, item) {
353
- this.add(datum);
354
- }, this);
355
- return this;
356
- };
357
- SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
358
- var dln = {
359
- datum,
360
- // original datum
361
- value: this._valueAccesor(datum),
362
- prev: null,
363
- // previous value-based node
364
- next: null
365
- // next value-based node
366
- };
367
- if (this.size === 0) {
368
- this._min = this._max = this._closestTo0 = dln;
369
- } else {
370
- if (dln.value <= this._min.value) {
371
- dln.next = this._min;
372
- dln.next.prev = dln;
373
- this._min = dln;
374
- } else if (dln.value >= this._max.value) {
375
- dln.prev = this._max;
376
- dln.prev.next = dln;
377
- this._max = dln;
378
- } else {
379
- var current = this._max;
380
- while (current.value > dln.value) {
381
- current = current.prev;
382
- }
383
- dln.prev = current;
384
- dln.next = current.next;
385
- dln.next.prev = dln;
386
- dln.prev.next = dln;
387
- }
388
- if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
389
- this._closestTo0 = dln;
390
- }
391
- }
392
- this._idToNode[dln.datum.id] = dln;
393
- this.size++;
394
- return this;
395
- };
396
- SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
397
- var dln = this.dln(datum);
398
- if (this.size === 1) {
399
- this._min = this._max = this._closestTo0 = null;
400
- } else {
401
- if (dln === this._closestTo0) {
402
- if (this._closestTo0.next === null) {
403
- this._closestTo0 = dln.prev;
404
- } else if (this.closestToZero.prev === null) {
405
- this._closestTo0 = dln.prev;
406
- } else {
407
- var prevAbsValue = Math.abs(this._closestTo0.prev.value);
408
- var nextAbsValue = Math.abs(this._closestTo0.next.value);
409
- if (prevAbsValue < nextAbsValue) {
410
- this._closestTo0 = this._closestTo0.prev;
411
- } else {
412
- this._closestTo0 = this._closestTo0.next;
413
- }
414
- }
415
- }
416
- if (dln === this._min) {
417
- this._min = this._min.next;
418
- this._min.prev = null;
419
- } else if (dln === this._max) {
420
- this._max = this._max.prev;
421
- this._max.next = null;
422
- } else {
423
- dln.next.prev = dln.prev;
424
- dln.prev.next = dln.next;
425
- }
426
- }
427
- dln = null;
428
- delete this._idToNode[datum.id];
429
- this.size--;
430
- return this;
431
- };
432
- return _beeswarm;
433
- }
434
- ;
435
- exports2.beeswarm = beeswarm2;
436
- Object.defineProperty(exports2, "__esModule", { value: true });
437
- });
438
- }
439
- });
440
-
441
- // src/spliceevent.prep.js
442
- function mapjunctiontoexons(junctions, genes) {
443
- for (const j of junctions) {
444
- j.exonleft = [];
445
- j.exonright = [];
446
- j.exonleftin = [];
447
- j.exonrightin = [];
448
- j.intronleft = [];
449
- j.intronright = [];
450
- j.leftout = [];
451
- j.rightout = [];
452
- j.matchisoform = [];
453
- }
454
- const usegenes = [];
455
- for (const gene of genes) {
456
- let use = false;
457
- for (const j of junctions) {
458
- if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
459
- use = true;
460
- break;
461
- }
462
- }
463
- if (use) {
464
- usegenes.push(gene);
465
- }
466
- }
467
- if (usegenes.length == 0) {
468
- return;
469
- }
470
- const leftpos = /* @__PURE__ */ new Map();
471
- const rightpos = /* @__PURE__ */ new Map();
472
- for (const j of junctions) {
473
- if (!leftpos.has(j.start)) {
474
- leftpos.set(j.start, []);
475
- }
476
- leftpos.get(j.start).push(j);
477
- if (!rightpos.has(j.stop)) {
478
- rightpos.set(j.stop, []);
479
- }
480
- rightpos.get(j.stop).push(j);
481
- }
482
- for (const [pos, jlst] of leftpos) {
483
- for (const gm of usegenes) {
484
- if (!gm.exon) continue;
485
- for (let i = 0; i < gm.exon.length; i++) {
486
- if (gm.exon[i][1] - 1 == pos) {
487
- for (const j of jlst) {
488
- j.exonleft.push({
489
- gm,
490
- exonidx: i
491
- });
492
- }
493
- }
494
- if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
495
- for (const j of jlst) {
496
- j.exonleftin.push({
497
- gm,
498
- exonidx: i
499
- });
500
- }
501
- }
502
- }
503
- if (gm.intron) {
504
- for (let i = 0; i < gm.intron.length; i++) {
505
- if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
506
- for (const j of jlst) {
507
- j.intronleft.push({
508
- gm,
509
- intronidx: i
510
- });
511
- }
512
- }
513
- }
514
- }
515
- }
516
- }
517
- for (const [pos, jlst] of rightpos) {
518
- for (const gm of usegenes) {
519
- if (!gm.exon) continue;
520
- for (let i = 0; i < gm.exon.length; i++) {
521
- if (gm.exon[i][0] == pos) {
522
- for (const j of jlst) {
523
- j.exonright.push({
524
- gm,
525
- exonidx: i
526
- });
527
- }
528
- }
529
- if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
530
- for (const j of jlst) {
531
- j.exonrightin.push({
532
- gm,
533
- exonidx: i
534
- });
535
- }
536
- }
537
- }
538
- if (gm.intron) {
539
- for (let i = 0; i < gm.intron.length; i++) {
540
- if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
541
- for (const j of jlst) {
542
- j.intronright.push({
543
- gm,
544
- intronidx: i
545
- });
546
- }
547
- }
548
- }
549
- }
550
- }
551
- }
552
- for (const j of junctions) {
553
- {
554
- const isoforms = /* @__PURE__ */ new Set();
555
- for (const q of j.exonleft) isoforms.add(q.gm.isoform);
556
- for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
557
- for (const q of j.intronleft) isoforms.add(q.gm.isoform);
558
- if (isoforms.size) {
559
- for (const gm of usegenes) {
560
- if (!isoforms.has(gm.isoform)) continue;
561
- if (gm.stop <= j.stop) {
562
- j.rightout.push({
563
- gm
564
- });
565
- }
566
- }
567
- }
568
- }
569
- {
570
- const isoforms = /* @__PURE__ */ new Set();
571
- for (const q of j.exonright) isoforms.add(q.gm.isoform);
572
- for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
573
- for (const q of j.intronright) isoforms.add(q.gm.isoform);
574
- if (isoforms.size) {
575
- for (const gm of usegenes) {
576
- if (!isoforms.has(gm.isoform)) continue;
577
- if (gm.start > j.start) {
578
- j.leftout.push({
579
- gm
580
- });
581
- }
582
- }
583
- }
584
- }
585
- }
586
- for (const j of junctions) {
587
- if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
588
- for (const el of j.exonleft) {
589
- for (const er of j.exonright) {
590
- if (el.gm.isoform == er.gm.isoform) {
591
- j.matchisoform.push({
592
- gm: el.gm,
593
- leftexonidx: el.exonidx,
594
- rightexonidx: er.exonidx
595
- });
596
- }
597
- }
598
- }
599
- }
600
- }
601
-
602
- // src/spliceevent.exonskip.js
603
- var exonskipcolor = "#99004d";
604
- var exonaltcolor = "#004d99";
605
- function findexonskipping(multisample, junctions, gmdata) {
606
- const allevents = [];
607
- for (const j0 of junctions) {
608
- if (!j0.matchisoform || j0.matchisoform.length == 0) {
609
- continue;
610
- }
611
- for (const j0isoform of j0.matchisoform) {
612
- const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
613
- const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
614
- if (j0exonend - j0exonbegin <= 1) {
615
- continue;
616
- }
617
- const jB = j0;
618
- const thisevent = {
619
- skippedexon: [],
620
- junctionB: jB,
621
- junctionAlst: []
622
- };
623
- for (let i = j0exonbegin + 1; i < j0exonend; i++) {
624
- thisevent.skippedexon.push(i);
625
- }
626
- let gmB = null;
627
- for (const gm of gmdata) {
628
- if (!gm.intron) continue;
629
- for (const i of gm.intron) {
630
- if (i[0] - 1 == jB.start && i[1] == jB.stop) {
631
- gmB = gm;
632
- break;
633
- }
634
- }
635
- if (gmB) {
636
- break;
637
- }
638
- }
639
- if (gmB) {
640
- thisevent.isaltexon = true;
641
- thisevent.color = exonaltcolor;
642
- thisevent.gmA = j0isoform.gm;
643
- thisevent.gmB = gmB;
644
- } else {
645
- thisevent.isskipexon = true;
646
- thisevent.color = exonskipcolor;
647
- thisevent.gm = j0isoform.gm;
648
- const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
649
- if (utr3) thisevent.utr3 = true;
650
- if (utr5) thisevent.utr5 = true;
651
- if (coding) thisevent.coding = true;
652
- }
653
- {
654
- const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
655
- for (const ja of jAlst) {
656
- thisevent.junctionAlst.push(ja);
657
- }
658
- }
659
- if (thisevent.isskipexon) {
660
- findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
661
- }
662
- if (multisample) {
663
- if (!jB.data) {
664
- console.error("exonskip: jB.data missing when it is multi-sample");
665
- continue;
666
- }
667
- if (jB.data.length == 0) {
668
- console.error("exonskip: jB.data.length==0");
669
- continue;
670
- }
671
- let percentagesamplesum = 0;
672
- for (const sampleBdata of jB.data) {
673
- const bcount = sampleBdata.v;
674
- let acountsum = 0;
675
- for (const junctionA of thisevent.junctionAlst) {
676
- if (!junctionA) {
677
- continue;
678
- }
679
- if (!junctionA.data) {
680
- console.log("exonskip: jA.data missing when multi-sample");
681
- continue;
682
- }
683
- for (const sampleAdata of junctionA.data) {
684
- if (sampleAdata.tkid == sampleBdata.tkid) {
685
- acountsum += sampleAdata.v;
686
- break;
687
- }
688
- }
689
- }
690
- percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
691
- }
692
- thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
693
- } else {
694
- let asum = 0;
695
- for (const _j of thisevent.junctionAlst) {
696
- asum += _j ? _j.data[0].v : 0;
697
- }
698
- thisevent.percentage = Math.ceil(
699
- 100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
700
- );
701
- }
702
- allevents.push(thisevent);
703
- }
704
- }
705
- const exoncoords = /* @__PURE__ */ new Map();
706
- for (const evt of allevents) {
707
- const positionlst = [];
708
- for (const eid of evt.skippedexon) {
709
- let thisexon;
710
- if (evt.isskipexon) {
711
- thisexon = evt.gm.exon[eid];
712
- } else {
713
- thisexon = evt.gmA.exon[eid];
714
- }
715
- positionlst.push(thisexon[0]);
716
- positionlst.push(thisexon[1]);
717
- }
718
- if (positionlst.length == 0) {
719
- console.error("not possible: no skipped exon position for exon-skip");
720
- console.log(evt);
721
- continue;
722
- }
723
- positionlst.sort();
724
- const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
725
- if (!exoncoords.has(posstr)) {
726
- exoncoords.set(posstr, []);
727
- }
728
- exoncoords.get(posstr).push(evt);
729
- }
730
- const eventsetlst = [];
731
- for (const eventlst of exoncoords.values()) {
732
- const thisset = {
733
- eventlst,
734
- exonlst: []
735
- // each exon: {start:, stop:}
736
- };
737
- eventsetlst.push(thisset);
738
- const firstevent = eventlst[0];
739
- for (const eid of firstevent.skippedexon) {
740
- const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
741
- const thisexon = gm.exon[eid];
742
- thisset.exonlst.push({
743
- chr: gm.chr,
744
- start: thisexon[0],
745
- stop: thisexon[1]
746
- });
747
- }
748
- let eventcount_skip = 0, eventcount_alt = 0;
749
- for (const evt of eventlst) {
750
- if (evt.isskipexon) {
751
- eventcount_skip++;
752
- } else {
753
- eventcount_alt++;
754
- }
755
- }
756
- thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
757
- const exonnumberset = /* @__PURE__ */ new Set();
758
- for (const evt of eventlst) {
759
- const thisexonnumbers = [];
760
- for (const eid of evt.skippedexon) {
761
- thisexonnumbers.push(eid + 1);
762
- }
763
- exonnumberset.add(thisexonnumbers.join(","));
764
- }
765
- if (exonnumberset.size == 1) {
766
- thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
767
- } else {
768
- thisset.toplabelsays = "exon ";
769
- }
770
- thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
771
- if (multisample) {
772
- let samplecount = 0;
773
- for (const evt of eventlst) {
774
- samplecount = Math.max(samplecount, evt.junctionB.data.length);
775
- }
776
- thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
777
- }
778
- thisset.bottomlabelsays = firstevent.percentage + "%";
779
- }
780
- return eventsetlst;
781
- }
782
- function findjunctionbystartstop(lst, p1, p2) {
783
- const start = Math.min(p1, p2);
784
- const stop = Math.max(p1, p2);
785
- for (const j of lst) {
786
- if (j.start == start && j.stop == stop) return j;
787
- }
788
- return null;
789
- }
790
- function findjunctionAlst(junctions, gm, exonbegin, exonend) {
791
- const lst = [];
792
- const exonstart = Math.min(exonbegin, exonend);
793
- const exonstop = Math.max(exonbegin, exonend);
794
- if (gm.strand == "+") {
795
- for (let i = exonstart; i < exonstop; i++) {
796
- const p1 = gm.exon[i][1] - 1;
797
- const p2 = gm.exon[i + 1][0];
798
- lst.push(findjunctionbystartstop(junctions, p1, p2));
799
- }
800
- } else {
801
- for (let i = exonstop; i > exonstart; i--) {
802
- const p1 = gm.exon[i][1] - 1;
803
- const p2 = gm.exon[i - 1][0];
804
- lst.unshift(findjunctionbystartstop(junctions, p1, p2));
805
- }
806
- }
807
- return lst;
808
- }
809
- function findupdown1junction4exonskip(evt, gm, junctions) {
810
- let exonidx = evt.skippedexon[0];
811
- if (exonidx > 1) {
812
- let p1, p2;
813
- if (gm.strand == "+") {
814
- p1 = gm.exon[exonidx - 2][1] - 1;
815
- p2 = gm.exon[exonidx - 1][0];
816
- } else {
817
- p1 = gm.exon[exonidx - 1][1] - 1;
818
- p2 = gm.exon[exonidx - 2][0];
819
- }
820
- evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
821
- }
822
- exonidx = evt.skippedexon[evt.skippedexon.length - 1];
823
- if (exonidx < gm.exon.length - 2) {
824
- let p1, p2;
825
- if (gm.strand == "+") {
826
- p1 = gm.exon[exonidx + 1][1] - 1;
827
- p2 = gm.exon[exonidx + 2][0];
828
- } else {
829
- p1 = gm.exon[exonidx + 2][1] - 1;
830
- p2 = gm.exon[exonidx + 1][0];
831
- }
832
- evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
833
- }
834
- }
835
- function checkexoncodingutr(exonidlst, gm) {
836
- if (!gm.coding) {
837
- return [false, false, false];
838
- }
839
- let exonstart = gm.exon[exonidlst[0]][0];
840
- let exonstop = gm.exon[exonidlst[0]][1];
841
- for (const idx of exonidlst) {
842
- exonstart = Math.min(gm.exon[idx][0], exonstart);
843
- exonstop = Math.max(gm.exon[idx][1], exonstop);
844
- }
845
- const forward = gm.strand == "+";
846
- let utr3 = false, utr5 = false, coding = false;
847
- if (exonstop <= gm.codingstart) {
848
- if (forward) {
849
- utr5 = true;
850
- } else {
851
- utr3 = true;
852
- }
853
- } else if (exonstart >= gm.codingstop) {
854
- if (forward) {
855
- utr3 = true;
856
- } else {
857
- utr5 = true;
858
- }
859
- } else {
860
- coding = true;
861
- }
862
- return [utr3, utr5, coding];
863
- }
864
-
865
- // src/block.tk.junction.spliceevent.js
866
- function spliceeventanalyze(tk, block) {
867
- if (tk.eventsg) {
868
- tk.eventsg.selectAll("*").remove();
869
- }
870
- if (tk.type != tkt.junction) {
871
- return;
872
- }
873
- if (!tk.data) {
874
- return;
875
- }
876
- if (tk.data.length == 0) {
877
- return;
878
- }
879
- const [gmdataerr, gmdata] = getgmdata(block);
880
- if (gmdataerr) {
881
- const fontsize = 12;
882
- const pad = 2;
883
- tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
884
- 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");
885
- tk.height_main += pad * 2 + fontsize;
886
- block.block_setheight();
887
- return;
888
- }
889
- if (!gmdata) {
890
- return;
891
- }
892
- for (const junction of tk.data) {
893
- delete junction.spliceevents;
894
- }
895
- mapjunctiontoexons(tk.data, gmdata);
896
- const allevents = [];
897
- const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
898
- if (exonskipalt.length > 0) {
899
- for (const exonset of exonskipalt) {
900
- if (exonlstoutofrange(exonset.exonlst, block)) {
901
- continue;
902
- }
903
- allevents.push(exonset);
904
- for (const thisevt of exonset.eventlst) {
905
- if (!thisevt.junctionB.spliceevents) {
906
- thisevt.junctionB.spliceevents = [];
907
- }
908
- thisevt.junctionB.spliceevents.push(thisevt);
909
- }
910
- }
911
- }
912
- if (allevents.length) {
913
- rendereventsintrack(allevents, tk, block);
914
- }
915
- }
916
- function rendereventsintrack(allevents, tk, block) {
917
- const labelfontsize = 10;
918
- const stackspace = 1;
919
- const boxlabelspacing = 2;
920
- let stackheight;
921
- if (tk.totalsamplecount > 1) {
922
- stackheight = labelfontsize * 3 + stackspace * 2;
923
- } else {
924
- stackheight = labelfontsize * 2 + stackspace;
925
- }
926
- for (const eventset of allevents) {
927
- eventset.g = tk.eventsg.append("g");
928
- const junctionB = eventset.eventlst[0].junctionB;
929
- const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
930
- 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");
931
- if (tk.totalsamplecount > 1) {
932
- 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");
933
- }
934
- let willshowframe = false;
935
- let thiseventframe = null;
936
- for (const evt of eventset.eventlst) {
937
- if (evt.isaltexon) {
938
- evt.framenocheck = true;
939
- continue;
940
- }
941
- if (evt.isskipexon) {
942
- if (!evt.gm.coding) {
943
- evt.framenocheck = true;
944
- continue;
945
- }
946
- if (evt.utr3 || evt.utr5) {
947
- evt.framenocheck = true;
948
- continue;
949
- }
950
- }
951
- willshowframe = true;
952
- if (block.genome.junctionframecache.has(jbstr)) {
953
- let isoform;
954
- if (evt.isskipexon) {
955
- isoform = evt.gm.isoform;
956
- }
957
- const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
958
- if (thisframe == void 0) {
959
- } else {
960
- evt.frame = thisframe;
961
- if (thiseventframe == null) {
962
- thiseventframe = thisframe;
963
- } else {
964
- if (thisframe == IN_frame) {
965
- thiseventframe = IN_frame;
966
- }
967
- }
968
- }
969
- } else {
970
- }
971
- }
972
- eventset.bottomlabel = eventset.g.append("text").text(
973
- eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
974
- ).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
975
- if (willshowframe && thiseventframe == null) {
976
- for (const evt of eventset.eventlst) {
977
- let gm;
978
- if (evt.isaltexon) {
979
- gm = evt.gmB;
980
- } else if (evt.isskipexon) {
981
- gm = evt.gm;
982
- }
983
- if (!block.genome.junctionframecache.has(jbstr)) {
984
- checkjunctionframe({
985
- jbstr,
986
- evt,
987
- gm,
988
- block,
989
- eventset
990
- });
991
- continue;
992
- }
993
- if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
994
- checkjunctionframe({
995
- jbstr,
996
- evt,
997
- gm,
998
- block,
999
- eventset
1000
- });
1001
- }
1002
- }
1003
- }
1004
- const exonobjlst = [];
1005
- let boxstart = null, boxstop;
1006
- for (const exon of eventset.exonlst) {
1007
- const pointa = block.seekcoord(exon.chr, exon.start)[0];
1008
- if (!pointa) {
1009
- console.log("skipped exon start position not mapped: " + exon.start);
1010
- return;
1011
- }
1012
- const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
1013
- if (!pointb) {
1014
- console.log("skipped exon stop position not mapped: " + exon.stop);
1015
- return;
1016
- }
1017
- const exonobj = {
1018
- x: Math.min(pointa.x, pointb.x),
1019
- w: Math.max(1, Math.abs(pointa.x - pointb.x))
1020
- };
1021
- exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
1022
- console.log(eventset);
1023
- });
1024
- if (boxstart == null) {
1025
- boxstart = exonobj.x;
1026
- boxstop = exonobj.x + exonobj.w;
1027
- } else {
1028
- boxstart = Math.min(boxstart, exonobj.x);
1029
- boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
1030
- }
1031
- exonobjlst.push(exonobj);
1032
- }
1033
- for (const exon of exonobjlst) {
1034
- exon.rect.attr("x", exon.x - boxstart);
1035
- }
1036
- eventset.boxstart = boxstart;
1037
- eventset.boxwidth = boxstop - boxstart;
1038
- if (eventset.exonlst.length > 1) {
1039
- 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);
1040
- }
1041
- eventset.toplabel.each(function() {
1042
- eventset.labelwidth = this.getBBox().width;
1043
- });
1044
- if (eventset.middlelabel) {
1045
- eventset.middlelabel.each(function() {
1046
- eventset.labelwidth = this.getBBox().width;
1047
- });
1048
- }
1049
- eventset.bottomlabel.each(function() {
1050
- eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
1051
- });
1052
- if (eventset.labelwidth > eventset.boxstart) {
1053
- eventset.labelonright = true;
1054
- eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
1055
- eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
1056
- if (eventset.middlelabel) {
1057
- eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
1058
- }
1059
- } else {
1060
- eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1061
- eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1062
- if (eventset.middlelabel) {
1063
- eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
1064
- }
1065
- }
1066
- 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", () => {
1067
- eventset.cover.attr("fill-opacity", 0.1);
1068
- }).on("mouseout", () => {
1069
- eventset.cover.attr("fill-opacity", 0);
1070
- }).on("click", () => {
1071
- tk.tktip.clear();
1072
- displayspliceevents(eventset.eventlst, tk.tktip.d);
1073
- tk.tktip.showunder(eventset.cover.node());
1074
- });
1075
- }
1076
- const stacks = [0];
1077
- for (const eventset of allevents) {
1078
- let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
1079
- let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
1080
- for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
1081
- if (x1 > stacks[stackidx]) {
1082
- eventset.stackidx = stackidx;
1083
- stacks[stackidx] = x2;
1084
- break;
1085
- }
1086
- if (!eventset.labelonright) {
1087
- const newx1 = eventset.boxstart;
1088
- const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
1089
- if (newx1 > stacks[stackidx] && newx2 <= block.width) {
1090
- eventset.labelonright = true;
1091
- eventset.stackidx = stackidx;
1092
- stacks[stackidx] = newx2;
1093
- eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1094
- eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1095
- if (eventset.middlelabel) {
1096
- eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
1097
- }
1098
- eventset.cover.attr("x", 0);
1099
- break;
1100
- }
1101
- }
1102
- }
1103
- if (eventset.stackidx == void 0) {
1104
- eventset.stackidx = stacks.length;
1105
- stacks.push(x2);
1106
- }
1107
- eventset.g.attr(
1108
- "transform",
1109
- "translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
1110
- );
1111
- }
1112
- tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
1113
- block.block_setheight();
1114
- }
1115
- function checkjunctionframe(arg) {
1116
- if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1117
- arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
1118
- }
1119
- if (!arg.gm.coding) {
1120
- arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
1121
- mayupdateeventsetlabel(arg);
1122
- return;
1123
- }
1124
- const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
1125
- dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
1126
- if (!data) {
1127
- console.log("server error");
1128
- return;
1129
- }
1130
- if (data.error) {
1131
- console.log(data.error);
1132
- return;
1133
- }
1134
- if (typeof data.frame != "boolean") {
1135
- console.log("invalid result from translategm: " + data.frame);
1136
- return;
1137
- }
1138
- arg.evt.frame = data.frame;
1139
- arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
1140
- mayupdateeventsetlabel(arg);
1141
- });
1142
- }
1143
- function mayupdateeventsetlabel(arg) {
1144
- if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
1145
- return;
1146
- }
1147
- let frame = OUT_frame;
1148
- for (const evt of arg.eventset.eventlst) {
1149
- if (evt.framenocheck) {
1150
- continue;
1151
- }
1152
- let isoform;
1153
- if (evt.isskipexon) {
1154
- isoform = evt.gm.isoform;
1155
- }
1156
- const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
1157
- if (thisframe == void 0) {
1158
- return;
1159
- }
1160
- if (thisframe == IN_frame) {
1161
- frame = IN_frame;
1162
- }
1163
- }
1164
- arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
1165
- }
1166
- function displayspliceevents(events, holder) {
1167
- const evt2showidx = spliceevent_exonskip_getdefault_default(events);
1168
- if (events.length > 1) {
1169
- holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
1170
- const name = Math.random().toString();
1171
- for (const [idx, evt] of events.entries()) {
1172
- const id = name + idx;
1173
- const row = holder.append("div").style("margin-top", "3px");
1174
- row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
1175
- displayspliceevents_show(events, idx, showdiv);
1176
- });
1177
- row.append("label").attr("for", id).html("&nbsp;" + spliceevent_phrase_default(evt));
1178
- }
1179
- }
1180
- const showdiv = holder.append("div");
1181
- displayspliceevents_show(events, evt2showidx, showdiv);
1182
- }
1183
- function displayspliceevents_show(events, idx, div) {
1184
- div.selectAll("*").remove();
1185
- import("./spliceevent.exonskip.diagram-3CZTY6QD.js").then((p) => {
1186
- p.default({
1187
- event: events[idx],
1188
- holder: div,
1189
- nophrase: events.length > 1
1190
- });
1191
- });
1192
- }
1193
- function exonlstoutofrange(lst, block) {
1194
- const chr = lst[0].chr;
1195
- let start = lst[0].start;
1196
- let stop = lst[0].stop;
1197
- for (const e of lst) {
1198
- start = Math.min(start, e.start);
1199
- stop = Math.max(stop, e.stop);
1200
- }
1201
- const starthit = block.seekcoord(chr, start)[0];
1202
- const stophit = block.seekcoord(chr, stop)[0];
1203
- if (!starthit || !stophit) {
1204
- return true;
1205
- }
1206
- let startoutleft = false;
1207
- let startoutright = false;
1208
- if (starthit.x <= 0) {
1209
- startoutleft = true;
1210
- } else if (starthit.x >= block.width) {
1211
- startoutright = true;
1212
- }
1213
- let stopoutleft = false;
1214
- let stopoutright = false;
1215
- if (stophit.x <= 0) {
1216
- stopoutleft = true;
1217
- } else if (stophit.x >= block.width) {
1218
- stopoutright = true;
1219
- }
1220
- if (startoutleft && stopoutleft) return true;
1221
- if (startoutright && stopoutright) return true;
1222
- return false;
1223
- }
1224
- function getgmdata(block) {
1225
- if (!block.gmmode || block.gmmode == gmmode.genomic) {
1226
- const genetk = [];
1227
- for (const t of block.tklst) {
1228
- if (t.__isgene) {
1229
- genetk.push(t);
1230
- }
1231
- }
1232
- if (genetk.length == 0) {
1233
- return ["Add a gene track to analyze splice junctions."];
1234
- }
1235
- const gmdatalst = [];
1236
- for (const t of genetk) {
1237
- if (t.gmdata) {
1238
- for (const m of t.gmdata) {
1239
- gmdatalst.push(m);
1240
- }
1241
- }
1242
- }
1243
- if (gmdatalst.length == 0) {
1244
- return [null];
1245
- }
1246
- const regions = [];
1247
- for (const m of gmdatalst) {
1248
- let overlap = false;
1249
- for (const r of regions) {
1250
- if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
1251
- overlap = true;
1252
- r.start = Math.min(r.start, m.start);
1253
- r.stop = Math.max(r.stop, m.stop);
1254
- break;
1255
- }
1256
- }
1257
- if (!overlap) {
1258
- regions.push({ start: m.start, stop: m.stop });
1259
- }
1260
- }
1261
- if (regions.length >= 3) {
1262
- return ["Zoom in on a single gene to analyze splice junctions."];
1263
- }
1264
- return [null, gmdatalst];
1265
- }
1266
- if (block.gmmode == gmmode.gmsum) {
1267
- if (!block.allgm) {
1268
- return ["Error: block.allgm[] is missing"];
1269
- }
1270
- return [null, block.allgm];
1271
- }
1272
- if (!block.usegm) {
1273
- return ["Error: block.usegm is missing"];
1274
- }
1275
- return [null, [block.usegm]];
1276
- }
1277
-
1278
- // src/block.tk.junction.renderjunctions.js
1279
- var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
1280
- var colorfunc = ordinal(category10_default);
1281
- var minfontsize = 12;
1282
- function rendertk(junctions, tk, block) {
1283
- if (tk.data) {
1284
- const map = /* @__PURE__ */ new Map();
1285
- for (const j of tk.data) {
1286
- map.set(j.chr + "." + j.start + "." + j.stop, j);
1287
- }
1288
- const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
1289
- for (const i of junctions) {
1290
- const j = map.get(i.chr + "." + i.start + "." + i.stop);
1291
- if (j) {
1292
- i.x = j.x + pannedpx;
1293
- i.mode = j.mode;
1294
- i.modefix = j.modefix;
1295
- if (i.mode == modesample) {
1296
- i.mode = moderaise;
1297
- }
1298
- }
1299
- }
1300
- }
1301
- tk.data = junctions;
1302
- tk.glider.selectAll("*").remove();
1303
- tk.leftaxis.selectAll("*").remove();
1304
- if (tk.readcountcutoff) {
1305
- const newj = [];
1306
- for (const j of tk.data) {
1307
- if (j.data) {
1308
- const newsamples = [];
1309
- for (const s of j.data) {
1310
- if (s.v >= tk.readcountcutoff) {
1311
- newsamples.push(s);
1312
- }
1313
- }
1314
- if (newsamples.length == 0) {
1315
- continue;
1316
- }
1317
- j.data = newsamples;
1318
- newj.push(j);
1319
- } else {
1320
- if (j.v >= tk.readcountcutoff) {
1321
- newj.push(j);
1322
- }
1323
- }
1324
- }
1325
- tk.data = newj;
1326
- }
1327
- if (tk.data.length == 0) {
1328
- tk.height_main = 50;
1329
- block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
1330
- tk.label_mcount.text("");
1331
- if (tk.label_samplecount) {
1332
- tk.label_samplecount.text("");
1333
- }
1334
- get_leftLabelMaxwidth(tk);
1335
- block.setllabel();
1336
- block.block_setheight();
1337
- return;
1338
- }
1339
- tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
1340
- get_leftLabelMaxwidth(tk);
1341
- block.setllabel();
1342
- junctiontype2color(tk, block);
1343
- const mg = tk.glider.append("g");
1344
- tk.data.sort((a, b) => {
1345
- return a._x - b._x;
1346
- });
1347
- let maxsamplecount = 0;
1348
- if (tk.totalsamplecount > 1) {
1349
- maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
1350
- const radius = 5;
1351
- let mrd = 0;
1352
- const w = Math.pow(radius, 2) * Math.PI;
1353
- if (maxsamplecount <= 10) {
1354
- mrd = w * maxsamplecount * 0.9;
1355
- } else if (maxsamplecount <= 100) {
1356
- mrd = w * 10;
1357
- } else if (maxsamplecount <= 1e3) {
1358
- mrd = w * 14;
1359
- } else {
1360
- mrd = w * 20;
1361
- }
1362
- const sf_discradius = linear().domain([
1363
- 1,
1364
- maxsamplecount * 0.5 + 0.1,
1365
- maxsamplecount * 0.6 + 0.1,
1366
- maxsamplecount * 0.7 + 0.1,
1367
- maxsamplecount * 0.8 + 0.1,
1368
- maxsamplecount
1369
- ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1370
- let maxradius = 0;
1371
- for (const j of tk.data) {
1372
- j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
1373
- if (j.data.length > 1) {
1374
- mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
1375
- const b = this.getBBox();
1376
- const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
1377
- j.radius = Math.max(j.radius, newrad);
1378
- }).remove();
1379
- }
1380
- j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1381
- j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1382
- maxradius = Math.max(maxradius, j.radius2);
1383
- }
1384
- tk.maxradius = maxradius;
1385
- } else {
1386
- maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
1387
- const radius = 5;
1388
- let mrd = 0;
1389
- const w = Math.pow(radius, 2) * Math.PI;
1390
- if (maxsamplecount <= 10) {
1391
- mrd = w * maxsamplecount * 0.9;
1392
- } else if (maxsamplecount <= 100) {
1393
- mrd = w * 5;
1394
- } else if (maxsamplecount <= 1e3) {
1395
- mrd = w * 7;
1396
- } else {
1397
- mrd = w * 10;
1398
- }
1399
- const sf_discradius = linear().domain([
1400
- 1,
1401
- maxsamplecount * 0.5 + 0.1,
1402
- maxsamplecount * 0.6 + 0.1,
1403
- maxsamplecount * 0.7 + 0.1,
1404
- maxsamplecount * 0.8 + 0.1,
1405
- maxsamplecount
1406
- ]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
1407
- let maxradius = 0;
1408
- for (const j of tk.data) {
1409
- j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
1410
- j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
1411
- j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
1412
- maxradius = Math.max(maxradius, j.radius2);
1413
- }
1414
- tk.maxradius = maxradius;
1415
- }
1416
- let maxread = 0, maxmedian = 0, maxmedianradius = 0;
1417
- for (const j of tk.data) {
1418
- for (const s of j.data) {
1419
- maxread = Math.max(s.v, maxread);
1420
- }
1421
- if (j.data.length == 1) {
1422
- j.median = j.data[0].v;
1423
- } else {
1424
- const readlst = j.data.map((s) => s.v);
1425
- readlst.sort((a, b) => a - b);
1426
- j.median = readlst[Math.floor(j.data.length / 2)];
1427
- }
1428
- if (j.median > maxmedian) {
1429
- maxmedian = j.median;
1430
- maxmedianradius = j.radius;
1431
- }
1432
- }
1433
- tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
1434
- axisstyle({
1435
- axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
1436
- color: "black",
1437
- showline: true
1438
- });
1439
- tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
1440
- tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
1441
- automode(tk, null, block.width);
1442
- mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
1443
- {
1444
- const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
1445
- 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");
1446
- 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");
1447
- let v = 10;
1448
- while (v <= maxread) {
1449
- 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");
1450
- v *= 10;
1451
- }
1452
- }
1453
- const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
1454
- j.jugg = this;
1455
- });
1456
- tk.jug = jug;
1457
- if (tk.hljunctions) {
1458
- jug.attr("class", (d) => {
1459
- for (const j of tk.hljunctions) {
1460
- if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
1461
- return "sja_pulse";
1462
- }
1463
- }
1464
- return null;
1465
- });
1466
- }
1467
- 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) {
1468
- d.leg1 = this;
1469
- }).classed("sja_jug_leg1", true);
1470
- 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) {
1471
- d.leg2 = this;
1472
- });
1473
- const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
1474
- 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) {
1475
- d.stem = this;
1476
- });
1477
- jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
1478
- 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");
1479
- 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) => {
1480
- jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
1481
- jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
1482
- jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
1483
- select_default(d.leg1).attr("stroke-opacity", 1);
1484
- select_default(d.leg2).attr("stroke-opacity", 1);
1485
- select_default(d.stem).attr("stroke-opacity", 1);
1486
- if (d.mode == modefold) {
1487
- foldedjunctioninfo(d, tk);
1488
- return;
1489
- }
1490
- const circle = event.target.getBoundingClientRect();
1491
- expandedjunctioninfo(d, tk, circle);
1492
- }).on("mouseout", () => {
1493
- tk.pica.g.selectAll("*").remove();
1494
- tk.tktip.hide();
1495
- jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
1496
- jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
1497
- jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
1498
- }).on("mousedown", (event) => {
1499
- event.stopPropagation();
1500
- }).on("click", (event, d) => {
1501
- if (d.mode == modefold) {
1502
- d.mode = moderaise;
1503
- } else if (d.mode == moderaise) {
1504
- if (d.data.length == 1) {
1505
- d.mode = modefold;
1506
- } else {
1507
- d.mode = modesample;
1508
- junctionsamplespread(d, tk, block);
1509
- }
1510
- } else {
1511
- d.mode = modefold;
1512
- }
1513
- d.modefix = true;
1514
- horiplace(tk.data, block.width, tk);
1515
- });
1516
- horiplace(tk.data, block.width, tk);
1517
- function set_lineopacity(d) {
1518
- return 0.5;
1519
- }
1520
- block.onloadalltk.push(() => {
1521
- spliceeventanalyze(tk, block);
1522
- });
1523
- block.tkcloakoff(tk, {});
1524
- block.block_setheight();
1525
- }
1526
- function horiplace(lst, width, tk) {
1527
- const todo = [];
1528
- for (const i of lst) {
1529
- if (i.x0 < 0) {
1530
- i.tox = i.x1 - i.radius2 * 2;
1531
- } else if (i.x1 > width) {
1532
- i.tox = i.x0 + i.radius2 * 2;
1533
- } else {
1534
- i.tox = i._x;
1535
- }
1536
- if (i.mode == modefold) {
1537
- i.x = i.tox;
1538
- } else {
1539
- todo.push(i);
1540
- }
1541
- }
1542
- for (const i of lst) {
1543
- i.x = i.tox;
1544
- }
1545
- set_all(tk);
1546
- return;
1547
- }
1548
- function automode(tk, usemode, blockwidth) {
1549
- for (const i of tk.data) {
1550
- if (!i.mode) i.mode = moderaise;
1551
- }
1552
- return;
1553
- const samplecountlst = [];
1554
- for (let i = 0; i < tk.data.length; i++) {
1555
- samplecountlst.push({
1556
- idx: i,
1557
- count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
1558
- });
1559
- }
1560
- samplecountlst.sort((a, b) => b.count - a.count);
1561
- let cumx = 0;
1562
- for (const cc of samplecountlst) {
1563
- const d = tk.data[cc.idx];
1564
- if (!d.mode) {
1565
- cumx += d.radius2 * 2;
1566
- d.mode = cumx >= blockwidth ? modefold : moderaise;
1567
- } else {
1568
- if (d.modefix) {
1569
- if (d.mode != modefold) {
1570
- cumx += d.radius2 * 2;
1571
- }
1572
- } else {
1573
- if (usemode) {
1574
- d.mode = usemode;
1575
- if (d.mode != modefold) {
1576
- cumx += d.radius2 * 2;
1577
- }
1578
- } else {
1579
- cumx += d.radius2 * 2;
1580
- d.mode = cumx >= blockwidth ? modefold : moderaise;
1581
- }
1582
- }
1583
- }
1584
- }
1585
- }
1586
- function set_jug(d) {
1587
- return "translate(" + d.x + ",0)";
1588
- }
1589
- function set_leg_x1(d) {
1590
- return d.x0 - d.x;
1591
- }
1592
- function set_leg_x2(d) {
1593
- return d.x1 - d.x;
1594
- }
1595
- function set_discnum(d) {
1596
- return d.mode == modefold ? 0 : 1;
1597
- }
1598
- function set_stem_y1(d) {
1599
- if (d.mode == modefold) return d.radius;
1600
- return d.radius2;
1601
- }
1602
- function set_qmg(d, tk) {
1603
- if (d.mode == modesample)
1604
- return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
1605
- return "translate(0,0) scale(0)";
1606
- }
1607
- function set_leg_y(d, tk) {
1608
- if (d.mode == modefold) return -tk.legheight;
1609
- return -tk.legheight - tk.lowpad - tk.maxradius * 2;
1610
- }
1611
- function set_jug2(d, tk) {
1612
- if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
1613
- if (d.mode == moderaise)
1614
- return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
1615
- return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
1616
- }
1617
- function set_stem_y2(d, tk) {
1618
- if (d.mode == modefold) return d.radius + tk.lowpad;
1619
- if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
1620
- return tk.maxradius + tk.padheight;
1621
- }
1622
- function set_all(tk) {
1623
- const dur = 500;
1624
- if (tk.totalsamplecount > 1) {
1625
- tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
1626
- tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
1627
- }
1628
- tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
1629
- tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
1630
- tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
1631
- tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
1632
- tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
1633
- }
1634
- function junctiontype2color(tk, block) {
1635
- for (const j of tk.data) {
1636
- j.color = defaultcolor;
1637
- }
1638
- if (tk.nocatepreconfig) {
1639
- let categories = {};
1640
- if (tk.categories) {
1641
- categories = tk.categories;
1642
- }
1643
- let hasnewtype = false;
1644
- for (const j of tk.data) {
1645
- if (j.type) {
1646
- if (!categories[j.type]) {
1647
- hasnewtype = true;
1648
- categories[j.type] = {
1649
- label: j.type
1650
- };
1651
- if (j.type.toLowerCase() == "known") {
1652
- categories[j.type].color = "#0C72A8";
1653
- } else if (j.type.toLowerCase() == "novel") {
1654
- categories[j.type].color = "#A80C33";
1655
- } else {
1656
- categories[j.type].color = colorfunc(j.type);
1657
- }
1658
- }
1659
- }
1660
- }
1661
- if (hasnewtype) {
1662
- tk.categories = categories;
1663
- if (!tk.tr_legend) {
1664
- const [tr, td] = legend_newrow(block, tk.name);
1665
- tk.tr_legend = tr;
1666
- tk.td_legend = td;
1667
- tr.style("display", "none");
1668
- appear(tr, "table-row");
1669
- }
1670
- category2legend(tk.categories, tk.td_legend);
1671
- }
1672
- }
1673
- if (tk.categories) {
1674
- for (const j of tk.data) {
1675
- if (j.type && tk.categories[j.type]) {
1676
- j.color = tk.categories[j.type].color;
1677
- }
1678
- }
1679
- }
1680
- }
1681
- function foldedjunctioninfo(d, tk) {
1682
- const fontsize = 15;
1683
- let pad = 5, y = pad, width = 0;
1684
- const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
1685
- if (d.type) {
1686
- 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() {
1687
- width = this.getBBox().width;
1688
- });
1689
- y += fontsize;
1690
- }
1691
- if (d.data) {
1692
- 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() {
1693
- width = Math.max(width, this.getBBox().width);
1694
- });
1695
- y += fontsize;
1696
- 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() {
1697
- width = Math.max(width, this.getBBox().width);
1698
- });
1699
- y += fontsize;
1700
- } else {
1701
- 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() {
1702
- width = Math.max(width, this.getBBox().width);
1703
- });
1704
- y += fontsize;
1705
- }
1706
- y += pad;
1707
- bg.attr("width", pad * 2 + width).attr("height", y);
1708
- 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);
1709
- y += 15;
1710
- tk.pica.g.attr(
1711
- "transform",
1712
- "translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
1713
- );
1714
- }
1715
- function expandedjunctioninfo(d, tk, circle) {
1716
- tk.tktip.clear();
1717
- const holder = tk.tktip.d;
1718
- if (d.type) {
1719
- 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");
1720
- }
1721
- holder.append("div").html(
1722
- bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
1723
- );
1724
- if (d.data) {
1725
- if (d.data.length > 1) {
1726
- holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
1727
- if (d.rimcount) {
1728
- holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
1729
- }
1730
- holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
1731
- } else if (d.data.length == 1) {
1732
- samplejunctiontooltip(d, d.data[0], tk, holder);
1733
- }
1734
- } else {
1735
- holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
1736
- }
1737
- if (d.spliceevents && d.spliceevents.length > 0) {
1738
- const renderdiv = holder.append("div").style("margin", "10px 0px");
1739
- displayspliceevents(d.spliceevents, renderdiv);
1740
- }
1741
- tk.tktip.show(circle.left + circle.width, circle.top - 50);
1742
- }
1743
- function junctionsamplespread(j, tk, block) {
1744
- if (j.qmg) {
1745
- j.qmg.remove();
1746
- }
1747
- if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
1748
- for (const d of j.data) {
1749
- if (!d[tk.cohortsetting.cohort.levels[0].k]) {
1750
- d.color = "gray";
1751
- continue;
1752
- }
1753
- const levelkeys = [];
1754
- for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
1755
- const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
1756
- if (levelvalue) {
1757
- levelkeys.push(levelvalue);
1758
- }
1759
- }
1760
- const str = levelkeys.join(tk.cohortsetting.levelseparator);
1761
- d.color = tk.cohortsetting.colorfunc(str);
1762
- }
1763
- }
1764
- 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();
1765
- const jugg = select_default(j.jugg);
1766
- j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
1767
- const opacity = 0.8;
1768
- j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
1769
- return bee.datum.color || "green";
1770
- }).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
1771
- select_default(event.target).attr("fill-opacity", 1);
1772
- const p = event.target.getBoundingClientRect();
1773
- tk.tktip.clear();
1774
- tk.tktip.show(p.left + 20, p.top - 40);
1775
- samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
1776
- }).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
1777
- if (tk.tracks) {
1778
- return;
1779
- }
1780
- }).transition().attr("cx", (bee) => bee.x);
1781
- }
1782
- function samplejunctiontooltip(j, sample, tk, holder) {
1783
- if (sample.sample) {
1784
- holder.append("div").html(sample.sample);
1785
- } else if (sample.name) {
1786
- holder.append("div").html(sample.name);
1787
- } else if (sample.patient || sample.sampletype) {
1788
- if (sample.patient) {
1789
- holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
1790
- }
1791
- if (sample.sampletype) {
1792
- holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
1793
- }
1794
- } else if (sample.tkid) {
1795
- for (const t of tk.tracks) {
1796
- if (t.tkid == sample.tkid) {
1797
- holder.append("div").text(t.name || "unnamed member");
1798
- break;
1799
- }
1800
- }
1801
- }
1802
- if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
1803
- for (const lev of tk.cohortsetting.cohort.levels) {
1804
- if (sample[lev.k]) {
1805
- holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
1806
- }
1807
- }
1808
- }
1809
- holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
1810
- if (sample.metadata) {
1811
- holder.append("div").html(
1812
- '<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>"
1813
- );
1814
- }
1815
- if (sample.hasrim) {
1816
- holder.append("div").text(tk.rimwhat);
1817
- }
1818
- if (j.spliceevents) {
1819
- const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
1820
- const evt = j.spliceevents[evtidx];
1821
- const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
1822
- let jbcount = 0;
1823
- if (evt.junctionB && evt.junctionB.data) {
1824
- for (const d of evt.junctionB.data) {
1825
- if (d.tkid == sample.tkid) {
1826
- jbcount = d.v;
1827
- break;
1828
- }
1829
- }
1830
- }
1831
- let acountsum = 0;
1832
- if (evt.junctionAlst) {
1833
- for (const ja of evt.junctionAlst) {
1834
- if (ja && ja.data) {
1835
- for (const d of ja.data) {
1836
- if (d.tkid == sample.tkid) {
1837
- acountsum += d.v;
1838
- break;
1839
- }
1840
- }
1841
- }
1842
- }
1843
- }
1844
- let percent;
1845
- if (jbcount == 0) {
1846
- percent = 0;
1847
- } else {
1848
- percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
1849
- }
1850
- holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
1851
- }
1852
- }
1853
- function get_leftLabelMaxwidth(tk) {
1854
- const collectlabw = [];
1855
- tk.tklabel.each(function() {
1856
- collectlabw.push(this.getBBox().width);
1857
- });
1858
- if (tk.label_mcount) {
1859
- tk.label_mcount.each(function() {
1860
- collectlabw.push(this.getBBox().width);
1861
- });
1862
- }
1863
- tk.leftLabelMaxwidth = Math.max(...collectlabw);
1864
- }
1865
-
1866
- // src/block.tk.junction.js
1867
- var binpxw = 5;
1868
- var modefold = 1;
1869
- var moderaise = 2;
1870
- var modesample = 3;
1871
- var labyspace = 5;
1872
- function makeTk(tk, block) {
1873
- tk.leftaxis = tk.gleft.append("g");
1874
- let laby = labyspace + block.labelfontsize;
1875
- const thistip = new Menu({ padding: "none" });
1876
- tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
1877
- label_mcount_fillpane(tk, block, thistip);
1878
- });
1879
- laby += labyspace + block.labelfontsize;
1880
- tk.totalsamplecount = 0;
1881
- tk.height_main = 100;
1882
- tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
1883
- if (tk.categories || tk.cohortsetting) {
1884
- const [tr, td] = legend_newrow(block, tk.name);
1885
- tk.tr_legend = tr;
1886
- tk.td_legend = td;
1887
- }
1888
- if (tk.categories) {
1889
- category2legend(tk.categories, tk.td_legend);
1890
- }
1891
- if (tk.cohortsetting) {
1892
- tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
1893
- tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
1894
- }
1895
- }
1896
- function junctionload(tk, block) {
1897
- if (tk.uninitialized) {
1898
- makeTk(tk, block);
1899
- delete tk.uninitialized;
1900
- }
1901
- if ((block.zoomedin || block.resized) && tk.data) {
1902
- const junc = [];
1903
- for (const i of tk.data) {
1904
- const oldx = i.x;
1905
- const e = j2block(i, block);
1906
- if (e) {
1907
- continue;
1908
- }
1909
- if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
1910
- i.x = oldx;
1911
- junc.push(i);
1912
- }
1913
- }
1914
- rendertk(junc, tk, block);
1915
- return;
1916
- }
1917
- if (tk.fixeddata) {
1918
- block.tkcloakon(tk);
1919
- const junc2 = [];
1920
- for (const j of tk.fixeddata) {
1921
- const j2 = {
1922
- chr: j.chr,
1923
- start: j.start,
1924
- stop: j.stop,
1925
- data: j.data,
1926
- type: j.type
1927
- };
1928
- const e = j2block(j2, block);
1929
- if (e) {
1930
- continue;
1931
- }
1932
- junc2.push(j2);
1933
- }
1934
- tk.totalsamplecount = tk.tracks[0].samplecount;
1935
- tk.axisheight = 200;
1936
- tk.legheight = 50;
1937
- tk.bottompad = 0;
1938
- tk.qmradius = 2;
1939
- tk.lowpad = 15;
1940
- tk.padheight = 10;
1941
- rendertk(junc2, tk, block);
1942
- return;
1943
- }
1944
- if (!tk.tracks) {
1945
- block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
1946
- tk.height_main = 50;
1947
- block.block_setheight();
1948
- return;
1949
- }
1950
- block.block_setheight();
1951
- block.tkcloakon(tk);
1952
- const bincount = Math.ceil(block.width / binpxw);
1953
- let bins = null;
1954
- let donenum = 0;
1955
- const tasks = [];
1956
- const allfiledata = [];
1957
- for (const t of tk.tracks) {
1958
- const getheader = new Promise((resolve, reject) => {
1959
- if (t.rnapegfile) {
1960
- t.samplecount = 1;
1961
- return resolve();
1962
- }
1963
- if (t.samplecount != void 0 && t.checkedheader) return resolve();
1964
- const par = {};
1965
- if (t.file) {
1966
- par.file = t.file;
1967
- } else {
1968
- par.url = t.url;
1969
- if (t.indexURL) par.indexURL = t.indexURL;
1970
- }
1971
- dofetch3("tabixheader", { body: par }).then((data) => {
1972
- if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
1973
- t.checkedheader = true;
1974
- const str = data.lines.join("");
1975
- if (!str) {
1976
- } else {
1977
- const l = str.trim().split(" ");
1978
- t.headersamples = [];
1979
- for (let i = 5; i < l.length; i++) {
1980
- const str2 = l[i];
1981
- let j = null;
1982
- if (str2[0] == "{" && str2[str2.length - 1] == "}") {
1983
- try {
1984
- j = JSON.parse(str2);
1985
- } catch (e) {
1986
- console.error("header line field [" + i + "] is broken json: " + str2);
1987
- }
1988
- }
1989
- if (j) {
1990
- j.tkid = Math.random().toString();
1991
- t.headersamples.push(j);
1992
- } else {
1993
- t.headersamples.push({
1994
- name: l[i],
1995
- tkid: Math.random().toString()
1996
- });
1997
- }
1998
- }
1999
- t.samplecount = t.headersamples.length;
2000
- tk.totalsamplecount += t.samplecount;
2001
- }
2002
- resolve();
2003
- });
2004
- });
2005
- const getdata = new Promise((resolve, reject) => {
2006
- getheader.then(() => {
2007
- const par = {
2008
- genome: block.genome.name,
2009
- rglst: block.tkarg_maygm(t)
2010
- };
2011
- if (bincount) par.bincount = bincount;
2012
- if (t.file || t.rnapegfile) {
2013
- par.file = t.file || t.rnapegfile;
2014
- } else {
2015
- par.url = t.url;
2016
- if (t.indexURL) par.indexURL = t.indexURL;
2017
- }
2018
- if (t.rnapegfile) {
2019
- par.isrnapeg = 1;
2020
- }
2021
- dofetch3("junction", { body: par }).then((data) => {
2022
- donenum++;
2023
- if (tk.tracks.length > 1) {
2024
- block.tkprogress(tk, donenum / tk.tracks.length);
2025
- }
2026
- if (!data) reject("server error for getting member track " + t.name);
2027
- if (data.error) reject("Cannot get data: " + data.error);
2028
- if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
2029
- if (data.lst) {
2030
- if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
2031
- t.samplecount = data.lst[0].rawdata.length;
2032
- tk.totalsamplecount += t.samplecount;
2033
- }
2034
- if (bins) {
2035
- } else {
2036
- const thisfilejunctions = [];
2037
- for (const k of data.lst) {
2038
- k.data = [];
2039
- for (let i = 0; i < k.rawdata.length; i++) {
2040
- const v = k.rawdata[i];
2041
- if (!Number.isInteger(v) || v <= 0) {
2042
- continue;
2043
- }
2044
- const s = { v };
2045
- if (t.headersamples) {
2046
- const s0 = t.headersamples[i];
2047
- if (s0) {
2048
- for (const _k in s0) {
2049
- s[_k] = s0[_k];
2050
- }
2051
- }
2052
- } else {
2053
- if (t.name) s.name = t.name;
2054
- if (t.sample) s.sample = t.sample;
2055
- if (t.patient) s.patient = t.patient;
2056
- if (t.sampeltype) s.sampletype = t.sampletype;
2057
- if (t.tkid) s.tkid = t.tkid;
2058
- if (t.file) s.file = t.file;
2059
- if (t.url) s.url = t.url;
2060
- if (t.indexURL) s.indexURL = t.indexURL;
2061
- }
2062
- k.data.push(s);
2063
- }
2064
- delete k.rawdata;
2065
- thisfilejunctions.push(k);
2066
- }
2067
- resolve(thisfilejunctions);
2068
- }
2069
- } else {
2070
- }
2071
- });
2072
- }).catch((err) => reject(err));
2073
- });
2074
- tasks.push(getdata);
2075
- }
2076
- Promise.all(tasks).then((data) => {
2077
- const junc = [];
2078
- data.forEach((dat) => {
2079
- if (!dat) return;
2080
- dat.forEach((k) => {
2081
- let notfound = true;
2082
- for (const j of junc) {
2083
- if (j.start == k.start && j.stop == k.stop) {
2084
- j.data = j.data.concat(k.data);
2085
- notfound = false;
2086
- break;
2087
- }
2088
- }
2089
- if (notfound) {
2090
- junc.push(k);
2091
- }
2092
- });
2093
- });
2094
- for (const j of junc) {
2095
- j2block(j, block);
2096
- }
2097
- for (const j of junc) {
2098
- smuggleattributes(j);
2099
- }
2100
- if (!tk.axisheight) {
2101
- if (tk.totalsamplecount > 1) {
2102
- tk.axisheight = 200;
2103
- tk.legheight = 50;
2104
- tk.bottompad = 0;
2105
- tk.qmradius = 2;
2106
- tk.lowpad = 15;
2107
- tk.padheight = 10;
2108
- } else {
2109
- tk.axisheight = 100;
2110
- tk.legheight = 20;
2111
- tk.bottompad = 0;
2112
- tk.lowpad = 10;
2113
- tk.padheight = 10;
2114
- }
2115
- if (tk.cohortsetting) {
2116
- initcohortsetting(tk, block);
2117
- }
2118
- }
2119
- rendertk(junc, tk, block);
2120
- }).catch((err) => {
2121
- tk.glider.selectAll("*").remove();
2122
- block.tkcloakoff(tk, { error: err });
2123
- block.block_setheight();
2124
- });
2125
- }
2126
- function j2block(j, block) {
2127
- const starthit = block.seekcoord(j.chr, j.start)[0];
2128
- if (!starthit) {
2129
- return true;
2130
- }
2131
- const stophit = block.seekcoord(j.chr, j.stop)[0];
2132
- if (!stophit) {
2133
- return true;
2134
- }
2135
- const startout = starthit.x < 0 || starthit.x > block.width;
2136
- const stopout = stophit.x < 0 || stophit.x > block.width;
2137
- if (startout && stopout) {
2138
- return true;
2139
- }
2140
- j.x0 = starthit.x;
2141
- j.x1 = stophit.x;
2142
- j.x = (j.x0 + j.x1) / 2;
2143
- j._x = j.x;
2144
- if (!j.modefix) {
2145
- j.mode = moderaise;
2146
- }
2147
- return false;
2148
- }
2149
- function smuggleattributes(j) {
2150
- }
2151
- function label_mcount_fillpane(tk, block, tip) {
2152
- tip.clear();
2153
- const holder = tip.d;
2154
- const types = /* @__PURE__ */ new Map();
2155
- for (const j of tk.data) {
2156
- if (!j.type) continue;
2157
- if (!types.has(j.type)) {
2158
- types.set(j.type, []);
2159
- }
2160
- if (j.data) {
2161
- types.get(j.type).push(j.data.map((i) => i.v));
2162
- } else {
2163
- types.get(j.type).push(j.v);
2164
- }
2165
- }
2166
- if (types.size) {
2167
- const d = holder.append("div").style("margin", "8px");
2168
- for (const [type, valuelst] of types) {
2169
- d.append("div").style("margin", "2px").html(
2170
- valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
2171
- );
2172
- let vlst = valuelst;
2173
- if (tk.tracks) {
2174
- vlst = [];
2175
- for (const l of valuelst) {
2176
- vlst.push(...l);
2177
- }
2178
- }
2179
- if (vlst.length == 1) {
2180
- } else {
2181
- d.append("table").style("margin-left", "20px").html(
2182
- '<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>'
2183
- );
2184
- }
2185
- }
2186
- } else {
2187
- let vlst = [];
2188
- if (tk.tracks) {
2189
- for (const j of tk.data) {
2190
- vlst.push(...j.data.map((i) => i.v));
2191
- }
2192
- } else {
2193
- vlst = tk.data.map((j) => j.v);
2194
- }
2195
- if (vlst.length > 1) {
2196
- holder.append("table").html(
2197
- '<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>'
2198
- );
2199
- }
2200
- }
2201
- holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
2202
- tip.hide();
2203
- for (const j of tk.data) {
2204
- j.mode = modefold;
2205
- j.modefix = true;
2206
- }
2207
- horiplace(tk.data, block.width, tk);
2208
- });
2209
- holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
2210
- tip.hide();
2211
- for (const j of tk.data) {
2212
- j.modefix = false;
2213
- }
2214
- automode(tk, null, block.width);
2215
- for (const j of tk.data) {
2216
- j.modefix = true;
2217
- }
2218
- horiplace(tk.data, block.width, tk);
2219
- });
2220
- holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
2221
- tip.hide();
2222
- downloadjunctions(tk);
2223
- });
2224
- tip.showunder(tk.label_mcount.node());
2225
- }
2226
- function downloadjunctions(tk) {
2227
- const txt = [];
2228
- if (tk.file || tk.url) {
2229
- if (tk.data) {
2230
- txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
2231
- for (const j of tk.data) {
2232
- txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
2233
- }
2234
- }
2235
- } else if (tk.tracks) {
2236
- if (tk.data) {
2237
- const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
2238
- for (const t of tk.tracks) {
2239
- const lst = [];
2240
- if (t.patient) lst.push(t.patient);
2241
- if (t.sampletype) lst.push(t.sampletype);
2242
- if (lst.length == 0) {
2243
- lst.push(t.name);
2244
- }
2245
- header.push(lst.join(", "));
2246
- }
2247
- txt.push(header.join(" "));
2248
- for (const j of tk.data) {
2249
- const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
2250
- const hash = /* @__PURE__ */ new Map();
2251
- for (const jsample of j.data) {
2252
- hash.set(jsample.tkid, jsample.v);
2253
- }
2254
- for (const t of tk.tracks) {
2255
- lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
2256
- }
2257
- txt.push(lst.join(" "));
2258
- }
2259
- }
2260
- }
2261
- export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
2262
- }
2263
- function configpanel(tk, block) {
2264
- tk.tkconfigtip.clear().showunder(tk.config_handle.node());
2265
- const holder = tk.tkconfigtip.d;
2266
- {
2267
- const row = holder.append("div").style("margin-bottom", "10px");
2268
- row.append("span").html("Read count cutoff&nbsp;");
2269
- row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
2270
- if (!keyupEnter(event)) return;
2271
- const v = Number.parseFloat(event.target.value);
2272
- if (v == 0) {
2273
- if (tk.readcountcutoff) {
2274
- tk.readcountcutoff = 0;
2275
- junctionload(tk, block);
2276
- } else {
2277
- }
2278
- return;
2279
- }
2280
- if (!v || v < 0) {
2281
- return;
2282
- }
2283
- if (tk.readcountcutoff) {
2284
- if (tk.readcountcutoff == v) {
2285
- } else if (tk.readcountcutoff > v) {
2286
- tk.readcountcutoff = v;
2287
- junctionload(tk, block);
2288
- } else {
2289
- tk.readcountcutoff = v;
2290
- rendertk(tk.data, tk, block);
2291
- }
2292
- } else {
2293
- tk.readcountcutoff = v;
2294
- junctionload(tk, block);
2295
- }
2296
- });
2297
- const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
2298
- if (tk.totalsamplecount > 1) {
2299
- note.text("For a junction, samples with read count lower than cutoff will not be shown.");
2300
- } else {
2301
- note.text("Junctions with read count lower than cutoff will not be shown.");
2302
- }
2303
- }
2304
- }
2305
- function initcohortsetting(tk, block) {
2306
- if (!tk.cohortsetting.cohort) {
2307
- sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
2308
- return;
2309
- }
2310
- if (!tk.cohortsetting.cohort.levels) {
2311
- sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
2312
- return;
2313
- }
2314
- if (!tk.cohortsetting.cohort.levels[0]) {
2315
- sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
2316
- return;
2317
- }
2318
- tk.cohortsetting.levelseperator = ".";
2319
- tk.cohortsetting.uselevelidx = 0;
2320
- setcohortlegend_usecohortlevel(tk, block);
2321
- }
2322
- function setcohortlegend_usecohortlevel(tk, block) {
2323
- tk.cohortsetting.legendholder.selectAll("*").remove();
2324
- tk.cohortsetting.colorfunc = ordinal(category10_default);
2325
- const stratkey2count = /* @__PURE__ */ new Map();
2326
- for (const t of tk.tracks) {
2327
- for (const s of t.headersamples) {
2328
- if (!s[tk.cohortsetting.cohort.levels[0].k]) {
2329
- continue;
2330
- }
2331
- const thissamplekeys = [];
2332
- for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
2333
- const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
2334
- if (thislevelkey) {
2335
- thissamplekeys.push(thislevelkey);
2336
- }
2337
- }
2338
- const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
2339
- if (!stratkey2count.has(str)) {
2340
- stratkey2count.set(str, {
2341
- count: 0,
2342
- label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
2343
- });
2344
- }
2345
- stratkey2count.get(str).count++;
2346
- }
2347
- }
2348
- const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
2349
- for (const item of sorteditems) {
2350
- const color = tk.cohortsetting.colorfunc(item[0]);
2351
- const label = item[1].label;
2352
- const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
2353
- row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html("&nbsp;&nbsp;");
2354
- row.append("div").style("display", "inline-block").text(label);
2355
- }
2356
- }
2357
- export {
2358
- junctionload,
2359
- modefold,
2360
- moderaise,
2361
- modesample
2362
- };
2363
- //# sourceMappingURL=block.tk.junction-BONB4BXU.js.map