@sjcrh/proteinpaint-client 2.183.0 → 2.183.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 (937) hide show
  1. package/dist/2dmaf-PBJ3POZQ.js +1371 -0
  2. package/dist/AIProjectAdmin-5IAXCACJ.js +830 -0
  3. package/dist/AppHeader-HLUE2IQT.js +833 -0
  4. package/dist/BoxPlot-NAQS5MHV.js +1217 -0
  5. package/dist/CorrelationVolcano-TVVUP4L4.js +617 -0
  6. package/dist/DE-F7LUSAO2.js +93 -0
  7. package/dist/DEinput-V7MF5IEZ.js +297 -0
  8. package/dist/DifferentialAnalysis-R2Z7G75Y.js +238 -0
  9. package/dist/Disco-7S5KUVQ6.js +3235 -0
  10. package/dist/Disco.UI-6ONZR7GK.js +242 -0
  11. package/dist/DmrPlot-NZXGFMBY.js +640 -0
  12. package/dist/GB-3EXBSESG.js +1125 -0
  13. package/dist/HicApp-WEYV7T46.js +2248 -0
  14. package/dist/NumBinaryEditor-SNJD6NVL.js +268 -0
  15. package/dist/NumBinaryEditor.unit.spec-A7C4A2HF.js +284 -0
  16. package/dist/NumContEditor-TBOEORWJ.js +105 -0
  17. package/dist/NumContEditor.unit.spec-BJKQNFPL.js +167 -0
  18. package/dist/NumCustomBinEditor-RNWEGLLB.js +36 -0
  19. package/dist/NumCustomBinEditor.unit.spec-CW3D5WOW.js +282 -0
  20. package/dist/NumDiscreteEditor-WXRAMEWQ.js +177 -0
  21. package/dist/NumDiscreteEditor.unit.spec-SJTHYGMI.js +200 -0
  22. package/dist/NumRegularBinEditor-LLSKHSJC.js +36 -0
  23. package/dist/NumRegularBinEditor.unit.spec-G3YRWT52.js +225 -0
  24. package/dist/NumSplineEditor-W6HG3I53.js +190 -0
  25. package/dist/NumSplineEditor.unit.spec-BVVTYJY7.js +197 -0
  26. package/dist/NumericDensity-VYAZXP4D.js +36 -0
  27. package/dist/NumericDensity.unit.spec-4QCKG6GM.js +219 -0
  28. package/dist/NumericHandler-PKCERKLB.js +37 -0
  29. package/dist/NumericHandler.unit.spec-JIYZ3IFG.js +217 -0
  30. package/dist/RunChart2-I4ZBBKOC.js +756 -0
  31. package/dist/SC-OLNRPTNS.js +682 -0
  32. package/dist/Volcano-DEOVDPYB.js +1185 -0
  33. package/dist/WSIViewer-VA36EDFH.js +47974 -0
  34. package/dist/WsiSamplesPlot-RA644FK6.js +163 -0
  35. package/dist/adSandbox-SJ3O3RVJ.js +36 -0
  36. package/dist/alphaGenome-UTVIVOEF.js +173 -0
  37. package/dist/app-6UPJNZVS.js +35 -0
  38. package/dist/app-YFBAT5TM.js +47 -0
  39. package/dist/app.js +20 -20
  40. package/dist/bam-C4KHGT7X.js +857 -0
  41. package/dist/barchart-UOELLJAZ.js +45 -0
  42. package/dist/barchart.data-EYZ3W4BQ.js +22 -0
  43. package/dist/barchart.events-SJZZV3TI.js +45 -0
  44. package/dist/barchart.integration.spec-A4XZNV3B.js +1675 -0
  45. package/dist/block-ODDURI6Y.js +6200 -0
  46. package/dist/block.init-TZXJGL7D.js +36 -0
  47. package/dist/block.mds.expressionrank-UE2D6D3N.js +357 -0
  48. package/dist/block.mds.geneboxplot-KINAWY6K.js +826 -0
  49. package/dist/block.mds.junction-HRJQOYBL.js +1543 -0
  50. package/dist/block.mds.svcnv-7C2IMZXB.js +6799 -0
  51. package/dist/block.svg-757BH6PD.js +162 -0
  52. package/dist/block.tk.aicheck-M4VAVJL6.js +281 -0
  53. package/dist/block.tk.ase-J5HCPECM.js +363 -0
  54. package/dist/block.tk.bam-7NFAMVLF.js +1904 -0
  55. package/dist/block.tk.bedgraphdot-HROSDQH5.js +382 -0
  56. package/dist/block.tk.bigwig.ui-BIMVFUT6.js +209 -0
  57. package/dist/block.tk.hicstraw-W7CWMNZ7.js +821 -0
  58. package/dist/block.tk.junction-ZUUBN36V.js +2362 -0
  59. package/dist/block.tk.junction.textmatrixui-PYJ4UGCF.js +197 -0
  60. package/dist/block.tk.ld-6E7ZXTCC.js +97 -0
  61. package/dist/block.tk.menu-SWT3R74J.js +1027 -0
  62. package/dist/block.tk.pgv-SEDDAV24.js +942 -0
  63. package/dist/brainImaging-X5WPNTUO.js +421 -0
  64. package/dist/chat-KZ3LZAQ6.js +148 -0
  65. package/dist/chunk-2LCTMDCS.js +20649 -0
  66. package/dist/chunk-2LCTMDCS.js.map +7 -0
  67. package/dist/chunk-2TMP56TB.js +386 -0
  68. package/dist/chunk-2VNQJGPM.js +92 -0
  69. package/dist/chunk-3DN47Y2E.js +526 -0
  70. package/dist/chunk-4IL33OUX.js +261 -0
  71. package/dist/chunk-4YG57UVZ.js +228 -0
  72. package/dist/chunk-54P7H5GL.js +1150 -0
  73. package/dist/chunk-5BBR2HND.js +158 -0
  74. package/dist/chunk-5BCACIPX.js +2784 -0
  75. package/dist/chunk-5OHXYXLD.js +46 -0
  76. package/dist/chunk-5OHXYXLD.js.map +7 -0
  77. package/dist/chunk-6CRWDKT7.js +289 -0
  78. package/dist/chunk-7M45T6YS.js +1426 -0
  79. package/dist/chunk-7N3Q25KC.js +26 -0
  80. package/dist/chunk-AQ2ODUYY.js +50 -0
  81. package/dist/chunk-AZLWNXFP.js +1087 -0
  82. package/dist/chunk-B3SLLQAS.js +100 -0
  83. package/dist/chunk-BEWDIM6H.js +42 -0
  84. package/dist/chunk-BEWDIM6H.js.map +7 -0
  85. package/dist/chunk-BHEBKIGM.js +824 -0
  86. package/dist/chunk-CAHAYB6O.js +148 -0
  87. package/dist/chunk-CGDEEO4I.js +37 -0
  88. package/dist/chunk-CXLRKDEC.js +56 -0
  89. package/dist/chunk-DET76M2J.js +102 -0
  90. package/dist/chunk-DONWY7TP.js +39 -0
  91. package/dist/chunk-DP5ACVIR.js +480 -0
  92. package/dist/chunk-E5JQ3PN6.js +176 -0
  93. package/dist/chunk-EJNV6SCH.js +148 -0
  94. package/dist/chunk-F5D4ADBB.js +514 -0
  95. package/dist/chunk-F6V4AYWP.js +177 -0
  96. package/dist/chunk-FBG235FD.js +229 -0
  97. package/dist/chunk-FGMPKWT5.js +371 -0
  98. package/dist/chunk-FWKAYZ55.js +205 -0
  99. package/dist/chunk-GMDQIP3M.js +31 -0
  100. package/dist/chunk-GXINX3WK.js +281 -0
  101. package/dist/chunk-GXINX3WK.js.map +7 -0
  102. package/dist/chunk-GZJ7GDZ4.js +2327 -0
  103. package/dist/chunk-GZJ7GDZ4.js.map +7 -0
  104. package/dist/chunk-H55L2FAY.js +107 -0
  105. package/dist/chunk-HED3JZ2O.js +615 -0
  106. package/dist/chunk-I2M62STM.js +276 -0
  107. package/dist/chunk-I2M62STM.js.map +7 -0
  108. package/dist/chunk-IBIFTCWL.js +293 -0
  109. package/dist/chunk-ILDUYXV5.js +407 -0
  110. package/dist/chunk-IQ25XHGX.js +335 -0
  111. package/dist/chunk-IQIXGTQV.js +84 -0
  112. package/dist/chunk-IQIXGTQV.js.map +7 -0
  113. package/dist/chunk-JLSN2WF5.js +95 -0
  114. package/dist/chunk-JOT4WDJE.js +815 -0
  115. package/dist/chunk-JQIR2UG5.js +1271 -0
  116. package/dist/chunk-K6ZAAZKO.js +1159 -0
  117. package/dist/chunk-K6ZAAZKO.js.map +7 -0
  118. package/dist/chunk-KBDY6GE3.js +446 -0
  119. package/dist/chunk-KZFOWI7N.js +52 -0
  120. package/dist/chunk-LKFYRQOH.js +226 -0
  121. package/dist/chunk-LO4WNMBO.js +6364 -0
  122. package/dist/chunk-LXQ6DLAR.js +217 -0
  123. package/dist/chunk-M3EBH2WK.js +194 -0
  124. package/dist/chunk-M5Z3GYRH.js +2672 -0
  125. package/dist/chunk-MEIKKPY7.js +2815 -0
  126. package/dist/chunk-MZ7RBJSI.js +629 -0
  127. package/dist/chunk-OH7PDA2Z.js +170 -0
  128. package/dist/chunk-OKIJIYSP.js +470 -0
  129. package/dist/chunk-OOD5HBVR.js +34 -0
  130. package/dist/chunk-OTCYJP7G.js +119 -0
  131. package/dist/chunk-P7T2U6T7.js +158 -0
  132. package/dist/chunk-PLHGSDJY.js +142 -0
  133. package/dist/chunk-PUDZL7RZ.js +1205 -0
  134. package/dist/chunk-PYJ3QA6E.js +14 -0
  135. package/dist/chunk-QDRZL47L.js +455 -0
  136. package/dist/chunk-QTGTMFHM.js +441 -0
  137. package/dist/chunk-QWL5TZ4G.js +97 -0
  138. package/dist/chunk-RCYTUKAJ.js +1745 -0
  139. package/dist/chunk-RCYTUKAJ.js.map +7 -0
  140. package/dist/chunk-RF6ATFT2.js +302 -0
  141. package/dist/chunk-RH573XZP.js +368 -0
  142. package/dist/chunk-SOED2SLH.js +257 -0
  143. package/dist/chunk-SOED2SLH.js.map +7 -0
  144. package/dist/chunk-SR72NS4M.js +4961 -0
  145. package/dist/chunk-SSPDNHDW.js +398 -0
  146. package/dist/chunk-SSPDNHDW.js.map +7 -0
  147. package/dist/chunk-STEV77G7.js +215 -0
  148. package/dist/chunk-TBRPZ3FL.js +4207 -0
  149. package/dist/chunk-TE3DK3A6.js +147 -0
  150. package/dist/chunk-TTGDA3MA.js +203 -0
  151. package/dist/chunk-UFDQ2R2Q.js +534 -0
  152. package/dist/chunk-UWX7W22M.js +121 -0
  153. package/dist/chunk-V2R3JFLP.js +54 -0
  154. package/dist/chunk-VKK5MGDU.js +272 -0
  155. package/dist/chunk-WHVOWEFP.js +117 -0
  156. package/dist/chunk-XQTXYKAU.js +55 -0
  157. package/dist/chunk-XRVBHNCW.js +1561 -0
  158. package/dist/chunk-XRVBHNCW.js.map +7 -0
  159. package/dist/chunk-YA73ETIT.js +252 -0
  160. package/dist/chunk-YXJXRXJR.js +273 -0
  161. package/dist/chunk-ZIAGMGMS.js +381 -0
  162. package/dist/chunk-ZXNBYIBD.js +129 -0
  163. package/dist/condition-RQP7JUST.js +330 -0
  164. package/dist/controls-WFT5GE3D.js +39 -0
  165. package/dist/controls.config-66ZKRSPU.js +37 -0
  166. package/dist/correlation-45MFH7X4.js +96 -0
  167. package/dist/cuminc-44ALCFL4.js +1147 -0
  168. package/dist/cuminc.integration.spec-I2UTPH3X.js +676 -0
  169. package/dist/customdata.inputui-PBA5LZRT.js +287 -0
  170. package/dist/dataDownload-CRGQTCOW.js +328 -0
  171. package/dist/dataDownload.integration.spec-7SAPXDH4.js +191 -0
  172. package/dist/databrowser.ui-O5TPKDPL.js +419 -0
  173. package/dist/dictionary-QGSAJ7FM.js +109 -0
  174. package/dist/dnaMethylation-4VDQBBGJ.js +36 -0
  175. package/dist/dnaMethylation.integration.spec-RSO5U6RN.js +165 -0
  176. package/dist/e2pca-7LPSASDI.js +348 -0
  177. package/dist/ep-AIOPCUME.js +1254 -0
  178. package/dist/expclust.gdc.spec-PSXJZCAI.js +305 -0
  179. package/dist/facet-W3RYRWXJ.js +519 -0
  180. package/dist/geneExpClustering-SBQWW6IZ.js +246 -0
  181. package/dist/geneExpression-4WEYCEZV.js +312 -0
  182. package/dist/geneExpression-JWYJNDN5.js +36 -0
  183. package/dist/geneExpression.unit.spec-HKD4DJIV.js +100 -0
  184. package/dist/geneORA-YUVDOZ5X.js +276 -0
  185. package/dist/geneVariant-J3UI6RWM.js +39 -0
  186. package/dist/geneVariant-ZB7CLFCT.js +37 -0
  187. package/dist/geneVariant.integration.spec-JDCKOR4C.js +196 -0
  188. package/dist/genefusion.ui-GUMRDRHQ.js +306 -0
  189. package/dist/genefusion.ui-GUMRDRHQ.js.map +7 -0
  190. package/dist/geneset-242QGP5Q.js +194 -0
  191. package/dist/genomeBrowser.spec-NRLKLJQD.js +279 -0
  192. package/dist/grin2-FD3JTI5R.js +1554 -0
  193. package/dist/grin2-TAR4VXPJ.js +1031 -0
  194. package/dist/gsea-YHG57UZ5.js +45 -0
  195. package/dist/hierCluster-QUAZ7NI6.js +62 -0
  196. package/dist/hierCluster-V2YZEXGX.js +58 -0
  197. package/dist/hierCluster.config-ZOWXZGTF.js +38 -0
  198. package/dist/hierCluster.integration.spec-FAR4KK32.js +374 -0
  199. package/dist/hierCluster.interactivity-D3TK5FSM.js +52 -0
  200. package/dist/hierCluster.renderers-C2RK55NN.js +21 -0
  201. package/dist/imagePlot-2CACVKOO.js +139 -0
  202. package/dist/importPlot-KUOEC2YF.js +8 -0
  203. package/dist/isoformExpression-2G4WCETG.js +38 -0
  204. package/dist/isoformExpression.unit.spec-YBNCR6PE.js +206 -0
  205. package/dist/launch.adhoc-PECQW652.js +40 -0
  206. package/dist/leftlabel.sample-6O2CXXC2.js +257 -0
  207. package/dist/legacyDataset-QRSNRVUA.js +119 -0
  208. package/dist/lollipop-CAFEKZSO.js +166 -0
  209. package/dist/maf-N7ZB5J22.js +450 -0
  210. package/dist/maftimeline-MCYB3EST.js +591 -0
  211. package/dist/matrix-ID662DZG.js +57 -0
  212. package/dist/matrix-JDGO6A4G.js +62 -0
  213. package/dist/matrix.cells-QWB3XSTN.js +28 -0
  214. package/dist/matrix.config-HHWMMUZT.js +39 -0
  215. package/dist/matrix.controls-EOX43634.js +37 -0
  216. package/dist/matrix.data-YTSSULKG.js +25 -0
  217. package/dist/matrix.groups-NGJ276VG.js +26 -0
  218. package/dist/matrix.integration.spec-XHGSEBYM.js +3070 -0
  219. package/dist/matrix.interactivity-OZS7R32Z.js +40 -0
  220. package/dist/matrix.layout-GBQJ7O3H.js +42 -0
  221. package/dist/matrix.legend-AGTC5JPS.js +22 -0
  222. package/dist/matrix.renderers-L5D5NLLR.js +36 -0
  223. package/dist/matrix.serieses-DDQOSCL4.js +21 -0
  224. package/dist/matrix.sort-6VF7VNFX.js +27 -0
  225. package/dist/matrix.sort.unit.spec-QGJBVO3X.js +470 -0
  226. package/dist/matrix.sorterUi-UE7CBIUP.js +18 -0
  227. package/dist/matrix.sorterUi.unit.spec-CTLTVJCO.js +340 -0
  228. package/dist/mavb-MU7H7YWY.js +730 -0
  229. package/dist/mds.fimo-ELCNQMNR.js +516 -0
  230. package/dist/mds.samplescatterplot-P7N4SXYT.js +1548 -0
  231. package/dist/mds.survivalplot-KJFW4IRT.js +481 -0
  232. package/dist/oncomatrix-Q5X3O65P.js +293 -0
  233. package/dist/oncomatrix.spec-CJGXXI3U.js +446 -0
  234. package/dist/plot.2dvaf-CDPVMUPX.js +375 -0
  235. package/dist/plot.app-BSPQMQCI.js +39 -0
  236. package/dist/plot.barplot-C33LEV4Q.js +100 -0
  237. package/dist/plot.boxplot-XH7FN6PC.js +150 -0
  238. package/dist/plot.brainImaging-5BB455FT.js +51 -0
  239. package/dist/plot.disco-3YUN6XAY.js +101 -0
  240. package/dist/plot.dzi-RZWAL5UC.js +33 -0
  241. package/dist/plot.ssgq-M763HWMN.js +137 -0
  242. package/dist/plot.vaf2cov-EAHQV6FD.js +257 -0
  243. package/dist/plot.wsi-2BDC3RJS.js +36 -0
  244. package/dist/polar-3SJ5SUNJ.js +184 -0
  245. package/dist/polar2-3GTEGZUL.js +226 -0
  246. package/dist/profile.spec-AR7JLQYT.js +78 -0
  247. package/dist/profileBarchart-GLTPPW2O.js +265 -0
  248. package/dist/profileForms-FE4GHA2T.js +438 -0
  249. package/dist/profilePlot-3JXEZUX5.js +52 -0
  250. package/dist/profileRadar-NA2WUSHG.js +261 -0
  251. package/dist/profileRadarFacility-6UNT4GPM.js +261 -0
  252. package/dist/proteinView-ESTBC3K2.js +633 -0
  253. package/dist/proteomeAbundance-GDK5EIE7.js +63 -0
  254. package/dist/proteomeAbundance-NVLYQRKI.js +21 -0
  255. package/dist/qualitative-TUNIICQ4.js +41 -0
  256. package/dist/regression-22IF77A7.js +54 -0
  257. package/dist/regression.inputs-VCVMUBA7.js +46 -0
  258. package/dist/regression.inputs.term-6FWVBNJT.js +46 -0
  259. package/dist/regression.inputs.values.table-2FXOWLKN.js +43 -0
  260. package/dist/regression.integration.spec-2UMB7EIG.js +782 -0
  261. package/dist/regression.results-27XHC5GE.js +38 -0
  262. package/dist/regression.spec-5Q4J7TJZ.js +706 -0
  263. package/dist/report-B4RRLC7Q.js +220 -0
  264. package/dist/sampleScatter.spec-TXZYLGM7.js +200 -0
  265. package/dist/sampleView-2WKGJUSX.js +46 -0
  266. package/dist/samplelst-NJZOPYYJ.js +109 -0
  267. package/dist/samplematrix-ZXOLANI5.js +2196 -0
  268. package/dist/sc-4IYYVV2I.js +84 -0
  269. package/dist/scatter-UBF4N6ON.js +800 -0
  270. package/dist/scatter.integration.spec-JNGJ4BU5.js +1194 -0
  271. package/dist/selectGenomeWithTklst-7ICTRJNK.js +132 -0
  272. package/dist/singleCellCellType-Y5ETQYDC.js +36 -0
  273. package/dist/singleCellCellType.unit.spec-TLLZRMD7.js +158 -0
  274. package/dist/singleCellGeneExpression-HZRIE2XT.js +36 -0
  275. package/dist/singleCellGeneExpression.unit.spec-K435LTFJ.js +151 -0
  276. package/dist/singleCellPlot-T7MKCAAW.js +51 -0
  277. package/dist/singlecell-K662WWCH.js +84 -0
  278. package/dist/singlecell-KVLDYQ36.js +1570 -0
  279. package/dist/snp-JNV3DX5W.js +36 -0
  280. package/dist/snp.unit.spec-7KFVZUWR.js +174 -0
  281. package/dist/snplocus-VJLA35TV.js +206 -0
  282. package/dist/spliceevent.a53ss.diagram-MZPU6IBF.js +149 -0
  283. package/dist/spliceevent.exonskip.diagram-OOYBJT4F.js +275 -0
  284. package/dist/spliceevent.noeventdiagram-KPEZVRFS.js +458 -0
  285. package/dist/ssGSEA-GPPPUU2J.js +36 -0
  286. package/dist/ssGSEA.unit.spec-4SRZ4NRN.js +86 -0
  287. package/dist/summarizeCnvGeneexp-NRLEM4X4.js +161 -0
  288. package/dist/summarizeGeneexpSurvival-BJLP43OZ.js +106 -0
  289. package/dist/summarizeMutationCnv-7DCCBY5U.js +162 -0
  290. package/dist/summarizeMutationDiagnosis-HATSCOMG.js +38 -0
  291. package/dist/summarizeMutationSurvival-XIRZFWDJ.js +97 -0
  292. package/dist/summary-VOFTJ76P.js +47 -0
  293. package/dist/summary.integration.spec-2C5RCIY4.js +412 -0
  294. package/dist/summaryInput-DIIECI4W.js +218 -0
  295. package/dist/sunburst-CYROEYTG.js +282 -0
  296. package/dist/survival-5Y3DFIES.js +44 -0
  297. package/dist/survival-WCPGEHW5.js +56 -0
  298. package/dist/survival.integration.spec-LRSN2B7G.js +800 -0
  299. package/dist/survival.integration.spec-LRSN2B7G.js.map +7 -0
  300. package/dist/svgraph-3T6XL7TR.js +1385 -0
  301. package/dist/svmr-GUBPSOID.js +3840 -0
  302. package/dist/table-NTS6ROT7.js +198 -0
  303. package/dist/termCollection-EE72SAHN.js +177 -0
  304. package/dist/termCollection-ZZXLZ3UE.js +36 -0
  305. package/dist/termCollection.unit.spec-3CTEJRTX.js +206 -0
  306. package/dist/tk-6FIXPXTM.js +44 -0
  307. package/dist/tp.ui-4ESL6SCH.js +1457 -0
  308. package/dist/tvs.density-AQ5GD437.js +18 -0
  309. package/dist/tvs.dt-G5FMPWPL.js +37 -0
  310. package/dist/tvs.dtcnv.categorical-EYQ6RTHD.js +38 -0
  311. package/dist/tvs.dtcnv.continuous-PSQMFFNX.js +70 -0
  312. package/dist/tvs.dtfusion-4F6627GK.js +38 -0
  313. package/dist/tvs.dtsnvindel-YNYVLJEI.js +38 -0
  314. package/dist/tvs.dtsv-X2K4K4RN.js +38 -0
  315. package/dist/tvs.numeric-ZN2R7BH3.js +21 -0
  316. package/dist/tvs.samplelst-XZK4BE3H.js +102 -0
  317. package/dist/tvs.termCollection-ZAX57TN4.js +151 -0
  318. package/dist/violin-YEMSGTYF.js +44 -0
  319. package/dist/violin.integration.spec-TULH2DWL.js +1423 -0
  320. package/dist/violin.interactivity-RX2CDFVC.js +36 -0
  321. package/dist/violin.renderer-OJJDZFMZ.js +38 -0
  322. package/dist/vocabulary-726CSMNM.js +39 -0
  323. package/package.json +2 -2
  324. package/dist/2dmaf-6ZTETSC5.js +0 -1371
  325. package/dist/AIProjectAdmin-ZT3XKBBT.js +0 -830
  326. package/dist/AppHeader-U7SJPIBS.js +0 -833
  327. package/dist/BoxPlot-QGHLZ67V.js +0 -1217
  328. package/dist/CorrelationVolcano-7SE4CTBW.js +0 -617
  329. package/dist/DE-PZ7RHPBS.js +0 -93
  330. package/dist/DEinput-UZEQIU2V.js +0 -297
  331. package/dist/DifferentialAnalysis-L6BOEYVO.js +0 -238
  332. package/dist/Disco-6FDT6KRM.js +0 -3235
  333. package/dist/Disco.UI-HKOUAD4P.js +0 -242
  334. package/dist/DmrPlot-3R24PTXP.js +0 -640
  335. package/dist/GB-SZVYZASR.js +0 -1125
  336. package/dist/HicApp-SEEJETVE.js +0 -2248
  337. package/dist/NumBinaryEditor-SDQFJ3FW.js +0 -268
  338. package/dist/NumBinaryEditor.unit.spec-76ZZXTYC.js +0 -284
  339. package/dist/NumContEditor-G75O4YZE.js +0 -105
  340. package/dist/NumContEditor.unit.spec-BFUZRBPL.js +0 -167
  341. package/dist/NumCustomBinEditor-ILTPHCEF.js +0 -36
  342. package/dist/NumCustomBinEditor.unit.spec-GFIYV55V.js +0 -282
  343. package/dist/NumDiscreteEditor-5K3OKUOE.js +0 -177
  344. package/dist/NumDiscreteEditor.unit.spec-NZ4KWPFK.js +0 -200
  345. package/dist/NumRegularBinEditor-7ZJ2MEMY.js +0 -36
  346. package/dist/NumRegularBinEditor.unit.spec-QGVJET65.js +0 -225
  347. package/dist/NumSplineEditor-KE4UPODZ.js +0 -190
  348. package/dist/NumSplineEditor.unit.spec-YQOOZA7S.js +0 -197
  349. package/dist/NumericDensity-RL42P4QC.js +0 -36
  350. package/dist/NumericDensity.unit.spec-Y6RMTYC7.js +0 -219
  351. package/dist/NumericHandler-4QIX324I.js +0 -37
  352. package/dist/NumericHandler.unit.spec-T6F5QYP6.js +0 -217
  353. package/dist/RunChart2-ASGCKKER.js +0 -756
  354. package/dist/SC-H2YCKSBH.js +0 -682
  355. package/dist/Volcano-QBYYJYVW.js +0 -1185
  356. package/dist/WSIViewer-NDHWFVAB.js +0 -47974
  357. package/dist/WsiSamplesPlot-CXGWPCDL.js +0 -163
  358. package/dist/adSandbox-DE4VRO4Z.js +0 -36
  359. package/dist/alphaGenome-FSIGC5ZT.js +0 -173
  360. package/dist/app-KZGKWQMU.js +0 -47
  361. package/dist/app-MQRJ7FVL.js +0 -35
  362. package/dist/bam-BDWTA4O3.js +0 -857
  363. package/dist/barchart-4Q6LVJY4.js +0 -45
  364. package/dist/barchart.data-EXENRVMU.js +0 -22
  365. package/dist/barchart.events-XRGND6I7.js +0 -45
  366. package/dist/barchart.integration.spec-VQITP4YH.js +0 -1675
  367. package/dist/block-2MABX5QO.js +0 -6200
  368. package/dist/block.init-NCNSE3HD.js +0 -36
  369. package/dist/block.mds.expressionrank-JYZARS7T.js +0 -357
  370. package/dist/block.mds.geneboxplot-FD2MCIHV.js +0 -826
  371. package/dist/block.mds.junction-LOHVQBIU.js +0 -1543
  372. package/dist/block.mds.svcnv-Z7SAYPQL.js +0 -6799
  373. package/dist/block.svg-LNJOKQNN.js +0 -162
  374. package/dist/block.tk.aicheck-IXCMMAGV.js +0 -281
  375. package/dist/block.tk.ase-WYRYFP6N.js +0 -363
  376. package/dist/block.tk.bam-EIVBNGAL.js +0 -1904
  377. package/dist/block.tk.bedgraphdot-3FHLNCU7.js +0 -382
  378. package/dist/block.tk.bigwig.ui-YDQU5PC4.js +0 -209
  379. package/dist/block.tk.hicstraw-S3ROL3CV.js +0 -821
  380. package/dist/block.tk.junction-DL7RNWX3.js +0 -2362
  381. package/dist/block.tk.junction.textmatrixui-Z6I7IEDY.js +0 -197
  382. package/dist/block.tk.ld-XHVU6L56.js +0 -97
  383. package/dist/block.tk.menu-FPLAEEFY.js +0 -1027
  384. package/dist/block.tk.pgv-6ZZ2QGNO.js +0 -942
  385. package/dist/brainImaging-VSOOMITW.js +0 -421
  386. package/dist/chat-LW23PIG5.js +0 -148
  387. package/dist/chunk-2A2KM5DU.js +0 -117
  388. package/dist/chunk-2K5DSRBJ.js +0 -84
  389. package/dist/chunk-2K5DSRBJ.js.map +0 -7
  390. package/dist/chunk-2LULD7RN.js +0 -31
  391. package/dist/chunk-36DYWBU7.js +0 -514
  392. package/dist/chunk-3AGB6HL4.js +0 -158
  393. package/dist/chunk-3AVDNIDN.js +0 -55
  394. package/dist/chunk-3DCABJHB.js +0 -381
  395. package/dist/chunk-3JMB3OSC.js +0 -102
  396. package/dist/chunk-3UEMY45Y.js +0 -215
  397. package/dist/chunk-4RR4KPRJ.js +0 -1205
  398. package/dist/chunk-5HCB4HNL.js +0 -147
  399. package/dist/chunk-5RFB7TYT.js +0 -92
  400. package/dist/chunk-5UMPBVA6.js +0 -534
  401. package/dist/chunk-6C2SBTLR.js +0 -407
  402. package/dist/chunk-6ITDJ5UR.js +0 -261
  403. package/dist/chunk-6ITDJ5UR.js.map +0 -7
  404. package/dist/chunk-77ZJGPK2.js +0 -289
  405. package/dist/chunk-7RN3L2BX.js +0 -1788
  406. package/dist/chunk-7RN3L2BX.js.map +0 -7
  407. package/dist/chunk-7VV43ICF.js +0 -272
  408. package/dist/chunk-A742TQD2.js +0 -615
  409. package/dist/chunk-A7E3JZ5P.js +0 -56
  410. package/dist/chunk-AFLFPYJI.js +0 -480
  411. package/dist/chunk-APOHXHKH.js +0 -526
  412. package/dist/chunk-AQ4OP4GR.js +0 -39
  413. package/dist/chunk-BAY47D5E.js +0 -226
  414. package/dist/chunk-CFHKYLDY.js +0 -26
  415. package/dist/chunk-CTAKX5CT.js +0 -129
  416. package/dist/chunk-CVBQWXLH.js +0 -455
  417. package/dist/chunk-D4QFQQWJ.js +0 -170
  418. package/dist/chunk-DGMK7SXX.js +0 -203
  419. package/dist/chunk-DNCSPTOQ.js +0 -446
  420. package/dist/chunk-DTDQKGIQ.js +0 -2672
  421. package/dist/chunk-E4NVHKWD.js +0 -142
  422. package/dist/chunk-E6KEZENR.js +0 -4207
  423. package/dist/chunk-EY2KBPHJ.js +0 -261
  424. package/dist/chunk-FRBYOOWT.js +0 -229
  425. package/dist/chunk-FVWCYGJL.js +0 -121
  426. package/dist/chunk-HWHG63LH.js +0 -148
  427. package/dist/chunk-I4IKRKYJ.js +0 -2815
  428. package/dist/chunk-IEQSUAIO.js +0 -6364
  429. package/dist/chunk-IET6P5MV.js +0 -335
  430. package/dist/chunk-JMPSZMDD.js +0 -52
  431. package/dist/chunk-JXOL73PT.js +0 -2784
  432. package/dist/chunk-K62XUHA4.js +0 -100
  433. package/dist/chunk-KQMEJUWI.js +0 -815
  434. package/dist/chunk-L4QG7XZE.js +0 -46
  435. package/dist/chunk-L4QG7XZE.js.map +0 -7
  436. package/dist/chunk-L4YGMXLX.js +0 -37
  437. package/dist/chunk-LI7FE335.js +0 -371
  438. package/dist/chunk-M7W2GYSM.js +0 -4961
  439. package/dist/chunk-MV6O4I2B.js +0 -441
  440. package/dist/chunk-MXNSW55L.js +0 -148
  441. package/dist/chunk-NB7NLFGZ.js +0 -228
  442. package/dist/chunk-NGGWK6HX.js +0 -302
  443. package/dist/chunk-OGGFS66K.js +0 -1087
  444. package/dist/chunk-OSM7YS23.js +0 -276
  445. package/dist/chunk-OSM7YS23.js.map +0 -7
  446. package/dist/chunk-OXJ2TWDO.js +0 -20644
  447. package/dist/chunk-OXJ2TWDO.js.map +0 -7
  448. package/dist/chunk-Q7PYFSNU.js +0 -107
  449. package/dist/chunk-QMI222IJ.js +0 -386
  450. package/dist/chunk-QRIRWDIW.js +0 -252
  451. package/dist/chunk-R6L6NVEC.js +0 -14
  452. package/dist/chunk-RLTLYKHO.js +0 -34
  453. package/dist/chunk-S5ZI6N2I.js +0 -293
  454. package/dist/chunk-S7T7OZC7.js +0 -158
  455. package/dist/chunk-SEQLC4AD.js +0 -177
  456. package/dist/chunk-TEZLFSOV.js +0 -54
  457. package/dist/chunk-TFI7ZZJG.js +0 -50
  458. package/dist/chunk-TV74I3Y5.js +0 -43
  459. package/dist/chunk-TV74I3Y5.js.map +0 -7
  460. package/dist/chunk-UEMTP6ZC.js +0 -824
  461. package/dist/chunk-UJU3Q7QJ.js +0 -119
  462. package/dist/chunk-V245THQC.js +0 -2370
  463. package/dist/chunk-V245THQC.js.map +0 -7
  464. package/dist/chunk-V6DLLX4N.js +0 -176
  465. package/dist/chunk-VIPMLSZP.js +0 -217
  466. package/dist/chunk-VQPS4SXU.js +0 -97
  467. package/dist/chunk-VUUZJANK.js +0 -1150
  468. package/dist/chunk-W345H42C.js +0 -273
  469. package/dist/chunk-WGHO2NCP.js +0 -205
  470. package/dist/chunk-WGL6FIUE.js +0 -330
  471. package/dist/chunk-WGL6FIUE.js.map +0 -7
  472. package/dist/chunk-WPHOEG56.js +0 -194
  473. package/dist/chunk-WS5XVKPJ.js +0 -470
  474. package/dist/chunk-X6URQAFD.js +0 -1271
  475. package/dist/chunk-XYFDBYOY.js +0 -1658
  476. package/dist/chunk-XYFDBYOY.js.map +0 -7
  477. package/dist/chunk-Y6RCKITI.js +0 -1155
  478. package/dist/chunk-Y6RCKITI.js.map +0 -7
  479. package/dist/chunk-YALAQWX4.js +0 -368
  480. package/dist/chunk-YY4CKQJ6.js +0 -95
  481. package/dist/chunk-Z3KV6SC2.js +0 -629
  482. package/dist/chunk-ZGT4XP5J.js +0 -1426
  483. package/dist/chunk-ZIBWLDQI.js +0 -230
  484. package/dist/chunk-ZIBWLDQI.js.map +0 -7
  485. package/dist/condition-JKQIRMMW.js +0 -330
  486. package/dist/controls-324AGOZG.js +0 -39
  487. package/dist/controls.config-TA4NNARU.js +0 -37
  488. package/dist/correlation-3Z36TKC2.js +0 -96
  489. package/dist/cuminc-4DY2CSZF.js +0 -1147
  490. package/dist/cuminc.integration.spec-SFQPLMSF.js +0 -676
  491. package/dist/customdata.inputui-IKGPEBXV.js +0 -287
  492. package/dist/dataDownload-3AE2N7KI.js +0 -328
  493. package/dist/dataDownload.integration.spec-DKOT6BJP.js +0 -191
  494. package/dist/databrowser.ui-ATODRS5P.js +0 -419
  495. package/dist/dictionary-WHDZBW5M.js +0 -109
  496. package/dist/dnaMethylation-TVA5YMOR.js +0 -36
  497. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js +0 -165
  498. package/dist/e2pca-KHVDNFEZ.js +0 -348
  499. package/dist/ep-B5GAAMNM.js +0 -1254
  500. package/dist/expclust.gdc.spec-EDPX7V6K.js +0 -305
  501. package/dist/facet-ZCSXKXIO.js +0 -519
  502. package/dist/geneExpClustering-ERNCMAED.js +0 -246
  503. package/dist/geneExpression-HUOXWETT.js +0 -36
  504. package/dist/geneExpression-X2KXJPND.js +0 -312
  505. package/dist/geneExpression.unit.spec-5QQB4ISW.js +0 -100
  506. package/dist/geneORA-B5UK77KL.js +0 -276
  507. package/dist/geneVariant-7MGUAIZ6.js +0 -39
  508. package/dist/geneVariant-FK3KZJ2K.js +0 -37
  509. package/dist/geneVariant.integration.spec-C6TYWKIC.js +0 -196
  510. package/dist/genefusion.ui-VKAINMY7.js +0 -249
  511. package/dist/genefusion.ui-VKAINMY7.js.map +0 -7
  512. package/dist/geneset-673KAZVX.js +0 -194
  513. package/dist/genomeBrowser.spec-T6TQCJ3O.js +0 -279
  514. package/dist/grin2-376BD4XY.js +0 -1554
  515. package/dist/grin2-OALS75LC.js +0 -1031
  516. package/dist/gsea-25LD2LGP.js +0 -45
  517. package/dist/hierCluster-7KU3K52V.js +0 -58
  518. package/dist/hierCluster-M5VVWKQK.js +0 -62
  519. package/dist/hierCluster.config-EDO3SH2P.js +0 -38
  520. package/dist/hierCluster.integration.spec-UOX7J2XD.js +0 -374
  521. package/dist/hierCluster.interactivity-FEFZDXML.js +0 -52
  522. package/dist/hierCluster.renderers-A6MEGO2B.js +0 -21
  523. package/dist/imagePlot-FPXZ2H5Z.js +0 -139
  524. package/dist/importPlot-VKWPSFEK.js +0 -8
  525. package/dist/isoformExpression-2R2TOB6P.js +0 -38
  526. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js +0 -206
  527. package/dist/launch.adhoc-242RS6DW.js +0 -40
  528. package/dist/leftlabel.sample-OJW3AE64.js +0 -257
  529. package/dist/legacyDataset-PBCPC5I7.js +0 -119
  530. package/dist/lollipop-TRQ3LK7Y.js +0 -166
  531. package/dist/maf-ZBOLN2FE.js +0 -450
  532. package/dist/maftimeline-GVX7NJP7.js +0 -591
  533. package/dist/matrix-73KRNXLM.js +0 -57
  534. package/dist/matrix-US3OXYRY.js +0 -62
  535. package/dist/matrix.cells-U7AQNEBP.js +0 -28
  536. package/dist/matrix.config-Q57D7C3F.js +0 -39
  537. package/dist/matrix.controls-AWXDRSWP.js +0 -37
  538. package/dist/matrix.data-EEIY6AO4.js +0 -25
  539. package/dist/matrix.groups-CUB6UWC5.js +0 -26
  540. package/dist/matrix.integration.spec-PQH67KRM.js +0 -3070
  541. package/dist/matrix.interactivity-JW4AXAWO.js +0 -40
  542. package/dist/matrix.layout-I56KRVCO.js +0 -42
  543. package/dist/matrix.legend-42LQGAGX.js +0 -22
  544. package/dist/matrix.renderers-IX3FCNBK.js +0 -36
  545. package/dist/matrix.serieses-4B2WB526.js +0 -21
  546. package/dist/matrix.sort-BJACNR7G.js +0 -27
  547. package/dist/matrix.sort.unit.spec-3KKDKIPY.js +0 -470
  548. package/dist/matrix.sorterUi-W6XFYZY2.js +0 -18
  549. package/dist/matrix.sorterUi.unit.spec-CMJ7EBIW.js +0 -340
  550. package/dist/mavb-ROAE6WYA.js +0 -730
  551. package/dist/mds.fimo-UGK5OWCF.js +0 -516
  552. package/dist/mds.samplescatterplot-5KFUAYSB.js +0 -1548
  553. package/dist/mds.survivalplot-2EVNZUX5.js +0 -481
  554. package/dist/oncomatrix-UGFXSXQJ.js +0 -293
  555. package/dist/oncomatrix.spec-FEP7BR7L.js +0 -446
  556. package/dist/plot.2dvaf-WXGLWCOC.js +0 -375
  557. package/dist/plot.app-IZAFRTBU.js +0 -39
  558. package/dist/plot.barplot-Z4VWOPFJ.js +0 -100
  559. package/dist/plot.boxplot-QU2KZSB7.js +0 -150
  560. package/dist/plot.brainImaging-U643YIK7.js +0 -51
  561. package/dist/plot.disco-3BV6YEBC.js +0 -101
  562. package/dist/plot.dzi-DWXPOOQE.js +0 -33
  563. package/dist/plot.ssgq-GXB2GZO3.js +0 -137
  564. package/dist/plot.vaf2cov-EKRIADPB.js +0 -257
  565. package/dist/plot.wsi-E2LLE6HI.js +0 -36
  566. package/dist/polar-MZLIUXHO.js +0 -184
  567. package/dist/polar2-IUVHNQM4.js +0 -226
  568. package/dist/profile.spec-JRW6KYUI.js +0 -78
  569. package/dist/profileBarchart-N7HJMYZ5.js +0 -265
  570. package/dist/profileForms-Q5TPGPQP.js +0 -438
  571. package/dist/profilePlot-TXTUYDVE.js +0 -52
  572. package/dist/profileRadar-ICEASI7W.js +0 -261
  573. package/dist/profileRadarFacility-NFMRNJYX.js +0 -261
  574. package/dist/proteinView-K3JFNORQ.js +0 -633
  575. package/dist/proteomeAbundance-DE4NVBCN.js +0 -21
  576. package/dist/proteomeAbundance-LTB3QR3G.js +0 -63
  577. package/dist/qualitative-DFGWQURY.js +0 -41
  578. package/dist/regression-TTQTAEGD.js +0 -54
  579. package/dist/regression.inputs-2LU2XRGC.js +0 -46
  580. package/dist/regression.inputs.term-G57GL57T.js +0 -46
  581. package/dist/regression.inputs.values.table-JSEM3PXL.js +0 -43
  582. package/dist/regression.integration.spec-XJQJAIC3.js +0 -782
  583. package/dist/regression.results-3YNM6LLQ.js +0 -38
  584. package/dist/regression.spec-S6WFCPSW.js +0 -706
  585. package/dist/report-YRAV4MY4.js +0 -220
  586. package/dist/sampleScatter.spec-MBJ4XNTX.js +0 -200
  587. package/dist/sampleView-IUR3ZEN7.js +0 -46
  588. package/dist/samplelst-C2NBFGH6.js +0 -109
  589. package/dist/samplematrix-AOK2HHSB.js +0 -2196
  590. package/dist/sc-XT3Z5XJI.js +0 -84
  591. package/dist/scatter-SAHKZRFL.js +0 -800
  592. package/dist/scatter.integration.spec-6KRDNHHH.js +0 -1194
  593. package/dist/selectGenomeWithTklst-2YVZ4JWV.js +0 -132
  594. package/dist/singleCellCellType-NFN5GQJM.js +0 -36
  595. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js +0 -158
  596. package/dist/singleCellGeneExpression-7AQGLXTR.js +0 -36
  597. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js +0 -151
  598. package/dist/singleCellPlot-IWFEG44C.js +0 -51
  599. package/dist/singlecell-3QNV4OMZ.js +0 -1570
  600. package/dist/singlecell-EATPLH66.js +0 -84
  601. package/dist/snp-UP7WL7WG.js +0 -36
  602. package/dist/snp.unit.spec-Y5NWQ442.js +0 -174
  603. package/dist/snplocus-WAQK2AZG.js +0 -206
  604. package/dist/spliceevent.a53ss.diagram-FFK27UIB.js +0 -149
  605. package/dist/spliceevent.exonskip.diagram-KWEF2OZJ.js +0 -275
  606. package/dist/spliceevent.noeventdiagram-PU4TI7OM.js +0 -458
  607. package/dist/ssGSEA-N6QOAVLW.js +0 -36
  608. package/dist/ssGSEA.unit.spec-KQBNZNNP.js +0 -86
  609. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js +0 -161
  610. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js +0 -106
  611. package/dist/summarizeMutationCnv-VV7CVAA7.js +0 -162
  612. package/dist/summarizeMutationDiagnosis-5RHSG7L6.js +0 -38
  613. package/dist/summarizeMutationSurvival-22YYXGS5.js +0 -97
  614. package/dist/summary-P3WIKJS7.js +0 -47
  615. package/dist/summary.integration.spec-ULGRPICW.js +0 -412
  616. package/dist/summaryInput-IH4EVNF5.js +0 -218
  617. package/dist/sunburst-VJJ3UVYC.js +0 -282
  618. package/dist/survival-2ZE3N62A.js +0 -44
  619. package/dist/survival-ASCLKIII.js +0 -56
  620. package/dist/survival.integration.spec-C5YXOY77.js +0 -787
  621. package/dist/survival.integration.spec-C5YXOY77.js.map +0 -7
  622. package/dist/svgraph-AYR2UPNK.js +0 -1385
  623. package/dist/svmr-MOMW5DNY.js +0 -3840
  624. package/dist/table-PQB6KCEY.js +0 -198
  625. package/dist/termCollection-5AY2AWT4.js +0 -36
  626. package/dist/termCollection-OQMUUTW6.js +0 -177
  627. package/dist/termCollection.unit.spec-BUAXYIJK.js +0 -206
  628. package/dist/tk-EJLFFA5H.js +0 -44
  629. package/dist/tp.ui-WUW6A7KP.js +0 -1457
  630. package/dist/tvs.density-HSVPDDGA.js +0 -18
  631. package/dist/tvs.dt-MVJXQMNU.js +0 -37
  632. package/dist/tvs.dtcnv.categorical-FIIDWVK7.js +0 -38
  633. package/dist/tvs.dtcnv.continuous-JPQU3JA2.js +0 -70
  634. package/dist/tvs.dtfusion-BW35GOQM.js +0 -38
  635. package/dist/tvs.dtsnvindel-AEMFZ4EH.js +0 -38
  636. package/dist/tvs.dtsv-JHTU7UFD.js +0 -38
  637. package/dist/tvs.numeric-ICUGA4WY.js +0 -21
  638. package/dist/tvs.samplelst-VD2NFFFS.js +0 -102
  639. package/dist/tvs.termCollection-IKE5Q74D.js +0 -151
  640. package/dist/violin-DPMJLHQG.js +0 -44
  641. package/dist/violin.integration.spec-A4PNR4ES.js +0 -1423
  642. package/dist/violin.interactivity-TS4DYUE5.js +0 -36
  643. package/dist/violin.renderer-53L4PXUT.js +0 -38
  644. package/dist/vocabulary-4MPFHKYC.js +0 -39
  645. /package/dist/{2dmaf-6ZTETSC5.js.map → 2dmaf-PBJ3POZQ.js.map} +0 -0
  646. /package/dist/{AIProjectAdmin-ZT3XKBBT.js.map → AIProjectAdmin-5IAXCACJ.js.map} +0 -0
  647. /package/dist/{AppHeader-U7SJPIBS.js.map → AppHeader-HLUE2IQT.js.map} +0 -0
  648. /package/dist/{BoxPlot-QGHLZ67V.js.map → BoxPlot-NAQS5MHV.js.map} +0 -0
  649. /package/dist/{CorrelationVolcano-7SE4CTBW.js.map → CorrelationVolcano-TVVUP4L4.js.map} +0 -0
  650. /package/dist/{DE-PZ7RHPBS.js.map → DE-F7LUSAO2.js.map} +0 -0
  651. /package/dist/{DEinput-UZEQIU2V.js.map → DEinput-V7MF5IEZ.js.map} +0 -0
  652. /package/dist/{DifferentialAnalysis-L6BOEYVO.js.map → DifferentialAnalysis-R2Z7G75Y.js.map} +0 -0
  653. /package/dist/{Disco-6FDT6KRM.js.map → Disco-7S5KUVQ6.js.map} +0 -0
  654. /package/dist/{Disco.UI-HKOUAD4P.js.map → Disco.UI-6ONZR7GK.js.map} +0 -0
  655. /package/dist/{DmrPlot-3R24PTXP.js.map → DmrPlot-NZXGFMBY.js.map} +0 -0
  656. /package/dist/{GB-SZVYZASR.js.map → GB-3EXBSESG.js.map} +0 -0
  657. /package/dist/{HicApp-SEEJETVE.js.map → HicApp-WEYV7T46.js.map} +0 -0
  658. /package/dist/{NumBinaryEditor-SDQFJ3FW.js.map → NumBinaryEditor-SNJD6NVL.js.map} +0 -0
  659. /package/dist/{NumBinaryEditor.unit.spec-76ZZXTYC.js.map → NumBinaryEditor.unit.spec-A7C4A2HF.js.map} +0 -0
  660. /package/dist/{NumContEditor-G75O4YZE.js.map → NumContEditor-TBOEORWJ.js.map} +0 -0
  661. /package/dist/{NumContEditor.unit.spec-BFUZRBPL.js.map → NumContEditor.unit.spec-BJKQNFPL.js.map} +0 -0
  662. /package/dist/{NumCustomBinEditor-ILTPHCEF.js.map → NumCustomBinEditor-RNWEGLLB.js.map} +0 -0
  663. /package/dist/{NumCustomBinEditor.unit.spec-GFIYV55V.js.map → NumCustomBinEditor.unit.spec-CW3D5WOW.js.map} +0 -0
  664. /package/dist/{NumDiscreteEditor-5K3OKUOE.js.map → NumDiscreteEditor-WXRAMEWQ.js.map} +0 -0
  665. /package/dist/{NumDiscreteEditor.unit.spec-NZ4KWPFK.js.map → NumDiscreteEditor.unit.spec-SJTHYGMI.js.map} +0 -0
  666. /package/dist/{NumRegularBinEditor-7ZJ2MEMY.js.map → NumRegularBinEditor-LLSKHSJC.js.map} +0 -0
  667. /package/dist/{NumRegularBinEditor.unit.spec-QGVJET65.js.map → NumRegularBinEditor.unit.spec-G3YRWT52.js.map} +0 -0
  668. /package/dist/{NumSplineEditor-KE4UPODZ.js.map → NumSplineEditor-W6HG3I53.js.map} +0 -0
  669. /package/dist/{NumSplineEditor.unit.spec-YQOOZA7S.js.map → NumSplineEditor.unit.spec-BVVTYJY7.js.map} +0 -0
  670. /package/dist/{NumericDensity-RL42P4QC.js.map → NumericDensity-VYAZXP4D.js.map} +0 -0
  671. /package/dist/{NumericDensity.unit.spec-Y6RMTYC7.js.map → NumericDensity.unit.spec-4QCKG6GM.js.map} +0 -0
  672. /package/dist/{NumericHandler-4QIX324I.js.map → NumericHandler-PKCERKLB.js.map} +0 -0
  673. /package/dist/{NumericHandler.unit.spec-T6F5QYP6.js.map → NumericHandler.unit.spec-JIYZ3IFG.js.map} +0 -0
  674. /package/dist/{RunChart2-ASGCKKER.js.map → RunChart2-I4ZBBKOC.js.map} +0 -0
  675. /package/dist/{SC-H2YCKSBH.js.map → SC-OLNRPTNS.js.map} +0 -0
  676. /package/dist/{Volcano-QBYYJYVW.js.map → Volcano-DEOVDPYB.js.map} +0 -0
  677. /package/dist/{WSIViewer-NDHWFVAB.js.map → WSIViewer-VA36EDFH.js.map} +0 -0
  678. /package/dist/{WsiSamplesPlot-CXGWPCDL.js.map → WsiSamplesPlot-RA644FK6.js.map} +0 -0
  679. /package/dist/{adSandbox-DE4VRO4Z.js.map → adSandbox-SJ3O3RVJ.js.map} +0 -0
  680. /package/dist/{alphaGenome-FSIGC5ZT.js.map → alphaGenome-UTVIVOEF.js.map} +0 -0
  681. /package/dist/{app-KZGKWQMU.js.map → app-6UPJNZVS.js.map} +0 -0
  682. /package/dist/{app-MQRJ7FVL.js.map → app-YFBAT5TM.js.map} +0 -0
  683. /package/dist/{bam-BDWTA4O3.js.map → bam-C4KHGT7X.js.map} +0 -0
  684. /package/dist/{barchart-4Q6LVJY4.js.map → barchart-UOELLJAZ.js.map} +0 -0
  685. /package/dist/{barchart.data-EXENRVMU.js.map → barchart.data-EYZ3W4BQ.js.map} +0 -0
  686. /package/dist/{barchart.events-XRGND6I7.js.map → barchart.events-SJZZV3TI.js.map} +0 -0
  687. /package/dist/{barchart.integration.spec-VQITP4YH.js.map → barchart.integration.spec-A4XZNV3B.js.map} +0 -0
  688. /package/dist/{block-2MABX5QO.js.map → block-ODDURI6Y.js.map} +0 -0
  689. /package/dist/{block.init-NCNSE3HD.js.map → block.init-TZXJGL7D.js.map} +0 -0
  690. /package/dist/{block.mds.expressionrank-JYZARS7T.js.map → block.mds.expressionrank-UE2D6D3N.js.map} +0 -0
  691. /package/dist/{block.mds.geneboxplot-FD2MCIHV.js.map → block.mds.geneboxplot-KINAWY6K.js.map} +0 -0
  692. /package/dist/{block.mds.junction-LOHVQBIU.js.map → block.mds.junction-HRJQOYBL.js.map} +0 -0
  693. /package/dist/{block.mds.svcnv-Z7SAYPQL.js.map → block.mds.svcnv-7C2IMZXB.js.map} +0 -0
  694. /package/dist/{block.svg-LNJOKQNN.js.map → block.svg-757BH6PD.js.map} +0 -0
  695. /package/dist/{block.tk.aicheck-IXCMMAGV.js.map → block.tk.aicheck-M4VAVJL6.js.map} +0 -0
  696. /package/dist/{block.tk.ase-WYRYFP6N.js.map → block.tk.ase-J5HCPECM.js.map} +0 -0
  697. /package/dist/{block.tk.bam-EIVBNGAL.js.map → block.tk.bam-7NFAMVLF.js.map} +0 -0
  698. /package/dist/{block.tk.bedgraphdot-3FHLNCU7.js.map → block.tk.bedgraphdot-HROSDQH5.js.map} +0 -0
  699. /package/dist/{block.tk.bigwig.ui-YDQU5PC4.js.map → block.tk.bigwig.ui-BIMVFUT6.js.map} +0 -0
  700. /package/dist/{block.tk.hicstraw-S3ROL3CV.js.map → block.tk.hicstraw-W7CWMNZ7.js.map} +0 -0
  701. /package/dist/{block.tk.junction-DL7RNWX3.js.map → block.tk.junction-ZUUBN36V.js.map} +0 -0
  702. /package/dist/{block.tk.junction.textmatrixui-Z6I7IEDY.js.map → block.tk.junction.textmatrixui-PYJ4UGCF.js.map} +0 -0
  703. /package/dist/{block.tk.ld-XHVU6L56.js.map → block.tk.ld-6E7ZXTCC.js.map} +0 -0
  704. /package/dist/{block.tk.menu-FPLAEEFY.js.map → block.tk.menu-SWT3R74J.js.map} +0 -0
  705. /package/dist/{block.tk.pgv-6ZZ2QGNO.js.map → block.tk.pgv-SEDDAV24.js.map} +0 -0
  706. /package/dist/{brainImaging-VSOOMITW.js.map → brainImaging-X5WPNTUO.js.map} +0 -0
  707. /package/dist/{chat-LW23PIG5.js.map → chat-KZ3LZAQ6.js.map} +0 -0
  708. /package/dist/{chunk-QMI222IJ.js.map → chunk-2TMP56TB.js.map} +0 -0
  709. /package/dist/{chunk-5RFB7TYT.js.map → chunk-2VNQJGPM.js.map} +0 -0
  710. /package/dist/{chunk-APOHXHKH.js.map → chunk-3DN47Y2E.js.map} +0 -0
  711. /package/dist/{chunk-EY2KBPHJ.js.map → chunk-4IL33OUX.js.map} +0 -0
  712. /package/dist/{chunk-NB7NLFGZ.js.map → chunk-4YG57UVZ.js.map} +0 -0
  713. /package/dist/{chunk-VUUZJANK.js.map → chunk-54P7H5GL.js.map} +0 -0
  714. /package/dist/{chunk-S7T7OZC7.js.map → chunk-5BBR2HND.js.map} +0 -0
  715. /package/dist/{chunk-JXOL73PT.js.map → chunk-5BCACIPX.js.map} +0 -0
  716. /package/dist/{chunk-77ZJGPK2.js.map → chunk-6CRWDKT7.js.map} +0 -0
  717. /package/dist/{chunk-ZGT4XP5J.js.map → chunk-7M45T6YS.js.map} +0 -0
  718. /package/dist/{chunk-CFHKYLDY.js.map → chunk-7N3Q25KC.js.map} +0 -0
  719. /package/dist/{chunk-TFI7ZZJG.js.map → chunk-AQ2ODUYY.js.map} +0 -0
  720. /package/dist/{chunk-OGGFS66K.js.map → chunk-AZLWNXFP.js.map} +0 -0
  721. /package/dist/{chunk-K62XUHA4.js.map → chunk-B3SLLQAS.js.map} +0 -0
  722. /package/dist/{chunk-UEMTP6ZC.js.map → chunk-BHEBKIGM.js.map} +0 -0
  723. /package/dist/{chunk-MXNSW55L.js.map → chunk-CAHAYB6O.js.map} +0 -0
  724. /package/dist/{chunk-L4YGMXLX.js.map → chunk-CGDEEO4I.js.map} +0 -0
  725. /package/dist/{chunk-A7E3JZ5P.js.map → chunk-CXLRKDEC.js.map} +0 -0
  726. /package/dist/{chunk-3JMB3OSC.js.map → chunk-DET76M2J.js.map} +0 -0
  727. /package/dist/{chunk-AQ4OP4GR.js.map → chunk-DONWY7TP.js.map} +0 -0
  728. /package/dist/{chunk-AFLFPYJI.js.map → chunk-DP5ACVIR.js.map} +0 -0
  729. /package/dist/{chunk-V6DLLX4N.js.map → chunk-E5JQ3PN6.js.map} +0 -0
  730. /package/dist/{chunk-HWHG63LH.js.map → chunk-EJNV6SCH.js.map} +0 -0
  731. /package/dist/{chunk-36DYWBU7.js.map → chunk-F5D4ADBB.js.map} +0 -0
  732. /package/dist/{chunk-SEQLC4AD.js.map → chunk-F6V4AYWP.js.map} +0 -0
  733. /package/dist/{chunk-FRBYOOWT.js.map → chunk-FBG235FD.js.map} +0 -0
  734. /package/dist/{chunk-LI7FE335.js.map → chunk-FGMPKWT5.js.map} +0 -0
  735. /package/dist/{chunk-WGHO2NCP.js.map → chunk-FWKAYZ55.js.map} +0 -0
  736. /package/dist/{chunk-2LULD7RN.js.map → chunk-GMDQIP3M.js.map} +0 -0
  737. /package/dist/{chunk-Q7PYFSNU.js.map → chunk-H55L2FAY.js.map} +0 -0
  738. /package/dist/{chunk-A742TQD2.js.map → chunk-HED3JZ2O.js.map} +0 -0
  739. /package/dist/{chunk-S5ZI6N2I.js.map → chunk-IBIFTCWL.js.map} +0 -0
  740. /package/dist/{chunk-6C2SBTLR.js.map → chunk-ILDUYXV5.js.map} +0 -0
  741. /package/dist/{chunk-IET6P5MV.js.map → chunk-IQ25XHGX.js.map} +0 -0
  742. /package/dist/{chunk-YY4CKQJ6.js.map → chunk-JLSN2WF5.js.map} +0 -0
  743. /package/dist/{chunk-KQMEJUWI.js.map → chunk-JOT4WDJE.js.map} +0 -0
  744. /package/dist/{chunk-X6URQAFD.js.map → chunk-JQIR2UG5.js.map} +0 -0
  745. /package/dist/{chunk-DNCSPTOQ.js.map → chunk-KBDY6GE3.js.map} +0 -0
  746. /package/dist/{chunk-JMPSZMDD.js.map → chunk-KZFOWI7N.js.map} +0 -0
  747. /package/dist/{chunk-BAY47D5E.js.map → chunk-LKFYRQOH.js.map} +0 -0
  748. /package/dist/{chunk-IEQSUAIO.js.map → chunk-LO4WNMBO.js.map} +0 -0
  749. /package/dist/{chunk-VIPMLSZP.js.map → chunk-LXQ6DLAR.js.map} +0 -0
  750. /package/dist/{chunk-WPHOEG56.js.map → chunk-M3EBH2WK.js.map} +0 -0
  751. /package/dist/{chunk-DTDQKGIQ.js.map → chunk-M5Z3GYRH.js.map} +0 -0
  752. /package/dist/{chunk-I4IKRKYJ.js.map → chunk-MEIKKPY7.js.map} +0 -0
  753. /package/dist/{chunk-Z3KV6SC2.js.map → chunk-MZ7RBJSI.js.map} +0 -0
  754. /package/dist/{chunk-D4QFQQWJ.js.map → chunk-OH7PDA2Z.js.map} +0 -0
  755. /package/dist/{chunk-WS5XVKPJ.js.map → chunk-OKIJIYSP.js.map} +0 -0
  756. /package/dist/{chunk-RLTLYKHO.js.map → chunk-OOD5HBVR.js.map} +0 -0
  757. /package/dist/{chunk-UJU3Q7QJ.js.map → chunk-OTCYJP7G.js.map} +0 -0
  758. /package/dist/{chunk-3AGB6HL4.js.map → chunk-P7T2U6T7.js.map} +0 -0
  759. /package/dist/{chunk-E4NVHKWD.js.map → chunk-PLHGSDJY.js.map} +0 -0
  760. /package/dist/{chunk-4RR4KPRJ.js.map → chunk-PUDZL7RZ.js.map} +0 -0
  761. /package/dist/{chunk-R6L6NVEC.js.map → chunk-PYJ3QA6E.js.map} +0 -0
  762. /package/dist/{chunk-CVBQWXLH.js.map → chunk-QDRZL47L.js.map} +0 -0
  763. /package/dist/{chunk-MV6O4I2B.js.map → chunk-QTGTMFHM.js.map} +0 -0
  764. /package/dist/{chunk-VQPS4SXU.js.map → chunk-QWL5TZ4G.js.map} +0 -0
  765. /package/dist/{chunk-NGGWK6HX.js.map → chunk-RF6ATFT2.js.map} +0 -0
  766. /package/dist/{chunk-YALAQWX4.js.map → chunk-RH573XZP.js.map} +0 -0
  767. /package/dist/{chunk-M7W2GYSM.js.map → chunk-SR72NS4M.js.map} +0 -0
  768. /package/dist/{chunk-3UEMY45Y.js.map → chunk-STEV77G7.js.map} +0 -0
  769. /package/dist/{chunk-E6KEZENR.js.map → chunk-TBRPZ3FL.js.map} +0 -0
  770. /package/dist/{chunk-5HCB4HNL.js.map → chunk-TE3DK3A6.js.map} +0 -0
  771. /package/dist/{chunk-DGMK7SXX.js.map → chunk-TTGDA3MA.js.map} +0 -0
  772. /package/dist/{chunk-5UMPBVA6.js.map → chunk-UFDQ2R2Q.js.map} +0 -0
  773. /package/dist/{chunk-FVWCYGJL.js.map → chunk-UWX7W22M.js.map} +0 -0
  774. /package/dist/{chunk-TEZLFSOV.js.map → chunk-V2R3JFLP.js.map} +0 -0
  775. /package/dist/{chunk-7VV43ICF.js.map → chunk-VKK5MGDU.js.map} +0 -0
  776. /package/dist/{chunk-2A2KM5DU.js.map → chunk-WHVOWEFP.js.map} +0 -0
  777. /package/dist/{chunk-3AVDNIDN.js.map → chunk-XQTXYKAU.js.map} +0 -0
  778. /package/dist/{chunk-QRIRWDIW.js.map → chunk-YA73ETIT.js.map} +0 -0
  779. /package/dist/{chunk-W345H42C.js.map → chunk-YXJXRXJR.js.map} +0 -0
  780. /package/dist/{chunk-3DCABJHB.js.map → chunk-ZIAGMGMS.js.map} +0 -0
  781. /package/dist/{chunk-CTAKX5CT.js.map → chunk-ZXNBYIBD.js.map} +0 -0
  782. /package/dist/{condition-JKQIRMMW.js.map → condition-RQP7JUST.js.map} +0 -0
  783. /package/dist/{controls-324AGOZG.js.map → controls-WFT5GE3D.js.map} +0 -0
  784. /package/dist/{controls.config-TA4NNARU.js.map → controls.config-66ZKRSPU.js.map} +0 -0
  785. /package/dist/{correlation-3Z36TKC2.js.map → correlation-45MFH7X4.js.map} +0 -0
  786. /package/dist/{cuminc-4DY2CSZF.js.map → cuminc-44ALCFL4.js.map} +0 -0
  787. /package/dist/{cuminc.integration.spec-SFQPLMSF.js.map → cuminc.integration.spec-I2UTPH3X.js.map} +0 -0
  788. /package/dist/{customdata.inputui-IKGPEBXV.js.map → customdata.inputui-PBA5LZRT.js.map} +0 -0
  789. /package/dist/{dataDownload-3AE2N7KI.js.map → dataDownload-CRGQTCOW.js.map} +0 -0
  790. /package/dist/{dataDownload.integration.spec-DKOT6BJP.js.map → dataDownload.integration.spec-7SAPXDH4.js.map} +0 -0
  791. /package/dist/{databrowser.ui-ATODRS5P.js.map → databrowser.ui-O5TPKDPL.js.map} +0 -0
  792. /package/dist/{dictionary-WHDZBW5M.js.map → dictionary-QGSAJ7FM.js.map} +0 -0
  793. /package/dist/{dnaMethylation-TVA5YMOR.js.map → dnaMethylation-4VDQBBGJ.js.map} +0 -0
  794. /package/dist/{dnaMethylation.integration.spec-JTWQR6XY.js.map → dnaMethylation.integration.spec-RSO5U6RN.js.map} +0 -0
  795. /package/dist/{e2pca-KHVDNFEZ.js.map → e2pca-7LPSASDI.js.map} +0 -0
  796. /package/dist/{ep-B5GAAMNM.js.map → ep-AIOPCUME.js.map} +0 -0
  797. /package/dist/{expclust.gdc.spec-EDPX7V6K.js.map → expclust.gdc.spec-PSXJZCAI.js.map} +0 -0
  798. /package/dist/{facet-ZCSXKXIO.js.map → facet-W3RYRWXJ.js.map} +0 -0
  799. /package/dist/{geneExpClustering-ERNCMAED.js.map → geneExpClustering-SBQWW6IZ.js.map} +0 -0
  800. /package/dist/{geneExpression-X2KXJPND.js.map → geneExpression-4WEYCEZV.js.map} +0 -0
  801. /package/dist/{geneExpression-HUOXWETT.js.map → geneExpression-JWYJNDN5.js.map} +0 -0
  802. /package/dist/{geneExpression.unit.spec-5QQB4ISW.js.map → geneExpression.unit.spec-HKD4DJIV.js.map} +0 -0
  803. /package/dist/{geneORA-B5UK77KL.js.map → geneORA-YUVDOZ5X.js.map} +0 -0
  804. /package/dist/{geneVariant-7MGUAIZ6.js.map → geneVariant-J3UI6RWM.js.map} +0 -0
  805. /package/dist/{geneVariant-FK3KZJ2K.js.map → geneVariant-ZB7CLFCT.js.map} +0 -0
  806. /package/dist/{geneVariant.integration.spec-C6TYWKIC.js.map → geneVariant.integration.spec-JDCKOR4C.js.map} +0 -0
  807. /package/dist/{geneset-673KAZVX.js.map → geneset-242QGP5Q.js.map} +0 -0
  808. /package/dist/{genomeBrowser.spec-T6TQCJ3O.js.map → genomeBrowser.spec-NRLKLJQD.js.map} +0 -0
  809. /package/dist/{grin2-376BD4XY.js.map → grin2-FD3JTI5R.js.map} +0 -0
  810. /package/dist/{grin2-OALS75LC.js.map → grin2-TAR4VXPJ.js.map} +0 -0
  811. /package/dist/{gsea-25LD2LGP.js.map → gsea-YHG57UZ5.js.map} +0 -0
  812. /package/dist/{hierCluster-7KU3K52V.js.map → hierCluster-QUAZ7NI6.js.map} +0 -0
  813. /package/dist/{hierCluster-M5VVWKQK.js.map → hierCluster-V2YZEXGX.js.map} +0 -0
  814. /package/dist/{hierCluster.config-EDO3SH2P.js.map → hierCluster.config-ZOWXZGTF.js.map} +0 -0
  815. /package/dist/{hierCluster.integration.spec-UOX7J2XD.js.map → hierCluster.integration.spec-FAR4KK32.js.map} +0 -0
  816. /package/dist/{hierCluster.interactivity-FEFZDXML.js.map → hierCluster.interactivity-D3TK5FSM.js.map} +0 -0
  817. /package/dist/{hierCluster.renderers-A6MEGO2B.js.map → hierCluster.renderers-C2RK55NN.js.map} +0 -0
  818. /package/dist/{imagePlot-FPXZ2H5Z.js.map → imagePlot-2CACVKOO.js.map} +0 -0
  819. /package/dist/{importPlot-VKWPSFEK.js.map → importPlot-KUOEC2YF.js.map} +0 -0
  820. /package/dist/{isoformExpression-2R2TOB6P.js.map → isoformExpression-2G4WCETG.js.map} +0 -0
  821. /package/dist/{isoformExpression.unit.spec-ZKFKOPKT.js.map → isoformExpression.unit.spec-YBNCR6PE.js.map} +0 -0
  822. /package/dist/{launch.adhoc-242RS6DW.js.map → launch.adhoc-PECQW652.js.map} +0 -0
  823. /package/dist/{leftlabel.sample-OJW3AE64.js.map → leftlabel.sample-6O2CXXC2.js.map} +0 -0
  824. /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-QRSNRVUA.js.map} +0 -0
  825. /package/dist/{lollipop-TRQ3LK7Y.js.map → lollipop-CAFEKZSO.js.map} +0 -0
  826. /package/dist/{maf-ZBOLN2FE.js.map → maf-N7ZB5J22.js.map} +0 -0
  827. /package/dist/{maftimeline-GVX7NJP7.js.map → maftimeline-MCYB3EST.js.map} +0 -0
  828. /package/dist/{matrix-73KRNXLM.js.map → matrix-ID662DZG.js.map} +0 -0
  829. /package/dist/{matrix-US3OXYRY.js.map → matrix-JDGO6A4G.js.map} +0 -0
  830. /package/dist/{matrix.cells-U7AQNEBP.js.map → matrix.cells-QWB3XSTN.js.map} +0 -0
  831. /package/dist/{matrix.config-Q57D7C3F.js.map → matrix.config-HHWMMUZT.js.map} +0 -0
  832. /package/dist/{matrix.controls-AWXDRSWP.js.map → matrix.controls-EOX43634.js.map} +0 -0
  833. /package/dist/{matrix.data-EEIY6AO4.js.map → matrix.data-YTSSULKG.js.map} +0 -0
  834. /package/dist/{matrix.groups-CUB6UWC5.js.map → matrix.groups-NGJ276VG.js.map} +0 -0
  835. /package/dist/{matrix.integration.spec-PQH67KRM.js.map → matrix.integration.spec-XHGSEBYM.js.map} +0 -0
  836. /package/dist/{matrix.interactivity-JW4AXAWO.js.map → matrix.interactivity-OZS7R32Z.js.map} +0 -0
  837. /package/dist/{matrix.layout-I56KRVCO.js.map → matrix.layout-GBQJ7O3H.js.map} +0 -0
  838. /package/dist/{matrix.legend-42LQGAGX.js.map → matrix.legend-AGTC5JPS.js.map} +0 -0
  839. /package/dist/{matrix.renderers-IX3FCNBK.js.map → matrix.renderers-L5D5NLLR.js.map} +0 -0
  840. /package/dist/{matrix.serieses-4B2WB526.js.map → matrix.serieses-DDQOSCL4.js.map} +0 -0
  841. /package/dist/{matrix.sort-BJACNR7G.js.map → matrix.sort-6VF7VNFX.js.map} +0 -0
  842. /package/dist/{matrix.sort.unit.spec-3KKDKIPY.js.map → matrix.sort.unit.spec-QGJBVO3X.js.map} +0 -0
  843. /package/dist/{matrix.sorterUi-W6XFYZY2.js.map → matrix.sorterUi-UE7CBIUP.js.map} +0 -0
  844. /package/dist/{matrix.sorterUi.unit.spec-CMJ7EBIW.js.map → matrix.sorterUi.unit.spec-CTLTVJCO.js.map} +0 -0
  845. /package/dist/{mavb-ROAE6WYA.js.map → mavb-MU7H7YWY.js.map} +0 -0
  846. /package/dist/{mds.fimo-UGK5OWCF.js.map → mds.fimo-ELCNQMNR.js.map} +0 -0
  847. /package/dist/{mds.samplescatterplot-5KFUAYSB.js.map → mds.samplescatterplot-P7N4SXYT.js.map} +0 -0
  848. /package/dist/{mds.survivalplot-2EVNZUX5.js.map → mds.survivalplot-KJFW4IRT.js.map} +0 -0
  849. /package/dist/{oncomatrix-UGFXSXQJ.js.map → oncomatrix-Q5X3O65P.js.map} +0 -0
  850. /package/dist/{oncomatrix.spec-FEP7BR7L.js.map → oncomatrix.spec-CJGXXI3U.js.map} +0 -0
  851. /package/dist/{plot.2dvaf-WXGLWCOC.js.map → plot.2dvaf-CDPVMUPX.js.map} +0 -0
  852. /package/dist/{plot.app-IZAFRTBU.js.map → plot.app-BSPQMQCI.js.map} +0 -0
  853. /package/dist/{plot.barplot-Z4VWOPFJ.js.map → plot.barplot-C33LEV4Q.js.map} +0 -0
  854. /package/dist/{plot.boxplot-QU2KZSB7.js.map → plot.boxplot-XH7FN6PC.js.map} +0 -0
  855. /package/dist/{plot.brainImaging-U643YIK7.js.map → plot.brainImaging-5BB455FT.js.map} +0 -0
  856. /package/dist/{plot.disco-3BV6YEBC.js.map → plot.disco-3YUN6XAY.js.map} +0 -0
  857. /package/dist/{plot.dzi-DWXPOOQE.js.map → plot.dzi-RZWAL5UC.js.map} +0 -0
  858. /package/dist/{plot.ssgq-GXB2GZO3.js.map → plot.ssgq-M763HWMN.js.map} +0 -0
  859. /package/dist/{plot.vaf2cov-EKRIADPB.js.map → plot.vaf2cov-EAHQV6FD.js.map} +0 -0
  860. /package/dist/{plot.wsi-E2LLE6HI.js.map → plot.wsi-2BDC3RJS.js.map} +0 -0
  861. /package/dist/{polar-MZLIUXHO.js.map → polar-3SJ5SUNJ.js.map} +0 -0
  862. /package/dist/{polar2-IUVHNQM4.js.map → polar2-3GTEGZUL.js.map} +0 -0
  863. /package/dist/{profile.spec-JRW6KYUI.js.map → profile.spec-AR7JLQYT.js.map} +0 -0
  864. /package/dist/{profileBarchart-N7HJMYZ5.js.map → profileBarchart-GLTPPW2O.js.map} +0 -0
  865. /package/dist/{profileForms-Q5TPGPQP.js.map → profileForms-FE4GHA2T.js.map} +0 -0
  866. /package/dist/{profilePlot-TXTUYDVE.js.map → profilePlot-3JXEZUX5.js.map} +0 -0
  867. /package/dist/{profileRadar-ICEASI7W.js.map → profileRadar-NA2WUSHG.js.map} +0 -0
  868. /package/dist/{profileRadarFacility-NFMRNJYX.js.map → profileRadarFacility-6UNT4GPM.js.map} +0 -0
  869. /package/dist/{proteinView-K3JFNORQ.js.map → proteinView-ESTBC3K2.js.map} +0 -0
  870. /package/dist/{proteomeAbundance-LTB3QR3G.js.map → proteomeAbundance-GDK5EIE7.js.map} +0 -0
  871. /package/dist/{proteomeAbundance-DE4NVBCN.js.map → proteomeAbundance-NVLYQRKI.js.map} +0 -0
  872. /package/dist/{qualitative-DFGWQURY.js.map → qualitative-TUNIICQ4.js.map} +0 -0
  873. /package/dist/{regression-TTQTAEGD.js.map → regression-22IF77A7.js.map} +0 -0
  874. /package/dist/{regression.inputs-2LU2XRGC.js.map → regression.inputs-VCVMUBA7.js.map} +0 -0
  875. /package/dist/{regression.inputs.term-G57GL57T.js.map → regression.inputs.term-6FWVBNJT.js.map} +0 -0
  876. /package/dist/{regression.inputs.values.table-JSEM3PXL.js.map → regression.inputs.values.table-2FXOWLKN.js.map} +0 -0
  877. /package/dist/{regression.integration.spec-XJQJAIC3.js.map → regression.integration.spec-2UMB7EIG.js.map} +0 -0
  878. /package/dist/{regression.results-3YNM6LLQ.js.map → regression.results-27XHC5GE.js.map} +0 -0
  879. /package/dist/{regression.spec-S6WFCPSW.js.map → regression.spec-5Q4J7TJZ.js.map} +0 -0
  880. /package/dist/{report-YRAV4MY4.js.map → report-B4RRLC7Q.js.map} +0 -0
  881. /package/dist/{sampleScatter.spec-MBJ4XNTX.js.map → sampleScatter.spec-TXZYLGM7.js.map} +0 -0
  882. /package/dist/{sampleView-IUR3ZEN7.js.map → sampleView-2WKGJUSX.js.map} +0 -0
  883. /package/dist/{samplelst-C2NBFGH6.js.map → samplelst-NJZOPYYJ.js.map} +0 -0
  884. /package/dist/{samplematrix-AOK2HHSB.js.map → samplematrix-ZXOLANI5.js.map} +0 -0
  885. /package/dist/{sc-XT3Z5XJI.js.map → sc-4IYYVV2I.js.map} +0 -0
  886. /package/dist/{scatter-SAHKZRFL.js.map → scatter-UBF4N6ON.js.map} +0 -0
  887. /package/dist/{scatter.integration.spec-6KRDNHHH.js.map → scatter.integration.spec-JNGJ4BU5.js.map} +0 -0
  888. /package/dist/{selectGenomeWithTklst-2YVZ4JWV.js.map → selectGenomeWithTklst-7ICTRJNK.js.map} +0 -0
  889. /package/dist/{singleCellCellType-NFN5GQJM.js.map → singleCellCellType-Y5ETQYDC.js.map} +0 -0
  890. /package/dist/{singleCellCellType.unit.spec-CR4IJ4DA.js.map → singleCellCellType.unit.spec-TLLZRMD7.js.map} +0 -0
  891. /package/dist/{singleCellGeneExpression-7AQGLXTR.js.map → singleCellGeneExpression-HZRIE2XT.js.map} +0 -0
  892. /package/dist/{singleCellGeneExpression.unit.spec-QYNWSV2G.js.map → singleCellGeneExpression.unit.spec-K435LTFJ.js.map} +0 -0
  893. /package/dist/{singleCellPlot-IWFEG44C.js.map → singleCellPlot-T7MKCAAW.js.map} +0 -0
  894. /package/dist/{singlecell-EATPLH66.js.map → singlecell-K662WWCH.js.map} +0 -0
  895. /package/dist/{singlecell-3QNV4OMZ.js.map → singlecell-KVLDYQ36.js.map} +0 -0
  896. /package/dist/{snp-UP7WL7WG.js.map → snp-JNV3DX5W.js.map} +0 -0
  897. /package/dist/{snp.unit.spec-Y5NWQ442.js.map → snp.unit.spec-7KFVZUWR.js.map} +0 -0
  898. /package/dist/{snplocus-WAQK2AZG.js.map → snplocus-VJLA35TV.js.map} +0 -0
  899. /package/dist/{spliceevent.a53ss.diagram-FFK27UIB.js.map → spliceevent.a53ss.diagram-MZPU6IBF.js.map} +0 -0
  900. /package/dist/{spliceevent.exonskip.diagram-KWEF2OZJ.js.map → spliceevent.exonskip.diagram-OOYBJT4F.js.map} +0 -0
  901. /package/dist/{spliceevent.noeventdiagram-PU4TI7OM.js.map → spliceevent.noeventdiagram-KPEZVRFS.js.map} +0 -0
  902. /package/dist/{ssGSEA-N6QOAVLW.js.map → ssGSEA-GPPPUU2J.js.map} +0 -0
  903. /package/dist/{ssGSEA.unit.spec-KQBNZNNP.js.map → ssGSEA.unit.spec-4SRZ4NRN.js.map} +0 -0
  904. /package/dist/{summarizeCnvGeneexp-NWX4M6LZ.js.map → summarizeCnvGeneexp-NRLEM4X4.js.map} +0 -0
  905. /package/dist/{summarizeGeneexpSurvival-N5VTE2G6.js.map → summarizeGeneexpSurvival-BJLP43OZ.js.map} +0 -0
  906. /package/dist/{summarizeMutationCnv-VV7CVAA7.js.map → summarizeMutationCnv-7DCCBY5U.js.map} +0 -0
  907. /package/dist/{summarizeMutationDiagnosis-5RHSG7L6.js.map → summarizeMutationDiagnosis-HATSCOMG.js.map} +0 -0
  908. /package/dist/{summarizeMutationSurvival-22YYXGS5.js.map → summarizeMutationSurvival-XIRZFWDJ.js.map} +0 -0
  909. /package/dist/{summary-P3WIKJS7.js.map → summary-VOFTJ76P.js.map} +0 -0
  910. /package/dist/{summary.integration.spec-ULGRPICW.js.map → summary.integration.spec-2C5RCIY4.js.map} +0 -0
  911. /package/dist/{summaryInput-IH4EVNF5.js.map → summaryInput-DIIECI4W.js.map} +0 -0
  912. /package/dist/{sunburst-VJJ3UVYC.js.map → sunburst-CYROEYTG.js.map} +0 -0
  913. /package/dist/{survival-2ZE3N62A.js.map → survival-5Y3DFIES.js.map} +0 -0
  914. /package/dist/{survival-ASCLKIII.js.map → survival-WCPGEHW5.js.map} +0 -0
  915. /package/dist/{svgraph-AYR2UPNK.js.map → svgraph-3T6XL7TR.js.map} +0 -0
  916. /package/dist/{svmr-MOMW5DNY.js.map → svmr-GUBPSOID.js.map} +0 -0
  917. /package/dist/{table-PQB6KCEY.js.map → table-NTS6ROT7.js.map} +0 -0
  918. /package/dist/{termCollection-OQMUUTW6.js.map → termCollection-EE72SAHN.js.map} +0 -0
  919. /package/dist/{termCollection-5AY2AWT4.js.map → termCollection-ZZXLZ3UE.js.map} +0 -0
  920. /package/dist/{termCollection.unit.spec-BUAXYIJK.js.map → termCollection.unit.spec-3CTEJRTX.js.map} +0 -0
  921. /package/dist/{tk-EJLFFA5H.js.map → tk-6FIXPXTM.js.map} +0 -0
  922. /package/dist/{tp.ui-WUW6A7KP.js.map → tp.ui-4ESL6SCH.js.map} +0 -0
  923. /package/dist/{tvs.density-HSVPDDGA.js.map → tvs.density-AQ5GD437.js.map} +0 -0
  924. /package/dist/{tvs.dt-MVJXQMNU.js.map → tvs.dt-G5FMPWPL.js.map} +0 -0
  925. /package/dist/{tvs.dtcnv.categorical-FIIDWVK7.js.map → tvs.dtcnv.categorical-EYQ6RTHD.js.map} +0 -0
  926. /package/dist/{tvs.dtcnv.continuous-JPQU3JA2.js.map → tvs.dtcnv.continuous-PSQMFFNX.js.map} +0 -0
  927. /package/dist/{tvs.dtfusion-BW35GOQM.js.map → tvs.dtfusion-4F6627GK.js.map} +0 -0
  928. /package/dist/{tvs.dtsnvindel-AEMFZ4EH.js.map → tvs.dtsnvindel-YNYVLJEI.js.map} +0 -0
  929. /package/dist/{tvs.dtsv-JHTU7UFD.js.map → tvs.dtsv-X2K4K4RN.js.map} +0 -0
  930. /package/dist/{tvs.numeric-ICUGA4WY.js.map → tvs.numeric-ZN2R7BH3.js.map} +0 -0
  931. /package/dist/{tvs.samplelst-VD2NFFFS.js.map → tvs.samplelst-XZK4BE3H.js.map} +0 -0
  932. /package/dist/{tvs.termCollection-IKE5Q74D.js.map → tvs.termCollection-ZAX57TN4.js.map} +0 -0
  933. /package/dist/{violin-DPMJLHQG.js.map → violin-YEMSGTYF.js.map} +0 -0
  934. /package/dist/{violin.integration.spec-A4PNR4ES.js.map → violin.integration.spec-TULH2DWL.js.map} +0 -0
  935. /package/dist/{violin.interactivity-TS4DYUE5.js.map → violin.interactivity-RX2CDFVC.js.map} +0 -0
  936. /package/dist/{violin.renderer-53L4PXUT.js.map → violin.renderer-OJJDZFMZ.js.map} +0 -0
  937. /package/dist/{vocabulary-4MPFHKYC.js.map → vocabulary-726CSMNM.js.map} +0 -0
@@ -1,2248 +0,0 @@
1
- import {
2
- blocklazyload
3
- } from "./chunk-R6L6NVEC.js";
4
- import {
5
- hicParseFile
6
- } from "./chunk-VIPMLSZP.js";
7
- import {
8
- AppBase,
9
- ColorScale,
10
- axisstyle,
11
- first_genetrack_tolist,
12
- font,
13
- newpane,
14
- showErrorsWithCounter,
15
- tkt
16
- } from "./chunk-OXJ2TWDO.js";
17
- import "./chunk-HJ6L54YS.js";
18
- import "./chunk-V6DLLX4N.js";
19
- import {
20
- dofetch3
21
- } from "./chunk-7RN3L2BX.js";
22
- import {
23
- Menu
24
- } from "./chunk-A6TQGNDQ.js";
25
- import "./chunk-HYZG6OPC.js";
26
- import "./chunk-FN5XPUPH.js";
27
- import "./chunk-LSEFWW72.js";
28
- import "./chunk-5EF5U7MX.js";
29
- import "./chunk-2K5DSRBJ.js";
30
- import "./chunk-UCLS2SVB.js";
31
- import {
32
- StoreBase,
33
- getAppInit,
34
- getCompInit,
35
- getStoreInit
36
- } from "./chunk-MVTCBVSX.js";
37
- import "./chunk-SEQLC4AD.js";
38
- import "./chunk-L4QG7XZE.js";
39
- import "./chunk-DQC5FFGV.js";
40
- import "./chunk-KQMEJUWI.js";
41
- import "./chunk-UJU3Q7QJ.js";
42
- import "./chunk-WGL6FIUE.js";
43
- import "./chunk-6ITDJ5UR.js";
44
- import {
45
- bplen
46
- } from "./chunk-XYFDBYOY.js";
47
- import "./chunk-TV74I3Y5.js";
48
- import "./chunk-IH7ILDJS.js";
49
- import {
50
- axisBottom,
51
- axisRight
52
- } from "./chunk-LOZEKOES.js";
53
- import "./chunk-TOU7EVFQ.js";
54
- import {
55
- format,
56
- linear
57
- } from "./chunk-OAWQ6LOO.js";
58
- import "./chunk-SEEYV6P2.js";
59
- import {
60
- pointer_default,
61
- select_default
62
- } from "./chunk-NDWTN4U5.js";
63
- import "./chunk-OMR2DT66.js";
64
- import "./chunk-HFNDKYVF.js";
65
-
66
- // tracks/hic/HicStore.ts
67
- var HicStore = class _HicStore extends StoreBase {
68
- constructor(opts) {
69
- super(opts);
70
- this.views = ["genome", "chrpair", "detail", "horizontal"];
71
- this.type = _HicStore.type;
72
- this.defaultState = {
73
- defaultNmeth: "NONE",
74
- loading: true,
75
- minBinNum_bp: 200,
76
- minFragSpan: 200,
77
- initialBinNum: 20,
78
- settings: {
79
- widthHeightPx: 800
80
- }
81
- };
82
- }
83
- static {
84
- this.type = "store";
85
- }
86
- init() {
87
- this.state = Object.assign({}, this.defaultState, this.state);
88
- }
89
- };
90
- var hicStoreInit = getStoreInit(HicStore);
91
- HicStore.prototype.actions = {
92
- view_create(action) {
93
- if (!action.view) throw Error("view_create: missing view");
94
- if (!this.views.some((v) => v == action.view)) throw Error(`view_create: unknown view = ${action.view}`);
95
- this.state.currView = action.view;
96
- const opts = Object.assign(this.state, action.config);
97
- this.state = opts;
98
- },
99
- view_update(action) {
100
- if (action.view) {
101
- if (!this.views.some((v) => v == action.view)) throw Error(`view_update: unknown view = ${action.view}`);
102
- const opts = Object.assign(this.state[action.view], action.config);
103
- this.state[action.view] = opts;
104
- } else {
105
- const opts = Object.assign(this.state, action.config);
106
- this.state = opts;
107
- }
108
- },
109
- loading_active(action) {
110
- this.state.loading = action.active;
111
- }
112
- };
113
-
114
- // tracks/hic/dom/LoadingOverlay.ts
115
- var LoadingOverlay = class _LoadingOverlay {
116
- constructor(opts) {
117
- this.hasStatePreMain = true;
118
- this.type = _LoadingOverlay.type;
119
- this.app = opts.app;
120
- this.loadingDiv = opts.loadingDiv;
121
- }
122
- static {
123
- this.type = "loadingOverlay";
124
- }
125
- reactsTo(action) {
126
- if (action.type.startsWith("loading")) return true;
127
- else return false;
128
- }
129
- getState(appState) {
130
- return appState;
131
- }
132
- init() {
133
- this.loadingDiv.append("div").attr("class", "sjpp-spinner").style("display", "");
134
- }
135
- main(appState) {
136
- const loading = this.app.getState(appState).loading;
137
- this.loadingDiv.style("display", loading ? "" : "none");
138
- }
139
- };
140
- var loadingInit = getCompInit(LoadingOverlay);
141
-
142
- // tracks/hic/dom/ColorizeElement.ts
143
- var ColorizeElement = class {
144
- colorizeElement(xCoord, yCoord, v, obj, width, height, bpMinV, bpMaxV, currView) {
145
- if (v >= 0) {
146
- const p = v >= bpMaxV ? 0 : v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV - v) / bpMaxV);
147
- const positiveFill = `rgb(255, ${p}, ${p})`;
148
- if (currView === "genome") {
149
- obj.ctx.fillStyle = positiveFill;
150
- obj.ctx2.fillStyle = positiveFill;
151
- } else {
152
- obj.fillStyle = positiveFill;
153
- }
154
- } else {
155
- const p = v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV + v) / bpMaxV);
156
- const negativeFill = `rgb(${p}, ${p}, 255)`;
157
- if (currView === "genome") {
158
- obj.ctx.fillStyle = negativeFill;
159
- obj.ctx2.fillStyle = negativeFill;
160
- } else {
161
- obj.fillStyle = negativeFill;
162
- }
163
- }
164
- if (currView === "genome") {
165
- obj.ctx.fillRect(yCoord, xCoord, width, height);
166
- obj.ctx2.fillRect(xCoord, yCoord, width, height);
167
- } else {
168
- obj.fillRect(xCoord, yCoord, width, height);
169
- }
170
- }
171
- };
172
-
173
- // tracks/hic/data/Resolution.ts
174
- var Resolution = class {
175
- constructor(error) {
176
- this.error = error;
177
- }
178
- getResolution(state, hic) {
179
- if (state.currView == "genome") return hic["bpresolution"][0];
180
- if (state.currView == "chrpair") {
181
- const resolution = this.getChrPairResolution(hic, state.x, state.y, state.minBinNum_bp);
182
- return resolution;
183
- } else if (state.currView == "detail") {
184
- const maxBpWidth = Math.max(state.x.stop - state.x.start, state.y.stop - state.y.start);
185
- let resolution = this.findResFromArray(maxBpWidth, state.minBinNum_bp, hic.bpresolution);
186
- if (resolution == null && !hic.enzyme) {
187
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
188
- }
189
- return resolution;
190
- } else {
191
- this.error(`Unknown view: ${state.currView}`);
192
- throw `Unknown view: ${state.currView}`;
193
- }
194
- }
195
- getChrPairResolution(hic, x, y, minBinNum_bp) {
196
- const chrxlen = hic.genome.chrlookup[x.chr.toUpperCase()].len;
197
- const chrylen = hic.genome.chrlookup[y.chr.toUpperCase()].len;
198
- const maxchrlen = Math.max(chrxlen, chrylen);
199
- const resolution = this.findResFromArray(maxchrlen, minBinNum_bp, hic.bpresolution);
200
- if (resolution == null) {
201
- this.error(`No suitable resolution for ${x.chr}-${y.chr} pair.`);
202
- return;
203
- }
204
- return resolution;
205
- }
206
- findResFromArray(max, defaultValue, resolutionArray, returnNum) {
207
- let resolution = null;
208
- for (const res of resolutionArray) {
209
- if (max / res > defaultValue) {
210
- resolution = res;
211
- break;
212
- }
213
- }
214
- if (returnNum && resolution == null) {
215
- resolution = resolutionArray[resolutionArray.length - 1];
216
- }
217
- return resolution;
218
- }
219
- getDefaultViewSpan(hic, x, y, initialBinNum, minBinNum_bp) {
220
- const chrpairResolution = this.getChrPairResolution(hic, x, y, minBinNum_bp);
221
- if (!chrpairResolution) return;
222
- return chrpairResolution * initialBinNum;
223
- }
224
- };
225
-
226
- // tracks/hic/data/Positions.ts
227
- var Positions = class {
228
- constructor(error, minBinNum_bp) {
229
- this.error = error;
230
- this.resolution = new Resolution(this.error);
231
- this.minBinNum_bp = minBinNum_bp;
232
- }
233
- /**
234
- *
235
- * @param x x coordinate of pointer
236
- * @param y y coordinate of pointer
237
- * @param binpx
238
- * @param chrx x chr from state
239
- * @param chry y chr from state
240
- * @param hic
241
- * @param initialBinNum Set in the state
242
- * @returns
243
- */
244
- setPosition(x, y, binpx, chrx, chry, hic, initialBinNum) {
245
- const resolution = this.resolution.getChrPairResolution(hic, chrx, chry, this.minBinNum_bp);
246
- const viewrangebpw = resolution * initialBinNum;
247
- let coordx = Math.max(1, Math.floor(x * resolution / binpx) - viewrangebpw / 2);
248
- let coordy = Math.max(1, Math.floor(y * resolution / binpx) - viewrangebpw / 2);
249
- {
250
- const lenx = hic.genome.chrlookup[chrx.chr.toUpperCase()].len;
251
- if (coordx + viewrangebpw >= lenx) {
252
- coordx = lenx - viewrangebpw;
253
- }
254
- const leny = hic.genome.chrlookup[chry.chr.toUpperCase()].len;
255
- if (coordy + viewrangebpw > leny) {
256
- coordy = leny - viewrangebpw;
257
- }
258
- }
259
- const xObj = {
260
- chr: chrx.chr,
261
- start: coordx,
262
- stop: coordx + viewrangebpw
263
- };
264
- const yObj = {
265
- chr: chry.chr,
266
- start: coordy,
267
- stop: coordy + viewrangebpw
268
- };
269
- return [xObj, yObj];
270
- }
271
- };
272
-
273
- // tracks/hic/data/GridElementsFormattedData.ts
274
- var GridElementsFormattedData = class {
275
- /**
276
- * Format the data for the grid elements.
277
- * @param items The data to format.
278
- * @param binpx The bin size in pixels.
279
- * @param resolution The resolution.
280
- * @param isFirstChrX Whether the first chromosome is X. Used for chrpair view.
281
- * @param isIntraChr Whether the data is intra-chromosomal. Used for chrpair view
282
- * @returns The formatted data.
283
- */
284
- formatData(view, items, binpx, resolution, isFirstChrX, isIntraChr) {
285
- const formattedData = [];
286
- for (const [xCoord, yCoord, value] of items) {
287
- const xPx = Math.floor(xCoord / resolution) * binpx;
288
- const yPx = Math.floor(yCoord / resolution) * binpx;
289
- if (view == "genome") {
290
- formattedData.push([xPx, yPx, value]);
291
- }
292
- if (view == "chrpair") {
293
- const x = isFirstChrX ? xPx : yPx;
294
- const y = isFirstChrX ? yPx : xPx;
295
- formattedData.push([x, y, value]);
296
- if (isIntraChr) {
297
- formattedData.push([y, x, value]);
298
- }
299
- }
300
- }
301
- return formattedData;
302
- }
303
- };
304
-
305
- // tracks/hic/data/FirstChrX.ts
306
- var FirstChrX = class {
307
- constructor(chrorder, chrx, chry) {
308
- this.chrorder = chrorder;
309
- this.chrx = chrx;
310
- this.chry = chry;
311
- }
312
- isFirstX() {
313
- if (this.chrx == this.chry) return true;
314
- return this.chrorder.indexOf(this.chrx) < this.chrorder.indexOf(this.chry);
315
- }
316
- };
317
-
318
- // tracks/hic/chrpair/ChrPairView.ts
319
- var ChrPairView = class {
320
- constructor(opts) {
321
- this.binpx = 1;
322
- /** padding on the ends of x/y chr coordinate axes */
323
- this.axispad = 10;
324
- this.axisLabelFontSize = 15;
325
- this.calcResolution = null;
326
- this.data = [];
327
- this.app = opts.app;
328
- this.hic = opts.hic;
329
- this.plotDiv = opts.plotDiv;
330
- this.items = opts.items;
331
- this.parent = opts.parent;
332
- this.chrxlen = this.hic.genome.chrlookup[this.parent("state").x.chr.toUpperCase()].len;
333
- this.chrylen = this.hic.genome.chrlookup[this.parent("state").y.chr.toUpperCase()].len;
334
- this.maxchrlen = Math.max(this.chrxlen, this.chrylen);
335
- this.colorizeElement = new ColorizeElement();
336
- this.positions = new Positions(opts.error, this.parent("state").minBinNum_bp);
337
- this.formattedData = new GridElementsFormattedData();
338
- }
339
- setDefaultBinpx() {
340
- if (this.calcResolution == null) return;
341
- while (this.binpx * this.maxchrlen / this.calcResolution < 600) {
342
- this.binpx++;
343
- }
344
- }
345
- renderAxes() {
346
- if (this.calcResolution == null) return;
347
- const svgY = this.plotDiv.yAxis.append("svg");
348
- const h = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
349
- svgY.attr("width", 100).attr("height", this.axispad * 2 + h);
350
- 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)");
351
- axisstyle({
352
- axis: svgY.append("g").attr("transform", `translate(1, ${this.axispad})`).call(axisRight(linear().domain([0, this.chrylen]).range([0, h])).tickFormat(format(".2s"))),
353
- showline: true
354
- });
355
- const svgX = this.plotDiv.xAxis.append("svg").style("margin-top", "-4px");
356
- const w = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
357
- svgX.attr("height", 100).attr("width", this.axispad * 2 + w);
358
- 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);
359
- axisstyle({
360
- axis: svgX.append("g").attr("transform", "translate(" + this.axispad + ",1)").call(axisBottom(linear().domain([0, this.chrxlen]).range([0, w])).tickFormat(format(".2s"))),
361
- showline: true
362
- });
363
- }
364
- renderCanvas() {
365
- const initDetailView = this.initDetailView.bind(this);
366
- this.canvas = this.plotDiv.plot.append("canvas").attr("data-testid", "sjpp-chrpair-canvas").style("margin", this.axispad + "px").on("click", async function(event) {
367
- const [x, y] = pointer_default(event, this);
368
- initDetailView(x, y);
369
- }).node();
370
- this.canvas.width = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
371
- this.canvas.height = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
372
- this.ctx = this.canvas.getContext("2d");
373
- }
374
- initDetailView(x, y) {
375
- const [xObj, yObj] = this.positions.setPosition(
376
- x,
377
- y,
378
- this.binpx,
379
- this.parent("state").x,
380
- this.parent("state").y,
381
- this.hic,
382
- this.parent("state").initialBinNum
383
- );
384
- this.app.dispatch({
385
- type: "view_create",
386
- view: "detail",
387
- config: {
388
- x: xObj,
389
- y: yObj
390
- }
391
- });
392
- }
393
- render() {
394
- this.calcResolution = this.parent("calcResolution");
395
- this.setDefaultBinpx();
396
- this.renderAxes();
397
- this.renderCanvas();
398
- this.update(this.items);
399
- }
400
- update(items) {
401
- this.items = items;
402
- const firstisx = new FirstChrX(this.hic.chrorder, this.parent("state").x.chr, this.parent("state").y.chr).isFirstX();
403
- const isintrachr = this.parent("state").x.chr === this.parent("state").y.chr;
404
- this.data = this.formattedData.formatData(
405
- "chrpair",
406
- items.items,
407
- this.binpx,
408
- this.calcResolution,
409
- firstisx,
410
- isintrachr
411
- );
412
- this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
413
- for (const [x, y, v] of this.data) {
414
- this.colorizeElement.colorizeElement(
415
- x,
416
- y,
417
- v,
418
- this.ctx,
419
- this.binpx,
420
- //width
421
- this.binpx,
422
- //height
423
- this.parent("min"),
424
- this.parent("max"),
425
- "chrpair"
426
- );
427
- }
428
- this.app.dispatch({ type: "loading_active", active: false });
429
- }
430
- };
431
-
432
- // tracks/hic/horizontal/HorizontalView.ts
433
- var HorizontalView = class {
434
- constructor(opts) {
435
- /** Defaults*/
436
- this.maxPercentage = 5;
437
- this.subPanelPxWidth = 600;
438
- this.borderColor = "rgba(200,0,0,.1)";
439
- this.app = opts.app;
440
- this.hic = opts.hic;
441
- this.plotDiv = opts.plotDiv;
442
- this.items = opts.items;
443
- this.parent = opts.parent;
444
- }
445
- setRunPpTracks() {
446
- const tracks = [
447
- {
448
- type: "hicstraw",
449
- file: this.hic.file,
450
- url: this.hic.url,
451
- name: this.hic.name,
452
- enzyme: this.hic.enzyme,
453
- maxpercentage: this.maxPercentage,
454
- pyramindup: 1
455
- }
456
- ];
457
- if (this.hic.tklst) {
458
- for (const t of this.hic.tklst) {
459
- tracks.push(t);
460
- }
461
- }
462
- first_genetrack_tolist(this.hic.genome, tracks);
463
- return tracks;
464
- }
465
- setRunPpArgs(tracks) {
466
- const arg = {
467
- holder: this.plotDiv.plot,
468
- hostURL: this.hic.hostURL,
469
- jwt: this.hic.jwt,
470
- genome: this.hic.genome,
471
- nobox: 1,
472
- tklst: tracks
473
- };
474
- const state = this.parent("state");
475
- if (state.x.chr == state.y.chr && Math.max(state.x.start, state.y.start) < Math.min(state.x.stop, state.y.stop)) {
476
- arg["chr"] = state.x.chr;
477
- arg["start"] = Math.min(state.x.start, state.y.start);
478
- arg["stop"] = Math.max(state.x.stop, state.y.stop);
479
- } else {
480
- arg["chr"] = state.x.chr;
481
- arg["start"] = state.x.start;
482
- arg["stop"] = state.x.stop;
483
- arg["width"] = this.subPanelPxWidth;
484
- arg["subpanels"] = [
485
- {
486
- chr: state.y.chr,
487
- start: state.y.start,
488
- stop: state.y.stop,
489
- width: this.subPanelPxWidth,
490
- leftpad: 10,
491
- leftborder: this.borderColor
492
- }
493
- ];
494
- }
495
- return arg;
496
- }
497
- render() {
498
- const tracks = this.setRunPpTracks();
499
- const arg = this.setRunPpArgs(tracks);
500
- blocklazyload(arg);
501
- }
502
- // update() {
503
- // //Not required.
504
- // //If controls are added back. Implement changes here.
505
- // }
506
- };
507
-
508
- // tracks/hic/detail/DetailBlock.ts
509
- var DetailBlock = class {
510
- constructor(app, hic, blockwidth, bbmargin, holder, isYblock) {
511
- /** Defaults */
512
- this.leftheadw = 20;
513
- this.rightheadw = 40;
514
- this.lpad = 1;
515
- this.rpad = 1;
516
- this.firstRender = true;
517
- this.app = app;
518
- this.hic = hic;
519
- this.width = blockwidth;
520
- this.bbmargin = bbmargin;
521
- this.holder = holder;
522
- this.isYblock = isYblock;
523
- this.bbw = this.leftheadw + this.lpad + this.width + this.rpad + this.rightheadw + 2 * this.bbmargin;
524
- this.defaultLeft = this.bbmargin + this.leftheadw + this.lpad;
525
- this.defaultTop = this.bbmargin + this.rightheadw + this.rpad;
526
- }
527
- setArgs(chrObj) {
528
- const runPpArgs = {
529
- hostURL: this.hic.hostURL,
530
- genome: this.hic.genome,
531
- holder: this.holder,
532
- noresize: true,
533
- nobox: true,
534
- butrowbottom: true,
535
- style: {
536
- margin: `${this.bbmargin}px`
537
- },
538
- width: this.width,
539
- leftheadw: this.leftheadw,
540
- chr: chrObj.chr,
541
- start: chrObj.start,
542
- stop: chrObj.stop,
543
- rightheadw: this.rightheadw,
544
- tklst: [],
545
- rotated: this.isYblock,
546
- showreverse: this.isYblock
547
- };
548
- first_genetrack_tolist(this.hic.genome, runPpArgs.tklst);
549
- return runPpArgs;
550
- }
551
- setMethods(canvasHolder, canvas, sheath) {
552
- const runPpMethods = {
553
- onloadalltk_always: () => {
554
- this.onload(canvasHolder, canvas, sheath);
555
- },
556
- onpanning: (xoff) => this.onpanning(xoff, canvas)
557
- };
558
- if (this.isYblock) {
559
- runPpMethods["onsetheight"] = (bbh) => {
560
- this.holder.transition().style("left", `${bbh + this.bbmargin + 30}px`);
561
- };
562
- }
563
- return runPpMethods;
564
- }
565
- onload(canvasHolder, canvas, sheath) {
566
- this.bbw = this.block.leftheadw + this.block.lpad + this.block.width + this.block.rpad + this.block.rightheadw + 2 * this.bbmargin;
567
- if (this.isYblock) {
568
- sheath.transition().style("height", `${this.bbw}px`);
569
- canvasHolder.style("height", `${this.bbw}px`);
570
- } else canvasHolder.style("width", `${this.bbw}px`);
571
- if (this.isYblock) {
572
- this.defaultTop = this.bbmargin + this.block.rightheadw + this.block.rpad;
573
- canvas.style("top", `${this.defaultTop}px`);
574
- } else {
575
- this.defaultLeft = this.bbmargin + this.block.leftheadw + this.block.lpad;
576
- canvas.style("left", `${this.defaultLeft}px`);
577
- }
578
- const config = {
579
- [this.isYblock ? "y" : "x"]: {
580
- chr: this.block.rglst[0].chr,
581
- start: this.block.rglst[0].start,
582
- stop: this.block.rglst[0].stop
583
- }
584
- };
585
- if (this.firstRender == false) {
586
- this.app.dispatch({
587
- type: "view_update",
588
- config
589
- });
590
- } else {
591
- this.firstRender = false;
592
- }
593
- }
594
- onpanning(xoff, canvas) {
595
- if (!this.isYblock) canvas.style("left", `${xoff + this.defaultLeft}px`);
596
- else canvas.style("top", `${-xoff + this.defaultTop}px`);
597
- }
598
- async loadBlock(chrObj, canvasHolder, canvas, sheath) {
599
- const runPpArgs = this.setArgs(chrObj);
600
- const runPpMethods = this.isYblock ? this.setMethods(canvasHolder, canvas, sheath) : this.setMethods(canvasHolder, canvas);
601
- const args = Object.assign(runPpArgs, runPpMethods);
602
- await blocklazyload(args).then(async (block) => {
603
- this.block = block;
604
- });
605
- }
606
- };
607
-
608
- // tracks/hic/data/DetailDataFetcher.ts
609
- var DetailDataFetcher = class {
610
- constructor(errList) {
611
- this.obj = {
612
- rglst: []
613
- };
614
- this.errList = errList;
615
- }
616
- isFragData(hic, resolution) {
617
- if (resolution != null) return;
618
- if (!hic.enzyme) {
619
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
620
- return;
621
- }
622
- }
623
- formatFragArgs(enzymefile, chr) {
624
- const arg = {
625
- getdata: 1,
626
- getBED: 1,
627
- file: enzymefile,
628
- rglst: [chr]
629
- };
630
- return arg;
631
- }
632
- /**
633
- * @param arg Formated obj from either fn above
634
- * @param errList
635
- * @returns
636
- */
637
- async getBedData(arg) {
638
- try {
639
- return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(arg) });
640
- } catch (e) {
641
- this.errList.push(e.message || e);
642
- if (e.stack) console.error(e.stack);
643
- }
644
- }
645
- async getXFragData(hic, resolution, chrx) {
646
- this.isFragData(hic, resolution);
647
- if (!hic.enzymefile) return;
648
- const reqArgs = this.formatFragArgs(hic.enzymefile, chrx);
649
- return await this.getBedData(reqArgs);
650
- }
651
- async getYFragData(hic, chry) {
652
- const reqArgs = this.formatFragArgs(hic.enzymefile, chry);
653
- return await this.getBedData(reqArgs);
654
- }
655
- /**
656
- * Separate request from data fetch
657
- * Returns the additional fragment data
658
- * @param fragCoords
659
- */
660
- async fetchData(hic, detailView, resolution, x, y, fragCoords) {
661
- const fragStrawArgs = {
662
- matrixType: detailView.matrixType,
663
- file: hic.file,
664
- url: hic.url,
665
- pos1: this.determinePosition(hic, x, fragCoords?.x),
666
- pos2: this.determinePosition(hic, y, fragCoords?.y),
667
- nmeth: detailView.nmeth,
668
- resolution
669
- };
670
- if (fragCoords) fragStrawArgs["isfrag"] = true;
671
- try {
672
- const data = dofetch3("hicdata?", {
673
- method: "POST",
674
- body: JSON.stringify(fragStrawArgs)
675
- });
676
- if (data.error) {
677
- this.errList.push(data.error);
678
- }
679
- return data;
680
- } catch (e) {
681
- this.errList.push(e.message || e);
682
- if (e.stack) console.error(e.stack);
683
- }
684
- }
685
- determinePosition(hic, chr, fragCoord) {
686
- if (fragCoord) {
687
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${fragCoord.start}:${fragCoord.stop}`;
688
- } else {
689
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${chr.start}:${chr.stop}`;
690
- }
691
- }
692
- };
693
-
694
- // tracks/hic/data/ParseFragData.ts
695
- var ParseFragData = class {
696
- constructor(errLst, items) {
697
- this.id2coord = /* @__PURE__ */ new Map();
698
- this.min = null;
699
- this.max = null;
700
- this.items = [];
701
- this.errLst = errLst;
702
- for (const i of items) {
703
- if (!i.rest || !i.rest[0]) {
704
- this.errLst.push("items[].rest data problem");
705
- }
706
- const id = Number.parseInt(i.rest[0]);
707
- if (Number.isNaN(id)) {
708
- this.errLst.push(`${i.start}.${i.stop} invalid fragment id: ${i.rest[0]}`);
709
- }
710
- this.id2coord.set(id, [i.start, i.stop]);
711
- if (this.min == null) {
712
- this.min = id;
713
- this.max = id;
714
- } else {
715
- this.min = Math.min(this.min, id);
716
- this.max = Math.max(this.max, id);
717
- }
718
- }
719
- }
720
- };
721
-
722
- // tracks/hic/data/DetailDataMapper.ts
723
- var DetailDataMapper = class {
724
- constructor(hic, errList, parent) {
725
- this.frag = {
726
- x: {},
727
- y: {}
728
- };
729
- this.hic = hic;
730
- this.errList = errList;
731
- this.dataFetcher = new DetailDataFetcher(errList);
732
- this.parent = parent;
733
- }
734
- async getFragData(chrx, chry) {
735
- try {
736
- const xFragData = await this.dataFetcher.getXFragData(this.hic, this.parent("calcResolution"), chrx);
737
- if (xFragData) {
738
- if (!xFragData.items) {
739
- this.errList.push(`No fragment data returned for ${chrx.chr}:${chrx.start}-${chrx.stop}`);
740
- return;
741
- }
742
- const xParse = new ParseFragData(this.errList, xFragData.items);
743
- if (this.errList.length) return;
744
- this.frag.x = {
745
- id2coord: xParse.id2coord,
746
- start: xParse.min,
747
- stop: xParse.max
748
- };
749
- const yFragData = await this.dataFetcher.getYFragData(this.hic, chry);
750
- if (this.errList.length) return;
751
- if (yFragData) {
752
- if (!yFragData.items) {
753
- this.errList.push(`No fragment data returned for ${chry.chr}:${chry.start}-${chry.stop}`);
754
- return;
755
- }
756
- const yParse = new ParseFragData(this.errList, yFragData.items);
757
- if (this.errList.length) return;
758
- this.frag.y = {
759
- id2coord: /* @__PURE__ */ new Map(),
760
- start: yParse.min,
761
- stop: yParse.max
762
- };
763
- this.determineMap(yParse.id2coord, chrx, chry);
764
- }
765
- }
766
- } catch (e) {
767
- this.errList.push(e.message || e);
768
- if (e.stack) console.error(e.stack);
769
- }
770
- }
771
- determineMap(map, chrx, chry) {
772
- if (chrx.chr == chry.chr) {
773
- for (const [id, pos] of map) {
774
- this.frag.x["id2coord"].set(id, pos);
775
- }
776
- this.frag.y["id2coord"] = this.frag.x["id2coord"];
777
- } else {
778
- this.frag.y["id2coord"] = map;
779
- }
780
- }
781
- async getData(chrx, chry, fragCoords) {
782
- return await this.dataFetcher.fetchData(
783
- this.hic,
784
- this.parent("state")["detail"],
785
- this.parent("calcResolution"),
786
- chrx,
787
- chry,
788
- fragCoords
789
- );
790
- }
791
- };
792
-
793
- // tracks/hic/data/DetailCoodinates.ts
794
- var DetailCoordinates = class {
795
- constructor(hic, errlist) {
796
- this.hic = hic;
797
- this.errlist = errlist;
798
- }
799
- getCoordinates(chrx, chry, data, resolution, widthHeightPx, fragData) {
800
- const isFirstX = new FirstChrX(this.hic.chrorder, chrx.chr, chry.chr).isFirstX();
801
- const isintrachr = chrx.chr == chry.chr;
802
- const xpxbp = widthHeightPx / (chrx.stop - chrx.start);
803
- const ypxbp = widthHeightPx / (chry.stop - chry.start);
804
- const list = this.calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData);
805
- return list;
806
- }
807
- calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData) {
808
- const list = [];
809
- for (const [xCoord, yCoord, value] of data.items) {
810
- let coord1, coord2, span1, span2;
811
- if (fragData) {
812
- const idx_start = isFirstX ? xCoord : yCoord;
813
- const idy_start = isFirstX ? yCoord : xCoord;
814
- if (fragData.x.id2coord.has(idx_start)) {
815
- const [a, b] = fragData.x.id2coord.get(idx_start);
816
- coord1 = a;
817
- span1 = b - a;
818
- } else {
819
- this.errlist.push(`[x id error] x: ${idx_start} y: ${idy_start}`);
820
- continue;
821
- }
822
- {
823
- const id_stop = idx_start + resolution;
824
- if (fragData.x.id2coord.has(id_stop)) {
825
- const ab = fragData.x.id2coord.get(id_stop);
826
- span1 = ab[1] - coord1;
827
- }
828
- }
829
- if (fragData.y.id2coord.has(idy_start)) {
830
- const [a, b] = fragData.y.id2coord.get(idy_start);
831
- coord2 = a;
832
- span2 = b - a;
833
- } else {
834
- this.errlist.push(`[y id error] x: ${idx_start} y: ${idy_start}`);
835
- continue;
836
- }
837
- {
838
- const id_stop = idy_start + resolution;
839
- if (fragData.y.id2coord.has(id_stop)) {
840
- const ab = fragData.y.id2coord.get(id_stop);
841
- span2 = ab[1] - coord2;
842
- }
843
- }
844
- } else {
845
- coord1 = isFirstX ? xCoord : yCoord;
846
- coord2 = isFirstX ? yCoord : xCoord;
847
- span1 = resolution;
848
- span2 = resolution;
849
- }
850
- if (isintrachr) {
851
- if (coord1 > chrx.start - span1 && coord1 < chrx.stop && coord2 > chry.start - span2 && coord2 < chry.stop) {
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
- if (coord2 > chrx.start - span2 && coord2 < chrx.stop && coord1 > chry.start && coord1 < chry.stop) {
861
- list.push([
862
- Math.floor((coord2 - chrx.start) * xpxbp),
863
- Math.floor((coord1 - chry.start) * ypxbp),
864
- Math.ceil(span2 * xpxbp),
865
- Math.ceil(span1 * ypxbp),
866
- value
867
- ]);
868
- }
869
- continue;
870
- }
871
- list.push([
872
- Math.floor((coord1 - chrx.start) * xpxbp),
873
- Math.floor((coord2 - chry.start) * ypxbp),
874
- Math.ceil(span1 * xpxbp),
875
- Math.ceil(span2 * ypxbp),
876
- value
877
- ]);
878
- }
879
- return list;
880
- }
881
- };
882
-
883
- // tracks/hic/detail/DetailView.ts
884
- var DetailView = class {
885
- constructor(opts) {
886
- this.calcResolution = null;
887
- /** Defaults **/
888
- this.binpx = 2;
889
- this.bbmargin = 1;
890
- this.app = opts.app;
891
- this.hic = opts.hic;
892
- this.plotDiv = opts.plotDiv;
893
- this.sheath = opts.plotDiv.yAxis.append("div").style("position", "relative").style("width", "200px").style("height", "800px");
894
- this.rotor = this.sheath.append("div").style("position", "absolute").style("bottom", "0px").style("transform", "rotate(-90deg)").style("transform-origin", "left bottom");
895
- this.data = opts.data;
896
- this.parent = opts.parent;
897
- this.errList = this.parent("errList");
898
- this.resolution = new Resolution(opts.error);
899
- this.colorizeElement = new ColorizeElement();
900
- this.viewRangeBpW = this.resolution.getDefaultViewSpan(
901
- this.hic,
902
- this.parent("state").x,
903
- this.parent("state").y,
904
- this.parent("state").initialBinNum,
905
- this.parent("state").minBinNum_bp
906
- );
907
- this.dataMapper = new DetailDataMapper(this.hic, opts.error, opts.parent);
908
- this.coordinates = new DetailCoordinates(this.hic, this.errList);
909
- }
910
- renderCanvas(blockwidth) {
911
- 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");
912
- 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) => {
913
- const body = select_default(document.body);
914
- const x = event.clientX;
915
- const y = event.clientY;
916
- const oldx = Number.parseInt(this.canvas.style("left"));
917
- const oldy = Number.parseInt(this.canvas.style("top"));
918
- body.on("mousemove", (event2) => {
919
- const xoff = event2.clientX - x;
920
- const yoff = event2.clientY - y;
921
- this.xBlock.block.panning(xoff);
922
- this.yBlock.block.panning(yoff);
923
- this.canvas.style("left", `${oldx + xoff}px`).style("top", `${oldy + yoff}px`);
924
- });
925
- body.on("mouseup", (event2) => {
926
- body.on("mousemove", null).on("mouseup", null);
927
- const xoff = event2.clientX - x;
928
- const yoff = event2.clientY - y;
929
- this.xBlock.block.pannedby(xoff);
930
- this.yBlock.block.pannedby(yoff);
931
- });
932
- });
933
- }
934
- async render() {
935
- this.calcResolution = this.parent("calcResolution");
936
- const state = this.parent("state");
937
- this.xBlock = new DetailBlock(
938
- this.app,
939
- this.hic,
940
- state.settings.widthHeightPx,
941
- this.bbmargin,
942
- this.plotDiv.xAxis,
943
- false
944
- );
945
- this.yBlock = new DetailBlock(this.app, this.hic, state.settings.widthHeightPx, this.bbmargin, this.rotor, true);
946
- this.renderCanvas(state.settings.widthHeightPx);
947
- await this.xBlock.loadBlock(state.x, this.canvasHolder, this.canvas);
948
- await this.yBlock.loadBlock(state.y, this.canvasHolder, this.canvas, this.sheath);
949
- this.update(this.data);
950
- }
951
- async update(data) {
952
- if (data.items.length == 0) {
953
- this.app.dispatch({ type: "loading_active", active: false });
954
- return;
955
- }
956
- this.data = data;
957
- const state = this.parent("state");
958
- const initialWidth = Number.parseInt(this.canvas.attr("width"));
959
- const holderChange = Number.parseInt(this.canvasHolder.style("width")) - initialWidth + state.settings.widthHeightPx;
960
- this.canvasHolder.style("width", `${holderChange}px`).style("height", `${holderChange}px`);
961
- this.canvas.attr("width", `${state.settings.widthHeightPx}px`).attr("height", `${state.settings.widthHeightPx}px`);
962
- if (this.xBlock.block.width != state.settings.widthHeightPx) {
963
- this.xBlock.block.width = state.settings.widthHeightPx;
964
- this.yBlock.block.width = state.settings.widthHeightPx;
965
- this.xBlock.block.zoom2px(0, initialWidth);
966
- this.yBlock.block.zoom2px(0, initialWidth);
967
- }
968
- this.ctx = this.canvas.node().getContext("2d");
969
- const coords = this.coordinates.getCoordinates(
970
- state.x,
971
- state.y,
972
- this.parent("data"),
973
- this.parent("calcResolution"),
974
- state.settings.widthHeightPx,
975
- this.parent("fragData")
976
- );
977
- this.coords = coords;
978
- this.ctx.clearRect(0, 0, state.settings.widthHeightPx, state.settings.widthHeightPx);
979
- for (const [xCoord, yCoord, width, height, value] of this.coords) {
980
- this.colorizeElement.colorizeElement(
981
- xCoord,
982
- yCoord,
983
- value,
984
- this.ctx,
985
- width,
986
- height,
987
- this.parent("min"),
988
- this.parent("max"),
989
- "detail"
990
- );
991
- }
992
- this.app.dispatch({ type: "loading_active", active: false });
993
- }
994
- };
995
-
996
- // tracks/hic/axes/Chromosome.ts
997
- var Chromosome = class {
998
- constructor(chr, width) {
999
- this.label = chr;
1000
- this.width = width;
1001
- }
1002
- };
1003
-
1004
- // tracks/hic/grid/Grid.ts
1005
- var Grid = class _Grid {
1006
- constructor(chrlst, resolution, chrlookup, binpx) {
1007
- this.chromosomeMatrix = /* @__PURE__ */ new Map();
1008
- this.chromosomeList = [];
1009
- this.xoff = 0;
1010
- this.yoff = 0;
1011
- this.chr2px = [];
1012
- this.chrlst = chrlst;
1013
- let totalpx = this.chrlst.length;
1014
- for (const chr of this.chrlst) {
1015
- const w = Math.ceil(chrlookup[chr.toUpperCase()].len / resolution) * binpx;
1016
- const chromosome = new Chromosome(chr, w);
1017
- this.chromosomeList.push(chromosome);
1018
- this.chr2px[chr] = w;
1019
- totalpx += w;
1020
- }
1021
- this.totalpx = totalpx;
1022
- for (let i = 0; i < this.chrlst.length; i++) {
1023
- const chrx = this.chrlst[i];
1024
- this.chromosomeMatrix.set(chrx, /* @__PURE__ */ new Map());
1025
- let yoff = 0;
1026
- for (let j = 0; j <= i; j++) {
1027
- const chry = this.chrlst[j];
1028
- const chrxChrLen = chrlookup[chrx.toUpperCase()].len;
1029
- const chryChrLen = chrlookup[chry.toUpperCase()].len;
1030
- const xbins = Math.ceil(chrxChrLen / resolution) * binpx;
1031
- const ybins = Math.ceil(chryChrLen / resolution) * binpx;
1032
- this.chromosomeMatrix.get(chrx).set(chry, {
1033
- x: this.xoff,
1034
- y: yoff,
1035
- xbins,
1036
- ybins,
1037
- data: []
1038
- //Empty array of data to fill later
1039
- });
1040
- yoff += this.chr2px[chry] + _Grid.borderWidth;
1041
- }
1042
- this.yoff = yoff;
1043
- this.xoff += this.chr2px[chrx] + _Grid.borderWidth;
1044
- }
1045
- }
1046
- static {
1047
- this.checkerFill = "#DEF3FA";
1048
- }
1049
- static {
1050
- this.spaceColor = "#CCC";
1051
- }
1052
- static {
1053
- this.fontSize = 15;
1054
- }
1055
- static {
1056
- this.font = font;
1057
- }
1058
- static {
1059
- this.borderWidth = 1;
1060
- }
1061
- static {
1062
- this.defaultChrLabWidth = 100;
1063
- }
1064
- };
1065
-
1066
- // tracks/hic/viewmodel/GridViewModel.ts
1067
- var GridViewModel = class {
1068
- constructor(opts) {
1069
- this.grid = new Grid(opts.hic.chrlst, opts.resolution || opts.hic.bpresolution[0], opts.hic.genome.chrlookup, 1);
1070
- }
1071
- };
1072
-
1073
- // tracks/hic/grid/GridRenderer.ts
1074
- var GridRenderer = class {
1075
- constructor(svg, layerMap, layerSv, grid) {
1076
- this.svg = svg;
1077
- this.layerMap = layerMap.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1078
- this.layerSv = layerSv.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1079
- this.grid = grid;
1080
- }
1081
- render() {
1082
- this.renderAxisX(this.grid);
1083
- this.renderAxisY(this.grid);
1084
- this.svg.attr("width", Grid.defaultChrLabWidth + this.grid.xoff).attr("height", Grid.fontSize + this.grid.yoff);
1085
- }
1086
- renderAxisX(grid) {
1087
- let xoff = 0;
1088
- this.grid.chromosomeList.forEach((chr, index) => {
1089
- const chrw = chr.width;
1090
- if (index % 2 === 0) {
1091
- this.layerMap.append("rect").attr("x", xoff).attr("width", chrw).attr("height", Grid.fontSize).attr("y", -Grid.fontSize).attr("fill", Grid.checkerFill);
1092
- }
1093
- this.layerMap.append("text").attr("data-testid", `sjpp-hic-chr-xAxis-label`).attr("font-family", Grid.font).attr("text-anchor", "middle").attr("font-size", 12).attr("x", xoff + chrw / 2).text(chr.label);
1094
- xoff += chrw;
1095
- this.layerSv.append("line").attr("x1", xoff).attr("x2", xoff).attr("y2", grid.totalpx).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1096
- xoff += Grid.borderWidth;
1097
- });
1098
- }
1099
- renderAxisY(grid) {
1100
- let yoff = 0;
1101
- this.grid.chromosomeList.forEach((chr, index) => {
1102
- const chrh = chr.width;
1103
- if (index % 2 === 0) {
1104
- this.layerMap.append("rect").attr("x", -Grid.defaultChrLabWidth).attr("width", Grid.defaultChrLabWidth).attr("height", chrh).attr("y", yoff).attr("fill", Grid.checkerFill);
1105
- }
1106
- this.layerMap.append("text").attr("data-testid", `sjpp-hic-chr-yAxis-label`).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);
1107
- yoff += chrh;
1108
- this.layerSv.append("line").attr("x2", grid.totalpx).attr("y1", yoff).attr("y2", yoff).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1109
- yoff += Grid.borderWidth;
1110
- });
1111
- }
1112
- };
1113
-
1114
- // tracks/hic/genome/ChrsTooltips.ts
1115
- var ChrsTooltips = class {
1116
- constructor() {
1117
- this.chrx_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1118
- this.chry_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1119
- }
1120
- render(img, chrx, chry) {
1121
- const p = img.node().getBoundingClientRect();
1122
- this.chrx_tip.clear().show(p.left, p.top).d.style("top", null).attr("data-testid", "sjpp-hic-chrx-tooltip").style("bottom", window.innerHeight - p.top - window.pageYOffset + "px").text(chrx);
1123
- this.chry_tip.clear().show(p.left, p.top).d.style("left", null).attr("data-testid", "sjpp-hic-chry-tooltip").style("right", document.body.clientWidth - p.left - window.pageXOffset + "px").text(chry);
1124
- }
1125
- };
1126
-
1127
- // tracks/hic/grid/GridElementRenderer.ts
1128
- var GridElementRenderer = class {
1129
- constructor(layerMap, app) {
1130
- this.app = app;
1131
- this.layerMap = layerMap;
1132
- this.tooltips = new ChrsTooltips();
1133
- }
1134
- render(obj, lead, follow, holder) {
1135
- obj.canvas = holder.append("canvas").style("display", "none").node();
1136
- obj.ctx = obj.canvas.getContext("2d");
1137
- obj.canvas.width = obj.xbins;
1138
- obj.canvas.height = obj.ybins;
1139
- 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 () => {
1140
- await this.app.dispatch({
1141
- type: "view_create",
1142
- view: "chrpair",
1143
- config: {
1144
- x: {
1145
- chr: lead
1146
- },
1147
- y: {
1148
- chr: follow
1149
- }
1150
- }
1151
- });
1152
- }).on("mouseover", () => {
1153
- this.tooltips.render(obj.img, lead, follow);
1154
- });
1155
- if (lead != follow) {
1156
- obj.canvas2 = holder.append("canvas").style("display", "none").node();
1157
- obj.canvas2.width = obj.ybins;
1158
- obj.canvas2.height = obj.xbins;
1159
- obj.ctx2 = obj.canvas2.getContext("2d");
1160
- 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 () => {
1161
- await this.app.dispatch({
1162
- type: "view_create",
1163
- view: "chrpair",
1164
- config: {
1165
- x: {
1166
- chr: follow
1167
- },
1168
- y: {
1169
- chr: lead
1170
- }
1171
- }
1172
- });
1173
- }).on("mouseover", () => {
1174
- this.tooltips.render(obj.img2, follow, lead);
1175
- });
1176
- } else {
1177
- obj.ctx2 = obj.ctx;
1178
- }
1179
- }
1180
- };
1181
-
1182
- // tracks/hic/grid/GridElementsRenderer.ts
1183
- var GridElementsRenderer = class {
1184
- constructor(grid, layerMap, app) {
1185
- this.grid = grid;
1186
- this.gridElementRenderer = new GridElementRenderer(layerMap, app);
1187
- }
1188
- render(holder) {
1189
- for (const [chrx, chryMap] of this.grid.chromosomeMatrix) {
1190
- for (const [chry, gridElem] of chryMap) {
1191
- this.gridElementRenderer.render(gridElem, chrx, chry, holder);
1192
- }
1193
- }
1194
- }
1195
- };
1196
-
1197
- // tracks/hic/genome/GenomeView.ts
1198
- var GenomeView = class {
1199
- constructor(opts) {
1200
- /** Dom */
1201
- this.tip = new Menu();
1202
- this.pica_x = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1203
- this.pica_y = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1204
- /** Data */
1205
- /** px width for each chr */
1206
- this.chr2px = {};
1207
- this.lead2follow = /* @__PURE__ */ new Map();
1208
- this.values = [];
1209
- /** Defaults */
1210
- this.defaultChrLabWidth = 100;
1211
- this.borderwidth = 1;
1212
- this.default_maxVPerc = 5;
1213
- this.fontsize = 15;
1214
- this.xoff = 0;
1215
- this.yoff = 0;
1216
- this.binpx = 1;
1217
- this.atdev_chrnum = 8;
1218
- this.min = 0;
1219
- this.max = 0;
1220
- this.app = opts.app;
1221
- this.hic = opts.hic;
1222
- this.plotDiv = opts.plotDiv;
1223
- this.data = opts.data;
1224
- this.parent = opts.parent;
1225
- this.resolution = opts.resolution || opts.hic.bpresolution[0];
1226
- this.svg = this.plotDiv.plot.append("svg").attr("data-testid", "sjpp-hic-genome-svg");
1227
- this.layer_map = this.svg.append("g").attr("data-testid", "sjpp-hic-layerMap-g");
1228
- this.layer_sv = this.svg.append("g").attr("data-testid", "sjpp-hic-layerSv-g");
1229
- this.colorizeElement = new ColorizeElement();
1230
- this.viewModel = new GridViewModel(opts);
1231
- this.viewRender = new GridRenderer(this.svg, this.layer_map, this.layer_sv, this.viewModel.grid);
1232
- this.gridElementsRenderer = new GridElementsRenderer(this.viewModel.grid, this.layer_map, this.app);
1233
- this.gridFormattedData = new GridElementsFormattedData();
1234
- }
1235
- makeSv() {
1236
- const unknownchr = /* @__PURE__ */ new Set();
1237
- const radius = 8;
1238
- for (const item of this.hic.sv.items) {
1239
- const _o = this.lead2follow.get(item.chr1);
1240
- if (!_o) {
1241
- unknownchr.add(item.chr1);
1242
- continue;
1243
- }
1244
- const obj = _o.get(item.chr2);
1245
- if (!obj) {
1246
- unknownchr.add(item.chr2);
1247
- continue;
1248
- }
1249
- const p1 = item.position1 / this.resolution;
1250
- const p2 = item.position2 / this.resolution;
1251
- this.layer_sv.append("circle").attr("data-testid", "sjpp-hic-genome-view-sv-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) => {
1252
- this.tooltipSv(event, item);
1253
- }).on("mouseout", () => {
1254
- this.tip.hide();
1255
- }).on("click", () => {
1256
- this.clickSv(item);
1257
- });
1258
- if (obj.img2) {
1259
- this.layer_sv.append("circle").attr("data-testid", "sjpp-hic-genome-view-sv-circle-2").attr("stroke", "black").attr("fill", "white").attr("fill-opacity", 0).attr("cy", obj.x + p1).attr("cx", obj.y + p2).attr("r", radius).on("mouseover", (event) => {
1260
- this.tooltipSv(event, item);
1261
- }).on("mouseout", () => {
1262
- this.tip.hide();
1263
- }).on("click", () => {
1264
- this.clickSv(item);
1265
- });
1266
- }
1267
- }
1268
- }
1269
- tooltipSv(event, item) {
1270
- this.tip.clear().show(event.clientX, event.clientY).d.append("div").text(
1271
- item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`
1272
- );
1273
- }
1274
- clickSv(item) {
1275
- const default_svpointspan = 5e5;
1276
- const default_subpanelpxwidth = 600;
1277
- const subpanel_bordercolor = "rgba(200,0,0,.1)";
1278
- const pane = newpane({ x: 100, y: 100 });
1279
- pane.header.text(
1280
- this.hic.name + " " + (item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`)
1281
- );
1282
- const tracks = [
1283
- {
1284
- type: tkt.hicstraw,
1285
- file: this.hic.file,
1286
- enzyme: this.hic.enzyme,
1287
- maxpercentage: this.default_maxVPerc,
1288
- pyramidup: 1,
1289
- name: this.hic.name
1290
- }
1291
- ];
1292
- if (this.hic.tklst) {
1293
- for (const t of this.hic.tklst) {
1294
- tracks.push(t);
1295
- }
1296
- }
1297
- first_genetrack_tolist(this.hic.genome, tracks);
1298
- const arg = {
1299
- holder: pane.body,
1300
- hostURL: this.hic.hostURL,
1301
- jwt: this.hic.jwt,
1302
- genome: this.hic.genome,
1303
- nobox: 1,
1304
- tklst: tracks
1305
- };
1306
- if (item.chr1 == item.chr2 && Math.abs(item.position2 - item.position1) < default_svpointspan * 2) {
1307
- arg.chr = item.chr1;
1308
- const w = Math.abs(item.position2 - item.position1);
1309
- arg.start = Math.max(1, Math.min(item.position1, item.position2) - w);
1310
- arg.stop = Math.min(
1311
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1312
- Math.max(item.position1, item.position2) + w
1313
- );
1314
- } else {
1315
- arg.chr = item.chr1;
1316
- arg.start = Math.max(1, item.position1 - default_svpointspan / 2);
1317
- arg.stop = Math.min(
1318
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1319
- item.position1 + default_svpointspan / 2
1320
- );
1321
- arg.width = default_subpanelpxwidth;
1322
- arg.subpanels = [
1323
- {
1324
- chr: item.chr2,
1325
- start: Math.max(1, item.position2 - default_svpointspan / 2),
1326
- stop: Math.min(
1327
- this.hic.genome.chrlookup[item.chr2.toUpperCase()].len,
1328
- item.position2 + default_svpointspan / 2
1329
- ),
1330
- width: default_subpanelpxwidth,
1331
- leftpad: 10,
1332
- leftborder: subpanel_bordercolor
1333
- }
1334
- ];
1335
- }
1336
- blocklazyload(arg);
1337
- }
1338
- render() {
1339
- this.viewRender.render();
1340
- this.gridElementsRenderer.render(this.hic.holder);
1341
- if (this.hic.sv && this.hic.sv.items) {
1342
- this.makeSv();
1343
- }
1344
- this.update(this.data);
1345
- }
1346
- update(data) {
1347
- this.data = data;
1348
- this.min = this.parent("min");
1349
- this.max = this.parent("max");
1350
- for (const data2 of this.data) {
1351
- if (!this.hic.chrlst.includes(data2.lead) || !this.hic.chrlst.includes(data2.follow)) continue;
1352
- const obj = this.viewModel.grid.chromosomeMatrix.get(data2.lead).get(data2.follow);
1353
- if (!obj) continue;
1354
- obj.ctx.clearRect(0, 0, obj.canvas.width, obj.canvas.height);
1355
- if (obj.canvas2) {
1356
- obj.ctx2.clearRect(0, 0, obj.canvas2.width, obj.canvas.height);
1357
- }
1358
- obj.data = this.gridFormattedData.formatData("genome", data2.items, this.binpx, this.resolution);
1359
- for (const [xPx, yPx, value] of obj.data) {
1360
- this.colorizeElement.colorizeElement(xPx, yPx, value, obj, this.binpx, this.binpx, this.min, this.max, "genome");
1361
- }
1362
- obj.img.attr("xlink:href", obj.canvas.toDataURL());
1363
- if (obj.canvas2) {
1364
- obj.img2.attr("xlink:href", obj.canvas2.toDataURL());
1365
- }
1366
- }
1367
- this.app.dispatch({ type: "loading_active", active: false });
1368
- }
1369
- };
1370
-
1371
- // tracks/hic/controls/NormalizationMethodControl.ts
1372
- var NormalizationMethodControl = class {
1373
- constructor(holder, normalization, defaultNmeth, callback) {
1374
- this.holder = holder;
1375
- this.normalization = normalization;
1376
- this.defaultNmeth = defaultNmeth;
1377
- this.callback = callback;
1378
- }
1379
- render() {
1380
- if (!this.normalization?.length) {
1381
- this.nmethSelect = this.holder.text(this.defaultNmeth);
1382
- } else {
1383
- this.nmethSelect = this.holder.attr("data-testid", "sjpp-hic-nmeth-select").style("margin-right", "10px").append("select").on("change", async () => {
1384
- const nmeth = this.nmethSelect.node().value;
1385
- this.callback(nmeth, "nmeth");
1386
- });
1387
- for (const n of this.normalization) {
1388
- this.nmethSelect.append("option").text(n);
1389
- }
1390
- }
1391
- }
1392
- update(option) {
1393
- const options = this.nmethSelect.node().options;
1394
- if (!options) return;
1395
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1396
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1397
- selectedNmeth.selected = true;
1398
- }
1399
- };
1400
-
1401
- // tracks/hic/controls/CutoffControl.ts
1402
- var CutoffControl = class {
1403
- constructor(holder, value, callback) {
1404
- this.holder = holder;
1405
- this.value = value;
1406
- this.callback = callback;
1407
- }
1408
- render(opts) {
1409
- const cutoffDiv = this.holder.attr("data-testid", "sjpp-hic-cutoff-control").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) => {
1410
- if (event.code != "Enter") return;
1411
- const v = event.target.value;
1412
- this.callback(v);
1413
- });
1414
- return cutoffDiv;
1415
- }
1416
- };
1417
-
1418
- // tracks/hic/controls/MatrixTypeControl.ts
1419
- var MatrixTypeControl = class {
1420
- constructor(holder, callback) {
1421
- this.values = [
1422
- { label: "Observed", value: "observed" },
1423
- { label: "Expected", value: "expected" },
1424
- { label: "Observed/Expected", value: "oe" },
1425
- { label: "Log(Observed/Expected)", value: "log(oe)" }
1426
- // TODO: add server side logic to support these options
1427
- // { label: 'Log(Observed + 1)', value: 'log(obs+1)'},
1428
- // { label: 'Observed Pearson', value: 'op'}
1429
- ];
1430
- this.holder = holder;
1431
- this.callback = callback;
1432
- }
1433
- render() {
1434
- this.matrixSelect = this.holder.attr("data-testid", "sjpp-hic-matrix-type-select").style("margin-right", "10px").append("select").on("change", async () => {
1435
- this.callback(this.matrixSelect.node().value, "matrixType");
1436
- });
1437
- for (const matrixType of this.values) {
1438
- this.matrixSelect.append("option").text(matrixType.label).attr("value", matrixType.value);
1439
- }
1440
- }
1441
- update(option) {
1442
- const options = this.matrixSelect.node().options;
1443
- if (!options) return;
1444
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1445
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1446
- selectedNmeth.selected = true;
1447
- }
1448
- };
1449
-
1450
- // tracks/hic/controls/ControlPanel.ts
1451
- var ControlPanel = class _ControlPanel {
1452
- constructor(opts) {
1453
- this.zoomBlockCallback = (bool) => {
1454
- const detailView = this.parent("detail");
1455
- detailView.xBlock.block.zoomblock(2, bool);
1456
- detailView.yBlock.block.zoomblock(2, bool);
1457
- };
1458
- this.minCallback = (v) => {
1459
- if (Number(v) > Number(this.parent("max"))) {
1460
- this.error("Min cutoff cannot be greater than max cutoff");
1461
- } else {
1462
- this.parent("min", Number(v));
1463
- this.reColorHeatmap();
1464
- this.parent("infoBar").update();
1465
- }
1466
- };
1467
- this.maxCallback = (v) => {
1468
- if (Number(v) < Number(this.parent("min"))) {
1469
- this.error(`Max cutoff cannot be less than min cutoff`);
1470
- } else if (Number(v) < 0) {
1471
- this.error(`Max cutoff cannot be less than 0`);
1472
- } else {
1473
- this.parent("max", Number(v));
1474
- this.reColorHeatmap();
1475
- this.parent("infoBar").update();
1476
- }
1477
- };
1478
- this.reColorHeatmap = () => {
1479
- if (this.parent("activeView") == "genome") {
1480
- const genomeView = this.parent("genome");
1481
- const chrMatrix = genomeView.viewRender.grid.chromosomeMatrix;
1482
- if (!chrMatrix) return;
1483
- for (const map of chrMatrix) {
1484
- const yMap = map[1];
1485
- for (const obj of yMap) {
1486
- const canvasObj = obj[1];
1487
- if (!canvasObj) continue;
1488
- for (const [leadpx, followpx, val] of canvasObj.data) {
1489
- this.colorizeElement.colorizeElement(
1490
- leadpx,
1491
- followpx,
1492
- val,
1493
- canvasObj,
1494
- 1,
1495
- 1,
1496
- this.parent("min"),
1497
- this.parent("max"),
1498
- "genome"
1499
- );
1500
- }
1501
- canvasObj.img.attr("xlink:href", canvasObj.canvas.toDataURL());
1502
- if (canvasObj.canvas2) {
1503
- canvasObj.img2.attr("xlink:href", canvasObj.canvas2.toDataURL());
1504
- }
1505
- }
1506
- }
1507
- } else if (this.parent("activeView") == "chrpair") {
1508
- const view = this.parent("chrpair");
1509
- for (const [xCoord, yCoord, val] of view.data) {
1510
- this.colorizeElement.colorizeElement(
1511
- xCoord,
1512
- yCoord,
1513
- val,
1514
- view.ctx,
1515
- view.binpx,
1516
- view.binpx,
1517
- this.parent("min"),
1518
- this.parent("max"),
1519
- "chrpair"
1520
- );
1521
- }
1522
- } else if (this.parent("activeView") == "detail") {
1523
- const view = this.parent("detail");
1524
- for (const [xCoord, yCoord, width, height, value] of view.coords) {
1525
- this.colorizeElement.colorizeElement(
1526
- xCoord,
1527
- yCoord,
1528
- value,
1529
- view.ctx,
1530
- width,
1531
- height,
1532
- this.parent("min"),
1533
- this.parent("max"),
1534
- "detail"
1535
- );
1536
- }
1537
- }
1538
- };
1539
- this.dropdownCallback = (v, prop) => {
1540
- const state = this.app.getState();
1541
- this.app.dispatch({
1542
- type: "view_update",
1543
- view: state.currView,
1544
- config: { [prop]: v }
1545
- });
1546
- };
1547
- this.type = _ControlPanel.type;
1548
- this.controls = {};
1549
- this.app = opts.app;
1550
- this.controlsDiv = opts.controlsDiv;
1551
- this.hic = opts.hic;
1552
- this.colorizeElement = new ColorizeElement();
1553
- this.parent = opts.parent;
1554
- this.error = opts.error;
1555
- }
1556
- static {
1557
- this.type = "controlPanel";
1558
- }
1559
- getState(appState) {
1560
- return appState;
1561
- }
1562
- addLabel(tr, text) {
1563
- return tr.append("td").style("color", "#858585").style("font-size", ".8em").style("vertical-align", text.toUpperCase() == "VIEW" ? "top" : "middle").text(text.toUpperCase());
1564
- }
1565
- init() {
1566
- const state = this.app.getState();
1567
- const menuWrapper = this.controlsDiv.attr("data-testid", "sjpp-hic-control-panel").style("background", "rgb(253, 250, 244)").style("vertical-align", "top").style("padding", "5px").style("border", "solid 0.5px #ccc");
1568
- let menuVisible = true;
1569
- this.controlsDiv.append("button").attr("data-testid", "sjpp-hic-burger-btn").style("display", "block").style("border", "none").style("font-size", "1.5em").style("background", "none").html("&#8801;").on("click", () => {
1570
- menuVisible = !menuVisible;
1571
- menu.style("display", menuVisible ? "block" : "none");
1572
- });
1573
- const menu = menuWrapper.append("div").attr("class", "sjpp-hic-menu").attr("data-testid", "sjpp-hic-menu").style("display", menuVisible ? "block" : "none");
1574
- const menuTable = menu.append("table").style("border-spacing", "3px");
1575
- this.controls.normalizationRow = menuTable.append("tr");
1576
- this.addLabel(this.controls.normalizationRow, "NORMALIZATION");
1577
- this.controls.nmeth = new NormalizationMethodControl(
1578
- this.controls.normalizationRow.append("td").attr("class", "sjpp-nmeth-select"),
1579
- this.hic.normalization,
1580
- state.defaultNmeth,
1581
- this.dropdownCallback
1582
- );
1583
- this.controls.nmeth.render();
1584
- this.controls.minCutoffRow = menuTable.append("tr");
1585
- this.controls.minCutoffLabel = this.addLabel(this.controls.minCutoffRow, "");
1586
- this.controls.inputBpMinV = new CutoffControl(
1587
- this.controls.minCutoffRow.append("td"),
1588
- this.parent("min"),
1589
- this.minCallback
1590
- ).render({ width: "120px" });
1591
- this.controls.maxCutoffRow = menuTable.append("tr");
1592
- this.controls.maxCutoffLabel = this.addLabel(this.controls.maxCutoffRow, "");
1593
- this.controls.inputBpMaxV = new CutoffControl(
1594
- this.controls.maxCutoffRow.append("td"),
1595
- this.parent("max"),
1596
- this.maxCallback
1597
- ).render({ width: "120px" });
1598
- this.controls.matrixTypeRow = menuTable.append("tr");
1599
- this.addLabel(this.controls.matrixTypeRow, "matrix type");
1600
- this.controls.matrixType = new MatrixTypeControl(this.controls.matrixTypeRow.append("td"), this.dropdownCallback);
1601
- this.controls.matrixType.render();
1602
- this.controls.widthRow = menuTable.append("tr");
1603
- this.addLabel(this.controls.widthRow, "WIDTH / height");
1604
- this.controls.width = this.controls.widthRow.append("td");
1605
- this.controls.width.attr("data-testid", "sjpp-hic-block-size-input").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) => {
1606
- if (event.code != "Enter") return;
1607
- const v = event.target.value;
1608
- this.app.dispatch({
1609
- type: "view_update",
1610
- config: {
1611
- settings: { widthHeightPx: Number.parseInt(v) }
1612
- }
1613
- });
1614
- });
1615
- const viewRow = menuTable.append("tr");
1616
- this.addLabel(viewRow, "VIEW");
1617
- const viewBtnDiv = viewRow.append("td");
1618
- this.controls.view = viewBtnDiv.append("span").attr("data-testid", "sjpp-hic-view-span").style("padding-right", "5px").style("display", "block");
1619
- this.controls.genomeViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-genome-view-btn").style("display", "none").style("padding", "2px").style("margin-top", "4px").html("&#8810; Genome").on("click", async () => {
1620
- await this.app.dispatch({
1621
- type: "view_create",
1622
- view: "genome",
1623
- config: {
1624
- x: {},
1625
- y: {}
1626
- }
1627
- });
1628
- });
1629
- this.controls.chrpairViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-chrpair-view-btn").style("display", "none").style("padding", "2px").style("margin", "4px 0px").on("click", async () => {
1630
- const currState = this.app.getState();
1631
- await this.app.dispatch({
1632
- type: "view_create",
1633
- view: "chrpair",
1634
- config: {
1635
- x: {
1636
- chr: currState.x.chr
1637
- },
1638
- y: {
1639
- chr: currState.y.chr
1640
- }
1641
- }
1642
- });
1643
- });
1644
- this.controls.horizontalViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-horizontal-view-btn").style("display", "none").style("padding", "2px").style("margin", "4px 0px").html("Horizontal View &#8811;").on("click", async () => {
1645
- await this.app.dispatch({
1646
- type: "view_create",
1647
- view: "horizontal"
1648
- });
1649
- });
1650
- this.controls.detailViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-detail-view-btn").style("display", "none").style("padding", "2px").style("margin", "4px 0px").html("&#8810; Detailed View").on("click", async () => {
1651
- await this.app.dispatch({
1652
- type: "view_create",
1653
- view: "detail"
1654
- });
1655
- });
1656
- this.controls.zoomDiv = menuTable.append("tr").attr("data-testid", "sjpp-hic-zoom-div").style("display", state.currView == "detail" ? "contents" : "none");
1657
- this.addLabel(this.controls.zoomDiv, "ZOOM");
1658
- const zoomDiv = this.controls.zoomDiv.append("td");
1659
- this.controls.zoomIn = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-in-btn").style("margin-right", "10px").text("In").on("click", () => {
1660
- this.zoomBlockCallback(false);
1661
- });
1662
- this.controls.zoomOut = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-out-btn").style("margin-right", "10px").text("Out").on("click", () => {
1663
- this.zoomBlockCallback(true);
1664
- });
1665
- }
1666
- showBtns() {
1667
- const state = this.app.getState();
1668
- this.controls.genomeViewBtn.style("display", state.currView === "genome" ? "none" : "inline-block");
1669
- if (state.currView === "detail") {
1670
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1671
- this.controls.horizontalViewBtn.style("display", "block");
1672
- this.controls.zoomDiv.style("display", "contents");
1673
- this.controls.detailViewBtn.style("display", "none");
1674
- } else if (state.currView === "horizontal") {
1675
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1676
- this.controls.detailViewBtn.style("display", "block");
1677
- this.controls.horizontalViewBtn.style("display", "none");
1678
- this.controls.zoomDiv.style("display", "none");
1679
- } else {
1680
- this.controls.chrpairViewBtn.style("display", "none");
1681
- this.controls.horizontalViewBtn.style("display", "none");
1682
- this.controls.detailViewBtn.style("display", "none");
1683
- this.controls.zoomDiv.style("display", "none");
1684
- this.controls.widthRow.style("display", "none");
1685
- }
1686
- }
1687
- showHideControls() {
1688
- const state = this.app.getState();
1689
- this.controls.normalizationRow.style("display", state.currView == "horizontal" ? "none" : "");
1690
- this.controls.minCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1691
- this.controls.maxCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1692
- this.controls.matrixTypeRow.style("display", state.currView == "horizontal" ? "none" : "");
1693
- this.controls.widthRow.style("display", state.currView == "detail" ? "contents" : "none");
1694
- }
1695
- main(appState) {
1696
- const state = this.app.getState(appState);
1697
- this.controls.nmeth.update(state[state.currView].nmeth);
1698
- this.controls.matrixType.update(state[state.currView].matrixType);
1699
- this.controls.zoomDiv.style("display", state.currView == "detail" ? "contents" : "none");
1700
- if (state.currView == "chrpair") {
1701
- this.controls.view.text(`${state.x.chr}-${state.y.chr} Pair`);
1702
- } else {
1703
- this.controls.view.text(state.currView.charAt(0).toUpperCase() + state.currView.slice(1));
1704
- }
1705
- const formatAbsMin = this.parent("absMin") < 1e-5 ? Number(this.parent("absMin")).toExponential(1) : Number(this.parent("absMin").toFixed(6));
1706
- const formatAbsMax = this.parent("absMax") < 1e-5 ? Number(this.parent("absMax")).toExponential(1) : Number(this.parent("absMax").toFixed(6));
1707
- this.controls.width.select("input").property("value", state.settings.widthHeightPx);
1708
- this.controls.inputBpMinV.property("value", this.parent("min"));
1709
- this.controls.inputBpMaxV.property("value", this.parent("max"));
1710
- this.controls.minCutoffLabel.html(`MIN CUTOFF <br>(>= ${formatAbsMin})`);
1711
- this.controls.maxCutoffLabel.html(`MAX CUTOFF <br>(<= ${formatAbsMax})`);
1712
- this.showBtns();
1713
- this.showHideControls();
1714
- }
1715
- };
1716
- var controlPanelInit = getCompInit(ControlPanel);
1717
-
1718
- // tracks/hic/dom/InfoBar.ts
1719
- var InfoBar = class {
1720
- constructor(opts) {
1721
- /** Defaults **/
1722
- //Color shown on the left of the color scale
1723
- this.startColor = "white";
1724
- //Color shown on the right of the color scale
1725
- this.endColor = "red";
1726
- this.addLabel = (text) => {
1727
- return this.labelRow.append("td").attr("data-testid", `sjpp-hic-infobar-${text.toLowerCase().replace(/\s/g, "-")}-label`).style("color", "#858585").style("font-size", ".8em").style("text-align", "center").style("vertical-align", "middle").text(text.toUpperCase());
1728
- };
1729
- this.addValue = (text) => {
1730
- return this.valueRow.append("td").attr("data-testid", `sjpp-hic-infobar-${text.toString().toLowerCase().replace(/\s/g, "-")}-value`).style("font-size", "1em").style("text-align", "center").style("vertical-align", "middle").text(text);
1731
- };
1732
- this.type = "infoBar";
1733
- this.app = opts.app;
1734
- this.hic = opts.hic;
1735
- const table = opts.infoBarDiv;
1736
- this.labelRow = table.append("tr");
1737
- this.valueRow = table.append("tr");
1738
- this.parent = opts.parent;
1739
- }
1740
- async render() {
1741
- this.addLabel("Version");
1742
- this.addValue(this.hic.version);
1743
- this.addLabel("Enzyme");
1744
- this.addValue(this.hic.enzyme || "N/A");
1745
- this.addLabel("Resolution");
1746
- this.resolutionDiv = this.addValue("");
1747
- this.colorScaleLabel = this.addLabel("Scale");
1748
- this.colorScaleDiv = this.valueRow.append("td").attr("data-testid", "sjpp-hic-color-scale");
1749
- const min = this.parent("min");
1750
- let max = this.parent("max");
1751
- if (min == max) max = max + 0.01;
1752
- this.colorScale = new ColorScale({
1753
- barheight: 20,
1754
- barwidth: 100,
1755
- domain: [min, max],
1756
- fontSize: 12,
1757
- height: 40,
1758
- width: 150,
1759
- holder: this.colorScaleDiv,
1760
- colors: [this.startColor, this.endColor],
1761
- position: "20,0",
1762
- ticks: 3,
1763
- tickSize: 5,
1764
- //Do not use min value here on initialization. It's 0 and will not update later.
1765
- markedValue: 1
1766
- });
1767
- }
1768
- update() {
1769
- const res = this.parent("calcResolution");
1770
- let resolutionText;
1771
- if (res < this.hic.bpresolution[this.hic.bpresolution.length - 1]) {
1772
- resolutionText = `${res} fragment${res > 1 ? "s" : ""}`;
1773
- } else {
1774
- resolutionText = bplen(res);
1775
- }
1776
- this.resolutionDiv.text(resolutionText);
1777
- if (this.parent("state").currView == "horizontal") {
1778
- this.colorScaleLabel.style("display", "none");
1779
- this.colorScaleDiv.style("display", "none");
1780
- } else {
1781
- this.colorScaleLabel.style("display", "");
1782
- this.colorScaleDiv.style("display", "");
1783
- const min = this.parent("min");
1784
- const max = this.parent("max");
1785
- if (min < 0) {
1786
- this.colorScale.colors = ["blue", "white", "red"];
1787
- this.colorScale.domain = [min, 0, max];
1788
- } else {
1789
- this.colorScale.colors = ["white", "red"];
1790
- this.colorScale.domain = [0, max];
1791
- }
1792
- this.colorScale.markedValue = min;
1793
- this.colorScale.updateScale();
1794
- }
1795
- }
1796
- };
1797
-
1798
- // tracks/hic/data/DataMapper.ts
1799
- var DataMapper = class {
1800
- constructor(hic, percentile) {
1801
- this.hic = hic;
1802
- this.percentile = percentile ? percentile / 100 : 0.99;
1803
- }
1804
- sortData(data) {
1805
- const vlst = [];
1806
- if (data?.items && data?.items.length) {
1807
- for (const i of data.items) {
1808
- vlst.push(i[2]);
1809
- }
1810
- } else {
1811
- const blankChrs = /* @__PURE__ */ new Set();
1812
- for (const d of data) {
1813
- if (d.lead == "chrM" && !d.items.length || d.lead == "chrY" && !d.items.length) {
1814
- blankChrs.add(d.lead);
1815
- continue;
1816
- }
1817
- for (const i of d.items) {
1818
- vlst.push(i[2]);
1819
- }
1820
- }
1821
- if (blankChrs.size) {
1822
- for (const c of blankChrs) {
1823
- const idx = this.hic.chrlst.indexOf(c);
1824
- this.hic.chrlst.splice(idx, 1);
1825
- }
1826
- }
1827
- }
1828
- const sortedVlst = vlst.sort((a, b) => a - b);
1829
- const max = sortedVlst[Math.floor(sortedVlst.length * this.percentile)];
1830
- const min = sortedVlst[0];
1831
- return [min, max, sortedVlst[sortedVlst.length - 1]];
1832
- }
1833
- };
1834
-
1835
- // tracks/hic/data/GenomeDataFetcher.ts
1836
- var GenomeDataFetcher = class {
1837
- constructor(hic, debugmode, errList = []) {
1838
- this.data = [];
1839
- this.hic = hic;
1840
- this.debugmode = debugmode;
1841
- this.errList = errList || [];
1842
- }
1843
- async getData(obj) {
1844
- if (this.data.length) this.data = [];
1845
- if (!obj?.matrixType) obj.matrixType = "observed";
1846
- try {
1847
- const res = await dofetch3("hicgenome?", {
1848
- method: "POST",
1849
- body: JSON.stringify({
1850
- chrlst: this.hic.chrlst,
1851
- nmeth: obj.nmeth,
1852
- resolution: obj.resolution,
1853
- matrixType: obj.matrixType,
1854
- file: this.hic.file,
1855
- url: this.hic.url,
1856
- nochr: this.hic.nochr
1857
- })
1858
- });
1859
- if (res.error) {
1860
- const errs = res.error.split("\n");
1861
- for (const e of errs) {
1862
- this.errList.push(e);
1863
- }
1864
- }
1865
- return res.data;
1866
- } catch (e) {
1867
- this.errList.push(e.message || e);
1868
- if (e.stack) console.error(e.stack);
1869
- }
1870
- }
1871
- };
1872
-
1873
- // tracks/hic/data/DataFetcher.ts
1874
- var DataFetcher = class {
1875
- constructor(hic, debugmode, errList = []) {
1876
- this.hic = hic;
1877
- this.debugmode = debugmode;
1878
- this.errList = errList || [];
1879
- }
1880
- async getData(obj) {
1881
- if (!obj?.matrixType) obj.matrixType = "observed";
1882
- const arg = {
1883
- matrixType: obj.matrixType,
1884
- file: this.hic.file,
1885
- url: this.hic.url,
1886
- pos1: this.hic.nochr ? obj.lead.replace("chr", "") : obj.lead,
1887
- pos2: this.hic.nochr ? obj.follow.replace("chr", "") : obj.follow,
1888
- nmeth: obj.nmeth,
1889
- resolution: obj.resolution
1890
- };
1891
- try {
1892
- const data = await dofetch3("hicdata?", {
1893
- method: "POST",
1894
- body: JSON.stringify(arg)
1895
- });
1896
- if (data.error) {
1897
- throw Error(`${obj.lead} - ${obj.follow}: ${data.error.error}`);
1898
- }
1899
- if (!data.items || data.items.length == 0) return;
1900
- return data;
1901
- } catch (e) {
1902
- this.errList.push(e.message || e);
1903
- if (e.stack) console.error(e.stack);
1904
- }
1905
- }
1906
- };
1907
-
1908
- // tracks/hic/HicComponent.ts
1909
- var HicComponent = class _HicComponent {
1910
- constructor(opts) {
1911
- this.genomeData = [];
1912
- this.calcResolution = null;
1913
- this.firstRender = true;
1914
- this.min = 0;
1915
- this.absMin = 0;
1916
- this.max = 0;
1917
- this.absMax = 0;
1918
- this.hasStatePreMain = true;
1919
- this.type = _HicComponent.type;
1920
- this.hic = opts.hic;
1921
- this.state = opts.state;
1922
- this.dom = opts.dom;
1923
- this.errList = opts.errList;
1924
- this.plotDiv = this.dom.plotDiv.append("table").classed("sjpp-hic-plot-main", true);
1925
- const tr1 = this.plotDiv.append("tr");
1926
- const tr2 = this.plotDiv.append("tr");
1927
- this.plotDiv = {
1928
- plot: tr1.append("td").classed("sjpp-hic-plot", true).attr("data-testid", "sjpp-hic-plot"),
1929
- yAxis: tr1.append("td").classed("sjpp-hic-plot-yaxis", true).attr("data-testid", "sjpp-hic-yaxis"),
1930
- xAxis: tr2.append("td").classed("sjpp-hic-plot-xaxis", true).attr("data-testid", "sjpp-hic-xaxis"),
1931
- blank: tr2.append("td")
1932
- };
1933
- this.app = opts.app;
1934
- this.dataMapper = new DataMapper(this.hic, opts.state.maxCutoffPercentile);
1935
- this.activeView = this.state.currView;
1936
- this.error = opts.error;
1937
- this.resolution = new Resolution(this.error);
1938
- this.parent = (prop) => {
1939
- return this[prop];
1940
- };
1941
- this.detailDataMapper = new DetailDataMapper(this.hic, this.errList, this.parent);
1942
- }
1943
- static {
1944
- this.type = "view";
1945
- }
1946
- getState(appState) {
1947
- return appState;
1948
- }
1949
- reactsTo(action) {
1950
- if (action.type.startsWith("view")) return true;
1951
- else return false;
1952
- }
1953
- initView() {
1954
- const opts = {
1955
- plotDiv: this.plotDiv,
1956
- hic: this.hic,
1957
- app: this.app,
1958
- parent: (prop) => {
1959
- return this[prop];
1960
- }
1961
- };
1962
- if (this.state.currView == "genome") {
1963
- opts["data"] = this.data;
1964
- this.genome = new GenomeView(opts);
1965
- this.genome.render();
1966
- } else if (this.state.currView === "chrpair") {
1967
- opts["items"] = this.data;
1968
- this.chrpair = new ChrPairView(opts);
1969
- this.chrpair.render();
1970
- } else if (this.state.currView === "detail") {
1971
- opts["data"] = this.data;
1972
- this.detail = new DetailView(opts);
1973
- this.detail.render();
1974
- } else if (this.state.currView === "horizontal") {
1975
- this.horizontal = new HorizontalView(opts);
1976
- this.horizontal.render();
1977
- } else {
1978
- throw Error(`Unknown view: ${this.state.currView}`);
1979
- }
1980
- }
1981
- async fetchData(obj) {
1982
- if (this.data?.length) this.data = [];
1983
- if (this.state.currView == "genome") {
1984
- if (this.activeView != "genome" && this.genomeData?.length) this.data = this.genomeData;
1985
- else {
1986
- const genomeFetcher = new GenomeDataFetcher(this.hic, true, this.errList);
1987
- this.genomeData = await genomeFetcher.getData(obj);
1988
- this.data = this.genomeData;
1989
- }
1990
- } else if (this.state.currView == "detail") {
1991
- this.data = await this.detailDataMapper.getData(this.state.x, this.state.y, this.fragData);
1992
- } else {
1993
- if (!this.state?.x?.chr || !this.state?.y?.chr) {
1994
- this.errList.push(`No positions provided for ${this.activeView} view.`);
1995
- return;
1996
- } else {
1997
- const chrx = this.state.x;
1998
- const chry = this.state.y;
1999
- obj["lead"] = `${chrx.start && chrx.stop ? `${chrx.chr}:${chrx.start}-${chrx.stop}` : chrx.chr}`;
2000
- obj["follow"] = `${chry.start && chry.stop ? `${chry.chr}:${chry.start}-${chry.stop}` : chry.chr}`;
2001
- }
2002
- const dataFetcher = new DataFetcher(this.hic, true, this.errList);
2003
- this.data = await dataFetcher.getData(obj);
2004
- }
2005
- }
2006
- async setResolution(appState) {
2007
- const state = this.app.getState(appState);
2008
- this.calcResolution = this.resolution.getResolution(state, this.hic);
2009
- if (state.currView == "detail" && this.calcResolution == null) {
2010
- await this.detailDataMapper.getFragData(state.x, state.y);
2011
- this.fragData = this.detailDataMapper.frag;
2012
- const maxFragSpan = Math.min(
2013
- this.fragData.x.stop - this.fragData.x.start,
2014
- this.fragData.y.stop - this.fragData.y.start
2015
- );
2016
- this.calcResolution = this.resolution.findResFromArray(
2017
- maxFragSpan,
2018
- state.minFragSpan,
2019
- this.hic.fragresolution,
2020
- true
2021
- );
2022
- } else {
2023
- this.fragData = null;
2024
- }
2025
- return this.calcResolution;
2026
- }
2027
- async setDataArgs(appState) {
2028
- const state = this.app.getState(appState);
2029
- const currView = state[state.currView];
2030
- const args = {
2031
- nmeth: currView.nmeth,
2032
- resolution: await this.setResolution(appState),
2033
- matrixType: currView.matrixType
2034
- };
2035
- if (state.currView == "chrpair") {
2036
- args["lead"] = state.x.chr;
2037
- args["follow"] = state.y.chr;
2038
- }
2039
- return args;
2040
- }
2041
- async getViewData(appState) {
2042
- const args = await this.setDataArgs(appState);
2043
- await this.fetchData(args);
2044
- if (this.data?.length > 0 || this.data?.items?.length > 0) {
2045
- const [min, max, absMax] = this.dataMapper.sortData(this.data);
2046
- this.min = this.absMin = min;
2047
- this.max = max;
2048
- this.absMax = absMax;
2049
- } else {
2050
- if (this.state.currView != "genome") {
2051
- const state = this.app.getState(appState);
2052
- const xPosMessage = state.x?.start ? `${state.x.chr}:${state.x.start}-${state.x.stop}` : state.x.chr;
2053
- const yPosMessage = state.y?.start ? `${state.y.chr}:${state.y.start}-${state.y.stop}` : state.y.chr;
2054
- this.errList.push(`No data returned for ${xPosMessage} and ${yPosMessage}`);
2055
- }
2056
- }
2057
- }
2058
- async init() {
2059
- this.components = {
2060
- controls: await controlPanelInit({
2061
- app: this.app,
2062
- controlsDiv: this.dom.controlsDiv,
2063
- hic: this.hic,
2064
- parent: (prop, value) => {
2065
- if (value) this[prop] = value;
2066
- return this[prop];
2067
- },
2068
- error: this.error.bind(this)
2069
- })
2070
- };
2071
- this.infoBar = new InfoBar({
2072
- app: this.app,
2073
- infoBarDiv: this.dom.infoBarDiv.append("table").style("border-spacing", "3px"),
2074
- hic: this.hic,
2075
- parent: (prop) => {
2076
- return this[prop];
2077
- }
2078
- });
2079
- this.infoBar.render();
2080
- }
2081
- async main(appState) {
2082
- if (this.errList.length) {
2083
- this.app.dispatch({ type: "loading_active", active: false });
2084
- return;
2085
- }
2086
- const state = this.app.getState(appState);
2087
- if (this.firstRender == true) {
2088
- this.firstRender = false;
2089
- await this.getViewData(appState);
2090
- this.initView();
2091
- } else {
2092
- if (state.currView != "horizontal") {
2093
- this.app.dispatch({ type: "loading_active", active: true });
2094
- await this.getViewData(appState);
2095
- }
2096
- if (this.activeView != state.currView) {
2097
- if (this.activeView == "genome") {
2098
- this.genome.svg.remove();
2099
- } else {
2100
- this.plotDiv.xAxis.selectAll("*").remove();
2101
- this.plotDiv.yAxis.selectAll("*").remove();
2102
- this.plotDiv.plot.selectAll("*").remove();
2103
- }
2104
- this.activeView = state.currView;
2105
- this.initView();
2106
- } else {
2107
- this[state.currView].update(this.data);
2108
- }
2109
- }
2110
- this.infoBar.update();
2111
- if (this.errList.length) {
2112
- this.error(this.errList);
2113
- this.app.dispatch({ type: "loading_active", active: false });
2114
- }
2115
- }
2116
- };
2117
- var viewCompInit = getCompInit(HicComponent);
2118
-
2119
- // tracks/hic/HicApp.ts
2120
- var HicApp = class _HicApp extends AppBase {
2121
- constructor(opts) {
2122
- super(opts);
2123
- this.views = ["genome", "chrpair", "detail", "horizontal"];
2124
- this.errList = [];
2125
- /** Required for rx but not in use */
2126
- this.wasDestroyed = false;
2127
- this.type = _HicApp.type;
2128
- this.hic = {
2129
- enzyme: opts.enzyme,
2130
- file: opts.file,
2131
- url: opts.url,
2132
- genome: opts.genome,
2133
- holder: opts.holder,
2134
- hostUrl: opts.hostUrl,
2135
- jwt: opts.jwt,
2136
- position1: opts.position1,
2137
- position2: opts.position2,
2138
- maxCutoffPercentile: opts.maxCutoffPercentile,
2139
- name: "name" in opts ? opts.name : "Hi-C",
2140
- tklist: "tklst" in opts ? opts.tklst : [],
2141
- state: "state" in opts ? opts.state : {}
2142
- };
2143
- this.dom = {
2144
- errorDiv: opts.holder.append("div").classed("sjpp-hic-error", true),
2145
- controlsDiv: opts.holder.append("div").classed("sjpp-hic-controls", true).style("display", "inline-block"),
2146
- 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"),
2147
- loadingDiv: select_default("body").append("div").attr("id", "sjpp-loading-overlay"),
2148
- plotDiv: opts.holder.append("div").classed("sjpp-hic-main", true).style("display", "inline-block"),
2149
- tip: new Menu()
2150
- };
2151
- }
2152
- static {
2153
- this.type = "app";
2154
- }
2155
- async error(err) {
2156
- if (err && typeof err == "string") this.errList.push(err);
2157
- showErrorsWithCounter(this.errList, this.dom.errorDiv);
2158
- this.errList = [];
2159
- }
2160
- determineView() {
2161
- if (!this.hic.position1 && !this.hic.position2 && !this.hic.state.currView) this.hic.state.currView = "genome";
2162
- if (!this.hic.position1 && this.hic.position2) this.errList.push("Missing first position");
2163
- if (this.hic.position1 && !this.hic.position2) this.errList.push("Missing second position");
2164
- if (this.hic.position1 && this.hic.position2) {
2165
- const pos1 = this.hic.position1.split(/[:-]/);
2166
- const pos2 = this.hic.position2.split(/[:-]/);
2167
- this.hic.state.x = { chr: pos1[0] };
2168
- this.hic.state.y = { chr: pos2[0] };
2169
- if (!Number.isNaN(+pos1[1]) && !Number.isNaN(+pos1[2])) {
2170
- this.hic.state.x.start = +pos1[1];
2171
- this.hic.state.x.stop = +pos1[2];
2172
- this.hic.state.y.start = +pos2[1];
2173
- this.hic.state.y.stop = +pos2[2];
2174
- this.hic.state.currView = "detail";
2175
- } else {
2176
- this.hic.state.currView = "chrpair";
2177
- }
2178
- } else {
2179
- if (!this.views.some((v) => v === this.hic.state.currView)) this.error(`Unknown view: ${this.hic.state.currView}`);
2180
- else return this.hic.state.currView;
2181
- }
2182
- }
2183
- getViewsConfig() {
2184
- if (this.hic.maxCutoffPercentile) this.hic.state.maxCutoffPercentile = this.hic.maxCutoffPercentile;
2185
- let nmeth;
2186
- if (this.hic["normalization"]?.length > 0) {
2187
- if (!this.hic["normalization"].includes("NONE")) this.hic["normalization"].unshift("NONE");
2188
- nmeth = this.hic["normalization"][0];
2189
- } else {
2190
- nmeth = "NONE";
2191
- }
2192
- if (this.hic.state.currView) {
2193
- if (!this.hic.state[this.hic.state.currView]) this.hic.state[this.hic.state.currView] = {};
2194
- if (!this.hic.state[this.hic.state.currView]?.matrixType) {
2195
- this.hic.state[this.hic.state.currView].matrixType = "observed";
2196
- }
2197
- if (!this.hic.state[this.hic.state.currView]?.nmeth) {
2198
- this.hic.state[this.hic.state.currView].nmeth = nmeth;
2199
- }
2200
- }
2201
- for (const v of this.views) {
2202
- if (!this.hic.state[v]) {
2203
- this.hic.state[v] = {
2204
- matrixType: "observed",
2205
- nmeth
2206
- };
2207
- }
2208
- }
2209
- }
2210
- async init() {
2211
- this.determineView();
2212
- try {
2213
- await hicParseFile(this.hic, true, this.errList);
2214
- this.getViewsConfig();
2215
- this.store = await hicStoreInit({ app: this.api, state: this.hic.state });
2216
- this.state = await this.store.copyState();
2217
- this.components = {
2218
- loadingOverlay: await loadingInit({
2219
- app: this.api,
2220
- loadingDiv: this.dom.loadingDiv
2221
- }),
2222
- view: await viewCompInit({
2223
- app: this.api,
2224
- state: this.state,
2225
- dom: this.dom,
2226
- hic: this.hic,
2227
- errList: this.errList,
2228
- error: this.error
2229
- })
2230
- };
2231
- await this.api.dispatch();
2232
- } catch (e) {
2233
- console.error(e.stack || e);
2234
- }
2235
- }
2236
- main() {
2237
- if (this.errList.length) {
2238
- this.error(this.errList);
2239
- this.dom.loadingDiv.style("display", "none");
2240
- return;
2241
- }
2242
- }
2243
- };
2244
- var hicInit = getAppInit(HicApp);
2245
- export {
2246
- hicInit
2247
- };
2248
- //# sourceMappingURL=HicApp-SEEJETVE.js.map