@sjcrh/proteinpaint-client 2.207.0 → 2.207.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (900) hide show
  1. package/dist/2dmaf-32F56QBJ.js +1367 -0
  2. package/dist/AggMatrixInput-RDFMGV47.js +277 -0
  3. package/dist/AggregateMatrix-TPXNNWVD.js +41 -0
  4. package/dist/AppHeader-SEJXDJE3.js +830 -0
  5. package/dist/BoxPlot-LOAO2MDO.js +1211 -0
  6. package/dist/CorrelationVolcano-AU6ZAFPG.js +614 -0
  7. package/dist/Cuminc-O533BXFY.js +1219 -0
  8. package/dist/DE-FDAUNOWU.js +89 -0
  9. package/dist/DEinput-TF2VYTIJ.js +499 -0
  10. package/dist/DM-42YN3OEO.js +90 -0
  11. package/dist/DifferentialAnalysis-H5NBPR3P.js +237 -0
  12. package/dist/Disco-FGFHIKUR.js +3389 -0
  13. package/dist/Disco.UI-YGIU2JPM.js +243 -0
  14. package/dist/DmrPlot-EQFXMAW5.js +637 -0
  15. package/dist/GB-244UT5VU.js +1391 -0
  16. package/dist/GSEA-KXQBR3HH.js +851 -0
  17. package/dist/GeneExpInput-ZY6SHXTX.js +42 -0
  18. package/dist/Geomap-6ZV4AM23.js +84 -0
  19. package/dist/HicApp-4UHX2YGP.js +2245 -0
  20. package/dist/IDCViewer-AB6LLO64.js +10812 -0
  21. package/dist/NumBinaryEditor-CGSO2T4L.js +279 -0
  22. package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +312 -0
  23. package/dist/NumContEditor-YLKSC4Y2.js +105 -0
  24. package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +164 -0
  25. package/dist/NumCustomBinEditor-K3XSFHCC.js +33 -0
  26. package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +397 -0
  27. package/dist/NumDiscreteEditor-RJCSIW4R.js +170 -0
  28. package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +233 -0
  29. package/dist/NumRegularBinEditor-C3VIFDS4.js +33 -0
  30. package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +278 -0
  31. package/dist/NumSplineEditor-XBE7OV7P.js +210 -0
  32. package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +224 -0
  33. package/dist/NumericDensity-ZL7UY7TL.js +33 -0
  34. package/dist/NumericDensity.unit.spec-CWTMSR56.js +418 -0
  35. package/dist/NumericHandler-56ENFMNK.js +34 -0
  36. package/dist/NumericHandler.unit.spec-3YW34TTJ.js +214 -0
  37. package/dist/ProteomeInput-HIS4GYWH.js +388 -0
  38. package/dist/Regression-C5GZYLEN.js +1416 -0
  39. package/dist/RunChart2-X5WKYLPQ.js +749 -0
  40. package/dist/SC-3Y5J65DT.js +1107 -0
  41. package/dist/Violin-F3QS2EMJ.js +1082 -0
  42. package/dist/Volcano-ZNYDKP2O.js +1649 -0
  43. package/dist/Wsi-B6EIGTI2.js +609 -0
  44. package/dist/adSandbox-A52OQSOW.js +33 -0
  45. package/dist/animatedBubbleChart-OQOZ3WFK.js +547 -0
  46. package/dist/app-4KIKXQX4.js +32 -0
  47. package/dist/app-NZUNKWKK.js +42 -0
  48. package/dist/app.js +14 -14
  49. package/dist/bam-SME7YD3E.js +876 -0
  50. package/dist/barchart-ESY6FOS4.js +42 -0
  51. package/dist/barchart2-XEJZGCES.js +309 -0
  52. package/dist/block-747IK2EW.js +6249 -0
  53. package/dist/block.init-ITZ42K43.js +33 -0
  54. package/dist/block.mds.expressionrank-Q63IJAJK.js +354 -0
  55. package/dist/block.mds.geneboxplot-EZIKAIKC.js +823 -0
  56. package/dist/block.mds.junction-TJXFKZ2Q.js +1539 -0
  57. package/dist/block.mds.svcnv-WSIEAII6.js +6796 -0
  58. package/dist/block.svg-CQX5W6R4.js +159 -0
  59. package/dist/block.tk.aicheck-J4MQ4BSD.js +278 -0
  60. package/dist/block.tk.ase-2JFNPWCZ.js +360 -0
  61. package/dist/block.tk.bam-RBQ4AXSQ.js +1901 -0
  62. package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +379 -0
  63. package/dist/block.tk.bigwig.ui-U5IBO3VF.js +206 -0
  64. package/dist/block.tk.hicstraw-ZRZMFLLX.js +818 -0
  65. package/dist/block.tk.junction-7U7ABE4O.js +2358 -0
  66. package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +194 -0
  67. package/dist/block.tk.ld-E7WPFL5P.js +94 -0
  68. package/dist/block.tk.menu-AITMEZTZ.js +1024 -0
  69. package/dist/block.tk.pgv-EDPZHI5L.js +938 -0
  70. package/dist/brainImaging-35LPNBDR.js +555 -0
  71. package/dist/brainRegions-JMTQT4X3.js +217 -0
  72. package/dist/bubbleHeatmap-FMBKMDUL.js +378 -0
  73. package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +278 -0
  74. package/dist/chunk-2GBG3KA7.js +129 -0
  75. package/dist/chunk-2IVN5DWA.js +302 -0
  76. package/dist/chunk-36AAUYZE.js +194 -0
  77. package/dist/chunk-3K7AYA3M.js +54 -0
  78. package/dist/chunk-4JFFFGL3.js +468 -0
  79. package/dist/chunk-4JFFFGL3.js.map +7 -0
  80. package/dist/chunk-4KJSNR5E.js +562 -0
  81. package/dist/chunk-52QHIKH2.js +2139 -0
  82. package/dist/chunk-5ALGKNTQ.js +6360 -0
  83. package/dist/chunk-5JCTTSV4.js +480 -0
  84. package/dist/chunk-5W7K7STT.js +26 -0
  85. package/dist/chunk-6CIGRV5K.js +677 -0
  86. package/dist/chunk-6U2OPC6J.js +176 -0
  87. package/dist/chunk-7AHTS4BP.js +382 -0
  88. package/dist/chunk-7HFAEB3C.js +55 -0
  89. package/dist/chunk-7HGZRJZZ.js +98 -0
  90. package/dist/chunk-A2ORIMUJ.js +339 -0
  91. package/dist/chunk-A32SGNCT.js +1233 -0
  92. package/dist/chunk-AKA6RWLC.js +217 -0
  93. package/dist/chunk-AMVZ6KT5.js +240 -0
  94. package/dist/chunk-ASXUC6SM.js +54 -0
  95. package/dist/chunk-BCO5T43J.js +379 -0
  96. package/dist/chunk-BDQPMVKD.js +783 -0
  97. package/dist/chunk-BOQZOLRA.js +274 -0
  98. package/dist/chunk-BSCMVKBP.js +5071 -0
  99. package/dist/chunk-BZN2O76M.js +119 -0
  100. package/dist/chunk-BZZZQFTI.js +34 -0
  101. package/dist/chunk-CRHGXVUQ.js +272 -0
  102. package/dist/chunk-D6AB63O3.js +216 -0
  103. package/dist/chunk-DPQP2GUW.js +626 -0
  104. package/dist/chunk-EKQ7NYOU.js +276 -0
  105. package/dist/chunk-EUQEQOFE.js +141 -0
  106. package/dist/chunk-FKA55PHV.js +281 -0
  107. package/dist/chunk-GVLWCGXX.js +397 -0
  108. package/dist/chunk-HLVWCJRO.js +518 -0
  109. package/dist/chunk-HPAW7XDM.js +178 -0
  110. package/dist/chunk-IV57XNTG.js +123 -0
  111. package/dist/chunk-JMAFJKGG.js +243 -0
  112. package/dist/chunk-JZHRVYNS.js +2676 -0
  113. package/dist/chunk-K6YUMBDY.js +55 -0
  114. package/dist/chunk-L6WNBKYN.js +158 -0
  115. package/dist/chunk-LGR6CJTW.js +2853 -0
  116. package/dist/chunk-LOWJQFCC.js +550 -0
  117. package/dist/chunk-M5SYLBBC.js +2327 -0
  118. package/dist/chunk-MKAILEWO.js +59 -0
  119. package/dist/chunk-MKAILEWO.js.map +7 -0
  120. package/dist/chunk-N4PDPZWQ.js +4366 -0
  121. package/dist/chunk-N4PDPZWQ.js.map +7 -0
  122. package/dist/chunk-OIJ6GRVS.js +134 -0
  123. package/dist/chunk-ONVIVITY.js +203 -0
  124. package/dist/chunk-OQX3HO46.js +56 -0
  125. package/dist/chunk-OYLGAFFY.js +31 -0
  126. package/dist/chunk-P7DIIYCX.js +197 -0
  127. package/dist/chunk-PC4MFDHP.js +24613 -0
  128. package/dist/chunk-PC4MFDHP.js.map +7 -0
  129. package/dist/chunk-PGKOJYV6.js +50 -0
  130. package/dist/chunk-PPSWNLMG.js +402 -0
  131. package/dist/chunk-R624P2GE.js +263 -0
  132. package/dist/chunk-RBSAEAQV.js +446 -0
  133. package/dist/chunk-RUBZCKIX.js +1608 -0
  134. package/dist/chunk-RUBZCKIX.js.map +7 -0
  135. package/dist/chunk-RZ3KEFZ2.js +339 -0
  136. package/dist/chunk-SS66BHGA.js +103 -0
  137. package/dist/chunk-SU63FEY6.js +294 -0
  138. package/dist/chunk-SVC65ZPG.js +102 -0
  139. package/dist/chunk-TG3QBMDK.js +102 -0
  140. package/dist/chunk-TMXW5HVE.js +1278 -0
  141. package/dist/chunk-TPDBOH3A.js +1339 -0
  142. package/dist/chunk-U5RWKZVS.js +1720 -0
  143. package/dist/chunk-UYKZ5HXA.js +1986 -0
  144. package/dist/chunk-VOYUJJQ6.js +70 -0
  145. package/dist/chunk-W4RYRU5D.js +38 -0
  146. package/dist/chunk-WFSMIVJT.js +2784 -0
  147. package/dist/chunk-Y4PX2ECH.js +299 -0
  148. package/dist/chunk-YKM46UX5.js +170 -0
  149. package/dist/chunk-Z7AO6A7M.js +14 -0
  150. package/dist/chunk-ZENZ5H2Q.js +49 -0
  151. package/dist/cohort-Q7TW5XTY.js +70 -0
  152. package/dist/condition-H6LBUHIF.js +327 -0
  153. package/dist/controls-DWDKFDXY.js +34 -0
  154. package/dist/controls.config-KF7PHZSG.js +34 -0
  155. package/dist/correlation-YMSARIER.js +95 -0
  156. package/dist/customdata.inputui-KEFE7ZHS.js +284 -0
  157. package/dist/dataDownload-G7TGPFGL.js +329 -0
  158. package/dist/databrowser.ui-NFIIFQJZ.js +425 -0
  159. package/dist/dictionary-ERJQMALC.js +113 -0
  160. package/dist/dnaMethylation-KVCXKAU3.js +33 -0
  161. package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +198 -0
  162. package/dist/dofetch-YRWLEQEH.js +48 -0
  163. package/dist/e2pca-M2F2CI6I.js +344 -0
  164. package/dist/ep-QAEG4RV4.js +1249 -0
  165. package/dist/expclust.gdc.spec-P77T6JR2.js +302 -0
  166. package/dist/facet-LJTSTASE.js +519 -0
  167. package/dist/gb-KSB2DQHH.js +81 -0
  168. package/dist/geneExpClustering-KHDCPE65.js +244 -0
  169. package/dist/geneExpression-AWWMOUAR.js +310 -0
  170. package/dist/geneExpression-Z2EDR6EN.js +33 -0
  171. package/dist/geneExpression.unit.spec-WB2ESPKT.js +128 -0
  172. package/dist/geneORA-NGZTMFSJ.js +273 -0
  173. package/dist/geneRanking-AYNBGFKU.js +548 -0
  174. package/dist/geneVariant-AL64NDHH.js +36 -0
  175. package/dist/geneVariant-QMKR3LUV.js +286 -0
  176. package/dist/geneVariant.integration.spec-N3U5CIRT.js +489 -0
  177. package/dist/genefusion.ui-IWJMF2BM.js +303 -0
  178. package/dist/geneset-APCO4BRX.js +203 -0
  179. package/dist/genomeBrowser.spec-JTCVUTO5.js +276 -0
  180. package/dist/grin2-FVX6AIST.js +70 -0
  181. package/dist/grin2-LF46UKFY.js +1137 -0
  182. package/dist/hierCluster-4DRHXD6W.js +55 -0
  183. package/dist/hierCluster-SFRQK3PS.js +59 -0
  184. package/dist/hierCluster.config-G2TFGBYF.js +36 -0
  185. package/dist/hierCluster.integration.spec-ZUZKCG6A.js +483 -0
  186. package/dist/hierCluster.interactivity-LQA6J56H.js +49 -0
  187. package/dist/hierCluster.renderers-TZZJEVFO.js +19 -0
  188. package/dist/imagePlot-OUHFWYKT.js +156 -0
  189. package/dist/importPlot-7V456QK7.js +8 -0
  190. package/dist/isoformExpression-NGUJJ6VI.js +35 -0
  191. package/dist/isoformExpression.unit.spec-DCRPXPBY.js +237 -0
  192. package/dist/junction-QYKLNXIW.js +36 -0
  193. package/dist/junction.customTerm-EHOOBR4V.js +16 -0
  194. package/dist/junction.unit.spec-LDNY7OFK.js +182 -0
  195. package/dist/launch.adhoc-FF7B3UG6.js +37 -0
  196. package/dist/leftlabel.sample-BTHMKLGF.js +258 -0
  197. package/dist/lollipop-H3UCNMHN.js +166 -0
  198. package/dist/maf-KWGUTPKO.js +455 -0
  199. package/dist/maftimeline-UD5VE4UW.js +587 -0
  200. package/dist/matrix-DLCX6GOO.js +59 -0
  201. package/dist/matrix-TIV42IQB.js +54 -0
  202. package/dist/matrix.cells-J3QZ7C6U.js +26 -0
  203. package/dist/matrix.config-VNMS6B7J.js +37 -0
  204. package/dist/matrix.data-PIE3TLKD.js +23 -0
  205. package/dist/matrix.groups-URBU775S.js +26 -0
  206. package/dist/matrix.integration.spec-LC6YMEKP.js +3160 -0
  207. package/dist/matrix.interactivity-W5AFOAQN.js +37 -0
  208. package/dist/matrix.layout-LU3NIJAL.js +39 -0
  209. package/dist/matrix.legend-LTP6ETZO.js +20 -0
  210. package/dist/matrix.renderers-762XI65L.js +34 -0
  211. package/dist/matrix.serieses-FHDBRPZA.js +19 -0
  212. package/dist/matrix.sort-Q6A6UWMY.js +26 -0
  213. package/dist/matrix.sort.unit.spec-CTCOPKVS.js +468 -0
  214. package/dist/matrix.sorterUi-4M5AU5EL.js +16 -0
  215. package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +338 -0
  216. package/dist/matrix.unit.spec-DROPHFTM.js +150 -0
  217. package/dist/mavb-BWA73N3U.js +727 -0
  218. package/dist/mds.fimo-3UJWIH2J.js +513 -0
  219. package/dist/mds.samplescatterplot-EUS7DCSQ.js +1545 -0
  220. package/dist/mds.survivalplot-77UEBQIC.js +477 -0
  221. package/dist/multivalue-KZ2DMVIR.js +83 -0
  222. package/dist/numericDictTermCluster-C2MYJYPZ.js +63 -0
  223. package/dist/oncomatrix-6LGB3M7R.js +290 -0
  224. package/dist/oncomatrix.spec-UWMSLOHW.js +443 -0
  225. package/dist/plot.2dvaf-LZAVWH65.js +372 -0
  226. package/dist/plot.app-OEWE3AYV.js +36 -0
  227. package/dist/plot.barplot-VIBHGTUT.js +97 -0
  228. package/dist/plot.boxplot-NQI3PSKR.js +146 -0
  229. package/dist/plot.brainImaging-3MTTCZHI.js +51 -0
  230. package/dist/plot.disco-HODBY7SO.js +99 -0
  231. package/dist/plot.ssgq-4URQE673.js +134 -0
  232. package/dist/plot.vaf2cov-QIJNEKCK.js +253 -0
  233. package/dist/polar2-GVFQNSLK.js +232 -0
  234. package/dist/profileForms-Z22CJXI4.js +941 -0
  235. package/dist/profilePlot-IVQZBSID.js +49 -0
  236. package/dist/proteinView-AUK634AU.js +1357 -0
  237. package/dist/proteomeCohortCompare-7G2F35H5.js +912 -0
  238. package/dist/pseudbulk.unit.spec-JDKUQUCM.js +106 -0
  239. package/dist/pseudobulk-QTCUSH5I.js +37 -0
  240. package/dist/qualitative-7ST7SSBT.js +38 -0
  241. package/dist/radar2-CEE6SNBS.js +327 -0
  242. package/dist/radarFacility2-OSKDYIK7.js +335 -0
  243. package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +211 -0
  244. package/dist/render-MAD3WMVD.js +33 -0
  245. package/dist/report-6JXJVSEB.js +217 -0
  246. package/dist/sampleView-SG3QYZKQ.js +43 -0
  247. package/dist/samplelst-R765UFP6.js +106 -0
  248. package/dist/samplematrix-EBJYE5SM.js +2193 -0
  249. package/dist/sc-7ZXPFDHD.js +81 -0
  250. package/dist/scatter-3GUL4KF3.js +88 -0
  251. package/dist/scatter-RHUVER53.js +920 -0
  252. package/dist/scatter-RHUVER53.js.map +7 -0
  253. package/dist/selectGenomeWithTklst-K4YXGJYG.js +129 -0
  254. package/dist/singleCellCellType-TU5VTPLP.js +33 -0
  255. package/dist/singleCellCellType.unit.spec-IRITQIGT.js +154 -0
  256. package/dist/singleCellGeneExpression-3IL52QDK.js +33 -0
  257. package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +148 -0
  258. package/dist/singleCellPlot-XG3HZS7I.js +48 -0
  259. package/dist/singlecell-BRF2HAV2.js +81 -0
  260. package/dist/singlecell-KVCJF2HI.js +1566 -0
  261. package/dist/snp-RMZRB426.js +33 -0
  262. package/dist/snp.unit.spec-JF6KR2NT.js +171 -0
  263. package/dist/snplocus-AHUFHQ3Q.js +203 -0
  264. package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +146 -0
  265. package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +278 -0
  266. package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +455 -0
  267. package/dist/ssGSEA-7RKWYZKX.js +33 -0
  268. package/dist/ssGSEA.unit.spec-XLCZHH7S.js +83 -0
  269. package/dist/stattable-NDYUCLVZ.js +117 -0
  270. package/dist/studyCatalog-TAXRF5NS.js +414 -0
  271. package/dist/summarizeCnvGeneexp-3QLHU6N7.js +158 -0
  272. package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +105 -0
  273. package/dist/summarizeMutationCnv-W7V7CKPI.js +159 -0
  274. package/dist/summarizeMutationDiagnosis-GCL4SRON.js +35 -0
  275. package/dist/summarizeMutationSurvival-6TTMSRRX.js +99 -0
  276. package/dist/summary-OUYDWLBF.js +44 -0
  277. package/dist/summary.integration.spec-4GTCG6HY.js +409 -0
  278. package/dist/summaryInput-UK3TLC7M.js +242 -0
  279. package/dist/sunburst-2UFHMNH3.js +278 -0
  280. package/dist/survival-SPWYSDVB.js +53 -0
  281. package/dist/survival-TL6UZ6FQ.js +1248 -0
  282. package/dist/survival.integration.spec-WWZELTKZ.js +613 -0
  283. package/dist/survival.integration.spec-WWZELTKZ.js.map +7 -0
  284. package/dist/svgraph-Z543MLIN.js +1382 -0
  285. package/dist/svmr-SZCAOAIF.js +3837 -0
  286. package/dist/table-IAQ6J4DO.js +197 -0
  287. package/dist/termCollection-3NGHR7QN.js +252 -0
  288. package/dist/termCollection-7P3WU6X6.js +33 -0
  289. package/dist/termCollection.unit.spec-EPYC7LOA.js +299 -0
  290. package/dist/termCollectionFractionSelection-YKIE6BME.js +42 -0
  291. package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +188 -0
  292. package/dist/tk-TOXMU4GT.js +1121 -0
  293. package/dist/tk-X454XH5N.js +41 -0
  294. package/dist/tp.ui-FDQ76KPL.js +1454 -0
  295. package/dist/tvs.dt-U77PCG6X.js +34 -0
  296. package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +35 -0
  297. package/dist/tvs.dtcnv.continuous-4GJILFGP.js +67 -0
  298. package/dist/tvs.dtfusion-7YROAHVI.js +35 -0
  299. package/dist/tvs.dtitd-MIYU4ZHH.js +35 -0
  300. package/dist/tvs.dtsnvindel-XLDY7KWB.js +35 -0
  301. package/dist/tvs.dtsv-YMLJ37YR.js +35 -0
  302. package/dist/tvs.samplelst-KIVEXJKD.js +98 -0
  303. package/dist/tvs.termCollection-4CQV3EB3.js +124 -0
  304. package/dist/vocabulary-64GO4YDB.js +36 -0
  305. package/dist/wsi.direct-5MQVRJZX.js +8343 -0
  306. package/package.json +3 -3
  307. package/dist/2dmaf-5JKVMAPO.js +0 -1367
  308. package/dist/AggMatrixInput-254IEQYB.js +0 -277
  309. package/dist/AggregateMatrix-U3NZSNL6.js +0 -41
  310. package/dist/AppHeader-DK2GIYYT.js +0 -830
  311. package/dist/BoxPlot-POSL2ZLS.js +0 -1211
  312. package/dist/CorrelationVolcano-YZ6ACP5D.js +0 -614
  313. package/dist/Cuminc-SJVFK4VX.js +0 -1219
  314. package/dist/DE-RJMZGJ5Y.js +0 -89
  315. package/dist/DEinput-H25PS4QT.js +0 -499
  316. package/dist/DM-A3UCF7HM.js +0 -90
  317. package/dist/DifferentialAnalysis-4J75UMV7.js +0 -237
  318. package/dist/Disco-IXGGKIEI.js +0 -3389
  319. package/dist/Disco.UI-X3JG4ERN.js +0 -243
  320. package/dist/DmrPlot-SJWHTSMB.js +0 -637
  321. package/dist/GB-KPF7BZFQ.js +0 -1391
  322. package/dist/GSEA-BMVTJ6B7.js +0 -851
  323. package/dist/GeneExpInput-3KFGQEAY.js +0 -42
  324. package/dist/Geomap-R7Q3T3DZ.js +0 -84
  325. package/dist/HicApp-BTFHMXQE.js +0 -2245
  326. package/dist/IDCViewer-RVVWT7MH.js +0 -10812
  327. package/dist/NumBinaryEditor-V3YCDNRR.js +0 -279
  328. package/dist/NumBinaryEditor.unit.spec-IVY27SEV.js +0 -312
  329. package/dist/NumContEditor-FSHA32UV.js +0 -105
  330. package/dist/NumContEditor.unit.spec-5IFB4GXP.js +0 -164
  331. package/dist/NumCustomBinEditor-63YQZU52.js +0 -33
  332. package/dist/NumCustomBinEditor.unit.spec-BJLGQQ4R.js +0 -397
  333. package/dist/NumDiscreteEditor-K4AZ6UQF.js +0 -170
  334. package/dist/NumDiscreteEditor.unit.spec-AHL7QA4N.js +0 -233
  335. package/dist/NumRegularBinEditor-5N3PWOIQ.js +0 -33
  336. package/dist/NumRegularBinEditor.unit.spec-SYPTBY5A.js +0 -278
  337. package/dist/NumSplineEditor-ZLB5MWYK.js +0 -210
  338. package/dist/NumSplineEditor.unit.spec-ZLAVLV7E.js +0 -224
  339. package/dist/NumericDensity-K4CTMN2G.js +0 -33
  340. package/dist/NumericDensity.unit.spec-BLWEQHZC.js +0 -418
  341. package/dist/NumericHandler-3KACLCOL.js +0 -34
  342. package/dist/NumericHandler.unit.spec-4P7HBSCB.js +0 -214
  343. package/dist/ProteomeInput-JZ6MKE7L.js +0 -388
  344. package/dist/Regression-QBR2VYHT.js +0 -1416
  345. package/dist/RunChart2-UKN6M5M5.js +0 -749
  346. package/dist/SC-COHN7DMJ.js +0 -1107
  347. package/dist/Violin-SDUSKIEX.js +0 -1082
  348. package/dist/Volcano-KON4MOIM.js +0 -1649
  349. package/dist/Wsi-SJC56PRR.js +0 -609
  350. package/dist/adSandbox-L6ZHCJJO.js +0 -33
  351. package/dist/animatedBubbleChart-IQBJBHPP.js +0 -547
  352. package/dist/app-2NSQK3GQ.js +0 -32
  353. package/dist/app-GMYTOBRB.js +0 -42
  354. package/dist/bam-B4ZPOZTX.js +0 -876
  355. package/dist/barchart-WF5VWDCV.js +0 -42
  356. package/dist/barchart2-3HGZ5Q2B.js +0 -309
  357. package/dist/block-A3I2INBA.js +0 -6249
  358. package/dist/block.init-YUHPWTMF.js +0 -33
  359. package/dist/block.mds.expressionrank-TGAZQTVW.js +0 -354
  360. package/dist/block.mds.geneboxplot-GPIQWNWB.js +0 -823
  361. package/dist/block.mds.junction-YREJCNYJ.js +0 -1539
  362. package/dist/block.mds.svcnv-2ZDNI2XE.js +0 -6796
  363. package/dist/block.svg-2BRKZJAO.js +0 -159
  364. package/dist/block.tk.aicheck-ZDTQFF7Q.js +0 -278
  365. package/dist/block.tk.ase-JAIOSXZO.js +0 -360
  366. package/dist/block.tk.bam-V27YBYQG.js +0 -1901
  367. package/dist/block.tk.bedgraphdot-QFJNEYKU.js +0 -379
  368. package/dist/block.tk.bigwig.ui-X77XUZLB.js +0 -206
  369. package/dist/block.tk.hicstraw-OCZXKJOV.js +0 -818
  370. package/dist/block.tk.junction-2KI3SPXW.js +0 -2358
  371. package/dist/block.tk.junction.textmatrixui-G4OHYDVZ.js +0 -194
  372. package/dist/block.tk.ld-LM4A3V7Z.js +0 -94
  373. package/dist/block.tk.menu-GL6W3MKK.js +0 -1024
  374. package/dist/block.tk.pgv-T3YW5EGQ.js +0 -938
  375. package/dist/brainImaging-6WLB6DWG.js +0 -555
  376. package/dist/brainRegions-EVHXPPL5.js +0 -217
  377. package/dist/bubbleHeatmap-WZX7MLQF.js +0 -378
  378. package/dist/cellTypeBubbleHeatmap-3XY3U7EO.js +0 -278
  379. package/dist/chunk-26VFFI2G.js +0 -1278
  380. package/dist/chunk-2XOBD4ZZ.js +0 -102
  381. package/dist/chunk-4DXQJGJ7.js +0 -31
  382. package/dist/chunk-5UO7MKCO.js +0 -59
  383. package/dist/chunk-5UO7MKCO.js.map +0 -7
  384. package/dist/chunk-5X6CDEMT.js +0 -55
  385. package/dist/chunk-6BG5G6SC.js +0 -397
  386. package/dist/chunk-6EXPDXXV.js +0 -464
  387. package/dist/chunk-6EXPDXXV.js.map +0 -7
  388. package/dist/chunk-6KCG2NFA.js +0 -49
  389. package/dist/chunk-6KIZ3Q5X.js +0 -272
  390. package/dist/chunk-6MDL3FYD.js +0 -141
  391. package/dist/chunk-7CJKL3LK.js +0 -339
  392. package/dist/chunk-7T6G6BZF.js +0 -50
  393. package/dist/chunk-7WL4LROG.js +0 -1986
  394. package/dist/chunk-7WWTWWB7.js +0 -158
  395. package/dist/chunk-AEHBMP7F.js +0 -550
  396. package/dist/chunk-ANGLZ4XR.js +0 -26
  397. package/dist/chunk-B2XYBFGT.js +0 -299
  398. package/dist/chunk-BH55L7RJ.js +0 -480
  399. package/dist/chunk-BMQDU7KN.js +0 -38
  400. package/dist/chunk-BWE6BZK3.js +0 -240
  401. package/dist/chunk-BXM6PRTG.js +0 -274
  402. package/dist/chunk-CCYVGZGI.js +0 -178
  403. package/dist/chunk-DRKC4J62.js +0 -339
  404. package/dist/chunk-DX5WQOJU.js +0 -1339
  405. package/dist/chunk-E6FOW4UK.js +0 -562
  406. package/dist/chunk-EGKHDALO.js +0 -382
  407. package/dist/chunk-ESXQDVDP.js +0 -518
  408. package/dist/chunk-FIN6XVVG.js +0 -34
  409. package/dist/chunk-GH5EQCLQ.js +0 -379
  410. package/dist/chunk-GIBTGABW.js +0 -263
  411. package/dist/chunk-GJ6JKPEY.js +0 -626
  412. package/dist/chunk-GKB4YPSV.js +0 -14
  413. package/dist/chunk-GRVO7RW4.js +0 -2139
  414. package/dist/chunk-HZ3TCGBK.js +0 -402
  415. package/dist/chunk-IGJOH5LV.js +0 -276
  416. package/dist/chunk-IUT72AWA.js +0 -55
  417. package/dist/chunk-IYCSCSRS.js +0 -1720
  418. package/dist/chunk-IZUYLFOX.js +0 -1608
  419. package/dist/chunk-IZUYLFOX.js.map +0 -7
  420. package/dist/chunk-J2O74K2I.js +0 -129
  421. package/dist/chunk-JO5SX7RA.js +0 -176
  422. package/dist/chunk-JV5AGMUC.js +0 -123
  423. package/dist/chunk-KUHCBPKU.js +0 -446
  424. package/dist/chunk-L32KMIC3.js +0 -54
  425. package/dist/chunk-LWOWC4PF.js +0 -203
  426. package/dist/chunk-M3OUBH5W.js +0 -294
  427. package/dist/chunk-MZ6UOWXO.js +0 -2784
  428. package/dist/chunk-N7DVQTPC.js +0 -119
  429. package/dist/chunk-NQDF3U2C.js +0 -24607
  430. package/dist/chunk-NQDF3U2C.js.map +0 -7
  431. package/dist/chunk-P7EXGD5F.js +0 -281
  432. package/dist/chunk-QJQUSRGP.js +0 -134
  433. package/dist/chunk-RPKZLEY7.js +0 -170
  434. package/dist/chunk-RRGGHEA4.js +0 -783
  435. package/dist/chunk-S4XD4GGN.js +0 -6360
  436. package/dist/chunk-SKS6VDD4.js +0 -56
  437. package/dist/chunk-SPZQIZLJ.js +0 -70
  438. package/dist/chunk-SR35T6VI.js +0 -197
  439. package/dist/chunk-TEMNQTG3.js +0 -194
  440. package/dist/chunk-UG6RDT65.js +0 -5071
  441. package/dist/chunk-UO5AU7IW.js +0 -216
  442. package/dist/chunk-UTOWZWZ5.js +0 -243
  443. package/dist/chunk-V26BRUAV.js +0 -677
  444. package/dist/chunk-VRINIB6B.js +0 -1233
  445. package/dist/chunk-VVJMPICY.js +0 -217
  446. package/dist/chunk-VZKDGKCP.js +0 -103
  447. package/dist/chunk-WCAWZJ6M.js +0 -4311
  448. package/dist/chunk-WCAWZJ6M.js.map +0 -7
  449. package/dist/chunk-XCN3FKLF.js +0 -2676
  450. package/dist/chunk-XD2JMWMR.js +0 -54
  451. package/dist/chunk-XERHX42E.js +0 -98
  452. package/dist/chunk-XZXGNMNK.js +0 -2853
  453. package/dist/chunk-Y34GYPF6.js +0 -2327
  454. package/dist/chunk-YO5DWWBU.js +0 -102
  455. package/dist/chunk-Z4HZONN6.js +0 -302
  456. package/dist/cohort-ZLQA2KPW.js +0 -70
  457. package/dist/condition-SFZAHMKK.js +0 -327
  458. package/dist/controls-US3ID2ZR.js +0 -34
  459. package/dist/controls.config-Y7NGPB5K.js +0 -34
  460. package/dist/correlation-JD4FMZVF.js +0 -95
  461. package/dist/customdata.inputui-YUHO2ZSR.js +0 -284
  462. package/dist/dataDownload-4YQHUJQX.js +0 -329
  463. package/dist/databrowser.ui-4YE24U4B.js +0 -425
  464. package/dist/dictionary-LFOSXJGH.js +0 -113
  465. package/dist/dnaMethylation-2627GIZW.js +0 -33
  466. package/dist/dnaMethylation.integration.spec-HSZKXED3.js +0 -198
  467. package/dist/dofetch-7O5UTSGI.js +0 -48
  468. package/dist/e2pca-XL7F5BK3.js +0 -344
  469. package/dist/ep-35KADAYG.js +0 -1249
  470. package/dist/expclust.gdc.spec-TFJEXEAA.js +0 -302
  471. package/dist/facet-AWDU4CCU.js +0 -519
  472. package/dist/gb-UIBSH7KV.js +0 -81
  473. package/dist/geneExpClustering-VYZ5VDPL.js +0 -244
  474. package/dist/geneExpression-CNBSE3KW.js +0 -33
  475. package/dist/geneExpression-ECXW22H6.js +0 -310
  476. package/dist/geneExpression.unit.spec-SCBRU5BG.js +0 -128
  477. package/dist/geneORA-BQZ4XYJH.js +0 -273
  478. package/dist/geneRanking-GXRSXHIN.js +0 -548
  479. package/dist/geneVariant-Y7GASAY6.js +0 -36
  480. package/dist/geneVariant-ZVOUFF27.js +0 -286
  481. package/dist/geneVariant.integration.spec-2ATUV7NH.js +0 -489
  482. package/dist/genefusion.ui-CEMLY7HG.js +0 -303
  483. package/dist/geneset-HMADFO7Z.js +0 -203
  484. package/dist/genomeBrowser.spec-3U6KE3MK.js +0 -276
  485. package/dist/grin2-AJAXI4O4.js +0 -1137
  486. package/dist/grin2-CFAOAHY3.js +0 -70
  487. package/dist/hierCluster-JUJ7C7TQ.js +0 -59
  488. package/dist/hierCluster-N6B4L6FW.js +0 -55
  489. package/dist/hierCluster.config-RSSBKO6G.js +0 -36
  490. package/dist/hierCluster.integration.spec-YC6B3ID2.js +0 -483
  491. package/dist/hierCluster.interactivity-PRIWN65K.js +0 -49
  492. package/dist/hierCluster.renderers-3RHXOHZ5.js +0 -19
  493. package/dist/imagePlot-DSG4WJOG.js +0 -156
  494. package/dist/importPlot-QSWJBDWH.js +0 -8
  495. package/dist/isoformExpression-XWLMWXEK.js +0 -35
  496. package/dist/isoformExpression.unit.spec-T7VN2WPK.js +0 -237
  497. package/dist/junction-AUXJROOE.js +0 -36
  498. package/dist/junction.customTerm-FRYWSS4P.js +0 -16
  499. package/dist/junction.unit.spec-ODVQMDI5.js +0 -182
  500. package/dist/launch.adhoc-TNONPG6R.js +0 -37
  501. package/dist/leftlabel.sample-5VFAMSH5.js +0 -258
  502. package/dist/lollipop-NEDFCNJJ.js +0 -166
  503. package/dist/maf-2GO7PDOL.js +0 -455
  504. package/dist/maftimeline-UMVQGIXA.js +0 -587
  505. package/dist/matrix-74JSSVR5.js +0 -59
  506. package/dist/matrix-YARPFYCU.js +0 -54
  507. package/dist/matrix.cells-WYCIMZRW.js +0 -26
  508. package/dist/matrix.config-5SNEP3B4.js +0 -37
  509. package/dist/matrix.data-3H4GFMQK.js +0 -23
  510. package/dist/matrix.groups-FGLRK6IT.js +0 -26
  511. package/dist/matrix.integration.spec-4DQIRQQO.js +0 -3160
  512. package/dist/matrix.interactivity-GSV45F2N.js +0 -37
  513. package/dist/matrix.layout-BMH4V36B.js +0 -39
  514. package/dist/matrix.legend-5OVHDE6Q.js +0 -20
  515. package/dist/matrix.renderers-DENF4NZ6.js +0 -34
  516. package/dist/matrix.serieses-D7XPW5L4.js +0 -19
  517. package/dist/matrix.sort-XQEOXSEG.js +0 -26
  518. package/dist/matrix.sort.unit.spec-HGII2SCC.js +0 -468
  519. package/dist/matrix.sorterUi-J6PRUT6J.js +0 -16
  520. package/dist/matrix.sorterUi.unit.spec-TNRATMUJ.js +0 -338
  521. package/dist/matrix.unit.spec-LBMDCANX.js +0 -150
  522. package/dist/mavb-UQFSJN4W.js +0 -727
  523. package/dist/mds.fimo-TXHCH6LW.js +0 -513
  524. package/dist/mds.samplescatterplot-G6IJO3I7.js +0 -1545
  525. package/dist/mds.survivalplot-XFB2EL23.js +0 -477
  526. package/dist/multivalue-GLE6G3ZO.js +0 -83
  527. package/dist/numericDictTermCluster-YTAMQDWZ.js +0 -63
  528. package/dist/oncomatrix-P6QVGFAR.js +0 -290
  529. package/dist/oncomatrix.spec-O6U52E22.js +0 -443
  530. package/dist/plot.2dvaf-VZL4SH6G.js +0 -372
  531. package/dist/plot.app-VYMIF4VU.js +0 -36
  532. package/dist/plot.barplot-I6S266DG.js +0 -97
  533. package/dist/plot.boxplot-3CHI4AA2.js +0 -146
  534. package/dist/plot.brainImaging-LRQYKMLQ.js +0 -51
  535. package/dist/plot.disco-NCTBMD2W.js +0 -99
  536. package/dist/plot.ssgq-CL3TGZ55.js +0 -134
  537. package/dist/plot.vaf2cov-5RG3OD6G.js +0 -253
  538. package/dist/polar2-ABI2UJNC.js +0 -232
  539. package/dist/profileForms-Z4Y55OQY.js +0 -941
  540. package/dist/profilePlot-LMDZVOJK.js +0 -49
  541. package/dist/proteinView-UYMM76WH.js +0 -1357
  542. package/dist/proteomeCohortCompare-5GFBARC5.js +0 -912
  543. package/dist/pseudbulk.unit.spec-JJ2I4KPM.js +0 -106
  544. package/dist/pseudobulk-Y7HWDLIV.js +0 -37
  545. package/dist/qualitative-H72GEWTZ.js +0 -38
  546. package/dist/radar2-OXUS5DLT.js +0 -327
  547. package/dist/radarFacility2-VOUNCM6A.js +0 -335
  548. package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +0 -211
  549. package/dist/render-KDLTAQVA.js +0 -33
  550. package/dist/report-PBRD2KBN.js +0 -217
  551. package/dist/sampleView-7HWFZCHE.js +0 -43
  552. package/dist/samplelst-3ZWV4XZQ.js +0 -106
  553. package/dist/samplematrix-YRJUNYQ6.js +0 -2193
  554. package/dist/sc-N4YM3GZI.js +0 -81
  555. package/dist/scatter-KBY6VF76.js +0 -88
  556. package/dist/scatter-TBGEXELG.js +0 -880
  557. package/dist/scatter-TBGEXELG.js.map +0 -7
  558. package/dist/selectGenomeWithTklst-25WQQ42Y.js +0 -129
  559. package/dist/singleCellCellType-35TDG2YM.js +0 -33
  560. package/dist/singleCellCellType.unit.spec-G5AVNAUK.js +0 -154
  561. package/dist/singleCellGeneExpression-7AHJYFWJ.js +0 -33
  562. package/dist/singleCellGeneExpression.unit.spec-LGZMOVTB.js +0 -148
  563. package/dist/singleCellPlot-AU5K4M7J.js +0 -49
  564. package/dist/singlecell-HNTYJLJ4.js +0 -81
  565. package/dist/singlecell-J4FIZPZF.js +0 -1566
  566. package/dist/snp-OXDVSFGB.js +0 -33
  567. package/dist/snp.unit.spec-B7LCCGWA.js +0 -171
  568. package/dist/snplocus-4VWXVQGS.js +0 -203
  569. package/dist/spliceevent.a53ss.diagram-YS32IFVI.js +0 -146
  570. package/dist/spliceevent.exonskip.diagram-PHFR53DH.js +0 -278
  571. package/dist/spliceevent.noeventdiagram-FFHMDEBQ.js +0 -455
  572. package/dist/ssGSEA-OYEIDW4M.js +0 -33
  573. package/dist/ssGSEA.unit.spec-SY5XFF45.js +0 -83
  574. package/dist/stattable-JCH2WPS6.js +0 -117
  575. package/dist/studyCatalog-FDB7D26M.js +0 -414
  576. package/dist/summarizeCnvGeneexp-KNW23YAI.js +0 -158
  577. package/dist/summarizeGeneexpSurvival-H57GGCXL.js +0 -105
  578. package/dist/summarizeMutationCnv-RBBDE27N.js +0 -159
  579. package/dist/summarizeMutationDiagnosis-R6YWQ4LQ.js +0 -35
  580. package/dist/summarizeMutationSurvival-Q6WKBNPD.js +0 -99
  581. package/dist/summary-AL3GEK3G.js +0 -42
  582. package/dist/summary.integration.spec-IFGDIEMW.js +0 -409
  583. package/dist/summaryInput-TYIKTBO3.js +0 -242
  584. package/dist/sunburst-4PA3CO44.js +0 -278
  585. package/dist/survival-GT4CSHX2.js +0 -53
  586. package/dist/survival-HXJCMNCG.js +0 -1248
  587. package/dist/survival.integration.spec-C7OJC4AG.js +0 -613
  588. package/dist/survival.integration.spec-C7OJC4AG.js.map +0 -7
  589. package/dist/svgraph-MZCOBO4J.js +0 -1382
  590. package/dist/svmr-FQPAAQHB.js +0 -3837
  591. package/dist/table-FKLXVILD.js +0 -197
  592. package/dist/termCollection-QDGR6J36.js +0 -33
  593. package/dist/termCollection-Y7CIC6GQ.js +0 -252
  594. package/dist/termCollection.unit.spec-PQMFOWLF.js +0 -299
  595. package/dist/termCollectionFractionSelection-2O32HROA.js +0 -42
  596. package/dist/termCollectionFractionSelection.unit.spec-WXGCO2RF.js +0 -188
  597. package/dist/tk-IBYM4FZC.js +0 -41
  598. package/dist/tk-QJNN6WK2.js +0 -1121
  599. package/dist/tp.ui-RI7S54LI.js +0 -1454
  600. package/dist/tvs.dt-7CIYMLQF.js +0 -34
  601. package/dist/tvs.dtcnv.categorical-D3W6R6BM.js +0 -35
  602. package/dist/tvs.dtcnv.continuous-4WS2TN3K.js +0 -67
  603. package/dist/tvs.dtfusion-NUUFIGG4.js +0 -35
  604. package/dist/tvs.dtitd-UCSEWRNJ.js +0 -35
  605. package/dist/tvs.dtsnvindel-J4S7KU3Y.js +0 -35
  606. package/dist/tvs.dtsv-4OPYIWB6.js +0 -35
  607. package/dist/tvs.samplelst-RUZYZ2FF.js +0 -98
  608. package/dist/tvs.termCollection-D5X2HNWO.js +0 -124
  609. package/dist/vocabulary-4L3RHQFQ.js +0 -36
  610. package/dist/wsi.direct-FNCUUBEJ.js +0 -8343
  611. /package/dist/{2dmaf-5JKVMAPO.js.map → 2dmaf-32F56QBJ.js.map} +0 -0
  612. /package/dist/{AggMatrixInput-254IEQYB.js.map → AggMatrixInput-RDFMGV47.js.map} +0 -0
  613. /package/dist/{AggregateMatrix-U3NZSNL6.js.map → AggregateMatrix-TPXNNWVD.js.map} +0 -0
  614. /package/dist/{AppHeader-DK2GIYYT.js.map → AppHeader-SEJXDJE3.js.map} +0 -0
  615. /package/dist/{BoxPlot-POSL2ZLS.js.map → BoxPlot-LOAO2MDO.js.map} +0 -0
  616. /package/dist/{CorrelationVolcano-YZ6ACP5D.js.map → CorrelationVolcano-AU6ZAFPG.js.map} +0 -0
  617. /package/dist/{Cuminc-SJVFK4VX.js.map → Cuminc-O533BXFY.js.map} +0 -0
  618. /package/dist/{DE-RJMZGJ5Y.js.map → DE-FDAUNOWU.js.map} +0 -0
  619. /package/dist/{DEinput-H25PS4QT.js.map → DEinput-TF2VYTIJ.js.map} +0 -0
  620. /package/dist/{DM-A3UCF7HM.js.map → DM-42YN3OEO.js.map} +0 -0
  621. /package/dist/{DifferentialAnalysis-4J75UMV7.js.map → DifferentialAnalysis-H5NBPR3P.js.map} +0 -0
  622. /package/dist/{Disco-IXGGKIEI.js.map → Disco-FGFHIKUR.js.map} +0 -0
  623. /package/dist/{Disco.UI-X3JG4ERN.js.map → Disco.UI-YGIU2JPM.js.map} +0 -0
  624. /package/dist/{DmrPlot-SJWHTSMB.js.map → DmrPlot-EQFXMAW5.js.map} +0 -0
  625. /package/dist/{GB-KPF7BZFQ.js.map → GB-244UT5VU.js.map} +0 -0
  626. /package/dist/{GSEA-BMVTJ6B7.js.map → GSEA-KXQBR3HH.js.map} +0 -0
  627. /package/dist/{GeneExpInput-3KFGQEAY.js.map → GeneExpInput-ZY6SHXTX.js.map} +0 -0
  628. /package/dist/{Geomap-R7Q3T3DZ.js.map → Geomap-6ZV4AM23.js.map} +0 -0
  629. /package/dist/{HicApp-BTFHMXQE.js.map → HicApp-4UHX2YGP.js.map} +0 -0
  630. /package/dist/{IDCViewer-RVVWT7MH.js.map → IDCViewer-AB6LLO64.js.map} +0 -0
  631. /package/dist/{NumBinaryEditor-V3YCDNRR.js.map → NumBinaryEditor-CGSO2T4L.js.map} +0 -0
  632. /package/dist/{NumBinaryEditor.unit.spec-IVY27SEV.js.map → NumBinaryEditor.unit.spec-3QHARZQJ.js.map} +0 -0
  633. /package/dist/{NumContEditor-FSHA32UV.js.map → NumContEditor-YLKSC4Y2.js.map} +0 -0
  634. /package/dist/{NumContEditor.unit.spec-5IFB4GXP.js.map → NumContEditor.unit.spec-L3GC3ZTJ.js.map} +0 -0
  635. /package/dist/{NumCustomBinEditor-63YQZU52.js.map → NumCustomBinEditor-K3XSFHCC.js.map} +0 -0
  636. /package/dist/{NumCustomBinEditor.unit.spec-BJLGQQ4R.js.map → NumCustomBinEditor.unit.spec-2FUHE6BX.js.map} +0 -0
  637. /package/dist/{NumDiscreteEditor-K4AZ6UQF.js.map → NumDiscreteEditor-RJCSIW4R.js.map} +0 -0
  638. /package/dist/{NumDiscreteEditor.unit.spec-AHL7QA4N.js.map → NumDiscreteEditor.unit.spec-CUA6BOIS.js.map} +0 -0
  639. /package/dist/{NumRegularBinEditor-5N3PWOIQ.js.map → NumRegularBinEditor-C3VIFDS4.js.map} +0 -0
  640. /package/dist/{NumRegularBinEditor.unit.spec-SYPTBY5A.js.map → NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map} +0 -0
  641. /package/dist/{NumSplineEditor-ZLB5MWYK.js.map → NumSplineEditor-XBE7OV7P.js.map} +0 -0
  642. /package/dist/{NumSplineEditor.unit.spec-ZLAVLV7E.js.map → NumSplineEditor.unit.spec-CKRRI4US.js.map} +0 -0
  643. /package/dist/{NumericDensity-K4CTMN2G.js.map → NumericDensity-ZL7UY7TL.js.map} +0 -0
  644. /package/dist/{NumericDensity.unit.spec-BLWEQHZC.js.map → NumericDensity.unit.spec-CWTMSR56.js.map} +0 -0
  645. /package/dist/{NumericHandler-3KACLCOL.js.map → NumericHandler-56ENFMNK.js.map} +0 -0
  646. /package/dist/{NumericHandler.unit.spec-4P7HBSCB.js.map → NumericHandler.unit.spec-3YW34TTJ.js.map} +0 -0
  647. /package/dist/{ProteomeInput-JZ6MKE7L.js.map → ProteomeInput-HIS4GYWH.js.map} +0 -0
  648. /package/dist/{Regression-QBR2VYHT.js.map → Regression-C5GZYLEN.js.map} +0 -0
  649. /package/dist/{RunChart2-UKN6M5M5.js.map → RunChart2-X5WKYLPQ.js.map} +0 -0
  650. /package/dist/{SC-COHN7DMJ.js.map → SC-3Y5J65DT.js.map} +0 -0
  651. /package/dist/{Violin-SDUSKIEX.js.map → Violin-F3QS2EMJ.js.map} +0 -0
  652. /package/dist/{Volcano-KON4MOIM.js.map → Volcano-ZNYDKP2O.js.map} +0 -0
  653. /package/dist/{Wsi-SJC56PRR.js.map → Wsi-B6EIGTI2.js.map} +0 -0
  654. /package/dist/{adSandbox-L6ZHCJJO.js.map → adSandbox-A52OQSOW.js.map} +0 -0
  655. /package/dist/{animatedBubbleChart-IQBJBHPP.js.map → animatedBubbleChart-OQOZ3WFK.js.map} +0 -0
  656. /package/dist/{app-2NSQK3GQ.js.map → app-4KIKXQX4.js.map} +0 -0
  657. /package/dist/{app-GMYTOBRB.js.map → app-NZUNKWKK.js.map} +0 -0
  658. /package/dist/{bam-B4ZPOZTX.js.map → bam-SME7YD3E.js.map} +0 -0
  659. /package/dist/{barchart-WF5VWDCV.js.map → barchart-ESY6FOS4.js.map} +0 -0
  660. /package/dist/{barchart2-3HGZ5Q2B.js.map → barchart2-XEJZGCES.js.map} +0 -0
  661. /package/dist/{block-A3I2INBA.js.map → block-747IK2EW.js.map} +0 -0
  662. /package/dist/{block.init-YUHPWTMF.js.map → block.init-ITZ42K43.js.map} +0 -0
  663. /package/dist/{block.mds.expressionrank-TGAZQTVW.js.map → block.mds.expressionrank-Q63IJAJK.js.map} +0 -0
  664. /package/dist/{block.mds.geneboxplot-GPIQWNWB.js.map → block.mds.geneboxplot-EZIKAIKC.js.map} +0 -0
  665. /package/dist/{block.mds.junction-YREJCNYJ.js.map → block.mds.junction-TJXFKZ2Q.js.map} +0 -0
  666. /package/dist/{block.mds.svcnv-2ZDNI2XE.js.map → block.mds.svcnv-WSIEAII6.js.map} +0 -0
  667. /package/dist/{block.svg-2BRKZJAO.js.map → block.svg-CQX5W6R4.js.map} +0 -0
  668. /package/dist/{block.tk.aicheck-ZDTQFF7Q.js.map → block.tk.aicheck-J4MQ4BSD.js.map} +0 -0
  669. /package/dist/{block.tk.ase-JAIOSXZO.js.map → block.tk.ase-2JFNPWCZ.js.map} +0 -0
  670. /package/dist/{block.tk.bam-V27YBYQG.js.map → block.tk.bam-RBQ4AXSQ.js.map} +0 -0
  671. /package/dist/{block.tk.bedgraphdot-QFJNEYKU.js.map → block.tk.bedgraphdot-ZQBOMVTO.js.map} +0 -0
  672. /package/dist/{block.tk.bigwig.ui-X77XUZLB.js.map → block.tk.bigwig.ui-U5IBO3VF.js.map} +0 -0
  673. /package/dist/{block.tk.hicstraw-OCZXKJOV.js.map → block.tk.hicstraw-ZRZMFLLX.js.map} +0 -0
  674. /package/dist/{block.tk.junction-2KI3SPXW.js.map → block.tk.junction-7U7ABE4O.js.map} +0 -0
  675. /package/dist/{block.tk.junction.textmatrixui-G4OHYDVZ.js.map → block.tk.junction.textmatrixui-AEXZ7W3U.js.map} +0 -0
  676. /package/dist/{block.tk.ld-LM4A3V7Z.js.map → block.tk.ld-E7WPFL5P.js.map} +0 -0
  677. /package/dist/{block.tk.menu-GL6W3MKK.js.map → block.tk.menu-AITMEZTZ.js.map} +0 -0
  678. /package/dist/{block.tk.pgv-T3YW5EGQ.js.map → block.tk.pgv-EDPZHI5L.js.map} +0 -0
  679. /package/dist/{brainImaging-6WLB6DWG.js.map → brainImaging-35LPNBDR.js.map} +0 -0
  680. /package/dist/{brainRegions-EVHXPPL5.js.map → brainRegions-JMTQT4X3.js.map} +0 -0
  681. /package/dist/{bubbleHeatmap-WZX7MLQF.js.map → bubbleHeatmap-FMBKMDUL.js.map} +0 -0
  682. /package/dist/{cellTypeBubbleHeatmap-3XY3U7EO.js.map → cellTypeBubbleHeatmap-ZPTAGEWW.js.map} +0 -0
  683. /package/dist/{chunk-J2O74K2I.js.map → chunk-2GBG3KA7.js.map} +0 -0
  684. /package/dist/{chunk-Z4HZONN6.js.map → chunk-2IVN5DWA.js.map} +0 -0
  685. /package/dist/{chunk-TEMNQTG3.js.map → chunk-36AAUYZE.js.map} +0 -0
  686. /package/dist/{chunk-XD2JMWMR.js.map → chunk-3K7AYA3M.js.map} +0 -0
  687. /package/dist/{chunk-E6FOW4UK.js.map → chunk-4KJSNR5E.js.map} +0 -0
  688. /package/dist/{chunk-GRVO7RW4.js.map → chunk-52QHIKH2.js.map} +0 -0
  689. /package/dist/{chunk-S4XD4GGN.js.map → chunk-5ALGKNTQ.js.map} +0 -0
  690. /package/dist/{chunk-BH55L7RJ.js.map → chunk-5JCTTSV4.js.map} +0 -0
  691. /package/dist/{chunk-ANGLZ4XR.js.map → chunk-5W7K7STT.js.map} +0 -0
  692. /package/dist/{chunk-V26BRUAV.js.map → chunk-6CIGRV5K.js.map} +0 -0
  693. /package/dist/{chunk-JO5SX7RA.js.map → chunk-6U2OPC6J.js.map} +0 -0
  694. /package/dist/{chunk-EGKHDALO.js.map → chunk-7AHTS4BP.js.map} +0 -0
  695. /package/dist/{chunk-IUT72AWA.js.map → chunk-7HFAEB3C.js.map} +0 -0
  696. /package/dist/{chunk-XERHX42E.js.map → chunk-7HGZRJZZ.js.map} +0 -0
  697. /package/dist/{chunk-7CJKL3LK.js.map → chunk-A2ORIMUJ.js.map} +0 -0
  698. /package/dist/{chunk-VRINIB6B.js.map → chunk-A32SGNCT.js.map} +0 -0
  699. /package/dist/{chunk-VVJMPICY.js.map → chunk-AKA6RWLC.js.map} +0 -0
  700. /package/dist/{chunk-BWE6BZK3.js.map → chunk-AMVZ6KT5.js.map} +0 -0
  701. /package/dist/{chunk-L32KMIC3.js.map → chunk-ASXUC6SM.js.map} +0 -0
  702. /package/dist/{chunk-GH5EQCLQ.js.map → chunk-BCO5T43J.js.map} +0 -0
  703. /package/dist/{chunk-RRGGHEA4.js.map → chunk-BDQPMVKD.js.map} +0 -0
  704. /package/dist/{chunk-BXM6PRTG.js.map → chunk-BOQZOLRA.js.map} +0 -0
  705. /package/dist/{chunk-UG6RDT65.js.map → chunk-BSCMVKBP.js.map} +0 -0
  706. /package/dist/{chunk-N7DVQTPC.js.map → chunk-BZN2O76M.js.map} +0 -0
  707. /package/dist/{chunk-FIN6XVVG.js.map → chunk-BZZZQFTI.js.map} +0 -0
  708. /package/dist/{chunk-6KIZ3Q5X.js.map → chunk-CRHGXVUQ.js.map} +0 -0
  709. /package/dist/{chunk-UO5AU7IW.js.map → chunk-D6AB63O3.js.map} +0 -0
  710. /package/dist/{chunk-GJ6JKPEY.js.map → chunk-DPQP2GUW.js.map} +0 -0
  711. /package/dist/{chunk-IGJOH5LV.js.map → chunk-EKQ7NYOU.js.map} +0 -0
  712. /package/dist/{chunk-6MDL3FYD.js.map → chunk-EUQEQOFE.js.map} +0 -0
  713. /package/dist/{chunk-P7EXGD5F.js.map → chunk-FKA55PHV.js.map} +0 -0
  714. /package/dist/{chunk-6BG5G6SC.js.map → chunk-GVLWCGXX.js.map} +0 -0
  715. /package/dist/{chunk-ESXQDVDP.js.map → chunk-HLVWCJRO.js.map} +0 -0
  716. /package/dist/{chunk-CCYVGZGI.js.map → chunk-HPAW7XDM.js.map} +0 -0
  717. /package/dist/{chunk-JV5AGMUC.js.map → chunk-IV57XNTG.js.map} +0 -0
  718. /package/dist/{chunk-UTOWZWZ5.js.map → chunk-JMAFJKGG.js.map} +0 -0
  719. /package/dist/{chunk-XCN3FKLF.js.map → chunk-JZHRVYNS.js.map} +0 -0
  720. /package/dist/{chunk-5X6CDEMT.js.map → chunk-K6YUMBDY.js.map} +0 -0
  721. /package/dist/{chunk-7WWTWWB7.js.map → chunk-L6WNBKYN.js.map} +0 -0
  722. /package/dist/{chunk-XZXGNMNK.js.map → chunk-LGR6CJTW.js.map} +0 -0
  723. /package/dist/{chunk-AEHBMP7F.js.map → chunk-LOWJQFCC.js.map} +0 -0
  724. /package/dist/{chunk-Y34GYPF6.js.map → chunk-M5SYLBBC.js.map} +0 -0
  725. /package/dist/{chunk-QJQUSRGP.js.map → chunk-OIJ6GRVS.js.map} +0 -0
  726. /package/dist/{chunk-LWOWC4PF.js.map → chunk-ONVIVITY.js.map} +0 -0
  727. /package/dist/{chunk-SKS6VDD4.js.map → chunk-OQX3HO46.js.map} +0 -0
  728. /package/dist/{chunk-4DXQJGJ7.js.map → chunk-OYLGAFFY.js.map} +0 -0
  729. /package/dist/{chunk-SR35T6VI.js.map → chunk-P7DIIYCX.js.map} +0 -0
  730. /package/dist/{chunk-7T6G6BZF.js.map → chunk-PGKOJYV6.js.map} +0 -0
  731. /package/dist/{chunk-HZ3TCGBK.js.map → chunk-PPSWNLMG.js.map} +0 -0
  732. /package/dist/{chunk-GIBTGABW.js.map → chunk-R624P2GE.js.map} +0 -0
  733. /package/dist/{chunk-KUHCBPKU.js.map → chunk-RBSAEAQV.js.map} +0 -0
  734. /package/dist/{chunk-DRKC4J62.js.map → chunk-RZ3KEFZ2.js.map} +0 -0
  735. /package/dist/{chunk-VZKDGKCP.js.map → chunk-SS66BHGA.js.map} +0 -0
  736. /package/dist/{chunk-M3OUBH5W.js.map → chunk-SU63FEY6.js.map} +0 -0
  737. /package/dist/{chunk-YO5DWWBU.js.map → chunk-SVC65ZPG.js.map} +0 -0
  738. /package/dist/{chunk-2XOBD4ZZ.js.map → chunk-TG3QBMDK.js.map} +0 -0
  739. /package/dist/{chunk-26VFFI2G.js.map → chunk-TMXW5HVE.js.map} +0 -0
  740. /package/dist/{chunk-DX5WQOJU.js.map → chunk-TPDBOH3A.js.map} +0 -0
  741. /package/dist/{chunk-IYCSCSRS.js.map → chunk-U5RWKZVS.js.map} +0 -0
  742. /package/dist/{chunk-7WL4LROG.js.map → chunk-UYKZ5HXA.js.map} +0 -0
  743. /package/dist/{chunk-SPZQIZLJ.js.map → chunk-VOYUJJQ6.js.map} +0 -0
  744. /package/dist/{chunk-BMQDU7KN.js.map → chunk-W4RYRU5D.js.map} +0 -0
  745. /package/dist/{chunk-MZ6UOWXO.js.map → chunk-WFSMIVJT.js.map} +0 -0
  746. /package/dist/{chunk-B2XYBFGT.js.map → chunk-Y4PX2ECH.js.map} +0 -0
  747. /package/dist/{chunk-RPKZLEY7.js.map → chunk-YKM46UX5.js.map} +0 -0
  748. /package/dist/{chunk-GKB4YPSV.js.map → chunk-Z7AO6A7M.js.map} +0 -0
  749. /package/dist/{chunk-6KCG2NFA.js.map → chunk-ZENZ5H2Q.js.map} +0 -0
  750. /package/dist/{cohort-ZLQA2KPW.js.map → cohort-Q7TW5XTY.js.map} +0 -0
  751. /package/dist/{condition-SFZAHMKK.js.map → condition-H6LBUHIF.js.map} +0 -0
  752. /package/dist/{controls-US3ID2ZR.js.map → controls-DWDKFDXY.js.map} +0 -0
  753. /package/dist/{controls.config-Y7NGPB5K.js.map → controls.config-KF7PHZSG.js.map} +0 -0
  754. /package/dist/{correlation-JD4FMZVF.js.map → correlation-YMSARIER.js.map} +0 -0
  755. /package/dist/{customdata.inputui-YUHO2ZSR.js.map → customdata.inputui-KEFE7ZHS.js.map} +0 -0
  756. /package/dist/{dataDownload-4YQHUJQX.js.map → dataDownload-G7TGPFGL.js.map} +0 -0
  757. /package/dist/{databrowser.ui-4YE24U4B.js.map → databrowser.ui-NFIIFQJZ.js.map} +0 -0
  758. /package/dist/{dictionary-LFOSXJGH.js.map → dictionary-ERJQMALC.js.map} +0 -0
  759. /package/dist/{dnaMethylation-2627GIZW.js.map → dnaMethylation-KVCXKAU3.js.map} +0 -0
  760. /package/dist/{dnaMethylation.integration.spec-HSZKXED3.js.map → dnaMethylation.integration.spec-3NXGGG4J.js.map} +0 -0
  761. /package/dist/{dofetch-7O5UTSGI.js.map → dofetch-YRWLEQEH.js.map} +0 -0
  762. /package/dist/{e2pca-XL7F5BK3.js.map → e2pca-M2F2CI6I.js.map} +0 -0
  763. /package/dist/{ep-35KADAYG.js.map → ep-QAEG4RV4.js.map} +0 -0
  764. /package/dist/{expclust.gdc.spec-TFJEXEAA.js.map → expclust.gdc.spec-P77T6JR2.js.map} +0 -0
  765. /package/dist/{facet-AWDU4CCU.js.map → facet-LJTSTASE.js.map} +0 -0
  766. /package/dist/{gb-UIBSH7KV.js.map → gb-KSB2DQHH.js.map} +0 -0
  767. /package/dist/{geneExpClustering-VYZ5VDPL.js.map → geneExpClustering-KHDCPE65.js.map} +0 -0
  768. /package/dist/{geneExpression-ECXW22H6.js.map → geneExpression-AWWMOUAR.js.map} +0 -0
  769. /package/dist/{geneExpression-CNBSE3KW.js.map → geneExpression-Z2EDR6EN.js.map} +0 -0
  770. /package/dist/{geneExpression.unit.spec-SCBRU5BG.js.map → geneExpression.unit.spec-WB2ESPKT.js.map} +0 -0
  771. /package/dist/{geneORA-BQZ4XYJH.js.map → geneORA-NGZTMFSJ.js.map} +0 -0
  772. /package/dist/{geneRanking-GXRSXHIN.js.map → geneRanking-AYNBGFKU.js.map} +0 -0
  773. /package/dist/{geneVariant-Y7GASAY6.js.map → geneVariant-AL64NDHH.js.map} +0 -0
  774. /package/dist/{geneVariant-ZVOUFF27.js.map → geneVariant-QMKR3LUV.js.map} +0 -0
  775. /package/dist/{geneVariant.integration.spec-2ATUV7NH.js.map → geneVariant.integration.spec-N3U5CIRT.js.map} +0 -0
  776. /package/dist/{genefusion.ui-CEMLY7HG.js.map → genefusion.ui-IWJMF2BM.js.map} +0 -0
  777. /package/dist/{geneset-HMADFO7Z.js.map → geneset-APCO4BRX.js.map} +0 -0
  778. /package/dist/{genomeBrowser.spec-3U6KE3MK.js.map → genomeBrowser.spec-JTCVUTO5.js.map} +0 -0
  779. /package/dist/{grin2-CFAOAHY3.js.map → grin2-FVX6AIST.js.map} +0 -0
  780. /package/dist/{grin2-AJAXI4O4.js.map → grin2-LF46UKFY.js.map} +0 -0
  781. /package/dist/{hierCluster-JUJ7C7TQ.js.map → hierCluster-4DRHXD6W.js.map} +0 -0
  782. /package/dist/{hierCluster-N6B4L6FW.js.map → hierCluster-SFRQK3PS.js.map} +0 -0
  783. /package/dist/{hierCluster.config-RSSBKO6G.js.map → hierCluster.config-G2TFGBYF.js.map} +0 -0
  784. /package/dist/{hierCluster.integration.spec-YC6B3ID2.js.map → hierCluster.integration.spec-ZUZKCG6A.js.map} +0 -0
  785. /package/dist/{hierCluster.interactivity-PRIWN65K.js.map → hierCluster.interactivity-LQA6J56H.js.map} +0 -0
  786. /package/dist/{hierCluster.renderers-3RHXOHZ5.js.map → hierCluster.renderers-TZZJEVFO.js.map} +0 -0
  787. /package/dist/{imagePlot-DSG4WJOG.js.map → imagePlot-OUHFWYKT.js.map} +0 -0
  788. /package/dist/{importPlot-QSWJBDWH.js.map → importPlot-7V456QK7.js.map} +0 -0
  789. /package/dist/{isoformExpression-XWLMWXEK.js.map → isoformExpression-NGUJJ6VI.js.map} +0 -0
  790. /package/dist/{isoformExpression.unit.spec-T7VN2WPK.js.map → isoformExpression.unit.spec-DCRPXPBY.js.map} +0 -0
  791. /package/dist/{junction-AUXJROOE.js.map → junction-QYKLNXIW.js.map} +0 -0
  792. /package/dist/{junction.customTerm-FRYWSS4P.js.map → junction.customTerm-EHOOBR4V.js.map} +0 -0
  793. /package/dist/{junction.unit.spec-ODVQMDI5.js.map → junction.unit.spec-LDNY7OFK.js.map} +0 -0
  794. /package/dist/{launch.adhoc-TNONPG6R.js.map → launch.adhoc-FF7B3UG6.js.map} +0 -0
  795. /package/dist/{leftlabel.sample-5VFAMSH5.js.map → leftlabel.sample-BTHMKLGF.js.map} +0 -0
  796. /package/dist/{lollipop-NEDFCNJJ.js.map → lollipop-H3UCNMHN.js.map} +0 -0
  797. /package/dist/{maf-2GO7PDOL.js.map → maf-KWGUTPKO.js.map} +0 -0
  798. /package/dist/{maftimeline-UMVQGIXA.js.map → maftimeline-UD5VE4UW.js.map} +0 -0
  799. /package/dist/{matrix-74JSSVR5.js.map → matrix-DLCX6GOO.js.map} +0 -0
  800. /package/dist/{matrix-YARPFYCU.js.map → matrix-TIV42IQB.js.map} +0 -0
  801. /package/dist/{matrix.cells-WYCIMZRW.js.map → matrix.cells-J3QZ7C6U.js.map} +0 -0
  802. /package/dist/{matrix.config-5SNEP3B4.js.map → matrix.config-VNMS6B7J.js.map} +0 -0
  803. /package/dist/{matrix.data-3H4GFMQK.js.map → matrix.data-PIE3TLKD.js.map} +0 -0
  804. /package/dist/{matrix.groups-FGLRK6IT.js.map → matrix.groups-URBU775S.js.map} +0 -0
  805. /package/dist/{matrix.integration.spec-4DQIRQQO.js.map → matrix.integration.spec-LC6YMEKP.js.map} +0 -0
  806. /package/dist/{matrix.interactivity-GSV45F2N.js.map → matrix.interactivity-W5AFOAQN.js.map} +0 -0
  807. /package/dist/{matrix.layout-BMH4V36B.js.map → matrix.layout-LU3NIJAL.js.map} +0 -0
  808. /package/dist/{matrix.legend-5OVHDE6Q.js.map → matrix.legend-LTP6ETZO.js.map} +0 -0
  809. /package/dist/{matrix.renderers-DENF4NZ6.js.map → matrix.renderers-762XI65L.js.map} +0 -0
  810. /package/dist/{matrix.serieses-D7XPW5L4.js.map → matrix.serieses-FHDBRPZA.js.map} +0 -0
  811. /package/dist/{matrix.sort-XQEOXSEG.js.map → matrix.sort-Q6A6UWMY.js.map} +0 -0
  812. /package/dist/{matrix.sort.unit.spec-HGII2SCC.js.map → matrix.sort.unit.spec-CTCOPKVS.js.map} +0 -0
  813. /package/dist/{matrix.sorterUi-J6PRUT6J.js.map → matrix.sorterUi-4M5AU5EL.js.map} +0 -0
  814. /package/dist/{matrix.sorterUi.unit.spec-TNRATMUJ.js.map → matrix.sorterUi.unit.spec-Y7GC3PM5.js.map} +0 -0
  815. /package/dist/{matrix.unit.spec-LBMDCANX.js.map → matrix.unit.spec-DROPHFTM.js.map} +0 -0
  816. /package/dist/{mavb-UQFSJN4W.js.map → mavb-BWA73N3U.js.map} +0 -0
  817. /package/dist/{mds.fimo-TXHCH6LW.js.map → mds.fimo-3UJWIH2J.js.map} +0 -0
  818. /package/dist/{mds.samplescatterplot-G6IJO3I7.js.map → mds.samplescatterplot-EUS7DCSQ.js.map} +0 -0
  819. /package/dist/{mds.survivalplot-XFB2EL23.js.map → mds.survivalplot-77UEBQIC.js.map} +0 -0
  820. /package/dist/{multivalue-GLE6G3ZO.js.map → multivalue-KZ2DMVIR.js.map} +0 -0
  821. /package/dist/{numericDictTermCluster-YTAMQDWZ.js.map → numericDictTermCluster-C2MYJYPZ.js.map} +0 -0
  822. /package/dist/{oncomatrix-P6QVGFAR.js.map → oncomatrix-6LGB3M7R.js.map} +0 -0
  823. /package/dist/{oncomatrix.spec-O6U52E22.js.map → oncomatrix.spec-UWMSLOHW.js.map} +0 -0
  824. /package/dist/{plot.2dvaf-VZL4SH6G.js.map → plot.2dvaf-LZAVWH65.js.map} +0 -0
  825. /package/dist/{plot.app-VYMIF4VU.js.map → plot.app-OEWE3AYV.js.map} +0 -0
  826. /package/dist/{plot.barplot-I6S266DG.js.map → plot.barplot-VIBHGTUT.js.map} +0 -0
  827. /package/dist/{plot.boxplot-3CHI4AA2.js.map → plot.boxplot-NQI3PSKR.js.map} +0 -0
  828. /package/dist/{plot.brainImaging-LRQYKMLQ.js.map → plot.brainImaging-3MTTCZHI.js.map} +0 -0
  829. /package/dist/{plot.disco-NCTBMD2W.js.map → plot.disco-HODBY7SO.js.map} +0 -0
  830. /package/dist/{plot.ssgq-CL3TGZ55.js.map → plot.ssgq-4URQE673.js.map} +0 -0
  831. /package/dist/{plot.vaf2cov-5RG3OD6G.js.map → plot.vaf2cov-QIJNEKCK.js.map} +0 -0
  832. /package/dist/{polar2-ABI2UJNC.js.map → polar2-GVFQNSLK.js.map} +0 -0
  833. /package/dist/{profileForms-Z4Y55OQY.js.map → profileForms-Z22CJXI4.js.map} +0 -0
  834. /package/dist/{profilePlot-LMDZVOJK.js.map → profilePlot-IVQZBSID.js.map} +0 -0
  835. /package/dist/{proteinView-UYMM76WH.js.map → proteinView-AUK634AU.js.map} +0 -0
  836. /package/dist/{proteomeCohortCompare-5GFBARC5.js.map → proteomeCohortCompare-7G2F35H5.js.map} +0 -0
  837. /package/dist/{pseudbulk.unit.spec-JJ2I4KPM.js.map → pseudbulk.unit.spec-JDKUQUCM.js.map} +0 -0
  838. /package/dist/{pseudobulk-Y7HWDLIV.js.map → pseudobulk-QTCUSH5I.js.map} +0 -0
  839. /package/dist/{qualitative-H72GEWTZ.js.map → qualitative-7ST7SSBT.js.map} +0 -0
  840. /package/dist/{radar2-OXUS5DLT.js.map → radar2-CEE6SNBS.js.map} +0 -0
  841. /package/dist/{radarFacility2-VOUNCM6A.js.map → radarFacility2-OSKDYIK7.js.map} +0 -0
  842. /package/dist/{rememberedGvQ.unit.spec-N43O4YTF.js.map → rememberedGvQ.unit.spec-RYFUJ2NW.js.map} +0 -0
  843. /package/dist/{render-KDLTAQVA.js.map → render-MAD3WMVD.js.map} +0 -0
  844. /package/dist/{report-PBRD2KBN.js.map → report-6JXJVSEB.js.map} +0 -0
  845. /package/dist/{sampleView-7HWFZCHE.js.map → sampleView-SG3QYZKQ.js.map} +0 -0
  846. /package/dist/{samplelst-3ZWV4XZQ.js.map → samplelst-R765UFP6.js.map} +0 -0
  847. /package/dist/{samplematrix-YRJUNYQ6.js.map → samplematrix-EBJYE5SM.js.map} +0 -0
  848. /package/dist/{sc-N4YM3GZI.js.map → sc-7ZXPFDHD.js.map} +0 -0
  849. /package/dist/{scatter-KBY6VF76.js.map → scatter-3GUL4KF3.js.map} +0 -0
  850. /package/dist/{selectGenomeWithTklst-25WQQ42Y.js.map → selectGenomeWithTklst-K4YXGJYG.js.map} +0 -0
  851. /package/dist/{singleCellCellType-35TDG2YM.js.map → singleCellCellType-TU5VTPLP.js.map} +0 -0
  852. /package/dist/{singleCellCellType.unit.spec-G5AVNAUK.js.map → singleCellCellType.unit.spec-IRITQIGT.js.map} +0 -0
  853. /package/dist/{singleCellGeneExpression-7AHJYFWJ.js.map → singleCellGeneExpression-3IL52QDK.js.map} +0 -0
  854. /package/dist/{singleCellGeneExpression.unit.spec-LGZMOVTB.js.map → singleCellGeneExpression.unit.spec-WXC4C37T.js.map} +0 -0
  855. /package/dist/{singleCellPlot-AU5K4M7J.js.map → singleCellPlot-XG3HZS7I.js.map} +0 -0
  856. /package/dist/{singlecell-HNTYJLJ4.js.map → singlecell-BRF2HAV2.js.map} +0 -0
  857. /package/dist/{singlecell-J4FIZPZF.js.map → singlecell-KVCJF2HI.js.map} +0 -0
  858. /package/dist/{snp-OXDVSFGB.js.map → snp-RMZRB426.js.map} +0 -0
  859. /package/dist/{snp.unit.spec-B7LCCGWA.js.map → snp.unit.spec-JF6KR2NT.js.map} +0 -0
  860. /package/dist/{snplocus-4VWXVQGS.js.map → snplocus-AHUFHQ3Q.js.map} +0 -0
  861. /package/dist/{spliceevent.a53ss.diagram-YS32IFVI.js.map → spliceevent.a53ss.diagram-OSZZ2CF2.js.map} +0 -0
  862. /package/dist/{spliceevent.exonskip.diagram-PHFR53DH.js.map → spliceevent.exonskip.diagram-AMA2D2OL.js.map} +0 -0
  863. /package/dist/{spliceevent.noeventdiagram-FFHMDEBQ.js.map → spliceevent.noeventdiagram-RKTUXH5D.js.map} +0 -0
  864. /package/dist/{ssGSEA-OYEIDW4M.js.map → ssGSEA-7RKWYZKX.js.map} +0 -0
  865. /package/dist/{ssGSEA.unit.spec-SY5XFF45.js.map → ssGSEA.unit.spec-XLCZHH7S.js.map} +0 -0
  866. /package/dist/{stattable-JCH2WPS6.js.map → stattable-NDYUCLVZ.js.map} +0 -0
  867. /package/dist/{studyCatalog-FDB7D26M.js.map → studyCatalog-TAXRF5NS.js.map} +0 -0
  868. /package/dist/{summarizeCnvGeneexp-KNW23YAI.js.map → summarizeCnvGeneexp-3QLHU6N7.js.map} +0 -0
  869. /package/dist/{summarizeGeneexpSurvival-H57GGCXL.js.map → summarizeGeneexpSurvival-ARI4MPFX.js.map} +0 -0
  870. /package/dist/{summarizeMutationCnv-RBBDE27N.js.map → summarizeMutationCnv-W7V7CKPI.js.map} +0 -0
  871. /package/dist/{summarizeMutationDiagnosis-R6YWQ4LQ.js.map → summarizeMutationDiagnosis-GCL4SRON.js.map} +0 -0
  872. /package/dist/{summarizeMutationSurvival-Q6WKBNPD.js.map → summarizeMutationSurvival-6TTMSRRX.js.map} +0 -0
  873. /package/dist/{summary-AL3GEK3G.js.map → summary-OUYDWLBF.js.map} +0 -0
  874. /package/dist/{summary.integration.spec-IFGDIEMW.js.map → summary.integration.spec-4GTCG6HY.js.map} +0 -0
  875. /package/dist/{summaryInput-TYIKTBO3.js.map → summaryInput-UK3TLC7M.js.map} +0 -0
  876. /package/dist/{sunburst-4PA3CO44.js.map → sunburst-2UFHMNH3.js.map} +0 -0
  877. /package/dist/{survival-GT4CSHX2.js.map → survival-SPWYSDVB.js.map} +0 -0
  878. /package/dist/{survival-HXJCMNCG.js.map → survival-TL6UZ6FQ.js.map} +0 -0
  879. /package/dist/{svgraph-MZCOBO4J.js.map → svgraph-Z543MLIN.js.map} +0 -0
  880. /package/dist/{svmr-FQPAAQHB.js.map → svmr-SZCAOAIF.js.map} +0 -0
  881. /package/dist/{table-FKLXVILD.js.map → table-IAQ6J4DO.js.map} +0 -0
  882. /package/dist/{termCollection-Y7CIC6GQ.js.map → termCollection-3NGHR7QN.js.map} +0 -0
  883. /package/dist/{termCollection-QDGR6J36.js.map → termCollection-7P3WU6X6.js.map} +0 -0
  884. /package/dist/{termCollection.unit.spec-PQMFOWLF.js.map → termCollection.unit.spec-EPYC7LOA.js.map} +0 -0
  885. /package/dist/{termCollectionFractionSelection-2O32HROA.js.map → termCollectionFractionSelection-YKIE6BME.js.map} +0 -0
  886. /package/dist/{termCollectionFractionSelection.unit.spec-WXGCO2RF.js.map → termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map} +0 -0
  887. /package/dist/{tk-QJNN6WK2.js.map → tk-TOXMU4GT.js.map} +0 -0
  888. /package/dist/{tk-IBYM4FZC.js.map → tk-X454XH5N.js.map} +0 -0
  889. /package/dist/{tp.ui-RI7S54LI.js.map → tp.ui-FDQ76KPL.js.map} +0 -0
  890. /package/dist/{tvs.dt-7CIYMLQF.js.map → tvs.dt-U77PCG6X.js.map} +0 -0
  891. /package/dist/{tvs.dtcnv.categorical-D3W6R6BM.js.map → tvs.dtcnv.categorical-XYZU4XLO.js.map} +0 -0
  892. /package/dist/{tvs.dtcnv.continuous-4WS2TN3K.js.map → tvs.dtcnv.continuous-4GJILFGP.js.map} +0 -0
  893. /package/dist/{tvs.dtfusion-NUUFIGG4.js.map → tvs.dtfusion-7YROAHVI.js.map} +0 -0
  894. /package/dist/{tvs.dtitd-UCSEWRNJ.js.map → tvs.dtitd-MIYU4ZHH.js.map} +0 -0
  895. /package/dist/{tvs.dtsnvindel-J4S7KU3Y.js.map → tvs.dtsnvindel-XLDY7KWB.js.map} +0 -0
  896. /package/dist/{tvs.dtsv-4OPYIWB6.js.map → tvs.dtsv-YMLJ37YR.js.map} +0 -0
  897. /package/dist/{tvs.samplelst-RUZYZ2FF.js.map → tvs.samplelst-KIVEXJKD.js.map} +0 -0
  898. /package/dist/{tvs.termCollection-D5X2HNWO.js.map → tvs.termCollection-4CQV3EB3.js.map} +0 -0
  899. /package/dist/{vocabulary-4L3RHQFQ.js.map → vocabulary-64GO4YDB.js.map} +0 -0
  900. /package/dist/{wsi.direct-FNCUUBEJ.js.map → wsi.direct-5MQVRJZX.js.map} +0 -0
@@ -1,2245 +0,0 @@
1
- import {
2
- blocklazyload
3
- } from "./chunk-GKB4YPSV.js";
4
- import {
5
- hicParseFile
6
- } from "./chunk-VVJMPICY.js";
7
- import {
8
- AppBase,
9
- ColorScale,
10
- axisstyle,
11
- first_genetrack_tolist,
12
- font,
13
- newpane,
14
- showErrorsWithCounter,
15
- tkt
16
- } from "./chunk-NQDF3U2C.js";
17
- import "./chunk-HJ6L54YS.js";
18
- import "./chunk-KV4W2ACA.js";
19
- import "./chunk-CCYVGZGI.js";
20
- import {
21
- Menu
22
- } from "./chunk-ELJX3QIQ.js";
23
- import "./chunk-N7DVQTPC.js";
24
- import "./chunk-EEB5VE2A.js";
25
- import "./chunk-6RRZRISL.js";
26
- import "./chunk-2KM4PRQM.js";
27
- import {
28
- dofetch3
29
- } from "./chunk-GRVO7RW4.js";
30
- import "./chunk-7CJKL3LK.js";
31
- import "./chunk-HZ3TCGBK.js";
32
- import {
33
- bplen
34
- } from "./chunk-IZUYLFOX.js";
35
- import {
36
- StoreBase,
37
- getAppInit,
38
- getCompInit,
39
- getStoreInit
40
- } from "./chunk-WINIL2KN.js";
41
- import "./chunk-PF4DSFDR.js";
42
- import "./chunk-7X6NF7NI.js";
43
- import "./chunk-W5J3LTYS.js";
44
- import {
45
- axisBottom,
46
- axisRight
47
- } from "./chunk-Z2ZITHT4.js";
48
- import {
49
- format,
50
- linear
51
- } from "./chunk-4OLM3KSB.js";
52
- import "./chunk-FXQXCOII.js";
53
- import "./chunk-TLT4YIG3.js";
54
- import "./chunk-5R63Q5KH.js";
55
- import {
56
- pointer_default,
57
- select_default
58
- } from "./chunk-I6Y4O3RR.js";
59
- import "./chunk-Q5RDQNIT.js";
60
- import "./chunk-DQC5FFGV.js";
61
- import "./chunk-HS5PO5ZQ.js";
62
-
63
- // tracks/hic/HicStore.ts
64
- var HicStore = class _HicStore extends StoreBase {
65
- constructor(opts) {
66
- super(opts);
67
- this.views = ["genome", "chrpair", "detail", "horizontal"];
68
- this.type = _HicStore.type;
69
- this.defaultState = {
70
- defaultNmeth: "NONE",
71
- loading: true,
72
- minBinNum_bp: 200,
73
- minFragSpan: 200,
74
- initialBinNum: 20,
75
- settings: {
76
- widthHeightPx: 800
77
- }
78
- };
79
- }
80
- static {
81
- this.type = "store";
82
- }
83
- init() {
84
- this.state = Object.assign({}, this.defaultState, this.state);
85
- }
86
- };
87
- var hicStoreInit = getStoreInit(HicStore);
88
- HicStore.prototype.actions = {
89
- view_create(action) {
90
- if (!action.view) throw Error("view_create: missing view");
91
- if (!this.views.some((v) => v == action.view)) throw Error(`view_create: unknown view = ${action.view}`);
92
- this.state.currView = action.view;
93
- const opts = Object.assign(this.state, action.config);
94
- this.state = opts;
95
- },
96
- view_update(action) {
97
- if (action.view) {
98
- if (!this.views.some((v) => v == action.view)) throw Error(`view_update: unknown view = ${action.view}`);
99
- const opts = Object.assign(this.state[action.view], action.config);
100
- this.state[action.view] = opts;
101
- } else {
102
- const opts = Object.assign(this.state, action.config);
103
- this.state = opts;
104
- }
105
- },
106
- loading_active(action) {
107
- this.state.loading = action.active;
108
- }
109
- };
110
-
111
- // tracks/hic/dom/LoadingOverlay.ts
112
- var LoadingOverlay = class _LoadingOverlay {
113
- constructor(opts) {
114
- this.hasStatePreMain = true;
115
- this.type = _LoadingOverlay.type;
116
- this.app = opts.app;
117
- this.loadingDiv = opts.loadingDiv;
118
- }
119
- static {
120
- this.type = "loadingOverlay";
121
- }
122
- reactsTo(action) {
123
- if (action.type.startsWith("loading")) return true;
124
- else return false;
125
- }
126
- getState(appState) {
127
- return appState;
128
- }
129
- init() {
130
- this.loadingDiv.append("div").attr("class", "sjpp-spinner").style("display", "");
131
- }
132
- main(appState) {
133
- const loading = this.app.getState(appState).loading;
134
- this.loadingDiv.style("display", loading ? "" : "none");
135
- }
136
- };
137
- var loadingInit = getCompInit(LoadingOverlay);
138
-
139
- // tracks/hic/dom/ColorizeElement.ts
140
- var ColorizeElement = class {
141
- colorizeElement(xCoord, yCoord, v, obj, width, height, bpMinV, bpMaxV, currView) {
142
- if (v >= 0) {
143
- const p = v >= bpMaxV ? 0 : v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV - v) / bpMaxV);
144
- const positiveFill = `rgb(255, ${p}, ${p})`;
145
- if (currView === "genome") {
146
- obj.ctx.fillStyle = positiveFill;
147
- obj.ctx2.fillStyle = positiveFill;
148
- } else {
149
- obj.fillStyle = positiveFill;
150
- }
151
- } else {
152
- const p = v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV + v) / bpMaxV);
153
- const negativeFill = `rgb(${p}, ${p}, 255)`;
154
- if (currView === "genome") {
155
- obj.ctx.fillStyle = negativeFill;
156
- obj.ctx2.fillStyle = negativeFill;
157
- } else {
158
- obj.fillStyle = negativeFill;
159
- }
160
- }
161
- if (currView === "genome") {
162
- obj.ctx.fillRect(yCoord, xCoord, width, height);
163
- obj.ctx2.fillRect(xCoord, yCoord, width, height);
164
- } else {
165
- obj.fillRect(xCoord, yCoord, width, height);
166
- }
167
- }
168
- };
169
-
170
- // tracks/hic/data/Resolution.ts
171
- var Resolution = class {
172
- constructor(error) {
173
- this.error = error;
174
- }
175
- getResolution(state, hic) {
176
- if (state.currView == "genome") return hic["bpresolution"][0];
177
- if (state.currView == "chrpair") {
178
- const resolution = this.getChrPairResolution(hic, state.x, state.y, state.minBinNum_bp);
179
- return resolution;
180
- } else if (state.currView == "detail") {
181
- const maxBpWidth = Math.max(state.x.stop - state.x.start, state.y.stop - state.y.start);
182
- let resolution = this.findResFromArray(maxBpWidth, state.minBinNum_bp, hic.bpresolution);
183
- if (resolution == null && !hic.enzyme) {
184
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
185
- }
186
- return resolution;
187
- } else {
188
- this.error(`Unknown view: ${state.currView}`);
189
- throw `Unknown view: ${state.currView}`;
190
- }
191
- }
192
- getChrPairResolution(hic, x, y, minBinNum_bp) {
193
- const chrxlen = hic.genome.chrlookup[x.chr.toUpperCase()].len;
194
- const chrylen = hic.genome.chrlookup[y.chr.toUpperCase()].len;
195
- const maxchrlen = Math.max(chrxlen, chrylen);
196
- const resolution = this.findResFromArray(maxchrlen, minBinNum_bp, hic.bpresolution);
197
- if (resolution == null) {
198
- this.error(`No suitable resolution for ${x.chr}-${y.chr} pair.`);
199
- return;
200
- }
201
- return resolution;
202
- }
203
- findResFromArray(max, defaultValue, resolutionArray, returnNum) {
204
- let resolution = null;
205
- for (const res of resolutionArray) {
206
- if (max / res > defaultValue) {
207
- resolution = res;
208
- break;
209
- }
210
- }
211
- if (returnNum && resolution == null) {
212
- resolution = resolutionArray[resolutionArray.length - 1];
213
- }
214
- return resolution;
215
- }
216
- getDefaultViewSpan(hic, x, y, initialBinNum, minBinNum_bp) {
217
- const chrpairResolution = this.getChrPairResolution(hic, x, y, minBinNum_bp);
218
- if (!chrpairResolution) return;
219
- return chrpairResolution * initialBinNum;
220
- }
221
- };
222
-
223
- // tracks/hic/data/Positions.ts
224
- var Positions = class {
225
- constructor(error, minBinNum_bp) {
226
- this.error = error;
227
- this.resolution = new Resolution(this.error);
228
- this.minBinNum_bp = minBinNum_bp;
229
- }
230
- /**
231
- *
232
- * @param x x coordinate of pointer
233
- * @param y y coordinate of pointer
234
- * @param binpx
235
- * @param chrx x chr from state
236
- * @param chry y chr from state
237
- * @param hic
238
- * @param initialBinNum Set in the state
239
- * @returns
240
- */
241
- setPosition(x, y, binpx, chrx, chry, hic, initialBinNum) {
242
- const resolution = this.resolution.getChrPairResolution(hic, chrx, chry, this.minBinNum_bp);
243
- const viewrangebpw = resolution * initialBinNum;
244
- let coordx = Math.max(1, Math.floor(x * resolution / binpx) - viewrangebpw / 2);
245
- let coordy = Math.max(1, Math.floor(y * resolution / binpx) - viewrangebpw / 2);
246
- {
247
- const lenx = hic.genome.chrlookup[chrx.chr.toUpperCase()].len;
248
- if (coordx + viewrangebpw >= lenx) {
249
- coordx = lenx - viewrangebpw;
250
- }
251
- const leny = hic.genome.chrlookup[chry.chr.toUpperCase()].len;
252
- if (coordy + viewrangebpw > leny) {
253
- coordy = leny - viewrangebpw;
254
- }
255
- }
256
- const xObj = {
257
- chr: chrx.chr,
258
- start: coordx,
259
- stop: coordx + viewrangebpw
260
- };
261
- const yObj = {
262
- chr: chry.chr,
263
- start: coordy,
264
- stop: coordy + viewrangebpw
265
- };
266
- return [xObj, yObj];
267
- }
268
- };
269
-
270
- // tracks/hic/data/GridElementsFormattedData.ts
271
- var GridElementsFormattedData = class {
272
- /**
273
- * Format the data for the grid elements.
274
- * @param items The data to format.
275
- * @param binpx The bin size in pixels.
276
- * @param resolution The resolution.
277
- * @param isFirstChrX Whether the first chromosome is X. Used for chrpair view.
278
- * @param isIntraChr Whether the data is intra-chromosomal. Used for chrpair view
279
- * @returns The formatted data.
280
- */
281
- formatData(view, items, binpx, resolution, isFirstChrX, isIntraChr) {
282
- const formattedData = [];
283
- for (const [xCoord, yCoord, value] of items) {
284
- const xPx = Math.floor(xCoord / resolution) * binpx;
285
- const yPx = Math.floor(yCoord / resolution) * binpx;
286
- if (view == "genome") {
287
- formattedData.push([xPx, yPx, value]);
288
- }
289
- if (view == "chrpair") {
290
- const x = isFirstChrX ? xPx : yPx;
291
- const y = isFirstChrX ? yPx : xPx;
292
- formattedData.push([x, y, value]);
293
- if (isIntraChr) {
294
- formattedData.push([y, x, value]);
295
- }
296
- }
297
- }
298
- return formattedData;
299
- }
300
- };
301
-
302
- // tracks/hic/data/FirstChrX.ts
303
- var FirstChrX = class {
304
- constructor(chrorder, chrx, chry) {
305
- this.chrorder = chrorder;
306
- this.chrx = chrx;
307
- this.chry = chry;
308
- }
309
- isFirstX() {
310
- if (this.chrx == this.chry) return true;
311
- return this.chrorder.indexOf(this.chrx) < this.chrorder.indexOf(this.chry);
312
- }
313
- };
314
-
315
- // tracks/hic/chrpair/ChrPairView.ts
316
- var ChrPairView = class {
317
- constructor(opts) {
318
- this.binpx = 1;
319
- /** padding on the ends of x/y chr coordinate axes */
320
- this.axispad = 10;
321
- this.axisLabelFontSize = 15;
322
- this.calcResolution = null;
323
- this.data = [];
324
- this.app = opts.app;
325
- this.hic = opts.hic;
326
- this.plotDiv = opts.plotDiv;
327
- this.items = opts.items;
328
- this.parent = opts.parent;
329
- this.chrxlen = this.hic.genome.chrlookup[this.parent("state").x.chr.toUpperCase()].len;
330
- this.chrylen = this.hic.genome.chrlookup[this.parent("state").y.chr.toUpperCase()].len;
331
- this.maxchrlen = Math.max(this.chrxlen, this.chrylen);
332
- this.colorizeElement = new ColorizeElement();
333
- this.positions = new Positions(opts.error, this.parent("state").minBinNum_bp);
334
- this.formattedData = new GridElementsFormattedData();
335
- }
336
- setDefaultBinpx() {
337
- if (this.calcResolution == null) return;
338
- while (this.binpx * this.maxchrlen / this.calcResolution < 600) {
339
- this.binpx++;
340
- }
341
- }
342
- renderAxes() {
343
- if (this.calcResolution == null) return;
344
- const svgY = this.plotDiv.yAxis.append("svg");
345
- const h = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
346
- svgY.attr("width", 100).attr("height", this.axispad * 2 + h);
347
- svgY.append("g").attr("data-testid", "sjpp-chrpair-svg-y").attr("transform", "translate(80," + (this.axispad + h / 2) + ")").append("text").text(this.parent("state").y.chr).attr("text-anchor", "middle").attr("font-size", this.axisLabelFontSize).attr("font-family", font).attr("dominant-baseline", "central").attr("transform", "rotate(90)");
348
- axisstyle({
349
- axis: svgY.append("g").attr("transform", `translate(1, ${this.axispad})`).call(axisRight(linear().domain([0, this.chrylen]).range([0, h])).tickFormat(format(".2s"))),
350
- showline: true
351
- });
352
- const svgX = this.plotDiv.xAxis.append("svg").style("margin-top", "-4px");
353
- const w = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
354
- svgX.attr("height", 100).attr("width", this.axispad * 2 + w);
355
- svgX.append("text").attr("data-testid", "sjpp-chrpair-svg-x").text(this.parent("state").x.chr).attr("font-size", this.axisLabelFontSize).attr("font-family", font).attr("x", this.axispad + w / 2).attr("text-anchor", "middle").attr("y", 60);
356
- axisstyle({
357
- axis: svgX.append("g").attr("transform", "translate(" + this.axispad + ",1)").call(axisBottom(linear().domain([0, this.chrxlen]).range([0, w])).tickFormat(format(".2s"))),
358
- showline: true
359
- });
360
- }
361
- renderCanvas() {
362
- const initDetailView = this.initDetailView.bind(this);
363
- this.canvas = this.plotDiv.plot.append("canvas").attr("data-testid", "sjpp-chrpair-canvas").style("margin", this.axispad + "px").on("click", async function(event) {
364
- const [x, y] = pointer_default(event, this);
365
- initDetailView(x, y);
366
- }).node();
367
- this.canvas.width = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
368
- this.canvas.height = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
369
- this.ctx = this.canvas.getContext("2d");
370
- }
371
- initDetailView(x, y) {
372
- const [xObj, yObj] = this.positions.setPosition(
373
- x,
374
- y,
375
- this.binpx,
376
- this.parent("state").x,
377
- this.parent("state").y,
378
- this.hic,
379
- this.parent("state").initialBinNum
380
- );
381
- this.app.dispatch({
382
- type: "view_create",
383
- view: "detail",
384
- config: {
385
- x: xObj,
386
- y: yObj
387
- }
388
- });
389
- }
390
- render() {
391
- this.calcResolution = this.parent("calcResolution");
392
- this.setDefaultBinpx();
393
- this.renderAxes();
394
- this.renderCanvas();
395
- this.update(this.items);
396
- }
397
- update(items) {
398
- this.items = items;
399
- const firstisx = new FirstChrX(this.hic.chrorder, this.parent("state").x.chr, this.parent("state").y.chr).isFirstX();
400
- const isintrachr = this.parent("state").x.chr === this.parent("state").y.chr;
401
- this.data = this.formattedData.formatData(
402
- "chrpair",
403
- items.items,
404
- this.binpx,
405
- this.calcResolution,
406
- firstisx,
407
- isintrachr
408
- );
409
- this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
410
- for (const [x, y, v] of this.data) {
411
- this.colorizeElement.colorizeElement(
412
- x,
413
- y,
414
- v,
415
- this.ctx,
416
- this.binpx,
417
- //width
418
- this.binpx,
419
- //height
420
- this.parent("min"),
421
- this.parent("max"),
422
- "chrpair"
423
- );
424
- }
425
- this.app.dispatch({ type: "loading_active", active: false });
426
- }
427
- };
428
-
429
- // tracks/hic/horizontal/HorizontalView.ts
430
- var HorizontalView = class {
431
- constructor(opts) {
432
- /** Defaults*/
433
- this.maxPercentage = 5;
434
- this.subPanelPxWidth = 600;
435
- this.borderColor = "rgba(200,0,0,.1)";
436
- this.app = opts.app;
437
- this.hic = opts.hic;
438
- this.plotDiv = opts.plotDiv;
439
- this.items = opts.items;
440
- this.parent = opts.parent;
441
- }
442
- setRunPpTracks() {
443
- const tracks = [
444
- {
445
- type: "hicstraw",
446
- file: this.hic.file,
447
- url: this.hic.url,
448
- name: this.hic.name,
449
- enzyme: this.hic.enzyme,
450
- maxpercentage: this.maxPercentage,
451
- pyramindup: 1
452
- }
453
- ];
454
- if (this.hic.tklst) {
455
- for (const t of this.hic.tklst) {
456
- tracks.push(t);
457
- }
458
- }
459
- first_genetrack_tolist(this.hic.genome, tracks);
460
- return tracks;
461
- }
462
- setRunPpArgs(tracks) {
463
- const arg = {
464
- holder: this.plotDiv.plot,
465
- hostURL: this.hic.hostURL,
466
- jwt: this.hic.jwt,
467
- genome: this.hic.genome,
468
- nobox: 1,
469
- tklst: tracks
470
- };
471
- const state = this.parent("state");
472
- if (state.x.chr == state.y.chr && Math.max(state.x.start, state.y.start) < Math.min(state.x.stop, state.y.stop)) {
473
- arg["chr"] = state.x.chr;
474
- arg["start"] = Math.min(state.x.start, state.y.start);
475
- arg["stop"] = Math.max(state.x.stop, state.y.stop);
476
- } else {
477
- arg["chr"] = state.x.chr;
478
- arg["start"] = state.x.start;
479
- arg["stop"] = state.x.stop;
480
- arg["width"] = this.subPanelPxWidth;
481
- arg["subpanels"] = [
482
- {
483
- chr: state.y.chr,
484
- start: state.y.start,
485
- stop: state.y.stop,
486
- width: this.subPanelPxWidth,
487
- leftpad: 10,
488
- leftborder: this.borderColor
489
- }
490
- ];
491
- }
492
- return arg;
493
- }
494
- render() {
495
- const tracks = this.setRunPpTracks();
496
- const arg = this.setRunPpArgs(tracks);
497
- blocklazyload(arg);
498
- }
499
- // update() {
500
- // //Not required.
501
- // //If controls are added back. Implement changes here.
502
- // }
503
- };
504
-
505
- // tracks/hic/detail/DetailBlock.ts
506
- var DetailBlock = class {
507
- constructor(app, hic, blockwidth, bbmargin, holder, isYblock) {
508
- /** Defaults */
509
- this.leftheadw = 20;
510
- this.rightheadw = 40;
511
- this.lpad = 1;
512
- this.rpad = 1;
513
- this.firstRender = true;
514
- this.app = app;
515
- this.hic = hic;
516
- this.width = blockwidth;
517
- this.bbmargin = bbmargin;
518
- this.holder = holder;
519
- this.isYblock = isYblock;
520
- this.bbw = this.leftheadw + this.lpad + this.width + this.rpad + this.rightheadw + 2 * this.bbmargin;
521
- this.defaultLeft = this.bbmargin + this.leftheadw + this.lpad;
522
- this.defaultTop = this.bbmargin + this.rightheadw + this.rpad;
523
- }
524
- setArgs(chrObj) {
525
- const runPpArgs = {
526
- hostURL: this.hic.hostURL,
527
- genome: this.hic.genome,
528
- holder: this.holder,
529
- noresize: true,
530
- nobox: true,
531
- butrowbottom: true,
532
- style: {
533
- margin: `${this.bbmargin}px`
534
- },
535
- width: this.width,
536
- leftheadw: this.leftheadw,
537
- chr: chrObj.chr,
538
- start: chrObj.start,
539
- stop: chrObj.stop,
540
- rightheadw: this.rightheadw,
541
- tklst: [],
542
- rotated: this.isYblock,
543
- showreverse: this.isYblock
544
- };
545
- first_genetrack_tolist(this.hic.genome, runPpArgs.tklst);
546
- return runPpArgs;
547
- }
548
- setMethods(canvasHolder, canvas, sheath) {
549
- const runPpMethods = {
550
- onloadalltk_always: () => {
551
- this.onload(canvasHolder, canvas, sheath);
552
- },
553
- onpanning: (xoff) => this.onpanning(xoff, canvas)
554
- };
555
- if (this.isYblock) {
556
- runPpMethods["onsetheight"] = (bbh) => {
557
- this.holder.transition().style("left", `${bbh + this.bbmargin + 30}px`);
558
- };
559
- }
560
- return runPpMethods;
561
- }
562
- onload(canvasHolder, canvas, sheath) {
563
- this.bbw = this.block.leftheadw + this.block.lpad + this.block.width + this.block.rpad + this.block.rightheadw + 2 * this.bbmargin;
564
- if (this.isYblock) {
565
- sheath.transition().style("height", `${this.bbw}px`);
566
- canvasHolder.style("height", `${this.bbw}px`);
567
- } else canvasHolder.style("width", `${this.bbw}px`);
568
- if (this.isYblock) {
569
- this.defaultTop = this.bbmargin + this.block.rightheadw + this.block.rpad;
570
- canvas.style("top", `${this.defaultTop}px`);
571
- } else {
572
- this.defaultLeft = this.bbmargin + this.block.leftheadw + this.block.lpad;
573
- canvas.style("left", `${this.defaultLeft}px`);
574
- }
575
- const config = {
576
- [this.isYblock ? "y" : "x"]: {
577
- chr: this.block.rglst[0].chr,
578
- start: this.block.rglst[0].start,
579
- stop: this.block.rglst[0].stop
580
- }
581
- };
582
- if (this.firstRender == false) {
583
- this.app.dispatch({
584
- type: "view_update",
585
- config
586
- });
587
- } else {
588
- this.firstRender = false;
589
- }
590
- }
591
- onpanning(xoff, canvas) {
592
- if (!this.isYblock) canvas.style("left", `${xoff + this.defaultLeft}px`);
593
- else canvas.style("top", `${-xoff + this.defaultTop}px`);
594
- }
595
- async loadBlock(chrObj, canvasHolder, canvas, sheath) {
596
- const runPpArgs = this.setArgs(chrObj);
597
- const runPpMethods = this.isYblock ? this.setMethods(canvasHolder, canvas, sheath) : this.setMethods(canvasHolder, canvas);
598
- const args = Object.assign(runPpArgs, runPpMethods);
599
- await blocklazyload(args).then(async (block) => {
600
- this.block = block;
601
- });
602
- }
603
- };
604
-
605
- // tracks/hic/data/DetailDataFetcher.ts
606
- var DetailDataFetcher = class {
607
- constructor(errList) {
608
- this.obj = {
609
- rglst: []
610
- };
611
- this.errList = errList;
612
- }
613
- isFragData(hic, resolution) {
614
- if (resolution != null) return;
615
- if (!hic.enzyme) {
616
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
617
- return;
618
- }
619
- }
620
- formatFragArgs(enzymefile, chr) {
621
- const arg = {
622
- getdata: 1,
623
- getBED: 1,
624
- file: enzymefile,
625
- rglst: [chr]
626
- };
627
- return arg;
628
- }
629
- /**
630
- * @param arg Formated obj from either fn above
631
- * @param errList
632
- * @returns
633
- */
634
- async getBedData(arg) {
635
- try {
636
- return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(arg) });
637
- } catch (e) {
638
- this.errList.push(e.message || e);
639
- if (e.stack) console.error(e.stack);
640
- }
641
- }
642
- async getXFragData(hic, resolution, chrx) {
643
- this.isFragData(hic, resolution);
644
- if (!hic.enzymefile) return;
645
- const reqArgs = this.formatFragArgs(hic.enzymefile, chrx);
646
- return await this.getBedData(reqArgs);
647
- }
648
- async getYFragData(hic, chry) {
649
- const reqArgs = this.formatFragArgs(hic.enzymefile, chry);
650
- return await this.getBedData(reqArgs);
651
- }
652
- /**
653
- * Separate request from data fetch
654
- * Returns the additional fragment data
655
- * @param fragCoords
656
- */
657
- async fetchData(hic, detailView, resolution, x, y, fragCoords) {
658
- const fragStrawArgs = {
659
- matrixType: detailView.matrixType,
660
- file: hic.file,
661
- url: hic.url,
662
- pos1: this.determinePosition(hic, x, fragCoords?.x),
663
- pos2: this.determinePosition(hic, y, fragCoords?.y),
664
- nmeth: detailView.nmeth,
665
- resolution
666
- };
667
- if (fragCoords) fragStrawArgs["isfrag"] = true;
668
- try {
669
- const data = dofetch3("hicdata?", {
670
- method: "POST",
671
- body: JSON.stringify(fragStrawArgs)
672
- });
673
- if (data.error) {
674
- this.errList.push(data.error);
675
- }
676
- return data;
677
- } catch (e) {
678
- this.errList.push(e.message || e);
679
- if (e.stack) console.error(e.stack);
680
- }
681
- }
682
- determinePosition(hic, chr, fragCoord) {
683
- if (fragCoord) {
684
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${fragCoord.start}:${fragCoord.stop}`;
685
- } else {
686
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${chr.start}:${chr.stop}`;
687
- }
688
- }
689
- };
690
-
691
- // tracks/hic/data/ParseFragData.ts
692
- var ParseFragData = class {
693
- constructor(errLst, items) {
694
- this.id2coord = /* @__PURE__ */ new Map();
695
- this.min = null;
696
- this.max = null;
697
- this.items = [];
698
- this.errLst = errLst;
699
- for (const i of items) {
700
- if (!i.rest || !i.rest[0]) {
701
- this.errLst.push("items[].rest data problem");
702
- }
703
- const id = Number.parseInt(i.rest[0]);
704
- if (Number.isNaN(id)) {
705
- this.errLst.push(`${i.start}.${i.stop} invalid fragment id: ${i.rest[0]}`);
706
- }
707
- this.id2coord.set(id, [i.start, i.stop]);
708
- if (this.min == null) {
709
- this.min = id;
710
- this.max = id;
711
- } else {
712
- this.min = Math.min(this.min, id);
713
- this.max = Math.max(this.max, id);
714
- }
715
- }
716
- }
717
- };
718
-
719
- // tracks/hic/data/DetailDataMapper.ts
720
- var DetailDataMapper = class {
721
- constructor(hic, errList, parent) {
722
- this.frag = {
723
- x: {},
724
- y: {}
725
- };
726
- this.hic = hic;
727
- this.errList = errList;
728
- this.dataFetcher = new DetailDataFetcher(errList);
729
- this.parent = parent;
730
- }
731
- async getFragData(chrx, chry) {
732
- try {
733
- const xFragData = await this.dataFetcher.getXFragData(this.hic, this.parent("calcResolution"), chrx);
734
- if (xFragData) {
735
- if (!xFragData.items) {
736
- this.errList.push(`No fragment data returned for ${chrx.chr}:${chrx.start}-${chrx.stop}`);
737
- return;
738
- }
739
- const xParse = new ParseFragData(this.errList, xFragData.items);
740
- if (this.errList.length) return;
741
- this.frag.x = {
742
- id2coord: xParse.id2coord,
743
- start: xParse.min,
744
- stop: xParse.max
745
- };
746
- const yFragData = await this.dataFetcher.getYFragData(this.hic, chry);
747
- if (this.errList.length) return;
748
- if (yFragData) {
749
- if (!yFragData.items) {
750
- this.errList.push(`No fragment data returned for ${chry.chr}:${chry.start}-${chry.stop}`);
751
- return;
752
- }
753
- const yParse = new ParseFragData(this.errList, yFragData.items);
754
- if (this.errList.length) return;
755
- this.frag.y = {
756
- id2coord: /* @__PURE__ */ new Map(),
757
- start: yParse.min,
758
- stop: yParse.max
759
- };
760
- this.determineMap(yParse.id2coord, chrx, chry);
761
- }
762
- }
763
- } catch (e) {
764
- this.errList.push(e.message || e);
765
- if (e.stack) console.error(e.stack);
766
- }
767
- }
768
- determineMap(map, chrx, chry) {
769
- if (chrx.chr == chry.chr) {
770
- for (const [id, pos] of map) {
771
- this.frag.x["id2coord"].set(id, pos);
772
- }
773
- this.frag.y["id2coord"] = this.frag.x["id2coord"];
774
- } else {
775
- this.frag.y["id2coord"] = map;
776
- }
777
- }
778
- async getData(chrx, chry, fragCoords) {
779
- return await this.dataFetcher.fetchData(
780
- this.hic,
781
- this.parent("state")["detail"],
782
- this.parent("calcResolution"),
783
- chrx,
784
- chry,
785
- fragCoords
786
- );
787
- }
788
- };
789
-
790
- // tracks/hic/data/DetailCoodinates.ts
791
- var DetailCoordinates = class {
792
- constructor(hic, errlist) {
793
- this.hic = hic;
794
- this.errlist = errlist;
795
- }
796
- getCoordinates(chrx, chry, data, resolution, widthHeightPx, fragData) {
797
- const isFirstX = new FirstChrX(this.hic.chrorder, chrx.chr, chry.chr).isFirstX();
798
- const isintrachr = chrx.chr == chry.chr;
799
- const xpxbp = widthHeightPx / (chrx.stop - chrx.start);
800
- const ypxbp = widthHeightPx / (chry.stop - chry.start);
801
- const list = this.calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData);
802
- return list;
803
- }
804
- calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData) {
805
- const list = [];
806
- for (const [xCoord, yCoord, value] of data.items) {
807
- let coord1, coord2, span1, span2;
808
- if (fragData) {
809
- const idx_start = isFirstX ? xCoord : yCoord;
810
- const idy_start = isFirstX ? yCoord : xCoord;
811
- if (fragData.x.id2coord.has(idx_start)) {
812
- const [a, b] = fragData.x.id2coord.get(idx_start);
813
- coord1 = a;
814
- span1 = b - a;
815
- } else {
816
- this.errlist.push(`[x id error] x: ${idx_start} y: ${idy_start}`);
817
- continue;
818
- }
819
- {
820
- const id_stop = idx_start + resolution;
821
- if (fragData.x.id2coord.has(id_stop)) {
822
- const ab = fragData.x.id2coord.get(id_stop);
823
- span1 = ab[1] - coord1;
824
- }
825
- }
826
- if (fragData.y.id2coord.has(idy_start)) {
827
- const [a, b] = fragData.y.id2coord.get(idy_start);
828
- coord2 = a;
829
- span2 = b - a;
830
- } else {
831
- this.errlist.push(`[y id error] x: ${idx_start} y: ${idy_start}`);
832
- continue;
833
- }
834
- {
835
- const id_stop = idy_start + resolution;
836
- if (fragData.y.id2coord.has(id_stop)) {
837
- const ab = fragData.y.id2coord.get(id_stop);
838
- span2 = ab[1] - coord2;
839
- }
840
- }
841
- } else {
842
- coord1 = isFirstX ? xCoord : yCoord;
843
- coord2 = isFirstX ? yCoord : xCoord;
844
- span1 = resolution;
845
- span2 = resolution;
846
- }
847
- if (isintrachr) {
848
- if (coord1 > chrx.start - span1 && coord1 < chrx.stop && coord2 > chry.start - span2 && coord2 < chry.stop) {
849
- list.push([
850
- Math.floor((coord1 - chrx.start) * xpxbp),
851
- Math.floor((coord2 - chry.start) * ypxbp),
852
- Math.ceil(span1 * xpxbp),
853
- Math.ceil(span2 * ypxbp),
854
- value
855
- ]);
856
- }
857
- if (coord2 > chrx.start - span2 && coord2 < chrx.stop && coord1 > chry.start && coord1 < chry.stop) {
858
- list.push([
859
- Math.floor((coord2 - chrx.start) * xpxbp),
860
- Math.floor((coord1 - chry.start) * ypxbp),
861
- Math.ceil(span2 * xpxbp),
862
- Math.ceil(span1 * ypxbp),
863
- value
864
- ]);
865
- }
866
- continue;
867
- }
868
- list.push([
869
- Math.floor((coord1 - chrx.start) * xpxbp),
870
- Math.floor((coord2 - chry.start) * ypxbp),
871
- Math.ceil(span1 * xpxbp),
872
- Math.ceil(span2 * ypxbp),
873
- value
874
- ]);
875
- }
876
- return list;
877
- }
878
- };
879
-
880
- // tracks/hic/detail/DetailView.ts
881
- var DetailView = class {
882
- constructor(opts) {
883
- this.calcResolution = null;
884
- /** Defaults **/
885
- this.binpx = 2;
886
- this.bbmargin = 1;
887
- this.app = opts.app;
888
- this.hic = opts.hic;
889
- this.plotDiv = opts.plotDiv;
890
- this.sheath = opts.plotDiv.yAxis.append("div").style("position", "relative").style("width", "200px").style("height", "800px");
891
- this.rotor = this.sheath.append("div").style("position", "absolute").style("bottom", "0px").style("transform", "rotate(-90deg)").style("transform-origin", "left bottom");
892
- this.data = opts.data;
893
- this.parent = opts.parent;
894
- this.errList = this.parent("errList");
895
- this.resolution = new Resolution(opts.error);
896
- this.colorizeElement = new ColorizeElement();
897
- this.viewRangeBpW = this.resolution.getDefaultViewSpan(
898
- this.hic,
899
- this.parent("state").x,
900
- this.parent("state").y,
901
- this.parent("state").initialBinNum,
902
- this.parent("state").minBinNum_bp
903
- );
904
- this.dataMapper = new DetailDataMapper(this.hic, opts.error, opts.parent);
905
- this.coordinates = new DetailCoordinates(this.hic, this.errList);
906
- }
907
- renderCanvas(blockwidth) {
908
- this.canvasHolder = this.plotDiv.plot.append("div").style("position", "relative").style("width", `${this.xBlock.bbw}px`).style("height", `${this.yBlock.bbw}px`).style("overflow", "hidden");
909
- this.canvas = this.canvasHolder.append("canvas").style("display", "block").style("position", "absolute").attr("data-testid", "sjpp-hic-detail-canvas").attr("width", blockwidth).attr("height", blockwidth).on("mousedown", (event) => {
910
- const body = select_default(document.body);
911
- const x = event.clientX;
912
- const y = event.clientY;
913
- const oldx = Number.parseInt(this.canvas.style("left"));
914
- const oldy = Number.parseInt(this.canvas.style("top"));
915
- body.on("mousemove", (event2) => {
916
- const xoff = event2.clientX - x;
917
- const yoff = event2.clientY - y;
918
- this.xBlock.block.panning(xoff);
919
- this.yBlock.block.panning(yoff);
920
- this.canvas.style("left", `${oldx + xoff}px`).style("top", `${oldy + yoff}px`);
921
- });
922
- body.on("mouseup", (event2) => {
923
- body.on("mousemove", null).on("mouseup", null);
924
- const xoff = event2.clientX - x;
925
- const yoff = event2.clientY - y;
926
- this.xBlock.block.pannedby(xoff);
927
- this.yBlock.block.pannedby(yoff);
928
- });
929
- });
930
- }
931
- async render() {
932
- this.calcResolution = this.parent("calcResolution");
933
- const state = this.parent("state");
934
- this.xBlock = new DetailBlock(
935
- this.app,
936
- this.hic,
937
- state.settings.widthHeightPx,
938
- this.bbmargin,
939
- this.plotDiv.xAxis,
940
- false
941
- );
942
- this.yBlock = new DetailBlock(this.app, this.hic, state.settings.widthHeightPx, this.bbmargin, this.rotor, true);
943
- this.renderCanvas(state.settings.widthHeightPx);
944
- await this.xBlock.loadBlock(state.x, this.canvasHolder, this.canvas);
945
- await this.yBlock.loadBlock(state.y, this.canvasHolder, this.canvas, this.sheath);
946
- this.update(this.data);
947
- }
948
- async update(data) {
949
- if (data.items.length == 0) {
950
- this.app.dispatch({ type: "loading_active", active: false });
951
- return;
952
- }
953
- this.data = data;
954
- const state = this.parent("state");
955
- const initialWidth = Number.parseInt(this.canvas.attr("width"));
956
- const holderChange = Number.parseInt(this.canvasHolder.style("width")) - initialWidth + state.settings.widthHeightPx;
957
- this.canvasHolder.style("width", `${holderChange}px`).style("height", `${holderChange}px`);
958
- this.canvas.attr("width", `${state.settings.widthHeightPx}px`).attr("height", `${state.settings.widthHeightPx}px`);
959
- if (this.xBlock.block.width != state.settings.widthHeightPx) {
960
- this.xBlock.block.width = state.settings.widthHeightPx;
961
- this.yBlock.block.width = state.settings.widthHeightPx;
962
- this.xBlock.block.zoom2px(0, initialWidth);
963
- this.yBlock.block.zoom2px(0, initialWidth);
964
- }
965
- this.ctx = this.canvas.node().getContext("2d");
966
- const coords = this.coordinates.getCoordinates(
967
- state.x,
968
- state.y,
969
- this.parent("data"),
970
- this.parent("calcResolution"),
971
- state.settings.widthHeightPx,
972
- this.parent("fragData")
973
- );
974
- this.coords = coords;
975
- this.ctx.clearRect(0, 0, state.settings.widthHeightPx, state.settings.widthHeightPx);
976
- for (const [xCoord, yCoord, width, height, value] of this.coords) {
977
- this.colorizeElement.colorizeElement(
978
- xCoord,
979
- yCoord,
980
- value,
981
- this.ctx,
982
- width,
983
- height,
984
- this.parent("min"),
985
- this.parent("max"),
986
- "detail"
987
- );
988
- }
989
- this.app.dispatch({ type: "loading_active", active: false });
990
- }
991
- };
992
-
993
- // tracks/hic/axes/Chromosome.ts
994
- var Chromosome = class {
995
- constructor(chr, width) {
996
- this.label = chr;
997
- this.width = width;
998
- }
999
- };
1000
-
1001
- // tracks/hic/grid/Grid.ts
1002
- var Grid = class _Grid {
1003
- constructor(chrlst, resolution, chrlookup, binpx) {
1004
- this.chromosomeMatrix = /* @__PURE__ */ new Map();
1005
- this.chromosomeList = [];
1006
- this.xoff = 0;
1007
- this.yoff = 0;
1008
- this.chr2px = [];
1009
- this.chrlst = chrlst;
1010
- let totalpx = this.chrlst.length;
1011
- for (const chr of this.chrlst) {
1012
- const w = Math.ceil(chrlookup[chr.toUpperCase()].len / resolution) * binpx;
1013
- const chromosome = new Chromosome(chr, w);
1014
- this.chromosomeList.push(chromosome);
1015
- this.chr2px[chr] = w;
1016
- totalpx += w;
1017
- }
1018
- this.totalpx = totalpx;
1019
- for (let i = 0; i < this.chrlst.length; i++) {
1020
- const chrx = this.chrlst[i];
1021
- this.chromosomeMatrix.set(chrx, /* @__PURE__ */ new Map());
1022
- let yoff = 0;
1023
- for (let j = 0; j <= i; j++) {
1024
- const chry = this.chrlst[j];
1025
- const chrxChrLen = chrlookup[chrx.toUpperCase()].len;
1026
- const chryChrLen = chrlookup[chry.toUpperCase()].len;
1027
- const xbins = Math.ceil(chrxChrLen / resolution) * binpx;
1028
- const ybins = Math.ceil(chryChrLen / resolution) * binpx;
1029
- this.chromosomeMatrix.get(chrx).set(chry, {
1030
- x: this.xoff,
1031
- y: yoff,
1032
- xbins,
1033
- ybins,
1034
- data: []
1035
- //Empty array of data to fill later
1036
- });
1037
- yoff += this.chr2px[chry] + _Grid.borderWidth;
1038
- }
1039
- this.yoff = yoff;
1040
- this.xoff += this.chr2px[chrx] + _Grid.borderWidth;
1041
- }
1042
- }
1043
- static {
1044
- this.checkerFill = "#DEF3FA";
1045
- }
1046
- static {
1047
- this.spaceColor = "#CCC";
1048
- }
1049
- static {
1050
- this.fontSize = 15;
1051
- }
1052
- static {
1053
- this.font = font;
1054
- }
1055
- static {
1056
- this.borderWidth = 1;
1057
- }
1058
- static {
1059
- this.defaultChrLabWidth = 100;
1060
- }
1061
- };
1062
-
1063
- // tracks/hic/viewmodel/GridViewModel.ts
1064
- var GridViewModel = class {
1065
- constructor(opts) {
1066
- this.grid = new Grid(opts.hic.chrlst, opts.resolution || opts.hic.bpresolution[0], opts.hic.genome.chrlookup, 1);
1067
- }
1068
- };
1069
-
1070
- // tracks/hic/grid/GridRenderer.ts
1071
- var GridRenderer = class {
1072
- constructor(svg, layerMap, layerSv, grid) {
1073
- this.svg = svg;
1074
- this.layerMap = layerMap.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1075
- this.layerSv = layerSv.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1076
- this.grid = grid;
1077
- }
1078
- render() {
1079
- this.renderAxisX(this.grid);
1080
- this.renderAxisY(this.grid);
1081
- this.svg.attr("width", Grid.defaultChrLabWidth + this.grid.xoff).attr("height", Grid.fontSize + this.grid.yoff);
1082
- }
1083
- renderAxisX(grid) {
1084
- let xoff = 0;
1085
- this.grid.chromosomeList.forEach((chr, index) => {
1086
- const chrw = chr.width;
1087
- if (index % 2 === 0) {
1088
- this.layerMap.append("rect").attr("x", xoff).attr("width", chrw).attr("height", Grid.fontSize).attr("y", -Grid.fontSize).attr("fill", Grid.checkerFill);
1089
- }
1090
- this.layerMap.append("text").attr("data-testid", `sjpp-hic-chr-xAxis-label`).attr("font-family", Grid.font).attr("text-anchor", "middle").attr("font-size", 12).attr("x", xoff + chrw / 2).text(chr.label);
1091
- xoff += chrw;
1092
- this.layerSv.append("line").attr("x1", xoff).attr("x2", xoff).attr("y2", grid.totalpx).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1093
- xoff += Grid.borderWidth;
1094
- });
1095
- }
1096
- renderAxisY(grid) {
1097
- let yoff = 0;
1098
- this.grid.chromosomeList.forEach((chr, index) => {
1099
- const chrh = chr.width;
1100
- if (index % 2 === 0) {
1101
- this.layerMap.append("rect").attr("x", -Grid.defaultChrLabWidth).attr("width", Grid.defaultChrLabWidth).attr("height", chrh).attr("y", yoff).attr("fill", Grid.checkerFill);
1102
- }
1103
- this.layerMap.append("text").attr("data-testid", `sjpp-hic-chr-yAxis-label`).attr("font-family", Grid.font).attr("text-anchor", "end").attr("dominant-baseline", "central").attr("font-size", 12).attr("y", yoff + chrh / 2).text(chr.label);
1104
- yoff += chrh;
1105
- this.layerSv.append("line").attr("x2", grid.totalpx).attr("y1", yoff).attr("y2", yoff).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1106
- yoff += Grid.borderWidth;
1107
- });
1108
- }
1109
- };
1110
-
1111
- // tracks/hic/genome/ChrsTooltips.ts
1112
- var ChrsTooltips = class {
1113
- constructor() {
1114
- this.chrx_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1115
- this.chry_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1116
- }
1117
- render(img, chrx, chry) {
1118
- const p = img.node().getBoundingClientRect();
1119
- this.chrx_tip.clear().show(p.left, p.top).d.style("top", null).attr("data-testid", "sjpp-hic-chrx-tooltip").style("bottom", window.innerHeight - p.top - window.pageYOffset + "px").text(chrx);
1120
- this.chry_tip.clear().show(p.left, p.top).d.style("left", null).attr("data-testid", "sjpp-hic-chry-tooltip").style("right", document.body.clientWidth - p.left - window.pageXOffset + "px").text(chry);
1121
- }
1122
- };
1123
-
1124
- // tracks/hic/grid/GridElementRenderer.ts
1125
- var GridElementRenderer = class {
1126
- constructor(layerMap, app) {
1127
- this.app = app;
1128
- this.layerMap = layerMap;
1129
- this.tooltips = new ChrsTooltips();
1130
- }
1131
- render(obj, lead, follow, holder) {
1132
- obj.canvas = holder.append("canvas").style("display", "none").node();
1133
- obj.ctx = obj.canvas.getContext("2d");
1134
- obj.canvas.width = obj.xbins;
1135
- obj.canvas.height = obj.ybins;
1136
- obj.img = this.layerMap.append("image").attr("width", obj.canvas.width).attr("height", obj.canvas.height).attr("x", obj.x).attr("y", obj.y).on("click", async () => {
1137
- await this.app.dispatch({
1138
- type: "view_create",
1139
- view: "chrpair",
1140
- config: {
1141
- x: {
1142
- chr: lead
1143
- },
1144
- y: {
1145
- chr: follow
1146
- }
1147
- }
1148
- });
1149
- }).on("mouseover", () => {
1150
- this.tooltips.render(obj.img, lead, follow);
1151
- });
1152
- if (lead != follow) {
1153
- obj.canvas2 = holder.append("canvas").style("display", "none").node();
1154
- obj.canvas2.width = obj.ybins;
1155
- obj.canvas2.height = obj.xbins;
1156
- obj.ctx2 = obj.canvas2.getContext("2d");
1157
- obj.img2 = this.layerMap.append("image").attr("width", obj.canvas2.width).attr("height", obj.canvas2.height).attr("x", obj.y).attr("y", obj.x).on("click", async () => {
1158
- await this.app.dispatch({
1159
- type: "view_create",
1160
- view: "chrpair",
1161
- config: {
1162
- x: {
1163
- chr: follow
1164
- },
1165
- y: {
1166
- chr: lead
1167
- }
1168
- }
1169
- });
1170
- }).on("mouseover", () => {
1171
- this.tooltips.render(obj.img2, follow, lead);
1172
- });
1173
- } else {
1174
- obj.ctx2 = obj.ctx;
1175
- }
1176
- }
1177
- };
1178
-
1179
- // tracks/hic/grid/GridElementsRenderer.ts
1180
- var GridElementsRenderer = class {
1181
- constructor(grid, layerMap, app) {
1182
- this.grid = grid;
1183
- this.gridElementRenderer = new GridElementRenderer(layerMap, app);
1184
- }
1185
- render(holder) {
1186
- for (const [chrx, chryMap] of this.grid.chromosomeMatrix) {
1187
- for (const [chry, gridElem] of chryMap) {
1188
- this.gridElementRenderer.render(gridElem, chrx, chry, holder);
1189
- }
1190
- }
1191
- }
1192
- };
1193
-
1194
- // tracks/hic/genome/GenomeView.ts
1195
- var GenomeView = class {
1196
- constructor(opts) {
1197
- /** Dom */
1198
- this.tip = new Menu();
1199
- this.pica_x = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1200
- this.pica_y = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1201
- /** Data */
1202
- /** px width for each chr */
1203
- this.chr2px = {};
1204
- this.lead2follow = /* @__PURE__ */ new Map();
1205
- this.values = [];
1206
- /** Defaults */
1207
- this.defaultChrLabWidth = 100;
1208
- this.borderwidth = 1;
1209
- this.default_maxVPerc = 5;
1210
- this.fontsize = 15;
1211
- this.xoff = 0;
1212
- this.yoff = 0;
1213
- this.binpx = 1;
1214
- this.atdev_chrnum = 8;
1215
- this.min = 0;
1216
- this.max = 0;
1217
- this.app = opts.app;
1218
- this.hic = opts.hic;
1219
- this.plotDiv = opts.plotDiv;
1220
- this.data = opts.data;
1221
- this.parent = opts.parent;
1222
- this.resolution = opts.resolution || opts.hic.bpresolution[0];
1223
- this.svg = this.plotDiv.plot.append("svg").attr("data-testid", "sjpp-hic-genome-svg");
1224
- this.layer_map = this.svg.append("g").attr("data-testid", "sjpp-hic-layerMap-g");
1225
- this.layer_sv = this.svg.append("g").attr("data-testid", "sjpp-hic-layerSv-g");
1226
- this.colorizeElement = new ColorizeElement();
1227
- this.viewModel = new GridViewModel(opts);
1228
- this.viewRender = new GridRenderer(this.svg, this.layer_map, this.layer_sv, this.viewModel.grid);
1229
- this.gridElementsRenderer = new GridElementsRenderer(this.viewModel.grid, this.layer_map, this.app);
1230
- this.gridFormattedData = new GridElementsFormattedData();
1231
- }
1232
- makeSv() {
1233
- const unknownchr = /* @__PURE__ */ new Set();
1234
- const radius = 8;
1235
- for (const item of this.hic.sv.items) {
1236
- const _o = this.lead2follow.get(item.chr1);
1237
- if (!_o) {
1238
- unknownchr.add(item.chr1);
1239
- continue;
1240
- }
1241
- const obj = _o.get(item.chr2);
1242
- if (!obj) {
1243
- unknownchr.add(item.chr2);
1244
- continue;
1245
- }
1246
- const p1 = item.position1 / this.resolution;
1247
- const p2 = item.position2 / this.resolution;
1248
- this.layer_sv.append("circle").attr("data-testid", "sjpp-hic-genome-view-sv-circle").attr("stroke", "black").attr("fill", "white").attr("fill-opacity", 0).attr("cx", obj.x + p1).attr("cy", obj.y + p2).attr("r", radius).on("mouseover", (event) => {
1249
- this.tooltipSv(event, item);
1250
- }).on("mouseout", () => {
1251
- this.tip.hide();
1252
- }).on("click", () => {
1253
- this.clickSv(item);
1254
- });
1255
- if (obj.img2) {
1256
- this.layer_sv.append("circle").attr("data-testid", "sjpp-hic-genome-view-sv-circle-2").attr("stroke", "black").attr("fill", "white").attr("fill-opacity", 0).attr("cy", obj.x + p1).attr("cx", obj.y + p2).attr("r", radius).on("mouseover", (event) => {
1257
- this.tooltipSv(event, item);
1258
- }).on("mouseout", () => {
1259
- this.tip.hide();
1260
- }).on("click", () => {
1261
- this.clickSv(item);
1262
- });
1263
- }
1264
- }
1265
- }
1266
- tooltipSv(event, item) {
1267
- this.tip.clear().show(event.clientX, event.clientY).d.append("div").text(
1268
- item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`
1269
- );
1270
- }
1271
- clickSv(item) {
1272
- const default_svpointspan = 5e5;
1273
- const default_subpanelpxwidth = 600;
1274
- const subpanel_bordercolor = "rgba(200,0,0,.1)";
1275
- const pane = newpane({ x: 100, y: 100 });
1276
- pane.header.text(
1277
- this.hic.name + " " + (item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`)
1278
- );
1279
- const tracks = [
1280
- {
1281
- type: tkt.hicstraw,
1282
- file: this.hic.file,
1283
- enzyme: this.hic.enzyme,
1284
- maxpercentage: this.default_maxVPerc,
1285
- pyramidup: 1,
1286
- name: this.hic.name
1287
- }
1288
- ];
1289
- if (this.hic.tklst) {
1290
- for (const t of this.hic.tklst) {
1291
- tracks.push(t);
1292
- }
1293
- }
1294
- first_genetrack_tolist(this.hic.genome, tracks);
1295
- const arg = {
1296
- holder: pane.body,
1297
- hostURL: this.hic.hostURL,
1298
- jwt: this.hic.jwt,
1299
- genome: this.hic.genome,
1300
- nobox: 1,
1301
- tklst: tracks
1302
- };
1303
- if (item.chr1 == item.chr2 && Math.abs(item.position2 - item.position1) < default_svpointspan * 2) {
1304
- arg.chr = item.chr1;
1305
- const w = Math.abs(item.position2 - item.position1);
1306
- arg.start = Math.max(1, Math.min(item.position1, item.position2) - w);
1307
- arg.stop = Math.min(
1308
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1309
- Math.max(item.position1, item.position2) + w
1310
- );
1311
- } else {
1312
- arg.chr = item.chr1;
1313
- arg.start = Math.max(1, item.position1 - default_svpointspan / 2);
1314
- arg.stop = Math.min(
1315
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1316
- item.position1 + default_svpointspan / 2
1317
- );
1318
- arg.width = default_subpanelpxwidth;
1319
- arg.subpanels = [
1320
- {
1321
- chr: item.chr2,
1322
- start: Math.max(1, item.position2 - default_svpointspan / 2),
1323
- stop: Math.min(
1324
- this.hic.genome.chrlookup[item.chr2.toUpperCase()].len,
1325
- item.position2 + default_svpointspan / 2
1326
- ),
1327
- width: default_subpanelpxwidth,
1328
- leftpad: 10,
1329
- leftborder: subpanel_bordercolor
1330
- }
1331
- ];
1332
- }
1333
- blocklazyload(arg);
1334
- }
1335
- render() {
1336
- this.viewRender.render();
1337
- this.gridElementsRenderer.render(this.hic.holder);
1338
- if (this.hic.sv && this.hic.sv.items) {
1339
- this.makeSv();
1340
- }
1341
- this.update(this.data);
1342
- }
1343
- update(data) {
1344
- this.data = data;
1345
- this.min = this.parent("min");
1346
- this.max = this.parent("max");
1347
- for (const data2 of this.data) {
1348
- if (!this.hic.chrlst.includes(data2.lead) || !this.hic.chrlst.includes(data2.follow)) continue;
1349
- const obj = this.viewModel.grid.chromosomeMatrix.get(data2.lead).get(data2.follow);
1350
- if (!obj) continue;
1351
- obj.ctx.clearRect(0, 0, obj.canvas.width, obj.canvas.height);
1352
- if (obj.canvas2) {
1353
- obj.ctx2.clearRect(0, 0, obj.canvas2.width, obj.canvas.height);
1354
- }
1355
- obj.data = this.gridFormattedData.formatData("genome", data2.items, this.binpx, this.resolution);
1356
- for (const [xPx, yPx, value] of obj.data) {
1357
- this.colorizeElement.colorizeElement(xPx, yPx, value, obj, this.binpx, this.binpx, this.min, this.max, "genome");
1358
- }
1359
- obj.img.attr("xlink:href", obj.canvas.toDataURL());
1360
- if (obj.canvas2) {
1361
- obj.img2.attr("xlink:href", obj.canvas2.toDataURL());
1362
- }
1363
- }
1364
- this.app.dispatch({ type: "loading_active", active: false });
1365
- }
1366
- };
1367
-
1368
- // tracks/hic/controls/NormalizationMethodControl.ts
1369
- var NormalizationMethodControl = class {
1370
- constructor(holder, normalization, defaultNmeth, callback) {
1371
- this.holder = holder;
1372
- this.normalization = normalization;
1373
- this.defaultNmeth = defaultNmeth;
1374
- this.callback = callback;
1375
- }
1376
- render() {
1377
- if (!this.normalization?.length) {
1378
- this.nmethSelect = this.holder.text(this.defaultNmeth);
1379
- } else {
1380
- this.nmethSelect = this.holder.attr("data-testid", "sjpp-hic-nmeth-select").style("margin-right", "10px").append("select").on("change", async () => {
1381
- const nmeth = this.nmethSelect.node().value;
1382
- this.callback(nmeth, "nmeth");
1383
- });
1384
- for (const n of this.normalization) {
1385
- this.nmethSelect.append("option").text(n);
1386
- }
1387
- }
1388
- }
1389
- update(option) {
1390
- const options = this.nmethSelect.node().options;
1391
- if (!options) return;
1392
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1393
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1394
- selectedNmeth.selected = true;
1395
- }
1396
- };
1397
-
1398
- // tracks/hic/controls/CutoffControl.ts
1399
- var CutoffControl = class {
1400
- constructor(holder, value, callback) {
1401
- this.holder = holder;
1402
- this.value = value;
1403
- this.callback = callback;
1404
- }
1405
- render(opts) {
1406
- const cutoffDiv = this.holder.attr("data-testid", "sjpp-hic-cutoff-control").style("margin-right", "10px").append("input").attr("type", "number").style("width", opts && "width" in opts ? opts.width : "80px").style("margin-left", "0px").attr("type", "number").property("value", this.value).on("keyup", async (event) => {
1407
- if (event.code != "Enter") return;
1408
- const v = event.target.value;
1409
- this.callback(v);
1410
- });
1411
- return cutoffDiv;
1412
- }
1413
- };
1414
-
1415
- // tracks/hic/controls/MatrixTypeControl.ts
1416
- var MatrixTypeControl = class {
1417
- constructor(holder, callback) {
1418
- this.values = [
1419
- { label: "Observed", value: "observed" },
1420
- { label: "Expected", value: "expected" },
1421
- { label: "Observed/Expected", value: "oe" },
1422
- { label: "Log(Observed/Expected)", value: "log(oe)" }
1423
- // TODO: add server side logic to support these options
1424
- // { label: 'Log(Observed + 1)', value: 'log(obs+1)'},
1425
- // { label: 'Observed Pearson', value: 'op'}
1426
- ];
1427
- this.holder = holder;
1428
- this.callback = callback;
1429
- }
1430
- render() {
1431
- this.matrixSelect = this.holder.attr("data-testid", "sjpp-hic-matrix-type-select").style("margin-right", "10px").append("select").on("change", async () => {
1432
- this.callback(this.matrixSelect.node().value, "matrixType");
1433
- });
1434
- for (const matrixType of this.values) {
1435
- this.matrixSelect.append("option").text(matrixType.label).attr("value", matrixType.value);
1436
- }
1437
- }
1438
- update(option) {
1439
- const options = this.matrixSelect.node().options;
1440
- if (!options) return;
1441
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1442
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1443
- selectedNmeth.selected = true;
1444
- }
1445
- };
1446
-
1447
- // tracks/hic/controls/ControlPanel.ts
1448
- var ControlPanel = class _ControlPanel {
1449
- constructor(opts) {
1450
- this.zoomBlockCallback = (bool) => {
1451
- const detailView = this.parent("detail");
1452
- detailView.xBlock.block.zoomblock(2, bool);
1453
- detailView.yBlock.block.zoomblock(2, bool);
1454
- };
1455
- this.minCallback = (v) => {
1456
- if (Number(v) > Number(this.parent("max"))) {
1457
- this.error("Min cutoff cannot be greater than max cutoff");
1458
- } else {
1459
- this.parent("min", Number(v));
1460
- this.reColorHeatmap();
1461
- this.parent("infoBar").update();
1462
- }
1463
- };
1464
- this.maxCallback = (v) => {
1465
- if (Number(v) < Number(this.parent("min"))) {
1466
- this.error(`Max cutoff cannot be less than min cutoff`);
1467
- } else if (Number(v) < 0) {
1468
- this.error(`Max cutoff cannot be less than 0`);
1469
- } else {
1470
- this.parent("max", Number(v));
1471
- this.reColorHeatmap();
1472
- this.parent("infoBar").update();
1473
- }
1474
- };
1475
- this.reColorHeatmap = () => {
1476
- if (this.parent("activeView") == "genome") {
1477
- const genomeView = this.parent("genome");
1478
- const chrMatrix = genomeView.viewRender.grid.chromosomeMatrix;
1479
- if (!chrMatrix) return;
1480
- for (const map of chrMatrix) {
1481
- const yMap = map[1];
1482
- for (const obj of yMap) {
1483
- const canvasObj = obj[1];
1484
- if (!canvasObj) continue;
1485
- for (const [leadpx, followpx, val] of canvasObj.data) {
1486
- this.colorizeElement.colorizeElement(
1487
- leadpx,
1488
- followpx,
1489
- val,
1490
- canvasObj,
1491
- 1,
1492
- 1,
1493
- this.parent("min"),
1494
- this.parent("max"),
1495
- "genome"
1496
- );
1497
- }
1498
- canvasObj.img.attr("xlink:href", canvasObj.canvas.toDataURL());
1499
- if (canvasObj.canvas2) {
1500
- canvasObj.img2.attr("xlink:href", canvasObj.canvas2.toDataURL());
1501
- }
1502
- }
1503
- }
1504
- } else if (this.parent("activeView") == "chrpair") {
1505
- const view = this.parent("chrpair");
1506
- for (const [xCoord, yCoord, val] of view.data) {
1507
- this.colorizeElement.colorizeElement(
1508
- xCoord,
1509
- yCoord,
1510
- val,
1511
- view.ctx,
1512
- view.binpx,
1513
- view.binpx,
1514
- this.parent("min"),
1515
- this.parent("max"),
1516
- "chrpair"
1517
- );
1518
- }
1519
- } else if (this.parent("activeView") == "detail") {
1520
- const view = this.parent("detail");
1521
- for (const [xCoord, yCoord, width, height, value] of view.coords) {
1522
- this.colorizeElement.colorizeElement(
1523
- xCoord,
1524
- yCoord,
1525
- value,
1526
- view.ctx,
1527
- width,
1528
- height,
1529
- this.parent("min"),
1530
- this.parent("max"),
1531
- "detail"
1532
- );
1533
- }
1534
- }
1535
- };
1536
- this.dropdownCallback = (v, prop) => {
1537
- const state = this.app.getState();
1538
- this.app.dispatch({
1539
- type: "view_update",
1540
- view: state.currView,
1541
- config: { [prop]: v }
1542
- });
1543
- };
1544
- this.type = _ControlPanel.type;
1545
- this.controls = {};
1546
- this.app = opts.app;
1547
- this.controlsDiv = opts.controlsDiv;
1548
- this.hic = opts.hic;
1549
- this.colorizeElement = new ColorizeElement();
1550
- this.parent = opts.parent;
1551
- this.error = opts.error;
1552
- }
1553
- static {
1554
- this.type = "controlPanel";
1555
- }
1556
- getState(appState) {
1557
- return appState;
1558
- }
1559
- addLabel(tr, text) {
1560
- return tr.append("td").style("color", "#858585").style("font-size", ".8em").style("vertical-align", text.toUpperCase() == "VIEW" ? "top" : "middle").text(text.toUpperCase());
1561
- }
1562
- init() {
1563
- const state = this.app.getState();
1564
- const menuWrapper = this.controlsDiv.attr("data-testid", "sjpp-hic-control-panel").style("background", "rgb(253, 250, 244)").style("vertical-align", "top").style("padding", "5px").style("border", "solid 0.5px #ccc");
1565
- let menuVisible = true;
1566
- this.controlsDiv.append("button").attr("data-testid", "sjpp-hic-burger-btn").style("display", "block").style("border", "none").style("font-size", "1.5em").style("background", "none").html("&#8801;").on("click", () => {
1567
- menuVisible = !menuVisible;
1568
- menu.style("display", menuVisible ? "block" : "none");
1569
- });
1570
- const menu = menuWrapper.append("div").attr("class", "sjpp-hic-menu").attr("data-testid", "sjpp-hic-menu").style("display", menuVisible ? "block" : "none");
1571
- const menuTable = menu.append("table").style("border-spacing", "3px");
1572
- this.controls.normalizationRow = menuTable.append("tr");
1573
- this.addLabel(this.controls.normalizationRow, "NORMALIZATION");
1574
- this.controls.nmeth = new NormalizationMethodControl(
1575
- this.controls.normalizationRow.append("td").attr("class", "sjpp-nmeth-select"),
1576
- this.hic.normalization,
1577
- state.defaultNmeth,
1578
- this.dropdownCallback
1579
- );
1580
- this.controls.nmeth.render();
1581
- this.controls.minCutoffRow = menuTable.append("tr");
1582
- this.controls.minCutoffLabel = this.addLabel(this.controls.minCutoffRow, "");
1583
- this.controls.inputBpMinV = new CutoffControl(
1584
- this.controls.minCutoffRow.append("td"),
1585
- this.parent("min"),
1586
- this.minCallback
1587
- ).render({ width: "120px" });
1588
- this.controls.maxCutoffRow = menuTable.append("tr");
1589
- this.controls.maxCutoffLabel = this.addLabel(this.controls.maxCutoffRow, "");
1590
- this.controls.inputBpMaxV = new CutoffControl(
1591
- this.controls.maxCutoffRow.append("td"),
1592
- this.parent("max"),
1593
- this.maxCallback
1594
- ).render({ width: "120px" });
1595
- this.controls.matrixTypeRow = menuTable.append("tr");
1596
- this.addLabel(this.controls.matrixTypeRow, "matrix type");
1597
- this.controls.matrixType = new MatrixTypeControl(this.controls.matrixTypeRow.append("td"), this.dropdownCallback);
1598
- this.controls.matrixType.render();
1599
- this.controls.widthRow = menuTable.append("tr");
1600
- this.addLabel(this.controls.widthRow, "WIDTH / height");
1601
- this.controls.width = this.controls.widthRow.append("td");
1602
- this.controls.width.attr("data-testid", "sjpp-hic-block-size-input").style("margin-right", "10px").append("input").attr("type", "number").style("width", "80px").style("margin-left", "0px").attr("type", "number").property("value", state.width).on("keyup", async (event) => {
1603
- if (event.code != "Enter") return;
1604
- const v = event.target.value;
1605
- this.app.dispatch({
1606
- type: "view_update",
1607
- config: {
1608
- settings: { widthHeightPx: Number.parseInt(v) }
1609
- }
1610
- });
1611
- });
1612
- const viewRow = menuTable.append("tr");
1613
- this.addLabel(viewRow, "VIEW");
1614
- const viewBtnDiv = viewRow.append("td");
1615
- this.controls.view = viewBtnDiv.append("span").attr("data-testid", "sjpp-hic-view-span").style("padding-right", "5px").style("display", "block");
1616
- this.controls.genomeViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-genome-view-btn").style("display", "none").style("padding", "2px").style("margin-top", "4px").html("&#8810; Genome").on("click", async () => {
1617
- await this.app.dispatch({
1618
- type: "view_create",
1619
- view: "genome",
1620
- config: {
1621
- x: {},
1622
- y: {}
1623
- }
1624
- });
1625
- });
1626
- this.controls.chrpairViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-chrpair-view-btn").style("display", "none").style("padding", "2px").style("margin", "4px 0px").on("click", async () => {
1627
- const currState = this.app.getState();
1628
- await this.app.dispatch({
1629
- type: "view_create",
1630
- view: "chrpair",
1631
- config: {
1632
- x: {
1633
- chr: currState.x.chr
1634
- },
1635
- y: {
1636
- chr: currState.y.chr
1637
- }
1638
- }
1639
- });
1640
- });
1641
- this.controls.horizontalViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-horizontal-view-btn").style("display", "none").style("padding", "2px").style("margin", "4px 0px").html("Horizontal View &#8811;").on("click", async () => {
1642
- await this.app.dispatch({
1643
- type: "view_create",
1644
- view: "horizontal"
1645
- });
1646
- });
1647
- this.controls.detailViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-detail-view-btn").style("display", "none").style("padding", "2px").style("margin", "4px 0px").html("&#8810; Detailed View").on("click", async () => {
1648
- await this.app.dispatch({
1649
- type: "view_create",
1650
- view: "detail"
1651
- });
1652
- });
1653
- this.controls.zoomDiv = menuTable.append("tr").attr("data-testid", "sjpp-hic-zoom-div").style("display", state.currView == "detail" ? "contents" : "none");
1654
- this.addLabel(this.controls.zoomDiv, "ZOOM");
1655
- const zoomDiv = this.controls.zoomDiv.append("td");
1656
- this.controls.zoomIn = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-in-btn").style("margin-right", "10px").text("In").on("click", () => {
1657
- this.zoomBlockCallback(false);
1658
- });
1659
- this.controls.zoomOut = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-out-btn").style("margin-right", "10px").text("Out").on("click", () => {
1660
- this.zoomBlockCallback(true);
1661
- });
1662
- }
1663
- showBtns() {
1664
- const state = this.app.getState();
1665
- this.controls.genomeViewBtn.style("display", state.currView === "genome" ? "none" : "inline-block");
1666
- if (state.currView === "detail") {
1667
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1668
- this.controls.horizontalViewBtn.style("display", "block");
1669
- this.controls.zoomDiv.style("display", "contents");
1670
- this.controls.detailViewBtn.style("display", "none");
1671
- } else if (state.currView === "horizontal") {
1672
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1673
- this.controls.detailViewBtn.style("display", "block");
1674
- this.controls.horizontalViewBtn.style("display", "none");
1675
- this.controls.zoomDiv.style("display", "none");
1676
- } else {
1677
- this.controls.chrpairViewBtn.style("display", "none");
1678
- this.controls.horizontalViewBtn.style("display", "none");
1679
- this.controls.detailViewBtn.style("display", "none");
1680
- this.controls.zoomDiv.style("display", "none");
1681
- this.controls.widthRow.style("display", "none");
1682
- }
1683
- }
1684
- showHideControls() {
1685
- const state = this.app.getState();
1686
- this.controls.normalizationRow.style("display", state.currView == "horizontal" ? "none" : "");
1687
- this.controls.minCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1688
- this.controls.maxCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1689
- this.controls.matrixTypeRow.style("display", state.currView == "horizontal" ? "none" : "");
1690
- this.controls.widthRow.style("display", state.currView == "detail" ? "contents" : "none");
1691
- }
1692
- main(appState) {
1693
- const state = this.app.getState(appState);
1694
- this.controls.nmeth.update(state[state.currView].nmeth);
1695
- this.controls.matrixType.update(state[state.currView].matrixType);
1696
- this.controls.zoomDiv.style("display", state.currView == "detail" ? "contents" : "none");
1697
- if (state.currView == "chrpair") {
1698
- this.controls.view.text(`${state.x.chr}-${state.y.chr} Pair`);
1699
- } else {
1700
- this.controls.view.text(state.currView.charAt(0).toUpperCase() + state.currView.slice(1));
1701
- }
1702
- const formatAbsMin = this.parent("absMin") < 1e-5 ? Number(this.parent("absMin")).toExponential(1) : Number(this.parent("absMin").toFixed(6));
1703
- const formatAbsMax = this.parent("absMax") < 1e-5 ? Number(this.parent("absMax")).toExponential(1) : Number(this.parent("absMax").toFixed(6));
1704
- this.controls.width.select("input").property("value", state.settings.widthHeightPx);
1705
- this.controls.inputBpMinV.property("value", this.parent("min"));
1706
- this.controls.inputBpMaxV.property("value", this.parent("max"));
1707
- this.controls.minCutoffLabel.html(`MIN CUTOFF <br>(>= ${formatAbsMin})`);
1708
- this.controls.maxCutoffLabel.html(`MAX CUTOFF <br>(<= ${formatAbsMax})`);
1709
- this.showBtns();
1710
- this.showHideControls();
1711
- }
1712
- };
1713
- var controlPanelInit = getCompInit(ControlPanel);
1714
-
1715
- // tracks/hic/dom/InfoBar.ts
1716
- var InfoBar = class {
1717
- constructor(opts) {
1718
- /** Defaults **/
1719
- //Color shown on the left of the color scale
1720
- this.startColor = "white";
1721
- //Color shown on the right of the color scale
1722
- this.endColor = "red";
1723
- this.addLabel = (text) => {
1724
- return this.labelRow.append("td").attr("data-testid", `sjpp-hic-infobar-${text.toLowerCase().replace(/\s/g, "-")}-label`).style("color", "#858585").style("font-size", ".8em").style("text-align", "center").style("vertical-align", "middle").text(text.toUpperCase());
1725
- };
1726
- this.addValue = (text) => {
1727
- return this.valueRow.append("td").attr("data-testid", `sjpp-hic-infobar-${text.toString().toLowerCase().replace(/\s/g, "-")}-value`).style("font-size", "1em").style("text-align", "center").style("vertical-align", "middle").text(text);
1728
- };
1729
- this.type = "infoBar";
1730
- this.app = opts.app;
1731
- this.hic = opts.hic;
1732
- const table = opts.infoBarDiv;
1733
- this.labelRow = table.append("tr");
1734
- this.valueRow = table.append("tr");
1735
- this.parent = opts.parent;
1736
- }
1737
- async render() {
1738
- this.addLabel("Version");
1739
- this.addValue(this.hic.version);
1740
- this.addLabel("Enzyme");
1741
- this.addValue(this.hic.enzyme || "N/A");
1742
- this.addLabel("Resolution");
1743
- this.resolutionDiv = this.addValue("");
1744
- this.colorScaleLabel = this.addLabel("Scale");
1745
- this.colorScaleDiv = this.valueRow.append("td").attr("data-testid", "sjpp-hic-color-scale");
1746
- const min = this.parent("min");
1747
- let max = this.parent("max");
1748
- if (min == max) max = max + 0.01;
1749
- this.colorScale = new ColorScale({
1750
- barheight: 20,
1751
- barwidth: 100,
1752
- domain: [min, max],
1753
- fontSize: 12,
1754
- height: 40,
1755
- width: 150,
1756
- holder: this.colorScaleDiv,
1757
- colors: [this.startColor, this.endColor],
1758
- position: "20,0",
1759
- ticks: 3,
1760
- tickSize: 5,
1761
- //Do not use min value here on initialization. It's 0 and will not update later.
1762
- markedValue: 1
1763
- });
1764
- }
1765
- update() {
1766
- const res = this.parent("calcResolution");
1767
- let resolutionText;
1768
- if (res < this.hic.bpresolution[this.hic.bpresolution.length - 1]) {
1769
- resolutionText = `${res} fragment${res > 1 ? "s" : ""}`;
1770
- } else {
1771
- resolutionText = bplen(res);
1772
- }
1773
- this.resolutionDiv.text(resolutionText);
1774
- if (this.parent("state").currView == "horizontal") {
1775
- this.colorScaleLabel.style("display", "none");
1776
- this.colorScaleDiv.style("display", "none");
1777
- } else {
1778
- this.colorScaleLabel.style("display", "");
1779
- this.colorScaleDiv.style("display", "");
1780
- const min = this.parent("min");
1781
- const max = this.parent("max");
1782
- if (min < 0) {
1783
- this.colorScale.colors = ["blue", "white", "red"];
1784
- this.colorScale.domain = [min, 0, max];
1785
- } else {
1786
- this.colorScale.colors = ["white", "red"];
1787
- this.colorScale.domain = [0, max];
1788
- }
1789
- this.colorScale.markedValue = min;
1790
- this.colorScale.updateScale();
1791
- }
1792
- }
1793
- };
1794
-
1795
- // tracks/hic/data/DataMapper.ts
1796
- var DataMapper = class {
1797
- constructor(hic, percentile) {
1798
- this.hic = hic;
1799
- this.percentile = percentile ? percentile / 100 : 0.99;
1800
- }
1801
- sortData(data) {
1802
- const vlst = [];
1803
- if (data?.items && data?.items.length) {
1804
- for (const i of data.items) {
1805
- vlst.push(i[2]);
1806
- }
1807
- } else {
1808
- const blankChrs = /* @__PURE__ */ new Set();
1809
- for (const d of data) {
1810
- if (d.lead == "chrM" && !d.items.length || d.lead == "chrY" && !d.items.length) {
1811
- blankChrs.add(d.lead);
1812
- continue;
1813
- }
1814
- for (const i of d.items) {
1815
- vlst.push(i[2]);
1816
- }
1817
- }
1818
- if (blankChrs.size) {
1819
- for (const c of blankChrs) {
1820
- const idx = this.hic.chrlst.indexOf(c);
1821
- this.hic.chrlst.splice(idx, 1);
1822
- }
1823
- }
1824
- }
1825
- const sortedVlst = vlst.sort((a, b) => a - b);
1826
- const max = sortedVlst[Math.floor(sortedVlst.length * this.percentile)];
1827
- const min = sortedVlst[0];
1828
- return [min, max, sortedVlst[sortedVlst.length - 1]];
1829
- }
1830
- };
1831
-
1832
- // tracks/hic/data/GenomeDataFetcher.ts
1833
- var GenomeDataFetcher = class {
1834
- constructor(hic, debugmode, errList = []) {
1835
- this.data = [];
1836
- this.hic = hic;
1837
- this.debugmode = debugmode;
1838
- this.errList = errList || [];
1839
- }
1840
- async getData(obj) {
1841
- if (this.data.length) this.data = [];
1842
- if (!obj?.matrixType) obj.matrixType = "observed";
1843
- try {
1844
- const res = await dofetch3("hicgenome?", {
1845
- method: "POST",
1846
- body: JSON.stringify({
1847
- chrlst: this.hic.chrlst,
1848
- nmeth: obj.nmeth,
1849
- resolution: obj.resolution,
1850
- matrixType: obj.matrixType,
1851
- file: this.hic.file,
1852
- url: this.hic.url,
1853
- nochr: this.hic.nochr
1854
- })
1855
- });
1856
- if (res.error) {
1857
- const errs = res.error.split("\n");
1858
- for (const e of errs) {
1859
- this.errList.push(e);
1860
- }
1861
- }
1862
- return res.data;
1863
- } catch (e) {
1864
- this.errList.push(e.message || e);
1865
- if (e.stack) console.error(e.stack);
1866
- }
1867
- }
1868
- };
1869
-
1870
- // tracks/hic/data/DataFetcher.ts
1871
- var DataFetcher = class {
1872
- constructor(hic, debugmode, errList = []) {
1873
- this.hic = hic;
1874
- this.debugmode = debugmode;
1875
- this.errList = errList || [];
1876
- }
1877
- async getData(obj) {
1878
- if (!obj?.matrixType) obj.matrixType = "observed";
1879
- const arg = {
1880
- matrixType: obj.matrixType,
1881
- file: this.hic.file,
1882
- url: this.hic.url,
1883
- pos1: this.hic.nochr ? obj.lead.replace("chr", "") : obj.lead,
1884
- pos2: this.hic.nochr ? obj.follow.replace("chr", "") : obj.follow,
1885
- nmeth: obj.nmeth,
1886
- resolution: obj.resolution
1887
- };
1888
- try {
1889
- const data = await dofetch3("hicdata?", {
1890
- method: "POST",
1891
- body: JSON.stringify(arg)
1892
- });
1893
- if (data.error) {
1894
- throw Error(`${obj.lead} - ${obj.follow}: ${data.error.error}`);
1895
- }
1896
- if (!data.items || data.items.length == 0) return;
1897
- return data;
1898
- } catch (e) {
1899
- this.errList.push(e.message || e);
1900
- if (e.stack) console.error(e.stack);
1901
- }
1902
- }
1903
- };
1904
-
1905
- // tracks/hic/HicComponent.ts
1906
- var HicComponent = class _HicComponent {
1907
- constructor(opts) {
1908
- this.genomeData = [];
1909
- this.calcResolution = null;
1910
- this.firstRender = true;
1911
- this.min = 0;
1912
- this.absMin = 0;
1913
- this.max = 0;
1914
- this.absMax = 0;
1915
- this.hasStatePreMain = true;
1916
- this.type = _HicComponent.type;
1917
- this.hic = opts.hic;
1918
- this.state = opts.state;
1919
- this.dom = opts.dom;
1920
- this.errList = opts.errList;
1921
- this.plotDiv = this.dom.plotDiv.append("table").classed("sjpp-hic-plot-main", true);
1922
- const tr1 = this.plotDiv.append("tr");
1923
- const tr2 = this.plotDiv.append("tr");
1924
- this.plotDiv = {
1925
- plot: tr1.append("td").classed("sjpp-hic-plot", true).attr("data-testid", "sjpp-hic-plot"),
1926
- yAxis: tr1.append("td").classed("sjpp-hic-plot-yaxis", true).attr("data-testid", "sjpp-hic-yaxis"),
1927
- xAxis: tr2.append("td").classed("sjpp-hic-plot-xaxis", true).attr("data-testid", "sjpp-hic-xaxis"),
1928
- blank: tr2.append("td")
1929
- };
1930
- this.app = opts.app;
1931
- this.dataMapper = new DataMapper(this.hic, opts.state.maxCutoffPercentile);
1932
- this.activeView = this.state.currView;
1933
- this.error = opts.error;
1934
- this.resolution = new Resolution(this.error);
1935
- this.parent = (prop) => {
1936
- return this[prop];
1937
- };
1938
- this.detailDataMapper = new DetailDataMapper(this.hic, this.errList, this.parent);
1939
- }
1940
- static {
1941
- this.type = "view";
1942
- }
1943
- getState(appState) {
1944
- return appState;
1945
- }
1946
- reactsTo(action) {
1947
- if (action.type.startsWith("view")) return true;
1948
- else return false;
1949
- }
1950
- initView() {
1951
- const opts = {
1952
- plotDiv: this.plotDiv,
1953
- hic: this.hic,
1954
- app: this.app,
1955
- parent: (prop) => {
1956
- return this[prop];
1957
- }
1958
- };
1959
- if (this.state.currView == "genome") {
1960
- opts["data"] = this.data;
1961
- this.genome = new GenomeView(opts);
1962
- this.genome.render();
1963
- } else if (this.state.currView === "chrpair") {
1964
- opts["items"] = this.data;
1965
- this.chrpair = new ChrPairView(opts);
1966
- this.chrpair.render();
1967
- } else if (this.state.currView === "detail") {
1968
- opts["data"] = this.data;
1969
- this.detail = new DetailView(opts);
1970
- this.detail.render();
1971
- } else if (this.state.currView === "horizontal") {
1972
- this.horizontal = new HorizontalView(opts);
1973
- this.horizontal.render();
1974
- } else {
1975
- throw Error(`Unknown view: ${this.state.currView}`);
1976
- }
1977
- }
1978
- async fetchData(obj) {
1979
- if (this.data?.length) this.data = [];
1980
- if (this.state.currView == "genome") {
1981
- if (this.activeView != "genome" && this.genomeData?.length) this.data = this.genomeData;
1982
- else {
1983
- const genomeFetcher = new GenomeDataFetcher(this.hic, true, this.errList);
1984
- this.genomeData = await genomeFetcher.getData(obj);
1985
- this.data = this.genomeData;
1986
- }
1987
- } else if (this.state.currView == "detail") {
1988
- this.data = await this.detailDataMapper.getData(this.state.x, this.state.y, this.fragData);
1989
- } else {
1990
- if (!this.state?.x?.chr || !this.state?.y?.chr) {
1991
- this.errList.push(`No positions provided for ${this.activeView} view.`);
1992
- return;
1993
- } else {
1994
- const chrx = this.state.x;
1995
- const chry = this.state.y;
1996
- obj["lead"] = `${chrx.start && chrx.stop ? `${chrx.chr}:${chrx.start}-${chrx.stop}` : chrx.chr}`;
1997
- obj["follow"] = `${chry.start && chry.stop ? `${chry.chr}:${chry.start}-${chry.stop}` : chry.chr}`;
1998
- }
1999
- const dataFetcher = new DataFetcher(this.hic, true, this.errList);
2000
- this.data = await dataFetcher.getData(obj);
2001
- }
2002
- }
2003
- async setResolution(appState) {
2004
- const state = this.app.getState(appState);
2005
- this.calcResolution = this.resolution.getResolution(state, this.hic);
2006
- if (state.currView == "detail" && this.calcResolution == null) {
2007
- await this.detailDataMapper.getFragData(state.x, state.y);
2008
- this.fragData = this.detailDataMapper.frag;
2009
- const maxFragSpan = Math.min(
2010
- this.fragData.x.stop - this.fragData.x.start,
2011
- this.fragData.y.stop - this.fragData.y.start
2012
- );
2013
- this.calcResolution = this.resolution.findResFromArray(
2014
- maxFragSpan,
2015
- state.minFragSpan,
2016
- this.hic.fragresolution,
2017
- true
2018
- );
2019
- } else {
2020
- this.fragData = null;
2021
- }
2022
- return this.calcResolution;
2023
- }
2024
- async setDataArgs(appState) {
2025
- const state = this.app.getState(appState);
2026
- const currView = state[state.currView];
2027
- const args = {
2028
- nmeth: currView.nmeth,
2029
- resolution: await this.setResolution(appState),
2030
- matrixType: currView.matrixType
2031
- };
2032
- if (state.currView == "chrpair") {
2033
- args["lead"] = state.x.chr;
2034
- args["follow"] = state.y.chr;
2035
- }
2036
- return args;
2037
- }
2038
- async getViewData(appState) {
2039
- const args = await this.setDataArgs(appState);
2040
- await this.fetchData(args);
2041
- if (this.data?.length > 0 || this.data?.items?.length > 0) {
2042
- const [min, max, absMax] = this.dataMapper.sortData(this.data);
2043
- this.min = this.absMin = min;
2044
- this.max = max;
2045
- this.absMax = absMax;
2046
- } else {
2047
- if (this.state.currView != "genome") {
2048
- const state = this.app.getState(appState);
2049
- const xPosMessage = state.x?.start ? `${state.x.chr}:${state.x.start}-${state.x.stop}` : state.x.chr;
2050
- const yPosMessage = state.y?.start ? `${state.y.chr}:${state.y.start}-${state.y.stop}` : state.y.chr;
2051
- this.errList.push(`No data returned for ${xPosMessage} and ${yPosMessage}`);
2052
- }
2053
- }
2054
- }
2055
- async init() {
2056
- this.components = {
2057
- controls: await controlPanelInit({
2058
- app: this.app,
2059
- controlsDiv: this.dom.controlsDiv,
2060
- hic: this.hic,
2061
- parent: (prop, value) => {
2062
- if (value) this[prop] = value;
2063
- return this[prop];
2064
- },
2065
- error: this.error.bind(this)
2066
- })
2067
- };
2068
- this.infoBar = new InfoBar({
2069
- app: this.app,
2070
- infoBarDiv: this.dom.infoBarDiv.append("table").style("border-spacing", "3px"),
2071
- hic: this.hic,
2072
- parent: (prop) => {
2073
- return this[prop];
2074
- }
2075
- });
2076
- this.infoBar.render();
2077
- }
2078
- async main(appState) {
2079
- if (this.errList.length) {
2080
- this.app.dispatch({ type: "loading_active", active: false });
2081
- return;
2082
- }
2083
- const state = this.app.getState(appState);
2084
- if (this.firstRender == true) {
2085
- this.firstRender = false;
2086
- await this.getViewData(appState);
2087
- this.initView();
2088
- } else {
2089
- if (state.currView != "horizontal") {
2090
- this.app.dispatch({ type: "loading_active", active: true });
2091
- await this.getViewData(appState);
2092
- }
2093
- if (this.activeView != state.currView) {
2094
- if (this.activeView == "genome") {
2095
- this.genome.svg.remove();
2096
- } else {
2097
- this.plotDiv.xAxis.selectAll("*").remove();
2098
- this.plotDiv.yAxis.selectAll("*").remove();
2099
- this.plotDiv.plot.selectAll("*").remove();
2100
- }
2101
- this.activeView = state.currView;
2102
- this.initView();
2103
- } else {
2104
- this[state.currView].update(this.data);
2105
- }
2106
- }
2107
- this.infoBar.update();
2108
- if (this.errList.length) {
2109
- this.error(this.errList);
2110
- this.app.dispatch({ type: "loading_active", active: false });
2111
- }
2112
- }
2113
- };
2114
- var viewCompInit = getCompInit(HicComponent);
2115
-
2116
- // tracks/hic/HicApp.ts
2117
- var HicApp = class _HicApp extends AppBase {
2118
- constructor(opts) {
2119
- super(opts);
2120
- this.views = ["genome", "chrpair", "detail", "horizontal"];
2121
- this.errList = [];
2122
- /** Required for rx but not in use */
2123
- this.wasDestroyed = false;
2124
- this.type = _HicApp.type;
2125
- this.hic = {
2126
- enzyme: opts.enzyme,
2127
- file: opts.file,
2128
- url: opts.url,
2129
- genome: opts.genome,
2130
- holder: opts.holder,
2131
- hostUrl: opts.hostUrl,
2132
- jwt: opts.jwt,
2133
- position1: opts.position1,
2134
- position2: opts.position2,
2135
- maxCutoffPercentile: opts.maxCutoffPercentile,
2136
- name: "name" in opts ? opts.name : "Hi-C",
2137
- tklist: "tklst" in opts ? opts.tklst : [],
2138
- state: "state" in opts ? opts.state : {}
2139
- };
2140
- this.dom = {
2141
- errorDiv: opts.holder.append("div").classed("sjpp-hic-error", true),
2142
- controlsDiv: opts.holder.append("div").classed("sjpp-hic-controls", true).style("display", "inline-block"),
2143
- infoBarDiv: opts.holder.append("div").classed("sjpp-hic-infobar", true).style("display", "inline-block").style("vertical-align", "top").style("padding", "5px").style("border", "solid 0.5px #ccc"),
2144
- loadingDiv: select_default("body").append("div").attr("id", "sjpp-loading-overlay"),
2145
- plotDiv: opts.holder.append("div").classed("sjpp-hic-main", true).style("display", "inline-block"),
2146
- tip: new Menu()
2147
- };
2148
- }
2149
- static {
2150
- this.type = "app";
2151
- }
2152
- async error(err) {
2153
- if (err && typeof err == "string") this.errList.push(err);
2154
- showErrorsWithCounter(this.errList, this.dom.errorDiv);
2155
- this.errList = [];
2156
- }
2157
- determineView() {
2158
- if (!this.hic.position1 && !this.hic.position2 && !this.hic.state.currView) this.hic.state.currView = "genome";
2159
- if (!this.hic.position1 && this.hic.position2) this.errList.push("Missing first position");
2160
- if (this.hic.position1 && !this.hic.position2) this.errList.push("Missing second position");
2161
- if (this.hic.position1 && this.hic.position2) {
2162
- const pos1 = this.hic.position1.split(/[:-]/);
2163
- const pos2 = this.hic.position2.split(/[:-]/);
2164
- this.hic.state.x = { chr: pos1[0] };
2165
- this.hic.state.y = { chr: pos2[0] };
2166
- if (!Number.isNaN(+pos1[1]) && !Number.isNaN(+pos1[2])) {
2167
- this.hic.state.x.start = +pos1[1];
2168
- this.hic.state.x.stop = +pos1[2];
2169
- this.hic.state.y.start = +pos2[1];
2170
- this.hic.state.y.stop = +pos2[2];
2171
- this.hic.state.currView = "detail";
2172
- } else {
2173
- this.hic.state.currView = "chrpair";
2174
- }
2175
- } else {
2176
- if (!this.views.some((v) => v === this.hic.state.currView)) this.error(`Unknown view: ${this.hic.state.currView}`);
2177
- else return this.hic.state.currView;
2178
- }
2179
- }
2180
- getViewsConfig() {
2181
- if (this.hic.maxCutoffPercentile) this.hic.state.maxCutoffPercentile = this.hic.maxCutoffPercentile;
2182
- let nmeth;
2183
- if (this.hic["normalization"]?.length > 0) {
2184
- if (!this.hic["normalization"].includes("NONE")) this.hic["normalization"].unshift("NONE");
2185
- nmeth = this.hic["normalization"][0];
2186
- } else {
2187
- nmeth = "NONE";
2188
- }
2189
- if (this.hic.state.currView) {
2190
- if (!this.hic.state[this.hic.state.currView]) this.hic.state[this.hic.state.currView] = {};
2191
- if (!this.hic.state[this.hic.state.currView]?.matrixType) {
2192
- this.hic.state[this.hic.state.currView].matrixType = "observed";
2193
- }
2194
- if (!this.hic.state[this.hic.state.currView]?.nmeth) {
2195
- this.hic.state[this.hic.state.currView].nmeth = nmeth;
2196
- }
2197
- }
2198
- for (const v of this.views) {
2199
- if (!this.hic.state[v]) {
2200
- this.hic.state[v] = {
2201
- matrixType: "observed",
2202
- nmeth
2203
- };
2204
- }
2205
- }
2206
- }
2207
- async init() {
2208
- this.determineView();
2209
- try {
2210
- await hicParseFile(this.hic, true, this.errList);
2211
- this.getViewsConfig();
2212
- this.store = await hicStoreInit({ app: this.api, state: this.hic.state });
2213
- this.state = await this.store.copyState();
2214
- this.components = {
2215
- loadingOverlay: await loadingInit({
2216
- app: this.api,
2217
- loadingDiv: this.dom.loadingDiv
2218
- }),
2219
- view: await viewCompInit({
2220
- app: this.api,
2221
- state: this.state,
2222
- dom: this.dom,
2223
- hic: this.hic,
2224
- errList: this.errList,
2225
- error: this.error
2226
- })
2227
- };
2228
- await this.api.dispatch();
2229
- } catch (e) {
2230
- console.error(e.stack || e);
2231
- }
2232
- }
2233
- main() {
2234
- if (this.errList.length) {
2235
- this.error(this.errList);
2236
- this.dom.loadingDiv.style("display", "none");
2237
- return;
2238
- }
2239
- }
2240
- };
2241
- var hicInit = getAppInit(HicApp);
2242
- export {
2243
- hicInit
2244
- };
2245
- //# sourceMappingURL=HicApp-BTFHMXQE.js.map