@sjcrh/proteinpaint-client 2.166.0 → 2.167.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-6M6QWXAQ.js +1364 -0
- package/dist/AIProjectAdmin-2NHMC3IV.js +780 -0
- package/dist/AppHeader-CTHEWSZD.js +813 -0
- package/dist/BoxPlot-3U6ZAKKO.js +44 -0
- package/dist/CorrelationVolcano-2ASIR6KY.js +616 -0
- package/dist/DifferentialAnalysis-C3NYGF7U.js +237 -0
- package/dist/Disco-2QLBZ3X5.js +3089 -0
- package/dist/Disco.UI-GPIIPM2P.js +238 -0
- package/dist/DziViewer-OHPZOH72.js +16328 -0
- package/dist/GB-FH6YQGHI.js +1099 -0
- package/dist/HicApp-TI2II3SZ.js +2218 -0
- package/dist/NumBinaryEditor-O42T63EX.js +259 -0
- package/dist/NumBinaryEditor.unit.spec-UMB2PHT5.js +277 -0
- package/dist/NumContEditor-7NOUKPCV.js +98 -0
- package/dist/NumContEditor.unit.spec-JGXJ2HLE.js +160 -0
- package/dist/NumCustomBinEditor-6CHN3KX3.js +29 -0
- package/dist/NumCustomBinEditor.unit.spec-RJPQLE3E.js +275 -0
- package/dist/NumDiscreteEditor-AFTUKU4K.js +145 -0
- package/dist/NumDiscreteEditor.unit.spec-GKR6ZNBQ.js +193 -0
- package/dist/NumRegularBinEditor-UJ5WQPHR.js +29 -0
- package/dist/NumRegularBinEditor.unit.spec-5HGJQEX7.js +220 -0
- package/dist/NumSplineEditor-JANA2DUE.js +181 -0
- package/dist/NumSplineEditor.unit.spec-UYAMAKZD.js +190 -0
- package/dist/NumericDensity-YE5R4CNP.js +29 -0
- package/dist/NumericDensity.unit.spec-SVEB5U2S.js +212 -0
- package/dist/NumericHandler-WW4M7YW2.js +30 -0
- package/dist/NumericHandler.unit.spec-2BWDFO53.js +210 -0
- package/dist/SC-UGJGMBL7.js +714 -0
- package/dist/Volcano-IU76MEIL.js +1018 -0
- package/dist/WSIViewer-3S7N4UDO.js +46959 -0
- package/dist/WsiSamplesPlot-4CAOHWCL.js +153 -0
- package/dist/adSandbox-AEBS3RTL.js +29 -0
- package/dist/alphaGenome-F2PB4SGI.js +170 -0
- package/dist/app-6SKETLMT.js +28 -0
- package/dist/app-GBEF2HBR.js +54 -0
- package/dist/app.js +16 -16
- package/dist/bam-5SE6XQJV.js +842 -0
- package/dist/barchart-AUSOT2XB.js +48 -0
- package/dist/barchart.data-GYCNBRPY.js +30 -0
- package/dist/barchart.events-QTSWNYXO.js +44 -0
- package/dist/barchart.integration.spec-LORJLJVX.js +1600 -0
- package/dist/bars.renderer-4N4QOUNI.js +12 -0
- package/dist/bars.settings-SDU7PZOS.js +10 -0
- package/dist/block-QLSIELXK.js +6291 -0
- package/dist/block.init-OOLEA6ZK.js +29 -0
- package/dist/block.mds.expressionrank-D2KUISXZ.js +350 -0
- package/dist/block.mds.geneboxplot-AMYBWXPS.js +819 -0
- package/dist/block.mds.junction-OG335MBK.js +1536 -0
- package/dist/block.mds.svcnv-WYDBQ6FV.js +6792 -0
- package/dist/block.svg-OH73245R.js +155 -0
- package/dist/block.tk.aicheck-CG5THFW2.js +274 -0
- package/dist/block.tk.ase-G2L3G5MQ.js +356 -0
- package/dist/block.tk.bam-DXWCA6EU.js +1897 -0
- package/dist/block.tk.bedgraphdot-LF3TFPNL.js +375 -0
- package/dist/block.tk.bigwig.ui-JKXZ3VDF.js +202 -0
- package/dist/block.tk.hicstraw-ZK4RKFB6.js +814 -0
- package/dist/block.tk.junction-ZB7Q2NLB.js +2355 -0
- package/dist/block.tk.junction.textmatrixui-ZYNQWKIW.js +190 -0
- package/dist/block.tk.ld-7H64HGER.js +90 -0
- package/dist/block.tk.menu-WFVKAH74.js +1020 -0
- package/dist/block.tk.pgv-632LLSBI.js +935 -0
- package/dist/brainImaging-AEPTHIQF.js +417 -0
- package/dist/chat-3XZCAFDD.js +142 -0
- package/dist/chat-3XZCAFDD.js.map +7 -0
- package/dist/chunk-22O6F463.js +619 -0
- package/dist/chunk-2HJ7OD7H.js +252 -0
- package/dist/chunk-2MN5JLZB.js +2878 -0
- package/dist/chunk-2OVIUIIL.js +1720 -0
- package/dist/chunk-2OVIUIIL.js.map +7 -0
- package/dist/chunk-37CK5IGW.js +480 -0
- package/dist/chunk-3JFEWVHR.js +80 -0
- package/dist/chunk-3MGBC64I.js +133 -0
- package/dist/chunk-3NWLWH4G.js +6364 -0
- package/dist/chunk-46T54RUY.js +1133 -0
- package/dist/chunk-46T54RUY.js.map +7 -0
- package/dist/chunk-4GKQ5PWY.js +142 -0
- package/dist/chunk-4PHD5H4A.js +226 -0
- package/dist/chunk-56IFQMJK.js +413 -0
- package/dist/chunk-5AMBV2JE.js +797 -0
- package/dist/chunk-5AMBV2JE.js.map +7 -0
- package/dist/chunk-5DMFTXUZ.js +158 -0
- package/dist/chunk-5QJDZHRU.js +95 -0
- package/dist/chunk-5WAVKWL6.js +1275 -0
- package/dist/chunk-6ISTNHM6.js +144 -0
- package/dist/chunk-6VQ4C735.js +1536 -0
- package/dist/chunk-74WMSW3E.js +229 -0
- package/dist/chunk-AFU66YOW.js +459 -0
- package/dist/chunk-AUJ2YUXV.js +14 -0
- package/dist/chunk-B65X5UQH.js +518 -0
- package/dist/chunk-B6I64LSV.js +634 -0
- package/dist/chunk-BAJ74DKS.js +419 -0
- package/dist/chunk-BAJ74DKS.js.map +7 -0
- package/dist/chunk-BTYCW3D5.js +85 -0
- package/dist/chunk-CCB5KYFQ.js +1415 -0
- package/dist/chunk-CKLYFA7H.js +467 -0
- package/dist/chunk-CLYRJ466.js +272 -0
- package/dist/chunk-CPHCZZWT.js +82 -0
- package/dist/chunk-CUADOD2T.js +217 -0
- package/dist/chunk-CV6ID6T7.js +422 -0
- package/dist/chunk-CWHBWY3B.js +190 -0
- package/dist/chunk-D53HBTYQ.js +238 -0
- package/dist/chunk-DDOM4XYV.js +1177 -0
- package/dist/chunk-DDOM4XYV.js.map +7 -0
- package/dist/chunk-DKI7YOTJ.js +196 -0
- package/dist/chunk-DNU4IPD2.js +165 -0
- package/dist/chunk-FN5XPUPH.js +83 -0
- package/dist/chunk-FN5XPUPH.js.map +7 -0
- package/dist/chunk-GLSDMBHR.js +55 -0
- package/dist/chunk-GLSDMBHR.js.map +7 -0
- package/dist/chunk-H3BSKMND.js +487 -0
- package/dist/chunk-H3BSKMND.js.map +7 -0
- package/dist/chunk-H6HP4H3U.js +2327 -0
- package/dist/chunk-HPEMEDXB.js +123 -0
- package/dist/chunk-HUDESZGX.js +1151 -0
- package/dist/chunk-ITJ2SXU5.js +467 -0
- package/dist/chunk-ITJ2SXU5.js.map +7 -0
- package/dist/chunk-J7IU77CA.js +166 -0
- package/dist/chunk-JMO7ENSD.js +381 -0
- package/dist/chunk-JTPN3BRG.js +129 -0
- package/dist/chunk-KCAMFDJH.js +323 -0
- package/dist/chunk-LD45BCVM.js +177 -0
- package/dist/chunk-LMELY5Z2.js +1412 -0
- package/dist/chunk-LVQK62CV.js +215 -0
- package/dist/chunk-MCVLRF66.js +157 -0
- package/dist/chunk-MK7RRJTX.js +1968 -0
- package/dist/chunk-MK7RRJTX.js.map +7 -0
- package/dist/chunk-MLD7DW5I.js +613 -0
- package/dist/chunk-NEF7LGNE.js +2789 -0
- package/dist/chunk-O7BAQPP3.js +256 -0
- package/dist/chunk-O7BAQPP3.js.map +7 -0
- package/dist/chunk-OARG7PAV.js +401 -0
- package/dist/chunk-OGCF6E6I.js +4947 -0
- package/dist/chunk-OGCF6E6I.js.map +7 -0
- package/dist/chunk-OGWY4MOB.js +748 -0
- package/dist/chunk-PQD6K5W5.js +2784 -0
- package/dist/chunk-Q4FYGFTQ.js +91 -0
- package/dist/chunk-QX5QVWUP.js +451 -0
- package/dist/chunk-QX5QVWUP.js.map +7 -0
- package/dist/chunk-RA2KI64U.js +303 -0
- package/dist/chunk-RHHLAKYS.js +1088 -0
- package/dist/chunk-RKV3CP4C.js +258 -0
- package/dist/chunk-RL7RU2V7.js +368 -0
- package/dist/chunk-RQ7CE7SK.js +161 -0
- package/dist/chunk-RX552WU6.js +1143 -0
- package/dist/chunk-S7V4SFKB.js +276 -0
- package/dist/chunk-SEL5UNRC.js +142 -0
- package/dist/chunk-SRBO57AD.js +297 -0
- package/dist/chunk-SYGLOTOV.js +1197 -0
- package/dist/chunk-TGZA4ETW.js +311 -0
- package/dist/chunk-TGZA4ETW.js.map +7 -0
- package/dist/chunk-UZ466XO3.js +203 -0
- package/dist/chunk-VDF5W47R.js +149 -0
- package/dist/chunk-W4SEWZF2.js +279 -0
- package/dist/chunk-W4SEWZF2.js.map +7 -0
- package/dist/chunk-W5EG334J.js +15083 -0
- package/dist/chunk-W5EG334J.js.map +7 -0
- package/dist/chunk-WTPVXDJT.js +31 -0
- package/dist/chunk-XRIM2YJZ.js +228 -0
- package/dist/chunk-YSWMQO23.js +55 -0
- package/dist/chunk-ZBZXIWSK.js +402 -0
- package/dist/chunk-ZFFHOEBE.js +117 -0
- package/dist/chunk-ZG63ZUDE.js +102 -0
- package/dist/chunk-ZGQ3BMLW.js +2676 -0
- package/dist/chunk-ZNINQ3FN.js +293 -0
- package/dist/chunk-ZQZWM544.js +4172 -0
- package/dist/condition-4FVKPSQ2.js +323 -0
- package/dist/controls-ZWBN566I.js +35 -0
- package/dist/controls.btns-H4TWTHTW.js +10 -0
- package/dist/controls.config-YU4W3CDL.js +31 -0
- package/dist/correlation-VADB4SQO.js +102 -0
- package/dist/cuminc-4BXE2YS6.js +1143 -0
- package/dist/cuminc.integration.spec-XQREKHVA.js +669 -0
- package/dist/customdata.inputui-VBQWT3M7.js +278 -0
- package/dist/dataDownload-QIZKBKH7.js +320 -0
- package/dist/dataDownload.integration.spec-MLJEHLYD.js +184 -0
- package/dist/databrowser.ui-6UIR4ULJ.js +426 -0
- package/dist/dictionary-FLWIWAC6.js +90 -0
- package/dist/e2pca-NKWSJRXM.js +341 -0
- package/dist/ep-EPN3AR6D.js +1247 -0
- package/dist/expclust.gdc.spec-ZRUH5E6E.js +298 -0
- package/dist/facet-BM7SLACF.js +437 -0
- package/dist/frequencyChart-HBXRIBAW.js +371 -0
- package/dist/frequencyChart.integration.spec-YJUYZWM6.js +301 -0
- package/dist/geneExpClustering-4VD5PAWN.js +242 -0
- package/dist/geneExpression-6OT2Y4P6.js +54 -0
- package/dist/geneExpression-EAMEZXJQ.js +310 -0
- package/dist/geneORA-RI2AG7JT.js +272 -0
- package/dist/geneVariant-FYYEOTWA.js +32 -0
- package/dist/geneVariant-PAKVDVC4.js +29 -0
- package/dist/genefusion.ui-QWC42XWQ.js +242 -0
- package/dist/geneset-XA6IWP3Q.js +186 -0
- package/dist/genomeBrowser.spec-LRKXWXNT.js +272 -0
- package/dist/grin2-O6TETVZ3.js +1044 -0
- package/dist/grin2-O6TETVZ3.js.map +7 -0
- package/dist/grin2-WLB7BY3S.js +1547 -0
- package/dist/gsea-ZM4WOPSQ.js +43 -0
- package/dist/hierCluster-LD43LLRC.js +60 -0
- package/dist/hierCluster-ZGYRS2WV.js +56 -0
- package/dist/hierCluster.config-O5HUOFNH.js +32 -0
- package/dist/hierCluster.integration.spec-37UNKHTH.js +389 -0
- package/dist/hierCluster.interactivity-B27ETKRP.js +45 -0
- package/dist/hierCluster.renderers-GWFH5ZX7.js +21 -0
- package/dist/imagePlot-LJZVGNDJ.js +134 -0
- package/dist/importPlot-RMVENQRD.js +8 -0
- package/dist/launch.adhoc-S3XHRSLN.js +36 -0
- package/dist/leftlabel.sample-J6PCA3UB.js +249 -0
- package/dist/lollipop-OZTV4C7A.js +159 -0
- package/dist/maf-3SRLCKGO.js +435 -0
- package/dist/maf-3SRLCKGO.js.map +7 -0
- package/dist/maftimeline-6F2LQJU6.js +584 -0
- package/dist/matrix-FIXOFAB4.js +60 -0
- package/dist/matrix-O5KPDLM2.js +55 -0
- package/dist/matrix.cells-SCLZA3P4.js +30 -0
- package/dist/matrix.config-WG7HFJL4.js +33 -0
- package/dist/matrix.controls-QQLBUUYP.js +31 -0
- package/dist/matrix.data-6JLF5HVI.js +35 -0
- package/dist/matrix.dom-QO7BXZ27.js +11 -0
- package/dist/matrix.groups-QMZMZ6Q7.js +26 -0
- package/dist/matrix.integration.spec-ZJYWNQ57.js +2936 -0
- package/dist/matrix.interactivity-ZZY5ET4E.js +36 -0
- package/dist/matrix.layout-XKFB4PKY.js +35 -0
- package/dist/matrix.legend-CS6DNC5V.js +22 -0
- package/dist/matrix.renderers-4LST6PBA.js +29 -0
- package/dist/matrix.serieses-3SERD6CV.js +21 -0
- package/dist/matrix.sort-UVS6WHIS.js +27 -0
- package/dist/matrix.sort.unit.spec-CTSUNUWB.js +464 -0
- package/dist/matrix.sorterUi-JDGLTLJM.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-VQFMHIYI.js +335 -0
- package/dist/mavb-ECQ2CQ7F.js +723 -0
- package/dist/mds.fimo-JDYDT5NK.js +509 -0
- package/dist/mds.samplescatterplot-PEJBVSTO.js +1541 -0
- package/dist/mds.survivalplot-GYK6VRQT.js +474 -0
- package/dist/mutationSignature-43SECPTY.js +72 -0
- package/dist/numericDictTermCluster-2ER4FUKO.js +72 -0
- package/dist/oncomatrix-ZXDJMLN3.js +287 -0
- package/dist/oncomatrix.spec-HOPRIG3I.js +439 -0
- package/dist/plot.2dvaf-Y4SZUHLD.js +368 -0
- package/dist/plot.app-W5Z3C7P5.js +35 -0
- package/dist/plot.barplot-B2PRZDKV.js +93 -0
- package/dist/plot.boxplot-J7ET34FY.js +143 -0
- package/dist/plot.brainImaging-ISY4P6RT.js +51 -0
- package/dist/plot.disco-D7AL42PW.js +100 -0
- package/dist/plot.dzi-O32LH65U.js +33 -0
- package/dist/plot.ssgq-WF7262IZ.js +130 -0
- package/dist/plot.vaf2cov-OB6UKSFQ.js +250 -0
- package/dist/plot.wsi-J5S4YYXN.js +36 -0
- package/dist/polar-LIJORXR6.js +179 -0
- package/dist/profile.spec-3KE4CREI.js +71 -0
- package/dist/profileBarchart-UQHOJB5V.js +260 -0
- package/dist/profileForms-WTYVTIUN.js +365 -0
- package/dist/profilePlot-SOXXEUAT.js +50 -0
- package/dist/profileRadar-2OHJ2RIU.js +256 -0
- package/dist/profileRadarFacility-GHLG3QNG.js +256 -0
- package/dist/qualitative-B3OY7A7P.js +34 -0
- package/dist/regression-HO2TO4XT.js +57 -0
- package/dist/regression.inputs-JN3ZMIOP.js +49 -0
- package/dist/regression.inputs.term-67HVMXFZ.js +49 -0
- package/dist/regression.inputs.values.table-JXJK2YZT.js +46 -0
- package/dist/regression.integration.spec-L54ZS5VY.js +777 -0
- package/dist/regression.results-3ZSFKUNN.js +31 -0
- package/dist/regression.spec-SVWCQX2U.js +699 -0
- package/dist/report-IHX7XSOI.js +220 -0
- package/dist/runChart-QLQMK3OE.js +54 -0
- package/dist/runchart.integration.spec-5NVY5GHR.js +362 -0
- package/dist/sampleScatter.spec-4Q5CQQWH.js +193 -0
- package/dist/sampleView-7WHDFHB5.js +42 -0
- package/dist/samplelst-34GJVLVD.js +102 -0
- package/dist/samplematrix-L2HOSLUT.js +2189 -0
- package/dist/scatter-X6AAM2LJ.js +55 -0
- package/dist/scatter.integration.spec-QSH3PLBK.js +1026 -0
- package/dist/selectGenomeWithTklst-AJS2IPPW.js +125 -0
- package/dist/singleCellPlot-7JEWDVSR.js +50 -0
- package/dist/singlecell-IC5KU72L.js +1563 -0
- package/dist/singlecell-NWANPXWM.js +80 -0
- package/dist/snp-PSRNMTL6.js +73 -0
- package/dist/snplocus-QCAVDYLR.js +199 -0
- package/dist/spliceevent.a53ss.diagram-SGDJKUEC.js +142 -0
- package/dist/spliceevent.exonskip.diagram-BUYTHCK5.js +268 -0
- package/dist/spliceevent.noeventdiagram-OJZJUHXP.js +451 -0
- package/dist/ssGSEA-UUZG57MF.js +53 -0
- package/dist/stattable-324FS2HA.js +89 -0
- package/dist/summarizeCnvGeneexp-ZVZYWP43.js +136 -0
- package/dist/summarizeGeneexpSurvival-7XJRMT6M.js +90 -0
- package/dist/summarizeMutationDiagnosis-ZKLXOVY2.js +32 -0
- package/dist/summarizeMutationSurvival-S4YPGLWA.js +92 -0
- package/dist/summary-RVG7JL6Y.js +55 -0
- package/dist/summary.integration.spec-SCD35GO4.js +405 -0
- package/dist/summaryInput-DMN6DTSW.js +170 -0
- package/dist/sunburst-QZXYILRC.js +275 -0
- package/dist/survival-6CWEBRSF.js +41 -0
- package/dist/survival-J657VYLI.js +49 -0
- package/dist/survival.integration.spec-S5WE4V6M.js +601 -0
- package/dist/svgraph-NEKJL24M.js +1378 -0
- package/dist/svmr-5RQ5JQF2.js +3833 -0
- package/dist/table-CG6Z6NCJ.js +193 -0
- package/dist/termCollection-FOQNVXB7.js +80 -0
- package/dist/termInfo-5USFZGDB.js +9 -0
- package/dist/tk-2O7XOVGJ.js +37 -0
- package/dist/tp.ui-S4YUVCZH.js +1450 -0
- package/dist/tvs.dtcnv.continuous-7BPIXZ6C.js +65 -0
- package/dist/tvs.numeric-FCC2EY62.js +355 -0
- package/dist/tvs.samplelst-PKGFTULN.js +95 -0
- package/dist/violin-C7IBRTYP.js +47 -0
- package/dist/violin.integration.spec-WXRD3Z4E.js +1425 -0
- package/dist/violin.interactivity-BMG4TG5L.js +39 -0
- package/dist/violin.renderer-WUNW6ULV.js +31 -0
- package/dist/vocabulary-UUNEEBM3.js +32 -0
- package/package.json +3 -3
- package/dist/2dmaf-E4NOGWWO.js +0 -1364
- package/dist/AIProjectAdmin-3QDXMCOK.js +0 -780
- package/dist/AppHeader-IFZ57DJE.js +0 -813
- package/dist/BoxPlot-GXDTPRA5.js +0 -44
- package/dist/CorrelationVolcano-S4GUYIPT.js +0 -616
- package/dist/DifferentialAnalysis-YLKYWPUT.js +0 -237
- package/dist/Disco-OQMP3HRQ.js +0 -3089
- package/dist/Disco.UI-XB3XQP33.js +0 -238
- package/dist/DziViewer-UIRNTFNS.js +0 -16328
- package/dist/GB-KDPJTOLP.js +0 -1099
- package/dist/HicApp-XJERMLKH.js +0 -2218
- package/dist/NumBinaryEditor-5MWWWNLW.js +0 -259
- package/dist/NumBinaryEditor.unit.spec-ROGT5FOH.js +0 -277
- package/dist/NumContEditor-RRCB4CKG.js +0 -98
- package/dist/NumContEditor.unit.spec-AJTKOF7W.js +0 -160
- package/dist/NumCustomBinEditor-3GJITZ7V.js +0 -29
- package/dist/NumCustomBinEditor.unit.spec-DNBDZSHT.js +0 -275
- package/dist/NumDiscreteEditor-TARWA6CZ.js +0 -145
- package/dist/NumDiscreteEditor.unit.spec-TCSLTQ25.js +0 -193
- package/dist/NumRegularBinEditor-QF5ALVV4.js +0 -29
- package/dist/NumRegularBinEditor.unit.spec-GFNDBWNM.js +0 -220
- package/dist/NumSplineEditor-MOEUXR34.js +0 -181
- package/dist/NumSplineEditor.unit.spec-XPJOOXS4.js +0 -190
- package/dist/NumericDensity-JDE263EQ.js +0 -29
- package/dist/NumericDensity.unit.spec-RX6UGV56.js +0 -212
- package/dist/NumericHandler-XM7LUYHN.js +0 -30
- package/dist/NumericHandler.unit.spec-5EYRMII7.js +0 -210
- package/dist/SC-Z4KBNK7P.js +0 -714
- package/dist/Volcano-WYJLKM4K.js +0 -1018
- package/dist/WSIViewer-3RMG3VOA.js +0 -46959
- package/dist/WsiSamplesPlot-PAWNKI7R.js +0 -153
- package/dist/adSandbox-7H5H46SE.js +0 -29
- package/dist/alphaGenome-PODWDV5T.js +0 -170
- package/dist/app-JPURIGQW.js +0 -28
- package/dist/app-YL7S55T5.js +0 -54
- package/dist/bam-XEO47VYA.js +0 -842
- package/dist/barchart-B5M6SSJH.js +0 -48
- package/dist/barchart.data-6A6WVV4Y.js +0 -30
- package/dist/barchart.events-2GNB5KWY.js +0 -44
- package/dist/barchart.integration.spec-JEOTKIWC.js +0 -1600
- package/dist/bars.renderer-NLUBMQEO.js +0 -12
- package/dist/bars.settings-UQZ63KU4.js +0 -8
- package/dist/block-B7WMYLPO.js +0 -6291
- package/dist/block.init-KCIXEYQC.js +0 -29
- package/dist/block.mds.expressionrank-RYZXAH5Y.js +0 -350
- package/dist/block.mds.geneboxplot-LNWUEI6N.js +0 -819
- package/dist/block.mds.junction-CVIY7QMD.js +0 -1536
- package/dist/block.mds.svcnv-EUGWHSCA.js +0 -6792
- package/dist/block.svg-QBLNIGUF.js +0 -155
- package/dist/block.tk.aicheck-U6NG22FX.js +0 -274
- package/dist/block.tk.ase-U3TRZAOH.js +0 -356
- package/dist/block.tk.bam-6Y6YFVR2.js +0 -1897
- package/dist/block.tk.bedgraphdot-O3VCFX6K.js +0 -375
- package/dist/block.tk.bigwig.ui-DNBJAF72.js +0 -202
- package/dist/block.tk.hicstraw-2EIFJX7E.js +0 -814
- package/dist/block.tk.junction-UXSO5EJP.js +0 -2355
- package/dist/block.tk.junction.textmatrixui-HQ6ZKCHM.js +0 -190
- package/dist/block.tk.ld-NEB4F3UG.js +0 -90
- package/dist/block.tk.menu-BN4JPJSD.js +0 -1020
- package/dist/block.tk.pgv-A4QFVSPF.js +0 -935
- package/dist/brainImaging-ESQGNGZH.js +0 -417
- package/dist/chat-AY7RCQYY.js +0 -145
- package/dist/chat-AY7RCQYY.js.map +0 -7
- package/dist/chunk-236ZRGXA.js +0 -297
- package/dist/chunk-2DZWOGEH.js +0 -272
- package/dist/chunk-2HQJMZNY.js +0 -14
- package/dist/chunk-2MRZFUHZ.js +0 -165
- package/dist/chunk-2ZEORJCF.js +0 -215
- package/dist/chunk-3WA7SJTR.js +0 -82
- package/dist/chunk-47HG7LGD.js +0 -133
- package/dist/chunk-47X254B7.js +0 -91
- package/dist/chunk-4TPDYPGD.js +0 -1098
- package/dist/chunk-4TPDYPGD.js.map +0 -7
- package/dist/chunk-4WA2H5DE.js +0 -75
- package/dist/chunk-4WA2H5DE.js.map +0 -7
- package/dist/chunk-4XDKCFFT.js +0 -613
- package/dist/chunk-5CJJLBUZ.js +0 -229
- package/dist/chunk-5TDKRZN5.js +0 -1931
- package/dist/chunk-5TDKRZN5.js.map +0 -7
- package/dist/chunk-6MSJ3TLQ.js +0 -1151
- package/dist/chunk-7JAFXNAL.js +0 -256
- package/dist/chunk-7JAFXNAL.js.map +0 -7
- package/dist/chunk-7LKSKJCV.js +0 -480
- package/dist/chunk-7P67W6NF.js +0 -190
- package/dist/chunk-7RIC35AF.js +0 -129
- package/dist/chunk-A76B53VT.js +0 -158
- package/dist/chunk-AZ276Z7T.js +0 -2327
- package/dist/chunk-B662XJMJ.js +0 -748
- package/dist/chunk-BK7GIOC5.js +0 -4924
- package/dist/chunk-BK7GIOC5.js.map +0 -7
- package/dist/chunk-BP2F2GRB.js +0 -2676
- package/dist/chunk-BRO4KZSZ.js +0 -417
- package/dist/chunk-BRO4KZSZ.js.map +0 -7
- package/dist/chunk-C5YNONHQ.js +0 -144
- package/dist/chunk-CT3LPTWW.js +0 -1197
- package/dist/chunk-CZTC4MTE.js +0 -161
- package/dist/chunk-DA5VGV5L.js +0 -280
- package/dist/chunk-DA5VGV5L.js.map +0 -7
- package/dist/chunk-DPU66MZ7.js +0 -381
- package/dist/chunk-E6NE5IWR.js +0 -102
- package/dist/chunk-ECKWM4HB.js +0 -1536
- package/dist/chunk-EEX5VPJG.js +0 -467
- package/dist/chunk-EIMEUZP2.js +0 -323
- package/dist/chunk-ETFPL4UP.js +0 -4172
- package/dist/chunk-F3FTQWTA.js +0 -303
- package/dist/chunk-F4APZ34G.js +0 -55
- package/dist/chunk-FOXJTDTH.js +0 -166
- package/dist/chunk-FYTZCTJC.js +0 -1157
- package/dist/chunk-FYTZCTJC.js.map +0 -7
- package/dist/chunk-GBS5I24E.js +0 -1706
- package/dist/chunk-GBS5I24E.js.map +0 -7
- package/dist/chunk-GBWRKJAH.js +0 -413
- package/dist/chunk-GG67VPVD.js +0 -238
- package/dist/chunk-GZ2B634M.js +0 -123
- package/dist/chunk-HEFXMCSF.js +0 -6364
- package/dist/chunk-I26R4NJJ.js +0 -228
- package/dist/chunk-I2GCD26Y.js +0 -55
- package/dist/chunk-I2GCD26Y.js.map +0 -7
- package/dist/chunk-ICNJQHQZ.js +0 -117
- package/dist/chunk-IPAGDFO4.js +0 -80
- package/dist/chunk-J2E4FALN.js +0 -1415
- package/dist/chunk-JXHU2FIA.js +0 -2789
- package/dist/chunk-K7LZ77GD.js +0 -468
- package/dist/chunk-K7LZ77GD.js.map +0 -7
- package/dist/chunk-KACWSU3U.js +0 -487
- package/dist/chunk-KACWSU3U.js.map +0 -7
- package/dist/chunk-KGSCQRQ5.js +0 -203
- package/dist/chunk-KGYPMYQD.js +0 -1143
- package/dist/chunk-L3PMRBTA.js +0 -422
- package/dist/chunk-M7QVMSRW.js +0 -293
- package/dist/chunk-MG6GRQKO.js +0 -459
- package/dist/chunk-N5VBIEH5.js +0 -1412
- package/dist/chunk-NRYOB7WU.js +0 -252
- package/dist/chunk-NXOWHUR4.js +0 -311
- package/dist/chunk-NXOWHUR4.js.map +0 -7
- package/dist/chunk-OFQV6PRB.js +0 -1275
- package/dist/chunk-OMO754MK.js +0 -177
- package/dist/chunk-OQSP66C6.js +0 -226
- package/dist/chunk-OS46MR72.js +0 -368
- package/dist/chunk-PBJFLQGL.js +0 -142
- package/dist/chunk-PMZS3SHH.js +0 -2877
- package/dist/chunk-PPJSDC3Z.js +0 -157
- package/dist/chunk-QIS45Z4Y.js +0 -2784
- package/dist/chunk-RCVZ4L7K.js +0 -402
- package/dist/chunk-ROWCKPNW.js +0 -1088
- package/dist/chunk-RQUXELHE.js +0 -276
- package/dist/chunk-RYRCMHYR.js +0 -196
- package/dist/chunk-S7EKSDVS.js +0 -258
- package/dist/chunk-SN5QKRXO.js +0 -85
- package/dist/chunk-TZRD3FPN.js +0 -634
- package/dist/chunk-U5QRRS7K.js +0 -619
- package/dist/chunk-UOMRXQNW.js +0 -401
- package/dist/chunk-UT6W4ZZL.js +0 -15048
- package/dist/chunk-UT6W4ZZL.js.map +0 -7
- package/dist/chunk-UZV3QI5M.js +0 -518
- package/dist/chunk-VALBVQXS.js +0 -217
- package/dist/chunk-VDR5JXI2.js +0 -444
- package/dist/chunk-VDR5JXI2.js.map +0 -7
- package/dist/chunk-W4D2EYE4.js +0 -95
- package/dist/chunk-XATIKUGU.js +0 -142
- package/dist/chunk-ZHWC5SJP.js +0 -797
- package/dist/chunk-ZHWC5SJP.js.map +0 -7
- package/dist/chunk-ZL4CNBYY.js +0 -149
- package/dist/chunk-ZQ7L66GP.js +0 -31
- package/dist/condition-24HPVH23.js +0 -323
- package/dist/controls-5CSAKANR.js +0 -35
- package/dist/controls.btns-QLLBCT65.js +0 -10
- package/dist/controls.config-H4FMU5LI.js +0 -31
- package/dist/correlation-RB77VSXB.js +0 -102
- package/dist/cuminc-YZSLH5IO.js +0 -1143
- package/dist/cuminc.integration.spec-MZPT3Y5A.js +0 -669
- package/dist/customdata.inputui-CBTZFODT.js +0 -278
- package/dist/dataDownload-ZTGRVI4Q.js +0 -320
- package/dist/dataDownload.integration.spec-Q6GUTUYD.js +0 -184
- package/dist/databrowser.ui-V7E6CLUZ.js +0 -426
- package/dist/dictionary-RPC5OZMM.js +0 -90
- package/dist/e2pca-WDQHMAUM.js +0 -341
- package/dist/ep-NAM34BBI.js +0 -1247
- package/dist/expclust.gdc.spec-QB4GVDJA.js +0 -298
- package/dist/facet-DOXBBIG6.js +0 -437
- package/dist/frequencyChart-GLOIGP3T.js +0 -371
- package/dist/frequencyChart.integration.spec-B7NBBLH2.js +0 -301
- package/dist/geneExpClustering-B4S6GFNT.js +0 -242
- package/dist/geneExpression-DMU4AQP6.js +0 -310
- package/dist/geneExpression-MVVXRNEY.js +0 -54
- package/dist/geneORA-XDAITCQF.js +0 -272
- package/dist/geneVariant-N6IGEIRR.js +0 -29
- package/dist/geneVariant-QYLA2V6J.js +0 -32
- package/dist/genefusion.ui-FRBMNK7V.js +0 -242
- package/dist/geneset-GZYNBG7Y.js +0 -186
- package/dist/genomeBrowser.spec-WFIVQSE7.js +0 -272
- package/dist/grin2-I6GJF35U.js +0 -882
- package/dist/grin2-I6GJF35U.js.map +0 -7
- package/dist/grin2-ZKNNZXON.js +0 -1547
- package/dist/gsea-GFGAEC4K.js +0 -43
- package/dist/hierCluster-MF4TI3E4.js +0 -60
- package/dist/hierCluster-SDJMQLOQ.js +0 -56
- package/dist/hierCluster.config-RMEX3VTC.js +0 -32
- package/dist/hierCluster.integration.spec-3H63OHMU.js +0 -389
- package/dist/hierCluster.interactivity-4DZBRQ6P.js +0 -45
- package/dist/hierCluster.renderers-UOW7BI6N.js +0 -21
- package/dist/imagePlot-P2UHJRSL.js +0 -134
- package/dist/importPlot-PPCMNVOW.js +0 -8
- package/dist/launch.adhoc-RJWUEVRA.js +0 -36
- package/dist/leftlabel.sample-OYP6MICL.js +0 -249
- package/dist/lollipop-BXQOWLGO.js +0 -159
- package/dist/maf-YJJO773K.js +0 -448
- package/dist/maf-YJJO773K.js.map +0 -7
- package/dist/maftimeline-GHKDDWYR.js +0 -584
- package/dist/matrix-FWDLHZYR.js +0 -60
- package/dist/matrix-YMJFP53F.js +0 -55
- package/dist/matrix.cells-JH7FPY3E.js +0 -30
- package/dist/matrix.config-HIHOLDCE.js +0 -33
- package/dist/matrix.controls-EKZ543FY.js +0 -31
- package/dist/matrix.data-NKAZI2BF.js +0 -35
- package/dist/matrix.dom-RGZ52GJ2.js +0 -11
- package/dist/matrix.groups-BO53ZXXV.js +0 -26
- package/dist/matrix.integration.spec-BXTATNAC.js +0 -2936
- package/dist/matrix.interactivity-UGUMKCFN.js +0 -36
- package/dist/matrix.layout-WBIF5QTG.js +0 -35
- package/dist/matrix.legend-P3GFCXXK.js +0 -22
- package/dist/matrix.renderers-I54IHQ3S.js +0 -29
- package/dist/matrix.serieses-R2T57OYI.js +0 -21
- package/dist/matrix.sort-3GCA2GDU.js +0 -27
- package/dist/matrix.sort.unit.spec-AXGPCZZD.js +0 -464
- package/dist/matrix.sorterUi-QWRK6OGE.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-H7GUVWRJ.js +0 -335
- package/dist/mavb-4EECWXYX.js +0 -723
- package/dist/mds.fimo-NHZOY43X.js +0 -509
- package/dist/mds.samplescatterplot-7A5IZ6W7.js +0 -1541
- package/dist/mds.survivalplot-SQDPUFQE.js +0 -474
- package/dist/mutationSignature-QH7PZYKL.js +0 -72
- package/dist/numericDictTermCluster-X5SGSC5K.js +0 -72
- package/dist/oncomatrix-M4C4XPQK.js +0 -287
- package/dist/oncomatrix.spec-3C642O7O.js +0 -439
- package/dist/plot.2dvaf-TILP7J53.js +0 -368
- package/dist/plot.app-DE2UQP2M.js +0 -35
- package/dist/plot.barplot-FJHS765K.js +0 -93
- package/dist/plot.boxplot-YRSHGNYZ.js +0 -143
- package/dist/plot.brainImaging-JV4OUVJY.js +0 -51
- package/dist/plot.disco-DBVPBMLG.js +0 -100
- package/dist/plot.dzi-O2OA4EBK.js +0 -33
- package/dist/plot.ssgq-YFQEZQYK.js +0 -130
- package/dist/plot.vaf2cov-YNFP5LJ4.js +0 -250
- package/dist/plot.wsi-DJB7TDIS.js +0 -36
- package/dist/polar-K5Z5FYKV.js +0 -179
- package/dist/profile.spec-A6EADWEC.js +0 -71
- package/dist/profileBarchart-EFLPJK2P.js +0 -260
- package/dist/profileForms-TG35YNLD.js +0 -365
- package/dist/profilePlot-2EW2XVTK.js +0 -50
- package/dist/profileRadar-AKUYC2O5.js +0 -256
- package/dist/profileRadarFacility-EAT66XTX.js +0 -256
- package/dist/qualitative-PHQU5DXE.js +0 -34
- package/dist/regression-EOMJRRDO.js +0 -57
- package/dist/regression.inputs-LIH5X2JM.js +0 -49
- package/dist/regression.inputs.term-OO4RZ3QB.js +0 -49
- package/dist/regression.inputs.values.table-E7WCTO2L.js +0 -46
- package/dist/regression.integration.spec-62VEQP6X.js +0 -777
- package/dist/regression.results-WAHFJ6NA.js +0 -31
- package/dist/regression.spec-IBIOTZVX.js +0 -699
- package/dist/report-MKDJXHGY.js +0 -220
- package/dist/runChart-ETM2EETF.js +0 -54
- package/dist/runchart.integration.spec-QFA4XBKB.js +0 -362
- package/dist/sampleScatter.spec-N4N7ZGZF.js +0 -193
- package/dist/sampleView-JTY3RV7I.js +0 -42
- package/dist/samplelst-RRUMBVT6.js +0 -102
- package/dist/samplematrix-L37O664Y.js +0 -2189
- package/dist/scatter-E5QHW32W.js +0 -55
- package/dist/scatter.integration.spec-FNVAJSVU.js +0 -1026
- package/dist/selectGenomeWithTklst-J6VXCYGG.js +0 -125
- package/dist/singleCellPlot-S6S6CKYX.js +0 -50
- package/dist/singlecell-4BMIKFY4.js +0 -80
- package/dist/singlecell-B4TNI23F.js +0 -1563
- package/dist/snp-PAUQ24NZ.js +0 -73
- package/dist/snplocus-HVFYZTEE.js +0 -199
- package/dist/spliceevent.a53ss.diagram-GGGHVNBF.js +0 -142
- package/dist/spliceevent.exonskip.diagram-HLMFD6LJ.js +0 -268
- package/dist/spliceevent.noeventdiagram-CKZ3BZ7Y.js +0 -451
- package/dist/ssGSEA-UGT4GH55.js +0 -53
- package/dist/stattable-6JWMALGB.js +0 -89
- package/dist/summarizeCnvGeneexp-BJOQY62E.js +0 -136
- package/dist/summarizeGeneexpSurvival-4HDHL7PE.js +0 -90
- package/dist/summarizeMutationDiagnosis-TDWO5CKU.js +0 -32
- package/dist/summarizeMutationSurvival-CJJFABOX.js +0 -92
- package/dist/summary-WOAXXIHG.js +0 -55
- package/dist/summary.integration.spec-GM73ERMN.js +0 -405
- package/dist/summaryInput-FD4SONTY.js +0 -170
- package/dist/sunburst-3LCJTBRN.js +0 -275
- package/dist/survival-A3A7IVXT.js +0 -41
- package/dist/survival-XF72VMM6.js +0 -49
- package/dist/survival.integration.spec-AU7MCAQV.js +0 -601
- package/dist/svgraph-BEMS4JDJ.js +0 -1378
- package/dist/svmr-CDEMTZPK.js +0 -3833
- package/dist/table-WYF6QCGB.js +0 -193
- package/dist/termCollection-BVQMNVY7.js +0 -80
- package/dist/termInfo-JXLIVCSO.js +0 -9
- package/dist/tk-TGIIJYBO.js +0 -37
- package/dist/tp.ui-USYF67P7.js +0 -1450
- package/dist/tvs.dtcnv.continuous-7SCTSFK3.js +0 -65
- package/dist/tvs.numeric-OLVW6US3.js +0 -355
- package/dist/tvs.samplelst-BHZHCX5V.js +0 -95
- package/dist/violin-OEOWVIZF.js +0 -47
- package/dist/violin.integration.spec-AW2U3RHO.js +0 -1425
- package/dist/violin.interactivity-3O2UDNPQ.js +0 -39
- package/dist/violin.renderer-W26FA6M7.js +0 -31
- package/dist/vocabulary-BIQYDKVY.js +0 -32
- /package/dist/{2dmaf-E4NOGWWO.js.map → 2dmaf-6M6QWXAQ.js.map} +0 -0
- /package/dist/{AIProjectAdmin-3QDXMCOK.js.map → AIProjectAdmin-2NHMC3IV.js.map} +0 -0
- /package/dist/{AppHeader-IFZ57DJE.js.map → AppHeader-CTHEWSZD.js.map} +0 -0
- /package/dist/{BoxPlot-GXDTPRA5.js.map → BoxPlot-3U6ZAKKO.js.map} +0 -0
- /package/dist/{CorrelationVolcano-S4GUYIPT.js.map → CorrelationVolcano-2ASIR6KY.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-YLKYWPUT.js.map → DifferentialAnalysis-C3NYGF7U.js.map} +0 -0
- /package/dist/{Disco-OQMP3HRQ.js.map → Disco-2QLBZ3X5.js.map} +0 -0
- /package/dist/{Disco.UI-XB3XQP33.js.map → Disco.UI-GPIIPM2P.js.map} +0 -0
- /package/dist/{DziViewer-UIRNTFNS.js.map → DziViewer-OHPZOH72.js.map} +0 -0
- /package/dist/{GB-KDPJTOLP.js.map → GB-FH6YQGHI.js.map} +0 -0
- /package/dist/{HicApp-XJERMLKH.js.map → HicApp-TI2II3SZ.js.map} +0 -0
- /package/dist/{NumBinaryEditor-5MWWWNLW.js.map → NumBinaryEditor-O42T63EX.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-ROGT5FOH.js.map → NumBinaryEditor.unit.spec-UMB2PHT5.js.map} +0 -0
- /package/dist/{NumContEditor-RRCB4CKG.js.map → NumContEditor-7NOUKPCV.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-AJTKOF7W.js.map → NumContEditor.unit.spec-JGXJ2HLE.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-3GJITZ7V.js.map → NumCustomBinEditor-6CHN3KX3.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-DNBDZSHT.js.map → NumCustomBinEditor.unit.spec-RJPQLE3E.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-TARWA6CZ.js.map → NumDiscreteEditor-AFTUKU4K.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-TCSLTQ25.js.map → NumDiscreteEditor.unit.spec-GKR6ZNBQ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-QF5ALVV4.js.map → NumRegularBinEditor-UJ5WQPHR.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-GFNDBWNM.js.map → NumRegularBinEditor.unit.spec-5HGJQEX7.js.map} +0 -0
- /package/dist/{NumSplineEditor-MOEUXR34.js.map → NumSplineEditor-JANA2DUE.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-XPJOOXS4.js.map → NumSplineEditor.unit.spec-UYAMAKZD.js.map} +0 -0
- /package/dist/{NumericDensity-JDE263EQ.js.map → NumericDensity-YE5R4CNP.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-RX6UGV56.js.map → NumericDensity.unit.spec-SVEB5U2S.js.map} +0 -0
- /package/dist/{NumericHandler-XM7LUYHN.js.map → NumericHandler-WW4M7YW2.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-5EYRMII7.js.map → NumericHandler.unit.spec-2BWDFO53.js.map} +0 -0
- /package/dist/{SC-Z4KBNK7P.js.map → SC-UGJGMBL7.js.map} +0 -0
- /package/dist/{Volcano-WYJLKM4K.js.map → Volcano-IU76MEIL.js.map} +0 -0
- /package/dist/{WSIViewer-3RMG3VOA.js.map → WSIViewer-3S7N4UDO.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-PAWNKI7R.js.map → WsiSamplesPlot-4CAOHWCL.js.map} +0 -0
- /package/dist/{adSandbox-7H5H46SE.js.map → adSandbox-AEBS3RTL.js.map} +0 -0
- /package/dist/{alphaGenome-PODWDV5T.js.map → alphaGenome-F2PB4SGI.js.map} +0 -0
- /package/dist/{app-JPURIGQW.js.map → app-6SKETLMT.js.map} +0 -0
- /package/dist/{app-YL7S55T5.js.map → app-GBEF2HBR.js.map} +0 -0
- /package/dist/{bam-XEO47VYA.js.map → bam-5SE6XQJV.js.map} +0 -0
- /package/dist/{barchart-B5M6SSJH.js.map → barchart-AUSOT2XB.js.map} +0 -0
- /package/dist/{barchart.data-6A6WVV4Y.js.map → barchart.data-GYCNBRPY.js.map} +0 -0
- /package/dist/{barchart.events-2GNB5KWY.js.map → barchart.events-QTSWNYXO.js.map} +0 -0
- /package/dist/{barchart.integration.spec-JEOTKIWC.js.map → barchart.integration.spec-LORJLJVX.js.map} +0 -0
- /package/dist/{bars.renderer-NLUBMQEO.js.map → bars.renderer-4N4QOUNI.js.map} +0 -0
- /package/dist/{bars.settings-UQZ63KU4.js.map → bars.settings-SDU7PZOS.js.map} +0 -0
- /package/dist/{block-B7WMYLPO.js.map → block-QLSIELXK.js.map} +0 -0
- /package/dist/{block.init-KCIXEYQC.js.map → block.init-OOLEA6ZK.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-RYZXAH5Y.js.map → block.mds.expressionrank-D2KUISXZ.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-LNWUEI6N.js.map → block.mds.geneboxplot-AMYBWXPS.js.map} +0 -0
- /package/dist/{block.mds.junction-CVIY7QMD.js.map → block.mds.junction-OG335MBK.js.map} +0 -0
- /package/dist/{block.mds.svcnv-EUGWHSCA.js.map → block.mds.svcnv-WYDBQ6FV.js.map} +0 -0
- /package/dist/{block.svg-QBLNIGUF.js.map → block.svg-OH73245R.js.map} +0 -0
- /package/dist/{block.tk.aicheck-U6NG22FX.js.map → block.tk.aicheck-CG5THFW2.js.map} +0 -0
- /package/dist/{block.tk.ase-U3TRZAOH.js.map → block.tk.ase-G2L3G5MQ.js.map} +0 -0
- /package/dist/{block.tk.bam-6Y6YFVR2.js.map → block.tk.bam-DXWCA6EU.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-O3VCFX6K.js.map → block.tk.bedgraphdot-LF3TFPNL.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-DNBJAF72.js.map → block.tk.bigwig.ui-JKXZ3VDF.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-2EIFJX7E.js.map → block.tk.hicstraw-ZK4RKFB6.js.map} +0 -0
- /package/dist/{block.tk.junction-UXSO5EJP.js.map → block.tk.junction-ZB7Q2NLB.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-HQ6ZKCHM.js.map → block.tk.junction.textmatrixui-ZYNQWKIW.js.map} +0 -0
- /package/dist/{block.tk.ld-NEB4F3UG.js.map → block.tk.ld-7H64HGER.js.map} +0 -0
- /package/dist/{block.tk.menu-BN4JPJSD.js.map → block.tk.menu-WFVKAH74.js.map} +0 -0
- /package/dist/{block.tk.pgv-A4QFVSPF.js.map → block.tk.pgv-632LLSBI.js.map} +0 -0
- /package/dist/{brainImaging-ESQGNGZH.js.map → brainImaging-AEPTHIQF.js.map} +0 -0
- /package/dist/{chunk-U5QRRS7K.js.map → chunk-22O6F463.js.map} +0 -0
- /package/dist/{chunk-NRYOB7WU.js.map → chunk-2HJ7OD7H.js.map} +0 -0
- /package/dist/{chunk-PMZS3SHH.js.map → chunk-2MN5JLZB.js.map} +0 -0
- /package/dist/{chunk-7LKSKJCV.js.map → chunk-37CK5IGW.js.map} +0 -0
- /package/dist/{chunk-IPAGDFO4.js.map → chunk-3JFEWVHR.js.map} +0 -0
- /package/dist/{chunk-47HG7LGD.js.map → chunk-3MGBC64I.js.map} +0 -0
- /package/dist/{chunk-HEFXMCSF.js.map → chunk-3NWLWH4G.js.map} +0 -0
- /package/dist/{chunk-XATIKUGU.js.map → chunk-4GKQ5PWY.js.map} +0 -0
- /package/dist/{chunk-OQSP66C6.js.map → chunk-4PHD5H4A.js.map} +0 -0
- /package/dist/{chunk-GBWRKJAH.js.map → chunk-56IFQMJK.js.map} +0 -0
- /package/dist/{chunk-A76B53VT.js.map → chunk-5DMFTXUZ.js.map} +0 -0
- /package/dist/{chunk-W4D2EYE4.js.map → chunk-5QJDZHRU.js.map} +0 -0
- /package/dist/{chunk-OFQV6PRB.js.map → chunk-5WAVKWL6.js.map} +0 -0
- /package/dist/{chunk-C5YNONHQ.js.map → chunk-6ISTNHM6.js.map} +0 -0
- /package/dist/{chunk-ECKWM4HB.js.map → chunk-6VQ4C735.js.map} +0 -0
- /package/dist/{chunk-5CJJLBUZ.js.map → chunk-74WMSW3E.js.map} +0 -0
- /package/dist/{chunk-MG6GRQKO.js.map → chunk-AFU66YOW.js.map} +0 -0
- /package/dist/{chunk-2HQJMZNY.js.map → chunk-AUJ2YUXV.js.map} +0 -0
- /package/dist/{chunk-UZV3QI5M.js.map → chunk-B65X5UQH.js.map} +0 -0
- /package/dist/{chunk-TZRD3FPN.js.map → chunk-B6I64LSV.js.map} +0 -0
- /package/dist/{chunk-SN5QKRXO.js.map → chunk-BTYCW3D5.js.map} +0 -0
- /package/dist/{chunk-J2E4FALN.js.map → chunk-CCB5KYFQ.js.map} +0 -0
- /package/dist/{chunk-EEX5VPJG.js.map → chunk-CKLYFA7H.js.map} +0 -0
- /package/dist/{chunk-2DZWOGEH.js.map → chunk-CLYRJ466.js.map} +0 -0
- /package/dist/{chunk-3WA7SJTR.js.map → chunk-CPHCZZWT.js.map} +0 -0
- /package/dist/{chunk-VALBVQXS.js.map → chunk-CUADOD2T.js.map} +0 -0
- /package/dist/{chunk-L3PMRBTA.js.map → chunk-CV6ID6T7.js.map} +0 -0
- /package/dist/{chunk-7P67W6NF.js.map → chunk-CWHBWY3B.js.map} +0 -0
- /package/dist/{chunk-GG67VPVD.js.map → chunk-D53HBTYQ.js.map} +0 -0
- /package/dist/{chunk-RYRCMHYR.js.map → chunk-DKI7YOTJ.js.map} +0 -0
- /package/dist/{chunk-2MRZFUHZ.js.map → chunk-DNU4IPD2.js.map} +0 -0
- /package/dist/{chunk-AZ276Z7T.js.map → chunk-H6HP4H3U.js.map} +0 -0
- /package/dist/{chunk-GZ2B634M.js.map → chunk-HPEMEDXB.js.map} +0 -0
- /package/dist/{chunk-6MSJ3TLQ.js.map → chunk-HUDESZGX.js.map} +0 -0
- /package/dist/{chunk-FOXJTDTH.js.map → chunk-J7IU77CA.js.map} +0 -0
- /package/dist/{chunk-DPU66MZ7.js.map → chunk-JMO7ENSD.js.map} +0 -0
- /package/dist/{chunk-7RIC35AF.js.map → chunk-JTPN3BRG.js.map} +0 -0
- /package/dist/{chunk-EIMEUZP2.js.map → chunk-KCAMFDJH.js.map} +0 -0
- /package/dist/{chunk-OMO754MK.js.map → chunk-LD45BCVM.js.map} +0 -0
- /package/dist/{chunk-N5VBIEH5.js.map → chunk-LMELY5Z2.js.map} +0 -0
- /package/dist/{chunk-2ZEORJCF.js.map → chunk-LVQK62CV.js.map} +0 -0
- /package/dist/{chunk-PPJSDC3Z.js.map → chunk-MCVLRF66.js.map} +0 -0
- /package/dist/{chunk-4XDKCFFT.js.map → chunk-MLD7DW5I.js.map} +0 -0
- /package/dist/{chunk-JXHU2FIA.js.map → chunk-NEF7LGNE.js.map} +0 -0
- /package/dist/{chunk-UOMRXQNW.js.map → chunk-OARG7PAV.js.map} +0 -0
- /package/dist/{chunk-B662XJMJ.js.map → chunk-OGWY4MOB.js.map} +0 -0
- /package/dist/{chunk-QIS45Z4Y.js.map → chunk-PQD6K5W5.js.map} +0 -0
- /package/dist/{chunk-47X254B7.js.map → chunk-Q4FYGFTQ.js.map} +0 -0
- /package/dist/{chunk-F3FTQWTA.js.map → chunk-RA2KI64U.js.map} +0 -0
- /package/dist/{chunk-ROWCKPNW.js.map → chunk-RHHLAKYS.js.map} +0 -0
- /package/dist/{chunk-S7EKSDVS.js.map → chunk-RKV3CP4C.js.map} +0 -0
- /package/dist/{chunk-OS46MR72.js.map → chunk-RL7RU2V7.js.map} +0 -0
- /package/dist/{chunk-CZTC4MTE.js.map → chunk-RQ7CE7SK.js.map} +0 -0
- /package/dist/{chunk-KGYPMYQD.js.map → chunk-RX552WU6.js.map} +0 -0
- /package/dist/{chunk-RQUXELHE.js.map → chunk-S7V4SFKB.js.map} +0 -0
- /package/dist/{chunk-PBJFLQGL.js.map → chunk-SEL5UNRC.js.map} +0 -0
- /package/dist/{chunk-236ZRGXA.js.map → chunk-SRBO57AD.js.map} +0 -0
- /package/dist/{chunk-CT3LPTWW.js.map → chunk-SYGLOTOV.js.map} +0 -0
- /package/dist/{chunk-KGSCQRQ5.js.map → chunk-UZ466XO3.js.map} +0 -0
- /package/dist/{chunk-ZL4CNBYY.js.map → chunk-VDF5W47R.js.map} +0 -0
- /package/dist/{chunk-ZQ7L66GP.js.map → chunk-WTPVXDJT.js.map} +0 -0
- /package/dist/{chunk-I26R4NJJ.js.map → chunk-XRIM2YJZ.js.map} +0 -0
- /package/dist/{chunk-F4APZ34G.js.map → chunk-YSWMQO23.js.map} +0 -0
- /package/dist/{chunk-RCVZ4L7K.js.map → chunk-ZBZXIWSK.js.map} +0 -0
- /package/dist/{chunk-ICNJQHQZ.js.map → chunk-ZFFHOEBE.js.map} +0 -0
- /package/dist/{chunk-E6NE5IWR.js.map → chunk-ZG63ZUDE.js.map} +0 -0
- /package/dist/{chunk-BP2F2GRB.js.map → chunk-ZGQ3BMLW.js.map} +0 -0
- /package/dist/{chunk-M7QVMSRW.js.map → chunk-ZNINQ3FN.js.map} +0 -0
- /package/dist/{chunk-ETFPL4UP.js.map → chunk-ZQZWM544.js.map} +0 -0
- /package/dist/{condition-24HPVH23.js.map → condition-4FVKPSQ2.js.map} +0 -0
- /package/dist/{controls-5CSAKANR.js.map → controls-ZWBN566I.js.map} +0 -0
- /package/dist/{controls.btns-QLLBCT65.js.map → controls.btns-H4TWTHTW.js.map} +0 -0
- /package/dist/{controls.config-H4FMU5LI.js.map → controls.config-YU4W3CDL.js.map} +0 -0
- /package/dist/{correlation-RB77VSXB.js.map → correlation-VADB4SQO.js.map} +0 -0
- /package/dist/{cuminc-YZSLH5IO.js.map → cuminc-4BXE2YS6.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-MZPT3Y5A.js.map → cuminc.integration.spec-XQREKHVA.js.map} +0 -0
- /package/dist/{customdata.inputui-CBTZFODT.js.map → customdata.inputui-VBQWT3M7.js.map} +0 -0
- /package/dist/{dataDownload-ZTGRVI4Q.js.map → dataDownload-QIZKBKH7.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-Q6GUTUYD.js.map → dataDownload.integration.spec-MLJEHLYD.js.map} +0 -0
- /package/dist/{databrowser.ui-V7E6CLUZ.js.map → databrowser.ui-6UIR4ULJ.js.map} +0 -0
- /package/dist/{dictionary-RPC5OZMM.js.map → dictionary-FLWIWAC6.js.map} +0 -0
- /package/dist/{e2pca-WDQHMAUM.js.map → e2pca-NKWSJRXM.js.map} +0 -0
- /package/dist/{ep-NAM34BBI.js.map → ep-EPN3AR6D.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-QB4GVDJA.js.map → expclust.gdc.spec-ZRUH5E6E.js.map} +0 -0
- /package/dist/{facet-DOXBBIG6.js.map → facet-BM7SLACF.js.map} +0 -0
- /package/dist/{frequencyChart-GLOIGP3T.js.map → frequencyChart-HBXRIBAW.js.map} +0 -0
- /package/dist/{frequencyChart.integration.spec-B7NBBLH2.js.map → frequencyChart.integration.spec-YJUYZWM6.js.map} +0 -0
- /package/dist/{geneExpClustering-B4S6GFNT.js.map → geneExpClustering-4VD5PAWN.js.map} +0 -0
- /package/dist/{geneExpression-MVVXRNEY.js.map → geneExpression-6OT2Y4P6.js.map} +0 -0
- /package/dist/{geneExpression-DMU4AQP6.js.map → geneExpression-EAMEZXJQ.js.map} +0 -0
- /package/dist/{geneORA-XDAITCQF.js.map → geneORA-RI2AG7JT.js.map} +0 -0
- /package/dist/{geneVariant-N6IGEIRR.js.map → geneVariant-FYYEOTWA.js.map} +0 -0
- /package/dist/{geneVariant-QYLA2V6J.js.map → geneVariant-PAKVDVC4.js.map} +0 -0
- /package/dist/{genefusion.ui-FRBMNK7V.js.map → genefusion.ui-QWC42XWQ.js.map} +0 -0
- /package/dist/{geneset-GZYNBG7Y.js.map → geneset-XA6IWP3Q.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-WFIVQSE7.js.map → genomeBrowser.spec-LRKXWXNT.js.map} +0 -0
- /package/dist/{grin2-ZKNNZXON.js.map → grin2-WLB7BY3S.js.map} +0 -0
- /package/dist/{gsea-GFGAEC4K.js.map → gsea-ZM4WOPSQ.js.map} +0 -0
- /package/dist/{hierCluster-MF4TI3E4.js.map → hierCluster-LD43LLRC.js.map} +0 -0
- /package/dist/{hierCluster-SDJMQLOQ.js.map → hierCluster-ZGYRS2WV.js.map} +0 -0
- /package/dist/{hierCluster.config-RMEX3VTC.js.map → hierCluster.config-O5HUOFNH.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-3H63OHMU.js.map → hierCluster.integration.spec-37UNKHTH.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-4DZBRQ6P.js.map → hierCluster.interactivity-B27ETKRP.js.map} +0 -0
- /package/dist/{hierCluster.renderers-UOW7BI6N.js.map → hierCluster.renderers-GWFH5ZX7.js.map} +0 -0
- /package/dist/{imagePlot-P2UHJRSL.js.map → imagePlot-LJZVGNDJ.js.map} +0 -0
- /package/dist/{importPlot-PPCMNVOW.js.map → importPlot-RMVENQRD.js.map} +0 -0
- /package/dist/{launch.adhoc-RJWUEVRA.js.map → launch.adhoc-S3XHRSLN.js.map} +0 -0
- /package/dist/{leftlabel.sample-OYP6MICL.js.map → leftlabel.sample-J6PCA3UB.js.map} +0 -0
- /package/dist/{lollipop-BXQOWLGO.js.map → lollipop-OZTV4C7A.js.map} +0 -0
- /package/dist/{maftimeline-GHKDDWYR.js.map → maftimeline-6F2LQJU6.js.map} +0 -0
- /package/dist/{matrix-FWDLHZYR.js.map → matrix-FIXOFAB4.js.map} +0 -0
- /package/dist/{matrix-YMJFP53F.js.map → matrix-O5KPDLM2.js.map} +0 -0
- /package/dist/{matrix.cells-JH7FPY3E.js.map → matrix.cells-SCLZA3P4.js.map} +0 -0
- /package/dist/{matrix.config-HIHOLDCE.js.map → matrix.config-WG7HFJL4.js.map} +0 -0
- /package/dist/{matrix.controls-EKZ543FY.js.map → matrix.controls-QQLBUUYP.js.map} +0 -0
- /package/dist/{matrix.data-NKAZI2BF.js.map → matrix.data-6JLF5HVI.js.map} +0 -0
- /package/dist/{matrix.dom-RGZ52GJ2.js.map → matrix.dom-QO7BXZ27.js.map} +0 -0
- /package/dist/{matrix.groups-BO53ZXXV.js.map → matrix.groups-QMZMZ6Q7.js.map} +0 -0
- /package/dist/{matrix.integration.spec-BXTATNAC.js.map → matrix.integration.spec-ZJYWNQ57.js.map} +0 -0
- /package/dist/{matrix.interactivity-UGUMKCFN.js.map → matrix.interactivity-ZZY5ET4E.js.map} +0 -0
- /package/dist/{matrix.layout-WBIF5QTG.js.map → matrix.layout-XKFB4PKY.js.map} +0 -0
- /package/dist/{matrix.legend-P3GFCXXK.js.map → matrix.legend-CS6DNC5V.js.map} +0 -0
- /package/dist/{matrix.renderers-I54IHQ3S.js.map → matrix.renderers-4LST6PBA.js.map} +0 -0
- /package/dist/{matrix.serieses-R2T57OYI.js.map → matrix.serieses-3SERD6CV.js.map} +0 -0
- /package/dist/{matrix.sort-3GCA2GDU.js.map → matrix.sort-UVS6WHIS.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-AXGPCZZD.js.map → matrix.sort.unit.spec-CTSUNUWB.js.map} +0 -0
- /package/dist/{matrix.sorterUi-QWRK6OGE.js.map → matrix.sorterUi-JDGLTLJM.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-H7GUVWRJ.js.map → matrix.sorterUi.unit.spec-VQFMHIYI.js.map} +0 -0
- /package/dist/{mavb-4EECWXYX.js.map → mavb-ECQ2CQ7F.js.map} +0 -0
- /package/dist/{mds.fimo-NHZOY43X.js.map → mds.fimo-JDYDT5NK.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-7A5IZ6W7.js.map → mds.samplescatterplot-PEJBVSTO.js.map} +0 -0
- /package/dist/{mds.survivalplot-SQDPUFQE.js.map → mds.survivalplot-GYK6VRQT.js.map} +0 -0
- /package/dist/{mutationSignature-QH7PZYKL.js.map → mutationSignature-43SECPTY.js.map} +0 -0
- /package/dist/{numericDictTermCluster-X5SGSC5K.js.map → numericDictTermCluster-2ER4FUKO.js.map} +0 -0
- /package/dist/{oncomatrix-M4C4XPQK.js.map → oncomatrix-ZXDJMLN3.js.map} +0 -0
- /package/dist/{oncomatrix.spec-3C642O7O.js.map → oncomatrix.spec-HOPRIG3I.js.map} +0 -0
- /package/dist/{plot.2dvaf-TILP7J53.js.map → plot.2dvaf-Y4SZUHLD.js.map} +0 -0
- /package/dist/{plot.app-DE2UQP2M.js.map → plot.app-W5Z3C7P5.js.map} +0 -0
- /package/dist/{plot.barplot-FJHS765K.js.map → plot.barplot-B2PRZDKV.js.map} +0 -0
- /package/dist/{plot.boxplot-YRSHGNYZ.js.map → plot.boxplot-J7ET34FY.js.map} +0 -0
- /package/dist/{plot.brainImaging-JV4OUVJY.js.map → plot.brainImaging-ISY4P6RT.js.map} +0 -0
- /package/dist/{plot.disco-DBVPBMLG.js.map → plot.disco-D7AL42PW.js.map} +0 -0
- /package/dist/{plot.dzi-O2OA4EBK.js.map → plot.dzi-O32LH65U.js.map} +0 -0
- /package/dist/{plot.ssgq-YFQEZQYK.js.map → plot.ssgq-WF7262IZ.js.map} +0 -0
- /package/dist/{plot.vaf2cov-YNFP5LJ4.js.map → plot.vaf2cov-OB6UKSFQ.js.map} +0 -0
- /package/dist/{plot.wsi-DJB7TDIS.js.map → plot.wsi-J5S4YYXN.js.map} +0 -0
- /package/dist/{polar-K5Z5FYKV.js.map → polar-LIJORXR6.js.map} +0 -0
- /package/dist/{profile.spec-A6EADWEC.js.map → profile.spec-3KE4CREI.js.map} +0 -0
- /package/dist/{profileBarchart-EFLPJK2P.js.map → profileBarchart-UQHOJB5V.js.map} +0 -0
- /package/dist/{profileForms-TG35YNLD.js.map → profileForms-WTYVTIUN.js.map} +0 -0
- /package/dist/{profilePlot-2EW2XVTK.js.map → profilePlot-SOXXEUAT.js.map} +0 -0
- /package/dist/{profileRadar-AKUYC2O5.js.map → profileRadar-2OHJ2RIU.js.map} +0 -0
- /package/dist/{profileRadarFacility-EAT66XTX.js.map → profileRadarFacility-GHLG3QNG.js.map} +0 -0
- /package/dist/{qualitative-PHQU5DXE.js.map → qualitative-B3OY7A7P.js.map} +0 -0
- /package/dist/{regression-EOMJRRDO.js.map → regression-HO2TO4XT.js.map} +0 -0
- /package/dist/{regression.inputs-LIH5X2JM.js.map → regression.inputs-JN3ZMIOP.js.map} +0 -0
- /package/dist/{regression.inputs.term-OO4RZ3QB.js.map → regression.inputs.term-67HVMXFZ.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-E7WCTO2L.js.map → regression.inputs.values.table-JXJK2YZT.js.map} +0 -0
- /package/dist/{regression.integration.spec-62VEQP6X.js.map → regression.integration.spec-L54ZS5VY.js.map} +0 -0
- /package/dist/{regression.results-WAHFJ6NA.js.map → regression.results-3ZSFKUNN.js.map} +0 -0
- /package/dist/{regression.spec-IBIOTZVX.js.map → regression.spec-SVWCQX2U.js.map} +0 -0
- /package/dist/{report-MKDJXHGY.js.map → report-IHX7XSOI.js.map} +0 -0
- /package/dist/{runChart-ETM2EETF.js.map → runChart-QLQMK3OE.js.map} +0 -0
- /package/dist/{runchart.integration.spec-QFA4XBKB.js.map → runchart.integration.spec-5NVY5GHR.js.map} +0 -0
- /package/dist/{sampleScatter.spec-N4N7ZGZF.js.map → sampleScatter.spec-4Q5CQQWH.js.map} +0 -0
- /package/dist/{sampleView-JTY3RV7I.js.map → sampleView-7WHDFHB5.js.map} +0 -0
- /package/dist/{samplelst-RRUMBVT6.js.map → samplelst-34GJVLVD.js.map} +0 -0
- /package/dist/{samplematrix-L37O664Y.js.map → samplematrix-L2HOSLUT.js.map} +0 -0
- /package/dist/{scatter-E5QHW32W.js.map → scatter-X6AAM2LJ.js.map} +0 -0
- /package/dist/{scatter.integration.spec-FNVAJSVU.js.map → scatter.integration.spec-QSH3PLBK.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-J6VXCYGG.js.map → selectGenomeWithTklst-AJS2IPPW.js.map} +0 -0
- /package/dist/{singleCellPlot-S6S6CKYX.js.map → singleCellPlot-7JEWDVSR.js.map} +0 -0
- /package/dist/{singlecell-B4TNI23F.js.map → singlecell-IC5KU72L.js.map} +0 -0
- /package/dist/{singlecell-4BMIKFY4.js.map → singlecell-NWANPXWM.js.map} +0 -0
- /package/dist/{snp-PAUQ24NZ.js.map → snp-PSRNMTL6.js.map} +0 -0
- /package/dist/{snplocus-HVFYZTEE.js.map → snplocus-QCAVDYLR.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-GGGHVNBF.js.map → spliceevent.a53ss.diagram-SGDJKUEC.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-HLMFD6LJ.js.map → spliceevent.exonskip.diagram-BUYTHCK5.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-CKZ3BZ7Y.js.map → spliceevent.noeventdiagram-OJZJUHXP.js.map} +0 -0
- /package/dist/{ssGSEA-UGT4GH55.js.map → ssGSEA-UUZG57MF.js.map} +0 -0
- /package/dist/{stattable-6JWMALGB.js.map → stattable-324FS2HA.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-BJOQY62E.js.map → summarizeCnvGeneexp-ZVZYWP43.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-4HDHL7PE.js.map → summarizeGeneexpSurvival-7XJRMT6M.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-TDWO5CKU.js.map → summarizeMutationDiagnosis-ZKLXOVY2.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-CJJFABOX.js.map → summarizeMutationSurvival-S4YPGLWA.js.map} +0 -0
- /package/dist/{summary-WOAXXIHG.js.map → summary-RVG7JL6Y.js.map} +0 -0
- /package/dist/{summary.integration.spec-GM73ERMN.js.map → summary.integration.spec-SCD35GO4.js.map} +0 -0
- /package/dist/{summaryInput-FD4SONTY.js.map → summaryInput-DMN6DTSW.js.map} +0 -0
- /package/dist/{sunburst-3LCJTBRN.js.map → sunburst-QZXYILRC.js.map} +0 -0
- /package/dist/{survival-A3A7IVXT.js.map → survival-6CWEBRSF.js.map} +0 -0
- /package/dist/{survival-XF72VMM6.js.map → survival-J657VYLI.js.map} +0 -0
- /package/dist/{survival.integration.spec-AU7MCAQV.js.map → survival.integration.spec-S5WE4V6M.js.map} +0 -0
- /package/dist/{svgraph-BEMS4JDJ.js.map → svgraph-NEKJL24M.js.map} +0 -0
- /package/dist/{svmr-CDEMTZPK.js.map → svmr-5RQ5JQF2.js.map} +0 -0
- /package/dist/{table-WYF6QCGB.js.map → table-CG6Z6NCJ.js.map} +0 -0
- /package/dist/{termCollection-BVQMNVY7.js.map → termCollection-FOQNVXB7.js.map} +0 -0
- /package/dist/{termInfo-JXLIVCSO.js.map → termInfo-5USFZGDB.js.map} +0 -0
- /package/dist/{tk-TGIIJYBO.js.map → tk-2O7XOVGJ.js.map} +0 -0
- /package/dist/{tp.ui-USYF67P7.js.map → tp.ui-S4YUVCZH.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-7SCTSFK3.js.map → tvs.dtcnv.continuous-7BPIXZ6C.js.map} +0 -0
- /package/dist/{tvs.numeric-OLVW6US3.js.map → tvs.numeric-FCC2EY62.js.map} +0 -0
- /package/dist/{tvs.samplelst-BHZHCX5V.js.map → tvs.samplelst-PKGFTULN.js.map} +0 -0
- /package/dist/{violin-OEOWVIZF.js.map → violin-C7IBRTYP.js.map} +0 -0
- /package/dist/{violin.integration.spec-AW2U3RHO.js.map → violin.integration.spec-WXRD3Z4E.js.map} +0 -0
- /package/dist/{violin.interactivity-3O2UDNPQ.js.map → violin.interactivity-BMG4TG5L.js.map} +0 -0
- /package/dist/{violin.renderer-W26FA6M7.js.map → violin.renderer-WUNW6ULV.js.map} +0 -0
- /package/dist/{vocabulary-BIQYDKVY.js.map → vocabulary-UUNEEBM3.js.map} +0 -0
|
@@ -1,2936 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getSortOptions
|
|
3
|
-
} from "./chunk-UZV3QI5M.js";
|
|
4
|
-
import {
|
|
5
|
-
getRunPp
|
|
6
|
-
} from "./chunk-XATIKUGU.js";
|
|
7
|
-
import {
|
|
8
|
-
detectLst,
|
|
9
|
-
sleep
|
|
10
|
-
} from "./chunk-OQSP66C6.js";
|
|
11
|
-
import {
|
|
12
|
-
termjson
|
|
13
|
-
} from "./chunk-AHBQHHH5.js";
|
|
14
|
-
import {
|
|
15
|
-
require_tape
|
|
16
|
-
} from "./chunk-EFPC6YYT.js";
|
|
17
|
-
import "./chunk-JXHU2FIA.js";
|
|
18
|
-
import "./chunk-CT3LPTWW.js";
|
|
19
|
-
import "./chunk-AZ276Z7T.js";
|
|
20
|
-
import "./chunk-KGSCQRQ5.js";
|
|
21
|
-
import "./chunk-PRZWSBMA.js";
|
|
22
|
-
import "./chunk-47X254B7.js";
|
|
23
|
-
import "./chunk-MKAF2BHB.js";
|
|
24
|
-
import "./chunk-RQUXELHE.js";
|
|
25
|
-
import "./chunk-M7QVMSRW.js";
|
|
26
|
-
import "./chunk-RS3G3HE7.js";
|
|
27
|
-
import "./chunk-UT6W4ZZL.js";
|
|
28
|
-
import "./chunk-HJ6L54YS.js";
|
|
29
|
-
import "./chunk-5TDKRZN5.js";
|
|
30
|
-
import "./chunk-RYRCMHYR.js";
|
|
31
|
-
import {
|
|
32
|
-
CNVClasses,
|
|
33
|
-
mutationClasses,
|
|
34
|
-
proteinChangingMutations,
|
|
35
|
-
synonymousMutations,
|
|
36
|
-
truncatingMutations
|
|
37
|
-
} from "./chunk-ECKWM4HB.js";
|
|
38
|
-
import "./chunk-NXOWHUR4.js";
|
|
39
|
-
import "./chunk-5MWX5HUZ.js";
|
|
40
|
-
import "./chunk-IQIXGTQV.js";
|
|
41
|
-
import "./chunk-ICNJQHQZ.js";
|
|
42
|
-
import "./chunk-FYTZCTJC.js";
|
|
43
|
-
import "./chunk-7NTZWOJV.js";
|
|
44
|
-
import "./chunk-OMO754MK.js";
|
|
45
|
-
import "./chunk-RA5EXEHB.js";
|
|
46
|
-
import "./chunk-PMZS3SHH.js";
|
|
47
|
-
import "./chunk-LOZEKOES.js";
|
|
48
|
-
import "./chunk-TOU7EVFQ.js";
|
|
49
|
-
import "./chunk-W2IWHXLL.js";
|
|
50
|
-
import "./chunk-5OHXYXLD.js";
|
|
51
|
-
import "./chunk-UJUXE42U.js";
|
|
52
|
-
import "./chunk-OMR2DT66.js";
|
|
53
|
-
import "./chunk-NDWTN4U5.js";
|
|
54
|
-
import {
|
|
55
|
-
__toESM
|
|
56
|
-
} from "./chunk-HFNDKYVF.js";
|
|
57
|
-
|
|
58
|
-
// plots/matrix/test/matrix.integration.spec.js
|
|
59
|
-
var import_tape = __toESM(require_tape(), 1);
|
|
60
|
-
var runpp = getRunPp("mass", {
|
|
61
|
-
state: {
|
|
62
|
-
dslabel: "TermdbTest",
|
|
63
|
-
genome: "hg38-test"
|
|
64
|
-
},
|
|
65
|
-
debug: 1
|
|
66
|
-
});
|
|
67
|
-
function getGenes() {
|
|
68
|
-
return [
|
|
69
|
-
{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } },
|
|
70
|
-
{ term: { gene: "KRAS", name: "KRAS", type: "geneVariant", isleaf: true } },
|
|
71
|
-
{ term: { gene: "AKT1", name: "AKT1", type: "geneVariant", isleaf: true } }
|
|
72
|
-
];
|
|
73
|
-
}
|
|
74
|
-
(0, import_tape.default)("\n", function(test) {
|
|
75
|
-
test.comment("-***- plots/matrix -***-");
|
|
76
|
-
test.end();
|
|
77
|
-
});
|
|
78
|
-
(0, import_tape.default)("only dictionary terms", function(test) {
|
|
79
|
-
test.timeoutAfter(5e3);
|
|
80
|
-
test.plan(5);
|
|
81
|
-
runpp({
|
|
82
|
-
state: {
|
|
83
|
-
nav: {
|
|
84
|
-
activeTab: 1
|
|
85
|
-
},
|
|
86
|
-
plots: [
|
|
87
|
-
{
|
|
88
|
-
chartType: "matrix",
|
|
89
|
-
settings: {
|
|
90
|
-
matrix: {
|
|
91
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
92
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
93
|
-
availContentWidth: 1200
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
termgroups: [
|
|
97
|
-
{
|
|
98
|
-
name: "Demographics",
|
|
99
|
-
lst: [
|
|
100
|
-
{
|
|
101
|
-
id: "aaclassic_5",
|
|
102
|
-
q: {
|
|
103
|
-
mode: "continuous"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
id: "sex"
|
|
108
|
-
//q: { mode: 'values' } // or 'groupsetting'
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
id: "agedx",
|
|
112
|
-
q: {
|
|
113
|
-
mode: "discrete",
|
|
114
|
-
type: "regular-bin",
|
|
115
|
-
bin_size: 5,
|
|
116
|
-
first_bin: {
|
|
117
|
-
startunbounded: true,
|
|
118
|
-
stop: 5,
|
|
119
|
-
stopinclusive: true
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
// or 'continuous'
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
id: "Arrhythmias"
|
|
126
|
-
}
|
|
127
|
-
]
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
]
|
|
132
|
-
},
|
|
133
|
-
matrix: {
|
|
134
|
-
callbacks: {
|
|
135
|
-
"postRender.test": runTests
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
function runTests(matrix) {
|
|
140
|
-
matrix.on("postRender.test", null);
|
|
141
|
-
test.equal(
|
|
142
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
143
|
-
4,
|
|
144
|
-
`should render the expected number of serieses`
|
|
145
|
-
);
|
|
146
|
-
test.equal(
|
|
147
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
148
|
-
240,
|
|
149
|
-
`should render the expected number of cell rects`
|
|
150
|
-
);
|
|
151
|
-
test.equal(
|
|
152
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
153
|
-
1,
|
|
154
|
-
`should render the expected number of cluster rects`
|
|
155
|
-
);
|
|
156
|
-
const sg0rects = matrix.Inner.dom.seriesesG.select(".sjpp-mass-series-g").selectAll("rect");
|
|
157
|
-
test.equal(
|
|
158
|
-
sg0rects.filter((d) => d.key <= 0 && d.fill === "transparent").size(),
|
|
159
|
-
14,
|
|
160
|
-
`should render special values with transparent rects`
|
|
161
|
-
);
|
|
162
|
-
const uniqueHts = /* @__PURE__ */ new Set();
|
|
163
|
-
sg0rects.each((d) => uniqueHts.add(d.height));
|
|
164
|
-
test.equal(uniqueHts.size, 45, `should render different rect heights for continuous mode bar plots`);
|
|
165
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
166
|
-
test.end();
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
(0, import_tape.default)("with divide by terms", function(test) {
|
|
170
|
-
test.timeoutAfter(5e3);
|
|
171
|
-
test.plan(3);
|
|
172
|
-
runpp({
|
|
173
|
-
state: {
|
|
174
|
-
nav: {
|
|
175
|
-
activeTab: 1
|
|
176
|
-
},
|
|
177
|
-
plots: [
|
|
178
|
-
{
|
|
179
|
-
chartType: "matrix",
|
|
180
|
-
settings: {
|
|
181
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
182
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
183
|
-
matrix: {
|
|
184
|
-
availContentWidth: 1200
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
divideBy: {
|
|
188
|
-
id: "sex"
|
|
189
|
-
},
|
|
190
|
-
termgroups: [
|
|
191
|
-
{
|
|
192
|
-
name: "Demographics",
|
|
193
|
-
lst: [
|
|
194
|
-
{ id: "agedx", term: termjson["agedx"] },
|
|
195
|
-
{ id: "diaggrp", term: termjson["diaggrp"] },
|
|
196
|
-
{ id: "aaclassic_5", term: termjson["aaclassic_5"] }
|
|
197
|
-
]
|
|
198
|
-
}
|
|
199
|
-
]
|
|
200
|
-
}
|
|
201
|
-
]
|
|
202
|
-
},
|
|
203
|
-
matrix: {
|
|
204
|
-
callbacks: {
|
|
205
|
-
"postRender.test": runTests
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
});
|
|
209
|
-
function runTests(matrix) {
|
|
210
|
-
matrix.on("postRender.test", null);
|
|
211
|
-
test.equal(
|
|
212
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
213
|
-
3,
|
|
214
|
-
`should render the expected number of serieses`
|
|
215
|
-
);
|
|
216
|
-
test.equal(
|
|
217
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
218
|
-
180,
|
|
219
|
-
`should render the expected number of cell rects`
|
|
220
|
-
);
|
|
221
|
-
test.equal(
|
|
222
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
223
|
-
2,
|
|
224
|
-
`should render the expected number of cluster rects`
|
|
225
|
-
);
|
|
226
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
227
|
-
test.end();
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
(0, import_tape.default)("long column group labels", function(test) {
|
|
231
|
-
test.timeoutAfter(5e3);
|
|
232
|
-
test.plan(2);
|
|
233
|
-
runpp({
|
|
234
|
-
state: {
|
|
235
|
-
nav: {
|
|
236
|
-
activeTab: 1
|
|
237
|
-
},
|
|
238
|
-
plots: [
|
|
239
|
-
{
|
|
240
|
-
chartType: "matrix",
|
|
241
|
-
settings: {
|
|
242
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
243
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
244
|
-
matrix: {
|
|
245
|
-
availContentWidth: 1200
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
divideBy: {
|
|
249
|
-
id: "diaggrp"
|
|
250
|
-
},
|
|
251
|
-
termgroups: [
|
|
252
|
-
{
|
|
253
|
-
name: "Demographics",
|
|
254
|
-
lst: [
|
|
255
|
-
{ id: "diaggrp", term: termjson["diaggrp"] },
|
|
256
|
-
{ id: "agedx", term: termjson["agedx"] },
|
|
257
|
-
{ id: "aaclassic_5", term: termjson["aaclassic_5"] }
|
|
258
|
-
]
|
|
259
|
-
}
|
|
260
|
-
]
|
|
261
|
-
}
|
|
262
|
-
]
|
|
263
|
-
},
|
|
264
|
-
matrix: {
|
|
265
|
-
callbacks: {
|
|
266
|
-
"postRender.test222": runTests
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
function runTests(matrix) {
|
|
271
|
-
matrix.on("postRender.test222", null);
|
|
272
|
-
const y = matrix.Inner.dom.clipRect.property("y").baseVal.value;
|
|
273
|
-
test.true(y > -63 && y < -62, `should adjust the clip-path rect y-value to between -39 and -38, actual=${y}`);
|
|
274
|
-
const h = matrix.Inner.dom.clipRect.property("height").baseVal.value;
|
|
275
|
-
test.true(h > 619 && h <= 620, `should adjust the clip-path height to between 595 and 596, actual=${h}`);
|
|
276
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
277
|
-
test.end();
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
(0, import_tape.default)("divide by continuous terms", function(test) {
|
|
281
|
-
test.timeoutAfter(5e3);
|
|
282
|
-
test.plan(3);
|
|
283
|
-
runpp({
|
|
284
|
-
state: {
|
|
285
|
-
nav: {
|
|
286
|
-
activeTab: 1
|
|
287
|
-
},
|
|
288
|
-
plots: [
|
|
289
|
-
{
|
|
290
|
-
chartType: "matrix",
|
|
291
|
-
settings: {
|
|
292
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
293
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
294
|
-
matrix: {
|
|
295
|
-
availContentWidth: 1200
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
divideBy: {
|
|
299
|
-
id: "agedx"
|
|
300
|
-
},
|
|
301
|
-
termgroups: [
|
|
302
|
-
{
|
|
303
|
-
name: "Demographics",
|
|
304
|
-
lst: [
|
|
305
|
-
{ id: "sex", term: termjson["sex"] },
|
|
306
|
-
{ id: "diaggrp", term: termjson["diaggrp"] },
|
|
307
|
-
{ id: "aaclassic_5", term: termjson["aaclassic_5"] }
|
|
308
|
-
]
|
|
309
|
-
}
|
|
310
|
-
]
|
|
311
|
-
}
|
|
312
|
-
]
|
|
313
|
-
},
|
|
314
|
-
matrix: {
|
|
315
|
-
callbacks: {
|
|
316
|
-
"postRender.test": runTests
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
});
|
|
320
|
-
function runTests(matrix) {
|
|
321
|
-
matrix.on("postRender.test", null);
|
|
322
|
-
test.equal(
|
|
323
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
324
|
-
3,
|
|
325
|
-
`should render the expected number of serieses`
|
|
326
|
-
);
|
|
327
|
-
test.equal(
|
|
328
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
329
|
-
180,
|
|
330
|
-
`should render the expected number of cell rects`
|
|
331
|
-
);
|
|
332
|
-
test.equal(
|
|
333
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
334
|
-
5,
|
|
335
|
-
`should render the expected number of cluster rects`
|
|
336
|
-
);
|
|
337
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
338
|
-
test.end();
|
|
339
|
-
}
|
|
340
|
-
});
|
|
341
|
-
(0, import_tape.default)("geneVariant term", function(test) {
|
|
342
|
-
test.timeoutAfter(5e3);
|
|
343
|
-
test.plan(2);
|
|
344
|
-
runpp({
|
|
345
|
-
state: {
|
|
346
|
-
nav: {
|
|
347
|
-
activeTab: 1
|
|
348
|
-
},
|
|
349
|
-
plots: [
|
|
350
|
-
{
|
|
351
|
-
chartType: "matrix",
|
|
352
|
-
settings: {
|
|
353
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
354
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
355
|
-
matrix: {
|
|
356
|
-
availContentWidth: 1200
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
termgroups: [
|
|
360
|
-
{
|
|
361
|
-
name: "",
|
|
362
|
-
lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
|
|
363
|
-
}
|
|
364
|
-
]
|
|
365
|
-
}
|
|
366
|
-
]
|
|
367
|
-
},
|
|
368
|
-
matrix: {
|
|
369
|
-
callbacks: {
|
|
370
|
-
"postRender.test": runTests
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
});
|
|
374
|
-
function runTests(matrix) {
|
|
375
|
-
matrix.on("postRender.test", null);
|
|
376
|
-
test.equal(
|
|
377
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
378
|
-
1,
|
|
379
|
-
`should render the expected number of serieses`
|
|
380
|
-
);
|
|
381
|
-
test.equal(
|
|
382
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
383
|
-
240,
|
|
384
|
-
`should render the expected number of cell rects`
|
|
385
|
-
);
|
|
386
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
387
|
-
test.end();
|
|
388
|
-
}
|
|
389
|
-
});
|
|
390
|
-
(0, import_tape.default)("geneVariant terms and dictionary terms", function(test) {
|
|
391
|
-
test.timeoutAfter(5e3);
|
|
392
|
-
test.plan(3);
|
|
393
|
-
runpp({
|
|
394
|
-
state: {
|
|
395
|
-
nav: {
|
|
396
|
-
activeTab: 1
|
|
397
|
-
},
|
|
398
|
-
plots: [
|
|
399
|
-
{
|
|
400
|
-
chartType: "matrix",
|
|
401
|
-
settings: {
|
|
402
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
403
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
404
|
-
matrix: {
|
|
405
|
-
availContentWidth: 1200
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
termgroups: [
|
|
409
|
-
{
|
|
410
|
-
name: "",
|
|
411
|
-
lst: [
|
|
412
|
-
...getGenes(),
|
|
413
|
-
{ id: "agedx", term: termjson["agedx"] },
|
|
414
|
-
{ id: "diaggrp", term: termjson["diaggrp"] },
|
|
415
|
-
{ id: "aaclassic_5", term: termjson["aaclassic_5"] }
|
|
416
|
-
]
|
|
417
|
-
}
|
|
418
|
-
]
|
|
419
|
-
}
|
|
420
|
-
]
|
|
421
|
-
},
|
|
422
|
-
matrix: {
|
|
423
|
-
callbacks: {
|
|
424
|
-
"postRender.test": runTests
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
});
|
|
428
|
-
function runTests(matrix) {
|
|
429
|
-
matrix.on("postRender.test", null);
|
|
430
|
-
test.equal(
|
|
431
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
432
|
-
6,
|
|
433
|
-
`should render the expected number of serieses`
|
|
434
|
-
);
|
|
435
|
-
test.equal(
|
|
436
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
437
|
-
900,
|
|
438
|
-
`should render the expected number of cell rects`
|
|
439
|
-
);
|
|
440
|
-
test.equal(
|
|
441
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
442
|
-
1,
|
|
443
|
-
`should render the expected number of cluster rects`
|
|
444
|
-
);
|
|
445
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
446
|
-
test.end();
|
|
447
|
-
}
|
|
448
|
-
});
|
|
449
|
-
(0, import_tape.default)("geneVariant terms with divide by dictionary term", function(test) {
|
|
450
|
-
test.timeoutAfter(5e3);
|
|
451
|
-
test.plan(3);
|
|
452
|
-
runpp({
|
|
453
|
-
state: {
|
|
454
|
-
nav: {
|
|
455
|
-
activeTab: 1
|
|
456
|
-
},
|
|
457
|
-
plots: [
|
|
458
|
-
{
|
|
459
|
-
chartType: "matrix",
|
|
460
|
-
settings: {
|
|
461
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
462
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
463
|
-
matrix: {
|
|
464
|
-
availContentWidth: 1200
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
divideBy: {
|
|
468
|
-
id: "sex"
|
|
469
|
-
},
|
|
470
|
-
termgroups: [
|
|
471
|
-
{
|
|
472
|
-
name: "",
|
|
473
|
-
lst: getGenes()
|
|
474
|
-
}
|
|
475
|
-
]
|
|
476
|
-
}
|
|
477
|
-
]
|
|
478
|
-
},
|
|
479
|
-
matrix: {
|
|
480
|
-
callbacks: {
|
|
481
|
-
"postRender.test": runTests
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
});
|
|
485
|
-
function runTests(matrix) {
|
|
486
|
-
matrix.on("postRender.test", null);
|
|
487
|
-
test.equal(
|
|
488
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
489
|
-
3,
|
|
490
|
-
`should render the expected number of serieses`
|
|
491
|
-
);
|
|
492
|
-
test.equal(
|
|
493
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
494
|
-
720,
|
|
495
|
-
`should render the expected number of cell rects`
|
|
496
|
-
);
|
|
497
|
-
test.equal(
|
|
498
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
499
|
-
2,
|
|
500
|
-
`should render the expected number of cluster rects`
|
|
501
|
-
);
|
|
502
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
503
|
-
test.end();
|
|
504
|
-
}
|
|
505
|
-
});
|
|
506
|
-
(0, import_tape.default)("geneVariant terms and dictionary terms divide by dictionary term", function(test) {
|
|
507
|
-
test.timeoutAfter(5e3);
|
|
508
|
-
test.plan(3);
|
|
509
|
-
runpp({
|
|
510
|
-
state: {
|
|
511
|
-
nav: {
|
|
512
|
-
activeTab: 1
|
|
513
|
-
},
|
|
514
|
-
plots: [
|
|
515
|
-
{
|
|
516
|
-
chartType: "matrix",
|
|
517
|
-
settings: {
|
|
518
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
519
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
520
|
-
matrix: {
|
|
521
|
-
availContentWidth: 1200
|
|
522
|
-
}
|
|
523
|
-
},
|
|
524
|
-
divideBy: {
|
|
525
|
-
id: "sex"
|
|
526
|
-
},
|
|
527
|
-
termgroups: [
|
|
528
|
-
{
|
|
529
|
-
name: "",
|
|
530
|
-
lst: [
|
|
531
|
-
...getGenes(),
|
|
532
|
-
{ id: "agedx", term: termjson["agedx"] },
|
|
533
|
-
{ id: "diaggrp", term: termjson["diaggrp"] },
|
|
534
|
-
{ id: "aaclassic_5", term: termjson["aaclassic_5"] }
|
|
535
|
-
]
|
|
536
|
-
}
|
|
537
|
-
]
|
|
538
|
-
}
|
|
539
|
-
]
|
|
540
|
-
},
|
|
541
|
-
matrix: {
|
|
542
|
-
callbacks: {
|
|
543
|
-
"postRender.test": runTests
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
});
|
|
547
|
-
function runTests(matrix) {
|
|
548
|
-
matrix.on("postRender.test", null);
|
|
549
|
-
test.equal(
|
|
550
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
551
|
-
6,
|
|
552
|
-
`should render the expected number of serieses`
|
|
553
|
-
);
|
|
554
|
-
test.equal(
|
|
555
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
556
|
-
900,
|
|
557
|
-
`should render the expected number of cell rects`
|
|
558
|
-
);
|
|
559
|
-
test.equal(
|
|
560
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
561
|
-
2,
|
|
562
|
-
`should render the expected number of cluster rects`
|
|
563
|
-
);
|
|
564
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
565
|
-
test.end();
|
|
566
|
-
}
|
|
567
|
-
});
|
|
568
|
-
(0, import_tape.default)("sort samples by sample name", function(test) {
|
|
569
|
-
test.timeoutAfter(5e3);
|
|
570
|
-
test.plan(4);
|
|
571
|
-
runpp({
|
|
572
|
-
state: {
|
|
573
|
-
nav: {
|
|
574
|
-
activeTab: 1
|
|
575
|
-
},
|
|
576
|
-
plots: [
|
|
577
|
-
{
|
|
578
|
-
chartType: "matrix",
|
|
579
|
-
settings: {
|
|
580
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
581
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
582
|
-
matrix: {
|
|
583
|
-
availContentWidth: 1200,
|
|
584
|
-
sortSamplesBy: "name"
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
termgroups: [
|
|
588
|
-
{
|
|
589
|
-
name: "",
|
|
590
|
-
lst: getGenes()
|
|
591
|
-
}
|
|
592
|
-
]
|
|
593
|
-
}
|
|
594
|
-
]
|
|
595
|
-
},
|
|
596
|
-
matrix: {
|
|
597
|
-
callbacks: {
|
|
598
|
-
"postRender.test": runTests
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
});
|
|
602
|
-
function runTests(matrix) {
|
|
603
|
-
matrix.on("postRender.test", null);
|
|
604
|
-
const g = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g");
|
|
605
|
-
test.equal(g.size(), 60, `should render the expected number of sample names`);
|
|
606
|
-
test.equal(g._groups[0][0].textContent, "2646", `should be the expected sample name`);
|
|
607
|
-
test.equal(g._groups[0][9].textContent, "2772", `should be the expected sample name`);
|
|
608
|
-
test.equal(g._groups[0][59].textContent, "3472", `should be the expected sample name`);
|
|
609
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
610
|
-
test.end();
|
|
611
|
-
}
|
|
612
|
-
});
|
|
613
|
-
(0, import_tape.default)("sort samples by Mutation categories, not sorted by CNV", function(test) {
|
|
614
|
-
test.timeoutAfter(5e3);
|
|
615
|
-
test.plan(4);
|
|
616
|
-
runpp({
|
|
617
|
-
state: {
|
|
618
|
-
nav: {
|
|
619
|
-
activeTab: 1
|
|
620
|
-
},
|
|
621
|
-
plots: [
|
|
622
|
-
{
|
|
623
|
-
chartType: "matrix",
|
|
624
|
-
settings: {
|
|
625
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
626
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
627
|
-
matrix: {
|
|
628
|
-
availContentWidth: 1200,
|
|
629
|
-
sortSamplesBy: "a"
|
|
630
|
-
}
|
|
631
|
-
},
|
|
632
|
-
termgroups: [
|
|
633
|
-
{
|
|
634
|
-
name: "Demographics",
|
|
635
|
-
lst: getGenes()
|
|
636
|
-
}
|
|
637
|
-
]
|
|
638
|
-
}
|
|
639
|
-
]
|
|
640
|
-
},
|
|
641
|
-
matrix: {
|
|
642
|
-
callbacks: {
|
|
643
|
-
"postRender.test": runTests
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
});
|
|
647
|
-
function runTests(matrix) {
|
|
648
|
-
matrix.on("postRender.test", null);
|
|
649
|
-
test.equal(
|
|
650
|
-
matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
|
|
651
|
-
60,
|
|
652
|
-
`should render the expected number of sample names`
|
|
653
|
-
);
|
|
654
|
-
const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
|
|
655
|
-
const index_3346 = Array.from(rects).find((rect) => rect.textContent == "3346").__data__.index;
|
|
656
|
-
test.true(index_3346 < 10, `sample 3346 should be in the expected order (not sorted by CNV)`);
|
|
657
|
-
const index_2660 = Array.from(rects).find((rect) => rect.textContent == "2660").__data__.index;
|
|
658
|
-
test.equal(index_2660, 8, `sample 2660 should be in the expected order (not sorted by CNV)`);
|
|
659
|
-
const index_3472 = Array.from(rects).find((rect) => rect.textContent == "3472").__data__.index;
|
|
660
|
-
test.true(index_3472 > 9, `sample 3472 should be in the expected order (not sorted by CNV)`);
|
|
661
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
662
|
-
test.end();
|
|
663
|
-
}
|
|
664
|
-
});
|
|
665
|
-
(0, import_tape.default)("sort samples by CNV+SSM > SSM-only", function(test) {
|
|
666
|
-
test.timeoutAfter(5e3);
|
|
667
|
-
test.plan(5);
|
|
668
|
-
const sortOptions = getSortOptions(
|
|
669
|
-
void 0,
|
|
670
|
-
{},
|
|
671
|
-
{
|
|
672
|
-
proteinChangingMutations,
|
|
673
|
-
truncatingMutations,
|
|
674
|
-
synonymousMutations,
|
|
675
|
-
mutationClasses,
|
|
676
|
-
CNVClasses
|
|
677
|
-
}
|
|
678
|
-
);
|
|
679
|
-
const cnvtb = sortOptions.a.sortPriority[0].tiebreakers[2];
|
|
680
|
-
cnvtb.disabled = false;
|
|
681
|
-
runpp({
|
|
682
|
-
state: {
|
|
683
|
-
nav: {
|
|
684
|
-
activeTab: 1
|
|
685
|
-
},
|
|
686
|
-
plots: [
|
|
687
|
-
{
|
|
688
|
-
chartType: "matrix",
|
|
689
|
-
legendValueFilter: {
|
|
690
|
-
type: "tvslst",
|
|
691
|
-
lst: []
|
|
692
|
-
},
|
|
693
|
-
settings: {
|
|
694
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
695
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
696
|
-
matrix: {
|
|
697
|
-
availContentWidth: 1200,
|
|
698
|
-
sortSamplesBy: "a",
|
|
699
|
-
sortOptions
|
|
700
|
-
}
|
|
701
|
-
},
|
|
702
|
-
termgroups: [
|
|
703
|
-
{
|
|
704
|
-
name: "",
|
|
705
|
-
lst: getGenes()
|
|
706
|
-
}
|
|
707
|
-
]
|
|
708
|
-
}
|
|
709
|
-
]
|
|
710
|
-
},
|
|
711
|
-
matrix: {
|
|
712
|
-
callbacks: {
|
|
713
|
-
"postRender.test": runTests
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
});
|
|
717
|
-
function runTests(matrix) {
|
|
718
|
-
matrix.on("postRender.test", null);
|
|
719
|
-
test.equal(
|
|
720
|
-
matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g").size(),
|
|
721
|
-
60,
|
|
722
|
-
`should render the expected number of sample names`
|
|
723
|
-
);
|
|
724
|
-
const rects = matrix.Inner.dom.sampleLabelsPG.selectAll(".sjpp-matrix-series-label-g g")._groups[0];
|
|
725
|
-
const r = Array.from(rects);
|
|
726
|
-
const index_3416 = r.find((rect) => rect.textContent == "3416").__data__.index;
|
|
727
|
-
test.equal(index_3416, 0, `should be in the expected order`);
|
|
728
|
-
const index_3346 = r.find((rect) => rect.textContent == "3346").__data__.index;
|
|
729
|
-
test.equal(index_3346, 9, `should be in the expected order`);
|
|
730
|
-
const index_2660 = r.find((rect) => rect.textContent == "2660").__data__.index;
|
|
731
|
-
test.equal(index_2660, 11, `should be in the expected order`);
|
|
732
|
-
const index_3472 = r.find((rect) => rect.textContent == "3472").__data__.index;
|
|
733
|
-
test.equal(index_3472, r.length - 1, `should be in the expected order`);
|
|
734
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
735
|
-
test.end();
|
|
736
|
-
}
|
|
737
|
-
});
|
|
738
|
-
(0, import_tape.default)("set max number of samples", function(test) {
|
|
739
|
-
test.timeoutAfter(5e3);
|
|
740
|
-
test.plan(1);
|
|
741
|
-
runpp({
|
|
742
|
-
state: {
|
|
743
|
-
nav: {
|
|
744
|
-
activeTab: 1
|
|
745
|
-
},
|
|
746
|
-
plots: [
|
|
747
|
-
{
|
|
748
|
-
chartType: "matrix",
|
|
749
|
-
settings: {
|
|
750
|
-
matrix: {
|
|
751
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
752
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
753
|
-
availContentWidth: 1200,
|
|
754
|
-
maxSample: 10
|
|
755
|
-
}
|
|
756
|
-
},
|
|
757
|
-
termgroups: [
|
|
758
|
-
{
|
|
759
|
-
name: "",
|
|
760
|
-
lst: [
|
|
761
|
-
{
|
|
762
|
-
id: "sex"
|
|
763
|
-
//q: { mode: 'values' } // or 'groupsetting'
|
|
764
|
-
}
|
|
765
|
-
]
|
|
766
|
-
}
|
|
767
|
-
]
|
|
768
|
-
}
|
|
769
|
-
]
|
|
770
|
-
},
|
|
771
|
-
matrix: {
|
|
772
|
-
callbacks: {
|
|
773
|
-
"postRender.test": runTests
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
});
|
|
777
|
-
function runTests(matrix) {
|
|
778
|
-
matrix.on("postRender.test", null);
|
|
779
|
-
test.equal(
|
|
780
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
781
|
-
10,
|
|
782
|
-
`should render the expected number of cell rects`
|
|
783
|
-
);
|
|
784
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
785
|
-
test.end();
|
|
786
|
-
}
|
|
787
|
-
});
|
|
788
|
-
(0, import_tape.default)("sort sample groups by Group Name", function(test) {
|
|
789
|
-
test.timeoutAfter(5e3);
|
|
790
|
-
test.plan(2);
|
|
791
|
-
runpp({
|
|
792
|
-
state: {
|
|
793
|
-
nav: {
|
|
794
|
-
activeTab: 1
|
|
795
|
-
},
|
|
796
|
-
plots: [
|
|
797
|
-
{
|
|
798
|
-
chartType: "matrix",
|
|
799
|
-
settings: {
|
|
800
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
801
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
802
|
-
matrix: {
|
|
803
|
-
availContentWidth: 1200,
|
|
804
|
-
sortSampleGrpsBy: "name"
|
|
805
|
-
}
|
|
806
|
-
},
|
|
807
|
-
divideBy: {
|
|
808
|
-
id: "genetic_race"
|
|
809
|
-
},
|
|
810
|
-
termgroups: [
|
|
811
|
-
{
|
|
812
|
-
name: "",
|
|
813
|
-
lst: getGenes()
|
|
814
|
-
}
|
|
815
|
-
]
|
|
816
|
-
}
|
|
817
|
-
]
|
|
818
|
-
},
|
|
819
|
-
matrix: {
|
|
820
|
-
callbacks: {
|
|
821
|
-
"postRender.test": runTests
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
});
|
|
825
|
-
function runTests(matrix) {
|
|
826
|
-
matrix.on("postRender.test", null);
|
|
827
|
-
const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
|
|
828
|
-
".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
|
|
829
|
-
)._groups[0];
|
|
830
|
-
test.true(matrixGroupLabels[0].textContent.startsWith("African Ancestry"), `should be the expected group name`);
|
|
831
|
-
test.true(matrixGroupLabels[2].textContent.startsWith("European Ancestry"), `should be the expected group name`);
|
|
832
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
833
|
-
test.end();
|
|
834
|
-
}
|
|
835
|
-
});
|
|
836
|
-
(0, import_tape.default)("sort sample groups by Sample Count", function(test) {
|
|
837
|
-
test.timeoutAfter(5e3);
|
|
838
|
-
test.plan(2);
|
|
839
|
-
runpp({
|
|
840
|
-
state: {
|
|
841
|
-
nav: {
|
|
842
|
-
activeTab: 1
|
|
843
|
-
},
|
|
844
|
-
plots: [
|
|
845
|
-
{
|
|
846
|
-
chartType: "matrix",
|
|
847
|
-
settings: {
|
|
848
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
849
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
850
|
-
matrix: {
|
|
851
|
-
availContentWidth: 1200,
|
|
852
|
-
sortSampleGrpsBy: "sampleCount"
|
|
853
|
-
}
|
|
854
|
-
},
|
|
855
|
-
divideBy: {
|
|
856
|
-
id: "genetic_race"
|
|
857
|
-
},
|
|
858
|
-
termgroups: [
|
|
859
|
-
{
|
|
860
|
-
name: "",
|
|
861
|
-
lst: getGenes()
|
|
862
|
-
}
|
|
863
|
-
]
|
|
864
|
-
}
|
|
865
|
-
]
|
|
866
|
-
},
|
|
867
|
-
matrix: {
|
|
868
|
-
callbacks: {
|
|
869
|
-
"postRender.test": runTests
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
});
|
|
873
|
-
function runTests(matrix) {
|
|
874
|
-
matrix.on("postRender.test", null);
|
|
875
|
-
const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
|
|
876
|
-
".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
|
|
877
|
-
)._groups[0];
|
|
878
|
-
test.true(matrixGroupLabels[0].textContent.startsWith("European Ancestry"), `should be the expected group name`);
|
|
879
|
-
test.true(matrixGroupLabels[2].textContent.startsWith("Asian Ancestry"), `should be the expected group name`);
|
|
880
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
881
|
-
test.end();
|
|
882
|
-
}
|
|
883
|
-
});
|
|
884
|
-
(0, import_tape.default)("sort sample groups by Hits", function(test) {
|
|
885
|
-
test.timeoutAfter(5e3);
|
|
886
|
-
test.plan(2);
|
|
887
|
-
runpp({
|
|
888
|
-
state: {
|
|
889
|
-
nav: {
|
|
890
|
-
activeTab: 1
|
|
891
|
-
},
|
|
892
|
-
plots: [
|
|
893
|
-
{
|
|
894
|
-
chartType: "matrix",
|
|
895
|
-
settings: {
|
|
896
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
897
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
898
|
-
matrix: {
|
|
899
|
-
availContentWidth: 1200,
|
|
900
|
-
sortSampleGrpsBy: "hits"
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
divideBy: {
|
|
904
|
-
id: "Hearing loss"
|
|
905
|
-
},
|
|
906
|
-
termgroups: [
|
|
907
|
-
{
|
|
908
|
-
name: "",
|
|
909
|
-
lst: getGenes()
|
|
910
|
-
}
|
|
911
|
-
]
|
|
912
|
-
}
|
|
913
|
-
]
|
|
914
|
-
},
|
|
915
|
-
matrix: {
|
|
916
|
-
callbacks: {
|
|
917
|
-
"postRender.test": runTests
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
});
|
|
921
|
-
function runTests(matrix) {
|
|
922
|
-
matrix.on("postRender.test", null);
|
|
923
|
-
const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
|
|
924
|
-
".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
|
|
925
|
-
)._groups[0];
|
|
926
|
-
test.true(matrixGroupLabels[0].textContent.startsWith("3: Severe"), `should be the expected group name`);
|
|
927
|
-
test.true(matrixGroupLabels[4].textContent.startsWith("1: Mild"), `should be the expected group name`);
|
|
928
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
929
|
-
test.end();
|
|
930
|
-
}
|
|
931
|
-
});
|
|
932
|
-
(0, import_tape.default)("sort sample groups by Hits 2", function(test) {
|
|
933
|
-
test.timeoutAfter(5e3);
|
|
934
|
-
test.plan(2);
|
|
935
|
-
runpp({
|
|
936
|
-
state: {
|
|
937
|
-
nav: {
|
|
938
|
-
activeTab: 1
|
|
939
|
-
},
|
|
940
|
-
plots: [
|
|
941
|
-
{
|
|
942
|
-
id: "xyz",
|
|
943
|
-
chartType: "matrix",
|
|
944
|
-
settings: {
|
|
945
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
946
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
947
|
-
matrix: {
|
|
948
|
-
availContentWidth: 1200,
|
|
949
|
-
sortSampleGrpsBy: "hits"
|
|
950
|
-
}
|
|
951
|
-
},
|
|
952
|
-
divideBy: {
|
|
953
|
-
id: "agedx"
|
|
954
|
-
},
|
|
955
|
-
termgroups: [
|
|
956
|
-
{
|
|
957
|
-
name: "",
|
|
958
|
-
lst: getGenes()
|
|
959
|
-
}
|
|
960
|
-
]
|
|
961
|
-
}
|
|
962
|
-
]
|
|
963
|
-
},
|
|
964
|
-
matrix: {
|
|
965
|
-
callbacks: {
|
|
966
|
-
postRender: runTests
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
});
|
|
970
|
-
function runTests(matrix) {
|
|
971
|
-
matrix.on("postRender", null);
|
|
972
|
-
const matrixGroupLabels = matrix.Inner.dom.sampleLabelsPG.selectAll(
|
|
973
|
-
".sjpp-matrix-series-group-label-g .sjpp-matrix-label"
|
|
974
|
-
)._groups[0];
|
|
975
|
-
test.true(matrixGroupLabels[0].textContent.startsWith("10 to <15"), `should have the expected left-most group name`);
|
|
976
|
-
test.true(matrixGroupLabels[4].textContent.startsWith("\u226520"), `should have the right-most expected group name`);
|
|
977
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
978
|
-
test.end();
|
|
979
|
-
}
|
|
980
|
-
});
|
|
981
|
-
(0, import_tape.default)("Display Sample Counts for Gene: Absolute", function(test) {
|
|
982
|
-
test.timeoutAfter(5e3);
|
|
983
|
-
test.plan(2);
|
|
984
|
-
runpp({
|
|
985
|
-
state: {
|
|
986
|
-
nav: {
|
|
987
|
-
activeTab: 1
|
|
988
|
-
},
|
|
989
|
-
plots: [
|
|
990
|
-
{
|
|
991
|
-
chartType: "matrix",
|
|
992
|
-
settings: {
|
|
993
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
994
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
995
|
-
matrix: {
|
|
996
|
-
availContentWidth: 1200,
|
|
997
|
-
samplecount4gene: "abs"
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
termgroups: [
|
|
1001
|
-
{
|
|
1002
|
-
name: "",
|
|
1003
|
-
lst: getGenes()
|
|
1004
|
-
}
|
|
1005
|
-
]
|
|
1006
|
-
}
|
|
1007
|
-
]
|
|
1008
|
-
},
|
|
1009
|
-
matrix: {
|
|
1010
|
-
callbacks: {
|
|
1011
|
-
"postRender.test": runTests
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
});
|
|
1015
|
-
function runTests(matrix) {
|
|
1016
|
-
matrix.on("postRender.test", null);
|
|
1017
|
-
const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
|
|
1018
|
-
const pattern = /\(\d+\)/;
|
|
1019
|
-
test.true(pattern.test(termLabels[0].textContent), `should display sample counts for gene by absolute number`);
|
|
1020
|
-
test.true(
|
|
1021
|
-
pattern.test(termLabels[termLabels.length - 1].textContent),
|
|
1022
|
-
`should display sample counts for gene by absolute number`
|
|
1023
|
-
);
|
|
1024
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
1025
|
-
test.end();
|
|
1026
|
-
}
|
|
1027
|
-
});
|
|
1028
|
-
(0, import_tape.default)("Display Sample Counts for Gene: Percent", function(test) {
|
|
1029
|
-
test.timeoutAfter(5e3);
|
|
1030
|
-
test.plan(2);
|
|
1031
|
-
runpp({
|
|
1032
|
-
state: {
|
|
1033
|
-
nav: {
|
|
1034
|
-
activeTab: 1
|
|
1035
|
-
},
|
|
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
|
-
nav: {
|
|
1081
|
-
activeTab: 1
|
|
1082
|
-
},
|
|
1083
|
-
plots: [
|
|
1084
|
-
{
|
|
1085
|
-
chartType: "matrix",
|
|
1086
|
-
settings: {
|
|
1087
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
1088
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
1089
|
-
matrix: {
|
|
1090
|
-
availContentWidth: 1200,
|
|
1091
|
-
samplecount4gene: ""
|
|
1092
|
-
}
|
|
1093
|
-
},
|
|
1094
|
-
termgroups: [
|
|
1095
|
-
{
|
|
1096
|
-
name: "",
|
|
1097
|
-
lst: getGenes()
|
|
1098
|
-
}
|
|
1099
|
-
]
|
|
1100
|
-
}
|
|
1101
|
-
]
|
|
1102
|
-
},
|
|
1103
|
-
matrix: {
|
|
1104
|
-
callbacks: {
|
|
1105
|
-
"postRender.test": runTests
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
});
|
|
1109
|
-
function runTests(matrix) {
|
|
1110
|
-
matrix.on("postRender.test", null);
|
|
1111
|
-
const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
|
|
1112
|
-
const pattern = /\(\d+(\.\d+)?%\)|\(\d+\)/g;
|
|
1113
|
-
test.true(!pattern.test(termLabels[0].textContent), `should not display sample counts for gene`);
|
|
1114
|
-
test.true(!pattern.test(termLabels[termLabels.length - 1].textContent), `should not display sample counts for gene`);
|
|
1115
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
1116
|
-
test.end();
|
|
1117
|
-
}
|
|
1118
|
-
});
|
|
1119
|
-
(0, import_tape.default)("Sort Genes By Sample Count", function(test) {
|
|
1120
|
-
test.timeoutAfter(5e3);
|
|
1121
|
-
test.plan(2);
|
|
1122
|
-
runpp({
|
|
1123
|
-
state: {
|
|
1124
|
-
nav: {
|
|
1125
|
-
activeTab: 1
|
|
1126
|
-
},
|
|
1127
|
-
plots: [
|
|
1128
|
-
{
|
|
1129
|
-
chartType: "matrix",
|
|
1130
|
-
settings: {
|
|
1131
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
1132
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
1133
|
-
matrix: {
|
|
1134
|
-
availContentWidth: 1200,
|
|
1135
|
-
sortTermsBy: "sampleCount"
|
|
1136
|
-
}
|
|
1137
|
-
},
|
|
1138
|
-
termgroups: [
|
|
1139
|
-
{
|
|
1140
|
-
name: "",
|
|
1141
|
-
lst: getGenes()
|
|
1142
|
-
}
|
|
1143
|
-
]
|
|
1144
|
-
}
|
|
1145
|
-
]
|
|
1146
|
-
},
|
|
1147
|
-
matrix: {
|
|
1148
|
-
callbacks: {
|
|
1149
|
-
"postRender.test": runTests
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
});
|
|
1153
|
-
function runTests(matrix) {
|
|
1154
|
-
matrix.on("postRender.test", null);
|
|
1155
|
-
const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
|
|
1156
|
-
test.true(termLabels[0].textContent.startsWith("AKT1"), `should sort genes by sample count`);
|
|
1157
|
-
test.true(termLabels[2].textContent.startsWith("KRAS"), `should sort genes by sample count`);
|
|
1158
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
1159
|
-
test.end();
|
|
1160
|
-
}
|
|
1161
|
-
});
|
|
1162
|
-
(0, import_tape.default)("Sort Genes By Input Data Order", function(test) {
|
|
1163
|
-
test.timeoutAfter(5e3);
|
|
1164
|
-
test.plan(2);
|
|
1165
|
-
runpp({
|
|
1166
|
-
state: {
|
|
1167
|
-
nav: {
|
|
1168
|
-
activeTab: 1
|
|
1169
|
-
},
|
|
1170
|
-
plots: [
|
|
1171
|
-
{
|
|
1172
|
-
chartType: "matrix",
|
|
1173
|
-
settings: {
|
|
1174
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
1175
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
1176
|
-
matrix: {
|
|
1177
|
-
availContentWidth: 1200,
|
|
1178
|
-
sortTermsBy: "asListed"
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
termgroups: [
|
|
1182
|
-
{
|
|
1183
|
-
name: "",
|
|
1184
|
-
lst: getGenes()
|
|
1185
|
-
}
|
|
1186
|
-
]
|
|
1187
|
-
}
|
|
1188
|
-
]
|
|
1189
|
-
},
|
|
1190
|
-
matrix: {
|
|
1191
|
-
callbacks: {
|
|
1192
|
-
"postRender.test": runTests
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
});
|
|
1196
|
-
function runTests(matrix) {
|
|
1197
|
-
matrix.on("postRender.test", null);
|
|
1198
|
-
const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label")._groups[0];
|
|
1199
|
-
test.true(termLabels[0].textContent.startsWith("TP53"), `should sort genes by input data order`);
|
|
1200
|
-
test.true(termLabels[2].textContent.startsWith("AKT1"), `should sort genes by input data order`);
|
|
1201
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
1202
|
-
test.end();
|
|
1203
|
-
}
|
|
1204
|
-
});
|
|
1205
|
-
(0, import_tape.default)("avoid race condition", function(test) {
|
|
1206
|
-
test.timeoutAfter(1500);
|
|
1207
|
-
test.plan(4);
|
|
1208
|
-
runpp({
|
|
1209
|
-
state: {
|
|
1210
|
-
nav: {
|
|
1211
|
-
activeTab: 1
|
|
1212
|
-
},
|
|
1213
|
-
plots: [
|
|
1214
|
-
{
|
|
1215
|
-
chartType: "matrix",
|
|
1216
|
-
settings: {
|
|
1217
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
1218
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
1219
|
-
matrix: {
|
|
1220
|
-
availContentWidth: 1200,
|
|
1221
|
-
sortTermsBy: "asListed"
|
|
1222
|
-
}
|
|
1223
|
-
},
|
|
1224
|
-
termgroups: [
|
|
1225
|
-
{
|
|
1226
|
-
name: "",
|
|
1227
|
-
lst: getGenes()
|
|
1228
|
-
}
|
|
1229
|
-
]
|
|
1230
|
-
}
|
|
1231
|
-
]
|
|
1232
|
-
},
|
|
1233
|
-
matrix: {
|
|
1234
|
-
callbacks: {
|
|
1235
|
-
"postRender.test": runTests
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
});
|
|
1239
|
-
async function runTests(matrix) {
|
|
1240
|
-
matrix.on("postRender.test", null);
|
|
1241
|
-
matrix.Inner.app.vocabApi.origGetAnnotatedSampleData = matrix.Inner.app.vocabApi.getAnnotatedSampleData;
|
|
1242
|
-
matrix.Inner.app.vocabApi.getAnnotatedSampleData = async (opts, _refs = {}) => {
|
|
1243
|
-
await sleep(i);
|
|
1244
|
-
i = 0;
|
|
1245
|
-
const data = await matrix.Inner.app.vocabApi.origGetAnnotatedSampleData(opts, _refs);
|
|
1246
|
-
return data;
|
|
1247
|
-
};
|
|
1248
|
-
matrix.on("postRender.test", async () => {
|
|
1249
|
-
matrix.on("postRender.test", null);
|
|
1250
|
-
await sleep(responseDelay + 300);
|
|
1251
|
-
const termLabels = matrix.Inner.dom.termLabelG.selectAll(".sjpp-matrix-term-label-g .sjpp-matrix-label");
|
|
1252
|
-
test.equal(termLabels.size(), 1, `should have 1 gene row`);
|
|
1253
|
-
test.true(termLabels._groups?.[0][0].textContent.startsWith("BCR"), `should sort genes by input data order`);
|
|
1254
|
-
const rects = matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect");
|
|
1255
|
-
const hits = rects.filter((d) => d.key === "BCR" && d.value.class != "WT" && d.value.class != "Blank");
|
|
1256
|
-
test.equal(
|
|
1257
|
-
rects.size(),
|
|
1258
|
-
240,
|
|
1259
|
-
"should have the expected total number of matrix cell rects, inlcuding WT and not tested"
|
|
1260
|
-
);
|
|
1261
|
-
test.equal(hits.size(), 2, "should have the expected number of matrix cell rects with hits");
|
|
1262
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
1263
|
-
test.end();
|
|
1264
|
-
});
|
|
1265
|
-
const responseDelay = 10;
|
|
1266
|
-
let i = responseDelay;
|
|
1267
|
-
try {
|
|
1268
|
-
const results = await Promise.all([
|
|
1269
|
-
matrix.Inner.app.dispatch({
|
|
1270
|
-
type: "plot_edit",
|
|
1271
|
-
id: matrix.id,
|
|
1272
|
-
config: {
|
|
1273
|
-
termgroups: [
|
|
1274
|
-
{
|
|
1275
|
-
name: "",
|
|
1276
|
-
lst: [
|
|
1277
|
-
// $id is added manually since fillTermWrapper() is not called here and
|
|
1278
|
-
// cannot be assumed to be called within store.plot_edit()
|
|
1279
|
-
{
|
|
1280
|
-
$id: 0,
|
|
1281
|
-
term: {
|
|
1282
|
-
gene: "KRAS",
|
|
1283
|
-
name: "KRAS",
|
|
1284
|
-
type: "geneVariant",
|
|
1285
|
-
isleaf: true,
|
|
1286
|
-
groupsetting: { disabled: false }
|
|
1287
|
-
},
|
|
1288
|
-
q: { type: "values" }
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
$id: 1,
|
|
1292
|
-
term: {
|
|
1293
|
-
gene: "AKT1",
|
|
1294
|
-
name: "AKT1",
|
|
1295
|
-
type: "geneVariant",
|
|
1296
|
-
isleaf: true,
|
|
1297
|
-
groupsetting: { disabled: false }
|
|
1298
|
-
},
|
|
1299
|
-
q: { type: "values" }
|
|
1300
|
-
}
|
|
1301
|
-
]
|
|
1302
|
-
}
|
|
1303
|
-
]
|
|
1304
|
-
}
|
|
1305
|
-
}),
|
|
1306
|
-
(async () => {
|
|
1307
|
-
await sleep(1);
|
|
1308
|
-
matrix.Inner.app.dispatch({
|
|
1309
|
-
type: "plot_edit",
|
|
1310
|
-
id: matrix.id,
|
|
1311
|
-
config: {
|
|
1312
|
-
termgroups: [
|
|
1313
|
-
{
|
|
1314
|
-
name: "",
|
|
1315
|
-
// $id is added manually since fillTermWrapper() is not called here and
|
|
1316
|
-
// cannot be assumed to be called within store.plot_edit()
|
|
1317
|
-
lst: [
|
|
1318
|
-
{
|
|
1319
|
-
$id: 3,
|
|
1320
|
-
term: {
|
|
1321
|
-
name: "BCR",
|
|
1322
|
-
genes: [
|
|
1323
|
-
{
|
|
1324
|
-
kind: "gene",
|
|
1325
|
-
id: "BCR",
|
|
1326
|
-
gene: "BCR",
|
|
1327
|
-
name: "BCR",
|
|
1328
|
-
type: "geneVariant"
|
|
1329
|
-
}
|
|
1330
|
-
],
|
|
1331
|
-
type: "geneVariant",
|
|
1332
|
-
isleaf: true,
|
|
1333
|
-
groupsetting: { disabled: false }
|
|
1334
|
-
},
|
|
1335
|
-
q: { type: "values" }
|
|
1336
|
-
}
|
|
1337
|
-
]
|
|
1338
|
-
}
|
|
1339
|
-
]
|
|
1340
|
-
}
|
|
1341
|
-
});
|
|
1342
|
-
})()
|
|
1343
|
-
]);
|
|
1344
|
-
} catch (e) {
|
|
1345
|
-
test.fail("error: " + e);
|
|
1346
|
-
throw e;
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
});
|
|
1350
|
-
(0, import_tape.default)('apply "hide" legend filters to a dictionary term', function(test) {
|
|
1351
|
-
test.timeoutAfter(5e3);
|
|
1352
|
-
test.plan(10);
|
|
1353
|
-
runpp({
|
|
1354
|
-
state: {
|
|
1355
|
-
nav: {
|
|
1356
|
-
activeTab: 1
|
|
1357
|
-
},
|
|
1358
|
-
plots: [
|
|
1359
|
-
{
|
|
1360
|
-
chartType: "matrix",
|
|
1361
|
-
settings: {
|
|
1362
|
-
matrix: {
|
|
1363
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
1364
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
1365
|
-
availContentWidth: 1200
|
|
1366
|
-
}
|
|
1367
|
-
},
|
|
1368
|
-
termgroups: [
|
|
1369
|
-
{
|
|
1370
|
-
name: "Demographics",
|
|
1371
|
-
lst: [
|
|
1372
|
-
{
|
|
1373
|
-
id: "aaclassic_5",
|
|
1374
|
-
q: {
|
|
1375
|
-
mode: "continuous"
|
|
1376
|
-
}
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
id: "genetic_race"
|
|
1380
|
-
//q: { mode: 'values' } // or 'groupsetting'
|
|
1381
|
-
},
|
|
1382
|
-
{
|
|
1383
|
-
id: "agedx",
|
|
1384
|
-
q: {
|
|
1385
|
-
mode: "discrete",
|
|
1386
|
-
type: "regular-bin",
|
|
1387
|
-
bin_size: 5,
|
|
1388
|
-
first_bin: {
|
|
1389
|
-
startunbounded: true,
|
|
1390
|
-
stop: 5,
|
|
1391
|
-
stopinclusive: true
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
// or 'continuous'
|
|
1395
|
-
}
|
|
1396
|
-
]
|
|
1397
|
-
}
|
|
1398
|
-
]
|
|
1399
|
-
}
|
|
1400
|
-
]
|
|
1401
|
-
},
|
|
1402
|
-
matrix: {
|
|
1403
|
-
callbacks: {
|
|
1404
|
-
"postRender.test": runTests
|
|
1405
|
-
}
|
|
1406
|
-
}
|
|
1407
|
-
});
|
|
1408
|
-
async function runTests(matrix) {
|
|
1409
|
-
matrix.on("postRender.test", null);
|
|
1410
|
-
const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1411
|
-
(d) => d?.__data__?.text?.startsWith("Asian")
|
|
1412
|
-
);
|
|
1413
|
-
legendTexts.dispatchEvent(
|
|
1414
|
-
new MouseEvent("mouseup", {
|
|
1415
|
-
bubbles: true,
|
|
1416
|
-
cancelable: true
|
|
1417
|
-
})
|
|
1418
|
-
);
|
|
1419
|
-
const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1420
|
-
test.equal(options[0].innerText, "Hide", `First option should be Hide`);
|
|
1421
|
-
test.equal(options[1].innerText, "Show only", `second option should be Show only`);
|
|
1422
|
-
test.equal(options[2].innerText, "Show all", `third option should be Show all`);
|
|
1423
|
-
const rects = await detectLst({
|
|
1424
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1425
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1426
|
-
count: 177,
|
|
1427
|
-
trigger: () => {
|
|
1428
|
-
options[0].dispatchEvent(
|
|
1429
|
-
new MouseEvent("click", {
|
|
1430
|
-
bubbles: true,
|
|
1431
|
-
cancelable: true
|
|
1432
|
-
})
|
|
1433
|
-
);
|
|
1434
|
-
}
|
|
1435
|
-
});
|
|
1436
|
-
test.equal(
|
|
1437
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1438
|
-
3,
|
|
1439
|
-
`should render the expected number of serieses`
|
|
1440
|
-
);
|
|
1441
|
-
test.equal(
|
|
1442
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
1443
|
-
1,
|
|
1444
|
-
`should render the expected number of cluster rects`
|
|
1445
|
-
);
|
|
1446
|
-
const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1447
|
-
(d) => d?.__data__?.text?.startsWith("Asian")
|
|
1448
|
-
);
|
|
1449
|
-
legendTexts2.dispatchEvent(
|
|
1450
|
-
new MouseEvent("mouseup", {
|
|
1451
|
-
bubbles: true,
|
|
1452
|
-
cancelable: true
|
|
1453
|
-
})
|
|
1454
|
-
);
|
|
1455
|
-
const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1456
|
-
test.equal(options2[0].innerText, "Show", `First option should be Show`);
|
|
1457
|
-
test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
|
|
1458
|
-
test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
|
|
1459
|
-
const rects2 = await detectLst({
|
|
1460
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1461
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1462
|
-
count: 180,
|
|
1463
|
-
trigger: () => {
|
|
1464
|
-
options2[0].dispatchEvent(
|
|
1465
|
-
new MouseEvent("click", {
|
|
1466
|
-
bubbles: true,
|
|
1467
|
-
cancelable: true
|
|
1468
|
-
})
|
|
1469
|
-
);
|
|
1470
|
-
}
|
|
1471
|
-
});
|
|
1472
|
-
test.equal(
|
|
1473
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1474
|
-
3,
|
|
1475
|
-
`should render the expected number of serieses`
|
|
1476
|
-
);
|
|
1477
|
-
test.equal(
|
|
1478
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
1479
|
-
1,
|
|
1480
|
-
`should render the expected number of cluster rects`
|
|
1481
|
-
);
|
|
1482
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
1483
|
-
test.end();
|
|
1484
|
-
}
|
|
1485
|
-
});
|
|
1486
|
-
(0, import_tape.default)('apply "show only" and "show all" legend filters to dictionary terms', function(test) {
|
|
1487
|
-
test.timeoutAfter(5e3);
|
|
1488
|
-
test.plan(14);
|
|
1489
|
-
runpp({
|
|
1490
|
-
state: {
|
|
1491
|
-
nav: {
|
|
1492
|
-
activeTab: 1
|
|
1493
|
-
},
|
|
1494
|
-
plots: [
|
|
1495
|
-
{
|
|
1496
|
-
chartType: "matrix",
|
|
1497
|
-
settings: {
|
|
1498
|
-
matrix: {
|
|
1499
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
1500
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
1501
|
-
availContentWidth: 1200
|
|
1502
|
-
}
|
|
1503
|
-
},
|
|
1504
|
-
termgroups: [
|
|
1505
|
-
{
|
|
1506
|
-
name: "Demographics",
|
|
1507
|
-
lst: [
|
|
1508
|
-
{
|
|
1509
|
-
id: "aaclassic_5",
|
|
1510
|
-
q: {
|
|
1511
|
-
mode: "continuous"
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
id: "sex"
|
|
1516
|
-
//q: { mode: 'values' } // or 'groupsetting'
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
id: "agedx",
|
|
1520
|
-
q: {
|
|
1521
|
-
mode: "discrete",
|
|
1522
|
-
type: "regular-bin",
|
|
1523
|
-
bin_size: 5,
|
|
1524
|
-
first_bin: {
|
|
1525
|
-
startunbounded: true,
|
|
1526
|
-
stop: 5,
|
|
1527
|
-
stopinclusive: true
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
// or 'continuous'
|
|
1531
|
-
}
|
|
1532
|
-
]
|
|
1533
|
-
}
|
|
1534
|
-
]
|
|
1535
|
-
}
|
|
1536
|
-
]
|
|
1537
|
-
},
|
|
1538
|
-
matrix: {
|
|
1539
|
-
callbacks: {
|
|
1540
|
-
"postRender.test": runTests
|
|
1541
|
-
}
|
|
1542
|
-
}
|
|
1543
|
-
});
|
|
1544
|
-
async function runTests(matrix) {
|
|
1545
|
-
matrix.on("postRender.test", null);
|
|
1546
|
-
const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1547
|
-
(d) => d?.__data__?.text?.startsWith("Male")
|
|
1548
|
-
);
|
|
1549
|
-
legendTexts.dispatchEvent(
|
|
1550
|
-
new MouseEvent("mouseup", {
|
|
1551
|
-
bubbles: true,
|
|
1552
|
-
cancelable: true
|
|
1553
|
-
})
|
|
1554
|
-
);
|
|
1555
|
-
const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1556
|
-
const rects = await detectLst({
|
|
1557
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1558
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1559
|
-
count: 75,
|
|
1560
|
-
trigger: () => {
|
|
1561
|
-
options[1].dispatchEvent(
|
|
1562
|
-
new MouseEvent("click", {
|
|
1563
|
-
bubbles: true,
|
|
1564
|
-
cancelable: true
|
|
1565
|
-
})
|
|
1566
|
-
);
|
|
1567
|
-
}
|
|
1568
|
-
});
|
|
1569
|
-
test.equal(
|
|
1570
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1571
|
-
3,
|
|
1572
|
-
`should render the expected number of serieses`
|
|
1573
|
-
);
|
|
1574
|
-
test.equal(
|
|
1575
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
1576
|
-
1,
|
|
1577
|
-
`should render the expected number of cluster rects`
|
|
1578
|
-
);
|
|
1579
|
-
const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1580
|
-
(d) => d?.__data__?.text?.startsWith("<5")
|
|
1581
|
-
);
|
|
1582
|
-
secondLegendTexts.dispatchEvent(
|
|
1583
|
-
new MouseEvent("mouseup", {
|
|
1584
|
-
bubbles: true,
|
|
1585
|
-
cancelable: true
|
|
1586
|
-
})
|
|
1587
|
-
);
|
|
1588
|
-
const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1589
|
-
test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
|
|
1590
|
-
test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
|
|
1591
|
-
test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
|
|
1592
|
-
const secondRects = await detectLst({
|
|
1593
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1594
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1595
|
-
count: 30,
|
|
1596
|
-
trigger: () => {
|
|
1597
|
-
secondOptions[1].dispatchEvent(
|
|
1598
|
-
new MouseEvent("click", {
|
|
1599
|
-
bubbles: true,
|
|
1600
|
-
cancelable: true
|
|
1601
|
-
})
|
|
1602
|
-
);
|
|
1603
|
-
}
|
|
1604
|
-
});
|
|
1605
|
-
test.equal(
|
|
1606
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1607
|
-
3,
|
|
1608
|
-
`should render the expected number of serieses`
|
|
1609
|
-
);
|
|
1610
|
-
test.equal(
|
|
1611
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
1612
|
-
1,
|
|
1613
|
-
`should render the expected number of cluster rects`
|
|
1614
|
-
);
|
|
1615
|
-
const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1616
|
-
(d) => d?.__data__?.text?.startsWith("<5")
|
|
1617
|
-
);
|
|
1618
|
-
thirdLegendTexts.dispatchEvent(
|
|
1619
|
-
new MouseEvent("mouseup", {
|
|
1620
|
-
bubbles: true,
|
|
1621
|
-
cancelable: true
|
|
1622
|
-
})
|
|
1623
|
-
);
|
|
1624
|
-
const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1625
|
-
test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
|
|
1626
|
-
test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
|
|
1627
|
-
const thirdRects = await detectLst({
|
|
1628
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1629
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1630
|
-
count: 0,
|
|
1631
|
-
trigger: () => {
|
|
1632
|
-
thirdOptions[0].dispatchEvent(
|
|
1633
|
-
new MouseEvent("click", {
|
|
1634
|
-
bubbles: true,
|
|
1635
|
-
cancelable: true
|
|
1636
|
-
})
|
|
1637
|
-
);
|
|
1638
|
-
}
|
|
1639
|
-
});
|
|
1640
|
-
test.equal(
|
|
1641
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1642
|
-
0,
|
|
1643
|
-
`should render the expected number of serieses`
|
|
1644
|
-
);
|
|
1645
|
-
const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1646
|
-
(d) => d?.__data__?.text?.startsWith("<5")
|
|
1647
|
-
);
|
|
1648
|
-
fourthLegendTexts.dispatchEvent(
|
|
1649
|
-
new MouseEvent("mouseup", {
|
|
1650
|
-
bubbles: true,
|
|
1651
|
-
cancelable: true
|
|
1652
|
-
})
|
|
1653
|
-
);
|
|
1654
|
-
const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1655
|
-
test.equal(fourthOptions[0].innerText, "Show", `first option should be Show`);
|
|
1656
|
-
test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
|
|
1657
|
-
const fourthRects = await detectLst({
|
|
1658
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1659
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1660
|
-
count: 75,
|
|
1661
|
-
trigger: () => {
|
|
1662
|
-
fourthOptions[2].dispatchEvent(
|
|
1663
|
-
new MouseEvent("click", {
|
|
1664
|
-
bubbles: true,
|
|
1665
|
-
cancelable: true
|
|
1666
|
-
})
|
|
1667
|
-
);
|
|
1668
|
-
}
|
|
1669
|
-
});
|
|
1670
|
-
test.equal(
|
|
1671
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1672
|
-
3,
|
|
1673
|
-
`should render the expected number of serieses`
|
|
1674
|
-
);
|
|
1675
|
-
test.equal(
|
|
1676
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
1677
|
-
1,
|
|
1678
|
-
`should render the expected number of cluster rects`
|
|
1679
|
-
);
|
|
1680
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
1681
|
-
test.end();
|
|
1682
|
-
}
|
|
1683
|
-
});
|
|
1684
|
-
(0, import_tape.default)(
|
|
1685
|
-
'apply "Hide samples with" and "Do not show" legend filters to a geneVariant term in geneVariant term only matrix',
|
|
1686
|
-
function(test) {
|
|
1687
|
-
test.timeoutAfter(5e3);
|
|
1688
|
-
test.plan(12);
|
|
1689
|
-
runpp({
|
|
1690
|
-
state: {
|
|
1691
|
-
nav: {
|
|
1692
|
-
activeTab: 1
|
|
1693
|
-
},
|
|
1694
|
-
plots: [
|
|
1695
|
-
{
|
|
1696
|
-
chartType: "matrix",
|
|
1697
|
-
settings: {
|
|
1698
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
1699
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
1700
|
-
matrix: {
|
|
1701
|
-
availContentWidth: 1200
|
|
1702
|
-
}
|
|
1703
|
-
},
|
|
1704
|
-
termgroups: [
|
|
1705
|
-
{
|
|
1706
|
-
name: "",
|
|
1707
|
-
lst: [getGenes()[0]]
|
|
1708
|
-
}
|
|
1709
|
-
]
|
|
1710
|
-
}
|
|
1711
|
-
]
|
|
1712
|
-
},
|
|
1713
|
-
matrix: {
|
|
1714
|
-
callbacks: {
|
|
1715
|
-
"postRender.test": runTests
|
|
1716
|
-
}
|
|
1717
|
-
}
|
|
1718
|
-
});
|
|
1719
|
-
async function runTests(matrix) {
|
|
1720
|
-
matrix.on("postRender.test", null);
|
|
1721
|
-
const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1722
|
-
(d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
|
|
1723
|
-
);
|
|
1724
|
-
legendTexts.dispatchEvent(
|
|
1725
|
-
new MouseEvent("mouseup", {
|
|
1726
|
-
bubbles: true,
|
|
1727
|
-
cancelable: true
|
|
1728
|
-
})
|
|
1729
|
-
);
|
|
1730
|
-
const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1731
|
-
test.equal(
|
|
1732
|
-
options[0].innerText,
|
|
1733
|
-
"Hide samples with FRAMESHIFT",
|
|
1734
|
-
`First option should be "Hide samples with FRAMESHIFT"`
|
|
1735
|
-
);
|
|
1736
|
-
test.equal(options[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
|
|
1737
|
-
test.equal(options.length, 2, `Should only show two options`);
|
|
1738
|
-
const rects = await detectLst({
|
|
1739
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1740
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1741
|
-
count: 236,
|
|
1742
|
-
trigger: () => {
|
|
1743
|
-
options[0].dispatchEvent(
|
|
1744
|
-
new MouseEvent("click", {
|
|
1745
|
-
bubbles: true,
|
|
1746
|
-
cancelable: true
|
|
1747
|
-
})
|
|
1748
|
-
);
|
|
1749
|
-
}
|
|
1750
|
-
});
|
|
1751
|
-
test.equal(
|
|
1752
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1753
|
-
1,
|
|
1754
|
-
`should render the expected number of serieses`
|
|
1755
|
-
);
|
|
1756
|
-
test.equal(
|
|
1757
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
1758
|
-
1,
|
|
1759
|
-
`should render the expected number of cluster rects`
|
|
1760
|
-
);
|
|
1761
|
-
const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1762
|
-
(d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
|
|
1763
|
-
);
|
|
1764
|
-
legendTexts2.dispatchEvent(
|
|
1765
|
-
new MouseEvent("mouseup", {
|
|
1766
|
-
bubbles: true,
|
|
1767
|
-
cancelable: true
|
|
1768
|
-
})
|
|
1769
|
-
);
|
|
1770
|
-
const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1771
|
-
test.equal(
|
|
1772
|
-
options2[0].innerText,
|
|
1773
|
-
"Show samples with FRAMESHIFT",
|
|
1774
|
-
`First option should be "Show samples with FRAMESHIFT"`
|
|
1775
|
-
);
|
|
1776
|
-
test.equal(options2.length, 1, `Should only show one option`);
|
|
1777
|
-
const rects2 = await detectLst({
|
|
1778
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1779
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1780
|
-
count: 240,
|
|
1781
|
-
trigger: () => {
|
|
1782
|
-
options2[0].dispatchEvent(
|
|
1783
|
-
new MouseEvent("click", {
|
|
1784
|
-
bubbles: true,
|
|
1785
|
-
cancelable: true
|
|
1786
|
-
})
|
|
1787
|
-
);
|
|
1788
|
-
}
|
|
1789
|
-
});
|
|
1790
|
-
test.equal(
|
|
1791
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1792
|
-
1,
|
|
1793
|
-
`should render the expected number of serieses`
|
|
1794
|
-
);
|
|
1795
|
-
test.equal(
|
|
1796
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
1797
|
-
1,
|
|
1798
|
-
`should render the expected number of cluster rects`
|
|
1799
|
-
);
|
|
1800
|
-
const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1801
|
-
(d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
|
|
1802
|
-
);
|
|
1803
|
-
legendTexts3.dispatchEvent(
|
|
1804
|
-
new MouseEvent("mouseup", {
|
|
1805
|
-
bubbles: true,
|
|
1806
|
-
cancelable: true
|
|
1807
|
-
})
|
|
1808
|
-
);
|
|
1809
|
-
const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1810
|
-
test.equal(options3.length, 2, `Should only show two options`);
|
|
1811
|
-
const rects3 = await detectLst({
|
|
1812
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1813
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1814
|
-
count: 239,
|
|
1815
|
-
trigger: () => {
|
|
1816
|
-
options3[1].dispatchEvent(
|
|
1817
|
-
new MouseEvent("click", {
|
|
1818
|
-
bubbles: true,
|
|
1819
|
-
cancelable: true
|
|
1820
|
-
})
|
|
1821
|
-
);
|
|
1822
|
-
}
|
|
1823
|
-
});
|
|
1824
|
-
const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1825
|
-
(d) => d?.__data__?.$id?.startsWith("Germline Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
|
|
1826
|
-
);
|
|
1827
|
-
legendTexts4.dispatchEvent(
|
|
1828
|
-
new MouseEvent("mouseup", {
|
|
1829
|
-
bubbles: true,
|
|
1830
|
-
cancelable: true
|
|
1831
|
-
})
|
|
1832
|
-
);
|
|
1833
|
-
const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1834
|
-
test.equal(
|
|
1835
|
-
options4[0].innerText,
|
|
1836
|
-
"Show samples with FRAMESHIFT",
|
|
1837
|
-
`First option should be "Show samples with FRAMESHIFT"`
|
|
1838
|
-
);
|
|
1839
|
-
test.equal(options4.length, 1, `Should only show one option`);
|
|
1840
|
-
const rects4 = await detectLst({
|
|
1841
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1842
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1843
|
-
count: 240,
|
|
1844
|
-
trigger: () => {
|
|
1845
|
-
options4[0].dispatchEvent(
|
|
1846
|
-
new MouseEvent("click", {
|
|
1847
|
-
bubbles: true,
|
|
1848
|
-
cancelable: true
|
|
1849
|
-
})
|
|
1850
|
-
);
|
|
1851
|
-
}
|
|
1852
|
-
});
|
|
1853
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
1854
|
-
test.end();
|
|
1855
|
-
}
|
|
1856
|
-
}
|
|
1857
|
-
);
|
|
1858
|
-
(0, import_tape.default)("apply legend group filters to a geneVariant term in geneVariant term only matrix", function(test) {
|
|
1859
|
-
test.timeoutAfter(5e3);
|
|
1860
|
-
test.plan(15);
|
|
1861
|
-
runpp({
|
|
1862
|
-
state: {
|
|
1863
|
-
nav: {
|
|
1864
|
-
activeTab: 1
|
|
1865
|
-
},
|
|
1866
|
-
plots: [
|
|
1867
|
-
{
|
|
1868
|
-
chartType: "matrix",
|
|
1869
|
-
settings: {
|
|
1870
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
1871
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
1872
|
-
matrix: {
|
|
1873
|
-
availContentWidth: 1200
|
|
1874
|
-
}
|
|
1875
|
-
},
|
|
1876
|
-
termgroups: [
|
|
1877
|
-
{
|
|
1878
|
-
name: "",
|
|
1879
|
-
lst: [{ term: { gene: "TP53", name: "TP53", type: "geneVariant", isleaf: true } }]
|
|
1880
|
-
}
|
|
1881
|
-
]
|
|
1882
|
-
}
|
|
1883
|
-
]
|
|
1884
|
-
},
|
|
1885
|
-
matrix: {
|
|
1886
|
-
callbacks: {
|
|
1887
|
-
"postRender.test": runTests
|
|
1888
|
-
}
|
|
1889
|
-
}
|
|
1890
|
-
});
|
|
1891
|
-
async function runTests(matrix) {
|
|
1892
|
-
matrix.on("postRender.test", null);
|
|
1893
|
-
const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1894
|
-
(d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
|
|
1895
|
-
);
|
|
1896
|
-
legendTexts.dispatchEvent(
|
|
1897
|
-
new MouseEvent("mouseup", {
|
|
1898
|
-
bubbles: true,
|
|
1899
|
-
cancelable: true
|
|
1900
|
-
})
|
|
1901
|
-
);
|
|
1902
|
-
const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1903
|
-
test.equal(
|
|
1904
|
-
options[0].innerText,
|
|
1905
|
-
"Show only truncating mutations",
|
|
1906
|
-
`First option should be "Show only truncating mutations"`
|
|
1907
|
-
);
|
|
1908
|
-
test.equal(
|
|
1909
|
-
options[1].innerText,
|
|
1910
|
-
"Show only protein-changing mutations",
|
|
1911
|
-
`second option should be "Show only protein-changing mutations"`
|
|
1912
|
-
);
|
|
1913
|
-
test.equal(
|
|
1914
|
-
options[2].innerText,
|
|
1915
|
-
"Do not show Somatic Mutations",
|
|
1916
|
-
`third option should be "Do not show Somatic Mutations"`
|
|
1917
|
-
);
|
|
1918
|
-
test.equal(options.length, 3, `Should show three options`);
|
|
1919
|
-
const rects = await detectLst({
|
|
1920
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1921
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1922
|
-
count: 181,
|
|
1923
|
-
trigger: () => {
|
|
1924
|
-
options[0].dispatchEvent(
|
|
1925
|
-
new MouseEvent("click", {
|
|
1926
|
-
bubbles: true,
|
|
1927
|
-
cancelable: true
|
|
1928
|
-
})
|
|
1929
|
-
);
|
|
1930
|
-
}
|
|
1931
|
-
});
|
|
1932
|
-
test.equal(
|
|
1933
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1934
|
-
1,
|
|
1935
|
-
`should render the expected number of serieses`
|
|
1936
|
-
);
|
|
1937
|
-
const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1938
|
-
(d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
|
|
1939
|
-
);
|
|
1940
|
-
legendTexts2.dispatchEvent(
|
|
1941
|
-
new MouseEvent("mouseup", {
|
|
1942
|
-
bubbles: true,
|
|
1943
|
-
cancelable: true
|
|
1944
|
-
})
|
|
1945
|
-
);
|
|
1946
|
-
const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1947
|
-
test.equal(
|
|
1948
|
-
options2[2].innerText,
|
|
1949
|
-
"Do not show Somatic Mutations",
|
|
1950
|
-
`third option should be "Do not show Somatic Mutations"`
|
|
1951
|
-
);
|
|
1952
|
-
test.equal(
|
|
1953
|
-
options2[3].innerText,
|
|
1954
|
-
"Show all Somatic Mutations",
|
|
1955
|
-
`fourth option should be "Show all Somatic Mutations"`
|
|
1956
|
-
);
|
|
1957
|
-
test.equal(options2.length, 4, `Should show four options`);
|
|
1958
|
-
const rects2 = await detectLst({
|
|
1959
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1960
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1961
|
-
count: 183,
|
|
1962
|
-
trigger: () => {
|
|
1963
|
-
options2[1].dispatchEvent(
|
|
1964
|
-
new MouseEvent("click", {
|
|
1965
|
-
bubbles: true,
|
|
1966
|
-
cancelable: true
|
|
1967
|
-
})
|
|
1968
|
-
);
|
|
1969
|
-
}
|
|
1970
|
-
});
|
|
1971
|
-
test.equal(
|
|
1972
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
1973
|
-
1,
|
|
1974
|
-
`should render the expected number of serieses`
|
|
1975
|
-
);
|
|
1976
|
-
const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
1977
|
-
(d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
|
|
1978
|
-
);
|
|
1979
|
-
legendTexts3.dispatchEvent(
|
|
1980
|
-
new MouseEvent("mouseup", {
|
|
1981
|
-
bubbles: true,
|
|
1982
|
-
cancelable: true
|
|
1983
|
-
})
|
|
1984
|
-
);
|
|
1985
|
-
const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
1986
|
-
test.equal(
|
|
1987
|
-
options3[2].innerText,
|
|
1988
|
-
"Do not show Somatic Mutations",
|
|
1989
|
-
`third option should be "Do not show Somatic Mutations"`
|
|
1990
|
-
);
|
|
1991
|
-
test.equal(options3.length, 4, `Should show four options`);
|
|
1992
|
-
const rects3 = await detectLst({
|
|
1993
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
1994
|
-
selector: ".sjpp-mass-series-g rect",
|
|
1995
|
-
count: 180,
|
|
1996
|
-
trigger: () => {
|
|
1997
|
-
options3[2].dispatchEvent(
|
|
1998
|
-
new MouseEvent("click", {
|
|
1999
|
-
bubbles: true,
|
|
2000
|
-
cancelable: true
|
|
2001
|
-
})
|
|
2002
|
-
);
|
|
2003
|
-
}
|
|
2004
|
-
});
|
|
2005
|
-
test.equal(
|
|
2006
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2007
|
-
1,
|
|
2008
|
-
`should render the expected number of serieses`
|
|
2009
|
-
);
|
|
2010
|
-
const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2011
|
-
(d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
|
|
2012
|
-
);
|
|
2013
|
-
legendTexts4.dispatchEvent(
|
|
2014
|
-
new MouseEvent("mouseup", {
|
|
2015
|
-
bubbles: true,
|
|
2016
|
-
cancelable: true
|
|
2017
|
-
})
|
|
2018
|
-
);
|
|
2019
|
-
const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2020
|
-
test.equal(
|
|
2021
|
-
options4[0].innerText,
|
|
2022
|
-
"Show all Somatic Mutations",
|
|
2023
|
-
`first option should be "Show all Somatic Mutations"`
|
|
2024
|
-
);
|
|
2025
|
-
test.equal(options4.length, 1, `Should show one option`);
|
|
2026
|
-
const rects4 = await detectLst({
|
|
2027
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2028
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2029
|
-
count: 240,
|
|
2030
|
-
trigger: () => {
|
|
2031
|
-
options4[0].dispatchEvent(
|
|
2032
|
-
new MouseEvent("click", {
|
|
2033
|
-
bubbles: true,
|
|
2034
|
-
cancelable: true
|
|
2035
|
-
})
|
|
2036
|
-
);
|
|
2037
|
-
}
|
|
2038
|
-
});
|
|
2039
|
-
test.equal(
|
|
2040
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2041
|
-
1,
|
|
2042
|
-
`should render the expected number of serieses`
|
|
2043
|
-
);
|
|
2044
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
2045
|
-
test.end();
|
|
2046
|
-
}
|
|
2047
|
-
});
|
|
2048
|
-
(0, import_tape.default)(
|
|
2049
|
-
"apply legend group filters and legend filters to a matrix with both geneVariant and dictionary terms",
|
|
2050
|
-
function(test) {
|
|
2051
|
-
test.timeoutAfter(5e3);
|
|
2052
|
-
test.plan(13);
|
|
2053
|
-
runpp({
|
|
2054
|
-
state: {
|
|
2055
|
-
nav: {
|
|
2056
|
-
activeTab: 1
|
|
2057
|
-
},
|
|
2058
|
-
plots: [
|
|
2059
|
-
{
|
|
2060
|
-
chartType: "matrix",
|
|
2061
|
-
settings: {
|
|
2062
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
2063
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
2064
|
-
matrix: {
|
|
2065
|
-
availContentWidth: 1200
|
|
2066
|
-
}
|
|
2067
|
-
},
|
|
2068
|
-
termgroups: [
|
|
2069
|
-
{
|
|
2070
|
-
name: "",
|
|
2071
|
-
lst: [
|
|
2072
|
-
...getGenes(),
|
|
2073
|
-
{ id: "agedx", term: termjson["agedx"] },
|
|
2074
|
-
{ id: "diaggrp", term: termjson["diaggrp"] },
|
|
2075
|
-
{ id: "aaclassic_5", term: termjson["aaclassic_5"] }
|
|
2076
|
-
]
|
|
2077
|
-
}
|
|
2078
|
-
]
|
|
2079
|
-
}
|
|
2080
|
-
]
|
|
2081
|
-
},
|
|
2082
|
-
matrix: {
|
|
2083
|
-
callbacks: {
|
|
2084
|
-
"postRender.test": runTests
|
|
2085
|
-
}
|
|
2086
|
-
}
|
|
2087
|
-
});
|
|
2088
|
-
async function runTests(matrix) {
|
|
2089
|
-
matrix.on("postRender.test", null);
|
|
2090
|
-
const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2091
|
-
(d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
|
|
2092
|
-
);
|
|
2093
|
-
legendTexts.dispatchEvent(
|
|
2094
|
-
new MouseEvent("mouseup", {
|
|
2095
|
-
bubbles: true,
|
|
2096
|
-
cancelable: true
|
|
2097
|
-
})
|
|
2098
|
-
);
|
|
2099
|
-
const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2100
|
-
test.equal(
|
|
2101
|
-
options[0].innerText,
|
|
2102
|
-
"Show only truncating mutations",
|
|
2103
|
-
`First option should be "Show only truncating mutations"`
|
|
2104
|
-
);
|
|
2105
|
-
test.equal(options.length, 3, `Should show three options`);
|
|
2106
|
-
const rects = await detectLst({
|
|
2107
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2108
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2109
|
-
count: 721,
|
|
2110
|
-
trigger: () => {
|
|
2111
|
-
options[0].dispatchEvent(
|
|
2112
|
-
new MouseEvent("click", {
|
|
2113
|
-
bubbles: true,
|
|
2114
|
-
cancelable: true
|
|
2115
|
-
})
|
|
2116
|
-
);
|
|
2117
|
-
}
|
|
2118
|
-
});
|
|
2119
|
-
test.equal(
|
|
2120
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2121
|
-
6,
|
|
2122
|
-
`should render the expected number of serieses`
|
|
2123
|
-
);
|
|
2124
|
-
const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2125
|
-
(d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
|
|
2126
|
-
);
|
|
2127
|
-
legendTexts2.dispatchEvent(
|
|
2128
|
-
new MouseEvent("mouseup", {
|
|
2129
|
-
bubbles: true,
|
|
2130
|
-
cancelable: true
|
|
2131
|
-
})
|
|
2132
|
-
);
|
|
2133
|
-
const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2134
|
-
test.equal(
|
|
2135
|
-
options2[1].innerText,
|
|
2136
|
-
"Show only protein-changing mutations",
|
|
2137
|
-
`second option should be "Show only protein-changing mutations"`
|
|
2138
|
-
);
|
|
2139
|
-
test.equal(
|
|
2140
|
-
options2[3].innerText,
|
|
2141
|
-
"Show all Somatic Mutations",
|
|
2142
|
-
`fourth option should be "Show all Somatic Mutations"`
|
|
2143
|
-
);
|
|
2144
|
-
test.equal(options2.length, 4, `Should show four options`);
|
|
2145
|
-
const rects2 = await detectLst({
|
|
2146
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2147
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2148
|
-
count: 724,
|
|
2149
|
-
trigger: () => {
|
|
2150
|
-
options2[1].dispatchEvent(
|
|
2151
|
-
new MouseEvent("click", {
|
|
2152
|
-
bubbles: true,
|
|
2153
|
-
cancelable: true
|
|
2154
|
-
})
|
|
2155
|
-
);
|
|
2156
|
-
}
|
|
2157
|
-
});
|
|
2158
|
-
const legendTexts3 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2159
|
-
(d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
|
|
2160
|
-
);
|
|
2161
|
-
legendTexts3.dispatchEvent(
|
|
2162
|
-
new MouseEvent("mouseup", {
|
|
2163
|
-
bubbles: true,
|
|
2164
|
-
cancelable: true
|
|
2165
|
-
})
|
|
2166
|
-
);
|
|
2167
|
-
const options3 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2168
|
-
test.equal(
|
|
2169
|
-
options3[0].innerText,
|
|
2170
|
-
"Hide samples with FRAMESHIFT",
|
|
2171
|
-
`First option should be "Hide samples with FRAMESHIFT"`
|
|
2172
|
-
);
|
|
2173
|
-
test.equal(options3[1].innerText, "Do not show FRAMESHIFT", `second option should be "Do not show FRAMESHIFT"`);
|
|
2174
|
-
const rects3 = await detectLst({
|
|
2175
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2176
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2177
|
-
count: 711,
|
|
2178
|
-
trigger: () => {
|
|
2179
|
-
options3[0].dispatchEvent(
|
|
2180
|
-
new MouseEvent("click", {
|
|
2181
|
-
bubbles: true,
|
|
2182
|
-
cancelable: true
|
|
2183
|
-
})
|
|
2184
|
-
);
|
|
2185
|
-
}
|
|
2186
|
-
});
|
|
2187
|
-
test.equal(
|
|
2188
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2189
|
-
6,
|
|
2190
|
-
`should render the expected number of serieses`
|
|
2191
|
-
);
|
|
2192
|
-
const legendTexts4 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2193
|
-
(d) => d?.__data__?.$id?.startsWith("Somatic Mutations") && d.__data__.text?.startsWith("FRAMESHIFT")
|
|
2194
|
-
);
|
|
2195
|
-
legendTexts4.dispatchEvent(
|
|
2196
|
-
new MouseEvent("mouseup", {
|
|
2197
|
-
bubbles: true,
|
|
2198
|
-
cancelable: true
|
|
2199
|
-
})
|
|
2200
|
-
);
|
|
2201
|
-
const options4 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2202
|
-
test.equal(
|
|
2203
|
-
options4[0].innerText,
|
|
2204
|
-
"Show samples with FRAMESHIFT",
|
|
2205
|
-
`First option should be "Show samples with FRAMESHIFT"`
|
|
2206
|
-
);
|
|
2207
|
-
test.equal(options4.length, 1, `Should only show one option`);
|
|
2208
|
-
const rects4 = await detectLst({
|
|
2209
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2210
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2211
|
-
count: 724,
|
|
2212
|
-
trigger: () => {
|
|
2213
|
-
options4[0].dispatchEvent(
|
|
2214
|
-
new MouseEvent("click", {
|
|
2215
|
-
bubbles: true,
|
|
2216
|
-
cancelable: true
|
|
2217
|
-
})
|
|
2218
|
-
);
|
|
2219
|
-
}
|
|
2220
|
-
});
|
|
2221
|
-
const legendTexts5 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2222
|
-
(d) => d?.__data__?.name == "Somatic Mutations" && !d.__data__.isLegendItem
|
|
2223
|
-
);
|
|
2224
|
-
legendTexts5.dispatchEvent(
|
|
2225
|
-
new MouseEvent("mouseup", {
|
|
2226
|
-
bubbles: true,
|
|
2227
|
-
cancelable: true
|
|
2228
|
-
})
|
|
2229
|
-
);
|
|
2230
|
-
const options5 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2231
|
-
test.equal(
|
|
2232
|
-
options5[3].innerText,
|
|
2233
|
-
"Show all Somatic Mutations",
|
|
2234
|
-
`fourth option should be "Show all Somatic Mutations"`
|
|
2235
|
-
);
|
|
2236
|
-
test.equal(options5.length, 4, `Should show four options`);
|
|
2237
|
-
const rects5 = await detectLst({
|
|
2238
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2239
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2240
|
-
count: 900,
|
|
2241
|
-
trigger: () => {
|
|
2242
|
-
options5[3].dispatchEvent(
|
|
2243
|
-
new MouseEvent("click", {
|
|
2244
|
-
bubbles: true,
|
|
2245
|
-
cancelable: true
|
|
2246
|
-
})
|
|
2247
|
-
);
|
|
2248
|
-
}
|
|
2249
|
-
});
|
|
2250
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
2251
|
-
test.end();
|
|
2252
|
-
}
|
|
2253
|
-
}
|
|
2254
|
-
);
|
|
2255
|
-
(0, import_tape.default)("cell brush zoom in", function(test) {
|
|
2256
|
-
test.timeoutAfter(5e3);
|
|
2257
|
-
test.plan(1);
|
|
2258
|
-
runpp({
|
|
2259
|
-
state: {
|
|
2260
|
-
nav: {
|
|
2261
|
-
activeTab: 1
|
|
2262
|
-
},
|
|
2263
|
-
plots: [
|
|
2264
|
-
{
|
|
2265
|
-
chartType: "matrix",
|
|
2266
|
-
settings: {
|
|
2267
|
-
matrix: {
|
|
2268
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
2269
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
2270
|
-
availContentWidth: 300
|
|
2271
|
-
}
|
|
2272
|
-
},
|
|
2273
|
-
termgroups: [
|
|
2274
|
-
{
|
|
2275
|
-
name: "Demographics",
|
|
2276
|
-
lst: [
|
|
2277
|
-
{
|
|
2278
|
-
id: "aaclassic_5",
|
|
2279
|
-
q: {
|
|
2280
|
-
mode: "continuous"
|
|
2281
|
-
}
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
id: "sex"
|
|
2285
|
-
//q: { mode: 'values' } // or 'groupsetting'
|
|
2286
|
-
},
|
|
2287
|
-
{
|
|
2288
|
-
id: "agedx",
|
|
2289
|
-
q: {
|
|
2290
|
-
mode: "discrete",
|
|
2291
|
-
type: "regular-bin",
|
|
2292
|
-
bin_size: 5,
|
|
2293
|
-
first_bin: {
|
|
2294
|
-
startunbounded: true,
|
|
2295
|
-
stop: 5,
|
|
2296
|
-
stopinclusive: true
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
// or 'continuous'
|
|
2300
|
-
}
|
|
2301
|
-
]
|
|
2302
|
-
}
|
|
2303
|
-
]
|
|
2304
|
-
}
|
|
2305
|
-
]
|
|
2306
|
-
},
|
|
2307
|
-
matrix: {
|
|
2308
|
-
callbacks: {
|
|
2309
|
-
"postRender.test": runTests
|
|
2310
|
-
}
|
|
2311
|
-
}
|
|
2312
|
-
});
|
|
2313
|
-
async function runTests(matrix) {
|
|
2314
|
-
matrix.on("postRender.test", null);
|
|
2315
|
-
const startCell = matrix.Inner.serieses[1].cells[10];
|
|
2316
|
-
const endCell = matrix.Inner.serieses[1].cells[14];
|
|
2317
|
-
matrix.Inner.clickedSeriesCell = {
|
|
2318
|
-
startCell,
|
|
2319
|
-
endCell
|
|
2320
|
-
};
|
|
2321
|
-
matrix.Inner.zoomWidth = Math.abs(startCell.totalIndex - endCell.totalIndex) * matrix.Inner.dimensions.colw;
|
|
2322
|
-
matrix.on("postRender.test", () => {
|
|
2323
|
-
matrix.on("postRender.test", null);
|
|
2324
|
-
test.deepEqual(matrix.Inner.settings.matrix.zoomLevel, 4, "should have the expected zoom level after zoom in");
|
|
2325
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
2326
|
-
test.end();
|
|
2327
|
-
});
|
|
2328
|
-
matrix.Inner.triggerZoomArea();
|
|
2329
|
-
}
|
|
2330
|
-
});
|
|
2331
|
-
(0, import_tape.default)("survival term in continous mode", function(test) {
|
|
2332
|
-
test.timeoutAfter(5e3);
|
|
2333
|
-
test.plan(2);
|
|
2334
|
-
runpp({
|
|
2335
|
-
state: {
|
|
2336
|
-
nav: {
|
|
2337
|
-
activeTab: 1
|
|
2338
|
-
},
|
|
2339
|
-
plots: [
|
|
2340
|
-
{
|
|
2341
|
-
chartType: "matrix",
|
|
2342
|
-
settings: {
|
|
2343
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
2344
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
2345
|
-
matrix: {
|
|
2346
|
-
availContentWidth: 1200
|
|
2347
|
-
}
|
|
2348
|
-
},
|
|
2349
|
-
termgroups: [
|
|
2350
|
-
{
|
|
2351
|
-
name: "",
|
|
2352
|
-
lst: [
|
|
2353
|
-
{
|
|
2354
|
-
term: {
|
|
2355
|
-
name: "Overall survival",
|
|
2356
|
-
type: "survival",
|
|
2357
|
-
isleaf: true,
|
|
2358
|
-
unit: "years",
|
|
2359
|
-
id: "os"
|
|
2360
|
-
},
|
|
2361
|
-
q: {
|
|
2362
|
-
mode: "continuous"
|
|
2363
|
-
}
|
|
2364
|
-
}
|
|
2365
|
-
]
|
|
2366
|
-
}
|
|
2367
|
-
]
|
|
2368
|
-
}
|
|
2369
|
-
]
|
|
2370
|
-
},
|
|
2371
|
-
matrix: {
|
|
2372
|
-
callbacks: {
|
|
2373
|
-
"postRender.test": runTests
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
});
|
|
2377
|
-
function runTests(matrix) {
|
|
2378
|
-
matrix.on("postRender.test", null);
|
|
2379
|
-
test.equal(
|
|
2380
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2381
|
-
1,
|
|
2382
|
-
`should render the expected number of serieses`
|
|
2383
|
-
);
|
|
2384
|
-
test.equal(
|
|
2385
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
2386
|
-
60,
|
|
2387
|
-
`should render the expected number of cell rects`
|
|
2388
|
-
);
|
|
2389
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
2390
|
-
test.end();
|
|
2391
|
-
}
|
|
2392
|
-
});
|
|
2393
|
-
(0, import_tape.default)("survival term in discrete mode", function(test) {
|
|
2394
|
-
test.timeoutAfter(5e3);
|
|
2395
|
-
test.plan(2);
|
|
2396
|
-
runpp({
|
|
2397
|
-
state: {
|
|
2398
|
-
nav: {
|
|
2399
|
-
activeTab: 1
|
|
2400
|
-
},
|
|
2401
|
-
plots: [
|
|
2402
|
-
{
|
|
2403
|
-
chartType: "matrix",
|
|
2404
|
-
settings: {
|
|
2405
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
2406
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
2407
|
-
matrix: {
|
|
2408
|
-
availContentWidth: 1200
|
|
2409
|
-
}
|
|
2410
|
-
},
|
|
2411
|
-
termgroups: [
|
|
2412
|
-
{
|
|
2413
|
-
name: "",
|
|
2414
|
-
lst: [
|
|
2415
|
-
{
|
|
2416
|
-
term: {
|
|
2417
|
-
name: "Overall survival",
|
|
2418
|
-
type: "survival",
|
|
2419
|
-
isleaf: true,
|
|
2420
|
-
unit: "years",
|
|
2421
|
-
id: "os"
|
|
2422
|
-
},
|
|
2423
|
-
q: {
|
|
2424
|
-
mode: "continuous"
|
|
2425
|
-
}
|
|
2426
|
-
}
|
|
2427
|
-
]
|
|
2428
|
-
}
|
|
2429
|
-
]
|
|
2430
|
-
}
|
|
2431
|
-
]
|
|
2432
|
-
},
|
|
2433
|
-
matrix: {
|
|
2434
|
-
callbacks: {
|
|
2435
|
-
"postRender.test": runTests
|
|
2436
|
-
}
|
|
2437
|
-
}
|
|
2438
|
-
});
|
|
2439
|
-
function runTests(matrix) {
|
|
2440
|
-
matrix.on("postRender.test", null);
|
|
2441
|
-
test.equal(
|
|
2442
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2443
|
-
1,
|
|
2444
|
-
`should render the expected number of serieses`
|
|
2445
|
-
);
|
|
2446
|
-
test.equal(
|
|
2447
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
2448
|
-
60,
|
|
2449
|
-
`should render the expected number of cell rects`
|
|
2450
|
-
);
|
|
2451
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
2452
|
-
test.end();
|
|
2453
|
-
}
|
|
2454
|
-
});
|
|
2455
|
-
(0, import_tape.default)("survival term with divide by dictionary term", function(test) {
|
|
2456
|
-
test.timeoutAfter(5e3);
|
|
2457
|
-
test.plan(3);
|
|
2458
|
-
runpp({
|
|
2459
|
-
state: {
|
|
2460
|
-
nav: {
|
|
2461
|
-
activeTab: 1
|
|
2462
|
-
},
|
|
2463
|
-
plots: [
|
|
2464
|
-
{
|
|
2465
|
-
chartType: "matrix",
|
|
2466
|
-
settings: {
|
|
2467
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
2468
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
2469
|
-
matrix: {
|
|
2470
|
-
availContentWidth: 1200
|
|
2471
|
-
}
|
|
2472
|
-
},
|
|
2473
|
-
divideBy: {
|
|
2474
|
-
id: "sex"
|
|
2475
|
-
},
|
|
2476
|
-
termgroups: [
|
|
2477
|
-
{
|
|
2478
|
-
name: "",
|
|
2479
|
-
lst: [
|
|
2480
|
-
{
|
|
2481
|
-
term: {
|
|
2482
|
-
name: "Overall survival",
|
|
2483
|
-
type: "survival",
|
|
2484
|
-
isleaf: true,
|
|
2485
|
-
unit: "years",
|
|
2486
|
-
id: "os"
|
|
2487
|
-
},
|
|
2488
|
-
q: {
|
|
2489
|
-
mode: "continuous"
|
|
2490
|
-
}
|
|
2491
|
-
}
|
|
2492
|
-
]
|
|
2493
|
-
}
|
|
2494
|
-
]
|
|
2495
|
-
}
|
|
2496
|
-
]
|
|
2497
|
-
},
|
|
2498
|
-
matrix: {
|
|
2499
|
-
callbacks: {
|
|
2500
|
-
"postRender.test": runTests
|
|
2501
|
-
}
|
|
2502
|
-
}
|
|
2503
|
-
});
|
|
2504
|
-
function runTests(matrix) {
|
|
2505
|
-
matrix.on("postRender.test", null);
|
|
2506
|
-
test.equal(
|
|
2507
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2508
|
-
1,
|
|
2509
|
-
`should render the expected number of serieses`
|
|
2510
|
-
);
|
|
2511
|
-
test.equal(
|
|
2512
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
2513
|
-
60,
|
|
2514
|
-
`should render the expected number of cell rects`
|
|
2515
|
-
);
|
|
2516
|
-
test.equal(
|
|
2517
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
2518
|
-
2,
|
|
2519
|
-
`should render the expected number of cluster rects`
|
|
2520
|
-
);
|
|
2521
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
2522
|
-
test.end();
|
|
2523
|
-
}
|
|
2524
|
-
});
|
|
2525
|
-
(0, import_tape.default)("dictionary term with divide by survival term", function(test) {
|
|
2526
|
-
test.timeoutAfter(5e3);
|
|
2527
|
-
test.plan(3);
|
|
2528
|
-
runpp({
|
|
2529
|
-
state: {
|
|
2530
|
-
nav: {
|
|
2531
|
-
activeTab: 1
|
|
2532
|
-
},
|
|
2533
|
-
plots: [
|
|
2534
|
-
{
|
|
2535
|
-
chartType: "matrix",
|
|
2536
|
-
settings: {
|
|
2537
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
2538
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
2539
|
-
matrix: {
|
|
2540
|
-
availContentWidth: 1200
|
|
2541
|
-
}
|
|
2542
|
-
},
|
|
2543
|
-
divideBy: {
|
|
2544
|
-
id: "os"
|
|
2545
|
-
},
|
|
2546
|
-
termgroups: [
|
|
2547
|
-
{
|
|
2548
|
-
name: "Demographics",
|
|
2549
|
-
lst: [
|
|
2550
|
-
{ id: "agedx", term: termjson["agedx"] },
|
|
2551
|
-
{ id: "diaggrp", term: termjson["diaggrp"] },
|
|
2552
|
-
{ id: "aaclassic_5", term: termjson["aaclassic_5"] }
|
|
2553
|
-
]
|
|
2554
|
-
}
|
|
2555
|
-
]
|
|
2556
|
-
}
|
|
2557
|
-
]
|
|
2558
|
-
},
|
|
2559
|
-
matrix: {
|
|
2560
|
-
callbacks: {
|
|
2561
|
-
"postRender.test": runTests
|
|
2562
|
-
}
|
|
2563
|
-
}
|
|
2564
|
-
});
|
|
2565
|
-
function runTests(matrix) {
|
|
2566
|
-
matrix.on("postRender.test", null);
|
|
2567
|
-
test.equal(
|
|
2568
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2569
|
-
3,
|
|
2570
|
-
`should render the expected number of serieses`
|
|
2571
|
-
);
|
|
2572
|
-
test.equal(
|
|
2573
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g rect").size(),
|
|
2574
|
-
180,
|
|
2575
|
-
`should render the expected number of cell rects`
|
|
2576
|
-
);
|
|
2577
|
-
test.equal(
|
|
2578
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
2579
|
-
2,
|
|
2580
|
-
`should render the expected number of cluster rects`
|
|
2581
|
-
);
|
|
2582
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
2583
|
-
test.end();
|
|
2584
|
-
}
|
|
2585
|
-
});
|
|
2586
|
-
(0, import_tape.default)('apply "hide" and "show" legend filters to a survival term', function(test) {
|
|
2587
|
-
test.timeoutAfter(5e3);
|
|
2588
|
-
test.plan(10);
|
|
2589
|
-
runpp({
|
|
2590
|
-
state: {
|
|
2591
|
-
nav: {
|
|
2592
|
-
activeTab: 1
|
|
2593
|
-
},
|
|
2594
|
-
plots: [
|
|
2595
|
-
{
|
|
2596
|
-
chartType: "matrix",
|
|
2597
|
-
settings: {
|
|
2598
|
-
matrix: {
|
|
2599
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
2600
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
2601
|
-
availContentWidth: 1200
|
|
2602
|
-
}
|
|
2603
|
-
},
|
|
2604
|
-
termgroups: [
|
|
2605
|
-
{
|
|
2606
|
-
name: "",
|
|
2607
|
-
lst: [
|
|
2608
|
-
{
|
|
2609
|
-
id: "aaclassic_5",
|
|
2610
|
-
q: {
|
|
2611
|
-
mode: "continuous"
|
|
2612
|
-
}
|
|
2613
|
-
},
|
|
2614
|
-
{
|
|
2615
|
-
id: "genetic_race"
|
|
2616
|
-
//q: { mode: 'values' } // or 'groupsetting'
|
|
2617
|
-
},
|
|
2618
|
-
{
|
|
2619
|
-
id: "agedx",
|
|
2620
|
-
q: {
|
|
2621
|
-
mode: "discrete",
|
|
2622
|
-
type: "regular-bin",
|
|
2623
|
-
bin_size: 5,
|
|
2624
|
-
first_bin: {
|
|
2625
|
-
startunbounded: true,
|
|
2626
|
-
stop: 5,
|
|
2627
|
-
stopinclusive: true
|
|
2628
|
-
}
|
|
2629
|
-
}
|
|
2630
|
-
},
|
|
2631
|
-
{
|
|
2632
|
-
term: {
|
|
2633
|
-
name: "Overall survival",
|
|
2634
|
-
type: "survival",
|
|
2635
|
-
isleaf: true,
|
|
2636
|
-
unit: "years",
|
|
2637
|
-
id: "os"
|
|
2638
|
-
}
|
|
2639
|
-
}
|
|
2640
|
-
]
|
|
2641
|
-
}
|
|
2642
|
-
]
|
|
2643
|
-
}
|
|
2644
|
-
]
|
|
2645
|
-
},
|
|
2646
|
-
matrix: {
|
|
2647
|
-
callbacks: {
|
|
2648
|
-
"postRender.test": runTests
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
|
-
});
|
|
2652
|
-
async function runTests(matrix) {
|
|
2653
|
-
matrix.on("postRender.test", null);
|
|
2654
|
-
const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2655
|
-
(d) => d?.__data__?.text?.startsWith("Alive")
|
|
2656
|
-
);
|
|
2657
|
-
legendTexts.dispatchEvent(
|
|
2658
|
-
new MouseEvent("mouseup", {
|
|
2659
|
-
bubbles: true,
|
|
2660
|
-
cancelable: true
|
|
2661
|
-
})
|
|
2662
|
-
);
|
|
2663
|
-
const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2664
|
-
test.equal(options[0].innerText, "Hide", `First option should be Hide`);
|
|
2665
|
-
test.equal(options[1].innerText, "Show only", `second option should be Show only`);
|
|
2666
|
-
test.equal(options[2].innerText, "Show all", `third option should be Show all`);
|
|
2667
|
-
const rects = await detectLst({
|
|
2668
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2669
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2670
|
-
count: 228,
|
|
2671
|
-
trigger: () => {
|
|
2672
|
-
options[0].dispatchEvent(
|
|
2673
|
-
new MouseEvent("click", {
|
|
2674
|
-
bubbles: true,
|
|
2675
|
-
cancelable: true
|
|
2676
|
-
})
|
|
2677
|
-
);
|
|
2678
|
-
}
|
|
2679
|
-
});
|
|
2680
|
-
test.equal(
|
|
2681
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2682
|
-
4,
|
|
2683
|
-
`should render the expected number of serieses`
|
|
2684
|
-
);
|
|
2685
|
-
test.equal(
|
|
2686
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
2687
|
-
1,
|
|
2688
|
-
`should render the expected number of cluster rects`
|
|
2689
|
-
);
|
|
2690
|
-
const legendTexts2 = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2691
|
-
(d) => d?.__data__?.text?.startsWith("Alive")
|
|
2692
|
-
);
|
|
2693
|
-
legendTexts2.dispatchEvent(
|
|
2694
|
-
new MouseEvent("mouseup", {
|
|
2695
|
-
bubbles: true,
|
|
2696
|
-
cancelable: true
|
|
2697
|
-
})
|
|
2698
|
-
);
|
|
2699
|
-
const options2 = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2700
|
-
test.equal(options2[0].innerText, "Show", `First option should be Show`);
|
|
2701
|
-
test.equal(options2[1].innerText, "Show only", `second option should be Show only`);
|
|
2702
|
-
test.equal(options2[2].innerText, "Show all", `third option should be Show all`);
|
|
2703
|
-
const rects2 = await detectLst({
|
|
2704
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2705
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2706
|
-
count: 240,
|
|
2707
|
-
trigger: () => {
|
|
2708
|
-
options2[0].dispatchEvent(
|
|
2709
|
-
new MouseEvent("click", {
|
|
2710
|
-
bubbles: true,
|
|
2711
|
-
cancelable: true
|
|
2712
|
-
})
|
|
2713
|
-
);
|
|
2714
|
-
}
|
|
2715
|
-
});
|
|
2716
|
-
test.equal(
|
|
2717
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2718
|
-
4,
|
|
2719
|
-
`should render the expected number of serieses`
|
|
2720
|
-
);
|
|
2721
|
-
test.equal(
|
|
2722
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
2723
|
-
1,
|
|
2724
|
-
`should render the expected number of cluster rects`
|
|
2725
|
-
);
|
|
2726
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
2727
|
-
test.end();
|
|
2728
|
-
}
|
|
2729
|
-
});
|
|
2730
|
-
(0, import_tape.default)('apply "show only" and "show all" legend filters to a survival terms', function(test) {
|
|
2731
|
-
test.timeoutAfter(5e3);
|
|
2732
|
-
test.plan(14);
|
|
2733
|
-
runpp({
|
|
2734
|
-
state: {
|
|
2735
|
-
nav: {
|
|
2736
|
-
activeTab: 1
|
|
2737
|
-
},
|
|
2738
|
-
plots: [
|
|
2739
|
-
{
|
|
2740
|
-
chartType: "matrix",
|
|
2741
|
-
settings: {
|
|
2742
|
-
matrix: {
|
|
2743
|
-
// the matrix autocomputes the colw based on available screen width,
|
|
2744
|
-
// need to set an exact screen width for consistent tests using getBBox()
|
|
2745
|
-
availContentWidth: 1200
|
|
2746
|
-
}
|
|
2747
|
-
},
|
|
2748
|
-
termgroups: [
|
|
2749
|
-
{
|
|
2750
|
-
name: "",
|
|
2751
|
-
lst: [
|
|
2752
|
-
{
|
|
2753
|
-
id: "aaclassic_5",
|
|
2754
|
-
q: {
|
|
2755
|
-
mode: "continuous"
|
|
2756
|
-
}
|
|
2757
|
-
},
|
|
2758
|
-
{
|
|
2759
|
-
id: "genetic_race"
|
|
2760
|
-
//q: { mode: 'values' } // or 'groupsetting'
|
|
2761
|
-
},
|
|
2762
|
-
{
|
|
2763
|
-
id: "agedx",
|
|
2764
|
-
q: {
|
|
2765
|
-
mode: "discrete",
|
|
2766
|
-
type: "regular-bin",
|
|
2767
|
-
bin_size: 5,
|
|
2768
|
-
first_bin: {
|
|
2769
|
-
startunbounded: true,
|
|
2770
|
-
stop: 5,
|
|
2771
|
-
stopinclusive: true
|
|
2772
|
-
}
|
|
2773
|
-
}
|
|
2774
|
-
},
|
|
2775
|
-
{
|
|
2776
|
-
term: {
|
|
2777
|
-
name: "Overall survival",
|
|
2778
|
-
type: "survival",
|
|
2779
|
-
isleaf: true,
|
|
2780
|
-
unit: "years",
|
|
2781
|
-
id: "os"
|
|
2782
|
-
}
|
|
2783
|
-
}
|
|
2784
|
-
]
|
|
2785
|
-
}
|
|
2786
|
-
]
|
|
2787
|
-
}
|
|
2788
|
-
]
|
|
2789
|
-
},
|
|
2790
|
-
matrix: {
|
|
2791
|
-
callbacks: {
|
|
2792
|
-
"postRender.test": runTests
|
|
2793
|
-
}
|
|
2794
|
-
}
|
|
2795
|
-
});
|
|
2796
|
-
async function runTests(matrix) {
|
|
2797
|
-
matrix.on("postRender.test", null);
|
|
2798
|
-
const legendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2799
|
-
(d) => d?.__data__?.text?.startsWith("Alive")
|
|
2800
|
-
);
|
|
2801
|
-
legendTexts.dispatchEvent(
|
|
2802
|
-
new MouseEvent("mouseup", {
|
|
2803
|
-
bubbles: true,
|
|
2804
|
-
cancelable: true
|
|
2805
|
-
})
|
|
2806
|
-
);
|
|
2807
|
-
const options = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2808
|
-
const rects = await detectLst({
|
|
2809
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2810
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2811
|
-
count: 12,
|
|
2812
|
-
trigger: () => {
|
|
2813
|
-
options[1].dispatchEvent(
|
|
2814
|
-
new MouseEvent("click", {
|
|
2815
|
-
bubbles: true,
|
|
2816
|
-
cancelable: true
|
|
2817
|
-
})
|
|
2818
|
-
);
|
|
2819
|
-
}
|
|
2820
|
-
});
|
|
2821
|
-
test.equal(
|
|
2822
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2823
|
-
4,
|
|
2824
|
-
`should render the expected number of serieses`
|
|
2825
|
-
);
|
|
2826
|
-
test.equal(
|
|
2827
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
2828
|
-
1,
|
|
2829
|
-
`should render the expected number of cluster rects`
|
|
2830
|
-
);
|
|
2831
|
-
const secondLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2832
|
-
(d) => d?.__data__?.text?.startsWith("<5")
|
|
2833
|
-
);
|
|
2834
|
-
secondLegendTexts.dispatchEvent(
|
|
2835
|
-
new MouseEvent("mouseup", {
|
|
2836
|
-
bubbles: true,
|
|
2837
|
-
cancelable: true
|
|
2838
|
-
})
|
|
2839
|
-
);
|
|
2840
|
-
const secondOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2841
|
-
test.equal(secondOptions[0].innerText, "Hide", `First option should be Hide`);
|
|
2842
|
-
test.equal(secondOptions[1].innerText, "Show only", `second option should be Show only`);
|
|
2843
|
-
test.equal(secondOptions[2].innerText, "Show all", `third option should be Show all`);
|
|
2844
|
-
const secondRects = await detectLst({
|
|
2845
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2846
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2847
|
-
count: 4,
|
|
2848
|
-
trigger: () => {
|
|
2849
|
-
secondOptions[1].dispatchEvent(
|
|
2850
|
-
new MouseEvent("click", {
|
|
2851
|
-
bubbles: true,
|
|
2852
|
-
cancelable: true
|
|
2853
|
-
})
|
|
2854
|
-
);
|
|
2855
|
-
}
|
|
2856
|
-
});
|
|
2857
|
-
test.equal(
|
|
2858
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2859
|
-
4,
|
|
2860
|
-
`should render the expected number of serieses`
|
|
2861
|
-
);
|
|
2862
|
-
test.equal(
|
|
2863
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
2864
|
-
1,
|
|
2865
|
-
`should render the expected number of cluster rects`
|
|
2866
|
-
);
|
|
2867
|
-
const thirdLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2868
|
-
(d) => d?.__data__?.text?.startsWith("<5")
|
|
2869
|
-
);
|
|
2870
|
-
thirdLegendTexts.dispatchEvent(
|
|
2871
|
-
new MouseEvent("mouseup", {
|
|
2872
|
-
bubbles: true,
|
|
2873
|
-
cancelable: true
|
|
2874
|
-
})
|
|
2875
|
-
);
|
|
2876
|
-
const thirdOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2877
|
-
test.equal(thirdOptions[0].innerText, "Hide", `First option should be Hide`);
|
|
2878
|
-
test.equal(thirdOptions[2].innerText, "Show all", `third option should be Show all`);
|
|
2879
|
-
const thirdRects = await detectLst({
|
|
2880
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2881
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2882
|
-
count: 12,
|
|
2883
|
-
trigger: () => {
|
|
2884
|
-
thirdOptions[2].dispatchEvent(
|
|
2885
|
-
new MouseEvent("click", {
|
|
2886
|
-
bubbles: true,
|
|
2887
|
-
cancelable: true
|
|
2888
|
-
})
|
|
2889
|
-
);
|
|
2890
|
-
}
|
|
2891
|
-
});
|
|
2892
|
-
test.equal(
|
|
2893
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2894
|
-
4,
|
|
2895
|
-
`should render the expected number of serieses`
|
|
2896
|
-
);
|
|
2897
|
-
const fourthLegendTexts = [...matrix.Inner.dom.legendG.node().querySelectorAll("g g text")].find(
|
|
2898
|
-
(d) => d?.__data__?.text?.startsWith("Alive")
|
|
2899
|
-
);
|
|
2900
|
-
fourthLegendTexts.dispatchEvent(
|
|
2901
|
-
new MouseEvent("mouseup", {
|
|
2902
|
-
bubbles: true,
|
|
2903
|
-
cancelable: true
|
|
2904
|
-
})
|
|
2905
|
-
);
|
|
2906
|
-
const fourthOptions = matrix.Inner.dom.legendMenu.d.node().querySelectorAll("div.sja_menuoption.sja_sharp_border");
|
|
2907
|
-
test.equal(fourthOptions[0].innerText, "Hide", `first option should be Hide`);
|
|
2908
|
-
test.equal(fourthOptions[2].innerText, "Show all", `third option should be Show all`);
|
|
2909
|
-
const fourthRects = await detectLst({
|
|
2910
|
-
elem: matrix.Inner.dom.seriesesG.node(),
|
|
2911
|
-
selector: ".sjpp-mass-series-g rect",
|
|
2912
|
-
count: 240,
|
|
2913
|
-
trigger: () => {
|
|
2914
|
-
fourthOptions[2].dispatchEvent(
|
|
2915
|
-
new MouseEvent("click", {
|
|
2916
|
-
bubbles: true,
|
|
2917
|
-
cancelable: true
|
|
2918
|
-
})
|
|
2919
|
-
);
|
|
2920
|
-
}
|
|
2921
|
-
});
|
|
2922
|
-
test.equal(
|
|
2923
|
-
matrix.Inner.dom.seriesesG.selectAll(".sjpp-mass-series-g").size(),
|
|
2924
|
-
4,
|
|
2925
|
-
`should render the expected number of serieses`
|
|
2926
|
-
);
|
|
2927
|
-
test.equal(
|
|
2928
|
-
matrix.Inner.dom.cluster.selectAll(".sjpp-matrix-clusteroutlines rect").size(),
|
|
2929
|
-
1,
|
|
2930
|
-
`should render the expected number of cluster rects`
|
|
2931
|
-
);
|
|
2932
|
-
if (test._ok) matrix.Inner.app.destroy();
|
|
2933
|
-
test.end();
|
|
2934
|
-
}
|
|
2935
|
-
});
|
|
2936
|
-
//# sourceMappingURL=matrix.integration.spec-BXTATNAC.js.map
|