@sjcrh/proteinpaint-client 2.206.0 → 2.207.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 (876) hide show
  1. package/dist/2dmaf-5JKVMAPO.js +1367 -0
  2. package/dist/AggMatrixInput-254IEQYB.js +277 -0
  3. package/dist/AggregateMatrix-U3NZSNL6.js +41 -0
  4. package/dist/AppHeader-DK2GIYYT.js +830 -0
  5. package/dist/BoxPlot-POSL2ZLS.js +1211 -0
  6. package/dist/CorrelationVolcano-YZ6ACP5D.js +614 -0
  7. package/dist/Cuminc-SJVFK4VX.js +1219 -0
  8. package/dist/DE-RJMZGJ5Y.js +89 -0
  9. package/dist/DEinput-H25PS4QT.js +499 -0
  10. package/dist/DM-A3UCF7HM.js +90 -0
  11. package/dist/DifferentialAnalysis-4J75UMV7.js +237 -0
  12. package/dist/Disco-IXGGKIEI.js +3389 -0
  13. package/dist/Disco.UI-X3JG4ERN.js +243 -0
  14. package/dist/DmrPlot-SJWHTSMB.js +637 -0
  15. package/dist/GB-KPF7BZFQ.js +1391 -0
  16. package/dist/GSEA-BMVTJ6B7.js +851 -0
  17. package/dist/GeneExpInput-3KFGQEAY.js +42 -0
  18. package/dist/Geomap-R7Q3T3DZ.js +84 -0
  19. package/dist/HicApp-BTFHMXQE.js +2245 -0
  20. package/dist/IDCViewer-RVVWT7MH.js +10812 -0
  21. package/dist/NumBinaryEditor-V3YCDNRR.js +279 -0
  22. package/dist/NumBinaryEditor.unit.spec-IVY27SEV.js +312 -0
  23. package/dist/NumContEditor-FSHA32UV.js +105 -0
  24. package/dist/NumContEditor.unit.spec-5IFB4GXP.js +164 -0
  25. package/dist/NumCustomBinEditor-63YQZU52.js +33 -0
  26. package/dist/NumCustomBinEditor.unit.spec-BJLGQQ4R.js +397 -0
  27. package/dist/NumDiscreteEditor-K4AZ6UQF.js +170 -0
  28. package/dist/NumDiscreteEditor.unit.spec-AHL7QA4N.js +233 -0
  29. package/dist/NumRegularBinEditor-5N3PWOIQ.js +33 -0
  30. package/dist/NumRegularBinEditor.unit.spec-SYPTBY5A.js +278 -0
  31. package/dist/NumSplineEditor-ZLB5MWYK.js +210 -0
  32. package/dist/NumSplineEditor.unit.spec-ZLAVLV7E.js +224 -0
  33. package/dist/NumericDensity-K4CTMN2G.js +33 -0
  34. package/dist/NumericDensity.unit.spec-BLWEQHZC.js +418 -0
  35. package/dist/NumericHandler-3KACLCOL.js +34 -0
  36. package/dist/NumericHandler.unit.spec-4P7HBSCB.js +214 -0
  37. package/dist/ProteomeInput-JZ6MKE7L.js +388 -0
  38. package/dist/Regression-QBR2VYHT.js +1416 -0
  39. package/dist/RunChart2-UKN6M5M5.js +749 -0
  40. package/dist/SC-COHN7DMJ.js +1107 -0
  41. package/dist/Violin-SDUSKIEX.js +1082 -0
  42. package/dist/Volcano-KON4MOIM.js +1649 -0
  43. package/dist/Wsi-SJC56PRR.js +609 -0
  44. package/dist/Wsi-SJC56PRR.js.map +7 -0
  45. package/dist/adSandbox-L6ZHCJJO.js +33 -0
  46. package/dist/animatedBubbleChart-IQBJBHPP.js +547 -0
  47. package/dist/app-2NSQK3GQ.js +32 -0
  48. package/dist/app-GMYTOBRB.js +42 -0
  49. package/dist/app.js +13 -13
  50. package/dist/bam-B4ZPOZTX.js +876 -0
  51. package/dist/barchart-WF5VWDCV.js +42 -0
  52. package/dist/barchart2-3HGZ5Q2B.js +309 -0
  53. package/dist/block-A3I2INBA.js +6249 -0
  54. package/dist/block.init-YUHPWTMF.js +33 -0
  55. package/dist/block.mds.expressionrank-TGAZQTVW.js +354 -0
  56. package/dist/block.mds.geneboxplot-GPIQWNWB.js +823 -0
  57. package/dist/block.mds.junction-YREJCNYJ.js +1539 -0
  58. package/dist/block.mds.svcnv-2ZDNI2XE.js +6796 -0
  59. package/dist/block.svg-2BRKZJAO.js +159 -0
  60. package/dist/block.tk.aicheck-ZDTQFF7Q.js +278 -0
  61. package/dist/block.tk.ase-JAIOSXZO.js +360 -0
  62. package/dist/block.tk.bam-V27YBYQG.js +1901 -0
  63. package/dist/block.tk.bedgraphdot-QFJNEYKU.js +379 -0
  64. package/dist/block.tk.bigwig.ui-X77XUZLB.js +206 -0
  65. package/dist/block.tk.hicstraw-OCZXKJOV.js +818 -0
  66. package/dist/block.tk.junction-2KI3SPXW.js +2358 -0
  67. package/dist/block.tk.junction.textmatrixui-G4OHYDVZ.js +194 -0
  68. package/dist/block.tk.ld-LM4A3V7Z.js +94 -0
  69. package/dist/block.tk.menu-GL6W3MKK.js +1024 -0
  70. package/dist/block.tk.pgv-T3YW5EGQ.js +938 -0
  71. package/dist/brainImaging-6WLB6DWG.js +555 -0
  72. package/dist/brainImaging-6WLB6DWG.js.map +7 -0
  73. package/dist/brainRegions-EVHXPPL5.js +217 -0
  74. package/dist/bubbleHeatmap-WZX7MLQF.js +378 -0
  75. package/dist/cellTypeBubbleHeatmap-3XY3U7EO.js +278 -0
  76. package/dist/chunk-26VFFI2G.js +1278 -0
  77. package/dist/chunk-26VFFI2G.js.map +7 -0
  78. package/dist/chunk-2XOBD4ZZ.js +102 -0
  79. package/dist/chunk-5X6CDEMT.js +55 -0
  80. package/dist/chunk-5X6CDEMT.js.map +7 -0
  81. package/dist/chunk-6BG5G6SC.js +397 -0
  82. package/dist/chunk-6EXPDXXV.js +464 -0
  83. package/dist/chunk-6KCG2NFA.js +49 -0
  84. package/dist/chunk-6KIZ3Q5X.js +272 -0
  85. package/dist/chunk-6MDL3FYD.js +141 -0
  86. package/dist/chunk-7CJKL3LK.js +339 -0
  87. package/dist/chunk-7T6G6BZF.js +50 -0
  88. package/dist/chunk-7WL4LROG.js +1986 -0
  89. package/dist/chunk-7WWTWWB7.js +158 -0
  90. package/dist/chunk-AEHBMP7F.js +550 -0
  91. package/dist/chunk-B2XYBFGT.js +299 -0
  92. package/dist/chunk-BH55L7RJ.js +480 -0
  93. package/dist/chunk-BWE6BZK3.js +240 -0
  94. package/dist/chunk-BXM6PRTG.js +274 -0
  95. package/dist/chunk-CCYVGZGI.js +178 -0
  96. package/dist/chunk-DRKC4J62.js +339 -0
  97. package/dist/chunk-DX5WQOJU.js +1339 -0
  98. package/dist/chunk-E6FOW4UK.js +562 -0
  99. package/dist/chunk-ESXQDVDP.js +518 -0
  100. package/dist/chunk-FIN6XVVG.js +34 -0
  101. package/dist/chunk-GH5EQCLQ.js +379 -0
  102. package/dist/chunk-GIBTGABW.js +263 -0
  103. package/dist/chunk-GJ6JKPEY.js +626 -0
  104. package/dist/chunk-GKB4YPSV.js +14 -0
  105. package/dist/chunk-GRVO7RW4.js +2139 -0
  106. package/dist/chunk-GRVO7RW4.js.map +7 -0
  107. package/dist/chunk-HZ3TCGBK.js +402 -0
  108. package/dist/chunk-HZ3TCGBK.js.map +7 -0
  109. package/dist/chunk-IGJOH5LV.js +276 -0
  110. package/dist/chunk-IUT72AWA.js +55 -0
  111. package/dist/chunk-IYCSCSRS.js +1720 -0
  112. package/dist/chunk-J2O74K2I.js +129 -0
  113. package/dist/chunk-JO5SX7RA.js +176 -0
  114. package/dist/chunk-JV5AGMUC.js +123 -0
  115. package/dist/chunk-KUHCBPKU.js +446 -0
  116. package/dist/chunk-LWOWC4PF.js +203 -0
  117. package/dist/chunk-M3OUBH5W.js +294 -0
  118. package/dist/chunk-MZ6UOWXO.js +2784 -0
  119. package/dist/chunk-NQDF3U2C.js +24607 -0
  120. package/dist/chunk-NQDF3U2C.js.map +7 -0
  121. package/dist/chunk-P7EXGD5F.js +281 -0
  122. package/dist/chunk-QJQUSRGP.js +134 -0
  123. package/dist/chunk-RPKZLEY7.js +170 -0
  124. package/dist/chunk-RRGGHEA4.js +783 -0
  125. package/dist/chunk-RRGGHEA4.js.map +7 -0
  126. package/dist/chunk-S4XD4GGN.js +6360 -0
  127. package/dist/chunk-SKS6VDD4.js +56 -0
  128. package/dist/chunk-SPZQIZLJ.js +70 -0
  129. package/dist/chunk-SR35T6VI.js +197 -0
  130. package/dist/chunk-TEMNQTG3.js +194 -0
  131. package/dist/chunk-UG6RDT65.js +5071 -0
  132. package/dist/chunk-UO5AU7IW.js +216 -0
  133. package/dist/chunk-UO5AU7IW.js.map +7 -0
  134. package/dist/chunk-UTOWZWZ5.js +243 -0
  135. package/dist/chunk-V26BRUAV.js +677 -0
  136. package/dist/chunk-VRINIB6B.js +1233 -0
  137. package/dist/chunk-VVJMPICY.js +217 -0
  138. package/dist/chunk-VZKDGKCP.js +103 -0
  139. package/dist/chunk-WCAWZJ6M.js +4311 -0
  140. package/dist/chunk-XCN3FKLF.js +2676 -0
  141. package/dist/chunk-XCN3FKLF.js.map +7 -0
  142. package/dist/chunk-XD2JMWMR.js +54 -0
  143. package/dist/chunk-XERHX42E.js +98 -0
  144. package/dist/chunk-XZXGNMNK.js +2853 -0
  145. package/dist/chunk-Y34GYPF6.js +2327 -0
  146. package/dist/chunk-YO5DWWBU.js +102 -0
  147. package/dist/chunk-Z4HZONN6.js +302 -0
  148. package/dist/cohort-ZLQA2KPW.js +70 -0
  149. package/dist/condition-SFZAHMKK.js +327 -0
  150. package/dist/controls-US3ID2ZR.js +34 -0
  151. package/dist/controls.config-Y7NGPB5K.js +34 -0
  152. package/dist/correlation-JD4FMZVF.js +95 -0
  153. package/dist/customdata.inputui-YUHO2ZSR.js +284 -0
  154. package/dist/dataDownload-4YQHUJQX.js +329 -0
  155. package/dist/databrowser.ui-4YE24U4B.js +425 -0
  156. package/dist/dictionary-LFOSXJGH.js +113 -0
  157. package/dist/dnaMethylation-2627GIZW.js +33 -0
  158. package/dist/dnaMethylation.integration.spec-HSZKXED3.js +198 -0
  159. package/dist/dofetch-7O5UTSGI.js +48 -0
  160. package/dist/e2pca-XL7F5BK3.js +344 -0
  161. package/dist/ep-35KADAYG.js +1249 -0
  162. package/dist/expclust.gdc.spec-TFJEXEAA.js +302 -0
  163. package/dist/facet-AWDU4CCU.js +519 -0
  164. package/dist/gb-UIBSH7KV.js +81 -0
  165. package/dist/geneExpClustering-VYZ5VDPL.js +244 -0
  166. package/dist/geneExpression-CNBSE3KW.js +33 -0
  167. package/dist/geneExpression-ECXW22H6.js +310 -0
  168. package/dist/geneExpression.unit.spec-SCBRU5BG.js +128 -0
  169. package/dist/geneExpression.unit.spec-SCBRU5BG.js.map +7 -0
  170. package/dist/geneORA-BQZ4XYJH.js +273 -0
  171. package/dist/geneRanking-GXRSXHIN.js +548 -0
  172. package/dist/geneVariant-Y7GASAY6.js +36 -0
  173. package/dist/geneVariant-ZVOUFF27.js +286 -0
  174. package/dist/geneVariant.integration.spec-2ATUV7NH.js +489 -0
  175. package/dist/geneVariant.integration.spec-2ATUV7NH.js.map +7 -0
  176. package/dist/genefusion.ui-CEMLY7HG.js +303 -0
  177. package/dist/geneset-HMADFO7Z.js +203 -0
  178. package/dist/genomeBrowser.spec-3U6KE3MK.js +276 -0
  179. package/dist/grin2-AJAXI4O4.js +1137 -0
  180. package/dist/grin2-CFAOAHY3.js +70 -0
  181. package/dist/hierCluster-JUJ7C7TQ.js +59 -0
  182. package/dist/hierCluster-N6B4L6FW.js +55 -0
  183. package/dist/hierCluster.config-RSSBKO6G.js +36 -0
  184. package/dist/hierCluster.integration.spec-YC6B3ID2.js +483 -0
  185. package/dist/hierCluster.interactivity-PRIWN65K.js +49 -0
  186. package/dist/hierCluster.renderers-3RHXOHZ5.js +19 -0
  187. package/dist/imagePlot-DSG4WJOG.js +156 -0
  188. package/dist/importPlot-QSWJBDWH.js +8 -0
  189. package/dist/isoformExpression-XWLMWXEK.js +35 -0
  190. package/dist/isoformExpression.unit.spec-T7VN2WPK.js +237 -0
  191. package/dist/junction-AUXJROOE.js +36 -0
  192. package/dist/junction.unit.spec-ODVQMDI5.js +182 -0
  193. package/dist/launch.adhoc-TNONPG6R.js +37 -0
  194. package/dist/leftlabel.sample-5VFAMSH5.js +258 -0
  195. package/dist/lollipop-NEDFCNJJ.js +166 -0
  196. package/dist/maf-2GO7PDOL.js +455 -0
  197. package/dist/maftimeline-UMVQGIXA.js +587 -0
  198. package/dist/matrix-74JSSVR5.js +59 -0
  199. package/dist/matrix-YARPFYCU.js +54 -0
  200. package/dist/matrix.cells-WYCIMZRW.js +26 -0
  201. package/dist/matrix.config-5SNEP3B4.js +37 -0
  202. package/dist/matrix.data-3H4GFMQK.js +23 -0
  203. package/dist/matrix.groups-FGLRK6IT.js +26 -0
  204. package/dist/matrix.integration.spec-4DQIRQQO.js +3160 -0
  205. package/dist/matrix.interactivity-GSV45F2N.js +37 -0
  206. package/dist/matrix.layout-BMH4V36B.js +39 -0
  207. package/dist/matrix.legend-5OVHDE6Q.js +20 -0
  208. package/dist/matrix.renderers-DENF4NZ6.js +34 -0
  209. package/dist/matrix.serieses-D7XPW5L4.js +19 -0
  210. package/dist/matrix.sort-XQEOXSEG.js +26 -0
  211. package/dist/matrix.sort.unit.spec-HGII2SCC.js +468 -0
  212. package/dist/matrix.sorterUi.unit.spec-TNRATMUJ.js +338 -0
  213. package/dist/matrix.unit.spec-LBMDCANX.js +150 -0
  214. package/dist/mavb-UQFSJN4W.js +727 -0
  215. package/dist/mds.fimo-TXHCH6LW.js +513 -0
  216. package/dist/mds.samplescatterplot-G6IJO3I7.js +1545 -0
  217. package/dist/mds.survivalplot-XFB2EL23.js +477 -0
  218. package/dist/multivalue-GLE6G3ZO.js +83 -0
  219. package/dist/numericDictTermCluster-YTAMQDWZ.js +63 -0
  220. package/dist/oncomatrix-P6QVGFAR.js +290 -0
  221. package/dist/oncomatrix.spec-O6U52E22.js +443 -0
  222. package/dist/plot.2dvaf-VZL4SH6G.js +372 -0
  223. package/dist/plot.app-VYMIF4VU.js +36 -0
  224. package/dist/plot.barplot-I6S266DG.js +97 -0
  225. package/dist/plot.boxplot-3CHI4AA2.js +146 -0
  226. package/dist/plot.brainImaging-LRQYKMLQ.js +51 -0
  227. package/dist/plot.brainImaging-LRQYKMLQ.js.map +7 -0
  228. package/dist/plot.disco-NCTBMD2W.js +99 -0
  229. package/dist/plot.ssgq-CL3TGZ55.js +134 -0
  230. package/dist/plot.vaf2cov-5RG3OD6G.js +253 -0
  231. package/dist/polar2-ABI2UJNC.js +232 -0
  232. package/dist/profileForms-Z4Y55OQY.js +941 -0
  233. package/dist/profilePlot-LMDZVOJK.js +49 -0
  234. package/dist/proteinView-UYMM76WH.js +1357 -0
  235. package/dist/proteomeCohortCompare-5GFBARC5.js +912 -0
  236. package/dist/pseudbulk.unit.spec-JJ2I4KPM.js +106 -0
  237. package/dist/pseudbulk.unit.spec-JJ2I4KPM.js.map +7 -0
  238. package/dist/pseudobulk-Y7HWDLIV.js +37 -0
  239. package/dist/qualitative-H72GEWTZ.js +38 -0
  240. package/dist/radar2-OXUS5DLT.js +327 -0
  241. package/dist/radarFacility2-VOUNCM6A.js +335 -0
  242. package/dist/render-KDLTAQVA.js +33 -0
  243. package/dist/report-PBRD2KBN.js +217 -0
  244. package/dist/sampleView-7HWFZCHE.js +43 -0
  245. package/dist/samplelst-3ZWV4XZQ.js +106 -0
  246. package/dist/samplematrix-YRJUNYQ6.js +2193 -0
  247. package/dist/sc-N4YM3GZI.js +81 -0
  248. package/dist/scatter-KBY6VF76.js +88 -0
  249. package/dist/scatter-TBGEXELG.js +880 -0
  250. package/dist/selectGenomeWithTklst-25WQQ42Y.js +129 -0
  251. package/dist/singleCellCellType-35TDG2YM.js +33 -0
  252. package/dist/singleCellCellType.unit.spec-G5AVNAUK.js +154 -0
  253. package/dist/singleCellGeneExpression-7AHJYFWJ.js +33 -0
  254. package/dist/singleCellGeneExpression.unit.spec-LGZMOVTB.js +148 -0
  255. package/dist/singleCellPlot-AU5K4M7J.js +49 -0
  256. package/dist/singlecell-HNTYJLJ4.js +81 -0
  257. package/dist/singlecell-J4FIZPZF.js +1566 -0
  258. package/dist/snp-OXDVSFGB.js +33 -0
  259. package/dist/snp.unit.spec-B7LCCGWA.js +171 -0
  260. package/dist/snplocus-4VWXVQGS.js +203 -0
  261. package/dist/spliceevent.a53ss.diagram-YS32IFVI.js +146 -0
  262. package/dist/spliceevent.exonskip.diagram-PHFR53DH.js +278 -0
  263. package/dist/spliceevent.noeventdiagram-FFHMDEBQ.js +455 -0
  264. package/dist/ssGSEA-OYEIDW4M.js +33 -0
  265. package/dist/ssGSEA.unit.spec-SY5XFF45.js +83 -0
  266. package/dist/stattable-JCH2WPS6.js +117 -0
  267. package/dist/studyCatalog-FDB7D26M.js +414 -0
  268. package/dist/summarizeCnvGeneexp-KNW23YAI.js +158 -0
  269. package/dist/summarizeGeneexpSurvival-H57GGCXL.js +105 -0
  270. package/dist/summarizeMutationCnv-RBBDE27N.js +159 -0
  271. package/dist/summarizeMutationDiagnosis-R6YWQ4LQ.js +35 -0
  272. package/dist/summarizeMutationSurvival-Q6WKBNPD.js +99 -0
  273. package/dist/summary-AL3GEK3G.js +42 -0
  274. package/dist/summary.integration.spec-IFGDIEMW.js +409 -0
  275. package/dist/summaryInput-TYIKTBO3.js +242 -0
  276. package/dist/sunburst-4PA3CO44.js +278 -0
  277. package/dist/survival-GT4CSHX2.js +53 -0
  278. package/dist/survival-HXJCMNCG.js +1248 -0
  279. package/dist/survival.integration.spec-C7OJC4AG.js +613 -0
  280. package/dist/svgraph-MZCOBO4J.js +1382 -0
  281. package/dist/svmr-FQPAAQHB.js +3837 -0
  282. package/dist/table-FKLXVILD.js +197 -0
  283. package/dist/termCollection-QDGR6J36.js +33 -0
  284. package/dist/termCollection-Y7CIC6GQ.js +252 -0
  285. package/dist/termCollection.unit.spec-PQMFOWLF.js +299 -0
  286. package/dist/termCollectionFractionSelection-2O32HROA.js +42 -0
  287. package/dist/termCollectionFractionSelection.unit.spec-WXGCO2RF.js +188 -0
  288. package/dist/tk-IBYM4FZC.js +41 -0
  289. package/dist/tk-QJNN6WK2.js +1121 -0
  290. package/dist/tp.ui-RI7S54LI.js +1454 -0
  291. package/dist/tvs.dt-7CIYMLQF.js +34 -0
  292. package/dist/tvs.dtcnv.categorical-D3W6R6BM.js +35 -0
  293. package/dist/tvs.dtcnv.continuous-4WS2TN3K.js +67 -0
  294. package/dist/tvs.dtfusion-NUUFIGG4.js +35 -0
  295. package/dist/tvs.dtitd-UCSEWRNJ.js +35 -0
  296. package/dist/tvs.dtsnvindel-J4S7KU3Y.js +35 -0
  297. package/dist/tvs.dtsv-4OPYIWB6.js +35 -0
  298. package/dist/tvs.samplelst-RUZYZ2FF.js +98 -0
  299. package/dist/tvs.termCollection-D5X2HNWO.js +124 -0
  300. package/dist/vocabulary-4L3RHQFQ.js +36 -0
  301. package/dist/vocabulary-4L3RHQFQ.js.map +7 -0
  302. package/dist/wsi.direct-FNCUUBEJ.js +8343 -0
  303. package/dist/wsi.direct-FNCUUBEJ.js.map +7 -0
  304. package/package.json +3 -3
  305. package/dist/2dmaf-5OYM4MXA.js +0 -1367
  306. package/dist/AggMatrixInput-4VTI4Y6E.js +0 -277
  307. package/dist/AggregateMatrix-K7SGNO63.js +0 -41
  308. package/dist/AppHeader-WU6TO2OZ.js +0 -830
  309. package/dist/BoxPlot-OW7U3XTF.js +0 -1211
  310. package/dist/CorrelationVolcano-B3JTTZHF.js +0 -614
  311. package/dist/Cuminc-AJEXWRU2.js +0 -1219
  312. package/dist/DE-2J7DSRPC.js +0 -89
  313. package/dist/DEinput-I7JWNOSD.js +0 -499
  314. package/dist/DM-NQ46YPGF.js +0 -90
  315. package/dist/DifferentialAnalysis-BFCQBX5J.js +0 -237
  316. package/dist/Disco-ZJLVQRTC.js +0 -3389
  317. package/dist/Disco.UI-AEDACXW2.js +0 -243
  318. package/dist/DmrPlot-QMRXAOM3.js +0 -637
  319. package/dist/GB-MFU2UJ22.js +0 -1391
  320. package/dist/GSEA-E3NHU22A.js +0 -851
  321. package/dist/GeneExpInput-MIUNSOPY.js +0 -362
  322. package/dist/GeneExpInput-MIUNSOPY.js.map +0 -7
  323. package/dist/Geomap-HAJG3STN.js +0 -84
  324. package/dist/HicApp-ECFFIRWI.js +0 -2245
  325. package/dist/IDCViewer-TNSD3U2V.js +0 -10812
  326. package/dist/NumBinaryEditor-CNBGZ6WY.js +0 -279
  327. package/dist/NumBinaryEditor.unit.spec-SKFDALF3.js +0 -312
  328. package/dist/NumContEditor-7ID2U7JL.js +0 -105
  329. package/dist/NumContEditor.unit.spec-XHSQSAWK.js +0 -164
  330. package/dist/NumCustomBinEditor-PAIPRJPO.js +0 -33
  331. package/dist/NumCustomBinEditor.unit.spec-QYVZMMHV.js +0 -397
  332. package/dist/NumDiscreteEditor-K2NZZQTH.js +0 -170
  333. package/dist/NumDiscreteEditor.unit.spec-3CG5VEQL.js +0 -233
  334. package/dist/NumRegularBinEditor-EOVZ22TP.js +0 -33
  335. package/dist/NumRegularBinEditor.unit.spec-FHTVH5FH.js +0 -278
  336. package/dist/NumSplineEditor-N3REMJUC.js +0 -210
  337. package/dist/NumSplineEditor.unit.spec-DZCP35GL.js +0 -224
  338. package/dist/NumericDensity-42MWVI2S.js +0 -33
  339. package/dist/NumericDensity.unit.spec-T2HHSQON.js +0 -418
  340. package/dist/NumericHandler-5XU3SSPD.js +0 -34
  341. package/dist/NumericHandler.unit.spec-3F23KSAQ.js +0 -214
  342. package/dist/ProteomeInput-UN2BUNRO.js +0 -388
  343. package/dist/Regression-HWLJENA5.js +0 -1416
  344. package/dist/RunChart2-YO55WE4M.js +0 -749
  345. package/dist/SC-LEDJ4DQR.js +0 -1107
  346. package/dist/Violin-E6PDJZ2B.js +0 -1082
  347. package/dist/Volcano-XJTBWYUK.js +0 -1649
  348. package/dist/Wsi-S675CYTW.js +0 -431
  349. package/dist/Wsi-S675CYTW.js.map +0 -7
  350. package/dist/adSandbox-ZJQ5ZW2T.js +0 -33
  351. package/dist/animatedBubbleChart-LRUS7W36.js +0 -547
  352. package/dist/app-7Q3QIBU4.js +0 -32
  353. package/dist/app-PKSI4MV5.js +0 -42
  354. package/dist/bam-X5JH5ZT7.js +0 -876
  355. package/dist/barchart-UT6J4L2N.js +0 -42
  356. package/dist/barchart2-ZG5QJO3C.js +0 -309
  357. package/dist/block-TC466NGW.js +0 -6249
  358. package/dist/block.init-CIBNSYAC.js +0 -33
  359. package/dist/block.mds.expressionrank-EY5PCQCK.js +0 -354
  360. package/dist/block.mds.geneboxplot-R6AOMHO5.js +0 -823
  361. package/dist/block.mds.junction-JMV6FNYC.js +0 -1539
  362. package/dist/block.mds.svcnv-IHTV3QYG.js +0 -6796
  363. package/dist/block.svg-NTFLVQAQ.js +0 -159
  364. package/dist/block.tk.aicheck-FYPL32Y4.js +0 -278
  365. package/dist/block.tk.ase-FWCB6VBO.js +0 -360
  366. package/dist/block.tk.bam-Q5UFUABN.js +0 -1901
  367. package/dist/block.tk.bedgraphdot-KBI3GFDM.js +0 -379
  368. package/dist/block.tk.bigwig.ui-KXNFX7G7.js +0 -206
  369. package/dist/block.tk.hicstraw-MQBH3YAJ.js +0 -818
  370. package/dist/block.tk.junction-EBTVXLJH.js +0 -2358
  371. package/dist/block.tk.junction.textmatrixui-ETYLCP2O.js +0 -194
  372. package/dist/block.tk.ld-NLB6L6WQ.js +0 -94
  373. package/dist/block.tk.menu-PJLCOXVJ.js +0 -1024
  374. package/dist/block.tk.pgv-JOIQVWL2.js +0 -938
  375. package/dist/brainImaging-SPRC3QFB.js +0 -515
  376. package/dist/brainImaging-SPRC3QFB.js.map +0 -7
  377. package/dist/brainRegions-LGQGRWG7.js +0 -217
  378. package/dist/bubbleHeatmap-CFTZ5RXH.js +0 -378
  379. package/dist/cellTypeBubbleHeatmap-DXPLFT5U.js +0 -278
  380. package/dist/chunk-2BQ572SL.js +0 -102
  381. package/dist/chunk-2DQIQYY3.js +0 -103
  382. package/dist/chunk-2POQWEK6.js +0 -134
  383. package/dist/chunk-2SQEVMAL.js +0 -446
  384. package/dist/chunk-37HTZ6IG.js +0 -158
  385. package/dist/chunk-452765PG.js +0 -2676
  386. package/dist/chunk-452765PG.js.map +0 -7
  387. package/dist/chunk-54KC7DAB.js +0 -178
  388. package/dist/chunk-5D5YTFI2.js +0 -783
  389. package/dist/chunk-5D5YTFI2.js.map +0 -7
  390. package/dist/chunk-5DBW3WLK.js +0 -129
  391. package/dist/chunk-5ILEFNXJ.js +0 -402
  392. package/dist/chunk-5ILEFNXJ.js.map +0 -7
  393. package/dist/chunk-7R7P6VMT.js +0 -243
  394. package/dist/chunk-C5TU4AYP.js +0 -281
  395. package/dist/chunk-DBQA6QIJ.js +0 -4311
  396. package/dist/chunk-DHNET3P4.js +0 -42
  397. package/dist/chunk-DHNET3P4.js.map +0 -7
  398. package/dist/chunk-EPWGUWQP.js +0 -34
  399. package/dist/chunk-F3EYPES3.js +0 -1339
  400. package/dist/chunk-FTLCINDC.js +0 -294
  401. package/dist/chunk-GT6WJUJY.js +0 -480
  402. package/dist/chunk-GWCK5QGV.js +0 -70
  403. package/dist/chunk-HJSGHFJ6.js +0 -464
  404. package/dist/chunk-HS6BTSFX.js +0 -49
  405. package/dist/chunk-IB5TKNG5.js +0 -5071
  406. package/dist/chunk-IIMTOPH3.js +0 -54
  407. package/dist/chunk-JAXN3Q3K.js +0 -272
  408. package/dist/chunk-K6PYTAXW.js +0 -2853
  409. package/dist/chunk-KIRZXPMB.js +0 -141
  410. package/dist/chunk-KT4OZVO3.js +0 -1275
  411. package/dist/chunk-KT4OZVO3.js.map +0 -7
  412. package/dist/chunk-LB7NENEB.js +0 -123
  413. package/dist/chunk-LDWMVZYF.js +0 -562
  414. package/dist/chunk-M4XXKTH2.js +0 -339
  415. package/dist/chunk-ME7OF3CS.js +0 -176
  416. package/dist/chunk-N2CXLMNX.js +0 -626
  417. package/dist/chunk-N7TD7N7D.js +0 -518
  418. package/dist/chunk-NBX6TT5C.js +0 -299
  419. package/dist/chunk-NLR7JIMM.js +0 -1986
  420. package/dist/chunk-NSRGYBDM.js +0 -339
  421. package/dist/chunk-NVS7KYYI.js +0 -379
  422. package/dist/chunk-OVPEMVXT.js +0 -397
  423. package/dist/chunk-OXWLQQXL.js +0 -274
  424. package/dist/chunk-Q5SK3U2T.js +0 -24163
  425. package/dist/chunk-Q5SK3U2T.js.map +0 -7
  426. package/dist/chunk-QGGSYEVJ.js +0 -55
  427. package/dist/chunk-QLEVONLD.js +0 -50
  428. package/dist/chunk-RFW5BRIZ.js +0 -1233
  429. package/dist/chunk-RNWHB5DI.js +0 -98
  430. package/dist/chunk-RPDVFM7E.js +0 -2133
  431. package/dist/chunk-RPDVFM7E.js.map +0 -7
  432. package/dist/chunk-RUHLDUOT.js +0 -203
  433. package/dist/chunk-RV34WFGZ.js +0 -197
  434. package/dist/chunk-SDVE5ECI.js +0 -6360
  435. package/dist/chunk-SWO6DZTG.js +0 -170
  436. package/dist/chunk-TDM3645O.js +0 -2327
  437. package/dist/chunk-VVO3R5JV.js +0 -217
  438. package/dist/chunk-VYEU6Y35.js +0 -14
  439. package/dist/chunk-WGXC6IEF.js +0 -263
  440. package/dist/chunk-WPDM57B5.js +0 -1720
  441. package/dist/chunk-WS7WKS2B.js +0 -2784
  442. package/dist/chunk-X63NSV33.js +0 -276
  443. package/dist/chunk-XXNRSSBR.js +0 -56
  444. package/dist/chunk-YD6UGDFI.js +0 -102
  445. package/dist/chunk-YRIYDFNU.js +0 -160
  446. package/dist/chunk-YRIYDFNU.js.map +0 -7
  447. package/dist/chunk-YY5WQQ3J.js +0 -194
  448. package/dist/chunk-Z4SM3FBK.js +0 -302
  449. package/dist/chunk-ZEYEIUEZ.js +0 -240
  450. package/dist/chunk-ZLYTDHQP.js +0 -677
  451. package/dist/chunk-ZWCVRVV4.js +0 -550
  452. package/dist/cohort-FZNMFWOX.js +0 -70
  453. package/dist/condition-AJJLFCBQ.js +0 -327
  454. package/dist/controls-SZOLV37V.js +0 -34
  455. package/dist/controls.config-CVP75WFA.js +0 -34
  456. package/dist/correlation-UFJFQHQ3.js +0 -95
  457. package/dist/customdata.inputui-HOVA4A6O.js +0 -284
  458. package/dist/dataDownload-VTUG4IOK.js +0 -329
  459. package/dist/databrowser.ui-O5S4Y4EK.js +0 -425
  460. package/dist/dictionary-L2UNNNP7.js +0 -113
  461. package/dist/dnaMethylation-B4SWZI4O.js +0 -33
  462. package/dist/dnaMethylation.integration.spec-ANJAMNYJ.js +0 -198
  463. package/dist/dofetch-F5XSHQIS.js +0 -48
  464. package/dist/e2pca-66ARIMKL.js +0 -344
  465. package/dist/ep-OFGJYVUY.js +0 -1249
  466. package/dist/expclust.gdc.spec-22RXQTTP.js +0 -302
  467. package/dist/facet-GVZQ3RPN.js +0 -519
  468. package/dist/gb-HEPGVYEK.js +0 -81
  469. package/dist/geneExpClustering-3NU2U422.js +0 -244
  470. package/dist/geneExpression-FXQ4L2J2.js +0 -310
  471. package/dist/geneExpression-XYVYJJA5.js +0 -33
  472. package/dist/geneExpression.unit.spec-K3FIRSNK.js +0 -99
  473. package/dist/geneExpression.unit.spec-K3FIRSNK.js.map +0 -7
  474. package/dist/geneORA-5M2JSDMF.js +0 -273
  475. package/dist/geneRanking-TP3R3CS3.js +0 -548
  476. package/dist/geneVariant-232EYUFJ.js +0 -36
  477. package/dist/geneVariant-BHXTPUDC.js +0 -286
  478. package/dist/geneVariant.integration.spec-ICFHVFIR.js +0 -388
  479. package/dist/geneVariant.integration.spec-ICFHVFIR.js.map +0 -7
  480. package/dist/genefusion.ui-ABRCUQFC.js +0 -303
  481. package/dist/geneset-N42FIVA6.js +0 -203
  482. package/dist/genomeBrowser.spec-5HKQKLRU.js +0 -276
  483. package/dist/grin2-H2KJYLP6.js +0 -1137
  484. package/dist/grin2-NGMTEMXF.js +0 -70
  485. package/dist/hierCluster-JU5JPLM7.js +0 -55
  486. package/dist/hierCluster-LSSH275H.js +0 -59
  487. package/dist/hierCluster.config-ILOR7GBB.js +0 -36
  488. package/dist/hierCluster.integration.spec-CNR5OJOH.js +0 -483
  489. package/dist/hierCluster.interactivity-TLEIVTFK.js +0 -49
  490. package/dist/hierCluster.renderers-P7JNIT3N.js +0 -19
  491. package/dist/imagePlot-BF67SXQR.js +0 -156
  492. package/dist/importPlot-OHXSXNZN.js +0 -8
  493. package/dist/isoformExpression-4VKHE4HA.js +0 -35
  494. package/dist/isoformExpression.unit.spec-4TVSIFG4.js +0 -237
  495. package/dist/junction-VUHORV43.js +0 -36
  496. package/dist/junction.unit.spec-KKVLYT7Q.js +0 -182
  497. package/dist/launch.adhoc-UDYMFZTQ.js +0 -37
  498. package/dist/leftlabel.sample-R5FFBWG3.js +0 -258
  499. package/dist/lollipop-3IX6ZYUN.js +0 -166
  500. package/dist/maf-42UFYSL4.js +0 -455
  501. package/dist/maftimeline-M5WYEN62.js +0 -587
  502. package/dist/matrix-CI76EDHU.js +0 -54
  503. package/dist/matrix-WJZKA6VR.js +0 -59
  504. package/dist/matrix.cells-ZFKVIPDC.js +0 -26
  505. package/dist/matrix.config-24TFHBEM.js +0 -37
  506. package/dist/matrix.data-NCGZPNWR.js +0 -23
  507. package/dist/matrix.groups-XQJTGM6M.js +0 -26
  508. package/dist/matrix.integration.spec-OGXZUDE6.js +0 -3160
  509. package/dist/matrix.interactivity-ZOOTPNSW.js +0 -37
  510. package/dist/matrix.layout-5J2YENK3.js +0 -39
  511. package/dist/matrix.legend-U36VCS46.js +0 -20
  512. package/dist/matrix.renderers-4KFE7ZVR.js +0 -34
  513. package/dist/matrix.serieses-AW7XBXLJ.js +0 -19
  514. package/dist/matrix.sort-7PMECLOE.js +0 -26
  515. package/dist/matrix.sort.unit.spec-GIA2YOTQ.js +0 -468
  516. package/dist/matrix.sorterUi.unit.spec-OPGKZZL6.js +0 -338
  517. package/dist/matrix.unit.spec-7UIVVR4T.js +0 -150
  518. package/dist/mavb-MSYUMT6W.js +0 -727
  519. package/dist/mds.fimo-OYEAQP37.js +0 -513
  520. package/dist/mds.samplescatterplot-EXISSRQQ.js +0 -1545
  521. package/dist/mds.survivalplot-SZST6BLN.js +0 -477
  522. package/dist/multivalue-YDE7L75Y.js +0 -83
  523. package/dist/numericDictTermCluster-5AKP6ICC.js +0 -63
  524. package/dist/oncomatrix-2OEIYWR6.js +0 -290
  525. package/dist/oncomatrix.spec-CXQW4JWU.js +0 -443
  526. package/dist/plot.2dvaf-LN7A3NNC.js +0 -372
  527. package/dist/plot.app-YIQOY2Z7.js +0 -36
  528. package/dist/plot.barplot-HF2J25XP.js +0 -97
  529. package/dist/plot.boxplot-YJH4L27U.js +0 -146
  530. package/dist/plot.brainImaging-PS4TRSPI.js +0 -51
  531. package/dist/plot.brainImaging-PS4TRSPI.js.map +0 -7
  532. package/dist/plot.disco-BN5RNZ6Q.js +0 -99
  533. package/dist/plot.ssgq-N2HTOIY3.js +0 -134
  534. package/dist/plot.vaf2cov-6AOHRUQ2.js +0 -253
  535. package/dist/polar2-TC5OEJRE.js +0 -232
  536. package/dist/profileForms-5WV2TSBB.js +0 -941
  537. package/dist/profilePlot-OJLLW44P.js +0 -49
  538. package/dist/proteinView-CGNAJN4S.js +0 -1357
  539. package/dist/proteomeCohortCompare-XXQGGVCF.js +0 -912
  540. package/dist/pseudbulk.unit.spec-RAYRGN6C.js +0 -86
  541. package/dist/pseudbulk.unit.spec-RAYRGN6C.js.map +0 -7
  542. package/dist/pseudobulk-ADHAYVSQ.js +0 -35
  543. package/dist/qualitative-JXEI3IYC.js +0 -38
  544. package/dist/radar2-BWTKSTT3.js +0 -327
  545. package/dist/radarFacility2-WIRSKTDG.js +0 -335
  546. package/dist/render-J7WOYBOL.js +0 -33
  547. package/dist/report-DRPCXX2B.js +0 -217
  548. package/dist/sampleView-BV6BQGGQ.js +0 -43
  549. package/dist/samplelst-ZD63EYO7.js +0 -106
  550. package/dist/samplematrix-ZZ3DVELU.js +0 -2193
  551. package/dist/sc-MUI43YTB.js +0 -81
  552. package/dist/scatter-7B44HTKN.js +0 -88
  553. package/dist/scatter-UEDVIE4Y.js +0 -880
  554. package/dist/selectGenomeWithTklst-WGOKGVZ5.js +0 -129
  555. package/dist/singleCellCellType-Z7OXK7PI.js +0 -33
  556. package/dist/singleCellCellType.unit.spec-IIOVCCJQ.js +0 -154
  557. package/dist/singleCellGeneExpression-LYZAIJ2Z.js +0 -33
  558. package/dist/singleCellGeneExpression.unit.spec-67AAWZTG.js +0 -148
  559. package/dist/singleCellPlot-TXPYQLSH.js +0 -49
  560. package/dist/singlecell-22OG6HNI.js +0 -1566
  561. package/dist/singlecell-7TBALI2S.js +0 -81
  562. package/dist/snp-3U2G3Z57.js +0 -33
  563. package/dist/snp.unit.spec-BMBBUBYD.js +0 -171
  564. package/dist/snplocus-SSVZDIQV.js +0 -203
  565. package/dist/spliceevent.a53ss.diagram-FK7CN4AU.js +0 -146
  566. package/dist/spliceevent.exonskip.diagram-EFLGV3O4.js +0 -278
  567. package/dist/spliceevent.noeventdiagram-2DYO7CCZ.js +0 -455
  568. package/dist/ssGSEA-52LWBQJP.js +0 -33
  569. package/dist/ssGSEA.unit.spec-3JV6WHUQ.js +0 -83
  570. package/dist/stattable-RLMYQ4G6.js +0 -117
  571. package/dist/studyCatalog-DKB3U7EV.js +0 -414
  572. package/dist/summarizeCnvGeneexp-QPRYAKC2.js +0 -158
  573. package/dist/summarizeGeneexpSurvival-RWVQXEKB.js +0 -105
  574. package/dist/summarizeMutationCnv-DW5F6NUJ.js +0 -159
  575. package/dist/summarizeMutationDiagnosis-5FOQ7CHI.js +0 -35
  576. package/dist/summarizeMutationSurvival-4UKB4EVO.js +0 -99
  577. package/dist/summary-TYC6QNT4.js +0 -42
  578. package/dist/summary.integration.spec-5GLJJZNM.js +0 -409
  579. package/dist/summaryInput-4IJGKW4P.js +0 -242
  580. package/dist/sunburst-G7DGATWP.js +0 -278
  581. package/dist/survival-IHM6A7LL.js +0 -1248
  582. package/dist/survival-MKNABJPU.js +0 -53
  583. package/dist/survival.integration.spec-THOKI3DL.js +0 -613
  584. package/dist/svgraph-VB7JWWR5.js +0 -1382
  585. package/dist/svmr-VLQIO2U5.js +0 -3837
  586. package/dist/table-EAXMDWOY.js +0 -197
  587. package/dist/termCollection-5LG7ICQY.js +0 -252
  588. package/dist/termCollection-SB6MWLFK.js +0 -33
  589. package/dist/termCollection.unit.spec-H5ITGTR3.js +0 -299
  590. package/dist/termCollectionFractionSelection-2XZSTDCQ.js +0 -42
  591. package/dist/termCollectionFractionSelection.unit.spec-BIO7V6KA.js +0 -188
  592. package/dist/tk-TRWYZLQ2.js +0 -1121
  593. package/dist/tk-VZI5HNSX.js +0 -41
  594. package/dist/tp.ui-J5SNNAT3.js +0 -1454
  595. package/dist/tvs.dt-6YHFJPER.js +0 -34
  596. package/dist/tvs.dtcnv.categorical-WTIE63GM.js +0 -35
  597. package/dist/tvs.dtcnv.continuous-OCMKGTF5.js +0 -67
  598. package/dist/tvs.dtfusion-CA23UNM3.js +0 -35
  599. package/dist/tvs.dtitd-VSYMR3OD.js +0 -35
  600. package/dist/tvs.dtsnvindel-YBNO3CYF.js +0 -35
  601. package/dist/tvs.dtsv-S743GBB5.js +0 -35
  602. package/dist/tvs.samplelst-XAJO4EM6.js +0 -98
  603. package/dist/tvs.termCollection-QOVJGAUC.js +0 -124
  604. package/dist/vocabulary-6EADTHP3.js +0 -36
  605. package/dist/wsi.direct-2WB2NGC5.js +0 -8184
  606. package/dist/wsi.direct-2WB2NGC5.js.map +0 -7
  607. /package/dist/{2dmaf-5OYM4MXA.js.map → 2dmaf-5JKVMAPO.js.map} +0 -0
  608. /package/dist/{AggMatrixInput-4VTI4Y6E.js.map → AggMatrixInput-254IEQYB.js.map} +0 -0
  609. /package/dist/{AggregateMatrix-K7SGNO63.js.map → AggregateMatrix-U3NZSNL6.js.map} +0 -0
  610. /package/dist/{AppHeader-WU6TO2OZ.js.map → AppHeader-DK2GIYYT.js.map} +0 -0
  611. /package/dist/{BoxPlot-OW7U3XTF.js.map → BoxPlot-POSL2ZLS.js.map} +0 -0
  612. /package/dist/{CorrelationVolcano-B3JTTZHF.js.map → CorrelationVolcano-YZ6ACP5D.js.map} +0 -0
  613. /package/dist/{Cuminc-AJEXWRU2.js.map → Cuminc-SJVFK4VX.js.map} +0 -0
  614. /package/dist/{DE-2J7DSRPC.js.map → DE-RJMZGJ5Y.js.map} +0 -0
  615. /package/dist/{DEinput-I7JWNOSD.js.map → DEinput-H25PS4QT.js.map} +0 -0
  616. /package/dist/{DM-NQ46YPGF.js.map → DM-A3UCF7HM.js.map} +0 -0
  617. /package/dist/{DifferentialAnalysis-BFCQBX5J.js.map → DifferentialAnalysis-4J75UMV7.js.map} +0 -0
  618. /package/dist/{Disco-ZJLVQRTC.js.map → Disco-IXGGKIEI.js.map} +0 -0
  619. /package/dist/{Disco.UI-AEDACXW2.js.map → Disco.UI-X3JG4ERN.js.map} +0 -0
  620. /package/dist/{DmrPlot-QMRXAOM3.js.map → DmrPlot-SJWHTSMB.js.map} +0 -0
  621. /package/dist/{GB-MFU2UJ22.js.map → GB-KPF7BZFQ.js.map} +0 -0
  622. /package/dist/{GSEA-E3NHU22A.js.map → GSEA-BMVTJ6B7.js.map} +0 -0
  623. /package/dist/{NumCustomBinEditor-PAIPRJPO.js.map → GeneExpInput-3KFGQEAY.js.map} +0 -0
  624. /package/dist/{Geomap-HAJG3STN.js.map → Geomap-R7Q3T3DZ.js.map} +0 -0
  625. /package/dist/{HicApp-ECFFIRWI.js.map → HicApp-BTFHMXQE.js.map} +0 -0
  626. /package/dist/{IDCViewer-TNSD3U2V.js.map → IDCViewer-RVVWT7MH.js.map} +0 -0
  627. /package/dist/{NumBinaryEditor-CNBGZ6WY.js.map → NumBinaryEditor-V3YCDNRR.js.map} +0 -0
  628. /package/dist/{NumBinaryEditor.unit.spec-SKFDALF3.js.map → NumBinaryEditor.unit.spec-IVY27SEV.js.map} +0 -0
  629. /package/dist/{NumContEditor-7ID2U7JL.js.map → NumContEditor-FSHA32UV.js.map} +0 -0
  630. /package/dist/{NumContEditor.unit.spec-XHSQSAWK.js.map → NumContEditor.unit.spec-5IFB4GXP.js.map} +0 -0
  631. /package/dist/{NumRegularBinEditor-EOVZ22TP.js.map → NumCustomBinEditor-63YQZU52.js.map} +0 -0
  632. /package/dist/{NumCustomBinEditor.unit.spec-QYVZMMHV.js.map → NumCustomBinEditor.unit.spec-BJLGQQ4R.js.map} +0 -0
  633. /package/dist/{NumDiscreteEditor-K2NZZQTH.js.map → NumDiscreteEditor-K4AZ6UQF.js.map} +0 -0
  634. /package/dist/{NumDiscreteEditor.unit.spec-3CG5VEQL.js.map → NumDiscreteEditor.unit.spec-AHL7QA4N.js.map} +0 -0
  635. /package/dist/{NumericDensity-42MWVI2S.js.map → NumRegularBinEditor-5N3PWOIQ.js.map} +0 -0
  636. /package/dist/{NumRegularBinEditor.unit.spec-FHTVH5FH.js.map → NumRegularBinEditor.unit.spec-SYPTBY5A.js.map} +0 -0
  637. /package/dist/{NumSplineEditor-N3REMJUC.js.map → NumSplineEditor-ZLB5MWYK.js.map} +0 -0
  638. /package/dist/{NumSplineEditor.unit.spec-DZCP35GL.js.map → NumSplineEditor.unit.spec-ZLAVLV7E.js.map} +0 -0
  639. /package/dist/{NumericHandler-5XU3SSPD.js.map → NumericDensity-K4CTMN2G.js.map} +0 -0
  640. /package/dist/{NumericDensity.unit.spec-T2HHSQON.js.map → NumericDensity.unit.spec-BLWEQHZC.js.map} +0 -0
  641. /package/dist/{adSandbox-ZJQ5ZW2T.js.map → NumericHandler-3KACLCOL.js.map} +0 -0
  642. /package/dist/{NumericHandler.unit.spec-3F23KSAQ.js.map → NumericHandler.unit.spec-4P7HBSCB.js.map} +0 -0
  643. /package/dist/{ProteomeInput-UN2BUNRO.js.map → ProteomeInput-JZ6MKE7L.js.map} +0 -0
  644. /package/dist/{Regression-HWLJENA5.js.map → Regression-QBR2VYHT.js.map} +0 -0
  645. /package/dist/{RunChart2-YO55WE4M.js.map → RunChart2-UKN6M5M5.js.map} +0 -0
  646. /package/dist/{SC-LEDJ4DQR.js.map → SC-COHN7DMJ.js.map} +0 -0
  647. /package/dist/{Violin-E6PDJZ2B.js.map → Violin-SDUSKIEX.js.map} +0 -0
  648. /package/dist/{Volcano-XJTBWYUK.js.map → Volcano-KON4MOIM.js.map} +0 -0
  649. /package/dist/{app-7Q3QIBU4.js.map → adSandbox-L6ZHCJJO.js.map} +0 -0
  650. /package/dist/{animatedBubbleChart-LRUS7W36.js.map → animatedBubbleChart-IQBJBHPP.js.map} +0 -0
  651. /package/dist/{app-PKSI4MV5.js.map → app-2NSQK3GQ.js.map} +0 -0
  652. /package/dist/{barchart-UT6J4L2N.js.map → app-GMYTOBRB.js.map} +0 -0
  653. /package/dist/{bam-X5JH5ZT7.js.map → bam-B4ZPOZTX.js.map} +0 -0
  654. /package/dist/{block.init-CIBNSYAC.js.map → barchart-WF5VWDCV.js.map} +0 -0
  655. /package/dist/{barchart2-ZG5QJO3C.js.map → barchart2-3HGZ5Q2B.js.map} +0 -0
  656. /package/dist/{block-TC466NGW.js.map → block-A3I2INBA.js.map} +0 -0
  657. /package/dist/{controls-SZOLV37V.js.map → block.init-YUHPWTMF.js.map} +0 -0
  658. /package/dist/{block.mds.expressionrank-EY5PCQCK.js.map → block.mds.expressionrank-TGAZQTVW.js.map} +0 -0
  659. /package/dist/{block.mds.geneboxplot-R6AOMHO5.js.map → block.mds.geneboxplot-GPIQWNWB.js.map} +0 -0
  660. /package/dist/{block.mds.junction-JMV6FNYC.js.map → block.mds.junction-YREJCNYJ.js.map} +0 -0
  661. /package/dist/{block.mds.svcnv-IHTV3QYG.js.map → block.mds.svcnv-2ZDNI2XE.js.map} +0 -0
  662. /package/dist/{block.svg-NTFLVQAQ.js.map → block.svg-2BRKZJAO.js.map} +0 -0
  663. /package/dist/{block.tk.aicheck-FYPL32Y4.js.map → block.tk.aicheck-ZDTQFF7Q.js.map} +0 -0
  664. /package/dist/{block.tk.ase-FWCB6VBO.js.map → block.tk.ase-JAIOSXZO.js.map} +0 -0
  665. /package/dist/{block.tk.bam-Q5UFUABN.js.map → block.tk.bam-V27YBYQG.js.map} +0 -0
  666. /package/dist/{block.tk.bedgraphdot-KBI3GFDM.js.map → block.tk.bedgraphdot-QFJNEYKU.js.map} +0 -0
  667. /package/dist/{block.tk.bigwig.ui-KXNFX7G7.js.map → block.tk.bigwig.ui-X77XUZLB.js.map} +0 -0
  668. /package/dist/{block.tk.hicstraw-MQBH3YAJ.js.map → block.tk.hicstraw-OCZXKJOV.js.map} +0 -0
  669. /package/dist/{block.tk.junction-EBTVXLJH.js.map → block.tk.junction-2KI3SPXW.js.map} +0 -0
  670. /package/dist/{block.tk.junction.textmatrixui-ETYLCP2O.js.map → block.tk.junction.textmatrixui-G4OHYDVZ.js.map} +0 -0
  671. /package/dist/{block.tk.ld-NLB6L6WQ.js.map → block.tk.ld-LM4A3V7Z.js.map} +0 -0
  672. /package/dist/{block.tk.menu-PJLCOXVJ.js.map → block.tk.menu-GL6W3MKK.js.map} +0 -0
  673. /package/dist/{block.tk.pgv-JOIQVWL2.js.map → block.tk.pgv-T3YW5EGQ.js.map} +0 -0
  674. /package/dist/{brainRegions-LGQGRWG7.js.map → brainRegions-EVHXPPL5.js.map} +0 -0
  675. /package/dist/{bubbleHeatmap-CFTZ5RXH.js.map → bubbleHeatmap-WZX7MLQF.js.map} +0 -0
  676. /package/dist/{cellTypeBubbleHeatmap-DXPLFT5U.js.map → cellTypeBubbleHeatmap-3XY3U7EO.js.map} +0 -0
  677. /package/dist/{chunk-YD6UGDFI.js.map → chunk-2XOBD4ZZ.js.map} +0 -0
  678. /package/dist/{chunk-OVPEMVXT.js.map → chunk-6BG5G6SC.js.map} +0 -0
  679. /package/dist/{chunk-HJSGHFJ6.js.map → chunk-6EXPDXXV.js.map} +0 -0
  680. /package/dist/{chunk-HS6BTSFX.js.map → chunk-6KCG2NFA.js.map} +0 -0
  681. /package/dist/{chunk-JAXN3Q3K.js.map → chunk-6KIZ3Q5X.js.map} +0 -0
  682. /package/dist/{chunk-KIRZXPMB.js.map → chunk-6MDL3FYD.js.map} +0 -0
  683. /package/dist/{chunk-M4XXKTH2.js.map → chunk-7CJKL3LK.js.map} +0 -0
  684. /package/dist/{chunk-QLEVONLD.js.map → chunk-7T6G6BZF.js.map} +0 -0
  685. /package/dist/{chunk-NLR7JIMM.js.map → chunk-7WL4LROG.js.map} +0 -0
  686. /package/dist/{chunk-37HTZ6IG.js.map → chunk-7WWTWWB7.js.map} +0 -0
  687. /package/dist/{chunk-ZWCVRVV4.js.map → chunk-AEHBMP7F.js.map} +0 -0
  688. /package/dist/{chunk-NBX6TT5C.js.map → chunk-B2XYBFGT.js.map} +0 -0
  689. /package/dist/{chunk-GT6WJUJY.js.map → chunk-BH55L7RJ.js.map} +0 -0
  690. /package/dist/{chunk-ZEYEIUEZ.js.map → chunk-BWE6BZK3.js.map} +0 -0
  691. /package/dist/{chunk-OXWLQQXL.js.map → chunk-BXM6PRTG.js.map} +0 -0
  692. /package/dist/{chunk-54KC7DAB.js.map → chunk-CCYVGZGI.js.map} +0 -0
  693. /package/dist/{chunk-NSRGYBDM.js.map → chunk-DRKC4J62.js.map} +0 -0
  694. /package/dist/{chunk-F3EYPES3.js.map → chunk-DX5WQOJU.js.map} +0 -0
  695. /package/dist/{chunk-LDWMVZYF.js.map → chunk-E6FOW4UK.js.map} +0 -0
  696. /package/dist/{chunk-N7TD7N7D.js.map → chunk-ESXQDVDP.js.map} +0 -0
  697. /package/dist/{chunk-EPWGUWQP.js.map → chunk-FIN6XVVG.js.map} +0 -0
  698. /package/dist/{chunk-NVS7KYYI.js.map → chunk-GH5EQCLQ.js.map} +0 -0
  699. /package/dist/{chunk-WGXC6IEF.js.map → chunk-GIBTGABW.js.map} +0 -0
  700. /package/dist/{chunk-N2CXLMNX.js.map → chunk-GJ6JKPEY.js.map} +0 -0
  701. /package/dist/{chunk-VYEU6Y35.js.map → chunk-GKB4YPSV.js.map} +0 -0
  702. /package/dist/{chunk-X63NSV33.js.map → chunk-IGJOH5LV.js.map} +0 -0
  703. /package/dist/{chunk-QGGSYEVJ.js.map → chunk-IUT72AWA.js.map} +0 -0
  704. /package/dist/{chunk-WPDM57B5.js.map → chunk-IYCSCSRS.js.map} +0 -0
  705. /package/dist/{chunk-5DBW3WLK.js.map → chunk-J2O74K2I.js.map} +0 -0
  706. /package/dist/{chunk-ME7OF3CS.js.map → chunk-JO5SX7RA.js.map} +0 -0
  707. /package/dist/{chunk-LB7NENEB.js.map → chunk-JV5AGMUC.js.map} +0 -0
  708. /package/dist/{chunk-2SQEVMAL.js.map → chunk-KUHCBPKU.js.map} +0 -0
  709. /package/dist/{chunk-RUHLDUOT.js.map → chunk-LWOWC4PF.js.map} +0 -0
  710. /package/dist/{chunk-FTLCINDC.js.map → chunk-M3OUBH5W.js.map} +0 -0
  711. /package/dist/{chunk-WS7WKS2B.js.map → chunk-MZ6UOWXO.js.map} +0 -0
  712. /package/dist/{chunk-C5TU4AYP.js.map → chunk-P7EXGD5F.js.map} +0 -0
  713. /package/dist/{chunk-2POQWEK6.js.map → chunk-QJQUSRGP.js.map} +0 -0
  714. /package/dist/{chunk-SWO6DZTG.js.map → chunk-RPKZLEY7.js.map} +0 -0
  715. /package/dist/{chunk-SDVE5ECI.js.map → chunk-S4XD4GGN.js.map} +0 -0
  716. /package/dist/{chunk-XXNRSSBR.js.map → chunk-SKS6VDD4.js.map} +0 -0
  717. /package/dist/{chunk-GWCK5QGV.js.map → chunk-SPZQIZLJ.js.map} +0 -0
  718. /package/dist/{chunk-RV34WFGZ.js.map → chunk-SR35T6VI.js.map} +0 -0
  719. /package/dist/{chunk-YY5WQQ3J.js.map → chunk-TEMNQTG3.js.map} +0 -0
  720. /package/dist/{chunk-IB5TKNG5.js.map → chunk-UG6RDT65.js.map} +0 -0
  721. /package/dist/{chunk-7R7P6VMT.js.map → chunk-UTOWZWZ5.js.map} +0 -0
  722. /package/dist/{chunk-ZLYTDHQP.js.map → chunk-V26BRUAV.js.map} +0 -0
  723. /package/dist/{chunk-RFW5BRIZ.js.map → chunk-VRINIB6B.js.map} +0 -0
  724. /package/dist/{chunk-VVO3R5JV.js.map → chunk-VVJMPICY.js.map} +0 -0
  725. /package/dist/{chunk-2DQIQYY3.js.map → chunk-VZKDGKCP.js.map} +0 -0
  726. /package/dist/{chunk-DBQA6QIJ.js.map → chunk-WCAWZJ6M.js.map} +0 -0
  727. /package/dist/{chunk-IIMTOPH3.js.map → chunk-XD2JMWMR.js.map} +0 -0
  728. /package/dist/{chunk-RNWHB5DI.js.map → chunk-XERHX42E.js.map} +0 -0
  729. /package/dist/{chunk-K6PYTAXW.js.map → chunk-XZXGNMNK.js.map} +0 -0
  730. /package/dist/{chunk-TDM3645O.js.map → chunk-Y34GYPF6.js.map} +0 -0
  731. /package/dist/{chunk-2BQ572SL.js.map → chunk-YO5DWWBU.js.map} +0 -0
  732. /package/dist/{chunk-Z4SM3FBK.js.map → chunk-Z4HZONN6.js.map} +0 -0
  733. /package/dist/{cohort-FZNMFWOX.js.map → cohort-ZLQA2KPW.js.map} +0 -0
  734. /package/dist/{condition-AJJLFCBQ.js.map → condition-SFZAHMKK.js.map} +0 -0
  735. /package/dist/{controls.config-CVP75WFA.js.map → controls-US3ID2ZR.js.map} +0 -0
  736. /package/dist/{dnaMethylation-B4SWZI4O.js.map → controls.config-Y7NGPB5K.js.map} +0 -0
  737. /package/dist/{correlation-UFJFQHQ3.js.map → correlation-JD4FMZVF.js.map} +0 -0
  738. /package/dist/{customdata.inputui-HOVA4A6O.js.map → customdata.inputui-YUHO2ZSR.js.map} +0 -0
  739. /package/dist/{dataDownload-VTUG4IOK.js.map → dataDownload-4YQHUJQX.js.map} +0 -0
  740. /package/dist/{databrowser.ui-O5S4Y4EK.js.map → databrowser.ui-4YE24U4B.js.map} +0 -0
  741. /package/dist/{dictionary-L2UNNNP7.js.map → dictionary-LFOSXJGH.js.map} +0 -0
  742. /package/dist/{dofetch-F5XSHQIS.js.map → dnaMethylation-2627GIZW.js.map} +0 -0
  743. /package/dist/{dnaMethylation.integration.spec-ANJAMNYJ.js.map → dnaMethylation.integration.spec-HSZKXED3.js.map} +0 -0
  744. /package/dist/{geneExpression-XYVYJJA5.js.map → dofetch-7O5UTSGI.js.map} +0 -0
  745. /package/dist/{e2pca-66ARIMKL.js.map → e2pca-XL7F5BK3.js.map} +0 -0
  746. /package/dist/{ep-OFGJYVUY.js.map → ep-35KADAYG.js.map} +0 -0
  747. /package/dist/{expclust.gdc.spec-22RXQTTP.js.map → expclust.gdc.spec-TFJEXEAA.js.map} +0 -0
  748. /package/dist/{facet-GVZQ3RPN.js.map → facet-AWDU4CCU.js.map} +0 -0
  749. /package/dist/{gb-HEPGVYEK.js.map → gb-UIBSH7KV.js.map} +0 -0
  750. /package/dist/{geneExpClustering-3NU2U422.js.map → geneExpClustering-VYZ5VDPL.js.map} +0 -0
  751. /package/dist/{geneVariant-232EYUFJ.js.map → geneExpression-CNBSE3KW.js.map} +0 -0
  752. /package/dist/{geneExpression-FXQ4L2J2.js.map → geneExpression-ECXW22H6.js.map} +0 -0
  753. /package/dist/{geneORA-5M2JSDMF.js.map → geneORA-BQZ4XYJH.js.map} +0 -0
  754. /package/dist/{geneRanking-TP3R3CS3.js.map → geneRanking-GXRSXHIN.js.map} +0 -0
  755. /package/dist/{hierCluster-JU5JPLM7.js.map → geneVariant-Y7GASAY6.js.map} +0 -0
  756. /package/dist/{geneVariant-BHXTPUDC.js.map → geneVariant-ZVOUFF27.js.map} +0 -0
  757. /package/dist/{genefusion.ui-ABRCUQFC.js.map → genefusion.ui-CEMLY7HG.js.map} +0 -0
  758. /package/dist/{geneset-N42FIVA6.js.map → geneset-HMADFO7Z.js.map} +0 -0
  759. /package/dist/{genomeBrowser.spec-5HKQKLRU.js.map → genomeBrowser.spec-3U6KE3MK.js.map} +0 -0
  760. /package/dist/{grin2-H2KJYLP6.js.map → grin2-AJAXI4O4.js.map} +0 -0
  761. /package/dist/{grin2-NGMTEMXF.js.map → grin2-CFAOAHY3.js.map} +0 -0
  762. /package/dist/{hierCluster-LSSH275H.js.map → hierCluster-JUJ7C7TQ.js.map} +0 -0
  763. /package/dist/{hierCluster.config-ILOR7GBB.js.map → hierCluster-N6B4L6FW.js.map} +0 -0
  764. /package/dist/{hierCluster.interactivity-TLEIVTFK.js.map → hierCluster.config-RSSBKO6G.js.map} +0 -0
  765. /package/dist/{hierCluster.integration.spec-CNR5OJOH.js.map → hierCluster.integration.spec-YC6B3ID2.js.map} +0 -0
  766. /package/dist/{hierCluster.renderers-P7JNIT3N.js.map → hierCluster.interactivity-PRIWN65K.js.map} +0 -0
  767. /package/dist/{importPlot-OHXSXNZN.js.map → hierCluster.renderers-3RHXOHZ5.js.map} +0 -0
  768. /package/dist/{imagePlot-BF67SXQR.js.map → imagePlot-DSG4WJOG.js.map} +0 -0
  769. /package/dist/{isoformExpression-4VKHE4HA.js.map → importPlot-QSWJBDWH.js.map} +0 -0
  770. /package/dist/{junction-VUHORV43.js.map → isoformExpression-XWLMWXEK.js.map} +0 -0
  771. /package/dist/{isoformExpression.unit.spec-4TVSIFG4.js.map → isoformExpression.unit.spec-T7VN2WPK.js.map} +0 -0
  772. /package/dist/{launch.adhoc-UDYMFZTQ.js.map → junction-AUXJROOE.js.map} +0 -0
  773. /package/dist/{junction.unit.spec-KKVLYT7Q.js.map → junction.unit.spec-ODVQMDI5.js.map} +0 -0
  774. /package/dist/{matrix-CI76EDHU.js.map → launch.adhoc-TNONPG6R.js.map} +0 -0
  775. /package/dist/{leftlabel.sample-R5FFBWG3.js.map → leftlabel.sample-5VFAMSH5.js.map} +0 -0
  776. /package/dist/{lollipop-3IX6ZYUN.js.map → lollipop-NEDFCNJJ.js.map} +0 -0
  777. /package/dist/{maf-42UFYSL4.js.map → maf-2GO7PDOL.js.map} +0 -0
  778. /package/dist/{maftimeline-M5WYEN62.js.map → maftimeline-UMVQGIXA.js.map} +0 -0
  779. /package/dist/{matrix-WJZKA6VR.js.map → matrix-74JSSVR5.js.map} +0 -0
  780. /package/dist/{matrix.cells-ZFKVIPDC.js.map → matrix-YARPFYCU.js.map} +0 -0
  781. /package/dist/{matrix.config-24TFHBEM.js.map → matrix.cells-WYCIMZRW.js.map} +0 -0
  782. /package/dist/{matrix.data-NCGZPNWR.js.map → matrix.config-5SNEP3B4.js.map} +0 -0
  783. /package/dist/{matrix.groups-XQJTGM6M.js.map → matrix.data-3H4GFMQK.js.map} +0 -0
  784. /package/dist/{matrix.interactivity-ZOOTPNSW.js.map → matrix.groups-FGLRK6IT.js.map} +0 -0
  785. /package/dist/{matrix.integration.spec-OGXZUDE6.js.map → matrix.integration.spec-4DQIRQQO.js.map} +0 -0
  786. /package/dist/{matrix.layout-5J2YENK3.js.map → matrix.interactivity-GSV45F2N.js.map} +0 -0
  787. /package/dist/{matrix.legend-U36VCS46.js.map → matrix.layout-BMH4V36B.js.map} +0 -0
  788. /package/dist/{matrix.renderers-4KFE7ZVR.js.map → matrix.legend-5OVHDE6Q.js.map} +0 -0
  789. /package/dist/{matrix.serieses-AW7XBXLJ.js.map → matrix.renderers-DENF4NZ6.js.map} +0 -0
  790. /package/dist/{matrix.sort-7PMECLOE.js.map → matrix.serieses-D7XPW5L4.js.map} +0 -0
  791. /package/dist/{plot.app-YIQOY2Z7.js.map → matrix.sort-XQEOXSEG.js.map} +0 -0
  792. /package/dist/{matrix.sort.unit.spec-GIA2YOTQ.js.map → matrix.sort.unit.spec-HGII2SCC.js.map} +0 -0
  793. /package/dist/{matrix.sorterUi.unit.spec-OPGKZZL6.js.map → matrix.sorterUi.unit.spec-TNRATMUJ.js.map} +0 -0
  794. /package/dist/{matrix.unit.spec-7UIVVR4T.js.map → matrix.unit.spec-LBMDCANX.js.map} +0 -0
  795. /package/dist/{mavb-MSYUMT6W.js.map → mavb-UQFSJN4W.js.map} +0 -0
  796. /package/dist/{mds.fimo-OYEAQP37.js.map → mds.fimo-TXHCH6LW.js.map} +0 -0
  797. /package/dist/{mds.samplescatterplot-EXISSRQQ.js.map → mds.samplescatterplot-G6IJO3I7.js.map} +0 -0
  798. /package/dist/{mds.survivalplot-SZST6BLN.js.map → mds.survivalplot-XFB2EL23.js.map} +0 -0
  799. /package/dist/{multivalue-YDE7L75Y.js.map → multivalue-GLE6G3ZO.js.map} +0 -0
  800. /package/dist/{numericDictTermCluster-5AKP6ICC.js.map → numericDictTermCluster-YTAMQDWZ.js.map} +0 -0
  801. /package/dist/{oncomatrix-2OEIYWR6.js.map → oncomatrix-P6QVGFAR.js.map} +0 -0
  802. /package/dist/{oncomatrix.spec-CXQW4JWU.js.map → oncomatrix.spec-O6U52E22.js.map} +0 -0
  803. /package/dist/{plot.2dvaf-LN7A3NNC.js.map → plot.2dvaf-VZL4SH6G.js.map} +0 -0
  804. /package/dist/{profilePlot-OJLLW44P.js.map → plot.app-VYMIF4VU.js.map} +0 -0
  805. /package/dist/{plot.barplot-HF2J25XP.js.map → plot.barplot-I6S266DG.js.map} +0 -0
  806. /package/dist/{plot.boxplot-YJH4L27U.js.map → plot.boxplot-3CHI4AA2.js.map} +0 -0
  807. /package/dist/{plot.disco-BN5RNZ6Q.js.map → plot.disco-NCTBMD2W.js.map} +0 -0
  808. /package/dist/{plot.ssgq-N2HTOIY3.js.map → plot.ssgq-CL3TGZ55.js.map} +0 -0
  809. /package/dist/{plot.vaf2cov-6AOHRUQ2.js.map → plot.vaf2cov-5RG3OD6G.js.map} +0 -0
  810. /package/dist/{polar2-TC5OEJRE.js.map → polar2-ABI2UJNC.js.map} +0 -0
  811. /package/dist/{profileForms-5WV2TSBB.js.map → profileForms-Z4Y55OQY.js.map} +0 -0
  812. /package/dist/{pseudobulk-ADHAYVSQ.js.map → profilePlot-LMDZVOJK.js.map} +0 -0
  813. /package/dist/{proteinView-CGNAJN4S.js.map → proteinView-UYMM76WH.js.map} +0 -0
  814. /package/dist/{proteomeCohortCompare-XXQGGVCF.js.map → proteomeCohortCompare-5GFBARC5.js.map} +0 -0
  815. /package/dist/{qualitative-JXEI3IYC.js.map → pseudobulk-Y7HWDLIV.js.map} +0 -0
  816. /package/dist/{render-J7WOYBOL.js.map → qualitative-H72GEWTZ.js.map} +0 -0
  817. /package/dist/{radar2-BWTKSTT3.js.map → radar2-OXUS5DLT.js.map} +0 -0
  818. /package/dist/{radarFacility2-WIRSKTDG.js.map → radarFacility2-VOUNCM6A.js.map} +0 -0
  819. /package/dist/{sampleView-BV6BQGGQ.js.map → render-KDLTAQVA.js.map} +0 -0
  820. /package/dist/{report-DRPCXX2B.js.map → report-PBRD2KBN.js.map} +0 -0
  821. /package/dist/{singleCellCellType-Z7OXK7PI.js.map → sampleView-7HWFZCHE.js.map} +0 -0
  822. /package/dist/{samplelst-ZD63EYO7.js.map → samplelst-3ZWV4XZQ.js.map} +0 -0
  823. /package/dist/{samplematrix-ZZ3DVELU.js.map → samplematrix-YRJUNYQ6.js.map} +0 -0
  824. /package/dist/{sc-MUI43YTB.js.map → sc-N4YM3GZI.js.map} +0 -0
  825. /package/dist/{scatter-7B44HTKN.js.map → scatter-KBY6VF76.js.map} +0 -0
  826. /package/dist/{scatter-UEDVIE4Y.js.map → scatter-TBGEXELG.js.map} +0 -0
  827. /package/dist/{selectGenomeWithTklst-WGOKGVZ5.js.map → selectGenomeWithTklst-25WQQ42Y.js.map} +0 -0
  828. /package/dist/{singleCellGeneExpression-LYZAIJ2Z.js.map → singleCellCellType-35TDG2YM.js.map} +0 -0
  829. /package/dist/{singleCellCellType.unit.spec-IIOVCCJQ.js.map → singleCellCellType.unit.spec-G5AVNAUK.js.map} +0 -0
  830. /package/dist/{singleCellPlot-TXPYQLSH.js.map → singleCellGeneExpression-7AHJYFWJ.js.map} +0 -0
  831. /package/dist/{singleCellGeneExpression.unit.spec-67AAWZTG.js.map → singleCellGeneExpression.unit.spec-LGZMOVTB.js.map} +0 -0
  832. /package/dist/{snp-3U2G3Z57.js.map → singleCellPlot-AU5K4M7J.js.map} +0 -0
  833. /package/dist/{singlecell-7TBALI2S.js.map → singlecell-HNTYJLJ4.js.map} +0 -0
  834. /package/dist/{singlecell-22OG6HNI.js.map → singlecell-J4FIZPZF.js.map} +0 -0
  835. /package/dist/{ssGSEA-52LWBQJP.js.map → snp-OXDVSFGB.js.map} +0 -0
  836. /package/dist/{snp.unit.spec-BMBBUBYD.js.map → snp.unit.spec-B7LCCGWA.js.map} +0 -0
  837. /package/dist/{snplocus-SSVZDIQV.js.map → snplocus-4VWXVQGS.js.map} +0 -0
  838. /package/dist/{spliceevent.a53ss.diagram-FK7CN4AU.js.map → spliceevent.a53ss.diagram-YS32IFVI.js.map} +0 -0
  839. /package/dist/{spliceevent.exonskip.diagram-EFLGV3O4.js.map → spliceevent.exonskip.diagram-PHFR53DH.js.map} +0 -0
  840. /package/dist/{spliceevent.noeventdiagram-2DYO7CCZ.js.map → spliceevent.noeventdiagram-FFHMDEBQ.js.map} +0 -0
  841. /package/dist/{summarizeMutationDiagnosis-5FOQ7CHI.js.map → ssGSEA-OYEIDW4M.js.map} +0 -0
  842. /package/dist/{ssGSEA.unit.spec-3JV6WHUQ.js.map → ssGSEA.unit.spec-SY5XFF45.js.map} +0 -0
  843. /package/dist/{stattable-RLMYQ4G6.js.map → stattable-JCH2WPS6.js.map} +0 -0
  844. /package/dist/{studyCatalog-DKB3U7EV.js.map → studyCatalog-FDB7D26M.js.map} +0 -0
  845. /package/dist/{summarizeCnvGeneexp-QPRYAKC2.js.map → summarizeCnvGeneexp-KNW23YAI.js.map} +0 -0
  846. /package/dist/{summarizeGeneexpSurvival-RWVQXEKB.js.map → summarizeGeneexpSurvival-H57GGCXL.js.map} +0 -0
  847. /package/dist/{summarizeMutationCnv-DW5F6NUJ.js.map → summarizeMutationCnv-RBBDE27N.js.map} +0 -0
  848. /package/dist/{summary-TYC6QNT4.js.map → summarizeMutationDiagnosis-R6YWQ4LQ.js.map} +0 -0
  849. /package/dist/{summarizeMutationSurvival-4UKB4EVO.js.map → summarizeMutationSurvival-Q6WKBNPD.js.map} +0 -0
  850. /package/dist/{termCollection-SB6MWLFK.js.map → summary-AL3GEK3G.js.map} +0 -0
  851. /package/dist/{summary.integration.spec-5GLJJZNM.js.map → summary.integration.spec-IFGDIEMW.js.map} +0 -0
  852. /package/dist/{summaryInput-4IJGKW4P.js.map → summaryInput-TYIKTBO3.js.map} +0 -0
  853. /package/dist/{sunburst-G7DGATWP.js.map → sunburst-4PA3CO44.js.map} +0 -0
  854. /package/dist/{survival-MKNABJPU.js.map → survival-GT4CSHX2.js.map} +0 -0
  855. /package/dist/{survival-IHM6A7LL.js.map → survival-HXJCMNCG.js.map} +0 -0
  856. /package/dist/{survival.integration.spec-THOKI3DL.js.map → survival.integration.spec-C7OJC4AG.js.map} +0 -0
  857. /package/dist/{svgraph-VB7JWWR5.js.map → svgraph-MZCOBO4J.js.map} +0 -0
  858. /package/dist/{svmr-VLQIO2U5.js.map → svmr-FQPAAQHB.js.map} +0 -0
  859. /package/dist/{table-EAXMDWOY.js.map → table-FKLXVILD.js.map} +0 -0
  860. /package/dist/{termCollectionFractionSelection-2XZSTDCQ.js.map → termCollection-QDGR6J36.js.map} +0 -0
  861. /package/dist/{termCollection-5LG7ICQY.js.map → termCollection-Y7CIC6GQ.js.map} +0 -0
  862. /package/dist/{termCollection.unit.spec-H5ITGTR3.js.map → termCollection.unit.spec-PQMFOWLF.js.map} +0 -0
  863. /package/dist/{tk-VZI5HNSX.js.map → termCollectionFractionSelection-2O32HROA.js.map} +0 -0
  864. /package/dist/{termCollectionFractionSelection.unit.spec-BIO7V6KA.js.map → termCollectionFractionSelection.unit.spec-WXGCO2RF.js.map} +0 -0
  865. /package/dist/{tvs.dt-6YHFJPER.js.map → tk-IBYM4FZC.js.map} +0 -0
  866. /package/dist/{tk-TRWYZLQ2.js.map → tk-QJNN6WK2.js.map} +0 -0
  867. /package/dist/{tp.ui-J5SNNAT3.js.map → tp.ui-RI7S54LI.js.map} +0 -0
  868. /package/dist/{vocabulary-6EADTHP3.js.map → tvs.dt-7CIYMLQF.js.map} +0 -0
  869. /package/dist/{tvs.dtcnv.categorical-WTIE63GM.js.map → tvs.dtcnv.categorical-D3W6R6BM.js.map} +0 -0
  870. /package/dist/{tvs.dtcnv.continuous-OCMKGTF5.js.map → tvs.dtcnv.continuous-4WS2TN3K.js.map} +0 -0
  871. /package/dist/{tvs.dtfusion-CA23UNM3.js.map → tvs.dtfusion-NUUFIGG4.js.map} +0 -0
  872. /package/dist/{tvs.dtitd-VSYMR3OD.js.map → tvs.dtitd-UCSEWRNJ.js.map} +0 -0
  873. /package/dist/{tvs.dtsnvindel-YBNO3CYF.js.map → tvs.dtsnvindel-J4S7KU3Y.js.map} +0 -0
  874. /package/dist/{tvs.dtsv-S743GBB5.js.map → tvs.dtsv-4OPYIWB6.js.map} +0 -0
  875. /package/dist/{tvs.samplelst-XAJO4EM6.js.map → tvs.samplelst-RUZYZ2FF.js.map} +0 -0
  876. /package/dist/{tvs.termCollection-QOVJGAUC.js.map → tvs.termCollection-D5X2HNWO.js.map} +0 -0
@@ -0,0 +1,1986 @@
1
+ import {
2
+ matrix_serieses_exports
3
+ } from "./chunk-RPKZLEY7.js";
4
+ import {
5
+ matrix_groups_exports
6
+ } from "./chunk-P7EXGD5F.js";
7
+ import {
8
+ setComputedConfig
9
+ } from "./chunk-M3OUBH5W.js";
10
+ import {
11
+ setMatrixDom
12
+ } from "./chunk-67URJYN7.js";
13
+ import {
14
+ setInteractivity
15
+ } from "./chunk-XCN3FKLF.js";
16
+ import {
17
+ setRenderers
18
+ } from "./chunk-GH5EQCLQ.js";
19
+ import {
20
+ MatrixCluster
21
+ } from "./chunk-DDKS3MV3.js";
22
+ import {
23
+ getSorterUi
24
+ } from "./chunk-EGKHDALO.js";
25
+ import {
26
+ matrix_data_exports
27
+ } from "./chunk-TEMNQTG3.js";
28
+ import {
29
+ matrix_layout_exports
30
+ } from "./chunk-ESXQDVDP.js";
31
+ import {
32
+ matrix_legend_exports
33
+ } from "./chunk-KUHCBPKU.js";
34
+ import {
35
+ GeneSetEditUI,
36
+ GeneSetEditUIwithTabs,
37
+ PlotBase,
38
+ TwRouter,
39
+ fileDateStamp,
40
+ fillTermWrapper,
41
+ get$id,
42
+ getCombinedTermFilter,
43
+ getGEunit,
44
+ initByInput,
45
+ make_one_checkbox,
46
+ make_radios,
47
+ rebaseGroupFilter,
48
+ routedTermTypes,
49
+ sayerror,
50
+ svgLegend,
51
+ svgScroll,
52
+ to_svg,
53
+ zoom
54
+ } from "./chunk-NQDF3U2C.js";
55
+ import {
56
+ Menu
57
+ } from "./chunk-ELJX3QIQ.js";
58
+ import {
59
+ icons
60
+ } from "./chunk-6RRZRISL.js";
61
+ import {
62
+ isNumericTerm
63
+ } from "./chunk-HZ3TCGBK.js";
64
+ import {
65
+ TermTypes,
66
+ dt2label,
67
+ dtcnv,
68
+ dtfusionrna,
69
+ dtsnvindel,
70
+ dtsv,
71
+ mclass,
72
+ morigin
73
+ } from "./chunk-IZUYLFOX.js";
74
+ import {
75
+ copyMerge,
76
+ deepEqual,
77
+ getCompInit
78
+ } from "./chunk-WINIL2KN.js";
79
+ import {
80
+ convertUnits
81
+ } from "./chunk-W5J3LTYS.js";
82
+ import {
83
+ select_default
84
+ } from "./chunk-I6Y4O3RR.js";
85
+
86
+ // plots/matrix/matrix.controls.samples.ts
87
+ function setSamplesBtn(self2, s) {
88
+ const l = s.controlLabels;
89
+ const controls = self2;
90
+ const parent = self2.parent;
91
+ const rows = [
92
+ {
93
+ label: `Maximum # ${l.Samples}`,
94
+ title: `Limit the number of displayed ${l.samples}`,
95
+ type: "number",
96
+ chartType: "matrix",
97
+ settingsKey: "maxSample",
98
+ getDisplayStyle(plot) {
99
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
100
+ }
101
+ },
102
+ {
103
+ label: `Sort ${l.Sample} Groups`,
104
+ title: `Set how to sort ${l.sample} groups`,
105
+ type: "radio",
106
+ chartType: "matrix",
107
+ settingsKey: "sortSampleGrpsBy",
108
+ options: [
109
+ {
110
+ label: "Predefined or Group Name",
111
+ value: "name",
112
+ title: `Sort by group name`
113
+ },
114
+ {
115
+ label: `${l.Sample} Count`,
116
+ value: "sampleCount",
117
+ title: `Sort by the number of samples in the group`
118
+ },
119
+ {
120
+ label: `Hits`,
121
+ value: "hits",
122
+ title: `Sort by the total number of variants for every ${l.sample} in the group`
123
+ }
124
+ ],
125
+ getDisplayStyle(plot) {
126
+ return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
127
+ }
128
+ },
129
+ {
130
+ label: `${l.Sample} Group Label Character Limit`,
131
+ title: `Truncate the ${l.sample} group label if it exceeds this maximum number of characters`,
132
+ type: "number",
133
+ chartType: "matrix",
134
+ settingsKey: "sampleGrpLabelMaxChars",
135
+ getDisplayStyle(plot) {
136
+ return plot.divideBy && !plot.hierCluster ? "table-row" : "none";
137
+ }
138
+ },
139
+ {
140
+ label: `${l.Sample} Label Character Limit`,
141
+ title: `Truncate the ${l.sample} label if it exceeds this maximum number of characters`,
142
+ type: "number",
143
+ chartType: "matrix",
144
+ settingsKey: "collabelmaxchars"
145
+ },
146
+ {
147
+ label: `Toggle sample labels`,
148
+ title: `Do not automatically show sample labels based on column width`,
149
+ type: "radio",
150
+ chartType: "matrix",
151
+ settingsKey: "sampleLabelsToggle",
152
+ styles: { display: "inline-block" },
153
+ options: [
154
+ { label: `Based on column width`, value: "auto" },
155
+ { label: "Always hide", value: "hide" }
156
+ ]
157
+ },
158
+ {
159
+ label: `Group ${l.Samples} By`,
160
+ title: `Select a variable with discrete values to group ${l.samples}`,
161
+ type: "term",
162
+ chartType: "matrix",
163
+ configKey: "divideBy",
164
+ // without an explicit usecase the term tree falls to the 'default' rule,
165
+ // which excludes multivalue; the matrix supports multivalue divideBy
166
+ // (a sample renders in each group it belongs to)
167
+ usecase: { target: "matrix", detail: "divideBy" },
168
+ vocabApi: self2.opts.app.vocabApi,
169
+ state: {
170
+ vocab: self2.opts.vocab
171
+ //activeCohort: appState.activeCohort
172
+ },
173
+ processInput: async (tw) => {
174
+ if (tw?.term && isNumericTerm(tw.term)) {
175
+ tw.q = { ...tw.q, mode: "discrete" };
176
+ }
177
+ if (tw) await fillTermWrapper(tw, self2.opts.app.vocabApi);
178
+ return tw;
179
+ },
180
+ processConfig: (config) => {
181
+ if (self2.parent.chartType == "hierCluster" && config["divideBy"]) {
182
+ config.settings = {
183
+ hierCluster: {
184
+ yDendrogramHeight: 0,
185
+ clusterSamples: false
186
+ }
187
+ };
188
+ }
189
+ if (self2.parent.config.divideBy)
190
+ config.legendValueFilter = self2.parent.mayRemoveTvsEntry(self2.parent.config.divideBy);
191
+ },
192
+ getBodyParams: () => {
193
+ const currentGeneNames = self2.parent.termOrder.filter((t) => t.tw.term.type === "geneVariant").map(
194
+ (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
195
+ );
196
+ if (currentGeneNames.length) return { currentGeneNames };
197
+ return {};
198
+ }
199
+ }
200
+ ];
201
+ rows.push({
202
+ label: `Sort ${l.Sample} Priority`,
203
+ title: `Set how to sort ${l.samples}`,
204
+ type: "custom",
205
+ // the "input" argument is created by controls
206
+ init(input) {
207
+ const m = parent.config.settings.matrix;
208
+ if (!controls.activeTab) controls.activeTab = "basic";
209
+ input.dom.inputTd.style("padding", "5px");
210
+ const btnsDiv = input.dom.inputTd.append("div").style("margin-bottom", "5px");
211
+ 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", () => {
212
+ controls.activeTab = "basic";
213
+ basicBtn.style("text-decoration", "underline");
214
+ advancedBtn.style("text-decoration", "");
215
+ basicDiv.style("display", "");
216
+ advancedDiv.style("display", "none");
217
+ });
218
+ 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", () => {
219
+ controls.activeTab = "advanced";
220
+ basicBtn.style("text-decoration", "");
221
+ advancedBtn.style("text-decoration", "underline");
222
+ basicDiv.style("display", "none");
223
+ advancedDiv.style("display", "");
224
+ });
225
+ const basicDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "basic" ? "" : "none");
226
+ if (self2.parent.config.chartType == "matrix" && parent.app.vocabApi.termdbConfig.hasSampleAncestry) {
227
+ const ancestryDiv = basicDiv.append("div").attr("title", "sort by ancestry").style("display", "block");
228
+ ancestryDiv.append("span").html("Ancestry");
229
+ make_radios({
230
+ // holder, options, callback, styles
231
+ holder: ancestryDiv.append("span"),
232
+ options: [
233
+ { label: "sort first", value: "first", checked: m.sortBySampleAncestry === "first" },
234
+ { label: "sort last", value: "last", checked: m.sortBySampleAncestry === "last" },
235
+ { label: "disable", value: false, checked: m.sortBySampleAncestry === false }
236
+ ],
237
+ styles: {
238
+ display: "inline-block"
239
+ },
240
+ callback: (selectedValue) => {
241
+ parent.app.dispatch({
242
+ type: "plot_edit",
243
+ id: parent.id,
244
+ config: {
245
+ settings: {
246
+ matrix: {
247
+ sortBySampleAncestry: selectedValue
248
+ //sortByCNV, // needed to show the correct status for checkbox, but actual sorting behavior
249
+ //sortOptions // is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
250
+ }
251
+ }
252
+ }
253
+ });
254
+ }
255
+ });
256
+ }
257
+ const ssmDiv = basicDiv.append("div");
258
+ ssmDiv.append("span").html("SSM");
259
+ const { inputs } = make_radios({
260
+ // holder, options, callback, styles
261
+ holder: ssmDiv.append("span"),
262
+ options: [
263
+ { label: "by consequence", value: "consequence", checked: m.sortByMutation === "consequence" },
264
+ { label: "by presence", value: "presence", checked: m.sortByMutation === "presence" }
265
+ ],
266
+ styles: {
267
+ display: "inline-block"
268
+ },
269
+ callback: (sortByMutation) => {
270
+ const sortOptions = parent.config.settings.matrix.sortOptions;
271
+ const activeOption = sortOptions.a;
272
+ const mutTb = activeOption.sortPriority[0].tiebreakers[1];
273
+ mutTb.disabled = !sortByMutation;
274
+ mutTb.isOrdered = sortByMutation === "consequence";
275
+ parent.app.dispatch({
276
+ type: "plot_edit",
277
+ id: parent.id,
278
+ config: {
279
+ settings: {
280
+ matrix: {
281
+ sortByMutation,
282
+ // needed to show the correct status for checkbox, but actual sorting behavior
283
+ sortOptions
284
+ // is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
285
+ }
286
+ }
287
+ }
288
+ });
289
+ }
290
+ });
291
+ inputs.style("margin", "2px 0 0 2px").style("vertical-align", "top");
292
+ const cnvDiv = basicDiv.append("div").style("display", m.showMatrixCNV != "none" && !m.allMatrixCNVHidden ? "block" : "none");
293
+ cnvDiv.append("span").html("CNV");
294
+ const checkbox = make_one_checkbox({
295
+ holder: cnvDiv.append("span"),
296
+ divstyle: { display: "inline-block" },
297
+ checked: m.sortByCNV,
298
+ labeltext: "sort by CNV",
299
+ callback: () => {
300
+ const sortByCNV = checkbox.property("checked");
301
+ const sortOptions = parent.config.settings.matrix.sortOptions;
302
+ const activeOption = sortOptions.a;
303
+ const cnvTb = activeOption.sortPriority[0].tiebreakers[2];
304
+ cnvTb.disabled = !sortByCNV;
305
+ cnvTb.isOrdered = sortByCNV;
306
+ parent.app.dispatch({
307
+ type: "plot_edit",
308
+ id: parent.id,
309
+ config: {
310
+ settings: {
311
+ matrix: {
312
+ sortByCNV,
313
+ // needed to show the correct status for checkbox, but actual sorting behavior
314
+ sortOptions
315
+ // is based on sortOptions.a[*].tiebreaker[*][disabled, isOrdered]
316
+ }
317
+ }
318
+ }
319
+ });
320
+ }
321
+ });
322
+ const advancedDiv = input.dom.inputTd.append("div").style("display", controls.activeTab == "advanced" ? "" : "none");
323
+ input.dom.row.on("mouseover", function() {
324
+ this.style.backgroundColor = "#fff";
325
+ this.style.textShadow = "none";
326
+ });
327
+ if (!controls.sorterUi) {
328
+ controls.sorterUi = getSorterUi({
329
+ controls,
330
+ holder: advancedDiv,
331
+ tip: controls.parent.app.tip
332
+ });
333
+ } else {
334
+ controls.sorterUi.main(controls.parent.config.settings.matrix, { holder: advancedDiv });
335
+ }
336
+ return {
337
+ main: (plot) => {
338
+ const s2 = plot.settings.matrix;
339
+ inputs.property("checked", (d) => d.value == s2.sortByMutation);
340
+ checkbox.property("checked", s2.sortByCNV);
341
+ cnvDiv.style("display", s2.showMatrixCNV != "none" && !s2.allMatrixCNVHidden ? "block" : "none");
342
+ }
343
+ };
344
+ }
345
+ });
346
+ self2.opts.holder.append("button").datum({
347
+ label: l.Samples || `Samples`,
348
+ getCount: () => "sampleCount" in self2.overrides ? self2.overrides.sampleCount : self2.parent.sampleOrder?.length || 0,
349
+ rows,
350
+ customInputs: updateSamplesControls
351
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
352
+ }
353
+ function updateSamplesControls(self2, app, parent, table) {
354
+ if (parent.chartType == "hierCluster" && parent.config.settings.hierCluster.clusterSamples) {
355
+ const l = parent.config.settings.matrix.controlLabels;
356
+ const sortingControl = select_default(
357
+ table.selectAll("td").filter(function() {
358
+ return select_default(this).text() == `Sort ${l.Sample} Priority`;
359
+ }).node().closest("tr")
360
+ );
361
+ sortingControl.style("display", "none");
362
+ }
363
+ }
364
+
365
+ // plots/matrix/matrix.controls.genes.ts
366
+ var tip = new Menu({ padding: "" });
367
+ function setGenesBtn(self2, s) {
368
+ const l = s.controlLabels;
369
+ const renderStyleOptions = [
370
+ {
371
+ 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>`,
372
+ value: "",
373
+ title: `Show stacked rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
374
+ },
375
+ {
376
+ 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>`,
377
+ value: "oncoprint",
378
+ title: `Show overlapping rectangles in the same matrix cell to render variants for the same ${l.sample} and gene`
379
+ }
380
+ ];
381
+ if (s.addMutationCNVButtons && self2.parent.chartType !== "hierCluster")
382
+ renderStyleOptions.unshift({
383
+ 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>`,
384
+ value: "single",
385
+ 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`
386
+ });
387
+ self2.opts.holder.append("button").datum({
388
+ label: "Genes",
389
+ getCount: () => self2.parent.termOrder?.filter(
390
+ (t) => t.tw.term.type == TermTypes.GENE_VARIANT || t.tw.term.type == TermTypes.GENE_EXPRESSION
391
+ ).length || 0,
392
+ customInputs: addGeneInputs,
393
+ rows: [
394
+ {
395
+ label: `Display ${l.Sample} Counts for Gene`,
396
+ title: `Include the ${l.sample} count in the gene label`,
397
+ type: "radio",
398
+ chartType: "matrix",
399
+ settingsKey: "samplecount4gene",
400
+ styles: { display: "inline-block" },
401
+ options: [
402
+ { label: "Absolute", value: "abs" },
403
+ { label: `Percent`, value: "pct" },
404
+ { label: `None`, value: "" }
405
+ ],
406
+ getDisplayStyle() {
407
+ return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
408
+ }
409
+ },
410
+ // TODO: implement this contol option
411
+ // {
412
+ // label: `Exclude From ${l.Sample} Displayed Counts`,
413
+ // title: `Do not include these variations/mutations when counting samples for a gene.`,
414
+ // type: 'text',
415
+ // chartType: 'matrix',
416
+ // settingsKey: 'geneVariantCountSamplesSkipMclass',
417
+ // processInput: tw => {},
418
+ // },
419
+ {
420
+ label: "Genomic Alterations Rendering",
421
+ title: `Set how to indicate a ${l.sample}'s applicable variant types in the same matrix cell`,
422
+ type: "radio",
423
+ chartType: "matrix",
424
+ settingsKey: "cellEncoding",
425
+ options: renderStyleOptions,
426
+ styles: { padding: "5px 0px", margin: 0 },
427
+ labelDisplay: "block",
428
+ getDisplayStyle() {
429
+ return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
430
+ },
431
+ callback: self2.parent.geneStyleControlCallback
432
+ },
433
+ {
434
+ label: "Sort Genes",
435
+ title: "Set how to order the genes as rows",
436
+ type: "radio",
437
+ chartType: "matrix",
438
+ settingsKey: "sortTermsBy",
439
+ options: [
440
+ { label: "By Input Data Order", value: "asListed" },
441
+ { label: `By ${l.sample} Count`, value: "sampleCount" }
442
+ ],
443
+ styles: { padding: 0, "padding-right": "10px", margin: 0, display: "inline-block" },
444
+ getDisplayStyle() {
445
+ return self2.parent.termOrder?.filter((t) => t.tw.term.type == "geneVariant").length ? "table-row" : "none";
446
+ }
447
+ }
448
+ ]
449
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
450
+ }
451
+ async function addGeneInputs(self2, app, parent, table) {
452
+ if (parent.chartType == "hierCluster" && parent.config.dataType == TermTypes.GENE_EXPRESSION) {
453
+ appendGeneInputs(self2, app, parent, table, "hierCluster");
454
+ }
455
+ if (parent.state?.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || parent.state.termdbConfig.queries.snvindel)
456
+ appendGeneInputs(self2, app, parent, table);
457
+ }
458
+ async function appendGeneInputs(self2, app, parent, table, geneInputType) {
459
+ tip.clear();
460
+ if (!parent.selectedGroup) parent.selectedGroup = 0;
461
+ if (parent.opts.customInputs?.genes) {
462
+ for (const inputConfig of parent.opts.customInputs.genes) {
463
+ inputConfig.chartType = "matrix";
464
+ const holder = table.append("tr");
465
+ if (inputConfig.title) holder.attr("aria-label", inputConfig.title);
466
+ const input = await initByInput[inputConfig.type](
467
+ Object.assign(
468
+ {},
469
+ {
470
+ holder,
471
+ app,
472
+ id: parent.id,
473
+ debug: self2.opts.debug,
474
+ parent
475
+ },
476
+ inputConfig
477
+ )
478
+ );
479
+ input.main(parent.config);
480
+ }
481
+ }
482
+ let geneInputTr;
483
+ if (geneInputType == "hierCluster" || parent.chartType !== "hierCluster") {
484
+ geneInputTr = table.insert("tr", () => table.select("tr").node());
485
+ } else {
486
+ const secondTr = table.selectAll("tr").nodes()[1] || null;
487
+ const hrTr = table.insert("tr", () => secondTr);
488
+ hrTr.append("td").attr("colspan", 2).append("hr").style("border", "1px solid #ccc");
489
+ geneInputTr = table.insert("tr", () => secondTr);
490
+ }
491
+ addGenesetInput(self2, app, parent, geneInputTr, geneInputType);
492
+ }
493
+ function addGenesetInput(self2, app, parent, tr, geneInputType) {
494
+ const controlPanelBtn = self2.btns.filter((d) => d.label.endsWith("Genes"))?.node();
495
+ const tip3 = app.tip;
496
+ const tg = parent.config.termgroups;
497
+ const { maxGenes, genesetEditUiVersion } = parent.settings?.matrix || parent.config?.settings?.matrix || {};
498
+ let selectedGroup;
499
+ const triggerGenesetEdit = (holder) => {
500
+ holder.selectAll("*").remove();
501
+ const geneList = selectedGroup.lst.map((item) => {
502
+ return { gene: item.name };
503
+ });
504
+ const genesetUi = genesetEditUiVersion === "withTabs" ? GeneSetEditUIwithTabs : GeneSetEditUI;
505
+ new genesetUi({
506
+ holder,
507
+ genome: app.opts.genome,
508
+ geneList,
509
+ // Remove the GFF Loads Gene Sets option from unclustered genes panel.
510
+ customInputs: parent.chartType !== "hierCluster" || geneInputType == "hierCluster" ? self2.parent.opts.customInputs?.geneset : void 0,
511
+ /* running hier clustering and the editing group is the group used for clustering
512
+ pass this mode value to inform ui to support the optional button "top variably exp gene"
513
+ this is hardcoded for the purpose of gene expression and should be improved
514
+ */
515
+ mode: selectedGroup.mode,
516
+ minNumGenes: selectedGroup.mode == "geneExpression" ? 3 : 1,
517
+ maxNumGenes: maxGenes,
518
+ vocabApi: self2.opts.app.vocabApi,
519
+ callback: async ({ geneList: geneList2, groupName }) => {
520
+ if (!selectedGroup) throw `missing selectedGroup`;
521
+ tip3.hide();
522
+ const group = selectedGroup.status == "new" ? { name: groupName, lst: [] } : tg[selectedGroup.index];
523
+ if (selectedGroup.status == "new") tg.push(group);
524
+ const targetTermType = selectedGroup.mode == "geneExpression" ? "geneExpression" : "geneVariant";
525
+ const lst = group.lst.filter((tw) => tw.term.type != targetTermType);
526
+ const tws = await Promise.all(
527
+ geneList2.map(async (d) => {
528
+ let term;
529
+ if (targetTermType == "geneExpression") {
530
+ const gene = d.symbol || d.gene;
531
+ const unit = getGEunit(app.vocabApi);
532
+ const name = `${gene} ${unit}`;
533
+ term = { gene, name, type: "geneExpression" };
534
+ } else {
535
+ term = {
536
+ gene: d.symbol || d.gene,
537
+ name: d.symbol || d.gene,
538
+ type: "geneVariant"
539
+ };
540
+ }
541
+ let tw = group.lst.find((t) => {
542
+ const geneName = t.term.gene || t.term.name;
543
+ const match = d.symbol ? geneName === d.symbol : d.gene ? geneName === d.gene : false;
544
+ return match && t.term.type == targetTermType;
545
+ });
546
+ if (!tw) {
547
+ tw = { term };
548
+ await fillTermWrapper(tw, self2.opts.app.vocabApi);
549
+ } else if (!tw.$id) {
550
+ tw.$id = await get$id(self2.opts.app.vocabApi.getTwMinCopy({ term }));
551
+ }
552
+ return tw;
553
+ })
554
+ );
555
+ group.lst = [...lst, ...tws];
556
+ if (!group.lst.length) tg.splice(selectedGroup.index, 1);
557
+ app.dispatch({
558
+ type: "plot_edit",
559
+ id: self2.parent.id,
560
+ config: {
561
+ termgroups: tg
562
+ }
563
+ });
564
+ },
565
+ backBtn: {
566
+ target: "Genes Menu",
567
+ callback: () => {
568
+ controlPanelBtn.click();
569
+ }
570
+ },
571
+ termsAsListed: geneInputType == "hierCluster" && !self2.parent.config.settings.hierCluster.clusterRows || geneInputType != "hierCluster" && self2.parent.config.settings.matrix.sortTermsBy == "asListed"
572
+ });
573
+ };
574
+ const numOfEditableGrps = tg.filter((g) => g.type != "hierCluster").length;
575
+ tr.append("td").attr("class", "sja-termdb-config-row-label").html(geneInputType == "hierCluster" ? "Hierarchical Clustering Gene Set" : "Genomic Alteration Gene Set");
576
+ if (numOfEditableGrps > 0 || geneInputType == "hierCluster") {
577
+ const td1 = tr.append("td").style("display", "block").style("padding", "5px 0px");
578
+ const editGrpDiv = td1.append("div").append("label");
579
+ editGrpDiv.append("button").html(
580
+ numOfEditableGrps > 1 && geneInputType !== "hierCluster" ? "Edit Selected Group" : geneInputType == "hierCluster" ? "Edit Gene Set" : "Edit Current Group"
581
+ ).on("click", () => {
582
+ tip3.clear();
583
+ setMenuBackBtn(tip3.d.append("div").style("padding", "5px"), () => controlPanelBtn.click(), `Back`);
584
+ const genesetEdiUiHolder = tip3.d.append("div");
585
+ triggerGenesetEdit(genesetEdiUiHolder);
586
+ });
587
+ if (numOfEditableGrps > 1 && geneInputType !== "hierCluster") {
588
+ const { nonHierClusterGroups, groupSelect } = setTermGroupSelector(self2, editGrpDiv, tg);
589
+ selectedGroup = nonHierClusterGroups.find((g) => g.selected);
590
+ groupSelect.on("change", () => {
591
+ selectedGroup = nonHierClusterGroups[groupSelect.property("value")];
592
+ });
593
+ } else {
594
+ const s = parent.config.settings.hierCluster;
595
+ const g = geneInputType == "hierCluster" ? tg.find((g2) => g2.type == "hierCluster") : tg.find((g2) => g2.type != "hierCluster");
596
+ selectedGroup = {
597
+ index: geneInputType == "hierCluster" ? tg.findIndex((g2) => g2.type == "hierCluster") : tg[0].type == g.type ? 0 : 1,
598
+ name: g.name,
599
+ type: g.type,
600
+ 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 })),
601
+ mode: g.type == "hierCluster" ? s.dataType : (
602
+ // !!subject to change!! when group is not clustering, and ds has mutation, defaults to MUTATION_CNV_FUSION
603
+ self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
604
+ ),
605
+ selected: true
606
+ };
607
+ }
608
+ }
609
+ if (geneInputType == "hierCluster") {
610
+ return;
611
+ }
612
+ const td2 = tr.append("td").style("display", "block").style("padding", "5px 0px");
613
+ const createNewGrpDiv = td2.append("div").append("label");
614
+ const createBtn = createNewGrpDiv.append("button").html("Create New Group").property("disabled", true).on("click", () => {
615
+ tip3.clear();
616
+ setMenuBackBtn(tip3.d.append("div"), () => controlPanelBtn.click(), "Back");
617
+ const name = nameInput.property("value");
618
+ selectedGroup = {
619
+ index: tg.length,
620
+ name,
621
+ label: name,
622
+ lst: [],
623
+ status: "new",
624
+ mode: parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : ""
625
+ };
626
+ triggerGenesetEdit(tip3.d.append("div"));
627
+ });
628
+ const nameInput = createNewGrpDiv.append("input").style("margin", "2px 5px").style("width", "210px").attr("placeholder", "Group Name").on("input", () => {
629
+ createBtn.property("disabled", !nameInput.property("value"));
630
+ }).on("keyup", (event) => {
631
+ if (event.key == "Enter" && !createBtn.property("disabled")) {
632
+ createBtn.node().click();
633
+ }
634
+ });
635
+ }
636
+ function setMenuBackBtn(holder, callback, label) {
637
+ 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) => {
638
+ if (event.key == "Enter") event.target.click();
639
+ });
640
+ }
641
+ function setTermGroupSelector(self2, holder, tg) {
642
+ const firstGrpWithGeneTw = tg.find(
643
+ (g) => g.lst.find((tw) => tw.term.type == TermTypes.GENE_VARIANT && g.type !== "hierCluster")
644
+ );
645
+ const groups = tg.map((g, index) => {
646
+ return {
647
+ index,
648
+ name: g.name,
649
+ type: g.type,
650
+ lst: g.lst.filter((tw) => tw.term.type == TermTypes.GENE_VARIANT).map((tw) => ({ name: tw.term.name })),
651
+ mode: self2.parent.state.termdbConfig.queries?.snvindel ? TermTypes.GENE_VARIANT : "",
652
+ selected: g === firstGrpWithGeneTw
653
+ };
654
+ });
655
+ const nonHierClusterGroups = groups.filter((g) => g.type != "hierCluster");
656
+ const groupSelect = holder.append("select").style("width", "218px").style("margin", "2px 5px");
657
+ for (const [i, group] of nonHierClusterGroups.entries()) {
658
+ if (group.label) continue;
659
+ if (group.name) group.label = group.name;
660
+ else group.label = `Unlabeled group #${i + 1}`;
661
+ }
662
+ groupSelect.selectAll("option").data(nonHierClusterGroups).enter().append("option").property("selected", (grp) => grp.selected).attr("value", (d, i) => i).html((grp) => grp.label);
663
+ return { nonHierClusterGroups, groupSelect };
664
+ }
665
+
666
+ // plots/matrix/matrix.controls.variables.ts
667
+ var tip2 = new Menu({ padding: "" });
668
+ function setVariablesBtn(self2, s) {
669
+ self2.opts.holder.append("button").datum({
670
+ label: s.controlLabels.Terms || `Variables`,
671
+ //getCount: () => self.parent.termOrder.filter(t => t.tw.term.type != 'geneVariant').length.length,
672
+ rows: [
673
+ {
674
+ label: `Row Group Label Max Length`,
675
+ title: `Truncate the row group label if it exceeds this maximum number of characters`,
676
+ type: "number",
677
+ chartType: "matrix",
678
+ settingsKey: "termGrpLabelMaxChars"
679
+ },
680
+ {
681
+ label: `Row Label Max Length`,
682
+ title: `Truncate the row label if it exceeds this maximum number of characters`,
683
+ type: "number",
684
+ chartType: "matrix",
685
+ settingsKey: "rowlabelmaxchars"
686
+ }
687
+ ],
688
+ customInputs: appendDictInputs
689
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
690
+ }
691
+ function appendDictInputs(self2, app, parent) {
692
+ tip2.clear();
693
+ if (!parent.selectedGroup) parent.selectedGroup = parent.chartType == "hierCluster" ? 1 : 0;
694
+ app.tip.d.append("hr");
695
+ addDictMenu(self2, app, parent, app.tip.d.append("div"));
696
+ }
697
+ async function addDictMenu(self2, app, parent, holder = void 0) {
698
+ const termdb = await import("./app-2NSQK3GQ.js");
699
+ termdb.appInit({
700
+ holder: holder || app.tip.d,
701
+ vocabApi: self2.parent.app.vocabApi,
702
+ focus: "off",
703
+ state: {
704
+ vocab: self2.parent.state.vocab,
705
+ activeCohort: self2.parent.activeCohort,
706
+ nav: {
707
+ header_mode: "search_only"
708
+ },
709
+ tree: {
710
+ usecase: { target: "matrix", detail: "termgroups" }
711
+ }
712
+ },
713
+ tree: {
714
+ submit_lst: (termlst) => {
715
+ submitLst(self2, termlst);
716
+ app.tip.hide();
717
+ }
718
+ },
719
+ search: {
720
+ focus: "off"
721
+ }
722
+ });
723
+ }
724
+ async function submitLst(self2, termlst) {
725
+ const newterms = await Promise.all(
726
+ termlst.map(async (_term) => {
727
+ const term = structuredClone(_term);
728
+ const tw = "id" in term ? { id: term.id, term } : { term };
729
+ await fillTermWrapper(tw, self2.opts.app.vocabApi);
730
+ return tw;
731
+ })
732
+ );
733
+ const termgroups = structuredClone(self2.parent.config.termgroups);
734
+ const i = termgroups.findIndex((g) => g.name == "Variables");
735
+ if (i !== -1) {
736
+ const grp = termgroups[i];
737
+ grp.lst.push(...newterms);
738
+ self2.parent.app.dispatch({
739
+ type: "plot_nestedEdits",
740
+ id: self2.parent.id,
741
+ edits: [
742
+ {
743
+ nestedKeys: ["termgroups", i, "lst"],
744
+ value: grp.lst
745
+ }
746
+ ]
747
+ });
748
+ } else {
749
+ const grp = { name: "Variables", lst: newterms };
750
+ termgroups.push(grp);
751
+ self2.parent.app.dispatch({
752
+ type: "plot_edit",
753
+ id: self2.parent.id,
754
+ config: { termgroups }
755
+ });
756
+ }
757
+ }
758
+
759
+ // plots/matrix/matrix.controls.dimensions.ts
760
+ function setDimensionsBtn(self2, s) {
761
+ const l = s.controlLabels;
762
+ self2.opts.holder.append("button").datum({
763
+ label: "Cell Layout",
764
+ tables: [
765
+ {
766
+ rows: [
767
+ {
768
+ label: "Grid",
769
+ 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.",
770
+ type: "checkbox",
771
+ boxLabel: "show",
772
+ // v===true means property('checked') and convert to recognized 'rect' value for dispatch
773
+ // otherwise, compared value to 'rect' to set the current value of the checkbox
774
+ // note: the non-boolean showGrid values allow keeping the hidden value='pattern' option for benchmark tests
775
+ processInput: (v) => v === true ? "rect" : v === "rect",
776
+ chartType: "matrix",
777
+ settingsKey: "showGrid",
778
+ colspan: 2,
779
+ align: "center"
780
+ // for testing/benchmarking
781
+ // type: 'radio',
782
+ // options: [
783
+ // {
784
+ // label: 'hide',
785
+ // value: ''
786
+ // },
787
+ // {
788
+ // label: 'lines',
789
+ // value: 'pattern' // needs debugging for when s.rowh or d.colw does not apply to all rows
790
+ // },
791
+ // {
792
+ // label: 'rect',
793
+ // value: 'rect'
794
+ // }
795
+ // ]
796
+ },
797
+ {
798
+ label: "Outline Color",
799
+ title: "Set a border color for the whole matrix",
800
+ type: "color",
801
+ chartType: "matrix",
802
+ settingsKey: "outlineStroke",
803
+ colspan: 2,
804
+ align: "center"
805
+ //getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
806
+ },
807
+ {
808
+ label: "Beam Color",
809
+ title: "Set a color for the beam highlighter",
810
+ type: "color",
811
+ chartType: "matrix",
812
+ settingsKey: "beamStroke",
813
+ colspan: 2,
814
+ align: "center"
815
+ //getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
816
+ },
817
+ {
818
+ label: "Grid Line Color",
819
+ title: "Set the grid color, equivalent to applying the same border color for each matrix cell",
820
+ type: "color",
821
+ chartType: "matrix",
822
+ settingsKey: "gridStroke",
823
+ colspan: 2,
824
+ align: "center"
825
+ //getDisplayStyle: plot => self.parent.settings.matrix.showGrid ? '' : 'none'
826
+ },
827
+ {
828
+ label: "Background Color",
829
+ title: `Set the background color when there are no alterations or annotation data for a ${l.sample}`,
830
+ type: "color",
831
+ chartType: "matrix",
832
+ settingsKey: "cellbg",
833
+ colspan: 2,
834
+ align: "center"
835
+ },
836
+ {
837
+ label: `Use Canvas If # ${l.sample} Exceeds`,
838
+ title: `Switch from SVG to canvas rendering when the number of ${l.samples} exceeds this number`,
839
+ type: "number",
840
+ chartType: "matrix",
841
+ settingsKey: "svgCanvasSwitch",
842
+ colspan: 2,
843
+ align: "center",
844
+ width: 60,
845
+ min: 0,
846
+ max: 1e4,
847
+ step: 1
848
+ },
849
+ {
850
+ label: "Canvas Min. Pixel Width",
851
+ title: "Set a minimum pixel width for a matrix cell when using canvas, may affect the perceived sharpness of the canvas image",
852
+ type: "checkbox",
853
+ boxLabel: "apply",
854
+ chartType: "matrix",
855
+ settingsKey: "useMinPixelWidth",
856
+ colspan: 2,
857
+ align: "center",
858
+ getDisplayStyle: () => self2.parent.settings.matrix.useCanvas ? "" : "none"
859
+ }
860
+ ]
861
+ },
862
+ {
863
+ header: ["Cells", "Columns", "Rows"],
864
+ rows: [
865
+ {
866
+ label: "Row Height",
867
+ title: "Set the height of a matrix row",
868
+ type: "number",
869
+ width: 50,
870
+ align: "center",
871
+ chartType: "matrix",
872
+ inputs: [{ label: "N/A" }, { settingsKey: "rowh", min: 8, max: 30, step: 1 }],
873
+ getDisplayStyle(plot) {
874
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
875
+ }
876
+ },
877
+ {
878
+ label: "Min Col. Width",
879
+ title: "Set the minimum width of the auto-computed matrix column width",
880
+ type: "number",
881
+ width: 50,
882
+ align: "center",
883
+ chartType: "matrix",
884
+ inputs: [{ settingsKey: "colwMin", min: 0.1, max: 16, step: 0.2 }, { label: "N/A" }]
885
+ },
886
+ {
887
+ label: "Max Col. Width",
888
+ title: "Set the maximum width of the auto-computed matrix column width",
889
+ type: "number",
890
+ width: 50,
891
+ align: "center",
892
+ chartType: "matrix",
893
+ inputs: [{ settingsKey: "colwMax", min: 1, max: 24, step: 0.2 }, { label: "N/A" }]
894
+ },
895
+ {
896
+ label: "Spacing",
897
+ title: "Set the column spacing. Note that this will be set to 0 when the auto-computed width < 2.",
898
+ type: "number",
899
+ width: 50,
900
+ align: "center",
901
+ chartType: "matrix",
902
+ inputs: [
903
+ { settingsKey: "colspace", min: 0, max: 20, step: 1 },
904
+ { settingsKey: "rowspace", min: 0, max: 20, step: 1 }
905
+ ],
906
+ getDisplayStyle(plot) {
907
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
908
+ }
909
+ },
910
+ {
911
+ label: "Group spacing",
912
+ title: "Set the spacing between column and row groups.",
913
+ type: "number",
914
+ width: 50,
915
+ align: "center",
916
+ chartType: "matrix",
917
+ inputs: [
918
+ self2.parent.chartType == "hierCluster" ? { label: "N/A" } : { settingsKey: "colgspace", min: 0, max: 20, step: 1 },
919
+ { settingsKey: "rowgspace", min: 0, max: 20, step: 1 }
920
+ ]
921
+ }
922
+ ]
923
+ },
924
+ {
925
+ header: ["Labels", "Columns", "Rows"],
926
+ rows: [
927
+ {
928
+ label: "Offset",
929
+ title: "Set the gap between the label text and matrix edge",
930
+ type: "number",
931
+ width: 50,
932
+ align: "center",
933
+ chartType: "matrix",
934
+ inputs: [
935
+ { settingsKey: "collabelgap", min: 0, max: 20, step: 1 },
936
+ { settingsKey: "rowlabelgap", min: 0, max: 20, step: 1 }
937
+ ]
938
+ },
939
+ {
940
+ label: "Spacing",
941
+ title: "Set the gap between labels",
942
+ type: "number",
943
+ width: 50,
944
+ align: "center",
945
+ chartType: "matrix",
946
+ inputs: [
947
+ { settingsKey: "collabelpad", min: 0, max: 20, step: 1 },
948
+ { settingsKey: "rowlabelpad", min: 0, max: 20, step: 1 }
949
+ ]
950
+ },
951
+ {
952
+ label: "Min font size",
953
+ 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.",
954
+ type: "number",
955
+ width: 50,
956
+ align: "center",
957
+ colspan: 2,
958
+ chartType: "matrix",
959
+ settingsKey: "minLabelFontSize",
960
+ min: 0,
961
+ max: 24,
962
+ step: 0.1
963
+ },
964
+ {
965
+ label: "Max font size",
966
+ title: "Set the maximum auto-computed font size for labels",
967
+ type: "number",
968
+ width: 50,
969
+ align: "center",
970
+ colspan: 2,
971
+ chartType: "matrix",
972
+ settingsKey: "maxLabelFontSize",
973
+ min: 0,
974
+ max: 24,
975
+ step: 0.1
976
+ },
977
+ {
978
+ label: "Group label<br/>position",
979
+ title: "Set which side of the matrix to display group labels",
980
+ type: "radio",
981
+ width: 50,
982
+ chartType: "matrix",
983
+ labelDisplay: "block",
984
+ getDisplayStyle(plot) {
985
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
986
+ },
987
+ inputs: [
988
+ {
989
+ settingsKey: "collabelpos",
990
+ // switched since settings.collabelpos refers to the individual column label, not group
991
+ options: [
992
+ { label: "Top", value: "bottom", title: `Display ${l.sample} group labels at the bottom` },
993
+ { label: "Bottom", value: "top", title: `Display ${l.sample} group labels on top` }
994
+ ]
995
+ },
996
+ {
997
+ settingsKey: "rowlabelpos",
998
+ // switched since settings.rowlabelpos refers to the individual column label, not group
999
+ options: [
1000
+ {
1001
+ label: "Left",
1002
+ value: "right",
1003
+ title: `Display gene or variable group labels on the left side`
1004
+ },
1005
+ {
1006
+ label: "Right",
1007
+ value: "left",
1008
+ title: `Display gene or variable group labels on the right side`
1009
+ }
1010
+ ]
1011
+ }
1012
+ ]
1013
+ }
1014
+ ]
1015
+ }
1016
+ ]
1017
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
1018
+ }
1019
+
1020
+ // plots/matrix/matrix.controls.legend.ts
1021
+ function setLegendBtn(self2) {
1022
+ self2.opts.holder.append("button").style("margin", "2px 0").datum({
1023
+ label: "Legend Layout",
1024
+ rows: [
1025
+ //ontop: false,
1026
+ {
1027
+ label: "Font Size",
1028
+ title: "Set the font size for the legend text",
1029
+ type: "number",
1030
+ chartType: "legend",
1031
+ settingsKey: "fontsize"
1032
+ },
1033
+ {
1034
+ label: "Line Height",
1035
+ title: "Set the line height for a legend group",
1036
+ type: "number",
1037
+ chartType: "legend",
1038
+ settingsKey: "lineh"
1039
+ },
1040
+ {
1041
+ label: "Icon Height",
1042
+ title: "Set the icon height for a legend item",
1043
+ type: "number",
1044
+ chartType: "legend",
1045
+ settingsKey: "iconh"
1046
+ },
1047
+ {
1048
+ label: "Icon Width",
1049
+ title: "Set the icon width for a legend item",
1050
+ type: "number",
1051
+ chartType: "legend",
1052
+ settingsKey: "iconw"
1053
+ },
1054
+ /*{
1055
+ label: 'Bottom margin',
1056
+ type: 'number',
1057
+ chartType: 'legend',
1058
+ settingsKey: 'padbtm'
1059
+ },*/
1060
+ {
1061
+ label: "Item Left Pad",
1062
+ title: "Set a left margin for each legend item",
1063
+ type: "number",
1064
+ chartType: "legend",
1065
+ settingsKey: "padx"
1066
+ },
1067
+ {
1068
+ label: "Left Margin",
1069
+ title: "Set a left margin for the whole legend",
1070
+ type: "number",
1071
+ chartType: "legend",
1072
+ settingsKey: "padleft"
1073
+ },
1074
+ {
1075
+ label: "Left Indent",
1076
+ 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.`,
1077
+ type: "number",
1078
+ chartType: "legend",
1079
+ settingsKey: "hangleft"
1080
+ },
1081
+ {
1082
+ label: "Item Layout",
1083
+ title: "Option to separate each legend item into a new line, instead of a horizontal layout in the same line.",
1084
+ type: "checkbox",
1085
+ chartType: "legend",
1086
+ settingsKey: "linesep",
1087
+ boxLabel: "Line separated"
1088
+ }
1089
+ ]
1090
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
1091
+ }
1092
+
1093
+ // plots/matrix/matrix.controls.mutations.ts
1094
+ function setMutationBtn(self2) {
1095
+ self2.opts.holder.append("button").style("margin", "2px 0").datum({
1096
+ label: "Mutation",
1097
+ updateBtn: (btn) => {
1098
+ const s = self2.parent.config.settings.matrix;
1099
+ btn.style("text-decoration", s.allMatrixMutationHidden ? "line-through" : "").style("text-decoration-thickness", s.allMatrixMutationHidden ? "2px" : "");
1100
+ },
1101
+ rows: [
1102
+ {
1103
+ title: `Show mutation options`,
1104
+ type: "radio",
1105
+ chartType: "matrix",
1106
+ settingsKey: "showMatrixMutation",
1107
+ options: [
1108
+ { label: "Show all mutations", value: "all" },
1109
+ { label: `Show only truncating mutations`, value: "onlyTruncating" },
1110
+ { label: `Show only protein-changing mutations`, value: "onlyPC" },
1111
+ { label: `Do not show mutations`, value: "none" },
1112
+ { label: `Show selected mutation`, value: "bySelection" }
1113
+ ],
1114
+ labelDisplay: "block",
1115
+ getDisplayStyle(plot) {
1116
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
1117
+ },
1118
+ callback: self2.parent.mutationControlCallback
1119
+ }
1120
+ ],
1121
+ customInputs: generateMutationItems
1122
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
1123
+ }
1124
+ function generateMutationItems(self2, app, parent, table) {
1125
+ table.attr("class", null);
1126
+ const m = parent.config.settings.matrix;
1127
+ const cnvLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtcnv));
1128
+ if (m.showMatrixMutation !== "none" && (m.allMatrixCNVHidden || !cnvLegendGrp || cnvLegendGrp.crossedOut || !cnvLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
1129
+ table.select("input[type='radio'][value='none']").property("disabled", true);
1130
+ table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
1131
+ }
1132
+ if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixMutation == "bySelection")
1133
+ parent.mutationControlCallback("bySelection");
1134
+ }
1135
+
1136
+ // plots/matrix/matrix.controls.cnv.ts
1137
+ function setCNVBtn(self2) {
1138
+ self2.opts.holder.append("button").style("margin", "2px 0").datum({
1139
+ label: "CNV",
1140
+ updateBtn: (btn) => {
1141
+ const s = self2.parent.config.settings.matrix;
1142
+ const notRendered = s.allMatrixCNVHidden;
1143
+ btn.style("text-decoration", notRendered ? "line-through" : "").style("text-decoration-thickness", notRendered ? "2px" : "");
1144
+ },
1145
+ rows: [
1146
+ {
1147
+ title: `Show CNV options`,
1148
+ type: "radio",
1149
+ chartType: "matrix",
1150
+ settingsKey: "showMatrixCNV",
1151
+ options: [
1152
+ { label: "Show all CNV", value: "all" },
1153
+ { label: `Do not show CNV`, value: "none" },
1154
+ { label: `Show selected CNV`, value: "bySelection" }
1155
+ ],
1156
+ labelDisplay: "block",
1157
+ getDisplayStyle(plot) {
1158
+ return plot.chartType == "hierCluster" ? "none" : "table-row";
1159
+ },
1160
+ callback: self2.parent.CNVControlCallback
1161
+ }
1162
+ ],
1163
+ customInputs: generateCNVItems
1164
+ }).html((d) => d.label).style("margin", "2px 0").on("click", (event, d) => self2.callback(event, d));
1165
+ }
1166
+ function generateCNVItems(self2, app, parent, table) {
1167
+ table.attr("class", null);
1168
+ const m = parent.config.settings.matrix;
1169
+ const mutationLegendGrp = parent.legendData.find((l) => l.dt?.includes(dtsnvindel));
1170
+ if (m.showMatrixCNV !== "none" && (m.allMatrixMutationHidden || !mutationLegendGrp || mutationLegendGrp.crossedOut || !mutationLegendGrp.items.find((i) => !i.greyedOut && !i.crossedOut))) {
1171
+ table.select("input[type='radio'][value='none']").property("disabled", true);
1172
+ table.select("input[type='radio'][value='none'] + span").style("opacity", "0.5").on("mouseup", null);
1173
+ }
1174
+ if (m.addMutationCNVButtons && parent.chartType !== "hierCluster" && m.showMatrixCNV == "bySelection")
1175
+ parent.CNVControlCallback("bySelection");
1176
+ }
1177
+
1178
+ // plots/matrix/matrix.controls.download.ts
1179
+ function setDownloadBtn(self2) {
1180
+ self2.opts.holder.append("button").style("margin", "2px 0").text("Download").on("focus", () => self2.parent.app.tip.hide()).on("click.sjpp-matrix-download", (event) => {
1181
+ const p = self2.parent;
1182
+ if (!p.dom.downloadMenu) p.dom.downloadMenu = new Menu({ padding: "" });
1183
+ const downloadMenu = p.dom.downloadMenu.clear();
1184
+ const div = downloadMenu.d.append("div");
1185
+ div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`SVG image`).on("click.sjpp-matrix-download", () => {
1186
+ to_svg(self2.opts.getSvg(), "matrix", { apply_dom_styles: true });
1187
+ p.dom.downloadMenu.destroy();
1188
+ });
1189
+ div.append("div").attr("class", "sja_menuoption sja_sharp_border").text(`TSV data`).on("click.sjpp-matrix-download", () => {
1190
+ const lst = p.data.lst;
1191
+ const allTerms = p.termOrder.map((t) => t.tw);
1192
+ const assayAvailability = p.state.termdbConfig.assayAvailability;
1193
+ const controlLabels = p.settings.matrix.controlLabels;
1194
+ if (p.config.divideBy?.id && !allTerms.find((a2) => a2.id == p.config.divideBy.id)) {
1195
+ allTerms.push(p.config.divideBy);
1196
+ }
1197
+ const activeSamples = [];
1198
+ for (const d of lst) {
1199
+ for (const tw of allTerms) {
1200
+ if (tw.$id in d) {
1201
+ activeSamples.push(d);
1202
+ break;
1203
+ }
1204
+ }
1205
+ }
1206
+ const header = [controlLabels.Sample];
1207
+ for (const tw of allTerms) header.push(tw.term.name);
1208
+ const rows = [header];
1209
+ for (const sample of activeSamples) {
1210
+ const row = [sample._ref_.label];
1211
+ for (const tw of allTerms) {
1212
+ if (!sample[tw.$id]) {
1213
+ row.push("");
1214
+ } else {
1215
+ if (tw.term.type == "geneVariant") {
1216
+ const allVariant = [];
1217
+ for (const v of sample[tw.$id].renderedValues) {
1218
+ const hasAssayAvailability = assayAvailability?.byDt?.[parseInt(v.dt)];
1219
+ if (v.dt == dtsnvindel) {
1220
+ allVariant.push(
1221
+ (v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + (v.mname ? `,${v.mname}` : "")
1222
+ );
1223
+ } else if (v.dt == dtcnv) {
1224
+ 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;
1225
+ allVariant.push(
1226
+ (v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + cnvValue
1227
+ );
1228
+ } else if (v.dt == dtfusionrna || v.dt == dtsv) {
1229
+ allVariant.push(
1230
+ (v.origin ? `${v.origin} ` : "") + (hasAssayAvailability ? `${dt2label[v.dt]}:` : "") + `${mclass[v.class]?.label}` + /* mname is the partner gene of the fusion, so it is emitted whenever
1231
+ present. The queried gene prefixes it as the usual BCR::ABL1 notation;
1232
+ a queried region has no gene to name, and its coordinates are not put
1233
+ in an export, so the partner stands alone there */
1234
+ (v.mname ? `(${v.gene ? `${v.gene}::` : ""}${v.mname})` : "")
1235
+ );
1236
+ } else {
1237
+ allVariant.push(`DO NOT SUPPORT dt='${v.dt}'`);
1238
+ }
1239
+ }
1240
+ row.push(allVariant.join("|"));
1241
+ } else if (tw.term.type == TermTypes.GENE_EXPRESSION || tw.term.type == TermTypes.METABOLITE_INTENSITY || tw.term.type == TermTypes.PROTEOME_ABUNDANCE) {
1242
+ row.push(sample[tw.$id]?.renderedValues?.[0]?.value || "");
1243
+ } else {
1244
+ row.push(sample[tw.$id]?.renderedValues?.[0] || sample[tw.$id]?.value || "");
1245
+ }
1246
+ }
1247
+ }
1248
+ rows.push(row);
1249
+ }
1250
+ const matrix = rows.map((row) => row.join(" ")).join("\n");
1251
+ const a = document.createElement("a");
1252
+ document.body.appendChild(a);
1253
+ a.addEventListener(
1254
+ "click",
1255
+ function() {
1256
+ const currentDate = fileDateStamp();
1257
+ 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`;
1258
+ a.href = URL.createObjectURL(new Blob([matrix], { type: "text/tab-separated-values" }));
1259
+ document.body.removeChild(a);
1260
+ },
1261
+ false
1262
+ );
1263
+ a.click();
1264
+ p.dom.downloadMenu.destroy();
1265
+ });
1266
+ downloadMenu.showunder(event.target);
1267
+ });
1268
+ }
1269
+
1270
+ // plots/matrix/matrix.zoomPanScroll.ts
1271
+ function setZoomInput(self2) {
1272
+ const holder = self2.opts.holder.append("div").style("display", "inline-block").style("margin-left", "50px");
1273
+ const s = self2.parent.settings.matrix || self2.parent.config.settings.matrix;
1274
+ self2.zoomApi = zoom({
1275
+ holder,
1276
+ title: "Zoom factor relative to the ideal column width, as computed for the number of columns versus available screen width",
1277
+ unit: "",
1278
+ width: "80px",
1279
+ settings: {
1280
+ min: 0.1,
1281
+ // will be determined once the auto-computed width is determined
1282
+ max: 1,
1283
+ // will be determined once the auto-computed width is determined
1284
+ value: 1,
1285
+ increment: s.zoomIncrement,
1286
+ step: s.zoomStep || 5
1287
+ },
1288
+ callback: (zoomLevel) => {
1289
+ const p = self2.parent;
1290
+ const c = p.getVisibleCenterCell(0);
1291
+ p.app.dispatch({
1292
+ type: "plot_edit",
1293
+ id: p.id,
1294
+ config: {
1295
+ settings: {
1296
+ matrix: {
1297
+ zoomLevel,
1298
+ zoomCenterPct: 0.5,
1299
+ zoomIndex: c.totalIndex,
1300
+ zoomGrpIndex: c.grpIndex
1301
+ }
1302
+ }
1303
+ }
1304
+ });
1305
+ },
1306
+ reset: () => {
1307
+ self2.parent.app.dispatch({
1308
+ type: "plot_edit",
1309
+ id: self2.parent.id,
1310
+ config: {
1311
+ settings: {
1312
+ matrix: {
1313
+ zoomLevel: 1,
1314
+ zoomCenterPct: 0
1315
+ }
1316
+ }
1317
+ }
1318
+ });
1319
+ }
1320
+ });
1321
+ }
1322
+ function setDragToggle(self2, opts = {}) {
1323
+ const defaults = {
1324
+ mouseMode: "select",
1325
+ activeBgColor: "rgb(255, 255, 255)"
1326
+ };
1327
+ opts.target.style("cursor", "default");
1328
+ const instance = {
1329
+ opts: Object.assign({}, defaults, opts),
1330
+ dom: {
1331
+ 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")),
1332
+ 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"))
1333
+ }
1334
+ };
1335
+ icons.arrowPointer(instance.dom.selectBtn, { width: 14, height: 14, transform: "translate(50,50)" });
1336
+ icons.grab(instance.dom.grabBtn, { width: 14, height: 14, transform: "translate(30,50)" });
1337
+ function setMode(m) {
1338
+ instance.opts.mouseMode = m;
1339
+ self2.parent.settings.matrix.mouseMode = m;
1340
+ opts.target.style("cursor", m == "select" ? "default" : "grab");
1341
+ instance.dom.selectBtn.style("background-color", m == "select" ? instance.opts.activeBgColor : "");
1342
+ instance.dom.grabBtn.style("background-color", m == "pan" ? instance.opts.activeBgColor : "");
1343
+ }
1344
+ self2.dragToggleApi = {
1345
+ update(s = {}) {
1346
+ Object.assign(instance.opts, s);
1347
+ setMode(instance.opts.mouseMode);
1348
+ },
1349
+ getSettings() {
1350
+ return {
1351
+ mouseMode: instance.opts.mouseMode
1352
+ };
1353
+ }
1354
+ };
1355
+ }
1356
+ function setSvgScroll(self2, state) {
1357
+ self2.svgScrollApi = svgScroll({
1358
+ holder: self2.parent.dom.scroll,
1359
+ height: state.config.settings.matrix.scrollHeight,
1360
+ callback: (dx, eventType) => {
1361
+ const p = self2.parent;
1362
+ const s = p.settings.matrix;
1363
+ const d = p.dimensions;
1364
+ if (eventType == "move") {
1365
+ p.dom.seriesesG.attr("transform", `translate(${d.xOffset + d.seriesXoffset - dx},${d.yOffset})`);
1366
+ p.clusterRenderer.translateElems(-dx, s, d);
1367
+ p.layout.top.attr.adjustBoxTransform(-dx);
1368
+ p.layout.btm.attr.adjustBoxTransform(-dx);
1369
+ if (p.dom.topDendrogram) {
1370
+ p.dom.topDendrogram.attr("transform", `translate(${p.topDendroX - dx},0)`);
1371
+ }
1372
+ } else if (eventType == "up") {
1373
+ const c = p.getVisibleCenterCell(-dx);
1374
+ p.app.dispatch({
1375
+ type: "plot_edit",
1376
+ id: p.id,
1377
+ config: {
1378
+ settings: {
1379
+ matrix: {
1380
+ zoomCenterPct: 0.5,
1381
+ zoomIndex: c.totalIndex,
1382
+ zoomGrpIndex: c.grpIndex
1383
+ }
1384
+ }
1385
+ }
1386
+ });
1387
+ }
1388
+ }
1389
+ });
1390
+ }
1391
+
1392
+ // plots/matrix/matrix.controls.ts
1393
+ var MatrixControls = class {
1394
+ constructor(opts, appState) {
1395
+ this.activeTab = "basic";
1396
+ this.type = "matrixControls";
1397
+ this.opts = opts;
1398
+ this.parent = opts.parent;
1399
+ this.overrides = {};
1400
+ this.opts.holder.style("margin", "10px 10px 20px 10px").style("white-space", "nowrap");
1401
+ const state = this.parent.getState(appState);
1402
+ const s = state.config.settings.matrix;
1403
+ if (this.parent.setClusteringBtn)
1404
+ this.parent.setClusteringBtn(this.opts.holder, (event, data) => this.callback(event, data));
1405
+ setSamplesBtn(this, s);
1406
+ if (state.termdbConfig?.allowedTermTypes?.includes(TermTypes.GENE_VARIANT) || state.termdbConfig.queries.snvindel || this.parent.chartType == "hierCluster" && this.parent.config.dataType == TermTypes.GENE_EXPRESSION) {
1407
+ setGenesBtn(this, s);
1408
+ }
1409
+ if (s.addMutationCNVButtons && this.parent.chartType !== "hierCluster") {
1410
+ setMutationBtn(this);
1411
+ setCNVBtn(this);
1412
+ }
1413
+ setVariablesBtn(this, s);
1414
+ setDimensionsBtn(this, s);
1415
+ setLegendBtn(this);
1416
+ setDownloadBtn(this);
1417
+ setZoomInput(this);
1418
+ setDragToggle(this, {
1419
+ holder: this.opts.holder.append("div").style("display", "inline-block"),
1420
+ target: this.parent.dom.seriesesG
1421
+ });
1422
+ setSvgScroll(this, state);
1423
+ this.keyboardNavHandler = async (event) => {
1424
+ if (event.key == "Escape") {
1425
+ this.parent.app.tip.hide();
1426
+ } else if (event.key == "Enter" || event.key == "ArrowDown") {
1427
+ const elems = event.target.tagName == "BUTTON" ? this.parent.app.tip.d.node().querySelectorAll("input, select") : event.target.querySelectorAll("input, select");
1428
+ for (const elem of elems) {
1429
+ if (elem.checkVisibility?.() || !elem.checkVisibility && elem.getBoundingClientRect().height) {
1430
+ elem.focus();
1431
+ return false;
1432
+ }
1433
+ }
1434
+ } else if (event.key == "Tab" && event.shiftKey || event.key == "Backspace" || event.key == "ArrowUp") {
1435
+ if (event.target.tagName == "BUTTON") event.target.focus();
1436
+ return false;
1437
+ }
1438
+ };
1439
+ this.btns = this.opts.holder.selectAll(":scope>button").filter((d) => d && d.label).on(`keyup.matrix-${this.parent.id}`, this.keyboardNavHandler);
1440
+ }
1441
+ main(overrides = {}) {
1442
+ this.overrides = overrides;
1443
+ this.parent.app.tip.hide();
1444
+ this.btns.text(
1445
+ (d2) => !d2.getCount || d2.showCount == "hide" ? d2.label : d2.showCount == "append" ? `${d2.label} (n=${d2.getCount()})` : `${d2.getCount()} ${d2.label}`
1446
+ ).each(function(d2) {
1447
+ if (d2.updateBtn) d2.updateBtn(select_default(this));
1448
+ });
1449
+ const s = this.parent.settings.matrix || this.parent.config.settings.matrix;
1450
+ const min = this.parent.computedSettings.zoomMin;
1451
+ const max = this.parent.computedSettings.zoomMax;
1452
+ const increment = Math.max(0.01, Number((min / max).toFixed(2)));
1453
+ const d = this.parent.dimensions;
1454
+ if (this.zoomApi)
1455
+ this.zoomApi.update({
1456
+ value: s.zoomLevel.toFixed(2),
1457
+ min: min.toFixed(2),
1458
+ max: max.toFixed(2),
1459
+ increment,
1460
+ step: s.zoomStep || 1
1461
+ });
1462
+ if (this.svgScrollApi && d) {
1463
+ this.svgScrollApi.update({
1464
+ x: d.xOffset,
1465
+ y: d.yOffset - s.scrollHeight,
1466
+ totalWidth: d.zoomedMainW,
1467
+ visibleWidth: d.mainw,
1468
+ zoomCenter: s.zoomCenterPct * d.mainw - d.seriesXoffset
1469
+ });
1470
+ }
1471
+ if (this.dragToggleApi) {
1472
+ this.dragToggleApi.update(s.mouseMode ? { mouseMode: s.mouseMode } : {});
1473
+ }
1474
+ }
1475
+ getSettings() {
1476
+ return {
1477
+ mouseMode: this.dragToggleApi.getSettings().mouseMode
1478
+ };
1479
+ }
1480
+ async callback(event, d) {
1481
+ const app = this.opts.app;
1482
+ const parent = this.opts.parent;
1483
+ const tables = d.tables || [d];
1484
+ event.target.focus();
1485
+ app.tip.clear();
1486
+ const table = app.tip.d.append("table").attr("class", "sjpp-controls-table");
1487
+ for (const t of tables) {
1488
+ if (t.header) {
1489
+ table.append("tr").selectAll("th").data(t.header).enter().append("th").html((d2) => d2);
1490
+ }
1491
+ for (const inputConfig of t.rows) {
1492
+ const holder = table.append("tr");
1493
+ const input = await initByInput[inputConfig.type](
1494
+ Object.assign(
1495
+ {},
1496
+ {
1497
+ holder,
1498
+ app,
1499
+ dispatch: (action) => app.dispatch(action),
1500
+ id: parent.id,
1501
+ debug: this.opts.debug,
1502
+ parent
1503
+ },
1504
+ inputConfig
1505
+ )
1506
+ );
1507
+ input.main(parent.config);
1508
+ }
1509
+ if (t.customInputs) t.customInputs(this, app, parent, table);
1510
+ table.selectAll("select, input, button").attr("tabindex", 0).on("keydown", this.keyboardNavHandler);
1511
+ }
1512
+ app.tip.showunder(event.target);
1513
+ }
1514
+ };
1515
+
1516
+ // plots/matrix/matrix.xtw.ts
1517
+ var addons;
1518
+ async function getTermGroups(termgroups, app) {
1519
+ const termGroups = structuredClone(termgroups);
1520
+ if (!addons)
1521
+ addons = {
1522
+ QualTWValues: discreteAddons,
1523
+ QualTWPredefinedGS: discreteAddons,
1524
+ QualTWCustomGS: discreteAddons,
1525
+ NumTWRegularBin: discreteAddons,
1526
+ NumTWCustomBin: discreteAddons,
1527
+ NumTWCont: continuousAddons,
1528
+ TermCollectionTWCont: TermCollectionContAddons
1529
+ };
1530
+ const opts = {
1531
+ vocabApi: app.vocabApi,
1532
+ addons
1533
+ };
1534
+ for (const [origIndex, tG] of termGroups.entries()) {
1535
+ tG.origIndex = origIndex;
1536
+ if (tG.type == "hierCluster") continue;
1537
+ const xtwlst = [];
1538
+ for (const tw of tG.lst) {
1539
+ const inputTw = tw.getTw?.() || tw;
1540
+ xtwlst.push(
1541
+ inputTw.type in opts.addons && routedTermTypes.has(inputTw.term.type) ? await TwRouter.init(inputTw, opts) : inputTw
1542
+ );
1543
+ }
1544
+ tG.lst = xtwlst;
1545
+ }
1546
+ return termGroups;
1547
+ }
1548
+ var discreteAddons = {
1549
+ setCellProps: {
1550
+ value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
1551
+ const tw = this.getTw();
1552
+ const key = anno.key;
1553
+ const values = tw.term.values || {};
1554
+ cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
1555
+ const tw$id = tw.$id;
1556
+ 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;
1557
+ cell.order = t.ref.bins ? t.ref.bins.findIndex((bin) => bin.name == key) : 0;
1558
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1559
+ cell.y = height * i;
1560
+ const group = tw.legend?.group || tw$id;
1561
+ return { ref: t.ref, group, value: key, entry: { key, label: cell.label, fill: cell.fill } };
1562
+ }
1563
+ }
1564
+ };
1565
+ var continuousAddons = {
1566
+ setCellProps: {
1567
+ value: function(cell, anno, value, s, t, self2, width, height, dx, dy, i) {
1568
+ const tw = this.getTw();
1569
+ const key = anno.key;
1570
+ const values = tw.term.values || {};
1571
+ cell.label = "label" in anno ? anno.label : values[key]?.label ? values[key].label : key;
1572
+ cell.fill = anno.color || values[anno.key]?.color;
1573
+ const tw$id = tw.$id;
1574
+ const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
1575
+ if (!twSpecificSettings[tw$id]) twSpecificSettings[tw$id] = {};
1576
+ const twSettings = twSpecificSettings[tw$id];
1577
+ if (!twSettings.contBarH) twSettings.contBarH = s.barh;
1578
+ if (!("gap" in twSettings)) twSettings.contBarGap = 4;
1579
+ const specialValue = tw.term.values?.[cell.key];
1580
+ if (specialValue?.uncomputable) {
1581
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1582
+ cell.y = height * i;
1583
+ cell.height = twSettings.contBarH;
1584
+ cell.fill = "transparent";
1585
+ cell.label = specialValue.label;
1586
+ const group = tw.legend?.group || tw.$id;
1587
+ return {
1588
+ ref: t.ref,
1589
+ group,
1590
+ value: specialValue.label || specialValue.key,
1591
+ entry: { key, label: cell.label, fill: cell.fill }
1592
+ };
1593
+ }
1594
+ cell.fill = self2.config.settings.matrix.twSpecificSettings?.[tw$id]?.contBarColor || "#555";
1595
+ if (s.transpose) {
1596
+ cell.height = t.scale(cell.key);
1597
+ cell.x = twSettings.contBarGap;
1598
+ } else {
1599
+ const vc = cell.term.valueConversion;
1600
+ let renderV = vc ? cell.key * vc.scaleFactor : cell.key;
1601
+ if (this.q.convert2ZScore) {
1602
+ renderV = (renderV - t.mean) / t.std;
1603
+ cell.fill = renderV > 0 ? "#FF6666" : "#6666FF";
1604
+ cell.zscoreLabel = ` (Z-score: ${renderV.toFixed(2)})`;
1605
+ }
1606
+ 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);
1607
+ cell.height = renderV >= 0 ? t.scales.pos(renderV) : t.scales.neg(renderV);
1608
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1609
+ cell.y = renderV >= 0 ? t.counts.posMaxHt + twSettings.contBarGap - cell.height : t.counts.posMaxHt + twSettings.contBarGap;
1610
+ cell.convertedValueLabel = !vc ? "" : convertUnits(cell.key, vc.fromUnit, vc.toUnit, vc.scaleFactor);
1611
+ }
1612
+ }
1613
+ }
1614
+ };
1615
+ var TermCollectionContAddons = {
1616
+ setCellProps: {
1617
+ value: function(cell, anno, value, s, t, self2, width, height, dx, _dy, _i) {
1618
+ const tw = this.getTw();
1619
+ const twSpecificSettings = self2.config.settings.matrix.twSpecificSettings;
1620
+ if (!twSpecificSettings[tw.$id]) twSpecificSettings[tw.$id] = {};
1621
+ const twSettings = twSpecificSettings[tw.$id];
1622
+ if (!twSettings.contBarH) twSettings.contBarH = s.barh;
1623
+ if (!("gap" in twSettings)) twSettings.contBarGap = 4;
1624
+ const isNegative = value.value < 0;
1625
+ if (isNegative) {
1626
+ cell.height = t.scales.neg ? t.scales.neg(value.value) - t.scales.neg(0) : 0;
1627
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1628
+ const cumulativeHeight = t.scales.neg ? t.scales.neg(value.pre_val_sum) - t.scales.neg(0) : 0;
1629
+ cell.y = t.counts.posMaxHt + twSettings.contBarGap + (t.scales.neg ? t.scales.neg(0) : 0) + cumulativeHeight;
1630
+ } else {
1631
+ cell.height = t.scales.pos(value.value) - t.scales.pos(0);
1632
+ cell.x = cell.totalIndex * dx + cell.grpIndex * s.colgspace;
1633
+ const cumulativeHeight = t.scales.pos(value.pre_val_sum) - t.scales.pos(0);
1634
+ cell.y = t.counts.posMaxHt + twSettings.contBarGap - t.scales.pos(0) - cumulativeHeight - cell.height;
1635
+ }
1636
+ cell.label = value.label;
1637
+ cell.fill = twSettings[value.label]?.color || value.color || tw.term.propsByTermId?.[value.label]?.color;
1638
+ cell.value = value.value;
1639
+ return {
1640
+ ref: t.ref,
1641
+ group: tw.$id,
1642
+ value: value.label,
1643
+ order: -1,
1644
+ entry: { key: value.label, label: value.label, fill: cell.fill }
1645
+ };
1646
+ }
1647
+ }
1648
+ };
1649
+
1650
+ // plots/matrix/matrix.js
1651
+ var Matrix = class _Matrix extends PlotBase {
1652
+ static type = "matrix";
1653
+ configTermKeys = ["termgroups.lst", "divideBy"];
1654
+ constructor(opts) {
1655
+ super(opts);
1656
+ this.type = _Matrix.type;
1657
+ this.holderTitle = "Sample Matrix";
1658
+ this.optionalFeatures = JSON.parse(sessionStorage.getItem("optionalFeatures") || `{}`)?.matrix || [];
1659
+ setInteractivity(this);
1660
+ setRenderers(this);
1661
+ }
1662
+ async init(appState) {
1663
+ const opts = this.opts;
1664
+ if (opts.reactsTo) this.reactsTo = opts.reactsTo;
1665
+ this.setDom = setMatrixDom;
1666
+ this.setDom(opts);
1667
+ this.config = appState.plots.find((p) => p.id === this.id);
1668
+ this.settings = Object.assign({}, this.config.settings.matrix);
1669
+ this.computed = {};
1670
+ if (this.dom.header) this.dom.header.html(this.config.preBuiltPlotTitle || this.holderTitle);
1671
+ this.setControls(appState);
1672
+ this.clusterRenderer = new MatrixCluster({ holder: this.dom.cluster, app: this.app, parent: this });
1673
+ this.legendRenderer = svgLegend({
1674
+ holder: this.dom.legendG,
1675
+ rectFillFxn: (d) => d.color,
1676
+ iconStroke: "#aaa",
1677
+ handlers: {
1678
+ legend: {
1679
+ click: this.legendClick
1680
+ }
1681
+ },
1682
+ settings: {
1683
+ isExcludedAttr: "isExcluded"
1684
+ },
1685
+ note: "CLICK A ROW LABEL OR ITEM TO APPLY FILTERING"
1686
+ });
1687
+ this.customTipApi = this.dom.tip.getCustomApi({
1688
+ d: this.dom.menubody,
1689
+ clear: (event) => {
1690
+ if (event?.target) this.dom.menutop.style("display", "none");
1691
+ this.dom.menubody.selectAll("*").remove();
1692
+ return this.customTipApi;
1693
+ },
1694
+ show: () => {
1695
+ this.dom.menubody.style("display", "block");
1696
+ },
1697
+ hide: () => {
1698
+ }
1699
+ });
1700
+ this.setPill(appState);
1701
+ const commonKeys = { mclass, dt2label, morigin };
1702
+ for (const k in commonKeys) {
1703
+ const v = commonKeys[k];
1704
+ this[k] = copyMerge({}, v, appState.termdbConfig[k] || {}, appState.termdbConfig.matrix?.[k] || {});
1705
+ }
1706
+ }
1707
+ setControls(appState) {
1708
+ this.controlsRenderer = new MatrixControls(
1709
+ {
1710
+ app: this.app,
1711
+ id: this.id,
1712
+ parent: this,
1713
+ holder: this.dom.controls,
1714
+ getSvg: () => this.dom.svg.node()
1715
+ },
1716
+ appState
1717
+ );
1718
+ }
1719
+ // reactsTo(action) {
1720
+ // // note: a parent app or 'plot' component is expected to already have
1721
+ // // a comprehensive reactsTo() call to filter the actions for this component,
1722
+ // // so only farther selective action filters should be applied here as needed
1723
+ // return true
1724
+ // }
1725
+ getState(appState) {
1726
+ const config = appState.plots.find((p) => p.id === this.id);
1727
+ const filter0 = appState.termfilter.filter0;
1728
+ if (this.state) this.prevFilter0 = this.state.filter0;
1729
+ else if (this.prevFilter0 === void 0) this.prevFilter0 = filter0;
1730
+ const parentConfig = appState.plots.find((p) => p.id === this.parentId);
1731
+ const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
1732
+ return {
1733
+ isVisible: true,
1734
+ config,
1735
+ filter: termfilter.filter,
1736
+ filter0,
1737
+ // read-only, invisible filter currently only used for gdc dataset
1738
+ hasVerifiedToken: this.app.vocabApi.hasVerifiedToken(),
1739
+ tokenVerificationMessage: this.app.vocabApi.tokenVerificationMessage,
1740
+ vocab: appState.vocab,
1741
+ termdbConfig: appState.termdbConfig,
1742
+ clusterMethod: config.settings.hierCluster?.clusterMethod,
1743
+ distanceMethod: config.settings.hierCluster?.distanceMethod,
1744
+ clusterSamples: config.settings.hierCluster?.clusterSamples,
1745
+ clusterRows: config.settings.hierCluster?.clusterRows,
1746
+ zScoreTransformation: config.settings.hierCluster?.zScoreTransformation,
1747
+ nav: appState.nav,
1748
+ groups: rebaseGroupFilter(appState)
1749
+ };
1750
+ }
1751
+ async main() {
1752
+ try {
1753
+ this.config = await this.getMutableConfig();
1754
+ if (this.mayRequireToken()) return;
1755
+ const termGroups = await getTermGroups(this.config.termgroups, this.app);
1756
+ const prevTranspose = this.settings.transpose;
1757
+ Object.assign(this.settings, structuredClone(this.config.settings), this.controlsRenderer.getSettings());
1758
+ this.dom.loadingDiv.selectAll("*").remove();
1759
+ this.dom.loadingDiv.html("").style("display", "").style("position", "relative").style("left", "45%");
1760
+ this.dom.cohortMsgDiv.html("").style("display", "none");
1761
+ this.dom.svg.style("opacity", 0.1).style("pointer-events", "none");
1762
+ delete this.clickedClusterIds;
1763
+ delete this.clickedLeftClusterIds;
1764
+ try {
1765
+ setComputedConfig(this.config);
1766
+ const promises = [];
1767
+ if (this.setHierClusterData) promises.push(this.setHierClusterData());
1768
+ promises.push(this.setData());
1769
+ this.dom.loadingDiv.html("Processing data ...");
1770
+ await Promise.all(promises);
1771
+ const warnings = this.data.warnings.join("\n");
1772
+ this.dom.warningDiv.style("display", warnings.length ? "" : "none").html(warnings);
1773
+ this.applyLegendValueFilter();
1774
+ if (this.combineData) this.combineData();
1775
+ this.app.save({ type: "plot_edit", id: this.id, config: this.config });
1776
+ } catch (e) {
1777
+ if (e == "no data") {
1778
+ this.showNoMatchingDataMessage();
1779
+ return;
1780
+ } else if (this.app.isAbortError(e)) {
1781
+ return;
1782
+ } else {
1783
+ this.dom.svg.style("display", "none");
1784
+ throw e;
1785
+ }
1786
+ }
1787
+ this.termGroups = termGroups;
1788
+ this.dom.loadingDiv.html("Updating ...").style("display", "");
1789
+ this.termOrder = this.getTermOrder(this.data);
1790
+ this.sampleGroups = this.getSampleGroups(this.hierClusterSamples || this.data);
1791
+ this.sampleOrder = this.getSampleOrder(this.data);
1792
+ this.setLayout();
1793
+ if (this.setHierColorScale) this.setHierColorScale(this.hierClusterData.clustering);
1794
+ if (!this.sampleOrder?.length) {
1795
+ this.showNoMatchingDataMessage();
1796
+ }
1797
+ this.controlsRenderer.main();
1798
+ this.serieses = this.getSerieses(this.data);
1799
+ this.dom.loadingDiv.html("Rendering ...");
1800
+ if (this.plotDendrogramHclust) this.plotDendrogramHclust();
1801
+ this.render();
1802
+ this.dom.loadingDiv.style("display", "none");
1803
+ this.mayDisplayCohortMessage();
1804
+ this.dom.svg.style("display", "").style("opacity", 1).style("pointer-events", "");
1805
+ const [xGrps, yGrps] = !this.settings.matrix.transpose ? ["sampleGrps", "termGrps"] : ["termGrps", "sampleGrps"];
1806
+ const d = this.dimensions;
1807
+ this.clusterRenderer.main({
1808
+ settings: this.settings.matrix,
1809
+ xGrps: this[xGrps],
1810
+ yGrps: this[yGrps],
1811
+ dimensions: d
1812
+ });
1813
+ this.legendRenderer(this.legendData, {
1814
+ settings: Object.assign({}, this.settings.legend, {
1815
+ svgw: Math.max(400, d.mainw + d.xOffset - this.settings.matrix.margin.right),
1816
+ svgh: d.mainh + d.yOffset,
1817
+ dimensions: d,
1818
+ padleft: this.settings.legend.padleft
1819
+ //+ d.xOffset
1820
+ })
1821
+ });
1822
+ await this.adjustSvgDimensions(prevTranspose);
1823
+ this.controlsRenderer.main();
1824
+ this.dom.errorDiv.selectAll("*").remove();
1825
+ if (this.data.removedHierClusterTerms) {
1826
+ for (const r of this.data.removedHierClusterTerms) {
1827
+ sayerror(this.dom.errorDiv, r.text + ": " + r.lst.join(", "));
1828
+ }
1829
+ }
1830
+ } catch (e) {
1831
+ const message = this.app.vocabApi.tokenVerificationMessage;
1832
+ this.mayRequireToken(message);
1833
+ if (!message) {
1834
+ this.app.tip.hide();
1835
+ this.dom.loadingDiv.style("display", "none");
1836
+ throw e;
1837
+ }
1838
+ }
1839
+ this.resetInteractions();
1840
+ }
1841
+ showNoMatchingDataMessage() {
1842
+ this.forcedSampleCount = 0;
1843
+ this.dom.svg.style("opacity", 1e-3).style("display", "none");
1844
+ if (this.termOrder && this.dimensions) this.controlsRenderer.main({ sampleCount: 0 });
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").style("margin", "5px 10px").html("No matching cohort sample data for the current gene list.");
1848
+ if (this.settings.matrix.showHints?.includes("genesetEdit")) {
1849
+ const div1 = div.append("div").style("margin", "5px 10px");
1850
+ div1.append("span").html("You may change the selected cohort,");
1851
+ if (this.config.legendGrpFilter?.lst.length || this.config.legendValueFilter?.lst.length) {
1852
+ const cnvBtn = this.controlsRenderer.btns.filter((d) => d.label == "CNV")?.node();
1853
+ if (cnvBtn) {
1854
+ div1.append("br");
1855
+ div1.append("span").html("show hidden ");
1856
+ div1.append("span").html("CNV").style("cursor", "pointer").style("text-decoration", "underline").on("click", () => {
1857
+ cnvBtn.click();
1858
+ });
1859
+ }
1860
+ const mutationBtn = this.controlsRenderer.btns.filter((d) => d.label == "Mutation")?.node();
1861
+ if (cnvBtn && mutationBtn) div1.append("span").html(" or ");
1862
+ if (mutationBtn) {
1863
+ div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Mutation").on("click", () => {
1864
+ mutationBtn.click();
1865
+ });
1866
+ }
1867
+ if (cnvBtn || mutationBtn) div1.append("span").html(" data,");
1868
+ }
1869
+ div1.append("br");
1870
+ div1.append("span").html("or edit the gene list from the ");
1871
+ div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
1872
+ const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
1873
+ const i = setInterval(() => {
1874
+ const editBtn = this.app.tip.d.selectAll("button").filter(function() {
1875
+ return this.innerHTML == "Edit Group";
1876
+ }).node();
1877
+ if (editBtn) {
1878
+ editBtn.click();
1879
+ clearInterval(i);
1880
+ }
1881
+ }, 100);
1882
+ });
1883
+ }
1884
+ this.dom.svg.style("display", "none");
1885
+ }
1886
+ mayDisplayCohortMessage() {
1887
+ const msg = deepEqual(this.state.filter0, this.prevFilter0) ? "" : "The gene list is persisted across cohorts.";
1888
+ if (msg) {
1889
+ this.dom.cohortMsgDiv.html("");
1890
+ const div = this.dom.cohortMsgDiv.append("div").style("display", "inline-block");
1891
+ div.append("div").html(msg);
1892
+ if (this.settings.matrix.showHints?.includes("genesetEdit")) {
1893
+ const div1 = div.append("div");
1894
+ div1.append("span").html(" You may edit the gene list from the ");
1895
+ div1.append("span").style("cursor", "pointer").style("text-decoration", "underline").html("Gene Set Edit Group menu.").on("click", () => {
1896
+ const GenesBtn = this.controlsRenderer.btns.filter((d) => d.label == "Genes")?.node().click();
1897
+ const i = setInterval(() => {
1898
+ const editBtn = this.app.tip.d.selectAll("button").filter(function() {
1899
+ return this.innerHTML == "Edit Group";
1900
+ }).node();
1901
+ if (editBtn) {
1902
+ editBtn.click();
1903
+ clearInterval(i);
1904
+ }
1905
+ }, 100);
1906
+ });
1907
+ }
1908
+ }
1909
+ this.dom.cohortMsgDiv.style("display", msg ? "" : "none");
1910
+ }
1911
+ sampleKey(s) {
1912
+ return s.row.sample;
1913
+ }
1914
+ sampleLabel(s) {
1915
+ return s.label || s.row._ref_.label || "";
1916
+ }
1917
+ sampleGrpKey(s) {
1918
+ return s.grp.name;
1919
+ }
1920
+ sampleGrpLabel(s) {
1921
+ return s.grp.label || s.grp.name || "";
1922
+ }
1923
+ termKey(t) {
1924
+ return t.tw.$id;
1925
+ }
1926
+ termLabel(t) {
1927
+ return t.label;
1928
+ }
1929
+ termGrpKey(t) {
1930
+ return t.grp.name;
1931
+ }
1932
+ termGrpLabel(t) {
1933
+ return t.grp.label || t.grp.name || [{ text: "\u22EE", dx: 3, cls: "sjpp-exclude-svg-download" }];
1934
+ }
1935
+ destroy() {
1936
+ select_default(window).on(`resize.sjpp-${self.id}`, null);
1937
+ }
1938
+ };
1939
+ for (const m of [matrix_data_exports, matrix_groups_exports, matrix_layout_exports, matrix_serieses_exports, matrix_legend_exports]) {
1940
+ for (const methodName in m) {
1941
+ Matrix.prototype[methodName] = m[methodName];
1942
+ }
1943
+ }
1944
+ var matrixInit = getCompInit(Matrix);
1945
+ var componentInit = matrixInit;
1946
+ function makeChartBtnMenu(holder, chartsInstance) {
1947
+ chartsInstance.dom.tip.clear();
1948
+ const menuDiv = holder.append("div");
1949
+ if (chartsInstance.state.termdbConfig.matrixplots) {
1950
+ for (const plot of chartsInstance.state.termdbConfig.matrixplots) {
1951
+ 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 () => {
1952
+ chartsInstance.dom.tip.hide();
1953
+ const config = await chartsInstance.app.vocabApi.getMatrixByName(plot.name);
1954
+ config.preBuiltPlotTitle = plot.name;
1955
+ chartsInstance.app.dispatch({
1956
+ type: "plot_create",
1957
+ config
1958
+ });
1959
+ });
1960
+ }
1961
+ }
1962
+ const chart = {
1963
+ clickTo: chartsInstance.showTree_selectlst,
1964
+ chartType: "matrix",
1965
+ usecase: { target: "matrix", detail: "termgroups" },
1966
+ processSelection: (lst) => {
1967
+ return [
1968
+ {
1969
+ name: "",
1970
+ lst: lst.map((term) => {
1971
+ return { term };
1972
+ })
1973
+ }
1974
+ ];
1975
+ }
1976
+ };
1977
+ chartsInstance.showTree_selectlst(chart);
1978
+ }
1979
+
1980
+ export {
1981
+ Matrix,
1982
+ matrixInit,
1983
+ componentInit,
1984
+ makeChartBtnMenu
1985
+ };
1986
+ //# sourceMappingURL=chunk-7WL4LROG.js.map