@sjcrh/proteinpaint-client 2.166.0 → 2.167.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (882) hide show
  1. package/dist/2dmaf-6M6QWXAQ.js +1364 -0
  2. package/dist/AIProjectAdmin-2NHMC3IV.js +780 -0
  3. package/dist/AppHeader-CTHEWSZD.js +813 -0
  4. package/dist/BoxPlot-3U6ZAKKO.js +44 -0
  5. package/dist/CorrelationVolcano-2ASIR6KY.js +616 -0
  6. package/dist/DifferentialAnalysis-C3NYGF7U.js +237 -0
  7. package/dist/Disco-2QLBZ3X5.js +3089 -0
  8. package/dist/Disco.UI-GPIIPM2P.js +238 -0
  9. package/dist/DziViewer-OHPZOH72.js +16328 -0
  10. package/dist/GB-FH6YQGHI.js +1099 -0
  11. package/dist/HicApp-TI2II3SZ.js +2218 -0
  12. package/dist/NumBinaryEditor-O42T63EX.js +259 -0
  13. package/dist/NumBinaryEditor.unit.spec-UMB2PHT5.js +277 -0
  14. package/dist/NumContEditor-7NOUKPCV.js +98 -0
  15. package/dist/NumContEditor.unit.spec-JGXJ2HLE.js +160 -0
  16. package/dist/NumCustomBinEditor-6CHN3KX3.js +29 -0
  17. package/dist/NumCustomBinEditor.unit.spec-RJPQLE3E.js +275 -0
  18. package/dist/NumDiscreteEditor-AFTUKU4K.js +145 -0
  19. package/dist/NumDiscreteEditor.unit.spec-GKR6ZNBQ.js +193 -0
  20. package/dist/NumRegularBinEditor-UJ5WQPHR.js +29 -0
  21. package/dist/NumRegularBinEditor.unit.spec-5HGJQEX7.js +220 -0
  22. package/dist/NumSplineEditor-JANA2DUE.js +181 -0
  23. package/dist/NumSplineEditor.unit.spec-UYAMAKZD.js +190 -0
  24. package/dist/NumericDensity-YE5R4CNP.js +29 -0
  25. package/dist/NumericDensity.unit.spec-SVEB5U2S.js +212 -0
  26. package/dist/NumericHandler-WW4M7YW2.js +30 -0
  27. package/dist/NumericHandler.unit.spec-2BWDFO53.js +210 -0
  28. package/dist/SC-UGJGMBL7.js +714 -0
  29. package/dist/Volcano-IU76MEIL.js +1018 -0
  30. package/dist/WSIViewer-3S7N4UDO.js +46959 -0
  31. package/dist/WsiSamplesPlot-4CAOHWCL.js +153 -0
  32. package/dist/adSandbox-AEBS3RTL.js +29 -0
  33. package/dist/alphaGenome-F2PB4SGI.js +170 -0
  34. package/dist/app-6SKETLMT.js +28 -0
  35. package/dist/app-GBEF2HBR.js +54 -0
  36. package/dist/app.js +16 -16
  37. package/dist/bam-5SE6XQJV.js +842 -0
  38. package/dist/barchart-AUSOT2XB.js +48 -0
  39. package/dist/barchart.data-GYCNBRPY.js +30 -0
  40. package/dist/barchart.events-QTSWNYXO.js +44 -0
  41. package/dist/barchart.integration.spec-LORJLJVX.js +1600 -0
  42. package/dist/bars.renderer-4N4QOUNI.js +12 -0
  43. package/dist/bars.settings-SDU7PZOS.js +10 -0
  44. package/dist/block-QLSIELXK.js +6291 -0
  45. package/dist/block.init-OOLEA6ZK.js +29 -0
  46. package/dist/block.mds.expressionrank-D2KUISXZ.js +350 -0
  47. package/dist/block.mds.geneboxplot-AMYBWXPS.js +819 -0
  48. package/dist/block.mds.junction-OG335MBK.js +1536 -0
  49. package/dist/block.mds.svcnv-WYDBQ6FV.js +6792 -0
  50. package/dist/block.svg-OH73245R.js +155 -0
  51. package/dist/block.tk.aicheck-CG5THFW2.js +274 -0
  52. package/dist/block.tk.ase-G2L3G5MQ.js +356 -0
  53. package/dist/block.tk.bam-DXWCA6EU.js +1897 -0
  54. package/dist/block.tk.bedgraphdot-LF3TFPNL.js +375 -0
  55. package/dist/block.tk.bigwig.ui-JKXZ3VDF.js +202 -0
  56. package/dist/block.tk.hicstraw-ZK4RKFB6.js +814 -0
  57. package/dist/block.tk.junction-ZB7Q2NLB.js +2355 -0
  58. package/dist/block.tk.junction.textmatrixui-ZYNQWKIW.js +190 -0
  59. package/dist/block.tk.ld-7H64HGER.js +90 -0
  60. package/dist/block.tk.menu-WFVKAH74.js +1020 -0
  61. package/dist/block.tk.pgv-632LLSBI.js +935 -0
  62. package/dist/brainImaging-AEPTHIQF.js +417 -0
  63. package/dist/chat-3XZCAFDD.js +142 -0
  64. package/dist/chat-3XZCAFDD.js.map +7 -0
  65. package/dist/chunk-22O6F463.js +619 -0
  66. package/dist/chunk-2HJ7OD7H.js +252 -0
  67. package/dist/chunk-2MN5JLZB.js +2878 -0
  68. package/dist/chunk-2OVIUIIL.js +1720 -0
  69. package/dist/chunk-2OVIUIIL.js.map +7 -0
  70. package/dist/chunk-37CK5IGW.js +480 -0
  71. package/dist/chunk-3JFEWVHR.js +80 -0
  72. package/dist/chunk-3MGBC64I.js +133 -0
  73. package/dist/chunk-3NWLWH4G.js +6364 -0
  74. package/dist/chunk-46T54RUY.js +1133 -0
  75. package/dist/chunk-46T54RUY.js.map +7 -0
  76. package/dist/chunk-4GKQ5PWY.js +142 -0
  77. package/dist/chunk-4PHD5H4A.js +226 -0
  78. package/dist/chunk-56IFQMJK.js +413 -0
  79. package/dist/chunk-5AMBV2JE.js +797 -0
  80. package/dist/chunk-5AMBV2JE.js.map +7 -0
  81. package/dist/chunk-5DMFTXUZ.js +158 -0
  82. package/dist/chunk-5QJDZHRU.js +95 -0
  83. package/dist/chunk-5WAVKWL6.js +1275 -0
  84. package/dist/chunk-6ISTNHM6.js +144 -0
  85. package/dist/chunk-6VQ4C735.js +1536 -0
  86. package/dist/chunk-74WMSW3E.js +229 -0
  87. package/dist/chunk-AFU66YOW.js +459 -0
  88. package/dist/chunk-AUJ2YUXV.js +14 -0
  89. package/dist/chunk-B65X5UQH.js +518 -0
  90. package/dist/chunk-B6I64LSV.js +634 -0
  91. package/dist/chunk-BAJ74DKS.js +419 -0
  92. package/dist/chunk-BAJ74DKS.js.map +7 -0
  93. package/dist/chunk-BTYCW3D5.js +85 -0
  94. package/dist/chunk-CCB5KYFQ.js +1415 -0
  95. package/dist/chunk-CKLYFA7H.js +467 -0
  96. package/dist/chunk-CLYRJ466.js +272 -0
  97. package/dist/chunk-CPHCZZWT.js +82 -0
  98. package/dist/chunk-CUADOD2T.js +217 -0
  99. package/dist/chunk-CV6ID6T7.js +422 -0
  100. package/dist/chunk-CWHBWY3B.js +190 -0
  101. package/dist/chunk-D53HBTYQ.js +238 -0
  102. package/dist/chunk-DDOM4XYV.js +1177 -0
  103. package/dist/chunk-DDOM4XYV.js.map +7 -0
  104. package/dist/chunk-DKI7YOTJ.js +196 -0
  105. package/dist/chunk-DNU4IPD2.js +165 -0
  106. package/dist/chunk-FN5XPUPH.js +83 -0
  107. package/dist/chunk-FN5XPUPH.js.map +7 -0
  108. package/dist/chunk-GLSDMBHR.js +55 -0
  109. package/dist/chunk-GLSDMBHR.js.map +7 -0
  110. package/dist/chunk-H3BSKMND.js +487 -0
  111. package/dist/chunk-H3BSKMND.js.map +7 -0
  112. package/dist/chunk-H6HP4H3U.js +2327 -0
  113. package/dist/chunk-HPEMEDXB.js +123 -0
  114. package/dist/chunk-HUDESZGX.js +1151 -0
  115. package/dist/chunk-ITJ2SXU5.js +467 -0
  116. package/dist/chunk-ITJ2SXU5.js.map +7 -0
  117. package/dist/chunk-J7IU77CA.js +166 -0
  118. package/dist/chunk-JMO7ENSD.js +381 -0
  119. package/dist/chunk-JTPN3BRG.js +129 -0
  120. package/dist/chunk-KCAMFDJH.js +323 -0
  121. package/dist/chunk-LD45BCVM.js +177 -0
  122. package/dist/chunk-LMELY5Z2.js +1412 -0
  123. package/dist/chunk-LVQK62CV.js +215 -0
  124. package/dist/chunk-MCVLRF66.js +157 -0
  125. package/dist/chunk-MK7RRJTX.js +1968 -0
  126. package/dist/chunk-MK7RRJTX.js.map +7 -0
  127. package/dist/chunk-MLD7DW5I.js +613 -0
  128. package/dist/chunk-NEF7LGNE.js +2789 -0
  129. package/dist/chunk-O7BAQPP3.js +256 -0
  130. package/dist/chunk-O7BAQPP3.js.map +7 -0
  131. package/dist/chunk-OARG7PAV.js +401 -0
  132. package/dist/chunk-OGCF6E6I.js +4947 -0
  133. package/dist/chunk-OGCF6E6I.js.map +7 -0
  134. package/dist/chunk-OGWY4MOB.js +748 -0
  135. package/dist/chunk-PQD6K5W5.js +2784 -0
  136. package/dist/chunk-Q4FYGFTQ.js +91 -0
  137. package/dist/chunk-QX5QVWUP.js +451 -0
  138. package/dist/chunk-QX5QVWUP.js.map +7 -0
  139. package/dist/chunk-RA2KI64U.js +303 -0
  140. package/dist/chunk-RHHLAKYS.js +1088 -0
  141. package/dist/chunk-RKV3CP4C.js +258 -0
  142. package/dist/chunk-RL7RU2V7.js +368 -0
  143. package/dist/chunk-RQ7CE7SK.js +161 -0
  144. package/dist/chunk-RX552WU6.js +1143 -0
  145. package/dist/chunk-S7V4SFKB.js +276 -0
  146. package/dist/chunk-SEL5UNRC.js +142 -0
  147. package/dist/chunk-SRBO57AD.js +297 -0
  148. package/dist/chunk-SYGLOTOV.js +1197 -0
  149. package/dist/chunk-TGZA4ETW.js +311 -0
  150. package/dist/chunk-TGZA4ETW.js.map +7 -0
  151. package/dist/chunk-UZ466XO3.js +203 -0
  152. package/dist/chunk-VDF5W47R.js +149 -0
  153. package/dist/chunk-W4SEWZF2.js +279 -0
  154. package/dist/chunk-W4SEWZF2.js.map +7 -0
  155. package/dist/chunk-W5EG334J.js +15083 -0
  156. package/dist/chunk-W5EG334J.js.map +7 -0
  157. package/dist/chunk-WTPVXDJT.js +31 -0
  158. package/dist/chunk-XRIM2YJZ.js +228 -0
  159. package/dist/chunk-YSWMQO23.js +55 -0
  160. package/dist/chunk-ZBZXIWSK.js +402 -0
  161. package/dist/chunk-ZFFHOEBE.js +117 -0
  162. package/dist/chunk-ZG63ZUDE.js +102 -0
  163. package/dist/chunk-ZGQ3BMLW.js +2676 -0
  164. package/dist/chunk-ZNINQ3FN.js +293 -0
  165. package/dist/chunk-ZQZWM544.js +4172 -0
  166. package/dist/condition-4FVKPSQ2.js +323 -0
  167. package/dist/controls-ZWBN566I.js +35 -0
  168. package/dist/controls.btns-H4TWTHTW.js +10 -0
  169. package/dist/controls.config-YU4W3CDL.js +31 -0
  170. package/dist/correlation-VADB4SQO.js +102 -0
  171. package/dist/cuminc-4BXE2YS6.js +1143 -0
  172. package/dist/cuminc.integration.spec-XQREKHVA.js +669 -0
  173. package/dist/customdata.inputui-VBQWT3M7.js +278 -0
  174. package/dist/dataDownload-QIZKBKH7.js +320 -0
  175. package/dist/dataDownload.integration.spec-MLJEHLYD.js +184 -0
  176. package/dist/databrowser.ui-6UIR4ULJ.js +426 -0
  177. package/dist/dictionary-FLWIWAC6.js +90 -0
  178. package/dist/e2pca-NKWSJRXM.js +341 -0
  179. package/dist/ep-EPN3AR6D.js +1247 -0
  180. package/dist/expclust.gdc.spec-ZRUH5E6E.js +298 -0
  181. package/dist/facet-BM7SLACF.js +437 -0
  182. package/dist/frequencyChart-HBXRIBAW.js +371 -0
  183. package/dist/frequencyChart.integration.spec-YJUYZWM6.js +301 -0
  184. package/dist/geneExpClustering-4VD5PAWN.js +242 -0
  185. package/dist/geneExpression-6OT2Y4P6.js +54 -0
  186. package/dist/geneExpression-EAMEZXJQ.js +310 -0
  187. package/dist/geneORA-RI2AG7JT.js +272 -0
  188. package/dist/geneVariant-FYYEOTWA.js +32 -0
  189. package/dist/geneVariant-PAKVDVC4.js +29 -0
  190. package/dist/genefusion.ui-QWC42XWQ.js +242 -0
  191. package/dist/geneset-XA6IWP3Q.js +186 -0
  192. package/dist/genomeBrowser.spec-LRKXWXNT.js +272 -0
  193. package/dist/grin2-O6TETVZ3.js +1044 -0
  194. package/dist/grin2-O6TETVZ3.js.map +7 -0
  195. package/dist/grin2-WLB7BY3S.js +1547 -0
  196. package/dist/gsea-ZM4WOPSQ.js +43 -0
  197. package/dist/hierCluster-LD43LLRC.js +60 -0
  198. package/dist/hierCluster-ZGYRS2WV.js +56 -0
  199. package/dist/hierCluster.config-O5HUOFNH.js +32 -0
  200. package/dist/hierCluster.integration.spec-37UNKHTH.js +389 -0
  201. package/dist/hierCluster.interactivity-B27ETKRP.js +45 -0
  202. package/dist/hierCluster.renderers-GWFH5ZX7.js +21 -0
  203. package/dist/imagePlot-LJZVGNDJ.js +134 -0
  204. package/dist/importPlot-RMVENQRD.js +8 -0
  205. package/dist/launch.adhoc-S3XHRSLN.js +36 -0
  206. package/dist/leftlabel.sample-J6PCA3UB.js +249 -0
  207. package/dist/lollipop-OZTV4C7A.js +159 -0
  208. package/dist/maf-3SRLCKGO.js +435 -0
  209. package/dist/maf-3SRLCKGO.js.map +7 -0
  210. package/dist/maftimeline-6F2LQJU6.js +584 -0
  211. package/dist/matrix-FIXOFAB4.js +60 -0
  212. package/dist/matrix-O5KPDLM2.js +55 -0
  213. package/dist/matrix.cells-SCLZA3P4.js +30 -0
  214. package/dist/matrix.config-WG7HFJL4.js +33 -0
  215. package/dist/matrix.controls-QQLBUUYP.js +31 -0
  216. package/dist/matrix.data-6JLF5HVI.js +35 -0
  217. package/dist/matrix.dom-QO7BXZ27.js +11 -0
  218. package/dist/matrix.groups-QMZMZ6Q7.js +26 -0
  219. package/dist/matrix.integration.spec-ZJYWNQ57.js +2936 -0
  220. package/dist/matrix.interactivity-ZZY5ET4E.js +36 -0
  221. package/dist/matrix.layout-XKFB4PKY.js +35 -0
  222. package/dist/matrix.legend-CS6DNC5V.js +22 -0
  223. package/dist/matrix.renderers-4LST6PBA.js +29 -0
  224. package/dist/matrix.serieses-3SERD6CV.js +21 -0
  225. package/dist/matrix.sort-UVS6WHIS.js +27 -0
  226. package/dist/matrix.sort.unit.spec-CTSUNUWB.js +464 -0
  227. package/dist/matrix.sorterUi-JDGLTLJM.js +18 -0
  228. package/dist/matrix.sorterUi.unit.spec-VQFMHIYI.js +335 -0
  229. package/dist/mavb-ECQ2CQ7F.js +723 -0
  230. package/dist/mds.fimo-JDYDT5NK.js +509 -0
  231. package/dist/mds.samplescatterplot-PEJBVSTO.js +1541 -0
  232. package/dist/mds.survivalplot-GYK6VRQT.js +474 -0
  233. package/dist/mutationSignature-43SECPTY.js +72 -0
  234. package/dist/numericDictTermCluster-2ER4FUKO.js +72 -0
  235. package/dist/oncomatrix-ZXDJMLN3.js +287 -0
  236. package/dist/oncomatrix.spec-HOPRIG3I.js +439 -0
  237. package/dist/plot.2dvaf-Y4SZUHLD.js +368 -0
  238. package/dist/plot.app-W5Z3C7P5.js +35 -0
  239. package/dist/plot.barplot-B2PRZDKV.js +93 -0
  240. package/dist/plot.boxplot-J7ET34FY.js +143 -0
  241. package/dist/plot.brainImaging-ISY4P6RT.js +51 -0
  242. package/dist/plot.disco-D7AL42PW.js +100 -0
  243. package/dist/plot.dzi-O32LH65U.js +33 -0
  244. package/dist/plot.ssgq-WF7262IZ.js +130 -0
  245. package/dist/plot.vaf2cov-OB6UKSFQ.js +250 -0
  246. package/dist/plot.wsi-J5S4YYXN.js +36 -0
  247. package/dist/polar-LIJORXR6.js +179 -0
  248. package/dist/profile.spec-3KE4CREI.js +71 -0
  249. package/dist/profileBarchart-UQHOJB5V.js +260 -0
  250. package/dist/profileForms-WTYVTIUN.js +365 -0
  251. package/dist/profilePlot-SOXXEUAT.js +50 -0
  252. package/dist/profileRadar-2OHJ2RIU.js +256 -0
  253. package/dist/profileRadarFacility-GHLG3QNG.js +256 -0
  254. package/dist/qualitative-B3OY7A7P.js +34 -0
  255. package/dist/regression-HO2TO4XT.js +57 -0
  256. package/dist/regression.inputs-JN3ZMIOP.js +49 -0
  257. package/dist/regression.inputs.term-67HVMXFZ.js +49 -0
  258. package/dist/regression.inputs.values.table-JXJK2YZT.js +46 -0
  259. package/dist/regression.integration.spec-L54ZS5VY.js +777 -0
  260. package/dist/regression.results-3ZSFKUNN.js +31 -0
  261. package/dist/regression.spec-SVWCQX2U.js +699 -0
  262. package/dist/report-IHX7XSOI.js +220 -0
  263. package/dist/runChart-QLQMK3OE.js +54 -0
  264. package/dist/runchart.integration.spec-5NVY5GHR.js +362 -0
  265. package/dist/sampleScatter.spec-4Q5CQQWH.js +193 -0
  266. package/dist/sampleView-7WHDFHB5.js +42 -0
  267. package/dist/samplelst-34GJVLVD.js +102 -0
  268. package/dist/samplematrix-L2HOSLUT.js +2189 -0
  269. package/dist/scatter-X6AAM2LJ.js +55 -0
  270. package/dist/scatter.integration.spec-QSH3PLBK.js +1026 -0
  271. package/dist/selectGenomeWithTklst-AJS2IPPW.js +125 -0
  272. package/dist/singleCellPlot-7JEWDVSR.js +50 -0
  273. package/dist/singlecell-IC5KU72L.js +1563 -0
  274. package/dist/singlecell-NWANPXWM.js +80 -0
  275. package/dist/snp-PSRNMTL6.js +73 -0
  276. package/dist/snplocus-QCAVDYLR.js +199 -0
  277. package/dist/spliceevent.a53ss.diagram-SGDJKUEC.js +142 -0
  278. package/dist/spliceevent.exonskip.diagram-BUYTHCK5.js +268 -0
  279. package/dist/spliceevent.noeventdiagram-OJZJUHXP.js +451 -0
  280. package/dist/ssGSEA-UUZG57MF.js +53 -0
  281. package/dist/stattable-324FS2HA.js +89 -0
  282. package/dist/summarizeCnvGeneexp-ZVZYWP43.js +136 -0
  283. package/dist/summarizeGeneexpSurvival-7XJRMT6M.js +90 -0
  284. package/dist/summarizeMutationDiagnosis-ZKLXOVY2.js +32 -0
  285. package/dist/summarizeMutationSurvival-S4YPGLWA.js +92 -0
  286. package/dist/summary-RVG7JL6Y.js +55 -0
  287. package/dist/summary.integration.spec-SCD35GO4.js +405 -0
  288. package/dist/summaryInput-DMN6DTSW.js +170 -0
  289. package/dist/sunburst-QZXYILRC.js +275 -0
  290. package/dist/survival-6CWEBRSF.js +41 -0
  291. package/dist/survival-J657VYLI.js +49 -0
  292. package/dist/survival.integration.spec-S5WE4V6M.js +601 -0
  293. package/dist/svgraph-NEKJL24M.js +1378 -0
  294. package/dist/svmr-5RQ5JQF2.js +3833 -0
  295. package/dist/table-CG6Z6NCJ.js +193 -0
  296. package/dist/termCollection-FOQNVXB7.js +80 -0
  297. package/dist/termInfo-5USFZGDB.js +9 -0
  298. package/dist/tk-2O7XOVGJ.js +37 -0
  299. package/dist/tp.ui-S4YUVCZH.js +1450 -0
  300. package/dist/tvs.dtcnv.continuous-7BPIXZ6C.js +65 -0
  301. package/dist/tvs.numeric-FCC2EY62.js +355 -0
  302. package/dist/tvs.samplelst-PKGFTULN.js +95 -0
  303. package/dist/violin-C7IBRTYP.js +47 -0
  304. package/dist/violin.integration.spec-WXRD3Z4E.js +1425 -0
  305. package/dist/violin.interactivity-BMG4TG5L.js +39 -0
  306. package/dist/violin.renderer-WUNW6ULV.js +31 -0
  307. package/dist/vocabulary-UUNEEBM3.js +32 -0
  308. package/package.json +3 -3
  309. package/dist/2dmaf-E4NOGWWO.js +0 -1364
  310. package/dist/AIProjectAdmin-3QDXMCOK.js +0 -780
  311. package/dist/AppHeader-IFZ57DJE.js +0 -813
  312. package/dist/BoxPlot-GXDTPRA5.js +0 -44
  313. package/dist/CorrelationVolcano-S4GUYIPT.js +0 -616
  314. package/dist/DifferentialAnalysis-YLKYWPUT.js +0 -237
  315. package/dist/Disco-OQMP3HRQ.js +0 -3089
  316. package/dist/Disco.UI-XB3XQP33.js +0 -238
  317. package/dist/DziViewer-UIRNTFNS.js +0 -16328
  318. package/dist/GB-KDPJTOLP.js +0 -1099
  319. package/dist/HicApp-XJERMLKH.js +0 -2218
  320. package/dist/NumBinaryEditor-5MWWWNLW.js +0 -259
  321. package/dist/NumBinaryEditor.unit.spec-ROGT5FOH.js +0 -277
  322. package/dist/NumContEditor-RRCB4CKG.js +0 -98
  323. package/dist/NumContEditor.unit.spec-AJTKOF7W.js +0 -160
  324. package/dist/NumCustomBinEditor-3GJITZ7V.js +0 -29
  325. package/dist/NumCustomBinEditor.unit.spec-DNBDZSHT.js +0 -275
  326. package/dist/NumDiscreteEditor-TARWA6CZ.js +0 -145
  327. package/dist/NumDiscreteEditor.unit.spec-TCSLTQ25.js +0 -193
  328. package/dist/NumRegularBinEditor-QF5ALVV4.js +0 -29
  329. package/dist/NumRegularBinEditor.unit.spec-GFNDBWNM.js +0 -220
  330. package/dist/NumSplineEditor-MOEUXR34.js +0 -181
  331. package/dist/NumSplineEditor.unit.spec-XPJOOXS4.js +0 -190
  332. package/dist/NumericDensity-JDE263EQ.js +0 -29
  333. package/dist/NumericDensity.unit.spec-RX6UGV56.js +0 -212
  334. package/dist/NumericHandler-XM7LUYHN.js +0 -30
  335. package/dist/NumericHandler.unit.spec-5EYRMII7.js +0 -210
  336. package/dist/SC-Z4KBNK7P.js +0 -714
  337. package/dist/Volcano-WYJLKM4K.js +0 -1018
  338. package/dist/WSIViewer-3RMG3VOA.js +0 -46959
  339. package/dist/WsiSamplesPlot-PAWNKI7R.js +0 -153
  340. package/dist/adSandbox-7H5H46SE.js +0 -29
  341. package/dist/alphaGenome-PODWDV5T.js +0 -170
  342. package/dist/app-JPURIGQW.js +0 -28
  343. package/dist/app-YL7S55T5.js +0 -54
  344. package/dist/bam-XEO47VYA.js +0 -842
  345. package/dist/barchart-B5M6SSJH.js +0 -48
  346. package/dist/barchart.data-6A6WVV4Y.js +0 -30
  347. package/dist/barchart.events-2GNB5KWY.js +0 -44
  348. package/dist/barchart.integration.spec-JEOTKIWC.js +0 -1600
  349. package/dist/bars.renderer-NLUBMQEO.js +0 -12
  350. package/dist/bars.settings-UQZ63KU4.js +0 -8
  351. package/dist/block-B7WMYLPO.js +0 -6291
  352. package/dist/block.init-KCIXEYQC.js +0 -29
  353. package/dist/block.mds.expressionrank-RYZXAH5Y.js +0 -350
  354. package/dist/block.mds.geneboxplot-LNWUEI6N.js +0 -819
  355. package/dist/block.mds.junction-CVIY7QMD.js +0 -1536
  356. package/dist/block.mds.svcnv-EUGWHSCA.js +0 -6792
  357. package/dist/block.svg-QBLNIGUF.js +0 -155
  358. package/dist/block.tk.aicheck-U6NG22FX.js +0 -274
  359. package/dist/block.tk.ase-U3TRZAOH.js +0 -356
  360. package/dist/block.tk.bam-6Y6YFVR2.js +0 -1897
  361. package/dist/block.tk.bedgraphdot-O3VCFX6K.js +0 -375
  362. package/dist/block.tk.bigwig.ui-DNBJAF72.js +0 -202
  363. package/dist/block.tk.hicstraw-2EIFJX7E.js +0 -814
  364. package/dist/block.tk.junction-UXSO5EJP.js +0 -2355
  365. package/dist/block.tk.junction.textmatrixui-HQ6ZKCHM.js +0 -190
  366. package/dist/block.tk.ld-NEB4F3UG.js +0 -90
  367. package/dist/block.tk.menu-BN4JPJSD.js +0 -1020
  368. package/dist/block.tk.pgv-A4QFVSPF.js +0 -935
  369. package/dist/brainImaging-ESQGNGZH.js +0 -417
  370. package/dist/chat-AY7RCQYY.js +0 -145
  371. package/dist/chat-AY7RCQYY.js.map +0 -7
  372. package/dist/chunk-236ZRGXA.js +0 -297
  373. package/dist/chunk-2DZWOGEH.js +0 -272
  374. package/dist/chunk-2HQJMZNY.js +0 -14
  375. package/dist/chunk-2MRZFUHZ.js +0 -165
  376. package/dist/chunk-2ZEORJCF.js +0 -215
  377. package/dist/chunk-3WA7SJTR.js +0 -82
  378. package/dist/chunk-47HG7LGD.js +0 -133
  379. package/dist/chunk-47X254B7.js +0 -91
  380. package/dist/chunk-4TPDYPGD.js +0 -1098
  381. package/dist/chunk-4TPDYPGD.js.map +0 -7
  382. package/dist/chunk-4WA2H5DE.js +0 -75
  383. package/dist/chunk-4WA2H5DE.js.map +0 -7
  384. package/dist/chunk-4XDKCFFT.js +0 -613
  385. package/dist/chunk-5CJJLBUZ.js +0 -229
  386. package/dist/chunk-5TDKRZN5.js +0 -1931
  387. package/dist/chunk-5TDKRZN5.js.map +0 -7
  388. package/dist/chunk-6MSJ3TLQ.js +0 -1151
  389. package/dist/chunk-7JAFXNAL.js +0 -256
  390. package/dist/chunk-7JAFXNAL.js.map +0 -7
  391. package/dist/chunk-7LKSKJCV.js +0 -480
  392. package/dist/chunk-7P67W6NF.js +0 -190
  393. package/dist/chunk-7RIC35AF.js +0 -129
  394. package/dist/chunk-A76B53VT.js +0 -158
  395. package/dist/chunk-AZ276Z7T.js +0 -2327
  396. package/dist/chunk-B662XJMJ.js +0 -748
  397. package/dist/chunk-BK7GIOC5.js +0 -4924
  398. package/dist/chunk-BK7GIOC5.js.map +0 -7
  399. package/dist/chunk-BP2F2GRB.js +0 -2676
  400. package/dist/chunk-BRO4KZSZ.js +0 -417
  401. package/dist/chunk-BRO4KZSZ.js.map +0 -7
  402. package/dist/chunk-C5YNONHQ.js +0 -144
  403. package/dist/chunk-CT3LPTWW.js +0 -1197
  404. package/dist/chunk-CZTC4MTE.js +0 -161
  405. package/dist/chunk-DA5VGV5L.js +0 -280
  406. package/dist/chunk-DA5VGV5L.js.map +0 -7
  407. package/dist/chunk-DPU66MZ7.js +0 -381
  408. package/dist/chunk-E6NE5IWR.js +0 -102
  409. package/dist/chunk-ECKWM4HB.js +0 -1536
  410. package/dist/chunk-EEX5VPJG.js +0 -467
  411. package/dist/chunk-EIMEUZP2.js +0 -323
  412. package/dist/chunk-ETFPL4UP.js +0 -4172
  413. package/dist/chunk-F3FTQWTA.js +0 -303
  414. package/dist/chunk-F4APZ34G.js +0 -55
  415. package/dist/chunk-FOXJTDTH.js +0 -166
  416. package/dist/chunk-FYTZCTJC.js +0 -1157
  417. package/dist/chunk-FYTZCTJC.js.map +0 -7
  418. package/dist/chunk-GBS5I24E.js +0 -1706
  419. package/dist/chunk-GBS5I24E.js.map +0 -7
  420. package/dist/chunk-GBWRKJAH.js +0 -413
  421. package/dist/chunk-GG67VPVD.js +0 -238
  422. package/dist/chunk-GZ2B634M.js +0 -123
  423. package/dist/chunk-HEFXMCSF.js +0 -6364
  424. package/dist/chunk-I26R4NJJ.js +0 -228
  425. package/dist/chunk-I2GCD26Y.js +0 -55
  426. package/dist/chunk-I2GCD26Y.js.map +0 -7
  427. package/dist/chunk-ICNJQHQZ.js +0 -117
  428. package/dist/chunk-IPAGDFO4.js +0 -80
  429. package/dist/chunk-J2E4FALN.js +0 -1415
  430. package/dist/chunk-JXHU2FIA.js +0 -2789
  431. package/dist/chunk-K7LZ77GD.js +0 -468
  432. package/dist/chunk-K7LZ77GD.js.map +0 -7
  433. package/dist/chunk-KACWSU3U.js +0 -487
  434. package/dist/chunk-KACWSU3U.js.map +0 -7
  435. package/dist/chunk-KGSCQRQ5.js +0 -203
  436. package/dist/chunk-KGYPMYQD.js +0 -1143
  437. package/dist/chunk-L3PMRBTA.js +0 -422
  438. package/dist/chunk-M7QVMSRW.js +0 -293
  439. package/dist/chunk-MG6GRQKO.js +0 -459
  440. package/dist/chunk-N5VBIEH5.js +0 -1412
  441. package/dist/chunk-NRYOB7WU.js +0 -252
  442. package/dist/chunk-NXOWHUR4.js +0 -311
  443. package/dist/chunk-NXOWHUR4.js.map +0 -7
  444. package/dist/chunk-OFQV6PRB.js +0 -1275
  445. package/dist/chunk-OMO754MK.js +0 -177
  446. package/dist/chunk-OQSP66C6.js +0 -226
  447. package/dist/chunk-OS46MR72.js +0 -368
  448. package/dist/chunk-PBJFLQGL.js +0 -142
  449. package/dist/chunk-PMZS3SHH.js +0 -2877
  450. package/dist/chunk-PPJSDC3Z.js +0 -157
  451. package/dist/chunk-QIS45Z4Y.js +0 -2784
  452. package/dist/chunk-RCVZ4L7K.js +0 -402
  453. package/dist/chunk-ROWCKPNW.js +0 -1088
  454. package/dist/chunk-RQUXELHE.js +0 -276
  455. package/dist/chunk-RYRCMHYR.js +0 -196
  456. package/dist/chunk-S7EKSDVS.js +0 -258
  457. package/dist/chunk-SN5QKRXO.js +0 -85
  458. package/dist/chunk-TZRD3FPN.js +0 -634
  459. package/dist/chunk-U5QRRS7K.js +0 -619
  460. package/dist/chunk-UOMRXQNW.js +0 -401
  461. package/dist/chunk-UT6W4ZZL.js +0 -15048
  462. package/dist/chunk-UT6W4ZZL.js.map +0 -7
  463. package/dist/chunk-UZV3QI5M.js +0 -518
  464. package/dist/chunk-VALBVQXS.js +0 -217
  465. package/dist/chunk-VDR5JXI2.js +0 -444
  466. package/dist/chunk-VDR5JXI2.js.map +0 -7
  467. package/dist/chunk-W4D2EYE4.js +0 -95
  468. package/dist/chunk-XATIKUGU.js +0 -142
  469. package/dist/chunk-ZHWC5SJP.js +0 -797
  470. package/dist/chunk-ZHWC5SJP.js.map +0 -7
  471. package/dist/chunk-ZL4CNBYY.js +0 -149
  472. package/dist/chunk-ZQ7L66GP.js +0 -31
  473. package/dist/condition-24HPVH23.js +0 -323
  474. package/dist/controls-5CSAKANR.js +0 -35
  475. package/dist/controls.btns-QLLBCT65.js +0 -10
  476. package/dist/controls.config-H4FMU5LI.js +0 -31
  477. package/dist/correlation-RB77VSXB.js +0 -102
  478. package/dist/cuminc-YZSLH5IO.js +0 -1143
  479. package/dist/cuminc.integration.spec-MZPT3Y5A.js +0 -669
  480. package/dist/customdata.inputui-CBTZFODT.js +0 -278
  481. package/dist/dataDownload-ZTGRVI4Q.js +0 -320
  482. package/dist/dataDownload.integration.spec-Q6GUTUYD.js +0 -184
  483. package/dist/databrowser.ui-V7E6CLUZ.js +0 -426
  484. package/dist/dictionary-RPC5OZMM.js +0 -90
  485. package/dist/e2pca-WDQHMAUM.js +0 -341
  486. package/dist/ep-NAM34BBI.js +0 -1247
  487. package/dist/expclust.gdc.spec-QB4GVDJA.js +0 -298
  488. package/dist/facet-DOXBBIG6.js +0 -437
  489. package/dist/frequencyChart-GLOIGP3T.js +0 -371
  490. package/dist/frequencyChart.integration.spec-B7NBBLH2.js +0 -301
  491. package/dist/geneExpClustering-B4S6GFNT.js +0 -242
  492. package/dist/geneExpression-DMU4AQP6.js +0 -310
  493. package/dist/geneExpression-MVVXRNEY.js +0 -54
  494. package/dist/geneORA-XDAITCQF.js +0 -272
  495. package/dist/geneVariant-N6IGEIRR.js +0 -29
  496. package/dist/geneVariant-QYLA2V6J.js +0 -32
  497. package/dist/genefusion.ui-FRBMNK7V.js +0 -242
  498. package/dist/geneset-GZYNBG7Y.js +0 -186
  499. package/dist/genomeBrowser.spec-WFIVQSE7.js +0 -272
  500. package/dist/grin2-I6GJF35U.js +0 -882
  501. package/dist/grin2-I6GJF35U.js.map +0 -7
  502. package/dist/grin2-ZKNNZXON.js +0 -1547
  503. package/dist/gsea-GFGAEC4K.js +0 -43
  504. package/dist/hierCluster-MF4TI3E4.js +0 -60
  505. package/dist/hierCluster-SDJMQLOQ.js +0 -56
  506. package/dist/hierCluster.config-RMEX3VTC.js +0 -32
  507. package/dist/hierCluster.integration.spec-3H63OHMU.js +0 -389
  508. package/dist/hierCluster.interactivity-4DZBRQ6P.js +0 -45
  509. package/dist/hierCluster.renderers-UOW7BI6N.js +0 -21
  510. package/dist/imagePlot-P2UHJRSL.js +0 -134
  511. package/dist/importPlot-PPCMNVOW.js +0 -8
  512. package/dist/launch.adhoc-RJWUEVRA.js +0 -36
  513. package/dist/leftlabel.sample-OYP6MICL.js +0 -249
  514. package/dist/lollipop-BXQOWLGO.js +0 -159
  515. package/dist/maf-YJJO773K.js +0 -448
  516. package/dist/maf-YJJO773K.js.map +0 -7
  517. package/dist/maftimeline-GHKDDWYR.js +0 -584
  518. package/dist/matrix-FWDLHZYR.js +0 -60
  519. package/dist/matrix-YMJFP53F.js +0 -55
  520. package/dist/matrix.cells-JH7FPY3E.js +0 -30
  521. package/dist/matrix.config-HIHOLDCE.js +0 -33
  522. package/dist/matrix.controls-EKZ543FY.js +0 -31
  523. package/dist/matrix.data-NKAZI2BF.js +0 -35
  524. package/dist/matrix.dom-RGZ52GJ2.js +0 -11
  525. package/dist/matrix.groups-BO53ZXXV.js +0 -26
  526. package/dist/matrix.integration.spec-BXTATNAC.js +0 -2936
  527. package/dist/matrix.interactivity-UGUMKCFN.js +0 -36
  528. package/dist/matrix.layout-WBIF5QTG.js +0 -35
  529. package/dist/matrix.legend-P3GFCXXK.js +0 -22
  530. package/dist/matrix.renderers-I54IHQ3S.js +0 -29
  531. package/dist/matrix.serieses-R2T57OYI.js +0 -21
  532. package/dist/matrix.sort-3GCA2GDU.js +0 -27
  533. package/dist/matrix.sort.unit.spec-AXGPCZZD.js +0 -464
  534. package/dist/matrix.sorterUi-QWRK6OGE.js +0 -18
  535. package/dist/matrix.sorterUi.unit.spec-H7GUVWRJ.js +0 -335
  536. package/dist/mavb-4EECWXYX.js +0 -723
  537. package/dist/mds.fimo-NHZOY43X.js +0 -509
  538. package/dist/mds.samplescatterplot-7A5IZ6W7.js +0 -1541
  539. package/dist/mds.survivalplot-SQDPUFQE.js +0 -474
  540. package/dist/mutationSignature-QH7PZYKL.js +0 -72
  541. package/dist/numericDictTermCluster-X5SGSC5K.js +0 -72
  542. package/dist/oncomatrix-M4C4XPQK.js +0 -287
  543. package/dist/oncomatrix.spec-3C642O7O.js +0 -439
  544. package/dist/plot.2dvaf-TILP7J53.js +0 -368
  545. package/dist/plot.app-DE2UQP2M.js +0 -35
  546. package/dist/plot.barplot-FJHS765K.js +0 -93
  547. package/dist/plot.boxplot-YRSHGNYZ.js +0 -143
  548. package/dist/plot.brainImaging-JV4OUVJY.js +0 -51
  549. package/dist/plot.disco-DBVPBMLG.js +0 -100
  550. package/dist/plot.dzi-O2OA4EBK.js +0 -33
  551. package/dist/plot.ssgq-YFQEZQYK.js +0 -130
  552. package/dist/plot.vaf2cov-YNFP5LJ4.js +0 -250
  553. package/dist/plot.wsi-DJB7TDIS.js +0 -36
  554. package/dist/polar-K5Z5FYKV.js +0 -179
  555. package/dist/profile.spec-A6EADWEC.js +0 -71
  556. package/dist/profileBarchart-EFLPJK2P.js +0 -260
  557. package/dist/profileForms-TG35YNLD.js +0 -365
  558. package/dist/profilePlot-2EW2XVTK.js +0 -50
  559. package/dist/profileRadar-AKUYC2O5.js +0 -256
  560. package/dist/profileRadarFacility-EAT66XTX.js +0 -256
  561. package/dist/qualitative-PHQU5DXE.js +0 -34
  562. package/dist/regression-EOMJRRDO.js +0 -57
  563. package/dist/regression.inputs-LIH5X2JM.js +0 -49
  564. package/dist/regression.inputs.term-OO4RZ3QB.js +0 -49
  565. package/dist/regression.inputs.values.table-E7WCTO2L.js +0 -46
  566. package/dist/regression.integration.spec-62VEQP6X.js +0 -777
  567. package/dist/regression.results-WAHFJ6NA.js +0 -31
  568. package/dist/regression.spec-IBIOTZVX.js +0 -699
  569. package/dist/report-MKDJXHGY.js +0 -220
  570. package/dist/runChart-ETM2EETF.js +0 -54
  571. package/dist/runchart.integration.spec-QFA4XBKB.js +0 -362
  572. package/dist/sampleScatter.spec-N4N7ZGZF.js +0 -193
  573. package/dist/sampleView-JTY3RV7I.js +0 -42
  574. package/dist/samplelst-RRUMBVT6.js +0 -102
  575. package/dist/samplematrix-L37O664Y.js +0 -2189
  576. package/dist/scatter-E5QHW32W.js +0 -55
  577. package/dist/scatter.integration.spec-FNVAJSVU.js +0 -1026
  578. package/dist/selectGenomeWithTklst-J6VXCYGG.js +0 -125
  579. package/dist/singleCellPlot-S6S6CKYX.js +0 -50
  580. package/dist/singlecell-4BMIKFY4.js +0 -80
  581. package/dist/singlecell-B4TNI23F.js +0 -1563
  582. package/dist/snp-PAUQ24NZ.js +0 -73
  583. package/dist/snplocus-HVFYZTEE.js +0 -199
  584. package/dist/spliceevent.a53ss.diagram-GGGHVNBF.js +0 -142
  585. package/dist/spliceevent.exonskip.diagram-HLMFD6LJ.js +0 -268
  586. package/dist/spliceevent.noeventdiagram-CKZ3BZ7Y.js +0 -451
  587. package/dist/ssGSEA-UGT4GH55.js +0 -53
  588. package/dist/stattable-6JWMALGB.js +0 -89
  589. package/dist/summarizeCnvGeneexp-BJOQY62E.js +0 -136
  590. package/dist/summarizeGeneexpSurvival-4HDHL7PE.js +0 -90
  591. package/dist/summarizeMutationDiagnosis-TDWO5CKU.js +0 -32
  592. package/dist/summarizeMutationSurvival-CJJFABOX.js +0 -92
  593. package/dist/summary-WOAXXIHG.js +0 -55
  594. package/dist/summary.integration.spec-GM73ERMN.js +0 -405
  595. package/dist/summaryInput-FD4SONTY.js +0 -170
  596. package/dist/sunburst-3LCJTBRN.js +0 -275
  597. package/dist/survival-A3A7IVXT.js +0 -41
  598. package/dist/survival-XF72VMM6.js +0 -49
  599. package/dist/survival.integration.spec-AU7MCAQV.js +0 -601
  600. package/dist/svgraph-BEMS4JDJ.js +0 -1378
  601. package/dist/svmr-CDEMTZPK.js +0 -3833
  602. package/dist/table-WYF6QCGB.js +0 -193
  603. package/dist/termCollection-BVQMNVY7.js +0 -80
  604. package/dist/termInfo-JXLIVCSO.js +0 -9
  605. package/dist/tk-TGIIJYBO.js +0 -37
  606. package/dist/tp.ui-USYF67P7.js +0 -1450
  607. package/dist/tvs.dtcnv.continuous-7SCTSFK3.js +0 -65
  608. package/dist/tvs.numeric-OLVW6US3.js +0 -355
  609. package/dist/tvs.samplelst-BHZHCX5V.js +0 -95
  610. package/dist/violin-OEOWVIZF.js +0 -47
  611. package/dist/violin.integration.spec-AW2U3RHO.js +0 -1425
  612. package/dist/violin.interactivity-3O2UDNPQ.js +0 -39
  613. package/dist/violin.renderer-W26FA6M7.js +0 -31
  614. package/dist/vocabulary-BIQYDKVY.js +0 -32
  615. /package/dist/{2dmaf-E4NOGWWO.js.map → 2dmaf-6M6QWXAQ.js.map} +0 -0
  616. /package/dist/{AIProjectAdmin-3QDXMCOK.js.map → AIProjectAdmin-2NHMC3IV.js.map} +0 -0
  617. /package/dist/{AppHeader-IFZ57DJE.js.map → AppHeader-CTHEWSZD.js.map} +0 -0
  618. /package/dist/{BoxPlot-GXDTPRA5.js.map → BoxPlot-3U6ZAKKO.js.map} +0 -0
  619. /package/dist/{CorrelationVolcano-S4GUYIPT.js.map → CorrelationVolcano-2ASIR6KY.js.map} +0 -0
  620. /package/dist/{DifferentialAnalysis-YLKYWPUT.js.map → DifferentialAnalysis-C3NYGF7U.js.map} +0 -0
  621. /package/dist/{Disco-OQMP3HRQ.js.map → Disco-2QLBZ3X5.js.map} +0 -0
  622. /package/dist/{Disco.UI-XB3XQP33.js.map → Disco.UI-GPIIPM2P.js.map} +0 -0
  623. /package/dist/{DziViewer-UIRNTFNS.js.map → DziViewer-OHPZOH72.js.map} +0 -0
  624. /package/dist/{GB-KDPJTOLP.js.map → GB-FH6YQGHI.js.map} +0 -0
  625. /package/dist/{HicApp-XJERMLKH.js.map → HicApp-TI2II3SZ.js.map} +0 -0
  626. /package/dist/{NumBinaryEditor-5MWWWNLW.js.map → NumBinaryEditor-O42T63EX.js.map} +0 -0
  627. /package/dist/{NumBinaryEditor.unit.spec-ROGT5FOH.js.map → NumBinaryEditor.unit.spec-UMB2PHT5.js.map} +0 -0
  628. /package/dist/{NumContEditor-RRCB4CKG.js.map → NumContEditor-7NOUKPCV.js.map} +0 -0
  629. /package/dist/{NumContEditor.unit.spec-AJTKOF7W.js.map → NumContEditor.unit.spec-JGXJ2HLE.js.map} +0 -0
  630. /package/dist/{NumCustomBinEditor-3GJITZ7V.js.map → NumCustomBinEditor-6CHN3KX3.js.map} +0 -0
  631. /package/dist/{NumCustomBinEditor.unit.spec-DNBDZSHT.js.map → NumCustomBinEditor.unit.spec-RJPQLE3E.js.map} +0 -0
  632. /package/dist/{NumDiscreteEditor-TARWA6CZ.js.map → NumDiscreteEditor-AFTUKU4K.js.map} +0 -0
  633. /package/dist/{NumDiscreteEditor.unit.spec-TCSLTQ25.js.map → NumDiscreteEditor.unit.spec-GKR6ZNBQ.js.map} +0 -0
  634. /package/dist/{NumRegularBinEditor-QF5ALVV4.js.map → NumRegularBinEditor-UJ5WQPHR.js.map} +0 -0
  635. /package/dist/{NumRegularBinEditor.unit.spec-GFNDBWNM.js.map → NumRegularBinEditor.unit.spec-5HGJQEX7.js.map} +0 -0
  636. /package/dist/{NumSplineEditor-MOEUXR34.js.map → NumSplineEditor-JANA2DUE.js.map} +0 -0
  637. /package/dist/{NumSplineEditor.unit.spec-XPJOOXS4.js.map → NumSplineEditor.unit.spec-UYAMAKZD.js.map} +0 -0
  638. /package/dist/{NumericDensity-JDE263EQ.js.map → NumericDensity-YE5R4CNP.js.map} +0 -0
  639. /package/dist/{NumericDensity.unit.spec-RX6UGV56.js.map → NumericDensity.unit.spec-SVEB5U2S.js.map} +0 -0
  640. /package/dist/{NumericHandler-XM7LUYHN.js.map → NumericHandler-WW4M7YW2.js.map} +0 -0
  641. /package/dist/{NumericHandler.unit.spec-5EYRMII7.js.map → NumericHandler.unit.spec-2BWDFO53.js.map} +0 -0
  642. /package/dist/{SC-Z4KBNK7P.js.map → SC-UGJGMBL7.js.map} +0 -0
  643. /package/dist/{Volcano-WYJLKM4K.js.map → Volcano-IU76MEIL.js.map} +0 -0
  644. /package/dist/{WSIViewer-3RMG3VOA.js.map → WSIViewer-3S7N4UDO.js.map} +0 -0
  645. /package/dist/{WsiSamplesPlot-PAWNKI7R.js.map → WsiSamplesPlot-4CAOHWCL.js.map} +0 -0
  646. /package/dist/{adSandbox-7H5H46SE.js.map → adSandbox-AEBS3RTL.js.map} +0 -0
  647. /package/dist/{alphaGenome-PODWDV5T.js.map → alphaGenome-F2PB4SGI.js.map} +0 -0
  648. /package/dist/{app-JPURIGQW.js.map → app-6SKETLMT.js.map} +0 -0
  649. /package/dist/{app-YL7S55T5.js.map → app-GBEF2HBR.js.map} +0 -0
  650. /package/dist/{bam-XEO47VYA.js.map → bam-5SE6XQJV.js.map} +0 -0
  651. /package/dist/{barchart-B5M6SSJH.js.map → barchart-AUSOT2XB.js.map} +0 -0
  652. /package/dist/{barchart.data-6A6WVV4Y.js.map → barchart.data-GYCNBRPY.js.map} +0 -0
  653. /package/dist/{barchart.events-2GNB5KWY.js.map → barchart.events-QTSWNYXO.js.map} +0 -0
  654. /package/dist/{barchart.integration.spec-JEOTKIWC.js.map → barchart.integration.spec-LORJLJVX.js.map} +0 -0
  655. /package/dist/{bars.renderer-NLUBMQEO.js.map → bars.renderer-4N4QOUNI.js.map} +0 -0
  656. /package/dist/{bars.settings-UQZ63KU4.js.map → bars.settings-SDU7PZOS.js.map} +0 -0
  657. /package/dist/{block-B7WMYLPO.js.map → block-QLSIELXK.js.map} +0 -0
  658. /package/dist/{block.init-KCIXEYQC.js.map → block.init-OOLEA6ZK.js.map} +0 -0
  659. /package/dist/{block.mds.expressionrank-RYZXAH5Y.js.map → block.mds.expressionrank-D2KUISXZ.js.map} +0 -0
  660. /package/dist/{block.mds.geneboxplot-LNWUEI6N.js.map → block.mds.geneboxplot-AMYBWXPS.js.map} +0 -0
  661. /package/dist/{block.mds.junction-CVIY7QMD.js.map → block.mds.junction-OG335MBK.js.map} +0 -0
  662. /package/dist/{block.mds.svcnv-EUGWHSCA.js.map → block.mds.svcnv-WYDBQ6FV.js.map} +0 -0
  663. /package/dist/{block.svg-QBLNIGUF.js.map → block.svg-OH73245R.js.map} +0 -0
  664. /package/dist/{block.tk.aicheck-U6NG22FX.js.map → block.tk.aicheck-CG5THFW2.js.map} +0 -0
  665. /package/dist/{block.tk.ase-U3TRZAOH.js.map → block.tk.ase-G2L3G5MQ.js.map} +0 -0
  666. /package/dist/{block.tk.bam-6Y6YFVR2.js.map → block.tk.bam-DXWCA6EU.js.map} +0 -0
  667. /package/dist/{block.tk.bedgraphdot-O3VCFX6K.js.map → block.tk.bedgraphdot-LF3TFPNL.js.map} +0 -0
  668. /package/dist/{block.tk.bigwig.ui-DNBJAF72.js.map → block.tk.bigwig.ui-JKXZ3VDF.js.map} +0 -0
  669. /package/dist/{block.tk.hicstraw-2EIFJX7E.js.map → block.tk.hicstraw-ZK4RKFB6.js.map} +0 -0
  670. /package/dist/{block.tk.junction-UXSO5EJP.js.map → block.tk.junction-ZB7Q2NLB.js.map} +0 -0
  671. /package/dist/{block.tk.junction.textmatrixui-HQ6ZKCHM.js.map → block.tk.junction.textmatrixui-ZYNQWKIW.js.map} +0 -0
  672. /package/dist/{block.tk.ld-NEB4F3UG.js.map → block.tk.ld-7H64HGER.js.map} +0 -0
  673. /package/dist/{block.tk.menu-BN4JPJSD.js.map → block.tk.menu-WFVKAH74.js.map} +0 -0
  674. /package/dist/{block.tk.pgv-A4QFVSPF.js.map → block.tk.pgv-632LLSBI.js.map} +0 -0
  675. /package/dist/{brainImaging-ESQGNGZH.js.map → brainImaging-AEPTHIQF.js.map} +0 -0
  676. /package/dist/{chunk-U5QRRS7K.js.map → chunk-22O6F463.js.map} +0 -0
  677. /package/dist/{chunk-NRYOB7WU.js.map → chunk-2HJ7OD7H.js.map} +0 -0
  678. /package/dist/{chunk-PMZS3SHH.js.map → chunk-2MN5JLZB.js.map} +0 -0
  679. /package/dist/{chunk-7LKSKJCV.js.map → chunk-37CK5IGW.js.map} +0 -0
  680. /package/dist/{chunk-IPAGDFO4.js.map → chunk-3JFEWVHR.js.map} +0 -0
  681. /package/dist/{chunk-47HG7LGD.js.map → chunk-3MGBC64I.js.map} +0 -0
  682. /package/dist/{chunk-HEFXMCSF.js.map → chunk-3NWLWH4G.js.map} +0 -0
  683. /package/dist/{chunk-XATIKUGU.js.map → chunk-4GKQ5PWY.js.map} +0 -0
  684. /package/dist/{chunk-OQSP66C6.js.map → chunk-4PHD5H4A.js.map} +0 -0
  685. /package/dist/{chunk-GBWRKJAH.js.map → chunk-56IFQMJK.js.map} +0 -0
  686. /package/dist/{chunk-A76B53VT.js.map → chunk-5DMFTXUZ.js.map} +0 -0
  687. /package/dist/{chunk-W4D2EYE4.js.map → chunk-5QJDZHRU.js.map} +0 -0
  688. /package/dist/{chunk-OFQV6PRB.js.map → chunk-5WAVKWL6.js.map} +0 -0
  689. /package/dist/{chunk-C5YNONHQ.js.map → chunk-6ISTNHM6.js.map} +0 -0
  690. /package/dist/{chunk-ECKWM4HB.js.map → chunk-6VQ4C735.js.map} +0 -0
  691. /package/dist/{chunk-5CJJLBUZ.js.map → chunk-74WMSW3E.js.map} +0 -0
  692. /package/dist/{chunk-MG6GRQKO.js.map → chunk-AFU66YOW.js.map} +0 -0
  693. /package/dist/{chunk-2HQJMZNY.js.map → chunk-AUJ2YUXV.js.map} +0 -0
  694. /package/dist/{chunk-UZV3QI5M.js.map → chunk-B65X5UQH.js.map} +0 -0
  695. /package/dist/{chunk-TZRD3FPN.js.map → chunk-B6I64LSV.js.map} +0 -0
  696. /package/dist/{chunk-SN5QKRXO.js.map → chunk-BTYCW3D5.js.map} +0 -0
  697. /package/dist/{chunk-J2E4FALN.js.map → chunk-CCB5KYFQ.js.map} +0 -0
  698. /package/dist/{chunk-EEX5VPJG.js.map → chunk-CKLYFA7H.js.map} +0 -0
  699. /package/dist/{chunk-2DZWOGEH.js.map → chunk-CLYRJ466.js.map} +0 -0
  700. /package/dist/{chunk-3WA7SJTR.js.map → chunk-CPHCZZWT.js.map} +0 -0
  701. /package/dist/{chunk-VALBVQXS.js.map → chunk-CUADOD2T.js.map} +0 -0
  702. /package/dist/{chunk-L3PMRBTA.js.map → chunk-CV6ID6T7.js.map} +0 -0
  703. /package/dist/{chunk-7P67W6NF.js.map → chunk-CWHBWY3B.js.map} +0 -0
  704. /package/dist/{chunk-GG67VPVD.js.map → chunk-D53HBTYQ.js.map} +0 -0
  705. /package/dist/{chunk-RYRCMHYR.js.map → chunk-DKI7YOTJ.js.map} +0 -0
  706. /package/dist/{chunk-2MRZFUHZ.js.map → chunk-DNU4IPD2.js.map} +0 -0
  707. /package/dist/{chunk-AZ276Z7T.js.map → chunk-H6HP4H3U.js.map} +0 -0
  708. /package/dist/{chunk-GZ2B634M.js.map → chunk-HPEMEDXB.js.map} +0 -0
  709. /package/dist/{chunk-6MSJ3TLQ.js.map → chunk-HUDESZGX.js.map} +0 -0
  710. /package/dist/{chunk-FOXJTDTH.js.map → chunk-J7IU77CA.js.map} +0 -0
  711. /package/dist/{chunk-DPU66MZ7.js.map → chunk-JMO7ENSD.js.map} +0 -0
  712. /package/dist/{chunk-7RIC35AF.js.map → chunk-JTPN3BRG.js.map} +0 -0
  713. /package/dist/{chunk-EIMEUZP2.js.map → chunk-KCAMFDJH.js.map} +0 -0
  714. /package/dist/{chunk-OMO754MK.js.map → chunk-LD45BCVM.js.map} +0 -0
  715. /package/dist/{chunk-N5VBIEH5.js.map → chunk-LMELY5Z2.js.map} +0 -0
  716. /package/dist/{chunk-2ZEORJCF.js.map → chunk-LVQK62CV.js.map} +0 -0
  717. /package/dist/{chunk-PPJSDC3Z.js.map → chunk-MCVLRF66.js.map} +0 -0
  718. /package/dist/{chunk-4XDKCFFT.js.map → chunk-MLD7DW5I.js.map} +0 -0
  719. /package/dist/{chunk-JXHU2FIA.js.map → chunk-NEF7LGNE.js.map} +0 -0
  720. /package/dist/{chunk-UOMRXQNW.js.map → chunk-OARG7PAV.js.map} +0 -0
  721. /package/dist/{chunk-B662XJMJ.js.map → chunk-OGWY4MOB.js.map} +0 -0
  722. /package/dist/{chunk-QIS45Z4Y.js.map → chunk-PQD6K5W5.js.map} +0 -0
  723. /package/dist/{chunk-47X254B7.js.map → chunk-Q4FYGFTQ.js.map} +0 -0
  724. /package/dist/{chunk-F3FTQWTA.js.map → chunk-RA2KI64U.js.map} +0 -0
  725. /package/dist/{chunk-ROWCKPNW.js.map → chunk-RHHLAKYS.js.map} +0 -0
  726. /package/dist/{chunk-S7EKSDVS.js.map → chunk-RKV3CP4C.js.map} +0 -0
  727. /package/dist/{chunk-OS46MR72.js.map → chunk-RL7RU2V7.js.map} +0 -0
  728. /package/dist/{chunk-CZTC4MTE.js.map → chunk-RQ7CE7SK.js.map} +0 -0
  729. /package/dist/{chunk-KGYPMYQD.js.map → chunk-RX552WU6.js.map} +0 -0
  730. /package/dist/{chunk-RQUXELHE.js.map → chunk-S7V4SFKB.js.map} +0 -0
  731. /package/dist/{chunk-PBJFLQGL.js.map → chunk-SEL5UNRC.js.map} +0 -0
  732. /package/dist/{chunk-236ZRGXA.js.map → chunk-SRBO57AD.js.map} +0 -0
  733. /package/dist/{chunk-CT3LPTWW.js.map → chunk-SYGLOTOV.js.map} +0 -0
  734. /package/dist/{chunk-KGSCQRQ5.js.map → chunk-UZ466XO3.js.map} +0 -0
  735. /package/dist/{chunk-ZL4CNBYY.js.map → chunk-VDF5W47R.js.map} +0 -0
  736. /package/dist/{chunk-ZQ7L66GP.js.map → chunk-WTPVXDJT.js.map} +0 -0
  737. /package/dist/{chunk-I26R4NJJ.js.map → chunk-XRIM2YJZ.js.map} +0 -0
  738. /package/dist/{chunk-F4APZ34G.js.map → chunk-YSWMQO23.js.map} +0 -0
  739. /package/dist/{chunk-RCVZ4L7K.js.map → chunk-ZBZXIWSK.js.map} +0 -0
  740. /package/dist/{chunk-ICNJQHQZ.js.map → chunk-ZFFHOEBE.js.map} +0 -0
  741. /package/dist/{chunk-E6NE5IWR.js.map → chunk-ZG63ZUDE.js.map} +0 -0
  742. /package/dist/{chunk-BP2F2GRB.js.map → chunk-ZGQ3BMLW.js.map} +0 -0
  743. /package/dist/{chunk-M7QVMSRW.js.map → chunk-ZNINQ3FN.js.map} +0 -0
  744. /package/dist/{chunk-ETFPL4UP.js.map → chunk-ZQZWM544.js.map} +0 -0
  745. /package/dist/{condition-24HPVH23.js.map → condition-4FVKPSQ2.js.map} +0 -0
  746. /package/dist/{controls-5CSAKANR.js.map → controls-ZWBN566I.js.map} +0 -0
  747. /package/dist/{controls.btns-QLLBCT65.js.map → controls.btns-H4TWTHTW.js.map} +0 -0
  748. /package/dist/{controls.config-H4FMU5LI.js.map → controls.config-YU4W3CDL.js.map} +0 -0
  749. /package/dist/{correlation-RB77VSXB.js.map → correlation-VADB4SQO.js.map} +0 -0
  750. /package/dist/{cuminc-YZSLH5IO.js.map → cuminc-4BXE2YS6.js.map} +0 -0
  751. /package/dist/{cuminc.integration.spec-MZPT3Y5A.js.map → cuminc.integration.spec-XQREKHVA.js.map} +0 -0
  752. /package/dist/{customdata.inputui-CBTZFODT.js.map → customdata.inputui-VBQWT3M7.js.map} +0 -0
  753. /package/dist/{dataDownload-ZTGRVI4Q.js.map → dataDownload-QIZKBKH7.js.map} +0 -0
  754. /package/dist/{dataDownload.integration.spec-Q6GUTUYD.js.map → dataDownload.integration.spec-MLJEHLYD.js.map} +0 -0
  755. /package/dist/{databrowser.ui-V7E6CLUZ.js.map → databrowser.ui-6UIR4ULJ.js.map} +0 -0
  756. /package/dist/{dictionary-RPC5OZMM.js.map → dictionary-FLWIWAC6.js.map} +0 -0
  757. /package/dist/{e2pca-WDQHMAUM.js.map → e2pca-NKWSJRXM.js.map} +0 -0
  758. /package/dist/{ep-NAM34BBI.js.map → ep-EPN3AR6D.js.map} +0 -0
  759. /package/dist/{expclust.gdc.spec-QB4GVDJA.js.map → expclust.gdc.spec-ZRUH5E6E.js.map} +0 -0
  760. /package/dist/{facet-DOXBBIG6.js.map → facet-BM7SLACF.js.map} +0 -0
  761. /package/dist/{frequencyChart-GLOIGP3T.js.map → frequencyChart-HBXRIBAW.js.map} +0 -0
  762. /package/dist/{frequencyChart.integration.spec-B7NBBLH2.js.map → frequencyChart.integration.spec-YJUYZWM6.js.map} +0 -0
  763. /package/dist/{geneExpClustering-B4S6GFNT.js.map → geneExpClustering-4VD5PAWN.js.map} +0 -0
  764. /package/dist/{geneExpression-MVVXRNEY.js.map → geneExpression-6OT2Y4P6.js.map} +0 -0
  765. /package/dist/{geneExpression-DMU4AQP6.js.map → geneExpression-EAMEZXJQ.js.map} +0 -0
  766. /package/dist/{geneORA-XDAITCQF.js.map → geneORA-RI2AG7JT.js.map} +0 -0
  767. /package/dist/{geneVariant-N6IGEIRR.js.map → geneVariant-FYYEOTWA.js.map} +0 -0
  768. /package/dist/{geneVariant-QYLA2V6J.js.map → geneVariant-PAKVDVC4.js.map} +0 -0
  769. /package/dist/{genefusion.ui-FRBMNK7V.js.map → genefusion.ui-QWC42XWQ.js.map} +0 -0
  770. /package/dist/{geneset-GZYNBG7Y.js.map → geneset-XA6IWP3Q.js.map} +0 -0
  771. /package/dist/{genomeBrowser.spec-WFIVQSE7.js.map → genomeBrowser.spec-LRKXWXNT.js.map} +0 -0
  772. /package/dist/{grin2-ZKNNZXON.js.map → grin2-WLB7BY3S.js.map} +0 -0
  773. /package/dist/{gsea-GFGAEC4K.js.map → gsea-ZM4WOPSQ.js.map} +0 -0
  774. /package/dist/{hierCluster-MF4TI3E4.js.map → hierCluster-LD43LLRC.js.map} +0 -0
  775. /package/dist/{hierCluster-SDJMQLOQ.js.map → hierCluster-ZGYRS2WV.js.map} +0 -0
  776. /package/dist/{hierCluster.config-RMEX3VTC.js.map → hierCluster.config-O5HUOFNH.js.map} +0 -0
  777. /package/dist/{hierCluster.integration.spec-3H63OHMU.js.map → hierCluster.integration.spec-37UNKHTH.js.map} +0 -0
  778. /package/dist/{hierCluster.interactivity-4DZBRQ6P.js.map → hierCluster.interactivity-B27ETKRP.js.map} +0 -0
  779. /package/dist/{hierCluster.renderers-UOW7BI6N.js.map → hierCluster.renderers-GWFH5ZX7.js.map} +0 -0
  780. /package/dist/{imagePlot-P2UHJRSL.js.map → imagePlot-LJZVGNDJ.js.map} +0 -0
  781. /package/dist/{importPlot-PPCMNVOW.js.map → importPlot-RMVENQRD.js.map} +0 -0
  782. /package/dist/{launch.adhoc-RJWUEVRA.js.map → launch.adhoc-S3XHRSLN.js.map} +0 -0
  783. /package/dist/{leftlabel.sample-OYP6MICL.js.map → leftlabel.sample-J6PCA3UB.js.map} +0 -0
  784. /package/dist/{lollipop-BXQOWLGO.js.map → lollipop-OZTV4C7A.js.map} +0 -0
  785. /package/dist/{maftimeline-GHKDDWYR.js.map → maftimeline-6F2LQJU6.js.map} +0 -0
  786. /package/dist/{matrix-FWDLHZYR.js.map → matrix-FIXOFAB4.js.map} +0 -0
  787. /package/dist/{matrix-YMJFP53F.js.map → matrix-O5KPDLM2.js.map} +0 -0
  788. /package/dist/{matrix.cells-JH7FPY3E.js.map → matrix.cells-SCLZA3P4.js.map} +0 -0
  789. /package/dist/{matrix.config-HIHOLDCE.js.map → matrix.config-WG7HFJL4.js.map} +0 -0
  790. /package/dist/{matrix.controls-EKZ543FY.js.map → matrix.controls-QQLBUUYP.js.map} +0 -0
  791. /package/dist/{matrix.data-NKAZI2BF.js.map → matrix.data-6JLF5HVI.js.map} +0 -0
  792. /package/dist/{matrix.dom-RGZ52GJ2.js.map → matrix.dom-QO7BXZ27.js.map} +0 -0
  793. /package/dist/{matrix.groups-BO53ZXXV.js.map → matrix.groups-QMZMZ6Q7.js.map} +0 -0
  794. /package/dist/{matrix.integration.spec-BXTATNAC.js.map → matrix.integration.spec-ZJYWNQ57.js.map} +0 -0
  795. /package/dist/{matrix.interactivity-UGUMKCFN.js.map → matrix.interactivity-ZZY5ET4E.js.map} +0 -0
  796. /package/dist/{matrix.layout-WBIF5QTG.js.map → matrix.layout-XKFB4PKY.js.map} +0 -0
  797. /package/dist/{matrix.legend-P3GFCXXK.js.map → matrix.legend-CS6DNC5V.js.map} +0 -0
  798. /package/dist/{matrix.renderers-I54IHQ3S.js.map → matrix.renderers-4LST6PBA.js.map} +0 -0
  799. /package/dist/{matrix.serieses-R2T57OYI.js.map → matrix.serieses-3SERD6CV.js.map} +0 -0
  800. /package/dist/{matrix.sort-3GCA2GDU.js.map → matrix.sort-UVS6WHIS.js.map} +0 -0
  801. /package/dist/{matrix.sort.unit.spec-AXGPCZZD.js.map → matrix.sort.unit.spec-CTSUNUWB.js.map} +0 -0
  802. /package/dist/{matrix.sorterUi-QWRK6OGE.js.map → matrix.sorterUi-JDGLTLJM.js.map} +0 -0
  803. /package/dist/{matrix.sorterUi.unit.spec-H7GUVWRJ.js.map → matrix.sorterUi.unit.spec-VQFMHIYI.js.map} +0 -0
  804. /package/dist/{mavb-4EECWXYX.js.map → mavb-ECQ2CQ7F.js.map} +0 -0
  805. /package/dist/{mds.fimo-NHZOY43X.js.map → mds.fimo-JDYDT5NK.js.map} +0 -0
  806. /package/dist/{mds.samplescatterplot-7A5IZ6W7.js.map → mds.samplescatterplot-PEJBVSTO.js.map} +0 -0
  807. /package/dist/{mds.survivalplot-SQDPUFQE.js.map → mds.survivalplot-GYK6VRQT.js.map} +0 -0
  808. /package/dist/{mutationSignature-QH7PZYKL.js.map → mutationSignature-43SECPTY.js.map} +0 -0
  809. /package/dist/{numericDictTermCluster-X5SGSC5K.js.map → numericDictTermCluster-2ER4FUKO.js.map} +0 -0
  810. /package/dist/{oncomatrix-M4C4XPQK.js.map → oncomatrix-ZXDJMLN3.js.map} +0 -0
  811. /package/dist/{oncomatrix.spec-3C642O7O.js.map → oncomatrix.spec-HOPRIG3I.js.map} +0 -0
  812. /package/dist/{plot.2dvaf-TILP7J53.js.map → plot.2dvaf-Y4SZUHLD.js.map} +0 -0
  813. /package/dist/{plot.app-DE2UQP2M.js.map → plot.app-W5Z3C7P5.js.map} +0 -0
  814. /package/dist/{plot.barplot-FJHS765K.js.map → plot.barplot-B2PRZDKV.js.map} +0 -0
  815. /package/dist/{plot.boxplot-YRSHGNYZ.js.map → plot.boxplot-J7ET34FY.js.map} +0 -0
  816. /package/dist/{plot.brainImaging-JV4OUVJY.js.map → plot.brainImaging-ISY4P6RT.js.map} +0 -0
  817. /package/dist/{plot.disco-DBVPBMLG.js.map → plot.disco-D7AL42PW.js.map} +0 -0
  818. /package/dist/{plot.dzi-O2OA4EBK.js.map → plot.dzi-O32LH65U.js.map} +0 -0
  819. /package/dist/{plot.ssgq-YFQEZQYK.js.map → plot.ssgq-WF7262IZ.js.map} +0 -0
  820. /package/dist/{plot.vaf2cov-YNFP5LJ4.js.map → plot.vaf2cov-OB6UKSFQ.js.map} +0 -0
  821. /package/dist/{plot.wsi-DJB7TDIS.js.map → plot.wsi-J5S4YYXN.js.map} +0 -0
  822. /package/dist/{polar-K5Z5FYKV.js.map → polar-LIJORXR6.js.map} +0 -0
  823. /package/dist/{profile.spec-A6EADWEC.js.map → profile.spec-3KE4CREI.js.map} +0 -0
  824. /package/dist/{profileBarchart-EFLPJK2P.js.map → profileBarchart-UQHOJB5V.js.map} +0 -0
  825. /package/dist/{profileForms-TG35YNLD.js.map → profileForms-WTYVTIUN.js.map} +0 -0
  826. /package/dist/{profilePlot-2EW2XVTK.js.map → profilePlot-SOXXEUAT.js.map} +0 -0
  827. /package/dist/{profileRadar-AKUYC2O5.js.map → profileRadar-2OHJ2RIU.js.map} +0 -0
  828. /package/dist/{profileRadarFacility-EAT66XTX.js.map → profileRadarFacility-GHLG3QNG.js.map} +0 -0
  829. /package/dist/{qualitative-PHQU5DXE.js.map → qualitative-B3OY7A7P.js.map} +0 -0
  830. /package/dist/{regression-EOMJRRDO.js.map → regression-HO2TO4XT.js.map} +0 -0
  831. /package/dist/{regression.inputs-LIH5X2JM.js.map → regression.inputs-JN3ZMIOP.js.map} +0 -0
  832. /package/dist/{regression.inputs.term-OO4RZ3QB.js.map → regression.inputs.term-67HVMXFZ.js.map} +0 -0
  833. /package/dist/{regression.inputs.values.table-E7WCTO2L.js.map → regression.inputs.values.table-JXJK2YZT.js.map} +0 -0
  834. /package/dist/{regression.integration.spec-62VEQP6X.js.map → regression.integration.spec-L54ZS5VY.js.map} +0 -0
  835. /package/dist/{regression.results-WAHFJ6NA.js.map → regression.results-3ZSFKUNN.js.map} +0 -0
  836. /package/dist/{regression.spec-IBIOTZVX.js.map → regression.spec-SVWCQX2U.js.map} +0 -0
  837. /package/dist/{report-MKDJXHGY.js.map → report-IHX7XSOI.js.map} +0 -0
  838. /package/dist/{runChart-ETM2EETF.js.map → runChart-QLQMK3OE.js.map} +0 -0
  839. /package/dist/{runchart.integration.spec-QFA4XBKB.js.map → runchart.integration.spec-5NVY5GHR.js.map} +0 -0
  840. /package/dist/{sampleScatter.spec-N4N7ZGZF.js.map → sampleScatter.spec-4Q5CQQWH.js.map} +0 -0
  841. /package/dist/{sampleView-JTY3RV7I.js.map → sampleView-7WHDFHB5.js.map} +0 -0
  842. /package/dist/{samplelst-RRUMBVT6.js.map → samplelst-34GJVLVD.js.map} +0 -0
  843. /package/dist/{samplematrix-L37O664Y.js.map → samplematrix-L2HOSLUT.js.map} +0 -0
  844. /package/dist/{scatter-E5QHW32W.js.map → scatter-X6AAM2LJ.js.map} +0 -0
  845. /package/dist/{scatter.integration.spec-FNVAJSVU.js.map → scatter.integration.spec-QSH3PLBK.js.map} +0 -0
  846. /package/dist/{selectGenomeWithTklst-J6VXCYGG.js.map → selectGenomeWithTklst-AJS2IPPW.js.map} +0 -0
  847. /package/dist/{singleCellPlot-S6S6CKYX.js.map → singleCellPlot-7JEWDVSR.js.map} +0 -0
  848. /package/dist/{singlecell-B4TNI23F.js.map → singlecell-IC5KU72L.js.map} +0 -0
  849. /package/dist/{singlecell-4BMIKFY4.js.map → singlecell-NWANPXWM.js.map} +0 -0
  850. /package/dist/{snp-PAUQ24NZ.js.map → snp-PSRNMTL6.js.map} +0 -0
  851. /package/dist/{snplocus-HVFYZTEE.js.map → snplocus-QCAVDYLR.js.map} +0 -0
  852. /package/dist/{spliceevent.a53ss.diagram-GGGHVNBF.js.map → spliceevent.a53ss.diagram-SGDJKUEC.js.map} +0 -0
  853. /package/dist/{spliceevent.exonskip.diagram-HLMFD6LJ.js.map → spliceevent.exonskip.diagram-BUYTHCK5.js.map} +0 -0
  854. /package/dist/{spliceevent.noeventdiagram-CKZ3BZ7Y.js.map → spliceevent.noeventdiagram-OJZJUHXP.js.map} +0 -0
  855. /package/dist/{ssGSEA-UGT4GH55.js.map → ssGSEA-UUZG57MF.js.map} +0 -0
  856. /package/dist/{stattable-6JWMALGB.js.map → stattable-324FS2HA.js.map} +0 -0
  857. /package/dist/{summarizeCnvGeneexp-BJOQY62E.js.map → summarizeCnvGeneexp-ZVZYWP43.js.map} +0 -0
  858. /package/dist/{summarizeGeneexpSurvival-4HDHL7PE.js.map → summarizeGeneexpSurvival-7XJRMT6M.js.map} +0 -0
  859. /package/dist/{summarizeMutationDiagnosis-TDWO5CKU.js.map → summarizeMutationDiagnosis-ZKLXOVY2.js.map} +0 -0
  860. /package/dist/{summarizeMutationSurvival-CJJFABOX.js.map → summarizeMutationSurvival-S4YPGLWA.js.map} +0 -0
  861. /package/dist/{summary-WOAXXIHG.js.map → summary-RVG7JL6Y.js.map} +0 -0
  862. /package/dist/{summary.integration.spec-GM73ERMN.js.map → summary.integration.spec-SCD35GO4.js.map} +0 -0
  863. /package/dist/{summaryInput-FD4SONTY.js.map → summaryInput-DMN6DTSW.js.map} +0 -0
  864. /package/dist/{sunburst-3LCJTBRN.js.map → sunburst-QZXYILRC.js.map} +0 -0
  865. /package/dist/{survival-A3A7IVXT.js.map → survival-6CWEBRSF.js.map} +0 -0
  866. /package/dist/{survival-XF72VMM6.js.map → survival-J657VYLI.js.map} +0 -0
  867. /package/dist/{survival.integration.spec-AU7MCAQV.js.map → survival.integration.spec-S5WE4V6M.js.map} +0 -0
  868. /package/dist/{svgraph-BEMS4JDJ.js.map → svgraph-NEKJL24M.js.map} +0 -0
  869. /package/dist/{svmr-CDEMTZPK.js.map → svmr-5RQ5JQF2.js.map} +0 -0
  870. /package/dist/{table-WYF6QCGB.js.map → table-CG6Z6NCJ.js.map} +0 -0
  871. /package/dist/{termCollection-BVQMNVY7.js.map → termCollection-FOQNVXB7.js.map} +0 -0
  872. /package/dist/{termInfo-JXLIVCSO.js.map → termInfo-5USFZGDB.js.map} +0 -0
  873. /package/dist/{tk-TGIIJYBO.js.map → tk-2O7XOVGJ.js.map} +0 -0
  874. /package/dist/{tp.ui-USYF67P7.js.map → tp.ui-S4YUVCZH.js.map} +0 -0
  875. /package/dist/{tvs.dtcnv.continuous-7SCTSFK3.js.map → tvs.dtcnv.continuous-7BPIXZ6C.js.map} +0 -0
  876. /package/dist/{tvs.numeric-OLVW6US3.js.map → tvs.numeric-FCC2EY62.js.map} +0 -0
  877. /package/dist/{tvs.samplelst-BHZHCX5V.js.map → tvs.samplelst-PKGFTULN.js.map} +0 -0
  878. /package/dist/{violin-OEOWVIZF.js.map → violin-C7IBRTYP.js.map} +0 -0
  879. /package/dist/{violin.integration.spec-AW2U3RHO.js.map → violin.integration.spec-WXRD3Z4E.js.map} +0 -0
  880. /package/dist/{violin.interactivity-3O2UDNPQ.js.map → violin.interactivity-BMG4TG5L.js.map} +0 -0
  881. /package/dist/{violin.renderer-W26FA6M7.js.map → violin.renderer-WUNW6ULV.js.map} +0 -0
  882. /package/dist/{vocabulary-BIQYDKVY.js.map → vocabulary-UUNEEBM3.js.map} +0 -0
@@ -1,2218 +0,0 @@
1
- import {
2
- blocklazyload
3
- } from "./chunk-2HQJMZNY.js";
4
- import {
5
- hicParseFile
6
- } from "./chunk-VALBVQXS.js";
7
- import {
8
- ColorScale,
9
- axisstyle,
10
- first_genetrack_tolist,
11
- font,
12
- newpane,
13
- showErrorsWithCounter,
14
- tkt
15
- } from "./chunk-UT6W4ZZL.js";
16
- import "./chunk-HJ6L54YS.js";
17
- import {
18
- dofetch3
19
- } from "./chunk-5TDKRZN5.js";
20
- import "./chunk-RYRCMHYR.js";
21
- import {
22
- bplen
23
- } from "./chunk-ECKWM4HB.js";
24
- import {
25
- Menu
26
- } from "./chunk-NXOWHUR4.js";
27
- import "./chunk-5MWX5HUZ.js";
28
- import "./chunk-IQIXGTQV.js";
29
- import "./chunk-ICNJQHQZ.js";
30
- import {
31
- getAppInit,
32
- getCompInit,
33
- getStoreInit
34
- } from "./chunk-FYTZCTJC.js";
35
- import "./chunk-7NTZWOJV.js";
36
- import "./chunk-OMO754MK.js";
37
- import "./chunk-RA5EXEHB.js";
38
- import "./chunk-PMZS3SHH.js";
39
- import {
40
- axisBottom,
41
- axisRight
42
- } from "./chunk-LOZEKOES.js";
43
- import "./chunk-TOU7EVFQ.js";
44
- import {
45
- format,
46
- linear
47
- } from "./chunk-W2IWHXLL.js";
48
- import "./chunk-5OHXYXLD.js";
49
- import "./chunk-UJUXE42U.js";
50
- import "./chunk-OMR2DT66.js";
51
- import {
52
- pointer_default,
53
- select_default
54
- } from "./chunk-NDWTN4U5.js";
55
- import "./chunk-HFNDKYVF.js";
56
-
57
- // tracks/hic/HicStore.ts
58
- var HicStore = class {
59
- constructor() {
60
- this.views = ["genome", "chrpair", "detail", "horizontal"];
61
- this.type = "store";
62
- this.defaultState = {
63
- defaultNmeth: "NONE",
64
- loading: true,
65
- minBinNum_bp: 200,
66
- minFragSpan: 200,
67
- initialBinNum: 20,
68
- settings: {
69
- widthHeightPx: 800
70
- }
71
- };
72
- }
73
- };
74
- var hicStoreInit = getStoreInit(HicStore);
75
- HicStore.prototype.actions = {
76
- view_create(action) {
77
- if (!action.view) throw Error("view_create: missing view");
78
- if (!this.views.some((v) => v == action.view)) throw Error(`view_create: unknown view = ${action.view}`);
79
- this.state.currView = action.view;
80
- const opts = Object.assign(this.state, action.config);
81
- this.state = opts;
82
- },
83
- view_update(action) {
84
- if (action.view) {
85
- if (!this.views.some((v) => v == action.view)) throw Error(`view_update: unknown view = ${action.view}`);
86
- const opts = Object.assign(this.state[action.view], action.config);
87
- this.state[action.view] = opts;
88
- } else {
89
- const opts = Object.assign(this.state, action.config);
90
- this.state = opts;
91
- }
92
- },
93
- loading_active(action) {
94
- this.state.loading = action.active;
95
- }
96
- };
97
-
98
- // tracks/hic/dom/LoadingOverlay.ts
99
- var LoadingOverlay = class {
100
- constructor(opts) {
101
- this.hasStatePreMain = true;
102
- this.type = "loadingOverlay";
103
- this.app = opts.app;
104
- this.loadingDiv = opts.loadingDiv;
105
- }
106
- reactsTo(action) {
107
- if (action.type.startsWith("loading")) return true;
108
- else return false;
109
- }
110
- getState(appState) {
111
- return appState;
112
- }
113
- init() {
114
- this.loadingDiv.append("div").attr("class", "sjpp-spinner").style("display", "");
115
- }
116
- main(appState) {
117
- const loading = this.app.getState(appState).loading;
118
- this.loadingDiv.style("display", loading ? "" : "none");
119
- }
120
- };
121
- var loadingInit = getCompInit(LoadingOverlay);
122
-
123
- // tracks/hic/dom/ColorizeElement.ts
124
- var ColorizeElement = class {
125
- colorizeElement(xCoord, yCoord, v, obj, width, height, bpMinV, bpMaxV, currView) {
126
- if (v >= 0) {
127
- const p = v >= bpMaxV ? 0 : v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV - v) / bpMaxV);
128
- const positiveFill = `rgb(255, ${p}, ${p})`;
129
- if (currView === "genome") {
130
- obj.ctx.fillStyle = positiveFill;
131
- obj.ctx2.fillStyle = positiveFill;
132
- } else {
133
- obj.fillStyle = positiveFill;
134
- }
135
- } else {
136
- const p = v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV + v) / bpMaxV);
137
- const negativeFill = `rgb(${p}, ${p}, 255)`;
138
- if (currView === "genome") {
139
- obj.ctx.fillStyle = negativeFill;
140
- obj.ctx2.fillStyle = negativeFill;
141
- } else {
142
- obj.fillStyle = negativeFill;
143
- }
144
- }
145
- if (currView === "genome") {
146
- obj.ctx.fillRect(yCoord, xCoord, width, height);
147
- obj.ctx2.fillRect(xCoord, yCoord, width, height);
148
- } else {
149
- obj.fillRect(xCoord, yCoord, width, height);
150
- }
151
- }
152
- };
153
-
154
- // tracks/hic/data/Resolution.ts
155
- var Resolution = class {
156
- constructor(error) {
157
- this.error = error;
158
- }
159
- getResolution(state, hic) {
160
- if (state.currView == "genome") return hic["bpresolution"][0];
161
- if (state.currView == "chrpair") {
162
- const resolution = this.getChrPairResolution(hic, state.x, state.y, state.minBinNum_bp);
163
- return resolution;
164
- } else if (state.currView == "detail") {
165
- const maxBpWidth = Math.max(state.x.stop - state.x.start, state.y.stop - state.y.start);
166
- let resolution = this.findResFromArray(maxBpWidth, state.minBinNum_bp, hic.bpresolution);
167
- if (resolution == null && !hic.enzyme) {
168
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
169
- }
170
- return resolution;
171
- } else {
172
- this.error(`Unknown view: ${state.currView}`);
173
- throw `Unknown view: ${state.currView}`;
174
- }
175
- }
176
- getChrPairResolution(hic, x, y, minBinNum_bp) {
177
- const chrxlen = hic.genome.chrlookup[x.chr.toUpperCase()].len;
178
- const chrylen = hic.genome.chrlookup[y.chr.toUpperCase()].len;
179
- const maxchrlen = Math.max(chrxlen, chrylen);
180
- const resolution = this.findResFromArray(maxchrlen, minBinNum_bp, hic.bpresolution);
181
- if (resolution == null) {
182
- this.error(`No suitable resolution for ${x.chr}-${y.chr} pair.`);
183
- return;
184
- }
185
- return resolution;
186
- }
187
- findResFromArray(max, defaultValue, resolutionArray, returnNum) {
188
- let resolution = null;
189
- for (const res of resolutionArray) {
190
- if (max / res > defaultValue) {
191
- resolution = res;
192
- break;
193
- }
194
- }
195
- if (returnNum && resolution == null) {
196
- resolution = resolutionArray[resolutionArray.length - 1];
197
- }
198
- return resolution;
199
- }
200
- getDefaultViewSpan(hic, x, y, initialBinNum, minBinNum_bp) {
201
- const chrpairResolution = this.getChrPairResolution(hic, x, y, minBinNum_bp);
202
- if (!chrpairResolution) return;
203
- return chrpairResolution * initialBinNum;
204
- }
205
- };
206
-
207
- // tracks/hic/data/Positions.ts
208
- var Positions = class {
209
- constructor(error, minBinNum_bp) {
210
- this.error = error;
211
- this.resolution = new Resolution(this.error);
212
- this.minBinNum_bp = minBinNum_bp;
213
- }
214
- /**
215
- *
216
- * @param x x coordinate of pointer
217
- * @param y y coordinate of pointer
218
- * @param binpx
219
- * @param chrx x chr from state
220
- * @param chry y chr from state
221
- * @param hic
222
- * @param initialBinNum Set in the state
223
- * @returns
224
- */
225
- setPosition(x, y, binpx, chrx, chry, hic, initialBinNum) {
226
- const resolution = this.resolution.getChrPairResolution(hic, chrx, chry, this.minBinNum_bp);
227
- const viewrangebpw = resolution * initialBinNum;
228
- let coordx = Math.max(1, Math.floor(x * resolution / binpx) - viewrangebpw / 2);
229
- let coordy = Math.max(1, Math.floor(y * resolution / binpx) - viewrangebpw / 2);
230
- {
231
- const lenx = hic.genome.chrlookup[chrx.chr.toUpperCase()].len;
232
- if (coordx + viewrangebpw >= lenx) {
233
- coordx = lenx - viewrangebpw;
234
- }
235
- const leny = hic.genome.chrlookup[chry.chr.toUpperCase()].len;
236
- if (coordy + viewrangebpw > leny) {
237
- coordy = leny - viewrangebpw;
238
- }
239
- }
240
- const xObj = {
241
- chr: chrx.chr,
242
- start: coordx,
243
- stop: coordx + viewrangebpw
244
- };
245
- const yObj = {
246
- chr: chry.chr,
247
- start: coordy,
248
- stop: coordy + viewrangebpw
249
- };
250
- return [xObj, yObj];
251
- }
252
- };
253
-
254
- // tracks/hic/data/GridElementsFormattedData.ts
255
- var GridElementsFormattedData = class {
256
- /**
257
- * Format the data for the grid elements.
258
- * @param items The data to format.
259
- * @param binpx The bin size in pixels.
260
- * @param resolution The resolution.
261
- * @param isFirstChrX Whether the first chromosome is X. Used for chrpair view.
262
- * @param isIntraChr Whether the data is intra-chromosomal. Used for chrpair view
263
- * @returns The formatted data.
264
- */
265
- formatData(view, items, binpx, resolution, isFirstChrX, isIntraChr) {
266
- const formattedData = [];
267
- for (const [xCoord, yCoord, value] of items) {
268
- const xPx = Math.floor(xCoord / resolution) * binpx;
269
- const yPx = Math.floor(yCoord / resolution) * binpx;
270
- if (view == "genome") {
271
- formattedData.push([xPx, yPx, value]);
272
- }
273
- if (view == "chrpair") {
274
- const x = isFirstChrX ? xPx : yPx;
275
- const y = isFirstChrX ? yPx : xPx;
276
- formattedData.push([x, y, value]);
277
- if (isIntraChr) {
278
- formattedData.push([y, x, value]);
279
- }
280
- }
281
- }
282
- return formattedData;
283
- }
284
- };
285
-
286
- // tracks/hic/data/FirstChrX.ts
287
- var FirstChrX = class {
288
- constructor(chrorder, chrx, chry) {
289
- this.chrorder = chrorder;
290
- this.chrx = chrx;
291
- this.chry = chry;
292
- }
293
- isFirstX() {
294
- if (this.chrx == this.chry) return true;
295
- return this.chrorder.indexOf(this.chrx) < this.chrorder.indexOf(this.chry);
296
- }
297
- };
298
-
299
- // tracks/hic/chrpair/ChrPairView.ts
300
- var ChrPairView = class {
301
- constructor(opts) {
302
- this.binpx = 1;
303
- /** padding on the ends of x/y chr coordinate axes */
304
- this.axispad = 10;
305
- this.axisLabelFontSize = 15;
306
- this.calcResolution = null;
307
- this.data = [];
308
- this.app = opts.app;
309
- this.hic = opts.hic;
310
- this.plotDiv = opts.plotDiv;
311
- this.items = opts.items;
312
- this.parent = opts.parent;
313
- this.chrxlen = this.hic.genome.chrlookup[this.parent("state").x.chr.toUpperCase()].len;
314
- this.chrylen = this.hic.genome.chrlookup[this.parent("state").y.chr.toUpperCase()].len;
315
- this.maxchrlen = Math.max(this.chrxlen, this.chrylen);
316
- this.colorizeElement = new ColorizeElement();
317
- this.positions = new Positions(opts.error, this.parent("state").minBinNum_bp);
318
- this.formattedData = new GridElementsFormattedData();
319
- }
320
- setDefaultBinpx() {
321
- if (this.calcResolution == null) return;
322
- while (this.binpx * this.maxchrlen / this.calcResolution < 600) {
323
- this.binpx++;
324
- }
325
- }
326
- renderAxes() {
327
- if (this.calcResolution == null) return;
328
- const svgY = this.plotDiv.yAxis.append("svg");
329
- const h = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
330
- svgY.attr("width", 100).attr("height", this.axispad * 2 + h);
331
- svgY.append("g").attr("data-testid", "sjpp-chrpair-svg-y").attr("transform", "translate(80," + (this.axispad + h / 2) + ")").append("text").text(this.parent("state").y.chr).attr("text-anchor", "middle").attr("font-size", this.axisLabelFontSize).attr("font-family", font).attr("dominant-baseline", "central").attr("transform", "rotate(90)");
332
- axisstyle({
333
- axis: svgY.append("g").attr("transform", `translate(1, ${this.axispad})`).call(axisRight(linear().domain([0, this.chrylen]).range([0, h])).tickFormat(format(".2s"))),
334
- showline: true
335
- });
336
- const svgX = this.plotDiv.xAxis.append("svg").style("margin-top", "-4px");
337
- const w = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
338
- svgX.attr("height", 100).attr("width", this.axispad * 2 + w);
339
- svgX.append("text").attr("data-testid", "sjpp-chrpair-svg-x").text(this.parent("state").x.chr).attr("font-size", this.axisLabelFontSize).attr("font-family", font).attr("x", this.axispad + w / 2).attr("text-anchor", "middle").attr("y", 60);
340
- axisstyle({
341
- axis: svgX.append("g").attr("transform", "translate(" + this.axispad + ",1)").call(axisBottom(linear().domain([0, this.chrxlen]).range([0, w])).tickFormat(format(".2s"))),
342
- showline: true
343
- });
344
- }
345
- renderCanvas() {
346
- const initDetailView = this.initDetailView.bind(this);
347
- this.canvas = this.plotDiv.plot.append("canvas").attr("data-testid", "sjpp-chrpair-canvas").style("margin", this.axispad + "px").on("click", async function(event) {
348
- const [x, y] = pointer_default(event, this);
349
- initDetailView(x, y);
350
- }).node();
351
- this.canvas.width = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
352
- this.canvas.height = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
353
- this.ctx = this.canvas.getContext("2d");
354
- }
355
- initDetailView(x, y) {
356
- const [xObj, yObj] = this.positions.setPosition(
357
- x,
358
- y,
359
- this.binpx,
360
- this.parent("state").x,
361
- this.parent("state").y,
362
- this.hic,
363
- this.parent("state").initialBinNum
364
- );
365
- this.app.dispatch({
366
- type: "view_create",
367
- view: "detail",
368
- config: {
369
- x: xObj,
370
- y: yObj
371
- }
372
- });
373
- }
374
- render() {
375
- this.calcResolution = this.parent("calcResolution");
376
- this.setDefaultBinpx();
377
- this.renderAxes();
378
- this.renderCanvas();
379
- this.update(this.items);
380
- }
381
- update(items) {
382
- this.items = items;
383
- const firstisx = new FirstChrX(this.hic.chrorder, this.parent("state").x.chr, this.parent("state").y.chr).isFirstX();
384
- const isintrachr = this.parent("state").x.chr === this.parent("state").y.chr;
385
- this.data = this.formattedData.formatData(
386
- "chrpair",
387
- items.items,
388
- this.binpx,
389
- this.calcResolution,
390
- firstisx,
391
- isintrachr
392
- );
393
- this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
394
- for (const [x, y, v] of this.data) {
395
- this.colorizeElement.colorizeElement(
396
- x,
397
- y,
398
- v,
399
- this.ctx,
400
- this.binpx,
401
- //width
402
- this.binpx,
403
- //height
404
- this.parent("min"),
405
- this.parent("max"),
406
- "chrpair"
407
- );
408
- }
409
- this.app.dispatch({ type: "loading_active", active: false });
410
- }
411
- };
412
-
413
- // tracks/hic/horizontal/HorizontalView.ts
414
- var HorizontalView = class {
415
- constructor(opts) {
416
- /** Defaults*/
417
- this.maxPercentage = 5;
418
- this.subPanelPxWidth = 600;
419
- this.borderColor = "rgba(200,0,0,.1)";
420
- this.app = opts.app;
421
- this.hic = opts.hic;
422
- this.plotDiv = opts.plotDiv;
423
- this.items = opts.items;
424
- this.parent = opts.parent;
425
- }
426
- setRunPpTracks() {
427
- const tracks = [
428
- {
429
- type: "hicstraw",
430
- file: this.hic.file,
431
- url: this.hic.url,
432
- name: this.hic.name,
433
- enzyme: this.hic.enzyme,
434
- maxpercentage: this.maxPercentage,
435
- pyramindup: 1
436
- }
437
- ];
438
- if (this.hic.tklst) {
439
- for (const t of this.hic.tklst) {
440
- tracks.push(t);
441
- }
442
- }
443
- first_genetrack_tolist(this.hic.genome, tracks);
444
- return tracks;
445
- }
446
- setRunPpArgs(tracks) {
447
- const arg = {
448
- holder: this.plotDiv.plot,
449
- hostURL: this.hic.hostURL,
450
- jwt: this.hic.jwt,
451
- genome: this.hic.genome,
452
- nobox: 1,
453
- tklst: tracks
454
- };
455
- const state = this.parent("state");
456
- if (state.x.chr == state.y.chr && Math.max(state.x.start, state.y.start) < Math.min(state.x.stop, state.y.stop)) {
457
- arg["chr"] = state.x.chr;
458
- arg["start"] = Math.min(state.x.start, state.y.start);
459
- arg["stop"] = Math.max(state.x.stop, state.y.stop);
460
- } else {
461
- arg["chr"] = state.x.chr;
462
- arg["start"] = state.x.start;
463
- arg["stop"] = state.x.stop;
464
- arg["width"] = this.subPanelPxWidth;
465
- arg["subpanels"] = [
466
- {
467
- chr: state.y.chr,
468
- start: state.y.start,
469
- stop: state.y.stop,
470
- width: this.subPanelPxWidth,
471
- leftpad: 10,
472
- leftborder: this.borderColor
473
- }
474
- ];
475
- }
476
- return arg;
477
- }
478
- render() {
479
- const tracks = this.setRunPpTracks();
480
- const arg = this.setRunPpArgs(tracks);
481
- blocklazyload(arg);
482
- }
483
- // update() {
484
- // //Not required.
485
- // //If controls are added back. Implement changes here.
486
- // }
487
- };
488
-
489
- // tracks/hic/detail/DetailBlock.ts
490
- var DetailBlock = class {
491
- constructor(app, hic, blockwidth, bbmargin, holder, isYblock) {
492
- /** Defaults */
493
- this.leftheadw = 20;
494
- this.rightheadw = 40;
495
- this.lpad = 1;
496
- this.rpad = 1;
497
- this.firstRender = true;
498
- this.app = app;
499
- this.hic = hic;
500
- this.width = blockwidth;
501
- this.bbmargin = bbmargin;
502
- this.holder = holder;
503
- this.isYblock = isYblock;
504
- this.bbw = this.leftheadw + this.lpad + this.width + this.rpad + this.rightheadw + 2 * this.bbmargin;
505
- this.defaultLeft = this.bbmargin + this.leftheadw + this.lpad;
506
- this.defaultTop = this.bbmargin + this.rightheadw + this.rpad;
507
- }
508
- setArgs(chrObj) {
509
- const runPpArgs = {
510
- hostURL: this.hic.hostURL,
511
- genome: this.hic.genome,
512
- holder: this.holder,
513
- noresize: true,
514
- nobox: true,
515
- butrowbottom: true,
516
- style: {
517
- margin: `${this.bbmargin}px`
518
- },
519
- width: this.width,
520
- leftheadw: this.leftheadw,
521
- chr: chrObj.chr,
522
- start: chrObj.start,
523
- stop: chrObj.stop,
524
- rightheadw: this.rightheadw,
525
- tklst: [],
526
- rotated: this.isYblock,
527
- showreverse: this.isYblock
528
- };
529
- first_genetrack_tolist(this.hic.genome, runPpArgs.tklst);
530
- return runPpArgs;
531
- }
532
- setMethods(canvasHolder, canvas, sheath) {
533
- const runPpMethods = {
534
- onloadalltk_always: () => {
535
- this.onload(canvasHolder, canvas, sheath);
536
- },
537
- onpanning: (xoff) => this.onpanning(xoff, canvas)
538
- };
539
- if (this.isYblock) {
540
- runPpMethods["onsetheight"] = (bbh) => {
541
- this.holder.transition().style("left", `${bbh + this.bbmargin + 30}px`);
542
- };
543
- }
544
- return runPpMethods;
545
- }
546
- onload(canvasHolder, canvas, sheath) {
547
- this.bbw = this.block.leftheadw + this.block.lpad + this.block.width + this.block.rpad + this.block.rightheadw + 2 * this.bbmargin;
548
- if (this.isYblock) {
549
- sheath.transition().style("height", `${this.bbw}px`);
550
- canvasHolder.style("height", `${this.bbw}px`);
551
- } else canvasHolder.style("width", `${this.bbw}px`);
552
- if (this.isYblock) {
553
- this.defaultTop = this.bbmargin + this.block.rightheadw + this.block.rpad;
554
- canvas.style("top", `${this.defaultTop}px`);
555
- } else {
556
- this.defaultLeft = this.bbmargin + this.block.leftheadw + this.block.lpad;
557
- canvas.style("left", `${this.defaultLeft}px`);
558
- }
559
- const config = {
560
- [this.isYblock ? "y" : "x"]: {
561
- chr: this.block.rglst[0].chr,
562
- start: this.block.rglst[0].start,
563
- stop: this.block.rglst[0].stop
564
- }
565
- };
566
- if (this.firstRender == false) {
567
- this.app.dispatch({
568
- type: "view_update",
569
- config
570
- });
571
- } else {
572
- this.firstRender = false;
573
- }
574
- }
575
- onpanning(xoff, canvas) {
576
- if (!this.isYblock) canvas.style("left", `${xoff + this.defaultLeft}px`);
577
- else canvas.style("top", `${-xoff + this.defaultTop}px`);
578
- }
579
- async loadBlock(chrObj, canvasHolder, canvas, sheath) {
580
- const runPpArgs = this.setArgs(chrObj);
581
- const runPpMethods = this.isYblock ? this.setMethods(canvasHolder, canvas, sheath) : this.setMethods(canvasHolder, canvas);
582
- const args = Object.assign(runPpArgs, runPpMethods);
583
- await blocklazyload(args).then(async (block) => {
584
- this.block = block;
585
- });
586
- }
587
- };
588
-
589
- // tracks/hic/data/DetailDataFetcher.ts
590
- var DetailDataFetcher = class {
591
- constructor(errList) {
592
- this.obj = {
593
- rglst: []
594
- };
595
- this.errList = errList;
596
- }
597
- isFragData(hic, resolution) {
598
- if (resolution != null) return;
599
- if (!hic.enzyme) {
600
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
601
- return;
602
- }
603
- }
604
- formatFragArgs(enzymefile, chr) {
605
- const arg = {
606
- getdata: 1,
607
- getBED: 1,
608
- file: enzymefile,
609
- rglst: [chr]
610
- };
611
- return arg;
612
- }
613
- /**
614
- * @param arg Formated obj from either fn above
615
- * @param errList
616
- * @returns
617
- */
618
- async getBedData(arg) {
619
- try {
620
- return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(arg) });
621
- } catch (e) {
622
- this.errList.push(e.message || e);
623
- if (e.stack) console.error(e.stack);
624
- }
625
- }
626
- async getXFragData(hic, resolution, chrx) {
627
- this.isFragData(hic, resolution);
628
- if (!hic.enzymefile) return;
629
- const reqArgs = this.formatFragArgs(hic.enzymefile, chrx);
630
- return await this.getBedData(reqArgs);
631
- }
632
- async getYFragData(hic, chry) {
633
- const reqArgs = this.formatFragArgs(hic.enzymefile, chry);
634
- return await this.getBedData(reqArgs);
635
- }
636
- /**
637
- * Separate request from data fetch
638
- * Returns the additional fragment data
639
- * @param fragCoords
640
- */
641
- async fetchData(hic, detailView, resolution, x, y, fragCoords) {
642
- const fragStrawArgs = {
643
- matrixType: detailView.matrixType,
644
- file: hic.file,
645
- url: hic.url,
646
- pos1: this.determinePosition(hic, x, fragCoords?.x),
647
- pos2: this.determinePosition(hic, y, fragCoords?.y),
648
- nmeth: detailView.nmeth,
649
- resolution
650
- };
651
- if (fragCoords) fragStrawArgs["isfrag"] = true;
652
- try {
653
- const data = dofetch3("hicdata?", {
654
- method: "POST",
655
- body: JSON.stringify(fragStrawArgs)
656
- });
657
- if (data.error) {
658
- this.errList.push(data.error);
659
- }
660
- return data;
661
- } catch (e) {
662
- this.errList.push(e.message || e);
663
- if (e.stack) console.error(e.stack);
664
- }
665
- }
666
- determinePosition(hic, chr, fragCoord) {
667
- if (fragCoord) {
668
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${fragCoord.start}:${fragCoord.stop}`;
669
- } else {
670
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${chr.start}:${chr.stop}`;
671
- }
672
- }
673
- };
674
-
675
- // tracks/hic/data/ParseFragData.ts
676
- var ParseFragData = class {
677
- constructor(errLst, items) {
678
- this.id2coord = /* @__PURE__ */ new Map();
679
- this.min = null;
680
- this.max = null;
681
- this.items = [];
682
- this.errLst = errLst;
683
- for (const i of items) {
684
- if (!i.rest || !i.rest[0]) {
685
- this.errLst.push("items[].rest data problem");
686
- }
687
- const id = Number.parseInt(i.rest[0]);
688
- if (Number.isNaN(id)) {
689
- this.errLst.push(`${i.start}.${i.stop} invalid fragment id: ${i.rest[0]}`);
690
- }
691
- this.id2coord.set(id, [i.start, i.stop]);
692
- if (this.min == null) {
693
- this.min = id;
694
- this.max = id;
695
- } else {
696
- this.min = Math.min(this.min, id);
697
- this.max = Math.max(this.max, id);
698
- }
699
- }
700
- }
701
- };
702
-
703
- // tracks/hic/data/DetailDataMapper.ts
704
- var DetailDataMapper = class {
705
- constructor(hic, errList, parent) {
706
- this.frag = {
707
- x: {},
708
- y: {}
709
- };
710
- this.hic = hic;
711
- this.errList = errList;
712
- this.dataFetcher = new DetailDataFetcher(errList);
713
- this.parent = parent;
714
- }
715
- async getFragData(chrx, chry) {
716
- try {
717
- const xFragData = await this.dataFetcher.getXFragData(this.hic, this.parent("calcResolution"), chrx);
718
- if (xFragData) {
719
- if (!xFragData.items) {
720
- this.errList.push(`No fragment data returned for ${chrx.chr}:${chrx.start}-${chrx.stop}`);
721
- return;
722
- }
723
- const xParse = new ParseFragData(this.errList, xFragData.items);
724
- if (this.errList.length) return;
725
- this.frag.x = {
726
- id2coord: xParse.id2coord,
727
- start: xParse.min,
728
- stop: xParse.max
729
- };
730
- const yFragData = await this.dataFetcher.getYFragData(this.hic, chry);
731
- if (this.errList.length) return;
732
- if (yFragData) {
733
- if (!yFragData.items) {
734
- this.errList.push(`No fragment data returned for ${chry.chr}:${chry.start}-${chry.stop}`);
735
- return;
736
- }
737
- const yParse = new ParseFragData(this.errList, yFragData.items);
738
- if (this.errList.length) return;
739
- this.frag.y = {
740
- id2coord: /* @__PURE__ */ new Map(),
741
- start: yParse.min,
742
- stop: yParse.max
743
- };
744
- this.determineMap(yParse.id2coord, chrx, chry);
745
- }
746
- }
747
- } catch (e) {
748
- this.errList.push(e.message || e);
749
- if (e.stack) console.error(e.stack);
750
- }
751
- }
752
- determineMap(map, chrx, chry) {
753
- if (chrx.chr == chry.chr) {
754
- for (const [id, pos] of map) {
755
- this.frag.x["id2coord"].set(id, pos);
756
- }
757
- this.frag.y["id2coord"] = this.frag.x["id2coord"];
758
- } else {
759
- this.frag.y["id2coord"] = map;
760
- }
761
- }
762
- async getData(chrx, chry, fragCoords) {
763
- return await this.dataFetcher.fetchData(
764
- this.hic,
765
- this.parent("state")["detail"],
766
- this.parent("calcResolution"),
767
- chrx,
768
- chry,
769
- fragCoords
770
- );
771
- }
772
- };
773
-
774
- // tracks/hic/data/DetailCoodinates.ts
775
- var DetailCoordinates = class {
776
- constructor(hic, errlist) {
777
- this.hic = hic;
778
- this.errlist = errlist;
779
- }
780
- getCoordinates(chrx, chry, data, resolution, widthHeightPx, fragData) {
781
- const isFirstX = new FirstChrX(this.hic.chrorder, chrx.chr, chry.chr).isFirstX();
782
- const isintrachr = chrx.chr == chry.chr;
783
- const xpxbp = widthHeightPx / (chrx.stop - chrx.start);
784
- const ypxbp = widthHeightPx / (chry.stop - chry.start);
785
- const list = this.calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData);
786
- return list;
787
- }
788
- calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData) {
789
- const list = [];
790
- for (const [xCoord, yCoord, value] of data.items) {
791
- let coord1, coord2, span1, span2;
792
- if (fragData) {
793
- const idx_start = isFirstX ? xCoord : yCoord;
794
- const idy_start = isFirstX ? yCoord : xCoord;
795
- if (fragData.x.id2coord.has(idx_start)) {
796
- const [a, b] = fragData.x.id2coord.get(idx_start);
797
- coord1 = a;
798
- span1 = b - a;
799
- } else {
800
- this.errlist.push(`[x id error] x: ${idx_start} y: ${idy_start}`);
801
- continue;
802
- }
803
- {
804
- const id_stop = idx_start + resolution;
805
- if (fragData.x.id2coord.has(id_stop)) {
806
- const ab = fragData.x.id2coord.get(id_stop);
807
- span1 = ab[1] - coord1;
808
- }
809
- }
810
- if (fragData.y.id2coord.has(idy_start)) {
811
- const [a, b] = fragData.y.id2coord.get(idy_start);
812
- coord2 = a;
813
- span2 = b - a;
814
- } else {
815
- this.errlist.push(`[y id error] x: ${idx_start} y: ${idy_start}`);
816
- continue;
817
- }
818
- {
819
- const id_stop = idy_start + resolution;
820
- if (fragData.y.id2coord.has(id_stop)) {
821
- const ab = fragData.y.id2coord.get(id_stop);
822
- span2 = ab[1] - coord2;
823
- }
824
- }
825
- } else {
826
- coord1 = isFirstX ? xCoord : yCoord;
827
- coord2 = isFirstX ? yCoord : xCoord;
828
- span1 = resolution;
829
- span2 = resolution;
830
- }
831
- if (isintrachr) {
832
- if (coord1 > chrx.start - span1 && coord1 < chrx.stop && coord2 > chry.start - span2 && coord2 < chry.stop) {
833
- list.push([
834
- Math.floor((coord1 - chrx.start) * xpxbp),
835
- Math.floor((coord2 - chry.start) * ypxbp),
836
- Math.ceil(span1 * xpxbp),
837
- Math.ceil(span2 * ypxbp),
838
- value
839
- ]);
840
- }
841
- if (coord2 > chrx.start - span2 && coord2 < chrx.stop && coord1 > chry.start && coord1 < chry.stop) {
842
- list.push([
843
- Math.floor((coord2 - chrx.start) * xpxbp),
844
- Math.floor((coord1 - chry.start) * ypxbp),
845
- Math.ceil(span2 * xpxbp),
846
- Math.ceil(span1 * ypxbp),
847
- value
848
- ]);
849
- }
850
- continue;
851
- }
852
- list.push([
853
- Math.floor((coord1 - chrx.start) * xpxbp),
854
- Math.floor((coord2 - chry.start) * ypxbp),
855
- Math.ceil(span1 * xpxbp),
856
- Math.ceil(span2 * ypxbp),
857
- value
858
- ]);
859
- }
860
- return list;
861
- }
862
- };
863
-
864
- // tracks/hic/detail/DetailView.ts
865
- var DetailView = class {
866
- constructor(opts) {
867
- this.calcResolution = null;
868
- /** Defaults **/
869
- this.binpx = 2;
870
- this.bbmargin = 1;
871
- this.app = opts.app;
872
- this.hic = opts.hic;
873
- this.plotDiv = opts.plotDiv;
874
- this.sheath = opts.plotDiv.yAxis.append("div").style("position", "relative").style("width", "200px").style("height", "800px");
875
- this.rotor = this.sheath.append("div").style("position", "absolute").style("bottom", "0px").style("transform", "rotate(-90deg)").style("transform-origin", "left bottom");
876
- this.data = opts.data;
877
- this.parent = opts.parent;
878
- this.errList = this.parent("errList");
879
- this.resolution = new Resolution(opts.error);
880
- this.colorizeElement = new ColorizeElement();
881
- this.viewRangeBpW = this.resolution.getDefaultViewSpan(
882
- this.hic,
883
- this.parent("state").x,
884
- this.parent("state").y,
885
- this.parent("state").initialBinNum,
886
- this.parent("state").minBinNum_bp
887
- );
888
- this.dataMapper = new DetailDataMapper(this.hic, opts.error, opts.parent);
889
- this.coordinates = new DetailCoordinates(this.hic, this.errList);
890
- }
891
- renderCanvas(blockwidth) {
892
- this.canvasHolder = this.plotDiv.plot.append("div").style("position", "relative").style("width", `${this.xBlock.bbw}px`).style("height", `${this.yBlock.bbw}px`).style("overflow", "hidden");
893
- this.canvas = this.canvasHolder.append("canvas").style("display", "block").style("position", "absolute").attr("data-testid", "sjpp-hic-detail-canvas").attr("width", blockwidth).attr("height", blockwidth).on("mousedown", (event) => {
894
- const body = select_default(document.body);
895
- const x = event.clientX;
896
- const y = event.clientY;
897
- const oldx = Number.parseInt(this.canvas.style("left"));
898
- const oldy = Number.parseInt(this.canvas.style("top"));
899
- body.on("mousemove", (event2) => {
900
- const xoff = event2.clientX - x;
901
- const yoff = event2.clientY - y;
902
- this.xBlock.block.panning(xoff);
903
- this.yBlock.block.panning(yoff);
904
- this.canvas.style("left", `${oldx + xoff}px`).style("top", `${oldy + yoff}px`);
905
- });
906
- body.on("mouseup", (event2) => {
907
- body.on("mousemove", null).on("mouseup", null);
908
- const xoff = event2.clientX - x;
909
- const yoff = event2.clientY - y;
910
- console.log(xoff);
911
- this.xBlock.block.pannedby(xoff);
912
- this.yBlock.block.pannedby(yoff);
913
- });
914
- });
915
- }
916
- async render() {
917
- this.calcResolution = this.parent("calcResolution");
918
- const state = this.parent("state");
919
- this.xBlock = new DetailBlock(
920
- this.app,
921
- this.hic,
922
- state.settings.widthHeightPx,
923
- this.bbmargin,
924
- this.plotDiv.xAxis,
925
- false
926
- );
927
- this.yBlock = new DetailBlock(this.app, this.hic, state.settings.widthHeightPx, this.bbmargin, this.rotor, true);
928
- this.renderCanvas(state.settings.widthHeightPx);
929
- await this.xBlock.loadBlock(state.x, this.canvasHolder, this.canvas);
930
- await this.yBlock.loadBlock(state.y, this.canvasHolder, this.canvas, this.sheath);
931
- this.update(this.data);
932
- }
933
- async update(data) {
934
- if (data.items.length == 0) {
935
- this.app.dispatch({ type: "loading_active", active: false });
936
- return;
937
- }
938
- this.data = data;
939
- const state = this.parent("state");
940
- const initialWidth = Number.parseInt(this.canvas.attr("width"));
941
- const holderChange = Number.parseInt(this.canvasHolder.style("width")) - initialWidth + state.settings.widthHeightPx;
942
- this.canvasHolder.style("width", `${holderChange}px`).style("height", `${holderChange}px`);
943
- this.canvas.attr("width", `${state.settings.widthHeightPx}px`).attr("height", `${state.settings.widthHeightPx}px`);
944
- if (this.xBlock.block.width != state.settings.widthHeightPx) {
945
- this.xBlock.block.width = state.settings.widthHeightPx;
946
- this.yBlock.block.width = state.settings.widthHeightPx;
947
- this.xBlock.block.zoom2px(0, initialWidth);
948
- this.yBlock.block.zoom2px(0, initialWidth);
949
- }
950
- this.ctx = this.canvas.node().getContext("2d");
951
- const coords = this.coordinates.getCoordinates(
952
- state.x,
953
- state.y,
954
- this.parent("data"),
955
- this.parent("calcResolution"),
956
- state.settings.widthHeightPx,
957
- this.parent("fragData")
958
- );
959
- this.coords = coords;
960
- this.ctx.clearRect(0, 0, state.settings.widthHeightPx, state.settings.widthHeightPx);
961
- for (const [xCoord, yCoord, width, height, value] of this.coords) {
962
- this.colorizeElement.colorizeElement(
963
- xCoord,
964
- yCoord,
965
- value,
966
- this.ctx,
967
- width,
968
- height,
969
- this.parent("min"),
970
- this.parent("max"),
971
- "detail"
972
- );
973
- }
974
- this.app.dispatch({ type: "loading_active", active: false });
975
- }
976
- };
977
-
978
- // tracks/hic/axes/Chromosome.ts
979
- var Chromosome = class {
980
- constructor(chr, width) {
981
- this.label = chr;
982
- this.width = width;
983
- }
984
- };
985
-
986
- // tracks/hic/grid/Grid.ts
987
- var Grid = class _Grid {
988
- constructor(chrlst, resolution, chrlookup, binpx) {
989
- this.chromosomeMatrix = /* @__PURE__ */ new Map();
990
- this.chromosomeList = [];
991
- this.xoff = 0;
992
- this.yoff = 0;
993
- this.chr2px = [];
994
- this.chrlst = chrlst;
995
- let totalpx = this.chrlst.length;
996
- for (const chr of this.chrlst) {
997
- const w = Math.ceil(chrlookup[chr.toUpperCase()].len / resolution) * binpx;
998
- const chromosome = new Chromosome(chr, w);
999
- this.chromosomeList.push(chromosome);
1000
- this.chr2px[chr] = w;
1001
- totalpx += w;
1002
- }
1003
- this.totalpx = totalpx;
1004
- for (let i = 0; i < this.chrlst.length; i++) {
1005
- const chrx = this.chrlst[i];
1006
- this.chromosomeMatrix.set(chrx, /* @__PURE__ */ new Map());
1007
- let yoff = 0;
1008
- for (let j = 0; j <= i; j++) {
1009
- const chry = this.chrlst[j];
1010
- const chrxChrLen = chrlookup[chrx.toUpperCase()].len;
1011
- const chryChrLen = chrlookup[chry.toUpperCase()].len;
1012
- const xbins = Math.ceil(chrxChrLen / resolution) * binpx;
1013
- const ybins = Math.ceil(chryChrLen / resolution) * binpx;
1014
- this.chromosomeMatrix.get(chrx).set(chry, {
1015
- x: this.xoff,
1016
- y: yoff,
1017
- xbins,
1018
- ybins,
1019
- data: []
1020
- //Empty array of data to fill later
1021
- });
1022
- yoff += this.chr2px[chry] + _Grid.borderWidth;
1023
- }
1024
- this.yoff = yoff;
1025
- this.xoff += this.chr2px[chrx] + _Grid.borderWidth;
1026
- }
1027
- }
1028
- static {
1029
- this.checkerFill = "#DEF3FA";
1030
- }
1031
- static {
1032
- this.spaceColor = "#CCC";
1033
- }
1034
- static {
1035
- this.fontSize = 15;
1036
- }
1037
- static {
1038
- this.font = font;
1039
- }
1040
- static {
1041
- this.borderWidth = 1;
1042
- }
1043
- static {
1044
- this.defaultChrLabWidth = 100;
1045
- }
1046
- };
1047
-
1048
- // tracks/hic/viewmodel/GridViewModel.ts
1049
- var GridViewModel = class {
1050
- constructor(opts) {
1051
- this.grid = new Grid(opts.hic.chrlst, opts.resolution || opts.hic.bpresolution[0], opts.hic.genome.chrlookup, 1);
1052
- }
1053
- };
1054
-
1055
- // tracks/hic/grid/GridRenderer.ts
1056
- var GridRenderer = class {
1057
- constructor(svg, layerMap, layerSv, grid) {
1058
- this.svg = svg;
1059
- this.layerMap = layerMap.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1060
- this.layerSv = layerSv.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1061
- this.grid = grid;
1062
- }
1063
- render() {
1064
- this.renderAxisX(this.grid);
1065
- this.renderAxisY(this.grid);
1066
- this.svg.attr("width", Grid.defaultChrLabWidth + this.grid.xoff).attr("height", Grid.fontSize + this.grid.yoff);
1067
- }
1068
- renderAxisX(grid) {
1069
- let xoff = 0;
1070
- this.grid.chromosomeList.forEach((chr, index) => {
1071
- const chrw = chr.width;
1072
- if (index % 2 === 0) {
1073
- this.layerMap.append("rect").attr("x", xoff).attr("width", chrw).attr("height", Grid.fontSize).attr("y", -Grid.fontSize).attr("fill", Grid.checkerFill);
1074
- }
1075
- this.layerMap.append("text").attr("font-family", Grid.font).attr("text-anchor", "middle").attr("font-size", 12).attr("x", xoff + chrw / 2).text(chr.label);
1076
- xoff += chrw;
1077
- this.layerSv.append("line").attr("x1", xoff).attr("x2", xoff).attr("y2", grid.totalpx).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1078
- xoff += Grid.borderWidth;
1079
- });
1080
- }
1081
- renderAxisY(grid) {
1082
- let yoff = 0;
1083
- this.grid.chromosomeList.forEach((chr, index) => {
1084
- const chrh = chr.width;
1085
- if (index % 2 === 0) {
1086
- this.layerMap.append("rect").attr("x", -Grid.defaultChrLabWidth).attr("width", Grid.defaultChrLabWidth).attr("height", chrh).attr("y", yoff).attr("fill", Grid.checkerFill);
1087
- }
1088
- this.layerMap.append("text").attr("font-family", Grid.font).attr("text-anchor", "end").attr("dominant-baseline", "central").attr("font-size", 12).attr("y", yoff + chrh / 2).text(chr.label);
1089
- yoff += chrh;
1090
- this.layerSv.append("line").attr("x2", grid.totalpx).attr("y1", yoff).attr("y2", yoff).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1091
- yoff += Grid.borderWidth;
1092
- });
1093
- }
1094
- };
1095
-
1096
- // tracks/hic/genome/ChrsTooltips.ts
1097
- var ChrsTooltips = class {
1098
- constructor() {
1099
- this.chrx_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1100
- this.chry_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1101
- }
1102
- render(img, chrx, chry) {
1103
- const p = img.node().getBoundingClientRect();
1104
- this.chrx_tip.clear().show(p.left, p.top).d.style("top", null).style("bottom", window.innerHeight - p.top - window.pageYOffset + "px").text(chrx);
1105
- this.chry_tip.clear().show(p.left, p.top).d.style("left", null).style("right", document.body.clientWidth - p.left - window.pageXOffset + "px").text(chry);
1106
- }
1107
- };
1108
-
1109
- // tracks/hic/grid/GridElementRenderer.ts
1110
- var GridElementRenderer = class {
1111
- constructor(layerMap, app) {
1112
- this.app = app;
1113
- this.layerMap = layerMap;
1114
- this.tooltips = new ChrsTooltips();
1115
- }
1116
- render(obj, lead, follow, holder) {
1117
- obj.canvas = holder.append("canvas").style("display", "none").node();
1118
- obj.ctx = obj.canvas.getContext("2d");
1119
- obj.canvas.width = obj.xbins;
1120
- obj.canvas.height = obj.ybins;
1121
- obj.img = this.layerMap.append("image").attr("width", obj.canvas.width).attr("height", obj.canvas.height).attr("x", obj.x).attr("y", obj.y).on("click", async () => {
1122
- await this.app.dispatch({
1123
- type: "view_create",
1124
- view: "chrpair",
1125
- config: {
1126
- x: {
1127
- chr: lead
1128
- },
1129
- y: {
1130
- chr: follow
1131
- }
1132
- }
1133
- });
1134
- }).on("mouseover", () => {
1135
- this.tooltips.render(obj.img, lead, follow);
1136
- });
1137
- if (lead != follow) {
1138
- obj.canvas2 = holder.append("canvas").style("display", "none").node();
1139
- obj.canvas2.width = obj.ybins;
1140
- obj.canvas2.height = obj.xbins;
1141
- obj.ctx2 = obj.canvas2.getContext("2d");
1142
- obj.img2 = this.layerMap.append("image").attr("width", obj.canvas2.width).attr("height", obj.canvas2.height).attr("x", obj.y).attr("y", obj.x).on("click", async () => {
1143
- await this.app.dispatch({
1144
- type: "view_create",
1145
- view: "chrpair",
1146
- config: {
1147
- x: {
1148
- chr: follow
1149
- },
1150
- y: {
1151
- chr: lead
1152
- }
1153
- }
1154
- });
1155
- }).on("mouseover", () => {
1156
- this.tooltips.render(obj.img2, follow, lead);
1157
- });
1158
- } else {
1159
- obj.ctx2 = obj.ctx;
1160
- }
1161
- }
1162
- };
1163
-
1164
- // tracks/hic/grid/GridElementsRenderer.ts
1165
- var GridElementsRenderer = class {
1166
- constructor(grid, layerMap, app) {
1167
- this.grid = grid;
1168
- this.gridElementRenderer = new GridElementRenderer(layerMap, app);
1169
- }
1170
- render(holder) {
1171
- for (const [chrx, chryMap] of this.grid.chromosomeMatrix) {
1172
- for (const [chry, gridElem] of chryMap) {
1173
- this.gridElementRenderer.render(gridElem, chrx, chry, holder);
1174
- }
1175
- }
1176
- }
1177
- };
1178
-
1179
- // tracks/hic/genome/GenomeView.ts
1180
- var GenomeView = class {
1181
- constructor(opts) {
1182
- /** Dom */
1183
- this.tip = new Menu();
1184
- this.pica_x = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1185
- this.pica_y = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1186
- /** Data */
1187
- /** px width for each chr */
1188
- this.chr2px = {};
1189
- this.lead2follow = /* @__PURE__ */ new Map();
1190
- this.values = [];
1191
- /** Defaults */
1192
- this.defaultChrLabWidth = 100;
1193
- this.borderwidth = 1;
1194
- this.default_maxVPerc = 5;
1195
- this.fontsize = 15;
1196
- this.xoff = 0;
1197
- this.yoff = 0;
1198
- this.binpx = 1;
1199
- this.atdev_chrnum = 8;
1200
- this.min = 0;
1201
- this.max = 0;
1202
- this.app = opts.app;
1203
- this.hic = opts.hic;
1204
- this.plotDiv = opts.plotDiv;
1205
- this.data = opts.data;
1206
- this.parent = opts.parent;
1207
- this.resolution = opts.resolution || opts.hic.bpresolution[0];
1208
- this.svg = this.plotDiv.plot.append("svg").attr("data-testid", "sjpp-hic-genome-svg");
1209
- this.layer_map = this.svg.append("g").attr("data-testid", "sjpp-hic-layerMap-g");
1210
- this.layer_sv = this.svg.append("g").attr("data-testid", "sjpp-hic-layerSv-g");
1211
- this.colorizeElement = new ColorizeElement();
1212
- this.viewModel = new GridViewModel(opts);
1213
- this.viewRender = new GridRenderer(this.svg, this.layer_map, this.layer_sv, this.viewModel.grid);
1214
- this.gridElementsRenderer = new GridElementsRenderer(this.viewModel.grid, this.layer_map, this.app);
1215
- this.gridFormattedData = new GridElementsFormattedData();
1216
- }
1217
- makeSv() {
1218
- const unknownchr = /* @__PURE__ */ new Set();
1219
- const radius = 8;
1220
- for (const item of this.hic.sv.items) {
1221
- const _o = this.lead2follow.get(item.chr1);
1222
- if (!_o) {
1223
- unknownchr.add(item.chr1);
1224
- continue;
1225
- }
1226
- const obj = _o.get(item.chr2);
1227
- if (!obj) {
1228
- unknownchr.add(item.chr2);
1229
- continue;
1230
- }
1231
- const p1 = item.position1 / this.resolution;
1232
- const p2 = item.position2 / this.resolution;
1233
- this.layer_sv.append("circle").attr("stroke", "black").attr("fill", "white").attr("fill-opacity", 0).attr("cx", obj.x + p1).attr("cy", obj.y + p2).attr("r", radius).on("mouseover", (event) => {
1234
- this.tooltipSv(event, item);
1235
- }).on("mouseout", () => {
1236
- this.tip.hide();
1237
- }).on("click", () => {
1238
- this.clickSv(item);
1239
- });
1240
- if (obj.img2) {
1241
- this.layer_sv.append("circle").attr("stroke", "black").attr("fill", "whilte").attr("fill-opacity", 0).attr("cy", obj.x + p1).attr("cx", obj.y + p2).attr("r", radius).on("mouseover", (event) => {
1242
- this.tooltipSv(event, item);
1243
- }).on("mouseout", () => {
1244
- this.tip.hide();
1245
- }).on("click", () => {
1246
- this.clickSv(item);
1247
- });
1248
- }
1249
- }
1250
- }
1251
- tooltipSv(event, item) {
1252
- this.tip.clear().show(event.clientX, event.clientY).d.append("div").text(
1253
- item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`
1254
- );
1255
- }
1256
- clickSv(item) {
1257
- const default_svpointspan = 5e5;
1258
- const default_subpanelpxwidth = 600;
1259
- const subpanel_bordercolor = "rgba(200,0,0,.1)";
1260
- const pane = newpane({ x: 100, y: 100 });
1261
- pane.header.text(
1262
- this.hic.name + " " + (item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`)
1263
- );
1264
- const tracks = [
1265
- {
1266
- type: tkt.hicstraw,
1267
- file: this.hic.file,
1268
- enzyme: this.hic.enzyme,
1269
- maxpercentage: this.default_maxVPerc,
1270
- pyramidup: 1,
1271
- name: this.hic.name
1272
- }
1273
- ];
1274
- if (this.hic.tklst) {
1275
- for (const t of this.hic.tklst) {
1276
- tracks.push(t);
1277
- }
1278
- }
1279
- first_genetrack_tolist(this.hic.genome, tracks);
1280
- const arg = {
1281
- holder: pane.body,
1282
- hostURL: this.hic.hostURL,
1283
- jwt: this.hic.jwt,
1284
- genome: this.hic.genome,
1285
- nobox: 1,
1286
- tklst: tracks
1287
- };
1288
- if (item.chr1 == item.chr2 && Math.abs(item.position2 - item.position1) < default_svpointspan * 2) {
1289
- arg.chr = item.chr1;
1290
- const w = Math.abs(item.position2 - item.position1);
1291
- arg.start = Math.max(1, Math.min(item.position1, item.position2) - w);
1292
- arg.stop = Math.min(
1293
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1294
- Math.max(item.position1, item.position2) + w
1295
- );
1296
- } else {
1297
- arg.chr = item.chr1;
1298
- arg.start = Math.max(1, item.position1 - default_svpointspan / 2);
1299
- arg.stop = Math.min(
1300
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1301
- item.position1 + default_svpointspan / 2
1302
- );
1303
- arg.width = default_subpanelpxwidth;
1304
- arg.subpanels = [
1305
- {
1306
- chr: item.chr2,
1307
- start: Math.max(1, item.position2 - default_svpointspan / 2),
1308
- stop: Math.min(
1309
- this.hic.genome.chrlookup[item.chr2.toUpperCase()].len,
1310
- item.position2 + default_svpointspan / 2
1311
- ),
1312
- width: default_subpanelpxwidth,
1313
- leftpad: 10,
1314
- leftborder: subpanel_bordercolor
1315
- }
1316
- ];
1317
- }
1318
- blocklazyload(arg);
1319
- }
1320
- render() {
1321
- this.viewRender.render();
1322
- this.gridElementsRenderer.render(this.hic.holder);
1323
- if (this.hic.sv && this.hic.sv.items) {
1324
- this.makeSv();
1325
- }
1326
- this.update(this.data);
1327
- }
1328
- update(data) {
1329
- this.data = data;
1330
- this.min = this.parent("min");
1331
- this.max = this.parent("max");
1332
- for (const data2 of this.data) {
1333
- if (!this.hic.chrlst.includes(data2.lead) || !this.hic.chrlst.includes(data2.follow)) continue;
1334
- const obj = this.viewModel.grid.chromosomeMatrix.get(data2.lead).get(data2.follow);
1335
- if (!obj) continue;
1336
- obj.ctx.clearRect(0, 0, obj.canvas.width, obj.canvas.height);
1337
- if (obj.canvas2) {
1338
- obj.ctx2.clearRect(0, 0, obj.canvas2.width, obj.canvas.height);
1339
- }
1340
- obj.data = this.gridFormattedData.formatData("genome", data2.items, this.binpx, this.resolution);
1341
- for (const [xPx, yPx, value] of obj.data) {
1342
- this.colorizeElement.colorizeElement(xPx, yPx, value, obj, this.binpx, this.binpx, this.min, this.max, "genome");
1343
- }
1344
- obj.img.attr("xlink:href", obj.canvas.toDataURL());
1345
- if (obj.canvas2) {
1346
- obj.img2.attr("xlink:href", obj.canvas2.toDataURL());
1347
- }
1348
- }
1349
- this.app.dispatch({ type: "loading_active", active: false });
1350
- }
1351
- };
1352
-
1353
- // tracks/hic/controls/NormalizationMethodControl.ts
1354
- var NormalizationMethodControl = class {
1355
- constructor(holder, normalization, defaultNmeth, callback) {
1356
- this.holder = holder;
1357
- this.normalization = normalization;
1358
- this.defaultNmeth = defaultNmeth;
1359
- this.callback = callback;
1360
- }
1361
- render() {
1362
- if (!this.normalization?.length) {
1363
- this.nmethSelect = this.holder.text(this.defaultNmeth);
1364
- } else {
1365
- this.nmethSelect = this.holder.style("margin-right", "10px").append("select").on("change", async () => {
1366
- const nmeth = this.nmethSelect.node().value;
1367
- this.callback(nmeth, "nmeth");
1368
- });
1369
- for (const n of this.normalization) {
1370
- this.nmethSelect.append("option").text(n);
1371
- }
1372
- }
1373
- }
1374
- update(option) {
1375
- const options = this.nmethSelect.node().options;
1376
- if (!options) return;
1377
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1378
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1379
- selectedNmeth.selected = true;
1380
- }
1381
- };
1382
-
1383
- // tracks/hic/controls/CutoffControl.ts
1384
- var CutoffControl = class {
1385
- constructor(holder, value, callback) {
1386
- this.holder = holder;
1387
- this.value = value;
1388
- this.callback = callback;
1389
- }
1390
- render(opts) {
1391
- const cutoffDiv = this.holder.style("margin-right", "10px").append("input").attr("type", "number").style("width", opts && "width" in opts ? opts.width : "80px").style("margin-left", "0px").attr("type", "number").property("value", this.value).on("keyup", async (event) => {
1392
- if (event.code != "Enter") return;
1393
- const v = event.target.value;
1394
- this.callback(v);
1395
- });
1396
- return cutoffDiv;
1397
- }
1398
- };
1399
-
1400
- // tracks/hic/controls/MatrixTypeControl.ts
1401
- var MatrixTypeControl = class {
1402
- constructor(holder, callback) {
1403
- this.values = [
1404
- { label: "Observed", value: "observed" },
1405
- { label: "Expected", value: "expected" },
1406
- { label: "Observed/Expected", value: "oe" },
1407
- { label: "Log(Observed/Expected)", value: "log(oe)" }
1408
- // TODO: add server side logic to support these options
1409
- // { label: 'Log(Observed + 1)', value: 'log(obs+1)'},
1410
- // { label: 'Observed Pearson', value: 'op'}
1411
- ];
1412
- this.holder = holder;
1413
- this.callback = callback;
1414
- }
1415
- render() {
1416
- this.matrixSelect = this.holder.style("margin-right", "10px").append("select").on("change", async () => {
1417
- this.callback(this.matrixSelect.node().value, "matrixType");
1418
- });
1419
- for (const matrixType of this.values) {
1420
- this.matrixSelect.append("option").text(matrixType.label).attr("value", matrixType.value);
1421
- }
1422
- }
1423
- update(option) {
1424
- const options = this.matrixSelect.node().options;
1425
- if (!options) return;
1426
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1427
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1428
- selectedNmeth.selected = true;
1429
- }
1430
- };
1431
-
1432
- // tracks/hic/controls/ControlPanel.ts
1433
- var ControlPanel = class {
1434
- constructor(opts) {
1435
- this.zoomBlockCallback = (bool) => {
1436
- const detailView = this.parent("detail");
1437
- detailView.xBlock.block.zoomblock(2, bool);
1438
- detailView.yBlock.block.zoomblock(2, bool);
1439
- };
1440
- this.minCallback = (v) => {
1441
- if (Number(v) > Number(this.parent("max"))) {
1442
- this.error("Min cutoff cannot be greater than max cutoff");
1443
- } else {
1444
- this.parent("min", Number(v));
1445
- this.reColorHeatmap();
1446
- this.parent("infoBar").update();
1447
- }
1448
- };
1449
- this.maxCallback = (v) => {
1450
- if (Number(v) < Number(this.parent("min"))) {
1451
- this.error(`Max cutoff cannot be less than min cutoff`);
1452
- } else if (Number(v) < 0) {
1453
- this.error(`Max cutoff cannot be less than 0`);
1454
- } else {
1455
- this.parent("max", Number(v));
1456
- this.reColorHeatmap();
1457
- this.parent("infoBar").update();
1458
- }
1459
- };
1460
- this.reColorHeatmap = () => {
1461
- if (this.parent("activeView") == "genome") {
1462
- const genomeView = this.parent("genome");
1463
- const chrMatrix = genomeView.viewRender.grid.chromosomeMatrix;
1464
- if (!chrMatrix) return;
1465
- for (const map of chrMatrix) {
1466
- const yMap = map[1];
1467
- for (const obj of yMap) {
1468
- const canvasObj = obj[1];
1469
- if (!canvasObj) continue;
1470
- for (const [leadpx, followpx, val] of canvasObj.data) {
1471
- this.colorizeElement.colorizeElement(
1472
- leadpx,
1473
- followpx,
1474
- val,
1475
- canvasObj,
1476
- 1,
1477
- 1,
1478
- this.parent("min"),
1479
- this.parent("max"),
1480
- "genome"
1481
- );
1482
- }
1483
- canvasObj.img.attr("xlink:href", canvasObj.canvas.toDataURL());
1484
- if (canvasObj.canvas2) {
1485
- canvasObj.img2.attr("xlink:href", canvasObj.canvas2.toDataURL());
1486
- }
1487
- }
1488
- }
1489
- } else if (this.parent("activeView") == "chrpair") {
1490
- const view = this.parent("chrpair");
1491
- for (const [xCoord, yCoord, val] of view.data) {
1492
- this.colorizeElement.colorizeElement(
1493
- xCoord,
1494
- yCoord,
1495
- val,
1496
- view.ctx,
1497
- view.binpx,
1498
- view.binpx,
1499
- this.parent("min"),
1500
- this.parent("max"),
1501
- "chrpair"
1502
- );
1503
- }
1504
- } else if (this.parent("activeView") == "detail") {
1505
- const view = this.parent("detail");
1506
- for (const [xCoord, yCoord, width, height, value] of view.coords) {
1507
- this.colorizeElement.colorizeElement(
1508
- xCoord,
1509
- yCoord,
1510
- value,
1511
- view.ctx,
1512
- width,
1513
- height,
1514
- this.parent("min"),
1515
- this.parent("max"),
1516
- "detail"
1517
- );
1518
- }
1519
- }
1520
- };
1521
- this.dropdownCallback = (v, prop) => {
1522
- const state = this.app.getState();
1523
- this.app.dispatch({
1524
- type: "view_update",
1525
- view: state.currView,
1526
- config: { [prop]: v }
1527
- });
1528
- };
1529
- this.type = "controlPanel";
1530
- this.controls = {};
1531
- this.app = opts.app;
1532
- this.controlsDiv = opts.controlsDiv;
1533
- this.hic = opts.hic;
1534
- this.colorizeElement = new ColorizeElement();
1535
- this.parent = opts.parent;
1536
- this.error = opts.error;
1537
- }
1538
- getState(appState) {
1539
- return appState;
1540
- }
1541
- addLabel(tr, text) {
1542
- return tr.append("td").style("color", "#858585").style("font-size", ".8em").style("vertical-align", text.toUpperCase() == "VIEW" ? "top" : "middle").text(text.toUpperCase());
1543
- }
1544
- init() {
1545
- const state = this.app.getState();
1546
- const menuWrapper = this.controlsDiv.style("background", "rgb(253, 250, 244)").style("vertical-align", "top").style("padding", "5px").style("border", "solid 0.5px #ccc");
1547
- let menuVisible = true;
1548
- this.controlsDiv.append("button").style("display", "block").style("border", "none").style("font-size", "1.5em").style("background", "none").html("&#8801;").on("click", () => {
1549
- menuVisible = !menuVisible;
1550
- menu.style("display", menuVisible ? "block" : "none");
1551
- });
1552
- const menu = menuWrapper.append("div").attr("class", "sjpp-hic-menu").style("display", menuVisible ? "block" : "none");
1553
- const menuTable = menu.append("table").style("border-spacing", "3px");
1554
- this.controls.normalizationRow = menuTable.append("tr");
1555
- this.addLabel(this.controls.normalizationRow, "NORMALIZATION");
1556
- this.controls.nmeth = new NormalizationMethodControl(
1557
- this.controls.normalizationRow.append("td").attr("class", "sjpp-nmeth-select"),
1558
- this.hic.normalization,
1559
- state.defaultNmeth,
1560
- this.dropdownCallback
1561
- );
1562
- this.controls.nmeth.render();
1563
- this.controls.minCutoffRow = menuTable.append("tr");
1564
- this.controls.minCutoffLabel = this.addLabel(this.controls.minCutoffRow, "");
1565
- this.controls.inputBpMinV = new CutoffControl(
1566
- this.controls.minCutoffRow.append("td"),
1567
- this.parent("min"),
1568
- this.minCallback
1569
- ).render({ width: "120px" });
1570
- this.controls.maxCutoffRow = menuTable.append("tr");
1571
- this.controls.maxCutoffLabel = this.addLabel(this.controls.maxCutoffRow, "");
1572
- this.controls.inputBpMaxV = new CutoffControl(
1573
- this.controls.maxCutoffRow.append("td"),
1574
- this.parent("max"),
1575
- this.maxCallback
1576
- ).render({ width: "120px" });
1577
- this.controls.matrixTypeRow = menuTable.append("tr");
1578
- this.addLabel(this.controls.matrixTypeRow, "matrix type");
1579
- this.controls.matrixType = new MatrixTypeControl(this.controls.matrixTypeRow.append("td"), this.dropdownCallback);
1580
- this.controls.matrixType.render();
1581
- this.controls.widthRow = menuTable.append("tr");
1582
- this.addLabel(this.controls.widthRow, "WIDTH / height");
1583
- this.controls.width = this.controls.widthRow.append("td");
1584
- this.controls.width.style("margin-right", "10px").append("input").attr("type", "number").style("width", "80px").style("margin-left", "0px").attr("type", "number").property("value", state.width).on("keyup", async (event) => {
1585
- if (event.code != "Enter") return;
1586
- const v = event.target.value;
1587
- this.app.dispatch({
1588
- type: "view_update",
1589
- config: {
1590
- settings: { widthHeightPx: Number.parseInt(v) }
1591
- }
1592
- });
1593
- });
1594
- const viewRow = menuTable.append("tr");
1595
- this.addLabel(viewRow, "VIEW");
1596
- const viewBtnDiv = viewRow.append("td");
1597
- this.controls.view = viewBtnDiv.append("span").style("padding-right", "5px").style("display", "block");
1598
- this.controls.genomeViewBtn = viewBtnDiv.append("button").style("display", "none").style("padding", "2px").style("margin-top", "4px").html("&#8810; Genome").on("click", async () => {
1599
- await this.app.dispatch({
1600
- type: "view_create",
1601
- view: "genome",
1602
- config: {
1603
- x: {},
1604
- y: {}
1605
- }
1606
- });
1607
- });
1608
- this.controls.chrpairViewBtn = viewBtnDiv.append("button").style("display", "none").style("padding", "2px").style("margin", "4px 0px").on("click", async () => {
1609
- const currState = this.app.getState();
1610
- await this.app.dispatch({
1611
- type: "view_create",
1612
- view: "chrpair",
1613
- config: {
1614
- x: {
1615
- chr: currState.x.chr
1616
- },
1617
- y: {
1618
- chr: currState.y.chr
1619
- }
1620
- }
1621
- });
1622
- });
1623
- this.controls.horizontalViewBtn = viewBtnDiv.append("button").style("display", "none").style("padding", "2px").style("margin", "4px 0px").html("Horizontal View &#8811;").on("click", async () => {
1624
- await this.app.dispatch({
1625
- type: "view_create",
1626
- view: "horizontal"
1627
- });
1628
- });
1629
- this.controls.detailViewBtn = viewBtnDiv.append("button").style("display", "none").style("padding", "2px").style("margin", "4px 0px").html("&#8810; Detailed View").on("click", async () => {
1630
- await this.app.dispatch({
1631
- type: "view_create",
1632
- view: "detail"
1633
- });
1634
- });
1635
- this.controls.zoomDiv = menuTable.append("tr").style("display", state.currView == "detail" ? "contents" : "none");
1636
- this.addLabel(this.controls.zoomDiv, "ZOOM");
1637
- const zoomDiv = this.controls.zoomDiv.append("td");
1638
- this.controls.zoomIn = zoomDiv.append("button").style("margin-right", "10px").text("In").on("click", () => {
1639
- this.zoomBlockCallback(false);
1640
- });
1641
- this.controls.zoomOut = zoomDiv.append("button").style("margin-right", "10px").text("Out").on("click", () => {
1642
- this.zoomBlockCallback(true);
1643
- });
1644
- }
1645
- showBtns() {
1646
- const state = this.app.getState();
1647
- this.controls.genomeViewBtn.style("display", state.currView === "genome" ? "none" : "inline-block");
1648
- if (state.currView === "detail") {
1649
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1650
- this.controls.horizontalViewBtn.style("display", "block");
1651
- this.controls.zoomDiv.style("display", "contents");
1652
- this.controls.detailViewBtn.style("display", "none");
1653
- } else if (state.currView === "horizontal") {
1654
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1655
- this.controls.detailViewBtn.style("display", "block");
1656
- this.controls.horizontalViewBtn.style("display", "none");
1657
- this.controls.zoomDiv.style("display", "none");
1658
- } else {
1659
- this.controls.chrpairViewBtn.style("display", "none");
1660
- this.controls.horizontalViewBtn.style("display", "none");
1661
- this.controls.detailViewBtn.style("display", "none");
1662
- this.controls.zoomDiv.style("display", "none");
1663
- this.controls.widthRow.style("display", "none");
1664
- }
1665
- }
1666
- showHideControls() {
1667
- const state = this.app.getState();
1668
- this.controls.normalizationRow.style("display", state.currView == "horizontal" ? "none" : "");
1669
- this.controls.minCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1670
- this.controls.maxCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1671
- this.controls.matrixTypeRow.style("display", state.currView == "horizontal" ? "none" : "");
1672
- this.controls.widthRow.style("display", state.currView == "detail" ? "contents" : "none");
1673
- }
1674
- main(appState) {
1675
- const state = this.app.getState(appState);
1676
- this.controls.nmeth.update(state[state.currView].nmeth);
1677
- this.controls.matrixType.update(state[state.currView].matrixType);
1678
- this.controls.zoomDiv.style("display", state.currView == "detail" ? "contents" : "none");
1679
- if (state.currView == "chrpair") {
1680
- this.controls.view.text(`${state.x.chr}-${state.y.chr} Pair`);
1681
- } else {
1682
- this.controls.view.text(state.currView.charAt(0).toUpperCase() + state.currView.slice(1));
1683
- }
1684
- const formatAbsMin = this.parent("absMin") < 1e-5 ? Number(this.parent("absMin")).toExponential(1) : Number(this.parent("absMin").toFixed(6));
1685
- const formatAbsMax = this.parent("absMax") < 1e-5 ? Number(this.parent("absMax")).toExponential(1) : Number(this.parent("absMax").toFixed(6));
1686
- this.controls.width.select("input").property("value", state.settings.widthHeightPx);
1687
- this.controls.inputBpMinV.property("value", this.parent("min"));
1688
- this.controls.inputBpMaxV.property("value", this.parent("max"));
1689
- this.controls.minCutoffLabel.html(`MIN CUTOFF <br>(>= ${formatAbsMin})`);
1690
- this.controls.maxCutoffLabel.html(`MAX CUTOFF <br>(<= ${formatAbsMax})`);
1691
- this.showBtns();
1692
- this.showHideControls();
1693
- }
1694
- };
1695
- var controlPanelInit = getCompInit(ControlPanel);
1696
-
1697
- // tracks/hic/dom/InfoBar.ts
1698
- var InfoBar = class {
1699
- constructor(opts) {
1700
- /** Defaults **/
1701
- //Color shown on the left of the color scale
1702
- this.startColor = "white";
1703
- //Color shown on the right of the color scale
1704
- this.endColor = "red";
1705
- this.addLabel = (text) => {
1706
- return this.labelRow.append("td").style("color", "#858585").style("font-size", ".8em").style("text-align", "center").style("vertical-align", "middle").text(text.toUpperCase());
1707
- };
1708
- this.addValue = (text) => {
1709
- return this.valueRow.append("td").style("font-size", "1em").style("text-align", "center").style("vertical-align", "middle").text(text);
1710
- };
1711
- this.type = "infoBar";
1712
- this.app = opts.app;
1713
- this.hic = opts.hic;
1714
- const table = opts.infoBarDiv;
1715
- this.labelRow = table.append("tr");
1716
- this.valueRow = table.append("tr");
1717
- this.parent = opts.parent;
1718
- }
1719
- async render() {
1720
- this.addLabel("Version");
1721
- this.addValue(this.hic.version);
1722
- this.addLabel("Enzyme");
1723
- this.addValue(this.hic.enzyme || "N/A");
1724
- this.addLabel("Resolution");
1725
- this.resolutionDiv = this.addValue("");
1726
- this.colorScaleLabel = this.addLabel("Scale");
1727
- this.colorScaleDiv = this.valueRow.append("td");
1728
- this.colorScale = new ColorScale({
1729
- barheight: 20,
1730
- barwidth: 100,
1731
- domain: [this.parent("min"), this.parent("max")],
1732
- fontSize: 12,
1733
- height: 40,
1734
- width: 150,
1735
- holder: this.colorScaleDiv,
1736
- colors: [this.startColor, this.endColor],
1737
- position: "20,0",
1738
- ticks: 3,
1739
- tickSize: 5,
1740
- //Do not use min value here on initialization. It's 0 and will not update later.
1741
- markedValue: 1
1742
- });
1743
- }
1744
- update() {
1745
- const res = this.parent("calcResolution");
1746
- let resolutionText;
1747
- if (res < this.hic.bpresolution[this.hic.bpresolution.length - 1]) {
1748
- resolutionText = `${res} fragment${res > 1 ? "s" : ""}`;
1749
- } else {
1750
- resolutionText = bplen(res);
1751
- }
1752
- this.resolutionDiv.text(resolutionText);
1753
- if (this.parent("state").currView == "horizontal") {
1754
- this.colorScaleLabel.style("display", "none");
1755
- this.colorScaleDiv.style("display", "none");
1756
- } else {
1757
- this.colorScaleLabel.style("display", "");
1758
- this.colorScaleDiv.style("display", "");
1759
- const min = this.parent("min");
1760
- const max = this.parent("max");
1761
- if (min < 0) {
1762
- this.colorScale.colors = ["blue", "white", "red"];
1763
- this.colorScale.domain = [min, 0, max];
1764
- } else {
1765
- this.colorScale.colors = ["white", "red"];
1766
- this.colorScale.domain = [0, max];
1767
- }
1768
- this.colorScale.markedValue = min;
1769
- this.colorScale.updateScale();
1770
- }
1771
- }
1772
- };
1773
-
1774
- // tracks/hic/data/DataMapper.ts
1775
- var DataMapper = class {
1776
- constructor(hic, percentile) {
1777
- this.hic = hic;
1778
- this.percentile = percentile ? percentile / 100 : 0.99;
1779
- }
1780
- sortData(data) {
1781
- const vlst = [];
1782
- if (data?.items && data?.items.length) {
1783
- for (const i of data.items) {
1784
- vlst.push(i[2]);
1785
- }
1786
- } else {
1787
- const blankChrs = /* @__PURE__ */ new Set();
1788
- for (const d of data) {
1789
- if (d.lead == "chrM" && !d.items.length || d.lead == "chrY" && !d.items.length) {
1790
- blankChrs.add(d.lead);
1791
- continue;
1792
- }
1793
- for (const i of d.items) {
1794
- vlst.push(i[2]);
1795
- }
1796
- }
1797
- if (blankChrs.size) {
1798
- for (const c of blankChrs) {
1799
- const idx = this.hic.chrlst.indexOf(c);
1800
- this.hic.chrlst.splice(idx, 1);
1801
- }
1802
- }
1803
- }
1804
- const sortedVlst = vlst.sort((a, b) => a - b);
1805
- const max = sortedVlst[Math.floor(sortedVlst.length * this.percentile)];
1806
- const min = sortedVlst[0];
1807
- return [min, max, sortedVlst[sortedVlst.length - 1]];
1808
- }
1809
- };
1810
-
1811
- // tracks/hic/data/GenomeDataFetcher.ts
1812
- var GenomeDataFetcher = class {
1813
- constructor(hic, debugmode, errList = []) {
1814
- this.data = [];
1815
- this.hic = hic;
1816
- this.debugmode = debugmode;
1817
- this.errList = errList || [];
1818
- }
1819
- async getData(obj) {
1820
- if (this.data.length) this.data = [];
1821
- if (!obj?.matrixType) obj.matrixType = "observed";
1822
- try {
1823
- const res = await dofetch3("hicgenome?", {
1824
- method: "POST",
1825
- body: JSON.stringify({
1826
- chrlst: this.hic.chrlst,
1827
- nmeth: obj.nmeth,
1828
- resolution: obj.resolution,
1829
- matrixType: obj.matrixType,
1830
- file: this.hic.file,
1831
- url: this.hic.url,
1832
- nochr: this.hic.nochr
1833
- })
1834
- });
1835
- if (res.error) {
1836
- const errs = res.error.split("\n");
1837
- for (const e of errs) {
1838
- this.errList.push(e);
1839
- }
1840
- }
1841
- return res.data;
1842
- } catch (e) {
1843
- this.errList.push(e.message || e);
1844
- if (e.stack) console.error(e.stack);
1845
- }
1846
- }
1847
- };
1848
-
1849
- // tracks/hic/data/DataFetcher.ts
1850
- var DataFetcher = class {
1851
- constructor(hic, debugmode, errList = []) {
1852
- this.hic = hic;
1853
- this.debugmode = debugmode;
1854
- this.errList = errList || [];
1855
- }
1856
- async getData(obj) {
1857
- if (!obj?.matrixType) obj.matrixType = "observed";
1858
- const arg = {
1859
- matrixType: obj.matrixType,
1860
- file: this.hic.file,
1861
- url: this.hic.url,
1862
- pos1: this.hic.nochr ? obj.lead.replace("chr", "") : obj.lead,
1863
- pos2: this.hic.nochr ? obj.follow.replace("chr", "") : obj.follow,
1864
- nmeth: obj.nmeth,
1865
- resolution: obj.resolution
1866
- };
1867
- try {
1868
- const data = await dofetch3("hicdata?", {
1869
- method: "POST",
1870
- body: JSON.stringify(arg)
1871
- });
1872
- if (data.error) {
1873
- throw Error(`${obj.lead} - ${obj.follow}: ${data.error.error}`);
1874
- }
1875
- if (!data.items || data.items.length == 0) return;
1876
- return data;
1877
- } catch (e) {
1878
- this.errList.push(e.message || e);
1879
- if (e.stack) console.error(e.stack);
1880
- }
1881
- }
1882
- };
1883
-
1884
- // tracks/hic/HicComponent.ts
1885
- var HicComponent = class {
1886
- constructor(opts) {
1887
- this.components = {
1888
- controls: []
1889
- };
1890
- this.genomeData = [];
1891
- this.calcResolution = null;
1892
- this.firstRender = true;
1893
- this.min = 0;
1894
- this.absMin = 0;
1895
- this.max = 0;
1896
- this.absMax = 0;
1897
- this.hasStatePreMain = true;
1898
- this.type = "view";
1899
- this.hic = opts.hic;
1900
- this.state = opts.state;
1901
- this.dom = opts.dom;
1902
- this.errList = opts.errList;
1903
- this.plotDiv = this.dom.plotDiv.append("table").classed("sjpp-hic-plot-main", true);
1904
- const tr1 = this.plotDiv.append("tr");
1905
- const tr2 = this.plotDiv.append("tr");
1906
- this.plotDiv = {
1907
- plot: tr1.append("td").classed("sjpp-hic-plot", true).attr("data-testid", "sjpp-hic-plot"),
1908
- yAxis: tr1.append("td").classed("sjpp-hic-plot-yaxis", true).attr("data-testid", "sjpp-hic-yaxis"),
1909
- xAxis: tr2.append("td").classed("sjpp-hic-plot-xaxis", true).attr("data-testid", "sjpp-hic-xaxis"),
1910
- blank: tr2.append("td")
1911
- };
1912
- this.app = opts.app;
1913
- this.dataMapper = new DataMapper(this.hic, opts.state.maxCutoffPercentile);
1914
- this.activeView = this.state.currView;
1915
- this.error = opts.error;
1916
- this.resolution = new Resolution(this.error);
1917
- this.parent = (prop) => {
1918
- return this[prop];
1919
- };
1920
- this.detailDataMapper = new DetailDataMapper(this.hic, this.errList, this.parent);
1921
- }
1922
- getState(appState) {
1923
- return appState;
1924
- }
1925
- reactsTo(action) {
1926
- if (action.type.startsWith("view")) return true;
1927
- else return false;
1928
- }
1929
- initView() {
1930
- const opts = {
1931
- plotDiv: this.plotDiv,
1932
- hic: this.hic,
1933
- app: this.app,
1934
- parent: (prop) => {
1935
- return this[prop];
1936
- }
1937
- };
1938
- if (this.state.currView == "genome") {
1939
- opts["data"] = this.data;
1940
- this.genome = new GenomeView(opts);
1941
- this.genome.render();
1942
- } else if (this.state.currView === "chrpair") {
1943
- opts["items"] = this.data;
1944
- this.chrpair = new ChrPairView(opts);
1945
- this.chrpair.render();
1946
- } else if (this.state.currView === "detail") {
1947
- opts["data"] = this.data;
1948
- this.detail = new DetailView(opts);
1949
- this.detail.render();
1950
- } else if (this.state.currView === "horizontal") {
1951
- this.horizontal = new HorizontalView(opts);
1952
- this.horizontal.render();
1953
- } else {
1954
- throw Error(`Unknown view: ${this.state.currView}`);
1955
- }
1956
- }
1957
- async fetchData(obj) {
1958
- if (this.data?.length) this.data = [];
1959
- if (this.state.currView == "genome") {
1960
- if (this.activeView != "genome" && this.genomeData?.length) this.data = this.genomeData;
1961
- else {
1962
- const genomeFetcher = new GenomeDataFetcher(this.hic, true, this.errList);
1963
- this.genomeData = await genomeFetcher.getData(obj);
1964
- this.data = this.genomeData;
1965
- }
1966
- } else if (this.state.currView == "detail") {
1967
- this.data = await this.detailDataMapper.getData(this.state.x, this.state.y, this.fragData);
1968
- } else {
1969
- if (!this.state?.x?.chr || !this.state?.y?.chr) {
1970
- this.errList.push(`No positions provided for ${this.activeView} view.`);
1971
- return;
1972
- } else {
1973
- const chrx = this.state.x;
1974
- const chry = this.state.y;
1975
- obj["lead"] = `${chrx.start && chrx.stop ? `${chrx.chr}:${chrx.start}-${chrx.stop}` : chrx.chr}`;
1976
- obj["follow"] = `${chry.start && chry.stop ? `${chry.chr}:${chry.start}-${chry.stop}` : chry.chr}`;
1977
- }
1978
- const dataFetcher = new DataFetcher(this.hic, true, this.errList);
1979
- this.data = await dataFetcher.getData(obj);
1980
- }
1981
- }
1982
- async setResolution(appState) {
1983
- const state = this.app.getState(appState);
1984
- this.calcResolution = this.resolution.getResolution(state, this.hic);
1985
- if (state.currView == "detail" && this.calcResolution == null) {
1986
- await this.detailDataMapper.getFragData(state.x, state.y);
1987
- this.fragData = this.detailDataMapper.frag;
1988
- const maxFragSpan = Math.min(
1989
- this.fragData.x.stop - this.fragData.x.start,
1990
- this.fragData.y.stop - this.fragData.y.start
1991
- );
1992
- this.calcResolution = this.resolution.findResFromArray(
1993
- maxFragSpan,
1994
- state.minFragSpan,
1995
- this.hic.fragresolution,
1996
- true
1997
- );
1998
- } else {
1999
- this.fragData = null;
2000
- }
2001
- return this.calcResolution;
2002
- }
2003
- async setDataArgs(appState) {
2004
- const state = this.app.getState(appState);
2005
- const currView = state[state.currView];
2006
- const args = {
2007
- nmeth: currView.nmeth,
2008
- resolution: await this.setResolution(appState),
2009
- matrixType: currView.matrixType
2010
- };
2011
- if (state.currView == "chrpair") {
2012
- args["lead"] = state.x.chr;
2013
- args["follow"] = state.y.chr;
2014
- }
2015
- return args;
2016
- }
2017
- async getViewData(appState) {
2018
- const args = await this.setDataArgs(appState);
2019
- await this.fetchData(args);
2020
- if (this.data?.length > 0 || this.data?.items?.length > 0) {
2021
- const [min, max, absMax] = this.dataMapper.sortData(this.data);
2022
- this.min = this.absMin = min;
2023
- this.max = max;
2024
- this.absMax = absMax;
2025
- } else {
2026
- if (this.state.currView != "genome") {
2027
- const state = this.app.getState(appState);
2028
- const xPosMessage = state.x?.start ? `${state.x.chr}:${state.x.start}-${state.x.stop}` : state.x.chr;
2029
- const yPosMessage = state.y?.start ? `${state.y.chr}:${state.y.start}-${state.y.stop}` : state.y.chr;
2030
- this.errList.push(`No data returned for ${xPosMessage} and ${yPosMessage}`);
2031
- }
2032
- }
2033
- }
2034
- async init() {
2035
- this.components = {
2036
- controls: await controlPanelInit({
2037
- app: this.app,
2038
- controlsDiv: this.dom.controlsDiv,
2039
- hic: this.hic,
2040
- parent: (prop, value) => {
2041
- if (value) this[prop] = value;
2042
- return this[prop];
2043
- },
2044
- error: this.error.bind(this)
2045
- })
2046
- };
2047
- this.infoBar = new InfoBar({
2048
- app: this.app,
2049
- infoBarDiv: this.dom.infoBarDiv.append("table").style("border-spacing", "3px"),
2050
- hic: this.hic,
2051
- parent: (prop) => {
2052
- return this[prop];
2053
- }
2054
- });
2055
- this.infoBar.render();
2056
- }
2057
- async main(appState) {
2058
- if (this.errList.length) {
2059
- this.app.dispatch({ type: "loading_active", active: false });
2060
- return;
2061
- }
2062
- const state = this.app.getState(appState);
2063
- if (this.firstRender == true) {
2064
- this.firstRender = false;
2065
- await this.getViewData(appState);
2066
- this.initView();
2067
- } else {
2068
- if (state.currView != "horizontal") {
2069
- this.app.dispatch({ type: "loading_active", active: true });
2070
- await this.getViewData(appState);
2071
- }
2072
- if (this.activeView != state.currView) {
2073
- if (this.activeView == "genome") {
2074
- this.genome.svg.remove();
2075
- } else {
2076
- this.plotDiv.xAxis.selectAll("*").remove();
2077
- this.plotDiv.yAxis.selectAll("*").remove();
2078
- this.plotDiv.plot.selectAll("*").remove();
2079
- }
2080
- this.activeView = state.currView;
2081
- this.initView();
2082
- } else {
2083
- this[state.currView].update(this.data);
2084
- }
2085
- }
2086
- this.infoBar.update();
2087
- if (this.errList.length) {
2088
- this.error(this.errList);
2089
- this.app.dispatch({ type: "loading_active", active: false });
2090
- }
2091
- }
2092
- };
2093
- var viewCompInit = getCompInit(HicComponent);
2094
-
2095
- // tracks/hic/HicApp.ts
2096
- var HicApp = class {
2097
- constructor(opts) {
2098
- this.views = ["genome", "chrpair", "detail", "horizontal"];
2099
- this.errList = [];
2100
- this.type = "app";
2101
- this.hic = {
2102
- enzyme: opts.enzyme,
2103
- file: opts.file,
2104
- url: opts.url,
2105
- genome: opts.genome,
2106
- holder: opts.holder,
2107
- hostUrl: opts.hostUrl,
2108
- jwt: opts.jwt,
2109
- position1: opts.position1,
2110
- position2: opts.position2,
2111
- maxCutoffPercentile: opts.maxCutoffPercentile,
2112
- name: "name" in opts ? opts.name : "Hi-C",
2113
- tklist: "tklst" in opts ? opts.tklst : [],
2114
- state: "state" in opts ? opts.state : {}
2115
- };
2116
- this.dom = {
2117
- errorDiv: opts.holder.append("div").classed("sjpp-hic-error", true),
2118
- controlsDiv: opts.holder.append("div").classed("sjpp-hic-controls", true).style("display", "inline-block"),
2119
- infoBarDiv: opts.holder.append("div").classed("sjpp-hic-infobar", true).style("display", "inline-block").style("vertical-align", "top").style("padding", "5px").style("border", "solid 0.5px #ccc"),
2120
- loadingDiv: select_default("body").append("div").attr("id", "sjpp-loading-overlay"),
2121
- plotDiv: opts.holder.append("div").classed("sjpp-hic-main", true).style("display", "inline-block"),
2122
- tip: new Menu()
2123
- };
2124
- }
2125
- async error(err) {
2126
- if (err && typeof err == "string") this.errList.push(err);
2127
- showErrorsWithCounter(this.errList, this.dom.errorDiv);
2128
- this.errList = [];
2129
- }
2130
- determineView() {
2131
- if (!this.hic.position1 && !this.hic.position2 && !this.hic.state.currView) this.hic.state.currView = "genome";
2132
- if (!this.hic.position1 && this.hic.position2) this.errList.push("Missing first position");
2133
- if (this.hic.position1 && !this.hic.position2) this.errList.push("Missing second position");
2134
- if (this.hic.position1 && this.hic.position2) {
2135
- const pos1 = this.hic.position1.split(/[:-]/);
2136
- const pos2 = this.hic.position2.split(/[:-]/);
2137
- this.hic.state.x = { chr: pos1[0] };
2138
- this.hic.state.y = { chr: pos2[0] };
2139
- if (!Number.isNaN(+pos1[1]) && !Number.isNaN(+pos1[2])) {
2140
- this.hic.state.x.start = +pos1[1];
2141
- this.hic.state.x.stop = +pos1[2];
2142
- this.hic.state.y.start = +pos2[1];
2143
- this.hic.state.y.stop = +pos2[2];
2144
- this.hic.state.currView = "detail";
2145
- } else {
2146
- this.hic.state.currView = "chrpair";
2147
- }
2148
- } else {
2149
- if (!this.views.some((v) => v === this.hic.state.currView)) this.error(`Unknown view: ${this.hic.state.currView}`);
2150
- else return this.hic.state.currView;
2151
- }
2152
- }
2153
- getViewsConfig() {
2154
- if (this.hic.maxCutoffPercentile) this.hic.state.maxCutoffPercentile = this.hic.maxCutoffPercentile;
2155
- let nmeth;
2156
- if (this.hic["normalization"]?.length > 0) {
2157
- if (!this.hic["normalization"].includes("NONE")) this.hic["normalization"].unshift("NONE");
2158
- nmeth = this.hic["normalization"][0];
2159
- } else {
2160
- nmeth = "NONE";
2161
- }
2162
- if (this.hic.state.currView) {
2163
- if (!this.hic.state[this.hic.state.currView]) this.hic.state[this.hic.state.currView] = {};
2164
- if (!this.hic.state[this.hic.state.currView]?.matrixType) {
2165
- this.hic.state[this.hic.state.currView].matrixType = "observed";
2166
- }
2167
- if (!this.hic.state[this.hic.state.currView]?.nmeth) {
2168
- this.hic.state[this.hic.state.currView].nmeth = nmeth;
2169
- }
2170
- }
2171
- for (const v of this.views) {
2172
- if (!this.hic.state[v]) {
2173
- this.hic.state[v] = {
2174
- matrixType: "observed",
2175
- nmeth
2176
- };
2177
- }
2178
- }
2179
- }
2180
- async init() {
2181
- this.determineView();
2182
- try {
2183
- await hicParseFile(this.hic, true, this.errList);
2184
- this.getViewsConfig();
2185
- this.store = await hicStoreInit({ app: this.api, state: this.hic.state });
2186
- this.state = await this.store.copyState();
2187
- this.components = {
2188
- loadingOverlay: await loadingInit({
2189
- app: this.api,
2190
- loadingDiv: this.dom.loadingDiv
2191
- }),
2192
- view: await viewCompInit({
2193
- app: this.api,
2194
- state: this.state,
2195
- dom: this.dom,
2196
- hic: this.hic,
2197
- errList: this.errList,
2198
- error: this.error
2199
- })
2200
- };
2201
- await this.api.dispatch();
2202
- } catch (e) {
2203
- console.error(e.stack || e);
2204
- }
2205
- }
2206
- main() {
2207
- if (this.errList.length) {
2208
- this.error(this.errList);
2209
- this.dom.loadingDiv.style("display", "none");
2210
- return;
2211
- }
2212
- }
2213
- };
2214
- var hicInit = getAppInit(HicApp);
2215
- export {
2216
- hicInit
2217
- };
2218
- //# sourceMappingURL=HicApp-XJERMLKH.js.map