@sjcrh/proteinpaint-client 2.185.0 → 2.186.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 (848) hide show
  1. package/dist/2dmaf-F5QNP7AQ.js +1371 -0
  2. package/dist/AIProjectAdmin-ROSQHK6Q.js +827 -0
  3. package/dist/AIProjectAdmin-ROSQHK6Q.js.map +7 -0
  4. package/dist/AppHeader-STVCDLET.js +833 -0
  5. package/dist/BoxPlot-CU7MEBH7.js +1217 -0
  6. package/dist/CorrelationVolcano-OE4R2GS3.js +617 -0
  7. package/dist/DE-SR7PJPKI.js +93 -0
  8. package/dist/DEinput-PRIAIBFH.js +299 -0
  9. package/dist/DEinput-PRIAIBFH.js.map +7 -0
  10. package/dist/DifferentialAnalysis-UWTYK7NU.js +241 -0
  11. package/dist/Disco-IL6REGSA.js +3235 -0
  12. package/dist/Disco.UI-JHHLS5BA.js +242 -0
  13. package/dist/DmrPlot-DDP53T3F.js +640 -0
  14. package/dist/GB-F4LMYMHF.js +1127 -0
  15. package/dist/GB-F4LMYMHF.js.map +7 -0
  16. package/dist/GeneExpInput-ZWBC226P.js +363 -0
  17. package/dist/GeneExpInput-ZWBC226P.js.map +7 -0
  18. package/dist/HicApp-RVFHTYED.js +2248 -0
  19. package/dist/NumBinaryEditor-B3FXQAOH.js +268 -0
  20. package/dist/NumBinaryEditor.unit.spec-75YQJ2U6.js +284 -0
  21. package/dist/NumContEditor-5PYW3OLY.js +105 -0
  22. package/dist/NumContEditor.unit.spec-F7ZRDGBN.js +167 -0
  23. package/dist/NumCustomBinEditor-TBT6GLYQ.js +36 -0
  24. package/dist/NumCustomBinEditor.unit.spec-6YHU45XV.js +282 -0
  25. package/dist/NumDiscreteEditor-N6OJYSJA.js +177 -0
  26. package/dist/NumDiscreteEditor.unit.spec-HQS5RZ6R.js +200 -0
  27. package/dist/NumRegularBinEditor-HSDDKVNG.js +36 -0
  28. package/dist/NumRegularBinEditor.unit.spec-33KN2MVM.js +225 -0
  29. package/dist/NumSplineEditor-XERKOACS.js +190 -0
  30. package/dist/NumSplineEditor.unit.spec-MPVM6KSC.js +197 -0
  31. package/dist/NumericDensity-35EKYW3V.js +36 -0
  32. package/dist/NumericDensity.unit.spec-OR24PPRJ.js +219 -0
  33. package/dist/NumericHandler-D6ZNGRE3.js +37 -0
  34. package/dist/NumericHandler.unit.spec-EKPGVSXI.js +217 -0
  35. package/dist/RunChart2-7DOXOFXV.js +756 -0
  36. package/dist/SC-APZRV4H6.js +826 -0
  37. package/dist/SC-APZRV4H6.js.map +7 -0
  38. package/dist/Volcano-X4ZWK644.js +1344 -0
  39. package/dist/Volcano-X4ZWK644.js.map +7 -0
  40. package/dist/WSIViewer-E247ELKN.js +47971 -0
  41. package/dist/WsiSamplesPlot-3522VRB5.js +163 -0
  42. package/dist/adSandbox-IDFY5P2P.js +36 -0
  43. package/dist/alphaGenome-F3W7GJQ5.js +173 -0
  44. package/dist/app-2HDSFMRM.js +47 -0
  45. package/dist/app-LIWPFL7C.js +35 -0
  46. package/dist/app.js +10 -10
  47. package/dist/bam-TBHHSATL.js +857 -0
  48. package/dist/barchart-HHFCBOZE.js +45 -0
  49. package/dist/barchart.events-UQUSSRXB.js +45 -0
  50. package/dist/barchart.integration.spec-OF3MWFQ5.js +1675 -0
  51. package/dist/barchart2-XRMPCBBU.js +309 -0
  52. package/dist/block-5UEORHFB.js +6200 -0
  53. package/dist/block.init-QSSFUVIT.js +36 -0
  54. package/dist/block.mds.expressionrank-VBIIJHQF.js +357 -0
  55. package/dist/block.mds.geneboxplot-KSBHXBNX.js +826 -0
  56. package/dist/block.mds.junction-FWZWMZJ2.js +1543 -0
  57. package/dist/block.mds.svcnv-UXORVLH2.js +6799 -0
  58. package/dist/block.svg-6KIGW4QH.js +162 -0
  59. package/dist/block.tk.aicheck-DK566Q4C.js +281 -0
  60. package/dist/block.tk.ase-2GB2VJJ6.js +363 -0
  61. package/dist/block.tk.bam-RQNOLY52.js +1904 -0
  62. package/dist/block.tk.bedgraphdot-N4YMZFO4.js +382 -0
  63. package/dist/block.tk.bigwig.ui-4S7L7D7D.js +209 -0
  64. package/dist/block.tk.hicstraw-AHFNQKCS.js +821 -0
  65. package/dist/block.tk.junction-7E6SNQMQ.js +2362 -0
  66. package/dist/block.tk.junction.textmatrixui-3C5JVYX5.js +197 -0
  67. package/dist/block.tk.ld-TOUCLT3W.js +97 -0
  68. package/dist/block.tk.menu-JCV5ORD6.js +1027 -0
  69. package/dist/block.tk.pgv-CUU22U6M.js +942 -0
  70. package/dist/brainImaging-MTQTXNNL.js +421 -0
  71. package/dist/chunk-2UYBBUXK.js +293 -0
  72. package/dist/chunk-2VPEFXEJ.js +4207 -0
  73. package/dist/chunk-2YC6ZVE4.js +20377 -0
  74. package/dist/chunk-2YC6ZVE4.js.map +7 -0
  75. package/dist/chunk-37MD3Y5G.js +1230 -0
  76. package/dist/chunk-37MD3Y5G.js.map +7 -0
  77. package/dist/chunk-3QHIL3V3.js +55 -0
  78. package/dist/chunk-44VXWKYJ.js +129 -0
  79. package/dist/chunk-52D6EGUS.js +95 -0
  80. package/dist/chunk-5FHM3L4I.js +102 -0
  81. package/dist/chunk-62TF2MCH.js +142 -0
  82. package/dist/chunk-67QM2NUK.js +6364 -0
  83. package/dist/chunk-6AAPHEWK.js +676 -0
  84. package/dist/chunk-6KPGMUHS.js +153 -0
  85. package/dist/chunk-6WBIZXNI.js +455 -0
  86. package/dist/chunk-7AAJVXEG.js +302 -0
  87. package/dist/chunk-AFJRAR4N.js +1271 -0
  88. package/dist/chunk-BBNO6JLO.js +200 -0
  89. package/dist/chunk-BBNO6JLO.js.map +7 -0
  90. package/dist/chunk-CVRYZMDE.js +148 -0
  91. package/dist/chunk-DGUTCYH2.js +276 -0
  92. package/dist/chunk-DHNXATHC.js +158 -0
  93. package/dist/chunk-DXHATYHE.js +180 -0
  94. package/dist/chunk-DXHATYHE.js.map +7 -0
  95. package/dist/chunk-E3BI23UK.js +229 -0
  96. package/dist/chunk-E4JDHA3C.js +621 -0
  97. package/dist/chunk-FOJWYEGV.js +228 -0
  98. package/dist/chunk-FTN7Y34O.js +158 -0
  99. package/dist/chunk-GAOUV4ID.js +1943 -0
  100. package/dist/chunk-GAOUV4ID.js.map +7 -0
  101. package/dist/chunk-GRG5MMPN.js +2815 -0
  102. package/dist/chunk-GSU4PZN3.js +482 -0
  103. package/dist/chunk-I55NLUCQ.js +1823 -0
  104. package/dist/chunk-I55NLUCQ.js.map +7 -0
  105. package/dist/chunk-IIRU2JLK.js +217 -0
  106. package/dist/chunk-JCB74ZSK.js +272 -0
  107. package/dist/chunk-JUDWPYMA.js +824 -0
  108. package/dist/chunk-KT6VZBC7.js +1087 -0
  109. package/dist/chunk-L2HBHFTK.js +2370 -0
  110. package/dist/chunk-LKADRF3Q.js +368 -0
  111. package/dist/chunk-MAXFRUGM.js +407 -0
  112. package/dist/chunk-MQN7RYCK.js +37 -0
  113. package/dist/chunk-OEUI4CYZ.js +470 -0
  114. package/dist/chunk-OM36XUQL.js +34 -0
  115. package/dist/chunk-P5LNIH5X.js +54 -0
  116. package/dist/chunk-PG62PRMF.js +102 -0
  117. package/dist/chunk-Q3J3F2NU.js +205 -0
  118. package/dist/chunk-RYCOJY7M.js +188 -0
  119. package/dist/chunk-RYCOJY7M.js.map +7 -0
  120. package/dist/chunk-RZBV6474.js +117 -0
  121. package/dist/chunk-T5V4OC27.js +442 -0
  122. package/dist/chunk-TXJG4N6S.js +4992 -0
  123. package/dist/chunk-TXJG4N6S.js.map +7 -0
  124. package/dist/chunk-UCKSUNSJ.js +335 -0
  125. package/dist/chunk-W4TLYHZO.js +514 -0
  126. package/dist/chunk-WPZUXKIB.js +56 -0
  127. package/dist/chunk-XM47XD6G.js +215 -0
  128. package/dist/chunk-XVA3UOWD.js +263 -0
  129. package/dist/chunk-XVA3UOWD.js.map +7 -0
  130. package/dist/chunk-YIMRBXQK.js +1210 -0
  131. package/dist/chunk-YIMRBXQK.js.map +7 -0
  132. package/dist/chunk-YL7VT4QT.js +1159 -0
  133. package/dist/chunk-YL7VT4QT.js.map +7 -0
  134. package/dist/chunk-YWBUK4B7.js +291 -0
  135. package/dist/chunk-YWBUK4B7.js.map +7 -0
  136. package/dist/chunk-YZHGLSKQ.js +50 -0
  137. package/dist/chunk-ZGOOZK3I.js +203 -0
  138. package/dist/chunk-ZH2VP6Q6.js +95 -0
  139. package/dist/chunk-ZLOQXO5K.js +14 -0
  140. package/dist/chunk-ZMNDBPJU.js +100 -0
  141. package/dist/chunk-ZRTW6X3F.js +2784 -0
  142. package/dist/chunk-ZTT52MBP.js +2681 -0
  143. package/dist/condition-VUACUQYF.js +330 -0
  144. package/dist/controls-N4MPSNO4.js +39 -0
  145. package/dist/controls.config-PRXVODCM.js +37 -0
  146. package/dist/correlation-QJZUYDFH.js +96 -0
  147. package/dist/cuminc-JJHXW55V.js +1147 -0
  148. package/dist/cuminc.integration.spec-IXS2UO2O.js +676 -0
  149. package/dist/customdata.inputui-DUHO6M6I.js +287 -0
  150. package/dist/dataDownload-OFB7TYDB.js +328 -0
  151. package/dist/dataDownload.integration.spec-4HWDQO4C.js +191 -0
  152. package/dist/databrowser.ui-FGZ5SWG3.js +430 -0
  153. package/dist/databrowser.ui-FGZ5SWG3.js.map +7 -0
  154. package/dist/dictionary-BSKN37CP.js +109 -0
  155. package/dist/dnaMethylation-5QNEEGC6.js +36 -0
  156. package/dist/dnaMethylation.integration.spec-YIX3JSA7.js +201 -0
  157. package/dist/dofetch-KFMGQY7G.js +50 -0
  158. package/dist/e2pca-VX42HDYZ.js +348 -0
  159. package/dist/ep-B6ZNETLI.js +1254 -0
  160. package/dist/expclust.gdc.spec-SGECIILQ.js +305 -0
  161. package/dist/facet-2W5SBPGP.js +519 -0
  162. package/dist/gb-67KTSE2W.js +86 -0
  163. package/dist/gb-67KTSE2W.js.map +7 -0
  164. package/dist/geneExpClustering-6A7364T5.js +247 -0
  165. package/dist/geneExpression-NAM2UEYN.js +36 -0
  166. package/dist/geneExpression-WF56ODMZ.js +312 -0
  167. package/dist/geneExpression.unit.spec-DNE2T3WI.js +100 -0
  168. package/dist/geneORA-33FK2YOS.js +276 -0
  169. package/dist/geneVariant-C7PCNBOQ.js +37 -0
  170. package/dist/geneVariant-REELFRRA.js +39 -0
  171. package/dist/geneVariant.integration.spec-GNXUGDKL.js +196 -0
  172. package/dist/genefusion.ui-WO5EPJDS.js +306 -0
  173. package/dist/geneset-4C6ZLVMN.js +201 -0
  174. package/dist/geneset-4C6ZLVMN.js.map +7 -0
  175. package/dist/genomeBrowser.spec-VPAKTUJF.js +279 -0
  176. package/dist/grin2-AJFEBD43.js +852 -0
  177. package/dist/grin2-AJFEBD43.js.map +7 -0
  178. package/dist/grin2-GYHUYNEF.js +1554 -0
  179. package/dist/gsea-PE5WZ5ZI.js +45 -0
  180. package/dist/hierCluster-FH6YJHRT.js +61 -0
  181. package/dist/hierCluster-IFM5I5QN.js +57 -0
  182. package/dist/hierCluster.config-M57ZIWMB.js +38 -0
  183. package/dist/hierCluster.integration.spec-Z64RL7MC.js +393 -0
  184. package/dist/hierCluster.interactivity-CDBAJXOY.js +52 -0
  185. package/dist/imagePlot-NFEE6IGV.js +161 -0
  186. package/dist/imagePlot-NFEE6IGV.js.map +7 -0
  187. package/dist/importPlot-OWKXSK77.js +8 -0
  188. package/dist/isoformExpression-66XLJG73.js +38 -0
  189. package/dist/isoformExpression.unit.spec-QJX2IRHL.js +206 -0
  190. package/dist/launch.adhoc-JCWID253.js +40 -0
  191. package/dist/leftlabel.sample-5NZ6VQDN.js +257 -0
  192. package/dist/lollipop-BPFDEM2R.js +169 -0
  193. package/dist/lollipop-BPFDEM2R.js.map +7 -0
  194. package/dist/maf-HIS2FQXK.js +450 -0
  195. package/dist/maftimeline-UPJJQE23.js +591 -0
  196. package/dist/matrix-62CN2KXR.js +56 -0
  197. package/dist/matrix-SPEDEB3J.js +61 -0
  198. package/dist/matrix.config-XB6WFXUY.js +39 -0
  199. package/dist/matrix.integration.spec-NN7OR5XM.js +3070 -0
  200. package/dist/matrix.interactivity-OWMHUJCX.js +40 -0
  201. package/dist/matrix.layout-27QB6MWK.js +42 -0
  202. package/dist/matrix.renderers-EPXES5E4.js +36 -0
  203. package/dist/matrix.sort.unit.spec-NBT5FSZ6.js +470 -0
  204. package/dist/matrix.sorterUi.unit.spec-QKGUE4RR.js +340 -0
  205. package/dist/mavb-M7Y74OWQ.js +730 -0
  206. package/dist/mds.fimo-WCDFA7HG.js +516 -0
  207. package/dist/mds.samplescatterplot-ZDHQ3MKJ.js +1548 -0
  208. package/dist/mds.survivalplot-R74DL2RA.js +481 -0
  209. package/dist/oncomatrix-MOITJBII.js +293 -0
  210. package/dist/oncomatrix.spec-NALJBPYS.js +446 -0
  211. package/dist/plot.2dvaf-IE2EZEFA.js +375 -0
  212. package/dist/plot.app-HTW6TZEH.js +39 -0
  213. package/dist/plot.barplot-NCQEPEOY.js +100 -0
  214. package/dist/plot.boxplot-WNKVBVJJ.js +150 -0
  215. package/dist/plot.brainImaging-2Z3TOO6J.js +51 -0
  216. package/dist/plot.disco-4JAEIAYK.js +101 -0
  217. package/dist/plot.dzi-ZGLOVJJN.js +33 -0
  218. package/dist/plot.ssgq-IHUILM43.js +137 -0
  219. package/dist/plot.vaf2cov-ZYCQMD27.js +257 -0
  220. package/dist/plot.wsi-3GISVBDH.js +36 -0
  221. package/dist/polar-4AUAZHBV.js +184 -0
  222. package/dist/polar2-SRD4WWXU.js +226 -0
  223. package/dist/profile.spec-TOITKBBZ.js +78 -0
  224. package/dist/profileBarchart-Z4SYIYBE.js +265 -0
  225. package/dist/profileForms-RA7XQ2QT.js +438 -0
  226. package/dist/profilePlot-4BM3XZVK.js +52 -0
  227. package/dist/profileRadar-EYBESEPI.js +261 -0
  228. package/dist/profileRadarFacility-FZYTFM26.js +261 -0
  229. package/dist/proteinView-F6XKT2A5.js +1122 -0
  230. package/dist/proteinView-F6XKT2A5.js.map +7 -0
  231. package/dist/proteomeAbundance-3RJMRXYI.js +68 -0
  232. package/dist/proteomeAbundance-3RJMRXYI.js.map +7 -0
  233. package/dist/proteomeAbundance-65R6M4YQ.js +21 -0
  234. package/dist/qualitative-E7WL6DN4.js +41 -0
  235. package/dist/radar2-I6FN5SUX.js +314 -0
  236. package/dist/radarFacility2-GVK7PT3V.js +323 -0
  237. package/dist/regression-TIR5D354.js +54 -0
  238. package/dist/regression.inputs-2AMJCJ3L.js +46 -0
  239. package/dist/regression.inputs.term-D6D2QEUB.js +46 -0
  240. package/dist/regression.inputs.values.table-M3IPLGDJ.js +43 -0
  241. package/dist/regression.integration.spec-ROUSXLMH.js +782 -0
  242. package/dist/regression.results-YD5S74YS.js +38 -0
  243. package/dist/regression.spec-4OXBBTNO.js +706 -0
  244. package/dist/report-ETNALKTY.js +220 -0
  245. package/dist/sampleScatter.spec-LECMFMI2.js +200 -0
  246. package/dist/sampleView-B5TM7JOW.js +46 -0
  247. package/dist/samplelst-GFQCG4SS.js +109 -0
  248. package/dist/samplematrix-OMTNWCJK.js +2196 -0
  249. package/dist/sc-MIEEZBWG.js +84 -0
  250. package/dist/scatter-ETOZ722F.js +800 -0
  251. package/dist/scatter.integration.spec-TS4PNRLX.js +1194 -0
  252. package/dist/selectGenomeWithTklst-Y5QIM2JB.js +132 -0
  253. package/dist/singleCellCellType-HOJHZF5W.js +36 -0
  254. package/dist/singleCellCellType.unit.spec-MH5V3RPX.js +158 -0
  255. package/dist/singleCellGeneExpression-YVQ5TIKN.js +36 -0
  256. package/dist/singleCellGeneExpression.unit.spec-BMFFT5HO.js +151 -0
  257. package/dist/singleCellPlot-3YFUYA2Y.js +51 -0
  258. package/dist/singlecell-FK5JETW5.js +1570 -0
  259. package/dist/singlecell-RL7V7DIC.js +84 -0
  260. package/dist/snp-FT7HB3XN.js +36 -0
  261. package/dist/snp.unit.spec-CLYVYPPG.js +174 -0
  262. package/dist/snplocus-M5SEQGAC.js +206 -0
  263. package/dist/spliceevent.a53ss.diagram-EJ5CTRCZ.js +149 -0
  264. package/dist/spliceevent.exonskip.diagram-ETXMOHZ3.js +275 -0
  265. package/dist/spliceevent.noeventdiagram-S2O4ZM2Z.js +458 -0
  266. package/dist/ssGSEA-6PMDQDTJ.js +36 -0
  267. package/dist/ssGSEA.unit.spec-JD5T4R2N.js +86 -0
  268. package/dist/summarizeCnvGeneexp-GCHNKTIU.js +161 -0
  269. package/dist/summarizeGeneexpSurvival-R2RYQZ3M.js +106 -0
  270. package/dist/summarizeMutationCnv-LB2BIYRL.js +162 -0
  271. package/dist/summarizeMutationDiagnosis-3JUY75LM.js +38 -0
  272. package/dist/summarizeMutationSurvival-VYLRWTCF.js +97 -0
  273. package/dist/summary-2QQ72IEQ.js +47 -0
  274. package/dist/summary.integration.spec-XXU362UQ.js +412 -0
  275. package/dist/summaryInput-OZHZG3PV.js +233 -0
  276. package/dist/sunburst-CMCJCANX.js +282 -0
  277. package/dist/survival-EBD4DHO7.js +44 -0
  278. package/dist/survival-ISLRRPKU.js +56 -0
  279. package/dist/survival.integration.spec-FS7V4OXK.js +800 -0
  280. package/dist/svgraph-KGLNUM7W.js +1385 -0
  281. package/dist/svmr-NXZ5VLKH.js +3840 -0
  282. package/dist/table-ISOQOI6C.js +198 -0
  283. package/dist/termCollection-7ZSU3I45.js +36 -0
  284. package/dist/termCollection-V2A5BDQB.js +177 -0
  285. package/dist/termCollection.unit.spec-6VLCJGOU.js +206 -0
  286. package/dist/tk-6AB6XYIE.js +44 -0
  287. package/dist/tp.ui-2O4UW5N7.js +1457 -0
  288. package/dist/tvs.dt-CY6TOQVB.js +37 -0
  289. package/dist/tvs.dtcnv.categorical-AYQ432TW.js +38 -0
  290. package/dist/tvs.dtcnv.continuous-XVDL6SG3.js +70 -0
  291. package/dist/tvs.dtfusion-V3AV7A6Q.js +38 -0
  292. package/dist/tvs.dtsnvindel-XM3NXIT7.js +38 -0
  293. package/dist/tvs.dtsv-Z2GYRINW.js +38 -0
  294. package/dist/tvs.samplelst-C4FB63G7.js +102 -0
  295. package/dist/tvs.termCollection-VHTSC2ST.js +157 -0
  296. package/dist/violin-KGGTUQFF.js +44 -0
  297. package/dist/violin.integration.spec-5EW6PLJX.js +1423 -0
  298. package/dist/violin.interactivity-RI4RURGO.js +36 -0
  299. package/dist/violin.renderer-EWU2IFZE.js +38 -0
  300. package/dist/vocabulary-VLIGC7OP.js +39 -0
  301. package/package.json +3 -3
  302. package/src/databrowser/dictionary.parse.js +14 -2
  303. package/dist/2dmaf-X7LATQT7.js +0 -1371
  304. package/dist/AIProjectAdmin-GUBKURGO.js +0 -830
  305. package/dist/AIProjectAdmin-GUBKURGO.js.map +0 -7
  306. package/dist/AppHeader-RDOFP322.js +0 -833
  307. package/dist/BoxPlot-AZF2EMGQ.js +0 -1217
  308. package/dist/CorrelationVolcano-VXW35SXU.js +0 -617
  309. package/dist/DE-NLGMZ44O.js +0 -93
  310. package/dist/DEinput-OJ7P4UMP.js +0 -297
  311. package/dist/DEinput-OJ7P4UMP.js.map +0 -7
  312. package/dist/DifferentialAnalysis-G75VUHDI.js +0 -241
  313. package/dist/Disco-DX4S44SI.js +0 -3235
  314. package/dist/Disco.UI-5FYIACCU.js +0 -242
  315. package/dist/DmrPlot-HWYITHK2.js +0 -640
  316. package/dist/GB-DBTMRVYH.js +0 -1125
  317. package/dist/GB-DBTMRVYH.js.map +0 -7
  318. package/dist/GeneExpInput-DWB7OYT2.js +0 -335
  319. package/dist/GeneExpInput-DWB7OYT2.js.map +0 -7
  320. package/dist/HicApp-XPZVZXB7.js +0 -2248
  321. package/dist/NumBinaryEditor-M6MJYIHK.js +0 -268
  322. package/dist/NumBinaryEditor.unit.spec-W6MMYDAW.js +0 -284
  323. package/dist/NumContEditor-YRVENTS5.js +0 -105
  324. package/dist/NumContEditor.unit.spec-A6OH4TI7.js +0 -167
  325. package/dist/NumCustomBinEditor-BLBOYSCQ.js +0 -36
  326. package/dist/NumCustomBinEditor.unit.spec-55V5CKLB.js +0 -282
  327. package/dist/NumDiscreteEditor-DTRM6VL2.js +0 -177
  328. package/dist/NumDiscreteEditor.unit.spec-YMB6QRER.js +0 -200
  329. package/dist/NumRegularBinEditor-XW4SVA7S.js +0 -36
  330. package/dist/NumRegularBinEditor.unit.spec-VAHC3VOD.js +0 -225
  331. package/dist/NumSplineEditor-H22HTRFR.js +0 -190
  332. package/dist/NumSplineEditor.unit.spec-4JUADXZR.js +0 -197
  333. package/dist/NumericDensity-ECSZCQRX.js +0 -36
  334. package/dist/NumericDensity.unit.spec-SXXCXM4X.js +0 -219
  335. package/dist/NumericHandler-CMBN3FZX.js +0 -37
  336. package/dist/NumericHandler.unit.spec-UYTJG2Z2.js +0 -217
  337. package/dist/RunChart2-MVFWLXZX.js +0 -756
  338. package/dist/SC-BRC3J2O4.js +0 -797
  339. package/dist/SC-BRC3J2O4.js.map +0 -7
  340. package/dist/Volcano-WMNFZSX2.js +0 -1234
  341. package/dist/Volcano-WMNFZSX2.js.map +0 -7
  342. package/dist/WSIViewer-2Z636FMA.js +0 -47971
  343. package/dist/WsiSamplesPlot-LN75PND3.js +0 -163
  344. package/dist/adSandbox-AJ7QUDOI.js +0 -36
  345. package/dist/alphaGenome-PVCRXAQK.js +0 -173
  346. package/dist/app-DWYCAFRP.js +0 -47
  347. package/dist/app-RENXV7VR.js +0 -35
  348. package/dist/bam-5G6IT6OX.js +0 -857
  349. package/dist/barchart-MLCCU6SU.js +0 -45
  350. package/dist/barchart.events-B6HQTLK2.js +0 -45
  351. package/dist/barchart.integration.spec-S43A7C7N.js +0 -1675
  352. package/dist/barchart2-QMKEN6MN.js +0 -309
  353. package/dist/block-IGBB4BJH.js +0 -6200
  354. package/dist/block.init-NLCYAKV4.js +0 -36
  355. package/dist/block.mds.expressionrank-TZWGRDY7.js +0 -357
  356. package/dist/block.mds.geneboxplot-OAFROYDL.js +0 -826
  357. package/dist/block.mds.junction-NSLXTW3D.js +0 -1543
  358. package/dist/block.mds.svcnv-ICPG4BW6.js +0 -6799
  359. package/dist/block.svg-DTFVIAAC.js +0 -162
  360. package/dist/block.tk.aicheck-ZIMIBWHA.js +0 -281
  361. package/dist/block.tk.ase-I7UNK5BK.js +0 -363
  362. package/dist/block.tk.bam-W7JG46RS.js +0 -1904
  363. package/dist/block.tk.bedgraphdot-XAQJPKGJ.js +0 -382
  364. package/dist/block.tk.bigwig.ui-YQOJPJSG.js +0 -209
  365. package/dist/block.tk.hicstraw-OWWGGCHU.js +0 -821
  366. package/dist/block.tk.junction-V63ZQQX6.js +0 -2362
  367. package/dist/block.tk.junction.textmatrixui-B7KXX7WN.js +0 -197
  368. package/dist/block.tk.ld-2J6CT74S.js +0 -97
  369. package/dist/block.tk.menu-6AQLG7PW.js +0 -1027
  370. package/dist/block.tk.pgv-4V6PKVCQ.js +0 -942
  371. package/dist/brainImaging-WRBGYLHK.js +0 -421
  372. package/dist/chat-X2BCTEDF.js +0 -148
  373. package/dist/chat-X2BCTEDF.js.map +0 -7
  374. package/dist/chunk-23VG37CB.js +0 -1939
  375. package/dist/chunk-23VG37CB.js.map +0 -7
  376. package/dist/chunk-2VOHINOC.js +0 -262
  377. package/dist/chunk-2VOHINOC.js.map +0 -7
  378. package/dist/chunk-3AK6GP4M.js +0 -215
  379. package/dist/chunk-3B7EWIVB.js +0 -153
  380. package/dist/chunk-3JAC5CHL.js +0 -407
  381. package/dist/chunk-3QBZ2Y77.js +0 -188
  382. package/dist/chunk-3QBZ2Y77.js.map +0 -7
  383. package/dist/chunk-3T2PCWII.js +0 -442
  384. package/dist/chunk-4BTAI6HQ.js +0 -100
  385. package/dist/chunk-4JVNATQR.js +0 -621
  386. package/dist/chunk-4ZCR6CPK.js +0 -4964
  387. package/dist/chunk-4ZCR6CPK.js.map +0 -7
  388. package/dist/chunk-5MW5VMWD.js +0 -2784
  389. package/dist/chunk-5ZBEDKBD.js +0 -158
  390. package/dist/chunk-65YTZS3R.js +0 -203
  391. package/dist/chunk-6ZCHECOT.js +0 -1816
  392. package/dist/chunk-6ZCHECOT.js.map +0 -7
  393. package/dist/chunk-73ZT6NAT.js +0 -34
  394. package/dist/chunk-7HJ6H7AZ.js +0 -2681
  395. package/dist/chunk-AFXYPMFZ.js +0 -117
  396. package/dist/chunk-BL4ALBZ7.js +0 -37
  397. package/dist/chunk-BRCDZJBQ.js +0 -824
  398. package/dist/chunk-EBGX226R.js +0 -205
  399. package/dist/chunk-EHXI36HJ.js +0 -2815
  400. package/dist/chunk-ENP4FLOX.js +0 -293
  401. package/dist/chunk-FDOSJKDA.js +0 -1209
  402. package/dist/chunk-FDOSJKDA.js.map +0 -7
  403. package/dist/chunk-HP2BASCY.js +0 -1159
  404. package/dist/chunk-HP2BASCY.js.map +0 -7
  405. package/dist/chunk-HROKXT4K.js +0 -14
  406. package/dist/chunk-HTMXVOTH.js +0 -482
  407. package/dist/chunk-IA7S4UL5.js +0 -302
  408. package/dist/chunk-JFIOYO3M.js +0 -272
  409. package/dist/chunk-JMJW3ERE.js +0 -470
  410. package/dist/chunk-K7XWZSQA.js +0 -148
  411. package/dist/chunk-KSN3EVKI.js +0 -102
  412. package/dist/chunk-L5SOHZ5V.js +0 -229
  413. package/dist/chunk-LMGE54CQ.js +0 -54
  414. package/dist/chunk-LOMVTHAM.js +0 -95
  415. package/dist/chunk-MSW7OS2O.js +0 -276
  416. package/dist/chunk-MVCGSYS2.js +0 -50
  417. package/dist/chunk-N2HBIQKU.js +0 -102
  418. package/dist/chunk-NL3DVEVX.js +0 -158
  419. package/dist/chunk-O4WJSZC3.js +0 -1087
  420. package/dist/chunk-OLUDD6EC.js +0 -2370
  421. package/dist/chunk-OVPVPPRG.js +0 -55
  422. package/dist/chunk-OYEISJSJ.js +0 -289
  423. package/dist/chunk-OYEISJSJ.js.map +0 -7
  424. package/dist/chunk-P2JDCMXW.js +0 -4207
  425. package/dist/chunk-PMDXCESS.js +0 -514
  426. package/dist/chunk-PXYYICV7.js +0 -1271
  427. package/dist/chunk-PZ3KIUWJ.js +0 -56
  428. package/dist/chunk-QEWMCAJW.js +0 -335
  429. package/dist/chunk-QLWDUZ5K.js +0 -129
  430. package/dist/chunk-QRSIID3T.js +0 -95
  431. package/dist/chunk-ST644IDH.js +0 -217
  432. package/dist/chunk-UOOMFM7K.js +0 -6364
  433. package/dist/chunk-VGHSLILD.js +0 -368
  434. package/dist/chunk-W35IOI74.js +0 -228
  435. package/dist/chunk-XKF4KMCB.js +0 -146
  436. package/dist/chunk-XKF4KMCB.js.map +0 -7
  437. package/dist/chunk-XVDWYTJ6.js +0 -676
  438. package/dist/chunk-YQVEBFGT.js +0 -455
  439. package/dist/chunk-YWUVCXFS.js +0 -20271
  440. package/dist/chunk-YWUVCXFS.js.map +0 -7
  441. package/dist/chunk-ZT3PB4XX.js +0 -1150
  442. package/dist/chunk-ZT3PB4XX.js.map +0 -7
  443. package/dist/chunk-ZVSXHCGP.js +0 -142
  444. package/dist/condition-CZX2GSN4.js +0 -330
  445. package/dist/controls-BQR3WY5W.js +0 -39
  446. package/dist/controls.config-TAVZDHFZ.js +0 -37
  447. package/dist/correlation-BIWVZNC6.js +0 -96
  448. package/dist/cuminc-EDXOOI5R.js +0 -1147
  449. package/dist/cuminc.integration.spec-UZA7BDTB.js +0 -676
  450. package/dist/customdata.inputui-PEB4CE7J.js +0 -287
  451. package/dist/dataDownload-KANEHJXJ.js +0 -328
  452. package/dist/dataDownload.integration.spec-23WLHSWJ.js +0 -191
  453. package/dist/databrowser.ui-B2TNECC4.js +0 -419
  454. package/dist/databrowser.ui-B2TNECC4.js.map +0 -7
  455. package/dist/dictionary-YOTUFVES.js +0 -109
  456. package/dist/dnaMethylation-TRFAZWRJ.js +0 -36
  457. package/dist/dnaMethylation.integration.spec-SPFZO76D.js +0 -201
  458. package/dist/dofetch-MH4MRMGY.js +0 -50
  459. package/dist/e2pca-AFVAFUJ2.js +0 -348
  460. package/dist/ep-4FXTLWB4.js +0 -1254
  461. package/dist/expclust.gdc.spec-SFOCKBLR.js +0 -305
  462. package/dist/facet-SY6PYSTN.js +0 -519
  463. package/dist/gb-JUV63QCN.js +0 -93
  464. package/dist/gb-JUV63QCN.js.map +0 -7
  465. package/dist/geneExpClustering-FOY77R7P.js +0 -247
  466. package/dist/geneExpression-AHKX57BT.js +0 -312
  467. package/dist/geneExpression-D2F2KVGY.js +0 -36
  468. package/dist/geneExpression.unit.spec-SR2BGZQL.js +0 -100
  469. package/dist/geneORA-VJMYI4BT.js +0 -276
  470. package/dist/geneVariant-LFM5SO2P.js +0 -37
  471. package/dist/geneVariant-OIKEV4JM.js +0 -39
  472. package/dist/geneVariant.integration.spec-T6BINPIN.js +0 -196
  473. package/dist/genefusion.ui-NLMW5XMI.js +0 -306
  474. package/dist/geneset-HKXFHM5K.js +0 -197
  475. package/dist/geneset-HKXFHM5K.js.map +0 -7
  476. package/dist/genomeBrowser.spec-DRYIFJLY.js +0 -279
  477. package/dist/grin2-GJKLNT4J.js +0 -1031
  478. package/dist/grin2-GJKLNT4J.js.map +0 -7
  479. package/dist/grin2-LGI535FF.js +0 -1554
  480. package/dist/gsea-Z7DSDFOA.js +0 -45
  481. package/dist/hierCluster-HC2B5XRR.js +0 -61
  482. package/dist/hierCluster-PLHVN5S3.js +0 -57
  483. package/dist/hierCluster.config-E3DIJWL5.js +0 -38
  484. package/dist/hierCluster.integration.spec-OQLPUQG4.js +0 -393
  485. package/dist/hierCluster.interactivity-LRNPDTEH.js +0 -52
  486. package/dist/imagePlot-GUXRGYQA.js +0 -139
  487. package/dist/imagePlot-GUXRGYQA.js.map +0 -7
  488. package/dist/importPlot-M5HGLHRO.js +0 -8
  489. package/dist/isoformExpression-PADLHHR5.js +0 -38
  490. package/dist/isoformExpression.unit.spec-5BPAL4OS.js +0 -206
  491. package/dist/launch.adhoc-JH6ZZFDB.js +0 -40
  492. package/dist/leftlabel.sample-NS2TBANH.js +0 -257
  493. package/dist/lollipop-W6NOHHCP.js +0 -166
  494. package/dist/lollipop-W6NOHHCP.js.map +0 -7
  495. package/dist/maf-NOHIKTUP.js +0 -450
  496. package/dist/maftimeline-WGWE52EF.js +0 -591
  497. package/dist/matrix-B6NPQFFF.js +0 -61
  498. package/dist/matrix-UAKRJL5A.js +0 -56
  499. package/dist/matrix.config-KJNJXPJJ.js +0 -39
  500. package/dist/matrix.integration.spec-VAXIR3E6.js +0 -3070
  501. package/dist/matrix.interactivity-H4MCMJXU.js +0 -40
  502. package/dist/matrix.layout-RFKQJM5D.js +0 -42
  503. package/dist/matrix.renderers-7JJIC6VC.js +0 -36
  504. package/dist/matrix.sort.unit.spec-MQQVWWNT.js +0 -470
  505. package/dist/matrix.sorterUi.unit.spec-LG4TI7VF.js +0 -340
  506. package/dist/mavb-EIZHS6F4.js +0 -730
  507. package/dist/mds.fimo-XVC6MI7W.js +0 -516
  508. package/dist/mds.samplescatterplot-PRR4TKYI.js +0 -1548
  509. package/dist/mds.survivalplot-3OG4Y2B6.js +0 -481
  510. package/dist/oncomatrix-SO6S6IIB.js +0 -293
  511. package/dist/oncomatrix.spec-VXTF44K5.js +0 -446
  512. package/dist/plot.2dvaf-JW5OJJXV.js +0 -375
  513. package/dist/plot.app-T3GVCFQ3.js +0 -39
  514. package/dist/plot.barplot-2TYP6DPI.js +0 -100
  515. package/dist/plot.boxplot-HOQHM7JF.js +0 -150
  516. package/dist/plot.brainImaging-5AI7BSD4.js +0 -51
  517. package/dist/plot.disco-HNNZHK5Z.js +0 -101
  518. package/dist/plot.dzi-4OQSO7SY.js +0 -33
  519. package/dist/plot.ssgq-VZTTGECT.js +0 -137
  520. package/dist/plot.vaf2cov-ASEELRDV.js +0 -257
  521. package/dist/plot.wsi-MDWYLU4R.js +0 -36
  522. package/dist/polar-QSY6JG4P.js +0 -184
  523. package/dist/polar2-FD6656VD.js +0 -226
  524. package/dist/profile.spec-V7EQBXT2.js +0 -78
  525. package/dist/profileBarchart-EIKHZAPD.js +0 -265
  526. package/dist/profileForms-NGFRXPFF.js +0 -438
  527. package/dist/profilePlot-2UFKJ2OC.js +0 -52
  528. package/dist/profileRadar-B2R7OV5F.js +0 -261
  529. package/dist/profileRadarFacility-ILC7POCI.js +0 -261
  530. package/dist/proteinView-AS6ZV2JT.js +0 -758
  531. package/dist/proteinView-AS6ZV2JT.js.map +0 -7
  532. package/dist/proteomeAbundance-6J5YF4V2.js +0 -63
  533. package/dist/proteomeAbundance-6J5YF4V2.js.map +0 -7
  534. package/dist/proteomeAbundance-OF27N347.js +0 -21
  535. package/dist/qualitative-CSUO2WG5.js +0 -41
  536. package/dist/radar2-L2HGCUYR.js +0 -314
  537. package/dist/radarFacility2-HXUUTRYO.js +0 -323
  538. package/dist/regression-Y4NYGZSA.js +0 -54
  539. package/dist/regression.inputs-RWFIJLNF.js +0 -46
  540. package/dist/regression.inputs.term-QIU5SHTN.js +0 -46
  541. package/dist/regression.inputs.values.table-FM6QTSEV.js +0 -43
  542. package/dist/regression.integration.spec-YRKKU7HL.js +0 -782
  543. package/dist/regression.results-YUDCHUZJ.js +0 -38
  544. package/dist/regression.spec-G4GIIV32.js +0 -706
  545. package/dist/report-2N4FBR4Q.js +0 -220
  546. package/dist/sampleScatter.spec-UIUYO4WR.js +0 -200
  547. package/dist/sampleView-TOK5Y5KU.js +0 -46
  548. package/dist/samplelst-YW5ZS3GJ.js +0 -109
  549. package/dist/samplematrix-447BHSO7.js +0 -2196
  550. package/dist/sc-O2PL3FL2.js +0 -84
  551. package/dist/scatter-4DXHOWVY.js +0 -800
  552. package/dist/scatter.integration.spec-ZPTM3AGQ.js +0 -1194
  553. package/dist/selectGenomeWithTklst-3RLZFW62.js +0 -132
  554. package/dist/singleCellCellType-3LQJXS7H.js +0 -36
  555. package/dist/singleCellCellType.unit.spec-UJM72SP4.js +0 -158
  556. package/dist/singleCellGeneExpression-JOWJWPIQ.js +0 -36
  557. package/dist/singleCellGeneExpression.unit.spec-VY5CGRZH.js +0 -151
  558. package/dist/singleCellPlot-IVLVKOO6.js +0 -51
  559. package/dist/singlecell-VJJZJZF7.js +0 -1570
  560. package/dist/singlecell-VQJ2252L.js +0 -84
  561. package/dist/snp-ALMKZKL2.js +0 -36
  562. package/dist/snp.unit.spec-GJQBAHGQ.js +0 -174
  563. package/dist/snplocus-WCNCMFWZ.js +0 -206
  564. package/dist/spliceevent.a53ss.diagram-4Q4JF4RX.js +0 -149
  565. package/dist/spliceevent.exonskip.diagram-IOYOKELT.js +0 -275
  566. package/dist/spliceevent.noeventdiagram-77ZCOHSF.js +0 -458
  567. package/dist/ssGSEA-QTXXIN4K.js +0 -36
  568. package/dist/ssGSEA.unit.spec-LQESATT3.js +0 -86
  569. package/dist/summarizeCnvGeneexp-YKUQGDQF.js +0 -161
  570. package/dist/summarizeGeneexpSurvival-ARGG5VDC.js +0 -106
  571. package/dist/summarizeMutationCnv-FMZYT3EC.js +0 -162
  572. package/dist/summarizeMutationDiagnosis-ZX7I46SC.js +0 -38
  573. package/dist/summarizeMutationSurvival-RCFMTT43.js +0 -97
  574. package/dist/summary-QLL5YVI2.js +0 -47
  575. package/dist/summary.integration.spec-DHY6XCEJ.js +0 -412
  576. package/dist/summaryInput-ANCUQGIB.js +0 -233
  577. package/dist/sunburst-RDNFBOCK.js +0 -282
  578. package/dist/survival-BG7QV52L.js +0 -44
  579. package/dist/survival-WSN36OQE.js +0 -56
  580. package/dist/survival.integration.spec-37KAJ5IK.js +0 -800
  581. package/dist/svgraph-A5WGHW4S.js +0 -1385
  582. package/dist/svmr-CYRHHWZF.js +0 -3840
  583. package/dist/table-VHO7E5PI.js +0 -198
  584. package/dist/termCollection-E4Q6GLXN.js +0 -177
  585. package/dist/termCollection-HSVSH7TJ.js +0 -36
  586. package/dist/termCollection.unit.spec-ZCE3TUMS.js +0 -206
  587. package/dist/tk-GPRHDN4K.js +0 -44
  588. package/dist/tp.ui-LTUA3FSL.js +0 -1457
  589. package/dist/tvs.dt-G43PAAKD.js +0 -37
  590. package/dist/tvs.dtcnv.categorical-UHDS2TGZ.js +0 -38
  591. package/dist/tvs.dtcnv.continuous-ZNGYQKTD.js +0 -70
  592. package/dist/tvs.dtfusion-JBEEUDUS.js +0 -38
  593. package/dist/tvs.dtsnvindel-XXN5Q7RN.js +0 -38
  594. package/dist/tvs.dtsv-MO6L7HHV.js +0 -38
  595. package/dist/tvs.samplelst-HKY6UUJM.js +0 -102
  596. package/dist/tvs.termCollection-TY6FPL25.js +0 -157
  597. package/dist/violin-YHE3WSGR.js +0 -44
  598. package/dist/violin.integration.spec-F2UD7BHC.js +0 -1423
  599. package/dist/violin.interactivity-LVDTDEPQ.js +0 -36
  600. package/dist/violin.renderer-IIEIUGRI.js +0 -38
  601. package/dist/vocabulary-WQRYXBRO.js +0 -39
  602. /package/dist/{2dmaf-X7LATQT7.js.map → 2dmaf-F5QNP7AQ.js.map} +0 -0
  603. /package/dist/{AppHeader-RDOFP322.js.map → AppHeader-STVCDLET.js.map} +0 -0
  604. /package/dist/{BoxPlot-AZF2EMGQ.js.map → BoxPlot-CU7MEBH7.js.map} +0 -0
  605. /package/dist/{CorrelationVolcano-VXW35SXU.js.map → CorrelationVolcano-OE4R2GS3.js.map} +0 -0
  606. /package/dist/{DE-NLGMZ44O.js.map → DE-SR7PJPKI.js.map} +0 -0
  607. /package/dist/{DifferentialAnalysis-G75VUHDI.js.map → DifferentialAnalysis-UWTYK7NU.js.map} +0 -0
  608. /package/dist/{Disco-DX4S44SI.js.map → Disco-IL6REGSA.js.map} +0 -0
  609. /package/dist/{Disco.UI-5FYIACCU.js.map → Disco.UI-JHHLS5BA.js.map} +0 -0
  610. /package/dist/{DmrPlot-HWYITHK2.js.map → DmrPlot-DDP53T3F.js.map} +0 -0
  611. /package/dist/{HicApp-XPZVZXB7.js.map → HicApp-RVFHTYED.js.map} +0 -0
  612. /package/dist/{NumBinaryEditor-M6MJYIHK.js.map → NumBinaryEditor-B3FXQAOH.js.map} +0 -0
  613. /package/dist/{NumBinaryEditor.unit.spec-W6MMYDAW.js.map → NumBinaryEditor.unit.spec-75YQJ2U6.js.map} +0 -0
  614. /package/dist/{NumContEditor-YRVENTS5.js.map → NumContEditor-5PYW3OLY.js.map} +0 -0
  615. /package/dist/{NumContEditor.unit.spec-A6OH4TI7.js.map → NumContEditor.unit.spec-F7ZRDGBN.js.map} +0 -0
  616. /package/dist/{NumCustomBinEditor-BLBOYSCQ.js.map → NumCustomBinEditor-TBT6GLYQ.js.map} +0 -0
  617. /package/dist/{NumCustomBinEditor.unit.spec-55V5CKLB.js.map → NumCustomBinEditor.unit.spec-6YHU45XV.js.map} +0 -0
  618. /package/dist/{NumDiscreteEditor-DTRM6VL2.js.map → NumDiscreteEditor-N6OJYSJA.js.map} +0 -0
  619. /package/dist/{NumDiscreteEditor.unit.spec-YMB6QRER.js.map → NumDiscreteEditor.unit.spec-HQS5RZ6R.js.map} +0 -0
  620. /package/dist/{NumRegularBinEditor-XW4SVA7S.js.map → NumRegularBinEditor-HSDDKVNG.js.map} +0 -0
  621. /package/dist/{NumRegularBinEditor.unit.spec-VAHC3VOD.js.map → NumRegularBinEditor.unit.spec-33KN2MVM.js.map} +0 -0
  622. /package/dist/{NumSplineEditor-H22HTRFR.js.map → NumSplineEditor-XERKOACS.js.map} +0 -0
  623. /package/dist/{NumSplineEditor.unit.spec-4JUADXZR.js.map → NumSplineEditor.unit.spec-MPVM6KSC.js.map} +0 -0
  624. /package/dist/{NumericDensity-ECSZCQRX.js.map → NumericDensity-35EKYW3V.js.map} +0 -0
  625. /package/dist/{NumericDensity.unit.spec-SXXCXM4X.js.map → NumericDensity.unit.spec-OR24PPRJ.js.map} +0 -0
  626. /package/dist/{NumericHandler-CMBN3FZX.js.map → NumericHandler-D6ZNGRE3.js.map} +0 -0
  627. /package/dist/{NumericHandler.unit.spec-UYTJG2Z2.js.map → NumericHandler.unit.spec-EKPGVSXI.js.map} +0 -0
  628. /package/dist/{RunChart2-MVFWLXZX.js.map → RunChart2-7DOXOFXV.js.map} +0 -0
  629. /package/dist/{WSIViewer-2Z636FMA.js.map → WSIViewer-E247ELKN.js.map} +0 -0
  630. /package/dist/{WsiSamplesPlot-LN75PND3.js.map → WsiSamplesPlot-3522VRB5.js.map} +0 -0
  631. /package/dist/{adSandbox-AJ7QUDOI.js.map → adSandbox-IDFY5P2P.js.map} +0 -0
  632. /package/dist/{alphaGenome-PVCRXAQK.js.map → alphaGenome-F3W7GJQ5.js.map} +0 -0
  633. /package/dist/{app-DWYCAFRP.js.map → app-2HDSFMRM.js.map} +0 -0
  634. /package/dist/{app-RENXV7VR.js.map → app-LIWPFL7C.js.map} +0 -0
  635. /package/dist/{bam-5G6IT6OX.js.map → bam-TBHHSATL.js.map} +0 -0
  636. /package/dist/{barchart-MLCCU6SU.js.map → barchart-HHFCBOZE.js.map} +0 -0
  637. /package/dist/{barchart.events-B6HQTLK2.js.map → barchart.events-UQUSSRXB.js.map} +0 -0
  638. /package/dist/{barchart.integration.spec-S43A7C7N.js.map → barchart.integration.spec-OF3MWFQ5.js.map} +0 -0
  639. /package/dist/{barchart2-QMKEN6MN.js.map → barchart2-XRMPCBBU.js.map} +0 -0
  640. /package/dist/{block-IGBB4BJH.js.map → block-5UEORHFB.js.map} +0 -0
  641. /package/dist/{block.init-NLCYAKV4.js.map → block.init-QSSFUVIT.js.map} +0 -0
  642. /package/dist/{block.mds.expressionrank-TZWGRDY7.js.map → block.mds.expressionrank-VBIIJHQF.js.map} +0 -0
  643. /package/dist/{block.mds.geneboxplot-OAFROYDL.js.map → block.mds.geneboxplot-KSBHXBNX.js.map} +0 -0
  644. /package/dist/{block.mds.junction-NSLXTW3D.js.map → block.mds.junction-FWZWMZJ2.js.map} +0 -0
  645. /package/dist/{block.mds.svcnv-ICPG4BW6.js.map → block.mds.svcnv-UXORVLH2.js.map} +0 -0
  646. /package/dist/{block.svg-DTFVIAAC.js.map → block.svg-6KIGW4QH.js.map} +0 -0
  647. /package/dist/{block.tk.aicheck-ZIMIBWHA.js.map → block.tk.aicheck-DK566Q4C.js.map} +0 -0
  648. /package/dist/{block.tk.ase-I7UNK5BK.js.map → block.tk.ase-2GB2VJJ6.js.map} +0 -0
  649. /package/dist/{block.tk.bam-W7JG46RS.js.map → block.tk.bam-RQNOLY52.js.map} +0 -0
  650. /package/dist/{block.tk.bedgraphdot-XAQJPKGJ.js.map → block.tk.bedgraphdot-N4YMZFO4.js.map} +0 -0
  651. /package/dist/{block.tk.bigwig.ui-YQOJPJSG.js.map → block.tk.bigwig.ui-4S7L7D7D.js.map} +0 -0
  652. /package/dist/{block.tk.hicstraw-OWWGGCHU.js.map → block.tk.hicstraw-AHFNQKCS.js.map} +0 -0
  653. /package/dist/{block.tk.junction-V63ZQQX6.js.map → block.tk.junction-7E6SNQMQ.js.map} +0 -0
  654. /package/dist/{block.tk.junction.textmatrixui-B7KXX7WN.js.map → block.tk.junction.textmatrixui-3C5JVYX5.js.map} +0 -0
  655. /package/dist/{block.tk.ld-2J6CT74S.js.map → block.tk.ld-TOUCLT3W.js.map} +0 -0
  656. /package/dist/{block.tk.menu-6AQLG7PW.js.map → block.tk.menu-JCV5ORD6.js.map} +0 -0
  657. /package/dist/{block.tk.pgv-4V6PKVCQ.js.map → block.tk.pgv-CUU22U6M.js.map} +0 -0
  658. /package/dist/{brainImaging-WRBGYLHK.js.map → brainImaging-MTQTXNNL.js.map} +0 -0
  659. /package/dist/{chunk-ENP4FLOX.js.map → chunk-2UYBBUXK.js.map} +0 -0
  660. /package/dist/{chunk-P2JDCMXW.js.map → chunk-2VPEFXEJ.js.map} +0 -0
  661. /package/dist/{chunk-OVPVPPRG.js.map → chunk-3QHIL3V3.js.map} +0 -0
  662. /package/dist/{chunk-QLWDUZ5K.js.map → chunk-44VXWKYJ.js.map} +0 -0
  663. /package/dist/{chunk-QRSIID3T.js.map → chunk-52D6EGUS.js.map} +0 -0
  664. /package/dist/{chunk-N2HBIQKU.js.map → chunk-5FHM3L4I.js.map} +0 -0
  665. /package/dist/{chunk-ZVSXHCGP.js.map → chunk-62TF2MCH.js.map} +0 -0
  666. /package/dist/{chunk-UOOMFM7K.js.map → chunk-67QM2NUK.js.map} +0 -0
  667. /package/dist/{chunk-XVDWYTJ6.js.map → chunk-6AAPHEWK.js.map} +0 -0
  668. /package/dist/{chunk-3B7EWIVB.js.map → chunk-6KPGMUHS.js.map} +0 -0
  669. /package/dist/{chunk-YQVEBFGT.js.map → chunk-6WBIZXNI.js.map} +0 -0
  670. /package/dist/{chunk-IA7S4UL5.js.map → chunk-7AAJVXEG.js.map} +0 -0
  671. /package/dist/{chunk-PXYYICV7.js.map → chunk-AFJRAR4N.js.map} +0 -0
  672. /package/dist/{chunk-K7XWZSQA.js.map → chunk-CVRYZMDE.js.map} +0 -0
  673. /package/dist/{chunk-MSW7OS2O.js.map → chunk-DGUTCYH2.js.map} +0 -0
  674. /package/dist/{chunk-5ZBEDKBD.js.map → chunk-DHNXATHC.js.map} +0 -0
  675. /package/dist/{chunk-L5SOHZ5V.js.map → chunk-E3BI23UK.js.map} +0 -0
  676. /package/dist/{chunk-4JVNATQR.js.map → chunk-E4JDHA3C.js.map} +0 -0
  677. /package/dist/{chunk-W35IOI74.js.map → chunk-FOJWYEGV.js.map} +0 -0
  678. /package/dist/{chunk-NL3DVEVX.js.map → chunk-FTN7Y34O.js.map} +0 -0
  679. /package/dist/{chunk-EHXI36HJ.js.map → chunk-GRG5MMPN.js.map} +0 -0
  680. /package/dist/{chunk-HTMXVOTH.js.map → chunk-GSU4PZN3.js.map} +0 -0
  681. /package/dist/{chunk-ST644IDH.js.map → chunk-IIRU2JLK.js.map} +0 -0
  682. /package/dist/{chunk-JFIOYO3M.js.map → chunk-JCB74ZSK.js.map} +0 -0
  683. /package/dist/{chunk-BRCDZJBQ.js.map → chunk-JUDWPYMA.js.map} +0 -0
  684. /package/dist/{chunk-O4WJSZC3.js.map → chunk-KT6VZBC7.js.map} +0 -0
  685. /package/dist/{chunk-OLUDD6EC.js.map → chunk-L2HBHFTK.js.map} +0 -0
  686. /package/dist/{chunk-VGHSLILD.js.map → chunk-LKADRF3Q.js.map} +0 -0
  687. /package/dist/{chunk-3JAC5CHL.js.map → chunk-MAXFRUGM.js.map} +0 -0
  688. /package/dist/{chunk-BL4ALBZ7.js.map → chunk-MQN7RYCK.js.map} +0 -0
  689. /package/dist/{chunk-JMJW3ERE.js.map → chunk-OEUI4CYZ.js.map} +0 -0
  690. /package/dist/{chunk-73ZT6NAT.js.map → chunk-OM36XUQL.js.map} +0 -0
  691. /package/dist/{chunk-LMGE54CQ.js.map → chunk-P5LNIH5X.js.map} +0 -0
  692. /package/dist/{chunk-KSN3EVKI.js.map → chunk-PG62PRMF.js.map} +0 -0
  693. /package/dist/{chunk-EBGX226R.js.map → chunk-Q3J3F2NU.js.map} +0 -0
  694. /package/dist/{chunk-AFXYPMFZ.js.map → chunk-RZBV6474.js.map} +0 -0
  695. /package/dist/{chunk-3T2PCWII.js.map → chunk-T5V4OC27.js.map} +0 -0
  696. /package/dist/{chunk-QEWMCAJW.js.map → chunk-UCKSUNSJ.js.map} +0 -0
  697. /package/dist/{chunk-PMDXCESS.js.map → chunk-W4TLYHZO.js.map} +0 -0
  698. /package/dist/{chunk-PZ3KIUWJ.js.map → chunk-WPZUXKIB.js.map} +0 -0
  699. /package/dist/{chunk-3AK6GP4M.js.map → chunk-XM47XD6G.js.map} +0 -0
  700. /package/dist/{chunk-MVCGSYS2.js.map → chunk-YZHGLSKQ.js.map} +0 -0
  701. /package/dist/{chunk-65YTZS3R.js.map → chunk-ZGOOZK3I.js.map} +0 -0
  702. /package/dist/{chunk-LOMVTHAM.js.map → chunk-ZH2VP6Q6.js.map} +0 -0
  703. /package/dist/{chunk-HROKXT4K.js.map → chunk-ZLOQXO5K.js.map} +0 -0
  704. /package/dist/{chunk-4BTAI6HQ.js.map → chunk-ZMNDBPJU.js.map} +0 -0
  705. /package/dist/{chunk-5MW5VMWD.js.map → chunk-ZRTW6X3F.js.map} +0 -0
  706. /package/dist/{chunk-7HJ6H7AZ.js.map → chunk-ZTT52MBP.js.map} +0 -0
  707. /package/dist/{condition-CZX2GSN4.js.map → condition-VUACUQYF.js.map} +0 -0
  708. /package/dist/{controls-BQR3WY5W.js.map → controls-N4MPSNO4.js.map} +0 -0
  709. /package/dist/{controls.config-TAVZDHFZ.js.map → controls.config-PRXVODCM.js.map} +0 -0
  710. /package/dist/{correlation-BIWVZNC6.js.map → correlation-QJZUYDFH.js.map} +0 -0
  711. /package/dist/{cuminc-EDXOOI5R.js.map → cuminc-JJHXW55V.js.map} +0 -0
  712. /package/dist/{cuminc.integration.spec-UZA7BDTB.js.map → cuminc.integration.spec-IXS2UO2O.js.map} +0 -0
  713. /package/dist/{customdata.inputui-PEB4CE7J.js.map → customdata.inputui-DUHO6M6I.js.map} +0 -0
  714. /package/dist/{dataDownload-KANEHJXJ.js.map → dataDownload-OFB7TYDB.js.map} +0 -0
  715. /package/dist/{dataDownload.integration.spec-23WLHSWJ.js.map → dataDownload.integration.spec-4HWDQO4C.js.map} +0 -0
  716. /package/dist/{dictionary-YOTUFVES.js.map → dictionary-BSKN37CP.js.map} +0 -0
  717. /package/dist/{dnaMethylation-TRFAZWRJ.js.map → dnaMethylation-5QNEEGC6.js.map} +0 -0
  718. /package/dist/{dnaMethylation.integration.spec-SPFZO76D.js.map → dnaMethylation.integration.spec-YIX3JSA7.js.map} +0 -0
  719. /package/dist/{dofetch-MH4MRMGY.js.map → dofetch-KFMGQY7G.js.map} +0 -0
  720. /package/dist/{e2pca-AFVAFUJ2.js.map → e2pca-VX42HDYZ.js.map} +0 -0
  721. /package/dist/{ep-4FXTLWB4.js.map → ep-B6ZNETLI.js.map} +0 -0
  722. /package/dist/{expclust.gdc.spec-SFOCKBLR.js.map → expclust.gdc.spec-SGECIILQ.js.map} +0 -0
  723. /package/dist/{facet-SY6PYSTN.js.map → facet-2W5SBPGP.js.map} +0 -0
  724. /package/dist/{geneExpClustering-FOY77R7P.js.map → geneExpClustering-6A7364T5.js.map} +0 -0
  725. /package/dist/{geneExpression-D2F2KVGY.js.map → geneExpression-NAM2UEYN.js.map} +0 -0
  726. /package/dist/{geneExpression-AHKX57BT.js.map → geneExpression-WF56ODMZ.js.map} +0 -0
  727. /package/dist/{geneExpression.unit.spec-SR2BGZQL.js.map → geneExpression.unit.spec-DNE2T3WI.js.map} +0 -0
  728. /package/dist/{geneORA-VJMYI4BT.js.map → geneORA-33FK2YOS.js.map} +0 -0
  729. /package/dist/{geneVariant-LFM5SO2P.js.map → geneVariant-C7PCNBOQ.js.map} +0 -0
  730. /package/dist/{geneVariant-OIKEV4JM.js.map → geneVariant-REELFRRA.js.map} +0 -0
  731. /package/dist/{geneVariant.integration.spec-T6BINPIN.js.map → geneVariant.integration.spec-GNXUGDKL.js.map} +0 -0
  732. /package/dist/{genefusion.ui-NLMW5XMI.js.map → genefusion.ui-WO5EPJDS.js.map} +0 -0
  733. /package/dist/{genomeBrowser.spec-DRYIFJLY.js.map → genomeBrowser.spec-VPAKTUJF.js.map} +0 -0
  734. /package/dist/{grin2-LGI535FF.js.map → grin2-GYHUYNEF.js.map} +0 -0
  735. /package/dist/{gsea-Z7DSDFOA.js.map → gsea-PE5WZ5ZI.js.map} +0 -0
  736. /package/dist/{hierCluster-HC2B5XRR.js.map → hierCluster-FH6YJHRT.js.map} +0 -0
  737. /package/dist/{hierCluster-PLHVN5S3.js.map → hierCluster-IFM5I5QN.js.map} +0 -0
  738. /package/dist/{hierCluster.config-E3DIJWL5.js.map → hierCluster.config-M57ZIWMB.js.map} +0 -0
  739. /package/dist/{hierCluster.integration.spec-OQLPUQG4.js.map → hierCluster.integration.spec-Z64RL7MC.js.map} +0 -0
  740. /package/dist/{hierCluster.interactivity-LRNPDTEH.js.map → hierCluster.interactivity-CDBAJXOY.js.map} +0 -0
  741. /package/dist/{importPlot-M5HGLHRO.js.map → importPlot-OWKXSK77.js.map} +0 -0
  742. /package/dist/{isoformExpression-PADLHHR5.js.map → isoformExpression-66XLJG73.js.map} +0 -0
  743. /package/dist/{isoformExpression.unit.spec-5BPAL4OS.js.map → isoformExpression.unit.spec-QJX2IRHL.js.map} +0 -0
  744. /package/dist/{launch.adhoc-JH6ZZFDB.js.map → launch.adhoc-JCWID253.js.map} +0 -0
  745. /package/dist/{leftlabel.sample-NS2TBANH.js.map → leftlabel.sample-5NZ6VQDN.js.map} +0 -0
  746. /package/dist/{maf-NOHIKTUP.js.map → maf-HIS2FQXK.js.map} +0 -0
  747. /package/dist/{maftimeline-WGWE52EF.js.map → maftimeline-UPJJQE23.js.map} +0 -0
  748. /package/dist/{matrix-B6NPQFFF.js.map → matrix-62CN2KXR.js.map} +0 -0
  749. /package/dist/{matrix-UAKRJL5A.js.map → matrix-SPEDEB3J.js.map} +0 -0
  750. /package/dist/{matrix.config-KJNJXPJJ.js.map → matrix.config-XB6WFXUY.js.map} +0 -0
  751. /package/dist/{matrix.integration.spec-VAXIR3E6.js.map → matrix.integration.spec-NN7OR5XM.js.map} +0 -0
  752. /package/dist/{matrix.interactivity-H4MCMJXU.js.map → matrix.interactivity-OWMHUJCX.js.map} +0 -0
  753. /package/dist/{matrix.layout-RFKQJM5D.js.map → matrix.layout-27QB6MWK.js.map} +0 -0
  754. /package/dist/{matrix.renderers-7JJIC6VC.js.map → matrix.renderers-EPXES5E4.js.map} +0 -0
  755. /package/dist/{matrix.sort.unit.spec-MQQVWWNT.js.map → matrix.sort.unit.spec-NBT5FSZ6.js.map} +0 -0
  756. /package/dist/{matrix.sorterUi.unit.spec-LG4TI7VF.js.map → matrix.sorterUi.unit.spec-QKGUE4RR.js.map} +0 -0
  757. /package/dist/{mavb-EIZHS6F4.js.map → mavb-M7Y74OWQ.js.map} +0 -0
  758. /package/dist/{mds.fimo-XVC6MI7W.js.map → mds.fimo-WCDFA7HG.js.map} +0 -0
  759. /package/dist/{mds.samplescatterplot-PRR4TKYI.js.map → mds.samplescatterplot-ZDHQ3MKJ.js.map} +0 -0
  760. /package/dist/{mds.survivalplot-3OG4Y2B6.js.map → mds.survivalplot-R74DL2RA.js.map} +0 -0
  761. /package/dist/{oncomatrix-SO6S6IIB.js.map → oncomatrix-MOITJBII.js.map} +0 -0
  762. /package/dist/{oncomatrix.spec-VXTF44K5.js.map → oncomatrix.spec-NALJBPYS.js.map} +0 -0
  763. /package/dist/{plot.2dvaf-JW5OJJXV.js.map → plot.2dvaf-IE2EZEFA.js.map} +0 -0
  764. /package/dist/{plot.app-T3GVCFQ3.js.map → plot.app-HTW6TZEH.js.map} +0 -0
  765. /package/dist/{plot.barplot-2TYP6DPI.js.map → plot.barplot-NCQEPEOY.js.map} +0 -0
  766. /package/dist/{plot.boxplot-HOQHM7JF.js.map → plot.boxplot-WNKVBVJJ.js.map} +0 -0
  767. /package/dist/{plot.brainImaging-5AI7BSD4.js.map → plot.brainImaging-2Z3TOO6J.js.map} +0 -0
  768. /package/dist/{plot.disco-HNNZHK5Z.js.map → plot.disco-4JAEIAYK.js.map} +0 -0
  769. /package/dist/{plot.dzi-4OQSO7SY.js.map → plot.dzi-ZGLOVJJN.js.map} +0 -0
  770. /package/dist/{plot.ssgq-VZTTGECT.js.map → plot.ssgq-IHUILM43.js.map} +0 -0
  771. /package/dist/{plot.vaf2cov-ASEELRDV.js.map → plot.vaf2cov-ZYCQMD27.js.map} +0 -0
  772. /package/dist/{plot.wsi-MDWYLU4R.js.map → plot.wsi-3GISVBDH.js.map} +0 -0
  773. /package/dist/{polar-QSY6JG4P.js.map → polar-4AUAZHBV.js.map} +0 -0
  774. /package/dist/{polar2-FD6656VD.js.map → polar2-SRD4WWXU.js.map} +0 -0
  775. /package/dist/{profile.spec-V7EQBXT2.js.map → profile.spec-TOITKBBZ.js.map} +0 -0
  776. /package/dist/{profileBarchart-EIKHZAPD.js.map → profileBarchart-Z4SYIYBE.js.map} +0 -0
  777. /package/dist/{profileForms-NGFRXPFF.js.map → profileForms-RA7XQ2QT.js.map} +0 -0
  778. /package/dist/{profilePlot-2UFKJ2OC.js.map → profilePlot-4BM3XZVK.js.map} +0 -0
  779. /package/dist/{profileRadar-B2R7OV5F.js.map → profileRadar-EYBESEPI.js.map} +0 -0
  780. /package/dist/{profileRadarFacility-ILC7POCI.js.map → profileRadarFacility-FZYTFM26.js.map} +0 -0
  781. /package/dist/{proteomeAbundance-OF27N347.js.map → proteomeAbundance-65R6M4YQ.js.map} +0 -0
  782. /package/dist/{qualitative-CSUO2WG5.js.map → qualitative-E7WL6DN4.js.map} +0 -0
  783. /package/dist/{radar2-L2HGCUYR.js.map → radar2-I6FN5SUX.js.map} +0 -0
  784. /package/dist/{radarFacility2-HXUUTRYO.js.map → radarFacility2-GVK7PT3V.js.map} +0 -0
  785. /package/dist/{regression-Y4NYGZSA.js.map → regression-TIR5D354.js.map} +0 -0
  786. /package/dist/{regression.inputs-RWFIJLNF.js.map → regression.inputs-2AMJCJ3L.js.map} +0 -0
  787. /package/dist/{regression.inputs.term-QIU5SHTN.js.map → regression.inputs.term-D6D2QEUB.js.map} +0 -0
  788. /package/dist/{regression.inputs.values.table-FM6QTSEV.js.map → regression.inputs.values.table-M3IPLGDJ.js.map} +0 -0
  789. /package/dist/{regression.integration.spec-YRKKU7HL.js.map → regression.integration.spec-ROUSXLMH.js.map} +0 -0
  790. /package/dist/{regression.results-YUDCHUZJ.js.map → regression.results-YD5S74YS.js.map} +0 -0
  791. /package/dist/{regression.spec-G4GIIV32.js.map → regression.spec-4OXBBTNO.js.map} +0 -0
  792. /package/dist/{report-2N4FBR4Q.js.map → report-ETNALKTY.js.map} +0 -0
  793. /package/dist/{sampleScatter.spec-UIUYO4WR.js.map → sampleScatter.spec-LECMFMI2.js.map} +0 -0
  794. /package/dist/{sampleView-TOK5Y5KU.js.map → sampleView-B5TM7JOW.js.map} +0 -0
  795. /package/dist/{samplelst-YW5ZS3GJ.js.map → samplelst-GFQCG4SS.js.map} +0 -0
  796. /package/dist/{samplematrix-447BHSO7.js.map → samplematrix-OMTNWCJK.js.map} +0 -0
  797. /package/dist/{sc-O2PL3FL2.js.map → sc-MIEEZBWG.js.map} +0 -0
  798. /package/dist/{scatter-4DXHOWVY.js.map → scatter-ETOZ722F.js.map} +0 -0
  799. /package/dist/{scatter.integration.spec-ZPTM3AGQ.js.map → scatter.integration.spec-TS4PNRLX.js.map} +0 -0
  800. /package/dist/{selectGenomeWithTklst-3RLZFW62.js.map → selectGenomeWithTklst-Y5QIM2JB.js.map} +0 -0
  801. /package/dist/{singleCellCellType-3LQJXS7H.js.map → singleCellCellType-HOJHZF5W.js.map} +0 -0
  802. /package/dist/{singleCellCellType.unit.spec-UJM72SP4.js.map → singleCellCellType.unit.spec-MH5V3RPX.js.map} +0 -0
  803. /package/dist/{singleCellGeneExpression-JOWJWPIQ.js.map → singleCellGeneExpression-YVQ5TIKN.js.map} +0 -0
  804. /package/dist/{singleCellGeneExpression.unit.spec-VY5CGRZH.js.map → singleCellGeneExpression.unit.spec-BMFFT5HO.js.map} +0 -0
  805. /package/dist/{singleCellPlot-IVLVKOO6.js.map → singleCellPlot-3YFUYA2Y.js.map} +0 -0
  806. /package/dist/{singlecell-VJJZJZF7.js.map → singlecell-FK5JETW5.js.map} +0 -0
  807. /package/dist/{singlecell-VQJ2252L.js.map → singlecell-RL7V7DIC.js.map} +0 -0
  808. /package/dist/{snp-ALMKZKL2.js.map → snp-FT7HB3XN.js.map} +0 -0
  809. /package/dist/{snp.unit.spec-GJQBAHGQ.js.map → snp.unit.spec-CLYVYPPG.js.map} +0 -0
  810. /package/dist/{snplocus-WCNCMFWZ.js.map → snplocus-M5SEQGAC.js.map} +0 -0
  811. /package/dist/{spliceevent.a53ss.diagram-4Q4JF4RX.js.map → spliceevent.a53ss.diagram-EJ5CTRCZ.js.map} +0 -0
  812. /package/dist/{spliceevent.exonskip.diagram-IOYOKELT.js.map → spliceevent.exonskip.diagram-ETXMOHZ3.js.map} +0 -0
  813. /package/dist/{spliceevent.noeventdiagram-77ZCOHSF.js.map → spliceevent.noeventdiagram-S2O4ZM2Z.js.map} +0 -0
  814. /package/dist/{ssGSEA-QTXXIN4K.js.map → ssGSEA-6PMDQDTJ.js.map} +0 -0
  815. /package/dist/{ssGSEA.unit.spec-LQESATT3.js.map → ssGSEA.unit.spec-JD5T4R2N.js.map} +0 -0
  816. /package/dist/{summarizeCnvGeneexp-YKUQGDQF.js.map → summarizeCnvGeneexp-GCHNKTIU.js.map} +0 -0
  817. /package/dist/{summarizeGeneexpSurvival-ARGG5VDC.js.map → summarizeGeneexpSurvival-R2RYQZ3M.js.map} +0 -0
  818. /package/dist/{summarizeMutationCnv-FMZYT3EC.js.map → summarizeMutationCnv-LB2BIYRL.js.map} +0 -0
  819. /package/dist/{summarizeMutationDiagnosis-ZX7I46SC.js.map → summarizeMutationDiagnosis-3JUY75LM.js.map} +0 -0
  820. /package/dist/{summarizeMutationSurvival-RCFMTT43.js.map → summarizeMutationSurvival-VYLRWTCF.js.map} +0 -0
  821. /package/dist/{summary-QLL5YVI2.js.map → summary-2QQ72IEQ.js.map} +0 -0
  822. /package/dist/{summary.integration.spec-DHY6XCEJ.js.map → summary.integration.spec-XXU362UQ.js.map} +0 -0
  823. /package/dist/{summaryInput-ANCUQGIB.js.map → summaryInput-OZHZG3PV.js.map} +0 -0
  824. /package/dist/{sunburst-RDNFBOCK.js.map → sunburst-CMCJCANX.js.map} +0 -0
  825. /package/dist/{survival-BG7QV52L.js.map → survival-EBD4DHO7.js.map} +0 -0
  826. /package/dist/{survival-WSN36OQE.js.map → survival-ISLRRPKU.js.map} +0 -0
  827. /package/dist/{survival.integration.spec-37KAJ5IK.js.map → survival.integration.spec-FS7V4OXK.js.map} +0 -0
  828. /package/dist/{svgraph-A5WGHW4S.js.map → svgraph-KGLNUM7W.js.map} +0 -0
  829. /package/dist/{svmr-CYRHHWZF.js.map → svmr-NXZ5VLKH.js.map} +0 -0
  830. /package/dist/{table-VHO7E5PI.js.map → table-ISOQOI6C.js.map} +0 -0
  831. /package/dist/{termCollection-HSVSH7TJ.js.map → termCollection-7ZSU3I45.js.map} +0 -0
  832. /package/dist/{termCollection-E4Q6GLXN.js.map → termCollection-V2A5BDQB.js.map} +0 -0
  833. /package/dist/{termCollection.unit.spec-ZCE3TUMS.js.map → termCollection.unit.spec-6VLCJGOU.js.map} +0 -0
  834. /package/dist/{tk-GPRHDN4K.js.map → tk-6AB6XYIE.js.map} +0 -0
  835. /package/dist/{tp.ui-LTUA3FSL.js.map → tp.ui-2O4UW5N7.js.map} +0 -0
  836. /package/dist/{tvs.dt-G43PAAKD.js.map → tvs.dt-CY6TOQVB.js.map} +0 -0
  837. /package/dist/{tvs.dtcnv.categorical-UHDS2TGZ.js.map → tvs.dtcnv.categorical-AYQ432TW.js.map} +0 -0
  838. /package/dist/{tvs.dtcnv.continuous-ZNGYQKTD.js.map → tvs.dtcnv.continuous-XVDL6SG3.js.map} +0 -0
  839. /package/dist/{tvs.dtfusion-JBEEUDUS.js.map → tvs.dtfusion-V3AV7A6Q.js.map} +0 -0
  840. /package/dist/{tvs.dtsnvindel-XXN5Q7RN.js.map → tvs.dtsnvindel-XM3NXIT7.js.map} +0 -0
  841. /package/dist/{tvs.dtsv-MO6L7HHV.js.map → tvs.dtsv-Z2GYRINW.js.map} +0 -0
  842. /package/dist/{tvs.samplelst-HKY6UUJM.js.map → tvs.samplelst-C4FB63G7.js.map} +0 -0
  843. /package/dist/{tvs.termCollection-TY6FPL25.js.map → tvs.termCollection-VHTSC2ST.js.map} +0 -0
  844. /package/dist/{violin-YHE3WSGR.js.map → violin-KGGTUQFF.js.map} +0 -0
  845. /package/dist/{violin.integration.spec-F2UD7BHC.js.map → violin.integration.spec-5EW6PLJX.js.map} +0 -0
  846. /package/dist/{violin.interactivity-LVDTDEPQ.js.map → violin.interactivity-RI4RURGO.js.map} +0 -0
  847. /package/dist/{violin.renderer-IIEIUGRI.js.map → violin.renderer-EWU2IFZE.js.map} +0 -0
  848. /package/dist/{vocabulary-WQRYXBRO.js.map → vocabulary-VLIGC7OP.js.map} +0 -0
@@ -1,3070 +0,0 @@
1
- import {
2
- getSortOptions
3
- } from "./chunk-IABWKPRK.js";
4
- import {
5
- getRunPp
6
- } from "./chunk-ZVSXHCGP.js";
7
- import {
8
- detectLst,
9
- sleep
10
- } from "./chunk-SSPDNHDW.js";
11
- import {
12
- termjson
13
- } from "./chunk-HUA2EFQO.js";
14
- import {
15
- require_tape
16
- } from "./chunk-QWOE5YTB.js";
17
- import "./chunk-EHXI36HJ.js";
18
- import "./chunk-FDOSJKDA.js";
19
- import "./chunk-OLUDD6EC.js";
20
- import "./chunk-65YTZS3R.js";
21
- import "./chunk-PRZWSBMA.js";
22
- import "./chunk-LOMVTHAM.js";
23
- import "./chunk-MKAF2BHB.js";
24
- import "./chunk-AQ4OP4GR.js";
25
- import "./chunk-MSW7OS2O.js";
26
- import "./chunk-ENP4FLOX.js";
27
- import "./chunk-YWUVCXFS.js";
28
- import "./chunk-HJ6L54YS.js";
29
- import "./chunk-3QBZ2Y77.js";
30
- import "./chunk-HYOEWQ5P.js";
31
- import "./chunk-FN5XPUPH.js";
32
- import "./chunk-G6O3URDN.js";
33
- import "./chunk-LSEFWW72.js";
34
- import "./chunk-KWM6B3NL.js";
35
- import "./chunk-UCLS2SVB.js";
36
- import "./chunk-6ZCHECOT.js";
37
- import "./chunk-MVTCBVSX.js";
38
- import "./chunk-2K5DSRBJ.js";
39
- import "./chunk-X4NI4JLQ.js";
40
- import "./chunk-L4QG7XZE.js";
41
- import "./chunk-DQC5FFGV.js";
42
- import "./chunk-UWYCEYML.js";
43
- import "./chunk-7UHUOC6F.js";
44
- import "./chunk-ZYY54HBU.js";
45
- import "./chunk-EGWVYY7K.js";
46
- import {
47
- CNVClasses,
48
- mutationClasses,
49
- proteinChangingMutations,
50
- synonymousMutations,
51
- truncatingMutations
52
- } from "./chunk-AMYSEKPF.js";
53
- import "./chunk-TV74I3Y5.js";
54
- import "./chunk-KSGA62R2.js";
55
- import "./chunk-LOZEKOES.js";
56
- import "./chunk-TOU7EVFQ.js";
57
- import "./chunk-OAWQ6LOO.js";
58
- import "./chunk-KYBIQBXE.js";
59
- import "./chunk-I6Y4O3RR.js";
60
- import "./chunk-OMR2DT66.js";
61
- import {
62
- __toESM
63
- } from "./chunk-HFNDKYVF.js";
64
-
65
- // plots/matrix/test/matrix.integration.spec.js
66
- var import_tape = __toESM(require_tape(), 1);
67
- (0, import_tape.default)("\n", function(test) {
68
- test.comment("-***- plots/matrix -***-");
69
- test.end();
70
- });
71
- (0, import_tape.default)("only dictionary terms", function(test) {
72
- test.timeoutAfter(5e3);
73
- test.plan(5);
74
- runpp({
75
- state: {
76
- plots: [
77
- {
78
- chartType: "matrix",
79
- settings: {
80
- matrix: {
81
- // the matrix autocomputes the colw based on available screen width,
82
- // need to set an exact screen width for consistent tests using getBBox()
83
- availContentWidth: 1200
84
- }
85
- },
86
- termgroups: [
87
- {
88
- name: "Demographics",
89
- lst: [
90
- {
91
- id: "aaclassic_5",
92
- q: {
93
- mode: "continuous"
94
- }
95
- },
96
- {
97
- id: "sex"
98
- //q: { mode: 'values' } // or 'groupsetting'
99
- },
100
- {
101
- id: "agedx",
102
- q: {
103
- mode: "discrete",
104
- type: "regular-bin",
105
- bin_size: 5,
106
- first_bin: {
107
- startunbounded: true,
108
- stop: 5,
109
- stopinclusive: true
110
- }
111
- }
112
- // or 'continuous'
113
- },
114
- {
115
- id: "Arrhythmias"
116
- }
117
- ]
118
- }
119
- ]
120
- }
121
- ]
122
- },
123
- matrix: {
124
- callbacks: {
125
- "postRender.test": runTests
126
- }
127
- }
128
- });
129
- function runTests(matrix) {
130
- matrix.on("postRender.test", null);
131
- test.equal(
132
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
133
- 4,
134
- `should render the expected number of serieses`
135
- );
136
- test.equal(
137
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
138
- 240,
139
- `should render the expected number of cell rects`
140
- );
141
- test.equal(
142
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
143
- 1,
144
- `should render the expected number of cluster rects`
145
- );
146
- const sg0rects = matrix.Inner.dom.seriesesG.select(".sjpp-mass-series-g").selectAll("rect");
147
- test.equal(
148
- sg0rects.filter((d) => d.key <= 0 && d.fill === "transparent").size(),
149
- 14,
150
- `should render special values with transparent rects`
151
- );
152
- const uniqueHts = /* @__PURE__ */ new Set();
153
- sg0rects.each((d) => uniqueHts.add(d.height));
154
- test.equal(uniqueHts.size, 45, `should render different rect heights for continuous mode bar plots`);
155
- if (test._ok) matrix.Inner.app.destroy();
156
- test.end();
157
- }
158
- });
159
- (0, import_tape.default)("termCollection", function(test) {
160
- runpp({
161
- state: {
162
- plots: [
163
- {
164
- chartType: "matrix",
165
- termgroups: [
166
- {
167
- name: "",
168
- lst: [getTermCollection()]
169
- }
170
- ]
171
- }
172
- ]
173
- },
174
- matrix: { callbacks: { "postRender.test": runTests } }
175
- });
176
- function runTests(matrix) {
177
- matrix.on("postRender.test", null);
178
- test.equal(
179
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
180
- 1,
181
- `should render the expected number of serieses`
182
- );
183
- if (test._ok) matrix.Inner.app.destroy();
184
- test.end();
185
- }
186
- });
187
- (0, import_tape.default)("with divide by terms", function(test) {
188
- test.timeoutAfter(5e3);
189
- test.plan(3);
190
- runpp({
191
- state: {
192
- plots: [
193
- {
194
- chartType: "matrix",
195
- settings: {
196
- // the matrix autocomputes the colw based on available screen width,
197
- // need to set an exact screen width for consistent tests using getBBox()
198
- matrix: {
199
- availContentWidth: 1200
200
- }
201
- },
202
- divideBy: {
203
- id: "sex"
204
- },
205
- termgroups: [
206
- {
207
- name: "Demographics",
208
- lst: [
209
- { id: "agedx", term: termjson["agedx"] },
210
- { id: "diaggrp", term: termjson["diaggrp"] },
211
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
212
- ]
213
- }
214
- ]
215
- }
216
- ]
217
- },
218
- matrix: {
219
- callbacks: {
220
- "postRender.test": runTests
221
- }
222
- }
223
- });
224
- function runTests(matrix) {
225
- matrix.on("postRender.test", null);
226
- test.equal(
227
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
228
- 3,
229
- `should render the expected number of serieses`
230
- );
231
- test.equal(
232
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
233
- 180,
234
- `should render the expected number of cell rects`
235
- );
236
- test.equal(
237
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
238
- 2,
239
- `should render the expected number of cluster rects`
240
- );
241
- if (test._ok) matrix.Inner.app.destroy();
242
- test.end();
243
- }
244
- });
245
- (0, import_tape.default)("long column group labels", function(test) {
246
- test.timeoutAfter(5e3);
247
- test.plan(2);
248
- runpp({
249
- state: {
250
- plots: [
251
- {
252
- chartType: "matrix",
253
- settings: {
254
- // the matrix autocomputes the colw based on available screen width,
255
- // need to set an exact screen width for consistent tests using getBBox()
256
- matrix: {
257
- availContentWidth: 1200
258
- }
259
- },
260
- divideBy: {
261
- id: "diaggrp"
262
- },
263
- termgroups: [
264
- {
265
- name: "Demographics",
266
- lst: [
267
- { id: "diaggrp", term: termjson["diaggrp"] },
268
- { id: "agedx", term: termjson["agedx"] },
269
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
270
- ]
271
- }
272
- ]
273
- }
274
- ]
275
- },
276
- matrix: {
277
- callbacks: {
278
- "postRender.test222": runTests
279
- }
280
- }
281
- });
282
- function runTests(matrix) {
283
- matrix.on("postRender.test222", null);
284
- const y = matrix.Inner.dom.clipRect.property("y").baseVal.value;
285
- test.true(y > -63 && y < -62, `should adjust the clip-path rect y-value to between -39 and -38, actual=${y}`);
286
- const h = matrix.Inner.dom.clipRect.property("height").baseVal.value;
287
- test.true(h > 619 && h <= 620, `should adjust the clip-path height to between 595 and 596, actual=${h}`);
288
- if (test._ok) matrix.Inner.app.destroy();
289
- test.end();
290
- }
291
- });
292
- (0, import_tape.default)("divide by continuous terms", function(test) {
293
- test.timeoutAfter(5e3);
294
- test.plan(3);
295
- runpp({
296
- state: {
297
- plots: [
298
- {
299
- chartType: "matrix",
300
- settings: {
301
- // the matrix autocomputes the colw based on available screen width,
302
- // need to set an exact screen width for consistent tests using getBBox()
303
- matrix: {
304
- availContentWidth: 1200
305
- }
306
- },
307
- divideBy: {
308
- id: "agedx"
309
- },
310
- termgroups: [
311
- {
312
- name: "Demographics",
313
- lst: [
314
- { id: "sex", term: termjson["sex"] },
315
- { id: "diaggrp", term: termjson["diaggrp"] },
316
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
317
- ]
318
- }
319
- ]
320
- }
321
- ]
322
- },
323
- matrix: {
324
- callbacks: {
325
- "postRender.test": runTests
326
- }
327
- }
328
- });
329
- function runTests(matrix) {
330
- matrix.on("postRender.test", null);
331
- test.equal(
332
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
333
- 3,
334
- `should render the expected number of serieses`
335
- );
336
- test.equal(
337
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
338
- 180,
339
- `should render the expected number of cell rects`
340
- );
341
- test.equal(
342
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
343
- 5,
344
- `should render the expected number of cluster rects`
345
- );
346
- if (test._ok) matrix.Inner.app.destroy();
347
- test.end();
348
- }
349
- });
350
- (0, import_tape.default)("geneVariant term", function(test) {
351
- test.timeoutAfter(5e3);
352
- test.plan(2);
353
- runpp({
354
- state: {
355
- nav: {
356
- activeTab: 1
357
- },
358
- plots: [
359
- {
360
- chartType: "matrix",
361
- settings: {
362
- // the matrix autocomputes the colw based on available screen width,
363
- // need to set an exact screen width for consistent tests using getBBox()
364
- matrix: {
365
- availContentWidth: 1200
366
- }
367
- },
368
- termgroups: [
369
- {
370
- name: "",
371
- lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
372
- }
373
- ]
374
- }
375
- ]
376
- },
377
- matrix: {
378
- callbacks: {
379
- "postRender.test": runTests
380
- }
381
- }
382
- });
383
- function runTests(matrix) {
384
- matrix.on("postRender.test", null);
385
- test.equal(
386
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
387
- 1,
388
- `should render the expected number of serieses`
389
- );
390
- test.equal(
391
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
392
- 240,
393
- `should render the expected number of cell rects`
394
- );
395
- if (test._ok) matrix.Inner.app.destroy();
396
- test.end();
397
- }
398
- });
399
- (0, import_tape.default)("geneVariant terms and dictionary terms", function(test) {
400
- test.timeoutAfter(5e3);
401
- test.plan(3);
402
- runpp({
403
- state: {
404
- nav: {
405
- activeTab: 1
406
- },
407
- plots: [
408
- {
409
- chartType: "matrix",
410
- settings: {
411
- // the matrix autocomputes the colw based on available screen width,
412
- // need to set an exact screen width for consistent tests using getBBox()
413
- matrix: {
414
- availContentWidth: 1200
415
- }
416
- },
417
- termgroups: [
418
- {
419
- name: "",
420
- lst: [
421
- ...getGenes(),
422
- { id: "agedx", term: termjson["agedx"] },
423
- { id: "diaggrp", term: termjson["diaggrp"] },
424
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
425
- ]
426
- }
427
- ]
428
- }
429
- ]
430
- },
431
- matrix: {
432
- callbacks: {
433
- "postRender.test": runTests
434
- }
435
- }
436
- });
437
- function runTests(matrix) {
438
- matrix.on("postRender.test", null);
439
- test.equal(
440
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
441
- 6,
442
- `should render the expected number of serieses`
443
- );
444
- test.equal(
445
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
446
- 900,
447
- `should render the expected number of cell rects`
448
- );
449
- test.equal(
450
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
451
- 1,
452
- `should render the expected number of cluster rects`
453
- );
454
- if (test._ok) matrix.Inner.app.destroy();
455
- test.end();
456
- }
457
- });
458
- (0, import_tape.default)("geneVariant terms with divide by dictionary term", function(test) {
459
- test.timeoutAfter(5e3);
460
- test.plan(3);
461
- runpp({
462
- state: {
463
- nav: {
464
- activeTab: 1
465
- },
466
- plots: [
467
- {
468
- chartType: "matrix",
469
- settings: {
470
- // the matrix autocomputes the colw based on available screen width,
471
- // need to set an exact screen width for consistent tests using getBBox()
472
- matrix: {
473
- availContentWidth: 1200
474
- }
475
- },
476
- divideBy: {
477
- id: "sex"
478
- },
479
- termgroups: [
480
- {
481
- name: "",
482
- lst: getGenes()
483
- }
484
- ]
485
- }
486
- ]
487
- },
488
- matrix: {
489
- callbacks: {
490
- "postRender.test": runTests
491
- }
492
- }
493
- });
494
- function runTests(matrix) {
495
- matrix.on("postRender.test", null);
496
- test.equal(
497
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
498
- 3,
499
- `should render the expected number of serieses`
500
- );
501
- test.equal(
502
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
503
- 720,
504
- `should render the expected number of cell rects`
505
- );
506
- test.equal(
507
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
508
- 2,
509
- `should render the expected number of cluster rects`
510
- );
511
- if (test._ok) matrix.Inner.app.destroy();
512
- test.end();
513
- }
514
- });
515
- (0, import_tape.default)("geneVariant terms and dictionary terms divide by dictionary term", function(test) {
516
- test.timeoutAfter(5e3);
517
- test.plan(3);
518
- runpp({
519
- state: {
520
- nav: {
521
- activeTab: 1
522
- },
523
- plots: [
524
- {
525
- chartType: "matrix",
526
- settings: {
527
- // the matrix autocomputes the colw based on available screen width,
528
- // need to set an exact screen width for consistent tests using getBBox()
529
- matrix: {
530
- availContentWidth: 1200
531
- }
532
- },
533
- divideBy: {
534
- id: "sex"
535
- },
536
- termgroups: [
537
- {
538
- name: "",
539
- lst: [
540
- ...getGenes(),
541
- { id: "agedx", term: termjson["agedx"] },
542
- { id: "diaggrp", term: termjson["diaggrp"] },
543
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
544
- ]
545
- }
546
- ]
547
- }
548
- ]
549
- },
550
- matrix: {
551
- callbacks: {
552
- "postRender.test": runTests
553
- }
554
- }
555
- });
556
- function runTests(matrix) {
557
- matrix.on("postRender.test", null);
558
- test.equal(
559
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
560
- 6,
561
- `should render the expected number of serieses`
562
- );
563
- test.equal(
564
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
565
- 900,
566
- `should render the expected number of cell rects`
567
- );
568
- test.equal(
569
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
570
- 2,
571
- `should render the expected number of cluster rects`
572
- );
573
- if (test._ok) matrix.Inner.app.destroy();
574
- test.end();
575
- }
576
- });
577
- (0, import_tape.default)("sort samples by sample name", function(test) {
578
- test.timeoutAfter(5e3);
579
- test.plan(4);
580
- runpp({
581
- state: {
582
- nav: {
583
- activeTab: 1
584
- },
585
- plots: [
586
- {
587
- chartType: "matrix",
588
- settings: {
589
- // the matrix autocomputes the colw based on available screen width,
590
- // need to set an exact screen width for consistent tests using getBBox()
591
- matrix: {
592
- availContentWidth: 1200,
593
- sortSamplesBy: "name"
594
- }
595
- },
596
- termgroups: [
597
- {
598
- name: "",
599
- lst: getGenes()
600
- }
601
- ]
602
- }
603
- ]
604
- },
605
- matrix: {
606
- callbacks: {
607
- "postRender.test": runTests
608
- }
609
- }
610
- });
611
- function runTests(matrix) {
612
- matrix.on("postRender.test", null);
613
- const g = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g");
614
- test.equal(g.size(), 60, `should render the expected number of sample names`);
615
- test.equal(g._groups[0][0].textContent, "2646", `should be the expected sample name`);
616
- test.equal(g._groups[0][9].textContent, "2772", `should be the expected sample name`);
617
- test.equal(g._groups[0][59].textContent, "3472", `should be the expected sample name`);
618
- if (test._ok) matrix.Inner.app.destroy();
619
- test.end();
620
- }
621
- });
622
- (0, import_tape.default)("sort samples by Mutation categories, not sorted by CNV", function(test) {
623
- test.timeoutAfter(5e3);
624
- test.plan(4);
625
- runpp({
626
- state: {
627
- nav: {
628
- activeTab: 1
629
- },
630
- plots: [
631
- {
632
- chartType: "matrix",
633
- settings: {
634
- // the matrix autocomputes the colw based on available screen width,
635
- // need to set an exact screen width for consistent tests using getBBox()
636
- matrix: {
637
- availContentWidth: 1200,
638
- sortSamplesBy: "a"
639
- }
640
- },
641
- termgroups: [
642
- {
643
- name: "Demographics",
644
- lst: getGenes()
645
- }
646
- ]
647
- }
648
- ]
649
- },
650
- matrix: {
651
- callbacks: {
652
- "postRender.test": runTests
653
- }
654
- }
655
- });
656
- function runTests(matrix) {
657
- matrix.on("postRender.test", null);
658
- test.equal(
659
- matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
660
- 60,
661
- `should render the expected number of sample names`
662
- );
663
- const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
664
- const index_3346 = Array.from(rects).find((rect) => rect.textContent == "3346").__data__.index;
665
- test.true(index_3346 < 10, `sample 3346 should be in the expected order (not sorted by CNV)`);
666
- const index_2660 = Array.from(rects).find((rect) => rect.textContent == "2660").__data__.index;
667
- test.equal(index_2660, 8, `sample 2660 should be in the expected order (not sorted by CNV)`);
668
- const index_3472 = Array.from(rects).find((rect) => rect.textContent == "3472").__data__.index;
669
- test.true(index_3472 > 9, `sample 3472 should be in the expected order (not sorted by CNV)`);
670
- if (test._ok) matrix.Inner.app.destroy();
671
- test.end();
672
- }
673
- });
674
- (0, import_tape.default)("sort samples by CNV+SSM > SSM-only", function(test) {
675
- test.timeoutAfter(5e3);
676
- test.plan(5);
677
- const sortOptions = getSortOptions(
678
- void 0,
679
- {},
680
- {
681
- proteinChangingMutations,
682
- truncatingMutations,
683
- synonymousMutations,
684
- mutationClasses,
685
- CNVClasses
686
- }
687
- );
688
- const cnvtb = sortOptions.a.sortPriority[0].tiebreakers[2];
689
- cnvtb.disabled = false;
690
- runpp({
691
- state: {
692
- nav: {
693
- activeTab: 1
694
- },
695
- plots: [
696
- {
697
- chartType: "matrix",
698
- legendValueFilter: {
699
- type: "tvslst",
700
- lst: []
701
- },
702
- settings: {
703
- // the matrix autocomputes the colw based on available screen width,
704
- // need to set an exact screen width for consistent tests using getBBox()
705
- matrix: {
706
- availContentWidth: 1200,
707
- sortSamplesBy: "a",
708
- sortOptions
709
- }
710
- },
711
- termgroups: [
712
- {
713
- name: "",
714
- lst: getGenes()
715
- }
716
- ]
717
- }
718
- ]
719
- },
720
- matrix: {
721
- callbacks: {
722
- "postRender.test": runTests
723
- }
724
- }
725
- });
726
- function runTests(matrix) {
727
- matrix.on("postRender.test", null);
728
- test.equal(
729
- matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
730
- 60,
731
- `should render the expected number of sample names`
732
- );
733
- const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
734
- const r = Array.from(rects);
735
- const index_3416 = r.find((rect) => rect.textContent == "3416").__data__.index;
736
- test.equal(index_3416, 0, `should be in the expected order`);
737
- const index_3346 = r.find((rect) => rect.textContent == "3346").__data__.index;
738
- test.equal(index_3346, 9, `should be in the expected order`);
739
- const index_2660 = r.find((rect) => rect.textContent == "2660").__data__.index;
740
- test.equal(index_2660, 11, `should be in the expected order`);
741
- const index_3472 = r.find((rect) => rect.textContent == "3472").__data__.index;
742
- test.equal(index_3472, r.length - 1, `should be in the expected order`);
743
- if (test._ok) matrix.Inner.app.destroy();
744
- test.end();
745
- }
746
- });
747
- (0, import_tape.default)("set max number of samples", function(test) {
748
- test.timeoutAfter(5e3);
749
- test.plan(1);
750
- runpp({
751
- state: {
752
- nav: {
753
- activeTab: 1
754
- },
755
- plots: [
756
- {
757
- chartType: "matrix",
758
- settings: {
759
- matrix: {
760
- // the matrix autocomputes the colw based on available screen width,
761
- // need to set an exact screen width for consistent tests using getBBox()
762
- availContentWidth: 1200,
763
- maxSample: 10
764
- }
765
- },
766
- termgroups: [
767
- {
768
- name: "",
769
- lst: [
770
- {
771
- id: "sex"
772
- //q: { mode: 'values' } // or 'groupsetting'
773
- }
774
- ]
775
- }
776
- ]
777
- }
778
- ]
779
- },
780
- matrix: {
781
- callbacks: {
782
- "postRender.test": runTests
783
- }
784
- }
785
- });
786
- function runTests(matrix) {
787
- matrix.on("postRender.test", null);
788
- test.equal(
789
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
790
- 10,
791
- `should render the expected number of cell rects`
792
- );
793
- if (test._ok) matrix.Inner.app.destroy();
794
- test.end();
795
- }
796
- });
797
- (0, import_tape.default)("sort sample groups by Group Name", function(test) {
798
- test.timeoutAfter(5e3);
799
- test.plan(2);
800
- runpp({
801
- state: {
802
- nav: {
803
- activeTab: 1
804
- },
805
- plots: [
806
- {
807
- chartType: "matrix",
808
- settings: {
809
- // the matrix autocomputes the colw based on available screen width,
810
- // need to set an exact screen width for consistent tests using getBBox()
811
- matrix: {
812
- availContentWidth: 1200,
813
- sortSampleGrpsBy: "name"
814
- }
815
- },
816
- divideBy: {
817
- id: "genetic_race"
818
- },
819
- termgroups: [
820
- {
821
- name: "",
822
- lst: getGenes()
823
- }
824
- ]
825
- }
826
- ]
827
- },
828
- matrix: {
829
- callbacks: {
830
- "postRender.test": runTests
831
- }
832
- }
833
- });
834
- function runTests(matrix) {
835
- matrix.on("postRender.test", null);
836
- const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
837
- ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
838
- )._groups[0];
839
- test.true(matrixGroupLabels[0].textContent.startsWith("African Ancestry"), `should be the expected group name`);
840
- test.true(matrixGroupLabels[2].textContent.startsWith("European Ancestry"), `should be the expected group name`);
841
- if (test._ok) matrix.Inner.app.destroy();
842
- test.end();
843
- }
844
- });
845
- (0, import_tape.default)("sort sample groups by Sample Count", function(test) {
846
- test.timeoutAfter(5e3);
847
- test.plan(2);
848
- runpp({
849
- state: {
850
- nav: {
851
- activeTab: 1
852
- },
853
- plots: [
854
- {
855
- chartType: "matrix",
856
- settings: {
857
- // the matrix autocomputes the colw based on available screen width,
858
- // need to set an exact screen width for consistent tests using getBBox()
859
- matrix: {
860
- availContentWidth: 1200,
861
- sortSampleGrpsBy: "sampleCount"
862
- }
863
- },
864
- divideBy: {
865
- id: "genetic_race"
866
- },
867
- termgroups: [
868
- {
869
- name: "",
870
- lst: getGenes()
871
- }
872
- ]
873
- }
874
- ]
875
- },
876
- matrix: {
877
- callbacks: {
878
- "postRender.test": runTests
879
- }
880
- }
881
- });
882
- function runTests(matrix) {
883
- matrix.on("postRender.test", null);
884
- const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
885
- ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
886
- )._groups[0];
887
- test.true(matrixGroupLabels[0].textContent.startsWith("European Ancestry"), `should be the expected group name`);
888
- test.true(matrixGroupLabels[2].textContent.startsWith("Asian Ancestry"), `should be the expected group name`);
889
- if (test._ok) matrix.Inner.app.destroy();
890
- test.end();
891
- }
892
- });
893
- (0, import_tape.default)("sort sample groups by Hits", function(test) {
894
- test.timeoutAfter(5e3);
895
- test.plan(2);
896
- runpp({
897
- state: {
898
- nav: {
899
- activeTab: 1
900
- },
901
- plots: [
902
- {
903
- chartType: "matrix",
904
- settings: {
905
- // the matrix autocomputes the colw based on available screen width,
906
- // need to set an exact screen width for consistent tests using getBBox()
907
- matrix: {
908
- availContentWidth: 1200,
909
- sortSampleGrpsBy: "hits"
910
- }
911
- },
912
- divideBy: {
913
- id: "Hearing loss"
914
- },
915
- termgroups: [
916
- {
917
- name: "",
918
- lst: getGenes()
919
- }
920
- ]
921
- }
922
- ]
923
- },
924
- matrix: {
925
- callbacks: {
926
- "postRender.test": runTests
927
- }
928
- }
929
- });
930
- function runTests(matrix) {
931
- matrix.on("postRender.test", null);
932
- const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
933
- ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
934
- )._groups[0];
935
- test.true(matrixGroupLabels[0].textContent.startsWith("3: Severe"), `should be the expected group name`);
936
- test.true(matrixGroupLabels[4].textContent.startsWith("1: Mild"), `should be the expected group name`);
937
- if (test._ok) matrix.Inner.app.destroy();
938
- test.end();
939
- }
940
- });
941
- (0, import_tape.default)("sort sample groups by Hits 2", function(test) {
942
- test.timeoutAfter(5e3);
943
- test.plan(2);
944
- runpp({
945
- state: {
946
- plots: [
947
- {
948
- id: "xyz",
949
- chartType: "matrix",
950
- settings: {
951
- // the matrix autocomputes the colw based on available screen width,
952
- // need to set an exact screen width for consistent tests using getBBox()
953
- matrix: {
954
- availContentWidth: 1200,
955
- sortSampleGrpsBy: "hits"
956
- }
957
- },
958
- divideBy: {
959
- id: "agedx"
960
- },
961
- termgroups: [
962
- {
963
- name: "",
964
- lst: getGenes()
965
- }
966
- ]
967
- }
968
- ]
969
- },
970
- matrix: {
971
- callbacks: {
972
- postRender: runTests
973
- }
974
- }
975
- });
976
- function runTests(matrix) {
977
- matrix.on("postRender", null);
978
- const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
979
- ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
980
- )._groups[0];
981
- test.true(matrixGroupLabels[0].textContent.startsWith("10 to <15"), `should have the expected left-most group name`);
982
- test.true(matrixGroupLabels[4].textContent.startsWith("\u226520"), `should have the right-most expected group name`);
983
- if (test._ok) matrix.Inner.app.destroy();
984
- test.end();
985
- }
986
- });
987
- (0, import_tape.default)("Display Sample Counts for Gene: Absolute", function(test) {
988
- test.timeoutAfter(5e3);
989
- test.plan(2);
990
- runpp({
991
- state: {
992
- plots: [
993
- {
994
- chartType: "matrix",
995
- settings: {
996
- // the matrix autocomputes the colw based on available screen width,
997
- // need to set an exact screen width for consistent tests using getBBox()
998
- matrix: {
999
- availContentWidth: 1200,
1000
- samplecount4gene: "abs"
1001
- }
1002
- },
1003
- termgroups: [
1004
- {
1005
- name: "",
1006
- lst: getGenes()
1007
- }
1008
- ]
1009
- }
1010
- ]
1011
- },
1012
- matrix: {
1013
- callbacks: {
1014
- "postRender.test": runTests
1015
- }
1016
- }
1017
- });
1018
- function runTests(matrix) {
1019
- matrix.on("postRender.test", null);
1020
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1021
- const pattern = /\(\d+\)/;
1022
- test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by absolute number`);
1023
- test.true(
1024
- pattern.test(termLabels[termLabels.length - 1].textContent),
1025
- `should display sample counts for gene by absolute number`
1026
- );
1027
- if (test._ok) matrix.Inner.app.destroy();
1028
- test.end();
1029
- }
1030
- });
1031
- (0, import_tape.default)("Display Sample Counts for Gene: Percent", function(test) {
1032
- test.timeoutAfter(5e3);
1033
- test.plan(2);
1034
- runpp({
1035
- state: {
1036
- plots: [
1037
- {
1038
- chartType: "matrix",
1039
- settings: {
1040
- // the matrix autocomputes the colw based on available screen width,
1041
- // need to set an exact screen width for consistent tests using getBBox()
1042
- matrix: {
1043
- availContentWidth: 1200,
1044
- samplecount4gene: "pct"
1045
- }
1046
- },
1047
- termgroups: [
1048
- {
1049
- name: "",
1050
- lst: getGenes()
1051
- }
1052
- ]
1053
- }
1054
- ]
1055
- },
1056
- matrix: {
1057
- callbacks: {
1058
- "postRender.test": runTests
1059
- }
1060
- }
1061
- });
1062
- function runTests(matrix) {
1063
- matrix.on("postRender.test", null);
1064
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1065
- const pattern = /\(\d+(\.\d+)? ?%\)/;
1066
- test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by percentage`);
1067
- test.true(
1068
- pattern.test(termLabels[termLabels.length - 1].textContent),
1069
- `should display sample counts for gene by percentage`
1070
- );
1071
- if (test._ok) matrix.Inner.app.destroy();
1072
- test.end();
1073
- }
1074
- });
1075
- (0, import_tape.default)("Display Sample Counts for Gene: None", function(test) {
1076
- test.timeoutAfter(5e3);
1077
- test.plan(2);
1078
- runpp({
1079
- state: {
1080
- plots: [
1081
- {
1082
- chartType: "matrix",
1083
- settings: {
1084
- // the matrix autocomputes the colw based on available screen width,
1085
- // need to set an exact screen width for consistent tests using getBBox()
1086
- matrix: {
1087
- availContentWidth: 1200,
1088
- samplecount4gene: ""
1089
- }
1090
- },
1091
- termgroups: [
1092
- {
1093
- name: "",
1094
- lst: getGenes()
1095
- }
1096
- ]
1097
- }
1098
- ]
1099
- },
1100
- matrix: {
1101
- callbacks: {
1102
- "postRender.test": runTests
1103
- }
1104
- }
1105
- });
1106
- function runTests(matrix) {
1107
- matrix.on("postRender.test", null);
1108
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1109
- const pattern = /\(\d+(\.\d+)?%\)|\(\d+\)/g;
1110
- test.true(!pattern.test(termLabels[0].textContent), `should not display sample counts for gene`);
1111
- test.true(!pattern.test(termLabels[termLabels.length - 1].textContent), `should not display sample counts for gene`);
1112
- if (test._ok) matrix.Inner.app.destroy();
1113
- test.end();
1114
- }
1115
- });
1116
- (0, import_tape.default)("Sort Genes By Sample Count", function(test) {
1117
- test.timeoutAfter(5e3);
1118
- test.plan(2);
1119
- runpp({
1120
- state: {
1121
- plots: [
1122
- {
1123
- chartType: "matrix",
1124
- settings: {
1125
- // the matrix autocomputes the colw based on available screen width,
1126
- // need to set an exact screen width for consistent tests using getBBox()
1127
- matrix: {
1128
- availContentWidth: 1200,
1129
- sortTermsBy: "sampleCount"
1130
- }
1131
- },
1132
- termgroups: [
1133
- {
1134
- name: "",
1135
- lst: getGenes()
1136
- }
1137
- ]
1138
- }
1139
- ]
1140
- },
1141
- matrix: {
1142
- callbacks: {
1143
- "postRender.test": runTests
1144
- }
1145
- }
1146
- });
1147
- function runTests(matrix) {
1148
- matrix.on("postRender.test", null);
1149
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1150
- test.true(termLabels[0].textContent.startsWith("AKT1"), `should sort genes by sample count`);
1151
- test.true(termLabels[2].textContent.startsWith("KRAS"), `should sort genes by sample count`);
1152
- if (test._ok) matrix.Inner.app.destroy();
1153
- test.end();
1154
- }
1155
- });
1156
- (0, import_tape.default)("Sort Genes By Input Data Order", function(test) {
1157
- test.timeoutAfter(5e3);
1158
- test.plan(2);
1159
- runpp({
1160
- state: {
1161
- plots: [
1162
- {
1163
- chartType: "matrix",
1164
- settings: {
1165
- // the matrix autocomputes the colw based on available screen width,
1166
- // need to set an exact screen width for consistent tests using getBBox()
1167
- matrix: {
1168
- availContentWidth: 1200,
1169
- sortTermsBy: "asListed"
1170
- }
1171
- },
1172
- termgroups: [
1173
- {
1174
- name: "",
1175
- lst: getGenes()
1176
- }
1177
- ]
1178
- }
1179
- ]
1180
- },
1181
- matrix: {
1182
- callbacks: {
1183
- "postRender.test": runTests
1184
- }
1185
- }
1186
- });
1187
- function runTests(matrix) {
1188
- matrix.on("postRender.test", null);
1189
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1190
- test.true(termLabels[0].textContent.startsWith("TP53"), `should sort genes by input data order`);
1191
- test.true(termLabels[2].textContent.startsWith("AKT1"), `should sort genes by input data order`);
1192
- if (test._ok) matrix.Inner.app.destroy();
1193
- test.end();
1194
- }
1195
- });
1196
- (0, import_tape.default)("avoid race condition - plot edit", function(test) {
1197
- test.timeoutAfter(1500);
1198
- test.plan(4);
1199
- runpp({
1200
- state: {
1201
- plots: [
1202
- {
1203
- chartType: "matrix",
1204
- settings: {
1205
- // the matrix autocomputes the colw based on available screen width,
1206
- // need to set an exact screen width for consistent tests using getBBox()
1207
- matrix: {
1208
- availContentWidth: 1200,
1209
- sortTermsBy: "asListed"
1210
- }
1211
- },
1212
- termgroups: [
1213
- {
1214
- name: "",
1215
- lst: getGenes()
1216
- }
1217
- ]
1218
- }
1219
- ]
1220
- },
1221
- matrix: {
1222
- callbacks: {
1223
- "postRender.test": runTests
1224
- }
1225
- }
1226
- });
1227
- async function runTests(matrix) {
1228
- matrix.on("postRender.test", null);
1229
- matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1230
- matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1231
- const j = i;
1232
- i = 0;
1233
- const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1234
- await sleep(j);
1235
- return data;
1236
- };
1237
- matrix.on("postRender.test", async () => {
1238
- matrix.on("postRender.test", null);
1239
- await sleep(responseDelay + 300);
1240
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1241
- test.equal(termLabels.size(), 1, `should have 1 gene row`);
1242
- test.true(termLabels._groups?.[0][0].textContent.startsWith("BCR"), `should sort genes by input data order`);
1243
- const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1244
- const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1245
- test.equal(
1246
- rects.size(),
1247
- 240,
1248
- "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1249
- );
1250
- test.equal(hits.size(), 2, "should have the expected number of matrix cell rects with hits");
1251
- if (test._ok) matrix.Inner.app.destroy();
1252
- test.end();
1253
- });
1254
- const responseDelay = 10;
1255
- let i = responseDelay;
1256
- try {
1257
- const results = await Promise.all([
1258
- matrix.Inner.app.dispatch({
1259
- type: "plot_edit",
1260
- id: matrix.id,
1261
- config: {
1262
- termgroups: [
1263
- {
1264
- name: "",
1265
- lst: [
1266
- // $id is added manually since fillTermWrapper() is not called here and
1267
- // cannot be assumed to be called within store.plot_edit()
1268
- {
1269
- $id: 0,
1270
- term: {
1271
- gene: "KRAS",
1272
- name: "KRAS",
1273
- type: "geneVariant",
1274
- isleaf: true,
1275
- groupsetting: { disabled: false }
1276
- },
1277
- q: { type: "values" }
1278
- },
1279
- {
1280
- $id: 1,
1281
- term: {
1282
- gene: "AKT1",
1283
- name: "AKT1",
1284
- type: "geneVariant",
1285
- isleaf: true,
1286
- groupsetting: { disabled: false }
1287
- },
1288
- q: { type: "values" }
1289
- }
1290
- ]
1291
- }
1292
- ]
1293
- }
1294
- }),
1295
- (async () => {
1296
- await sleep(1);
1297
- matrix.Inner.app.dispatch({
1298
- type: "plot_edit",
1299
- id: matrix.id,
1300
- config: {
1301
- termgroups: [
1302
- {
1303
- name: "",
1304
- // $id is added manually since fillTermWrapper() is not called here and
1305
- // cannot be assumed to be called within store.plot_edit()
1306
- lst: [
1307
- {
1308
- $id: 3,
1309
- term: {
1310
- name: "BCR",
1311
- genes: [
1312
- {
1313
- kind: "gene",
1314
- id: "BCR",
1315
- gene: "BCR",
1316
- name: "BCR",
1317
- type: "geneVariant"
1318
- }
1319
- ],
1320
- type: "geneVariant",
1321
- isleaf: true,
1322
- groupsetting: { disabled: false }
1323
- },
1324
- q: { type: "values" }
1325
- }
1326
- ]
1327
- }
1328
- ]
1329
- }
1330
- });
1331
- })()
1332
- ]);
1333
- } catch (e) {
1334
- test.fail("error: " + e);
1335
- throw e;
1336
- }
1337
- }
1338
- });
1339
- (0, import_tape.default)("avoid race condition - cohort change", function(test) {
1340
- test.timeoutAfter(3e3);
1341
- test.plan(4);
1342
- runpp({
1343
- state: {
1344
- plots: [
1345
- {
1346
- chartType: "matrix",
1347
- settings: {
1348
- // the matrix autocomputes the colw based on available screen width,
1349
- // need to set an exact screen width for consistent tests using getBBox()
1350
- matrix: {
1351
- availContentWidth: 1200,
1352
- sortTermsBy: "asListed"
1353
- }
1354
- },
1355
- termgroups: [
1356
- {
1357
- name: "",
1358
- lst: getGenes()
1359
- }
1360
- ]
1361
- }
1362
- ]
1363
- },
1364
- matrix: {
1365
- callbacks: {
1366
- "postRender.test": runTests
1367
- }
1368
- }
1369
- });
1370
- async function runTests(matrix) {
1371
- matrix.on("postRender.test", null);
1372
- matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1373
- matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1374
- const vkeys = opts.filter.lst?.[0].tvs.values.map((v) => v.key);
1375
- const j = responseDelays[i];
1376
- i++;
1377
- await sleep(j);
1378
- const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1379
- return data;
1380
- };
1381
- matrix.on("postRender.test", async () => {
1382
- matrix.on("postRender.test", null);
1383
- await sleep(responseDelays.reduce((sum, v) => sum + v, 0) + 300);
1384
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1385
- test.equal(termLabels.size(), 3, `should have 3 gene rows`);
1386
- const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1387
- test.equal(
1388
- rects.size(),
1389
- 1200,
1390
- "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1391
- );
1392
- const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1393
- test.equal(hits.size(), 0, "should have the expected number of matrix cell rects with hits");
1394
- test.deepEqual(
1395
- matrix.Inner.app.getState().termfilter.filter.lst?.[0].tvs,
1396
- matrix.Inner.state.filter.lst?.[0].tvs,
1397
- `app.state and matrix.state should have the same cohort filter value`
1398
- );
1399
- if (test._ok) matrix.Inner.app.destroy();
1400
- test.end();
1401
- });
1402
- const responseDelays = [800, 500, 10];
1403
- let i = 0;
1404
- try {
1405
- const results = await Promise.all([
1406
- (async () => {
1407
- await sleep(100);
1408
- matrix.Inner.app.dispatch({
1409
- type: "cohort_set",
1410
- activeCohort: 1
1411
- });
1412
- })(),
1413
- (async () => {
1414
- await sleep(200);
1415
- matrix.Inner.app.dispatch({
1416
- type: "cohort_set",
1417
- activeCohort: 0
1418
- });
1419
- })(),
1420
- (async () => {
1421
- await sleep(300);
1422
- matrix.Inner.app.dispatch({
1423
- type: "cohort_set",
1424
- activeCohort: 2
1425
- });
1426
- })()
1427
- ]);
1428
- } catch (e) {
1429
- test.fail("error: " + e);
1430
- throw e;
1431
- }
1432
- }
1433
- });
1434
- (0, import_tape.default)('apply "hide" legend filters to a dictionary term', function(test) {
1435
- test.timeoutAfter(5e3);
1436
- test.plan(10);
1437
- runpp({
1438
- state: {
1439
- plots: [
1440
- {
1441
- chartType: "matrix",
1442
- settings: {
1443
- matrix: {
1444
- // the matrix autocomputes the colw based on available screen width,
1445
- // need to set an exact screen width for consistent tests using getBBox()
1446
- availContentWidth: 1200
1447
- }
1448
- },
1449
- termgroups: [
1450
- {
1451
- name: "Demographics",
1452
- lst: [
1453
- {
1454
- id: "aaclassic_5",
1455
- q: {
1456
- mode: "continuous"
1457
- }
1458
- },
1459
- {
1460
- id: "genetic_race"
1461
- //q: { mode: 'values' } // or 'groupsetting'
1462
- },
1463
- {
1464
- id: "agedx",
1465
- q: {
1466
- mode: "discrete",
1467
- type: "regular-bin",
1468
- bin_size: 5,
1469
- first_bin: {
1470
- startunbounded: true,
1471
- stop: 5,
1472
- stopinclusive: true
1473
- }
1474
- }
1475
- // or 'continuous'
1476
- }
1477
- ]
1478
- }
1479
- ]
1480
- }
1481
- ]
1482
- },
1483
- matrix: {
1484
- callbacks: {
1485
- "postRender.test": runTests
1486
- }
1487
- }
1488
- });
1489
- async function runTests(matrix) {
1490
- matrix.on("postRender.test", null);
1491
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1492
- (d) => d?.__data__?.text?.startsWith("Asian")
1493
- );
1494
- legendTexts.dispatchEvent(
1495
- new MouseEvent("mouseup", {
1496
- bubbles: true,
1497
- cancelable: true
1498
- })
1499
- );
1500
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1501
- test.equal(options[0].innerText, "Hide", `First option should be Hide`);
1502
- test.equal(options[1].innerText, "Show only", `second option should be Show only`);
1503
- test.equal(options[2].innerText, "Show all", `third option should be Show all`);
1504
- const rects = await detectLst({
1505
- elem: matrix.Inner.dom.seriesesG.node(),
1506
- selector: ".sjpp-mass-series-g rect",
1507
- count: 177,
1508
- trigger: () => {
1509
- options[0].dispatchEvent(
1510
- new MouseEvent("click", {
1511
- bubbles: true,
1512
- cancelable: true
1513
- })
1514
- );
1515
- }
1516
- });
1517
- test.equal(
1518
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1519
- 3,
1520
- `should render the expected number of serieses`
1521
- );
1522
- test.equal(
1523
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1524
- 1,
1525
- `should render the expected number of cluster rects`
1526
- );
1527
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1528
- (d) => d?.__data__?.text?.startsWith("Asian")
1529
- );
1530
- legendTexts2.dispatchEvent(
1531
- new MouseEvent("mouseup", {
1532
- bubbles: true,
1533
- cancelable: true
1534
- })
1535
- );
1536
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1537
- test.equal(options2[0].innerText, "Show", `First option should be Show`);
1538
- test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
1539
- test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
1540
- const rects2 = await detectLst({
1541
- elem: matrix.Inner.dom.seriesesG.node(),
1542
- selector: ".sjpp-mass-series-g rect",
1543
- count: 180,
1544
- trigger: () => {
1545
- options2[0].dispatchEvent(
1546
- new MouseEvent("click", {
1547
- bubbles: true,
1548
- cancelable: true
1549
- })
1550
- );
1551
- }
1552
- });
1553
- test.equal(
1554
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1555
- 3,
1556
- `should render the expected number of serieses`
1557
- );
1558
- test.equal(
1559
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1560
- 1,
1561
- `should render the expected number of cluster rects`
1562
- );
1563
- if (test._ok) matrix.Inner.app.destroy();
1564
- test.end();
1565
- }
1566
- });
1567
- (0, import_tape.default)('apply "show only" and "show all" legend filters to dictionary terms', function(test) {
1568
- test.timeoutAfter(5e3);
1569
- test.plan(14);
1570
- runpp({
1571
- state: {
1572
- plots: [
1573
- {
1574
- chartType: "matrix",
1575
- settings: {
1576
- matrix: {
1577
- // the matrix autocomputes the colw based on available screen width,
1578
- // need to set an exact screen width for consistent tests using getBBox()
1579
- availContentWidth: 1200
1580
- }
1581
- },
1582
- termgroups: [
1583
- {
1584
- name: "Demographics",
1585
- lst: [
1586
- {
1587
- id: "aaclassic_5",
1588
- q: {
1589
- mode: "continuous"
1590
- }
1591
- },
1592
- {
1593
- id: "sex"
1594
- //q: { mode: 'values' } // or 'groupsetting'
1595
- },
1596
- {
1597
- id: "agedx",
1598
- q: {
1599
- mode: "discrete",
1600
- type: "regular-bin",
1601
- bin_size: 5,
1602
- first_bin: {
1603
- startunbounded: true,
1604
- stop: 5,
1605
- stopinclusive: true
1606
- }
1607
- }
1608
- // or 'continuous'
1609
- }
1610
- ]
1611
- }
1612
- ]
1613
- }
1614
- ]
1615
- },
1616
- matrix: {
1617
- callbacks: {
1618
- "postRender.test": runTests
1619
- }
1620
- }
1621
- });
1622
- async function runTests(matrix) {
1623
- matrix.on("postRender.test", null);
1624
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1625
- (d) => d?.__data__?.text?.startsWith("Male")
1626
- );
1627
- legendTexts.dispatchEvent(
1628
- new MouseEvent("mouseup", {
1629
- bubbles: true,
1630
- cancelable: true
1631
- })
1632
- );
1633
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1634
- const rects = await detectLst({
1635
- elem: matrix.Inner.dom.seriesesG.node(),
1636
- selector: ".sjpp-mass-series-g rect",
1637
- count: 75,
1638
- trigger: () => {
1639
- options[1].dispatchEvent(
1640
- new MouseEvent("click", {
1641
- bubbles: true,
1642
- cancelable: true
1643
- })
1644
- );
1645
- }
1646
- });
1647
- test.equal(
1648
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1649
- 3,
1650
- `should render the expected number of serieses`
1651
- );
1652
- test.equal(
1653
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1654
- 1,
1655
- `should render the expected number of cluster rects`
1656
- );
1657
- const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1658
- (d) => d?.__data__?.text?.startsWith("<5")
1659
- );
1660
- secondLegendTexts.dispatchEvent(
1661
- new MouseEvent("mouseup", {
1662
- bubbles: true,
1663
- cancelable: true
1664
- })
1665
- );
1666
- const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1667
- test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
1668
- test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
1669
- test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
1670
- const secondRects = await detectLst({
1671
- elem: matrix.Inner.dom.seriesesG.node(),
1672
- selector: ".sjpp-mass-series-g rect",
1673
- count: 30,
1674
- trigger: () => {
1675
- secondOptions[1].dispatchEvent(
1676
- new MouseEvent("click", {
1677
- bubbles: true,
1678
- cancelable: true
1679
- })
1680
- );
1681
- }
1682
- });
1683
- test.equal(
1684
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1685
- 3,
1686
- `should render the expected number of serieses`
1687
- );
1688
- test.equal(
1689
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1690
- 1,
1691
- `should render the expected number of cluster rects`
1692
- );
1693
- const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1694
- (d) => d?.__data__?.text?.startsWith("<5")
1695
- );
1696
- thirdLegendTexts.dispatchEvent(
1697
- new MouseEvent("mouseup", {
1698
- bubbles: true,
1699
- cancelable: true
1700
- })
1701
- );
1702
- const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1703
- test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
1704
- test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
1705
- const thirdRects = await detectLst({
1706
- elem: matrix.Inner.dom.seriesesG.node(),
1707
- selector: ".sjpp-mass-series-g rect",
1708
- count: 0,
1709
- trigger: () => {
1710
- thirdOptions[0].dispatchEvent(
1711
- new MouseEvent("click", {
1712
- bubbles: true,
1713
- cancelable: true
1714
- })
1715
- );
1716
- }
1717
- });
1718
- test.equal(
1719
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1720
- 0,
1721
- `should render the expected number of serieses`
1722
- );
1723
- const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1724
- (d) => d?.__data__?.text?.startsWith("<5")
1725
- );
1726
- fourthLegendTexts.dispatchEvent(
1727
- new MouseEvent("mouseup", {
1728
- bubbles: true,
1729
- cancelable: true
1730
- })
1731
- );
1732
- const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1733
- test.equal(fourthOptions[0].innerText, "Show", `first option should be Show`);
1734
- test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
1735
- const fourthRects = await detectLst({
1736
- elem: matrix.Inner.dom.seriesesG.node(),
1737
- selector: ".sjpp-mass-series-g rect",
1738
- count: 75,
1739
- trigger: () => {
1740
- fourthOptions[2].dispatchEvent(
1741
- new MouseEvent("click", {
1742
- bubbles: true,
1743
- cancelable: true
1744
- })
1745
- );
1746
- }
1747
- });
1748
- test.equal(
1749
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1750
- 3,
1751
- `should render the expected number of serieses`
1752
- );
1753
- test.equal(
1754
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1755
- 1,
1756
- `should render the expected number of cluster rects`
1757
- );
1758
- if (test._ok) matrix.Inner.app.destroy();
1759
- test.end();
1760
- }
1761
- });
1762
- (0, import_tape.default)(
1763
- 'apply "Hide samples with" and "Do not show" legend filters to a geneVariant term in geneVariant term only matrix',
1764
- function(test) {
1765
- test.timeoutAfter(5e3);
1766
- test.plan(12);
1767
- runpp({
1768
- state: {
1769
- plots: [
1770
- {
1771
- chartType: "matrix",
1772
- settings: {
1773
- // the matrix autocomputes the colw based on available screen width,
1774
- // need to set an exact screen width for consistent tests using getBBox()
1775
- matrix: {
1776
- availContentWidth: 1200
1777
- }
1778
- },
1779
- termgroups: [
1780
- {
1781
- name: "",
1782
- lst: [getGenes()[0]]
1783
- }
1784
- ]
1785
- }
1786
- ]
1787
- },
1788
- matrix: {
1789
- callbacks: {
1790
- "postRender.test": runTests
1791
- }
1792
- }
1793
- });
1794
- async function runTests(matrix) {
1795
- matrix.on("postRender.test", null);
1796
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1797
- (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1798
- );
1799
- legendTexts.dispatchEvent(
1800
- new MouseEvent("mouseup", {
1801
- bubbles: true,
1802
- cancelable: true
1803
- })
1804
- );
1805
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1806
- test.equal(
1807
- options[0].innerText,
1808
- "Hide samples with FRAMESHIFT",
1809
- `First option should be "Hide samples with FRAMESHIFT"`
1810
- );
1811
- test.equal(options[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
1812
- test.equal(options.length, 2, `Should only show two options`);
1813
- const rects = await detectLst({
1814
- elem: matrix.Inner.dom.seriesesG.node(),
1815
- selector: ".sjpp-mass-series-g rect",
1816
- count: 236,
1817
- trigger: () => {
1818
- options[0].dispatchEvent(
1819
- new MouseEvent("click", {
1820
- bubbles: true,
1821
- cancelable: true
1822
- })
1823
- );
1824
- }
1825
- });
1826
- test.equal(
1827
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1828
- 1,
1829
- `should render the expected number of serieses`
1830
- );
1831
- test.equal(
1832
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1833
- 1,
1834
- `should render the expected number of cluster rects`
1835
- );
1836
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1837
- (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1838
- );
1839
- legendTexts2.dispatchEvent(
1840
- new MouseEvent("mouseup", {
1841
- bubbles: true,
1842
- cancelable: true
1843
- })
1844
- );
1845
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1846
- test.equal(
1847
- options2[0].innerText,
1848
- "Show samples with FRAMESHIFT",
1849
- `First option should be "Show samples with FRAMESHIFT"`
1850
- );
1851
- test.equal(options2.length, 1, `Should only show one option`);
1852
- const rects2 = await detectLst({
1853
- elem: matrix.Inner.dom.seriesesG.node(),
1854
- selector: ".sjpp-mass-series-g rect",
1855
- count: 240,
1856
- trigger: () => {
1857
- options2[0].dispatchEvent(
1858
- new MouseEvent("click", {
1859
- bubbles: true,
1860
- cancelable: true
1861
- })
1862
- );
1863
- }
1864
- });
1865
- test.equal(
1866
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1867
- 1,
1868
- `should render the expected number of serieses`
1869
- );
1870
- test.equal(
1871
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1872
- 1,
1873
- `should render the expected number of cluster rects`
1874
- );
1875
- const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1876
- (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1877
- );
1878
- legendTexts3.dispatchEvent(
1879
- new MouseEvent("mouseup", {
1880
- bubbles: true,
1881
- cancelable: true
1882
- })
1883
- );
1884
- const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1885
- test.equal(options3.length, 2, `Should only show two options`);
1886
- const rects3 = await detectLst({
1887
- elem: matrix.Inner.dom.seriesesG.node(),
1888
- selector: ".sjpp-mass-series-g rect",
1889
- count: 239,
1890
- trigger: () => {
1891
- options3[1].dispatchEvent(
1892
- new MouseEvent("click", {
1893
- bubbles: true,
1894
- cancelable: true
1895
- })
1896
- );
1897
- }
1898
- });
1899
- const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1900
- (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1901
- );
1902
- legendTexts4.dispatchEvent(
1903
- new MouseEvent("mouseup", {
1904
- bubbles: true,
1905
- cancelable: true
1906
- })
1907
- );
1908
- const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1909
- test.equal(
1910
- options4[0].innerText,
1911
- "Show samples with FRAMESHIFT",
1912
- `First option should be "Show samples with FRAMESHIFT"`
1913
- );
1914
- test.equal(options4.length, 1, `Should only show one option`);
1915
- const rects4 = await detectLst({
1916
- elem: matrix.Inner.dom.seriesesG.node(),
1917
- selector: ".sjpp-mass-series-g rect",
1918
- count: 240,
1919
- trigger: () => {
1920
- options4[0].dispatchEvent(
1921
- new MouseEvent("click", {
1922
- bubbles: true,
1923
- cancelable: true
1924
- })
1925
- );
1926
- }
1927
- });
1928
- if (test._ok) matrix.Inner.app.destroy();
1929
- test.end();
1930
- }
1931
- }
1932
- );
1933
- (0, import_tape.default)("apply legend group filters to a geneVariant term in geneVariant term only matrix", function(test) {
1934
- test.timeoutAfter(5e3);
1935
- test.plan(15);
1936
- runpp({
1937
- state: {
1938
- plots: [
1939
- {
1940
- chartType: "matrix",
1941
- settings: {
1942
- // the matrix autocomputes the colw based on available screen width,
1943
- // need to set an exact screen width for consistent tests using getBBox()
1944
- matrix: {
1945
- availContentWidth: 1200
1946
- }
1947
- },
1948
- termgroups: [
1949
- {
1950
- name: "",
1951
- lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
1952
- }
1953
- ]
1954
- }
1955
- ]
1956
- },
1957
- matrix: {
1958
- callbacks: {
1959
- "postRender.test": runTests
1960
- }
1961
- }
1962
- });
1963
- async function runTests(matrix) {
1964
- matrix.on("postRender.test", null);
1965
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1966
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
1967
- );
1968
- legendTexts.dispatchEvent(
1969
- new MouseEvent("mouseup", {
1970
- bubbles: true,
1971
- cancelable: true
1972
- })
1973
- );
1974
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1975
- test.equal(
1976
- options[0].innerText,
1977
- "Show only truncating mutations",
1978
- `First option should be "Show only truncating mutations"`
1979
- );
1980
- test.equal(
1981
- options[1].innerText,
1982
- "Show only protein-changing mutations",
1983
- `second option should be "Show only protein-changing mutations"`
1984
- );
1985
- test.equal(
1986
- options[2].innerText,
1987
- "Do not show Somatic Mutations",
1988
- `third option should be "Do not show Somatic Mutations"`
1989
- );
1990
- test.equal(options.length, 3, `Should show three options`);
1991
- const rects = await detectLst({
1992
- elem: matrix.Inner.dom.seriesesG.node(),
1993
- selector: ".sjpp-mass-series-g rect",
1994
- count: 181,
1995
- trigger: () => {
1996
- options[0].dispatchEvent(
1997
- new MouseEvent("click", {
1998
- bubbles: true,
1999
- cancelable: true
2000
- })
2001
- );
2002
- }
2003
- });
2004
- test.equal(
2005
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2006
- 1,
2007
- `should render the expected number of serieses`
2008
- );
2009
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2010
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2011
- );
2012
- legendTexts2.dispatchEvent(
2013
- new MouseEvent("mouseup", {
2014
- bubbles: true,
2015
- cancelable: true
2016
- })
2017
- );
2018
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2019
- test.equal(
2020
- options2[2].innerText,
2021
- "Do not show Somatic Mutations",
2022
- `third option should be "Do not show Somatic Mutations"`
2023
- );
2024
- test.equal(
2025
- options2[3].innerText,
2026
- "Show all Somatic Mutations",
2027
- `fourth option should be "Show all Somatic Mutations"`
2028
- );
2029
- test.equal(options2.length, 4, `Should show four options`);
2030
- const rects2 = await detectLst({
2031
- elem: matrix.Inner.dom.seriesesG.node(),
2032
- selector: ".sjpp-mass-series-g rect",
2033
- count: 183,
2034
- trigger: () => {
2035
- options2[1].dispatchEvent(
2036
- new MouseEvent("click", {
2037
- bubbles: true,
2038
- cancelable: true
2039
- })
2040
- );
2041
- }
2042
- });
2043
- test.equal(
2044
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2045
- 1,
2046
- `should render the expected number of serieses`
2047
- );
2048
- const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2049
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2050
- );
2051
- legendTexts3.dispatchEvent(
2052
- new MouseEvent("mouseup", {
2053
- bubbles: true,
2054
- cancelable: true
2055
- })
2056
- );
2057
- const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2058
- test.equal(
2059
- options3[2].innerText,
2060
- "Do not show Somatic Mutations",
2061
- `third option should be "Do not show Somatic Mutations"`
2062
- );
2063
- test.equal(options3.length, 4, `Should show four options`);
2064
- const rects3 = await detectLst({
2065
- elem: matrix.Inner.dom.seriesesG.node(),
2066
- selector: ".sjpp-mass-series-g rect",
2067
- count: 180,
2068
- trigger: () => {
2069
- options3[2].dispatchEvent(
2070
- new MouseEvent("click", {
2071
- bubbles: true,
2072
- cancelable: true
2073
- })
2074
- );
2075
- }
2076
- });
2077
- test.equal(
2078
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2079
- 1,
2080
- `should render the expected number of serieses`
2081
- );
2082
- const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2083
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2084
- );
2085
- legendTexts4.dispatchEvent(
2086
- new MouseEvent("mouseup", {
2087
- bubbles: true,
2088
- cancelable: true
2089
- })
2090
- );
2091
- const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2092
- test.equal(
2093
- options4[0].innerText,
2094
- "Show all Somatic Mutations",
2095
- `first option should be "Show all Somatic Mutations"`
2096
- );
2097
- test.equal(options4.length, 1, `Should show one option`);
2098
- const rects4 = await detectLst({
2099
- elem: matrix.Inner.dom.seriesesG.node(),
2100
- selector: ".sjpp-mass-series-g rect",
2101
- count: 240,
2102
- trigger: () => {
2103
- options4[0].dispatchEvent(
2104
- new MouseEvent("click", {
2105
- bubbles: true,
2106
- cancelable: true
2107
- })
2108
- );
2109
- }
2110
- });
2111
- test.equal(
2112
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2113
- 1,
2114
- `should render the expected number of serieses`
2115
- );
2116
- if (test._ok) matrix.Inner.app.destroy();
2117
- test.end();
2118
- }
2119
- });
2120
- (0, import_tape.default)(
2121
- "apply legend group filters and legend filters to a matrix with both geneVariant and dictionary terms",
2122
- function(test) {
2123
- test.timeoutAfter(5e3);
2124
- test.plan(13);
2125
- runpp({
2126
- state: {
2127
- plots: [
2128
- {
2129
- chartType: "matrix",
2130
- settings: {
2131
- // the matrix autocomputes the colw based on available screen width,
2132
- // need to set an exact screen width for consistent tests using getBBox()
2133
- matrix: {
2134
- availContentWidth: 1200
2135
- }
2136
- },
2137
- termgroups: [
2138
- {
2139
- name: "",
2140
- lst: [
2141
- ...getGenes(),
2142
- { id: "agedx", term: termjson["agedx"] },
2143
- { id: "diaggrp", term: termjson["diaggrp"] },
2144
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2145
- ]
2146
- }
2147
- ]
2148
- }
2149
- ]
2150
- },
2151
- matrix: {
2152
- callbacks: {
2153
- "postRender.test": runTests
2154
- }
2155
- }
2156
- });
2157
- async function runTests(matrix) {
2158
- matrix.on("postRender.test", null);
2159
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2160
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2161
- );
2162
- legendTexts.dispatchEvent(
2163
- new MouseEvent("mouseup", {
2164
- bubbles: true,
2165
- cancelable: true
2166
- })
2167
- );
2168
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2169
- test.equal(
2170
- options[0].innerText,
2171
- "Show only truncating mutations",
2172
- `First option should be "Show only truncating mutations"`
2173
- );
2174
- test.equal(options.length, 3, `Should show three options`);
2175
- const rects = await detectLst({
2176
- elem: matrix.Inner.dom.seriesesG.node(),
2177
- selector: ".sjpp-mass-series-g rect",
2178
- count: 721,
2179
- trigger: () => {
2180
- options[0].dispatchEvent(
2181
- new MouseEvent("click", {
2182
- bubbles: true,
2183
- cancelable: true
2184
- })
2185
- );
2186
- }
2187
- });
2188
- test.equal(
2189
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2190
- 6,
2191
- `should render the expected number of serieses`
2192
- );
2193
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2194
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2195
- );
2196
- legendTexts2.dispatchEvent(
2197
- new MouseEvent("mouseup", {
2198
- bubbles: true,
2199
- cancelable: true
2200
- })
2201
- );
2202
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2203
- test.equal(
2204
- options2[1].innerText,
2205
- "Show only protein-changing mutations",
2206
- `second option should be "Show only protein-changing mutations"`
2207
- );
2208
- test.equal(
2209
- options2[3].innerText,
2210
- "Show all Somatic Mutations",
2211
- `fourth option should be "Show all Somatic Mutations"`
2212
- );
2213
- test.equal(options2.length, 4, `Should show four options`);
2214
- const rects2 = await detectLst({
2215
- elem: matrix.Inner.dom.seriesesG.node(),
2216
- selector: ".sjpp-mass-series-g rect",
2217
- count: 724,
2218
- trigger: () => {
2219
- options2[1].dispatchEvent(
2220
- new MouseEvent("click", {
2221
- bubbles: true,
2222
- cancelable: true
2223
- })
2224
- );
2225
- }
2226
- });
2227
- const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2228
- (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2229
- );
2230
- legendTexts3.dispatchEvent(
2231
- new MouseEvent("mouseup", {
2232
- bubbles: true,
2233
- cancelable: true
2234
- })
2235
- );
2236
- const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2237
- test.equal(
2238
- options3[0].innerText,
2239
- "Hide samples with FRAMESHIFT",
2240
- `First option should be "Hide samples with FRAMESHIFT"`
2241
- );
2242
- test.equal(options3[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
2243
- const rects3 = await detectLst({
2244
- elem: matrix.Inner.dom.seriesesG.node(),
2245
- selector: ".sjpp-mass-series-g rect",
2246
- count: 711,
2247
- trigger: () => {
2248
- options3[0].dispatchEvent(
2249
- new MouseEvent("click", {
2250
- bubbles: true,
2251
- cancelable: true
2252
- })
2253
- );
2254
- }
2255
- });
2256
- test.equal(
2257
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2258
- 6,
2259
- `should render the expected number of serieses`
2260
- );
2261
- const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2262
- (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2263
- );
2264
- legendTexts4.dispatchEvent(
2265
- new MouseEvent("mouseup", {
2266
- bubbles: true,
2267
- cancelable: true
2268
- })
2269
- );
2270
- const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2271
- test.equal(
2272
- options4[0].innerText,
2273
- "Show samples with FRAMESHIFT",
2274
- `First option should be "Show samples with FRAMESHIFT"`
2275
- );
2276
- test.equal(options4.length, 1, `Should only show one option`);
2277
- const rects4 = await detectLst({
2278
- elem: matrix.Inner.dom.seriesesG.node(),
2279
- selector: ".sjpp-mass-series-g rect",
2280
- count: 724,
2281
- trigger: () => {
2282
- options4[0].dispatchEvent(
2283
- new MouseEvent("click", {
2284
- bubbles: true,
2285
- cancelable: true
2286
- })
2287
- );
2288
- }
2289
- });
2290
- const legendTexts5 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2291
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2292
- );
2293
- legendTexts5.dispatchEvent(
2294
- new MouseEvent("mouseup", {
2295
- bubbles: true,
2296
- cancelable: true
2297
- })
2298
- );
2299
- const options5 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2300
- test.equal(
2301
- options5[3].innerText,
2302
- "Show all Somatic Mutations",
2303
- `fourth option should be "Show all Somatic Mutations"`
2304
- );
2305
- test.equal(options5.length, 4, `Should show four options`);
2306
- const rects5 = await detectLst({
2307
- elem: matrix.Inner.dom.seriesesG.node(),
2308
- selector: ".sjpp-mass-series-g rect",
2309
- count: 900,
2310
- trigger: () => {
2311
- options5[3].dispatchEvent(
2312
- new MouseEvent("click", {
2313
- bubbles: true,
2314
- cancelable: true
2315
- })
2316
- );
2317
- }
2318
- });
2319
- if (test._ok) matrix.Inner.app.destroy();
2320
- test.end();
2321
- }
2322
- }
2323
- );
2324
- (0, import_tape.default)("cell brush zoom in", function(test) {
2325
- test.timeoutAfter(5e3);
2326
- test.plan(1);
2327
- runpp({
2328
- state: {
2329
- plots: [
2330
- {
2331
- chartType: "matrix",
2332
- settings: {
2333
- matrix: {
2334
- // the matrix autocomputes the colw based on available screen width,
2335
- // need to set an exact screen width for consistent tests using getBBox()
2336
- availContentWidth: 300
2337
- }
2338
- },
2339
- termgroups: [
2340
- {
2341
- name: "Demographics",
2342
- lst: [
2343
- {
2344
- id: "aaclassic_5",
2345
- q: {
2346
- mode: "continuous"
2347
- }
2348
- },
2349
- {
2350
- id: "sex"
2351
- //q: { mode: 'values' } // or 'groupsetting'
2352
- },
2353
- {
2354
- id: "agedx",
2355
- q: {
2356
- mode: "discrete",
2357
- type: "regular-bin",
2358
- bin_size: 5,
2359
- first_bin: {
2360
- startunbounded: true,
2361
- stop: 5,
2362
- stopinclusive: true
2363
- }
2364
- }
2365
- // or 'continuous'
2366
- }
2367
- ]
2368
- }
2369
- ]
2370
- }
2371
- ]
2372
- },
2373
- matrix: {
2374
- callbacks: {
2375
- "postRender.test": runTests
2376
- }
2377
- }
2378
- });
2379
- async function runTests(matrix) {
2380
- matrix.on("postRender.test", null);
2381
- const startCell = matrix.Inner.serieses[1].cells[10];
2382
- const endCell = matrix.Inner.serieses[1].cells[14];
2383
- matrix.Inner.clickedSeriesCell = {
2384
- startCell,
2385
- endCell
2386
- };
2387
- matrix.Inner.zoomWidth = Math.abs(startCell.totalIndex - endCell.totalIndex) * matrix.Inner.dimensions.colw;
2388
- matrix.on("postRender.test", () => {
2389
- matrix.on("postRender.test", null);
2390
- test.deepEqual(matrix.Inner.settings.matrix.zoomLevel, 3.2, "should have the expected zoom level after zoom in");
2391
- if (test._ok) matrix.Inner.app.destroy();
2392
- test.end();
2393
- });
2394
- matrix.Inner.triggerZoomArea();
2395
- }
2396
- });
2397
- (0, import_tape.default)("survival term in continous mode", function(test) {
2398
- test.timeoutAfter(5e3);
2399
- test.plan(2);
2400
- runpp({
2401
- state: {
2402
- plots: [
2403
- {
2404
- chartType: "matrix",
2405
- settings: {
2406
- // the matrix autocomputes the colw based on available screen width,
2407
- // need to set an exact screen width for consistent tests using getBBox()
2408
- matrix: {
2409
- availContentWidth: 1200
2410
- }
2411
- },
2412
- termgroups: [
2413
- {
2414
- name: "",
2415
- lst: [
2416
- {
2417
- term: {
2418
- name: "Overall survival",
2419
- type: "survival",
2420
- isleaf: true,
2421
- unit: "years",
2422
- id: "os"
2423
- },
2424
- q: {
2425
- mode: "continuous"
2426
- }
2427
- }
2428
- ]
2429
- }
2430
- ]
2431
- }
2432
- ]
2433
- },
2434
- matrix: {
2435
- callbacks: {
2436
- "postRender.test": runTests
2437
- }
2438
- }
2439
- });
2440
- function runTests(matrix) {
2441
- matrix.on("postRender.test", null);
2442
- test.equal(
2443
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2444
- 1,
2445
- `should render the expected number of serieses`
2446
- );
2447
- test.equal(
2448
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2449
- 60,
2450
- `should render the expected number of cell rects`
2451
- );
2452
- if (test._ok) matrix.Inner.app.destroy();
2453
- test.end();
2454
- }
2455
- });
2456
- (0, import_tape.default)("survival term in discrete mode", function(test) {
2457
- test.timeoutAfter(5e3);
2458
- test.plan(2);
2459
- runpp({
2460
- state: {
2461
- plots: [
2462
- {
2463
- chartType: "matrix",
2464
- settings: {
2465
- // the matrix autocomputes the colw based on available screen width,
2466
- // need to set an exact screen width for consistent tests using getBBox()
2467
- matrix: {
2468
- availContentWidth: 1200
2469
- }
2470
- },
2471
- termgroups: [
2472
- {
2473
- name: "",
2474
- lst: [
2475
- {
2476
- term: {
2477
- name: "Overall survival",
2478
- type: "survival",
2479
- isleaf: true,
2480
- unit: "years",
2481
- id: "os"
2482
- },
2483
- q: {
2484
- mode: "continuous"
2485
- }
2486
- }
2487
- ]
2488
- }
2489
- ]
2490
- }
2491
- ]
2492
- },
2493
- matrix: {
2494
- callbacks: {
2495
- "postRender.test": runTests
2496
- }
2497
- }
2498
- });
2499
- function runTests(matrix) {
2500
- matrix.on("postRender.test", null);
2501
- test.equal(
2502
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2503
- 1,
2504
- `should render the expected number of serieses`
2505
- );
2506
- test.equal(
2507
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2508
- 60,
2509
- `should render the expected number of cell rects`
2510
- );
2511
- if (test._ok) matrix.Inner.app.destroy();
2512
- test.end();
2513
- }
2514
- });
2515
- (0, import_tape.default)("survival term with divide by dictionary term", function(test) {
2516
- test.timeoutAfter(5e3);
2517
- test.plan(3);
2518
- runpp({
2519
- state: {
2520
- plots: [
2521
- {
2522
- chartType: "matrix",
2523
- settings: {
2524
- // the matrix autocomputes the colw based on available screen width,
2525
- // need to set an exact screen width for consistent tests using getBBox()
2526
- matrix: {
2527
- availContentWidth: 1200
2528
- }
2529
- },
2530
- divideBy: {
2531
- id: "sex"
2532
- },
2533
- termgroups: [
2534
- {
2535
- name: "",
2536
- lst: [
2537
- {
2538
- term: {
2539
- name: "Overall survival",
2540
- type: "survival",
2541
- isleaf: true,
2542
- unit: "years",
2543
- id: "os"
2544
- },
2545
- q: {
2546
- mode: "continuous"
2547
- }
2548
- }
2549
- ]
2550
- }
2551
- ]
2552
- }
2553
- ]
2554
- },
2555
- matrix: {
2556
- callbacks: {
2557
- "postRender.test": runTests
2558
- }
2559
- }
2560
- });
2561
- function runTests(matrix) {
2562
- matrix.on("postRender.test", null);
2563
- test.equal(
2564
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2565
- 1,
2566
- `should render the expected number of serieses`
2567
- );
2568
- test.equal(
2569
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2570
- 60,
2571
- `should render the expected number of cell rects`
2572
- );
2573
- test.equal(
2574
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2575
- 2,
2576
- `should render the expected number of cluster rects`
2577
- );
2578
- if (test._ok) matrix.Inner.app.destroy();
2579
- test.end();
2580
- }
2581
- });
2582
- (0, import_tape.default)("dictionary term with divide by survival term", function(test) {
2583
- test.timeoutAfter(5e3);
2584
- test.plan(3);
2585
- runpp({
2586
- state: {
2587
- plots: [
2588
- {
2589
- chartType: "matrix",
2590
- settings: {
2591
- // the matrix autocomputes the colw based on available screen width,
2592
- // need to set an exact screen width for consistent tests using getBBox()
2593
- matrix: {
2594
- availContentWidth: 1200
2595
- }
2596
- },
2597
- divideBy: {
2598
- id: "os"
2599
- },
2600
- termgroups: [
2601
- {
2602
- name: "Demographics",
2603
- lst: [
2604
- { id: "agedx", term: termjson["agedx"] },
2605
- { id: "diaggrp", term: termjson["diaggrp"] },
2606
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2607
- ]
2608
- }
2609
- ]
2610
- }
2611
- ]
2612
- },
2613
- matrix: {
2614
- callbacks: {
2615
- "postRender.test": runTests
2616
- }
2617
- }
2618
- });
2619
- function runTests(matrix) {
2620
- matrix.on("postRender.test", null);
2621
- test.equal(
2622
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2623
- 3,
2624
- `should render the expected number of serieses`
2625
- );
2626
- test.equal(
2627
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2628
- 180,
2629
- `should render the expected number of cell rects`
2630
- );
2631
- test.equal(
2632
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2633
- 2,
2634
- `should render the expected number of cluster rects`
2635
- );
2636
- if (test._ok) matrix.Inner.app.destroy();
2637
- test.end();
2638
- }
2639
- });
2640
- (0, import_tape.default)('apply "hide" and "show" legend filters to a survival term', function(test) {
2641
- test.timeoutAfter(5e3);
2642
- test.plan(10);
2643
- runpp({
2644
- state: {
2645
- plots: [
2646
- {
2647
- chartType: "matrix",
2648
- settings: {
2649
- matrix: {
2650
- // the matrix autocomputes the colw based on available screen width,
2651
- // need to set an exact screen width for consistent tests using getBBox()
2652
- availContentWidth: 1200
2653
- }
2654
- },
2655
- termgroups: [
2656
- {
2657
- name: "",
2658
- lst: [
2659
- {
2660
- id: "aaclassic_5",
2661
- q: {
2662
- mode: "continuous"
2663
- }
2664
- },
2665
- {
2666
- id: "genetic_race"
2667
- //q: { mode: 'values' } // or 'groupsetting'
2668
- },
2669
- {
2670
- id: "agedx",
2671
- q: {
2672
- mode: "discrete",
2673
- type: "regular-bin",
2674
- bin_size: 5,
2675
- first_bin: {
2676
- startunbounded: true,
2677
- stop: 5,
2678
- stopinclusive: true
2679
- }
2680
- }
2681
- },
2682
- {
2683
- term: {
2684
- name: "Overall survival",
2685
- type: "survival",
2686
- isleaf: true,
2687
- unit: "years",
2688
- id: "os"
2689
- }
2690
- }
2691
- ]
2692
- }
2693
- ]
2694
- }
2695
- ]
2696
- },
2697
- matrix: {
2698
- callbacks: {
2699
- "postRender.test": runTests
2700
- }
2701
- }
2702
- });
2703
- async function runTests(matrix) {
2704
- matrix.on("postRender.test", null);
2705
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2706
- (d) => d?.__data__?.text?.startsWith("Alive")
2707
- );
2708
- legendTexts.dispatchEvent(
2709
- new MouseEvent("mouseup", {
2710
- bubbles: true,
2711
- cancelable: true
2712
- })
2713
- );
2714
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2715
- test.equal(options[0].innerText, "Hide", `First option should be Hide`);
2716
- test.equal(options[1].innerText, "Show only", `second option should be Show only`);
2717
- test.equal(options[2].innerText, "Show all", `third option should be Show all`);
2718
- const rects = await detectLst({
2719
- elem: matrix.Inner.dom.seriesesG.node(),
2720
- selector: ".sjpp-mass-series-g rect",
2721
- count: 228,
2722
- trigger: () => {
2723
- options[0].dispatchEvent(
2724
- new MouseEvent("click", {
2725
- bubbles: true,
2726
- cancelable: true
2727
- })
2728
- );
2729
- }
2730
- });
2731
- test.equal(
2732
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2733
- 4,
2734
- `should render the expected number of serieses`
2735
- );
2736
- test.equal(
2737
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2738
- 1,
2739
- `should render the expected number of cluster rects`
2740
- );
2741
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2742
- (d) => d?.__data__?.text?.startsWith("Alive")
2743
- );
2744
- legendTexts2.dispatchEvent(
2745
- new MouseEvent("mouseup", {
2746
- bubbles: true,
2747
- cancelable: true
2748
- })
2749
- );
2750
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2751
- test.equal(options2[0].innerText, "Show", `First option should be Show`);
2752
- test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
2753
- test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
2754
- const rects2 = await detectLst({
2755
- elem: matrix.Inner.dom.seriesesG.node(),
2756
- selector: ".sjpp-mass-series-g rect",
2757
- count: 240,
2758
- trigger: () => {
2759
- options2[0].dispatchEvent(
2760
- new MouseEvent("click", {
2761
- bubbles: true,
2762
- cancelable: true
2763
- })
2764
- );
2765
- }
2766
- });
2767
- test.equal(
2768
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2769
- 4,
2770
- `should render the expected number of serieses`
2771
- );
2772
- test.equal(
2773
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2774
- 1,
2775
- `should render the expected number of cluster rects`
2776
- );
2777
- if (test._ok) matrix.Inner.app.destroy();
2778
- test.end();
2779
- }
2780
- });
2781
- (0, import_tape.default)('apply "show only" and "show all" legend filters to a survival terms', function(test) {
2782
- test.timeoutAfter(5e3);
2783
- test.plan(14);
2784
- runpp({
2785
- state: {
2786
- plots: [
2787
- {
2788
- chartType: "matrix",
2789
- settings: {
2790
- matrix: {
2791
- // the matrix autocomputes the colw based on available screen width,
2792
- // need to set an exact screen width for consistent tests using getBBox()
2793
- availContentWidth: 1200
2794
- }
2795
- },
2796
- termgroups: [
2797
- {
2798
- name: "",
2799
- lst: [
2800
- {
2801
- id: "aaclassic_5",
2802
- q: {
2803
- mode: "continuous"
2804
- }
2805
- },
2806
- {
2807
- id: "genetic_race"
2808
- //q: { mode: 'values' } // or 'groupsetting'
2809
- },
2810
- {
2811
- id: "agedx",
2812
- q: {
2813
- mode: "discrete",
2814
- type: "regular-bin",
2815
- bin_size: 5,
2816
- first_bin: {
2817
- startunbounded: true,
2818
- stop: 5,
2819
- stopinclusive: true
2820
- }
2821
- }
2822
- },
2823
- {
2824
- term: {
2825
- name: "Overall survival",
2826
- type: "survival",
2827
- isleaf: true,
2828
- unit: "years",
2829
- id: "os"
2830
- }
2831
- }
2832
- ]
2833
- }
2834
- ]
2835
- }
2836
- ]
2837
- },
2838
- matrix: {
2839
- callbacks: {
2840
- "postRender.test": runTests
2841
- }
2842
- }
2843
- });
2844
- async function runTests(matrix) {
2845
- matrix.on("postRender.test", null);
2846
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2847
- (d) => d?.__data__?.text?.startsWith("Alive")
2848
- );
2849
- legendTexts.dispatchEvent(
2850
- new MouseEvent("mouseup", {
2851
- bubbles: true,
2852
- cancelable: true
2853
- })
2854
- );
2855
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2856
- const rects = await detectLst({
2857
- elem: matrix.Inner.dom.seriesesG.node(),
2858
- selector: ".sjpp-mass-series-g rect",
2859
- count: 12,
2860
- trigger: () => {
2861
- options[1].dispatchEvent(
2862
- new MouseEvent("click", {
2863
- bubbles: true,
2864
- cancelable: true
2865
- })
2866
- );
2867
- }
2868
- });
2869
- test.equal(
2870
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2871
- 4,
2872
- `should render the expected number of serieses`
2873
- );
2874
- test.equal(
2875
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2876
- 1,
2877
- `should render the expected number of cluster rects`
2878
- );
2879
- const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2880
- (d) => d?.__data__?.text?.startsWith("<5")
2881
- );
2882
- secondLegendTexts.dispatchEvent(
2883
- new MouseEvent("mouseup", {
2884
- bubbles: true,
2885
- cancelable: true
2886
- })
2887
- );
2888
- const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2889
- test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
2890
- test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
2891
- test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
2892
- const secondRects = await detectLst({
2893
- elem: matrix.Inner.dom.seriesesG.node(),
2894
- selector: ".sjpp-mass-series-g rect",
2895
- count: 4,
2896
- trigger: () => {
2897
- secondOptions[1].dispatchEvent(
2898
- new MouseEvent("click", {
2899
- bubbles: true,
2900
- cancelable: true
2901
- })
2902
- );
2903
- }
2904
- });
2905
- test.equal(
2906
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2907
- 4,
2908
- `should render the expected number of serieses`
2909
- );
2910
- test.equal(
2911
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2912
- 1,
2913
- `should render the expected number of cluster rects`
2914
- );
2915
- const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2916
- (d) => d?.__data__?.text?.startsWith("<5")
2917
- );
2918
- thirdLegendTexts.dispatchEvent(
2919
- new MouseEvent("mouseup", {
2920
- bubbles: true,
2921
- cancelable: true
2922
- })
2923
- );
2924
- const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2925
- test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
2926
- test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
2927
- const thirdRects = await detectLst({
2928
- elem: matrix.Inner.dom.seriesesG.node(),
2929
- selector: ".sjpp-mass-series-g rect",
2930
- count: 12,
2931
- trigger: () => {
2932
- thirdOptions[2].dispatchEvent(
2933
- new MouseEvent("click", {
2934
- bubbles: true,
2935
- cancelable: true
2936
- })
2937
- );
2938
- }
2939
- });
2940
- test.equal(
2941
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2942
- 4,
2943
- `should render the expected number of serieses`
2944
- );
2945
- const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2946
- (d) => d?.__data__?.text?.startsWith("Alive")
2947
- );
2948
- fourthLegendTexts.dispatchEvent(
2949
- new MouseEvent("mouseup", {
2950
- bubbles: true,
2951
- cancelable: true
2952
- })
2953
- );
2954
- const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2955
- test.equal(fourthOptions[0].innerText, "Hide", `first option should be Hide`);
2956
- test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
2957
- const fourthRects = await detectLst({
2958
- elem: matrix.Inner.dom.seriesesG.node(),
2959
- selector: ".sjpp-mass-series-g rect",
2960
- count: 240,
2961
- trigger: () => {
2962
- fourthOptions[2].dispatchEvent(
2963
- new MouseEvent("click", {
2964
- bubbles: true,
2965
- cancelable: true
2966
- })
2967
- );
2968
- }
2969
- });
2970
- test.equal(
2971
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2972
- 4,
2973
- `should render the expected number of serieses`
2974
- );
2975
- test.equal(
2976
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2977
- 1,
2978
- `should render the expected number of cluster rects`
2979
- );
2980
- if (test._ok) matrix.Inner.app.destroy();
2981
- test.end();
2982
- }
2983
- });
2984
- var runpp = getRunPp("mass", {
2985
- state: {
2986
- dslabel: "TermdbTest",
2987
- genome: "hg38-test",
2988
- nav: { activeTab: -1 }
2989
- },
2990
- debug: 1
2991
- });
2992
- function getGenes() {
2993
- return [
2994
- { term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } },
2995
- { term: { gene: "KRAS", name: "KRAS", type: "geneVariant", isleaf: true } },
2996
- { term: { gene: "AKT1", name: "AKT1", type: "geneVariant", isleaf: true } }
2997
- ];
2998
- }
2999
- function getTermCollection() {
3000
- return {
3001
- //isAtomic: true,
3002
- type: "TermCollectionTWCont",
3003
- //$id: 'TwBase_0__48243_99155',
3004
- term: {
3005
- type: "termCollection",
3006
- termlst: [
3007
- {
3008
- type: "float",
3009
- bins: {
3010
- default: {
3011
- type: "regular-bin",
3012
- bin_size: 5,
3013
- startinclusive: true,
3014
- first_bin: { startunbounded: true, stop: 5 }
3015
- },
3016
- label_offset: 1
3017
- },
3018
- name: "Age (years) at Cancer Diagnosis",
3019
- id: "agedx",
3020
- isleaf: true,
3021
- values: {},
3022
- hashtmldetail: true
3023
- },
3024
- {
3025
- type: "float",
3026
- bins: {
3027
- default: {
3028
- type: "regular-bin",
3029
- startinclusive: true,
3030
- bin_size: 5,
3031
- first_bin: { stop: 25 },
3032
- last_bin: { start: 55 }
3033
- }
3034
- },
3035
- name: "Age (years) at Death",
3036
- id: "a_death",
3037
- isleaf: true,
3038
- values: {},
3039
- hashtmldetail: true
3040
- },
3041
- {
3042
- type: "float",
3043
- bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3044
- name: "Age (years) at Last NDI Search",
3045
- id: "a_ndi",
3046
- isleaf: true,
3047
- values: {}
3048
- },
3049
- {
3050
- type: "float",
3051
- bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3052
- values: { "-994": { label: "N/A: No campus visit", uncomputable: true } },
3053
- name: "Age at last ABC assessment",
3054
- id: "agelastvisit",
3055
- isleaf: true
3056
- }
3057
- ],
3058
- name: "Fake Collection 1",
3059
- isleaf: true,
3060
- propsByTermId: {
3061
- agedx: { color: "#1b9e77" },
3062
- a_death: { color: "#d95f02" },
3063
- a_ndi: { color: "#7570b3" },
3064
- agelastvisit: { color: "#e7298a" }
3065
- }
3066
- },
3067
- q: { isAtomic: true, mode: "continuous", lst: [] }
3068
- };
3069
- }
3070
- //# sourceMappingURL=matrix.integration.spec-VAXIR3E6.js.map