@sjcrh/proteinpaint-client 2.192.0 → 2.194.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (908) hide show
  1. package/dist/2dmaf-HS37GJYM.js +1373 -0
  2. package/dist/AIProjectAdmin-V5NVBBOA.js +958 -0
  3. package/dist/AppHeader-VIQ2VZPI.js +835 -0
  4. package/dist/BoxPlot-J7DPHT2N.js +1217 -0
  5. package/dist/CorrelationVolcano-ZHP7IPFD.js +619 -0
  6. package/dist/DE-VW4MQHYP.js +95 -0
  7. package/dist/DEinput-2EKXGUP3.js +301 -0
  8. package/dist/DifferentialAnalysis-H7LZWEIL.js +245 -0
  9. package/dist/Disco-5AA67AO5.js +3297 -0
  10. package/dist/Disco.UI-K4RBVRJP.js +249 -0
  11. package/dist/DmrPlot-RVJUKBOB.js +642 -0
  12. package/dist/GB-TA5LQGX6.js +1353 -0
  13. package/dist/GB-TA5LQGX6.js.map +7 -0
  14. package/dist/GeneExpInput-HHOIK6X7.js +367 -0
  15. package/dist/HicApp-YTQNK5DC.js +2250 -0
  16. package/dist/IDCViewer-T74AFWY3.js +10455 -0
  17. package/dist/IDCViewer-T74AFWY3.js.map +7 -0
  18. package/dist/NumBinaryEditor-ICZCNBRL.js +271 -0
  19. package/dist/NumBinaryEditor.unit.spec-WDJPDAVT.js +286 -0
  20. package/dist/NumContEditor-5KEM54CE.js +109 -0
  21. package/dist/NumContEditor.unit.spec-WG5QKOD3.js +169 -0
  22. package/dist/NumCustomBinEditor-MGHR7VQT.js +38 -0
  23. package/dist/NumCustomBinEditor.unit.spec-JWSHEIJJ.js +284 -0
  24. package/dist/NumDiscreteEditor-XT2GSGUR.js +179 -0
  25. package/dist/NumDiscreteEditor.unit.spec-DSCWGYBS.js +202 -0
  26. package/dist/NumRegularBinEditor-JMDBM5PU.js +38 -0
  27. package/dist/NumRegularBinEditor.unit.spec-BWRP6OO2.js +227 -0
  28. package/dist/NumSplineEditor-QJNRSORC.js +198 -0
  29. package/dist/NumSplineEditor.unit.spec-CXBTVND4.js +199 -0
  30. package/dist/NumericDensity-XQWCBSGT.js +38 -0
  31. package/dist/NumericDensity.unit.spec-7JS5R3AZ.js +221 -0
  32. package/dist/NumericHandler-QXXBEJC3.js +39 -0
  33. package/dist/NumericHandler.unit.spec-SRQJQVPP.js +219 -0
  34. package/dist/ProteomeInput-E4MJLAKF.js +396 -0
  35. package/dist/RunChart2-N6S7HBXV.js +758 -0
  36. package/dist/SC-RQ32A4YB.js +1127 -0
  37. package/dist/SC-RQ32A4YB.js.map +7 -0
  38. package/dist/Volcano-OHJPYZQE.js +1379 -0
  39. package/dist/WSIViewer-SAKVU52Z.js +48562 -0
  40. package/dist/WsiSamplesPlot-QV5GFFCR.js +165 -0
  41. package/dist/adSandbox-IE7TOJUE.js +38 -0
  42. package/dist/animatedBubbleChart-ZNEDQND3.js +555 -0
  43. package/dist/app-7MRKEE2J.js +49 -0
  44. package/dist/app-QIBNB4AA.js +37 -0
  45. package/dist/app.js +15 -15
  46. package/dist/bam-OBS5ULFF.js +860 -0
  47. package/dist/barchart-2RVEEMPK.js +47 -0
  48. package/dist/barchart.data-7OI5GZZ6.js +22 -0
  49. package/dist/barchart.events-AASSQL3J.js +47 -0
  50. package/dist/barchart.integration.spec-UU2ARJS5.js +2010 -0
  51. package/dist/barchart.integration.spec-UU2ARJS5.js.map +7 -0
  52. package/dist/barchart2-TUBYGLMC.js +314 -0
  53. package/dist/block-BYXWS7H7.js +6226 -0
  54. package/dist/block.init-QOAPDKCC.js +38 -0
  55. package/dist/block.mds.expressionrank-Q46AAYOA.js +359 -0
  56. package/dist/block.mds.geneboxplot-IC26RT7L.js +828 -0
  57. package/dist/block.mds.junction-RIUZIBFB.js +1545 -0
  58. package/dist/block.mds.svcnv-GUB2TTXQ.js +6801 -0
  59. package/dist/block.svg-I4NHMOEJ.js +164 -0
  60. package/dist/block.tk.aicheck-X57EGAOB.js +283 -0
  61. package/dist/block.tk.ase-JMBKBZAH.js +365 -0
  62. package/dist/block.tk.bam-6UAEWVVD.js +1906 -0
  63. package/dist/block.tk.bedgraphdot-7QSRLAJ7.js +384 -0
  64. package/dist/block.tk.bigwig.ui-SBD6S5SA.js +212 -0
  65. package/dist/block.tk.hicstraw-LIGPTMX7.js +823 -0
  66. package/dist/block.tk.junction-X6HFXKW7.js +2364 -0
  67. package/dist/block.tk.junction.textmatrixui-XJIUGHAX.js +199 -0
  68. package/dist/block.tk.ld-OZVW7LSL.js +99 -0
  69. package/dist/block.tk.menu-B2CEZAYR.js +1029 -0
  70. package/dist/block.tk.pgv-XAAQBQQE.js +944 -0
  71. package/dist/brainImaging-KFKM3XWD.js +423 -0
  72. package/dist/brainRegions-ZHKXILK7.js +221 -0
  73. package/dist/bubbleHeatmap-75N23URG.js +383 -0
  74. package/dist/bubbleHeatmap-75N23URG.js.map +7 -0
  75. package/dist/chunk-2IITC4V5.js +617 -0
  76. package/dist/chunk-2P3U6XTF.js +2327 -0
  77. package/dist/chunk-35UCHCOQ.js +54 -0
  78. package/dist/chunk-3LYZMOLO.js +58 -0
  79. package/dist/chunk-4E6HJ4ZW.js +98 -0
  80. package/dist/chunk-57LW6RUM.js +129 -0
  81. package/dist/chunk-5CR24RTX.js +381 -0
  82. package/dist/chunk-5DHRDF2Y.js +216 -0
  83. package/dist/chunk-5POMWXDZ.js +117 -0
  84. package/dist/chunk-5QTJUPFS.js +26 -0
  85. package/dist/chunk-5X5LI5YM.js +254 -0
  86. package/dist/chunk-67QZRGIJ.js +148 -0
  87. package/dist/chunk-6G4YOMWW.js +1825 -0
  88. package/dist/chunk-6RKL2FLA.js +14 -0
  89. package/dist/chunk-6YJCBK4J.js +2681 -0
  90. package/dist/chunk-7K6LTROG.js +190 -0
  91. package/dist/chunk-7K6LTROG.js.map +7 -0
  92. package/dist/chunk-7KRS7L4U.js +1443 -0
  93. package/dist/chunk-ADAKSWID.js +399 -0
  94. package/dist/chunk-ANKGIHCM.js +34 -0
  95. package/dist/chunk-AUP7W7MK.js +343 -0
  96. package/dist/chunk-AXKUVSXP.js +448 -0
  97. package/dist/chunk-AXKUVSXP.js.map +7 -0
  98. package/dist/chunk-B4QM73WG.js +222 -0
  99. package/dist/chunk-BKPV67UA.js +299 -0
  100. package/dist/chunk-BKPV67UA.js.map +7 -0
  101. package/dist/chunk-BMOB36XM.js +226 -0
  102. package/dist/chunk-BMOB36XM.js.map +7 -0
  103. package/dist/chunk-C6YT5EM2.js +217 -0
  104. package/dist/chunk-CD3VY5WW.js +1943 -0
  105. package/dist/chunk-CDUNE45Q.js +534 -0
  106. package/dist/chunk-COYULNJF.js +119 -0
  107. package/dist/chunk-DNVSEW6P.js +170 -0
  108. package/dist/chunk-EC3SKPQT.js +446 -0
  109. package/dist/chunk-F47X3VUC.js +95 -0
  110. package/dist/chunk-G2DLWJCB.js +37 -0
  111. package/dist/chunk-I4G4FXLO.js +302 -0
  112. package/dist/chunk-I73KUUYG.js +287 -0
  113. package/dist/chunk-INU357UG.js +230 -0
  114. package/dist/chunk-IVXCWCKS.js +317 -0
  115. package/dist/chunk-IVXCWCKS.js.map +7 -0
  116. package/dist/chunk-IZ3BPOTQ.js +833 -0
  117. package/dist/chunk-J5GTIQTL.js +2833 -0
  118. package/dist/chunk-J5GTIQTL.js.map +7 -0
  119. package/dist/chunk-JBI6P3UX.js +55 -0
  120. package/dist/chunk-JRDHTECQ.js +234 -0
  121. package/dist/chunk-JRZZ6GN3.js +102 -0
  122. package/dist/chunk-KM4JBR26.js +815 -0
  123. package/dist/chunk-KXRTPE65.js +158 -0
  124. package/dist/chunk-L5C3B7PS.js +1220 -0
  125. package/dist/chunk-L5C3B7PS.js.map +7 -0
  126. package/dist/chunk-LHNKTWFL.js +5067 -0
  127. package/dist/chunk-LHNKTWFL.js.map +7 -0
  128. package/dist/chunk-LSWU6EAQ.js +31 -0
  129. package/dist/chunk-MCYVUHEZ.js +1230 -0
  130. package/dist/chunk-MCYVUHEZ.js.map +7 -0
  131. package/dist/chunk-N6QEVQZV.js +194 -0
  132. package/dist/chunk-NLQQIVTC.js +276 -0
  133. package/dist/chunk-O4VKIC66.js +1275 -0
  134. package/dist/chunk-OWPBE2LB.js +263 -0
  135. package/dist/chunk-PWUERAAF.js +182 -0
  136. package/dist/chunk-QFSSC5VW.js +176 -0
  137. package/dist/chunk-RHGAE6PY.js +20888 -0
  138. package/dist/chunk-RHGAE6PY.js.map +7 -0
  139. package/dist/chunk-T46LHXJW.js +283 -0
  140. package/dist/chunk-T4CFXTIG.js +100 -0
  141. package/dist/chunk-T5UGVJCK.js +102 -0
  142. package/dist/chunk-TJCRAFKM.js +448 -0
  143. package/dist/chunk-TNF2LHJR.js +142 -0
  144. package/dist/chunk-U4IYNHVD.js +6364 -0
  145. package/dist/chunk-UAOPKEMR.js +482 -0
  146. package/dist/chunk-UFGV7554.js +736 -0
  147. package/dist/chunk-UV66X5JN.js +291 -0
  148. package/dist/chunk-VC642GDC.js +54 -0
  149. package/dist/chunk-VDIVDU3T.js +386 -0
  150. package/dist/chunk-VNF7DC36.js +1289 -0
  151. package/dist/chunk-VOGPIAQL.js +477 -0
  152. package/dist/chunk-VZOTKHPM.js +272 -0
  153. package/dist/chunk-YAU2Z6EN.js +4269 -0
  154. package/dist/chunk-YNAPHPMG.js +368 -0
  155. package/dist/chunk-YP2LHXFC.js +514 -0
  156. package/dist/chunk-YWF7GHUW.js +50 -0
  157. package/dist/chunk-YYZQMJLW.js +2786 -0
  158. package/dist/chunk-ZBEJVZMY.js +203 -0
  159. package/dist/chunk-ZZLBK6P6.js +1102 -0
  160. package/dist/condition-MP65K762.js +332 -0
  161. package/dist/controls-HKHMEWC7.js +41 -0
  162. package/dist/controls.config-LUPIT34L.js +39 -0
  163. package/dist/correlation-5UTW6EEI.js +102 -0
  164. package/dist/cuminc-LLUR2FLL.js +1149 -0
  165. package/dist/cuminc.integration.spec-CH5UZTIM.js +678 -0
  166. package/dist/customdata.inputui-6IGE5HCZ.js +289 -0
  167. package/dist/dataDownload-MCE2OJGZ.js +330 -0
  168. package/dist/dataDownload.integration.spec-VETU75VQ.js +193 -0
  169. package/dist/databrowser.ui-3BRSJHIW.js +433 -0
  170. package/dist/dictionary-UV43XQAU.js +118 -0
  171. package/dist/dnaMethylation-QDE3S4TV.js +38 -0
  172. package/dist/dnaMethylation.integration.spec-JBHJE47S.js +203 -0
  173. package/dist/dofetch-BMSZZAAQ.js +51 -0
  174. package/dist/e2pca-JMH74VN4.js +350 -0
  175. package/dist/ep-NDT7C2IT.js +1256 -0
  176. package/dist/expclust.gdc.spec-GZ3XLPHA.js +307 -0
  177. package/dist/facet-ABIWCCVT.js +521 -0
  178. package/dist/forms2-DRRRLG4I.js +539 -0
  179. package/dist/gb-EFZ62HCR.js +88 -0
  180. package/dist/geneExpClustering-CKH6M6KK.js +249 -0
  181. package/dist/geneExpression-CNKX7XVX.js +38 -0
  182. package/dist/geneExpression-P2ERCRXO.js +313 -0
  183. package/dist/geneExpression.unit.spec-7UJB43L3.js +102 -0
  184. package/dist/geneORA-TZOSNGRJ.js +278 -0
  185. package/dist/geneRanking-26GDRALC.js +551 -0
  186. package/dist/geneVariant-2DHMJUJL.js +39 -0
  187. package/dist/geneVariant-FOKRLND3.js +41 -0
  188. package/dist/geneVariant.integration.spec-XXNSWUOR.js +198 -0
  189. package/dist/genefusion.ui-ZJBKC2RH.js +309 -0
  190. package/dist/geneset-6FN5BFP3.js +208 -0
  191. package/dist/genomeBrowser.spec-QLHJYDRZ.js +281 -0
  192. package/dist/grin2-DR7XJIAS.js +968 -0
  193. package/dist/grin2-DR7XJIAS.js.map +7 -0
  194. package/dist/grin2-QOOJBELM.js +75 -0
  195. package/dist/grin2-QOOJBELM.js.map +7 -0
  196. package/dist/gsea-6YBRMGOC.js +47 -0
  197. package/dist/hierCluster-B3TULT27.js +59 -0
  198. package/dist/hierCluster-NF75B7MZ.js +63 -0
  199. package/dist/hierCluster.config-TEFI7M4K.js +40 -0
  200. package/dist/hierCluster.integration.spec-IUK6Q5SQ.js +395 -0
  201. package/dist/hierCluster.interactivity-MPD4AV4D.js +54 -0
  202. package/dist/hierCluster.renderers-4XWKHCNW.js +21 -0
  203. package/dist/imagePlot-HNJDBPO4.js +163 -0
  204. package/dist/importPlot-OBS55TCA.js +8 -0
  205. package/dist/isoformExpression-K4QIYBZR.js +40 -0
  206. package/dist/isoformExpression.unit.spec-INB6655U.js +208 -0
  207. package/dist/launch.adhoc-VDXES33R.js +42 -0
  208. package/dist/leftlabel.sample-R6IXXFZT.js +264 -0
  209. package/dist/leftlabel.sample-R6IXXFZT.js.map +7 -0
  210. package/dist/lollipop-O3XJC7BR.js +171 -0
  211. package/dist/maf-GLZ7KCDP.js +452 -0
  212. package/dist/maftimeline-Q4YPFSZP.js +593 -0
  213. package/dist/matrix-KVTQNDRZ.js +63 -0
  214. package/dist/matrix-QDHUX4QD.js +58 -0
  215. package/dist/matrix.cells-ED6RS5EC.js +28 -0
  216. package/dist/matrix.config-B65UXJNA.js +41 -0
  217. package/dist/matrix.data-KQFMXWRX.js +25 -0
  218. package/dist/matrix.groups-RE74EFLY.js +27 -0
  219. package/dist/matrix.integration.spec-2ITZRE4N.js +3072 -0
  220. package/dist/matrix.interactivity-3RF4YOAP.js +42 -0
  221. package/dist/matrix.layout-ERVRJAK2.js +44 -0
  222. package/dist/matrix.legend-ZST44PIB.js +22 -0
  223. package/dist/matrix.renderers-HNEUKUGS.js +38 -0
  224. package/dist/matrix.serieses-6ZKTFVWY.js +21 -0
  225. package/dist/matrix.sort-2UE47IOC.js +27 -0
  226. package/dist/matrix.sort.unit.spec-QGEVGY7M.js +472 -0
  227. package/dist/matrix.sorterUi-WC2YX7S7.js +18 -0
  228. package/dist/matrix.sorterUi.unit.spec-YNS7IVUF.js +342 -0
  229. package/dist/mavb-27VSL5LG.js +732 -0
  230. package/dist/mds.fimo-E5EXGT75.js +518 -0
  231. package/dist/mds.samplescatterplot-YDMRZFS7.js +1550 -0
  232. package/dist/mds.survivalplot-INJA2NDC.js +483 -0
  233. package/dist/numericDictTermCluster-DRIEJJSP.js +72 -0
  234. package/dist/oncomatrix-334LCTXB.js +295 -0
  235. package/dist/oncomatrix.spec-VHCJWO7S.js +448 -0
  236. package/dist/plot.2dvaf-F7GJEUMD.js +377 -0
  237. package/dist/plot.app-AKA7UVUC.js +41 -0
  238. package/dist/plot.barplot-HZAG43A5.js +102 -0
  239. package/dist/plot.boxplot-U52BJ4EP.js +152 -0
  240. package/dist/plot.brainImaging-3CB4WYQ4.js +51 -0
  241. package/dist/plot.disco-I2VLOSAU.js +102 -0
  242. package/dist/plot.dzi-K6KI52L7.js +33 -0
  243. package/dist/plot.ssgq-L67X4FUG.js +139 -0
  244. package/dist/plot.vaf2cov-PH4ZSY2K.js +259 -0
  245. package/dist/plot.wsi-Y6FZWHXT.js +36 -0
  246. package/dist/polar2-XT5QZ4VH.js +231 -0
  247. package/dist/profileForms-4LLSYMF6.js +446 -0
  248. package/dist/profilePlot-C52DDMZ4.js +54 -0
  249. package/dist/proteinView-CCL4MPXS.js +1556 -0
  250. package/dist/qualitative-DZ6JYYRS.js +43 -0
  251. package/dist/radar2-GEEOQF2A.js +326 -0
  252. package/dist/radarFacility2-OWXSKHBW.js +334 -0
  253. package/dist/regression-ZK75B4OR.js +56 -0
  254. package/dist/regression.inputs-UR7Q7HIK.js +48 -0
  255. package/dist/regression.inputs.term-PJZ7T3AI.js +48 -0
  256. package/dist/regression.inputs.values.table-CRGBKWMM.js +45 -0
  257. package/dist/regression.integration.spec-OCUFEVQS.js +784 -0
  258. package/dist/regression.results-7EHMKQ5F.js +40 -0
  259. package/dist/regression.spec-E4W3WOLI.js +708 -0
  260. package/dist/report-WWILHPI6.js +222 -0
  261. package/dist/sampleScatter.spec-VCKCJKII.js +202 -0
  262. package/dist/sampleView-STGP7UUP.js +48 -0
  263. package/dist/samplelst-U4BL6GYP.js +111 -0
  264. package/dist/samplematrix-FU3EZF6M.js +2198 -0
  265. package/dist/sc-JRLELKHN.js +86 -0
  266. package/dist/scatter-GT2VKNFG.js +851 -0
  267. package/dist/scatter.integration.spec-VDMKRPVM.js +1206 -0
  268. package/dist/selectGenomeWithTklst-F5372VC5.js +134 -0
  269. package/dist/singleCellCellType-D77PUUCZ.js +38 -0
  270. package/dist/singleCellCellType.unit.spec-J4EEZAWB.js +160 -0
  271. package/dist/singleCellGeneExpression-WCWCSHIY.js +38 -0
  272. package/dist/singleCellGeneExpression.unit.spec-CELJIAJ5.js +153 -0
  273. package/dist/singleCellPlot-2OPOJZ5U.js +54 -0
  274. package/dist/singlecell-K2SHYDHA.js +1572 -0
  275. package/dist/singlecell-K7Z6ES7B.js +86 -0
  276. package/dist/snp-ICWKGR7H.js +38 -0
  277. package/dist/snp.unit.spec-PV2UZCYO.js +176 -0
  278. package/dist/snplocus-W5D4A7QJ.js +208 -0
  279. package/dist/spliceevent.a53ss.diagram-DEQJ2C2H.js +151 -0
  280. package/dist/spliceevent.exonskip.diagram-MKA32GTK.js +277 -0
  281. package/dist/spliceevent.noeventdiagram-NFYPM4EZ.js +460 -0
  282. package/dist/ssGSEA-FAZK5FSC.js +38 -0
  283. package/dist/ssGSEA.unit.spec-S5D6JMOD.js +88 -0
  284. package/dist/summarizeCnvGeneexp-WDGJ5YOM.js +163 -0
  285. package/dist/summarizeGeneexpSurvival-J7UYKBN2.js +108 -0
  286. package/dist/summarizeMutationCnv-6ZXA32XN.js +164 -0
  287. package/dist/summarizeMutationDiagnosis-BK7QPF6A.js +40 -0
  288. package/dist/summarizeMutationSurvival-UODP6R6S.js +99 -0
  289. package/dist/summary-P6XVOWSB.js +49 -0
  290. package/dist/summary.integration.spec-XKMQ77CF.js +414 -0
  291. package/dist/summaryInput-U7XNGLGC.js +235 -0
  292. package/dist/sunburst-WHZ77REP.js +284 -0
  293. package/dist/survival-HQ5JC76V.js +46 -0
  294. package/dist/survival-QFWZNB4W.js +58 -0
  295. package/dist/survival.integration.spec-7STGYBGG.js +915 -0
  296. package/dist/survival.integration.spec-7STGYBGG.js.map +7 -0
  297. package/dist/svgraph-TYIBQ3RD.js +1387 -0
  298. package/dist/svmr-ZZIRWUVA.js +3842 -0
  299. package/dist/table-MPM3ET2V.js +200 -0
  300. package/dist/termCollection-5DF5MFBK.js +38 -0
  301. package/dist/termCollection-CQESAD6G.js +179 -0
  302. package/dist/termCollection.unit.spec-ASYBZQLO.js +208 -0
  303. package/dist/tk-NCEB2L7K.js +46 -0
  304. package/dist/tp.ui-AHTGSLBN.js +1459 -0
  305. package/dist/tvs.dt-TXG4FL3B.js +39 -0
  306. package/dist/tvs.dtcnv.categorical-7SA4PCKE.js +40 -0
  307. package/dist/tvs.dtcnv.continuous-E3VQWM5N.js +72 -0
  308. package/dist/tvs.dtfusion-F72VEUPO.js +40 -0
  309. package/dist/tvs.dtsnvindel-RAVTRO5M.js +40 -0
  310. package/dist/tvs.dtsv-ZZDBZYAJ.js +40 -0
  311. package/dist/tvs.samplelst-POTNAX4E.js +104 -0
  312. package/dist/tvs.termCollection-AHNHKJPJ.js +159 -0
  313. package/dist/violin-YR35XLAS.js +46 -0
  314. package/dist/violin.integration.spec-2VSILDUW.js +1425 -0
  315. package/dist/violin.interactivity-S7QY6HVJ.js +38 -0
  316. package/dist/violin.renderer-OUWK7EL4.js +40 -0
  317. package/dist/vocabulary-6IZJ6F7N.js +41 -0
  318. package/package.json +8 -2
  319. package/dist/2dmaf-BNMEUJVM.js +0 -1373
  320. package/dist/AIProjectAdmin-AEXQY5LY.js +0 -958
  321. package/dist/AppHeader-RXDJBHXZ.js +0 -835
  322. package/dist/BoxPlot-HDP3SIGU.js +0 -1217
  323. package/dist/CorrelationVolcano-V2E566XL.js +0 -619
  324. package/dist/DE-7YUZSW4E.js +0 -95
  325. package/dist/DEinput-P2HOQC4Z.js +0 -301
  326. package/dist/DifferentialAnalysis-2Z6BHS7A.js +0 -245
  327. package/dist/Disco-ZLC54X7T.js +0 -3297
  328. package/dist/Disco.UI-LXJJYQVV.js +0 -249
  329. package/dist/DmrPlot-OEJRGNI3.js +0 -642
  330. package/dist/GB-2GHDD3MW.js +0 -1130
  331. package/dist/GB-2GHDD3MW.js.map +0 -7
  332. package/dist/GeneExpInput-PWLPDLYT.js +0 -367
  333. package/dist/HicApp-CAYC4DPO.js +0 -2250
  334. package/dist/NumBinaryEditor-EUOYSGPM.js +0 -271
  335. package/dist/NumBinaryEditor.unit.spec-5B3W4B4F.js +0 -286
  336. package/dist/NumContEditor-7KK6CIB3.js +0 -109
  337. package/dist/NumContEditor.unit.spec-IMKGVYFZ.js +0 -169
  338. package/dist/NumCustomBinEditor-PDAF6I7B.js +0 -38
  339. package/dist/NumCustomBinEditor.unit.spec-IU3DPECJ.js +0 -284
  340. package/dist/NumDiscreteEditor-YTKUHG6Z.js +0 -179
  341. package/dist/NumDiscreteEditor.unit.spec-FUBS7Z7Z.js +0 -202
  342. package/dist/NumRegularBinEditor-LU3KLBLY.js +0 -38
  343. package/dist/NumRegularBinEditor.unit.spec-2BKOHI7L.js +0 -227
  344. package/dist/NumSplineEditor-56RJ2HT2.js +0 -198
  345. package/dist/NumSplineEditor.unit.spec-PW6VUUBZ.js +0 -199
  346. package/dist/NumericDensity-EB4H54EF.js +0 -38
  347. package/dist/NumericDensity.unit.spec-LSEM4OEY.js +0 -221
  348. package/dist/NumericHandler-VGPDXP35.js +0 -39
  349. package/dist/NumericHandler.unit.spec-NR3F7XHV.js +0 -219
  350. package/dist/ProteomeInput-AUXWUIWK.js +0 -396
  351. package/dist/RunChart2-SQ6TFOHD.js +0 -758
  352. package/dist/SC-OWJ6LYIW.js +0 -1124
  353. package/dist/SC-OWJ6LYIW.js.map +0 -7
  354. package/dist/Volcano-XHDH6UN7.js +0 -1379
  355. package/dist/WSIViewer-WT2QV747.js +0 -48562
  356. package/dist/WsiSamplesPlot-YUOAWG2A.js +0 -165
  357. package/dist/adSandbox-VMMAL22L.js +0 -38
  358. package/dist/animatedBubbleChart-Q6Z5W2UL.js +0 -555
  359. package/dist/app-FX3KZ67X.js +0 -37
  360. package/dist/app-X7ZYEOZN.js +0 -49
  361. package/dist/bam-ZYLH4U5R.js +0 -860
  362. package/dist/barchart-MXSPTKV4.js +0 -47
  363. package/dist/barchart.data-ZWF6EVJH.js +0 -22
  364. package/dist/barchart.events-XON2ANOC.js +0 -47
  365. package/dist/barchart.integration.spec-PJIENJGT.js +0 -1980
  366. package/dist/barchart.integration.spec-PJIENJGT.js.map +0 -7
  367. package/dist/barchart2-HIKBGSSE.js +0 -314
  368. package/dist/block-EGPYVWNP.js +0 -6226
  369. package/dist/block.init-IJBRPZNM.js +0 -38
  370. package/dist/block.mds.expressionrank-3DANCP7E.js +0 -359
  371. package/dist/block.mds.geneboxplot-CRGSCZMG.js +0 -828
  372. package/dist/block.mds.junction-4UIH2ZYN.js +0 -1545
  373. package/dist/block.mds.svcnv-NF4UIRR2.js +0 -6801
  374. package/dist/block.svg-AIZ47JCQ.js +0 -164
  375. package/dist/block.tk.aicheck-7HZFGE63.js +0 -283
  376. package/dist/block.tk.ase-U3VNPZEA.js +0 -365
  377. package/dist/block.tk.bam-4TQ7P2OX.js +0 -1906
  378. package/dist/block.tk.bedgraphdot-MYHKKO6K.js +0 -384
  379. package/dist/block.tk.bigwig.ui-E3YVGIDN.js +0 -212
  380. package/dist/block.tk.hicstraw-Y4XOMG7T.js +0 -823
  381. package/dist/block.tk.junction-T5C7LK6F.js +0 -2364
  382. package/dist/block.tk.junction.textmatrixui-Z3ACCVXH.js +0 -199
  383. package/dist/block.tk.ld-Y5KDA5AU.js +0 -99
  384. package/dist/block.tk.menu-EWRRISDY.js +0 -1029
  385. package/dist/block.tk.pgv-3JYGOZVQ.js +0 -944
  386. package/dist/brainImaging-P3AF3C5N.js +0 -423
  387. package/dist/brainRegions-YA2H2QOI.js +0 -221
  388. package/dist/chunk-2JR7RPB6.js +0 -1825
  389. package/dist/chunk-2U2CP2Y2.js +0 -317
  390. package/dist/chunk-2U2CP2Y2.js.map +0 -7
  391. package/dist/chunk-3BBK6A4X.js +0 -176
  392. package/dist/chunk-3FVIDQOX.js +0 -54
  393. package/dist/chunk-3K2O2NIH.js +0 -446
  394. package/dist/chunk-3RSJU6YM.js +0 -2681
  395. package/dist/chunk-3ZKD6C5S.js +0 -34
  396. package/dist/chunk-46AEH34Z.js +0 -95
  397. package/dist/chunk-4CQVC6XL.js +0 -182
  398. package/dist/chunk-5FXNI724.js +0 -216
  399. package/dist/chunk-6JHIX4RA.js +0 -4269
  400. package/dist/chunk-7PFRBGMN.js +0 -129
  401. package/dist/chunk-7R63MAPC.js +0 -448
  402. package/dist/chunk-A4Z3CI24.js +0 -276
  403. package/dist/chunk-AI2LUQS6.js +0 -119
  404. package/dist/chunk-AJYJW4LX.js +0 -6364
  405. package/dist/chunk-BMS32SNA.js +0 -37
  406. package/dist/chunk-C4BCMAIK.js +0 -188
  407. package/dist/chunk-C4BCMAIK.js.map +0 -7
  408. package/dist/chunk-CJPGYPI3.js +0 -291
  409. package/dist/chunk-CTQH7LQ6.js +0 -31
  410. package/dist/chunk-D5CVYITI.js +0 -203
  411. package/dist/chunk-DMSX5PSO.js +0 -477
  412. package/dist/chunk-E3JRW3T3.js +0 -1102
  413. package/dist/chunk-E574SMCX.js +0 -283
  414. package/dist/chunk-E76O5Z42.js +0 -98
  415. package/dist/chunk-EEW443GL.js +0 -14
  416. package/dist/chunk-EVNMW7BS.js +0 -833
  417. package/dist/chunk-F2WPS7VY.js +0 -1943
  418. package/dist/chunk-FDPWWODM.js +0 -2832
  419. package/dist/chunk-FDPWWODM.js.map +0 -7
  420. package/dist/chunk-FVHUROIJ.js +0 -446
  421. package/dist/chunk-FVHUROIJ.js.map +0 -7
  422. package/dist/chunk-FYFX42YD.js +0 -222
  423. package/dist/chunk-G6RZYGWY.js +0 -386
  424. package/dist/chunk-GTZV2UZV.js +0 -736
  425. package/dist/chunk-H34LAFGH.js +0 -142
  426. package/dist/chunk-I2R5O2XX.js +0 -263
  427. package/dist/chunk-IEYDMN3H.js +0 -26
  428. package/dist/chunk-JWBP4ZZB.js +0 -148
  429. package/dist/chunk-KUZPTJJO.js +0 -20874
  430. package/dist/chunk-KUZPTJJO.js.map +0 -7
  431. package/dist/chunk-KVIH5JPC.js +0 -1275
  432. package/dist/chunk-L5HCOTRF.js +0 -302
  433. package/dist/chunk-LHKDLWG5.js +0 -194
  434. package/dist/chunk-M7UKOCJA.js +0 -234
  435. package/dist/chunk-MHFH66I3.js +0 -1289
  436. package/dist/chunk-MP3DN6JK.js +0 -117
  437. package/dist/chunk-N5OVBS5L.js +0 -2786
  438. package/dist/chunk-NEKAGDTL.js +0 -58
  439. package/dist/chunk-NPCNDM6Y.js +0 -54
  440. package/dist/chunk-NYN2WQN3.js +0 -100
  441. package/dist/chunk-O6WL7USJ.js +0 -343
  442. package/dist/chunk-OH5I6I2D.js +0 -368
  443. package/dist/chunk-PDFCQ7AU.js +0 -5054
  444. package/dist/chunk-PDFCQ7AU.js.map +0 -7
  445. package/dist/chunk-PSJVMAWA.js +0 -294
  446. package/dist/chunk-PSJVMAWA.js.map +0 -7
  447. package/dist/chunk-PTQ774XH.js +0 -514
  448. package/dist/chunk-PXOH4ZN2.js +0 -399
  449. package/dist/chunk-QG4BJUM7.js +0 -102
  450. package/dist/chunk-R7AV73BV.js +0 -617
  451. package/dist/chunk-RITTG5WN.js +0 -158
  452. package/dist/chunk-SMSFTTEO.js +0 -272
  453. package/dist/chunk-TBZKVKR4.js +0 -50
  454. package/dist/chunk-TLTS33EY.js +0 -287
  455. package/dist/chunk-TMM7BWW7.js +0 -381
  456. package/dist/chunk-TTC4MNEM.js +0 -2327
  457. package/dist/chunk-UQ5CDHYF.js +0 -1218
  458. package/dist/chunk-UQ5CDHYF.js.map +0 -7
  459. package/dist/chunk-UXIZYI3X.js +0 -226
  460. package/dist/chunk-UXIZYI3X.js.map +0 -7
  461. package/dist/chunk-VIUATDO2.js +0 -170
  462. package/dist/chunk-VIUDFDN4.js +0 -102
  463. package/dist/chunk-W5OEFZCR.js +0 -254
  464. package/dist/chunk-WXSRK3XR.js +0 -534
  465. package/dist/chunk-XHGMDBTS.js +0 -230
  466. package/dist/chunk-XQ2OBL6R.js +0 -1205
  467. package/dist/chunk-XQ2OBL6R.js.map +0 -7
  468. package/dist/chunk-XVGS3QXS.js +0 -55
  469. package/dist/chunk-XYNYQMLH.js +0 -482
  470. package/dist/chunk-Y4JJMUWG.js +0 -217
  471. package/dist/chunk-Z457XQSX.js +0 -815
  472. package/dist/chunk-ZF6HNVYD.js +0 -1444
  473. package/dist/condition-QXTOTGZX.js +0 -332
  474. package/dist/controls-7TDB75LK.js +0 -41
  475. package/dist/controls.config-IBF5ILFP.js +0 -39
  476. package/dist/correlation-M2T5R7CM.js +0 -102
  477. package/dist/cuminc-CAHPKW7W.js +0 -1149
  478. package/dist/cuminc.integration.spec-NNSQGBRI.js +0 -678
  479. package/dist/customdata.inputui-RRTQK7OK.js +0 -289
  480. package/dist/dataDownload-SOUCBKXM.js +0 -330
  481. package/dist/dataDownload.integration.spec-C6TLWSSO.js +0 -193
  482. package/dist/databrowser.ui-KLFEU5QA.js +0 -433
  483. package/dist/dictionary-RUT5VXDD.js +0 -118
  484. package/dist/dnaMethylation-WOKGG33W.js +0 -38
  485. package/dist/dnaMethylation.integration.spec-YUPP42UK.js +0 -203
  486. package/dist/dofetch-V7PLLWSO.js +0 -51
  487. package/dist/e2pca-VT7EM4E3.js +0 -350
  488. package/dist/ep-X6B43UXE.js +0 -1256
  489. package/dist/expclust.gdc.spec-DTBFOXBC.js +0 -307
  490. package/dist/facet-T5ZX7ZGV.js +0 -521
  491. package/dist/forms2-S5OGBFKL.js +0 -539
  492. package/dist/gb-TWXREZIP.js +0 -88
  493. package/dist/geneExpClustering-2G6YDCIN.js +0 -249
  494. package/dist/geneExpression-2A4ZPT7K.js +0 -38
  495. package/dist/geneExpression-ZHQH6SNA.js +0 -313
  496. package/dist/geneExpression.unit.spec-2M223S4P.js +0 -102
  497. package/dist/geneORA-YLIRUMCZ.js +0 -278
  498. package/dist/geneRanking-JDJXNGEC.js +0 -551
  499. package/dist/geneVariant-5ZIOT5BT.js +0 -39
  500. package/dist/geneVariant-GIXIMJ2I.js +0 -41
  501. package/dist/geneVariant.integration.spec-QCROW73S.js +0 -198
  502. package/dist/genefusion.ui-56UQLUKJ.js +0 -309
  503. package/dist/geneset-ACRMGBJO.js +0 -208
  504. package/dist/genomeBrowser.spec-EDILOQON.js +0 -281
  505. package/dist/grin2-5P7CYUT7.js +0 -1560
  506. package/dist/grin2-5P7CYUT7.js.map +0 -7
  507. package/dist/grin2-GNB35CMF.js +0 -871
  508. package/dist/grin2-GNB35CMF.js.map +0 -7
  509. package/dist/gsea-2PQ5HNNT.js +0 -47
  510. package/dist/hierCluster-H5HB7FPW.js +0 -63
  511. package/dist/hierCluster-L3LCP2II.js +0 -59
  512. package/dist/hierCluster.config-6UIJWCND.js +0 -40
  513. package/dist/hierCluster.integration.spec-EVAPT2VF.js +0 -395
  514. package/dist/hierCluster.interactivity-7MW6ZT6O.js +0 -54
  515. package/dist/hierCluster.renderers-F34EVY5J.js +0 -21
  516. package/dist/imagePlot-RSFZ2OKD.js +0 -163
  517. package/dist/importPlot-DQFWY5A7.js +0 -8
  518. package/dist/isoformExpression-2KANPCBH.js +0 -40
  519. package/dist/isoformExpression.unit.spec-6FSMHT4K.js +0 -208
  520. package/dist/launch.adhoc-ZYTIRVIC.js +0 -42
  521. package/dist/leftlabel.sample-66U6MHPN.js +0 -260
  522. package/dist/leftlabel.sample-66U6MHPN.js.map +0 -7
  523. package/dist/lollipop-PJDUFWEY.js +0 -171
  524. package/dist/maf-DLJHCKHJ.js +0 -452
  525. package/dist/maftimeline-NK5QYJMJ.js +0 -593
  526. package/dist/matrix-7BFYR6QL.js +0 -63
  527. package/dist/matrix-USAB2CHO.js +0 -58
  528. package/dist/matrix.cells-OTAXAJ4N.js +0 -28
  529. package/dist/matrix.config-AL4WSFZ7.js +0 -41
  530. package/dist/matrix.data-BDHCSN2G.js +0 -25
  531. package/dist/matrix.groups-MV2D2636.js +0 -27
  532. package/dist/matrix.integration.spec-DESORC2Y.js +0 -3072
  533. package/dist/matrix.interactivity-H7EJW3P2.js +0 -42
  534. package/dist/matrix.layout-7CAS2IBO.js +0 -44
  535. package/dist/matrix.legend-JDVG2JDF.js +0 -22
  536. package/dist/matrix.renderers-PDR5FIBC.js +0 -38
  537. package/dist/matrix.serieses-QVDS5HKK.js +0 -21
  538. package/dist/matrix.sort-HCK4CSTJ.js +0 -27
  539. package/dist/matrix.sort.unit.spec-2GC4E26N.js +0 -472
  540. package/dist/matrix.sorterUi-XGBQOPG4.js +0 -18
  541. package/dist/matrix.sorterUi.unit.spec-BJQKDU2F.js +0 -342
  542. package/dist/mavb-6E6Z4LPK.js +0 -732
  543. package/dist/mds.fimo-5P2TK5U4.js +0 -518
  544. package/dist/mds.samplescatterplot-KLKOD4AS.js +0 -1550
  545. package/dist/mds.survivalplot-SWQCOFIU.js +0 -483
  546. package/dist/numericDictTermCluster-WIVO33AV.js +0 -72
  547. package/dist/oncomatrix-SDUUQZCK.js +0 -295
  548. package/dist/oncomatrix.spec-YGQYIUDT.js +0 -448
  549. package/dist/plot.2dvaf-K53KTP5W.js +0 -377
  550. package/dist/plot.app-FNJVWLPQ.js +0 -41
  551. package/dist/plot.barplot-VTC3N6BR.js +0 -102
  552. package/dist/plot.boxplot-RJFGQSLA.js +0 -152
  553. package/dist/plot.brainImaging-6KVNPPMT.js +0 -51
  554. package/dist/plot.disco-ZFH5RK6B.js +0 -102
  555. package/dist/plot.dzi-IA2SOFUD.js +0 -33
  556. package/dist/plot.ssgq-QARGQVKB.js +0 -139
  557. package/dist/plot.vaf2cov-2JUXYCPG.js +0 -259
  558. package/dist/plot.wsi-C2DULA7U.js +0 -36
  559. package/dist/polar2-3HS3QBU6.js +0 -231
  560. package/dist/profileForms-Y6ZBMZWQ.js +0 -446
  561. package/dist/profilePlot-SVI3QKMD.js +0 -54
  562. package/dist/proteinView-YPFJSBL7.js +0 -1556
  563. package/dist/qualitative-AQFKAZID.js +0 -43
  564. package/dist/radar2-TTQZLARY.js +0 -326
  565. package/dist/radarFacility2-YGS56QUA.js +0 -334
  566. package/dist/regression-DLPBCDZT.js +0 -56
  567. package/dist/regression.inputs-42LY4MEZ.js +0 -48
  568. package/dist/regression.inputs.term-TTUFFPG6.js +0 -48
  569. package/dist/regression.inputs.values.table-CJAPTSMS.js +0 -45
  570. package/dist/regression.integration.spec-UDA26OGS.js +0 -784
  571. package/dist/regression.results-IA3C7SHR.js +0 -40
  572. package/dist/regression.spec-HEXCL3QV.js +0 -708
  573. package/dist/report-4CFOWNPJ.js +0 -222
  574. package/dist/sampleScatter.spec-N6V4BQ5Q.js +0 -202
  575. package/dist/sampleView-CZF7U23I.js +0 -48
  576. package/dist/samplelst-XUGDS5TU.js +0 -111
  577. package/dist/samplematrix-R5PZLZDE.js +0 -2198
  578. package/dist/sc-WTZZA5J5.js +0 -86
  579. package/dist/scatter-EY7HQVCO.js +0 -851
  580. package/dist/scatter.integration.spec-CRMLFO4J.js +0 -1206
  581. package/dist/selectGenomeWithTklst-2S2MXVCI.js +0 -134
  582. package/dist/singleCellCellType-LJWFG7MY.js +0 -38
  583. package/dist/singleCellCellType.unit.spec-RGN2XVUR.js +0 -160
  584. package/dist/singleCellGeneExpression-IW2QXTTU.js +0 -38
  585. package/dist/singleCellGeneExpression.unit.spec-4PO3Q7TM.js +0 -153
  586. package/dist/singleCellPlot-6EZ6JXCM.js +0 -54
  587. package/dist/singlecell-3LFPQ6KO.js +0 -86
  588. package/dist/singlecell-NTTAVVMR.js +0 -1572
  589. package/dist/snp-XB4IBG4Z.js +0 -38
  590. package/dist/snp.unit.spec-HAJPM53L.js +0 -176
  591. package/dist/snplocus-HE6TITSX.js +0 -208
  592. package/dist/spliceevent.a53ss.diagram-TCZMBMD7.js +0 -151
  593. package/dist/spliceevent.exonskip.diagram-VESOF6UC.js +0 -277
  594. package/dist/spliceevent.noeventdiagram-4K7FMO4F.js +0 -460
  595. package/dist/ssGSEA-2XYMX36P.js +0 -38
  596. package/dist/ssGSEA.unit.spec-J36KM2HO.js +0 -88
  597. package/dist/summarizeCnvGeneexp-LYVDZXXD.js +0 -163
  598. package/dist/summarizeGeneexpSurvival-Y52TGAHF.js +0 -108
  599. package/dist/summarizeMutationCnv-6EEJT3PV.js +0 -164
  600. package/dist/summarizeMutationDiagnosis-HZKXHOOQ.js +0 -40
  601. package/dist/summarizeMutationSurvival-TU7TQYFQ.js +0 -99
  602. package/dist/summary-4QQZUAMU.js +0 -49
  603. package/dist/summary.integration.spec-SLIIM4HN.js +0 -414
  604. package/dist/summaryInput-6HROPKCE.js +0 -235
  605. package/dist/sunburst-MBJJPERL.js +0 -284
  606. package/dist/survival-CXLMQSV2.js +0 -58
  607. package/dist/survival-QSL2KDKD.js +0 -46
  608. package/dist/survival.integration.spec-EUAAALVW.js +0 -821
  609. package/dist/survival.integration.spec-EUAAALVW.js.map +0 -7
  610. package/dist/svgraph-JM5MHQDX.js +0 -1387
  611. package/dist/svmr-MCMST2FL.js +0 -3842
  612. package/dist/table-MVX3IMAL.js +0 -200
  613. package/dist/termCollection-FZ2SCVA7.js +0 -38
  614. package/dist/termCollection-IGC7REFK.js +0 -179
  615. package/dist/termCollection.unit.spec-VY2EZZIP.js +0 -208
  616. package/dist/tk-5F3TWZ2G.js +0 -46
  617. package/dist/tp.ui-IURWTMAS.js +0 -1459
  618. package/dist/tvs.dt-BPZCFPYK.js +0 -39
  619. package/dist/tvs.dtcnv.categorical-UFS62DTR.js +0 -40
  620. package/dist/tvs.dtcnv.continuous-R6YXNNLA.js +0 -72
  621. package/dist/tvs.dtfusion-FGXXS4XX.js +0 -40
  622. package/dist/tvs.dtsnvindel-DR43K7X3.js +0 -40
  623. package/dist/tvs.dtsv-NO34GIOL.js +0 -40
  624. package/dist/tvs.samplelst-2QP7IV2Y.js +0 -104
  625. package/dist/tvs.termCollection-UEJDG22G.js +0 -159
  626. package/dist/violin-NBZTGGYF.js +0 -46
  627. package/dist/violin.integration.spec-5CLYJSAR.js +0 -1425
  628. package/dist/violin.interactivity-KXVKTT22.js +0 -38
  629. package/dist/violin.renderer-37OF6K7Q.js +0 -40
  630. package/dist/vocabulary-GR6J3VKW.js +0 -41
  631. /package/dist/{2dmaf-BNMEUJVM.js.map → 2dmaf-HS37GJYM.js.map} +0 -0
  632. /package/dist/{AIProjectAdmin-AEXQY5LY.js.map → AIProjectAdmin-V5NVBBOA.js.map} +0 -0
  633. /package/dist/{AppHeader-RXDJBHXZ.js.map → AppHeader-VIQ2VZPI.js.map} +0 -0
  634. /package/dist/{BoxPlot-HDP3SIGU.js.map → BoxPlot-J7DPHT2N.js.map} +0 -0
  635. /package/dist/{CorrelationVolcano-V2E566XL.js.map → CorrelationVolcano-ZHP7IPFD.js.map} +0 -0
  636. /package/dist/{DE-7YUZSW4E.js.map → DE-VW4MQHYP.js.map} +0 -0
  637. /package/dist/{DEinput-P2HOQC4Z.js.map → DEinput-2EKXGUP3.js.map} +0 -0
  638. /package/dist/{DifferentialAnalysis-2Z6BHS7A.js.map → DifferentialAnalysis-H7LZWEIL.js.map} +0 -0
  639. /package/dist/{Disco-ZLC54X7T.js.map → Disco-5AA67AO5.js.map} +0 -0
  640. /package/dist/{Disco.UI-LXJJYQVV.js.map → Disco.UI-K4RBVRJP.js.map} +0 -0
  641. /package/dist/{DmrPlot-OEJRGNI3.js.map → DmrPlot-RVJUKBOB.js.map} +0 -0
  642. /package/dist/{GeneExpInput-PWLPDLYT.js.map → GeneExpInput-HHOIK6X7.js.map} +0 -0
  643. /package/dist/{HicApp-CAYC4DPO.js.map → HicApp-YTQNK5DC.js.map} +0 -0
  644. /package/dist/{NumBinaryEditor-EUOYSGPM.js.map → NumBinaryEditor-ICZCNBRL.js.map} +0 -0
  645. /package/dist/{NumBinaryEditor.unit.spec-5B3W4B4F.js.map → NumBinaryEditor.unit.spec-WDJPDAVT.js.map} +0 -0
  646. /package/dist/{NumContEditor-7KK6CIB3.js.map → NumContEditor-5KEM54CE.js.map} +0 -0
  647. /package/dist/{NumContEditor.unit.spec-IMKGVYFZ.js.map → NumContEditor.unit.spec-WG5QKOD3.js.map} +0 -0
  648. /package/dist/{NumCustomBinEditor-PDAF6I7B.js.map → NumCustomBinEditor-MGHR7VQT.js.map} +0 -0
  649. /package/dist/{NumCustomBinEditor.unit.spec-IU3DPECJ.js.map → NumCustomBinEditor.unit.spec-JWSHEIJJ.js.map} +0 -0
  650. /package/dist/{NumDiscreteEditor-YTKUHG6Z.js.map → NumDiscreteEditor-XT2GSGUR.js.map} +0 -0
  651. /package/dist/{NumDiscreteEditor.unit.spec-FUBS7Z7Z.js.map → NumDiscreteEditor.unit.spec-DSCWGYBS.js.map} +0 -0
  652. /package/dist/{NumRegularBinEditor-LU3KLBLY.js.map → NumRegularBinEditor-JMDBM5PU.js.map} +0 -0
  653. /package/dist/{NumRegularBinEditor.unit.spec-2BKOHI7L.js.map → NumRegularBinEditor.unit.spec-BWRP6OO2.js.map} +0 -0
  654. /package/dist/{NumSplineEditor-56RJ2HT2.js.map → NumSplineEditor-QJNRSORC.js.map} +0 -0
  655. /package/dist/{NumSplineEditor.unit.spec-PW6VUUBZ.js.map → NumSplineEditor.unit.spec-CXBTVND4.js.map} +0 -0
  656. /package/dist/{NumericDensity-EB4H54EF.js.map → NumericDensity-XQWCBSGT.js.map} +0 -0
  657. /package/dist/{NumericDensity.unit.spec-LSEM4OEY.js.map → NumericDensity.unit.spec-7JS5R3AZ.js.map} +0 -0
  658. /package/dist/{NumericHandler-VGPDXP35.js.map → NumericHandler-QXXBEJC3.js.map} +0 -0
  659. /package/dist/{NumericHandler.unit.spec-NR3F7XHV.js.map → NumericHandler.unit.spec-SRQJQVPP.js.map} +0 -0
  660. /package/dist/{ProteomeInput-AUXWUIWK.js.map → ProteomeInput-E4MJLAKF.js.map} +0 -0
  661. /package/dist/{RunChart2-SQ6TFOHD.js.map → RunChart2-N6S7HBXV.js.map} +0 -0
  662. /package/dist/{Volcano-XHDH6UN7.js.map → Volcano-OHJPYZQE.js.map} +0 -0
  663. /package/dist/{WSIViewer-WT2QV747.js.map → WSIViewer-SAKVU52Z.js.map} +0 -0
  664. /package/dist/{WsiSamplesPlot-YUOAWG2A.js.map → WsiSamplesPlot-QV5GFFCR.js.map} +0 -0
  665. /package/dist/{adSandbox-VMMAL22L.js.map → adSandbox-IE7TOJUE.js.map} +0 -0
  666. /package/dist/{animatedBubbleChart-Q6Z5W2UL.js.map → animatedBubbleChart-ZNEDQND3.js.map} +0 -0
  667. /package/dist/{app-FX3KZ67X.js.map → app-7MRKEE2J.js.map} +0 -0
  668. /package/dist/{app-X7ZYEOZN.js.map → app-QIBNB4AA.js.map} +0 -0
  669. /package/dist/{bam-ZYLH4U5R.js.map → bam-OBS5ULFF.js.map} +0 -0
  670. /package/dist/{barchart-MXSPTKV4.js.map → barchart-2RVEEMPK.js.map} +0 -0
  671. /package/dist/{barchart.data-ZWF6EVJH.js.map → barchart.data-7OI5GZZ6.js.map} +0 -0
  672. /package/dist/{barchart.events-XON2ANOC.js.map → barchart.events-AASSQL3J.js.map} +0 -0
  673. /package/dist/{barchart2-HIKBGSSE.js.map → barchart2-TUBYGLMC.js.map} +0 -0
  674. /package/dist/{block-EGPYVWNP.js.map → block-BYXWS7H7.js.map} +0 -0
  675. /package/dist/{block.init-IJBRPZNM.js.map → block.init-QOAPDKCC.js.map} +0 -0
  676. /package/dist/{block.mds.expressionrank-3DANCP7E.js.map → block.mds.expressionrank-Q46AAYOA.js.map} +0 -0
  677. /package/dist/{block.mds.geneboxplot-CRGSCZMG.js.map → block.mds.geneboxplot-IC26RT7L.js.map} +0 -0
  678. /package/dist/{block.mds.junction-4UIH2ZYN.js.map → block.mds.junction-RIUZIBFB.js.map} +0 -0
  679. /package/dist/{block.mds.svcnv-NF4UIRR2.js.map → block.mds.svcnv-GUB2TTXQ.js.map} +0 -0
  680. /package/dist/{block.svg-AIZ47JCQ.js.map → block.svg-I4NHMOEJ.js.map} +0 -0
  681. /package/dist/{block.tk.aicheck-7HZFGE63.js.map → block.tk.aicheck-X57EGAOB.js.map} +0 -0
  682. /package/dist/{block.tk.ase-U3VNPZEA.js.map → block.tk.ase-JMBKBZAH.js.map} +0 -0
  683. /package/dist/{block.tk.bam-4TQ7P2OX.js.map → block.tk.bam-6UAEWVVD.js.map} +0 -0
  684. /package/dist/{block.tk.bedgraphdot-MYHKKO6K.js.map → block.tk.bedgraphdot-7QSRLAJ7.js.map} +0 -0
  685. /package/dist/{block.tk.bigwig.ui-E3YVGIDN.js.map → block.tk.bigwig.ui-SBD6S5SA.js.map} +0 -0
  686. /package/dist/{block.tk.hicstraw-Y4XOMG7T.js.map → block.tk.hicstraw-LIGPTMX7.js.map} +0 -0
  687. /package/dist/{block.tk.junction-T5C7LK6F.js.map → block.tk.junction-X6HFXKW7.js.map} +0 -0
  688. /package/dist/{block.tk.junction.textmatrixui-Z3ACCVXH.js.map → block.tk.junction.textmatrixui-XJIUGHAX.js.map} +0 -0
  689. /package/dist/{block.tk.ld-Y5KDA5AU.js.map → block.tk.ld-OZVW7LSL.js.map} +0 -0
  690. /package/dist/{block.tk.menu-EWRRISDY.js.map → block.tk.menu-B2CEZAYR.js.map} +0 -0
  691. /package/dist/{block.tk.pgv-3JYGOZVQ.js.map → block.tk.pgv-XAAQBQQE.js.map} +0 -0
  692. /package/dist/{brainImaging-P3AF3C5N.js.map → brainImaging-KFKM3XWD.js.map} +0 -0
  693. /package/dist/{brainRegions-YA2H2QOI.js.map → brainRegions-ZHKXILK7.js.map} +0 -0
  694. /package/dist/{chunk-R7AV73BV.js.map → chunk-2IITC4V5.js.map} +0 -0
  695. /package/dist/{chunk-TTC4MNEM.js.map → chunk-2P3U6XTF.js.map} +0 -0
  696. /package/dist/{chunk-NPCNDM6Y.js.map → chunk-35UCHCOQ.js.map} +0 -0
  697. /package/dist/{chunk-NEKAGDTL.js.map → chunk-3LYZMOLO.js.map} +0 -0
  698. /package/dist/{chunk-E76O5Z42.js.map → chunk-4E6HJ4ZW.js.map} +0 -0
  699. /package/dist/{chunk-7PFRBGMN.js.map → chunk-57LW6RUM.js.map} +0 -0
  700. /package/dist/{chunk-TMM7BWW7.js.map → chunk-5CR24RTX.js.map} +0 -0
  701. /package/dist/{chunk-5FXNI724.js.map → chunk-5DHRDF2Y.js.map} +0 -0
  702. /package/dist/{chunk-MP3DN6JK.js.map → chunk-5POMWXDZ.js.map} +0 -0
  703. /package/dist/{chunk-IEYDMN3H.js.map → chunk-5QTJUPFS.js.map} +0 -0
  704. /package/dist/{chunk-W5OEFZCR.js.map → chunk-5X5LI5YM.js.map} +0 -0
  705. /package/dist/{chunk-JWBP4ZZB.js.map → chunk-67QZRGIJ.js.map} +0 -0
  706. /package/dist/{chunk-2JR7RPB6.js.map → chunk-6G4YOMWW.js.map} +0 -0
  707. /package/dist/{chunk-EEW443GL.js.map → chunk-6RKL2FLA.js.map} +0 -0
  708. /package/dist/{chunk-3RSJU6YM.js.map → chunk-6YJCBK4J.js.map} +0 -0
  709. /package/dist/{chunk-ZF6HNVYD.js.map → chunk-7KRS7L4U.js.map} +0 -0
  710. /package/dist/{chunk-PXOH4ZN2.js.map → chunk-ADAKSWID.js.map} +0 -0
  711. /package/dist/{chunk-3ZKD6C5S.js.map → chunk-ANKGIHCM.js.map} +0 -0
  712. /package/dist/{chunk-O6WL7USJ.js.map → chunk-AUP7W7MK.js.map} +0 -0
  713. /package/dist/{chunk-FYFX42YD.js.map → chunk-B4QM73WG.js.map} +0 -0
  714. /package/dist/{chunk-Y4JJMUWG.js.map → chunk-C6YT5EM2.js.map} +0 -0
  715. /package/dist/{chunk-F2WPS7VY.js.map → chunk-CD3VY5WW.js.map} +0 -0
  716. /package/dist/{chunk-WXSRK3XR.js.map → chunk-CDUNE45Q.js.map} +0 -0
  717. /package/dist/{chunk-AI2LUQS6.js.map → chunk-COYULNJF.js.map} +0 -0
  718. /package/dist/{chunk-VIUATDO2.js.map → chunk-DNVSEW6P.js.map} +0 -0
  719. /package/dist/{chunk-3K2O2NIH.js.map → chunk-EC3SKPQT.js.map} +0 -0
  720. /package/dist/{chunk-46AEH34Z.js.map → chunk-F47X3VUC.js.map} +0 -0
  721. /package/dist/{chunk-BMS32SNA.js.map → chunk-G2DLWJCB.js.map} +0 -0
  722. /package/dist/{chunk-L5HCOTRF.js.map → chunk-I4G4FXLO.js.map} +0 -0
  723. /package/dist/{chunk-TLTS33EY.js.map → chunk-I73KUUYG.js.map} +0 -0
  724. /package/dist/{chunk-XHGMDBTS.js.map → chunk-INU357UG.js.map} +0 -0
  725. /package/dist/{chunk-EVNMW7BS.js.map → chunk-IZ3BPOTQ.js.map} +0 -0
  726. /package/dist/{chunk-XVGS3QXS.js.map → chunk-JBI6P3UX.js.map} +0 -0
  727. /package/dist/{chunk-M7UKOCJA.js.map → chunk-JRDHTECQ.js.map} +0 -0
  728. /package/dist/{chunk-QG4BJUM7.js.map → chunk-JRZZ6GN3.js.map} +0 -0
  729. /package/dist/{chunk-Z457XQSX.js.map → chunk-KM4JBR26.js.map} +0 -0
  730. /package/dist/{chunk-RITTG5WN.js.map → chunk-KXRTPE65.js.map} +0 -0
  731. /package/dist/{chunk-CTQH7LQ6.js.map → chunk-LSWU6EAQ.js.map} +0 -0
  732. /package/dist/{chunk-LHKDLWG5.js.map → chunk-N6QEVQZV.js.map} +0 -0
  733. /package/dist/{chunk-A4Z3CI24.js.map → chunk-NLQQIVTC.js.map} +0 -0
  734. /package/dist/{chunk-KVIH5JPC.js.map → chunk-O4VKIC66.js.map} +0 -0
  735. /package/dist/{chunk-I2R5O2XX.js.map → chunk-OWPBE2LB.js.map} +0 -0
  736. /package/dist/{chunk-4CQVC6XL.js.map → chunk-PWUERAAF.js.map} +0 -0
  737. /package/dist/{chunk-3BBK6A4X.js.map → chunk-QFSSC5VW.js.map} +0 -0
  738. /package/dist/{chunk-E574SMCX.js.map → chunk-T46LHXJW.js.map} +0 -0
  739. /package/dist/{chunk-NYN2WQN3.js.map → chunk-T4CFXTIG.js.map} +0 -0
  740. /package/dist/{chunk-VIUDFDN4.js.map → chunk-T5UGVJCK.js.map} +0 -0
  741. /package/dist/{chunk-7R63MAPC.js.map → chunk-TJCRAFKM.js.map} +0 -0
  742. /package/dist/{chunk-H34LAFGH.js.map → chunk-TNF2LHJR.js.map} +0 -0
  743. /package/dist/{chunk-AJYJW4LX.js.map → chunk-U4IYNHVD.js.map} +0 -0
  744. /package/dist/{chunk-XYNYQMLH.js.map → chunk-UAOPKEMR.js.map} +0 -0
  745. /package/dist/{chunk-GTZV2UZV.js.map → chunk-UFGV7554.js.map} +0 -0
  746. /package/dist/{chunk-CJPGYPI3.js.map → chunk-UV66X5JN.js.map} +0 -0
  747. /package/dist/{chunk-3FVIDQOX.js.map → chunk-VC642GDC.js.map} +0 -0
  748. /package/dist/{chunk-G6RZYGWY.js.map → chunk-VDIVDU3T.js.map} +0 -0
  749. /package/dist/{chunk-MHFH66I3.js.map → chunk-VNF7DC36.js.map} +0 -0
  750. /package/dist/{chunk-DMSX5PSO.js.map → chunk-VOGPIAQL.js.map} +0 -0
  751. /package/dist/{chunk-SMSFTTEO.js.map → chunk-VZOTKHPM.js.map} +0 -0
  752. /package/dist/{chunk-6JHIX4RA.js.map → chunk-YAU2Z6EN.js.map} +0 -0
  753. /package/dist/{chunk-OH5I6I2D.js.map → chunk-YNAPHPMG.js.map} +0 -0
  754. /package/dist/{chunk-PTQ774XH.js.map → chunk-YP2LHXFC.js.map} +0 -0
  755. /package/dist/{chunk-TBZKVKR4.js.map → chunk-YWF7GHUW.js.map} +0 -0
  756. /package/dist/{chunk-N5OVBS5L.js.map → chunk-YYZQMJLW.js.map} +0 -0
  757. /package/dist/{chunk-D5CVYITI.js.map → chunk-ZBEJVZMY.js.map} +0 -0
  758. /package/dist/{chunk-E3JRW3T3.js.map → chunk-ZZLBK6P6.js.map} +0 -0
  759. /package/dist/{condition-QXTOTGZX.js.map → condition-MP65K762.js.map} +0 -0
  760. /package/dist/{controls-7TDB75LK.js.map → controls-HKHMEWC7.js.map} +0 -0
  761. /package/dist/{controls.config-IBF5ILFP.js.map → controls.config-LUPIT34L.js.map} +0 -0
  762. /package/dist/{correlation-M2T5R7CM.js.map → correlation-5UTW6EEI.js.map} +0 -0
  763. /package/dist/{cuminc-CAHPKW7W.js.map → cuminc-LLUR2FLL.js.map} +0 -0
  764. /package/dist/{cuminc.integration.spec-NNSQGBRI.js.map → cuminc.integration.spec-CH5UZTIM.js.map} +0 -0
  765. /package/dist/{customdata.inputui-RRTQK7OK.js.map → customdata.inputui-6IGE5HCZ.js.map} +0 -0
  766. /package/dist/{dataDownload-SOUCBKXM.js.map → dataDownload-MCE2OJGZ.js.map} +0 -0
  767. /package/dist/{dataDownload.integration.spec-C6TLWSSO.js.map → dataDownload.integration.spec-VETU75VQ.js.map} +0 -0
  768. /package/dist/{databrowser.ui-KLFEU5QA.js.map → databrowser.ui-3BRSJHIW.js.map} +0 -0
  769. /package/dist/{dictionary-RUT5VXDD.js.map → dictionary-UV43XQAU.js.map} +0 -0
  770. /package/dist/{dnaMethylation-WOKGG33W.js.map → dnaMethylation-QDE3S4TV.js.map} +0 -0
  771. /package/dist/{dnaMethylation.integration.spec-YUPP42UK.js.map → dnaMethylation.integration.spec-JBHJE47S.js.map} +0 -0
  772. /package/dist/{dofetch-V7PLLWSO.js.map → dofetch-BMSZZAAQ.js.map} +0 -0
  773. /package/dist/{e2pca-VT7EM4E3.js.map → e2pca-JMH74VN4.js.map} +0 -0
  774. /package/dist/{ep-X6B43UXE.js.map → ep-NDT7C2IT.js.map} +0 -0
  775. /package/dist/{expclust.gdc.spec-DTBFOXBC.js.map → expclust.gdc.spec-GZ3XLPHA.js.map} +0 -0
  776. /package/dist/{facet-T5ZX7ZGV.js.map → facet-ABIWCCVT.js.map} +0 -0
  777. /package/dist/{forms2-S5OGBFKL.js.map → forms2-DRRRLG4I.js.map} +0 -0
  778. /package/dist/{gb-TWXREZIP.js.map → gb-EFZ62HCR.js.map} +0 -0
  779. /package/dist/{geneExpClustering-2G6YDCIN.js.map → geneExpClustering-CKH6M6KK.js.map} +0 -0
  780. /package/dist/{geneExpression-2A4ZPT7K.js.map → geneExpression-CNKX7XVX.js.map} +0 -0
  781. /package/dist/{geneExpression-ZHQH6SNA.js.map → geneExpression-P2ERCRXO.js.map} +0 -0
  782. /package/dist/{geneExpression.unit.spec-2M223S4P.js.map → geneExpression.unit.spec-7UJB43L3.js.map} +0 -0
  783. /package/dist/{geneORA-YLIRUMCZ.js.map → geneORA-TZOSNGRJ.js.map} +0 -0
  784. /package/dist/{geneRanking-JDJXNGEC.js.map → geneRanking-26GDRALC.js.map} +0 -0
  785. /package/dist/{geneVariant-5ZIOT5BT.js.map → geneVariant-2DHMJUJL.js.map} +0 -0
  786. /package/dist/{geneVariant-GIXIMJ2I.js.map → geneVariant-FOKRLND3.js.map} +0 -0
  787. /package/dist/{geneVariant.integration.spec-QCROW73S.js.map → geneVariant.integration.spec-XXNSWUOR.js.map} +0 -0
  788. /package/dist/{genefusion.ui-56UQLUKJ.js.map → genefusion.ui-ZJBKC2RH.js.map} +0 -0
  789. /package/dist/{geneset-ACRMGBJO.js.map → geneset-6FN5BFP3.js.map} +0 -0
  790. /package/dist/{genomeBrowser.spec-EDILOQON.js.map → genomeBrowser.spec-QLHJYDRZ.js.map} +0 -0
  791. /package/dist/{gsea-2PQ5HNNT.js.map → gsea-6YBRMGOC.js.map} +0 -0
  792. /package/dist/{hierCluster-H5HB7FPW.js.map → hierCluster-B3TULT27.js.map} +0 -0
  793. /package/dist/{hierCluster-L3LCP2II.js.map → hierCluster-NF75B7MZ.js.map} +0 -0
  794. /package/dist/{hierCluster.config-6UIJWCND.js.map → hierCluster.config-TEFI7M4K.js.map} +0 -0
  795. /package/dist/{hierCluster.integration.spec-EVAPT2VF.js.map → hierCluster.integration.spec-IUK6Q5SQ.js.map} +0 -0
  796. /package/dist/{hierCluster.interactivity-7MW6ZT6O.js.map → hierCluster.interactivity-MPD4AV4D.js.map} +0 -0
  797. /package/dist/{hierCluster.renderers-F34EVY5J.js.map → hierCluster.renderers-4XWKHCNW.js.map} +0 -0
  798. /package/dist/{imagePlot-RSFZ2OKD.js.map → imagePlot-HNJDBPO4.js.map} +0 -0
  799. /package/dist/{importPlot-DQFWY5A7.js.map → importPlot-OBS55TCA.js.map} +0 -0
  800. /package/dist/{isoformExpression-2KANPCBH.js.map → isoformExpression-K4QIYBZR.js.map} +0 -0
  801. /package/dist/{isoformExpression.unit.spec-6FSMHT4K.js.map → isoformExpression.unit.spec-INB6655U.js.map} +0 -0
  802. /package/dist/{launch.adhoc-ZYTIRVIC.js.map → launch.adhoc-VDXES33R.js.map} +0 -0
  803. /package/dist/{lollipop-PJDUFWEY.js.map → lollipop-O3XJC7BR.js.map} +0 -0
  804. /package/dist/{maf-DLJHCKHJ.js.map → maf-GLZ7KCDP.js.map} +0 -0
  805. /package/dist/{maftimeline-NK5QYJMJ.js.map → maftimeline-Q4YPFSZP.js.map} +0 -0
  806. /package/dist/{matrix-7BFYR6QL.js.map → matrix-KVTQNDRZ.js.map} +0 -0
  807. /package/dist/{matrix-USAB2CHO.js.map → matrix-QDHUX4QD.js.map} +0 -0
  808. /package/dist/{matrix.cells-OTAXAJ4N.js.map → matrix.cells-ED6RS5EC.js.map} +0 -0
  809. /package/dist/{matrix.config-AL4WSFZ7.js.map → matrix.config-B65UXJNA.js.map} +0 -0
  810. /package/dist/{matrix.data-BDHCSN2G.js.map → matrix.data-KQFMXWRX.js.map} +0 -0
  811. /package/dist/{matrix.groups-MV2D2636.js.map → matrix.groups-RE74EFLY.js.map} +0 -0
  812. /package/dist/{matrix.integration.spec-DESORC2Y.js.map → matrix.integration.spec-2ITZRE4N.js.map} +0 -0
  813. /package/dist/{matrix.interactivity-H7EJW3P2.js.map → matrix.interactivity-3RF4YOAP.js.map} +0 -0
  814. /package/dist/{matrix.layout-7CAS2IBO.js.map → matrix.layout-ERVRJAK2.js.map} +0 -0
  815. /package/dist/{matrix.legend-JDVG2JDF.js.map → matrix.legend-ZST44PIB.js.map} +0 -0
  816. /package/dist/{matrix.renderers-PDR5FIBC.js.map → matrix.renderers-HNEUKUGS.js.map} +0 -0
  817. /package/dist/{matrix.serieses-QVDS5HKK.js.map → matrix.serieses-6ZKTFVWY.js.map} +0 -0
  818. /package/dist/{matrix.sort-HCK4CSTJ.js.map → matrix.sort-2UE47IOC.js.map} +0 -0
  819. /package/dist/{matrix.sort.unit.spec-2GC4E26N.js.map → matrix.sort.unit.spec-QGEVGY7M.js.map} +0 -0
  820. /package/dist/{matrix.sorterUi-XGBQOPG4.js.map → matrix.sorterUi-WC2YX7S7.js.map} +0 -0
  821. /package/dist/{matrix.sorterUi.unit.spec-BJQKDU2F.js.map → matrix.sorterUi.unit.spec-YNS7IVUF.js.map} +0 -0
  822. /package/dist/{mavb-6E6Z4LPK.js.map → mavb-27VSL5LG.js.map} +0 -0
  823. /package/dist/{mds.fimo-5P2TK5U4.js.map → mds.fimo-E5EXGT75.js.map} +0 -0
  824. /package/dist/{mds.samplescatterplot-KLKOD4AS.js.map → mds.samplescatterplot-YDMRZFS7.js.map} +0 -0
  825. /package/dist/{mds.survivalplot-SWQCOFIU.js.map → mds.survivalplot-INJA2NDC.js.map} +0 -0
  826. /package/dist/{numericDictTermCluster-WIVO33AV.js.map → numericDictTermCluster-DRIEJJSP.js.map} +0 -0
  827. /package/dist/{oncomatrix-SDUUQZCK.js.map → oncomatrix-334LCTXB.js.map} +0 -0
  828. /package/dist/{oncomatrix.spec-YGQYIUDT.js.map → oncomatrix.spec-VHCJWO7S.js.map} +0 -0
  829. /package/dist/{plot.2dvaf-K53KTP5W.js.map → plot.2dvaf-F7GJEUMD.js.map} +0 -0
  830. /package/dist/{plot.app-FNJVWLPQ.js.map → plot.app-AKA7UVUC.js.map} +0 -0
  831. /package/dist/{plot.barplot-VTC3N6BR.js.map → plot.barplot-HZAG43A5.js.map} +0 -0
  832. /package/dist/{plot.boxplot-RJFGQSLA.js.map → plot.boxplot-U52BJ4EP.js.map} +0 -0
  833. /package/dist/{plot.brainImaging-6KVNPPMT.js.map → plot.brainImaging-3CB4WYQ4.js.map} +0 -0
  834. /package/dist/{plot.disco-ZFH5RK6B.js.map → plot.disco-I2VLOSAU.js.map} +0 -0
  835. /package/dist/{plot.dzi-IA2SOFUD.js.map → plot.dzi-K6KI52L7.js.map} +0 -0
  836. /package/dist/{plot.ssgq-QARGQVKB.js.map → plot.ssgq-L67X4FUG.js.map} +0 -0
  837. /package/dist/{plot.vaf2cov-2JUXYCPG.js.map → plot.vaf2cov-PH4ZSY2K.js.map} +0 -0
  838. /package/dist/{plot.wsi-C2DULA7U.js.map → plot.wsi-Y6FZWHXT.js.map} +0 -0
  839. /package/dist/{polar2-3HS3QBU6.js.map → polar2-XT5QZ4VH.js.map} +0 -0
  840. /package/dist/{profileForms-Y6ZBMZWQ.js.map → profileForms-4LLSYMF6.js.map} +0 -0
  841. /package/dist/{profilePlot-SVI3QKMD.js.map → profilePlot-C52DDMZ4.js.map} +0 -0
  842. /package/dist/{proteinView-YPFJSBL7.js.map → proteinView-CCL4MPXS.js.map} +0 -0
  843. /package/dist/{qualitative-AQFKAZID.js.map → qualitative-DZ6JYYRS.js.map} +0 -0
  844. /package/dist/{radar2-TTQZLARY.js.map → radar2-GEEOQF2A.js.map} +0 -0
  845. /package/dist/{radarFacility2-YGS56QUA.js.map → radarFacility2-OWXSKHBW.js.map} +0 -0
  846. /package/dist/{regression-DLPBCDZT.js.map → regression-ZK75B4OR.js.map} +0 -0
  847. /package/dist/{regression.inputs-42LY4MEZ.js.map → regression.inputs-UR7Q7HIK.js.map} +0 -0
  848. /package/dist/{regression.inputs.term-TTUFFPG6.js.map → regression.inputs.term-PJZ7T3AI.js.map} +0 -0
  849. /package/dist/{regression.inputs.values.table-CJAPTSMS.js.map → regression.inputs.values.table-CRGBKWMM.js.map} +0 -0
  850. /package/dist/{regression.integration.spec-UDA26OGS.js.map → regression.integration.spec-OCUFEVQS.js.map} +0 -0
  851. /package/dist/{regression.results-IA3C7SHR.js.map → regression.results-7EHMKQ5F.js.map} +0 -0
  852. /package/dist/{regression.spec-HEXCL3QV.js.map → regression.spec-E4W3WOLI.js.map} +0 -0
  853. /package/dist/{report-4CFOWNPJ.js.map → report-WWILHPI6.js.map} +0 -0
  854. /package/dist/{sampleScatter.spec-N6V4BQ5Q.js.map → sampleScatter.spec-VCKCJKII.js.map} +0 -0
  855. /package/dist/{sampleView-CZF7U23I.js.map → sampleView-STGP7UUP.js.map} +0 -0
  856. /package/dist/{samplelst-XUGDS5TU.js.map → samplelst-U4BL6GYP.js.map} +0 -0
  857. /package/dist/{samplematrix-R5PZLZDE.js.map → samplematrix-FU3EZF6M.js.map} +0 -0
  858. /package/dist/{sc-WTZZA5J5.js.map → sc-JRLELKHN.js.map} +0 -0
  859. /package/dist/{scatter-EY7HQVCO.js.map → scatter-GT2VKNFG.js.map} +0 -0
  860. /package/dist/{scatter.integration.spec-CRMLFO4J.js.map → scatter.integration.spec-VDMKRPVM.js.map} +0 -0
  861. /package/dist/{selectGenomeWithTklst-2S2MXVCI.js.map → selectGenomeWithTklst-F5372VC5.js.map} +0 -0
  862. /package/dist/{singleCellCellType-LJWFG7MY.js.map → singleCellCellType-D77PUUCZ.js.map} +0 -0
  863. /package/dist/{singleCellCellType.unit.spec-RGN2XVUR.js.map → singleCellCellType.unit.spec-J4EEZAWB.js.map} +0 -0
  864. /package/dist/{singleCellGeneExpression-IW2QXTTU.js.map → singleCellGeneExpression-WCWCSHIY.js.map} +0 -0
  865. /package/dist/{singleCellGeneExpression.unit.spec-4PO3Q7TM.js.map → singleCellGeneExpression.unit.spec-CELJIAJ5.js.map} +0 -0
  866. /package/dist/{singleCellPlot-6EZ6JXCM.js.map → singleCellPlot-2OPOJZ5U.js.map} +0 -0
  867. /package/dist/{singlecell-NTTAVVMR.js.map → singlecell-K2SHYDHA.js.map} +0 -0
  868. /package/dist/{singlecell-3LFPQ6KO.js.map → singlecell-K7Z6ES7B.js.map} +0 -0
  869. /package/dist/{snp-XB4IBG4Z.js.map → snp-ICWKGR7H.js.map} +0 -0
  870. /package/dist/{snp.unit.spec-HAJPM53L.js.map → snp.unit.spec-PV2UZCYO.js.map} +0 -0
  871. /package/dist/{snplocus-HE6TITSX.js.map → snplocus-W5D4A7QJ.js.map} +0 -0
  872. /package/dist/{spliceevent.a53ss.diagram-TCZMBMD7.js.map → spliceevent.a53ss.diagram-DEQJ2C2H.js.map} +0 -0
  873. /package/dist/{spliceevent.exonskip.diagram-VESOF6UC.js.map → spliceevent.exonskip.diagram-MKA32GTK.js.map} +0 -0
  874. /package/dist/{spliceevent.noeventdiagram-4K7FMO4F.js.map → spliceevent.noeventdiagram-NFYPM4EZ.js.map} +0 -0
  875. /package/dist/{ssGSEA-2XYMX36P.js.map → ssGSEA-FAZK5FSC.js.map} +0 -0
  876. /package/dist/{ssGSEA.unit.spec-J36KM2HO.js.map → ssGSEA.unit.spec-S5D6JMOD.js.map} +0 -0
  877. /package/dist/{summarizeCnvGeneexp-LYVDZXXD.js.map → summarizeCnvGeneexp-WDGJ5YOM.js.map} +0 -0
  878. /package/dist/{summarizeGeneexpSurvival-Y52TGAHF.js.map → summarizeGeneexpSurvival-J7UYKBN2.js.map} +0 -0
  879. /package/dist/{summarizeMutationCnv-6EEJT3PV.js.map → summarizeMutationCnv-6ZXA32XN.js.map} +0 -0
  880. /package/dist/{summarizeMutationDiagnosis-HZKXHOOQ.js.map → summarizeMutationDiagnosis-BK7QPF6A.js.map} +0 -0
  881. /package/dist/{summarizeMutationSurvival-TU7TQYFQ.js.map → summarizeMutationSurvival-UODP6R6S.js.map} +0 -0
  882. /package/dist/{summary-4QQZUAMU.js.map → summary-P6XVOWSB.js.map} +0 -0
  883. /package/dist/{summary.integration.spec-SLIIM4HN.js.map → summary.integration.spec-XKMQ77CF.js.map} +0 -0
  884. /package/dist/{summaryInput-6HROPKCE.js.map → summaryInput-U7XNGLGC.js.map} +0 -0
  885. /package/dist/{sunburst-MBJJPERL.js.map → sunburst-WHZ77REP.js.map} +0 -0
  886. /package/dist/{survival-QSL2KDKD.js.map → survival-HQ5JC76V.js.map} +0 -0
  887. /package/dist/{survival-CXLMQSV2.js.map → survival-QFWZNB4W.js.map} +0 -0
  888. /package/dist/{svgraph-JM5MHQDX.js.map → svgraph-TYIBQ3RD.js.map} +0 -0
  889. /package/dist/{svmr-MCMST2FL.js.map → svmr-ZZIRWUVA.js.map} +0 -0
  890. /package/dist/{table-MVX3IMAL.js.map → table-MPM3ET2V.js.map} +0 -0
  891. /package/dist/{termCollection-FZ2SCVA7.js.map → termCollection-5DF5MFBK.js.map} +0 -0
  892. /package/dist/{termCollection-IGC7REFK.js.map → termCollection-CQESAD6G.js.map} +0 -0
  893. /package/dist/{termCollection.unit.spec-VY2EZZIP.js.map → termCollection.unit.spec-ASYBZQLO.js.map} +0 -0
  894. /package/dist/{tk-5F3TWZ2G.js.map → tk-NCEB2L7K.js.map} +0 -0
  895. /package/dist/{tp.ui-IURWTMAS.js.map → tp.ui-AHTGSLBN.js.map} +0 -0
  896. /package/dist/{tvs.dt-BPZCFPYK.js.map → tvs.dt-TXG4FL3B.js.map} +0 -0
  897. /package/dist/{tvs.dtcnv.categorical-UFS62DTR.js.map → tvs.dtcnv.categorical-7SA4PCKE.js.map} +0 -0
  898. /package/dist/{tvs.dtcnv.continuous-R6YXNNLA.js.map → tvs.dtcnv.continuous-E3VQWM5N.js.map} +0 -0
  899. /package/dist/{tvs.dtfusion-FGXXS4XX.js.map → tvs.dtfusion-F72VEUPO.js.map} +0 -0
  900. /package/dist/{tvs.dtsnvindel-DR43K7X3.js.map → tvs.dtsnvindel-RAVTRO5M.js.map} +0 -0
  901. /package/dist/{tvs.dtsv-NO34GIOL.js.map → tvs.dtsv-ZZDBZYAJ.js.map} +0 -0
  902. /package/dist/{tvs.samplelst-2QP7IV2Y.js.map → tvs.samplelst-POTNAX4E.js.map} +0 -0
  903. /package/dist/{tvs.termCollection-UEJDG22G.js.map → tvs.termCollection-AHNHKJPJ.js.map} +0 -0
  904. /package/dist/{violin-NBZTGGYF.js.map → violin-YR35XLAS.js.map} +0 -0
  905. /package/dist/{violin.integration.spec-5CLYJSAR.js.map → violin.integration.spec-2VSILDUW.js.map} +0 -0
  906. /package/dist/{violin.interactivity-KXVKTT22.js.map → violin.interactivity-S7QY6HVJ.js.map} +0 -0
  907. /package/dist/{violin.renderer-37OF6K7Q.js.map → violin.renderer-OUWK7EL4.js.map} +0 -0
  908. /package/dist/{vocabulary-GR6J3VKW.js.map → vocabulary-6IZJ6F7N.js.map} +0 -0
@@ -1,2250 +0,0 @@
1
- import {
2
- blocklazyload
3
- } from "./chunk-EEW443GL.js";
4
- import {
5
- hicParseFile
6
- } from "./chunk-Y4JJMUWG.js";
7
- import {
8
- AppBase,
9
- ColorScale,
10
- axisstyle,
11
- first_genetrack_tolist,
12
- font,
13
- newpane,
14
- showErrorsWithCounter,
15
- tkt
16
- } from "./chunk-KUZPTJJO.js";
17
- import "./chunk-HJ6L54YS.js";
18
- import "./chunk-LSEFWW72.js";
19
- import "./chunk-C4BCMAIK.js";
20
- import {
21
- Menu
22
- } from "./chunk-HYOEWQ5P.js";
23
- import "./chunk-HBW42TDT.js";
24
- import "./chunk-LQJMCE7G.js";
25
- import "./chunk-FN5XPUPH.js";
26
- import "./chunk-IIT367QZ.js";
27
- import "./chunk-RZGEKL77.js";
28
- import "./chunk-Z457XQSX.js";
29
- import "./chunk-AI2LUQS6.js";
30
- import {
31
- dofetch3
32
- } from "./chunk-2JR7RPB6.js";
33
- import "./chunk-7IYJZZQI.js";
34
- import {
35
- StoreBase,
36
- getAppInit,
37
- getCompInit,
38
- getStoreInit
39
- } from "./chunk-M3J4MINX.js";
40
- import "./chunk-PF4DSFDR.js";
41
- import "./chunk-TLTS33EY.js";
42
- import "./chunk-2U2CP2Y2.js";
43
- import {
44
- bplen
45
- } from "./chunk-ZF6HNVYD.js";
46
- import "./chunk-BKPDYW5T.js";
47
- import "./chunk-JNITUVXP.js";
48
- import "./chunk-TJYRBEBK.js";
49
- import {
50
- axisBottom,
51
- axisRight
52
- } from "./chunk-LOZEKOES.js";
53
- import "./chunk-VQZ2Z5YU.js";
54
- import {
55
- format,
56
- linear
57
- } from "./chunk-SOTB4FRE.js";
58
- import "./chunk-TLT4YIG3.js";
59
- import "./chunk-KYBIQBXE.js";
60
- import {
61
- pointer_default,
62
- select_default
63
- } from "./chunk-I6Y4O3RR.js";
64
- import "./chunk-OMR2DT66.js";
65
- import "./chunk-DQC5FFGV.js";
66
- import "./chunk-HFNDKYVF.js";
67
-
68
- // tracks/hic/HicStore.ts
69
- var HicStore = class _HicStore extends StoreBase {
70
- constructor(opts) {
71
- super(opts);
72
- this.views = ["genome", "chrpair", "detail", "horizontal"];
73
- this.type = _HicStore.type;
74
- this.defaultState = {
75
- defaultNmeth: "NONE",
76
- loading: true,
77
- minBinNum_bp: 200,
78
- minFragSpan: 200,
79
- initialBinNum: 20,
80
- settings: {
81
- widthHeightPx: 800
82
- }
83
- };
84
- }
85
- static {
86
- this.type = "store";
87
- }
88
- init() {
89
- this.state = Object.assign({}, this.defaultState, this.state);
90
- }
91
- };
92
- var hicStoreInit = getStoreInit(HicStore);
93
- HicStore.prototype.actions = {
94
- view_create(action) {
95
- if (!action.view) throw Error("view_create: missing view");
96
- if (!this.views.some((v) => v == action.view)) throw Error(`view_create: unknown view = ${action.view}`);
97
- this.state.currView = action.view;
98
- const opts = Object.assign(this.state, action.config);
99
- this.state = opts;
100
- },
101
- view_update(action) {
102
- if (action.view) {
103
- if (!this.views.some((v) => v == action.view)) throw Error(`view_update: unknown view = ${action.view}`);
104
- const opts = Object.assign(this.state[action.view], action.config);
105
- this.state[action.view] = opts;
106
- } else {
107
- const opts = Object.assign(this.state, action.config);
108
- this.state = opts;
109
- }
110
- },
111
- loading_active(action) {
112
- this.state.loading = action.active;
113
- }
114
- };
115
-
116
- // tracks/hic/dom/LoadingOverlay.ts
117
- var LoadingOverlay = class _LoadingOverlay {
118
- constructor(opts) {
119
- this.hasStatePreMain = true;
120
- this.type = _LoadingOverlay.type;
121
- this.app = opts.app;
122
- this.loadingDiv = opts.loadingDiv;
123
- }
124
- static {
125
- this.type = "loadingOverlay";
126
- }
127
- reactsTo(action) {
128
- if (action.type.startsWith("loading")) return true;
129
- else return false;
130
- }
131
- getState(appState) {
132
- return appState;
133
- }
134
- init() {
135
- this.loadingDiv.append("div").attr("class", "sjpp-spinner").style("display", "");
136
- }
137
- main(appState) {
138
- const loading = this.app.getState(appState).loading;
139
- this.loadingDiv.style("display", loading ? "" : "none");
140
- }
141
- };
142
- var loadingInit = getCompInit(LoadingOverlay);
143
-
144
- // tracks/hic/dom/ColorizeElement.ts
145
- var ColorizeElement = class {
146
- colorizeElement(xCoord, yCoord, v, obj, width, height, bpMinV, bpMaxV, currView) {
147
- if (v >= 0) {
148
- const p = v >= bpMaxV ? 0 : v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV - v) / bpMaxV);
149
- const positiveFill = `rgb(255, ${p}, ${p})`;
150
- if (currView === "genome") {
151
- obj.ctx.fillStyle = positiveFill;
152
- obj.ctx2.fillStyle = positiveFill;
153
- } else {
154
- obj.fillStyle = positiveFill;
155
- }
156
- } else {
157
- const p = v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV + v) / bpMaxV);
158
- const negativeFill = `rgb(${p}, ${p}, 255)`;
159
- if (currView === "genome") {
160
- obj.ctx.fillStyle = negativeFill;
161
- obj.ctx2.fillStyle = negativeFill;
162
- } else {
163
- obj.fillStyle = negativeFill;
164
- }
165
- }
166
- if (currView === "genome") {
167
- obj.ctx.fillRect(yCoord, xCoord, width, height);
168
- obj.ctx2.fillRect(xCoord, yCoord, width, height);
169
- } else {
170
- obj.fillRect(xCoord, yCoord, width, height);
171
- }
172
- }
173
- };
174
-
175
- // tracks/hic/data/Resolution.ts
176
- var Resolution = class {
177
- constructor(error) {
178
- this.error = error;
179
- }
180
- getResolution(state, hic) {
181
- if (state.currView == "genome") return hic["bpresolution"][0];
182
- if (state.currView == "chrpair") {
183
- const resolution = this.getChrPairResolution(hic, state.x, state.y, state.minBinNum_bp);
184
- return resolution;
185
- } else if (state.currView == "detail") {
186
- const maxBpWidth = Math.max(state.x.stop - state.x.start, state.y.stop - state.y.start);
187
- let resolution = this.findResFromArray(maxBpWidth, state.minBinNum_bp, hic.bpresolution);
188
- if (resolution == null && !hic.enzyme) {
189
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
190
- }
191
- return resolution;
192
- } else {
193
- this.error(`Unknown view: ${state.currView}`);
194
- throw `Unknown view: ${state.currView}`;
195
- }
196
- }
197
- getChrPairResolution(hic, x, y, minBinNum_bp) {
198
- const chrxlen = hic.genome.chrlookup[x.chr.toUpperCase()].len;
199
- const chrylen = hic.genome.chrlookup[y.chr.toUpperCase()].len;
200
- const maxchrlen = Math.max(chrxlen, chrylen);
201
- const resolution = this.findResFromArray(maxchrlen, minBinNum_bp, hic.bpresolution);
202
- if (resolution == null) {
203
- this.error(`No suitable resolution for ${x.chr}-${y.chr} pair.`);
204
- return;
205
- }
206
- return resolution;
207
- }
208
- findResFromArray(max, defaultValue, resolutionArray, returnNum) {
209
- let resolution = null;
210
- for (const res of resolutionArray) {
211
- if (max / res > defaultValue) {
212
- resolution = res;
213
- break;
214
- }
215
- }
216
- if (returnNum && resolution == null) {
217
- resolution = resolutionArray[resolutionArray.length - 1];
218
- }
219
- return resolution;
220
- }
221
- getDefaultViewSpan(hic, x, y, initialBinNum, minBinNum_bp) {
222
- const chrpairResolution = this.getChrPairResolution(hic, x, y, minBinNum_bp);
223
- if (!chrpairResolution) return;
224
- return chrpairResolution * initialBinNum;
225
- }
226
- };
227
-
228
- // tracks/hic/data/Positions.ts
229
- var Positions = class {
230
- constructor(error, minBinNum_bp) {
231
- this.error = error;
232
- this.resolution = new Resolution(this.error);
233
- this.minBinNum_bp = minBinNum_bp;
234
- }
235
- /**
236
- *
237
- * @param x x coordinate of pointer
238
- * @param y y coordinate of pointer
239
- * @param binpx
240
- * @param chrx x chr from state
241
- * @param chry y chr from state
242
- * @param hic
243
- * @param initialBinNum Set in the state
244
- * @returns
245
- */
246
- setPosition(x, y, binpx, chrx, chry, hic, initialBinNum) {
247
- const resolution = this.resolution.getChrPairResolution(hic, chrx, chry, this.minBinNum_bp);
248
- const viewrangebpw = resolution * initialBinNum;
249
- let coordx = Math.max(1, Math.floor(x * resolution / binpx) - viewrangebpw / 2);
250
- let coordy = Math.max(1, Math.floor(y * resolution / binpx) - viewrangebpw / 2);
251
- {
252
- const lenx = hic.genome.chrlookup[chrx.chr.toUpperCase()].len;
253
- if (coordx + viewrangebpw >= lenx) {
254
- coordx = lenx - viewrangebpw;
255
- }
256
- const leny = hic.genome.chrlookup[chry.chr.toUpperCase()].len;
257
- if (coordy + viewrangebpw > leny) {
258
- coordy = leny - viewrangebpw;
259
- }
260
- }
261
- const xObj = {
262
- chr: chrx.chr,
263
- start: coordx,
264
- stop: coordx + viewrangebpw
265
- };
266
- const yObj = {
267
- chr: chry.chr,
268
- start: coordy,
269
- stop: coordy + viewrangebpw
270
- };
271
- return [xObj, yObj];
272
- }
273
- };
274
-
275
- // tracks/hic/data/GridElementsFormattedData.ts
276
- var GridElementsFormattedData = class {
277
- /**
278
- * Format the data for the grid elements.
279
- * @param items The data to format.
280
- * @param binpx The bin size in pixels.
281
- * @param resolution The resolution.
282
- * @param isFirstChrX Whether the first chromosome is X. Used for chrpair view.
283
- * @param isIntraChr Whether the data is intra-chromosomal. Used for chrpair view
284
- * @returns The formatted data.
285
- */
286
- formatData(view, items, binpx, resolution, isFirstChrX, isIntraChr) {
287
- const formattedData = [];
288
- for (const [xCoord, yCoord, value] of items) {
289
- const xPx = Math.floor(xCoord / resolution) * binpx;
290
- const yPx = Math.floor(yCoord / resolution) * binpx;
291
- if (view == "genome") {
292
- formattedData.push([xPx, yPx, value]);
293
- }
294
- if (view == "chrpair") {
295
- const x = isFirstChrX ? xPx : yPx;
296
- const y = isFirstChrX ? yPx : xPx;
297
- formattedData.push([x, y, value]);
298
- if (isIntraChr) {
299
- formattedData.push([y, x, value]);
300
- }
301
- }
302
- }
303
- return formattedData;
304
- }
305
- };
306
-
307
- // tracks/hic/data/FirstChrX.ts
308
- var FirstChrX = class {
309
- constructor(chrorder, chrx, chry) {
310
- this.chrorder = chrorder;
311
- this.chrx = chrx;
312
- this.chry = chry;
313
- }
314
- isFirstX() {
315
- if (this.chrx == this.chry) return true;
316
- return this.chrorder.indexOf(this.chrx) < this.chrorder.indexOf(this.chry);
317
- }
318
- };
319
-
320
- // tracks/hic/chrpair/ChrPairView.ts
321
- var ChrPairView = class {
322
- constructor(opts) {
323
- this.binpx = 1;
324
- /** padding on the ends of x/y chr coordinate axes */
325
- this.axispad = 10;
326
- this.axisLabelFontSize = 15;
327
- this.calcResolution = null;
328
- this.data = [];
329
- this.app = opts.app;
330
- this.hic = opts.hic;
331
- this.plotDiv = opts.plotDiv;
332
- this.items = opts.items;
333
- this.parent = opts.parent;
334
- this.chrxlen = this.hic.genome.chrlookup[this.parent("state").x.chr.toUpperCase()].len;
335
- this.chrylen = this.hic.genome.chrlookup[this.parent("state").y.chr.toUpperCase()].len;
336
- this.maxchrlen = Math.max(this.chrxlen, this.chrylen);
337
- this.colorizeElement = new ColorizeElement();
338
- this.positions = new Positions(opts.error, this.parent("state").minBinNum_bp);
339
- this.formattedData = new GridElementsFormattedData();
340
- }
341
- setDefaultBinpx() {
342
- if (this.calcResolution == null) return;
343
- while (this.binpx * this.maxchrlen / this.calcResolution < 600) {
344
- this.binpx++;
345
- }
346
- }
347
- renderAxes() {
348
- if (this.calcResolution == null) return;
349
- const svgY = this.plotDiv.yAxis.append("svg");
350
- const h = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
351
- svgY.attr("width", 100).attr("height", this.axispad * 2 + h);
352
- 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)");
353
- axisstyle({
354
- axis: svgY.append("g").attr("transform", `translate(1, ${this.axispad})`).call(axisRight(linear().domain([0, this.chrylen]).range([0, h])).tickFormat(format(".2s"))),
355
- showline: true
356
- });
357
- const svgX = this.plotDiv.xAxis.append("svg").style("margin-top", "-4px");
358
- const w = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
359
- svgX.attr("height", 100).attr("width", this.axispad * 2 + w);
360
- 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);
361
- axisstyle({
362
- axis: svgX.append("g").attr("transform", "translate(" + this.axispad + ",1)").call(axisBottom(linear().domain([0, this.chrxlen]).range([0, w])).tickFormat(format(".2s"))),
363
- showline: true
364
- });
365
- }
366
- renderCanvas() {
367
- const initDetailView = this.initDetailView.bind(this);
368
- this.canvas = this.plotDiv.plot.append("canvas").attr("data-testid", "sjpp-chrpair-canvas").style("margin", this.axispad + "px").on("click", async function(event) {
369
- const [x, y] = pointer_default(event, this);
370
- initDetailView(x, y);
371
- }).node();
372
- this.canvas.width = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
373
- this.canvas.height = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
374
- this.ctx = this.canvas.getContext("2d");
375
- }
376
- initDetailView(x, y) {
377
- const [xObj, yObj] = this.positions.setPosition(
378
- x,
379
- y,
380
- this.binpx,
381
- this.parent("state").x,
382
- this.parent("state").y,
383
- this.hic,
384
- this.parent("state").initialBinNum
385
- );
386
- this.app.dispatch({
387
- type: "view_create",
388
- view: "detail",
389
- config: {
390
- x: xObj,
391
- y: yObj
392
- }
393
- });
394
- }
395
- render() {
396
- this.calcResolution = this.parent("calcResolution");
397
- this.setDefaultBinpx();
398
- this.renderAxes();
399
- this.renderCanvas();
400
- this.update(this.items);
401
- }
402
- update(items) {
403
- this.items = items;
404
- const firstisx = new FirstChrX(this.hic.chrorder, this.parent("state").x.chr, this.parent("state").y.chr).isFirstX();
405
- const isintrachr = this.parent("state").x.chr === this.parent("state").y.chr;
406
- this.data = this.formattedData.formatData(
407
- "chrpair",
408
- items.items,
409
- this.binpx,
410
- this.calcResolution,
411
- firstisx,
412
- isintrachr
413
- );
414
- this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
415
- for (const [x, y, v] of this.data) {
416
- this.colorizeElement.colorizeElement(
417
- x,
418
- y,
419
- v,
420
- this.ctx,
421
- this.binpx,
422
- //width
423
- this.binpx,
424
- //height
425
- this.parent("min"),
426
- this.parent("max"),
427
- "chrpair"
428
- );
429
- }
430
- this.app.dispatch({ type: "loading_active", active: false });
431
- }
432
- };
433
-
434
- // tracks/hic/horizontal/HorizontalView.ts
435
- var HorizontalView = class {
436
- constructor(opts) {
437
- /** Defaults*/
438
- this.maxPercentage = 5;
439
- this.subPanelPxWidth = 600;
440
- this.borderColor = "rgba(200,0,0,.1)";
441
- this.app = opts.app;
442
- this.hic = opts.hic;
443
- this.plotDiv = opts.plotDiv;
444
- this.items = opts.items;
445
- this.parent = opts.parent;
446
- }
447
- setRunPpTracks() {
448
- const tracks = [
449
- {
450
- type: "hicstraw",
451
- file: this.hic.file,
452
- url: this.hic.url,
453
- name: this.hic.name,
454
- enzyme: this.hic.enzyme,
455
- maxpercentage: this.maxPercentage,
456
- pyramindup: 1
457
- }
458
- ];
459
- if (this.hic.tklst) {
460
- for (const t of this.hic.tklst) {
461
- tracks.push(t);
462
- }
463
- }
464
- first_genetrack_tolist(this.hic.genome, tracks);
465
- return tracks;
466
- }
467
- setRunPpArgs(tracks) {
468
- const arg = {
469
- holder: this.plotDiv.plot,
470
- hostURL: this.hic.hostURL,
471
- jwt: this.hic.jwt,
472
- genome: this.hic.genome,
473
- nobox: 1,
474
- tklst: tracks
475
- };
476
- const state = this.parent("state");
477
- if (state.x.chr == state.y.chr && Math.max(state.x.start, state.y.start) < Math.min(state.x.stop, state.y.stop)) {
478
- arg["chr"] = state.x.chr;
479
- arg["start"] = Math.min(state.x.start, state.y.start);
480
- arg["stop"] = Math.max(state.x.stop, state.y.stop);
481
- } else {
482
- arg["chr"] = state.x.chr;
483
- arg["start"] = state.x.start;
484
- arg["stop"] = state.x.stop;
485
- arg["width"] = this.subPanelPxWidth;
486
- arg["subpanels"] = [
487
- {
488
- chr: state.y.chr,
489
- start: state.y.start,
490
- stop: state.y.stop,
491
- width: this.subPanelPxWidth,
492
- leftpad: 10,
493
- leftborder: this.borderColor
494
- }
495
- ];
496
- }
497
- return arg;
498
- }
499
- render() {
500
- const tracks = this.setRunPpTracks();
501
- const arg = this.setRunPpArgs(tracks);
502
- blocklazyload(arg);
503
- }
504
- // update() {
505
- // //Not required.
506
- // //If controls are added back. Implement changes here.
507
- // }
508
- };
509
-
510
- // tracks/hic/detail/DetailBlock.ts
511
- var DetailBlock = class {
512
- constructor(app, hic, blockwidth, bbmargin, holder, isYblock) {
513
- /** Defaults */
514
- this.leftheadw = 20;
515
- this.rightheadw = 40;
516
- this.lpad = 1;
517
- this.rpad = 1;
518
- this.firstRender = true;
519
- this.app = app;
520
- this.hic = hic;
521
- this.width = blockwidth;
522
- this.bbmargin = bbmargin;
523
- this.holder = holder;
524
- this.isYblock = isYblock;
525
- this.bbw = this.leftheadw + this.lpad + this.width + this.rpad + this.rightheadw + 2 * this.bbmargin;
526
- this.defaultLeft = this.bbmargin + this.leftheadw + this.lpad;
527
- this.defaultTop = this.bbmargin + this.rightheadw + this.rpad;
528
- }
529
- setArgs(chrObj) {
530
- const runPpArgs = {
531
- hostURL: this.hic.hostURL,
532
- genome: this.hic.genome,
533
- holder: this.holder,
534
- noresize: true,
535
- nobox: true,
536
- butrowbottom: true,
537
- style: {
538
- margin: `${this.bbmargin}px`
539
- },
540
- width: this.width,
541
- leftheadw: this.leftheadw,
542
- chr: chrObj.chr,
543
- start: chrObj.start,
544
- stop: chrObj.stop,
545
- rightheadw: this.rightheadw,
546
- tklst: [],
547
- rotated: this.isYblock,
548
- showreverse: this.isYblock
549
- };
550
- first_genetrack_tolist(this.hic.genome, runPpArgs.tklst);
551
- return runPpArgs;
552
- }
553
- setMethods(canvasHolder, canvas, sheath) {
554
- const runPpMethods = {
555
- onloadalltk_always: () => {
556
- this.onload(canvasHolder, canvas, sheath);
557
- },
558
- onpanning: (xoff) => this.onpanning(xoff, canvas)
559
- };
560
- if (this.isYblock) {
561
- runPpMethods["onsetheight"] = (bbh) => {
562
- this.holder.transition().style("left", `${bbh + this.bbmargin + 30}px`);
563
- };
564
- }
565
- return runPpMethods;
566
- }
567
- onload(canvasHolder, canvas, sheath) {
568
- this.bbw = this.block.leftheadw + this.block.lpad + this.block.width + this.block.rpad + this.block.rightheadw + 2 * this.bbmargin;
569
- if (this.isYblock) {
570
- sheath.transition().style("height", `${this.bbw}px`);
571
- canvasHolder.style("height", `${this.bbw}px`);
572
- } else canvasHolder.style("width", `${this.bbw}px`);
573
- if (this.isYblock) {
574
- this.defaultTop = this.bbmargin + this.block.rightheadw + this.block.rpad;
575
- canvas.style("top", `${this.defaultTop}px`);
576
- } else {
577
- this.defaultLeft = this.bbmargin + this.block.leftheadw + this.block.lpad;
578
- canvas.style("left", `${this.defaultLeft}px`);
579
- }
580
- const config = {
581
- [this.isYblock ? "y" : "x"]: {
582
- chr: this.block.rglst[0].chr,
583
- start: this.block.rglst[0].start,
584
- stop: this.block.rglst[0].stop
585
- }
586
- };
587
- if (this.firstRender == false) {
588
- this.app.dispatch({
589
- type: "view_update",
590
- config
591
- });
592
- } else {
593
- this.firstRender = false;
594
- }
595
- }
596
- onpanning(xoff, canvas) {
597
- if (!this.isYblock) canvas.style("left", `${xoff + this.defaultLeft}px`);
598
- else canvas.style("top", `${-xoff + this.defaultTop}px`);
599
- }
600
- async loadBlock(chrObj, canvasHolder, canvas, sheath) {
601
- const runPpArgs = this.setArgs(chrObj);
602
- const runPpMethods = this.isYblock ? this.setMethods(canvasHolder, canvas, sheath) : this.setMethods(canvasHolder, canvas);
603
- const args = Object.assign(runPpArgs, runPpMethods);
604
- await blocklazyload(args).then(async (block) => {
605
- this.block = block;
606
- });
607
- }
608
- };
609
-
610
- // tracks/hic/data/DetailDataFetcher.ts
611
- var DetailDataFetcher = class {
612
- constructor(errList) {
613
- this.obj = {
614
- rglst: []
615
- };
616
- this.errList = errList;
617
- }
618
- isFragData(hic, resolution) {
619
- if (resolution != null) return;
620
- if (!hic.enzyme) {
621
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
622
- return;
623
- }
624
- }
625
- formatFragArgs(enzymefile, chr) {
626
- const arg = {
627
- getdata: 1,
628
- getBED: 1,
629
- file: enzymefile,
630
- rglst: [chr]
631
- };
632
- return arg;
633
- }
634
- /**
635
- * @param arg Formated obj from either fn above
636
- * @param errList
637
- * @returns
638
- */
639
- async getBedData(arg) {
640
- try {
641
- return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(arg) });
642
- } catch (e) {
643
- this.errList.push(e.message || e);
644
- if (e.stack) console.error(e.stack);
645
- }
646
- }
647
- async getXFragData(hic, resolution, chrx) {
648
- this.isFragData(hic, resolution);
649
- if (!hic.enzymefile) return;
650
- const reqArgs = this.formatFragArgs(hic.enzymefile, chrx);
651
- return await this.getBedData(reqArgs);
652
- }
653
- async getYFragData(hic, chry) {
654
- const reqArgs = this.formatFragArgs(hic.enzymefile, chry);
655
- return await this.getBedData(reqArgs);
656
- }
657
- /**
658
- * Separate request from data fetch
659
- * Returns the additional fragment data
660
- * @param fragCoords
661
- */
662
- async fetchData(hic, detailView, resolution, x, y, fragCoords) {
663
- const fragStrawArgs = {
664
- matrixType: detailView.matrixType,
665
- file: hic.file,
666
- url: hic.url,
667
- pos1: this.determinePosition(hic, x, fragCoords?.x),
668
- pos2: this.determinePosition(hic, y, fragCoords?.y),
669
- nmeth: detailView.nmeth,
670
- resolution
671
- };
672
- if (fragCoords) fragStrawArgs["isfrag"] = true;
673
- try {
674
- const data = dofetch3("hicdata?", {
675
- method: "POST",
676
- body: JSON.stringify(fragStrawArgs)
677
- });
678
- if (data.error) {
679
- this.errList.push(data.error);
680
- }
681
- return data;
682
- } catch (e) {
683
- this.errList.push(e.message || e);
684
- if (e.stack) console.error(e.stack);
685
- }
686
- }
687
- determinePosition(hic, chr, fragCoord) {
688
- if (fragCoord) {
689
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${fragCoord.start}:${fragCoord.stop}`;
690
- } else {
691
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${chr.start}:${chr.stop}`;
692
- }
693
- }
694
- };
695
-
696
- // tracks/hic/data/ParseFragData.ts
697
- var ParseFragData = class {
698
- constructor(errLst, items) {
699
- this.id2coord = /* @__PURE__ */ new Map();
700
- this.min = null;
701
- this.max = null;
702
- this.items = [];
703
- this.errLst = errLst;
704
- for (const i of items) {
705
- if (!i.rest || !i.rest[0]) {
706
- this.errLst.push("items[].rest data problem");
707
- }
708
- const id = Number.parseInt(i.rest[0]);
709
- if (Number.isNaN(id)) {
710
- this.errLst.push(`${i.start}.${i.stop} invalid fragment id: ${i.rest[0]}`);
711
- }
712
- this.id2coord.set(id, [i.start, i.stop]);
713
- if (this.min == null) {
714
- this.min = id;
715
- this.max = id;
716
- } else {
717
- this.min = Math.min(this.min, id);
718
- this.max = Math.max(this.max, id);
719
- }
720
- }
721
- }
722
- };
723
-
724
- // tracks/hic/data/DetailDataMapper.ts
725
- var DetailDataMapper = class {
726
- constructor(hic, errList, parent) {
727
- this.frag = {
728
- x: {},
729
- y: {}
730
- };
731
- this.hic = hic;
732
- this.errList = errList;
733
- this.dataFetcher = new DetailDataFetcher(errList);
734
- this.parent = parent;
735
- }
736
- async getFragData(chrx, chry) {
737
- try {
738
- const xFragData = await this.dataFetcher.getXFragData(this.hic, this.parent("calcResolution"), chrx);
739
- if (xFragData) {
740
- if (!xFragData.items) {
741
- this.errList.push(`No fragment data returned for ${chrx.chr}:${chrx.start}-${chrx.stop}`);
742
- return;
743
- }
744
- const xParse = new ParseFragData(this.errList, xFragData.items);
745
- if (this.errList.length) return;
746
- this.frag.x = {
747
- id2coord: xParse.id2coord,
748
- start: xParse.min,
749
- stop: xParse.max
750
- };
751
- const yFragData = await this.dataFetcher.getYFragData(this.hic, chry);
752
- if (this.errList.length) return;
753
- if (yFragData) {
754
- if (!yFragData.items) {
755
- this.errList.push(`No fragment data returned for ${chry.chr}:${chry.start}-${chry.stop}`);
756
- return;
757
- }
758
- const yParse = new ParseFragData(this.errList, yFragData.items);
759
- if (this.errList.length) return;
760
- this.frag.y = {
761
- id2coord: /* @__PURE__ */ new Map(),
762
- start: yParse.min,
763
- stop: yParse.max
764
- };
765
- this.determineMap(yParse.id2coord, chrx, chry);
766
- }
767
- }
768
- } catch (e) {
769
- this.errList.push(e.message || e);
770
- if (e.stack) console.error(e.stack);
771
- }
772
- }
773
- determineMap(map, chrx, chry) {
774
- if (chrx.chr == chry.chr) {
775
- for (const [id, pos] of map) {
776
- this.frag.x["id2coord"].set(id, pos);
777
- }
778
- this.frag.y["id2coord"] = this.frag.x["id2coord"];
779
- } else {
780
- this.frag.y["id2coord"] = map;
781
- }
782
- }
783
- async getData(chrx, chry, fragCoords) {
784
- return await this.dataFetcher.fetchData(
785
- this.hic,
786
- this.parent("state")["detail"],
787
- this.parent("calcResolution"),
788
- chrx,
789
- chry,
790
- fragCoords
791
- );
792
- }
793
- };
794
-
795
- // tracks/hic/data/DetailCoodinates.ts
796
- var DetailCoordinates = class {
797
- constructor(hic, errlist) {
798
- this.hic = hic;
799
- this.errlist = errlist;
800
- }
801
- getCoordinates(chrx, chry, data, resolution, widthHeightPx, fragData) {
802
- const isFirstX = new FirstChrX(this.hic.chrorder, chrx.chr, chry.chr).isFirstX();
803
- const isintrachr = chrx.chr == chry.chr;
804
- const xpxbp = widthHeightPx / (chrx.stop - chrx.start);
805
- const ypxbp = widthHeightPx / (chry.stop - chry.start);
806
- const list = this.calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData);
807
- return list;
808
- }
809
- calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData) {
810
- const list = [];
811
- for (const [xCoord, yCoord, value] of data.items) {
812
- let coord1, coord2, span1, span2;
813
- if (fragData) {
814
- const idx_start = isFirstX ? xCoord : yCoord;
815
- const idy_start = isFirstX ? yCoord : xCoord;
816
- if (fragData.x.id2coord.has(idx_start)) {
817
- const [a, b] = fragData.x.id2coord.get(idx_start);
818
- coord1 = a;
819
- span1 = b - a;
820
- } else {
821
- this.errlist.push(`[x id error] x: ${idx_start} y: ${idy_start}`);
822
- continue;
823
- }
824
- {
825
- const id_stop = idx_start + resolution;
826
- if (fragData.x.id2coord.has(id_stop)) {
827
- const ab = fragData.x.id2coord.get(id_stop);
828
- span1 = ab[1] - coord1;
829
- }
830
- }
831
- if (fragData.y.id2coord.has(idy_start)) {
832
- const [a, b] = fragData.y.id2coord.get(idy_start);
833
- coord2 = a;
834
- span2 = b - a;
835
- } else {
836
- this.errlist.push(`[y id error] x: ${idx_start} y: ${idy_start}`);
837
- continue;
838
- }
839
- {
840
- const id_stop = idy_start + resolution;
841
- if (fragData.y.id2coord.has(id_stop)) {
842
- const ab = fragData.y.id2coord.get(id_stop);
843
- span2 = ab[1] - coord2;
844
- }
845
- }
846
- } else {
847
- coord1 = isFirstX ? xCoord : yCoord;
848
- coord2 = isFirstX ? yCoord : xCoord;
849
- span1 = resolution;
850
- span2 = resolution;
851
- }
852
- if (isintrachr) {
853
- if (coord1 > chrx.start - span1 && coord1 < chrx.stop && coord2 > chry.start - span2 && coord2 < chry.stop) {
854
- list.push([
855
- Math.floor((coord1 - chrx.start) * xpxbp),
856
- Math.floor((coord2 - chry.start) * ypxbp),
857
- Math.ceil(span1 * xpxbp),
858
- Math.ceil(span2 * ypxbp),
859
- value
860
- ]);
861
- }
862
- if (coord2 > chrx.start - span2 && coord2 < chrx.stop && coord1 > chry.start && coord1 < chry.stop) {
863
- list.push([
864
- Math.floor((coord2 - chrx.start) * xpxbp),
865
- Math.floor((coord1 - chry.start) * ypxbp),
866
- Math.ceil(span2 * xpxbp),
867
- Math.ceil(span1 * ypxbp),
868
- value
869
- ]);
870
- }
871
- continue;
872
- }
873
- list.push([
874
- Math.floor((coord1 - chrx.start) * xpxbp),
875
- Math.floor((coord2 - chry.start) * ypxbp),
876
- Math.ceil(span1 * xpxbp),
877
- Math.ceil(span2 * ypxbp),
878
- value
879
- ]);
880
- }
881
- return list;
882
- }
883
- };
884
-
885
- // tracks/hic/detail/DetailView.ts
886
- var DetailView = class {
887
- constructor(opts) {
888
- this.calcResolution = null;
889
- /** Defaults **/
890
- this.binpx = 2;
891
- this.bbmargin = 1;
892
- this.app = opts.app;
893
- this.hic = opts.hic;
894
- this.plotDiv = opts.plotDiv;
895
- this.sheath = opts.plotDiv.yAxis.append("div").style("position", "relative").style("width", "200px").style("height", "800px");
896
- this.rotor = this.sheath.append("div").style("position", "absolute").style("bottom", "0px").style("transform", "rotate(-90deg)").style("transform-origin", "left bottom");
897
- this.data = opts.data;
898
- this.parent = opts.parent;
899
- this.errList = this.parent("errList");
900
- this.resolution = new Resolution(opts.error);
901
- this.colorizeElement = new ColorizeElement();
902
- this.viewRangeBpW = this.resolution.getDefaultViewSpan(
903
- this.hic,
904
- this.parent("state").x,
905
- this.parent("state").y,
906
- this.parent("state").initialBinNum,
907
- this.parent("state").minBinNum_bp
908
- );
909
- this.dataMapper = new DetailDataMapper(this.hic, opts.error, opts.parent);
910
- this.coordinates = new DetailCoordinates(this.hic, this.errList);
911
- }
912
- renderCanvas(blockwidth) {
913
- 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");
914
- 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) => {
915
- const body = select_default(document.body);
916
- const x = event.clientX;
917
- const y = event.clientY;
918
- const oldx = Number.parseInt(this.canvas.style("left"));
919
- const oldy = Number.parseInt(this.canvas.style("top"));
920
- body.on("mousemove", (event2) => {
921
- const xoff = event2.clientX - x;
922
- const yoff = event2.clientY - y;
923
- this.xBlock.block.panning(xoff);
924
- this.yBlock.block.panning(yoff);
925
- this.canvas.style("left", `${oldx + xoff}px`).style("top", `${oldy + yoff}px`);
926
- });
927
- body.on("mouseup", (event2) => {
928
- body.on("mousemove", null).on("mouseup", null);
929
- const xoff = event2.clientX - x;
930
- const yoff = event2.clientY - y;
931
- this.xBlock.block.pannedby(xoff);
932
- this.yBlock.block.pannedby(yoff);
933
- });
934
- });
935
- }
936
- async render() {
937
- this.calcResolution = this.parent("calcResolution");
938
- const state = this.parent("state");
939
- this.xBlock = new DetailBlock(
940
- this.app,
941
- this.hic,
942
- state.settings.widthHeightPx,
943
- this.bbmargin,
944
- this.plotDiv.xAxis,
945
- false
946
- );
947
- this.yBlock = new DetailBlock(this.app, this.hic, state.settings.widthHeightPx, this.bbmargin, this.rotor, true);
948
- this.renderCanvas(state.settings.widthHeightPx);
949
- await this.xBlock.loadBlock(state.x, this.canvasHolder, this.canvas);
950
- await this.yBlock.loadBlock(state.y, this.canvasHolder, this.canvas, this.sheath);
951
- this.update(this.data);
952
- }
953
- async update(data) {
954
- if (data.items.length == 0) {
955
- this.app.dispatch({ type: "loading_active", active: false });
956
- return;
957
- }
958
- this.data = data;
959
- const state = this.parent("state");
960
- const initialWidth = Number.parseInt(this.canvas.attr("width"));
961
- const holderChange = Number.parseInt(this.canvasHolder.style("width")) - initialWidth + state.settings.widthHeightPx;
962
- this.canvasHolder.style("width", `${holderChange}px`).style("height", `${holderChange}px`);
963
- this.canvas.attr("width", `${state.settings.widthHeightPx}px`).attr("height", `${state.settings.widthHeightPx}px`);
964
- if (this.xBlock.block.width != state.settings.widthHeightPx) {
965
- this.xBlock.block.width = state.settings.widthHeightPx;
966
- this.yBlock.block.width = state.settings.widthHeightPx;
967
- this.xBlock.block.zoom2px(0, initialWidth);
968
- this.yBlock.block.zoom2px(0, initialWidth);
969
- }
970
- this.ctx = this.canvas.node().getContext("2d");
971
- const coords = this.coordinates.getCoordinates(
972
- state.x,
973
- state.y,
974
- this.parent("data"),
975
- this.parent("calcResolution"),
976
- state.settings.widthHeightPx,
977
- this.parent("fragData")
978
- );
979
- this.coords = coords;
980
- this.ctx.clearRect(0, 0, state.settings.widthHeightPx, state.settings.widthHeightPx);
981
- for (const [xCoord, yCoord, width, height, value] of this.coords) {
982
- this.colorizeElement.colorizeElement(
983
- xCoord,
984
- yCoord,
985
- value,
986
- this.ctx,
987
- width,
988
- height,
989
- this.parent("min"),
990
- this.parent("max"),
991
- "detail"
992
- );
993
- }
994
- this.app.dispatch({ type: "loading_active", active: false });
995
- }
996
- };
997
-
998
- // tracks/hic/axes/Chromosome.ts
999
- var Chromosome = class {
1000
- constructor(chr, width) {
1001
- this.label = chr;
1002
- this.width = width;
1003
- }
1004
- };
1005
-
1006
- // tracks/hic/grid/Grid.ts
1007
- var Grid = class _Grid {
1008
- constructor(chrlst, resolution, chrlookup, binpx) {
1009
- this.chromosomeMatrix = /* @__PURE__ */ new Map();
1010
- this.chromosomeList = [];
1011
- this.xoff = 0;
1012
- this.yoff = 0;
1013
- this.chr2px = [];
1014
- this.chrlst = chrlst;
1015
- let totalpx = this.chrlst.length;
1016
- for (const chr of this.chrlst) {
1017
- const w = Math.ceil(chrlookup[chr.toUpperCase()].len / resolution) * binpx;
1018
- const chromosome = new Chromosome(chr, w);
1019
- this.chromosomeList.push(chromosome);
1020
- this.chr2px[chr] = w;
1021
- totalpx += w;
1022
- }
1023
- this.totalpx = totalpx;
1024
- for (let i = 0; i < this.chrlst.length; i++) {
1025
- const chrx = this.chrlst[i];
1026
- this.chromosomeMatrix.set(chrx, /* @__PURE__ */ new Map());
1027
- let yoff = 0;
1028
- for (let j = 0; j <= i; j++) {
1029
- const chry = this.chrlst[j];
1030
- const chrxChrLen = chrlookup[chrx.toUpperCase()].len;
1031
- const chryChrLen = chrlookup[chry.toUpperCase()].len;
1032
- const xbins = Math.ceil(chrxChrLen / resolution) * binpx;
1033
- const ybins = Math.ceil(chryChrLen / resolution) * binpx;
1034
- this.chromosomeMatrix.get(chrx).set(chry, {
1035
- x: this.xoff,
1036
- y: yoff,
1037
- xbins,
1038
- ybins,
1039
- data: []
1040
- //Empty array of data to fill later
1041
- });
1042
- yoff += this.chr2px[chry] + _Grid.borderWidth;
1043
- }
1044
- this.yoff = yoff;
1045
- this.xoff += this.chr2px[chrx] + _Grid.borderWidth;
1046
- }
1047
- }
1048
- static {
1049
- this.checkerFill = "#DEF3FA";
1050
- }
1051
- static {
1052
- this.spaceColor = "#CCC";
1053
- }
1054
- static {
1055
- this.fontSize = 15;
1056
- }
1057
- static {
1058
- this.font = font;
1059
- }
1060
- static {
1061
- this.borderWidth = 1;
1062
- }
1063
- static {
1064
- this.defaultChrLabWidth = 100;
1065
- }
1066
- };
1067
-
1068
- // tracks/hic/viewmodel/GridViewModel.ts
1069
- var GridViewModel = class {
1070
- constructor(opts) {
1071
- this.grid = new Grid(opts.hic.chrlst, opts.resolution || opts.hic.bpresolution[0], opts.hic.genome.chrlookup, 1);
1072
- }
1073
- };
1074
-
1075
- // tracks/hic/grid/GridRenderer.ts
1076
- var GridRenderer = class {
1077
- constructor(svg, layerMap, layerSv, grid) {
1078
- this.svg = svg;
1079
- this.layerMap = layerMap.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1080
- this.layerSv = layerSv.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1081
- this.grid = grid;
1082
- }
1083
- render() {
1084
- this.renderAxisX(this.grid);
1085
- this.renderAxisY(this.grid);
1086
- this.svg.attr("width", Grid.defaultChrLabWidth + this.grid.xoff).attr("height", Grid.fontSize + this.grid.yoff);
1087
- }
1088
- renderAxisX(grid) {
1089
- let xoff = 0;
1090
- this.grid.chromosomeList.forEach((chr, index) => {
1091
- const chrw = chr.width;
1092
- if (index % 2 === 0) {
1093
- this.layerMap.append("rect").attr("x", xoff).attr("width", chrw).attr("height", Grid.fontSize).attr("y", -Grid.fontSize).attr("fill", Grid.checkerFill);
1094
- }
1095
- 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);
1096
- xoff += chrw;
1097
- this.layerSv.append("line").attr("x1", xoff).attr("x2", xoff).attr("y2", grid.totalpx).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1098
- xoff += Grid.borderWidth;
1099
- });
1100
- }
1101
- renderAxisY(grid) {
1102
- let yoff = 0;
1103
- this.grid.chromosomeList.forEach((chr, index) => {
1104
- const chrh = chr.width;
1105
- if (index % 2 === 0) {
1106
- this.layerMap.append("rect").attr("x", -Grid.defaultChrLabWidth).attr("width", Grid.defaultChrLabWidth).attr("height", chrh).attr("y", yoff).attr("fill", Grid.checkerFill);
1107
- }
1108
- 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);
1109
- yoff += chrh;
1110
- this.layerSv.append("line").attr("x2", grid.totalpx).attr("y1", yoff).attr("y2", yoff).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1111
- yoff += Grid.borderWidth;
1112
- });
1113
- }
1114
- };
1115
-
1116
- // tracks/hic/genome/ChrsTooltips.ts
1117
- var ChrsTooltips = class {
1118
- constructor() {
1119
- this.chrx_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1120
- this.chry_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1121
- }
1122
- render(img, chrx, chry) {
1123
- const p = img.node().getBoundingClientRect();
1124
- 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);
1125
- 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);
1126
- }
1127
- };
1128
-
1129
- // tracks/hic/grid/GridElementRenderer.ts
1130
- var GridElementRenderer = class {
1131
- constructor(layerMap, app) {
1132
- this.app = app;
1133
- this.layerMap = layerMap;
1134
- this.tooltips = new ChrsTooltips();
1135
- }
1136
- render(obj, lead, follow, holder) {
1137
- obj.canvas = holder.append("canvas").style("display", "none").node();
1138
- obj.ctx = obj.canvas.getContext("2d");
1139
- obj.canvas.width = obj.xbins;
1140
- obj.canvas.height = obj.ybins;
1141
- 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 () => {
1142
- await this.app.dispatch({
1143
- type: "view_create",
1144
- view: "chrpair",
1145
- config: {
1146
- x: {
1147
- chr: lead
1148
- },
1149
- y: {
1150
- chr: follow
1151
- }
1152
- }
1153
- });
1154
- }).on("mouseover", () => {
1155
- this.tooltips.render(obj.img, lead, follow);
1156
- });
1157
- if (lead != follow) {
1158
- obj.canvas2 = holder.append("canvas").style("display", "none").node();
1159
- obj.canvas2.width = obj.ybins;
1160
- obj.canvas2.height = obj.xbins;
1161
- obj.ctx2 = obj.canvas2.getContext("2d");
1162
- 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 () => {
1163
- await this.app.dispatch({
1164
- type: "view_create",
1165
- view: "chrpair",
1166
- config: {
1167
- x: {
1168
- chr: follow
1169
- },
1170
- y: {
1171
- chr: lead
1172
- }
1173
- }
1174
- });
1175
- }).on("mouseover", () => {
1176
- this.tooltips.render(obj.img2, follow, lead);
1177
- });
1178
- } else {
1179
- obj.ctx2 = obj.ctx;
1180
- }
1181
- }
1182
- };
1183
-
1184
- // tracks/hic/grid/GridElementsRenderer.ts
1185
- var GridElementsRenderer = class {
1186
- constructor(grid, layerMap, app) {
1187
- this.grid = grid;
1188
- this.gridElementRenderer = new GridElementRenderer(layerMap, app);
1189
- }
1190
- render(holder) {
1191
- for (const [chrx, chryMap] of this.grid.chromosomeMatrix) {
1192
- for (const [chry, gridElem] of chryMap) {
1193
- this.gridElementRenderer.render(gridElem, chrx, chry, holder);
1194
- }
1195
- }
1196
- }
1197
- };
1198
-
1199
- // tracks/hic/genome/GenomeView.ts
1200
- var GenomeView = class {
1201
- constructor(opts) {
1202
- /** Dom */
1203
- this.tip = new Menu();
1204
- this.pica_x = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1205
- this.pica_y = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1206
- /** Data */
1207
- /** px width for each chr */
1208
- this.chr2px = {};
1209
- this.lead2follow = /* @__PURE__ */ new Map();
1210
- this.values = [];
1211
- /** Defaults */
1212
- this.defaultChrLabWidth = 100;
1213
- this.borderwidth = 1;
1214
- this.default_maxVPerc = 5;
1215
- this.fontsize = 15;
1216
- this.xoff = 0;
1217
- this.yoff = 0;
1218
- this.binpx = 1;
1219
- this.atdev_chrnum = 8;
1220
- this.min = 0;
1221
- this.max = 0;
1222
- this.app = opts.app;
1223
- this.hic = opts.hic;
1224
- this.plotDiv = opts.plotDiv;
1225
- this.data = opts.data;
1226
- this.parent = opts.parent;
1227
- this.resolution = opts.resolution || opts.hic.bpresolution[0];
1228
- this.svg = this.plotDiv.plot.append("svg").attr("data-testid", "sjpp-hic-genome-svg");
1229
- this.layer_map = this.svg.append("g").attr("data-testid", "sjpp-hic-layerMap-g");
1230
- this.layer_sv = this.svg.append("g").attr("data-testid", "sjpp-hic-layerSv-g");
1231
- this.colorizeElement = new ColorizeElement();
1232
- this.viewModel = new GridViewModel(opts);
1233
- this.viewRender = new GridRenderer(this.svg, this.layer_map, this.layer_sv, this.viewModel.grid);
1234
- this.gridElementsRenderer = new GridElementsRenderer(this.viewModel.grid, this.layer_map, this.app);
1235
- this.gridFormattedData = new GridElementsFormattedData();
1236
- }
1237
- makeSv() {
1238
- const unknownchr = /* @__PURE__ */ new Set();
1239
- const radius = 8;
1240
- for (const item of this.hic.sv.items) {
1241
- const _o = this.lead2follow.get(item.chr1);
1242
- if (!_o) {
1243
- unknownchr.add(item.chr1);
1244
- continue;
1245
- }
1246
- const obj = _o.get(item.chr2);
1247
- if (!obj) {
1248
- unknownchr.add(item.chr2);
1249
- continue;
1250
- }
1251
- const p1 = item.position1 / this.resolution;
1252
- const p2 = item.position2 / this.resolution;
1253
- 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) => {
1254
- this.tooltipSv(event, item);
1255
- }).on("mouseout", () => {
1256
- this.tip.hide();
1257
- }).on("click", () => {
1258
- this.clickSv(item);
1259
- });
1260
- if (obj.img2) {
1261
- 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) => {
1262
- this.tooltipSv(event, item);
1263
- }).on("mouseout", () => {
1264
- this.tip.hide();
1265
- }).on("click", () => {
1266
- this.clickSv(item);
1267
- });
1268
- }
1269
- }
1270
- }
1271
- tooltipSv(event, item) {
1272
- this.tip.clear().show(event.clientX, event.clientY).d.append("div").text(
1273
- item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`
1274
- );
1275
- }
1276
- clickSv(item) {
1277
- const default_svpointspan = 5e5;
1278
- const default_subpanelpxwidth = 600;
1279
- const subpanel_bordercolor = "rgba(200,0,0,.1)";
1280
- const pane = newpane({ x: 100, y: 100 });
1281
- pane.header.text(
1282
- this.hic.name + " " + (item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`)
1283
- );
1284
- const tracks = [
1285
- {
1286
- type: tkt.hicstraw,
1287
- file: this.hic.file,
1288
- enzyme: this.hic.enzyme,
1289
- maxpercentage: this.default_maxVPerc,
1290
- pyramidup: 1,
1291
- name: this.hic.name
1292
- }
1293
- ];
1294
- if (this.hic.tklst) {
1295
- for (const t of this.hic.tklst) {
1296
- tracks.push(t);
1297
- }
1298
- }
1299
- first_genetrack_tolist(this.hic.genome, tracks);
1300
- const arg = {
1301
- holder: pane.body,
1302
- hostURL: this.hic.hostURL,
1303
- jwt: this.hic.jwt,
1304
- genome: this.hic.genome,
1305
- nobox: 1,
1306
- tklst: tracks
1307
- };
1308
- if (item.chr1 == item.chr2 && Math.abs(item.position2 - item.position1) < default_svpointspan * 2) {
1309
- arg.chr = item.chr1;
1310
- const w = Math.abs(item.position2 - item.position1);
1311
- arg.start = Math.max(1, Math.min(item.position1, item.position2) - w);
1312
- arg.stop = Math.min(
1313
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1314
- Math.max(item.position1, item.position2) + w
1315
- );
1316
- } else {
1317
- arg.chr = item.chr1;
1318
- arg.start = Math.max(1, item.position1 - default_svpointspan / 2);
1319
- arg.stop = Math.min(
1320
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1321
- item.position1 + default_svpointspan / 2
1322
- );
1323
- arg.width = default_subpanelpxwidth;
1324
- arg.subpanels = [
1325
- {
1326
- chr: item.chr2,
1327
- start: Math.max(1, item.position2 - default_svpointspan / 2),
1328
- stop: Math.min(
1329
- this.hic.genome.chrlookup[item.chr2.toUpperCase()].len,
1330
- item.position2 + default_svpointspan / 2
1331
- ),
1332
- width: default_subpanelpxwidth,
1333
- leftpad: 10,
1334
- leftborder: subpanel_bordercolor
1335
- }
1336
- ];
1337
- }
1338
- blocklazyload(arg);
1339
- }
1340
- render() {
1341
- this.viewRender.render();
1342
- this.gridElementsRenderer.render(this.hic.holder);
1343
- if (this.hic.sv && this.hic.sv.items) {
1344
- this.makeSv();
1345
- }
1346
- this.update(this.data);
1347
- }
1348
- update(data) {
1349
- this.data = data;
1350
- this.min = this.parent("min");
1351
- this.max = this.parent("max");
1352
- for (const data2 of this.data) {
1353
- if (!this.hic.chrlst.includes(data2.lead) || !this.hic.chrlst.includes(data2.follow)) continue;
1354
- const obj = this.viewModel.grid.chromosomeMatrix.get(data2.lead).get(data2.follow);
1355
- if (!obj) continue;
1356
- obj.ctx.clearRect(0, 0, obj.canvas.width, obj.canvas.height);
1357
- if (obj.canvas2) {
1358
- obj.ctx2.clearRect(0, 0, obj.canvas2.width, obj.canvas.height);
1359
- }
1360
- obj.data = this.gridFormattedData.formatData("genome", data2.items, this.binpx, this.resolution);
1361
- for (const [xPx, yPx, value] of obj.data) {
1362
- this.colorizeElement.colorizeElement(xPx, yPx, value, obj, this.binpx, this.binpx, this.min, this.max, "genome");
1363
- }
1364
- obj.img.attr("xlink:href", obj.canvas.toDataURL());
1365
- if (obj.canvas2) {
1366
- obj.img2.attr("xlink:href", obj.canvas2.toDataURL());
1367
- }
1368
- }
1369
- this.app.dispatch({ type: "loading_active", active: false });
1370
- }
1371
- };
1372
-
1373
- // tracks/hic/controls/NormalizationMethodControl.ts
1374
- var NormalizationMethodControl = class {
1375
- constructor(holder, normalization, defaultNmeth, callback) {
1376
- this.holder = holder;
1377
- this.normalization = normalization;
1378
- this.defaultNmeth = defaultNmeth;
1379
- this.callback = callback;
1380
- }
1381
- render() {
1382
- if (!this.normalization?.length) {
1383
- this.nmethSelect = this.holder.text(this.defaultNmeth);
1384
- } else {
1385
- this.nmethSelect = this.holder.attr("data-testid", "sjpp-hic-nmeth-select").style("margin-right", "10px").append("select").on("change", async () => {
1386
- const nmeth = this.nmethSelect.node().value;
1387
- this.callback(nmeth, "nmeth");
1388
- });
1389
- for (const n of this.normalization) {
1390
- this.nmethSelect.append("option").text(n);
1391
- }
1392
- }
1393
- }
1394
- update(option) {
1395
- const options = this.nmethSelect.node().options;
1396
- if (!options) return;
1397
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1398
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1399
- selectedNmeth.selected = true;
1400
- }
1401
- };
1402
-
1403
- // tracks/hic/controls/CutoffControl.ts
1404
- var CutoffControl = class {
1405
- constructor(holder, value, callback) {
1406
- this.holder = holder;
1407
- this.value = value;
1408
- this.callback = callback;
1409
- }
1410
- render(opts) {
1411
- 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) => {
1412
- if (event.code != "Enter") return;
1413
- const v = event.target.value;
1414
- this.callback(v);
1415
- });
1416
- return cutoffDiv;
1417
- }
1418
- };
1419
-
1420
- // tracks/hic/controls/MatrixTypeControl.ts
1421
- var MatrixTypeControl = class {
1422
- constructor(holder, callback) {
1423
- this.values = [
1424
- { label: "Observed", value: "observed" },
1425
- { label: "Expected", value: "expected" },
1426
- { label: "Observed/Expected", value: "oe" },
1427
- { label: "Log(Observed/Expected)", value: "log(oe)" }
1428
- // TODO: add server side logic to support these options
1429
- // { label: 'Log(Observed + 1)', value: 'log(obs+1)'},
1430
- // { label: 'Observed Pearson', value: 'op'}
1431
- ];
1432
- this.holder = holder;
1433
- this.callback = callback;
1434
- }
1435
- render() {
1436
- this.matrixSelect = this.holder.attr("data-testid", "sjpp-hic-matrix-type-select").style("margin-right", "10px").append("select").on("change", async () => {
1437
- this.callback(this.matrixSelect.node().value, "matrixType");
1438
- });
1439
- for (const matrixType of this.values) {
1440
- this.matrixSelect.append("option").text(matrixType.label).attr("value", matrixType.value);
1441
- }
1442
- }
1443
- update(option) {
1444
- const options = this.matrixSelect.node().options;
1445
- if (!options) return;
1446
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1447
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1448
- selectedNmeth.selected = true;
1449
- }
1450
- };
1451
-
1452
- // tracks/hic/controls/ControlPanel.ts
1453
- var ControlPanel = class _ControlPanel {
1454
- constructor(opts) {
1455
- this.zoomBlockCallback = (bool) => {
1456
- const detailView = this.parent("detail");
1457
- detailView.xBlock.block.zoomblock(2, bool);
1458
- detailView.yBlock.block.zoomblock(2, bool);
1459
- };
1460
- this.minCallback = (v) => {
1461
- if (Number(v) > Number(this.parent("max"))) {
1462
- this.error("Min cutoff cannot be greater than max cutoff");
1463
- } else {
1464
- this.parent("min", Number(v));
1465
- this.reColorHeatmap();
1466
- this.parent("infoBar").update();
1467
- }
1468
- };
1469
- this.maxCallback = (v) => {
1470
- if (Number(v) < Number(this.parent("min"))) {
1471
- this.error(`Max cutoff cannot be less than min cutoff`);
1472
- } else if (Number(v) < 0) {
1473
- this.error(`Max cutoff cannot be less than 0`);
1474
- } else {
1475
- this.parent("max", Number(v));
1476
- this.reColorHeatmap();
1477
- this.parent("infoBar").update();
1478
- }
1479
- };
1480
- this.reColorHeatmap = () => {
1481
- if (this.parent("activeView") == "genome") {
1482
- const genomeView = this.parent("genome");
1483
- const chrMatrix = genomeView.viewRender.grid.chromosomeMatrix;
1484
- if (!chrMatrix) return;
1485
- for (const map of chrMatrix) {
1486
- const yMap = map[1];
1487
- for (const obj of yMap) {
1488
- const canvasObj = obj[1];
1489
- if (!canvasObj) continue;
1490
- for (const [leadpx, followpx, val] of canvasObj.data) {
1491
- this.colorizeElement.colorizeElement(
1492
- leadpx,
1493
- followpx,
1494
- val,
1495
- canvasObj,
1496
- 1,
1497
- 1,
1498
- this.parent("min"),
1499
- this.parent("max"),
1500
- "genome"
1501
- );
1502
- }
1503
- canvasObj.img.attr("xlink:href", canvasObj.canvas.toDataURL());
1504
- if (canvasObj.canvas2) {
1505
- canvasObj.img2.attr("xlink:href", canvasObj.canvas2.toDataURL());
1506
- }
1507
- }
1508
- }
1509
- } else if (this.parent("activeView") == "chrpair") {
1510
- const view = this.parent("chrpair");
1511
- for (const [xCoord, yCoord, val] of view.data) {
1512
- this.colorizeElement.colorizeElement(
1513
- xCoord,
1514
- yCoord,
1515
- val,
1516
- view.ctx,
1517
- view.binpx,
1518
- view.binpx,
1519
- this.parent("min"),
1520
- this.parent("max"),
1521
- "chrpair"
1522
- );
1523
- }
1524
- } else if (this.parent("activeView") == "detail") {
1525
- const view = this.parent("detail");
1526
- for (const [xCoord, yCoord, width, height, value] of view.coords) {
1527
- this.colorizeElement.colorizeElement(
1528
- xCoord,
1529
- yCoord,
1530
- value,
1531
- view.ctx,
1532
- width,
1533
- height,
1534
- this.parent("min"),
1535
- this.parent("max"),
1536
- "detail"
1537
- );
1538
- }
1539
- }
1540
- };
1541
- this.dropdownCallback = (v, prop) => {
1542
- const state = this.app.getState();
1543
- this.app.dispatch({
1544
- type: "view_update",
1545
- view: state.currView,
1546
- config: { [prop]: v }
1547
- });
1548
- };
1549
- this.type = _ControlPanel.type;
1550
- this.controls = {};
1551
- this.app = opts.app;
1552
- this.controlsDiv = opts.controlsDiv;
1553
- this.hic = opts.hic;
1554
- this.colorizeElement = new ColorizeElement();
1555
- this.parent = opts.parent;
1556
- this.error = opts.error;
1557
- }
1558
- static {
1559
- this.type = "controlPanel";
1560
- }
1561
- getState(appState) {
1562
- return appState;
1563
- }
1564
- addLabel(tr, text) {
1565
- return tr.append("td").style("color", "#858585").style("font-size", ".8em").style("vertical-align", text.toUpperCase() == "VIEW" ? "top" : "middle").text(text.toUpperCase());
1566
- }
1567
- init() {
1568
- const state = this.app.getState();
1569
- 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");
1570
- let menuVisible = true;
1571
- 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", () => {
1572
- menuVisible = !menuVisible;
1573
- menu.style("display", menuVisible ? "block" : "none");
1574
- });
1575
- const menu = menuWrapper.append("div").attr("class", "sjpp-hic-menu").attr("data-testid", "sjpp-hic-menu").style("display", menuVisible ? "block" : "none");
1576
- const menuTable = menu.append("table").style("border-spacing", "3px");
1577
- this.controls.normalizationRow = menuTable.append("tr");
1578
- this.addLabel(this.controls.normalizationRow, "NORMALIZATION");
1579
- this.controls.nmeth = new NormalizationMethodControl(
1580
- this.controls.normalizationRow.append("td").attr("class", "sjpp-nmeth-select"),
1581
- this.hic.normalization,
1582
- state.defaultNmeth,
1583
- this.dropdownCallback
1584
- );
1585
- this.controls.nmeth.render();
1586
- this.controls.minCutoffRow = menuTable.append("tr");
1587
- this.controls.minCutoffLabel = this.addLabel(this.controls.minCutoffRow, "");
1588
- this.controls.inputBpMinV = new CutoffControl(
1589
- this.controls.minCutoffRow.append("td"),
1590
- this.parent("min"),
1591
- this.minCallback
1592
- ).render({ width: "120px" });
1593
- this.controls.maxCutoffRow = menuTable.append("tr");
1594
- this.controls.maxCutoffLabel = this.addLabel(this.controls.maxCutoffRow, "");
1595
- this.controls.inputBpMaxV = new CutoffControl(
1596
- this.controls.maxCutoffRow.append("td"),
1597
- this.parent("max"),
1598
- this.maxCallback
1599
- ).render({ width: "120px" });
1600
- this.controls.matrixTypeRow = menuTable.append("tr");
1601
- this.addLabel(this.controls.matrixTypeRow, "matrix type");
1602
- this.controls.matrixType = new MatrixTypeControl(this.controls.matrixTypeRow.append("td"), this.dropdownCallback);
1603
- this.controls.matrixType.render();
1604
- this.controls.widthRow = menuTable.append("tr");
1605
- this.addLabel(this.controls.widthRow, "WIDTH / height");
1606
- this.controls.width = this.controls.widthRow.append("td");
1607
- 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) => {
1608
- if (event.code != "Enter") return;
1609
- const v = event.target.value;
1610
- this.app.dispatch({
1611
- type: "view_update",
1612
- config: {
1613
- settings: { widthHeightPx: Number.parseInt(v) }
1614
- }
1615
- });
1616
- });
1617
- const viewRow = menuTable.append("tr");
1618
- this.addLabel(viewRow, "VIEW");
1619
- const viewBtnDiv = viewRow.append("td");
1620
- this.controls.view = viewBtnDiv.append("span").attr("data-testid", "sjpp-hic-view-span").style("padding-right", "5px").style("display", "block");
1621
- 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 () => {
1622
- await this.app.dispatch({
1623
- type: "view_create",
1624
- view: "genome",
1625
- config: {
1626
- x: {},
1627
- y: {}
1628
- }
1629
- });
1630
- });
1631
- 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 () => {
1632
- const currState = this.app.getState();
1633
- await this.app.dispatch({
1634
- type: "view_create",
1635
- view: "chrpair",
1636
- config: {
1637
- x: {
1638
- chr: currState.x.chr
1639
- },
1640
- y: {
1641
- chr: currState.y.chr
1642
- }
1643
- }
1644
- });
1645
- });
1646
- 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 () => {
1647
- await this.app.dispatch({
1648
- type: "view_create",
1649
- view: "horizontal"
1650
- });
1651
- });
1652
- 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 () => {
1653
- await this.app.dispatch({
1654
- type: "view_create",
1655
- view: "detail"
1656
- });
1657
- });
1658
- this.controls.zoomDiv = menuTable.append("tr").attr("data-testid", "sjpp-hic-zoom-div").style("display", state.currView == "detail" ? "contents" : "none");
1659
- this.addLabel(this.controls.zoomDiv, "ZOOM");
1660
- const zoomDiv = this.controls.zoomDiv.append("td");
1661
- this.controls.zoomIn = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-in-btn").style("margin-right", "10px").text("In").on("click", () => {
1662
- this.zoomBlockCallback(false);
1663
- });
1664
- this.controls.zoomOut = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-out-btn").style("margin-right", "10px").text("Out").on("click", () => {
1665
- this.zoomBlockCallback(true);
1666
- });
1667
- }
1668
- showBtns() {
1669
- const state = this.app.getState();
1670
- this.controls.genomeViewBtn.style("display", state.currView === "genome" ? "none" : "inline-block");
1671
- if (state.currView === "detail") {
1672
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1673
- this.controls.horizontalViewBtn.style("display", "block");
1674
- this.controls.zoomDiv.style("display", "contents");
1675
- this.controls.detailViewBtn.style("display", "none");
1676
- } else if (state.currView === "horizontal") {
1677
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1678
- this.controls.detailViewBtn.style("display", "block");
1679
- this.controls.horizontalViewBtn.style("display", "none");
1680
- this.controls.zoomDiv.style("display", "none");
1681
- } else {
1682
- this.controls.chrpairViewBtn.style("display", "none");
1683
- this.controls.horizontalViewBtn.style("display", "none");
1684
- this.controls.detailViewBtn.style("display", "none");
1685
- this.controls.zoomDiv.style("display", "none");
1686
- this.controls.widthRow.style("display", "none");
1687
- }
1688
- }
1689
- showHideControls() {
1690
- const state = this.app.getState();
1691
- this.controls.normalizationRow.style("display", state.currView == "horizontal" ? "none" : "");
1692
- this.controls.minCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1693
- this.controls.maxCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1694
- this.controls.matrixTypeRow.style("display", state.currView == "horizontal" ? "none" : "");
1695
- this.controls.widthRow.style("display", state.currView == "detail" ? "contents" : "none");
1696
- }
1697
- main(appState) {
1698
- const state = this.app.getState(appState);
1699
- this.controls.nmeth.update(state[state.currView].nmeth);
1700
- this.controls.matrixType.update(state[state.currView].matrixType);
1701
- this.controls.zoomDiv.style("display", state.currView == "detail" ? "contents" : "none");
1702
- if (state.currView == "chrpair") {
1703
- this.controls.view.text(`${state.x.chr}-${state.y.chr} Pair`);
1704
- } else {
1705
- this.controls.view.text(state.currView.charAt(0).toUpperCase() + state.currView.slice(1));
1706
- }
1707
- const formatAbsMin = this.parent("absMin") < 1e-5 ? Number(this.parent("absMin")).toExponential(1) : Number(this.parent("absMin").toFixed(6));
1708
- const formatAbsMax = this.parent("absMax") < 1e-5 ? Number(this.parent("absMax")).toExponential(1) : Number(this.parent("absMax").toFixed(6));
1709
- this.controls.width.select("input").property("value", state.settings.widthHeightPx);
1710
- this.controls.inputBpMinV.property("value", this.parent("min"));
1711
- this.controls.inputBpMaxV.property("value", this.parent("max"));
1712
- this.controls.minCutoffLabel.html(`MIN CUTOFF <br>(>= ${formatAbsMin})`);
1713
- this.controls.maxCutoffLabel.html(`MAX CUTOFF <br>(<= ${formatAbsMax})`);
1714
- this.showBtns();
1715
- this.showHideControls();
1716
- }
1717
- };
1718
- var controlPanelInit = getCompInit(ControlPanel);
1719
-
1720
- // tracks/hic/dom/InfoBar.ts
1721
- var InfoBar = class {
1722
- constructor(opts) {
1723
- /** Defaults **/
1724
- //Color shown on the left of the color scale
1725
- this.startColor = "white";
1726
- //Color shown on the right of the color scale
1727
- this.endColor = "red";
1728
- this.addLabel = (text) => {
1729
- 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());
1730
- };
1731
- this.addValue = (text) => {
1732
- 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);
1733
- };
1734
- this.type = "infoBar";
1735
- this.app = opts.app;
1736
- this.hic = opts.hic;
1737
- const table = opts.infoBarDiv;
1738
- this.labelRow = table.append("tr");
1739
- this.valueRow = table.append("tr");
1740
- this.parent = opts.parent;
1741
- }
1742
- async render() {
1743
- this.addLabel("Version");
1744
- this.addValue(this.hic.version);
1745
- this.addLabel("Enzyme");
1746
- this.addValue(this.hic.enzyme || "N/A");
1747
- this.addLabel("Resolution");
1748
- this.resolutionDiv = this.addValue("");
1749
- this.colorScaleLabel = this.addLabel("Scale");
1750
- this.colorScaleDiv = this.valueRow.append("td").attr("data-testid", "sjpp-hic-color-scale");
1751
- const min = this.parent("min");
1752
- let max = this.parent("max");
1753
- if (min == max) max = max + 0.01;
1754
- this.colorScale = new ColorScale({
1755
- barheight: 20,
1756
- barwidth: 100,
1757
- domain: [min, max],
1758
- fontSize: 12,
1759
- height: 40,
1760
- width: 150,
1761
- holder: this.colorScaleDiv,
1762
- colors: [this.startColor, this.endColor],
1763
- position: "20,0",
1764
- ticks: 3,
1765
- tickSize: 5,
1766
- //Do not use min value here on initialization. It's 0 and will not update later.
1767
- markedValue: 1
1768
- });
1769
- }
1770
- update() {
1771
- const res = this.parent("calcResolution");
1772
- let resolutionText;
1773
- if (res < this.hic.bpresolution[this.hic.bpresolution.length - 1]) {
1774
- resolutionText = `${res} fragment${res > 1 ? "s" : ""}`;
1775
- } else {
1776
- resolutionText = bplen(res);
1777
- }
1778
- this.resolutionDiv.text(resolutionText);
1779
- if (this.parent("state").currView == "horizontal") {
1780
- this.colorScaleLabel.style("display", "none");
1781
- this.colorScaleDiv.style("display", "none");
1782
- } else {
1783
- this.colorScaleLabel.style("display", "");
1784
- this.colorScaleDiv.style("display", "");
1785
- const min = this.parent("min");
1786
- const max = this.parent("max");
1787
- if (min < 0) {
1788
- this.colorScale.colors = ["blue", "white", "red"];
1789
- this.colorScale.domain = [min, 0, max];
1790
- } else {
1791
- this.colorScale.colors = ["white", "red"];
1792
- this.colorScale.domain = [0, max];
1793
- }
1794
- this.colorScale.markedValue = min;
1795
- this.colorScale.updateScale();
1796
- }
1797
- }
1798
- };
1799
-
1800
- // tracks/hic/data/DataMapper.ts
1801
- var DataMapper = class {
1802
- constructor(hic, percentile) {
1803
- this.hic = hic;
1804
- this.percentile = percentile ? percentile / 100 : 0.99;
1805
- }
1806
- sortData(data) {
1807
- const vlst = [];
1808
- if (data?.items && data?.items.length) {
1809
- for (const i of data.items) {
1810
- vlst.push(i[2]);
1811
- }
1812
- } else {
1813
- const blankChrs = /* @__PURE__ */ new Set();
1814
- for (const d of data) {
1815
- if (d.lead == "chrM" && !d.items.length || d.lead == "chrY" && !d.items.length) {
1816
- blankChrs.add(d.lead);
1817
- continue;
1818
- }
1819
- for (const i of d.items) {
1820
- vlst.push(i[2]);
1821
- }
1822
- }
1823
- if (blankChrs.size) {
1824
- for (const c of blankChrs) {
1825
- const idx = this.hic.chrlst.indexOf(c);
1826
- this.hic.chrlst.splice(idx, 1);
1827
- }
1828
- }
1829
- }
1830
- const sortedVlst = vlst.sort((a, b) => a - b);
1831
- const max = sortedVlst[Math.floor(sortedVlst.length * this.percentile)];
1832
- const min = sortedVlst[0];
1833
- return [min, max, sortedVlst[sortedVlst.length - 1]];
1834
- }
1835
- };
1836
-
1837
- // tracks/hic/data/GenomeDataFetcher.ts
1838
- var GenomeDataFetcher = class {
1839
- constructor(hic, debugmode, errList = []) {
1840
- this.data = [];
1841
- this.hic = hic;
1842
- this.debugmode = debugmode;
1843
- this.errList = errList || [];
1844
- }
1845
- async getData(obj) {
1846
- if (this.data.length) this.data = [];
1847
- if (!obj?.matrixType) obj.matrixType = "observed";
1848
- try {
1849
- const res = await dofetch3("hicgenome?", {
1850
- method: "POST",
1851
- body: JSON.stringify({
1852
- chrlst: this.hic.chrlst,
1853
- nmeth: obj.nmeth,
1854
- resolution: obj.resolution,
1855
- matrixType: obj.matrixType,
1856
- file: this.hic.file,
1857
- url: this.hic.url,
1858
- nochr: this.hic.nochr
1859
- })
1860
- });
1861
- if (res.error) {
1862
- const errs = res.error.split("\n");
1863
- for (const e of errs) {
1864
- this.errList.push(e);
1865
- }
1866
- }
1867
- return res.data;
1868
- } catch (e) {
1869
- this.errList.push(e.message || e);
1870
- if (e.stack) console.error(e.stack);
1871
- }
1872
- }
1873
- };
1874
-
1875
- // tracks/hic/data/DataFetcher.ts
1876
- var DataFetcher = class {
1877
- constructor(hic, debugmode, errList = []) {
1878
- this.hic = hic;
1879
- this.debugmode = debugmode;
1880
- this.errList = errList || [];
1881
- }
1882
- async getData(obj) {
1883
- if (!obj?.matrixType) obj.matrixType = "observed";
1884
- const arg = {
1885
- matrixType: obj.matrixType,
1886
- file: this.hic.file,
1887
- url: this.hic.url,
1888
- pos1: this.hic.nochr ? obj.lead.replace("chr", "") : obj.lead,
1889
- pos2: this.hic.nochr ? obj.follow.replace("chr", "") : obj.follow,
1890
- nmeth: obj.nmeth,
1891
- resolution: obj.resolution
1892
- };
1893
- try {
1894
- const data = await dofetch3("hicdata?", {
1895
- method: "POST",
1896
- body: JSON.stringify(arg)
1897
- });
1898
- if (data.error) {
1899
- throw Error(`${obj.lead} - ${obj.follow}: ${data.error.error}`);
1900
- }
1901
- if (!data.items || data.items.length == 0) return;
1902
- return data;
1903
- } catch (e) {
1904
- this.errList.push(e.message || e);
1905
- if (e.stack) console.error(e.stack);
1906
- }
1907
- }
1908
- };
1909
-
1910
- // tracks/hic/HicComponent.ts
1911
- var HicComponent = class _HicComponent {
1912
- constructor(opts) {
1913
- this.genomeData = [];
1914
- this.calcResolution = null;
1915
- this.firstRender = true;
1916
- this.min = 0;
1917
- this.absMin = 0;
1918
- this.max = 0;
1919
- this.absMax = 0;
1920
- this.hasStatePreMain = true;
1921
- this.type = _HicComponent.type;
1922
- this.hic = opts.hic;
1923
- this.state = opts.state;
1924
- this.dom = opts.dom;
1925
- this.errList = opts.errList;
1926
- this.plotDiv = this.dom.plotDiv.append("table").classed("sjpp-hic-plot-main", true);
1927
- const tr1 = this.plotDiv.append("tr");
1928
- const tr2 = this.plotDiv.append("tr");
1929
- this.plotDiv = {
1930
- plot: tr1.append("td").classed("sjpp-hic-plot", true).attr("data-testid", "sjpp-hic-plot"),
1931
- yAxis: tr1.append("td").classed("sjpp-hic-plot-yaxis", true).attr("data-testid", "sjpp-hic-yaxis"),
1932
- xAxis: tr2.append("td").classed("sjpp-hic-plot-xaxis", true).attr("data-testid", "sjpp-hic-xaxis"),
1933
- blank: tr2.append("td")
1934
- };
1935
- this.app = opts.app;
1936
- this.dataMapper = new DataMapper(this.hic, opts.state.maxCutoffPercentile);
1937
- this.activeView = this.state.currView;
1938
- this.error = opts.error;
1939
- this.resolution = new Resolution(this.error);
1940
- this.parent = (prop) => {
1941
- return this[prop];
1942
- };
1943
- this.detailDataMapper = new DetailDataMapper(this.hic, this.errList, this.parent);
1944
- }
1945
- static {
1946
- this.type = "view";
1947
- }
1948
- getState(appState) {
1949
- return appState;
1950
- }
1951
- reactsTo(action) {
1952
- if (action.type.startsWith("view")) return true;
1953
- else return false;
1954
- }
1955
- initView() {
1956
- const opts = {
1957
- plotDiv: this.plotDiv,
1958
- hic: this.hic,
1959
- app: this.app,
1960
- parent: (prop) => {
1961
- return this[prop];
1962
- }
1963
- };
1964
- if (this.state.currView == "genome") {
1965
- opts["data"] = this.data;
1966
- this.genome = new GenomeView(opts);
1967
- this.genome.render();
1968
- } else if (this.state.currView === "chrpair") {
1969
- opts["items"] = this.data;
1970
- this.chrpair = new ChrPairView(opts);
1971
- this.chrpair.render();
1972
- } else if (this.state.currView === "detail") {
1973
- opts["data"] = this.data;
1974
- this.detail = new DetailView(opts);
1975
- this.detail.render();
1976
- } else if (this.state.currView === "horizontal") {
1977
- this.horizontal = new HorizontalView(opts);
1978
- this.horizontal.render();
1979
- } else {
1980
- throw Error(`Unknown view: ${this.state.currView}`);
1981
- }
1982
- }
1983
- async fetchData(obj) {
1984
- if (this.data?.length) this.data = [];
1985
- if (this.state.currView == "genome") {
1986
- if (this.activeView != "genome" && this.genomeData?.length) this.data = this.genomeData;
1987
- else {
1988
- const genomeFetcher = new GenomeDataFetcher(this.hic, true, this.errList);
1989
- this.genomeData = await genomeFetcher.getData(obj);
1990
- this.data = this.genomeData;
1991
- }
1992
- } else if (this.state.currView == "detail") {
1993
- this.data = await this.detailDataMapper.getData(this.state.x, this.state.y, this.fragData);
1994
- } else {
1995
- if (!this.state?.x?.chr || !this.state?.y?.chr) {
1996
- this.errList.push(`No positions provided for ${this.activeView} view.`);
1997
- return;
1998
- } else {
1999
- const chrx = this.state.x;
2000
- const chry = this.state.y;
2001
- obj["lead"] = `${chrx.start && chrx.stop ? `${chrx.chr}:${chrx.start}-${chrx.stop}` : chrx.chr}`;
2002
- obj["follow"] = `${chry.start && chry.stop ? `${chry.chr}:${chry.start}-${chry.stop}` : chry.chr}`;
2003
- }
2004
- const dataFetcher = new DataFetcher(this.hic, true, this.errList);
2005
- this.data = await dataFetcher.getData(obj);
2006
- }
2007
- }
2008
- async setResolution(appState) {
2009
- const state = this.app.getState(appState);
2010
- this.calcResolution = this.resolution.getResolution(state, this.hic);
2011
- if (state.currView == "detail" && this.calcResolution == null) {
2012
- await this.detailDataMapper.getFragData(state.x, state.y);
2013
- this.fragData = this.detailDataMapper.frag;
2014
- const maxFragSpan = Math.min(
2015
- this.fragData.x.stop - this.fragData.x.start,
2016
- this.fragData.y.stop - this.fragData.y.start
2017
- );
2018
- this.calcResolution = this.resolution.findResFromArray(
2019
- maxFragSpan,
2020
- state.minFragSpan,
2021
- this.hic.fragresolution,
2022
- true
2023
- );
2024
- } else {
2025
- this.fragData = null;
2026
- }
2027
- return this.calcResolution;
2028
- }
2029
- async setDataArgs(appState) {
2030
- const state = this.app.getState(appState);
2031
- const currView = state[state.currView];
2032
- const args = {
2033
- nmeth: currView.nmeth,
2034
- resolution: await this.setResolution(appState),
2035
- matrixType: currView.matrixType
2036
- };
2037
- if (state.currView == "chrpair") {
2038
- args["lead"] = state.x.chr;
2039
- args["follow"] = state.y.chr;
2040
- }
2041
- return args;
2042
- }
2043
- async getViewData(appState) {
2044
- const args = await this.setDataArgs(appState);
2045
- await this.fetchData(args);
2046
- if (this.data?.length > 0 || this.data?.items?.length > 0) {
2047
- const [min, max, absMax] = this.dataMapper.sortData(this.data);
2048
- this.min = this.absMin = min;
2049
- this.max = max;
2050
- this.absMax = absMax;
2051
- } else {
2052
- if (this.state.currView != "genome") {
2053
- const state = this.app.getState(appState);
2054
- const xPosMessage = state.x?.start ? `${state.x.chr}:${state.x.start}-${state.x.stop}` : state.x.chr;
2055
- const yPosMessage = state.y?.start ? `${state.y.chr}:${state.y.start}-${state.y.stop}` : state.y.chr;
2056
- this.errList.push(`No data returned for ${xPosMessage} and ${yPosMessage}`);
2057
- }
2058
- }
2059
- }
2060
- async init() {
2061
- this.components = {
2062
- controls: await controlPanelInit({
2063
- app: this.app,
2064
- controlsDiv: this.dom.controlsDiv,
2065
- hic: this.hic,
2066
- parent: (prop, value) => {
2067
- if (value) this[prop] = value;
2068
- return this[prop];
2069
- },
2070
- error: this.error.bind(this)
2071
- })
2072
- };
2073
- this.infoBar = new InfoBar({
2074
- app: this.app,
2075
- infoBarDiv: this.dom.infoBarDiv.append("table").style("border-spacing", "3px"),
2076
- hic: this.hic,
2077
- parent: (prop) => {
2078
- return this[prop];
2079
- }
2080
- });
2081
- this.infoBar.render();
2082
- }
2083
- async main(appState) {
2084
- if (this.errList.length) {
2085
- this.app.dispatch({ type: "loading_active", active: false });
2086
- return;
2087
- }
2088
- const state = this.app.getState(appState);
2089
- if (this.firstRender == true) {
2090
- this.firstRender = false;
2091
- await this.getViewData(appState);
2092
- this.initView();
2093
- } else {
2094
- if (state.currView != "horizontal") {
2095
- this.app.dispatch({ type: "loading_active", active: true });
2096
- await this.getViewData(appState);
2097
- }
2098
- if (this.activeView != state.currView) {
2099
- if (this.activeView == "genome") {
2100
- this.genome.svg.remove();
2101
- } else {
2102
- this.plotDiv.xAxis.selectAll("*").remove();
2103
- this.plotDiv.yAxis.selectAll("*").remove();
2104
- this.plotDiv.plot.selectAll("*").remove();
2105
- }
2106
- this.activeView = state.currView;
2107
- this.initView();
2108
- } else {
2109
- this[state.currView].update(this.data);
2110
- }
2111
- }
2112
- this.infoBar.update();
2113
- if (this.errList.length) {
2114
- this.error(this.errList);
2115
- this.app.dispatch({ type: "loading_active", active: false });
2116
- }
2117
- }
2118
- };
2119
- var viewCompInit = getCompInit(HicComponent);
2120
-
2121
- // tracks/hic/HicApp.ts
2122
- var HicApp = class _HicApp extends AppBase {
2123
- constructor(opts) {
2124
- super(opts);
2125
- this.views = ["genome", "chrpair", "detail", "horizontal"];
2126
- this.errList = [];
2127
- /** Required for rx but not in use */
2128
- this.wasDestroyed = false;
2129
- this.type = _HicApp.type;
2130
- this.hic = {
2131
- enzyme: opts.enzyme,
2132
- file: opts.file,
2133
- url: opts.url,
2134
- genome: opts.genome,
2135
- holder: opts.holder,
2136
- hostUrl: opts.hostUrl,
2137
- jwt: opts.jwt,
2138
- position1: opts.position1,
2139
- position2: opts.position2,
2140
- maxCutoffPercentile: opts.maxCutoffPercentile,
2141
- name: "name" in opts ? opts.name : "Hi-C",
2142
- tklist: "tklst" in opts ? opts.tklst : [],
2143
- state: "state" in opts ? opts.state : {}
2144
- };
2145
- this.dom = {
2146
- errorDiv: opts.holder.append("div").classed("sjpp-hic-error", true),
2147
- controlsDiv: opts.holder.append("div").classed("sjpp-hic-controls", true).style("display", "inline-block"),
2148
- 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"),
2149
- loadingDiv: select_default("body").append("div").attr("id", "sjpp-loading-overlay"),
2150
- plotDiv: opts.holder.append("div").classed("sjpp-hic-main", true).style("display", "inline-block"),
2151
- tip: new Menu()
2152
- };
2153
- }
2154
- static {
2155
- this.type = "app";
2156
- }
2157
- async error(err) {
2158
- if (err && typeof err == "string") this.errList.push(err);
2159
- showErrorsWithCounter(this.errList, this.dom.errorDiv);
2160
- this.errList = [];
2161
- }
2162
- determineView() {
2163
- if (!this.hic.position1 && !this.hic.position2 && !this.hic.state.currView) this.hic.state.currView = "genome";
2164
- if (!this.hic.position1 && this.hic.position2) this.errList.push("Missing first position");
2165
- if (this.hic.position1 && !this.hic.position2) this.errList.push("Missing second position");
2166
- if (this.hic.position1 && this.hic.position2) {
2167
- const pos1 = this.hic.position1.split(/[:-]/);
2168
- const pos2 = this.hic.position2.split(/[:-]/);
2169
- this.hic.state.x = { chr: pos1[0] };
2170
- this.hic.state.y = { chr: pos2[0] };
2171
- if (!Number.isNaN(+pos1[1]) && !Number.isNaN(+pos1[2])) {
2172
- this.hic.state.x.start = +pos1[1];
2173
- this.hic.state.x.stop = +pos1[2];
2174
- this.hic.state.y.start = +pos2[1];
2175
- this.hic.state.y.stop = +pos2[2];
2176
- this.hic.state.currView = "detail";
2177
- } else {
2178
- this.hic.state.currView = "chrpair";
2179
- }
2180
- } else {
2181
- if (!this.views.some((v) => v === this.hic.state.currView)) this.error(`Unknown view: ${this.hic.state.currView}`);
2182
- else return this.hic.state.currView;
2183
- }
2184
- }
2185
- getViewsConfig() {
2186
- if (this.hic.maxCutoffPercentile) this.hic.state.maxCutoffPercentile = this.hic.maxCutoffPercentile;
2187
- let nmeth;
2188
- if (this.hic["normalization"]?.length > 0) {
2189
- if (!this.hic["normalization"].includes("NONE")) this.hic["normalization"].unshift("NONE");
2190
- nmeth = this.hic["normalization"][0];
2191
- } else {
2192
- nmeth = "NONE";
2193
- }
2194
- if (this.hic.state.currView) {
2195
- if (!this.hic.state[this.hic.state.currView]) this.hic.state[this.hic.state.currView] = {};
2196
- if (!this.hic.state[this.hic.state.currView]?.matrixType) {
2197
- this.hic.state[this.hic.state.currView].matrixType = "observed";
2198
- }
2199
- if (!this.hic.state[this.hic.state.currView]?.nmeth) {
2200
- this.hic.state[this.hic.state.currView].nmeth = nmeth;
2201
- }
2202
- }
2203
- for (const v of this.views) {
2204
- if (!this.hic.state[v]) {
2205
- this.hic.state[v] = {
2206
- matrixType: "observed",
2207
- nmeth
2208
- };
2209
- }
2210
- }
2211
- }
2212
- async init() {
2213
- this.determineView();
2214
- try {
2215
- await hicParseFile(this.hic, true, this.errList);
2216
- this.getViewsConfig();
2217
- this.store = await hicStoreInit({ app: this.api, state: this.hic.state });
2218
- this.state = await this.store.copyState();
2219
- this.components = {
2220
- loadingOverlay: await loadingInit({
2221
- app: this.api,
2222
- loadingDiv: this.dom.loadingDiv
2223
- }),
2224
- view: await viewCompInit({
2225
- app: this.api,
2226
- state: this.state,
2227
- dom: this.dom,
2228
- hic: this.hic,
2229
- errList: this.errList,
2230
- error: this.error
2231
- })
2232
- };
2233
- await this.api.dispatch();
2234
- } catch (e) {
2235
- console.error(e.stack || e);
2236
- }
2237
- }
2238
- main() {
2239
- if (this.errList.length) {
2240
- this.error(this.errList);
2241
- this.dom.loadingDiv.style("display", "none");
2242
- return;
2243
- }
2244
- }
2245
- };
2246
- var hicInit = getAppInit(HicApp);
2247
- export {
2248
- hicInit
2249
- };
2250
- //# sourceMappingURL=HicApp-CAYC4DPO.js.map