@sjcrh/proteinpaint-client 2.182.0 → 2.183.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 (1004) hide show
  1. package/dist/2dmaf-6ZTETSC5.js +1371 -0
  2. package/dist/AIProjectAdmin-ZT3XKBBT.js +830 -0
  3. package/dist/AIProjectAdmin-ZT3XKBBT.js.map +7 -0
  4. package/dist/AppHeader-U7SJPIBS.js +833 -0
  5. package/dist/BoxPlot-QGHLZ67V.js +1217 -0
  6. package/dist/BoxPlot-QGHLZ67V.js.map +7 -0
  7. package/dist/CorrelationVolcano-7SE4CTBW.js +617 -0
  8. package/dist/DE-PZ7RHPBS.js +93 -0
  9. package/dist/DEinput-UZEQIU2V.js +297 -0
  10. package/dist/DifferentialAnalysis-L6BOEYVO.js +238 -0
  11. package/dist/Disco-6FDT6KRM.js +3235 -0
  12. package/dist/Disco-6FDT6KRM.js.map +7 -0
  13. package/dist/Disco.UI-HKOUAD4P.js +242 -0
  14. package/dist/DmrPlot-3R24PTXP.js +640 -0
  15. package/dist/GB-SZVYZASR.js +1125 -0
  16. package/dist/HicApp-SEEJETVE.js +2248 -0
  17. package/dist/NumBinaryEditor-SDQFJ3FW.js +268 -0
  18. package/dist/NumBinaryEditor.unit.spec-76ZZXTYC.js +284 -0
  19. package/dist/NumContEditor-G75O4YZE.js +105 -0
  20. package/dist/NumContEditor.unit.spec-BFUZRBPL.js +167 -0
  21. package/dist/NumCustomBinEditor-ILTPHCEF.js +36 -0
  22. package/dist/NumCustomBinEditor.unit.spec-GFIYV55V.js +282 -0
  23. package/dist/NumDiscreteEditor-5K3OKUOE.js +177 -0
  24. package/dist/NumDiscreteEditor.unit.spec-NZ4KWPFK.js +200 -0
  25. package/dist/NumRegularBinEditor-7ZJ2MEMY.js +36 -0
  26. package/dist/NumRegularBinEditor.unit.spec-QGVJET65.js +225 -0
  27. package/dist/NumSplineEditor-KE4UPODZ.js +190 -0
  28. package/dist/NumSplineEditor.unit.spec-YQOOZA7S.js +197 -0
  29. package/dist/NumericDensity-RL42P4QC.js +36 -0
  30. package/dist/NumericDensity.unit.spec-Y6RMTYC7.js +219 -0
  31. package/dist/NumericHandler-4QIX324I.js +37 -0
  32. package/dist/NumericHandler.unit.spec-T6F5QYP6.js +217 -0
  33. package/dist/RunChart2-ASGCKKER.js +756 -0
  34. package/dist/RunChart2-ASGCKKER.js.map +7 -0
  35. package/dist/SC-H2YCKSBH.js +682 -0
  36. package/dist/SC-H2YCKSBH.js.map +7 -0
  37. package/dist/Volcano-QBYYJYVW.js +1185 -0
  38. package/dist/Volcano-QBYYJYVW.js.map +7 -0
  39. package/dist/WSIViewer-NDHWFVAB.js +47974 -0
  40. package/dist/WSIViewer-NDHWFVAB.js.map +7 -0
  41. package/dist/WsiSamplesPlot-CXGWPCDL.js +163 -0
  42. package/dist/adSandbox-DE4VRO4Z.js +36 -0
  43. package/dist/alphaGenome-FSIGC5ZT.js +173 -0
  44. package/dist/app-KZGKWQMU.js +47 -0
  45. package/dist/app-MQRJ7FVL.js +35 -0
  46. package/dist/app.js +22 -22
  47. package/dist/bam-BDWTA4O3.js +857 -0
  48. package/dist/barchart-4Q6LVJY4.js +45 -0
  49. package/dist/barchart.data-EXENRVMU.js +22 -0
  50. package/dist/barchart.events-XRGND6I7.js +45 -0
  51. package/dist/barchart.integration.spec-VQITP4YH.js +1675 -0
  52. package/dist/bars.renderer-S7A7I6BQ.js +12 -0
  53. package/dist/block-2MABX5QO.js +6200 -0
  54. package/dist/block-2MABX5QO.js.map +7 -0
  55. package/dist/block.init-NCNSE3HD.js +36 -0
  56. package/dist/block.mds.expressionrank-JYZARS7T.js +357 -0
  57. package/dist/block.mds.geneboxplot-FD2MCIHV.js +826 -0
  58. package/dist/block.mds.junction-LOHVQBIU.js +1543 -0
  59. package/dist/block.mds.svcnv-Z7SAYPQL.js +6799 -0
  60. package/dist/block.svg-LNJOKQNN.js +162 -0
  61. package/dist/block.tk.aicheck-IXCMMAGV.js +281 -0
  62. package/dist/block.tk.ase-WYRYFP6N.js +363 -0
  63. package/dist/block.tk.bam-EIVBNGAL.js +1904 -0
  64. package/dist/block.tk.bedgraphdot-3FHLNCU7.js +382 -0
  65. package/dist/block.tk.bigwig.ui-YDQU5PC4.js +209 -0
  66. package/dist/block.tk.hicstraw-S3ROL3CV.js +821 -0
  67. package/dist/block.tk.junction-DL7RNWX3.js +2362 -0
  68. package/dist/block.tk.junction.textmatrixui-Z6I7IEDY.js +197 -0
  69. package/dist/block.tk.ld-XHVU6L56.js +97 -0
  70. package/dist/block.tk.menu-FPLAEEFY.js +1027 -0
  71. package/dist/block.tk.pgv-6ZZ2QGNO.js +942 -0
  72. package/dist/brainImaging-VSOOMITW.js +421 -0
  73. package/dist/chat-LW23PIG5.js +148 -0
  74. package/dist/chunk-2A2KM5DU.js +117 -0
  75. package/dist/chunk-2A2KM5DU.js.map +7 -0
  76. package/dist/chunk-2K5DSRBJ.js +84 -0
  77. package/dist/chunk-2K5DSRBJ.js.map +7 -0
  78. package/dist/chunk-2LULD7RN.js +31 -0
  79. package/dist/chunk-36DYWBU7.js +514 -0
  80. package/dist/chunk-36DYWBU7.js.map +7 -0
  81. package/dist/chunk-3AGB6HL4.js +158 -0
  82. package/dist/chunk-3AVDNIDN.js +55 -0
  83. package/dist/chunk-3DCABJHB.js +381 -0
  84. package/dist/chunk-3JMB3OSC.js +102 -0
  85. package/dist/chunk-3UEMY45Y.js +215 -0
  86. package/dist/chunk-4RR4KPRJ.js +1205 -0
  87. package/dist/chunk-5HCB4HNL.js +147 -0
  88. package/dist/chunk-5RFB7TYT.js +92 -0
  89. package/dist/chunk-5UMPBVA6.js +534 -0
  90. package/dist/chunk-6C2SBTLR.js +407 -0
  91. package/dist/chunk-6ITDJ5UR.js +261 -0
  92. package/dist/chunk-6ITDJ5UR.js.map +7 -0
  93. package/dist/chunk-6LAE5AVA.js +13624 -0
  94. package/dist/chunk-77ZJGPK2.js +289 -0
  95. package/dist/chunk-77ZJGPK2.js.map +7 -0
  96. package/dist/chunk-7FKIAQ4K.js +17 -0
  97. package/dist/chunk-7FKIAQ4K.js.map +7 -0
  98. package/dist/chunk-7RN3L2BX.js +1788 -0
  99. package/dist/chunk-7RN3L2BX.js.map +7 -0
  100. package/dist/chunk-7VV43ICF.js +272 -0
  101. package/dist/chunk-A6TQGNDQ.js +421 -0
  102. package/dist/chunk-A6TQGNDQ.js.map +7 -0
  103. package/dist/chunk-A742TQD2.js +615 -0
  104. package/dist/chunk-A7E3JZ5P.js +56 -0
  105. package/dist/chunk-A7E3JZ5P.js.map +7 -0
  106. package/dist/chunk-AFLFPYJI.js +480 -0
  107. package/dist/chunk-APOHXHKH.js +526 -0
  108. package/dist/chunk-APOHXHKH.js.map +7 -0
  109. package/dist/chunk-AQ4OP4GR.js +39 -0
  110. package/dist/chunk-BAY47D5E.js +226 -0
  111. package/dist/chunk-CFHKYLDY.js +26 -0
  112. package/dist/chunk-CTAKX5CT.js +129 -0
  113. package/dist/chunk-CVBQWXLH.js +455 -0
  114. package/dist/chunk-CVBQWXLH.js.map +7 -0
  115. package/dist/chunk-D4QFQQWJ.js +170 -0
  116. package/dist/chunk-DGMK7SXX.js +203 -0
  117. package/dist/chunk-DNCSPTOQ.js +446 -0
  118. package/dist/chunk-DTDQKGIQ.js +2672 -0
  119. package/dist/chunk-E4NVHKWD.js +142 -0
  120. package/dist/chunk-E6KEZENR.js +4207 -0
  121. package/dist/chunk-EY2KBPHJ.js +261 -0
  122. package/dist/chunk-EY2KBPHJ.js.map +7 -0
  123. package/dist/chunk-FRBYOOWT.js +229 -0
  124. package/dist/chunk-FVWCYGJL.js +121 -0
  125. package/dist/chunk-HWHG63LH.js +148 -0
  126. package/dist/chunk-HWHG63LH.js.map +7 -0
  127. package/dist/chunk-HYZG6OPC.js +467 -0
  128. package/dist/chunk-HYZG6OPC.js.map +7 -0
  129. package/dist/chunk-I4IKRKYJ.js +2815 -0
  130. package/dist/chunk-IEQSUAIO.js +6364 -0
  131. package/dist/chunk-IET6P5MV.js +335 -0
  132. package/dist/chunk-IET6P5MV.js.map +7 -0
  133. package/dist/chunk-JMPSZMDD.js +52 -0
  134. package/dist/chunk-JXOL73PT.js +2784 -0
  135. package/dist/chunk-K62XUHA4.js +100 -0
  136. package/dist/chunk-KQMEJUWI.js +815 -0
  137. package/dist/chunk-L4QG7XZE.js +46 -0
  138. package/dist/chunk-L4QG7XZE.js.map +7 -0
  139. package/dist/chunk-L4YGMXLX.js +37 -0
  140. package/dist/chunk-L4YGMXLX.js.map +7 -0
  141. package/dist/chunk-LI7FE335.js +371 -0
  142. package/dist/chunk-M7W2GYSM.js +4961 -0
  143. package/dist/chunk-M7W2GYSM.js.map +7 -0
  144. package/dist/chunk-MV6O4I2B.js +441 -0
  145. package/dist/chunk-MXNSW55L.js +148 -0
  146. package/dist/chunk-NB7NLFGZ.js +228 -0
  147. package/dist/chunk-NGGWK6HX.js +302 -0
  148. package/dist/chunk-OGGFS66K.js +1087 -0
  149. package/dist/chunk-OSM7YS23.js +276 -0
  150. package/dist/chunk-OSM7YS23.js.map +7 -0
  151. package/dist/chunk-OXJ2TWDO.js +20644 -0
  152. package/dist/chunk-OXJ2TWDO.js.map +7 -0
  153. package/dist/chunk-Q7PYFSNU.js +107 -0
  154. package/dist/chunk-QMI222IJ.js +386 -0
  155. package/dist/chunk-QRIRWDIW.js +252 -0
  156. package/dist/chunk-R6L6NVEC.js +14 -0
  157. package/dist/chunk-RLTLYKHO.js +34 -0
  158. package/dist/chunk-S5ZI6N2I.js +293 -0
  159. package/dist/chunk-S7T7OZC7.js +158 -0
  160. package/dist/chunk-SEQLC4AD.js +177 -0
  161. package/dist/chunk-TEZLFSOV.js +54 -0
  162. package/dist/chunk-TFI7ZZJG.js +50 -0
  163. package/dist/chunk-TFI7ZZJG.js.map +7 -0
  164. package/dist/chunk-TV74I3Y5.js +43 -0
  165. package/dist/chunk-TV74I3Y5.js.map +7 -0
  166. package/dist/chunk-UEMTP6ZC.js +824 -0
  167. package/dist/chunk-UJU3Q7QJ.js +119 -0
  168. package/dist/chunk-V245THQC.js +2370 -0
  169. package/dist/chunk-V245THQC.js.map +7 -0
  170. package/dist/chunk-V6DLLX4N.js +176 -0
  171. package/dist/chunk-V6DLLX4N.js.map +7 -0
  172. package/dist/chunk-VIPMLSZP.js +217 -0
  173. package/dist/chunk-VQPS4SXU.js +97 -0
  174. package/dist/chunk-VQPS4SXU.js.map +7 -0
  175. package/dist/chunk-VUUZJANK.js +1150 -0
  176. package/dist/chunk-VYIO7T6J.js +82 -0
  177. package/dist/chunk-VYIO7T6J.js.map +7 -0
  178. package/dist/chunk-W345H42C.js +273 -0
  179. package/dist/chunk-W345H42C.js.map +7 -0
  180. package/dist/chunk-WGHO2NCP.js +205 -0
  181. package/dist/chunk-WGL6FIUE.js +330 -0
  182. package/dist/chunk-WGL6FIUE.js.map +7 -0
  183. package/dist/chunk-WPHOEG56.js +194 -0
  184. package/dist/chunk-WS5XVKPJ.js +470 -0
  185. package/dist/chunk-X6URQAFD.js +1271 -0
  186. package/dist/chunk-XYFDBYOY.js +1658 -0
  187. package/dist/chunk-XYFDBYOY.js.map +7 -0
  188. package/dist/chunk-Y6RCKITI.js +1155 -0
  189. package/dist/chunk-Y6RCKITI.js.map +7 -0
  190. package/dist/chunk-YALAQWX4.js +368 -0
  191. package/dist/chunk-YK5NFMHR.js +269 -0
  192. package/dist/chunk-YK5NFMHR.js.map +7 -0
  193. package/dist/chunk-YY4CKQJ6.js +95 -0
  194. package/dist/chunk-Z3KV6SC2.js +629 -0
  195. package/dist/chunk-ZGT4XP5J.js +1426 -0
  196. package/dist/chunk-ZGT4XP5J.js.map +7 -0
  197. package/dist/condition-JKQIRMMW.js +330 -0
  198. package/dist/controls-324AGOZG.js +39 -0
  199. package/dist/controls.config-TA4NNARU.js +37 -0
  200. package/dist/correlation-3Z36TKC2.js +96 -0
  201. package/dist/cuminc-4DY2CSZF.js +1147 -0
  202. package/dist/cuminc.integration.spec-SFQPLMSF.js +676 -0
  203. package/dist/customdata.inputui-IKGPEBXV.js +287 -0
  204. package/dist/customdata.inputui-IKGPEBXV.js.map +7 -0
  205. package/dist/dataDownload-3AE2N7KI.js +328 -0
  206. package/dist/dataDownload.integration.spec-DKOT6BJP.js +191 -0
  207. package/dist/databrowser.ui-ATODRS5P.js +419 -0
  208. package/dist/dictionary-WHDZBW5M.js +109 -0
  209. package/dist/dictionary-WHDZBW5M.js.map +7 -0
  210. package/dist/dnaMethylation-TVA5YMOR.js +36 -0
  211. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js +165 -0
  212. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js.map +7 -0
  213. package/dist/e2pca-KHVDNFEZ.js +348 -0
  214. package/dist/ep-B5GAAMNM.js +1254 -0
  215. package/dist/expclust.gdc.spec-EDPX7V6K.js +305 -0
  216. package/dist/facet-ZCSXKXIO.js +519 -0
  217. package/dist/geneExpClustering-ERNCMAED.js +246 -0
  218. package/dist/geneExpression-HUOXWETT.js +36 -0
  219. package/dist/geneExpression-X2KXJPND.js +312 -0
  220. package/dist/geneExpression.unit.spec-5QQB4ISW.js +100 -0
  221. package/dist/geneORA-B5UK77KL.js +276 -0
  222. package/dist/geneVariant-7MGUAIZ6.js +39 -0
  223. package/dist/geneVariant-FK3KZJ2K.js +37 -0
  224. package/dist/geneVariant.integration.spec-C6TYWKIC.js +196 -0
  225. package/dist/genefusion.ui-VKAINMY7.js +249 -0
  226. package/dist/geneset-673KAZVX.js +194 -0
  227. package/dist/genomeBrowser.spec-T6TQCJ3O.js +279 -0
  228. package/dist/grin2-376BD4XY.js +1554 -0
  229. package/dist/grin2-OALS75LC.js +1031 -0
  230. package/dist/gsea-25LD2LGP.js +45 -0
  231. package/dist/hierCluster-7KU3K52V.js +58 -0
  232. package/dist/hierCluster-M5VVWKQK.js +62 -0
  233. package/dist/hierCluster.config-EDO3SH2P.js +38 -0
  234. package/dist/hierCluster.integration.spec-UOX7J2XD.js +374 -0
  235. package/dist/hierCluster.interactivity-FEFZDXML.js +52 -0
  236. package/dist/hierCluster.renderers-A6MEGO2B.js +21 -0
  237. package/dist/imagePlot-FPXZ2H5Z.js +139 -0
  238. package/dist/importPlot-VKWPSFEK.js +8 -0
  239. package/dist/isoformExpression-2R2TOB6P.js +38 -0
  240. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js +206 -0
  241. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js.map +7 -0
  242. package/dist/jspdf.es.min-FC3BCETM.js +40 -0
  243. package/dist/launch.adhoc-242RS6DW.js +40 -0
  244. package/dist/leftlabel.sample-OJW3AE64.js +257 -0
  245. package/dist/legacyDataset-PBCPC5I7.js +119 -0
  246. package/dist/lollipop-TRQ3LK7Y.js +166 -0
  247. package/dist/maf-ZBOLN2FE.js +450 -0
  248. package/dist/maftimeline-GVX7NJP7.js +591 -0
  249. package/dist/matrix-73KRNXLM.js +57 -0
  250. package/dist/matrix-US3OXYRY.js +62 -0
  251. package/dist/matrix.cells-U7AQNEBP.js +28 -0
  252. package/dist/matrix.config-Q57D7C3F.js +39 -0
  253. package/dist/matrix.controls-AWXDRSWP.js +37 -0
  254. package/dist/matrix.data-EEIY6AO4.js +25 -0
  255. package/dist/matrix.dom-6QL3AJMW.js +11 -0
  256. package/dist/matrix.groups-CUB6UWC5.js +26 -0
  257. package/dist/matrix.integration.spec-PQH67KRM.js +3070 -0
  258. package/dist/matrix.interactivity-JW4AXAWO.js +40 -0
  259. package/dist/matrix.layout-I56KRVCO.js +42 -0
  260. package/dist/matrix.legend-42LQGAGX.js +22 -0
  261. package/dist/matrix.renderers-IX3FCNBK.js +36 -0
  262. package/dist/matrix.serieses-4B2WB526.js +21 -0
  263. package/dist/matrix.sort-BJACNR7G.js +27 -0
  264. package/dist/matrix.sort.unit.spec-3KKDKIPY.js +470 -0
  265. package/dist/matrix.sorterUi-W6XFYZY2.js +18 -0
  266. package/dist/matrix.sorterUi.unit.spec-CMJ7EBIW.js +340 -0
  267. package/dist/mavb-ROAE6WYA.js +730 -0
  268. package/dist/mds.fimo-UGK5OWCF.js +516 -0
  269. package/dist/mds.samplescatterplot-5KFUAYSB.js +1548 -0
  270. package/dist/mds.survivalplot-2EVNZUX5.js +481 -0
  271. package/dist/oncomatrix-UGFXSXQJ.js +293 -0
  272. package/dist/oncomatrix.spec-FEP7BR7L.js +446 -0
  273. package/dist/plot.2dvaf-WXGLWCOC.js +375 -0
  274. package/dist/plot.app-IZAFRTBU.js +39 -0
  275. package/dist/plot.barplot-Z4VWOPFJ.js +100 -0
  276. package/dist/plot.boxplot-QU2KZSB7.js +150 -0
  277. package/dist/plot.brainImaging-U643YIK7.js +51 -0
  278. package/dist/plot.disco-3BV6YEBC.js +101 -0
  279. package/dist/plot.disco-3BV6YEBC.js.map +7 -0
  280. package/dist/plot.dzi-DWXPOOQE.js +33 -0
  281. package/dist/plot.ssgq-GXB2GZO3.js +137 -0
  282. package/dist/plot.vaf2cov-EKRIADPB.js +257 -0
  283. package/dist/plot.wsi-E2LLE6HI.js +36 -0
  284. package/dist/polar-MZLIUXHO.js +184 -0
  285. package/dist/polar2-IUVHNQM4.js +226 -0
  286. package/dist/profile.spec-JRW6KYUI.js +78 -0
  287. package/dist/profileBarchart-N7HJMYZ5.js +265 -0
  288. package/dist/profileForms-Q5TPGPQP.js +438 -0
  289. package/dist/profilePlot-TXTUYDVE.js +52 -0
  290. package/dist/profileRadar-ICEASI7W.js +261 -0
  291. package/dist/profileRadarFacility-NFMRNJYX.js +261 -0
  292. package/dist/profileRadarFacility-NFMRNJYX.js.map +7 -0
  293. package/dist/proteinView-K3JFNORQ.js +633 -0
  294. package/dist/proteinView-K3JFNORQ.js.map +7 -0
  295. package/dist/proteomeAbundance-DE4NVBCN.js +21 -0
  296. package/dist/proteomeAbundance-LTB3QR3G.js +63 -0
  297. package/dist/qualitative-DFGWQURY.js +41 -0
  298. package/dist/regression-TTQTAEGD.js +54 -0
  299. package/dist/regression.inputs-2LU2XRGC.js +46 -0
  300. package/dist/regression.inputs.term-G57GL57T.js +46 -0
  301. package/dist/regression.inputs.values.table-JSEM3PXL.js +43 -0
  302. package/dist/regression.integration.spec-XJQJAIC3.js +782 -0
  303. package/dist/regression.integration.spec-XJQJAIC3.js.map +7 -0
  304. package/dist/regression.results-3YNM6LLQ.js +38 -0
  305. package/dist/regression.spec-S6WFCPSW.js +706 -0
  306. package/dist/report-YRAV4MY4.js +220 -0
  307. package/dist/sampleScatter.spec-MBJ4XNTX.js +200 -0
  308. package/dist/sampleView-IUR3ZEN7.js +46 -0
  309. package/dist/samplelst-C2NBFGH6.js +109 -0
  310. package/dist/samplematrix-AOK2HHSB.js +2196 -0
  311. package/dist/sc-XT3Z5XJI.js +84 -0
  312. package/dist/scatter-SAHKZRFL.js +800 -0
  313. package/dist/scatter.integration.spec-6KRDNHHH.js +1194 -0
  314. package/dist/scatter.integration.spec-6KRDNHHH.js.map +7 -0
  315. package/dist/selectGenomeWithTklst-2YVZ4JWV.js +132 -0
  316. package/dist/singleCellCellType-NFN5GQJM.js +36 -0
  317. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js +158 -0
  318. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js.map +7 -0
  319. package/dist/singleCellGeneExpression-7AQGLXTR.js +36 -0
  320. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js +151 -0
  321. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js.map +7 -0
  322. package/dist/singleCellPlot-IWFEG44C.js +51 -0
  323. package/dist/singlecell-3QNV4OMZ.js +1570 -0
  324. package/dist/singlecell-EATPLH66.js +84 -0
  325. package/dist/snp-UP7WL7WG.js +36 -0
  326. package/dist/snp.unit.spec-Y5NWQ442.js +174 -0
  327. package/dist/snplocus-WAQK2AZG.js +206 -0
  328. package/dist/spliceevent.a53ss.diagram-FFK27UIB.js +149 -0
  329. package/dist/spliceevent.exonskip.diagram-KWEF2OZJ.js +275 -0
  330. package/dist/spliceevent.noeventdiagram-PU4TI7OM.js +458 -0
  331. package/dist/ssGSEA-N6QOAVLW.js +36 -0
  332. package/dist/ssGSEA.unit.spec-KQBNZNNP.js +86 -0
  333. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js +161 -0
  334. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js.map +7 -0
  335. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js +106 -0
  336. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js.map +7 -0
  337. package/dist/summarizeMutationCnv-VV7CVAA7.js +162 -0
  338. package/dist/summarizeMutationCnv-VV7CVAA7.js.map +7 -0
  339. package/dist/summarizeMutationDiagnosis-5RHSG7L6.js +38 -0
  340. package/dist/summarizeMutationSurvival-22YYXGS5.js +97 -0
  341. package/dist/summary-P3WIKJS7.js +47 -0
  342. package/dist/summary.integration.spec-ULGRPICW.js +412 -0
  343. package/dist/summaryInput-IH4EVNF5.js +218 -0
  344. package/dist/sunburst-VJJ3UVYC.js +282 -0
  345. package/dist/sunburst-VJJ3UVYC.js.map +7 -0
  346. package/dist/survival-2ZE3N62A.js +44 -0
  347. package/dist/survival-ASCLKIII.js +56 -0
  348. package/dist/survival.integration.spec-C5YXOY77.js +787 -0
  349. package/dist/svg2pdf.es.min-CYTPRWNB.js +3157 -0
  350. package/dist/svgraph-AYR2UPNK.js +1385 -0
  351. package/dist/svmr-MOMW5DNY.js +3840 -0
  352. package/dist/table-PQB6KCEY.js +198 -0
  353. package/dist/termCollection-5AY2AWT4.js +36 -0
  354. package/dist/termCollection-OQMUUTW6.js +177 -0
  355. package/dist/termCollection.unit.spec-BUAXYIJK.js +206 -0
  356. package/dist/tk-EJLFFA5H.js +44 -0
  357. package/dist/tp.ui-WUW6A7KP.js +1457 -0
  358. package/dist/tvs.density-HSVPDDGA.js +18 -0
  359. package/dist/tvs.dt-MVJXQMNU.js +37 -0
  360. package/dist/tvs.dtcnv.categorical-FIIDWVK7.js +38 -0
  361. package/dist/tvs.dtcnv.continuous-JPQU3JA2.js +70 -0
  362. package/dist/tvs.dtfusion-BW35GOQM.js +38 -0
  363. package/dist/tvs.dtsnvindel-AEMFZ4EH.js +38 -0
  364. package/dist/tvs.dtsv-JHTU7UFD.js +38 -0
  365. package/dist/tvs.numeric-ICUGA4WY.js +21 -0
  366. package/dist/tvs.samplelst-VD2NFFFS.js +102 -0
  367. package/dist/tvs.termCollection-IKE5Q74D.js +151 -0
  368. package/dist/violin-DPMJLHQG.js +44 -0
  369. package/dist/violin.integration.spec-A4PNR4ES.js +1423 -0
  370. package/dist/violin.integration.spec-A4PNR4ES.js.map +7 -0
  371. package/dist/violin.interactivity-TS4DYUE5.js +36 -0
  372. package/dist/violin.renderer-53L4PXUT.js +38 -0
  373. package/dist/vocabulary-4MPFHKYC.js +39 -0
  374. package/package.json +3 -3
  375. package/dist/2dmaf-SLBAWGPG.js +0 -1371
  376. package/dist/AIProjectAdmin-6SH5X3AF.js +0 -830
  377. package/dist/AIProjectAdmin-6SH5X3AF.js.map +0 -7
  378. package/dist/AppHeader-MVYNRMC7.js +0 -833
  379. package/dist/BoxPlot-HLGWW3IK.js +0 -1295
  380. package/dist/BoxPlot-HLGWW3IK.js.map +0 -7
  381. package/dist/CorrelationVolcano-TZCYC3NI.js +0 -617
  382. package/dist/DE-2J2SK5UT.js +0 -93
  383. package/dist/DEinput-QM3GOQHM.js +0 -297
  384. package/dist/DifferentialAnalysis-DS7CQOT6.js +0 -238
  385. package/dist/Disco-U5I6NJUT.js +0 -3199
  386. package/dist/Disco-U5I6NJUT.js.map +0 -7
  387. package/dist/Disco.UI-J2B7GGEZ.js +0 -242
  388. package/dist/DmrPlot-D5W76QPY.js +0 -640
  389. package/dist/GB-LM5SGUG4.js +0 -1125
  390. package/dist/HicApp-YNBGAGKM.js +0 -2248
  391. package/dist/NumBinaryEditor-4QA5DQJT.js +0 -268
  392. package/dist/NumBinaryEditor.unit.spec-YWSIFTOJ.js +0 -284
  393. package/dist/NumContEditor-ZPLVZFLH.js +0 -105
  394. package/dist/NumContEditor.unit.spec-NBCFOCOX.js +0 -167
  395. package/dist/NumCustomBinEditor-TXEYRVPL.js +0 -36
  396. package/dist/NumCustomBinEditor.unit.spec-SQM63H4B.js +0 -282
  397. package/dist/NumDiscreteEditor-6C4OWX62.js +0 -177
  398. package/dist/NumDiscreteEditor.unit.spec-4HC4AGAM.js +0 -200
  399. package/dist/NumRegularBinEditor-VQAS3OXK.js +0 -36
  400. package/dist/NumRegularBinEditor.unit.spec-RGVEPB3Z.js +0 -225
  401. package/dist/NumSplineEditor-SXOJICHU.js +0 -190
  402. package/dist/NumSplineEditor.unit.spec-HF5E6ANH.js +0 -197
  403. package/dist/NumericDensity-LMLPMOSE.js +0 -36
  404. package/dist/NumericDensity.unit.spec-3ZI5EVON.js +0 -219
  405. package/dist/NumericHandler-Q6F6ANOS.js +0 -37
  406. package/dist/NumericHandler.unit.spec-E6Z5HUNZ.js +0 -217
  407. package/dist/RunChart2-XSNWNAIL.js +0 -756
  408. package/dist/RunChart2-XSNWNAIL.js.map +0 -7
  409. package/dist/SC-RA46YM57.js +0 -733
  410. package/dist/SC-RA46YM57.js.map +0 -7
  411. package/dist/Volcano-75UDYPVB.js +0 -1187
  412. package/dist/Volcano-75UDYPVB.js.map +0 -7
  413. package/dist/WSIViewer-GYUUXCSJ.js +0 -47933
  414. package/dist/WSIViewer-GYUUXCSJ.js.map +0 -7
  415. package/dist/WsiSamplesPlot-KMI5S2EL.js +0 -163
  416. package/dist/adSandbox-JTK5XEQL.js +0 -36
  417. package/dist/alphaGenome-JRAV6WIY.js +0 -173
  418. package/dist/app-JKDZL23V.js +0 -35
  419. package/dist/app-OEARXM6E.js +0 -47
  420. package/dist/bam-CYEPLBK4.js +0 -857
  421. package/dist/barchart-GG5UFDG4.js +0 -45
  422. package/dist/barchart.data-KXA66FAL.js +0 -22
  423. package/dist/barchart.events-P2USOIR7.js +0 -45
  424. package/dist/barchart.integration.spec-5QSPQQLJ.js +0 -1675
  425. package/dist/bars.renderer-T5R3UIBW.js +0 -12
  426. package/dist/block-6DVPQBSH.js +0 -6200
  427. package/dist/block-6DVPQBSH.js.map +0 -7
  428. package/dist/block.init-ZHX6DFWF.js +0 -36
  429. package/dist/block.mds.expressionrank-YMGYXXYT.js +0 -357
  430. package/dist/block.mds.geneboxplot-IAILQYX4.js +0 -826
  431. package/dist/block.mds.junction-BRNFNQMU.js +0 -1543
  432. package/dist/block.mds.svcnv-OHKC7YPO.js +0 -6799
  433. package/dist/block.svg-PNGK45HW.js +0 -162
  434. package/dist/block.tk.aicheck-SCIOJ4WN.js +0 -281
  435. package/dist/block.tk.ase-BABJ73GG.js +0 -363
  436. package/dist/block.tk.bam-LZWJ5BCQ.js +0 -1904
  437. package/dist/block.tk.bedgraphdot-7NQLC3XJ.js +0 -382
  438. package/dist/block.tk.bigwig.ui-VNY4SFD5.js +0 -209
  439. package/dist/block.tk.hicstraw-36A7VDRM.js +0 -821
  440. package/dist/block.tk.junction-D373YEMK.js +0 -2362
  441. package/dist/block.tk.junction.textmatrixui-FFII7J3X.js +0 -197
  442. package/dist/block.tk.ld-XGB6KMDO.js +0 -97
  443. package/dist/block.tk.menu-PEZANZBZ.js +0 -1027
  444. package/dist/block.tk.pgv-MU5BPTT2.js +0 -942
  445. package/dist/brainImaging-LVJON47N.js +0 -421
  446. package/dist/chat-5FDIAQJ4.js +0 -148
  447. package/dist/chunk-22NJUYET.js +0 -281
  448. package/dist/chunk-22NJUYET.js.map +0 -7
  449. package/dist/chunk-2J3566TA.js +0 -215
  450. package/dist/chunk-2OSEZCWZ.js +0 -205
  451. package/dist/chunk-2SRMRC6L.js +0 -421
  452. package/dist/chunk-2SRMRC6L.js.map +0 -7
  453. package/dist/chunk-5OHXYXLD.js +0 -46
  454. package/dist/chunk-5OHXYXLD.js.map +0 -7
  455. package/dist/chunk-6MSCYO7K.js +0 -119
  456. package/dist/chunk-75EBDB7G.js +0 -21
  457. package/dist/chunk-75EBDB7G.js.map +0 -7
  458. package/dist/chunk-7A7NMCQ3.js +0 -534
  459. package/dist/chunk-7FEHI46K.js +0 -20456
  460. package/dist/chunk-7FEHI46K.js.map +0 -7
  461. package/dist/chunk-AETE4F7R.js +0 -252
  462. package/dist/chunk-AZYDW5T7.js +0 -441
  463. package/dist/chunk-B6HCIAM3.js +0 -34
  464. package/dist/chunk-BEWDIM6H.js +0 -42
  465. package/dist/chunk-BEWDIM6H.js.map +0 -7
  466. package/dist/chunk-CCIZJAXB.js +0 -2815
  467. package/dist/chunk-DHZL3FBC.js +0 -107
  468. package/dist/chunk-DONWY7TP.js +0 -39
  469. package/dist/chunk-DVDDXOWT.js +0 -815
  470. package/dist/chunk-E6DRQJJT.js +0 -480
  471. package/dist/chunk-ESKU6LNC.js +0 -36
  472. package/dist/chunk-ESKU6LNC.js.map +0 -7
  473. package/dist/chunk-F6V4AYWP.js +0 -177
  474. package/dist/chunk-FBAJTPBU.js +0 -302
  475. package/dist/chunk-FGMPKWT5.js +0 -371
  476. package/dist/chunk-FK4MYVW2.js +0 -261
  477. package/dist/chunk-FK4MYVW2.js.map +0 -7
  478. package/dist/chunk-FMBJ4SKC.js +0 -98
  479. package/dist/chunk-FMBJ4SKC.js.map +0 -7
  480. package/dist/chunk-FOEZG4VX.js +0 -505
  481. package/dist/chunk-FOEZG4VX.js.map +0 -7
  482. package/dist/chunk-FQRLSKJC.js +0 -226
  483. package/dist/chunk-G6ELKVBG.js +0 -629
  484. package/dist/chunk-GKK3CZ6H.js +0 -4207
  485. package/dist/chunk-GO5SIPFE.js +0 -194
  486. package/dist/chunk-GPOECA3V.js +0 -386
  487. package/dist/chunk-GTOY3JJO.js +0 -288
  488. package/dist/chunk-GTOY3JJO.js.map +0 -7
  489. package/dist/chunk-GW7DHJYH.js +0 -439
  490. package/dist/chunk-GW7DHJYH.js.map +0 -7
  491. package/dist/chunk-H2D7EVUA.js +0 -158
  492. package/dist/chunk-H2K5KZP7.js +0 -95
  493. package/dist/chunk-H5XFH3FV.js +0 -153
  494. package/dist/chunk-H5XFH3FV.js.map +0 -7
  495. package/dist/chunk-HAMDFQIX.js +0 -228
  496. package/dist/chunk-HH4QLSTK.js +0 -4952
  497. package/dist/chunk-HH4QLSTK.js.map +0 -7
  498. package/dist/chunk-IBTPGSYI.js +0 -526
  499. package/dist/chunk-IBTPGSYI.js.map +0 -7
  500. package/dist/chunk-IC7SUXJD.js +0 -82
  501. package/dist/chunk-IC7SUXJD.js.map +0 -7
  502. package/dist/chunk-IGEQI6MR.js +0 -1561
  503. package/dist/chunk-IGEQI6MR.js.map +0 -7
  504. package/dist/chunk-IIRU6VK2.js +0 -2672
  505. package/dist/chunk-ILF2GKBY.js +0 -1205
  506. package/dist/chunk-IP4T477W.js +0 -92
  507. package/dist/chunk-IQIXGTQV.js +0 -84
  508. package/dist/chunk-IQIXGTQV.js.map +0 -7
  509. package/dist/chunk-IXT4U5CE.js +0 -91
  510. package/dist/chunk-IXT4U5CE.js.map +0 -7
  511. package/dist/chunk-JHOGX5VE.js +0 -272
  512. package/dist/chunk-JOXUBWN3.js +0 -381
  513. package/dist/chunk-K57RR3FD.js +0 -142
  514. package/dist/chunk-K6JLCMVL.js +0 -129
  515. package/dist/chunk-KISFQDQE.js +0 -258
  516. package/dist/chunk-KISFQDQE.js.map +0 -7
  517. package/dist/chunk-KSFSM46X.js +0 -100
  518. package/dist/chunk-KVG7FTTK.js +0 -470
  519. package/dist/chunk-LEDPPLQK.js +0 -158
  520. package/dist/chunk-LUTT3MBZ.js +0 -1150
  521. package/dist/chunk-MDL2HG3N.js +0 -257
  522. package/dist/chunk-MDL2HG3N.js.map +0 -7
  523. package/dist/chunk-MNRYCG2S.js +0 -1271
  524. package/dist/chunk-MPJHDHBA.js +0 -2784
  525. package/dist/chunk-MXI3NXRB.js +0 -407
  526. package/dist/chunk-O4PXELXF.js +0 -615
  527. package/dist/chunk-ORPCSG6T.js +0 -14
  528. package/dist/chunk-OUKDZKSZ.js +0 -334
  529. package/dist/chunk-OUKDZKSZ.js.map +0 -7
  530. package/dist/chunk-P5HLYAHP.js +0 -1087
  531. package/dist/chunk-PIACSJPH.js +0 -148
  532. package/dist/chunk-PQABAAEZ.js +0 -31
  533. package/dist/chunk-PSMDCZET.js +0 -46
  534. package/dist/chunk-PSMDCZET.js.map +0 -7
  535. package/dist/chunk-RFIVPTMS.js +0 -217
  536. package/dist/chunk-RSU37SVQ.js +0 -54
  537. package/dist/chunk-RTC4U4PH.js +0 -2327
  538. package/dist/chunk-RTC4U4PH.js.map +0 -7
  539. package/dist/chunk-RZ5JP44H.js +0 -276
  540. package/dist/chunk-RZ5JP44H.js.map +0 -7
  541. package/dist/chunk-SPAIFVM2.js +0 -1155
  542. package/dist/chunk-SPAIFVM2.js.map +0 -7
  543. package/dist/chunk-T2HYA2KL.js +0 -55
  544. package/dist/chunk-TCPU43TU.js +0 -1741
  545. package/dist/chunk-TCPU43TU.js.map +0 -7
  546. package/dist/chunk-TE3DK3A6.js +0 -147
  547. package/dist/chunk-TIQPSXFJ.js +0 -237
  548. package/dist/chunk-TIQPSXFJ.js.map +0 -7
  549. package/dist/chunk-TN5GSG34.js +0 -26
  550. package/dist/chunk-UBGTQMOO.js +0 -52
  551. package/dist/chunk-UBS5UVIY.js +0 -13624
  552. package/dist/chunk-UE5ZYM63.js +0 -48
  553. package/dist/chunk-UE5ZYM63.js.map +0 -7
  554. package/dist/chunk-UQACPOCM.js +0 -102
  555. package/dist/chunk-UR3C4SCH.js +0 -446
  556. package/dist/chunk-UWX7W22M.js +0 -121
  557. package/dist/chunk-VJ37HKM6.js +0 -368
  558. package/dist/chunk-VLTDUJRM.js +0 -293
  559. package/dist/chunk-W6UUEAEP.js +0 -6364
  560. package/dist/chunk-X6UPDFDX.js +0 -229
  561. package/dist/chunk-XD6BFNMR.js +0 -172
  562. package/dist/chunk-XD6BFNMR.js.map +0 -7
  563. package/dist/chunk-XDI4UFCZ.js +0 -467
  564. package/dist/chunk-XDI4UFCZ.js.map +0 -7
  565. package/dist/chunk-XOBD3EAM.js +0 -1425
  566. package/dist/chunk-XOBD3EAM.js.map +0 -7
  567. package/dist/chunk-Y3TDC7NU.js +0 -170
  568. package/dist/chunk-YOTWMCT5.js +0 -824
  569. package/dist/chunk-YUMPQ3CJ.js +0 -203
  570. package/dist/condition-VHP2L4GM.js +0 -330
  571. package/dist/controls-N5Q7U7JR.js +0 -39
  572. package/dist/controls.config-NJMW4SLR.js +0 -37
  573. package/dist/correlation-3LDASF5I.js +0 -96
  574. package/dist/cuminc-UWJ23W6C.js +0 -1147
  575. package/dist/cuminc.integration.spec-OZYYET3W.js +0 -676
  576. package/dist/customdata.inputui-2FVCVSE4.js +0 -285
  577. package/dist/customdata.inputui-2FVCVSE4.js.map +0 -7
  578. package/dist/dataDownload-4S4PE5HX.js +0 -328
  579. package/dist/dataDownload.integration.spec-B57LEKFZ.js +0 -191
  580. package/dist/databrowser.ui-N6GHEQ2P.js +0 -419
  581. package/dist/dictionary-UP46QRYZ.js +0 -98
  582. package/dist/dictionary-UP46QRYZ.js.map +0 -7
  583. package/dist/dnaMethylation-BOGAUAWA.js +0 -36
  584. package/dist/dnaMethylation.integration.spec-UAHBJSSJ.js +0 -179
  585. package/dist/dnaMethylation.integration.spec-UAHBJSSJ.js.map +0 -7
  586. package/dist/e2pca-L5EBQJNP.js +0 -348
  587. package/dist/ep-Z67ORKUX.js +0 -1254
  588. package/dist/expclust.gdc.spec-SP7VOL64.js +0 -305
  589. package/dist/facet-HDB4VDGU.js +0 -519
  590. package/dist/geneExpClustering-6ZPOLTDJ.js +0 -246
  591. package/dist/geneExpression-T6YIG4XQ.js +0 -312
  592. package/dist/geneExpression-T7QUHV5S.js +0 -36
  593. package/dist/geneExpression.unit.spec-DO52L5IB.js +0 -100
  594. package/dist/geneORA-KOUDUWUO.js +0 -276
  595. package/dist/geneVariant-FVR76F6I.js +0 -39
  596. package/dist/geneVariant-I5QUITKG.js +0 -37
  597. package/dist/geneVariant.integration.spec-D4IRM7B5.js +0 -196
  598. package/dist/genefusion.ui-35IYSZD7.js +0 -249
  599. package/dist/geneset-7ZHJ5KWK.js +0 -194
  600. package/dist/genomeBrowser.spec-VXASVLNH.js +0 -279
  601. package/dist/grin2-7NM56COO.js +0 -1554
  602. package/dist/grin2-IY26UUQI.js +0 -1031
  603. package/dist/gsea-TORO46C6.js +0 -45
  604. package/dist/hierCluster-3BKEGW6P.js +0 -58
  605. package/dist/hierCluster-HM3LOM6V.js +0 -62
  606. package/dist/hierCluster.config-LDO5IGQ5.js +0 -38
  607. package/dist/hierCluster.integration.spec-XO5R6CQT.js +0 -374
  608. package/dist/hierCluster.interactivity-NVQ6262K.js +0 -52
  609. package/dist/hierCluster.renderers-SWPPNBLU.js +0 -21
  610. package/dist/imagePlot-V4WLAPV6.js +0 -139
  611. package/dist/importPlot-NZKQEOX4.js +0 -8
  612. package/dist/isoformExpression-TIZBIGNL.js +0 -38
  613. package/dist/isoformExpression.unit.spec-WHH5LPFG.js +0 -124
  614. package/dist/isoformExpression.unit.spec-WHH5LPFG.js.map +0 -7
  615. package/dist/jspdf.es.min-DO4YWL2R.js +0 -40
  616. package/dist/launch.adhoc-JYEN42NM.js +0 -40
  617. package/dist/leftlabel.sample-43DL3J3H.js +0 -257
  618. package/dist/legacyDataset-QRSNRVUA.js +0 -119
  619. package/dist/lollipop-NMWZ4FVF.js +0 -166
  620. package/dist/maf-DS3EOVGV.js +0 -450
  621. package/dist/maftimeline-ZB2753S7.js +0 -591
  622. package/dist/matrix-RCGQWQ3C.js +0 -57
  623. package/dist/matrix-WTTEK4FT.js +0 -62
  624. package/dist/matrix.cells-UO5ASQ35.js +0 -28
  625. package/dist/matrix.config-3UQAT3QR.js +0 -39
  626. package/dist/matrix.controls-PRZ77K5L.js +0 -37
  627. package/dist/matrix.data-4W73RQ3H.js +0 -25
  628. package/dist/matrix.dom-IZFFS4RQ.js +0 -11
  629. package/dist/matrix.groups-5VMPI7SA.js +0 -26
  630. package/dist/matrix.integration.spec-2F5LDLC2.js +0 -3070
  631. package/dist/matrix.interactivity-MIPZ6ELV.js +0 -40
  632. package/dist/matrix.layout-EO5LVYRO.js +0 -42
  633. package/dist/matrix.legend-QBFBFEUG.js +0 -22
  634. package/dist/matrix.renderers-ERJXVCQL.js +0 -36
  635. package/dist/matrix.serieses-E23EPXHA.js +0 -21
  636. package/dist/matrix.sort-I4UGMEXR.js +0 -27
  637. package/dist/matrix.sort.unit.spec-CRGF6CSE.js +0 -470
  638. package/dist/matrix.sorterUi-YLSYTYLE.js +0 -18
  639. package/dist/matrix.sorterUi.unit.spec-ENG3ICOO.js +0 -340
  640. package/dist/mavb-5WR7OJHI.js +0 -730
  641. package/dist/mds.fimo-3ZRH7BBJ.js +0 -516
  642. package/dist/mds.samplescatterplot-RPXR2FVK.js +0 -1548
  643. package/dist/mds.survivalplot-WSSMYUZD.js +0 -481
  644. package/dist/oncomatrix-JKYPUJQR.js +0 -293
  645. package/dist/oncomatrix.spec-OEGU4DYK.js +0 -446
  646. package/dist/plot.2dvaf-ZGARLQNK.js +0 -375
  647. package/dist/plot.app-TKUJH3LK.js +0 -39
  648. package/dist/plot.barplot-FEIPGDZ2.js +0 -100
  649. package/dist/plot.boxplot-6RASUMZB.js +0 -150
  650. package/dist/plot.brainImaging-ZJPFWX2W.js +0 -51
  651. package/dist/plot.disco-2KTKB3XX.js +0 -101
  652. package/dist/plot.disco-2KTKB3XX.js.map +0 -7
  653. package/dist/plot.dzi-PC34YI6Y.js +0 -33
  654. package/dist/plot.ssgq-Z4UNJKWO.js +0 -137
  655. package/dist/plot.vaf2cov-NZ4WULKT.js +0 -257
  656. package/dist/plot.wsi-YYXFAZWY.js +0 -36
  657. package/dist/polar-X2GPIBLB.js +0 -184
  658. package/dist/polar2-TZ553QQH.js +0 -226
  659. package/dist/profile.spec-VB6VMFLY.js +0 -78
  660. package/dist/profileBarchart-SKJSTC7B.js +0 -265
  661. package/dist/profileForms-RLOGSMAQ.js +0 -438
  662. package/dist/profilePlot-267ZS3RG.js +0 -52
  663. package/dist/profileRadar-KGOBHCSF.js +0 -261
  664. package/dist/profileRadarFacility-MCJKSHUM.js +0 -261
  665. package/dist/profileRadarFacility-MCJKSHUM.js.map +0 -7
  666. package/dist/proteomeAbundance-JUYAYO5I.js +0 -63
  667. package/dist/proteomeAbundance-PGHZSVAF.js +0 -19
  668. package/dist/qualitative-3IECKKJM.js +0 -41
  669. package/dist/regression-J6FFRPXN.js +0 -54
  670. package/dist/regression.inputs-T7LWBSYZ.js +0 -46
  671. package/dist/regression.inputs.term-TT7PNX6G.js +0 -46
  672. package/dist/regression.inputs.values.table-SHFUNKCS.js +0 -43
  673. package/dist/regression.integration.spec-QKHMJTHA.js +0 -784
  674. package/dist/regression.integration.spec-QKHMJTHA.js.map +0 -7
  675. package/dist/regression.results-D4WX6VIV.js +0 -38
  676. package/dist/regression.spec-7SW55L7X.js +0 -706
  677. package/dist/report-QYOZ4BRF.js +0 -220
  678. package/dist/sampleScatter.spec-JCHFMGNF.js +0 -200
  679. package/dist/sampleView-7RPKNAZC.js +0 -46
  680. package/dist/samplelst-4WNPHZVG.js +0 -109
  681. package/dist/samplematrix-CG52DSXJ.js +0 -2196
  682. package/dist/sc-OJSWILSA.js +0 -84
  683. package/dist/scatter-LG2RMMEC.js +0 -800
  684. package/dist/scatter.integration.spec-QPANYTKW.js +0 -1194
  685. package/dist/scatter.integration.spec-QPANYTKW.js.map +0 -7
  686. package/dist/selectGenomeWithTklst-QXRVE6N4.js +0 -132
  687. package/dist/singleCellCellType-XBSRL33U.js +0 -36
  688. package/dist/singleCellCellType.unit.spec-YZX4CSXA.js +0 -177
  689. package/dist/singleCellCellType.unit.spec-YZX4CSXA.js.map +0 -7
  690. package/dist/singleCellGeneExpression-64ECP62X.js +0 -36
  691. package/dist/singleCellGeneExpression.unit.spec-CFHFXMA6.js +0 -163
  692. package/dist/singleCellGeneExpression.unit.spec-CFHFXMA6.js.map +0 -7
  693. package/dist/singleCellPlot-E5F62JY6.js +0 -51
  694. package/dist/singlecell-FCY5EOUV.js +0 -84
  695. package/dist/singlecell-S7B5V7NK.js +0 -1570
  696. package/dist/snp-ACKX4GRX.js +0 -36
  697. package/dist/snp.unit.spec-QBGHKKUD.js +0 -174
  698. package/dist/snplocus-7EUOW7J7.js +0 -206
  699. package/dist/spliceevent.a53ss.diagram-ALQZA35Z.js +0 -149
  700. package/dist/spliceevent.exonskip.diagram-UF7WJA5R.js +0 -275
  701. package/dist/spliceevent.noeventdiagram-4HPGRNRR.js +0 -458
  702. package/dist/ssGSEA-FDRBBBLJ.js +0 -36
  703. package/dist/ssGSEA.unit.spec-EZEOWJVV.js +0 -86
  704. package/dist/summarizeCnvGeneexp-FTL2MGAJ.js +0 -158
  705. package/dist/summarizeCnvGeneexp-FTL2MGAJ.js.map +0 -7
  706. package/dist/summarizeGeneexpSurvival-DDIF4UW6.js +0 -105
  707. package/dist/summarizeGeneexpSurvival-DDIF4UW6.js.map +0 -7
  708. package/dist/summarizeMutationCnv-L3GL5YDY.js +0 -159
  709. package/dist/summarizeMutationCnv-L3GL5YDY.js.map +0 -7
  710. package/dist/summarizeMutationDiagnosis-LALOJTHV.js +0 -38
  711. package/dist/summarizeMutationSurvival-TSNTSOBZ.js +0 -97
  712. package/dist/summary-YRHVS64T.js +0 -47
  713. package/dist/summary.integration.spec-766YQLQA.js +0 -412
  714. package/dist/summaryInput-VQ2X6GSX.js +0 -218
  715. package/dist/sunburst-XFOONS6K.js +0 -282
  716. package/dist/sunburst-XFOONS6K.js.map +0 -7
  717. package/dist/survival-FQXZH2MM.js +0 -44
  718. package/dist/survival-TVA3ZWVP.js +0 -56
  719. package/dist/survival.integration.spec-WFIOPD6A.js +0 -787
  720. package/dist/svg2pdf.es.min-EZ4UYRSH.js +0 -3157
  721. package/dist/svgraph-4BFBO7EL.js +0 -1385
  722. package/dist/svmr-ML7GAIIA.js +0 -3840
  723. package/dist/table-SMLMUWPP.js +0 -198
  724. package/dist/termCollection-22CPTISZ.js +0 -36
  725. package/dist/termCollection-EE6AOIVA.js +0 -177
  726. package/dist/termCollection.unit.spec-4DIW3CJ3.js +0 -206
  727. package/dist/tk-ITZCKOQ5.js +0 -44
  728. package/dist/tp.ui-R6HVKCBC.js +0 -1457
  729. package/dist/tvs.density-AQ5GD437.js +0 -18
  730. package/dist/tvs.dt-2263TBEJ.js +0 -37
  731. package/dist/tvs.dtcnv.categorical-TRRHL33N.js +0 -38
  732. package/dist/tvs.dtcnv.continuous-GREYNF52.js +0 -70
  733. package/dist/tvs.dtfusion-XOX46L3M.js +0 -38
  734. package/dist/tvs.dtsnvindel-IDMXT53F.js +0 -38
  735. package/dist/tvs.dtsv-ZDWFYH2C.js +0 -38
  736. package/dist/tvs.numeric-ZN2R7BH3.js +0 -21
  737. package/dist/tvs.samplelst-GAP76HRH.js +0 -102
  738. package/dist/tvs.termCollection-GQ65UKSI.js +0 -151
  739. package/dist/violin-JGDL62YA.js +0 -44
  740. package/dist/violin.integration.spec-W4NN7LBY.js +0 -1417
  741. package/dist/violin.integration.spec-W4NN7LBY.js.map +0 -7
  742. package/dist/violin.interactivity-H4RP4K5U.js +0 -36
  743. package/dist/violin.renderer-QPHLACDC.js +0 -38
  744. package/dist/vocabulary-7JACY4J2.js +0 -39
  745. /package/dist/{2dmaf-SLBAWGPG.js.map → 2dmaf-6ZTETSC5.js.map} +0 -0
  746. /package/dist/{AppHeader-MVYNRMC7.js.map → AppHeader-U7SJPIBS.js.map} +0 -0
  747. /package/dist/{CorrelationVolcano-TZCYC3NI.js.map → CorrelationVolcano-7SE4CTBW.js.map} +0 -0
  748. /package/dist/{DE-2J2SK5UT.js.map → DE-PZ7RHPBS.js.map} +0 -0
  749. /package/dist/{DEinput-QM3GOQHM.js.map → DEinput-UZEQIU2V.js.map} +0 -0
  750. /package/dist/{DifferentialAnalysis-DS7CQOT6.js.map → DifferentialAnalysis-L6BOEYVO.js.map} +0 -0
  751. /package/dist/{Disco.UI-J2B7GGEZ.js.map → Disco.UI-HKOUAD4P.js.map} +0 -0
  752. /package/dist/{DmrPlot-D5W76QPY.js.map → DmrPlot-3R24PTXP.js.map} +0 -0
  753. /package/dist/{GB-LM5SGUG4.js.map → GB-SZVYZASR.js.map} +0 -0
  754. /package/dist/{HicApp-YNBGAGKM.js.map → HicApp-SEEJETVE.js.map} +0 -0
  755. /package/dist/{NumBinaryEditor-4QA5DQJT.js.map → NumBinaryEditor-SDQFJ3FW.js.map} +0 -0
  756. /package/dist/{NumBinaryEditor.unit.spec-YWSIFTOJ.js.map → NumBinaryEditor.unit.spec-76ZZXTYC.js.map} +0 -0
  757. /package/dist/{NumContEditor-ZPLVZFLH.js.map → NumContEditor-G75O4YZE.js.map} +0 -0
  758. /package/dist/{NumContEditor.unit.spec-NBCFOCOX.js.map → NumContEditor.unit.spec-BFUZRBPL.js.map} +0 -0
  759. /package/dist/{NumCustomBinEditor-TXEYRVPL.js.map → NumCustomBinEditor-ILTPHCEF.js.map} +0 -0
  760. /package/dist/{NumCustomBinEditor.unit.spec-SQM63H4B.js.map → NumCustomBinEditor.unit.spec-GFIYV55V.js.map} +0 -0
  761. /package/dist/{NumDiscreteEditor-6C4OWX62.js.map → NumDiscreteEditor-5K3OKUOE.js.map} +0 -0
  762. /package/dist/{NumDiscreteEditor.unit.spec-4HC4AGAM.js.map → NumDiscreteEditor.unit.spec-NZ4KWPFK.js.map} +0 -0
  763. /package/dist/{NumRegularBinEditor-VQAS3OXK.js.map → NumRegularBinEditor-7ZJ2MEMY.js.map} +0 -0
  764. /package/dist/{NumRegularBinEditor.unit.spec-RGVEPB3Z.js.map → NumRegularBinEditor.unit.spec-QGVJET65.js.map} +0 -0
  765. /package/dist/{NumSplineEditor-SXOJICHU.js.map → NumSplineEditor-KE4UPODZ.js.map} +0 -0
  766. /package/dist/{NumSplineEditor.unit.spec-HF5E6ANH.js.map → NumSplineEditor.unit.spec-YQOOZA7S.js.map} +0 -0
  767. /package/dist/{NumericDensity-LMLPMOSE.js.map → NumericDensity-RL42P4QC.js.map} +0 -0
  768. /package/dist/{NumericDensity.unit.spec-3ZI5EVON.js.map → NumericDensity.unit.spec-Y6RMTYC7.js.map} +0 -0
  769. /package/dist/{NumericHandler-Q6F6ANOS.js.map → NumericHandler-4QIX324I.js.map} +0 -0
  770. /package/dist/{NumericHandler.unit.spec-E6Z5HUNZ.js.map → NumericHandler.unit.spec-T6F5QYP6.js.map} +0 -0
  771. /package/dist/{WsiSamplesPlot-KMI5S2EL.js.map → WsiSamplesPlot-CXGWPCDL.js.map} +0 -0
  772. /package/dist/{adSandbox-JTK5XEQL.js.map → adSandbox-DE4VRO4Z.js.map} +0 -0
  773. /package/dist/{alphaGenome-JRAV6WIY.js.map → alphaGenome-FSIGC5ZT.js.map} +0 -0
  774. /package/dist/{app-JKDZL23V.js.map → app-KZGKWQMU.js.map} +0 -0
  775. /package/dist/{app-OEARXM6E.js.map → app-MQRJ7FVL.js.map} +0 -0
  776. /package/dist/{bam-CYEPLBK4.js.map → bam-BDWTA4O3.js.map} +0 -0
  777. /package/dist/{barchart-GG5UFDG4.js.map → barchart-4Q6LVJY4.js.map} +0 -0
  778. /package/dist/{barchart.data-KXA66FAL.js.map → barchart.data-EXENRVMU.js.map} +0 -0
  779. /package/dist/{barchart.events-P2USOIR7.js.map → barchart.events-XRGND6I7.js.map} +0 -0
  780. /package/dist/{barchart.integration.spec-5QSPQQLJ.js.map → barchart.integration.spec-VQITP4YH.js.map} +0 -0
  781. /package/dist/{bars.renderer-T5R3UIBW.js.map → bars.renderer-S7A7I6BQ.js.map} +0 -0
  782. /package/dist/{block.init-ZHX6DFWF.js.map → block.init-NCNSE3HD.js.map} +0 -0
  783. /package/dist/{block.mds.expressionrank-YMGYXXYT.js.map → block.mds.expressionrank-JYZARS7T.js.map} +0 -0
  784. /package/dist/{block.mds.geneboxplot-IAILQYX4.js.map → block.mds.geneboxplot-FD2MCIHV.js.map} +0 -0
  785. /package/dist/{block.mds.junction-BRNFNQMU.js.map → block.mds.junction-LOHVQBIU.js.map} +0 -0
  786. /package/dist/{block.mds.svcnv-OHKC7YPO.js.map → block.mds.svcnv-Z7SAYPQL.js.map} +0 -0
  787. /package/dist/{block.svg-PNGK45HW.js.map → block.svg-LNJOKQNN.js.map} +0 -0
  788. /package/dist/{block.tk.aicheck-SCIOJ4WN.js.map → block.tk.aicheck-IXCMMAGV.js.map} +0 -0
  789. /package/dist/{block.tk.ase-BABJ73GG.js.map → block.tk.ase-WYRYFP6N.js.map} +0 -0
  790. /package/dist/{block.tk.bam-LZWJ5BCQ.js.map → block.tk.bam-EIVBNGAL.js.map} +0 -0
  791. /package/dist/{block.tk.bedgraphdot-7NQLC3XJ.js.map → block.tk.bedgraphdot-3FHLNCU7.js.map} +0 -0
  792. /package/dist/{block.tk.bigwig.ui-VNY4SFD5.js.map → block.tk.bigwig.ui-YDQU5PC4.js.map} +0 -0
  793. /package/dist/{block.tk.hicstraw-36A7VDRM.js.map → block.tk.hicstraw-S3ROL3CV.js.map} +0 -0
  794. /package/dist/{block.tk.junction-D373YEMK.js.map → block.tk.junction-DL7RNWX3.js.map} +0 -0
  795. /package/dist/{block.tk.junction.textmatrixui-FFII7J3X.js.map → block.tk.junction.textmatrixui-Z6I7IEDY.js.map} +0 -0
  796. /package/dist/{block.tk.ld-XGB6KMDO.js.map → block.tk.ld-XHVU6L56.js.map} +0 -0
  797. /package/dist/{block.tk.menu-PEZANZBZ.js.map → block.tk.menu-FPLAEEFY.js.map} +0 -0
  798. /package/dist/{block.tk.pgv-MU5BPTT2.js.map → block.tk.pgv-6ZZ2QGNO.js.map} +0 -0
  799. /package/dist/{brainImaging-LVJON47N.js.map → brainImaging-VSOOMITW.js.map} +0 -0
  800. /package/dist/{chat-5FDIAQJ4.js.map → chat-LW23PIG5.js.map} +0 -0
  801. /package/dist/{chunk-PQABAAEZ.js.map → chunk-2LULD7RN.js.map} +0 -0
  802. /package/dist/{chunk-LEDPPLQK.js.map → chunk-3AGB6HL4.js.map} +0 -0
  803. /package/dist/{chunk-T2HYA2KL.js.map → chunk-3AVDNIDN.js.map} +0 -0
  804. /package/dist/{chunk-JOXUBWN3.js.map → chunk-3DCABJHB.js.map} +0 -0
  805. /package/dist/{chunk-UQACPOCM.js.map → chunk-3JMB3OSC.js.map} +0 -0
  806. /package/dist/{chunk-2J3566TA.js.map → chunk-3UEMY45Y.js.map} +0 -0
  807. /package/dist/{chunk-ILF2GKBY.js.map → chunk-4RR4KPRJ.js.map} +0 -0
  808. /package/dist/{chunk-TE3DK3A6.js.map → chunk-5HCB4HNL.js.map} +0 -0
  809. /package/dist/{chunk-IP4T477W.js.map → chunk-5RFB7TYT.js.map} +0 -0
  810. /package/dist/{chunk-7A7NMCQ3.js.map → chunk-5UMPBVA6.js.map} +0 -0
  811. /package/dist/{chunk-MXI3NXRB.js.map → chunk-6C2SBTLR.js.map} +0 -0
  812. /package/dist/{chunk-UBS5UVIY.js.map → chunk-6LAE5AVA.js.map} +0 -0
  813. /package/dist/{chunk-JHOGX5VE.js.map → chunk-7VV43ICF.js.map} +0 -0
  814. /package/dist/{chunk-O4PXELXF.js.map → chunk-A742TQD2.js.map} +0 -0
  815. /package/dist/{chunk-E6DRQJJT.js.map → chunk-AFLFPYJI.js.map} +0 -0
  816. /package/dist/{chunk-DONWY7TP.js.map → chunk-AQ4OP4GR.js.map} +0 -0
  817. /package/dist/{chunk-FQRLSKJC.js.map → chunk-BAY47D5E.js.map} +0 -0
  818. /package/dist/{chunk-TN5GSG34.js.map → chunk-CFHKYLDY.js.map} +0 -0
  819. /package/dist/{chunk-K6JLCMVL.js.map → chunk-CTAKX5CT.js.map} +0 -0
  820. /package/dist/{chunk-Y3TDC7NU.js.map → chunk-D4QFQQWJ.js.map} +0 -0
  821. /package/dist/{chunk-YUMPQ3CJ.js.map → chunk-DGMK7SXX.js.map} +0 -0
  822. /package/dist/{chunk-UR3C4SCH.js.map → chunk-DNCSPTOQ.js.map} +0 -0
  823. /package/dist/{chunk-IIRU6VK2.js.map → chunk-DTDQKGIQ.js.map} +0 -0
  824. /package/dist/{chunk-K57RR3FD.js.map → chunk-E4NVHKWD.js.map} +0 -0
  825. /package/dist/{chunk-GKK3CZ6H.js.map → chunk-E6KEZENR.js.map} +0 -0
  826. /package/dist/{chunk-X6UPDFDX.js.map → chunk-FRBYOOWT.js.map} +0 -0
  827. /package/dist/{chunk-UWX7W22M.js.map → chunk-FVWCYGJL.js.map} +0 -0
  828. /package/dist/{chunk-CCIZJAXB.js.map → chunk-I4IKRKYJ.js.map} +0 -0
  829. /package/dist/{chunk-W6UUEAEP.js.map → chunk-IEQSUAIO.js.map} +0 -0
  830. /package/dist/{chunk-UBGTQMOO.js.map → chunk-JMPSZMDD.js.map} +0 -0
  831. /package/dist/{chunk-MPJHDHBA.js.map → chunk-JXOL73PT.js.map} +0 -0
  832. /package/dist/{chunk-KSFSM46X.js.map → chunk-K62XUHA4.js.map} +0 -0
  833. /package/dist/{chunk-DVDDXOWT.js.map → chunk-KQMEJUWI.js.map} +0 -0
  834. /package/dist/{chunk-FGMPKWT5.js.map → chunk-LI7FE335.js.map} +0 -0
  835. /package/dist/{chunk-AZYDW5T7.js.map → chunk-MV6O4I2B.js.map} +0 -0
  836. /package/dist/{chunk-PIACSJPH.js.map → chunk-MXNSW55L.js.map} +0 -0
  837. /package/dist/{chunk-HAMDFQIX.js.map → chunk-NB7NLFGZ.js.map} +0 -0
  838. /package/dist/{chunk-FBAJTPBU.js.map → chunk-NGGWK6HX.js.map} +0 -0
  839. /package/dist/{chunk-P5HLYAHP.js.map → chunk-OGGFS66K.js.map} +0 -0
  840. /package/dist/{chunk-DHZL3FBC.js.map → chunk-Q7PYFSNU.js.map} +0 -0
  841. /package/dist/{chunk-GPOECA3V.js.map → chunk-QMI222IJ.js.map} +0 -0
  842. /package/dist/{chunk-AETE4F7R.js.map → chunk-QRIRWDIW.js.map} +0 -0
  843. /package/dist/{chunk-ORPCSG6T.js.map → chunk-R6L6NVEC.js.map} +0 -0
  844. /package/dist/{chunk-B6HCIAM3.js.map → chunk-RLTLYKHO.js.map} +0 -0
  845. /package/dist/{chunk-VLTDUJRM.js.map → chunk-S5ZI6N2I.js.map} +0 -0
  846. /package/dist/{chunk-H2D7EVUA.js.map → chunk-S7T7OZC7.js.map} +0 -0
  847. /package/dist/{chunk-F6V4AYWP.js.map → chunk-SEQLC4AD.js.map} +0 -0
  848. /package/dist/{chunk-RSU37SVQ.js.map → chunk-TEZLFSOV.js.map} +0 -0
  849. /package/dist/{chunk-YOTWMCT5.js.map → chunk-UEMTP6ZC.js.map} +0 -0
  850. /package/dist/{chunk-6MSCYO7K.js.map → chunk-UJU3Q7QJ.js.map} +0 -0
  851. /package/dist/{chunk-RFIVPTMS.js.map → chunk-VIPMLSZP.js.map} +0 -0
  852. /package/dist/{chunk-LUTT3MBZ.js.map → chunk-VUUZJANK.js.map} +0 -0
  853. /package/dist/{chunk-2OSEZCWZ.js.map → chunk-WGHO2NCP.js.map} +0 -0
  854. /package/dist/{chunk-GO5SIPFE.js.map → chunk-WPHOEG56.js.map} +0 -0
  855. /package/dist/{chunk-KVG7FTTK.js.map → chunk-WS5XVKPJ.js.map} +0 -0
  856. /package/dist/{chunk-MNRYCG2S.js.map → chunk-X6URQAFD.js.map} +0 -0
  857. /package/dist/{chunk-VJ37HKM6.js.map → chunk-YALAQWX4.js.map} +0 -0
  858. /package/dist/{chunk-H2K5KZP7.js.map → chunk-YY4CKQJ6.js.map} +0 -0
  859. /package/dist/{chunk-G6ELKVBG.js.map → chunk-Z3KV6SC2.js.map} +0 -0
  860. /package/dist/{condition-VHP2L4GM.js.map → condition-JKQIRMMW.js.map} +0 -0
  861. /package/dist/{controls-N5Q7U7JR.js.map → controls-324AGOZG.js.map} +0 -0
  862. /package/dist/{controls.config-NJMW4SLR.js.map → controls.config-TA4NNARU.js.map} +0 -0
  863. /package/dist/{correlation-3LDASF5I.js.map → correlation-3Z36TKC2.js.map} +0 -0
  864. /package/dist/{cuminc-UWJ23W6C.js.map → cuminc-4DY2CSZF.js.map} +0 -0
  865. /package/dist/{cuminc.integration.spec-OZYYET3W.js.map → cuminc.integration.spec-SFQPLMSF.js.map} +0 -0
  866. /package/dist/{dataDownload-4S4PE5HX.js.map → dataDownload-3AE2N7KI.js.map} +0 -0
  867. /package/dist/{dataDownload.integration.spec-B57LEKFZ.js.map → dataDownload.integration.spec-DKOT6BJP.js.map} +0 -0
  868. /package/dist/{databrowser.ui-N6GHEQ2P.js.map → databrowser.ui-ATODRS5P.js.map} +0 -0
  869. /package/dist/{dnaMethylation-BOGAUAWA.js.map → dnaMethylation-TVA5YMOR.js.map} +0 -0
  870. /package/dist/{e2pca-L5EBQJNP.js.map → e2pca-KHVDNFEZ.js.map} +0 -0
  871. /package/dist/{ep-Z67ORKUX.js.map → ep-B5GAAMNM.js.map} +0 -0
  872. /package/dist/{expclust.gdc.spec-SP7VOL64.js.map → expclust.gdc.spec-EDPX7V6K.js.map} +0 -0
  873. /package/dist/{facet-HDB4VDGU.js.map → facet-ZCSXKXIO.js.map} +0 -0
  874. /package/dist/{geneExpClustering-6ZPOLTDJ.js.map → geneExpClustering-ERNCMAED.js.map} +0 -0
  875. /package/dist/{geneExpression-T7QUHV5S.js.map → geneExpression-HUOXWETT.js.map} +0 -0
  876. /package/dist/{geneExpression-T6YIG4XQ.js.map → geneExpression-X2KXJPND.js.map} +0 -0
  877. /package/dist/{geneExpression.unit.spec-DO52L5IB.js.map → geneExpression.unit.spec-5QQB4ISW.js.map} +0 -0
  878. /package/dist/{geneORA-KOUDUWUO.js.map → geneORA-B5UK77KL.js.map} +0 -0
  879. /package/dist/{geneVariant-FVR76F6I.js.map → geneVariant-7MGUAIZ6.js.map} +0 -0
  880. /package/dist/{geneVariant-I5QUITKG.js.map → geneVariant-FK3KZJ2K.js.map} +0 -0
  881. /package/dist/{geneVariant.integration.spec-D4IRM7B5.js.map → geneVariant.integration.spec-C6TYWKIC.js.map} +0 -0
  882. /package/dist/{genefusion.ui-35IYSZD7.js.map → genefusion.ui-VKAINMY7.js.map} +0 -0
  883. /package/dist/{geneset-7ZHJ5KWK.js.map → geneset-673KAZVX.js.map} +0 -0
  884. /package/dist/{genomeBrowser.spec-VXASVLNH.js.map → genomeBrowser.spec-T6TQCJ3O.js.map} +0 -0
  885. /package/dist/{grin2-7NM56COO.js.map → grin2-376BD4XY.js.map} +0 -0
  886. /package/dist/{grin2-IY26UUQI.js.map → grin2-OALS75LC.js.map} +0 -0
  887. /package/dist/{gsea-TORO46C6.js.map → gsea-25LD2LGP.js.map} +0 -0
  888. /package/dist/{hierCluster-3BKEGW6P.js.map → hierCluster-7KU3K52V.js.map} +0 -0
  889. /package/dist/{hierCluster-HM3LOM6V.js.map → hierCluster-M5VVWKQK.js.map} +0 -0
  890. /package/dist/{hierCluster.config-LDO5IGQ5.js.map → hierCluster.config-EDO3SH2P.js.map} +0 -0
  891. /package/dist/{hierCluster.integration.spec-XO5R6CQT.js.map → hierCluster.integration.spec-UOX7J2XD.js.map} +0 -0
  892. /package/dist/{hierCluster.interactivity-NVQ6262K.js.map → hierCluster.interactivity-FEFZDXML.js.map} +0 -0
  893. /package/dist/{hierCluster.renderers-SWPPNBLU.js.map → hierCluster.renderers-A6MEGO2B.js.map} +0 -0
  894. /package/dist/{imagePlot-V4WLAPV6.js.map → imagePlot-FPXZ2H5Z.js.map} +0 -0
  895. /package/dist/{importPlot-NZKQEOX4.js.map → importPlot-VKWPSFEK.js.map} +0 -0
  896. /package/dist/{isoformExpression-TIZBIGNL.js.map → isoformExpression-2R2TOB6P.js.map} +0 -0
  897. /package/dist/{jspdf.es.min-DO4YWL2R.js.map → jspdf.es.min-FC3BCETM.js.map} +0 -0
  898. /package/dist/{launch.adhoc-JYEN42NM.js.map → launch.adhoc-242RS6DW.js.map} +0 -0
  899. /package/dist/{leftlabel.sample-43DL3J3H.js.map → leftlabel.sample-OJW3AE64.js.map} +0 -0
  900. /package/dist/{legacyDataset-QRSNRVUA.js.map → legacyDataset-PBCPC5I7.js.map} +0 -0
  901. /package/dist/{lollipop-NMWZ4FVF.js.map → lollipop-TRQ3LK7Y.js.map} +0 -0
  902. /package/dist/{maf-DS3EOVGV.js.map → maf-ZBOLN2FE.js.map} +0 -0
  903. /package/dist/{maftimeline-ZB2753S7.js.map → maftimeline-GVX7NJP7.js.map} +0 -0
  904. /package/dist/{matrix-RCGQWQ3C.js.map → matrix-73KRNXLM.js.map} +0 -0
  905. /package/dist/{matrix-WTTEK4FT.js.map → matrix-US3OXYRY.js.map} +0 -0
  906. /package/dist/{matrix.cells-UO5ASQ35.js.map → matrix.cells-U7AQNEBP.js.map} +0 -0
  907. /package/dist/{matrix.config-3UQAT3QR.js.map → matrix.config-Q57D7C3F.js.map} +0 -0
  908. /package/dist/{matrix.controls-PRZ77K5L.js.map → matrix.controls-AWXDRSWP.js.map} +0 -0
  909. /package/dist/{matrix.data-4W73RQ3H.js.map → matrix.data-EEIY6AO4.js.map} +0 -0
  910. /package/dist/{matrix.dom-IZFFS4RQ.js.map → matrix.dom-6QL3AJMW.js.map} +0 -0
  911. /package/dist/{matrix.groups-5VMPI7SA.js.map → matrix.groups-CUB6UWC5.js.map} +0 -0
  912. /package/dist/{matrix.integration.spec-2F5LDLC2.js.map → matrix.integration.spec-PQH67KRM.js.map} +0 -0
  913. /package/dist/{matrix.interactivity-MIPZ6ELV.js.map → matrix.interactivity-JW4AXAWO.js.map} +0 -0
  914. /package/dist/{matrix.layout-EO5LVYRO.js.map → matrix.layout-I56KRVCO.js.map} +0 -0
  915. /package/dist/{matrix.legend-QBFBFEUG.js.map → matrix.legend-42LQGAGX.js.map} +0 -0
  916. /package/dist/{matrix.renderers-ERJXVCQL.js.map → matrix.renderers-IX3FCNBK.js.map} +0 -0
  917. /package/dist/{matrix.serieses-E23EPXHA.js.map → matrix.serieses-4B2WB526.js.map} +0 -0
  918. /package/dist/{matrix.sort-I4UGMEXR.js.map → matrix.sort-BJACNR7G.js.map} +0 -0
  919. /package/dist/{matrix.sort.unit.spec-CRGF6CSE.js.map → matrix.sort.unit.spec-3KKDKIPY.js.map} +0 -0
  920. /package/dist/{matrix.sorterUi-YLSYTYLE.js.map → matrix.sorterUi-W6XFYZY2.js.map} +0 -0
  921. /package/dist/{matrix.sorterUi.unit.spec-ENG3ICOO.js.map → matrix.sorterUi.unit.spec-CMJ7EBIW.js.map} +0 -0
  922. /package/dist/{mavb-5WR7OJHI.js.map → mavb-ROAE6WYA.js.map} +0 -0
  923. /package/dist/{mds.fimo-3ZRH7BBJ.js.map → mds.fimo-UGK5OWCF.js.map} +0 -0
  924. /package/dist/{mds.samplescatterplot-RPXR2FVK.js.map → mds.samplescatterplot-5KFUAYSB.js.map} +0 -0
  925. /package/dist/{mds.survivalplot-WSSMYUZD.js.map → mds.survivalplot-2EVNZUX5.js.map} +0 -0
  926. /package/dist/{oncomatrix-JKYPUJQR.js.map → oncomatrix-UGFXSXQJ.js.map} +0 -0
  927. /package/dist/{oncomatrix.spec-OEGU4DYK.js.map → oncomatrix.spec-FEP7BR7L.js.map} +0 -0
  928. /package/dist/{plot.2dvaf-ZGARLQNK.js.map → plot.2dvaf-WXGLWCOC.js.map} +0 -0
  929. /package/dist/{plot.app-TKUJH3LK.js.map → plot.app-IZAFRTBU.js.map} +0 -0
  930. /package/dist/{plot.barplot-FEIPGDZ2.js.map → plot.barplot-Z4VWOPFJ.js.map} +0 -0
  931. /package/dist/{plot.boxplot-6RASUMZB.js.map → plot.boxplot-QU2KZSB7.js.map} +0 -0
  932. /package/dist/{plot.brainImaging-ZJPFWX2W.js.map → plot.brainImaging-U643YIK7.js.map} +0 -0
  933. /package/dist/{plot.dzi-PC34YI6Y.js.map → plot.dzi-DWXPOOQE.js.map} +0 -0
  934. /package/dist/{plot.ssgq-Z4UNJKWO.js.map → plot.ssgq-GXB2GZO3.js.map} +0 -0
  935. /package/dist/{plot.vaf2cov-NZ4WULKT.js.map → plot.vaf2cov-EKRIADPB.js.map} +0 -0
  936. /package/dist/{plot.wsi-YYXFAZWY.js.map → plot.wsi-E2LLE6HI.js.map} +0 -0
  937. /package/dist/{polar-X2GPIBLB.js.map → polar-MZLIUXHO.js.map} +0 -0
  938. /package/dist/{polar2-TZ553QQH.js.map → polar2-IUVHNQM4.js.map} +0 -0
  939. /package/dist/{profile.spec-VB6VMFLY.js.map → profile.spec-JRW6KYUI.js.map} +0 -0
  940. /package/dist/{profileBarchart-SKJSTC7B.js.map → profileBarchart-N7HJMYZ5.js.map} +0 -0
  941. /package/dist/{profileForms-RLOGSMAQ.js.map → profileForms-Q5TPGPQP.js.map} +0 -0
  942. /package/dist/{profilePlot-267ZS3RG.js.map → profilePlot-TXTUYDVE.js.map} +0 -0
  943. /package/dist/{profileRadar-KGOBHCSF.js.map → profileRadar-ICEASI7W.js.map} +0 -0
  944. /package/dist/{proteomeAbundance-PGHZSVAF.js.map → proteomeAbundance-DE4NVBCN.js.map} +0 -0
  945. /package/dist/{proteomeAbundance-JUYAYO5I.js.map → proteomeAbundance-LTB3QR3G.js.map} +0 -0
  946. /package/dist/{qualitative-3IECKKJM.js.map → qualitative-DFGWQURY.js.map} +0 -0
  947. /package/dist/{regression-J6FFRPXN.js.map → regression-TTQTAEGD.js.map} +0 -0
  948. /package/dist/{regression.inputs-T7LWBSYZ.js.map → regression.inputs-2LU2XRGC.js.map} +0 -0
  949. /package/dist/{regression.inputs.term-TT7PNX6G.js.map → regression.inputs.term-G57GL57T.js.map} +0 -0
  950. /package/dist/{regression.inputs.values.table-SHFUNKCS.js.map → regression.inputs.values.table-JSEM3PXL.js.map} +0 -0
  951. /package/dist/{regression.results-D4WX6VIV.js.map → regression.results-3YNM6LLQ.js.map} +0 -0
  952. /package/dist/{regression.spec-7SW55L7X.js.map → regression.spec-S6WFCPSW.js.map} +0 -0
  953. /package/dist/{report-QYOZ4BRF.js.map → report-YRAV4MY4.js.map} +0 -0
  954. /package/dist/{sampleScatter.spec-JCHFMGNF.js.map → sampleScatter.spec-MBJ4XNTX.js.map} +0 -0
  955. /package/dist/{sampleView-7RPKNAZC.js.map → sampleView-IUR3ZEN7.js.map} +0 -0
  956. /package/dist/{samplelst-4WNPHZVG.js.map → samplelst-C2NBFGH6.js.map} +0 -0
  957. /package/dist/{samplematrix-CG52DSXJ.js.map → samplematrix-AOK2HHSB.js.map} +0 -0
  958. /package/dist/{sc-OJSWILSA.js.map → sc-XT3Z5XJI.js.map} +0 -0
  959. /package/dist/{scatter-LG2RMMEC.js.map → scatter-SAHKZRFL.js.map} +0 -0
  960. /package/dist/{selectGenomeWithTklst-QXRVE6N4.js.map → selectGenomeWithTklst-2YVZ4JWV.js.map} +0 -0
  961. /package/dist/{singleCellCellType-XBSRL33U.js.map → singleCellCellType-NFN5GQJM.js.map} +0 -0
  962. /package/dist/{singleCellGeneExpression-64ECP62X.js.map → singleCellGeneExpression-7AQGLXTR.js.map} +0 -0
  963. /package/dist/{singleCellPlot-E5F62JY6.js.map → singleCellPlot-IWFEG44C.js.map} +0 -0
  964. /package/dist/{singlecell-S7B5V7NK.js.map → singlecell-3QNV4OMZ.js.map} +0 -0
  965. /package/dist/{singlecell-FCY5EOUV.js.map → singlecell-EATPLH66.js.map} +0 -0
  966. /package/dist/{snp-ACKX4GRX.js.map → snp-UP7WL7WG.js.map} +0 -0
  967. /package/dist/{snp.unit.spec-QBGHKKUD.js.map → snp.unit.spec-Y5NWQ442.js.map} +0 -0
  968. /package/dist/{snplocus-7EUOW7J7.js.map → snplocus-WAQK2AZG.js.map} +0 -0
  969. /package/dist/{spliceevent.a53ss.diagram-ALQZA35Z.js.map → spliceevent.a53ss.diagram-FFK27UIB.js.map} +0 -0
  970. /package/dist/{spliceevent.exonskip.diagram-UF7WJA5R.js.map → spliceevent.exonskip.diagram-KWEF2OZJ.js.map} +0 -0
  971. /package/dist/{spliceevent.noeventdiagram-4HPGRNRR.js.map → spliceevent.noeventdiagram-PU4TI7OM.js.map} +0 -0
  972. /package/dist/{ssGSEA-FDRBBBLJ.js.map → ssGSEA-N6QOAVLW.js.map} +0 -0
  973. /package/dist/{ssGSEA.unit.spec-EZEOWJVV.js.map → ssGSEA.unit.spec-KQBNZNNP.js.map} +0 -0
  974. /package/dist/{summarizeMutationDiagnosis-LALOJTHV.js.map → summarizeMutationDiagnosis-5RHSG7L6.js.map} +0 -0
  975. /package/dist/{summarizeMutationSurvival-TSNTSOBZ.js.map → summarizeMutationSurvival-22YYXGS5.js.map} +0 -0
  976. /package/dist/{summary-YRHVS64T.js.map → summary-P3WIKJS7.js.map} +0 -0
  977. /package/dist/{summary.integration.spec-766YQLQA.js.map → summary.integration.spec-ULGRPICW.js.map} +0 -0
  978. /package/dist/{summaryInput-VQ2X6GSX.js.map → summaryInput-IH4EVNF5.js.map} +0 -0
  979. /package/dist/{survival-FQXZH2MM.js.map → survival-2ZE3N62A.js.map} +0 -0
  980. /package/dist/{survival-TVA3ZWVP.js.map → survival-ASCLKIII.js.map} +0 -0
  981. /package/dist/{survival.integration.spec-WFIOPD6A.js.map → survival.integration.spec-C5YXOY77.js.map} +0 -0
  982. /package/dist/{svg2pdf.es.min-EZ4UYRSH.js.map → svg2pdf.es.min-CYTPRWNB.js.map} +0 -0
  983. /package/dist/{svgraph-4BFBO7EL.js.map → svgraph-AYR2UPNK.js.map} +0 -0
  984. /package/dist/{svmr-ML7GAIIA.js.map → svmr-MOMW5DNY.js.map} +0 -0
  985. /package/dist/{table-SMLMUWPP.js.map → table-PQB6KCEY.js.map} +0 -0
  986. /package/dist/{termCollection-22CPTISZ.js.map → termCollection-5AY2AWT4.js.map} +0 -0
  987. /package/dist/{termCollection-EE6AOIVA.js.map → termCollection-OQMUUTW6.js.map} +0 -0
  988. /package/dist/{termCollection.unit.spec-4DIW3CJ3.js.map → termCollection.unit.spec-BUAXYIJK.js.map} +0 -0
  989. /package/dist/{tk-ITZCKOQ5.js.map → tk-EJLFFA5H.js.map} +0 -0
  990. /package/dist/{tp.ui-R6HVKCBC.js.map → tp.ui-WUW6A7KP.js.map} +0 -0
  991. /package/dist/{tvs.density-AQ5GD437.js.map → tvs.density-HSVPDDGA.js.map} +0 -0
  992. /package/dist/{tvs.dt-2263TBEJ.js.map → tvs.dt-MVJXQMNU.js.map} +0 -0
  993. /package/dist/{tvs.dtcnv.categorical-TRRHL33N.js.map → tvs.dtcnv.categorical-FIIDWVK7.js.map} +0 -0
  994. /package/dist/{tvs.dtcnv.continuous-GREYNF52.js.map → tvs.dtcnv.continuous-JPQU3JA2.js.map} +0 -0
  995. /package/dist/{tvs.dtfusion-XOX46L3M.js.map → tvs.dtfusion-BW35GOQM.js.map} +0 -0
  996. /package/dist/{tvs.dtsnvindel-IDMXT53F.js.map → tvs.dtsnvindel-AEMFZ4EH.js.map} +0 -0
  997. /package/dist/{tvs.dtsv-ZDWFYH2C.js.map → tvs.dtsv-JHTU7UFD.js.map} +0 -0
  998. /package/dist/{tvs.numeric-ZN2R7BH3.js.map → tvs.numeric-ICUGA4WY.js.map} +0 -0
  999. /package/dist/{tvs.samplelst-GAP76HRH.js.map → tvs.samplelst-VD2NFFFS.js.map} +0 -0
  1000. /package/dist/{tvs.termCollection-GQ65UKSI.js.map → tvs.termCollection-IKE5Q74D.js.map} +0 -0
  1001. /package/dist/{violin-JGDL62YA.js.map → violin-DPMJLHQG.js.map} +0 -0
  1002. /package/dist/{violin.interactivity-H4RP4K5U.js.map → violin.interactivity-TS4DYUE5.js.map} +0 -0
  1003. /package/dist/{violin.renderer-QPHLACDC.js.map → violin.renderer-53L4PXUT.js.map} +0 -0
  1004. /package/dist/{vocabulary-7JACY4J2.js.map → vocabulary-4MPFHKYC.js.map} +0 -0
@@ -0,0 +1,3070 @@
1
+ import {
2
+ getSortOptions
3
+ } from "./chunk-5UMPBVA6.js";
4
+ import {
5
+ getRunPp
6
+ } from "./chunk-E4NVHKWD.js";
7
+ import {
8
+ detectLst,
9
+ sleep
10
+ } from "./chunk-ZIBWLDQI.js";
11
+ import {
12
+ termjson
13
+ } from "./chunk-HUA2EFQO.js";
14
+ import {
15
+ require_tape
16
+ } from "./chunk-QWOE5YTB.js";
17
+ import "./chunk-I4IKRKYJ.js";
18
+ import "./chunk-4RR4KPRJ.js";
19
+ import "./chunk-V245THQC.js";
20
+ import "./chunk-DGMK7SXX.js";
21
+ import "./chunk-PRZWSBMA.js";
22
+ import "./chunk-YY4CKQJ6.js";
23
+ import "./chunk-MKAF2BHB.js";
24
+ import "./chunk-OSM7YS23.js";
25
+ import "./chunk-S5ZI6N2I.js";
26
+ import "./chunk-AQ4OP4GR.js";
27
+ import "./chunk-OXJ2TWDO.js";
28
+ import "./chunk-HJ6L54YS.js";
29
+ import "./chunk-V6DLLX4N.js";
30
+ import "./chunk-7RN3L2BX.js";
31
+ import "./chunk-A6TQGNDQ.js";
32
+ import "./chunk-HYZG6OPC.js";
33
+ import "./chunk-FN5XPUPH.js";
34
+ import "./chunk-LSEFWW72.js";
35
+ import "./chunk-5EF5U7MX.js";
36
+ import "./chunk-2K5DSRBJ.js";
37
+ import "./chunk-UCLS2SVB.js";
38
+ import "./chunk-MVTCBVSX.js";
39
+ import "./chunk-SEQLC4AD.js";
40
+ import "./chunk-L4QG7XZE.js";
41
+ import "./chunk-DQC5FFGV.js";
42
+ import "./chunk-KQMEJUWI.js";
43
+ import "./chunk-UJU3Q7QJ.js";
44
+ import "./chunk-WGL6FIUE.js";
45
+ import "./chunk-6ITDJ5UR.js";
46
+ import {
47
+ CNVClasses,
48
+ mutationClasses,
49
+ proteinChangingMutations,
50
+ synonymousMutations,
51
+ truncatingMutations
52
+ } from "./chunk-XYFDBYOY.js";
53
+ import "./chunk-TV74I3Y5.js";
54
+ import "./chunk-IH7ILDJS.js";
55
+ import "./chunk-LOZEKOES.js";
56
+ import "./chunk-TOU7EVFQ.js";
57
+ import "./chunk-OAWQ6LOO.js";
58
+ import "./chunk-SEEYV6P2.js";
59
+ import "./chunk-NDWTN4U5.js";
60
+ import "./chunk-OMR2DT66.js";
61
+ import {
62
+ __toESM
63
+ } from "./chunk-HFNDKYVF.js";
64
+
65
+ // plots/matrix/test/matrix.integration.spec.js
66
+ var import_tape = __toESM(require_tape(), 1);
67
+ (0, import_tape.default)("\n", function(test) {
68
+ test.comment("-***- plots/matrix -***-");
69
+ test.end();
70
+ });
71
+ (0, import_tape.default)("only dictionary terms", function(test) {
72
+ test.timeoutAfter(5e3);
73
+ test.plan(5);
74
+ runpp({
75
+ state: {
76
+ plots: [
77
+ {
78
+ chartType: "matrix",
79
+ settings: {
80
+ matrix: {
81
+ // the matrix autocomputes the colw based on available screen width,
82
+ // need to set an exact screen width for consistent tests using getBBox()
83
+ availContentWidth: 1200
84
+ }
85
+ },
86
+ termgroups: [
87
+ {
88
+ name: "Demographics",
89
+ lst: [
90
+ {
91
+ id: "aaclassic_5",
92
+ q: {
93
+ mode: "continuous"
94
+ }
95
+ },
96
+ {
97
+ id: "sex"
98
+ //q: { mode: 'values' } // or 'groupsetting'
99
+ },
100
+ {
101
+ id: "agedx",
102
+ q: {
103
+ mode: "discrete",
104
+ type: "regular-bin",
105
+ bin_size: 5,
106
+ first_bin: {
107
+ startunbounded: true,
108
+ stop: 5,
109
+ stopinclusive: true
110
+ }
111
+ }
112
+ // or 'continuous'
113
+ },
114
+ {
115
+ id: "Arrhythmias"
116
+ }
117
+ ]
118
+ }
119
+ ]
120
+ }
121
+ ]
122
+ },
123
+ matrix: {
124
+ callbacks: {
125
+ "postRender.test": runTests
126
+ }
127
+ }
128
+ });
129
+ function runTests(matrix) {
130
+ matrix.on("postRender.test", null);
131
+ test.equal(
132
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
133
+ 4,
134
+ `should render the expected number of serieses`
135
+ );
136
+ test.equal(
137
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
138
+ 240,
139
+ `should render the expected number of cell rects`
140
+ );
141
+ test.equal(
142
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
143
+ 1,
144
+ `should render the expected number of cluster rects`
145
+ );
146
+ const sg0rects = matrix.Inner.dom.seriesesG.select(".sjpp-mass-series-g").selectAll("rect");
147
+ test.equal(
148
+ sg0rects.filter((d) => d.key <= 0 && d.fill === "transparent").size(),
149
+ 14,
150
+ `should render special values with transparent rects`
151
+ );
152
+ const uniqueHts = /* @__PURE__ */ new Set();
153
+ sg0rects.each((d) => uniqueHts.add(d.height));
154
+ test.equal(uniqueHts.size, 45, `should render different rect heights for continuous mode bar plots`);
155
+ if (test._ok) matrix.Inner.app.destroy();
156
+ test.end();
157
+ }
158
+ });
159
+ (0, import_tape.default)("termCollection", function(test) {
160
+ runpp({
161
+ state: {
162
+ plots: [
163
+ {
164
+ chartType: "matrix",
165
+ termgroups: [
166
+ {
167
+ name: "",
168
+ lst: [getTermCollection()]
169
+ }
170
+ ]
171
+ }
172
+ ]
173
+ },
174
+ matrix: { callbacks: { "postRender.test": runTests } }
175
+ });
176
+ function runTests(matrix) {
177
+ matrix.on("postRender.test", null);
178
+ test.equal(
179
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
180
+ 1,
181
+ `should render the expected number of serieses`
182
+ );
183
+ if (test._ok) matrix.Inner.app.destroy();
184
+ test.end();
185
+ }
186
+ });
187
+ (0, import_tape.default)("with divide by terms", function(test) {
188
+ test.timeoutAfter(5e3);
189
+ test.plan(3);
190
+ runpp({
191
+ state: {
192
+ plots: [
193
+ {
194
+ chartType: "matrix",
195
+ settings: {
196
+ // the matrix autocomputes the colw based on available screen width,
197
+ // need to set an exact screen width for consistent tests using getBBox()
198
+ matrix: {
199
+ availContentWidth: 1200
200
+ }
201
+ },
202
+ divideBy: {
203
+ id: "sex"
204
+ },
205
+ termgroups: [
206
+ {
207
+ name: "Demographics",
208
+ lst: [
209
+ { id: "agedx", term: termjson["agedx"] },
210
+ { id: "diaggrp", term: termjson["diaggrp"] },
211
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
212
+ ]
213
+ }
214
+ ]
215
+ }
216
+ ]
217
+ },
218
+ matrix: {
219
+ callbacks: {
220
+ "postRender.test": runTests
221
+ }
222
+ }
223
+ });
224
+ function runTests(matrix) {
225
+ matrix.on("postRender.test", null);
226
+ test.equal(
227
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
228
+ 3,
229
+ `should render the expected number of serieses`
230
+ );
231
+ test.equal(
232
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
233
+ 180,
234
+ `should render the expected number of cell rects`
235
+ );
236
+ test.equal(
237
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
238
+ 2,
239
+ `should render the expected number of cluster rects`
240
+ );
241
+ if (test._ok) matrix.Inner.app.destroy();
242
+ test.end();
243
+ }
244
+ });
245
+ (0, import_tape.default)("long column group labels", function(test) {
246
+ test.timeoutAfter(5e3);
247
+ test.plan(2);
248
+ runpp({
249
+ state: {
250
+ plots: [
251
+ {
252
+ chartType: "matrix",
253
+ settings: {
254
+ // the matrix autocomputes the colw based on available screen width,
255
+ // need to set an exact screen width for consistent tests using getBBox()
256
+ matrix: {
257
+ availContentWidth: 1200
258
+ }
259
+ },
260
+ divideBy: {
261
+ id: "diaggrp"
262
+ },
263
+ termgroups: [
264
+ {
265
+ name: "Demographics",
266
+ lst: [
267
+ { id: "diaggrp", term: termjson["diaggrp"] },
268
+ { id: "agedx", term: termjson["agedx"] },
269
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
270
+ ]
271
+ }
272
+ ]
273
+ }
274
+ ]
275
+ },
276
+ matrix: {
277
+ callbacks: {
278
+ "postRender.test222": runTests
279
+ }
280
+ }
281
+ });
282
+ function runTests(matrix) {
283
+ matrix.on("postRender.test222", null);
284
+ const y = matrix.Inner.dom.clipRect.property("y").baseVal.value;
285
+ test.true(y > -63 && y < -62, `should adjust the clip-path rect y-value to between -39 and -38, actual=${y}`);
286
+ const h = matrix.Inner.dom.clipRect.property("height").baseVal.value;
287
+ test.true(h > 619 && h <= 620, `should adjust the clip-path height to between 595 and 596, actual=${h}`);
288
+ if (test._ok) matrix.Inner.app.destroy();
289
+ test.end();
290
+ }
291
+ });
292
+ (0, import_tape.default)("divide by continuous terms", function(test) {
293
+ test.timeoutAfter(5e3);
294
+ test.plan(3);
295
+ runpp({
296
+ state: {
297
+ plots: [
298
+ {
299
+ chartType: "matrix",
300
+ settings: {
301
+ // the matrix autocomputes the colw based on available screen width,
302
+ // need to set an exact screen width for consistent tests using getBBox()
303
+ matrix: {
304
+ availContentWidth: 1200
305
+ }
306
+ },
307
+ divideBy: {
308
+ id: "agedx"
309
+ },
310
+ termgroups: [
311
+ {
312
+ name: "Demographics",
313
+ lst: [
314
+ { id: "sex", term: termjson["sex"] },
315
+ { id: "diaggrp", term: termjson["diaggrp"] },
316
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
317
+ ]
318
+ }
319
+ ]
320
+ }
321
+ ]
322
+ },
323
+ matrix: {
324
+ callbacks: {
325
+ "postRender.test": runTests
326
+ }
327
+ }
328
+ });
329
+ function runTests(matrix) {
330
+ matrix.on("postRender.test", null);
331
+ test.equal(
332
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
333
+ 3,
334
+ `should render the expected number of serieses`
335
+ );
336
+ test.equal(
337
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
338
+ 180,
339
+ `should render the expected number of cell rects`
340
+ );
341
+ test.equal(
342
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
343
+ 5,
344
+ `should render the expected number of cluster rects`
345
+ );
346
+ if (test._ok) matrix.Inner.app.destroy();
347
+ test.end();
348
+ }
349
+ });
350
+ (0, import_tape.default)("geneVariant term", function(test) {
351
+ test.timeoutAfter(5e3);
352
+ test.plan(2);
353
+ runpp({
354
+ state: {
355
+ nav: {
356
+ activeTab: 1
357
+ },
358
+ plots: [
359
+ {
360
+ chartType: "matrix",
361
+ settings: {
362
+ // the matrix autocomputes the colw based on available screen width,
363
+ // need to set an exact screen width for consistent tests using getBBox()
364
+ matrix: {
365
+ availContentWidth: 1200
366
+ }
367
+ },
368
+ termgroups: [
369
+ {
370
+ name: "",
371
+ lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
372
+ }
373
+ ]
374
+ }
375
+ ]
376
+ },
377
+ matrix: {
378
+ callbacks: {
379
+ "postRender.test": runTests
380
+ }
381
+ }
382
+ });
383
+ function runTests(matrix) {
384
+ matrix.on("postRender.test", null);
385
+ test.equal(
386
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
387
+ 1,
388
+ `should render the expected number of serieses`
389
+ );
390
+ test.equal(
391
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
392
+ 240,
393
+ `should render the expected number of cell rects`
394
+ );
395
+ if (test._ok) matrix.Inner.app.destroy();
396
+ test.end();
397
+ }
398
+ });
399
+ (0, import_tape.default)("geneVariant terms and dictionary terms", function(test) {
400
+ test.timeoutAfter(5e3);
401
+ test.plan(3);
402
+ runpp({
403
+ state: {
404
+ nav: {
405
+ activeTab: 1
406
+ },
407
+ plots: [
408
+ {
409
+ chartType: "matrix",
410
+ settings: {
411
+ // the matrix autocomputes the colw based on available screen width,
412
+ // need to set an exact screen width for consistent tests using getBBox()
413
+ matrix: {
414
+ availContentWidth: 1200
415
+ }
416
+ },
417
+ termgroups: [
418
+ {
419
+ name: "",
420
+ lst: [
421
+ ...getGenes(),
422
+ { id: "agedx", term: termjson["agedx"] },
423
+ { id: "diaggrp", term: termjson["diaggrp"] },
424
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
425
+ ]
426
+ }
427
+ ]
428
+ }
429
+ ]
430
+ },
431
+ matrix: {
432
+ callbacks: {
433
+ "postRender.test": runTests
434
+ }
435
+ }
436
+ });
437
+ function runTests(matrix) {
438
+ matrix.on("postRender.test", null);
439
+ test.equal(
440
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
441
+ 6,
442
+ `should render the expected number of serieses`
443
+ );
444
+ test.equal(
445
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
446
+ 900,
447
+ `should render the expected number of cell rects`
448
+ );
449
+ test.equal(
450
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
451
+ 1,
452
+ `should render the expected number of cluster rects`
453
+ );
454
+ if (test._ok) matrix.Inner.app.destroy();
455
+ test.end();
456
+ }
457
+ });
458
+ (0, import_tape.default)("geneVariant terms with divide by dictionary term", function(test) {
459
+ test.timeoutAfter(5e3);
460
+ test.plan(3);
461
+ runpp({
462
+ state: {
463
+ nav: {
464
+ activeTab: 1
465
+ },
466
+ plots: [
467
+ {
468
+ chartType: "matrix",
469
+ settings: {
470
+ // the matrix autocomputes the colw based on available screen width,
471
+ // need to set an exact screen width for consistent tests using getBBox()
472
+ matrix: {
473
+ availContentWidth: 1200
474
+ }
475
+ },
476
+ divideBy: {
477
+ id: "sex"
478
+ },
479
+ termgroups: [
480
+ {
481
+ name: "",
482
+ lst: getGenes()
483
+ }
484
+ ]
485
+ }
486
+ ]
487
+ },
488
+ matrix: {
489
+ callbacks: {
490
+ "postRender.test": runTests
491
+ }
492
+ }
493
+ });
494
+ function runTests(matrix) {
495
+ matrix.on("postRender.test", null);
496
+ test.equal(
497
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
498
+ 3,
499
+ `should render the expected number of serieses`
500
+ );
501
+ test.equal(
502
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
503
+ 720,
504
+ `should render the expected number of cell rects`
505
+ );
506
+ test.equal(
507
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
508
+ 2,
509
+ `should render the expected number of cluster rects`
510
+ );
511
+ if (test._ok) matrix.Inner.app.destroy();
512
+ test.end();
513
+ }
514
+ });
515
+ (0, import_tape.default)("geneVariant terms and dictionary terms divide by dictionary term", function(test) {
516
+ test.timeoutAfter(5e3);
517
+ test.plan(3);
518
+ runpp({
519
+ state: {
520
+ nav: {
521
+ activeTab: 1
522
+ },
523
+ plots: [
524
+ {
525
+ chartType: "matrix",
526
+ settings: {
527
+ // the matrix autocomputes the colw based on available screen width,
528
+ // need to set an exact screen width for consistent tests using getBBox()
529
+ matrix: {
530
+ availContentWidth: 1200
531
+ }
532
+ },
533
+ divideBy: {
534
+ id: "sex"
535
+ },
536
+ termgroups: [
537
+ {
538
+ name: "",
539
+ lst: [
540
+ ...getGenes(),
541
+ { id: "agedx", term: termjson["agedx"] },
542
+ { id: "diaggrp", term: termjson["diaggrp"] },
543
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
544
+ ]
545
+ }
546
+ ]
547
+ }
548
+ ]
549
+ },
550
+ matrix: {
551
+ callbacks: {
552
+ "postRender.test": runTests
553
+ }
554
+ }
555
+ });
556
+ function runTests(matrix) {
557
+ matrix.on("postRender.test", null);
558
+ test.equal(
559
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
560
+ 6,
561
+ `should render the expected number of serieses`
562
+ );
563
+ test.equal(
564
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
565
+ 900,
566
+ `should render the expected number of cell rects`
567
+ );
568
+ test.equal(
569
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
570
+ 2,
571
+ `should render the expected number of cluster rects`
572
+ );
573
+ if (test._ok) matrix.Inner.app.destroy();
574
+ test.end();
575
+ }
576
+ });
577
+ (0, import_tape.default)("sort samples by sample name", function(test) {
578
+ test.timeoutAfter(5e3);
579
+ test.plan(4);
580
+ runpp({
581
+ state: {
582
+ nav: {
583
+ activeTab: 1
584
+ },
585
+ plots: [
586
+ {
587
+ chartType: "matrix",
588
+ settings: {
589
+ // the matrix autocomputes the colw based on available screen width,
590
+ // need to set an exact screen width for consistent tests using getBBox()
591
+ matrix: {
592
+ availContentWidth: 1200,
593
+ sortSamplesBy: "name"
594
+ }
595
+ },
596
+ termgroups: [
597
+ {
598
+ name: "",
599
+ lst: getGenes()
600
+ }
601
+ ]
602
+ }
603
+ ]
604
+ },
605
+ matrix: {
606
+ callbacks: {
607
+ "postRender.test": runTests
608
+ }
609
+ }
610
+ });
611
+ function runTests(matrix) {
612
+ matrix.on("postRender.test", null);
613
+ const g = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g");
614
+ test.equal(g.size(), 60, `should render the expected number of sample names`);
615
+ test.equal(g._groups[0][0].textContent, "2646", `should be the expected sample name`);
616
+ test.equal(g._groups[0][9].textContent, "2772", `should be the expected sample name`);
617
+ test.equal(g._groups[0][59].textContent, "3472", `should be the expected sample name`);
618
+ if (test._ok) matrix.Inner.app.destroy();
619
+ test.end();
620
+ }
621
+ });
622
+ (0, import_tape.default)("sort samples by Mutation categories, not sorted by CNV", function(test) {
623
+ test.timeoutAfter(5e3);
624
+ test.plan(4);
625
+ runpp({
626
+ state: {
627
+ nav: {
628
+ activeTab: 1
629
+ },
630
+ plots: [
631
+ {
632
+ chartType: "matrix",
633
+ settings: {
634
+ // the matrix autocomputes the colw based on available screen width,
635
+ // need to set an exact screen width for consistent tests using getBBox()
636
+ matrix: {
637
+ availContentWidth: 1200,
638
+ sortSamplesBy: "a"
639
+ }
640
+ },
641
+ termgroups: [
642
+ {
643
+ name: "Demographics",
644
+ lst: getGenes()
645
+ }
646
+ ]
647
+ }
648
+ ]
649
+ },
650
+ matrix: {
651
+ callbacks: {
652
+ "postRender.test": runTests
653
+ }
654
+ }
655
+ });
656
+ function runTests(matrix) {
657
+ matrix.on("postRender.test", null);
658
+ test.equal(
659
+ matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
660
+ 60,
661
+ `should render the expected number of sample names`
662
+ );
663
+ const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
664
+ const index_3346 = Array.from(rects).find((rect) => rect.textContent == "3346").__data__.index;
665
+ test.true(index_3346 < 10, `sample 3346 should be in the expected order (not sorted by CNV)`);
666
+ const index_2660 = Array.from(rects).find((rect) => rect.textContent == "2660").__data__.index;
667
+ test.equal(index_2660, 8, `sample 2660 should be in the expected order (not sorted by CNV)`);
668
+ const index_3472 = Array.from(rects).find((rect) => rect.textContent == "3472").__data__.index;
669
+ test.true(index_3472 > 9, `sample 3472 should be in the expected order (not sorted by CNV)`);
670
+ if (test._ok) matrix.Inner.app.destroy();
671
+ test.end();
672
+ }
673
+ });
674
+ (0, import_tape.default)("sort samples by CNV+SSM > SSM-only", function(test) {
675
+ test.timeoutAfter(5e3);
676
+ test.plan(5);
677
+ const sortOptions = getSortOptions(
678
+ void 0,
679
+ {},
680
+ {
681
+ proteinChangingMutations,
682
+ truncatingMutations,
683
+ synonymousMutations,
684
+ mutationClasses,
685
+ CNVClasses
686
+ }
687
+ );
688
+ const cnvtb = sortOptions.a.sortPriority[0].tiebreakers[2];
689
+ cnvtb.disabled = false;
690
+ runpp({
691
+ state: {
692
+ nav: {
693
+ activeTab: 1
694
+ },
695
+ plots: [
696
+ {
697
+ chartType: "matrix",
698
+ legendValueFilter: {
699
+ type: "tvslst",
700
+ lst: []
701
+ },
702
+ settings: {
703
+ // the matrix autocomputes the colw based on available screen width,
704
+ // need to set an exact screen width for consistent tests using getBBox()
705
+ matrix: {
706
+ availContentWidth: 1200,
707
+ sortSamplesBy: "a",
708
+ sortOptions
709
+ }
710
+ },
711
+ termgroups: [
712
+ {
713
+ name: "",
714
+ lst: getGenes()
715
+ }
716
+ ]
717
+ }
718
+ ]
719
+ },
720
+ matrix: {
721
+ callbacks: {
722
+ "postRender.test": runTests
723
+ }
724
+ }
725
+ });
726
+ function runTests(matrix) {
727
+ matrix.on("postRender.test", null);
728
+ test.equal(
729
+ matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
730
+ 60,
731
+ `should render the expected number of sample names`
732
+ );
733
+ const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
734
+ const r = Array.from(rects);
735
+ const index_3416 = r.find((rect) => rect.textContent == "3416").__data__.index;
736
+ test.equal(index_3416, 0, `should be in the expected order`);
737
+ const index_3346 = r.find((rect) => rect.textContent == "3346").__data__.index;
738
+ test.equal(index_3346, 9, `should be in the expected order`);
739
+ const index_2660 = r.find((rect) => rect.textContent == "2660").__data__.index;
740
+ test.equal(index_2660, 11, `should be in the expected order`);
741
+ const index_3472 = r.find((rect) => rect.textContent == "3472").__data__.index;
742
+ test.equal(index_3472, r.length - 1, `should be in the expected order`);
743
+ if (test._ok) matrix.Inner.app.destroy();
744
+ test.end();
745
+ }
746
+ });
747
+ (0, import_tape.default)("set max number of samples", function(test) {
748
+ test.timeoutAfter(5e3);
749
+ test.plan(1);
750
+ runpp({
751
+ state: {
752
+ nav: {
753
+ activeTab: 1
754
+ },
755
+ plots: [
756
+ {
757
+ chartType: "matrix",
758
+ settings: {
759
+ matrix: {
760
+ // the matrix autocomputes the colw based on available screen width,
761
+ // need to set an exact screen width for consistent tests using getBBox()
762
+ availContentWidth: 1200,
763
+ maxSample: 10
764
+ }
765
+ },
766
+ termgroups: [
767
+ {
768
+ name: "",
769
+ lst: [
770
+ {
771
+ id: "sex"
772
+ //q: { mode: 'values' } // or 'groupsetting'
773
+ }
774
+ ]
775
+ }
776
+ ]
777
+ }
778
+ ]
779
+ },
780
+ matrix: {
781
+ callbacks: {
782
+ "postRender.test": runTests
783
+ }
784
+ }
785
+ });
786
+ function runTests(matrix) {
787
+ matrix.on("postRender.test", null);
788
+ test.equal(
789
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
790
+ 10,
791
+ `should render the expected number of cell rects`
792
+ );
793
+ if (test._ok) matrix.Inner.app.destroy();
794
+ test.end();
795
+ }
796
+ });
797
+ (0, import_tape.default)("sort sample groups by Group Name", function(test) {
798
+ test.timeoutAfter(5e3);
799
+ test.plan(2);
800
+ runpp({
801
+ state: {
802
+ nav: {
803
+ activeTab: 1
804
+ },
805
+ plots: [
806
+ {
807
+ chartType: "matrix",
808
+ settings: {
809
+ // the matrix autocomputes the colw based on available screen width,
810
+ // need to set an exact screen width for consistent tests using getBBox()
811
+ matrix: {
812
+ availContentWidth: 1200,
813
+ sortSampleGrpsBy: "name"
814
+ }
815
+ },
816
+ divideBy: {
817
+ id: "genetic_race"
818
+ },
819
+ termgroups: [
820
+ {
821
+ name: "",
822
+ lst: getGenes()
823
+ }
824
+ ]
825
+ }
826
+ ]
827
+ },
828
+ matrix: {
829
+ callbacks: {
830
+ "postRender.test": runTests
831
+ }
832
+ }
833
+ });
834
+ function runTests(matrix) {
835
+ matrix.on("postRender.test", null);
836
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
837
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
838
+ )._groups[0];
839
+ test.true(matrixGroupLabels[0].textContent.startsWith("African Ancestry"), `should be the expected group name`);
840
+ test.true(matrixGroupLabels[2].textContent.startsWith("European Ancestry"), `should be the expected group name`);
841
+ if (test._ok) matrix.Inner.app.destroy();
842
+ test.end();
843
+ }
844
+ });
845
+ (0, import_tape.default)("sort sample groups by Sample Count", function(test) {
846
+ test.timeoutAfter(5e3);
847
+ test.plan(2);
848
+ runpp({
849
+ state: {
850
+ nav: {
851
+ activeTab: 1
852
+ },
853
+ plots: [
854
+ {
855
+ chartType: "matrix",
856
+ settings: {
857
+ // the matrix autocomputes the colw based on available screen width,
858
+ // need to set an exact screen width for consistent tests using getBBox()
859
+ matrix: {
860
+ availContentWidth: 1200,
861
+ sortSampleGrpsBy: "sampleCount"
862
+ }
863
+ },
864
+ divideBy: {
865
+ id: "genetic_race"
866
+ },
867
+ termgroups: [
868
+ {
869
+ name: "",
870
+ lst: getGenes()
871
+ }
872
+ ]
873
+ }
874
+ ]
875
+ },
876
+ matrix: {
877
+ callbacks: {
878
+ "postRender.test": runTests
879
+ }
880
+ }
881
+ });
882
+ function runTests(matrix) {
883
+ matrix.on("postRender.test", null);
884
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
885
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
886
+ )._groups[0];
887
+ test.true(matrixGroupLabels[0].textContent.startsWith("European Ancestry"), `should be the expected group name`);
888
+ test.true(matrixGroupLabels[2].textContent.startsWith("Asian Ancestry"), `should be the expected group name`);
889
+ if (test._ok) matrix.Inner.app.destroy();
890
+ test.end();
891
+ }
892
+ });
893
+ (0, import_tape.default)("sort sample groups by Hits", function(test) {
894
+ test.timeoutAfter(5e3);
895
+ test.plan(2);
896
+ runpp({
897
+ state: {
898
+ nav: {
899
+ activeTab: 1
900
+ },
901
+ plots: [
902
+ {
903
+ chartType: "matrix",
904
+ settings: {
905
+ // the matrix autocomputes the colw based on available screen width,
906
+ // need to set an exact screen width for consistent tests using getBBox()
907
+ matrix: {
908
+ availContentWidth: 1200,
909
+ sortSampleGrpsBy: "hits"
910
+ }
911
+ },
912
+ divideBy: {
913
+ id: "Hearing loss"
914
+ },
915
+ termgroups: [
916
+ {
917
+ name: "",
918
+ lst: getGenes()
919
+ }
920
+ ]
921
+ }
922
+ ]
923
+ },
924
+ matrix: {
925
+ callbacks: {
926
+ "postRender.test": runTests
927
+ }
928
+ }
929
+ });
930
+ function runTests(matrix) {
931
+ matrix.on("postRender.test", null);
932
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
933
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
934
+ )._groups[0];
935
+ test.true(matrixGroupLabels[0].textContent.startsWith("3: Severe"), `should be the expected group name`);
936
+ test.true(matrixGroupLabels[4].textContent.startsWith("1: Mild"), `should be the expected group name`);
937
+ if (test._ok) matrix.Inner.app.destroy();
938
+ test.end();
939
+ }
940
+ });
941
+ (0, import_tape.default)("sort sample groups by Hits 2", function(test) {
942
+ test.timeoutAfter(5e3);
943
+ test.plan(2);
944
+ runpp({
945
+ state: {
946
+ plots: [
947
+ {
948
+ id: "xyz",
949
+ chartType: "matrix",
950
+ settings: {
951
+ // the matrix autocomputes the colw based on available screen width,
952
+ // need to set an exact screen width for consistent tests using getBBox()
953
+ matrix: {
954
+ availContentWidth: 1200,
955
+ sortSampleGrpsBy: "hits"
956
+ }
957
+ },
958
+ divideBy: {
959
+ id: "agedx"
960
+ },
961
+ termgroups: [
962
+ {
963
+ name: "",
964
+ lst: getGenes()
965
+ }
966
+ ]
967
+ }
968
+ ]
969
+ },
970
+ matrix: {
971
+ callbacks: {
972
+ postRender: runTests
973
+ }
974
+ }
975
+ });
976
+ function runTests(matrix) {
977
+ matrix.on("postRender", null);
978
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
979
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
980
+ )._groups[0];
981
+ test.true(matrixGroupLabels[0].textContent.startsWith("10 to <15"), `should have the expected left-most group name`);
982
+ test.true(matrixGroupLabels[4].textContent.startsWith("\u226520"), `should have the right-most expected group name`);
983
+ if (test._ok) matrix.Inner.app.destroy();
984
+ test.end();
985
+ }
986
+ });
987
+ (0, import_tape.default)("Display Sample Counts for Gene: Absolute", function(test) {
988
+ test.timeoutAfter(5e3);
989
+ test.plan(2);
990
+ runpp({
991
+ state: {
992
+ plots: [
993
+ {
994
+ chartType: "matrix",
995
+ settings: {
996
+ // the matrix autocomputes the colw based on available screen width,
997
+ // need to set an exact screen width for consistent tests using getBBox()
998
+ matrix: {
999
+ availContentWidth: 1200,
1000
+ samplecount4gene: "abs"
1001
+ }
1002
+ },
1003
+ termgroups: [
1004
+ {
1005
+ name: "",
1006
+ lst: getGenes()
1007
+ }
1008
+ ]
1009
+ }
1010
+ ]
1011
+ },
1012
+ matrix: {
1013
+ callbacks: {
1014
+ "postRender.test": runTests
1015
+ }
1016
+ }
1017
+ });
1018
+ function runTests(matrix) {
1019
+ matrix.on("postRender.test", null);
1020
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1021
+ const pattern = /\(\d+\)/;
1022
+ test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by absolute number`);
1023
+ test.true(
1024
+ pattern.test(termLabels[termLabels.length - 1].textContent),
1025
+ `should display sample counts for gene by absolute number`
1026
+ );
1027
+ if (test._ok) matrix.Inner.app.destroy();
1028
+ test.end();
1029
+ }
1030
+ });
1031
+ (0, import_tape.default)("Display Sample Counts for Gene: Percent", function(test) {
1032
+ test.timeoutAfter(5e3);
1033
+ test.plan(2);
1034
+ runpp({
1035
+ state: {
1036
+ plots: [
1037
+ {
1038
+ chartType: "matrix",
1039
+ settings: {
1040
+ // the matrix autocomputes the colw based on available screen width,
1041
+ // need to set an exact screen width for consistent tests using getBBox()
1042
+ matrix: {
1043
+ availContentWidth: 1200,
1044
+ samplecount4gene: "pct"
1045
+ }
1046
+ },
1047
+ termgroups: [
1048
+ {
1049
+ name: "",
1050
+ lst: getGenes()
1051
+ }
1052
+ ]
1053
+ }
1054
+ ]
1055
+ },
1056
+ matrix: {
1057
+ callbacks: {
1058
+ "postRender.test": runTests
1059
+ }
1060
+ }
1061
+ });
1062
+ function runTests(matrix) {
1063
+ matrix.on("postRender.test", null);
1064
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1065
+ const pattern = /\(\d+(\.\d+)? ?%\)/;
1066
+ test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by percentage`);
1067
+ test.true(
1068
+ pattern.test(termLabels[termLabels.length - 1].textContent),
1069
+ `should display sample counts for gene by percentage`
1070
+ );
1071
+ if (test._ok) matrix.Inner.app.destroy();
1072
+ test.end();
1073
+ }
1074
+ });
1075
+ (0, import_tape.default)("Display Sample Counts for Gene: None", function(test) {
1076
+ test.timeoutAfter(5e3);
1077
+ test.plan(2);
1078
+ runpp({
1079
+ state: {
1080
+ plots: [
1081
+ {
1082
+ chartType: "matrix",
1083
+ settings: {
1084
+ // the matrix autocomputes the colw based on available screen width,
1085
+ // need to set an exact screen width for consistent tests using getBBox()
1086
+ matrix: {
1087
+ availContentWidth: 1200,
1088
+ samplecount4gene: ""
1089
+ }
1090
+ },
1091
+ termgroups: [
1092
+ {
1093
+ name: "",
1094
+ lst: getGenes()
1095
+ }
1096
+ ]
1097
+ }
1098
+ ]
1099
+ },
1100
+ matrix: {
1101
+ callbacks: {
1102
+ "postRender.test": runTests
1103
+ }
1104
+ }
1105
+ });
1106
+ function runTests(matrix) {
1107
+ matrix.on("postRender.test", null);
1108
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1109
+ const pattern = /\(\d+(\.\d+)?%\)|\(\d+\)/g;
1110
+ test.true(!pattern.test(termLabels[0].textContent), `should not display sample counts for gene`);
1111
+ test.true(!pattern.test(termLabels[termLabels.length - 1].textContent), `should not display sample counts for gene`);
1112
+ if (test._ok) matrix.Inner.app.destroy();
1113
+ test.end();
1114
+ }
1115
+ });
1116
+ (0, import_tape.default)("Sort Genes By Sample Count", function(test) {
1117
+ test.timeoutAfter(5e3);
1118
+ test.plan(2);
1119
+ runpp({
1120
+ state: {
1121
+ plots: [
1122
+ {
1123
+ chartType: "matrix",
1124
+ settings: {
1125
+ // the matrix autocomputes the colw based on available screen width,
1126
+ // need to set an exact screen width for consistent tests using getBBox()
1127
+ matrix: {
1128
+ availContentWidth: 1200,
1129
+ sortTermsBy: "sampleCount"
1130
+ }
1131
+ },
1132
+ termgroups: [
1133
+ {
1134
+ name: "",
1135
+ lst: getGenes()
1136
+ }
1137
+ ]
1138
+ }
1139
+ ]
1140
+ },
1141
+ matrix: {
1142
+ callbacks: {
1143
+ "postRender.test": runTests
1144
+ }
1145
+ }
1146
+ });
1147
+ function runTests(matrix) {
1148
+ matrix.on("postRender.test", null);
1149
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1150
+ test.true(termLabels[0].textContent.startsWith("AKT1"), `should sort genes by sample count`);
1151
+ test.true(termLabels[2].textContent.startsWith("KRAS"), `should sort genes by sample count`);
1152
+ if (test._ok) matrix.Inner.app.destroy();
1153
+ test.end();
1154
+ }
1155
+ });
1156
+ (0, import_tape.default)("Sort Genes By Input Data Order", function(test) {
1157
+ test.timeoutAfter(5e3);
1158
+ test.plan(2);
1159
+ runpp({
1160
+ state: {
1161
+ plots: [
1162
+ {
1163
+ chartType: "matrix",
1164
+ settings: {
1165
+ // the matrix autocomputes the colw based on available screen width,
1166
+ // need to set an exact screen width for consistent tests using getBBox()
1167
+ matrix: {
1168
+ availContentWidth: 1200,
1169
+ sortTermsBy: "asListed"
1170
+ }
1171
+ },
1172
+ termgroups: [
1173
+ {
1174
+ name: "",
1175
+ lst: getGenes()
1176
+ }
1177
+ ]
1178
+ }
1179
+ ]
1180
+ },
1181
+ matrix: {
1182
+ callbacks: {
1183
+ "postRender.test": runTests
1184
+ }
1185
+ }
1186
+ });
1187
+ function runTests(matrix) {
1188
+ matrix.on("postRender.test", null);
1189
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1190
+ test.true(termLabels[0].textContent.startsWith("TP53"), `should sort genes by input data order`);
1191
+ test.true(termLabels[2].textContent.startsWith("AKT1"), `should sort genes by input data order`);
1192
+ if (test._ok) matrix.Inner.app.destroy();
1193
+ test.end();
1194
+ }
1195
+ });
1196
+ (0, import_tape.default)("avoid race condition - plot edit", function(test) {
1197
+ test.timeoutAfter(1500);
1198
+ test.plan(4);
1199
+ runpp({
1200
+ state: {
1201
+ plots: [
1202
+ {
1203
+ chartType: "matrix",
1204
+ settings: {
1205
+ // the matrix autocomputes the colw based on available screen width,
1206
+ // need to set an exact screen width for consistent tests using getBBox()
1207
+ matrix: {
1208
+ availContentWidth: 1200,
1209
+ sortTermsBy: "asListed"
1210
+ }
1211
+ },
1212
+ termgroups: [
1213
+ {
1214
+ name: "",
1215
+ lst: getGenes()
1216
+ }
1217
+ ]
1218
+ }
1219
+ ]
1220
+ },
1221
+ matrix: {
1222
+ callbacks: {
1223
+ "postRender.test": runTests
1224
+ }
1225
+ }
1226
+ });
1227
+ async function runTests(matrix) {
1228
+ matrix.on("postRender.test", null);
1229
+ matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1230
+ matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1231
+ const j = i;
1232
+ i = 0;
1233
+ const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1234
+ await sleep(j);
1235
+ return data;
1236
+ };
1237
+ matrix.on("postRender.test", async () => {
1238
+ matrix.on("postRender.test", null);
1239
+ await sleep(responseDelay + 300);
1240
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1241
+ test.equal(termLabels.size(), 1, `should have 1 gene row`);
1242
+ test.true(termLabels._groups?.[0][0].textContent.startsWith("BCR"), `should sort genes by input data order`);
1243
+ const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1244
+ const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1245
+ test.equal(
1246
+ rects.size(),
1247
+ 240,
1248
+ "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1249
+ );
1250
+ test.equal(hits.size(), 2, "should have the expected number of matrix cell rects with hits");
1251
+ if (test._ok) matrix.Inner.app.destroy();
1252
+ test.end();
1253
+ });
1254
+ const responseDelay = 10;
1255
+ let i = responseDelay;
1256
+ try {
1257
+ const results = await Promise.all([
1258
+ matrix.Inner.app.dispatch({
1259
+ type: "plot_edit",
1260
+ id: matrix.id,
1261
+ config: {
1262
+ termgroups: [
1263
+ {
1264
+ name: "",
1265
+ lst: [
1266
+ // $id is added manually since fillTermWrapper() is not called here and
1267
+ // cannot be assumed to be called within store.plot_edit()
1268
+ {
1269
+ $id: 0,
1270
+ term: {
1271
+ gene: "KRAS",
1272
+ name: "KRAS",
1273
+ type: "geneVariant",
1274
+ isleaf: true,
1275
+ groupsetting: { disabled: false }
1276
+ },
1277
+ q: { type: "values" }
1278
+ },
1279
+ {
1280
+ $id: 1,
1281
+ term: {
1282
+ gene: "AKT1",
1283
+ name: "AKT1",
1284
+ type: "geneVariant",
1285
+ isleaf: true,
1286
+ groupsetting: { disabled: false }
1287
+ },
1288
+ q: { type: "values" }
1289
+ }
1290
+ ]
1291
+ }
1292
+ ]
1293
+ }
1294
+ }),
1295
+ (async () => {
1296
+ await sleep(1);
1297
+ matrix.Inner.app.dispatch({
1298
+ type: "plot_edit",
1299
+ id: matrix.id,
1300
+ config: {
1301
+ termgroups: [
1302
+ {
1303
+ name: "",
1304
+ // $id is added manually since fillTermWrapper() is not called here and
1305
+ // cannot be assumed to be called within store.plot_edit()
1306
+ lst: [
1307
+ {
1308
+ $id: 3,
1309
+ term: {
1310
+ name: "BCR",
1311
+ genes: [
1312
+ {
1313
+ kind: "gene",
1314
+ id: "BCR",
1315
+ gene: "BCR",
1316
+ name: "BCR",
1317
+ type: "geneVariant"
1318
+ }
1319
+ ],
1320
+ type: "geneVariant",
1321
+ isleaf: true,
1322
+ groupsetting: { disabled: false }
1323
+ },
1324
+ q: { type: "values" }
1325
+ }
1326
+ ]
1327
+ }
1328
+ ]
1329
+ }
1330
+ });
1331
+ })()
1332
+ ]);
1333
+ } catch (e) {
1334
+ test.fail("error: " + e);
1335
+ throw e;
1336
+ }
1337
+ }
1338
+ });
1339
+ (0, import_tape.default)("avoid race condition - cohort change", function(test) {
1340
+ test.timeoutAfter(3e3);
1341
+ test.plan(4);
1342
+ runpp({
1343
+ state: {
1344
+ plots: [
1345
+ {
1346
+ chartType: "matrix",
1347
+ settings: {
1348
+ // the matrix autocomputes the colw based on available screen width,
1349
+ // need to set an exact screen width for consistent tests using getBBox()
1350
+ matrix: {
1351
+ availContentWidth: 1200,
1352
+ sortTermsBy: "asListed"
1353
+ }
1354
+ },
1355
+ termgroups: [
1356
+ {
1357
+ name: "",
1358
+ lst: getGenes()
1359
+ }
1360
+ ]
1361
+ }
1362
+ ]
1363
+ },
1364
+ matrix: {
1365
+ callbacks: {
1366
+ "postRender.test": runTests
1367
+ }
1368
+ }
1369
+ });
1370
+ async function runTests(matrix) {
1371
+ matrix.on("postRender.test", null);
1372
+ matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1373
+ matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1374
+ const vkeys = opts.filter.lst?.[0].tvs.values.map((v) => v.key);
1375
+ const j = responseDelays[i];
1376
+ i++;
1377
+ await sleep(j);
1378
+ const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1379
+ return data;
1380
+ };
1381
+ matrix.on("postRender.test", async () => {
1382
+ matrix.on("postRender.test", null);
1383
+ await sleep(responseDelays.reduce((sum, v) => sum + v, 0) + 300);
1384
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1385
+ test.equal(termLabels.size(), 3, `should have 3 gene rows`);
1386
+ const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1387
+ test.equal(
1388
+ rects.size(),
1389
+ 1200,
1390
+ "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1391
+ );
1392
+ const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1393
+ test.equal(hits.size(), 0, "should have the expected number of matrix cell rects with hits");
1394
+ test.deepEqual(
1395
+ matrix.Inner.app.getState().termfilter.filter.lst?.[0].tvs,
1396
+ matrix.Inner.state.filter.lst?.[0].tvs,
1397
+ `app.state and matrix.state should have the same cohort filter value`
1398
+ );
1399
+ if (test._ok) matrix.Inner.app.destroy();
1400
+ test.end();
1401
+ });
1402
+ const responseDelays = [800, 500, 10];
1403
+ let i = 0;
1404
+ try {
1405
+ const results = await Promise.all([
1406
+ (async () => {
1407
+ await sleep(100);
1408
+ matrix.Inner.app.dispatch({
1409
+ type: "cohort_set",
1410
+ activeCohort: 1
1411
+ });
1412
+ })(),
1413
+ (async () => {
1414
+ await sleep(200);
1415
+ matrix.Inner.app.dispatch({
1416
+ type: "cohort_set",
1417
+ activeCohort: 0
1418
+ });
1419
+ })(),
1420
+ (async () => {
1421
+ await sleep(300);
1422
+ matrix.Inner.app.dispatch({
1423
+ type: "cohort_set",
1424
+ activeCohort: 2
1425
+ });
1426
+ })()
1427
+ ]);
1428
+ } catch (e) {
1429
+ test.fail("error: " + e);
1430
+ throw e;
1431
+ }
1432
+ }
1433
+ });
1434
+ (0, import_tape.default)('apply "hide" legend filters to a dictionary term', function(test) {
1435
+ test.timeoutAfter(5e3);
1436
+ test.plan(10);
1437
+ runpp({
1438
+ state: {
1439
+ plots: [
1440
+ {
1441
+ chartType: "matrix",
1442
+ settings: {
1443
+ matrix: {
1444
+ // the matrix autocomputes the colw based on available screen width,
1445
+ // need to set an exact screen width for consistent tests using getBBox()
1446
+ availContentWidth: 1200
1447
+ }
1448
+ },
1449
+ termgroups: [
1450
+ {
1451
+ name: "Demographics",
1452
+ lst: [
1453
+ {
1454
+ id: "aaclassic_5",
1455
+ q: {
1456
+ mode: "continuous"
1457
+ }
1458
+ },
1459
+ {
1460
+ id: "genetic_race"
1461
+ //q: { mode: 'values' } // or 'groupsetting'
1462
+ },
1463
+ {
1464
+ id: "agedx",
1465
+ q: {
1466
+ mode: "discrete",
1467
+ type: "regular-bin",
1468
+ bin_size: 5,
1469
+ first_bin: {
1470
+ startunbounded: true,
1471
+ stop: 5,
1472
+ stopinclusive: true
1473
+ }
1474
+ }
1475
+ // or 'continuous'
1476
+ }
1477
+ ]
1478
+ }
1479
+ ]
1480
+ }
1481
+ ]
1482
+ },
1483
+ matrix: {
1484
+ callbacks: {
1485
+ "postRender.test": runTests
1486
+ }
1487
+ }
1488
+ });
1489
+ async function runTests(matrix) {
1490
+ matrix.on("postRender.test", null);
1491
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1492
+ (d) => d?.__data__?.text?.startsWith("Asian")
1493
+ );
1494
+ legendTexts.dispatchEvent(
1495
+ new MouseEvent("mouseup", {
1496
+ bubbles: true,
1497
+ cancelable: true
1498
+ })
1499
+ );
1500
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1501
+ test.equal(options[0].innerText, "Hide", `First option should be Hide`);
1502
+ test.equal(options[1].innerText, "Show only", `second option should be Show only`);
1503
+ test.equal(options[2].innerText, "Show all", `third option should be Show all`);
1504
+ const rects = await detectLst({
1505
+ elem: matrix.Inner.dom.seriesesG.node(),
1506
+ selector: ".sjpp-mass-series-g rect",
1507
+ count: 177,
1508
+ trigger: () => {
1509
+ options[0].dispatchEvent(
1510
+ new MouseEvent("click", {
1511
+ bubbles: true,
1512
+ cancelable: true
1513
+ })
1514
+ );
1515
+ }
1516
+ });
1517
+ test.equal(
1518
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1519
+ 3,
1520
+ `should render the expected number of serieses`
1521
+ );
1522
+ test.equal(
1523
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1524
+ 1,
1525
+ `should render the expected number of cluster rects`
1526
+ );
1527
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1528
+ (d) => d?.__data__?.text?.startsWith("Asian")
1529
+ );
1530
+ legendTexts2.dispatchEvent(
1531
+ new MouseEvent("mouseup", {
1532
+ bubbles: true,
1533
+ cancelable: true
1534
+ })
1535
+ );
1536
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1537
+ test.equal(options2[0].innerText, "Show", `First option should be Show`);
1538
+ test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
1539
+ test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
1540
+ const rects2 = await detectLst({
1541
+ elem: matrix.Inner.dom.seriesesG.node(),
1542
+ selector: ".sjpp-mass-series-g rect",
1543
+ count: 180,
1544
+ trigger: () => {
1545
+ options2[0].dispatchEvent(
1546
+ new MouseEvent("click", {
1547
+ bubbles: true,
1548
+ cancelable: true
1549
+ })
1550
+ );
1551
+ }
1552
+ });
1553
+ test.equal(
1554
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1555
+ 3,
1556
+ `should render the expected number of serieses`
1557
+ );
1558
+ test.equal(
1559
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1560
+ 1,
1561
+ `should render the expected number of cluster rects`
1562
+ );
1563
+ if (test._ok) matrix.Inner.app.destroy();
1564
+ test.end();
1565
+ }
1566
+ });
1567
+ (0, import_tape.default)('apply "show only" and "show all" legend filters to dictionary terms', function(test) {
1568
+ test.timeoutAfter(5e3);
1569
+ test.plan(14);
1570
+ runpp({
1571
+ state: {
1572
+ plots: [
1573
+ {
1574
+ chartType: "matrix",
1575
+ settings: {
1576
+ matrix: {
1577
+ // the matrix autocomputes the colw based on available screen width,
1578
+ // need to set an exact screen width for consistent tests using getBBox()
1579
+ availContentWidth: 1200
1580
+ }
1581
+ },
1582
+ termgroups: [
1583
+ {
1584
+ name: "Demographics",
1585
+ lst: [
1586
+ {
1587
+ id: "aaclassic_5",
1588
+ q: {
1589
+ mode: "continuous"
1590
+ }
1591
+ },
1592
+ {
1593
+ id: "sex"
1594
+ //q: { mode: 'values' } // or 'groupsetting'
1595
+ },
1596
+ {
1597
+ id: "agedx",
1598
+ q: {
1599
+ mode: "discrete",
1600
+ type: "regular-bin",
1601
+ bin_size: 5,
1602
+ first_bin: {
1603
+ startunbounded: true,
1604
+ stop: 5,
1605
+ stopinclusive: true
1606
+ }
1607
+ }
1608
+ // or 'continuous'
1609
+ }
1610
+ ]
1611
+ }
1612
+ ]
1613
+ }
1614
+ ]
1615
+ },
1616
+ matrix: {
1617
+ callbacks: {
1618
+ "postRender.test": runTests
1619
+ }
1620
+ }
1621
+ });
1622
+ async function runTests(matrix) {
1623
+ matrix.on("postRender.test", null);
1624
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1625
+ (d) => d?.__data__?.text?.startsWith("Male")
1626
+ );
1627
+ legendTexts.dispatchEvent(
1628
+ new MouseEvent("mouseup", {
1629
+ bubbles: true,
1630
+ cancelable: true
1631
+ })
1632
+ );
1633
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1634
+ const rects = await detectLst({
1635
+ elem: matrix.Inner.dom.seriesesG.node(),
1636
+ selector: ".sjpp-mass-series-g rect",
1637
+ count: 75,
1638
+ trigger: () => {
1639
+ options[1].dispatchEvent(
1640
+ new MouseEvent("click", {
1641
+ bubbles: true,
1642
+ cancelable: true
1643
+ })
1644
+ );
1645
+ }
1646
+ });
1647
+ test.equal(
1648
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1649
+ 3,
1650
+ `should render the expected number of serieses`
1651
+ );
1652
+ test.equal(
1653
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1654
+ 1,
1655
+ `should render the expected number of cluster rects`
1656
+ );
1657
+ const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1658
+ (d) => d?.__data__?.text?.startsWith("<5")
1659
+ );
1660
+ secondLegendTexts.dispatchEvent(
1661
+ new MouseEvent("mouseup", {
1662
+ bubbles: true,
1663
+ cancelable: true
1664
+ })
1665
+ );
1666
+ const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1667
+ test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
1668
+ test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
1669
+ test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
1670
+ const secondRects = await detectLst({
1671
+ elem: matrix.Inner.dom.seriesesG.node(),
1672
+ selector: ".sjpp-mass-series-g rect",
1673
+ count: 30,
1674
+ trigger: () => {
1675
+ secondOptions[1].dispatchEvent(
1676
+ new MouseEvent("click", {
1677
+ bubbles: true,
1678
+ cancelable: true
1679
+ })
1680
+ );
1681
+ }
1682
+ });
1683
+ test.equal(
1684
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1685
+ 3,
1686
+ `should render the expected number of serieses`
1687
+ );
1688
+ test.equal(
1689
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1690
+ 1,
1691
+ `should render the expected number of cluster rects`
1692
+ );
1693
+ const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1694
+ (d) => d?.__data__?.text?.startsWith("<5")
1695
+ );
1696
+ thirdLegendTexts.dispatchEvent(
1697
+ new MouseEvent("mouseup", {
1698
+ bubbles: true,
1699
+ cancelable: true
1700
+ })
1701
+ );
1702
+ const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1703
+ test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
1704
+ test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
1705
+ const thirdRects = await detectLst({
1706
+ elem: matrix.Inner.dom.seriesesG.node(),
1707
+ selector: ".sjpp-mass-series-g rect",
1708
+ count: 0,
1709
+ trigger: () => {
1710
+ thirdOptions[0].dispatchEvent(
1711
+ new MouseEvent("click", {
1712
+ bubbles: true,
1713
+ cancelable: true
1714
+ })
1715
+ );
1716
+ }
1717
+ });
1718
+ test.equal(
1719
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1720
+ 0,
1721
+ `should render the expected number of serieses`
1722
+ );
1723
+ const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1724
+ (d) => d?.__data__?.text?.startsWith("<5")
1725
+ );
1726
+ fourthLegendTexts.dispatchEvent(
1727
+ new MouseEvent("mouseup", {
1728
+ bubbles: true,
1729
+ cancelable: true
1730
+ })
1731
+ );
1732
+ const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1733
+ test.equal(fourthOptions[0].innerText, "Show", `first option should be Show`);
1734
+ test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
1735
+ const fourthRects = await detectLst({
1736
+ elem: matrix.Inner.dom.seriesesG.node(),
1737
+ selector: ".sjpp-mass-series-g rect",
1738
+ count: 75,
1739
+ trigger: () => {
1740
+ fourthOptions[2].dispatchEvent(
1741
+ new MouseEvent("click", {
1742
+ bubbles: true,
1743
+ cancelable: true
1744
+ })
1745
+ );
1746
+ }
1747
+ });
1748
+ test.equal(
1749
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1750
+ 3,
1751
+ `should render the expected number of serieses`
1752
+ );
1753
+ test.equal(
1754
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1755
+ 1,
1756
+ `should render the expected number of cluster rects`
1757
+ );
1758
+ if (test._ok) matrix.Inner.app.destroy();
1759
+ test.end();
1760
+ }
1761
+ });
1762
+ (0, import_tape.default)(
1763
+ 'apply "Hide samples with" and "Do not show" legend filters to a geneVariant term in geneVariant term only matrix',
1764
+ function(test) {
1765
+ test.timeoutAfter(5e3);
1766
+ test.plan(12);
1767
+ runpp({
1768
+ state: {
1769
+ plots: [
1770
+ {
1771
+ chartType: "matrix",
1772
+ settings: {
1773
+ // the matrix autocomputes the colw based on available screen width,
1774
+ // need to set an exact screen width for consistent tests using getBBox()
1775
+ matrix: {
1776
+ availContentWidth: 1200
1777
+ }
1778
+ },
1779
+ termgroups: [
1780
+ {
1781
+ name: "",
1782
+ lst: [getGenes()[0]]
1783
+ }
1784
+ ]
1785
+ }
1786
+ ]
1787
+ },
1788
+ matrix: {
1789
+ callbacks: {
1790
+ "postRender.test": runTests
1791
+ }
1792
+ }
1793
+ });
1794
+ async function runTests(matrix) {
1795
+ matrix.on("postRender.test", null);
1796
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1797
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1798
+ );
1799
+ legendTexts.dispatchEvent(
1800
+ new MouseEvent("mouseup", {
1801
+ bubbles: true,
1802
+ cancelable: true
1803
+ })
1804
+ );
1805
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1806
+ test.equal(
1807
+ options[0].innerText,
1808
+ "Hide samples with FRAMESHIFT",
1809
+ `First option should be "Hide samples with FRAMESHIFT"`
1810
+ );
1811
+ test.equal(options[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
1812
+ test.equal(options.length, 2, `Should only show two options`);
1813
+ const rects = await detectLst({
1814
+ elem: matrix.Inner.dom.seriesesG.node(),
1815
+ selector: ".sjpp-mass-series-g rect",
1816
+ count: 236,
1817
+ trigger: () => {
1818
+ options[0].dispatchEvent(
1819
+ new MouseEvent("click", {
1820
+ bubbles: true,
1821
+ cancelable: true
1822
+ })
1823
+ );
1824
+ }
1825
+ });
1826
+ test.equal(
1827
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1828
+ 1,
1829
+ `should render the expected number of serieses`
1830
+ );
1831
+ test.equal(
1832
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1833
+ 1,
1834
+ `should render the expected number of cluster rects`
1835
+ );
1836
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1837
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1838
+ );
1839
+ legendTexts2.dispatchEvent(
1840
+ new MouseEvent("mouseup", {
1841
+ bubbles: true,
1842
+ cancelable: true
1843
+ })
1844
+ );
1845
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1846
+ test.equal(
1847
+ options2[0].innerText,
1848
+ "Show samples with FRAMESHIFT",
1849
+ `First option should be "Show samples with FRAMESHIFT"`
1850
+ );
1851
+ test.equal(options2.length, 1, `Should only show one option`);
1852
+ const rects2 = await detectLst({
1853
+ elem: matrix.Inner.dom.seriesesG.node(),
1854
+ selector: ".sjpp-mass-series-g rect",
1855
+ count: 240,
1856
+ trigger: () => {
1857
+ options2[0].dispatchEvent(
1858
+ new MouseEvent("click", {
1859
+ bubbles: true,
1860
+ cancelable: true
1861
+ })
1862
+ );
1863
+ }
1864
+ });
1865
+ test.equal(
1866
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1867
+ 1,
1868
+ `should render the expected number of serieses`
1869
+ );
1870
+ test.equal(
1871
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1872
+ 1,
1873
+ `should render the expected number of cluster rects`
1874
+ );
1875
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1876
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1877
+ );
1878
+ legendTexts3.dispatchEvent(
1879
+ new MouseEvent("mouseup", {
1880
+ bubbles: true,
1881
+ cancelable: true
1882
+ })
1883
+ );
1884
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1885
+ test.equal(options3.length, 2, `Should only show two options`);
1886
+ const rects3 = await detectLst({
1887
+ elem: matrix.Inner.dom.seriesesG.node(),
1888
+ selector: ".sjpp-mass-series-g rect",
1889
+ count: 239,
1890
+ trigger: () => {
1891
+ options3[1].dispatchEvent(
1892
+ new MouseEvent("click", {
1893
+ bubbles: true,
1894
+ cancelable: true
1895
+ })
1896
+ );
1897
+ }
1898
+ });
1899
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1900
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1901
+ );
1902
+ legendTexts4.dispatchEvent(
1903
+ new MouseEvent("mouseup", {
1904
+ bubbles: true,
1905
+ cancelable: true
1906
+ })
1907
+ );
1908
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1909
+ test.equal(
1910
+ options4[0].innerText,
1911
+ "Show samples with FRAMESHIFT",
1912
+ `First option should be "Show samples with FRAMESHIFT"`
1913
+ );
1914
+ test.equal(options4.length, 1, `Should only show one option`);
1915
+ const rects4 = await detectLst({
1916
+ elem: matrix.Inner.dom.seriesesG.node(),
1917
+ selector: ".sjpp-mass-series-g rect",
1918
+ count: 240,
1919
+ trigger: () => {
1920
+ options4[0].dispatchEvent(
1921
+ new MouseEvent("click", {
1922
+ bubbles: true,
1923
+ cancelable: true
1924
+ })
1925
+ );
1926
+ }
1927
+ });
1928
+ if (test._ok) matrix.Inner.app.destroy();
1929
+ test.end();
1930
+ }
1931
+ }
1932
+ );
1933
+ (0, import_tape.default)("apply legend group filters to a geneVariant term in geneVariant term only matrix", function(test) {
1934
+ test.timeoutAfter(5e3);
1935
+ test.plan(15);
1936
+ runpp({
1937
+ state: {
1938
+ plots: [
1939
+ {
1940
+ chartType: "matrix",
1941
+ settings: {
1942
+ // the matrix autocomputes the colw based on available screen width,
1943
+ // need to set an exact screen width for consistent tests using getBBox()
1944
+ matrix: {
1945
+ availContentWidth: 1200
1946
+ }
1947
+ },
1948
+ termgroups: [
1949
+ {
1950
+ name: "",
1951
+ lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
1952
+ }
1953
+ ]
1954
+ }
1955
+ ]
1956
+ },
1957
+ matrix: {
1958
+ callbacks: {
1959
+ "postRender.test": runTests
1960
+ }
1961
+ }
1962
+ });
1963
+ async function runTests(matrix) {
1964
+ matrix.on("postRender.test", null);
1965
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1966
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
1967
+ );
1968
+ legendTexts.dispatchEvent(
1969
+ new MouseEvent("mouseup", {
1970
+ bubbles: true,
1971
+ cancelable: true
1972
+ })
1973
+ );
1974
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1975
+ test.equal(
1976
+ options[0].innerText,
1977
+ "Show only truncating mutations",
1978
+ `First option should be "Show only truncating mutations"`
1979
+ );
1980
+ test.equal(
1981
+ options[1].innerText,
1982
+ "Show only protein-changing mutations",
1983
+ `second option should be "Show only protein-changing mutations"`
1984
+ );
1985
+ test.equal(
1986
+ options[2].innerText,
1987
+ "Do not show Somatic Mutations",
1988
+ `third option should be "Do not show Somatic Mutations"`
1989
+ );
1990
+ test.equal(options.length, 3, `Should show three options`);
1991
+ const rects = await detectLst({
1992
+ elem: matrix.Inner.dom.seriesesG.node(),
1993
+ selector: ".sjpp-mass-series-g rect",
1994
+ count: 181,
1995
+ trigger: () => {
1996
+ options[0].dispatchEvent(
1997
+ new MouseEvent("click", {
1998
+ bubbles: true,
1999
+ cancelable: true
2000
+ })
2001
+ );
2002
+ }
2003
+ });
2004
+ test.equal(
2005
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2006
+ 1,
2007
+ `should render the expected number of serieses`
2008
+ );
2009
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2010
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2011
+ );
2012
+ legendTexts2.dispatchEvent(
2013
+ new MouseEvent("mouseup", {
2014
+ bubbles: true,
2015
+ cancelable: true
2016
+ })
2017
+ );
2018
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2019
+ test.equal(
2020
+ options2[2].innerText,
2021
+ "Do not show Somatic Mutations",
2022
+ `third option should be "Do not show Somatic Mutations"`
2023
+ );
2024
+ test.equal(
2025
+ options2[3].innerText,
2026
+ "Show all Somatic Mutations",
2027
+ `fourth option should be "Show all Somatic Mutations"`
2028
+ );
2029
+ test.equal(options2.length, 4, `Should show four options`);
2030
+ const rects2 = await detectLst({
2031
+ elem: matrix.Inner.dom.seriesesG.node(),
2032
+ selector: ".sjpp-mass-series-g rect",
2033
+ count: 183,
2034
+ trigger: () => {
2035
+ options2[1].dispatchEvent(
2036
+ new MouseEvent("click", {
2037
+ bubbles: true,
2038
+ cancelable: true
2039
+ })
2040
+ );
2041
+ }
2042
+ });
2043
+ test.equal(
2044
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2045
+ 1,
2046
+ `should render the expected number of serieses`
2047
+ );
2048
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2049
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2050
+ );
2051
+ legendTexts3.dispatchEvent(
2052
+ new MouseEvent("mouseup", {
2053
+ bubbles: true,
2054
+ cancelable: true
2055
+ })
2056
+ );
2057
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2058
+ test.equal(
2059
+ options3[2].innerText,
2060
+ "Do not show Somatic Mutations",
2061
+ `third option should be "Do not show Somatic Mutations"`
2062
+ );
2063
+ test.equal(options3.length, 4, `Should show four options`);
2064
+ const rects3 = await detectLst({
2065
+ elem: matrix.Inner.dom.seriesesG.node(),
2066
+ selector: ".sjpp-mass-series-g rect",
2067
+ count: 180,
2068
+ trigger: () => {
2069
+ options3[2].dispatchEvent(
2070
+ new MouseEvent("click", {
2071
+ bubbles: true,
2072
+ cancelable: true
2073
+ })
2074
+ );
2075
+ }
2076
+ });
2077
+ test.equal(
2078
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2079
+ 1,
2080
+ `should render the expected number of serieses`
2081
+ );
2082
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2083
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2084
+ );
2085
+ legendTexts4.dispatchEvent(
2086
+ new MouseEvent("mouseup", {
2087
+ bubbles: true,
2088
+ cancelable: true
2089
+ })
2090
+ );
2091
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2092
+ test.equal(
2093
+ options4[0].innerText,
2094
+ "Show all Somatic Mutations",
2095
+ `first option should be "Show all Somatic Mutations"`
2096
+ );
2097
+ test.equal(options4.length, 1, `Should show one option`);
2098
+ const rects4 = await detectLst({
2099
+ elem: matrix.Inner.dom.seriesesG.node(),
2100
+ selector: ".sjpp-mass-series-g rect",
2101
+ count: 240,
2102
+ trigger: () => {
2103
+ options4[0].dispatchEvent(
2104
+ new MouseEvent("click", {
2105
+ bubbles: true,
2106
+ cancelable: true
2107
+ })
2108
+ );
2109
+ }
2110
+ });
2111
+ test.equal(
2112
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2113
+ 1,
2114
+ `should render the expected number of serieses`
2115
+ );
2116
+ if (test._ok) matrix.Inner.app.destroy();
2117
+ test.end();
2118
+ }
2119
+ });
2120
+ (0, import_tape.default)(
2121
+ "apply legend group filters and legend filters to a matrix with both geneVariant and dictionary terms",
2122
+ function(test) {
2123
+ test.timeoutAfter(5e3);
2124
+ test.plan(13);
2125
+ runpp({
2126
+ state: {
2127
+ plots: [
2128
+ {
2129
+ chartType: "matrix",
2130
+ settings: {
2131
+ // the matrix autocomputes the colw based on available screen width,
2132
+ // need to set an exact screen width for consistent tests using getBBox()
2133
+ matrix: {
2134
+ availContentWidth: 1200
2135
+ }
2136
+ },
2137
+ termgroups: [
2138
+ {
2139
+ name: "",
2140
+ lst: [
2141
+ ...getGenes(),
2142
+ { id: "agedx", term: termjson["agedx"] },
2143
+ { id: "diaggrp", term: termjson["diaggrp"] },
2144
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2145
+ ]
2146
+ }
2147
+ ]
2148
+ }
2149
+ ]
2150
+ },
2151
+ matrix: {
2152
+ callbacks: {
2153
+ "postRender.test": runTests
2154
+ }
2155
+ }
2156
+ });
2157
+ async function runTests(matrix) {
2158
+ matrix.on("postRender.test", null);
2159
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2160
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2161
+ );
2162
+ legendTexts.dispatchEvent(
2163
+ new MouseEvent("mouseup", {
2164
+ bubbles: true,
2165
+ cancelable: true
2166
+ })
2167
+ );
2168
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2169
+ test.equal(
2170
+ options[0].innerText,
2171
+ "Show only truncating mutations",
2172
+ `First option should be "Show only truncating mutations"`
2173
+ );
2174
+ test.equal(options.length, 3, `Should show three options`);
2175
+ const rects = await detectLst({
2176
+ elem: matrix.Inner.dom.seriesesG.node(),
2177
+ selector: ".sjpp-mass-series-g rect",
2178
+ count: 721,
2179
+ trigger: () => {
2180
+ options[0].dispatchEvent(
2181
+ new MouseEvent("click", {
2182
+ bubbles: true,
2183
+ cancelable: true
2184
+ })
2185
+ );
2186
+ }
2187
+ });
2188
+ test.equal(
2189
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2190
+ 6,
2191
+ `should render the expected number of serieses`
2192
+ );
2193
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2194
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2195
+ );
2196
+ legendTexts2.dispatchEvent(
2197
+ new MouseEvent("mouseup", {
2198
+ bubbles: true,
2199
+ cancelable: true
2200
+ })
2201
+ );
2202
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2203
+ test.equal(
2204
+ options2[1].innerText,
2205
+ "Show only protein-changing mutations",
2206
+ `second option should be "Show only protein-changing mutations"`
2207
+ );
2208
+ test.equal(
2209
+ options2[3].innerText,
2210
+ "Show all Somatic Mutations",
2211
+ `fourth option should be "Show all Somatic Mutations"`
2212
+ );
2213
+ test.equal(options2.length, 4, `Should show four options`);
2214
+ const rects2 = await detectLst({
2215
+ elem: matrix.Inner.dom.seriesesG.node(),
2216
+ selector: ".sjpp-mass-series-g rect",
2217
+ count: 724,
2218
+ trigger: () => {
2219
+ options2[1].dispatchEvent(
2220
+ new MouseEvent("click", {
2221
+ bubbles: true,
2222
+ cancelable: true
2223
+ })
2224
+ );
2225
+ }
2226
+ });
2227
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2228
+ (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2229
+ );
2230
+ legendTexts3.dispatchEvent(
2231
+ new MouseEvent("mouseup", {
2232
+ bubbles: true,
2233
+ cancelable: true
2234
+ })
2235
+ );
2236
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2237
+ test.equal(
2238
+ options3[0].innerText,
2239
+ "Hide samples with FRAMESHIFT",
2240
+ `First option should be "Hide samples with FRAMESHIFT"`
2241
+ );
2242
+ test.equal(options3[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
2243
+ const rects3 = await detectLst({
2244
+ elem: matrix.Inner.dom.seriesesG.node(),
2245
+ selector: ".sjpp-mass-series-g rect",
2246
+ count: 711,
2247
+ trigger: () => {
2248
+ options3[0].dispatchEvent(
2249
+ new MouseEvent("click", {
2250
+ bubbles: true,
2251
+ cancelable: true
2252
+ })
2253
+ );
2254
+ }
2255
+ });
2256
+ test.equal(
2257
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2258
+ 6,
2259
+ `should render the expected number of serieses`
2260
+ );
2261
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2262
+ (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2263
+ );
2264
+ legendTexts4.dispatchEvent(
2265
+ new MouseEvent("mouseup", {
2266
+ bubbles: true,
2267
+ cancelable: true
2268
+ })
2269
+ );
2270
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2271
+ test.equal(
2272
+ options4[0].innerText,
2273
+ "Show samples with FRAMESHIFT",
2274
+ `First option should be "Show samples with FRAMESHIFT"`
2275
+ );
2276
+ test.equal(options4.length, 1, `Should only show one option`);
2277
+ const rects4 = await detectLst({
2278
+ elem: matrix.Inner.dom.seriesesG.node(),
2279
+ selector: ".sjpp-mass-series-g rect",
2280
+ count: 724,
2281
+ trigger: () => {
2282
+ options4[0].dispatchEvent(
2283
+ new MouseEvent("click", {
2284
+ bubbles: true,
2285
+ cancelable: true
2286
+ })
2287
+ );
2288
+ }
2289
+ });
2290
+ const legendTexts5 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2291
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2292
+ );
2293
+ legendTexts5.dispatchEvent(
2294
+ new MouseEvent("mouseup", {
2295
+ bubbles: true,
2296
+ cancelable: true
2297
+ })
2298
+ );
2299
+ const options5 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2300
+ test.equal(
2301
+ options5[3].innerText,
2302
+ "Show all Somatic Mutations",
2303
+ `fourth option should be "Show all Somatic Mutations"`
2304
+ );
2305
+ test.equal(options5.length, 4, `Should show four options`);
2306
+ const rects5 = await detectLst({
2307
+ elem: matrix.Inner.dom.seriesesG.node(),
2308
+ selector: ".sjpp-mass-series-g rect",
2309
+ count: 900,
2310
+ trigger: () => {
2311
+ options5[3].dispatchEvent(
2312
+ new MouseEvent("click", {
2313
+ bubbles: true,
2314
+ cancelable: true
2315
+ })
2316
+ );
2317
+ }
2318
+ });
2319
+ if (test._ok) matrix.Inner.app.destroy();
2320
+ test.end();
2321
+ }
2322
+ }
2323
+ );
2324
+ (0, import_tape.default)("cell brush zoom in", function(test) {
2325
+ test.timeoutAfter(5e3);
2326
+ test.plan(1);
2327
+ runpp({
2328
+ state: {
2329
+ plots: [
2330
+ {
2331
+ chartType: "matrix",
2332
+ settings: {
2333
+ matrix: {
2334
+ // the matrix autocomputes the colw based on available screen width,
2335
+ // need to set an exact screen width for consistent tests using getBBox()
2336
+ availContentWidth: 300
2337
+ }
2338
+ },
2339
+ termgroups: [
2340
+ {
2341
+ name: "Demographics",
2342
+ lst: [
2343
+ {
2344
+ id: "aaclassic_5",
2345
+ q: {
2346
+ mode: "continuous"
2347
+ }
2348
+ },
2349
+ {
2350
+ id: "sex"
2351
+ //q: { mode: 'values' } // or 'groupsetting'
2352
+ },
2353
+ {
2354
+ id: "agedx",
2355
+ q: {
2356
+ mode: "discrete",
2357
+ type: "regular-bin",
2358
+ bin_size: 5,
2359
+ first_bin: {
2360
+ startunbounded: true,
2361
+ stop: 5,
2362
+ stopinclusive: true
2363
+ }
2364
+ }
2365
+ // or 'continuous'
2366
+ }
2367
+ ]
2368
+ }
2369
+ ]
2370
+ }
2371
+ ]
2372
+ },
2373
+ matrix: {
2374
+ callbacks: {
2375
+ "postRender.test": runTests
2376
+ }
2377
+ }
2378
+ });
2379
+ async function runTests(matrix) {
2380
+ matrix.on("postRender.test", null);
2381
+ const startCell = matrix.Inner.serieses[1].cells[10];
2382
+ const endCell = matrix.Inner.serieses[1].cells[14];
2383
+ matrix.Inner.clickedSeriesCell = {
2384
+ startCell,
2385
+ endCell
2386
+ };
2387
+ matrix.Inner.zoomWidth = Math.abs(startCell.totalIndex - endCell.totalIndex) * matrix.Inner.dimensions.colw;
2388
+ matrix.on("postRender.test", () => {
2389
+ matrix.on("postRender.test", null);
2390
+ test.deepEqual(matrix.Inner.settings.matrix.zoomLevel, 3.2, "should have the expected zoom level after zoom in");
2391
+ if (test._ok) matrix.Inner.app.destroy();
2392
+ test.end();
2393
+ });
2394
+ matrix.Inner.triggerZoomArea();
2395
+ }
2396
+ });
2397
+ (0, import_tape.default)("survival term in continous mode", function(test) {
2398
+ test.timeoutAfter(5e3);
2399
+ test.plan(2);
2400
+ runpp({
2401
+ state: {
2402
+ plots: [
2403
+ {
2404
+ chartType: "matrix",
2405
+ settings: {
2406
+ // the matrix autocomputes the colw based on available screen width,
2407
+ // need to set an exact screen width for consistent tests using getBBox()
2408
+ matrix: {
2409
+ availContentWidth: 1200
2410
+ }
2411
+ },
2412
+ termgroups: [
2413
+ {
2414
+ name: "",
2415
+ lst: [
2416
+ {
2417
+ term: {
2418
+ name: "Overall survival",
2419
+ type: "survival",
2420
+ isleaf: true,
2421
+ unit: "years",
2422
+ id: "os"
2423
+ },
2424
+ q: {
2425
+ mode: "continuous"
2426
+ }
2427
+ }
2428
+ ]
2429
+ }
2430
+ ]
2431
+ }
2432
+ ]
2433
+ },
2434
+ matrix: {
2435
+ callbacks: {
2436
+ "postRender.test": runTests
2437
+ }
2438
+ }
2439
+ });
2440
+ function runTests(matrix) {
2441
+ matrix.on("postRender.test", null);
2442
+ test.equal(
2443
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2444
+ 1,
2445
+ `should render the expected number of serieses`
2446
+ );
2447
+ test.equal(
2448
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2449
+ 60,
2450
+ `should render the expected number of cell rects`
2451
+ );
2452
+ if (test._ok) matrix.Inner.app.destroy();
2453
+ test.end();
2454
+ }
2455
+ });
2456
+ (0, import_tape.default)("survival term in discrete mode", function(test) {
2457
+ test.timeoutAfter(5e3);
2458
+ test.plan(2);
2459
+ runpp({
2460
+ state: {
2461
+ plots: [
2462
+ {
2463
+ chartType: "matrix",
2464
+ settings: {
2465
+ // the matrix autocomputes the colw based on available screen width,
2466
+ // need to set an exact screen width for consistent tests using getBBox()
2467
+ matrix: {
2468
+ availContentWidth: 1200
2469
+ }
2470
+ },
2471
+ termgroups: [
2472
+ {
2473
+ name: "",
2474
+ lst: [
2475
+ {
2476
+ term: {
2477
+ name: "Overall survival",
2478
+ type: "survival",
2479
+ isleaf: true,
2480
+ unit: "years",
2481
+ id: "os"
2482
+ },
2483
+ q: {
2484
+ mode: "continuous"
2485
+ }
2486
+ }
2487
+ ]
2488
+ }
2489
+ ]
2490
+ }
2491
+ ]
2492
+ },
2493
+ matrix: {
2494
+ callbacks: {
2495
+ "postRender.test": runTests
2496
+ }
2497
+ }
2498
+ });
2499
+ function runTests(matrix) {
2500
+ matrix.on("postRender.test", null);
2501
+ test.equal(
2502
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2503
+ 1,
2504
+ `should render the expected number of serieses`
2505
+ );
2506
+ test.equal(
2507
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2508
+ 60,
2509
+ `should render the expected number of cell rects`
2510
+ );
2511
+ if (test._ok) matrix.Inner.app.destroy();
2512
+ test.end();
2513
+ }
2514
+ });
2515
+ (0, import_tape.default)("survival term with divide by dictionary term", function(test) {
2516
+ test.timeoutAfter(5e3);
2517
+ test.plan(3);
2518
+ runpp({
2519
+ state: {
2520
+ plots: [
2521
+ {
2522
+ chartType: "matrix",
2523
+ settings: {
2524
+ // the matrix autocomputes the colw based on available screen width,
2525
+ // need to set an exact screen width for consistent tests using getBBox()
2526
+ matrix: {
2527
+ availContentWidth: 1200
2528
+ }
2529
+ },
2530
+ divideBy: {
2531
+ id: "sex"
2532
+ },
2533
+ termgroups: [
2534
+ {
2535
+ name: "",
2536
+ lst: [
2537
+ {
2538
+ term: {
2539
+ name: "Overall survival",
2540
+ type: "survival",
2541
+ isleaf: true,
2542
+ unit: "years",
2543
+ id: "os"
2544
+ },
2545
+ q: {
2546
+ mode: "continuous"
2547
+ }
2548
+ }
2549
+ ]
2550
+ }
2551
+ ]
2552
+ }
2553
+ ]
2554
+ },
2555
+ matrix: {
2556
+ callbacks: {
2557
+ "postRender.test": runTests
2558
+ }
2559
+ }
2560
+ });
2561
+ function runTests(matrix) {
2562
+ matrix.on("postRender.test", null);
2563
+ test.equal(
2564
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2565
+ 1,
2566
+ `should render the expected number of serieses`
2567
+ );
2568
+ test.equal(
2569
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2570
+ 60,
2571
+ `should render the expected number of cell rects`
2572
+ );
2573
+ test.equal(
2574
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2575
+ 2,
2576
+ `should render the expected number of cluster rects`
2577
+ );
2578
+ if (test._ok) matrix.Inner.app.destroy();
2579
+ test.end();
2580
+ }
2581
+ });
2582
+ (0, import_tape.default)("dictionary term with divide by survival term", function(test) {
2583
+ test.timeoutAfter(5e3);
2584
+ test.plan(3);
2585
+ runpp({
2586
+ state: {
2587
+ plots: [
2588
+ {
2589
+ chartType: "matrix",
2590
+ settings: {
2591
+ // the matrix autocomputes the colw based on available screen width,
2592
+ // need to set an exact screen width for consistent tests using getBBox()
2593
+ matrix: {
2594
+ availContentWidth: 1200
2595
+ }
2596
+ },
2597
+ divideBy: {
2598
+ id: "os"
2599
+ },
2600
+ termgroups: [
2601
+ {
2602
+ name: "Demographics",
2603
+ lst: [
2604
+ { id: "agedx", term: termjson["agedx"] },
2605
+ { id: "diaggrp", term: termjson["diaggrp"] },
2606
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2607
+ ]
2608
+ }
2609
+ ]
2610
+ }
2611
+ ]
2612
+ },
2613
+ matrix: {
2614
+ callbacks: {
2615
+ "postRender.test": runTests
2616
+ }
2617
+ }
2618
+ });
2619
+ function runTests(matrix) {
2620
+ matrix.on("postRender.test", null);
2621
+ test.equal(
2622
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2623
+ 3,
2624
+ `should render the expected number of serieses`
2625
+ );
2626
+ test.equal(
2627
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2628
+ 180,
2629
+ `should render the expected number of cell rects`
2630
+ );
2631
+ test.equal(
2632
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2633
+ 2,
2634
+ `should render the expected number of cluster rects`
2635
+ );
2636
+ if (test._ok) matrix.Inner.app.destroy();
2637
+ test.end();
2638
+ }
2639
+ });
2640
+ (0, import_tape.default)('apply "hide" and "show" legend filters to a survival term', function(test) {
2641
+ test.timeoutAfter(5e3);
2642
+ test.plan(10);
2643
+ runpp({
2644
+ state: {
2645
+ plots: [
2646
+ {
2647
+ chartType: "matrix",
2648
+ settings: {
2649
+ matrix: {
2650
+ // the matrix autocomputes the colw based on available screen width,
2651
+ // need to set an exact screen width for consistent tests using getBBox()
2652
+ availContentWidth: 1200
2653
+ }
2654
+ },
2655
+ termgroups: [
2656
+ {
2657
+ name: "",
2658
+ lst: [
2659
+ {
2660
+ id: "aaclassic_5",
2661
+ q: {
2662
+ mode: "continuous"
2663
+ }
2664
+ },
2665
+ {
2666
+ id: "genetic_race"
2667
+ //q: { mode: 'values' } // or 'groupsetting'
2668
+ },
2669
+ {
2670
+ id: "agedx",
2671
+ q: {
2672
+ mode: "discrete",
2673
+ type: "regular-bin",
2674
+ bin_size: 5,
2675
+ first_bin: {
2676
+ startunbounded: true,
2677
+ stop: 5,
2678
+ stopinclusive: true
2679
+ }
2680
+ }
2681
+ },
2682
+ {
2683
+ term: {
2684
+ name: "Overall survival",
2685
+ type: "survival",
2686
+ isleaf: true,
2687
+ unit: "years",
2688
+ id: "os"
2689
+ }
2690
+ }
2691
+ ]
2692
+ }
2693
+ ]
2694
+ }
2695
+ ]
2696
+ },
2697
+ matrix: {
2698
+ callbacks: {
2699
+ "postRender.test": runTests
2700
+ }
2701
+ }
2702
+ });
2703
+ async function runTests(matrix) {
2704
+ matrix.on("postRender.test", null);
2705
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2706
+ (d) => d?.__data__?.text?.startsWith("Alive")
2707
+ );
2708
+ legendTexts.dispatchEvent(
2709
+ new MouseEvent("mouseup", {
2710
+ bubbles: true,
2711
+ cancelable: true
2712
+ })
2713
+ );
2714
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2715
+ test.equal(options[0].innerText, "Hide", `First option should be Hide`);
2716
+ test.equal(options[1].innerText, "Show only", `second option should be Show only`);
2717
+ test.equal(options[2].innerText, "Show all", `third option should be Show all`);
2718
+ const rects = await detectLst({
2719
+ elem: matrix.Inner.dom.seriesesG.node(),
2720
+ selector: ".sjpp-mass-series-g rect",
2721
+ count: 228,
2722
+ trigger: () => {
2723
+ options[0].dispatchEvent(
2724
+ new MouseEvent("click", {
2725
+ bubbles: true,
2726
+ cancelable: true
2727
+ })
2728
+ );
2729
+ }
2730
+ });
2731
+ test.equal(
2732
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2733
+ 4,
2734
+ `should render the expected number of serieses`
2735
+ );
2736
+ test.equal(
2737
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2738
+ 1,
2739
+ `should render the expected number of cluster rects`
2740
+ );
2741
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2742
+ (d) => d?.__data__?.text?.startsWith("Alive")
2743
+ );
2744
+ legendTexts2.dispatchEvent(
2745
+ new MouseEvent("mouseup", {
2746
+ bubbles: true,
2747
+ cancelable: true
2748
+ })
2749
+ );
2750
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2751
+ test.equal(options2[0].innerText, "Show", `First option should be Show`);
2752
+ test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
2753
+ test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
2754
+ const rects2 = await detectLst({
2755
+ elem: matrix.Inner.dom.seriesesG.node(),
2756
+ selector: ".sjpp-mass-series-g rect",
2757
+ count: 240,
2758
+ trigger: () => {
2759
+ options2[0].dispatchEvent(
2760
+ new MouseEvent("click", {
2761
+ bubbles: true,
2762
+ cancelable: true
2763
+ })
2764
+ );
2765
+ }
2766
+ });
2767
+ test.equal(
2768
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2769
+ 4,
2770
+ `should render the expected number of serieses`
2771
+ );
2772
+ test.equal(
2773
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2774
+ 1,
2775
+ `should render the expected number of cluster rects`
2776
+ );
2777
+ if (test._ok) matrix.Inner.app.destroy();
2778
+ test.end();
2779
+ }
2780
+ });
2781
+ (0, import_tape.default)('apply "show only" and "show all" legend filters to a survival terms', function(test) {
2782
+ test.timeoutAfter(5e3);
2783
+ test.plan(14);
2784
+ runpp({
2785
+ state: {
2786
+ plots: [
2787
+ {
2788
+ chartType: "matrix",
2789
+ settings: {
2790
+ matrix: {
2791
+ // the matrix autocomputes the colw based on available screen width,
2792
+ // need to set an exact screen width for consistent tests using getBBox()
2793
+ availContentWidth: 1200
2794
+ }
2795
+ },
2796
+ termgroups: [
2797
+ {
2798
+ name: "",
2799
+ lst: [
2800
+ {
2801
+ id: "aaclassic_5",
2802
+ q: {
2803
+ mode: "continuous"
2804
+ }
2805
+ },
2806
+ {
2807
+ id: "genetic_race"
2808
+ //q: { mode: 'values' } // or 'groupsetting'
2809
+ },
2810
+ {
2811
+ id: "agedx",
2812
+ q: {
2813
+ mode: "discrete",
2814
+ type: "regular-bin",
2815
+ bin_size: 5,
2816
+ first_bin: {
2817
+ startunbounded: true,
2818
+ stop: 5,
2819
+ stopinclusive: true
2820
+ }
2821
+ }
2822
+ },
2823
+ {
2824
+ term: {
2825
+ name: "Overall survival",
2826
+ type: "survival",
2827
+ isleaf: true,
2828
+ unit: "years",
2829
+ id: "os"
2830
+ }
2831
+ }
2832
+ ]
2833
+ }
2834
+ ]
2835
+ }
2836
+ ]
2837
+ },
2838
+ matrix: {
2839
+ callbacks: {
2840
+ "postRender.test": runTests
2841
+ }
2842
+ }
2843
+ });
2844
+ async function runTests(matrix) {
2845
+ matrix.on("postRender.test", null);
2846
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2847
+ (d) => d?.__data__?.text?.startsWith("Alive")
2848
+ );
2849
+ legendTexts.dispatchEvent(
2850
+ new MouseEvent("mouseup", {
2851
+ bubbles: true,
2852
+ cancelable: true
2853
+ })
2854
+ );
2855
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2856
+ const rects = await detectLst({
2857
+ elem: matrix.Inner.dom.seriesesG.node(),
2858
+ selector: ".sjpp-mass-series-g rect",
2859
+ count: 12,
2860
+ trigger: () => {
2861
+ options[1].dispatchEvent(
2862
+ new MouseEvent("click", {
2863
+ bubbles: true,
2864
+ cancelable: true
2865
+ })
2866
+ );
2867
+ }
2868
+ });
2869
+ test.equal(
2870
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2871
+ 4,
2872
+ `should render the expected number of serieses`
2873
+ );
2874
+ test.equal(
2875
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2876
+ 1,
2877
+ `should render the expected number of cluster rects`
2878
+ );
2879
+ const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2880
+ (d) => d?.__data__?.text?.startsWith("<5")
2881
+ );
2882
+ secondLegendTexts.dispatchEvent(
2883
+ new MouseEvent("mouseup", {
2884
+ bubbles: true,
2885
+ cancelable: true
2886
+ })
2887
+ );
2888
+ const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2889
+ test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
2890
+ test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
2891
+ test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
2892
+ const secondRects = await detectLst({
2893
+ elem: matrix.Inner.dom.seriesesG.node(),
2894
+ selector: ".sjpp-mass-series-g rect",
2895
+ count: 4,
2896
+ trigger: () => {
2897
+ secondOptions[1].dispatchEvent(
2898
+ new MouseEvent("click", {
2899
+ bubbles: true,
2900
+ cancelable: true
2901
+ })
2902
+ );
2903
+ }
2904
+ });
2905
+ test.equal(
2906
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2907
+ 4,
2908
+ `should render the expected number of serieses`
2909
+ );
2910
+ test.equal(
2911
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2912
+ 1,
2913
+ `should render the expected number of cluster rects`
2914
+ );
2915
+ const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2916
+ (d) => d?.__data__?.text?.startsWith("<5")
2917
+ );
2918
+ thirdLegendTexts.dispatchEvent(
2919
+ new MouseEvent("mouseup", {
2920
+ bubbles: true,
2921
+ cancelable: true
2922
+ })
2923
+ );
2924
+ const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2925
+ test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
2926
+ test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
2927
+ const thirdRects = await detectLst({
2928
+ elem: matrix.Inner.dom.seriesesG.node(),
2929
+ selector: ".sjpp-mass-series-g rect",
2930
+ count: 12,
2931
+ trigger: () => {
2932
+ thirdOptions[2].dispatchEvent(
2933
+ new MouseEvent("click", {
2934
+ bubbles: true,
2935
+ cancelable: true
2936
+ })
2937
+ );
2938
+ }
2939
+ });
2940
+ test.equal(
2941
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2942
+ 4,
2943
+ `should render the expected number of serieses`
2944
+ );
2945
+ const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2946
+ (d) => d?.__data__?.text?.startsWith("Alive")
2947
+ );
2948
+ fourthLegendTexts.dispatchEvent(
2949
+ new MouseEvent("mouseup", {
2950
+ bubbles: true,
2951
+ cancelable: true
2952
+ })
2953
+ );
2954
+ const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2955
+ test.equal(fourthOptions[0].innerText, "Hide", `first option should be Hide`);
2956
+ test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
2957
+ const fourthRects = await detectLst({
2958
+ elem: matrix.Inner.dom.seriesesG.node(),
2959
+ selector: ".sjpp-mass-series-g rect",
2960
+ count: 240,
2961
+ trigger: () => {
2962
+ fourthOptions[2].dispatchEvent(
2963
+ new MouseEvent("click", {
2964
+ bubbles: true,
2965
+ cancelable: true
2966
+ })
2967
+ );
2968
+ }
2969
+ });
2970
+ test.equal(
2971
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2972
+ 4,
2973
+ `should render the expected number of serieses`
2974
+ );
2975
+ test.equal(
2976
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2977
+ 1,
2978
+ `should render the expected number of cluster rects`
2979
+ );
2980
+ if (test._ok) matrix.Inner.app.destroy();
2981
+ test.end();
2982
+ }
2983
+ });
2984
+ var runpp = getRunPp("mass", {
2985
+ state: {
2986
+ dslabel: "TermdbTest",
2987
+ genome: "hg38-test",
2988
+ nav: { activeTab: -1 }
2989
+ },
2990
+ debug: 1
2991
+ });
2992
+ function getGenes() {
2993
+ return [
2994
+ { term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } },
2995
+ { term: { gene: "KRAS", name: "KRAS", type: "geneVariant", isleaf: true } },
2996
+ { term: { gene: "AKT1", name: "AKT1", type: "geneVariant", isleaf: true } }
2997
+ ];
2998
+ }
2999
+ function getTermCollection() {
3000
+ return {
3001
+ //isAtomic: true,
3002
+ type: "TermCollectionTWCont",
3003
+ //$id: 'TwBase_0__48243_99155',
3004
+ term: {
3005
+ type: "termCollection",
3006
+ termlst: [
3007
+ {
3008
+ type: "float",
3009
+ bins: {
3010
+ default: {
3011
+ type: "regular-bin",
3012
+ bin_size: 5,
3013
+ startinclusive: true,
3014
+ first_bin: { startunbounded: true, stop: 5 }
3015
+ },
3016
+ label_offset: 1
3017
+ },
3018
+ name: "Age (years) at Cancer Diagnosis",
3019
+ id: "agedx",
3020
+ isleaf: true,
3021
+ values: {},
3022
+ hashtmldetail: true
3023
+ },
3024
+ {
3025
+ type: "float",
3026
+ bins: {
3027
+ default: {
3028
+ type: "regular-bin",
3029
+ startinclusive: true,
3030
+ bin_size: 5,
3031
+ first_bin: { stop: 25 },
3032
+ last_bin: { start: 55 }
3033
+ }
3034
+ },
3035
+ name: "Age (years) at Death",
3036
+ id: "a_death",
3037
+ isleaf: true,
3038
+ values: {},
3039
+ hashtmldetail: true
3040
+ },
3041
+ {
3042
+ type: "float",
3043
+ bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3044
+ name: "Age (years) at Last NDI Search",
3045
+ id: "a_ndi",
3046
+ isleaf: true,
3047
+ values: {}
3048
+ },
3049
+ {
3050
+ type: "float",
3051
+ bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3052
+ values: { "-994": { label: "N/A: No campus visit", uncomputable: true } },
3053
+ name: "Age at last ABC assessment",
3054
+ id: "agelastvisit",
3055
+ isleaf: true
3056
+ }
3057
+ ],
3058
+ name: "Fake Collection 1",
3059
+ isleaf: true,
3060
+ propsByTermId: {
3061
+ agedx: { color: "#1b9e77" },
3062
+ a_death: { color: "#d95f02" },
3063
+ a_ndi: { color: "#7570b3" },
3064
+ agelastvisit: { color: "#e7298a" }
3065
+ }
3066
+ },
3067
+ q: { isAtomic: true, mode: "continuous", lst: [] }
3068
+ };
3069
+ }
3070
+ //# sourceMappingURL=matrix.integration.spec-PQH67KRM.js.map