@sjcrh/proteinpaint-client 2.191.4 → 2.193.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (963) hide show
  1. package/dist/2dmaf-US2ZAJJJ.js +1373 -0
  2. package/dist/AIProjectAdmin-QQO2PNAJ.js +958 -0
  3. package/dist/AIProjectAdmin-QQO2PNAJ.js.map +7 -0
  4. package/dist/AppHeader-UKB344GC.js +835 -0
  5. package/dist/BoxPlot-JEBLRKBY.js +1217 -0
  6. package/dist/BoxPlot-JEBLRKBY.js.map +7 -0
  7. package/dist/CorrelationVolcano-J3IFVSZB.js +619 -0
  8. package/dist/DE-PAPJP6AH.js +95 -0
  9. package/dist/DEinput-YON466QQ.js +301 -0
  10. package/dist/DifferentialAnalysis-DEUODXGG.js +245 -0
  11. package/dist/Disco-OZM4S7HF.js +3297 -0
  12. package/dist/Disco-OZM4S7HF.js.map +7 -0
  13. package/dist/Disco.UI-VIHYJGYU.js +249 -0
  14. package/dist/Disco.UI-VIHYJGYU.js.map +7 -0
  15. package/dist/DmrPlot-DSELMC4E.js +642 -0
  16. package/dist/GB-MUPI6RL5.js +1151 -0
  17. package/dist/GB-MUPI6RL5.js.map +7 -0
  18. package/dist/GeneExpInput-3AQEPTFZ.js +367 -0
  19. package/dist/GeneExpInput-3AQEPTFZ.js.map +7 -0
  20. package/dist/HicApp-BP7PSXY2.js +2250 -0
  21. package/dist/NumBinaryEditor-CHWQT445.js +271 -0
  22. package/dist/NumBinaryEditor.unit.spec-MXRNK7XH.js +286 -0
  23. package/dist/NumContEditor-XS3RA7GY.js +109 -0
  24. package/dist/NumContEditor.unit.spec-662MHSP4.js +169 -0
  25. package/dist/NumCustomBinEditor-LUVIAXMZ.js +38 -0
  26. package/dist/NumCustomBinEditor.unit.spec-3D3GY3F4.js +284 -0
  27. package/dist/NumDiscreteEditor-24W2A5IN.js +179 -0
  28. package/dist/NumDiscreteEditor.unit.spec-B5T42Z5S.js +202 -0
  29. package/dist/NumRegularBinEditor-AING4HZ5.js +38 -0
  30. package/dist/NumRegularBinEditor.unit.spec-UKSVZH2S.js +227 -0
  31. package/dist/NumSplineEditor-54KNKHJX.js +198 -0
  32. package/dist/NumSplineEditor.unit.spec-5FTST3Y5.js +199 -0
  33. package/dist/NumericDensity-C7DQZ5Q5.js +38 -0
  34. package/dist/NumericDensity.unit.spec-HV6SD3ZS.js +221 -0
  35. package/dist/NumericHandler-FV3L23EC.js +39 -0
  36. package/dist/NumericHandler.unit.spec-E72DXVBB.js +219 -0
  37. package/dist/ProteomeInput-3XTK74SN.js +396 -0
  38. package/dist/RunChart2-X5FBZVRX.js +758 -0
  39. package/dist/SC-WE5DG2CQ.js +1127 -0
  40. package/dist/SC-WE5DG2CQ.js.map +7 -0
  41. package/dist/Volcano-2USCTLKO.js +1379 -0
  42. package/dist/WSIViewer-U6VSJUFF.js +48562 -0
  43. package/dist/WSIViewer-U6VSJUFF.js.map +7 -0
  44. package/dist/WsiSamplesPlot-VIKSG63U.js +165 -0
  45. package/dist/adSandbox-VXUJGPD3.js +38 -0
  46. package/dist/animatedBubbleChart-4P7XLKSB.js +555 -0
  47. package/dist/animatedBubbleChart-4P7XLKSB.js.map +7 -0
  48. package/dist/app-KHZT2BVF.js +49 -0
  49. package/dist/app-XLYH3YPL.js +37 -0
  50. package/dist/app.js +20 -20
  51. package/dist/bam-C23ZARYE.js +860 -0
  52. package/dist/barchart-KGXLYEIP.js +47 -0
  53. package/dist/barchart.data-7OI5GZZ6.js +22 -0
  54. package/dist/barchart.events-3KDNIFBG.js +47 -0
  55. package/dist/barchart.integration.spec-OQYY54AQ.js +2010 -0
  56. package/dist/barchart.integration.spec-OQYY54AQ.js.map +7 -0
  57. package/dist/barchart2-AT5FXOUY.js +314 -0
  58. package/dist/barchart2-AT5FXOUY.js.map +7 -0
  59. package/dist/bars.renderer-57KSYAAT.js +12 -0
  60. package/dist/block-TCWYUB4R.js +6226 -0
  61. package/dist/block-TCWYUB4R.js.map +7 -0
  62. package/dist/block.init-7FHXQJNE.js +38 -0
  63. package/dist/block.mds.expressionrank-UGZQK7Z3.js +359 -0
  64. package/dist/block.mds.geneboxplot-2CQLB4YN.js +828 -0
  65. package/dist/block.mds.junction-JHPHWVOS.js +1545 -0
  66. package/dist/block.mds.svcnv-E7P2SVKK.js +6801 -0
  67. package/dist/block.svg-MVRR3C6V.js +164 -0
  68. package/dist/block.tk.aicheck-KX46G4TR.js +283 -0
  69. package/dist/block.tk.ase-WMXI47BF.js +365 -0
  70. package/dist/block.tk.bam-KFEGVEQQ.js +1906 -0
  71. package/dist/block.tk.bedgraphdot-P4DBCWFK.js +384 -0
  72. package/dist/block.tk.bigwig.ui-WJPH2Z7F.js +212 -0
  73. package/dist/block.tk.hicstraw-RSD6I2NX.js +823 -0
  74. package/dist/block.tk.junction-VZS2DEDO.js +2364 -0
  75. package/dist/block.tk.junction.textmatrixui-UCWGHZDI.js +199 -0
  76. package/dist/block.tk.ld-ERSIIBM2.js +99 -0
  77. package/dist/block.tk.menu-2ZNXE7CE.js +1029 -0
  78. package/dist/block.tk.pgv-EJLACCFR.js +944 -0
  79. package/dist/brainImaging-BMZJY6OT.js +423 -0
  80. package/dist/brainRegions-RZEBXPAS.js +221 -0
  81. package/dist/brainRegions-RZEBXPAS.js.map +7 -0
  82. package/dist/bubbleHeatmap-ERJFMLPK.js +383 -0
  83. package/dist/bubbleHeatmap-ERJFMLPK.js.map +7 -0
  84. package/dist/chunk-27FPMFP2.js +54 -0
  85. package/dist/chunk-3LYZMOLO.js +58 -0
  86. package/dist/chunk-455XZIIA.js +222 -0
  87. package/dist/chunk-474DTKP7.js +263 -0
  88. package/dist/chunk-4AP3O3JW.js +226 -0
  89. package/dist/chunk-4JWN7E7Q.js +117 -0
  90. package/dist/chunk-55MOHL3P.js +158 -0
  91. package/dist/chunk-5CR24RTX.js +381 -0
  92. package/dist/chunk-5QTJUPFS.js +26 -0
  93. package/dist/chunk-5TJQ6633.js +291 -0
  94. package/dist/chunk-5X5LI5YM.js +254 -0
  95. package/dist/chunk-634MOGE3.js +314 -0
  96. package/dist/chunk-634MOGE3.js.map +7 -0
  97. package/dist/chunk-6G4YOMWW.js +1825 -0
  98. package/dist/chunk-6SCBPP4C.js +95 -0
  99. package/dist/chunk-6YVEYTNH.js +4269 -0
  100. package/dist/chunk-6YVEYTNH.js.map +7 -0
  101. package/dist/chunk-73R5BVCY.js +5067 -0
  102. package/dist/chunk-73R5BVCY.js.map +7 -0
  103. package/dist/chunk-74XVBQF7.js +55 -0
  104. package/dist/chunk-7I3LST7R.js +272 -0
  105. package/dist/chunk-7KRS7L4U.js +1443 -0
  106. package/dist/chunk-7KRS7L4U.js.map +7 -0
  107. package/dist/chunk-ATUYZWHV.js +1289 -0
  108. package/dist/chunk-ATUYZWHV.js.map +7 -0
  109. package/dist/chunk-B6U3EDAF.js +448 -0
  110. package/dist/chunk-B6U3EDAF.js.map +7 -0
  111. package/dist/chunk-BKPDYW5T.js +177 -0
  112. package/dist/chunk-BO47H3VP.js +477 -0
  113. package/dist/chunk-BOO4W7WD.js +482 -0
  114. package/dist/chunk-C6YT5EM2.js +217 -0
  115. package/dist/chunk-CDUNE45Q.js +534 -0
  116. package/dist/chunk-CLN7ANNL.js +216 -0
  117. package/dist/chunk-CLNSNNQU.js +302 -0
  118. package/dist/chunk-COYULNJF.js +119 -0
  119. package/dist/chunk-DBFKUPM6.js +1275 -0
  120. package/dist/chunk-DNVSEW6P.js +170 -0
  121. package/dist/chunk-E6XLLQCG.js +299 -0
  122. package/dist/chunk-E6XLLQCG.js.map +7 -0
  123. package/dist/chunk-EC3SKPQT.js +446 -0
  124. package/dist/chunk-EDXQKDVQ.js +368 -0
  125. package/dist/chunk-EY253UB7.js +448 -0
  126. package/dist/chunk-EY253UB7.js.map +7 -0
  127. package/dist/chunk-FABY3ISP.js +176 -0
  128. package/dist/chunk-FABY3ISP.js.map +7 -0
  129. package/dist/chunk-FOPHIWFD.js +100 -0
  130. package/dist/chunk-FVX76DZS.js +203 -0
  131. package/dist/chunk-FXGE233W.js +2681 -0
  132. package/dist/chunk-GBXX3AHJ.js +343 -0
  133. package/dist/chunk-GVCQGWN7.js +34 -0
  134. package/dist/chunk-HXNUQOGN.js +234 -0
  135. package/dist/chunk-HXNUQOGN.js.map +7 -0
  136. package/dist/chunk-HXZSSHEB.js +37 -0
  137. package/dist/chunk-I73KUUYG.js +287 -0
  138. package/dist/chunk-IKDWQJZE.js +736 -0
  139. package/dist/chunk-IVXCWCKS.js +317 -0
  140. package/dist/chunk-IVXCWCKS.js.map +7 -0
  141. package/dist/chunk-JEZUPG4J.js +617 -0
  142. package/dist/chunk-JEZUPG4J.js.map +7 -0
  143. package/dist/chunk-JWHFMFF2.js +142 -0
  144. package/dist/chunk-K3OJJZCQ.js +230 -0
  145. package/dist/chunk-KM4JBR26.js +815 -0
  146. package/dist/chunk-KNOFEVOJ.js +54 -0
  147. package/dist/chunk-L7VDSIM7.js +20881 -0
  148. package/dist/chunk-L7VDSIM7.js.map +7 -0
  149. package/dist/chunk-LLX3NKB4.js +148 -0
  150. package/dist/chunk-LQJMCE7G.js +467 -0
  151. package/dist/chunk-LSWU6EAQ.js +31 -0
  152. package/dist/chunk-MNIBZTQE.js +146 -0
  153. package/dist/chunk-MQJVDIQK.js +2786 -0
  154. package/dist/chunk-N25ENPO3.js +14 -0
  155. package/dist/chunk-N3JT3KCV.js +399 -0
  156. package/dist/chunk-N6QEVQZV.js +194 -0
  157. package/dist/chunk-NJDW6ZQP.js +102 -0
  158. package/dist/chunk-NLQQIVTC.js +276 -0
  159. package/dist/chunk-NU2W6B7I.js +833 -0
  160. package/dist/chunk-NU2W6B7I.js.map +7 -0
  161. package/dist/chunk-OR43PGBV.js +98 -0
  162. package/dist/chunk-PWUERAAF.js +182 -0
  163. package/dist/chunk-PXCFA4ZQ.js +2327 -0
  164. package/dist/chunk-QSEGY3U5.js +129 -0
  165. package/dist/chunk-SC6IPDJR.js +6364 -0
  166. package/dist/chunk-SDMOLIEU.js +1205 -0
  167. package/dist/chunk-SDMOLIEU.js.map +7 -0
  168. package/dist/chunk-SOTB4FRE.js +2098 -0
  169. package/dist/chunk-SOTB4FRE.js.map +7 -0
  170. package/dist/chunk-T46LHXJW.js +283 -0
  171. package/dist/chunk-TJYRBEBK.js +2878 -0
  172. package/dist/chunk-UDL2DEBB.js +50 -0
  173. package/dist/chunk-UN3O2MNB.js +375 -0
  174. package/dist/chunk-UN3O2MNB.js.map +7 -0
  175. package/dist/chunk-UXDVUCXU.js +190 -0
  176. package/dist/chunk-UXDVUCXU.js.map +7 -0
  177. package/dist/chunk-VDIVDU3T.js +386 -0
  178. package/dist/chunk-VQZ2Z5YU.js +587 -0
  179. package/dist/chunk-VQZ2Z5YU.js.map +7 -0
  180. package/dist/chunk-VRLC7DAU.js +2833 -0
  181. package/dist/chunk-VRLC7DAU.js.map +7 -0
  182. package/dist/chunk-XQSQQSGB.js +1102 -0
  183. package/dist/chunk-XVXAQ3FI.js +1943 -0
  184. package/dist/chunk-Y45JIQ5Y.js +1219 -0
  185. package/dist/chunk-Y45JIQ5Y.js.map +7 -0
  186. package/dist/chunk-YQMENK5H.js +102 -0
  187. package/dist/chunk-ZUC4XNWU.js +514 -0
  188. package/dist/condition-ZPFBPMEZ.js +332 -0
  189. package/dist/controls-LIVMV2GV.js +41 -0
  190. package/dist/controls.config-2EOMBN5E.js +39 -0
  191. package/dist/correlation-D6GAPOP5.js +102 -0
  192. package/dist/correlation-D6GAPOP5.js.map +7 -0
  193. package/dist/cuminc-GPFDRNUP.js +1149 -0
  194. package/dist/cuminc.integration.spec-V4JYKLA6.js +678 -0
  195. package/dist/customdata.inputui-DSEUS3CT.js +289 -0
  196. package/dist/dataDownload-KT6K3M7Q.js +330 -0
  197. package/dist/dataDownload.integration.spec-VEX2RTSA.js +193 -0
  198. package/dist/databrowser.ui-VJKNMIXA.js +433 -0
  199. package/dist/dictionary-B27BMR5H.js +118 -0
  200. package/dist/dictionary-B27BMR5H.js.map +7 -0
  201. package/dist/dnaMethylation-BWQGUXVR.js +38 -0
  202. package/dist/dnaMethylation.integration.spec-YMGT2HYZ.js +203 -0
  203. package/dist/dofetch-BMSZZAAQ.js +51 -0
  204. package/dist/e2pca-KSY4DP53.js +350 -0
  205. package/dist/ep-4PAYGMWK.js +1256 -0
  206. package/dist/expclust.gdc.spec-XXFP2HHE.js +307 -0
  207. package/dist/facet-VCJQ7QPE.js +521 -0
  208. package/dist/forms2-IUD2SNOQ.js +539 -0
  209. package/dist/forms2-IUD2SNOQ.js.map +7 -0
  210. package/dist/gb-JDH242LG.js +88 -0
  211. package/dist/geneExpClustering-L23JB7XA.js +249 -0
  212. package/dist/geneExpression-P2ERCRXO.js +313 -0
  213. package/dist/geneExpression-QGPVFAN4.js +38 -0
  214. package/dist/geneExpression.unit.spec-6BQBM6VL.js +102 -0
  215. package/dist/geneORA-XIMJP665.js +278 -0
  216. package/dist/geneRanking-AJH5G22J.js +551 -0
  217. package/dist/geneVariant-AUUZ7S2B.js +41 -0
  218. package/dist/geneVariant-H6BGRRON.js +39 -0
  219. package/dist/geneVariant.integration.spec-FRCH6VI4.js +198 -0
  220. package/dist/genefusion.ui-AAJ37VFA.js +309 -0
  221. package/dist/geneset-5ARBBUYH.js +208 -0
  222. package/dist/genomeBrowser.spec-RV7YBSMZ.js +281 -0
  223. package/dist/grin2-4MYLICII.js +75 -0
  224. package/dist/grin2-4MYLICII.js.map +7 -0
  225. package/dist/grin2-RBK4NI6W.js +967 -0
  226. package/dist/grin2-RBK4NI6W.js.map +7 -0
  227. package/dist/gsea-XUMCVLFK.js +47 -0
  228. package/dist/hierCluster-HXOTNMC5.js +63 -0
  229. package/dist/hierCluster-PEDY7OTZ.js +59 -0
  230. package/dist/hierCluster.config-RKYCGNWW.js +40 -0
  231. package/dist/hierCluster.integration.spec-YKMAT7UU.js +395 -0
  232. package/dist/hierCluster.interactivity-LPTHVWHR.js +54 -0
  233. package/dist/hierCluster.renderers-4XWKHCNW.js +21 -0
  234. package/dist/imagePlot-3DF7ZH3U.js +163 -0
  235. package/dist/importPlot-N74SV3TL.js +8 -0
  236. package/dist/isoformExpression-FU7Y4OGU.js +40 -0
  237. package/dist/isoformExpression.unit.spec-BLQDKV37.js +208 -0
  238. package/dist/launch.adhoc-Y35FZV6H.js +42 -0
  239. package/dist/leftlabel.sample-ERJGAYTF.js +264 -0
  240. package/dist/leftlabel.sample-ERJGAYTF.js.map +7 -0
  241. package/dist/legacyDataset-TNIIJABK.js +119 -0
  242. package/dist/lollipop-DU37Q5E2.js +171 -0
  243. package/dist/maf-NRLSNDOT.js +452 -0
  244. package/dist/maftimeline-GRXGOOSJ.js +593 -0
  245. package/dist/matrix-G3BULZ7Y.js +58 -0
  246. package/dist/matrix-TCTX26A4.js +63 -0
  247. package/dist/matrix.cells-ED6RS5EC.js +28 -0
  248. package/dist/matrix.config-QHO2YNOT.js +41 -0
  249. package/dist/matrix.data-KQFMXWRX.js +25 -0
  250. package/dist/matrix.groups-RE74EFLY.js +27 -0
  251. package/dist/matrix.integration.spec-Y4FCZ2Q2.js +3072 -0
  252. package/dist/matrix.interactivity-3DW5WAM3.js +42 -0
  253. package/dist/matrix.layout-W57D765I.js +44 -0
  254. package/dist/matrix.legend-ZST44PIB.js +22 -0
  255. package/dist/matrix.renderers-NFRKXO7Y.js +38 -0
  256. package/dist/matrix.serieses-6ZKTFVWY.js +21 -0
  257. package/dist/matrix.sort-2UE47IOC.js +27 -0
  258. package/dist/matrix.sort.unit.spec-5CMWEXPE.js +472 -0
  259. package/dist/matrix.sorterUi-WC2YX7S7.js +18 -0
  260. package/dist/matrix.sorterUi.unit.spec-Y2HXWHJN.js +342 -0
  261. package/dist/mavb-BI4XKI5P.js +732 -0
  262. package/dist/mds.fimo-UJYESPNC.js +518 -0
  263. package/dist/mds.samplescatterplot-JKU5B4QR.js +1550 -0
  264. package/dist/mds.survivalplot-OP7Y4D3L.js +483 -0
  265. package/dist/numericDictTermCluster-DRIEJJSP.js +72 -0
  266. package/dist/oncomatrix-A3IE47HV.js +295 -0
  267. package/dist/oncomatrix.spec-TDWB2ROF.js +448 -0
  268. package/dist/plot.2dvaf-XY34TDSM.js +377 -0
  269. package/dist/plot.app-WRCBLYGO.js +41 -0
  270. package/dist/plot.barplot-RXGOUNHM.js +102 -0
  271. package/dist/plot.boxplot-GBZGSS3D.js +152 -0
  272. package/dist/plot.brainImaging-DYPKMNHL.js +51 -0
  273. package/dist/plot.disco-5K2SCKJ4.js +102 -0
  274. package/dist/plot.dzi-THJIFHIS.js +33 -0
  275. package/dist/plot.ssgq-FSIUIV3A.js +139 -0
  276. package/dist/plot.vaf2cov-HP6KEBVJ.js +259 -0
  277. package/dist/plot.wsi-MR6JMOXW.js +36 -0
  278. package/dist/polar2-IT3OF5DX.js +231 -0
  279. package/dist/polar2-IT3OF5DX.js.map +7 -0
  280. package/dist/profileForms-XXGJVF2T.js +446 -0
  281. package/dist/profileForms-XXGJVF2T.js.map +7 -0
  282. package/dist/profilePlot-J2C35OEY.js +54 -0
  283. package/dist/proteinView-7FDCILPH.js +1556 -0
  284. package/dist/proteinView-7FDCILPH.js.map +7 -0
  285. package/dist/qualitative-N7S2JHZM.js +43 -0
  286. package/dist/radar2-CDDOQGQX.js +326 -0
  287. package/dist/radar2-CDDOQGQX.js.map +7 -0
  288. package/dist/radarFacility2-ZQTHO2ON.js +334 -0
  289. package/dist/radarFacility2-ZQTHO2ON.js.map +7 -0
  290. package/dist/regression-PBGAMZAV.js +56 -0
  291. package/dist/regression.inputs-54E5YKI4.js +48 -0
  292. package/dist/regression.inputs.term-52MBTMVM.js +48 -0
  293. package/dist/regression.inputs.values.table-F3FOAYFV.js +45 -0
  294. package/dist/regression.integration.spec-M4RPJUE4.js +784 -0
  295. package/dist/regression.results-JOK6I2ZD.js +40 -0
  296. package/dist/regression.spec-O4HZB2HQ.js +708 -0
  297. package/dist/report-BDDTM7SV.js +222 -0
  298. package/dist/sampleScatter.spec-272GLYEK.js +202 -0
  299. package/dist/sampleView-E6OHEEP4.js +48 -0
  300. package/dist/samplelst-3LNF3DBG.js +111 -0
  301. package/dist/samplematrix-HL445X7I.js +2198 -0
  302. package/dist/sc-4LELHVIS.js +86 -0
  303. package/dist/scatter-IZIZURQD.js +851 -0
  304. package/dist/scatter-IZIZURQD.js.map +7 -0
  305. package/dist/scatter.integration.spec-BBEWMA7M.js +1206 -0
  306. package/dist/scatter.integration.spec-BBEWMA7M.js.map +7 -0
  307. package/dist/selectGenomeWithTklst-5LQGT4Z7.js +134 -0
  308. package/dist/singleCellCellType-T3ZT64EK.js +38 -0
  309. package/dist/singleCellCellType.unit.spec-AE4IAHOF.js +160 -0
  310. package/dist/singleCellGeneExpression-SRJXSDEB.js +38 -0
  311. package/dist/singleCellGeneExpression.unit.spec-EPL73UUO.js +153 -0
  312. package/dist/singleCellPlot-P2BHFTYZ.js +54 -0
  313. package/dist/singlecell-32SSD7VN.js +1572 -0
  314. package/dist/singlecell-7KRD5DP7.js +86 -0
  315. package/dist/snp-LE5R377N.js +38 -0
  316. package/dist/snp.unit.spec-UY6KQ5NJ.js +176 -0
  317. package/dist/snplocus-CP34ABUJ.js +208 -0
  318. package/dist/spliceevent.a53ss.diagram-JWLWQDNJ.js +151 -0
  319. package/dist/spliceevent.exonskip.diagram-C5526P7P.js +277 -0
  320. package/dist/spliceevent.noeventdiagram-352M63YB.js +460 -0
  321. package/dist/ssGSEA-BFTCECV3.js +38 -0
  322. package/dist/ssGSEA.unit.spec-4OUCKRDQ.js +88 -0
  323. package/dist/summarizeCnvGeneexp-Y3AWFIZA.js +163 -0
  324. package/dist/summarizeGeneexpSurvival-U5JSPG22.js +108 -0
  325. package/dist/summarizeMutationCnv-KCOVQEBC.js +164 -0
  326. package/dist/summarizeMutationDiagnosis-EQXEQABW.js +40 -0
  327. package/dist/summarizeMutationSurvival-4VGLG4SC.js +99 -0
  328. package/dist/summary-DXYCBNI4.js +49 -0
  329. package/dist/summary.integration.spec-MZTJISLP.js +414 -0
  330. package/dist/summaryInput-5Z3XVIL6.js +235 -0
  331. package/dist/sunburst-WVSQJYP2.js +284 -0
  332. package/dist/survival-3R3J2JBE.js +46 -0
  333. package/dist/survival-XQWFVGCJ.js +58 -0
  334. package/dist/survival.integration.spec-EBDPIBYM.js +821 -0
  335. package/dist/svgraph-SY2HVMYL.js +1387 -0
  336. package/dist/svmr-TIIMFKG7.js +3842 -0
  337. package/dist/table-5RFTXIQL.js +200 -0
  338. package/dist/termCollection-23QXTZDN.js +38 -0
  339. package/dist/termCollection-7KXABWVW.js +179 -0
  340. package/dist/termCollection.unit.spec-4AN2Z4PQ.js +208 -0
  341. package/dist/tk-WW6PJGPQ.js +46 -0
  342. package/dist/tp.ui-S5PO3MPH.js +1459 -0
  343. package/dist/tvs.dt-O7LUM5TK.js +39 -0
  344. package/dist/tvs.dtcnv.categorical-2OUFOD3W.js +40 -0
  345. package/dist/tvs.dtcnv.continuous-NOOUY5SZ.js +72 -0
  346. package/dist/tvs.dtfusion-KXQMP3UF.js +40 -0
  347. package/dist/tvs.dtsnvindel-PWHFTWZU.js +40 -0
  348. package/dist/tvs.dtsv-25FLS572.js +40 -0
  349. package/dist/tvs.numeric-KYAU5OV3.js +21 -0
  350. package/dist/tvs.samplelst-FLXNJFIV.js +104 -0
  351. package/dist/tvs.termCollection-PSVOMJE4.js +159 -0
  352. package/dist/violin-SWMEFWRA.js +46 -0
  353. package/dist/violin.integration.spec-6EQ6GC2N.js +1425 -0
  354. package/dist/violin.interactivity-WBIWPLSM.js +38 -0
  355. package/dist/violin.renderer-3WARZUOH.js +40 -0
  356. package/dist/vocabulary-WLHYHDX7.js +41 -0
  357. package/package.json +3 -3
  358. package/dist/2dmaf-Z3D2M3FB.js +0 -1373
  359. package/dist/AIProjectAdmin-2OQOQXH4.js +0 -956
  360. package/dist/AIProjectAdmin-2OQOQXH4.js.map +0 -7
  361. package/dist/AppHeader-PXLGVCVS.js +0 -835
  362. package/dist/BoxPlot-PUZKHACO.js +0 -1211
  363. package/dist/BoxPlot-PUZKHACO.js.map +0 -7
  364. package/dist/CorrelationVolcano-RO6CFLZA.js +0 -619
  365. package/dist/DE-CCA5SBJG.js +0 -95
  366. package/dist/DEinput-MRUQW6X6.js +0 -301
  367. package/dist/DifferentialAnalysis-5YQQLJKR.js +0 -245
  368. package/dist/Disco-4FTOJBLG.js +0 -3237
  369. package/dist/Disco-4FTOJBLG.js.map +0 -7
  370. package/dist/Disco.UI-IWVSK3RN.js +0 -245
  371. package/dist/Disco.UI-IWVSK3RN.js.map +0 -7
  372. package/dist/DmrPlot-FPJJHTM5.js +0 -642
  373. package/dist/GB-H6JETPRC.js +0 -1130
  374. package/dist/GB-H6JETPRC.js.map +0 -7
  375. package/dist/GeneExpInput-Q42COANS.js +0 -366
  376. package/dist/GeneExpInput-Q42COANS.js.map +0 -7
  377. package/dist/HicApp-BBD2YOMT.js +0 -2250
  378. package/dist/NumBinaryEditor-WMSF7HIO.js +0 -271
  379. package/dist/NumBinaryEditor.unit.spec-QQATLHF7.js +0 -286
  380. package/dist/NumContEditor-4CSTHVRX.js +0 -109
  381. package/dist/NumContEditor.unit.spec-2YF3OS3A.js +0 -169
  382. package/dist/NumCustomBinEditor-KFAYUWYV.js +0 -38
  383. package/dist/NumCustomBinEditor.unit.spec-YHAUSGPN.js +0 -284
  384. package/dist/NumDiscreteEditor-F46H5CME.js +0 -179
  385. package/dist/NumDiscreteEditor.unit.spec-5BIAWAVN.js +0 -202
  386. package/dist/NumRegularBinEditor-G7KOA7NR.js +0 -38
  387. package/dist/NumRegularBinEditor.unit.spec-Y6CBCWLN.js +0 -227
  388. package/dist/NumSplineEditor-JP2V2L4Y.js +0 -198
  389. package/dist/NumSplineEditor.unit.spec-N34QBZN3.js +0 -199
  390. package/dist/NumericDensity-JOPHLURB.js +0 -38
  391. package/dist/NumericDensity.unit.spec-N45PCLOT.js +0 -221
  392. package/dist/NumericHandler-SIM4E2Z5.js +0 -39
  393. package/dist/NumericHandler.unit.spec-NKLYDVTG.js +0 -219
  394. package/dist/ProteomeInput-5KMNE3PZ.js +0 -396
  395. package/dist/RunChart2-N7AZVQXJ.js +0 -758
  396. package/dist/SC-M6RGALZM.js +0 -936
  397. package/dist/SC-M6RGALZM.js.map +0 -7
  398. package/dist/Volcano-YH4RJTT5.js +0 -1379
  399. package/dist/WSIViewer-7LOVM3AU.js +0 -48508
  400. package/dist/WSIViewer-7LOVM3AU.js.map +0 -7
  401. package/dist/WsiSamplesPlot-QPPB7OOD.js +0 -165
  402. package/dist/adSandbox-R2QP74P7.js +0 -38
  403. package/dist/app-AIIN4WDE.js +0 -37
  404. package/dist/app-FJT5VXMF.js +0 -49
  405. package/dist/bam-QBO22VQB.js +0 -860
  406. package/dist/barchart-VDOP6FQU.js +0 -47
  407. package/dist/barchart.data-Z2E72EET.js +0 -22
  408. package/dist/barchart.events-NUYQBI5S.js +0 -47
  409. package/dist/barchart.integration.spec-COVZPXMH.js +0 -1980
  410. package/dist/barchart.integration.spec-COVZPXMH.js.map +0 -7
  411. package/dist/barchart2-KMSU4ROO.js +0 -311
  412. package/dist/barchart2-KMSU4ROO.js.map +0 -7
  413. package/dist/bars.renderer-JHCZDSM6.js +0 -12
  414. package/dist/block-TTN2IQAH.js +0 -6202
  415. package/dist/block-TTN2IQAH.js.map +0 -7
  416. package/dist/block.init-RRHHCNSR.js +0 -38
  417. package/dist/block.mds.expressionrank-7NWBRUII.js +0 -359
  418. package/dist/block.mds.geneboxplot-4BAJJWCC.js +0 -828
  419. package/dist/block.mds.junction-XRUIHAF5.js +0 -1545
  420. package/dist/block.mds.svcnv-YZ7PL733.js +0 -6801
  421. package/dist/block.svg-FUMP2J7A.js +0 -164
  422. package/dist/block.tk.aicheck-AIZEND45.js +0 -283
  423. package/dist/block.tk.ase-H26PKO5U.js +0 -365
  424. package/dist/block.tk.bam-XNZFHSDQ.js +0 -1906
  425. package/dist/block.tk.bedgraphdot-QTDBLBO2.js +0 -384
  426. package/dist/block.tk.bigwig.ui-OSRCPTQC.js +0 -212
  427. package/dist/block.tk.hicstraw-7GH6LVIH.js +0 -823
  428. package/dist/block.tk.junction-AJYML4AW.js +0 -2364
  429. package/dist/block.tk.junction.textmatrixui-4RIH3EZI.js +0 -199
  430. package/dist/block.tk.ld-AJYQ4C6T.js +0 -99
  431. package/dist/block.tk.menu-57OP5UW5.js +0 -1029
  432. package/dist/block.tk.pgv-XO7HP5MM.js +0 -944
  433. package/dist/brainImaging-65QDNR4D.js +0 -423
  434. package/dist/chunk-2XCUERHJ.js +0 -102
  435. package/dist/chunk-322QC6R4.js +0 -222
  436. package/dist/chunk-35SCELN4.js +0 -217
  437. package/dist/chunk-36EHIPV4.js +0 -514
  438. package/dist/chunk-3SZ6GKLB.js +0 -14
  439. package/dist/chunk-3ZLJDFJU.js +0 -368
  440. package/dist/chunk-4DXZGZOB.js +0 -54
  441. package/dist/chunk-4UWS5Y3N.js +0 -1438
  442. package/dist/chunk-4UWS5Y3N.js.map +0 -7
  443. package/dist/chunk-54EMVNPW.js +0 -102
  444. package/dist/chunk-57RBC6IZ.js +0 -302
  445. package/dist/chunk-5OUTR67M.js +0 -37
  446. package/dist/chunk-67DBIM6H.js +0 -293
  447. package/dist/chunk-67DBIM6H.js.map +0 -7
  448. package/dist/chunk-6A3IPDE2.js +0 -1943
  449. package/dist/chunk-6GN7X6LU.js +0 -2681
  450. package/dist/chunk-72X7LSBN.js +0 -54
  451. package/dist/chunk-74ZU4BT6.js +0 -2824
  452. package/dist/chunk-74ZU4BT6.js.map +0 -7
  453. package/dist/chunk-7EMWHCVW.js +0 -1825
  454. package/dist/chunk-7FACFCZK.js +0 -226
  455. package/dist/chunk-7XFGYYRV.js +0 -371
  456. package/dist/chunk-7XFGYYRV.js.map +0 -7
  457. package/dist/chunk-B6CSYKZJ.js +0 -1275
  458. package/dist/chunk-BDIKFVWZ.js +0 -443
  459. package/dist/chunk-BDIKFVWZ.js.map +0 -7
  460. package/dist/chunk-BWGU5NJS.js +0 -291
  461. package/dist/chunk-C5ZMAQXQ.js +0 -1173
  462. package/dist/chunk-C5ZMAQXQ.js.map +0 -7
  463. package/dist/chunk-CC3GFVV6.js +0 -117
  464. package/dist/chunk-CXQ6KS3Z.js +0 -1348
  465. package/dist/chunk-CXQ6KS3Z.js.map +0 -7
  466. package/dist/chunk-DCH54HC5.js +0 -824
  467. package/dist/chunk-DCH54HC5.js.map +0 -7
  468. package/dist/chunk-DD4R5P6W.js +0 -177
  469. package/dist/chunk-DKVUOBIE.js +0 -203
  470. package/dist/chunk-DR6H3QAA.js +0 -399
  471. package/dist/chunk-EH4NQ7C4.js +0 -170
  472. package/dist/chunk-EVN6KWPN.js +0 -50
  473. package/dist/chunk-FFEIP5CT.js +0 -458
  474. package/dist/chunk-FFEIP5CT.js.map +0 -7
  475. package/dist/chunk-FJP77STI.js +0 -158
  476. package/dist/chunk-FJP77STI.js.map +0 -7
  477. package/dist/chunk-G6O3URDN.js +0 -467
  478. package/dist/chunk-GNIK4JYM.js +0 -534
  479. package/dist/chunk-HKSNADSX.js +0 -477
  480. package/dist/chunk-I5RAQKKJ.js +0 -129
  481. package/dist/chunk-IW57W7EQ.js +0 -1210
  482. package/dist/chunk-IW57W7EQ.js.map +0 -7
  483. package/dist/chunk-J4SOF2ZH.js +0 -263
  484. package/dist/chunk-KPJZBCVI.js +0 -272
  485. package/dist/chunk-KSGA62R2.js +0 -2878
  486. package/dist/chunk-LTOBEUM2.js +0 -98
  487. package/dist/chunk-MYF2BWKC.js +0 -205
  488. package/dist/chunk-MYF2BWKC.js.map +0 -7
  489. package/dist/chunk-N2SKTCDK.js +0 -148
  490. package/dist/chunk-NGM3ZLIP.js +0 -230
  491. package/dist/chunk-NOEAT6CX.js +0 -317
  492. package/dist/chunk-NOEAT6CX.js.map +0 -7
  493. package/dist/chunk-NSXZPWRP.js +0 -482
  494. package/dist/chunk-O3JB4PIX.js +0 -31
  495. package/dist/chunk-OAWQ6LOO.js +0 -2063
  496. package/dist/chunk-OAWQ6LOO.js.map +0 -7
  497. package/dist/chunk-ODG6RD7P.js +0 -254
  498. package/dist/chunk-OEDZHPBJ.js +0 -58
  499. package/dist/chunk-ORL44TIK.js +0 -386
  500. package/dist/chunk-P3IENRWJ.js +0 -613
  501. package/dist/chunk-P3IENRWJ.js.map +0 -7
  502. package/dist/chunk-PCZNTK74.js +0 -26
  503. package/dist/chunk-QH6W3NVF.js +0 -287
  504. package/dist/chunk-QNETLNPB.js +0 -343
  505. package/dist/chunk-QQZ3SBF3.js +0 -216
  506. package/dist/chunk-R2MMURGK.js +0 -2786
  507. package/dist/chunk-SA7APTJR.js +0 -20792
  508. package/dist/chunk-SA7APTJR.js.map +0 -7
  509. package/dist/chunk-SHWLROJG.js +0 -283
  510. package/dist/chunk-SKREEF3H.js +0 -184
  511. package/dist/chunk-SKREEF3H.js.map +0 -7
  512. package/dist/chunk-TOU7EVFQ.js +0 -396
  513. package/dist/chunk-TOU7EVFQ.js.map +0 -7
  514. package/dist/chunk-UGVNZMLU.js +0 -4274
  515. package/dist/chunk-UGVNZMLU.js.map +0 -7
  516. package/dist/chunk-UI7OCM2A.js +0 -815
  517. package/dist/chunk-UJKW42DI.js +0 -6364
  518. package/dist/chunk-ULPMYS5B.js +0 -100
  519. package/dist/chunk-UOVALHAJ.js +0 -182
  520. package/dist/chunk-VGJSASRT.js +0 -446
  521. package/dist/chunk-VGYTAYFK.js +0 -276
  522. package/dist/chunk-VHOEJBFP.js +0 -736
  523. package/dist/chunk-VOUMS6IP.js +0 -1102
  524. package/dist/chunk-VV36JRUF.js +0 -381
  525. package/dist/chunk-W55XSG6K.js +0 -142
  526. package/dist/chunk-W6ME65LV.js +0 -34
  527. package/dist/chunk-WHI6466S.js +0 -146
  528. package/dist/chunk-WSDUD52Y.js +0 -55
  529. package/dist/chunk-XAVNZNXQ.js +0 -95
  530. package/dist/chunk-XMLURPEP.js +0 -194
  531. package/dist/chunk-YKXUK7HJ.js +0 -5041
  532. package/dist/chunk-YKXUK7HJ.js.map +0 -7
  533. package/dist/chunk-YZK37YCC.js +0 -119
  534. package/dist/chunk-ZTYNN6G5.js +0 -2327
  535. package/dist/chunk-ZXTHADSC.js +0 -158
  536. package/dist/condition-HDVYPJJD.js +0 -332
  537. package/dist/controls-YEEW46C6.js +0 -41
  538. package/dist/controls.config-C535H5DL.js +0 -39
  539. package/dist/correlation-AOSSSSL3.js +0 -99
  540. package/dist/correlation-AOSSSSL3.js.map +0 -7
  541. package/dist/cuminc-II7NFIFP.js +0 -1149
  542. package/dist/cuminc.integration.spec-B4N6OMBJ.js +0 -678
  543. package/dist/customdata.inputui-AI4ZBIEP.js +0 -289
  544. package/dist/dataDownload-ZQYLXN6D.js +0 -330
  545. package/dist/dataDownload.integration.spec-2PKYZ2AY.js +0 -193
  546. package/dist/databrowser.ui-WGD7D3XV.js +0 -433
  547. package/dist/dictionary-RYM4WP2W.js +0 -111
  548. package/dist/dictionary-RYM4WP2W.js.map +0 -7
  549. package/dist/dnaMethylation-WGJMJL5B.js +0 -38
  550. package/dist/dnaMethylation.integration.spec-DO3PV4MO.js +0 -203
  551. package/dist/dofetch-RADX3AFU.js +0 -51
  552. package/dist/e2pca-KOAAU2JX.js +0 -350
  553. package/dist/ep-CXCATXYH.js +0 -1256
  554. package/dist/expclust.gdc.spec-UJO2R3CW.js +0 -307
  555. package/dist/facet-2FBUAD7P.js +0 -521
  556. package/dist/forms2-ZBT5BZW3.js +0 -534
  557. package/dist/forms2-ZBT5BZW3.js.map +0 -7
  558. package/dist/gb-VCJFV63W.js +0 -88
  559. package/dist/geneExpClustering-FUNS6D2P.js +0 -249
  560. package/dist/geneExpression-2BWWGYL4.js +0 -38
  561. package/dist/geneExpression-2OPFWV2K.js +0 -313
  562. package/dist/geneExpression.unit.spec-G7BSHJQT.js +0 -102
  563. package/dist/geneORA-S3KQMBYL.js +0 -278
  564. package/dist/geneRanking-UZ36XAL7.js +0 -551
  565. package/dist/geneVariant-OOZ2SBXO.js +0 -41
  566. package/dist/geneVariant-ZHNVEKQ6.js +0 -39
  567. package/dist/geneVariant.integration.spec-2C7EWKEV.js +0 -198
  568. package/dist/genefusion.ui-ASICJNII.js +0 -309
  569. package/dist/geneset-SNM4M6UM.js +0 -208
  570. package/dist/genomeBrowser.spec-DJIRW2X7.js +0 -281
  571. package/dist/grin2-7AOJP5QJ.js +0 -1560
  572. package/dist/grin2-7AOJP5QJ.js.map +0 -7
  573. package/dist/grin2-RKJXYWJ5.js +0 -821
  574. package/dist/grin2-RKJXYWJ5.js.map +0 -7
  575. package/dist/gsea-SPTQJW67.js +0 -47
  576. package/dist/hierCluster-KDE5SMYP.js +0 -63
  577. package/dist/hierCluster-XG4YLVL3.js +0 -59
  578. package/dist/hierCluster.config-VNEEJCKJ.js +0 -40
  579. package/dist/hierCluster.integration.spec-SSDN7LSH.js +0 -395
  580. package/dist/hierCluster.interactivity-DKBSJ644.js +0 -54
  581. package/dist/hierCluster.renderers-OG6LZAT7.js +0 -21
  582. package/dist/imagePlot-M5JSHEY4.js +0 -163
  583. package/dist/importPlot-YH7ZY6RJ.js +0 -8
  584. package/dist/isoformExpression-EV27MKYZ.js +0 -40
  585. package/dist/isoformExpression.unit.spec-7T2GOHH3.js +0 -208
  586. package/dist/launch.adhoc-NOISOX5E.js +0 -42
  587. package/dist/leftlabel.sample-42AX4KTV.js +0 -260
  588. package/dist/leftlabel.sample-42AX4KTV.js.map +0 -7
  589. package/dist/legacyDataset-SWJCAWIR.js +0 -119
  590. package/dist/lollipop-LQCQBTSX.js +0 -171
  591. package/dist/maf-U237OWZ3.js +0 -452
  592. package/dist/maftimeline-NLZLMHT2.js +0 -593
  593. package/dist/matrix-DZJXYRYN.js +0 -63
  594. package/dist/matrix-Y5345QQG.js +0 -58
  595. package/dist/matrix.cells-PT7S74QP.js +0 -28
  596. package/dist/matrix.config-2ORCUWKX.js +0 -41
  597. package/dist/matrix.data-C6VPQJJ4.js +0 -25
  598. package/dist/matrix.groups-CEOCG2CT.js +0 -27
  599. package/dist/matrix.integration.spec-U4B3JB6N.js +0 -3072
  600. package/dist/matrix.interactivity-GFLIFIER.js +0 -42
  601. package/dist/matrix.layout-DOVDHTDX.js +0 -44
  602. package/dist/matrix.legend-JE4ZSLP7.js +0 -22
  603. package/dist/matrix.renderers-GPUJQ7KF.js +0 -38
  604. package/dist/matrix.serieses-REE4DCSR.js +0 -21
  605. package/dist/matrix.sort-VD5URUWY.js +0 -27
  606. package/dist/matrix.sort.unit.spec-4IOFVHJN.js +0 -472
  607. package/dist/matrix.sorterUi-VQYY6KBK.js +0 -18
  608. package/dist/matrix.sorterUi.unit.spec-V5O2EJBX.js +0 -342
  609. package/dist/mavb-SQDA3B2B.js +0 -732
  610. package/dist/mds.fimo-ZJSEPLD7.js +0 -518
  611. package/dist/mds.samplescatterplot-Y5V73GOY.js +0 -1550
  612. package/dist/mds.survivalplot-CZBRMHYN.js +0 -483
  613. package/dist/numericDictTermCluster-TFXBBUVI.js +0 -72
  614. package/dist/oncomatrix-ZILACPPI.js +0 -295
  615. package/dist/oncomatrix.spec-RLIVVVD6.js +0 -448
  616. package/dist/plot.2dvaf-BNRZPIKU.js +0 -377
  617. package/dist/plot.app-NRUARQCN.js +0 -41
  618. package/dist/plot.barplot-342AYQC7.js +0 -102
  619. package/dist/plot.boxplot-OHEJDPTW.js +0 -152
  620. package/dist/plot.brainImaging-KV72PAON.js +0 -51
  621. package/dist/plot.disco-OUE4RFHL.js +0 -102
  622. package/dist/plot.dzi-T3GPUH36.js +0 -33
  623. package/dist/plot.ssgq-WJHGMXW5.js +0 -139
  624. package/dist/plot.vaf2cov-NGD5PCV4.js +0 -259
  625. package/dist/plot.wsi-2MU5BDG3.js +0 -36
  626. package/dist/polar2-YCWPBPFU.js +0 -226
  627. package/dist/polar2-YCWPBPFU.js.map +0 -7
  628. package/dist/profileForms-OV3I6RK7.js +0 -441
  629. package/dist/profileForms-OV3I6RK7.js.map +0 -7
  630. package/dist/profilePlot-OMVO3K4H.js +0 -54
  631. package/dist/proteinView-OAR2RC6U.js +0 -1320
  632. package/dist/proteinView-OAR2RC6U.js.map +0 -7
  633. package/dist/qualitative-MEYBRUC6.js +0 -43
  634. package/dist/radar2-KREAMGVV.js +0 -321
  635. package/dist/radar2-KREAMGVV.js.map +0 -7
  636. package/dist/radarFacility2-DBPEV7VC.js +0 -329
  637. package/dist/radarFacility2-DBPEV7VC.js.map +0 -7
  638. package/dist/regression-ZPDPLI6G.js +0 -56
  639. package/dist/regression.inputs-QOSBAGL6.js +0 -48
  640. package/dist/regression.inputs.term-HMUMPY7X.js +0 -48
  641. package/dist/regression.inputs.values.table-VMCTZHLG.js +0 -45
  642. package/dist/regression.integration.spec-RP74JTAA.js +0 -784
  643. package/dist/regression.results-5XC6M67C.js +0 -40
  644. package/dist/regression.spec-EZYM24J7.js +0 -708
  645. package/dist/report-ZOVQCOGQ.js +0 -222
  646. package/dist/sampleScatter.spec-CD52FEOC.js +0 -202
  647. package/dist/sampleView-SVTLSWRG.js +0 -48
  648. package/dist/samplelst-HXF5POJD.js +0 -111
  649. package/dist/samplematrix-NYDAH74I.js +0 -2198
  650. package/dist/sc-JIDT4W4K.js +0 -86
  651. package/dist/scatter-WNRTPSEE.js +0 -849
  652. package/dist/scatter-WNRTPSEE.js.map +0 -7
  653. package/dist/scatter.integration.spec-3EYTPY5B.js +0 -1197
  654. package/dist/scatter.integration.spec-3EYTPY5B.js.map +0 -7
  655. package/dist/selectGenomeWithTklst-OSB7B6L3.js +0 -134
  656. package/dist/singleCellCellType-3BH7LWQ6.js +0 -38
  657. package/dist/singleCellCellType.unit.spec-RU4RJXFF.js +0 -160
  658. package/dist/singleCellGeneExpression-3UA4YER7.js +0 -38
  659. package/dist/singleCellGeneExpression.unit.spec-4ZTBG37H.js +0 -153
  660. package/dist/singleCellPlot-ZUAWK5RE.js +0 -54
  661. package/dist/singlecell-BGJZB7MF.js +0 -86
  662. package/dist/singlecell-RO3BL5OO.js +0 -1572
  663. package/dist/snp-HD7VQKBR.js +0 -38
  664. package/dist/snp.unit.spec-ISXCLMWW.js +0 -176
  665. package/dist/snplocus-IL5Z4XWV.js +0 -208
  666. package/dist/spliceevent.a53ss.diagram-LLJSPV7M.js +0 -151
  667. package/dist/spliceevent.exonskip.diagram-LAOIOIST.js +0 -277
  668. package/dist/spliceevent.noeventdiagram-MVA7Q3HT.js +0 -460
  669. package/dist/ssGSEA-7T6S3DSE.js +0 -38
  670. package/dist/ssGSEA.unit.spec-XJ3W4NWX.js +0 -88
  671. package/dist/summarizeCnvGeneexp-RRP6JUV6.js +0 -163
  672. package/dist/summarizeGeneexpSurvival-AFLHDD6Q.js +0 -108
  673. package/dist/summarizeMutationCnv-NABUYHMX.js +0 -164
  674. package/dist/summarizeMutationDiagnosis-2LQ7JU3K.js +0 -40
  675. package/dist/summarizeMutationSurvival-3WBT5TXG.js +0 -99
  676. package/dist/summary-FRDKOFXW.js +0 -49
  677. package/dist/summary.integration.spec-ZLRIA7G2.js +0 -414
  678. package/dist/summaryInput-4JO6MHP4.js +0 -235
  679. package/dist/sunburst-DRCVSC2X.js +0 -284
  680. package/dist/survival-AK75COPY.js +0 -58
  681. package/dist/survival-IF5NI3A6.js +0 -46
  682. package/dist/survival.integration.spec-7IWBTPJG.js +0 -821
  683. package/dist/svgraph-QBDF2SLB.js +0 -1387
  684. package/dist/svmr-O4GJJUT2.js +0 -3842
  685. package/dist/table-FQAIXKLE.js +0 -200
  686. package/dist/termCollection-GMDDL3L7.js +0 -179
  687. package/dist/termCollection-ZO5PZ7E3.js +0 -38
  688. package/dist/termCollection.unit.spec-5JBCTXHX.js +0 -208
  689. package/dist/tk-GJX23IV7.js +0 -46
  690. package/dist/tp.ui-T7FVMTGQ.js +0 -1459
  691. package/dist/tvs.dt-X7L7NSU6.js +0 -39
  692. package/dist/tvs.dtcnv.categorical-73G2V6CH.js +0 -40
  693. package/dist/tvs.dtcnv.continuous-DWFJL3X7.js +0 -72
  694. package/dist/tvs.dtfusion-HQADHCSV.js +0 -40
  695. package/dist/tvs.dtsnvindel-PY5OBMGW.js +0 -40
  696. package/dist/tvs.dtsv-OTBEEWSW.js +0 -40
  697. package/dist/tvs.numeric-WGDHEBJV.js +0 -21
  698. package/dist/tvs.samplelst-LCXSU5MG.js +0 -104
  699. package/dist/tvs.termCollection-L527XN4X.js +0 -159
  700. package/dist/violin-6VKRUQV3.js +0 -46
  701. package/dist/violin.integration.spec-RJATDLQH.js +0 -1425
  702. package/dist/violin.interactivity-SKF5H7MN.js +0 -38
  703. package/dist/violin.renderer-GB4TPX3B.js +0 -40
  704. package/dist/vocabulary-D3W44IWE.js +0 -41
  705. /package/dist/{2dmaf-Z3D2M3FB.js.map → 2dmaf-US2ZAJJJ.js.map} +0 -0
  706. /package/dist/{AppHeader-PXLGVCVS.js.map → AppHeader-UKB344GC.js.map} +0 -0
  707. /package/dist/{CorrelationVolcano-RO6CFLZA.js.map → CorrelationVolcano-J3IFVSZB.js.map} +0 -0
  708. /package/dist/{DE-CCA5SBJG.js.map → DE-PAPJP6AH.js.map} +0 -0
  709. /package/dist/{DEinput-MRUQW6X6.js.map → DEinput-YON466QQ.js.map} +0 -0
  710. /package/dist/{DifferentialAnalysis-5YQQLJKR.js.map → DifferentialAnalysis-DEUODXGG.js.map} +0 -0
  711. /package/dist/{DmrPlot-FPJJHTM5.js.map → DmrPlot-DSELMC4E.js.map} +0 -0
  712. /package/dist/{HicApp-BBD2YOMT.js.map → HicApp-BP7PSXY2.js.map} +0 -0
  713. /package/dist/{NumBinaryEditor-WMSF7HIO.js.map → NumBinaryEditor-CHWQT445.js.map} +0 -0
  714. /package/dist/{NumBinaryEditor.unit.spec-QQATLHF7.js.map → NumBinaryEditor.unit.spec-MXRNK7XH.js.map} +0 -0
  715. /package/dist/{NumContEditor-4CSTHVRX.js.map → NumContEditor-XS3RA7GY.js.map} +0 -0
  716. /package/dist/{NumContEditor.unit.spec-2YF3OS3A.js.map → NumContEditor.unit.spec-662MHSP4.js.map} +0 -0
  717. /package/dist/{NumCustomBinEditor-KFAYUWYV.js.map → NumCustomBinEditor-LUVIAXMZ.js.map} +0 -0
  718. /package/dist/{NumCustomBinEditor.unit.spec-YHAUSGPN.js.map → NumCustomBinEditor.unit.spec-3D3GY3F4.js.map} +0 -0
  719. /package/dist/{NumDiscreteEditor-F46H5CME.js.map → NumDiscreteEditor-24W2A5IN.js.map} +0 -0
  720. /package/dist/{NumDiscreteEditor.unit.spec-5BIAWAVN.js.map → NumDiscreteEditor.unit.spec-B5T42Z5S.js.map} +0 -0
  721. /package/dist/{NumRegularBinEditor-G7KOA7NR.js.map → NumRegularBinEditor-AING4HZ5.js.map} +0 -0
  722. /package/dist/{NumRegularBinEditor.unit.spec-Y6CBCWLN.js.map → NumRegularBinEditor.unit.spec-UKSVZH2S.js.map} +0 -0
  723. /package/dist/{NumSplineEditor-JP2V2L4Y.js.map → NumSplineEditor-54KNKHJX.js.map} +0 -0
  724. /package/dist/{NumSplineEditor.unit.spec-N34QBZN3.js.map → NumSplineEditor.unit.spec-5FTST3Y5.js.map} +0 -0
  725. /package/dist/{NumericDensity-JOPHLURB.js.map → NumericDensity-C7DQZ5Q5.js.map} +0 -0
  726. /package/dist/{NumericDensity.unit.spec-N45PCLOT.js.map → NumericDensity.unit.spec-HV6SD3ZS.js.map} +0 -0
  727. /package/dist/{NumericHandler-SIM4E2Z5.js.map → NumericHandler-FV3L23EC.js.map} +0 -0
  728. /package/dist/{NumericHandler.unit.spec-NKLYDVTG.js.map → NumericHandler.unit.spec-E72DXVBB.js.map} +0 -0
  729. /package/dist/{ProteomeInput-5KMNE3PZ.js.map → ProteomeInput-3XTK74SN.js.map} +0 -0
  730. /package/dist/{RunChart2-N7AZVQXJ.js.map → RunChart2-X5FBZVRX.js.map} +0 -0
  731. /package/dist/{Volcano-YH4RJTT5.js.map → Volcano-2USCTLKO.js.map} +0 -0
  732. /package/dist/{WsiSamplesPlot-QPPB7OOD.js.map → WsiSamplesPlot-VIKSG63U.js.map} +0 -0
  733. /package/dist/{adSandbox-R2QP74P7.js.map → adSandbox-VXUJGPD3.js.map} +0 -0
  734. /package/dist/{app-AIIN4WDE.js.map → app-KHZT2BVF.js.map} +0 -0
  735. /package/dist/{app-FJT5VXMF.js.map → app-XLYH3YPL.js.map} +0 -0
  736. /package/dist/{bam-QBO22VQB.js.map → bam-C23ZARYE.js.map} +0 -0
  737. /package/dist/{barchart-VDOP6FQU.js.map → barchart-KGXLYEIP.js.map} +0 -0
  738. /package/dist/{barchart.data-Z2E72EET.js.map → barchart.data-7OI5GZZ6.js.map} +0 -0
  739. /package/dist/{barchart.events-NUYQBI5S.js.map → barchart.events-3KDNIFBG.js.map} +0 -0
  740. /package/dist/{bars.renderer-JHCZDSM6.js.map → bars.renderer-57KSYAAT.js.map} +0 -0
  741. /package/dist/{block.init-RRHHCNSR.js.map → block.init-7FHXQJNE.js.map} +0 -0
  742. /package/dist/{block.mds.expressionrank-7NWBRUII.js.map → block.mds.expressionrank-UGZQK7Z3.js.map} +0 -0
  743. /package/dist/{block.mds.geneboxplot-4BAJJWCC.js.map → block.mds.geneboxplot-2CQLB4YN.js.map} +0 -0
  744. /package/dist/{block.mds.junction-XRUIHAF5.js.map → block.mds.junction-JHPHWVOS.js.map} +0 -0
  745. /package/dist/{block.mds.svcnv-YZ7PL733.js.map → block.mds.svcnv-E7P2SVKK.js.map} +0 -0
  746. /package/dist/{block.svg-FUMP2J7A.js.map → block.svg-MVRR3C6V.js.map} +0 -0
  747. /package/dist/{block.tk.aicheck-AIZEND45.js.map → block.tk.aicheck-KX46G4TR.js.map} +0 -0
  748. /package/dist/{block.tk.ase-H26PKO5U.js.map → block.tk.ase-WMXI47BF.js.map} +0 -0
  749. /package/dist/{block.tk.bam-XNZFHSDQ.js.map → block.tk.bam-KFEGVEQQ.js.map} +0 -0
  750. /package/dist/{block.tk.bedgraphdot-QTDBLBO2.js.map → block.tk.bedgraphdot-P4DBCWFK.js.map} +0 -0
  751. /package/dist/{block.tk.bigwig.ui-OSRCPTQC.js.map → block.tk.bigwig.ui-WJPH2Z7F.js.map} +0 -0
  752. /package/dist/{block.tk.hicstraw-7GH6LVIH.js.map → block.tk.hicstraw-RSD6I2NX.js.map} +0 -0
  753. /package/dist/{block.tk.junction-AJYML4AW.js.map → block.tk.junction-VZS2DEDO.js.map} +0 -0
  754. /package/dist/{block.tk.junction.textmatrixui-4RIH3EZI.js.map → block.tk.junction.textmatrixui-UCWGHZDI.js.map} +0 -0
  755. /package/dist/{block.tk.ld-AJYQ4C6T.js.map → block.tk.ld-ERSIIBM2.js.map} +0 -0
  756. /package/dist/{block.tk.menu-57OP5UW5.js.map → block.tk.menu-2ZNXE7CE.js.map} +0 -0
  757. /package/dist/{block.tk.pgv-XO7HP5MM.js.map → block.tk.pgv-EJLACCFR.js.map} +0 -0
  758. /package/dist/{brainImaging-65QDNR4D.js.map → brainImaging-BMZJY6OT.js.map} +0 -0
  759. /package/dist/{chunk-72X7LSBN.js.map → chunk-27FPMFP2.js.map} +0 -0
  760. /package/dist/{chunk-OEDZHPBJ.js.map → chunk-3LYZMOLO.js.map} +0 -0
  761. /package/dist/{chunk-322QC6R4.js.map → chunk-455XZIIA.js.map} +0 -0
  762. /package/dist/{chunk-J4SOF2ZH.js.map → chunk-474DTKP7.js.map} +0 -0
  763. /package/dist/{chunk-7FACFCZK.js.map → chunk-4AP3O3JW.js.map} +0 -0
  764. /package/dist/{chunk-CC3GFVV6.js.map → chunk-4JWN7E7Q.js.map} +0 -0
  765. /package/dist/{chunk-ZXTHADSC.js.map → chunk-55MOHL3P.js.map} +0 -0
  766. /package/dist/{chunk-VV36JRUF.js.map → chunk-5CR24RTX.js.map} +0 -0
  767. /package/dist/{chunk-PCZNTK74.js.map → chunk-5QTJUPFS.js.map} +0 -0
  768. /package/dist/{chunk-BWGU5NJS.js.map → chunk-5TJQ6633.js.map} +0 -0
  769. /package/dist/{chunk-ODG6RD7P.js.map → chunk-5X5LI5YM.js.map} +0 -0
  770. /package/dist/{chunk-7EMWHCVW.js.map → chunk-6G4YOMWW.js.map} +0 -0
  771. /package/dist/{chunk-XAVNZNXQ.js.map → chunk-6SCBPP4C.js.map} +0 -0
  772. /package/dist/{chunk-WSDUD52Y.js.map → chunk-74XVBQF7.js.map} +0 -0
  773. /package/dist/{chunk-KPJZBCVI.js.map → chunk-7I3LST7R.js.map} +0 -0
  774. /package/dist/{chunk-DD4R5P6W.js.map → chunk-BKPDYW5T.js.map} +0 -0
  775. /package/dist/{chunk-HKSNADSX.js.map → chunk-BO47H3VP.js.map} +0 -0
  776. /package/dist/{chunk-NSXZPWRP.js.map → chunk-BOO4W7WD.js.map} +0 -0
  777. /package/dist/{chunk-35SCELN4.js.map → chunk-C6YT5EM2.js.map} +0 -0
  778. /package/dist/{chunk-GNIK4JYM.js.map → chunk-CDUNE45Q.js.map} +0 -0
  779. /package/dist/{chunk-QQZ3SBF3.js.map → chunk-CLN7ANNL.js.map} +0 -0
  780. /package/dist/{chunk-57RBC6IZ.js.map → chunk-CLNSNNQU.js.map} +0 -0
  781. /package/dist/{chunk-YZK37YCC.js.map → chunk-COYULNJF.js.map} +0 -0
  782. /package/dist/{chunk-B6CSYKZJ.js.map → chunk-DBFKUPM6.js.map} +0 -0
  783. /package/dist/{chunk-EH4NQ7C4.js.map → chunk-DNVSEW6P.js.map} +0 -0
  784. /package/dist/{chunk-VGJSASRT.js.map → chunk-EC3SKPQT.js.map} +0 -0
  785. /package/dist/{chunk-3ZLJDFJU.js.map → chunk-EDXQKDVQ.js.map} +0 -0
  786. /package/dist/{chunk-ULPMYS5B.js.map → chunk-FOPHIWFD.js.map} +0 -0
  787. /package/dist/{chunk-DKVUOBIE.js.map → chunk-FVX76DZS.js.map} +0 -0
  788. /package/dist/{chunk-6GN7X6LU.js.map → chunk-FXGE233W.js.map} +0 -0
  789. /package/dist/{chunk-QNETLNPB.js.map → chunk-GBXX3AHJ.js.map} +0 -0
  790. /package/dist/{chunk-W6ME65LV.js.map → chunk-GVCQGWN7.js.map} +0 -0
  791. /package/dist/{chunk-5OUTR67M.js.map → chunk-HXZSSHEB.js.map} +0 -0
  792. /package/dist/{chunk-QH6W3NVF.js.map → chunk-I73KUUYG.js.map} +0 -0
  793. /package/dist/{chunk-VHOEJBFP.js.map → chunk-IKDWQJZE.js.map} +0 -0
  794. /package/dist/{chunk-W55XSG6K.js.map → chunk-JWHFMFF2.js.map} +0 -0
  795. /package/dist/{chunk-NGM3ZLIP.js.map → chunk-K3OJJZCQ.js.map} +0 -0
  796. /package/dist/{chunk-UI7OCM2A.js.map → chunk-KM4JBR26.js.map} +0 -0
  797. /package/dist/{chunk-4DXZGZOB.js.map → chunk-KNOFEVOJ.js.map} +0 -0
  798. /package/dist/{chunk-N2SKTCDK.js.map → chunk-LLX3NKB4.js.map} +0 -0
  799. /package/dist/{chunk-G6O3URDN.js.map → chunk-LQJMCE7G.js.map} +0 -0
  800. /package/dist/{chunk-O3JB4PIX.js.map → chunk-LSWU6EAQ.js.map} +0 -0
  801. /package/dist/{chunk-WHI6466S.js.map → chunk-MNIBZTQE.js.map} +0 -0
  802. /package/dist/{chunk-R2MMURGK.js.map → chunk-MQJVDIQK.js.map} +0 -0
  803. /package/dist/{chunk-3SZ6GKLB.js.map → chunk-N25ENPO3.js.map} +0 -0
  804. /package/dist/{chunk-DR6H3QAA.js.map → chunk-N3JT3KCV.js.map} +0 -0
  805. /package/dist/{chunk-XMLURPEP.js.map → chunk-N6QEVQZV.js.map} +0 -0
  806. /package/dist/{chunk-54EMVNPW.js.map → chunk-NJDW6ZQP.js.map} +0 -0
  807. /package/dist/{chunk-VGYTAYFK.js.map → chunk-NLQQIVTC.js.map} +0 -0
  808. /package/dist/{chunk-LTOBEUM2.js.map → chunk-OR43PGBV.js.map} +0 -0
  809. /package/dist/{chunk-UOVALHAJ.js.map → chunk-PWUERAAF.js.map} +0 -0
  810. /package/dist/{chunk-ZTYNN6G5.js.map → chunk-PXCFA4ZQ.js.map} +0 -0
  811. /package/dist/{chunk-I5RAQKKJ.js.map → chunk-QSEGY3U5.js.map} +0 -0
  812. /package/dist/{chunk-UJKW42DI.js.map → chunk-SC6IPDJR.js.map} +0 -0
  813. /package/dist/{chunk-SHWLROJG.js.map → chunk-T46LHXJW.js.map} +0 -0
  814. /package/dist/{chunk-KSGA62R2.js.map → chunk-TJYRBEBK.js.map} +0 -0
  815. /package/dist/{chunk-EVN6KWPN.js.map → chunk-UDL2DEBB.js.map} +0 -0
  816. /package/dist/{chunk-ORL44TIK.js.map → chunk-VDIVDU3T.js.map} +0 -0
  817. /package/dist/{chunk-VOUMS6IP.js.map → chunk-XQSQQSGB.js.map} +0 -0
  818. /package/dist/{chunk-6A3IPDE2.js.map → chunk-XVXAQ3FI.js.map} +0 -0
  819. /package/dist/{chunk-2XCUERHJ.js.map → chunk-YQMENK5H.js.map} +0 -0
  820. /package/dist/{chunk-36EHIPV4.js.map → chunk-ZUC4XNWU.js.map} +0 -0
  821. /package/dist/{condition-HDVYPJJD.js.map → condition-ZPFBPMEZ.js.map} +0 -0
  822. /package/dist/{controls-YEEW46C6.js.map → controls-LIVMV2GV.js.map} +0 -0
  823. /package/dist/{controls.config-C535H5DL.js.map → controls.config-2EOMBN5E.js.map} +0 -0
  824. /package/dist/{cuminc-II7NFIFP.js.map → cuminc-GPFDRNUP.js.map} +0 -0
  825. /package/dist/{cuminc.integration.spec-B4N6OMBJ.js.map → cuminc.integration.spec-V4JYKLA6.js.map} +0 -0
  826. /package/dist/{customdata.inputui-AI4ZBIEP.js.map → customdata.inputui-DSEUS3CT.js.map} +0 -0
  827. /package/dist/{dataDownload-ZQYLXN6D.js.map → dataDownload-KT6K3M7Q.js.map} +0 -0
  828. /package/dist/{dataDownload.integration.spec-2PKYZ2AY.js.map → dataDownload.integration.spec-VEX2RTSA.js.map} +0 -0
  829. /package/dist/{databrowser.ui-WGD7D3XV.js.map → databrowser.ui-VJKNMIXA.js.map} +0 -0
  830. /package/dist/{dnaMethylation-WGJMJL5B.js.map → dnaMethylation-BWQGUXVR.js.map} +0 -0
  831. /package/dist/{dnaMethylation.integration.spec-DO3PV4MO.js.map → dnaMethylation.integration.spec-YMGT2HYZ.js.map} +0 -0
  832. /package/dist/{dofetch-RADX3AFU.js.map → dofetch-BMSZZAAQ.js.map} +0 -0
  833. /package/dist/{e2pca-KOAAU2JX.js.map → e2pca-KSY4DP53.js.map} +0 -0
  834. /package/dist/{ep-CXCATXYH.js.map → ep-4PAYGMWK.js.map} +0 -0
  835. /package/dist/{expclust.gdc.spec-UJO2R3CW.js.map → expclust.gdc.spec-XXFP2HHE.js.map} +0 -0
  836. /package/dist/{facet-2FBUAD7P.js.map → facet-VCJQ7QPE.js.map} +0 -0
  837. /package/dist/{gb-VCJFV63W.js.map → gb-JDH242LG.js.map} +0 -0
  838. /package/dist/{geneExpClustering-FUNS6D2P.js.map → geneExpClustering-L23JB7XA.js.map} +0 -0
  839. /package/dist/{geneExpression-2OPFWV2K.js.map → geneExpression-P2ERCRXO.js.map} +0 -0
  840. /package/dist/{geneExpression-2BWWGYL4.js.map → geneExpression-QGPVFAN4.js.map} +0 -0
  841. /package/dist/{geneExpression.unit.spec-G7BSHJQT.js.map → geneExpression.unit.spec-6BQBM6VL.js.map} +0 -0
  842. /package/dist/{geneORA-S3KQMBYL.js.map → geneORA-XIMJP665.js.map} +0 -0
  843. /package/dist/{geneRanking-UZ36XAL7.js.map → geneRanking-AJH5G22J.js.map} +0 -0
  844. /package/dist/{geneVariant-OOZ2SBXO.js.map → geneVariant-AUUZ7S2B.js.map} +0 -0
  845. /package/dist/{geneVariant-ZHNVEKQ6.js.map → geneVariant-H6BGRRON.js.map} +0 -0
  846. /package/dist/{geneVariant.integration.spec-2C7EWKEV.js.map → geneVariant.integration.spec-FRCH6VI4.js.map} +0 -0
  847. /package/dist/{genefusion.ui-ASICJNII.js.map → genefusion.ui-AAJ37VFA.js.map} +0 -0
  848. /package/dist/{geneset-SNM4M6UM.js.map → geneset-5ARBBUYH.js.map} +0 -0
  849. /package/dist/{genomeBrowser.spec-DJIRW2X7.js.map → genomeBrowser.spec-RV7YBSMZ.js.map} +0 -0
  850. /package/dist/{gsea-SPTQJW67.js.map → gsea-XUMCVLFK.js.map} +0 -0
  851. /package/dist/{hierCluster-KDE5SMYP.js.map → hierCluster-HXOTNMC5.js.map} +0 -0
  852. /package/dist/{hierCluster-XG4YLVL3.js.map → hierCluster-PEDY7OTZ.js.map} +0 -0
  853. /package/dist/{hierCluster.config-VNEEJCKJ.js.map → hierCluster.config-RKYCGNWW.js.map} +0 -0
  854. /package/dist/{hierCluster.integration.spec-SSDN7LSH.js.map → hierCluster.integration.spec-YKMAT7UU.js.map} +0 -0
  855. /package/dist/{hierCluster.interactivity-DKBSJ644.js.map → hierCluster.interactivity-LPTHVWHR.js.map} +0 -0
  856. /package/dist/{hierCluster.renderers-OG6LZAT7.js.map → hierCluster.renderers-4XWKHCNW.js.map} +0 -0
  857. /package/dist/{imagePlot-M5JSHEY4.js.map → imagePlot-3DF7ZH3U.js.map} +0 -0
  858. /package/dist/{importPlot-YH7ZY6RJ.js.map → importPlot-N74SV3TL.js.map} +0 -0
  859. /package/dist/{isoformExpression-EV27MKYZ.js.map → isoformExpression-FU7Y4OGU.js.map} +0 -0
  860. /package/dist/{isoformExpression.unit.spec-7T2GOHH3.js.map → isoformExpression.unit.spec-BLQDKV37.js.map} +0 -0
  861. /package/dist/{launch.adhoc-NOISOX5E.js.map → launch.adhoc-Y35FZV6H.js.map} +0 -0
  862. /package/dist/{legacyDataset-SWJCAWIR.js.map → legacyDataset-TNIIJABK.js.map} +0 -0
  863. /package/dist/{lollipop-LQCQBTSX.js.map → lollipop-DU37Q5E2.js.map} +0 -0
  864. /package/dist/{maf-U237OWZ3.js.map → maf-NRLSNDOT.js.map} +0 -0
  865. /package/dist/{maftimeline-NLZLMHT2.js.map → maftimeline-GRXGOOSJ.js.map} +0 -0
  866. /package/dist/{matrix-DZJXYRYN.js.map → matrix-G3BULZ7Y.js.map} +0 -0
  867. /package/dist/{matrix-Y5345QQG.js.map → matrix-TCTX26A4.js.map} +0 -0
  868. /package/dist/{matrix.cells-PT7S74QP.js.map → matrix.cells-ED6RS5EC.js.map} +0 -0
  869. /package/dist/{matrix.config-2ORCUWKX.js.map → matrix.config-QHO2YNOT.js.map} +0 -0
  870. /package/dist/{matrix.data-C6VPQJJ4.js.map → matrix.data-KQFMXWRX.js.map} +0 -0
  871. /package/dist/{matrix.groups-CEOCG2CT.js.map → matrix.groups-RE74EFLY.js.map} +0 -0
  872. /package/dist/{matrix.integration.spec-U4B3JB6N.js.map → matrix.integration.spec-Y4FCZ2Q2.js.map} +0 -0
  873. /package/dist/{matrix.interactivity-GFLIFIER.js.map → matrix.interactivity-3DW5WAM3.js.map} +0 -0
  874. /package/dist/{matrix.layout-DOVDHTDX.js.map → matrix.layout-W57D765I.js.map} +0 -0
  875. /package/dist/{matrix.legend-JE4ZSLP7.js.map → matrix.legend-ZST44PIB.js.map} +0 -0
  876. /package/dist/{matrix.renderers-GPUJQ7KF.js.map → matrix.renderers-NFRKXO7Y.js.map} +0 -0
  877. /package/dist/{matrix.serieses-REE4DCSR.js.map → matrix.serieses-6ZKTFVWY.js.map} +0 -0
  878. /package/dist/{matrix.sort-VD5URUWY.js.map → matrix.sort-2UE47IOC.js.map} +0 -0
  879. /package/dist/{matrix.sort.unit.spec-4IOFVHJN.js.map → matrix.sort.unit.spec-5CMWEXPE.js.map} +0 -0
  880. /package/dist/{matrix.sorterUi-VQYY6KBK.js.map → matrix.sorterUi-WC2YX7S7.js.map} +0 -0
  881. /package/dist/{matrix.sorterUi.unit.spec-V5O2EJBX.js.map → matrix.sorterUi.unit.spec-Y2HXWHJN.js.map} +0 -0
  882. /package/dist/{mavb-SQDA3B2B.js.map → mavb-BI4XKI5P.js.map} +0 -0
  883. /package/dist/{mds.fimo-ZJSEPLD7.js.map → mds.fimo-UJYESPNC.js.map} +0 -0
  884. /package/dist/{mds.samplescatterplot-Y5V73GOY.js.map → mds.samplescatterplot-JKU5B4QR.js.map} +0 -0
  885. /package/dist/{mds.survivalplot-CZBRMHYN.js.map → mds.survivalplot-OP7Y4D3L.js.map} +0 -0
  886. /package/dist/{numericDictTermCluster-TFXBBUVI.js.map → numericDictTermCluster-DRIEJJSP.js.map} +0 -0
  887. /package/dist/{oncomatrix-ZILACPPI.js.map → oncomatrix-A3IE47HV.js.map} +0 -0
  888. /package/dist/{oncomatrix.spec-RLIVVVD6.js.map → oncomatrix.spec-TDWB2ROF.js.map} +0 -0
  889. /package/dist/{plot.2dvaf-BNRZPIKU.js.map → plot.2dvaf-XY34TDSM.js.map} +0 -0
  890. /package/dist/{plot.app-NRUARQCN.js.map → plot.app-WRCBLYGO.js.map} +0 -0
  891. /package/dist/{plot.barplot-342AYQC7.js.map → plot.barplot-RXGOUNHM.js.map} +0 -0
  892. /package/dist/{plot.boxplot-OHEJDPTW.js.map → plot.boxplot-GBZGSS3D.js.map} +0 -0
  893. /package/dist/{plot.brainImaging-KV72PAON.js.map → plot.brainImaging-DYPKMNHL.js.map} +0 -0
  894. /package/dist/{plot.disco-OUE4RFHL.js.map → plot.disco-5K2SCKJ4.js.map} +0 -0
  895. /package/dist/{plot.dzi-T3GPUH36.js.map → plot.dzi-THJIFHIS.js.map} +0 -0
  896. /package/dist/{plot.ssgq-WJHGMXW5.js.map → plot.ssgq-FSIUIV3A.js.map} +0 -0
  897. /package/dist/{plot.vaf2cov-NGD5PCV4.js.map → plot.vaf2cov-HP6KEBVJ.js.map} +0 -0
  898. /package/dist/{plot.wsi-2MU5BDG3.js.map → plot.wsi-MR6JMOXW.js.map} +0 -0
  899. /package/dist/{profilePlot-OMVO3K4H.js.map → profilePlot-J2C35OEY.js.map} +0 -0
  900. /package/dist/{qualitative-MEYBRUC6.js.map → qualitative-N7S2JHZM.js.map} +0 -0
  901. /package/dist/{regression-ZPDPLI6G.js.map → regression-PBGAMZAV.js.map} +0 -0
  902. /package/dist/{regression.inputs-QOSBAGL6.js.map → regression.inputs-54E5YKI4.js.map} +0 -0
  903. /package/dist/{regression.inputs.term-HMUMPY7X.js.map → regression.inputs.term-52MBTMVM.js.map} +0 -0
  904. /package/dist/{regression.inputs.values.table-VMCTZHLG.js.map → regression.inputs.values.table-F3FOAYFV.js.map} +0 -0
  905. /package/dist/{regression.integration.spec-RP74JTAA.js.map → regression.integration.spec-M4RPJUE4.js.map} +0 -0
  906. /package/dist/{regression.results-5XC6M67C.js.map → regression.results-JOK6I2ZD.js.map} +0 -0
  907. /package/dist/{regression.spec-EZYM24J7.js.map → regression.spec-O4HZB2HQ.js.map} +0 -0
  908. /package/dist/{report-ZOVQCOGQ.js.map → report-BDDTM7SV.js.map} +0 -0
  909. /package/dist/{sampleScatter.spec-CD52FEOC.js.map → sampleScatter.spec-272GLYEK.js.map} +0 -0
  910. /package/dist/{sampleView-SVTLSWRG.js.map → sampleView-E6OHEEP4.js.map} +0 -0
  911. /package/dist/{samplelst-HXF5POJD.js.map → samplelst-3LNF3DBG.js.map} +0 -0
  912. /package/dist/{samplematrix-NYDAH74I.js.map → samplematrix-HL445X7I.js.map} +0 -0
  913. /package/dist/{sc-JIDT4W4K.js.map → sc-4LELHVIS.js.map} +0 -0
  914. /package/dist/{selectGenomeWithTklst-OSB7B6L3.js.map → selectGenomeWithTklst-5LQGT4Z7.js.map} +0 -0
  915. /package/dist/{singleCellCellType-3BH7LWQ6.js.map → singleCellCellType-T3ZT64EK.js.map} +0 -0
  916. /package/dist/{singleCellCellType.unit.spec-RU4RJXFF.js.map → singleCellCellType.unit.spec-AE4IAHOF.js.map} +0 -0
  917. /package/dist/{singleCellGeneExpression-3UA4YER7.js.map → singleCellGeneExpression-SRJXSDEB.js.map} +0 -0
  918. /package/dist/{singleCellGeneExpression.unit.spec-4ZTBG37H.js.map → singleCellGeneExpression.unit.spec-EPL73UUO.js.map} +0 -0
  919. /package/dist/{singleCellPlot-ZUAWK5RE.js.map → singleCellPlot-P2BHFTYZ.js.map} +0 -0
  920. /package/dist/{singlecell-RO3BL5OO.js.map → singlecell-32SSD7VN.js.map} +0 -0
  921. /package/dist/{singlecell-BGJZB7MF.js.map → singlecell-7KRD5DP7.js.map} +0 -0
  922. /package/dist/{snp-HD7VQKBR.js.map → snp-LE5R377N.js.map} +0 -0
  923. /package/dist/{snp.unit.spec-ISXCLMWW.js.map → snp.unit.spec-UY6KQ5NJ.js.map} +0 -0
  924. /package/dist/{snplocus-IL5Z4XWV.js.map → snplocus-CP34ABUJ.js.map} +0 -0
  925. /package/dist/{spliceevent.a53ss.diagram-LLJSPV7M.js.map → spliceevent.a53ss.diagram-JWLWQDNJ.js.map} +0 -0
  926. /package/dist/{spliceevent.exonskip.diagram-LAOIOIST.js.map → spliceevent.exonskip.diagram-C5526P7P.js.map} +0 -0
  927. /package/dist/{spliceevent.noeventdiagram-MVA7Q3HT.js.map → spliceevent.noeventdiagram-352M63YB.js.map} +0 -0
  928. /package/dist/{ssGSEA-7T6S3DSE.js.map → ssGSEA-BFTCECV3.js.map} +0 -0
  929. /package/dist/{ssGSEA.unit.spec-XJ3W4NWX.js.map → ssGSEA.unit.spec-4OUCKRDQ.js.map} +0 -0
  930. /package/dist/{summarizeCnvGeneexp-RRP6JUV6.js.map → summarizeCnvGeneexp-Y3AWFIZA.js.map} +0 -0
  931. /package/dist/{summarizeGeneexpSurvival-AFLHDD6Q.js.map → summarizeGeneexpSurvival-U5JSPG22.js.map} +0 -0
  932. /package/dist/{summarizeMutationCnv-NABUYHMX.js.map → summarizeMutationCnv-KCOVQEBC.js.map} +0 -0
  933. /package/dist/{summarizeMutationDiagnosis-2LQ7JU3K.js.map → summarizeMutationDiagnosis-EQXEQABW.js.map} +0 -0
  934. /package/dist/{summarizeMutationSurvival-3WBT5TXG.js.map → summarizeMutationSurvival-4VGLG4SC.js.map} +0 -0
  935. /package/dist/{summary-FRDKOFXW.js.map → summary-DXYCBNI4.js.map} +0 -0
  936. /package/dist/{summary.integration.spec-ZLRIA7G2.js.map → summary.integration.spec-MZTJISLP.js.map} +0 -0
  937. /package/dist/{summaryInput-4JO6MHP4.js.map → summaryInput-5Z3XVIL6.js.map} +0 -0
  938. /package/dist/{sunburst-DRCVSC2X.js.map → sunburst-WVSQJYP2.js.map} +0 -0
  939. /package/dist/{survival-IF5NI3A6.js.map → survival-3R3J2JBE.js.map} +0 -0
  940. /package/dist/{survival-AK75COPY.js.map → survival-XQWFVGCJ.js.map} +0 -0
  941. /package/dist/{survival.integration.spec-7IWBTPJG.js.map → survival.integration.spec-EBDPIBYM.js.map} +0 -0
  942. /package/dist/{svgraph-QBDF2SLB.js.map → svgraph-SY2HVMYL.js.map} +0 -0
  943. /package/dist/{svmr-O4GJJUT2.js.map → svmr-TIIMFKG7.js.map} +0 -0
  944. /package/dist/{table-FQAIXKLE.js.map → table-5RFTXIQL.js.map} +0 -0
  945. /package/dist/{termCollection-ZO5PZ7E3.js.map → termCollection-23QXTZDN.js.map} +0 -0
  946. /package/dist/{termCollection-GMDDL3L7.js.map → termCollection-7KXABWVW.js.map} +0 -0
  947. /package/dist/{termCollection.unit.spec-5JBCTXHX.js.map → termCollection.unit.spec-4AN2Z4PQ.js.map} +0 -0
  948. /package/dist/{tk-GJX23IV7.js.map → tk-WW6PJGPQ.js.map} +0 -0
  949. /package/dist/{tp.ui-T7FVMTGQ.js.map → tp.ui-S5PO3MPH.js.map} +0 -0
  950. /package/dist/{tvs.dt-X7L7NSU6.js.map → tvs.dt-O7LUM5TK.js.map} +0 -0
  951. /package/dist/{tvs.dtcnv.categorical-73G2V6CH.js.map → tvs.dtcnv.categorical-2OUFOD3W.js.map} +0 -0
  952. /package/dist/{tvs.dtcnv.continuous-DWFJL3X7.js.map → tvs.dtcnv.continuous-NOOUY5SZ.js.map} +0 -0
  953. /package/dist/{tvs.dtfusion-HQADHCSV.js.map → tvs.dtfusion-KXQMP3UF.js.map} +0 -0
  954. /package/dist/{tvs.dtsnvindel-PY5OBMGW.js.map → tvs.dtsnvindel-PWHFTWZU.js.map} +0 -0
  955. /package/dist/{tvs.dtsv-OTBEEWSW.js.map → tvs.dtsv-25FLS572.js.map} +0 -0
  956. /package/dist/{tvs.numeric-WGDHEBJV.js.map → tvs.numeric-KYAU5OV3.js.map} +0 -0
  957. /package/dist/{tvs.samplelst-LCXSU5MG.js.map → tvs.samplelst-FLXNJFIV.js.map} +0 -0
  958. /package/dist/{tvs.termCollection-L527XN4X.js.map → tvs.termCollection-PSVOMJE4.js.map} +0 -0
  959. /package/dist/{violin-6VKRUQV3.js.map → violin-SWMEFWRA.js.map} +0 -0
  960. /package/dist/{violin.integration.spec-RJATDLQH.js.map → violin.integration.spec-6EQ6GC2N.js.map} +0 -0
  961. /package/dist/{violin.interactivity-SKF5H7MN.js.map → violin.interactivity-WBIWPLSM.js.map} +0 -0
  962. /package/dist/{violin.renderer-GB4TPX3B.js.map → violin.renderer-3WARZUOH.js.map} +0 -0
  963. /package/dist/{vocabulary-D3W44IWE.js.map → vocabulary-WLHYHDX7.js.map} +0 -0
@@ -1,2250 +0,0 @@
1
- import {
2
- blocklazyload
3
- } from "./chunk-3SZ6GKLB.js";
4
- import {
5
- hicParseFile
6
- } from "./chunk-35SCELN4.js";
7
- import {
8
- AppBase,
9
- ColorScale,
10
- axisstyle,
11
- first_genetrack_tolist,
12
- font,
13
- newpane,
14
- showErrorsWithCounter,
15
- tkt
16
- } from "./chunk-SA7APTJR.js";
17
- import "./chunk-HJ6L54YS.js";
18
- import "./chunk-LSEFWW72.js";
19
- import "./chunk-SKREEF3H.js";
20
- import {
21
- Menu
22
- } from "./chunk-HYOEWQ5P.js";
23
- import "./chunk-HBW42TDT.js";
24
- import "./chunk-G6O3URDN.js";
25
- import "./chunk-FN5XPUPH.js";
26
- import "./chunk-IIT367QZ.js";
27
- import "./chunk-RZGEKL77.js";
28
- import "./chunk-UI7OCM2A.js";
29
- import "./chunk-YZK37YCC.js";
30
- import {
31
- dofetch3
32
- } from "./chunk-7EMWHCVW.js";
33
- import "./chunk-7IYJZZQI.js";
34
- import {
35
- StoreBase,
36
- getAppInit,
37
- getCompInit,
38
- getStoreInit
39
- } from "./chunk-M3J4MINX.js";
40
- import "./chunk-PF4DSFDR.js";
41
- import "./chunk-QH6W3NVF.js";
42
- import "./chunk-NOEAT6CX.js";
43
- import {
44
- bplen
45
- } from "./chunk-4UWS5Y3N.js";
46
- import "./chunk-DD4R5P6W.js";
47
- import "./chunk-JNITUVXP.js";
48
- import "./chunk-KSGA62R2.js";
49
- import {
50
- axisBottom,
51
- axisRight
52
- } from "./chunk-LOZEKOES.js";
53
- import "./chunk-TOU7EVFQ.js";
54
- import {
55
- format,
56
- linear
57
- } from "./chunk-OAWQ6LOO.js";
58
- import "./chunk-TLT4YIG3.js";
59
- import "./chunk-KYBIQBXE.js";
60
- import {
61
- pointer_default,
62
- select_default
63
- } from "./chunk-I6Y4O3RR.js";
64
- import "./chunk-OMR2DT66.js";
65
- import "./chunk-DQC5FFGV.js";
66
- import "./chunk-HFNDKYVF.js";
67
-
68
- // tracks/hic/HicStore.ts
69
- var HicStore = class _HicStore extends StoreBase {
70
- constructor(opts) {
71
- super(opts);
72
- this.views = ["genome", "chrpair", "detail", "horizontal"];
73
- this.type = _HicStore.type;
74
- this.defaultState = {
75
- defaultNmeth: "NONE",
76
- loading: true,
77
- minBinNum_bp: 200,
78
- minFragSpan: 200,
79
- initialBinNum: 20,
80
- settings: {
81
- widthHeightPx: 800
82
- }
83
- };
84
- }
85
- static {
86
- this.type = "store";
87
- }
88
- init() {
89
- this.state = Object.assign({}, this.defaultState, this.state);
90
- }
91
- };
92
- var hicStoreInit = getStoreInit(HicStore);
93
- HicStore.prototype.actions = {
94
- view_create(action) {
95
- if (!action.view) throw Error("view_create: missing view");
96
- if (!this.views.some((v) => v == action.view)) throw Error(`view_create: unknown view = ${action.view}`);
97
- this.state.currView = action.view;
98
- const opts = Object.assign(this.state, action.config);
99
- this.state = opts;
100
- },
101
- view_update(action) {
102
- if (action.view) {
103
- if (!this.views.some((v) => v == action.view)) throw Error(`view_update: unknown view = ${action.view}`);
104
- const opts = Object.assign(this.state[action.view], action.config);
105
- this.state[action.view] = opts;
106
- } else {
107
- const opts = Object.assign(this.state, action.config);
108
- this.state = opts;
109
- }
110
- },
111
- loading_active(action) {
112
- this.state.loading = action.active;
113
- }
114
- };
115
-
116
- // tracks/hic/dom/LoadingOverlay.ts
117
- var LoadingOverlay = class _LoadingOverlay {
118
- constructor(opts) {
119
- this.hasStatePreMain = true;
120
- this.type = _LoadingOverlay.type;
121
- this.app = opts.app;
122
- this.loadingDiv = opts.loadingDiv;
123
- }
124
- static {
125
- this.type = "loadingOverlay";
126
- }
127
- reactsTo(action) {
128
- if (action.type.startsWith("loading")) return true;
129
- else return false;
130
- }
131
- getState(appState) {
132
- return appState;
133
- }
134
- init() {
135
- this.loadingDiv.append("div").attr("class", "sjpp-spinner").style("display", "");
136
- }
137
- main(appState) {
138
- const loading = this.app.getState(appState).loading;
139
- this.loadingDiv.style("display", loading ? "" : "none");
140
- }
141
- };
142
- var loadingInit = getCompInit(LoadingOverlay);
143
-
144
- // tracks/hic/dom/ColorizeElement.ts
145
- var ColorizeElement = class {
146
- colorizeElement(xCoord, yCoord, v, obj, width, height, bpMinV, bpMaxV, currView) {
147
- if (v >= 0) {
148
- const p = v >= bpMaxV ? 0 : v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV - v) / bpMaxV);
149
- const positiveFill = `rgb(255, ${p}, ${p})`;
150
- if (currView === "genome") {
151
- obj.ctx.fillStyle = positiveFill;
152
- obj.ctx2.fillStyle = positiveFill;
153
- } else {
154
- obj.fillStyle = positiveFill;
155
- }
156
- } else {
157
- const p = v <= bpMinV ? 255 : Math.floor(255 * (bpMaxV + v) / bpMaxV);
158
- const negativeFill = `rgb(${p}, ${p}, 255)`;
159
- if (currView === "genome") {
160
- obj.ctx.fillStyle = negativeFill;
161
- obj.ctx2.fillStyle = negativeFill;
162
- } else {
163
- obj.fillStyle = negativeFill;
164
- }
165
- }
166
- if (currView === "genome") {
167
- obj.ctx.fillRect(yCoord, xCoord, width, height);
168
- obj.ctx2.fillRect(xCoord, yCoord, width, height);
169
- } else {
170
- obj.fillRect(xCoord, yCoord, width, height);
171
- }
172
- }
173
- };
174
-
175
- // tracks/hic/data/Resolution.ts
176
- var Resolution = class {
177
- constructor(error) {
178
- this.error = error;
179
- }
180
- getResolution(state, hic) {
181
- if (state.currView == "genome") return hic["bpresolution"][0];
182
- if (state.currView == "chrpair") {
183
- const resolution = this.getChrPairResolution(hic, state.x, state.y, state.minBinNum_bp);
184
- return resolution;
185
- } else if (state.currView == "detail") {
186
- const maxBpWidth = Math.max(state.x.stop - state.x.start, state.y.stop - state.y.start);
187
- let resolution = this.findResFromArray(maxBpWidth, state.minBinNum_bp, hic.bpresolution);
188
- if (resolution == null && !hic.enzyme) {
189
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
190
- }
191
- return resolution;
192
- } else {
193
- this.error(`Unknown view: ${state.currView}`);
194
- throw `Unknown view: ${state.currView}`;
195
- }
196
- }
197
- getChrPairResolution(hic, x, y, minBinNum_bp) {
198
- const chrxlen = hic.genome.chrlookup[x.chr.toUpperCase()].len;
199
- const chrylen = hic.genome.chrlookup[y.chr.toUpperCase()].len;
200
- const maxchrlen = Math.max(chrxlen, chrylen);
201
- const resolution = this.findResFromArray(maxchrlen, minBinNum_bp, hic.bpresolution);
202
- if (resolution == null) {
203
- this.error(`No suitable resolution for ${x.chr}-${y.chr} pair.`);
204
- return;
205
- }
206
- return resolution;
207
- }
208
- findResFromArray(max, defaultValue, resolutionArray, returnNum) {
209
- let resolution = null;
210
- for (const res of resolutionArray) {
211
- if (max / res > defaultValue) {
212
- resolution = res;
213
- break;
214
- }
215
- }
216
- if (returnNum && resolution == null) {
217
- resolution = resolutionArray[resolutionArray.length - 1];
218
- }
219
- return resolution;
220
- }
221
- getDefaultViewSpan(hic, x, y, initialBinNum, minBinNum_bp) {
222
- const chrpairResolution = this.getChrPairResolution(hic, x, y, minBinNum_bp);
223
- if (!chrpairResolution) return;
224
- return chrpairResolution * initialBinNum;
225
- }
226
- };
227
-
228
- // tracks/hic/data/Positions.ts
229
- var Positions = class {
230
- constructor(error, minBinNum_bp) {
231
- this.error = error;
232
- this.resolution = new Resolution(this.error);
233
- this.minBinNum_bp = minBinNum_bp;
234
- }
235
- /**
236
- *
237
- * @param x x coordinate of pointer
238
- * @param y y coordinate of pointer
239
- * @param binpx
240
- * @param chrx x chr from state
241
- * @param chry y chr from state
242
- * @param hic
243
- * @param initialBinNum Set in the state
244
- * @returns
245
- */
246
- setPosition(x, y, binpx, chrx, chry, hic, initialBinNum) {
247
- const resolution = this.resolution.getChrPairResolution(hic, chrx, chry, this.minBinNum_bp);
248
- const viewrangebpw = resolution * initialBinNum;
249
- let coordx = Math.max(1, Math.floor(x * resolution / binpx) - viewrangebpw / 2);
250
- let coordy = Math.max(1, Math.floor(y * resolution / binpx) - viewrangebpw / 2);
251
- {
252
- const lenx = hic.genome.chrlookup[chrx.chr.toUpperCase()].len;
253
- if (coordx + viewrangebpw >= lenx) {
254
- coordx = lenx - viewrangebpw;
255
- }
256
- const leny = hic.genome.chrlookup[chry.chr.toUpperCase()].len;
257
- if (coordy + viewrangebpw > leny) {
258
- coordy = leny - viewrangebpw;
259
- }
260
- }
261
- const xObj = {
262
- chr: chrx.chr,
263
- start: coordx,
264
- stop: coordx + viewrangebpw
265
- };
266
- const yObj = {
267
- chr: chry.chr,
268
- start: coordy,
269
- stop: coordy + viewrangebpw
270
- };
271
- return [xObj, yObj];
272
- }
273
- };
274
-
275
- // tracks/hic/data/GridElementsFormattedData.ts
276
- var GridElementsFormattedData = class {
277
- /**
278
- * Format the data for the grid elements.
279
- * @param items The data to format.
280
- * @param binpx The bin size in pixels.
281
- * @param resolution The resolution.
282
- * @param isFirstChrX Whether the first chromosome is X. Used for chrpair view.
283
- * @param isIntraChr Whether the data is intra-chromosomal. Used for chrpair view
284
- * @returns The formatted data.
285
- */
286
- formatData(view, items, binpx, resolution, isFirstChrX, isIntraChr) {
287
- const formattedData = [];
288
- for (const [xCoord, yCoord, value] of items) {
289
- const xPx = Math.floor(xCoord / resolution) * binpx;
290
- const yPx = Math.floor(yCoord / resolution) * binpx;
291
- if (view == "genome") {
292
- formattedData.push([xPx, yPx, value]);
293
- }
294
- if (view == "chrpair") {
295
- const x = isFirstChrX ? xPx : yPx;
296
- const y = isFirstChrX ? yPx : xPx;
297
- formattedData.push([x, y, value]);
298
- if (isIntraChr) {
299
- formattedData.push([y, x, value]);
300
- }
301
- }
302
- }
303
- return formattedData;
304
- }
305
- };
306
-
307
- // tracks/hic/data/FirstChrX.ts
308
- var FirstChrX = class {
309
- constructor(chrorder, chrx, chry) {
310
- this.chrorder = chrorder;
311
- this.chrx = chrx;
312
- this.chry = chry;
313
- }
314
- isFirstX() {
315
- if (this.chrx == this.chry) return true;
316
- return this.chrorder.indexOf(this.chrx) < this.chrorder.indexOf(this.chry);
317
- }
318
- };
319
-
320
- // tracks/hic/chrpair/ChrPairView.ts
321
- var ChrPairView = class {
322
- constructor(opts) {
323
- this.binpx = 1;
324
- /** padding on the ends of x/y chr coordinate axes */
325
- this.axispad = 10;
326
- this.axisLabelFontSize = 15;
327
- this.calcResolution = null;
328
- this.data = [];
329
- this.app = opts.app;
330
- this.hic = opts.hic;
331
- this.plotDiv = opts.plotDiv;
332
- this.items = opts.items;
333
- this.parent = opts.parent;
334
- this.chrxlen = this.hic.genome.chrlookup[this.parent("state").x.chr.toUpperCase()].len;
335
- this.chrylen = this.hic.genome.chrlookup[this.parent("state").y.chr.toUpperCase()].len;
336
- this.maxchrlen = Math.max(this.chrxlen, this.chrylen);
337
- this.colorizeElement = new ColorizeElement();
338
- this.positions = new Positions(opts.error, this.parent("state").minBinNum_bp);
339
- this.formattedData = new GridElementsFormattedData();
340
- }
341
- setDefaultBinpx() {
342
- if (this.calcResolution == null) return;
343
- while (this.binpx * this.maxchrlen / this.calcResolution < 600) {
344
- this.binpx++;
345
- }
346
- }
347
- renderAxes() {
348
- if (this.calcResolution == null) return;
349
- const svgY = this.plotDiv.yAxis.append("svg");
350
- const h = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
351
- svgY.attr("width", 100).attr("height", this.axispad * 2 + h);
352
- svgY.append("g").attr("data-testid", "sjpp-chrpair-svg-y").attr("transform", "translate(80," + (this.axispad + h / 2) + ")").append("text").text(this.parent("state").y.chr).attr("text-anchor", "middle").attr("font-size", this.axisLabelFontSize).attr("font-family", font).attr("dominant-baseline", "central").attr("transform", "rotate(90)");
353
- axisstyle({
354
- axis: svgY.append("g").attr("transform", `translate(1, ${this.axispad})`).call(axisRight(linear().domain([0, this.chrylen]).range([0, h])).tickFormat(format(".2s"))),
355
- showline: true
356
- });
357
- const svgX = this.plotDiv.xAxis.append("svg").style("margin-top", "-4px");
358
- const w = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
359
- svgX.attr("height", 100).attr("width", this.axispad * 2 + w);
360
- svgX.append("text").attr("data-testid", "sjpp-chrpair-svg-x").text(this.parent("state").x.chr).attr("font-size", this.axisLabelFontSize).attr("font-family", font).attr("x", this.axispad + w / 2).attr("text-anchor", "middle").attr("y", 60);
361
- axisstyle({
362
- axis: svgX.append("g").attr("transform", "translate(" + this.axispad + ",1)").call(axisBottom(linear().domain([0, this.chrxlen]).range([0, w])).tickFormat(format(".2s"))),
363
- showline: true
364
- });
365
- }
366
- renderCanvas() {
367
- const initDetailView = this.initDetailView.bind(this);
368
- this.canvas = this.plotDiv.plot.append("canvas").attr("data-testid", "sjpp-chrpair-canvas").style("margin", this.axispad + "px").on("click", async function(event) {
369
- const [x, y] = pointer_default(event, this);
370
- initDetailView(x, y);
371
- }).node();
372
- this.canvas.width = Math.ceil(this.chrxlen / this.calcResolution) * this.binpx;
373
- this.canvas.height = Math.ceil(this.chrylen / this.calcResolution) * this.binpx;
374
- this.ctx = this.canvas.getContext("2d");
375
- }
376
- initDetailView(x, y) {
377
- const [xObj, yObj] = this.positions.setPosition(
378
- x,
379
- y,
380
- this.binpx,
381
- this.parent("state").x,
382
- this.parent("state").y,
383
- this.hic,
384
- this.parent("state").initialBinNum
385
- );
386
- this.app.dispatch({
387
- type: "view_create",
388
- view: "detail",
389
- config: {
390
- x: xObj,
391
- y: yObj
392
- }
393
- });
394
- }
395
- render() {
396
- this.calcResolution = this.parent("calcResolution");
397
- this.setDefaultBinpx();
398
- this.renderAxes();
399
- this.renderCanvas();
400
- this.update(this.items);
401
- }
402
- update(items) {
403
- this.items = items;
404
- const firstisx = new FirstChrX(this.hic.chrorder, this.parent("state").x.chr, this.parent("state").y.chr).isFirstX();
405
- const isintrachr = this.parent("state").x.chr === this.parent("state").y.chr;
406
- this.data = this.formattedData.formatData(
407
- "chrpair",
408
- items.items,
409
- this.binpx,
410
- this.calcResolution,
411
- firstisx,
412
- isintrachr
413
- );
414
- this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
415
- for (const [x, y, v] of this.data) {
416
- this.colorizeElement.colorizeElement(
417
- x,
418
- y,
419
- v,
420
- this.ctx,
421
- this.binpx,
422
- //width
423
- this.binpx,
424
- //height
425
- this.parent("min"),
426
- this.parent("max"),
427
- "chrpair"
428
- );
429
- }
430
- this.app.dispatch({ type: "loading_active", active: false });
431
- }
432
- };
433
-
434
- // tracks/hic/horizontal/HorizontalView.ts
435
- var HorizontalView = class {
436
- constructor(opts) {
437
- /** Defaults*/
438
- this.maxPercentage = 5;
439
- this.subPanelPxWidth = 600;
440
- this.borderColor = "rgba(200,0,0,.1)";
441
- this.app = opts.app;
442
- this.hic = opts.hic;
443
- this.plotDiv = opts.plotDiv;
444
- this.items = opts.items;
445
- this.parent = opts.parent;
446
- }
447
- setRunPpTracks() {
448
- const tracks = [
449
- {
450
- type: "hicstraw",
451
- file: this.hic.file,
452
- url: this.hic.url,
453
- name: this.hic.name,
454
- enzyme: this.hic.enzyme,
455
- maxpercentage: this.maxPercentage,
456
- pyramindup: 1
457
- }
458
- ];
459
- if (this.hic.tklst) {
460
- for (const t of this.hic.tklst) {
461
- tracks.push(t);
462
- }
463
- }
464
- first_genetrack_tolist(this.hic.genome, tracks);
465
- return tracks;
466
- }
467
- setRunPpArgs(tracks) {
468
- const arg = {
469
- holder: this.plotDiv.plot,
470
- hostURL: this.hic.hostURL,
471
- jwt: this.hic.jwt,
472
- genome: this.hic.genome,
473
- nobox: 1,
474
- tklst: tracks
475
- };
476
- const state = this.parent("state");
477
- if (state.x.chr == state.y.chr && Math.max(state.x.start, state.y.start) < Math.min(state.x.stop, state.y.stop)) {
478
- arg["chr"] = state.x.chr;
479
- arg["start"] = Math.min(state.x.start, state.y.start);
480
- arg["stop"] = Math.max(state.x.stop, state.y.stop);
481
- } else {
482
- arg["chr"] = state.x.chr;
483
- arg["start"] = state.x.start;
484
- arg["stop"] = state.x.stop;
485
- arg["width"] = this.subPanelPxWidth;
486
- arg["subpanels"] = [
487
- {
488
- chr: state.y.chr,
489
- start: state.y.start,
490
- stop: state.y.stop,
491
- width: this.subPanelPxWidth,
492
- leftpad: 10,
493
- leftborder: this.borderColor
494
- }
495
- ];
496
- }
497
- return arg;
498
- }
499
- render() {
500
- const tracks = this.setRunPpTracks();
501
- const arg = this.setRunPpArgs(tracks);
502
- blocklazyload(arg);
503
- }
504
- // update() {
505
- // //Not required.
506
- // //If controls are added back. Implement changes here.
507
- // }
508
- };
509
-
510
- // tracks/hic/detail/DetailBlock.ts
511
- var DetailBlock = class {
512
- constructor(app, hic, blockwidth, bbmargin, holder, isYblock) {
513
- /** Defaults */
514
- this.leftheadw = 20;
515
- this.rightheadw = 40;
516
- this.lpad = 1;
517
- this.rpad = 1;
518
- this.firstRender = true;
519
- this.app = app;
520
- this.hic = hic;
521
- this.width = blockwidth;
522
- this.bbmargin = bbmargin;
523
- this.holder = holder;
524
- this.isYblock = isYblock;
525
- this.bbw = this.leftheadw + this.lpad + this.width + this.rpad + this.rightheadw + 2 * this.bbmargin;
526
- this.defaultLeft = this.bbmargin + this.leftheadw + this.lpad;
527
- this.defaultTop = this.bbmargin + this.rightheadw + this.rpad;
528
- }
529
- setArgs(chrObj) {
530
- const runPpArgs = {
531
- hostURL: this.hic.hostURL,
532
- genome: this.hic.genome,
533
- holder: this.holder,
534
- noresize: true,
535
- nobox: true,
536
- butrowbottom: true,
537
- style: {
538
- margin: `${this.bbmargin}px`
539
- },
540
- width: this.width,
541
- leftheadw: this.leftheadw,
542
- chr: chrObj.chr,
543
- start: chrObj.start,
544
- stop: chrObj.stop,
545
- rightheadw: this.rightheadw,
546
- tklst: [],
547
- rotated: this.isYblock,
548
- showreverse: this.isYblock
549
- };
550
- first_genetrack_tolist(this.hic.genome, runPpArgs.tklst);
551
- return runPpArgs;
552
- }
553
- setMethods(canvasHolder, canvas, sheath) {
554
- const runPpMethods = {
555
- onloadalltk_always: () => {
556
- this.onload(canvasHolder, canvas, sheath);
557
- },
558
- onpanning: (xoff) => this.onpanning(xoff, canvas)
559
- };
560
- if (this.isYblock) {
561
- runPpMethods["onsetheight"] = (bbh) => {
562
- this.holder.transition().style("left", `${bbh + this.bbmargin + 30}px`);
563
- };
564
- }
565
- return runPpMethods;
566
- }
567
- onload(canvasHolder, canvas, sheath) {
568
- this.bbw = this.block.leftheadw + this.block.lpad + this.block.width + this.block.rpad + this.block.rightheadw + 2 * this.bbmargin;
569
- if (this.isYblock) {
570
- sheath.transition().style("height", `${this.bbw}px`);
571
- canvasHolder.style("height", `${this.bbw}px`);
572
- } else canvasHolder.style("width", `${this.bbw}px`);
573
- if (this.isYblock) {
574
- this.defaultTop = this.bbmargin + this.block.rightheadw + this.block.rpad;
575
- canvas.style("top", `${this.defaultTop}px`);
576
- } else {
577
- this.defaultLeft = this.bbmargin + this.block.leftheadw + this.block.lpad;
578
- canvas.style("left", `${this.defaultLeft}px`);
579
- }
580
- const config = {
581
- [this.isYblock ? "y" : "x"]: {
582
- chr: this.block.rglst[0].chr,
583
- start: this.block.rglst[0].start,
584
- stop: this.block.rglst[0].stop
585
- }
586
- };
587
- if (this.firstRender == false) {
588
- this.app.dispatch({
589
- type: "view_update",
590
- config
591
- });
592
- } else {
593
- this.firstRender = false;
594
- }
595
- }
596
- onpanning(xoff, canvas) {
597
- if (!this.isYblock) canvas.style("left", `${xoff + this.defaultLeft}px`);
598
- else canvas.style("top", `${-xoff + this.defaultTop}px`);
599
- }
600
- async loadBlock(chrObj, canvasHolder, canvas, sheath) {
601
- const runPpArgs = this.setArgs(chrObj);
602
- const runPpMethods = this.isYblock ? this.setMethods(canvasHolder, canvas, sheath) : this.setMethods(canvasHolder, canvas);
603
- const args = Object.assign(runPpArgs, runPpMethods);
604
- await blocklazyload(args).then(async (block) => {
605
- this.block = block;
606
- });
607
- }
608
- };
609
-
610
- // tracks/hic/data/DetailDataFetcher.ts
611
- var DetailDataFetcher = class {
612
- constructor(errList) {
613
- this.obj = {
614
- rglst: []
615
- };
616
- this.errList = errList;
617
- }
618
- isFragData(hic, resolution) {
619
- if (resolution != null) return;
620
- if (!hic.enzyme) {
621
- resolution = hic.bpresolution[hic.bpresolution.length - 1];
622
- return;
623
- }
624
- }
625
- formatFragArgs(enzymefile, chr) {
626
- const arg = {
627
- getdata: 1,
628
- getBED: 1,
629
- file: enzymefile,
630
- rglst: [chr]
631
- };
632
- return arg;
633
- }
634
- /**
635
- * @param arg Formated obj from either fn above
636
- * @param errList
637
- * @returns
638
- */
639
- async getBedData(arg) {
640
- try {
641
- return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(arg) });
642
- } catch (e) {
643
- this.errList.push(e.message || e);
644
- if (e.stack) console.error(e.stack);
645
- }
646
- }
647
- async getXFragData(hic, resolution, chrx) {
648
- this.isFragData(hic, resolution);
649
- if (!hic.enzymefile) return;
650
- const reqArgs = this.formatFragArgs(hic.enzymefile, chrx);
651
- return await this.getBedData(reqArgs);
652
- }
653
- async getYFragData(hic, chry) {
654
- const reqArgs = this.formatFragArgs(hic.enzymefile, chry);
655
- return await this.getBedData(reqArgs);
656
- }
657
- /**
658
- * Separate request from data fetch
659
- * Returns the additional fragment data
660
- * @param fragCoords
661
- */
662
- async fetchData(hic, detailView, resolution, x, y, fragCoords) {
663
- const fragStrawArgs = {
664
- matrixType: detailView.matrixType,
665
- file: hic.file,
666
- url: hic.url,
667
- pos1: this.determinePosition(hic, x, fragCoords?.x),
668
- pos2: this.determinePosition(hic, y, fragCoords?.y),
669
- nmeth: detailView.nmeth,
670
- resolution
671
- };
672
- if (fragCoords) fragStrawArgs["isfrag"] = true;
673
- try {
674
- const data = dofetch3("hicdata?", {
675
- method: "POST",
676
- body: JSON.stringify(fragStrawArgs)
677
- });
678
- if (data.error) {
679
- this.errList.push(data.error);
680
- }
681
- return data;
682
- } catch (e) {
683
- this.errList.push(e.message || e);
684
- if (e.stack) console.error(e.stack);
685
- }
686
- }
687
- determinePosition(hic, chr, fragCoord) {
688
- if (fragCoord) {
689
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${fragCoord.start}:${fragCoord.stop}`;
690
- } else {
691
- return `${hic.nochr ? chr.chr.replace("chr", "") : chr.chr}:${chr.start}:${chr.stop}`;
692
- }
693
- }
694
- };
695
-
696
- // tracks/hic/data/ParseFragData.ts
697
- var ParseFragData = class {
698
- constructor(errLst, items) {
699
- this.id2coord = /* @__PURE__ */ new Map();
700
- this.min = null;
701
- this.max = null;
702
- this.items = [];
703
- this.errLst = errLst;
704
- for (const i of items) {
705
- if (!i.rest || !i.rest[0]) {
706
- this.errLst.push("items[].rest data problem");
707
- }
708
- const id = Number.parseInt(i.rest[0]);
709
- if (Number.isNaN(id)) {
710
- this.errLst.push(`${i.start}.${i.stop} invalid fragment id: ${i.rest[0]}`);
711
- }
712
- this.id2coord.set(id, [i.start, i.stop]);
713
- if (this.min == null) {
714
- this.min = id;
715
- this.max = id;
716
- } else {
717
- this.min = Math.min(this.min, id);
718
- this.max = Math.max(this.max, id);
719
- }
720
- }
721
- }
722
- };
723
-
724
- // tracks/hic/data/DetailDataMapper.ts
725
- var DetailDataMapper = class {
726
- constructor(hic, errList, parent) {
727
- this.frag = {
728
- x: {},
729
- y: {}
730
- };
731
- this.hic = hic;
732
- this.errList = errList;
733
- this.dataFetcher = new DetailDataFetcher(errList);
734
- this.parent = parent;
735
- }
736
- async getFragData(chrx, chry) {
737
- try {
738
- const xFragData = await this.dataFetcher.getXFragData(this.hic, this.parent("calcResolution"), chrx);
739
- if (xFragData) {
740
- if (!xFragData.items) {
741
- this.errList.push(`No fragment data returned for ${chrx.chr}:${chrx.start}-${chrx.stop}`);
742
- return;
743
- }
744
- const xParse = new ParseFragData(this.errList, xFragData.items);
745
- if (this.errList.length) return;
746
- this.frag.x = {
747
- id2coord: xParse.id2coord,
748
- start: xParse.min,
749
- stop: xParse.max
750
- };
751
- const yFragData = await this.dataFetcher.getYFragData(this.hic, chry);
752
- if (this.errList.length) return;
753
- if (yFragData) {
754
- if (!yFragData.items) {
755
- this.errList.push(`No fragment data returned for ${chry.chr}:${chry.start}-${chry.stop}`);
756
- return;
757
- }
758
- const yParse = new ParseFragData(this.errList, yFragData.items);
759
- if (this.errList.length) return;
760
- this.frag.y = {
761
- id2coord: /* @__PURE__ */ new Map(),
762
- start: yParse.min,
763
- stop: yParse.max
764
- };
765
- this.determineMap(yParse.id2coord, chrx, chry);
766
- }
767
- }
768
- } catch (e) {
769
- this.errList.push(e.message || e);
770
- if (e.stack) console.error(e.stack);
771
- }
772
- }
773
- determineMap(map, chrx, chry) {
774
- if (chrx.chr == chry.chr) {
775
- for (const [id, pos] of map) {
776
- this.frag.x["id2coord"].set(id, pos);
777
- }
778
- this.frag.y["id2coord"] = this.frag.x["id2coord"];
779
- } else {
780
- this.frag.y["id2coord"] = map;
781
- }
782
- }
783
- async getData(chrx, chry, fragCoords) {
784
- return await this.dataFetcher.fetchData(
785
- this.hic,
786
- this.parent("state")["detail"],
787
- this.parent("calcResolution"),
788
- chrx,
789
- chry,
790
- fragCoords
791
- );
792
- }
793
- };
794
-
795
- // tracks/hic/data/DetailCoodinates.ts
796
- var DetailCoordinates = class {
797
- constructor(hic, errlist) {
798
- this.hic = hic;
799
- this.errlist = errlist;
800
- }
801
- getCoordinates(chrx, chry, data, resolution, widthHeightPx, fragData) {
802
- const isFirstX = new FirstChrX(this.hic.chrorder, chrx.chr, chry.chr).isFirstX();
803
- const isintrachr = chrx.chr == chry.chr;
804
- const xpxbp = widthHeightPx / (chrx.stop - chrx.start);
805
- const ypxbp = widthHeightPx / (chry.stop - chry.start);
806
- const list = this.calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData);
807
- return list;
808
- }
809
- calculateCoordinates(isFirstX, isintrachr, xpxbp, ypxbp, resolution, chrx, chry, data, fragData) {
810
- const list = [];
811
- for (const [xCoord, yCoord, value] of data.items) {
812
- let coord1, coord2, span1, span2;
813
- if (fragData) {
814
- const idx_start = isFirstX ? xCoord : yCoord;
815
- const idy_start = isFirstX ? yCoord : xCoord;
816
- if (fragData.x.id2coord.has(idx_start)) {
817
- const [a, b] = fragData.x.id2coord.get(idx_start);
818
- coord1 = a;
819
- span1 = b - a;
820
- } else {
821
- this.errlist.push(`[x id error] x: ${idx_start} y: ${idy_start}`);
822
- continue;
823
- }
824
- {
825
- const id_stop = idx_start + resolution;
826
- if (fragData.x.id2coord.has(id_stop)) {
827
- const ab = fragData.x.id2coord.get(id_stop);
828
- span1 = ab[1] - coord1;
829
- }
830
- }
831
- if (fragData.y.id2coord.has(idy_start)) {
832
- const [a, b] = fragData.y.id2coord.get(idy_start);
833
- coord2 = a;
834
- span2 = b - a;
835
- } else {
836
- this.errlist.push(`[y id error] x: ${idx_start} y: ${idy_start}`);
837
- continue;
838
- }
839
- {
840
- const id_stop = idy_start + resolution;
841
- if (fragData.y.id2coord.has(id_stop)) {
842
- const ab = fragData.y.id2coord.get(id_stop);
843
- span2 = ab[1] - coord2;
844
- }
845
- }
846
- } else {
847
- coord1 = isFirstX ? xCoord : yCoord;
848
- coord2 = isFirstX ? yCoord : xCoord;
849
- span1 = resolution;
850
- span2 = resolution;
851
- }
852
- if (isintrachr) {
853
- if (coord1 > chrx.start - span1 && coord1 < chrx.stop && coord2 > chry.start - span2 && coord2 < chry.stop) {
854
- list.push([
855
- Math.floor((coord1 - chrx.start) * xpxbp),
856
- Math.floor((coord2 - chry.start) * ypxbp),
857
- Math.ceil(span1 * xpxbp),
858
- Math.ceil(span2 * ypxbp),
859
- value
860
- ]);
861
- }
862
- if (coord2 > chrx.start - span2 && coord2 < chrx.stop && coord1 > chry.start && coord1 < chry.stop) {
863
- list.push([
864
- Math.floor((coord2 - chrx.start) * xpxbp),
865
- Math.floor((coord1 - chry.start) * ypxbp),
866
- Math.ceil(span2 * xpxbp),
867
- Math.ceil(span1 * ypxbp),
868
- value
869
- ]);
870
- }
871
- continue;
872
- }
873
- list.push([
874
- Math.floor((coord1 - chrx.start) * xpxbp),
875
- Math.floor((coord2 - chry.start) * ypxbp),
876
- Math.ceil(span1 * xpxbp),
877
- Math.ceil(span2 * ypxbp),
878
- value
879
- ]);
880
- }
881
- return list;
882
- }
883
- };
884
-
885
- // tracks/hic/detail/DetailView.ts
886
- var DetailView = class {
887
- constructor(opts) {
888
- this.calcResolution = null;
889
- /** Defaults **/
890
- this.binpx = 2;
891
- this.bbmargin = 1;
892
- this.app = opts.app;
893
- this.hic = opts.hic;
894
- this.plotDiv = opts.plotDiv;
895
- this.sheath = opts.plotDiv.yAxis.append("div").style("position", "relative").style("width", "200px").style("height", "800px");
896
- this.rotor = this.sheath.append("div").style("position", "absolute").style("bottom", "0px").style("transform", "rotate(-90deg)").style("transform-origin", "left bottom");
897
- this.data = opts.data;
898
- this.parent = opts.parent;
899
- this.errList = this.parent("errList");
900
- this.resolution = new Resolution(opts.error);
901
- this.colorizeElement = new ColorizeElement();
902
- this.viewRangeBpW = this.resolution.getDefaultViewSpan(
903
- this.hic,
904
- this.parent("state").x,
905
- this.parent("state").y,
906
- this.parent("state").initialBinNum,
907
- this.parent("state").minBinNum_bp
908
- );
909
- this.dataMapper = new DetailDataMapper(this.hic, opts.error, opts.parent);
910
- this.coordinates = new DetailCoordinates(this.hic, this.errList);
911
- }
912
- renderCanvas(blockwidth) {
913
- this.canvasHolder = this.plotDiv.plot.append("div").style("position", "relative").style("width", `${this.xBlock.bbw}px`).style("height", `${this.yBlock.bbw}px`).style("overflow", "hidden");
914
- this.canvas = this.canvasHolder.append("canvas").style("display", "block").style("position", "absolute").attr("data-testid", "sjpp-hic-detail-canvas").attr("width", blockwidth).attr("height", blockwidth).on("mousedown", (event) => {
915
- const body = select_default(document.body);
916
- const x = event.clientX;
917
- const y = event.clientY;
918
- const oldx = Number.parseInt(this.canvas.style("left"));
919
- const oldy = Number.parseInt(this.canvas.style("top"));
920
- body.on("mousemove", (event2) => {
921
- const xoff = event2.clientX - x;
922
- const yoff = event2.clientY - y;
923
- this.xBlock.block.panning(xoff);
924
- this.yBlock.block.panning(yoff);
925
- this.canvas.style("left", `${oldx + xoff}px`).style("top", `${oldy + yoff}px`);
926
- });
927
- body.on("mouseup", (event2) => {
928
- body.on("mousemove", null).on("mouseup", null);
929
- const xoff = event2.clientX - x;
930
- const yoff = event2.clientY - y;
931
- this.xBlock.block.pannedby(xoff);
932
- this.yBlock.block.pannedby(yoff);
933
- });
934
- });
935
- }
936
- async render() {
937
- this.calcResolution = this.parent("calcResolution");
938
- const state = this.parent("state");
939
- this.xBlock = new DetailBlock(
940
- this.app,
941
- this.hic,
942
- state.settings.widthHeightPx,
943
- this.bbmargin,
944
- this.plotDiv.xAxis,
945
- false
946
- );
947
- this.yBlock = new DetailBlock(this.app, this.hic, state.settings.widthHeightPx, this.bbmargin, this.rotor, true);
948
- this.renderCanvas(state.settings.widthHeightPx);
949
- await this.xBlock.loadBlock(state.x, this.canvasHolder, this.canvas);
950
- await this.yBlock.loadBlock(state.y, this.canvasHolder, this.canvas, this.sheath);
951
- this.update(this.data);
952
- }
953
- async update(data) {
954
- if (data.items.length == 0) {
955
- this.app.dispatch({ type: "loading_active", active: false });
956
- return;
957
- }
958
- this.data = data;
959
- const state = this.parent("state");
960
- const initialWidth = Number.parseInt(this.canvas.attr("width"));
961
- const holderChange = Number.parseInt(this.canvasHolder.style("width")) - initialWidth + state.settings.widthHeightPx;
962
- this.canvasHolder.style("width", `${holderChange}px`).style("height", `${holderChange}px`);
963
- this.canvas.attr("width", `${state.settings.widthHeightPx}px`).attr("height", `${state.settings.widthHeightPx}px`);
964
- if (this.xBlock.block.width != state.settings.widthHeightPx) {
965
- this.xBlock.block.width = state.settings.widthHeightPx;
966
- this.yBlock.block.width = state.settings.widthHeightPx;
967
- this.xBlock.block.zoom2px(0, initialWidth);
968
- this.yBlock.block.zoom2px(0, initialWidth);
969
- }
970
- this.ctx = this.canvas.node().getContext("2d");
971
- const coords = this.coordinates.getCoordinates(
972
- state.x,
973
- state.y,
974
- this.parent("data"),
975
- this.parent("calcResolution"),
976
- state.settings.widthHeightPx,
977
- this.parent("fragData")
978
- );
979
- this.coords = coords;
980
- this.ctx.clearRect(0, 0, state.settings.widthHeightPx, state.settings.widthHeightPx);
981
- for (const [xCoord, yCoord, width, height, value] of this.coords) {
982
- this.colorizeElement.colorizeElement(
983
- xCoord,
984
- yCoord,
985
- value,
986
- this.ctx,
987
- width,
988
- height,
989
- this.parent("min"),
990
- this.parent("max"),
991
- "detail"
992
- );
993
- }
994
- this.app.dispatch({ type: "loading_active", active: false });
995
- }
996
- };
997
-
998
- // tracks/hic/axes/Chromosome.ts
999
- var Chromosome = class {
1000
- constructor(chr, width) {
1001
- this.label = chr;
1002
- this.width = width;
1003
- }
1004
- };
1005
-
1006
- // tracks/hic/grid/Grid.ts
1007
- var Grid = class _Grid {
1008
- constructor(chrlst, resolution, chrlookup, binpx) {
1009
- this.chromosomeMatrix = /* @__PURE__ */ new Map();
1010
- this.chromosomeList = [];
1011
- this.xoff = 0;
1012
- this.yoff = 0;
1013
- this.chr2px = [];
1014
- this.chrlst = chrlst;
1015
- let totalpx = this.chrlst.length;
1016
- for (const chr of this.chrlst) {
1017
- const w = Math.ceil(chrlookup[chr.toUpperCase()].len / resolution) * binpx;
1018
- const chromosome = new Chromosome(chr, w);
1019
- this.chromosomeList.push(chromosome);
1020
- this.chr2px[chr] = w;
1021
- totalpx += w;
1022
- }
1023
- this.totalpx = totalpx;
1024
- for (let i = 0; i < this.chrlst.length; i++) {
1025
- const chrx = this.chrlst[i];
1026
- this.chromosomeMatrix.set(chrx, /* @__PURE__ */ new Map());
1027
- let yoff = 0;
1028
- for (let j = 0; j <= i; j++) {
1029
- const chry = this.chrlst[j];
1030
- const chrxChrLen = chrlookup[chrx.toUpperCase()].len;
1031
- const chryChrLen = chrlookup[chry.toUpperCase()].len;
1032
- const xbins = Math.ceil(chrxChrLen / resolution) * binpx;
1033
- const ybins = Math.ceil(chryChrLen / resolution) * binpx;
1034
- this.chromosomeMatrix.get(chrx).set(chry, {
1035
- x: this.xoff,
1036
- y: yoff,
1037
- xbins,
1038
- ybins,
1039
- data: []
1040
- //Empty array of data to fill later
1041
- });
1042
- yoff += this.chr2px[chry] + _Grid.borderWidth;
1043
- }
1044
- this.yoff = yoff;
1045
- this.xoff += this.chr2px[chrx] + _Grid.borderWidth;
1046
- }
1047
- }
1048
- static {
1049
- this.checkerFill = "#DEF3FA";
1050
- }
1051
- static {
1052
- this.spaceColor = "#CCC";
1053
- }
1054
- static {
1055
- this.fontSize = 15;
1056
- }
1057
- static {
1058
- this.font = font;
1059
- }
1060
- static {
1061
- this.borderWidth = 1;
1062
- }
1063
- static {
1064
- this.defaultChrLabWidth = 100;
1065
- }
1066
- };
1067
-
1068
- // tracks/hic/viewmodel/GridViewModel.ts
1069
- var GridViewModel = class {
1070
- constructor(opts) {
1071
- this.grid = new Grid(opts.hic.chrlst, opts.resolution || opts.hic.bpresolution[0], opts.hic.genome.chrlookup, 1);
1072
- }
1073
- };
1074
-
1075
- // tracks/hic/grid/GridRenderer.ts
1076
- var GridRenderer = class {
1077
- constructor(svg, layerMap, layerSv, grid) {
1078
- this.svg = svg;
1079
- this.layerMap = layerMap.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1080
- this.layerSv = layerSv.attr("transform", `translate(${Grid.defaultChrLabWidth}, ${Grid.fontSize})`);
1081
- this.grid = grid;
1082
- }
1083
- render() {
1084
- this.renderAxisX(this.grid);
1085
- this.renderAxisY(this.grid);
1086
- this.svg.attr("width", Grid.defaultChrLabWidth + this.grid.xoff).attr("height", Grid.fontSize + this.grid.yoff);
1087
- }
1088
- renderAxisX(grid) {
1089
- let xoff = 0;
1090
- this.grid.chromosomeList.forEach((chr, index) => {
1091
- const chrw = chr.width;
1092
- if (index % 2 === 0) {
1093
- this.layerMap.append("rect").attr("x", xoff).attr("width", chrw).attr("height", Grid.fontSize).attr("y", -Grid.fontSize).attr("fill", Grid.checkerFill);
1094
- }
1095
- this.layerMap.append("text").attr("data-testid", `sjpp-hic-chr-xAxis-label`).attr("font-family", Grid.font).attr("text-anchor", "middle").attr("font-size", 12).attr("x", xoff + chrw / 2).text(chr.label);
1096
- xoff += chrw;
1097
- this.layerSv.append("line").attr("x1", xoff).attr("x2", xoff).attr("y2", grid.totalpx).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1098
- xoff += Grid.borderWidth;
1099
- });
1100
- }
1101
- renderAxisY(grid) {
1102
- let yoff = 0;
1103
- this.grid.chromosomeList.forEach((chr, index) => {
1104
- const chrh = chr.width;
1105
- if (index % 2 === 0) {
1106
- this.layerMap.append("rect").attr("x", -Grid.defaultChrLabWidth).attr("width", Grid.defaultChrLabWidth).attr("height", chrh).attr("y", yoff).attr("fill", Grid.checkerFill);
1107
- }
1108
- this.layerMap.append("text").attr("data-testid", `sjpp-hic-chr-yAxis-label`).attr("font-family", Grid.font).attr("text-anchor", "end").attr("dominant-baseline", "central").attr("font-size", 12).attr("y", yoff + chrh / 2).text(chr.label);
1109
- yoff += chrh;
1110
- this.layerSv.append("line").attr("x2", grid.totalpx).attr("y1", yoff).attr("y2", yoff).attr("stroke", Grid.spaceColor).attr("shape-rendering", "crispEdges");
1111
- yoff += Grid.borderWidth;
1112
- });
1113
- }
1114
- };
1115
-
1116
- // tracks/hic/genome/ChrsTooltips.ts
1117
- var ChrsTooltips = class {
1118
- constructor() {
1119
- this.chrx_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1120
- this.chry_tip = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1121
- }
1122
- render(img, chrx, chry) {
1123
- const p = img.node().getBoundingClientRect();
1124
- this.chrx_tip.clear().show(p.left, p.top).d.style("top", null).attr("data-testid", "sjpp-hic-chrx-tooltip").style("bottom", window.innerHeight - p.top - window.pageYOffset + "px").text(chrx);
1125
- this.chry_tip.clear().show(p.left, p.top).d.style("left", null).attr("data-testid", "sjpp-hic-chry-tooltip").style("right", document.body.clientWidth - p.left - window.pageXOffset + "px").text(chry);
1126
- }
1127
- };
1128
-
1129
- // tracks/hic/grid/GridElementRenderer.ts
1130
- var GridElementRenderer = class {
1131
- constructor(layerMap, app) {
1132
- this.app = app;
1133
- this.layerMap = layerMap;
1134
- this.tooltips = new ChrsTooltips();
1135
- }
1136
- render(obj, lead, follow, holder) {
1137
- obj.canvas = holder.append("canvas").style("display", "none").node();
1138
- obj.ctx = obj.canvas.getContext("2d");
1139
- obj.canvas.width = obj.xbins;
1140
- obj.canvas.height = obj.ybins;
1141
- obj.img = this.layerMap.append("image").attr("width", obj.canvas.width).attr("height", obj.canvas.height).attr("x", obj.x).attr("y", obj.y).on("click", async () => {
1142
- await this.app.dispatch({
1143
- type: "view_create",
1144
- view: "chrpair",
1145
- config: {
1146
- x: {
1147
- chr: lead
1148
- },
1149
- y: {
1150
- chr: follow
1151
- }
1152
- }
1153
- });
1154
- }).on("mouseover", () => {
1155
- this.tooltips.render(obj.img, lead, follow);
1156
- });
1157
- if (lead != follow) {
1158
- obj.canvas2 = holder.append("canvas").style("display", "none").node();
1159
- obj.canvas2.width = obj.ybins;
1160
- obj.canvas2.height = obj.xbins;
1161
- obj.ctx2 = obj.canvas2.getContext("2d");
1162
- obj.img2 = this.layerMap.append("image").attr("width", obj.canvas2.width).attr("height", obj.canvas2.height).attr("x", obj.y).attr("y", obj.x).on("click", async () => {
1163
- await this.app.dispatch({
1164
- type: "view_create",
1165
- view: "chrpair",
1166
- config: {
1167
- x: {
1168
- chr: follow
1169
- },
1170
- y: {
1171
- chr: lead
1172
- }
1173
- }
1174
- });
1175
- }).on("mouseover", () => {
1176
- this.tooltips.render(obj.img2, follow, lead);
1177
- });
1178
- } else {
1179
- obj.ctx2 = obj.ctx;
1180
- }
1181
- }
1182
- };
1183
-
1184
- // tracks/hic/grid/GridElementsRenderer.ts
1185
- var GridElementsRenderer = class {
1186
- constructor(grid, layerMap, app) {
1187
- this.grid = grid;
1188
- this.gridElementRenderer = new GridElementRenderer(layerMap, app);
1189
- }
1190
- render(holder) {
1191
- for (const [chrx, chryMap] of this.grid.chromosomeMatrix) {
1192
- for (const [chry, gridElem] of chryMap) {
1193
- this.gridElementRenderer.render(gridElem, chrx, chry, holder);
1194
- }
1195
- }
1196
- }
1197
- };
1198
-
1199
- // tracks/hic/genome/GenomeView.ts
1200
- var GenomeView = class {
1201
- constructor(opts) {
1202
- /** Dom */
1203
- this.tip = new Menu();
1204
- this.pica_x = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1205
- this.pica_y = new Menu({ border: "solid 1px #ccc", padding: "0px", offsetX: 0, offsetY: 0 });
1206
- /** Data */
1207
- /** px width for each chr */
1208
- this.chr2px = {};
1209
- this.lead2follow = /* @__PURE__ */ new Map();
1210
- this.values = [];
1211
- /** Defaults */
1212
- this.defaultChrLabWidth = 100;
1213
- this.borderwidth = 1;
1214
- this.default_maxVPerc = 5;
1215
- this.fontsize = 15;
1216
- this.xoff = 0;
1217
- this.yoff = 0;
1218
- this.binpx = 1;
1219
- this.atdev_chrnum = 8;
1220
- this.min = 0;
1221
- this.max = 0;
1222
- this.app = opts.app;
1223
- this.hic = opts.hic;
1224
- this.plotDiv = opts.plotDiv;
1225
- this.data = opts.data;
1226
- this.parent = opts.parent;
1227
- this.resolution = opts.resolution || opts.hic.bpresolution[0];
1228
- this.svg = this.plotDiv.plot.append("svg").attr("data-testid", "sjpp-hic-genome-svg");
1229
- this.layer_map = this.svg.append("g").attr("data-testid", "sjpp-hic-layerMap-g");
1230
- this.layer_sv = this.svg.append("g").attr("data-testid", "sjpp-hic-layerSv-g");
1231
- this.colorizeElement = new ColorizeElement();
1232
- this.viewModel = new GridViewModel(opts);
1233
- this.viewRender = new GridRenderer(this.svg, this.layer_map, this.layer_sv, this.viewModel.grid);
1234
- this.gridElementsRenderer = new GridElementsRenderer(this.viewModel.grid, this.layer_map, this.app);
1235
- this.gridFormattedData = new GridElementsFormattedData();
1236
- }
1237
- makeSv() {
1238
- const unknownchr = /* @__PURE__ */ new Set();
1239
- const radius = 8;
1240
- for (const item of this.hic.sv.items) {
1241
- const _o = this.lead2follow.get(item.chr1);
1242
- if (!_o) {
1243
- unknownchr.add(item.chr1);
1244
- continue;
1245
- }
1246
- const obj = _o.get(item.chr2);
1247
- if (!obj) {
1248
- unknownchr.add(item.chr2);
1249
- continue;
1250
- }
1251
- const p1 = item.position1 / this.resolution;
1252
- const p2 = item.position2 / this.resolution;
1253
- this.layer_sv.append("circle").attr("data-testid", "sjpp-hic-genome-view-sv-circle").attr("stroke", "black").attr("fill", "white").attr("fill-opacity", 0).attr("cx", obj.x + p1).attr("cy", obj.y + p2).attr("r", radius).on("mouseover", (event) => {
1254
- this.tooltipSv(event, item);
1255
- }).on("mouseout", () => {
1256
- this.tip.hide();
1257
- }).on("click", () => {
1258
- this.clickSv(item);
1259
- });
1260
- if (obj.img2) {
1261
- this.layer_sv.append("circle").attr("data-testid", "sjpp-hic-genome-view-sv-circle-2").attr("stroke", "black").attr("fill", "white").attr("fill-opacity", 0).attr("cy", obj.x + p1).attr("cx", obj.y + p2).attr("r", radius).on("mouseover", (event) => {
1262
- this.tooltipSv(event, item);
1263
- }).on("mouseout", () => {
1264
- this.tip.hide();
1265
- }).on("click", () => {
1266
- this.clickSv(item);
1267
- });
1268
- }
1269
- }
1270
- }
1271
- tooltipSv(event, item) {
1272
- this.tip.clear().show(event.clientX, event.clientY).d.append("div").text(
1273
- item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`
1274
- );
1275
- }
1276
- clickSv(item) {
1277
- const default_svpointspan = 5e5;
1278
- const default_subpanelpxwidth = 600;
1279
- const subpanel_bordercolor = "rgba(200,0,0,.1)";
1280
- const pane = newpane({ x: 100, y: 100 });
1281
- pane.header.text(
1282
- this.hic.name + " " + (item.chr1 == item.chr2 ? `${item.chr1}:${item.position1}-${item.position2}` : `${item.chr1}:${item.position1}>${item.chr2}:${item.position2}`)
1283
- );
1284
- const tracks = [
1285
- {
1286
- type: tkt.hicstraw,
1287
- file: this.hic.file,
1288
- enzyme: this.hic.enzyme,
1289
- maxpercentage: this.default_maxVPerc,
1290
- pyramidup: 1,
1291
- name: this.hic.name
1292
- }
1293
- ];
1294
- if (this.hic.tklst) {
1295
- for (const t of this.hic.tklst) {
1296
- tracks.push(t);
1297
- }
1298
- }
1299
- first_genetrack_tolist(this.hic.genome, tracks);
1300
- const arg = {
1301
- holder: pane.body,
1302
- hostURL: this.hic.hostURL,
1303
- jwt: this.hic.jwt,
1304
- genome: this.hic.genome,
1305
- nobox: 1,
1306
- tklst: tracks
1307
- };
1308
- if (item.chr1 == item.chr2 && Math.abs(item.position2 - item.position1) < default_svpointspan * 2) {
1309
- arg.chr = item.chr1;
1310
- const w = Math.abs(item.position2 - item.position1);
1311
- arg.start = Math.max(1, Math.min(item.position1, item.position2) - w);
1312
- arg.stop = Math.min(
1313
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1314
- Math.max(item.position1, item.position2) + w
1315
- );
1316
- } else {
1317
- arg.chr = item.chr1;
1318
- arg.start = Math.max(1, item.position1 - default_svpointspan / 2);
1319
- arg.stop = Math.min(
1320
- this.hic.genome.chrlookup[item.chr1.toUpperCase()].len,
1321
- item.position1 + default_svpointspan / 2
1322
- );
1323
- arg.width = default_subpanelpxwidth;
1324
- arg.subpanels = [
1325
- {
1326
- chr: item.chr2,
1327
- start: Math.max(1, item.position2 - default_svpointspan / 2),
1328
- stop: Math.min(
1329
- this.hic.genome.chrlookup[item.chr2.toUpperCase()].len,
1330
- item.position2 + default_svpointspan / 2
1331
- ),
1332
- width: default_subpanelpxwidth,
1333
- leftpad: 10,
1334
- leftborder: subpanel_bordercolor
1335
- }
1336
- ];
1337
- }
1338
- blocklazyload(arg);
1339
- }
1340
- render() {
1341
- this.viewRender.render();
1342
- this.gridElementsRenderer.render(this.hic.holder);
1343
- if (this.hic.sv && this.hic.sv.items) {
1344
- this.makeSv();
1345
- }
1346
- this.update(this.data);
1347
- }
1348
- update(data) {
1349
- this.data = data;
1350
- this.min = this.parent("min");
1351
- this.max = this.parent("max");
1352
- for (const data2 of this.data) {
1353
- if (!this.hic.chrlst.includes(data2.lead) || !this.hic.chrlst.includes(data2.follow)) continue;
1354
- const obj = this.viewModel.grid.chromosomeMatrix.get(data2.lead).get(data2.follow);
1355
- if (!obj) continue;
1356
- obj.ctx.clearRect(0, 0, obj.canvas.width, obj.canvas.height);
1357
- if (obj.canvas2) {
1358
- obj.ctx2.clearRect(0, 0, obj.canvas2.width, obj.canvas.height);
1359
- }
1360
- obj.data = this.gridFormattedData.formatData("genome", data2.items, this.binpx, this.resolution);
1361
- for (const [xPx, yPx, value] of obj.data) {
1362
- this.colorizeElement.colorizeElement(xPx, yPx, value, obj, this.binpx, this.binpx, this.min, this.max, "genome");
1363
- }
1364
- obj.img.attr("xlink:href", obj.canvas.toDataURL());
1365
- if (obj.canvas2) {
1366
- obj.img2.attr("xlink:href", obj.canvas2.toDataURL());
1367
- }
1368
- }
1369
- this.app.dispatch({ type: "loading_active", active: false });
1370
- }
1371
- };
1372
-
1373
- // tracks/hic/controls/NormalizationMethodControl.ts
1374
- var NormalizationMethodControl = class {
1375
- constructor(holder, normalization, defaultNmeth, callback) {
1376
- this.holder = holder;
1377
- this.normalization = normalization;
1378
- this.defaultNmeth = defaultNmeth;
1379
- this.callback = callback;
1380
- }
1381
- render() {
1382
- if (!this.normalization?.length) {
1383
- this.nmethSelect = this.holder.text(this.defaultNmeth);
1384
- } else {
1385
- this.nmethSelect = this.holder.attr("data-testid", "sjpp-hic-nmeth-select").style("margin-right", "10px").append("select").on("change", async () => {
1386
- const nmeth = this.nmethSelect.node().value;
1387
- this.callback(nmeth, "nmeth");
1388
- });
1389
- for (const n of this.normalization) {
1390
- this.nmethSelect.append("option").text(n);
1391
- }
1392
- }
1393
- }
1394
- update(option) {
1395
- const options = this.nmethSelect.node().options;
1396
- if (!options) return;
1397
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1398
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1399
- selectedNmeth.selected = true;
1400
- }
1401
- };
1402
-
1403
- // tracks/hic/controls/CutoffControl.ts
1404
- var CutoffControl = class {
1405
- constructor(holder, value, callback) {
1406
- this.holder = holder;
1407
- this.value = value;
1408
- this.callback = callback;
1409
- }
1410
- render(opts) {
1411
- const cutoffDiv = this.holder.attr("data-testid", "sjpp-hic-cutoff-control").style("margin-right", "10px").append("input").attr("type", "number").style("width", opts && "width" in opts ? opts.width : "80px").style("margin-left", "0px").attr("type", "number").property("value", this.value).on("keyup", async (event) => {
1412
- if (event.code != "Enter") return;
1413
- const v = event.target.value;
1414
- this.callback(v);
1415
- });
1416
- return cutoffDiv;
1417
- }
1418
- };
1419
-
1420
- // tracks/hic/controls/MatrixTypeControl.ts
1421
- var MatrixTypeControl = class {
1422
- constructor(holder, callback) {
1423
- this.values = [
1424
- { label: "Observed", value: "observed" },
1425
- { label: "Expected", value: "expected" },
1426
- { label: "Observed/Expected", value: "oe" },
1427
- { label: "Log(Observed/Expected)", value: "log(oe)" }
1428
- // TODO: add server side logic to support these options
1429
- // { label: 'Log(Observed + 1)', value: 'log(obs+1)'},
1430
- // { label: 'Observed Pearson', value: 'op'}
1431
- ];
1432
- this.holder = holder;
1433
- this.callback = callback;
1434
- }
1435
- render() {
1436
- this.matrixSelect = this.holder.attr("data-testid", "sjpp-hic-matrix-type-select").style("margin-right", "10px").append("select").on("change", async () => {
1437
- this.callback(this.matrixSelect.node().value, "matrixType");
1438
- });
1439
- for (const matrixType of this.values) {
1440
- this.matrixSelect.append("option").text(matrixType.label).attr("value", matrixType.value);
1441
- }
1442
- }
1443
- update(option) {
1444
- const options = this.matrixSelect.node().options;
1445
- if (!options) return;
1446
- const selectedNmeth = Array.from(options).find((o) => o.value === option);
1447
- if (!selectedNmeth) throw `Invalid normalization method: ${option}`;
1448
- selectedNmeth.selected = true;
1449
- }
1450
- };
1451
-
1452
- // tracks/hic/controls/ControlPanel.ts
1453
- var ControlPanel = class _ControlPanel {
1454
- constructor(opts) {
1455
- this.zoomBlockCallback = (bool) => {
1456
- const detailView = this.parent("detail");
1457
- detailView.xBlock.block.zoomblock(2, bool);
1458
- detailView.yBlock.block.zoomblock(2, bool);
1459
- };
1460
- this.minCallback = (v) => {
1461
- if (Number(v) > Number(this.parent("max"))) {
1462
- this.error("Min cutoff cannot be greater than max cutoff");
1463
- } else {
1464
- this.parent("min", Number(v));
1465
- this.reColorHeatmap();
1466
- this.parent("infoBar").update();
1467
- }
1468
- };
1469
- this.maxCallback = (v) => {
1470
- if (Number(v) < Number(this.parent("min"))) {
1471
- this.error(`Max cutoff cannot be less than min cutoff`);
1472
- } else if (Number(v) < 0) {
1473
- this.error(`Max cutoff cannot be less than 0`);
1474
- } else {
1475
- this.parent("max", Number(v));
1476
- this.reColorHeatmap();
1477
- this.parent("infoBar").update();
1478
- }
1479
- };
1480
- this.reColorHeatmap = () => {
1481
- if (this.parent("activeView") == "genome") {
1482
- const genomeView = this.parent("genome");
1483
- const chrMatrix = genomeView.viewRender.grid.chromosomeMatrix;
1484
- if (!chrMatrix) return;
1485
- for (const map of chrMatrix) {
1486
- const yMap = map[1];
1487
- for (const obj of yMap) {
1488
- const canvasObj = obj[1];
1489
- if (!canvasObj) continue;
1490
- for (const [leadpx, followpx, val] of canvasObj.data) {
1491
- this.colorizeElement.colorizeElement(
1492
- leadpx,
1493
- followpx,
1494
- val,
1495
- canvasObj,
1496
- 1,
1497
- 1,
1498
- this.parent("min"),
1499
- this.parent("max"),
1500
- "genome"
1501
- );
1502
- }
1503
- canvasObj.img.attr("xlink:href", canvasObj.canvas.toDataURL());
1504
- if (canvasObj.canvas2) {
1505
- canvasObj.img2.attr("xlink:href", canvasObj.canvas2.toDataURL());
1506
- }
1507
- }
1508
- }
1509
- } else if (this.parent("activeView") == "chrpair") {
1510
- const view = this.parent("chrpair");
1511
- for (const [xCoord, yCoord, val] of view.data) {
1512
- this.colorizeElement.colorizeElement(
1513
- xCoord,
1514
- yCoord,
1515
- val,
1516
- view.ctx,
1517
- view.binpx,
1518
- view.binpx,
1519
- this.parent("min"),
1520
- this.parent("max"),
1521
- "chrpair"
1522
- );
1523
- }
1524
- } else if (this.parent("activeView") == "detail") {
1525
- const view = this.parent("detail");
1526
- for (const [xCoord, yCoord, width, height, value] of view.coords) {
1527
- this.colorizeElement.colorizeElement(
1528
- xCoord,
1529
- yCoord,
1530
- value,
1531
- view.ctx,
1532
- width,
1533
- height,
1534
- this.parent("min"),
1535
- this.parent("max"),
1536
- "detail"
1537
- );
1538
- }
1539
- }
1540
- };
1541
- this.dropdownCallback = (v, prop) => {
1542
- const state = this.app.getState();
1543
- this.app.dispatch({
1544
- type: "view_update",
1545
- view: state.currView,
1546
- config: { [prop]: v }
1547
- });
1548
- };
1549
- this.type = _ControlPanel.type;
1550
- this.controls = {};
1551
- this.app = opts.app;
1552
- this.controlsDiv = opts.controlsDiv;
1553
- this.hic = opts.hic;
1554
- this.colorizeElement = new ColorizeElement();
1555
- this.parent = opts.parent;
1556
- this.error = opts.error;
1557
- }
1558
- static {
1559
- this.type = "controlPanel";
1560
- }
1561
- getState(appState) {
1562
- return appState;
1563
- }
1564
- addLabel(tr, text) {
1565
- return tr.append("td").style("color", "#858585").style("font-size", ".8em").style("vertical-align", text.toUpperCase() == "VIEW" ? "top" : "middle").text(text.toUpperCase());
1566
- }
1567
- init() {
1568
- const state = this.app.getState();
1569
- const menuWrapper = this.controlsDiv.attr("data-testid", "sjpp-hic-control-panel").style("background", "rgb(253, 250, 244)").style("vertical-align", "top").style("padding", "5px").style("border", "solid 0.5px #ccc");
1570
- let menuVisible = true;
1571
- this.controlsDiv.append("button").attr("data-testid", "sjpp-hic-burger-btn").style("display", "block").style("border", "none").style("font-size", "1.5em").style("background", "none").html("&#8801;").on("click", () => {
1572
- menuVisible = !menuVisible;
1573
- menu.style("display", menuVisible ? "block" : "none");
1574
- });
1575
- const menu = menuWrapper.append("div").attr("class", "sjpp-hic-menu").attr("data-testid", "sjpp-hic-menu").style("display", menuVisible ? "block" : "none");
1576
- const menuTable = menu.append("table").style("border-spacing", "3px");
1577
- this.controls.normalizationRow = menuTable.append("tr");
1578
- this.addLabel(this.controls.normalizationRow, "NORMALIZATION");
1579
- this.controls.nmeth = new NormalizationMethodControl(
1580
- this.controls.normalizationRow.append("td").attr("class", "sjpp-nmeth-select"),
1581
- this.hic.normalization,
1582
- state.defaultNmeth,
1583
- this.dropdownCallback
1584
- );
1585
- this.controls.nmeth.render();
1586
- this.controls.minCutoffRow = menuTable.append("tr");
1587
- this.controls.minCutoffLabel = this.addLabel(this.controls.minCutoffRow, "");
1588
- this.controls.inputBpMinV = new CutoffControl(
1589
- this.controls.minCutoffRow.append("td"),
1590
- this.parent("min"),
1591
- this.minCallback
1592
- ).render({ width: "120px" });
1593
- this.controls.maxCutoffRow = menuTable.append("tr");
1594
- this.controls.maxCutoffLabel = this.addLabel(this.controls.maxCutoffRow, "");
1595
- this.controls.inputBpMaxV = new CutoffControl(
1596
- this.controls.maxCutoffRow.append("td"),
1597
- this.parent("max"),
1598
- this.maxCallback
1599
- ).render({ width: "120px" });
1600
- this.controls.matrixTypeRow = menuTable.append("tr");
1601
- this.addLabel(this.controls.matrixTypeRow, "matrix type");
1602
- this.controls.matrixType = new MatrixTypeControl(this.controls.matrixTypeRow.append("td"), this.dropdownCallback);
1603
- this.controls.matrixType.render();
1604
- this.controls.widthRow = menuTable.append("tr");
1605
- this.addLabel(this.controls.widthRow, "WIDTH / height");
1606
- this.controls.width = this.controls.widthRow.append("td");
1607
- this.controls.width.attr("data-testid", "sjpp-hic-block-size-input").style("margin-right", "10px").append("input").attr("type", "number").style("width", "80px").style("margin-left", "0px").attr("type", "number").property("value", state.width).on("keyup", async (event) => {
1608
- if (event.code != "Enter") return;
1609
- const v = event.target.value;
1610
- this.app.dispatch({
1611
- type: "view_update",
1612
- config: {
1613
- settings: { widthHeightPx: Number.parseInt(v) }
1614
- }
1615
- });
1616
- });
1617
- const viewRow = menuTable.append("tr");
1618
- this.addLabel(viewRow, "VIEW");
1619
- const viewBtnDiv = viewRow.append("td");
1620
- this.controls.view = viewBtnDiv.append("span").attr("data-testid", "sjpp-hic-view-span").style("padding-right", "5px").style("display", "block");
1621
- this.controls.genomeViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-genome-view-btn").style("display", "none").style("padding", "2px").style("margin-top", "4px").html("&#8810; Genome").on("click", async () => {
1622
- await this.app.dispatch({
1623
- type: "view_create",
1624
- view: "genome",
1625
- config: {
1626
- x: {},
1627
- y: {}
1628
- }
1629
- });
1630
- });
1631
- this.controls.chrpairViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-chrpair-view-btn").style("display", "none").style("padding", "2px").style("margin", "4px 0px").on("click", async () => {
1632
- const currState = this.app.getState();
1633
- await this.app.dispatch({
1634
- type: "view_create",
1635
- view: "chrpair",
1636
- config: {
1637
- x: {
1638
- chr: currState.x.chr
1639
- },
1640
- y: {
1641
- chr: currState.y.chr
1642
- }
1643
- }
1644
- });
1645
- });
1646
- this.controls.horizontalViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-horizontal-view-btn").style("display", "none").style("padding", "2px").style("margin", "4px 0px").html("Horizontal View &#8811;").on("click", async () => {
1647
- await this.app.dispatch({
1648
- type: "view_create",
1649
- view: "horizontal"
1650
- });
1651
- });
1652
- this.controls.detailViewBtn = viewBtnDiv.append("button").attr("data-testid", "sjpp-hic-detail-view-btn").style("display", "none").style("padding", "2px").style("margin", "4px 0px").html("&#8810; Detailed View").on("click", async () => {
1653
- await this.app.dispatch({
1654
- type: "view_create",
1655
- view: "detail"
1656
- });
1657
- });
1658
- this.controls.zoomDiv = menuTable.append("tr").attr("data-testid", "sjpp-hic-zoom-div").style("display", state.currView == "detail" ? "contents" : "none");
1659
- this.addLabel(this.controls.zoomDiv, "ZOOM");
1660
- const zoomDiv = this.controls.zoomDiv.append("td");
1661
- this.controls.zoomIn = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-in-btn").style("margin-right", "10px").text("In").on("click", () => {
1662
- this.zoomBlockCallback(false);
1663
- });
1664
- this.controls.zoomOut = zoomDiv.append("button").attr("data-testid", "sjpp-hic-zoom-out-btn").style("margin-right", "10px").text("Out").on("click", () => {
1665
- this.zoomBlockCallback(true);
1666
- });
1667
- }
1668
- showBtns() {
1669
- const state = this.app.getState();
1670
- this.controls.genomeViewBtn.style("display", state.currView === "genome" ? "none" : "inline-block");
1671
- if (state.currView === "detail") {
1672
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1673
- this.controls.horizontalViewBtn.style("display", "block");
1674
- this.controls.zoomDiv.style("display", "contents");
1675
- this.controls.detailViewBtn.style("display", "none");
1676
- } else if (state.currView === "horizontal") {
1677
- this.controls.chrpairViewBtn.html(`&#8810; Entire ${state.x.chr}-${state.y.chr}`).style("display", "block");
1678
- this.controls.detailViewBtn.style("display", "block");
1679
- this.controls.horizontalViewBtn.style("display", "none");
1680
- this.controls.zoomDiv.style("display", "none");
1681
- } else {
1682
- this.controls.chrpairViewBtn.style("display", "none");
1683
- this.controls.horizontalViewBtn.style("display", "none");
1684
- this.controls.detailViewBtn.style("display", "none");
1685
- this.controls.zoomDiv.style("display", "none");
1686
- this.controls.widthRow.style("display", "none");
1687
- }
1688
- }
1689
- showHideControls() {
1690
- const state = this.app.getState();
1691
- this.controls.normalizationRow.style("display", state.currView == "horizontal" ? "none" : "");
1692
- this.controls.minCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1693
- this.controls.maxCutoffRow.style("display", state.currView == "horizontal" ? "none" : "");
1694
- this.controls.matrixTypeRow.style("display", state.currView == "horizontal" ? "none" : "");
1695
- this.controls.widthRow.style("display", state.currView == "detail" ? "contents" : "none");
1696
- }
1697
- main(appState) {
1698
- const state = this.app.getState(appState);
1699
- this.controls.nmeth.update(state[state.currView].nmeth);
1700
- this.controls.matrixType.update(state[state.currView].matrixType);
1701
- this.controls.zoomDiv.style("display", state.currView == "detail" ? "contents" : "none");
1702
- if (state.currView == "chrpair") {
1703
- this.controls.view.text(`${state.x.chr}-${state.y.chr} Pair`);
1704
- } else {
1705
- this.controls.view.text(state.currView.charAt(0).toUpperCase() + state.currView.slice(1));
1706
- }
1707
- const formatAbsMin = this.parent("absMin") < 1e-5 ? Number(this.parent("absMin")).toExponential(1) : Number(this.parent("absMin").toFixed(6));
1708
- const formatAbsMax = this.parent("absMax") < 1e-5 ? Number(this.parent("absMax")).toExponential(1) : Number(this.parent("absMax").toFixed(6));
1709
- this.controls.width.select("input").property("value", state.settings.widthHeightPx);
1710
- this.controls.inputBpMinV.property("value", this.parent("min"));
1711
- this.controls.inputBpMaxV.property("value", this.parent("max"));
1712
- this.controls.minCutoffLabel.html(`MIN CUTOFF <br>(>= ${formatAbsMin})`);
1713
- this.controls.maxCutoffLabel.html(`MAX CUTOFF <br>(<= ${formatAbsMax})`);
1714
- this.showBtns();
1715
- this.showHideControls();
1716
- }
1717
- };
1718
- var controlPanelInit = getCompInit(ControlPanel);
1719
-
1720
- // tracks/hic/dom/InfoBar.ts
1721
- var InfoBar = class {
1722
- constructor(opts) {
1723
- /** Defaults **/
1724
- //Color shown on the left of the color scale
1725
- this.startColor = "white";
1726
- //Color shown on the right of the color scale
1727
- this.endColor = "red";
1728
- this.addLabel = (text) => {
1729
- return this.labelRow.append("td").attr("data-testid", `sjpp-hic-infobar-${text.toLowerCase().replace(/\s/g, "-")}-label`).style("color", "#858585").style("font-size", ".8em").style("text-align", "center").style("vertical-align", "middle").text(text.toUpperCase());
1730
- };
1731
- this.addValue = (text) => {
1732
- return this.valueRow.append("td").attr("data-testid", `sjpp-hic-infobar-${text.toString().toLowerCase().replace(/\s/g, "-")}-value`).style("font-size", "1em").style("text-align", "center").style("vertical-align", "middle").text(text);
1733
- };
1734
- this.type = "infoBar";
1735
- this.app = opts.app;
1736
- this.hic = opts.hic;
1737
- const table = opts.infoBarDiv;
1738
- this.labelRow = table.append("tr");
1739
- this.valueRow = table.append("tr");
1740
- this.parent = opts.parent;
1741
- }
1742
- async render() {
1743
- this.addLabel("Version");
1744
- this.addValue(this.hic.version);
1745
- this.addLabel("Enzyme");
1746
- this.addValue(this.hic.enzyme || "N/A");
1747
- this.addLabel("Resolution");
1748
- this.resolutionDiv = this.addValue("");
1749
- this.colorScaleLabel = this.addLabel("Scale");
1750
- this.colorScaleDiv = this.valueRow.append("td").attr("data-testid", "sjpp-hic-color-scale");
1751
- const min = this.parent("min");
1752
- let max = this.parent("max");
1753
- if (min == max) max = max + 0.01;
1754
- this.colorScale = new ColorScale({
1755
- barheight: 20,
1756
- barwidth: 100,
1757
- domain: [min, max],
1758
- fontSize: 12,
1759
- height: 40,
1760
- width: 150,
1761
- holder: this.colorScaleDiv,
1762
- colors: [this.startColor, this.endColor],
1763
- position: "20,0",
1764
- ticks: 3,
1765
- tickSize: 5,
1766
- //Do not use min value here on initialization. It's 0 and will not update later.
1767
- markedValue: 1
1768
- });
1769
- }
1770
- update() {
1771
- const res = this.parent("calcResolution");
1772
- let resolutionText;
1773
- if (res < this.hic.bpresolution[this.hic.bpresolution.length - 1]) {
1774
- resolutionText = `${res} fragment${res > 1 ? "s" : ""}`;
1775
- } else {
1776
- resolutionText = bplen(res);
1777
- }
1778
- this.resolutionDiv.text(resolutionText);
1779
- if (this.parent("state").currView == "horizontal") {
1780
- this.colorScaleLabel.style("display", "none");
1781
- this.colorScaleDiv.style("display", "none");
1782
- } else {
1783
- this.colorScaleLabel.style("display", "");
1784
- this.colorScaleDiv.style("display", "");
1785
- const min = this.parent("min");
1786
- const max = this.parent("max");
1787
- if (min < 0) {
1788
- this.colorScale.colors = ["blue", "white", "red"];
1789
- this.colorScale.domain = [min, 0, max];
1790
- } else {
1791
- this.colorScale.colors = ["white", "red"];
1792
- this.colorScale.domain = [0, max];
1793
- }
1794
- this.colorScale.markedValue = min;
1795
- this.colorScale.updateScale();
1796
- }
1797
- }
1798
- };
1799
-
1800
- // tracks/hic/data/DataMapper.ts
1801
- var DataMapper = class {
1802
- constructor(hic, percentile) {
1803
- this.hic = hic;
1804
- this.percentile = percentile ? percentile / 100 : 0.99;
1805
- }
1806
- sortData(data) {
1807
- const vlst = [];
1808
- if (data?.items && data?.items.length) {
1809
- for (const i of data.items) {
1810
- vlst.push(i[2]);
1811
- }
1812
- } else {
1813
- const blankChrs = /* @__PURE__ */ new Set();
1814
- for (const d of data) {
1815
- if (d.lead == "chrM" && !d.items.length || d.lead == "chrY" && !d.items.length) {
1816
- blankChrs.add(d.lead);
1817
- continue;
1818
- }
1819
- for (const i of d.items) {
1820
- vlst.push(i[2]);
1821
- }
1822
- }
1823
- if (blankChrs.size) {
1824
- for (const c of blankChrs) {
1825
- const idx = this.hic.chrlst.indexOf(c);
1826
- this.hic.chrlst.splice(idx, 1);
1827
- }
1828
- }
1829
- }
1830
- const sortedVlst = vlst.sort((a, b) => a - b);
1831
- const max = sortedVlst[Math.floor(sortedVlst.length * this.percentile)];
1832
- const min = sortedVlst[0];
1833
- return [min, max, sortedVlst[sortedVlst.length - 1]];
1834
- }
1835
- };
1836
-
1837
- // tracks/hic/data/GenomeDataFetcher.ts
1838
- var GenomeDataFetcher = class {
1839
- constructor(hic, debugmode, errList = []) {
1840
- this.data = [];
1841
- this.hic = hic;
1842
- this.debugmode = debugmode;
1843
- this.errList = errList || [];
1844
- }
1845
- async getData(obj) {
1846
- if (this.data.length) this.data = [];
1847
- if (!obj?.matrixType) obj.matrixType = "observed";
1848
- try {
1849
- const res = await dofetch3("hicgenome?", {
1850
- method: "POST",
1851
- body: JSON.stringify({
1852
- chrlst: this.hic.chrlst,
1853
- nmeth: obj.nmeth,
1854
- resolution: obj.resolution,
1855
- matrixType: obj.matrixType,
1856
- file: this.hic.file,
1857
- url: this.hic.url,
1858
- nochr: this.hic.nochr
1859
- })
1860
- });
1861
- if (res.error) {
1862
- const errs = res.error.split("\n");
1863
- for (const e of errs) {
1864
- this.errList.push(e);
1865
- }
1866
- }
1867
- return res.data;
1868
- } catch (e) {
1869
- this.errList.push(e.message || e);
1870
- if (e.stack) console.error(e.stack);
1871
- }
1872
- }
1873
- };
1874
-
1875
- // tracks/hic/data/DataFetcher.ts
1876
- var DataFetcher = class {
1877
- constructor(hic, debugmode, errList = []) {
1878
- this.hic = hic;
1879
- this.debugmode = debugmode;
1880
- this.errList = errList || [];
1881
- }
1882
- async getData(obj) {
1883
- if (!obj?.matrixType) obj.matrixType = "observed";
1884
- const arg = {
1885
- matrixType: obj.matrixType,
1886
- file: this.hic.file,
1887
- url: this.hic.url,
1888
- pos1: this.hic.nochr ? obj.lead.replace("chr", "") : obj.lead,
1889
- pos2: this.hic.nochr ? obj.follow.replace("chr", "") : obj.follow,
1890
- nmeth: obj.nmeth,
1891
- resolution: obj.resolution
1892
- };
1893
- try {
1894
- const data = await dofetch3("hicdata?", {
1895
- method: "POST",
1896
- body: JSON.stringify(arg)
1897
- });
1898
- if (data.error) {
1899
- throw Error(`${obj.lead} - ${obj.follow}: ${data.error.error}`);
1900
- }
1901
- if (!data.items || data.items.length == 0) return;
1902
- return data;
1903
- } catch (e) {
1904
- this.errList.push(e.message || e);
1905
- if (e.stack) console.error(e.stack);
1906
- }
1907
- }
1908
- };
1909
-
1910
- // tracks/hic/HicComponent.ts
1911
- var HicComponent = class _HicComponent {
1912
- constructor(opts) {
1913
- this.genomeData = [];
1914
- this.calcResolution = null;
1915
- this.firstRender = true;
1916
- this.min = 0;
1917
- this.absMin = 0;
1918
- this.max = 0;
1919
- this.absMax = 0;
1920
- this.hasStatePreMain = true;
1921
- this.type = _HicComponent.type;
1922
- this.hic = opts.hic;
1923
- this.state = opts.state;
1924
- this.dom = opts.dom;
1925
- this.errList = opts.errList;
1926
- this.plotDiv = this.dom.plotDiv.append("table").classed("sjpp-hic-plot-main", true);
1927
- const tr1 = this.plotDiv.append("tr");
1928
- const tr2 = this.plotDiv.append("tr");
1929
- this.plotDiv = {
1930
- plot: tr1.append("td").classed("sjpp-hic-plot", true).attr("data-testid", "sjpp-hic-plot"),
1931
- yAxis: tr1.append("td").classed("sjpp-hic-plot-yaxis", true).attr("data-testid", "sjpp-hic-yaxis"),
1932
- xAxis: tr2.append("td").classed("sjpp-hic-plot-xaxis", true).attr("data-testid", "sjpp-hic-xaxis"),
1933
- blank: tr2.append("td")
1934
- };
1935
- this.app = opts.app;
1936
- this.dataMapper = new DataMapper(this.hic, opts.state.maxCutoffPercentile);
1937
- this.activeView = this.state.currView;
1938
- this.error = opts.error;
1939
- this.resolution = new Resolution(this.error);
1940
- this.parent = (prop) => {
1941
- return this[prop];
1942
- };
1943
- this.detailDataMapper = new DetailDataMapper(this.hic, this.errList, this.parent);
1944
- }
1945
- static {
1946
- this.type = "view";
1947
- }
1948
- getState(appState) {
1949
- return appState;
1950
- }
1951
- reactsTo(action) {
1952
- if (action.type.startsWith("view")) return true;
1953
- else return false;
1954
- }
1955
- initView() {
1956
- const opts = {
1957
- plotDiv: this.plotDiv,
1958
- hic: this.hic,
1959
- app: this.app,
1960
- parent: (prop) => {
1961
- return this[prop];
1962
- }
1963
- };
1964
- if (this.state.currView == "genome") {
1965
- opts["data"] = this.data;
1966
- this.genome = new GenomeView(opts);
1967
- this.genome.render();
1968
- } else if (this.state.currView === "chrpair") {
1969
- opts["items"] = this.data;
1970
- this.chrpair = new ChrPairView(opts);
1971
- this.chrpair.render();
1972
- } else if (this.state.currView === "detail") {
1973
- opts["data"] = this.data;
1974
- this.detail = new DetailView(opts);
1975
- this.detail.render();
1976
- } else if (this.state.currView === "horizontal") {
1977
- this.horizontal = new HorizontalView(opts);
1978
- this.horizontal.render();
1979
- } else {
1980
- throw Error(`Unknown view: ${this.state.currView}`);
1981
- }
1982
- }
1983
- async fetchData(obj) {
1984
- if (this.data?.length) this.data = [];
1985
- if (this.state.currView == "genome") {
1986
- if (this.activeView != "genome" && this.genomeData?.length) this.data = this.genomeData;
1987
- else {
1988
- const genomeFetcher = new GenomeDataFetcher(this.hic, true, this.errList);
1989
- this.genomeData = await genomeFetcher.getData(obj);
1990
- this.data = this.genomeData;
1991
- }
1992
- } else if (this.state.currView == "detail") {
1993
- this.data = await this.detailDataMapper.getData(this.state.x, this.state.y, this.fragData);
1994
- } else {
1995
- if (!this.state?.x?.chr || !this.state?.y?.chr) {
1996
- this.errList.push(`No positions provided for ${this.activeView} view.`);
1997
- return;
1998
- } else {
1999
- const chrx = this.state.x;
2000
- const chry = this.state.y;
2001
- obj["lead"] = `${chrx.start && chrx.stop ? `${chrx.chr}:${chrx.start}-${chrx.stop}` : chrx.chr}`;
2002
- obj["follow"] = `${chry.start && chry.stop ? `${chry.chr}:${chry.start}-${chry.stop}` : chry.chr}`;
2003
- }
2004
- const dataFetcher = new DataFetcher(this.hic, true, this.errList);
2005
- this.data = await dataFetcher.getData(obj);
2006
- }
2007
- }
2008
- async setResolution(appState) {
2009
- const state = this.app.getState(appState);
2010
- this.calcResolution = this.resolution.getResolution(state, this.hic);
2011
- if (state.currView == "detail" && this.calcResolution == null) {
2012
- await this.detailDataMapper.getFragData(state.x, state.y);
2013
- this.fragData = this.detailDataMapper.frag;
2014
- const maxFragSpan = Math.min(
2015
- this.fragData.x.stop - this.fragData.x.start,
2016
- this.fragData.y.stop - this.fragData.y.start
2017
- );
2018
- this.calcResolution = this.resolution.findResFromArray(
2019
- maxFragSpan,
2020
- state.minFragSpan,
2021
- this.hic.fragresolution,
2022
- true
2023
- );
2024
- } else {
2025
- this.fragData = null;
2026
- }
2027
- return this.calcResolution;
2028
- }
2029
- async setDataArgs(appState) {
2030
- const state = this.app.getState(appState);
2031
- const currView = state[state.currView];
2032
- const args = {
2033
- nmeth: currView.nmeth,
2034
- resolution: await this.setResolution(appState),
2035
- matrixType: currView.matrixType
2036
- };
2037
- if (state.currView == "chrpair") {
2038
- args["lead"] = state.x.chr;
2039
- args["follow"] = state.y.chr;
2040
- }
2041
- return args;
2042
- }
2043
- async getViewData(appState) {
2044
- const args = await this.setDataArgs(appState);
2045
- await this.fetchData(args);
2046
- if (this.data?.length > 0 || this.data?.items?.length > 0) {
2047
- const [min, max, absMax] = this.dataMapper.sortData(this.data);
2048
- this.min = this.absMin = min;
2049
- this.max = max;
2050
- this.absMax = absMax;
2051
- } else {
2052
- if (this.state.currView != "genome") {
2053
- const state = this.app.getState(appState);
2054
- const xPosMessage = state.x?.start ? `${state.x.chr}:${state.x.start}-${state.x.stop}` : state.x.chr;
2055
- const yPosMessage = state.y?.start ? `${state.y.chr}:${state.y.start}-${state.y.stop}` : state.y.chr;
2056
- this.errList.push(`No data returned for ${xPosMessage} and ${yPosMessage}`);
2057
- }
2058
- }
2059
- }
2060
- async init() {
2061
- this.components = {
2062
- controls: await controlPanelInit({
2063
- app: this.app,
2064
- controlsDiv: this.dom.controlsDiv,
2065
- hic: this.hic,
2066
- parent: (prop, value) => {
2067
- if (value) this[prop] = value;
2068
- return this[prop];
2069
- },
2070
- error: this.error.bind(this)
2071
- })
2072
- };
2073
- this.infoBar = new InfoBar({
2074
- app: this.app,
2075
- infoBarDiv: this.dom.infoBarDiv.append("table").style("border-spacing", "3px"),
2076
- hic: this.hic,
2077
- parent: (prop) => {
2078
- return this[prop];
2079
- }
2080
- });
2081
- this.infoBar.render();
2082
- }
2083
- async main(appState) {
2084
- if (this.errList.length) {
2085
- this.app.dispatch({ type: "loading_active", active: false });
2086
- return;
2087
- }
2088
- const state = this.app.getState(appState);
2089
- if (this.firstRender == true) {
2090
- this.firstRender = false;
2091
- await this.getViewData(appState);
2092
- this.initView();
2093
- } else {
2094
- if (state.currView != "horizontal") {
2095
- this.app.dispatch({ type: "loading_active", active: true });
2096
- await this.getViewData(appState);
2097
- }
2098
- if (this.activeView != state.currView) {
2099
- if (this.activeView == "genome") {
2100
- this.genome.svg.remove();
2101
- } else {
2102
- this.plotDiv.xAxis.selectAll("*").remove();
2103
- this.plotDiv.yAxis.selectAll("*").remove();
2104
- this.plotDiv.plot.selectAll("*").remove();
2105
- }
2106
- this.activeView = state.currView;
2107
- this.initView();
2108
- } else {
2109
- this[state.currView].update(this.data);
2110
- }
2111
- }
2112
- this.infoBar.update();
2113
- if (this.errList.length) {
2114
- this.error(this.errList);
2115
- this.app.dispatch({ type: "loading_active", active: false });
2116
- }
2117
- }
2118
- };
2119
- var viewCompInit = getCompInit(HicComponent);
2120
-
2121
- // tracks/hic/HicApp.ts
2122
- var HicApp = class _HicApp extends AppBase {
2123
- constructor(opts) {
2124
- super(opts);
2125
- this.views = ["genome", "chrpair", "detail", "horizontal"];
2126
- this.errList = [];
2127
- /** Required for rx but not in use */
2128
- this.wasDestroyed = false;
2129
- this.type = _HicApp.type;
2130
- this.hic = {
2131
- enzyme: opts.enzyme,
2132
- file: opts.file,
2133
- url: opts.url,
2134
- genome: opts.genome,
2135
- holder: opts.holder,
2136
- hostUrl: opts.hostUrl,
2137
- jwt: opts.jwt,
2138
- position1: opts.position1,
2139
- position2: opts.position2,
2140
- maxCutoffPercentile: opts.maxCutoffPercentile,
2141
- name: "name" in opts ? opts.name : "Hi-C",
2142
- tklist: "tklst" in opts ? opts.tklst : [],
2143
- state: "state" in opts ? opts.state : {}
2144
- };
2145
- this.dom = {
2146
- errorDiv: opts.holder.append("div").classed("sjpp-hic-error", true),
2147
- controlsDiv: opts.holder.append("div").classed("sjpp-hic-controls", true).style("display", "inline-block"),
2148
- infoBarDiv: opts.holder.append("div").classed("sjpp-hic-infobar", true).style("display", "inline-block").style("vertical-align", "top").style("padding", "5px").style("border", "solid 0.5px #ccc"),
2149
- loadingDiv: select_default("body").append("div").attr("id", "sjpp-loading-overlay"),
2150
- plotDiv: opts.holder.append("div").classed("sjpp-hic-main", true).style("display", "inline-block"),
2151
- tip: new Menu()
2152
- };
2153
- }
2154
- static {
2155
- this.type = "app";
2156
- }
2157
- async error(err) {
2158
- if (err && typeof err == "string") this.errList.push(err);
2159
- showErrorsWithCounter(this.errList, this.dom.errorDiv);
2160
- this.errList = [];
2161
- }
2162
- determineView() {
2163
- if (!this.hic.position1 && !this.hic.position2 && !this.hic.state.currView) this.hic.state.currView = "genome";
2164
- if (!this.hic.position1 && this.hic.position2) this.errList.push("Missing first position");
2165
- if (this.hic.position1 && !this.hic.position2) this.errList.push("Missing second position");
2166
- if (this.hic.position1 && this.hic.position2) {
2167
- const pos1 = this.hic.position1.split(/[:-]/);
2168
- const pos2 = this.hic.position2.split(/[:-]/);
2169
- this.hic.state.x = { chr: pos1[0] };
2170
- this.hic.state.y = { chr: pos2[0] };
2171
- if (!Number.isNaN(+pos1[1]) && !Number.isNaN(+pos1[2])) {
2172
- this.hic.state.x.start = +pos1[1];
2173
- this.hic.state.x.stop = +pos1[2];
2174
- this.hic.state.y.start = +pos2[1];
2175
- this.hic.state.y.stop = +pos2[2];
2176
- this.hic.state.currView = "detail";
2177
- } else {
2178
- this.hic.state.currView = "chrpair";
2179
- }
2180
- } else {
2181
- if (!this.views.some((v) => v === this.hic.state.currView)) this.error(`Unknown view: ${this.hic.state.currView}`);
2182
- else return this.hic.state.currView;
2183
- }
2184
- }
2185
- getViewsConfig() {
2186
- if (this.hic.maxCutoffPercentile) this.hic.state.maxCutoffPercentile = this.hic.maxCutoffPercentile;
2187
- let nmeth;
2188
- if (this.hic["normalization"]?.length > 0) {
2189
- if (!this.hic["normalization"].includes("NONE")) this.hic["normalization"].unshift("NONE");
2190
- nmeth = this.hic["normalization"][0];
2191
- } else {
2192
- nmeth = "NONE";
2193
- }
2194
- if (this.hic.state.currView) {
2195
- if (!this.hic.state[this.hic.state.currView]) this.hic.state[this.hic.state.currView] = {};
2196
- if (!this.hic.state[this.hic.state.currView]?.matrixType) {
2197
- this.hic.state[this.hic.state.currView].matrixType = "observed";
2198
- }
2199
- if (!this.hic.state[this.hic.state.currView]?.nmeth) {
2200
- this.hic.state[this.hic.state.currView].nmeth = nmeth;
2201
- }
2202
- }
2203
- for (const v of this.views) {
2204
- if (!this.hic.state[v]) {
2205
- this.hic.state[v] = {
2206
- matrixType: "observed",
2207
- nmeth
2208
- };
2209
- }
2210
- }
2211
- }
2212
- async init() {
2213
- this.determineView();
2214
- try {
2215
- await hicParseFile(this.hic, true, this.errList);
2216
- this.getViewsConfig();
2217
- this.store = await hicStoreInit({ app: this.api, state: this.hic.state });
2218
- this.state = await this.store.copyState();
2219
- this.components = {
2220
- loadingOverlay: await loadingInit({
2221
- app: this.api,
2222
- loadingDiv: this.dom.loadingDiv
2223
- }),
2224
- view: await viewCompInit({
2225
- app: this.api,
2226
- state: this.state,
2227
- dom: this.dom,
2228
- hic: this.hic,
2229
- errList: this.errList,
2230
- error: this.error
2231
- })
2232
- };
2233
- await this.api.dispatch();
2234
- } catch (e) {
2235
- console.error(e.stack || e);
2236
- }
2237
- }
2238
- main() {
2239
- if (this.errList.length) {
2240
- this.error(this.errList);
2241
- this.dom.loadingDiv.style("display", "none");
2242
- return;
2243
- }
2244
- }
2245
- };
2246
- var hicInit = getAppInit(HicApp);
2247
- export {
2248
- hicInit
2249
- };
2250
- //# sourceMappingURL=HicApp-BBD2YOMT.js.map