@sjcrh/proteinpaint-client 2.187.0 → 2.188.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (963) hide show
  1. package/dist/2dmaf-6YIEXAIG.js +1372 -0
  2. package/dist/AIProjectAdmin-5K5NIQNT.js +828 -0
  3. package/dist/AppHeader-4SN5M6SZ.js +834 -0
  4. package/dist/BoxPlot-DBJA6TQF.js +1218 -0
  5. package/dist/CorrelationVolcano-MDMTMTT5.js +618 -0
  6. package/dist/DE-S5AFNI4I.js +94 -0
  7. package/dist/DEinput-XVBBA74N.js +300 -0
  8. package/dist/DifferentialAnalysis-TUBGPAB2.js +244 -0
  9. package/dist/DifferentialAnalysis-TUBGPAB2.js.map +7 -0
  10. package/dist/Disco-VV7FQ7WW.js +3236 -0
  11. package/dist/Disco.UI-JDJFJFEY.js +244 -0
  12. package/dist/DmrPlot-XOG67W74.js +641 -0
  13. package/dist/GB-K3AWZQFF.js +1129 -0
  14. package/dist/GeneExpInput-Y7MDS2CA.js +365 -0
  15. package/dist/HicApp-53OTZ3YU.js +2249 -0
  16. package/dist/NumBinaryEditor-SB4YR3JM.js +269 -0
  17. package/dist/NumBinaryEditor.unit.spec-V2W2OZYP.js +285 -0
  18. package/dist/NumContEditor-RZZBM7PR.js +106 -0
  19. package/dist/NumContEditor.unit.spec-GAAW3ZZN.js +168 -0
  20. package/dist/NumCustomBinEditor-GFCGPRPI.js +37 -0
  21. package/dist/NumCustomBinEditor.unit.spec-24MXSO3L.js +283 -0
  22. package/dist/NumDiscreteEditor-HAHIOFNC.js +178 -0
  23. package/dist/NumDiscreteEditor.unit.spec-JYN2CWSI.js +201 -0
  24. package/dist/NumRegularBinEditor-7DOE64RB.js +37 -0
  25. package/dist/NumRegularBinEditor.unit.spec-2WU4GGNT.js +226 -0
  26. package/dist/NumSplineEditor-JLRD5TVX.js +191 -0
  27. package/dist/NumSplineEditor.unit.spec-LOG7CECJ.js +198 -0
  28. package/dist/NumericDensity-IDOP7I34.js +37 -0
  29. package/dist/NumericDensity.unit.spec-HTJQRPVH.js +220 -0
  30. package/dist/NumericHandler-DWVVGLLB.js +38 -0
  31. package/dist/NumericHandler.unit.spec-BDDFTHOF.js +218 -0
  32. package/dist/ProteomeInput-PK4ZM3SZ.js +395 -0
  33. package/dist/ProteomeInput-PK4ZM3SZ.js.map +7 -0
  34. package/dist/RunChart2-PBJ56YX3.js +757 -0
  35. package/dist/SC-UC3HP2MY.js +830 -0
  36. package/dist/SC-UC3HP2MY.js.map +7 -0
  37. package/dist/Volcano-BZJCA53R.js +1314 -0
  38. package/dist/Volcano-BZJCA53R.js.map +7 -0
  39. package/dist/WSIViewer-OHOP2DZT.js +48475 -0
  40. package/dist/WSIViewer-OHOP2DZT.js.map +7 -0
  41. package/dist/WsiSamplesPlot-FOMPMEXK.js +164 -0
  42. package/dist/adSandbox-SRPPCYYR.js +37 -0
  43. package/dist/alphaGenome-IS2WAJCK.js +174 -0
  44. package/dist/app-GTHYSGWI.js +36 -0
  45. package/dist/app-XEKETNLG.js +48 -0
  46. package/dist/app.js +20 -20
  47. package/dist/bam-GQBFL6A7.js +859 -0
  48. package/dist/barchart-AESC4JSX.js +46 -0
  49. package/dist/barchart.data-RE34IC4G.js +22 -0
  50. package/dist/barchart.events-KM4J5ISO.js +46 -0
  51. package/dist/barchart.integration.spec-DFVSBGO3.js +1676 -0
  52. package/dist/barchart2-NNTL4RQZ.js +310 -0
  53. package/dist/block-EHZM3FUX.js +6201 -0
  54. package/dist/block.init-EAEFNNF6.js +37 -0
  55. package/dist/block.mds.expressionrank-ZBHA2CFE.js +358 -0
  56. package/dist/block.mds.geneboxplot-4ZU3QUAK.js +827 -0
  57. package/dist/block.mds.junction-PDH55JXO.js +1544 -0
  58. package/dist/block.mds.svcnv-QWBU54XQ.js +6800 -0
  59. package/dist/block.svg-HUGBYWXU.js +163 -0
  60. package/dist/block.tk.aicheck-SDCWXQZF.js +282 -0
  61. package/dist/block.tk.ase-HMUTHCJS.js +364 -0
  62. package/dist/block.tk.bam-Q7B2YQLI.js +1905 -0
  63. package/dist/block.tk.bedgraphdot-QBGBSVHN.js +383 -0
  64. package/dist/block.tk.bigwig.ui-767A3MUH.js +211 -0
  65. package/dist/block.tk.hicstraw-LEZUZHLF.js +822 -0
  66. package/dist/block.tk.junction-GQHCZOYR.js +2363 -0
  67. package/dist/block.tk.junction.textmatrixui-D5QUO7KQ.js +198 -0
  68. package/dist/block.tk.ld-E3MHZOG5.js +98 -0
  69. package/dist/block.tk.menu-XE7PFYGR.js +1028 -0
  70. package/dist/block.tk.pgv-MPPMPDED.js +943 -0
  71. package/dist/brainImaging-YQ443NOL.js +422 -0
  72. package/dist/chunk-26WXJBSR.js +228 -0
  73. package/dist/chunk-2P6Z7JFC.js +119 -0
  74. package/dist/chunk-2QQO4RRD.js +2681 -0
  75. package/dist/chunk-2T7VYQLY.js +281 -0
  76. package/dist/chunk-2T7VYQLY.js.map +7 -0
  77. package/dist/chunk-2XPDA6NL.js +20652 -0
  78. package/dist/chunk-2XPDA6NL.js.map +7 -0
  79. package/dist/chunk-37ARSZOI.js +2815 -0
  80. package/dist/chunk-42Q53PXE.js +381 -0
  81. package/dist/chunk-46ASPS5Y.js +386 -0
  82. package/dist/chunk-4KPI7PB5.js +142 -0
  83. package/dist/chunk-4MDNMCGZ.js +102 -0
  84. package/dist/chunk-5IG3E4DT.js +272 -0
  85. package/dist/chunk-5MIR7IHI.js +52 -0
  86. package/dist/chunk-5MZVXJVA.js +55 -0
  87. package/dist/chunk-66D5GRS5.js +263 -0
  88. package/dist/chunk-6ATE2TRC.js +534 -0
  89. package/dist/chunk-6BFR6MK3.js +158 -0
  90. package/dist/chunk-6NJMCO4X.js +335 -0
  91. package/dist/chunk-6ON5KAMO.js +54 -0
  92. package/dist/chunk-76GPYMHZ.js +102 -0
  93. package/dist/chunk-7AAFBFOH.js +147 -0
  94. package/dist/chunk-7OOZHEUC.js +302 -0
  95. package/dist/chunk-A4VLWLYF.js +226 -0
  96. package/dist/chunk-A6EFWGWD.js +444 -0
  97. package/dist/chunk-ALW5XXVW.js +170 -0
  98. package/dist/chunk-ANCT2BGO.js +34 -0
  99. package/dist/chunk-AROMXWCY.js +291 -0
  100. package/dist/chunk-AY4UBGLC.js +815 -0
  101. package/dist/chunk-B43MTEYB.js +84 -0
  102. package/dist/chunk-B43MTEYB.js.map +7 -0
  103. package/dist/chunk-BMVLR3TM.js +1210 -0
  104. package/dist/chunk-BR7JA2EO.js +621 -0
  105. package/dist/chunk-C3SYSMNE.js +42 -0
  106. package/dist/chunk-C3SYSMNE.js.map +7 -0
  107. package/dist/chunk-D3HJXMTH.js +17 -0
  108. package/dist/chunk-DKUEZ4XD.js +205 -0
  109. package/dist/chunk-DT3MMC5U.js +31 -0
  110. package/dist/chunk-DYVKN7EE.js +5000 -0
  111. package/dist/chunk-EF37UZY6.js +37 -0
  112. package/dist/chunk-ESXMS7FW.js +229 -0
  113. package/dist/chunk-FDK4UJMN.js +263 -0
  114. package/dist/chunk-FDK4UJMN.js.map +7 -0
  115. package/dist/chunk-FUSVXQ6C.js +368 -0
  116. package/dist/chunk-G7JRRTS5.js +170 -0
  117. package/dist/chunk-G7JRRTS5.js.map +7 -0
  118. package/dist/chunk-GHWHLSUX.js +192 -0
  119. package/dist/chunk-GHWHLSUX.js.map +7 -0
  120. package/dist/chunk-GXKVAPGP.js +2786 -0
  121. package/dist/chunk-H4JIENLQ.js +39 -0
  122. package/dist/chunk-H7YJG4YM.js +470 -0
  123. package/dist/chunk-I24KPIDD.js +148 -0
  124. package/dist/chunk-IENFDUWD.js +203 -0
  125. package/dist/chunk-IKHIY6IZ.js +2327 -0
  126. package/dist/chunk-IKHIY6IZ.js.map +7 -0
  127. package/dist/chunk-J7BISJTL.js +50 -0
  128. package/dist/chunk-J7KYOSEK.js +824 -0
  129. package/dist/chunk-JGPZ5254.js +371 -0
  130. package/dist/chunk-JUIPCWAM.js +194 -0
  131. package/dist/chunk-LO4NMQ7W.js +293 -0
  132. package/dist/chunk-LSSLS5HV.js +95 -0
  133. package/dist/chunk-MDLRB3MR.js +407 -0
  134. package/dist/chunk-MJLKGZ27.js +129 -0
  135. package/dist/chunk-MYWJQRTD.js +1849 -0
  136. package/dist/chunk-MYWJQRTD.js.map +7 -0
  137. package/dist/chunk-NL5T3SBK.js +4209 -0
  138. package/dist/chunk-NMBIT4IK.js +46 -0
  139. package/dist/chunk-NMBIT4IK.js.map +7 -0
  140. package/dist/chunk-ONAYJVN2.js +217 -0
  141. package/dist/chunk-PP7K4R2E.js +141 -0
  142. package/dist/chunk-PP7K4R2E.js.map +7 -0
  143. package/dist/chunk-PSMFOARZ.js +14 -0
  144. package/dist/chunk-QX3GF2IA.js +514 -0
  145. package/dist/chunk-QZ2U4BOS.js +1159 -0
  146. package/dist/chunk-RBZBBNLL.js +1087 -0
  147. package/dist/chunk-RQ2ZJ66W.js +276 -0
  148. package/dist/chunk-RQ2ZJ66W.js.map +7 -0
  149. package/dist/chunk-RZTFQXWV.js +117 -0
  150. package/dist/chunk-SJC2C77V.js +177 -0
  151. package/dist/chunk-THUXB7EE.js +698 -0
  152. package/dist/chunk-THUXB7EE.js.map +7 -0
  153. package/dist/chunk-TVXVP4M6.js +215 -0
  154. package/dist/chunk-UTDPKDIY.js +482 -0
  155. package/dist/chunk-UVIUB7QI.js +280 -0
  156. package/dist/chunk-VAUSRBL5.js +6364 -0
  157. package/dist/chunk-VP3IZVQA.js +54 -0
  158. package/dist/chunk-VP3IZVQA.js.map +7 -0
  159. package/dist/chunk-WP22GYZ2.js +446 -0
  160. package/dist/chunk-WUNX3VST.js +1271 -0
  161. package/dist/chunk-X7GDCYND.js +1561 -0
  162. package/dist/chunk-X7GDCYND.js.map +7 -0
  163. package/dist/chunk-XB3V6S2X.js +1230 -0
  164. package/dist/chunk-XB3V6S2X.js.map +7 -0
  165. package/dist/chunk-XD4TBJK2.js +455 -0
  166. package/dist/chunk-Y6DSXMPB.js +121 -0
  167. package/dist/chunk-YBIZRASR.js +252 -0
  168. package/dist/chunk-YI2YH7ZK.js +158 -0
  169. package/dist/chunk-YLDE3PVC.js +1943 -0
  170. package/dist/chunk-Z736NYXL.js +26 -0
  171. package/dist/chunk-ZEJB7CPC.js +95 -0
  172. package/dist/chunk-ZGWEBKZ4.js +100 -0
  173. package/dist/condition-FSF6ROJV.js +331 -0
  174. package/dist/controls-OPSBFDFZ.js +40 -0
  175. package/dist/controls.config-3QRV5363.js +38 -0
  176. package/dist/correlation-WLOI7Z35.js +97 -0
  177. package/dist/cuminc-G2UGJUUA.js +1148 -0
  178. package/dist/cuminc.integration.spec-X5NEZ6S5.js +677 -0
  179. package/dist/customdata.inputui-RNW3AO3Z.js +288 -0
  180. package/dist/dataDownload-4U3TGDMH.js +329 -0
  181. package/dist/dataDownload.integration.spec-6FUI2SJ4.js +192 -0
  182. package/dist/databrowser.ui-4GVJVJWG.js +432 -0
  183. package/dist/dictionary-NSDS7Z4K.js +110 -0
  184. package/dist/dnaMethylation-OYQB75LD.js +37 -0
  185. package/dist/dnaMethylation.integration.spec-6TTLV34N.js +202 -0
  186. package/dist/dofetch-4TO3QMT6.js +50 -0
  187. package/dist/e2pca-NYBVR6PL.js +349 -0
  188. package/dist/ep-RTDVEA4D.js +1255 -0
  189. package/dist/expclust.gdc.spec-JVIRESTP.js +306 -0
  190. package/dist/facet-OVBF2QMO.js +520 -0
  191. package/dist/forms2-HTLS54CX.js +533 -0
  192. package/dist/gb-Y3546HMZ.js +87 -0
  193. package/dist/geneExpClustering-PH3PWH3K.js +248 -0
  194. package/dist/geneExpression-2Z2EV3XM.js +37 -0
  195. package/dist/geneExpression-6CFXOCGW.js +312 -0
  196. package/dist/geneExpression.unit.spec-WKUTHRHC.js +101 -0
  197. package/dist/geneORA-SHLZESLB.js +277 -0
  198. package/dist/geneVariant-FHZUIFPM.js +38 -0
  199. package/dist/geneVariant-Y7ZUBEOX.js +40 -0
  200. package/dist/geneVariant.integration.spec-N7TZUOY3.js +197 -0
  201. package/dist/genefusion.ui-7PDVZPZ2.js +308 -0
  202. package/dist/geneset-HLVOGYUI.js +202 -0
  203. package/dist/genomeBrowser.spec-7IVIMUR5.js +280 -0
  204. package/dist/grin2-2GNWIYFU.js +845 -0
  205. package/dist/grin2-2GNWIYFU.js.map +7 -0
  206. package/dist/grin2-Z5O7254R.js +1555 -0
  207. package/dist/gsea-TFC3MBRW.js +46 -0
  208. package/dist/hierCluster-ERSE5I4I.js +62 -0
  209. package/dist/hierCluster-QQZQU5ZG.js +58 -0
  210. package/dist/hierCluster.config-WPINWW37.js +39 -0
  211. package/dist/hierCluster.integration.spec-Y6OHSKPW.js +394 -0
  212. package/dist/hierCluster.interactivity-HS3G5QC5.js +53 -0
  213. package/dist/hierCluster.renderers-W63ZKZTT.js +21 -0
  214. package/dist/imagePlot-QFVN25PM.js +162 -0
  215. package/dist/importPlot-MIDM5APH.js +8 -0
  216. package/dist/isoformExpression-L4TRNT4A.js +39 -0
  217. package/dist/isoformExpression.unit.spec-QQG323LA.js +207 -0
  218. package/dist/launch.adhoc-4NQ6GGGL.js +41 -0
  219. package/dist/leftlabel.sample-JU7AIPZL.js +259 -0
  220. package/dist/legacyDataset-TT4CHF23.js +119 -0
  221. package/dist/lollipop-JG74M6PJ.js +170 -0
  222. package/dist/maf-PDL2EGHI.js +451 -0
  223. package/dist/maftimeline-V43NQEEE.js +592 -0
  224. package/dist/matrix-EB2EFP4S.js +57 -0
  225. package/dist/matrix-Q57FU5FE.js +62 -0
  226. package/dist/matrix.cells-NJIMPD32.js +28 -0
  227. package/dist/matrix.config-GLDEQD3H.js +40 -0
  228. package/dist/matrix.data-6SHAKOQU.js +25 -0
  229. package/dist/matrix.groups-MTDEANQA.js +26 -0
  230. package/dist/matrix.integration.spec-JCZ5VQJU.js +3071 -0
  231. package/dist/matrix.interactivity-SVRNWL6V.js +41 -0
  232. package/dist/matrix.layout-2HREO42N.js +43 -0
  233. package/dist/matrix.legend-QHVKT3MP.js +22 -0
  234. package/dist/matrix.renderers-IYR3ZY6V.js +37 -0
  235. package/dist/matrix.serieses-2VMTQXL2.js +21 -0
  236. package/dist/matrix.sort-PWA2RQQR.js +27 -0
  237. package/dist/matrix.sort.unit.spec-3OYIPTFY.js +471 -0
  238. package/dist/matrix.sorterUi-Y5QLO75X.js +18 -0
  239. package/dist/matrix.sorterUi.unit.spec-BNEXQHLP.js +341 -0
  240. package/dist/mavb-IZDDU4KK.js +731 -0
  241. package/dist/mds.fimo-FWBL7JE6.js +517 -0
  242. package/dist/mds.samplescatterplot-T47C7DJB.js +1549 -0
  243. package/dist/mds.survivalplot-MFZJCGS6.js +482 -0
  244. package/dist/numericDictTermCluster-I2W67RGA.js +72 -0
  245. package/dist/oncomatrix-6W7IBAED.js +294 -0
  246. package/dist/oncomatrix.spec-CEFH5IGH.js +447 -0
  247. package/dist/plot.2dvaf-BN6CFLNU.js +376 -0
  248. package/dist/plot.app-7EYWUCZV.js +40 -0
  249. package/dist/plot.barplot-MDIARSQD.js +101 -0
  250. package/dist/plot.boxplot-RUHGXC54.js +151 -0
  251. package/dist/plot.brainImaging-JEE32ZBV.js +51 -0
  252. package/dist/plot.disco-2RPNPX6E.js +101 -0
  253. package/dist/plot.dzi-7VTYYGGW.js +33 -0
  254. package/dist/plot.ssgq-FHE5KU5C.js +138 -0
  255. package/dist/plot.vaf2cov-WDJJM5Q4.js +258 -0
  256. package/dist/plot.wsi-FQZWHNSF.js +36 -0
  257. package/dist/polar-M7EGINN4.js +185 -0
  258. package/dist/polar2-JFYY43K2.js +227 -0
  259. package/dist/profile.spec-SIOHASOX.js +79 -0
  260. package/dist/profileBarchart-6JLEKVJV.js +266 -0
  261. package/dist/profileForms-G6CH73RV.js +440 -0
  262. package/dist/profilePlot-NQYJOBVV.js +53 -0
  263. package/dist/profileRadar-4TNWIXDB.js +262 -0
  264. package/dist/profileRadarFacility-XPH3LCBQ.js +262 -0
  265. package/dist/proteinView-OZLHO45J.js +1222 -0
  266. package/dist/proteinView-OZLHO45J.js.map +7 -0
  267. package/dist/proteomeAbundance-NQ4635NL.js +12 -0
  268. package/dist/proteomeAbundance-OV24UTZN.js +59 -0
  269. package/dist/proteomeAbundance-OV24UTZN.js.map +7 -0
  270. package/dist/qualitative-DL4WJG3O.js +42 -0
  271. package/dist/radar2-YNOQWHBT.js +315 -0
  272. package/dist/radarFacility2-24UPSI7S.js +324 -0
  273. package/dist/regression-URAUTLTD.js +55 -0
  274. package/dist/regression.inputs-UDVOU7FB.js +47 -0
  275. package/dist/regression.inputs.term-BWW6W34R.js +47 -0
  276. package/dist/regression.inputs.values.table-UKGIZTXG.js +44 -0
  277. package/dist/regression.integration.spec-EBHQTNA3.js +783 -0
  278. package/dist/regression.results-XTOSWIP6.js +39 -0
  279. package/dist/regression.spec-KG2I53VR.js +707 -0
  280. package/dist/report-KH7SNPVF.js +221 -0
  281. package/dist/sampleScatter.spec-PIXGS3LG.js +201 -0
  282. package/dist/sampleView-TWS6VT55.js +47 -0
  283. package/dist/samplelst-6AB5Y4WR.js +110 -0
  284. package/dist/samplematrix-AJAF555E.js +2197 -0
  285. package/dist/sc-PMNYZKXA.js +85 -0
  286. package/dist/scatter-Q2GH3ZJD.js +801 -0
  287. package/dist/scatter.integration.spec-SMMYKWH3.js +1195 -0
  288. package/dist/selectGenomeWithTklst-VE4SDYY7.js +133 -0
  289. package/dist/singleCellCellType-S324GCKW.js +37 -0
  290. package/dist/singleCellCellType.unit.spec-NXC2GELH.js +159 -0
  291. package/dist/singleCellGeneExpression-6H4HRKIA.js +37 -0
  292. package/dist/singleCellGeneExpression.unit.spec-HIJXVUWJ.js +152 -0
  293. package/dist/singleCellPlot-H7PCZ2DP.js +52 -0
  294. package/dist/singlecell-4LH3MQVL.js +85 -0
  295. package/dist/singlecell-MOSYT3RI.js +1571 -0
  296. package/dist/snp-IKLGTD4Q.js +37 -0
  297. package/dist/snp.unit.spec-GC74MUVM.js +175 -0
  298. package/dist/snplocus-RIABFSBQ.js +207 -0
  299. package/dist/spliceevent.a53ss.diagram-4E2IYYHL.js +150 -0
  300. package/dist/spliceevent.exonskip.diagram-C56R6XLQ.js +276 -0
  301. package/dist/spliceevent.noeventdiagram-SIPMAKXI.js +459 -0
  302. package/dist/ssGSEA-5QNHLSOI.js +37 -0
  303. package/dist/ssGSEA.unit.spec-KVPN553B.js +87 -0
  304. package/dist/summarizeCnvGeneexp-K4VGJSW6.js +162 -0
  305. package/dist/summarizeGeneexpSurvival-HGHX65FN.js +107 -0
  306. package/dist/summarizeMutationCnv-3K4Z6R2X.js +163 -0
  307. package/dist/summarizeMutationDiagnosis-M2MHUPRT.js +39 -0
  308. package/dist/summarizeMutationSurvival-WVBUP3GA.js +98 -0
  309. package/dist/summary-RZHZXCU5.js +48 -0
  310. package/dist/summary.integration.spec-FGZP7DY7.js +413 -0
  311. package/dist/summaryInput-UGM7MMCR.js +234 -0
  312. package/dist/sunburst-L27U7LV7.js +283 -0
  313. package/dist/survival-5ZMEBV6O.js +57 -0
  314. package/dist/survival-JWRRGTJT.js +45 -0
  315. package/dist/survival.integration.spec-Z5542I4V.js +801 -0
  316. package/dist/svgraph-O6ZVLNNN.js +1386 -0
  317. package/dist/svmr-ULFV7OSH.js +3841 -0
  318. package/dist/table-CHRQH2GH.js +199 -0
  319. package/dist/termCollection-FAO6ZA6F.js +178 -0
  320. package/dist/termCollection-GBXS3GOY.js +37 -0
  321. package/dist/termCollection.unit.spec-4WRTOV6E.js +207 -0
  322. package/dist/tk-KNUBWRNK.js +45 -0
  323. package/dist/tp.ui-2PPYOQYL.js +1458 -0
  324. package/dist/tvs.density-BZ5SKDQS.js +18 -0
  325. package/dist/tvs.dt-TDNSTGQR.js +38 -0
  326. package/dist/tvs.dtcnv.categorical-P2IGIE4I.js +39 -0
  327. package/dist/tvs.dtcnv.continuous-2XUCRBDR.js +71 -0
  328. package/dist/tvs.dtfusion-PRHZVMOG.js +39 -0
  329. package/dist/tvs.dtsnvindel-KGKBW5JS.js +39 -0
  330. package/dist/tvs.dtsv-M3CY5TZF.js +39 -0
  331. package/dist/tvs.numeric-W74JCC5P.js +21 -0
  332. package/dist/tvs.samplelst-BTWFBBAN.js +103 -0
  333. package/dist/tvs.termCollection-Y64QIKOA.js +158 -0
  334. package/dist/violin-3LLHHV3L.js +45 -0
  335. package/dist/violin.integration.spec-6NF5FDLQ.js +1424 -0
  336. package/dist/violin.interactivity-W2AKZ24D.js +37 -0
  337. package/dist/violin.renderer-CRFYYZRI.js +39 -0
  338. package/dist/vocabulary-AUJOAVYS.js +40 -0
  339. package/package.json +4 -3
  340. package/dist/2dmaf-DTWWXOZC.js +0 -1372
  341. package/dist/AIProjectAdmin-BCYIWOXD.js +0 -828
  342. package/dist/AppHeader-H3L2MRWP.js +0 -834
  343. package/dist/BoxPlot-INZ6IN3V.js +0 -1218
  344. package/dist/CorrelationVolcano-AK3XW4ZH.js +0 -618
  345. package/dist/DE-IBSFUKNG.js +0 -94
  346. package/dist/DEinput-H4GMQWDY.js +0 -300
  347. package/dist/DifferentialAnalysis-3DSL5LQC.js +0 -243
  348. package/dist/DifferentialAnalysis-3DSL5LQC.js.map +0 -7
  349. package/dist/Disco-5PXXMGGQ.js +0 -3236
  350. package/dist/Disco.UI-23LOT2U6.js +0 -244
  351. package/dist/DmrPlot-PBCU2XNF.js +0 -641
  352. package/dist/GB-HIEPWNPV.js +0 -1129
  353. package/dist/GeneExpInput-A4JNX7PU.js +0 -365
  354. package/dist/HicApp-IDH2A4BC.js +0 -2249
  355. package/dist/NumBinaryEditor-CZ54X7J3.js +0 -269
  356. package/dist/NumBinaryEditor.unit.spec-QLBRM7MJ.js +0 -285
  357. package/dist/NumContEditor-Z5MGLQ2I.js +0 -106
  358. package/dist/NumContEditor.unit.spec-TR7D7ULV.js +0 -168
  359. package/dist/NumCustomBinEditor-B7JID42Y.js +0 -37
  360. package/dist/NumCustomBinEditor.unit.spec-GZJIVY4K.js +0 -283
  361. package/dist/NumDiscreteEditor-LWHZ36T6.js +0 -178
  362. package/dist/NumDiscreteEditor.unit.spec-QCQCMEWO.js +0 -201
  363. package/dist/NumRegularBinEditor-IATRIUKD.js +0 -37
  364. package/dist/NumRegularBinEditor.unit.spec-J6UTQO76.js +0 -226
  365. package/dist/NumSplineEditor-2KMU6SRO.js +0 -191
  366. package/dist/NumSplineEditor.unit.spec-MX7Y4MTD.js +0 -198
  367. package/dist/NumericDensity-JCH7F5FV.js +0 -37
  368. package/dist/NumericDensity.unit.spec-4TKKRKHF.js +0 -220
  369. package/dist/NumericHandler-7FB3RJM7.js +0 -38
  370. package/dist/NumericHandler.unit.spec-U6DCADZY.js +0 -218
  371. package/dist/RunChart2-VQTIVMKM.js +0 -757
  372. package/dist/SC-XW272KAP.js +0 -827
  373. package/dist/SC-XW272KAP.js.map +0 -7
  374. package/dist/Volcano-Y4U3L6D2.js +0 -1352
  375. package/dist/Volcano-Y4U3L6D2.js.map +0 -7
  376. package/dist/WSIViewer-UFB7TI2D.js +0 -47972
  377. package/dist/WSIViewer-UFB7TI2D.js.map +0 -7
  378. package/dist/WsiSamplesPlot-2OAR57YB.js +0 -164
  379. package/dist/adSandbox-IKKFYRF7.js +0 -37
  380. package/dist/alphaGenome-WJNFQGGK.js +0 -174
  381. package/dist/app-UHGTFH6D.js +0 -48
  382. package/dist/app-YETYAR45.js +0 -36
  383. package/dist/bam-S6U7VNJP.js +0 -859
  384. package/dist/barchart-3NJDGHXU.js +0 -46
  385. package/dist/barchart.data-MVVKPDLE.js +0 -22
  386. package/dist/barchart.events-WQGA4CGB.js +0 -46
  387. package/dist/barchart.integration.spec-E6CJTWRN.js +0 -1676
  388. package/dist/barchart2-UNHFOYKB.js +0 -310
  389. package/dist/block-2XHZLY26.js +0 -6201
  390. package/dist/block.init-CMG4V6RB.js +0 -37
  391. package/dist/block.mds.expressionrank-QX2JOEMV.js +0 -358
  392. package/dist/block.mds.geneboxplot-USVQSDBT.js +0 -827
  393. package/dist/block.mds.junction-R6GJO75N.js +0 -1544
  394. package/dist/block.mds.svcnv-MRISSDAX.js +0 -6800
  395. package/dist/block.svg-Z5KKZTDB.js +0 -163
  396. package/dist/block.tk.aicheck-SOFJYYZX.js +0 -282
  397. package/dist/block.tk.ase-EHX5FV2Y.js +0 -364
  398. package/dist/block.tk.bam-DJS6LODM.js +0 -1905
  399. package/dist/block.tk.bedgraphdot-R2YHPXZA.js +0 -383
  400. package/dist/block.tk.bigwig.ui-VPEEQJLS.js +0 -211
  401. package/dist/block.tk.hicstraw-BDYN573B.js +0 -822
  402. package/dist/block.tk.junction-BONB4BXU.js +0 -2363
  403. package/dist/block.tk.junction.textmatrixui-Y5R6KY4N.js +0 -198
  404. package/dist/block.tk.ld-EGVVSXCB.js +0 -98
  405. package/dist/block.tk.menu-4YBMB5JT.js +0 -1028
  406. package/dist/block.tk.pgv-SBHGL6UH.js +0 -943
  407. package/dist/brainImaging-G3WZDYG6.js +0 -422
  408. package/dist/chunk-2K5DSRBJ.js +0 -84
  409. package/dist/chunk-2K5DSRBJ.js.map +0 -7
  410. package/dist/chunk-2O6JF76T.js +0 -121
  411. package/dist/chunk-2QULGYVE.js +0 -368
  412. package/dist/chunk-2VLGHVOL.js +0 -215
  413. package/dist/chunk-32TTOWY6.js +0 -1210
  414. package/dist/chunk-43PMSEMV.js +0 -50
  415. package/dist/chunk-4KSU6NBP.js +0 -194
  416. package/dist/chunk-4SFX42S7.js +0 -1271
  417. package/dist/chunk-4Y444IRJ.js +0 -272
  418. package/dist/chunk-56AN5PPQ.js +0 -679
  419. package/dist/chunk-56AN5PPQ.js.map +0 -7
  420. package/dist/chunk-5FO3NKA4.js +0 -155
  421. package/dist/chunk-5FO3NKA4.js.map +0 -7
  422. package/dist/chunk-5HOR6JQ2.js +0 -100
  423. package/dist/chunk-5LZKQFLO.js +0 -180
  424. package/dist/chunk-5LZKQFLO.js.map +0 -7
  425. package/dist/chunk-5RE3J6HK.js +0 -293
  426. package/dist/chunk-5SMOOFRW.js +0 -386
  427. package/dist/chunk-64Z22QAH.js +0 -14
  428. package/dist/chunk-6NMH6WPB.js +0 -446
  429. package/dist/chunk-7FKIAQ4K.js +0 -17
  430. package/dist/chunk-7NOKTEHK.js +0 -407
  431. package/dist/chunk-7UHUOC6F.js +0 -119
  432. package/dist/chunk-AMYSEKPF.js +0 -1658
  433. package/dist/chunk-AMYSEKPF.js.map +0 -7
  434. package/dist/chunk-ANGDY7VC.js +0 -170
  435. package/dist/chunk-AQ4OP4GR.js +0 -39
  436. package/dist/chunk-AQVOYTLS.js +0 -177
  437. package/dist/chunk-ARINZFQG.js +0 -276
  438. package/dist/chunk-ARINZFQG.js.map +0 -7
  439. package/dist/chunk-BQJVLXEL.js +0 -55
  440. package/dist/chunk-BRMASRRS.js +0 -455
  441. package/dist/chunk-BT4OOYPT.js +0 -280
  442. package/dist/chunk-BTJFVY3R.js +0 -190
  443. package/dist/chunk-BTJFVY3R.js.map +0 -7
  444. package/dist/chunk-C62CSWMV.js +0 -335
  445. package/dist/chunk-CAWDQURD.js +0 -6364
  446. package/dist/chunk-DMAHNBGN.js +0 -1230
  447. package/dist/chunk-DMAHNBGN.js.map +0 -7
  448. package/dist/chunk-EGWVYY7K.js +0 -264
  449. package/dist/chunk-EGWVYY7K.js.map +0 -7
  450. package/dist/chunk-ENWVV6EU.js +0 -2681
  451. package/dist/chunk-EPOELG75.js +0 -56
  452. package/dist/chunk-EPOELG75.js.map +0 -7
  453. package/dist/chunk-FA44G3GZ.js +0 -470
  454. package/dist/chunk-GD7FKXOA.js +0 -148
  455. package/dist/chunk-GF4OSOYW.js +0 -2815
  456. package/dist/chunk-GQOBT2W7.js +0 -203
  457. package/dist/chunk-GTBL7UHX.js +0 -2786
  458. package/dist/chunk-HE7CD7BD.js +0 -482
  459. package/dist/chunk-I7JDV4ZC.js +0 -226
  460. package/dist/chunk-IABWKPRK.js +0 -534
  461. package/dist/chunk-IPDH4FHY.js +0 -54
  462. package/dist/chunk-JNOOLCYB.js +0 -1159
  463. package/dist/chunk-JPKYHLNI.js +0 -158
  464. package/dist/chunk-KMQ6GQ3I.js +0 -1943
  465. package/dist/chunk-KTCW3JA6.js +0 -4209
  466. package/dist/chunk-L4QG7XZE.js +0 -46
  467. package/dist/chunk-L4QG7XZE.js.map +0 -7
  468. package/dist/chunk-LGUE54VX.js +0 -302
  469. package/dist/chunk-LJ4AUJXC.js +0 -95
  470. package/dist/chunk-LN3QYBGI.js +0 -20495
  471. package/dist/chunk-LN3QYBGI.js.map +0 -7
  472. package/dist/chunk-LQQSRNR5.js +0 -228
  473. package/dist/chunk-LSV4Z473.js +0 -31
  474. package/dist/chunk-LTSR7SLO.js +0 -514
  475. package/dist/chunk-LY7GD74F.js +0 -381
  476. package/dist/chunk-MHCTLVGE.js +0 -26
  477. package/dist/chunk-MSAMGAQF.js +0 -2370
  478. package/dist/chunk-MSAMGAQF.js.map +0 -7
  479. package/dist/chunk-NYX4B5CO.js +0 -291
  480. package/dist/chunk-OPPNZXYG.js +0 -129
  481. package/dist/chunk-P6TPXUMP.js +0 -117
  482. package/dist/chunk-PL2CM7RY.js +0 -621
  483. package/dist/chunk-PSGQWZN4.js +0 -147
  484. package/dist/chunk-PZLYNNST.js +0 -371
  485. package/dist/chunk-RA4RQYXQ.js +0 -142
  486. package/dist/chunk-RAJZYWFN.js +0 -95
  487. package/dist/chunk-ROLVOPVR.js +0 -252
  488. package/dist/chunk-RQZJIBIH.js +0 -34
  489. package/dist/chunk-RSE2FOKW.js +0 -217
  490. package/dist/chunk-SDLRTORS.js +0 -263
  491. package/dist/chunk-TF4EDNQO.js +0 -158
  492. package/dist/chunk-TV74I3Y5.js +0 -43
  493. package/dist/chunk-TV74I3Y5.js.map +0 -7
  494. package/dist/chunk-UPPBAFUK.js +0 -5000
  495. package/dist/chunk-UVPAZM3G.js +0 -52
  496. package/dist/chunk-UWYCEYML.js +0 -815
  497. package/dist/chunk-VB3SRNBK.js +0 -37
  498. package/dist/chunk-W6XQR5UL.js +0 -444
  499. package/dist/chunk-XBBUQW52.js +0 -824
  500. package/dist/chunk-XSA3VIEQ.js +0 -205
  501. package/dist/chunk-XZ6MGJQ3.js +0 -102
  502. package/dist/chunk-YC6ZJ7RP.js +0 -1842
  503. package/dist/chunk-YC6ZJ7RP.js.map +0 -7
  504. package/dist/chunk-YEMIL6QU.js +0 -1087
  505. package/dist/chunk-ZD47FENE.js +0 -229
  506. package/dist/chunk-ZYBM24FU.js +0 -102
  507. package/dist/chunk-ZYY54HBU.js +0 -330
  508. package/dist/chunk-ZYY54HBU.js.map +0 -7
  509. package/dist/condition-ARCN26MF.js +0 -331
  510. package/dist/controls-PKWN2JGN.js +0 -40
  511. package/dist/controls.config-NFRPXFUJ.js +0 -38
  512. package/dist/correlation-DPT6XL2U.js +0 -97
  513. package/dist/cuminc-M4U7LQD5.js +0 -1148
  514. package/dist/cuminc.integration.spec-MH4OFYDJ.js +0 -677
  515. package/dist/customdata.inputui-6TAHAMSV.js +0 -288
  516. package/dist/dataDownload-7GZEYSUT.js +0 -329
  517. package/dist/dataDownload.integration.spec-NAIJRFTV.js +0 -192
  518. package/dist/databrowser.ui-LLXHZ5O6.js +0 -432
  519. package/dist/dictionary-MUAURMYE.js +0 -110
  520. package/dist/dnaMethylation-AU5D3U3E.js +0 -37
  521. package/dist/dnaMethylation.integration.spec-JIDBRA6P.js +0 -202
  522. package/dist/dofetch-WSYK5OTB.js +0 -50
  523. package/dist/e2pca-ICG35YR5.js +0 -349
  524. package/dist/ep-CSSSQOUP.js +0 -1255
  525. package/dist/expclust.gdc.spec-4WPQUXH4.js +0 -306
  526. package/dist/facet-JAGILNY6.js +0 -520
  527. package/dist/forms2-IMVDB6AT.js +0 -533
  528. package/dist/gb-36LTYICV.js +0 -87
  529. package/dist/geneExpClustering-CGMENTHI.js +0 -248
  530. package/dist/geneExpression-AD2L46J4.js +0 -37
  531. package/dist/geneExpression-G2FHBDUQ.js +0 -312
  532. package/dist/geneExpression.unit.spec-XWCB7K5L.js +0 -101
  533. package/dist/geneORA-GVHQF7DF.js +0 -277
  534. package/dist/geneVariant-HE22CH76.js +0 -40
  535. package/dist/geneVariant-SQD5QUFH.js +0 -38
  536. package/dist/geneVariant.integration.spec-66XFLDNN.js +0 -197
  537. package/dist/genefusion.ui-TD32NWD4.js +0 -308
  538. package/dist/geneset-NSYPDXS3.js +0 -202
  539. package/dist/genomeBrowser.spec-CYFONLNQ.js +0 -280
  540. package/dist/grin2-3QB57OPH.js +0 -1555
  541. package/dist/grin2-FLQNWPMZ.js +0 -851
  542. package/dist/grin2-FLQNWPMZ.js.map +0 -7
  543. package/dist/gsea-RMTU5I3U.js +0 -46
  544. package/dist/hierCluster-LSQL6PGC.js +0 -58
  545. package/dist/hierCluster-XTEBDEVO.js +0 -62
  546. package/dist/hierCluster.config-SHXFSPOH.js +0 -39
  547. package/dist/hierCluster.integration.spec-KNMIYWV3.js +0 -394
  548. package/dist/hierCluster.interactivity-6NAKTUR5.js +0 -53
  549. package/dist/hierCluster.renderers-FWOV4Q47.js +0 -21
  550. package/dist/imagePlot-3IVG4SFN.js +0 -162
  551. package/dist/importPlot-HEMDRIVF.js +0 -8
  552. package/dist/isoformExpression-FJ3GEU6D.js +0 -39
  553. package/dist/isoformExpression.unit.spec-L7D22UDB.js +0 -207
  554. package/dist/launch.adhoc-PDGQF2UP.js +0 -41
  555. package/dist/leftlabel.sample-ZBI4NHCV.js +0 -259
  556. package/dist/legacyDataset-PBCPC5I7.js +0 -119
  557. package/dist/lollipop-K7S6ASFE.js +0 -170
  558. package/dist/maf-JEW6PPJB.js +0 -451
  559. package/dist/maftimeline-7URL27MC.js +0 -592
  560. package/dist/matrix-6EK5WGIG.js +0 -57
  561. package/dist/matrix-DKBD5RIL.js +0 -62
  562. package/dist/matrix.cells-KEIOXJQ7.js +0 -28
  563. package/dist/matrix.config-FGJB4VVM.js +0 -40
  564. package/dist/matrix.data-QGCGFLD7.js +0 -25
  565. package/dist/matrix.groups-HBPLZ2QX.js +0 -26
  566. package/dist/matrix.integration.spec-R4PF67KF.js +0 -3071
  567. package/dist/matrix.interactivity-M3SY33ET.js +0 -41
  568. package/dist/matrix.layout-H6WQ3ZMW.js +0 -43
  569. package/dist/matrix.legend-UCL7HM26.js +0 -22
  570. package/dist/matrix.renderers-3PPFSS7Z.js +0 -37
  571. package/dist/matrix.serieses-S2TJ3E6P.js +0 -21
  572. package/dist/matrix.sort-CFA4UWBJ.js +0 -27
  573. package/dist/matrix.sort.unit.spec-562VIWDS.js +0 -471
  574. package/dist/matrix.sorterUi-FT7K5664.js +0 -18
  575. package/dist/matrix.sorterUi.unit.spec-GAHHUN3K.js +0 -341
  576. package/dist/mavb-HPW5X55U.js +0 -731
  577. package/dist/mds.fimo-HSBKLIOX.js +0 -517
  578. package/dist/mds.samplescatterplot-DE27OMJE.js +0 -1549
  579. package/dist/mds.survivalplot-IW22UGCE.js +0 -482
  580. package/dist/numericDictTermCluster-DOD66G3A.js +0 -72
  581. package/dist/oncomatrix-BZCVCPR4.js +0 -294
  582. package/dist/oncomatrix.spec-IHYCIAP4.js +0 -447
  583. package/dist/plot.2dvaf-QLOZ54VC.js +0 -376
  584. package/dist/plot.app-XDVDR23J.js +0 -40
  585. package/dist/plot.barplot-XOESF7OQ.js +0 -101
  586. package/dist/plot.boxplot-VNOC2CHT.js +0 -151
  587. package/dist/plot.brainImaging-7ZEOY4UR.js +0 -51
  588. package/dist/plot.disco-6GVDYK7A.js +0 -101
  589. package/dist/plot.dzi-TEFPPPL6.js +0 -33
  590. package/dist/plot.ssgq-OG4TODLO.js +0 -138
  591. package/dist/plot.vaf2cov-VMZRJULA.js +0 -258
  592. package/dist/plot.wsi-2CHZZ7AC.js +0 -36
  593. package/dist/polar-QUYQRQOQ.js +0 -185
  594. package/dist/polar2-OXXLAXJC.js +0 -227
  595. package/dist/profile.spec-TI6PRHNJ.js +0 -79
  596. package/dist/profileBarchart-GEK77XEB.js +0 -266
  597. package/dist/profileForms-NR3VNHKM.js +0 -440
  598. package/dist/profilePlot-GGKO3IW5.js +0 -53
  599. package/dist/profileRadar-MN3LX5ER.js +0 -262
  600. package/dist/profileRadarFacility-3G2HWB2L.js +0 -262
  601. package/dist/proteinView-TZ5BGOTA.js +0 -1188
  602. package/dist/proteinView-TZ5BGOTA.js.map +0 -7
  603. package/dist/proteomeAbundance-JXNECXF7.js +0 -68
  604. package/dist/proteomeAbundance-JXNECXF7.js.map +0 -7
  605. package/dist/proteomeAbundance-O4BB55O3.js +0 -21
  606. package/dist/qualitative-Q3TT73O7.js +0 -42
  607. package/dist/radar2-LSD3VPZT.js +0 -315
  608. package/dist/radarFacility2-LZGIXY7A.js +0 -324
  609. package/dist/regression-J3XDAPAZ.js +0 -55
  610. package/dist/regression.inputs-BBZYI5OI.js +0 -47
  611. package/dist/regression.inputs.term-7BW6XGLG.js +0 -47
  612. package/dist/regression.inputs.values.table-DYX2YU4H.js +0 -44
  613. package/dist/regression.integration.spec-WLXZYKWW.js +0 -783
  614. package/dist/regression.results-K5Q2N2KW.js +0 -39
  615. package/dist/regression.spec-VT7T6KBY.js +0 -707
  616. package/dist/report-3D3L573D.js +0 -221
  617. package/dist/sampleScatter.spec-6IPJQLM2.js +0 -201
  618. package/dist/sampleView-5JMFI4HF.js +0 -47
  619. package/dist/samplelst-SUCB5WOZ.js +0 -110
  620. package/dist/samplematrix-A5SZBKO6.js +0 -2197
  621. package/dist/sc-NAA6ESO6.js +0 -85
  622. package/dist/scatter-EQCN2HYE.js +0 -801
  623. package/dist/scatter.integration.spec-7NXIYS67.js +0 -1195
  624. package/dist/selectGenomeWithTklst-KXODNCY6.js +0 -133
  625. package/dist/singleCellCellType-HMIW76YB.js +0 -37
  626. package/dist/singleCellCellType.unit.spec-ZCZET56X.js +0 -159
  627. package/dist/singleCellGeneExpression-IUCUHF6R.js +0 -37
  628. package/dist/singleCellGeneExpression.unit.spec-J4D6F2N3.js +0 -152
  629. package/dist/singleCellPlot-L6W3MDGG.js +0 -52
  630. package/dist/singlecell-A6ECAAPI.js +0 -85
  631. package/dist/singlecell-KBABNXC5.js +0 -1571
  632. package/dist/snp-RO7ATG6E.js +0 -37
  633. package/dist/snp.unit.spec-ZJLRGJD4.js +0 -175
  634. package/dist/snplocus-N3CU6NRP.js +0 -207
  635. package/dist/spliceevent.a53ss.diagram-7PHT4COB.js +0 -150
  636. package/dist/spliceevent.exonskip.diagram-3CZTY6QD.js +0 -276
  637. package/dist/spliceevent.noeventdiagram-GQE256DT.js +0 -459
  638. package/dist/ssGSEA-4I3L5MX2.js +0 -37
  639. package/dist/ssGSEA.unit.spec-PZCC5YU7.js +0 -87
  640. package/dist/summarizeCnvGeneexp-ASXUQW56.js +0 -162
  641. package/dist/summarizeGeneexpSurvival-ULGUOW5V.js +0 -107
  642. package/dist/summarizeMutationCnv-VDUCIUGM.js +0 -163
  643. package/dist/summarizeMutationDiagnosis-FMAAMCZC.js +0 -39
  644. package/dist/summarizeMutationSurvival-GZ4NGDJT.js +0 -98
  645. package/dist/summary-2WNZ6JSB.js +0 -48
  646. package/dist/summary.integration.spec-XPMYB6GM.js +0 -413
  647. package/dist/summaryInput-2UGXEA5C.js +0 -234
  648. package/dist/sunburst-76WCQLTT.js +0 -283
  649. package/dist/survival-23IZM4ML.js +0 -45
  650. package/dist/survival-3EAMPHSX.js +0 -57
  651. package/dist/survival.integration.spec-YNVAKBV3.js +0 -801
  652. package/dist/svgraph-G2M5LXEP.js +0 -1386
  653. package/dist/svmr-BUDBVU34.js +0 -3841
  654. package/dist/table-QJSZ6YFK.js +0 -199
  655. package/dist/termCollection-2YAY3RLZ.js +0 -178
  656. package/dist/termCollection-MAMDMEDD.js +0 -37
  657. package/dist/termCollection.unit.spec-UY7G2BHG.js +0 -207
  658. package/dist/tk-GFGP3F76.js +0 -45
  659. package/dist/tp.ui-OQ757UIE.js +0 -1458
  660. package/dist/tvs.density-BJK23JYJ.js +0 -18
  661. package/dist/tvs.dt-TOYEFKNT.js +0 -38
  662. package/dist/tvs.dtcnv.categorical-EO2VLFL2.js +0 -39
  663. package/dist/tvs.dtcnv.continuous-ZAHTKZ4Y.js +0 -71
  664. package/dist/tvs.dtfusion-BY3AHBL3.js +0 -39
  665. package/dist/tvs.dtsnvindel-UM5LQ4FR.js +0 -39
  666. package/dist/tvs.dtsv-H7ZVHLS5.js +0 -39
  667. package/dist/tvs.numeric-66FP6RRH.js +0 -21
  668. package/dist/tvs.samplelst-Q5ECTZOY.js +0 -103
  669. package/dist/tvs.termCollection-FYNMKZTR.js +0 -158
  670. package/dist/violin-EGWLAJVM.js +0 -45
  671. package/dist/violin.integration.spec-3P4TYHBR.js +0 -1424
  672. package/dist/violin.interactivity-VWDR4LYB.js +0 -37
  673. package/dist/violin.renderer-WWTU6J7X.js +0 -39
  674. package/dist/vocabulary-JG4ZITOH.js +0 -40
  675. /package/dist/{2dmaf-DTWWXOZC.js.map → 2dmaf-6YIEXAIG.js.map} +0 -0
  676. /package/dist/{AIProjectAdmin-BCYIWOXD.js.map → AIProjectAdmin-5K5NIQNT.js.map} +0 -0
  677. /package/dist/{AppHeader-H3L2MRWP.js.map → AppHeader-4SN5M6SZ.js.map} +0 -0
  678. /package/dist/{BoxPlot-INZ6IN3V.js.map → BoxPlot-DBJA6TQF.js.map} +0 -0
  679. /package/dist/{CorrelationVolcano-AK3XW4ZH.js.map → CorrelationVolcano-MDMTMTT5.js.map} +0 -0
  680. /package/dist/{DE-IBSFUKNG.js.map → DE-S5AFNI4I.js.map} +0 -0
  681. /package/dist/{DEinput-H4GMQWDY.js.map → DEinput-XVBBA74N.js.map} +0 -0
  682. /package/dist/{Disco-5PXXMGGQ.js.map → Disco-VV7FQ7WW.js.map} +0 -0
  683. /package/dist/{Disco.UI-23LOT2U6.js.map → Disco.UI-JDJFJFEY.js.map} +0 -0
  684. /package/dist/{DmrPlot-PBCU2XNF.js.map → DmrPlot-XOG67W74.js.map} +0 -0
  685. /package/dist/{GB-HIEPWNPV.js.map → GB-K3AWZQFF.js.map} +0 -0
  686. /package/dist/{GeneExpInput-A4JNX7PU.js.map → GeneExpInput-Y7MDS2CA.js.map} +0 -0
  687. /package/dist/{HicApp-IDH2A4BC.js.map → HicApp-53OTZ3YU.js.map} +0 -0
  688. /package/dist/{NumBinaryEditor-CZ54X7J3.js.map → NumBinaryEditor-SB4YR3JM.js.map} +0 -0
  689. /package/dist/{NumBinaryEditor.unit.spec-QLBRM7MJ.js.map → NumBinaryEditor.unit.spec-V2W2OZYP.js.map} +0 -0
  690. /package/dist/{NumContEditor-Z5MGLQ2I.js.map → NumContEditor-RZZBM7PR.js.map} +0 -0
  691. /package/dist/{NumContEditor.unit.spec-TR7D7ULV.js.map → NumContEditor.unit.spec-GAAW3ZZN.js.map} +0 -0
  692. /package/dist/{NumCustomBinEditor-B7JID42Y.js.map → NumCustomBinEditor-GFCGPRPI.js.map} +0 -0
  693. /package/dist/{NumCustomBinEditor.unit.spec-GZJIVY4K.js.map → NumCustomBinEditor.unit.spec-24MXSO3L.js.map} +0 -0
  694. /package/dist/{NumDiscreteEditor-LWHZ36T6.js.map → NumDiscreteEditor-HAHIOFNC.js.map} +0 -0
  695. /package/dist/{NumDiscreteEditor.unit.spec-QCQCMEWO.js.map → NumDiscreteEditor.unit.spec-JYN2CWSI.js.map} +0 -0
  696. /package/dist/{NumRegularBinEditor-IATRIUKD.js.map → NumRegularBinEditor-7DOE64RB.js.map} +0 -0
  697. /package/dist/{NumRegularBinEditor.unit.spec-J6UTQO76.js.map → NumRegularBinEditor.unit.spec-2WU4GGNT.js.map} +0 -0
  698. /package/dist/{NumSplineEditor-2KMU6SRO.js.map → NumSplineEditor-JLRD5TVX.js.map} +0 -0
  699. /package/dist/{NumSplineEditor.unit.spec-MX7Y4MTD.js.map → NumSplineEditor.unit.spec-LOG7CECJ.js.map} +0 -0
  700. /package/dist/{NumericDensity-JCH7F5FV.js.map → NumericDensity-IDOP7I34.js.map} +0 -0
  701. /package/dist/{NumericDensity.unit.spec-4TKKRKHF.js.map → NumericDensity.unit.spec-HTJQRPVH.js.map} +0 -0
  702. /package/dist/{NumericHandler-7FB3RJM7.js.map → NumericHandler-DWVVGLLB.js.map} +0 -0
  703. /package/dist/{NumericHandler.unit.spec-U6DCADZY.js.map → NumericHandler.unit.spec-BDDFTHOF.js.map} +0 -0
  704. /package/dist/{RunChart2-VQTIVMKM.js.map → RunChart2-PBJ56YX3.js.map} +0 -0
  705. /package/dist/{WsiSamplesPlot-2OAR57YB.js.map → WsiSamplesPlot-FOMPMEXK.js.map} +0 -0
  706. /package/dist/{adSandbox-IKKFYRF7.js.map → adSandbox-SRPPCYYR.js.map} +0 -0
  707. /package/dist/{alphaGenome-WJNFQGGK.js.map → alphaGenome-IS2WAJCK.js.map} +0 -0
  708. /package/dist/{app-UHGTFH6D.js.map → app-GTHYSGWI.js.map} +0 -0
  709. /package/dist/{app-YETYAR45.js.map → app-XEKETNLG.js.map} +0 -0
  710. /package/dist/{bam-S6U7VNJP.js.map → bam-GQBFL6A7.js.map} +0 -0
  711. /package/dist/{barchart-3NJDGHXU.js.map → barchart-AESC4JSX.js.map} +0 -0
  712. /package/dist/{barchart.data-MVVKPDLE.js.map → barchart.data-RE34IC4G.js.map} +0 -0
  713. /package/dist/{barchart.events-WQGA4CGB.js.map → barchart.events-KM4J5ISO.js.map} +0 -0
  714. /package/dist/{barchart.integration.spec-E6CJTWRN.js.map → barchart.integration.spec-DFVSBGO3.js.map} +0 -0
  715. /package/dist/{barchart2-UNHFOYKB.js.map → barchart2-NNTL4RQZ.js.map} +0 -0
  716. /package/dist/{block-2XHZLY26.js.map → block-EHZM3FUX.js.map} +0 -0
  717. /package/dist/{block.init-CMG4V6RB.js.map → block.init-EAEFNNF6.js.map} +0 -0
  718. /package/dist/{block.mds.expressionrank-QX2JOEMV.js.map → block.mds.expressionrank-ZBHA2CFE.js.map} +0 -0
  719. /package/dist/{block.mds.geneboxplot-USVQSDBT.js.map → block.mds.geneboxplot-4ZU3QUAK.js.map} +0 -0
  720. /package/dist/{block.mds.junction-R6GJO75N.js.map → block.mds.junction-PDH55JXO.js.map} +0 -0
  721. /package/dist/{block.mds.svcnv-MRISSDAX.js.map → block.mds.svcnv-QWBU54XQ.js.map} +0 -0
  722. /package/dist/{block.svg-Z5KKZTDB.js.map → block.svg-HUGBYWXU.js.map} +0 -0
  723. /package/dist/{block.tk.aicheck-SOFJYYZX.js.map → block.tk.aicheck-SDCWXQZF.js.map} +0 -0
  724. /package/dist/{block.tk.ase-EHX5FV2Y.js.map → block.tk.ase-HMUTHCJS.js.map} +0 -0
  725. /package/dist/{block.tk.bam-DJS6LODM.js.map → block.tk.bam-Q7B2YQLI.js.map} +0 -0
  726. /package/dist/{block.tk.bedgraphdot-R2YHPXZA.js.map → block.tk.bedgraphdot-QBGBSVHN.js.map} +0 -0
  727. /package/dist/{block.tk.bigwig.ui-VPEEQJLS.js.map → block.tk.bigwig.ui-767A3MUH.js.map} +0 -0
  728. /package/dist/{block.tk.hicstraw-BDYN573B.js.map → block.tk.hicstraw-LEZUZHLF.js.map} +0 -0
  729. /package/dist/{block.tk.junction-BONB4BXU.js.map → block.tk.junction-GQHCZOYR.js.map} +0 -0
  730. /package/dist/{block.tk.junction.textmatrixui-Y5R6KY4N.js.map → block.tk.junction.textmatrixui-D5QUO7KQ.js.map} +0 -0
  731. /package/dist/{block.tk.ld-EGVVSXCB.js.map → block.tk.ld-E3MHZOG5.js.map} +0 -0
  732. /package/dist/{block.tk.menu-4YBMB5JT.js.map → block.tk.menu-XE7PFYGR.js.map} +0 -0
  733. /package/dist/{block.tk.pgv-SBHGL6UH.js.map → block.tk.pgv-MPPMPDED.js.map} +0 -0
  734. /package/dist/{brainImaging-G3WZDYG6.js.map → brainImaging-YQ443NOL.js.map} +0 -0
  735. /package/dist/{chunk-LQQSRNR5.js.map → chunk-26WXJBSR.js.map} +0 -0
  736. /package/dist/{chunk-7UHUOC6F.js.map → chunk-2P6Z7JFC.js.map} +0 -0
  737. /package/dist/{chunk-ENWVV6EU.js.map → chunk-2QQO4RRD.js.map} +0 -0
  738. /package/dist/{chunk-GF4OSOYW.js.map → chunk-37ARSZOI.js.map} +0 -0
  739. /package/dist/{chunk-LY7GD74F.js.map → chunk-42Q53PXE.js.map} +0 -0
  740. /package/dist/{chunk-5SMOOFRW.js.map → chunk-46ASPS5Y.js.map} +0 -0
  741. /package/dist/{chunk-RA4RQYXQ.js.map → chunk-4KPI7PB5.js.map} +0 -0
  742. /package/dist/{chunk-XZ6MGJQ3.js.map → chunk-4MDNMCGZ.js.map} +0 -0
  743. /package/dist/{chunk-4Y444IRJ.js.map → chunk-5IG3E4DT.js.map} +0 -0
  744. /package/dist/{chunk-UVPAZM3G.js.map → chunk-5MIR7IHI.js.map} +0 -0
  745. /package/dist/{chunk-BQJVLXEL.js.map → chunk-5MZVXJVA.js.map} +0 -0
  746. /package/dist/{chunk-SDLRTORS.js.map → chunk-66D5GRS5.js.map} +0 -0
  747. /package/dist/{chunk-IABWKPRK.js.map → chunk-6ATE2TRC.js.map} +0 -0
  748. /package/dist/{chunk-JPKYHLNI.js.map → chunk-6BFR6MK3.js.map} +0 -0
  749. /package/dist/{chunk-C62CSWMV.js.map → chunk-6NJMCO4X.js.map} +0 -0
  750. /package/dist/{chunk-IPDH4FHY.js.map → chunk-6ON5KAMO.js.map} +0 -0
  751. /package/dist/{chunk-ZYBM24FU.js.map → chunk-76GPYMHZ.js.map} +0 -0
  752. /package/dist/{chunk-PSGQWZN4.js.map → chunk-7AAFBFOH.js.map} +0 -0
  753. /package/dist/{chunk-LGUE54VX.js.map → chunk-7OOZHEUC.js.map} +0 -0
  754. /package/dist/{chunk-I7JDV4ZC.js.map → chunk-A4VLWLYF.js.map} +0 -0
  755. /package/dist/{chunk-W6XQR5UL.js.map → chunk-A6EFWGWD.js.map} +0 -0
  756. /package/dist/{chunk-ANGDY7VC.js.map → chunk-ALW5XXVW.js.map} +0 -0
  757. /package/dist/{chunk-RQZJIBIH.js.map → chunk-ANCT2BGO.js.map} +0 -0
  758. /package/dist/{chunk-NYX4B5CO.js.map → chunk-AROMXWCY.js.map} +0 -0
  759. /package/dist/{chunk-UWYCEYML.js.map → chunk-AY4UBGLC.js.map} +0 -0
  760. /package/dist/{chunk-32TTOWY6.js.map → chunk-BMVLR3TM.js.map} +0 -0
  761. /package/dist/{chunk-PL2CM7RY.js.map → chunk-BR7JA2EO.js.map} +0 -0
  762. /package/dist/{chunk-7FKIAQ4K.js.map → chunk-D3HJXMTH.js.map} +0 -0
  763. /package/dist/{chunk-XSA3VIEQ.js.map → chunk-DKUEZ4XD.js.map} +0 -0
  764. /package/dist/{chunk-LSV4Z473.js.map → chunk-DT3MMC5U.js.map} +0 -0
  765. /package/dist/{chunk-UPPBAFUK.js.map → chunk-DYVKN7EE.js.map} +0 -0
  766. /package/dist/{chunk-VB3SRNBK.js.map → chunk-EF37UZY6.js.map} +0 -0
  767. /package/dist/{chunk-ZD47FENE.js.map → chunk-ESXMS7FW.js.map} +0 -0
  768. /package/dist/{chunk-2QULGYVE.js.map → chunk-FUSVXQ6C.js.map} +0 -0
  769. /package/dist/{chunk-GTBL7UHX.js.map → chunk-GXKVAPGP.js.map} +0 -0
  770. /package/dist/{chunk-AQ4OP4GR.js.map → chunk-H4JIENLQ.js.map} +0 -0
  771. /package/dist/{chunk-FA44G3GZ.js.map → chunk-H7YJG4YM.js.map} +0 -0
  772. /package/dist/{chunk-GD7FKXOA.js.map → chunk-I24KPIDD.js.map} +0 -0
  773. /package/dist/{chunk-GQOBT2W7.js.map → chunk-IENFDUWD.js.map} +0 -0
  774. /package/dist/{chunk-43PMSEMV.js.map → chunk-J7BISJTL.js.map} +0 -0
  775. /package/dist/{chunk-XBBUQW52.js.map → chunk-J7KYOSEK.js.map} +0 -0
  776. /package/dist/{chunk-PZLYNNST.js.map → chunk-JGPZ5254.js.map} +0 -0
  777. /package/dist/{chunk-4KSU6NBP.js.map → chunk-JUIPCWAM.js.map} +0 -0
  778. /package/dist/{chunk-5RE3J6HK.js.map → chunk-LO4NMQ7W.js.map} +0 -0
  779. /package/dist/{chunk-RAJZYWFN.js.map → chunk-LSSLS5HV.js.map} +0 -0
  780. /package/dist/{chunk-7NOKTEHK.js.map → chunk-MDLRB3MR.js.map} +0 -0
  781. /package/dist/{chunk-OPPNZXYG.js.map → chunk-MJLKGZ27.js.map} +0 -0
  782. /package/dist/{chunk-KTCW3JA6.js.map → chunk-NL5T3SBK.js.map} +0 -0
  783. /package/dist/{chunk-RSE2FOKW.js.map → chunk-ONAYJVN2.js.map} +0 -0
  784. /package/dist/{chunk-64Z22QAH.js.map → chunk-PSMFOARZ.js.map} +0 -0
  785. /package/dist/{chunk-LTSR7SLO.js.map → chunk-QX3GF2IA.js.map} +0 -0
  786. /package/dist/{chunk-JNOOLCYB.js.map → chunk-QZ2U4BOS.js.map} +0 -0
  787. /package/dist/{chunk-YEMIL6QU.js.map → chunk-RBZBBNLL.js.map} +0 -0
  788. /package/dist/{chunk-P6TPXUMP.js.map → chunk-RZTFQXWV.js.map} +0 -0
  789. /package/dist/{chunk-AQVOYTLS.js.map → chunk-SJC2C77V.js.map} +0 -0
  790. /package/dist/{chunk-2VLGHVOL.js.map → chunk-TVXVP4M6.js.map} +0 -0
  791. /package/dist/{chunk-HE7CD7BD.js.map → chunk-UTDPKDIY.js.map} +0 -0
  792. /package/dist/{chunk-BT4OOYPT.js.map → chunk-UVIUB7QI.js.map} +0 -0
  793. /package/dist/{chunk-CAWDQURD.js.map → chunk-VAUSRBL5.js.map} +0 -0
  794. /package/dist/{chunk-6NMH6WPB.js.map → chunk-WP22GYZ2.js.map} +0 -0
  795. /package/dist/{chunk-4SFX42S7.js.map → chunk-WUNX3VST.js.map} +0 -0
  796. /package/dist/{chunk-BRMASRRS.js.map → chunk-XD4TBJK2.js.map} +0 -0
  797. /package/dist/{chunk-2O6JF76T.js.map → chunk-Y6DSXMPB.js.map} +0 -0
  798. /package/dist/{chunk-ROLVOPVR.js.map → chunk-YBIZRASR.js.map} +0 -0
  799. /package/dist/{chunk-TF4EDNQO.js.map → chunk-YI2YH7ZK.js.map} +0 -0
  800. /package/dist/{chunk-KMQ6GQ3I.js.map → chunk-YLDE3PVC.js.map} +0 -0
  801. /package/dist/{chunk-MHCTLVGE.js.map → chunk-Z736NYXL.js.map} +0 -0
  802. /package/dist/{chunk-LJ4AUJXC.js.map → chunk-ZEJB7CPC.js.map} +0 -0
  803. /package/dist/{chunk-5HOR6JQ2.js.map → chunk-ZGWEBKZ4.js.map} +0 -0
  804. /package/dist/{condition-ARCN26MF.js.map → condition-FSF6ROJV.js.map} +0 -0
  805. /package/dist/{controls-PKWN2JGN.js.map → controls-OPSBFDFZ.js.map} +0 -0
  806. /package/dist/{controls.config-NFRPXFUJ.js.map → controls.config-3QRV5363.js.map} +0 -0
  807. /package/dist/{correlation-DPT6XL2U.js.map → correlation-WLOI7Z35.js.map} +0 -0
  808. /package/dist/{cuminc-M4U7LQD5.js.map → cuminc-G2UGJUUA.js.map} +0 -0
  809. /package/dist/{cuminc.integration.spec-MH4OFYDJ.js.map → cuminc.integration.spec-X5NEZ6S5.js.map} +0 -0
  810. /package/dist/{customdata.inputui-6TAHAMSV.js.map → customdata.inputui-RNW3AO3Z.js.map} +0 -0
  811. /package/dist/{dataDownload-7GZEYSUT.js.map → dataDownload-4U3TGDMH.js.map} +0 -0
  812. /package/dist/{dataDownload.integration.spec-NAIJRFTV.js.map → dataDownload.integration.spec-6FUI2SJ4.js.map} +0 -0
  813. /package/dist/{databrowser.ui-LLXHZ5O6.js.map → databrowser.ui-4GVJVJWG.js.map} +0 -0
  814. /package/dist/{dictionary-MUAURMYE.js.map → dictionary-NSDS7Z4K.js.map} +0 -0
  815. /package/dist/{dnaMethylation-AU5D3U3E.js.map → dnaMethylation-OYQB75LD.js.map} +0 -0
  816. /package/dist/{dnaMethylation.integration.spec-JIDBRA6P.js.map → dnaMethylation.integration.spec-6TTLV34N.js.map} +0 -0
  817. /package/dist/{dofetch-WSYK5OTB.js.map → dofetch-4TO3QMT6.js.map} +0 -0
  818. /package/dist/{e2pca-ICG35YR5.js.map → e2pca-NYBVR6PL.js.map} +0 -0
  819. /package/dist/{ep-CSSSQOUP.js.map → ep-RTDVEA4D.js.map} +0 -0
  820. /package/dist/{expclust.gdc.spec-4WPQUXH4.js.map → expclust.gdc.spec-JVIRESTP.js.map} +0 -0
  821. /package/dist/{facet-JAGILNY6.js.map → facet-OVBF2QMO.js.map} +0 -0
  822. /package/dist/{forms2-IMVDB6AT.js.map → forms2-HTLS54CX.js.map} +0 -0
  823. /package/dist/{gb-36LTYICV.js.map → gb-Y3546HMZ.js.map} +0 -0
  824. /package/dist/{geneExpClustering-CGMENTHI.js.map → geneExpClustering-PH3PWH3K.js.map} +0 -0
  825. /package/dist/{geneExpression-AD2L46J4.js.map → geneExpression-2Z2EV3XM.js.map} +0 -0
  826. /package/dist/{geneExpression-G2FHBDUQ.js.map → geneExpression-6CFXOCGW.js.map} +0 -0
  827. /package/dist/{geneExpression.unit.spec-XWCB7K5L.js.map → geneExpression.unit.spec-WKUTHRHC.js.map} +0 -0
  828. /package/dist/{geneORA-GVHQF7DF.js.map → geneORA-SHLZESLB.js.map} +0 -0
  829. /package/dist/{geneVariant-HE22CH76.js.map → geneVariant-FHZUIFPM.js.map} +0 -0
  830. /package/dist/{geneVariant-SQD5QUFH.js.map → geneVariant-Y7ZUBEOX.js.map} +0 -0
  831. /package/dist/{geneVariant.integration.spec-66XFLDNN.js.map → geneVariant.integration.spec-N7TZUOY3.js.map} +0 -0
  832. /package/dist/{genefusion.ui-TD32NWD4.js.map → genefusion.ui-7PDVZPZ2.js.map} +0 -0
  833. /package/dist/{geneset-NSYPDXS3.js.map → geneset-HLVOGYUI.js.map} +0 -0
  834. /package/dist/{genomeBrowser.spec-CYFONLNQ.js.map → genomeBrowser.spec-7IVIMUR5.js.map} +0 -0
  835. /package/dist/{grin2-3QB57OPH.js.map → grin2-Z5O7254R.js.map} +0 -0
  836. /package/dist/{gsea-RMTU5I3U.js.map → gsea-TFC3MBRW.js.map} +0 -0
  837. /package/dist/{hierCluster-LSQL6PGC.js.map → hierCluster-ERSE5I4I.js.map} +0 -0
  838. /package/dist/{hierCluster-XTEBDEVO.js.map → hierCluster-QQZQU5ZG.js.map} +0 -0
  839. /package/dist/{hierCluster.config-SHXFSPOH.js.map → hierCluster.config-WPINWW37.js.map} +0 -0
  840. /package/dist/{hierCluster.integration.spec-KNMIYWV3.js.map → hierCluster.integration.spec-Y6OHSKPW.js.map} +0 -0
  841. /package/dist/{hierCluster.interactivity-6NAKTUR5.js.map → hierCluster.interactivity-HS3G5QC5.js.map} +0 -0
  842. /package/dist/{hierCluster.renderers-FWOV4Q47.js.map → hierCluster.renderers-W63ZKZTT.js.map} +0 -0
  843. /package/dist/{imagePlot-3IVG4SFN.js.map → imagePlot-QFVN25PM.js.map} +0 -0
  844. /package/dist/{importPlot-HEMDRIVF.js.map → importPlot-MIDM5APH.js.map} +0 -0
  845. /package/dist/{isoformExpression-FJ3GEU6D.js.map → isoformExpression-L4TRNT4A.js.map} +0 -0
  846. /package/dist/{isoformExpression.unit.spec-L7D22UDB.js.map → isoformExpression.unit.spec-QQG323LA.js.map} +0 -0
  847. /package/dist/{launch.adhoc-PDGQF2UP.js.map → launch.adhoc-4NQ6GGGL.js.map} +0 -0
  848. /package/dist/{leftlabel.sample-ZBI4NHCV.js.map → leftlabel.sample-JU7AIPZL.js.map} +0 -0
  849. /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-TT4CHF23.js.map} +0 -0
  850. /package/dist/{lollipop-K7S6ASFE.js.map → lollipop-JG74M6PJ.js.map} +0 -0
  851. /package/dist/{maf-JEW6PPJB.js.map → maf-PDL2EGHI.js.map} +0 -0
  852. /package/dist/{maftimeline-7URL27MC.js.map → maftimeline-V43NQEEE.js.map} +0 -0
  853. /package/dist/{matrix-6EK5WGIG.js.map → matrix-EB2EFP4S.js.map} +0 -0
  854. /package/dist/{matrix-DKBD5RIL.js.map → matrix-Q57FU5FE.js.map} +0 -0
  855. /package/dist/{matrix.cells-KEIOXJQ7.js.map → matrix.cells-NJIMPD32.js.map} +0 -0
  856. /package/dist/{matrix.config-FGJB4VVM.js.map → matrix.config-GLDEQD3H.js.map} +0 -0
  857. /package/dist/{matrix.data-QGCGFLD7.js.map → matrix.data-6SHAKOQU.js.map} +0 -0
  858. /package/dist/{matrix.groups-HBPLZ2QX.js.map → matrix.groups-MTDEANQA.js.map} +0 -0
  859. /package/dist/{matrix.integration.spec-R4PF67KF.js.map → matrix.integration.spec-JCZ5VQJU.js.map} +0 -0
  860. /package/dist/{matrix.interactivity-M3SY33ET.js.map → matrix.interactivity-SVRNWL6V.js.map} +0 -0
  861. /package/dist/{matrix.layout-H6WQ3ZMW.js.map → matrix.layout-2HREO42N.js.map} +0 -0
  862. /package/dist/{matrix.legend-UCL7HM26.js.map → matrix.legend-QHVKT3MP.js.map} +0 -0
  863. /package/dist/{matrix.renderers-3PPFSS7Z.js.map → matrix.renderers-IYR3ZY6V.js.map} +0 -0
  864. /package/dist/{matrix.serieses-S2TJ3E6P.js.map → matrix.serieses-2VMTQXL2.js.map} +0 -0
  865. /package/dist/{matrix.sort-CFA4UWBJ.js.map → matrix.sort-PWA2RQQR.js.map} +0 -0
  866. /package/dist/{matrix.sort.unit.spec-562VIWDS.js.map → matrix.sort.unit.spec-3OYIPTFY.js.map} +0 -0
  867. /package/dist/{matrix.sorterUi-FT7K5664.js.map → matrix.sorterUi-Y5QLO75X.js.map} +0 -0
  868. /package/dist/{matrix.sorterUi.unit.spec-GAHHUN3K.js.map → matrix.sorterUi.unit.spec-BNEXQHLP.js.map} +0 -0
  869. /package/dist/{mavb-HPW5X55U.js.map → mavb-IZDDU4KK.js.map} +0 -0
  870. /package/dist/{mds.fimo-HSBKLIOX.js.map → mds.fimo-FWBL7JE6.js.map} +0 -0
  871. /package/dist/{mds.samplescatterplot-DE27OMJE.js.map → mds.samplescatterplot-T47C7DJB.js.map} +0 -0
  872. /package/dist/{mds.survivalplot-IW22UGCE.js.map → mds.survivalplot-MFZJCGS6.js.map} +0 -0
  873. /package/dist/{numericDictTermCluster-DOD66G3A.js.map → numericDictTermCluster-I2W67RGA.js.map} +0 -0
  874. /package/dist/{oncomatrix-BZCVCPR4.js.map → oncomatrix-6W7IBAED.js.map} +0 -0
  875. /package/dist/{oncomatrix.spec-IHYCIAP4.js.map → oncomatrix.spec-CEFH5IGH.js.map} +0 -0
  876. /package/dist/{plot.2dvaf-QLOZ54VC.js.map → plot.2dvaf-BN6CFLNU.js.map} +0 -0
  877. /package/dist/{plot.app-XDVDR23J.js.map → plot.app-7EYWUCZV.js.map} +0 -0
  878. /package/dist/{plot.barplot-XOESF7OQ.js.map → plot.barplot-MDIARSQD.js.map} +0 -0
  879. /package/dist/{plot.boxplot-VNOC2CHT.js.map → plot.boxplot-RUHGXC54.js.map} +0 -0
  880. /package/dist/{plot.brainImaging-7ZEOY4UR.js.map → plot.brainImaging-JEE32ZBV.js.map} +0 -0
  881. /package/dist/{plot.disco-6GVDYK7A.js.map → plot.disco-2RPNPX6E.js.map} +0 -0
  882. /package/dist/{plot.dzi-TEFPPPL6.js.map → plot.dzi-7VTYYGGW.js.map} +0 -0
  883. /package/dist/{plot.ssgq-OG4TODLO.js.map → plot.ssgq-FHE5KU5C.js.map} +0 -0
  884. /package/dist/{plot.vaf2cov-VMZRJULA.js.map → plot.vaf2cov-WDJJM5Q4.js.map} +0 -0
  885. /package/dist/{plot.wsi-2CHZZ7AC.js.map → plot.wsi-FQZWHNSF.js.map} +0 -0
  886. /package/dist/{polar-QUYQRQOQ.js.map → polar-M7EGINN4.js.map} +0 -0
  887. /package/dist/{polar2-OXXLAXJC.js.map → polar2-JFYY43K2.js.map} +0 -0
  888. /package/dist/{profile.spec-TI6PRHNJ.js.map → profile.spec-SIOHASOX.js.map} +0 -0
  889. /package/dist/{profileBarchart-GEK77XEB.js.map → profileBarchart-6JLEKVJV.js.map} +0 -0
  890. /package/dist/{profileForms-NR3VNHKM.js.map → profileForms-G6CH73RV.js.map} +0 -0
  891. /package/dist/{profilePlot-GGKO3IW5.js.map → profilePlot-NQYJOBVV.js.map} +0 -0
  892. /package/dist/{profileRadar-MN3LX5ER.js.map → profileRadar-4TNWIXDB.js.map} +0 -0
  893. /package/dist/{profileRadarFacility-3G2HWB2L.js.map → profileRadarFacility-XPH3LCBQ.js.map} +0 -0
  894. /package/dist/{proteomeAbundance-O4BB55O3.js.map → proteomeAbundance-NQ4635NL.js.map} +0 -0
  895. /package/dist/{qualitative-Q3TT73O7.js.map → qualitative-DL4WJG3O.js.map} +0 -0
  896. /package/dist/{radar2-LSD3VPZT.js.map → radar2-YNOQWHBT.js.map} +0 -0
  897. /package/dist/{radarFacility2-LZGIXY7A.js.map → radarFacility2-24UPSI7S.js.map} +0 -0
  898. /package/dist/{regression-J3XDAPAZ.js.map → regression-URAUTLTD.js.map} +0 -0
  899. /package/dist/{regression.inputs-BBZYI5OI.js.map → regression.inputs-UDVOU7FB.js.map} +0 -0
  900. /package/dist/{regression.inputs.term-7BW6XGLG.js.map → regression.inputs.term-BWW6W34R.js.map} +0 -0
  901. /package/dist/{regression.inputs.values.table-DYX2YU4H.js.map → regression.inputs.values.table-UKGIZTXG.js.map} +0 -0
  902. /package/dist/{regression.integration.spec-WLXZYKWW.js.map → regression.integration.spec-EBHQTNA3.js.map} +0 -0
  903. /package/dist/{regression.results-K5Q2N2KW.js.map → regression.results-XTOSWIP6.js.map} +0 -0
  904. /package/dist/{regression.spec-VT7T6KBY.js.map → regression.spec-KG2I53VR.js.map} +0 -0
  905. /package/dist/{report-3D3L573D.js.map → report-KH7SNPVF.js.map} +0 -0
  906. /package/dist/{sampleScatter.spec-6IPJQLM2.js.map → sampleScatter.spec-PIXGS3LG.js.map} +0 -0
  907. /package/dist/{sampleView-5JMFI4HF.js.map → sampleView-TWS6VT55.js.map} +0 -0
  908. /package/dist/{samplelst-SUCB5WOZ.js.map → samplelst-6AB5Y4WR.js.map} +0 -0
  909. /package/dist/{samplematrix-A5SZBKO6.js.map → samplematrix-AJAF555E.js.map} +0 -0
  910. /package/dist/{sc-NAA6ESO6.js.map → sc-PMNYZKXA.js.map} +0 -0
  911. /package/dist/{scatter-EQCN2HYE.js.map → scatter-Q2GH3ZJD.js.map} +0 -0
  912. /package/dist/{scatter.integration.spec-7NXIYS67.js.map → scatter.integration.spec-SMMYKWH3.js.map} +0 -0
  913. /package/dist/{selectGenomeWithTklst-KXODNCY6.js.map → selectGenomeWithTklst-VE4SDYY7.js.map} +0 -0
  914. /package/dist/{singleCellCellType-HMIW76YB.js.map → singleCellCellType-S324GCKW.js.map} +0 -0
  915. /package/dist/{singleCellCellType.unit.spec-ZCZET56X.js.map → singleCellCellType.unit.spec-NXC2GELH.js.map} +0 -0
  916. /package/dist/{singleCellGeneExpression-IUCUHF6R.js.map → singleCellGeneExpression-6H4HRKIA.js.map} +0 -0
  917. /package/dist/{singleCellGeneExpression.unit.spec-J4D6F2N3.js.map → singleCellGeneExpression.unit.spec-HIJXVUWJ.js.map} +0 -0
  918. /package/dist/{singleCellPlot-L6W3MDGG.js.map → singleCellPlot-H7PCZ2DP.js.map} +0 -0
  919. /package/dist/{singlecell-A6ECAAPI.js.map → singlecell-4LH3MQVL.js.map} +0 -0
  920. /package/dist/{singlecell-KBABNXC5.js.map → singlecell-MOSYT3RI.js.map} +0 -0
  921. /package/dist/{snp-RO7ATG6E.js.map → snp-IKLGTD4Q.js.map} +0 -0
  922. /package/dist/{snp.unit.spec-ZJLRGJD4.js.map → snp.unit.spec-GC74MUVM.js.map} +0 -0
  923. /package/dist/{snplocus-N3CU6NRP.js.map → snplocus-RIABFSBQ.js.map} +0 -0
  924. /package/dist/{spliceevent.a53ss.diagram-7PHT4COB.js.map → spliceevent.a53ss.diagram-4E2IYYHL.js.map} +0 -0
  925. /package/dist/{spliceevent.exonskip.diagram-3CZTY6QD.js.map → spliceevent.exonskip.diagram-C56R6XLQ.js.map} +0 -0
  926. /package/dist/{spliceevent.noeventdiagram-GQE256DT.js.map → spliceevent.noeventdiagram-SIPMAKXI.js.map} +0 -0
  927. /package/dist/{ssGSEA-4I3L5MX2.js.map → ssGSEA-5QNHLSOI.js.map} +0 -0
  928. /package/dist/{ssGSEA.unit.spec-PZCC5YU7.js.map → ssGSEA.unit.spec-KVPN553B.js.map} +0 -0
  929. /package/dist/{summarizeCnvGeneexp-ASXUQW56.js.map → summarizeCnvGeneexp-K4VGJSW6.js.map} +0 -0
  930. /package/dist/{summarizeGeneexpSurvival-ULGUOW5V.js.map → summarizeGeneexpSurvival-HGHX65FN.js.map} +0 -0
  931. /package/dist/{summarizeMutationCnv-VDUCIUGM.js.map → summarizeMutationCnv-3K4Z6R2X.js.map} +0 -0
  932. /package/dist/{summarizeMutationDiagnosis-FMAAMCZC.js.map → summarizeMutationDiagnosis-M2MHUPRT.js.map} +0 -0
  933. /package/dist/{summarizeMutationSurvival-GZ4NGDJT.js.map → summarizeMutationSurvival-WVBUP3GA.js.map} +0 -0
  934. /package/dist/{summary-2WNZ6JSB.js.map → summary-RZHZXCU5.js.map} +0 -0
  935. /package/dist/{summary.integration.spec-XPMYB6GM.js.map → summary.integration.spec-FGZP7DY7.js.map} +0 -0
  936. /package/dist/{summaryInput-2UGXEA5C.js.map → summaryInput-UGM7MMCR.js.map} +0 -0
  937. /package/dist/{sunburst-76WCQLTT.js.map → sunburst-L27U7LV7.js.map} +0 -0
  938. /package/dist/{survival-3EAMPHSX.js.map → survival-5ZMEBV6O.js.map} +0 -0
  939. /package/dist/{survival-23IZM4ML.js.map → survival-JWRRGTJT.js.map} +0 -0
  940. /package/dist/{survival.integration.spec-YNVAKBV3.js.map → survival.integration.spec-Z5542I4V.js.map} +0 -0
  941. /package/dist/{svgraph-G2M5LXEP.js.map → svgraph-O6ZVLNNN.js.map} +0 -0
  942. /package/dist/{svmr-BUDBVU34.js.map → svmr-ULFV7OSH.js.map} +0 -0
  943. /package/dist/{table-QJSZ6YFK.js.map → table-CHRQH2GH.js.map} +0 -0
  944. /package/dist/{termCollection-2YAY3RLZ.js.map → termCollection-FAO6ZA6F.js.map} +0 -0
  945. /package/dist/{termCollection-MAMDMEDD.js.map → termCollection-GBXS3GOY.js.map} +0 -0
  946. /package/dist/{termCollection.unit.spec-UY7G2BHG.js.map → termCollection.unit.spec-4WRTOV6E.js.map} +0 -0
  947. /package/dist/{tk-GFGP3F76.js.map → tk-KNUBWRNK.js.map} +0 -0
  948. /package/dist/{tp.ui-OQ757UIE.js.map → tp.ui-2PPYOQYL.js.map} +0 -0
  949. /package/dist/{tvs.density-BJK23JYJ.js.map → tvs.density-BZ5SKDQS.js.map} +0 -0
  950. /package/dist/{tvs.dt-TOYEFKNT.js.map → tvs.dt-TDNSTGQR.js.map} +0 -0
  951. /package/dist/{tvs.dtcnv.categorical-EO2VLFL2.js.map → tvs.dtcnv.categorical-P2IGIE4I.js.map} +0 -0
  952. /package/dist/{tvs.dtcnv.continuous-ZAHTKZ4Y.js.map → tvs.dtcnv.continuous-2XUCRBDR.js.map} +0 -0
  953. /package/dist/{tvs.dtfusion-BY3AHBL3.js.map → tvs.dtfusion-PRHZVMOG.js.map} +0 -0
  954. /package/dist/{tvs.dtsnvindel-UM5LQ4FR.js.map → tvs.dtsnvindel-KGKBW5JS.js.map} +0 -0
  955. /package/dist/{tvs.dtsv-H7ZVHLS5.js.map → tvs.dtsv-M3CY5TZF.js.map} +0 -0
  956. /package/dist/{tvs.numeric-66FP6RRH.js.map → tvs.numeric-W74JCC5P.js.map} +0 -0
  957. /package/dist/{tvs.samplelst-Q5ECTZOY.js.map → tvs.samplelst-BTWFBBAN.js.map} +0 -0
  958. /package/dist/{tvs.termCollection-FYNMKZTR.js.map → tvs.termCollection-Y64QIKOA.js.map} +0 -0
  959. /package/dist/{violin-EGWLAJVM.js.map → violin-3LLHHV3L.js.map} +0 -0
  960. /package/dist/{violin.integration.spec-3P4TYHBR.js.map → violin.integration.spec-6NF5FDLQ.js.map} +0 -0
  961. /package/dist/{violin.interactivity-VWDR4LYB.js.map → violin.interactivity-W2AKZ24D.js.map} +0 -0
  962. /package/dist/{violin.renderer-WWTU6J7X.js.map → violin.renderer-CRFYYZRI.js.map} +0 -0
  963. /package/dist/{vocabulary-JG4ZITOH.js.map → vocabulary-AUJOAVYS.js.map} +0 -0
@@ -0,0 +1,3071 @@
1
+ import {
2
+ termjson
3
+ } from "./chunk-HUA2EFQO.js";
4
+ import {
5
+ getSortOptions
6
+ } from "./chunk-6ATE2TRC.js";
7
+ import {
8
+ detectLst,
9
+ sleep
10
+ } from "./chunk-SSPDNHDW.js";
11
+ import {
12
+ getRunPp
13
+ } from "./chunk-4KPI7PB5.js";
14
+ import {
15
+ require_tape
16
+ } from "./chunk-QWOE5YTB.js";
17
+ import "./chunk-37ARSZOI.js";
18
+ import "./chunk-BMVLR3TM.js";
19
+ import "./chunk-IKHIY6IZ.js";
20
+ import "./chunk-IENFDUWD.js";
21
+ import "./chunk-PRZWSBMA.js";
22
+ import "./chunk-ZEJB7CPC.js";
23
+ import "./chunk-MKAF2BHB.js";
24
+ import "./chunk-H4JIENLQ.js";
25
+ import "./chunk-RQ2ZJ66W.js";
26
+ import "./chunk-LO4NMQ7W.js";
27
+ import "./chunk-2XPDA6NL.js";
28
+ import "./chunk-HJ6L54YS.js";
29
+ import "./chunk-LSEFWW72.js";
30
+ import "./chunk-GHWHLSUX.js";
31
+ import "./chunk-HYOEWQ5P.js";
32
+ import "./chunk-HBW42TDT.js";
33
+ import "./chunk-G6O3URDN.js";
34
+ import "./chunk-FN5XPUPH.js";
35
+ import "./chunk-KWM6B3NL.js";
36
+ import "./chunk-UCLS2SVB.js";
37
+ import "./chunk-AY4UBGLC.js";
38
+ import "./chunk-2P6Z7JFC.js";
39
+ import "./chunk-MYWJQRTD.js";
40
+ import "./chunk-MVTCBVSX.js";
41
+ import "./chunk-B43MTEYB.js";
42
+ import "./chunk-2T7VYQLY.js";
43
+ import "./chunk-FDK4UJMN.js";
44
+ import {
45
+ CNVClasses,
46
+ mutationClasses,
47
+ proteinChangingMutations,
48
+ synonymousMutations,
49
+ truncatingMutations
50
+ } from "./chunk-X7GDCYND.js";
51
+ import "./chunk-SJC2C77V.js";
52
+ import "./chunk-C3SYSMNE.js";
53
+ import "./chunk-KSGA62R2.js";
54
+ import "./chunk-LOZEKOES.js";
55
+ import "./chunk-TOU7EVFQ.js";
56
+ import "./chunk-OAWQ6LOO.js";
57
+ import "./chunk-NMBIT4IK.js";
58
+ import "./chunk-KYBIQBXE.js";
59
+ import "./chunk-I6Y4O3RR.js";
60
+ import "./chunk-OMR2DT66.js";
61
+ import "./chunk-DQC5FFGV.js";
62
+ import {
63
+ __toESM
64
+ } from "./chunk-HFNDKYVF.js";
65
+
66
+ // plots/matrix/test/matrix.integration.spec.js
67
+ var import_tape = __toESM(require_tape(), 1);
68
+ (0, import_tape.default)("\n", function(test) {
69
+ test.comment("-***- plots/matrix -***-");
70
+ test.end();
71
+ });
72
+ (0, import_tape.default)("only dictionary terms", function(test) {
73
+ test.timeoutAfter(5e3);
74
+ test.plan(5);
75
+ runpp({
76
+ state: {
77
+ plots: [
78
+ {
79
+ chartType: "matrix",
80
+ settings: {
81
+ matrix: {
82
+ // the matrix autocomputes the colw based on available screen width,
83
+ // need to set an exact screen width for consistent tests using getBBox()
84
+ availContentWidth: 1200
85
+ }
86
+ },
87
+ termgroups: [
88
+ {
89
+ name: "Demographics",
90
+ lst: [
91
+ {
92
+ id: "aaclassic_5",
93
+ q: {
94
+ mode: "continuous"
95
+ }
96
+ },
97
+ {
98
+ id: "sex"
99
+ //q: { mode: 'values' } // or 'groupsetting'
100
+ },
101
+ {
102
+ id: "agedx",
103
+ q: {
104
+ mode: "discrete",
105
+ type: "regular-bin",
106
+ bin_size: 5,
107
+ first_bin: {
108
+ startunbounded: true,
109
+ stop: 5,
110
+ stopinclusive: true
111
+ }
112
+ }
113
+ // or 'continuous'
114
+ },
115
+ {
116
+ id: "Arrhythmias"
117
+ }
118
+ ]
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ },
124
+ matrix: {
125
+ callbacks: {
126
+ "postRender.test": runTests
127
+ }
128
+ }
129
+ });
130
+ function runTests(matrix) {
131
+ matrix.on("postRender.test", null);
132
+ test.equal(
133
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
134
+ 4,
135
+ `should render the expected number of serieses`
136
+ );
137
+ test.equal(
138
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
139
+ 240,
140
+ `should render the expected number of cell rects`
141
+ );
142
+ test.equal(
143
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
144
+ 1,
145
+ `should render the expected number of cluster rects`
146
+ );
147
+ const sg0rects = matrix.Inner.dom.seriesesG.select(".sjpp-mass-series-g").selectAll("rect");
148
+ test.equal(
149
+ sg0rects.filter((d) => d.key <= 0 && d.fill === "transparent").size(),
150
+ 14,
151
+ `should render special values with transparent rects`
152
+ );
153
+ const uniqueHts = /* @__PURE__ */ new Set();
154
+ sg0rects.each((d) => uniqueHts.add(d.height));
155
+ test.equal(uniqueHts.size, 45, `should render different rect heights for continuous mode bar plots`);
156
+ if (test._ok) matrix.Inner.app.destroy();
157
+ test.end();
158
+ }
159
+ });
160
+ (0, import_tape.default)("termCollection", function(test) {
161
+ runpp({
162
+ state: {
163
+ plots: [
164
+ {
165
+ chartType: "matrix",
166
+ termgroups: [
167
+ {
168
+ name: "",
169
+ lst: [getTermCollection()]
170
+ }
171
+ ]
172
+ }
173
+ ]
174
+ },
175
+ matrix: { callbacks: { "postRender.test": runTests } }
176
+ });
177
+ function runTests(matrix) {
178
+ matrix.on("postRender.test", null);
179
+ test.equal(
180
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
181
+ 1,
182
+ `should render the expected number of serieses`
183
+ );
184
+ if (test._ok) matrix.Inner.app.destroy();
185
+ test.end();
186
+ }
187
+ });
188
+ (0, import_tape.default)("with divide by terms", function(test) {
189
+ test.timeoutAfter(5e3);
190
+ test.plan(3);
191
+ runpp({
192
+ state: {
193
+ plots: [
194
+ {
195
+ chartType: "matrix",
196
+ settings: {
197
+ // the matrix autocomputes the colw based on available screen width,
198
+ // need to set an exact screen width for consistent tests using getBBox()
199
+ matrix: {
200
+ availContentWidth: 1200
201
+ }
202
+ },
203
+ divideBy: {
204
+ id: "sex"
205
+ },
206
+ termgroups: [
207
+ {
208
+ name: "Demographics",
209
+ lst: [
210
+ { id: "agedx", term: termjson["agedx"] },
211
+ { id: "diaggrp", term: termjson["diaggrp"] },
212
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
213
+ ]
214
+ }
215
+ ]
216
+ }
217
+ ]
218
+ },
219
+ matrix: {
220
+ callbacks: {
221
+ "postRender.test": runTests
222
+ }
223
+ }
224
+ });
225
+ function runTests(matrix) {
226
+ matrix.on("postRender.test", null);
227
+ test.equal(
228
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
229
+ 3,
230
+ `should render the expected number of serieses`
231
+ );
232
+ test.equal(
233
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
234
+ 180,
235
+ `should render the expected number of cell rects`
236
+ );
237
+ test.equal(
238
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
239
+ 2,
240
+ `should render the expected number of cluster rects`
241
+ );
242
+ if (test._ok) matrix.Inner.app.destroy();
243
+ test.end();
244
+ }
245
+ });
246
+ (0, import_tape.default)("long column group labels", function(test) {
247
+ test.timeoutAfter(5e3);
248
+ test.plan(2);
249
+ runpp({
250
+ state: {
251
+ plots: [
252
+ {
253
+ chartType: "matrix",
254
+ settings: {
255
+ // the matrix autocomputes the colw based on available screen width,
256
+ // need to set an exact screen width for consistent tests using getBBox()
257
+ matrix: {
258
+ availContentWidth: 1200
259
+ }
260
+ },
261
+ divideBy: {
262
+ id: "diaggrp"
263
+ },
264
+ termgroups: [
265
+ {
266
+ name: "Demographics",
267
+ lst: [
268
+ { id: "diaggrp", term: termjson["diaggrp"] },
269
+ { id: "agedx", term: termjson["agedx"] },
270
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
271
+ ]
272
+ }
273
+ ]
274
+ }
275
+ ]
276
+ },
277
+ matrix: {
278
+ callbacks: {
279
+ "postRender.test222": runTests
280
+ }
281
+ }
282
+ });
283
+ function runTests(matrix) {
284
+ matrix.on("postRender.test222", null);
285
+ const y = matrix.Inner.dom.clipRect.property("y").baseVal.value;
286
+ test.true(y > -63 && y < -62, `should adjust the clip-path rect y-value to between -39 and -38, actual=${y}`);
287
+ const h = matrix.Inner.dom.clipRect.property("height").baseVal.value;
288
+ test.true(h > 619 && h <= 620, `should adjust the clip-path height to between 595 and 596, actual=${h}`);
289
+ if (test._ok) matrix.Inner.app.destroy();
290
+ test.end();
291
+ }
292
+ });
293
+ (0, import_tape.default)("divide by continuous terms", function(test) {
294
+ test.timeoutAfter(5e3);
295
+ test.plan(3);
296
+ runpp({
297
+ state: {
298
+ plots: [
299
+ {
300
+ chartType: "matrix",
301
+ settings: {
302
+ // the matrix autocomputes the colw based on available screen width,
303
+ // need to set an exact screen width for consistent tests using getBBox()
304
+ matrix: {
305
+ availContentWidth: 1200
306
+ }
307
+ },
308
+ divideBy: {
309
+ id: "agedx"
310
+ },
311
+ termgroups: [
312
+ {
313
+ name: "Demographics",
314
+ lst: [
315
+ { id: "sex", term: termjson["sex"] },
316
+ { id: "diaggrp", term: termjson["diaggrp"] },
317
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
318
+ ]
319
+ }
320
+ ]
321
+ }
322
+ ]
323
+ },
324
+ matrix: {
325
+ callbacks: {
326
+ "postRender.test": runTests
327
+ }
328
+ }
329
+ });
330
+ function runTests(matrix) {
331
+ matrix.on("postRender.test", null);
332
+ test.equal(
333
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
334
+ 3,
335
+ `should render the expected number of serieses`
336
+ );
337
+ test.equal(
338
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
339
+ 180,
340
+ `should render the expected number of cell rects`
341
+ );
342
+ test.equal(
343
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
344
+ 5,
345
+ `should render the expected number of cluster rects`
346
+ );
347
+ if (test._ok) matrix.Inner.app.destroy();
348
+ test.end();
349
+ }
350
+ });
351
+ (0, import_tape.default)("geneVariant term", function(test) {
352
+ test.timeoutAfter(5e3);
353
+ test.plan(2);
354
+ runpp({
355
+ state: {
356
+ nav: {
357
+ activeTab: 1
358
+ },
359
+ plots: [
360
+ {
361
+ chartType: "matrix",
362
+ settings: {
363
+ // the matrix autocomputes the colw based on available screen width,
364
+ // need to set an exact screen width for consistent tests using getBBox()
365
+ matrix: {
366
+ availContentWidth: 1200
367
+ }
368
+ },
369
+ termgroups: [
370
+ {
371
+ name: "",
372
+ lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
373
+ }
374
+ ]
375
+ }
376
+ ]
377
+ },
378
+ matrix: {
379
+ callbacks: {
380
+ "postRender.test": runTests
381
+ }
382
+ }
383
+ });
384
+ function runTests(matrix) {
385
+ matrix.on("postRender.test", null);
386
+ test.equal(
387
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
388
+ 1,
389
+ `should render the expected number of serieses`
390
+ );
391
+ test.equal(
392
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
393
+ 240,
394
+ `should render the expected number of cell rects`
395
+ );
396
+ if (test._ok) matrix.Inner.app.destroy();
397
+ test.end();
398
+ }
399
+ });
400
+ (0, import_tape.default)("geneVariant terms and dictionary terms", function(test) {
401
+ test.timeoutAfter(5e3);
402
+ test.plan(3);
403
+ runpp({
404
+ state: {
405
+ nav: {
406
+ activeTab: 1
407
+ },
408
+ plots: [
409
+ {
410
+ chartType: "matrix",
411
+ settings: {
412
+ // the matrix autocomputes the colw based on available screen width,
413
+ // need to set an exact screen width for consistent tests using getBBox()
414
+ matrix: {
415
+ availContentWidth: 1200
416
+ }
417
+ },
418
+ termgroups: [
419
+ {
420
+ name: "",
421
+ lst: [
422
+ ...getGenes(),
423
+ { id: "agedx", term: termjson["agedx"] },
424
+ { id: "diaggrp", term: termjson["diaggrp"] },
425
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
426
+ ]
427
+ }
428
+ ]
429
+ }
430
+ ]
431
+ },
432
+ matrix: {
433
+ callbacks: {
434
+ "postRender.test": runTests
435
+ }
436
+ }
437
+ });
438
+ function runTests(matrix) {
439
+ matrix.on("postRender.test", null);
440
+ test.equal(
441
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
442
+ 6,
443
+ `should render the expected number of serieses`
444
+ );
445
+ test.equal(
446
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
447
+ 900,
448
+ `should render the expected number of cell rects`
449
+ );
450
+ test.equal(
451
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
452
+ 1,
453
+ `should render the expected number of cluster rects`
454
+ );
455
+ if (test._ok) matrix.Inner.app.destroy();
456
+ test.end();
457
+ }
458
+ });
459
+ (0, import_tape.default)("geneVariant terms with divide by dictionary term", function(test) {
460
+ test.timeoutAfter(5e3);
461
+ test.plan(3);
462
+ runpp({
463
+ state: {
464
+ nav: {
465
+ activeTab: 1
466
+ },
467
+ plots: [
468
+ {
469
+ chartType: "matrix",
470
+ settings: {
471
+ // the matrix autocomputes the colw based on available screen width,
472
+ // need to set an exact screen width for consistent tests using getBBox()
473
+ matrix: {
474
+ availContentWidth: 1200
475
+ }
476
+ },
477
+ divideBy: {
478
+ id: "sex"
479
+ },
480
+ termgroups: [
481
+ {
482
+ name: "",
483
+ lst: getGenes()
484
+ }
485
+ ]
486
+ }
487
+ ]
488
+ },
489
+ matrix: {
490
+ callbacks: {
491
+ "postRender.test": runTests
492
+ }
493
+ }
494
+ });
495
+ function runTests(matrix) {
496
+ matrix.on("postRender.test", null);
497
+ test.equal(
498
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
499
+ 3,
500
+ `should render the expected number of serieses`
501
+ );
502
+ test.equal(
503
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
504
+ 720,
505
+ `should render the expected number of cell rects`
506
+ );
507
+ test.equal(
508
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
509
+ 2,
510
+ `should render the expected number of cluster rects`
511
+ );
512
+ if (test._ok) matrix.Inner.app.destroy();
513
+ test.end();
514
+ }
515
+ });
516
+ (0, import_tape.default)("geneVariant terms and dictionary terms divide by dictionary term", function(test) {
517
+ test.timeoutAfter(5e3);
518
+ test.plan(3);
519
+ runpp({
520
+ state: {
521
+ nav: {
522
+ activeTab: 1
523
+ },
524
+ plots: [
525
+ {
526
+ chartType: "matrix",
527
+ settings: {
528
+ // the matrix autocomputes the colw based on available screen width,
529
+ // need to set an exact screen width for consistent tests using getBBox()
530
+ matrix: {
531
+ availContentWidth: 1200
532
+ }
533
+ },
534
+ divideBy: {
535
+ id: "sex"
536
+ },
537
+ termgroups: [
538
+ {
539
+ name: "",
540
+ lst: [
541
+ ...getGenes(),
542
+ { id: "agedx", term: termjson["agedx"] },
543
+ { id: "diaggrp", term: termjson["diaggrp"] },
544
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
545
+ ]
546
+ }
547
+ ]
548
+ }
549
+ ]
550
+ },
551
+ matrix: {
552
+ callbacks: {
553
+ "postRender.test": runTests
554
+ }
555
+ }
556
+ });
557
+ function runTests(matrix) {
558
+ matrix.on("postRender.test", null);
559
+ test.equal(
560
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
561
+ 6,
562
+ `should render the expected number of serieses`
563
+ );
564
+ test.equal(
565
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
566
+ 900,
567
+ `should render the expected number of cell rects`
568
+ );
569
+ test.equal(
570
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
571
+ 2,
572
+ `should render the expected number of cluster rects`
573
+ );
574
+ if (test._ok) matrix.Inner.app.destroy();
575
+ test.end();
576
+ }
577
+ });
578
+ (0, import_tape.default)("sort samples by sample name", function(test) {
579
+ test.timeoutAfter(5e3);
580
+ test.plan(4);
581
+ runpp({
582
+ state: {
583
+ nav: {
584
+ activeTab: 1
585
+ },
586
+ plots: [
587
+ {
588
+ chartType: "matrix",
589
+ settings: {
590
+ // the matrix autocomputes the colw based on available screen width,
591
+ // need to set an exact screen width for consistent tests using getBBox()
592
+ matrix: {
593
+ availContentWidth: 1200,
594
+ sortSamplesBy: "name"
595
+ }
596
+ },
597
+ termgroups: [
598
+ {
599
+ name: "",
600
+ lst: getGenes()
601
+ }
602
+ ]
603
+ }
604
+ ]
605
+ },
606
+ matrix: {
607
+ callbacks: {
608
+ "postRender.test": runTests
609
+ }
610
+ }
611
+ });
612
+ function runTests(matrix) {
613
+ matrix.on("postRender.test", null);
614
+ const g = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g");
615
+ test.equal(g.size(), 60, `should render the expected number of sample names`);
616
+ test.equal(g._groups[0][0].textContent, "2646", `should be the expected sample name`);
617
+ test.equal(g._groups[0][9].textContent, "2772", `should be the expected sample name`);
618
+ test.equal(g._groups[0][59].textContent, "3472", `should be the expected sample name`);
619
+ if (test._ok) matrix.Inner.app.destroy();
620
+ test.end();
621
+ }
622
+ });
623
+ (0, import_tape.default)("sort samples by Mutation categories, not sorted by CNV", function(test) {
624
+ test.timeoutAfter(5e3);
625
+ test.plan(4);
626
+ runpp({
627
+ state: {
628
+ nav: {
629
+ activeTab: 1
630
+ },
631
+ plots: [
632
+ {
633
+ chartType: "matrix",
634
+ settings: {
635
+ // the matrix autocomputes the colw based on available screen width,
636
+ // need to set an exact screen width for consistent tests using getBBox()
637
+ matrix: {
638
+ availContentWidth: 1200,
639
+ sortSamplesBy: "a"
640
+ }
641
+ },
642
+ termgroups: [
643
+ {
644
+ name: "Demographics",
645
+ lst: getGenes()
646
+ }
647
+ ]
648
+ }
649
+ ]
650
+ },
651
+ matrix: {
652
+ callbacks: {
653
+ "postRender.test": runTests
654
+ }
655
+ }
656
+ });
657
+ function runTests(matrix) {
658
+ matrix.on("postRender.test", null);
659
+ test.equal(
660
+ matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
661
+ 60,
662
+ `should render the expected number of sample names`
663
+ );
664
+ const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
665
+ const index_3346 = Array.from(rects).find((rect) => rect.textContent == "3346").__data__.index;
666
+ test.true(index_3346 < 10, `sample 3346 should be in the expected order (not sorted by CNV)`);
667
+ const index_2660 = Array.from(rects).find((rect) => rect.textContent == "2660").__data__.index;
668
+ test.equal(index_2660, 8, `sample 2660 should be in the expected order (not sorted by CNV)`);
669
+ const index_3472 = Array.from(rects).find((rect) => rect.textContent == "3472").__data__.index;
670
+ test.true(index_3472 > 9, `sample 3472 should be in the expected order (not sorted by CNV)`);
671
+ if (test._ok) matrix.Inner.app.destroy();
672
+ test.end();
673
+ }
674
+ });
675
+ (0, import_tape.default)("sort samples by CNV+SSM > SSM-only", function(test) {
676
+ test.timeoutAfter(5e3);
677
+ test.plan(5);
678
+ const sortOptions = getSortOptions(
679
+ void 0,
680
+ {},
681
+ {
682
+ proteinChangingMutations,
683
+ truncatingMutations,
684
+ synonymousMutations,
685
+ mutationClasses,
686
+ CNVClasses
687
+ }
688
+ );
689
+ const cnvtb = sortOptions.a.sortPriority[0].tiebreakers[2];
690
+ cnvtb.disabled = false;
691
+ runpp({
692
+ state: {
693
+ nav: {
694
+ activeTab: 1
695
+ },
696
+ plots: [
697
+ {
698
+ chartType: "matrix",
699
+ legendValueFilter: {
700
+ type: "tvslst",
701
+ lst: []
702
+ },
703
+ settings: {
704
+ // the matrix autocomputes the colw based on available screen width,
705
+ // need to set an exact screen width for consistent tests using getBBox()
706
+ matrix: {
707
+ availContentWidth: 1200,
708
+ sortSamplesBy: "a",
709
+ sortOptions
710
+ }
711
+ },
712
+ termgroups: [
713
+ {
714
+ name: "",
715
+ lst: getGenes()
716
+ }
717
+ ]
718
+ }
719
+ ]
720
+ },
721
+ matrix: {
722
+ callbacks: {
723
+ "postRender.test": runTests
724
+ }
725
+ }
726
+ });
727
+ function runTests(matrix) {
728
+ matrix.on("postRender.test", null);
729
+ test.equal(
730
+ matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
731
+ 60,
732
+ `should render the expected number of sample names`
733
+ );
734
+ const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
735
+ const r = Array.from(rects);
736
+ const index_3416 = r.find((rect) => rect.textContent == "3416").__data__.index;
737
+ test.equal(index_3416, 0, `should be in the expected order`);
738
+ const index_3346 = r.find((rect) => rect.textContent == "3346").__data__.index;
739
+ test.equal(index_3346, 9, `should be in the expected order`);
740
+ const index_2660 = r.find((rect) => rect.textContent == "2660").__data__.index;
741
+ test.equal(index_2660, 11, `should be in the expected order`);
742
+ const index_3472 = r.find((rect) => rect.textContent == "3472").__data__.index;
743
+ test.equal(index_3472, r.length - 1, `should be in the expected order`);
744
+ if (test._ok) matrix.Inner.app.destroy();
745
+ test.end();
746
+ }
747
+ });
748
+ (0, import_tape.default)("set max number of samples", function(test) {
749
+ test.timeoutAfter(5e3);
750
+ test.plan(1);
751
+ runpp({
752
+ state: {
753
+ nav: {
754
+ activeTab: 1
755
+ },
756
+ plots: [
757
+ {
758
+ chartType: "matrix",
759
+ settings: {
760
+ matrix: {
761
+ // the matrix autocomputes the colw based on available screen width,
762
+ // need to set an exact screen width for consistent tests using getBBox()
763
+ availContentWidth: 1200,
764
+ maxSample: 10
765
+ }
766
+ },
767
+ termgroups: [
768
+ {
769
+ name: "",
770
+ lst: [
771
+ {
772
+ id: "sex"
773
+ //q: { mode: 'values' } // or 'groupsetting'
774
+ }
775
+ ]
776
+ }
777
+ ]
778
+ }
779
+ ]
780
+ },
781
+ matrix: {
782
+ callbacks: {
783
+ "postRender.test": runTests
784
+ }
785
+ }
786
+ });
787
+ function runTests(matrix) {
788
+ matrix.on("postRender.test", null);
789
+ test.equal(
790
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
791
+ 10,
792
+ `should render the expected number of cell rects`
793
+ );
794
+ if (test._ok) matrix.Inner.app.destroy();
795
+ test.end();
796
+ }
797
+ });
798
+ (0, import_tape.default)("sort sample groups by Group Name", function(test) {
799
+ test.timeoutAfter(5e3);
800
+ test.plan(2);
801
+ runpp({
802
+ state: {
803
+ nav: {
804
+ activeTab: 1
805
+ },
806
+ plots: [
807
+ {
808
+ chartType: "matrix",
809
+ settings: {
810
+ // the matrix autocomputes the colw based on available screen width,
811
+ // need to set an exact screen width for consistent tests using getBBox()
812
+ matrix: {
813
+ availContentWidth: 1200,
814
+ sortSampleGrpsBy: "name"
815
+ }
816
+ },
817
+ divideBy: {
818
+ id: "genetic_race"
819
+ },
820
+ termgroups: [
821
+ {
822
+ name: "",
823
+ lst: getGenes()
824
+ }
825
+ ]
826
+ }
827
+ ]
828
+ },
829
+ matrix: {
830
+ callbacks: {
831
+ "postRender.test": runTests
832
+ }
833
+ }
834
+ });
835
+ function runTests(matrix) {
836
+ matrix.on("postRender.test", null);
837
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
838
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
839
+ )._groups[0];
840
+ test.true(matrixGroupLabels[0].textContent.startsWith("African Ancestry"), `should be the expected group name`);
841
+ test.true(matrixGroupLabels[2].textContent.startsWith("European Ancestry"), `should be the expected group name`);
842
+ if (test._ok) matrix.Inner.app.destroy();
843
+ test.end();
844
+ }
845
+ });
846
+ (0, import_tape.default)("sort sample groups by Sample Count", function(test) {
847
+ test.timeoutAfter(5e3);
848
+ test.plan(2);
849
+ runpp({
850
+ state: {
851
+ nav: {
852
+ activeTab: 1
853
+ },
854
+ plots: [
855
+ {
856
+ chartType: "matrix",
857
+ settings: {
858
+ // the matrix autocomputes the colw based on available screen width,
859
+ // need to set an exact screen width for consistent tests using getBBox()
860
+ matrix: {
861
+ availContentWidth: 1200,
862
+ sortSampleGrpsBy: "sampleCount"
863
+ }
864
+ },
865
+ divideBy: {
866
+ id: "genetic_race"
867
+ },
868
+ termgroups: [
869
+ {
870
+ name: "",
871
+ lst: getGenes()
872
+ }
873
+ ]
874
+ }
875
+ ]
876
+ },
877
+ matrix: {
878
+ callbacks: {
879
+ "postRender.test": runTests
880
+ }
881
+ }
882
+ });
883
+ function runTests(matrix) {
884
+ matrix.on("postRender.test", null);
885
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
886
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
887
+ )._groups[0];
888
+ test.true(matrixGroupLabels[0].textContent.startsWith("European Ancestry"), `should be the expected group name`);
889
+ test.true(matrixGroupLabels[2].textContent.startsWith("Asian Ancestry"), `should be the expected group name`);
890
+ if (test._ok) matrix.Inner.app.destroy();
891
+ test.end();
892
+ }
893
+ });
894
+ (0, import_tape.default)("sort sample groups by Hits", function(test) {
895
+ test.timeoutAfter(5e3);
896
+ test.plan(2);
897
+ runpp({
898
+ state: {
899
+ nav: {
900
+ activeTab: 1
901
+ },
902
+ plots: [
903
+ {
904
+ chartType: "matrix",
905
+ settings: {
906
+ // the matrix autocomputes the colw based on available screen width,
907
+ // need to set an exact screen width for consistent tests using getBBox()
908
+ matrix: {
909
+ availContentWidth: 1200,
910
+ sortSampleGrpsBy: "hits"
911
+ }
912
+ },
913
+ divideBy: {
914
+ id: "Hearing loss"
915
+ },
916
+ termgroups: [
917
+ {
918
+ name: "",
919
+ lst: getGenes()
920
+ }
921
+ ]
922
+ }
923
+ ]
924
+ },
925
+ matrix: {
926
+ callbacks: {
927
+ "postRender.test": runTests
928
+ }
929
+ }
930
+ });
931
+ function runTests(matrix) {
932
+ matrix.on("postRender.test", null);
933
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
934
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
935
+ )._groups[0];
936
+ test.true(matrixGroupLabels[0].textContent.startsWith("3: Severe"), `should be the expected group name`);
937
+ test.true(matrixGroupLabels[4].textContent.startsWith("1: Mild"), `should be the expected group name`);
938
+ if (test._ok) matrix.Inner.app.destroy();
939
+ test.end();
940
+ }
941
+ });
942
+ (0, import_tape.default)("sort sample groups by Hits 2", function(test) {
943
+ test.timeoutAfter(5e3);
944
+ test.plan(2);
945
+ runpp({
946
+ state: {
947
+ plots: [
948
+ {
949
+ id: "xyz",
950
+ chartType: "matrix",
951
+ settings: {
952
+ // the matrix autocomputes the colw based on available screen width,
953
+ // need to set an exact screen width for consistent tests using getBBox()
954
+ matrix: {
955
+ availContentWidth: 1200,
956
+ sortSampleGrpsBy: "hits"
957
+ }
958
+ },
959
+ divideBy: {
960
+ id: "agedx"
961
+ },
962
+ termgroups: [
963
+ {
964
+ name: "",
965
+ lst: getGenes()
966
+ }
967
+ ]
968
+ }
969
+ ]
970
+ },
971
+ matrix: {
972
+ callbacks: {
973
+ postRender: runTests
974
+ }
975
+ }
976
+ });
977
+ function runTests(matrix) {
978
+ matrix.on("postRender", null);
979
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
980
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
981
+ )._groups[0];
982
+ test.true(matrixGroupLabels[0].textContent.startsWith("10 to <15"), `should have the expected left-most group name`);
983
+ test.true(matrixGroupLabels[4].textContent.startsWith("\u226520"), `should have the right-most expected group name`);
984
+ if (test._ok) matrix.Inner.app.destroy();
985
+ test.end();
986
+ }
987
+ });
988
+ (0, import_tape.default)("Display Sample Counts for Gene: Absolute", function(test) {
989
+ test.timeoutAfter(5e3);
990
+ test.plan(2);
991
+ runpp({
992
+ state: {
993
+ plots: [
994
+ {
995
+ chartType: "matrix",
996
+ settings: {
997
+ // the matrix autocomputes the colw based on available screen width,
998
+ // need to set an exact screen width for consistent tests using getBBox()
999
+ matrix: {
1000
+ availContentWidth: 1200,
1001
+ samplecount4gene: "abs"
1002
+ }
1003
+ },
1004
+ termgroups: [
1005
+ {
1006
+ name: "",
1007
+ lst: getGenes()
1008
+ }
1009
+ ]
1010
+ }
1011
+ ]
1012
+ },
1013
+ matrix: {
1014
+ callbacks: {
1015
+ "postRender.test": runTests
1016
+ }
1017
+ }
1018
+ });
1019
+ function runTests(matrix) {
1020
+ matrix.on("postRender.test", null);
1021
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1022
+ const pattern = /\(\d+\)/;
1023
+ test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by absolute number`);
1024
+ test.true(
1025
+ pattern.test(termLabels[termLabels.length - 1].textContent),
1026
+ `should display sample counts for gene by absolute number`
1027
+ );
1028
+ if (test._ok) matrix.Inner.app.destroy();
1029
+ test.end();
1030
+ }
1031
+ });
1032
+ (0, import_tape.default)("Display Sample Counts for Gene: Percent", function(test) {
1033
+ test.timeoutAfter(5e3);
1034
+ test.plan(2);
1035
+ runpp({
1036
+ state: {
1037
+ plots: [
1038
+ {
1039
+ chartType: "matrix",
1040
+ settings: {
1041
+ // the matrix autocomputes the colw based on available screen width,
1042
+ // need to set an exact screen width for consistent tests using getBBox()
1043
+ matrix: {
1044
+ availContentWidth: 1200,
1045
+ samplecount4gene: "pct"
1046
+ }
1047
+ },
1048
+ termgroups: [
1049
+ {
1050
+ name: "",
1051
+ lst: getGenes()
1052
+ }
1053
+ ]
1054
+ }
1055
+ ]
1056
+ },
1057
+ matrix: {
1058
+ callbacks: {
1059
+ "postRender.test": runTests
1060
+ }
1061
+ }
1062
+ });
1063
+ function runTests(matrix) {
1064
+ matrix.on("postRender.test", null);
1065
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1066
+ const pattern = /\(\d+(\.\d+)? ?%\)/;
1067
+ test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by percentage`);
1068
+ test.true(
1069
+ pattern.test(termLabels[termLabels.length - 1].textContent),
1070
+ `should display sample counts for gene by percentage`
1071
+ );
1072
+ if (test._ok) matrix.Inner.app.destroy();
1073
+ test.end();
1074
+ }
1075
+ });
1076
+ (0, import_tape.default)("Display Sample Counts for Gene: None", function(test) {
1077
+ test.timeoutAfter(5e3);
1078
+ test.plan(2);
1079
+ runpp({
1080
+ state: {
1081
+ plots: [
1082
+ {
1083
+ chartType: "matrix",
1084
+ settings: {
1085
+ // the matrix autocomputes the colw based on available screen width,
1086
+ // need to set an exact screen width for consistent tests using getBBox()
1087
+ matrix: {
1088
+ availContentWidth: 1200,
1089
+ samplecount4gene: ""
1090
+ }
1091
+ },
1092
+ termgroups: [
1093
+ {
1094
+ name: "",
1095
+ lst: getGenes()
1096
+ }
1097
+ ]
1098
+ }
1099
+ ]
1100
+ },
1101
+ matrix: {
1102
+ callbacks: {
1103
+ "postRender.test": runTests
1104
+ }
1105
+ }
1106
+ });
1107
+ function runTests(matrix) {
1108
+ matrix.on("postRender.test", null);
1109
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1110
+ const pattern = /\(\d+(\.\d+)?%\)|\(\d+\)/g;
1111
+ test.true(!pattern.test(termLabels[0].textContent), `should not display sample counts for gene`);
1112
+ test.true(!pattern.test(termLabels[termLabels.length - 1].textContent), `should not display sample counts for gene`);
1113
+ if (test._ok) matrix.Inner.app.destroy();
1114
+ test.end();
1115
+ }
1116
+ });
1117
+ (0, import_tape.default)("Sort Genes By Sample Count", function(test) {
1118
+ test.timeoutAfter(5e3);
1119
+ test.plan(2);
1120
+ runpp({
1121
+ state: {
1122
+ plots: [
1123
+ {
1124
+ chartType: "matrix",
1125
+ settings: {
1126
+ // the matrix autocomputes the colw based on available screen width,
1127
+ // need to set an exact screen width for consistent tests using getBBox()
1128
+ matrix: {
1129
+ availContentWidth: 1200,
1130
+ sortTermsBy: "sampleCount"
1131
+ }
1132
+ },
1133
+ termgroups: [
1134
+ {
1135
+ name: "",
1136
+ lst: getGenes()
1137
+ }
1138
+ ]
1139
+ }
1140
+ ]
1141
+ },
1142
+ matrix: {
1143
+ callbacks: {
1144
+ "postRender.test": runTests
1145
+ }
1146
+ }
1147
+ });
1148
+ function runTests(matrix) {
1149
+ matrix.on("postRender.test", null);
1150
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1151
+ test.true(termLabels[0].textContent.startsWith("AKT1"), `should sort genes by sample count`);
1152
+ test.true(termLabels[2].textContent.startsWith("KRAS"), `should sort genes by sample count`);
1153
+ if (test._ok) matrix.Inner.app.destroy();
1154
+ test.end();
1155
+ }
1156
+ });
1157
+ (0, import_tape.default)("Sort Genes By Input Data Order", function(test) {
1158
+ test.timeoutAfter(5e3);
1159
+ test.plan(2);
1160
+ runpp({
1161
+ state: {
1162
+ plots: [
1163
+ {
1164
+ chartType: "matrix",
1165
+ settings: {
1166
+ // the matrix autocomputes the colw based on available screen width,
1167
+ // need to set an exact screen width for consistent tests using getBBox()
1168
+ matrix: {
1169
+ availContentWidth: 1200,
1170
+ sortTermsBy: "asListed"
1171
+ }
1172
+ },
1173
+ termgroups: [
1174
+ {
1175
+ name: "",
1176
+ lst: getGenes()
1177
+ }
1178
+ ]
1179
+ }
1180
+ ]
1181
+ },
1182
+ matrix: {
1183
+ callbacks: {
1184
+ "postRender.test": runTests
1185
+ }
1186
+ }
1187
+ });
1188
+ function runTests(matrix) {
1189
+ matrix.on("postRender.test", null);
1190
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1191
+ test.true(termLabels[0].textContent.startsWith("TP53"), `should sort genes by input data order`);
1192
+ test.true(termLabels[2].textContent.startsWith("AKT1"), `should sort genes by input data order`);
1193
+ if (test._ok) matrix.Inner.app.destroy();
1194
+ test.end();
1195
+ }
1196
+ });
1197
+ (0, import_tape.default)("avoid race condition - plot edit", function(test) {
1198
+ test.timeoutAfter(1500);
1199
+ test.plan(4);
1200
+ runpp({
1201
+ state: {
1202
+ plots: [
1203
+ {
1204
+ chartType: "matrix",
1205
+ settings: {
1206
+ // the matrix autocomputes the colw based on available screen width,
1207
+ // need to set an exact screen width for consistent tests using getBBox()
1208
+ matrix: {
1209
+ availContentWidth: 1200,
1210
+ sortTermsBy: "asListed"
1211
+ }
1212
+ },
1213
+ termgroups: [
1214
+ {
1215
+ name: "",
1216
+ lst: getGenes()
1217
+ }
1218
+ ]
1219
+ }
1220
+ ]
1221
+ },
1222
+ matrix: {
1223
+ callbacks: {
1224
+ "postRender.test": runTests
1225
+ }
1226
+ }
1227
+ });
1228
+ async function runTests(matrix) {
1229
+ matrix.on("postRender.test", null);
1230
+ matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1231
+ matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1232
+ const j = i;
1233
+ i = 0;
1234
+ const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1235
+ await sleep(j);
1236
+ return data;
1237
+ };
1238
+ matrix.on("postRender.test", async () => {
1239
+ matrix.on("postRender.test", null);
1240
+ await sleep(responseDelay + 300);
1241
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1242
+ test.equal(termLabels.size(), 1, `should have 1 gene row`);
1243
+ test.true(termLabels._groups?.[0][0].textContent.startsWith("BCR"), `should sort genes by input data order`);
1244
+ const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1245
+ const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1246
+ test.equal(
1247
+ rects.size(),
1248
+ 240,
1249
+ "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1250
+ );
1251
+ test.equal(hits.size(), 2, "should have the expected number of matrix cell rects with hits");
1252
+ if (test._ok) matrix.Inner.app.destroy();
1253
+ test.end();
1254
+ });
1255
+ const responseDelay = 10;
1256
+ let i = responseDelay;
1257
+ try {
1258
+ const results = await Promise.all([
1259
+ matrix.Inner.app.dispatch({
1260
+ type: "plot_edit",
1261
+ id: matrix.id,
1262
+ config: {
1263
+ termgroups: [
1264
+ {
1265
+ name: "",
1266
+ lst: [
1267
+ // $id is added manually since fillTermWrapper() is not called here and
1268
+ // cannot be assumed to be called within store.plot_edit()
1269
+ {
1270
+ $id: 0,
1271
+ term: {
1272
+ gene: "KRAS",
1273
+ name: "KRAS",
1274
+ type: "geneVariant",
1275
+ isleaf: true,
1276
+ groupsetting: { disabled: false }
1277
+ },
1278
+ q: { type: "values" }
1279
+ },
1280
+ {
1281
+ $id: 1,
1282
+ term: {
1283
+ gene: "AKT1",
1284
+ name: "AKT1",
1285
+ type: "geneVariant",
1286
+ isleaf: true,
1287
+ groupsetting: { disabled: false }
1288
+ },
1289
+ q: { type: "values" }
1290
+ }
1291
+ ]
1292
+ }
1293
+ ]
1294
+ }
1295
+ }),
1296
+ (async () => {
1297
+ await sleep(1);
1298
+ matrix.Inner.app.dispatch({
1299
+ type: "plot_edit",
1300
+ id: matrix.id,
1301
+ config: {
1302
+ termgroups: [
1303
+ {
1304
+ name: "",
1305
+ // $id is added manually since fillTermWrapper() is not called here and
1306
+ // cannot be assumed to be called within store.plot_edit()
1307
+ lst: [
1308
+ {
1309
+ $id: 3,
1310
+ term: {
1311
+ name: "BCR",
1312
+ genes: [
1313
+ {
1314
+ kind: "gene",
1315
+ id: "BCR",
1316
+ gene: "BCR",
1317
+ name: "BCR",
1318
+ type: "geneVariant"
1319
+ }
1320
+ ],
1321
+ type: "geneVariant",
1322
+ isleaf: true,
1323
+ groupsetting: { disabled: false }
1324
+ },
1325
+ q: { type: "values" }
1326
+ }
1327
+ ]
1328
+ }
1329
+ ]
1330
+ }
1331
+ });
1332
+ })()
1333
+ ]);
1334
+ } catch (e) {
1335
+ test.fail("error: " + e);
1336
+ throw e;
1337
+ }
1338
+ }
1339
+ });
1340
+ (0, import_tape.default)("avoid race condition - cohort change", function(test) {
1341
+ test.timeoutAfter(3e3);
1342
+ test.plan(4);
1343
+ runpp({
1344
+ state: {
1345
+ plots: [
1346
+ {
1347
+ chartType: "matrix",
1348
+ settings: {
1349
+ // the matrix autocomputes the colw based on available screen width,
1350
+ // need to set an exact screen width for consistent tests using getBBox()
1351
+ matrix: {
1352
+ availContentWidth: 1200,
1353
+ sortTermsBy: "asListed"
1354
+ }
1355
+ },
1356
+ termgroups: [
1357
+ {
1358
+ name: "",
1359
+ lst: getGenes()
1360
+ }
1361
+ ]
1362
+ }
1363
+ ]
1364
+ },
1365
+ matrix: {
1366
+ callbacks: {
1367
+ "postRender.test": runTests
1368
+ }
1369
+ }
1370
+ });
1371
+ async function runTests(matrix) {
1372
+ matrix.on("postRender.test", null);
1373
+ matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1374
+ matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1375
+ const vkeys = opts.filter.lst?.[0].tvs.values.map((v) => v.key);
1376
+ const j = responseDelays[i];
1377
+ i++;
1378
+ await sleep(j);
1379
+ const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1380
+ return data;
1381
+ };
1382
+ matrix.on("postRender.test", async () => {
1383
+ matrix.on("postRender.test", null);
1384
+ await sleep(responseDelays.reduce((sum, v) => sum + v, 0) + 300);
1385
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1386
+ test.equal(termLabels.size(), 3, `should have 3 gene rows`);
1387
+ const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1388
+ test.equal(
1389
+ rects.size(),
1390
+ 1200,
1391
+ "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1392
+ );
1393
+ const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1394
+ test.equal(hits.size(), 0, "should have the expected number of matrix cell rects with hits");
1395
+ test.deepEqual(
1396
+ matrix.Inner.app.getState().termfilter.filter.lst?.[0].tvs,
1397
+ matrix.Inner.state.filter.lst?.[0].tvs,
1398
+ `app.state and matrix.state should have the same cohort filter value`
1399
+ );
1400
+ if (test._ok) matrix.Inner.app.destroy();
1401
+ test.end();
1402
+ });
1403
+ const responseDelays = [800, 500, 10];
1404
+ let i = 0;
1405
+ try {
1406
+ const results = await Promise.all([
1407
+ (async () => {
1408
+ await sleep(100);
1409
+ matrix.Inner.app.dispatch({
1410
+ type: "cohort_set",
1411
+ activeCohort: 1
1412
+ });
1413
+ })(),
1414
+ (async () => {
1415
+ await sleep(200);
1416
+ matrix.Inner.app.dispatch({
1417
+ type: "cohort_set",
1418
+ activeCohort: 0
1419
+ });
1420
+ })(),
1421
+ (async () => {
1422
+ await sleep(300);
1423
+ matrix.Inner.app.dispatch({
1424
+ type: "cohort_set",
1425
+ activeCohort: 2
1426
+ });
1427
+ })()
1428
+ ]);
1429
+ } catch (e) {
1430
+ test.fail("error: " + e);
1431
+ throw e;
1432
+ }
1433
+ }
1434
+ });
1435
+ (0, import_tape.default)('apply "hide" legend filters to a dictionary term', function(test) {
1436
+ test.timeoutAfter(5e3);
1437
+ test.plan(10);
1438
+ runpp({
1439
+ state: {
1440
+ plots: [
1441
+ {
1442
+ chartType: "matrix",
1443
+ settings: {
1444
+ matrix: {
1445
+ // the matrix autocomputes the colw based on available screen width,
1446
+ // need to set an exact screen width for consistent tests using getBBox()
1447
+ availContentWidth: 1200
1448
+ }
1449
+ },
1450
+ termgroups: [
1451
+ {
1452
+ name: "Demographics",
1453
+ lst: [
1454
+ {
1455
+ id: "aaclassic_5",
1456
+ q: {
1457
+ mode: "continuous"
1458
+ }
1459
+ },
1460
+ {
1461
+ id: "genetic_race"
1462
+ //q: { mode: 'values' } // or 'groupsetting'
1463
+ },
1464
+ {
1465
+ id: "agedx",
1466
+ q: {
1467
+ mode: "discrete",
1468
+ type: "regular-bin",
1469
+ bin_size: 5,
1470
+ first_bin: {
1471
+ startunbounded: true,
1472
+ stop: 5,
1473
+ stopinclusive: true
1474
+ }
1475
+ }
1476
+ // or 'continuous'
1477
+ }
1478
+ ]
1479
+ }
1480
+ ]
1481
+ }
1482
+ ]
1483
+ },
1484
+ matrix: {
1485
+ callbacks: {
1486
+ "postRender.test": runTests
1487
+ }
1488
+ }
1489
+ });
1490
+ async function runTests(matrix) {
1491
+ matrix.on("postRender.test", null);
1492
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1493
+ (d) => d?.__data__?.text?.startsWith("Asian")
1494
+ );
1495
+ legendTexts.dispatchEvent(
1496
+ new MouseEvent("mouseup", {
1497
+ bubbles: true,
1498
+ cancelable: true
1499
+ })
1500
+ );
1501
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1502
+ test.equal(options[0].innerText, "Hide", `First option should be Hide`);
1503
+ test.equal(options[1].innerText, "Show only", `second option should be Show only`);
1504
+ test.equal(options[2].innerText, "Show all", `third option should be Show all`);
1505
+ const rects = await detectLst({
1506
+ elem: matrix.Inner.dom.seriesesG.node(),
1507
+ selector: ".sjpp-mass-series-g rect",
1508
+ count: 177,
1509
+ trigger: () => {
1510
+ options[0].dispatchEvent(
1511
+ new MouseEvent("click", {
1512
+ bubbles: true,
1513
+ cancelable: true
1514
+ })
1515
+ );
1516
+ }
1517
+ });
1518
+ test.equal(
1519
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1520
+ 3,
1521
+ `should render the expected number of serieses`
1522
+ );
1523
+ test.equal(
1524
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1525
+ 1,
1526
+ `should render the expected number of cluster rects`
1527
+ );
1528
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1529
+ (d) => d?.__data__?.text?.startsWith("Asian")
1530
+ );
1531
+ legendTexts2.dispatchEvent(
1532
+ new MouseEvent("mouseup", {
1533
+ bubbles: true,
1534
+ cancelable: true
1535
+ })
1536
+ );
1537
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1538
+ test.equal(options2[0].innerText, "Show", `First option should be Show`);
1539
+ test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
1540
+ test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
1541
+ const rects2 = await detectLst({
1542
+ elem: matrix.Inner.dom.seriesesG.node(),
1543
+ selector: ".sjpp-mass-series-g rect",
1544
+ count: 180,
1545
+ trigger: () => {
1546
+ options2[0].dispatchEvent(
1547
+ new MouseEvent("click", {
1548
+ bubbles: true,
1549
+ cancelable: true
1550
+ })
1551
+ );
1552
+ }
1553
+ });
1554
+ test.equal(
1555
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1556
+ 3,
1557
+ `should render the expected number of serieses`
1558
+ );
1559
+ test.equal(
1560
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1561
+ 1,
1562
+ `should render the expected number of cluster rects`
1563
+ );
1564
+ if (test._ok) matrix.Inner.app.destroy();
1565
+ test.end();
1566
+ }
1567
+ });
1568
+ (0, import_tape.default)('apply "show only" and "show all" legend filters to dictionary terms', function(test) {
1569
+ test.timeoutAfter(5e3);
1570
+ test.plan(14);
1571
+ runpp({
1572
+ state: {
1573
+ plots: [
1574
+ {
1575
+ chartType: "matrix",
1576
+ settings: {
1577
+ matrix: {
1578
+ // the matrix autocomputes the colw based on available screen width,
1579
+ // need to set an exact screen width for consistent tests using getBBox()
1580
+ availContentWidth: 1200
1581
+ }
1582
+ },
1583
+ termgroups: [
1584
+ {
1585
+ name: "Demographics",
1586
+ lst: [
1587
+ {
1588
+ id: "aaclassic_5",
1589
+ q: {
1590
+ mode: "continuous"
1591
+ }
1592
+ },
1593
+ {
1594
+ id: "sex"
1595
+ //q: { mode: 'values' } // or 'groupsetting'
1596
+ },
1597
+ {
1598
+ id: "agedx",
1599
+ q: {
1600
+ mode: "discrete",
1601
+ type: "regular-bin",
1602
+ bin_size: 5,
1603
+ first_bin: {
1604
+ startunbounded: true,
1605
+ stop: 5,
1606
+ stopinclusive: true
1607
+ }
1608
+ }
1609
+ // or 'continuous'
1610
+ }
1611
+ ]
1612
+ }
1613
+ ]
1614
+ }
1615
+ ]
1616
+ },
1617
+ matrix: {
1618
+ callbacks: {
1619
+ "postRender.test": runTests
1620
+ }
1621
+ }
1622
+ });
1623
+ async function runTests(matrix) {
1624
+ matrix.on("postRender.test", null);
1625
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1626
+ (d) => d?.__data__?.text?.startsWith("Male")
1627
+ );
1628
+ legendTexts.dispatchEvent(
1629
+ new MouseEvent("mouseup", {
1630
+ bubbles: true,
1631
+ cancelable: true
1632
+ })
1633
+ );
1634
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1635
+ const rects = await detectLst({
1636
+ elem: matrix.Inner.dom.seriesesG.node(),
1637
+ selector: ".sjpp-mass-series-g rect",
1638
+ count: 75,
1639
+ trigger: () => {
1640
+ options[1].dispatchEvent(
1641
+ new MouseEvent("click", {
1642
+ bubbles: true,
1643
+ cancelable: true
1644
+ })
1645
+ );
1646
+ }
1647
+ });
1648
+ test.equal(
1649
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1650
+ 3,
1651
+ `should render the expected number of serieses`
1652
+ );
1653
+ test.equal(
1654
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1655
+ 1,
1656
+ `should render the expected number of cluster rects`
1657
+ );
1658
+ const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1659
+ (d) => d?.__data__?.text?.startsWith("<5")
1660
+ );
1661
+ secondLegendTexts.dispatchEvent(
1662
+ new MouseEvent("mouseup", {
1663
+ bubbles: true,
1664
+ cancelable: true
1665
+ })
1666
+ );
1667
+ const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1668
+ test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
1669
+ test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
1670
+ test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
1671
+ const secondRects = await detectLst({
1672
+ elem: matrix.Inner.dom.seriesesG.node(),
1673
+ selector: ".sjpp-mass-series-g rect",
1674
+ count: 30,
1675
+ trigger: () => {
1676
+ secondOptions[1].dispatchEvent(
1677
+ new MouseEvent("click", {
1678
+ bubbles: true,
1679
+ cancelable: true
1680
+ })
1681
+ );
1682
+ }
1683
+ });
1684
+ test.equal(
1685
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1686
+ 3,
1687
+ `should render the expected number of serieses`
1688
+ );
1689
+ test.equal(
1690
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1691
+ 1,
1692
+ `should render the expected number of cluster rects`
1693
+ );
1694
+ const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1695
+ (d) => d?.__data__?.text?.startsWith("<5")
1696
+ );
1697
+ thirdLegendTexts.dispatchEvent(
1698
+ new MouseEvent("mouseup", {
1699
+ bubbles: true,
1700
+ cancelable: true
1701
+ })
1702
+ );
1703
+ const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1704
+ test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
1705
+ test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
1706
+ const thirdRects = await detectLst({
1707
+ elem: matrix.Inner.dom.seriesesG.node(),
1708
+ selector: ".sjpp-mass-series-g rect",
1709
+ count: 0,
1710
+ trigger: () => {
1711
+ thirdOptions[0].dispatchEvent(
1712
+ new MouseEvent("click", {
1713
+ bubbles: true,
1714
+ cancelable: true
1715
+ })
1716
+ );
1717
+ }
1718
+ });
1719
+ test.equal(
1720
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1721
+ 0,
1722
+ `should render the expected number of serieses`
1723
+ );
1724
+ const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1725
+ (d) => d?.__data__?.text?.startsWith("<5")
1726
+ );
1727
+ fourthLegendTexts.dispatchEvent(
1728
+ new MouseEvent("mouseup", {
1729
+ bubbles: true,
1730
+ cancelable: true
1731
+ })
1732
+ );
1733
+ const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1734
+ test.equal(fourthOptions[0].innerText, "Show", `first option should be Show`);
1735
+ test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
1736
+ const fourthRects = await detectLst({
1737
+ elem: matrix.Inner.dom.seriesesG.node(),
1738
+ selector: ".sjpp-mass-series-g rect",
1739
+ count: 75,
1740
+ trigger: () => {
1741
+ fourthOptions[2].dispatchEvent(
1742
+ new MouseEvent("click", {
1743
+ bubbles: true,
1744
+ cancelable: true
1745
+ })
1746
+ );
1747
+ }
1748
+ });
1749
+ test.equal(
1750
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1751
+ 3,
1752
+ `should render the expected number of serieses`
1753
+ );
1754
+ test.equal(
1755
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1756
+ 1,
1757
+ `should render the expected number of cluster rects`
1758
+ );
1759
+ if (test._ok) matrix.Inner.app.destroy();
1760
+ test.end();
1761
+ }
1762
+ });
1763
+ (0, import_tape.default)(
1764
+ 'apply "Hide samples with" and "Do not show" legend filters to a geneVariant term in geneVariant term only matrix',
1765
+ function(test) {
1766
+ test.timeoutAfter(5e3);
1767
+ test.plan(12);
1768
+ runpp({
1769
+ state: {
1770
+ plots: [
1771
+ {
1772
+ chartType: "matrix",
1773
+ settings: {
1774
+ // the matrix autocomputes the colw based on available screen width,
1775
+ // need to set an exact screen width for consistent tests using getBBox()
1776
+ matrix: {
1777
+ availContentWidth: 1200
1778
+ }
1779
+ },
1780
+ termgroups: [
1781
+ {
1782
+ name: "",
1783
+ lst: [getGenes()[0]]
1784
+ }
1785
+ ]
1786
+ }
1787
+ ]
1788
+ },
1789
+ matrix: {
1790
+ callbacks: {
1791
+ "postRender.test": runTests
1792
+ }
1793
+ }
1794
+ });
1795
+ async function runTests(matrix) {
1796
+ matrix.on("postRender.test", null);
1797
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1798
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1799
+ );
1800
+ legendTexts.dispatchEvent(
1801
+ new MouseEvent("mouseup", {
1802
+ bubbles: true,
1803
+ cancelable: true
1804
+ })
1805
+ );
1806
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1807
+ test.equal(
1808
+ options[0].innerText,
1809
+ "Hide samples with FRAMESHIFT",
1810
+ `First option should be "Hide samples with FRAMESHIFT"`
1811
+ );
1812
+ test.equal(options[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
1813
+ test.equal(options.length, 2, `Should only show two options`);
1814
+ const rects = await detectLst({
1815
+ elem: matrix.Inner.dom.seriesesG.node(),
1816
+ selector: ".sjpp-mass-series-g rect",
1817
+ count: 236,
1818
+ trigger: () => {
1819
+ options[0].dispatchEvent(
1820
+ new MouseEvent("click", {
1821
+ bubbles: true,
1822
+ cancelable: true
1823
+ })
1824
+ );
1825
+ }
1826
+ });
1827
+ test.equal(
1828
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1829
+ 1,
1830
+ `should render the expected number of serieses`
1831
+ );
1832
+ test.equal(
1833
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1834
+ 1,
1835
+ `should render the expected number of cluster rects`
1836
+ );
1837
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1838
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1839
+ );
1840
+ legendTexts2.dispatchEvent(
1841
+ new MouseEvent("mouseup", {
1842
+ bubbles: true,
1843
+ cancelable: true
1844
+ })
1845
+ );
1846
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1847
+ test.equal(
1848
+ options2[0].innerText,
1849
+ "Show samples with FRAMESHIFT",
1850
+ `First option should be "Show samples with FRAMESHIFT"`
1851
+ );
1852
+ test.equal(options2.length, 1, `Should only show one option`);
1853
+ const rects2 = await detectLst({
1854
+ elem: matrix.Inner.dom.seriesesG.node(),
1855
+ selector: ".sjpp-mass-series-g rect",
1856
+ count: 240,
1857
+ trigger: () => {
1858
+ options2[0].dispatchEvent(
1859
+ new MouseEvent("click", {
1860
+ bubbles: true,
1861
+ cancelable: true
1862
+ })
1863
+ );
1864
+ }
1865
+ });
1866
+ test.equal(
1867
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1868
+ 1,
1869
+ `should render the expected number of serieses`
1870
+ );
1871
+ test.equal(
1872
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1873
+ 1,
1874
+ `should render the expected number of cluster rects`
1875
+ );
1876
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1877
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1878
+ );
1879
+ legendTexts3.dispatchEvent(
1880
+ new MouseEvent("mouseup", {
1881
+ bubbles: true,
1882
+ cancelable: true
1883
+ })
1884
+ );
1885
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1886
+ test.equal(options3.length, 2, `Should only show two options`);
1887
+ const rects3 = await detectLst({
1888
+ elem: matrix.Inner.dom.seriesesG.node(),
1889
+ selector: ".sjpp-mass-series-g rect",
1890
+ count: 239,
1891
+ trigger: () => {
1892
+ options3[1].dispatchEvent(
1893
+ new MouseEvent("click", {
1894
+ bubbles: true,
1895
+ cancelable: true
1896
+ })
1897
+ );
1898
+ }
1899
+ });
1900
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1901
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1902
+ );
1903
+ legendTexts4.dispatchEvent(
1904
+ new MouseEvent("mouseup", {
1905
+ bubbles: true,
1906
+ cancelable: true
1907
+ })
1908
+ );
1909
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1910
+ test.equal(
1911
+ options4[0].innerText,
1912
+ "Show samples with FRAMESHIFT",
1913
+ `First option should be "Show samples with FRAMESHIFT"`
1914
+ );
1915
+ test.equal(options4.length, 1, `Should only show one option`);
1916
+ const rects4 = await detectLst({
1917
+ elem: matrix.Inner.dom.seriesesG.node(),
1918
+ selector: ".sjpp-mass-series-g rect",
1919
+ count: 240,
1920
+ trigger: () => {
1921
+ options4[0].dispatchEvent(
1922
+ new MouseEvent("click", {
1923
+ bubbles: true,
1924
+ cancelable: true
1925
+ })
1926
+ );
1927
+ }
1928
+ });
1929
+ if (test._ok) matrix.Inner.app.destroy();
1930
+ test.end();
1931
+ }
1932
+ }
1933
+ );
1934
+ (0, import_tape.default)("apply legend group filters to a geneVariant term in geneVariant term only matrix", function(test) {
1935
+ test.timeoutAfter(5e3);
1936
+ test.plan(15);
1937
+ runpp({
1938
+ state: {
1939
+ plots: [
1940
+ {
1941
+ chartType: "matrix",
1942
+ settings: {
1943
+ // the matrix autocomputes the colw based on available screen width,
1944
+ // need to set an exact screen width for consistent tests using getBBox()
1945
+ matrix: {
1946
+ availContentWidth: 1200
1947
+ }
1948
+ },
1949
+ termgroups: [
1950
+ {
1951
+ name: "",
1952
+ lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
1953
+ }
1954
+ ]
1955
+ }
1956
+ ]
1957
+ },
1958
+ matrix: {
1959
+ callbacks: {
1960
+ "postRender.test": runTests
1961
+ }
1962
+ }
1963
+ });
1964
+ async function runTests(matrix) {
1965
+ matrix.on("postRender.test", null);
1966
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1967
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
1968
+ );
1969
+ legendTexts.dispatchEvent(
1970
+ new MouseEvent("mouseup", {
1971
+ bubbles: true,
1972
+ cancelable: true
1973
+ })
1974
+ );
1975
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1976
+ test.equal(
1977
+ options[0].innerText,
1978
+ "Show only truncating mutations",
1979
+ `First option should be "Show only truncating mutations"`
1980
+ );
1981
+ test.equal(
1982
+ options[1].innerText,
1983
+ "Show only protein-changing mutations",
1984
+ `second option should be "Show only protein-changing mutations"`
1985
+ );
1986
+ test.equal(
1987
+ options[2].innerText,
1988
+ "Do not show Somatic Mutations",
1989
+ `third option should be "Do not show Somatic Mutations"`
1990
+ );
1991
+ test.equal(options.length, 3, `Should show three options`);
1992
+ const rects = await detectLst({
1993
+ elem: matrix.Inner.dom.seriesesG.node(),
1994
+ selector: ".sjpp-mass-series-g rect",
1995
+ count: 181,
1996
+ trigger: () => {
1997
+ options[0].dispatchEvent(
1998
+ new MouseEvent("click", {
1999
+ bubbles: true,
2000
+ cancelable: true
2001
+ })
2002
+ );
2003
+ }
2004
+ });
2005
+ test.equal(
2006
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2007
+ 1,
2008
+ `should render the expected number of serieses`
2009
+ );
2010
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2011
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2012
+ );
2013
+ legendTexts2.dispatchEvent(
2014
+ new MouseEvent("mouseup", {
2015
+ bubbles: true,
2016
+ cancelable: true
2017
+ })
2018
+ );
2019
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2020
+ test.equal(
2021
+ options2[2].innerText,
2022
+ "Do not show Somatic Mutations",
2023
+ `third option should be "Do not show Somatic Mutations"`
2024
+ );
2025
+ test.equal(
2026
+ options2[3].innerText,
2027
+ "Show all Somatic Mutations",
2028
+ `fourth option should be "Show all Somatic Mutations"`
2029
+ );
2030
+ test.equal(options2.length, 4, `Should show four options`);
2031
+ const rects2 = await detectLst({
2032
+ elem: matrix.Inner.dom.seriesesG.node(),
2033
+ selector: ".sjpp-mass-series-g rect",
2034
+ count: 183,
2035
+ trigger: () => {
2036
+ options2[1].dispatchEvent(
2037
+ new MouseEvent("click", {
2038
+ bubbles: true,
2039
+ cancelable: true
2040
+ })
2041
+ );
2042
+ }
2043
+ });
2044
+ test.equal(
2045
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2046
+ 1,
2047
+ `should render the expected number of serieses`
2048
+ );
2049
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2050
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2051
+ );
2052
+ legendTexts3.dispatchEvent(
2053
+ new MouseEvent("mouseup", {
2054
+ bubbles: true,
2055
+ cancelable: true
2056
+ })
2057
+ );
2058
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2059
+ test.equal(
2060
+ options3[2].innerText,
2061
+ "Do not show Somatic Mutations",
2062
+ `third option should be "Do not show Somatic Mutations"`
2063
+ );
2064
+ test.equal(options3.length, 4, `Should show four options`);
2065
+ const rects3 = await detectLst({
2066
+ elem: matrix.Inner.dom.seriesesG.node(),
2067
+ selector: ".sjpp-mass-series-g rect",
2068
+ count: 180,
2069
+ trigger: () => {
2070
+ options3[2].dispatchEvent(
2071
+ new MouseEvent("click", {
2072
+ bubbles: true,
2073
+ cancelable: true
2074
+ })
2075
+ );
2076
+ }
2077
+ });
2078
+ test.equal(
2079
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2080
+ 1,
2081
+ `should render the expected number of serieses`
2082
+ );
2083
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2084
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2085
+ );
2086
+ legendTexts4.dispatchEvent(
2087
+ new MouseEvent("mouseup", {
2088
+ bubbles: true,
2089
+ cancelable: true
2090
+ })
2091
+ );
2092
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2093
+ test.equal(
2094
+ options4[0].innerText,
2095
+ "Show all Somatic Mutations",
2096
+ `first option should be "Show all Somatic Mutations"`
2097
+ );
2098
+ test.equal(options4.length, 1, `Should show one option`);
2099
+ const rects4 = await detectLst({
2100
+ elem: matrix.Inner.dom.seriesesG.node(),
2101
+ selector: ".sjpp-mass-series-g rect",
2102
+ count: 240,
2103
+ trigger: () => {
2104
+ options4[0].dispatchEvent(
2105
+ new MouseEvent("click", {
2106
+ bubbles: true,
2107
+ cancelable: true
2108
+ })
2109
+ );
2110
+ }
2111
+ });
2112
+ test.equal(
2113
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2114
+ 1,
2115
+ `should render the expected number of serieses`
2116
+ );
2117
+ if (test._ok) matrix.Inner.app.destroy();
2118
+ test.end();
2119
+ }
2120
+ });
2121
+ (0, import_tape.default)(
2122
+ "apply legend group filters and legend filters to a matrix with both geneVariant and dictionary terms",
2123
+ function(test) {
2124
+ test.timeoutAfter(5e3);
2125
+ test.plan(13);
2126
+ runpp({
2127
+ state: {
2128
+ plots: [
2129
+ {
2130
+ chartType: "matrix",
2131
+ settings: {
2132
+ // the matrix autocomputes the colw based on available screen width,
2133
+ // need to set an exact screen width for consistent tests using getBBox()
2134
+ matrix: {
2135
+ availContentWidth: 1200
2136
+ }
2137
+ },
2138
+ termgroups: [
2139
+ {
2140
+ name: "",
2141
+ lst: [
2142
+ ...getGenes(),
2143
+ { id: "agedx", term: termjson["agedx"] },
2144
+ { id: "diaggrp", term: termjson["diaggrp"] },
2145
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2146
+ ]
2147
+ }
2148
+ ]
2149
+ }
2150
+ ]
2151
+ },
2152
+ matrix: {
2153
+ callbacks: {
2154
+ "postRender.test": runTests
2155
+ }
2156
+ }
2157
+ });
2158
+ async function runTests(matrix) {
2159
+ matrix.on("postRender.test", null);
2160
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2161
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2162
+ );
2163
+ legendTexts.dispatchEvent(
2164
+ new MouseEvent("mouseup", {
2165
+ bubbles: true,
2166
+ cancelable: true
2167
+ })
2168
+ );
2169
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2170
+ test.equal(
2171
+ options[0].innerText,
2172
+ "Show only truncating mutations",
2173
+ `First option should be "Show only truncating mutations"`
2174
+ );
2175
+ test.equal(options.length, 3, `Should show three options`);
2176
+ const rects = await detectLst({
2177
+ elem: matrix.Inner.dom.seriesesG.node(),
2178
+ selector: ".sjpp-mass-series-g rect",
2179
+ count: 721,
2180
+ trigger: () => {
2181
+ options[0].dispatchEvent(
2182
+ new MouseEvent("click", {
2183
+ bubbles: true,
2184
+ cancelable: true
2185
+ })
2186
+ );
2187
+ }
2188
+ });
2189
+ test.equal(
2190
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2191
+ 6,
2192
+ `should render the expected number of serieses`
2193
+ );
2194
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2195
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2196
+ );
2197
+ legendTexts2.dispatchEvent(
2198
+ new MouseEvent("mouseup", {
2199
+ bubbles: true,
2200
+ cancelable: true
2201
+ })
2202
+ );
2203
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2204
+ test.equal(
2205
+ options2[1].innerText,
2206
+ "Show only protein-changing mutations",
2207
+ `second option should be "Show only protein-changing mutations"`
2208
+ );
2209
+ test.equal(
2210
+ options2[3].innerText,
2211
+ "Show all Somatic Mutations",
2212
+ `fourth option should be "Show all Somatic Mutations"`
2213
+ );
2214
+ test.equal(options2.length, 4, `Should show four options`);
2215
+ const rects2 = await detectLst({
2216
+ elem: matrix.Inner.dom.seriesesG.node(),
2217
+ selector: ".sjpp-mass-series-g rect",
2218
+ count: 724,
2219
+ trigger: () => {
2220
+ options2[1].dispatchEvent(
2221
+ new MouseEvent("click", {
2222
+ bubbles: true,
2223
+ cancelable: true
2224
+ })
2225
+ );
2226
+ }
2227
+ });
2228
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2229
+ (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2230
+ );
2231
+ legendTexts3.dispatchEvent(
2232
+ new MouseEvent("mouseup", {
2233
+ bubbles: true,
2234
+ cancelable: true
2235
+ })
2236
+ );
2237
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2238
+ test.equal(
2239
+ options3[0].innerText,
2240
+ "Hide samples with FRAMESHIFT",
2241
+ `First option should be "Hide samples with FRAMESHIFT"`
2242
+ );
2243
+ test.equal(options3[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
2244
+ const rects3 = await detectLst({
2245
+ elem: matrix.Inner.dom.seriesesG.node(),
2246
+ selector: ".sjpp-mass-series-g rect",
2247
+ count: 711,
2248
+ trigger: () => {
2249
+ options3[0].dispatchEvent(
2250
+ new MouseEvent("click", {
2251
+ bubbles: true,
2252
+ cancelable: true
2253
+ })
2254
+ );
2255
+ }
2256
+ });
2257
+ test.equal(
2258
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2259
+ 6,
2260
+ `should render the expected number of serieses`
2261
+ );
2262
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2263
+ (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2264
+ );
2265
+ legendTexts4.dispatchEvent(
2266
+ new MouseEvent("mouseup", {
2267
+ bubbles: true,
2268
+ cancelable: true
2269
+ })
2270
+ );
2271
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2272
+ test.equal(
2273
+ options4[0].innerText,
2274
+ "Show samples with FRAMESHIFT",
2275
+ `First option should be "Show samples with FRAMESHIFT"`
2276
+ );
2277
+ test.equal(options4.length, 1, `Should only show one option`);
2278
+ const rects4 = await detectLst({
2279
+ elem: matrix.Inner.dom.seriesesG.node(),
2280
+ selector: ".sjpp-mass-series-g rect",
2281
+ count: 724,
2282
+ trigger: () => {
2283
+ options4[0].dispatchEvent(
2284
+ new MouseEvent("click", {
2285
+ bubbles: true,
2286
+ cancelable: true
2287
+ })
2288
+ );
2289
+ }
2290
+ });
2291
+ const legendTexts5 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2292
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2293
+ );
2294
+ legendTexts5.dispatchEvent(
2295
+ new MouseEvent("mouseup", {
2296
+ bubbles: true,
2297
+ cancelable: true
2298
+ })
2299
+ );
2300
+ const options5 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2301
+ test.equal(
2302
+ options5[3].innerText,
2303
+ "Show all Somatic Mutations",
2304
+ `fourth option should be "Show all Somatic Mutations"`
2305
+ );
2306
+ test.equal(options5.length, 4, `Should show four options`);
2307
+ const rects5 = await detectLst({
2308
+ elem: matrix.Inner.dom.seriesesG.node(),
2309
+ selector: ".sjpp-mass-series-g rect",
2310
+ count: 900,
2311
+ trigger: () => {
2312
+ options5[3].dispatchEvent(
2313
+ new MouseEvent("click", {
2314
+ bubbles: true,
2315
+ cancelable: true
2316
+ })
2317
+ );
2318
+ }
2319
+ });
2320
+ if (test._ok) matrix.Inner.app.destroy();
2321
+ test.end();
2322
+ }
2323
+ }
2324
+ );
2325
+ (0, import_tape.default)("cell brush zoom in", function(test) {
2326
+ test.timeoutAfter(5e3);
2327
+ test.plan(1);
2328
+ runpp({
2329
+ state: {
2330
+ plots: [
2331
+ {
2332
+ chartType: "matrix",
2333
+ settings: {
2334
+ matrix: {
2335
+ // the matrix autocomputes the colw based on available screen width,
2336
+ // need to set an exact screen width for consistent tests using getBBox()
2337
+ availContentWidth: 300
2338
+ }
2339
+ },
2340
+ termgroups: [
2341
+ {
2342
+ name: "Demographics",
2343
+ lst: [
2344
+ {
2345
+ id: "aaclassic_5",
2346
+ q: {
2347
+ mode: "continuous"
2348
+ }
2349
+ },
2350
+ {
2351
+ id: "sex"
2352
+ //q: { mode: 'values' } // or 'groupsetting'
2353
+ },
2354
+ {
2355
+ id: "agedx",
2356
+ q: {
2357
+ mode: "discrete",
2358
+ type: "regular-bin",
2359
+ bin_size: 5,
2360
+ first_bin: {
2361
+ startunbounded: true,
2362
+ stop: 5,
2363
+ stopinclusive: true
2364
+ }
2365
+ }
2366
+ // or 'continuous'
2367
+ }
2368
+ ]
2369
+ }
2370
+ ]
2371
+ }
2372
+ ]
2373
+ },
2374
+ matrix: {
2375
+ callbacks: {
2376
+ "postRender.test": runTests
2377
+ }
2378
+ }
2379
+ });
2380
+ async function runTests(matrix) {
2381
+ matrix.on("postRender.test", null);
2382
+ const startCell = matrix.Inner.serieses[1].cells[10];
2383
+ const endCell = matrix.Inner.serieses[1].cells[14];
2384
+ matrix.Inner.clickedSeriesCell = {
2385
+ startCell,
2386
+ endCell
2387
+ };
2388
+ matrix.Inner.zoomWidth = Math.abs(startCell.totalIndex - endCell.totalIndex) * matrix.Inner.dimensions.colw;
2389
+ matrix.on("postRender.test", () => {
2390
+ matrix.on("postRender.test", null);
2391
+ test.deepEqual(matrix.Inner.settings.matrix.zoomLevel, 3.2, "should have the expected zoom level after zoom in");
2392
+ if (test._ok) matrix.Inner.app.destroy();
2393
+ test.end();
2394
+ });
2395
+ matrix.Inner.triggerZoomArea();
2396
+ }
2397
+ });
2398
+ (0, import_tape.default)("survival term in continous mode", function(test) {
2399
+ test.timeoutAfter(5e3);
2400
+ test.plan(2);
2401
+ runpp({
2402
+ state: {
2403
+ plots: [
2404
+ {
2405
+ chartType: "matrix",
2406
+ settings: {
2407
+ // the matrix autocomputes the colw based on available screen width,
2408
+ // need to set an exact screen width for consistent tests using getBBox()
2409
+ matrix: {
2410
+ availContentWidth: 1200
2411
+ }
2412
+ },
2413
+ termgroups: [
2414
+ {
2415
+ name: "",
2416
+ lst: [
2417
+ {
2418
+ term: {
2419
+ name: "Overall survival",
2420
+ type: "survival",
2421
+ isleaf: true,
2422
+ unit: "years",
2423
+ id: "os"
2424
+ },
2425
+ q: {
2426
+ mode: "continuous"
2427
+ }
2428
+ }
2429
+ ]
2430
+ }
2431
+ ]
2432
+ }
2433
+ ]
2434
+ },
2435
+ matrix: {
2436
+ callbacks: {
2437
+ "postRender.test": runTests
2438
+ }
2439
+ }
2440
+ });
2441
+ function runTests(matrix) {
2442
+ matrix.on("postRender.test", null);
2443
+ test.equal(
2444
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2445
+ 1,
2446
+ `should render the expected number of serieses`
2447
+ );
2448
+ test.equal(
2449
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2450
+ 60,
2451
+ `should render the expected number of cell rects`
2452
+ );
2453
+ if (test._ok) matrix.Inner.app.destroy();
2454
+ test.end();
2455
+ }
2456
+ });
2457
+ (0, import_tape.default)("survival term in discrete mode", function(test) {
2458
+ test.timeoutAfter(5e3);
2459
+ test.plan(2);
2460
+ runpp({
2461
+ state: {
2462
+ plots: [
2463
+ {
2464
+ chartType: "matrix",
2465
+ settings: {
2466
+ // the matrix autocomputes the colw based on available screen width,
2467
+ // need to set an exact screen width for consistent tests using getBBox()
2468
+ matrix: {
2469
+ availContentWidth: 1200
2470
+ }
2471
+ },
2472
+ termgroups: [
2473
+ {
2474
+ name: "",
2475
+ lst: [
2476
+ {
2477
+ term: {
2478
+ name: "Overall survival",
2479
+ type: "survival",
2480
+ isleaf: true,
2481
+ unit: "years",
2482
+ id: "os"
2483
+ },
2484
+ q: {
2485
+ mode: "continuous"
2486
+ }
2487
+ }
2488
+ ]
2489
+ }
2490
+ ]
2491
+ }
2492
+ ]
2493
+ },
2494
+ matrix: {
2495
+ callbacks: {
2496
+ "postRender.test": runTests
2497
+ }
2498
+ }
2499
+ });
2500
+ function runTests(matrix) {
2501
+ matrix.on("postRender.test", null);
2502
+ test.equal(
2503
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2504
+ 1,
2505
+ `should render the expected number of serieses`
2506
+ );
2507
+ test.equal(
2508
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2509
+ 60,
2510
+ `should render the expected number of cell rects`
2511
+ );
2512
+ if (test._ok) matrix.Inner.app.destroy();
2513
+ test.end();
2514
+ }
2515
+ });
2516
+ (0, import_tape.default)("survival term with divide by dictionary term", function(test) {
2517
+ test.timeoutAfter(5e3);
2518
+ test.plan(3);
2519
+ runpp({
2520
+ state: {
2521
+ plots: [
2522
+ {
2523
+ chartType: "matrix",
2524
+ settings: {
2525
+ // the matrix autocomputes the colw based on available screen width,
2526
+ // need to set an exact screen width for consistent tests using getBBox()
2527
+ matrix: {
2528
+ availContentWidth: 1200
2529
+ }
2530
+ },
2531
+ divideBy: {
2532
+ id: "sex"
2533
+ },
2534
+ termgroups: [
2535
+ {
2536
+ name: "",
2537
+ lst: [
2538
+ {
2539
+ term: {
2540
+ name: "Overall survival",
2541
+ type: "survival",
2542
+ isleaf: true,
2543
+ unit: "years",
2544
+ id: "os"
2545
+ },
2546
+ q: {
2547
+ mode: "continuous"
2548
+ }
2549
+ }
2550
+ ]
2551
+ }
2552
+ ]
2553
+ }
2554
+ ]
2555
+ },
2556
+ matrix: {
2557
+ callbacks: {
2558
+ "postRender.test": runTests
2559
+ }
2560
+ }
2561
+ });
2562
+ function runTests(matrix) {
2563
+ matrix.on("postRender.test", null);
2564
+ test.equal(
2565
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2566
+ 1,
2567
+ `should render the expected number of serieses`
2568
+ );
2569
+ test.equal(
2570
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2571
+ 60,
2572
+ `should render the expected number of cell rects`
2573
+ );
2574
+ test.equal(
2575
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2576
+ 2,
2577
+ `should render the expected number of cluster rects`
2578
+ );
2579
+ if (test._ok) matrix.Inner.app.destroy();
2580
+ test.end();
2581
+ }
2582
+ });
2583
+ (0, import_tape.default)("dictionary term with divide by survival term", function(test) {
2584
+ test.timeoutAfter(5e3);
2585
+ test.plan(3);
2586
+ runpp({
2587
+ state: {
2588
+ plots: [
2589
+ {
2590
+ chartType: "matrix",
2591
+ settings: {
2592
+ // the matrix autocomputes the colw based on available screen width,
2593
+ // need to set an exact screen width for consistent tests using getBBox()
2594
+ matrix: {
2595
+ availContentWidth: 1200
2596
+ }
2597
+ },
2598
+ divideBy: {
2599
+ id: "os"
2600
+ },
2601
+ termgroups: [
2602
+ {
2603
+ name: "Demographics",
2604
+ lst: [
2605
+ { id: "agedx", term: termjson["agedx"] },
2606
+ { id: "diaggrp", term: termjson["diaggrp"] },
2607
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2608
+ ]
2609
+ }
2610
+ ]
2611
+ }
2612
+ ]
2613
+ },
2614
+ matrix: {
2615
+ callbacks: {
2616
+ "postRender.test": runTests
2617
+ }
2618
+ }
2619
+ });
2620
+ function runTests(matrix) {
2621
+ matrix.on("postRender.test", null);
2622
+ test.equal(
2623
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2624
+ 3,
2625
+ `should render the expected number of serieses`
2626
+ );
2627
+ test.equal(
2628
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2629
+ 180,
2630
+ `should render the expected number of cell rects`
2631
+ );
2632
+ test.equal(
2633
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2634
+ 2,
2635
+ `should render the expected number of cluster rects`
2636
+ );
2637
+ if (test._ok) matrix.Inner.app.destroy();
2638
+ test.end();
2639
+ }
2640
+ });
2641
+ (0, import_tape.default)('apply "hide" and "show" legend filters to a survival term', function(test) {
2642
+ test.timeoutAfter(5e3);
2643
+ test.plan(10);
2644
+ runpp({
2645
+ state: {
2646
+ plots: [
2647
+ {
2648
+ chartType: "matrix",
2649
+ settings: {
2650
+ matrix: {
2651
+ // the matrix autocomputes the colw based on available screen width,
2652
+ // need to set an exact screen width for consistent tests using getBBox()
2653
+ availContentWidth: 1200
2654
+ }
2655
+ },
2656
+ termgroups: [
2657
+ {
2658
+ name: "",
2659
+ lst: [
2660
+ {
2661
+ id: "aaclassic_5",
2662
+ q: {
2663
+ mode: "continuous"
2664
+ }
2665
+ },
2666
+ {
2667
+ id: "genetic_race"
2668
+ //q: { mode: 'values' } // or 'groupsetting'
2669
+ },
2670
+ {
2671
+ id: "agedx",
2672
+ q: {
2673
+ mode: "discrete",
2674
+ type: "regular-bin",
2675
+ bin_size: 5,
2676
+ first_bin: {
2677
+ startunbounded: true,
2678
+ stop: 5,
2679
+ stopinclusive: true
2680
+ }
2681
+ }
2682
+ },
2683
+ {
2684
+ term: {
2685
+ name: "Overall survival",
2686
+ type: "survival",
2687
+ isleaf: true,
2688
+ unit: "years",
2689
+ id: "os"
2690
+ }
2691
+ }
2692
+ ]
2693
+ }
2694
+ ]
2695
+ }
2696
+ ]
2697
+ },
2698
+ matrix: {
2699
+ callbacks: {
2700
+ "postRender.test": runTests
2701
+ }
2702
+ }
2703
+ });
2704
+ async function runTests(matrix) {
2705
+ matrix.on("postRender.test", null);
2706
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2707
+ (d) => d?.__data__?.text?.startsWith("Alive")
2708
+ );
2709
+ legendTexts.dispatchEvent(
2710
+ new MouseEvent("mouseup", {
2711
+ bubbles: true,
2712
+ cancelable: true
2713
+ })
2714
+ );
2715
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2716
+ test.equal(options[0].innerText, "Hide", `First option should be Hide`);
2717
+ test.equal(options[1].innerText, "Show only", `second option should be Show only`);
2718
+ test.equal(options[2].innerText, "Show all", `third option should be Show all`);
2719
+ const rects = await detectLst({
2720
+ elem: matrix.Inner.dom.seriesesG.node(),
2721
+ selector: ".sjpp-mass-series-g rect",
2722
+ count: 228,
2723
+ trigger: () => {
2724
+ options[0].dispatchEvent(
2725
+ new MouseEvent("click", {
2726
+ bubbles: true,
2727
+ cancelable: true
2728
+ })
2729
+ );
2730
+ }
2731
+ });
2732
+ test.equal(
2733
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2734
+ 4,
2735
+ `should render the expected number of serieses`
2736
+ );
2737
+ test.equal(
2738
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2739
+ 1,
2740
+ `should render the expected number of cluster rects`
2741
+ );
2742
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2743
+ (d) => d?.__data__?.text?.startsWith("Alive")
2744
+ );
2745
+ legendTexts2.dispatchEvent(
2746
+ new MouseEvent("mouseup", {
2747
+ bubbles: true,
2748
+ cancelable: true
2749
+ })
2750
+ );
2751
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2752
+ test.equal(options2[0].innerText, "Show", `First option should be Show`);
2753
+ test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
2754
+ test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
2755
+ const rects2 = await detectLst({
2756
+ elem: matrix.Inner.dom.seriesesG.node(),
2757
+ selector: ".sjpp-mass-series-g rect",
2758
+ count: 240,
2759
+ trigger: () => {
2760
+ options2[0].dispatchEvent(
2761
+ new MouseEvent("click", {
2762
+ bubbles: true,
2763
+ cancelable: true
2764
+ })
2765
+ );
2766
+ }
2767
+ });
2768
+ test.equal(
2769
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2770
+ 4,
2771
+ `should render the expected number of serieses`
2772
+ );
2773
+ test.equal(
2774
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2775
+ 1,
2776
+ `should render the expected number of cluster rects`
2777
+ );
2778
+ if (test._ok) matrix.Inner.app.destroy();
2779
+ test.end();
2780
+ }
2781
+ });
2782
+ (0, import_tape.default)('apply "show only" and "show all" legend filters to a survival terms', function(test) {
2783
+ test.timeoutAfter(5e3);
2784
+ test.plan(14);
2785
+ runpp({
2786
+ state: {
2787
+ plots: [
2788
+ {
2789
+ chartType: "matrix",
2790
+ settings: {
2791
+ matrix: {
2792
+ // the matrix autocomputes the colw based on available screen width,
2793
+ // need to set an exact screen width for consistent tests using getBBox()
2794
+ availContentWidth: 1200
2795
+ }
2796
+ },
2797
+ termgroups: [
2798
+ {
2799
+ name: "",
2800
+ lst: [
2801
+ {
2802
+ id: "aaclassic_5",
2803
+ q: {
2804
+ mode: "continuous"
2805
+ }
2806
+ },
2807
+ {
2808
+ id: "genetic_race"
2809
+ //q: { mode: 'values' } // or 'groupsetting'
2810
+ },
2811
+ {
2812
+ id: "agedx",
2813
+ q: {
2814
+ mode: "discrete",
2815
+ type: "regular-bin",
2816
+ bin_size: 5,
2817
+ first_bin: {
2818
+ startunbounded: true,
2819
+ stop: 5,
2820
+ stopinclusive: true
2821
+ }
2822
+ }
2823
+ },
2824
+ {
2825
+ term: {
2826
+ name: "Overall survival",
2827
+ type: "survival",
2828
+ isleaf: true,
2829
+ unit: "years",
2830
+ id: "os"
2831
+ }
2832
+ }
2833
+ ]
2834
+ }
2835
+ ]
2836
+ }
2837
+ ]
2838
+ },
2839
+ matrix: {
2840
+ callbacks: {
2841
+ "postRender.test": runTests
2842
+ }
2843
+ }
2844
+ });
2845
+ async function runTests(matrix) {
2846
+ matrix.on("postRender.test", null);
2847
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2848
+ (d) => d?.__data__?.text?.startsWith("Alive")
2849
+ );
2850
+ legendTexts.dispatchEvent(
2851
+ new MouseEvent("mouseup", {
2852
+ bubbles: true,
2853
+ cancelable: true
2854
+ })
2855
+ );
2856
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2857
+ const rects = await detectLst({
2858
+ elem: matrix.Inner.dom.seriesesG.node(),
2859
+ selector: ".sjpp-mass-series-g rect",
2860
+ count: 12,
2861
+ trigger: () => {
2862
+ options[1].dispatchEvent(
2863
+ new MouseEvent("click", {
2864
+ bubbles: true,
2865
+ cancelable: true
2866
+ })
2867
+ );
2868
+ }
2869
+ });
2870
+ test.equal(
2871
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2872
+ 4,
2873
+ `should render the expected number of serieses`
2874
+ );
2875
+ test.equal(
2876
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2877
+ 1,
2878
+ `should render the expected number of cluster rects`
2879
+ );
2880
+ const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2881
+ (d) => d?.__data__?.text?.startsWith("<5")
2882
+ );
2883
+ secondLegendTexts.dispatchEvent(
2884
+ new MouseEvent("mouseup", {
2885
+ bubbles: true,
2886
+ cancelable: true
2887
+ })
2888
+ );
2889
+ const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2890
+ test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
2891
+ test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
2892
+ test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
2893
+ const secondRects = await detectLst({
2894
+ elem: matrix.Inner.dom.seriesesG.node(),
2895
+ selector: ".sjpp-mass-series-g rect",
2896
+ count: 4,
2897
+ trigger: () => {
2898
+ secondOptions[1].dispatchEvent(
2899
+ new MouseEvent("click", {
2900
+ bubbles: true,
2901
+ cancelable: true
2902
+ })
2903
+ );
2904
+ }
2905
+ });
2906
+ test.equal(
2907
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2908
+ 4,
2909
+ `should render the expected number of serieses`
2910
+ );
2911
+ test.equal(
2912
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2913
+ 1,
2914
+ `should render the expected number of cluster rects`
2915
+ );
2916
+ const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2917
+ (d) => d?.__data__?.text?.startsWith("<5")
2918
+ );
2919
+ thirdLegendTexts.dispatchEvent(
2920
+ new MouseEvent("mouseup", {
2921
+ bubbles: true,
2922
+ cancelable: true
2923
+ })
2924
+ );
2925
+ const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2926
+ test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
2927
+ test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
2928
+ const thirdRects = await detectLst({
2929
+ elem: matrix.Inner.dom.seriesesG.node(),
2930
+ selector: ".sjpp-mass-series-g rect",
2931
+ count: 12,
2932
+ trigger: () => {
2933
+ thirdOptions[2].dispatchEvent(
2934
+ new MouseEvent("click", {
2935
+ bubbles: true,
2936
+ cancelable: true
2937
+ })
2938
+ );
2939
+ }
2940
+ });
2941
+ test.equal(
2942
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2943
+ 4,
2944
+ `should render the expected number of serieses`
2945
+ );
2946
+ const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2947
+ (d) => d?.__data__?.text?.startsWith("Alive")
2948
+ );
2949
+ fourthLegendTexts.dispatchEvent(
2950
+ new MouseEvent("mouseup", {
2951
+ bubbles: true,
2952
+ cancelable: true
2953
+ })
2954
+ );
2955
+ const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2956
+ test.equal(fourthOptions[0].innerText, "Hide", `first option should be Hide`);
2957
+ test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
2958
+ const fourthRects = await detectLst({
2959
+ elem: matrix.Inner.dom.seriesesG.node(),
2960
+ selector: ".sjpp-mass-series-g rect",
2961
+ count: 240,
2962
+ trigger: () => {
2963
+ fourthOptions[2].dispatchEvent(
2964
+ new MouseEvent("click", {
2965
+ bubbles: true,
2966
+ cancelable: true
2967
+ })
2968
+ );
2969
+ }
2970
+ });
2971
+ test.equal(
2972
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2973
+ 4,
2974
+ `should render the expected number of serieses`
2975
+ );
2976
+ test.equal(
2977
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2978
+ 1,
2979
+ `should render the expected number of cluster rects`
2980
+ );
2981
+ if (test._ok) matrix.Inner.app.destroy();
2982
+ test.end();
2983
+ }
2984
+ });
2985
+ var runpp = getRunPp("mass", {
2986
+ state: {
2987
+ dslabel: "TermdbTest",
2988
+ genome: "hg38-test",
2989
+ nav: { activeTab: -1 }
2990
+ },
2991
+ debug: 1
2992
+ });
2993
+ function getGenes() {
2994
+ return [
2995
+ { term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } },
2996
+ { term: { gene: "KRAS", name: "KRAS", type: "geneVariant", isleaf: true } },
2997
+ { term: { gene: "AKT1", name: "AKT1", type: "geneVariant", isleaf: true } }
2998
+ ];
2999
+ }
3000
+ function getTermCollection() {
3001
+ return {
3002
+ //isAtomic: true,
3003
+ type: "TermCollectionTWCont",
3004
+ //$id: 'TwBase_0__48243_99155',
3005
+ term: {
3006
+ type: "termCollection",
3007
+ termlst: [
3008
+ {
3009
+ type: "float",
3010
+ bins: {
3011
+ default: {
3012
+ type: "regular-bin",
3013
+ bin_size: 5,
3014
+ startinclusive: true,
3015
+ first_bin: { startunbounded: true, stop: 5 }
3016
+ },
3017
+ label_offset: 1
3018
+ },
3019
+ name: "Age (years) at Cancer Diagnosis",
3020
+ id: "agedx",
3021
+ isleaf: true,
3022
+ values: {},
3023
+ hashtmldetail: true
3024
+ },
3025
+ {
3026
+ type: "float",
3027
+ bins: {
3028
+ default: {
3029
+ type: "regular-bin",
3030
+ startinclusive: true,
3031
+ bin_size: 5,
3032
+ first_bin: { stop: 25 },
3033
+ last_bin: { start: 55 }
3034
+ }
3035
+ },
3036
+ name: "Age (years) at Death",
3037
+ id: "a_death",
3038
+ isleaf: true,
3039
+ values: {},
3040
+ hashtmldetail: true
3041
+ },
3042
+ {
3043
+ type: "float",
3044
+ bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3045
+ name: "Age (years) at Last NDI Search",
3046
+ id: "a_ndi",
3047
+ isleaf: true,
3048
+ values: {}
3049
+ },
3050
+ {
3051
+ type: "float",
3052
+ bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3053
+ values: { "-994": { label: "N/A: No campus visit", uncomputable: true } },
3054
+ name: "Age at last ABC assessment",
3055
+ id: "agelastvisit",
3056
+ isleaf: true
3057
+ }
3058
+ ],
3059
+ name: "Fake Collection 1",
3060
+ isleaf: true,
3061
+ propsByTermId: {
3062
+ agedx: { color: "#1b9e77" },
3063
+ a_death: { color: "#d95f02" },
3064
+ a_ndi: { color: "#7570b3" },
3065
+ agelastvisit: { color: "#e7298a" }
3066
+ }
3067
+ },
3068
+ q: { isAtomic: true, mode: "continuous", lst: [] }
3069
+ };
3070
+ }
3071
+ //# sourceMappingURL=matrix.integration.spec-JCZ5VQJU.js.map