@sjcrh/proteinpaint-client 2.181.0 → 2.182.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (950) hide show
  1. package/dist/2dmaf-SLBAWGPG.js +1371 -0
  2. package/dist/AIProjectAdmin-6SH5X3AF.js +830 -0
  3. package/dist/AppHeader-MVYNRMC7.js +833 -0
  4. package/dist/BoxPlot-HLGWW3IK.js +1295 -0
  5. package/dist/CorrelationVolcano-TZCYC3NI.js +617 -0
  6. package/dist/DE-2J2SK5UT.js +93 -0
  7. package/dist/DE-2J2SK5UT.js.map +7 -0
  8. package/dist/DEinput-QM3GOQHM.js +297 -0
  9. package/dist/DEinput-QM3GOQHM.js.map +7 -0
  10. package/dist/DifferentialAnalysis-DS7CQOT6.js +238 -0
  11. package/dist/Disco-U5I6NJUT.js +3199 -0
  12. package/dist/Disco.UI-J2B7GGEZ.js +242 -0
  13. package/dist/DmrPlot-D5W76QPY.js +640 -0
  14. package/dist/GB-LM5SGUG4.js +1125 -0
  15. package/dist/HicApp-YNBGAGKM.js +2248 -0
  16. package/dist/NumBinaryEditor-4QA5DQJT.js +268 -0
  17. package/dist/NumBinaryEditor-4QA5DQJT.js.map +7 -0
  18. package/dist/NumBinaryEditor.unit.spec-YWSIFTOJ.js +284 -0
  19. package/dist/NumContEditor-ZPLVZFLH.js +105 -0
  20. package/dist/NumContEditor.unit.spec-NBCFOCOX.js +167 -0
  21. package/dist/NumCustomBinEditor-TXEYRVPL.js +36 -0
  22. package/dist/NumCustomBinEditor.unit.spec-SQM63H4B.js +282 -0
  23. package/dist/NumDiscreteEditor-6C4OWX62.js +177 -0
  24. package/dist/NumDiscreteEditor-6C4OWX62.js.map +7 -0
  25. package/dist/NumDiscreteEditor.unit.spec-4HC4AGAM.js +200 -0
  26. package/dist/NumRegularBinEditor-VQAS3OXK.js +36 -0
  27. package/dist/NumRegularBinEditor.unit.spec-RGVEPB3Z.js +225 -0
  28. package/dist/NumSplineEditor-SXOJICHU.js +190 -0
  29. package/dist/NumSplineEditor-SXOJICHU.js.map +7 -0
  30. package/dist/NumSplineEditor.unit.spec-HF5E6ANH.js +197 -0
  31. package/dist/NumericDensity-LMLPMOSE.js +36 -0
  32. package/dist/NumericDensity.unit.spec-3ZI5EVON.js +219 -0
  33. package/dist/NumericHandler-Q6F6ANOS.js +37 -0
  34. package/dist/NumericHandler.unit.spec-E6Z5HUNZ.js +217 -0
  35. package/dist/RunChart2-XSNWNAIL.js +756 -0
  36. package/dist/SC-RA46YM57.js +733 -0
  37. package/dist/Volcano-75UDYPVB.js +1187 -0
  38. package/dist/WSIViewer-GYUUXCSJ.js +47933 -0
  39. package/dist/WsiSamplesPlot-KMI5S2EL.js +163 -0
  40. package/dist/adSandbox-JTK5XEQL.js +36 -0
  41. package/dist/alphaGenome-JRAV6WIY.js +173 -0
  42. package/dist/app-JKDZL23V.js +35 -0
  43. package/dist/app-OEARXM6E.js +47 -0
  44. package/dist/app.js +20 -20
  45. package/dist/bam-CYEPLBK4.js +857 -0
  46. package/dist/bam-CYEPLBK4.js.map +7 -0
  47. package/dist/barchart-GG5UFDG4.js +45 -0
  48. package/dist/barchart.data-KXA66FAL.js +22 -0
  49. package/dist/barchart.events-P2USOIR7.js +45 -0
  50. package/dist/barchart.integration.spec-5QSPQQLJ.js +1675 -0
  51. package/dist/block-6DVPQBSH.js +6200 -0
  52. package/dist/block-6DVPQBSH.js.map +7 -0
  53. package/dist/block.init-ZHX6DFWF.js +36 -0
  54. package/dist/block.mds.expressionrank-YMGYXXYT.js +357 -0
  55. package/dist/block.mds.geneboxplot-IAILQYX4.js +826 -0
  56. package/dist/block.mds.junction-BRNFNQMU.js +1543 -0
  57. package/dist/block.mds.svcnv-OHKC7YPO.js +6799 -0
  58. package/dist/block.svg-PNGK45HW.js +162 -0
  59. package/dist/block.tk.aicheck-SCIOJ4WN.js +281 -0
  60. package/dist/block.tk.ase-BABJ73GG.js +363 -0
  61. package/dist/block.tk.bam-LZWJ5BCQ.js +1904 -0
  62. package/dist/block.tk.bedgraphdot-7NQLC3XJ.js +382 -0
  63. package/dist/block.tk.bigwig.ui-VNY4SFD5.js +209 -0
  64. package/dist/block.tk.hicstraw-36A7VDRM.js +821 -0
  65. package/dist/block.tk.junction-D373YEMK.js +2362 -0
  66. package/dist/block.tk.junction.textmatrixui-FFII7J3X.js +197 -0
  67. package/dist/block.tk.ld-XGB6KMDO.js +97 -0
  68. package/dist/block.tk.menu-PEZANZBZ.js +1027 -0
  69. package/dist/block.tk.pgv-MU5BPTT2.js +942 -0
  70. package/dist/brainImaging-LVJON47N.js +421 -0
  71. package/dist/chat-5FDIAQJ4.js +148 -0
  72. package/dist/chunk-22NJUYET.js +281 -0
  73. package/dist/chunk-22NJUYET.js.map +7 -0
  74. package/dist/chunk-2J3566TA.js +215 -0
  75. package/dist/chunk-2J3566TA.js.map +7 -0
  76. package/dist/chunk-2OSEZCWZ.js +205 -0
  77. package/dist/chunk-5OHXYXLD.js +46 -0
  78. package/dist/chunk-5OHXYXLD.js.map +7 -0
  79. package/dist/chunk-6MSCYO7K.js +119 -0
  80. package/dist/chunk-7A7NMCQ3.js +534 -0
  81. package/dist/chunk-7FEHI46K.js +20456 -0
  82. package/dist/chunk-7FEHI46K.js.map +7 -0
  83. package/dist/chunk-AETE4F7R.js +252 -0
  84. package/dist/chunk-AZYDW5T7.js +441 -0
  85. package/dist/chunk-B6HCIAM3.js +34 -0
  86. package/dist/chunk-BEWDIM6H.js +42 -0
  87. package/dist/chunk-BEWDIM6H.js.map +7 -0
  88. package/dist/chunk-CCIZJAXB.js +2815 -0
  89. package/dist/chunk-DHZL3FBC.js +107 -0
  90. package/dist/chunk-DONWY7TP.js +39 -0
  91. package/dist/chunk-DVDDXOWT.js +815 -0
  92. package/dist/chunk-E6DRQJJT.js +480 -0
  93. package/dist/chunk-ESKU6LNC.js +36 -0
  94. package/dist/chunk-F6V4AYWP.js +177 -0
  95. package/dist/chunk-FBAJTPBU.js +302 -0
  96. package/dist/chunk-FGMPKWT5.js +371 -0
  97. package/dist/chunk-FK4MYVW2.js +261 -0
  98. package/dist/chunk-FMBJ4SKC.js +98 -0
  99. package/dist/chunk-FOEZG4VX.js +505 -0
  100. package/dist/chunk-FOEZG4VX.js.map +7 -0
  101. package/dist/chunk-FQRLSKJC.js +226 -0
  102. package/dist/chunk-G6ELKVBG.js +629 -0
  103. package/dist/chunk-GKK3CZ6H.js +4207 -0
  104. package/dist/chunk-GKK3CZ6H.js.map +7 -0
  105. package/dist/chunk-GO5SIPFE.js +194 -0
  106. package/dist/chunk-GPOECA3V.js +386 -0
  107. package/dist/chunk-GTOY3JJO.js +288 -0
  108. package/dist/chunk-GTOY3JJO.js.map +7 -0
  109. package/dist/chunk-GW7DHJYH.js +439 -0
  110. package/dist/chunk-H2D7EVUA.js +158 -0
  111. package/dist/chunk-H2D7EVUA.js.map +7 -0
  112. package/dist/chunk-H2K5KZP7.js +95 -0
  113. package/dist/chunk-H5XFH3FV.js +153 -0
  114. package/dist/chunk-HAMDFQIX.js +228 -0
  115. package/dist/chunk-HH4QLSTK.js +4952 -0
  116. package/dist/chunk-IBTPGSYI.js +526 -0
  117. package/dist/chunk-IGEQI6MR.js +1561 -0
  118. package/dist/chunk-IGEQI6MR.js.map +7 -0
  119. package/dist/chunk-IIRU6VK2.js +2672 -0
  120. package/dist/chunk-ILF2GKBY.js +1205 -0
  121. package/dist/chunk-ILF2GKBY.js.map +7 -0
  122. package/dist/chunk-IP4T477W.js +92 -0
  123. package/dist/chunk-IQIXGTQV.js +84 -0
  124. package/dist/chunk-IQIXGTQV.js.map +7 -0
  125. package/dist/chunk-IXT4U5CE.js +91 -0
  126. package/dist/chunk-IXT4U5CE.js.map +7 -0
  127. package/dist/chunk-JHOGX5VE.js +272 -0
  128. package/dist/chunk-JOXUBWN3.js +381 -0
  129. package/dist/chunk-K57RR3FD.js +142 -0
  130. package/dist/chunk-K6JLCMVL.js +129 -0
  131. package/dist/chunk-KSFSM46X.js +100 -0
  132. package/dist/chunk-KVG7FTTK.js +470 -0
  133. package/dist/chunk-LEDPPLQK.js +158 -0
  134. package/dist/chunk-LUTT3MBZ.js +1150 -0
  135. package/dist/chunk-MDL2HG3N.js +257 -0
  136. package/dist/chunk-MDL2HG3N.js.map +7 -0
  137. package/dist/chunk-MNRYCG2S.js +1271 -0
  138. package/dist/chunk-MNRYCG2S.js.map +7 -0
  139. package/dist/chunk-MPJHDHBA.js +2784 -0
  140. package/dist/chunk-MXI3NXRB.js +407 -0
  141. package/dist/chunk-MXI3NXRB.js.map +7 -0
  142. package/dist/chunk-O4PXELXF.js +615 -0
  143. package/dist/chunk-ORPCSG6T.js +14 -0
  144. package/dist/chunk-OUKDZKSZ.js +334 -0
  145. package/dist/chunk-P5HLYAHP.js +1087 -0
  146. package/dist/chunk-PIACSJPH.js +148 -0
  147. package/dist/chunk-PQABAAEZ.js +31 -0
  148. package/dist/chunk-PSMDCZET.js +46 -0
  149. package/dist/chunk-RFIVPTMS.js +217 -0
  150. package/dist/chunk-RSU37SVQ.js +54 -0
  151. package/dist/chunk-RTC4U4PH.js +2327 -0
  152. package/dist/chunk-RTC4U4PH.js.map +7 -0
  153. package/dist/chunk-RZ5JP44H.js +276 -0
  154. package/dist/chunk-RZ5JP44H.js.map +7 -0
  155. package/dist/chunk-SPAIFVM2.js +1155 -0
  156. package/dist/chunk-T2HYA2KL.js +55 -0
  157. package/dist/chunk-TCPU43TU.js +1741 -0
  158. package/dist/chunk-TCPU43TU.js.map +7 -0
  159. package/dist/chunk-TE3DK3A6.js +147 -0
  160. package/dist/chunk-TIQPSXFJ.js +237 -0
  161. package/dist/chunk-TN5GSG34.js +26 -0
  162. package/dist/chunk-UBGTQMOO.js +52 -0
  163. package/dist/chunk-UE5ZYM63.js +48 -0
  164. package/dist/chunk-UQACPOCM.js +102 -0
  165. package/dist/chunk-UR3C4SCH.js +446 -0
  166. package/dist/chunk-UWX7W22M.js +121 -0
  167. package/dist/chunk-VJ37HKM6.js +368 -0
  168. package/dist/chunk-VJ37HKM6.js.map +7 -0
  169. package/dist/chunk-VLTDUJRM.js +293 -0
  170. package/dist/chunk-W6UUEAEP.js +6364 -0
  171. package/dist/chunk-X6UPDFDX.js +229 -0
  172. package/dist/chunk-X6UPDFDX.js.map +7 -0
  173. package/dist/chunk-XD6BFNMR.js +172 -0
  174. package/dist/chunk-XD6BFNMR.js.map +7 -0
  175. package/dist/chunk-XOBD3EAM.js +1425 -0
  176. package/dist/chunk-XOBD3EAM.js.map +7 -0
  177. package/dist/chunk-Y3TDC7NU.js +170 -0
  178. package/dist/chunk-YOTWMCT5.js +824 -0
  179. package/dist/chunk-YUMPQ3CJ.js +203 -0
  180. package/dist/chunk-ZIBWLDQI.js +230 -0
  181. package/dist/chunk-ZIBWLDQI.js.map +7 -0
  182. package/dist/condition-VHP2L4GM.js +330 -0
  183. package/dist/controls-N5Q7U7JR.js +39 -0
  184. package/dist/controls.config-NJMW4SLR.js +37 -0
  185. package/dist/correlation-3LDASF5I.js +96 -0
  186. package/dist/cuminc-UWJ23W6C.js +1147 -0
  187. package/dist/cuminc.integration.spec-OZYYET3W.js +676 -0
  188. package/dist/customdata.inputui-2FVCVSE4.js +285 -0
  189. package/dist/dataDownload-4S4PE5HX.js +328 -0
  190. package/dist/dataDownload.integration.spec-B57LEKFZ.js +191 -0
  191. package/dist/databrowser.ui-N6GHEQ2P.js +419 -0
  192. package/dist/dictionary-UP46QRYZ.js +98 -0
  193. package/dist/dnaMethylation-BOGAUAWA.js +36 -0
  194. package/dist/dnaMethylation.integration.spec-UAHBJSSJ.js +179 -0
  195. package/dist/e2pca-L5EBQJNP.js +348 -0
  196. package/dist/ep-Z67ORKUX.js +1254 -0
  197. package/dist/expclust.gdc.spec-SP7VOL64.js +305 -0
  198. package/dist/facet-HDB4VDGU.js +519 -0
  199. package/dist/geneExpClustering-6ZPOLTDJ.js +246 -0
  200. package/dist/geneExpression-T6YIG4XQ.js +312 -0
  201. package/dist/geneExpression-T7QUHV5S.js +36 -0
  202. package/dist/geneExpression.unit.spec-DO52L5IB.js +100 -0
  203. package/dist/geneORA-KOUDUWUO.js +276 -0
  204. package/dist/geneVariant-FVR76F6I.js +39 -0
  205. package/dist/geneVariant-I5QUITKG.js +37 -0
  206. package/dist/geneVariant.integration.spec-D4IRM7B5.js +196 -0
  207. package/dist/genefusion.ui-35IYSZD7.js +249 -0
  208. package/dist/geneset-7ZHJ5KWK.js +194 -0
  209. package/dist/genomeBrowser.spec-VXASVLNH.js +279 -0
  210. package/dist/grin2-7NM56COO.js +1554 -0
  211. package/dist/grin2-IY26UUQI.js +1031 -0
  212. package/dist/gsea-TORO46C6.js +45 -0
  213. package/dist/hierCluster-3BKEGW6P.js +58 -0
  214. package/dist/hierCluster-HM3LOM6V.js +62 -0
  215. package/dist/hierCluster.config-LDO5IGQ5.js +38 -0
  216. package/dist/hierCluster.integration.spec-XO5R6CQT.js +374 -0
  217. package/dist/hierCluster.interactivity-NVQ6262K.js +52 -0
  218. package/dist/hierCluster.renderers-SWPPNBLU.js +21 -0
  219. package/dist/imagePlot-V4WLAPV6.js +139 -0
  220. package/dist/importPlot-NZKQEOX4.js +8 -0
  221. package/dist/isoformExpression-TIZBIGNL.js +38 -0
  222. package/dist/isoformExpression.unit.spec-WHH5LPFG.js +124 -0
  223. package/dist/isoformExpression.unit.spec-WHH5LPFG.js.map +7 -0
  224. package/dist/launch.adhoc-JYEN42NM.js +40 -0
  225. package/dist/leftlabel.sample-43DL3J3H.js +257 -0
  226. package/dist/legacyDataset-QRSNRVUA.js +119 -0
  227. package/dist/lollipop-NMWZ4FVF.js +166 -0
  228. package/dist/maf-DS3EOVGV.js +450 -0
  229. package/dist/maf-DS3EOVGV.js.map +7 -0
  230. package/dist/maftimeline-ZB2753S7.js +591 -0
  231. package/dist/matrix-RCGQWQ3C.js +57 -0
  232. package/dist/matrix-WTTEK4FT.js +62 -0
  233. package/dist/matrix.cells-UO5ASQ35.js +28 -0
  234. package/dist/matrix.config-3UQAT3QR.js +39 -0
  235. package/dist/matrix.controls-PRZ77K5L.js +37 -0
  236. package/dist/matrix.data-4W73RQ3H.js +25 -0
  237. package/dist/matrix.groups-5VMPI7SA.js +26 -0
  238. package/dist/matrix.integration.spec-2F5LDLC2.js +3070 -0
  239. package/dist/matrix.interactivity-MIPZ6ELV.js +40 -0
  240. package/dist/matrix.layout-EO5LVYRO.js +42 -0
  241. package/dist/matrix.legend-QBFBFEUG.js +22 -0
  242. package/dist/matrix.renderers-ERJXVCQL.js +36 -0
  243. package/dist/matrix.serieses-E23EPXHA.js +21 -0
  244. package/dist/matrix.sort-I4UGMEXR.js +27 -0
  245. package/dist/matrix.sort.unit.spec-CRGF6CSE.js +470 -0
  246. package/dist/matrix.sorterUi-YLSYTYLE.js +18 -0
  247. package/dist/matrix.sorterUi.unit.spec-ENG3ICOO.js +340 -0
  248. package/dist/mavb-5WR7OJHI.js +730 -0
  249. package/dist/mds.fimo-3ZRH7BBJ.js +516 -0
  250. package/dist/mds.samplescatterplot-RPXR2FVK.js +1548 -0
  251. package/dist/mds.survivalplot-WSSMYUZD.js +481 -0
  252. package/dist/oncomatrix-JKYPUJQR.js +293 -0
  253. package/dist/oncomatrix-JKYPUJQR.js.map +7 -0
  254. package/dist/oncomatrix.spec-OEGU4DYK.js +446 -0
  255. package/dist/plot.2dvaf-ZGARLQNK.js +375 -0
  256. package/dist/plot.app-TKUJH3LK.js +39 -0
  257. package/dist/plot.barplot-FEIPGDZ2.js +100 -0
  258. package/dist/plot.boxplot-6RASUMZB.js +150 -0
  259. package/dist/plot.brainImaging-ZJPFWX2W.js +51 -0
  260. package/dist/plot.disco-2KTKB3XX.js +101 -0
  261. package/dist/plot.dzi-PC34YI6Y.js +33 -0
  262. package/dist/plot.ssgq-Z4UNJKWO.js +137 -0
  263. package/dist/plot.vaf2cov-NZ4WULKT.js +257 -0
  264. package/dist/plot.wsi-YYXFAZWY.js +36 -0
  265. package/dist/polar-X2GPIBLB.js +184 -0
  266. package/dist/polar2-TZ553QQH.js +226 -0
  267. package/dist/profile.spec-VB6VMFLY.js +78 -0
  268. package/dist/profileBarchart-SKJSTC7B.js +265 -0
  269. package/dist/profileForms-RLOGSMAQ.js +438 -0
  270. package/dist/profilePlot-267ZS3RG.js +52 -0
  271. package/dist/profileRadar-KGOBHCSF.js +261 -0
  272. package/dist/profileRadarFacility-MCJKSHUM.js +261 -0
  273. package/dist/proteomeAbundance-JUYAYO5I.js +63 -0
  274. package/dist/proteomeAbundance-PGHZSVAF.js +19 -0
  275. package/dist/qualitative-3IECKKJM.js +41 -0
  276. package/dist/regression-J6FFRPXN.js +54 -0
  277. package/dist/regression.inputs-T7LWBSYZ.js +46 -0
  278. package/dist/regression.inputs.term-TT7PNX6G.js +46 -0
  279. package/dist/regression.inputs.values.table-SHFUNKCS.js +43 -0
  280. package/dist/regression.integration.spec-QKHMJTHA.js +784 -0
  281. package/dist/regression.results-D4WX6VIV.js +38 -0
  282. package/dist/regression.spec-7SW55L7X.js +706 -0
  283. package/dist/report-QYOZ4BRF.js +220 -0
  284. package/dist/sampleScatter.spec-JCHFMGNF.js +200 -0
  285. package/dist/sampleView-7RPKNAZC.js +46 -0
  286. package/dist/samplelst-4WNPHZVG.js +109 -0
  287. package/dist/samplematrix-CG52DSXJ.js +2196 -0
  288. package/dist/sc-OJSWILSA.js +84 -0
  289. package/dist/scatter-LG2RMMEC.js +800 -0
  290. package/dist/scatter.integration.spec-QPANYTKW.js +1194 -0
  291. package/dist/selectGenomeWithTklst-QXRVE6N4.js +132 -0
  292. package/dist/singleCellCellType-XBSRL33U.js +36 -0
  293. package/dist/singleCellCellType.unit.spec-YZX4CSXA.js +177 -0
  294. package/dist/singleCellGeneExpression-64ECP62X.js +36 -0
  295. package/dist/singleCellGeneExpression.unit.spec-CFHFXMA6.js +163 -0
  296. package/dist/singleCellPlot-E5F62JY6.js +51 -0
  297. package/dist/singlecell-FCY5EOUV.js +84 -0
  298. package/dist/singlecell-S7B5V7NK.js +1570 -0
  299. package/dist/snp-ACKX4GRX.js +36 -0
  300. package/dist/snp.unit.spec-QBGHKKUD.js +174 -0
  301. package/dist/snplocus-7EUOW7J7.js +206 -0
  302. package/dist/spliceevent.a53ss.diagram-ALQZA35Z.js +149 -0
  303. package/dist/spliceevent.exonskip.diagram-UF7WJA5R.js +275 -0
  304. package/dist/spliceevent.noeventdiagram-4HPGRNRR.js +458 -0
  305. package/dist/ssGSEA-FDRBBBLJ.js +36 -0
  306. package/dist/ssGSEA.unit.spec-EZEOWJVV.js +86 -0
  307. package/dist/summarizeCnvGeneexp-FTL2MGAJ.js +158 -0
  308. package/dist/summarizeGeneexpSurvival-DDIF4UW6.js +105 -0
  309. package/dist/summarizeMutationCnv-L3GL5YDY.js +159 -0
  310. package/dist/summarizeMutationDiagnosis-LALOJTHV.js +38 -0
  311. package/dist/summarizeMutationSurvival-TSNTSOBZ.js +97 -0
  312. package/dist/summary-YRHVS64T.js +47 -0
  313. package/dist/summary.integration.spec-766YQLQA.js +412 -0
  314. package/dist/summaryInput-VQ2X6GSX.js +218 -0
  315. package/dist/sunburst-XFOONS6K.js +282 -0
  316. package/dist/survival-FQXZH2MM.js +44 -0
  317. package/dist/survival-TVA3ZWVP.js +56 -0
  318. package/dist/survival.integration.spec-WFIOPD6A.js +787 -0
  319. package/dist/svgraph-4BFBO7EL.js +1385 -0
  320. package/dist/svmr-ML7GAIIA.js +3840 -0
  321. package/dist/table-SMLMUWPP.js +198 -0
  322. package/dist/termCollection-22CPTISZ.js +36 -0
  323. package/dist/termCollection-EE6AOIVA.js +177 -0
  324. package/dist/termCollection.unit.spec-4DIW3CJ3.js +206 -0
  325. package/dist/tk-ITZCKOQ5.js +44 -0
  326. package/dist/tp.ui-R6HVKCBC.js +1457 -0
  327. package/dist/tvs.density-AQ5GD437.js +18 -0
  328. package/dist/tvs.dt-2263TBEJ.js +37 -0
  329. package/dist/tvs.dtcnv.categorical-TRRHL33N.js +38 -0
  330. package/dist/tvs.dtcnv.continuous-GREYNF52.js +70 -0
  331. package/dist/tvs.dtfusion-XOX46L3M.js +38 -0
  332. package/dist/tvs.dtsnvindel-IDMXT53F.js +38 -0
  333. package/dist/tvs.dtsv-ZDWFYH2C.js +38 -0
  334. package/dist/tvs.numeric-ZN2R7BH3.js +21 -0
  335. package/dist/tvs.samplelst-GAP76HRH.js +102 -0
  336. package/dist/tvs.termCollection-GQ65UKSI.js +151 -0
  337. package/dist/violin-JGDL62YA.js +44 -0
  338. package/dist/violin.integration.spec-W4NN7LBY.js +1417 -0
  339. package/dist/violin.interactivity-H4RP4K5U.js +36 -0
  340. package/dist/violin.renderer-QPHLACDC.js +38 -0
  341. package/dist/vocabulary-7JACY4J2.js +39 -0
  342. package/package.json +2 -2
  343. package/dist/2dmaf-PFPBHIUI.js +0 -1371
  344. package/dist/AIProjectAdmin-H2GB5ZOX.js +0 -830
  345. package/dist/AppHeader-FCWML6WH.js +0 -833
  346. package/dist/BoxPlot-QKXGF76K.js +0 -1295
  347. package/dist/CorrelationVolcano-ZJ7Q6JBC.js +0 -617
  348. package/dist/DifferentialAnalysis-PWCFCWFY.js +0 -238
  349. package/dist/Disco-IE5JKIF2.js +0 -3199
  350. package/dist/Disco.UI-SR7LSJE3.js +0 -242
  351. package/dist/DmrPlot-UDY7GOSY.js +0 -640
  352. package/dist/GB-GNTOP5C6.js +0 -1125
  353. package/dist/HicApp-FZTJL3OA.js +0 -2248
  354. package/dist/NumBinaryEditor-R5QVG3C4.js +0 -266
  355. package/dist/NumBinaryEditor-R5QVG3C4.js.map +0 -7
  356. package/dist/NumBinaryEditor.unit.spec-BMVRI24W.js +0 -284
  357. package/dist/NumContEditor-6JT5D6IW.js +0 -105
  358. package/dist/NumContEditor.unit.spec-XBQF2SW6.js +0 -167
  359. package/dist/NumCustomBinEditor-MEKEFOQI.js +0 -36
  360. package/dist/NumCustomBinEditor.unit.spec-LEMQJHDT.js +0 -282
  361. package/dist/NumDiscreteEditor-U3N37XRQ.js +0 -170
  362. package/dist/NumDiscreteEditor-U3N37XRQ.js.map +0 -7
  363. package/dist/NumDiscreteEditor.unit.spec-WQM4DLKO.js +0 -200
  364. package/dist/NumRegularBinEditor-HQR5Y6P7.js +0 -36
  365. package/dist/NumRegularBinEditor.unit.spec-FL4IFT7L.js +0 -225
  366. package/dist/NumSplineEditor-OESWMWP5.js +0 -188
  367. package/dist/NumSplineEditor-OESWMWP5.js.map +0 -7
  368. package/dist/NumSplineEditor.unit.spec-HYOXO45B.js +0 -197
  369. package/dist/NumericDensity-GJZ4BBJS.js +0 -36
  370. package/dist/NumericDensity.unit.spec-6LXWAXW7.js +0 -219
  371. package/dist/NumericHandler-LZIMPOHS.js +0 -37
  372. package/dist/NumericHandler.unit.spec-ZSU35AMD.js +0 -217
  373. package/dist/RunChart2-7XV6TIFO.js +0 -756
  374. package/dist/SC-E4EYAG26.js +0 -733
  375. package/dist/Volcano-Z7TJK6PW.js +0 -1187
  376. package/dist/WSIViewer-ZH2XABLC.js +0 -47933
  377. package/dist/WsiSamplesPlot-BL47MDHQ.js +0 -163
  378. package/dist/adSandbox-V3NTKVBC.js +0 -36
  379. package/dist/alphaGenome-IQVFCSWQ.js +0 -173
  380. package/dist/app-GJLZ2G2U.js +0 -47
  381. package/dist/app-YSD2U64Q.js +0 -35
  382. package/dist/bam-TRIF3AIQ.js +0 -849
  383. package/dist/bam-TRIF3AIQ.js.map +0 -7
  384. package/dist/barchart-GLLUYTAJ.js +0 -45
  385. package/dist/barchart.data-FRYRGKH3.js +0 -22
  386. package/dist/barchart.events-WODVSHRN.js +0 -45
  387. package/dist/barchart.integration.spec-6POS3V3T.js +0 -1675
  388. package/dist/block-2QM37YSE.js +0 -6300
  389. package/dist/block-2QM37YSE.js.map +0 -7
  390. package/dist/block.init-7HDLKQVX.js +0 -36
  391. package/dist/block.mds.expressionrank-UIB25S6E.js +0 -357
  392. package/dist/block.mds.geneboxplot-4PQYO3MR.js +0 -826
  393. package/dist/block.mds.junction-DWFYZEC2.js +0 -1543
  394. package/dist/block.mds.svcnv-N3KJJ4GQ.js +0 -6799
  395. package/dist/block.svg-2HBDI7BT.js +0 -162
  396. package/dist/block.tk.aicheck-2M4522IQ.js +0 -281
  397. package/dist/block.tk.ase-URIKF6JD.js +0 -363
  398. package/dist/block.tk.bam-HTDMASHX.js +0 -1904
  399. package/dist/block.tk.bedgraphdot-RVKMSFCQ.js +0 -382
  400. package/dist/block.tk.bigwig.ui-7JPEOIKM.js +0 -209
  401. package/dist/block.tk.hicstraw-72J7UJ2J.js +0 -821
  402. package/dist/block.tk.junction-GGFMBCV5.js +0 -2362
  403. package/dist/block.tk.junction.textmatrixui-44SAYYWE.js +0 -197
  404. package/dist/block.tk.ld-XDKJFEOL.js +0 -97
  405. package/dist/block.tk.menu-46FOTM7H.js +0 -1027
  406. package/dist/block.tk.pgv-ZVONRT4B.js +0 -942
  407. package/dist/brainImaging-CSLO7ODJ.js +0 -421
  408. package/dist/chat-GMD22F3K.js +0 -148
  409. package/dist/chunk-22KWZOCN.js +0 -153
  410. package/dist/chunk-2K5DSRBJ.js +0 -84
  411. package/dist/chunk-2K5DSRBJ.js.map +0 -7
  412. package/dist/chunk-2NQ4TM74.js +0 -48
  413. package/dist/chunk-2TIYJ3PH.js +0 -815
  414. package/dist/chunk-2UWHV2SB.js +0 -261
  415. package/dist/chunk-2UWHV2SB.js.map +0 -7
  416. package/dist/chunk-3656ZY4T.js +0 -237
  417. package/dist/chunk-3TU6TRLQ.js +0 -98
  418. package/dist/chunk-4FJ5GS6P.js +0 -4202
  419. package/dist/chunk-4FJ5GS6P.js.map +0 -7
  420. package/dist/chunk-4FO7KZY2.js +0 -534
  421. package/dist/chunk-4OEOQX4L.js +0 -334
  422. package/dist/chunk-5HCB4HNL.js +0 -147
  423. package/dist/chunk-5ZICCKEH.js +0 -4952
  424. package/dist/chunk-6UU7VPDO.js +0 -272
  425. package/dist/chunk-6YLQN7FF.js +0 -441
  426. package/dist/chunk-74QJDBIP.js +0 -480
  427. package/dist/chunk-7FXPMQRW.js +0 -34
  428. package/dist/chunk-A2Y3GEUH.js +0 -228
  429. package/dist/chunk-AAEXTQT3.js +0 -330
  430. package/dist/chunk-AAEXTQT3.js.map +0 -7
  431. package/dist/chunk-AG6HVFQY.js +0 -504
  432. package/dist/chunk-AG6HVFQY.js.map +0 -7
  433. package/dist/chunk-AHLUW2BN.js +0 -129
  434. package/dist/chunk-AQ4OP4GR.js +0 -39
  435. package/dist/chunk-AYDXOUFX.js +0 -1275
  436. package/dist/chunk-AYDXOUFX.js.map +0 -7
  437. package/dist/chunk-BBIPZ2UF.js +0 -52
  438. package/dist/chunk-BBVOZ5BY.js +0 -230
  439. package/dist/chunk-BBVOZ5BY.js.map +0 -7
  440. package/dist/chunk-BHVDOW3W.js +0 -470
  441. package/dist/chunk-BNN32RI2.js +0 -36
  442. package/dist/chunk-BQLC6QOH.js +0 -368
  443. package/dist/chunk-BQLC6QOH.js.map +0 -7
  444. package/dist/chunk-C5QOWZK6.js +0 -629
  445. package/dist/chunk-CJJ6LDZM.js +0 -170
  446. package/dist/chunk-CJJ6LDZM.js.map +0 -7
  447. package/dist/chunk-D4U5X2QQ.js +0 -261
  448. package/dist/chunk-DV444SFD.js +0 -26
  449. package/dist/chunk-DWWAB4YQ.js +0 -102
  450. package/dist/chunk-FP5VKE3Z.js +0 -170
  451. package/dist/chunk-FVWCYGJL.js +0 -121
  452. package/dist/chunk-G2MAZI6I.js +0 -205
  453. package/dist/chunk-HLRNIO5K.js +0 -158
  454. package/dist/chunk-HTHH2B6D.js +0 -46
  455. package/dist/chunk-I7X6K4OL.js +0 -217
  456. package/dist/chunk-ITYEOGLB.js +0 -302
  457. package/dist/chunk-J6XKDYNZ.js +0 -276
  458. package/dist/chunk-J6XKDYNZ.js.map +0 -7
  459. package/dist/chunk-JDX4E7ZO.js +0 -381
  460. package/dist/chunk-JWX7GYHP.js +0 -95
  461. package/dist/chunk-KLFROH3F.js +0 -203
  462. package/dist/chunk-KQSN7PUK.js +0 -215
  463. package/dist/chunk-KQSN7PUK.js.map +0 -7
  464. package/dist/chunk-L2ED35QZ.js +0 -2815
  465. package/dist/chunk-L4QG7XZE.js +0 -46
  466. package/dist/chunk-L4QG7XZE.js.map +0 -7
  467. package/dist/chunk-LI7FE335.js +0 -371
  468. package/dist/chunk-LLPFFNLV.js +0 -526
  469. package/dist/chunk-LRV4VWRF.js +0 -94
  470. package/dist/chunk-LRV4VWRF.js.map +0 -7
  471. package/dist/chunk-M464GTNI.js +0 -615
  472. package/dist/chunk-MDN3K2BG.js +0 -229
  473. package/dist/chunk-MDN3K2BG.js.map +0 -7
  474. package/dist/chunk-N46WTUX7.js +0 -286
  475. package/dist/chunk-N46WTUX7.js.map +0 -7
  476. package/dist/chunk-NBMJ2UMA.js +0 -194
  477. package/dist/chunk-NI7VSKJI.js +0 -293
  478. package/dist/chunk-NTVM4ZPG.js +0 -2784
  479. package/dist/chunk-O64UTRAC.js +0 -252
  480. package/dist/chunk-OM326NV3.js +0 -100
  481. package/dist/chunk-P4ENJUBN.js +0 -386
  482. package/dist/chunk-PEKVBCIH.js +0 -824
  483. package/dist/chunk-PF6MKI4X.js +0 -92
  484. package/dist/chunk-PJTQP6RL.js +0 -54
  485. package/dist/chunk-PVSRVJBE.js +0 -1201
  486. package/dist/chunk-PVSRVJBE.js.map +0 -7
  487. package/dist/chunk-PZ3L3KM6.js +0 -55
  488. package/dist/chunk-QEHUEG4X.js +0 -1788
  489. package/dist/chunk-QEHUEG4X.js.map +0 -7
  490. package/dist/chunk-QXCVG66S.js +0 -2672
  491. package/dist/chunk-RIGZHHCP.js +0 -119
  492. package/dist/chunk-SEIANPCX.js +0 -142
  493. package/dist/chunk-SEQLC4AD.js +0 -177
  494. package/dist/chunk-SK7YVOQN.js +0 -148
  495. package/dist/chunk-SPPZB5ZQ.js +0 -158
  496. package/dist/chunk-SPPZB5ZQ.js.map +0 -7
  497. package/dist/chunk-T5KFRIP4.js +0 -1087
  498. package/dist/chunk-TTSNECVD.js +0 -1413
  499. package/dist/chunk-TTSNECVD.js.map +0 -7
  500. package/dist/chunk-TV74I3Y5.js +0 -43
  501. package/dist/chunk-TV74I3Y5.js.map +0 -7
  502. package/dist/chunk-TVXESYIR.js +0 -439
  503. package/dist/chunk-U3UR3U3F.js +0 -446
  504. package/dist/chunk-UFYU7AKL.js +0 -107
  505. package/dist/chunk-VIYGTRUZ.js +0 -6364
  506. package/dist/chunk-WCTH7CB3.js +0 -31
  507. package/dist/chunk-WGSWVYHY.js +0 -1155
  508. package/dist/chunk-WYZ4COTF.js +0 -226
  509. package/dist/chunk-WZRXJ5LL.js +0 -2370
  510. package/dist/chunk-WZRXJ5LL.js.map +0 -7
  511. package/dist/chunk-XZZLEHWC.js +0 -20328
  512. package/dist/chunk-XZZLEHWC.js.map +0 -7
  513. package/dist/chunk-Y7JAPSMG.js +0 -406
  514. package/dist/chunk-Y7JAPSMG.js.map +0 -7
  515. package/dist/chunk-YJ2HC4CP.js +0 -1150
  516. package/dist/chunk-ZLH4PJKX.js +0 -1658
  517. package/dist/chunk-ZLH4PJKX.js.map +0 -7
  518. package/dist/chunk-ZZSDYKD5.js +0 -14
  519. package/dist/condition-S52W57ZO.js +0 -330
  520. package/dist/controls-B4MTTPWO.js +0 -39
  521. package/dist/controls.config-6KBCTIPN.js +0 -37
  522. package/dist/correlation-VSBCBFFP.js +0 -96
  523. package/dist/cuminc-T5ZPAGVB.js +0 -1147
  524. package/dist/cuminc.integration.spec-2QT3IPHU.js +0 -676
  525. package/dist/customdata.inputui-5MHQQHJL.js +0 -285
  526. package/dist/dataDownload-S4EBNHMW.js +0 -328
  527. package/dist/dataDownload.integration.spec-OVSIWI34.js +0 -191
  528. package/dist/databrowser.ui-EAJS3NXV.js +0 -419
  529. package/dist/dictionary-CQHSMVYF.js +0 -98
  530. package/dist/dnaMethylation-G3F2INDH.js +0 -36
  531. package/dist/dnaMethylation.integration.spec-FWF4353K.js +0 -179
  532. package/dist/e2pca-SLXGPVHP.js +0 -348
  533. package/dist/ep-4HGUSDGJ.js +0 -1254
  534. package/dist/expclust.gdc.spec-JJ42ESKE.js +0 -305
  535. package/dist/facet-6WVTVKDV.js +0 -519
  536. package/dist/geneExpClustering-5LOZPD5X.js +0 -246
  537. package/dist/geneExpression-BJ46UGXW.js +0 -312
  538. package/dist/geneExpression-PTSZWKCM.js +0 -36
  539. package/dist/geneExpression.unit.spec-NW5HTO7F.js +0 -100
  540. package/dist/geneORA-H65EZ7QO.js +0 -276
  541. package/dist/geneVariant-T6GWOVZD.js +0 -39
  542. package/dist/geneVariant-WTDFZTXG.js +0 -37
  543. package/dist/geneVariant.integration.spec-OPSBRUM3.js +0 -196
  544. package/dist/genefusion.ui-RSBCC37C.js +0 -249
  545. package/dist/geneset-B67PAZVL.js +0 -194
  546. package/dist/genomeBrowser.spec-AUTULF4C.js +0 -279
  547. package/dist/grin2-CMBP7XVH.js +0 -1031
  548. package/dist/grin2-JVCNH3KW.js +0 -1554
  549. package/dist/gsea-H774WVPQ.js +0 -45
  550. package/dist/hierCluster-IQTXQUMI.js +0 -58
  551. package/dist/hierCluster-ZQJDXYBD.js +0 -62
  552. package/dist/hierCluster.config-ZHJTZK5L.js +0 -38
  553. package/dist/hierCluster.integration.spec-MSJ5GHHK.js +0 -374
  554. package/dist/hierCluster.interactivity-H2GNO6AA.js +0 -52
  555. package/dist/hierCluster.renderers-2TE6HMK2.js +0 -21
  556. package/dist/imagePlot-FMNMB7JZ.js +0 -139
  557. package/dist/importPlot-N66G43XX.js +0 -8
  558. package/dist/isoformExpression-B64WLO3H.js +0 -38
  559. package/dist/isoformExpression.unit.spec-D2R6CRKO.js +0 -126
  560. package/dist/isoformExpression.unit.spec-D2R6CRKO.js.map +0 -7
  561. package/dist/launch.adhoc-MPRAJ3GN.js +0 -40
  562. package/dist/leftlabel.sample-4JCKYXED.js +0 -257
  563. package/dist/legacyDataset-PBCPC5I7.js +0 -119
  564. package/dist/lollipop-25ADHT7O.js +0 -166
  565. package/dist/maf-POYTGXT4.js +0 -442
  566. package/dist/maf-POYTGXT4.js.map +0 -7
  567. package/dist/maftimeline-FOQF6O3X.js +0 -591
  568. package/dist/matrix-LHLAYDTQ.js +0 -57
  569. package/dist/matrix-ZKF7NRAD.js +0 -62
  570. package/dist/matrix.cells-H4TS74FJ.js +0 -28
  571. package/dist/matrix.config-HE7QUDER.js +0 -39
  572. package/dist/matrix.controls-VILCLNSC.js +0 -37
  573. package/dist/matrix.data-2OUWYD35.js +0 -25
  574. package/dist/matrix.groups-5BGJIOOJ.js +0 -26
  575. package/dist/matrix.integration.spec-DSXZHAEY.js +0 -3070
  576. package/dist/matrix.interactivity-VK3NWX5M.js +0 -40
  577. package/dist/matrix.layout-PUNMMNCC.js +0 -42
  578. package/dist/matrix.legend-QMERGVYU.js +0 -22
  579. package/dist/matrix.renderers-2KQ2NXSQ.js +0 -36
  580. package/dist/matrix.serieses-24G3XPJD.js +0 -21
  581. package/dist/matrix.sort-HTVT4K7C.js +0 -27
  582. package/dist/matrix.sort.unit.spec-EUVL76NB.js +0 -470
  583. package/dist/matrix.sorterUi-PJPFXWOJ.js +0 -18
  584. package/dist/matrix.sorterUi.unit.spec-QWL5Y4DQ.js +0 -340
  585. package/dist/mavb-UGM5SHEF.js +0 -730
  586. package/dist/mds.fimo-64US7RTE.js +0 -516
  587. package/dist/mds.samplescatterplot-JMXLXVIE.js +0 -1548
  588. package/dist/mds.survivalplot-RJ5UD3IU.js +0 -481
  589. package/dist/oncomatrix-ZFT3DRAP.js +0 -293
  590. package/dist/oncomatrix-ZFT3DRAP.js.map +0 -7
  591. package/dist/oncomatrix.spec-4YLKDGFE.js +0 -446
  592. package/dist/plot.2dvaf-DYSU6BBN.js +0 -375
  593. package/dist/plot.app-NFBVLAXZ.js +0 -39
  594. package/dist/plot.barplot-DBGTDK7J.js +0 -100
  595. package/dist/plot.boxplot-MCKZUROP.js +0 -150
  596. package/dist/plot.brainImaging-BBAVUEB4.js +0 -51
  597. package/dist/plot.disco-VGOEQYRL.js +0 -101
  598. package/dist/plot.dzi-YQIFOTZQ.js +0 -33
  599. package/dist/plot.ssgq-MU3BRTMC.js +0 -137
  600. package/dist/plot.vaf2cov-KDHZ7JXJ.js +0 -257
  601. package/dist/plot.wsi-G2TUGQF7.js +0 -36
  602. package/dist/polar-RCCZXZIU.js +0 -184
  603. package/dist/polar2-COQ3WIGW.js +0 -226
  604. package/dist/profile.spec-A4ZASR2T.js +0 -78
  605. package/dist/profileBarchart-GB4RK5DF.js +0 -265
  606. package/dist/profileForms-O5KBHRF6.js +0 -438
  607. package/dist/profilePlot-COCLCP5B.js +0 -52
  608. package/dist/profileRadar-4EE3YDOH.js +0 -261
  609. package/dist/profileRadarFacility-JYTSGA5H.js +0 -261
  610. package/dist/proteomeAbundance-JBVXUSD6.js +0 -19
  611. package/dist/proteomeAbundance-NQVU4DOW.js +0 -63
  612. package/dist/qualitative-QROOPDSI.js +0 -41
  613. package/dist/regression-7FQZ22OO.js +0 -54
  614. package/dist/regression.inputs-F62CES3A.js +0 -46
  615. package/dist/regression.inputs.term-BCGP7PX4.js +0 -46
  616. package/dist/regression.inputs.values.table-D3ZXZSH7.js +0 -43
  617. package/dist/regression.integration.spec-P2BBTT2O.js +0 -784
  618. package/dist/regression.results-JX6RJQQP.js +0 -38
  619. package/dist/regression.spec-ROME7T33.js +0 -706
  620. package/dist/report-B6MM4T6B.js +0 -220
  621. package/dist/sampleScatter.spec-EPCMC3SR.js +0 -200
  622. package/dist/sampleView-77EAJ75T.js +0 -46
  623. package/dist/samplelst-CX4NQWA7.js +0 -109
  624. package/dist/samplematrix-PYQFAH64.js +0 -2196
  625. package/dist/sc-X6SI5VVI.js +0 -84
  626. package/dist/scatter-ZFFHAI4F.js +0 -800
  627. package/dist/scatter.integration.spec-NN43OXRN.js +0 -1194
  628. package/dist/selectGenomeWithTklst-CZMVTBMD.js +0 -132
  629. package/dist/singleCellCellType-GOBX7JKV.js +0 -36
  630. package/dist/singleCellCellType.unit.spec-F344QMTQ.js +0 -177
  631. package/dist/singleCellGeneExpression-BLMNMEAI.js +0 -36
  632. package/dist/singleCellGeneExpression.unit.spec-6ZEPUFWC.js +0 -163
  633. package/dist/singleCellPlot-HLD7PLQH.js +0 -51
  634. package/dist/singlecell-HL4GLGIA.js +0 -1570
  635. package/dist/singlecell-JQFPINRS.js +0 -84
  636. package/dist/snp-EAUNFDAV.js +0 -36
  637. package/dist/snp.unit.spec-AVLPMAWI.js +0 -174
  638. package/dist/snplocus-2J7OA6OL.js +0 -206
  639. package/dist/spliceevent.a53ss.diagram-4DU2U7NW.js +0 -149
  640. package/dist/spliceevent.exonskip.diagram-GG5FGXOK.js +0 -275
  641. package/dist/spliceevent.noeventdiagram-T6RNIMCM.js +0 -458
  642. package/dist/ssGSEA-XJWLRVFQ.js +0 -36
  643. package/dist/ssGSEA.unit.spec-MQ23ODYO.js +0 -86
  644. package/dist/summarizeCnvGeneexp-CJPC76RM.js +0 -158
  645. package/dist/summarizeGeneexpSurvival-FGCFZTVG.js +0 -105
  646. package/dist/summarizeMutationCnv-4E7R2NHQ.js +0 -159
  647. package/dist/summarizeMutationDiagnosis-ZVX7AZK7.js +0 -38
  648. package/dist/summarizeMutationSurvival-EWXD7TCT.js +0 -97
  649. package/dist/summary-VUYBKQOC.js +0 -47
  650. package/dist/summary.integration.spec-EPBV5XCT.js +0 -412
  651. package/dist/summaryInput-YX5IRGWM.js +0 -218
  652. package/dist/sunburst-HPDML45I.js +0 -282
  653. package/dist/survival-E6SRRXBB.js +0 -44
  654. package/dist/survival-XOXDPXZR.js +0 -56
  655. package/dist/survival.integration.spec-SJBPJZGJ.js +0 -787
  656. package/dist/svgraph-D23WG3UE.js +0 -1385
  657. package/dist/svmr-UFC4TKWV.js +0 -3840
  658. package/dist/table-US2K6IYZ.js +0 -198
  659. package/dist/termCollection-E7S57CIN.js +0 -177
  660. package/dist/termCollection-ZMP3VE2G.js +0 -36
  661. package/dist/termCollection.unit.spec-MDWK6XH3.js +0 -206
  662. package/dist/tk-TLQJK6R4.js +0 -44
  663. package/dist/tp.ui-NQEAKWUH.js +0 -1457
  664. package/dist/tvs.density-HSVPDDGA.js +0 -18
  665. package/dist/tvs.dt-U2MINIBH.js +0 -37
  666. package/dist/tvs.dtcnv.categorical-2OOAZJKC.js +0 -38
  667. package/dist/tvs.dtcnv.continuous-5ETKBJ52.js +0 -70
  668. package/dist/tvs.dtfusion-EB4PPR3Y.js +0 -38
  669. package/dist/tvs.dtsnvindel-IRQPTKQF.js +0 -38
  670. package/dist/tvs.dtsv-TOVXZJCR.js +0 -38
  671. package/dist/tvs.numeric-ICUGA4WY.js +0 -21
  672. package/dist/tvs.samplelst-4SCH543Y.js +0 -102
  673. package/dist/tvs.termCollection-GGN5F6HC.js +0 -151
  674. package/dist/violin-7D7DN74I.js +0 -44
  675. package/dist/violin.integration.spec-KE76AL54.js +0 -1417
  676. package/dist/violin.interactivity-YPJ2H6SQ.js +0 -36
  677. package/dist/violin.renderer-UK7WSA2Z.js +0 -38
  678. package/dist/vocabulary-KLWZ6LRP.js +0 -39
  679. /package/dist/{2dmaf-PFPBHIUI.js.map → 2dmaf-SLBAWGPG.js.map} +0 -0
  680. /package/dist/{AIProjectAdmin-H2GB5ZOX.js.map → AIProjectAdmin-6SH5X3AF.js.map} +0 -0
  681. /package/dist/{AppHeader-FCWML6WH.js.map → AppHeader-MVYNRMC7.js.map} +0 -0
  682. /package/dist/{BoxPlot-QKXGF76K.js.map → BoxPlot-HLGWW3IK.js.map} +0 -0
  683. /package/dist/{CorrelationVolcano-ZJ7Q6JBC.js.map → CorrelationVolcano-TZCYC3NI.js.map} +0 -0
  684. /package/dist/{DifferentialAnalysis-PWCFCWFY.js.map → DifferentialAnalysis-DS7CQOT6.js.map} +0 -0
  685. /package/dist/{Disco-IE5JKIF2.js.map → Disco-U5I6NJUT.js.map} +0 -0
  686. /package/dist/{Disco.UI-SR7LSJE3.js.map → Disco.UI-J2B7GGEZ.js.map} +0 -0
  687. /package/dist/{DmrPlot-UDY7GOSY.js.map → DmrPlot-D5W76QPY.js.map} +0 -0
  688. /package/dist/{GB-GNTOP5C6.js.map → GB-LM5SGUG4.js.map} +0 -0
  689. /package/dist/{HicApp-FZTJL3OA.js.map → HicApp-YNBGAGKM.js.map} +0 -0
  690. /package/dist/{NumBinaryEditor.unit.spec-BMVRI24W.js.map → NumBinaryEditor.unit.spec-YWSIFTOJ.js.map} +0 -0
  691. /package/dist/{NumContEditor-6JT5D6IW.js.map → NumContEditor-ZPLVZFLH.js.map} +0 -0
  692. /package/dist/{NumContEditor.unit.spec-XBQF2SW6.js.map → NumContEditor.unit.spec-NBCFOCOX.js.map} +0 -0
  693. /package/dist/{NumCustomBinEditor-MEKEFOQI.js.map → NumCustomBinEditor-TXEYRVPL.js.map} +0 -0
  694. /package/dist/{NumCustomBinEditor.unit.spec-LEMQJHDT.js.map → NumCustomBinEditor.unit.spec-SQM63H4B.js.map} +0 -0
  695. /package/dist/{NumDiscreteEditor.unit.spec-WQM4DLKO.js.map → NumDiscreteEditor.unit.spec-4HC4AGAM.js.map} +0 -0
  696. /package/dist/{NumRegularBinEditor-HQR5Y6P7.js.map → NumRegularBinEditor-VQAS3OXK.js.map} +0 -0
  697. /package/dist/{NumRegularBinEditor.unit.spec-FL4IFT7L.js.map → NumRegularBinEditor.unit.spec-RGVEPB3Z.js.map} +0 -0
  698. /package/dist/{NumSplineEditor.unit.spec-HYOXO45B.js.map → NumSplineEditor.unit.spec-HF5E6ANH.js.map} +0 -0
  699. /package/dist/{NumericDensity-GJZ4BBJS.js.map → NumericDensity-LMLPMOSE.js.map} +0 -0
  700. /package/dist/{NumericDensity.unit.spec-6LXWAXW7.js.map → NumericDensity.unit.spec-3ZI5EVON.js.map} +0 -0
  701. /package/dist/{NumericHandler-LZIMPOHS.js.map → NumericHandler-Q6F6ANOS.js.map} +0 -0
  702. /package/dist/{NumericHandler.unit.spec-ZSU35AMD.js.map → NumericHandler.unit.spec-E6Z5HUNZ.js.map} +0 -0
  703. /package/dist/{RunChart2-7XV6TIFO.js.map → RunChart2-XSNWNAIL.js.map} +0 -0
  704. /package/dist/{SC-E4EYAG26.js.map → SC-RA46YM57.js.map} +0 -0
  705. /package/dist/{Volcano-Z7TJK6PW.js.map → Volcano-75UDYPVB.js.map} +0 -0
  706. /package/dist/{WSIViewer-ZH2XABLC.js.map → WSIViewer-GYUUXCSJ.js.map} +0 -0
  707. /package/dist/{WsiSamplesPlot-BL47MDHQ.js.map → WsiSamplesPlot-KMI5S2EL.js.map} +0 -0
  708. /package/dist/{adSandbox-V3NTKVBC.js.map → adSandbox-JTK5XEQL.js.map} +0 -0
  709. /package/dist/{alphaGenome-IQVFCSWQ.js.map → alphaGenome-JRAV6WIY.js.map} +0 -0
  710. /package/dist/{app-GJLZ2G2U.js.map → app-JKDZL23V.js.map} +0 -0
  711. /package/dist/{app-YSD2U64Q.js.map → app-OEARXM6E.js.map} +0 -0
  712. /package/dist/{barchart-GLLUYTAJ.js.map → barchart-GG5UFDG4.js.map} +0 -0
  713. /package/dist/{barchart.data-FRYRGKH3.js.map → barchart.data-KXA66FAL.js.map} +0 -0
  714. /package/dist/{barchart.events-WODVSHRN.js.map → barchart.events-P2USOIR7.js.map} +0 -0
  715. /package/dist/{barchart.integration.spec-6POS3V3T.js.map → barchart.integration.spec-5QSPQQLJ.js.map} +0 -0
  716. /package/dist/{block.init-7HDLKQVX.js.map → block.init-ZHX6DFWF.js.map} +0 -0
  717. /package/dist/{block.mds.expressionrank-UIB25S6E.js.map → block.mds.expressionrank-YMGYXXYT.js.map} +0 -0
  718. /package/dist/{block.mds.geneboxplot-4PQYO3MR.js.map → block.mds.geneboxplot-IAILQYX4.js.map} +0 -0
  719. /package/dist/{block.mds.junction-DWFYZEC2.js.map → block.mds.junction-BRNFNQMU.js.map} +0 -0
  720. /package/dist/{block.mds.svcnv-N3KJJ4GQ.js.map → block.mds.svcnv-OHKC7YPO.js.map} +0 -0
  721. /package/dist/{block.svg-2HBDI7BT.js.map → block.svg-PNGK45HW.js.map} +0 -0
  722. /package/dist/{block.tk.aicheck-2M4522IQ.js.map → block.tk.aicheck-SCIOJ4WN.js.map} +0 -0
  723. /package/dist/{block.tk.ase-URIKF6JD.js.map → block.tk.ase-BABJ73GG.js.map} +0 -0
  724. /package/dist/{block.tk.bam-HTDMASHX.js.map → block.tk.bam-LZWJ5BCQ.js.map} +0 -0
  725. /package/dist/{block.tk.bedgraphdot-RVKMSFCQ.js.map → block.tk.bedgraphdot-7NQLC3XJ.js.map} +0 -0
  726. /package/dist/{block.tk.bigwig.ui-7JPEOIKM.js.map → block.tk.bigwig.ui-VNY4SFD5.js.map} +0 -0
  727. /package/dist/{block.tk.hicstraw-72J7UJ2J.js.map → block.tk.hicstraw-36A7VDRM.js.map} +0 -0
  728. /package/dist/{block.tk.junction-GGFMBCV5.js.map → block.tk.junction-D373YEMK.js.map} +0 -0
  729. /package/dist/{block.tk.junction.textmatrixui-44SAYYWE.js.map → block.tk.junction.textmatrixui-FFII7J3X.js.map} +0 -0
  730. /package/dist/{block.tk.ld-XDKJFEOL.js.map → block.tk.ld-XGB6KMDO.js.map} +0 -0
  731. /package/dist/{block.tk.menu-46FOTM7H.js.map → block.tk.menu-PEZANZBZ.js.map} +0 -0
  732. /package/dist/{block.tk.pgv-ZVONRT4B.js.map → block.tk.pgv-MU5BPTT2.js.map} +0 -0
  733. /package/dist/{brainImaging-CSLO7ODJ.js.map → brainImaging-LVJON47N.js.map} +0 -0
  734. /package/dist/{chat-GMD22F3K.js.map → chat-5FDIAQJ4.js.map} +0 -0
  735. /package/dist/{chunk-G2MAZI6I.js.map → chunk-2OSEZCWZ.js.map} +0 -0
  736. /package/dist/{chunk-RIGZHHCP.js.map → chunk-6MSCYO7K.js.map} +0 -0
  737. /package/dist/{chunk-4FO7KZY2.js.map → chunk-7A7NMCQ3.js.map} +0 -0
  738. /package/dist/{chunk-O64UTRAC.js.map → chunk-AETE4F7R.js.map} +0 -0
  739. /package/dist/{chunk-6YLQN7FF.js.map → chunk-AZYDW5T7.js.map} +0 -0
  740. /package/dist/{chunk-7FXPMQRW.js.map → chunk-B6HCIAM3.js.map} +0 -0
  741. /package/dist/{chunk-L2ED35QZ.js.map → chunk-CCIZJAXB.js.map} +0 -0
  742. /package/dist/{chunk-UFYU7AKL.js.map → chunk-DHZL3FBC.js.map} +0 -0
  743. /package/dist/{chunk-AQ4OP4GR.js.map → chunk-DONWY7TP.js.map} +0 -0
  744. /package/dist/{chunk-2TIYJ3PH.js.map → chunk-DVDDXOWT.js.map} +0 -0
  745. /package/dist/{chunk-74QJDBIP.js.map → chunk-E6DRQJJT.js.map} +0 -0
  746. /package/dist/{chunk-BNN32RI2.js.map → chunk-ESKU6LNC.js.map} +0 -0
  747. /package/dist/{chunk-SEQLC4AD.js.map → chunk-F6V4AYWP.js.map} +0 -0
  748. /package/dist/{chunk-ITYEOGLB.js.map → chunk-FBAJTPBU.js.map} +0 -0
  749. /package/dist/{chunk-LI7FE335.js.map → chunk-FGMPKWT5.js.map} +0 -0
  750. /package/dist/{chunk-D4U5X2QQ.js.map → chunk-FK4MYVW2.js.map} +0 -0
  751. /package/dist/{chunk-3TU6TRLQ.js.map → chunk-FMBJ4SKC.js.map} +0 -0
  752. /package/dist/{chunk-WYZ4COTF.js.map → chunk-FQRLSKJC.js.map} +0 -0
  753. /package/dist/{chunk-C5QOWZK6.js.map → chunk-G6ELKVBG.js.map} +0 -0
  754. /package/dist/{chunk-NBMJ2UMA.js.map → chunk-GO5SIPFE.js.map} +0 -0
  755. /package/dist/{chunk-P4ENJUBN.js.map → chunk-GPOECA3V.js.map} +0 -0
  756. /package/dist/{chunk-TVXESYIR.js.map → chunk-GW7DHJYH.js.map} +0 -0
  757. /package/dist/{chunk-JWX7GYHP.js.map → chunk-H2K5KZP7.js.map} +0 -0
  758. /package/dist/{chunk-22KWZOCN.js.map → chunk-H5XFH3FV.js.map} +0 -0
  759. /package/dist/{chunk-A2Y3GEUH.js.map → chunk-HAMDFQIX.js.map} +0 -0
  760. /package/dist/{chunk-5ZICCKEH.js.map → chunk-HH4QLSTK.js.map} +0 -0
  761. /package/dist/{chunk-LLPFFNLV.js.map → chunk-IBTPGSYI.js.map} +0 -0
  762. /package/dist/{chunk-QXCVG66S.js.map → chunk-IIRU6VK2.js.map} +0 -0
  763. /package/dist/{chunk-PF6MKI4X.js.map → chunk-IP4T477W.js.map} +0 -0
  764. /package/dist/{chunk-6UU7VPDO.js.map → chunk-JHOGX5VE.js.map} +0 -0
  765. /package/dist/{chunk-JDX4E7ZO.js.map → chunk-JOXUBWN3.js.map} +0 -0
  766. /package/dist/{chunk-SEIANPCX.js.map → chunk-K57RR3FD.js.map} +0 -0
  767. /package/dist/{chunk-AHLUW2BN.js.map → chunk-K6JLCMVL.js.map} +0 -0
  768. /package/dist/{chunk-OM326NV3.js.map → chunk-KSFSM46X.js.map} +0 -0
  769. /package/dist/{chunk-BHVDOW3W.js.map → chunk-KVG7FTTK.js.map} +0 -0
  770. /package/dist/{chunk-HLRNIO5K.js.map → chunk-LEDPPLQK.js.map} +0 -0
  771. /package/dist/{chunk-YJ2HC4CP.js.map → chunk-LUTT3MBZ.js.map} +0 -0
  772. /package/dist/{chunk-NTVM4ZPG.js.map → chunk-MPJHDHBA.js.map} +0 -0
  773. /package/dist/{chunk-M464GTNI.js.map → chunk-O4PXELXF.js.map} +0 -0
  774. /package/dist/{chunk-ZZSDYKD5.js.map → chunk-ORPCSG6T.js.map} +0 -0
  775. /package/dist/{chunk-4OEOQX4L.js.map → chunk-OUKDZKSZ.js.map} +0 -0
  776. /package/dist/{chunk-T5KFRIP4.js.map → chunk-P5HLYAHP.js.map} +0 -0
  777. /package/dist/{chunk-SK7YVOQN.js.map → chunk-PIACSJPH.js.map} +0 -0
  778. /package/dist/{chunk-WCTH7CB3.js.map → chunk-PQABAAEZ.js.map} +0 -0
  779. /package/dist/{chunk-HTHH2B6D.js.map → chunk-PSMDCZET.js.map} +0 -0
  780. /package/dist/{chunk-I7X6K4OL.js.map → chunk-RFIVPTMS.js.map} +0 -0
  781. /package/dist/{chunk-PJTQP6RL.js.map → chunk-RSU37SVQ.js.map} +0 -0
  782. /package/dist/{chunk-WGSWVYHY.js.map → chunk-SPAIFVM2.js.map} +0 -0
  783. /package/dist/{chunk-PZ3L3KM6.js.map → chunk-T2HYA2KL.js.map} +0 -0
  784. /package/dist/{chunk-5HCB4HNL.js.map → chunk-TE3DK3A6.js.map} +0 -0
  785. /package/dist/{chunk-3656ZY4T.js.map → chunk-TIQPSXFJ.js.map} +0 -0
  786. /package/dist/{chunk-DV444SFD.js.map → chunk-TN5GSG34.js.map} +0 -0
  787. /package/dist/{chunk-BBIPZ2UF.js.map → chunk-UBGTQMOO.js.map} +0 -0
  788. /package/dist/{chunk-2NQ4TM74.js.map → chunk-UE5ZYM63.js.map} +0 -0
  789. /package/dist/{chunk-DWWAB4YQ.js.map → chunk-UQACPOCM.js.map} +0 -0
  790. /package/dist/{chunk-U3UR3U3F.js.map → chunk-UR3C4SCH.js.map} +0 -0
  791. /package/dist/{chunk-FVWCYGJL.js.map → chunk-UWX7W22M.js.map} +0 -0
  792. /package/dist/{chunk-NI7VSKJI.js.map → chunk-VLTDUJRM.js.map} +0 -0
  793. /package/dist/{chunk-VIYGTRUZ.js.map → chunk-W6UUEAEP.js.map} +0 -0
  794. /package/dist/{chunk-FP5VKE3Z.js.map → chunk-Y3TDC7NU.js.map} +0 -0
  795. /package/dist/{chunk-PEKVBCIH.js.map → chunk-YOTWMCT5.js.map} +0 -0
  796. /package/dist/{chunk-KLFROH3F.js.map → chunk-YUMPQ3CJ.js.map} +0 -0
  797. /package/dist/{condition-S52W57ZO.js.map → condition-VHP2L4GM.js.map} +0 -0
  798. /package/dist/{controls-B4MTTPWO.js.map → controls-N5Q7U7JR.js.map} +0 -0
  799. /package/dist/{controls.config-6KBCTIPN.js.map → controls.config-NJMW4SLR.js.map} +0 -0
  800. /package/dist/{correlation-VSBCBFFP.js.map → correlation-3LDASF5I.js.map} +0 -0
  801. /package/dist/{cuminc-T5ZPAGVB.js.map → cuminc-UWJ23W6C.js.map} +0 -0
  802. /package/dist/{cuminc.integration.spec-2QT3IPHU.js.map → cuminc.integration.spec-OZYYET3W.js.map} +0 -0
  803. /package/dist/{customdata.inputui-5MHQQHJL.js.map → customdata.inputui-2FVCVSE4.js.map} +0 -0
  804. /package/dist/{dataDownload-S4EBNHMW.js.map → dataDownload-4S4PE5HX.js.map} +0 -0
  805. /package/dist/{dataDownload.integration.spec-OVSIWI34.js.map → dataDownload.integration.spec-B57LEKFZ.js.map} +0 -0
  806. /package/dist/{databrowser.ui-EAJS3NXV.js.map → databrowser.ui-N6GHEQ2P.js.map} +0 -0
  807. /package/dist/{dictionary-CQHSMVYF.js.map → dictionary-UP46QRYZ.js.map} +0 -0
  808. /package/dist/{dnaMethylation-G3F2INDH.js.map → dnaMethylation-BOGAUAWA.js.map} +0 -0
  809. /package/dist/{dnaMethylation.integration.spec-FWF4353K.js.map → dnaMethylation.integration.spec-UAHBJSSJ.js.map} +0 -0
  810. /package/dist/{e2pca-SLXGPVHP.js.map → e2pca-L5EBQJNP.js.map} +0 -0
  811. /package/dist/{ep-4HGUSDGJ.js.map → ep-Z67ORKUX.js.map} +0 -0
  812. /package/dist/{expclust.gdc.spec-JJ42ESKE.js.map → expclust.gdc.spec-SP7VOL64.js.map} +0 -0
  813. /package/dist/{facet-6WVTVKDV.js.map → facet-HDB4VDGU.js.map} +0 -0
  814. /package/dist/{geneExpClustering-5LOZPD5X.js.map → geneExpClustering-6ZPOLTDJ.js.map} +0 -0
  815. /package/dist/{geneExpression-BJ46UGXW.js.map → geneExpression-T6YIG4XQ.js.map} +0 -0
  816. /package/dist/{geneExpression-PTSZWKCM.js.map → geneExpression-T7QUHV5S.js.map} +0 -0
  817. /package/dist/{geneExpression.unit.spec-NW5HTO7F.js.map → geneExpression.unit.spec-DO52L5IB.js.map} +0 -0
  818. /package/dist/{geneORA-H65EZ7QO.js.map → geneORA-KOUDUWUO.js.map} +0 -0
  819. /package/dist/{geneVariant-T6GWOVZD.js.map → geneVariant-FVR76F6I.js.map} +0 -0
  820. /package/dist/{geneVariant-WTDFZTXG.js.map → geneVariant-I5QUITKG.js.map} +0 -0
  821. /package/dist/{geneVariant.integration.spec-OPSBRUM3.js.map → geneVariant.integration.spec-D4IRM7B5.js.map} +0 -0
  822. /package/dist/{genefusion.ui-RSBCC37C.js.map → genefusion.ui-35IYSZD7.js.map} +0 -0
  823. /package/dist/{geneset-B67PAZVL.js.map → geneset-7ZHJ5KWK.js.map} +0 -0
  824. /package/dist/{genomeBrowser.spec-AUTULF4C.js.map → genomeBrowser.spec-VXASVLNH.js.map} +0 -0
  825. /package/dist/{grin2-JVCNH3KW.js.map → grin2-7NM56COO.js.map} +0 -0
  826. /package/dist/{grin2-CMBP7XVH.js.map → grin2-IY26UUQI.js.map} +0 -0
  827. /package/dist/{gsea-H774WVPQ.js.map → gsea-TORO46C6.js.map} +0 -0
  828. /package/dist/{hierCluster-IQTXQUMI.js.map → hierCluster-3BKEGW6P.js.map} +0 -0
  829. /package/dist/{hierCluster-ZQJDXYBD.js.map → hierCluster-HM3LOM6V.js.map} +0 -0
  830. /package/dist/{hierCluster.config-ZHJTZK5L.js.map → hierCluster.config-LDO5IGQ5.js.map} +0 -0
  831. /package/dist/{hierCluster.integration.spec-MSJ5GHHK.js.map → hierCluster.integration.spec-XO5R6CQT.js.map} +0 -0
  832. /package/dist/{hierCluster.interactivity-H2GNO6AA.js.map → hierCluster.interactivity-NVQ6262K.js.map} +0 -0
  833. /package/dist/{hierCluster.renderers-2TE6HMK2.js.map → hierCluster.renderers-SWPPNBLU.js.map} +0 -0
  834. /package/dist/{imagePlot-FMNMB7JZ.js.map → imagePlot-V4WLAPV6.js.map} +0 -0
  835. /package/dist/{importPlot-N66G43XX.js.map → importPlot-NZKQEOX4.js.map} +0 -0
  836. /package/dist/{isoformExpression-B64WLO3H.js.map → isoformExpression-TIZBIGNL.js.map} +0 -0
  837. /package/dist/{launch.adhoc-MPRAJ3GN.js.map → launch.adhoc-JYEN42NM.js.map} +0 -0
  838. /package/dist/{leftlabel.sample-4JCKYXED.js.map → leftlabel.sample-43DL3J3H.js.map} +0 -0
  839. /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-QRSNRVUA.js.map} +0 -0
  840. /package/dist/{lollipop-25ADHT7O.js.map → lollipop-NMWZ4FVF.js.map} +0 -0
  841. /package/dist/{maftimeline-FOQF6O3X.js.map → maftimeline-ZB2753S7.js.map} +0 -0
  842. /package/dist/{matrix-LHLAYDTQ.js.map → matrix-RCGQWQ3C.js.map} +0 -0
  843. /package/dist/{matrix-ZKF7NRAD.js.map → matrix-WTTEK4FT.js.map} +0 -0
  844. /package/dist/{matrix.cells-H4TS74FJ.js.map → matrix.cells-UO5ASQ35.js.map} +0 -0
  845. /package/dist/{matrix.config-HE7QUDER.js.map → matrix.config-3UQAT3QR.js.map} +0 -0
  846. /package/dist/{matrix.controls-VILCLNSC.js.map → matrix.controls-PRZ77K5L.js.map} +0 -0
  847. /package/dist/{matrix.data-2OUWYD35.js.map → matrix.data-4W73RQ3H.js.map} +0 -0
  848. /package/dist/{matrix.groups-5BGJIOOJ.js.map → matrix.groups-5VMPI7SA.js.map} +0 -0
  849. /package/dist/{matrix.integration.spec-DSXZHAEY.js.map → matrix.integration.spec-2F5LDLC2.js.map} +0 -0
  850. /package/dist/{matrix.interactivity-VK3NWX5M.js.map → matrix.interactivity-MIPZ6ELV.js.map} +0 -0
  851. /package/dist/{matrix.layout-PUNMMNCC.js.map → matrix.layout-EO5LVYRO.js.map} +0 -0
  852. /package/dist/{matrix.legend-QMERGVYU.js.map → matrix.legend-QBFBFEUG.js.map} +0 -0
  853. /package/dist/{matrix.renderers-2KQ2NXSQ.js.map → matrix.renderers-ERJXVCQL.js.map} +0 -0
  854. /package/dist/{matrix.serieses-24G3XPJD.js.map → matrix.serieses-E23EPXHA.js.map} +0 -0
  855. /package/dist/{matrix.sort-HTVT4K7C.js.map → matrix.sort-I4UGMEXR.js.map} +0 -0
  856. /package/dist/{matrix.sort.unit.spec-EUVL76NB.js.map → matrix.sort.unit.spec-CRGF6CSE.js.map} +0 -0
  857. /package/dist/{matrix.sorterUi-PJPFXWOJ.js.map → matrix.sorterUi-YLSYTYLE.js.map} +0 -0
  858. /package/dist/{matrix.sorterUi.unit.spec-QWL5Y4DQ.js.map → matrix.sorterUi.unit.spec-ENG3ICOO.js.map} +0 -0
  859. /package/dist/{mavb-UGM5SHEF.js.map → mavb-5WR7OJHI.js.map} +0 -0
  860. /package/dist/{mds.fimo-64US7RTE.js.map → mds.fimo-3ZRH7BBJ.js.map} +0 -0
  861. /package/dist/{mds.samplescatterplot-JMXLXVIE.js.map → mds.samplescatterplot-RPXR2FVK.js.map} +0 -0
  862. /package/dist/{mds.survivalplot-RJ5UD3IU.js.map → mds.survivalplot-WSSMYUZD.js.map} +0 -0
  863. /package/dist/{oncomatrix.spec-4YLKDGFE.js.map → oncomatrix.spec-OEGU4DYK.js.map} +0 -0
  864. /package/dist/{plot.2dvaf-DYSU6BBN.js.map → plot.2dvaf-ZGARLQNK.js.map} +0 -0
  865. /package/dist/{plot.app-NFBVLAXZ.js.map → plot.app-TKUJH3LK.js.map} +0 -0
  866. /package/dist/{plot.barplot-DBGTDK7J.js.map → plot.barplot-FEIPGDZ2.js.map} +0 -0
  867. /package/dist/{plot.boxplot-MCKZUROP.js.map → plot.boxplot-6RASUMZB.js.map} +0 -0
  868. /package/dist/{plot.brainImaging-BBAVUEB4.js.map → plot.brainImaging-ZJPFWX2W.js.map} +0 -0
  869. /package/dist/{plot.disco-VGOEQYRL.js.map → plot.disco-2KTKB3XX.js.map} +0 -0
  870. /package/dist/{plot.dzi-YQIFOTZQ.js.map → plot.dzi-PC34YI6Y.js.map} +0 -0
  871. /package/dist/{plot.ssgq-MU3BRTMC.js.map → plot.ssgq-Z4UNJKWO.js.map} +0 -0
  872. /package/dist/{plot.vaf2cov-KDHZ7JXJ.js.map → plot.vaf2cov-NZ4WULKT.js.map} +0 -0
  873. /package/dist/{plot.wsi-G2TUGQF7.js.map → plot.wsi-YYXFAZWY.js.map} +0 -0
  874. /package/dist/{polar-RCCZXZIU.js.map → polar-X2GPIBLB.js.map} +0 -0
  875. /package/dist/{polar2-COQ3WIGW.js.map → polar2-TZ553QQH.js.map} +0 -0
  876. /package/dist/{profile.spec-A4ZASR2T.js.map → profile.spec-VB6VMFLY.js.map} +0 -0
  877. /package/dist/{profileBarchart-GB4RK5DF.js.map → profileBarchart-SKJSTC7B.js.map} +0 -0
  878. /package/dist/{profileForms-O5KBHRF6.js.map → profileForms-RLOGSMAQ.js.map} +0 -0
  879. /package/dist/{profilePlot-COCLCP5B.js.map → profilePlot-267ZS3RG.js.map} +0 -0
  880. /package/dist/{profileRadar-4EE3YDOH.js.map → profileRadar-KGOBHCSF.js.map} +0 -0
  881. /package/dist/{profileRadarFacility-JYTSGA5H.js.map → profileRadarFacility-MCJKSHUM.js.map} +0 -0
  882. /package/dist/{proteomeAbundance-NQVU4DOW.js.map → proteomeAbundance-JUYAYO5I.js.map} +0 -0
  883. /package/dist/{proteomeAbundance-JBVXUSD6.js.map → proteomeAbundance-PGHZSVAF.js.map} +0 -0
  884. /package/dist/{qualitative-QROOPDSI.js.map → qualitative-3IECKKJM.js.map} +0 -0
  885. /package/dist/{regression-7FQZ22OO.js.map → regression-J6FFRPXN.js.map} +0 -0
  886. /package/dist/{regression.inputs-F62CES3A.js.map → regression.inputs-T7LWBSYZ.js.map} +0 -0
  887. /package/dist/{regression.inputs.term-BCGP7PX4.js.map → regression.inputs.term-TT7PNX6G.js.map} +0 -0
  888. /package/dist/{regression.inputs.values.table-D3ZXZSH7.js.map → regression.inputs.values.table-SHFUNKCS.js.map} +0 -0
  889. /package/dist/{regression.integration.spec-P2BBTT2O.js.map → regression.integration.spec-QKHMJTHA.js.map} +0 -0
  890. /package/dist/{regression.results-JX6RJQQP.js.map → regression.results-D4WX6VIV.js.map} +0 -0
  891. /package/dist/{regression.spec-ROME7T33.js.map → regression.spec-7SW55L7X.js.map} +0 -0
  892. /package/dist/{report-B6MM4T6B.js.map → report-QYOZ4BRF.js.map} +0 -0
  893. /package/dist/{sampleScatter.spec-EPCMC3SR.js.map → sampleScatter.spec-JCHFMGNF.js.map} +0 -0
  894. /package/dist/{sampleView-77EAJ75T.js.map → sampleView-7RPKNAZC.js.map} +0 -0
  895. /package/dist/{samplelst-CX4NQWA7.js.map → samplelst-4WNPHZVG.js.map} +0 -0
  896. /package/dist/{samplematrix-PYQFAH64.js.map → samplematrix-CG52DSXJ.js.map} +0 -0
  897. /package/dist/{sc-X6SI5VVI.js.map → sc-OJSWILSA.js.map} +0 -0
  898. /package/dist/{scatter-ZFFHAI4F.js.map → scatter-LG2RMMEC.js.map} +0 -0
  899. /package/dist/{scatter.integration.spec-NN43OXRN.js.map → scatter.integration.spec-QPANYTKW.js.map} +0 -0
  900. /package/dist/{selectGenomeWithTklst-CZMVTBMD.js.map → selectGenomeWithTklst-QXRVE6N4.js.map} +0 -0
  901. /package/dist/{singleCellCellType-GOBX7JKV.js.map → singleCellCellType-XBSRL33U.js.map} +0 -0
  902. /package/dist/{singleCellCellType.unit.spec-F344QMTQ.js.map → singleCellCellType.unit.spec-YZX4CSXA.js.map} +0 -0
  903. /package/dist/{singleCellGeneExpression-BLMNMEAI.js.map → singleCellGeneExpression-64ECP62X.js.map} +0 -0
  904. /package/dist/{singleCellGeneExpression.unit.spec-6ZEPUFWC.js.map → singleCellGeneExpression.unit.spec-CFHFXMA6.js.map} +0 -0
  905. /package/dist/{singleCellPlot-HLD7PLQH.js.map → singleCellPlot-E5F62JY6.js.map} +0 -0
  906. /package/dist/{singlecell-JQFPINRS.js.map → singlecell-FCY5EOUV.js.map} +0 -0
  907. /package/dist/{singlecell-HL4GLGIA.js.map → singlecell-S7B5V7NK.js.map} +0 -0
  908. /package/dist/{snp-EAUNFDAV.js.map → snp-ACKX4GRX.js.map} +0 -0
  909. /package/dist/{snp.unit.spec-AVLPMAWI.js.map → snp.unit.spec-QBGHKKUD.js.map} +0 -0
  910. /package/dist/{snplocus-2J7OA6OL.js.map → snplocus-7EUOW7J7.js.map} +0 -0
  911. /package/dist/{spliceevent.a53ss.diagram-4DU2U7NW.js.map → spliceevent.a53ss.diagram-ALQZA35Z.js.map} +0 -0
  912. /package/dist/{spliceevent.exonskip.diagram-GG5FGXOK.js.map → spliceevent.exonskip.diagram-UF7WJA5R.js.map} +0 -0
  913. /package/dist/{spliceevent.noeventdiagram-T6RNIMCM.js.map → spliceevent.noeventdiagram-4HPGRNRR.js.map} +0 -0
  914. /package/dist/{ssGSEA-XJWLRVFQ.js.map → ssGSEA-FDRBBBLJ.js.map} +0 -0
  915. /package/dist/{ssGSEA.unit.spec-MQ23ODYO.js.map → ssGSEA.unit.spec-EZEOWJVV.js.map} +0 -0
  916. /package/dist/{summarizeCnvGeneexp-CJPC76RM.js.map → summarizeCnvGeneexp-FTL2MGAJ.js.map} +0 -0
  917. /package/dist/{summarizeGeneexpSurvival-FGCFZTVG.js.map → summarizeGeneexpSurvival-DDIF4UW6.js.map} +0 -0
  918. /package/dist/{summarizeMutationCnv-4E7R2NHQ.js.map → summarizeMutationCnv-L3GL5YDY.js.map} +0 -0
  919. /package/dist/{summarizeMutationDiagnosis-ZVX7AZK7.js.map → summarizeMutationDiagnosis-LALOJTHV.js.map} +0 -0
  920. /package/dist/{summarizeMutationSurvival-EWXD7TCT.js.map → summarizeMutationSurvival-TSNTSOBZ.js.map} +0 -0
  921. /package/dist/{summary-VUYBKQOC.js.map → summary-YRHVS64T.js.map} +0 -0
  922. /package/dist/{summary.integration.spec-EPBV5XCT.js.map → summary.integration.spec-766YQLQA.js.map} +0 -0
  923. /package/dist/{summaryInput-YX5IRGWM.js.map → summaryInput-VQ2X6GSX.js.map} +0 -0
  924. /package/dist/{sunburst-HPDML45I.js.map → sunburst-XFOONS6K.js.map} +0 -0
  925. /package/dist/{survival-E6SRRXBB.js.map → survival-FQXZH2MM.js.map} +0 -0
  926. /package/dist/{survival-XOXDPXZR.js.map → survival-TVA3ZWVP.js.map} +0 -0
  927. /package/dist/{survival.integration.spec-SJBPJZGJ.js.map → survival.integration.spec-WFIOPD6A.js.map} +0 -0
  928. /package/dist/{svgraph-D23WG3UE.js.map → svgraph-4BFBO7EL.js.map} +0 -0
  929. /package/dist/{svmr-UFC4TKWV.js.map → svmr-ML7GAIIA.js.map} +0 -0
  930. /package/dist/{table-US2K6IYZ.js.map → table-SMLMUWPP.js.map} +0 -0
  931. /package/dist/{termCollection-ZMP3VE2G.js.map → termCollection-22CPTISZ.js.map} +0 -0
  932. /package/dist/{termCollection-E7S57CIN.js.map → termCollection-EE6AOIVA.js.map} +0 -0
  933. /package/dist/{termCollection.unit.spec-MDWK6XH3.js.map → termCollection.unit.spec-4DIW3CJ3.js.map} +0 -0
  934. /package/dist/{tk-TLQJK6R4.js.map → tk-ITZCKOQ5.js.map} +0 -0
  935. /package/dist/{tp.ui-NQEAKWUH.js.map → tp.ui-R6HVKCBC.js.map} +0 -0
  936. /package/dist/{tvs.density-HSVPDDGA.js.map → tvs.density-AQ5GD437.js.map} +0 -0
  937. /package/dist/{tvs.dt-U2MINIBH.js.map → tvs.dt-2263TBEJ.js.map} +0 -0
  938. /package/dist/{tvs.dtcnv.categorical-2OOAZJKC.js.map → tvs.dtcnv.categorical-TRRHL33N.js.map} +0 -0
  939. /package/dist/{tvs.dtcnv.continuous-5ETKBJ52.js.map → tvs.dtcnv.continuous-GREYNF52.js.map} +0 -0
  940. /package/dist/{tvs.dtfusion-EB4PPR3Y.js.map → tvs.dtfusion-XOX46L3M.js.map} +0 -0
  941. /package/dist/{tvs.dtsnvindel-IRQPTKQF.js.map → tvs.dtsnvindel-IDMXT53F.js.map} +0 -0
  942. /package/dist/{tvs.dtsv-TOVXZJCR.js.map → tvs.dtsv-ZDWFYH2C.js.map} +0 -0
  943. /package/dist/{tvs.numeric-ICUGA4WY.js.map → tvs.numeric-ZN2R7BH3.js.map} +0 -0
  944. /package/dist/{tvs.samplelst-4SCH543Y.js.map → tvs.samplelst-GAP76HRH.js.map} +0 -0
  945. /package/dist/{tvs.termCollection-GGN5F6HC.js.map → tvs.termCollection-GQ65UKSI.js.map} +0 -0
  946. /package/dist/{violin-7D7DN74I.js.map → violin-JGDL62YA.js.map} +0 -0
  947. /package/dist/{violin.integration.spec-KE76AL54.js.map → violin.integration.spec-W4NN7LBY.js.map} +0 -0
  948. /package/dist/{violin.interactivity-YPJ2H6SQ.js.map → violin.interactivity-H4RP4K5U.js.map} +0 -0
  949. /package/dist/{violin.renderer-UK7WSA2Z.js.map → violin.renderer-QPHLACDC.js.map} +0 -0
  950. /package/dist/{vocabulary-KLWZ6LRP.js.map → vocabulary-7JACY4J2.js.map} +0 -0
@@ -1,3070 +0,0 @@
1
- import {
2
- getSortOptions
3
- } from "./chunk-4FO7KZY2.js";
4
- import {
5
- getRunPp
6
- } from "./chunk-SEIANPCX.js";
7
- import {
8
- detectLst,
9
- sleep
10
- } from "./chunk-BBVOZ5BY.js";
11
- import {
12
- termjson
13
- } from "./chunk-HUA2EFQO.js";
14
- import {
15
- require_tape
16
- } from "./chunk-QWOE5YTB.js";
17
- import "./chunk-L2ED35QZ.js";
18
- import "./chunk-PVSRVJBE.js";
19
- import "./chunk-WZRXJ5LL.js";
20
- import "./chunk-KLFROH3F.js";
21
- import "./chunk-PRZWSBMA.js";
22
- import "./chunk-JWX7GYHP.js";
23
- import "./chunk-MKAF2BHB.js";
24
- import "./chunk-J6XKDYNZ.js";
25
- import "./chunk-NI7VSKJI.js";
26
- import "./chunk-AQ4OP4GR.js";
27
- import "./chunk-XZZLEHWC.js";
28
- import "./chunk-HJ6L54YS.js";
29
- import "./chunk-CJJ6LDZM.js";
30
- import "./chunk-2SRMRC6L.js";
31
- import "./chunk-QEHUEG4X.js";
32
- import "./chunk-XDI4UFCZ.js";
33
- import "./chunk-FN5XPUPH.js";
34
- import "./chunk-LSEFWW72.js";
35
- import "./chunk-5EF5U7MX.js";
36
- import "./chunk-2K5DSRBJ.js";
37
- import "./chunk-UCLS2SVB.js";
38
- import "./chunk-MVTCBVSX.js";
39
- import "./chunk-SEQLC4AD.js";
40
- import "./chunk-L4QG7XZE.js";
41
- import "./chunk-DQC5FFGV.js";
42
- import "./chunk-2TIYJ3PH.js";
43
- import "./chunk-RIGZHHCP.js";
44
- import "./chunk-AAEXTQT3.js";
45
- import "./chunk-2UWHV2SB.js";
46
- import {
47
- CNVClasses,
48
- mutationClasses,
49
- proteinChangingMutations,
50
- synonymousMutations,
51
- truncatingMutations
52
- } from "./chunk-ZLH4PJKX.js";
53
- import "./chunk-TV74I3Y5.js";
54
- import "./chunk-IH7ILDJS.js";
55
- import "./chunk-LOZEKOES.js";
56
- import "./chunk-TOU7EVFQ.js";
57
- import "./chunk-OAWQ6LOO.js";
58
- import "./chunk-SEEYV6P2.js";
59
- import "./chunk-NDWTN4U5.js";
60
- import "./chunk-OMR2DT66.js";
61
- import {
62
- __toESM
63
- } from "./chunk-HFNDKYVF.js";
64
-
65
- // plots/matrix/test/matrix.integration.spec.js
66
- var import_tape = __toESM(require_tape(), 1);
67
- (0, import_tape.default)("\n", function(test) {
68
- test.comment("-***- plots/matrix -***-");
69
- test.end();
70
- });
71
- (0, import_tape.default)("only dictionary terms", function(test) {
72
- test.timeoutAfter(5e3);
73
- test.plan(5);
74
- runpp({
75
- state: {
76
- plots: [
77
- {
78
- chartType: "matrix",
79
- settings: {
80
- matrix: {
81
- // the matrix autocomputes the colw based on available screen width,
82
- // need to set an exact screen width for consistent tests using getBBox()
83
- availContentWidth: 1200
84
- }
85
- },
86
- termgroups: [
87
- {
88
- name: "Demographics",
89
- lst: [
90
- {
91
- id: "aaclassic_5",
92
- q: {
93
- mode: "continuous"
94
- }
95
- },
96
- {
97
- id: "sex"
98
- //q: { mode: 'values' } // or 'groupsetting'
99
- },
100
- {
101
- id: "agedx",
102
- q: {
103
- mode: "discrete",
104
- type: "regular-bin",
105
- bin_size: 5,
106
- first_bin: {
107
- startunbounded: true,
108
- stop: 5,
109
- stopinclusive: true
110
- }
111
- }
112
- // or 'continuous'
113
- },
114
- {
115
- id: "Arrhythmias"
116
- }
117
- ]
118
- }
119
- ]
120
- }
121
- ]
122
- },
123
- matrix: {
124
- callbacks: {
125
- "postRender.test": runTests
126
- }
127
- }
128
- });
129
- function runTests(matrix) {
130
- matrix.on("postRender.test", null);
131
- test.equal(
132
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
133
- 4,
134
- `should render the expected number of serieses`
135
- );
136
- test.equal(
137
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
138
- 240,
139
- `should render the expected number of cell rects`
140
- );
141
- test.equal(
142
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
143
- 1,
144
- `should render the expected number of cluster rects`
145
- );
146
- const sg0rects = matrix.Inner.dom.seriesesG.select(".sjpp-mass-series-g").selectAll("rect");
147
- test.equal(
148
- sg0rects.filter((d) => d.key <= 0 && d.fill === "transparent").size(),
149
- 14,
150
- `should render special values with transparent rects`
151
- );
152
- const uniqueHts = /* @__PURE__ */ new Set();
153
- sg0rects.each((d) => uniqueHts.add(d.height));
154
- test.equal(uniqueHts.size, 45, `should render different rect heights for continuous mode bar plots`);
155
- if (test._ok) matrix.Inner.app.destroy();
156
- test.end();
157
- }
158
- });
159
- (0, import_tape.default)("termCollection", function(test) {
160
- runpp({
161
- state: {
162
- plots: [
163
- {
164
- chartType: "matrix",
165
- termgroups: [
166
- {
167
- name: "",
168
- lst: [getTermCollection()]
169
- }
170
- ]
171
- }
172
- ]
173
- },
174
- matrix: { callbacks: { "postRender.test": runTests } }
175
- });
176
- function runTests(matrix) {
177
- matrix.on("postRender.test", null);
178
- test.equal(
179
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
180
- 1,
181
- `should render the expected number of serieses`
182
- );
183
- if (test._ok) matrix.Inner.app.destroy();
184
- test.end();
185
- }
186
- });
187
- (0, import_tape.default)("with divide by terms", function(test) {
188
- test.timeoutAfter(5e3);
189
- test.plan(3);
190
- runpp({
191
- state: {
192
- plots: [
193
- {
194
- chartType: "matrix",
195
- settings: {
196
- // the matrix autocomputes the colw based on available screen width,
197
- // need to set an exact screen width for consistent tests using getBBox()
198
- matrix: {
199
- availContentWidth: 1200
200
- }
201
- },
202
- divideBy: {
203
- id: "sex"
204
- },
205
- termgroups: [
206
- {
207
- name: "Demographics",
208
- lst: [
209
- { id: "agedx", term: termjson["agedx"] },
210
- { id: "diaggrp", term: termjson["diaggrp"] },
211
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
212
- ]
213
- }
214
- ]
215
- }
216
- ]
217
- },
218
- matrix: {
219
- callbacks: {
220
- "postRender.test": runTests
221
- }
222
- }
223
- });
224
- function runTests(matrix) {
225
- matrix.on("postRender.test", null);
226
- test.equal(
227
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
228
- 3,
229
- `should render the expected number of serieses`
230
- );
231
- test.equal(
232
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
233
- 180,
234
- `should render the expected number of cell rects`
235
- );
236
- test.equal(
237
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
238
- 2,
239
- `should render the expected number of cluster rects`
240
- );
241
- if (test._ok) matrix.Inner.app.destroy();
242
- test.end();
243
- }
244
- });
245
- (0, import_tape.default)("long column group labels", function(test) {
246
- test.timeoutAfter(5e3);
247
- test.plan(2);
248
- runpp({
249
- state: {
250
- plots: [
251
- {
252
- chartType: "matrix",
253
- settings: {
254
- // the matrix autocomputes the colw based on available screen width,
255
- // need to set an exact screen width for consistent tests using getBBox()
256
- matrix: {
257
- availContentWidth: 1200
258
- }
259
- },
260
- divideBy: {
261
- id: "diaggrp"
262
- },
263
- termgroups: [
264
- {
265
- name: "Demographics",
266
- lst: [
267
- { id: "diaggrp", term: termjson["diaggrp"] },
268
- { id: "agedx", term: termjson["agedx"] },
269
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
270
- ]
271
- }
272
- ]
273
- }
274
- ]
275
- },
276
- matrix: {
277
- callbacks: {
278
- "postRender.test222": runTests
279
- }
280
- }
281
- });
282
- function runTests(matrix) {
283
- matrix.on("postRender.test222", null);
284
- const y = matrix.Inner.dom.clipRect.property("y").baseVal.value;
285
- test.true(y > -63 && y < -62, `should adjust the clip-path rect y-value to between -39 and -38, actual=${y}`);
286
- const h = matrix.Inner.dom.clipRect.property("height").baseVal.value;
287
- test.true(h > 619 && h <= 620, `should adjust the clip-path height to between 595 and 596, actual=${h}`);
288
- if (test._ok) matrix.Inner.app.destroy();
289
- test.end();
290
- }
291
- });
292
- (0, import_tape.default)("divide by continuous terms", function(test) {
293
- test.timeoutAfter(5e3);
294
- test.plan(3);
295
- runpp({
296
- state: {
297
- plots: [
298
- {
299
- chartType: "matrix",
300
- settings: {
301
- // the matrix autocomputes the colw based on available screen width,
302
- // need to set an exact screen width for consistent tests using getBBox()
303
- matrix: {
304
- availContentWidth: 1200
305
- }
306
- },
307
- divideBy: {
308
- id: "agedx"
309
- },
310
- termgroups: [
311
- {
312
- name: "Demographics",
313
- lst: [
314
- { id: "sex", term: termjson["sex"] },
315
- { id: "diaggrp", term: termjson["diaggrp"] },
316
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
317
- ]
318
- }
319
- ]
320
- }
321
- ]
322
- },
323
- matrix: {
324
- callbacks: {
325
- "postRender.test": runTests
326
- }
327
- }
328
- });
329
- function runTests(matrix) {
330
- matrix.on("postRender.test", null);
331
- test.equal(
332
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
333
- 3,
334
- `should render the expected number of serieses`
335
- );
336
- test.equal(
337
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
338
- 180,
339
- `should render the expected number of cell rects`
340
- );
341
- test.equal(
342
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
343
- 5,
344
- `should render the expected number of cluster rects`
345
- );
346
- if (test._ok) matrix.Inner.app.destroy();
347
- test.end();
348
- }
349
- });
350
- (0, import_tape.default)("geneVariant term", function(test) {
351
- test.timeoutAfter(5e3);
352
- test.plan(2);
353
- runpp({
354
- state: {
355
- nav: {
356
- activeTab: 1
357
- },
358
- plots: [
359
- {
360
- chartType: "matrix",
361
- settings: {
362
- // the matrix autocomputes the colw based on available screen width,
363
- // need to set an exact screen width for consistent tests using getBBox()
364
- matrix: {
365
- availContentWidth: 1200
366
- }
367
- },
368
- termgroups: [
369
- {
370
- name: "",
371
- lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
372
- }
373
- ]
374
- }
375
- ]
376
- },
377
- matrix: {
378
- callbacks: {
379
- "postRender.test": runTests
380
- }
381
- }
382
- });
383
- function runTests(matrix) {
384
- matrix.on("postRender.test", null);
385
- test.equal(
386
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
387
- 1,
388
- `should render the expected number of serieses`
389
- );
390
- test.equal(
391
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
392
- 240,
393
- `should render the expected number of cell rects`
394
- );
395
- if (test._ok) matrix.Inner.app.destroy();
396
- test.end();
397
- }
398
- });
399
- (0, import_tape.default)("geneVariant terms and dictionary terms", function(test) {
400
- test.timeoutAfter(5e3);
401
- test.plan(3);
402
- runpp({
403
- state: {
404
- nav: {
405
- activeTab: 1
406
- },
407
- plots: [
408
- {
409
- chartType: "matrix",
410
- settings: {
411
- // the matrix autocomputes the colw based on available screen width,
412
- // need to set an exact screen width for consistent tests using getBBox()
413
- matrix: {
414
- availContentWidth: 1200
415
- }
416
- },
417
- termgroups: [
418
- {
419
- name: "",
420
- lst: [
421
- ...getGenes(),
422
- { id: "agedx", term: termjson["agedx"] },
423
- { id: "diaggrp", term: termjson["diaggrp"] },
424
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
425
- ]
426
- }
427
- ]
428
- }
429
- ]
430
- },
431
- matrix: {
432
- callbacks: {
433
- "postRender.test": runTests
434
- }
435
- }
436
- });
437
- function runTests(matrix) {
438
- matrix.on("postRender.test", null);
439
- test.equal(
440
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
441
- 6,
442
- `should render the expected number of serieses`
443
- );
444
- test.equal(
445
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
446
- 900,
447
- `should render the expected number of cell rects`
448
- );
449
- test.equal(
450
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
451
- 1,
452
- `should render the expected number of cluster rects`
453
- );
454
- if (test._ok) matrix.Inner.app.destroy();
455
- test.end();
456
- }
457
- });
458
- (0, import_tape.default)("geneVariant terms with divide by dictionary term", function(test) {
459
- test.timeoutAfter(5e3);
460
- test.plan(3);
461
- runpp({
462
- state: {
463
- nav: {
464
- activeTab: 1
465
- },
466
- plots: [
467
- {
468
- chartType: "matrix",
469
- settings: {
470
- // the matrix autocomputes the colw based on available screen width,
471
- // need to set an exact screen width for consistent tests using getBBox()
472
- matrix: {
473
- availContentWidth: 1200
474
- }
475
- },
476
- divideBy: {
477
- id: "sex"
478
- },
479
- termgroups: [
480
- {
481
- name: "",
482
- lst: getGenes()
483
- }
484
- ]
485
- }
486
- ]
487
- },
488
- matrix: {
489
- callbacks: {
490
- "postRender.test": runTests
491
- }
492
- }
493
- });
494
- function runTests(matrix) {
495
- matrix.on("postRender.test", null);
496
- test.equal(
497
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
498
- 3,
499
- `should render the expected number of serieses`
500
- );
501
- test.equal(
502
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
503
- 720,
504
- `should render the expected number of cell rects`
505
- );
506
- test.equal(
507
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
508
- 2,
509
- `should render the expected number of cluster rects`
510
- );
511
- if (test._ok) matrix.Inner.app.destroy();
512
- test.end();
513
- }
514
- });
515
- (0, import_tape.default)("geneVariant terms and dictionary terms divide by dictionary term", function(test) {
516
- test.timeoutAfter(5e3);
517
- test.plan(3);
518
- runpp({
519
- state: {
520
- nav: {
521
- activeTab: 1
522
- },
523
- plots: [
524
- {
525
- chartType: "matrix",
526
- settings: {
527
- // the matrix autocomputes the colw based on available screen width,
528
- // need to set an exact screen width for consistent tests using getBBox()
529
- matrix: {
530
- availContentWidth: 1200
531
- }
532
- },
533
- divideBy: {
534
- id: "sex"
535
- },
536
- termgroups: [
537
- {
538
- name: "",
539
- lst: [
540
- ...getGenes(),
541
- { id: "agedx", term: termjson["agedx"] },
542
- { id: "diaggrp", term: termjson["diaggrp"] },
543
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
544
- ]
545
- }
546
- ]
547
- }
548
- ]
549
- },
550
- matrix: {
551
- callbacks: {
552
- "postRender.test": runTests
553
- }
554
- }
555
- });
556
- function runTests(matrix) {
557
- matrix.on("postRender.test", null);
558
- test.equal(
559
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
560
- 6,
561
- `should render the expected number of serieses`
562
- );
563
- test.equal(
564
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
565
- 900,
566
- `should render the expected number of cell rects`
567
- );
568
- test.equal(
569
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
570
- 2,
571
- `should render the expected number of cluster rects`
572
- );
573
- if (test._ok) matrix.Inner.app.destroy();
574
- test.end();
575
- }
576
- });
577
- (0, import_tape.default)("sort samples by sample name", function(test) {
578
- test.timeoutAfter(5e3);
579
- test.plan(4);
580
- runpp({
581
- state: {
582
- nav: {
583
- activeTab: 1
584
- },
585
- plots: [
586
- {
587
- chartType: "matrix",
588
- settings: {
589
- // the matrix autocomputes the colw based on available screen width,
590
- // need to set an exact screen width for consistent tests using getBBox()
591
- matrix: {
592
- availContentWidth: 1200,
593
- sortSamplesBy: "name"
594
- }
595
- },
596
- termgroups: [
597
- {
598
- name: "",
599
- lst: getGenes()
600
- }
601
- ]
602
- }
603
- ]
604
- },
605
- matrix: {
606
- callbacks: {
607
- "postRender.test": runTests
608
- }
609
- }
610
- });
611
- function runTests(matrix) {
612
- matrix.on("postRender.test", null);
613
- const g = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g");
614
- test.equal(g.size(), 60, `should render the expected number of sample names`);
615
- test.equal(g._groups[0][0].textContent, "2646", `should be the expected sample name`);
616
- test.equal(g._groups[0][9].textContent, "2772", `should be the expected sample name`);
617
- test.equal(g._groups[0][59].textContent, "3472", `should be the expected sample name`);
618
- if (test._ok) matrix.Inner.app.destroy();
619
- test.end();
620
- }
621
- });
622
- (0, import_tape.default)("sort samples by Mutation categories, not sorted by CNV", function(test) {
623
- test.timeoutAfter(5e3);
624
- test.plan(4);
625
- runpp({
626
- state: {
627
- nav: {
628
- activeTab: 1
629
- },
630
- plots: [
631
- {
632
- chartType: "matrix",
633
- settings: {
634
- // the matrix autocomputes the colw based on available screen width,
635
- // need to set an exact screen width for consistent tests using getBBox()
636
- matrix: {
637
- availContentWidth: 1200,
638
- sortSamplesBy: "a"
639
- }
640
- },
641
- termgroups: [
642
- {
643
- name: "Demographics",
644
- lst: getGenes()
645
- }
646
- ]
647
- }
648
- ]
649
- },
650
- matrix: {
651
- callbacks: {
652
- "postRender.test": runTests
653
- }
654
- }
655
- });
656
- function runTests(matrix) {
657
- matrix.on("postRender.test", null);
658
- test.equal(
659
- matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
660
- 60,
661
- `should render the expected number of sample names`
662
- );
663
- const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
664
- const index_3346 = Array.from(rects).find((rect) => rect.textContent == "3346").__data__.index;
665
- test.true(index_3346 < 10, `sample 3346 should be in the expected order (not sorted by CNV)`);
666
- const index_2660 = Array.from(rects).find((rect) => rect.textContent == "2660").__data__.index;
667
- test.equal(index_2660, 8, `sample 2660 should be in the expected order (not sorted by CNV)`);
668
- const index_3472 = Array.from(rects).find((rect) => rect.textContent == "3472").__data__.index;
669
- test.true(index_3472 > 9, `sample 3472 should be in the expected order (not sorted by CNV)`);
670
- if (test._ok) matrix.Inner.app.destroy();
671
- test.end();
672
- }
673
- });
674
- (0, import_tape.default)("sort samples by CNV+SSM > SSM-only", function(test) {
675
- test.timeoutAfter(5e3);
676
- test.plan(5);
677
- const sortOptions = getSortOptions(
678
- void 0,
679
- {},
680
- {
681
- proteinChangingMutations,
682
- truncatingMutations,
683
- synonymousMutations,
684
- mutationClasses,
685
- CNVClasses
686
- }
687
- );
688
- const cnvtb = sortOptions.a.sortPriority[0].tiebreakers[2];
689
- cnvtb.disabled = false;
690
- runpp({
691
- state: {
692
- nav: {
693
- activeTab: 1
694
- },
695
- plots: [
696
- {
697
- chartType: "matrix",
698
- legendValueFilter: {
699
- type: "tvslst",
700
- lst: []
701
- },
702
- settings: {
703
- // the matrix autocomputes the colw based on available screen width,
704
- // need to set an exact screen width for consistent tests using getBBox()
705
- matrix: {
706
- availContentWidth: 1200,
707
- sortSamplesBy: "a",
708
- sortOptions
709
- }
710
- },
711
- termgroups: [
712
- {
713
- name: "",
714
- lst: getGenes()
715
- }
716
- ]
717
- }
718
- ]
719
- },
720
- matrix: {
721
- callbacks: {
722
- "postRender.test": runTests
723
- }
724
- }
725
- });
726
- function runTests(matrix) {
727
- matrix.on("postRender.test", null);
728
- test.equal(
729
- matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
730
- 60,
731
- `should render the expected number of sample names`
732
- );
733
- const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
734
- const r = Array.from(rects);
735
- const index_3416 = r.find((rect) => rect.textContent == "3416").__data__.index;
736
- test.equal(index_3416, 0, `should be in the expected order`);
737
- const index_3346 = r.find((rect) => rect.textContent == "3346").__data__.index;
738
- test.equal(index_3346, 9, `should be in the expected order`);
739
- const index_2660 = r.find((rect) => rect.textContent == "2660").__data__.index;
740
- test.equal(index_2660, 11, `should be in the expected order`);
741
- const index_3472 = r.find((rect) => rect.textContent == "3472").__data__.index;
742
- test.equal(index_3472, r.length - 1, `should be in the expected order`);
743
- if (test._ok) matrix.Inner.app.destroy();
744
- test.end();
745
- }
746
- });
747
- (0, import_tape.default)("set max number of samples", function(test) {
748
- test.timeoutAfter(5e3);
749
- test.plan(1);
750
- runpp({
751
- state: {
752
- nav: {
753
- activeTab: 1
754
- },
755
- plots: [
756
- {
757
- chartType: "matrix",
758
- settings: {
759
- matrix: {
760
- // the matrix autocomputes the colw based on available screen width,
761
- // need to set an exact screen width for consistent tests using getBBox()
762
- availContentWidth: 1200,
763
- maxSample: 10
764
- }
765
- },
766
- termgroups: [
767
- {
768
- name: "",
769
- lst: [
770
- {
771
- id: "sex"
772
- //q: { mode: 'values' } // or 'groupsetting'
773
- }
774
- ]
775
- }
776
- ]
777
- }
778
- ]
779
- },
780
- matrix: {
781
- callbacks: {
782
- "postRender.test": runTests
783
- }
784
- }
785
- });
786
- function runTests(matrix) {
787
- matrix.on("postRender.test", null);
788
- test.equal(
789
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
790
- 10,
791
- `should render the expected number of cell rects`
792
- );
793
- if (test._ok) matrix.Inner.app.destroy();
794
- test.end();
795
- }
796
- });
797
- (0, import_tape.default)("sort sample groups by Group Name", function(test) {
798
- test.timeoutAfter(5e3);
799
- test.plan(2);
800
- runpp({
801
- state: {
802
- nav: {
803
- activeTab: 1
804
- },
805
- plots: [
806
- {
807
- chartType: "matrix",
808
- settings: {
809
- // the matrix autocomputes the colw based on available screen width,
810
- // need to set an exact screen width for consistent tests using getBBox()
811
- matrix: {
812
- availContentWidth: 1200,
813
- sortSampleGrpsBy: "name"
814
- }
815
- },
816
- divideBy: {
817
- id: "genetic_race"
818
- },
819
- termgroups: [
820
- {
821
- name: "",
822
- lst: getGenes()
823
- }
824
- ]
825
- }
826
- ]
827
- },
828
- matrix: {
829
- callbacks: {
830
- "postRender.test": runTests
831
- }
832
- }
833
- });
834
- function runTests(matrix) {
835
- matrix.on("postRender.test", null);
836
- const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
837
- ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
838
- )._groups[0];
839
- test.true(matrixGroupLabels[0].textContent.startsWith("African Ancestry"), `should be the expected group name`);
840
- test.true(matrixGroupLabels[2].textContent.startsWith("European Ancestry"), `should be the expected group name`);
841
- if (test._ok) matrix.Inner.app.destroy();
842
- test.end();
843
- }
844
- });
845
- (0, import_tape.default)("sort sample groups by Sample Count", function(test) {
846
- test.timeoutAfter(5e3);
847
- test.plan(2);
848
- runpp({
849
- state: {
850
- nav: {
851
- activeTab: 1
852
- },
853
- plots: [
854
- {
855
- chartType: "matrix",
856
- settings: {
857
- // the matrix autocomputes the colw based on available screen width,
858
- // need to set an exact screen width for consistent tests using getBBox()
859
- matrix: {
860
- availContentWidth: 1200,
861
- sortSampleGrpsBy: "sampleCount"
862
- }
863
- },
864
- divideBy: {
865
- id: "genetic_race"
866
- },
867
- termgroups: [
868
- {
869
- name: "",
870
- lst: getGenes()
871
- }
872
- ]
873
- }
874
- ]
875
- },
876
- matrix: {
877
- callbacks: {
878
- "postRender.test": runTests
879
- }
880
- }
881
- });
882
- function runTests(matrix) {
883
- matrix.on("postRender.test", null);
884
- const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
885
- ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
886
- )._groups[0];
887
- test.true(matrixGroupLabels[0].textContent.startsWith("European Ancestry"), `should be the expected group name`);
888
- test.true(matrixGroupLabels[2].textContent.startsWith("Asian Ancestry"), `should be the expected group name`);
889
- if (test._ok) matrix.Inner.app.destroy();
890
- test.end();
891
- }
892
- });
893
- (0, import_tape.default)("sort sample groups by Hits", function(test) {
894
- test.timeoutAfter(5e3);
895
- test.plan(2);
896
- runpp({
897
- state: {
898
- nav: {
899
- activeTab: 1
900
- },
901
- plots: [
902
- {
903
- chartType: "matrix",
904
- settings: {
905
- // the matrix autocomputes the colw based on available screen width,
906
- // need to set an exact screen width for consistent tests using getBBox()
907
- matrix: {
908
- availContentWidth: 1200,
909
- sortSampleGrpsBy: "hits"
910
- }
911
- },
912
- divideBy: {
913
- id: "Hearing loss"
914
- },
915
- termgroups: [
916
- {
917
- name: "",
918
- lst: getGenes()
919
- }
920
- ]
921
- }
922
- ]
923
- },
924
- matrix: {
925
- callbacks: {
926
- "postRender.test": runTests
927
- }
928
- }
929
- });
930
- function runTests(matrix) {
931
- matrix.on("postRender.test", null);
932
- const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
933
- ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
934
- )._groups[0];
935
- test.true(matrixGroupLabels[0].textContent.startsWith("3: Severe"), `should be the expected group name`);
936
- test.true(matrixGroupLabels[4].textContent.startsWith("1: Mild"), `should be the expected group name`);
937
- if (test._ok) matrix.Inner.app.destroy();
938
- test.end();
939
- }
940
- });
941
- (0, import_tape.default)("sort sample groups by Hits 2", function(test) {
942
- test.timeoutAfter(5e3);
943
- test.plan(2);
944
- runpp({
945
- state: {
946
- plots: [
947
- {
948
- id: "xyz",
949
- chartType: "matrix",
950
- settings: {
951
- // the matrix autocomputes the colw based on available screen width,
952
- // need to set an exact screen width for consistent tests using getBBox()
953
- matrix: {
954
- availContentWidth: 1200,
955
- sortSampleGrpsBy: "hits"
956
- }
957
- },
958
- divideBy: {
959
- id: "agedx"
960
- },
961
- termgroups: [
962
- {
963
- name: "",
964
- lst: getGenes()
965
- }
966
- ]
967
- }
968
- ]
969
- },
970
- matrix: {
971
- callbacks: {
972
- postRender: runTests
973
- }
974
- }
975
- });
976
- function runTests(matrix) {
977
- matrix.on("postRender", null);
978
- const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
979
- ".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
980
- )._groups[0];
981
- test.true(matrixGroupLabels[0].textContent.startsWith("10 to <15"), `should have the expected left-most group name`);
982
- test.true(matrixGroupLabels[4].textContent.startsWith("\u226520"), `should have the right-most expected group name`);
983
- if (test._ok) matrix.Inner.app.destroy();
984
- test.end();
985
- }
986
- });
987
- (0, import_tape.default)("Display Sample Counts for Gene: Absolute", function(test) {
988
- test.timeoutAfter(5e3);
989
- test.plan(2);
990
- runpp({
991
- state: {
992
- plots: [
993
- {
994
- chartType: "matrix",
995
- settings: {
996
- // the matrix autocomputes the colw based on available screen width,
997
- // need to set an exact screen width for consistent tests using getBBox()
998
- matrix: {
999
- availContentWidth: 1200,
1000
- samplecount4gene: "abs"
1001
- }
1002
- },
1003
- termgroups: [
1004
- {
1005
- name: "",
1006
- lst: getGenes()
1007
- }
1008
- ]
1009
- }
1010
- ]
1011
- },
1012
- matrix: {
1013
- callbacks: {
1014
- "postRender.test": runTests
1015
- }
1016
- }
1017
- });
1018
- function runTests(matrix) {
1019
- matrix.on("postRender.test", null);
1020
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1021
- const pattern = /\(\d+\)/;
1022
- test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by absolute number`);
1023
- test.true(
1024
- pattern.test(termLabels[termLabels.length - 1].textContent),
1025
- `should display sample counts for gene by absolute number`
1026
- );
1027
- if (test._ok) matrix.Inner.app.destroy();
1028
- test.end();
1029
- }
1030
- });
1031
- (0, import_tape.default)("Display Sample Counts for Gene: Percent", function(test) {
1032
- test.timeoutAfter(5e3);
1033
- test.plan(2);
1034
- runpp({
1035
- state: {
1036
- plots: [
1037
- {
1038
- chartType: "matrix",
1039
- settings: {
1040
- // the matrix autocomputes the colw based on available screen width,
1041
- // need to set an exact screen width for consistent tests using getBBox()
1042
- matrix: {
1043
- availContentWidth: 1200,
1044
- samplecount4gene: "pct"
1045
- }
1046
- },
1047
- termgroups: [
1048
- {
1049
- name: "",
1050
- lst: getGenes()
1051
- }
1052
- ]
1053
- }
1054
- ]
1055
- },
1056
- matrix: {
1057
- callbacks: {
1058
- "postRender.test": runTests
1059
- }
1060
- }
1061
- });
1062
- function runTests(matrix) {
1063
- matrix.on("postRender.test", null);
1064
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1065
- const pattern = /\(\d+(\.\d+)? ?%\)/;
1066
- test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by percentage`);
1067
- test.true(
1068
- pattern.test(termLabels[termLabels.length - 1].textContent),
1069
- `should display sample counts for gene by percentage`
1070
- );
1071
- if (test._ok) matrix.Inner.app.destroy();
1072
- test.end();
1073
- }
1074
- });
1075
- (0, import_tape.default)("Display Sample Counts for Gene: None", function(test) {
1076
- test.timeoutAfter(5e3);
1077
- test.plan(2);
1078
- runpp({
1079
- state: {
1080
- plots: [
1081
- {
1082
- chartType: "matrix",
1083
- settings: {
1084
- // the matrix autocomputes the colw based on available screen width,
1085
- // need to set an exact screen width for consistent tests using getBBox()
1086
- matrix: {
1087
- availContentWidth: 1200,
1088
- samplecount4gene: ""
1089
- }
1090
- },
1091
- termgroups: [
1092
- {
1093
- name: "",
1094
- lst: getGenes()
1095
- }
1096
- ]
1097
- }
1098
- ]
1099
- },
1100
- matrix: {
1101
- callbacks: {
1102
- "postRender.test": runTests
1103
- }
1104
- }
1105
- });
1106
- function runTests(matrix) {
1107
- matrix.on("postRender.test", null);
1108
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1109
- const pattern = /\(\d+(\.\d+)?%\)|\(\d+\)/g;
1110
- test.true(!pattern.test(termLabels[0].textContent), `should not display sample counts for gene`);
1111
- test.true(!pattern.test(termLabels[termLabels.length - 1].textContent), `should not display sample counts for gene`);
1112
- if (test._ok) matrix.Inner.app.destroy();
1113
- test.end();
1114
- }
1115
- });
1116
- (0, import_tape.default)("Sort Genes By Sample Count", function(test) {
1117
- test.timeoutAfter(5e3);
1118
- test.plan(2);
1119
- runpp({
1120
- state: {
1121
- plots: [
1122
- {
1123
- chartType: "matrix",
1124
- settings: {
1125
- // the matrix autocomputes the colw based on available screen width,
1126
- // need to set an exact screen width for consistent tests using getBBox()
1127
- matrix: {
1128
- availContentWidth: 1200,
1129
- sortTermsBy: "sampleCount"
1130
- }
1131
- },
1132
- termgroups: [
1133
- {
1134
- name: "",
1135
- lst: getGenes()
1136
- }
1137
- ]
1138
- }
1139
- ]
1140
- },
1141
- matrix: {
1142
- callbacks: {
1143
- "postRender.test": runTests
1144
- }
1145
- }
1146
- });
1147
- function runTests(matrix) {
1148
- matrix.on("postRender.test", null);
1149
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1150
- test.true(termLabels[0].textContent.startsWith("AKT1"), `should sort genes by sample count`);
1151
- test.true(termLabels[2].textContent.startsWith("KRAS"), `should sort genes by sample count`);
1152
- if (test._ok) matrix.Inner.app.destroy();
1153
- test.end();
1154
- }
1155
- });
1156
- (0, import_tape.default)("Sort Genes By Input Data Order", function(test) {
1157
- test.timeoutAfter(5e3);
1158
- test.plan(2);
1159
- runpp({
1160
- state: {
1161
- plots: [
1162
- {
1163
- chartType: "matrix",
1164
- settings: {
1165
- // the matrix autocomputes the colw based on available screen width,
1166
- // need to set an exact screen width for consistent tests using getBBox()
1167
- matrix: {
1168
- availContentWidth: 1200,
1169
- sortTermsBy: "asListed"
1170
- }
1171
- },
1172
- termgroups: [
1173
- {
1174
- name: "",
1175
- lst: getGenes()
1176
- }
1177
- ]
1178
- }
1179
- ]
1180
- },
1181
- matrix: {
1182
- callbacks: {
1183
- "postRender.test": runTests
1184
- }
1185
- }
1186
- });
1187
- function runTests(matrix) {
1188
- matrix.on("postRender.test", null);
1189
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
1190
- test.true(termLabels[0].textContent.startsWith("TP53"), `should sort genes by input data order`);
1191
- test.true(termLabels[2].textContent.startsWith("AKT1"), `should sort genes by input data order`);
1192
- if (test._ok) matrix.Inner.app.destroy();
1193
- test.end();
1194
- }
1195
- });
1196
- (0, import_tape.default)("avoid race condition - plot edit", function(test) {
1197
- test.timeoutAfter(1500);
1198
- test.plan(4);
1199
- runpp({
1200
- state: {
1201
- plots: [
1202
- {
1203
- chartType: "matrix",
1204
- settings: {
1205
- // the matrix autocomputes the colw based on available screen width,
1206
- // need to set an exact screen width for consistent tests using getBBox()
1207
- matrix: {
1208
- availContentWidth: 1200,
1209
- sortTermsBy: "asListed"
1210
- }
1211
- },
1212
- termgroups: [
1213
- {
1214
- name: "",
1215
- lst: getGenes()
1216
- }
1217
- ]
1218
- }
1219
- ]
1220
- },
1221
- matrix: {
1222
- callbacks: {
1223
- "postRender.test": runTests
1224
- }
1225
- }
1226
- });
1227
- async function runTests(matrix) {
1228
- matrix.on("postRender.test", null);
1229
- matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1230
- matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1231
- const j = i;
1232
- i = 0;
1233
- const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1234
- await sleep(j);
1235
- return data;
1236
- };
1237
- matrix.on("postRender.test", async () => {
1238
- matrix.on("postRender.test", null);
1239
- await sleep(responseDelay + 300);
1240
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1241
- test.equal(termLabels.size(), 1, `should have 1 gene row`);
1242
- test.true(termLabels._groups?.[0][0].textContent.startsWith("BCR"), `should sort genes by input data order`);
1243
- const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1244
- const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1245
- test.equal(
1246
- rects.size(),
1247
- 240,
1248
- "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1249
- );
1250
- test.equal(hits.size(), 2, "should have the expected number of matrix cell rects with hits");
1251
- if (test._ok) matrix.Inner.app.destroy();
1252
- test.end();
1253
- });
1254
- const responseDelay = 10;
1255
- let i = responseDelay;
1256
- try {
1257
- const results = await Promise.all([
1258
- matrix.Inner.app.dispatch({
1259
- type: "plot_edit",
1260
- id: matrix.id,
1261
- config: {
1262
- termgroups: [
1263
- {
1264
- name: "",
1265
- lst: [
1266
- // $id is added manually since fillTermWrapper() is not called here and
1267
- // cannot be assumed to be called within store.plot_edit()
1268
- {
1269
- $id: 0,
1270
- term: {
1271
- gene: "KRAS",
1272
- name: "KRAS",
1273
- type: "geneVariant",
1274
- isleaf: true,
1275
- groupsetting: { disabled: false }
1276
- },
1277
- q: { type: "values" }
1278
- },
1279
- {
1280
- $id: 1,
1281
- term: {
1282
- gene: "AKT1",
1283
- name: "AKT1",
1284
- type: "geneVariant",
1285
- isleaf: true,
1286
- groupsetting: { disabled: false }
1287
- },
1288
- q: { type: "values" }
1289
- }
1290
- ]
1291
- }
1292
- ]
1293
- }
1294
- }),
1295
- (async () => {
1296
- await sleep(1);
1297
- matrix.Inner.app.dispatch({
1298
- type: "plot_edit",
1299
- id: matrix.id,
1300
- config: {
1301
- termgroups: [
1302
- {
1303
- name: "",
1304
- // $id is added manually since fillTermWrapper() is not called here and
1305
- // cannot be assumed to be called within store.plot_edit()
1306
- lst: [
1307
- {
1308
- $id: 3,
1309
- term: {
1310
- name: "BCR",
1311
- genes: [
1312
- {
1313
- kind: "gene",
1314
- id: "BCR",
1315
- gene: "BCR",
1316
- name: "BCR",
1317
- type: "geneVariant"
1318
- }
1319
- ],
1320
- type: "geneVariant",
1321
- isleaf: true,
1322
- groupsetting: { disabled: false }
1323
- },
1324
- q: { type: "values" }
1325
- }
1326
- ]
1327
- }
1328
- ]
1329
- }
1330
- });
1331
- })()
1332
- ]);
1333
- } catch (e) {
1334
- test.fail("error: " + e);
1335
- throw e;
1336
- }
1337
- }
1338
- });
1339
- (0, import_tape.default)("avoid race condition - cohort change", function(test) {
1340
- test.timeoutAfter(3e3);
1341
- test.plan(4);
1342
- runpp({
1343
- state: {
1344
- plots: [
1345
- {
1346
- chartType: "matrix",
1347
- settings: {
1348
- // the matrix autocomputes the colw based on available screen width,
1349
- // need to set an exact screen width for consistent tests using getBBox()
1350
- matrix: {
1351
- availContentWidth: 1200,
1352
- sortTermsBy: "asListed"
1353
- }
1354
- },
1355
- termgroups: [
1356
- {
1357
- name: "",
1358
- lst: getGenes()
1359
- }
1360
- ]
1361
- }
1362
- ]
1363
- },
1364
- matrix: {
1365
- callbacks: {
1366
- "postRender.test": runTests
1367
- }
1368
- }
1369
- });
1370
- async function runTests(matrix) {
1371
- matrix.on("postRender.test", null);
1372
- matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
1373
- matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
1374
- const vkeys = opts.filter.lst?.[0].tvs.values.map((v) => v.key);
1375
- const j = responseDelays[i];
1376
- i++;
1377
- await sleep(j);
1378
- const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
1379
- return data;
1380
- };
1381
- matrix.on("postRender.test", async () => {
1382
- matrix.on("postRender.test", null);
1383
- await sleep(responseDelays.reduce((sum, v) => sum + v, 0) + 300);
1384
- const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
1385
- test.equal(termLabels.size(), 3, `should have 3 gene rows`);
1386
- const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
1387
- test.equal(
1388
- rects.size(),
1389
- 1200,
1390
- "should have the expected total number of matrix cell rects, inlcuding WT and not tested"
1391
- );
1392
- const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
1393
- test.equal(hits.size(), 0, "should have the expected number of matrix cell rects with hits");
1394
- test.deepEqual(
1395
- matrix.Inner.app.getState().termfilter.filter.lst?.[0].tvs,
1396
- matrix.Inner.state.filter.lst?.[0].tvs,
1397
- `app.state and matrix.state should have the same cohort filter value`
1398
- );
1399
- if (test._ok) matrix.Inner.app.destroy();
1400
- test.end();
1401
- });
1402
- const responseDelays = [800, 500, 10];
1403
- let i = 0;
1404
- try {
1405
- const results = await Promise.all([
1406
- (async () => {
1407
- await sleep(100);
1408
- matrix.Inner.app.dispatch({
1409
- type: "cohort_set",
1410
- activeCohort: 1
1411
- });
1412
- })(),
1413
- (async () => {
1414
- await sleep(200);
1415
- matrix.Inner.app.dispatch({
1416
- type: "cohort_set",
1417
- activeCohort: 0
1418
- });
1419
- })(),
1420
- (async () => {
1421
- await sleep(300);
1422
- matrix.Inner.app.dispatch({
1423
- type: "cohort_set",
1424
- activeCohort: 2
1425
- });
1426
- })()
1427
- ]);
1428
- } catch (e) {
1429
- test.fail("error: " + e);
1430
- throw e;
1431
- }
1432
- }
1433
- });
1434
- (0, import_tape.default)('apply "hide" legend filters to a dictionary term', function(test) {
1435
- test.timeoutAfter(5e3);
1436
- test.plan(10);
1437
- runpp({
1438
- state: {
1439
- plots: [
1440
- {
1441
- chartType: "matrix",
1442
- settings: {
1443
- matrix: {
1444
- // the matrix autocomputes the colw based on available screen width,
1445
- // need to set an exact screen width for consistent tests using getBBox()
1446
- availContentWidth: 1200
1447
- }
1448
- },
1449
- termgroups: [
1450
- {
1451
- name: "Demographics",
1452
- lst: [
1453
- {
1454
- id: "aaclassic_5",
1455
- q: {
1456
- mode: "continuous"
1457
- }
1458
- },
1459
- {
1460
- id: "genetic_race"
1461
- //q: { mode: 'values' } // or 'groupsetting'
1462
- },
1463
- {
1464
- id: "agedx",
1465
- q: {
1466
- mode: "discrete",
1467
- type: "regular-bin",
1468
- bin_size: 5,
1469
- first_bin: {
1470
- startunbounded: true,
1471
- stop: 5,
1472
- stopinclusive: true
1473
- }
1474
- }
1475
- // or 'continuous'
1476
- }
1477
- ]
1478
- }
1479
- ]
1480
- }
1481
- ]
1482
- },
1483
- matrix: {
1484
- callbacks: {
1485
- "postRender.test": runTests
1486
- }
1487
- }
1488
- });
1489
- async function runTests(matrix) {
1490
- matrix.on("postRender.test", null);
1491
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1492
- (d) => d?.__data__?.text?.startsWith("Asian")
1493
- );
1494
- legendTexts.dispatchEvent(
1495
- new MouseEvent("mouseup", {
1496
- bubbles: true,
1497
- cancelable: true
1498
- })
1499
- );
1500
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1501
- test.equal(options[0].innerText, "Hide", `First option should be Hide`);
1502
- test.equal(options[1].innerText, "Show only", `second option should be Show only`);
1503
- test.equal(options[2].innerText, "Show all", `third option should be Show all`);
1504
- const rects = await detectLst({
1505
- elem: matrix.Inner.dom.seriesesG.node(),
1506
- selector: ".sjpp-mass-series-g rect",
1507
- count: 177,
1508
- trigger: () => {
1509
- options[0].dispatchEvent(
1510
- new MouseEvent("click", {
1511
- bubbles: true,
1512
- cancelable: true
1513
- })
1514
- );
1515
- }
1516
- });
1517
- test.equal(
1518
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1519
- 3,
1520
- `should render the expected number of serieses`
1521
- );
1522
- test.equal(
1523
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1524
- 1,
1525
- `should render the expected number of cluster rects`
1526
- );
1527
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1528
- (d) => d?.__data__?.text?.startsWith("Asian")
1529
- );
1530
- legendTexts2.dispatchEvent(
1531
- new MouseEvent("mouseup", {
1532
- bubbles: true,
1533
- cancelable: true
1534
- })
1535
- );
1536
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1537
- test.equal(options2[0].innerText, "Show", `First option should be Show`);
1538
- test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
1539
- test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
1540
- const rects2 = await detectLst({
1541
- elem: matrix.Inner.dom.seriesesG.node(),
1542
- selector: ".sjpp-mass-series-g rect",
1543
- count: 180,
1544
- trigger: () => {
1545
- options2[0].dispatchEvent(
1546
- new MouseEvent("click", {
1547
- bubbles: true,
1548
- cancelable: true
1549
- })
1550
- );
1551
- }
1552
- });
1553
- test.equal(
1554
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1555
- 3,
1556
- `should render the expected number of serieses`
1557
- );
1558
- test.equal(
1559
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1560
- 1,
1561
- `should render the expected number of cluster rects`
1562
- );
1563
- if (test._ok) matrix.Inner.app.destroy();
1564
- test.end();
1565
- }
1566
- });
1567
- (0, import_tape.default)('apply "show only" and "show all" legend filters to dictionary terms', function(test) {
1568
- test.timeoutAfter(5e3);
1569
- test.plan(14);
1570
- runpp({
1571
- state: {
1572
- plots: [
1573
- {
1574
- chartType: "matrix",
1575
- settings: {
1576
- matrix: {
1577
- // the matrix autocomputes the colw based on available screen width,
1578
- // need to set an exact screen width for consistent tests using getBBox()
1579
- availContentWidth: 1200
1580
- }
1581
- },
1582
- termgroups: [
1583
- {
1584
- name: "Demographics",
1585
- lst: [
1586
- {
1587
- id: "aaclassic_5",
1588
- q: {
1589
- mode: "continuous"
1590
- }
1591
- },
1592
- {
1593
- id: "sex"
1594
- //q: { mode: 'values' } // or 'groupsetting'
1595
- },
1596
- {
1597
- id: "agedx",
1598
- q: {
1599
- mode: "discrete",
1600
- type: "regular-bin",
1601
- bin_size: 5,
1602
- first_bin: {
1603
- startunbounded: true,
1604
- stop: 5,
1605
- stopinclusive: true
1606
- }
1607
- }
1608
- // or 'continuous'
1609
- }
1610
- ]
1611
- }
1612
- ]
1613
- }
1614
- ]
1615
- },
1616
- matrix: {
1617
- callbacks: {
1618
- "postRender.test": runTests
1619
- }
1620
- }
1621
- });
1622
- async function runTests(matrix) {
1623
- matrix.on("postRender.test", null);
1624
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1625
- (d) => d?.__data__?.text?.startsWith("Male")
1626
- );
1627
- legendTexts.dispatchEvent(
1628
- new MouseEvent("mouseup", {
1629
- bubbles: true,
1630
- cancelable: true
1631
- })
1632
- );
1633
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1634
- const rects = await detectLst({
1635
- elem: matrix.Inner.dom.seriesesG.node(),
1636
- selector: ".sjpp-mass-series-g rect",
1637
- count: 75,
1638
- trigger: () => {
1639
- options[1].dispatchEvent(
1640
- new MouseEvent("click", {
1641
- bubbles: true,
1642
- cancelable: true
1643
- })
1644
- );
1645
- }
1646
- });
1647
- test.equal(
1648
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1649
- 3,
1650
- `should render the expected number of serieses`
1651
- );
1652
- test.equal(
1653
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1654
- 1,
1655
- `should render the expected number of cluster rects`
1656
- );
1657
- const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1658
- (d) => d?.__data__?.text?.startsWith("<5")
1659
- );
1660
- secondLegendTexts.dispatchEvent(
1661
- new MouseEvent("mouseup", {
1662
- bubbles: true,
1663
- cancelable: true
1664
- })
1665
- );
1666
- const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1667
- test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
1668
- test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
1669
- test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
1670
- const secondRects = await detectLst({
1671
- elem: matrix.Inner.dom.seriesesG.node(),
1672
- selector: ".sjpp-mass-series-g rect",
1673
- count: 30,
1674
- trigger: () => {
1675
- secondOptions[1].dispatchEvent(
1676
- new MouseEvent("click", {
1677
- bubbles: true,
1678
- cancelable: true
1679
- })
1680
- );
1681
- }
1682
- });
1683
- test.equal(
1684
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1685
- 3,
1686
- `should render the expected number of serieses`
1687
- );
1688
- test.equal(
1689
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1690
- 1,
1691
- `should render the expected number of cluster rects`
1692
- );
1693
- const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1694
- (d) => d?.__data__?.text?.startsWith("<5")
1695
- );
1696
- thirdLegendTexts.dispatchEvent(
1697
- new MouseEvent("mouseup", {
1698
- bubbles: true,
1699
- cancelable: true
1700
- })
1701
- );
1702
- const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1703
- test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
1704
- test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
1705
- const thirdRects = await detectLst({
1706
- elem: matrix.Inner.dom.seriesesG.node(),
1707
- selector: ".sjpp-mass-series-g rect",
1708
- count: 0,
1709
- trigger: () => {
1710
- thirdOptions[0].dispatchEvent(
1711
- new MouseEvent("click", {
1712
- bubbles: true,
1713
- cancelable: true
1714
- })
1715
- );
1716
- }
1717
- });
1718
- test.equal(
1719
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1720
- 0,
1721
- `should render the expected number of serieses`
1722
- );
1723
- const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1724
- (d) => d?.__data__?.text?.startsWith("<5")
1725
- );
1726
- fourthLegendTexts.dispatchEvent(
1727
- new MouseEvent("mouseup", {
1728
- bubbles: true,
1729
- cancelable: true
1730
- })
1731
- );
1732
- const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1733
- test.equal(fourthOptions[0].innerText, "Show", `first option should be Show`);
1734
- test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
1735
- const fourthRects = await detectLst({
1736
- elem: matrix.Inner.dom.seriesesG.node(),
1737
- selector: ".sjpp-mass-series-g rect",
1738
- count: 75,
1739
- trigger: () => {
1740
- fourthOptions[2].dispatchEvent(
1741
- new MouseEvent("click", {
1742
- bubbles: true,
1743
- cancelable: true
1744
- })
1745
- );
1746
- }
1747
- });
1748
- test.equal(
1749
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1750
- 3,
1751
- `should render the expected number of serieses`
1752
- );
1753
- test.equal(
1754
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1755
- 1,
1756
- `should render the expected number of cluster rects`
1757
- );
1758
- if (test._ok) matrix.Inner.app.destroy();
1759
- test.end();
1760
- }
1761
- });
1762
- (0, import_tape.default)(
1763
- 'apply "Hide samples with" and "Do not show" legend filters to a geneVariant term in geneVariant term only matrix',
1764
- function(test) {
1765
- test.timeoutAfter(5e3);
1766
- test.plan(12);
1767
- runpp({
1768
- state: {
1769
- plots: [
1770
- {
1771
- chartType: "matrix",
1772
- settings: {
1773
- // the matrix autocomputes the colw based on available screen width,
1774
- // need to set an exact screen width for consistent tests using getBBox()
1775
- matrix: {
1776
- availContentWidth: 1200
1777
- }
1778
- },
1779
- termgroups: [
1780
- {
1781
- name: "",
1782
- lst: [getGenes()[0]]
1783
- }
1784
- ]
1785
- }
1786
- ]
1787
- },
1788
- matrix: {
1789
- callbacks: {
1790
- "postRender.test": runTests
1791
- }
1792
- }
1793
- });
1794
- async function runTests(matrix) {
1795
- matrix.on("postRender.test", null);
1796
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1797
- (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1798
- );
1799
- legendTexts.dispatchEvent(
1800
- new MouseEvent("mouseup", {
1801
- bubbles: true,
1802
- cancelable: true
1803
- })
1804
- );
1805
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1806
- test.equal(
1807
- options[0].innerText,
1808
- "Hide samples with FRAMESHIFT",
1809
- `First option should be "Hide samples with FRAMESHIFT"`
1810
- );
1811
- test.equal(options[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
1812
- test.equal(options.length, 2, `Should only show two options`);
1813
- const rects = await detectLst({
1814
- elem: matrix.Inner.dom.seriesesG.node(),
1815
- selector: ".sjpp-mass-series-g rect",
1816
- count: 236,
1817
- trigger: () => {
1818
- options[0].dispatchEvent(
1819
- new MouseEvent("click", {
1820
- bubbles: true,
1821
- cancelable: true
1822
- })
1823
- );
1824
- }
1825
- });
1826
- test.equal(
1827
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1828
- 1,
1829
- `should render the expected number of serieses`
1830
- );
1831
- test.equal(
1832
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1833
- 1,
1834
- `should render the expected number of cluster rects`
1835
- );
1836
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1837
- (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1838
- );
1839
- legendTexts2.dispatchEvent(
1840
- new MouseEvent("mouseup", {
1841
- bubbles: true,
1842
- cancelable: true
1843
- })
1844
- );
1845
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1846
- test.equal(
1847
- options2[0].innerText,
1848
- "Show samples with FRAMESHIFT",
1849
- `First option should be "Show samples with FRAMESHIFT"`
1850
- );
1851
- test.equal(options2.length, 1, `Should only show one option`);
1852
- const rects2 = await detectLst({
1853
- elem: matrix.Inner.dom.seriesesG.node(),
1854
- selector: ".sjpp-mass-series-g rect",
1855
- count: 240,
1856
- trigger: () => {
1857
- options2[0].dispatchEvent(
1858
- new MouseEvent("click", {
1859
- bubbles: true,
1860
- cancelable: true
1861
- })
1862
- );
1863
- }
1864
- });
1865
- test.equal(
1866
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
1867
- 1,
1868
- `should render the expected number of serieses`
1869
- );
1870
- test.equal(
1871
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
1872
- 1,
1873
- `should render the expected number of cluster rects`
1874
- );
1875
- const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1876
- (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1877
- );
1878
- legendTexts3.dispatchEvent(
1879
- new MouseEvent("mouseup", {
1880
- bubbles: true,
1881
- cancelable: true
1882
- })
1883
- );
1884
- const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1885
- test.equal(options3.length, 2, `Should only show two options`);
1886
- const rects3 = await detectLst({
1887
- elem: matrix.Inner.dom.seriesesG.node(),
1888
- selector: ".sjpp-mass-series-g rect",
1889
- count: 239,
1890
- trigger: () => {
1891
- options3[1].dispatchEvent(
1892
- new MouseEvent("click", {
1893
- bubbles: true,
1894
- cancelable: true
1895
- })
1896
- );
1897
- }
1898
- });
1899
- const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1900
- (d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
1901
- );
1902
- legendTexts4.dispatchEvent(
1903
- new MouseEvent("mouseup", {
1904
- bubbles: true,
1905
- cancelable: true
1906
- })
1907
- );
1908
- const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1909
- test.equal(
1910
- options4[0].innerText,
1911
- "Show samples with FRAMESHIFT",
1912
- `First option should be "Show samples with FRAMESHIFT"`
1913
- );
1914
- test.equal(options4.length, 1, `Should only show one option`);
1915
- const rects4 = await detectLst({
1916
- elem: matrix.Inner.dom.seriesesG.node(),
1917
- selector: ".sjpp-mass-series-g rect",
1918
- count: 240,
1919
- trigger: () => {
1920
- options4[0].dispatchEvent(
1921
- new MouseEvent("click", {
1922
- bubbles: true,
1923
- cancelable: true
1924
- })
1925
- );
1926
- }
1927
- });
1928
- if (test._ok) matrix.Inner.app.destroy();
1929
- test.end();
1930
- }
1931
- }
1932
- );
1933
- (0, import_tape.default)("apply legend group filters to a geneVariant term in geneVariant term only matrix", function(test) {
1934
- test.timeoutAfter(5e3);
1935
- test.plan(15);
1936
- runpp({
1937
- state: {
1938
- plots: [
1939
- {
1940
- chartType: "matrix",
1941
- settings: {
1942
- // the matrix autocomputes the colw based on available screen width,
1943
- // need to set an exact screen width for consistent tests using getBBox()
1944
- matrix: {
1945
- availContentWidth: 1200
1946
- }
1947
- },
1948
- termgroups: [
1949
- {
1950
- name: "",
1951
- lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
1952
- }
1953
- ]
1954
- }
1955
- ]
1956
- },
1957
- matrix: {
1958
- callbacks: {
1959
- "postRender.test": runTests
1960
- }
1961
- }
1962
- });
1963
- async function runTests(matrix) {
1964
- matrix.on("postRender.test", null);
1965
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
1966
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
1967
- );
1968
- legendTexts.dispatchEvent(
1969
- new MouseEvent("mouseup", {
1970
- bubbles: true,
1971
- cancelable: true
1972
- })
1973
- );
1974
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
1975
- test.equal(
1976
- options[0].innerText,
1977
- "Show only truncating mutations",
1978
- `First option should be "Show only truncating mutations"`
1979
- );
1980
- test.equal(
1981
- options[1].innerText,
1982
- "Show only protein-changing mutations",
1983
- `second option should be "Show only protein-changing mutations"`
1984
- );
1985
- test.equal(
1986
- options[2].innerText,
1987
- "Do not show Somatic Mutations",
1988
- `third option should be "Do not show Somatic Mutations"`
1989
- );
1990
- test.equal(options.length, 3, `Should show three options`);
1991
- const rects = await detectLst({
1992
- elem: matrix.Inner.dom.seriesesG.node(),
1993
- selector: ".sjpp-mass-series-g rect",
1994
- count: 181,
1995
- trigger: () => {
1996
- options[0].dispatchEvent(
1997
- new MouseEvent("click", {
1998
- bubbles: true,
1999
- cancelable: true
2000
- })
2001
- );
2002
- }
2003
- });
2004
- test.equal(
2005
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2006
- 1,
2007
- `should render the expected number of serieses`
2008
- );
2009
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2010
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2011
- );
2012
- legendTexts2.dispatchEvent(
2013
- new MouseEvent("mouseup", {
2014
- bubbles: true,
2015
- cancelable: true
2016
- })
2017
- );
2018
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2019
- test.equal(
2020
- options2[2].innerText,
2021
- "Do not show Somatic Mutations",
2022
- `third option should be "Do not show Somatic Mutations"`
2023
- );
2024
- test.equal(
2025
- options2[3].innerText,
2026
- "Show all Somatic Mutations",
2027
- `fourth option should be "Show all Somatic Mutations"`
2028
- );
2029
- test.equal(options2.length, 4, `Should show four options`);
2030
- const rects2 = await detectLst({
2031
- elem: matrix.Inner.dom.seriesesG.node(),
2032
- selector: ".sjpp-mass-series-g rect",
2033
- count: 183,
2034
- trigger: () => {
2035
- options2[1].dispatchEvent(
2036
- new MouseEvent("click", {
2037
- bubbles: true,
2038
- cancelable: true
2039
- })
2040
- );
2041
- }
2042
- });
2043
- test.equal(
2044
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2045
- 1,
2046
- `should render the expected number of serieses`
2047
- );
2048
- const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2049
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2050
- );
2051
- legendTexts3.dispatchEvent(
2052
- new MouseEvent("mouseup", {
2053
- bubbles: true,
2054
- cancelable: true
2055
- })
2056
- );
2057
- const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2058
- test.equal(
2059
- options3[2].innerText,
2060
- "Do not show Somatic Mutations",
2061
- `third option should be "Do not show Somatic Mutations"`
2062
- );
2063
- test.equal(options3.length, 4, `Should show four options`);
2064
- const rects3 = await detectLst({
2065
- elem: matrix.Inner.dom.seriesesG.node(),
2066
- selector: ".sjpp-mass-series-g rect",
2067
- count: 180,
2068
- trigger: () => {
2069
- options3[2].dispatchEvent(
2070
- new MouseEvent("click", {
2071
- bubbles: true,
2072
- cancelable: true
2073
- })
2074
- );
2075
- }
2076
- });
2077
- test.equal(
2078
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2079
- 1,
2080
- `should render the expected number of serieses`
2081
- );
2082
- const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2083
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2084
- );
2085
- legendTexts4.dispatchEvent(
2086
- new MouseEvent("mouseup", {
2087
- bubbles: true,
2088
- cancelable: true
2089
- })
2090
- );
2091
- const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2092
- test.equal(
2093
- options4[0].innerText,
2094
- "Show all Somatic Mutations",
2095
- `first option should be "Show all Somatic Mutations"`
2096
- );
2097
- test.equal(options4.length, 1, `Should show one option`);
2098
- const rects4 = await detectLst({
2099
- elem: matrix.Inner.dom.seriesesG.node(),
2100
- selector: ".sjpp-mass-series-g rect",
2101
- count: 240,
2102
- trigger: () => {
2103
- options4[0].dispatchEvent(
2104
- new MouseEvent("click", {
2105
- bubbles: true,
2106
- cancelable: true
2107
- })
2108
- );
2109
- }
2110
- });
2111
- test.equal(
2112
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2113
- 1,
2114
- `should render the expected number of serieses`
2115
- );
2116
- if (test._ok) matrix.Inner.app.destroy();
2117
- test.end();
2118
- }
2119
- });
2120
- (0, import_tape.default)(
2121
- "apply legend group filters and legend filters to a matrix with both geneVariant and dictionary terms",
2122
- function(test) {
2123
- test.timeoutAfter(5e3);
2124
- test.plan(13);
2125
- runpp({
2126
- state: {
2127
- plots: [
2128
- {
2129
- chartType: "matrix",
2130
- settings: {
2131
- // the matrix autocomputes the colw based on available screen width,
2132
- // need to set an exact screen width for consistent tests using getBBox()
2133
- matrix: {
2134
- availContentWidth: 1200
2135
- }
2136
- },
2137
- termgroups: [
2138
- {
2139
- name: "",
2140
- lst: [
2141
- ...getGenes(),
2142
- { id: "agedx", term: termjson["agedx"] },
2143
- { id: "diaggrp", term: termjson["diaggrp"] },
2144
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2145
- ]
2146
- }
2147
- ]
2148
- }
2149
- ]
2150
- },
2151
- matrix: {
2152
- callbacks: {
2153
- "postRender.test": runTests
2154
- }
2155
- }
2156
- });
2157
- async function runTests(matrix) {
2158
- matrix.on("postRender.test", null);
2159
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2160
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2161
- );
2162
- legendTexts.dispatchEvent(
2163
- new MouseEvent("mouseup", {
2164
- bubbles: true,
2165
- cancelable: true
2166
- })
2167
- );
2168
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2169
- test.equal(
2170
- options[0].innerText,
2171
- "Show only truncating mutations",
2172
- `First option should be "Show only truncating mutations"`
2173
- );
2174
- test.equal(options.length, 3, `Should show three options`);
2175
- const rects = await detectLst({
2176
- elem: matrix.Inner.dom.seriesesG.node(),
2177
- selector: ".sjpp-mass-series-g rect",
2178
- count: 721,
2179
- trigger: () => {
2180
- options[0].dispatchEvent(
2181
- new MouseEvent("click", {
2182
- bubbles: true,
2183
- cancelable: true
2184
- })
2185
- );
2186
- }
2187
- });
2188
- test.equal(
2189
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2190
- 6,
2191
- `should render the expected number of serieses`
2192
- );
2193
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2194
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2195
- );
2196
- legendTexts2.dispatchEvent(
2197
- new MouseEvent("mouseup", {
2198
- bubbles: true,
2199
- cancelable: true
2200
- })
2201
- );
2202
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2203
- test.equal(
2204
- options2[1].innerText,
2205
- "Show only protein-changing mutations",
2206
- `second option should be "Show only protein-changing mutations"`
2207
- );
2208
- test.equal(
2209
- options2[3].innerText,
2210
- "Show all Somatic Mutations",
2211
- `fourth option should be "Show all Somatic Mutations"`
2212
- );
2213
- test.equal(options2.length, 4, `Should show four options`);
2214
- const rects2 = await detectLst({
2215
- elem: matrix.Inner.dom.seriesesG.node(),
2216
- selector: ".sjpp-mass-series-g rect",
2217
- count: 724,
2218
- trigger: () => {
2219
- options2[1].dispatchEvent(
2220
- new MouseEvent("click", {
2221
- bubbles: true,
2222
- cancelable: true
2223
- })
2224
- );
2225
- }
2226
- });
2227
- const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2228
- (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2229
- );
2230
- legendTexts3.dispatchEvent(
2231
- new MouseEvent("mouseup", {
2232
- bubbles: true,
2233
- cancelable: true
2234
- })
2235
- );
2236
- const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2237
- test.equal(
2238
- options3[0].innerText,
2239
- "Hide samples with FRAMESHIFT",
2240
- `First option should be "Hide samples with FRAMESHIFT"`
2241
- );
2242
- test.equal(options3[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
2243
- const rects3 = await detectLst({
2244
- elem: matrix.Inner.dom.seriesesG.node(),
2245
- selector: ".sjpp-mass-series-g rect",
2246
- count: 711,
2247
- trigger: () => {
2248
- options3[0].dispatchEvent(
2249
- new MouseEvent("click", {
2250
- bubbles: true,
2251
- cancelable: true
2252
- })
2253
- );
2254
- }
2255
- });
2256
- test.equal(
2257
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2258
- 6,
2259
- `should render the expected number of serieses`
2260
- );
2261
- const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2262
- (d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
2263
- );
2264
- legendTexts4.dispatchEvent(
2265
- new MouseEvent("mouseup", {
2266
- bubbles: true,
2267
- cancelable: true
2268
- })
2269
- );
2270
- const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2271
- test.equal(
2272
- options4[0].innerText,
2273
- "Show samples with FRAMESHIFT",
2274
- `First option should be "Show samples with FRAMESHIFT"`
2275
- );
2276
- test.equal(options4.length, 1, `Should only show one option`);
2277
- const rects4 = await detectLst({
2278
- elem: matrix.Inner.dom.seriesesG.node(),
2279
- selector: ".sjpp-mass-series-g rect",
2280
- count: 724,
2281
- trigger: () => {
2282
- options4[0].dispatchEvent(
2283
- new MouseEvent("click", {
2284
- bubbles: true,
2285
- cancelable: true
2286
- })
2287
- );
2288
- }
2289
- });
2290
- const legendTexts5 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2291
- (d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
2292
- );
2293
- legendTexts5.dispatchEvent(
2294
- new MouseEvent("mouseup", {
2295
- bubbles: true,
2296
- cancelable: true
2297
- })
2298
- );
2299
- const options5 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2300
- test.equal(
2301
- options5[3].innerText,
2302
- "Show all Somatic Mutations",
2303
- `fourth option should be "Show all Somatic Mutations"`
2304
- );
2305
- test.equal(options5.length, 4, `Should show four options`);
2306
- const rects5 = await detectLst({
2307
- elem: matrix.Inner.dom.seriesesG.node(),
2308
- selector: ".sjpp-mass-series-g rect",
2309
- count: 900,
2310
- trigger: () => {
2311
- options5[3].dispatchEvent(
2312
- new MouseEvent("click", {
2313
- bubbles: true,
2314
- cancelable: true
2315
- })
2316
- );
2317
- }
2318
- });
2319
- if (test._ok) matrix.Inner.app.destroy();
2320
- test.end();
2321
- }
2322
- }
2323
- );
2324
- (0, import_tape.default)("cell brush zoom in", function(test) {
2325
- test.timeoutAfter(5e3);
2326
- test.plan(1);
2327
- runpp({
2328
- state: {
2329
- plots: [
2330
- {
2331
- chartType: "matrix",
2332
- settings: {
2333
- matrix: {
2334
- // the matrix autocomputes the colw based on available screen width,
2335
- // need to set an exact screen width for consistent tests using getBBox()
2336
- availContentWidth: 300
2337
- }
2338
- },
2339
- termgroups: [
2340
- {
2341
- name: "Demographics",
2342
- lst: [
2343
- {
2344
- id: "aaclassic_5",
2345
- q: {
2346
- mode: "continuous"
2347
- }
2348
- },
2349
- {
2350
- id: "sex"
2351
- //q: { mode: 'values' } // or 'groupsetting'
2352
- },
2353
- {
2354
- id: "agedx",
2355
- q: {
2356
- mode: "discrete",
2357
- type: "regular-bin",
2358
- bin_size: 5,
2359
- first_bin: {
2360
- startunbounded: true,
2361
- stop: 5,
2362
- stopinclusive: true
2363
- }
2364
- }
2365
- // or 'continuous'
2366
- }
2367
- ]
2368
- }
2369
- ]
2370
- }
2371
- ]
2372
- },
2373
- matrix: {
2374
- callbacks: {
2375
- "postRender.test": runTests
2376
- }
2377
- }
2378
- });
2379
- async function runTests(matrix) {
2380
- matrix.on("postRender.test", null);
2381
- const startCell = matrix.Inner.serieses[1].cells[10];
2382
- const endCell = matrix.Inner.serieses[1].cells[14];
2383
- matrix.Inner.clickedSeriesCell = {
2384
- startCell,
2385
- endCell
2386
- };
2387
- matrix.Inner.zoomWidth = Math.abs(startCell.totalIndex - endCell.totalIndex) * matrix.Inner.dimensions.colw;
2388
- matrix.on("postRender.test", () => {
2389
- matrix.on("postRender.test", null);
2390
- test.deepEqual(matrix.Inner.settings.matrix.zoomLevel, 3.2, "should have the expected zoom level after zoom in");
2391
- if (test._ok) matrix.Inner.app.destroy();
2392
- test.end();
2393
- });
2394
- matrix.Inner.triggerZoomArea();
2395
- }
2396
- });
2397
- (0, import_tape.default)("survival term in continous mode", function(test) {
2398
- test.timeoutAfter(5e3);
2399
- test.plan(2);
2400
- runpp({
2401
- state: {
2402
- plots: [
2403
- {
2404
- chartType: "matrix",
2405
- settings: {
2406
- // the matrix autocomputes the colw based on available screen width,
2407
- // need to set an exact screen width for consistent tests using getBBox()
2408
- matrix: {
2409
- availContentWidth: 1200
2410
- }
2411
- },
2412
- termgroups: [
2413
- {
2414
- name: "",
2415
- lst: [
2416
- {
2417
- term: {
2418
- name: "Overall survival",
2419
- type: "survival",
2420
- isleaf: true,
2421
- unit: "years",
2422
- id: "os"
2423
- },
2424
- q: {
2425
- mode: "continuous"
2426
- }
2427
- }
2428
- ]
2429
- }
2430
- ]
2431
- }
2432
- ]
2433
- },
2434
- matrix: {
2435
- callbacks: {
2436
- "postRender.test": runTests
2437
- }
2438
- }
2439
- });
2440
- function runTests(matrix) {
2441
- matrix.on("postRender.test", null);
2442
- test.equal(
2443
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2444
- 1,
2445
- `should render the expected number of serieses`
2446
- );
2447
- test.equal(
2448
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2449
- 60,
2450
- `should render the expected number of cell rects`
2451
- );
2452
- if (test._ok) matrix.Inner.app.destroy();
2453
- test.end();
2454
- }
2455
- });
2456
- (0, import_tape.default)("survival term in discrete mode", function(test) {
2457
- test.timeoutAfter(5e3);
2458
- test.plan(2);
2459
- runpp({
2460
- state: {
2461
- plots: [
2462
- {
2463
- chartType: "matrix",
2464
- settings: {
2465
- // the matrix autocomputes the colw based on available screen width,
2466
- // need to set an exact screen width for consistent tests using getBBox()
2467
- matrix: {
2468
- availContentWidth: 1200
2469
- }
2470
- },
2471
- termgroups: [
2472
- {
2473
- name: "",
2474
- lst: [
2475
- {
2476
- term: {
2477
- name: "Overall survival",
2478
- type: "survival",
2479
- isleaf: true,
2480
- unit: "years",
2481
- id: "os"
2482
- },
2483
- q: {
2484
- mode: "continuous"
2485
- }
2486
- }
2487
- ]
2488
- }
2489
- ]
2490
- }
2491
- ]
2492
- },
2493
- matrix: {
2494
- callbacks: {
2495
- "postRender.test": runTests
2496
- }
2497
- }
2498
- });
2499
- function runTests(matrix) {
2500
- matrix.on("postRender.test", null);
2501
- test.equal(
2502
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2503
- 1,
2504
- `should render the expected number of serieses`
2505
- );
2506
- test.equal(
2507
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2508
- 60,
2509
- `should render the expected number of cell rects`
2510
- );
2511
- if (test._ok) matrix.Inner.app.destroy();
2512
- test.end();
2513
- }
2514
- });
2515
- (0, import_tape.default)("survival term with divide by dictionary term", function(test) {
2516
- test.timeoutAfter(5e3);
2517
- test.plan(3);
2518
- runpp({
2519
- state: {
2520
- plots: [
2521
- {
2522
- chartType: "matrix",
2523
- settings: {
2524
- // the matrix autocomputes the colw based on available screen width,
2525
- // need to set an exact screen width for consistent tests using getBBox()
2526
- matrix: {
2527
- availContentWidth: 1200
2528
- }
2529
- },
2530
- divideBy: {
2531
- id: "sex"
2532
- },
2533
- termgroups: [
2534
- {
2535
- name: "",
2536
- lst: [
2537
- {
2538
- term: {
2539
- name: "Overall survival",
2540
- type: "survival",
2541
- isleaf: true,
2542
- unit: "years",
2543
- id: "os"
2544
- },
2545
- q: {
2546
- mode: "continuous"
2547
- }
2548
- }
2549
- ]
2550
- }
2551
- ]
2552
- }
2553
- ]
2554
- },
2555
- matrix: {
2556
- callbacks: {
2557
- "postRender.test": runTests
2558
- }
2559
- }
2560
- });
2561
- function runTests(matrix) {
2562
- matrix.on("postRender.test", null);
2563
- test.equal(
2564
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2565
- 1,
2566
- `should render the expected number of serieses`
2567
- );
2568
- test.equal(
2569
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2570
- 60,
2571
- `should render the expected number of cell rects`
2572
- );
2573
- test.equal(
2574
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2575
- 2,
2576
- `should render the expected number of cluster rects`
2577
- );
2578
- if (test._ok) matrix.Inner.app.destroy();
2579
- test.end();
2580
- }
2581
- });
2582
- (0, import_tape.default)("dictionary term with divide by survival term", function(test) {
2583
- test.timeoutAfter(5e3);
2584
- test.plan(3);
2585
- runpp({
2586
- state: {
2587
- plots: [
2588
- {
2589
- chartType: "matrix",
2590
- settings: {
2591
- // the matrix autocomputes the colw based on available screen width,
2592
- // need to set an exact screen width for consistent tests using getBBox()
2593
- matrix: {
2594
- availContentWidth: 1200
2595
- }
2596
- },
2597
- divideBy: {
2598
- id: "os"
2599
- },
2600
- termgroups: [
2601
- {
2602
- name: "Demographics",
2603
- lst: [
2604
- { id: "agedx", term: termjson["agedx"] },
2605
- { id: "diaggrp", term: termjson["diaggrp"] },
2606
- { id: "aaclassic_5", term: termjson["aaclassic_5"] }
2607
- ]
2608
- }
2609
- ]
2610
- }
2611
- ]
2612
- },
2613
- matrix: {
2614
- callbacks: {
2615
- "postRender.test": runTests
2616
- }
2617
- }
2618
- });
2619
- function runTests(matrix) {
2620
- matrix.on("postRender.test", null);
2621
- test.equal(
2622
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2623
- 3,
2624
- `should render the expected number of serieses`
2625
- );
2626
- test.equal(
2627
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
2628
- 180,
2629
- `should render the expected number of cell rects`
2630
- );
2631
- test.equal(
2632
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2633
- 2,
2634
- `should render the expected number of cluster rects`
2635
- );
2636
- if (test._ok) matrix.Inner.app.destroy();
2637
- test.end();
2638
- }
2639
- });
2640
- (0, import_tape.default)('apply "hide" and "show" legend filters to a survival term', function(test) {
2641
- test.timeoutAfter(5e3);
2642
- test.plan(10);
2643
- runpp({
2644
- state: {
2645
- plots: [
2646
- {
2647
- chartType: "matrix",
2648
- settings: {
2649
- matrix: {
2650
- // the matrix autocomputes the colw based on available screen width,
2651
- // need to set an exact screen width for consistent tests using getBBox()
2652
- availContentWidth: 1200
2653
- }
2654
- },
2655
- termgroups: [
2656
- {
2657
- name: "",
2658
- lst: [
2659
- {
2660
- id: "aaclassic_5",
2661
- q: {
2662
- mode: "continuous"
2663
- }
2664
- },
2665
- {
2666
- id: "genetic_race"
2667
- //q: { mode: 'values' } // or 'groupsetting'
2668
- },
2669
- {
2670
- id: "agedx",
2671
- q: {
2672
- mode: "discrete",
2673
- type: "regular-bin",
2674
- bin_size: 5,
2675
- first_bin: {
2676
- startunbounded: true,
2677
- stop: 5,
2678
- stopinclusive: true
2679
- }
2680
- }
2681
- },
2682
- {
2683
- term: {
2684
- name: "Overall survival",
2685
- type: "survival",
2686
- isleaf: true,
2687
- unit: "years",
2688
- id: "os"
2689
- }
2690
- }
2691
- ]
2692
- }
2693
- ]
2694
- }
2695
- ]
2696
- },
2697
- matrix: {
2698
- callbacks: {
2699
- "postRender.test": runTests
2700
- }
2701
- }
2702
- });
2703
- async function runTests(matrix) {
2704
- matrix.on("postRender.test", null);
2705
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2706
- (d) => d?.__data__?.text?.startsWith("Alive")
2707
- );
2708
- legendTexts.dispatchEvent(
2709
- new MouseEvent("mouseup", {
2710
- bubbles: true,
2711
- cancelable: true
2712
- })
2713
- );
2714
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2715
- test.equal(options[0].innerText, "Hide", `First option should be Hide`);
2716
- test.equal(options[1].innerText, "Show only", `second option should be Show only`);
2717
- test.equal(options[2].innerText, "Show all", `third option should be Show all`);
2718
- const rects = await detectLst({
2719
- elem: matrix.Inner.dom.seriesesG.node(),
2720
- selector: ".sjpp-mass-series-g rect",
2721
- count: 228,
2722
- trigger: () => {
2723
- options[0].dispatchEvent(
2724
- new MouseEvent("click", {
2725
- bubbles: true,
2726
- cancelable: true
2727
- })
2728
- );
2729
- }
2730
- });
2731
- test.equal(
2732
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2733
- 4,
2734
- `should render the expected number of serieses`
2735
- );
2736
- test.equal(
2737
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2738
- 1,
2739
- `should render the expected number of cluster rects`
2740
- );
2741
- const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2742
- (d) => d?.__data__?.text?.startsWith("Alive")
2743
- );
2744
- legendTexts2.dispatchEvent(
2745
- new MouseEvent("mouseup", {
2746
- bubbles: true,
2747
- cancelable: true
2748
- })
2749
- );
2750
- const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2751
- test.equal(options2[0].innerText, "Show", `First option should be Show`);
2752
- test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
2753
- test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
2754
- const rects2 = await detectLst({
2755
- elem: matrix.Inner.dom.seriesesG.node(),
2756
- selector: ".sjpp-mass-series-g rect",
2757
- count: 240,
2758
- trigger: () => {
2759
- options2[0].dispatchEvent(
2760
- new MouseEvent("click", {
2761
- bubbles: true,
2762
- cancelable: true
2763
- })
2764
- );
2765
- }
2766
- });
2767
- test.equal(
2768
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2769
- 4,
2770
- `should render the expected number of serieses`
2771
- );
2772
- test.equal(
2773
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2774
- 1,
2775
- `should render the expected number of cluster rects`
2776
- );
2777
- if (test._ok) matrix.Inner.app.destroy();
2778
- test.end();
2779
- }
2780
- });
2781
- (0, import_tape.default)('apply "show only" and "show all" legend filters to a survival terms', function(test) {
2782
- test.timeoutAfter(5e3);
2783
- test.plan(14);
2784
- runpp({
2785
- state: {
2786
- plots: [
2787
- {
2788
- chartType: "matrix",
2789
- settings: {
2790
- matrix: {
2791
- // the matrix autocomputes the colw based on available screen width,
2792
- // need to set an exact screen width for consistent tests using getBBox()
2793
- availContentWidth: 1200
2794
- }
2795
- },
2796
- termgroups: [
2797
- {
2798
- name: "",
2799
- lst: [
2800
- {
2801
- id: "aaclassic_5",
2802
- q: {
2803
- mode: "continuous"
2804
- }
2805
- },
2806
- {
2807
- id: "genetic_race"
2808
- //q: { mode: 'values' } // or 'groupsetting'
2809
- },
2810
- {
2811
- id: "agedx",
2812
- q: {
2813
- mode: "discrete",
2814
- type: "regular-bin",
2815
- bin_size: 5,
2816
- first_bin: {
2817
- startunbounded: true,
2818
- stop: 5,
2819
- stopinclusive: true
2820
- }
2821
- }
2822
- },
2823
- {
2824
- term: {
2825
- name: "Overall survival",
2826
- type: "survival",
2827
- isleaf: true,
2828
- unit: "years",
2829
- id: "os"
2830
- }
2831
- }
2832
- ]
2833
- }
2834
- ]
2835
- }
2836
- ]
2837
- },
2838
- matrix: {
2839
- callbacks: {
2840
- "postRender.test": runTests
2841
- }
2842
- }
2843
- });
2844
- async function runTests(matrix) {
2845
- matrix.on("postRender.test", null);
2846
- const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2847
- (d) => d?.__data__?.text?.startsWith("Alive")
2848
- );
2849
- legendTexts.dispatchEvent(
2850
- new MouseEvent("mouseup", {
2851
- bubbles: true,
2852
- cancelable: true
2853
- })
2854
- );
2855
- const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2856
- const rects = await detectLst({
2857
- elem: matrix.Inner.dom.seriesesG.node(),
2858
- selector: ".sjpp-mass-series-g rect",
2859
- count: 12,
2860
- trigger: () => {
2861
- options[1].dispatchEvent(
2862
- new MouseEvent("click", {
2863
- bubbles: true,
2864
- cancelable: true
2865
- })
2866
- );
2867
- }
2868
- });
2869
- test.equal(
2870
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2871
- 4,
2872
- `should render the expected number of serieses`
2873
- );
2874
- test.equal(
2875
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2876
- 1,
2877
- `should render the expected number of cluster rects`
2878
- );
2879
- const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2880
- (d) => d?.__data__?.text?.startsWith("<5")
2881
- );
2882
- secondLegendTexts.dispatchEvent(
2883
- new MouseEvent("mouseup", {
2884
- bubbles: true,
2885
- cancelable: true
2886
- })
2887
- );
2888
- const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2889
- test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
2890
- test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
2891
- test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
2892
- const secondRects = await detectLst({
2893
- elem: matrix.Inner.dom.seriesesG.node(),
2894
- selector: ".sjpp-mass-series-g rect",
2895
- count: 4,
2896
- trigger: () => {
2897
- secondOptions[1].dispatchEvent(
2898
- new MouseEvent("click", {
2899
- bubbles: true,
2900
- cancelable: true
2901
- })
2902
- );
2903
- }
2904
- });
2905
- test.equal(
2906
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2907
- 4,
2908
- `should render the expected number of serieses`
2909
- );
2910
- test.equal(
2911
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2912
- 1,
2913
- `should render the expected number of cluster rects`
2914
- );
2915
- const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2916
- (d) => d?.__data__?.text?.startsWith("<5")
2917
- );
2918
- thirdLegendTexts.dispatchEvent(
2919
- new MouseEvent("mouseup", {
2920
- bubbles: true,
2921
- cancelable: true
2922
- })
2923
- );
2924
- const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2925
- test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
2926
- test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
2927
- const thirdRects = await detectLst({
2928
- elem: matrix.Inner.dom.seriesesG.node(),
2929
- selector: ".sjpp-mass-series-g rect",
2930
- count: 12,
2931
- trigger: () => {
2932
- thirdOptions[2].dispatchEvent(
2933
- new MouseEvent("click", {
2934
- bubbles: true,
2935
- cancelable: true
2936
- })
2937
- );
2938
- }
2939
- });
2940
- test.equal(
2941
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2942
- 4,
2943
- `should render the expected number of serieses`
2944
- );
2945
- const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
2946
- (d) => d?.__data__?.text?.startsWith("Alive")
2947
- );
2948
- fourthLegendTexts.dispatchEvent(
2949
- new MouseEvent("mouseup", {
2950
- bubbles: true,
2951
- cancelable: true
2952
- })
2953
- );
2954
- const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
2955
- test.equal(fourthOptions[0].innerText, "Hide", `first option should be Hide`);
2956
- test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
2957
- const fourthRects = await detectLst({
2958
- elem: matrix.Inner.dom.seriesesG.node(),
2959
- selector: ".sjpp-mass-series-g rect",
2960
- count: 240,
2961
- trigger: () => {
2962
- fourthOptions[2].dispatchEvent(
2963
- new MouseEvent("click", {
2964
- bubbles: true,
2965
- cancelable: true
2966
- })
2967
- );
2968
- }
2969
- });
2970
- test.equal(
2971
- matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
2972
- 4,
2973
- `should render the expected number of serieses`
2974
- );
2975
- test.equal(
2976
- matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
2977
- 1,
2978
- `should render the expected number of cluster rects`
2979
- );
2980
- if (test._ok) matrix.Inner.app.destroy();
2981
- test.end();
2982
- }
2983
- });
2984
- var runpp = getRunPp("mass", {
2985
- state: {
2986
- dslabel: "TermdbTest",
2987
- genome: "hg38-test",
2988
- nav: { activeTab: -1 }
2989
- },
2990
- debug: 1
2991
- });
2992
- function getGenes() {
2993
- return [
2994
- { term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } },
2995
- { term: { gene: "KRAS", name: "KRAS", type: "geneVariant", isleaf: true } },
2996
- { term: { gene: "AKT1", name: "AKT1", type: "geneVariant", isleaf: true } }
2997
- ];
2998
- }
2999
- function getTermCollection() {
3000
- return {
3001
- //isAtomic: true,
3002
- type: "TermCollectionTWCont",
3003
- //$id: 'TwBase_0__48243_99155',
3004
- term: {
3005
- type: "termCollection",
3006
- termlst: [
3007
- {
3008
- type: "float",
3009
- bins: {
3010
- default: {
3011
- type: "regular-bin",
3012
- bin_size: 5,
3013
- startinclusive: true,
3014
- first_bin: { startunbounded: true, stop: 5 }
3015
- },
3016
- label_offset: 1
3017
- },
3018
- name: "Age (years) at Cancer Diagnosis",
3019
- id: "agedx",
3020
- isleaf: true,
3021
- values: {},
3022
- hashtmldetail: true
3023
- },
3024
- {
3025
- type: "float",
3026
- bins: {
3027
- default: {
3028
- type: "regular-bin",
3029
- startinclusive: true,
3030
- bin_size: 5,
3031
- first_bin: { stop: 25 },
3032
- last_bin: { start: 55 }
3033
- }
3034
- },
3035
- name: "Age (years) at Death",
3036
- id: "a_death",
3037
- isleaf: true,
3038
- values: {},
3039
- hashtmldetail: true
3040
- },
3041
- {
3042
- type: "float",
3043
- bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3044
- name: "Age (years) at Last NDI Search",
3045
- id: "a_ndi",
3046
- isleaf: true,
3047
- values: {}
3048
- },
3049
- {
3050
- type: "float",
3051
- bins: { default: { type: "regular-bin", startinclusive: true, bin_size: 10, first_bin: { stop: 15 } } },
3052
- values: { "-994": { label: "N/A: No campus visit", uncomputable: true } },
3053
- name: "Age at last ABC assessment",
3054
- id: "agelastvisit",
3055
- isleaf: true
3056
- }
3057
- ],
3058
- name: "Fake Collection 1",
3059
- isleaf: true,
3060
- propsByTermId: {
3061
- agedx: { color: "#1b9e77" },
3062
- a_death: { color: "#d95f02" },
3063
- a_ndi: { color: "#7570b3" },
3064
- agelastvisit: { color: "#e7298a" }
3065
- }
3066
- },
3067
- q: { isAtomic: true, mode: "continuous", lst: [] }
3068
- };
3069
- }
3070
- //# sourceMappingURL=matrix.integration.spec-DSXZHAEY.js.map