@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
|
@@ -0,0 +1,2189 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appear2 as appear,
|
|
3
|
+
disappear2 as disappear,
|
|
4
|
+
export_data,
|
|
5
|
+
first_genetrack_tolist,
|
|
6
|
+
font,
|
|
7
|
+
make_table_2col,
|
|
8
|
+
newpane,
|
|
9
|
+
sayerror
|
|
10
|
+
} from "./chunk-W5EG334J.js";
|
|
11
|
+
import {
|
|
12
|
+
invalidcoord,
|
|
13
|
+
string2pos
|
|
14
|
+
} from "./chunk-HJ6L54YS.js";
|
|
15
|
+
import {
|
|
16
|
+
dofetch,
|
|
17
|
+
dofetch2,
|
|
18
|
+
dofetch3,
|
|
19
|
+
vcfparsemeta
|
|
20
|
+
} from "./chunk-MK7RRJTX.js";
|
|
21
|
+
import "./chunk-DKI7YOTJ.js";
|
|
22
|
+
import {
|
|
23
|
+
bplen,
|
|
24
|
+
dt2label,
|
|
25
|
+
dtcnv,
|
|
26
|
+
dtfusionrna,
|
|
27
|
+
dtitd,
|
|
28
|
+
dtloh,
|
|
29
|
+
dtsnvindel,
|
|
30
|
+
dtsv,
|
|
31
|
+
getMax_byiqr,
|
|
32
|
+
mclass,
|
|
33
|
+
mclassitd,
|
|
34
|
+
tkt,
|
|
35
|
+
validtkt
|
|
36
|
+
} from "./chunk-6VQ4C735.js";
|
|
37
|
+
import {
|
|
38
|
+
Menu
|
|
39
|
+
} from "./chunk-TGZA4ETW.js";
|
|
40
|
+
import "./chunk-5MWX5HUZ.js";
|
|
41
|
+
import "./chunk-IQIXGTQV.js";
|
|
42
|
+
import "./chunk-ZFFHOEBE.js";
|
|
43
|
+
import "./chunk-DDOM4XYV.js";
|
|
44
|
+
import "./chunk-7NTZWOJV.js";
|
|
45
|
+
import "./chunk-LD45BCVM.js";
|
|
46
|
+
import "./chunk-RA5EXEHB.js";
|
|
47
|
+
import {
|
|
48
|
+
category10_default
|
|
49
|
+
} from "./chunk-2MN5JLZB.js";
|
|
50
|
+
import "./chunk-LOZEKOES.js";
|
|
51
|
+
import "./chunk-TOU7EVFQ.js";
|
|
52
|
+
import {
|
|
53
|
+
linear,
|
|
54
|
+
ordinal
|
|
55
|
+
} from "./chunk-W2IWHXLL.js";
|
|
56
|
+
import "./chunk-5OHXYXLD.js";
|
|
57
|
+
import "./chunk-UJUXE42U.js";
|
|
58
|
+
import "./chunk-OMR2DT66.js";
|
|
59
|
+
import "./chunk-NDWTN4U5.js";
|
|
60
|
+
import "./chunk-HFNDKYVF.js";
|
|
61
|
+
|
|
62
|
+
// src/samplematrix.featuremenu.js
|
|
63
|
+
function showMenu_isgenevalue(smat, f) {
|
|
64
|
+
smat.menu.d.append("div").attr("class", "sja_menuoption").text("Sort").on("click", () => {
|
|
65
|
+
smat.menu.hide();
|
|
66
|
+
if (f.sort) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
for (const f2 of smat.features) {
|
|
70
|
+
if (f2.isgenevalue) delete f2.sort;
|
|
71
|
+
}
|
|
72
|
+
f.sort = 1;
|
|
73
|
+
smat.draw_matrix();
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function showMenu_iscnv(smat, f, obj) {
|
|
77
|
+
{
|
|
78
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
79
|
+
row.append("span").html("CNV log2(ratio) cutoff ");
|
|
80
|
+
row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
|
|
81
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
82
|
+
let v = Number.parseFloat(event2.target.value);
|
|
83
|
+
if (!v || v < 0) {
|
|
84
|
+
v = 0;
|
|
85
|
+
}
|
|
86
|
+
if (v == 0) {
|
|
87
|
+
if (obj.valuecutoff) {
|
|
88
|
+
obj.valuecutoff = 0;
|
|
89
|
+
smat.update_singlefeature(f);
|
|
90
|
+
} else {
|
|
91
|
+
}
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
if (obj.valuecutoff) {
|
|
95
|
+
if (obj.valuecutoff == v) {
|
|
96
|
+
} else {
|
|
97
|
+
obj.valuecutoff = v;
|
|
98
|
+
smat.update_singlefeature(f);
|
|
99
|
+
}
|
|
100
|
+
} else {
|
|
101
|
+
obj.valuecutoff = v;
|
|
102
|
+
smat.update_singlefeature(f);
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Only show CNV with absolute log2(ratio) no less than cutoff.<br>Set to 0 to cancel.");
|
|
106
|
+
}
|
|
107
|
+
{
|
|
108
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
109
|
+
row.append("span").html("CNV segment size limit ");
|
|
110
|
+
row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
|
|
111
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
112
|
+
let v = Number.parseInt(event2.target.value);
|
|
113
|
+
if (!v || v < 0) {
|
|
114
|
+
v = 0;
|
|
115
|
+
}
|
|
116
|
+
if (v == 0) {
|
|
117
|
+
if (obj.focalsizelimit) {
|
|
118
|
+
obj.focalsizelimit = 0;
|
|
119
|
+
smat.update_singlefeature(f);
|
|
120
|
+
} else {
|
|
121
|
+
}
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
if (obj.focalsizelimit) {
|
|
125
|
+
if (obj.focalsizelimit == v) {
|
|
126
|
+
} else {
|
|
127
|
+
obj.focalsizelimit = v;
|
|
128
|
+
smat.update_singlefeature(f);
|
|
129
|
+
}
|
|
130
|
+
} else {
|
|
131
|
+
obj.focalsizelimit = v;
|
|
132
|
+
smat.update_singlefeature(f);
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
row.append("span").text("bp");
|
|
136
|
+
row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Limit the CNV segment length to show only focal events.<br>Set to 0 to cancel.");
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
function showMenu_isloh(smat, f, obj) {
|
|
140
|
+
{
|
|
141
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
142
|
+
row.append("span").html("LOH segmean cutoff ");
|
|
143
|
+
row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
|
|
144
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
145
|
+
let v = Number.parseFloat(event2.target.value);
|
|
146
|
+
if (!v || v < 0) {
|
|
147
|
+
v = 0;
|
|
148
|
+
}
|
|
149
|
+
if (v == 0) {
|
|
150
|
+
if (obj.valuecutoff) {
|
|
151
|
+
obj.valuecutoff = 0;
|
|
152
|
+
smat.update_singlefeature(f);
|
|
153
|
+
} else {
|
|
154
|
+
}
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
if (obj.valuecutoff) {
|
|
158
|
+
if (obj.valuecutoff == v) {
|
|
159
|
+
} else {
|
|
160
|
+
obj.valuecutoff = v;
|
|
161
|
+
smat.update_singlefeature(f);
|
|
162
|
+
}
|
|
163
|
+
} else {
|
|
164
|
+
obj.valuecutoff = v;
|
|
165
|
+
smat.update_singlefeature(f);
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Only show LOH with segmean no less than cutoff.<br>Set to 0 to cancel.");
|
|
169
|
+
}
|
|
170
|
+
{
|
|
171
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
172
|
+
row.append("span").html("LOH segment size limit ");
|
|
173
|
+
row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
|
|
174
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
175
|
+
let v = Number.parseInt(event2.target.value);
|
|
176
|
+
if (!v || v < 0) {
|
|
177
|
+
v = 0;
|
|
178
|
+
}
|
|
179
|
+
if (v == 0) {
|
|
180
|
+
if (obj.focalsizelimit) {
|
|
181
|
+
obj.focalsizelimit = 0;
|
|
182
|
+
smat.update_singlefeature(f);
|
|
183
|
+
} else {
|
|
184
|
+
}
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
if (obj.focalsizelimit) {
|
|
188
|
+
if (obj.focalsizelimit == v) {
|
|
189
|
+
} else {
|
|
190
|
+
obj.focalsizelimit = v;
|
|
191
|
+
smat.update_singlefeature(f);
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
obj.focalsizelimit = v;
|
|
195
|
+
smat.update_singlefeature(f);
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
row.append("span").text("bp");
|
|
199
|
+
row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Limit the LOH segment length to show only focal events.<br>Set to 0 to cancel.");
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
function showMenu_ismutation(smat, f) {
|
|
203
|
+
{
|
|
204
|
+
const div = smat.menu.d.append("div").style("margin", "10px").style("border", "solid 1px #ededed");
|
|
205
|
+
const update = () => {
|
|
206
|
+
smat.update_singlefeature(f);
|
|
207
|
+
smat.menu.hide();
|
|
208
|
+
};
|
|
209
|
+
const table = div.append("table").style("margin", "10px").style("border-spacing", "1px");
|
|
210
|
+
const tbody = table.append("tbody");
|
|
211
|
+
{
|
|
212
|
+
const tr = tbody.append("tr");
|
|
213
|
+
tr.append("td").style("opacity", 0.5).text("CNV");
|
|
214
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.cnv.hidden ? "Show" : "Hide").on("click", () => {
|
|
215
|
+
f.cnv.hidden = !f.cnv.hidden;
|
|
216
|
+
update();
|
|
217
|
+
});
|
|
218
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
219
|
+
ismutation_hideallclass(f);
|
|
220
|
+
delete f.cnv.hidden;
|
|
221
|
+
update();
|
|
222
|
+
});
|
|
223
|
+
const td = tr.append("td");
|
|
224
|
+
if (!f.cnv.hidden) {
|
|
225
|
+
td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
|
|
226
|
+
smat.menu.clear();
|
|
227
|
+
showMenu_iscnv(smat, f, f.cnv);
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
{
|
|
232
|
+
const tr = tbody.append("tr");
|
|
233
|
+
tr.append("td").style("opacity", 0.5).text("LOH");
|
|
234
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.loh.hidden ? "Show" : "Hide").on("click", () => {
|
|
235
|
+
f.loh.hidden = !f.loh.hidden;
|
|
236
|
+
update();
|
|
237
|
+
});
|
|
238
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
239
|
+
ismutation_hideallclass(f);
|
|
240
|
+
delete f.loh.hidden;
|
|
241
|
+
update();
|
|
242
|
+
});
|
|
243
|
+
const td = tr.append("td");
|
|
244
|
+
if (!f.loh.hidden) {
|
|
245
|
+
td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
|
|
246
|
+
smat.menu.clear();
|
|
247
|
+
showMenu_isloh(smat, f, f.loh);
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
{
|
|
252
|
+
const tr = tbody.append("tr");
|
|
253
|
+
tr.append("td").style("opacity", 0.5).text("ITD");
|
|
254
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.itd.hidden ? "Show" : "Hide").on("click", () => {
|
|
255
|
+
f.itd.hidden = !f.itd.hidden;
|
|
256
|
+
update();
|
|
257
|
+
});
|
|
258
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
259
|
+
ismutation_hideallclass(f);
|
|
260
|
+
delete f.itd.hidden;
|
|
261
|
+
update();
|
|
262
|
+
});
|
|
263
|
+
const td = tr.append("td");
|
|
264
|
+
if (!f.itd.hidden) {
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
{
|
|
268
|
+
const tr = tbody.append("tr");
|
|
269
|
+
tr.append("td").style("opacity", 0.5).text("SV");
|
|
270
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.sv.hidden ? "Show" : "Hide").on("click", () => {
|
|
271
|
+
f.sv.hidden = !f.sv.hidden;
|
|
272
|
+
update();
|
|
273
|
+
});
|
|
274
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
275
|
+
ismutation_hideallclass(f);
|
|
276
|
+
delete f.sv.hidden;
|
|
277
|
+
update();
|
|
278
|
+
});
|
|
279
|
+
const td = tr.append("td");
|
|
280
|
+
if (!f.sv.hidden) {
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
{
|
|
284
|
+
const tr = tbody.append("tr");
|
|
285
|
+
tr.append("td").style("opacity", 0.5).text("Fusion");
|
|
286
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.fusion.hidden ? "show" : "hide").on("click", () => {
|
|
287
|
+
f.fusion.hidden = !f.fusion.hidden;
|
|
288
|
+
update();
|
|
289
|
+
});
|
|
290
|
+
tr.append("td").attr("class", "sja_menuoption").text("show only").on("click", () => {
|
|
291
|
+
ismutation_hideallclass(f);
|
|
292
|
+
delete f.fusion.hidden;
|
|
293
|
+
update();
|
|
294
|
+
});
|
|
295
|
+
const td = tr.append("td");
|
|
296
|
+
if (!f.fusion.hidden) {
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
table.append("tbody").append("tr").append("td").attr("colspan", 4).style("padding-top", "10px").append("span").style("font-size", ".8em").text("List SNV/indel").attr("class", "sja_clbtext").on("click", () => {
|
|
300
|
+
if (tbody2.style("display") == "none") {
|
|
301
|
+
tbody2.style("display", "table-row-group");
|
|
302
|
+
} else {
|
|
303
|
+
tbody2.style("display", "none");
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
const tbody2 = table.append("tbody").style("display", "none");
|
|
307
|
+
for (const k in mclass) {
|
|
308
|
+
const c = mclass[k];
|
|
309
|
+
if (c.dt != dtsnvindel) {
|
|
310
|
+
continue;
|
|
311
|
+
}
|
|
312
|
+
const tr = tbody2.append("tr");
|
|
313
|
+
tr.append("td").style("opacity", 0.5).text(c.label);
|
|
314
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.snvindel.excludeclasses[k] ? "Show" : "Hide").on("click", () => {
|
|
315
|
+
if (f.snvindel.excludeclasses[k]) {
|
|
316
|
+
delete f.snvindel.excludeclasses[k];
|
|
317
|
+
} else {
|
|
318
|
+
f.snvindel.excludeclasses[k] = 1;
|
|
319
|
+
}
|
|
320
|
+
update();
|
|
321
|
+
});
|
|
322
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
323
|
+
ismutation_hideallclass(f);
|
|
324
|
+
delete f.snvindel.excludeclasses[k];
|
|
325
|
+
update();
|
|
326
|
+
});
|
|
327
|
+
const td = tr.append("td");
|
|
328
|
+
}
|
|
329
|
+
div.append("div").style("margin", "10px").append("span").style("font-size", ".8em").text("Show all classes").attr("class", "sja_clbtext").on("click", () => {
|
|
330
|
+
f.cnv.hidden = false;
|
|
331
|
+
f.loh.hidden = false;
|
|
332
|
+
f.itd.hidden = false;
|
|
333
|
+
f.sv.hidden = false;
|
|
334
|
+
f.fusion.hidden = false;
|
|
335
|
+
f.snvindel.excludeclasses = {};
|
|
336
|
+
update();
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
function ismutation_hideallclass(f) {
|
|
341
|
+
f.cnv.hidden = true;
|
|
342
|
+
f.loh.hidden = true;
|
|
343
|
+
f.itd.hidden = true;
|
|
344
|
+
f.sv.hidden = true;
|
|
345
|
+
f.fusion.hidden = true;
|
|
346
|
+
f.snvindel.excludeclasses = {};
|
|
347
|
+
for (const k in mclass) {
|
|
348
|
+
if (mclass[k].dt == dtsnvindel) f.snvindel.excludeclasses[k] = 1;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
// src/samplematrix.kmplot.js
|
|
353
|
+
function may_add_kmplotbutton(smat, buttonrow) {
|
|
354
|
+
if (!smat.mds || !smat.mds.survivalplot) return;
|
|
355
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("SURVIVAL PLOT").attr("class", "sja_clbtext").on("click", (event2) => {
|
|
356
|
+
smat.menu.clear().showunder(event2.target);
|
|
357
|
+
kmplot_menu(smat);
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
async function kmplot_menu(smat) {
|
|
361
|
+
const mutation_features = smat.features.filter((i) => i.ismutation);
|
|
362
|
+
try {
|
|
363
|
+
if (mutation_features.length != 2) throw "only works with two genomic features.";
|
|
364
|
+
await kmplot_do(smat, mutation_features[0], mutation_features[1]);
|
|
365
|
+
} catch (e) {
|
|
366
|
+
smat.menu.d.append("div").style("margin", "20px").text("Cannot make survival plot: " + (e.message || e));
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
async function kmplot_do(smat, f1, f2) {
|
|
370
|
+
const s1 = [], s2 = [], s12 = [];
|
|
371
|
+
for (const i of smat.samples) {
|
|
372
|
+
const in1 = f1.items.find((j) => j.sample == i.name);
|
|
373
|
+
const in2 = f2.items.find((j) => j.sample == i.name);
|
|
374
|
+
if (in1) {
|
|
375
|
+
if (in2) s12.push(i.name);
|
|
376
|
+
else s1.push(i.name);
|
|
377
|
+
} else {
|
|
378
|
+
s2.push(i.name);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
const plot = {
|
|
382
|
+
renderplot: 1,
|
|
383
|
+
samplerule: {
|
|
384
|
+
full: {},
|
|
385
|
+
mutated_sets: [
|
|
386
|
+
{ name: f1.label + " mutated (n=" + s1.length + ")", samplenames: s1 },
|
|
387
|
+
{ name: f2.label + " mutated (n=" + s2.length + ")", samplenames: s2 },
|
|
388
|
+
{ name: f1.label + " and " + f2.label + " mutated (n=" + s12.length + ")", samplenames: s12 }
|
|
389
|
+
]
|
|
390
|
+
}
|
|
391
|
+
};
|
|
392
|
+
if (smat.limitsamplebyeitherannotation) {
|
|
393
|
+
plot.samplerule.full = {
|
|
394
|
+
byattr: 1,
|
|
395
|
+
key: smat.limitsamplebyeitherannotation[0].key,
|
|
396
|
+
value: smat.limitsamplebyeitherannotation[0].value,
|
|
397
|
+
immutable: 1
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
const pane = newpane({ x: 100, y: 100 });
|
|
401
|
+
pane.header.text(
|
|
402
|
+
(smat.limitsamplebyeitherannotation ? smat.limitsamplebyeitherannotation[0].value + " " : "") + "survival by " + f1.label + " and " + f2.label + " mutation status"
|
|
403
|
+
);
|
|
404
|
+
const _ = await import("./mds.survivalplot-GYK6VRQT.js");
|
|
405
|
+
_.init(
|
|
406
|
+
{
|
|
407
|
+
mds: smat.mds,
|
|
408
|
+
genome: smat.genome,
|
|
409
|
+
plotlist: [plot]
|
|
410
|
+
},
|
|
411
|
+
pane.body
|
|
412
|
+
);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
// src/samplematrix.js
|
|
416
|
+
var saynovalue = "na";
|
|
417
|
+
var default_cnvgaincolor = "#D6683C";
|
|
418
|
+
var default_cnvlosscolor = "#67a9cf";
|
|
419
|
+
var default_genevaluecolor = "#095873";
|
|
420
|
+
var default_lohcolor = "#858585";
|
|
421
|
+
var default_svcolor = "#858585";
|
|
422
|
+
var minheight2showname = 8;
|
|
423
|
+
var Samplematrix = class {
|
|
424
|
+
/*
|
|
425
|
+
init ui
|
|
426
|
+
*/
|
|
427
|
+
constructor(p) {
|
|
428
|
+
for (const k in p) {
|
|
429
|
+
this[k] = p[k];
|
|
430
|
+
}
|
|
431
|
+
if (this.debugmode) window.smat = this;
|
|
432
|
+
this.tip = new Menu({ padding: "0px", hideXmute: 1, hideYmute: 1 });
|
|
433
|
+
this.menu = new Menu({ padding: "0px" });
|
|
434
|
+
this.errdiv = this.holder.append("div");
|
|
435
|
+
if (!this.iscustom) {
|
|
436
|
+
try {
|
|
437
|
+
if (!this.dslabel) throw "not custom data but dslabel is missing";
|
|
438
|
+
this.mds = this.genome.datasets[this.dslabel];
|
|
439
|
+
if (!this.mds) throw "invalid dataset name: " + this.dslabel;
|
|
440
|
+
if (!this.mds.isMds) throw "improper dataset: " + this.dslabel;
|
|
441
|
+
} catch (e) {
|
|
442
|
+
this.error(e);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
init_controlui(this);
|
|
446
|
+
if (this.header) {
|
|
447
|
+
this.holder.append("div").style("margin-bottom", "20px").html(this.header);
|
|
448
|
+
}
|
|
449
|
+
this.wait_div = this.holder.append("div");
|
|
450
|
+
this.wait_div.style("display", "block").text("Loading...");
|
|
451
|
+
this.svg = this.holder.append("svg");
|
|
452
|
+
this.validate_config().then(() => {
|
|
453
|
+
return this.get_features();
|
|
454
|
+
}).catch((err) => {
|
|
455
|
+
if (typeof err == "string") {
|
|
456
|
+
this.error(err);
|
|
457
|
+
} else {
|
|
458
|
+
this.error(err.message);
|
|
459
|
+
if (err.stack) console.log(err.stack);
|
|
460
|
+
}
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
error(m) {
|
|
464
|
+
sayerror(this.errdiv, m);
|
|
465
|
+
}
|
|
466
|
+
async validate_config() {
|
|
467
|
+
if (this.iscustom) {
|
|
468
|
+
if (!this.querykey2tracks) throw "querykey2tracks missing for custom dataset";
|
|
469
|
+
let novalidtk = true;
|
|
470
|
+
for (const key in this.querykey2tracks) {
|
|
471
|
+
const tk = this.querykey2tracks[key];
|
|
472
|
+
if (!tk.file && !tk.url) throw "no file or url for a custom track by key " + key;
|
|
473
|
+
if (!tk.type) throw "missing type for member track by key " + key;
|
|
474
|
+
if (!validtkt(tk.type)) throw "invalid type for a member track: " + tk.type;
|
|
475
|
+
novalidtk = false;
|
|
476
|
+
}
|
|
477
|
+
if (novalidtk) throw "no custom tracks from querykey2tracks";
|
|
478
|
+
let vcftk;
|
|
479
|
+
for (const key in this.querykey2tracks) {
|
|
480
|
+
const tk = this.querykey2tracks[key];
|
|
481
|
+
if (tk.type == tkt.mdsvcf) {
|
|
482
|
+
vcftk = tk;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
if (vcftk) {
|
|
486
|
+
await this.may_init_customvcf(vcftk);
|
|
487
|
+
}
|
|
488
|
+
} else {
|
|
489
|
+
if (this.mds.mdsIsUninitiated) {
|
|
490
|
+
const d = await dofetch3(`getDataset?genome=${this.genome.name}&dsname=${this.mds.label}`);
|
|
491
|
+
if (d.error) throw d.error;
|
|
492
|
+
if (!d.ds) throw "ds missing";
|
|
493
|
+
Object.assign(this.mds, d.ds);
|
|
494
|
+
delete this.mds.mdsIsUninitiated;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
if (this.limitsamplebyeitherannotation) {
|
|
498
|
+
if (!Array.isArray(this.limitsamplebyeitherannotation)) throw "limitsamplebyeitherannotation must be an array";
|
|
499
|
+
const tr = this.legendtable.append("tr");
|
|
500
|
+
for (const anno of this.limitsamplebyeitherannotation) {
|
|
501
|
+
if (!anno.key) throw ".key missing from an element of limitsamplebyeitherannotation";
|
|
502
|
+
if (!anno.value) throw ".value missing from an element of limitsamplebyeitherannotation";
|
|
503
|
+
}
|
|
504
|
+
this.showlegend_limitsample();
|
|
505
|
+
}
|
|
506
|
+
const cnv_tr = this.legendtable.append("tr");
|
|
507
|
+
cnv_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("CNV cutoff");
|
|
508
|
+
this.legendtable.cnv_td = cnv_tr.append("td");
|
|
509
|
+
const loh_tr = this.legendtable.append("tr");
|
|
510
|
+
loh_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("LOH cutoff");
|
|
511
|
+
this.legendtable.loh_td = loh_tr.append("td");
|
|
512
|
+
if (this.limitbysamplesetgroup) {
|
|
513
|
+
if (!Array.isArray(this.limitbysamplesetgroup.samples)) throw ".limitbysamplesetgroup.samples is not array";
|
|
514
|
+
}
|
|
515
|
+
if (!this.rowspace) this.rowspace = 1;
|
|
516
|
+
if (!this.colspace) this.colspace = 1;
|
|
517
|
+
if (!this.rowlabspace) this.rowlabspace = 5;
|
|
518
|
+
if (!this.collabspace) this.collabspace = 5;
|
|
519
|
+
if (!this.rowlabticksize) this.rowlabticksize = 5;
|
|
520
|
+
if (!this.collabticksize) this.collabticksize = 5;
|
|
521
|
+
if (!this.features) throw "missing features[]";
|
|
522
|
+
if (!Array.isArray(this.features)) throw "features must be an array";
|
|
523
|
+
if (this.features[0].height) this.ori_feature_height = this.features[0].height;
|
|
524
|
+
if (this.features[0].width) this.ori_feature_width = this.features[0].width;
|
|
525
|
+
for (const f of this.features) {
|
|
526
|
+
await this.validate_feature(f);
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
showlegend_limitsample() {
|
|
530
|
+
if (!this.limitsamplebyeitherannotation) return;
|
|
531
|
+
}
|
|
532
|
+
feature_parseposition_maygene(f) {
|
|
533
|
+
return Promise.resolve().then(() => {
|
|
534
|
+
if (f.position) {
|
|
535
|
+
const o = string2pos(f.position, this.genome);
|
|
536
|
+
if (o) {
|
|
537
|
+
f.chr = o.chr;
|
|
538
|
+
f.start = o.start;
|
|
539
|
+
f.stop = o.stop;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
if (f.chr) {
|
|
543
|
+
const err = invalidcoord(this.genome, f.chr, f.start, f.stop);
|
|
544
|
+
if (err) {
|
|
545
|
+
throw 'feature "' + f.label + '" position error: ' + err;
|
|
546
|
+
} else {
|
|
547
|
+
return;
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
if (!f.genename) throw "position required for a feature: no position or genename given";
|
|
551
|
+
return dofetch("/genelookup", {
|
|
552
|
+
input: f.genename,
|
|
553
|
+
genome: this.genome.name,
|
|
554
|
+
deep: 1
|
|
555
|
+
}).then((data) => {
|
|
556
|
+
if (data.error) throw data.error;
|
|
557
|
+
if (!data.gmlst || data.gmlst.length == 0) throw "no gene can be found for " + f.genename;
|
|
558
|
+
const regions = [];
|
|
559
|
+
for (const gm of data.gmlst) {
|
|
560
|
+
let nooverlap = true;
|
|
561
|
+
for (const region of regions) {
|
|
562
|
+
if (gm.chr == region.chr && Math.max(gm.start, region.start) < Math.min(gm.stop, region.stop)) {
|
|
563
|
+
nooverlap = false;
|
|
564
|
+
region.start = Math.min(region.start, gm.start);
|
|
565
|
+
region.stop = Math.max(region.stop, gm.stop);
|
|
566
|
+
break;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
if (nooverlap) {
|
|
570
|
+
regions.push({
|
|
571
|
+
chr: gm.chr,
|
|
572
|
+
start: gm.start,
|
|
573
|
+
stop: gm.stop
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
if (regions.length > 1) {
|
|
578
|
+
sayerror(
|
|
579
|
+
this.errdiv,
|
|
580
|
+
"multiple regions found for gene " + f.genename + " you'd better specify one in feature"
|
|
581
|
+
);
|
|
582
|
+
}
|
|
583
|
+
f.chr = regions[0].chr;
|
|
584
|
+
f.start = regions[0].start;
|
|
585
|
+
f.stop = regions[0].stop;
|
|
586
|
+
});
|
|
587
|
+
});
|
|
588
|
+
}
|
|
589
|
+
validate_feature(f) {
|
|
590
|
+
return Promise.resolve().then(() => {
|
|
591
|
+
f.id = Math.random().toString();
|
|
592
|
+
const tr = this.legendtable.append("tr");
|
|
593
|
+
f.legend_tr = tr;
|
|
594
|
+
if (f.isgenevalue) {
|
|
595
|
+
if (!f.genename) throw ".genename missing for isgenevalue feature";
|
|
596
|
+
f.label = f.genename + " expression";
|
|
597
|
+
if (this.dslabel) {
|
|
598
|
+
if (!f.querykey) throw ".querykey missing for isgenevalue feature while loading from official dataset";
|
|
599
|
+
} else {
|
|
600
|
+
}
|
|
601
|
+
if (!f.scale) f.scale = { auto: 1 };
|
|
602
|
+
if (f.missingvalue == void 0) f.missingvalue = 0;
|
|
603
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
604
|
+
f.legendholder = tr.append("td");
|
|
605
|
+
if (!f.width) f.width = 20;
|
|
606
|
+
if (!f.color) f.color = default_genevaluecolor;
|
|
607
|
+
return this.feature_parseposition_maygene(f);
|
|
608
|
+
}
|
|
609
|
+
if (f.iscnv) {
|
|
610
|
+
if (this.dslabel) {
|
|
611
|
+
if (!f.querykey) throw ".querykey missing for iscnv feature while loading from official dataset";
|
|
612
|
+
} else {
|
|
613
|
+
}
|
|
614
|
+
if (!f.label && f.genename) {
|
|
615
|
+
f.label = f.genename + " CNV";
|
|
616
|
+
}
|
|
617
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
618
|
+
f.legendholder = tr.append("td");
|
|
619
|
+
if (!f.width) f.width = 40;
|
|
620
|
+
if (!f.colorgain) f.colorgain = default_cnvgaincolor;
|
|
621
|
+
if (!f.colorloss) f.colorloss = default_cnvlosscolor;
|
|
622
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
623
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV";
|
|
624
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
625
|
+
});
|
|
626
|
+
}
|
|
627
|
+
if (f.isloh) {
|
|
628
|
+
if (this.dslabel) {
|
|
629
|
+
if (!f.querykey) throw ".querykey missing for isloh feature while loading from official dataset";
|
|
630
|
+
} else {
|
|
631
|
+
}
|
|
632
|
+
if (!f.label && f.genename) {
|
|
633
|
+
f.label = f.genename + " LOH";
|
|
634
|
+
}
|
|
635
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
636
|
+
f.legendholder = tr.append("td");
|
|
637
|
+
if (!f.width) f.width = 40;
|
|
638
|
+
if (!f.color) f.color = default_lohcolor;
|
|
639
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
640
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " LOH";
|
|
641
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
if (f.isvcf) {
|
|
645
|
+
if (this.dslabel) {
|
|
646
|
+
if (!f.querykey) throw ".querykey missing for isvcf feature while loading from official dataset";
|
|
647
|
+
} else {
|
|
648
|
+
}
|
|
649
|
+
if (!f.label && f.genename) {
|
|
650
|
+
f.label = f.genename + " SNV/indel";
|
|
651
|
+
}
|
|
652
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
653
|
+
f.legendholder = tr.append("td");
|
|
654
|
+
if (!f.width) f.width = 20;
|
|
655
|
+
if (!f.snvindel) f.snvindel = {};
|
|
656
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
657
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SNV/indel";
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
if (f.isitd) {
|
|
661
|
+
if (this.dslabel) {
|
|
662
|
+
if (!f.querykey) throw ".querykey missing for isitd feature while loading from official dataset";
|
|
663
|
+
} else {
|
|
664
|
+
}
|
|
665
|
+
if (!f.label && f.genename) {
|
|
666
|
+
f.label = f.genename + " ITD";
|
|
667
|
+
}
|
|
668
|
+
if (!f.width) f.width = 20;
|
|
669
|
+
if (!f.color) f.color = mclass[mclassitd].color;
|
|
670
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
671
|
+
f.legendholder = tr.append("td");
|
|
672
|
+
f.legendholder.append("div").style("width", "20px").html(" ").style("background", f.color);
|
|
673
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
674
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " ITD";
|
|
675
|
+
});
|
|
676
|
+
}
|
|
677
|
+
if (f.issvfusion) {
|
|
678
|
+
if (this.dslabel) {
|
|
679
|
+
if (!f.querykey) throw ".querykey missing for issvfusion feature while loading from official dataset";
|
|
680
|
+
} else {
|
|
681
|
+
}
|
|
682
|
+
if (!f.label && f.genename) {
|
|
683
|
+
f.label = f.genename + " SV/fusion";
|
|
684
|
+
}
|
|
685
|
+
if (!f.width) f.width = 20;
|
|
686
|
+
if (!f.color) f.color = default_svcolor;
|
|
687
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
688
|
+
f.legendholder = tr.append("td");
|
|
689
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
690
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SV/fusion";
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
if (f.issvcnv) {
|
|
694
|
+
if (this.dslabel) {
|
|
695
|
+
if (!f.querykey) throw ".querykey missing for issvcnv feature while loading from official dataset";
|
|
696
|
+
} else {
|
|
697
|
+
}
|
|
698
|
+
if (!f.label && f.genename) {
|
|
699
|
+
f.label = f.genename + " CNV/SV";
|
|
700
|
+
}
|
|
701
|
+
tr.append("td").text(f.label).style("color", "#858585").style("text-align", "right");
|
|
702
|
+
f.legendholder = tr.append("td");
|
|
703
|
+
initfeature_polymutation(f);
|
|
704
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
705
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV/SV";
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
if (f.ismutation) {
|
|
709
|
+
if (this.dslabel) {
|
|
710
|
+
if (!f.querykeylst) throw ".querykeylst missing for ismutation feature";
|
|
711
|
+
if (!Array.isArray(f.querykeylst)) throw ".querykeylst[] should be array for ismutation feature";
|
|
712
|
+
if (f.querykeylst.length == 0) throw "querykeylst[] empty array for ismutation feature";
|
|
713
|
+
} else {
|
|
714
|
+
}
|
|
715
|
+
if (!f.label && f.genename) {
|
|
716
|
+
f.label = f.genename + " mutation";
|
|
717
|
+
}
|
|
718
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
719
|
+
f.legendholder = tr.append("td");
|
|
720
|
+
initfeature_polymutation(f);
|
|
721
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
722
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " mutation";
|
|
723
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
724
|
+
});
|
|
725
|
+
}
|
|
726
|
+
if (f.issampleattribute) {
|
|
727
|
+
if (!this.dslabel) throw ".dslabel missing: sampleattribute only works for official dataset";
|
|
728
|
+
if (!f.key) throw ".key missing for issampleattribute feature";
|
|
729
|
+
if (!f.label) f.label = f.key;
|
|
730
|
+
if (this.mds && this.mds.sampleAttribute && this.mds.sampleAttribute.attributes) {
|
|
731
|
+
const registry = this.mds.sampleAttribute.attributes[f.key];
|
|
732
|
+
if (registry) {
|
|
733
|
+
f.values = registry.values;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
if (!f.values) {
|
|
737
|
+
f.values = {};
|
|
738
|
+
}
|
|
739
|
+
f.assignmissingcolor = ordinal(category10_default);
|
|
740
|
+
if (!f.width && !this.features_on_rows) f.width = 20;
|
|
741
|
+
else if (!f.height && this.features_on_rows) f.height = 50;
|
|
742
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
743
|
+
f.legendholder = tr.append("td");
|
|
744
|
+
return Promise.resolve();
|
|
745
|
+
}
|
|
746
|
+
throw "unknown feature type in validating feature";
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
get_features(featureset) {
|
|
750
|
+
this.max_cnv = 0;
|
|
751
|
+
this.min_cnv = 0;
|
|
752
|
+
this.max_loh = 0;
|
|
753
|
+
this.min_loh = 0;
|
|
754
|
+
const arg = {
|
|
755
|
+
genome: this.genome.name,
|
|
756
|
+
limitsamplebyeitherannotation: this.limitsamplebyeitherannotation,
|
|
757
|
+
features: (featureset || this.features).map(feature2arg)
|
|
758
|
+
};
|
|
759
|
+
if (this.limitbysamplesetgroup) {
|
|
760
|
+
arg.sampleset = this.limitbysamplesetgroup.samples;
|
|
761
|
+
}
|
|
762
|
+
if (this.iscustom) {
|
|
763
|
+
arg.iscustom = 1;
|
|
764
|
+
arg.querykey2tracks = {};
|
|
765
|
+
for (const f of arg.features) {
|
|
766
|
+
if (f.querykey) {
|
|
767
|
+
arg.querykey2tracks[f.querykey] = this.querykey2tracks[f.querykey];
|
|
768
|
+
} else if (f.querykeylst) {
|
|
769
|
+
for (const k of f.querykeylst) arg.querykey2tracks[k] = this.querykey2tracks[k];
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
} else {
|
|
773
|
+
arg.dslabel = this.mds.label;
|
|
774
|
+
}
|
|
775
|
+
return dofetch("/samplematrix", arg).then((data) => {
|
|
776
|
+
if (data.error) {
|
|
777
|
+
for (const f0 of arg.features) {
|
|
778
|
+
const f = this.features.find((f2) => f2.id == f0.id);
|
|
779
|
+
if (f) f.items = [];
|
|
780
|
+
}
|
|
781
|
+
throw data.error;
|
|
782
|
+
}
|
|
783
|
+
for (const dat of data.results) {
|
|
784
|
+
const f = this.features.find((f2) => f2.id == dat.id);
|
|
785
|
+
if (!f) throw "feature not found: " + f.id;
|
|
786
|
+
f.items = dat.items;
|
|
787
|
+
this.prep_featuredata(f);
|
|
788
|
+
}
|
|
789
|
+
this.draw_matrix();
|
|
790
|
+
this.make_legend();
|
|
791
|
+
this.wait_div.style("display", "none");
|
|
792
|
+
});
|
|
793
|
+
}
|
|
794
|
+
update_singlefeature(f) {
|
|
795
|
+
this.get_features([f]).catch((err) => {
|
|
796
|
+
if (typeof err == "string") {
|
|
797
|
+
this.error(err);
|
|
798
|
+
} else {
|
|
799
|
+
this.error(err.message);
|
|
800
|
+
if (err.stack) console.log(err.stack);
|
|
801
|
+
}
|
|
802
|
+
});
|
|
803
|
+
}
|
|
804
|
+
addnewfeature_update(f) {
|
|
805
|
+
this.features.push(f);
|
|
806
|
+
this.validate_feature(f).then(() => {
|
|
807
|
+
return this.get_features([f]);
|
|
808
|
+
}).catch((err) => {
|
|
809
|
+
this.error(typeof err == "string" ? err : err.message);
|
|
810
|
+
if (err.stack) console.log(err.stack);
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
prep_featuredata(f) {
|
|
814
|
+
if (f.isgenevalue) {
|
|
815
|
+
f.scale.maxv = 0;
|
|
816
|
+
f.scale.minv = 0;
|
|
817
|
+
for (const i of f.items) {
|
|
818
|
+
f.scale.maxv = Math.max(f.scale.maxv, i.value);
|
|
819
|
+
}
|
|
820
|
+
return;
|
|
821
|
+
}
|
|
822
|
+
if (f.iscnv) {
|
|
823
|
+
const gain = [], loss = [];
|
|
824
|
+
for (const i of f.items) {
|
|
825
|
+
if (i.value > 0) {
|
|
826
|
+
gain.push(i.value);
|
|
827
|
+
} else {
|
|
828
|
+
loss.push(-i.value);
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
const gmax = getMax_byiqr(gain, 0);
|
|
832
|
+
const lmax = getMax_byiqr(loss, 0);
|
|
833
|
+
f.maxabslogratio = Math.max(gmax, lmax);
|
|
834
|
+
if (f.maxabslogratio > this.max_cnv) this.max_cnv = f.maxabslogratio;
|
|
835
|
+
return;
|
|
836
|
+
}
|
|
837
|
+
if (f.isloh) {
|
|
838
|
+
const values = f.items.map((i) => i.segmean);
|
|
839
|
+
f.minvalue = 0;
|
|
840
|
+
f.maxvalue = Math.max(...values);
|
|
841
|
+
if (f.maxvalue > this.max_loh) this.max_loh = f.maxvalue;
|
|
842
|
+
return;
|
|
843
|
+
}
|
|
844
|
+
if (f.isvcf) {
|
|
845
|
+
return;
|
|
846
|
+
}
|
|
847
|
+
if (f.isitd) {
|
|
848
|
+
return;
|
|
849
|
+
}
|
|
850
|
+
if (f.issvfusion) {
|
|
851
|
+
return;
|
|
852
|
+
}
|
|
853
|
+
if (f.issvcnv || f.ismutation) {
|
|
854
|
+
const cnvgain = [], cnvloss = [];
|
|
855
|
+
let lohmax = 0;
|
|
856
|
+
for (const i of f.items) {
|
|
857
|
+
if (i.dt == dtcnv) {
|
|
858
|
+
if (i.value > 0) {
|
|
859
|
+
cnvgain.push(i.value);
|
|
860
|
+
} else {
|
|
861
|
+
cnvloss.push(-i.value);
|
|
862
|
+
}
|
|
863
|
+
} else if (i.dt == dtloh) {
|
|
864
|
+
lohmax = Math.max(i.segmean, lohmax);
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
if (cnvgain.length + cnvloss.length > 0) {
|
|
868
|
+
const gmax = getMax_byiqr(cnvgain, 0);
|
|
869
|
+
const lmax = getMax_byiqr(cnvloss, 0);
|
|
870
|
+
f.cnv.maxabslogratio = Math.max(gmax, lmax);
|
|
871
|
+
if (f.cnv.maxabslogratio > this.max_cnv) {
|
|
872
|
+
this.max_cnv = f.cnv.maxabslogratio;
|
|
873
|
+
this.min_cnv = -f.cnv.maxabslogratio;
|
|
874
|
+
this.cnv_colorloss = f.cnv.colorloss;
|
|
875
|
+
this.cnv_colorgain = f.cnv.colorgain;
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
if (lohmax) {
|
|
879
|
+
f.loh.minvalue = 0;
|
|
880
|
+
f.loh.maxvalue = lohmax;
|
|
881
|
+
if (f.loh.maxvalue > this.max_loh) this.max_loh = f.loh.maxvalue;
|
|
882
|
+
this.loh_color = f.loh.color;
|
|
883
|
+
}
|
|
884
|
+
return;
|
|
885
|
+
}
|
|
886
|
+
if (f.issampleattribute) {
|
|
887
|
+
for (const i of f.items) {
|
|
888
|
+
if (!f.values[i.value]) {
|
|
889
|
+
f.values[i.value] = {
|
|
890
|
+
name: i.value,
|
|
891
|
+
color: f.assignmissingcolor(i.value)
|
|
892
|
+
};
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
return;
|
|
896
|
+
}
|
|
897
|
+
throw "unknown feature type in preparing feature data";
|
|
898
|
+
}
|
|
899
|
+
make_legend() {
|
|
900
|
+
for (const f of this.features) {
|
|
901
|
+
const h = f.legendholder;
|
|
902
|
+
h.selectAll("*").remove();
|
|
903
|
+
if (f.isgenevalue) {
|
|
904
|
+
h.append("span").text(f.scale.minv.toFixed(3));
|
|
905
|
+
h.append("div").style("margin", "2px 10px").style("display", "inline-block").style("width", "100px").style("height", "15px").style("background", "linear-gradient( to right, white, " + f.color + ")");
|
|
906
|
+
h.append("span").text(f.scale.maxv.toFixed(3));
|
|
907
|
+
continue;
|
|
908
|
+
}
|
|
909
|
+
if (f.iscnv) {
|
|
910
|
+
h.append("span").html(
|
|
911
|
+
'Gain <span style="background:' + f.colorgain + ';color:white;padding:1px 5px">' + f.maxabslogratio.toFixed(3) + '</span> Loss <span style="background:' + f.colorloss + ';color:white;padding:1px 5px">-' + f.maxabslogratio.toFixed(3) + "</span>"
|
|
912
|
+
);
|
|
913
|
+
continue;
|
|
914
|
+
}
|
|
915
|
+
if (f.isloh) {
|
|
916
|
+
h.append("span").text(f.minvalue.toFixed(3));
|
|
917
|
+
h.append("div").style("margin", "2px 10px").style("display", "inline-block").style("width", "100px").style("height", "15px").style("background", "linear-gradient( to right, white, " + f.color + ")");
|
|
918
|
+
h.append("span").text(f.maxvalue.toFixed(3));
|
|
919
|
+
continue;
|
|
920
|
+
}
|
|
921
|
+
if (f.isvcf) {
|
|
922
|
+
const classes = /* @__PURE__ */ new Set();
|
|
923
|
+
for (const m of f.items) {
|
|
924
|
+
if (m.class) {
|
|
925
|
+
classes.add(m.class);
|
|
926
|
+
} else {
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
for (const c of classes) {
|
|
930
|
+
const cell = h.append("div").style("display", "inline-block").style("margin-right", "10px");
|
|
931
|
+
cell.append("span").style("background", mclass[c].color).style("margin-right", "2px").html(" ");
|
|
932
|
+
cell.append("span").text(mclass[c].label).style("color", mclass[c].color);
|
|
933
|
+
}
|
|
934
|
+
continue;
|
|
935
|
+
}
|
|
936
|
+
if (f.isitd) {
|
|
937
|
+
continue;
|
|
938
|
+
}
|
|
939
|
+
if (f.issvfusion) {
|
|
940
|
+
continue;
|
|
941
|
+
}
|
|
942
|
+
if (f.issvcnv || f.ismutation) {
|
|
943
|
+
const vcfclass2count = /* @__PURE__ */ new Map();
|
|
944
|
+
let itdcount = 0;
|
|
945
|
+
let svcount = 0;
|
|
946
|
+
let fusioncount = 0;
|
|
947
|
+
for (const i of f.items) {
|
|
948
|
+
if (i.dt == dtsnvindel) {
|
|
949
|
+
if (i.class && i.sampledata) {
|
|
950
|
+
if (!vcfclass2count.has(i.class)) {
|
|
951
|
+
vcfclass2count.set(i.class, 0);
|
|
952
|
+
}
|
|
953
|
+
vcfclass2count.set(i.class, vcfclass2count.get(i.class) + i.sampledata.length);
|
|
954
|
+
} else {
|
|
955
|
+
}
|
|
956
|
+
} else if (i.dt == dtitd) {
|
|
957
|
+
itdcount++;
|
|
958
|
+
} else if (i.dt == dtsv) {
|
|
959
|
+
svcount++;
|
|
960
|
+
} else if (i.dt == dtfusionrna) {
|
|
961
|
+
fusioncount++;
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
if (vcfclass2count.size + itdcount + svcount + fusioncount > 0) {
|
|
965
|
+
const row = h.append("div").style("margin-bottom", "5px").style("white-space", "nowrap");
|
|
966
|
+
for (const [classname, count] of vcfclass2count) {
|
|
967
|
+
const c = mclass[classname];
|
|
968
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
969
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", c.color).text(count);
|
|
970
|
+
cell.append("span").text(c.label).style("color", c.color);
|
|
971
|
+
}
|
|
972
|
+
if (itdcount) {
|
|
973
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
974
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.itd.color).text(itdcount);
|
|
975
|
+
cell.append("span").text("ITD");
|
|
976
|
+
}
|
|
977
|
+
if (svcount) {
|
|
978
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
979
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.sv.color).text(svcount);
|
|
980
|
+
cell.append("span").text("SV");
|
|
981
|
+
}
|
|
982
|
+
if (fusioncount) {
|
|
983
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
984
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.fusion.color).text(fusioncount);
|
|
985
|
+
cell.append("span").text("Fusion");
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
continue;
|
|
989
|
+
}
|
|
990
|
+
if (f.issampleattribute) {
|
|
991
|
+
const value2count = /* @__PURE__ */ new Map();
|
|
992
|
+
for (const sample of this.samples) {
|
|
993
|
+
const anno = f.items.find((i) => i.sample == sample.name);
|
|
994
|
+
if (anno) {
|
|
995
|
+
value2count.set(anno.value, (value2count.get(anno.value) || 0) + 1);
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
for (const [value, count] of value2count) {
|
|
999
|
+
const cell = h.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
1000
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.values[value].color).text(count);
|
|
1001
|
+
cell.append("span").text(f.values[value].name);
|
|
1002
|
+
}
|
|
1003
|
+
continue;
|
|
1004
|
+
}
|
|
1005
|
+
throw "unknown feature type in making legend";
|
|
1006
|
+
}
|
|
1007
|
+
this.makeGlobalCnvLohLegend();
|
|
1008
|
+
}
|
|
1009
|
+
makeGlobalCnvLohLegend() {
|
|
1010
|
+
const legend_data = [
|
|
1011
|
+
{ type: "cnv", legend_label: "CNV log2(ratio): " },
|
|
1012
|
+
{ type: "loh", legend_label: "LOH seg.mean: " }
|
|
1013
|
+
];
|
|
1014
|
+
const min_cnv_orig = parseFloat(this.min_cnv.toFixed(3));
|
|
1015
|
+
const max_cnv_orig = parseFloat(this.max_cnv.toFixed(3));
|
|
1016
|
+
const min_loh_orig = parseFloat(this.min_loh.toFixed(3));
|
|
1017
|
+
const max_loh_orig = parseFloat(this.max_loh.toFixed(3));
|
|
1018
|
+
let changed_flag = false;
|
|
1019
|
+
legend_data.forEach((data) => {
|
|
1020
|
+
let min_cutoff = data.type == "cnv" ? this.min_cnv : this.min_loh;
|
|
1021
|
+
let max_cutoff = data.type == "cnv" ? this.max_cnv : this.max_loh;
|
|
1022
|
+
const td = data.type == "cnv" ? this.legendtable.cnv_td : this.legendtable.loh_td;
|
|
1023
|
+
const row = td.append("div").style("margin-bottom", "5px");
|
|
1024
|
+
row.append("span").text(data.legend_label);
|
|
1025
|
+
const lower_range_txt = row.append("span").text(min_cutoff.toFixed(3));
|
|
1026
|
+
const lower_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", min_cutoff.toFixed(3));
|
|
1027
|
+
if (data.type == "cnv") {
|
|
1028
|
+
row.append("div").style("margin", "4px 0 1px 10px").style("display", "inline-block").style("width", "50px").style("height", "15px").style("background", "linear-gradient( to right," + this.cnv_colorloss + ",white)");
|
|
1029
|
+
}
|
|
1030
|
+
row.append("div").style("margin", "4px 10px 1px 10px").style("margin-left", data.type == "cnv" ? "0" : "10px").style("display", "inline-block").style("width", data.type == "cnv" ? "50px" : "100px").style("height", "15px").style(
|
|
1031
|
+
"background",
|
|
1032
|
+
"linear-gradient( to right, white, " + (data.type == "cnv" ? this.cnv_colorgain : this.loh_color) + ")"
|
|
1033
|
+
);
|
|
1034
|
+
const upper_range_txt = row.append("span").text(max_cutoff.toFixed(3));
|
|
1035
|
+
const upper_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", max_cutoff.toFixed(3));
|
|
1036
|
+
const edit_btn = row.append("button").style("margin", "2px 5px").style("padding", "3px 10px").text("Edit").on("click", () => {
|
|
1037
|
+
lower_range_txt.style("display", "none");
|
|
1038
|
+
upper_range_txt.style("display", "none");
|
|
1039
|
+
lower_range_input.style("display", "inline-block");
|
|
1040
|
+
upper_range_input.style("display", "inline-block");
|
|
1041
|
+
edit_btn.style("display", "none");
|
|
1042
|
+
submit_btn.style("display", "inline-block");
|
|
1043
|
+
});
|
|
1044
|
+
const submit_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Submit").on("click", () => {
|
|
1045
|
+
if (data.type == "cnv") {
|
|
1046
|
+
this.min_cnv = min_cutoff = lower_range_input.property("value");
|
|
1047
|
+
this.max_cnv = max_cutoff = upper_range_input.property("value");
|
|
1048
|
+
if (this.min_cnv != min_cnv_orig || this.max_cnv != max_cnv_orig) changed_flag = true;
|
|
1049
|
+
} else {
|
|
1050
|
+
this.min_loh = min_cutoff = parseFloat(lower_range_input.property("value"));
|
|
1051
|
+
this.max_loh = max_cutoff = parseFloat(upper_range_input.property("value"));
|
|
1052
|
+
if (this.min_loh != min_loh_orig || this.max_loh != max_loh_orig) changed_flag = true;
|
|
1053
|
+
}
|
|
1054
|
+
lower_range_txt.style("display", "inline-block").text(parseFloat(min_cutoff).toFixed(3));
|
|
1055
|
+
upper_range_txt.style("display", "inline-block").text(parseFloat(max_cutoff).toFixed(3));
|
|
1056
|
+
lower_range_input.style("display", "none");
|
|
1057
|
+
upper_range_input.style("display", "none");
|
|
1058
|
+
edit_btn.style("display", "inline-block");
|
|
1059
|
+
submit_btn.style("display", "none");
|
|
1060
|
+
reset_btn.style("display", changed_flag ? "inline-block" : "none");
|
|
1061
|
+
this.draw_matrix();
|
|
1062
|
+
});
|
|
1063
|
+
const reset_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Reset").on("click", () => {
|
|
1064
|
+
if (data.type == "cnv") {
|
|
1065
|
+
this.min_cnv = min_cutoff = min_cnv_orig;
|
|
1066
|
+
this.max_cnv = max_cutoff = max_cnv_orig;
|
|
1067
|
+
} else {
|
|
1068
|
+
this.min_loh = min_cutoff = min_loh_orig;
|
|
1069
|
+
this.max_loh = max_cutoff = max_loh_orig;
|
|
1070
|
+
}
|
|
1071
|
+
lower_range_txt.text(parseFloat(min_cutoff).toFixed(3));
|
|
1072
|
+
upper_range_txt.text(parseFloat(max_cutoff).toFixed(3));
|
|
1073
|
+
lower_range_input.property("value", parseFloat(min_cutoff).toFixed(3));
|
|
1074
|
+
upper_range_input.property("value", parseFloat(max_cutoff).toFixed(3));
|
|
1075
|
+
reset_btn.style("display", "none");
|
|
1076
|
+
changed_flag = false;
|
|
1077
|
+
this.draw_matrix();
|
|
1078
|
+
});
|
|
1079
|
+
reset_btn.style("display", "none");
|
|
1080
|
+
});
|
|
1081
|
+
}
|
|
1082
|
+
gatherSamplesFromFeatureData() {
|
|
1083
|
+
const name2sample = /* @__PURE__ */ new Map();
|
|
1084
|
+
for (const feature of this.features) {
|
|
1085
|
+
if (feature.donotaddsample) {
|
|
1086
|
+
continue;
|
|
1087
|
+
}
|
|
1088
|
+
if (feature.isgenevalue || feature.iscnv || feature.isloh || feature.isitd || feature.issvfusion || feature.issvcnv) {
|
|
1089
|
+
for (const item of feature.items) {
|
|
1090
|
+
if (!name2sample.has(item.sample)) {
|
|
1091
|
+
name2sample.set(item.sample, {});
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
} else if (feature.isvcf) {
|
|
1095
|
+
for (const m of feature.items) {
|
|
1096
|
+
if (m.dt == dtsnvindel) {
|
|
1097
|
+
if (!m.sampledata) continue;
|
|
1098
|
+
for (const s of m.sampledata) {
|
|
1099
|
+
if (!name2sample.has(s.sampleobj.name)) {
|
|
1100
|
+
name2sample.set(s.sampleobj.name, {});
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
} else {
|
|
1104
|
+
console.error("unsupported dt from isvcf: " + m.dt);
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
} else if (feature.ismutation) {
|
|
1108
|
+
for (const m of feature.items) {
|
|
1109
|
+
if (m.dt == dtsnvindel) {
|
|
1110
|
+
if (!m.sampledata) continue;
|
|
1111
|
+
for (const s of m.sampledata) {
|
|
1112
|
+
if (!name2sample.has(s.sampleobj.name)) {
|
|
1113
|
+
name2sample.set(s.sampleobj.name, {});
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
} else {
|
|
1117
|
+
if (!m.sample) continue;
|
|
1118
|
+
if (!name2sample.has(m.sample)) {
|
|
1119
|
+
name2sample.set(m.sample, {});
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
} else if (feature.issampleattribute) {
|
|
1124
|
+
for (const i of feature.items) {
|
|
1125
|
+
if (!name2sample.has(i.sample)) {
|
|
1126
|
+
name2sample.set(i.sample, {});
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
} else {
|
|
1130
|
+
console.error("unknown feature type from this.data");
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
const uniformheight = Math.min(18, Math.max(1, Math.ceil(800 / name2sample.size)));
|
|
1134
|
+
this.samples = [];
|
|
1135
|
+
for (const [n, sample] of name2sample) {
|
|
1136
|
+
if (!this.features_on_rows) sample.height = uniformheight;
|
|
1137
|
+
else sample.width = uniformheight;
|
|
1138
|
+
sample.name = n;
|
|
1139
|
+
this.samples.push(sample);
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
/*********** __draw *****/
|
|
1143
|
+
draw_matrix() {
|
|
1144
|
+
this.svg.selectAll("*").remove();
|
|
1145
|
+
const svgg = this.svg.append("g");
|
|
1146
|
+
this.gatherSamplesFromFeatureData();
|
|
1147
|
+
this.sortsamplesbyfeatures();
|
|
1148
|
+
const rows_lst = this.features_on_rows ? this.features : this.samples;
|
|
1149
|
+
const cols_lst = this.features_on_rows ? this.samples : this.features;
|
|
1150
|
+
let y = 0, samplenamemaxwidth = 0;
|
|
1151
|
+
for (const r of rows_lst) {
|
|
1152
|
+
r.g = svgg.append("g").attr("transform", "translate(0," + y + ")");
|
|
1153
|
+
y += r.height + this.rowspace;
|
|
1154
|
+
if (r.height >= minheight2showname) {
|
|
1155
|
+
r.g.append("text").attr("font-family", font).attr("font-size", Math.min(16, r.height)).attr("text-anchor", "end").attr("dominant-baseline", "central").attr("x", -this.rowlabspace - this.rowlabticksize).attr("y", r.height / 2).text(this.features_on_rows ? r.label + (r.count ? " (" + r.count + ")" : "") : r.name).each(function() {
|
|
1156
|
+
samplenamemaxwidth = Math.max(samplenamemaxwidth, this.getBBox().width);
|
|
1157
|
+
}).attr("class", "sja_clbtext").on("mouseover", () => {
|
|
1158
|
+
this.features_on_rows ? this.showTip_feature(r) : this.showTip_sample(r);
|
|
1159
|
+
}).on("mouseout", () => {
|
|
1160
|
+
this.tip.hide();
|
|
1161
|
+
}).on("click", () => {
|
|
1162
|
+
if (this.features_on_rows) this.showMenu_feature(r);
|
|
1163
|
+
});
|
|
1164
|
+
r.g.append("line").attr("x1", -this.rowlabticksize).attr("y1", r.height / 2).attr("y2", r.height / 2).attr("stroke", "black").attr("shape-rendering", "crispEdges");
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
let x = 0, featurenamemaxwidth = 0;
|
|
1168
|
+
for (const c of cols_lst) {
|
|
1169
|
+
const g = svgg.append("g").attr("transform", "translate(" + (x + c.width / 2) + ",-" + (this.collabspace + this.collabticksize) + ")");
|
|
1170
|
+
x += c.width + this.colspace;
|
|
1171
|
+
const label = g.append("text").attr("font-family", font).attr("font-size", Math.min(16, c.width - 2)).attr("dominant-baseline", "central").attr("transform", "rotate(-90)").text(this.features_on_rows ? c.name : c.label + (c.count ? " (" + c.count + ")" : "")).each(function() {
|
|
1172
|
+
featurenamemaxwidth = Math.max(featurenamemaxwidth, this.getBBox().width);
|
|
1173
|
+
}).on("mouseover", () => {
|
|
1174
|
+
this.features_on_rows ? this.showTip_sample(c) : this.showTip_feature(c);
|
|
1175
|
+
}).on("mouseout", () => {
|
|
1176
|
+
this.tip.hide();
|
|
1177
|
+
}).on("click", () => {
|
|
1178
|
+
if (!this.features_on_rows) this.showMenu_feature(c);
|
|
1179
|
+
});
|
|
1180
|
+
if (c.isgenevalue) {
|
|
1181
|
+
label.attr("fill", c.color);
|
|
1182
|
+
}
|
|
1183
|
+
g.append("line").attr("y1", this.collabspace).attr("y2", this.collabspace + this.collabticksize).attr("stroke", "black").attr("shape-rendering", "crispEdges");
|
|
1184
|
+
}
|
|
1185
|
+
for (const r of rows_lst) {
|
|
1186
|
+
let x2 = 0;
|
|
1187
|
+
for (const c of cols_lst) {
|
|
1188
|
+
const sample = this.features_on_rows ? c : r;
|
|
1189
|
+
const feature = this.features_on_rows ? r : c;
|
|
1190
|
+
const cell = r.g.append("g").attr("transform", "translate(" + x2 + ",0)");
|
|
1191
|
+
x2 += c.width + this.colspace;
|
|
1192
|
+
if (feature.isgenevalue) {
|
|
1193
|
+
this.drawCell_isgenevalue(sample, feature, cell);
|
|
1194
|
+
} else if (feature.iscnv) {
|
|
1195
|
+
this.drawCell_iscnv(sample, feature, cell);
|
|
1196
|
+
} else if (feature.isloh) {
|
|
1197
|
+
this.drawCell_isloh(sample, feature, cell);
|
|
1198
|
+
} else if (feature.isvcf) {
|
|
1199
|
+
this.drawCell_isvcf(sample, feature, cell);
|
|
1200
|
+
} else if (feature.isitd) {
|
|
1201
|
+
this.drawCell_isitd(sample, feature, cell);
|
|
1202
|
+
} else if (feature.issvfusion) {
|
|
1203
|
+
this.drawCell_issvfusion(sample, feature, cell);
|
|
1204
|
+
} else if (feature.issvcnv || feature.ismutation) {
|
|
1205
|
+
this.drawCell_ismutation(sample, feature, cell);
|
|
1206
|
+
} else if (feature.issampleattribute) {
|
|
1207
|
+
this.drawCell_issampleattribute(sample, feature, cell);
|
|
1208
|
+
} else {
|
|
1209
|
+
console.error("unknown feature type when drawing cell");
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
svgg.attr(
|
|
1214
|
+
"transform",
|
|
1215
|
+
"translate(" + (samplenamemaxwidth + this.rowlabspace + this.rowlabticksize) + "," + (featurenamemaxwidth + this.collabspace + this.collabticksize) + ")"
|
|
1216
|
+
);
|
|
1217
|
+
this.svg.attr(
|
|
1218
|
+
"width",
|
|
1219
|
+
samplenamemaxwidth + this.rowlabspace + this.rowlabticksize + cols_lst.reduce((i, j) => i + j.width, 0) + cols_lst.length * this.colspace
|
|
1220
|
+
).attr(
|
|
1221
|
+
"height",
|
|
1222
|
+
featurenamemaxwidth + this.collabspace + this.collabticksize + rows_lst.reduce((i, j) => i + j.height, 0) + rows_lst.length * this.rowspace
|
|
1223
|
+
);
|
|
1224
|
+
}
|
|
1225
|
+
drawCell_isgenevalue(sample, feature, g) {
|
|
1226
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1227
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1228
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1229
|
+
if (!item) {
|
|
1230
|
+
this.drawEmptycell(sample, feature, g);
|
|
1231
|
+
return;
|
|
1232
|
+
}
|
|
1233
|
+
const rect = g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1234
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1235
|
+
this.showTip_cell(sample, feature);
|
|
1236
|
+
}).on("mouseout", (event2) => {
|
|
1237
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1238
|
+
this.tip.hide();
|
|
1239
|
+
}).on("click", () => {
|
|
1240
|
+
this.click_cell(sample, feature);
|
|
1241
|
+
});
|
|
1242
|
+
if (item.value < feature.scale.maxv) {
|
|
1243
|
+
rect.attr("fill-opacity", item.value / feature.scale.maxv);
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
drawCell_iscnv(sample, feature, g) {
|
|
1247
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1248
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1249
|
+
const items = feature.items.filter((i) => i.sample == sample.name);
|
|
1250
|
+
if (items.length == 0) {
|
|
1251
|
+
this.drawEmptycell(sample, feature, g);
|
|
1252
|
+
return;
|
|
1253
|
+
}
|
|
1254
|
+
for (const item of items) {
|
|
1255
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1256
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1257
|
+
const maxabslogratio = this.max_cnv;
|
|
1258
|
+
g.append("rect").attr("x", x1).attr("width", Math.max(1, x2 - x1)).attr("height", sample.height).attr("fill", item.value > 0 ? feature.colorgain : feature.colorloss).attr("fill-opacity", Math.abs(item.value / maxabslogratio)).attr("shape-rendering", "crispEdges");
|
|
1259
|
+
}
|
|
1260
|
+
g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1261
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1262
|
+
this.showTip_cell(sample, feature);
|
|
1263
|
+
}).on("mouseout", (event2) => {
|
|
1264
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1265
|
+
this.tip.hide();
|
|
1266
|
+
}).on("click", () => {
|
|
1267
|
+
this.click_cell(sample, feature);
|
|
1268
|
+
});
|
|
1269
|
+
}
|
|
1270
|
+
drawCell_isloh(sample, feature, g) {
|
|
1271
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1272
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1273
|
+
const items = feature.items.filter((i) => i.sample == sample.name);
|
|
1274
|
+
if (items.length == 0) {
|
|
1275
|
+
this.drawEmptycell(sample, feature, g);
|
|
1276
|
+
return;
|
|
1277
|
+
}
|
|
1278
|
+
for (const item of items) {
|
|
1279
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1280
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1281
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1282
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.color).attr("fill-opacity", (item.segmean - this.min_loh) / loh_range).attr("shape-rendering", "crispEdges");
|
|
1283
|
+
}
|
|
1284
|
+
g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1285
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1286
|
+
this.showTip_cell(sample, feature);
|
|
1287
|
+
}).on("mouseout", (event2) => {
|
|
1288
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1289
|
+
this.tip.hide();
|
|
1290
|
+
}).on("click", () => {
|
|
1291
|
+
this.click_cell(sample, feature);
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
drawCell_isvcf(sample, feature, g) {
|
|
1295
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1296
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1297
|
+
const mlst = getitemforsample_vcf(feature, sample);
|
|
1298
|
+
if (mlst.length == 0) {
|
|
1299
|
+
this.drawEmptycell(sample, feature, g);
|
|
1300
|
+
return;
|
|
1301
|
+
}
|
|
1302
|
+
const class2count = /* @__PURE__ */ new Map();
|
|
1303
|
+
for (const m of mlst) {
|
|
1304
|
+
if (!class2count.has(m.class)) {
|
|
1305
|
+
class2count.set(m.class, 0);
|
|
1306
|
+
}
|
|
1307
|
+
class2count.set(m.class, class2count.get(m.class) + 1);
|
|
1308
|
+
}
|
|
1309
|
+
let start = 0;
|
|
1310
|
+
for (const [cname, count] of class2count) {
|
|
1311
|
+
const span = count / mlst.length * this.features_on_rows ? height : width;
|
|
1312
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : start).attr("y", this.features_on_rows ? start : 0).attr("width", this.features_on_rows ? width : span).attr("height", this.features_on_rows ? span : height).attr("fill", mclass[cname].color).attr("shape-rendering", "crispEdges");
|
|
1313
|
+
start += span;
|
|
1314
|
+
}
|
|
1315
|
+
g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1316
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1317
|
+
this.showTip_cell(sample, feature);
|
|
1318
|
+
}).on("mouseout", (event2) => {
|
|
1319
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1320
|
+
this.tip.hide();
|
|
1321
|
+
}).on("click", () => {
|
|
1322
|
+
this.click_cell(sample, feature);
|
|
1323
|
+
});
|
|
1324
|
+
}
|
|
1325
|
+
drawCell_isitd(sample, feature, g) {
|
|
1326
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1327
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1328
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1329
|
+
if (!item) {
|
|
1330
|
+
this.drawEmptycell(sample, feature, g);
|
|
1331
|
+
return;
|
|
1332
|
+
}
|
|
1333
|
+
g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1334
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1335
|
+
this.showTip_cell(sample, feature);
|
|
1336
|
+
}).on("mouseout", (event2) => {
|
|
1337
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1338
|
+
this.tip.hide();
|
|
1339
|
+
}).on("click", () => {
|
|
1340
|
+
this.click_cell(sample, feature);
|
|
1341
|
+
});
|
|
1342
|
+
}
|
|
1343
|
+
drawCell_issampleattribute(sample, feature, g) {
|
|
1344
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1345
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1346
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1347
|
+
if (!item) {
|
|
1348
|
+
this.drawEmptycell(sample, feature, g);
|
|
1349
|
+
return;
|
|
1350
|
+
}
|
|
1351
|
+
g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.values[item.value].color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1352
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1353
|
+
this.showTip_cell(sample, feature);
|
|
1354
|
+
}).on("mouseout", (event2) => {
|
|
1355
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1356
|
+
this.tip.hide();
|
|
1357
|
+
}).on("click", () => {
|
|
1358
|
+
this.click_cell(sample, feature);
|
|
1359
|
+
});
|
|
1360
|
+
}
|
|
1361
|
+
drawCell_issvfusion(sample, feature, g) {
|
|
1362
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1363
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1364
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1365
|
+
if (!item) {
|
|
1366
|
+
this.drawEmptycell(sample, feature, g);
|
|
1367
|
+
return;
|
|
1368
|
+
}
|
|
1369
|
+
g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1370
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1371
|
+
this.showTip_cell(sample, feature);
|
|
1372
|
+
}).on("mouseout", (event2) => {
|
|
1373
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1374
|
+
this.tip.hide();
|
|
1375
|
+
}).on("click", () => {
|
|
1376
|
+
this.click_cell(sample, feature);
|
|
1377
|
+
});
|
|
1378
|
+
}
|
|
1379
|
+
drawCell_ismutation(sample, feature, g) {
|
|
1380
|
+
const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(feature, sample);
|
|
1381
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1382
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1383
|
+
if (cnv.length + loh.length + itd.length + sv.length + fusion.length + snvindel.length == 0) {
|
|
1384
|
+
this.drawEmptycell(sample, feature, g);
|
|
1385
|
+
return;
|
|
1386
|
+
}
|
|
1387
|
+
let is_symbolic = false;
|
|
1388
|
+
if (this.ismutation_allsymbolic) {
|
|
1389
|
+
is_symbolic = true;
|
|
1390
|
+
} else if (this.ismutation_allnotsymbolic) {
|
|
1391
|
+
} else {
|
|
1392
|
+
if (height <= 4) {
|
|
1393
|
+
is_symbolic = true;
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
if (is_symbolic) {
|
|
1397
|
+
this.drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel);
|
|
1398
|
+
} else {
|
|
1399
|
+
if (loh.length) {
|
|
1400
|
+
for (const item of loh) {
|
|
1401
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1402
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1403
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1404
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.loh.color).attr("fill-opacity", (item.segmean - this.min_loh) / loh_range).attr("shape-rendering", "crispEdges");
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
if (cnv.length) {
|
|
1408
|
+
for (const item of cnv) {
|
|
1409
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1410
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1411
|
+
const maxabslogratio = item.value > 0 ? this.max_cnv : this.min_cnv;
|
|
1412
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", item.value > 0 ? feature.cnv.colorgain : feature.cnv.colorloss).attr("fill-opacity", Math.abs(item.value / maxabslogratio)).attr("shape-rendering", "crispEdges");
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
if (itd.length) {
|
|
1416
|
+
for (const item of itd) {
|
|
1417
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1418
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1419
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.itd.color).attr("shape-rendering", "crispEdges");
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
if (sv.length) {
|
|
1423
|
+
g.append("circle").attr("cx", width / 2).attr("cy", height / 2).attr("r", Math.min(width, height) / 2).attr("stroke", feature.sv.color).attr("fill", "none");
|
|
1424
|
+
}
|
|
1425
|
+
if (fusion.length) {
|
|
1426
|
+
g.append("circle").attr("cx", width / 2).attr("cy", height / 2).attr("r", Math.min(width, height) / 2).attr("stroke", feature.fusion.color).attr("fill", "none");
|
|
1427
|
+
}
|
|
1428
|
+
if (snvindel.length) {
|
|
1429
|
+
const m = snvindel[0];
|
|
1430
|
+
const g2 = g.append("g").attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");
|
|
1431
|
+
const color = mclass[m.m.class].color;
|
|
1432
|
+
const w = Math.min(width, height) / 2;
|
|
1433
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", "white").attr("stroke-width", 3);
|
|
1434
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", "white").attr("stroke-width", 3);
|
|
1435
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", color);
|
|
1436
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", color);
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
g.append("rect").attr("width", width).attr("height", height).attr("fill", "white").attr("fill-opacity", 0).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1440
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1441
|
+
this.showTip_cell(sample, feature);
|
|
1442
|
+
}).on("mouseout", (event2) => {
|
|
1443
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1444
|
+
this.tip.hide();
|
|
1445
|
+
}).on("click", () => {
|
|
1446
|
+
this.click_cell(sample, feature);
|
|
1447
|
+
});
|
|
1448
|
+
}
|
|
1449
|
+
drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel) {
|
|
1450
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1451
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1452
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1453
|
+
const lst = [];
|
|
1454
|
+
if (cnv.length) {
|
|
1455
|
+
for (const i of cnv) {
|
|
1456
|
+
const maxabslogratio = i.value > 0 ? this.max_cnv : this.min_cnv;
|
|
1457
|
+
let k;
|
|
1458
|
+
if (i.value > 0) {
|
|
1459
|
+
k = { color: feature.cnv.colorgain };
|
|
1460
|
+
} else {
|
|
1461
|
+
k = { color: feature.cnv.colorloss };
|
|
1462
|
+
}
|
|
1463
|
+
k.opacity = Math.abs(i.value / maxabslogratio);
|
|
1464
|
+
lst.push(k);
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
if (loh.length) {
|
|
1468
|
+
for (const i of loh) {
|
|
1469
|
+
lst.push({
|
|
1470
|
+
color: feature.loh.color,
|
|
1471
|
+
opacity: (i.segmean - this.min_loh) / loh_range
|
|
1472
|
+
});
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
if (itd.length) {
|
|
1476
|
+
for (const i of itd) {
|
|
1477
|
+
lst.push({ color: feature.itd.color });
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
if (sv.length) {
|
|
1481
|
+
for (const i of sv) {
|
|
1482
|
+
lst.push({ color: feature.sv.color });
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
if (fusion.length) {
|
|
1486
|
+
for (const i of fusion) {
|
|
1487
|
+
lst.push({ color: feature.fusion.color });
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
if (snvindel.length) {
|
|
1491
|
+
for (const i of snvindel) {
|
|
1492
|
+
lst.push({ color: mclass[i.m.class].color });
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
const f_len = this.features_on_rows ? height / lst.length : width / lst.length;
|
|
1496
|
+
let f_start = 0;
|
|
1497
|
+
for (const i of lst) {
|
|
1498
|
+
const r = g.append("rect").attr("x", this.features_on_rows ? 0 : f_start).attr("y", this.features_on_rows ? f_start : 0).attr("width", this.features_on_rows ? width : f_len).attr("height", this.features_on_rows ? f_len : height).attr("fill", i.color).attr("shape-rendering", "crispEdges");
|
|
1499
|
+
if (i.opacity) r.attr("opacity", i.opacity);
|
|
1500
|
+
f_start += f_len;
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
// __newattr draw cell for new feature
|
|
1504
|
+
/*********** __draw ends *****/
|
|
1505
|
+
async click_cell(sample, feature) {
|
|
1506
|
+
try {
|
|
1507
|
+
let svcnvtk;
|
|
1508
|
+
if (this.iscustom) {
|
|
1509
|
+
svcnvtk = {
|
|
1510
|
+
iscustom: true,
|
|
1511
|
+
type: tkt.mdssvcnv,
|
|
1512
|
+
singlesample: {
|
|
1513
|
+
name: sample.name
|
|
1514
|
+
}
|
|
1515
|
+
};
|
|
1516
|
+
for (const k in this.querykey2tracks) {
|
|
1517
|
+
const t = this.querykey2tracks[k];
|
|
1518
|
+
if (t.type == tkt.mdssvcnv) {
|
|
1519
|
+
svcnvtk.name = t.name || "Custom tk";
|
|
1520
|
+
svcnvtk.file = t.file;
|
|
1521
|
+
svcnvtk.url = t.url;
|
|
1522
|
+
svcnvtk.indexURL = t.indexURL;
|
|
1523
|
+
} else if (t.type == tkt.mdsvcf) {
|
|
1524
|
+
svcnvtk.checkvcf = {
|
|
1525
|
+
file: t.file,
|
|
1526
|
+
url: t.url,
|
|
1527
|
+
indexURL: t.indexURL
|
|
1528
|
+
};
|
|
1529
|
+
} else if (t.type == tkt.mdsexpression) {
|
|
1530
|
+
svcnvtk.checkexpressionrank = {
|
|
1531
|
+
file: t.file,
|
|
1532
|
+
url: t.url,
|
|
1533
|
+
indexURL: t.indexURL
|
|
1534
|
+
};
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
} else {
|
|
1538
|
+
if (!this.mds) throw "not custom but .mds{} missing";
|
|
1539
|
+
for (const querykey in this.mds.queries) {
|
|
1540
|
+
const tk = this.mds.queries[querykey];
|
|
1541
|
+
if (tk.type == tkt.mdssvcnv) {
|
|
1542
|
+
svcnvtk = {
|
|
1543
|
+
mds: this.mds,
|
|
1544
|
+
querykey,
|
|
1545
|
+
singlesample: {
|
|
1546
|
+
name: sample.name
|
|
1547
|
+
}
|
|
1548
|
+
};
|
|
1549
|
+
for (const k in tk) svcnvtk[k] = tk[k];
|
|
1550
|
+
break;
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
if (!svcnvtk) throw "cannot find a svcnv tk";
|
|
1555
|
+
svcnvtk.bplengthUpperLimit = 0;
|
|
1556
|
+
const pane = newpane({ x: 100, y: 100 });
|
|
1557
|
+
const blockarg = {
|
|
1558
|
+
jwt: this.jwt,
|
|
1559
|
+
hostURL: this.hostURL,
|
|
1560
|
+
nobox: 1,
|
|
1561
|
+
genome: this.genome,
|
|
1562
|
+
holder: pane.body,
|
|
1563
|
+
chr: feature.chr,
|
|
1564
|
+
start: feature.start,
|
|
1565
|
+
stop: feature.stop,
|
|
1566
|
+
tklst: []
|
|
1567
|
+
};
|
|
1568
|
+
first_genetrack_tolist(this.genome, blockarg.tklst);
|
|
1569
|
+
blockarg.tklst.push(svcnvtk);
|
|
1570
|
+
if (!this.iscustom) {
|
|
1571
|
+
if (!this.dslabel) throw "not custom but dslabel missing";
|
|
1572
|
+
const par = {
|
|
1573
|
+
genome: this.genome.name,
|
|
1574
|
+
dslabel: this.dslabel,
|
|
1575
|
+
querykey: svcnvtk.querykey,
|
|
1576
|
+
gettrack4singlesample: sample.name
|
|
1577
|
+
};
|
|
1578
|
+
const data = await dofetch("/mdssvcnv", par);
|
|
1579
|
+
if (data.error) throw "Error checking for assay track: " + data.error;
|
|
1580
|
+
if (data.tracks) {
|
|
1581
|
+
for (const t of data.tracks) blockarg.tklst.push(t);
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
const _ = await import("./block-QLSIELXK.js");
|
|
1585
|
+
new _.Block(blockarg);
|
|
1586
|
+
} catch (e) {
|
|
1587
|
+
window.alert(e.message || e);
|
|
1588
|
+
if (e.stack) console.log(e.stack);
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
/********** __menu and tooltip **********/
|
|
1592
|
+
showTip_feature(f) {
|
|
1593
|
+
this.tip.clear();
|
|
1594
|
+
this.tipContent_feature(f, this.tip.d);
|
|
1595
|
+
this.tip.showunder(event.target);
|
|
1596
|
+
}
|
|
1597
|
+
showMenu_feature(f) {
|
|
1598
|
+
this.menu.showunder(event.target).clear();
|
|
1599
|
+
this.tipContent_feature(f, this.menu.d);
|
|
1600
|
+
this.menu.d.append("div").attr("class", "sja_menuoption").text("Remove this feature").on("click", () => {
|
|
1601
|
+
this.menu.hide();
|
|
1602
|
+
f.legend_tr.remove();
|
|
1603
|
+
this.features.splice(
|
|
1604
|
+
this.features.findIndex((i) => i.id == f.id),
|
|
1605
|
+
1
|
|
1606
|
+
);
|
|
1607
|
+
this.draw_matrix();
|
|
1608
|
+
});
|
|
1609
|
+
if (f.isgenevalue) return showMenu_isgenevalue(this, f);
|
|
1610
|
+
if (f.iscnv) return showMenu_iscnv(this, f, f);
|
|
1611
|
+
if (f.isloh) return showMenu_isloh(this, f, f);
|
|
1612
|
+
if (f.ismutation) return showMenu_ismutation(this, f);
|
|
1613
|
+
if (f.isitd) {
|
|
1614
|
+
return;
|
|
1615
|
+
}
|
|
1616
|
+
if (f.issvfusion) {
|
|
1617
|
+
return;
|
|
1618
|
+
}
|
|
1619
|
+
if (f.issvcnv) {
|
|
1620
|
+
return;
|
|
1621
|
+
}
|
|
1622
|
+
if (f.issampleattribute) {
|
|
1623
|
+
return;
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
tipContent_feature(f, holder) {
|
|
1627
|
+
holder.append("div").text(f.label).style("opacity", 0.5).style("font-size", ".7em").style("margin", "10px");
|
|
1628
|
+
if (f.isgenevalue || f.iscnv || f.isloh || f.isitd || f.issvfusion) {
|
|
1629
|
+
holder.append("div").html(f.chr + ":" + f.start + "-" + f.stop + " " + bplen(f.stop - f.start)).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
|
|
1630
|
+
} else if (f.issvcnv || f.ismutation) {
|
|
1631
|
+
if (!f.genename) {
|
|
1632
|
+
holder.append("div").html(f.chr + ":" + f.start + "-" + f.stop + " " + bplen(f.stop - f.start)).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
|
|
1633
|
+
}
|
|
1634
|
+
} else if (f.issampleattribute) {
|
|
1635
|
+
holder.append("div").text(f.label);
|
|
1636
|
+
}
|
|
1637
|
+
if (f.isgenevalue) {
|
|
1638
|
+
holder.append("div").text("Min: " + f.scale.minv + ", max: " + f.scale.maxv).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
showTip_sample(sample) {
|
|
1642
|
+
this.tip.clear().d.append("div").text(sample.name).style("padding", "10px").style("font-size", ".7em");
|
|
1643
|
+
const lst = [];
|
|
1644
|
+
for (const f of this.features) {
|
|
1645
|
+
if (lst.length > 10) {
|
|
1646
|
+
lst.push({ k: "more", v: "..." });
|
|
1647
|
+
break;
|
|
1648
|
+
}
|
|
1649
|
+
if (f.isgenevalue) {
|
|
1650
|
+
const v = f.items.find((i) => i.sample == sample.name);
|
|
1651
|
+
lst.push({ k: f.label, v: v ? v.value : saynovalue });
|
|
1652
|
+
continue;
|
|
1653
|
+
}
|
|
1654
|
+
if (f.iscnv) {
|
|
1655
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1656
|
+
let text;
|
|
1657
|
+
if (items.length == 0) {
|
|
1658
|
+
text = saynovalue;
|
|
1659
|
+
} else {
|
|
1660
|
+
const lst2 = items.map((i) => {
|
|
1661
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + (i.value > 0 ? f.colorgain : f.colorloss) + ';color:white;padding:1px 5px">' + i.value + "</span></div>";
|
|
1662
|
+
});
|
|
1663
|
+
text = lst2.join("");
|
|
1664
|
+
}
|
|
1665
|
+
lst.push({ k: f.label, v: text });
|
|
1666
|
+
continue;
|
|
1667
|
+
}
|
|
1668
|
+
if (f.isloh) {
|
|
1669
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1670
|
+
let text;
|
|
1671
|
+
if (items.length == 0) {
|
|
1672
|
+
text = saynovalue;
|
|
1673
|
+
} else {
|
|
1674
|
+
const lst2 = items.map((i) => {
|
|
1675
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + f.color + ';color:white;padding:1px 5px">' + i.segmean + "</span></div>";
|
|
1676
|
+
});
|
|
1677
|
+
text = lst2.join("");
|
|
1678
|
+
}
|
|
1679
|
+
lst.push({ k: f.label, v: text });
|
|
1680
|
+
continue;
|
|
1681
|
+
}
|
|
1682
|
+
if (f.isvcf) {
|
|
1683
|
+
const mlst = getitemforsample_vcf(f, sample);
|
|
1684
|
+
let text;
|
|
1685
|
+
if (mlst.length == 0) {
|
|
1686
|
+
text = saynovalue;
|
|
1687
|
+
} else {
|
|
1688
|
+
text = mlst.map((m) => {
|
|
1689
|
+
return '<div><span style="color:' + mclass[m.class].color + '">' + m.mname + '</span> <span style="font-size:.7em;opacity:.5">' + mclass[m.class].label + "</span></div>";
|
|
1690
|
+
}).join("");
|
|
1691
|
+
}
|
|
1692
|
+
lst.push({ k: f.label, v: text });
|
|
1693
|
+
continue;
|
|
1694
|
+
}
|
|
1695
|
+
if (f.isitd) {
|
|
1696
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1697
|
+
let text;
|
|
1698
|
+
if (items.length == 0) {
|
|
1699
|
+
text = saynovalue;
|
|
1700
|
+
} else {
|
|
1701
|
+
text = '<div style="background:' + f.color + ';width:20px"> </div>';
|
|
1702
|
+
}
|
|
1703
|
+
lst.push({ k: f.label, v: text });
|
|
1704
|
+
continue;
|
|
1705
|
+
}
|
|
1706
|
+
if (f.issvfusion) {
|
|
1707
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1708
|
+
let text;
|
|
1709
|
+
if (items.length == 0) {
|
|
1710
|
+
text = saynovalue;
|
|
1711
|
+
} else {
|
|
1712
|
+
text = '<div style="background:' + f.color + ';width:20px"> </div>';
|
|
1713
|
+
}
|
|
1714
|
+
lst.push({ k: f.label, v: text });
|
|
1715
|
+
continue;
|
|
1716
|
+
}
|
|
1717
|
+
if (f.issvcnv) {
|
|
1718
|
+
continue;
|
|
1719
|
+
}
|
|
1720
|
+
if (f.ismutation) {
|
|
1721
|
+
continue;
|
|
1722
|
+
}
|
|
1723
|
+
if (f.issampleattribute) {
|
|
1724
|
+
const item = f.items.find((i) => i.sample == sample.name);
|
|
1725
|
+
if (item) {
|
|
1726
|
+
lst.push({ k: f.label, v: item.value });
|
|
1727
|
+
}
|
|
1728
|
+
continue;
|
|
1729
|
+
}
|
|
1730
|
+
console.error("sample tooltip: Unknown feature type");
|
|
1731
|
+
}
|
|
1732
|
+
make_table_2col(this.tip.d, lst);
|
|
1733
|
+
this.tip.show(event.clientX, event.clientY);
|
|
1734
|
+
}
|
|
1735
|
+
showTip_cell(sample, f) {
|
|
1736
|
+
const lst = [{ k: "sample", v: sample.name }];
|
|
1737
|
+
if (f.isgenevalue) {
|
|
1738
|
+
const v = f.items.find((i) => i.sample == sample.name);
|
|
1739
|
+
lst.push({ k: f.label, v: v ? v.value : saynovalue });
|
|
1740
|
+
} else if (f.iscnv) {
|
|
1741
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1742
|
+
let text;
|
|
1743
|
+
if (items.length == 0) {
|
|
1744
|
+
text = saynovalue;
|
|
1745
|
+
} else {
|
|
1746
|
+
const lst2 = items.map((i) => {
|
|
1747
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + (i.value > 0 ? f.colorgain : f.colorloss) + ';color:white;padding:1px 5px">' + i.value + "</span></div>";
|
|
1748
|
+
});
|
|
1749
|
+
text = lst2.join("");
|
|
1750
|
+
}
|
|
1751
|
+
lst.push({ k: f.label, v: text });
|
|
1752
|
+
} else if (f.isloh) {
|
|
1753
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1754
|
+
let text;
|
|
1755
|
+
if (items.length == 0) {
|
|
1756
|
+
text = saynovalue;
|
|
1757
|
+
} else {
|
|
1758
|
+
const lst2 = items.map((i) => {
|
|
1759
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + f.color + ';color:white;padding:1px 5px">' + i.segmean + "</span></div>";
|
|
1760
|
+
});
|
|
1761
|
+
text = lst2.join("");
|
|
1762
|
+
}
|
|
1763
|
+
lst.push({ k: f.label, v: text });
|
|
1764
|
+
} else if (f.isvcf) {
|
|
1765
|
+
const mlst = getitemforsample_vcf(f, sample);
|
|
1766
|
+
let text;
|
|
1767
|
+
if (mlst.length == 0) {
|
|
1768
|
+
text = saynovalue;
|
|
1769
|
+
} else {
|
|
1770
|
+
text = mlst.map((m) => {
|
|
1771
|
+
return '<div><span style="color:' + mclass[m.class].color + '">' + m.mname + '</span> <span style="font-size:.7em;opacity:.5">' + mclass[m.class].label + "</span></div>";
|
|
1772
|
+
}).join("");
|
|
1773
|
+
}
|
|
1774
|
+
lst.push({ k: f.label, v: text });
|
|
1775
|
+
} else if (f.isitd) {
|
|
1776
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1777
|
+
let text;
|
|
1778
|
+
if (items.length == 0) {
|
|
1779
|
+
text = saynovalue;
|
|
1780
|
+
} else {
|
|
1781
|
+
const lst2 = items.map((i) => {
|
|
1782
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + " </div>";
|
|
1783
|
+
});
|
|
1784
|
+
text = lst2.join("");
|
|
1785
|
+
}
|
|
1786
|
+
lst.push({ k: f.label, v: text });
|
|
1787
|
+
} else if (f.issvfusion) {
|
|
1788
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1789
|
+
let text;
|
|
1790
|
+
if (items.length == 0) {
|
|
1791
|
+
text = saynovalue;
|
|
1792
|
+
} else {
|
|
1793
|
+
const lst2 = items.map((i) => {
|
|
1794
|
+
return "<div>" + i.chrA + ":" + i.posA + " - " + i.chrB + ":" + i.posB + " </div>";
|
|
1795
|
+
});
|
|
1796
|
+
text = lst2.join("");
|
|
1797
|
+
}
|
|
1798
|
+
lst.push({ k: f.label, v: text });
|
|
1799
|
+
} else if (f.issvcnv || f.ismutation) {
|
|
1800
|
+
const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(f, sample);
|
|
1801
|
+
if (cnv.length) {
|
|
1802
|
+
lst.push({
|
|
1803
|
+
k: (f.genename || f.label) + " CNV",
|
|
1804
|
+
v: cnv.map((i) => {
|
|
1805
|
+
return '<div><span style="background:' + (i.value > 0 ? f.cnv.colorgain : f.cnv.colorloss) + ';color:white;padding:0px 3px">' + i.value + '</span> <span style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + " " + bplen(i.stop - i.start) + "</span></div>";
|
|
1806
|
+
}).join("")
|
|
1807
|
+
});
|
|
1808
|
+
}
|
|
1809
|
+
if (loh.length) {
|
|
1810
|
+
lst.push({
|
|
1811
|
+
k: (f.genename || f.label) + " LOH",
|
|
1812
|
+
v: loh.map((i) => {
|
|
1813
|
+
return '<div><span style="background:' + f.loh.color + ';color:white;padding:0px 3px">' + i.segmean + '</span> <span style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + " " + bplen(i.stop - i.start) + "</span></div>";
|
|
1814
|
+
}).join("")
|
|
1815
|
+
});
|
|
1816
|
+
}
|
|
1817
|
+
if (itd.length) {
|
|
1818
|
+
lst.push({
|
|
1819
|
+
k: (f.genename || f.label) + " ITD",
|
|
1820
|
+
v: itd.map((i) => {
|
|
1821
|
+
return '<div style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + "</div>";
|
|
1822
|
+
}).join("")
|
|
1823
|
+
});
|
|
1824
|
+
}
|
|
1825
|
+
if (sv.length) {
|
|
1826
|
+
lst.push({
|
|
1827
|
+
k: (f.genename || f.label) + " SV",
|
|
1828
|
+
v: sv.map((i) => {
|
|
1829
|
+
return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " > " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
|
|
1830
|
+
}).join("")
|
|
1831
|
+
});
|
|
1832
|
+
}
|
|
1833
|
+
if (fusion.length) {
|
|
1834
|
+
lst.push({
|
|
1835
|
+
k: (f.genename || f.label) + " fusion",
|
|
1836
|
+
v: fusion.map((i) => {
|
|
1837
|
+
return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " > " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
|
|
1838
|
+
}).join("")
|
|
1839
|
+
});
|
|
1840
|
+
}
|
|
1841
|
+
if (snvindel.length) {
|
|
1842
|
+
lst.push({
|
|
1843
|
+
k: (f.genename || f.label) + " SNV/indel",
|
|
1844
|
+
v: snvindel.map((m) => {
|
|
1845
|
+
const c = mclass[m.m.class];
|
|
1846
|
+
return '<div><span style="color:' + c.color + '">' + (m.m.mname || "") + '</span> <span style="font-size:.7em;opacity:.5">' + c.label + "</span></div>";
|
|
1847
|
+
}).join("")
|
|
1848
|
+
});
|
|
1849
|
+
}
|
|
1850
|
+
} else if (f.issampleattribute) {
|
|
1851
|
+
const item = f.items.find((i) => i.sample == sample.name);
|
|
1852
|
+
if (item) {
|
|
1853
|
+
lst.push({
|
|
1854
|
+
k: f.label,
|
|
1855
|
+
v: item.value
|
|
1856
|
+
});
|
|
1857
|
+
}
|
|
1858
|
+
} else {
|
|
1859
|
+
console.error("cell tooltip: unknown feature type");
|
|
1860
|
+
}
|
|
1861
|
+
this.tip.clear();
|
|
1862
|
+
make_table_2col(this.tip.d, lst);
|
|
1863
|
+
this.tip.show(event.clientX, event.clientY);
|
|
1864
|
+
}
|
|
1865
|
+
/********** __menu ends **********/
|
|
1866
|
+
sortsamplesbyfeatures() {
|
|
1867
|
+
const sortbygenevalue = this.features.find((f) => f.isgenevalue && f.sort);
|
|
1868
|
+
if (sortbygenevalue && sortbygenevalue.items) {
|
|
1869
|
+
const sample2value = /* @__PURE__ */ new Map();
|
|
1870
|
+
for (const i of sortbygenevalue.items) {
|
|
1871
|
+
sample2value.set(i.sample, i.value);
|
|
1872
|
+
}
|
|
1873
|
+
this.samples.sort((i, j) => {
|
|
1874
|
+
const vi = sample2value.has(i.name) ? sample2value.get(i.name) : sortbygenevalue.missingvalue;
|
|
1875
|
+
const vj = sample2value.has(j.name) ? sample2value.get(j.name) : sortbygenevalue.missingvalue;
|
|
1876
|
+
return vj - vi;
|
|
1877
|
+
});
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
may_init_customvcf(tk) {
|
|
1881
|
+
if (tk.info) return;
|
|
1882
|
+
const arg = ["genome=" + this.genome.name];
|
|
1883
|
+
if (tk.file) {
|
|
1884
|
+
arg.push("file=" + tk.file);
|
|
1885
|
+
} else {
|
|
1886
|
+
arg.push("url=" + tk.url);
|
|
1887
|
+
if (tk.indexURL) arg.push("indexURL=" + tk.indexURL);
|
|
1888
|
+
}
|
|
1889
|
+
return dofetch2("vcfheader?" + arg.join("&")).then((data) => {
|
|
1890
|
+
const [info, format, samples, errs] = vcfparsemeta(data.metastr.split("\n"));
|
|
1891
|
+
if (errs) throw "Error parsing VCF meta lines: " + errs.join("; ");
|
|
1892
|
+
tk.info = info;
|
|
1893
|
+
tk.format = format;
|
|
1894
|
+
tk.samples = samples;
|
|
1895
|
+
tk.nochr = data.nochr;
|
|
1896
|
+
});
|
|
1897
|
+
}
|
|
1898
|
+
drawEmptycell(sample, feature, g) {
|
|
1899
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1900
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1901
|
+
if (height < 5) return;
|
|
1902
|
+
g.append("line").attr("x2", width).attr("y2", height).attr("stroke", "#ededed");
|
|
1903
|
+
}
|
|
1904
|
+
// end of class
|
|
1905
|
+
};
|
|
1906
|
+
function feature2arg(f) {
|
|
1907
|
+
if (f.isgenevalue) {
|
|
1908
|
+
return {
|
|
1909
|
+
id: f.id,
|
|
1910
|
+
isgenevalue: 1,
|
|
1911
|
+
querykey: f.querykey,
|
|
1912
|
+
genename: f.genename,
|
|
1913
|
+
chr: f.chr,
|
|
1914
|
+
start: f.start,
|
|
1915
|
+
stop: f.stop
|
|
1916
|
+
};
|
|
1917
|
+
}
|
|
1918
|
+
if (f.iscnv) {
|
|
1919
|
+
return {
|
|
1920
|
+
id: f.id,
|
|
1921
|
+
iscnv: 1,
|
|
1922
|
+
querykey: f.querykey,
|
|
1923
|
+
chr: f.chr,
|
|
1924
|
+
start: f.start,
|
|
1925
|
+
stop: f.stop,
|
|
1926
|
+
valuecutoff: f.valuecutoff,
|
|
1927
|
+
focalsizelimit: f.focalsizelimit
|
|
1928
|
+
};
|
|
1929
|
+
}
|
|
1930
|
+
if (f.isloh) {
|
|
1931
|
+
return {
|
|
1932
|
+
id: f.id,
|
|
1933
|
+
isloh: 1,
|
|
1934
|
+
querykey: f.querykey,
|
|
1935
|
+
chr: f.chr,
|
|
1936
|
+
start: f.start,
|
|
1937
|
+
stop: f.stop,
|
|
1938
|
+
valuecutoff: f.valuecutoff,
|
|
1939
|
+
focalsizelimit: f.focalsizelimit
|
|
1940
|
+
};
|
|
1941
|
+
}
|
|
1942
|
+
if (f.isvcf) {
|
|
1943
|
+
return {
|
|
1944
|
+
id: f.id,
|
|
1945
|
+
isvcf: 1,
|
|
1946
|
+
querykey: f.querykey,
|
|
1947
|
+
chr: f.chr,
|
|
1948
|
+
start: f.start,
|
|
1949
|
+
stop: f.stop,
|
|
1950
|
+
snvindel: {
|
|
1951
|
+
excludeclasses: f.snvindel.excludeclasses
|
|
1952
|
+
}
|
|
1953
|
+
};
|
|
1954
|
+
}
|
|
1955
|
+
if (f.isitd) {
|
|
1956
|
+
return {
|
|
1957
|
+
id: f.id,
|
|
1958
|
+
isitd: 1,
|
|
1959
|
+
querykey: f.querykey,
|
|
1960
|
+
chr: f.chr,
|
|
1961
|
+
start: f.start,
|
|
1962
|
+
stop: f.stop
|
|
1963
|
+
};
|
|
1964
|
+
}
|
|
1965
|
+
if (f.issvfusion) {
|
|
1966
|
+
return {
|
|
1967
|
+
id: f.id,
|
|
1968
|
+
issvfusion: 1,
|
|
1969
|
+
querykey: f.querykey,
|
|
1970
|
+
chr: f.chr,
|
|
1971
|
+
start: f.start,
|
|
1972
|
+
stop: f.stop
|
|
1973
|
+
};
|
|
1974
|
+
}
|
|
1975
|
+
if (f.issvcnv || f.ismutation) {
|
|
1976
|
+
const arg = {
|
|
1977
|
+
id: f.id,
|
|
1978
|
+
chr: f.chr,
|
|
1979
|
+
start: f.start,
|
|
1980
|
+
stop: f.stop,
|
|
1981
|
+
cnv: {
|
|
1982
|
+
hidden: f.cnv.hidden,
|
|
1983
|
+
valuecutoff: f.cnv.valuecutoff,
|
|
1984
|
+
focalsizelimit: f.cnv.focalsizelimit
|
|
1985
|
+
},
|
|
1986
|
+
loh: {
|
|
1987
|
+
hidden: f.loh.hidden,
|
|
1988
|
+
valuecutoff: f.loh.valuecutoff,
|
|
1989
|
+
focalsizelimit: f.loh.focalsizelimit
|
|
1990
|
+
},
|
|
1991
|
+
itd: {
|
|
1992
|
+
hidden: f.itd.hidden
|
|
1993
|
+
},
|
|
1994
|
+
sv: {
|
|
1995
|
+
hidden: f.sv.hidden
|
|
1996
|
+
},
|
|
1997
|
+
fusion: {
|
|
1998
|
+
hidden: f.fusion.hidden
|
|
1999
|
+
},
|
|
2000
|
+
snvindel: {
|
|
2001
|
+
excludeclasses: f.snvindel.excludeclasses
|
|
2002
|
+
}
|
|
2003
|
+
};
|
|
2004
|
+
if (f.issvcnv) {
|
|
2005
|
+
arg.issvcnv = 1;
|
|
2006
|
+
arg.querykey = f.querykey;
|
|
2007
|
+
} else {
|
|
2008
|
+
arg.ismutation = 1;
|
|
2009
|
+
arg.querykeylst = f.querykeylst;
|
|
2010
|
+
}
|
|
2011
|
+
return arg;
|
|
2012
|
+
}
|
|
2013
|
+
if (f.issampleattribute) {
|
|
2014
|
+
return {
|
|
2015
|
+
id: f.id,
|
|
2016
|
+
issampleattribute: 1,
|
|
2017
|
+
key: f.key
|
|
2018
|
+
};
|
|
2019
|
+
}
|
|
2020
|
+
throw "unknown feature type in making request parameter";
|
|
2021
|
+
}
|
|
2022
|
+
function getitemforsample_vcf(feature, sample) {
|
|
2023
|
+
const mlst = [];
|
|
2024
|
+
for (const m of feature.items) {
|
|
2025
|
+
if (m.dt == dtsnvindel) {
|
|
2026
|
+
if (m.sampledata.findIndex((i) => i.sampleobj.name == sample.name) != -1) {
|
|
2027
|
+
mlst.push(m);
|
|
2028
|
+
}
|
|
2029
|
+
} else {
|
|
2030
|
+
console.error("getitemforsample_vcf: unknown dt");
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
return mlst;
|
|
2034
|
+
}
|
|
2035
|
+
function getitemforsample_compound(feature, sample) {
|
|
2036
|
+
const cnv = [], loh = [], itd = [], sv = [], fusion = [], snvindel = [];
|
|
2037
|
+
for (const item of feature.items) {
|
|
2038
|
+
if (item.dt == dtsnvindel) {
|
|
2039
|
+
if (!item.sampledata) continue;
|
|
2040
|
+
const m_sample = item.sampledata.find((s) => s.sampleobj.name == sample.name);
|
|
2041
|
+
if (!m_sample) continue;
|
|
2042
|
+
snvindel.push({
|
|
2043
|
+
m: item,
|
|
2044
|
+
m_sample
|
|
2045
|
+
});
|
|
2046
|
+
continue;
|
|
2047
|
+
}
|
|
2048
|
+
if (item.sample != sample.name) continue;
|
|
2049
|
+
if (item.dt == dtcnv) {
|
|
2050
|
+
cnv.push(item);
|
|
2051
|
+
} else if (item.dt == dtloh) {
|
|
2052
|
+
loh.push(item);
|
|
2053
|
+
} else if (item.dt == dtitd) {
|
|
2054
|
+
itd.push(item);
|
|
2055
|
+
} else if (item.dt == dtsv) {
|
|
2056
|
+
sv.push(item);
|
|
2057
|
+
} else if (item.dt == dtfusionrna) {
|
|
2058
|
+
fusion.push(item);
|
|
2059
|
+
} else {
|
|
2060
|
+
console.error("unknown dt: " + item.dt);
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
return [cnv, loh, itd, sv, fusion, snvindel];
|
|
2064
|
+
}
|
|
2065
|
+
function initfeature_polymutation(f) {
|
|
2066
|
+
if (!f.width) f.width = 20;
|
|
2067
|
+
if (!f.cnv) f.cnv = {};
|
|
2068
|
+
if (!f.cnv.valuecutoff) f.cnv.valuecutoff = 0.2;
|
|
2069
|
+
if (!Number.isInteger(f.cnv.focalsizelimit)) f.cnv.focalsizelimit = 2e6;
|
|
2070
|
+
if (!f.cnv.colorgain) f.cnv.colorgain = default_cnvgaincolor;
|
|
2071
|
+
if (!f.cnv.colorloss) f.cnv.colorloss = default_cnvlosscolor;
|
|
2072
|
+
if (!f.loh) f.loh = {};
|
|
2073
|
+
if (!f.loh.valuecutoff) f.loh.valuecutoff = 0.1;
|
|
2074
|
+
if (!Number.isInteger(f.loh.focalsizelimit)) f.loh.focalsizelimit = 2e6;
|
|
2075
|
+
if (!f.loh.color) f.loh.color = default_lohcolor;
|
|
2076
|
+
if (!f.itd) f.itd = {};
|
|
2077
|
+
if (!f.itd.color) f.itd.color = mclass[mclassitd].color;
|
|
2078
|
+
if (!f.sv) f.sv = {};
|
|
2079
|
+
if (!f.sv.color) f.sv.color = default_svcolor;
|
|
2080
|
+
if (!f.fusion) f.fusion = {};
|
|
2081
|
+
if (!f.fusion.color) f.fusion.color = default_svcolor;
|
|
2082
|
+
if (!f.snvindel) f.snvindel = {};
|
|
2083
|
+
if (!f.snvindel.excludeclasses) f.snvindel.excludeclasses = {};
|
|
2084
|
+
}
|
|
2085
|
+
function init_controlui(o) {
|
|
2086
|
+
const buttonrow = o.holder.append("div").style("margin-bottom", "5px");
|
|
2087
|
+
const folderdiv = o.holder.append("div").style("margin-bottom", "20px");
|
|
2088
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("LEGEND").attr("class", "sja_clbtext").on("click", () => {
|
|
2089
|
+
if (o.legendtable.style("display") == "none") {
|
|
2090
|
+
appear(o.legendtable);
|
|
2091
|
+
} else {
|
|
2092
|
+
disappear(o.legendtable);
|
|
2093
|
+
}
|
|
2094
|
+
});
|
|
2095
|
+
o.legendtable = folderdiv.append("table").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("border-spacing", "10px").style("display", "none");
|
|
2096
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("CONFIG").attr("class", "sja_clbtext").on("click", () => {
|
|
2097
|
+
if (generalconfig.style("display") == "none") {
|
|
2098
|
+
appear(generalconfig);
|
|
2099
|
+
} else {
|
|
2100
|
+
disappear(generalconfig);
|
|
2101
|
+
}
|
|
2102
|
+
});
|
|
2103
|
+
const generalconfig = folderdiv.append("div").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("display", "none");
|
|
2104
|
+
const row = generalconfig.append("div").style("margin", "5px");
|
|
2105
|
+
row.append("div").style("vertical-align", "top").style("display", "inline-block").html("Show features as ");
|
|
2106
|
+
const opts_div = row.append("div").style("display", "inline-block");
|
|
2107
|
+
const mutation_opts = [
|
|
2108
|
+
{ value: "symbol", text: "CNV on genomic location, others as symbol" },
|
|
2109
|
+
{ value: "proportion", text: "All features as porportion" }
|
|
2110
|
+
];
|
|
2111
|
+
mutation_opts.forEach((opt) => {
|
|
2112
|
+
const opt_div = opts_div.append("div");
|
|
2113
|
+
opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "mutaion_display").attr("value", opt.value).property(
|
|
2114
|
+
"checked",
|
|
2115
|
+
opt.value == "symbol" && o.ismutation_allsymbolic === void 0 && o.ismutation_allnotsymbolic === void 0 ? 1 : opt.value == "symbol" && o.ismutation_allnotsymbolic ? 1 : opt.value == "proportion" && o.ismutation_allsymbolic ? 1 : 0
|
|
2116
|
+
).on("change", function() {
|
|
2117
|
+
if (opt.value == "symbol" && o.ismutation_allnotsymbolic) return;
|
|
2118
|
+
else if (opt.value == "proportion" && o.ismutation_allsymbolic) return;
|
|
2119
|
+
else if (opt.value == "symbol") {
|
|
2120
|
+
delete o.ismutation_allsymbolic;
|
|
2121
|
+
o.ismutation_allnotsymbolic = true;
|
|
2122
|
+
} else if (opt.value == "proportion") {
|
|
2123
|
+
o.ismutation_allsymbolic = true;
|
|
2124
|
+
delete o.ismutation_allnotsymbolic;
|
|
2125
|
+
} else {
|
|
2126
|
+
return;
|
|
2127
|
+
}
|
|
2128
|
+
o.draw_matrix();
|
|
2129
|
+
});
|
|
2130
|
+
opt_div.append("label").attr("for", opt.value).text(opt.text);
|
|
2131
|
+
});
|
|
2132
|
+
const row2 = generalconfig.append("div").style("margin", "5px");
|
|
2133
|
+
row2.append("div").style("vertical-align", "top").style("display", "inline-block").html("Layout of Matrix ");
|
|
2134
|
+
const opts_div2 = row2.append("div").style("display", "inline-block");
|
|
2135
|
+
const layout_opts = [
|
|
2136
|
+
{ value: "gene_on_row", text: "Genes as Rows" },
|
|
2137
|
+
{ value: "sam_on_row", text: "Samples as Rows" }
|
|
2138
|
+
];
|
|
2139
|
+
layout_opts.forEach((opt) => {
|
|
2140
|
+
const opt_div = opts_div2.append("div");
|
|
2141
|
+
opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "layout").attr("value", opt.value).property(
|
|
2142
|
+
"checked",
|
|
2143
|
+
opt.value == "gene_on_row" && o.features_on_rows ? 1 : opt.value == "sam_on_row" && !o.features_on_rows ? 1 : 0
|
|
2144
|
+
).on("change", function() {
|
|
2145
|
+
if (opt.value == "gene_on_row" && o.features_on_rows) return;
|
|
2146
|
+
else if (opt.value == "sam_on_row" && !o.features_on_rows) return;
|
|
2147
|
+
else if (opt.value == "gene_on_row") {
|
|
2148
|
+
o.features_on_rows = true;
|
|
2149
|
+
if (o.ori_feature_width) o.features.forEach((f) => f.height = o.ori_feature_width);
|
|
2150
|
+
} else {
|
|
2151
|
+
o.features_on_rows = false;
|
|
2152
|
+
if (o.ori_feature_height) o.features.forEach((f) => f.width = o.ori_feature_height);
|
|
2153
|
+
}
|
|
2154
|
+
o.draw_matrix();
|
|
2155
|
+
});
|
|
2156
|
+
opt_div.append("label").attr("for", opt.value).text(opt.text);
|
|
2157
|
+
});
|
|
2158
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("DATA").attr("class", "sja_clbtext").on("click", () => {
|
|
2159
|
+
printData(o);
|
|
2160
|
+
});
|
|
2161
|
+
may_add_kmplotbutton(o, buttonrow);
|
|
2162
|
+
}
|
|
2163
|
+
function printData(o) {
|
|
2164
|
+
const lst = ["sample feature varianttype variant"];
|
|
2165
|
+
for (const s of o.samples) {
|
|
2166
|
+
for (const f of o.features) {
|
|
2167
|
+
for (const i of f.items) {
|
|
2168
|
+
if (i.sample && i.sample == s.name || i.sampledata && i.sampledata.findIndex((i2) => i2.sampleobj.name == s.name) != -1) {
|
|
2169
|
+
lst.push(s.name + " " + f.label + " " + dt2label[i.dt] + " " + item2string(i));
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
export_data("Matrix data", [{ text: lst.join("\n") }]);
|
|
2175
|
+
}
|
|
2176
|
+
function item2string(i) {
|
|
2177
|
+
if (i.dt == dtsnvindel)
|
|
2178
|
+
return i.mname + " " + mclass[i.class].label + " " + i.chr + "." + i.pos + "." + i.ref + "." + i.alt;
|
|
2179
|
+
if (i.dt == dtfusionrna || i.dt == dtsv)
|
|
2180
|
+
return i.chrA + "." + i.posA + "." + (i.strandA || "") + " > " + i.chrB + "." + i.posB + "." + (i.strandB || "");
|
|
2181
|
+
if (i.dt == dtcnv) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.value;
|
|
2182
|
+
if (i.dt == dtloh) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.segmean;
|
|
2183
|
+
if (i.dt == dtitd) return i.chr + ":" + i.start + "-" + i.stop;
|
|
2184
|
+
return "";
|
|
2185
|
+
}
|
|
2186
|
+
export {
|
|
2187
|
+
Samplematrix
|
|
2188
|
+
};
|
|
2189
|
+
//# sourceMappingURL=samplematrix-L2HOSLUT.js.map
|