@sjcrh/proteinpaint-client 2.203.0 → 2.203.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (884) hide show
  1. package/dist/2dmaf-6CEBP4SA.js +1366 -0
  2. package/dist/AIProjectAdmin-2CKKFC3A.js +951 -0
  3. package/dist/AggregateMatrix-5TBUMFE5.js +665 -0
  4. package/dist/AppHeader-5YBPWF44.js +829 -0
  5. package/dist/BoxPlot-UOJS5SJV.js +1210 -0
  6. package/dist/CorrelationVolcano-KX6JPZMT.js +613 -0
  7. package/dist/Cuminc-TLOOLZWR.js +1208 -0
  8. package/dist/DE-HUQLQ2Z3.js +87 -0
  9. package/dist/DEinput-WWUISAF2.js +404 -0
  10. package/dist/DifferentialAnalysis-6DTAGCEY.js +237 -0
  11. package/dist/Disco-P6ZLPYLF.js +3388 -0
  12. package/dist/Disco.UI-WGTMAFK2.js +242 -0
  13. package/dist/DmrPlot-3FRU5KUK.js +636 -0
  14. package/dist/GB-NWOBARL3.js +1390 -0
  15. package/dist/GSEA-DEEUAAMI.js +850 -0
  16. package/dist/GeneExpInput-6QWGEAFV.js +361 -0
  17. package/dist/Geomap-6HT2B7RH.js +83 -0
  18. package/dist/HicApp-PCNOUULF.js +2244 -0
  19. package/dist/IDCViewer-H3QPXVM3.js +10811 -0
  20. package/dist/NumBinaryEditor-IU6OLMKN.js +278 -0
  21. package/dist/NumBinaryEditor.unit.spec-YUPUILIV.js +311 -0
  22. package/dist/NumContEditor-KFDA76QN.js +104 -0
  23. package/dist/NumContEditor.unit.spec-QBOT5QHU.js +163 -0
  24. package/dist/NumCustomBinEditor-EOSTEXLB.js +32 -0
  25. package/dist/NumCustomBinEditor.unit.spec-B46XWFYH.js +396 -0
  26. package/dist/NumDiscreteEditor-Y4EAADXC.js +169 -0
  27. package/dist/NumDiscreteEditor.unit.spec-SJGHLWSM.js +232 -0
  28. package/dist/NumRegularBinEditor-3BNG7DIN.js +32 -0
  29. package/dist/NumRegularBinEditor.unit.spec-KM45QXXG.js +277 -0
  30. package/dist/NumSplineEditor-K4KPDC4S.js +209 -0
  31. package/dist/NumSplineEditor.unit.spec-TKQP5XTS.js +223 -0
  32. package/dist/NumericDensity-Z6JFVN3D.js +32 -0
  33. package/dist/NumericDensity.unit.spec-YEYBVLEP.js +417 -0
  34. package/dist/NumericHandler-ITT6HMPN.js +33 -0
  35. package/dist/NumericHandler.unit.spec-QVONMXY4.js +213 -0
  36. package/dist/ProteomeInput-PRS3DEMZ.js +387 -0
  37. package/dist/Regression-LJJJBBT6.js +1413 -0
  38. package/dist/Regression-LJJJBBT6.js.map +7 -0
  39. package/dist/RunChart2-AMM2JFF5.js +749 -0
  40. package/dist/SC-F7IE66VZ.js +1106 -0
  41. package/dist/Violin-RJ6OJZ4F.js +1073 -0
  42. package/dist/Volcano-BJA5HN5Y.js +1414 -0
  43. package/dist/WSIViewer-RJZGRUIR.js +26194 -0
  44. package/dist/Wsi-DXP6KOQA.js +232 -0
  45. package/dist/WsiSamplesPlot-2IAWV2B6.js +159 -0
  46. package/dist/adSandbox-RGWOIV3W.js +32 -0
  47. package/dist/animatedBubbleChart-J4Q2NAEW.js +546 -0
  48. package/dist/app-3QXNR4VG.js +31 -0
  49. package/dist/app-B4B7YNP3.js +41 -0
  50. package/dist/app.js +12 -12
  51. package/dist/bam-LRUMN45P.js +875 -0
  52. package/dist/barchart-L2G6GEHK.js +41 -0
  53. package/dist/barchart2-DWNVAZAJ.js +308 -0
  54. package/dist/block-TVEVAXNP.js +6248 -0
  55. package/dist/block.init-YOHAKPRI.js +32 -0
  56. package/dist/block.mds.expressionrank-PU6JH4W5.js +353 -0
  57. package/dist/block.mds.geneboxplot-WYYFDNE3.js +822 -0
  58. package/dist/block.mds.junction-4WCTL7Y4.js +1538 -0
  59. package/dist/block.mds.svcnv-MR3VCYUW.js +6795 -0
  60. package/dist/block.svg-LR3Y4ZO7.js +158 -0
  61. package/dist/block.tk.aicheck-A5AWKJZI.js +277 -0
  62. package/dist/block.tk.ase-AQBBAQEH.js +359 -0
  63. package/dist/block.tk.bam-QBTA2O3V.js +1900 -0
  64. package/dist/block.tk.bedgraphdot-4ALZG2MY.js +378 -0
  65. package/dist/block.tk.bigwig.ui-32W6XW37.js +205 -0
  66. package/dist/block.tk.hicstraw-PKBHBAG2.js +817 -0
  67. package/dist/block.tk.junction-AO5CXUCU.js +2357 -0
  68. package/dist/block.tk.junction.textmatrixui-RORVUIPI.js +193 -0
  69. package/dist/block.tk.ld-TNBSR4FT.js +93 -0
  70. package/dist/block.tk.menu-QDJO54J5.js +1023 -0
  71. package/dist/block.tk.pgv-6222WWYR.js +937 -0
  72. package/dist/brainImaging-2TPE7MXB.js +426 -0
  73. package/dist/brainImaging-2TPE7MXB.js.map +7 -0
  74. package/dist/brainRegions-KTFH6DE2.js +215 -0
  75. package/dist/bubbleHeatmap-LNXZLFY6.js +377 -0
  76. package/dist/cellTypeBubbleHeatmap-SRHUNX3S.js +277 -0
  77. package/dist/chunk-3TXVDBGN.js +626 -0
  78. package/dist/chunk-4HLHKBHP.js +274 -0
  79. package/dist/chunk-5GG7Q2ZG.js +397 -0
  80. package/dist/chunk-5HVAVJKW.js +518 -0
  81. package/dist/chunk-5HVAVJKW.js.map +7 -0
  82. package/dist/chunk-5PMFCQKC.js +98 -0
  83. package/dist/chunk-67URJYN7.js +84 -0
  84. package/dist/chunk-67URJYN7.js.map +7 -0
  85. package/dist/chunk-6AKSOLBX.js +5071 -0
  86. package/dist/chunk-6AKSOLBX.js.map +7 -0
  87. package/dist/chunk-6X7PP7A4.js +2126 -0
  88. package/dist/chunk-A3EDLRUN.js +54 -0
  89. package/dist/chunk-ACXFPMJP.js +14 -0
  90. package/dist/chunk-ASRW3UJ5.js +102 -0
  91. package/dist/chunk-BBILSUDX.js +176 -0
  92. package/dist/chunk-BOWI37X2.js +100 -0
  93. package/dist/chunk-BVA26EFK.js +368 -0
  94. package/dist/chunk-D5J57ENI.js +797 -0
  95. package/dist/chunk-D5PX2UDG.js +23878 -0
  96. package/dist/chunk-D5PX2UDG.js.map +7 -0
  97. package/dist/chunk-DAGONMWK.js +261 -0
  98. package/dist/chunk-DAGONMWK.js.map +7 -0
  99. package/dist/chunk-DXLO4OAB.js +357 -0
  100. package/dist/chunk-DXLO4OAB.js.map +7 -0
  101. package/dist/chunk-E5BFGDLA.js +292 -0
  102. package/dist/chunk-ECISCOPF.js +134 -0
  103. package/dist/chunk-ECLUUJVE.js +158 -0
  104. package/dist/chunk-EGDQ5I54.js +272 -0
  105. package/dist/chunk-ELNVTA7O.js +56 -0
  106. package/dist/chunk-EO6M3LY3.js +339 -0
  107. package/dist/chunk-EO6M3LY3.js.map +7 -0
  108. package/dist/chunk-F4PMOAQK.js +494 -0
  109. package/dist/chunk-FISQTHD4.js +2327 -0
  110. package/dist/chunk-FXT2XM4E.js +1337 -0
  111. package/dist/chunk-FXT2XM4E.js.map +7 -0
  112. package/dist/chunk-HIWTGMTE.js +1721 -0
  113. package/dist/chunk-HIWTGMTE.js.map +7 -0
  114. package/dist/chunk-HL6GJIOH.js +1254 -0
  115. package/dist/chunk-IGZAOCTU.js +55 -0
  116. package/dist/chunk-JMDJI7KM.js +6360 -0
  117. package/dist/chunk-JQVA264Z.js +49 -0
  118. package/dist/chunk-JRF7SRLB.js +2784 -0
  119. package/dist/chunk-KLWSW6CC.js +203 -0
  120. package/dist/chunk-KNNSOOTG.js +194 -0
  121. package/dist/chunk-KTPXQH2N.js +170 -0
  122. package/dist/chunk-LGKXSWY4.js +276 -0
  123. package/dist/chunk-LP2GIXVK.js +4274 -0
  124. package/dist/chunk-M2ZZL5EV.js +2669 -0
  125. package/dist/chunk-M2ZZL5EV.js.map +7 -0
  126. package/dist/chunk-MBHERRJR.js +302 -0
  127. package/dist/chunk-MLYQDJUQ.js +480 -0
  128. package/dist/chunk-NBGDLLMX.js +446 -0
  129. package/dist/chunk-OPMMU6DQ.js +183 -0
  130. package/dist/chunk-OPMMU6DQ.js.map +7 -0
  131. package/dist/chunk-P3JEXVBT.js +50 -0
  132. package/dist/chunk-PZPPJY4K.js +34 -0
  133. package/dist/chunk-Q6JF4ZLT.js +141 -0
  134. package/dist/chunk-QF5IH7PC.js +263 -0
  135. package/dist/chunk-QJ6SO7CF.js +465 -0
  136. package/dist/chunk-QQUOVIOM.js +2899 -0
  137. package/dist/chunk-R3OBOAOF.js +240 -0
  138. package/dist/chunk-SNCZRDS5.js +557 -0
  139. package/dist/chunk-SNCZRDS5.js.map +7 -0
  140. package/dist/chunk-SPDNUC76.js +70 -0
  141. package/dist/chunk-T3663ZQL.js +37 -0
  142. package/dist/chunk-TSK4ZTFK.js +340 -0
  143. package/dist/chunk-USW6WRDZ.js +217 -0
  144. package/dist/chunk-WBMYHNKH.js +299 -0
  145. package/dist/chunk-X46LAU4Q.js +187 -0
  146. package/dist/chunk-XE6E526E.js +129 -0
  147. package/dist/chunk-XWCWBHLB.js +123 -0
  148. package/dist/chunk-YCECQV3T.js +160 -0
  149. package/dist/chunk-YROOKO3Q.js +1954 -0
  150. package/dist/chunk-YROOKO3Q.js.map +7 -0
  151. package/dist/chunk-Z4NADGZX.js +243 -0
  152. package/dist/chunk-Z53KOPRJ.js +102 -0
  153. package/dist/cohort-U7M6Q2UX.js +69 -0
  154. package/dist/condition-EGAV2PMJ.js +326 -0
  155. package/dist/controls-PTMYWUZV.js +33 -0
  156. package/dist/controls.config-DOA6PTP2.js +33 -0
  157. package/dist/correlation-Y3EL6GB7.js +94 -0
  158. package/dist/customdata.inputui-4NDDG6FL.js +283 -0
  159. package/dist/dataDownload-EQGUAOK2.js +328 -0
  160. package/dist/databrowser.ui-ABGOJUWQ.js +424 -0
  161. package/dist/dictionary-YOLLEDE5.js +112 -0
  162. package/dist/dnaMethylation-JZT63UHO.js +32 -0
  163. package/dist/dnaMethylation.integration.spec-EATCABJW.js +197 -0
  164. package/dist/dofetch-YNBIUFV5.js +48 -0
  165. package/dist/e2pca-RD6COCRL.js +343 -0
  166. package/dist/ep-BAI7WUET.js +1248 -0
  167. package/dist/expclust.gdc.spec-LKV2CQA5.js +301 -0
  168. package/dist/facet-X3SXQIAC.js +518 -0
  169. package/dist/gb-K324K7XB.js +80 -0
  170. package/dist/geneExpClustering-BJD5U3KG.js +243 -0
  171. package/dist/geneExpression-2TK3XLZ5.js +310 -0
  172. package/dist/geneExpression-F6NRTHZ4.js +32 -0
  173. package/dist/geneExpression.unit.spec-IFZN3J6A.js +96 -0
  174. package/dist/geneORA-DUEP735U.js +272 -0
  175. package/dist/geneRanking-LURDNT7L.js +547 -0
  176. package/dist/geneVariant-EAVCWQAZ.js +35 -0
  177. package/dist/geneVariant-IZTFYAG6.js +284 -0
  178. package/dist/geneVariant-IZTFYAG6.js.map +7 -0
  179. package/dist/geneVariant.integration.spec-LHL4ERFO.js +192 -0
  180. package/dist/genefusion.ui-4T5R7DT7.js +302 -0
  181. package/dist/geneset-3PWXPBG2.js +202 -0
  182. package/dist/genomeBrowser.spec-5SEN7R2P.js +275 -0
  183. package/dist/grin2-EXBG7TMS.js +1136 -0
  184. package/dist/grin2-XIXVFVWO.js +69 -0
  185. package/dist/hierCluster-5XQIWXAY.js +57 -0
  186. package/dist/hierCluster-I4TAQWPF.js +53 -0
  187. package/dist/hierCluster.config-T7HVAWES.js +34 -0
  188. package/dist/hierCluster.integration.spec-XWX43K4D.js +482 -0
  189. package/dist/hierCluster.interactivity-MYIDHFSL.js +48 -0
  190. package/dist/hierCluster.renderers-YRXA5ZUK.js +19 -0
  191. package/dist/imagePlot-4JQB6JUG.js +155 -0
  192. package/dist/importPlot-D3MXCCLN.js +8 -0
  193. package/dist/isoformExpression-WNGGUVIZ.js +34 -0
  194. package/dist/isoformExpression.unit.spec-NVJ5TIKM.js +236 -0
  195. package/dist/junction-O7N57JE3.js +35 -0
  196. package/dist/junction.unit.spec-Z63DRTRR.js +181 -0
  197. package/dist/launch.adhoc-MBDRXD3B.js +36 -0
  198. package/dist/leftlabel.sample-IG6FOQ26.js +257 -0
  199. package/dist/lollipop-ZUYBLPGN.js +165 -0
  200. package/dist/maf-QOS5LURG.js +454 -0
  201. package/dist/maftimeline-FEHP2J55.js +586 -0
  202. package/dist/matrix-BG4J4RXA.js +57 -0
  203. package/dist/matrix-PX4LWTGN.js +52 -0
  204. package/dist/matrix.cells-PTIDQVCI.js +26 -0
  205. package/dist/matrix.config-NHW7BLIE.js +35 -0
  206. package/dist/matrix.data-FMIQRXOA.js +23 -0
  207. package/dist/matrix.dom-4S2UYJOU.js +11 -0
  208. package/dist/matrix.groups-QMID5XAO.js +25 -0
  209. package/dist/matrix.integration.spec-H6T7KP5R.js +3066 -0
  210. package/dist/matrix.interactivity-WQUO25HB.js +36 -0
  211. package/dist/matrix.layout-CTPVZZ34.js +38 -0
  212. package/dist/matrix.legend-K6EYUN6L.js +20 -0
  213. package/dist/matrix.renderers-5DIAUY6R.js +32 -0
  214. package/dist/matrix.serieses-LRMN2J52.js +19 -0
  215. package/dist/matrix.sort-RGAGEA6Z.js +25 -0
  216. package/dist/matrix.sort.unit.spec-RGICZZJL.js +466 -0
  217. package/dist/matrix.sorterUi.unit.spec-45QPEGWE.js +336 -0
  218. package/dist/matrix.unit.spec-TMRZM5DU.js +148 -0
  219. package/dist/matrix.unit.spec-TMRZM5DU.js.map +7 -0
  220. package/dist/mavb-VEIVB62L.js +726 -0
  221. package/dist/mds.fimo-BG4LTWFB.js +512 -0
  222. package/dist/mds.samplescatterplot-PWADJZ2J.js +1544 -0
  223. package/dist/mds.survivalplot-BX4HZ23K.js +476 -0
  224. package/dist/multivalue-OZALSBFW.js +82 -0
  225. package/dist/numericDictTermCluster-7PGJ7KV4.js +63 -0
  226. package/dist/oncomatrix-Q2EQZPLS.js +289 -0
  227. package/dist/oncomatrix.spec-YEQOQRPW.js +442 -0
  228. package/dist/plot.2dvaf-NJSB3HNH.js +371 -0
  229. package/dist/plot.app-AEUR6XGI.js +35 -0
  230. package/dist/plot.barplot-OXN2P5KL.js +96 -0
  231. package/dist/plot.boxplot-2KHEVVFE.js +145 -0
  232. package/dist/plot.brainImaging-JWDX4BZG.js +51 -0
  233. package/dist/plot.disco-LUFC5GGC.js +99 -0
  234. package/dist/plot.ssgq-FMM3IRNA.js +133 -0
  235. package/dist/plot.vaf2cov-K5TAQUC5.js +252 -0
  236. package/dist/plot.wsi-CNQCNZ4Z.js +36 -0
  237. package/dist/polar2-AB6SVYRS.js +231 -0
  238. package/dist/profileForms-AIEHZ4GC.js +933 -0
  239. package/dist/profilePlot-PZDFGXKZ.js +48 -0
  240. package/dist/proteinView-7GWHQYXC.js +1561 -0
  241. package/dist/proteomeCohortCompare-BTN4HHFL.js +779 -0
  242. package/dist/proteomeCohortCompare-BTN4HHFL.js.map +7 -0
  243. package/dist/pseudbulk.unit.spec-NFT4VNTI.js +85 -0
  244. package/dist/pseudobulk-WDGWTXW4.js +34 -0
  245. package/dist/qualitative-PZYJENE7.js +37 -0
  246. package/dist/radar2-QHRGH3YS.js +326 -0
  247. package/dist/radarFacility2-2JD26FL6.js +334 -0
  248. package/dist/render-YA4Z56LT.js +32 -0
  249. package/dist/report-2NUKFJTF.js +216 -0
  250. package/dist/sampleView-2XVPJTVR.js +42 -0
  251. package/dist/samplelst-DMILFDT5.js +105 -0
  252. package/dist/samplematrix-LYA5XTUM.js +2192 -0
  253. package/dist/sc-CM2C34MN.js +80 -0
  254. package/dist/scatter-C3CH3HTF.js +879 -0
  255. package/dist/scatter-GO6LV6NY.js +87 -0
  256. package/dist/selectGenomeWithTklst-5C7UBTGZ.js +128 -0
  257. package/dist/singleCellCellType-EZYESBVZ.js +32 -0
  258. package/dist/singleCellCellType.unit.spec-DB6FM4XR.js +153 -0
  259. package/dist/singleCellGeneExpression-DZLEFPW4.js +32 -0
  260. package/dist/singleCellGeneExpression.unit.spec-ZTBK3V43.js +147 -0
  261. package/dist/singleCellPlot-VF4TZ4FT.js +48 -0
  262. package/dist/singlecell-2MHROPBN.js +1565 -0
  263. package/dist/singlecell-GPAFNOUZ.js +80 -0
  264. package/dist/snp-K4EAEVW4.js +32 -0
  265. package/dist/snp.unit.spec-BUVQLVOY.js +170 -0
  266. package/dist/snplocus-GEVISN6Z.js +202 -0
  267. package/dist/spliceevent.a53ss.diagram-5UPWNAZF.js +145 -0
  268. package/dist/spliceevent.exonskip.diagram-7TKAQURC.js +277 -0
  269. package/dist/spliceevent.noeventdiagram-CDXZLR3Z.js +454 -0
  270. package/dist/ssGSEA-NMCJUQXT.js +32 -0
  271. package/dist/ssGSEA.unit.spec-3FQALTPQ.js +82 -0
  272. package/dist/stattable-2RXQPWKK.js +116 -0
  273. package/dist/studyCatalog-WWFCTTX7.js +377 -0
  274. package/dist/studyCatalog-WWFCTTX7.js.map +7 -0
  275. package/dist/summarizeCnvGeneexp-4BQS5AFM.js +157 -0
  276. package/dist/summarizeGeneexpSurvival-HTBZQFB5.js +104 -0
  277. package/dist/summarizeMutationCnv-XUWZGPCM.js +158 -0
  278. package/dist/summarizeMutationDiagnosis-QUJX42TO.js +34 -0
  279. package/dist/summarizeMutationSurvival-3R47TTR6.js +93 -0
  280. package/dist/summary-6UUB63QR.js +41 -0
  281. package/dist/summary.integration.spec-JJDE6SRV.js +408 -0
  282. package/dist/summaryInput-JG4AW6FW.js +225 -0
  283. package/dist/sunburst-YKB42RZX.js +277 -0
  284. package/dist/survival-3IFFTDQA.js +52 -0
  285. package/dist/survival-HOFNJENX.js +1236 -0
  286. package/dist/survival.integration.spec-7YZYKEUW.js +612 -0
  287. package/dist/survival.integration.spec-7YZYKEUW.js.map +7 -0
  288. package/dist/svgraph-WFEY4ZIZ.js +1381 -0
  289. package/dist/svmr-44EIX7YD.js +3836 -0
  290. package/dist/table-6MKVJUNC.js +196 -0
  291. package/dist/termCollection-6JBVQL6Y.js +251 -0
  292. package/dist/termCollection-TTELZVC5.js +32 -0
  293. package/dist/termCollection.unit.spec-6Z7X646L.js +298 -0
  294. package/dist/termCollectionFractionSelection-5DVIJBM5.js +41 -0
  295. package/dist/termCollectionFractionSelection.unit.spec-3HIM5BIF.js +187 -0
  296. package/dist/tk-HSYWJCGQ.js +40 -0
  297. package/dist/tk-PNOVG2XS.js +1120 -0
  298. package/dist/tp.ui-COBBSUPB.js +1453 -0
  299. package/dist/tvs.dt-35AKURFI.js +33 -0
  300. package/dist/tvs.dtcnv.categorical-3EHXYROL.js +34 -0
  301. package/dist/tvs.dtcnv.continuous-AXQ2GU6S.js +66 -0
  302. package/dist/tvs.dtfusion-PLJIMPNX.js +34 -0
  303. package/dist/tvs.dtitd-JS6RFBV5.js +34 -0
  304. package/dist/tvs.dtsnvindel-MDEM5MPT.js +34 -0
  305. package/dist/tvs.dtsv-OU756YLO.js +34 -0
  306. package/dist/tvs.samplelst-5NDICES4.js +98 -0
  307. package/dist/tvs.termCollection-5URPDPH6.js +123 -0
  308. package/dist/vocabulary-CHCVMPK5.js +35 -0
  309. package/dist/wsi.direct-JSKV4H4X.js +75 -0
  310. package/package.json +4 -4
  311. package/dist/2dmaf-I4HBWRNQ.js +0 -1366
  312. package/dist/AIProjectAdmin-SZYSG7HR.js +0 -951
  313. package/dist/AggregateMatrix-U7HHALFR.js +0 -665
  314. package/dist/AppHeader-O4RBZQZF.js +0 -829
  315. package/dist/BoxPlot-NOXWAGX6.js +0 -1210
  316. package/dist/CorrelationVolcano-IJ5UT6N5.js +0 -613
  317. package/dist/Cuminc-NGUDAOAD.js +0 -1208
  318. package/dist/DE-MIAHOI5J.js +0 -87
  319. package/dist/DEinput-FYBSL2ER.js +0 -404
  320. package/dist/DifferentialAnalysis-I6S5YQXY.js +0 -237
  321. package/dist/Disco-VLUBOZDC.js +0 -3388
  322. package/dist/Disco.UI-QQYWQEW7.js +0 -242
  323. package/dist/DmrPlot-DFOBEN7A.js +0 -636
  324. package/dist/GB-5FSXJMEZ.js +0 -1390
  325. package/dist/GSEA-JISHQOVY.js +0 -850
  326. package/dist/GeneExpInput-5YEX22VD.js +0 -361
  327. package/dist/Geomap-YVF6YBK5.js +0 -83
  328. package/dist/HicApp-ZCMOOKTY.js +0 -2244
  329. package/dist/IDCViewer-5ZNTAEUG.js +0 -10811
  330. package/dist/NumBinaryEditor-BEF5YCKI.js +0 -278
  331. package/dist/NumBinaryEditor.unit.spec-GCYZGHB2.js +0 -311
  332. package/dist/NumContEditor-TUXPB6YJ.js +0 -104
  333. package/dist/NumContEditor.unit.spec-5CMHHWIP.js +0 -163
  334. package/dist/NumCustomBinEditor-HS7RSGFV.js +0 -32
  335. package/dist/NumCustomBinEditor.unit.spec-MM3JJXT4.js +0 -396
  336. package/dist/NumDiscreteEditor-ZL7PP6ZT.js +0 -169
  337. package/dist/NumDiscreteEditor.unit.spec-OEWX2KJC.js +0 -232
  338. package/dist/NumRegularBinEditor-YBXK7YV6.js +0 -32
  339. package/dist/NumRegularBinEditor.unit.spec-FVHN4J5L.js +0 -277
  340. package/dist/NumSplineEditor-VN4XBTTI.js +0 -209
  341. package/dist/NumSplineEditor.unit.spec-AI642DWP.js +0 -223
  342. package/dist/NumericDensity-2KTY7DGH.js +0 -32
  343. package/dist/NumericDensity.unit.spec-6EA72A24.js +0 -417
  344. package/dist/NumericHandler-62EN6AD3.js +0 -33
  345. package/dist/NumericHandler.unit.spec-FXOJ2L2L.js +0 -213
  346. package/dist/ProteomeInput-MBBDXO2Z.js +0 -387
  347. package/dist/Regression-OQETMZPL.js +0 -1408
  348. package/dist/Regression-OQETMZPL.js.map +0 -7
  349. package/dist/RunChart2-RHZFHH4M.js +0 -749
  350. package/dist/SC-FAQXOHO4.js +0 -1106
  351. package/dist/Violin-2A3ICNBP.js +0 -1073
  352. package/dist/Volcano-X5KGHLHZ.js +0 -1414
  353. package/dist/WSIViewer-F2SD6LLP.js +0 -26194
  354. package/dist/Wsi-KAFAC3Q5.js +0 -232
  355. package/dist/WsiSamplesPlot-VKPMLDZI.js +0 -159
  356. package/dist/adSandbox-QKG5EA23.js +0 -32
  357. package/dist/animatedBubbleChart-ES62XWMN.js +0 -546
  358. package/dist/app-2HLLOBTD.js +0 -41
  359. package/dist/app-GJL6K6V4.js +0 -31
  360. package/dist/bam-DCPAAVPX.js +0 -875
  361. package/dist/barchart-DCVGCEZO.js +0 -41
  362. package/dist/barchart2-5X57VSIN.js +0 -308
  363. package/dist/block-XYSUTBXJ.js +0 -6248
  364. package/dist/block.init-5B27QKPU.js +0 -32
  365. package/dist/block.mds.expressionrank-Z7BGGPZ7.js +0 -353
  366. package/dist/block.mds.geneboxplot-4U4UZH2J.js +0 -822
  367. package/dist/block.mds.junction-ZPCUEQZJ.js +0 -1538
  368. package/dist/block.mds.svcnv-OGGPBOL2.js +0 -6795
  369. package/dist/block.svg-BWGAMNDS.js +0 -158
  370. package/dist/block.tk.aicheck-XHHW7WST.js +0 -277
  371. package/dist/block.tk.ase-BZ2IL3CQ.js +0 -359
  372. package/dist/block.tk.bam-WRHOOWXN.js +0 -1900
  373. package/dist/block.tk.bedgraphdot-B536STRA.js +0 -378
  374. package/dist/block.tk.bigwig.ui-K5X3BSQC.js +0 -205
  375. package/dist/block.tk.hicstraw-OYOKZ45W.js +0 -817
  376. package/dist/block.tk.junction-S5JMMMR6.js +0 -2357
  377. package/dist/block.tk.junction.textmatrixui-OLZY5BYR.js +0 -193
  378. package/dist/block.tk.ld-KINDO5UU.js +0 -93
  379. package/dist/block.tk.menu-3FNBVZ7J.js +0 -1023
  380. package/dist/block.tk.pgv-UHDY3T4G.js +0 -937
  381. package/dist/brainImaging-KWFRX3XB.js +0 -422
  382. package/dist/brainImaging-KWFRX3XB.js.map +0 -7
  383. package/dist/brainRegions-YI7K4OVE.js +0 -215
  384. package/dist/bubbleHeatmap-EQ44CSG5.js +0 -377
  385. package/dist/cellTypeBubbleHeatmap-O3KL2YBF.js +0 -277
  386. package/dist/chunk-254KEDDH.js +0 -129
  387. package/dist/chunk-25RPYQRT.js +0 -203
  388. package/dist/chunk-2OEMKKLP.js +0 -272
  389. package/dist/chunk-34AV6DED.js +0 -299
  390. package/dist/chunk-3UOSDVFJ.js +0 -1710
  391. package/dist/chunk-3UOSDVFJ.js.map +0 -7
  392. package/dist/chunk-4GN3CSDT.js +0 -98
  393. package/dist/chunk-4KUGV44F.js +0 -397
  394. package/dist/chunk-4WF3XDQP.js +0 -220
  395. package/dist/chunk-4WF3XDQP.js.map +0 -7
  396. package/dist/chunk-55PGOBTR.js +0 -123
  397. package/dist/chunk-5RHE36DQ.js +0 -37
  398. package/dist/chunk-6456HESK.js +0 -160
  399. package/dist/chunk-6THPWBBU.js +0 -102
  400. package/dist/chunk-6ZLCBVJA.js +0 -54
  401. package/dist/chunk-7AYGTMED.js +0 -182
  402. package/dist/chunk-7AYGTMED.js.map +0 -7
  403. package/dist/chunk-7ROMS7YT.js +0 -626
  404. package/dist/chunk-7UFK4GVI.js +0 -263
  405. package/dist/chunk-7UFK4GVI.js.map +0 -7
  406. package/dist/chunk-ALXSSRGI.js +0 -263
  407. package/dist/chunk-AT7HWXMW.js +0 -302
  408. package/dist/chunk-AVR4LFOO.js +0 -194
  409. package/dist/chunk-BY5B5BM5.js +0 -170
  410. package/dist/chunk-BZ36NJHA.js +0 -797
  411. package/dist/chunk-BZKHE26Z.js +0 -340
  412. package/dist/chunk-CBRZIMNF.js +0 -217
  413. package/dist/chunk-CTO247UZ.js +0 -5069
  414. package/dist/chunk-CTO247UZ.js.map +0 -7
  415. package/dist/chunk-D27C6HZW.js +0 -50
  416. package/dist/chunk-D73PJ4WC.js +0 -512
  417. package/dist/chunk-D73PJ4WC.js.map +0 -7
  418. package/dist/chunk-DLXMO6EK.js +0 -494
  419. package/dist/chunk-EK7CQC3P.js +0 -100
  420. package/dist/chunk-FCMHDCMO.js +0 -56
  421. package/dist/chunk-GJFG2MML.js +0 -1254
  422. package/dist/chunk-GQQ4R6BI.js +0 -24060
  423. package/dist/chunk-GQQ4R6BI.js.map +0 -7
  424. package/dist/chunk-HENLCRVM.js +0 -2126
  425. package/dist/chunk-I56CSICA.js +0 -292
  426. package/dist/chunk-I5KBI5PC.js +0 -274
  427. package/dist/chunk-IHDVUZFC.js +0 -1947
  428. package/dist/chunk-IHDVUZFC.js.map +0 -7
  429. package/dist/chunk-IUA3PSTK.js +0 -6360
  430. package/dist/chunk-J3TIXBCS.js +0 -276
  431. package/dist/chunk-JJHMFHRC.js +0 -257
  432. package/dist/chunk-JJHMFHRC.js.map +0 -7
  433. package/dist/chunk-JPQSDB2H.js +0 -102
  434. package/dist/chunk-LIMDUEVX.js +0 -1336
  435. package/dist/chunk-LIMDUEVX.js.map +0 -7
  436. package/dist/chunk-MECQLU4J.js +0 -243
  437. package/dist/chunk-MEJMWIBD.js +0 -187
  438. package/dist/chunk-MT5MHYL3.js +0 -480
  439. package/dist/chunk-NVH5I6EP.js +0 -176
  440. package/dist/chunk-OGQMELRU.js +0 -14
  441. package/dist/chunk-PBRW6QLS.js +0 -4274
  442. package/dist/chunk-PPJMCBVT.js +0 -82
  443. package/dist/chunk-PPJMCBVT.js.map +0 -7
  444. package/dist/chunk-RRI3RX4A.js +0 -2669
  445. package/dist/chunk-RRI3RX4A.js.map +0 -7
  446. package/dist/chunk-S2D6GH6D.js +0 -465
  447. package/dist/chunk-SACNULB3.js +0 -368
  448. package/dist/chunk-SEJGXC2L.js +0 -141
  449. package/dist/chunk-TMZZ4Z7L.js +0 -34
  450. package/dist/chunk-TRWFL52W.js +0 -446
  451. package/dist/chunk-VP2FPPLA.js +0 -70
  452. package/dist/chunk-VTYMSJGY.js +0 -49
  453. package/dist/chunk-WEF6INPI.js +0 -2784
  454. package/dist/chunk-WO4CL5JL.js +0 -240
  455. package/dist/chunk-WVVH56ZU.js +0 -2327
  456. package/dist/chunk-WZTZJNSG.js +0 -2899
  457. package/dist/chunk-XPSUKXMF.js +0 -556
  458. package/dist/chunk-XPSUKXMF.js.map +0 -7
  459. package/dist/chunk-XXITHNR2.js +0 -134
  460. package/dist/chunk-YCLNEB4L.js +0 -158
  461. package/dist/chunk-ZPFN3CYR.js +0 -55
  462. package/dist/cohort-JCMVMOBQ.js +0 -69
  463. package/dist/condition-SHRWEMG7.js +0 -326
  464. package/dist/controls-EKIHLQS6.js +0 -33
  465. package/dist/controls.config-WSVX6UC6.js +0 -33
  466. package/dist/correlation-ALFFZLKD.js +0 -94
  467. package/dist/customdata.inputui-L2UAIU6I.js +0 -283
  468. package/dist/dataDownload-73N5364T.js +0 -328
  469. package/dist/databrowser.ui-NTOGXDYE.js +0 -424
  470. package/dist/dictionary-CUAU2X6Q.js +0 -112
  471. package/dist/dnaMethylation-AGWAGXVD.js +0 -32
  472. package/dist/dnaMethylation.integration.spec-K22XXOU4.js +0 -197
  473. package/dist/dofetch-BVJ77SP7.js +0 -48
  474. package/dist/e2pca-4HIJWLSC.js +0 -343
  475. package/dist/ep-U4RGH62P.js +0 -1248
  476. package/dist/expclust.gdc.spec-JJGGQDQK.js +0 -301
  477. package/dist/facet-NNUPVXCG.js +0 -518
  478. package/dist/gb-2MYXJEMY.js +0 -80
  479. package/dist/geneExpClustering-6ORRRH43.js +0 -243
  480. package/dist/geneExpression-4JVWKJWP.js +0 -310
  481. package/dist/geneExpression-MARWAIHW.js +0 -32
  482. package/dist/geneExpression.unit.spec-3CQTUSDK.js +0 -96
  483. package/dist/geneORA-M2L2YEX3.js +0 -272
  484. package/dist/geneRanking-S2B3LSTU.js +0 -547
  485. package/dist/geneVariant-D2ANGINP.js +0 -35
  486. package/dist/geneVariant-T4NG72OL.js +0 -33
  487. package/dist/geneVariant.integration.spec-62NJS7GD.js +0 -192
  488. package/dist/genefusion.ui-4ZZNKANU.js +0 -302
  489. package/dist/geneset-QCLFANPD.js +0 -202
  490. package/dist/genomeBrowser.spec-BV5M6JFN.js +0 -275
  491. package/dist/grin2-J4VDS2JT.js +0 -1136
  492. package/dist/grin2-K5G3N5XP.js +0 -69
  493. package/dist/hierCluster-FMK524WF.js +0 -57
  494. package/dist/hierCluster-XF7ZWVKD.js +0 -53
  495. package/dist/hierCluster.config-LYAQCO3L.js +0 -34
  496. package/dist/hierCluster.integration.spec-NSLTJBL4.js +0 -482
  497. package/dist/hierCluster.interactivity-VKAOR2DR.js +0 -48
  498. package/dist/hierCluster.renderers-6C5F7LRL.js +0 -19
  499. package/dist/imagePlot-IPTIFVLT.js +0 -155
  500. package/dist/importPlot-V3P6DCUR.js +0 -8
  501. package/dist/isoformExpression-6IIPJI4M.js +0 -34
  502. package/dist/isoformExpression.unit.spec-IYZWSLO5.js +0 -236
  503. package/dist/junction-E6FB2OP4.js +0 -35
  504. package/dist/junction.unit.spec-M4EN7KPG.js +0 -181
  505. package/dist/launch.adhoc-SU5L2YXN.js +0 -36
  506. package/dist/leftlabel.sample-5WTK5NBD.js +0 -257
  507. package/dist/lollipop-L64ZTEEX.js +0 -165
  508. package/dist/maf-QLNFANWO.js +0 -454
  509. package/dist/maftimeline-U7FMTMTV.js +0 -586
  510. package/dist/matrix-GFVK3PEB.js +0 -57
  511. package/dist/matrix-HFJQGPJJ.js +0 -52
  512. package/dist/matrix.cells-5JKTBI3X.js +0 -26
  513. package/dist/matrix.config-QPTQ22RR.js +0 -35
  514. package/dist/matrix.data-MXIUMSRR.js +0 -23
  515. package/dist/matrix.dom-ENBFB4CW.js +0 -11
  516. package/dist/matrix.groups-6DYTBVGR.js +0 -25
  517. package/dist/matrix.integration.spec-X4HM67TN.js +0 -3066
  518. package/dist/matrix.interactivity-QTB56LXE.js +0 -36
  519. package/dist/matrix.layout-VQAORIIH.js +0 -38
  520. package/dist/matrix.legend-SDJXYNHE.js +0 -20
  521. package/dist/matrix.renderers-6PMYIP2S.js +0 -32
  522. package/dist/matrix.serieses-WWY7474U.js +0 -19
  523. package/dist/matrix.sort-V46C2MAZ.js +0 -25
  524. package/dist/matrix.sort.unit.spec-3RM7V6CS.js +0 -466
  525. package/dist/matrix.sorterUi.unit.spec-YOV6FBRT.js +0 -336
  526. package/dist/mavb-PJA76T7F.js +0 -726
  527. package/dist/mds.fimo-GW7XPJGQ.js +0 -512
  528. package/dist/mds.samplescatterplot-ZAIEWPO4.js +0 -1544
  529. package/dist/mds.survivalplot-ETLLFDWR.js +0 -476
  530. package/dist/multivalue-AZPAQJQD.js +0 -82
  531. package/dist/numericDictTermCluster-KOJODGZT.js +0 -63
  532. package/dist/oncomatrix-2TRXETOJ.js +0 -289
  533. package/dist/oncomatrix.spec-DOVKLS24.js +0 -442
  534. package/dist/plot.2dvaf-RQN6QADW.js +0 -371
  535. package/dist/plot.app-MOIVGIS6.js +0 -35
  536. package/dist/plot.barplot-46QRWJOX.js +0 -96
  537. package/dist/plot.boxplot-54J4UWQX.js +0 -145
  538. package/dist/plot.brainImaging-Y32KQFLS.js +0 -51
  539. package/dist/plot.disco-4R5J7Z5S.js +0 -99
  540. package/dist/plot.ssgq-6LCKYRYD.js +0 -133
  541. package/dist/plot.vaf2cov-UCBH4NSC.js +0 -252
  542. package/dist/plot.wsi-DAC7NUQE.js +0 -36
  543. package/dist/polar2-JKV74QV5.js +0 -231
  544. package/dist/profileForms-VDYCFH4M.js +0 -933
  545. package/dist/profilePlot-PR3LVRYU.js +0 -48
  546. package/dist/proteinView-A3EM6OR5.js +0 -1561
  547. package/dist/proteomeCohortCompare-QGFEJTDQ.js +0 -793
  548. package/dist/proteomeCohortCompare-QGFEJTDQ.js.map +0 -7
  549. package/dist/pseudbulk.unit.spec-CUMTLAH7.js +0 -85
  550. package/dist/pseudobulk-5E5MSMU3.js +0 -34
  551. package/dist/qualitative-WPXUBISK.js +0 -37
  552. package/dist/radar2-A5OYMORS.js +0 -326
  553. package/dist/radarFacility2-4TPJB6M4.js +0 -334
  554. package/dist/render-XQBWWS33.js +0 -32
  555. package/dist/report-NCJOTYIC.js +0 -216
  556. package/dist/sampleView-2PUSMG4W.js +0 -42
  557. package/dist/samplelst-FV7BAUN5.js +0 -105
  558. package/dist/samplematrix-DFD3PNI4.js +0 -2192
  559. package/dist/sc-GIMTDVLG.js +0 -80
  560. package/dist/scatter-4GJ5HKUY.js +0 -879
  561. package/dist/scatter-P3ISZB3R.js +0 -87
  562. package/dist/selectGenomeWithTklst-ZZ4CEHDU.js +0 -128
  563. package/dist/singleCellCellType-CEERCVTR.js +0 -32
  564. package/dist/singleCellCellType.unit.spec-JNEIICK5.js +0 -153
  565. package/dist/singleCellGeneExpression-G5B7DDES.js +0 -32
  566. package/dist/singleCellGeneExpression.unit.spec-CGRZGY66.js +0 -147
  567. package/dist/singleCellPlot-US5KTHS4.js +0 -48
  568. package/dist/singlecell-IPTSIKNA.js +0 -1565
  569. package/dist/singlecell-VB4KLPJF.js +0 -80
  570. package/dist/snp-6V2SCCRN.js +0 -32
  571. package/dist/snp.unit.spec-Q537NGVG.js +0 -170
  572. package/dist/snplocus-BV6WJTVP.js +0 -202
  573. package/dist/spliceevent.a53ss.diagram-3BUQVK4Q.js +0 -145
  574. package/dist/spliceevent.exonskip.diagram-CQZ2DFQ5.js +0 -277
  575. package/dist/spliceevent.noeventdiagram-QAEPR6LD.js +0 -454
  576. package/dist/ssGSEA-XNI5S7AC.js +0 -32
  577. package/dist/ssGSEA.unit.spec-A337IMC7.js +0 -82
  578. package/dist/stattable-J4ZQKJFM.js +0 -116
  579. package/dist/studyCatalog-BJTJJGBC.js +0 -352
  580. package/dist/studyCatalog-BJTJJGBC.js.map +0 -7
  581. package/dist/summarizeCnvGeneexp-76UJXLA4.js +0 -157
  582. package/dist/summarizeGeneexpSurvival-ZUEHXA2R.js +0 -104
  583. package/dist/summarizeMutationCnv-EBCBVMG6.js +0 -158
  584. package/dist/summarizeMutationDiagnosis-VLFI2ZIZ.js +0 -34
  585. package/dist/summarizeMutationSurvival-QRFMJLLO.js +0 -93
  586. package/dist/summary-U3YKEMZC.js +0 -41
  587. package/dist/summary.integration.spec-52WP6SNY.js +0 -408
  588. package/dist/summaryInput-WUJNHCGH.js +0 -225
  589. package/dist/sunburst-IJ3ZG2BC.js +0 -277
  590. package/dist/survival-F2B5JKOO.js +0 -1236
  591. package/dist/survival-SQRYWGWZ.js +0 -52
  592. package/dist/survival.integration.spec-YGRZJ2OL.js +0 -967
  593. package/dist/survival.integration.spec-YGRZJ2OL.js.map +0 -7
  594. package/dist/svgraph-HVCMF6KI.js +0 -1381
  595. package/dist/svmr-PROHTMTP.js +0 -3836
  596. package/dist/table-3E64OJNV.js +0 -196
  597. package/dist/termCollection-MUH7P6B5.js +0 -32
  598. package/dist/termCollection-WKT6ESMI.js +0 -251
  599. package/dist/termCollection.unit.spec-XMOCMVER.js +0 -298
  600. package/dist/termCollectionFractionSelection-P5G6WIJJ.js +0 -41
  601. package/dist/termCollectionFractionSelection.unit.spec-MG7E3EIZ.js +0 -187
  602. package/dist/tk-HWUPUGOS.js +0 -1120
  603. package/dist/tk-SBM2GN3S.js +0 -40
  604. package/dist/tp.ui-RRB5MJRD.js +0 -1453
  605. package/dist/tvs.dt-I2ECKHQ2.js +0 -33
  606. package/dist/tvs.dtcnv.categorical-7RJPQKMX.js +0 -34
  607. package/dist/tvs.dtcnv.continuous-FW4ZXIYY.js +0 -66
  608. package/dist/tvs.dtfusion-3GDWW3ML.js +0 -34
  609. package/dist/tvs.dtitd-FER4H4UO.js +0 -34
  610. package/dist/tvs.dtsnvindel-ISEOJ5UA.js +0 -34
  611. package/dist/tvs.dtsv-JDML7EWE.js +0 -34
  612. package/dist/tvs.samplelst-MJTM6GSV.js +0 -98
  613. package/dist/tvs.termCollection-GMOXBJWF.js +0 -123
  614. package/dist/vocabulary-5EJMLXI2.js +0 -35
  615. package/dist/vocabulary-5EJMLXI2.js.map +0 -7
  616. package/dist/wsi.direct-IVPACPNT.js +0 -75
  617. /package/dist/{2dmaf-I4HBWRNQ.js.map → 2dmaf-6CEBP4SA.js.map} +0 -0
  618. /package/dist/{AIProjectAdmin-SZYSG7HR.js.map → AIProjectAdmin-2CKKFC3A.js.map} +0 -0
  619. /package/dist/{AggregateMatrix-U7HHALFR.js.map → AggregateMatrix-5TBUMFE5.js.map} +0 -0
  620. /package/dist/{AppHeader-O4RBZQZF.js.map → AppHeader-5YBPWF44.js.map} +0 -0
  621. /package/dist/{BoxPlot-NOXWAGX6.js.map → BoxPlot-UOJS5SJV.js.map} +0 -0
  622. /package/dist/{CorrelationVolcano-IJ5UT6N5.js.map → CorrelationVolcano-KX6JPZMT.js.map} +0 -0
  623. /package/dist/{Cuminc-NGUDAOAD.js.map → Cuminc-TLOOLZWR.js.map} +0 -0
  624. /package/dist/{DE-MIAHOI5J.js.map → DE-HUQLQ2Z3.js.map} +0 -0
  625. /package/dist/{DEinput-FYBSL2ER.js.map → DEinput-WWUISAF2.js.map} +0 -0
  626. /package/dist/{DifferentialAnalysis-I6S5YQXY.js.map → DifferentialAnalysis-6DTAGCEY.js.map} +0 -0
  627. /package/dist/{Disco-VLUBOZDC.js.map → Disco-P6ZLPYLF.js.map} +0 -0
  628. /package/dist/{Disco.UI-QQYWQEW7.js.map → Disco.UI-WGTMAFK2.js.map} +0 -0
  629. /package/dist/{DmrPlot-DFOBEN7A.js.map → DmrPlot-3FRU5KUK.js.map} +0 -0
  630. /package/dist/{GB-5FSXJMEZ.js.map → GB-NWOBARL3.js.map} +0 -0
  631. /package/dist/{GSEA-JISHQOVY.js.map → GSEA-DEEUAAMI.js.map} +0 -0
  632. /package/dist/{GeneExpInput-5YEX22VD.js.map → GeneExpInput-6QWGEAFV.js.map} +0 -0
  633. /package/dist/{Geomap-YVF6YBK5.js.map → Geomap-6HT2B7RH.js.map} +0 -0
  634. /package/dist/{HicApp-ZCMOOKTY.js.map → HicApp-PCNOUULF.js.map} +0 -0
  635. /package/dist/{IDCViewer-5ZNTAEUG.js.map → IDCViewer-H3QPXVM3.js.map} +0 -0
  636. /package/dist/{NumBinaryEditor-BEF5YCKI.js.map → NumBinaryEditor-IU6OLMKN.js.map} +0 -0
  637. /package/dist/{NumBinaryEditor.unit.spec-GCYZGHB2.js.map → NumBinaryEditor.unit.spec-YUPUILIV.js.map} +0 -0
  638. /package/dist/{NumContEditor-TUXPB6YJ.js.map → NumContEditor-KFDA76QN.js.map} +0 -0
  639. /package/dist/{NumContEditor.unit.spec-5CMHHWIP.js.map → NumContEditor.unit.spec-QBOT5QHU.js.map} +0 -0
  640. /package/dist/{NumCustomBinEditor-HS7RSGFV.js.map → NumCustomBinEditor-EOSTEXLB.js.map} +0 -0
  641. /package/dist/{NumCustomBinEditor.unit.spec-MM3JJXT4.js.map → NumCustomBinEditor.unit.spec-B46XWFYH.js.map} +0 -0
  642. /package/dist/{NumDiscreteEditor-ZL7PP6ZT.js.map → NumDiscreteEditor-Y4EAADXC.js.map} +0 -0
  643. /package/dist/{NumDiscreteEditor.unit.spec-OEWX2KJC.js.map → NumDiscreteEditor.unit.spec-SJGHLWSM.js.map} +0 -0
  644. /package/dist/{NumRegularBinEditor-YBXK7YV6.js.map → NumRegularBinEditor-3BNG7DIN.js.map} +0 -0
  645. /package/dist/{NumRegularBinEditor.unit.spec-FVHN4J5L.js.map → NumRegularBinEditor.unit.spec-KM45QXXG.js.map} +0 -0
  646. /package/dist/{NumSplineEditor-VN4XBTTI.js.map → NumSplineEditor-K4KPDC4S.js.map} +0 -0
  647. /package/dist/{NumSplineEditor.unit.spec-AI642DWP.js.map → NumSplineEditor.unit.spec-TKQP5XTS.js.map} +0 -0
  648. /package/dist/{NumericDensity-2KTY7DGH.js.map → NumericDensity-Z6JFVN3D.js.map} +0 -0
  649. /package/dist/{NumericDensity.unit.spec-6EA72A24.js.map → NumericDensity.unit.spec-YEYBVLEP.js.map} +0 -0
  650. /package/dist/{NumericHandler-62EN6AD3.js.map → NumericHandler-ITT6HMPN.js.map} +0 -0
  651. /package/dist/{NumericHandler.unit.spec-FXOJ2L2L.js.map → NumericHandler.unit.spec-QVONMXY4.js.map} +0 -0
  652. /package/dist/{ProteomeInput-MBBDXO2Z.js.map → ProteomeInput-PRS3DEMZ.js.map} +0 -0
  653. /package/dist/{RunChart2-RHZFHH4M.js.map → RunChart2-AMM2JFF5.js.map} +0 -0
  654. /package/dist/{SC-FAQXOHO4.js.map → SC-F7IE66VZ.js.map} +0 -0
  655. /package/dist/{Violin-2A3ICNBP.js.map → Violin-RJ6OJZ4F.js.map} +0 -0
  656. /package/dist/{Volcano-X5KGHLHZ.js.map → Volcano-BJA5HN5Y.js.map} +0 -0
  657. /package/dist/{WSIViewer-F2SD6LLP.js.map → WSIViewer-RJZGRUIR.js.map} +0 -0
  658. /package/dist/{Wsi-KAFAC3Q5.js.map → Wsi-DXP6KOQA.js.map} +0 -0
  659. /package/dist/{WsiSamplesPlot-VKPMLDZI.js.map → WsiSamplesPlot-2IAWV2B6.js.map} +0 -0
  660. /package/dist/{adSandbox-QKG5EA23.js.map → adSandbox-RGWOIV3W.js.map} +0 -0
  661. /package/dist/{animatedBubbleChart-ES62XWMN.js.map → animatedBubbleChart-J4Q2NAEW.js.map} +0 -0
  662. /package/dist/{app-2HLLOBTD.js.map → app-3QXNR4VG.js.map} +0 -0
  663. /package/dist/{app-GJL6K6V4.js.map → app-B4B7YNP3.js.map} +0 -0
  664. /package/dist/{bam-DCPAAVPX.js.map → bam-LRUMN45P.js.map} +0 -0
  665. /package/dist/{barchart-DCVGCEZO.js.map → barchart-L2G6GEHK.js.map} +0 -0
  666. /package/dist/{barchart2-5X57VSIN.js.map → barchart2-DWNVAZAJ.js.map} +0 -0
  667. /package/dist/{block-XYSUTBXJ.js.map → block-TVEVAXNP.js.map} +0 -0
  668. /package/dist/{block.init-5B27QKPU.js.map → block.init-YOHAKPRI.js.map} +0 -0
  669. /package/dist/{block.mds.expressionrank-Z7BGGPZ7.js.map → block.mds.expressionrank-PU6JH4W5.js.map} +0 -0
  670. /package/dist/{block.mds.geneboxplot-4U4UZH2J.js.map → block.mds.geneboxplot-WYYFDNE3.js.map} +0 -0
  671. /package/dist/{block.mds.junction-ZPCUEQZJ.js.map → block.mds.junction-4WCTL7Y4.js.map} +0 -0
  672. /package/dist/{block.mds.svcnv-OGGPBOL2.js.map → block.mds.svcnv-MR3VCYUW.js.map} +0 -0
  673. /package/dist/{block.svg-BWGAMNDS.js.map → block.svg-LR3Y4ZO7.js.map} +0 -0
  674. /package/dist/{block.tk.aicheck-XHHW7WST.js.map → block.tk.aicheck-A5AWKJZI.js.map} +0 -0
  675. /package/dist/{block.tk.ase-BZ2IL3CQ.js.map → block.tk.ase-AQBBAQEH.js.map} +0 -0
  676. /package/dist/{block.tk.bam-WRHOOWXN.js.map → block.tk.bam-QBTA2O3V.js.map} +0 -0
  677. /package/dist/{block.tk.bedgraphdot-B536STRA.js.map → block.tk.bedgraphdot-4ALZG2MY.js.map} +0 -0
  678. /package/dist/{block.tk.bigwig.ui-K5X3BSQC.js.map → block.tk.bigwig.ui-32W6XW37.js.map} +0 -0
  679. /package/dist/{block.tk.hicstraw-OYOKZ45W.js.map → block.tk.hicstraw-PKBHBAG2.js.map} +0 -0
  680. /package/dist/{block.tk.junction-S5JMMMR6.js.map → block.tk.junction-AO5CXUCU.js.map} +0 -0
  681. /package/dist/{block.tk.junction.textmatrixui-OLZY5BYR.js.map → block.tk.junction.textmatrixui-RORVUIPI.js.map} +0 -0
  682. /package/dist/{block.tk.ld-KINDO5UU.js.map → block.tk.ld-TNBSR4FT.js.map} +0 -0
  683. /package/dist/{block.tk.menu-3FNBVZ7J.js.map → block.tk.menu-QDJO54J5.js.map} +0 -0
  684. /package/dist/{block.tk.pgv-UHDY3T4G.js.map → block.tk.pgv-6222WWYR.js.map} +0 -0
  685. /package/dist/{brainRegions-YI7K4OVE.js.map → brainRegions-KTFH6DE2.js.map} +0 -0
  686. /package/dist/{bubbleHeatmap-EQ44CSG5.js.map → bubbleHeatmap-LNXZLFY6.js.map} +0 -0
  687. /package/dist/{cellTypeBubbleHeatmap-O3KL2YBF.js.map → cellTypeBubbleHeatmap-SRHUNX3S.js.map} +0 -0
  688. /package/dist/{chunk-7ROMS7YT.js.map → chunk-3TXVDBGN.js.map} +0 -0
  689. /package/dist/{chunk-I5KBI5PC.js.map → chunk-4HLHKBHP.js.map} +0 -0
  690. /package/dist/{chunk-4KUGV44F.js.map → chunk-5GG7Q2ZG.js.map} +0 -0
  691. /package/dist/{chunk-4GN3CSDT.js.map → chunk-5PMFCQKC.js.map} +0 -0
  692. /package/dist/{chunk-HENLCRVM.js.map → chunk-6X7PP7A4.js.map} +0 -0
  693. /package/dist/{chunk-6ZLCBVJA.js.map → chunk-A3EDLRUN.js.map} +0 -0
  694. /package/dist/{chunk-OGQMELRU.js.map → chunk-ACXFPMJP.js.map} +0 -0
  695. /package/dist/{chunk-JPQSDB2H.js.map → chunk-ASRW3UJ5.js.map} +0 -0
  696. /package/dist/{chunk-NVH5I6EP.js.map → chunk-BBILSUDX.js.map} +0 -0
  697. /package/dist/{chunk-EK7CQC3P.js.map → chunk-BOWI37X2.js.map} +0 -0
  698. /package/dist/{chunk-SACNULB3.js.map → chunk-BVA26EFK.js.map} +0 -0
  699. /package/dist/{chunk-BZ36NJHA.js.map → chunk-D5J57ENI.js.map} +0 -0
  700. /package/dist/{chunk-I56CSICA.js.map → chunk-E5BFGDLA.js.map} +0 -0
  701. /package/dist/{chunk-XXITHNR2.js.map → chunk-ECISCOPF.js.map} +0 -0
  702. /package/dist/{chunk-YCLNEB4L.js.map → chunk-ECLUUJVE.js.map} +0 -0
  703. /package/dist/{chunk-2OEMKKLP.js.map → chunk-EGDQ5I54.js.map} +0 -0
  704. /package/dist/{chunk-FCMHDCMO.js.map → chunk-ELNVTA7O.js.map} +0 -0
  705. /package/dist/{chunk-DLXMO6EK.js.map → chunk-F4PMOAQK.js.map} +0 -0
  706. /package/dist/{chunk-WVVH56ZU.js.map → chunk-FISQTHD4.js.map} +0 -0
  707. /package/dist/{chunk-GJFG2MML.js.map → chunk-HL6GJIOH.js.map} +0 -0
  708. /package/dist/{chunk-ZPFN3CYR.js.map → chunk-IGZAOCTU.js.map} +0 -0
  709. /package/dist/{chunk-IUA3PSTK.js.map → chunk-JMDJI7KM.js.map} +0 -0
  710. /package/dist/{chunk-VTYMSJGY.js.map → chunk-JQVA264Z.js.map} +0 -0
  711. /package/dist/{chunk-WEF6INPI.js.map → chunk-JRF7SRLB.js.map} +0 -0
  712. /package/dist/{chunk-25RPYQRT.js.map → chunk-KLWSW6CC.js.map} +0 -0
  713. /package/dist/{chunk-AVR4LFOO.js.map → chunk-KNNSOOTG.js.map} +0 -0
  714. /package/dist/{chunk-BY5B5BM5.js.map → chunk-KTPXQH2N.js.map} +0 -0
  715. /package/dist/{chunk-J3TIXBCS.js.map → chunk-LGKXSWY4.js.map} +0 -0
  716. /package/dist/{chunk-PBRW6QLS.js.map → chunk-LP2GIXVK.js.map} +0 -0
  717. /package/dist/{chunk-AT7HWXMW.js.map → chunk-MBHERRJR.js.map} +0 -0
  718. /package/dist/{chunk-MT5MHYL3.js.map → chunk-MLYQDJUQ.js.map} +0 -0
  719. /package/dist/{chunk-TRWFL52W.js.map → chunk-NBGDLLMX.js.map} +0 -0
  720. /package/dist/{chunk-D27C6HZW.js.map → chunk-P3JEXVBT.js.map} +0 -0
  721. /package/dist/{chunk-TMZZ4Z7L.js.map → chunk-PZPPJY4K.js.map} +0 -0
  722. /package/dist/{chunk-SEJGXC2L.js.map → chunk-Q6JF4ZLT.js.map} +0 -0
  723. /package/dist/{chunk-ALXSSRGI.js.map → chunk-QF5IH7PC.js.map} +0 -0
  724. /package/dist/{chunk-S2D6GH6D.js.map → chunk-QJ6SO7CF.js.map} +0 -0
  725. /package/dist/{chunk-WZTZJNSG.js.map → chunk-QQUOVIOM.js.map} +0 -0
  726. /package/dist/{chunk-WO4CL5JL.js.map → chunk-R3OBOAOF.js.map} +0 -0
  727. /package/dist/{chunk-VP2FPPLA.js.map → chunk-SPDNUC76.js.map} +0 -0
  728. /package/dist/{chunk-5RHE36DQ.js.map → chunk-T3663ZQL.js.map} +0 -0
  729. /package/dist/{chunk-BZKHE26Z.js.map → chunk-TSK4ZTFK.js.map} +0 -0
  730. /package/dist/{chunk-CBRZIMNF.js.map → chunk-USW6WRDZ.js.map} +0 -0
  731. /package/dist/{chunk-34AV6DED.js.map → chunk-WBMYHNKH.js.map} +0 -0
  732. /package/dist/{chunk-MEJMWIBD.js.map → chunk-X46LAU4Q.js.map} +0 -0
  733. /package/dist/{chunk-254KEDDH.js.map → chunk-XE6E526E.js.map} +0 -0
  734. /package/dist/{chunk-55PGOBTR.js.map → chunk-XWCWBHLB.js.map} +0 -0
  735. /package/dist/{chunk-6456HESK.js.map → chunk-YCECQV3T.js.map} +0 -0
  736. /package/dist/{chunk-MECQLU4J.js.map → chunk-Z4NADGZX.js.map} +0 -0
  737. /package/dist/{chunk-6THPWBBU.js.map → chunk-Z53KOPRJ.js.map} +0 -0
  738. /package/dist/{cohort-JCMVMOBQ.js.map → cohort-U7M6Q2UX.js.map} +0 -0
  739. /package/dist/{condition-SHRWEMG7.js.map → condition-EGAV2PMJ.js.map} +0 -0
  740. /package/dist/{controls-EKIHLQS6.js.map → controls-PTMYWUZV.js.map} +0 -0
  741. /package/dist/{controls.config-WSVX6UC6.js.map → controls.config-DOA6PTP2.js.map} +0 -0
  742. /package/dist/{correlation-ALFFZLKD.js.map → correlation-Y3EL6GB7.js.map} +0 -0
  743. /package/dist/{customdata.inputui-L2UAIU6I.js.map → customdata.inputui-4NDDG6FL.js.map} +0 -0
  744. /package/dist/{dataDownload-73N5364T.js.map → dataDownload-EQGUAOK2.js.map} +0 -0
  745. /package/dist/{databrowser.ui-NTOGXDYE.js.map → databrowser.ui-ABGOJUWQ.js.map} +0 -0
  746. /package/dist/{dictionary-CUAU2X6Q.js.map → dictionary-YOLLEDE5.js.map} +0 -0
  747. /package/dist/{dnaMethylation-AGWAGXVD.js.map → dnaMethylation-JZT63UHO.js.map} +0 -0
  748. /package/dist/{dnaMethylation.integration.spec-K22XXOU4.js.map → dnaMethylation.integration.spec-EATCABJW.js.map} +0 -0
  749. /package/dist/{dofetch-BVJ77SP7.js.map → dofetch-YNBIUFV5.js.map} +0 -0
  750. /package/dist/{e2pca-4HIJWLSC.js.map → e2pca-RD6COCRL.js.map} +0 -0
  751. /package/dist/{ep-U4RGH62P.js.map → ep-BAI7WUET.js.map} +0 -0
  752. /package/dist/{expclust.gdc.spec-JJGGQDQK.js.map → expclust.gdc.spec-LKV2CQA5.js.map} +0 -0
  753. /package/dist/{facet-NNUPVXCG.js.map → facet-X3SXQIAC.js.map} +0 -0
  754. /package/dist/{gb-2MYXJEMY.js.map → gb-K324K7XB.js.map} +0 -0
  755. /package/dist/{geneExpClustering-6ORRRH43.js.map → geneExpClustering-BJD5U3KG.js.map} +0 -0
  756. /package/dist/{geneExpression-4JVWKJWP.js.map → geneExpression-2TK3XLZ5.js.map} +0 -0
  757. /package/dist/{geneExpression-MARWAIHW.js.map → geneExpression-F6NRTHZ4.js.map} +0 -0
  758. /package/dist/{geneExpression.unit.spec-3CQTUSDK.js.map → geneExpression.unit.spec-IFZN3J6A.js.map} +0 -0
  759. /package/dist/{geneORA-M2L2YEX3.js.map → geneORA-DUEP735U.js.map} +0 -0
  760. /package/dist/{geneRanking-S2B3LSTU.js.map → geneRanking-LURDNT7L.js.map} +0 -0
  761. /package/dist/{geneVariant-D2ANGINP.js.map → geneVariant-EAVCWQAZ.js.map} +0 -0
  762. /package/dist/{geneVariant.integration.spec-62NJS7GD.js.map → geneVariant.integration.spec-LHL4ERFO.js.map} +0 -0
  763. /package/dist/{genefusion.ui-4ZZNKANU.js.map → genefusion.ui-4T5R7DT7.js.map} +0 -0
  764. /package/dist/{geneset-QCLFANPD.js.map → geneset-3PWXPBG2.js.map} +0 -0
  765. /package/dist/{genomeBrowser.spec-BV5M6JFN.js.map → genomeBrowser.spec-5SEN7R2P.js.map} +0 -0
  766. /package/dist/{grin2-J4VDS2JT.js.map → grin2-EXBG7TMS.js.map} +0 -0
  767. /package/dist/{grin2-K5G3N5XP.js.map → grin2-XIXVFVWO.js.map} +0 -0
  768. /package/dist/{geneVariant-T4NG72OL.js.map → hierCluster-5XQIWXAY.js.map} +0 -0
  769. /package/dist/{hierCluster-FMK524WF.js.map → hierCluster-I4TAQWPF.js.map} +0 -0
  770. /package/dist/{hierCluster-XF7ZWVKD.js.map → hierCluster.config-T7HVAWES.js.map} +0 -0
  771. /package/dist/{hierCluster.integration.spec-NSLTJBL4.js.map → hierCluster.integration.spec-XWX43K4D.js.map} +0 -0
  772. /package/dist/{hierCluster.config-LYAQCO3L.js.map → hierCluster.interactivity-MYIDHFSL.js.map} +0 -0
  773. /package/dist/{hierCluster.interactivity-VKAOR2DR.js.map → hierCluster.renderers-YRXA5ZUK.js.map} +0 -0
  774. /package/dist/{imagePlot-IPTIFVLT.js.map → imagePlot-4JQB6JUG.js.map} +0 -0
  775. /package/dist/{hierCluster.renderers-6C5F7LRL.js.map → importPlot-D3MXCCLN.js.map} +0 -0
  776. /package/dist/{importPlot-V3P6DCUR.js.map → isoformExpression-WNGGUVIZ.js.map} +0 -0
  777. /package/dist/{isoformExpression.unit.spec-IYZWSLO5.js.map → isoformExpression.unit.spec-NVJ5TIKM.js.map} +0 -0
  778. /package/dist/{isoformExpression-6IIPJI4M.js.map → junction-O7N57JE3.js.map} +0 -0
  779. /package/dist/{junction.unit.spec-M4EN7KPG.js.map → junction.unit.spec-Z63DRTRR.js.map} +0 -0
  780. /package/dist/{junction-E6FB2OP4.js.map → launch.adhoc-MBDRXD3B.js.map} +0 -0
  781. /package/dist/{leftlabel.sample-5WTK5NBD.js.map → leftlabel.sample-IG6FOQ26.js.map} +0 -0
  782. /package/dist/{lollipop-L64ZTEEX.js.map → lollipop-ZUYBLPGN.js.map} +0 -0
  783. /package/dist/{maf-QLNFANWO.js.map → maf-QOS5LURG.js.map} +0 -0
  784. /package/dist/{maftimeline-U7FMTMTV.js.map → maftimeline-FEHP2J55.js.map} +0 -0
  785. /package/dist/{launch.adhoc-SU5L2YXN.js.map → matrix-BG4J4RXA.js.map} +0 -0
  786. /package/dist/{matrix-GFVK3PEB.js.map → matrix-PX4LWTGN.js.map} +0 -0
  787. /package/dist/{matrix-HFJQGPJJ.js.map → matrix.cells-PTIDQVCI.js.map} +0 -0
  788. /package/dist/{matrix.cells-5JKTBI3X.js.map → matrix.config-NHW7BLIE.js.map} +0 -0
  789. /package/dist/{matrix.config-QPTQ22RR.js.map → matrix.data-FMIQRXOA.js.map} +0 -0
  790. /package/dist/{matrix.data-MXIUMSRR.js.map → matrix.dom-4S2UYJOU.js.map} +0 -0
  791. /package/dist/{matrix.dom-ENBFB4CW.js.map → matrix.groups-QMID5XAO.js.map} +0 -0
  792. /package/dist/{matrix.integration.spec-X4HM67TN.js.map → matrix.integration.spec-H6T7KP5R.js.map} +0 -0
  793. /package/dist/{matrix.groups-6DYTBVGR.js.map → matrix.interactivity-WQUO25HB.js.map} +0 -0
  794. /package/dist/{matrix.interactivity-QTB56LXE.js.map → matrix.layout-CTPVZZ34.js.map} +0 -0
  795. /package/dist/{matrix.layout-VQAORIIH.js.map → matrix.legend-K6EYUN6L.js.map} +0 -0
  796. /package/dist/{matrix.legend-SDJXYNHE.js.map → matrix.renderers-5DIAUY6R.js.map} +0 -0
  797. /package/dist/{matrix.renderers-6PMYIP2S.js.map → matrix.serieses-LRMN2J52.js.map} +0 -0
  798. /package/dist/{matrix.serieses-WWY7474U.js.map → matrix.sort-RGAGEA6Z.js.map} +0 -0
  799. /package/dist/{matrix.sort.unit.spec-3RM7V6CS.js.map → matrix.sort.unit.spec-RGICZZJL.js.map} +0 -0
  800. /package/dist/{matrix.sorterUi.unit.spec-YOV6FBRT.js.map → matrix.sorterUi.unit.spec-45QPEGWE.js.map} +0 -0
  801. /package/dist/{mavb-PJA76T7F.js.map → mavb-VEIVB62L.js.map} +0 -0
  802. /package/dist/{mds.fimo-GW7XPJGQ.js.map → mds.fimo-BG4LTWFB.js.map} +0 -0
  803. /package/dist/{mds.samplescatterplot-ZAIEWPO4.js.map → mds.samplescatterplot-PWADJZ2J.js.map} +0 -0
  804. /package/dist/{mds.survivalplot-ETLLFDWR.js.map → mds.survivalplot-BX4HZ23K.js.map} +0 -0
  805. /package/dist/{multivalue-AZPAQJQD.js.map → multivalue-OZALSBFW.js.map} +0 -0
  806. /package/dist/{numericDictTermCluster-KOJODGZT.js.map → numericDictTermCluster-7PGJ7KV4.js.map} +0 -0
  807. /package/dist/{oncomatrix-2TRXETOJ.js.map → oncomatrix-Q2EQZPLS.js.map} +0 -0
  808. /package/dist/{oncomatrix.spec-DOVKLS24.js.map → oncomatrix.spec-YEQOQRPW.js.map} +0 -0
  809. /package/dist/{plot.2dvaf-RQN6QADW.js.map → plot.2dvaf-NJSB3HNH.js.map} +0 -0
  810. /package/dist/{matrix.sort-V46C2MAZ.js.map → plot.app-AEUR6XGI.js.map} +0 -0
  811. /package/dist/{plot.barplot-46QRWJOX.js.map → plot.barplot-OXN2P5KL.js.map} +0 -0
  812. /package/dist/{plot.boxplot-54J4UWQX.js.map → plot.boxplot-2KHEVVFE.js.map} +0 -0
  813. /package/dist/{plot.brainImaging-Y32KQFLS.js.map → plot.brainImaging-JWDX4BZG.js.map} +0 -0
  814. /package/dist/{plot.disco-4R5J7Z5S.js.map → plot.disco-LUFC5GGC.js.map} +0 -0
  815. /package/dist/{plot.ssgq-6LCKYRYD.js.map → plot.ssgq-FMM3IRNA.js.map} +0 -0
  816. /package/dist/{plot.vaf2cov-UCBH4NSC.js.map → plot.vaf2cov-K5TAQUC5.js.map} +0 -0
  817. /package/dist/{plot.wsi-DAC7NUQE.js.map → plot.wsi-CNQCNZ4Z.js.map} +0 -0
  818. /package/dist/{polar2-JKV74QV5.js.map → polar2-AB6SVYRS.js.map} +0 -0
  819. /package/dist/{profileForms-VDYCFH4M.js.map → profileForms-AIEHZ4GC.js.map} +0 -0
  820. /package/dist/{plot.app-MOIVGIS6.js.map → profilePlot-PZDFGXKZ.js.map} +0 -0
  821. /package/dist/{proteinView-A3EM6OR5.js.map → proteinView-7GWHQYXC.js.map} +0 -0
  822. /package/dist/{pseudbulk.unit.spec-CUMTLAH7.js.map → pseudbulk.unit.spec-NFT4VNTI.js.map} +0 -0
  823. /package/dist/{profilePlot-PR3LVRYU.js.map → pseudobulk-WDGWTXW4.js.map} +0 -0
  824. /package/dist/{pseudobulk-5E5MSMU3.js.map → qualitative-PZYJENE7.js.map} +0 -0
  825. /package/dist/{radar2-A5OYMORS.js.map → radar2-QHRGH3YS.js.map} +0 -0
  826. /package/dist/{radarFacility2-4TPJB6M4.js.map → radarFacility2-2JD26FL6.js.map} +0 -0
  827. /package/dist/{qualitative-WPXUBISK.js.map → render-YA4Z56LT.js.map} +0 -0
  828. /package/dist/{report-NCJOTYIC.js.map → report-2NUKFJTF.js.map} +0 -0
  829. /package/dist/{render-XQBWWS33.js.map → sampleView-2XVPJTVR.js.map} +0 -0
  830. /package/dist/{samplelst-FV7BAUN5.js.map → samplelst-DMILFDT5.js.map} +0 -0
  831. /package/dist/{samplematrix-DFD3PNI4.js.map → samplematrix-LYA5XTUM.js.map} +0 -0
  832. /package/dist/{sc-GIMTDVLG.js.map → sc-CM2C34MN.js.map} +0 -0
  833. /package/dist/{scatter-4GJ5HKUY.js.map → scatter-C3CH3HTF.js.map} +0 -0
  834. /package/dist/{scatter-P3ISZB3R.js.map → scatter-GO6LV6NY.js.map} +0 -0
  835. /package/dist/{selectGenomeWithTklst-ZZ4CEHDU.js.map → selectGenomeWithTklst-5C7UBTGZ.js.map} +0 -0
  836. /package/dist/{sampleView-2PUSMG4W.js.map → singleCellCellType-EZYESBVZ.js.map} +0 -0
  837. /package/dist/{singleCellCellType.unit.spec-JNEIICK5.js.map → singleCellCellType.unit.spec-DB6FM4XR.js.map} +0 -0
  838. /package/dist/{singleCellCellType-CEERCVTR.js.map → singleCellGeneExpression-DZLEFPW4.js.map} +0 -0
  839. /package/dist/{singleCellGeneExpression.unit.spec-CGRZGY66.js.map → singleCellGeneExpression.unit.spec-ZTBK3V43.js.map} +0 -0
  840. /package/dist/{singleCellGeneExpression-G5B7DDES.js.map → singleCellPlot-VF4TZ4FT.js.map} +0 -0
  841. /package/dist/{singlecell-IPTSIKNA.js.map → singlecell-2MHROPBN.js.map} +0 -0
  842. /package/dist/{singlecell-VB4KLPJF.js.map → singlecell-GPAFNOUZ.js.map} +0 -0
  843. /package/dist/{singleCellPlot-US5KTHS4.js.map → snp-K4EAEVW4.js.map} +0 -0
  844. /package/dist/{snp.unit.spec-Q537NGVG.js.map → snp.unit.spec-BUVQLVOY.js.map} +0 -0
  845. /package/dist/{snplocus-BV6WJTVP.js.map → snplocus-GEVISN6Z.js.map} +0 -0
  846. /package/dist/{spliceevent.a53ss.diagram-3BUQVK4Q.js.map → spliceevent.a53ss.diagram-5UPWNAZF.js.map} +0 -0
  847. /package/dist/{spliceevent.exonskip.diagram-CQZ2DFQ5.js.map → spliceevent.exonskip.diagram-7TKAQURC.js.map} +0 -0
  848. /package/dist/{spliceevent.noeventdiagram-QAEPR6LD.js.map → spliceevent.noeventdiagram-CDXZLR3Z.js.map} +0 -0
  849. /package/dist/{snp-6V2SCCRN.js.map → ssGSEA-NMCJUQXT.js.map} +0 -0
  850. /package/dist/{ssGSEA.unit.spec-A337IMC7.js.map → ssGSEA.unit.spec-3FQALTPQ.js.map} +0 -0
  851. /package/dist/{stattable-J4ZQKJFM.js.map → stattable-2RXQPWKK.js.map} +0 -0
  852. /package/dist/{summarizeCnvGeneexp-76UJXLA4.js.map → summarizeCnvGeneexp-4BQS5AFM.js.map} +0 -0
  853. /package/dist/{summarizeGeneexpSurvival-ZUEHXA2R.js.map → summarizeGeneexpSurvival-HTBZQFB5.js.map} +0 -0
  854. /package/dist/{summarizeMutationCnv-EBCBVMG6.js.map → summarizeMutationCnv-XUWZGPCM.js.map} +0 -0
  855. /package/dist/{ssGSEA-XNI5S7AC.js.map → summarizeMutationDiagnosis-QUJX42TO.js.map} +0 -0
  856. /package/dist/{summarizeMutationSurvival-QRFMJLLO.js.map → summarizeMutationSurvival-3R47TTR6.js.map} +0 -0
  857. /package/dist/{summarizeMutationDiagnosis-VLFI2ZIZ.js.map → summary-6UUB63QR.js.map} +0 -0
  858. /package/dist/{summary.integration.spec-52WP6SNY.js.map → summary.integration.spec-JJDE6SRV.js.map} +0 -0
  859. /package/dist/{summaryInput-WUJNHCGH.js.map → summaryInput-JG4AW6FW.js.map} +0 -0
  860. /package/dist/{sunburst-IJ3ZG2BC.js.map → sunburst-YKB42RZX.js.map} +0 -0
  861. /package/dist/{survival-SQRYWGWZ.js.map → survival-3IFFTDQA.js.map} +0 -0
  862. /package/dist/{survival-F2B5JKOO.js.map → survival-HOFNJENX.js.map} +0 -0
  863. /package/dist/{svgraph-HVCMF6KI.js.map → svgraph-WFEY4ZIZ.js.map} +0 -0
  864. /package/dist/{svmr-PROHTMTP.js.map → svmr-44EIX7YD.js.map} +0 -0
  865. /package/dist/{table-3E64OJNV.js.map → table-6MKVJUNC.js.map} +0 -0
  866. /package/dist/{termCollection-WKT6ESMI.js.map → termCollection-6JBVQL6Y.js.map} +0 -0
  867. /package/dist/{summary-U3YKEMZC.js.map → termCollection-TTELZVC5.js.map} +0 -0
  868. /package/dist/{termCollection.unit.spec-XMOCMVER.js.map → termCollection.unit.spec-6Z7X646L.js.map} +0 -0
  869. /package/dist/{termCollection-MUH7P6B5.js.map → termCollectionFractionSelection-5DVIJBM5.js.map} +0 -0
  870. /package/dist/{termCollectionFractionSelection.unit.spec-MG7E3EIZ.js.map → termCollectionFractionSelection.unit.spec-3HIM5BIF.js.map} +0 -0
  871. /package/dist/{termCollectionFractionSelection-P5G6WIJJ.js.map → tk-HSYWJCGQ.js.map} +0 -0
  872. /package/dist/{tk-HWUPUGOS.js.map → tk-PNOVG2XS.js.map} +0 -0
  873. /package/dist/{tp.ui-RRB5MJRD.js.map → tp.ui-COBBSUPB.js.map} +0 -0
  874. /package/dist/{tk-SBM2GN3S.js.map → tvs.dt-35AKURFI.js.map} +0 -0
  875. /package/dist/{tvs.dtcnv.categorical-7RJPQKMX.js.map → tvs.dtcnv.categorical-3EHXYROL.js.map} +0 -0
  876. /package/dist/{tvs.dtcnv.continuous-FW4ZXIYY.js.map → tvs.dtcnv.continuous-AXQ2GU6S.js.map} +0 -0
  877. /package/dist/{tvs.dtfusion-3GDWW3ML.js.map → tvs.dtfusion-PLJIMPNX.js.map} +0 -0
  878. /package/dist/{tvs.dtitd-FER4H4UO.js.map → tvs.dtitd-JS6RFBV5.js.map} +0 -0
  879. /package/dist/{tvs.dtsnvindel-ISEOJ5UA.js.map → tvs.dtsnvindel-MDEM5MPT.js.map} +0 -0
  880. /package/dist/{tvs.dtsv-JDML7EWE.js.map → tvs.dtsv-OU756YLO.js.map} +0 -0
  881. /package/dist/{tvs.samplelst-MJTM6GSV.js.map → tvs.samplelst-5NDICES4.js.map} +0 -0
  882. /package/dist/{tvs.termCollection-GMOXBJWF.js.map → tvs.termCollection-5URPDPH6.js.map} +0 -0
  883. /package/dist/{tvs.dt-I2ECKHQ2.js.map → vocabulary-CHCVMPK5.js.map} +0 -0
  884. /package/dist/{wsi.direct-IVPACPNT.js.map → wsi.direct-JSKV4H4X.js.map} +0 -0
@@ -0,0 +1,3066 @@
1
+ import {
2
+ termjson
3
+ } from "./chunk-2TZITKMT.js";
4
+ import {
5
+ getSortOptions
6
+ } from "./chunk-SNCZRDS5.js";
7
+ import {
8
+ getRunPp
9
+ } from "./chunk-JQVA264Z.js";
10
+ import {
11
+ detectLst,
12
+ sleep
13
+ } from "./chunk-6I5VWSJA.js";
14
+ import {
15
+ require_tape
16
+ } from "./chunk-TUMA63WX.js";
17
+ import "./chunk-QQUOVIOM.js";
18
+ import "./chunk-HL6GJIOH.js";
19
+ import "./chunk-FISQTHD4.js";
20
+ import "./chunk-KLWSW6CC.js";
21
+ import "./chunk-PRZWSBMA.js";
22
+ import "./chunk-5PMFCQKC.js";
23
+ import "./chunk-MKAF2BHB.js";
24
+ import "./chunk-WBMYHNKH.js";
25
+ import "./chunk-4FTH4L3A.js";
26
+ import "./chunk-LGKXSWY4.js";
27
+ import "./chunk-D5PX2UDG.js";
28
+ import "./chunk-HJ6L54YS.js";
29
+ import "./chunk-XFAL46LZ.js";
30
+ import "./chunk-OPMMU6DQ.js";
31
+ import "./chunk-ELJX3QIQ.js";
32
+ import "./chunk-7BLXK3GI.js";
33
+ import "./chunk-VSSZJHOR.js";
34
+ import "./chunk-5RUVBYLK.js";
35
+ import "./chunk-6X7PP7A4.js";
36
+ import "./chunk-EO6M3LY3.js";
37
+ import "./chunk-DXLO4OAB.js";
38
+ import {
39
+ CNVClasses,
40
+ mutationClasses,
41
+ proteinChangingMutations,
42
+ synonymousMutations,
43
+ truncatingMutations
44
+ } from "./chunk-4QBRVM4V.js";
45
+ import "./chunk-H6INPPUC.js";
46
+ import "./chunk-PF4DSFDR.js";
47
+ import "./chunk-IMYSFDE5.js";
48
+ import "./chunk-W5J3LTYS.js";
49
+ import "./chunk-4ZL6IBXM.js";
50
+ import "./chunk-OZVWP4ZR.js";
51
+ import "./chunk-FXQXCOII.js";
52
+ import "./chunk-TLT4YIG3.js";
53
+ import "./chunk-5R63Q5KH.js";
54
+ import "./chunk-I6Y4O3RR.js";
55
+ import "./chunk-Q5RDQNIT.js";
56
+ import "./chunk-DQC5FFGV.js";
57
+ import {
58
+ __toESM
59
+ } from "./chunk-HFNDKYVF.js";
60
+
61
+ // plots/matrix/test/matrix.integration.spec.js
62
+ var import_tape = __toESM(require_tape(), 1);
63
+ (0, import_tape.default)("\n", function(test) {
64
+ test.comment("-***- plots/matrix -***-");
65
+ test.end();
66
+ });
67
+ (0, import_tape.default)("only dictionary terms", function(test) {
68
+ test.timeoutAfter(5e3);
69
+ test.plan(5);
70
+ runpp({
71
+ state: {
72
+ plots: [
73
+ {
74
+ chartType: "matrix",
75
+ settings: {
76
+ matrix: {
77
+ // the matrix autocomputes the colw based on available screen width,
78
+ // need to set an exact screen width for consistent tests using getBBox()
79
+ availContentWidth: 1200
80
+ }
81
+ },
82
+ termgroups: [
83
+ {
84
+ name: "Demographics",
85
+ lst: [
86
+ {
87
+ id: "aaclassic_5",
88
+ q: {
89
+ mode: "continuous"
90
+ }
91
+ },
92
+ {
93
+ id: "sex"
94
+ //q: { mode: 'values' } // or 'groupsetting'
95
+ },
96
+ {
97
+ id: "agedx",
98
+ q: {
99
+ mode: "discrete",
100
+ type: "regular-bin",
101
+ bin_size: 5,
102
+ first_bin: {
103
+ startunbounded: true,
104
+ stop: 5,
105
+ stopinclusive: true
106
+ }
107
+ }
108
+ // or 'continuous'
109
+ },
110
+ {
111
+ id: "Arrhythmias"
112
+ }
113
+ ]
114
+ }
115
+ ]
116
+ }
117
+ ]
118
+ },
119
+ matrix: {
120
+ callbacks: {
121
+ "postRender.test": runTests
122
+ }
123
+ }
124
+ });
125
+ function runTests(matrix) {
126
+ matrix.on("postRender.test", null);
127
+ test.equal(
128
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
129
+ 4,
130
+ `should render the expected number of serieses`
131
+ );
132
+ test.equal(
133
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
134
+ 240,
135
+ `should render the expected number of cell rects`
136
+ );
137
+ test.equal(
138
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
139
+ 1,
140
+ `should render the expected number of cluster rects`
141
+ );
142
+ const sg0rects = matrix.Inner.dom.seriesesG.select(".sjpp-mass-series-g").selectAll("rect");
143
+ test.equal(
144
+ sg0rects.filter((d) => d.key <= 0 && d.fill === "transparent").size(),
145
+ 14,
146
+ `should render special values with transparent rects`
147
+ );
148
+ const uniqueHts = /* @__PURE__ */ new Set();
149
+ sg0rects.each((d) => uniqueHts.add(d.height));
150
+ test.equal(uniqueHts.size, 45, `should render different rect heights for continuous mode bar plots`);
151
+ if (test._ok) matrix.Inner.app.destroy();
152
+ test.end();
153
+ }
154
+ });
155
+ (0, import_tape.default)("termCollection", function(test) {
156
+ runpp({
157
+ state: {
158
+ plots: [
159
+ {
160
+ chartType: "matrix",
161
+ termgroups: [
162
+ {
163
+ name: "",
164
+ lst: [getTermCollection()]
165
+ }
166
+ ]
167
+ }
168
+ ]
169
+ },
170
+ matrix: { callbacks: { "postRender.test": runTests } }
171
+ });
172
+ function runTests(matrix) {
173
+ matrix.on("postRender.test", null);
174
+ test.equal(
175
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
176
+ 1,
177
+ `should render the expected number of serieses`
178
+ );
179
+ if (test._ok) matrix.Inner.app.destroy();
180
+ test.end();
181
+ }
182
+ });
183
+ (0, import_tape.default)("with divide by terms", function(test) {
184
+ test.timeoutAfter(5e3);
185
+ test.plan(3);
186
+ runpp({
187
+ state: {
188
+ plots: [
189
+ {
190
+ chartType: "matrix",
191
+ settings: {
192
+ // the matrix autocomputes the colw based on available screen width,
193
+ // need to set an exact screen width for consistent tests using getBBox()
194
+ matrix: {
195
+ availContentWidth: 1200
196
+ }
197
+ },
198
+ divideBy: {
199
+ id: "sex"
200
+ },
201
+ termgroups: [
202
+ {
203
+ name: "Demographics",
204
+ lst: [
205
+ { id: "agedx", term: termjson["agedx"] },
206
+ { id: "diaggrp", term: termjson["diaggrp"] },
207
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
208
+ ]
209
+ }
210
+ ]
211
+ }
212
+ ]
213
+ },
214
+ matrix: {
215
+ callbacks: {
216
+ "postRender.test": runTests
217
+ }
218
+ }
219
+ });
220
+ function runTests(matrix) {
221
+ matrix.on("postRender.test", null);
222
+ test.equal(
223
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
224
+ 3,
225
+ `should render the expected number of serieses`
226
+ );
227
+ test.equal(
228
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
229
+ 180,
230
+ `should render the expected number of cell rects`
231
+ );
232
+ test.equal(
233
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
234
+ 2,
235
+ `should render the expected number of cluster rects`
236
+ );
237
+ if (test._ok) matrix.Inner.app.destroy();
238
+ test.end();
239
+ }
240
+ });
241
+ (0, import_tape.default)("long column group labels", function(test) {
242
+ test.timeoutAfter(5e3);
243
+ test.plan(2);
244
+ runpp({
245
+ state: {
246
+ plots: [
247
+ {
248
+ chartType: "matrix",
249
+ settings: {
250
+ // the matrix autocomputes the colw based on available screen width,
251
+ // need to set an exact screen width for consistent tests using getBBox()
252
+ matrix: {
253
+ availContentWidth: 1200
254
+ }
255
+ },
256
+ divideBy: {
257
+ id: "diaggrp"
258
+ },
259
+ termgroups: [
260
+ {
261
+ name: "Demographics",
262
+ lst: [
263
+ { id: "diaggrp", term: termjson["diaggrp"] },
264
+ { id: "agedx", term: termjson["agedx"] },
265
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
266
+ ]
267
+ }
268
+ ]
269
+ }
270
+ ]
271
+ },
272
+ matrix: {
273
+ callbacks: {
274
+ "postRender.test222": runTests
275
+ }
276
+ }
277
+ });
278
+ function runTests(matrix) {
279
+ matrix.on("postRender.test222", null);
280
+ const y = matrix.Inner.dom.clipRect.property("y").baseVal.value;
281
+ test.true(y > -63 && y < -62, `should adjust the clip-path rect y-value to between -39 and -38, actual=${y}`);
282
+ const h = matrix.Inner.dom.clipRect.property("height").baseVal.value;
283
+ test.true(h > 619 && h <= 620, `should adjust the clip-path height to between 595 and 596, actual=${h}`);
284
+ if (test._ok) matrix.Inner.app.destroy();
285
+ test.end();
286
+ }
287
+ });
288
+ (0, import_tape.default)("divide by continuous terms", function(test) {
289
+ test.timeoutAfter(5e3);
290
+ test.plan(3);
291
+ runpp({
292
+ state: {
293
+ plots: [
294
+ {
295
+ chartType: "matrix",
296
+ settings: {
297
+ // the matrix autocomputes the colw based on available screen width,
298
+ // need to set an exact screen width for consistent tests using getBBox()
299
+ matrix: {
300
+ availContentWidth: 1200
301
+ }
302
+ },
303
+ divideBy: {
304
+ id: "agedx"
305
+ },
306
+ termgroups: [
307
+ {
308
+ name: "Demographics",
309
+ lst: [
310
+ { id: "sex", term: termjson["sex"] },
311
+ { id: "diaggrp", term: termjson["diaggrp"] },
312
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
313
+ ]
314
+ }
315
+ ]
316
+ }
317
+ ]
318
+ },
319
+ matrix: {
320
+ callbacks: {
321
+ "postRender.test": runTests
322
+ }
323
+ }
324
+ });
325
+ function runTests(matrix) {
326
+ matrix.on("postRender.test", null);
327
+ test.equal(
328
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
329
+ 3,
330
+ `should render the expected number of serieses`
331
+ );
332
+ test.equal(
333
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
334
+ 180,
335
+ `should render the expected number of cell rects`
336
+ );
337
+ test.equal(
338
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
339
+ 5,
340
+ `should render the expected number of cluster rects`
341
+ );
342
+ if (test._ok) matrix.Inner.app.destroy();
343
+ test.end();
344
+ }
345
+ });
346
+ (0, import_tape.default)("geneVariant term", function(test) {
347
+ test.timeoutAfter(5e3);
348
+ test.plan(2);
349
+ runpp({
350
+ state: {
351
+ nav: {
352
+ activeTab: 1
353
+ },
354
+ plots: [
355
+ {
356
+ chartType: "matrix",
357
+ settings: {
358
+ // the matrix autocomputes the colw based on available screen width,
359
+ // need to set an exact screen width for consistent tests using getBBox()
360
+ matrix: {
361
+ availContentWidth: 1200
362
+ }
363
+ },
364
+ termgroups: [
365
+ {
366
+ name: "",
367
+ lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
368
+ }
369
+ ]
370
+ }
371
+ ]
372
+ },
373
+ matrix: {
374
+ callbacks: {
375
+ "postRender.test": runTests
376
+ }
377
+ }
378
+ });
379
+ function runTests(matrix) {
380
+ matrix.on("postRender.test", null);
381
+ test.equal(
382
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
383
+ 1,
384
+ `should render the expected number of serieses`
385
+ );
386
+ test.equal(
387
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
388
+ 242,
389
+ `should render the expected number of cell rects`
390
+ );
391
+ if (test._ok) matrix.Inner.app.destroy();
392
+ test.end();
393
+ }
394
+ });
395
+ (0, import_tape.default)("geneVariant terms and dictionary terms", function(test) {
396
+ test.timeoutAfter(5e3);
397
+ test.plan(3);
398
+ runpp({
399
+ state: {
400
+ nav: {
401
+ activeTab: 1
402
+ },
403
+ plots: [
404
+ {
405
+ chartType: "matrix",
406
+ settings: {
407
+ // the matrix autocomputes the colw based on available screen width,
408
+ // need to set an exact screen width for consistent tests using getBBox()
409
+ matrix: {
410
+ availContentWidth: 1200
411
+ }
412
+ },
413
+ termgroups: [
414
+ {
415
+ name: "",
416
+ lst: [
417
+ ...getGenes(),
418
+ { id: "agedx", term: termjson["agedx"] },
419
+ { id: "diaggrp", term: termjson["diaggrp"] },
420
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
421
+ ]
422
+ }
423
+ ]
424
+ }
425
+ ]
426
+ },
427
+ matrix: {
428
+ callbacks: {
429
+ "postRender.test": runTests
430
+ }
431
+ }
432
+ });
433
+ function runTests(matrix) {
434
+ matrix.on("postRender.test", null);
435
+ test.equal(
436
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
437
+ 6,
438
+ `should render the expected number of serieses`
439
+ );
440
+ test.equal(
441
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
442
+ 902,
443
+ `should render the expected number of cell rects`
444
+ );
445
+ test.equal(
446
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
447
+ 1,
448
+ `should render the expected number of cluster rects`
449
+ );
450
+ if (test._ok) matrix.Inner.app.destroy();
451
+ test.end();
452
+ }
453
+ });
454
+ (0, import_tape.default)("geneVariant terms with divide by dictionary term", function(test) {
455
+ test.timeoutAfter(5e3);
456
+ test.plan(3);
457
+ runpp({
458
+ state: {
459
+ nav: {
460
+ activeTab: 1
461
+ },
462
+ plots: [
463
+ {
464
+ chartType: "matrix",
465
+ settings: {
466
+ // the matrix autocomputes the colw based on available screen width,
467
+ // need to set an exact screen width for consistent tests using getBBox()
468
+ matrix: {
469
+ availContentWidth: 1200
470
+ }
471
+ },
472
+ divideBy: {
473
+ id: "sex"
474
+ },
475
+ termgroups: [
476
+ {
477
+ name: "",
478
+ lst: getGenes()
479
+ }
480
+ ]
481
+ }
482
+ ]
483
+ },
484
+ matrix: {
485
+ callbacks: {
486
+ "postRender.test": runTests
487
+ }
488
+ }
489
+ });
490
+ function runTests(matrix) {
491
+ matrix.on("postRender.test", null);
492
+ test.equal(
493
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
494
+ 3,
495
+ `should render the expected number of serieses`
496
+ );
497
+ test.equal(
498
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
499
+ 722,
500
+ `should render the expected number of cell rects`
501
+ );
502
+ test.equal(
503
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
504
+ 2,
505
+ `should render the expected number of cluster rects`
506
+ );
507
+ if (test._ok) matrix.Inner.app.destroy();
508
+ test.end();
509
+ }
510
+ });
511
+ (0, import_tape.default)("geneVariant terms and dictionary terms divide by dictionary term", function(test) {
512
+ test.timeoutAfter(5e3);
513
+ test.plan(3);
514
+ runpp({
515
+ state: {
516
+ nav: {
517
+ activeTab: 1
518
+ },
519
+ plots: [
520
+ {
521
+ chartType: "matrix",
522
+ settings: {
523
+ // the matrix autocomputes the colw based on available screen width,
524
+ // need to set an exact screen width for consistent tests using getBBox()
525
+ matrix: {
526
+ availContentWidth: 1200
527
+ }
528
+ },
529
+ divideBy: {
530
+ id: "sex"
531
+ },
532
+ termgroups: [
533
+ {
534
+ name: "",
535
+ lst: [
536
+ ...getGenes(),
537
+ { id: "agedx", term: termjson["agedx"] },
538
+ { id: "diaggrp", term: termjson["diaggrp"] },
539
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
540
+ ]
541
+ }
542
+ ]
543
+ }
544
+ ]
545
+ },
546
+ matrix: {
547
+ callbacks: {
548
+ "postRender.test": runTests
549
+ }
550
+ }
551
+ });
552
+ function runTests(matrix) {
553
+ matrix.on("postRender.test", null);
554
+ test.equal(
555
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
556
+ 6,
557
+ `should render the expected number of serieses`
558
+ );
559
+ test.equal(
560
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
561
+ 902,
562
+ `should render the expected number of cell rects`
563
+ );
564
+ test.equal(
565
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
566
+ 2,
567
+ `should render the expected number of cluster rects`
568
+ );
569
+ if (test._ok) matrix.Inner.app.destroy();
570
+ test.end();
571
+ }
572
+ });
573
+ (0, import_tape.default)("sort samples by sample name", function(test) {
574
+ test.timeoutAfter(5e3);
575
+ test.plan(4);
576
+ runpp({
577
+ state: {
578
+ nav: {
579
+ activeTab: 1
580
+ },
581
+ plots: [
582
+ {
583
+ chartType: "matrix",
584
+ settings: {
585
+ // the matrix autocomputes the colw based on available screen width,
586
+ // need to set an exact screen width for consistent tests using getBBox()
587
+ matrix: {
588
+ availContentWidth: 1200,
589
+ sortSamplesBy: "name"
590
+ }
591
+ },
592
+ termgroups: [
593
+ {
594
+ name: "",
595
+ lst: getGenes()
596
+ }
597
+ ]
598
+ }
599
+ ]
600
+ },
601
+ matrix: {
602
+ callbacks: {
603
+ "postRender.test": runTests
604
+ }
605
+ }
606
+ });
607
+ function runTests(matrix) {
608
+ matrix.on("postRender.test", null);
609
+ const g = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g");
610
+ test.equal(g.size(), 60, `should render the expected number of sample names`);
611
+ test.equal(g._groups[0][0].textContent, "2646", `should be the expected sample name`);
612
+ test.equal(g._groups[0][9].textContent, "2772", `should be the expected sample name`);
613
+ test.equal(g._groups[0][59].textContent, "3472", `should be the expected sample name`);
614
+ if (test._ok) matrix.Inner.app.destroy();
615
+ test.end();
616
+ }
617
+ });
618
+ (0, import_tape.default)("sort samples by Mutation categories, not sorted by CNV", function(test) {
619
+ test.timeoutAfter(5e3);
620
+ test.plan(4);
621
+ runpp({
622
+ state: {
623
+ nav: {
624
+ activeTab: 1
625
+ },
626
+ plots: [
627
+ {
628
+ chartType: "matrix",
629
+ settings: {
630
+ // the matrix autocomputes the colw based on available screen width,
631
+ // need to set an exact screen width for consistent tests using getBBox()
632
+ matrix: {
633
+ availContentWidth: 1200,
634
+ sortSamplesBy: "a"
635
+ }
636
+ },
637
+ termgroups: [
638
+ {
639
+ name: "Demographics",
640
+ lst: getGenes()
641
+ }
642
+ ]
643
+ }
644
+ ]
645
+ },
646
+ matrix: {
647
+ callbacks: {
648
+ "postRender.test": runTests
649
+ }
650
+ }
651
+ });
652
+ function runTests(matrix) {
653
+ matrix.on("postRender.test", null);
654
+ test.equal(
655
+ matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
656
+ 60,
657
+ `should render the expected number of sample names`
658
+ );
659
+ const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
660
+ const index_3346 = Array.from(rects).find((rect) => rect.textContent == "3346").__data__.index;
661
+ test.true(index_3346 < 10, `sample 3346 should be in the expected order (not sorted by CNV)`);
662
+ const index_2660 = Array.from(rects).find((rect) => rect.textContent == "2660").__data__.index;
663
+ test.equal(index_2660, 8, `sample 2660 should be in the expected order (not sorted by CNV)`);
664
+ const index_3472 = Array.from(rects).find((rect) => rect.textContent == "3472").__data__.index;
665
+ test.true(index_3472 > 9, `sample 3472 should be in the expected order (not sorted by CNV)`);
666
+ if (test._ok) matrix.Inner.app.destroy();
667
+ test.end();
668
+ }
669
+ });
670
+ (0, import_tape.default)("sort samples by CNV+SSM > SSM-only", function(test) {
671
+ test.timeoutAfter(5e3);
672
+ test.plan(5);
673
+ const sortOptions = getSortOptions(
674
+ void 0,
675
+ {},
676
+ {
677
+ proteinChangingMutations,
678
+ truncatingMutations,
679
+ synonymousMutations,
680
+ mutationClasses,
681
+ CNVClasses
682
+ }
683
+ );
684
+ const cnvtb = sortOptions.a.sortPriority[0].tiebreakers[2];
685
+ cnvtb.disabled = false;
686
+ runpp({
687
+ state: {
688
+ nav: {
689
+ activeTab: 1
690
+ },
691
+ plots: [
692
+ {
693
+ chartType: "matrix",
694
+ legendValueFilter: {
695
+ type: "tvslst",
696
+ lst: []
697
+ },
698
+ settings: {
699
+ // the matrix autocomputes the colw based on available screen width,
700
+ // need to set an exact screen width for consistent tests using getBBox()
701
+ matrix: {
702
+ availContentWidth: 1200,
703
+ sortSamplesBy: "a",
704
+ sortOptions
705
+ }
706
+ },
707
+ termgroups: [
708
+ {
709
+ name: "",
710
+ lst: getGenes()
711
+ }
712
+ ]
713
+ }
714
+ ]
715
+ },
716
+ matrix: {
717
+ callbacks: {
718
+ "postRender.test": runTests
719
+ }
720
+ }
721
+ });
722
+ function runTests(matrix) {
723
+ matrix.on("postRender.test", null);
724
+ test.equal(
725
+ matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
726
+ 60,
727
+ `should render the expected number of sample names`
728
+ );
729
+ const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
730
+ const r = Array.from(rects);
731
+ const index_3416 = r.find((rect) => rect.textContent == "3416").__data__.index;
732
+ test.equal(index_3416, 0, `should be in the expected order`);
733
+ const index_3346 = r.find((rect) => rect.textContent == "3346").__data__.index;
734
+ test.equal(index_3346, 9, `should be in the expected order`);
735
+ const index_2660 = r.find((rect) => rect.textContent == "2660").__data__.index;
736
+ test.equal(index_2660, 11, `should be in the expected order`);
737
+ const index_3472 = r.find((rect) => rect.textContent == "3472").__data__.index;
738
+ test.equal(index_3472, r.length - 1, `should be in the expected order`);
739
+ if (test._ok) matrix.Inner.app.destroy();
740
+ test.end();
741
+ }
742
+ });
743
+ (0, import_tape.default)("set max number of samples", function(test) {
744
+ test.timeoutAfter(5e3);
745
+ test.plan(1);
746
+ runpp({
747
+ state: {
748
+ nav: {
749
+ activeTab: 1
750
+ },
751
+ plots: [
752
+ {
753
+ chartType: "matrix",
754
+ settings: {
755
+ matrix: {
756
+ // the matrix autocomputes the colw based on available screen width,
757
+ // need to set an exact screen width for consistent tests using getBBox()
758
+ availContentWidth: 1200,
759
+ maxSample: 10
760
+ }
761
+ },
762
+ termgroups: [
763
+ {
764
+ name: "",
765
+ lst: [
766
+ {
767
+ id: "sex"
768
+ //q: { mode: 'values' } // or 'groupsetting'
769
+ }
770
+ ]
771
+ }
772
+ ]
773
+ }
774
+ ]
775
+ },
776
+ matrix: {
777
+ callbacks: {
778
+ "postRender.test": runTests
779
+ }
780
+ }
781
+ });
782
+ function runTests(matrix) {
783
+ matrix.on("postRender.test", null);
784
+ test.equal(
785
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
786
+ 10,
787
+ `should render the expected number of cell rects`
788
+ );
789
+ if (test._ok) matrix.Inner.app.destroy();
790
+ test.end();
791
+ }
792
+ });
793
+ (0, import_tape.default)("sort sample groups by Group Name", function(test) {
794
+ test.timeoutAfter(5e3);
795
+ test.plan(2);
796
+ runpp({
797
+ state: {
798
+ nav: {
799
+ activeTab: 1
800
+ },
801
+ plots: [
802
+ {
803
+ chartType: "matrix",
804
+ settings: {
805
+ // the matrix autocomputes the colw based on available screen width,
806
+ // need to set an exact screen width for consistent tests using getBBox()
807
+ matrix: {
808
+ availContentWidth: 1200,
809
+ sortSampleGrpsBy: "name"
810
+ }
811
+ },
812
+ divideBy: {
813
+ id: "genetic_race"
814
+ },
815
+ termgroups: [
816
+ {
817
+ name: "",
818
+ lst: getGenes()
819
+ }
820
+ ]
821
+ }
822
+ ]
823
+ },
824
+ matrix: {
825
+ callbacks: {
826
+ "postRender.test": runTests
827
+ }
828
+ }
829
+ });
830
+ function runTests(matrix) {
831
+ matrix.on("postRender.test", null);
832
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
833
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
834
+ )._groups[0];
835
+ test.true(matrixGroupLabels[0].textContent.startsWith("African Ancestry"), `should be the expected group name`);
836
+ test.true(matrixGroupLabels[2].textContent.startsWith("European Ancestry"), `should be the expected group name`);
837
+ if (test._ok) matrix.Inner.app.destroy();
838
+ test.end();
839
+ }
840
+ });
841
+ (0, import_tape.default)("sort sample groups by Sample Count", function(test) {
842
+ test.timeoutAfter(5e3);
843
+ test.plan(2);
844
+ runpp({
845
+ state: {
846
+ nav: {
847
+ activeTab: 1
848
+ },
849
+ plots: [
850
+ {
851
+ chartType: "matrix",
852
+ settings: {
853
+ // the matrix autocomputes the colw based on available screen width,
854
+ // need to set an exact screen width for consistent tests using getBBox()
855
+ matrix: {
856
+ availContentWidth: 1200,
857
+ sortSampleGrpsBy: "sampleCount"
858
+ }
859
+ },
860
+ divideBy: {
861
+ id: "genetic_race"
862
+ },
863
+ termgroups: [
864
+ {
865
+ name: "",
866
+ lst: getGenes()
867
+ }
868
+ ]
869
+ }
870
+ ]
871
+ },
872
+ matrix: {
873
+ callbacks: {
874
+ "postRender.test": runTests
875
+ }
876
+ }
877
+ });
878
+ function runTests(matrix) {
879
+ matrix.on("postRender.test", null);
880
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
881
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
882
+ )._groups[0];
883
+ test.true(matrixGroupLabels[0].textContent.startsWith("European Ancestry"), `should be the expected group name`);
884
+ test.true(matrixGroupLabels[2].textContent.startsWith("Asian Ancestry"), `should be the expected group name`);
885
+ if (test._ok) matrix.Inner.app.destroy();
886
+ test.end();
887
+ }
888
+ });
889
+ (0, import_tape.default)("sort sample groups by Hits", function(test) {
890
+ test.timeoutAfter(5e3);
891
+ test.plan(2);
892
+ runpp({
893
+ state: {
894
+ nav: {
895
+ activeTab: 1
896
+ },
897
+ plots: [
898
+ {
899
+ chartType: "matrix",
900
+ settings: {
901
+ // the matrix autocomputes the colw based on available screen width,
902
+ // need to set an exact screen width for consistent tests using getBBox()
903
+ matrix: {
904
+ availContentWidth: 1200,
905
+ sortSampleGrpsBy: "hits"
906
+ }
907
+ },
908
+ divideBy: {
909
+ id: "Hearing loss"
910
+ },
911
+ termgroups: [
912
+ {
913
+ name: "",
914
+ lst: getGenes()
915
+ }
916
+ ]
917
+ }
918
+ ]
919
+ },
920
+ matrix: {
921
+ callbacks: {
922
+ "postRender.test": runTests
923
+ }
924
+ }
925
+ });
926
+ function runTests(matrix) {
927
+ matrix.on("postRender.test", null);
928
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
929
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
930
+ )._groups[0];
931
+ test.true(matrixGroupLabels[0].textContent.startsWith("3: Severe"), `should be the expected group name`);
932
+ test.true(matrixGroupLabels[4].textContent.startsWith("1: Mild"), `should be the expected group name`);
933
+ if (test._ok) matrix.Inner.app.destroy();
934
+ test.end();
935
+ }
936
+ });
937
+ (0, import_tape.default)("sort sample groups by Hits 2", function(test) {
938
+ test.timeoutAfter(5e3);
939
+ test.plan(2);
940
+ runpp({
941
+ state: {
942
+ plots: [
943
+ {
944
+ id: "xyz",
945
+ chartType: "matrix",
946
+ settings: {
947
+ // the matrix autocomputes the colw based on available screen width,
948
+ // need to set an exact screen width for consistent tests using getBBox()
949
+ matrix: {
950
+ availContentWidth: 1200,
951
+ sortSampleGrpsBy: "hits"
952
+ }
953
+ },
954
+ divideBy: {
955
+ id: "agedx"
956
+ },
957
+ termgroups: [
958
+ {
959
+ name: "",
960
+ lst: getGenes()
961
+ }
962
+ ]
963
+ }
964
+ ]
965
+ },
966
+ matrix: {
967
+ callbacks: {
968
+ postRender: runTests
969
+ }
970
+ }
971
+ });
972
+ function runTests(matrix) {
973
+ matrix.on("postRender", null);
974
+ const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
975
+ ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
976
+ )._groups[0];
977
+ test.true(matrixGroupLabels[0].textContent.startsWith("10 to <15"), `should have the expected left-most group name`);
978
+ test.true(matrixGroupLabels[4].textContent.startsWith("\u226520"), `should have the right-most expected group name`);
979
+ if (test._ok) matrix.Inner.app.destroy();
980
+ test.end();
981
+ }
982
+ });
983
+ (0, import_tape.default)("Display Sample Counts for Gene: Absolute", function(test) {
984
+ test.timeoutAfter(5e3);
985
+ test.plan(2);
986
+ runpp({
987
+ state: {
988
+ plots: [
989
+ {
990
+ chartType: "matrix",
991
+ settings: {
992
+ // the matrix autocomputes the colw based on available screen width,
993
+ // need to set an exact screen width for consistent tests using getBBox()
994
+ matrix: {
995
+ availContentWidth: 1200,
996
+ samplecount4gene: "abs"
997
+ }
998
+ },
999
+ termgroups: [
1000
+ {
1001
+ name: "",
1002
+ lst: getGenes()
1003
+ }
1004
+ ]
1005
+ }
1006
+ ]
1007
+ },
1008
+ matrix: {
1009
+ callbacks: {
1010
+ "postRender.test": runTests
1011
+ }
1012
+ }
1013
+ });
1014
+ function runTests(matrix) {
1015
+ matrix.on("postRender.test", null);
1016
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1017
+ const pattern = /\(\d+\)/;
1018
+ test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by absolute number`);
1019
+ test.true(
1020
+ pattern.test(termLabels[termLabels.length - 1].textContent),
1021
+ `should display sample counts for gene by absolute number`
1022
+ );
1023
+ if (test._ok) matrix.Inner.app.destroy();
1024
+ test.end();
1025
+ }
1026
+ });
1027
+ (0, import_tape.default)("Display Sample Counts for Gene: Percent", function(test) {
1028
+ test.timeoutAfter(5e3);
1029
+ test.plan(2);
1030
+ runpp({
1031
+ state: {
1032
+ plots: [
1033
+ {
1034
+ chartType: "matrix",
1035
+ settings: {
1036
+ // the matrix autocomputes the colw based on available screen width,
1037
+ // need to set an exact screen width for consistent tests using getBBox()
1038
+ matrix: {
1039
+ availContentWidth: 1200,
1040
+ samplecount4gene: "pct"
1041
+ }
1042
+ },
1043
+ termgroups: [
1044
+ {
1045
+ name: "",
1046
+ lst: getGenes()
1047
+ }
1048
+ ]
1049
+ }
1050
+ ]
1051
+ },
1052
+ matrix: {
1053
+ callbacks: {
1054
+ "postRender.test": runTests
1055
+ }
1056
+ }
1057
+ });
1058
+ function runTests(matrix) {
1059
+ matrix.on("postRender.test", null);
1060
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1061
+ const pattern = /\(\d+(\.\d+)? ?%\)/;
1062
+ test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by percentage`);
1063
+ test.true(
1064
+ pattern.test(termLabels[termLabels.length - 1].textContent),
1065
+ `should display sample counts for gene by percentage`
1066
+ );
1067
+ if (test._ok) matrix.Inner.app.destroy();
1068
+ test.end();
1069
+ }
1070
+ });
1071
+ (0, import_tape.default)("Display Sample Counts for Gene: None", function(test) {
1072
+ test.timeoutAfter(5e3);
1073
+ test.plan(2);
1074
+ runpp({
1075
+ state: {
1076
+ plots: [
1077
+ {
1078
+ chartType: "matrix",
1079
+ settings: {
1080
+ // the matrix autocomputes the colw based on available screen width,
1081
+ // need to set an exact screen width for consistent tests using getBBox()
1082
+ matrix: {
1083
+ availContentWidth: 1200,
1084
+ samplecount4gene: ""
1085
+ }
1086
+ },
1087
+ termgroups: [
1088
+ {
1089
+ name: "",
1090
+ lst: getGenes()
1091
+ }
1092
+ ]
1093
+ }
1094
+ ]
1095
+ },
1096
+ matrix: {
1097
+ callbacks: {
1098
+ "postRender.test": runTests
1099
+ }
1100
+ }
1101
+ });
1102
+ function runTests(matrix) {
1103
+ matrix.on("postRender.test", null);
1104
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1105
+ const pattern = /\(\d+(\.\d+)?%\)|\(\d+\)/g;
1106
+ test.true(!pattern.test(termLabels[0].textContent), `should not display sample counts for gene`);
1107
+ test.true(!pattern.test(termLabels[termLabels.length - 1].textContent), `should not display sample counts for gene`);
1108
+ if (test._ok) matrix.Inner.app.destroy();
1109
+ test.end();
1110
+ }
1111
+ });
1112
+ (0, import_tape.default)("Sort Genes By Sample Count", function(test) {
1113
+ test.timeoutAfter(5e3);
1114
+ test.plan(2);
1115
+ runpp({
1116
+ state: {
1117
+ plots: [
1118
+ {
1119
+ chartType: "matrix",
1120
+ settings: {
1121
+ // the matrix autocomputes the colw based on available screen width,
1122
+ // need to set an exact screen width for consistent tests using getBBox()
1123
+ matrix: {
1124
+ availContentWidth: 1200,
1125
+ sortTermsBy: "sampleCount"
1126
+ }
1127
+ },
1128
+ termgroups: [
1129
+ {
1130
+ name: "",
1131
+ lst: getGenes()
1132
+ }
1133
+ ]
1134
+ }
1135
+ ]
1136
+ },
1137
+ matrix: {
1138
+ callbacks: {
1139
+ "postRender.test": runTests
1140
+ }
1141
+ }
1142
+ });
1143
+ function runTests(matrix) {
1144
+ matrix.on("postRender.test", null);
1145
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1146
+ test.true(termLabels[0].textContent.startsWith("AKT1"), `should sort genes by sample count`);
1147
+ test.true(termLabels[2].textContent.startsWith("KRAS"), `should sort genes by sample count`);
1148
+ if (test._ok) matrix.Inner.app.destroy();
1149
+ test.end();
1150
+ }
1151
+ });
1152
+ (0, import_tape.default)("Sort Genes By Input Data Order", function(test) {
1153
+ test.timeoutAfter(5e3);
1154
+ test.plan(2);
1155
+ runpp({
1156
+ state: {
1157
+ plots: [
1158
+ {
1159
+ chartType: "matrix",
1160
+ settings: {
1161
+ // the matrix autocomputes the colw based on available screen width,
1162
+ // need to set an exact screen width for consistent tests using getBBox()
1163
+ matrix: {
1164
+ availContentWidth: 1200,
1165
+ sortTermsBy: "asListed"
1166
+ }
1167
+ },
1168
+ termgroups: [
1169
+ {
1170
+ name: "",
1171
+ lst: getGenes()
1172
+ }
1173
+ ]
1174
+ }
1175
+ ]
1176
+ },
1177
+ matrix: {
1178
+ callbacks: {
1179
+ "postRender.test": runTests
1180
+ }
1181
+ }
1182
+ });
1183
+ function runTests(matrix) {
1184
+ matrix.on("postRender.test", null);
1185
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1186
+ test.true(termLabels[0].textContent.startsWith("TP53"), `should sort genes by input data order`);
1187
+ test.true(termLabels[2].textContent.startsWith("AKT1"), `should sort genes by input data order`);
1188
+ if (test._ok) matrix.Inner.app.destroy();
1189
+ test.end();
1190
+ }
1191
+ });
1192
+ (0, import_tape.default)("avoid race condition - plot edit", function(test) {
1193
+ test.timeoutAfter(1500);
1194
+ test.plan(4);
1195
+ runpp({
1196
+ state: {
1197
+ plots: [
1198
+ {
1199
+ chartType: "matrix",
1200
+ settings: {
1201
+ // the matrix autocomputes the colw based on available screen width,
1202
+ // need to set an exact screen width for consistent tests using getBBox()
1203
+ matrix: {
1204
+ availContentWidth: 1200,
1205
+ sortTermsBy: "asListed"
1206
+ }
1207
+ },
1208
+ termgroups: [
1209
+ {
1210
+ name: "",
1211
+ lst: getGenes()
1212
+ }
1213
+ ]
1214
+ }
1215
+ ]
1216
+ },
1217
+ matrix: {
1218
+ callbacks: {
1219
+ "postRender.test": runTests
1220
+ }
1221
+ }
1222
+ });
1223
+ async function runTests(matrix) {
1224
+ matrix.on("postRender.test", null);
1225
+ matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1226
+ matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1227
+ const j = i;
1228
+ i = 0;
1229
+ const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1230
+ await sleep(j);
1231
+ return data;
1232
+ };
1233
+ matrix.on("postRender.test", async () => {
1234
+ matrix.on("postRender.test", null);
1235
+ await sleep(responseDelay + 300);
1236
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1237
+ test.equal(termLabels.size(), 1, `should have 1 gene row`);
1238
+ test.true(termLabels._groups?.[0][0].textContent.startsWith("BCR"), `should sort genes by input data order`);
1239
+ const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1240
+ const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1241
+ test.equal(
1242
+ rects.size(),
1243
+ 240,
1244
+ "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1245
+ );
1246
+ test.equal(hits.size(), 2, "should have the expected number of matrix cell rects with hits");
1247
+ if (test._ok) matrix.Inner.app.destroy();
1248
+ test.end();
1249
+ });
1250
+ const responseDelay = 10;
1251
+ let i = responseDelay;
1252
+ try {
1253
+ const results = await Promise.all([
1254
+ matrix.Inner.app.dispatch({
1255
+ type: "plot_edit",
1256
+ id: matrix.id,
1257
+ config: {
1258
+ termgroups: [
1259
+ {
1260
+ name: "",
1261
+ lst: [
1262
+ // $id is added manually since fillTermWrapper() is not called here and
1263
+ // cannot be assumed to be called within store.plot_edit()
1264
+ {
1265
+ $id: 0,
1266
+ term: {
1267
+ gene: "KRAS",
1268
+ name: "KRAS",
1269
+ type: "geneVariant",
1270
+ isleaf: true,
1271
+ groupsetting: { disabled: false }
1272
+ },
1273
+ q: { type: "values" }
1274
+ },
1275
+ {
1276
+ $id: 1,
1277
+ term: {
1278
+ gene: "AKT1",
1279
+ name: "AKT1",
1280
+ type: "geneVariant",
1281
+ isleaf: true,
1282
+ groupsetting: { disabled: false }
1283
+ },
1284
+ q: { type: "values" }
1285
+ }
1286
+ ]
1287
+ }
1288
+ ]
1289
+ }
1290
+ }),
1291
+ (async () => {
1292
+ await sleep(1);
1293
+ matrix.Inner.app.dispatch({
1294
+ type: "plot_edit",
1295
+ id: matrix.id,
1296
+ config: {
1297
+ termgroups: [
1298
+ {
1299
+ name: "",
1300
+ // $id is added manually since fillTermWrapper() is not called here and
1301
+ // cannot be assumed to be called within store.plot_edit()
1302
+ lst: [
1303
+ {
1304
+ $id: 3,
1305
+ term: {
1306
+ name: "BCR",
1307
+ genes: [
1308
+ {
1309
+ kind: "gene",
1310
+ id: "BCR",
1311
+ gene: "BCR",
1312
+ name: "BCR",
1313
+ type: "geneVariant"
1314
+ }
1315
+ ],
1316
+ type: "geneVariant",
1317
+ isleaf: true,
1318
+ groupsetting: { disabled: false }
1319
+ },
1320
+ q: { type: "values" }
1321
+ }
1322
+ ]
1323
+ }
1324
+ ]
1325
+ }
1326
+ });
1327
+ })()
1328
+ ]);
1329
+ } catch (e) {
1330
+ test.fail("error: " + e);
1331
+ throw e;
1332
+ }
1333
+ }
1334
+ });
1335
+ (0, import_tape.default)("avoid race condition - cohort change", function(test) {
1336
+ test.timeoutAfter(3e3);
1337
+ test.plan(4);
1338
+ runpp({
1339
+ state: {
1340
+ plots: [
1341
+ {
1342
+ chartType: "matrix",
1343
+ settings: {
1344
+ // the matrix autocomputes the colw based on available screen width,
1345
+ // need to set an exact screen width for consistent tests using getBBox()
1346
+ matrix: {
1347
+ availContentWidth: 1200,
1348
+ sortTermsBy: "asListed"
1349
+ }
1350
+ },
1351
+ termgroups: [
1352
+ {
1353
+ name: "",
1354
+ lst: getGenes()
1355
+ }
1356
+ ]
1357
+ }
1358
+ ]
1359
+ },
1360
+ matrix: {
1361
+ callbacks: {
1362
+ "postRender.test": runTests
1363
+ }
1364
+ }
1365
+ });
1366
+ async function runTests(matrix) {
1367
+ matrix.on("postRender.test", null);
1368
+ matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1369
+ matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1370
+ const vkeys = opts.filter.lst?.[0].tvs.values.map((v) => v.key);
1371
+ const j = responseDelays[i];
1372
+ i++;
1373
+ await sleep(j);
1374
+ const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1375
+ return data;
1376
+ };
1377
+ matrix.on("postRender.test", async () => {
1378
+ matrix.on("postRender.test", null);
1379
+ await sleep(responseDelays.reduce((sum, v) => sum + v, 0) + 300);
1380
+ const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1381
+ test.equal(termLabels.size(), 3, `should have 3 gene rows`);
1382
+ const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1383
+ test.equal(
1384
+ rects.size(),
1385
+ 1202,
1386
+ "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1387
+ );
1388
+ const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1389
+ test.equal(hits.size(), 0, "should have the expected number of matrix cell rects with hits");
1390
+ test.deepEqual(
1391
+ matrix.Inner.app.getState().termfilter.filter.lst?.[0].tvs,
1392
+ matrix.Inner.state.filter.lst?.[0].tvs,
1393
+ `app.state and matrix.state should have the same cohort filter value`
1394
+ );
1395
+ if (test._ok) matrix.Inner.app.destroy();
1396
+ test.end();
1397
+ });
1398
+ const responseDelays = [800, 500, 10];
1399
+ let i = 0;
1400
+ try {
1401
+ const results = await Promise.all([
1402
+ (async () => {
1403
+ await sleep(100);
1404
+ matrix.Inner.app.dispatch({
1405
+ type: "cohort_set",
1406
+ activeCohort: 1
1407
+ });
1408
+ })(),
1409
+ (async () => {
1410
+ await sleep(200);
1411
+ matrix.Inner.app.dispatch({
1412
+ type: "cohort_set",
1413
+ activeCohort: 0
1414
+ });
1415
+ })(),
1416
+ (async () => {
1417
+ await sleep(300);
1418
+ matrix.Inner.app.dispatch({
1419
+ type: "cohort_set",
1420
+ activeCohort: 2
1421
+ });
1422
+ })()
1423
+ ]);
1424
+ } catch (e) {
1425
+ test.fail("error: " + e);
1426
+ throw e;
1427
+ }
1428
+ }
1429
+ });
1430
+ (0, import_tape.default)('apply "hide" legend filters to a dictionary term', function(test) {
1431
+ test.timeoutAfter(5e3);
1432
+ test.plan(10);
1433
+ runpp({
1434
+ state: {
1435
+ plots: [
1436
+ {
1437
+ chartType: "matrix",
1438
+ settings: {
1439
+ matrix: {
1440
+ // the matrix autocomputes the colw based on available screen width,
1441
+ // need to set an exact screen width for consistent tests using getBBox()
1442
+ availContentWidth: 1200
1443
+ }
1444
+ },
1445
+ termgroups: [
1446
+ {
1447
+ name: "Demographics",
1448
+ lst: [
1449
+ {
1450
+ id: "aaclassic_5",
1451
+ q: {
1452
+ mode: "continuous"
1453
+ }
1454
+ },
1455
+ {
1456
+ id: "genetic_race"
1457
+ //q: { mode: 'values' } // or 'groupsetting'
1458
+ },
1459
+ {
1460
+ id: "agedx",
1461
+ q: {
1462
+ mode: "discrete",
1463
+ type: "regular-bin",
1464
+ bin_size: 5,
1465
+ first_bin: {
1466
+ startunbounded: true,
1467
+ stop: 5,
1468
+ stopinclusive: true
1469
+ }
1470
+ }
1471
+ // or 'continuous'
1472
+ }
1473
+ ]
1474
+ }
1475
+ ]
1476
+ }
1477
+ ]
1478
+ },
1479
+ matrix: {
1480
+ callbacks: {
1481
+ "postRender.test": runTests
1482
+ }
1483
+ }
1484
+ });
1485
+ async function runTests(matrix) {
1486
+ matrix.on("postRender.test", null);
1487
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1488
+ (d) => d?.__data__?.text?.startsWith("Asian")
1489
+ );
1490
+ legendTexts.dispatchEvent(
1491
+ new MouseEvent("mouseup", {
1492
+ bubbles: true,
1493
+ cancelable: true
1494
+ })
1495
+ );
1496
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1497
+ test.equal(options[0].innerText, "Hide", `First option should be Hide`);
1498
+ test.equal(options[1].innerText, "Show only", `second option should be Show only`);
1499
+ test.equal(options[2].innerText, "Show all", `third option should be Show all`);
1500
+ const rects = await detectLst({
1501
+ elem: matrix.Inner.dom.seriesesG.node(),
1502
+ selector: ".sjpp-mass-series-g rect",
1503
+ count: 177,
1504
+ trigger: () => {
1505
+ options[0].dispatchEvent(
1506
+ new MouseEvent("click", {
1507
+ bubbles: true,
1508
+ cancelable: true
1509
+ })
1510
+ );
1511
+ }
1512
+ });
1513
+ test.equal(
1514
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1515
+ 3,
1516
+ `should render the expected number of serieses`
1517
+ );
1518
+ test.equal(
1519
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1520
+ 1,
1521
+ `should render the expected number of cluster rects`
1522
+ );
1523
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1524
+ (d) => d?.__data__?.text?.startsWith("Asian")
1525
+ );
1526
+ legendTexts2.dispatchEvent(
1527
+ new MouseEvent("mouseup", {
1528
+ bubbles: true,
1529
+ cancelable: true
1530
+ })
1531
+ );
1532
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1533
+ test.equal(options2[0].innerText, "Show", `First option should be Show`);
1534
+ test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
1535
+ test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
1536
+ const rects2 = await detectLst({
1537
+ elem: matrix.Inner.dom.seriesesG.node(),
1538
+ selector: ".sjpp-mass-series-g rect",
1539
+ count: 180,
1540
+ trigger: () => {
1541
+ options2[0].dispatchEvent(
1542
+ new MouseEvent("click", {
1543
+ bubbles: true,
1544
+ cancelable: true
1545
+ })
1546
+ );
1547
+ }
1548
+ });
1549
+ test.equal(
1550
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1551
+ 3,
1552
+ `should render the expected number of serieses`
1553
+ );
1554
+ test.equal(
1555
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1556
+ 1,
1557
+ `should render the expected number of cluster rects`
1558
+ );
1559
+ if (test._ok) matrix.Inner.app.destroy();
1560
+ test.end();
1561
+ }
1562
+ });
1563
+ (0, import_tape.default)('apply "show only" and "show all" legend filters to dictionary terms', function(test) {
1564
+ test.timeoutAfter(5e3);
1565
+ test.plan(14);
1566
+ runpp({
1567
+ state: {
1568
+ plots: [
1569
+ {
1570
+ chartType: "matrix",
1571
+ settings: {
1572
+ matrix: {
1573
+ // the matrix autocomputes the colw based on available screen width,
1574
+ // need to set an exact screen width for consistent tests using getBBox()
1575
+ availContentWidth: 1200
1576
+ }
1577
+ },
1578
+ termgroups: [
1579
+ {
1580
+ name: "Demographics",
1581
+ lst: [
1582
+ {
1583
+ id: "aaclassic_5",
1584
+ q: {
1585
+ mode: "continuous"
1586
+ }
1587
+ },
1588
+ {
1589
+ id: "sex"
1590
+ //q: { mode: 'values' } // or 'groupsetting'
1591
+ },
1592
+ {
1593
+ id: "agedx",
1594
+ q: {
1595
+ mode: "discrete",
1596
+ type: "regular-bin",
1597
+ bin_size: 5,
1598
+ first_bin: {
1599
+ startunbounded: true,
1600
+ stop: 5,
1601
+ stopinclusive: true
1602
+ }
1603
+ }
1604
+ // or 'continuous'
1605
+ }
1606
+ ]
1607
+ }
1608
+ ]
1609
+ }
1610
+ ]
1611
+ },
1612
+ matrix: {
1613
+ callbacks: {
1614
+ "postRender.test": runTests
1615
+ }
1616
+ }
1617
+ });
1618
+ async function runTests(matrix) {
1619
+ matrix.on("postRender.test", null);
1620
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1621
+ (d) => d?.__data__?.text?.startsWith("Male")
1622
+ );
1623
+ legendTexts.dispatchEvent(
1624
+ new MouseEvent("mouseup", {
1625
+ bubbles: true,
1626
+ cancelable: true
1627
+ })
1628
+ );
1629
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1630
+ const rects = await detectLst({
1631
+ elem: matrix.Inner.dom.seriesesG.node(),
1632
+ selector: ".sjpp-mass-series-g rect",
1633
+ count: 75,
1634
+ trigger: () => {
1635
+ options[1].dispatchEvent(
1636
+ new MouseEvent("click", {
1637
+ bubbles: true,
1638
+ cancelable: true
1639
+ })
1640
+ );
1641
+ }
1642
+ });
1643
+ test.equal(
1644
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1645
+ 3,
1646
+ `should render the expected number of serieses`
1647
+ );
1648
+ test.equal(
1649
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1650
+ 1,
1651
+ `should render the expected number of cluster rects`
1652
+ );
1653
+ const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1654
+ (d) => d?.__data__?.text?.startsWith("<5")
1655
+ );
1656
+ secondLegendTexts.dispatchEvent(
1657
+ new MouseEvent("mouseup", {
1658
+ bubbles: true,
1659
+ cancelable: true
1660
+ })
1661
+ );
1662
+ const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1663
+ test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
1664
+ test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
1665
+ test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
1666
+ const secondRects = await detectLst({
1667
+ elem: matrix.Inner.dom.seriesesG.node(),
1668
+ selector: ".sjpp-mass-series-g rect",
1669
+ count: 30,
1670
+ trigger: () => {
1671
+ secondOptions[1].dispatchEvent(
1672
+ new MouseEvent("click", {
1673
+ bubbles: true,
1674
+ cancelable: true
1675
+ })
1676
+ );
1677
+ }
1678
+ });
1679
+ test.equal(
1680
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1681
+ 3,
1682
+ `should render the expected number of serieses`
1683
+ );
1684
+ test.equal(
1685
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1686
+ 1,
1687
+ `should render the expected number of cluster rects`
1688
+ );
1689
+ const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1690
+ (d) => d?.__data__?.text?.startsWith("<5")
1691
+ );
1692
+ thirdLegendTexts.dispatchEvent(
1693
+ new MouseEvent("mouseup", {
1694
+ bubbles: true,
1695
+ cancelable: true
1696
+ })
1697
+ );
1698
+ const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1699
+ test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
1700
+ test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
1701
+ const thirdRects = await detectLst({
1702
+ elem: matrix.Inner.dom.seriesesG.node(),
1703
+ selector: ".sjpp-mass-series-g rect",
1704
+ count: 0,
1705
+ trigger: () => {
1706
+ thirdOptions[0].dispatchEvent(
1707
+ new MouseEvent("click", {
1708
+ bubbles: true,
1709
+ cancelable: true
1710
+ })
1711
+ );
1712
+ }
1713
+ });
1714
+ test.equal(
1715
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1716
+ 0,
1717
+ `should render the expected number of serieses`
1718
+ );
1719
+ const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1720
+ (d) => d?.__data__?.text?.startsWith("<5")
1721
+ );
1722
+ fourthLegendTexts.dispatchEvent(
1723
+ new MouseEvent("mouseup", {
1724
+ bubbles: true,
1725
+ cancelable: true
1726
+ })
1727
+ );
1728
+ const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1729
+ test.equal(fourthOptions[0].innerText, "Show", `first option should be Show`);
1730
+ test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
1731
+ const fourthRects = await detectLst({
1732
+ elem: matrix.Inner.dom.seriesesG.node(),
1733
+ selector: ".sjpp-mass-series-g rect",
1734
+ count: 75,
1735
+ trigger: () => {
1736
+ fourthOptions[2].dispatchEvent(
1737
+ new MouseEvent("click", {
1738
+ bubbles: true,
1739
+ cancelable: true
1740
+ })
1741
+ );
1742
+ }
1743
+ });
1744
+ test.equal(
1745
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1746
+ 3,
1747
+ `should render the expected number of serieses`
1748
+ );
1749
+ test.equal(
1750
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1751
+ 1,
1752
+ `should render the expected number of cluster rects`
1753
+ );
1754
+ if (test._ok) matrix.Inner.app.destroy();
1755
+ test.end();
1756
+ }
1757
+ });
1758
+ (0, import_tape.default)(
1759
+ 'apply "Hide samples with" and "Do not show" legend filters to a geneVariant term in geneVariant term only matrix',
1760
+ function(test) {
1761
+ test.timeoutAfter(5e3);
1762
+ test.plan(12);
1763
+ runpp({
1764
+ state: {
1765
+ plots: [
1766
+ {
1767
+ chartType: "matrix",
1768
+ settings: {
1769
+ // the matrix autocomputes the colw based on available screen width,
1770
+ // need to set an exact screen width for consistent tests using getBBox()
1771
+ matrix: {
1772
+ availContentWidth: 1200
1773
+ }
1774
+ },
1775
+ termgroups: [
1776
+ {
1777
+ name: "",
1778
+ lst: [getGenes()[0]]
1779
+ }
1780
+ ]
1781
+ }
1782
+ ]
1783
+ },
1784
+ matrix: {
1785
+ callbacks: {
1786
+ "postRender.test": runTests
1787
+ }
1788
+ }
1789
+ });
1790
+ async function runTests(matrix) {
1791
+ matrix.on("postRender.test", null);
1792
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1793
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1794
+ );
1795
+ legendTexts.dispatchEvent(
1796
+ new MouseEvent("mouseup", {
1797
+ bubbles: true,
1798
+ cancelable: true
1799
+ })
1800
+ );
1801
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1802
+ test.equal(
1803
+ options[0].innerText,
1804
+ "Hide samples with FRAMESHIFT",
1805
+ `First option should be "Hide samples with FRAMESHIFT"`
1806
+ );
1807
+ test.equal(options[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
1808
+ test.equal(options.length, 2, `Should only show two options`);
1809
+ const rects = await detectLst({
1810
+ elem: matrix.Inner.dom.seriesesG.node(),
1811
+ selector: ".sjpp-mass-series-g rect",
1812
+ count: 237,
1813
+ trigger: () => {
1814
+ options[0].dispatchEvent(
1815
+ new MouseEvent("click", {
1816
+ bubbles: true,
1817
+ cancelable: true
1818
+ })
1819
+ );
1820
+ }
1821
+ });
1822
+ test.equal(
1823
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1824
+ 1,
1825
+ `should render the expected number of serieses`
1826
+ );
1827
+ test.equal(
1828
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1829
+ 1,
1830
+ `should render the expected number of cluster rects`
1831
+ );
1832
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1833
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1834
+ );
1835
+ legendTexts2.dispatchEvent(
1836
+ new MouseEvent("mouseup", {
1837
+ bubbles: true,
1838
+ cancelable: true
1839
+ })
1840
+ );
1841
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1842
+ test.equal(
1843
+ options2[0].innerText,
1844
+ "Show samples with FRAMESHIFT",
1845
+ `First option should be "Show samples with FRAMESHIFT"`
1846
+ );
1847
+ test.equal(options2.length, 1, `Should only show one option`);
1848
+ const rects2 = await detectLst({
1849
+ elem: matrix.Inner.dom.seriesesG.node(),
1850
+ selector: ".sjpp-mass-series-g rect",
1851
+ count: 242,
1852
+ trigger: () => {
1853
+ options2[0].dispatchEvent(
1854
+ new MouseEvent("click", {
1855
+ bubbles: true,
1856
+ cancelable: true
1857
+ })
1858
+ );
1859
+ }
1860
+ });
1861
+ test.equal(
1862
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1863
+ 1,
1864
+ `should render the expected number of serieses`
1865
+ );
1866
+ test.equal(
1867
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1868
+ 1,
1869
+ `should render the expected number of cluster rects`
1870
+ );
1871
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1872
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1873
+ );
1874
+ legendTexts3.dispatchEvent(
1875
+ new MouseEvent("mouseup", {
1876
+ bubbles: true,
1877
+ cancelable: true
1878
+ })
1879
+ );
1880
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1881
+ test.equal(options3.length, 2, `Should only show two options`);
1882
+ const rects3 = await detectLst({
1883
+ elem: matrix.Inner.dom.seriesesG.node(),
1884
+ selector: ".sjpp-mass-series-g rect",
1885
+ count: 241,
1886
+ trigger: () => {
1887
+ options3[1].dispatchEvent(
1888
+ new MouseEvent("click", {
1889
+ bubbles: true,
1890
+ cancelable: true
1891
+ })
1892
+ );
1893
+ }
1894
+ });
1895
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1896
+ (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1897
+ );
1898
+ legendTexts4.dispatchEvent(
1899
+ new MouseEvent("mouseup", {
1900
+ bubbles: true,
1901
+ cancelable: true
1902
+ })
1903
+ );
1904
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1905
+ test.equal(
1906
+ options4[0].innerText,
1907
+ "Show samples with FRAMESHIFT",
1908
+ `First option should be "Show samples with FRAMESHIFT"`
1909
+ );
1910
+ test.equal(options4.length, 1, `Should only show one option`);
1911
+ const rects4 = await detectLst({
1912
+ elem: matrix.Inner.dom.seriesesG.node(),
1913
+ selector: ".sjpp-mass-series-g rect",
1914
+ count: 242,
1915
+ trigger: () => {
1916
+ options4[0].dispatchEvent(
1917
+ new MouseEvent("click", {
1918
+ bubbles: true,
1919
+ cancelable: true
1920
+ })
1921
+ );
1922
+ }
1923
+ });
1924
+ if (test._ok) matrix.Inner.app.destroy();
1925
+ test.end();
1926
+ }
1927
+ }
1928
+ );
1929
+ (0, import_tape.default)("apply legend group filters to a geneVariant term in geneVariant term only matrix", function(test) {
1930
+ test.timeoutAfter(5e3);
1931
+ test.plan(15);
1932
+ runpp({
1933
+ state: {
1934
+ plots: [
1935
+ {
1936
+ chartType: "matrix",
1937
+ settings: {
1938
+ // the matrix autocomputes the colw based on available screen width,
1939
+ // need to set an exact screen width for consistent tests using getBBox()
1940
+ matrix: {
1941
+ availContentWidth: 1200
1942
+ }
1943
+ },
1944
+ termgroups: [
1945
+ {
1946
+ name: "",
1947
+ lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
1948
+ }
1949
+ ]
1950
+ }
1951
+ ]
1952
+ },
1953
+ matrix: {
1954
+ callbacks: {
1955
+ "postRender.test": runTests
1956
+ }
1957
+ }
1958
+ });
1959
+ async function runTests(matrix) {
1960
+ matrix.on("postRender.test", null);
1961
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1962
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
1963
+ );
1964
+ legendTexts.dispatchEvent(
1965
+ new MouseEvent("mouseup", {
1966
+ bubbles: true,
1967
+ cancelable: true
1968
+ })
1969
+ );
1970
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1971
+ test.equal(
1972
+ options[0].innerText,
1973
+ "Show only truncating mutations",
1974
+ `First option should be "Show only truncating mutations"`
1975
+ );
1976
+ test.equal(
1977
+ options[1].innerText,
1978
+ "Show only protein-changing mutations",
1979
+ `second option should be "Show only protein-changing mutations"`
1980
+ );
1981
+ test.equal(
1982
+ options[2].innerText,
1983
+ "Do not show Somatic Mutations",
1984
+ `third option should be "Do not show Somatic Mutations"`
1985
+ );
1986
+ test.equal(options.length, 3, `Should show three options`);
1987
+ const rects = await detectLst({
1988
+ elem: matrix.Inner.dom.seriesesG.node(),
1989
+ selector: ".sjpp-mass-series-g rect",
1990
+ count: 183,
1991
+ trigger: () => {
1992
+ options[0].dispatchEvent(
1993
+ new MouseEvent("click", {
1994
+ bubbles: true,
1995
+ cancelable: true
1996
+ })
1997
+ );
1998
+ }
1999
+ });
2000
+ test.equal(
2001
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2002
+ 1,
2003
+ `should render the expected number of serieses`
2004
+ );
2005
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2006
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2007
+ );
2008
+ legendTexts2.dispatchEvent(
2009
+ new MouseEvent("mouseup", {
2010
+ bubbles: true,
2011
+ cancelable: true
2012
+ })
2013
+ );
2014
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2015
+ test.equal(
2016
+ options2[2].innerText,
2017
+ "Do not show Somatic Mutations",
2018
+ `third option should be "Do not show Somatic Mutations"`
2019
+ );
2020
+ test.equal(
2021
+ options2[3].innerText,
2022
+ "Show all Somatic Mutations",
2023
+ `fourth option should be "Show all Somatic Mutations"`
2024
+ );
2025
+ test.equal(options2.length, 4, `Should show four options`);
2026
+ const rects2 = await detectLst({
2027
+ elem: matrix.Inner.dom.seriesesG.node(),
2028
+ selector: ".sjpp-mass-series-g rect",
2029
+ count: 185,
2030
+ trigger: () => {
2031
+ options2[1].dispatchEvent(
2032
+ new MouseEvent("click", {
2033
+ bubbles: true,
2034
+ cancelable: true
2035
+ })
2036
+ );
2037
+ }
2038
+ });
2039
+ test.equal(
2040
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2041
+ 1,
2042
+ `should render the expected number of serieses`
2043
+ );
2044
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2045
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2046
+ );
2047
+ legendTexts3.dispatchEvent(
2048
+ new MouseEvent("mouseup", {
2049
+ bubbles: true,
2050
+ cancelable: true
2051
+ })
2052
+ );
2053
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2054
+ test.equal(
2055
+ options3[2].innerText,
2056
+ "Do not show Somatic Mutations",
2057
+ `third option should be "Do not show Somatic Mutations"`
2058
+ );
2059
+ test.equal(options3.length, 4, `Should show four options`);
2060
+ const rects3 = await detectLst({
2061
+ elem: matrix.Inner.dom.seriesesG.node(),
2062
+ selector: ".sjpp-mass-series-g rect",
2063
+ count: 182,
2064
+ trigger: () => {
2065
+ options3[2].dispatchEvent(
2066
+ new MouseEvent("click", {
2067
+ bubbles: true,
2068
+ cancelable: true
2069
+ })
2070
+ );
2071
+ }
2072
+ });
2073
+ test.equal(
2074
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2075
+ 1,
2076
+ `should render the expected number of serieses`
2077
+ );
2078
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2079
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2080
+ );
2081
+ legendTexts4.dispatchEvent(
2082
+ new MouseEvent("mouseup", {
2083
+ bubbles: true,
2084
+ cancelable: true
2085
+ })
2086
+ );
2087
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2088
+ test.equal(
2089
+ options4[0].innerText,
2090
+ "Show all Somatic Mutations",
2091
+ `first option should be "Show all Somatic Mutations"`
2092
+ );
2093
+ test.equal(options4.length, 1, `Should show one option`);
2094
+ const rects4 = await detectLst({
2095
+ elem: matrix.Inner.dom.seriesesG.node(),
2096
+ selector: ".sjpp-mass-series-g rect",
2097
+ count: 242,
2098
+ trigger: () => {
2099
+ options4[0].dispatchEvent(
2100
+ new MouseEvent("click", {
2101
+ bubbles: true,
2102
+ cancelable: true
2103
+ })
2104
+ );
2105
+ }
2106
+ });
2107
+ test.equal(
2108
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2109
+ 1,
2110
+ `should render the expected number of serieses`
2111
+ );
2112
+ if (test._ok) matrix.Inner.app.destroy();
2113
+ test.end();
2114
+ }
2115
+ });
2116
+ (0, import_tape.default)(
2117
+ "apply legend group filters and legend filters to a matrix with both geneVariant and dictionary terms",
2118
+ function(test) {
2119
+ test.timeoutAfter(5e3);
2120
+ test.plan(13);
2121
+ runpp({
2122
+ state: {
2123
+ plots: [
2124
+ {
2125
+ chartType: "matrix",
2126
+ settings: {
2127
+ // the matrix autocomputes the colw based on available screen width,
2128
+ // need to set an exact screen width for consistent tests using getBBox()
2129
+ matrix: {
2130
+ availContentWidth: 1200
2131
+ }
2132
+ },
2133
+ termgroups: [
2134
+ {
2135
+ name: "",
2136
+ lst: [
2137
+ ...getGenes(),
2138
+ { id: "agedx", term: termjson["agedx"] },
2139
+ { id: "diaggrp", term: termjson["diaggrp"] },
2140
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2141
+ ]
2142
+ }
2143
+ ]
2144
+ }
2145
+ ]
2146
+ },
2147
+ matrix: {
2148
+ callbacks: {
2149
+ "postRender.test": runTests
2150
+ }
2151
+ }
2152
+ });
2153
+ async function runTests(matrix) {
2154
+ matrix.on("postRender.test", null);
2155
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2156
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2157
+ );
2158
+ legendTexts.dispatchEvent(
2159
+ new MouseEvent("mouseup", {
2160
+ bubbles: true,
2161
+ cancelable: true
2162
+ })
2163
+ );
2164
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2165
+ test.equal(
2166
+ options[0].innerText,
2167
+ "Show only truncating mutations",
2168
+ `First option should be "Show only truncating mutations"`
2169
+ );
2170
+ test.equal(options.length, 3, `Should show three options`);
2171
+ const rects = await detectLst({
2172
+ elem: matrix.Inner.dom.seriesesG.node(),
2173
+ selector: ".sjpp-mass-series-g rect",
2174
+ count: 723,
2175
+ trigger: () => {
2176
+ options[0].dispatchEvent(
2177
+ new MouseEvent("click", {
2178
+ bubbles: true,
2179
+ cancelable: true
2180
+ })
2181
+ );
2182
+ }
2183
+ });
2184
+ test.equal(
2185
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2186
+ 6,
2187
+ `should render the expected number of serieses`
2188
+ );
2189
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2190
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2191
+ );
2192
+ legendTexts2.dispatchEvent(
2193
+ new MouseEvent("mouseup", {
2194
+ bubbles: true,
2195
+ cancelable: true
2196
+ })
2197
+ );
2198
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2199
+ test.equal(
2200
+ options2[1].innerText,
2201
+ "Show only protein-changing mutations",
2202
+ `second option should be "Show only protein-changing mutations"`
2203
+ );
2204
+ test.equal(
2205
+ options2[3].innerText,
2206
+ "Show all Somatic Mutations",
2207
+ `fourth option should be "Show all Somatic Mutations"`
2208
+ );
2209
+ test.equal(options2.length, 4, `Should show four options`);
2210
+ const rects2 = await detectLst({
2211
+ elem: matrix.Inner.dom.seriesesG.node(),
2212
+ selector: ".sjpp-mass-series-g rect",
2213
+ count: 726,
2214
+ trigger: () => {
2215
+ options2[1].dispatchEvent(
2216
+ new MouseEvent("click", {
2217
+ bubbles: true,
2218
+ cancelable: true
2219
+ })
2220
+ );
2221
+ }
2222
+ });
2223
+ const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2224
+ (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2225
+ );
2226
+ legendTexts3.dispatchEvent(
2227
+ new MouseEvent("mouseup", {
2228
+ bubbles: true,
2229
+ cancelable: true
2230
+ })
2231
+ );
2232
+ const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2233
+ test.equal(
2234
+ options3[0].innerText,
2235
+ "Hide samples with FRAMESHIFT",
2236
+ `First option should be "Hide samples with FRAMESHIFT"`
2237
+ );
2238
+ test.equal(options3[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
2239
+ const rects3 = await detectLst({
2240
+ elem: matrix.Inner.dom.seriesesG.node(),
2241
+ selector: ".sjpp-mass-series-g rect",
2242
+ count: 712,
2243
+ trigger: () => {
2244
+ options3[0].dispatchEvent(
2245
+ new MouseEvent("click", {
2246
+ bubbles: true,
2247
+ cancelable: true
2248
+ })
2249
+ );
2250
+ }
2251
+ });
2252
+ test.equal(
2253
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2254
+ 6,
2255
+ `should render the expected number of serieses`
2256
+ );
2257
+ const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2258
+ (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2259
+ );
2260
+ legendTexts4.dispatchEvent(
2261
+ new MouseEvent("mouseup", {
2262
+ bubbles: true,
2263
+ cancelable: true
2264
+ })
2265
+ );
2266
+ const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2267
+ test.equal(
2268
+ options4[0].innerText,
2269
+ "Show samples with FRAMESHIFT",
2270
+ `First option should be "Show samples with FRAMESHIFT"`
2271
+ );
2272
+ test.equal(options4.length, 1, `Should only show one option`);
2273
+ const rects4 = await detectLst({
2274
+ elem: matrix.Inner.dom.seriesesG.node(),
2275
+ selector: ".sjpp-mass-series-g rect",
2276
+ count: 726,
2277
+ trigger: () => {
2278
+ options4[0].dispatchEvent(
2279
+ new MouseEvent("click", {
2280
+ bubbles: true,
2281
+ cancelable: true
2282
+ })
2283
+ );
2284
+ }
2285
+ });
2286
+ const legendTexts5 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2287
+ (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2288
+ );
2289
+ legendTexts5.dispatchEvent(
2290
+ new MouseEvent("mouseup", {
2291
+ bubbles: true,
2292
+ cancelable: true
2293
+ })
2294
+ );
2295
+ const options5 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2296
+ test.equal(
2297
+ options5[3].innerText,
2298
+ "Show all Somatic Mutations",
2299
+ `fourth option should be "Show all Somatic Mutations"`
2300
+ );
2301
+ test.equal(options5.length, 4, `Should show four options`);
2302
+ const rects5 = await detectLst({
2303
+ elem: matrix.Inner.dom.seriesesG.node(),
2304
+ selector: ".sjpp-mass-series-g rect",
2305
+ count: 902,
2306
+ trigger: () => {
2307
+ options5[3].dispatchEvent(
2308
+ new MouseEvent("click", {
2309
+ bubbles: true,
2310
+ cancelable: true
2311
+ })
2312
+ );
2313
+ }
2314
+ });
2315
+ if (test._ok) matrix.Inner.app.destroy();
2316
+ test.end();
2317
+ }
2318
+ }
2319
+ );
2320
+ (0, import_tape.default)("cell brush zoom in", function(test) {
2321
+ test.timeoutAfter(5e3);
2322
+ test.plan(1);
2323
+ runpp({
2324
+ state: {
2325
+ plots: [
2326
+ {
2327
+ chartType: "matrix",
2328
+ settings: {
2329
+ matrix: {
2330
+ // the matrix autocomputes the colw based on available screen width,
2331
+ // need to set an exact screen width for consistent tests using getBBox()
2332
+ availContentWidth: 300
2333
+ }
2334
+ },
2335
+ termgroups: [
2336
+ {
2337
+ name: "Demographics",
2338
+ lst: [
2339
+ {
2340
+ id: "aaclassic_5",
2341
+ q: {
2342
+ mode: "continuous"
2343
+ }
2344
+ },
2345
+ {
2346
+ id: "sex"
2347
+ //q: { mode: 'values' } // or 'groupsetting'
2348
+ },
2349
+ {
2350
+ id: "agedx",
2351
+ q: {
2352
+ mode: "discrete",
2353
+ type: "regular-bin",
2354
+ bin_size: 5,
2355
+ first_bin: {
2356
+ startunbounded: true,
2357
+ stop: 5,
2358
+ stopinclusive: true
2359
+ }
2360
+ }
2361
+ // or 'continuous'
2362
+ }
2363
+ ]
2364
+ }
2365
+ ]
2366
+ }
2367
+ ]
2368
+ },
2369
+ matrix: {
2370
+ callbacks: {
2371
+ "postRender.test": runTests
2372
+ }
2373
+ }
2374
+ });
2375
+ async function runTests(matrix) {
2376
+ matrix.on("postRender.test", null);
2377
+ const startCell = matrix.Inner.serieses[1].cells[10];
2378
+ const endCell = matrix.Inner.serieses[1].cells[14];
2379
+ matrix.Inner.clickedSeriesCell = {
2380
+ startCell,
2381
+ endCell
2382
+ };
2383
+ matrix.Inner.zoomWidth = Math.abs(startCell.totalIndex - endCell.totalIndex) * matrix.Inner.dimensions.colw;
2384
+ matrix.on("postRender.test", () => {
2385
+ matrix.on("postRender.test", null);
2386
+ test.deepEqual(matrix.Inner.settings.matrix.zoomLevel, 3.2, "should have the expected zoom level after zoom in");
2387
+ if (test._ok) matrix.Inner.app.destroy();
2388
+ test.end();
2389
+ });
2390
+ matrix.Inner.triggerZoomArea();
2391
+ }
2392
+ });
2393
+ (0, import_tape.default)("survival term in continous mode", function(test) {
2394
+ test.timeoutAfter(5e3);
2395
+ test.plan(2);
2396
+ runpp({
2397
+ state: {
2398
+ plots: [
2399
+ {
2400
+ chartType: "matrix",
2401
+ settings: {
2402
+ // the matrix autocomputes the colw based on available screen width,
2403
+ // need to set an exact screen width for consistent tests using getBBox()
2404
+ matrix: {
2405
+ availContentWidth: 1200
2406
+ }
2407
+ },
2408
+ termgroups: [
2409
+ {
2410
+ name: "",
2411
+ lst: [
2412
+ {
2413
+ term: {
2414
+ name: "Overall survival",
2415
+ type: "survival",
2416
+ isleaf: true,
2417
+ unit: "years",
2418
+ id: "os"
2419
+ },
2420
+ q: {
2421
+ mode: "continuous"
2422
+ }
2423
+ }
2424
+ ]
2425
+ }
2426
+ ]
2427
+ }
2428
+ ]
2429
+ },
2430
+ matrix: {
2431
+ callbacks: {
2432
+ "postRender.test": runTests
2433
+ }
2434
+ }
2435
+ });
2436
+ function runTests(matrix) {
2437
+ matrix.on("postRender.test", null);
2438
+ test.equal(
2439
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2440
+ 1,
2441
+ `should render the expected number of serieses`
2442
+ );
2443
+ test.equal(
2444
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2445
+ 60,
2446
+ `should render the expected number of cell rects`
2447
+ );
2448
+ if (test._ok) matrix.Inner.app.destroy();
2449
+ test.end();
2450
+ }
2451
+ });
2452
+ (0, import_tape.default)("survival term in discrete mode", function(test) {
2453
+ test.timeoutAfter(5e3);
2454
+ test.plan(2);
2455
+ runpp({
2456
+ state: {
2457
+ plots: [
2458
+ {
2459
+ chartType: "matrix",
2460
+ settings: {
2461
+ // the matrix autocomputes the colw based on available screen width,
2462
+ // need to set an exact screen width for consistent tests using getBBox()
2463
+ matrix: {
2464
+ availContentWidth: 1200
2465
+ }
2466
+ },
2467
+ termgroups: [
2468
+ {
2469
+ name: "",
2470
+ lst: [
2471
+ {
2472
+ term: {
2473
+ name: "Overall survival",
2474
+ type: "survival",
2475
+ isleaf: true,
2476
+ unit: "years",
2477
+ id: "os"
2478
+ },
2479
+ q: {
2480
+ mode: "continuous"
2481
+ }
2482
+ }
2483
+ ]
2484
+ }
2485
+ ]
2486
+ }
2487
+ ]
2488
+ },
2489
+ matrix: {
2490
+ callbacks: {
2491
+ "postRender.test": runTests
2492
+ }
2493
+ }
2494
+ });
2495
+ function runTests(matrix) {
2496
+ matrix.on("postRender.test", null);
2497
+ test.equal(
2498
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2499
+ 1,
2500
+ `should render the expected number of serieses`
2501
+ );
2502
+ test.equal(
2503
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2504
+ 60,
2505
+ `should render the expected number of cell rects`
2506
+ );
2507
+ if (test._ok) matrix.Inner.app.destroy();
2508
+ test.end();
2509
+ }
2510
+ });
2511
+ (0, import_tape.default)("survival term with divide by dictionary term", function(test) {
2512
+ test.timeoutAfter(5e3);
2513
+ test.plan(3);
2514
+ runpp({
2515
+ state: {
2516
+ plots: [
2517
+ {
2518
+ chartType: "matrix",
2519
+ settings: {
2520
+ // the matrix autocomputes the colw based on available screen width,
2521
+ // need to set an exact screen width for consistent tests using getBBox()
2522
+ matrix: {
2523
+ availContentWidth: 1200
2524
+ }
2525
+ },
2526
+ divideBy: {
2527
+ id: "sex"
2528
+ },
2529
+ termgroups: [
2530
+ {
2531
+ name: "",
2532
+ lst: [
2533
+ {
2534
+ term: {
2535
+ name: "Overall survival",
2536
+ type: "survival",
2537
+ isleaf: true,
2538
+ unit: "years",
2539
+ id: "os"
2540
+ },
2541
+ q: {
2542
+ mode: "continuous"
2543
+ }
2544
+ }
2545
+ ]
2546
+ }
2547
+ ]
2548
+ }
2549
+ ]
2550
+ },
2551
+ matrix: {
2552
+ callbacks: {
2553
+ "postRender.test": runTests
2554
+ }
2555
+ }
2556
+ });
2557
+ function runTests(matrix) {
2558
+ matrix.on("postRender.test", null);
2559
+ test.equal(
2560
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2561
+ 1,
2562
+ `should render the expected number of serieses`
2563
+ );
2564
+ test.equal(
2565
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2566
+ 60,
2567
+ `should render the expected number of cell rects`
2568
+ );
2569
+ test.equal(
2570
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2571
+ 2,
2572
+ `should render the expected number of cluster rects`
2573
+ );
2574
+ if (test._ok) matrix.Inner.app.destroy();
2575
+ test.end();
2576
+ }
2577
+ });
2578
+ (0, import_tape.default)("dictionary term with divide by survival term", function(test) {
2579
+ test.timeoutAfter(5e3);
2580
+ test.plan(3);
2581
+ runpp({
2582
+ state: {
2583
+ plots: [
2584
+ {
2585
+ chartType: "matrix",
2586
+ settings: {
2587
+ // the matrix autocomputes the colw based on available screen width,
2588
+ // need to set an exact screen width for consistent tests using getBBox()
2589
+ matrix: {
2590
+ availContentWidth: 1200
2591
+ }
2592
+ },
2593
+ divideBy: {
2594
+ id: "os"
2595
+ },
2596
+ termgroups: [
2597
+ {
2598
+ name: "Demographics",
2599
+ lst: [
2600
+ { id: "agedx", term: termjson["agedx"] },
2601
+ { id: "diaggrp", term: termjson["diaggrp"] },
2602
+ { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2603
+ ]
2604
+ }
2605
+ ]
2606
+ }
2607
+ ]
2608
+ },
2609
+ matrix: {
2610
+ callbacks: {
2611
+ "postRender.test": runTests
2612
+ }
2613
+ }
2614
+ });
2615
+ function runTests(matrix) {
2616
+ matrix.on("postRender.test", null);
2617
+ test.equal(
2618
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2619
+ 3,
2620
+ `should render the expected number of serieses`
2621
+ );
2622
+ test.equal(
2623
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2624
+ 180,
2625
+ `should render the expected number of cell rects`
2626
+ );
2627
+ test.equal(
2628
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2629
+ 2,
2630
+ `should render the expected number of cluster rects`
2631
+ );
2632
+ if (test._ok) matrix.Inner.app.destroy();
2633
+ test.end();
2634
+ }
2635
+ });
2636
+ (0, import_tape.default)('apply "hide" and "show" legend filters to a survival term', function(test) {
2637
+ test.timeoutAfter(5e3);
2638
+ test.plan(10);
2639
+ runpp({
2640
+ state: {
2641
+ plots: [
2642
+ {
2643
+ chartType: "matrix",
2644
+ settings: {
2645
+ matrix: {
2646
+ // the matrix autocomputes the colw based on available screen width,
2647
+ // need to set an exact screen width for consistent tests using getBBox()
2648
+ availContentWidth: 1200
2649
+ }
2650
+ },
2651
+ termgroups: [
2652
+ {
2653
+ name: "",
2654
+ lst: [
2655
+ {
2656
+ id: "aaclassic_5",
2657
+ q: {
2658
+ mode: "continuous"
2659
+ }
2660
+ },
2661
+ {
2662
+ id: "genetic_race"
2663
+ //q: { mode: 'values' } // or 'groupsetting'
2664
+ },
2665
+ {
2666
+ id: "agedx",
2667
+ q: {
2668
+ mode: "discrete",
2669
+ type: "regular-bin",
2670
+ bin_size: 5,
2671
+ first_bin: {
2672
+ startunbounded: true,
2673
+ stop: 5,
2674
+ stopinclusive: true
2675
+ }
2676
+ }
2677
+ },
2678
+ {
2679
+ term: {
2680
+ name: "Overall survival",
2681
+ type: "survival",
2682
+ isleaf: true,
2683
+ unit: "years",
2684
+ id: "os"
2685
+ }
2686
+ }
2687
+ ]
2688
+ }
2689
+ ]
2690
+ }
2691
+ ]
2692
+ },
2693
+ matrix: {
2694
+ callbacks: {
2695
+ "postRender.test": runTests
2696
+ }
2697
+ }
2698
+ });
2699
+ async function runTests(matrix) {
2700
+ matrix.on("postRender.test", null);
2701
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2702
+ (d) => d?.__data__?.text?.startsWith("Alive")
2703
+ );
2704
+ legendTexts.dispatchEvent(
2705
+ new MouseEvent("mouseup", {
2706
+ bubbles: true,
2707
+ cancelable: true
2708
+ })
2709
+ );
2710
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2711
+ test.equal(options[0].innerText, "Hide", `First option should be Hide`);
2712
+ test.equal(options[1].innerText, "Show only", `second option should be Show only`);
2713
+ test.equal(options[2].innerText, "Show all", `third option should be Show all`);
2714
+ const rects = await detectLst({
2715
+ elem: matrix.Inner.dom.seriesesG.node(),
2716
+ selector: ".sjpp-mass-series-g rect",
2717
+ count: 228,
2718
+ trigger: () => {
2719
+ options[0].dispatchEvent(
2720
+ new MouseEvent("click", {
2721
+ bubbles: true,
2722
+ cancelable: true
2723
+ })
2724
+ );
2725
+ }
2726
+ });
2727
+ test.equal(
2728
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2729
+ 4,
2730
+ `should render the expected number of serieses`
2731
+ );
2732
+ test.equal(
2733
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2734
+ 1,
2735
+ `should render the expected number of cluster rects`
2736
+ );
2737
+ const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2738
+ (d) => d?.__data__?.text?.startsWith("Alive")
2739
+ );
2740
+ legendTexts2.dispatchEvent(
2741
+ new MouseEvent("mouseup", {
2742
+ bubbles: true,
2743
+ cancelable: true
2744
+ })
2745
+ );
2746
+ const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2747
+ test.equal(options2[0].innerText, "Show", `First option should be Show`);
2748
+ test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
2749
+ test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
2750
+ const rects2 = await detectLst({
2751
+ elem: matrix.Inner.dom.seriesesG.node(),
2752
+ selector: ".sjpp-mass-series-g rect",
2753
+ count: 240,
2754
+ trigger: () => {
2755
+ options2[0].dispatchEvent(
2756
+ new MouseEvent("click", {
2757
+ bubbles: true,
2758
+ cancelable: true
2759
+ })
2760
+ );
2761
+ }
2762
+ });
2763
+ test.equal(
2764
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2765
+ 4,
2766
+ `should render the expected number of serieses`
2767
+ );
2768
+ test.equal(
2769
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2770
+ 1,
2771
+ `should render the expected number of cluster rects`
2772
+ );
2773
+ if (test._ok) matrix.Inner.app.destroy();
2774
+ test.end();
2775
+ }
2776
+ });
2777
+ (0, import_tape.default)('apply "show only" and "show all" legend filters to a survival terms', function(test) {
2778
+ test.timeoutAfter(5e3);
2779
+ test.plan(14);
2780
+ runpp({
2781
+ state: {
2782
+ plots: [
2783
+ {
2784
+ chartType: "matrix",
2785
+ settings: {
2786
+ matrix: {
2787
+ // the matrix autocomputes the colw based on available screen width,
2788
+ // need to set an exact screen width for consistent tests using getBBox()
2789
+ availContentWidth: 1200
2790
+ }
2791
+ },
2792
+ termgroups: [
2793
+ {
2794
+ name: "",
2795
+ lst: [
2796
+ {
2797
+ id: "aaclassic_5",
2798
+ q: {
2799
+ mode: "continuous"
2800
+ }
2801
+ },
2802
+ {
2803
+ id: "genetic_race"
2804
+ //q: { mode: 'values' } // or 'groupsetting'
2805
+ },
2806
+ {
2807
+ id: "agedx",
2808
+ q: {
2809
+ mode: "discrete",
2810
+ type: "regular-bin",
2811
+ bin_size: 5,
2812
+ first_bin: {
2813
+ startunbounded: true,
2814
+ stop: 5,
2815
+ stopinclusive: true
2816
+ }
2817
+ }
2818
+ },
2819
+ {
2820
+ term: {
2821
+ name: "Overall survival",
2822
+ type: "survival",
2823
+ isleaf: true,
2824
+ unit: "years",
2825
+ id: "os"
2826
+ }
2827
+ }
2828
+ ]
2829
+ }
2830
+ ]
2831
+ }
2832
+ ]
2833
+ },
2834
+ matrix: {
2835
+ callbacks: {
2836
+ "postRender.test": runTests
2837
+ }
2838
+ }
2839
+ });
2840
+ async function runTests(matrix) {
2841
+ matrix.on("postRender.test", null);
2842
+ const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2843
+ (d) => d?.__data__?.text?.startsWith("Alive")
2844
+ );
2845
+ legendTexts.dispatchEvent(
2846
+ new MouseEvent("mouseup", {
2847
+ bubbles: true,
2848
+ cancelable: true
2849
+ })
2850
+ );
2851
+ const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2852
+ const rects = await detectLst({
2853
+ elem: matrix.Inner.dom.seriesesG.node(),
2854
+ selector: ".sjpp-mass-series-g rect",
2855
+ count: 12,
2856
+ trigger: () => {
2857
+ options[1].dispatchEvent(
2858
+ new MouseEvent("click", {
2859
+ bubbles: true,
2860
+ cancelable: true
2861
+ })
2862
+ );
2863
+ }
2864
+ });
2865
+ test.equal(
2866
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2867
+ 4,
2868
+ `should render the expected number of serieses`
2869
+ );
2870
+ test.equal(
2871
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2872
+ 1,
2873
+ `should render the expected number of cluster rects`
2874
+ );
2875
+ const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2876
+ (d) => d?.__data__?.text?.startsWith("<5")
2877
+ );
2878
+ secondLegendTexts.dispatchEvent(
2879
+ new MouseEvent("mouseup", {
2880
+ bubbles: true,
2881
+ cancelable: true
2882
+ })
2883
+ );
2884
+ const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2885
+ test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
2886
+ test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
2887
+ test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
2888
+ const secondRects = await detectLst({
2889
+ elem: matrix.Inner.dom.seriesesG.node(),
2890
+ selector: ".sjpp-mass-series-g rect",
2891
+ count: 4,
2892
+ trigger: () => {
2893
+ secondOptions[1].dispatchEvent(
2894
+ new MouseEvent("click", {
2895
+ bubbles: true,
2896
+ cancelable: true
2897
+ })
2898
+ );
2899
+ }
2900
+ });
2901
+ test.equal(
2902
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2903
+ 4,
2904
+ `should render the expected number of serieses`
2905
+ );
2906
+ test.equal(
2907
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2908
+ 1,
2909
+ `should render the expected number of cluster rects`
2910
+ );
2911
+ const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2912
+ (d) => d?.__data__?.text?.startsWith("<5")
2913
+ );
2914
+ thirdLegendTexts.dispatchEvent(
2915
+ new MouseEvent("mouseup", {
2916
+ bubbles: true,
2917
+ cancelable: true
2918
+ })
2919
+ );
2920
+ const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2921
+ test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
2922
+ test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
2923
+ const thirdRects = await detectLst({
2924
+ elem: matrix.Inner.dom.seriesesG.node(),
2925
+ selector: ".sjpp-mass-series-g rect",
2926
+ count: 12,
2927
+ trigger: () => {
2928
+ thirdOptions[2].dispatchEvent(
2929
+ new MouseEvent("click", {
2930
+ bubbles: true,
2931
+ cancelable: true
2932
+ })
2933
+ );
2934
+ }
2935
+ });
2936
+ test.equal(
2937
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2938
+ 4,
2939
+ `should render the expected number of serieses`
2940
+ );
2941
+ const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2942
+ (d) => d?.__data__?.text?.startsWith("Alive")
2943
+ );
2944
+ fourthLegendTexts.dispatchEvent(
2945
+ new MouseEvent("mouseup", {
2946
+ bubbles: true,
2947
+ cancelable: true
2948
+ })
2949
+ );
2950
+ const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2951
+ test.equal(fourthOptions[0].innerText, "Hide", `first option should be Hide`);
2952
+ test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
2953
+ const fourthRects = await detectLst({
2954
+ elem: matrix.Inner.dom.seriesesG.node(),
2955
+ selector: ".sjpp-mass-series-g rect",
2956
+ count: 240,
2957
+ trigger: () => {
2958
+ fourthOptions[2].dispatchEvent(
2959
+ new MouseEvent("click", {
2960
+ bubbles: true,
2961
+ cancelable: true
2962
+ })
2963
+ );
2964
+ }
2965
+ });
2966
+ test.equal(
2967
+ matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2968
+ 4,
2969
+ `should render the expected number of serieses`
2970
+ );
2971
+ test.equal(
2972
+ matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2973
+ 1,
2974
+ `should render the expected number of cluster rects`
2975
+ );
2976
+ if (test._ok) matrix.Inner.app.destroy();
2977
+ test.end();
2978
+ }
2979
+ });
2980
+ var runpp = getRunPp("mass", {
2981
+ state: {
2982
+ dslabel: "TermdbTest",
2983
+ genome: "hg38-test",
2984
+ nav: { activeTab: -1 }
2985
+ },
2986
+ debug: 1
2987
+ });
2988
+ function getGenes() {
2989
+ return [
2990
+ { term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } },
2991
+ { term: { gene: "KRAS", name: "KRAS", type: "geneVariant", isleaf: true } },
2992
+ { term: { gene: "AKT1", name: "AKT1", type: "geneVariant", isleaf: true } }
2993
+ ];
2994
+ }
2995
+ function getTermCollection() {
2996
+ return {
2997
+ //isAtomic: true,
2998
+ type: "TermCollectionTWCont",
2999
+ //$id: 'TwBase_0__48243_99155',
3000
+ term: {
3001
+ type: "termCollection",
3002
+ termlst: [
3003
+ {
3004
+ type: "float",
3005
+ bins: {
3006
+ default: {
3007
+ type: "regular-bin",
3008
+ bin_size: 5,
3009
+ startinclusive: true,
3010
+ first_bin: { startunbounded: true, stop: 5 }
3011
+ },
3012
+ label_offset: 1
3013
+ },
3014
+ name: "Age (years) at Cancer Diagnosis",
3015
+ id: "agedx",
3016
+ isleaf: true,
3017
+ values: {},
3018
+ hashtmldetail: true
3019
+ },
3020
+ {
3021
+ type: "float",
3022
+ bins: {
3023
+ default: {
3024
+ type: "regular-bin",
3025
+ startinclusive: true,
3026
+ bin_size: 5,
3027
+ first_bin: { stop: 25 },
3028
+ last_bin: { start: 55 }
3029
+ }
3030
+ },
3031
+ name: "Age (years) at Death",
3032
+ id: "a_death",
3033
+ isleaf: true,
3034
+ values: {},
3035
+ hashtmldetail: true
3036
+ },
3037
+ {
3038
+ type: "float",
3039
+ bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3040
+ name: "Age (years) at Last NDI Search",
3041
+ id: "a_ndi",
3042
+ isleaf: true,
3043
+ values: {}
3044
+ },
3045
+ {
3046
+ type: "float",
3047
+ bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3048
+ values: { "-994": { label: "N/A: No campus visit", uncomputable: true } },
3049
+ name: "Age at last ABC assessment",
3050
+ id: "agelastvisit",
3051
+ isleaf: true
3052
+ }
3053
+ ],
3054
+ name: "Fake Collection 1",
3055
+ isleaf: true,
3056
+ propsByTermId: {
3057
+ agedx: { color: "#1b9e77" },
3058
+ a_death: { color: "#d95f02" },
3059
+ a_ndi: { color: "#7570b3" },
3060
+ agelastvisit: { color: "#e7298a" }
3061
+ }
3062
+ },
3063
+ q: { isAtomic: true, mode: "continuous", lst: [] }
3064
+ };
3065
+ }
3066
+ //# sourceMappingURL=matrix.integration.spec-H6T7KP5R.js.map