@sjcrh/proteinpaint-client 2.198.0 → 2.200.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 (1066) hide show
  1. package/dist/2dmaf-RRV3ORZR.js +1373 -0
  2. package/dist/AIProjectAdmin-DKLEFCGX.js +958 -0
  3. package/dist/AppHeader-WQ2F7HZY.js +835 -0
  4. package/dist/BoxPlot-5JQCYENZ.js +1218 -0
  5. package/dist/BoxPlot-5JQCYENZ.js.map +7 -0
  6. package/dist/CorrelationVolcano-HR6IP2SZ.js +619 -0
  7. package/dist/DE-DAW6ZKM7.js +95 -0
  8. package/dist/DEinput-XCR4VMR3.js +409 -0
  9. package/dist/DEinput-XCR4VMR3.js.map +7 -0
  10. package/dist/DifferentialAnalysis-SETJAZEN.js +243 -0
  11. package/dist/DifferentialAnalysis-SETJAZEN.js.map +7 -0
  12. package/dist/Disco-QEBEVQS2.js +3392 -0
  13. package/dist/Disco.UI-OYVL7UBI.js +248 -0
  14. package/dist/Disco.UI-OYVL7UBI.js.map +7 -0
  15. package/dist/DmrPlot-CWBQDZL7.js +642 -0
  16. package/dist/GB-5PYCR4SV.js +1396 -0
  17. package/dist/GB-5PYCR4SV.js.map +7 -0
  18. package/dist/GSEA-6UKMI6GY.js +846 -0
  19. package/dist/GeneExpInput-2N62XM7Z.js +367 -0
  20. package/dist/GeneExpInput-2N62XM7Z.js.map +7 -0
  21. package/dist/Geomap-ANMR32HE.js +89 -0
  22. package/dist/HicApp-WHPUPHEM.js +2250 -0
  23. package/dist/IDCViewer-FWXRE4AX.js +10817 -0
  24. package/dist/IDCViewer-FWXRE4AX.js.map +7 -0
  25. package/dist/NumBinaryEditor-VG5KOGDA.js +271 -0
  26. package/dist/NumBinaryEditor.unit.spec-UCGFZS3P.js +286 -0
  27. package/dist/NumContEditor-J52RON3G.js +109 -0
  28. package/dist/NumContEditor.unit.spec-5GTWUJEL.js +169 -0
  29. package/dist/NumCustomBinEditor-GM2OJMOX.js +38 -0
  30. package/dist/NumCustomBinEditor.unit.spec-3PGJ25J4.js +284 -0
  31. package/dist/NumDiscreteEditor-2CAKT3Y4.js +179 -0
  32. package/dist/NumDiscreteEditor.unit.spec-XCWSJTRT.js +202 -0
  33. package/dist/NumRegularBinEditor-CZYITY5L.js +38 -0
  34. package/dist/NumRegularBinEditor.unit.spec-OUBZ5XB3.js +227 -0
  35. package/dist/NumSplineEditor-TWRL5AQQ.js +198 -0
  36. package/dist/NumSplineEditor.unit.spec-5P6NQZ3N.js +199 -0
  37. package/dist/NumericDensity-JSOFOEH2.js +38 -0
  38. package/dist/NumericDensity.unit.spec-REUKHMKK.js +221 -0
  39. package/dist/NumericHandler-UZOGKPKB.js +39 -0
  40. package/dist/NumericHandler.unit.spec-X2DAED4O.js +219 -0
  41. package/dist/ProteomeInput-GBVCLNS7.js +394 -0
  42. package/dist/ProteomeInput-GBVCLNS7.js.map +7 -0
  43. package/dist/RunChart2-N4JPWNVV.js +758 -0
  44. package/dist/RunChart2-N4JPWNVV.js.map +7 -0
  45. package/dist/SC-RCZT5BRP.js +1112 -0
  46. package/dist/SC-RCZT5BRP.js.map +7 -0
  47. package/dist/Volcano-2BQ6SYHO.js +1404 -0
  48. package/dist/Volcano-2BQ6SYHO.js.map +7 -0
  49. package/dist/WSIViewer-UDA4WIRT.js +48562 -0
  50. package/dist/WsiSamplesPlot-DYSFMD22.js +165 -0
  51. package/dist/adSandbox-5BUDCAER.js +38 -0
  52. package/dist/animatedBubbleChart-N6MBJ4X3.js +553 -0
  53. package/dist/animatedBubbleChart-N6MBJ4X3.js.map +7 -0
  54. package/dist/app-O64TGDFH.js +37 -0
  55. package/dist/app-Y2STUISK.js +49 -0
  56. package/dist/app.js +23 -23
  57. package/dist/bam-2EOABVGT.js +859 -0
  58. package/dist/bam-2EOABVGT.js.map +7 -0
  59. package/dist/barchart-UHCTYRMJ.js +47 -0
  60. package/dist/barchart.data-LSK2P2PR.js +21 -0
  61. package/dist/barchart.events-Y4H2GADS.js +47 -0
  62. package/dist/barchart.integration.spec-BFGZFECA.js +2243 -0
  63. package/dist/barchart.integration.spec-BFGZFECA.js.map +7 -0
  64. package/dist/barchart2-VIZKZRMP.js +314 -0
  65. package/dist/bars.renderer-54UCFLJS.js +12 -0
  66. package/dist/block-BGSSF6XP.js +6255 -0
  67. package/dist/block.init-H7RKUIHG.js +38 -0
  68. package/dist/block.mds.expressionrank-MA3HGT7S.js +359 -0
  69. package/dist/block.mds.geneboxplot-CWT5DM5T.js +828 -0
  70. package/dist/block.mds.junction-P4I7O73X.js +1545 -0
  71. package/dist/block.mds.svcnv-NSPEY43S.js +6801 -0
  72. package/dist/block.svg-DP4G3LNQ.js +164 -0
  73. package/dist/block.tk.aicheck-EBLTOWKZ.js +283 -0
  74. package/dist/block.tk.ase-X7WKQOFS.js +365 -0
  75. package/dist/block.tk.bam-OIP3TS3N.js +1906 -0
  76. package/dist/block.tk.bedgraphdot-2DDF55J3.js +384 -0
  77. package/dist/block.tk.bigwig.ui-S2SMAEXM.js +211 -0
  78. package/dist/block.tk.bigwig.ui-S2SMAEXM.js.map +7 -0
  79. package/dist/block.tk.hicstraw-4OIG4TBZ.js +823 -0
  80. package/dist/block.tk.junction-52OWEQUN.js +2364 -0
  81. package/dist/block.tk.junction.textmatrixui-64YOSZLW.js +199 -0
  82. package/dist/block.tk.ld-3AMNHBDY.js +99 -0
  83. package/dist/block.tk.menu-4724DJXL.js +1029 -0
  84. package/dist/block.tk.pgv-2SIOPWYI.js +944 -0
  85. package/dist/brainImaging-D43CQQN6.js +423 -0
  86. package/dist/brainImaging-D43CQQN6.js.map +7 -0
  87. package/dist/brainRegions-HJ2VGL3L.js +221 -0
  88. package/dist/bubbleHeatmap-IL44M4QZ.js +383 -0
  89. package/dist/bubbleHeatmap-IL44M4QZ.js.map +7 -0
  90. package/dist/cellTypeBubbleHeatmap-NQP7RCZO.js +283 -0
  91. package/dist/cellTypeBubbleHeatmap-NQP7RCZO.js.map +7 -0
  92. package/dist/chunk-26APRXD3.js +254 -0
  93. package/dist/chunk-2GLA2SWU.js +160 -0
  94. package/dist/chunk-2GLA2SWU.js.map +7 -0
  95. package/dist/chunk-2KXLYFAO.js +4085 -0
  96. package/dist/chunk-3BGFM7Q4.js +1275 -0
  97. package/dist/chunk-3SHZTAGF.js +193 -0
  98. package/dist/chunk-3SHZTAGF.js.map +7 -0
  99. package/dist/chunk-46X6AQ7Z.js +123 -0
  100. package/dist/chunk-46X6AQ7Z.js.map +7 -0
  101. package/dist/chunk-4FQYRDZS.js +276 -0
  102. package/dist/chunk-4FQYRDZS.js.map +7 -0
  103. package/dist/chunk-4HZN6PMU.js +129 -0
  104. package/dist/chunk-4KRGCOTL.js +479 -0
  105. package/dist/chunk-4KRGCOTL.js.map +7 -0
  106. package/dist/chunk-4WF3XDQP.js +220 -0
  107. package/dist/chunk-4WF3XDQP.js.map +7 -0
  108. package/dist/chunk-5DMVORBB.js +98 -0
  109. package/dist/chunk-5QMBB4SK.js +1245 -0
  110. package/dist/chunk-5R63Q5KH.js +1628 -0
  111. package/dist/chunk-5RVA43MN.js +274 -0
  112. package/dist/chunk-5RVA43MN.js.map +7 -0
  113. package/dist/chunk-5T3MOOEJ.js +379 -0
  114. package/dist/chunk-5T3MOOEJ.js.map +7 -0
  115. package/dist/chunk-5T3ZDRTS.js +70 -0
  116. package/dist/chunk-5T3ZDRTS.js.map +7 -0
  117. package/dist/chunk-5ZTVJSYI.js +834 -0
  118. package/dist/chunk-5ZTVJSYI.js.map +7 -0
  119. package/dist/chunk-6JYQGZ3Y.js +446 -0
  120. package/dist/chunk-6OUBUUC2.js +626 -0
  121. package/dist/chunk-6OUBUUC2.js.map +7 -0
  122. package/dist/chunk-6PNPHACF.js +1652 -0
  123. package/dist/chunk-6PNPHACF.js.map +7 -0
  124. package/dist/chunk-6QCYT6G2.js +467 -0
  125. package/dist/chunk-7JRDJNLR.js +263 -0
  126. package/dist/chunk-7JRDJNLR.js.map +7 -0
  127. package/dist/chunk-7PIHRWGG.js +102 -0
  128. package/dist/chunk-7PIHRWGG.js.map +7 -0
  129. package/dist/chunk-7PJNKPQB.js +275 -0
  130. package/dist/chunk-7PJNKPQB.js.map +7 -0
  131. package/dist/chunk-AGLAYNXP.js +170 -0
  132. package/dist/chunk-AGLAYNXP.js.map +7 -0
  133. package/dist/chunk-B4ESQLPB.js +140 -0
  134. package/dist/chunk-B7VDZ6VF.js +399 -0
  135. package/dist/chunk-B7VDZ6VF.js.map +7 -0
  136. package/dist/chunk-BGTBRAJ6.js +50 -0
  137. package/dist/chunk-BGTBRAJ6.js.map +7 -0
  138. package/dist/chunk-BNAO6N5X.js +2899 -0
  139. package/dist/chunk-BNAO6N5X.js.map +7 -0
  140. package/dist/chunk-BQHPJY2M.js +347 -0
  141. package/dist/chunk-BQHPJY2M.js.map +7 -0
  142. package/dist/chunk-BZTWTH4Y.js +87 -0
  143. package/dist/chunk-BZTWTH4Y.js.map +7 -0
  144. package/dist/chunk-CY4RQ5L6.js +1710 -0
  145. package/dist/chunk-CY4RQ5L6.js.map +7 -0
  146. package/dist/chunk-D565DNJD.js +236 -0
  147. package/dist/chunk-D565DNJD.js.map +7 -0
  148. package/dist/chunk-DH3LAQKT.js +384 -0
  149. package/dist/chunk-DH3LAQKT.js.map +7 -0
  150. package/dist/chunk-E3VF4RHJ.js +381 -0
  151. package/dist/chunk-EGPNRSPF.js +292 -0
  152. package/dist/chunk-FACITNG5.js +142 -0
  153. package/dist/chunk-GNS6CQMA.js +119 -0
  154. package/dist/chunk-GNS6CQMA.js.map +7 -0
  155. package/dist/chunk-H3N4KYKL.js +2327 -0
  156. package/dist/chunk-H3VWJH4U.js +14 -0
  157. package/dist/chunk-HEVKBSN6.js +222 -0
  158. package/dist/chunk-HQUYAZQY.js +514 -0
  159. package/dist/chunk-IUBBQPO2.js +146 -0
  160. package/dist/chunk-IUBBQPO2.js.map +7 -0
  161. package/dist/chunk-J4USU73L.js +26 -0
  162. package/dist/chunk-JH73IL4C.js +135 -0
  163. package/dist/chunk-JVPWIVDT.js +1812 -0
  164. package/dist/chunk-JVPWIVDT.js.map +7 -0
  165. package/dist/chunk-KU7YH7MV.js +217 -0
  166. package/dist/chunk-KZILNGAV.js +187 -0
  167. package/dist/chunk-KZILNGAV.js.map +7 -0
  168. package/dist/chunk-M66VDGSH.js +272 -0
  169. package/dist/chunk-MJN6RDXB.js +302 -0
  170. package/dist/chunk-MPNEZ6EL.js +31 -0
  171. package/dist/chunk-MPSLUEI4.js +314 -0
  172. package/dist/chunk-NIXFCC7X.js +368 -0
  173. package/dist/chunk-NODQZTWK.js +276 -0
  174. package/dist/chunk-NRYHIWBS.js +1942 -0
  175. package/dist/chunk-NRYHIWBS.js.map +7 -0
  176. package/dist/chunk-NUWJ4RN7.js +465 -0
  177. package/dist/chunk-NUWJ4RN7.js.map +7 -0
  178. package/dist/chunk-NVTJ5AUT.js +1102 -0
  179. package/dist/chunk-NZRMHM76.js +158 -0
  180. package/dist/chunk-NZRMHM76.js.map +7 -0
  181. package/dist/chunk-OOWXMY7U.js +55 -0
  182. package/dist/chunk-OTTMHVYH.js +787 -0
  183. package/dist/chunk-Q5RDQNIT.js +777 -0
  184. package/dist/chunk-QDX2XUNF.js +58 -0
  185. package/dist/chunk-QYXCHZ6U.js +4282 -0
  186. package/dist/chunk-QYXCHZ6U.js.map +7 -0
  187. package/dist/chunk-R6NM2HSH.js +556 -0
  188. package/dist/chunk-R6NM2HSH.js.map +7 -0
  189. package/dist/chunk-RJOY6A74.js +56 -0
  190. package/dist/chunk-RJOY6A74.js.map +7 -0
  191. package/dist/chunk-ROMW4AK2.js +102 -0
  192. package/dist/chunk-RR5U35N7.js +230 -0
  193. package/dist/chunk-RVKADD4L.js +148 -0
  194. package/dist/chunk-S5ZCK44Z.js +54 -0
  195. package/dist/chunk-SNRIVNQ3.js +176 -0
  196. package/dist/chunk-STI7BO3P.js +2681 -0
  197. package/dist/chunk-STI7BO3P.js.map +7 -0
  198. package/dist/chunk-TAM7UCAI.js +263 -0
  199. package/dist/chunk-TDKMBQSM.js +5070 -0
  200. package/dist/chunk-TDKMBQSM.js.map +7 -0
  201. package/dist/chunk-TKW5TW4Z.js +21449 -0
  202. package/dist/chunk-TKW5TW4Z.js.map +7 -0
  203. package/dist/chunk-TQTYW66I.js +2784 -0
  204. package/dist/chunk-TQTYW66I.js.map +7 -0
  205. package/dist/chunk-U3NTH4CS.js +54 -0
  206. package/dist/chunk-U3NTH4CS.js.map +7 -0
  207. package/dist/chunk-UEGQVQD6.js +34 -0
  208. package/dist/chunk-UEGQVQD6.js.map +7 -0
  209. package/dist/chunk-UJELJXJG.js +2110 -0
  210. package/dist/chunk-ULESDMUT.js +480 -0
  211. package/dist/chunk-UUKSL7QC.js +134 -0
  212. package/dist/chunk-UUKSL7QC.js.map +7 -0
  213. package/dist/chunk-VUPWQCDR.js +194 -0
  214. package/dist/chunk-VUPWQCDR.js.map +7 -0
  215. package/dist/chunk-W76X6W73.js +100 -0
  216. package/dist/chunk-W7OS7BNM.js +203 -0
  217. package/dist/chunk-WPHUM5S5.js +98 -0
  218. package/dist/chunk-WPHUM5S5.js.map +7 -0
  219. package/dist/chunk-WTTD6DUL.js +6364 -0
  220. package/dist/chunk-WXPFMVU6.js +299 -0
  221. package/dist/chunk-XNWUI5VL.js +37 -0
  222. package/dist/chunk-XNWUI5VL.js.map +7 -0
  223. package/dist/chunk-YBLTSYQV.js +216 -0
  224. package/dist/chunk-Z7VDFWIP.js +126 -0
  225. package/dist/chunk-Z7VDFWIP.js.map +7 -0
  226. package/dist/chunk-ZEKIUYN3.js +448 -0
  227. package/dist/chunk-ZEKIUYN3.js.map +7 -0
  228. package/dist/cohort-OWLNJZVH.js +75 -0
  229. package/dist/cohort-OWLNJZVH.js.map +7 -0
  230. package/dist/condition-L2IXP6WH.js +332 -0
  231. package/dist/controls-2S5QVWUC.js +39 -0
  232. package/dist/controls.config-3AJKR4ZZ.js +39 -0
  233. package/dist/correlation-DXTAWSLU.js +102 -0
  234. package/dist/cuminc-WQB6FHVS.js +1148 -0
  235. package/dist/cuminc-WQB6FHVS.js.map +7 -0
  236. package/dist/cuminc.integration.spec-WAYRLHUH.js +678 -0
  237. package/dist/customdata.inputui-7WH2NJGB.js +289 -0
  238. package/dist/dataDownload-HM4UYOBO.js +330 -0
  239. package/dist/dataDownload.integration.spec-F5CO4BWA.js +193 -0
  240. package/dist/databrowser.ui-E2YOG3L4.js +432 -0
  241. package/dist/databrowser.ui-E2YOG3L4.js.map +7 -0
  242. package/dist/dictionary-EEPTFDYD.js +118 -0
  243. package/dist/dnaMethylation-N3WNK6XA.js +38 -0
  244. package/dist/dnaMethylation.integration.spec-AIYRTFMR.js +203 -0
  245. package/dist/dnaMethylation.integration.spec-AIYRTFMR.js.map +7 -0
  246. package/dist/dofetch-YKYPEJTQ.js +51 -0
  247. package/dist/e2pca-JEZIGVB2.js +350 -0
  248. package/dist/ep-5FMH2MLV.js +1256 -0
  249. package/dist/expclust.gdc.spec-FR26VSUA.js +307 -0
  250. package/dist/facet-5YYY3MUN.js +521 -0
  251. package/dist/facet-5YYY3MUN.js.map +7 -0
  252. package/dist/gb-WGEVO7L2.js +88 -0
  253. package/dist/geneExpClustering-DHE6XJHV.js +249 -0
  254. package/dist/geneExpClustering-DHE6XJHV.js.map +7 -0
  255. package/dist/geneExpression-5NWQXMJ3.js +313 -0
  256. package/dist/geneExpression-VWUMM2LU.js +38 -0
  257. package/dist/geneExpression.unit.spec-HBU3WTZ4.js +102 -0
  258. package/dist/geneExpression.unit.spec-HBU3WTZ4.js.map +7 -0
  259. package/dist/geneORA-3VWFWDYI.js +278 -0
  260. package/dist/geneRanking-PKDVD5OD.js +553 -0
  261. package/dist/geneVariant-IFIJQXH4.js +39 -0
  262. package/dist/geneVariant-WZSOG4GI.js +41 -0
  263. package/dist/geneVariant.integration.spec-6KQMWVHR.js +198 -0
  264. package/dist/genefusion.ui-C4NTALL3.js +308 -0
  265. package/dist/genefusion.ui-C4NTALL3.js.map +7 -0
  266. package/dist/geneset-RJAULSKC.js +208 -0
  267. package/dist/genomeBrowser.spec-42OTTMGO.js +281 -0
  268. package/dist/grin2-26O6YDDY.js +75 -0
  269. package/dist/grin2-FT5BQJMB.js +1143 -0
  270. package/dist/hierCluster-GJPPMFNR.js +59 -0
  271. package/dist/hierCluster-HMJF3PBE.js +63 -0
  272. package/dist/hierCluster.config-TAS7XKTU.js +40 -0
  273. package/dist/hierCluster.integration.spec-RLHQKX65.js +488 -0
  274. package/dist/hierCluster.integration.spec-RLHQKX65.js.map +7 -0
  275. package/dist/hierCluster.interactivity-IKTAJ6CU.js +54 -0
  276. package/dist/hierCluster.renderers-I6WFZRNW.js +21 -0
  277. package/dist/imagePlot-N4OXNMVA.js +163 -0
  278. package/dist/importPlot-VMYXDP66.js +8 -0
  279. package/dist/isoformExpression-2KV64KMN.js +40 -0
  280. package/dist/isoformExpression.unit.spec-RG2VWEMG.js +242 -0
  281. package/dist/isoformExpression.unit.spec-RG2VWEMG.js.map +7 -0
  282. package/dist/junction-VO4IGMW2.js +41 -0
  283. package/dist/junction.customTerm-EFMHHVWA.js +18 -0
  284. package/dist/junction.unit.spec-NB24MR2B.js +187 -0
  285. package/dist/junction.unit.spec-NB24MR2B.js.map +7 -0
  286. package/dist/launch.adhoc-R3MO3VXK.js +42 -0
  287. package/dist/leftlabel.sample-SI6KMULD.js +263 -0
  288. package/dist/leftlabel.sample-SI6KMULD.js.map +7 -0
  289. package/dist/legacyDataset-4BXYHQTS.js +119 -0
  290. package/dist/lollipop-XIVE4ANX.js +171 -0
  291. package/dist/maf-WRHD4OJF.js +459 -0
  292. package/dist/maftimeline-IE6YKV7Y.js +593 -0
  293. package/dist/matrix-ALBCAZP5.js +58 -0
  294. package/dist/matrix-W72XRUZD.js +63 -0
  295. package/dist/matrix.cells-DEEUWC74.js +28 -0
  296. package/dist/matrix.config-JYXQOXDT.js +41 -0
  297. package/dist/matrix.data-ENXNM6RP.js +25 -0
  298. package/dist/matrix.groups-EXSNNESB.js +27 -0
  299. package/dist/matrix.integration.spec-BW6U6PIW.js +3072 -0
  300. package/dist/matrix.interactivity-G6AL566T.js +42 -0
  301. package/dist/matrix.layout-UBUPIJ3R.js +44 -0
  302. package/dist/matrix.legend-S3P4F2DG.js +22 -0
  303. package/dist/matrix.renderers-IXFGXHJQ.js +38 -0
  304. package/dist/matrix.serieses-THHXUAPM.js +21 -0
  305. package/dist/matrix.sort-WJV6LIZI.js +27 -0
  306. package/dist/matrix.sort.unit.spec-LGMIL2LR.js +472 -0
  307. package/dist/matrix.sorterUi-VXVCOKEZ.js +18 -0
  308. package/dist/matrix.sorterUi.unit.spec-CWSEJ62U.js +342 -0
  309. package/dist/mavb-SXGKASQ5.js +732 -0
  310. package/dist/mds.fimo-EDOT3TDN.js +518 -0
  311. package/dist/mds.samplescatterplot-IXHNABKB.js +1550 -0
  312. package/dist/mds.survivalplot-KTTMHHII.js +483 -0
  313. package/dist/numericDictTermCluster-H4JSPW22.js +65 -0
  314. package/dist/oncomatrix-O4EMNUOT.js +295 -0
  315. package/dist/oncomatrix.spec-BME6CQWF.js +448 -0
  316. package/dist/plot.2dvaf-FDM4KXGT.js +377 -0
  317. package/dist/plot.app-UNUXG7ND.js +41 -0
  318. package/dist/plot.barplot-R333TMG2.js +102 -0
  319. package/dist/plot.boxplot-KQTYGUN3.js +152 -0
  320. package/dist/plot.brainImaging-YBYMHCEG.js +51 -0
  321. package/dist/plot.disco-CMDKRSOM.js +102 -0
  322. package/dist/plot.dzi-YAZA6RQS.js +33 -0
  323. package/dist/plot.ssgq-YKCOEXZP.js +139 -0
  324. package/dist/plot.vaf2cov-3TLMTFZS.js +259 -0
  325. package/dist/plot.wsi-7ADVYTQS.js +36 -0
  326. package/dist/polar2-O5SHVLP4.js +237 -0
  327. package/dist/polar2-O5SHVLP4.js.map +7 -0
  328. package/dist/profileForms-RLB6SMPQ.js +940 -0
  329. package/dist/profileForms-RLB6SMPQ.js.map +7 -0
  330. package/dist/profilePlot-AP52VLLO.js +54 -0
  331. package/dist/proteinView-S7WDBMQU.js +1568 -0
  332. package/dist/proteinView-S7WDBMQU.js.map +7 -0
  333. package/dist/proteomeCohortCompare-ERVUM7RO.js +799 -0
  334. package/dist/proteomeCohortCompare-ERVUM7RO.js.map +7 -0
  335. package/dist/pseudbulk.unit.spec-VSH7IM3R.js +91 -0
  336. package/dist/pseudbulk.unit.spec-VSH7IM3R.js.map +7 -0
  337. package/dist/pseudobulk-7UKRLKQI.js +40 -0
  338. package/dist/qualitative-2D7MC4V5.js +43 -0
  339. package/dist/radar2-ELVGQFZE.js +332 -0
  340. package/dist/radar2-ELVGQFZE.js.map +7 -0
  341. package/dist/radarFacility2-SDAZHGNG.js +340 -0
  342. package/dist/radarFacility2-SDAZHGNG.js.map +7 -0
  343. package/dist/regression-CE54AQMY.js +56 -0
  344. package/dist/regression.inputs-SMC5CNPY.js +48 -0
  345. package/dist/regression.inputs.term-XS54IQC2.js +48 -0
  346. package/dist/regression.inputs.values.table-LNPM3MX5.js +45 -0
  347. package/dist/regression.integration.spec-6QSMYPWJ.js +784 -0
  348. package/dist/regression.results-25ZRRDEE.js +40 -0
  349. package/dist/regression.spec-EDWHFRPY.js +708 -0
  350. package/dist/render-SEB6GFXQ.js +38 -0
  351. package/dist/report-U6L3KBYG.js +222 -0
  352. package/dist/sampleView-QAAJ26KT.js +48 -0
  353. package/dist/samplelst-KYRXJSZN.js +111 -0
  354. package/dist/samplematrix-STLF2QA5.js +2198 -0
  355. package/dist/sc-HL6YSMDX.js +86 -0
  356. package/dist/scatter-BSGDMOC2.js +851 -0
  357. package/dist/selectGenomeWithTklst-4NHQDTE6.js +134 -0
  358. package/dist/singleCellCellType-3E2IU42J.js +38 -0
  359. package/dist/singleCellCellType.unit.spec-MC7ZRSMW.js +159 -0
  360. package/dist/singleCellCellType.unit.spec-MC7ZRSMW.js.map +7 -0
  361. package/dist/singleCellGeneExpression-53UUGYTK.js +38 -0
  362. package/dist/singleCellGeneExpression.unit.spec-QSLTXHFE.js +153 -0
  363. package/dist/singleCellGeneExpression.unit.spec-QSLTXHFE.js.map +7 -0
  364. package/dist/singleCellPlot-JDSARDRV.js +54 -0
  365. package/dist/singlecell-IJR7BJYT.js +1572 -0
  366. package/dist/singlecell-OK6GJFWL.js +86 -0
  367. package/dist/snp-H4KJEEOE.js +38 -0
  368. package/dist/snp.unit.spec-2Y4A3XYI.js +176 -0
  369. package/dist/snplocus-4GG6VTWX.js +208 -0
  370. package/dist/spliceevent.a53ss.diagram-JZNRC5UC.js +151 -0
  371. package/dist/spliceevent.exonskip.diagram-H54N7ZKY.js +283 -0
  372. package/dist/spliceevent.noeventdiagram-II753XAK.js +460 -0
  373. package/dist/ssGSEA-JPJ3C4JI.js +38 -0
  374. package/dist/ssGSEA.unit.spec-45F5OCDK.js +88 -0
  375. package/dist/studyCatalog-O3VGIKDM.js +358 -0
  376. package/dist/studyCatalog-O3VGIKDM.js.map +7 -0
  377. package/dist/summarizeCnvGeneexp-55DNXHXA.js +163 -0
  378. package/dist/summarizeGeneexpSurvival-VLO4DC5M.js +110 -0
  379. package/dist/summarizeGeneexpSurvival-VLO4DC5M.js.map +7 -0
  380. package/dist/summarizeMutationCnv-QX7BADYL.js +164 -0
  381. package/dist/summarizeMutationDiagnosis-MHFM7RX6.js +40 -0
  382. package/dist/summarizeMutationSurvival-G4KHSUBN.js +99 -0
  383. package/dist/summary-PJYRCQNY.js +49 -0
  384. package/dist/summary.integration.spec-KPKROD6L.js +414 -0
  385. package/dist/summaryInput-TOAL53EP.js +231 -0
  386. package/dist/summaryInput-TOAL53EP.js.map +7 -0
  387. package/dist/sunburst-IGIV2RBE.js +284 -0
  388. package/dist/survival-DINCIWW7.js +58 -0
  389. package/dist/survival-RKV5BPDK.js +1239 -0
  390. package/dist/survival-RKV5BPDK.js.map +7 -0
  391. package/dist/survival.integration.spec-7ZYBBZKT.js +958 -0
  392. package/dist/survival.integration.spec-7ZYBBZKT.js.map +7 -0
  393. package/dist/svgraph-EUEZWGVR.js +1387 -0
  394. package/dist/svmr-B24LODSC.js +3842 -0
  395. package/dist/table-XSJJ3UZV.js +200 -0
  396. package/dist/termCollection-IAB3425K.js +38 -0
  397. package/dist/termCollection-LGEGHZSJ.js +257 -0
  398. package/dist/termCollection-LGEGHZSJ.js.map +7 -0
  399. package/dist/termCollection.unit.spec-4TIRHC44.js +304 -0
  400. package/dist/termCollection.unit.spec-4TIRHC44.js.map +7 -0
  401. package/dist/termCollectionFractionSelection-35YKAOUY.js +47 -0
  402. package/dist/termCollectionFractionSelection.unit.spec-SUFEIKJZ.js +193 -0
  403. package/dist/termCollectionFractionSelection.unit.spec-SUFEIKJZ.js.map +7 -0
  404. package/dist/tk-25EJJDRK.js +46 -0
  405. package/dist/tk-4E3XJ7CO.js +1127 -0
  406. package/dist/tk-4E3XJ7CO.js.map +7 -0
  407. package/dist/tp.ui-VGA62NFM.js +1459 -0
  408. package/dist/tvs.cohort-F7OJI2MH.js +26 -0
  409. package/dist/tvs.cohort-F7OJI2MH.js.map +7 -0
  410. package/dist/tvs.density-G56327WY.js +19 -0
  411. package/dist/tvs.dt-DFW36WKO.js +39 -0
  412. package/dist/tvs.dtcnv.categorical-ZP33EO3A.js +40 -0
  413. package/dist/tvs.dtcnv.continuous-FJTMQF4J.js +72 -0
  414. package/dist/tvs.dtfusion-FTDQWNKM.js +40 -0
  415. package/dist/tvs.dtitd-W5VEECJ2.js +40 -0
  416. package/dist/tvs.dtsnvindel-UOXSLCDZ.js +40 -0
  417. package/dist/tvs.dtsv-HWCPRVBO.js +40 -0
  418. package/dist/tvs.numeric-7TGKWQYU.js +22 -0
  419. package/dist/tvs.samplelst-OWD22ITS.js +104 -0
  420. package/dist/tvs.termCollection-27BWABYK.js +129 -0
  421. package/dist/tvs.termCollection-27BWABYK.js.map +7 -0
  422. package/dist/violin-2IAVZGFF.js +46 -0
  423. package/dist/violin.integration.spec-JVODKUCL.js +1425 -0
  424. package/dist/violin.integration.spec-JVODKUCL.js.map +7 -0
  425. package/dist/violin.interactivity-STOCZMVN.js +38 -0
  426. package/dist/violin.renderer-MKDTJ3EX.js +40 -0
  427. package/dist/violin.renderer-MKDTJ3EX.js.map +7 -0
  428. package/dist/vocabulary-4IHU6DNN.js +41 -0
  429. package/dist/vocabulary-4IHU6DNN.js.map +7 -0
  430. package/package.json +3 -6
  431. package/dist/2dmaf-R3PFZNRN.js +0 -1373
  432. package/dist/AIProjectAdmin-DM3KG6SR.js +0 -958
  433. package/dist/AppHeader-6DZQ6YZX.js +0 -835
  434. package/dist/BoxPlot-76NINVX4.js +0 -1217
  435. package/dist/BoxPlot-76NINVX4.js.map +0 -7
  436. package/dist/CorrelationVolcano-U5UMJNH5.js +0 -619
  437. package/dist/DE-AXNYWIQK.js +0 -95
  438. package/dist/DEinput-JH6YY6LS.js +0 -301
  439. package/dist/DEinput-JH6YY6LS.js.map +0 -7
  440. package/dist/DifferentialAnalysis-25P4CGIY.js +0 -242
  441. package/dist/DifferentialAnalysis-25P4CGIY.js.map +0 -7
  442. package/dist/Disco-NVMLF3BK.js +0 -3392
  443. package/dist/Disco.UI-C7CZINUQ.js +0 -249
  444. package/dist/Disco.UI-C7CZINUQ.js.map +0 -7
  445. package/dist/DmrPlot-WROR4ENM.js +0 -642
  446. package/dist/GB-JUABODPH.js +0 -1394
  447. package/dist/GB-JUABODPH.js.map +0 -7
  448. package/dist/GSEA-Y5R2THIJ.js +0 -846
  449. package/dist/GeneExpInput-JDU6EI7K.js +0 -367
  450. package/dist/GeneExpInput-JDU6EI7K.js.map +0 -7
  451. package/dist/Geomap-J763OK2F.js +0 -89
  452. package/dist/HicApp-UNIJLH4B.js +0 -2250
  453. package/dist/IDCViewer-KVPCIUDW.js +0 -10803
  454. package/dist/IDCViewer-KVPCIUDW.js.map +0 -7
  455. package/dist/NumBinaryEditor-WMN2GGO4.js +0 -271
  456. package/dist/NumBinaryEditor.unit.spec-TAMXV6SE.js +0 -286
  457. package/dist/NumContEditor-XYIOJY4E.js +0 -109
  458. package/dist/NumContEditor.unit.spec-WDZ75BHO.js +0 -169
  459. package/dist/NumCustomBinEditor-5SY3C4TY.js +0 -38
  460. package/dist/NumCustomBinEditor.unit.spec-XHTAIXR3.js +0 -284
  461. package/dist/NumDiscreteEditor-NRDRX4FD.js +0 -179
  462. package/dist/NumDiscreteEditor.unit.spec-2CJW7OAT.js +0 -202
  463. package/dist/NumRegularBinEditor-DUDVTNDC.js +0 -38
  464. package/dist/NumRegularBinEditor.unit.spec-H3GNQHMN.js +0 -227
  465. package/dist/NumSplineEditor-7Q4AC7KH.js +0 -198
  466. package/dist/NumSplineEditor.unit.spec-YRZK5PH5.js +0 -199
  467. package/dist/NumericDensity-NTNWUESG.js +0 -38
  468. package/dist/NumericDensity.unit.spec-5I5U6T6P.js +0 -221
  469. package/dist/NumericHandler-MEW2KMPX.js +0 -39
  470. package/dist/NumericHandler.unit.spec-JFX4BPRG.js +0 -219
  471. package/dist/ProteomeInput-K2ZHR2U6.js +0 -395
  472. package/dist/ProteomeInput-K2ZHR2U6.js.map +0 -7
  473. package/dist/RunChart2-BEBDU7RC.js +0 -758
  474. package/dist/RunChart2-BEBDU7RC.js.map +0 -7
  475. package/dist/SC-XCBFJVUJ.js +0 -1120
  476. package/dist/SC-XCBFJVUJ.js.map +0 -7
  477. package/dist/Volcano-4Y4TP3UX.js +0 -1385
  478. package/dist/Volcano-4Y4TP3UX.js.map +0 -7
  479. package/dist/WSIViewer-ZLQU62PD.js +0 -48562
  480. package/dist/WsiSamplesPlot-JMBSITOM.js +0 -165
  481. package/dist/adSandbox-664IRCRL.js +0 -38
  482. package/dist/animatedBubbleChart-TX7NW34K.js +0 -555
  483. package/dist/animatedBubbleChart-TX7NW34K.js.map +0 -7
  484. package/dist/app-63WJ3BMP.js +0 -37
  485. package/dist/app-77FIZHCG.js +0 -49
  486. package/dist/bam-IETNVAYD.js +0 -860
  487. package/dist/bam-IETNVAYD.js.map +0 -7
  488. package/dist/barchart-YUVXJNH4.js +0 -47
  489. package/dist/barchart.data-P4EIQXGE.js +0 -22
  490. package/dist/barchart.events-JPVCLTIG.js +0 -47
  491. package/dist/barchart.integration.spec-ZH7DEQI2.js +0 -2196
  492. package/dist/barchart.integration.spec-ZH7DEQI2.js.map +0 -7
  493. package/dist/barchart2-XO2FG76J.js +0 -314
  494. package/dist/bars.renderer-AUIWUJDH.js +0 -12
  495. package/dist/block-NBTCOT3H.js +0 -6255
  496. package/dist/block.init-X7Y2EEVR.js +0 -38
  497. package/dist/block.mds.expressionrank-BIAOZIZ3.js +0 -359
  498. package/dist/block.mds.geneboxplot-CNICDVLK.js +0 -828
  499. package/dist/block.mds.junction-PQXCTSUI.js +0 -1545
  500. package/dist/block.mds.svcnv-32KMVTCT.js +0 -6801
  501. package/dist/block.svg-LRTOYQK2.js +0 -164
  502. package/dist/block.tk.aicheck-HDV7ZIUD.js +0 -283
  503. package/dist/block.tk.ase-JIDWKMYI.js +0 -365
  504. package/dist/block.tk.bam-5X3OS5HB.js +0 -1906
  505. package/dist/block.tk.bedgraphdot-T7JX7YQL.js +0 -384
  506. package/dist/block.tk.bigwig.ui-OSAYEBAE.js +0 -212
  507. package/dist/block.tk.bigwig.ui-OSAYEBAE.js.map +0 -7
  508. package/dist/block.tk.hicstraw-DEY3VQFK.js +0 -823
  509. package/dist/block.tk.junction-7UAFEZSJ.js +0 -2364
  510. package/dist/block.tk.junction.textmatrixui-27LHS33U.js +0 -199
  511. package/dist/block.tk.ld-DF2PI7OO.js +0 -99
  512. package/dist/block.tk.menu-L2D5KBIV.js +0 -1029
  513. package/dist/block.tk.pgv-QO56SKBV.js +0 -944
  514. package/dist/brainImaging-NIPQWFWO.js +0 -423
  515. package/dist/brainImaging-NIPQWFWO.js.map +0 -7
  516. package/dist/brainRegions-ZNZ2WHSU.js +0 -221
  517. package/dist/bubbleHeatmap-ERWNEKZB.js +0 -383
  518. package/dist/bubbleHeatmap-ERWNEKZB.js.map +0 -7
  519. package/dist/chunk-2GYWFQML.js +0 -299
  520. package/dist/chunk-2HYJ4GDH.js +0 -50
  521. package/dist/chunk-2HYJ4GDH.js.map +0 -7
  522. package/dist/chunk-2MG6XE6R.js +0 -272
  523. package/dist/chunk-2MG6XE6R.js.map +0 -7
  524. package/dist/chunk-2X6W4E3W.js +0 -1507
  525. package/dist/chunk-2X6W4E3W.js.map +0 -7
  526. package/dist/chunk-33K5PA52.js +0 -54
  527. package/dist/chunk-37XDBPOP.js +0 -26
  528. package/dist/chunk-3EWB3246.js +0 -58
  529. package/dist/chunk-3RSKOPIY.js +0 -100
  530. package/dist/chunk-3XVVN66M.js +0 -4085
  531. package/dist/chunk-4DPVT4NE.js +0 -1102
  532. package/dist/chunk-4IH7DORZ.js +0 -98
  533. package/dist/chunk-4QNBFIIR.js +0 -399
  534. package/dist/chunk-4QNBFIIR.js.map +0 -7
  535. package/dist/chunk-4STKL6SR.js +0 -217
  536. package/dist/chunk-4TZIVSL5.js +0 -34
  537. package/dist/chunk-4TZIVSL5.js.map +0 -7
  538. package/dist/chunk-5ABGFJSP.js +0 -467
  539. package/dist/chunk-5AZNP47R.js +0 -302
  540. package/dist/chunk-5RL2OHXX.js +0 -5070
  541. package/dist/chunk-5RL2OHXX.js.map +0 -7
  542. package/dist/chunk-5VOPABBA.js +0 -20941
  543. package/dist/chunk-5VOPABBA.js.map +0 -7
  544. package/dist/chunk-6BB43SIB.js +0 -102
  545. package/dist/chunk-6BB43SIB.js.map +0 -7
  546. package/dist/chunk-7IYJZZQI.js +0 -167
  547. package/dist/chunk-7IYJZZQI.js.map +0 -7
  548. package/dist/chunk-7OHRR2IE.js +0 -276
  549. package/dist/chunk-ARBHWDMY.js +0 -226
  550. package/dist/chunk-ARBHWDMY.js.map +0 -7
  551. package/dist/chunk-ASATD4T7.js +0 -14
  552. package/dist/chunk-AZ47Q7BX.js +0 -1223
  553. package/dist/chunk-AZ47Q7BX.js.map +0 -7
  554. package/dist/chunk-B5B3LZB3.js +0 -236
  555. package/dist/chunk-B5B3LZB3.js.map +0 -7
  556. package/dist/chunk-BHGISFCA.js +0 -2681
  557. package/dist/chunk-BHGISFCA.js.map +0 -7
  558. package/dist/chunk-BMBOZ64T.js +0 -2786
  559. package/dist/chunk-BMBOZ64T.js.map +0 -7
  560. package/dist/chunk-BOZJHPJP.js +0 -216
  561. package/dist/chunk-CDD7LYJM.js +0 -194
  562. package/dist/chunk-CDD7LYJM.js.map +0 -7
  563. package/dist/chunk-CTQ3IUCA.js +0 -2327
  564. package/dist/chunk-D7TID3HR.js +0 -158
  565. package/dist/chunk-D7TID3HR.js.map +0 -7
  566. package/dist/chunk-DBKNWR4J.js +0 -1561
  567. package/dist/chunk-DBKNWR4J.js.map +0 -7
  568. package/dist/chunk-E55LLYRX.js +0 -55
  569. package/dist/chunk-ESEQBXTM.js +0 -121
  570. package/dist/chunk-ESEQBXTM.js.map +0 -7
  571. package/dist/chunk-ESGXULRH.js +0 -386
  572. package/dist/chunk-ESGXULRH.js.map +0 -7
  573. package/dist/chunk-EZ4LZ6ZT.js +0 -117
  574. package/dist/chunk-EZ4LZ6ZT.js.map +0 -7
  575. package/dist/chunk-F3SJTVP5.js +0 -4284
  576. package/dist/chunk-F3SJTVP5.js.map +0 -7
  577. package/dist/chunk-F5IXNJO7.js +0 -222
  578. package/dist/chunk-FJYECRHW.js +0 -448
  579. package/dist/chunk-FJYECRHW.js.map +0 -7
  580. package/dist/chunk-FPNRUQOU.js +0 -833
  581. package/dist/chunk-FPNRUQOU.js.map +0 -7
  582. package/dist/chunk-G5S4R77D.js +0 -1942
  583. package/dist/chunk-G5S4R77D.js.map +0 -7
  584. package/dist/chunk-G764NXQN.js +0 -170
  585. package/dist/chunk-G764NXQN.js.map +0 -7
  586. package/dist/chunk-GAPI4MML.js +0 -148
  587. package/dist/chunk-HBW42TDT.js +0 -132
  588. package/dist/chunk-HBW42TDT.js.map +0 -7
  589. package/dist/chunk-HLUZOZXJ.js +0 -272
  590. package/dist/chunk-HOKIK2FR.js +0 -375
  591. package/dist/chunk-HOKIK2FR.js.map +0 -7
  592. package/dist/chunk-I6WR4CG7.js +0 -323
  593. package/dist/chunk-I6WR4CG7.js.map +0 -7
  594. package/dist/chunk-K5XPMCKP.js +0 -135
  595. package/dist/chunk-KI5KI3ZJ.js +0 -276
  596. package/dist/chunk-KI5KI3ZJ.js.map +0 -7
  597. package/dist/chunk-KLGL6XZD.js +0 -129
  598. package/dist/chunk-KYBIQBXE.js +0 -1628
  599. package/dist/chunk-L7IRWUKT.js +0 -480
  600. package/dist/chunk-LFCYMSVA.js +0 -314
  601. package/dist/chunk-LX6G7HJJ.js +0 -617
  602. package/dist/chunk-LX6G7HJJ.js.map +0 -7
  603. package/dist/chunk-M2G5R4WB.js +0 -142
  604. package/dist/chunk-M4TTGGT4.js +0 -102
  605. package/dist/chunk-M4TTGGT4.js.map +0 -7
  606. package/dist/chunk-M6EF3WVV.js +0 -1825
  607. package/dist/chunk-M6EF3WVV.js.map +0 -7
  608. package/dist/chunk-M6KHT3MM.js +0 -146
  609. package/dist/chunk-M6KHT3MM.js.map +0 -7
  610. package/dist/chunk-MCZFHWIR.js +0 -230
  611. package/dist/chunk-MFQACKYU.js +0 -448
  612. package/dist/chunk-MFQACKYU.js.map +0 -7
  613. package/dist/chunk-MVGAGTM3.js +0 -343
  614. package/dist/chunk-MVGAGTM3.js.map +0 -7
  615. package/dist/chunk-NELOT3NJ.js +0 -119
  616. package/dist/chunk-NELOT3NJ.js.map +0 -7
  617. package/dist/chunk-NRKMXULC.js +0 -54
  618. package/dist/chunk-NRKMXULC.js.map +0 -7
  619. package/dist/chunk-NSTL4MY2.js +0 -2110
  620. package/dist/chunk-NYRZNRG5.js +0 -177
  621. package/dist/chunk-NYRZNRG5.js.map +0 -7
  622. package/dist/chunk-OMR2DT66.js +0 -776
  623. package/dist/chunk-ONPKE6DC.js +0 -368
  624. package/dist/chunk-OXVLWQ6M.js +0 -556
  625. package/dist/chunk-OXVLWQ6M.js.map +0 -7
  626. package/dist/chunk-PFRWS4CR.js +0 -203
  627. package/dist/chunk-PJKQUXEN.js +0 -1275
  628. package/dist/chunk-Q2L44HK3.js +0 -6364
  629. package/dist/chunk-QNHT74XC.js +0 -1245
  630. package/dist/chunk-RKO6BL5N.js +0 -446
  631. package/dist/chunk-T25QNZHB.js +0 -254
  632. package/dist/chunk-U7TBYVIQ.js +0 -31
  633. package/dist/chunk-UGRQXBL4.js +0 -381
  634. package/dist/chunk-USFSHSCJ.js +0 -477
  635. package/dist/chunk-USFSHSCJ.js.map +0 -7
  636. package/dist/chunk-VJ6UFVGC.js +0 -2833
  637. package/dist/chunk-VJ6UFVGC.js.map +0 -7
  638. package/dist/chunk-W3WPPOXH.js +0 -292
  639. package/dist/chunk-WFCSOTBO.js +0 -263
  640. package/dist/chunk-WHP4AKDM.js +0 -185
  641. package/dist/chunk-WHP4AKDM.js.map +0 -7
  642. package/dist/chunk-WZ2L57MB.js +0 -102
  643. package/dist/chunk-XPY6AWXO.js +0 -787
  644. package/dist/chunk-Y4UAKFWC.js +0 -37
  645. package/dist/chunk-Y4UAKFWC.js.map +0 -7
  646. package/dist/chunk-YQBS2ZCK.js +0 -514
  647. package/dist/chunk-Z5U6HOE4.js +0 -190
  648. package/dist/chunk-Z5U6HOE4.js.map +0 -7
  649. package/dist/chunk-ZNEJUKJW.js +0 -140
  650. package/dist/chunk-ZTHM2TKP.js +0 -176
  651. package/dist/condition-2PASYSUC.js +0 -332
  652. package/dist/controls-5IMJ6K5L.js +0 -41
  653. package/dist/controls.config-P5PG2DHW.js +0 -39
  654. package/dist/correlation-U3EDLNHR.js +0 -102
  655. package/dist/cuminc-2HUFEROK.js +0 -1149
  656. package/dist/cuminc-2HUFEROK.js.map +0 -7
  657. package/dist/cuminc.integration.spec-WFWAPTDA.js +0 -678
  658. package/dist/customdata.inputui-ZHWNEPFH.js +0 -289
  659. package/dist/dataDownload-VBSJBKMP.js +0 -330
  660. package/dist/dataDownload.integration.spec-LUFSETOP.js +0 -193
  661. package/dist/databrowser.ui-6H2KMSTJ.js +0 -433
  662. package/dist/databrowser.ui-6H2KMSTJ.js.map +0 -7
  663. package/dist/dictionary-V37LXFIP.js +0 -118
  664. package/dist/dnaMethylation-OIZMHMLK.js +0 -38
  665. package/dist/dnaMethylation.integration.spec-CWPTJ74H.js +0 -203
  666. package/dist/dnaMethylation.integration.spec-CWPTJ74H.js.map +0 -7
  667. package/dist/dofetch-IWPZQB5N.js +0 -51
  668. package/dist/e2pca-7SLIAGYW.js +0 -350
  669. package/dist/ep-7L6KF6K4.js +0 -1256
  670. package/dist/expclust.gdc.spec-JT452Q3G.js +0 -307
  671. package/dist/facet-CXOUU5AS.js +0 -521
  672. package/dist/facet-CXOUU5AS.js.map +0 -7
  673. package/dist/forms2-VPNCLQOY.js +0 -539
  674. package/dist/forms2-VPNCLQOY.js.map +0 -7
  675. package/dist/gb-P4VRXRED.js +0 -88
  676. package/dist/geneExpClustering-FQTCKRJJ.js +0 -249
  677. package/dist/geneExpClustering-FQTCKRJJ.js.map +0 -7
  678. package/dist/geneExpression-BHO5326K.js +0 -313
  679. package/dist/geneExpression-ZMERB64E.js +0 -38
  680. package/dist/geneExpression.unit.spec-CNVHZWNG.js +0 -102
  681. package/dist/geneExpression.unit.spec-CNVHZWNG.js.map +0 -7
  682. package/dist/geneORA-FXVUCXGX.js +0 -278
  683. package/dist/geneRanking-SFK4UBKQ.js +0 -553
  684. package/dist/geneVariant-IYEHB4H7.js +0 -41
  685. package/dist/geneVariant-LIRRLUFR.js +0 -39
  686. package/dist/geneVariant.integration.spec-Y2NPNTYX.js +0 -198
  687. package/dist/genefusion.ui-L3HIJM3N.js +0 -309
  688. package/dist/genefusion.ui-L3HIJM3N.js.map +0 -7
  689. package/dist/geneset-A6VUFX63.js +0 -208
  690. package/dist/genomeBrowser.spec-CB4HHHBN.js +0 -281
  691. package/dist/grin2-FKBIMH5N.js +0 -75
  692. package/dist/grin2-V36KLEBU.js +0 -1143
  693. package/dist/hierCluster-QFPRMHVA.js +0 -63
  694. package/dist/hierCluster-YWC3XYPV.js +0 -59
  695. package/dist/hierCluster.config-F7YYZNM3.js +0 -40
  696. package/dist/hierCluster.integration.spec-AF4L3YT6.js +0 -488
  697. package/dist/hierCluster.integration.spec-AF4L3YT6.js.map +0 -7
  698. package/dist/hierCluster.interactivity-RPY74PK6.js +0 -54
  699. package/dist/hierCluster.renderers-LOKHZ3V2.js +0 -21
  700. package/dist/imagePlot-BBEXA754.js +0 -163
  701. package/dist/importPlot-7QGANZGK.js +0 -8
  702. package/dist/isoformExpression-4SLLCVFD.js +0 -40
  703. package/dist/isoformExpression.unit.spec-GEL4JJ64.js +0 -208
  704. package/dist/isoformExpression.unit.spec-GEL4JJ64.js.map +0 -7
  705. package/dist/launch.adhoc-LWLBQJS5.js +0 -42
  706. package/dist/leftlabel.sample-RTEZOIH2.js +0 -264
  707. package/dist/leftlabel.sample-RTEZOIH2.js.map +0 -7
  708. package/dist/legacyDataset-VLD7ZYWI.js +0 -119
  709. package/dist/lollipop-XKQK5QZU.js +0 -171
  710. package/dist/maf-AZQPPWDO.js +0 -459
  711. package/dist/maftimeline-7MSVYKQU.js +0 -593
  712. package/dist/matrix-BGLWC25D.js +0 -58
  713. package/dist/matrix-IQR5SRMK.js +0 -63
  714. package/dist/matrix.cells-5C57NWOY.js +0 -28
  715. package/dist/matrix.config-2DQXAN2E.js +0 -41
  716. package/dist/matrix.data-ADCGF5H6.js +0 -25
  717. package/dist/matrix.groups-V4ITQ5F7.js +0 -27
  718. package/dist/matrix.integration.spec-IBNOO2WP.js +0 -3072
  719. package/dist/matrix.interactivity-JNELJFOV.js +0 -42
  720. package/dist/matrix.layout-WBVIV6GR.js +0 -44
  721. package/dist/matrix.legend-YHOWPK77.js +0 -22
  722. package/dist/matrix.renderers-5BGVRR3M.js +0 -38
  723. package/dist/matrix.serieses-2GZJOASZ.js +0 -21
  724. package/dist/matrix.sort-WKIWPJKP.js +0 -27
  725. package/dist/matrix.sort.unit.spec-L2E4D4AS.js +0 -472
  726. package/dist/matrix.sorterUi-TEJWWJ64.js +0 -18
  727. package/dist/matrix.sorterUi.unit.spec-SHP7C4P7.js +0 -342
  728. package/dist/mavb-4MXNYUEO.js +0 -732
  729. package/dist/mds.fimo-WHIJIBOI.js +0 -518
  730. package/dist/mds.samplescatterplot-BRJ6NG2D.js +0 -1550
  731. package/dist/mds.survivalplot-OPCMB5PB.js +0 -483
  732. package/dist/numericDictTermCluster-7MIFOP2K.js +0 -65
  733. package/dist/oncomatrix-BGG6BEUI.js +0 -295
  734. package/dist/oncomatrix.spec-LYQ4L4F3.js +0 -448
  735. package/dist/plot.2dvaf-6WVCP2ZI.js +0 -377
  736. package/dist/plot.app-MLBP6WFP.js +0 -41
  737. package/dist/plot.barplot-JEPRZSCU.js +0 -102
  738. package/dist/plot.boxplot-GNFW42VM.js +0 -152
  739. package/dist/plot.brainImaging-5ACNSD45.js +0 -51
  740. package/dist/plot.disco-Q2V2KKIH.js +0 -102
  741. package/dist/plot.dzi-KVT6S7K7.js +0 -33
  742. package/dist/plot.ssgq-4N3KFJQ2.js +0 -139
  743. package/dist/plot.vaf2cov-ITRG5U43.js +0 -259
  744. package/dist/plot.wsi-26YZNU4V.js +0 -36
  745. package/dist/polar2-J7GVUK4X.js +0 -231
  746. package/dist/polar2-J7GVUK4X.js.map +0 -7
  747. package/dist/profileForms-VXV2JLXU.js +0 -446
  748. package/dist/profileForms-VXV2JLXU.js.map +0 -7
  749. package/dist/profilePlot-ZZYZK4SY.js +0 -54
  750. package/dist/proteinView-7KN532D3.js +0 -1568
  751. package/dist/proteinView-7KN532D3.js.map +0 -7
  752. package/dist/qualitative-MLRVLIAU.js +0 -43
  753. package/dist/radar2-WM2ZBOH3.js +0 -326
  754. package/dist/radar2-WM2ZBOH3.js.map +0 -7
  755. package/dist/radarFacility2-3SBR2JJ3.js +0 -334
  756. package/dist/radarFacility2-3SBR2JJ3.js.map +0 -7
  757. package/dist/regression-WMRPQJW2.js +0 -56
  758. package/dist/regression.inputs-VWZKSYNY.js +0 -48
  759. package/dist/regression.inputs.term-OWE6GWHM.js +0 -48
  760. package/dist/regression.inputs.values.table-4INNZQI2.js +0 -45
  761. package/dist/regression.integration.spec-XKQ2JOOT.js +0 -784
  762. package/dist/regression.results-VZBYMBYC.js +0 -40
  763. package/dist/regression.spec-DU3UTDCJ.js +0 -708
  764. package/dist/render-N5FOF247.js +0 -38
  765. package/dist/report-DW3OHB67.js +0 -222
  766. package/dist/sampleScatter.spec-REFSK2V4.js +0 -202
  767. package/dist/sampleScatter.spec-REFSK2V4.js.map +0 -7
  768. package/dist/sampleView-ICOT2R6O.js +0 -48
  769. package/dist/samplelst-TJEVASYG.js +0 -111
  770. package/dist/samplematrix-6DAWCXQ3.js +0 -2198
  771. package/dist/sc-53LNOB7N.js +0 -86
  772. package/dist/scatter-DKYSS4DL.js +0 -851
  773. package/dist/selectGenomeWithTklst-WTX66TV3.js +0 -134
  774. package/dist/singleCellCellType-D2CN2BHQ.js +0 -38
  775. package/dist/singleCellCellType.unit.spec-LADUCI4R.js +0 -160
  776. package/dist/singleCellCellType.unit.spec-LADUCI4R.js.map +0 -7
  777. package/dist/singleCellGeneExpression-YR2ZT34W.js +0 -38
  778. package/dist/singleCellGeneExpression.unit.spec-BM63M432.js +0 -153
  779. package/dist/singleCellGeneExpression.unit.spec-BM63M432.js.map +0 -7
  780. package/dist/singleCellPlot-3ICIOILE.js +0 -54
  781. package/dist/singlecell-6ZUFA3BQ.js +0 -86
  782. package/dist/singlecell-KX7W4U57.js +0 -1572
  783. package/dist/snp-VIURB7L3.js +0 -38
  784. package/dist/snp.unit.spec-ACZNZUNS.js +0 -176
  785. package/dist/snplocus-3LW4ZUZR.js +0 -208
  786. package/dist/spliceevent.a53ss.diagram-AKTZGWNM.js +0 -151
  787. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js +0 -283
  788. package/dist/spliceevent.noeventdiagram-YTXWWNTJ.js +0 -460
  789. package/dist/ssGSEA-THW4WFMI.js +0 -38
  790. package/dist/ssGSEA.unit.spec-HTRGQI2K.js +0 -88
  791. package/dist/summarizeCnvGeneexp-RFYC3H2Z.js +0 -163
  792. package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js +0 -114
  793. package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js.map +0 -7
  794. package/dist/summarizeMutationCnv-7AYEMHAI.js +0 -164
  795. package/dist/summarizeMutationDiagnosis-AKFJDSAF.js +0 -40
  796. package/dist/summarizeMutationSurvival-QJHZRQBZ.js +0 -99
  797. package/dist/summary-A5P7AYK4.js +0 -49
  798. package/dist/summary.integration.spec-HQISXGNL.js +0 -414
  799. package/dist/summaryInput-HP675QOQ.js +0 -235
  800. package/dist/summaryInput-HP675QOQ.js.map +0 -7
  801. package/dist/sunburst-65LSYRXX.js +0 -284
  802. package/dist/survival-QNEI6YVK.js +0 -46
  803. package/dist/survival-UI74VXSM.js +0 -58
  804. package/dist/survival.integration.spec-X5N3JQXS.js +0 -915
  805. package/dist/survival.integration.spec-X5N3JQXS.js.map +0 -7
  806. package/dist/svgraph-PSX2NER3.js +0 -1387
  807. package/dist/svmr-QDQ33EFX.js +0 -3842
  808. package/dist/table-LWAI27UO.js +0 -200
  809. package/dist/termCollection-3JHR74FG.js +0 -179
  810. package/dist/termCollection-3JHR74FG.js.map +0 -7
  811. package/dist/termCollection-CDF5LYUG.js +0 -38
  812. package/dist/termCollection.unit.spec-HOJKYWHF.js +0 -208
  813. package/dist/termCollection.unit.spec-HOJKYWHF.js.map +0 -7
  814. package/dist/tk-GL4QCL4K.js +0 -1019
  815. package/dist/tk-GL4QCL4K.js.map +0 -7
  816. package/dist/tk-OEQFO73V.js +0 -46
  817. package/dist/toggleButtons-YK7TIFF2.js +0 -9
  818. package/dist/tp.ui-SHNERDGC.js +0 -1459
  819. package/dist/tvs.density-3XJ6DBGO.js +0 -18
  820. package/dist/tvs.dt-CZDC4TSR.js +0 -39
  821. package/dist/tvs.dtcnv.categorical-OPBDHZGB.js +0 -40
  822. package/dist/tvs.dtcnv.continuous-AR6P4EP3.js +0 -72
  823. package/dist/tvs.dtfusion-2YQ7N6FQ.js +0 -40
  824. package/dist/tvs.dtitd-ATCHW735.js +0 -40
  825. package/dist/tvs.dtsnvindel-WHHWAATJ.js +0 -40
  826. package/dist/tvs.dtsv-3UMCW65O.js +0 -40
  827. package/dist/tvs.numeric-TOEPASWN.js +0 -21
  828. package/dist/tvs.samplelst-M7XKXRTZ.js +0 -104
  829. package/dist/tvs.termCollection-WT4WZMYR.js +0 -159
  830. package/dist/tvs.termCollection-WT4WZMYR.js.map +0 -7
  831. package/dist/violin-2YGXTBDS.js +0 -46
  832. package/dist/violin.integration.spec-YWNHVAGS.js +0 -1425
  833. package/dist/violin.integration.spec-YWNHVAGS.js.map +0 -7
  834. package/dist/violin.interactivity-J6BE2UQL.js +0 -38
  835. package/dist/violin.renderer-3GRUWP2U.js +0 -40
  836. package/dist/vocabulary-2INCVPYJ.js +0 -41
  837. /package/dist/{2dmaf-R3PFZNRN.js.map → 2dmaf-RRV3ORZR.js.map} +0 -0
  838. /package/dist/{AIProjectAdmin-DM3KG6SR.js.map → AIProjectAdmin-DKLEFCGX.js.map} +0 -0
  839. /package/dist/{AppHeader-6DZQ6YZX.js.map → AppHeader-WQ2F7HZY.js.map} +0 -0
  840. /package/dist/{CorrelationVolcano-U5UMJNH5.js.map → CorrelationVolcano-HR6IP2SZ.js.map} +0 -0
  841. /package/dist/{DE-AXNYWIQK.js.map → DE-DAW6ZKM7.js.map} +0 -0
  842. /package/dist/{Disco-NVMLF3BK.js.map → Disco-QEBEVQS2.js.map} +0 -0
  843. /package/dist/{DmrPlot-WROR4ENM.js.map → DmrPlot-CWBQDZL7.js.map} +0 -0
  844. /package/dist/{GSEA-Y5R2THIJ.js.map → GSEA-6UKMI6GY.js.map} +0 -0
  845. /package/dist/{Geomap-J763OK2F.js.map → Geomap-ANMR32HE.js.map} +0 -0
  846. /package/dist/{HicApp-UNIJLH4B.js.map → HicApp-WHPUPHEM.js.map} +0 -0
  847. /package/dist/{NumBinaryEditor-WMN2GGO4.js.map → NumBinaryEditor-VG5KOGDA.js.map} +0 -0
  848. /package/dist/{NumBinaryEditor.unit.spec-TAMXV6SE.js.map → NumBinaryEditor.unit.spec-UCGFZS3P.js.map} +0 -0
  849. /package/dist/{NumContEditor-XYIOJY4E.js.map → NumContEditor-J52RON3G.js.map} +0 -0
  850. /package/dist/{NumContEditor.unit.spec-WDZ75BHO.js.map → NumContEditor.unit.spec-5GTWUJEL.js.map} +0 -0
  851. /package/dist/{NumCustomBinEditor-5SY3C4TY.js.map → NumCustomBinEditor-GM2OJMOX.js.map} +0 -0
  852. /package/dist/{NumCustomBinEditor.unit.spec-XHTAIXR3.js.map → NumCustomBinEditor.unit.spec-3PGJ25J4.js.map} +0 -0
  853. /package/dist/{NumDiscreteEditor-NRDRX4FD.js.map → NumDiscreteEditor-2CAKT3Y4.js.map} +0 -0
  854. /package/dist/{NumDiscreteEditor.unit.spec-2CJW7OAT.js.map → NumDiscreteEditor.unit.spec-XCWSJTRT.js.map} +0 -0
  855. /package/dist/{NumRegularBinEditor-DUDVTNDC.js.map → NumRegularBinEditor-CZYITY5L.js.map} +0 -0
  856. /package/dist/{NumRegularBinEditor.unit.spec-H3GNQHMN.js.map → NumRegularBinEditor.unit.spec-OUBZ5XB3.js.map} +0 -0
  857. /package/dist/{NumSplineEditor-7Q4AC7KH.js.map → NumSplineEditor-TWRL5AQQ.js.map} +0 -0
  858. /package/dist/{NumSplineEditor.unit.spec-YRZK5PH5.js.map → NumSplineEditor.unit.spec-5P6NQZ3N.js.map} +0 -0
  859. /package/dist/{NumericDensity-NTNWUESG.js.map → NumericDensity-JSOFOEH2.js.map} +0 -0
  860. /package/dist/{NumericDensity.unit.spec-5I5U6T6P.js.map → NumericDensity.unit.spec-REUKHMKK.js.map} +0 -0
  861. /package/dist/{NumericHandler-MEW2KMPX.js.map → NumericHandler-UZOGKPKB.js.map} +0 -0
  862. /package/dist/{NumericHandler.unit.spec-JFX4BPRG.js.map → NumericHandler.unit.spec-X2DAED4O.js.map} +0 -0
  863. /package/dist/{WSIViewer-ZLQU62PD.js.map → WSIViewer-UDA4WIRT.js.map} +0 -0
  864. /package/dist/{WsiSamplesPlot-JMBSITOM.js.map → WsiSamplesPlot-DYSFMD22.js.map} +0 -0
  865. /package/dist/{adSandbox-664IRCRL.js.map → adSandbox-5BUDCAER.js.map} +0 -0
  866. /package/dist/{app-63WJ3BMP.js.map → app-O64TGDFH.js.map} +0 -0
  867. /package/dist/{app-77FIZHCG.js.map → app-Y2STUISK.js.map} +0 -0
  868. /package/dist/{barchart-YUVXJNH4.js.map → barchart-UHCTYRMJ.js.map} +0 -0
  869. /package/dist/{barchart.data-P4EIQXGE.js.map → barchart.data-LSK2P2PR.js.map} +0 -0
  870. /package/dist/{barchart.events-JPVCLTIG.js.map → barchart.events-Y4H2GADS.js.map} +0 -0
  871. /package/dist/{barchart2-XO2FG76J.js.map → barchart2-VIZKZRMP.js.map} +0 -0
  872. /package/dist/{bars.renderer-AUIWUJDH.js.map → bars.renderer-54UCFLJS.js.map} +0 -0
  873. /package/dist/{block-NBTCOT3H.js.map → block-BGSSF6XP.js.map} +0 -0
  874. /package/dist/{block.init-X7Y2EEVR.js.map → block.init-H7RKUIHG.js.map} +0 -0
  875. /package/dist/{block.mds.expressionrank-BIAOZIZ3.js.map → block.mds.expressionrank-MA3HGT7S.js.map} +0 -0
  876. /package/dist/{block.mds.geneboxplot-CNICDVLK.js.map → block.mds.geneboxplot-CWT5DM5T.js.map} +0 -0
  877. /package/dist/{block.mds.junction-PQXCTSUI.js.map → block.mds.junction-P4I7O73X.js.map} +0 -0
  878. /package/dist/{block.mds.svcnv-32KMVTCT.js.map → block.mds.svcnv-NSPEY43S.js.map} +0 -0
  879. /package/dist/{block.svg-LRTOYQK2.js.map → block.svg-DP4G3LNQ.js.map} +0 -0
  880. /package/dist/{block.tk.aicheck-HDV7ZIUD.js.map → block.tk.aicheck-EBLTOWKZ.js.map} +0 -0
  881. /package/dist/{block.tk.ase-JIDWKMYI.js.map → block.tk.ase-X7WKQOFS.js.map} +0 -0
  882. /package/dist/{block.tk.bam-5X3OS5HB.js.map → block.tk.bam-OIP3TS3N.js.map} +0 -0
  883. /package/dist/{block.tk.bedgraphdot-T7JX7YQL.js.map → block.tk.bedgraphdot-2DDF55J3.js.map} +0 -0
  884. /package/dist/{block.tk.hicstraw-DEY3VQFK.js.map → block.tk.hicstraw-4OIG4TBZ.js.map} +0 -0
  885. /package/dist/{block.tk.junction-7UAFEZSJ.js.map → block.tk.junction-52OWEQUN.js.map} +0 -0
  886. /package/dist/{block.tk.junction.textmatrixui-27LHS33U.js.map → block.tk.junction.textmatrixui-64YOSZLW.js.map} +0 -0
  887. /package/dist/{block.tk.ld-DF2PI7OO.js.map → block.tk.ld-3AMNHBDY.js.map} +0 -0
  888. /package/dist/{block.tk.menu-L2D5KBIV.js.map → block.tk.menu-4724DJXL.js.map} +0 -0
  889. /package/dist/{block.tk.pgv-QO56SKBV.js.map → block.tk.pgv-2SIOPWYI.js.map} +0 -0
  890. /package/dist/{brainRegions-ZNZ2WHSU.js.map → brainRegions-HJ2VGL3L.js.map} +0 -0
  891. /package/dist/{chunk-T25QNZHB.js.map → chunk-26APRXD3.js.map} +0 -0
  892. /package/dist/{chunk-3XVVN66M.js.map → chunk-2KXLYFAO.js.map} +0 -0
  893. /package/dist/{chunk-PJKQUXEN.js.map → chunk-3BGFM7Q4.js.map} +0 -0
  894. /package/dist/{chunk-KLGL6XZD.js.map → chunk-4HZN6PMU.js.map} +0 -0
  895. /package/dist/{chunk-4IH7DORZ.js.map → chunk-5DMVORBB.js.map} +0 -0
  896. /package/dist/{chunk-QNHT74XC.js.map → chunk-5QMBB4SK.js.map} +0 -0
  897. /package/dist/{chunk-KYBIQBXE.js.map → chunk-5R63Q5KH.js.map} +0 -0
  898. /package/dist/{chunk-RKO6BL5N.js.map → chunk-6JYQGZ3Y.js.map} +0 -0
  899. /package/dist/{chunk-5ABGFJSP.js.map → chunk-6QCYT6G2.js.map} +0 -0
  900. /package/dist/{chunk-ZNEJUKJW.js.map → chunk-B4ESQLPB.js.map} +0 -0
  901. /package/dist/{chunk-UGRQXBL4.js.map → chunk-E3VF4RHJ.js.map} +0 -0
  902. /package/dist/{chunk-W3WPPOXH.js.map → chunk-EGPNRSPF.js.map} +0 -0
  903. /package/dist/{chunk-M2G5R4WB.js.map → chunk-FACITNG5.js.map} +0 -0
  904. /package/dist/{chunk-CTQ3IUCA.js.map → chunk-H3N4KYKL.js.map} +0 -0
  905. /package/dist/{chunk-ASATD4T7.js.map → chunk-H3VWJH4U.js.map} +0 -0
  906. /package/dist/{chunk-F5IXNJO7.js.map → chunk-HEVKBSN6.js.map} +0 -0
  907. /package/dist/{chunk-YQBS2ZCK.js.map → chunk-HQUYAZQY.js.map} +0 -0
  908. /package/dist/{chunk-37XDBPOP.js.map → chunk-J4USU73L.js.map} +0 -0
  909. /package/dist/{chunk-K5XPMCKP.js.map → chunk-JH73IL4C.js.map} +0 -0
  910. /package/dist/{chunk-4STKL6SR.js.map → chunk-KU7YH7MV.js.map} +0 -0
  911. /package/dist/{chunk-HLUZOZXJ.js.map → chunk-M66VDGSH.js.map} +0 -0
  912. /package/dist/{chunk-5AZNP47R.js.map → chunk-MJN6RDXB.js.map} +0 -0
  913. /package/dist/{chunk-U7TBYVIQ.js.map → chunk-MPNEZ6EL.js.map} +0 -0
  914. /package/dist/{chunk-LFCYMSVA.js.map → chunk-MPSLUEI4.js.map} +0 -0
  915. /package/dist/{chunk-ONPKE6DC.js.map → chunk-NIXFCC7X.js.map} +0 -0
  916. /package/dist/{chunk-7OHRR2IE.js.map → chunk-NODQZTWK.js.map} +0 -0
  917. /package/dist/{chunk-4DPVT4NE.js.map → chunk-NVTJ5AUT.js.map} +0 -0
  918. /package/dist/{chunk-E55LLYRX.js.map → chunk-OOWXMY7U.js.map} +0 -0
  919. /package/dist/{chunk-XPY6AWXO.js.map → chunk-OTTMHVYH.js.map} +0 -0
  920. /package/dist/{chunk-OMR2DT66.js.map → chunk-Q5RDQNIT.js.map} +0 -0
  921. /package/dist/{chunk-3EWB3246.js.map → chunk-QDX2XUNF.js.map} +0 -0
  922. /package/dist/{chunk-WZ2L57MB.js.map → chunk-ROMW4AK2.js.map} +0 -0
  923. /package/dist/{chunk-MCZFHWIR.js.map → chunk-RR5U35N7.js.map} +0 -0
  924. /package/dist/{chunk-GAPI4MML.js.map → chunk-RVKADD4L.js.map} +0 -0
  925. /package/dist/{chunk-33K5PA52.js.map → chunk-S5ZCK44Z.js.map} +0 -0
  926. /package/dist/{chunk-ZTHM2TKP.js.map → chunk-SNRIVNQ3.js.map} +0 -0
  927. /package/dist/{chunk-WFCSOTBO.js.map → chunk-TAM7UCAI.js.map} +0 -0
  928. /package/dist/{chunk-NSTL4MY2.js.map → chunk-UJELJXJG.js.map} +0 -0
  929. /package/dist/{chunk-L7IRWUKT.js.map → chunk-ULESDMUT.js.map} +0 -0
  930. /package/dist/{chunk-3RSKOPIY.js.map → chunk-W76X6W73.js.map} +0 -0
  931. /package/dist/{chunk-PFRWS4CR.js.map → chunk-W7OS7BNM.js.map} +0 -0
  932. /package/dist/{chunk-Q2L44HK3.js.map → chunk-WTTD6DUL.js.map} +0 -0
  933. /package/dist/{chunk-2GYWFQML.js.map → chunk-WXPFMVU6.js.map} +0 -0
  934. /package/dist/{chunk-BOZJHPJP.js.map → chunk-YBLTSYQV.js.map} +0 -0
  935. /package/dist/{condition-2PASYSUC.js.map → condition-L2IXP6WH.js.map} +0 -0
  936. /package/dist/{controls-5IMJ6K5L.js.map → controls-2S5QVWUC.js.map} +0 -0
  937. /package/dist/{controls.config-P5PG2DHW.js.map → controls.config-3AJKR4ZZ.js.map} +0 -0
  938. /package/dist/{correlation-U3EDLNHR.js.map → correlation-DXTAWSLU.js.map} +0 -0
  939. /package/dist/{cuminc.integration.spec-WFWAPTDA.js.map → cuminc.integration.spec-WAYRLHUH.js.map} +0 -0
  940. /package/dist/{customdata.inputui-ZHWNEPFH.js.map → customdata.inputui-7WH2NJGB.js.map} +0 -0
  941. /package/dist/{dataDownload-VBSJBKMP.js.map → dataDownload-HM4UYOBO.js.map} +0 -0
  942. /package/dist/{dataDownload.integration.spec-LUFSETOP.js.map → dataDownload.integration.spec-F5CO4BWA.js.map} +0 -0
  943. /package/dist/{dictionary-V37LXFIP.js.map → dictionary-EEPTFDYD.js.map} +0 -0
  944. /package/dist/{dnaMethylation-OIZMHMLK.js.map → dnaMethylation-N3WNK6XA.js.map} +0 -0
  945. /package/dist/{dofetch-IWPZQB5N.js.map → dofetch-YKYPEJTQ.js.map} +0 -0
  946. /package/dist/{e2pca-7SLIAGYW.js.map → e2pca-JEZIGVB2.js.map} +0 -0
  947. /package/dist/{ep-7L6KF6K4.js.map → ep-5FMH2MLV.js.map} +0 -0
  948. /package/dist/{expclust.gdc.spec-JT452Q3G.js.map → expclust.gdc.spec-FR26VSUA.js.map} +0 -0
  949. /package/dist/{gb-P4VRXRED.js.map → gb-WGEVO7L2.js.map} +0 -0
  950. /package/dist/{geneExpression-BHO5326K.js.map → geneExpression-5NWQXMJ3.js.map} +0 -0
  951. /package/dist/{geneExpression-ZMERB64E.js.map → geneExpression-VWUMM2LU.js.map} +0 -0
  952. /package/dist/{geneORA-FXVUCXGX.js.map → geneORA-3VWFWDYI.js.map} +0 -0
  953. /package/dist/{geneRanking-SFK4UBKQ.js.map → geneRanking-PKDVD5OD.js.map} +0 -0
  954. /package/dist/{geneVariant-IYEHB4H7.js.map → geneVariant-IFIJQXH4.js.map} +0 -0
  955. /package/dist/{geneVariant-LIRRLUFR.js.map → geneVariant-WZSOG4GI.js.map} +0 -0
  956. /package/dist/{geneVariant.integration.spec-Y2NPNTYX.js.map → geneVariant.integration.spec-6KQMWVHR.js.map} +0 -0
  957. /package/dist/{geneset-A6VUFX63.js.map → geneset-RJAULSKC.js.map} +0 -0
  958. /package/dist/{genomeBrowser.spec-CB4HHHBN.js.map → genomeBrowser.spec-42OTTMGO.js.map} +0 -0
  959. /package/dist/{grin2-FKBIMH5N.js.map → grin2-26O6YDDY.js.map} +0 -0
  960. /package/dist/{grin2-V36KLEBU.js.map → grin2-FT5BQJMB.js.map} +0 -0
  961. /package/dist/{hierCluster-QFPRMHVA.js.map → hierCluster-GJPPMFNR.js.map} +0 -0
  962. /package/dist/{hierCluster-YWC3XYPV.js.map → hierCluster-HMJF3PBE.js.map} +0 -0
  963. /package/dist/{hierCluster.config-F7YYZNM3.js.map → hierCluster.config-TAS7XKTU.js.map} +0 -0
  964. /package/dist/{hierCluster.interactivity-RPY74PK6.js.map → hierCluster.interactivity-IKTAJ6CU.js.map} +0 -0
  965. /package/dist/{hierCluster.renderers-LOKHZ3V2.js.map → hierCluster.renderers-I6WFZRNW.js.map} +0 -0
  966. /package/dist/{imagePlot-BBEXA754.js.map → imagePlot-N4OXNMVA.js.map} +0 -0
  967. /package/dist/{importPlot-7QGANZGK.js.map → importPlot-VMYXDP66.js.map} +0 -0
  968. /package/dist/{isoformExpression-4SLLCVFD.js.map → isoformExpression-2KV64KMN.js.map} +0 -0
  969. /package/dist/{launch.adhoc-LWLBQJS5.js.map → junction-VO4IGMW2.js.map} +0 -0
  970. /package/dist/{matrix-BGLWC25D.js.map → junction.customTerm-EFMHHVWA.js.map} +0 -0
  971. /package/dist/{matrix-IQR5SRMK.js.map → launch.adhoc-R3MO3VXK.js.map} +0 -0
  972. /package/dist/{legacyDataset-VLD7ZYWI.js.map → legacyDataset-4BXYHQTS.js.map} +0 -0
  973. /package/dist/{lollipop-XKQK5QZU.js.map → lollipop-XIVE4ANX.js.map} +0 -0
  974. /package/dist/{maf-AZQPPWDO.js.map → maf-WRHD4OJF.js.map} +0 -0
  975. /package/dist/{maftimeline-7MSVYKQU.js.map → maftimeline-IE6YKV7Y.js.map} +0 -0
  976. /package/dist/{matrix.cells-5C57NWOY.js.map → matrix-ALBCAZP5.js.map} +0 -0
  977. /package/dist/{matrix.config-2DQXAN2E.js.map → matrix-W72XRUZD.js.map} +0 -0
  978. /package/dist/{matrix.data-ADCGF5H6.js.map → matrix.cells-DEEUWC74.js.map} +0 -0
  979. /package/dist/{matrix.groups-V4ITQ5F7.js.map → matrix.config-JYXQOXDT.js.map} +0 -0
  980. /package/dist/{matrix.interactivity-JNELJFOV.js.map → matrix.data-ENXNM6RP.js.map} +0 -0
  981. /package/dist/{matrix.layout-WBVIV6GR.js.map → matrix.groups-EXSNNESB.js.map} +0 -0
  982. /package/dist/{matrix.integration.spec-IBNOO2WP.js.map → matrix.integration.spec-BW6U6PIW.js.map} +0 -0
  983. /package/dist/{matrix.legend-YHOWPK77.js.map → matrix.interactivity-G6AL566T.js.map} +0 -0
  984. /package/dist/{matrix.renderers-5BGVRR3M.js.map → matrix.layout-UBUPIJ3R.js.map} +0 -0
  985. /package/dist/{matrix.serieses-2GZJOASZ.js.map → matrix.legend-S3P4F2DG.js.map} +0 -0
  986. /package/dist/{matrix.sort-WKIWPJKP.js.map → matrix.renderers-IXFGXHJQ.js.map} +0 -0
  987. /package/dist/{matrix.sorterUi-TEJWWJ64.js.map → matrix.serieses-THHXUAPM.js.map} +0 -0
  988. /package/dist/{plot.app-MLBP6WFP.js.map → matrix.sort-WJV6LIZI.js.map} +0 -0
  989. /package/dist/{matrix.sort.unit.spec-L2E4D4AS.js.map → matrix.sort.unit.spec-LGMIL2LR.js.map} +0 -0
  990. /package/dist/{profilePlot-ZZYZK4SY.js.map → matrix.sorterUi-VXVCOKEZ.js.map} +0 -0
  991. /package/dist/{matrix.sorterUi.unit.spec-SHP7C4P7.js.map → matrix.sorterUi.unit.spec-CWSEJ62U.js.map} +0 -0
  992. /package/dist/{mavb-4MXNYUEO.js.map → mavb-SXGKASQ5.js.map} +0 -0
  993. /package/dist/{mds.fimo-WHIJIBOI.js.map → mds.fimo-EDOT3TDN.js.map} +0 -0
  994. /package/dist/{mds.samplescatterplot-BRJ6NG2D.js.map → mds.samplescatterplot-IXHNABKB.js.map} +0 -0
  995. /package/dist/{mds.survivalplot-OPCMB5PB.js.map → mds.survivalplot-KTTMHHII.js.map} +0 -0
  996. /package/dist/{numericDictTermCluster-7MIFOP2K.js.map → numericDictTermCluster-H4JSPW22.js.map} +0 -0
  997. /package/dist/{oncomatrix-BGG6BEUI.js.map → oncomatrix-O4EMNUOT.js.map} +0 -0
  998. /package/dist/{oncomatrix.spec-LYQ4L4F3.js.map → oncomatrix.spec-BME6CQWF.js.map} +0 -0
  999. /package/dist/{plot.2dvaf-6WVCP2ZI.js.map → plot.2dvaf-FDM4KXGT.js.map} +0 -0
  1000. /package/dist/{qualitative-MLRVLIAU.js.map → plot.app-UNUXG7ND.js.map} +0 -0
  1001. /package/dist/{plot.barplot-JEPRZSCU.js.map → plot.barplot-R333TMG2.js.map} +0 -0
  1002. /package/dist/{plot.boxplot-GNFW42VM.js.map → plot.boxplot-KQTYGUN3.js.map} +0 -0
  1003. /package/dist/{plot.brainImaging-5ACNSD45.js.map → plot.brainImaging-YBYMHCEG.js.map} +0 -0
  1004. /package/dist/{plot.disco-Q2V2KKIH.js.map → plot.disco-CMDKRSOM.js.map} +0 -0
  1005. /package/dist/{plot.dzi-KVT6S7K7.js.map → plot.dzi-YAZA6RQS.js.map} +0 -0
  1006. /package/dist/{plot.ssgq-4N3KFJQ2.js.map → plot.ssgq-YKCOEXZP.js.map} +0 -0
  1007. /package/dist/{plot.vaf2cov-ITRG5U43.js.map → plot.vaf2cov-3TLMTFZS.js.map} +0 -0
  1008. /package/dist/{plot.wsi-26YZNU4V.js.map → plot.wsi-7ADVYTQS.js.map} +0 -0
  1009. /package/dist/{regression-WMRPQJW2.js.map → profilePlot-AP52VLLO.js.map} +0 -0
  1010. /package/dist/{regression.inputs-VWZKSYNY.js.map → pseudobulk-7UKRLKQI.js.map} +0 -0
  1011. /package/dist/{regression.inputs.term-OWE6GWHM.js.map → qualitative-2D7MC4V5.js.map} +0 -0
  1012. /package/dist/{regression.inputs.values.table-4INNZQI2.js.map → regression-CE54AQMY.js.map} +0 -0
  1013. /package/dist/{regression.results-VZBYMBYC.js.map → regression.inputs-SMC5CNPY.js.map} +0 -0
  1014. /package/dist/{render-N5FOF247.js.map → regression.inputs.term-XS54IQC2.js.map} +0 -0
  1015. /package/dist/{sampleView-ICOT2R6O.js.map → regression.inputs.values.table-LNPM3MX5.js.map} +0 -0
  1016. /package/dist/{regression.integration.spec-XKQ2JOOT.js.map → regression.integration.spec-6QSMYPWJ.js.map} +0 -0
  1017. /package/dist/{singleCellCellType-D2CN2BHQ.js.map → regression.results-25ZRRDEE.js.map} +0 -0
  1018. /package/dist/{regression.spec-DU3UTDCJ.js.map → regression.spec-EDWHFRPY.js.map} +0 -0
  1019. /package/dist/{singleCellGeneExpression-YR2ZT34W.js.map → render-SEB6GFXQ.js.map} +0 -0
  1020. /package/dist/{report-DW3OHB67.js.map → report-U6L3KBYG.js.map} +0 -0
  1021. /package/dist/{singleCellPlot-3ICIOILE.js.map → sampleView-QAAJ26KT.js.map} +0 -0
  1022. /package/dist/{samplelst-TJEVASYG.js.map → samplelst-KYRXJSZN.js.map} +0 -0
  1023. /package/dist/{samplematrix-6DAWCXQ3.js.map → samplematrix-STLF2QA5.js.map} +0 -0
  1024. /package/dist/{sc-53LNOB7N.js.map → sc-HL6YSMDX.js.map} +0 -0
  1025. /package/dist/{scatter-DKYSS4DL.js.map → scatter-BSGDMOC2.js.map} +0 -0
  1026. /package/dist/{selectGenomeWithTklst-WTX66TV3.js.map → selectGenomeWithTklst-4NHQDTE6.js.map} +0 -0
  1027. /package/dist/{snp-VIURB7L3.js.map → singleCellCellType-3E2IU42J.js.map} +0 -0
  1028. /package/dist/{ssGSEA-THW4WFMI.js.map → singleCellGeneExpression-53UUGYTK.js.map} +0 -0
  1029. /package/dist/{summarizeMutationDiagnosis-AKFJDSAF.js.map → singleCellPlot-JDSARDRV.js.map} +0 -0
  1030. /package/dist/{singlecell-KX7W4U57.js.map → singlecell-IJR7BJYT.js.map} +0 -0
  1031. /package/dist/{singlecell-6ZUFA3BQ.js.map → singlecell-OK6GJFWL.js.map} +0 -0
  1032. /package/dist/{summary-A5P7AYK4.js.map → snp-H4KJEEOE.js.map} +0 -0
  1033. /package/dist/{snp.unit.spec-ACZNZUNS.js.map → snp.unit.spec-2Y4A3XYI.js.map} +0 -0
  1034. /package/dist/{snplocus-3LW4ZUZR.js.map → snplocus-4GG6VTWX.js.map} +0 -0
  1035. /package/dist/{spliceevent.a53ss.diagram-AKTZGWNM.js.map → spliceevent.a53ss.diagram-JZNRC5UC.js.map} +0 -0
  1036. /package/dist/{spliceevent.exonskip.diagram-XZHXB77R.js.map → spliceevent.exonskip.diagram-H54N7ZKY.js.map} +0 -0
  1037. /package/dist/{spliceevent.noeventdiagram-YTXWWNTJ.js.map → spliceevent.noeventdiagram-II753XAK.js.map} +0 -0
  1038. /package/dist/{survival-QNEI6YVK.js.map → ssGSEA-JPJ3C4JI.js.map} +0 -0
  1039. /package/dist/{ssGSEA.unit.spec-HTRGQI2K.js.map → ssGSEA.unit.spec-45F5OCDK.js.map} +0 -0
  1040. /package/dist/{summarizeCnvGeneexp-RFYC3H2Z.js.map → summarizeCnvGeneexp-55DNXHXA.js.map} +0 -0
  1041. /package/dist/{summarizeMutationCnv-7AYEMHAI.js.map → summarizeMutationCnv-QX7BADYL.js.map} +0 -0
  1042. /package/dist/{termCollection-CDF5LYUG.js.map → summarizeMutationDiagnosis-MHFM7RX6.js.map} +0 -0
  1043. /package/dist/{summarizeMutationSurvival-QJHZRQBZ.js.map → summarizeMutationSurvival-G4KHSUBN.js.map} +0 -0
  1044. /package/dist/{tk-OEQFO73V.js.map → summary-PJYRCQNY.js.map} +0 -0
  1045. /package/dist/{summary.integration.spec-HQISXGNL.js.map → summary.integration.spec-KPKROD6L.js.map} +0 -0
  1046. /package/dist/{sunburst-65LSYRXX.js.map → sunburst-IGIV2RBE.js.map} +0 -0
  1047. /package/dist/{survival-UI74VXSM.js.map → survival-DINCIWW7.js.map} +0 -0
  1048. /package/dist/{svgraph-PSX2NER3.js.map → svgraph-EUEZWGVR.js.map} +0 -0
  1049. /package/dist/{svmr-QDQ33EFX.js.map → svmr-B24LODSC.js.map} +0 -0
  1050. /package/dist/{table-LWAI27UO.js.map → table-XSJJ3UZV.js.map} +0 -0
  1051. /package/dist/{toggleButtons-YK7TIFF2.js.map → termCollection-IAB3425K.js.map} +0 -0
  1052. /package/dist/{tvs.density-3XJ6DBGO.js.map → termCollectionFractionSelection-35YKAOUY.js.map} +0 -0
  1053. /package/dist/{tvs.dt-CZDC4TSR.js.map → tk-25EJJDRK.js.map} +0 -0
  1054. /package/dist/{tp.ui-SHNERDGC.js.map → tp.ui-VGA62NFM.js.map} +0 -0
  1055. /package/dist/{tvs.numeric-TOEPASWN.js.map → tvs.density-G56327WY.js.map} +0 -0
  1056. /package/dist/{violin-2YGXTBDS.js.map → tvs.dt-DFW36WKO.js.map} +0 -0
  1057. /package/dist/{tvs.dtcnv.categorical-OPBDHZGB.js.map → tvs.dtcnv.categorical-ZP33EO3A.js.map} +0 -0
  1058. /package/dist/{tvs.dtcnv.continuous-AR6P4EP3.js.map → tvs.dtcnv.continuous-FJTMQF4J.js.map} +0 -0
  1059. /package/dist/{tvs.dtfusion-2YQ7N6FQ.js.map → tvs.dtfusion-FTDQWNKM.js.map} +0 -0
  1060. /package/dist/{tvs.dtitd-ATCHW735.js.map → tvs.dtitd-W5VEECJ2.js.map} +0 -0
  1061. /package/dist/{tvs.dtsnvindel-WHHWAATJ.js.map → tvs.dtsnvindel-UOXSLCDZ.js.map} +0 -0
  1062. /package/dist/{tvs.dtsv-3UMCW65O.js.map → tvs.dtsv-HWCPRVBO.js.map} +0 -0
  1063. /package/dist/{violin.interactivity-J6BE2UQL.js.map → tvs.numeric-7TGKWQYU.js.map} +0 -0
  1064. /package/dist/{tvs.samplelst-M7XKXRTZ.js.map → tvs.samplelst-OWD22ITS.js.map} +0 -0
  1065. /package/dist/{violin.renderer-3GRUWP2U.js.map → violin-2IAVZGFF.js.map} +0 -0
  1066. /package/dist/{vocabulary-2INCVPYJ.js.map → violin.interactivity-STOCZMVN.js.map} +0 -0
@@ -0,0 +1,3072 @@
1
+ import {
2
+ termjson
3
+ } from "./chunk-DHPLHIVP.js";
4
+ import {
5
+ getSortOptions
6
+ } from "./chunk-R6NM2HSH.js";
7
+ import {
8
+ detectLst,
9
+ sleep
10
+ } from "./chunk-ECIBJXFT.js";
11
+ import {
12
+ getRunPp
13
+ } from "./chunk-FACITNG5.js";
14
+ import {
15
+ require_tape
16
+ } from "./chunk-TUMA63WX.js";
17
+ import "./chunk-BNAO6N5X.js";
18
+ import "./chunk-5QMBB4SK.js";
19
+ import "./chunk-H3N4KYKL.js";
20
+ import "./chunk-W7OS7BNM.js";
21
+ import "./chunk-PRZWSBMA.js";
22
+ import "./chunk-5DMVORBB.js";
23
+ import "./chunk-MKAF2BHB.js";
24
+ import "./chunk-WXPFMVU6.js";
25
+ import "./chunk-WKNI3HRQ.js";
26
+ import "./chunk-NODQZTWK.js";
27
+ import "./chunk-TKW5TW4Z.js";
28
+ import "./chunk-HJ6L54YS.js";
29
+ import "./chunk-LSEFWW72.js";
30
+ import "./chunk-3SHZTAGF.js";
31
+ import "./chunk-HYOEWQ5P.js";
32
+ import "./chunk-6QCYT6G2.js";
33
+ import "./chunk-FN5XPUPH.js";
34
+ import "./chunk-IIT367QZ.js";
35
+ import "./chunk-RZGEKL77.js";
36
+ import "./chunk-OTTMHVYH.js";
37
+ import "./chunk-GNS6CQMA.js";
38
+ import "./chunk-JVPWIVDT.js";
39
+ import "./chunk-4WF3XDQP.js";
40
+ import "./chunk-7JRDJNLR.js";
41
+ import "./chunk-M3J4MINX.js";
42
+ import "./chunk-PF4DSFDR.js";
43
+ import "./chunk-MPSLUEI4.js";
44
+ import {
45
+ CNVClasses,
46
+ mutationClasses,
47
+ proteinChangingMutations,
48
+ synonymousMutations,
49
+ truncatingMutations
50
+ } from "./chunk-6PNPHACF.js";
51
+ import "./chunk-WPHUM5S5.js";
52
+ import "./chunk-JNITUVXP.js";
53
+ import "./chunk-2KXLYFAO.js";
54
+ import "./chunk-LOZEKOES.js";
55
+ import "./chunk-VQZ2Z5YU.js";
56
+ import "./chunk-UJELJXJG.js";
57
+ import "./chunk-BZTWTH4Y.js";
58
+ import "./chunk-TLT4YIG3.js";
59
+ import "./chunk-5R63Q5KH.js";
60
+ import "./chunk-I6Y4O3RR.js";
61
+ import "./chunk-Q5RDQNIT.js";
62
+ import "./chunk-DQC5FFGV.js";
63
+ import {
64
+ __toESM
65
+ } from "./chunk-HFNDKYVF.js";
66
+
67
+ // plots/matrix/test/matrix.integration.spec.js
68
+ var import_tape = __toESM(require_tape(), 1);
69
+ (0, import_tape.default)("\n", function(test) {
70
+ test.comment("-***- plots/matrix -***-");
71
+ test.end();
72
+ });
73
+ (0, import_tape.default)("only dictionary terms", function(test) {
74
+ test.timeoutAfter(5e3);
75
+ test.plan(5);
76
+ runpp({
77
+ state: {
78
+ plots: [
79
+ {
80
+ chartType: "matrix",
81
+ settings: {
82
+ matrix: {
83
+ // the matrix autocomputes the colw based on available screen width,
84
+ // need to set an exact screen width for consistent tests using getBBox()
85
+ availContentWidth: 1200
86
+ }
87
+ },
88
+ termgroups: [
89
+ {
90
+ name: "Demographics",
91
+ lst: [
92
+ {
93
+ id: "aaclassic_5",
94
+ q: {
95
+ mode: "continuous"
96
+ }
97
+ },
98
+ {
99
+ id: "sex"
100
+ //q: { mode: 'values' } // or 'groupsetting'
101
+ },
102
+ {
103
+ id: "agedx",
104
+ q: {
105
+ mode: "discrete",
106
+ type: "regular-bin",
107
+ bin_size: 5,
108
+ first_bin: {
109
+ startunbounded: true,
110
+ stop: 5,
111
+ stopinclusive: true
112
+ }
113
+ }
114
+ // or 'continuous'
115
+ },
116
+ {
117
+ id: "Arrhythmias"
118
+ }
119
+ ]
120
+ }
121
+ ]
122
+ }
123
+ ]
124
+ },
125
+ matrix: {
126
+ callbacks: {
127
+ "postRender.test": runTests
128
+ }
129
+ }
130
+ });
131
+ function runTests(matrix) {
132
+ matrix.on("postRender.test", null);
133
+ test.equal(
134
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
135
+ 4,
136
+ `should render the expected number of serieses`
137
+ );
138
+ test.equal(
139
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
140
+ 240,
141
+ `should render the expected number of cell rects`
142
+ );
143
+ test.equal(
144
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
145
+ 1,
146
+ `should render the expected number of cluster rects`
147
+ );
148
+ const sg0rects = matrix.Inner.dom.seriesesG.select(".sjpp-mass-series-g").selectAll("rect");
149
+ test.equal(
150
+ sg0rects.filter((d) => d.key <= 0 && d.fill === "transparent").size(),
151
+ 14,
152
+ `should render special values with transparent rects`
153
+ );
154
+ const uniqueHts = /* @__PURE__ */ new Set();
155
+ sg0rects.each((d) => uniqueHts.add(d.height));
156
+ test.equal(uniqueHts.size, 45, `should render different rect heights for continuous mode bar plots`);
157
+ if (test._ok) matrix.Inner.app.destroy();
158
+ test.end();
159
+ }
160
+ });
161
+ (0, import_tape.default)("termCollection", function(test) {
162
+ runpp({
163
+ state: {
164
+ plots: [
165
+ {
166
+ chartType: "matrix",
167
+ termgroups: [
168
+ {
169
+ name: "",
170
+ lst: [getTermCollection()]
171
+ }
172
+ ]
173
+ }
174
+ ]
175
+ },
176
+ matrix: { callbacks: { "postRender.test": runTests } }
177
+ });
178
+ function runTests(matrix) {
179
+ matrix.on("postRender.test", null);
180
+ test.equal(
181
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
182
+ 1,
183
+ `should render the expected number of serieses`
184
+ );
185
+ if (test._ok) matrix.Inner.app.destroy();
186
+ test.end();
187
+ }
188
+ });
189
+ (0, import_tape.default)("with divide by terms", function(test) {
190
+ test.timeoutAfter(5e3);
191
+ test.plan(3);
192
+ runpp({
193
+ state: {
194
+ plots: [
195
+ {
196
+ chartType: "matrix",
197
+ settings: {
198
+ // the matrix autocomputes the colw based on available screen width,
199
+ // need to set an exact screen width for consistent tests using getBBox()
200
+ matrix: {
201
+ availContentWidth: 1200
202
+ }
203
+ },
204
+ divideBy: {
205
+ id: "sex"
206
+ },
207
+ termgroups: [
208
+ {
209
+ name: "Demographics",
210
+ lst: [
211
+ { id: "agedx", term: termjson["agedx"] },
212
+ { id: "diaggrp", term: termjson["diaggrp"] },
213
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
214
+ ]
215
+ }
216
+ ]
217
+ }
218
+ ]
219
+ },
220
+ matrix: {
221
+ callbacks: {
222
+ "postRender.test": runTests
223
+ }
224
+ }
225
+ });
226
+ function runTests(matrix) {
227
+ matrix.on("postRender.test", null);
228
+ test.equal(
229
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
230
+ 3,
231
+ `should render the expected number of serieses`
232
+ );
233
+ test.equal(
234
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
235
+ 180,
236
+ `should render the expected number of cell rects`
237
+ );
238
+ test.equal(
239
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
240
+ 2,
241
+ `should render the expected number of cluster rects`
242
+ );
243
+ if (test._ok) matrix.Inner.app.destroy();
244
+ test.end();
245
+ }
246
+ });
247
+ (0, import_tape.default)("long column group labels", function(test) {
248
+ test.timeoutAfter(5e3);
249
+ test.plan(2);
250
+ runpp({
251
+ state: {
252
+ plots: [
253
+ {
254
+ chartType: "matrix",
255
+ settings: {
256
+ // the matrix autocomputes the colw based on available screen width,
257
+ // need to set an exact screen width for consistent tests using getBBox()
258
+ matrix: {
259
+ availContentWidth: 1200
260
+ }
261
+ },
262
+ divideBy: {
263
+ id: "diaggrp"
264
+ },
265
+ termgroups: [
266
+ {
267
+ name: "Demographics",
268
+ lst: [
269
+ { id: "diaggrp", term: termjson["diaggrp"] },
270
+ { id: "agedx", term: termjson["agedx"] },
271
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
272
+ ]
273
+ }
274
+ ]
275
+ }
276
+ ]
277
+ },
278
+ matrix: {
279
+ callbacks: {
280
+ "postRender.test222": runTests
281
+ }
282
+ }
283
+ });
284
+ function runTests(matrix) {
285
+ matrix.on("postRender.test222", null);
286
+ const y = matrix.Inner.dom.clipRect.property("y").baseVal.value;
287
+ test.true(y > -63 && y < -62, `should adjust the clip-path rect y-value to between -39 and -38, actual=${y}`);
288
+ const h = matrix.Inner.dom.clipRect.property("height").baseVal.value;
289
+ test.true(h > 619 && h <= 620, `should adjust the clip-path height to between 595 and 596, actual=${h}`);
290
+ if (test._ok) matrix.Inner.app.destroy();
291
+ test.end();
292
+ }
293
+ });
294
+ (0, import_tape.default)("divide by continuous terms", function(test) {
295
+ test.timeoutAfter(5e3);
296
+ test.plan(3);
297
+ runpp({
298
+ state: {
299
+ plots: [
300
+ {
301
+ chartType: "matrix",
302
+ settings: {
303
+ // the matrix autocomputes the colw based on available screen width,
304
+ // need to set an exact screen width for consistent tests using getBBox()
305
+ matrix: {
306
+ availContentWidth: 1200
307
+ }
308
+ },
309
+ divideBy: {
310
+ id: "agedx"
311
+ },
312
+ termgroups: [
313
+ {
314
+ name: "Demographics",
315
+ lst: [
316
+ { id: "sex", term: termjson["sex"] },
317
+ { id: "diaggrp", term: termjson["diaggrp"] },
318
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
319
+ ]
320
+ }
321
+ ]
322
+ }
323
+ ]
324
+ },
325
+ matrix: {
326
+ callbacks: {
327
+ "postRender.test": runTests
328
+ }
329
+ }
330
+ });
331
+ function runTests(matrix) {
332
+ matrix.on("postRender.test", null);
333
+ test.equal(
334
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
335
+ 3,
336
+ `should render the expected number of serieses`
337
+ );
338
+ test.equal(
339
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
340
+ 180,
341
+ `should render the expected number of cell rects`
342
+ );
343
+ test.equal(
344
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
345
+ 5,
346
+ `should render the expected number of cluster rects`
347
+ );
348
+ if (test._ok) matrix.Inner.app.destroy();
349
+ test.end();
350
+ }
351
+ });
352
+ (0, import_tape.default)("geneVariant term", function(test) {
353
+ test.timeoutAfter(5e3);
354
+ test.plan(2);
355
+ runpp({
356
+ state: {
357
+ nav: {
358
+ activeTab: 1
359
+ },
360
+ plots: [
361
+ {
362
+ chartType: "matrix",
363
+ settings: {
364
+ // the matrix autocomputes the colw based on available screen width,
365
+ // need to set an exact screen width for consistent tests using getBBox()
366
+ matrix: {
367
+ availContentWidth: 1200
368
+ }
369
+ },
370
+ termgroups: [
371
+ {
372
+ name: "",
373
+ lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
374
+ }
375
+ ]
376
+ }
377
+ ]
378
+ },
379
+ matrix: {
380
+ callbacks: {
381
+ "postRender.test": runTests
382
+ }
383
+ }
384
+ });
385
+ function runTests(matrix) {
386
+ matrix.on("postRender.test", null);
387
+ test.equal(
388
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
389
+ 1,
390
+ `should render the expected number of serieses`
391
+ );
392
+ test.equal(
393
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
394
+ 242,
395
+ `should render the expected number of cell rects`
396
+ );
397
+ if (test._ok) matrix.Inner.app.destroy();
398
+ test.end();
399
+ }
400
+ });
401
+ (0, import_tape.default)("geneVariant terms and dictionary terms", function(test) {
402
+ test.timeoutAfter(5e3);
403
+ test.plan(3);
404
+ runpp({
405
+ state: {
406
+ nav: {
407
+ activeTab: 1
408
+ },
409
+ plots: [
410
+ {
411
+ chartType: "matrix",
412
+ settings: {
413
+ // the matrix autocomputes the colw based on available screen width,
414
+ // need to set an exact screen width for consistent tests using getBBox()
415
+ matrix: {
416
+ availContentWidth: 1200
417
+ }
418
+ },
419
+ termgroups: [
420
+ {
421
+ name: "",
422
+ lst: [
423
+ ...getGenes(),
424
+ { id: "agedx", term: termjson["agedx"] },
425
+ { id: "diaggrp", term: termjson["diaggrp"] },
426
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
427
+ ]
428
+ }
429
+ ]
430
+ }
431
+ ]
432
+ },
433
+ matrix: {
434
+ callbacks: {
435
+ "postRender.test": runTests
436
+ }
437
+ }
438
+ });
439
+ function runTests(matrix) {
440
+ matrix.on("postRender.test", null);
441
+ test.equal(
442
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
443
+ 6,
444
+ `should render the expected number of serieses`
445
+ );
446
+ test.equal(
447
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
448
+ 902,
449
+ `should render the expected number of cell rects`
450
+ );
451
+ test.equal(
452
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
453
+ 1,
454
+ `should render the expected number of cluster rects`
455
+ );
456
+ if (test._ok) matrix.Inner.app.destroy();
457
+ test.end();
458
+ }
459
+ });
460
+ (0, import_tape.default)("geneVariant terms with divide by dictionary term", function(test) {
461
+ test.timeoutAfter(5e3);
462
+ test.plan(3);
463
+ runpp({
464
+ state: {
465
+ nav: {
466
+ activeTab: 1
467
+ },
468
+ plots: [
469
+ {
470
+ chartType: "matrix",
471
+ settings: {
472
+ // the matrix autocomputes the colw based on available screen width,
473
+ // need to set an exact screen width for consistent tests using getBBox()
474
+ matrix: {
475
+ availContentWidth: 1200
476
+ }
477
+ },
478
+ divideBy: {
479
+ id: "sex"
480
+ },
481
+ termgroups: [
482
+ {
483
+ name: "",
484
+ lst: getGenes()
485
+ }
486
+ ]
487
+ }
488
+ ]
489
+ },
490
+ matrix: {
491
+ callbacks: {
492
+ "postRender.test": runTests
493
+ }
494
+ }
495
+ });
496
+ function runTests(matrix) {
497
+ matrix.on("postRender.test", null);
498
+ test.equal(
499
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
500
+ 3,
501
+ `should render the expected number of serieses`
502
+ );
503
+ test.equal(
504
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
505
+ 722,
506
+ `should render the expected number of cell rects`
507
+ );
508
+ test.equal(
509
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
510
+ 2,
511
+ `should render the expected number of cluster rects`
512
+ );
513
+ if (test._ok) matrix.Inner.app.destroy();
514
+ test.end();
515
+ }
516
+ });
517
+ (0, import_tape.default)("geneVariant terms and dictionary terms divide by dictionary term", function(test) {
518
+ test.timeoutAfter(5e3);
519
+ test.plan(3);
520
+ runpp({
521
+ state: {
522
+ nav: {
523
+ activeTab: 1
524
+ },
525
+ plots: [
526
+ {
527
+ chartType: "matrix",
528
+ settings: {
529
+ // the matrix autocomputes the colw based on available screen width,
530
+ // need to set an exact screen width for consistent tests using getBBox()
531
+ matrix: {
532
+ availContentWidth: 1200
533
+ }
534
+ },
535
+ divideBy: {
536
+ id: "sex"
537
+ },
538
+ termgroups: [
539
+ {
540
+ name: "",
541
+ lst: [
542
+ ...getGenes(),
543
+ { id: "agedx", term: termjson["agedx"] },
544
+ { id: "diaggrp", term: termjson["diaggrp"] },
545
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
546
+ ]
547
+ }
548
+ ]
549
+ }
550
+ ]
551
+ },
552
+ matrix: {
553
+ callbacks: {
554
+ "postRender.test": runTests
555
+ }
556
+ }
557
+ });
558
+ function runTests(matrix) {
559
+ matrix.on("postRender.test", null);
560
+ test.equal(
561
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
562
+ 6,
563
+ `should render the expected number of serieses`
564
+ );
565
+ test.equal(
566
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
567
+ 902,
568
+ `should render the expected number of cell rects`
569
+ );
570
+ test.equal(
571
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
572
+ 2,
573
+ `should render the expected number of cluster rects`
574
+ );
575
+ if (test._ok) matrix.Inner.app.destroy();
576
+ test.end();
577
+ }
578
+ });
579
+ (0, import_tape.default)("sort samples by sample name", function(test) {
580
+ test.timeoutAfter(5e3);
581
+ test.plan(4);
582
+ runpp({
583
+ state: {
584
+ nav: {
585
+ activeTab: 1
586
+ },
587
+ plots: [
588
+ {
589
+ chartType: "matrix",
590
+ settings: {
591
+ // the matrix autocomputes the colw based on available screen width,
592
+ // need to set an exact screen width for consistent tests using getBBox()
593
+ matrix: {
594
+ availContentWidth: 1200,
595
+ sortSamplesBy: "name"
596
+ }
597
+ },
598
+ termgroups: [
599
+ {
600
+ name: "",
601
+ lst: getGenes()
602
+ }
603
+ ]
604
+ }
605
+ ]
606
+ },
607
+ matrix: {
608
+ callbacks: {
609
+ "postRender.test": runTests
610
+ }
611
+ }
612
+ });
613
+ function runTests(matrix) {
614
+ matrix.on("postRender.test", null);
615
+ const g = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g");
616
+ test.equal(g.size(), 60, `should render the expected number of sample names`);
617
+ test.equal(g._groups[0][0].textContent, "2646", `should be the expected sample name`);
618
+ test.equal(g._groups[0][9].textContent, "2772", `should be the expected sample name`);
619
+ test.equal(g._groups[0][59].textContent, "3472", `should be the expected sample name`);
620
+ if (test._ok) matrix.Inner.app.destroy();
621
+ test.end();
622
+ }
623
+ });
624
+ (0, import_tape.default)("sort samples by Mutation categories, not sorted by CNV", function(test) {
625
+ test.timeoutAfter(5e3);
626
+ test.plan(4);
627
+ runpp({
628
+ state: {
629
+ nav: {
630
+ activeTab: 1
631
+ },
632
+ plots: [
633
+ {
634
+ chartType: "matrix",
635
+ settings: {
636
+ // the matrix autocomputes the colw based on available screen width,
637
+ // need to set an exact screen width for consistent tests using getBBox()
638
+ matrix: {
639
+ availContentWidth: 1200,
640
+ sortSamplesBy: "a"
641
+ }
642
+ },
643
+ termgroups: [
644
+ {
645
+ name: "Demographics",
646
+ lst: getGenes()
647
+ }
648
+ ]
649
+ }
650
+ ]
651
+ },
652
+ matrix: {
653
+ callbacks: {
654
+ "postRender.test": runTests
655
+ }
656
+ }
657
+ });
658
+ function runTests(matrix) {
659
+ matrix.on("postRender.test", null);
660
+ test.equal(
661
+ matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
662
+ 60,
663
+ `should render the expected number of sample names`
664
+ );
665
+ const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
666
+ const index_3346 = Array.from(rects).find((rect) => rect.textContent == "3346").__data__.index;
667
+ test.true(index_3346 < 10, `sample 3346 should be in the expected order (not sorted by CNV)`);
668
+ const index_2660 = Array.from(rects).find((rect) => rect.textContent == "2660").__data__.index;
669
+ test.equal(index_2660, 8, `sample 2660 should be in the expected order (not sorted by CNV)`);
670
+ const index_3472 = Array.from(rects).find((rect) => rect.textContent == "3472").__data__.index;
671
+ test.true(index_3472 > 9, `sample 3472 should be in the expected order (not sorted by CNV)`);
672
+ if (test._ok) matrix.Inner.app.destroy();
673
+ test.end();
674
+ }
675
+ });
676
+ (0, import_tape.default)("sort samples by CNV+SSM > SSM-only", function(test) {
677
+ test.timeoutAfter(5e3);
678
+ test.plan(5);
679
+ const sortOptions = getSortOptions(
680
+ void 0,
681
+ {},
682
+ {
683
+ proteinChangingMutations,
684
+ truncatingMutations,
685
+ synonymousMutations,
686
+ mutationClasses,
687
+ CNVClasses
688
+ }
689
+ );
690
+ const cnvtb = sortOptions.a.sortPriority[0].tiebreakers[2];
691
+ cnvtb.disabled = false;
692
+ runpp({
693
+ state: {
694
+ nav: {
695
+ activeTab: 1
696
+ },
697
+ plots: [
698
+ {
699
+ chartType: "matrix",
700
+ legendValueFilter: {
701
+ type: "tvslst",
702
+ lst: []
703
+ },
704
+ settings: {
705
+ // the matrix autocomputes the colw based on available screen width,
706
+ // need to set an exact screen width for consistent tests using getBBox()
707
+ matrix: {
708
+ availContentWidth: 1200,
709
+ sortSamplesBy: "a",
710
+ sortOptions
711
+ }
712
+ },
713
+ termgroups: [
714
+ {
715
+ name: "",
716
+ lst: getGenes()
717
+ }
718
+ ]
719
+ }
720
+ ]
721
+ },
722
+ matrix: {
723
+ callbacks: {
724
+ "postRender.test": runTests
725
+ }
726
+ }
727
+ });
728
+ function runTests(matrix) {
729
+ matrix.on("postRender.test", null);
730
+ test.equal(
731
+ matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
732
+ 60,
733
+ `should render the expected number of sample names`
734
+ );
735
+ const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
736
+ const r = Array.from(rects);
737
+ const index_3416 = r.find((rect) => rect.textContent == "3416").__data__.index;
738
+ test.equal(index_3416, 0, `should be in the expected order`);
739
+ const index_3346 = r.find((rect) => rect.textContent == "3346").__data__.index;
740
+ test.equal(index_3346, 9, `should be in the expected order`);
741
+ const index_2660 = r.find((rect) => rect.textContent == "2660").__data__.index;
742
+ test.equal(index_2660, 11, `should be in the expected order`);
743
+ const index_3472 = r.find((rect) => rect.textContent == "3472").__data__.index;
744
+ test.equal(index_3472, r.length - 1, `should be in the expected order`);
745
+ if (test._ok) matrix.Inner.app.destroy();
746
+ test.end();
747
+ }
748
+ });
749
+ (0, import_tape.default)("set max number of samples", function(test) {
750
+ test.timeoutAfter(5e3);
751
+ test.plan(1);
752
+ runpp({
753
+ state: {
754
+ nav: {
755
+ activeTab: 1
756
+ },
757
+ plots: [
758
+ {
759
+ chartType: "matrix",
760
+ settings: {
761
+ matrix: {
762
+ // the matrix autocomputes the colw based on available screen width,
763
+ // need to set an exact screen width for consistent tests using getBBox()
764
+ availContentWidth: 1200,
765
+ maxSample: 10
766
+ }
767
+ },
768
+ termgroups: [
769
+ {
770
+ name: "",
771
+ lst: [
772
+ {
773
+ id: "sex"
774
+ //q: { mode: 'values' } // or 'groupsetting'
775
+ }
776
+ ]
777
+ }
778
+ ]
779
+ }
780
+ ]
781
+ },
782
+ matrix: {
783
+ callbacks: {
784
+ "postRender.test": runTests
785
+ }
786
+ }
787
+ });
788
+ function runTests(matrix) {
789
+ matrix.on("postRender.test", null);
790
+ test.equal(
791
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
792
+ 10,
793
+ `should render the expected number of cell rects`
794
+ );
795
+ if (test._ok) matrix.Inner.app.destroy();
796
+ test.end();
797
+ }
798
+ });
799
+ (0, import_tape.default)("sort sample groups by Group Name", function(test) {
800
+ test.timeoutAfter(5e3);
801
+ test.plan(2);
802
+ runpp({
803
+ state: {
804
+ nav: {
805
+ activeTab: 1
806
+ },
807
+ plots: [
808
+ {
809
+ chartType: "matrix",
810
+ settings: {
811
+ // the matrix autocomputes the colw based on available screen width,
812
+ // need to set an exact screen width for consistent tests using getBBox()
813
+ matrix: {
814
+ availContentWidth: 1200,
815
+ sortSampleGrpsBy: "name"
816
+ }
817
+ },
818
+ divideBy: {
819
+ id: "genetic_race"
820
+ },
821
+ termgroups: [
822
+ {
823
+ name: "",
824
+ lst: getGenes()
825
+ }
826
+ ]
827
+ }
828
+ ]
829
+ },
830
+ matrix: {
831
+ callbacks: {
832
+ "postRender.test": runTests
833
+ }
834
+ }
835
+ });
836
+ function runTests(matrix) {
837
+ matrix.on("postRender.test", null);
838
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
839
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
840
+ )._groups[0];
841
+ test.true(matrixGroupLabels[0].textContent.startsWith("African Ancestry"), `should be the expected group name`);
842
+ test.true(matrixGroupLabels[2].textContent.startsWith("European Ancestry"), `should be the expected group name`);
843
+ if (test._ok) matrix.Inner.app.destroy();
844
+ test.end();
845
+ }
846
+ });
847
+ (0, import_tape.default)("sort sample groups by Sample Count", function(test) {
848
+ test.timeoutAfter(5e3);
849
+ test.plan(2);
850
+ runpp({
851
+ state: {
852
+ nav: {
853
+ activeTab: 1
854
+ },
855
+ plots: [
856
+ {
857
+ chartType: "matrix",
858
+ settings: {
859
+ // the matrix autocomputes the colw based on available screen width,
860
+ // need to set an exact screen width for consistent tests using getBBox()
861
+ matrix: {
862
+ availContentWidth: 1200,
863
+ sortSampleGrpsBy: "sampleCount"
864
+ }
865
+ },
866
+ divideBy: {
867
+ id: "genetic_race"
868
+ },
869
+ termgroups: [
870
+ {
871
+ name: "",
872
+ lst: getGenes()
873
+ }
874
+ ]
875
+ }
876
+ ]
877
+ },
878
+ matrix: {
879
+ callbacks: {
880
+ "postRender.test": runTests
881
+ }
882
+ }
883
+ });
884
+ function runTests(matrix) {
885
+ matrix.on("postRender.test", null);
886
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
887
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
888
+ )._groups[0];
889
+ test.true(matrixGroupLabels[0].textContent.startsWith("European Ancestry"), `should be the expected group name`);
890
+ test.true(matrixGroupLabels[2].textContent.startsWith("Asian Ancestry"), `should be the expected group name`);
891
+ if (test._ok) matrix.Inner.app.destroy();
892
+ test.end();
893
+ }
894
+ });
895
+ (0, import_tape.default)("sort sample groups by Hits", function(test) {
896
+ test.timeoutAfter(5e3);
897
+ test.plan(2);
898
+ runpp({
899
+ state: {
900
+ nav: {
901
+ activeTab: 1
902
+ },
903
+ plots: [
904
+ {
905
+ chartType: "matrix",
906
+ settings: {
907
+ // the matrix autocomputes the colw based on available screen width,
908
+ // need to set an exact screen width for consistent tests using getBBox()
909
+ matrix: {
910
+ availContentWidth: 1200,
911
+ sortSampleGrpsBy: "hits"
912
+ }
913
+ },
914
+ divideBy: {
915
+ id: "Hearing loss"
916
+ },
917
+ termgroups: [
918
+ {
919
+ name: "",
920
+ lst: getGenes()
921
+ }
922
+ ]
923
+ }
924
+ ]
925
+ },
926
+ matrix: {
927
+ callbacks: {
928
+ "postRender.test": runTests
929
+ }
930
+ }
931
+ });
932
+ function runTests(matrix) {
933
+ matrix.on("postRender.test", null);
934
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
935
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
936
+ )._groups[0];
937
+ test.true(matrixGroupLabels[0].textContent.startsWith("3: Severe"), `should be the expected group name`);
938
+ test.true(matrixGroupLabels[4].textContent.startsWith("1: Mild"), `should be the expected group name`);
939
+ if (test._ok) matrix.Inner.app.destroy();
940
+ test.end();
941
+ }
942
+ });
943
+ (0, import_tape.default)("sort sample groups by Hits 2", function(test) {
944
+ test.timeoutAfter(5e3);
945
+ test.plan(2);
946
+ runpp({
947
+ state: {
948
+ plots: [
949
+ {
950
+ id: "xyz",
951
+ chartType: "matrix",
952
+ settings: {
953
+ // the matrix autocomputes the colw based on available screen width,
954
+ // need to set an exact screen width for consistent tests using getBBox()
955
+ matrix: {
956
+ availContentWidth: 1200,
957
+ sortSampleGrpsBy: "hits"
958
+ }
959
+ },
960
+ divideBy: {
961
+ id: "agedx"
962
+ },
963
+ termgroups: [
964
+ {
965
+ name: "",
966
+ lst: getGenes()
967
+ }
968
+ ]
969
+ }
970
+ ]
971
+ },
972
+ matrix: {
973
+ callbacks: {
974
+ postRender: runTests
975
+ }
976
+ }
977
+ });
978
+ function runTests(matrix) {
979
+ matrix.on("postRender", null);
980
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
981
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
982
+ )._groups[0];
983
+ test.true(matrixGroupLabels[0].textContent.startsWith("10 to <15"), `should have the expected left-most group name`);
984
+ test.true(matrixGroupLabels[4].textContent.startsWith("\u226520"), `should have the right-most expected group name`);
985
+ if (test._ok) matrix.Inner.app.destroy();
986
+ test.end();
987
+ }
988
+ });
989
+ (0, import_tape.default)("Display Sample Counts for Gene: Absolute", function(test) {
990
+ test.timeoutAfter(5e3);
991
+ test.plan(2);
992
+ runpp({
993
+ state: {
994
+ plots: [
995
+ {
996
+ chartType: "matrix",
997
+ settings: {
998
+ // the matrix autocomputes the colw based on available screen width,
999
+ // need to set an exact screen width for consistent tests using getBBox()
1000
+ matrix: {
1001
+ availContentWidth: 1200,
1002
+ samplecount4gene: "abs"
1003
+ }
1004
+ },
1005
+ termgroups: [
1006
+ {
1007
+ name: "",
1008
+ lst: getGenes()
1009
+ }
1010
+ ]
1011
+ }
1012
+ ]
1013
+ },
1014
+ matrix: {
1015
+ callbacks: {
1016
+ "postRender.test": runTests
1017
+ }
1018
+ }
1019
+ });
1020
+ function runTests(matrix) {
1021
+ matrix.on("postRender.test", null);
1022
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1023
+ const pattern = /\(\d+\)/;
1024
+ test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by absolute number`);
1025
+ test.true(
1026
+ pattern.test(termLabels[termLabels.length - 1].textContent),
1027
+ `should display sample counts for gene by absolute number`
1028
+ );
1029
+ if (test._ok) matrix.Inner.app.destroy();
1030
+ test.end();
1031
+ }
1032
+ });
1033
+ (0, import_tape.default)("Display Sample Counts for Gene: Percent", function(test) {
1034
+ test.timeoutAfter(5e3);
1035
+ test.plan(2);
1036
+ runpp({
1037
+ state: {
1038
+ plots: [
1039
+ {
1040
+ chartType: "matrix",
1041
+ settings: {
1042
+ // the matrix autocomputes the colw based on available screen width,
1043
+ // need to set an exact screen width for consistent tests using getBBox()
1044
+ matrix: {
1045
+ availContentWidth: 1200,
1046
+ samplecount4gene: "pct"
1047
+ }
1048
+ },
1049
+ termgroups: [
1050
+ {
1051
+ name: "",
1052
+ lst: getGenes()
1053
+ }
1054
+ ]
1055
+ }
1056
+ ]
1057
+ },
1058
+ matrix: {
1059
+ callbacks: {
1060
+ "postRender.test": runTests
1061
+ }
1062
+ }
1063
+ });
1064
+ function runTests(matrix) {
1065
+ matrix.on("postRender.test", null);
1066
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1067
+ const pattern = /\(\d+(\.\d+)? ?%\)/;
1068
+ test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by percentage`);
1069
+ test.true(
1070
+ pattern.test(termLabels[termLabels.length - 1].textContent),
1071
+ `should display sample counts for gene by percentage`
1072
+ );
1073
+ if (test._ok) matrix.Inner.app.destroy();
1074
+ test.end();
1075
+ }
1076
+ });
1077
+ (0, import_tape.default)("Display Sample Counts for Gene: None", function(test) {
1078
+ test.timeoutAfter(5e3);
1079
+ test.plan(2);
1080
+ runpp({
1081
+ state: {
1082
+ plots: [
1083
+ {
1084
+ chartType: "matrix",
1085
+ settings: {
1086
+ // the matrix autocomputes the colw based on available screen width,
1087
+ // need to set an exact screen width for consistent tests using getBBox()
1088
+ matrix: {
1089
+ availContentWidth: 1200,
1090
+ samplecount4gene: ""
1091
+ }
1092
+ },
1093
+ termgroups: [
1094
+ {
1095
+ name: "",
1096
+ lst: getGenes()
1097
+ }
1098
+ ]
1099
+ }
1100
+ ]
1101
+ },
1102
+ matrix: {
1103
+ callbacks: {
1104
+ "postRender.test": runTests
1105
+ }
1106
+ }
1107
+ });
1108
+ function runTests(matrix) {
1109
+ matrix.on("postRender.test", null);
1110
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1111
+ const pattern = /\(\d+(\.\d+)?%\)|\(\d+\)/g;
1112
+ test.true(!pattern.test(termLabels[0].textContent), `should not display sample counts for gene`);
1113
+ test.true(!pattern.test(termLabels[termLabels.length - 1].textContent), `should not display sample counts for gene`);
1114
+ if (test._ok) matrix.Inner.app.destroy();
1115
+ test.end();
1116
+ }
1117
+ });
1118
+ (0, import_tape.default)("Sort Genes By Sample Count", function(test) {
1119
+ test.timeoutAfter(5e3);
1120
+ test.plan(2);
1121
+ runpp({
1122
+ state: {
1123
+ plots: [
1124
+ {
1125
+ chartType: "matrix",
1126
+ settings: {
1127
+ // the matrix autocomputes the colw based on available screen width,
1128
+ // need to set an exact screen width for consistent tests using getBBox()
1129
+ matrix: {
1130
+ availContentWidth: 1200,
1131
+ sortTermsBy: "sampleCount"
1132
+ }
1133
+ },
1134
+ termgroups: [
1135
+ {
1136
+ name: "",
1137
+ lst: getGenes()
1138
+ }
1139
+ ]
1140
+ }
1141
+ ]
1142
+ },
1143
+ matrix: {
1144
+ callbacks: {
1145
+ "postRender.test": runTests
1146
+ }
1147
+ }
1148
+ });
1149
+ function runTests(matrix) {
1150
+ matrix.on("postRender.test", null);
1151
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1152
+ test.true(termLabels[0].textContent.startsWith("AKT1"), `should sort genes by sample count`);
1153
+ test.true(termLabels[2].textContent.startsWith("KRAS"), `should sort genes by sample count`);
1154
+ if (test._ok) matrix.Inner.app.destroy();
1155
+ test.end();
1156
+ }
1157
+ });
1158
+ (0, import_tape.default)("Sort Genes By Input Data Order", function(test) {
1159
+ test.timeoutAfter(5e3);
1160
+ test.plan(2);
1161
+ runpp({
1162
+ state: {
1163
+ plots: [
1164
+ {
1165
+ chartType: "matrix",
1166
+ settings: {
1167
+ // the matrix autocomputes the colw based on available screen width,
1168
+ // need to set an exact screen width for consistent tests using getBBox()
1169
+ matrix: {
1170
+ availContentWidth: 1200,
1171
+ sortTermsBy: "asListed"
1172
+ }
1173
+ },
1174
+ termgroups: [
1175
+ {
1176
+ name: "",
1177
+ lst: getGenes()
1178
+ }
1179
+ ]
1180
+ }
1181
+ ]
1182
+ },
1183
+ matrix: {
1184
+ callbacks: {
1185
+ "postRender.test": runTests
1186
+ }
1187
+ }
1188
+ });
1189
+ function runTests(matrix) {
1190
+ matrix.on("postRender.test", null);
1191
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1192
+ test.true(termLabels[0].textContent.startsWith("TP53"), `should sort genes by input data order`);
1193
+ test.true(termLabels[2].textContent.startsWith("AKT1"), `should sort genes by input data order`);
1194
+ if (test._ok) matrix.Inner.app.destroy();
1195
+ test.end();
1196
+ }
1197
+ });
1198
+ (0, import_tape.default)("avoid race condition - plot edit", function(test) {
1199
+ test.timeoutAfter(1500);
1200
+ test.plan(4);
1201
+ runpp({
1202
+ state: {
1203
+ plots: [
1204
+ {
1205
+ chartType: "matrix",
1206
+ settings: {
1207
+ // the matrix autocomputes the colw based on available screen width,
1208
+ // need to set an exact screen width for consistent tests using getBBox()
1209
+ matrix: {
1210
+ availContentWidth: 1200,
1211
+ sortTermsBy: "asListed"
1212
+ }
1213
+ },
1214
+ termgroups: [
1215
+ {
1216
+ name: "",
1217
+ lst: getGenes()
1218
+ }
1219
+ ]
1220
+ }
1221
+ ]
1222
+ },
1223
+ matrix: {
1224
+ callbacks: {
1225
+ "postRender.test": runTests
1226
+ }
1227
+ }
1228
+ });
1229
+ async function runTests(matrix) {
1230
+ matrix.on("postRender.test", null);
1231
+ matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1232
+ matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1233
+ const j = i;
1234
+ i = 0;
1235
+ const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1236
+ await sleep(j);
1237
+ return data;
1238
+ };
1239
+ matrix.on("postRender.test", async () => {
1240
+ matrix.on("postRender.test", null);
1241
+ await sleep(responseDelay + 300);
1242
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1243
+ test.equal(termLabels.size(), 1, `should have 1 gene row`);
1244
+ test.true(termLabels._groups?.[0][0].textContent.startsWith("BCR"), `should sort genes by input data order`);
1245
+ const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1246
+ const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1247
+ test.equal(
1248
+ rects.size(),
1249
+ 240,
1250
+ "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1251
+ );
1252
+ test.equal(hits.size(), 2, "should have the expected number of matrix cell rects with hits");
1253
+ if (test._ok) matrix.Inner.app.destroy();
1254
+ test.end();
1255
+ });
1256
+ const responseDelay = 10;
1257
+ let i = responseDelay;
1258
+ try {
1259
+ const results = await Promise.all([
1260
+ matrix.Inner.app.dispatch({
1261
+ type: "plot_edit",
1262
+ id: matrix.id,
1263
+ config: {
1264
+ termgroups: [
1265
+ {
1266
+ name: "",
1267
+ lst: [
1268
+ // $id is added manually since fillTermWrapper() is not called here and
1269
+ // cannot be assumed to be called within store.plot_edit()
1270
+ {
1271
+ $id: 0,
1272
+ term: {
1273
+ gene: "KRAS",
1274
+ name: "KRAS",
1275
+ type: "geneVariant",
1276
+ isleaf: true,
1277
+ groupsetting: { disabled: false }
1278
+ },
1279
+ q: { type: "values" }
1280
+ },
1281
+ {
1282
+ $id: 1,
1283
+ term: {
1284
+ gene: "AKT1",
1285
+ name: "AKT1",
1286
+ type: "geneVariant",
1287
+ isleaf: true,
1288
+ groupsetting: { disabled: false }
1289
+ },
1290
+ q: { type: "values" }
1291
+ }
1292
+ ]
1293
+ }
1294
+ ]
1295
+ }
1296
+ }),
1297
+ (async () => {
1298
+ await sleep(1);
1299
+ matrix.Inner.app.dispatch({
1300
+ type: "plot_edit",
1301
+ id: matrix.id,
1302
+ config: {
1303
+ termgroups: [
1304
+ {
1305
+ name: "",
1306
+ // $id is added manually since fillTermWrapper() is not called here and
1307
+ // cannot be assumed to be called within store.plot_edit()
1308
+ lst: [
1309
+ {
1310
+ $id: 3,
1311
+ term: {
1312
+ name: "BCR",
1313
+ genes: [
1314
+ {
1315
+ kind: "gene",
1316
+ id: "BCR",
1317
+ gene: "BCR",
1318
+ name: "BCR",
1319
+ type: "geneVariant"
1320
+ }
1321
+ ],
1322
+ type: "geneVariant",
1323
+ isleaf: true,
1324
+ groupsetting: { disabled: false }
1325
+ },
1326
+ q: { type: "values" }
1327
+ }
1328
+ ]
1329
+ }
1330
+ ]
1331
+ }
1332
+ });
1333
+ })()
1334
+ ]);
1335
+ } catch (e) {
1336
+ test.fail("error: " + e);
1337
+ throw e;
1338
+ }
1339
+ }
1340
+ });
1341
+ (0, import_tape.default)("avoid race condition - cohort change", function(test) {
1342
+ test.timeoutAfter(3e3);
1343
+ test.plan(4);
1344
+ runpp({
1345
+ state: {
1346
+ plots: [
1347
+ {
1348
+ chartType: "matrix",
1349
+ settings: {
1350
+ // the matrix autocomputes the colw based on available screen width,
1351
+ // need to set an exact screen width for consistent tests using getBBox()
1352
+ matrix: {
1353
+ availContentWidth: 1200,
1354
+ sortTermsBy: "asListed"
1355
+ }
1356
+ },
1357
+ termgroups: [
1358
+ {
1359
+ name: "",
1360
+ lst: getGenes()
1361
+ }
1362
+ ]
1363
+ }
1364
+ ]
1365
+ },
1366
+ matrix: {
1367
+ callbacks: {
1368
+ "postRender.test": runTests
1369
+ }
1370
+ }
1371
+ });
1372
+ async function runTests(matrix) {
1373
+ matrix.on("postRender.test", null);
1374
+ matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1375
+ matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1376
+ const vkeys = opts.filter.lst?.[0].tvs.values.map((v) => v.key);
1377
+ const j = responseDelays[i];
1378
+ i++;
1379
+ await sleep(j);
1380
+ const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1381
+ return data;
1382
+ };
1383
+ matrix.on("postRender.test", async () => {
1384
+ matrix.on("postRender.test", null);
1385
+ await sleep(responseDelays.reduce((sum, v) => sum + v, 0) + 300);
1386
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1387
+ test.equal(termLabels.size(), 3, `should have 3 gene rows`);
1388
+ const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1389
+ test.equal(
1390
+ rects.size(),
1391
+ 1202,
1392
+ "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1393
+ );
1394
+ const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1395
+ test.equal(hits.size(), 0, "should have the expected number of matrix cell rects with hits");
1396
+ test.deepEqual(
1397
+ matrix.Inner.app.getState().termfilter.filter.lst?.[0].tvs,
1398
+ matrix.Inner.state.filter.lst?.[0].tvs,
1399
+ `app.state and matrix.state should have the same cohort filter value`
1400
+ );
1401
+ if (test._ok) matrix.Inner.app.destroy();
1402
+ test.end();
1403
+ });
1404
+ const responseDelays = [800, 500, 10];
1405
+ let i = 0;
1406
+ try {
1407
+ const results = await Promise.all([
1408
+ (async () => {
1409
+ await sleep(100);
1410
+ matrix.Inner.app.dispatch({
1411
+ type: "cohort_set",
1412
+ activeCohort: 1
1413
+ });
1414
+ })(),
1415
+ (async () => {
1416
+ await sleep(200);
1417
+ matrix.Inner.app.dispatch({
1418
+ type: "cohort_set",
1419
+ activeCohort: 0
1420
+ });
1421
+ })(),
1422
+ (async () => {
1423
+ await sleep(300);
1424
+ matrix.Inner.app.dispatch({
1425
+ type: "cohort_set",
1426
+ activeCohort: 2
1427
+ });
1428
+ })()
1429
+ ]);
1430
+ } catch (e) {
1431
+ test.fail("error: " + e);
1432
+ throw e;
1433
+ }
1434
+ }
1435
+ });
1436
+ (0, import_tape.default)('apply "hide" legend filters to a dictionary term', function(test) {
1437
+ test.timeoutAfter(5e3);
1438
+ test.plan(10);
1439
+ runpp({
1440
+ state: {
1441
+ plots: [
1442
+ {
1443
+ chartType: "matrix",
1444
+ settings: {
1445
+ matrix: {
1446
+ // the matrix autocomputes the colw based on available screen width,
1447
+ // need to set an exact screen width for consistent tests using getBBox()
1448
+ availContentWidth: 1200
1449
+ }
1450
+ },
1451
+ termgroups: [
1452
+ {
1453
+ name: "Demographics",
1454
+ lst: [
1455
+ {
1456
+ id: "aaclassic_5",
1457
+ q: {
1458
+ mode: "continuous"
1459
+ }
1460
+ },
1461
+ {
1462
+ id: "genetic_race"
1463
+ //q: { mode: 'values' } // or 'groupsetting'
1464
+ },
1465
+ {
1466
+ id: "agedx",
1467
+ q: {
1468
+ mode: "discrete",
1469
+ type: "regular-bin",
1470
+ bin_size: 5,
1471
+ first_bin: {
1472
+ startunbounded: true,
1473
+ stop: 5,
1474
+ stopinclusive: true
1475
+ }
1476
+ }
1477
+ // or 'continuous'
1478
+ }
1479
+ ]
1480
+ }
1481
+ ]
1482
+ }
1483
+ ]
1484
+ },
1485
+ matrix: {
1486
+ callbacks: {
1487
+ "postRender.test": runTests
1488
+ }
1489
+ }
1490
+ });
1491
+ async function runTests(matrix) {
1492
+ matrix.on("postRender.test", null);
1493
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1494
+ (d) => d?.__data__?.text?.startsWith("Asian")
1495
+ );
1496
+ legendTexts.dispatchEvent(
1497
+ new MouseEvent("mouseup", {
1498
+ bubbles: true,
1499
+ cancelable: true
1500
+ })
1501
+ );
1502
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1503
+ test.equal(options[0].innerText, "Hide", `First option should be Hide`);
1504
+ test.equal(options[1].innerText, "Show only", `second option should be Show only`);
1505
+ test.equal(options[2].innerText, "Show all", `third option should be Show all`);
1506
+ const rects = await detectLst({
1507
+ elem: matrix.Inner.dom.seriesesG.node(),
1508
+ selector: ".sjpp-mass-series-g rect",
1509
+ count: 177,
1510
+ trigger: () => {
1511
+ options[0].dispatchEvent(
1512
+ new MouseEvent("click", {
1513
+ bubbles: true,
1514
+ cancelable: true
1515
+ })
1516
+ );
1517
+ }
1518
+ });
1519
+ test.equal(
1520
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1521
+ 3,
1522
+ `should render the expected number of serieses`
1523
+ );
1524
+ test.equal(
1525
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1526
+ 1,
1527
+ `should render the expected number of cluster rects`
1528
+ );
1529
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1530
+ (d) => d?.__data__?.text?.startsWith("Asian")
1531
+ );
1532
+ legendTexts2.dispatchEvent(
1533
+ new MouseEvent("mouseup", {
1534
+ bubbles: true,
1535
+ cancelable: true
1536
+ })
1537
+ );
1538
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1539
+ test.equal(options2[0].innerText, "Show", `First option should be Show`);
1540
+ test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
1541
+ test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
1542
+ const rects2 = await detectLst({
1543
+ elem: matrix.Inner.dom.seriesesG.node(),
1544
+ selector: ".sjpp-mass-series-g rect",
1545
+ count: 180,
1546
+ trigger: () => {
1547
+ options2[0].dispatchEvent(
1548
+ new MouseEvent("click", {
1549
+ bubbles: true,
1550
+ cancelable: true
1551
+ })
1552
+ );
1553
+ }
1554
+ });
1555
+ test.equal(
1556
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1557
+ 3,
1558
+ `should render the expected number of serieses`
1559
+ );
1560
+ test.equal(
1561
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1562
+ 1,
1563
+ `should render the expected number of cluster rects`
1564
+ );
1565
+ if (test._ok) matrix.Inner.app.destroy();
1566
+ test.end();
1567
+ }
1568
+ });
1569
+ (0, import_tape.default)('apply "show only" and "show all" legend filters to dictionary terms', function(test) {
1570
+ test.timeoutAfter(5e3);
1571
+ test.plan(14);
1572
+ runpp({
1573
+ state: {
1574
+ plots: [
1575
+ {
1576
+ chartType: "matrix",
1577
+ settings: {
1578
+ matrix: {
1579
+ // the matrix autocomputes the colw based on available screen width,
1580
+ // need to set an exact screen width for consistent tests using getBBox()
1581
+ availContentWidth: 1200
1582
+ }
1583
+ },
1584
+ termgroups: [
1585
+ {
1586
+ name: "Demographics",
1587
+ lst: [
1588
+ {
1589
+ id: "aaclassic_5",
1590
+ q: {
1591
+ mode: "continuous"
1592
+ }
1593
+ },
1594
+ {
1595
+ id: "sex"
1596
+ //q: { mode: 'values' } // or 'groupsetting'
1597
+ },
1598
+ {
1599
+ id: "agedx",
1600
+ q: {
1601
+ mode: "discrete",
1602
+ type: "regular-bin",
1603
+ bin_size: 5,
1604
+ first_bin: {
1605
+ startunbounded: true,
1606
+ stop: 5,
1607
+ stopinclusive: true
1608
+ }
1609
+ }
1610
+ // or 'continuous'
1611
+ }
1612
+ ]
1613
+ }
1614
+ ]
1615
+ }
1616
+ ]
1617
+ },
1618
+ matrix: {
1619
+ callbacks: {
1620
+ "postRender.test": runTests
1621
+ }
1622
+ }
1623
+ });
1624
+ async function runTests(matrix) {
1625
+ matrix.on("postRender.test", null);
1626
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1627
+ (d) => d?.__data__?.text?.startsWith("Male")
1628
+ );
1629
+ legendTexts.dispatchEvent(
1630
+ new MouseEvent("mouseup", {
1631
+ bubbles: true,
1632
+ cancelable: true
1633
+ })
1634
+ );
1635
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1636
+ const rects = await detectLst({
1637
+ elem: matrix.Inner.dom.seriesesG.node(),
1638
+ selector: ".sjpp-mass-series-g rect",
1639
+ count: 75,
1640
+ trigger: () => {
1641
+ options[1].dispatchEvent(
1642
+ new MouseEvent("click", {
1643
+ bubbles: true,
1644
+ cancelable: true
1645
+ })
1646
+ );
1647
+ }
1648
+ });
1649
+ test.equal(
1650
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1651
+ 3,
1652
+ `should render the expected number of serieses`
1653
+ );
1654
+ test.equal(
1655
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1656
+ 1,
1657
+ `should render the expected number of cluster rects`
1658
+ );
1659
+ const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1660
+ (d) => d?.__data__?.text?.startsWith("<5")
1661
+ );
1662
+ secondLegendTexts.dispatchEvent(
1663
+ new MouseEvent("mouseup", {
1664
+ bubbles: true,
1665
+ cancelable: true
1666
+ })
1667
+ );
1668
+ const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1669
+ test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
1670
+ test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
1671
+ test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
1672
+ const secondRects = await detectLst({
1673
+ elem: matrix.Inner.dom.seriesesG.node(),
1674
+ selector: ".sjpp-mass-series-g rect",
1675
+ count: 30,
1676
+ trigger: () => {
1677
+ secondOptions[1].dispatchEvent(
1678
+ new MouseEvent("click", {
1679
+ bubbles: true,
1680
+ cancelable: true
1681
+ })
1682
+ );
1683
+ }
1684
+ });
1685
+ test.equal(
1686
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1687
+ 3,
1688
+ `should render the expected number of serieses`
1689
+ );
1690
+ test.equal(
1691
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1692
+ 1,
1693
+ `should render the expected number of cluster rects`
1694
+ );
1695
+ const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1696
+ (d) => d?.__data__?.text?.startsWith("<5")
1697
+ );
1698
+ thirdLegendTexts.dispatchEvent(
1699
+ new MouseEvent("mouseup", {
1700
+ bubbles: true,
1701
+ cancelable: true
1702
+ })
1703
+ );
1704
+ const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1705
+ test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
1706
+ test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
1707
+ const thirdRects = await detectLst({
1708
+ elem: matrix.Inner.dom.seriesesG.node(),
1709
+ selector: ".sjpp-mass-series-g rect",
1710
+ count: 0,
1711
+ trigger: () => {
1712
+ thirdOptions[0].dispatchEvent(
1713
+ new MouseEvent("click", {
1714
+ bubbles: true,
1715
+ cancelable: true
1716
+ })
1717
+ );
1718
+ }
1719
+ });
1720
+ test.equal(
1721
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1722
+ 0,
1723
+ `should render the expected number of serieses`
1724
+ );
1725
+ const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1726
+ (d) => d?.__data__?.text?.startsWith("<5")
1727
+ );
1728
+ fourthLegendTexts.dispatchEvent(
1729
+ new MouseEvent("mouseup", {
1730
+ bubbles: true,
1731
+ cancelable: true
1732
+ })
1733
+ );
1734
+ const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1735
+ test.equal(fourthOptions[0].innerText, "Show", `first option should be Show`);
1736
+ test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
1737
+ const fourthRects = await detectLst({
1738
+ elem: matrix.Inner.dom.seriesesG.node(),
1739
+ selector: ".sjpp-mass-series-g rect",
1740
+ count: 75,
1741
+ trigger: () => {
1742
+ fourthOptions[2].dispatchEvent(
1743
+ new MouseEvent("click", {
1744
+ bubbles: true,
1745
+ cancelable: true
1746
+ })
1747
+ );
1748
+ }
1749
+ });
1750
+ test.equal(
1751
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1752
+ 3,
1753
+ `should render the expected number of serieses`
1754
+ );
1755
+ test.equal(
1756
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1757
+ 1,
1758
+ `should render the expected number of cluster rects`
1759
+ );
1760
+ if (test._ok) matrix.Inner.app.destroy();
1761
+ test.end();
1762
+ }
1763
+ });
1764
+ (0, import_tape.default)(
1765
+ 'apply "Hide samples with" and "Do not show" legend filters to a geneVariant term in geneVariant term only matrix',
1766
+ function(test) {
1767
+ test.timeoutAfter(5e3);
1768
+ test.plan(12);
1769
+ runpp({
1770
+ state: {
1771
+ plots: [
1772
+ {
1773
+ chartType: "matrix",
1774
+ settings: {
1775
+ // the matrix autocomputes the colw based on available screen width,
1776
+ // need to set an exact screen width for consistent tests using getBBox()
1777
+ matrix: {
1778
+ availContentWidth: 1200
1779
+ }
1780
+ },
1781
+ termgroups: [
1782
+ {
1783
+ name: "",
1784
+ lst: [getGenes()[0]]
1785
+ }
1786
+ ]
1787
+ }
1788
+ ]
1789
+ },
1790
+ matrix: {
1791
+ callbacks: {
1792
+ "postRender.test": runTests
1793
+ }
1794
+ }
1795
+ });
1796
+ async function runTests(matrix) {
1797
+ matrix.on("postRender.test", null);
1798
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1799
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1800
+ );
1801
+ legendTexts.dispatchEvent(
1802
+ new MouseEvent("mouseup", {
1803
+ bubbles: true,
1804
+ cancelable: true
1805
+ })
1806
+ );
1807
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1808
+ test.equal(
1809
+ options[0].innerText,
1810
+ "Hide samples with FRAMESHIFT",
1811
+ `First option should be "Hide samples with FRAMESHIFT"`
1812
+ );
1813
+ test.equal(options[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
1814
+ test.equal(options.length, 2, `Should only show two options`);
1815
+ const rects = await detectLst({
1816
+ elem: matrix.Inner.dom.seriesesG.node(),
1817
+ selector: ".sjpp-mass-series-g rect",
1818
+ count: 237,
1819
+ trigger: () => {
1820
+ options[0].dispatchEvent(
1821
+ new MouseEvent("click", {
1822
+ bubbles: true,
1823
+ cancelable: true
1824
+ })
1825
+ );
1826
+ }
1827
+ });
1828
+ test.equal(
1829
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1830
+ 1,
1831
+ `should render the expected number of serieses`
1832
+ );
1833
+ test.equal(
1834
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1835
+ 1,
1836
+ `should render the expected number of cluster rects`
1837
+ );
1838
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1839
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1840
+ );
1841
+ legendTexts2.dispatchEvent(
1842
+ new MouseEvent("mouseup", {
1843
+ bubbles: true,
1844
+ cancelable: true
1845
+ })
1846
+ );
1847
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1848
+ test.equal(
1849
+ options2[0].innerText,
1850
+ "Show samples with FRAMESHIFT",
1851
+ `First option should be "Show samples with FRAMESHIFT"`
1852
+ );
1853
+ test.equal(options2.length, 1, `Should only show one option`);
1854
+ const rects2 = await detectLst({
1855
+ elem: matrix.Inner.dom.seriesesG.node(),
1856
+ selector: ".sjpp-mass-series-g rect",
1857
+ count: 242,
1858
+ trigger: () => {
1859
+ options2[0].dispatchEvent(
1860
+ new MouseEvent("click", {
1861
+ bubbles: true,
1862
+ cancelable: true
1863
+ })
1864
+ );
1865
+ }
1866
+ });
1867
+ test.equal(
1868
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1869
+ 1,
1870
+ `should render the expected number of serieses`
1871
+ );
1872
+ test.equal(
1873
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1874
+ 1,
1875
+ `should render the expected number of cluster rects`
1876
+ );
1877
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1878
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1879
+ );
1880
+ legendTexts3.dispatchEvent(
1881
+ new MouseEvent("mouseup", {
1882
+ bubbles: true,
1883
+ cancelable: true
1884
+ })
1885
+ );
1886
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1887
+ test.equal(options3.length, 2, `Should only show two options`);
1888
+ const rects3 = await detectLst({
1889
+ elem: matrix.Inner.dom.seriesesG.node(),
1890
+ selector: ".sjpp-mass-series-g rect",
1891
+ count: 241,
1892
+ trigger: () => {
1893
+ options3[1].dispatchEvent(
1894
+ new MouseEvent("click", {
1895
+ bubbles: true,
1896
+ cancelable: true
1897
+ })
1898
+ );
1899
+ }
1900
+ });
1901
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1902
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1903
+ );
1904
+ legendTexts4.dispatchEvent(
1905
+ new MouseEvent("mouseup", {
1906
+ bubbles: true,
1907
+ cancelable: true
1908
+ })
1909
+ );
1910
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1911
+ test.equal(
1912
+ options4[0].innerText,
1913
+ "Show samples with FRAMESHIFT",
1914
+ `First option should be "Show samples with FRAMESHIFT"`
1915
+ );
1916
+ test.equal(options4.length, 1, `Should only show one option`);
1917
+ const rects4 = await detectLst({
1918
+ elem: matrix.Inner.dom.seriesesG.node(),
1919
+ selector: ".sjpp-mass-series-g rect",
1920
+ count: 242,
1921
+ trigger: () => {
1922
+ options4[0].dispatchEvent(
1923
+ new MouseEvent("click", {
1924
+ bubbles: true,
1925
+ cancelable: true
1926
+ })
1927
+ );
1928
+ }
1929
+ });
1930
+ if (test._ok) matrix.Inner.app.destroy();
1931
+ test.end();
1932
+ }
1933
+ }
1934
+ );
1935
+ (0, import_tape.default)("apply legend group filters to a geneVariant term in geneVariant term only matrix", function(test) {
1936
+ test.timeoutAfter(5e3);
1937
+ test.plan(15);
1938
+ runpp({
1939
+ state: {
1940
+ plots: [
1941
+ {
1942
+ chartType: "matrix",
1943
+ settings: {
1944
+ // the matrix autocomputes the colw based on available screen width,
1945
+ // need to set an exact screen width for consistent tests using getBBox()
1946
+ matrix: {
1947
+ availContentWidth: 1200
1948
+ }
1949
+ },
1950
+ termgroups: [
1951
+ {
1952
+ name: "",
1953
+ lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
1954
+ }
1955
+ ]
1956
+ }
1957
+ ]
1958
+ },
1959
+ matrix: {
1960
+ callbacks: {
1961
+ "postRender.test": runTests
1962
+ }
1963
+ }
1964
+ });
1965
+ async function runTests(matrix) {
1966
+ matrix.on("postRender.test", null);
1967
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1968
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
1969
+ );
1970
+ legendTexts.dispatchEvent(
1971
+ new MouseEvent("mouseup", {
1972
+ bubbles: true,
1973
+ cancelable: true
1974
+ })
1975
+ );
1976
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1977
+ test.equal(
1978
+ options[0].innerText,
1979
+ "Show only truncating mutations",
1980
+ `First option should be "Show only truncating mutations"`
1981
+ );
1982
+ test.equal(
1983
+ options[1].innerText,
1984
+ "Show only protein-changing mutations",
1985
+ `second option should be "Show only protein-changing mutations"`
1986
+ );
1987
+ test.equal(
1988
+ options[2].innerText,
1989
+ "Do not show Somatic Mutations",
1990
+ `third option should be "Do not show Somatic Mutations"`
1991
+ );
1992
+ test.equal(options.length, 3, `Should show three options`);
1993
+ const rects = await detectLst({
1994
+ elem: matrix.Inner.dom.seriesesG.node(),
1995
+ selector: ".sjpp-mass-series-g rect",
1996
+ count: 183,
1997
+ trigger: () => {
1998
+ options[0].dispatchEvent(
1999
+ new MouseEvent("click", {
2000
+ bubbles: true,
2001
+ cancelable: true
2002
+ })
2003
+ );
2004
+ }
2005
+ });
2006
+ test.equal(
2007
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2008
+ 1,
2009
+ `should render the expected number of serieses`
2010
+ );
2011
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2012
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2013
+ );
2014
+ legendTexts2.dispatchEvent(
2015
+ new MouseEvent("mouseup", {
2016
+ bubbles: true,
2017
+ cancelable: true
2018
+ })
2019
+ );
2020
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2021
+ test.equal(
2022
+ options2[2].innerText,
2023
+ "Do not show Somatic Mutations",
2024
+ `third option should be "Do not show Somatic Mutations"`
2025
+ );
2026
+ test.equal(
2027
+ options2[3].innerText,
2028
+ "Show all Somatic Mutations",
2029
+ `fourth option should be "Show all Somatic Mutations"`
2030
+ );
2031
+ test.equal(options2.length, 4, `Should show four options`);
2032
+ const rects2 = await detectLst({
2033
+ elem: matrix.Inner.dom.seriesesG.node(),
2034
+ selector: ".sjpp-mass-series-g rect",
2035
+ count: 185,
2036
+ trigger: () => {
2037
+ options2[1].dispatchEvent(
2038
+ new MouseEvent("click", {
2039
+ bubbles: true,
2040
+ cancelable: true
2041
+ })
2042
+ );
2043
+ }
2044
+ });
2045
+ test.equal(
2046
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2047
+ 1,
2048
+ `should render the expected number of serieses`
2049
+ );
2050
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2051
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2052
+ );
2053
+ legendTexts3.dispatchEvent(
2054
+ new MouseEvent("mouseup", {
2055
+ bubbles: true,
2056
+ cancelable: true
2057
+ })
2058
+ );
2059
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2060
+ test.equal(
2061
+ options3[2].innerText,
2062
+ "Do not show Somatic Mutations",
2063
+ `third option should be "Do not show Somatic Mutations"`
2064
+ );
2065
+ test.equal(options3.length, 4, `Should show four options`);
2066
+ const rects3 = await detectLst({
2067
+ elem: matrix.Inner.dom.seriesesG.node(),
2068
+ selector: ".sjpp-mass-series-g rect",
2069
+ count: 182,
2070
+ trigger: () => {
2071
+ options3[2].dispatchEvent(
2072
+ new MouseEvent("click", {
2073
+ bubbles: true,
2074
+ cancelable: true
2075
+ })
2076
+ );
2077
+ }
2078
+ });
2079
+ test.equal(
2080
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2081
+ 1,
2082
+ `should render the expected number of serieses`
2083
+ );
2084
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2085
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2086
+ );
2087
+ legendTexts4.dispatchEvent(
2088
+ new MouseEvent("mouseup", {
2089
+ bubbles: true,
2090
+ cancelable: true
2091
+ })
2092
+ );
2093
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2094
+ test.equal(
2095
+ options4[0].innerText,
2096
+ "Show all Somatic Mutations",
2097
+ `first option should be "Show all Somatic Mutations"`
2098
+ );
2099
+ test.equal(options4.length, 1, `Should show one option`);
2100
+ const rects4 = await detectLst({
2101
+ elem: matrix.Inner.dom.seriesesG.node(),
2102
+ selector: ".sjpp-mass-series-g rect",
2103
+ count: 242,
2104
+ trigger: () => {
2105
+ options4[0].dispatchEvent(
2106
+ new MouseEvent("click", {
2107
+ bubbles: true,
2108
+ cancelable: true
2109
+ })
2110
+ );
2111
+ }
2112
+ });
2113
+ test.equal(
2114
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2115
+ 1,
2116
+ `should render the expected number of serieses`
2117
+ );
2118
+ if (test._ok) matrix.Inner.app.destroy();
2119
+ test.end();
2120
+ }
2121
+ });
2122
+ (0, import_tape.default)(
2123
+ "apply legend group filters and legend filters to a matrix with both geneVariant and dictionary terms",
2124
+ function(test) {
2125
+ test.timeoutAfter(5e3);
2126
+ test.plan(13);
2127
+ runpp({
2128
+ state: {
2129
+ plots: [
2130
+ {
2131
+ chartType: "matrix",
2132
+ settings: {
2133
+ // the matrix autocomputes the colw based on available screen width,
2134
+ // need to set an exact screen width for consistent tests using getBBox()
2135
+ matrix: {
2136
+ availContentWidth: 1200
2137
+ }
2138
+ },
2139
+ termgroups: [
2140
+ {
2141
+ name: "",
2142
+ lst: [
2143
+ ...getGenes(),
2144
+ { id: "agedx", term: termjson["agedx"] },
2145
+ { id: "diaggrp", term: termjson["diaggrp"] },
2146
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2147
+ ]
2148
+ }
2149
+ ]
2150
+ }
2151
+ ]
2152
+ },
2153
+ matrix: {
2154
+ callbacks: {
2155
+ "postRender.test": runTests
2156
+ }
2157
+ }
2158
+ });
2159
+ async function runTests(matrix) {
2160
+ matrix.on("postRender.test", null);
2161
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2162
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2163
+ );
2164
+ legendTexts.dispatchEvent(
2165
+ new MouseEvent("mouseup", {
2166
+ bubbles: true,
2167
+ cancelable: true
2168
+ })
2169
+ );
2170
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2171
+ test.equal(
2172
+ options[0].innerText,
2173
+ "Show only truncating mutations",
2174
+ `First option should be "Show only truncating mutations"`
2175
+ );
2176
+ test.equal(options.length, 3, `Should show three options`);
2177
+ const rects = await detectLst({
2178
+ elem: matrix.Inner.dom.seriesesG.node(),
2179
+ selector: ".sjpp-mass-series-g rect",
2180
+ count: 723,
2181
+ trigger: () => {
2182
+ options[0].dispatchEvent(
2183
+ new MouseEvent("click", {
2184
+ bubbles: true,
2185
+ cancelable: true
2186
+ })
2187
+ );
2188
+ }
2189
+ });
2190
+ test.equal(
2191
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2192
+ 6,
2193
+ `should render the expected number of serieses`
2194
+ );
2195
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2196
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2197
+ );
2198
+ legendTexts2.dispatchEvent(
2199
+ new MouseEvent("mouseup", {
2200
+ bubbles: true,
2201
+ cancelable: true
2202
+ })
2203
+ );
2204
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2205
+ test.equal(
2206
+ options2[1].innerText,
2207
+ "Show only protein-changing mutations",
2208
+ `second option should be "Show only protein-changing mutations"`
2209
+ );
2210
+ test.equal(
2211
+ options2[3].innerText,
2212
+ "Show all Somatic Mutations",
2213
+ `fourth option should be "Show all Somatic Mutations"`
2214
+ );
2215
+ test.equal(options2.length, 4, `Should show four options`);
2216
+ const rects2 = await detectLst({
2217
+ elem: matrix.Inner.dom.seriesesG.node(),
2218
+ selector: ".sjpp-mass-series-g rect",
2219
+ count: 726,
2220
+ trigger: () => {
2221
+ options2[1].dispatchEvent(
2222
+ new MouseEvent("click", {
2223
+ bubbles: true,
2224
+ cancelable: true
2225
+ })
2226
+ );
2227
+ }
2228
+ });
2229
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2230
+ (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2231
+ );
2232
+ legendTexts3.dispatchEvent(
2233
+ new MouseEvent("mouseup", {
2234
+ bubbles: true,
2235
+ cancelable: true
2236
+ })
2237
+ );
2238
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2239
+ test.equal(
2240
+ options3[0].innerText,
2241
+ "Hide samples with FRAMESHIFT",
2242
+ `First option should be "Hide samples with FRAMESHIFT"`
2243
+ );
2244
+ test.equal(options3[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
2245
+ const rects3 = await detectLst({
2246
+ elem: matrix.Inner.dom.seriesesG.node(),
2247
+ selector: ".sjpp-mass-series-g rect",
2248
+ count: 712,
2249
+ trigger: () => {
2250
+ options3[0].dispatchEvent(
2251
+ new MouseEvent("click", {
2252
+ bubbles: true,
2253
+ cancelable: true
2254
+ })
2255
+ );
2256
+ }
2257
+ });
2258
+ test.equal(
2259
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2260
+ 6,
2261
+ `should render the expected number of serieses`
2262
+ );
2263
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2264
+ (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2265
+ );
2266
+ legendTexts4.dispatchEvent(
2267
+ new MouseEvent("mouseup", {
2268
+ bubbles: true,
2269
+ cancelable: true
2270
+ })
2271
+ );
2272
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2273
+ test.equal(
2274
+ options4[0].innerText,
2275
+ "Show samples with FRAMESHIFT",
2276
+ `First option should be "Show samples with FRAMESHIFT"`
2277
+ );
2278
+ test.equal(options4.length, 1, `Should only show one option`);
2279
+ const rects4 = await detectLst({
2280
+ elem: matrix.Inner.dom.seriesesG.node(),
2281
+ selector: ".sjpp-mass-series-g rect",
2282
+ count: 726,
2283
+ trigger: () => {
2284
+ options4[0].dispatchEvent(
2285
+ new MouseEvent("click", {
2286
+ bubbles: true,
2287
+ cancelable: true
2288
+ })
2289
+ );
2290
+ }
2291
+ });
2292
+ const legendTexts5 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2293
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2294
+ );
2295
+ legendTexts5.dispatchEvent(
2296
+ new MouseEvent("mouseup", {
2297
+ bubbles: true,
2298
+ cancelable: true
2299
+ })
2300
+ );
2301
+ const options5 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2302
+ test.equal(
2303
+ options5[3].innerText,
2304
+ "Show all Somatic Mutations",
2305
+ `fourth option should be "Show all Somatic Mutations"`
2306
+ );
2307
+ test.equal(options5.length, 4, `Should show four options`);
2308
+ const rects5 = await detectLst({
2309
+ elem: matrix.Inner.dom.seriesesG.node(),
2310
+ selector: ".sjpp-mass-series-g rect",
2311
+ count: 902,
2312
+ trigger: () => {
2313
+ options5[3].dispatchEvent(
2314
+ new MouseEvent("click", {
2315
+ bubbles: true,
2316
+ cancelable: true
2317
+ })
2318
+ );
2319
+ }
2320
+ });
2321
+ if (test._ok) matrix.Inner.app.destroy();
2322
+ test.end();
2323
+ }
2324
+ }
2325
+ );
2326
+ (0, import_tape.default)("cell brush zoom in", function(test) {
2327
+ test.timeoutAfter(5e3);
2328
+ test.plan(1);
2329
+ runpp({
2330
+ state: {
2331
+ plots: [
2332
+ {
2333
+ chartType: "matrix",
2334
+ settings: {
2335
+ matrix: {
2336
+ // the matrix autocomputes the colw based on available screen width,
2337
+ // need to set an exact screen width for consistent tests using getBBox()
2338
+ availContentWidth: 300
2339
+ }
2340
+ },
2341
+ termgroups: [
2342
+ {
2343
+ name: "Demographics",
2344
+ lst: [
2345
+ {
2346
+ id: "aaclassic_5",
2347
+ q: {
2348
+ mode: "continuous"
2349
+ }
2350
+ },
2351
+ {
2352
+ id: "sex"
2353
+ //q: { mode: 'values' } // or 'groupsetting'
2354
+ },
2355
+ {
2356
+ id: "agedx",
2357
+ q: {
2358
+ mode: "discrete",
2359
+ type: "regular-bin",
2360
+ bin_size: 5,
2361
+ first_bin: {
2362
+ startunbounded: true,
2363
+ stop: 5,
2364
+ stopinclusive: true
2365
+ }
2366
+ }
2367
+ // or 'continuous'
2368
+ }
2369
+ ]
2370
+ }
2371
+ ]
2372
+ }
2373
+ ]
2374
+ },
2375
+ matrix: {
2376
+ callbacks: {
2377
+ "postRender.test": runTests
2378
+ }
2379
+ }
2380
+ });
2381
+ async function runTests(matrix) {
2382
+ matrix.on("postRender.test", null);
2383
+ const startCell = matrix.Inner.serieses[1].cells[10];
2384
+ const endCell = matrix.Inner.serieses[1].cells[14];
2385
+ matrix.Inner.clickedSeriesCell = {
2386
+ startCell,
2387
+ endCell
2388
+ };
2389
+ matrix.Inner.zoomWidth = Math.abs(startCell.totalIndex - endCell.totalIndex) * matrix.Inner.dimensions.colw;
2390
+ matrix.on("postRender.test", () => {
2391
+ matrix.on("postRender.test", null);
2392
+ test.deepEqual(matrix.Inner.settings.matrix.zoomLevel, 3.2, "should have the expected zoom level after zoom in");
2393
+ if (test._ok) matrix.Inner.app.destroy();
2394
+ test.end();
2395
+ });
2396
+ matrix.Inner.triggerZoomArea();
2397
+ }
2398
+ });
2399
+ (0, import_tape.default)("survival term in continous mode", function(test) {
2400
+ test.timeoutAfter(5e3);
2401
+ test.plan(2);
2402
+ runpp({
2403
+ state: {
2404
+ plots: [
2405
+ {
2406
+ chartType: "matrix",
2407
+ settings: {
2408
+ // the matrix autocomputes the colw based on available screen width,
2409
+ // need to set an exact screen width for consistent tests using getBBox()
2410
+ matrix: {
2411
+ availContentWidth: 1200
2412
+ }
2413
+ },
2414
+ termgroups: [
2415
+ {
2416
+ name: "",
2417
+ lst: [
2418
+ {
2419
+ term: {
2420
+ name: "Overall survival",
2421
+ type: "survival",
2422
+ isleaf: true,
2423
+ unit: "years",
2424
+ id: "os"
2425
+ },
2426
+ q: {
2427
+ mode: "continuous"
2428
+ }
2429
+ }
2430
+ ]
2431
+ }
2432
+ ]
2433
+ }
2434
+ ]
2435
+ },
2436
+ matrix: {
2437
+ callbacks: {
2438
+ "postRender.test": runTests
2439
+ }
2440
+ }
2441
+ });
2442
+ function runTests(matrix) {
2443
+ matrix.on("postRender.test", null);
2444
+ test.equal(
2445
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2446
+ 1,
2447
+ `should render the expected number of serieses`
2448
+ );
2449
+ test.equal(
2450
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2451
+ 60,
2452
+ `should render the expected number of cell rects`
2453
+ );
2454
+ if (test._ok) matrix.Inner.app.destroy();
2455
+ test.end();
2456
+ }
2457
+ });
2458
+ (0, import_tape.default)("survival term in discrete mode", function(test) {
2459
+ test.timeoutAfter(5e3);
2460
+ test.plan(2);
2461
+ runpp({
2462
+ state: {
2463
+ plots: [
2464
+ {
2465
+ chartType: "matrix",
2466
+ settings: {
2467
+ // the matrix autocomputes the colw based on available screen width,
2468
+ // need to set an exact screen width for consistent tests using getBBox()
2469
+ matrix: {
2470
+ availContentWidth: 1200
2471
+ }
2472
+ },
2473
+ termgroups: [
2474
+ {
2475
+ name: "",
2476
+ lst: [
2477
+ {
2478
+ term: {
2479
+ name: "Overall survival",
2480
+ type: "survival",
2481
+ isleaf: true,
2482
+ unit: "years",
2483
+ id: "os"
2484
+ },
2485
+ q: {
2486
+ mode: "continuous"
2487
+ }
2488
+ }
2489
+ ]
2490
+ }
2491
+ ]
2492
+ }
2493
+ ]
2494
+ },
2495
+ matrix: {
2496
+ callbacks: {
2497
+ "postRender.test": runTests
2498
+ }
2499
+ }
2500
+ });
2501
+ function runTests(matrix) {
2502
+ matrix.on("postRender.test", null);
2503
+ test.equal(
2504
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2505
+ 1,
2506
+ `should render the expected number of serieses`
2507
+ );
2508
+ test.equal(
2509
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2510
+ 60,
2511
+ `should render the expected number of cell rects`
2512
+ );
2513
+ if (test._ok) matrix.Inner.app.destroy();
2514
+ test.end();
2515
+ }
2516
+ });
2517
+ (0, import_tape.default)("survival term with divide by dictionary term", function(test) {
2518
+ test.timeoutAfter(5e3);
2519
+ test.plan(3);
2520
+ runpp({
2521
+ state: {
2522
+ plots: [
2523
+ {
2524
+ chartType: "matrix",
2525
+ settings: {
2526
+ // the matrix autocomputes the colw based on available screen width,
2527
+ // need to set an exact screen width for consistent tests using getBBox()
2528
+ matrix: {
2529
+ availContentWidth: 1200
2530
+ }
2531
+ },
2532
+ divideBy: {
2533
+ id: "sex"
2534
+ },
2535
+ termgroups: [
2536
+ {
2537
+ name: "",
2538
+ lst: [
2539
+ {
2540
+ term: {
2541
+ name: "Overall survival",
2542
+ type: "survival",
2543
+ isleaf: true,
2544
+ unit: "years",
2545
+ id: "os"
2546
+ },
2547
+ q: {
2548
+ mode: "continuous"
2549
+ }
2550
+ }
2551
+ ]
2552
+ }
2553
+ ]
2554
+ }
2555
+ ]
2556
+ },
2557
+ matrix: {
2558
+ callbacks: {
2559
+ "postRender.test": runTests
2560
+ }
2561
+ }
2562
+ });
2563
+ function runTests(matrix) {
2564
+ matrix.on("postRender.test", null);
2565
+ test.equal(
2566
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2567
+ 1,
2568
+ `should render the expected number of serieses`
2569
+ );
2570
+ test.equal(
2571
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2572
+ 60,
2573
+ `should render the expected number of cell rects`
2574
+ );
2575
+ test.equal(
2576
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2577
+ 2,
2578
+ `should render the expected number of cluster rects`
2579
+ );
2580
+ if (test._ok) matrix.Inner.app.destroy();
2581
+ test.end();
2582
+ }
2583
+ });
2584
+ (0, import_tape.default)("dictionary term with divide by survival term", function(test) {
2585
+ test.timeoutAfter(5e3);
2586
+ test.plan(3);
2587
+ runpp({
2588
+ state: {
2589
+ plots: [
2590
+ {
2591
+ chartType: "matrix",
2592
+ settings: {
2593
+ // the matrix autocomputes the colw based on available screen width,
2594
+ // need to set an exact screen width for consistent tests using getBBox()
2595
+ matrix: {
2596
+ availContentWidth: 1200
2597
+ }
2598
+ },
2599
+ divideBy: {
2600
+ id: "os"
2601
+ },
2602
+ termgroups: [
2603
+ {
2604
+ name: "Demographics",
2605
+ lst: [
2606
+ { id: "agedx", term: termjson["agedx"] },
2607
+ { id: "diaggrp", term: termjson["diaggrp"] },
2608
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2609
+ ]
2610
+ }
2611
+ ]
2612
+ }
2613
+ ]
2614
+ },
2615
+ matrix: {
2616
+ callbacks: {
2617
+ "postRender.test": runTests
2618
+ }
2619
+ }
2620
+ });
2621
+ function runTests(matrix) {
2622
+ matrix.on("postRender.test", null);
2623
+ test.equal(
2624
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2625
+ 3,
2626
+ `should render the expected number of serieses`
2627
+ );
2628
+ test.equal(
2629
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2630
+ 180,
2631
+ `should render the expected number of cell rects`
2632
+ );
2633
+ test.equal(
2634
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2635
+ 2,
2636
+ `should render the expected number of cluster rects`
2637
+ );
2638
+ if (test._ok) matrix.Inner.app.destroy();
2639
+ test.end();
2640
+ }
2641
+ });
2642
+ (0, import_tape.default)('apply "hide" and "show" legend filters to a survival term', function(test) {
2643
+ test.timeoutAfter(5e3);
2644
+ test.plan(10);
2645
+ runpp({
2646
+ state: {
2647
+ plots: [
2648
+ {
2649
+ chartType: "matrix",
2650
+ settings: {
2651
+ matrix: {
2652
+ // the matrix autocomputes the colw based on available screen width,
2653
+ // need to set an exact screen width for consistent tests using getBBox()
2654
+ availContentWidth: 1200
2655
+ }
2656
+ },
2657
+ termgroups: [
2658
+ {
2659
+ name: "",
2660
+ lst: [
2661
+ {
2662
+ id: "aaclassic_5",
2663
+ q: {
2664
+ mode: "continuous"
2665
+ }
2666
+ },
2667
+ {
2668
+ id: "genetic_race"
2669
+ //q: { mode: 'values' } // or 'groupsetting'
2670
+ },
2671
+ {
2672
+ id: "agedx",
2673
+ q: {
2674
+ mode: "discrete",
2675
+ type: "regular-bin",
2676
+ bin_size: 5,
2677
+ first_bin: {
2678
+ startunbounded: true,
2679
+ stop: 5,
2680
+ stopinclusive: true
2681
+ }
2682
+ }
2683
+ },
2684
+ {
2685
+ term: {
2686
+ name: "Overall survival",
2687
+ type: "survival",
2688
+ isleaf: true,
2689
+ unit: "years",
2690
+ id: "os"
2691
+ }
2692
+ }
2693
+ ]
2694
+ }
2695
+ ]
2696
+ }
2697
+ ]
2698
+ },
2699
+ matrix: {
2700
+ callbacks: {
2701
+ "postRender.test": runTests
2702
+ }
2703
+ }
2704
+ });
2705
+ async function runTests(matrix) {
2706
+ matrix.on("postRender.test", null);
2707
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2708
+ (d) => d?.__data__?.text?.startsWith("Alive")
2709
+ );
2710
+ legendTexts.dispatchEvent(
2711
+ new MouseEvent("mouseup", {
2712
+ bubbles: true,
2713
+ cancelable: true
2714
+ })
2715
+ );
2716
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2717
+ test.equal(options[0].innerText, "Hide", `First option should be Hide`);
2718
+ test.equal(options[1].innerText, "Show only", `second option should be Show only`);
2719
+ test.equal(options[2].innerText, "Show all", `third option should be Show all`);
2720
+ const rects = await detectLst({
2721
+ elem: matrix.Inner.dom.seriesesG.node(),
2722
+ selector: ".sjpp-mass-series-g rect",
2723
+ count: 228,
2724
+ trigger: () => {
2725
+ options[0].dispatchEvent(
2726
+ new MouseEvent("click", {
2727
+ bubbles: true,
2728
+ cancelable: true
2729
+ })
2730
+ );
2731
+ }
2732
+ });
2733
+ test.equal(
2734
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2735
+ 4,
2736
+ `should render the expected number of serieses`
2737
+ );
2738
+ test.equal(
2739
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2740
+ 1,
2741
+ `should render the expected number of cluster rects`
2742
+ );
2743
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2744
+ (d) => d?.__data__?.text?.startsWith("Alive")
2745
+ );
2746
+ legendTexts2.dispatchEvent(
2747
+ new MouseEvent("mouseup", {
2748
+ bubbles: true,
2749
+ cancelable: true
2750
+ })
2751
+ );
2752
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2753
+ test.equal(options2[0].innerText, "Show", `First option should be Show`);
2754
+ test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
2755
+ test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
2756
+ const rects2 = await detectLst({
2757
+ elem: matrix.Inner.dom.seriesesG.node(),
2758
+ selector: ".sjpp-mass-series-g rect",
2759
+ count: 240,
2760
+ trigger: () => {
2761
+ options2[0].dispatchEvent(
2762
+ new MouseEvent("click", {
2763
+ bubbles: true,
2764
+ cancelable: true
2765
+ })
2766
+ );
2767
+ }
2768
+ });
2769
+ test.equal(
2770
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2771
+ 4,
2772
+ `should render the expected number of serieses`
2773
+ );
2774
+ test.equal(
2775
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2776
+ 1,
2777
+ `should render the expected number of cluster rects`
2778
+ );
2779
+ if (test._ok) matrix.Inner.app.destroy();
2780
+ test.end();
2781
+ }
2782
+ });
2783
+ (0, import_tape.default)('apply "show only" and "show all" legend filters to a survival terms', function(test) {
2784
+ test.timeoutAfter(5e3);
2785
+ test.plan(14);
2786
+ runpp({
2787
+ state: {
2788
+ plots: [
2789
+ {
2790
+ chartType: "matrix",
2791
+ settings: {
2792
+ matrix: {
2793
+ // the matrix autocomputes the colw based on available screen width,
2794
+ // need to set an exact screen width for consistent tests using getBBox()
2795
+ availContentWidth: 1200
2796
+ }
2797
+ },
2798
+ termgroups: [
2799
+ {
2800
+ name: "",
2801
+ lst: [
2802
+ {
2803
+ id: "aaclassic_5",
2804
+ q: {
2805
+ mode: "continuous"
2806
+ }
2807
+ },
2808
+ {
2809
+ id: "genetic_race"
2810
+ //q: { mode: 'values' } // or 'groupsetting'
2811
+ },
2812
+ {
2813
+ id: "agedx",
2814
+ q: {
2815
+ mode: "discrete",
2816
+ type: "regular-bin",
2817
+ bin_size: 5,
2818
+ first_bin: {
2819
+ startunbounded: true,
2820
+ stop: 5,
2821
+ stopinclusive: true
2822
+ }
2823
+ }
2824
+ },
2825
+ {
2826
+ term: {
2827
+ name: "Overall survival",
2828
+ type: "survival",
2829
+ isleaf: true,
2830
+ unit: "years",
2831
+ id: "os"
2832
+ }
2833
+ }
2834
+ ]
2835
+ }
2836
+ ]
2837
+ }
2838
+ ]
2839
+ },
2840
+ matrix: {
2841
+ callbacks: {
2842
+ "postRender.test": runTests
2843
+ }
2844
+ }
2845
+ });
2846
+ async function runTests(matrix) {
2847
+ matrix.on("postRender.test", null);
2848
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2849
+ (d) => d?.__data__?.text?.startsWith("Alive")
2850
+ );
2851
+ legendTexts.dispatchEvent(
2852
+ new MouseEvent("mouseup", {
2853
+ bubbles: true,
2854
+ cancelable: true
2855
+ })
2856
+ );
2857
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2858
+ const rects = await detectLst({
2859
+ elem: matrix.Inner.dom.seriesesG.node(),
2860
+ selector: ".sjpp-mass-series-g rect",
2861
+ count: 12,
2862
+ trigger: () => {
2863
+ options[1].dispatchEvent(
2864
+ new MouseEvent("click", {
2865
+ bubbles: true,
2866
+ cancelable: true
2867
+ })
2868
+ );
2869
+ }
2870
+ });
2871
+ test.equal(
2872
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2873
+ 4,
2874
+ `should render the expected number of serieses`
2875
+ );
2876
+ test.equal(
2877
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2878
+ 1,
2879
+ `should render the expected number of cluster rects`
2880
+ );
2881
+ const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2882
+ (d) => d?.__data__?.text?.startsWith("<5")
2883
+ );
2884
+ secondLegendTexts.dispatchEvent(
2885
+ new MouseEvent("mouseup", {
2886
+ bubbles: true,
2887
+ cancelable: true
2888
+ })
2889
+ );
2890
+ const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2891
+ test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
2892
+ test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
2893
+ test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
2894
+ const secondRects = await detectLst({
2895
+ elem: matrix.Inner.dom.seriesesG.node(),
2896
+ selector: ".sjpp-mass-series-g rect",
2897
+ count: 4,
2898
+ trigger: () => {
2899
+ secondOptions[1].dispatchEvent(
2900
+ new MouseEvent("click", {
2901
+ bubbles: true,
2902
+ cancelable: true
2903
+ })
2904
+ );
2905
+ }
2906
+ });
2907
+ test.equal(
2908
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2909
+ 4,
2910
+ `should render the expected number of serieses`
2911
+ );
2912
+ test.equal(
2913
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2914
+ 1,
2915
+ `should render the expected number of cluster rects`
2916
+ );
2917
+ const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2918
+ (d) => d?.__data__?.text?.startsWith("<5")
2919
+ );
2920
+ thirdLegendTexts.dispatchEvent(
2921
+ new MouseEvent("mouseup", {
2922
+ bubbles: true,
2923
+ cancelable: true
2924
+ })
2925
+ );
2926
+ const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2927
+ test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
2928
+ test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
2929
+ const thirdRects = await detectLst({
2930
+ elem: matrix.Inner.dom.seriesesG.node(),
2931
+ selector: ".sjpp-mass-series-g rect",
2932
+ count: 12,
2933
+ trigger: () => {
2934
+ thirdOptions[2].dispatchEvent(
2935
+ new MouseEvent("click", {
2936
+ bubbles: true,
2937
+ cancelable: true
2938
+ })
2939
+ );
2940
+ }
2941
+ });
2942
+ test.equal(
2943
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2944
+ 4,
2945
+ `should render the expected number of serieses`
2946
+ );
2947
+ const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2948
+ (d) => d?.__data__?.text?.startsWith("Alive")
2949
+ );
2950
+ fourthLegendTexts.dispatchEvent(
2951
+ new MouseEvent("mouseup", {
2952
+ bubbles: true,
2953
+ cancelable: true
2954
+ })
2955
+ );
2956
+ const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2957
+ test.equal(fourthOptions[0].innerText, "Hide", `first option should be Hide`);
2958
+ test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
2959
+ const fourthRects = await detectLst({
2960
+ elem: matrix.Inner.dom.seriesesG.node(),
2961
+ selector: ".sjpp-mass-series-g rect",
2962
+ count: 240,
2963
+ trigger: () => {
2964
+ fourthOptions[2].dispatchEvent(
2965
+ new MouseEvent("click", {
2966
+ bubbles: true,
2967
+ cancelable: true
2968
+ })
2969
+ );
2970
+ }
2971
+ });
2972
+ test.equal(
2973
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2974
+ 4,
2975
+ `should render the expected number of serieses`
2976
+ );
2977
+ test.equal(
2978
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2979
+ 1,
2980
+ `should render the expected number of cluster rects`
2981
+ );
2982
+ if (test._ok) matrix.Inner.app.destroy();
2983
+ test.end();
2984
+ }
2985
+ });
2986
+ var runpp = getRunPp("mass", {
2987
+ state: {
2988
+ dslabel: "TermdbTest",
2989
+ genome: "hg38-test",
2990
+ nav: { activeTab: -1 }
2991
+ },
2992
+ debug: 1
2993
+ });
2994
+ function getGenes() {
2995
+ return [
2996
+ { term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } },
2997
+ { term: { gene: "KRAS", name: "KRAS", type: "geneVariant", isleaf: true } },
2998
+ { term: { gene: "AKT1", name: "AKT1", type: "geneVariant", isleaf: true } }
2999
+ ];
3000
+ }
3001
+ function getTermCollection() {
3002
+ return {
3003
+ //isAtomic: true,
3004
+ type: "TermCollectionTWCont",
3005
+ //$id: 'TwBase_0__48243_99155',
3006
+ term: {
3007
+ type: "termCollection",
3008
+ termlst: [
3009
+ {
3010
+ type: "float",
3011
+ bins: {
3012
+ default: {
3013
+ type: "regular-bin",
3014
+ bin_size: 5,
3015
+ startinclusive: true,
3016
+ first_bin: { startunbounded: true, stop: 5 }
3017
+ },
3018
+ label_offset: 1
3019
+ },
3020
+ name: "Age (years) at Cancer Diagnosis",
3021
+ id: "agedx",
3022
+ isleaf: true,
3023
+ values: {},
3024
+ hashtmldetail: true
3025
+ },
3026
+ {
3027
+ type: "float",
3028
+ bins: {
3029
+ default: {
3030
+ type: "regular-bin",
3031
+ startinclusive: true,
3032
+ bin_size: 5,
3033
+ first_bin: { stop: 25 },
3034
+ last_bin: { start: 55 }
3035
+ }
3036
+ },
3037
+ name: "Age (years) at Death",
3038
+ id: "a_death",
3039
+ isleaf: true,
3040
+ values: {},
3041
+ hashtmldetail: true
3042
+ },
3043
+ {
3044
+ type: "float",
3045
+ bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3046
+ name: "Age (years) at Last NDI Search",
3047
+ id: "a_ndi",
3048
+ isleaf: true,
3049
+ values: {}
3050
+ },
3051
+ {
3052
+ type: "float",
3053
+ bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3054
+ values: { "-994": { label: "N/A: No campus visit", uncomputable: true } },
3055
+ name: "Age at last ABC assessment",
3056
+ id: "agelastvisit",
3057
+ isleaf: true
3058
+ }
3059
+ ],
3060
+ name: "Fake Collection 1",
3061
+ isleaf: true,
3062
+ propsByTermId: {
3063
+ agedx: { color: "#1b9e77" },
3064
+ a_death: { color: "#d95f02" },
3065
+ a_ndi: { color: "#7570b3" },
3066
+ agelastvisit: { color: "#e7298a" }
3067
+ }
3068
+ },
3069
+ q: { isAtomic: true, mode: "continuous", lst: [] }
3070
+ };
3071
+ }
3072
+ //# sourceMappingURL=matrix.integration.spec-BW6U6PIW.js.map