@sjcrh/proteinpaint-client 2.181.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 (981) 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/DE-PZ7RHPBS.js.map +7 -0
  10. package/dist/DEinput-UZEQIU2V.js +297 -0
  11. package/dist/DEinput-UZEQIU2V.js.map +7 -0
  12. package/dist/DifferentialAnalysis-L6BOEYVO.js +238 -0
  13. package/dist/Disco-6FDT6KRM.js +3235 -0
  14. package/dist/Disco-6FDT6KRM.js.map +7 -0
  15. package/dist/Disco.UI-HKOUAD4P.js +242 -0
  16. package/dist/DmrPlot-3R24PTXP.js +640 -0
  17. package/dist/GB-SZVYZASR.js +1125 -0
  18. package/dist/HicApp-SEEJETVE.js +2248 -0
  19. package/dist/NumBinaryEditor-SDQFJ3FW.js +268 -0
  20. package/dist/NumBinaryEditor-SDQFJ3FW.js.map +7 -0
  21. package/dist/NumBinaryEditor.unit.spec-76ZZXTYC.js +284 -0
  22. package/dist/NumContEditor-G75O4YZE.js +105 -0
  23. package/dist/NumContEditor.unit.spec-BFUZRBPL.js +167 -0
  24. package/dist/NumCustomBinEditor-ILTPHCEF.js +36 -0
  25. package/dist/NumCustomBinEditor.unit.spec-GFIYV55V.js +282 -0
  26. package/dist/NumDiscreteEditor-5K3OKUOE.js +177 -0
  27. package/dist/NumDiscreteEditor-5K3OKUOE.js.map +7 -0
  28. package/dist/NumDiscreteEditor.unit.spec-NZ4KWPFK.js +200 -0
  29. package/dist/NumRegularBinEditor-7ZJ2MEMY.js +36 -0
  30. package/dist/NumRegularBinEditor.unit.spec-QGVJET65.js +225 -0
  31. package/dist/NumSplineEditor-KE4UPODZ.js +190 -0
  32. package/dist/NumSplineEditor-KE4UPODZ.js.map +7 -0
  33. package/dist/NumSplineEditor.unit.spec-YQOOZA7S.js +197 -0
  34. package/dist/NumericDensity-RL42P4QC.js +36 -0
  35. package/dist/NumericDensity.unit.spec-Y6RMTYC7.js +219 -0
  36. package/dist/NumericHandler-4QIX324I.js +37 -0
  37. package/dist/NumericHandler.unit.spec-T6F5QYP6.js +217 -0
  38. package/dist/RunChart2-ASGCKKER.js +756 -0
  39. package/dist/RunChart2-ASGCKKER.js.map +7 -0
  40. package/dist/SC-H2YCKSBH.js +682 -0
  41. package/dist/SC-H2YCKSBH.js.map +7 -0
  42. package/dist/Volcano-QBYYJYVW.js +1185 -0
  43. package/dist/Volcano-QBYYJYVW.js.map +7 -0
  44. package/dist/WSIViewer-NDHWFVAB.js +47974 -0
  45. package/dist/WSIViewer-NDHWFVAB.js.map +7 -0
  46. package/dist/WsiSamplesPlot-CXGWPCDL.js +163 -0
  47. package/dist/adSandbox-DE4VRO4Z.js +36 -0
  48. package/dist/alphaGenome-FSIGC5ZT.js +173 -0
  49. package/dist/app-KZGKWQMU.js +47 -0
  50. package/dist/app-MQRJ7FVL.js +35 -0
  51. package/dist/app.js +17 -17
  52. package/dist/bam-BDWTA4O3.js +857 -0
  53. package/dist/bam-BDWTA4O3.js.map +7 -0
  54. package/dist/barchart-4Q6LVJY4.js +45 -0
  55. package/dist/barchart.data-EXENRVMU.js +22 -0
  56. package/dist/barchart.events-XRGND6I7.js +45 -0
  57. package/dist/barchart.integration.spec-VQITP4YH.js +1675 -0
  58. package/dist/bars.renderer-S7A7I6BQ.js +12 -0
  59. package/dist/block-2MABX5QO.js +6200 -0
  60. package/dist/block-2MABX5QO.js.map +7 -0
  61. package/dist/block.init-NCNSE3HD.js +36 -0
  62. package/dist/block.mds.expressionrank-JYZARS7T.js +357 -0
  63. package/dist/block.mds.geneboxplot-FD2MCIHV.js +826 -0
  64. package/dist/block.mds.junction-LOHVQBIU.js +1543 -0
  65. package/dist/block.mds.svcnv-Z7SAYPQL.js +6799 -0
  66. package/dist/block.svg-LNJOKQNN.js +162 -0
  67. package/dist/block.tk.aicheck-IXCMMAGV.js +281 -0
  68. package/dist/block.tk.ase-WYRYFP6N.js +363 -0
  69. package/dist/block.tk.bam-EIVBNGAL.js +1904 -0
  70. package/dist/block.tk.bedgraphdot-3FHLNCU7.js +382 -0
  71. package/dist/block.tk.bigwig.ui-YDQU5PC4.js +209 -0
  72. package/dist/block.tk.hicstraw-S3ROL3CV.js +821 -0
  73. package/dist/block.tk.junction-DL7RNWX3.js +2362 -0
  74. package/dist/block.tk.junction.textmatrixui-Z6I7IEDY.js +197 -0
  75. package/dist/block.tk.ld-XHVU6L56.js +97 -0
  76. package/dist/block.tk.menu-FPLAEEFY.js +1027 -0
  77. package/dist/block.tk.pgv-6ZZ2QGNO.js +942 -0
  78. package/dist/brainImaging-VSOOMITW.js +421 -0
  79. package/dist/chat-LW23PIG5.js +148 -0
  80. package/dist/chunk-2A2KM5DU.js +117 -0
  81. package/dist/chunk-2A2KM5DU.js.map +7 -0
  82. package/dist/chunk-2LULD7RN.js +31 -0
  83. package/dist/chunk-36DYWBU7.js +514 -0
  84. package/dist/chunk-36DYWBU7.js.map +7 -0
  85. package/dist/chunk-3AGB6HL4.js +158 -0
  86. package/dist/chunk-3AVDNIDN.js +55 -0
  87. package/dist/chunk-3DCABJHB.js +381 -0
  88. package/dist/chunk-3JMB3OSC.js +102 -0
  89. package/dist/chunk-3UEMY45Y.js +215 -0
  90. package/dist/chunk-3UEMY45Y.js.map +7 -0
  91. package/dist/chunk-4RR4KPRJ.js +1205 -0
  92. package/dist/chunk-4RR4KPRJ.js.map +7 -0
  93. package/dist/chunk-5RFB7TYT.js +92 -0
  94. package/dist/chunk-5UMPBVA6.js +534 -0
  95. package/dist/chunk-6C2SBTLR.js +407 -0
  96. package/dist/chunk-6C2SBTLR.js.map +7 -0
  97. package/dist/chunk-6ITDJ5UR.js +261 -0
  98. package/dist/chunk-6ITDJ5UR.js.map +7 -0
  99. package/dist/chunk-6LAE5AVA.js +13624 -0
  100. package/dist/chunk-77ZJGPK2.js +289 -0
  101. package/dist/chunk-77ZJGPK2.js.map +7 -0
  102. package/dist/chunk-7FKIAQ4K.js +17 -0
  103. package/dist/chunk-7FKIAQ4K.js.map +7 -0
  104. package/dist/chunk-7RN3L2BX.js +1788 -0
  105. package/dist/chunk-7RN3L2BX.js.map +7 -0
  106. package/dist/chunk-7VV43ICF.js +272 -0
  107. package/dist/chunk-A6TQGNDQ.js +421 -0
  108. package/dist/chunk-A6TQGNDQ.js.map +7 -0
  109. package/dist/chunk-A742TQD2.js +615 -0
  110. package/dist/chunk-A7E3JZ5P.js +56 -0
  111. package/dist/chunk-A7E3JZ5P.js.map +7 -0
  112. package/dist/chunk-AFLFPYJI.js +480 -0
  113. package/dist/chunk-APOHXHKH.js +526 -0
  114. package/dist/chunk-APOHXHKH.js.map +7 -0
  115. package/dist/chunk-BAY47D5E.js +226 -0
  116. package/dist/chunk-CFHKYLDY.js +26 -0
  117. package/dist/chunk-CTAKX5CT.js +129 -0
  118. package/dist/chunk-CVBQWXLH.js +455 -0
  119. package/dist/chunk-CVBQWXLH.js.map +7 -0
  120. package/dist/chunk-D4QFQQWJ.js +170 -0
  121. package/dist/chunk-DGMK7SXX.js +203 -0
  122. package/dist/chunk-DNCSPTOQ.js +446 -0
  123. package/dist/chunk-DTDQKGIQ.js +2672 -0
  124. package/dist/chunk-E4NVHKWD.js +142 -0
  125. package/dist/chunk-E6KEZENR.js +4207 -0
  126. package/dist/chunk-E6KEZENR.js.map +7 -0
  127. package/dist/chunk-EY2KBPHJ.js +261 -0
  128. package/dist/chunk-EY2KBPHJ.js.map +7 -0
  129. package/dist/chunk-FRBYOOWT.js +229 -0
  130. package/dist/chunk-FRBYOOWT.js.map +7 -0
  131. package/dist/chunk-HWHG63LH.js +148 -0
  132. package/dist/chunk-HWHG63LH.js.map +7 -0
  133. package/dist/chunk-HYZG6OPC.js +467 -0
  134. package/dist/chunk-HYZG6OPC.js.map +7 -0
  135. package/dist/chunk-I4IKRKYJ.js +2815 -0
  136. package/dist/chunk-IEQSUAIO.js +6364 -0
  137. package/dist/chunk-IET6P5MV.js +335 -0
  138. package/dist/chunk-IET6P5MV.js.map +7 -0
  139. package/dist/chunk-JMPSZMDD.js +52 -0
  140. package/dist/chunk-JXOL73PT.js +2784 -0
  141. package/dist/chunk-K62XUHA4.js +100 -0
  142. package/dist/chunk-KQMEJUWI.js +815 -0
  143. package/dist/chunk-L4YGMXLX.js +37 -0
  144. package/dist/chunk-L4YGMXLX.js.map +7 -0
  145. package/dist/chunk-M7W2GYSM.js +4961 -0
  146. package/dist/chunk-M7W2GYSM.js.map +7 -0
  147. package/dist/chunk-MV6O4I2B.js +441 -0
  148. package/dist/chunk-MXNSW55L.js +148 -0
  149. package/dist/chunk-NB7NLFGZ.js +228 -0
  150. package/dist/chunk-NGGWK6HX.js +302 -0
  151. package/dist/chunk-OGGFS66K.js +1087 -0
  152. package/dist/chunk-OSM7YS23.js +276 -0
  153. package/dist/chunk-OXJ2TWDO.js +20644 -0
  154. package/dist/chunk-OXJ2TWDO.js.map +7 -0
  155. package/dist/chunk-Q7PYFSNU.js +107 -0
  156. package/dist/chunk-QMI222IJ.js +386 -0
  157. package/dist/chunk-QRIRWDIW.js +252 -0
  158. package/dist/chunk-R6L6NVEC.js +14 -0
  159. package/dist/chunk-RLTLYKHO.js +34 -0
  160. package/dist/chunk-S5ZI6N2I.js +293 -0
  161. package/dist/chunk-S7T7OZC7.js +158 -0
  162. package/dist/chunk-S7T7OZC7.js.map +7 -0
  163. package/dist/chunk-TEZLFSOV.js +54 -0
  164. package/dist/chunk-TFI7ZZJG.js +50 -0
  165. package/dist/chunk-TFI7ZZJG.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-V6DLLX4N.js +176 -0
  170. package/dist/chunk-V6DLLX4N.js.map +7 -0
  171. package/dist/chunk-VIPMLSZP.js +217 -0
  172. package/dist/chunk-VQPS4SXU.js +97 -0
  173. package/dist/chunk-VQPS4SXU.js.map +7 -0
  174. package/dist/chunk-VUUZJANK.js +1150 -0
  175. package/dist/chunk-VYIO7T6J.js +82 -0
  176. package/dist/chunk-VYIO7T6J.js.map +7 -0
  177. package/dist/chunk-W345H42C.js +273 -0
  178. package/dist/chunk-W345H42C.js.map +7 -0
  179. package/dist/chunk-WGHO2NCP.js +205 -0
  180. package/dist/chunk-WGL6FIUE.js +330 -0
  181. package/dist/chunk-WPHOEG56.js +194 -0
  182. package/dist/chunk-WS5XVKPJ.js +470 -0
  183. package/dist/chunk-X6URQAFD.js +1271 -0
  184. package/dist/chunk-X6URQAFD.js.map +7 -0
  185. package/dist/chunk-XYFDBYOY.js +1658 -0
  186. package/dist/chunk-XYFDBYOY.js.map +7 -0
  187. package/dist/chunk-Y6RCKITI.js +1155 -0
  188. package/dist/chunk-Y6RCKITI.js.map +7 -0
  189. package/dist/chunk-YALAQWX4.js +368 -0
  190. package/dist/chunk-YALAQWX4.js.map +7 -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/chunk-ZIBWLDQI.js +230 -0
  198. package/dist/chunk-ZIBWLDQI.js.map +7 -0
  199. package/dist/condition-JKQIRMMW.js +330 -0
  200. package/dist/controls-324AGOZG.js +39 -0
  201. package/dist/controls.config-TA4NNARU.js +37 -0
  202. package/dist/correlation-3Z36TKC2.js +96 -0
  203. package/dist/cuminc-4DY2CSZF.js +1147 -0
  204. package/dist/cuminc.integration.spec-SFQPLMSF.js +676 -0
  205. package/dist/customdata.inputui-IKGPEBXV.js +287 -0
  206. package/dist/customdata.inputui-IKGPEBXV.js.map +7 -0
  207. package/dist/dataDownload-3AE2N7KI.js +328 -0
  208. package/dist/dataDownload.integration.spec-DKOT6BJP.js +191 -0
  209. package/dist/databrowser.ui-ATODRS5P.js +419 -0
  210. package/dist/dictionary-WHDZBW5M.js +109 -0
  211. package/dist/dictionary-WHDZBW5M.js.map +7 -0
  212. package/dist/dnaMethylation-TVA5YMOR.js +36 -0
  213. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js +165 -0
  214. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js.map +7 -0
  215. package/dist/e2pca-KHVDNFEZ.js +348 -0
  216. package/dist/ep-B5GAAMNM.js +1254 -0
  217. package/dist/expclust.gdc.spec-EDPX7V6K.js +305 -0
  218. package/dist/facet-ZCSXKXIO.js +519 -0
  219. package/dist/geneExpClustering-ERNCMAED.js +246 -0
  220. package/dist/geneExpression-HUOXWETT.js +36 -0
  221. package/dist/geneExpression-X2KXJPND.js +312 -0
  222. package/dist/geneExpression.unit.spec-5QQB4ISW.js +100 -0
  223. package/dist/geneORA-B5UK77KL.js +276 -0
  224. package/dist/geneVariant-7MGUAIZ6.js +39 -0
  225. package/dist/geneVariant-FK3KZJ2K.js +37 -0
  226. package/dist/geneVariant.integration.spec-C6TYWKIC.js +196 -0
  227. package/dist/genefusion.ui-VKAINMY7.js +249 -0
  228. package/dist/geneset-673KAZVX.js +194 -0
  229. package/dist/genomeBrowser.spec-T6TQCJ3O.js +279 -0
  230. package/dist/grin2-376BD4XY.js +1554 -0
  231. package/dist/grin2-OALS75LC.js +1031 -0
  232. package/dist/gsea-25LD2LGP.js +45 -0
  233. package/dist/hierCluster-7KU3K52V.js +58 -0
  234. package/dist/hierCluster-M5VVWKQK.js +62 -0
  235. package/dist/hierCluster.config-EDO3SH2P.js +38 -0
  236. package/dist/hierCluster.integration.spec-UOX7J2XD.js +374 -0
  237. package/dist/hierCluster.interactivity-FEFZDXML.js +52 -0
  238. package/dist/hierCluster.renderers-A6MEGO2B.js +21 -0
  239. package/dist/imagePlot-FPXZ2H5Z.js +139 -0
  240. package/dist/importPlot-VKWPSFEK.js +8 -0
  241. package/dist/isoformExpression-2R2TOB6P.js +38 -0
  242. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js +206 -0
  243. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js.map +7 -0
  244. package/dist/jspdf.es.min-FC3BCETM.js +40 -0
  245. package/dist/launch.adhoc-242RS6DW.js +40 -0
  246. package/dist/leftlabel.sample-OJW3AE64.js +257 -0
  247. package/dist/lollipop-TRQ3LK7Y.js +166 -0
  248. package/dist/maf-ZBOLN2FE.js +450 -0
  249. package/dist/maf-ZBOLN2FE.js.map +7 -0
  250. package/dist/maftimeline-GVX7NJP7.js +591 -0
  251. package/dist/matrix-73KRNXLM.js +57 -0
  252. package/dist/matrix-US3OXYRY.js +62 -0
  253. package/dist/matrix.cells-U7AQNEBP.js +28 -0
  254. package/dist/matrix.config-Q57D7C3F.js +39 -0
  255. package/dist/matrix.controls-AWXDRSWP.js +37 -0
  256. package/dist/matrix.data-EEIY6AO4.js +25 -0
  257. package/dist/matrix.dom-6QL3AJMW.js +11 -0
  258. package/dist/matrix.groups-CUB6UWC5.js +26 -0
  259. package/dist/matrix.integration.spec-PQH67KRM.js +3070 -0
  260. package/dist/matrix.interactivity-JW4AXAWO.js +40 -0
  261. package/dist/matrix.layout-I56KRVCO.js +42 -0
  262. package/dist/matrix.legend-42LQGAGX.js +22 -0
  263. package/dist/matrix.renderers-IX3FCNBK.js +36 -0
  264. package/dist/matrix.serieses-4B2WB526.js +21 -0
  265. package/dist/matrix.sort-BJACNR7G.js +27 -0
  266. package/dist/matrix.sort.unit.spec-3KKDKIPY.js +470 -0
  267. package/dist/matrix.sorterUi-W6XFYZY2.js +18 -0
  268. package/dist/matrix.sorterUi.unit.spec-CMJ7EBIW.js +340 -0
  269. package/dist/mavb-ROAE6WYA.js +730 -0
  270. package/dist/mds.fimo-UGK5OWCF.js +516 -0
  271. package/dist/mds.samplescatterplot-5KFUAYSB.js +1548 -0
  272. package/dist/mds.survivalplot-2EVNZUX5.js +481 -0
  273. package/dist/oncomatrix-UGFXSXQJ.js +293 -0
  274. package/dist/oncomatrix-UGFXSXQJ.js.map +7 -0
  275. package/dist/oncomatrix.spec-FEP7BR7L.js +446 -0
  276. package/dist/plot.2dvaf-WXGLWCOC.js +375 -0
  277. package/dist/plot.app-IZAFRTBU.js +39 -0
  278. package/dist/plot.barplot-Z4VWOPFJ.js +100 -0
  279. package/dist/plot.boxplot-QU2KZSB7.js +150 -0
  280. package/dist/plot.brainImaging-U643YIK7.js +51 -0
  281. package/dist/plot.disco-3BV6YEBC.js +101 -0
  282. package/dist/plot.disco-3BV6YEBC.js.map +7 -0
  283. package/dist/plot.dzi-DWXPOOQE.js +33 -0
  284. package/dist/plot.ssgq-GXB2GZO3.js +137 -0
  285. package/dist/plot.vaf2cov-EKRIADPB.js +257 -0
  286. package/dist/plot.wsi-E2LLE6HI.js +36 -0
  287. package/dist/polar-MZLIUXHO.js +184 -0
  288. package/dist/polar2-IUVHNQM4.js +226 -0
  289. package/dist/profile.spec-JRW6KYUI.js +78 -0
  290. package/dist/profileBarchart-N7HJMYZ5.js +265 -0
  291. package/dist/profileForms-Q5TPGPQP.js +438 -0
  292. package/dist/profilePlot-TXTUYDVE.js +52 -0
  293. package/dist/profileRadar-ICEASI7W.js +261 -0
  294. package/dist/profileRadarFacility-NFMRNJYX.js +261 -0
  295. package/dist/profileRadarFacility-NFMRNJYX.js.map +7 -0
  296. package/dist/proteinView-K3JFNORQ.js +633 -0
  297. package/dist/proteinView-K3JFNORQ.js.map +7 -0
  298. package/dist/proteomeAbundance-DE4NVBCN.js +21 -0
  299. package/dist/proteomeAbundance-LTB3QR3G.js +63 -0
  300. package/dist/qualitative-DFGWQURY.js +41 -0
  301. package/dist/regression-TTQTAEGD.js +54 -0
  302. package/dist/regression.inputs-2LU2XRGC.js +46 -0
  303. package/dist/regression.inputs.term-G57GL57T.js +46 -0
  304. package/dist/regression.inputs.values.table-JSEM3PXL.js +43 -0
  305. package/dist/regression.integration.spec-XJQJAIC3.js +782 -0
  306. package/dist/regression.integration.spec-XJQJAIC3.js.map +7 -0
  307. package/dist/regression.results-3YNM6LLQ.js +38 -0
  308. package/dist/regression.spec-S6WFCPSW.js +706 -0
  309. package/dist/report-YRAV4MY4.js +220 -0
  310. package/dist/sampleScatter.spec-MBJ4XNTX.js +200 -0
  311. package/dist/sampleView-IUR3ZEN7.js +46 -0
  312. package/dist/samplelst-C2NBFGH6.js +109 -0
  313. package/dist/samplematrix-AOK2HHSB.js +2196 -0
  314. package/dist/sc-XT3Z5XJI.js +84 -0
  315. package/dist/scatter-SAHKZRFL.js +800 -0
  316. package/dist/scatter.integration.spec-6KRDNHHH.js +1194 -0
  317. package/dist/scatter.integration.spec-6KRDNHHH.js.map +7 -0
  318. package/dist/selectGenomeWithTklst-2YVZ4JWV.js +132 -0
  319. package/dist/singleCellCellType-NFN5GQJM.js +36 -0
  320. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js +158 -0
  321. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js.map +7 -0
  322. package/dist/singleCellGeneExpression-7AQGLXTR.js +36 -0
  323. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js +151 -0
  324. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js.map +7 -0
  325. package/dist/singleCellPlot-IWFEG44C.js +51 -0
  326. package/dist/singlecell-3QNV4OMZ.js +1570 -0
  327. package/dist/singlecell-EATPLH66.js +84 -0
  328. package/dist/snp-UP7WL7WG.js +36 -0
  329. package/dist/snp.unit.spec-Y5NWQ442.js +174 -0
  330. package/dist/snplocus-WAQK2AZG.js +206 -0
  331. package/dist/spliceevent.a53ss.diagram-FFK27UIB.js +149 -0
  332. package/dist/spliceevent.exonskip.diagram-KWEF2OZJ.js +275 -0
  333. package/dist/spliceevent.noeventdiagram-PU4TI7OM.js +458 -0
  334. package/dist/ssGSEA-N6QOAVLW.js +36 -0
  335. package/dist/ssGSEA.unit.spec-KQBNZNNP.js +86 -0
  336. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js +161 -0
  337. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js.map +7 -0
  338. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js +106 -0
  339. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js.map +7 -0
  340. package/dist/summarizeMutationCnv-VV7CVAA7.js +162 -0
  341. package/dist/summarizeMutationCnv-VV7CVAA7.js.map +7 -0
  342. package/dist/summarizeMutationDiagnosis-5RHSG7L6.js +38 -0
  343. package/dist/summarizeMutationSurvival-22YYXGS5.js +97 -0
  344. package/dist/summary-P3WIKJS7.js +47 -0
  345. package/dist/summary.integration.spec-ULGRPICW.js +412 -0
  346. package/dist/summaryInput-IH4EVNF5.js +218 -0
  347. package/dist/sunburst-VJJ3UVYC.js +282 -0
  348. package/dist/sunburst-VJJ3UVYC.js.map +7 -0
  349. package/dist/survival-2ZE3N62A.js +44 -0
  350. package/dist/survival-ASCLKIII.js +56 -0
  351. package/dist/survival.integration.spec-C5YXOY77.js +787 -0
  352. package/dist/svg2pdf.es.min-CYTPRWNB.js +3157 -0
  353. package/dist/svgraph-AYR2UPNK.js +1385 -0
  354. package/dist/svmr-MOMW5DNY.js +3840 -0
  355. package/dist/table-PQB6KCEY.js +198 -0
  356. package/dist/termCollection-5AY2AWT4.js +36 -0
  357. package/dist/termCollection-OQMUUTW6.js +177 -0
  358. package/dist/termCollection.unit.spec-BUAXYIJK.js +206 -0
  359. package/dist/tk-EJLFFA5H.js +44 -0
  360. package/dist/tp.ui-WUW6A7KP.js +1457 -0
  361. package/dist/tvs.dt-MVJXQMNU.js +37 -0
  362. package/dist/tvs.dtcnv.categorical-FIIDWVK7.js +38 -0
  363. package/dist/tvs.dtcnv.continuous-JPQU3JA2.js +70 -0
  364. package/dist/tvs.dtfusion-BW35GOQM.js +38 -0
  365. package/dist/tvs.dtsnvindel-AEMFZ4EH.js +38 -0
  366. package/dist/tvs.dtsv-JHTU7UFD.js +38 -0
  367. package/dist/tvs.samplelst-VD2NFFFS.js +102 -0
  368. package/dist/tvs.termCollection-IKE5Q74D.js +151 -0
  369. package/dist/violin-DPMJLHQG.js +44 -0
  370. package/dist/violin.integration.spec-A4PNR4ES.js +1423 -0
  371. package/dist/violin.integration.spec-A4PNR4ES.js.map +7 -0
  372. package/dist/violin.interactivity-TS4DYUE5.js +36 -0
  373. package/dist/violin.renderer-53L4PXUT.js +38 -0
  374. package/dist/vocabulary-4MPFHKYC.js +39 -0
  375. package/package.json +3 -3
  376. package/dist/2dmaf-PFPBHIUI.js +0 -1371
  377. package/dist/AIProjectAdmin-H2GB5ZOX.js +0 -830
  378. package/dist/AIProjectAdmin-H2GB5ZOX.js.map +0 -7
  379. package/dist/AppHeader-FCWML6WH.js +0 -833
  380. package/dist/BoxPlot-QKXGF76K.js +0 -1295
  381. package/dist/BoxPlot-QKXGF76K.js.map +0 -7
  382. package/dist/CorrelationVolcano-ZJ7Q6JBC.js +0 -617
  383. package/dist/DifferentialAnalysis-PWCFCWFY.js +0 -238
  384. package/dist/Disco-IE5JKIF2.js +0 -3199
  385. package/dist/Disco-IE5JKIF2.js.map +0 -7
  386. package/dist/Disco.UI-SR7LSJE3.js +0 -242
  387. package/dist/DmrPlot-UDY7GOSY.js +0 -640
  388. package/dist/GB-GNTOP5C6.js +0 -1125
  389. package/dist/HicApp-FZTJL3OA.js +0 -2248
  390. package/dist/NumBinaryEditor-R5QVG3C4.js +0 -266
  391. package/dist/NumBinaryEditor-R5QVG3C4.js.map +0 -7
  392. package/dist/NumBinaryEditor.unit.spec-BMVRI24W.js +0 -284
  393. package/dist/NumContEditor-6JT5D6IW.js +0 -105
  394. package/dist/NumContEditor.unit.spec-XBQF2SW6.js +0 -167
  395. package/dist/NumCustomBinEditor-MEKEFOQI.js +0 -36
  396. package/dist/NumCustomBinEditor.unit.spec-LEMQJHDT.js +0 -282
  397. package/dist/NumDiscreteEditor-U3N37XRQ.js +0 -170
  398. package/dist/NumDiscreteEditor-U3N37XRQ.js.map +0 -7
  399. package/dist/NumDiscreteEditor.unit.spec-WQM4DLKO.js +0 -200
  400. package/dist/NumRegularBinEditor-HQR5Y6P7.js +0 -36
  401. package/dist/NumRegularBinEditor.unit.spec-FL4IFT7L.js +0 -225
  402. package/dist/NumSplineEditor-OESWMWP5.js +0 -188
  403. package/dist/NumSplineEditor-OESWMWP5.js.map +0 -7
  404. package/dist/NumSplineEditor.unit.spec-HYOXO45B.js +0 -197
  405. package/dist/NumericDensity-GJZ4BBJS.js +0 -36
  406. package/dist/NumericDensity.unit.spec-6LXWAXW7.js +0 -219
  407. package/dist/NumericHandler-LZIMPOHS.js +0 -37
  408. package/dist/NumericHandler.unit.spec-ZSU35AMD.js +0 -217
  409. package/dist/RunChart2-7XV6TIFO.js +0 -756
  410. package/dist/RunChart2-7XV6TIFO.js.map +0 -7
  411. package/dist/SC-E4EYAG26.js +0 -733
  412. package/dist/SC-E4EYAG26.js.map +0 -7
  413. package/dist/Volcano-Z7TJK6PW.js +0 -1187
  414. package/dist/Volcano-Z7TJK6PW.js.map +0 -7
  415. package/dist/WSIViewer-ZH2XABLC.js +0 -47933
  416. package/dist/WSIViewer-ZH2XABLC.js.map +0 -7
  417. package/dist/WsiSamplesPlot-BL47MDHQ.js +0 -163
  418. package/dist/adSandbox-V3NTKVBC.js +0 -36
  419. package/dist/alphaGenome-IQVFCSWQ.js +0 -173
  420. package/dist/app-GJLZ2G2U.js +0 -47
  421. package/dist/app-YSD2U64Q.js +0 -35
  422. package/dist/bam-TRIF3AIQ.js +0 -849
  423. package/dist/bam-TRIF3AIQ.js.map +0 -7
  424. package/dist/barchart-GLLUYTAJ.js +0 -45
  425. package/dist/barchart.data-FRYRGKH3.js +0 -22
  426. package/dist/barchart.events-WODVSHRN.js +0 -45
  427. package/dist/barchart.integration.spec-6POS3V3T.js +0 -1675
  428. package/dist/bars.renderer-T5R3UIBW.js +0 -12
  429. package/dist/block-2QM37YSE.js +0 -6300
  430. package/dist/block-2QM37YSE.js.map +0 -7
  431. package/dist/block.init-7HDLKQVX.js +0 -36
  432. package/dist/block.mds.expressionrank-UIB25S6E.js +0 -357
  433. package/dist/block.mds.geneboxplot-4PQYO3MR.js +0 -826
  434. package/dist/block.mds.junction-DWFYZEC2.js +0 -1543
  435. package/dist/block.mds.svcnv-N3KJJ4GQ.js +0 -6799
  436. package/dist/block.svg-2HBDI7BT.js +0 -162
  437. package/dist/block.tk.aicheck-2M4522IQ.js +0 -281
  438. package/dist/block.tk.ase-URIKF6JD.js +0 -363
  439. package/dist/block.tk.bam-HTDMASHX.js +0 -1904
  440. package/dist/block.tk.bedgraphdot-RVKMSFCQ.js +0 -382
  441. package/dist/block.tk.bigwig.ui-7JPEOIKM.js +0 -209
  442. package/dist/block.tk.hicstraw-72J7UJ2J.js +0 -821
  443. package/dist/block.tk.junction-GGFMBCV5.js +0 -2362
  444. package/dist/block.tk.junction.textmatrixui-44SAYYWE.js +0 -197
  445. package/dist/block.tk.ld-XDKJFEOL.js +0 -97
  446. package/dist/block.tk.menu-46FOTM7H.js +0 -1027
  447. package/dist/block.tk.pgv-ZVONRT4B.js +0 -942
  448. package/dist/brainImaging-CSLO7ODJ.js +0 -421
  449. package/dist/chat-GMD22F3K.js +0 -148
  450. package/dist/chunk-22KWZOCN.js +0 -153
  451. package/dist/chunk-22KWZOCN.js.map +0 -7
  452. package/dist/chunk-2NQ4TM74.js +0 -48
  453. package/dist/chunk-2NQ4TM74.js.map +0 -7
  454. package/dist/chunk-2SRMRC6L.js +0 -421
  455. package/dist/chunk-2SRMRC6L.js.map +0 -7
  456. package/dist/chunk-2TIYJ3PH.js +0 -815
  457. package/dist/chunk-2UWHV2SB.js +0 -261
  458. package/dist/chunk-2UWHV2SB.js.map +0 -7
  459. package/dist/chunk-3656ZY4T.js +0 -237
  460. package/dist/chunk-3656ZY4T.js.map +0 -7
  461. package/dist/chunk-3TU6TRLQ.js +0 -98
  462. package/dist/chunk-3TU6TRLQ.js.map +0 -7
  463. package/dist/chunk-4FJ5GS6P.js +0 -4202
  464. package/dist/chunk-4FJ5GS6P.js.map +0 -7
  465. package/dist/chunk-4FO7KZY2.js +0 -534
  466. package/dist/chunk-4OEOQX4L.js +0 -334
  467. package/dist/chunk-4OEOQX4L.js.map +0 -7
  468. package/dist/chunk-5ZICCKEH.js +0 -4952
  469. package/dist/chunk-5ZICCKEH.js.map +0 -7
  470. package/dist/chunk-6UU7VPDO.js +0 -272
  471. package/dist/chunk-6YLQN7FF.js +0 -441
  472. package/dist/chunk-74QJDBIP.js +0 -480
  473. package/dist/chunk-75EBDB7G.js +0 -21
  474. package/dist/chunk-75EBDB7G.js.map +0 -7
  475. package/dist/chunk-7FXPMQRW.js +0 -34
  476. package/dist/chunk-A2Y3GEUH.js +0 -228
  477. package/dist/chunk-AAEXTQT3.js +0 -330
  478. package/dist/chunk-AG6HVFQY.js +0 -504
  479. package/dist/chunk-AG6HVFQY.js.map +0 -7
  480. package/dist/chunk-AHLUW2BN.js +0 -129
  481. package/dist/chunk-AYDXOUFX.js +0 -1275
  482. package/dist/chunk-AYDXOUFX.js.map +0 -7
  483. package/dist/chunk-BBIPZ2UF.js +0 -52
  484. package/dist/chunk-BBVOZ5BY.js +0 -230
  485. package/dist/chunk-BBVOZ5BY.js.map +0 -7
  486. package/dist/chunk-BHVDOW3W.js +0 -470
  487. package/dist/chunk-BNN32RI2.js +0 -36
  488. package/dist/chunk-BNN32RI2.js.map +0 -7
  489. package/dist/chunk-BQLC6QOH.js +0 -368
  490. package/dist/chunk-BQLC6QOH.js.map +0 -7
  491. package/dist/chunk-C5QOWZK6.js +0 -629
  492. package/dist/chunk-CJJ6LDZM.js +0 -170
  493. package/dist/chunk-CJJ6LDZM.js.map +0 -7
  494. package/dist/chunk-D4U5X2QQ.js +0 -261
  495. package/dist/chunk-D4U5X2QQ.js.map +0 -7
  496. package/dist/chunk-DV444SFD.js +0 -26
  497. package/dist/chunk-DWWAB4YQ.js +0 -102
  498. package/dist/chunk-FP5VKE3Z.js +0 -170
  499. package/dist/chunk-G2MAZI6I.js +0 -205
  500. package/dist/chunk-HLRNIO5K.js +0 -158
  501. package/dist/chunk-HTHH2B6D.js +0 -46
  502. package/dist/chunk-HTHH2B6D.js.map +0 -7
  503. package/dist/chunk-I7X6K4OL.js +0 -217
  504. package/dist/chunk-IC7SUXJD.js +0 -82
  505. package/dist/chunk-IC7SUXJD.js.map +0 -7
  506. package/dist/chunk-ITYEOGLB.js +0 -302
  507. package/dist/chunk-J6XKDYNZ.js +0 -276
  508. package/dist/chunk-JDX4E7ZO.js +0 -381
  509. package/dist/chunk-JWX7GYHP.js +0 -95
  510. package/dist/chunk-KISFQDQE.js +0 -258
  511. package/dist/chunk-KISFQDQE.js.map +0 -7
  512. package/dist/chunk-KLFROH3F.js +0 -203
  513. package/dist/chunk-KQSN7PUK.js +0 -215
  514. package/dist/chunk-KQSN7PUK.js.map +0 -7
  515. package/dist/chunk-L2ED35QZ.js +0 -2815
  516. package/dist/chunk-LLPFFNLV.js +0 -526
  517. package/dist/chunk-LLPFFNLV.js.map +0 -7
  518. package/dist/chunk-LRV4VWRF.js +0 -94
  519. package/dist/chunk-LRV4VWRF.js.map +0 -7
  520. package/dist/chunk-M464GTNI.js +0 -615
  521. package/dist/chunk-MDN3K2BG.js +0 -229
  522. package/dist/chunk-MDN3K2BG.js.map +0 -7
  523. package/dist/chunk-N46WTUX7.js +0 -286
  524. package/dist/chunk-N46WTUX7.js.map +0 -7
  525. package/dist/chunk-NBMJ2UMA.js +0 -194
  526. package/dist/chunk-NI7VSKJI.js +0 -293
  527. package/dist/chunk-NTVM4ZPG.js +0 -2784
  528. package/dist/chunk-O64UTRAC.js +0 -252
  529. package/dist/chunk-OM326NV3.js +0 -100
  530. package/dist/chunk-P4ENJUBN.js +0 -386
  531. package/dist/chunk-PEKVBCIH.js +0 -824
  532. package/dist/chunk-PF6MKI4X.js +0 -92
  533. package/dist/chunk-PJTQP6RL.js +0 -54
  534. package/dist/chunk-PVSRVJBE.js +0 -1201
  535. package/dist/chunk-PVSRVJBE.js.map +0 -7
  536. package/dist/chunk-PZ3L3KM6.js +0 -55
  537. package/dist/chunk-QEHUEG4X.js +0 -1788
  538. package/dist/chunk-QEHUEG4X.js.map +0 -7
  539. package/dist/chunk-QXCVG66S.js +0 -2672
  540. package/dist/chunk-RIGZHHCP.js +0 -119
  541. package/dist/chunk-SEIANPCX.js +0 -142
  542. package/dist/chunk-SK7YVOQN.js +0 -148
  543. package/dist/chunk-SPPZB5ZQ.js +0 -158
  544. package/dist/chunk-SPPZB5ZQ.js.map +0 -7
  545. package/dist/chunk-T5KFRIP4.js +0 -1087
  546. package/dist/chunk-TTSNECVD.js +0 -1413
  547. package/dist/chunk-TTSNECVD.js.map +0 -7
  548. package/dist/chunk-TVXESYIR.js +0 -439
  549. package/dist/chunk-TVXESYIR.js.map +0 -7
  550. package/dist/chunk-U3UR3U3F.js +0 -446
  551. package/dist/chunk-UBS5UVIY.js +0 -13624
  552. package/dist/chunk-UFYU7AKL.js +0 -107
  553. package/dist/chunk-VIYGTRUZ.js +0 -6364
  554. package/dist/chunk-WCTH7CB3.js +0 -31
  555. package/dist/chunk-WGSWVYHY.js +0 -1155
  556. package/dist/chunk-WGSWVYHY.js.map +0 -7
  557. package/dist/chunk-WYZ4COTF.js +0 -226
  558. package/dist/chunk-WZRXJ5LL.js +0 -2370
  559. package/dist/chunk-XDI4UFCZ.js +0 -467
  560. package/dist/chunk-XDI4UFCZ.js.map +0 -7
  561. package/dist/chunk-XZZLEHWC.js +0 -20328
  562. package/dist/chunk-XZZLEHWC.js.map +0 -7
  563. package/dist/chunk-Y7JAPSMG.js +0 -406
  564. package/dist/chunk-Y7JAPSMG.js.map +0 -7
  565. package/dist/chunk-YJ2HC4CP.js +0 -1150
  566. package/dist/chunk-ZLH4PJKX.js +0 -1658
  567. package/dist/chunk-ZLH4PJKX.js.map +0 -7
  568. package/dist/chunk-ZZSDYKD5.js +0 -14
  569. package/dist/condition-S52W57ZO.js +0 -330
  570. package/dist/controls-B4MTTPWO.js +0 -39
  571. package/dist/controls.config-6KBCTIPN.js +0 -37
  572. package/dist/correlation-VSBCBFFP.js +0 -96
  573. package/dist/cuminc-T5ZPAGVB.js +0 -1147
  574. package/dist/cuminc.integration.spec-2QT3IPHU.js +0 -676
  575. package/dist/customdata.inputui-5MHQQHJL.js +0 -285
  576. package/dist/customdata.inputui-5MHQQHJL.js.map +0 -7
  577. package/dist/dataDownload-S4EBNHMW.js +0 -328
  578. package/dist/dataDownload.integration.spec-OVSIWI34.js +0 -191
  579. package/dist/databrowser.ui-EAJS3NXV.js +0 -419
  580. package/dist/dictionary-CQHSMVYF.js +0 -98
  581. package/dist/dictionary-CQHSMVYF.js.map +0 -7
  582. package/dist/dnaMethylation-G3F2INDH.js +0 -36
  583. package/dist/dnaMethylation.integration.spec-FWF4353K.js +0 -179
  584. package/dist/dnaMethylation.integration.spec-FWF4353K.js.map +0 -7
  585. package/dist/e2pca-SLXGPVHP.js +0 -348
  586. package/dist/ep-4HGUSDGJ.js +0 -1254
  587. package/dist/expclust.gdc.spec-JJ42ESKE.js +0 -305
  588. package/dist/facet-6WVTVKDV.js +0 -519
  589. package/dist/geneExpClustering-5LOZPD5X.js +0 -246
  590. package/dist/geneExpression-BJ46UGXW.js +0 -312
  591. package/dist/geneExpression-PTSZWKCM.js +0 -36
  592. package/dist/geneExpression.unit.spec-NW5HTO7F.js +0 -100
  593. package/dist/geneORA-H65EZ7QO.js +0 -276
  594. package/dist/geneVariant-T6GWOVZD.js +0 -39
  595. package/dist/geneVariant-WTDFZTXG.js +0 -37
  596. package/dist/geneVariant.integration.spec-OPSBRUM3.js +0 -196
  597. package/dist/genefusion.ui-RSBCC37C.js +0 -249
  598. package/dist/geneset-B67PAZVL.js +0 -194
  599. package/dist/genomeBrowser.spec-AUTULF4C.js +0 -279
  600. package/dist/grin2-CMBP7XVH.js +0 -1031
  601. package/dist/grin2-JVCNH3KW.js +0 -1554
  602. package/dist/gsea-H774WVPQ.js +0 -45
  603. package/dist/hierCluster-IQTXQUMI.js +0 -58
  604. package/dist/hierCluster-ZQJDXYBD.js +0 -62
  605. package/dist/hierCluster.config-ZHJTZK5L.js +0 -38
  606. package/dist/hierCluster.integration.spec-MSJ5GHHK.js +0 -374
  607. package/dist/hierCluster.interactivity-H2GNO6AA.js +0 -52
  608. package/dist/hierCluster.renderers-2TE6HMK2.js +0 -21
  609. package/dist/imagePlot-FMNMB7JZ.js +0 -139
  610. package/dist/importPlot-N66G43XX.js +0 -8
  611. package/dist/isoformExpression-B64WLO3H.js +0 -38
  612. package/dist/isoformExpression.unit.spec-D2R6CRKO.js +0 -126
  613. package/dist/isoformExpression.unit.spec-D2R6CRKO.js.map +0 -7
  614. package/dist/jspdf.es.min-DO4YWL2R.js +0 -40
  615. package/dist/launch.adhoc-MPRAJ3GN.js +0 -40
  616. package/dist/leftlabel.sample-4JCKYXED.js +0 -257
  617. package/dist/lollipop-25ADHT7O.js +0 -166
  618. package/dist/maf-POYTGXT4.js +0 -442
  619. package/dist/maf-POYTGXT4.js.map +0 -7
  620. package/dist/maftimeline-FOQF6O3X.js +0 -591
  621. package/dist/matrix-LHLAYDTQ.js +0 -57
  622. package/dist/matrix-ZKF7NRAD.js +0 -62
  623. package/dist/matrix.cells-H4TS74FJ.js +0 -28
  624. package/dist/matrix.config-HE7QUDER.js +0 -39
  625. package/dist/matrix.controls-VILCLNSC.js +0 -37
  626. package/dist/matrix.data-2OUWYD35.js +0 -25
  627. package/dist/matrix.dom-IZFFS4RQ.js +0 -11
  628. package/dist/matrix.groups-5BGJIOOJ.js +0 -26
  629. package/dist/matrix.integration.spec-DSXZHAEY.js +0 -3070
  630. package/dist/matrix.interactivity-VK3NWX5M.js +0 -40
  631. package/dist/matrix.layout-PUNMMNCC.js +0 -42
  632. package/dist/matrix.legend-QMERGVYU.js +0 -22
  633. package/dist/matrix.renderers-2KQ2NXSQ.js +0 -36
  634. package/dist/matrix.serieses-24G3XPJD.js +0 -21
  635. package/dist/matrix.sort-HTVT4K7C.js +0 -27
  636. package/dist/matrix.sort.unit.spec-EUVL76NB.js +0 -470
  637. package/dist/matrix.sorterUi-PJPFXWOJ.js +0 -18
  638. package/dist/matrix.sorterUi.unit.spec-QWL5Y4DQ.js +0 -340
  639. package/dist/mavb-UGM5SHEF.js +0 -730
  640. package/dist/mds.fimo-64US7RTE.js +0 -516
  641. package/dist/mds.samplescatterplot-JMXLXVIE.js +0 -1548
  642. package/dist/mds.survivalplot-RJ5UD3IU.js +0 -481
  643. package/dist/oncomatrix-ZFT3DRAP.js +0 -293
  644. package/dist/oncomatrix-ZFT3DRAP.js.map +0 -7
  645. package/dist/oncomatrix.spec-4YLKDGFE.js +0 -446
  646. package/dist/plot.2dvaf-DYSU6BBN.js +0 -375
  647. package/dist/plot.app-NFBVLAXZ.js +0 -39
  648. package/dist/plot.barplot-DBGTDK7J.js +0 -100
  649. package/dist/plot.boxplot-MCKZUROP.js +0 -150
  650. package/dist/plot.brainImaging-BBAVUEB4.js +0 -51
  651. package/dist/plot.disco-VGOEQYRL.js +0 -101
  652. package/dist/plot.disco-VGOEQYRL.js.map +0 -7
  653. package/dist/plot.dzi-YQIFOTZQ.js +0 -33
  654. package/dist/plot.ssgq-MU3BRTMC.js +0 -137
  655. package/dist/plot.vaf2cov-KDHZ7JXJ.js +0 -257
  656. package/dist/plot.wsi-G2TUGQF7.js +0 -36
  657. package/dist/polar-RCCZXZIU.js +0 -184
  658. package/dist/polar2-COQ3WIGW.js +0 -226
  659. package/dist/profile.spec-A4ZASR2T.js +0 -78
  660. package/dist/profileBarchart-GB4RK5DF.js +0 -265
  661. package/dist/profileForms-O5KBHRF6.js +0 -438
  662. package/dist/profilePlot-COCLCP5B.js +0 -52
  663. package/dist/profileRadar-4EE3YDOH.js +0 -261
  664. package/dist/profileRadarFacility-JYTSGA5H.js +0 -261
  665. package/dist/profileRadarFacility-JYTSGA5H.js.map +0 -7
  666. package/dist/proteomeAbundance-JBVXUSD6.js +0 -19
  667. package/dist/proteomeAbundance-NQVU4DOW.js +0 -63
  668. package/dist/qualitative-QROOPDSI.js +0 -41
  669. package/dist/regression-7FQZ22OO.js +0 -54
  670. package/dist/regression.inputs-F62CES3A.js +0 -46
  671. package/dist/regression.inputs.term-BCGP7PX4.js +0 -46
  672. package/dist/regression.inputs.values.table-D3ZXZSH7.js +0 -43
  673. package/dist/regression.integration.spec-P2BBTT2O.js +0 -784
  674. package/dist/regression.integration.spec-P2BBTT2O.js.map +0 -7
  675. package/dist/regression.results-JX6RJQQP.js +0 -38
  676. package/dist/regression.spec-ROME7T33.js +0 -706
  677. package/dist/report-B6MM4T6B.js +0 -220
  678. package/dist/sampleScatter.spec-EPCMC3SR.js +0 -200
  679. package/dist/sampleView-77EAJ75T.js +0 -46
  680. package/dist/samplelst-CX4NQWA7.js +0 -109
  681. package/dist/samplematrix-PYQFAH64.js +0 -2196
  682. package/dist/sc-X6SI5VVI.js +0 -84
  683. package/dist/scatter-ZFFHAI4F.js +0 -800
  684. package/dist/scatter.integration.spec-NN43OXRN.js +0 -1194
  685. package/dist/scatter.integration.spec-NN43OXRN.js.map +0 -7
  686. package/dist/selectGenomeWithTklst-CZMVTBMD.js +0 -132
  687. package/dist/singleCellCellType-GOBX7JKV.js +0 -36
  688. package/dist/singleCellCellType.unit.spec-F344QMTQ.js +0 -177
  689. package/dist/singleCellCellType.unit.spec-F344QMTQ.js.map +0 -7
  690. package/dist/singleCellGeneExpression-BLMNMEAI.js +0 -36
  691. package/dist/singleCellGeneExpression.unit.spec-6ZEPUFWC.js +0 -163
  692. package/dist/singleCellGeneExpression.unit.spec-6ZEPUFWC.js.map +0 -7
  693. package/dist/singleCellPlot-HLD7PLQH.js +0 -51
  694. package/dist/singlecell-HL4GLGIA.js +0 -1570
  695. package/dist/singlecell-JQFPINRS.js +0 -84
  696. package/dist/snp-EAUNFDAV.js +0 -36
  697. package/dist/snp.unit.spec-AVLPMAWI.js +0 -174
  698. package/dist/snplocus-2J7OA6OL.js +0 -206
  699. package/dist/spliceevent.a53ss.diagram-4DU2U7NW.js +0 -149
  700. package/dist/spliceevent.exonskip.diagram-GG5FGXOK.js +0 -275
  701. package/dist/spliceevent.noeventdiagram-T6RNIMCM.js +0 -458
  702. package/dist/ssGSEA-XJWLRVFQ.js +0 -36
  703. package/dist/ssGSEA.unit.spec-MQ23ODYO.js +0 -86
  704. package/dist/summarizeCnvGeneexp-CJPC76RM.js +0 -158
  705. package/dist/summarizeCnvGeneexp-CJPC76RM.js.map +0 -7
  706. package/dist/summarizeGeneexpSurvival-FGCFZTVG.js +0 -105
  707. package/dist/summarizeGeneexpSurvival-FGCFZTVG.js.map +0 -7
  708. package/dist/summarizeMutationCnv-4E7R2NHQ.js +0 -159
  709. package/dist/summarizeMutationCnv-4E7R2NHQ.js.map +0 -7
  710. package/dist/summarizeMutationDiagnosis-ZVX7AZK7.js +0 -38
  711. package/dist/summarizeMutationSurvival-EWXD7TCT.js +0 -97
  712. package/dist/summary-VUYBKQOC.js +0 -47
  713. package/dist/summary.integration.spec-EPBV5XCT.js +0 -412
  714. package/dist/summaryInput-YX5IRGWM.js +0 -218
  715. package/dist/sunburst-HPDML45I.js +0 -282
  716. package/dist/sunburst-HPDML45I.js.map +0 -7
  717. package/dist/survival-E6SRRXBB.js +0 -44
  718. package/dist/survival-XOXDPXZR.js +0 -56
  719. package/dist/survival.integration.spec-SJBPJZGJ.js +0 -787
  720. package/dist/svg2pdf.es.min-EZ4UYRSH.js +0 -3157
  721. package/dist/svgraph-D23WG3UE.js +0 -1385
  722. package/dist/svmr-UFC4TKWV.js +0 -3840
  723. package/dist/table-US2K6IYZ.js +0 -198
  724. package/dist/termCollection-E7S57CIN.js +0 -177
  725. package/dist/termCollection-ZMP3VE2G.js +0 -36
  726. package/dist/termCollection.unit.spec-MDWK6XH3.js +0 -206
  727. package/dist/tk-TLQJK6R4.js +0 -44
  728. package/dist/tp.ui-NQEAKWUH.js +0 -1457
  729. package/dist/tvs.dt-U2MINIBH.js +0 -37
  730. package/dist/tvs.dtcnv.categorical-2OOAZJKC.js +0 -38
  731. package/dist/tvs.dtcnv.continuous-5ETKBJ52.js +0 -70
  732. package/dist/tvs.dtfusion-EB4PPR3Y.js +0 -38
  733. package/dist/tvs.dtsnvindel-IRQPTKQF.js +0 -38
  734. package/dist/tvs.dtsv-TOVXZJCR.js +0 -38
  735. package/dist/tvs.samplelst-4SCH543Y.js +0 -102
  736. package/dist/tvs.termCollection-GGN5F6HC.js +0 -151
  737. package/dist/violin-7D7DN74I.js +0 -44
  738. package/dist/violin.integration.spec-KE76AL54.js +0 -1417
  739. package/dist/violin.integration.spec-KE76AL54.js.map +0 -7
  740. package/dist/violin.interactivity-YPJ2H6SQ.js +0 -36
  741. package/dist/violin.renderer-UK7WSA2Z.js +0 -38
  742. package/dist/vocabulary-KLWZ6LRP.js +0 -39
  743. /package/dist/{2dmaf-PFPBHIUI.js.map → 2dmaf-6ZTETSC5.js.map} +0 -0
  744. /package/dist/{AppHeader-FCWML6WH.js.map → AppHeader-U7SJPIBS.js.map} +0 -0
  745. /package/dist/{CorrelationVolcano-ZJ7Q6JBC.js.map → CorrelationVolcano-7SE4CTBW.js.map} +0 -0
  746. /package/dist/{DifferentialAnalysis-PWCFCWFY.js.map → DifferentialAnalysis-L6BOEYVO.js.map} +0 -0
  747. /package/dist/{Disco.UI-SR7LSJE3.js.map → Disco.UI-HKOUAD4P.js.map} +0 -0
  748. /package/dist/{DmrPlot-UDY7GOSY.js.map → DmrPlot-3R24PTXP.js.map} +0 -0
  749. /package/dist/{GB-GNTOP5C6.js.map → GB-SZVYZASR.js.map} +0 -0
  750. /package/dist/{HicApp-FZTJL3OA.js.map → HicApp-SEEJETVE.js.map} +0 -0
  751. /package/dist/{NumBinaryEditor.unit.spec-BMVRI24W.js.map → NumBinaryEditor.unit.spec-76ZZXTYC.js.map} +0 -0
  752. /package/dist/{NumContEditor-6JT5D6IW.js.map → NumContEditor-G75O4YZE.js.map} +0 -0
  753. /package/dist/{NumContEditor.unit.spec-XBQF2SW6.js.map → NumContEditor.unit.spec-BFUZRBPL.js.map} +0 -0
  754. /package/dist/{NumCustomBinEditor-MEKEFOQI.js.map → NumCustomBinEditor-ILTPHCEF.js.map} +0 -0
  755. /package/dist/{NumCustomBinEditor.unit.spec-LEMQJHDT.js.map → NumCustomBinEditor.unit.spec-GFIYV55V.js.map} +0 -0
  756. /package/dist/{NumDiscreteEditor.unit.spec-WQM4DLKO.js.map → NumDiscreteEditor.unit.spec-NZ4KWPFK.js.map} +0 -0
  757. /package/dist/{NumRegularBinEditor-HQR5Y6P7.js.map → NumRegularBinEditor-7ZJ2MEMY.js.map} +0 -0
  758. /package/dist/{NumRegularBinEditor.unit.spec-FL4IFT7L.js.map → NumRegularBinEditor.unit.spec-QGVJET65.js.map} +0 -0
  759. /package/dist/{NumSplineEditor.unit.spec-HYOXO45B.js.map → NumSplineEditor.unit.spec-YQOOZA7S.js.map} +0 -0
  760. /package/dist/{NumericDensity-GJZ4BBJS.js.map → NumericDensity-RL42P4QC.js.map} +0 -0
  761. /package/dist/{NumericDensity.unit.spec-6LXWAXW7.js.map → NumericDensity.unit.spec-Y6RMTYC7.js.map} +0 -0
  762. /package/dist/{NumericHandler-LZIMPOHS.js.map → NumericHandler-4QIX324I.js.map} +0 -0
  763. /package/dist/{NumericHandler.unit.spec-ZSU35AMD.js.map → NumericHandler.unit.spec-T6F5QYP6.js.map} +0 -0
  764. /package/dist/{WsiSamplesPlot-BL47MDHQ.js.map → WsiSamplesPlot-CXGWPCDL.js.map} +0 -0
  765. /package/dist/{adSandbox-V3NTKVBC.js.map → adSandbox-DE4VRO4Z.js.map} +0 -0
  766. /package/dist/{alphaGenome-IQVFCSWQ.js.map → alphaGenome-FSIGC5ZT.js.map} +0 -0
  767. /package/dist/{app-GJLZ2G2U.js.map → app-KZGKWQMU.js.map} +0 -0
  768. /package/dist/{app-YSD2U64Q.js.map → app-MQRJ7FVL.js.map} +0 -0
  769. /package/dist/{barchart-GLLUYTAJ.js.map → barchart-4Q6LVJY4.js.map} +0 -0
  770. /package/dist/{barchart.data-FRYRGKH3.js.map → barchart.data-EXENRVMU.js.map} +0 -0
  771. /package/dist/{barchart.events-WODVSHRN.js.map → barchart.events-XRGND6I7.js.map} +0 -0
  772. /package/dist/{barchart.integration.spec-6POS3V3T.js.map → barchart.integration.spec-VQITP4YH.js.map} +0 -0
  773. /package/dist/{bars.renderer-T5R3UIBW.js.map → bars.renderer-S7A7I6BQ.js.map} +0 -0
  774. /package/dist/{block.init-7HDLKQVX.js.map → block.init-NCNSE3HD.js.map} +0 -0
  775. /package/dist/{block.mds.expressionrank-UIB25S6E.js.map → block.mds.expressionrank-JYZARS7T.js.map} +0 -0
  776. /package/dist/{block.mds.geneboxplot-4PQYO3MR.js.map → block.mds.geneboxplot-FD2MCIHV.js.map} +0 -0
  777. /package/dist/{block.mds.junction-DWFYZEC2.js.map → block.mds.junction-LOHVQBIU.js.map} +0 -0
  778. /package/dist/{block.mds.svcnv-N3KJJ4GQ.js.map → block.mds.svcnv-Z7SAYPQL.js.map} +0 -0
  779. /package/dist/{block.svg-2HBDI7BT.js.map → block.svg-LNJOKQNN.js.map} +0 -0
  780. /package/dist/{block.tk.aicheck-2M4522IQ.js.map → block.tk.aicheck-IXCMMAGV.js.map} +0 -0
  781. /package/dist/{block.tk.ase-URIKF6JD.js.map → block.tk.ase-WYRYFP6N.js.map} +0 -0
  782. /package/dist/{block.tk.bam-HTDMASHX.js.map → block.tk.bam-EIVBNGAL.js.map} +0 -0
  783. /package/dist/{block.tk.bedgraphdot-RVKMSFCQ.js.map → block.tk.bedgraphdot-3FHLNCU7.js.map} +0 -0
  784. /package/dist/{block.tk.bigwig.ui-7JPEOIKM.js.map → block.tk.bigwig.ui-YDQU5PC4.js.map} +0 -0
  785. /package/dist/{block.tk.hicstraw-72J7UJ2J.js.map → block.tk.hicstraw-S3ROL3CV.js.map} +0 -0
  786. /package/dist/{block.tk.junction-GGFMBCV5.js.map → block.tk.junction-DL7RNWX3.js.map} +0 -0
  787. /package/dist/{block.tk.junction.textmatrixui-44SAYYWE.js.map → block.tk.junction.textmatrixui-Z6I7IEDY.js.map} +0 -0
  788. /package/dist/{block.tk.ld-XDKJFEOL.js.map → block.tk.ld-XHVU6L56.js.map} +0 -0
  789. /package/dist/{block.tk.menu-46FOTM7H.js.map → block.tk.menu-FPLAEEFY.js.map} +0 -0
  790. /package/dist/{block.tk.pgv-ZVONRT4B.js.map → block.tk.pgv-6ZZ2QGNO.js.map} +0 -0
  791. /package/dist/{brainImaging-CSLO7ODJ.js.map → brainImaging-VSOOMITW.js.map} +0 -0
  792. /package/dist/{chat-GMD22F3K.js.map → chat-LW23PIG5.js.map} +0 -0
  793. /package/dist/{chunk-WCTH7CB3.js.map → chunk-2LULD7RN.js.map} +0 -0
  794. /package/dist/{chunk-HLRNIO5K.js.map → chunk-3AGB6HL4.js.map} +0 -0
  795. /package/dist/{chunk-PZ3L3KM6.js.map → chunk-3AVDNIDN.js.map} +0 -0
  796. /package/dist/{chunk-JDX4E7ZO.js.map → chunk-3DCABJHB.js.map} +0 -0
  797. /package/dist/{chunk-DWWAB4YQ.js.map → chunk-3JMB3OSC.js.map} +0 -0
  798. /package/dist/{chunk-PF6MKI4X.js.map → chunk-5RFB7TYT.js.map} +0 -0
  799. /package/dist/{chunk-4FO7KZY2.js.map → chunk-5UMPBVA6.js.map} +0 -0
  800. /package/dist/{chunk-UBS5UVIY.js.map → chunk-6LAE5AVA.js.map} +0 -0
  801. /package/dist/{chunk-6UU7VPDO.js.map → chunk-7VV43ICF.js.map} +0 -0
  802. /package/dist/{chunk-M464GTNI.js.map → chunk-A742TQD2.js.map} +0 -0
  803. /package/dist/{chunk-74QJDBIP.js.map → chunk-AFLFPYJI.js.map} +0 -0
  804. /package/dist/{chunk-WYZ4COTF.js.map → chunk-BAY47D5E.js.map} +0 -0
  805. /package/dist/{chunk-DV444SFD.js.map → chunk-CFHKYLDY.js.map} +0 -0
  806. /package/dist/{chunk-AHLUW2BN.js.map → chunk-CTAKX5CT.js.map} +0 -0
  807. /package/dist/{chunk-FP5VKE3Z.js.map → chunk-D4QFQQWJ.js.map} +0 -0
  808. /package/dist/{chunk-KLFROH3F.js.map → chunk-DGMK7SXX.js.map} +0 -0
  809. /package/dist/{chunk-U3UR3U3F.js.map → chunk-DNCSPTOQ.js.map} +0 -0
  810. /package/dist/{chunk-QXCVG66S.js.map → chunk-DTDQKGIQ.js.map} +0 -0
  811. /package/dist/{chunk-SEIANPCX.js.map → chunk-E4NVHKWD.js.map} +0 -0
  812. /package/dist/{chunk-L2ED35QZ.js.map → chunk-I4IKRKYJ.js.map} +0 -0
  813. /package/dist/{chunk-VIYGTRUZ.js.map → chunk-IEQSUAIO.js.map} +0 -0
  814. /package/dist/{chunk-BBIPZ2UF.js.map → chunk-JMPSZMDD.js.map} +0 -0
  815. /package/dist/{chunk-NTVM4ZPG.js.map → chunk-JXOL73PT.js.map} +0 -0
  816. /package/dist/{chunk-OM326NV3.js.map → chunk-K62XUHA4.js.map} +0 -0
  817. /package/dist/{chunk-2TIYJ3PH.js.map → chunk-KQMEJUWI.js.map} +0 -0
  818. /package/dist/{chunk-6YLQN7FF.js.map → chunk-MV6O4I2B.js.map} +0 -0
  819. /package/dist/{chunk-SK7YVOQN.js.map → chunk-MXNSW55L.js.map} +0 -0
  820. /package/dist/{chunk-A2Y3GEUH.js.map → chunk-NB7NLFGZ.js.map} +0 -0
  821. /package/dist/{chunk-ITYEOGLB.js.map → chunk-NGGWK6HX.js.map} +0 -0
  822. /package/dist/{chunk-T5KFRIP4.js.map → chunk-OGGFS66K.js.map} +0 -0
  823. /package/dist/{chunk-J6XKDYNZ.js.map → chunk-OSM7YS23.js.map} +0 -0
  824. /package/dist/{chunk-UFYU7AKL.js.map → chunk-Q7PYFSNU.js.map} +0 -0
  825. /package/dist/{chunk-P4ENJUBN.js.map → chunk-QMI222IJ.js.map} +0 -0
  826. /package/dist/{chunk-O64UTRAC.js.map → chunk-QRIRWDIW.js.map} +0 -0
  827. /package/dist/{chunk-ZZSDYKD5.js.map → chunk-R6L6NVEC.js.map} +0 -0
  828. /package/dist/{chunk-7FXPMQRW.js.map → chunk-RLTLYKHO.js.map} +0 -0
  829. /package/dist/{chunk-NI7VSKJI.js.map → chunk-S5ZI6N2I.js.map} +0 -0
  830. /package/dist/{chunk-PJTQP6RL.js.map → chunk-TEZLFSOV.js.map} +0 -0
  831. /package/dist/{chunk-PEKVBCIH.js.map → chunk-UEMTP6ZC.js.map} +0 -0
  832. /package/dist/{chunk-RIGZHHCP.js.map → chunk-UJU3Q7QJ.js.map} +0 -0
  833. /package/dist/{chunk-WZRXJ5LL.js.map → chunk-V245THQC.js.map} +0 -0
  834. /package/dist/{chunk-I7X6K4OL.js.map → chunk-VIPMLSZP.js.map} +0 -0
  835. /package/dist/{chunk-YJ2HC4CP.js.map → chunk-VUUZJANK.js.map} +0 -0
  836. /package/dist/{chunk-G2MAZI6I.js.map → chunk-WGHO2NCP.js.map} +0 -0
  837. /package/dist/{chunk-AAEXTQT3.js.map → chunk-WGL6FIUE.js.map} +0 -0
  838. /package/dist/{chunk-NBMJ2UMA.js.map → chunk-WPHOEG56.js.map} +0 -0
  839. /package/dist/{chunk-BHVDOW3W.js.map → chunk-WS5XVKPJ.js.map} +0 -0
  840. /package/dist/{chunk-JWX7GYHP.js.map → chunk-YY4CKQJ6.js.map} +0 -0
  841. /package/dist/{chunk-C5QOWZK6.js.map → chunk-Z3KV6SC2.js.map} +0 -0
  842. /package/dist/{condition-S52W57ZO.js.map → condition-JKQIRMMW.js.map} +0 -0
  843. /package/dist/{controls-B4MTTPWO.js.map → controls-324AGOZG.js.map} +0 -0
  844. /package/dist/{controls.config-6KBCTIPN.js.map → controls.config-TA4NNARU.js.map} +0 -0
  845. /package/dist/{correlation-VSBCBFFP.js.map → correlation-3Z36TKC2.js.map} +0 -0
  846. /package/dist/{cuminc-T5ZPAGVB.js.map → cuminc-4DY2CSZF.js.map} +0 -0
  847. /package/dist/{cuminc.integration.spec-2QT3IPHU.js.map → cuminc.integration.spec-SFQPLMSF.js.map} +0 -0
  848. /package/dist/{dataDownload-S4EBNHMW.js.map → dataDownload-3AE2N7KI.js.map} +0 -0
  849. /package/dist/{dataDownload.integration.spec-OVSIWI34.js.map → dataDownload.integration.spec-DKOT6BJP.js.map} +0 -0
  850. /package/dist/{databrowser.ui-EAJS3NXV.js.map → databrowser.ui-ATODRS5P.js.map} +0 -0
  851. /package/dist/{dnaMethylation-G3F2INDH.js.map → dnaMethylation-TVA5YMOR.js.map} +0 -0
  852. /package/dist/{e2pca-SLXGPVHP.js.map → e2pca-KHVDNFEZ.js.map} +0 -0
  853. /package/dist/{ep-4HGUSDGJ.js.map → ep-B5GAAMNM.js.map} +0 -0
  854. /package/dist/{expclust.gdc.spec-JJ42ESKE.js.map → expclust.gdc.spec-EDPX7V6K.js.map} +0 -0
  855. /package/dist/{facet-6WVTVKDV.js.map → facet-ZCSXKXIO.js.map} +0 -0
  856. /package/dist/{geneExpClustering-5LOZPD5X.js.map → geneExpClustering-ERNCMAED.js.map} +0 -0
  857. /package/dist/{geneExpression-PTSZWKCM.js.map → geneExpression-HUOXWETT.js.map} +0 -0
  858. /package/dist/{geneExpression-BJ46UGXW.js.map → geneExpression-X2KXJPND.js.map} +0 -0
  859. /package/dist/{geneExpression.unit.spec-NW5HTO7F.js.map → geneExpression.unit.spec-5QQB4ISW.js.map} +0 -0
  860. /package/dist/{geneORA-H65EZ7QO.js.map → geneORA-B5UK77KL.js.map} +0 -0
  861. /package/dist/{geneVariant-T6GWOVZD.js.map → geneVariant-7MGUAIZ6.js.map} +0 -0
  862. /package/dist/{geneVariant-WTDFZTXG.js.map → geneVariant-FK3KZJ2K.js.map} +0 -0
  863. /package/dist/{geneVariant.integration.spec-OPSBRUM3.js.map → geneVariant.integration.spec-C6TYWKIC.js.map} +0 -0
  864. /package/dist/{genefusion.ui-RSBCC37C.js.map → genefusion.ui-VKAINMY7.js.map} +0 -0
  865. /package/dist/{geneset-B67PAZVL.js.map → geneset-673KAZVX.js.map} +0 -0
  866. /package/dist/{genomeBrowser.spec-AUTULF4C.js.map → genomeBrowser.spec-T6TQCJ3O.js.map} +0 -0
  867. /package/dist/{grin2-JVCNH3KW.js.map → grin2-376BD4XY.js.map} +0 -0
  868. /package/dist/{grin2-CMBP7XVH.js.map → grin2-OALS75LC.js.map} +0 -0
  869. /package/dist/{gsea-H774WVPQ.js.map → gsea-25LD2LGP.js.map} +0 -0
  870. /package/dist/{hierCluster-IQTXQUMI.js.map → hierCluster-7KU3K52V.js.map} +0 -0
  871. /package/dist/{hierCluster-ZQJDXYBD.js.map → hierCluster-M5VVWKQK.js.map} +0 -0
  872. /package/dist/{hierCluster.config-ZHJTZK5L.js.map → hierCluster.config-EDO3SH2P.js.map} +0 -0
  873. /package/dist/{hierCluster.integration.spec-MSJ5GHHK.js.map → hierCluster.integration.spec-UOX7J2XD.js.map} +0 -0
  874. /package/dist/{hierCluster.interactivity-H2GNO6AA.js.map → hierCluster.interactivity-FEFZDXML.js.map} +0 -0
  875. /package/dist/{hierCluster.renderers-2TE6HMK2.js.map → hierCluster.renderers-A6MEGO2B.js.map} +0 -0
  876. /package/dist/{imagePlot-FMNMB7JZ.js.map → imagePlot-FPXZ2H5Z.js.map} +0 -0
  877. /package/dist/{importPlot-N66G43XX.js.map → importPlot-VKWPSFEK.js.map} +0 -0
  878. /package/dist/{isoformExpression-B64WLO3H.js.map → isoformExpression-2R2TOB6P.js.map} +0 -0
  879. /package/dist/{jspdf.es.min-DO4YWL2R.js.map → jspdf.es.min-FC3BCETM.js.map} +0 -0
  880. /package/dist/{launch.adhoc-MPRAJ3GN.js.map → launch.adhoc-242RS6DW.js.map} +0 -0
  881. /package/dist/{leftlabel.sample-4JCKYXED.js.map → leftlabel.sample-OJW3AE64.js.map} +0 -0
  882. /package/dist/{lollipop-25ADHT7O.js.map → lollipop-TRQ3LK7Y.js.map} +0 -0
  883. /package/dist/{maftimeline-FOQF6O3X.js.map → maftimeline-GVX7NJP7.js.map} +0 -0
  884. /package/dist/{matrix-LHLAYDTQ.js.map → matrix-73KRNXLM.js.map} +0 -0
  885. /package/dist/{matrix-ZKF7NRAD.js.map → matrix-US3OXYRY.js.map} +0 -0
  886. /package/dist/{matrix.cells-H4TS74FJ.js.map → matrix.cells-U7AQNEBP.js.map} +0 -0
  887. /package/dist/{matrix.config-HE7QUDER.js.map → matrix.config-Q57D7C3F.js.map} +0 -0
  888. /package/dist/{matrix.controls-VILCLNSC.js.map → matrix.controls-AWXDRSWP.js.map} +0 -0
  889. /package/dist/{matrix.data-2OUWYD35.js.map → matrix.data-EEIY6AO4.js.map} +0 -0
  890. /package/dist/{matrix.dom-IZFFS4RQ.js.map → matrix.dom-6QL3AJMW.js.map} +0 -0
  891. /package/dist/{matrix.groups-5BGJIOOJ.js.map → matrix.groups-CUB6UWC5.js.map} +0 -0
  892. /package/dist/{matrix.integration.spec-DSXZHAEY.js.map → matrix.integration.spec-PQH67KRM.js.map} +0 -0
  893. /package/dist/{matrix.interactivity-VK3NWX5M.js.map → matrix.interactivity-JW4AXAWO.js.map} +0 -0
  894. /package/dist/{matrix.layout-PUNMMNCC.js.map → matrix.layout-I56KRVCO.js.map} +0 -0
  895. /package/dist/{matrix.legend-QMERGVYU.js.map → matrix.legend-42LQGAGX.js.map} +0 -0
  896. /package/dist/{matrix.renderers-2KQ2NXSQ.js.map → matrix.renderers-IX3FCNBK.js.map} +0 -0
  897. /package/dist/{matrix.serieses-24G3XPJD.js.map → matrix.serieses-4B2WB526.js.map} +0 -0
  898. /package/dist/{matrix.sort-HTVT4K7C.js.map → matrix.sort-BJACNR7G.js.map} +0 -0
  899. /package/dist/{matrix.sort.unit.spec-EUVL76NB.js.map → matrix.sort.unit.spec-3KKDKIPY.js.map} +0 -0
  900. /package/dist/{matrix.sorterUi-PJPFXWOJ.js.map → matrix.sorterUi-W6XFYZY2.js.map} +0 -0
  901. /package/dist/{matrix.sorterUi.unit.spec-QWL5Y4DQ.js.map → matrix.sorterUi.unit.spec-CMJ7EBIW.js.map} +0 -0
  902. /package/dist/{mavb-UGM5SHEF.js.map → mavb-ROAE6WYA.js.map} +0 -0
  903. /package/dist/{mds.fimo-64US7RTE.js.map → mds.fimo-UGK5OWCF.js.map} +0 -0
  904. /package/dist/{mds.samplescatterplot-JMXLXVIE.js.map → mds.samplescatterplot-5KFUAYSB.js.map} +0 -0
  905. /package/dist/{mds.survivalplot-RJ5UD3IU.js.map → mds.survivalplot-2EVNZUX5.js.map} +0 -0
  906. /package/dist/{oncomatrix.spec-4YLKDGFE.js.map → oncomatrix.spec-FEP7BR7L.js.map} +0 -0
  907. /package/dist/{plot.2dvaf-DYSU6BBN.js.map → plot.2dvaf-WXGLWCOC.js.map} +0 -0
  908. /package/dist/{plot.app-NFBVLAXZ.js.map → plot.app-IZAFRTBU.js.map} +0 -0
  909. /package/dist/{plot.barplot-DBGTDK7J.js.map → plot.barplot-Z4VWOPFJ.js.map} +0 -0
  910. /package/dist/{plot.boxplot-MCKZUROP.js.map → plot.boxplot-QU2KZSB7.js.map} +0 -0
  911. /package/dist/{plot.brainImaging-BBAVUEB4.js.map → plot.brainImaging-U643YIK7.js.map} +0 -0
  912. /package/dist/{plot.dzi-YQIFOTZQ.js.map → plot.dzi-DWXPOOQE.js.map} +0 -0
  913. /package/dist/{plot.ssgq-MU3BRTMC.js.map → plot.ssgq-GXB2GZO3.js.map} +0 -0
  914. /package/dist/{plot.vaf2cov-KDHZ7JXJ.js.map → plot.vaf2cov-EKRIADPB.js.map} +0 -0
  915. /package/dist/{plot.wsi-G2TUGQF7.js.map → plot.wsi-E2LLE6HI.js.map} +0 -0
  916. /package/dist/{polar-RCCZXZIU.js.map → polar-MZLIUXHO.js.map} +0 -0
  917. /package/dist/{polar2-COQ3WIGW.js.map → polar2-IUVHNQM4.js.map} +0 -0
  918. /package/dist/{profile.spec-A4ZASR2T.js.map → profile.spec-JRW6KYUI.js.map} +0 -0
  919. /package/dist/{profileBarchart-GB4RK5DF.js.map → profileBarchart-N7HJMYZ5.js.map} +0 -0
  920. /package/dist/{profileForms-O5KBHRF6.js.map → profileForms-Q5TPGPQP.js.map} +0 -0
  921. /package/dist/{profilePlot-COCLCP5B.js.map → profilePlot-TXTUYDVE.js.map} +0 -0
  922. /package/dist/{profileRadar-4EE3YDOH.js.map → profileRadar-ICEASI7W.js.map} +0 -0
  923. /package/dist/{proteomeAbundance-JBVXUSD6.js.map → proteomeAbundance-DE4NVBCN.js.map} +0 -0
  924. /package/dist/{proteomeAbundance-NQVU4DOW.js.map → proteomeAbundance-LTB3QR3G.js.map} +0 -0
  925. /package/dist/{qualitative-QROOPDSI.js.map → qualitative-DFGWQURY.js.map} +0 -0
  926. /package/dist/{regression-7FQZ22OO.js.map → regression-TTQTAEGD.js.map} +0 -0
  927. /package/dist/{regression.inputs-F62CES3A.js.map → regression.inputs-2LU2XRGC.js.map} +0 -0
  928. /package/dist/{regression.inputs.term-BCGP7PX4.js.map → regression.inputs.term-G57GL57T.js.map} +0 -0
  929. /package/dist/{regression.inputs.values.table-D3ZXZSH7.js.map → regression.inputs.values.table-JSEM3PXL.js.map} +0 -0
  930. /package/dist/{regression.results-JX6RJQQP.js.map → regression.results-3YNM6LLQ.js.map} +0 -0
  931. /package/dist/{regression.spec-ROME7T33.js.map → regression.spec-S6WFCPSW.js.map} +0 -0
  932. /package/dist/{report-B6MM4T6B.js.map → report-YRAV4MY4.js.map} +0 -0
  933. /package/dist/{sampleScatter.spec-EPCMC3SR.js.map → sampleScatter.spec-MBJ4XNTX.js.map} +0 -0
  934. /package/dist/{sampleView-77EAJ75T.js.map → sampleView-IUR3ZEN7.js.map} +0 -0
  935. /package/dist/{samplelst-CX4NQWA7.js.map → samplelst-C2NBFGH6.js.map} +0 -0
  936. /package/dist/{samplematrix-PYQFAH64.js.map → samplematrix-AOK2HHSB.js.map} +0 -0
  937. /package/dist/{sc-X6SI5VVI.js.map → sc-XT3Z5XJI.js.map} +0 -0
  938. /package/dist/{scatter-ZFFHAI4F.js.map → scatter-SAHKZRFL.js.map} +0 -0
  939. /package/dist/{selectGenomeWithTklst-CZMVTBMD.js.map → selectGenomeWithTklst-2YVZ4JWV.js.map} +0 -0
  940. /package/dist/{singleCellCellType-GOBX7JKV.js.map → singleCellCellType-NFN5GQJM.js.map} +0 -0
  941. /package/dist/{singleCellGeneExpression-BLMNMEAI.js.map → singleCellGeneExpression-7AQGLXTR.js.map} +0 -0
  942. /package/dist/{singleCellPlot-HLD7PLQH.js.map → singleCellPlot-IWFEG44C.js.map} +0 -0
  943. /package/dist/{singlecell-HL4GLGIA.js.map → singlecell-3QNV4OMZ.js.map} +0 -0
  944. /package/dist/{singlecell-JQFPINRS.js.map → singlecell-EATPLH66.js.map} +0 -0
  945. /package/dist/{snp-EAUNFDAV.js.map → snp-UP7WL7WG.js.map} +0 -0
  946. /package/dist/{snp.unit.spec-AVLPMAWI.js.map → snp.unit.spec-Y5NWQ442.js.map} +0 -0
  947. /package/dist/{snplocus-2J7OA6OL.js.map → snplocus-WAQK2AZG.js.map} +0 -0
  948. /package/dist/{spliceevent.a53ss.diagram-4DU2U7NW.js.map → spliceevent.a53ss.diagram-FFK27UIB.js.map} +0 -0
  949. /package/dist/{spliceevent.exonskip.diagram-GG5FGXOK.js.map → spliceevent.exonskip.diagram-KWEF2OZJ.js.map} +0 -0
  950. /package/dist/{spliceevent.noeventdiagram-T6RNIMCM.js.map → spliceevent.noeventdiagram-PU4TI7OM.js.map} +0 -0
  951. /package/dist/{ssGSEA-XJWLRVFQ.js.map → ssGSEA-N6QOAVLW.js.map} +0 -0
  952. /package/dist/{ssGSEA.unit.spec-MQ23ODYO.js.map → ssGSEA.unit.spec-KQBNZNNP.js.map} +0 -0
  953. /package/dist/{summarizeMutationDiagnosis-ZVX7AZK7.js.map → summarizeMutationDiagnosis-5RHSG7L6.js.map} +0 -0
  954. /package/dist/{summarizeMutationSurvival-EWXD7TCT.js.map → summarizeMutationSurvival-22YYXGS5.js.map} +0 -0
  955. /package/dist/{summary-VUYBKQOC.js.map → summary-P3WIKJS7.js.map} +0 -0
  956. /package/dist/{summary.integration.spec-EPBV5XCT.js.map → summary.integration.spec-ULGRPICW.js.map} +0 -0
  957. /package/dist/{summaryInput-YX5IRGWM.js.map → summaryInput-IH4EVNF5.js.map} +0 -0
  958. /package/dist/{survival-E6SRRXBB.js.map → survival-2ZE3N62A.js.map} +0 -0
  959. /package/dist/{survival-XOXDPXZR.js.map → survival-ASCLKIII.js.map} +0 -0
  960. /package/dist/{survival.integration.spec-SJBPJZGJ.js.map → survival.integration.spec-C5YXOY77.js.map} +0 -0
  961. /package/dist/{svg2pdf.es.min-EZ4UYRSH.js.map → svg2pdf.es.min-CYTPRWNB.js.map} +0 -0
  962. /package/dist/{svgraph-D23WG3UE.js.map → svgraph-AYR2UPNK.js.map} +0 -0
  963. /package/dist/{svmr-UFC4TKWV.js.map → svmr-MOMW5DNY.js.map} +0 -0
  964. /package/dist/{table-US2K6IYZ.js.map → table-PQB6KCEY.js.map} +0 -0
  965. /package/dist/{termCollection-ZMP3VE2G.js.map → termCollection-5AY2AWT4.js.map} +0 -0
  966. /package/dist/{termCollection-E7S57CIN.js.map → termCollection-OQMUUTW6.js.map} +0 -0
  967. /package/dist/{termCollection.unit.spec-MDWK6XH3.js.map → termCollection.unit.spec-BUAXYIJK.js.map} +0 -0
  968. /package/dist/{tk-TLQJK6R4.js.map → tk-EJLFFA5H.js.map} +0 -0
  969. /package/dist/{tp.ui-NQEAKWUH.js.map → tp.ui-WUW6A7KP.js.map} +0 -0
  970. /package/dist/{tvs.dt-U2MINIBH.js.map → tvs.dt-MVJXQMNU.js.map} +0 -0
  971. /package/dist/{tvs.dtcnv.categorical-2OOAZJKC.js.map → tvs.dtcnv.categorical-FIIDWVK7.js.map} +0 -0
  972. /package/dist/{tvs.dtcnv.continuous-5ETKBJ52.js.map → tvs.dtcnv.continuous-JPQU3JA2.js.map} +0 -0
  973. /package/dist/{tvs.dtfusion-EB4PPR3Y.js.map → tvs.dtfusion-BW35GOQM.js.map} +0 -0
  974. /package/dist/{tvs.dtsnvindel-IRQPTKQF.js.map → tvs.dtsnvindel-AEMFZ4EH.js.map} +0 -0
  975. /package/dist/{tvs.dtsv-TOVXZJCR.js.map → tvs.dtsv-JHTU7UFD.js.map} +0 -0
  976. /package/dist/{tvs.samplelst-4SCH543Y.js.map → tvs.samplelst-VD2NFFFS.js.map} +0 -0
  977. /package/dist/{tvs.termCollection-GGN5F6HC.js.map → tvs.termCollection-IKE5Q74D.js.map} +0 -0
  978. /package/dist/{violin-7D7DN74I.js.map → violin-DPMJLHQG.js.map} +0 -0
  979. /package/dist/{violin.interactivity-YPJ2H6SQ.js.map → violin.interactivity-TS4DYUE5.js.map} +0 -0
  980. /package/dist/{violin.renderer-UK7WSA2Z.js.map → violin.renderer-53L4PXUT.js.map} +0 -0
  981. /package/dist/{vocabulary-KLWZ6LRP.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