@sjcrh/proteinpaint-client 2.182.1 → 2.183.1

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 (933) hide show
  1. package/dist/2dmaf-PBJ3POZQ.js +1371 -0
  2. package/dist/AIProjectAdmin-5IAXCACJ.js +830 -0
  3. package/dist/AppHeader-HLUE2IQT.js +833 -0
  4. package/dist/BoxPlot-NAQS5MHV.js +1217 -0
  5. package/dist/CorrelationVolcano-TVVUP4L4.js +617 -0
  6. package/dist/DE-F7LUSAO2.js +93 -0
  7. package/dist/DEinput-V7MF5IEZ.js +297 -0
  8. package/dist/DifferentialAnalysis-R2Z7G75Y.js +238 -0
  9. package/dist/Disco-7S5KUVQ6.js +3235 -0
  10. package/dist/Disco.UI-6ONZR7GK.js +242 -0
  11. package/dist/DmrPlot-NZXGFMBY.js +640 -0
  12. package/dist/GB-3EXBSESG.js +1125 -0
  13. package/dist/HicApp-WEYV7T46.js +2248 -0
  14. package/dist/NumBinaryEditor-SNJD6NVL.js +268 -0
  15. package/dist/NumBinaryEditor.unit.spec-A7C4A2HF.js +284 -0
  16. package/dist/NumContEditor-TBOEORWJ.js +105 -0
  17. package/dist/NumContEditor.unit.spec-BJKQNFPL.js +167 -0
  18. package/dist/NumCustomBinEditor-RNWEGLLB.js +36 -0
  19. package/dist/NumCustomBinEditor.unit.spec-CW3D5WOW.js +282 -0
  20. package/dist/NumDiscreteEditor-WXRAMEWQ.js +177 -0
  21. package/dist/NumDiscreteEditor.unit.spec-SJTHYGMI.js +200 -0
  22. package/dist/NumRegularBinEditor-LLSKHSJC.js +36 -0
  23. package/dist/NumRegularBinEditor.unit.spec-G3YRWT52.js +225 -0
  24. package/dist/NumSplineEditor-W6HG3I53.js +190 -0
  25. package/dist/NumSplineEditor.unit.spec-BVVTYJY7.js +197 -0
  26. package/dist/NumericDensity-VYAZXP4D.js +36 -0
  27. package/dist/NumericDensity.unit.spec-4QCKG6GM.js +219 -0
  28. package/dist/NumericHandler-PKCERKLB.js +37 -0
  29. package/dist/NumericHandler.unit.spec-JIYZ3IFG.js +217 -0
  30. package/dist/RunChart2-I4ZBBKOC.js +756 -0
  31. package/dist/SC-OLNRPTNS.js +682 -0
  32. package/dist/Volcano-DEOVDPYB.js +1185 -0
  33. package/dist/WSIViewer-VA36EDFH.js +47974 -0
  34. package/dist/WsiSamplesPlot-RA644FK6.js +163 -0
  35. package/dist/adSandbox-SJ3O3RVJ.js +36 -0
  36. package/dist/alphaGenome-UTVIVOEF.js +173 -0
  37. package/dist/app-6UPJNZVS.js +35 -0
  38. package/dist/app-YFBAT5TM.js +47 -0
  39. package/dist/app.js +20 -20
  40. package/dist/bam-C4KHGT7X.js +857 -0
  41. package/dist/barchart-UOELLJAZ.js +45 -0
  42. package/dist/barchart.data-EYZ3W4BQ.js +22 -0
  43. package/dist/barchart.events-SJZZV3TI.js +45 -0
  44. package/dist/barchart.integration.spec-A4XZNV3B.js +1675 -0
  45. package/dist/block-ODDURI6Y.js +6200 -0
  46. package/dist/block.init-TZXJGL7D.js +36 -0
  47. package/dist/block.mds.expressionrank-UE2D6D3N.js +357 -0
  48. package/dist/block.mds.geneboxplot-KINAWY6K.js +826 -0
  49. package/dist/block.mds.junction-HRJQOYBL.js +1543 -0
  50. package/dist/block.mds.svcnv-7C2IMZXB.js +6799 -0
  51. package/dist/block.svg-757BH6PD.js +162 -0
  52. package/dist/block.tk.aicheck-M4VAVJL6.js +281 -0
  53. package/dist/block.tk.ase-J5HCPECM.js +363 -0
  54. package/dist/block.tk.bam-7NFAMVLF.js +1904 -0
  55. package/dist/block.tk.bedgraphdot-HROSDQH5.js +382 -0
  56. package/dist/block.tk.bigwig.ui-BIMVFUT6.js +209 -0
  57. package/dist/block.tk.hicstraw-W7CWMNZ7.js +821 -0
  58. package/dist/block.tk.junction-ZUUBN36V.js +2362 -0
  59. package/dist/block.tk.junction.textmatrixui-PYJ4UGCF.js +197 -0
  60. package/dist/block.tk.ld-6E7ZXTCC.js +97 -0
  61. package/dist/block.tk.menu-SWT3R74J.js +1027 -0
  62. package/dist/block.tk.pgv-SEDDAV24.js +942 -0
  63. package/dist/brainImaging-X5WPNTUO.js +421 -0
  64. package/dist/chat-KZ3LZAQ6.js +148 -0
  65. package/dist/chunk-2LCTMDCS.js +20649 -0
  66. package/dist/chunk-2TMP56TB.js +386 -0
  67. package/dist/chunk-2VNQJGPM.js +92 -0
  68. package/dist/chunk-3DN47Y2E.js +526 -0
  69. package/dist/chunk-4IL33OUX.js +261 -0
  70. package/dist/chunk-4YG57UVZ.js +228 -0
  71. package/dist/chunk-54P7H5GL.js +1150 -0
  72. package/dist/chunk-5BBR2HND.js +158 -0
  73. package/dist/chunk-5BCACIPX.js +2784 -0
  74. package/dist/chunk-5OHXYXLD.js +46 -0
  75. package/dist/chunk-5OHXYXLD.js.map +7 -0
  76. package/dist/chunk-6CRWDKT7.js +289 -0
  77. package/dist/chunk-7M45T6YS.js +1426 -0
  78. package/dist/chunk-7N3Q25KC.js +26 -0
  79. package/dist/chunk-AQ2ODUYY.js +50 -0
  80. package/dist/chunk-AZLWNXFP.js +1087 -0
  81. package/dist/chunk-B3SLLQAS.js +100 -0
  82. package/dist/chunk-BEWDIM6H.js +42 -0
  83. package/dist/chunk-BEWDIM6H.js.map +7 -0
  84. package/dist/chunk-BHEBKIGM.js +824 -0
  85. package/dist/chunk-CAHAYB6O.js +148 -0
  86. package/dist/chunk-CGDEEO4I.js +37 -0
  87. package/dist/chunk-CXLRKDEC.js +56 -0
  88. package/dist/chunk-DET76M2J.js +102 -0
  89. package/dist/chunk-DONWY7TP.js +39 -0
  90. package/dist/chunk-DP5ACVIR.js +480 -0
  91. package/dist/chunk-E5JQ3PN6.js +176 -0
  92. package/dist/chunk-EJNV6SCH.js +148 -0
  93. package/dist/chunk-F5D4ADBB.js +514 -0
  94. package/dist/chunk-F6V4AYWP.js +177 -0
  95. package/dist/chunk-FBG235FD.js +229 -0
  96. package/dist/chunk-FGMPKWT5.js +371 -0
  97. package/dist/chunk-FWKAYZ55.js +205 -0
  98. package/dist/chunk-GMDQIP3M.js +31 -0
  99. package/dist/chunk-GXINX3WK.js +281 -0
  100. package/dist/chunk-GXINX3WK.js.map +7 -0
  101. package/dist/chunk-GZJ7GDZ4.js +2327 -0
  102. package/dist/chunk-GZJ7GDZ4.js.map +7 -0
  103. package/dist/chunk-H55L2FAY.js +107 -0
  104. package/dist/chunk-HED3JZ2O.js +615 -0
  105. package/dist/chunk-I2M62STM.js +276 -0
  106. package/dist/chunk-I2M62STM.js.map +7 -0
  107. package/dist/chunk-IBIFTCWL.js +293 -0
  108. package/dist/chunk-ILDUYXV5.js +407 -0
  109. package/dist/chunk-IQ25XHGX.js +335 -0
  110. package/dist/chunk-IQIXGTQV.js +84 -0
  111. package/dist/chunk-IQIXGTQV.js.map +7 -0
  112. package/dist/chunk-JLSN2WF5.js +95 -0
  113. package/dist/chunk-JOT4WDJE.js +815 -0
  114. package/dist/chunk-JQIR2UG5.js +1271 -0
  115. package/dist/chunk-K6ZAAZKO.js +1159 -0
  116. package/dist/chunk-KBDY6GE3.js +446 -0
  117. package/dist/chunk-KZFOWI7N.js +52 -0
  118. package/dist/chunk-LKFYRQOH.js +226 -0
  119. package/dist/chunk-LO4WNMBO.js +6364 -0
  120. package/dist/chunk-LXQ6DLAR.js +217 -0
  121. package/dist/chunk-M3EBH2WK.js +194 -0
  122. package/dist/chunk-M5Z3GYRH.js +2672 -0
  123. package/dist/chunk-MEIKKPY7.js +2815 -0
  124. package/dist/chunk-MZ7RBJSI.js +629 -0
  125. package/dist/chunk-OH7PDA2Z.js +170 -0
  126. package/dist/chunk-OKIJIYSP.js +470 -0
  127. package/dist/chunk-OOD5HBVR.js +34 -0
  128. package/dist/chunk-OTCYJP7G.js +119 -0
  129. package/dist/chunk-P7T2U6T7.js +158 -0
  130. package/dist/chunk-PLHGSDJY.js +142 -0
  131. package/dist/chunk-PUDZL7RZ.js +1205 -0
  132. package/dist/chunk-PYJ3QA6E.js +14 -0
  133. package/dist/chunk-QDRZL47L.js +455 -0
  134. package/dist/chunk-QTGTMFHM.js +441 -0
  135. package/dist/chunk-QWL5TZ4G.js +97 -0
  136. package/dist/chunk-RCYTUKAJ.js +1745 -0
  137. package/dist/chunk-RCYTUKAJ.js.map +7 -0
  138. package/dist/chunk-RF6ATFT2.js +302 -0
  139. package/dist/chunk-RH573XZP.js +368 -0
  140. package/dist/chunk-SOED2SLH.js +257 -0
  141. package/dist/chunk-SOED2SLH.js.map +7 -0
  142. package/dist/chunk-SR72NS4M.js +4961 -0
  143. package/dist/chunk-SR72NS4M.js.map +7 -0
  144. package/dist/chunk-STEV77G7.js +215 -0
  145. package/dist/chunk-TBRPZ3FL.js +4207 -0
  146. package/dist/chunk-TE3DK3A6.js +147 -0
  147. package/dist/chunk-TTGDA3MA.js +203 -0
  148. package/dist/chunk-UFDQ2R2Q.js +534 -0
  149. package/dist/chunk-UWX7W22M.js +121 -0
  150. package/dist/chunk-V2R3JFLP.js +54 -0
  151. package/dist/chunk-VKK5MGDU.js +272 -0
  152. package/dist/chunk-WHVOWEFP.js +117 -0
  153. package/dist/chunk-XQTXYKAU.js +55 -0
  154. package/dist/chunk-XRVBHNCW.js +1561 -0
  155. package/dist/chunk-XRVBHNCW.js.map +7 -0
  156. package/dist/chunk-YA73ETIT.js +252 -0
  157. package/dist/chunk-YXJXRXJR.js +273 -0
  158. package/dist/chunk-ZIAGMGMS.js +381 -0
  159. package/dist/chunk-ZXNBYIBD.js +129 -0
  160. package/dist/condition-RQP7JUST.js +330 -0
  161. package/dist/controls-WFT5GE3D.js +39 -0
  162. package/dist/controls.config-66ZKRSPU.js +37 -0
  163. package/dist/correlation-45MFH7X4.js +96 -0
  164. package/dist/cuminc-44ALCFL4.js +1147 -0
  165. package/dist/cuminc.integration.spec-I2UTPH3X.js +676 -0
  166. package/dist/customdata.inputui-PBA5LZRT.js +287 -0
  167. package/dist/customdata.inputui-PBA5LZRT.js.map +7 -0
  168. package/dist/dataDownload-CRGQTCOW.js +328 -0
  169. package/dist/dataDownload.integration.spec-7SAPXDH4.js +191 -0
  170. package/dist/databrowser.ui-O5TPKDPL.js +419 -0
  171. package/dist/dictionary-QGSAJ7FM.js +109 -0
  172. package/dist/dnaMethylation-4VDQBBGJ.js +36 -0
  173. package/dist/dnaMethylation.integration.spec-RSO5U6RN.js +165 -0
  174. package/dist/e2pca-7LPSASDI.js +348 -0
  175. package/dist/ep-AIOPCUME.js +1254 -0
  176. package/dist/expclust.gdc.spec-PSXJZCAI.js +305 -0
  177. package/dist/facet-W3RYRWXJ.js +519 -0
  178. package/dist/geneExpClustering-SBQWW6IZ.js +246 -0
  179. package/dist/geneExpression-4WEYCEZV.js +312 -0
  180. package/dist/geneExpression-JWYJNDN5.js +36 -0
  181. package/dist/geneExpression.unit.spec-HKD4DJIV.js +100 -0
  182. package/dist/geneORA-YUVDOZ5X.js +276 -0
  183. package/dist/geneVariant-J3UI6RWM.js +39 -0
  184. package/dist/geneVariant-ZB7CLFCT.js +37 -0
  185. package/dist/geneVariant.integration.spec-JDCKOR4C.js +196 -0
  186. package/dist/genefusion.ui-GUMRDRHQ.js +306 -0
  187. package/dist/genefusion.ui-GUMRDRHQ.js.map +7 -0
  188. package/dist/geneset-242QGP5Q.js +194 -0
  189. package/dist/genomeBrowser.spec-NRLKLJQD.js +279 -0
  190. package/dist/grin2-FD3JTI5R.js +1554 -0
  191. package/dist/grin2-TAR4VXPJ.js +1031 -0
  192. package/dist/gsea-YHG57UZ5.js +45 -0
  193. package/dist/hierCluster-QUAZ7NI6.js +62 -0
  194. package/dist/hierCluster-V2YZEXGX.js +58 -0
  195. package/dist/hierCluster.config-ZOWXZGTF.js +38 -0
  196. package/dist/hierCluster.integration.spec-FAR4KK32.js +374 -0
  197. package/dist/hierCluster.interactivity-D3TK5FSM.js +52 -0
  198. package/dist/hierCluster.renderers-C2RK55NN.js +21 -0
  199. package/dist/imagePlot-2CACVKOO.js +139 -0
  200. package/dist/importPlot-KUOEC2YF.js +8 -0
  201. package/dist/isoformExpression-2G4WCETG.js +38 -0
  202. package/dist/isoformExpression.unit.spec-YBNCR6PE.js +206 -0
  203. package/dist/launch.adhoc-PECQW652.js +40 -0
  204. package/dist/leftlabel.sample-6O2CXXC2.js +257 -0
  205. package/dist/legacyDataset-QRSNRVUA.js +119 -0
  206. package/dist/lollipop-CAFEKZSO.js +166 -0
  207. package/dist/maf-N7ZB5J22.js +450 -0
  208. package/dist/maftimeline-MCYB3EST.js +591 -0
  209. package/dist/matrix-ID662DZG.js +57 -0
  210. package/dist/matrix-JDGO6A4G.js +62 -0
  211. package/dist/matrix.cells-QWB3XSTN.js +28 -0
  212. package/dist/matrix.config-HHWMMUZT.js +39 -0
  213. package/dist/matrix.controls-EOX43634.js +37 -0
  214. package/dist/matrix.data-YTSSULKG.js +25 -0
  215. package/dist/matrix.groups-NGJ276VG.js +26 -0
  216. package/dist/matrix.integration.spec-XHGSEBYM.js +3070 -0
  217. package/dist/matrix.interactivity-OZS7R32Z.js +40 -0
  218. package/dist/matrix.layout-GBQJ7O3H.js +42 -0
  219. package/dist/matrix.legend-AGTC5JPS.js +22 -0
  220. package/dist/matrix.renderers-L5D5NLLR.js +36 -0
  221. package/dist/matrix.serieses-DDQOSCL4.js +21 -0
  222. package/dist/matrix.sort-6VF7VNFX.js +27 -0
  223. package/dist/matrix.sort.unit.spec-QGJBVO3X.js +470 -0
  224. package/dist/matrix.sorterUi-UE7CBIUP.js +18 -0
  225. package/dist/matrix.sorterUi.unit.spec-CTLTVJCO.js +340 -0
  226. package/dist/mavb-MU7H7YWY.js +730 -0
  227. package/dist/mds.fimo-ELCNQMNR.js +516 -0
  228. package/dist/mds.samplescatterplot-P7N4SXYT.js +1548 -0
  229. package/dist/mds.survivalplot-KJFW4IRT.js +481 -0
  230. package/dist/oncomatrix-Q5X3O65P.js +293 -0
  231. package/dist/oncomatrix.spec-CJGXXI3U.js +446 -0
  232. package/dist/plot.2dvaf-CDPVMUPX.js +375 -0
  233. package/dist/plot.app-BSPQMQCI.js +39 -0
  234. package/dist/plot.barplot-C33LEV4Q.js +100 -0
  235. package/dist/plot.boxplot-XH7FN6PC.js +150 -0
  236. package/dist/plot.brainImaging-5BB455FT.js +51 -0
  237. package/dist/plot.disco-3YUN6XAY.js +101 -0
  238. package/dist/plot.dzi-RZWAL5UC.js +33 -0
  239. package/dist/plot.ssgq-M763HWMN.js +137 -0
  240. package/dist/plot.vaf2cov-EAHQV6FD.js +257 -0
  241. package/dist/plot.wsi-2BDC3RJS.js +36 -0
  242. package/dist/polar-3SJ5SUNJ.js +184 -0
  243. package/dist/polar2-3GTEGZUL.js +226 -0
  244. package/dist/profile.spec-AR7JLQYT.js +78 -0
  245. package/dist/profileBarchart-GLTPPW2O.js +265 -0
  246. package/dist/profileForms-FE4GHA2T.js +438 -0
  247. package/dist/profilePlot-3JXEZUX5.js +52 -0
  248. package/dist/profileRadar-NA2WUSHG.js +261 -0
  249. package/dist/profileRadarFacility-6UNT4GPM.js +261 -0
  250. package/dist/proteinView-ESTBC3K2.js +633 -0
  251. package/dist/proteinView-ESTBC3K2.js.map +7 -0
  252. package/dist/proteomeAbundance-GDK5EIE7.js +63 -0
  253. package/dist/proteomeAbundance-NVLYQRKI.js +21 -0
  254. package/dist/qualitative-TUNIICQ4.js +41 -0
  255. package/dist/regression-22IF77A7.js +54 -0
  256. package/dist/regression.inputs-VCVMUBA7.js +46 -0
  257. package/dist/regression.inputs.term-6FWVBNJT.js +46 -0
  258. package/dist/regression.inputs.values.table-2FXOWLKN.js +43 -0
  259. package/dist/regression.integration.spec-2UMB7EIG.js +782 -0
  260. package/dist/regression.results-27XHC5GE.js +38 -0
  261. package/dist/regression.spec-5Q4J7TJZ.js +706 -0
  262. package/dist/report-B4RRLC7Q.js +220 -0
  263. package/dist/sampleScatter.spec-TXZYLGM7.js +200 -0
  264. package/dist/sampleView-2WKGJUSX.js +46 -0
  265. package/dist/samplelst-NJZOPYYJ.js +109 -0
  266. package/dist/samplematrix-ZXOLANI5.js +2196 -0
  267. package/dist/sc-4IYYVV2I.js +84 -0
  268. package/dist/scatter-UBF4N6ON.js +800 -0
  269. package/dist/scatter.integration.spec-JNGJ4BU5.js +1194 -0
  270. package/dist/selectGenomeWithTklst-7ICTRJNK.js +132 -0
  271. package/dist/singleCellCellType-Y5ETQYDC.js +36 -0
  272. package/dist/singleCellCellType.unit.spec-TLLZRMD7.js +158 -0
  273. package/dist/singleCellGeneExpression-HZRIE2XT.js +36 -0
  274. package/dist/singleCellGeneExpression.unit.spec-K435LTFJ.js +151 -0
  275. package/dist/singleCellPlot-T7MKCAAW.js +51 -0
  276. package/dist/singlecell-K662WWCH.js +84 -0
  277. package/dist/singlecell-KVLDYQ36.js +1570 -0
  278. package/dist/snp-JNV3DX5W.js +36 -0
  279. package/dist/snp.unit.spec-7KFVZUWR.js +174 -0
  280. package/dist/snplocus-VJLA35TV.js +206 -0
  281. package/dist/spliceevent.a53ss.diagram-MZPU6IBF.js +149 -0
  282. package/dist/spliceevent.exonskip.diagram-OOYBJT4F.js +275 -0
  283. package/dist/spliceevent.noeventdiagram-KPEZVRFS.js +458 -0
  284. package/dist/ssGSEA-GPPPUU2J.js +36 -0
  285. package/dist/ssGSEA.unit.spec-4SRZ4NRN.js +86 -0
  286. package/dist/summarizeCnvGeneexp-NRLEM4X4.js +161 -0
  287. package/dist/summarizeGeneexpSurvival-BJLP43OZ.js +106 -0
  288. package/dist/summarizeMutationCnv-7DCCBY5U.js +162 -0
  289. package/dist/summarizeMutationDiagnosis-HATSCOMG.js +38 -0
  290. package/dist/summarizeMutationSurvival-XIRZFWDJ.js +97 -0
  291. package/dist/summary-VOFTJ76P.js +47 -0
  292. package/dist/summary.integration.spec-2C5RCIY4.js +412 -0
  293. package/dist/summaryInput-DIIECI4W.js +218 -0
  294. package/dist/sunburst-CYROEYTG.js +282 -0
  295. package/dist/survival-5Y3DFIES.js +44 -0
  296. package/dist/survival-WCPGEHW5.js +56 -0
  297. package/dist/survival.integration.spec-LRSN2B7G.js +800 -0
  298. package/dist/svgraph-3T6XL7TR.js +1385 -0
  299. package/dist/svmr-GUBPSOID.js +3840 -0
  300. package/dist/table-NTS6ROT7.js +198 -0
  301. package/dist/termCollection-EE72SAHN.js +177 -0
  302. package/dist/termCollection-ZZXLZ3UE.js +36 -0
  303. package/dist/termCollection.unit.spec-3CTEJRTX.js +206 -0
  304. package/dist/tk-6FIXPXTM.js +44 -0
  305. package/dist/tp.ui-4ESL6SCH.js +1457 -0
  306. package/dist/tvs.density-AQ5GD437.js +18 -0
  307. package/dist/tvs.dt-G5FMPWPL.js +37 -0
  308. package/dist/tvs.dtcnv.categorical-EYQ6RTHD.js +38 -0
  309. package/dist/tvs.dtcnv.continuous-PSQMFFNX.js +70 -0
  310. package/dist/tvs.dtfusion-4F6627GK.js +38 -0
  311. package/dist/tvs.dtsnvindel-YNYVLJEI.js +38 -0
  312. package/dist/tvs.dtsv-X2K4K4RN.js +38 -0
  313. package/dist/tvs.numeric-ZN2R7BH3.js +21 -0
  314. package/dist/tvs.samplelst-XZK4BE3H.js +102 -0
  315. package/dist/tvs.termCollection-ZAX57TN4.js +151 -0
  316. package/dist/violin-YEMSGTYF.js +44 -0
  317. package/dist/violin.integration.spec-TULH2DWL.js +1423 -0
  318. package/dist/violin.interactivity-RX2CDFVC.js +36 -0
  319. package/dist/violin.renderer-OJJDZFMZ.js +38 -0
  320. package/dist/vocabulary-726CSMNM.js +39 -0
  321. package/package.json +3 -3
  322. package/dist/2dmaf-YHYYSSKR.js +0 -1371
  323. package/dist/AIProjectAdmin-D4AASQBM.js +0 -830
  324. package/dist/AppHeader-T4ZLY3VG.js +0 -833
  325. package/dist/BoxPlot-DIU4YXNK.js +0 -1217
  326. package/dist/CorrelationVolcano-EXH4P56S.js +0 -617
  327. package/dist/DE-C5K2TVUQ.js +0 -93
  328. package/dist/DEinput-KVILE7QQ.js +0 -297
  329. package/dist/DifferentialAnalysis-P6GKHAS5.js +0 -238
  330. package/dist/Disco-IMLXEBPG.js +0 -3235
  331. package/dist/Disco.UI-4A2P5Q55.js +0 -242
  332. package/dist/DmrPlot-6EEEGD32.js +0 -640
  333. package/dist/GB-XFO5I6ND.js +0 -1125
  334. package/dist/HicApp-3LFHOOAR.js +0 -2248
  335. package/dist/NumBinaryEditor-74PY52BP.js +0 -268
  336. package/dist/NumBinaryEditor.unit.spec-2PYZ7P2R.js +0 -284
  337. package/dist/NumContEditor-BMWALLQM.js +0 -105
  338. package/dist/NumContEditor.unit.spec-ETVLVX6A.js +0 -167
  339. package/dist/NumCustomBinEditor-2XJ6GUWY.js +0 -36
  340. package/dist/NumCustomBinEditor.unit.spec-TZVL553E.js +0 -282
  341. package/dist/NumDiscreteEditor-4LNLKAXT.js +0 -177
  342. package/dist/NumDiscreteEditor.unit.spec-KQND2XAE.js +0 -200
  343. package/dist/NumRegularBinEditor-OYELFDIB.js +0 -36
  344. package/dist/NumRegularBinEditor.unit.spec-44SALKLH.js +0 -225
  345. package/dist/NumSplineEditor-SENQC4P2.js +0 -190
  346. package/dist/NumSplineEditor.unit.spec-XKB4XXU4.js +0 -197
  347. package/dist/NumericDensity-GCNWO7YS.js +0 -36
  348. package/dist/NumericDensity.unit.spec-7LWNOUYK.js +0 -219
  349. package/dist/NumericHandler-EMQBI5UI.js +0 -37
  350. package/dist/NumericHandler.unit.spec-TEELPRIM.js +0 -217
  351. package/dist/RunChart2-LJBC5X2H.js +0 -756
  352. package/dist/SC-3EB6UYIS.js +0 -682
  353. package/dist/Volcano-CPULLVYV.js +0 -1185
  354. package/dist/WSIViewer-2YCT4LCM.js +0 -47974
  355. package/dist/WsiSamplesPlot-B2DM7Z3Q.js +0 -163
  356. package/dist/adSandbox-INF3NNEV.js +0 -36
  357. package/dist/alphaGenome-CO4TQHXN.js +0 -173
  358. package/dist/app-63JU2YIT.js +0 -47
  359. package/dist/app-BL3POUOO.js +0 -35
  360. package/dist/bam-SVEJYICC.js +0 -857
  361. package/dist/barchart-PDUXZAIH.js +0 -45
  362. package/dist/barchart.data-EXENRVMU.js +0 -22
  363. package/dist/barchart.events-MQNQTSWI.js +0 -45
  364. package/dist/barchart.integration.spec-DSO2377T.js +0 -1675
  365. package/dist/block-OO2NLGUP.js +0 -6200
  366. package/dist/block.init-7J5OHYKA.js +0 -36
  367. package/dist/block.mds.expressionrank-643H7PN7.js +0 -357
  368. package/dist/block.mds.geneboxplot-C222ODSL.js +0 -826
  369. package/dist/block.mds.junction-C5DJRUOK.js +0 -1543
  370. package/dist/block.mds.svcnv-4G74JQ7Y.js +0 -6799
  371. package/dist/block.svg-35KUC5R7.js +0 -162
  372. package/dist/block.tk.aicheck-LLWT6K6H.js +0 -281
  373. package/dist/block.tk.ase-PQUKY65E.js +0 -363
  374. package/dist/block.tk.bam-EUEOB7BR.js +0 -1904
  375. package/dist/block.tk.bedgraphdot-XAHUY545.js +0 -382
  376. package/dist/block.tk.bigwig.ui-HEOPNL3T.js +0 -209
  377. package/dist/block.tk.hicstraw-EPH3LEX2.js +0 -821
  378. package/dist/block.tk.junction-MIUDAIAR.js +0 -2362
  379. package/dist/block.tk.junction.textmatrixui-AVFUQBDS.js +0 -197
  380. package/dist/block.tk.ld-ED7YMBQ4.js +0 -97
  381. package/dist/block.tk.menu-3CVIECWQ.js +0 -1027
  382. package/dist/block.tk.pgv-HETJVWXH.js +0 -942
  383. package/dist/brainImaging-K3LHK3DD.js +0 -421
  384. package/dist/chat-BYX5ARUK.js +0 -148
  385. package/dist/chunk-25RP5OSE.js +0 -1426
  386. package/dist/chunk-2K5DSRBJ.js +0 -84
  387. package/dist/chunk-2K5DSRBJ.js.map +0 -7
  388. package/dist/chunk-2LULD7RN.js +0 -31
  389. package/dist/chunk-2M6JV7YS.js +0 -261
  390. package/dist/chunk-2TJESM3Z.js +0 -158
  391. package/dist/chunk-2VFYZ3EY.js +0 -102
  392. package/dist/chunk-3CD5ZROA.js +0 -4952
  393. package/dist/chunk-3CD5ZROA.js.map +0 -7
  394. package/dist/chunk-3DCABJHB.js +0 -381
  395. package/dist/chunk-3MMKHYUM.js +0 -95
  396. package/dist/chunk-3PRPMJTG.js +0 -55
  397. package/dist/chunk-4JON7TLI.js +0 -176
  398. package/dist/chunk-5HCB4HNL.js +0 -147
  399. package/dist/chunk-5JD4D5GD.js +0 -215
  400. package/dist/chunk-5UMPBVA6.js +0 -534
  401. package/dist/chunk-64FGLSIM.js +0 -56
  402. package/dist/chunk-6ITDJ5UR.js +0 -261
  403. package/dist/chunk-6ITDJ5UR.js.map +0 -7
  404. package/dist/chunk-6VLA5NEW.js +0 -335
  405. package/dist/chunk-7FTDQDVF.js +0 -824
  406. package/dist/chunk-7IEZ2KMW.js +0 -142
  407. package/dist/chunk-7RN3L2BX.js +0 -1788
  408. package/dist/chunk-7RN3L2BX.js.map +0 -7
  409. package/dist/chunk-A5AFIW2T.js +0 -14
  410. package/dist/chunk-AIBODF32.js +0 -2784
  411. package/dist/chunk-AQ4OP4GR.js +0 -39
  412. package/dist/chunk-AWWW6K2I.js +0 -407
  413. package/dist/chunk-BAY47D5E.js +0 -226
  414. package/dist/chunk-CFHKYLDY.js +0 -26
  415. package/dist/chunk-CJZN7HFL.js +0 -293
  416. package/dist/chunk-CXOF4UGH.js +0 -229
  417. package/dist/chunk-D4QFQQWJ.js +0 -170
  418. package/dist/chunk-DNCSPTOQ.js +0 -446
  419. package/dist/chunk-DQGSCCI3.js +0 -100
  420. package/dist/chunk-EWGMLVC7.js +0 -34
  421. package/dist/chunk-F7PB5HGT.js +0 -148
  422. package/dist/chunk-FVWCYGJL.js +0 -121
  423. package/dist/chunk-G7QKLA54.js +0 -92
  424. package/dist/chunk-HWHG63LH.js +0 -148
  425. package/dist/chunk-IBBMKCO7.js +0 -526
  426. package/dist/chunk-IQUYTZOA.js +0 -455
  427. package/dist/chunk-J5RINDKS.js +0 -480
  428. package/dist/chunk-JMPSZMDD.js +0 -52
  429. package/dist/chunk-KQMEJUWI.js +0 -815
  430. package/dist/chunk-KWFEGPZL.js +0 -97
  431. package/dist/chunk-L4QG7XZE.js +0 -46
  432. package/dist/chunk-L4QG7XZE.js.map +0 -7
  433. package/dist/chunk-LBXZGYU5.js +0 -368
  434. package/dist/chunk-LI7FE335.js +0 -371
  435. package/dist/chunk-LRBNYEFI.js +0 -50
  436. package/dist/chunk-LRMV5DNW.js +0 -441
  437. package/dist/chunk-LWNOC7AJ.js +0 -54
  438. package/dist/chunk-MICNOSX7.js +0 -129
  439. package/dist/chunk-MLWNMXAV.js +0 -272
  440. package/dist/chunk-MMBLSLQR.js +0 -158
  441. package/dist/chunk-N3QEGDEZ.js +0 -117
  442. package/dist/chunk-NV5XWADG.js +0 -1150
  443. package/dist/chunk-NVB7MQLH.js +0 -20649
  444. package/dist/chunk-O3255WPP.js +0 -1087
  445. package/dist/chunk-OSM7YS23.js +0 -276
  446. package/dist/chunk-OSM7YS23.js.map +0 -7
  447. package/dist/chunk-PEWHCKCH.js +0 -1205
  448. package/dist/chunk-Q7PYFSNU.js +0 -107
  449. package/dist/chunk-QEZPKEWB.js +0 -1159
  450. package/dist/chunk-QMI222IJ.js +0 -386
  451. package/dist/chunk-QRIRWDIW.js +0 -252
  452. package/dist/chunk-SEQLC4AD.js +0 -177
  453. package/dist/chunk-SJTOSA7E.js +0 -629
  454. package/dist/chunk-SRYFYAXK.js +0 -615
  455. package/dist/chunk-SYMOQE3X.js +0 -37
  456. package/dist/chunk-TITA4HJA.js +0 -228
  457. package/dist/chunk-TV74I3Y5.js +0 -43
  458. package/dist/chunk-TV74I3Y5.js.map +0 -7
  459. package/dist/chunk-U7ZMIMI5.js +0 -2815
  460. package/dist/chunk-UJU3Q7QJ.js +0 -119
  461. package/dist/chunk-UL2ISTHR.js +0 -2672
  462. package/dist/chunk-VIPMLSZP.js +0 -217
  463. package/dist/chunk-VZPYIG77.js +0 -1271
  464. package/dist/chunk-W345H42C.js +0 -273
  465. package/dist/chunk-WGL6FIUE.js +0 -330
  466. package/dist/chunk-WGL6FIUE.js.map +0 -7
  467. package/dist/chunk-WIYKAKWE.js +0 -302
  468. package/dist/chunk-WJGVQJSX.js +0 -514
  469. package/dist/chunk-WPHOEG56.js +0 -194
  470. package/dist/chunk-WU63AOK2.js +0 -4207
  471. package/dist/chunk-XS4QWRS3.js +0 -205
  472. package/dist/chunk-XYFDBYOY.js +0 -1658
  473. package/dist/chunk-XYFDBYOY.js.map +0 -7
  474. package/dist/chunk-YDWRIMCT.js +0 -289
  475. package/dist/chunk-YSW57QDM.js +0 -6364
  476. package/dist/chunk-YXQNZPCO.js +0 -203
  477. package/dist/chunk-YYYJB53A.js +0 -2370
  478. package/dist/chunk-YYYJB53A.js.map +0 -7
  479. package/dist/chunk-ZTKQLABY.js +0 -470
  480. package/dist/condition-AM523RDR.js +0 -330
  481. package/dist/controls-HTMH5QBP.js +0 -39
  482. package/dist/controls.config-EEK2RBPI.js +0 -37
  483. package/dist/correlation-HKD67SPS.js +0 -96
  484. package/dist/cuminc-66V55MMN.js +0 -1147
  485. package/dist/cuminc.integration.spec-PNTOPB2L.js +0 -676
  486. package/dist/customdata.inputui-Z4WQDU6I.js +0 -285
  487. package/dist/customdata.inputui-Z4WQDU6I.js.map +0 -7
  488. package/dist/dataDownload-3ZEI22OK.js +0 -328
  489. package/dist/dataDownload.integration.spec-C3JRC6K5.js +0 -191
  490. package/dist/databrowser.ui-Q365SHBG.js +0 -419
  491. package/dist/dictionary-D4E2VEJT.js +0 -109
  492. package/dist/dnaMethylation-IFZWWBUG.js +0 -36
  493. package/dist/dnaMethylation.integration.spec-UKV4BSIO.js +0 -165
  494. package/dist/e2pca-I3QXF7EM.js +0 -348
  495. package/dist/ep-2VCQ36GT.js +0 -1254
  496. package/dist/expclust.gdc.spec-VWIQFY67.js +0 -305
  497. package/dist/facet-CHP3VUWS.js +0 -519
  498. package/dist/geneExpClustering-YDIDEH2O.js +0 -246
  499. package/dist/geneExpression-FA5RJRHZ.js +0 -36
  500. package/dist/geneExpression-X2KXJPND.js +0 -312
  501. package/dist/geneExpression.unit.spec-3LVHYZGG.js +0 -100
  502. package/dist/geneORA-4CAYRKSN.js +0 -276
  503. package/dist/geneVariant-OCOTNUH4.js +0 -39
  504. package/dist/geneVariant-Y4L5W5HF.js +0 -37
  505. package/dist/geneVariant.integration.spec-BOJ5MM5K.js +0 -196
  506. package/dist/genefusion.ui-I6HZOBIV.js +0 -249
  507. package/dist/genefusion.ui-I6HZOBIV.js.map +0 -7
  508. package/dist/geneset-GEWKDAAT.js +0 -194
  509. package/dist/genomeBrowser.spec-FDEGH4DY.js +0 -279
  510. package/dist/grin2-K56B6XBZ.js +0 -1031
  511. package/dist/grin2-V6FMM44N.js +0 -1554
  512. package/dist/gsea-UNPPRU2U.js +0 -45
  513. package/dist/hierCluster-DXAWRQNI.js +0 -58
  514. package/dist/hierCluster-SPIQA2M2.js +0 -62
  515. package/dist/hierCluster.config-JW6D3T3Q.js +0 -38
  516. package/dist/hierCluster.integration.spec-5NXZY4LG.js +0 -374
  517. package/dist/hierCluster.interactivity-CPPBXHM7.js +0 -52
  518. package/dist/hierCluster.renderers-A6MEGO2B.js +0 -21
  519. package/dist/imagePlot-QLAHCULW.js +0 -139
  520. package/dist/importPlot-6ITZ6U7G.js +0 -8
  521. package/dist/isoformExpression-7GAUF2QV.js +0 -38
  522. package/dist/isoformExpression.unit.spec-3BVXVVNO.js +0 -206
  523. package/dist/launch.adhoc-HFHBAUR6.js +0 -40
  524. package/dist/leftlabel.sample-CWPJUCHR.js +0 -257
  525. package/dist/legacyDataset-PBCPC5I7.js +0 -119
  526. package/dist/lollipop-QFRQLEER.js +0 -166
  527. package/dist/maf-OEODBT3Y.js +0 -450
  528. package/dist/maftimeline-2DFIF4C4.js +0 -591
  529. package/dist/matrix-3HFB5TUU.js +0 -57
  530. package/dist/matrix-MIXK27AD.js +0 -62
  531. package/dist/matrix.cells-U7AQNEBP.js +0 -28
  532. package/dist/matrix.config-FX5MHX6O.js +0 -39
  533. package/dist/matrix.controls-5K7BB5Z4.js +0 -37
  534. package/dist/matrix.data-EEIY6AO4.js +0 -25
  535. package/dist/matrix.groups-CUB6UWC5.js +0 -26
  536. package/dist/matrix.integration.spec-ML4T7FRG.js +0 -3070
  537. package/dist/matrix.interactivity-QMPWX63Q.js +0 -40
  538. package/dist/matrix.layout-7SEF6MYI.js +0 -42
  539. package/dist/matrix.legend-42LQGAGX.js +0 -22
  540. package/dist/matrix.renderers-ZF7LLER3.js +0 -36
  541. package/dist/matrix.serieses-4B2WB526.js +0 -21
  542. package/dist/matrix.sort-BJACNR7G.js +0 -27
  543. package/dist/matrix.sort.unit.spec-ZGSM7HDJ.js +0 -470
  544. package/dist/matrix.sorterUi-W6XFYZY2.js +0 -18
  545. package/dist/matrix.sorterUi.unit.spec-V34ZZD7A.js +0 -340
  546. package/dist/mavb-NVQVFU6E.js +0 -730
  547. package/dist/mds.fimo-HOCF6U6K.js +0 -516
  548. package/dist/mds.samplescatterplot-ULD5BK5R.js +0 -1548
  549. package/dist/mds.survivalplot-5US32RQD.js +0 -481
  550. package/dist/oncomatrix-Y3G3MUJJ.js +0 -293
  551. package/dist/oncomatrix.spec-MFUJLWEP.js +0 -446
  552. package/dist/plot.2dvaf-F4WZ4YPU.js +0 -375
  553. package/dist/plot.app-YFFLLBU5.js +0 -39
  554. package/dist/plot.barplot-2EJ2MWQD.js +0 -100
  555. package/dist/plot.boxplot-AKZM443E.js +0 -150
  556. package/dist/plot.brainImaging-DR6WJNFZ.js +0 -51
  557. package/dist/plot.disco-LBE5H67U.js +0 -101
  558. package/dist/plot.dzi-R2MR7HAT.js +0 -33
  559. package/dist/plot.ssgq-C52YIUFY.js +0 -137
  560. package/dist/plot.vaf2cov-FOD3K7BC.js +0 -257
  561. package/dist/plot.wsi-D2TXYERK.js +0 -36
  562. package/dist/polar-2LC35O6K.js +0 -184
  563. package/dist/polar2-QPUOEUJZ.js +0 -226
  564. package/dist/profile.spec-3NCDGHLX.js +0 -78
  565. package/dist/profileBarchart-PPQ3NL4D.js +0 -265
  566. package/dist/profileForms-GS3VVW65.js +0 -438
  567. package/dist/profilePlot-DQWFH5NC.js +0 -52
  568. package/dist/profileRadar-KAKRDC4R.js +0 -261
  569. package/dist/profileRadarFacility-FZP62VPV.js +0 -261
  570. package/dist/proteinView-LWVWJY54.js +0 -444
  571. package/dist/proteinView-LWVWJY54.js.map +0 -7
  572. package/dist/proteomeAbundance-DE4NVBCN.js +0 -21
  573. package/dist/proteomeAbundance-LTB3QR3G.js +0 -63
  574. package/dist/qualitative-YOFAROVR.js +0 -41
  575. package/dist/regression-PF6IAHJK.js +0 -54
  576. package/dist/regression.inputs-77IUYED3.js +0 -46
  577. package/dist/regression.inputs.term-WWCHU6KF.js +0 -46
  578. package/dist/regression.inputs.values.table-I6GM6MU7.js +0 -43
  579. package/dist/regression.integration.spec-DGEZUURU.js +0 -782
  580. package/dist/regression.results-6GXNKYUS.js +0 -38
  581. package/dist/regression.spec-MEFQNY34.js +0 -706
  582. package/dist/report-LG3UKZHL.js +0 -220
  583. package/dist/sampleScatter.spec-D3IK7MSA.js +0 -200
  584. package/dist/sampleView-XUI2J5EC.js +0 -46
  585. package/dist/samplelst-A7IHCBAX.js +0 -109
  586. package/dist/samplematrix-VGUU7Q75.js +0 -2196
  587. package/dist/sc-UVKVT2RY.js +0 -84
  588. package/dist/scatter-UILUYOGO.js +0 -800
  589. package/dist/scatter.integration.spec-VPNALPUG.js +0 -1194
  590. package/dist/selectGenomeWithTklst-LWKIMZEJ.js +0 -132
  591. package/dist/singleCellCellType-TI52WQQ4.js +0 -36
  592. package/dist/singleCellCellType.unit.spec-R3BTRFRU.js +0 -158
  593. package/dist/singleCellGeneExpression-I5SAHMGI.js +0 -36
  594. package/dist/singleCellGeneExpression.unit.spec-2JTB5HLY.js +0 -151
  595. package/dist/singleCellPlot-HRWCHYCI.js +0 -51
  596. package/dist/singlecell-BHPP7KCO.js +0 -1570
  597. package/dist/singlecell-PQNKBKR7.js +0 -84
  598. package/dist/snp-V4YGI7B3.js +0 -36
  599. package/dist/snp.unit.spec-JSUCMGNP.js +0 -174
  600. package/dist/snplocus-3YT5NNCH.js +0 -206
  601. package/dist/spliceevent.a53ss.diagram-QEQJ44YH.js +0 -149
  602. package/dist/spliceevent.exonskip.diagram-HMWVSOJG.js +0 -275
  603. package/dist/spliceevent.noeventdiagram-L5HUCT5A.js +0 -458
  604. package/dist/ssGSEA-Z3XRCBYW.js +0 -36
  605. package/dist/ssGSEA.unit.spec-EUCTV2XJ.js +0 -86
  606. package/dist/summarizeCnvGeneexp-O7O2CFW4.js +0 -161
  607. package/dist/summarizeGeneexpSurvival-DDPH56EI.js +0 -106
  608. package/dist/summarizeMutationCnv-6KJQUJWR.js +0 -162
  609. package/dist/summarizeMutationDiagnosis-HFFYLQOF.js +0 -38
  610. package/dist/summarizeMutationSurvival-OBK6YILP.js +0 -97
  611. package/dist/summary-W55WWIU2.js +0 -47
  612. package/dist/summary.integration.spec-X2PNAUKW.js +0 -412
  613. package/dist/summaryInput-X547Q6C7.js +0 -218
  614. package/dist/sunburst-KWNGYBRI.js +0 -282
  615. package/dist/survival-PAJZHZPD.js +0 -56
  616. package/dist/survival-TQPWMOD5.js +0 -44
  617. package/dist/survival.integration.spec-YMQASOMX.js +0 -800
  618. package/dist/svgraph-Y35C2M3D.js +0 -1385
  619. package/dist/svmr-WGCIR7PE.js +0 -3840
  620. package/dist/table-Q3B2YXEN.js +0 -198
  621. package/dist/termCollection-A6YTSM5I.js +0 -177
  622. package/dist/termCollection-NTFNVQ7D.js +0 -36
  623. package/dist/termCollection.unit.spec-BX54PHKT.js +0 -206
  624. package/dist/tk-OCBZ7YR6.js +0 -44
  625. package/dist/tp.ui-ZT47N2CO.js +0 -1457
  626. package/dist/tvs.density-HSVPDDGA.js +0 -18
  627. package/dist/tvs.dt-BFB253O3.js +0 -37
  628. package/dist/tvs.dtcnv.categorical-ARGAYIDO.js +0 -38
  629. package/dist/tvs.dtcnv.continuous-JCU23ERV.js +0 -70
  630. package/dist/tvs.dtfusion-FV64XLZI.js +0 -38
  631. package/dist/tvs.dtsnvindel-DMOXMEVL.js +0 -38
  632. package/dist/tvs.dtsv-53FSZEPV.js +0 -38
  633. package/dist/tvs.numeric-ICUGA4WY.js +0 -21
  634. package/dist/tvs.samplelst-MVPL6VXX.js +0 -102
  635. package/dist/tvs.termCollection-UGJXTHTG.js +0 -151
  636. package/dist/violin-ZLUDGSQG.js +0 -44
  637. package/dist/violin.integration.spec-KWOFOFLT.js +0 -1423
  638. package/dist/violin.interactivity-ULDOCZWW.js +0 -36
  639. package/dist/violin.renderer-KJAXPMIK.js +0 -38
  640. package/dist/vocabulary-34YUQ4ZQ.js +0 -39
  641. /package/dist/{2dmaf-YHYYSSKR.js.map → 2dmaf-PBJ3POZQ.js.map} +0 -0
  642. /package/dist/{AIProjectAdmin-D4AASQBM.js.map → AIProjectAdmin-5IAXCACJ.js.map} +0 -0
  643. /package/dist/{AppHeader-T4ZLY3VG.js.map → AppHeader-HLUE2IQT.js.map} +0 -0
  644. /package/dist/{BoxPlot-DIU4YXNK.js.map → BoxPlot-NAQS5MHV.js.map} +0 -0
  645. /package/dist/{CorrelationVolcano-EXH4P56S.js.map → CorrelationVolcano-TVVUP4L4.js.map} +0 -0
  646. /package/dist/{DE-C5K2TVUQ.js.map → DE-F7LUSAO2.js.map} +0 -0
  647. /package/dist/{DEinput-KVILE7QQ.js.map → DEinput-V7MF5IEZ.js.map} +0 -0
  648. /package/dist/{DifferentialAnalysis-P6GKHAS5.js.map → DifferentialAnalysis-R2Z7G75Y.js.map} +0 -0
  649. /package/dist/{Disco-IMLXEBPG.js.map → Disco-7S5KUVQ6.js.map} +0 -0
  650. /package/dist/{Disco.UI-4A2P5Q55.js.map → Disco.UI-6ONZR7GK.js.map} +0 -0
  651. /package/dist/{DmrPlot-6EEEGD32.js.map → DmrPlot-NZXGFMBY.js.map} +0 -0
  652. /package/dist/{GB-XFO5I6ND.js.map → GB-3EXBSESG.js.map} +0 -0
  653. /package/dist/{HicApp-3LFHOOAR.js.map → HicApp-WEYV7T46.js.map} +0 -0
  654. /package/dist/{NumBinaryEditor-74PY52BP.js.map → NumBinaryEditor-SNJD6NVL.js.map} +0 -0
  655. /package/dist/{NumBinaryEditor.unit.spec-2PYZ7P2R.js.map → NumBinaryEditor.unit.spec-A7C4A2HF.js.map} +0 -0
  656. /package/dist/{NumContEditor-BMWALLQM.js.map → NumContEditor-TBOEORWJ.js.map} +0 -0
  657. /package/dist/{NumContEditor.unit.spec-ETVLVX6A.js.map → NumContEditor.unit.spec-BJKQNFPL.js.map} +0 -0
  658. /package/dist/{NumCustomBinEditor-2XJ6GUWY.js.map → NumCustomBinEditor-RNWEGLLB.js.map} +0 -0
  659. /package/dist/{NumCustomBinEditor.unit.spec-TZVL553E.js.map → NumCustomBinEditor.unit.spec-CW3D5WOW.js.map} +0 -0
  660. /package/dist/{NumDiscreteEditor-4LNLKAXT.js.map → NumDiscreteEditor-WXRAMEWQ.js.map} +0 -0
  661. /package/dist/{NumDiscreteEditor.unit.spec-KQND2XAE.js.map → NumDiscreteEditor.unit.spec-SJTHYGMI.js.map} +0 -0
  662. /package/dist/{NumRegularBinEditor-OYELFDIB.js.map → NumRegularBinEditor-LLSKHSJC.js.map} +0 -0
  663. /package/dist/{NumRegularBinEditor.unit.spec-44SALKLH.js.map → NumRegularBinEditor.unit.spec-G3YRWT52.js.map} +0 -0
  664. /package/dist/{NumSplineEditor-SENQC4P2.js.map → NumSplineEditor-W6HG3I53.js.map} +0 -0
  665. /package/dist/{NumSplineEditor.unit.spec-XKB4XXU4.js.map → NumSplineEditor.unit.spec-BVVTYJY7.js.map} +0 -0
  666. /package/dist/{NumericDensity-GCNWO7YS.js.map → NumericDensity-VYAZXP4D.js.map} +0 -0
  667. /package/dist/{NumericDensity.unit.spec-7LWNOUYK.js.map → NumericDensity.unit.spec-4QCKG6GM.js.map} +0 -0
  668. /package/dist/{NumericHandler-EMQBI5UI.js.map → NumericHandler-PKCERKLB.js.map} +0 -0
  669. /package/dist/{NumericHandler.unit.spec-TEELPRIM.js.map → NumericHandler.unit.spec-JIYZ3IFG.js.map} +0 -0
  670. /package/dist/{RunChart2-LJBC5X2H.js.map → RunChart2-I4ZBBKOC.js.map} +0 -0
  671. /package/dist/{SC-3EB6UYIS.js.map → SC-OLNRPTNS.js.map} +0 -0
  672. /package/dist/{Volcano-CPULLVYV.js.map → Volcano-DEOVDPYB.js.map} +0 -0
  673. /package/dist/{WSIViewer-2YCT4LCM.js.map → WSIViewer-VA36EDFH.js.map} +0 -0
  674. /package/dist/{WsiSamplesPlot-B2DM7Z3Q.js.map → WsiSamplesPlot-RA644FK6.js.map} +0 -0
  675. /package/dist/{adSandbox-INF3NNEV.js.map → adSandbox-SJ3O3RVJ.js.map} +0 -0
  676. /package/dist/{alphaGenome-CO4TQHXN.js.map → alphaGenome-UTVIVOEF.js.map} +0 -0
  677. /package/dist/{app-63JU2YIT.js.map → app-6UPJNZVS.js.map} +0 -0
  678. /package/dist/{app-BL3POUOO.js.map → app-YFBAT5TM.js.map} +0 -0
  679. /package/dist/{bam-SVEJYICC.js.map → bam-C4KHGT7X.js.map} +0 -0
  680. /package/dist/{barchart-PDUXZAIH.js.map → barchart-UOELLJAZ.js.map} +0 -0
  681. /package/dist/{barchart.data-EXENRVMU.js.map → barchart.data-EYZ3W4BQ.js.map} +0 -0
  682. /package/dist/{barchart.events-MQNQTSWI.js.map → barchart.events-SJZZV3TI.js.map} +0 -0
  683. /package/dist/{barchart.integration.spec-DSO2377T.js.map → barchart.integration.spec-A4XZNV3B.js.map} +0 -0
  684. /package/dist/{block-OO2NLGUP.js.map → block-ODDURI6Y.js.map} +0 -0
  685. /package/dist/{block.init-7J5OHYKA.js.map → block.init-TZXJGL7D.js.map} +0 -0
  686. /package/dist/{block.mds.expressionrank-643H7PN7.js.map → block.mds.expressionrank-UE2D6D3N.js.map} +0 -0
  687. /package/dist/{block.mds.geneboxplot-C222ODSL.js.map → block.mds.geneboxplot-KINAWY6K.js.map} +0 -0
  688. /package/dist/{block.mds.junction-C5DJRUOK.js.map → block.mds.junction-HRJQOYBL.js.map} +0 -0
  689. /package/dist/{block.mds.svcnv-4G74JQ7Y.js.map → block.mds.svcnv-7C2IMZXB.js.map} +0 -0
  690. /package/dist/{block.svg-35KUC5R7.js.map → block.svg-757BH6PD.js.map} +0 -0
  691. /package/dist/{block.tk.aicheck-LLWT6K6H.js.map → block.tk.aicheck-M4VAVJL6.js.map} +0 -0
  692. /package/dist/{block.tk.ase-PQUKY65E.js.map → block.tk.ase-J5HCPECM.js.map} +0 -0
  693. /package/dist/{block.tk.bam-EUEOB7BR.js.map → block.tk.bam-7NFAMVLF.js.map} +0 -0
  694. /package/dist/{block.tk.bedgraphdot-XAHUY545.js.map → block.tk.bedgraphdot-HROSDQH5.js.map} +0 -0
  695. /package/dist/{block.tk.bigwig.ui-HEOPNL3T.js.map → block.tk.bigwig.ui-BIMVFUT6.js.map} +0 -0
  696. /package/dist/{block.tk.hicstraw-EPH3LEX2.js.map → block.tk.hicstraw-W7CWMNZ7.js.map} +0 -0
  697. /package/dist/{block.tk.junction-MIUDAIAR.js.map → block.tk.junction-ZUUBN36V.js.map} +0 -0
  698. /package/dist/{block.tk.junction.textmatrixui-AVFUQBDS.js.map → block.tk.junction.textmatrixui-PYJ4UGCF.js.map} +0 -0
  699. /package/dist/{block.tk.ld-ED7YMBQ4.js.map → block.tk.ld-6E7ZXTCC.js.map} +0 -0
  700. /package/dist/{block.tk.menu-3CVIECWQ.js.map → block.tk.menu-SWT3R74J.js.map} +0 -0
  701. /package/dist/{block.tk.pgv-HETJVWXH.js.map → block.tk.pgv-SEDDAV24.js.map} +0 -0
  702. /package/dist/{brainImaging-K3LHK3DD.js.map → brainImaging-X5WPNTUO.js.map} +0 -0
  703. /package/dist/{chat-BYX5ARUK.js.map → chat-KZ3LZAQ6.js.map} +0 -0
  704. /package/dist/{chunk-NVB7MQLH.js.map → chunk-2LCTMDCS.js.map} +0 -0
  705. /package/dist/{chunk-QMI222IJ.js.map → chunk-2TMP56TB.js.map} +0 -0
  706. /package/dist/{chunk-G7QKLA54.js.map → chunk-2VNQJGPM.js.map} +0 -0
  707. /package/dist/{chunk-IBBMKCO7.js.map → chunk-3DN47Y2E.js.map} +0 -0
  708. /package/dist/{chunk-2M6JV7YS.js.map → chunk-4IL33OUX.js.map} +0 -0
  709. /package/dist/{chunk-TITA4HJA.js.map → chunk-4YG57UVZ.js.map} +0 -0
  710. /package/dist/{chunk-NV5XWADG.js.map → chunk-54P7H5GL.js.map} +0 -0
  711. /package/dist/{chunk-2TJESM3Z.js.map → chunk-5BBR2HND.js.map} +0 -0
  712. /package/dist/{chunk-AIBODF32.js.map → chunk-5BCACIPX.js.map} +0 -0
  713. /package/dist/{chunk-YDWRIMCT.js.map → chunk-6CRWDKT7.js.map} +0 -0
  714. /package/dist/{chunk-25RP5OSE.js.map → chunk-7M45T6YS.js.map} +0 -0
  715. /package/dist/{chunk-CFHKYLDY.js.map → chunk-7N3Q25KC.js.map} +0 -0
  716. /package/dist/{chunk-LRBNYEFI.js.map → chunk-AQ2ODUYY.js.map} +0 -0
  717. /package/dist/{chunk-O3255WPP.js.map → chunk-AZLWNXFP.js.map} +0 -0
  718. /package/dist/{chunk-DQGSCCI3.js.map → chunk-B3SLLQAS.js.map} +0 -0
  719. /package/dist/{chunk-7FTDQDVF.js.map → chunk-BHEBKIGM.js.map} +0 -0
  720. /package/dist/{chunk-F7PB5HGT.js.map → chunk-CAHAYB6O.js.map} +0 -0
  721. /package/dist/{chunk-SYMOQE3X.js.map → chunk-CGDEEO4I.js.map} +0 -0
  722. /package/dist/{chunk-64FGLSIM.js.map → chunk-CXLRKDEC.js.map} +0 -0
  723. /package/dist/{chunk-2VFYZ3EY.js.map → chunk-DET76M2J.js.map} +0 -0
  724. /package/dist/{chunk-AQ4OP4GR.js.map → chunk-DONWY7TP.js.map} +0 -0
  725. /package/dist/{chunk-J5RINDKS.js.map → chunk-DP5ACVIR.js.map} +0 -0
  726. /package/dist/{chunk-4JON7TLI.js.map → chunk-E5JQ3PN6.js.map} +0 -0
  727. /package/dist/{chunk-HWHG63LH.js.map → chunk-EJNV6SCH.js.map} +0 -0
  728. /package/dist/{chunk-WJGVQJSX.js.map → chunk-F5D4ADBB.js.map} +0 -0
  729. /package/dist/{chunk-SEQLC4AD.js.map → chunk-F6V4AYWP.js.map} +0 -0
  730. /package/dist/{chunk-CXOF4UGH.js.map → chunk-FBG235FD.js.map} +0 -0
  731. /package/dist/{chunk-LI7FE335.js.map → chunk-FGMPKWT5.js.map} +0 -0
  732. /package/dist/{chunk-XS4QWRS3.js.map → chunk-FWKAYZ55.js.map} +0 -0
  733. /package/dist/{chunk-2LULD7RN.js.map → chunk-GMDQIP3M.js.map} +0 -0
  734. /package/dist/{chunk-Q7PYFSNU.js.map → chunk-H55L2FAY.js.map} +0 -0
  735. /package/dist/{chunk-SRYFYAXK.js.map → chunk-HED3JZ2O.js.map} +0 -0
  736. /package/dist/{chunk-CJZN7HFL.js.map → chunk-IBIFTCWL.js.map} +0 -0
  737. /package/dist/{chunk-AWWW6K2I.js.map → chunk-ILDUYXV5.js.map} +0 -0
  738. /package/dist/{chunk-6VLA5NEW.js.map → chunk-IQ25XHGX.js.map} +0 -0
  739. /package/dist/{chunk-3MMKHYUM.js.map → chunk-JLSN2WF5.js.map} +0 -0
  740. /package/dist/{chunk-KQMEJUWI.js.map → chunk-JOT4WDJE.js.map} +0 -0
  741. /package/dist/{chunk-VZPYIG77.js.map → chunk-JQIR2UG5.js.map} +0 -0
  742. /package/dist/{chunk-QEZPKEWB.js.map → chunk-K6ZAAZKO.js.map} +0 -0
  743. /package/dist/{chunk-DNCSPTOQ.js.map → chunk-KBDY6GE3.js.map} +0 -0
  744. /package/dist/{chunk-JMPSZMDD.js.map → chunk-KZFOWI7N.js.map} +0 -0
  745. /package/dist/{chunk-BAY47D5E.js.map → chunk-LKFYRQOH.js.map} +0 -0
  746. /package/dist/{chunk-YSW57QDM.js.map → chunk-LO4WNMBO.js.map} +0 -0
  747. /package/dist/{chunk-VIPMLSZP.js.map → chunk-LXQ6DLAR.js.map} +0 -0
  748. /package/dist/{chunk-WPHOEG56.js.map → chunk-M3EBH2WK.js.map} +0 -0
  749. /package/dist/{chunk-UL2ISTHR.js.map → chunk-M5Z3GYRH.js.map} +0 -0
  750. /package/dist/{chunk-U7ZMIMI5.js.map → chunk-MEIKKPY7.js.map} +0 -0
  751. /package/dist/{chunk-SJTOSA7E.js.map → chunk-MZ7RBJSI.js.map} +0 -0
  752. /package/dist/{chunk-D4QFQQWJ.js.map → chunk-OH7PDA2Z.js.map} +0 -0
  753. /package/dist/{chunk-ZTKQLABY.js.map → chunk-OKIJIYSP.js.map} +0 -0
  754. /package/dist/{chunk-EWGMLVC7.js.map → chunk-OOD5HBVR.js.map} +0 -0
  755. /package/dist/{chunk-UJU3Q7QJ.js.map → chunk-OTCYJP7G.js.map} +0 -0
  756. /package/dist/{chunk-MMBLSLQR.js.map → chunk-P7T2U6T7.js.map} +0 -0
  757. /package/dist/{chunk-7IEZ2KMW.js.map → chunk-PLHGSDJY.js.map} +0 -0
  758. /package/dist/{chunk-PEWHCKCH.js.map → chunk-PUDZL7RZ.js.map} +0 -0
  759. /package/dist/{chunk-A5AFIW2T.js.map → chunk-PYJ3QA6E.js.map} +0 -0
  760. /package/dist/{chunk-IQUYTZOA.js.map → chunk-QDRZL47L.js.map} +0 -0
  761. /package/dist/{chunk-LRMV5DNW.js.map → chunk-QTGTMFHM.js.map} +0 -0
  762. /package/dist/{chunk-KWFEGPZL.js.map → chunk-QWL5TZ4G.js.map} +0 -0
  763. /package/dist/{chunk-WIYKAKWE.js.map → chunk-RF6ATFT2.js.map} +0 -0
  764. /package/dist/{chunk-LBXZGYU5.js.map → chunk-RH573XZP.js.map} +0 -0
  765. /package/dist/{chunk-5JD4D5GD.js.map → chunk-STEV77G7.js.map} +0 -0
  766. /package/dist/{chunk-WU63AOK2.js.map → chunk-TBRPZ3FL.js.map} +0 -0
  767. /package/dist/{chunk-5HCB4HNL.js.map → chunk-TE3DK3A6.js.map} +0 -0
  768. /package/dist/{chunk-YXQNZPCO.js.map → chunk-TTGDA3MA.js.map} +0 -0
  769. /package/dist/{chunk-5UMPBVA6.js.map → chunk-UFDQ2R2Q.js.map} +0 -0
  770. /package/dist/{chunk-FVWCYGJL.js.map → chunk-UWX7W22M.js.map} +0 -0
  771. /package/dist/{chunk-LWNOC7AJ.js.map → chunk-V2R3JFLP.js.map} +0 -0
  772. /package/dist/{chunk-MLWNMXAV.js.map → chunk-VKK5MGDU.js.map} +0 -0
  773. /package/dist/{chunk-N3QEGDEZ.js.map → chunk-WHVOWEFP.js.map} +0 -0
  774. /package/dist/{chunk-3PRPMJTG.js.map → chunk-XQTXYKAU.js.map} +0 -0
  775. /package/dist/{chunk-QRIRWDIW.js.map → chunk-YA73ETIT.js.map} +0 -0
  776. /package/dist/{chunk-W345H42C.js.map → chunk-YXJXRXJR.js.map} +0 -0
  777. /package/dist/{chunk-3DCABJHB.js.map → chunk-ZIAGMGMS.js.map} +0 -0
  778. /package/dist/{chunk-MICNOSX7.js.map → chunk-ZXNBYIBD.js.map} +0 -0
  779. /package/dist/{condition-AM523RDR.js.map → condition-RQP7JUST.js.map} +0 -0
  780. /package/dist/{controls-HTMH5QBP.js.map → controls-WFT5GE3D.js.map} +0 -0
  781. /package/dist/{controls.config-EEK2RBPI.js.map → controls.config-66ZKRSPU.js.map} +0 -0
  782. /package/dist/{correlation-HKD67SPS.js.map → correlation-45MFH7X4.js.map} +0 -0
  783. /package/dist/{cuminc-66V55MMN.js.map → cuminc-44ALCFL4.js.map} +0 -0
  784. /package/dist/{cuminc.integration.spec-PNTOPB2L.js.map → cuminc.integration.spec-I2UTPH3X.js.map} +0 -0
  785. /package/dist/{dataDownload-3ZEI22OK.js.map → dataDownload-CRGQTCOW.js.map} +0 -0
  786. /package/dist/{dataDownload.integration.spec-C3JRC6K5.js.map → dataDownload.integration.spec-7SAPXDH4.js.map} +0 -0
  787. /package/dist/{databrowser.ui-Q365SHBG.js.map → databrowser.ui-O5TPKDPL.js.map} +0 -0
  788. /package/dist/{dictionary-D4E2VEJT.js.map → dictionary-QGSAJ7FM.js.map} +0 -0
  789. /package/dist/{dnaMethylation-IFZWWBUG.js.map → dnaMethylation-4VDQBBGJ.js.map} +0 -0
  790. /package/dist/{dnaMethylation.integration.spec-UKV4BSIO.js.map → dnaMethylation.integration.spec-RSO5U6RN.js.map} +0 -0
  791. /package/dist/{e2pca-I3QXF7EM.js.map → e2pca-7LPSASDI.js.map} +0 -0
  792. /package/dist/{ep-2VCQ36GT.js.map → ep-AIOPCUME.js.map} +0 -0
  793. /package/dist/{expclust.gdc.spec-VWIQFY67.js.map → expclust.gdc.spec-PSXJZCAI.js.map} +0 -0
  794. /package/dist/{facet-CHP3VUWS.js.map → facet-W3RYRWXJ.js.map} +0 -0
  795. /package/dist/{geneExpClustering-YDIDEH2O.js.map → geneExpClustering-SBQWW6IZ.js.map} +0 -0
  796. /package/dist/{geneExpression-X2KXJPND.js.map → geneExpression-4WEYCEZV.js.map} +0 -0
  797. /package/dist/{geneExpression-FA5RJRHZ.js.map → geneExpression-JWYJNDN5.js.map} +0 -0
  798. /package/dist/{geneExpression.unit.spec-3LVHYZGG.js.map → geneExpression.unit.spec-HKD4DJIV.js.map} +0 -0
  799. /package/dist/{geneORA-4CAYRKSN.js.map → geneORA-YUVDOZ5X.js.map} +0 -0
  800. /package/dist/{geneVariant-OCOTNUH4.js.map → geneVariant-J3UI6RWM.js.map} +0 -0
  801. /package/dist/{geneVariant-Y4L5W5HF.js.map → geneVariant-ZB7CLFCT.js.map} +0 -0
  802. /package/dist/{geneVariant.integration.spec-BOJ5MM5K.js.map → geneVariant.integration.spec-JDCKOR4C.js.map} +0 -0
  803. /package/dist/{geneset-GEWKDAAT.js.map → geneset-242QGP5Q.js.map} +0 -0
  804. /package/dist/{genomeBrowser.spec-FDEGH4DY.js.map → genomeBrowser.spec-NRLKLJQD.js.map} +0 -0
  805. /package/dist/{grin2-V6FMM44N.js.map → grin2-FD3JTI5R.js.map} +0 -0
  806. /package/dist/{grin2-K56B6XBZ.js.map → grin2-TAR4VXPJ.js.map} +0 -0
  807. /package/dist/{gsea-UNPPRU2U.js.map → gsea-YHG57UZ5.js.map} +0 -0
  808. /package/dist/{hierCluster-DXAWRQNI.js.map → hierCluster-QUAZ7NI6.js.map} +0 -0
  809. /package/dist/{hierCluster-SPIQA2M2.js.map → hierCluster-V2YZEXGX.js.map} +0 -0
  810. /package/dist/{hierCluster.config-JW6D3T3Q.js.map → hierCluster.config-ZOWXZGTF.js.map} +0 -0
  811. /package/dist/{hierCluster.integration.spec-5NXZY4LG.js.map → hierCluster.integration.spec-FAR4KK32.js.map} +0 -0
  812. /package/dist/{hierCluster.interactivity-CPPBXHM7.js.map → hierCluster.interactivity-D3TK5FSM.js.map} +0 -0
  813. /package/dist/{hierCluster.renderers-A6MEGO2B.js.map → hierCluster.renderers-C2RK55NN.js.map} +0 -0
  814. /package/dist/{imagePlot-QLAHCULW.js.map → imagePlot-2CACVKOO.js.map} +0 -0
  815. /package/dist/{importPlot-6ITZ6U7G.js.map → importPlot-KUOEC2YF.js.map} +0 -0
  816. /package/dist/{isoformExpression-7GAUF2QV.js.map → isoformExpression-2G4WCETG.js.map} +0 -0
  817. /package/dist/{isoformExpression.unit.spec-3BVXVVNO.js.map → isoformExpression.unit.spec-YBNCR6PE.js.map} +0 -0
  818. /package/dist/{launch.adhoc-HFHBAUR6.js.map → launch.adhoc-PECQW652.js.map} +0 -0
  819. /package/dist/{leftlabel.sample-CWPJUCHR.js.map → leftlabel.sample-6O2CXXC2.js.map} +0 -0
  820. /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-QRSNRVUA.js.map} +0 -0
  821. /package/dist/{lollipop-QFRQLEER.js.map → lollipop-CAFEKZSO.js.map} +0 -0
  822. /package/dist/{maf-OEODBT3Y.js.map → maf-N7ZB5J22.js.map} +0 -0
  823. /package/dist/{maftimeline-2DFIF4C4.js.map → maftimeline-MCYB3EST.js.map} +0 -0
  824. /package/dist/{matrix-3HFB5TUU.js.map → matrix-ID662DZG.js.map} +0 -0
  825. /package/dist/{matrix-MIXK27AD.js.map → matrix-JDGO6A4G.js.map} +0 -0
  826. /package/dist/{matrix.cells-U7AQNEBP.js.map → matrix.cells-QWB3XSTN.js.map} +0 -0
  827. /package/dist/{matrix.config-FX5MHX6O.js.map → matrix.config-HHWMMUZT.js.map} +0 -0
  828. /package/dist/{matrix.controls-5K7BB5Z4.js.map → matrix.controls-EOX43634.js.map} +0 -0
  829. /package/dist/{matrix.data-EEIY6AO4.js.map → matrix.data-YTSSULKG.js.map} +0 -0
  830. /package/dist/{matrix.groups-CUB6UWC5.js.map → matrix.groups-NGJ276VG.js.map} +0 -0
  831. /package/dist/{matrix.integration.spec-ML4T7FRG.js.map → matrix.integration.spec-XHGSEBYM.js.map} +0 -0
  832. /package/dist/{matrix.interactivity-QMPWX63Q.js.map → matrix.interactivity-OZS7R32Z.js.map} +0 -0
  833. /package/dist/{matrix.layout-7SEF6MYI.js.map → matrix.layout-GBQJ7O3H.js.map} +0 -0
  834. /package/dist/{matrix.legend-42LQGAGX.js.map → matrix.legend-AGTC5JPS.js.map} +0 -0
  835. /package/dist/{matrix.renderers-ZF7LLER3.js.map → matrix.renderers-L5D5NLLR.js.map} +0 -0
  836. /package/dist/{matrix.serieses-4B2WB526.js.map → matrix.serieses-DDQOSCL4.js.map} +0 -0
  837. /package/dist/{matrix.sort-BJACNR7G.js.map → matrix.sort-6VF7VNFX.js.map} +0 -0
  838. /package/dist/{matrix.sort.unit.spec-ZGSM7HDJ.js.map → matrix.sort.unit.spec-QGJBVO3X.js.map} +0 -0
  839. /package/dist/{matrix.sorterUi-W6XFYZY2.js.map → matrix.sorterUi-UE7CBIUP.js.map} +0 -0
  840. /package/dist/{matrix.sorterUi.unit.spec-V34ZZD7A.js.map → matrix.sorterUi.unit.spec-CTLTVJCO.js.map} +0 -0
  841. /package/dist/{mavb-NVQVFU6E.js.map → mavb-MU7H7YWY.js.map} +0 -0
  842. /package/dist/{mds.fimo-HOCF6U6K.js.map → mds.fimo-ELCNQMNR.js.map} +0 -0
  843. /package/dist/{mds.samplescatterplot-ULD5BK5R.js.map → mds.samplescatterplot-P7N4SXYT.js.map} +0 -0
  844. /package/dist/{mds.survivalplot-5US32RQD.js.map → mds.survivalplot-KJFW4IRT.js.map} +0 -0
  845. /package/dist/{oncomatrix-Y3G3MUJJ.js.map → oncomatrix-Q5X3O65P.js.map} +0 -0
  846. /package/dist/{oncomatrix.spec-MFUJLWEP.js.map → oncomatrix.spec-CJGXXI3U.js.map} +0 -0
  847. /package/dist/{plot.2dvaf-F4WZ4YPU.js.map → plot.2dvaf-CDPVMUPX.js.map} +0 -0
  848. /package/dist/{plot.app-YFFLLBU5.js.map → plot.app-BSPQMQCI.js.map} +0 -0
  849. /package/dist/{plot.barplot-2EJ2MWQD.js.map → plot.barplot-C33LEV4Q.js.map} +0 -0
  850. /package/dist/{plot.boxplot-AKZM443E.js.map → plot.boxplot-XH7FN6PC.js.map} +0 -0
  851. /package/dist/{plot.brainImaging-DR6WJNFZ.js.map → plot.brainImaging-5BB455FT.js.map} +0 -0
  852. /package/dist/{plot.disco-LBE5H67U.js.map → plot.disco-3YUN6XAY.js.map} +0 -0
  853. /package/dist/{plot.dzi-R2MR7HAT.js.map → plot.dzi-RZWAL5UC.js.map} +0 -0
  854. /package/dist/{plot.ssgq-C52YIUFY.js.map → plot.ssgq-M763HWMN.js.map} +0 -0
  855. /package/dist/{plot.vaf2cov-FOD3K7BC.js.map → plot.vaf2cov-EAHQV6FD.js.map} +0 -0
  856. /package/dist/{plot.wsi-D2TXYERK.js.map → plot.wsi-2BDC3RJS.js.map} +0 -0
  857. /package/dist/{polar-2LC35O6K.js.map → polar-3SJ5SUNJ.js.map} +0 -0
  858. /package/dist/{polar2-QPUOEUJZ.js.map → polar2-3GTEGZUL.js.map} +0 -0
  859. /package/dist/{profile.spec-3NCDGHLX.js.map → profile.spec-AR7JLQYT.js.map} +0 -0
  860. /package/dist/{profileBarchart-PPQ3NL4D.js.map → profileBarchart-GLTPPW2O.js.map} +0 -0
  861. /package/dist/{profileForms-GS3VVW65.js.map → profileForms-FE4GHA2T.js.map} +0 -0
  862. /package/dist/{profilePlot-DQWFH5NC.js.map → profilePlot-3JXEZUX5.js.map} +0 -0
  863. /package/dist/{profileRadar-KAKRDC4R.js.map → profileRadar-NA2WUSHG.js.map} +0 -0
  864. /package/dist/{profileRadarFacility-FZP62VPV.js.map → profileRadarFacility-6UNT4GPM.js.map} +0 -0
  865. /package/dist/{proteomeAbundance-LTB3QR3G.js.map → proteomeAbundance-GDK5EIE7.js.map} +0 -0
  866. /package/dist/{proteomeAbundance-DE4NVBCN.js.map → proteomeAbundance-NVLYQRKI.js.map} +0 -0
  867. /package/dist/{qualitative-YOFAROVR.js.map → qualitative-TUNIICQ4.js.map} +0 -0
  868. /package/dist/{regression-PF6IAHJK.js.map → regression-22IF77A7.js.map} +0 -0
  869. /package/dist/{regression.inputs-77IUYED3.js.map → regression.inputs-VCVMUBA7.js.map} +0 -0
  870. /package/dist/{regression.inputs.term-WWCHU6KF.js.map → regression.inputs.term-6FWVBNJT.js.map} +0 -0
  871. /package/dist/{regression.inputs.values.table-I6GM6MU7.js.map → regression.inputs.values.table-2FXOWLKN.js.map} +0 -0
  872. /package/dist/{regression.integration.spec-DGEZUURU.js.map → regression.integration.spec-2UMB7EIG.js.map} +0 -0
  873. /package/dist/{regression.results-6GXNKYUS.js.map → regression.results-27XHC5GE.js.map} +0 -0
  874. /package/dist/{regression.spec-MEFQNY34.js.map → regression.spec-5Q4J7TJZ.js.map} +0 -0
  875. /package/dist/{report-LG3UKZHL.js.map → report-B4RRLC7Q.js.map} +0 -0
  876. /package/dist/{sampleScatter.spec-D3IK7MSA.js.map → sampleScatter.spec-TXZYLGM7.js.map} +0 -0
  877. /package/dist/{sampleView-XUI2J5EC.js.map → sampleView-2WKGJUSX.js.map} +0 -0
  878. /package/dist/{samplelst-A7IHCBAX.js.map → samplelst-NJZOPYYJ.js.map} +0 -0
  879. /package/dist/{samplematrix-VGUU7Q75.js.map → samplematrix-ZXOLANI5.js.map} +0 -0
  880. /package/dist/{sc-UVKVT2RY.js.map → sc-4IYYVV2I.js.map} +0 -0
  881. /package/dist/{scatter-UILUYOGO.js.map → scatter-UBF4N6ON.js.map} +0 -0
  882. /package/dist/{scatter.integration.spec-VPNALPUG.js.map → scatter.integration.spec-JNGJ4BU5.js.map} +0 -0
  883. /package/dist/{selectGenomeWithTklst-LWKIMZEJ.js.map → selectGenomeWithTklst-7ICTRJNK.js.map} +0 -0
  884. /package/dist/{singleCellCellType-TI52WQQ4.js.map → singleCellCellType-Y5ETQYDC.js.map} +0 -0
  885. /package/dist/{singleCellCellType.unit.spec-R3BTRFRU.js.map → singleCellCellType.unit.spec-TLLZRMD7.js.map} +0 -0
  886. /package/dist/{singleCellGeneExpression-I5SAHMGI.js.map → singleCellGeneExpression-HZRIE2XT.js.map} +0 -0
  887. /package/dist/{singleCellGeneExpression.unit.spec-2JTB5HLY.js.map → singleCellGeneExpression.unit.spec-K435LTFJ.js.map} +0 -0
  888. /package/dist/{singleCellPlot-HRWCHYCI.js.map → singleCellPlot-T7MKCAAW.js.map} +0 -0
  889. /package/dist/{singlecell-PQNKBKR7.js.map → singlecell-K662WWCH.js.map} +0 -0
  890. /package/dist/{singlecell-BHPP7KCO.js.map → singlecell-KVLDYQ36.js.map} +0 -0
  891. /package/dist/{snp-V4YGI7B3.js.map → snp-JNV3DX5W.js.map} +0 -0
  892. /package/dist/{snp.unit.spec-JSUCMGNP.js.map → snp.unit.spec-7KFVZUWR.js.map} +0 -0
  893. /package/dist/{snplocus-3YT5NNCH.js.map → snplocus-VJLA35TV.js.map} +0 -0
  894. /package/dist/{spliceevent.a53ss.diagram-QEQJ44YH.js.map → spliceevent.a53ss.diagram-MZPU6IBF.js.map} +0 -0
  895. /package/dist/{spliceevent.exonskip.diagram-HMWVSOJG.js.map → spliceevent.exonskip.diagram-OOYBJT4F.js.map} +0 -0
  896. /package/dist/{spliceevent.noeventdiagram-L5HUCT5A.js.map → spliceevent.noeventdiagram-KPEZVRFS.js.map} +0 -0
  897. /package/dist/{ssGSEA-Z3XRCBYW.js.map → ssGSEA-GPPPUU2J.js.map} +0 -0
  898. /package/dist/{ssGSEA.unit.spec-EUCTV2XJ.js.map → ssGSEA.unit.spec-4SRZ4NRN.js.map} +0 -0
  899. /package/dist/{summarizeCnvGeneexp-O7O2CFW4.js.map → summarizeCnvGeneexp-NRLEM4X4.js.map} +0 -0
  900. /package/dist/{summarizeGeneexpSurvival-DDPH56EI.js.map → summarizeGeneexpSurvival-BJLP43OZ.js.map} +0 -0
  901. /package/dist/{summarizeMutationCnv-6KJQUJWR.js.map → summarizeMutationCnv-7DCCBY5U.js.map} +0 -0
  902. /package/dist/{summarizeMutationDiagnosis-HFFYLQOF.js.map → summarizeMutationDiagnosis-HATSCOMG.js.map} +0 -0
  903. /package/dist/{summarizeMutationSurvival-OBK6YILP.js.map → summarizeMutationSurvival-XIRZFWDJ.js.map} +0 -0
  904. /package/dist/{summary-W55WWIU2.js.map → summary-VOFTJ76P.js.map} +0 -0
  905. /package/dist/{summary.integration.spec-X2PNAUKW.js.map → summary.integration.spec-2C5RCIY4.js.map} +0 -0
  906. /package/dist/{summaryInput-X547Q6C7.js.map → summaryInput-DIIECI4W.js.map} +0 -0
  907. /package/dist/{sunburst-KWNGYBRI.js.map → sunburst-CYROEYTG.js.map} +0 -0
  908. /package/dist/{survival-TQPWMOD5.js.map → survival-5Y3DFIES.js.map} +0 -0
  909. /package/dist/{survival-PAJZHZPD.js.map → survival-WCPGEHW5.js.map} +0 -0
  910. /package/dist/{survival.integration.spec-YMQASOMX.js.map → survival.integration.spec-LRSN2B7G.js.map} +0 -0
  911. /package/dist/{svgraph-Y35C2M3D.js.map → svgraph-3T6XL7TR.js.map} +0 -0
  912. /package/dist/{svmr-WGCIR7PE.js.map → svmr-GUBPSOID.js.map} +0 -0
  913. /package/dist/{table-Q3B2YXEN.js.map → table-NTS6ROT7.js.map} +0 -0
  914. /package/dist/{termCollection-A6YTSM5I.js.map → termCollection-EE72SAHN.js.map} +0 -0
  915. /package/dist/{termCollection-NTFNVQ7D.js.map → termCollection-ZZXLZ3UE.js.map} +0 -0
  916. /package/dist/{termCollection.unit.spec-BX54PHKT.js.map → termCollection.unit.spec-3CTEJRTX.js.map} +0 -0
  917. /package/dist/{tk-OCBZ7YR6.js.map → tk-6FIXPXTM.js.map} +0 -0
  918. /package/dist/{tp.ui-ZT47N2CO.js.map → tp.ui-4ESL6SCH.js.map} +0 -0
  919. /package/dist/{tvs.density-HSVPDDGA.js.map → tvs.density-AQ5GD437.js.map} +0 -0
  920. /package/dist/{tvs.dt-BFB253O3.js.map → tvs.dt-G5FMPWPL.js.map} +0 -0
  921. /package/dist/{tvs.dtcnv.categorical-ARGAYIDO.js.map → tvs.dtcnv.categorical-EYQ6RTHD.js.map} +0 -0
  922. /package/dist/{tvs.dtcnv.continuous-JCU23ERV.js.map → tvs.dtcnv.continuous-PSQMFFNX.js.map} +0 -0
  923. /package/dist/{tvs.dtfusion-FV64XLZI.js.map → tvs.dtfusion-4F6627GK.js.map} +0 -0
  924. /package/dist/{tvs.dtsnvindel-DMOXMEVL.js.map → tvs.dtsnvindel-YNYVLJEI.js.map} +0 -0
  925. /package/dist/{tvs.dtsv-53FSZEPV.js.map → tvs.dtsv-X2K4K4RN.js.map} +0 -0
  926. /package/dist/{tvs.numeric-ICUGA4WY.js.map → tvs.numeric-ZN2R7BH3.js.map} +0 -0
  927. /package/dist/{tvs.samplelst-MVPL6VXX.js.map → tvs.samplelst-XZK4BE3H.js.map} +0 -0
  928. /package/dist/{tvs.termCollection-UGJXTHTG.js.map → tvs.termCollection-ZAX57TN4.js.map} +0 -0
  929. /package/dist/{violin-ZLUDGSQG.js.map → violin-YEMSGTYF.js.map} +0 -0
  930. /package/dist/{violin.integration.spec-KWOFOFLT.js.map → violin.integration.spec-TULH2DWL.js.map} +0 -0
  931. /package/dist/{violin.interactivity-ULDOCZWW.js.map → violin.interactivity-RX2CDFVC.js.map} +0 -0
  932. /package/dist/{violin.renderer-KJAXPMIK.js.map → violin.renderer-OJJDZFMZ.js.map} +0 -0
  933. /package/dist/{vocabulary-34YUQ4ZQ.js.map → vocabulary-726CSMNM.js.map} +0 -0
@@ -0,0 +1,3070 @@
1
+ import {
2
+ getSortOptions
3
+ } from "./chunk-UFDQ2R2Q.js";
4
+ import {
5
+ getRunPp
6
+ } from "./chunk-PLHGSDJY.js";
7
+ import {
8
+ detectLst,
9
+ sleep
10
+ } from "./chunk-SSPDNHDW.js";
11
+ import {
12
+ termjson
13
+ } from "./chunk-HUA2EFQO.js";
14
+ import {
15
+ require_tape
16
+ } from "./chunk-QWOE5YTB.js";
17
+ import "./chunk-MEIKKPY7.js";
18
+ import "./chunk-PUDZL7RZ.js";
19
+ import "./chunk-GZJ7GDZ4.js";
20
+ import "./chunk-TTGDA3MA.js";
21
+ import "./chunk-PRZWSBMA.js";
22
+ import "./chunk-JLSN2WF5.js";
23
+ import "./chunk-MKAF2BHB.js";
24
+ import "./chunk-I2M62STM.js";
25
+ import "./chunk-IBIFTCWL.js";
26
+ import "./chunk-DONWY7TP.js";
27
+ import "./chunk-2LCTMDCS.js";
28
+ import "./chunk-HJ6L54YS.js";
29
+ import "./chunk-E5JQ3PN6.js";
30
+ import "./chunk-RCYTUKAJ.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-IQIXGTQV.js";
37
+ import "./chunk-UCLS2SVB.js";
38
+ import "./chunk-MVTCBVSX.js";
39
+ import "./chunk-F6V4AYWP.js";
40
+ import "./chunk-5OHXYXLD.js";
41
+ import "./chunk-DQC5FFGV.js";
42
+ import "./chunk-JOT4WDJE.js";
43
+ import "./chunk-OTCYJP7G.js";
44
+ import "./chunk-GXINX3WK.js";
45
+ import "./chunk-SOED2SLH.js";
46
+ import {
47
+ CNVClasses,
48
+ mutationClasses,
49
+ proteinChangingMutations,
50
+ synonymousMutations,
51
+ truncatingMutations
52
+ } from "./chunk-XRVBHNCW.js";
53
+ import "./chunk-BEWDIM6H.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-XHGSEBYM.js.map