@sjcrh/proteinpaint-client 2.210.0 → 2.210.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 (915) hide show
  1. package/dist/2dmaf-7VZ536T5.js +1367 -0
  2. package/dist/AggMatrixInput-UTUOXTGA.js +406 -0
  3. package/dist/AggregateMatrix-X75HUZYO.js +41 -0
  4. package/dist/AppHeader-X2DR6VSM.js +830 -0
  5. package/dist/BoxPlot-NQMPJICU.js +1211 -0
  6. package/dist/CorrelationVolcano-IDBUJH2E.js +617 -0
  7. package/dist/Cuminc-BYFIMOLO.js +1219 -0
  8. package/dist/DE-BI7DHHW4.js +89 -0
  9. package/dist/DEinput-W66CT4U2.js +501 -0
  10. package/dist/DM-62TEJA3C.js +90 -0
  11. package/dist/DifferentialAnalysis-PRTA6CYW.js +239 -0
  12. package/dist/Disco-4JQP3FRW.js +3389 -0
  13. package/dist/Disco.UI-6RHAA5KU.js +243 -0
  14. package/dist/DmrPlot-VYQYMTQ7.js +362 -0
  15. package/dist/GB-LULUM5LH.js +1392 -0
  16. package/dist/GB-LULUM5LH.js.map +7 -0
  17. package/dist/GSEA-DT3SYXOZ.js +875 -0
  18. package/dist/GeneExpInput-UILWAGRH.js +42 -0
  19. package/dist/Geomap-AFKEGMR5.js +84 -0
  20. package/dist/HicApp-APDL5POY.js +2245 -0
  21. package/dist/IDCViewer-DQXAORHT.js +10812 -0
  22. package/dist/NumBinaryEditor-OUVIOEH7.js +279 -0
  23. package/dist/NumBinaryEditor.unit.spec-VBX2X4CT.js +312 -0
  24. package/dist/NumContEditor-JVPRBZPW.js +105 -0
  25. package/dist/NumContEditor.unit.spec-EQNB6RMI.js +164 -0
  26. package/dist/NumCustomBinEditor-E2SXZDF4.js +33 -0
  27. package/dist/NumCustomBinEditor.unit.spec-VLR7MGNL.js +397 -0
  28. package/dist/NumDiscreteEditor-CUA55FU3.js +170 -0
  29. package/dist/NumDiscreteEditor.unit.spec-7IPCMUDQ.js +233 -0
  30. package/dist/NumRegularBinEditor-CWU7YBEP.js +33 -0
  31. package/dist/NumRegularBinEditor.unit.spec-RGV3EUPC.js +278 -0
  32. package/dist/NumSplineEditor-PC5X7AUJ.js +210 -0
  33. package/dist/NumSplineEditor.unit.spec-QCR3RL5W.js +224 -0
  34. package/dist/NumericDensity-CFUEE5ZN.js +33 -0
  35. package/dist/NumericDensity.unit.spec-JOCVEC32.js +418 -0
  36. package/dist/NumericHandler-VL2Z55KF.js +34 -0
  37. package/dist/NumericHandler.unit.spec-ULM5FSSA.js +214 -0
  38. package/dist/ProteomeInput-3WKTVCYT.js +388 -0
  39. package/dist/Regression-M7AQTYXL.js +1416 -0
  40. package/dist/RunChart2-54SVOXJR.js +749 -0
  41. package/dist/SC-QRWDGHB2.js +1183 -0
  42. package/dist/Violin-2AD6QRJB.js +1081 -0
  43. package/dist/Volcano-T57VFSWR.js +2456 -0
  44. package/dist/Volcano-T57VFSWR.js.map +7 -0
  45. package/dist/Wsi-U3U3EILE.js +629 -0
  46. package/dist/adSandbox-S3JP7XF3.js +33 -0
  47. package/dist/animatedBubbleChart-LZKNERIM.js +547 -0
  48. package/dist/app-2MERLGNJ.js +42 -0
  49. package/dist/app-ZNSUUOFJ.js +32 -0
  50. package/dist/app.js +14 -14
  51. package/dist/bam-ESRPS4TQ.js +876 -0
  52. package/dist/barchart-BPUEO4RK.js +42 -0
  53. package/dist/barchart2-Z36PNSM2.js +309 -0
  54. package/dist/block-GEG4UUOU.js +6250 -0
  55. package/dist/block.init-SB6OX35E.js +33 -0
  56. package/dist/block.mds.expressionrank-2JLMS334.js +354 -0
  57. package/dist/block.mds.geneboxplot-BZMGG6G3.js +823 -0
  58. package/dist/block.mds.junction-636PWE2O.js +1539 -0
  59. package/dist/block.mds.svcnv-S4L2HMZW.js +6796 -0
  60. package/dist/block.svg-A7EABUXG.js +159 -0
  61. package/dist/block.tk.aicheck-KNFJVUTW.js +278 -0
  62. package/dist/block.tk.ase-BPU25OLX.js +360 -0
  63. package/dist/block.tk.bam-VC4CZCUS.js +1901 -0
  64. package/dist/block.tk.bedgraphdot-FQS4Z4RC.js +379 -0
  65. package/dist/block.tk.bigwig.ui-7STXSD3X.js +206 -0
  66. package/dist/block.tk.hicstraw-CVDCOMPP.js +818 -0
  67. package/dist/block.tk.junction-PG4RZFH3.js +2358 -0
  68. package/dist/block.tk.junction.textmatrixui-JRW4ZJIK.js +194 -0
  69. package/dist/block.tk.ld-DLDP2NHJ.js +94 -0
  70. package/dist/block.tk.menu-PWGFMKBQ.js +1024 -0
  71. package/dist/block.tk.pgv-HOBOXQIN.js +938 -0
  72. package/dist/brainImaging-GUQTOHQF.js +555 -0
  73. package/dist/brainRegions-JWBIBCTG.js +217 -0
  74. package/dist/bubbleHeatmap-EUO3DUVT.js +378 -0
  75. package/dist/cellTypeBubbleHeatmap-TIBGPZTB.js +278 -0
  76. package/dist/chunk-3CGAABHZ.js +176 -0
  77. package/dist/chunk-3ELYMSGO.js +26 -0
  78. package/dist/chunk-3QL3U6FU.js +2853 -0
  79. package/dist/chunk-3TV5WWUN.js +339 -0
  80. package/dist/chunk-4Y5W26UF.js +424 -0
  81. package/dist/chunk-5XE3WSUX.js +6360 -0
  82. package/dist/chunk-665X7R7S.js +382 -0
  83. package/dist/chunk-6MQPXWOR.js +55 -0
  84. package/dist/chunk-7DSL65G7.js +14 -0
  85. package/dist/chunk-A6F3CSXP.js +626 -0
  86. package/dist/chunk-AB6JQFIQ.js +129 -0
  87. package/dist/chunk-ACOHIDWO.js +240 -0
  88. package/dist/chunk-AIVPAC5Q.js +102 -0
  89. package/dist/chunk-AKKJFMW5.js +4375 -0
  90. package/dist/chunk-AR2UIN77.js +255 -0
  91. package/dist/chunk-AXF6SVNQ.js +56 -0
  92. package/dist/chunk-BLYD6SQO.js +98 -0
  93. package/dist/chunk-BSWPONNA.js +550 -0
  94. package/dist/chunk-BX3P73XH.js +299 -0
  95. package/dist/chunk-CSAS3PVJ.js +24956 -0
  96. package/dist/chunk-CSAS3PVJ.js.map +7 -0
  97. package/dist/chunk-CW35X5ZL.js +5071 -0
  98. package/dist/chunk-D4XHYQNS.js +281 -0
  99. package/dist/chunk-DH74ZT37.js +141 -0
  100. package/dist/chunk-E76UYIT2.js +182 -0
  101. package/dist/chunk-EM6KUVI5.js +194 -0
  102. package/dist/chunk-F4GYWCRF.js +302 -0
  103. package/dist/chunk-FJ3JD7B3.js +59 -0
  104. package/dist/chunk-FW3ME75U.js +54 -0
  105. package/dist/chunk-G2X2PN74.js +783 -0
  106. package/dist/chunk-G3QKTYUT.js +2676 -0
  107. package/dist/chunk-G5USS6FI.js +56 -0
  108. package/dist/chunk-GLPTPX45.js +203 -0
  109. package/dist/chunk-GPY6SBCX.js +339 -0
  110. package/dist/chunk-GWHIKECP.js +1731 -0
  111. package/dist/chunk-GWVVEOYX.js +263 -0
  112. package/dist/chunk-HDV3LHCN.js +379 -0
  113. package/dist/chunk-HGXSYPU6.js +2327 -0
  114. package/dist/chunk-HMKEVTRM.js +446 -0
  115. package/dist/chunk-HPCKKXRK.js +1233 -0
  116. package/dist/chunk-J5JBHGRN.js +31 -0
  117. package/dist/chunk-JHOGTGIS.js +1988 -0
  118. package/dist/chunk-KCX54MGS.js +480 -0
  119. package/dist/chunk-KVRSO2OZ.js +34 -0
  120. package/dist/chunk-M4PUW3ML.js +243 -0
  121. package/dist/chunk-ME325OQC.js +562 -0
  122. package/dist/chunk-NJWNKBRC.js +468 -0
  123. package/dist/chunk-O5FUHCNU.js +397 -0
  124. package/dist/chunk-ODHQPTHU.js +134 -0
  125. package/dist/chunk-PTQ4GQCS.js +692 -0
  126. package/dist/chunk-PUSSP76H.js +70 -0
  127. package/dist/chunk-Q3PAXUCU.js +54 -0
  128. package/dist/chunk-QWBKN2IC.js +80 -0
  129. package/dist/chunk-R4E7BXC6.js +49 -0
  130. package/dist/chunk-SDYFM3UL.js +274 -0
  131. package/dist/chunk-SP6WCXY6.js +217 -0
  132. package/dist/chunk-SRTZQOK7.js +102 -0
  133. package/dist/chunk-T4RYLTR3.js +178 -0
  134. package/dist/chunk-TANWA6SU.js +54 -0
  135. package/dist/chunk-TBIHBC5V.js +170 -0
  136. package/dist/chunk-TGTCOCPF.js +1278 -0
  137. package/dist/chunk-TOFOT2BN.js +294 -0
  138. package/dist/chunk-UOYIPBTX.js +217 -0
  139. package/dist/chunk-USULBM4V.js +2784 -0
  140. package/dist/chunk-UYKJOBRO.js +1616 -0
  141. package/dist/chunk-UYKJOBRO.js.map +7 -0
  142. package/dist/chunk-V3WSMWBF.js +123 -0
  143. package/dist/chunk-VTHZGUSZ.js +2146 -0
  144. package/dist/chunk-WMQDFVJK.js +103 -0
  145. package/dist/chunk-WTQQWFV4.js +38 -0
  146. package/dist/chunk-XDLKYVYU.js +276 -0
  147. package/dist/chunk-XNJN5J3U.js +37 -0
  148. package/dist/chunk-XQLOEZ7T.js +158 -0
  149. package/dist/chunk-Y3SDMRDX.js +119 -0
  150. package/dist/chunk-Y5FE3G6J.js +518 -0
  151. package/dist/chunk-YMEWZVRG.js +237 -0
  152. package/dist/chunk-YPHFEKWI.js +1339 -0
  153. package/dist/chunk-Z4HW3FEE.js +272 -0
  154. package/dist/cohort-NYFUILFO.js +70 -0
  155. package/dist/condition-6M4AVISY.js +327 -0
  156. package/dist/controls-LMTWS3SY.js +34 -0
  157. package/dist/controls.config-4PK7HLFJ.js +34 -0
  158. package/dist/correlation-X6GB6ITK.js +95 -0
  159. package/dist/customdata.inputui-MDG3BTTG.js +284 -0
  160. package/dist/dataDownload-TFRI3VFM.js +329 -0
  161. package/dist/databrowser.ui-L2K7VVDW.js +425 -0
  162. package/dist/dictionary-MS6R3VNY.js +113 -0
  163. package/dist/dnaMethylation-2KYSQWNE.js +33 -0
  164. package/dist/dnaMethylation.integration.spec-2BHNKOGN.js +198 -0
  165. package/dist/dofetch-BETN7HEX.js +48 -0
  166. package/dist/e2pca-QC2EI5JM.js +344 -0
  167. package/dist/ep-BTRMR4OT.js +1249 -0
  168. package/dist/expclust.gdc.spec-C5ZMBCGO.js +302 -0
  169. package/dist/facet-LPXKLX53.js +519 -0
  170. package/dist/gb-PHJ2SM5D.js +81 -0
  171. package/dist/geneExpClustering-OXZJHEPD.js +244 -0
  172. package/dist/geneExpression-54RGEGML.js +310 -0
  173. package/dist/geneExpression-FLBQXMSX.js +33 -0
  174. package/dist/geneExpression.unit.spec-ZCE7G6HI.js +128 -0
  175. package/dist/geneORA-TELI5AFV.js +273 -0
  176. package/dist/geneRanking-7YZA5GNG.js +548 -0
  177. package/dist/geneVariant-NJYUEY4C.js +36 -0
  178. package/dist/geneVariant-VKWTXUMK.js +289 -0
  179. package/dist/geneVariant.integration.spec-RWYP523U.js +503 -0
  180. package/dist/genefusion.ui-B6J7I3RA.js +303 -0
  181. package/dist/geneset-VG4SFYML.js +203 -0
  182. package/dist/genomeBrowser.spec-5IS5Y2NG.js +276 -0
  183. package/dist/grin2-3T6KRC34.js +70 -0
  184. package/dist/grin2-FOOH736B.js +949 -0
  185. package/dist/hierCluster-WLAFGZAT.js +55 -0
  186. package/dist/hierCluster-XBL2TOOL.js +59 -0
  187. package/dist/hierCluster.config-VCBRBGDZ.js +36 -0
  188. package/dist/hierCluster.integration.spec-TNJD2QT6.js +483 -0
  189. package/dist/hierCluster.interactivity-PEEJ3BRC.js +49 -0
  190. package/dist/hierCluster.renderers-7ESGKIGM.js +19 -0
  191. package/dist/imagePlot-LWL6JMKM.js +156 -0
  192. package/dist/importPlot-CLBY6QZN.js +8 -0
  193. package/dist/isoformExpression-36P3BBN7.js +35 -0
  194. package/dist/isoformExpression.unit.spec-SF2SPTRC.js +237 -0
  195. package/dist/junction-B7DSIG4E.js +36 -0
  196. package/dist/junction.customTerm-7VZS4JDE.js +16 -0
  197. package/dist/junction.unit.spec-4MWU36MR.js +182 -0
  198. package/dist/launch.adhoc-3B34GV4S.js +37 -0
  199. package/dist/leftlabel.sample-6OM5H67E.js +258 -0
  200. package/dist/lollipop-SL2F5G6K.js +166 -0
  201. package/dist/maf-FRYGN5GR.js +455 -0
  202. package/dist/maftimeline-3UFWS73J.js +587 -0
  203. package/dist/matrix-DDKSOJ4C.js +59 -0
  204. package/dist/matrix-H2ZH2QKC.js +54 -0
  205. package/dist/matrix.cells-JTMC35SK.js +26 -0
  206. package/dist/matrix.config-EUBXWEBS.js +37 -0
  207. package/dist/matrix.data-CO5RBWY5.js +23 -0
  208. package/dist/matrix.groups-AKOJ2W6U.js +26 -0
  209. package/dist/matrix.integration.spec-66KNZO3S.js +3160 -0
  210. package/dist/matrix.interactivity-DY5YJIYB.js +37 -0
  211. package/dist/matrix.layout-MQQNHBI2.js +39 -0
  212. package/dist/matrix.legend-CGU7T6GF.js +20 -0
  213. package/dist/matrix.renderers-HC7PJN4B.js +34 -0
  214. package/dist/matrix.serieses-W4L6ZO37.js +19 -0
  215. package/dist/matrix.sort-T74DWFB2.js +26 -0
  216. package/dist/matrix.sort.unit.spec-EQEHQXTO.js +468 -0
  217. package/dist/matrix.sorterUi-GFQG4HFV.js +16 -0
  218. package/dist/matrix.sorterUi.unit.spec-XQHFOEYE.js +338 -0
  219. package/dist/matrix.unit.spec-4ZWUGZUC.js +150 -0
  220. package/dist/mavb-3CL5OHWB.js +727 -0
  221. package/dist/mds.fimo-2RFJQKJM.js +513 -0
  222. package/dist/mds.samplescatterplot-X6CXMY4C.js +1545 -0
  223. package/dist/mds.survivalplot-57NIKSSH.js +477 -0
  224. package/dist/multivalue-3TUGYL4J.js +83 -0
  225. package/dist/numericDictTermCluster-RLX5CLTN.js +63 -0
  226. package/dist/oncomatrix-COK76MJN.js +290 -0
  227. package/dist/oncomatrix.spec-SO3ZN5BF.js +443 -0
  228. package/dist/plot.2dvaf-TETCE4VG.js +372 -0
  229. package/dist/plot.app-5YUAVZA4.js +36 -0
  230. package/dist/plot.barplot-JUGY5Z7A.js +97 -0
  231. package/dist/plot.boxplot-QZXICT7J.js +146 -0
  232. package/dist/plot.brainImaging-2F6E6QS4.js +51 -0
  233. package/dist/plot.disco-H4P4B6QS.js +99 -0
  234. package/dist/plot.ssgq-LEQF3STZ.js +134 -0
  235. package/dist/plot.vaf2cov-UBMD2CN7.js +253 -0
  236. package/dist/polar2-AVEZM2T5.js +232 -0
  237. package/dist/profileForms-CUSUGTPC.js +941 -0
  238. package/dist/profilePlot-67Z7AXQ4.js +49 -0
  239. package/dist/proteinView-7K7VHGX3.js +1357 -0
  240. package/dist/proteomeCohortCompare-MRGH6HHI.js +912 -0
  241. package/dist/pseudbulk.unit.spec-ZHDL6GIM.js +86 -0
  242. package/dist/pseudobulk-ZNXPF7QB.js +35 -0
  243. package/dist/qualitative-QXMZHDWU.js +38 -0
  244. package/dist/radar2-QJDGNLED.js +327 -0
  245. package/dist/radarFacility2-LGGOOWX4.js +335 -0
  246. package/dist/rememberedGvQ.unit.spec-YKUMMYFT.js +211 -0
  247. package/dist/render-LSSRZJY3.js +33 -0
  248. package/dist/report-TTECPO44.js +217 -0
  249. package/dist/sampleView-EFS2UBRS.js +43 -0
  250. package/dist/samplelst-FXULLJBO.js +106 -0
  251. package/dist/samplematrix-MNFCXOWO.js +2193 -0
  252. package/dist/sc-2BUOXML2.js +81 -0
  253. package/dist/scatter-AVRTALYY.js +925 -0
  254. package/dist/scatter-CPEIVL3K.js +88 -0
  255. package/dist/selectGenomeWithTklst-3BG2ZPPN.js +129 -0
  256. package/dist/singleCellCellType-QLAEBVN2.js +33 -0
  257. package/dist/singleCellCellType.unit.spec-P4NAWYKL.js +154 -0
  258. package/dist/singleCellGeneExpression-IZ2PMDDL.js +33 -0
  259. package/dist/singleCellGeneExpression.unit.spec-DKBZICJM.js +148 -0
  260. package/dist/singleCellNumericValue-NB3QFH7H.js +33 -0
  261. package/dist/singleCellNumericValue.unit.spec-ZKK2KWRQ.js +416 -0
  262. package/dist/singleCellPlot-ZU655L4Z.js +48 -0
  263. package/dist/singlecell-NKPTXVHW.js +1566 -0
  264. package/dist/singlecell-PEIEFXVU.js +81 -0
  265. package/dist/snp-G55JGINX.js +33 -0
  266. package/dist/snp.unit.spec-47CCZKJO.js +171 -0
  267. package/dist/snplocus-TRVAEAPF.js +203 -0
  268. package/dist/spliceevent.a53ss.diagram-FL2R6F22.js +146 -0
  269. package/dist/spliceevent.exonskip.diagram-XDZWTJXR.js +278 -0
  270. package/dist/spliceevent.noeventdiagram-L322N534.js +455 -0
  271. package/dist/ssGSEA-DZY4LFQY.js +33 -0
  272. package/dist/ssGSEA.unit.spec-P6C3VTVZ.js +83 -0
  273. package/dist/stattable-R7O6OIMB.js +117 -0
  274. package/dist/studyCatalog-OMDE4JRD.js +414 -0
  275. package/dist/summarizeCnvGeneexp-A7HW6FJI.js +158 -0
  276. package/dist/summarizeGeneexpSurvival-ODI4HGFH.js +105 -0
  277. package/dist/summarizeMutationCnv-C2YB73OL.js +159 -0
  278. package/dist/summarizeMutationDiagnosis-4Y322NYU.js +35 -0
  279. package/dist/summarizeMutationSurvival-7IHNURLC.js +99 -0
  280. package/dist/summary-E4L5MZTF.js +44 -0
  281. package/dist/summary.integration.spec-SDCGE6BQ.js +409 -0
  282. package/dist/summaryInput-DHIMU5DM.js +242 -0
  283. package/dist/sunburst-ULNPFEAM.js +278 -0
  284. package/dist/survival-CU4N5KZO.js +53 -0
  285. package/dist/survival-KWWH6REE.js +1248 -0
  286. package/dist/survival.integration.spec-UW6SYVLP.js +613 -0
  287. package/dist/svgraph-HFI6NNF3.js +1382 -0
  288. package/dist/svmr-VHS7Z4SO.js +3837 -0
  289. package/dist/table-GJUXHKQI.js +197 -0
  290. package/dist/termCollection-CCZ4BFIU.js +33 -0
  291. package/dist/termCollection-O5CQ472U.js +252 -0
  292. package/dist/termCollection.unit.spec-KR5G6JFU.js +299 -0
  293. package/dist/termCollectionFractionSelection-IKU5MFBT.js +42 -0
  294. package/dist/termCollectionFractionSelection.unit.spec-6ZWHNGES.js +188 -0
  295. package/dist/tk-3DLMAFW7.js +41 -0
  296. package/dist/tk-CAYWF7LX.js +1121 -0
  297. package/dist/tp.ui-NF5ZYOHW.js +1454 -0
  298. package/dist/tvs.dt-43A4SSLG.js +34 -0
  299. package/dist/tvs.dtcnv.categorical-DYXHUNP2.js +35 -0
  300. package/dist/tvs.dtcnv.continuous-NOKNP4UG.js +67 -0
  301. package/dist/tvs.dtfusion-4NAOCC2X.js +35 -0
  302. package/dist/tvs.dtitd-SZC6EITI.js +35 -0
  303. package/dist/tvs.dtsnvindel-EYSBCNQK.js +35 -0
  304. package/dist/tvs.dtsv-VSPWIIFO.js +35 -0
  305. package/dist/tvs.samplelst-3YQ4GKNG.js +98 -0
  306. package/dist/tvs.termCollection-EVM4ATPW.js +124 -0
  307. package/dist/vocabulary-HCPEIO2P.js +36 -0
  308. package/dist/wsi.direct-K2J6GGWY.js +8343 -0
  309. package/package.json +3 -3
  310. package/dist/2dmaf-43QBND66.js +0 -1367
  311. package/dist/AggMatrixInput-X7NGFUHH.js +0 -406
  312. package/dist/AggregateMatrix-M4HRI4PX.js +0 -41
  313. package/dist/AppHeader-QBRQN6PM.js +0 -830
  314. package/dist/BoxPlot-V6SPSEQ2.js +0 -1211
  315. package/dist/CorrelationVolcano-UFPCYC77.js +0 -617
  316. package/dist/Cuminc-KXGXGLKZ.js +0 -1219
  317. package/dist/DE-K2YXHOOW.js +0 -89
  318. package/dist/DEinput-O6LBFAAH.js +0 -501
  319. package/dist/DM-C7VN3RWB.js +0 -90
  320. package/dist/DifferentialAnalysis-A2BU4WB3.js +0 -239
  321. package/dist/Disco-HECQVKXG.js +0 -3389
  322. package/dist/Disco.UI-XF2GEKRW.js +0 -243
  323. package/dist/DmrPlot-TVXVXOHL.js +0 -362
  324. package/dist/GB-66ZGJ5ST.js +0 -1428
  325. package/dist/GB-66ZGJ5ST.js.map +0 -7
  326. package/dist/GSEA-Z4YPI4HY.js +0 -875
  327. package/dist/GeneExpInput-VBIZZV27.js +0 -42
  328. package/dist/Geomap-UIIOLRFA.js +0 -84
  329. package/dist/HicApp-73ESVNBA.js +0 -2245
  330. package/dist/IDCViewer-RBYN5A4P.js +0 -10812
  331. package/dist/NumBinaryEditor-DJLSNSLE.js +0 -279
  332. package/dist/NumBinaryEditor.unit.spec-LCJHL3XM.js +0 -312
  333. package/dist/NumContEditor-SVLDJ2ML.js +0 -105
  334. package/dist/NumContEditor.unit.spec-JDMSK4HY.js +0 -164
  335. package/dist/NumCustomBinEditor-BI63AH3R.js +0 -33
  336. package/dist/NumCustomBinEditor.unit.spec-5433G7Y2.js +0 -397
  337. package/dist/NumDiscreteEditor-LEZTGXAV.js +0 -170
  338. package/dist/NumDiscreteEditor.unit.spec-5OEORHJ4.js +0 -233
  339. package/dist/NumRegularBinEditor-EXWHIWPM.js +0 -33
  340. package/dist/NumRegularBinEditor.unit.spec-QY25Z2TT.js +0 -278
  341. package/dist/NumSplineEditor-XPPMYYAD.js +0 -210
  342. package/dist/NumSplineEditor.unit.spec-GOGBKWMN.js +0 -224
  343. package/dist/NumericDensity-RKY2IQ72.js +0 -33
  344. package/dist/NumericDensity.unit.spec-5ZM6ICXM.js +0 -418
  345. package/dist/NumericHandler-FXF3M5M3.js +0 -34
  346. package/dist/NumericHandler.unit.spec-M2OQTBJX.js +0 -214
  347. package/dist/ProteomeInput-TMZ3THRL.js +0 -388
  348. package/dist/Regression-GQGAATHG.js +0 -1416
  349. package/dist/RunChart2-7GNDWRKC.js +0 -749
  350. package/dist/SC-R2I2EMHA.js +0 -1183
  351. package/dist/Violin-GKKEB55L.js +0 -1081
  352. package/dist/Volcano-HRG5EFWH.js +0 -2443
  353. package/dist/Volcano-HRG5EFWH.js.map +0 -7
  354. package/dist/Wsi-OHRCGYYD.js +0 -629
  355. package/dist/adSandbox-H56B25WR.js +0 -33
  356. package/dist/animatedBubbleChart-7SXFHU4J.js +0 -547
  357. package/dist/app-22JCSULA.js +0 -42
  358. package/dist/app-RGZJB6LN.js +0 -32
  359. package/dist/bam-HA65TRGX.js +0 -876
  360. package/dist/barchart-6XO75OMA.js +0 -42
  361. package/dist/barchart2-6E5BIRHD.js +0 -309
  362. package/dist/block-43KNTXZ5.js +0 -6250
  363. package/dist/block.init-TPU5QIPA.js +0 -33
  364. package/dist/block.mds.expressionrank-QZDRFXCH.js +0 -354
  365. package/dist/block.mds.geneboxplot-64QVBK5Q.js +0 -823
  366. package/dist/block.mds.junction-I4J6VXNT.js +0 -1539
  367. package/dist/block.mds.svcnv-GDQMSQFF.js +0 -6796
  368. package/dist/block.svg-2MZFT5QP.js +0 -159
  369. package/dist/block.tk.aicheck-2MKHF6LX.js +0 -278
  370. package/dist/block.tk.ase-CLYGKFTS.js +0 -360
  371. package/dist/block.tk.bam-XTR4QA5Z.js +0 -1901
  372. package/dist/block.tk.bedgraphdot-A2P2CXRU.js +0 -379
  373. package/dist/block.tk.bigwig.ui-YZH6JXEO.js +0 -206
  374. package/dist/block.tk.hicstraw-QBK5VWGU.js +0 -818
  375. package/dist/block.tk.junction-5DEVBA7G.js +0 -2358
  376. package/dist/block.tk.junction.textmatrixui-7TTQMO6W.js +0 -194
  377. package/dist/block.tk.ld-PRIVUPKL.js +0 -94
  378. package/dist/block.tk.menu-JGBRFSS3.js +0 -1024
  379. package/dist/block.tk.pgv-KQJCJMVD.js +0 -938
  380. package/dist/brainImaging-4SLVJ2HV.js +0 -555
  381. package/dist/brainRegions-BDIVM2SG.js +0 -217
  382. package/dist/bubbleHeatmap-ORKFJNEQ.js +0 -378
  383. package/dist/cellTypeBubbleHeatmap-VOHLI4P7.js +0 -278
  384. package/dist/chunk-26N3B2JO.js +0 -194
  385. package/dist/chunk-2HNJF5ZI.js +0 -240
  386. package/dist/chunk-2LNGHIOC.js +0 -281
  387. package/dist/chunk-3FEP6B5T.js +0 -119
  388. package/dist/chunk-3SCQGODD.js +0 -274
  389. package/dist/chunk-47STLK7K.js +0 -518
  390. package/dist/chunk-4G73CMUL.js +0 -38
  391. package/dist/chunk-4XYQG3XU.js +0 -276
  392. package/dist/chunk-53XNEXR6.js +0 -34
  393. package/dist/chunk-55FABQU2.js +0 -24955
  394. package/dist/chunk-55FABQU2.js.map +0 -7
  395. package/dist/chunk-5UB5H7A3.js +0 -123
  396. package/dist/chunk-6FYQYTV6.js +0 -141
  397. package/dist/chunk-6RP6CR4Q.js +0 -182
  398. package/dist/chunk-A5D37SIL.js +0 -103
  399. package/dist/chunk-ADRFQ5AL.js +0 -102
  400. package/dist/chunk-AUZ63NKJ.js +0 -70
  401. package/dist/chunk-B563DUNQ.js +0 -217
  402. package/dist/chunk-BK6UDL7F.js +0 -339
  403. package/dist/chunk-CFZ2ZW3E.js +0 -382
  404. package/dist/chunk-CKOU3P27.js +0 -26
  405. package/dist/chunk-CT4IG5IR.js +0 -339
  406. package/dist/chunk-D6UBH77N.js +0 -1731
  407. package/dist/chunk-DS4GLMJL.js +0 -170
  408. package/dist/chunk-DSBRHWZ7.js +0 -2853
  409. package/dist/chunk-DX35MKPR.js +0 -272
  410. package/dist/chunk-EDZJ3VNZ.js +0 -54
  411. package/dist/chunk-F47A4CVK.js +0 -1339
  412. package/dist/chunk-FSLOUTTK.js +0 -37
  413. package/dist/chunk-G4H34RNK.js +0 -446
  414. package/dist/chunk-G7RUMSHL.js +0 -263
  415. package/dist/chunk-GXFS25SK.js +0 -480
  416. package/dist/chunk-I25LKYC4.js +0 -379
  417. package/dist/chunk-IBT6WRY6.js +0 -692
  418. package/dist/chunk-IJ7AIDEO.js +0 -302
  419. package/dist/chunk-JBFVJHZN.js +0 -1233
  420. package/dist/chunk-JDVBUIEU.js +0 -56
  421. package/dist/chunk-JTANDSTD.js +0 -54
  422. package/dist/chunk-K7RW5TPU.js +0 -4375
  423. package/dist/chunk-KIAMLQ7S.js +0 -424
  424. package/dist/chunk-LBCIXRI2.js +0 -49
  425. package/dist/chunk-MNXL2UV5.js +0 -98
  426. package/dist/chunk-NDOKW2HJ.js +0 -31
  427. package/dist/chunk-NI5CVN43.js +0 -203
  428. package/dist/chunk-NOBXDQDU.js +0 -397
  429. package/dist/chunk-NQNVLZOA.js +0 -6360
  430. package/dist/chunk-NULFGPE3.js +0 -158
  431. package/dist/chunk-OUIXGM3K.js +0 -299
  432. package/dist/chunk-P4LGA36F.js +0 -14
  433. package/dist/chunk-PU5FQWAY.js +0 -55
  434. package/dist/chunk-PZ2OSHBF.js +0 -56
  435. package/dist/chunk-QBNDPW7O.js +0 -5071
  436. package/dist/chunk-QD75Q5LM.js +0 -59
  437. package/dist/chunk-R5PKBL7V.js +0 -80
  438. package/dist/chunk-RFSOP75Z.js +0 -1988
  439. package/dist/chunk-RI65SIN3.js +0 -626
  440. package/dist/chunk-RPGLLO4T.js +0 -2676
  441. package/dist/chunk-RXNZK7MF.js +0 -134
  442. package/dist/chunk-S2ICJ3RZ.js +0 -550
  443. package/dist/chunk-SB36AUG7.js +0 -1614
  444. package/dist/chunk-SB36AUG7.js.map +0 -7
  445. package/dist/chunk-SFHG6H2D.js +0 -129
  446. package/dist/chunk-TQ2DVEQO.js +0 -783
  447. package/dist/chunk-U6BJ4ZNU.js +0 -176
  448. package/dist/chunk-UXD6G6G4.js +0 -178
  449. package/dist/chunk-VA57CUC7.js +0 -2146
  450. package/dist/chunk-VH5W6ODW.js +0 -294
  451. package/dist/chunk-VROF55EH.js +0 -255
  452. package/dist/chunk-VWA7BYSV.js +0 -217
  453. package/dist/chunk-X37BRSGS.js +0 -102
  454. package/dist/chunk-XQYDXA47.js +0 -562
  455. package/dist/chunk-XXPUZVS4.js +0 -237
  456. package/dist/chunk-Y7V5AIUH.js +0 -468
  457. package/dist/chunk-YBNIOGUE.js +0 -243
  458. package/dist/chunk-YEYMNF7V.js +0 -2327
  459. package/dist/chunk-YJ74QATP.js +0 -1278
  460. package/dist/chunk-ZG2HCGAO.js +0 -2784
  461. package/dist/chunk-ZZN7ZD7J.js +0 -54
  462. package/dist/cohort-6OCRQQ2S.js +0 -70
  463. package/dist/condition-SZVXH3VU.js +0 -327
  464. package/dist/controls-MO6ZND76.js +0 -34
  465. package/dist/controls.config-P4MSTGL4.js +0 -34
  466. package/dist/correlation-NMI3CM3T.js +0 -95
  467. package/dist/customdata.inputui-VCHSCA65.js +0 -284
  468. package/dist/dataDownload-VQHOTQ5D.js +0 -329
  469. package/dist/databrowser.ui-ZFOCAG32.js +0 -425
  470. package/dist/dictionary-S5YCFUWH.js +0 -113
  471. package/dist/dnaMethylation-MQZLZRGT.js +0 -33
  472. package/dist/dnaMethylation.integration.spec-H546EBUO.js +0 -198
  473. package/dist/dofetch-QZIYSC7H.js +0 -48
  474. package/dist/e2pca-XOXOS3PN.js +0 -344
  475. package/dist/ep-U6KRL7FR.js +0 -1249
  476. package/dist/expclust.gdc.spec-HCK65C63.js +0 -302
  477. package/dist/facet-DCC25KJO.js +0 -519
  478. package/dist/gb-TIFWFD4Y.js +0 -81
  479. package/dist/geneExpClustering-6DQEOTOY.js +0 -244
  480. package/dist/geneExpression-EASRAN6B.js +0 -310
  481. package/dist/geneExpression-G4YMDCBH.js +0 -33
  482. package/dist/geneExpression.unit.spec-XVEJYMPX.js +0 -128
  483. package/dist/geneORA-6UBS5GSC.js +0 -273
  484. package/dist/geneRanking-UXXYWHNB.js +0 -548
  485. package/dist/geneVariant-SZRJOXVC.js +0 -289
  486. package/dist/geneVariant-TKFKARZK.js +0 -36
  487. package/dist/geneVariant.integration.spec-PXMAYJN3.js +0 -503
  488. package/dist/genefusion.ui-TJLYXSVL.js +0 -303
  489. package/dist/geneset-YTBDLEIH.js +0 -203
  490. package/dist/genomeBrowser.spec-ZO4LFIXE.js +0 -276
  491. package/dist/grin2-FC4VYU54.js +0 -949
  492. package/dist/grin2-LIFKBMVK.js +0 -70
  493. package/dist/hierCluster-56EGAPOR.js +0 -59
  494. package/dist/hierCluster-DR5NWCXA.js +0 -55
  495. package/dist/hierCluster.config-NACE3FH2.js +0 -36
  496. package/dist/hierCluster.integration.spec-PEEXPAS6.js +0 -483
  497. package/dist/hierCluster.interactivity-OCBGLUJM.js +0 -49
  498. package/dist/hierCluster.renderers-JNQUSAP4.js +0 -19
  499. package/dist/imagePlot-GR4JNUGG.js +0 -156
  500. package/dist/importPlot-4R4BSPVD.js +0 -8
  501. package/dist/isoformExpression-ST5ZW2NE.js +0 -35
  502. package/dist/isoformExpression.unit.spec-PPFC5Z7N.js +0 -237
  503. package/dist/junction-7AKZHOHV.js +0 -36
  504. package/dist/junction.customTerm-TMV43R7Z.js +0 -16
  505. package/dist/junction.unit.spec-SZUJXRQ2.js +0 -182
  506. package/dist/launch.adhoc-RWJQUOJ6.js +0 -37
  507. package/dist/leftlabel.sample-WRHLVQAQ.js +0 -258
  508. package/dist/lollipop-ZZWXTM23.js +0 -166
  509. package/dist/maf-N4XPZTQU.js +0 -455
  510. package/dist/maftimeline-2FBS6RWS.js +0 -587
  511. package/dist/matrix-5KEQPB5H.js +0 -59
  512. package/dist/matrix-RJUNXB5N.js +0 -54
  513. package/dist/matrix.cells-WXTPOJYB.js +0 -26
  514. package/dist/matrix.config-ZZFLLD6Z.js +0 -37
  515. package/dist/matrix.data-3PQ73GVJ.js +0 -23
  516. package/dist/matrix.groups-U6CKS6WW.js +0 -26
  517. package/dist/matrix.integration.spec-T53PMVHC.js +0 -3160
  518. package/dist/matrix.interactivity-3LDZV3F7.js +0 -37
  519. package/dist/matrix.layout-MINLYQCA.js +0 -39
  520. package/dist/matrix.legend-6GSDFZHS.js +0 -20
  521. package/dist/matrix.renderers-5BKOXDE3.js +0 -34
  522. package/dist/matrix.serieses-6FCFIFAQ.js +0 -19
  523. package/dist/matrix.sort-EHVVYDZ3.js +0 -26
  524. package/dist/matrix.sort.unit.spec-BCWE4AFX.js +0 -468
  525. package/dist/matrix.sorterUi-WL5I6S3K.js +0 -16
  526. package/dist/matrix.sorterUi.unit.spec-XJR5KXRL.js +0 -338
  527. package/dist/matrix.unit.spec-TUCKPE26.js +0 -150
  528. package/dist/mavb-GWSNRBLM.js +0 -727
  529. package/dist/mds.fimo-OMAQRSMW.js +0 -513
  530. package/dist/mds.samplescatterplot-4UW3CC45.js +0 -1545
  531. package/dist/mds.survivalplot-2CJYJBD2.js +0 -477
  532. package/dist/multivalue-G44MHEYI.js +0 -83
  533. package/dist/numericDictTermCluster-5BDRGVQG.js +0 -63
  534. package/dist/oncomatrix-ZTVO23ZH.js +0 -290
  535. package/dist/oncomatrix.spec-2QVK2A3Q.js +0 -443
  536. package/dist/plot.2dvaf-CL5YUXKH.js +0 -372
  537. package/dist/plot.app-4ANKPSNP.js +0 -36
  538. package/dist/plot.barplot-BMGDNZRA.js +0 -97
  539. package/dist/plot.boxplot-GMLQCDP6.js +0 -146
  540. package/dist/plot.brainImaging-RZXX3NUZ.js +0 -51
  541. package/dist/plot.disco-3MD4J4C7.js +0 -99
  542. package/dist/plot.ssgq-ZC4UYKOT.js +0 -134
  543. package/dist/plot.vaf2cov-4DHFMYQV.js +0 -253
  544. package/dist/polar2-TMB5EITR.js +0 -232
  545. package/dist/profileForms-GD7BIOOD.js +0 -941
  546. package/dist/profilePlot-CZLK5E74.js +0 -49
  547. package/dist/proteinView-FEEEXLKT.js +0 -1357
  548. package/dist/proteomeCohortCompare-NVLJ2FXX.js +0 -912
  549. package/dist/pseudbulk.unit.spec-GHQZPNAH.js +0 -86
  550. package/dist/pseudobulk-G5UQIRKL.js +0 -35
  551. package/dist/qualitative-EAUUCKU5.js +0 -38
  552. package/dist/radar2-CJQ2L6KE.js +0 -327
  553. package/dist/radarFacility2-BLVRZE4V.js +0 -335
  554. package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +0 -211
  555. package/dist/render-KKAQPH6Y.js +0 -33
  556. package/dist/report-OSOJHTSD.js +0 -217
  557. package/dist/sampleView-WB74RLD7.js +0 -43
  558. package/dist/samplelst-ZKXV5WOD.js +0 -106
  559. package/dist/samplematrix-WJFYMWLT.js +0 -2193
  560. package/dist/sc-RBRBUCLR.js +0 -81
  561. package/dist/scatter-5K3QTIDK.js +0 -88
  562. package/dist/scatter-SM7GQENM.js +0 -925
  563. package/dist/selectGenomeWithTklst-ZZUJ7AQ7.js +0 -129
  564. package/dist/singleCellCellType-LCF2JNZ2.js +0 -33
  565. package/dist/singleCellCellType.unit.spec-T6DYH4BC.js +0 -154
  566. package/dist/singleCellGeneExpression-2XUYTH4C.js +0 -33
  567. package/dist/singleCellGeneExpression.unit.spec-SMRCLOF4.js +0 -148
  568. package/dist/singleCellNumericValue-57I33FZT.js +0 -33
  569. package/dist/singleCellNumericValue.unit.spec-4YNB4OEV.js +0 -416
  570. package/dist/singleCellPlot-L6TKQHGD.js +0 -48
  571. package/dist/singlecell-LZKR3UDV.js +0 -81
  572. package/dist/singlecell-UKN2VCXQ.js +0 -1566
  573. package/dist/snp-3LJITU5B.js +0 -33
  574. package/dist/snp.unit.spec-ZQNU6XRM.js +0 -171
  575. package/dist/snplocus-OME7UQBW.js +0 -203
  576. package/dist/spliceevent.a53ss.diagram-C32IEFMU.js +0 -146
  577. package/dist/spliceevent.exonskip.diagram-CZ7MVRLK.js +0 -278
  578. package/dist/spliceevent.noeventdiagram-ZO6R3776.js +0 -455
  579. package/dist/ssGSEA-BGPQ2PFY.js +0 -33
  580. package/dist/ssGSEA.unit.spec-U7TBUSSK.js +0 -83
  581. package/dist/stattable-FISGQCED.js +0 -117
  582. package/dist/studyCatalog-UHFUT2CJ.js +0 -414
  583. package/dist/summarizeCnvGeneexp-OVZO6KIB.js +0 -158
  584. package/dist/summarizeGeneexpSurvival-KVQ4JGWK.js +0 -105
  585. package/dist/summarizeMutationCnv-RAKGHNLE.js +0 -159
  586. package/dist/summarizeMutationDiagnosis-LGCINAGG.js +0 -35
  587. package/dist/summarizeMutationSurvival-J7H7L4FX.js +0 -99
  588. package/dist/summary-2632JZXH.js +0 -44
  589. package/dist/summary.integration.spec-5WBS2ZRP.js +0 -409
  590. package/dist/summaryInput-BH6C3ATV.js +0 -242
  591. package/dist/sunburst-AMRR2IHM.js +0 -278
  592. package/dist/survival-2RNJQVFS.js +0 -1248
  593. package/dist/survival-WYCH4QOQ.js +0 -53
  594. package/dist/survival.integration.spec-7IFPY4I4.js +0 -613
  595. package/dist/svgraph-YQWS52ZJ.js +0 -1382
  596. package/dist/svmr-NRN6LGKK.js +0 -3837
  597. package/dist/table-3QOMV2NN.js +0 -197
  598. package/dist/termCollection-2ZJ7TJGO.js +0 -33
  599. package/dist/termCollection-3MCVR7BA.js +0 -252
  600. package/dist/termCollection.unit.spec-QYOEA3X6.js +0 -299
  601. package/dist/termCollectionFractionSelection-5AH6EF4L.js +0 -42
  602. package/dist/termCollectionFractionSelection.unit.spec-WPGW4WJN.js +0 -188
  603. package/dist/tk-DQ7D5UEO.js +0 -41
  604. package/dist/tk-ONKYBG6R.js +0 -1121
  605. package/dist/tp.ui-C7BTMHEI.js +0 -1454
  606. package/dist/tvs.dt-PLRMK7OT.js +0 -34
  607. package/dist/tvs.dtcnv.categorical-IZUY2AQO.js +0 -35
  608. package/dist/tvs.dtcnv.continuous-ENV3RHHA.js +0 -67
  609. package/dist/tvs.dtfusion-2DVCV6AM.js +0 -35
  610. package/dist/tvs.dtitd-XNDIRQYU.js +0 -35
  611. package/dist/tvs.dtsnvindel-4D3G7XSF.js +0 -35
  612. package/dist/tvs.dtsv-QYMIMC4Z.js +0 -35
  613. package/dist/tvs.samplelst-2KEU2ZWB.js +0 -98
  614. package/dist/tvs.termCollection-FEY746V5.js +0 -124
  615. package/dist/vocabulary-BR4NJDPS.js +0 -36
  616. package/dist/wsi.direct-JWDUNHIO.js +0 -8343
  617. /package/dist/{2dmaf-43QBND66.js.map → 2dmaf-7VZ536T5.js.map} +0 -0
  618. /package/dist/{AggMatrixInput-X7NGFUHH.js.map → AggMatrixInput-UTUOXTGA.js.map} +0 -0
  619. /package/dist/{AggregateMatrix-M4HRI4PX.js.map → AggregateMatrix-X75HUZYO.js.map} +0 -0
  620. /package/dist/{AppHeader-QBRQN6PM.js.map → AppHeader-X2DR6VSM.js.map} +0 -0
  621. /package/dist/{BoxPlot-V6SPSEQ2.js.map → BoxPlot-NQMPJICU.js.map} +0 -0
  622. /package/dist/{CorrelationVolcano-UFPCYC77.js.map → CorrelationVolcano-IDBUJH2E.js.map} +0 -0
  623. /package/dist/{Cuminc-KXGXGLKZ.js.map → Cuminc-BYFIMOLO.js.map} +0 -0
  624. /package/dist/{DE-K2YXHOOW.js.map → DE-BI7DHHW4.js.map} +0 -0
  625. /package/dist/{DEinput-O6LBFAAH.js.map → DEinput-W66CT4U2.js.map} +0 -0
  626. /package/dist/{DM-C7VN3RWB.js.map → DM-62TEJA3C.js.map} +0 -0
  627. /package/dist/{DifferentialAnalysis-A2BU4WB3.js.map → DifferentialAnalysis-PRTA6CYW.js.map} +0 -0
  628. /package/dist/{Disco-HECQVKXG.js.map → Disco-4JQP3FRW.js.map} +0 -0
  629. /package/dist/{Disco.UI-XF2GEKRW.js.map → Disco.UI-6RHAA5KU.js.map} +0 -0
  630. /package/dist/{DmrPlot-TVXVXOHL.js.map → DmrPlot-VYQYMTQ7.js.map} +0 -0
  631. /package/dist/{GSEA-Z4YPI4HY.js.map → GSEA-DT3SYXOZ.js.map} +0 -0
  632. /package/dist/{GeneExpInput-VBIZZV27.js.map → GeneExpInput-UILWAGRH.js.map} +0 -0
  633. /package/dist/{Geomap-UIIOLRFA.js.map → Geomap-AFKEGMR5.js.map} +0 -0
  634. /package/dist/{HicApp-73ESVNBA.js.map → HicApp-APDL5POY.js.map} +0 -0
  635. /package/dist/{IDCViewer-RBYN5A4P.js.map → IDCViewer-DQXAORHT.js.map} +0 -0
  636. /package/dist/{NumBinaryEditor-DJLSNSLE.js.map → NumBinaryEditor-OUVIOEH7.js.map} +0 -0
  637. /package/dist/{NumBinaryEditor.unit.spec-LCJHL3XM.js.map → NumBinaryEditor.unit.spec-VBX2X4CT.js.map} +0 -0
  638. /package/dist/{NumContEditor-SVLDJ2ML.js.map → NumContEditor-JVPRBZPW.js.map} +0 -0
  639. /package/dist/{NumContEditor.unit.spec-JDMSK4HY.js.map → NumContEditor.unit.spec-EQNB6RMI.js.map} +0 -0
  640. /package/dist/{NumCustomBinEditor-BI63AH3R.js.map → NumCustomBinEditor-E2SXZDF4.js.map} +0 -0
  641. /package/dist/{NumCustomBinEditor.unit.spec-5433G7Y2.js.map → NumCustomBinEditor.unit.spec-VLR7MGNL.js.map} +0 -0
  642. /package/dist/{NumDiscreteEditor-LEZTGXAV.js.map → NumDiscreteEditor-CUA55FU3.js.map} +0 -0
  643. /package/dist/{NumDiscreteEditor.unit.spec-5OEORHJ4.js.map → NumDiscreteEditor.unit.spec-7IPCMUDQ.js.map} +0 -0
  644. /package/dist/{NumRegularBinEditor-EXWHIWPM.js.map → NumRegularBinEditor-CWU7YBEP.js.map} +0 -0
  645. /package/dist/{NumRegularBinEditor.unit.spec-QY25Z2TT.js.map → NumRegularBinEditor.unit.spec-RGV3EUPC.js.map} +0 -0
  646. /package/dist/{NumSplineEditor-XPPMYYAD.js.map → NumSplineEditor-PC5X7AUJ.js.map} +0 -0
  647. /package/dist/{NumSplineEditor.unit.spec-GOGBKWMN.js.map → NumSplineEditor.unit.spec-QCR3RL5W.js.map} +0 -0
  648. /package/dist/{NumericDensity-RKY2IQ72.js.map → NumericDensity-CFUEE5ZN.js.map} +0 -0
  649. /package/dist/{NumericDensity.unit.spec-5ZM6ICXM.js.map → NumericDensity.unit.spec-JOCVEC32.js.map} +0 -0
  650. /package/dist/{NumericHandler-FXF3M5M3.js.map → NumericHandler-VL2Z55KF.js.map} +0 -0
  651. /package/dist/{NumericHandler.unit.spec-M2OQTBJX.js.map → NumericHandler.unit.spec-ULM5FSSA.js.map} +0 -0
  652. /package/dist/{ProteomeInput-TMZ3THRL.js.map → ProteomeInput-3WKTVCYT.js.map} +0 -0
  653. /package/dist/{Regression-GQGAATHG.js.map → Regression-M7AQTYXL.js.map} +0 -0
  654. /package/dist/{RunChart2-7GNDWRKC.js.map → RunChart2-54SVOXJR.js.map} +0 -0
  655. /package/dist/{SC-R2I2EMHA.js.map → SC-QRWDGHB2.js.map} +0 -0
  656. /package/dist/{Violin-GKKEB55L.js.map → Violin-2AD6QRJB.js.map} +0 -0
  657. /package/dist/{Wsi-OHRCGYYD.js.map → Wsi-U3U3EILE.js.map} +0 -0
  658. /package/dist/{adSandbox-H56B25WR.js.map → adSandbox-S3JP7XF3.js.map} +0 -0
  659. /package/dist/{animatedBubbleChart-7SXFHU4J.js.map → animatedBubbleChart-LZKNERIM.js.map} +0 -0
  660. /package/dist/{app-22JCSULA.js.map → app-2MERLGNJ.js.map} +0 -0
  661. /package/dist/{app-RGZJB6LN.js.map → app-ZNSUUOFJ.js.map} +0 -0
  662. /package/dist/{bam-HA65TRGX.js.map → bam-ESRPS4TQ.js.map} +0 -0
  663. /package/dist/{barchart-6XO75OMA.js.map → barchart-BPUEO4RK.js.map} +0 -0
  664. /package/dist/{barchart2-6E5BIRHD.js.map → barchart2-Z36PNSM2.js.map} +0 -0
  665. /package/dist/{block-43KNTXZ5.js.map → block-GEG4UUOU.js.map} +0 -0
  666. /package/dist/{block.init-TPU5QIPA.js.map → block.init-SB6OX35E.js.map} +0 -0
  667. /package/dist/{block.mds.expressionrank-QZDRFXCH.js.map → block.mds.expressionrank-2JLMS334.js.map} +0 -0
  668. /package/dist/{block.mds.geneboxplot-64QVBK5Q.js.map → block.mds.geneboxplot-BZMGG6G3.js.map} +0 -0
  669. /package/dist/{block.mds.junction-I4J6VXNT.js.map → block.mds.junction-636PWE2O.js.map} +0 -0
  670. /package/dist/{block.mds.svcnv-GDQMSQFF.js.map → block.mds.svcnv-S4L2HMZW.js.map} +0 -0
  671. /package/dist/{block.svg-2MZFT5QP.js.map → block.svg-A7EABUXG.js.map} +0 -0
  672. /package/dist/{block.tk.aicheck-2MKHF6LX.js.map → block.tk.aicheck-KNFJVUTW.js.map} +0 -0
  673. /package/dist/{block.tk.ase-CLYGKFTS.js.map → block.tk.ase-BPU25OLX.js.map} +0 -0
  674. /package/dist/{block.tk.bam-XTR4QA5Z.js.map → block.tk.bam-VC4CZCUS.js.map} +0 -0
  675. /package/dist/{block.tk.bedgraphdot-A2P2CXRU.js.map → block.tk.bedgraphdot-FQS4Z4RC.js.map} +0 -0
  676. /package/dist/{block.tk.bigwig.ui-YZH6JXEO.js.map → block.tk.bigwig.ui-7STXSD3X.js.map} +0 -0
  677. /package/dist/{block.tk.hicstraw-QBK5VWGU.js.map → block.tk.hicstraw-CVDCOMPP.js.map} +0 -0
  678. /package/dist/{block.tk.junction-5DEVBA7G.js.map → block.tk.junction-PG4RZFH3.js.map} +0 -0
  679. /package/dist/{block.tk.junction.textmatrixui-7TTQMO6W.js.map → block.tk.junction.textmatrixui-JRW4ZJIK.js.map} +0 -0
  680. /package/dist/{block.tk.ld-PRIVUPKL.js.map → block.tk.ld-DLDP2NHJ.js.map} +0 -0
  681. /package/dist/{block.tk.menu-JGBRFSS3.js.map → block.tk.menu-PWGFMKBQ.js.map} +0 -0
  682. /package/dist/{block.tk.pgv-KQJCJMVD.js.map → block.tk.pgv-HOBOXQIN.js.map} +0 -0
  683. /package/dist/{brainImaging-4SLVJ2HV.js.map → brainImaging-GUQTOHQF.js.map} +0 -0
  684. /package/dist/{brainRegions-BDIVM2SG.js.map → brainRegions-JWBIBCTG.js.map} +0 -0
  685. /package/dist/{bubbleHeatmap-ORKFJNEQ.js.map → bubbleHeatmap-EUO3DUVT.js.map} +0 -0
  686. /package/dist/{cellTypeBubbleHeatmap-VOHLI4P7.js.map → cellTypeBubbleHeatmap-TIBGPZTB.js.map} +0 -0
  687. /package/dist/{chunk-U6BJ4ZNU.js.map → chunk-3CGAABHZ.js.map} +0 -0
  688. /package/dist/{chunk-CKOU3P27.js.map → chunk-3ELYMSGO.js.map} +0 -0
  689. /package/dist/{chunk-DSBRHWZ7.js.map → chunk-3QL3U6FU.js.map} +0 -0
  690. /package/dist/{chunk-BK6UDL7F.js.map → chunk-3TV5WWUN.js.map} +0 -0
  691. /package/dist/{chunk-KIAMLQ7S.js.map → chunk-4Y5W26UF.js.map} +0 -0
  692. /package/dist/{chunk-NQNVLZOA.js.map → chunk-5XE3WSUX.js.map} +0 -0
  693. /package/dist/{chunk-CFZ2ZW3E.js.map → chunk-665X7R7S.js.map} +0 -0
  694. /package/dist/{chunk-PU5FQWAY.js.map → chunk-6MQPXWOR.js.map} +0 -0
  695. /package/dist/{chunk-P4LGA36F.js.map → chunk-7DSL65G7.js.map} +0 -0
  696. /package/dist/{chunk-RI65SIN3.js.map → chunk-A6F3CSXP.js.map} +0 -0
  697. /package/dist/{chunk-SFHG6H2D.js.map → chunk-AB6JQFIQ.js.map} +0 -0
  698. /package/dist/{chunk-2HNJF5ZI.js.map → chunk-ACOHIDWO.js.map} +0 -0
  699. /package/dist/{chunk-ADRFQ5AL.js.map → chunk-AIVPAC5Q.js.map} +0 -0
  700. /package/dist/{chunk-K7RW5TPU.js.map → chunk-AKKJFMW5.js.map} +0 -0
  701. /package/dist/{chunk-VROF55EH.js.map → chunk-AR2UIN77.js.map} +0 -0
  702. /package/dist/{chunk-JDVBUIEU.js.map → chunk-AXF6SVNQ.js.map} +0 -0
  703. /package/dist/{chunk-MNXL2UV5.js.map → chunk-BLYD6SQO.js.map} +0 -0
  704. /package/dist/{chunk-S2ICJ3RZ.js.map → chunk-BSWPONNA.js.map} +0 -0
  705. /package/dist/{chunk-OUIXGM3K.js.map → chunk-BX3P73XH.js.map} +0 -0
  706. /package/dist/{chunk-QBNDPW7O.js.map → chunk-CW35X5ZL.js.map} +0 -0
  707. /package/dist/{chunk-2LNGHIOC.js.map → chunk-D4XHYQNS.js.map} +0 -0
  708. /package/dist/{chunk-6FYQYTV6.js.map → chunk-DH74ZT37.js.map} +0 -0
  709. /package/dist/{chunk-6RP6CR4Q.js.map → chunk-E76UYIT2.js.map} +0 -0
  710. /package/dist/{chunk-26N3B2JO.js.map → chunk-EM6KUVI5.js.map} +0 -0
  711. /package/dist/{chunk-IJ7AIDEO.js.map → chunk-F4GYWCRF.js.map} +0 -0
  712. /package/dist/{chunk-QD75Q5LM.js.map → chunk-FJ3JD7B3.js.map} +0 -0
  713. /package/dist/{chunk-ZZN7ZD7J.js.map → chunk-FW3ME75U.js.map} +0 -0
  714. /package/dist/{chunk-TQ2DVEQO.js.map → chunk-G2X2PN74.js.map} +0 -0
  715. /package/dist/{chunk-RPGLLO4T.js.map → chunk-G3QKTYUT.js.map} +0 -0
  716. /package/dist/{chunk-PZ2OSHBF.js.map → chunk-G5USS6FI.js.map} +0 -0
  717. /package/dist/{chunk-NI5CVN43.js.map → chunk-GLPTPX45.js.map} +0 -0
  718. /package/dist/{chunk-CT4IG5IR.js.map → chunk-GPY6SBCX.js.map} +0 -0
  719. /package/dist/{chunk-D6UBH77N.js.map → chunk-GWHIKECP.js.map} +0 -0
  720. /package/dist/{chunk-G7RUMSHL.js.map → chunk-GWVVEOYX.js.map} +0 -0
  721. /package/dist/{chunk-I25LKYC4.js.map → chunk-HDV3LHCN.js.map} +0 -0
  722. /package/dist/{chunk-YEYMNF7V.js.map → chunk-HGXSYPU6.js.map} +0 -0
  723. /package/dist/{chunk-G4H34RNK.js.map → chunk-HMKEVTRM.js.map} +0 -0
  724. /package/dist/{chunk-JBFVJHZN.js.map → chunk-HPCKKXRK.js.map} +0 -0
  725. /package/dist/{chunk-NDOKW2HJ.js.map → chunk-J5JBHGRN.js.map} +0 -0
  726. /package/dist/{chunk-RFSOP75Z.js.map → chunk-JHOGTGIS.js.map} +0 -0
  727. /package/dist/{chunk-GXFS25SK.js.map → chunk-KCX54MGS.js.map} +0 -0
  728. /package/dist/{chunk-53XNEXR6.js.map → chunk-KVRSO2OZ.js.map} +0 -0
  729. /package/dist/{chunk-YBNIOGUE.js.map → chunk-M4PUW3ML.js.map} +0 -0
  730. /package/dist/{chunk-XQYDXA47.js.map → chunk-ME325OQC.js.map} +0 -0
  731. /package/dist/{chunk-Y7V5AIUH.js.map → chunk-NJWNKBRC.js.map} +0 -0
  732. /package/dist/{chunk-NOBXDQDU.js.map → chunk-O5FUHCNU.js.map} +0 -0
  733. /package/dist/{chunk-RXNZK7MF.js.map → chunk-ODHQPTHU.js.map} +0 -0
  734. /package/dist/{chunk-IBT6WRY6.js.map → chunk-PTQ4GQCS.js.map} +0 -0
  735. /package/dist/{chunk-AUZ63NKJ.js.map → chunk-PUSSP76H.js.map} +0 -0
  736. /package/dist/{chunk-JTANDSTD.js.map → chunk-Q3PAXUCU.js.map} +0 -0
  737. /package/dist/{chunk-R5PKBL7V.js.map → chunk-QWBKN2IC.js.map} +0 -0
  738. /package/dist/{chunk-LBCIXRI2.js.map → chunk-R4E7BXC6.js.map} +0 -0
  739. /package/dist/{chunk-3SCQGODD.js.map → chunk-SDYFM3UL.js.map} +0 -0
  740. /package/dist/{chunk-VWA7BYSV.js.map → chunk-SP6WCXY6.js.map} +0 -0
  741. /package/dist/{chunk-X37BRSGS.js.map → chunk-SRTZQOK7.js.map} +0 -0
  742. /package/dist/{chunk-UXD6G6G4.js.map → chunk-T4RYLTR3.js.map} +0 -0
  743. /package/dist/{chunk-EDZJ3VNZ.js.map → chunk-TANWA6SU.js.map} +0 -0
  744. /package/dist/{chunk-DS4GLMJL.js.map → chunk-TBIHBC5V.js.map} +0 -0
  745. /package/dist/{chunk-YJ74QATP.js.map → chunk-TGTCOCPF.js.map} +0 -0
  746. /package/dist/{chunk-VH5W6ODW.js.map → chunk-TOFOT2BN.js.map} +0 -0
  747. /package/dist/{chunk-B563DUNQ.js.map → chunk-UOYIPBTX.js.map} +0 -0
  748. /package/dist/{chunk-ZG2HCGAO.js.map → chunk-USULBM4V.js.map} +0 -0
  749. /package/dist/{chunk-5UB5H7A3.js.map → chunk-V3WSMWBF.js.map} +0 -0
  750. /package/dist/{chunk-VA57CUC7.js.map → chunk-VTHZGUSZ.js.map} +0 -0
  751. /package/dist/{chunk-A5D37SIL.js.map → chunk-WMQDFVJK.js.map} +0 -0
  752. /package/dist/{chunk-4G73CMUL.js.map → chunk-WTQQWFV4.js.map} +0 -0
  753. /package/dist/{chunk-4XYQG3XU.js.map → chunk-XDLKYVYU.js.map} +0 -0
  754. /package/dist/{chunk-FSLOUTTK.js.map → chunk-XNJN5J3U.js.map} +0 -0
  755. /package/dist/{chunk-NULFGPE3.js.map → chunk-XQLOEZ7T.js.map} +0 -0
  756. /package/dist/{chunk-3FEP6B5T.js.map → chunk-Y3SDMRDX.js.map} +0 -0
  757. /package/dist/{chunk-47STLK7K.js.map → chunk-Y5FE3G6J.js.map} +0 -0
  758. /package/dist/{chunk-XXPUZVS4.js.map → chunk-YMEWZVRG.js.map} +0 -0
  759. /package/dist/{chunk-F47A4CVK.js.map → chunk-YPHFEKWI.js.map} +0 -0
  760. /package/dist/{chunk-DX35MKPR.js.map → chunk-Z4HW3FEE.js.map} +0 -0
  761. /package/dist/{cohort-6OCRQQ2S.js.map → cohort-NYFUILFO.js.map} +0 -0
  762. /package/dist/{condition-SZVXH3VU.js.map → condition-6M4AVISY.js.map} +0 -0
  763. /package/dist/{controls-MO6ZND76.js.map → controls-LMTWS3SY.js.map} +0 -0
  764. /package/dist/{controls.config-P4MSTGL4.js.map → controls.config-4PK7HLFJ.js.map} +0 -0
  765. /package/dist/{correlation-NMI3CM3T.js.map → correlation-X6GB6ITK.js.map} +0 -0
  766. /package/dist/{customdata.inputui-VCHSCA65.js.map → customdata.inputui-MDG3BTTG.js.map} +0 -0
  767. /package/dist/{dataDownload-VQHOTQ5D.js.map → dataDownload-TFRI3VFM.js.map} +0 -0
  768. /package/dist/{databrowser.ui-ZFOCAG32.js.map → databrowser.ui-L2K7VVDW.js.map} +0 -0
  769. /package/dist/{dictionary-S5YCFUWH.js.map → dictionary-MS6R3VNY.js.map} +0 -0
  770. /package/dist/{dnaMethylation-MQZLZRGT.js.map → dnaMethylation-2KYSQWNE.js.map} +0 -0
  771. /package/dist/{dnaMethylation.integration.spec-H546EBUO.js.map → dnaMethylation.integration.spec-2BHNKOGN.js.map} +0 -0
  772. /package/dist/{dofetch-QZIYSC7H.js.map → dofetch-BETN7HEX.js.map} +0 -0
  773. /package/dist/{e2pca-XOXOS3PN.js.map → e2pca-QC2EI5JM.js.map} +0 -0
  774. /package/dist/{ep-U6KRL7FR.js.map → ep-BTRMR4OT.js.map} +0 -0
  775. /package/dist/{expclust.gdc.spec-HCK65C63.js.map → expclust.gdc.spec-C5ZMBCGO.js.map} +0 -0
  776. /package/dist/{facet-DCC25KJO.js.map → facet-LPXKLX53.js.map} +0 -0
  777. /package/dist/{gb-TIFWFD4Y.js.map → gb-PHJ2SM5D.js.map} +0 -0
  778. /package/dist/{geneExpClustering-6DQEOTOY.js.map → geneExpClustering-OXZJHEPD.js.map} +0 -0
  779. /package/dist/{geneExpression-EASRAN6B.js.map → geneExpression-54RGEGML.js.map} +0 -0
  780. /package/dist/{geneExpression-G4YMDCBH.js.map → geneExpression-FLBQXMSX.js.map} +0 -0
  781. /package/dist/{geneExpression.unit.spec-XVEJYMPX.js.map → geneExpression.unit.spec-ZCE7G6HI.js.map} +0 -0
  782. /package/dist/{geneORA-6UBS5GSC.js.map → geneORA-TELI5AFV.js.map} +0 -0
  783. /package/dist/{geneRanking-UXXYWHNB.js.map → geneRanking-7YZA5GNG.js.map} +0 -0
  784. /package/dist/{geneVariant-TKFKARZK.js.map → geneVariant-NJYUEY4C.js.map} +0 -0
  785. /package/dist/{geneVariant-SZRJOXVC.js.map → geneVariant-VKWTXUMK.js.map} +0 -0
  786. /package/dist/{geneVariant.integration.spec-PXMAYJN3.js.map → geneVariant.integration.spec-RWYP523U.js.map} +0 -0
  787. /package/dist/{genefusion.ui-TJLYXSVL.js.map → genefusion.ui-B6J7I3RA.js.map} +0 -0
  788. /package/dist/{geneset-YTBDLEIH.js.map → geneset-VG4SFYML.js.map} +0 -0
  789. /package/dist/{genomeBrowser.spec-ZO4LFIXE.js.map → genomeBrowser.spec-5IS5Y2NG.js.map} +0 -0
  790. /package/dist/{grin2-LIFKBMVK.js.map → grin2-3T6KRC34.js.map} +0 -0
  791. /package/dist/{grin2-FC4VYU54.js.map → grin2-FOOH736B.js.map} +0 -0
  792. /package/dist/{hierCluster-56EGAPOR.js.map → hierCluster-WLAFGZAT.js.map} +0 -0
  793. /package/dist/{hierCluster-DR5NWCXA.js.map → hierCluster-XBL2TOOL.js.map} +0 -0
  794. /package/dist/{hierCluster.config-NACE3FH2.js.map → hierCluster.config-VCBRBGDZ.js.map} +0 -0
  795. /package/dist/{hierCluster.integration.spec-PEEXPAS6.js.map → hierCluster.integration.spec-TNJD2QT6.js.map} +0 -0
  796. /package/dist/{hierCluster.interactivity-OCBGLUJM.js.map → hierCluster.interactivity-PEEJ3BRC.js.map} +0 -0
  797. /package/dist/{hierCluster.renderers-JNQUSAP4.js.map → hierCluster.renderers-7ESGKIGM.js.map} +0 -0
  798. /package/dist/{imagePlot-GR4JNUGG.js.map → imagePlot-LWL6JMKM.js.map} +0 -0
  799. /package/dist/{importPlot-4R4BSPVD.js.map → importPlot-CLBY6QZN.js.map} +0 -0
  800. /package/dist/{isoformExpression-ST5ZW2NE.js.map → isoformExpression-36P3BBN7.js.map} +0 -0
  801. /package/dist/{isoformExpression.unit.spec-PPFC5Z7N.js.map → isoformExpression.unit.spec-SF2SPTRC.js.map} +0 -0
  802. /package/dist/{junction-7AKZHOHV.js.map → junction-B7DSIG4E.js.map} +0 -0
  803. /package/dist/{junction.customTerm-TMV43R7Z.js.map → junction.customTerm-7VZS4JDE.js.map} +0 -0
  804. /package/dist/{junction.unit.spec-SZUJXRQ2.js.map → junction.unit.spec-4MWU36MR.js.map} +0 -0
  805. /package/dist/{launch.adhoc-RWJQUOJ6.js.map → launch.adhoc-3B34GV4S.js.map} +0 -0
  806. /package/dist/{leftlabel.sample-WRHLVQAQ.js.map → leftlabel.sample-6OM5H67E.js.map} +0 -0
  807. /package/dist/{lollipop-ZZWXTM23.js.map → lollipop-SL2F5G6K.js.map} +0 -0
  808. /package/dist/{maf-N4XPZTQU.js.map → maf-FRYGN5GR.js.map} +0 -0
  809. /package/dist/{maftimeline-2FBS6RWS.js.map → maftimeline-3UFWS73J.js.map} +0 -0
  810. /package/dist/{matrix-5KEQPB5H.js.map → matrix-DDKSOJ4C.js.map} +0 -0
  811. /package/dist/{matrix-RJUNXB5N.js.map → matrix-H2ZH2QKC.js.map} +0 -0
  812. /package/dist/{matrix.cells-WXTPOJYB.js.map → matrix.cells-JTMC35SK.js.map} +0 -0
  813. /package/dist/{matrix.config-ZZFLLD6Z.js.map → matrix.config-EUBXWEBS.js.map} +0 -0
  814. /package/dist/{matrix.data-3PQ73GVJ.js.map → matrix.data-CO5RBWY5.js.map} +0 -0
  815. /package/dist/{matrix.groups-U6CKS6WW.js.map → matrix.groups-AKOJ2W6U.js.map} +0 -0
  816. /package/dist/{matrix.integration.spec-T53PMVHC.js.map → matrix.integration.spec-66KNZO3S.js.map} +0 -0
  817. /package/dist/{matrix.interactivity-3LDZV3F7.js.map → matrix.interactivity-DY5YJIYB.js.map} +0 -0
  818. /package/dist/{matrix.layout-MINLYQCA.js.map → matrix.layout-MQQNHBI2.js.map} +0 -0
  819. /package/dist/{matrix.legend-6GSDFZHS.js.map → matrix.legend-CGU7T6GF.js.map} +0 -0
  820. /package/dist/{matrix.renderers-5BKOXDE3.js.map → matrix.renderers-HC7PJN4B.js.map} +0 -0
  821. /package/dist/{matrix.serieses-6FCFIFAQ.js.map → matrix.serieses-W4L6ZO37.js.map} +0 -0
  822. /package/dist/{matrix.sort-EHVVYDZ3.js.map → matrix.sort-T74DWFB2.js.map} +0 -0
  823. /package/dist/{matrix.sort.unit.spec-BCWE4AFX.js.map → matrix.sort.unit.spec-EQEHQXTO.js.map} +0 -0
  824. /package/dist/{matrix.sorterUi-WL5I6S3K.js.map → matrix.sorterUi-GFQG4HFV.js.map} +0 -0
  825. /package/dist/{matrix.sorterUi.unit.spec-XJR5KXRL.js.map → matrix.sorterUi.unit.spec-XQHFOEYE.js.map} +0 -0
  826. /package/dist/{matrix.unit.spec-TUCKPE26.js.map → matrix.unit.spec-4ZWUGZUC.js.map} +0 -0
  827. /package/dist/{mavb-GWSNRBLM.js.map → mavb-3CL5OHWB.js.map} +0 -0
  828. /package/dist/{mds.fimo-OMAQRSMW.js.map → mds.fimo-2RFJQKJM.js.map} +0 -0
  829. /package/dist/{mds.samplescatterplot-4UW3CC45.js.map → mds.samplescatterplot-X6CXMY4C.js.map} +0 -0
  830. /package/dist/{mds.survivalplot-2CJYJBD2.js.map → mds.survivalplot-57NIKSSH.js.map} +0 -0
  831. /package/dist/{multivalue-G44MHEYI.js.map → multivalue-3TUGYL4J.js.map} +0 -0
  832. /package/dist/{numericDictTermCluster-5BDRGVQG.js.map → numericDictTermCluster-RLX5CLTN.js.map} +0 -0
  833. /package/dist/{oncomatrix-ZTVO23ZH.js.map → oncomatrix-COK76MJN.js.map} +0 -0
  834. /package/dist/{oncomatrix.spec-2QVK2A3Q.js.map → oncomatrix.spec-SO3ZN5BF.js.map} +0 -0
  835. /package/dist/{plot.2dvaf-CL5YUXKH.js.map → plot.2dvaf-TETCE4VG.js.map} +0 -0
  836. /package/dist/{plot.app-4ANKPSNP.js.map → plot.app-5YUAVZA4.js.map} +0 -0
  837. /package/dist/{plot.barplot-BMGDNZRA.js.map → plot.barplot-JUGY5Z7A.js.map} +0 -0
  838. /package/dist/{plot.boxplot-GMLQCDP6.js.map → plot.boxplot-QZXICT7J.js.map} +0 -0
  839. /package/dist/{plot.brainImaging-RZXX3NUZ.js.map → plot.brainImaging-2F6E6QS4.js.map} +0 -0
  840. /package/dist/{plot.disco-3MD4J4C7.js.map → plot.disco-H4P4B6QS.js.map} +0 -0
  841. /package/dist/{plot.ssgq-ZC4UYKOT.js.map → plot.ssgq-LEQF3STZ.js.map} +0 -0
  842. /package/dist/{plot.vaf2cov-4DHFMYQV.js.map → plot.vaf2cov-UBMD2CN7.js.map} +0 -0
  843. /package/dist/{polar2-TMB5EITR.js.map → polar2-AVEZM2T5.js.map} +0 -0
  844. /package/dist/{profileForms-GD7BIOOD.js.map → profileForms-CUSUGTPC.js.map} +0 -0
  845. /package/dist/{profilePlot-CZLK5E74.js.map → profilePlot-67Z7AXQ4.js.map} +0 -0
  846. /package/dist/{proteinView-FEEEXLKT.js.map → proteinView-7K7VHGX3.js.map} +0 -0
  847. /package/dist/{proteomeCohortCompare-NVLJ2FXX.js.map → proteomeCohortCompare-MRGH6HHI.js.map} +0 -0
  848. /package/dist/{pseudbulk.unit.spec-GHQZPNAH.js.map → pseudbulk.unit.spec-ZHDL6GIM.js.map} +0 -0
  849. /package/dist/{pseudobulk-G5UQIRKL.js.map → pseudobulk-ZNXPF7QB.js.map} +0 -0
  850. /package/dist/{qualitative-EAUUCKU5.js.map → qualitative-QXMZHDWU.js.map} +0 -0
  851. /package/dist/{radar2-CJQ2L6KE.js.map → radar2-QJDGNLED.js.map} +0 -0
  852. /package/dist/{radarFacility2-BLVRZE4V.js.map → radarFacility2-LGGOOWX4.js.map} +0 -0
  853. /package/dist/{rememberedGvQ.unit.spec-DYRO2LO5.js.map → rememberedGvQ.unit.spec-YKUMMYFT.js.map} +0 -0
  854. /package/dist/{render-KKAQPH6Y.js.map → render-LSSRZJY3.js.map} +0 -0
  855. /package/dist/{report-OSOJHTSD.js.map → report-TTECPO44.js.map} +0 -0
  856. /package/dist/{sampleView-WB74RLD7.js.map → sampleView-EFS2UBRS.js.map} +0 -0
  857. /package/dist/{samplelst-ZKXV5WOD.js.map → samplelst-FXULLJBO.js.map} +0 -0
  858. /package/dist/{samplematrix-WJFYMWLT.js.map → samplematrix-MNFCXOWO.js.map} +0 -0
  859. /package/dist/{sc-RBRBUCLR.js.map → sc-2BUOXML2.js.map} +0 -0
  860. /package/dist/{scatter-SM7GQENM.js.map → scatter-AVRTALYY.js.map} +0 -0
  861. /package/dist/{scatter-5K3QTIDK.js.map → scatter-CPEIVL3K.js.map} +0 -0
  862. /package/dist/{selectGenomeWithTklst-ZZUJ7AQ7.js.map → selectGenomeWithTklst-3BG2ZPPN.js.map} +0 -0
  863. /package/dist/{singleCellCellType-LCF2JNZ2.js.map → singleCellCellType-QLAEBVN2.js.map} +0 -0
  864. /package/dist/{singleCellCellType.unit.spec-T6DYH4BC.js.map → singleCellCellType.unit.spec-P4NAWYKL.js.map} +0 -0
  865. /package/dist/{singleCellGeneExpression-2XUYTH4C.js.map → singleCellGeneExpression-IZ2PMDDL.js.map} +0 -0
  866. /package/dist/{singleCellGeneExpression.unit.spec-SMRCLOF4.js.map → singleCellGeneExpression.unit.spec-DKBZICJM.js.map} +0 -0
  867. /package/dist/{singleCellNumericValue-57I33FZT.js.map → singleCellNumericValue-NB3QFH7H.js.map} +0 -0
  868. /package/dist/{singleCellNumericValue.unit.spec-4YNB4OEV.js.map → singleCellNumericValue.unit.spec-ZKK2KWRQ.js.map} +0 -0
  869. /package/dist/{singleCellPlot-L6TKQHGD.js.map → singleCellPlot-ZU655L4Z.js.map} +0 -0
  870. /package/dist/{singlecell-UKN2VCXQ.js.map → singlecell-NKPTXVHW.js.map} +0 -0
  871. /package/dist/{singlecell-LZKR3UDV.js.map → singlecell-PEIEFXVU.js.map} +0 -0
  872. /package/dist/{snp-3LJITU5B.js.map → snp-G55JGINX.js.map} +0 -0
  873. /package/dist/{snp.unit.spec-ZQNU6XRM.js.map → snp.unit.spec-47CCZKJO.js.map} +0 -0
  874. /package/dist/{snplocus-OME7UQBW.js.map → snplocus-TRVAEAPF.js.map} +0 -0
  875. /package/dist/{spliceevent.a53ss.diagram-C32IEFMU.js.map → spliceevent.a53ss.diagram-FL2R6F22.js.map} +0 -0
  876. /package/dist/{spliceevent.exonskip.diagram-CZ7MVRLK.js.map → spliceevent.exonskip.diagram-XDZWTJXR.js.map} +0 -0
  877. /package/dist/{spliceevent.noeventdiagram-ZO6R3776.js.map → spliceevent.noeventdiagram-L322N534.js.map} +0 -0
  878. /package/dist/{ssGSEA-BGPQ2PFY.js.map → ssGSEA-DZY4LFQY.js.map} +0 -0
  879. /package/dist/{ssGSEA.unit.spec-U7TBUSSK.js.map → ssGSEA.unit.spec-P6C3VTVZ.js.map} +0 -0
  880. /package/dist/{stattable-FISGQCED.js.map → stattable-R7O6OIMB.js.map} +0 -0
  881. /package/dist/{studyCatalog-UHFUT2CJ.js.map → studyCatalog-OMDE4JRD.js.map} +0 -0
  882. /package/dist/{summarizeCnvGeneexp-OVZO6KIB.js.map → summarizeCnvGeneexp-A7HW6FJI.js.map} +0 -0
  883. /package/dist/{summarizeGeneexpSurvival-KVQ4JGWK.js.map → summarizeGeneexpSurvival-ODI4HGFH.js.map} +0 -0
  884. /package/dist/{summarizeMutationCnv-RAKGHNLE.js.map → summarizeMutationCnv-C2YB73OL.js.map} +0 -0
  885. /package/dist/{summarizeMutationDiagnosis-LGCINAGG.js.map → summarizeMutationDiagnosis-4Y322NYU.js.map} +0 -0
  886. /package/dist/{summarizeMutationSurvival-J7H7L4FX.js.map → summarizeMutationSurvival-7IHNURLC.js.map} +0 -0
  887. /package/dist/{summary-2632JZXH.js.map → summary-E4L5MZTF.js.map} +0 -0
  888. /package/dist/{summary.integration.spec-5WBS2ZRP.js.map → summary.integration.spec-SDCGE6BQ.js.map} +0 -0
  889. /package/dist/{summaryInput-BH6C3ATV.js.map → summaryInput-DHIMU5DM.js.map} +0 -0
  890. /package/dist/{sunburst-AMRR2IHM.js.map → sunburst-ULNPFEAM.js.map} +0 -0
  891. /package/dist/{survival-WYCH4QOQ.js.map → survival-CU4N5KZO.js.map} +0 -0
  892. /package/dist/{survival-2RNJQVFS.js.map → survival-KWWH6REE.js.map} +0 -0
  893. /package/dist/{survival.integration.spec-7IFPY4I4.js.map → survival.integration.spec-UW6SYVLP.js.map} +0 -0
  894. /package/dist/{svgraph-YQWS52ZJ.js.map → svgraph-HFI6NNF3.js.map} +0 -0
  895. /package/dist/{svmr-NRN6LGKK.js.map → svmr-VHS7Z4SO.js.map} +0 -0
  896. /package/dist/{table-3QOMV2NN.js.map → table-GJUXHKQI.js.map} +0 -0
  897. /package/dist/{termCollection-2ZJ7TJGO.js.map → termCollection-CCZ4BFIU.js.map} +0 -0
  898. /package/dist/{termCollection-3MCVR7BA.js.map → termCollection-O5CQ472U.js.map} +0 -0
  899. /package/dist/{termCollection.unit.spec-QYOEA3X6.js.map → termCollection.unit.spec-KR5G6JFU.js.map} +0 -0
  900. /package/dist/{termCollectionFractionSelection-5AH6EF4L.js.map → termCollectionFractionSelection-IKU5MFBT.js.map} +0 -0
  901. /package/dist/{termCollectionFractionSelection.unit.spec-WPGW4WJN.js.map → termCollectionFractionSelection.unit.spec-6ZWHNGES.js.map} +0 -0
  902. /package/dist/{tk-DQ7D5UEO.js.map → tk-3DLMAFW7.js.map} +0 -0
  903. /package/dist/{tk-ONKYBG6R.js.map → tk-CAYWF7LX.js.map} +0 -0
  904. /package/dist/{tp.ui-C7BTMHEI.js.map → tp.ui-NF5ZYOHW.js.map} +0 -0
  905. /package/dist/{tvs.dt-PLRMK7OT.js.map → tvs.dt-43A4SSLG.js.map} +0 -0
  906. /package/dist/{tvs.dtcnv.categorical-IZUY2AQO.js.map → tvs.dtcnv.categorical-DYXHUNP2.js.map} +0 -0
  907. /package/dist/{tvs.dtcnv.continuous-ENV3RHHA.js.map → tvs.dtcnv.continuous-NOKNP4UG.js.map} +0 -0
  908. /package/dist/{tvs.dtfusion-2DVCV6AM.js.map → tvs.dtfusion-4NAOCC2X.js.map} +0 -0
  909. /package/dist/{tvs.dtitd-XNDIRQYU.js.map → tvs.dtitd-SZC6EITI.js.map} +0 -0
  910. /package/dist/{tvs.dtsnvindel-4D3G7XSF.js.map → tvs.dtsnvindel-EYSBCNQK.js.map} +0 -0
  911. /package/dist/{tvs.dtsv-QYMIMC4Z.js.map → tvs.dtsv-VSPWIIFO.js.map} +0 -0
  912. /package/dist/{tvs.samplelst-2KEU2ZWB.js.map → tvs.samplelst-3YQ4GKNG.js.map} +0 -0
  913. /package/dist/{tvs.termCollection-FEY746V5.js.map → tvs.termCollection-EVM4ATPW.js.map} +0 -0
  914. /package/dist/{vocabulary-BR4NJDPS.js.map → vocabulary-HCPEIO2P.js.map} +0 -0
  915. /package/dist/{wsi.direct-JWDUNHIO.js.map → wsi.direct-K2J6GGWY.js.map} +0 -0
@@ -1,2245 +0,0 @@
1
- import {
2
- blocklazyload
3
- } from "./chunk-P4LGA36F.js";
4
- import {
5
- hicParseFile
6
- } from "./chunk-VWA7BYSV.js";
7
- import {
8
- AppBase,
9
- ColorScale,
10
- axisstyle,
11
- first_genetrack_tolist,
12
- font,
13
- newpane,
14
- showErrorsWithCounter,
15
- tkt
16
- } from "./chunk-55FABQU2.js";
17
- import "./chunk-HJ6L54YS.js";
18
- import "./chunk-KV4W2ACA.js";
19
- import "./chunk-UXD6G6G4.js";
20
- import {
21
- Menu
22
- } from "./chunk-ELJX3QIQ.js";
23
- import "./chunk-3FEP6B5T.js";
24
- import "./chunk-EEB5VE2A.js";
25
- import "./chunk-6RRZRISL.js";
26
- import "./chunk-2KM4PRQM.js";
27
- import {
28
- dofetch3
29
- } from "./chunk-VA57CUC7.js";
30
- import "./chunk-BK6UDL7F.js";
31
- import "./chunk-KIAMLQ7S.js";
32
- import {
33
- bplen
34
- } from "./chunk-SB36AUG7.js";
35
- import {
36
- StoreBase,
37
- getAppInit,
38
- getCompInit,
39
- getStoreInit
40
- } from "./chunk-WINIL2KN.js";
41
- import "./chunk-PF4DSFDR.js";
42
- import "./chunk-7X6NF7NI.js";
43
- import "./chunk-W5J3LTYS.js";
44
- import {
45
- axisBottom,
46
- axisRight
47
- } from "./chunk-Z2ZITHT4.js";
48
- import {
49
- format,
50
- linear
51
- } from "./chunk-4OLM3KSB.js";
52
- import "./chunk-FXQXCOII.js";
53
- import "./chunk-TLT4YIG3.js";
54
- import "./chunk-5R63Q5KH.js";
55
- import {
56
- pointer_default,
57
- select_default
58
- } from "./chunk-I6Y4O3RR.js";
59
- import "./chunk-Q5RDQNIT.js";
60
- import "./chunk-DQC5FFGV.js";
61
- import "./chunk-HS5PO5ZQ.js";
62
-
63
- // tracks/hic/HicStore.ts
64
- var HicStore = class _HicStore extends StoreBase {
65
- constructor(opts) {
66
- super(opts);
67
- this.views = ["genome", "chrpair", "detail", "horizontal"];
68
- this.type = _HicStore.type;
69
- this.defaultState = {
70
- defaultNmeth: "NONE",
71
- loading: true,
72
- minBinNum_bp: 200,
73
- minFragSpan: 200,
74
- initialBinNum: 20,
75
- settings: {
76
- widthHeightPx: 800
77
- }
78
- };
79
- }
80
- static {
81
- this.type = "store";
82
- }
83
- init() {
84
- this.state = Object.assign({}, this.defaultState, this.state);
85
- }
86
- };
87
- var hicStoreInit = getStoreInit(HicStore);
88
- HicStore.prototype.actions = {
89
- view_create(action) {
90
- if (!action.view) throw Error("view_create: missing view");
91
- if (!this.views.some((v) => v == action.view)) throw Error(`view_create: unknown view = ${action.view}`);
92
- this.state.currView = action.view;
93
- const opts = Object.assign(this.state, action.config);
94
- this.state = opts;
95
- },
96
- view_update(action) {
97
- if (action.view) {
98
- if (!this.views.some((v) => v == action.view)) throw Error(`view_update: unknown view = ${action.view}`);
99
- const opts = Object.assign(this.state[action.view], action.config);
100
- this.state[action.view] = opts;
101
- } else {
102
- const opts = Object.assign(this.state, action.config);
103
- this.state = opts;
104
- }
105
- },
106
- loading_active(action) {
107
- this.state.loading = action.active;
108
- }
109
- };
110
-
111
- // tracks/hic/dom/LoadingOverlay.ts
112
- var LoadingOverlay = class _LoadingOverlay {
113
- constructor(opts) {
114
- this.hasStatePreMain = true;
115
- this.type = _LoadingOverlay.type;
116
- this.app = opts.app;
117
- this.loadingDiv = opts.loadingDiv;
118
- }
119
- static {
120
- this.type = "loadingOverlay";
121
- }
122
- reactsTo(action) {
123
- if (action.type.startsWith("loading")) return true;
124
- else return false;
125
- }
126
- getState(appState) {
127
- return appState;
128
- }
129
- init() {
130
- this.loadingDiv.append("div").attr("class", "sjpp-spinner").style("display", "");
131
- }
132
- main(appState) {
133
- const loading = this.app.getState(appState).loading;
134
- this.loadingDiv.style("display", loading ? "" : "none");
135
- }
136
- };
137
- var loadingInit = getCompInit(LoadingOverlay);
138
-
139
- // tracks/hic/dom/ColorizeElement.ts
140
- var ColorizeElement = class {
141
- colorizeElement(xCoord, yCoord, v, obj, width, height, bpMinV, bpMaxV, currView) {
142
- if (v >= 0) {
143
- const p = v >= bpMaxV ? 0 : v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV - v) / bpMaxV);
144
- const positiveFill = `rgb(255, ${p}, ${p})`;
145
- if (currView === "genome") {
146
- obj.ctx.fillStyle = positiveFill;
147
- obj.ctx2.fillStyle = positiveFill;
148
- } else {
149
- obj.fillStyle = positiveFill;
150
- }
151
- } else {
152
- const p = v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV + v) / bpMaxV);
153
- const negativeFill = `rgb(${p}, ${p}, 255)`;
154
- if (currView === "genome") {
155
- obj.ctx.fillStyle = negativeFill;
156
- obj.ctx2.fillStyle = negativeFill;
157
- } else {
158
- obj.fillStyle = negativeFill;
159
- }
160
- }
161
- if (currView === "genome") {
162
- obj.ctx.fillRect(yCoord, xCoord, width, height);
163
- obj.ctx2.fillRect(xCoord, yCoord, width, height);
164
- } else {
165
- obj.fillRect(xCoord, yCoord, width, height);
166
- }
167
- }
168
- };
169
-
170
- // tracks/hic/data/Resolution.ts
171
- var Resolution = class {
172
- constructor(error) {
173
- this.error = error;
174
- }
175
- getResolution(state, hic) {
176
- if (state.currView == "genome") return hic["bpresolution"][0];
177
- if (state.currView == "chrpair") {
178
- const resolution = this.getChrPairResolution(hic, state.x, state.y, state.minBinNum_bp);
179
- return resolution;
180
- } else if (state.currView == "detail") {
181
- const maxBpWidth = Math.max(state.x.stop - state.x.start, state.y.stop - state.y.start);
182
- let resolution = this.findResFromArray(maxBpWidth, state.minBinNum_bp, hic.bpresolution);
183
- if (resolution == null && !hic.enzyme) {
184
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
185
- }
186
- return resolution;
187
- } else {
188
- this.error(`Unknown view: ${state.currView}`);
189
- throw `Unknown view: ${state.currView}`;
190
- }
191
- }
192
- getChrPairResolution(hic, x, y, minBinNum_bp) {
193
- const chrxlen = hic.genome.chrlookup[x.chr.toUpperCase()].len;
194
- const chrylen = hic.genome.chrlookup[y.chr.toUpperCase()].len;
195
- const maxchrlen = Math.max(chrxlen, chrylen);
196
- const resolution = this.findResFromArray(maxchrlen, minBinNum_bp, hic.bpresolution);
197
- if (resolution == null) {
198
- this.error(`No suitable resolution for ${x.chr}-${y.chr} pair.`);
199
- return;
200
- }
201
- return resolution;
202
- }
203
- findResFromArray(max, defaultValue, resolutionArray, returnNum) {
204
- let resolution = null;
205
- for (const res of resolutionArray) {
206
- if (max / res > defaultValue) {
207
- resolution = res;
208
- break;
209
- }
210
- }
211
- if (returnNum && resolution == null) {
212
- resolution = resolutionArray[resolutionArray.length - 1];
213
- }
214
- return resolution;
215
- }
216
- getDefaultViewSpan(hic, x, y, initialBinNum, minBinNum_bp) {
217
- const chrpairResolution = this.getChrPairResolution(hic, x, y, minBinNum_bp);
218
- if (!chrpairResolution) return;
219
- return chrpairResolution * initialBinNum;
220
- }
221
- };
222
-
223
- // tracks/hic/data/Positions.ts
224
- var Positions = class {
225
- constructor(error, minBinNum_bp) {
226
- this.error = error;
227
- this.resolution = new Resolution(this.error);
228
- this.minBinNum_bp = minBinNum_bp;
229
- }
230
- /**
231
- *
232
- * @param x x coordinate of pointer
233
- * @param y y coordinate of pointer
234
- * @param binpx
235
- * @param chrx x chr from state
236
- * @param chry y chr from state
237
- * @param hic
238
- * @param initialBinNum Set in the state
239
- * @returns
240
- */
241
- setPosition(x, y, binpx, chrx, chry, hic, initialBinNum) {
242
- const resolution = this.resolution.getChrPairResolution(hic, chrx, chry, this.minBinNum_bp);
243
- const viewrangebpw = resolution * initialBinNum;
244
- let coordx = Math.max(1, Math.floor(x * resolution / binpx) - viewrangebpw / 2);
245
- let coordy = Math.max(1, Math.floor(y * resolution / binpx) - viewrangebpw / 2);
246
- {
247
- const lenx = hic.genome.chrlookup[chrx.chr.toUpperCase()].len;
248
- if (coordx + viewrangebpw >= lenx) {
249
- coordx = lenx - viewrangebpw;
250
- }
251
- const leny = hic.genome.chrlookup[chry.chr.toUpperCase()].len;
252
- if (coordy + viewrangebpw > leny) {
253
- coordy = leny - viewrangebpw;
254
- }
255
- }
256
- const xObj = {
257
- chr: chrx.chr,
258
- start: coordx,
259
- stop: coordx + viewrangebpw
260
- };
261
- const yObj = {
262
- chr: chry.chr,
263
- start: coordy,
264
- stop: coordy + viewrangebpw
265
- };
266
- return [xObj, yObj];
267
- }
268
- };
269
-
270
- // tracks/hic/data/GridElementsFormattedData.ts
271
- var GridElementsFormattedData = class {
272
- /**
273
- * Format the data for the grid elements.
274
- * @param items The data to format.
275
- * @param binpx The bin size in pixels.
276
- * @param resolution The resolution.
277
- * @param isFirstChrX Whether the first chromosome is X. Used for chrpair view.
278
- * @param isIntraChr Whether the data is intra-chromosomal. Used for chrpair view
279
- * @returns The formatted data.
280
- */
281
- formatData(view, items, binpx, resolution, isFirstChrX, isIntraChr) {
282
- const formattedData = [];
283
- for (const [xCoord, yCoord, value] of items) {
284
- const xPx = Math.floor(xCoord / resolution) * binpx;
285
- const yPx = Math.floor(yCoord / resolution) * binpx;
286
- if (view == "genome") {
287
- formattedData.push([xPx, yPx, value]);
288
- }
289
- if (view == "chrpair") {
290
- const x = isFirstChrX ? xPx : yPx;
291
- const y = isFirstChrX ? yPx : xPx;
292
- formattedData.push([x, y, value]);
293
- if (isIntraChr) {
294
- formattedData.push([y, x, value]);
295
- }
296
- }
297
- }
298
- return formattedData;
299
- }
300
- };
301
-
302
- // tracks/hic/data/FirstChrX.ts
303
- var FirstChrX = class {
304
- constructor(chrorder, chrx, chry) {
305
- this.chrorder = chrorder;
306
- this.chrx = chrx;
307
- this.chry = chry;
308
- }
309
- isFirstX() {
310
- if (this.chrx == this.chry) return true;
311
- return this.chrorder.indexOf(this.chrx) < this.chrorder.indexOf(this.chry);
312
- }
313
- };
314
-
315
- // tracks/hic/chrpair/ChrPairView.ts
316
- var ChrPairView = class {
317
- constructor(opts) {
318
- this.binpx = 1;
319
- /** padding on the ends of x/y chr coordinate axes */
320
- this.axispad = 10;
321
- this.axisLabelFontSize = 15;
322
- this.calcResolution = null;
323
- this.data = [];
324
- this.app = opts.app;
325
- this.hic = opts.hic;
326
- this.plotDiv = opts.plotDiv;
327
- this.items = opts.items;
328
- this.parent = opts.parent;
329
- this.chrxlen = this.hic.genome.chrlookup[this.parent("state").x.chr.toUpperCase()].len;
330
- this.chrylen = this.hic.genome.chrlookup[this.parent("state").y.chr.toUpperCase()].len;
331
- this.maxchrlen = Math.max(this.chrxlen, this.chrylen);
332
- this.colorizeElement = new ColorizeElement();
333
- this.positions = new Positions(opts.error, this.parent("state").minBinNum_bp);
334
- this.formattedData = new GridElementsFormattedData();
335
- }
336
- setDefaultBinpx() {
337
- if (this.calcResolution == null) return;
338
- while (this.binpx * this.maxchrlen / this.calcResolution < 600) {
339
- this.binpx++;
340
- }
341
- }
342
- renderAxes() {
343
- if (this.calcResolution == null) return;
344
- const svgY = this.plotDiv.yAxis.append("svg");
345
- const h = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
346
- svgY.attr("width", 100).attr("height", this.axispad * 2 + h);
347
- 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)");
348
- axisstyle({
349
- axis: svgY.append("g").attr("transform", `translate(1, ${this.axispad})`).call(axisRight(linear().domain([0, this.chrylen]).range([0, h])).tickFormat(format(".2s"))),
350
- showline: true
351
- });
352
- const svgX = this.plotDiv.xAxis.append("svg").style("margin-top", "-4px");
353
- const w = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
354
- svgX.attr("height", 100).attr("width", this.axispad * 2 + w);
355
- 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);
356
- axisstyle({
357
- axis: svgX.append("g").attr("transform", "translate(" + this.axispad + ",1)").call(axisBottom(linear().domain([0, this.chrxlen]).range([0, w])).tickFormat(format(".2s"))),
358
- showline: true
359
- });
360
- }
361
- renderCanvas() {
362
- const initDetailView = this.initDetailView.bind(this);
363
- this.canvas = this.plotDiv.plot.append("canvas").attr("data-testid", "sjpp-chrpair-canvas").style("margin", this.axispad + "px").on("click", async function(event) {
364
- const [x, y] = pointer_default(event, this);
365
- initDetailView(x, y);
366
- }).node();
367
- this.canvas.width = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
368
- this.canvas.height = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
369
- this.ctx = this.canvas.getContext("2d");
370
- }
371
- initDetailView(x, y) {
372
- const [xObj, yObj] = this.positions.setPosition(
373
- x,
374
- y,
375
- this.binpx,
376
- this.parent("state").x,
377
- this.parent("state").y,
378
- this.hic,
379
- this.parent("state").initialBinNum
380
- );
381
- this.app.dispatch({
382
- type: "view_create",
383
- view: "detail",
384
- config: {
385
- x: xObj,
386
- y: yObj
387
- }
388
- });
389
- }
390
- render() {
391
- this.calcResolution = this.parent("calcResolution");
392
- this.setDefaultBinpx();
393
- this.renderAxes();
394
- this.renderCanvas();
395
- this.update(this.items);
396
- }
397
- update(items) {
398
- this.items = items;
399
- const firstisx = new FirstChrX(this.hic.chrorder, this.parent("state").x.chr, this.parent("state").y.chr).isFirstX();
400
- const isintrachr = this.parent("state").x.chr === this.parent("state").y.chr;
401
- this.data = this.formattedData.formatData(
402
- "chrpair",
403
- items.items,
404
- this.binpx,
405
- this.calcResolution,
406
- firstisx,
407
- isintrachr
408
- );
409
- this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
410
- for (const [x, y, v] of this.data) {
411
- this.colorizeElement.colorizeElement(
412
- x,
413
- y,
414
- v,
415
- this.ctx,
416
- this.binpx,
417
- //width
418
- this.binpx,
419
- //height
420
- this.parent("min"),
421
- this.parent("max"),
422
- "chrpair"
423
- );
424
- }
425
- this.app.dispatch({ type: "loading_active", active: false });
426
- }
427
- };
428
-
429
- // tracks/hic/horizontal/HorizontalView.ts
430
- var HorizontalView = class {
431
- constructor(opts) {
432
- /** Defaults*/
433
- this.maxPercentage = 5;
434
- this.subPanelPxWidth = 600;
435
- this.borderColor = "rgba(200,0,0,.1)";
436
- this.app = opts.app;
437
- this.hic = opts.hic;
438
- this.plotDiv = opts.plotDiv;
439
- this.items = opts.items;
440
- this.parent = opts.parent;
441
- }
442
- setRunPpTracks() {
443
- const tracks = [
444
- {
445
- type: "hicstraw",
446
- file: this.hic.file,
447
- url: this.hic.url,
448
- name: this.hic.name,
449
- enzyme: this.hic.enzyme,
450
- maxpercentage: this.maxPercentage,
451
- pyramindup: 1
452
- }
453
- ];
454
- if (this.hic.tklst) {
455
- for (const t of this.hic.tklst) {
456
- tracks.push(t);
457
- }
458
- }
459
- first_genetrack_tolist(this.hic.genome, tracks);
460
- return tracks;
461
- }
462
- setRunPpArgs(tracks) {
463
- const arg = {
464
- holder: this.plotDiv.plot,
465
- hostURL: this.hic.hostURL,
466
- jwt: this.hic.jwt,
467
- genome: this.hic.genome,
468
- nobox: 1,
469
- tklst: tracks
470
- };
471
- const state = this.parent("state");
472
- if (state.x.chr == state.y.chr && Math.max(state.x.start, state.y.start) < Math.min(state.x.stop, state.y.stop)) {
473
- arg["chr"] = state.x.chr;
474
- arg["start"] = Math.min(state.x.start, state.y.start);
475
- arg["stop"] = Math.max(state.x.stop, state.y.stop);
476
- } else {
477
- arg["chr"] = state.x.chr;
478
- arg["start"] = state.x.start;
479
- arg["stop"] = state.x.stop;
480
- arg["width"] = this.subPanelPxWidth;
481
- arg["subpanels"] = [
482
- {
483
- chr: state.y.chr,
484
- start: state.y.start,
485
- stop: state.y.stop,
486
- width: this.subPanelPxWidth,
487
- leftpad: 10,
488
- leftborder: this.borderColor
489
- }
490
- ];
491
- }
492
- return arg;
493
- }
494
- render() {
495
- const tracks = this.setRunPpTracks();
496
- const arg = this.setRunPpArgs(tracks);
497
- blocklazyload(arg);
498
- }
499
- // update() {
500
- // //Not required.
501
- // //If controls are added back. Implement changes here.
502
- // }
503
- };
504
-
505
- // tracks/hic/detail/DetailBlock.ts
506
- var DetailBlock = class {
507
- constructor(app, hic, blockwidth, bbmargin, holder, isYblock) {
508
- /** Defaults */
509
- this.leftheadw = 20;
510
- this.rightheadw = 40;
511
- this.lpad = 1;
512
- this.rpad = 1;
513
- this.firstRender = true;
514
- this.app = app;
515
- this.hic = hic;
516
- this.width = blockwidth;
517
- this.bbmargin = bbmargin;
518
- this.holder = holder;
519
- this.isYblock = isYblock;
520
- this.bbw = this.leftheadw + this.lpad + this.width + this.rpad + this.rightheadw + 2 * this.bbmargin;
521
- this.defaultLeft = this.bbmargin + this.leftheadw + this.lpad;
522
- this.defaultTop = this.bbmargin + this.rightheadw + this.rpad;
523
- }
524
- setArgs(chrObj) {
525
- const runPpArgs = {
526
- hostURL: this.hic.hostURL,
527
- genome: this.hic.genome,
528
- holder: this.holder,
529
- noresize: true,
530
- nobox: true,
531
- butrowbottom: true,
532
- style: {
533
- margin: `${this.bbmargin}px`
534
- },
535
- width: this.width,
536
- leftheadw: this.leftheadw,
537
- chr: chrObj.chr,
538
- start: chrObj.start,
539
- stop: chrObj.stop,
540
- rightheadw: this.rightheadw,
541
- tklst: [],
542
- rotated: this.isYblock,
543
- showreverse: this.isYblock
544
- };
545
- first_genetrack_tolist(this.hic.genome, runPpArgs.tklst);
546
- return runPpArgs;
547
- }
548
- setMethods(canvasHolder, canvas, sheath) {
549
- const runPpMethods = {
550
- onloadalltk_always: () => {
551
- this.onload(canvasHolder, canvas, sheath);
552
- },
553
- onpanning: (xoff) => this.onpanning(xoff, canvas)
554
- };
555
- if (this.isYblock) {
556
- runPpMethods["onsetheight"] = (bbh) => {
557
- this.holder.transition().style("left", `${bbh + this.bbmargin + 30}px`);
558
- };
559
- }
560
- return runPpMethods;
561
- }
562
- onload(canvasHolder, canvas, sheath) {
563
- this.bbw = this.block.leftheadw + this.block.lpad + this.block.width + this.block.rpad + this.block.rightheadw + 2 * this.bbmargin;
564
- if (this.isYblock) {
565
- sheath.transition().style("height", `${this.bbw}px`);
566
- canvasHolder.style("height", `${this.bbw}px`);
567
- } else canvasHolder.style("width", `${this.bbw}px`);
568
- if (this.isYblock) {
569
- this.defaultTop = this.bbmargin + this.block.rightheadw + this.block.rpad;
570
- canvas.style("top", `${this.defaultTop}px`);
571
- } else {
572
- this.defaultLeft = this.bbmargin + this.block.leftheadw + this.block.lpad;
573
- canvas.style("left", `${this.defaultLeft}px`);
574
- }
575
- const config = {
576
- [this.isYblock ? "y" : "x"]: {
577
- chr: this.block.rglst[0].chr,
578
- start: this.block.rglst[0].start,
579
- stop: this.block.rglst[0].stop
580
- }
581
- };
582
- if (this.firstRender == false) {
583
- this.app.dispatch({
584
- type: "view_update",
585
- config
586
- });
587
- } else {
588
- this.firstRender = false;
589
- }
590
- }
591
- onpanning(xoff, canvas) {
592
- if (!this.isYblock) canvas.style("left", `${xoff + this.defaultLeft}px`);
593
- else canvas.style("top", `${-xoff + this.defaultTop}px`);
594
- }
595
- async loadBlock(chrObj, canvasHolder, canvas, sheath) {
596
- const runPpArgs = this.setArgs(chrObj);
597
- const runPpMethods = this.isYblock ? this.setMethods(canvasHolder, canvas, sheath) : this.setMethods(canvasHolder, canvas);
598
- const args = Object.assign(runPpArgs, runPpMethods);
599
- await blocklazyload(args).then(async (block) => {
600
- this.block = block;
601
- });
602
- }
603
- };
604
-
605
- // tracks/hic/data/DetailDataFetcher.ts
606
- var DetailDataFetcher = class {
607
- constructor(errList) {
608
- this.obj = {
609
- rglst: []
610
- };
611
- this.errList = errList;
612
- }
613
- isFragData(hic, resolution) {
614
- if (resolution != null) return;
615
- if (!hic.enzyme) {
616
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
617
- return;
618
- }
619
- }
620
- formatFragArgs(enzymefile, chr) {
621
- const arg = {
622
- getdata: 1,
623
- getBED: 1,
624
- file: enzymefile,
625
- rglst: [chr]
626
- };
627
- return arg;
628
- }
629
- /**
630
- * @param arg Formated obj from either fn above
631
- * @param errList
632
- * @returns
633
- */
634
- async getBedData(arg) {
635
- try {
636
- return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(arg) });
637
- } catch (e) {
638
- this.errList.push(e.message || e);
639
- if (e.stack) console.error(e.stack);
640
- }
641
- }
642
- async getXFragData(hic, resolution, chrx) {
643
- this.isFragData(hic, resolution);
644
- if (!hic.enzymefile) return;
645
- const reqArgs = this.formatFragArgs(hic.enzymefile, chrx);
646
- return await this.getBedData(reqArgs);
647
- }
648
- async getYFragData(hic, chry) {
649
- const reqArgs = this.formatFragArgs(hic.enzymefile, chry);
650
- return await this.getBedData(reqArgs);
651
- }
652
- /**
653
- * Separate request from data fetch
654
- * Returns the additional fragment data
655
- * @param fragCoords
656
- */
657
- async fetchData(hic, detailView, resolution, x, y, fragCoords) {
658
- const fragStrawArgs = {
659
- matrixType: detailView.matrixType,
660
- file: hic.file,
661
- url: hic.url,
662
- pos1: this.determinePosition(hic, x, fragCoords?.x),
663
- pos2: this.determinePosition(hic, y, fragCoords?.y),
664
- nmeth: detailView.nmeth,
665
- resolution
666
- };
667
- if (fragCoords) fragStrawArgs["isfrag"] = true;
668
- try {
669
- const data = dofetch3("hicdata?", {
670
- method: "POST",
671
- body: JSON.stringify(fragStrawArgs)
672
- });
673
- if (data.error) {
674
- this.errList.push(data.error);
675
- }
676
- return data;
677
- } catch (e) {
678
- this.errList.push(e.message || e);
679
- if (e.stack) console.error(e.stack);
680
- }
681
- }
682
- determinePosition(hic, chr, fragCoord) {
683
- if (fragCoord) {
684
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${fragCoord.start}:${fragCoord.stop}`;
685
- } else {
686
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${chr.start}:${chr.stop}`;
687
- }
688
- }
689
- };
690
-
691
- // tracks/hic/data/ParseFragData.ts
692
- var ParseFragData = class {
693
- constructor(errLst, items) {
694
- this.id2coord = /* @__PURE__ */ new Map();
695
- this.min = null;
696
- this.max = null;
697
- this.items = [];
698
- this.errLst = errLst;
699
- for (const i of items) {
700
- if (!i.rest || !i.rest[0]) {
701
- this.errLst.push("items[].rest data problem");
702
- }
703
- const id = Number.parseInt(i.rest[0]);
704
- if (Number.isNaN(id)) {
705
- this.errLst.push(`${i.start}.${i.stop} invalid fragment id: ${i.rest[0]}`);
706
- }
707
- this.id2coord.set(id, [i.start, i.stop]);
708
- if (this.min == null) {
709
- this.min = id;
710
- this.max = id;
711
- } else {
712
- this.min = Math.min(this.min, id);
713
- this.max = Math.max(this.max, id);
714
- }
715
- }
716
- }
717
- };
718
-
719
- // tracks/hic/data/DetailDataMapper.ts
720
- var DetailDataMapper = class {
721
- constructor(hic, errList, parent) {
722
- this.frag = {
723
- x: {},
724
- y: {}
725
- };
726
- this.hic = hic;
727
- this.errList = errList;
728
- this.dataFetcher = new DetailDataFetcher(errList);
729
- this.parent = parent;
730
- }
731
- async getFragData(chrx, chry) {
732
- try {
733
- const xFragData = await this.dataFetcher.getXFragData(this.hic, this.parent("calcResolution"), chrx);
734
- if (xFragData) {
735
- if (!xFragData.items) {
736
- this.errList.push(`No fragment data returned for ${chrx.chr}:${chrx.start}-${chrx.stop}`);
737
- return;
738
- }
739
- const xParse = new ParseFragData(this.errList, xFragData.items);
740
- if (this.errList.length) return;
741
- this.frag.x = {
742
- id2coord: xParse.id2coord,
743
- start: xParse.min,
744
- stop: xParse.max
745
- };
746
- const yFragData = await this.dataFetcher.getYFragData(this.hic, chry);
747
- if (this.errList.length) return;
748
- if (yFragData) {
749
- if (!yFragData.items) {
750
- this.errList.push(`No fragment data returned for ${chry.chr}:${chry.start}-${chry.stop}`);
751
- return;
752
- }
753
- const yParse = new ParseFragData(this.errList, yFragData.items);
754
- if (this.errList.length) return;
755
- this.frag.y = {
756
- id2coord: /* @__PURE__ */ new Map(),
757
- start: yParse.min,
758
- stop: yParse.max
759
- };
760
- this.determineMap(yParse.id2coord, chrx, chry);
761
- }
762
- }
763
- } catch (e) {
764
- this.errList.push(e.message || e);
765
- if (e.stack) console.error(e.stack);
766
- }
767
- }
768
- determineMap(map, chrx, chry) {
769
- if (chrx.chr == chry.chr) {
770
- for (const [id, pos] of map) {
771
- this.frag.x["id2coord"].set(id, pos);
772
- }
773
- this.frag.y["id2coord"] = this.frag.x["id2coord"];
774
- } else {
775
- this.frag.y["id2coord"] = map;
776
- }
777
- }
778
- async getData(chrx, chry, fragCoords) {
779
- return await this.dataFetcher.fetchData(
780
- this.hic,
781
- this.parent("state")["detail"],
782
- this.parent("calcResolution"),
783
- chrx,
784
- chry,
785
- fragCoords
786
- );
787
- }
788
- };
789
-
790
- // tracks/hic/data/DetailCoodinates.ts
791
- var DetailCoordinates = class {
792
- constructor(hic, errlist) {
793
- this.hic = hic;
794
- this.errlist = errlist;
795
- }
796
- getCoordinates(chrx, chry, data, resolution, widthHeightPx, fragData) {
797
- const isFirstX = new FirstChrX(this.hic.chrorder, chrx.chr, chry.chr).isFirstX();
798
- const isintrachr = chrx.chr == chry.chr;
799
- const xpxbp = widthHeightPx / (chrx.stop - chrx.start);
800
- const ypxbp = widthHeightPx / (chry.stop - chry.start);
801
- const list = this.calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData);
802
- return list;
803
- }
804
- calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData) {
805
- const list = [];
806
- for (const [xCoord, yCoord, value] of data.items) {
807
- let coord1, coord2, span1, span2;
808
- if (fragData) {
809
- const idx_start = isFirstX ? xCoord : yCoord;
810
- const idy_start = isFirstX ? yCoord : xCoord;
811
- if (fragData.x.id2coord.has(idx_start)) {
812
- const [a, b] = fragData.x.id2coord.get(idx_start);
813
- coord1 = a;
814
- span1 = b - a;
815
- } else {
816
- this.errlist.push(`[x id error] x: ${idx_start} y: ${idy_start}`);
817
- continue;
818
- }
819
- {
820
- const id_stop = idx_start + resolution;
821
- if (fragData.x.id2coord.has(id_stop)) {
822
- const ab = fragData.x.id2coord.get(id_stop);
823
- span1 = ab[1] - coord1;
824
- }
825
- }
826
- if (fragData.y.id2coord.has(idy_start)) {
827
- const [a, b] = fragData.y.id2coord.get(idy_start);
828
- coord2 = a;
829
- span2 = b - a;
830
- } else {
831
- this.errlist.push(`[y id error] x: ${idx_start} y: ${idy_start}`);
832
- continue;
833
- }
834
- {
835
- const id_stop = idy_start + resolution;
836
- if (fragData.y.id2coord.has(id_stop)) {
837
- const ab = fragData.y.id2coord.get(id_stop);
838
- span2 = ab[1] - coord2;
839
- }
840
- }
841
- } else {
842
- coord1 = isFirstX ? xCoord : yCoord;
843
- coord2 = isFirstX ? yCoord : xCoord;
844
- span1 = resolution;
845
- span2 = resolution;
846
- }
847
- if (isintrachr) {
848
- if (coord1 > chrx.start - span1 && coord1 < chrx.stop && coord2 > chry.start - span2 && coord2 < chry.stop) {
849
- list.push([
850
- Math.floor((coord1 - chrx.start) * xpxbp),
851
- Math.floor((coord2 - chry.start) * ypxbp),
852
- Math.ceil(span1 * xpxbp),
853
- Math.ceil(span2 * ypxbp),
854
- value
855
- ]);
856
- }
857
- if (coord2 > chrx.start - span2 && coord2 < chrx.stop && coord1 > chry.start && coord1 < chry.stop) {
858
- list.push([
859
- Math.floor((coord2 - chrx.start) * xpxbp),
860
- Math.floor((coord1 - chry.start) * ypxbp),
861
- Math.ceil(span2 * xpxbp),
862
- Math.ceil(span1 * ypxbp),
863
- value
864
- ]);
865
- }
866
- continue;
867
- }
868
- list.push([
869
- Math.floor((coord1 - chrx.start) * xpxbp),
870
- Math.floor((coord2 - chry.start) * ypxbp),
871
- Math.ceil(span1 * xpxbp),
872
- Math.ceil(span2 * ypxbp),
873
- value
874
- ]);
875
- }
876
- return list;
877
- }
878
- };
879
-
880
- // tracks/hic/detail/DetailView.ts
881
- var DetailView = class {
882
- constructor(opts) {
883
- this.calcResolution = null;
884
- /** Defaults **/
885
- this.binpx = 2;
886
- this.bbmargin = 1;
887
- this.app = opts.app;
888
- this.hic = opts.hic;
889
- this.plotDiv = opts.plotDiv;
890
- this.sheath = opts.plotDiv.yAxis.append("div").style("position", "relative").style("width", "200px").style("height", "800px");
891
- this.rotor = this.sheath.append("div").style("position", "absolute").style("bottom", "0px").style("transform", "rotate(-90deg)").style("transform-origin", "left bottom");
892
- this.data = opts.data;
893
- this.parent = opts.parent;
894
- this.errList = this.parent("errList");
895
- this.resolution = new Resolution(opts.error);
896
- this.colorizeElement = new ColorizeElement();
897
- this.viewRangeBpW = this.resolution.getDefaultViewSpan(
898
- this.hic,
899
- this.parent("state").x,
900
- this.parent("state").y,
901
- this.parent("state").initialBinNum,
902
- this.parent("state").minBinNum_bp
903
- );
904
- this.dataMapper = new DetailDataMapper(this.hic, opts.error, opts.parent);
905
- this.coordinates = new DetailCoordinates(this.hic, this.errList);
906
- }
907
- renderCanvas(blockwidth) {
908
- 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");
909
- 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) => {
910
- const body = select_default(document.body);
911
- const x = event.clientX;
912
- const y = event.clientY;
913
- const oldx = Number.parseInt(this.canvas.style("left"));
914
- const oldy = Number.parseInt(this.canvas.style("top"));
915
- body.on("mousemove", (event2) => {
916
- const xoff = event2.clientX - x;
917
- const yoff = event2.clientY - y;
918
- this.xBlock.block.panning(xoff);
919
- this.yBlock.block.panning(yoff);
920
- this.canvas.style("left", `${oldx + xoff}px`).style("top", `${oldy + yoff}px`);
921
- });
922
- body.on("mouseup", (event2) => {
923
- body.on("mousemove", null).on("mouseup", null);
924
- const xoff = event2.clientX - x;
925
- const yoff = event2.clientY - y;
926
- this.xBlock.block.pannedby(xoff);
927
- this.yBlock.block.pannedby(yoff);
928
- });
929
- });
930
- }
931
- async render() {
932
- this.calcResolution = this.parent("calcResolution");
933
- const state = this.parent("state");
934
- this.xBlock = new DetailBlock(
935
- this.app,
936
- this.hic,
937
- state.settings.widthHeightPx,
938
- this.bbmargin,
939
- this.plotDiv.xAxis,
940
- false
941
- );
942
- this.yBlock = new DetailBlock(this.app, this.hic, state.settings.widthHeightPx, this.bbmargin, this.rotor, true);
943
- this.renderCanvas(state.settings.widthHeightPx);
944
- await this.xBlock.loadBlock(state.x, this.canvasHolder, this.canvas);
945
- await this.yBlock.loadBlock(state.y, this.canvasHolder, this.canvas, this.sheath);
946
- this.update(this.data);
947
- }
948
- async update(data) {
949
- if (data.items.length == 0) {
950
- this.app.dispatch({ type: "loading_active", active: false });
951
- return;
952
- }
953
- this.data = data;
954
- const state = this.parent("state");
955
- const initialWidth = Number.parseInt(this.canvas.attr("width"));
956
- const holderChange = Number.parseInt(this.canvasHolder.style("width")) - initialWidth + state.settings.widthHeightPx;
957
- this.canvasHolder.style("width", `${holderChange}px`).style("height", `${holderChange}px`);
958
- this.canvas.attr("width", `${state.settings.widthHeightPx}px`).attr("height", `${state.settings.widthHeightPx}px`);
959
- if (this.xBlock.block.width != state.settings.widthHeightPx) {
960
- this.xBlock.block.width = state.settings.widthHeightPx;
961
- this.yBlock.block.width = state.settings.widthHeightPx;
962
- this.xBlock.block.zoom2px(0, initialWidth);
963
- this.yBlock.block.zoom2px(0, initialWidth);
964
- }
965
- this.ctx = this.canvas.node().getContext("2d");
966
- const coords = this.coordinates.getCoordinates(
967
- state.x,
968
- state.y,
969
- this.parent("data"),
970
- this.parent("calcResolution"),
971
- state.settings.widthHeightPx,
972
- this.parent("fragData")
973
- );
974
- this.coords = coords;
975
- this.ctx.clearRect(0, 0, state.settings.widthHeightPx, state.settings.widthHeightPx);
976
- for (const [xCoord, yCoord, width, height, value] of this.coords) {
977
- this.colorizeElement.colorizeElement(
978
- xCoord,
979
- yCoord,
980
- value,
981
- this.ctx,
982
- width,
983
- height,
984
- this.parent("min"),
985
- this.parent("max"),
986
- "detail"
987
- );
988
- }
989
- this.app.dispatch({ type: "loading_active", active: false });
990
- }
991
- };
992
-
993
- // tracks/hic/axes/Chromosome.ts
994
- var Chromosome = class {
995
- constructor(chr, width) {
996
- this.label = chr;
997
- this.width = width;
998
- }
999
- };
1000
-
1001
- // tracks/hic/grid/Grid.ts
1002
- var Grid = class _Grid {
1003
- constructor(chrlst, resolution, chrlookup, binpx) {
1004
- this.chromosomeMatrix = /* @__PURE__ */ new Map();
1005
- this.chromosomeList = [];
1006
- this.xoff = 0;
1007
- this.yoff = 0;
1008
- this.chr2px = [];
1009
- this.chrlst = chrlst;
1010
- let totalpx = this.chrlst.length;
1011
- for (const chr of this.chrlst) {
1012
- const w = Math.ceil(chrlookup[chr.toUpperCase()].len / resolution) * binpx;
1013
- const chromosome = new Chromosome(chr, w);
1014
- this.chromosomeList.push(chromosome);
1015
- this.chr2px[chr] = w;
1016
- totalpx += w;
1017
- }
1018
- this.totalpx = totalpx;
1019
- for (let i = 0; i < this.chrlst.length; i++) {
1020
- const chrx = this.chrlst[i];
1021
- this.chromosomeMatrix.set(chrx, /* @__PURE__ */ new Map());
1022
- let yoff = 0;
1023
- for (let j = 0; j <= i; j++) {
1024
- const chry = this.chrlst[j];
1025
- const chrxChrLen = chrlookup[chrx.toUpperCase()].len;
1026
- const chryChrLen = chrlookup[chry.toUpperCase()].len;
1027
- const xbins = Math.ceil(chrxChrLen / resolution) * binpx;
1028
- const ybins = Math.ceil(chryChrLen / resolution) * binpx;
1029
- this.chromosomeMatrix.get(chrx).set(chry, {
1030
- x: this.xoff,
1031
- y: yoff,
1032
- xbins,
1033
- ybins,
1034
- data: []
1035
- //Empty array of data to fill later
1036
- });
1037
- yoff += this.chr2px[chry] + _Grid.borderWidth;
1038
- }
1039
- this.yoff = yoff;
1040
- this.xoff += this.chr2px[chrx] + _Grid.borderWidth;
1041
- }
1042
- }
1043
- static {
1044
- this.checkerFill = "#DEF3FA";
1045
- }
1046
- static {
1047
- this.spaceColor = "#CCC";
1048
- }
1049
- static {
1050
- this.fontSize = 15;
1051
- }
1052
- static {
1053
- this.font = font;
1054
- }
1055
- static {
1056
- this.borderWidth = 1;
1057
- }
1058
- static {
1059
- this.defaultChrLabWidth = 100;
1060
- }
1061
- };
1062
-
1063
- // tracks/hic/viewmodel/GridViewModel.ts
1064
- var GridViewModel = class {
1065
- constructor(opts) {
1066
- this.grid = new Grid(opts.hic.chrlst, opts.resolution || opts.hic.bpresolution[0], opts.hic.genome.chrlookup, 1);
1067
- }
1068
- };
1069
-
1070
- // tracks/hic/grid/GridRenderer.ts
1071
- var GridRenderer = class {
1072
- constructor(svg, layerMap, layerSv, grid) {
1073
- this.svg = svg;
1074
- this.layerMap = layerMap.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1075
- this.layerSv = layerSv.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1076
- this.grid = grid;
1077
- }
1078
- render() {
1079
- this.renderAxisX(this.grid);
1080
- this.renderAxisY(this.grid);
1081
- this.svg.attr("width", Grid.defaultChrLabWidth + this.grid.xoff).attr("height", Grid.fontSize + this.grid.yoff);
1082
- }
1083
- renderAxisX(grid) {
1084
- let xoff = 0;
1085
- this.grid.chromosomeList.forEach((chr, index) => {
1086
- const chrw = chr.width;
1087
- if (index % 2 === 0) {
1088
- this.layerMap.append("rect").attr("x", xoff).attr("width", chrw).attr("height", Grid.fontSize).attr("y", -Grid.fontSize).attr("fill", Grid.checkerFill);
1089
- }
1090
- 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);
1091
- xoff += chrw;
1092
- this.layerSv.append("line").attr("x1", xoff).attr("x2", xoff).attr("y2", grid.totalpx).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1093
- xoff += Grid.borderWidth;
1094
- });
1095
- }
1096
- renderAxisY(grid) {
1097
- let yoff = 0;
1098
- this.grid.chromosomeList.forEach((chr, index) => {
1099
- const chrh = chr.width;
1100
- if (index % 2 === 0) {
1101
- this.layerMap.append("rect").attr("x", -Grid.defaultChrLabWidth).attr("width", Grid.defaultChrLabWidth).attr("height", chrh).attr("y", yoff).attr("fill", Grid.checkerFill);
1102
- }
1103
- 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);
1104
- yoff += chrh;
1105
- this.layerSv.append("line").attr("x2", grid.totalpx).attr("y1", yoff).attr("y2", yoff).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1106
- yoff += Grid.borderWidth;
1107
- });
1108
- }
1109
- };
1110
-
1111
- // tracks/hic/genome/ChrsTooltips.ts
1112
- var ChrsTooltips = class {
1113
- constructor() {
1114
- this.chrx_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1115
- this.chry_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1116
- }
1117
- render(img, chrx, chry) {
1118
- const p = img.node().getBoundingClientRect();
1119
- 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);
1120
- 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);
1121
- }
1122
- };
1123
-
1124
- // tracks/hic/grid/GridElementRenderer.ts
1125
- var GridElementRenderer = class {
1126
- constructor(layerMap, app) {
1127
- this.app = app;
1128
- this.layerMap = layerMap;
1129
- this.tooltips = new ChrsTooltips();
1130
- }
1131
- render(obj, lead, follow, holder) {
1132
- obj.canvas = holder.append("canvas").style("display", "none").node();
1133
- obj.ctx = obj.canvas.getContext("2d");
1134
- obj.canvas.width = obj.xbins;
1135
- obj.canvas.height = obj.ybins;
1136
- 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 () => {
1137
- await this.app.dispatch({
1138
- type: "view_create",
1139
- view: "chrpair",
1140
- config: {
1141
- x: {
1142
- chr: lead
1143
- },
1144
- y: {
1145
- chr: follow
1146
- }
1147
- }
1148
- });
1149
- }).on("mouseover", () => {
1150
- this.tooltips.render(obj.img, lead, follow);
1151
- });
1152
- if (lead != follow) {
1153
- obj.canvas2 = holder.append("canvas").style("display", "none").node();
1154
- obj.canvas2.width = obj.ybins;
1155
- obj.canvas2.height = obj.xbins;
1156
- obj.ctx2 = obj.canvas2.getContext("2d");
1157
- 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 () => {
1158
- await this.app.dispatch({
1159
- type: "view_create",
1160
- view: "chrpair",
1161
- config: {
1162
- x: {
1163
- chr: follow
1164
- },
1165
- y: {
1166
- chr: lead
1167
- }
1168
- }
1169
- });
1170
- }).on("mouseover", () => {
1171
- this.tooltips.render(obj.img2, follow, lead);
1172
- });
1173
- } else {
1174
- obj.ctx2 = obj.ctx;
1175
- }
1176
- }
1177
- };
1178
-
1179
- // tracks/hic/grid/GridElementsRenderer.ts
1180
- var GridElementsRenderer = class {
1181
- constructor(grid, layerMap, app) {
1182
- this.grid = grid;
1183
- this.gridElementRenderer = new GridElementRenderer(layerMap, app);
1184
- }
1185
- render(holder) {
1186
- for (const [chrx, chryMap] of this.grid.chromosomeMatrix) {
1187
- for (const [chry, gridElem] of chryMap) {
1188
- this.gridElementRenderer.render(gridElem, chrx, chry, holder);
1189
- }
1190
- }
1191
- }
1192
- };
1193
-
1194
- // tracks/hic/genome/GenomeView.ts
1195
- var GenomeView = class {
1196
- constructor(opts) {
1197
- /** Dom */
1198
- this.tip = new Menu();
1199
- this.pica_x = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1200
- this.pica_y = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1201
- /** Data */
1202
- /** px width for each chr */
1203
- this.chr2px = {};
1204
- this.lead2follow = /* @__PURE__ */ new Map();
1205
- this.values = [];
1206
- /** Defaults */
1207
- this.defaultChrLabWidth = 100;
1208
- this.borderwidth = 1;
1209
- this.default_maxVPerc = 5;
1210
- this.fontsize = 15;
1211
- this.xoff = 0;
1212
- this.yoff = 0;
1213
- this.binpx = 1;
1214
- this.atdev_chrnum = 8;
1215
- this.min = 0;
1216
- this.max = 0;
1217
- this.app = opts.app;
1218
- this.hic = opts.hic;
1219
- this.plotDiv = opts.plotDiv;
1220
- this.data = opts.data;
1221
- this.parent = opts.parent;
1222
- this.resolution = opts.resolution || opts.hic.bpresolution[0];
1223
- this.svg = this.plotDiv.plot.append("svg").attr("data-testid", "sjpp-hic-genome-svg");
1224
- this.layer_map = this.svg.append("g").attr("data-testid", "sjpp-hic-layerMap-g");
1225
- this.layer_sv = this.svg.append("g").attr("data-testid", "sjpp-hic-layerSv-g");
1226
- this.colorizeElement = new ColorizeElement();
1227
- this.viewModel = new GridViewModel(opts);
1228
- this.viewRender = new GridRenderer(this.svg, this.layer_map, this.layer_sv, this.viewModel.grid);
1229
- this.gridElementsRenderer = new GridElementsRenderer(this.viewModel.grid, this.layer_map, this.app);
1230
- this.gridFormattedData = new GridElementsFormattedData();
1231
- }
1232
- makeSv() {
1233
- const unknownchr = /* @__PURE__ */ new Set();
1234
- const radius = 8;
1235
- for (const item of this.hic.sv.items) {
1236
- const _o = this.lead2follow.get(item.chr1);
1237
- if (!_o) {
1238
- unknownchr.add(item.chr1);
1239
- continue;
1240
- }
1241
- const obj = _o.get(item.chr2);
1242
- if (!obj) {
1243
- unknownchr.add(item.chr2);
1244
- continue;
1245
- }
1246
- const p1 = item.position1 / this.resolution;
1247
- const p2 = item.position2 / this.resolution;
1248
- 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) => {
1249
- this.tooltipSv(event, item);
1250
- }).on("mouseout", () => {
1251
- this.tip.hide();
1252
- }).on("click", () => {
1253
- this.clickSv(item);
1254
- });
1255
- if (obj.img2) {
1256
- 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) => {
1257
- this.tooltipSv(event, item);
1258
- }).on("mouseout", () => {
1259
- this.tip.hide();
1260
- }).on("click", () => {
1261
- this.clickSv(item);
1262
- });
1263
- }
1264
- }
1265
- }
1266
- tooltipSv(event, item) {
1267
- this.tip.clear().show(event.clientX, event.clientY).d.append("div").text(
1268
- item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`
1269
- );
1270
- }
1271
- clickSv(item) {
1272
- const default_svpointspan = 5e5;
1273
- const default_subpanelpxwidth = 600;
1274
- const subpanel_bordercolor = "rgba(200,0,0,.1)";
1275
- const pane = newpane({ x: 100, y: 100 });
1276
- pane.header.text(
1277
- this.hic.name + " " + (item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`)
1278
- );
1279
- const tracks = [
1280
- {
1281
- type: tkt.hicstraw,
1282
- file: this.hic.file,
1283
- enzyme: this.hic.enzyme,
1284
- maxpercentage: this.default_maxVPerc,
1285
- pyramidup: 1,
1286
- name: this.hic.name
1287
- }
1288
- ];
1289
- if (this.hic.tklst) {
1290
- for (const t of this.hic.tklst) {
1291
- tracks.push(t);
1292
- }
1293
- }
1294
- first_genetrack_tolist(this.hic.genome, tracks);
1295
- const arg = {
1296
- holder: pane.body,
1297
- hostURL: this.hic.hostURL,
1298
- jwt: this.hic.jwt,
1299
- genome: this.hic.genome,
1300
- nobox: 1,
1301
- tklst: tracks
1302
- };
1303
- if (item.chr1 == item.chr2 && Math.abs(item.position2 - item.position1) < default_svpointspan * 2) {
1304
- arg.chr = item.chr1;
1305
- const w = Math.abs(item.position2 - item.position1);
1306
- arg.start = Math.max(1, Math.min(item.position1, item.position2) - w);
1307
- arg.stop = Math.min(
1308
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1309
- Math.max(item.position1, item.position2) + w
1310
- );
1311
- } else {
1312
- arg.chr = item.chr1;
1313
- arg.start = Math.max(1, item.position1 - default_svpointspan / 2);
1314
- arg.stop = Math.min(
1315
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1316
- item.position1 + default_svpointspan / 2
1317
- );
1318
- arg.width = default_subpanelpxwidth;
1319
- arg.subpanels = [
1320
- {
1321
- chr: item.chr2,
1322
- start: Math.max(1, item.position2 - default_svpointspan / 2),
1323
- stop: Math.min(
1324
- this.hic.genome.chrlookup[item.chr2.toUpperCase()].len,
1325
- item.position2 + default_svpointspan / 2
1326
- ),
1327
- width: default_subpanelpxwidth,
1328
- leftpad: 10,
1329
- leftborder: subpanel_bordercolor
1330
- }
1331
- ];
1332
- }
1333
- blocklazyload(arg);
1334
- }
1335
- render() {
1336
- this.viewRender.render();
1337
- this.gridElementsRenderer.render(this.hic.holder);
1338
- if (this.hic.sv && this.hic.sv.items) {
1339
- this.makeSv();
1340
- }
1341
- this.update(this.data);
1342
- }
1343
- update(data) {
1344
- this.data = data;
1345
- this.min = this.parent("min");
1346
- this.max = this.parent("max");
1347
- for (const data2 of this.data) {
1348
- if (!this.hic.chrlst.includes(data2.lead) || !this.hic.chrlst.includes(data2.follow)) continue;
1349
- const obj = this.viewModel.grid.chromosomeMatrix.get(data2.lead).get(data2.follow);
1350
- if (!obj) continue;
1351
- obj.ctx.clearRect(0, 0, obj.canvas.width, obj.canvas.height);
1352
- if (obj.canvas2) {
1353
- obj.ctx2.clearRect(0, 0, obj.canvas2.width, obj.canvas.height);
1354
- }
1355
- obj.data = this.gridFormattedData.formatData("genome", data2.items, this.binpx, this.resolution);
1356
- for (const [xPx, yPx, value] of obj.data) {
1357
- this.colorizeElement.colorizeElement(xPx, yPx, value, obj, this.binpx, this.binpx, this.min, this.max, "genome");
1358
- }
1359
- obj.img.attr("xlink:href", obj.canvas.toDataURL());
1360
- if (obj.canvas2) {
1361
- obj.img2.attr("xlink:href", obj.canvas2.toDataURL());
1362
- }
1363
- }
1364
- this.app.dispatch({ type: "loading_active", active: false });
1365
- }
1366
- };
1367
-
1368
- // tracks/hic/controls/NormalizationMethodControl.ts
1369
- var NormalizationMethodControl = class {
1370
- constructor(holder, normalization, defaultNmeth, callback) {
1371
- this.holder = holder;
1372
- this.normalization = normalization;
1373
- this.defaultNmeth = defaultNmeth;
1374
- this.callback = callback;
1375
- }
1376
- render() {
1377
- if (!this.normalization?.length) {
1378
- this.nmethSelect = this.holder.text(this.defaultNmeth);
1379
- } else {
1380
- this.nmethSelect = this.holder.attr("data-testid", "sjpp-hic-nmeth-select").style("margin-right", "10px").append("select").on("change", async () => {
1381
- const nmeth = this.nmethSelect.node().value;
1382
- this.callback(nmeth, "nmeth");
1383
- });
1384
- for (const n of this.normalization) {
1385
- this.nmethSelect.append("option").text(n);
1386
- }
1387
- }
1388
- }
1389
- update(option) {
1390
- const options = this.nmethSelect.node().options;
1391
- if (!options) return;
1392
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1393
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1394
- selectedNmeth.selected = true;
1395
- }
1396
- };
1397
-
1398
- // tracks/hic/controls/CutoffControl.ts
1399
- var CutoffControl = class {
1400
- constructor(holder, value, callback) {
1401
- this.holder = holder;
1402
- this.value = value;
1403
- this.callback = callback;
1404
- }
1405
- render(opts) {
1406
- 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) => {
1407
- if (event.code != "Enter") return;
1408
- const v = event.target.value;
1409
- this.callback(v);
1410
- });
1411
- return cutoffDiv;
1412
- }
1413
- };
1414
-
1415
- // tracks/hic/controls/MatrixTypeControl.ts
1416
- var MatrixTypeControl = class {
1417
- constructor(holder, callback) {
1418
- this.values = [
1419
- { label: "Observed", value: "observed" },
1420
- { label: "Expected", value: "expected" },
1421
- { label: "Observed/Expected", value: "oe" },
1422
- { label: "Log(Observed/Expected)", value: "log(oe)" }
1423
- // TODO: add server side logic to support these options
1424
- // { label: 'Log(Observed + 1)', value: 'log(obs+1)'},
1425
- // { label: 'Observed Pearson', value: 'op'}
1426
- ];
1427
- this.holder = holder;
1428
- this.callback = callback;
1429
- }
1430
- render() {
1431
- this.matrixSelect = this.holder.attr("data-testid", "sjpp-hic-matrix-type-select").style("margin-right", "10px").append("select").on("change", async () => {
1432
- this.callback(this.matrixSelect.node().value, "matrixType");
1433
- });
1434
- for (const matrixType of this.values) {
1435
- this.matrixSelect.append("option").text(matrixType.label).attr("value", matrixType.value);
1436
- }
1437
- }
1438
- update(option) {
1439
- const options = this.matrixSelect.node().options;
1440
- if (!options) return;
1441
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1442
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1443
- selectedNmeth.selected = true;
1444
- }
1445
- };
1446
-
1447
- // tracks/hic/controls/ControlPanel.ts
1448
- var ControlPanel = class _ControlPanel {
1449
- constructor(opts) {
1450
- this.zoomBlockCallback = (bool) => {
1451
- const detailView = this.parent("detail");
1452
- detailView.xBlock.block.zoomblock(2, bool);
1453
- detailView.yBlock.block.zoomblock(2, bool);
1454
- };
1455
- this.minCallback = (v) => {
1456
- if (Number(v) > Number(this.parent("max"))) {
1457
- this.error("Min cutoff cannot be greater than max cutoff");
1458
- } else {
1459
- this.parent("min", Number(v));
1460
- this.reColorHeatmap();
1461
- this.parent("infoBar").update();
1462
- }
1463
- };
1464
- this.maxCallback = (v) => {
1465
- if (Number(v) < Number(this.parent("min"))) {
1466
- this.error(`Max cutoff cannot be less than min cutoff`);
1467
- } else if (Number(v) < 0) {
1468
- this.error(`Max cutoff cannot be less than 0`);
1469
- } else {
1470
- this.parent("max", Number(v));
1471
- this.reColorHeatmap();
1472
- this.parent("infoBar").update();
1473
- }
1474
- };
1475
- this.reColorHeatmap = () => {
1476
- if (this.parent("activeView") == "genome") {
1477
- const genomeView = this.parent("genome");
1478
- const chrMatrix = genomeView.viewRender.grid.chromosomeMatrix;
1479
- if (!chrMatrix) return;
1480
- for (const map of chrMatrix) {
1481
- const yMap = map[1];
1482
- for (const obj of yMap) {
1483
- const canvasObj = obj[1];
1484
- if (!canvasObj) continue;
1485
- for (const [leadpx, followpx, val] of canvasObj.data) {
1486
- this.colorizeElement.colorizeElement(
1487
- leadpx,
1488
- followpx,
1489
- val,
1490
- canvasObj,
1491
- 1,
1492
- 1,
1493
- this.parent("min"),
1494
- this.parent("max"),
1495
- "genome"
1496
- );
1497
- }
1498
- canvasObj.img.attr("xlink:href", canvasObj.canvas.toDataURL());
1499
- if (canvasObj.canvas2) {
1500
- canvasObj.img2.attr("xlink:href", canvasObj.canvas2.toDataURL());
1501
- }
1502
- }
1503
- }
1504
- } else if (this.parent("activeView") == "chrpair") {
1505
- const view = this.parent("chrpair");
1506
- for (const [xCoord, yCoord, val] of view.data) {
1507
- this.colorizeElement.colorizeElement(
1508
- xCoord,
1509
- yCoord,
1510
- val,
1511
- view.ctx,
1512
- view.binpx,
1513
- view.binpx,
1514
- this.parent("min"),
1515
- this.parent("max"),
1516
- "chrpair"
1517
- );
1518
- }
1519
- } else if (this.parent("activeView") == "detail") {
1520
- const view = this.parent("detail");
1521
- for (const [xCoord, yCoord, width, height, value] of view.coords) {
1522
- this.colorizeElement.colorizeElement(
1523
- xCoord,
1524
- yCoord,
1525
- value,
1526
- view.ctx,
1527
- width,
1528
- height,
1529
- this.parent("min"),
1530
- this.parent("max"),
1531
- "detail"
1532
- );
1533
- }
1534
- }
1535
- };
1536
- this.dropdownCallback = (v, prop) => {
1537
- const state = this.app.getState();
1538
- this.app.dispatch({
1539
- type: "view_update",
1540
- view: state.currView,
1541
- config: { [prop]: v }
1542
- });
1543
- };
1544
- this.type = _ControlPanel.type;
1545
- this.controls = {};
1546
- this.app = opts.app;
1547
- this.controlsDiv = opts.controlsDiv;
1548
- this.hic = opts.hic;
1549
- this.colorizeElement = new ColorizeElement();
1550
- this.parent = opts.parent;
1551
- this.error = opts.error;
1552
- }
1553
- static {
1554
- this.type = "controlPanel";
1555
- }
1556
- getState(appState) {
1557
- return appState;
1558
- }
1559
- addLabel(tr, text) {
1560
- return tr.append("td").style("color", "#858585").style("font-size", ".8em").style("vertical-align", text.toUpperCase() == "VIEW" ? "top" : "middle").text(text.toUpperCase());
1561
- }
1562
- init() {
1563
- const state = this.app.getState();
1564
- 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");
1565
- let menuVisible = true;
1566
- 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", () => {
1567
- menuVisible = !menuVisible;
1568
- menu.style("display", menuVisible ? "block" : "none");
1569
- });
1570
- const menu = menuWrapper.append("div").attr("class", "sjpp-hic-menu").attr("data-testid", "sjpp-hic-menu").style("display", menuVisible ? "block" : "none");
1571
- const menuTable = menu.append("table").style("border-spacing", "3px");
1572
- this.controls.normalizationRow = menuTable.append("tr");
1573
- this.addLabel(this.controls.normalizationRow, "NORMALIZATION");
1574
- this.controls.nmeth = new NormalizationMethodControl(
1575
- this.controls.normalizationRow.append("td").attr("class", "sjpp-nmeth-select"),
1576
- this.hic.normalization,
1577
- state.defaultNmeth,
1578
- this.dropdownCallback
1579
- );
1580
- this.controls.nmeth.render();
1581
- this.controls.minCutoffRow = menuTable.append("tr");
1582
- this.controls.minCutoffLabel = this.addLabel(this.controls.minCutoffRow, "");
1583
- this.controls.inputBpMinV = new CutoffControl(
1584
- this.controls.minCutoffRow.append("td"),
1585
- this.parent("min"),
1586
- this.minCallback
1587
- ).render({ width: "120px" });
1588
- this.controls.maxCutoffRow = menuTable.append("tr");
1589
- this.controls.maxCutoffLabel = this.addLabel(this.controls.maxCutoffRow, "");
1590
- this.controls.inputBpMaxV = new CutoffControl(
1591
- this.controls.maxCutoffRow.append("td"),
1592
- this.parent("max"),
1593
- this.maxCallback
1594
- ).render({ width: "120px" });
1595
- this.controls.matrixTypeRow = menuTable.append("tr");
1596
- this.addLabel(this.controls.matrixTypeRow, "matrix type");
1597
- this.controls.matrixType = new MatrixTypeControl(this.controls.matrixTypeRow.append("td"), this.dropdownCallback);
1598
- this.controls.matrixType.render();
1599
- this.controls.widthRow = menuTable.append("tr");
1600
- this.addLabel(this.controls.widthRow, "WIDTH / height");
1601
- this.controls.width = this.controls.widthRow.append("td");
1602
- 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) => {
1603
- if (event.code != "Enter") return;
1604
- const v = event.target.value;
1605
- this.app.dispatch({
1606
- type: "view_update",
1607
- config: {
1608
- settings: { widthHeightPx: Number.parseInt(v) }
1609
- }
1610
- });
1611
- });
1612
- const viewRow = menuTable.append("tr");
1613
- this.addLabel(viewRow, "VIEW");
1614
- const viewBtnDiv = viewRow.append("td");
1615
- this.controls.view = viewBtnDiv.append("span").attr("data-testid", "sjpp-hic-view-span").style("padding-right", "5px").style("display", "block");
1616
- 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 () => {
1617
- await this.app.dispatch({
1618
- type: "view_create",
1619
- view: "genome",
1620
- config: {
1621
- x: {},
1622
- y: {}
1623
- }
1624
- });
1625
- });
1626
- 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 () => {
1627
- const currState = this.app.getState();
1628
- await this.app.dispatch({
1629
- type: "view_create",
1630
- view: "chrpair",
1631
- config: {
1632
- x: {
1633
- chr: currState.x.chr
1634
- },
1635
- y: {
1636
- chr: currState.y.chr
1637
- }
1638
- }
1639
- });
1640
- });
1641
- 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 () => {
1642
- await this.app.dispatch({
1643
- type: "view_create",
1644
- view: "horizontal"
1645
- });
1646
- });
1647
- 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 () => {
1648
- await this.app.dispatch({
1649
- type: "view_create",
1650
- view: "detail"
1651
- });
1652
- });
1653
- this.controls.zoomDiv = menuTable.append("tr").attr("data-testid", "sjpp-hic-zoom-div").style("display", state.currView == "detail" ? "contents" : "none");
1654
- this.addLabel(this.controls.zoomDiv, "ZOOM");
1655
- const zoomDiv = this.controls.zoomDiv.append("td");
1656
- this.controls.zoomIn = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-in-btn").style("margin-right", "10px").text("In").on("click", () => {
1657
- this.zoomBlockCallback(false);
1658
- });
1659
- this.controls.zoomOut = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-out-btn").style("margin-right", "10px").text("Out").on("click", () => {
1660
- this.zoomBlockCallback(true);
1661
- });
1662
- }
1663
- showBtns() {
1664
- const state = this.app.getState();
1665
- this.controls.genomeViewBtn.style("display", state.currView === "genome" ? "none" : "inline-block");
1666
- if (state.currView === "detail") {
1667
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1668
- this.controls.horizontalViewBtn.style("display", "block");
1669
- this.controls.zoomDiv.style("display", "contents");
1670
- this.controls.detailViewBtn.style("display", "none");
1671
- } else if (state.currView === "horizontal") {
1672
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1673
- this.controls.detailViewBtn.style("display", "block");
1674
- this.controls.horizontalViewBtn.style("display", "none");
1675
- this.controls.zoomDiv.style("display", "none");
1676
- } else {
1677
- this.controls.chrpairViewBtn.style("display", "none");
1678
- this.controls.horizontalViewBtn.style("display", "none");
1679
- this.controls.detailViewBtn.style("display", "none");
1680
- this.controls.zoomDiv.style("display", "none");
1681
- this.controls.widthRow.style("display", "none");
1682
- }
1683
- }
1684
- showHideControls() {
1685
- const state = this.app.getState();
1686
- this.controls.normalizationRow.style("display", state.currView == "horizontal" ? "none" : "");
1687
- this.controls.minCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1688
- this.controls.maxCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1689
- this.controls.matrixTypeRow.style("display", state.currView == "horizontal" ? "none" : "");
1690
- this.controls.widthRow.style("display", state.currView == "detail" ? "contents" : "none");
1691
- }
1692
- main(appState) {
1693
- const state = this.app.getState(appState);
1694
- this.controls.nmeth.update(state[state.currView].nmeth);
1695
- this.controls.matrixType.update(state[state.currView].matrixType);
1696
- this.controls.zoomDiv.style("display", state.currView == "detail" ? "contents" : "none");
1697
- if (state.currView == "chrpair") {
1698
- this.controls.view.text(`${state.x.chr}-${state.y.chr} Pair`);
1699
- } else {
1700
- this.controls.view.text(state.currView.charAt(0).toUpperCase() + state.currView.slice(1));
1701
- }
1702
- const formatAbsMin = this.parent("absMin") < 1e-5 ? Number(this.parent("absMin")).toExponential(1) : Number(this.parent("absMin").toFixed(6));
1703
- const formatAbsMax = this.parent("absMax") < 1e-5 ? Number(this.parent("absMax")).toExponential(1) : Number(this.parent("absMax").toFixed(6));
1704
- this.controls.width.select("input").property("value", state.settings.widthHeightPx);
1705
- this.controls.inputBpMinV.property("value", this.parent("min"));
1706
- this.controls.inputBpMaxV.property("value", this.parent("max"));
1707
- this.controls.minCutoffLabel.html(`MIN CUTOFF <br>(>= ${formatAbsMin})`);
1708
- this.controls.maxCutoffLabel.html(`MAX CUTOFF <br>(<= ${formatAbsMax})`);
1709
- this.showBtns();
1710
- this.showHideControls();
1711
- }
1712
- };
1713
- var controlPanelInit = getCompInit(ControlPanel);
1714
-
1715
- // tracks/hic/dom/InfoBar.ts
1716
- var InfoBar = class {
1717
- constructor(opts) {
1718
- /** Defaults **/
1719
- //Color shown on the left of the color scale
1720
- this.startColor = "white";
1721
- //Color shown on the right of the color scale
1722
- this.endColor = "red";
1723
- this.addLabel = (text) => {
1724
- 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());
1725
- };
1726
- this.addValue = (text) => {
1727
- 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);
1728
- };
1729
- this.type = "infoBar";
1730
- this.app = opts.app;
1731
- this.hic = opts.hic;
1732
- const table = opts.infoBarDiv;
1733
- this.labelRow = table.append("tr");
1734
- this.valueRow = table.append("tr");
1735
- this.parent = opts.parent;
1736
- }
1737
- async render() {
1738
- this.addLabel("Version");
1739
- this.addValue(this.hic.version);
1740
- this.addLabel("Enzyme");
1741
- this.addValue(this.hic.enzyme || "N/A");
1742
- this.addLabel("Resolution");
1743
- this.resolutionDiv = this.addValue("");
1744
- this.colorScaleLabel = this.addLabel("Scale");
1745
- this.colorScaleDiv = this.valueRow.append("td").attr("data-testid", "sjpp-hic-color-scale");
1746
- const min = this.parent("min");
1747
- let max = this.parent("max");
1748
- if (min == max) max = max + 0.01;
1749
- this.colorScale = new ColorScale({
1750
- barheight: 20,
1751
- barwidth: 100,
1752
- domain: [min, max],
1753
- fontSize: 12,
1754
- height: 40,
1755
- width: 150,
1756
- holder: this.colorScaleDiv,
1757
- colors: [this.startColor, this.endColor],
1758
- position: "20,0",
1759
- ticks: 3,
1760
- tickSize: 5,
1761
- //Do not use min value here on initialization. It's 0 and will not update later.
1762
- markedValue: 1
1763
- });
1764
- }
1765
- update() {
1766
- const res = this.parent("calcResolution");
1767
- let resolutionText;
1768
- if (res < this.hic.bpresolution[this.hic.bpresolution.length - 1]) {
1769
- resolutionText = `${res} fragment${res > 1 ? "s" : ""}`;
1770
- } else {
1771
- resolutionText = bplen(res);
1772
- }
1773
- this.resolutionDiv.text(resolutionText);
1774
- if (this.parent("state").currView == "horizontal") {
1775
- this.colorScaleLabel.style("display", "none");
1776
- this.colorScaleDiv.style("display", "none");
1777
- } else {
1778
- this.colorScaleLabel.style("display", "");
1779
- this.colorScaleDiv.style("display", "");
1780
- const min = this.parent("min");
1781
- const max = this.parent("max");
1782
- if (min < 0) {
1783
- this.colorScale.colors = ["blue", "white", "red"];
1784
- this.colorScale.domain = [min, 0, max];
1785
- } else {
1786
- this.colorScale.colors = ["white", "red"];
1787
- this.colorScale.domain = [0, max];
1788
- }
1789
- this.colorScale.markedValue = min;
1790
- this.colorScale.updateScale();
1791
- }
1792
- }
1793
- };
1794
-
1795
- // tracks/hic/data/DataMapper.ts
1796
- var DataMapper = class {
1797
- constructor(hic, percentile) {
1798
- this.hic = hic;
1799
- this.percentile = percentile ? percentile / 100 : 0.99;
1800
- }
1801
- sortData(data) {
1802
- const vlst = [];
1803
- if (data?.items && data?.items.length) {
1804
- for (const i of data.items) {
1805
- vlst.push(i[2]);
1806
- }
1807
- } else {
1808
- const blankChrs = /* @__PURE__ */ new Set();
1809
- for (const d of data) {
1810
- if (d.lead == "chrM" && !d.items.length || d.lead == "chrY" && !d.items.length) {
1811
- blankChrs.add(d.lead);
1812
- continue;
1813
- }
1814
- for (const i of d.items) {
1815
- vlst.push(i[2]);
1816
- }
1817
- }
1818
- if (blankChrs.size) {
1819
- for (const c of blankChrs) {
1820
- const idx = this.hic.chrlst.indexOf(c);
1821
- this.hic.chrlst.splice(idx, 1);
1822
- }
1823
- }
1824
- }
1825
- const sortedVlst = vlst.sort((a, b) => a - b);
1826
- const max = sortedVlst[Math.floor(sortedVlst.length * this.percentile)];
1827
- const min = sortedVlst[0];
1828
- return [min, max, sortedVlst[sortedVlst.length - 1]];
1829
- }
1830
- };
1831
-
1832
- // tracks/hic/data/GenomeDataFetcher.ts
1833
- var GenomeDataFetcher = class {
1834
- constructor(hic, debugmode, errList = []) {
1835
- this.data = [];
1836
- this.hic = hic;
1837
- this.debugmode = debugmode;
1838
- this.errList = errList || [];
1839
- }
1840
- async getData(obj) {
1841
- if (this.data.length) this.data = [];
1842
- if (!obj?.matrixType) obj.matrixType = "observed";
1843
- try {
1844
- const res = await dofetch3("hicgenome?", {
1845
- method: "POST",
1846
- body: JSON.stringify({
1847
- chrlst: this.hic.chrlst,
1848
- nmeth: obj.nmeth,
1849
- resolution: obj.resolution,
1850
- matrixType: obj.matrixType,
1851
- file: this.hic.file,
1852
- url: this.hic.url,
1853
- nochr: this.hic.nochr
1854
- })
1855
- });
1856
- if (res.error) {
1857
- const errs = res.error.split("\n");
1858
- for (const e of errs) {
1859
- this.errList.push(e);
1860
- }
1861
- }
1862
- return res.data;
1863
- } catch (e) {
1864
- this.errList.push(e.message || e);
1865
- if (e.stack) console.error(e.stack);
1866
- }
1867
- }
1868
- };
1869
-
1870
- // tracks/hic/data/DataFetcher.ts
1871
- var DataFetcher = class {
1872
- constructor(hic, debugmode, errList = []) {
1873
- this.hic = hic;
1874
- this.debugmode = debugmode;
1875
- this.errList = errList || [];
1876
- }
1877
- async getData(obj) {
1878
- if (!obj?.matrixType) obj.matrixType = "observed";
1879
- const arg = {
1880
- matrixType: obj.matrixType,
1881
- file: this.hic.file,
1882
- url: this.hic.url,
1883
- pos1: this.hic.nochr ? obj.lead.replace("chr", "") : obj.lead,
1884
- pos2: this.hic.nochr ? obj.follow.replace("chr", "") : obj.follow,
1885
- nmeth: obj.nmeth,
1886
- resolution: obj.resolution
1887
- };
1888
- try {
1889
- const data = await dofetch3("hicdata?", {
1890
- method: "POST",
1891
- body: JSON.stringify(arg)
1892
- });
1893
- if (data.error) {
1894
- throw Error(`${obj.lead} - ${obj.follow}: ${data.error.error}`);
1895
- }
1896
- if (!data.items || data.items.length == 0) return;
1897
- return data;
1898
- } catch (e) {
1899
- this.errList.push(e.message || e);
1900
- if (e.stack) console.error(e.stack);
1901
- }
1902
- }
1903
- };
1904
-
1905
- // tracks/hic/HicComponent.ts
1906
- var HicComponent = class _HicComponent {
1907
- constructor(opts) {
1908
- this.genomeData = [];
1909
- this.calcResolution = null;
1910
- this.firstRender = true;
1911
- this.min = 0;
1912
- this.absMin = 0;
1913
- this.max = 0;
1914
- this.absMax = 0;
1915
- this.hasStatePreMain = true;
1916
- this.type = _HicComponent.type;
1917
- this.hic = opts.hic;
1918
- this.state = opts.state;
1919
- this.dom = opts.dom;
1920
- this.errList = opts.errList;
1921
- this.plotDiv = this.dom.plotDiv.append("table").classed("sjpp-hic-plot-main", true);
1922
- const tr1 = this.plotDiv.append("tr");
1923
- const tr2 = this.plotDiv.append("tr");
1924
- this.plotDiv = {
1925
- plot: tr1.append("td").classed("sjpp-hic-plot", true).attr("data-testid", "sjpp-hic-plot"),
1926
- yAxis: tr1.append("td").classed("sjpp-hic-plot-yaxis", true).attr("data-testid", "sjpp-hic-yaxis"),
1927
- xAxis: tr2.append("td").classed("sjpp-hic-plot-xaxis", true).attr("data-testid", "sjpp-hic-xaxis"),
1928
- blank: tr2.append("td")
1929
- };
1930
- this.app = opts.app;
1931
- this.dataMapper = new DataMapper(this.hic, opts.state.maxCutoffPercentile);
1932
- this.activeView = this.state.currView;
1933
- this.error = opts.error;
1934
- this.resolution = new Resolution(this.error);
1935
- this.parent = (prop) => {
1936
- return this[prop];
1937
- };
1938
- this.detailDataMapper = new DetailDataMapper(this.hic, this.errList, this.parent);
1939
- }
1940
- static {
1941
- this.type = "view";
1942
- }
1943
- getState(appState) {
1944
- return appState;
1945
- }
1946
- reactsTo(action) {
1947
- if (action.type.startsWith("view")) return true;
1948
- else return false;
1949
- }
1950
- initView() {
1951
- const opts = {
1952
- plotDiv: this.plotDiv,
1953
- hic: this.hic,
1954
- app: this.app,
1955
- parent: (prop) => {
1956
- return this[prop];
1957
- }
1958
- };
1959
- if (this.state.currView == "genome") {
1960
- opts["data"] = this.data;
1961
- this.genome = new GenomeView(opts);
1962
- this.genome.render();
1963
- } else if (this.state.currView === "chrpair") {
1964
- opts["items"] = this.data;
1965
- this.chrpair = new ChrPairView(opts);
1966
- this.chrpair.render();
1967
- } else if (this.state.currView === "detail") {
1968
- opts["data"] = this.data;
1969
- this.detail = new DetailView(opts);
1970
- this.detail.render();
1971
- } else if (this.state.currView === "horizontal") {
1972
- this.horizontal = new HorizontalView(opts);
1973
- this.horizontal.render();
1974
- } else {
1975
- throw Error(`Unknown view: ${this.state.currView}`);
1976
- }
1977
- }
1978
- async fetchData(obj) {
1979
- if (this.data?.length) this.data = [];
1980
- if (this.state.currView == "genome") {
1981
- if (this.activeView != "genome" && this.genomeData?.length) this.data = this.genomeData;
1982
- else {
1983
- const genomeFetcher = new GenomeDataFetcher(this.hic, true, this.errList);
1984
- this.genomeData = await genomeFetcher.getData(obj);
1985
- this.data = this.genomeData;
1986
- }
1987
- } else if (this.state.currView == "detail") {
1988
- this.data = await this.detailDataMapper.getData(this.state.x, this.state.y, this.fragData);
1989
- } else {
1990
- if (!this.state?.x?.chr || !this.state?.y?.chr) {
1991
- this.errList.push(`No positions provided for ${this.activeView} view.`);
1992
- return;
1993
- } else {
1994
- const chrx = this.state.x;
1995
- const chry = this.state.y;
1996
- obj["lead"] = `${chrx.start && chrx.stop ? `${chrx.chr}:${chrx.start}-${chrx.stop}` : chrx.chr}`;
1997
- obj["follow"] = `${chry.start && chry.stop ? `${chry.chr}:${chry.start}-${chry.stop}` : chry.chr}`;
1998
- }
1999
- const dataFetcher = new DataFetcher(this.hic, true, this.errList);
2000
- this.data = await dataFetcher.getData(obj);
2001
- }
2002
- }
2003
- async setResolution(appState) {
2004
- const state = this.app.getState(appState);
2005
- this.calcResolution = this.resolution.getResolution(state, this.hic);
2006
- if (state.currView == "detail" && this.calcResolution == null) {
2007
- await this.detailDataMapper.getFragData(state.x, state.y);
2008
- this.fragData = this.detailDataMapper.frag;
2009
- const maxFragSpan = Math.min(
2010
- this.fragData.x.stop - this.fragData.x.start,
2011
- this.fragData.y.stop - this.fragData.y.start
2012
- );
2013
- this.calcResolution = this.resolution.findResFromArray(
2014
- maxFragSpan,
2015
- state.minFragSpan,
2016
- this.hic.fragresolution,
2017
- true
2018
- );
2019
- } else {
2020
- this.fragData = null;
2021
- }
2022
- return this.calcResolution;
2023
- }
2024
- async setDataArgs(appState) {
2025
- const state = this.app.getState(appState);
2026
- const currView = state[state.currView];
2027
- const args = {
2028
- nmeth: currView.nmeth,
2029
- resolution: await this.setResolution(appState),
2030
- matrixType: currView.matrixType
2031
- };
2032
- if (state.currView == "chrpair") {
2033
- args["lead"] = state.x.chr;
2034
- args["follow"] = state.y.chr;
2035
- }
2036
- return args;
2037
- }
2038
- async getViewData(appState) {
2039
- const args = await this.setDataArgs(appState);
2040
- await this.fetchData(args);
2041
- if (this.data?.length > 0 || this.data?.items?.length > 0) {
2042
- const [min, max, absMax] = this.dataMapper.sortData(this.data);
2043
- this.min = this.absMin = min;
2044
- this.max = max;
2045
- this.absMax = absMax;
2046
- } else {
2047
- if (this.state.currView != "genome") {
2048
- const state = this.app.getState(appState);
2049
- const xPosMessage = state.x?.start ? `${state.x.chr}:${state.x.start}-${state.x.stop}` : state.x.chr;
2050
- const yPosMessage = state.y?.start ? `${state.y.chr}:${state.y.start}-${state.y.stop}` : state.y.chr;
2051
- this.errList.push(`No data returned for ${xPosMessage} and ${yPosMessage}`);
2052
- }
2053
- }
2054
- }
2055
- async init() {
2056
- this.components = {
2057
- controls: await controlPanelInit({
2058
- app: this.app,
2059
- controlsDiv: this.dom.controlsDiv,
2060
- hic: this.hic,
2061
- parent: (prop, value) => {
2062
- if (value) this[prop] = value;
2063
- return this[prop];
2064
- },
2065
- error: this.error.bind(this)
2066
- })
2067
- };
2068
- this.infoBar = new InfoBar({
2069
- app: this.app,
2070
- infoBarDiv: this.dom.infoBarDiv.append("table").style("border-spacing", "3px"),
2071
- hic: this.hic,
2072
- parent: (prop) => {
2073
- return this[prop];
2074
- }
2075
- });
2076
- this.infoBar.render();
2077
- }
2078
- async main(appState) {
2079
- if (this.errList.length) {
2080
- this.app.dispatch({ type: "loading_active", active: false });
2081
- return;
2082
- }
2083
- const state = this.app.getState(appState);
2084
- if (this.firstRender == true) {
2085
- this.firstRender = false;
2086
- await this.getViewData(appState);
2087
- this.initView();
2088
- } else {
2089
- if (state.currView != "horizontal") {
2090
- this.app.dispatch({ type: "loading_active", active: true });
2091
- await this.getViewData(appState);
2092
- }
2093
- if (this.activeView != state.currView) {
2094
- if (this.activeView == "genome") {
2095
- this.genome.svg.remove();
2096
- } else {
2097
- this.plotDiv.xAxis.selectAll("*").remove();
2098
- this.plotDiv.yAxis.selectAll("*").remove();
2099
- this.plotDiv.plot.selectAll("*").remove();
2100
- }
2101
- this.activeView = state.currView;
2102
- this.initView();
2103
- } else {
2104
- this[state.currView].update(this.data);
2105
- }
2106
- }
2107
- this.infoBar.update();
2108
- if (this.errList.length) {
2109
- this.error(this.errList);
2110
- this.app.dispatch({ type: "loading_active", active: false });
2111
- }
2112
- }
2113
- };
2114
- var viewCompInit = getCompInit(HicComponent);
2115
-
2116
- // tracks/hic/HicApp.ts
2117
- var HicApp = class _HicApp extends AppBase {
2118
- constructor(opts) {
2119
- super(opts);
2120
- this.views = ["genome", "chrpair", "detail", "horizontal"];
2121
- this.errList = [];
2122
- /** Required for rx but not in use */
2123
- this.wasDestroyed = false;
2124
- this.type = _HicApp.type;
2125
- this.hic = {
2126
- enzyme: opts.enzyme,
2127
- file: opts.file,
2128
- url: opts.url,
2129
- genome: opts.genome,
2130
- holder: opts.holder,
2131
- hostUrl: opts.hostUrl,
2132
- jwt: opts.jwt,
2133
- position1: opts.position1,
2134
- position2: opts.position2,
2135
- maxCutoffPercentile: opts.maxCutoffPercentile,
2136
- name: "name" in opts ? opts.name : "Hi-C",
2137
- tklist: "tklst" in opts ? opts.tklst : [],
2138
- state: "state" in opts ? opts.state : {}
2139
- };
2140
- this.dom = {
2141
- errorDiv: opts.holder.append("div").classed("sjpp-hic-error", true),
2142
- controlsDiv: opts.holder.append("div").classed("sjpp-hic-controls", true).style("display", "inline-block"),
2143
- 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"),
2144
- loadingDiv: select_default("body").append("div").attr("id", "sjpp-loading-overlay"),
2145
- plotDiv: opts.holder.append("div").classed("sjpp-hic-main", true).style("display", "inline-block"),
2146
- tip: new Menu()
2147
- };
2148
- }
2149
- static {
2150
- this.type = "app";
2151
- }
2152
- async error(err) {
2153
- if (err && typeof err == "string") this.errList.push(err);
2154
- showErrorsWithCounter(this.errList, this.dom.errorDiv);
2155
- this.errList = [];
2156
- }
2157
- determineView() {
2158
- if (!this.hic.position1 && !this.hic.position2 && !this.hic.state.currView) this.hic.state.currView = "genome";
2159
- if (!this.hic.position1 && this.hic.position2) this.errList.push("Missing first position");
2160
- if (this.hic.position1 && !this.hic.position2) this.errList.push("Missing second position");
2161
- if (this.hic.position1 && this.hic.position2) {
2162
- const pos1 = this.hic.position1.split(/[:-]/);
2163
- const pos2 = this.hic.position2.split(/[:-]/);
2164
- this.hic.state.x = { chr: pos1[0] };
2165
- this.hic.state.y = { chr: pos2[0] };
2166
- if (!Number.isNaN(+pos1[1]) && !Number.isNaN(+pos1[2])) {
2167
- this.hic.state.x.start = +pos1[1];
2168
- this.hic.state.x.stop = +pos1[2];
2169
- this.hic.state.y.start = +pos2[1];
2170
- this.hic.state.y.stop = +pos2[2];
2171
- this.hic.state.currView = "detail";
2172
- } else {
2173
- this.hic.state.currView = "chrpair";
2174
- }
2175
- } else {
2176
- if (!this.views.some((v) => v === this.hic.state.currView)) this.error(`Unknown view: ${this.hic.state.currView}`);
2177
- else return this.hic.state.currView;
2178
- }
2179
- }
2180
- getViewsConfig() {
2181
- if (this.hic.maxCutoffPercentile) this.hic.state.maxCutoffPercentile = this.hic.maxCutoffPercentile;
2182
- let nmeth;
2183
- if (this.hic["normalization"]?.length > 0) {
2184
- if (!this.hic["normalization"].includes("NONE")) this.hic["normalization"].unshift("NONE");
2185
- nmeth = this.hic["normalization"][0];
2186
- } else {
2187
- nmeth = "NONE";
2188
- }
2189
- if (this.hic.state.currView) {
2190
- if (!this.hic.state[this.hic.state.currView]) this.hic.state[this.hic.state.currView] = {};
2191
- if (!this.hic.state[this.hic.state.currView]?.matrixType) {
2192
- this.hic.state[this.hic.state.currView].matrixType = "observed";
2193
- }
2194
- if (!this.hic.state[this.hic.state.currView]?.nmeth) {
2195
- this.hic.state[this.hic.state.currView].nmeth = nmeth;
2196
- }
2197
- }
2198
- for (const v of this.views) {
2199
- if (!this.hic.state[v]) {
2200
- this.hic.state[v] = {
2201
- matrixType: "observed",
2202
- nmeth
2203
- };
2204
- }
2205
- }
2206
- }
2207
- async init() {
2208
- this.determineView();
2209
- try {
2210
- await hicParseFile(this.hic, true, this.errList);
2211
- this.getViewsConfig();
2212
- this.store = await hicStoreInit({ app: this.api, state: this.hic.state });
2213
- this.state = await this.store.copyState();
2214
- this.components = {
2215
- loadingOverlay: await loadingInit({
2216
- app: this.api,
2217
- loadingDiv: this.dom.loadingDiv
2218
- }),
2219
- view: await viewCompInit({
2220
- app: this.api,
2221
- state: this.state,
2222
- dom: this.dom,
2223
- hic: this.hic,
2224
- errList: this.errList,
2225
- error: this.error
2226
- })
2227
- };
2228
- await this.api.dispatch();
2229
- } catch (e) {
2230
- console.error(e.stack || e);
2231
- }
2232
- }
2233
- main() {
2234
- if (this.errList.length) {
2235
- this.error(this.errList);
2236
- this.dom.loadingDiv.style("display", "none");
2237
- return;
2238
- }
2239
- }
2240
- };
2241
- var hicInit = getAppInit(HicApp);
2242
- export {
2243
- hicInit
2244
- };
2245
- //# sourceMappingURL=HicApp-73ESVNBA.js.map