@sjcrh/proteinpaint-client 2.197.0 → 2.198.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 (940) hide show
  1. package/dist/2dmaf-R3PFZNRN.js +1373 -0
  2. package/dist/AIProjectAdmin-DM3KG6SR.js +958 -0
  3. package/dist/AppHeader-6DZQ6YZX.js +835 -0
  4. package/dist/BoxPlot-76NINVX4.js +1217 -0
  5. package/dist/CorrelationVolcano-U5UMJNH5.js +619 -0
  6. package/dist/DE-AXNYWIQK.js +95 -0
  7. package/dist/DEinput-JH6YY6LS.js +301 -0
  8. package/dist/DifferentialAnalysis-25P4CGIY.js +242 -0
  9. package/dist/Disco-NVMLF3BK.js +3392 -0
  10. package/dist/Disco-NVMLF3BK.js.map +7 -0
  11. package/dist/Disco.UI-C7CZINUQ.js +249 -0
  12. package/dist/DmrPlot-WROR4ENM.js +642 -0
  13. package/dist/GB-JUABODPH.js +1394 -0
  14. package/dist/GB-JUABODPH.js.map +7 -0
  15. package/dist/GSEA-Y5R2THIJ.js +846 -0
  16. package/dist/GeneExpInput-JDU6EI7K.js +367 -0
  17. package/dist/Geomap-J763OK2F.js +89 -0
  18. package/dist/Geomap-J763OK2F.js.map +7 -0
  19. package/dist/HicApp-UNIJLH4B.js +2250 -0
  20. package/dist/IDCViewer-KVPCIUDW.js +10803 -0
  21. package/dist/IDCViewer-KVPCIUDW.js.map +7 -0
  22. package/dist/NumBinaryEditor-WMN2GGO4.js +271 -0
  23. package/dist/NumBinaryEditor.unit.spec-TAMXV6SE.js +286 -0
  24. package/dist/NumContEditor-XYIOJY4E.js +109 -0
  25. package/dist/NumContEditor.unit.spec-WDZ75BHO.js +169 -0
  26. package/dist/NumCustomBinEditor-5SY3C4TY.js +38 -0
  27. package/dist/NumCustomBinEditor.unit.spec-XHTAIXR3.js +284 -0
  28. package/dist/NumDiscreteEditor-NRDRX4FD.js +179 -0
  29. package/dist/NumDiscreteEditor.unit.spec-2CJW7OAT.js +202 -0
  30. package/dist/NumRegularBinEditor-DUDVTNDC.js +38 -0
  31. package/dist/NumRegularBinEditor.unit.spec-H3GNQHMN.js +227 -0
  32. package/dist/NumSplineEditor-7Q4AC7KH.js +198 -0
  33. package/dist/NumSplineEditor.unit.spec-YRZK5PH5.js +199 -0
  34. package/dist/NumericDensity-NTNWUESG.js +38 -0
  35. package/dist/NumericDensity.unit.spec-5I5U6T6P.js +221 -0
  36. package/dist/NumericHandler-MEW2KMPX.js +39 -0
  37. package/dist/NumericHandler.unit.spec-JFX4BPRG.js +219 -0
  38. package/dist/ProteomeInput-K2ZHR2U6.js +395 -0
  39. package/dist/RunChart2-BEBDU7RC.js +758 -0
  40. package/dist/SC-XCBFJVUJ.js +1120 -0
  41. package/dist/Volcano-4Y4TP3UX.js +1385 -0
  42. package/dist/WSIViewer-ZLQU62PD.js +48562 -0
  43. package/dist/WsiSamplesPlot-JMBSITOM.js +165 -0
  44. package/dist/adSandbox-664IRCRL.js +38 -0
  45. package/dist/animatedBubbleChart-TX7NW34K.js +555 -0
  46. package/dist/app-63WJ3BMP.js +37 -0
  47. package/dist/app-77FIZHCG.js +49 -0
  48. package/dist/app.js +19 -19
  49. package/dist/bam-IETNVAYD.js +860 -0
  50. package/dist/barchart-YUVXJNH4.js +47 -0
  51. package/dist/barchart.data-P4EIQXGE.js +22 -0
  52. package/dist/barchart.events-JPVCLTIG.js +47 -0
  53. package/dist/barchart.integration.spec-ZH7DEQI2.js +2196 -0
  54. package/dist/barchart2-XO2FG76J.js +314 -0
  55. package/dist/bars.renderer-AUIWUJDH.js +12 -0
  56. package/dist/block-NBTCOT3H.js +6255 -0
  57. package/dist/block.init-X7Y2EEVR.js +38 -0
  58. package/dist/block.mds.expressionrank-BIAOZIZ3.js +359 -0
  59. package/dist/block.mds.geneboxplot-CNICDVLK.js +828 -0
  60. package/dist/block.mds.junction-PQXCTSUI.js +1545 -0
  61. package/dist/block.mds.svcnv-32KMVTCT.js +6801 -0
  62. package/dist/block.svg-LRTOYQK2.js +164 -0
  63. package/dist/block.tk.aicheck-HDV7ZIUD.js +283 -0
  64. package/dist/block.tk.ase-JIDWKMYI.js +365 -0
  65. package/dist/block.tk.bam-5X3OS5HB.js +1906 -0
  66. package/dist/block.tk.bedgraphdot-T7JX7YQL.js +384 -0
  67. package/dist/block.tk.bigwig.ui-OSAYEBAE.js +212 -0
  68. package/dist/block.tk.hicstraw-DEY3VQFK.js +823 -0
  69. package/dist/block.tk.junction-7UAFEZSJ.js +2364 -0
  70. package/dist/block.tk.junction.textmatrixui-27LHS33U.js +199 -0
  71. package/dist/block.tk.ld-DF2PI7OO.js +99 -0
  72. package/dist/block.tk.menu-L2D5KBIV.js +1029 -0
  73. package/dist/block.tk.pgv-QO56SKBV.js +944 -0
  74. package/dist/brainImaging-NIPQWFWO.js +423 -0
  75. package/dist/brainRegions-ZNZ2WHSU.js +221 -0
  76. package/dist/bubbleHeatmap-ERWNEKZB.js +383 -0
  77. package/dist/chunk-2GYWFQML.js +299 -0
  78. package/dist/chunk-2HYJ4GDH.js +50 -0
  79. package/dist/chunk-2MG6XE6R.js +272 -0
  80. package/dist/chunk-2X6W4E3W.js +1507 -0
  81. package/dist/chunk-2X6W4E3W.js.map +7 -0
  82. package/dist/chunk-33K5PA52.js +54 -0
  83. package/dist/chunk-37XDBPOP.js +26 -0
  84. package/dist/chunk-3EWB3246.js +58 -0
  85. package/dist/chunk-3RSKOPIY.js +100 -0
  86. package/dist/chunk-3XVVN66M.js +4085 -0
  87. package/dist/chunk-3XVVN66M.js.map +7 -0
  88. package/dist/chunk-4DPVT4NE.js +1102 -0
  89. package/dist/chunk-4IH7DORZ.js +98 -0
  90. package/dist/chunk-4QNBFIIR.js +399 -0
  91. package/dist/chunk-4STKL6SR.js +217 -0
  92. package/dist/chunk-4TZIVSL5.js +34 -0
  93. package/dist/chunk-5ABGFJSP.js +467 -0
  94. package/dist/chunk-5AZNP47R.js +302 -0
  95. package/dist/chunk-5RL2OHXX.js +5070 -0
  96. package/dist/chunk-5VOPABBA.js +20941 -0
  97. package/dist/chunk-5VOPABBA.js.map +7 -0
  98. package/dist/chunk-6BB43SIB.js +102 -0
  99. package/dist/chunk-7OHRR2IE.js +276 -0
  100. package/dist/chunk-ARBHWDMY.js +226 -0
  101. package/dist/chunk-ARBHWDMY.js.map +7 -0
  102. package/dist/chunk-ASATD4T7.js +14 -0
  103. package/dist/chunk-AZ47Q7BX.js +1223 -0
  104. package/dist/chunk-B5B3LZB3.js +236 -0
  105. package/dist/chunk-BHGISFCA.js +2681 -0
  106. package/dist/chunk-BMBOZ64T.js +2786 -0
  107. package/dist/chunk-BOZJHPJP.js +216 -0
  108. package/dist/chunk-CDD7LYJM.js +194 -0
  109. package/dist/chunk-CTQ3IUCA.js +2327 -0
  110. package/dist/chunk-D7TID3HR.js +158 -0
  111. package/dist/chunk-DBKNWR4J.js +1561 -0
  112. package/dist/chunk-DBKNWR4J.js.map +7 -0
  113. package/dist/chunk-E55LLYRX.js +55 -0
  114. package/dist/chunk-ESGXULRH.js +386 -0
  115. package/dist/chunk-EZ4LZ6ZT.js +117 -0
  116. package/dist/chunk-F3SJTVP5.js +4284 -0
  117. package/dist/chunk-F5IXNJO7.js +222 -0
  118. package/dist/chunk-FJYECRHW.js +448 -0
  119. package/dist/chunk-FPNRUQOU.js +833 -0
  120. package/dist/chunk-G5S4R77D.js +1942 -0
  121. package/dist/chunk-G764NXQN.js +170 -0
  122. package/dist/chunk-GAPI4MML.js +148 -0
  123. package/dist/chunk-HLUZOZXJ.js +272 -0
  124. package/dist/chunk-HOKIK2FR.js +375 -0
  125. package/dist/chunk-I6WR4CG7.js +323 -0
  126. package/dist/chunk-I6WR4CG7.js.map +7 -0
  127. package/dist/chunk-KLGL6XZD.js +129 -0
  128. package/dist/chunk-L7IRWUKT.js +480 -0
  129. package/dist/chunk-LFCYMSVA.js +314 -0
  130. package/dist/chunk-LX6G7HJJ.js +617 -0
  131. package/dist/chunk-M2G5R4WB.js +142 -0
  132. package/dist/chunk-M4TTGGT4.js +102 -0
  133. package/dist/chunk-M6EF3WVV.js +1825 -0
  134. package/dist/chunk-M6KHT3MM.js +146 -0
  135. package/dist/chunk-MCZFHWIR.js +230 -0
  136. package/dist/chunk-MFQACKYU.js +448 -0
  137. package/dist/chunk-MVGAGTM3.js +343 -0
  138. package/dist/chunk-NELOT3NJ.js +119 -0
  139. package/dist/chunk-NRKMXULC.js +54 -0
  140. package/dist/chunk-NSTL4MY2.js +2110 -0
  141. package/dist/chunk-NSTL4MY2.js.map +7 -0
  142. package/dist/chunk-NYRZNRG5.js +177 -0
  143. package/dist/chunk-ONPKE6DC.js +368 -0
  144. package/dist/chunk-OXVLWQ6M.js +556 -0
  145. package/dist/chunk-PFRWS4CR.js +203 -0
  146. package/dist/chunk-PJKQUXEN.js +1275 -0
  147. package/dist/chunk-Q2L44HK3.js +6364 -0
  148. package/dist/chunk-QNHT74XC.js +1245 -0
  149. package/dist/chunk-RKO6BL5N.js +446 -0
  150. package/dist/chunk-T25QNZHB.js +254 -0
  151. package/dist/chunk-U7TBYVIQ.js +31 -0
  152. package/dist/chunk-UGRQXBL4.js +381 -0
  153. package/dist/chunk-USFSHSCJ.js +477 -0
  154. package/dist/chunk-VJ6UFVGC.js +2833 -0
  155. package/dist/chunk-W3WPPOXH.js +292 -0
  156. package/dist/chunk-WFCSOTBO.js +263 -0
  157. package/dist/chunk-WHP4AKDM.js +185 -0
  158. package/dist/chunk-WZ2L57MB.js +102 -0
  159. package/dist/chunk-XPY6AWXO.js +787 -0
  160. package/dist/chunk-Y4UAKFWC.js +37 -0
  161. package/dist/chunk-YQBS2ZCK.js +514 -0
  162. package/dist/chunk-Z5U6HOE4.js +190 -0
  163. package/dist/chunk-Z5U6HOE4.js.map +7 -0
  164. package/dist/chunk-ZNEJUKJW.js +140 -0
  165. package/dist/chunk-ZNEJUKJW.js.map +7 -0
  166. package/dist/chunk-ZTHM2TKP.js +176 -0
  167. package/dist/condition-2PASYSUC.js +332 -0
  168. package/dist/controls-5IMJ6K5L.js +41 -0
  169. package/dist/controls.config-P5PG2DHW.js +39 -0
  170. package/dist/correlation-U3EDLNHR.js +102 -0
  171. package/dist/cuminc-2HUFEROK.js +1149 -0
  172. package/dist/cuminc.integration.spec-WFWAPTDA.js +678 -0
  173. package/dist/customdata.inputui-ZHWNEPFH.js +289 -0
  174. package/dist/dataDownload-VBSJBKMP.js +330 -0
  175. package/dist/dataDownload.integration.spec-LUFSETOP.js +193 -0
  176. package/dist/databrowser.ui-6H2KMSTJ.js +433 -0
  177. package/dist/dictionary-V37LXFIP.js +118 -0
  178. package/dist/dnaMethylation-OIZMHMLK.js +38 -0
  179. package/dist/dnaMethylation.integration.spec-CWPTJ74H.js +203 -0
  180. package/dist/dofetch-IWPZQB5N.js +51 -0
  181. package/dist/e2pca-7SLIAGYW.js +350 -0
  182. package/dist/ep-7L6KF6K4.js +1256 -0
  183. package/dist/expclust.gdc.spec-JT452Q3G.js +307 -0
  184. package/dist/facet-CXOUU5AS.js +521 -0
  185. package/dist/forms2-VPNCLQOY.js +539 -0
  186. package/dist/gb-P4VRXRED.js +88 -0
  187. package/dist/geneExpClustering-FQTCKRJJ.js +249 -0
  188. package/dist/geneExpression-BHO5326K.js +313 -0
  189. package/dist/geneExpression-ZMERB64E.js +38 -0
  190. package/dist/geneExpression.unit.spec-CNVHZWNG.js +102 -0
  191. package/dist/geneORA-FXVUCXGX.js +278 -0
  192. package/dist/geneRanking-SFK4UBKQ.js +553 -0
  193. package/dist/geneVariant-IYEHB4H7.js +41 -0
  194. package/dist/geneVariant-LIRRLUFR.js +39 -0
  195. package/dist/geneVariant.integration.spec-Y2NPNTYX.js +198 -0
  196. package/dist/genefusion.ui-L3HIJM3N.js +309 -0
  197. package/dist/geneset-A6VUFX63.js +208 -0
  198. package/dist/genomeBrowser.spec-CB4HHHBN.js +281 -0
  199. package/dist/grin2-FKBIMH5N.js +75 -0
  200. package/dist/grin2-V36KLEBU.js +1143 -0
  201. package/dist/grin2-V36KLEBU.js.map +7 -0
  202. package/dist/hierCluster-QFPRMHVA.js +63 -0
  203. package/dist/hierCluster-YWC3XYPV.js +59 -0
  204. package/dist/hierCluster.config-F7YYZNM3.js +40 -0
  205. package/dist/hierCluster.integration.spec-AF4L3YT6.js +488 -0
  206. package/dist/hierCluster.interactivity-RPY74PK6.js +54 -0
  207. package/dist/hierCluster.renderers-LOKHZ3V2.js +21 -0
  208. package/dist/imagePlot-BBEXA754.js +163 -0
  209. package/dist/importPlot-7QGANZGK.js +8 -0
  210. package/dist/isoformExpression-4SLLCVFD.js +40 -0
  211. package/dist/isoformExpression.unit.spec-GEL4JJ64.js +208 -0
  212. package/dist/launch.adhoc-LWLBQJS5.js +42 -0
  213. package/dist/leftlabel.sample-RTEZOIH2.js +264 -0
  214. package/dist/legacyDataset-VLD7ZYWI.js +119 -0
  215. package/dist/lollipop-XKQK5QZU.js +171 -0
  216. package/dist/maf-AZQPPWDO.js +459 -0
  217. package/dist/maftimeline-7MSVYKQU.js +593 -0
  218. package/dist/matrix-BGLWC25D.js +58 -0
  219. package/dist/matrix-IQR5SRMK.js +63 -0
  220. package/dist/matrix.cells-5C57NWOY.js +28 -0
  221. package/dist/matrix.config-2DQXAN2E.js +41 -0
  222. package/dist/matrix.data-ADCGF5H6.js +25 -0
  223. package/dist/matrix.groups-V4ITQ5F7.js +27 -0
  224. package/dist/matrix.integration.spec-IBNOO2WP.js +3072 -0
  225. package/dist/matrix.interactivity-JNELJFOV.js +42 -0
  226. package/dist/matrix.layout-WBVIV6GR.js +44 -0
  227. package/dist/matrix.legend-YHOWPK77.js +22 -0
  228. package/dist/matrix.renderers-5BGVRR3M.js +38 -0
  229. package/dist/matrix.serieses-2GZJOASZ.js +21 -0
  230. package/dist/matrix.sort-WKIWPJKP.js +27 -0
  231. package/dist/matrix.sort.unit.spec-L2E4D4AS.js +472 -0
  232. package/dist/matrix.sorterUi-TEJWWJ64.js +18 -0
  233. package/dist/matrix.sorterUi.unit.spec-SHP7C4P7.js +342 -0
  234. package/dist/mavb-4MXNYUEO.js +732 -0
  235. package/dist/mds.fimo-WHIJIBOI.js +518 -0
  236. package/dist/mds.samplescatterplot-BRJ6NG2D.js +1550 -0
  237. package/dist/mds.survivalplot-OPCMB5PB.js +483 -0
  238. package/dist/numericDictTermCluster-7MIFOP2K.js +65 -0
  239. package/dist/oncomatrix-BGG6BEUI.js +295 -0
  240. package/dist/oncomatrix.spec-LYQ4L4F3.js +448 -0
  241. package/dist/plot.2dvaf-6WVCP2ZI.js +377 -0
  242. package/dist/plot.app-MLBP6WFP.js +41 -0
  243. package/dist/plot.barplot-JEPRZSCU.js +102 -0
  244. package/dist/plot.boxplot-GNFW42VM.js +152 -0
  245. package/dist/plot.brainImaging-5ACNSD45.js +51 -0
  246. package/dist/plot.disco-Q2V2KKIH.js +102 -0
  247. package/dist/plot.dzi-KVT6S7K7.js +33 -0
  248. package/dist/plot.ssgq-4N3KFJQ2.js +139 -0
  249. package/dist/plot.vaf2cov-ITRG5U43.js +259 -0
  250. package/dist/plot.wsi-26YZNU4V.js +36 -0
  251. package/dist/polar2-J7GVUK4X.js +231 -0
  252. package/dist/profileForms-VXV2JLXU.js +446 -0
  253. package/dist/profilePlot-ZZYZK4SY.js +54 -0
  254. package/dist/proteinView-7KN532D3.js +1568 -0
  255. package/dist/qualitative-MLRVLIAU.js +43 -0
  256. package/dist/radar2-WM2ZBOH3.js +326 -0
  257. package/dist/radarFacility2-3SBR2JJ3.js +334 -0
  258. package/dist/regression-WMRPQJW2.js +56 -0
  259. package/dist/regression.inputs-VWZKSYNY.js +48 -0
  260. package/dist/regression.inputs.term-OWE6GWHM.js +48 -0
  261. package/dist/regression.inputs.values.table-4INNZQI2.js +45 -0
  262. package/dist/regression.integration.spec-XKQ2JOOT.js +784 -0
  263. package/dist/regression.results-VZBYMBYC.js +40 -0
  264. package/dist/regression.spec-DU3UTDCJ.js +708 -0
  265. package/dist/render-N5FOF247.js +38 -0
  266. package/dist/report-DW3OHB67.js +222 -0
  267. package/dist/sampleScatter.spec-REFSK2V4.js +202 -0
  268. package/dist/sampleView-ICOT2R6O.js +48 -0
  269. package/dist/samplelst-TJEVASYG.js +111 -0
  270. package/dist/samplematrix-6DAWCXQ3.js +2198 -0
  271. package/dist/sc-53LNOB7N.js +86 -0
  272. package/dist/scatter-DKYSS4DL.js +851 -0
  273. package/dist/selectGenomeWithTklst-WTX66TV3.js +134 -0
  274. package/dist/singleCellCellType-D2CN2BHQ.js +38 -0
  275. package/dist/singleCellCellType.unit.spec-LADUCI4R.js +160 -0
  276. package/dist/singleCellGeneExpression-YR2ZT34W.js +38 -0
  277. package/dist/singleCellGeneExpression.unit.spec-BM63M432.js +153 -0
  278. package/dist/singleCellPlot-3ICIOILE.js +54 -0
  279. package/dist/singlecell-6ZUFA3BQ.js +86 -0
  280. package/dist/singlecell-KX7W4U57.js +1572 -0
  281. package/dist/snp-VIURB7L3.js +38 -0
  282. package/dist/snp.unit.spec-ACZNZUNS.js +176 -0
  283. package/dist/snplocus-3LW4ZUZR.js +208 -0
  284. package/dist/spliceevent.a53ss.diagram-AKTZGWNM.js +151 -0
  285. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js +283 -0
  286. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js.map +7 -0
  287. package/dist/spliceevent.noeventdiagram-YTXWWNTJ.js +460 -0
  288. package/dist/ssGSEA-THW4WFMI.js +38 -0
  289. package/dist/ssGSEA.unit.spec-HTRGQI2K.js +88 -0
  290. package/dist/summarizeCnvGeneexp-RFYC3H2Z.js +163 -0
  291. package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js +114 -0
  292. package/dist/summarizeMutationCnv-7AYEMHAI.js +164 -0
  293. package/dist/summarizeMutationDiagnosis-AKFJDSAF.js +40 -0
  294. package/dist/summarizeMutationSurvival-QJHZRQBZ.js +99 -0
  295. package/dist/summary-A5P7AYK4.js +49 -0
  296. package/dist/summary.integration.spec-HQISXGNL.js +414 -0
  297. package/dist/summaryInput-HP675QOQ.js +235 -0
  298. package/dist/sunburst-65LSYRXX.js +284 -0
  299. package/dist/survival-QNEI6YVK.js +46 -0
  300. package/dist/survival-UI74VXSM.js +58 -0
  301. package/dist/survival.integration.spec-X5N3JQXS.js +915 -0
  302. package/dist/svgraph-PSX2NER3.js +1387 -0
  303. package/dist/svmr-QDQ33EFX.js +3842 -0
  304. package/dist/table-LWAI27UO.js +200 -0
  305. package/dist/termCollection-3JHR74FG.js +179 -0
  306. package/dist/termCollection-CDF5LYUG.js +38 -0
  307. package/dist/termCollection.unit.spec-HOJKYWHF.js +208 -0
  308. package/dist/tk-GL4QCL4K.js +1019 -0
  309. package/dist/tk-GL4QCL4K.js.map +7 -0
  310. package/dist/tk-OEQFO73V.js +46 -0
  311. package/dist/tp.ui-SHNERDGC.js +1459 -0
  312. package/dist/tvs.dt-CZDC4TSR.js +39 -0
  313. package/dist/tvs.dtcnv.categorical-OPBDHZGB.js +40 -0
  314. package/dist/tvs.dtcnv.continuous-AR6P4EP3.js +72 -0
  315. package/dist/tvs.dtfusion-2YQ7N6FQ.js +40 -0
  316. package/dist/tvs.dtitd-ATCHW735.js +40 -0
  317. package/dist/tvs.dtsnvindel-WHHWAATJ.js +40 -0
  318. package/dist/tvs.dtsv-3UMCW65O.js +40 -0
  319. package/dist/tvs.numeric-TOEPASWN.js +21 -0
  320. package/dist/tvs.samplelst-M7XKXRTZ.js +104 -0
  321. package/dist/tvs.termCollection-WT4WZMYR.js +159 -0
  322. package/dist/violin-2YGXTBDS.js +46 -0
  323. package/dist/violin.integration.spec-YWNHVAGS.js +1425 -0
  324. package/dist/violin.interactivity-J6BE2UQL.js +38 -0
  325. package/dist/violin.renderer-3GRUWP2U.js +40 -0
  326. package/dist/vocabulary-2INCVPYJ.js +41 -0
  327. package/dist/vocabulary-2INCVPYJ.js.map +7 -0
  328. package/package.json +3 -3
  329. package/dist/2dmaf-HV22W5N3.js +0 -1373
  330. package/dist/AIProjectAdmin-7QGTPN3B.js +0 -958
  331. package/dist/AppHeader-NOKET4YE.js +0 -835
  332. package/dist/BoxPlot-SPG66F4C.js +0 -1217
  333. package/dist/CorrelationVolcano-3LEMTFXP.js +0 -619
  334. package/dist/DE-WCCADMXA.js +0 -95
  335. package/dist/DEinput-IZNPYPKH.js +0 -301
  336. package/dist/DifferentialAnalysis-SDZXIUXP.js +0 -242
  337. package/dist/Disco-M5RNUOWG.js +0 -3297
  338. package/dist/Disco-M5RNUOWG.js.map +0 -7
  339. package/dist/Disco.UI-RVUOPT6Y.js +0 -249
  340. package/dist/DmrPlot-R2N534FS.js +0 -642
  341. package/dist/GB-DY6XWOJE.js +0 -1356
  342. package/dist/GB-DY6XWOJE.js.map +0 -7
  343. package/dist/GSEA-3TB3PYEV.js +0 -846
  344. package/dist/GeneExpInput-VWCPHOVO.js +0 -367
  345. package/dist/HicApp-F2MY3NXP.js +0 -2250
  346. package/dist/IDCViewer-PT7IV6T2.js +0 -10799
  347. package/dist/IDCViewer-PT7IV6T2.js.map +0 -7
  348. package/dist/NumBinaryEditor-AL2NWII2.js +0 -271
  349. package/dist/NumBinaryEditor.unit.spec-NFRJHFNX.js +0 -286
  350. package/dist/NumContEditor-CTFJVIHU.js +0 -109
  351. package/dist/NumContEditor.unit.spec-FXGGCMTD.js +0 -169
  352. package/dist/NumCustomBinEditor-JFIJ2X6E.js +0 -38
  353. package/dist/NumCustomBinEditor.unit.spec-ZKIZXS53.js +0 -284
  354. package/dist/NumDiscreteEditor-E7SPHF55.js +0 -179
  355. package/dist/NumDiscreteEditor.unit.spec-QKKRZJMU.js +0 -202
  356. package/dist/NumRegularBinEditor-JSLTZIAQ.js +0 -38
  357. package/dist/NumRegularBinEditor.unit.spec-W73BA6L4.js +0 -227
  358. package/dist/NumSplineEditor-ZEXYGKKF.js +0 -198
  359. package/dist/NumSplineEditor.unit.spec-EHKI4CY7.js +0 -199
  360. package/dist/NumericDensity-ZXM6TB33.js +0 -38
  361. package/dist/NumericDensity.unit.spec-PUFRE5XA.js +0 -221
  362. package/dist/NumericHandler-73TUDM3R.js +0 -39
  363. package/dist/NumericHandler.unit.spec-EITBD47U.js +0 -219
  364. package/dist/ProteomeInput-QICOUSRW.js +0 -395
  365. package/dist/RunChart2-4JYV2Z7B.js +0 -758
  366. package/dist/SC-77HA6SBW.js +0 -1120
  367. package/dist/Volcano-3546I4MG.js +0 -1385
  368. package/dist/WSIViewer-DQAXX7QJ.js +0 -48562
  369. package/dist/WsiSamplesPlot-AGOLPLK3.js +0 -165
  370. package/dist/adSandbox-ZE5QOTN5.js +0 -38
  371. package/dist/animatedBubbleChart-ILMDNAVK.js +0 -555
  372. package/dist/app-JBFRJ5OO.js +0 -49
  373. package/dist/app-YVNRAZWU.js +0 -37
  374. package/dist/bam-A2PVAF3J.js +0 -860
  375. package/dist/barchart-2XQ7F6LT.js +0 -47
  376. package/dist/barchart.data-6XLK7D63.js +0 -22
  377. package/dist/barchart.events-DKJDKSPN.js +0 -47
  378. package/dist/barchart.integration.spec-UTTCQJRL.js +0 -2196
  379. package/dist/barchart2-2FRVUVJG.js +0 -314
  380. package/dist/bars.renderer-57KSYAAT.js +0 -12
  381. package/dist/block-3KOPYQ25.js +0 -6255
  382. package/dist/block.init-3KLLFGGV.js +0 -38
  383. package/dist/block.mds.expressionrank-XU3MBIOX.js +0 -359
  384. package/dist/block.mds.geneboxplot-VQTBL7T4.js +0 -828
  385. package/dist/block.mds.junction-IYWWRIJD.js +0 -1545
  386. package/dist/block.mds.svcnv-BMY5DCAM.js +0 -6801
  387. package/dist/block.svg-AT4GYQHX.js +0 -164
  388. package/dist/block.tk.aicheck-RANOFGDZ.js +0 -283
  389. package/dist/block.tk.ase-CBWJA3RN.js +0 -365
  390. package/dist/block.tk.bam-D7JBRNFQ.js +0 -1906
  391. package/dist/block.tk.bedgraphdot-IEHNIGVI.js +0 -384
  392. package/dist/block.tk.bigwig.ui-3SAXUJU4.js +0 -212
  393. package/dist/block.tk.hicstraw-R5EHQFGM.js +0 -823
  394. package/dist/block.tk.junction-JFCEXZZC.js +0 -2364
  395. package/dist/block.tk.junction.textmatrixui-4V7MV6TD.js +0 -199
  396. package/dist/block.tk.ld-LP4DIHAJ.js +0 -99
  397. package/dist/block.tk.menu-FTVZU2HA.js +0 -1029
  398. package/dist/block.tk.pgv-CRAMVKU4.js +0 -944
  399. package/dist/brainImaging-DXLK5XZ6.js +0 -423
  400. package/dist/brainRegions-AMSXQT3T.js +0 -221
  401. package/dist/bubbleHeatmap-SXBARILL.js +0 -383
  402. package/dist/chunk-23AEAG37.js +0 -314
  403. package/dist/chunk-2AHDWWQO.js +0 -276
  404. package/dist/chunk-2OJ577BB.js +0 -299
  405. package/dist/chunk-433DTQ6C.js +0 -26
  406. package/dist/chunk-46CPDZSW.js +0 -617
  407. package/dist/chunk-47EYZQA7.js +0 -98
  408. package/dist/chunk-4M22UIJQ.js +0 -2327
  409. package/dist/chunk-4YDERN37.js +0 -194
  410. package/dist/chunk-5ERYRSVV.js +0 -1825
  411. package/dist/chunk-6W6UMGAV.js +0 -230
  412. package/dist/chunk-6Z4XHMZV.js +0 -54
  413. package/dist/chunk-7P4DUYAQ.js +0 -1245
  414. package/dist/chunk-7YWPWCHD.js +0 -448
  415. package/dist/chunk-7Z6E3NA5.js +0 -787
  416. package/dist/chunk-AC3RAKUI.js +0 -102
  417. package/dist/chunk-BKPDYW5T.js +0 -177
  418. package/dist/chunk-BSOB3BVG.js +0 -217
  419. package/dist/chunk-CJJA6RVM.js +0 -254
  420. package/dist/chunk-CUXOQIUA.js +0 -1102
  421. package/dist/chunk-D5ZYSW45.js +0 -216
  422. package/dist/chunk-DA6RR5IR.js +0 -170
  423. package/dist/chunk-DD6KDZVR.js +0 -302
  424. package/dist/chunk-DI5ULDWN.js +0 -54
  425. package/dist/chunk-DXM5IMGV.js +0 -446
  426. package/dist/chunk-FYY3T565.js +0 -188
  427. package/dist/chunk-FYY3T565.js.map +0 -7
  428. package/dist/chunk-GFETCJ7S.js +0 -176
  429. package/dist/chunk-H42SJNXA.js +0 -1535
  430. package/dist/chunk-H42SJNXA.js.map +0 -7
  431. package/dist/chunk-HCNF7EFT.js +0 -292
  432. package/dist/chunk-I62GOCNI.js +0 -31
  433. package/dist/chunk-IBYOP2FV.js +0 -2833
  434. package/dist/chunk-JD2ECQ3Z.js +0 -2681
  435. package/dist/chunk-JF47NF5G.js +0 -236
  436. package/dist/chunk-JHZK6IDA.js +0 -20904
  437. package/dist/chunk-JHZK6IDA.js.map +0 -7
  438. package/dist/chunk-JOA4KJTM.js +0 -222
  439. package/dist/chunk-JT7HC65V.js +0 -556
  440. package/dist/chunk-K6AW4GFM.js +0 -37
  441. package/dist/chunk-K7QY24X2.js +0 -1223
  442. package/dist/chunk-KOLVLBMI.js +0 -100
  443. package/dist/chunk-KQ6EF3FG.js +0 -448
  444. package/dist/chunk-LBWKMNVU.js +0 -129
  445. package/dist/chunk-LFGIMCUD.js +0 -55
  446. package/dist/chunk-LKB3DITY.js +0 -343
  447. package/dist/chunk-LQJMCE7G.js +0 -467
  448. package/dist/chunk-M2PPUO4E.js +0 -315
  449. package/dist/chunk-M2PPUO4E.js.map +0 -7
  450. package/dist/chunk-MCXQL4W2.js +0 -226
  451. package/dist/chunk-MCXQL4W2.js.map +0 -7
  452. package/dist/chunk-MLYSQG3C.js +0 -833
  453. package/dist/chunk-MNIBZTQE.js +0 -146
  454. package/dist/chunk-MYZJUT2H.js +0 -272
  455. package/dist/chunk-NOCLG6IN.js +0 -5070
  456. package/dist/chunk-NVRLD4TF.js +0 -2786
  457. package/dist/chunk-NZCX4A7X.js +0 -14
  458. package/dist/chunk-OVHCUTQM.js +0 -102
  459. package/dist/chunk-P3NKHTNT.js +0 -34
  460. package/dist/chunk-PFOCEOVT.js +0 -477
  461. package/dist/chunk-PJSOYF5U.js +0 -158
  462. package/dist/chunk-PK5HXJ3S.js +0 -272
  463. package/dist/chunk-Q555GFBW.js +0 -1942
  464. package/dist/chunk-QAVZUWY3.js +0 -399
  465. package/dist/chunk-QOAUM6UV.js +0 -148
  466. package/dist/chunk-QOEPKNVD.js +0 -185
  467. package/dist/chunk-QXPJLSAD.js +0 -4284
  468. package/dist/chunk-QZLP27O6.js +0 -50
  469. package/dist/chunk-SENZWOCC.js +0 -203
  470. package/dist/chunk-SFIX7XVT.js +0 -514
  471. package/dist/chunk-SJWAMUL5.js +0 -117
  472. package/dist/chunk-SOTB4FRE.js +0 -2098
  473. package/dist/chunk-SOTB4FRE.js.map +0 -7
  474. package/dist/chunk-TJYRBEBK.js +0 -2878
  475. package/dist/chunk-TJYRBEBK.js.map +0 -7
  476. package/dist/chunk-U3CMLIGB.js +0 -6364
  477. package/dist/chunk-UF6ZP6UR.js +0 -381
  478. package/dist/chunk-UN3O2MNB.js +0 -375
  479. package/dist/chunk-UVWUP6N7.js +0 -1275
  480. package/dist/chunk-UYEJ5DEZ.js +0 -142
  481. package/dist/chunk-V2ET64EJ.js +0 -119
  482. package/dist/chunk-WQEGWR63.js +0 -102
  483. package/dist/chunk-WYSEBR5S.js +0 -58
  484. package/dist/chunk-XB6F5OUB.js +0 -386
  485. package/dist/chunk-XVYSEXFV.js +0 -368
  486. package/dist/chunk-YGKVY5IU.js +0 -480
  487. package/dist/chunk-ZPXSPJV2.js +0 -263
  488. package/dist/chunk-ZRSJVACE.js +0 -1500
  489. package/dist/chunk-ZRSJVACE.js.map +0 -7
  490. package/dist/condition-YCPNILTV.js +0 -332
  491. package/dist/controls-RW5MWSLN.js +0 -41
  492. package/dist/controls.config-MP3CSYR4.js +0 -39
  493. package/dist/correlation-7AQRU4YR.js +0 -102
  494. package/dist/cuminc-WYLKIOXR.js +0 -1149
  495. package/dist/cuminc.integration.spec-MSAWDLD7.js +0 -678
  496. package/dist/customdata.inputui-YU4IQJOV.js +0 -289
  497. package/dist/dataDownload-72DIPZ45.js +0 -330
  498. package/dist/dataDownload.integration.spec-HRLMWQN7.js +0 -193
  499. package/dist/databrowser.ui-3PE25HK4.js +0 -433
  500. package/dist/dictionary-Y3ICL4AE.js +0 -118
  501. package/dist/dnaMethylation-SVGDW64U.js +0 -38
  502. package/dist/dnaMethylation.integration.spec-B7GLAFZI.js +0 -203
  503. package/dist/dofetch-42KOXNPF.js +0 -51
  504. package/dist/e2pca-CLFGEFJH.js +0 -350
  505. package/dist/ep-PUHV2DMO.js +0 -1256
  506. package/dist/expclust.gdc.spec-N7YDJAOZ.js +0 -307
  507. package/dist/facet-JFFJJCNT.js +0 -521
  508. package/dist/forms2-XZAWW3RN.js +0 -539
  509. package/dist/gb-SQJ5PWOH.js +0 -88
  510. package/dist/geneExpClustering-EG2BLMQX.js +0 -249
  511. package/dist/geneExpression-J42BGP3B.js +0 -38
  512. package/dist/geneExpression-QRK3LNMV.js +0 -313
  513. package/dist/geneExpression.unit.spec-X7HVIFZA.js +0 -102
  514. package/dist/geneORA-SVBPO66K.js +0 -278
  515. package/dist/geneRanking-HNMMLZIX.js +0 -553
  516. package/dist/geneVariant-RVQKNVQO.js +0 -39
  517. package/dist/geneVariant-SO5FEJUZ.js +0 -41
  518. package/dist/geneVariant.integration.spec-DOMX4GMP.js +0 -198
  519. package/dist/genefusion.ui-QS7AG46F.js +0 -309
  520. package/dist/geneset-JKOX3VIW.js +0 -208
  521. package/dist/genomeBrowser.spec-IRSTT2OX.js +0 -281
  522. package/dist/grin2-G6DA4M7Q.js +0 -1095
  523. package/dist/grin2-G6DA4M7Q.js.map +0 -7
  524. package/dist/grin2-VZLCISPM.js +0 -75
  525. package/dist/hierCluster-6AW23EB5.js +0 -63
  526. package/dist/hierCluster-REXTCODR.js +0 -59
  527. package/dist/hierCluster.config-3Z3R66XH.js +0 -40
  528. package/dist/hierCluster.integration.spec-XE47Q64Z.js +0 -488
  529. package/dist/hierCluster.interactivity-2YJYYKVK.js +0 -54
  530. package/dist/hierCluster.renderers-LE7W2AL6.js +0 -21
  531. package/dist/imagePlot-WMZJJ5CJ.js +0 -163
  532. package/dist/importPlot-P35EGIJJ.js +0 -8
  533. package/dist/isoformExpression-3TFPEXB4.js +0 -40
  534. package/dist/isoformExpression.unit.spec-SPQFK3EA.js +0 -208
  535. package/dist/launch.adhoc-ZQSJBLMJ.js +0 -42
  536. package/dist/leftlabel.sample-SJRQ6LJ2.js +0 -264
  537. package/dist/legacyDataset-TNIIJABK.js +0 -119
  538. package/dist/lollipop-RXM6UBZ7.js +0 -171
  539. package/dist/maf-NWXJWBNF.js +0 -459
  540. package/dist/maftimeline-D7UENAP5.js +0 -593
  541. package/dist/matrix-77LNADX2.js +0 -63
  542. package/dist/matrix-YDOLKY6G.js +0 -58
  543. package/dist/matrix.cells-VEC5LEWV.js +0 -28
  544. package/dist/matrix.config-GTAAAUGQ.js +0 -41
  545. package/dist/matrix.data-T4GEX6ZH.js +0 -25
  546. package/dist/matrix.groups-7NWHHP5Q.js +0 -27
  547. package/dist/matrix.integration.spec-5GBTFRZA.js +0 -3072
  548. package/dist/matrix.interactivity-ONT6WCRU.js +0 -42
  549. package/dist/matrix.layout-LDXHGOHF.js +0 -44
  550. package/dist/matrix.legend-5MDW65HV.js +0 -22
  551. package/dist/matrix.renderers-OEPLQG3C.js +0 -38
  552. package/dist/matrix.serieses-4RX7TUQ7.js +0 -21
  553. package/dist/matrix.sort-UKMMECBZ.js +0 -27
  554. package/dist/matrix.sort.unit.spec-VWOXPVRE.js +0 -472
  555. package/dist/matrix.sorterUi-H64DDQIL.js +0 -18
  556. package/dist/matrix.sorterUi.unit.spec-DH4434FK.js +0 -342
  557. package/dist/mavb-ARUWOZES.js +0 -732
  558. package/dist/mds.fimo-ZEAE5BC3.js +0 -518
  559. package/dist/mds.samplescatterplot-C5EBKBVF.js +0 -1550
  560. package/dist/mds.survivalplot-RS7Z3J3Q.js +0 -483
  561. package/dist/numericDictTermCluster-CSQOV4TM.js +0 -65
  562. package/dist/oncomatrix-5UVM3KUA.js +0 -295
  563. package/dist/oncomatrix.spec-CU3EZCMO.js +0 -448
  564. package/dist/plot.2dvaf-JD27DSDS.js +0 -377
  565. package/dist/plot.app-NMPMG3S2.js +0 -41
  566. package/dist/plot.barplot-T4LPKFXW.js +0 -102
  567. package/dist/plot.boxplot-22ETOHNI.js +0 -152
  568. package/dist/plot.brainImaging-Q7S7KSHW.js +0 -51
  569. package/dist/plot.disco-NIPBER5N.js +0 -102
  570. package/dist/plot.dzi-DAX7GUTF.js +0 -33
  571. package/dist/plot.ssgq-7J6S35RW.js +0 -139
  572. package/dist/plot.vaf2cov-7EWFTD72.js +0 -259
  573. package/dist/plot.wsi-E45KZGKD.js +0 -36
  574. package/dist/polar2-LPT2XMD2.js +0 -231
  575. package/dist/profileForms-EYN2KLSY.js +0 -446
  576. package/dist/profilePlot-I7VQM3CH.js +0 -54
  577. package/dist/proteinView-JP5TF3ZK.js +0 -1568
  578. package/dist/qualitative-7X3ECW7Q.js +0 -43
  579. package/dist/radar2-V3FYBFAG.js +0 -326
  580. package/dist/radarFacility2-O6GQLBBN.js +0 -334
  581. package/dist/regression-CLG6NYVF.js +0 -56
  582. package/dist/regression.inputs-RLOBIRJH.js +0 -48
  583. package/dist/regression.inputs.term-ZKIP6KDO.js +0 -48
  584. package/dist/regression.inputs.values.table-2VD4AO5T.js +0 -45
  585. package/dist/regression.integration.spec-JEIMN7MS.js +0 -784
  586. package/dist/regression.results-FT6VSWGR.js +0 -40
  587. package/dist/regression.spec-V4S52JQM.js +0 -708
  588. package/dist/report-UPQFSI4D.js +0 -222
  589. package/dist/sampleScatter.spec-QSRF3STG.js +0 -202
  590. package/dist/sampleView-JIGZ7GTP.js +0 -48
  591. package/dist/samplelst-VJMYHVXI.js +0 -111
  592. package/dist/samplematrix-LO4QB37V.js +0 -2198
  593. package/dist/sc-4VZBGFZP.js +0 -86
  594. package/dist/scatter-LQECXZLB.js +0 -851
  595. package/dist/selectGenomeWithTklst-IJTCLRIN.js +0 -134
  596. package/dist/singleCellCellType-FJ53DRXD.js +0 -38
  597. package/dist/singleCellCellType.unit.spec-VOE4KY6L.js +0 -160
  598. package/dist/singleCellGeneExpression-RZE5UVL4.js +0 -38
  599. package/dist/singleCellGeneExpression.unit.spec-2DASF7PD.js +0 -153
  600. package/dist/singleCellPlot-Q5UNIW3M.js +0 -54
  601. package/dist/singlecell-N7F5KVIB.js +0 -1572
  602. package/dist/singlecell-TX5AQ4WM.js +0 -86
  603. package/dist/snp-S4O7SVDD.js +0 -38
  604. package/dist/snp.unit.spec-WSQMZSTE.js +0 -176
  605. package/dist/snplocus-Y2R5C4ZP.js +0 -208
  606. package/dist/spliceevent.a53ss.diagram-FGRQR73W.js +0 -151
  607. package/dist/spliceevent.exonskip.diagram-TVH44RNL.js +0 -277
  608. package/dist/spliceevent.exonskip.diagram-TVH44RNL.js.map +0 -7
  609. package/dist/spliceevent.noeventdiagram-G2CMYYE7.js +0 -460
  610. package/dist/ssGSEA-BH53XGEZ.js +0 -38
  611. package/dist/ssGSEA.unit.spec-BYIVB7FZ.js +0 -88
  612. package/dist/summarizeCnvGeneexp-IZNOX4E7.js +0 -163
  613. package/dist/summarizeGeneexpSurvival-DJZ2R24E.js +0 -114
  614. package/dist/summarizeMutationCnv-CO2TVWOI.js +0 -164
  615. package/dist/summarizeMutationDiagnosis-EUZXCSZP.js +0 -40
  616. package/dist/summarizeMutationSurvival-CXFT3HWL.js +0 -99
  617. package/dist/summary-JHZCDE35.js +0 -49
  618. package/dist/summary.integration.spec-WBEYSDCA.js +0 -414
  619. package/dist/summaryInput-JVH3R54R.js +0 -235
  620. package/dist/sunburst-CTJTXHSA.js +0 -284
  621. package/dist/survival-DLLVUG2P.js +0 -46
  622. package/dist/survival-XFVYNI6S.js +0 -58
  623. package/dist/survival.integration.spec-KVXHHAA3.js +0 -915
  624. package/dist/svgraph-ACEBMDIX.js +0 -1387
  625. package/dist/svmr-IQEDSZ2C.js +0 -3842
  626. package/dist/table-2IF6UGHR.js +0 -200
  627. package/dist/termCollection-JOLQJYJ3.js +0 -38
  628. package/dist/termCollection-PSXFFR32.js +0 -179
  629. package/dist/termCollection.unit.spec-4SOZP4FY.js +0 -208
  630. package/dist/tk-AAIHEQO6.js +0 -46
  631. package/dist/tk-IRXFL5NV.js +0 -997
  632. package/dist/tk-IRXFL5NV.js.map +0 -7
  633. package/dist/tp.ui-6STLQEXX.js +0 -1459
  634. package/dist/tvs.dt-FSA7KPSQ.js +0 -39
  635. package/dist/tvs.dtcnv.categorical-FSPGH7DP.js +0 -40
  636. package/dist/tvs.dtcnv.continuous-T4ZMSDB4.js +0 -72
  637. package/dist/tvs.dtfusion-UL3YENUM.js +0 -40
  638. package/dist/tvs.dtitd-XJOSZUWG.js +0 -40
  639. package/dist/tvs.dtsnvindel-5TPUT5RJ.js +0 -40
  640. package/dist/tvs.dtsv-OTNHXYOJ.js +0 -40
  641. package/dist/tvs.numeric-KYAU5OV3.js +0 -21
  642. package/dist/tvs.samplelst-FQKTAQZF.js +0 -104
  643. package/dist/tvs.termCollection-ZAPCUMUW.js +0 -159
  644. package/dist/violin-HEFFKPL5.js +0 -46
  645. package/dist/violin.integration.spec-774N4G5A.js +0 -1425
  646. package/dist/violin.interactivity-XNYJSK53.js +0 -38
  647. package/dist/violin.renderer-R74VSGRC.js +0 -40
  648. package/dist/vocabulary-OHMC6NWL.js +0 -41
  649. /package/dist/{2dmaf-HV22W5N3.js.map → 2dmaf-R3PFZNRN.js.map} +0 -0
  650. /package/dist/{AIProjectAdmin-7QGTPN3B.js.map → AIProjectAdmin-DM3KG6SR.js.map} +0 -0
  651. /package/dist/{AppHeader-NOKET4YE.js.map → AppHeader-6DZQ6YZX.js.map} +0 -0
  652. /package/dist/{BoxPlot-SPG66F4C.js.map → BoxPlot-76NINVX4.js.map} +0 -0
  653. /package/dist/{CorrelationVolcano-3LEMTFXP.js.map → CorrelationVolcano-U5UMJNH5.js.map} +0 -0
  654. /package/dist/{DE-WCCADMXA.js.map → DE-AXNYWIQK.js.map} +0 -0
  655. /package/dist/{DEinput-IZNPYPKH.js.map → DEinput-JH6YY6LS.js.map} +0 -0
  656. /package/dist/{DifferentialAnalysis-SDZXIUXP.js.map → DifferentialAnalysis-25P4CGIY.js.map} +0 -0
  657. /package/dist/{Disco.UI-RVUOPT6Y.js.map → Disco.UI-C7CZINUQ.js.map} +0 -0
  658. /package/dist/{DmrPlot-R2N534FS.js.map → DmrPlot-WROR4ENM.js.map} +0 -0
  659. /package/dist/{GSEA-3TB3PYEV.js.map → GSEA-Y5R2THIJ.js.map} +0 -0
  660. /package/dist/{GeneExpInput-VWCPHOVO.js.map → GeneExpInput-JDU6EI7K.js.map} +0 -0
  661. /package/dist/{HicApp-F2MY3NXP.js.map → HicApp-UNIJLH4B.js.map} +0 -0
  662. /package/dist/{NumBinaryEditor-AL2NWII2.js.map → NumBinaryEditor-WMN2GGO4.js.map} +0 -0
  663. /package/dist/{NumBinaryEditor.unit.spec-NFRJHFNX.js.map → NumBinaryEditor.unit.spec-TAMXV6SE.js.map} +0 -0
  664. /package/dist/{NumContEditor-CTFJVIHU.js.map → NumContEditor-XYIOJY4E.js.map} +0 -0
  665. /package/dist/{NumContEditor.unit.spec-FXGGCMTD.js.map → NumContEditor.unit.spec-WDZ75BHO.js.map} +0 -0
  666. /package/dist/{NumCustomBinEditor-JFIJ2X6E.js.map → NumCustomBinEditor-5SY3C4TY.js.map} +0 -0
  667. /package/dist/{NumCustomBinEditor.unit.spec-ZKIZXS53.js.map → NumCustomBinEditor.unit.spec-XHTAIXR3.js.map} +0 -0
  668. /package/dist/{NumDiscreteEditor-E7SPHF55.js.map → NumDiscreteEditor-NRDRX4FD.js.map} +0 -0
  669. /package/dist/{NumDiscreteEditor.unit.spec-QKKRZJMU.js.map → NumDiscreteEditor.unit.spec-2CJW7OAT.js.map} +0 -0
  670. /package/dist/{NumRegularBinEditor-JSLTZIAQ.js.map → NumRegularBinEditor-DUDVTNDC.js.map} +0 -0
  671. /package/dist/{NumRegularBinEditor.unit.spec-W73BA6L4.js.map → NumRegularBinEditor.unit.spec-H3GNQHMN.js.map} +0 -0
  672. /package/dist/{NumSplineEditor-ZEXYGKKF.js.map → NumSplineEditor-7Q4AC7KH.js.map} +0 -0
  673. /package/dist/{NumSplineEditor.unit.spec-EHKI4CY7.js.map → NumSplineEditor.unit.spec-YRZK5PH5.js.map} +0 -0
  674. /package/dist/{NumericDensity-ZXM6TB33.js.map → NumericDensity-NTNWUESG.js.map} +0 -0
  675. /package/dist/{NumericDensity.unit.spec-PUFRE5XA.js.map → NumericDensity.unit.spec-5I5U6T6P.js.map} +0 -0
  676. /package/dist/{NumericHandler-73TUDM3R.js.map → NumericHandler-MEW2KMPX.js.map} +0 -0
  677. /package/dist/{NumericHandler.unit.spec-EITBD47U.js.map → NumericHandler.unit.spec-JFX4BPRG.js.map} +0 -0
  678. /package/dist/{ProteomeInput-QICOUSRW.js.map → ProteomeInput-K2ZHR2U6.js.map} +0 -0
  679. /package/dist/{RunChart2-4JYV2Z7B.js.map → RunChart2-BEBDU7RC.js.map} +0 -0
  680. /package/dist/{SC-77HA6SBW.js.map → SC-XCBFJVUJ.js.map} +0 -0
  681. /package/dist/{Volcano-3546I4MG.js.map → Volcano-4Y4TP3UX.js.map} +0 -0
  682. /package/dist/{WSIViewer-DQAXX7QJ.js.map → WSIViewer-ZLQU62PD.js.map} +0 -0
  683. /package/dist/{WsiSamplesPlot-AGOLPLK3.js.map → WsiSamplesPlot-JMBSITOM.js.map} +0 -0
  684. /package/dist/{adSandbox-ZE5QOTN5.js.map → adSandbox-664IRCRL.js.map} +0 -0
  685. /package/dist/{animatedBubbleChart-ILMDNAVK.js.map → animatedBubbleChart-TX7NW34K.js.map} +0 -0
  686. /package/dist/{app-JBFRJ5OO.js.map → app-63WJ3BMP.js.map} +0 -0
  687. /package/dist/{app-YVNRAZWU.js.map → app-77FIZHCG.js.map} +0 -0
  688. /package/dist/{bam-A2PVAF3J.js.map → bam-IETNVAYD.js.map} +0 -0
  689. /package/dist/{barchart-2XQ7F6LT.js.map → barchart-YUVXJNH4.js.map} +0 -0
  690. /package/dist/{barchart.data-6XLK7D63.js.map → barchart.data-P4EIQXGE.js.map} +0 -0
  691. /package/dist/{barchart.events-DKJDKSPN.js.map → barchart.events-JPVCLTIG.js.map} +0 -0
  692. /package/dist/{barchart.integration.spec-UTTCQJRL.js.map → barchart.integration.spec-ZH7DEQI2.js.map} +0 -0
  693. /package/dist/{barchart2-2FRVUVJG.js.map → barchart2-XO2FG76J.js.map} +0 -0
  694. /package/dist/{bars.renderer-57KSYAAT.js.map → bars.renderer-AUIWUJDH.js.map} +0 -0
  695. /package/dist/{block-3KOPYQ25.js.map → block-NBTCOT3H.js.map} +0 -0
  696. /package/dist/{block.init-3KLLFGGV.js.map → block.init-X7Y2EEVR.js.map} +0 -0
  697. /package/dist/{block.mds.expressionrank-XU3MBIOX.js.map → block.mds.expressionrank-BIAOZIZ3.js.map} +0 -0
  698. /package/dist/{block.mds.geneboxplot-VQTBL7T4.js.map → block.mds.geneboxplot-CNICDVLK.js.map} +0 -0
  699. /package/dist/{block.mds.junction-IYWWRIJD.js.map → block.mds.junction-PQXCTSUI.js.map} +0 -0
  700. /package/dist/{block.mds.svcnv-BMY5DCAM.js.map → block.mds.svcnv-32KMVTCT.js.map} +0 -0
  701. /package/dist/{block.svg-AT4GYQHX.js.map → block.svg-LRTOYQK2.js.map} +0 -0
  702. /package/dist/{block.tk.aicheck-RANOFGDZ.js.map → block.tk.aicheck-HDV7ZIUD.js.map} +0 -0
  703. /package/dist/{block.tk.ase-CBWJA3RN.js.map → block.tk.ase-JIDWKMYI.js.map} +0 -0
  704. /package/dist/{block.tk.bam-D7JBRNFQ.js.map → block.tk.bam-5X3OS5HB.js.map} +0 -0
  705. /package/dist/{block.tk.bedgraphdot-IEHNIGVI.js.map → block.tk.bedgraphdot-T7JX7YQL.js.map} +0 -0
  706. /package/dist/{block.tk.bigwig.ui-3SAXUJU4.js.map → block.tk.bigwig.ui-OSAYEBAE.js.map} +0 -0
  707. /package/dist/{block.tk.hicstraw-R5EHQFGM.js.map → block.tk.hicstraw-DEY3VQFK.js.map} +0 -0
  708. /package/dist/{block.tk.junction-JFCEXZZC.js.map → block.tk.junction-7UAFEZSJ.js.map} +0 -0
  709. /package/dist/{block.tk.junction.textmatrixui-4V7MV6TD.js.map → block.tk.junction.textmatrixui-27LHS33U.js.map} +0 -0
  710. /package/dist/{block.tk.ld-LP4DIHAJ.js.map → block.tk.ld-DF2PI7OO.js.map} +0 -0
  711. /package/dist/{block.tk.menu-FTVZU2HA.js.map → block.tk.menu-L2D5KBIV.js.map} +0 -0
  712. /package/dist/{block.tk.pgv-CRAMVKU4.js.map → block.tk.pgv-QO56SKBV.js.map} +0 -0
  713. /package/dist/{brainImaging-DXLK5XZ6.js.map → brainImaging-NIPQWFWO.js.map} +0 -0
  714. /package/dist/{brainRegions-AMSXQT3T.js.map → brainRegions-ZNZ2WHSU.js.map} +0 -0
  715. /package/dist/{bubbleHeatmap-SXBARILL.js.map → bubbleHeatmap-ERWNEKZB.js.map} +0 -0
  716. /package/dist/{chunk-2OJ577BB.js.map → chunk-2GYWFQML.js.map} +0 -0
  717. /package/dist/{chunk-QZLP27O6.js.map → chunk-2HYJ4GDH.js.map} +0 -0
  718. /package/dist/{chunk-MYZJUT2H.js.map → chunk-2MG6XE6R.js.map} +0 -0
  719. /package/dist/{chunk-DI5ULDWN.js.map → chunk-33K5PA52.js.map} +0 -0
  720. /package/dist/{chunk-433DTQ6C.js.map → chunk-37XDBPOP.js.map} +0 -0
  721. /package/dist/{chunk-WYSEBR5S.js.map → chunk-3EWB3246.js.map} +0 -0
  722. /package/dist/{chunk-KOLVLBMI.js.map → chunk-3RSKOPIY.js.map} +0 -0
  723. /package/dist/{chunk-CUXOQIUA.js.map → chunk-4DPVT4NE.js.map} +0 -0
  724. /package/dist/{chunk-47EYZQA7.js.map → chunk-4IH7DORZ.js.map} +0 -0
  725. /package/dist/{chunk-QAVZUWY3.js.map → chunk-4QNBFIIR.js.map} +0 -0
  726. /package/dist/{chunk-BSOB3BVG.js.map → chunk-4STKL6SR.js.map} +0 -0
  727. /package/dist/{chunk-P3NKHTNT.js.map → chunk-4TZIVSL5.js.map} +0 -0
  728. /package/dist/{chunk-LQJMCE7G.js.map → chunk-5ABGFJSP.js.map} +0 -0
  729. /package/dist/{chunk-DD6KDZVR.js.map → chunk-5AZNP47R.js.map} +0 -0
  730. /package/dist/{chunk-NOCLG6IN.js.map → chunk-5RL2OHXX.js.map} +0 -0
  731. /package/dist/{chunk-WQEGWR63.js.map → chunk-6BB43SIB.js.map} +0 -0
  732. /package/dist/{chunk-2AHDWWQO.js.map → chunk-7OHRR2IE.js.map} +0 -0
  733. /package/dist/{chunk-NZCX4A7X.js.map → chunk-ASATD4T7.js.map} +0 -0
  734. /package/dist/{chunk-K7QY24X2.js.map → chunk-AZ47Q7BX.js.map} +0 -0
  735. /package/dist/{chunk-JF47NF5G.js.map → chunk-B5B3LZB3.js.map} +0 -0
  736. /package/dist/{chunk-JD2ECQ3Z.js.map → chunk-BHGISFCA.js.map} +0 -0
  737. /package/dist/{chunk-NVRLD4TF.js.map → chunk-BMBOZ64T.js.map} +0 -0
  738. /package/dist/{chunk-D5ZYSW45.js.map → chunk-BOZJHPJP.js.map} +0 -0
  739. /package/dist/{chunk-4YDERN37.js.map → chunk-CDD7LYJM.js.map} +0 -0
  740. /package/dist/{chunk-4M22UIJQ.js.map → chunk-CTQ3IUCA.js.map} +0 -0
  741. /package/dist/{chunk-PJSOYF5U.js.map → chunk-D7TID3HR.js.map} +0 -0
  742. /package/dist/{chunk-LFGIMCUD.js.map → chunk-E55LLYRX.js.map} +0 -0
  743. /package/dist/{chunk-XB6F5OUB.js.map → chunk-ESGXULRH.js.map} +0 -0
  744. /package/dist/{chunk-SJWAMUL5.js.map → chunk-EZ4LZ6ZT.js.map} +0 -0
  745. /package/dist/{chunk-QXPJLSAD.js.map → chunk-F3SJTVP5.js.map} +0 -0
  746. /package/dist/{chunk-JOA4KJTM.js.map → chunk-F5IXNJO7.js.map} +0 -0
  747. /package/dist/{chunk-KQ6EF3FG.js.map → chunk-FJYECRHW.js.map} +0 -0
  748. /package/dist/{chunk-MLYSQG3C.js.map → chunk-FPNRUQOU.js.map} +0 -0
  749. /package/dist/{chunk-Q555GFBW.js.map → chunk-G5S4R77D.js.map} +0 -0
  750. /package/dist/{chunk-DA6RR5IR.js.map → chunk-G764NXQN.js.map} +0 -0
  751. /package/dist/{chunk-QOAUM6UV.js.map → chunk-GAPI4MML.js.map} +0 -0
  752. /package/dist/{chunk-PK5HXJ3S.js.map → chunk-HLUZOZXJ.js.map} +0 -0
  753. /package/dist/{chunk-UN3O2MNB.js.map → chunk-HOKIK2FR.js.map} +0 -0
  754. /package/dist/{chunk-LBWKMNVU.js.map → chunk-KLGL6XZD.js.map} +0 -0
  755. /package/dist/{chunk-YGKVY5IU.js.map → chunk-L7IRWUKT.js.map} +0 -0
  756. /package/dist/{chunk-23AEAG37.js.map → chunk-LFCYMSVA.js.map} +0 -0
  757. /package/dist/{chunk-46CPDZSW.js.map → chunk-LX6G7HJJ.js.map} +0 -0
  758. /package/dist/{chunk-UYEJ5DEZ.js.map → chunk-M2G5R4WB.js.map} +0 -0
  759. /package/dist/{chunk-AC3RAKUI.js.map → chunk-M4TTGGT4.js.map} +0 -0
  760. /package/dist/{chunk-5ERYRSVV.js.map → chunk-M6EF3WVV.js.map} +0 -0
  761. /package/dist/{chunk-MNIBZTQE.js.map → chunk-M6KHT3MM.js.map} +0 -0
  762. /package/dist/{chunk-6W6UMGAV.js.map → chunk-MCZFHWIR.js.map} +0 -0
  763. /package/dist/{chunk-7YWPWCHD.js.map → chunk-MFQACKYU.js.map} +0 -0
  764. /package/dist/{chunk-LKB3DITY.js.map → chunk-MVGAGTM3.js.map} +0 -0
  765. /package/dist/{chunk-V2ET64EJ.js.map → chunk-NELOT3NJ.js.map} +0 -0
  766. /package/dist/{chunk-6Z4XHMZV.js.map → chunk-NRKMXULC.js.map} +0 -0
  767. /package/dist/{chunk-BKPDYW5T.js.map → chunk-NYRZNRG5.js.map} +0 -0
  768. /package/dist/{chunk-XVYSEXFV.js.map → chunk-ONPKE6DC.js.map} +0 -0
  769. /package/dist/{chunk-JT7HC65V.js.map → chunk-OXVLWQ6M.js.map} +0 -0
  770. /package/dist/{chunk-SENZWOCC.js.map → chunk-PFRWS4CR.js.map} +0 -0
  771. /package/dist/{chunk-UVWUP6N7.js.map → chunk-PJKQUXEN.js.map} +0 -0
  772. /package/dist/{chunk-U3CMLIGB.js.map → chunk-Q2L44HK3.js.map} +0 -0
  773. /package/dist/{chunk-7P4DUYAQ.js.map → chunk-QNHT74XC.js.map} +0 -0
  774. /package/dist/{chunk-DXM5IMGV.js.map → chunk-RKO6BL5N.js.map} +0 -0
  775. /package/dist/{chunk-CJJA6RVM.js.map → chunk-T25QNZHB.js.map} +0 -0
  776. /package/dist/{chunk-I62GOCNI.js.map → chunk-U7TBYVIQ.js.map} +0 -0
  777. /package/dist/{chunk-UF6ZP6UR.js.map → chunk-UGRQXBL4.js.map} +0 -0
  778. /package/dist/{chunk-PFOCEOVT.js.map → chunk-USFSHSCJ.js.map} +0 -0
  779. /package/dist/{chunk-IBYOP2FV.js.map → chunk-VJ6UFVGC.js.map} +0 -0
  780. /package/dist/{chunk-HCNF7EFT.js.map → chunk-W3WPPOXH.js.map} +0 -0
  781. /package/dist/{chunk-ZPXSPJV2.js.map → chunk-WFCSOTBO.js.map} +0 -0
  782. /package/dist/{chunk-QOEPKNVD.js.map → chunk-WHP4AKDM.js.map} +0 -0
  783. /package/dist/{chunk-OVHCUTQM.js.map → chunk-WZ2L57MB.js.map} +0 -0
  784. /package/dist/{chunk-7Z6E3NA5.js.map → chunk-XPY6AWXO.js.map} +0 -0
  785. /package/dist/{chunk-K6AW4GFM.js.map → chunk-Y4UAKFWC.js.map} +0 -0
  786. /package/dist/{chunk-SFIX7XVT.js.map → chunk-YQBS2ZCK.js.map} +0 -0
  787. /package/dist/{chunk-GFETCJ7S.js.map → chunk-ZTHM2TKP.js.map} +0 -0
  788. /package/dist/{condition-YCPNILTV.js.map → condition-2PASYSUC.js.map} +0 -0
  789. /package/dist/{controls-RW5MWSLN.js.map → controls-5IMJ6K5L.js.map} +0 -0
  790. /package/dist/{controls.config-MP3CSYR4.js.map → controls.config-P5PG2DHW.js.map} +0 -0
  791. /package/dist/{correlation-7AQRU4YR.js.map → correlation-U3EDLNHR.js.map} +0 -0
  792. /package/dist/{cuminc-WYLKIOXR.js.map → cuminc-2HUFEROK.js.map} +0 -0
  793. /package/dist/{cuminc.integration.spec-MSAWDLD7.js.map → cuminc.integration.spec-WFWAPTDA.js.map} +0 -0
  794. /package/dist/{customdata.inputui-YU4IQJOV.js.map → customdata.inputui-ZHWNEPFH.js.map} +0 -0
  795. /package/dist/{dataDownload-72DIPZ45.js.map → dataDownload-VBSJBKMP.js.map} +0 -0
  796. /package/dist/{dataDownload.integration.spec-HRLMWQN7.js.map → dataDownload.integration.spec-LUFSETOP.js.map} +0 -0
  797. /package/dist/{databrowser.ui-3PE25HK4.js.map → databrowser.ui-6H2KMSTJ.js.map} +0 -0
  798. /package/dist/{dictionary-Y3ICL4AE.js.map → dictionary-V37LXFIP.js.map} +0 -0
  799. /package/dist/{dnaMethylation-SVGDW64U.js.map → dnaMethylation-OIZMHMLK.js.map} +0 -0
  800. /package/dist/{dnaMethylation.integration.spec-B7GLAFZI.js.map → dnaMethylation.integration.spec-CWPTJ74H.js.map} +0 -0
  801. /package/dist/{dofetch-42KOXNPF.js.map → dofetch-IWPZQB5N.js.map} +0 -0
  802. /package/dist/{e2pca-CLFGEFJH.js.map → e2pca-7SLIAGYW.js.map} +0 -0
  803. /package/dist/{ep-PUHV2DMO.js.map → ep-7L6KF6K4.js.map} +0 -0
  804. /package/dist/{expclust.gdc.spec-N7YDJAOZ.js.map → expclust.gdc.spec-JT452Q3G.js.map} +0 -0
  805. /package/dist/{facet-JFFJJCNT.js.map → facet-CXOUU5AS.js.map} +0 -0
  806. /package/dist/{forms2-XZAWW3RN.js.map → forms2-VPNCLQOY.js.map} +0 -0
  807. /package/dist/{gb-SQJ5PWOH.js.map → gb-P4VRXRED.js.map} +0 -0
  808. /package/dist/{geneExpClustering-EG2BLMQX.js.map → geneExpClustering-FQTCKRJJ.js.map} +0 -0
  809. /package/dist/{geneExpression-QRK3LNMV.js.map → geneExpression-BHO5326K.js.map} +0 -0
  810. /package/dist/{geneExpression-J42BGP3B.js.map → geneExpression-ZMERB64E.js.map} +0 -0
  811. /package/dist/{geneExpression.unit.spec-X7HVIFZA.js.map → geneExpression.unit.spec-CNVHZWNG.js.map} +0 -0
  812. /package/dist/{geneORA-SVBPO66K.js.map → geneORA-FXVUCXGX.js.map} +0 -0
  813. /package/dist/{geneRanking-HNMMLZIX.js.map → geneRanking-SFK4UBKQ.js.map} +0 -0
  814. /package/dist/{geneVariant-RVQKNVQO.js.map → geneVariant-IYEHB4H7.js.map} +0 -0
  815. /package/dist/{geneVariant-SO5FEJUZ.js.map → geneVariant-LIRRLUFR.js.map} +0 -0
  816. /package/dist/{geneVariant.integration.spec-DOMX4GMP.js.map → geneVariant.integration.spec-Y2NPNTYX.js.map} +0 -0
  817. /package/dist/{genefusion.ui-QS7AG46F.js.map → genefusion.ui-L3HIJM3N.js.map} +0 -0
  818. /package/dist/{geneset-JKOX3VIW.js.map → geneset-A6VUFX63.js.map} +0 -0
  819. /package/dist/{genomeBrowser.spec-IRSTT2OX.js.map → genomeBrowser.spec-CB4HHHBN.js.map} +0 -0
  820. /package/dist/{grin2-VZLCISPM.js.map → grin2-FKBIMH5N.js.map} +0 -0
  821. /package/dist/{hierCluster-6AW23EB5.js.map → hierCluster-QFPRMHVA.js.map} +0 -0
  822. /package/dist/{hierCluster-REXTCODR.js.map → hierCluster-YWC3XYPV.js.map} +0 -0
  823. /package/dist/{hierCluster.config-3Z3R66XH.js.map → hierCluster.config-F7YYZNM3.js.map} +0 -0
  824. /package/dist/{hierCluster.integration.spec-XE47Q64Z.js.map → hierCluster.integration.spec-AF4L3YT6.js.map} +0 -0
  825. /package/dist/{hierCluster.interactivity-2YJYYKVK.js.map → hierCluster.interactivity-RPY74PK6.js.map} +0 -0
  826. /package/dist/{hierCluster.renderers-LE7W2AL6.js.map → hierCluster.renderers-LOKHZ3V2.js.map} +0 -0
  827. /package/dist/{imagePlot-WMZJJ5CJ.js.map → imagePlot-BBEXA754.js.map} +0 -0
  828. /package/dist/{importPlot-P35EGIJJ.js.map → importPlot-7QGANZGK.js.map} +0 -0
  829. /package/dist/{isoformExpression-3TFPEXB4.js.map → isoformExpression-4SLLCVFD.js.map} +0 -0
  830. /package/dist/{isoformExpression.unit.spec-SPQFK3EA.js.map → isoformExpression.unit.spec-GEL4JJ64.js.map} +0 -0
  831. /package/dist/{launch.adhoc-ZQSJBLMJ.js.map → launch.adhoc-LWLBQJS5.js.map} +0 -0
  832. /package/dist/{leftlabel.sample-SJRQ6LJ2.js.map → leftlabel.sample-RTEZOIH2.js.map} +0 -0
  833. /package/dist/{legacyDataset-TNIIJABK.js.map → legacyDataset-VLD7ZYWI.js.map} +0 -0
  834. /package/dist/{lollipop-RXM6UBZ7.js.map → lollipop-XKQK5QZU.js.map} +0 -0
  835. /package/dist/{maf-NWXJWBNF.js.map → maf-AZQPPWDO.js.map} +0 -0
  836. /package/dist/{maftimeline-D7UENAP5.js.map → maftimeline-7MSVYKQU.js.map} +0 -0
  837. /package/dist/{matrix-77LNADX2.js.map → matrix-BGLWC25D.js.map} +0 -0
  838. /package/dist/{matrix-YDOLKY6G.js.map → matrix-IQR5SRMK.js.map} +0 -0
  839. /package/dist/{matrix.cells-VEC5LEWV.js.map → matrix.cells-5C57NWOY.js.map} +0 -0
  840. /package/dist/{matrix.config-GTAAAUGQ.js.map → matrix.config-2DQXAN2E.js.map} +0 -0
  841. /package/dist/{matrix.data-T4GEX6ZH.js.map → matrix.data-ADCGF5H6.js.map} +0 -0
  842. /package/dist/{matrix.groups-7NWHHP5Q.js.map → matrix.groups-V4ITQ5F7.js.map} +0 -0
  843. /package/dist/{matrix.integration.spec-5GBTFRZA.js.map → matrix.integration.spec-IBNOO2WP.js.map} +0 -0
  844. /package/dist/{matrix.interactivity-ONT6WCRU.js.map → matrix.interactivity-JNELJFOV.js.map} +0 -0
  845. /package/dist/{matrix.layout-LDXHGOHF.js.map → matrix.layout-WBVIV6GR.js.map} +0 -0
  846. /package/dist/{matrix.legend-5MDW65HV.js.map → matrix.legend-YHOWPK77.js.map} +0 -0
  847. /package/dist/{matrix.renderers-OEPLQG3C.js.map → matrix.renderers-5BGVRR3M.js.map} +0 -0
  848. /package/dist/{matrix.serieses-4RX7TUQ7.js.map → matrix.serieses-2GZJOASZ.js.map} +0 -0
  849. /package/dist/{matrix.sort-UKMMECBZ.js.map → matrix.sort-WKIWPJKP.js.map} +0 -0
  850. /package/dist/{matrix.sort.unit.spec-VWOXPVRE.js.map → matrix.sort.unit.spec-L2E4D4AS.js.map} +0 -0
  851. /package/dist/{matrix.sorterUi-H64DDQIL.js.map → matrix.sorterUi-TEJWWJ64.js.map} +0 -0
  852. /package/dist/{matrix.sorterUi.unit.spec-DH4434FK.js.map → matrix.sorterUi.unit.spec-SHP7C4P7.js.map} +0 -0
  853. /package/dist/{mavb-ARUWOZES.js.map → mavb-4MXNYUEO.js.map} +0 -0
  854. /package/dist/{mds.fimo-ZEAE5BC3.js.map → mds.fimo-WHIJIBOI.js.map} +0 -0
  855. /package/dist/{mds.samplescatterplot-C5EBKBVF.js.map → mds.samplescatterplot-BRJ6NG2D.js.map} +0 -0
  856. /package/dist/{mds.survivalplot-RS7Z3J3Q.js.map → mds.survivalplot-OPCMB5PB.js.map} +0 -0
  857. /package/dist/{numericDictTermCluster-CSQOV4TM.js.map → numericDictTermCluster-7MIFOP2K.js.map} +0 -0
  858. /package/dist/{oncomatrix-5UVM3KUA.js.map → oncomatrix-BGG6BEUI.js.map} +0 -0
  859. /package/dist/{oncomatrix.spec-CU3EZCMO.js.map → oncomatrix.spec-LYQ4L4F3.js.map} +0 -0
  860. /package/dist/{plot.2dvaf-JD27DSDS.js.map → plot.2dvaf-6WVCP2ZI.js.map} +0 -0
  861. /package/dist/{plot.app-NMPMG3S2.js.map → plot.app-MLBP6WFP.js.map} +0 -0
  862. /package/dist/{plot.barplot-T4LPKFXW.js.map → plot.barplot-JEPRZSCU.js.map} +0 -0
  863. /package/dist/{plot.boxplot-22ETOHNI.js.map → plot.boxplot-GNFW42VM.js.map} +0 -0
  864. /package/dist/{plot.brainImaging-Q7S7KSHW.js.map → plot.brainImaging-5ACNSD45.js.map} +0 -0
  865. /package/dist/{plot.disco-NIPBER5N.js.map → plot.disco-Q2V2KKIH.js.map} +0 -0
  866. /package/dist/{plot.dzi-DAX7GUTF.js.map → plot.dzi-KVT6S7K7.js.map} +0 -0
  867. /package/dist/{plot.ssgq-7J6S35RW.js.map → plot.ssgq-4N3KFJQ2.js.map} +0 -0
  868. /package/dist/{plot.vaf2cov-7EWFTD72.js.map → plot.vaf2cov-ITRG5U43.js.map} +0 -0
  869. /package/dist/{plot.wsi-E45KZGKD.js.map → plot.wsi-26YZNU4V.js.map} +0 -0
  870. /package/dist/{polar2-LPT2XMD2.js.map → polar2-J7GVUK4X.js.map} +0 -0
  871. /package/dist/{profileForms-EYN2KLSY.js.map → profileForms-VXV2JLXU.js.map} +0 -0
  872. /package/dist/{profilePlot-I7VQM3CH.js.map → profilePlot-ZZYZK4SY.js.map} +0 -0
  873. /package/dist/{proteinView-JP5TF3ZK.js.map → proteinView-7KN532D3.js.map} +0 -0
  874. /package/dist/{qualitative-7X3ECW7Q.js.map → qualitative-MLRVLIAU.js.map} +0 -0
  875. /package/dist/{radar2-V3FYBFAG.js.map → radar2-WM2ZBOH3.js.map} +0 -0
  876. /package/dist/{radarFacility2-O6GQLBBN.js.map → radarFacility2-3SBR2JJ3.js.map} +0 -0
  877. /package/dist/{regression-CLG6NYVF.js.map → regression-WMRPQJW2.js.map} +0 -0
  878. /package/dist/{regression.inputs-RLOBIRJH.js.map → regression.inputs-VWZKSYNY.js.map} +0 -0
  879. /package/dist/{regression.inputs.term-ZKIP6KDO.js.map → regression.inputs.term-OWE6GWHM.js.map} +0 -0
  880. /package/dist/{regression.inputs.values.table-2VD4AO5T.js.map → regression.inputs.values.table-4INNZQI2.js.map} +0 -0
  881. /package/dist/{regression.integration.spec-JEIMN7MS.js.map → regression.integration.spec-XKQ2JOOT.js.map} +0 -0
  882. /package/dist/{regression.results-FT6VSWGR.js.map → regression.results-VZBYMBYC.js.map} +0 -0
  883. /package/dist/{regression.spec-V4S52JQM.js.map → regression.spec-DU3UTDCJ.js.map} +0 -0
  884. /package/dist/{sampleView-JIGZ7GTP.js.map → render-N5FOF247.js.map} +0 -0
  885. /package/dist/{report-UPQFSI4D.js.map → report-DW3OHB67.js.map} +0 -0
  886. /package/dist/{sampleScatter.spec-QSRF3STG.js.map → sampleScatter.spec-REFSK2V4.js.map} +0 -0
  887. /package/dist/{singleCellCellType-FJ53DRXD.js.map → sampleView-ICOT2R6O.js.map} +0 -0
  888. /package/dist/{samplelst-VJMYHVXI.js.map → samplelst-TJEVASYG.js.map} +0 -0
  889. /package/dist/{samplematrix-LO4QB37V.js.map → samplematrix-6DAWCXQ3.js.map} +0 -0
  890. /package/dist/{sc-4VZBGFZP.js.map → sc-53LNOB7N.js.map} +0 -0
  891. /package/dist/{scatter-LQECXZLB.js.map → scatter-DKYSS4DL.js.map} +0 -0
  892. /package/dist/{selectGenomeWithTklst-IJTCLRIN.js.map → selectGenomeWithTklst-WTX66TV3.js.map} +0 -0
  893. /package/dist/{singleCellGeneExpression-RZE5UVL4.js.map → singleCellCellType-D2CN2BHQ.js.map} +0 -0
  894. /package/dist/{singleCellCellType.unit.spec-VOE4KY6L.js.map → singleCellCellType.unit.spec-LADUCI4R.js.map} +0 -0
  895. /package/dist/{singleCellPlot-Q5UNIW3M.js.map → singleCellGeneExpression-YR2ZT34W.js.map} +0 -0
  896. /package/dist/{singleCellGeneExpression.unit.spec-2DASF7PD.js.map → singleCellGeneExpression.unit.spec-BM63M432.js.map} +0 -0
  897. /package/dist/{snp-S4O7SVDD.js.map → singleCellPlot-3ICIOILE.js.map} +0 -0
  898. /package/dist/{singlecell-TX5AQ4WM.js.map → singlecell-6ZUFA3BQ.js.map} +0 -0
  899. /package/dist/{singlecell-N7F5KVIB.js.map → singlecell-KX7W4U57.js.map} +0 -0
  900. /package/dist/{ssGSEA-BH53XGEZ.js.map → snp-VIURB7L3.js.map} +0 -0
  901. /package/dist/{snp.unit.spec-WSQMZSTE.js.map → snp.unit.spec-ACZNZUNS.js.map} +0 -0
  902. /package/dist/{snplocus-Y2R5C4ZP.js.map → snplocus-3LW4ZUZR.js.map} +0 -0
  903. /package/dist/{spliceevent.a53ss.diagram-FGRQR73W.js.map → spliceevent.a53ss.diagram-AKTZGWNM.js.map} +0 -0
  904. /package/dist/{spliceevent.noeventdiagram-G2CMYYE7.js.map → spliceevent.noeventdiagram-YTXWWNTJ.js.map} +0 -0
  905. /package/dist/{summarizeMutationDiagnosis-EUZXCSZP.js.map → ssGSEA-THW4WFMI.js.map} +0 -0
  906. /package/dist/{ssGSEA.unit.spec-BYIVB7FZ.js.map → ssGSEA.unit.spec-HTRGQI2K.js.map} +0 -0
  907. /package/dist/{summarizeCnvGeneexp-IZNOX4E7.js.map → summarizeCnvGeneexp-RFYC3H2Z.js.map} +0 -0
  908. /package/dist/{summarizeGeneexpSurvival-DJZ2R24E.js.map → summarizeGeneexpSurvival-DQBZUTQ6.js.map} +0 -0
  909. /package/dist/{summarizeMutationCnv-CO2TVWOI.js.map → summarizeMutationCnv-7AYEMHAI.js.map} +0 -0
  910. /package/dist/{summary-JHZCDE35.js.map → summarizeMutationDiagnosis-AKFJDSAF.js.map} +0 -0
  911. /package/dist/{summarizeMutationSurvival-CXFT3HWL.js.map → summarizeMutationSurvival-QJHZRQBZ.js.map} +0 -0
  912. /package/dist/{survival-DLLVUG2P.js.map → summary-A5P7AYK4.js.map} +0 -0
  913. /package/dist/{summary.integration.spec-WBEYSDCA.js.map → summary.integration.spec-HQISXGNL.js.map} +0 -0
  914. /package/dist/{summaryInput-JVH3R54R.js.map → summaryInput-HP675QOQ.js.map} +0 -0
  915. /package/dist/{sunburst-CTJTXHSA.js.map → sunburst-65LSYRXX.js.map} +0 -0
  916. /package/dist/{termCollection-JOLQJYJ3.js.map → survival-QNEI6YVK.js.map} +0 -0
  917. /package/dist/{survival-XFVYNI6S.js.map → survival-UI74VXSM.js.map} +0 -0
  918. /package/dist/{survival.integration.spec-KVXHHAA3.js.map → survival.integration.spec-X5N3JQXS.js.map} +0 -0
  919. /package/dist/{svgraph-ACEBMDIX.js.map → svgraph-PSX2NER3.js.map} +0 -0
  920. /package/dist/{svmr-IQEDSZ2C.js.map → svmr-QDQ33EFX.js.map} +0 -0
  921. /package/dist/{table-2IF6UGHR.js.map → table-LWAI27UO.js.map} +0 -0
  922. /package/dist/{termCollection-PSXFFR32.js.map → termCollection-3JHR74FG.js.map} +0 -0
  923. /package/dist/{tk-AAIHEQO6.js.map → termCollection-CDF5LYUG.js.map} +0 -0
  924. /package/dist/{termCollection.unit.spec-4SOZP4FY.js.map → termCollection.unit.spec-HOJKYWHF.js.map} +0 -0
  925. /package/dist/{tvs.dt-FSA7KPSQ.js.map → tk-OEQFO73V.js.map} +0 -0
  926. /package/dist/{tp.ui-6STLQEXX.js.map → tp.ui-SHNERDGC.js.map} +0 -0
  927. /package/dist/{tvs.numeric-KYAU5OV3.js.map → tvs.dt-CZDC4TSR.js.map} +0 -0
  928. /package/dist/{tvs.dtcnv.categorical-FSPGH7DP.js.map → tvs.dtcnv.categorical-OPBDHZGB.js.map} +0 -0
  929. /package/dist/{tvs.dtcnv.continuous-T4ZMSDB4.js.map → tvs.dtcnv.continuous-AR6P4EP3.js.map} +0 -0
  930. /package/dist/{tvs.dtfusion-UL3YENUM.js.map → tvs.dtfusion-2YQ7N6FQ.js.map} +0 -0
  931. /package/dist/{tvs.dtitd-XJOSZUWG.js.map → tvs.dtitd-ATCHW735.js.map} +0 -0
  932. /package/dist/{tvs.dtsnvindel-5TPUT5RJ.js.map → tvs.dtsnvindel-WHHWAATJ.js.map} +0 -0
  933. /package/dist/{tvs.dtsv-OTNHXYOJ.js.map → tvs.dtsv-3UMCW65O.js.map} +0 -0
  934. /package/dist/{violin-HEFFKPL5.js.map → tvs.numeric-TOEPASWN.js.map} +0 -0
  935. /package/dist/{tvs.samplelst-FQKTAQZF.js.map → tvs.samplelst-M7XKXRTZ.js.map} +0 -0
  936. /package/dist/{tvs.termCollection-ZAPCUMUW.js.map → tvs.termCollection-WT4WZMYR.js.map} +0 -0
  937. /package/dist/{violin.interactivity-XNYJSK53.js.map → violin-2YGXTBDS.js.map} +0 -0
  938. /package/dist/{violin.integration.spec-774N4G5A.js.map → violin.integration.spec-YWNHVAGS.js.map} +0 -0
  939. /package/dist/{violin.renderer-R74VSGRC.js.map → violin.interactivity-J6BE2UQL.js.map} +0 -0
  940. /package/dist/{vocabulary-OHMC6NWL.js.map → violin.renderer-3GRUWP2U.js.map} +0 -0
@@ -0,0 +1,1942 @@
1
+ import {
2
+ matrix_serieses_exports
3
+ } from "./chunk-G764NXQN.js";
4
+ import {
5
+ matrix_groups_exports
6
+ } from "./chunk-T25QNZHB.js";
7
+ import {
8
+ setComputedConfig
9
+ } from "./chunk-W3WPPOXH.js";
10
+ import {
11
+ setMatrixDom
12
+ } from "./chunk-HUBO743S.js";
13
+ import {
14
+ setInteractivity
15
+ } from "./chunk-BHGISFCA.js";
16
+ import {
17
+ setRenderers
18
+ } from "./chunk-ONPKE6DC.js";
19
+ import {
20
+ MatrixCluster
21
+ } from "./chunk-DDKS3MV3.js";
22
+ import {
23
+ getSorterUi
24
+ } from "./chunk-UGRQXBL4.js";
25
+ import {
26
+ matrix_data_exports
27
+ } from "./chunk-CDD7LYJM.js";
28
+ import {
29
+ matrix_layout_exports
30
+ } from "./chunk-YQBS2ZCK.js";
31
+ import {
32
+ matrix_legend_exports
33
+ } from "./chunk-RKO6BL5N.js";
34
+ import {
35
+ GeneSetEditUI,
36
+ GeneSetEditUIwithTabs,
37
+ PlotBase,
38
+ TwRouter,
39
+ fillTermWrapper,
40
+ get$id,
41
+ getCombinedTermFilter,
42
+ getGEunit,
43
+ initByInput,
44
+ make_one_checkbox,
45
+ make_radios,
46
+ rebaseGroupFilter,
47
+ routedTermTypes,
48
+ sayerror,
49
+ svgLegend,
50
+ svgScroll,
51
+ to_svg,
52
+ zoom
53
+ } from "./chunk-5VOPABBA.js";
54
+ import {
55
+ Menu
56
+ } from "./chunk-HYOEWQ5P.js";
57
+ import {
58
+ icons
59
+ } from "./chunk-IIT367QZ.js";
60
+ import {
61
+ copyMerge,
62
+ deepEqual,
63
+ getCompInit
64
+ } from "./chunk-M3J4MINX.js";
65
+ import {
66
+ TermTypes,
67
+ isNumericTerm
68
+ } from "./chunk-I6WR4CG7.js";
69
+ import {
70
+ dt2label,
71
+ dtcnv,
72
+ dtfusionrna,
73
+ dtsnvindel,
74
+ dtsv,
75
+ mclass,
76
+ morigin
77
+ } from "./chunk-2X6W4E3W.js";
78
+ import {
79
+ convertUnits
80
+ } from "./chunk-JNITUVXP.js";
81
+ import {
82
+ select_default
83
+ } from "./chunk-I6Y4O3RR.js";
84
+
85
+ // plots/matrix/matrix.controls.samples.ts
86
+ function setSamplesBtn(self2, s) {
87
+ const l = s.controlLabels;
88
+ const controls = self2;
89
+ const parent = self2.parent;
90
+ const rows = [
91
+ {
92
+ label: `Maximum # ${l.Samples}`,
93
+ title: `Limit the number of displayed ${l.samples}`,
94
+ type: "number",
95
+ chartType: "matrix",
96
+ settingsKey: "maxSample",
97
+ getDisplayStyle(plot) {
98
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
99
+ }
100
+ },
101
+ {
102
+ label: `Sort ${l.Sample} Groups`,
103
+ title: `Set how to sort ${l.sample} groups`,
104
+ type: "radio",
105
+ chartType: "matrix",
106
+ settingsKey: "sortSampleGrpsBy",
107
+ options: [
108
+ {
109
+ label: "Predefined or Group Name",
110
+ value: "name",
111
+ title: `Sort by group name`
112
+ },
113
+ {
114
+ label: `${l.Sample} Count`,
115
+ value: "sampleCount",
116
+ title: `Sort by the number of samples in the group`
117
+ },
118
+ {
119
+ label: `Hits`,
120
+ value: "hits",
121
+ title: `Sort by the total number of variants for every ${l.sample} in the group`
122
+ }
123
+ ],
124
+ getDisplayStyle(plot) {
125
+ return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
126
+ }
127
+ },
128
+ {
129
+ label: `${l.Sample} Group Label Character Limit`,
130
+ title: `Truncate the ${l.sample} group label if it exceeds this maximum number of characters`,
131
+ type: "number",
132
+ chartType: "matrix",
133
+ settingsKey: "sampleGrpLabelMaxChars",
134
+ getDisplayStyle(plot) {
135
+ return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
136
+ }
137
+ },
138
+ {
139
+ label: `${l.Sample} Label Character Limit`,
140
+ title: `Truncate the ${l.sample} label if it exceeds this maximum number of characters`,
141
+ type: "number",
142
+ chartType: "matrix",
143
+ settingsKey: "collabelmaxchars"
144
+ },
145
+ {
146
+ label: `Toggle sample labels`,
147
+ title: `Do not automatically show sample labels based on column width`,
148
+ type: "radio",
149
+ chartType: "matrix",
150
+ settingsKey: "sampleLabelsToggle",
151
+ styles: { display: "inline-block" },
152
+ options: [
153
+ { label: `Based on column width`, value: "auto" },
154
+ { label: "Always hide", value: "hide" }
155
+ ]
156
+ },
157
+ {
158
+ label: `Group ${l.Samples} By`,
159
+ title: `Select a variable with discrete values to group ${l.samples}`,
160
+ type: "term",
161
+ chartType: "matrix",
162
+ configKey: "divideBy",
163
+ vocabApi: self2.opts.app.vocabApi,
164
+ state: {
165
+ vocab: self2.opts.vocab
166
+ //activeCohort: appState.activeCohort
167
+ },
168
+ processInput: async (tw) => {
169
+ if (tw?.term && isNumericTerm(tw.term)) {
170
+ tw.q = { ...tw.q, mode: "discrete" };
171
+ }
172
+ if (tw) await fillTermWrapper(tw, self2.opts.app.vocabApi);
173
+ return tw;
174
+ },
175
+ processConfig: (config) => {
176
+ if (self2.parent.chartType == "hierCluster" && config["divideBy"]) {
177
+ config.settings = {
178
+ hierCluster: {
179
+ yDendrogramHeight: 0,
180
+ clusterSamples: false
181
+ }
182
+ };
183
+ }
184
+ if (self2.parent.config.divideBy)
185
+ config.legendValueFilter = self2.parent.mayRemoveTvsEntry(self2.parent.config.divideBy);
186
+ },
187
+ getBodyParams: () => {
188
+ const currentGeneNames = self2.parent.termOrder.filter((t) => t.tw.term.type === "geneVariant").map(
189
+ (t) => t.tw.term.chr ? `${t.tw.term.chr}:${t.tw.term.start}-${t.tw.term.stop}` : t.tw.term.gene || t.tw.term.name
190
+ );
191
+ if (currentGeneNames.length) return { currentGeneNames };
192
+ return {};
193
+ }
194
+ }
195
+ ];
196
+ rows.push({
197
+ label: `Sort ${l.Sample} Priority`,
198
+ title: `Set how to sort ${l.samples}`,
199
+ type: "custom",
200
+ // the "input" argument is created by controls
201
+ init(input) {
202
+ const m = parent.config.settings.matrix;
203
+ if (!controls.activeTab) controls.activeTab = "basic";
204
+ input.dom.inputTd.style("padding", "5px");
205
+ const btnsDiv = input.dom.inputTd.append("div").style("margin-bottom", "5px");
206
+ const basicBtn = btnsDiv.append("div").style("display", "inline-block").style("padding-right", "5px").style("border-right", "2px solid black").style("text-decoration", controls.activeTab == "basic" ? "underline" : "").style("cursor", "pointer").html("Basic").on("click", () => {
207
+ controls.activeTab = "basic";
208
+ basicBtn.style("text-decoration", "underline");
209
+ advancedBtn.style("text-decoration", "");
210
+ basicDiv.style("display", "");
211
+ advancedDiv.style("display", "none");
212
+ });
213
+ const advancedBtn = btnsDiv.append("div").style("display", "inline-block").style("margin-left", "5px").style("text-decoration", controls.activeTab == "advanced" ? "underline" : "").style("cursor", "pointer").html("Advanced").on("click", () => {
214
+ controls.activeTab = "advanced";
215
+ basicBtn.style("text-decoration", "");
216
+ advancedBtn.style("text-decoration", "underline");
217
+ basicDiv.style("display", "none");
218
+ advancedDiv.style("display", "");
219
+ });
220
+ const basicDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "basic" ? "" : "none");
221
+ const ssmDiv = basicDiv.append("div");
222
+ ssmDiv.append("span").html("SSM");
223
+ const { inputs } = make_radios({
224
+ // holder, options, callback, styles
225
+ holder: ssmDiv.append("span"),
226
+ options: [
227
+ { label: "by consequence", value: "consequence", checked: m.sortByMutation === "consequence" },
228
+ { label: "by presence", value: "presence", checked: m.sortByMutation === "presence" }
229
+ ],
230
+ styles: {
231
+ display: "inline-block"
232
+ },
233
+ callback: (sortByMutation) => {
234
+ const sortOptions = parent.config.settings.matrix.sortOptions;
235
+ const activeOption = sortOptions.a;
236
+ const mutTb = activeOption.sortPriority[0].tiebreakers[1];
237
+ mutTb.disabled = !sortByMutation;
238
+ mutTb.isOrdered = sortByMutation === "consequence";
239
+ parent.app.dispatch({
240
+ type: "plot_edit",
241
+ id: parent.id,
242
+ config: {
243
+ settings: {
244
+ matrix: {
245
+ sortByMutation,
246
+ // needed to show the correct status for checkbox, but actual sorting behavior
247
+ sortOptions
248
+ // is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
249
+ }
250
+ }
251
+ }
252
+ });
253
+ }
254
+ });
255
+ inputs.style("margin", "2px 0 0 2px").style("vertical-align", "top");
256
+ const cnvDiv = basicDiv.append("div").style("display", m.showMatrixCNV != "none" && !m.allMatrixCNVHidden ? "block" : "none");
257
+ cnvDiv.append("span").html("CNV");
258
+ const checkbox = make_one_checkbox({
259
+ holder: cnvDiv.append("span"),
260
+ divstyle: { display: "inline-block" },
261
+ checked: m.sortByCNV,
262
+ labeltext: "sort by CNV",
263
+ callback: () => {
264
+ const sortByCNV = checkbox.property("checked");
265
+ const sortOptions = parent.config.settings.matrix.sortOptions;
266
+ const activeOption = sortOptions.a;
267
+ const cnvTb = activeOption.sortPriority[0].tiebreakers[2];
268
+ cnvTb.disabled = !sortByCNV;
269
+ cnvTb.isOrdered = sortByCNV;
270
+ parent.app.dispatch({
271
+ type: "plot_edit",
272
+ id: parent.id,
273
+ config: {
274
+ settings: {
275
+ matrix: {
276
+ sortByCNV,
277
+ // needed to show the correct status for checkbox, but actual sorting behavior
278
+ sortOptions
279
+ // is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
280
+ }
281
+ }
282
+ }
283
+ });
284
+ }
285
+ });
286
+ const advancedDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "advanced" ? "" : "none");
287
+ input.dom.row.on("mouseover", function() {
288
+ this.style.backgroundColor = "#fff";
289
+ this.style.textShadow = "none";
290
+ });
291
+ if (!controls.sorterUi) {
292
+ controls.sorterUi = getSorterUi({
293
+ controls,
294
+ holder: advancedDiv,
295
+ tip: controls.parent.app.tip
296
+ });
297
+ } else {
298
+ controls.sorterUi.main(controls.parent.config.settings.matrix, { holder: advancedDiv });
299
+ }
300
+ return {
301
+ main: (plot) => {
302
+ const s2 = plot.settings.matrix;
303
+ inputs.property("checked", (d) => d.value == s2.sortByMutation);
304
+ checkbox.property("checked", s2.sortByCNV);
305
+ cnvDiv.style("display", s2.showMatrixCNV != "none" && !s2.allMatrixCNVHidden ? "block" : "none");
306
+ }
307
+ };
308
+ }
309
+ });
310
+ self2.opts.holder.append("button").datum({
311
+ label: l.Samples || `Samples`,
312
+ getCount: () => "sampleCount" in self2.overrides ? self2.overrides.sampleCount : self2.parent.sampleOrder?.length || 0,
313
+ rows,
314
+ customInputs: updateSamplesControls
315
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
316
+ }
317
+ function updateSamplesControls(self2, app, parent, table) {
318
+ if (parent.chartType == "hierCluster" && parent.config.settings.hierCluster.clusterSamples) {
319
+ const l = parent.config.settings.matrix.controlLabels;
320
+ const sortingControl = select_default(
321
+ table.selectAll("td").filter(function() {
322
+ return select_default(this).text() == `Sort ${l.Sample} Priority`;
323
+ }).node().closest("tr")
324
+ );
325
+ sortingControl.style("display", "none");
326
+ }
327
+ }
328
+
329
+ // plots/matrix/matrix.controls.genes.ts
330
+ var tip = new Menu({ padding: "" });
331
+ function setGenesBtn(self2, s) {
332
+ const l = s.controlLabels;
333
+ const renderStyleOptions = [
334
+ {
335
+ label: `&nbsp;Stacked <span style="font-size:.7em;color:#555;">Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene</span>`,
336
+ value: "",
337
+ title: `Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
338
+ },
339
+ {
340
+ label: `&nbsp;OncoPrint <span style="font-size:.7em;color:#555;">Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene</span>`,
341
+ value: "oncoprint",
342
+ title: `Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
343
+ }
344
+ ];
345
+ if (s.addMutationCNVButtons && self2.parent.chartType !== "hierCluster")
346
+ renderStyleOptions.unshift({
347
+ label: `&nbsp;Single <span style="font-size:.7em;color:#555;">Show a single rectangle in a matrix cell to render the most severe variant (truncating > indels > missense > synonymous) for the same ${l.sample} and gene</span>`,
348
+ value: "single",
349
+ title: `Show a single rectangle in a matrix cell to render the most severe variant (truncating > indels > missense > synonymous) for the same ${l.sample} and gene`
350
+ });
351
+ self2.opts.holder.append("button").datum({
352
+ label: "Genes",
353
+ getCount: () => self2.parent.termOrder?.filter(
354
+ (t) => t.tw.term.type == TermTypes.GENE_VARIANT || t.tw.term.type == TermTypes.GENE_EXPRESSION
355
+ ).length || 0,
356
+ customInputs: addGeneInputs,
357
+ rows: [
358
+ {
359
+ label: `Display ${l.Sample} Counts for Gene`,
360
+ title: `Include the ${l.sample} count in the gene label`,
361
+ type: "radio",
362
+ chartType: "matrix",
363
+ settingsKey: "samplecount4gene",
364
+ styles: { display: "inline-block" },
365
+ options: [
366
+ { label: "Absolute", value: "abs" },
367
+ { label: `Percent`, value: "pct" },
368
+ { label: `None`, value: "" }
369
+ ],
370
+ getDisplayStyle() {
371
+ return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
372
+ }
373
+ },
374
+ // TODO: implement this contol option
375
+ // {
376
+ // label: `Exclude From ${l.Sample} Displayed Counts`,
377
+ // title: `Do not include these variations/mutations when counting samples for a gene.`,
378
+ // type: 'text',
379
+ // chartType: 'matrix',
380
+ // settingsKey: 'geneVariantCountSamplesSkipMclass',
381
+ // processInput: tw => {},
382
+ // },
383
+ {
384
+ label: "Genomic Alterations Rendering",
385
+ title: `Set how to indicate a ${l.sample}'s applicable variant types in the same matrix cell`,
386
+ type: "radio",
387
+ chartType: "matrix",
388
+ settingsKey: "cellEncoding",
389
+ options: renderStyleOptions,
390
+ styles: { padding: "5px 0px", margin: 0 },
391
+ labelDisplay: "block",
392
+ getDisplayStyle() {
393
+ return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
394
+ },
395
+ callback: self2.parent.geneStyleControlCallback
396
+ },
397
+ {
398
+ label: "Sort Genes",
399
+ title: "Set how to order the genes as rows",
400
+ type: "radio",
401
+ chartType: "matrix",
402
+ settingsKey: "sortTermsBy",
403
+ options: [
404
+ { label: "By Input Data Order", value: "asListed" },
405
+ { label: `By ${l.sample} Count`, value: "sampleCount" }
406
+ ],
407
+ styles: { padding: 0, "padding-right": "10px", margin: 0, display: "inline-block" },
408
+ getDisplayStyle() {
409
+ return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
410
+ }
411
+ }
412
+ ]
413
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
414
+ }
415
+ async function addGeneInputs(self2, app, parent, table) {
416
+ if (parent.chartType == "hierCluster" && parent.config.dataType == TermTypes.GENE_EXPRESSION) {
417
+ appendGeneInputs(self2, app, parent, table, "hierCluster");
418
+ }
419
+ if (parent.state?.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || parent.state.termdbConfig.queries.snvindel)
420
+ appendGeneInputs(self2, app, parent, table);
421
+ }
422
+ async function appendGeneInputs(self2, app, parent, table, geneInputType) {
423
+ tip.clear();
424
+ if (!parent.selectedGroup) parent.selectedGroup = 0;
425
+ if (parent.opts.customInputs?.genes) {
426
+ for (const inputConfig of parent.opts.customInputs.genes) {
427
+ inputConfig.chartType = "matrix";
428
+ const holder = table.append("tr");
429
+ if (inputConfig.title) holder.attr("aria-label", inputConfig.title);
430
+ const input = await initByInput[inputConfig.type](
431
+ Object.assign(
432
+ {},
433
+ {
434
+ holder,
435
+ app,
436
+ id: parent.id,
437
+ debug: self2.opts.debug,
438
+ parent
439
+ },
440
+ inputConfig
441
+ )
442
+ );
443
+ input.main(parent.config);
444
+ }
445
+ }
446
+ let geneInputTr;
447
+ if (geneInputType == "hierCluster" || parent.chartType !== "hierCluster") {
448
+ geneInputTr = table.insert("tr", () => table.select("tr").node());
449
+ } else {
450
+ const secondTr = table.selectAll("tr").nodes()[1] || null;
451
+ const hrTr = table.insert("tr", () => secondTr);
452
+ hrTr.append("td").attr("colspan", 2).append("hr").style("border", "1px solid #ccc");
453
+ geneInputTr = table.insert("tr", () => secondTr);
454
+ }
455
+ addGenesetInput(self2, app, parent, geneInputTr, geneInputType);
456
+ }
457
+ function addGenesetInput(self2, app, parent, tr, geneInputType) {
458
+ const controlPanelBtn = self2.btns.filter((d) => d.label.endsWith("Genes"))?.node();
459
+ const tip3 = app.tip;
460
+ const tg = parent.config.termgroups;
461
+ const { maxGenes, genesetEditUiVersion } = parent.settings?.matrix || parent.config?.settings?.matrix || {};
462
+ let selectedGroup;
463
+ const triggerGenesetEdit = (holder) => {
464
+ holder.selectAll("*").remove();
465
+ const geneList = selectedGroup.lst.map((item) => {
466
+ return { gene: item.name };
467
+ });
468
+ const genesetUi = genesetEditUiVersion === "withTabs" ? GeneSetEditUIwithTabs : GeneSetEditUI;
469
+ new genesetUi({
470
+ holder,
471
+ genome: app.opts.genome,
472
+ geneList,
473
+ // Remove the GFF Loads Gene Sets option from unclustered genes panel.
474
+ customInputs: parent.chartType !== "hierCluster" || geneInputType == "hierCluster" ? self2.parent.opts.customInputs?.geneset : void 0,
475
+ /* running hier clustering and the editing group is the group used for clustering
476
+ pass this mode value to inform ui to support the optional button "top variably exp gene"
477
+ this is hardcoded for the purpose of gene expression and should be improved
478
+ */
479
+ mode: selectedGroup.mode,
480
+ minNumGenes: selectedGroup.mode == "geneExpression" ? 3 : 1,
481
+ maxNumGenes: maxGenes,
482
+ vocabApi: self2.opts.app.vocabApi,
483
+ callback: async ({ geneList: geneList2, groupName }) => {
484
+ if (!selectedGroup) throw `missing selectedGroup`;
485
+ tip3.hide();
486
+ const group = selectedGroup.status == "new" ? { name: groupName, lst: [] } : tg[selectedGroup.index];
487
+ if (selectedGroup.status == "new") tg.push(group);
488
+ const targetTermType = selectedGroup.mode == "geneExpression" ? "geneExpression" : "geneVariant";
489
+ const lst = group.lst.filter((tw) => tw.term.type != targetTermType);
490
+ const tws = await Promise.all(
491
+ geneList2.map(async (d) => {
492
+ let term;
493
+ if (targetTermType == "geneExpression") {
494
+ const gene = d.symbol || d.gene;
495
+ const unit = getGEunit(app.vocabApi);
496
+ const name = `${gene} ${unit}`;
497
+ term = { gene, name, type: "geneExpression" };
498
+ } else {
499
+ term = {
500
+ gene: d.symbol || d.gene,
501
+ name: d.symbol || d.gene,
502
+ type: "geneVariant"
503
+ };
504
+ }
505
+ let tw = group.lst.find((t) => {
506
+ const geneName = t.term.gene || t.term.name;
507
+ const match = d.symbol ? geneName === d.symbol : d.gene ? geneName === d.gene : false;
508
+ return match && t.term.type == targetTermType;
509
+ });
510
+ if (!tw) {
511
+ tw = { term };
512
+ await fillTermWrapper(tw, self2.opts.app.vocabApi);
513
+ } else if (!tw.$id) {
514
+ tw.$id = await get$id(self2.opts.app.vocabApi.getTwMinCopy({ term }));
515
+ }
516
+ return tw;
517
+ })
518
+ );
519
+ group.lst = [...lst, ...tws];
520
+ if (!group.lst.length) tg.splice(selectedGroup.index, 1);
521
+ app.dispatch({
522
+ type: "plot_edit",
523
+ id: self2.parent.id,
524
+ config: {
525
+ termgroups: tg
526
+ }
527
+ });
528
+ },
529
+ backBtn: {
530
+ target: "Genes Menu",
531
+ callback: () => {
532
+ controlPanelBtn.click();
533
+ }
534
+ },
535
+ termsAsListed: geneInputType == "hierCluster" && !self2.parent.config.settings.hierCluster.clusterRows || geneInputType != "hierCluster" && self2.parent.config.settings.matrix.sortTermsBy == "asListed"
536
+ });
537
+ };
538
+ const numOfEditableGrps = tg.filter((g) => g.type != "hierCluster").length;
539
+ tr.append("td").attr("class", "sja-termdb-config-row-label").html(geneInputType == "hierCluster" ? "Hierarchical Clustering Gene Set" : "Genomic Alteration Gene Set");
540
+ if (numOfEditableGrps > 0 || geneInputType == "hierCluster") {
541
+ const td1 = tr.append("td").style("display", "block").style("padding", "5px 0px");
542
+ const editGrpDiv = td1.append("div").append("label");
543
+ editGrpDiv.append("button").html(
544
+ numOfEditableGrps > 1 && geneInputType !== "hierCluster" ? "Edit Selected Group" : geneInputType == "hierCluster" ? "Edit Gene Set" : "Edit Current Group"
545
+ ).on("click", () => {
546
+ tip3.clear();
547
+ setMenuBackBtn(tip3.d.append("div").style("padding", "5px"), () => controlPanelBtn.click(), `Back`);
548
+ const genesetEdiUiHolder = tip3.d.append("div");
549
+ triggerGenesetEdit(genesetEdiUiHolder);
550
+ });
551
+ if (numOfEditableGrps > 1 && geneInputType !== "hierCluster") {
552
+ const { nonHierClusterGroups, groupSelect } = setTermGroupSelector(self2, editGrpDiv, tg);
553
+ selectedGroup = nonHierClusterGroups.find((g) => g.selected);
554
+ groupSelect.on("change", () => {
555
+ selectedGroup = nonHierClusterGroups[groupSelect.property("value")];
556
+ });
557
+ } else {
558
+ const s = parent.config.settings.hierCluster;
559
+ const g = geneInputType == "hierCluster" ? tg.find((g2) => g2.type == "hierCluster") : tg.find((g2) => g2.type != "hierCluster");
560
+ selectedGroup = {
561
+ index: geneInputType == "hierCluster" ? tg.findIndex((g2) => g2.type == "hierCluster") : tg[0].type == g.type ? 0 : 1,
562
+ name: g.name,
563
+ type: g.type,
564
+ lst: g.type == "hierCluster" ? g.lst.map((tw) => ({ name: tw.term.gene || tw.term.name })) : g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
565
+ mode: g.type == "hierCluster" ? s.dataType : (
566
+ // !!subject to change!! when group is not clustering, and ds has mutation, defaults to MUTATION_CNV_FUSION
567
+ self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
568
+ ),
569
+ selected: true
570
+ };
571
+ }
572
+ }
573
+ if (geneInputType == "hierCluster") {
574
+ return;
575
+ }
576
+ const td2 = tr.append("td").style("display", "block").style("padding", "5px 0px");
577
+ const createNewGrpDiv = td2.append("div").append("label");
578
+ const createBtn = createNewGrpDiv.append("button").html("Create New Group").property("disabled", true).on("click", () => {
579
+ tip3.clear();
580
+ setMenuBackBtn(tip3.d.append("div"), () => controlPanelBtn.click(), "Back");
581
+ const name = nameInput.property("value");
582
+ selectedGroup = {
583
+ index: tg.length,
584
+ name,
585
+ label: name,
586
+ lst: [],
587
+ status: "new",
588
+ mode: parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
589
+ };
590
+ triggerGenesetEdit(tip3.d.append("div"));
591
+ });
592
+ const nameInput = createNewGrpDiv.append("input").style("margin", "2px 5px").style("width", "210px").attr("placeholder", "Group Name").on("input", () => {
593
+ createBtn.property("disabled", !nameInput.property("value"));
594
+ }).on("keyup", (event) => {
595
+ if (event.key == "Enter" && !createBtn.property("disabled")) {
596
+ createBtn.node().click();
597
+ }
598
+ });
599
+ }
600
+ function setMenuBackBtn(holder, callback, label) {
601
+ holder.attr("tabindex", 0).style("padding", "5px").style("text-decoration", "underline").style("cursor", "pointer").style("margin-bottom", "12px").html(`&#171; ${label}`).on("click", callback).on("keyup", (event) => {
602
+ if (event.key == "Enter") event.target.click();
603
+ });
604
+ }
605
+ function setTermGroupSelector(self2, holder, tg) {
606
+ const firstGrpWithGeneTw = tg.find(
607
+ (g) => g.lst.find((tw) => tw.term.type == TermTypes.GENE_VARIANT && g.type !== "hierCluster")
608
+ );
609
+ const groups = tg.map((g, index) => {
610
+ return {
611
+ index,
612
+ name: g.name,
613
+ type: g.type,
614
+ lst: g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
615
+ mode: self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : "",
616
+ selected: g === firstGrpWithGeneTw
617
+ };
618
+ });
619
+ const nonHierClusterGroups = groups.filter((g) => g.type != "hierCluster");
620
+ const groupSelect = holder.append("select").style("width", "218px").style("margin", "2px 5px");
621
+ for (const [i, group] of nonHierClusterGroups.entries()) {
622
+ if (group.label) continue;
623
+ if (group.name) group.label = group.name;
624
+ else group.label = `Unlabeled group #${i + 1}`;
625
+ }
626
+ groupSelect.selectAll("option").data(nonHierClusterGroups).enter().append("option").property("selected", (grp) => grp.selected).attr("value", (d, i) => i).html((grp) => grp.label);
627
+ return { nonHierClusterGroups, groupSelect };
628
+ }
629
+
630
+ // plots/matrix/matrix.controls.variables.ts
631
+ var tip2 = new Menu({ padding: "" });
632
+ function setVariablesBtn(self2, s) {
633
+ self2.opts.holder.append("button").datum({
634
+ label: s.controlLabels.Terms || `Variables`,
635
+ //getCount: () => self.parent.termOrder.filter(t => t.tw.term.type != 'geneVariant').length.length,
636
+ rows: [
637
+ {
638
+ label: `Row Group Label Max Length`,
639
+ title: `Truncate the row group label if it exceeds this maximum number of characters`,
640
+ type: "number",
641
+ chartType: "matrix",
642
+ settingsKey: "termGrpLabelMaxChars"
643
+ },
644
+ {
645
+ label: `Row Label Max Length`,
646
+ title: `Truncate the row label if it exceeds this maximum number of characters`,
647
+ type: "number",
648
+ chartType: "matrix",
649
+ settingsKey: "rowlabelmaxchars"
650
+ }
651
+ ],
652
+ customInputs: appendDictInputs
653
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
654
+ }
655
+ function appendDictInputs(self2, app, parent) {
656
+ tip2.clear();
657
+ if (!parent.selectedGroup) parent.selectedGroup = parent.chartType == "hierCluster" ? 1 : 0;
658
+ app.tip.d.append("hr");
659
+ addDictMenu(self2, app, parent, app.tip.d.append("div"));
660
+ }
661
+ async function addDictMenu(self2, app, parent, holder = void 0) {
662
+ const termdb = await import("./app-63WJ3BMP.js");
663
+ termdb.appInit({
664
+ holder: holder || app.tip.d,
665
+ vocabApi: self2.parent.app.vocabApi,
666
+ focus: "off",
667
+ state: {
668
+ vocab: self2.parent.state.vocab,
669
+ activeCohort: self2.parent.activeCohort,
670
+ nav: {
671
+ header_mode: "search_only"
672
+ },
673
+ tree: {
674
+ usecase: { target: "matrix", detail: "termgroups" }
675
+ }
676
+ },
677
+ tree: {
678
+ submit_lst: (termlst) => {
679
+ submitLst(self2, termlst);
680
+ app.tip.hide();
681
+ }
682
+ },
683
+ search: {
684
+ focus: "off"
685
+ }
686
+ });
687
+ }
688
+ async function submitLst(self2, termlst) {
689
+ const newterms = await Promise.all(
690
+ termlst.map(async (_term) => {
691
+ const term = structuredClone(_term);
692
+ const tw = "id" in term ? { id: term.id, term } : { term };
693
+ await fillTermWrapper(tw, self2.opts.app.vocabApi);
694
+ return tw;
695
+ })
696
+ );
697
+ const termgroups = structuredClone(self2.parent.config.termgroups);
698
+ const i = termgroups.findIndex((g) => g.name == "Variables");
699
+ if (i !== -1) {
700
+ const grp = termgroups[i];
701
+ grp.lst.push(...newterms);
702
+ self2.parent.app.dispatch({
703
+ type: "plot_nestedEdits",
704
+ id: self2.parent.id,
705
+ edits: [
706
+ {
707
+ nestedKeys: ["termgroups", i, "lst"],
708
+ value: grp.lst
709
+ }
710
+ ]
711
+ });
712
+ } else {
713
+ const grp = { name: "Variables", lst: newterms };
714
+ termgroups.push(grp);
715
+ self2.parent.app.dispatch({
716
+ type: "plot_edit",
717
+ id: self2.parent.id,
718
+ config: { termgroups }
719
+ });
720
+ }
721
+ }
722
+
723
+ // plots/matrix/matrix.controls.dimensions.ts
724
+ function setDimensionsBtn(self2, s) {
725
+ const l = s.controlLabels;
726
+ self2.opts.holder.append("button").datum({
727
+ label: "Cell Layout",
728
+ tables: [
729
+ {
730
+ rows: [
731
+ {
732
+ label: "Grid",
733
+ title: "Show grid lines, which creates borders around each matrix cells. Note that grid lines are hidden when the auto-computed width <= 2, or when either the column and row spacing is set to 0.",
734
+ type: "checkbox",
735
+ boxLabel: "show",
736
+ // v===true means property('checked') and convert to recognized 'rect' value for dispatch
737
+ // otherwise, compared value to 'rect' to set the current value of the checkbox
738
+ // note: the non-boolean showGrid values allow keeping the hidden value='pattern' option for benchmark tests
739
+ processInput: (v) => v === true ? "rect" : v === "rect",
740
+ chartType: "matrix",
741
+ settingsKey: "showGrid",
742
+ colspan: 2,
743
+ align: "center"
744
+ // for testing/benchmarking
745
+ // type: 'radio',
746
+ // options: [
747
+ // {
748
+ // label: 'hide',
749
+ // value: ''
750
+ // },
751
+ // {
752
+ // label: 'lines',
753
+ // value: 'pattern' // needs debugging for when s.rowh or d.colw does not apply to all rows
754
+ // },
755
+ // {
756
+ // label: 'rect',
757
+ // value: 'rect'
758
+ // }
759
+ // ]
760
+ },
761
+ {
762
+ label: "Outline Color",
763
+ title: "Set a border color for the whole matrix",
764
+ type: "color",
765
+ chartType: "matrix",
766
+ settingsKey: "outlineStroke",
767
+ colspan: 2,
768
+ align: "center"
769
+ //getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
770
+ },
771
+ {
772
+ label: "Beam Color",
773
+ title: "Set a color for the beam highlighter",
774
+ type: "color",
775
+ chartType: "matrix",
776
+ settingsKey: "beamStroke",
777
+ colspan: 2,
778
+ align: "center"
779
+ //getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
780
+ },
781
+ {
782
+ label: "Grid Line Color",
783
+ title: "Set the grid color, equivalent to applying the same border color for each matrix cell",
784
+ type: "color",
785
+ chartType: "matrix",
786
+ settingsKey: "gridStroke",
787
+ colspan: 2,
788
+ align: "center"
789
+ //getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
790
+ },
791
+ {
792
+ label: "Background Color",
793
+ title: `Set the background color when there are no alterations or annotation data for a ${l.sample}`,
794
+ type: "color",
795
+ chartType: "matrix",
796
+ settingsKey: "cellbg",
797
+ colspan: 2,
798
+ align: "center"
799
+ },
800
+ {
801
+ label: `Use Canvas If # ${l.sample} Exceeds`,
802
+ title: `Switch from SVG to canvas rendering when the number of ${l.samples} exceeds this number`,
803
+ type: "number",
804
+ chartType: "matrix",
805
+ settingsKey: "svgCanvasSwitch",
806
+ colspan: 2,
807
+ align: "center",
808
+ width: 60,
809
+ min: 0,
810
+ max: 1e4,
811
+ step: 1
812
+ },
813
+ {
814
+ label: "Canvas Min. Pixel Width",
815
+ title: "Set a minimum pixel width for a matrix cell when using canvas, may affect the perceived sharpness of the canvas image",
816
+ type: "checkbox",
817
+ boxLabel: "apply",
818
+ chartType: "matrix",
819
+ settingsKey: "useMinPixelWidth",
820
+ colspan: 2,
821
+ align: "center",
822
+ getDisplayStyle: () => self2.parent.settings.matrix.useCanvas ? "" : "none"
823
+ }
824
+ ]
825
+ },
826
+ {
827
+ header: ["Cells", "Columns", "Rows"],
828
+ rows: [
829
+ {
830
+ label: "Row Height",
831
+ title: "Set the height of a matrix row",
832
+ type: "number",
833
+ width: 50,
834
+ align: "center",
835
+ chartType: "matrix",
836
+ inputs: [{ label: "N/A" }, { settingsKey: "rowh", min: 8, max: 30, step: 1 }],
837
+ getDisplayStyle(plot) {
838
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
839
+ }
840
+ },
841
+ {
842
+ label: "Min Col. Width",
843
+ title: "Set the minimum width of the auto-computed matrix column width",
844
+ type: "number",
845
+ width: 50,
846
+ align: "center",
847
+ chartType: "matrix",
848
+ inputs: [{ settingsKey: "colwMin", min: 0.1, max: 16, step: 0.2 }, { label: "N/A" }]
849
+ },
850
+ {
851
+ label: "Max Col. Width",
852
+ title: "Set the maximum width of the auto-computed matrix column width",
853
+ type: "number",
854
+ width: 50,
855
+ align: "center",
856
+ chartType: "matrix",
857
+ inputs: [{ settingsKey: "colwMax", min: 1, max: 24, step: 0.2 }, { label: "N/A" }]
858
+ },
859
+ {
860
+ label: "Spacing",
861
+ title: "Set the column spacing. Note that this will be set to 0 when the auto-computed width < 2.",
862
+ type: "number",
863
+ width: 50,
864
+ align: "center",
865
+ chartType: "matrix",
866
+ inputs: [
867
+ { settingsKey: "colspace", min: 0, max: 20, step: 1 },
868
+ { settingsKey: "rowspace", min: 0, max: 20, step: 1 }
869
+ ],
870
+ getDisplayStyle(plot) {
871
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
872
+ }
873
+ },
874
+ {
875
+ label: "Group spacing",
876
+ title: "Set the spacing between column and row groups.",
877
+ type: "number",
878
+ width: 50,
879
+ align: "center",
880
+ chartType: "matrix",
881
+ inputs: [
882
+ self2.parent.chartType == "hierCluster" ? { label: "N/A" } : { settingsKey: "colgspace", min: 0, max: 20, step: 1 },
883
+ { settingsKey: "rowgspace", min: 0, max: 20, step: 1 }
884
+ ]
885
+ }
886
+ ]
887
+ },
888
+ {
889
+ header: ["Labels", "Columns", "Rows"],
890
+ rows: [
891
+ {
892
+ label: "Offset",
893
+ title: "Set the gap between the label text and matrix edge",
894
+ type: "number",
895
+ width: 50,
896
+ align: "center",
897
+ chartType: "matrix",
898
+ inputs: [
899
+ { settingsKey: "collabelgap", min: 0, max: 20, step: 1 },
900
+ { settingsKey: "rowlabelgap", min: 0, max: 20, step: 1 }
901
+ ]
902
+ },
903
+ {
904
+ label: "Spacing",
905
+ title: "Set the gap between labels",
906
+ type: "number",
907
+ width: 50,
908
+ align: "center",
909
+ chartType: "matrix",
910
+ inputs: [
911
+ { settingsKey: "collabelpad", min: 0, max: 20, step: 1 },
912
+ { settingsKey: "rowlabelpad", min: 0, max: 20, step: 1 }
913
+ ]
914
+ },
915
+ {
916
+ label: "Min font size",
917
+ title: "Set the minimum auto-computed font size for labels. Note that labels will be hidden if the auto-computed values falls below this minimum.",
918
+ type: "number",
919
+ width: 50,
920
+ align: "center",
921
+ colspan: 2,
922
+ chartType: "matrix",
923
+ settingsKey: "minLabelFontSize",
924
+ min: 0,
925
+ max: 24,
926
+ step: 0.1
927
+ },
928
+ {
929
+ label: "Max font size",
930
+ title: "Set the maximum auto-computed font size for labels",
931
+ type: "number",
932
+ width: 50,
933
+ align: "center",
934
+ colspan: 2,
935
+ chartType: "matrix",
936
+ settingsKey: "maxLabelFontSize",
937
+ min: 0,
938
+ max: 24,
939
+ step: 0.1
940
+ },
941
+ {
942
+ label: "Group label<br/>position",
943
+ title: "Set which side of the matrix to display group labels",
944
+ type: "radio",
945
+ width: 50,
946
+ chartType: "matrix",
947
+ labelDisplay: "block",
948
+ getDisplayStyle(plot) {
949
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
950
+ },
951
+ inputs: [
952
+ {
953
+ settingsKey: "collabelpos",
954
+ // switched since settings.collabelpos refers to the individual column label, not group
955
+ options: [
956
+ { label: "Top", value: "bottom", title: `Display ${l.sample} group labels at the bottom` },
957
+ { label: "Bottom", value: "top", title: `Display ${l.sample} group labels on top` }
958
+ ]
959
+ },
960
+ {
961
+ settingsKey: "rowlabelpos",
962
+ // switched since settings.rowlabelpos refers to the individual column label, not group
963
+ options: [
964
+ {
965
+ label: "Left",
966
+ value: "right",
967
+ title: `Display gene or variable group labels on the left side`
968
+ },
969
+ {
970
+ label: "Right",
971
+ value: "left",
972
+ title: `Display gene or variable group labels on the right side`
973
+ }
974
+ ]
975
+ }
976
+ ]
977
+ }
978
+ ]
979
+ }
980
+ ]
981
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
982
+ }
983
+
984
+ // plots/matrix/matrix.controls.legend.ts
985
+ function setLegendBtn(self2) {
986
+ self2.opts.holder.append("button").style("margin", "2px 0").datum({
987
+ label: "Legend Layout",
988
+ rows: [
989
+ //ontop: false,
990
+ {
991
+ label: "Font Size",
992
+ title: "Set the font size for the legend text",
993
+ type: "number",
994
+ chartType: "legend",
995
+ settingsKey: "fontsize"
996
+ },
997
+ {
998
+ label: "Line Height",
999
+ title: "Set the line height for a legend group",
1000
+ type: "number",
1001
+ chartType: "legend",
1002
+ settingsKey: "lineh"
1003
+ },
1004
+ {
1005
+ label: "Icon Height",
1006
+ title: "Set the icon height for a legend item",
1007
+ type: "number",
1008
+ chartType: "legend",
1009
+ settingsKey: "iconh"
1010
+ },
1011
+ {
1012
+ label: "Icon Width",
1013
+ title: "Set the icon width for a legend item",
1014
+ type: "number",
1015
+ chartType: "legend",
1016
+ settingsKey: "iconw"
1017
+ },
1018
+ /*{
1019
+ label: 'Bottom margin',
1020
+ type: 'number',
1021
+ chartType: 'legend',
1022
+ settingsKey: 'padbtm'
1023
+ },*/
1024
+ {
1025
+ label: "Item Left Pad",
1026
+ title: "Set a left margin for each legend item",
1027
+ type: "number",
1028
+ chartType: "legend",
1029
+ settingsKey: "padx"
1030
+ },
1031
+ {
1032
+ label: "Left Margin",
1033
+ title: "Set a left margin for the whole legend",
1034
+ type: "number",
1035
+ chartType: "legend",
1036
+ settingsKey: "padleft"
1037
+ },
1038
+ {
1039
+ label: "Left Indent",
1040
+ title: `Set a left margin for the first legend item in each group, and should be set to the length of the longest group label. The left indent will align the legend group label text to the right.`,
1041
+ type: "number",
1042
+ chartType: "legend",
1043
+ settingsKey: "hangleft"
1044
+ },
1045
+ {
1046
+ label: "Item Layout",
1047
+ title: "Option to separate each legend item into a new line, instead of a horizontal layout in the same line.",
1048
+ type: "checkbox",
1049
+ chartType: "legend",
1050
+ settingsKey: "linesep",
1051
+ boxLabel: "Line separated"
1052
+ }
1053
+ ]
1054
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
1055
+ }
1056
+
1057
+ // plots/matrix/matrix.controls.mutations.ts
1058
+ function setMutationBtn(self2) {
1059
+ self2.opts.holder.append("button").style("margin", "2px 0").datum({
1060
+ label: "Mutation",
1061
+ updateBtn: (btn) => {
1062
+ const s = self2.parent.config.settings.matrix;
1063
+ btn.style("text-decoration", s.allMatrixMutationHidden ? "line-through" : "").style("text-decoration-thickness", s.allMatrixMutationHidden ? "2px" : "");
1064
+ },
1065
+ rows: [
1066
+ {
1067
+ title: `Show mutation options`,
1068
+ type: "radio",
1069
+ chartType: "matrix",
1070
+ settingsKey: "showMatrixMutation",
1071
+ options: [
1072
+ { label: "Show all mutations", value: "all" },
1073
+ { label: `Show only truncating mutations`, value: "onlyTruncating" },
1074
+ { label: `Show only protein-changing mutations`, value: "onlyPC" },
1075
+ { label: `Do not show mutations`, value: "none" },
1076
+ { label: `Show selected mutation`, value: "bySelection" }
1077
+ ],
1078
+ labelDisplay: "block",
1079
+ getDisplayStyle(plot) {
1080
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
1081
+ },
1082
+ callback: self2.parent.mutationControlCallback
1083
+ }
1084
+ ],
1085
+ customInputs: generateMutationItems
1086
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
1087
+ }
1088
+ function generateMutationItems(self2, app, parent, table) {
1089
+ table.attr("class", null);
1090
+ const m = parent.config.settings.matrix;
1091
+ const cnvLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtcnv));
1092
+ if (m.showMatrixMutation !== "none" && (m.allMatrixCNVHidden || !cnvLegendGrp || cnvLegendGrp.crossedOut || !cnvLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
1093
+ table.select("input[type='radio'][value='none']").property("disabled", true);
1094
+ table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
1095
+ }
1096
+ if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixMutation == "bySelection")
1097
+ parent.mutationControlCallback("bySelection");
1098
+ }
1099
+
1100
+ // plots/matrix/matrix.controls.cnv.ts
1101
+ function setCNVBtn(self2) {
1102
+ self2.opts.holder.append("button").style("margin", "2px 0").datum({
1103
+ label: "CNV",
1104
+ updateBtn: (btn) => {
1105
+ const s = self2.parent.config.settings.matrix;
1106
+ const notRendered = s.allMatrixCNVHidden;
1107
+ btn.style("text-decoration", notRendered ? "line-through" : "").style("text-decoration-thickness", notRendered ? "2px" : "");
1108
+ },
1109
+ rows: [
1110
+ {
1111
+ title: `Show CNV options`,
1112
+ type: "radio",
1113
+ chartType: "matrix",
1114
+ settingsKey: "showMatrixCNV",
1115
+ options: [
1116
+ { label: "Show all CNV", value: "all" },
1117
+ { label: `Do not show CNV`, value: "none" },
1118
+ { label: `Show selected CNV`, value: "bySelection" }
1119
+ ],
1120
+ labelDisplay: "block",
1121
+ getDisplayStyle(plot) {
1122
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
1123
+ },
1124
+ callback: self2.parent.CNVControlCallback
1125
+ }
1126
+ ],
1127
+ customInputs: generateCNVItems
1128
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
1129
+ }
1130
+ function generateCNVItems(self2, app, parent, table) {
1131
+ table.attr("class", null);
1132
+ const m = parent.config.settings.matrix;
1133
+ const mutationLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtsnvindel));
1134
+ if (m.showMatrixCNV !== "none" && (m.allMatrixMutationHidden || !mutationLegendGrp || mutationLegendGrp.crossedOut || !mutationLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
1135
+ table.select("input[type='radio'][value='none']").property("disabled", true);
1136
+ table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
1137
+ }
1138
+ if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixCNV == "bySelection")
1139
+ parent.CNVControlCallback("bySelection");
1140
+ }
1141
+
1142
+ // plots/matrix/matrix.controls.download.ts
1143
+ function setDownloadBtn(self2) {
1144
+ self2.opts.holder.append("button").style("margin", "2px 0").text("Download").on("focus", () => self2.parent.app.tip.hide()).on("click.sjpp-matrix-download", (event) => {
1145
+ const p = self2.parent;
1146
+ if (!p.dom.downloadMenu) p.dom.downloadMenu = new Menu({ padding: "" });
1147
+ const downloadMenu = p.dom.downloadMenu.clear();
1148
+ const div = downloadMenu.d.append("div");
1149
+ div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`SVG image`).on("click.sjpp-matrix-download", () => {
1150
+ to_svg(self2.opts.getSvg(), "matrix", { apply_dom_styles: true });
1151
+ p.dom.downloadMenu.destroy();
1152
+ });
1153
+ div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`TSV data`).on("click.sjpp-matrix-download", () => {
1154
+ const lst = p.data.lst;
1155
+ const allTerms = p.termOrder.map((t) => t.tw);
1156
+ const assayAvailability = p.state.termdbConfig.assayAvailability;
1157
+ const controlLabels = p.settings.matrix.controlLabels;
1158
+ if (p.config.divideBy?.id && !allTerms.find((a2) => a2.id == p.config.divideBy.id)) {
1159
+ allTerms.push(p.config.divideBy);
1160
+ }
1161
+ const activeSamples = [];
1162
+ for (const d of lst) {
1163
+ for (const tw of allTerms) {
1164
+ if (tw.$id in d) {
1165
+ activeSamples.push(d);
1166
+ break;
1167
+ }
1168
+ }
1169
+ }
1170
+ const header = [controlLabels.Sample];
1171
+ for (const tw of allTerms) header.push(tw.term.name);
1172
+ const rows = [header];
1173
+ for (const sample of activeSamples) {
1174
+ const row = [sample._ref_.label];
1175
+ for (const tw of allTerms) {
1176
+ if (!sample[tw.$id]) {
1177
+ row.push("");
1178
+ } else {
1179
+ if (tw.term.type == "geneVariant") {
1180
+ const allVariant = [];
1181
+ for (const v of sample[tw.$id].renderedValues) {
1182
+ const hasAssayAvailability = assayAvailability?.byDt?.[parseInt(v.dt)];
1183
+ if (v.dt == dtsnvindel) {
1184
+ allVariant.push(
1185
+ (v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.mname ? `,${v.mname}` : "")
1186
+ );
1187
+ } else if (v.dt == dtcnv) {
1188
+ const cnvValue = v.value ? `${hasAssayAvailability ? "" : "CNV:"}${v.value}` : v.class == "CNV_amp" ? "CNV gain" : v.class == "CNV_loss" ? "CNV loss" : v.class == "CNV_homozygous_deletion" ? "CNV homozygous deletion" : v.class == "CNV_amplification" ? "CNV amplification" : v.class == "CNV_loh" ? "CNV loss of heterozygosity" : mclass[v.class]?.label;
1189
+ allVariant.push(
1190
+ (v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + cnvValue
1191
+ );
1192
+ } else if (v.dt == dtfusionrna || v.dt == dtsv) {
1193
+ allVariant.push(
1194
+ (v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.gene && v.mname ? `(${v.gene}::${v.mname})` : "")
1195
+ );
1196
+ } else {
1197
+ allVariant.push(`DO NOT SUPPORT dt='${v.dt}'`);
1198
+ }
1199
+ }
1200
+ row.push(allVariant.join("|"));
1201
+ } else if (tw.term.type == TermTypes.GENE_EXPRESSION || tw.term.type == TermTypes.METABOLITE_INTENSITY || tw.term.type == TermTypes.PROTEOME_ABUNDANCE) {
1202
+ row.push(sample[tw.$id]?.renderedValues?.[0]?.value || "");
1203
+ } else {
1204
+ row.push(sample[tw.$id]?.renderedValues?.[0] || sample[tw.$id]?.value || "");
1205
+ }
1206
+ }
1207
+ }
1208
+ rows.push(row);
1209
+ }
1210
+ const matrix = rows.map((row) => row.join(" ")).join("\n");
1211
+ const a = document.createElement("a");
1212
+ document.body.appendChild(a);
1213
+ a.addEventListener(
1214
+ "click",
1215
+ function() {
1216
+ const currentDate = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
1217
+ a.download = p.config.settings?.hierCluster?.termGroupName?.startsWith("Gene Expression") ? `GeneExpression.${currentDate}.tsv` : p.chartType == "hierCluster" ? `HierCluster.${currentDate}.tsv` : `${p.app.vocabApi.termdbConfig.matrix?.appName || "Matrix"}.${currentDate}.tsv`;
1218
+ a.href = URL.createObjectURL(new Blob([matrix], { type: "text/tab-separated-values" }));
1219
+ document.body.removeChild(a);
1220
+ },
1221
+ false
1222
+ );
1223
+ a.click();
1224
+ p.dom.downloadMenu.destroy();
1225
+ });
1226
+ downloadMenu.showunder(event.target);
1227
+ });
1228
+ }
1229
+
1230
+ // plots/matrix/matrix.zoomPanScroll.ts
1231
+ function setZoomInput(self2) {
1232
+ const holder = self2.opts.holder.append("div").style("display", "inline-block").style("margin-left", "50px");
1233
+ const s = self2.parent.settings.matrix || self2.parent.config.settings.matrix;
1234
+ self2.zoomApi = zoom({
1235
+ holder,
1236
+ title: "Zoom factor relative to the ideal column width, as computed for the number of columns versus available screen width",
1237
+ unit: "",
1238
+ width: "80px",
1239
+ settings: {
1240
+ min: 0.1,
1241
+ // will be determined once the auto-computed width is determined
1242
+ max: 1,
1243
+ // will be determined once the auto-computed width is determined
1244
+ value: 1,
1245
+ increment: s.zoomIncrement,
1246
+ step: s.zoomStep || 5
1247
+ },
1248
+ callback: (zoomLevel) => {
1249
+ const p = self2.parent;
1250
+ const c = p.getVisibleCenterCell(0);
1251
+ p.app.dispatch({
1252
+ type: "plot_edit",
1253
+ id: p.id,
1254
+ config: {
1255
+ settings: {
1256
+ matrix: {
1257
+ zoomLevel,
1258
+ zoomCenterPct: 0.5,
1259
+ zoomIndex: c.totalIndex,
1260
+ zoomGrpIndex: c.grpIndex
1261
+ }
1262
+ }
1263
+ }
1264
+ });
1265
+ },
1266
+ reset: () => {
1267
+ self2.parent.app.dispatch({
1268
+ type: "plot_edit",
1269
+ id: self2.parent.id,
1270
+ config: {
1271
+ settings: {
1272
+ matrix: {
1273
+ zoomLevel: 1,
1274
+ zoomCenterPct: 0
1275
+ }
1276
+ }
1277
+ }
1278
+ });
1279
+ }
1280
+ });
1281
+ }
1282
+ function setDragToggle(self2, opts = {}) {
1283
+ const defaults = {
1284
+ mouseMode: "select",
1285
+ activeBgColor: "rgb(255, 255, 255)"
1286
+ };
1287
+ opts.target.style("cursor", "default");
1288
+ const instance = {
1289
+ opts: Object.assign({}, defaults, opts),
1290
+ dom: {
1291
+ selectBtn: opts.holder.append("button").attr("aria-label", "Click the matrix to select data").style("display", "inline-block").style("width", "25px").style("height", "24.5px").style("background-color", defaults.activeBgColor).on("click", () => setMode("select")),
1292
+ grabBtn: opts.holder.append("button").attr("aria-label", "Click the matrix to drag and move").style("display", "inline-block").style("width", "25px").style("height", "24.5px").on("click", () => setMode("pan"))
1293
+ }
1294
+ };
1295
+ icons.arrowPointer(instance.dom.selectBtn, { width: 14, height: 14, transform: "translate(50,50)" });
1296
+ icons.grab(instance.dom.grabBtn, { width: 14, height: 14, transform: "translate(30,50)" });
1297
+ function setMode(m) {
1298
+ instance.opts.mouseMode = m;
1299
+ self2.parent.settings.matrix.mouseMode = m;
1300
+ opts.target.style("cursor", m == "select" ? "default" : "grab");
1301
+ instance.dom.selectBtn.style("background-color", m == "select" ? instance.opts.activeBgColor : "");
1302
+ instance.dom.grabBtn.style("background-color", m == "pan" ? instance.opts.activeBgColor : "");
1303
+ }
1304
+ self2.dragToggleApi = {
1305
+ update(s = {}) {
1306
+ Object.assign(instance.opts, s);
1307
+ setMode(instance.opts.mouseMode);
1308
+ },
1309
+ getSettings() {
1310
+ return {
1311
+ mouseMode: instance.opts.mouseMode
1312
+ };
1313
+ }
1314
+ };
1315
+ }
1316
+ function setSvgScroll(self2, state) {
1317
+ self2.svgScrollApi = svgScroll({
1318
+ holder: self2.parent.dom.scroll,
1319
+ height: state.config.settings.matrix.scrollHeight,
1320
+ callback: (dx, eventType) => {
1321
+ const p = self2.parent;
1322
+ const s = p.settings.matrix;
1323
+ const d = p.dimensions;
1324
+ if (eventType == "move") {
1325
+ p.dom.seriesesG.attr("transform", `translate(${d.xOffset + d.seriesXoffset - dx},${d.yOffset})`);
1326
+ p.clusterRenderer.translateElems(-dx, s, d);
1327
+ p.layout.top.attr.adjustBoxTransform(-dx);
1328
+ p.layout.btm.attr.adjustBoxTransform(-dx);
1329
+ if (p.dom.topDendrogram) {
1330
+ p.dom.topDendrogram.attr("transform", `translate(${p.topDendroX - dx},0)`);
1331
+ }
1332
+ } else if (eventType == "up") {
1333
+ const c = p.getVisibleCenterCell(-dx);
1334
+ p.app.dispatch({
1335
+ type: "plot_edit",
1336
+ id: p.id,
1337
+ config: {
1338
+ settings: {
1339
+ matrix: {
1340
+ zoomCenterPct: 0.5,
1341
+ zoomIndex: c.totalIndex,
1342
+ zoomGrpIndex: c.grpIndex
1343
+ }
1344
+ }
1345
+ }
1346
+ });
1347
+ }
1348
+ }
1349
+ });
1350
+ }
1351
+
1352
+ // plots/matrix/matrix.controls.ts
1353
+ var MatrixControls = class {
1354
+ constructor(opts, appState) {
1355
+ this.activeTab = "basic";
1356
+ this.type = "matrixControls";
1357
+ this.opts = opts;
1358
+ this.parent = opts.parent;
1359
+ this.overrides = {};
1360
+ this.opts.holder.style("margin", "10px 10px 20px 10px").style("white-space", "nowrap");
1361
+ const state = this.parent.getState(appState);
1362
+ const s = state.config.settings.matrix;
1363
+ if (this.parent.setClusteringBtn)
1364
+ this.parent.setClusteringBtn(this.opts.holder, (event, data) => this.callback(event, data));
1365
+ setSamplesBtn(this, s);
1366
+ if (state.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || state.termdbConfig.queries.snvindel || this.parent.chartType == "hierCluster" && this.parent.config.dataType == TermTypes.GENE_EXPRESSION) {
1367
+ setGenesBtn(this, s);
1368
+ }
1369
+ if (s.addMutationCNVButtons && this.parent.chartType !== "hierCluster") {
1370
+ setMutationBtn(this);
1371
+ setCNVBtn(this);
1372
+ }
1373
+ setVariablesBtn(this, s);
1374
+ setDimensionsBtn(this, s);
1375
+ setLegendBtn(this);
1376
+ setDownloadBtn(this);
1377
+ setZoomInput(this);
1378
+ setDragToggle(this, {
1379
+ holder: this.opts.holder.append("div").style("display", "inline-block"),
1380
+ target: this.parent.dom.seriesesG
1381
+ });
1382
+ setSvgScroll(this, state);
1383
+ this.keyboardNavHandler = async (event) => {
1384
+ if (event.key == "Escape") {
1385
+ this.parent.app.tip.hide();
1386
+ } else if (event.key == "Enter" || event.key == "ArrowDown") {
1387
+ const elems = event.target.tagName == "BUTTON" ? this.parent.app.tip.d.node().querySelectorAll("input, select") : event.target.querySelectorAll("input, select");
1388
+ for (const elem of elems) {
1389
+ if (elem.checkVisibility?.() || !elem.checkVisibility && elem.getBoundingClientRect().height) {
1390
+ elem.focus();
1391
+ return false;
1392
+ }
1393
+ }
1394
+ } else if (event.key == "Tab" && event.shiftKey || event.key == "Backspace" || event.key == "ArrowUp") {
1395
+ if (event.target.tagName == "BUTTON") event.target.focus();
1396
+ return false;
1397
+ }
1398
+ };
1399
+ this.btns = this.opts.holder.selectAll(":scope>button").filter((d) => d && d.label).on(`keyup.matrix-${this.parent.id}`, this.keyboardNavHandler);
1400
+ }
1401
+ main(overrides = {}) {
1402
+ this.overrides = overrides;
1403
+ this.parent.app.tip.hide();
1404
+ this.btns.text(
1405
+ (d2) => !d2.getCount || d2.showCount == "hide" ? d2.label : d2.showCount == "append" ? `${d2.label} (n=${d2.getCount()})` : `${d2.getCount()} ${d2.label}`
1406
+ ).each(function(d2) {
1407
+ if (d2.updateBtn) d2.updateBtn(select_default(this));
1408
+ });
1409
+ const s = this.parent.settings.matrix || this.parent.config.settings.matrix;
1410
+ const min = this.parent.computedSettings.zoomMin;
1411
+ const max = this.parent.computedSettings.zoomMax;
1412
+ const increment = Math.max(0.01, Number((min / max).toFixed(2)));
1413
+ const d = this.parent.dimensions;
1414
+ if (this.zoomApi)
1415
+ this.zoomApi.update({
1416
+ value: s.zoomLevel.toFixed(2),
1417
+ min: min.toFixed(2),
1418
+ max: max.toFixed(2),
1419
+ increment,
1420
+ step: s.zoomStep || 1
1421
+ });
1422
+ if (this.svgScrollApi && d) {
1423
+ this.svgScrollApi.update({
1424
+ x: d.xOffset,
1425
+ y: d.yOffset - s.scrollHeight,
1426
+ totalWidth: d.zoomedMainW,
1427
+ visibleWidth: d.mainw,
1428
+ zoomCenter: s.zoomCenterPct * d.mainw - d.seriesXoffset
1429
+ });
1430
+ }
1431
+ if (this.dragToggleApi) {
1432
+ this.dragToggleApi.update(s.mouseMode ? { mouseMode: s.mouseMode } : {});
1433
+ }
1434
+ }
1435
+ getSettings() {
1436
+ return {
1437
+ mouseMode: this.dragToggleApi.getSettings().mouseMode
1438
+ };
1439
+ }
1440
+ async callback(event, d) {
1441
+ const app = this.opts.app;
1442
+ const parent = this.opts.parent;
1443
+ const tables = d.tables || [d];
1444
+ event.target.focus();
1445
+ app.tip.clear();
1446
+ const table = app.tip.d.append("table").attr("class", "sjpp-controls-table");
1447
+ for (const t of tables) {
1448
+ if (t.header) {
1449
+ table.append("tr").selectAll("th").data(t.header).enter().append("th").html((d2) => d2);
1450
+ }
1451
+ for (const inputConfig of t.rows) {
1452
+ const holder = table.append("tr");
1453
+ const input = await initByInput[inputConfig.type](
1454
+ Object.assign(
1455
+ {},
1456
+ {
1457
+ holder,
1458
+ app,
1459
+ dispatch: (action) => app.dispatch(action),
1460
+ id: parent.id,
1461
+ debug: this.opts.debug,
1462
+ parent
1463
+ },
1464
+ inputConfig
1465
+ )
1466
+ );
1467
+ input.main(parent.config);
1468
+ }
1469
+ if (t.customInputs) t.customInputs(this, app, parent, table);
1470
+ table.selectAll("select, input, button").attr("tabindex", 0).on("keydown", this.keyboardNavHandler);
1471
+ }
1472
+ app.tip.showunder(event.target);
1473
+ }
1474
+ };
1475
+
1476
+ // plots/matrix/matrix.xtw.ts
1477
+ var addons;
1478
+ async function getTermGroups(termgroups, app) {
1479
+ const termGroups = structuredClone(termgroups);
1480
+ if (!addons)
1481
+ addons = {
1482
+ QualTWValues: discreteAddons,
1483
+ QualTWPredefinedGS: discreteAddons,
1484
+ QualTWCustomGS: discreteAddons,
1485
+ NumTWRegularBin: discreteAddons,
1486
+ NumTWCustomBin: discreteAddons,
1487
+ NumTWCont: continuousAddons,
1488
+ TermCollectionTWCont: TermCollectionContAddons
1489
+ };
1490
+ const opts = {
1491
+ vocabApi: app.vocabApi,
1492
+ addons
1493
+ };
1494
+ for (const [origIndex, tG] of termGroups.entries()) {
1495
+ tG.origIndex = origIndex;
1496
+ if (tG.type == "hierCluster") continue;
1497
+ const xtwlst = [];
1498
+ for (const tw of tG.lst) {
1499
+ const inputTw = tw.getTw?.() || tw;
1500
+ xtwlst.push(
1501
+ inputTw.type in opts.addons && routedTermTypes.has(inputTw.term.type) ? await TwRouter.init(inputTw, opts) : inputTw
1502
+ );
1503
+ }
1504
+ tG.lst = xtwlst;
1505
+ }
1506
+ return termGroups;
1507
+ }
1508
+ var discreteAddons = {
1509
+ setCellProps: {
1510
+ value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
1511
+ const tw = this.getTw();
1512
+ const key = anno.key;
1513
+ const values = tw.term.values || {};
1514
+ cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
1515
+ const tw$id = tw.$id;
1516
+ cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.[key]?.color || anno.color || values[anno.key]?.color || self2.data.refs.byTermId?.[tw$id]?.bins?.find((b) => anno.key == b.name)?.color;
1517
+ cell.order = t.ref.bins ? t.ref.bins.findIndex((bin) => bin.name == key) : 0;
1518
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1519
+ cell.y = height * i;
1520
+ const group = tw.legend?.group || tw$id;
1521
+ return { ref: t.ref, group, value: key, entry: { key, label: cell.label, fill: cell.fill } };
1522
+ }
1523
+ }
1524
+ };
1525
+ var continuousAddons = {
1526
+ setCellProps: {
1527
+ value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
1528
+ const tw = this.getTw();
1529
+ const key = anno.key;
1530
+ const values = tw.term.values || {};
1531
+ cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
1532
+ cell.fill = anno.color || values[anno.key]?.color;
1533
+ const tw$id = tw.$id;
1534
+ const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
1535
+ if (!twSpecificSettings[tw$id]) twSpecificSettings[tw$id] = {};
1536
+ const twSettings = twSpecificSettings[tw$id];
1537
+ if (!twSettings.contBarH) twSettings.contBarH = s.barh;
1538
+ if (!("gap" in twSettings)) twSettings.contBarGap = 4;
1539
+ const specialValue = tw.term.values?.[cell.key];
1540
+ if (specialValue?.uncomputable) {
1541
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1542
+ cell.y = height * i;
1543
+ cell.height = twSettings.contBarH;
1544
+ cell.fill = "transparent";
1545
+ cell.label = specialValue.label;
1546
+ const group = tw.legend?.group || tw.$id;
1547
+ return {
1548
+ ref: t.ref,
1549
+ group,
1550
+ value: specialValue.label || specialValue.key,
1551
+ entry: { key, label: cell.label, fill: cell.fill }
1552
+ };
1553
+ }
1554
+ cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.contBarColor || "#555";
1555
+ if (s.transpose) {
1556
+ cell.height = t.scale(cell.key);
1557
+ cell.x = twSettings.contBarGap;
1558
+ } else {
1559
+ const vc = cell.term.valueConversion;
1560
+ let renderV = vc ? cell.key * vc.scaleFactor : cell.key;
1561
+ if (this.q.convert2ZScore) {
1562
+ renderV = (renderV - t.mean) / t.std;
1563
+ cell.fill = renderV > 0 ? "#FF6666" : "#6666FF";
1564
+ cell.zscoreLabel = ` (Z-score: ${renderV.toFixed(2)})`;
1565
+ }
1566
+ cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : this.term.unit ? `${cell.key.toFixed(2)} ${this.term.unit}` : cell.key.toFixed(2);
1567
+ cell.height = renderV >= 0 ? t.scales.pos(renderV) : t.scales.neg(renderV);
1568
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1569
+ cell.y = renderV >= 0 ? t.counts.posMaxHt + twSettings.contBarGap - cell.height : t.counts.posMaxHt + twSettings.contBarGap;
1570
+ cell.convertedValueLabel = !vc ? "" : convertUnits(cell.key, vc.fromUnit, vc.toUnit, vc.scaleFactor);
1571
+ }
1572
+ }
1573
+ }
1574
+ };
1575
+ var TermCollectionContAddons = {
1576
+ setCellProps: {
1577
+ value: function(cell, anno, value, s, t, self2, width, height, dx, _dy, _i) {
1578
+ const tw = this.getTw();
1579
+ const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
1580
+ if (!twSpecificSettings[tw.$id]) twSpecificSettings[tw.$id] = {};
1581
+ const twSettings = twSpecificSettings[tw.$id];
1582
+ if (!twSettings.contBarH) twSettings.contBarH = s.barh;
1583
+ if (!("gap" in twSettings)) twSettings.contBarGap = 4;
1584
+ const isNegative = value.value < 0;
1585
+ if (isNegative) {
1586
+ cell.height = t.scales.neg ? t.scales.neg(value.value) - t.scales.neg(0) : 0;
1587
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1588
+ const cumulativeHeight = t.scales.neg ? t.scales.neg(value.pre_val_sum) - t.scales.neg(0) : 0;
1589
+ cell.y = t.counts.posMaxHt + twSettings.contBarGap + (t.scales.neg ? t.scales.neg(0) : 0) + cumulativeHeight;
1590
+ } else {
1591
+ cell.height = t.scales.pos(value.value) - t.scales.pos(0);
1592
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1593
+ const cumulativeHeight = t.scales.pos(value.pre_val_sum) - t.scales.pos(0);
1594
+ cell.y = t.counts.posMaxHt + twSettings.contBarGap - t.scales.pos(0) - cumulativeHeight - cell.height;
1595
+ }
1596
+ cell.label = value.label;
1597
+ cell.fill = twSettings[value.label]?.color || value.color || tw.term.propsByTermId?.[value.label]?.color;
1598
+ cell.value = value.value;
1599
+ return {
1600
+ ref: t.ref,
1601
+ group: tw.$id,
1602
+ value: value.label,
1603
+ order: -1,
1604
+ entry: { key: value.label, label: value.label, fill: cell.fill }
1605
+ };
1606
+ }
1607
+ }
1608
+ };
1609
+
1610
+ // plots/matrix/matrix.js
1611
+ var Matrix = class _Matrix extends PlotBase {
1612
+ static type = "matrix";
1613
+ configTermKeys = ["termgroups.lst", "divideBy"];
1614
+ constructor(opts) {
1615
+ super(opts);
1616
+ this.type = _Matrix.type;
1617
+ this.holderTitle = "Sample Matrix";
1618
+ this.optionalFeatures = JSON.parse(sessionStorage.getItem("optionalFeatures") || `{}`)?.matrix || [];
1619
+ setInteractivity(this);
1620
+ setRenderers(this);
1621
+ }
1622
+ async init(appState) {
1623
+ const opts = this.opts;
1624
+ if (opts.reactsTo) this.reactsTo = opts.reactsTo;
1625
+ this.setDom = setMatrixDom;
1626
+ this.setDom(opts);
1627
+ this.config = appState.plots.find((p) => p.id === this.id);
1628
+ this.settings = Object.assign({}, this.config.settings.matrix);
1629
+ this.computed = {};
1630
+ if (this.dom.header) this.dom.header.html(this.config.preBuiltPlotTitle || this.holderTitle);
1631
+ this.setControls(appState);
1632
+ this.clusterRenderer = new MatrixCluster({ holder: this.dom.cluster, app: this.app, parent: this });
1633
+ this.legendRenderer = svgLegend({
1634
+ holder: this.dom.legendG,
1635
+ rectFillFxn: (d) => d.color,
1636
+ iconStroke: "#aaa",
1637
+ handlers: {
1638
+ legend: {
1639
+ click: this.legendClick
1640
+ }
1641
+ },
1642
+ settings: {
1643
+ isExcludedAttr: "isExcluded"
1644
+ },
1645
+ note: "CLICK A ROW LABEL OR ITEM TO APPLY FILTERING"
1646
+ });
1647
+ this.customTipApi = this.dom.tip.getCustomApi({
1648
+ d: this.dom.menubody,
1649
+ clear: (event) => {
1650
+ if (event?.target) this.dom.menutop.style("display", "none");
1651
+ this.dom.menubody.selectAll("*").remove();
1652
+ return this.customTipApi;
1653
+ },
1654
+ show: () => {
1655
+ this.dom.menubody.style("display", "block");
1656
+ },
1657
+ hide: () => {
1658
+ }
1659
+ });
1660
+ this.setPill(appState);
1661
+ const commonKeys = { mclass, dt2label, morigin };
1662
+ for (const k in commonKeys) {
1663
+ const v = commonKeys[k];
1664
+ this[k] = copyMerge({}, v, appState.termdbConfig[k] || {}, appState.termdbConfig.matrix?.[k] || {});
1665
+ }
1666
+ }
1667
+ setControls(appState) {
1668
+ this.controlsRenderer = new MatrixControls(
1669
+ {
1670
+ app: this.app,
1671
+ id: this.id,
1672
+ parent: this,
1673
+ holder: this.dom.controls,
1674
+ getSvg: () => this.dom.svg.node()
1675
+ },
1676
+ appState
1677
+ );
1678
+ }
1679
+ // reactsTo(action) {
1680
+ // // note: a parent app or 'plot' component is expected to already have
1681
+ // // a comprehensive reactsTo() call to filter the actions for this component,
1682
+ // // so only farther selective action filters should be applied here as needed
1683
+ // return true
1684
+ // }
1685
+ getState(appState) {
1686
+ const config = appState.plots.find((p) => p.id === this.id);
1687
+ const filter0 = appState.termfilter.filter0;
1688
+ this.prevFilter0 = this.state?.filter0;
1689
+ const parentConfig = appState.plots.find((p) => p.id === this.parentId);
1690
+ const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
1691
+ return {
1692
+ isVisible: true,
1693
+ config,
1694
+ filter: termfilter.filter,
1695
+ filter0,
1696
+ // read-only, invisible filter currently only used for gdc dataset
1697
+ hasVerifiedToken: this.app.vocabApi.hasVerifiedToken(),
1698
+ tokenVerificationMessage: this.app.vocabApi.tokenVerificationMessage,
1699
+ vocab: appState.vocab,
1700
+ termdbConfig: appState.termdbConfig,
1701
+ clusterMethod: config.settings.hierCluster?.clusterMethod,
1702
+ distanceMethod: config.settings.hierCluster?.distanceMethod,
1703
+ clusterSamples: config.settings.hierCluster?.clusterSamples,
1704
+ clusterRows: config.settings.hierCluster?.clusterRows,
1705
+ zScoreTransformation: config.settings.hierCluster?.zScoreTransformation,
1706
+ nav: appState.nav,
1707
+ groups: rebaseGroupFilter(appState)
1708
+ };
1709
+ }
1710
+ async main() {
1711
+ try {
1712
+ this.config = await this.getMutableConfig();
1713
+ if (this.mayRequireToken()) return;
1714
+ const termGroups = await getTermGroups(this.config.termgroups, this.app);
1715
+ const prevTranspose = this.settings.transpose;
1716
+ Object.assign(this.settings, structuredClone(this.config.settings), this.controlsRenderer.getSettings());
1717
+ this.dom.loadingDiv.selectAll("*").remove();
1718
+ this.dom.loadingDiv.html("").style("display", "").style("position", "relative").style("left", "45%");
1719
+ this.dom.svg.style("opacity", 0.1).style("pointer-events", "none");
1720
+ delete this.clickedClusterIds;
1721
+ delete this.clickedLeftClusterIds;
1722
+ try {
1723
+ setComputedConfig(this.config);
1724
+ const promises = [];
1725
+ if (this.setHierClusterData) promises.push(this.setHierClusterData());
1726
+ promises.push(this.setData());
1727
+ this.dom.loadingDiv.html("Processing data ...");
1728
+ await Promise.all(promises);
1729
+ const warnings = this.data.warnings.join("\n");
1730
+ this.dom.warningDiv.style("display", warnings.length ? "" : "none").html(warnings);
1731
+ this.applyLegendValueFilter();
1732
+ if (this.combineData) this.combineData();
1733
+ this.app.save({ type: "plot_edit", id: this.id, config: this.config });
1734
+ } catch (e) {
1735
+ if (e == "no data") {
1736
+ this.showNoMatchingDataMessage();
1737
+ return;
1738
+ } else if (this.app.isAbortError(e)) {
1739
+ return;
1740
+ } else {
1741
+ this.dom.svg.style("display", "none");
1742
+ throw e;
1743
+ }
1744
+ }
1745
+ this.termGroups = termGroups;
1746
+ this.dom.loadingDiv.html("Updating ...").style("display", "");
1747
+ this.termOrder = this.getTermOrder(this.data);
1748
+ this.sampleGroups = this.getSampleGroups(this.hierClusterSamples || this.data);
1749
+ this.sampleOrder = this.getSampleOrder(this.data);
1750
+ this.setLayout();
1751
+ if (this.setHierColorScale) this.setHierColorScale(this.hierClusterData.clustering);
1752
+ if (!this.sampleOrder?.length) {
1753
+ this.showNoMatchingDataMessage();
1754
+ }
1755
+ this.controlsRenderer.main();
1756
+ this.serieses = this.getSerieses(this.data);
1757
+ this.dom.loadingDiv.html("Rendering ...");
1758
+ if (this.plotDendrogramHclust) this.plotDendrogramHclust();
1759
+ this.render();
1760
+ this.mayDisplayCohortMessage();
1761
+ this.dom.svg.style("display", "").style("opacity", 1).style("pointer-events", "");
1762
+ const [xGrps, yGrps] = !this.settings.matrix.transpose ? ["sampleGrps", "termGrps"] : ["termGrps", "sampleGrps"];
1763
+ const d = this.dimensions;
1764
+ this.clusterRenderer.main({
1765
+ settings: this.settings.matrix,
1766
+ xGrps: this[xGrps],
1767
+ yGrps: this[yGrps],
1768
+ dimensions: d
1769
+ });
1770
+ this.legendRenderer(this.legendData, {
1771
+ settings: Object.assign({}, this.settings.legend, {
1772
+ svgw: Math.max(400, d.mainw + d.xOffset - this.settings.matrix.margin.right),
1773
+ svgh: d.mainh + d.yOffset,
1774
+ dimensions: d,
1775
+ padleft: this.settings.legend.padleft
1776
+ //+ d.xOffset
1777
+ })
1778
+ });
1779
+ await this.adjustSvgDimensions(prevTranspose);
1780
+ this.controlsRenderer.main();
1781
+ if (this.data.removedHierClusterTerms) {
1782
+ for (const r of this.data.removedHierClusterTerms) {
1783
+ sayerror(this.dom.errorDiv, r.text + ": " + r.lst.join(", "));
1784
+ }
1785
+ }
1786
+ } catch (e) {
1787
+ const message = this.app.vocabApi.tokenVerificationMessage;
1788
+ this.mayRequireToken(message);
1789
+ if (!message) {
1790
+ this.app.tip.hide();
1791
+ this.dom.loadingDiv.style("display", "none");
1792
+ throw e;
1793
+ }
1794
+ }
1795
+ this.resetInteractions();
1796
+ }
1797
+ showNoMatchingDataMessage() {
1798
+ this.forcedSampleCount = 0;
1799
+ this.dom.svg.style("opacity", 1e-3).style("display", "none");
1800
+ if (this.termOrder && this.dimensions) this.controlsRenderer.main({ sampleCount: 0 });
1801
+ this.dom.loadingDiv.html("");
1802
+ const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
1803
+ div.append("div").style("margin", "5px 10px").html("No matching cohort sample data for the current gene list.");
1804
+ if (this.settings.matrix.showHints?.includes("genesetEdit")) {
1805
+ const div1 = div.append("div").style("margin", "5px 10px");
1806
+ div1.append("span").html("You may change the selected cohort,");
1807
+ if (this.config.legendGrpFilter?.lst.length || this.config.legendValueFilter?.lst.length) {
1808
+ const cnvBtn = this.controlsRenderer.btns.filter((d) => d.label == "CNV")?.node();
1809
+ if (cnvBtn) {
1810
+ div1.append("br");
1811
+ div1.append("span").html("show hidden ");
1812
+ div1.append("span").html("CNV").style("cursor", "pointer").style("text-decoration", "underline").on("click", () => {
1813
+ cnvBtn.click();
1814
+ });
1815
+ }
1816
+ const mutationBtn = this.controlsRenderer.btns.filter((d) => d.label == "Mutation")?.node();
1817
+ if (cnvBtn && mutationBtn) div1.append("span").html(" or ");
1818
+ if (mutationBtn) {
1819
+ div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Mutation").on("click", () => {
1820
+ mutationBtn.click();
1821
+ });
1822
+ }
1823
+ if (cnvBtn || mutationBtn) div1.append("span").html(" data,");
1824
+ }
1825
+ div1.append("br");
1826
+ div1.append("span").html("or edit the gene list from the ");
1827
+ div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
1828
+ const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
1829
+ const i = setInterval(() => {
1830
+ const editBtn = this.app.tip.d.selectAll("button").filter(function() {
1831
+ return this.innerHTML == "Edit Group";
1832
+ }).node();
1833
+ if (editBtn) {
1834
+ editBtn.click();
1835
+ clearInterval(i);
1836
+ }
1837
+ }, 100);
1838
+ });
1839
+ }
1840
+ this.dom.svg.style("display", "none");
1841
+ }
1842
+ mayDisplayCohortMessage() {
1843
+ const msg = deepEqual(this.state.filter0, this.prevFilter0) ? "" : "The gene list is persisted across cohorts.";
1844
+ if (msg) {
1845
+ this.dom.loadingDiv.html("");
1846
+ const div = this.dom.loadingDiv.append("div").style("display", "inline-block").style("text-align", "center").style("position", "relative").style("left", "-150px");
1847
+ div.append("div").html(msg);
1848
+ if (this.settings.matrix.showHints?.includes("genesetEdit")) {
1849
+ const div1 = div.append("div");
1850
+ div1.append("span").html(" You may edit the gene list from the ");
1851
+ div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
1852
+ const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
1853
+ const i = setInterval(() => {
1854
+ const editBtn = this.app.tip.d.selectAll("button").filter(function() {
1855
+ return this.innerHTML == "Edit Group";
1856
+ }).node();
1857
+ if (editBtn) {
1858
+ editBtn.click();
1859
+ clearInterval(i);
1860
+ }
1861
+ }, 100);
1862
+ });
1863
+ }
1864
+ }
1865
+ this.dom.loadingDiv.style("display", msg ? "" : "none");
1866
+ }
1867
+ sampleKey(s) {
1868
+ return s.row.sample;
1869
+ }
1870
+ sampleLabel(s) {
1871
+ return s.label || s.row._ref_.label || "";
1872
+ }
1873
+ sampleGrpKey(s) {
1874
+ return s.grp.name;
1875
+ }
1876
+ sampleGrpLabel(s) {
1877
+ return s.grp.label || s.grp.name || "";
1878
+ }
1879
+ termKey(t) {
1880
+ return t.tw.$id;
1881
+ }
1882
+ termLabel(t) {
1883
+ return t.label;
1884
+ }
1885
+ termGrpKey(t) {
1886
+ return t.grp.name;
1887
+ }
1888
+ termGrpLabel(t) {
1889
+ return t.grp.label || t.grp.name || [{ text: "\u22EE", dx: 3, cls: "sjpp-exclude-svg-download" }];
1890
+ }
1891
+ destroy() {
1892
+ select_default(window).on(`resize.sjpp-${self.id}`, null);
1893
+ }
1894
+ };
1895
+ for (const m of [matrix_data_exports, matrix_groups_exports, matrix_layout_exports, matrix_serieses_exports, matrix_legend_exports]) {
1896
+ for (const methodName in m) {
1897
+ Matrix.prototype[methodName] = m[methodName];
1898
+ }
1899
+ }
1900
+ var matrixInit = getCompInit(Matrix);
1901
+ var componentInit = matrixInit;
1902
+ function makeChartBtnMenu(holder, chartsInstance) {
1903
+ chartsInstance.dom.tip.clear();
1904
+ const menuDiv = holder.append("div");
1905
+ if (chartsInstance.state.termdbConfig.matrixplots) {
1906
+ for (const plot of chartsInstance.state.termdbConfig.matrixplots) {
1907
+ menuDiv.append("button").style("margin", "10px").style("padding", "10px 15px").style("border-radius", "20px").style("border-color", "#ededed").style("display", "inline-block").text(plot.name).on("click", async () => {
1908
+ chartsInstance.dom.tip.hide();
1909
+ const config = await chartsInstance.app.vocabApi.getMatrixByName(plot.name);
1910
+ config.preBuiltPlotTitle = plot.name;
1911
+ chartsInstance.app.dispatch({
1912
+ type: "plot_create",
1913
+ config
1914
+ });
1915
+ });
1916
+ }
1917
+ }
1918
+ const chart = {
1919
+ clickTo: chartsInstance.showTree_selectlst,
1920
+ chartType: "matrix",
1921
+ usecase: { target: "matrix", detail: "termgroups" },
1922
+ processSelection: (lst) => {
1923
+ return [
1924
+ {
1925
+ name: "",
1926
+ lst: lst.map((term) => {
1927
+ return { term };
1928
+ })
1929
+ }
1930
+ ];
1931
+ }
1932
+ };
1933
+ chartsInstance.showTree_selectlst(chart);
1934
+ }
1935
+
1936
+ export {
1937
+ Matrix,
1938
+ matrixInit,
1939
+ componentInit,
1940
+ makeChartBtnMenu
1941
+ };
1942
+ //# sourceMappingURL=chunk-G5S4R77D.js.map