@sjcrh/proteinpaint-client 2.147.0 → 2.147.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-OQWBGVA5.js +1366 -0
- package/dist/AIProjectAdmin-3XLB3RBL.js +624 -0
- package/dist/AppHeader-VBNUXO7V.js +815 -0
- package/dist/BoxPlot-O7UI5OBK.js +41 -0
- package/dist/CorrelationVolcano-HJL3IGIM.js +618 -0
- package/dist/DifferentialAnalysis-7ER22PXQ.js +224 -0
- package/dist/Disco-C56JNC4Y.js +2754 -0
- package/dist/Disco.UI-EFXQESKI.js +237 -0
- package/dist/HicApp-BRV3KL53.js +2220 -0
- package/dist/SC-43I4D5VK.js +559 -0
- package/dist/Volcano-N73WNULV.js +45 -0
- package/dist/WSIViewer-D3ES5DI4.js +46641 -0
- package/dist/WSIViewer-D3ES5DI4.js.map +7 -0
- package/dist/WsiSamplesPlot-7KNSVQDD.js +154 -0
- package/dist/adSandbox-EOVC26A6.js +31 -0
- package/dist/app-4G6ZBN4X.js +30 -0
- package/dist/app-Y3YS3BID.js +52 -0
- package/dist/app.js +14 -14
- package/dist/bam-IUUQXY5Y.js +836 -0
- package/dist/barchart-MOYKOKQS.js +46 -0
- package/dist/barchart.data-IEL6KSLJ.js +32 -0
- package/dist/barchart.events-Z7QOLPWN.js +40 -0
- package/dist/barchart.integration.spec-G7PFFUGF.js +1555 -0
- package/dist/block-NBO4UBI7.js +6293 -0
- package/dist/block.init-NNS4ANQE.js +31 -0
- package/dist/block.mds.expressionrank-ODTPNOK3.js +352 -0
- package/dist/block.mds.geneboxplot-KC56DQOZ.js +821 -0
- package/dist/block.mds.junction-TEHKBK4R.js +1538 -0
- package/dist/block.mds.svcnv-55DPUJXC.js +6794 -0
- package/dist/block.svg-P7TX5JH4.js +152 -0
- package/dist/block.svg-P7TX5JH4.js.map +7 -0
- package/dist/block.tk.aicheck-3HNUORLT.js +276 -0
- package/dist/block.tk.ase-NMH4T6CZ.js +358 -0
- package/dist/block.tk.bam-N77FZEJ4.js +1899 -0
- package/dist/block.tk.bedgraphdot-7HMT5SHP.js +377 -0
- package/dist/block.tk.bigwig.ui-7ZKDHYHC.js +204 -0
- package/dist/block.tk.hicstraw-L2H4ZDQA.js +816 -0
- package/dist/block.tk.junction-WZANWQ2E.js +2357 -0
- package/dist/block.tk.junction.textmatrixui-VAZV3DYJ.js +192 -0
- package/dist/block.tk.ld-KUTCZV5R.js +92 -0
- package/dist/block.tk.menu-ZNU33CCX.js +1022 -0
- package/dist/block.tk.pgv-XFSLEWUO.js +937 -0
- package/dist/brainImaging-KCJ4SP5R.js +419 -0
- package/dist/chat-OL7SDF4V.js +121 -0
- package/dist/chunk-24OPGQ4S.js +604 -0
- package/dist/chunk-24OPGQ4S.js.map +7 -0
- package/dist/chunk-2CLJHVGK.js +1074 -0
- package/dist/chunk-2GRNFI7P.js +619 -0
- package/dist/chunk-34NFZDPP.js +2734 -0
- package/dist/chunk-34NFZDPP.js.map +7 -0
- package/dist/chunk-3PSPKZR3.js +95 -0
- package/dist/chunk-3XNTEIPM.js +442 -0
- package/dist/chunk-4JTNXI3N.js +101 -0
- package/dist/chunk-4JXJ4UBP.js +1643 -0
- package/dist/chunk-4OWX23N4.js +14 -0
- package/dist/chunk-4QXJ36HV.js +1275 -0
- package/dist/chunk-4YNEZISK.js +193 -0
- package/dist/chunk-5GYHGTRN.js +14766 -0
- package/dist/chunk-5GYHGTRN.js.map +7 -0
- package/dist/chunk-5PVSNNZS.js +459 -0
- package/dist/chunk-5PVSNNZS.js.map +7 -0
- package/dist/chunk-5U3ZO5HT.js +413 -0
- package/dist/chunk-5VJ6L4HP.js +297 -0
- package/dist/chunk-6Q2KPDH6.js +744 -0
- package/dist/chunk-6Q2KPDH6.js.map +7 -0
- package/dist/chunk-6ZYRSN4R.js +482 -0
- package/dist/chunk-6ZYRSN4R.js.map +7 -0
- package/dist/chunk-73DVVHY7.js +133 -0
- package/dist/chunk-77JHAESF.js +385 -0
- package/dist/chunk-77JHAESF.js.map +7 -0
- package/dist/chunk-7FDVPL6E.js +381 -0
- package/dist/chunk-7FOCC2HQ.js +31 -0
- package/dist/chunk-AHBQHHH5.js +494 -0
- package/dist/chunk-AHBQHHH5.js.map +7 -0
- package/dist/chunk-BW2RLSXS.js +272 -0
- package/dist/chunk-BX6ANKGQ.js +163 -0
- package/dist/chunk-BX6ANKGQ.js.map +7 -0
- package/dist/chunk-CFQQBWWZ.js +360 -0
- package/dist/chunk-CRH6WHU2.js +287 -0
- package/dist/chunk-CWQMRBZQ.js +396 -0
- package/dist/chunk-D4DDFKHV.js +99 -0
- package/dist/chunk-DNQYUNC2.js +2327 -0
- package/dist/chunk-DUEH7N7W.js +91 -0
- package/dist/chunk-E3PED6HJ.js +2780 -0
- package/dist/chunk-EG5PC7UE.js +330 -0
- package/dist/chunk-EG5PC7UE.js.map +7 -0
- package/dist/chunk-ELWZBAT6.js +1192 -0
- package/dist/chunk-EUFBKP6Q.js +277 -0
- package/dist/chunk-FK3ZW7TT.js +5127 -0
- package/dist/chunk-GKEB4U23.js +484 -0
- package/dist/chunk-GKVUVJ3F.js +226 -0
- package/dist/chunk-GKVUVJ3F.js.map +7 -0
- package/dist/chunk-GPOTMJT5.js +4902 -0
- package/dist/chunk-GPOTMJT5.js.map +7 -0
- package/dist/chunk-HU274F27.js +2784 -0
- package/dist/chunk-IABYVAMO.js +156 -0
- package/dist/chunk-IJAPJGMG.js +154 -0
- package/dist/chunk-JHEPBM7J.js +257 -0
- package/dist/chunk-JJ5EP2O5.js +121 -0
- package/dist/chunk-JJ5EP2O5.js.map +7 -0
- package/dist/chunk-K6HYNIAS.js +379 -0
- package/dist/chunk-K7XKVWL2.js +276 -0
- package/dist/chunk-KO445K7J.js +102 -0
- package/dist/chunk-LZEQJFZ3.js +165 -0
- package/dist/chunk-MBJJJSJ3.js +409 -0
- package/dist/chunk-MBJJJSJ3.js.map +7 -0
- package/dist/chunk-MEFCSGAC.js +193 -0
- package/dist/chunk-MZ6DIHEL.js +6364 -0
- package/dist/chunk-NNDNVBTX.js +524 -0
- package/dist/chunk-OGTHZVXJ.js +40 -0
- package/dist/chunk-OMO754MK.js +177 -0
- package/dist/chunk-OMO754MK.js.map +7 -0
- package/dist/chunk-PAV653SV.js +1533 -0
- package/dist/chunk-PAV653SV.js.map +7 -0
- package/dist/chunk-PEYHMXE7.js +142 -0
- package/dist/chunk-PGNZXLHB.js +468 -0
- package/dist/chunk-QTXO5QDM.js +235 -0
- package/dist/chunk-RCKWHFK3.js +1066 -0
- package/dist/chunk-RCKWHFK3.js.map +7 -0
- package/dist/chunk-RN3SV24S.js +228 -0
- package/dist/chunk-RN3SV24S.js.map +7 -0
- package/dist/chunk-RTNOHDL7.js +1057 -0
- package/dist/chunk-RTNOHDL7.js.map +7 -0
- package/dist/chunk-SQTISBFA.js +158 -0
- package/dist/chunk-T35HA4XC.js +1416 -0
- package/dist/chunk-T35HA4XC.js.map +7 -0
- package/dist/chunk-T5BDYCFO.js +463 -0
- package/dist/chunk-T5BDYCFO.js.map +7 -0
- package/dist/chunk-TGG5VKA3.js +292 -0
- package/dist/chunk-TZ3VF4XU.js +601 -0
- package/dist/chunk-VWLR7HMW.js +284 -0
- package/dist/chunk-VWLR7HMW.js.map +7 -0
- package/dist/chunk-WLY655R4.js +203 -0
- package/dist/chunk-WNRQIRLT.js +772 -0
- package/dist/chunk-WNRQIRLT.js.map +7 -0
- package/dist/chunk-XC34XLSB.js +101 -0
- package/dist/chunk-XGZBQXNE.js +129 -0
- package/dist/chunk-XT4XFXJW.js +518 -0
- package/dist/chunk-YLARJFPF.js +55 -0
- package/dist/chunk-ZNQCWD2Y.js +217 -0
- package/dist/chunk-ZQ7Q534G.js +483 -0
- package/dist/chunk-ZQ7Q534G.js.map +7 -0
- package/dist/chunk-ZS4OL6CW.js +252 -0
- package/dist/chunk-ZS5TMWV6.js +1657 -0
- package/dist/chunk-ZS5TMWV6.js.map +7 -0
- package/dist/condition-4AV7GQQZ.js +325 -0
- package/dist/controls-6H3GGIOF.js +37 -0
- package/dist/controls.config-I6TQRYM7.js +33 -0
- package/dist/correlation-J3UYQ3LT.js +100 -0
- package/dist/cuminc-W4RQVEMD.js +1132 -0
- package/dist/cuminc.integration.spec-M3EOPC5D.js +671 -0
- package/dist/customdata.inputui-TFM5JYFF.js +280 -0
- package/dist/dataDownload-R4FGOJWP.js +322 -0
- package/dist/dataDownload.integration.spec-OLTFN27L.js +186 -0
- package/dist/databrowser.ui-BRZS7R5S.js +424 -0
- package/dist/density-2WOYR4NB.js +18 -0
- package/dist/dictionary-7SGIE5UL.js +92 -0
- package/dist/e2pca-VSEXUGQO.js +343 -0
- package/dist/ep-SRNHBEU5.js +1249 -0
- package/dist/expclust.gdc.spec-KMYKHAP3.js +300 -0
- package/dist/facet-X26JAGPP.js +406 -0
- package/dist/frequencyChart-YTNTX2DN.js +375 -0
- package/dist/frequencyChart.integration.spec-2FZSB5MJ.js +303 -0
- package/dist/geneExpClustering-L5G3B4AL.js +241 -0
- package/dist/geneExpression-4LOOH6RS.js +311 -0
- package/dist/geneExpression-GDJE5F7I.js +56 -0
- package/dist/geneExpression-HRHBSIKP.js +36 -0
- package/dist/geneORA-UWQ3P7AU.js +274 -0
- package/dist/geneVariant-AWKVUBAO.js +31 -0
- package/dist/geneVariant-RYJKK6TN.js +34 -0
- package/dist/genefusion.ui-YZRBUQ56.js +244 -0
- package/dist/geneset-B5VDMDP7.js +188 -0
- package/dist/genomeBrowser-6C6M5QRC.js +503 -0
- package/dist/genomeBrowser.controls-ZL6Z3A4B.js +33 -0
- package/dist/genomeBrowser.spec-TWIJACVS.js +272 -0
- package/dist/grin2-7GW3S27T.js +1455 -0
- package/dist/grin2-FB32LBKB.js +475 -0
- package/dist/gsea-7H4EP5QX.js +44 -0
- package/dist/hierCluster-UXKBZMLO.js +54 -0
- package/dist/hierCluster-Y2FK2S5L.js +58 -0
- package/dist/hierCluster.config-7UEK5MJ5.js +33 -0
- package/dist/hierCluster.integration.spec-Z2NO3ZSN.js +301 -0
- package/dist/hierCluster.interactivity-RGI5XRPG.js +47 -0
- package/dist/hierCluster.renderers-6PLCOGYI.js +21 -0
- package/dist/imagePlot-O26LDEII.js +136 -0
- package/dist/importPlot-6IQTE6O4.js +8 -0
- package/dist/launch.adhoc-YVYBB7WH.js +35 -0
- package/dist/leftlabel.sample-EPBZIM3G.js +250 -0
- package/dist/leftlabel.sample-EPBZIM3G.js.map +7 -0
- package/dist/lollipop-ZQ6RMLIJ.js +161 -0
- package/dist/maf-AHK4ISWK.js +450 -0
- package/dist/maftimeline-7MCKV3OC.js +586 -0
- package/dist/matrix-GYY4XOB2.js +58 -0
- package/dist/matrix-WJQWC6E6.js +53 -0
- package/dist/matrix.cells-ARW32HYP.js +28 -0
- package/dist/matrix.config-XKV3MYB3.js +34 -0
- package/dist/matrix.controls-HISIPNHJ.js +33 -0
- package/dist/matrix.data-USALDVQY.js +37 -0
- package/dist/matrix.groups-2ZNRR56O.js +26 -0
- package/dist/matrix.integration.spec-U5SFKDLE.js +2938 -0
- package/dist/matrix.interactivity-PLS5VRBD.js +35 -0
- package/dist/matrix.layout-CIWDTBWE.js +37 -0
- package/dist/matrix.legend-GEBKE674.js +22 -0
- package/dist/matrix.renderers-DDZYFY3A.js +31 -0
- package/dist/matrix.serieses-43Y763CP.js +21 -0
- package/dist/matrix.sort-Y4NQ3QL2.js +27 -0
- package/dist/matrix.sort.unit.spec-VU3JMF2L.js +465 -0
- package/dist/matrix.sorterUi-47XHMDWW.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-INLX4DJK.js +336 -0
- package/dist/mavb-3SX5TR23.js +725 -0
- package/dist/mds.fimo-4OR2MHMZ.js +511 -0
- package/dist/mds.samplescatterplot-UJCG4S2Z.js +1543 -0
- package/dist/mds.survivalplot-NSQY4YES.js +476 -0
- package/dist/metaboliteIntensity-IPW5TNAV.js +36 -0
- package/dist/multivalue-RUE6W47E.js +9 -0
- package/dist/multivalue-RUE6W47E.js.map +7 -0
- package/dist/notify-CJGEVJGO.js +234 -0
- package/dist/notify-CJGEVJGO.js.map +7 -0
- package/dist/numeric-C3HYUOIA.js +36 -0
- package/dist/numeric.binary-EVKZWJQK.js +239 -0
- package/dist/numeric.binary-EVKZWJQK.js.map +7 -0
- package/dist/numeric.continuous-XCLOOVY5.js +127 -0
- package/dist/numeric.continuous-XCLOOVY5.js.map +7 -0
- package/dist/numeric.discrete-FRK55BUD.js +36 -0
- package/dist/numeric.spline-37UQB5OD.js +216 -0
- package/dist/numeric.spline-37UQB5OD.js.map +7 -0
- package/dist/numeric.toggle-X6LBTFQC.js +31 -0
- package/dist/numericDictTermCluster-DIFR4QFK.js +72 -0
- package/dist/oncomatrix-IUTOCPLH.js +284 -0
- package/dist/oncomatrix.spec-SCVNY2XK.js +441 -0
- package/dist/plot.2dvaf-4CWLYMRY.js +370 -0
- package/dist/plot.app-JORKG3V6.js +34 -0
- package/dist/plot.barplot-E2QSRJ2S.js +95 -0
- package/dist/plot.boxplot-SQGBCP4I.js +145 -0
- package/dist/plot.brainImaging-7H4FGSBW.js +51 -0
- package/dist/plot.disco-OEO2GPW4.js +98 -0
- package/dist/plot.dzi-M47RO2F4.js +33 -0
- package/dist/plot.ssgq-CKEPLRLG.js +132 -0
- package/dist/plot.vaf2cov-4S5KYZSF.js +252 -0
- package/dist/plot.wsi-KJTM6ZXN.js +35 -0
- package/dist/profile.spec-LRSANXLK.js +73 -0
- package/dist/profileBarchart-6ZSSPONK.js +259 -0
- package/dist/profileBarchart-6ZSSPONK.js.map +7 -0
- package/dist/profileForms-NYXURMEU.js +344 -0
- package/dist/profileForms-NYXURMEU.js.map +7 -0
- package/dist/profilePlot-NH7ZAXE2.js +50 -0
- package/dist/profilePolar-GDJ33UNZ.js +187 -0
- package/dist/profilePolar-GDJ33UNZ.js.map +7 -0
- package/dist/profileRadar-XNVMW6LY.js +264 -0
- package/dist/profileRadar-XNVMW6LY.js.map +7 -0
- package/dist/profileRadarFacility-CHS63YKS.js +263 -0
- package/dist/profileRadarFacility-CHS63YKS.js.map +7 -0
- package/dist/qualitative-2XUNRJGW.js +36 -0
- package/dist/qualitative-6EUV3YOC.js +221 -0
- package/dist/qualitative-6EUV3YOC.js.map +7 -0
- package/dist/regression-SO5LO3AA.js +55 -0
- package/dist/regression.inputs-S7YFVKU5.js +47 -0
- package/dist/regression.inputs.term-7RTOJCBV.js +47 -0
- package/dist/regression.inputs.values.table-5K6VJ43R.js +44 -0
- package/dist/regression.integration.spec-URYEIJBQ.js +608 -0
- package/dist/regression.results-TZ7MKK6W.js +33 -0
- package/dist/regression.spec-Y3YRMMNF.js +701 -0
- package/dist/report-L2FU44BT.js +230 -0
- package/dist/runChart-XV6WKBOY.js +53 -0
- package/dist/runchart.integration.spec-GEOMKOXQ.js +364 -0
- package/dist/sampleScatter.spec-ITZLTKUM.js +195 -0
- package/dist/sampleView-ROG7PMHR.js +44 -0
- package/dist/samplelst-2IL63737.js +104 -0
- package/dist/samplematrix-6VRFIIVU.js +2191 -0
- package/dist/scatter-MA3UZ6C6.js +53 -0
- package/dist/scatter.integration.spec-RFYQS5DE.js +930 -0
- package/dist/selectGenomeWithTklst-FIFYXXAQ.js +127 -0
- package/dist/singleCellGeneExpression-SBAJ6XML.js +48 -0
- package/dist/singleCellPlot-TRRGNH37.js +48 -0
- package/dist/singlecell-55ELYBDU.js +1565 -0
- package/dist/singlecell-JCKJGEBH.js +79 -0
- package/dist/snp-LWS3OP2M.js +75 -0
- package/dist/snplocus-OTMVPVWC.js +201 -0
- package/dist/snplst-LQRIYCRZ.js +15 -0
- package/dist/spliceevent.a53ss.diagram-E3MTCYLV.js +144 -0
- package/dist/spliceevent.exonskip.diagram-YJNJYQS6.js +270 -0
- package/dist/spliceevent.noeventdiagram-L326T54B.js +453 -0
- package/dist/ssGSEA-55UO2PTA.js +36 -0
- package/dist/ssGSEA-GFLSCV25.js +55 -0
- package/dist/summarizeCnvGeneexp-RNYFHQFL.js +138 -0
- package/dist/summarizeGeneexpSurvival-PW6NFLNT.js +92 -0
- package/dist/summarizeMutationDiagnosis-6W4KBCA2.js +34 -0
- package/dist/summarizeMutationSurvival-SFCYKQIL.js +94 -0
- package/dist/summary-VB7SQ2BR.js +53 -0
- package/dist/summary.integration.spec-5ILI25QN.js +407 -0
- package/dist/summaryInput-OPZ7DUPO.js +134 -0
- package/dist/sunburst-Y6JFC4BA.js +277 -0
- package/dist/survival-OWQWT6A2.js +55 -0
- package/dist/survival-QXHT55YY.js +1172 -0
- package/dist/survival-QXHT55YY.js.map +7 -0
- package/dist/survival.integration.spec-AFFOS6BO.js +603 -0
- package/dist/svgraph-FLZA26LI.js +1380 -0
- package/dist/svmr-JEVWYD2R.js +3835 -0
- package/dist/table-ZTC4W5MG.js +195 -0
- package/dist/tk-JM7ED4NO.js +39 -0
- package/dist/tp.ui-AUFNIKW7.js +1452 -0
- package/dist/tvs.density-AYZ4U5VI.js +18 -0
- package/dist/tvs.numeric-2O5ZQFHB.js +355 -0
- package/dist/tvs.numeric-2O5ZQFHB.js.map +7 -0
- package/dist/tvs.samplelst-CTJ6JLNQ.js +99 -0
- package/dist/violin-UQYX7KKM.js +45 -0
- package/dist/violin.integration.spec-3T5GCCJY.js +1509 -0
- package/dist/violin.integration.spec-3T5GCCJY.js.map +7 -0
- package/dist/violin.interactivity-KHP24DHY.js +37 -0
- package/dist/violin.renderer-SWOKCTU3.js +33 -0
- package/dist/vocabulary-T2AVFI7D.js +34 -0
- package/package.json +4 -4
- package/dist/2dmaf-A66AAYCI.js +0 -1366
- package/dist/AIProjectAdmin-2U4YNVKM.js +0 -624
- package/dist/AppHeader-33IE7IPV.js +0 -815
- package/dist/BoxPlot-VNVTMA6A.js +0 -41
- package/dist/CorrelationVolcano-67MDMR2A.js +0 -618
- package/dist/DifferentialAnalysis-AS3URE4Z.js +0 -224
- package/dist/Disco-5TOKUL63.js +0 -2754
- package/dist/Disco.UI-NW6T34WF.js +0 -237
- package/dist/HandlerGroupSet-DBSS5AC7.js +0 -220
- package/dist/HandlerGroupSet-DBSS5AC7.js.map +0 -7
- package/dist/HicApp-XTPF6EIZ.js +0 -2220
- package/dist/SC-CE4EENMB.js +0 -559
- package/dist/Volcano-3TF7WIRU.js +0 -45
- package/dist/WSISamplesPlot-A2U2VHQK.js +0 -153
- package/dist/WSIViewer-LSKKKXN7.js +0 -46585
- package/dist/WSIViewer-LSKKKXN7.js.map +0 -7
- package/dist/adSandbox-A36PAXXF.js +0 -31
- package/dist/app-25RMFIPS.js +0 -30
- package/dist/app-3ZRYAYRB.js +0 -52
- package/dist/bam-SOPRT6LE.js +0 -836
- package/dist/barchart-IDOREOQL.js +0 -46
- package/dist/barchart.data-RMFWNJXK.js +0 -32
- package/dist/barchart.events-H7NLVSJT.js +0 -40
- package/dist/barchart.integration.spec-EYTRUUIO.js +0 -1555
- package/dist/block-KPI3VJPN.js +0 -6293
- package/dist/block.init-77BL3B4V.js +0 -31
- package/dist/block.mds.expressionrank-S2GQVF3X.js +0 -352
- package/dist/block.mds.geneboxplot-JQTU4LMQ.js +0 -821
- package/dist/block.mds.junction-YDNRJPK5.js +0 -1538
- package/dist/block.mds.svcnv-LMJVL2YO.js +0 -6794
- package/dist/block.svg-FWGJ46C3.js +0 -151
- package/dist/block.svg-FWGJ46C3.js.map +0 -7
- package/dist/block.tk.aicheck-MJ5ARVXM.js +0 -276
- package/dist/block.tk.ase-4N62CZHL.js +0 -358
- package/dist/block.tk.bam-FMSMECZN.js +0 -1899
- package/dist/block.tk.bedgraphdot-JIWOMGRS.js +0 -377
- package/dist/block.tk.bigwig.ui-DJ732IV2.js +0 -204
- package/dist/block.tk.hicstraw-OBXWBUIG.js +0 -816
- package/dist/block.tk.junction-OWPRA4XY.js +0 -2357
- package/dist/block.tk.junction.textmatrixui-QKU2PWVU.js +0 -192
- package/dist/block.tk.ld-MZC62CZT.js +0 -92
- package/dist/block.tk.menu-YVLVGSN3.js +0 -1022
- package/dist/block.tk.pgv-2TPFDPCI.js +0 -937
- package/dist/brainImaging-5EKWOCY7.js +0 -419
- package/dist/categorical-2MFYKDWT.js +0 -34
- package/dist/chat-CHI7DQST.js +0 -121
- package/dist/chunk-2A6P3JE7.js +0 -158
- package/dist/chunk-326DK3CC.js +0 -121
- package/dist/chunk-326DK3CC.js.map +0 -7
- package/dist/chunk-3YUG5RPK.js +0 -101
- package/dist/chunk-3YUG5RPK.js.map +0 -7
- package/dist/chunk-4CS5OCT5.js +0 -387
- package/dist/chunk-4CS5OCT5.js.map +0 -7
- package/dist/chunk-4LEZEUPT.js +0 -5127
- package/dist/chunk-6KEB65SH.js +0 -484
- package/dist/chunk-6QNYTWY6.js +0 -4922
- package/dist/chunk-6QNYTWY6.js.map +0 -7
- package/dist/chunk-7GD4FYQA.js +0 -772
- package/dist/chunk-7GD4FYQA.js.map +0 -7
- package/dist/chunk-A2JX7P73.js +0 -287
- package/dist/chunk-A6UVM6Q5.js +0 -276
- package/dist/chunk-ATTHI76O.js +0 -468
- package/dist/chunk-B3JQPOYL.js +0 -292
- package/dist/chunk-BARWXJG6.js +0 -1074
- package/dist/chunk-BCUO2KE7.js +0 -485
- package/dist/chunk-BCUO2KE7.js.map +0 -7
- package/dist/chunk-BL52MOFL.js +0 -379
- package/dist/chunk-BQZPB3G5.js +0 -257
- package/dist/chunk-BRBMNWOW.js +0 -2780
- package/dist/chunk-BU3NYOPN.js +0 -1192
- package/dist/chunk-CB2GMPWF.js +0 -95
- package/dist/chunk-CHOK2K4T.js +0 -252
- package/dist/chunk-D46MBXKS.js +0 -619
- package/dist/chunk-D6SS6PGA.js +0 -621
- package/dist/chunk-D6SS6PGA.js.map +0 -7
- package/dist/chunk-DAAGB4FF.js +0 -101
- package/dist/chunk-DCPES4UL.js +0 -297
- package/dist/chunk-DFTUIQOR.js +0 -413
- package/dist/chunk-DGYMIZEA.js +0 -272
- package/dist/chunk-DMAAO3DU.js +0 -387
- package/dist/chunk-DMAAO3DU.js.map +0 -7
- package/dist/chunk-DN54XU4D.js +0 -1066
- package/dist/chunk-DN54XU4D.js.map +0 -7
- package/dist/chunk-DRD7Q7HJ.js +0 -102
- package/dist/chunk-DYXTBZRW.js +0 -1275
- package/dist/chunk-E3KBISUN.js +0 -360
- package/dist/chunk-EENIMZVS.js +0 -2784
- package/dist/chunk-F3TVBLHB.js +0 -99
- package/dist/chunk-GDVG55UR.js +0 -1643
- package/dist/chunk-GFGKCOEX.js +0 -31
- package/dist/chunk-GXLY3UWN.js +0 -2729
- package/dist/chunk-GXLY3UWN.js.map +0 -7
- package/dist/chunk-HU7JAYZO.js +0 -203
- package/dist/chunk-HV2LKDSF.js +0 -154
- package/dist/chunk-I73DNIZ3.js +0 -463
- package/dist/chunk-I73DNIZ3.js.map +0 -7
- package/dist/chunk-JAJHYYHD.js +0 -287
- package/dist/chunk-JAJHYYHD.js.map +0 -7
- package/dist/chunk-JVERO5QC.js +0 -2327
- package/dist/chunk-K3GJ5DDY.js +0 -40
- package/dist/chunk-KD77LETT.js +0 -483
- package/dist/chunk-KD77LETT.js.map +0 -7
- package/dist/chunk-KHZXSOQC.js +0 -101
- package/dist/chunk-KYV4VIOG.js +0 -159
- package/dist/chunk-KYV4VIOG.js.map +0 -7
- package/dist/chunk-L7N5BOMJ.js +0 -193
- package/dist/chunk-LZPT2CW3.js +0 -1056
- package/dist/chunk-LZPT2CW3.js.map +0 -7
- package/dist/chunk-MLHQR3OD.js +0 -737
- package/dist/chunk-MLHQR3OD.js.map +0 -7
- package/dist/chunk-MXMPAXMS.js +0 -1521
- package/dist/chunk-MXMPAXMS.js.map +0 -7
- package/dist/chunk-NCGFSOTH.js +0 -518
- package/dist/chunk-O2DCINOL.js +0 -411
- package/dist/chunk-O2DCINOL.js.map +0 -7
- package/dist/chunk-O3L3J753.js +0 -133
- package/dist/chunk-O5H6DQIL.js +0 -217
- package/dist/chunk-O5YMPTKZ.js +0 -142
- package/dist/chunk-OFOEI2E7.js +0 -1658
- package/dist/chunk-OFOEI2E7.js.map +0 -7
- package/dist/chunk-OL6KWERA.js +0 -55
- package/dist/chunk-OPZUIS3Y.js +0 -162
- package/dist/chunk-OPZUIS3Y.js.map +0 -7
- package/dist/chunk-OQW3QBXO.js +0 -442
- package/dist/chunk-OV5BP2F2.js +0 -14
- package/dist/chunk-P34VMLNQ.js +0 -226
- package/dist/chunk-P34VMLNQ.js.map +0 -7
- package/dist/chunk-P7AEW6AK.js +0 -193
- package/dist/chunk-QPJB4M7Y.js +0 -330
- package/dist/chunk-QPJB4M7Y.js.map +0 -7
- package/dist/chunk-QTAXM2J6.js +0 -277
- package/dist/chunk-QZBJDD2H.js +0 -524
- package/dist/chunk-RKPU2VUA.js +0 -601
- package/dist/chunk-THVVBAPD.js +0 -396
- package/dist/chunk-TPRGUU57.js +0 -156
- package/dist/chunk-TQSOYBP2.js +0 -1429
- package/dist/chunk-TQSOYBP2.js.map +0 -7
- package/dist/chunk-U3DYPWZY.js +0 -235
- package/dist/chunk-U5MB4G3B.js +0 -437
- package/dist/chunk-U5MB4G3B.js.map +0 -7
- package/dist/chunk-VEAKUIGZ.js +0 -381
- package/dist/chunk-WDWTJNFY.js +0 -6364
- package/dist/chunk-WLHGBR7Y.js +0 -91
- package/dist/chunk-X4IHREPS.js +0 -494
- package/dist/chunk-X4IHREPS.js.map +0 -7
- package/dist/chunk-XONPH2GI.js +0 -14685
- package/dist/chunk-XONPH2GI.js.map +0 -7
- package/dist/chunk-YEKWAL2X.js +0 -165
- package/dist/chunk-YF6OG2BI.js +0 -353
- package/dist/chunk-YF6OG2BI.js.map +0 -7
- package/dist/chunk-ZNDIZB5M.js +0 -129
- package/dist/chunk-ZPAUVZEE.js +0 -229
- package/dist/chunk-ZPAUVZEE.js.map +0 -7
- package/dist/condition-DZ3YKPGA.js +0 -325
- package/dist/controls-VJVPW24C.js +0 -37
- package/dist/controls.config-PK7A52H6.js +0 -33
- package/dist/correlation-B2ZWSZNC.js +0 -100
- package/dist/cuminc-R2M2XRTQ.js +0 -1132
- package/dist/cuminc.integration.spec-L23AN5Q4.js +0 -671
- package/dist/customdata.inputui-RPZJL4SI.js +0 -280
- package/dist/dataDownload-GYW5NVOQ.js +0 -322
- package/dist/dataDownload.integration.spec-R5OFWPPX.js +0 -186
- package/dist/databrowser.ui-3B226IJK.js +0 -424
- package/dist/density-W3FYAZZ3.js +0 -18
- package/dist/dictionary-B3M3DTP5.js +0 -92
- package/dist/e2pca-OLBSEOT5.js +0 -343
- package/dist/ep-2UJMJ7UW.js +0 -1249
- package/dist/expclust.gdc.spec-JBQYNADV.js +0 -300
- package/dist/facet-2PXT6JLK.js +0 -406
- package/dist/frequencyChart-U3BFHL4Q.js +0 -375
- package/dist/frequencyChart.integration.spec-B7MVZLBC.js +0 -303
- package/dist/geneExpClustering-6FIAZRDE.js +0 -241
- package/dist/geneExpression-2MLPQZ4S.js +0 -56
- package/dist/geneExpression-IPWYIXKD.js +0 -36
- package/dist/geneExpression-WS6JJGEX.js +0 -311
- package/dist/geneORA-JIZ4EWNK.js +0 -274
- package/dist/geneVariant-EY5UEJPT.js +0 -31
- package/dist/geneVariant-PFQUZPCW.js +0 -34
- package/dist/genefusion.ui-NXNEN2KF.js +0 -244
- package/dist/geneset-6MMSRD6B.js +0 -188
- package/dist/genomeBrowser-HNPINZO5.js +0 -503
- package/dist/genomeBrowser.controls-FYDCKBUX.js +0 -33
- package/dist/genomeBrowser.spec-QN6B5Q7J.js +0 -272
- package/dist/grin2-CEQFJWZZ.js +0 -1455
- package/dist/grin2-PZDYNJE3.js +0 -475
- package/dist/groupsetting-PRR3IP7C.js +0 -31
- package/dist/gsea-LBY7JVX3.js +0 -44
- package/dist/hierCluster-FPDWQLT3.js +0 -54
- package/dist/hierCluster-QQOWLVGC.js +0 -58
- package/dist/hierCluster.config-3K3GUPHD.js +0 -33
- package/dist/hierCluster.integration.spec-BXMRMWF4.js +0 -301
- package/dist/hierCluster.interactivity-STGUNYJX.js +0 -47
- package/dist/hierCluster.renderers-UYDUNBTA.js +0 -21
- package/dist/imagePlot-DMOMUE25.js +0 -136
- package/dist/importPlot-HM553KTW.js +0 -8
- package/dist/launch.adhoc-J2HKCD4W.js +0 -35
- package/dist/leftlabel.sample-7AMPXRF5.js +0 -243
- package/dist/leftlabel.sample-7AMPXRF5.js.map +0 -7
- package/dist/lollipop-P2XKIIHR.js +0 -161
- package/dist/maf-WOIJNGLM.js +0 -450
- package/dist/maftimeline-MDL4RBFP.js +0 -586
- package/dist/matrix-5ZSZ3TAF.js +0 -58
- package/dist/matrix-U2O4LU23.js +0 -53
- package/dist/matrix.cells-PW3JRJAN.js +0 -28
- package/dist/matrix.config-3RHQO4I4.js +0 -34
- package/dist/matrix.controls-H5MPOEMI.js +0 -33
- package/dist/matrix.data-PTZW57YC.js +0 -37
- package/dist/matrix.groups-OMR3I6OJ.js +0 -26
- package/dist/matrix.integration.spec-IT3PUQC7.js +0 -2938
- package/dist/matrix.interactivity-ESDGK7WO.js +0 -35
- package/dist/matrix.layout-A53ZBR6O.js +0 -37
- package/dist/matrix.legend-IWXFC6WP.js +0 -22
- package/dist/matrix.renderers-KJ6BBMBP.js +0 -31
- package/dist/matrix.serieses-YN7OOK4R.js +0 -21
- package/dist/matrix.sort-66QD7QMD.js +0 -27
- package/dist/matrix.sort.unit.spec-N6FBIUHT.js +0 -465
- package/dist/matrix.sorterUi-XORAO5CO.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-R3B2VHAH.js +0 -336
- package/dist/mavb-SZGOHDJD.js +0 -725
- package/dist/mds.fimo-TYIMGJHI.js +0 -511
- package/dist/mds.samplescatterplot-JBW2Q7C3.js +0 -1543
- package/dist/mds.survivalplot-SQKCNSOR.js +0 -476
- package/dist/metaboliteIntensity-NUGGXBZR.js +0 -36
- package/dist/multivalue-UXRA52US.js +0 -9
- package/dist/multivalue-UXRA52US.js.map +0 -7
- package/dist/notify-465RJICW.js +0 -234
- package/dist/notify-465RJICW.js.map +0 -7
- package/dist/numeric-YRNPM3L6.js +0 -36
- package/dist/numeric.binary-AWCHOX2U.js +0 -242
- package/dist/numeric.binary-AWCHOX2U.js.map +0 -7
- package/dist/numeric.continuous-BWU55NJY.js +0 -127
- package/dist/numeric.continuous-BWU55NJY.js.map +0 -7
- package/dist/numeric.discrete-APC56BLI.js +0 -38
- package/dist/numeric.spline-4NZSIXSY.js +0 -221
- package/dist/numeric.spline-4NZSIXSY.js.map +0 -7
- package/dist/numeric.toggle-W5DA7ZOQ.js +0 -31
- package/dist/numericDictTermCluster-DOMHDQGH.js +0 -72
- package/dist/oncomatrix-6DSPTXEA.js +0 -284
- package/dist/oncomatrix.spec-ZPCNPIG3.js +0 -441
- package/dist/plot.2dvaf-ZPML2DLS.js +0 -370
- package/dist/plot.app-5D2G3UHS.js +0 -34
- package/dist/plot.barplot-EEMXZNF3.js +0 -95
- package/dist/plot.boxplot-WHE5MAGY.js +0 -145
- package/dist/plot.brainImaging-JH2FZZQG.js +0 -51
- package/dist/plot.disco-XHW45G2Q.js +0 -98
- package/dist/plot.dzi-OAUKPFIB.js +0 -33
- package/dist/plot.ssgq-XWUIHMDR.js +0 -132
- package/dist/plot.vaf2cov-5I55CHNZ.js +0 -252
- package/dist/plot.wsi-6TZMCQK7.js +0 -35
- package/dist/profile.spec-P4RPZ5A6.js +0 -73
- package/dist/profileBarchart-Q3OIVFRT.js +0 -257
- package/dist/profileBarchart-Q3OIVFRT.js.map +0 -7
- package/dist/profileForms-CYU4NXK3.js +0 -344
- package/dist/profileForms-CYU4NXK3.js.map +0 -7
- package/dist/profilePlot-Q4KWJ2QV.js +0 -50
- package/dist/profilePolar-JBMUFPNQ.js +0 -185
- package/dist/profilePolar-JBMUFPNQ.js.map +0 -7
- package/dist/profileRadar-PL2OQT7A.js +0 -262
- package/dist/profileRadar-PL2OQT7A.js.map +0 -7
- package/dist/profileRadarFacility-XRTENYFJ.js +0 -263
- package/dist/profileRadarFacility-XRTENYFJ.js.map +0 -7
- package/dist/regression-7SRBC3DT.js +0 -55
- package/dist/regression.inputs-JVPYHN2P.js +0 -47
- package/dist/regression.inputs.term-OWBCJHVJ.js +0 -47
- package/dist/regression.inputs.values.table-DI2JIAUB.js +0 -44
- package/dist/regression.integration.spec-LG5N3VOU.js +0 -608
- package/dist/regression.results-TGUAIQAM.js +0 -33
- package/dist/regression.spec-S3TQCGC3.js +0 -701
- package/dist/report-JSZN5SAN.js +0 -230
- package/dist/runChart-UQITECVI.js +0 -53
- package/dist/runchart.integration.spec-GTVD6ZGT.js +0 -364
- package/dist/sampleScatter.spec-XJX6TPSQ.js +0 -195
- package/dist/sampleView-WWBW4KRR.js +0 -44
- package/dist/samplelst-RESPIXTD.js +0 -104
- package/dist/samplematrix-7NQGND4G.js +0 -2191
- package/dist/scatter-746MFGKD.js +0 -53
- package/dist/scatter.integration.spec-H6XKPI4F.js +0 -930
- package/dist/selectGenomeWithTklst-YMGBVLTP.js +0 -127
- package/dist/singleCellCellType-O55SDTDG.js +0 -59
- package/dist/singleCellCellType-O55SDTDG.js.map +0 -7
- package/dist/singleCellGeneExpression-5UFOYOHS.js +0 -48
- package/dist/singleCellPlot-XNKG2SUG.js +0 -48
- package/dist/singlecell-6I3EA3JI.js +0 -79
- package/dist/singlecell-IOMAYTTG.js +0 -1565
- package/dist/snp-5Y76XNWH.js +0 -61
- package/dist/snp-5Y76XNWH.js.map +0 -7
- package/dist/snp-PFIKVSXQ.js +0 -75
- package/dist/snplocus-H3PQ7IOE.js +0 -201
- package/dist/snplst-TW2N4WVV.js +0 -15
- package/dist/spliceevent.a53ss.diagram-LPLFHRUM.js +0 -144
- package/dist/spliceevent.exonskip.diagram-RW6HC2MJ.js +0 -270
- package/dist/spliceevent.noeventdiagram-JY2ZW7GS.js +0 -453
- package/dist/ssGSEA-VLBRB6CS.js +0 -55
- package/dist/ssGSEA-WT2KSWRV.js +0 -36
- package/dist/summarizeCnvGeneexp-E2V6ZBZL.js +0 -138
- package/dist/summarizeGeneexpSurvival-X26HBT3H.js +0 -92
- package/dist/summarizeMutationDiagnosis-T47H4CSS.js +0 -34
- package/dist/summarizeMutationSurvival-NHJGMWXZ.js +0 -94
- package/dist/summary-3FEO3KMB.js +0 -53
- package/dist/summary.integration.spec-YNGA4UNW.js +0 -407
- package/dist/summaryInput-RPOR3N2E.js +0 -134
- package/dist/sunburst-NCETP2SZ.js +0 -277
- package/dist/survival-4RO4MHPA.js +0 -1173
- package/dist/survival-4RO4MHPA.js.map +0 -7
- package/dist/survival-R3NVCNS2.js +0 -55
- package/dist/survival.integration.spec-VMXEWYGH.js +0 -603
- package/dist/svgraph-LBWTQZWL.js +0 -1380
- package/dist/svmr-OQAV6LNF.js +0 -3835
- package/dist/table-SIKE63ND.js +0 -195
- package/dist/tk-AN2K2PBF.js +0 -39
- package/dist/tp.ui-QQZXUXL7.js +0 -1452
- package/dist/tvs.density-N62PJOTO.js +0 -18
- package/dist/tvs.numeric-XKB55NHG.js +0 -21
- package/dist/tvs.samplelst-JK4KKKCV.js +0 -99
- package/dist/violin-GDU55FMF.js +0 -45
- package/dist/violin.integration.spec-FSR7OEYP.js +0 -1431
- package/dist/violin.integration.spec-FSR7OEYP.js.map +0 -7
- package/dist/violin.interactivity-IK6SNVZV.js +0 -37
- package/dist/violin.renderer-DND3IKRL.js +0 -33
- package/dist/violin.renderer-DND3IKRL.js.map +0 -7
- package/dist/vocabulary-QGZ7MGYV.js +0 -34
- package/dist/vocabulary-QGZ7MGYV.js.map +0 -7
- /package/dist/{2dmaf-A66AAYCI.js.map → 2dmaf-OQWBGVA5.js.map} +0 -0
- /package/dist/{AIProjectAdmin-2U4YNVKM.js.map → AIProjectAdmin-3XLB3RBL.js.map} +0 -0
- /package/dist/{AppHeader-33IE7IPV.js.map → AppHeader-VBNUXO7V.js.map} +0 -0
- /package/dist/{BoxPlot-VNVTMA6A.js.map → BoxPlot-O7UI5OBK.js.map} +0 -0
- /package/dist/{CorrelationVolcano-67MDMR2A.js.map → CorrelationVolcano-HJL3IGIM.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-AS3URE4Z.js.map → DifferentialAnalysis-7ER22PXQ.js.map} +0 -0
- /package/dist/{Disco-5TOKUL63.js.map → Disco-C56JNC4Y.js.map} +0 -0
- /package/dist/{Disco.UI-NW6T34WF.js.map → Disco.UI-EFXQESKI.js.map} +0 -0
- /package/dist/{HicApp-XTPF6EIZ.js.map → HicApp-BRV3KL53.js.map} +0 -0
- /package/dist/{SC-CE4EENMB.js.map → SC-43I4D5VK.js.map} +0 -0
- /package/dist/{Volcano-3TF7WIRU.js.map → Volcano-N73WNULV.js.map} +0 -0
- /package/dist/{WSISamplesPlot-A2U2VHQK.js.map → WsiSamplesPlot-7KNSVQDD.js.map} +0 -0
- /package/dist/{adSandbox-A36PAXXF.js.map → adSandbox-EOVC26A6.js.map} +0 -0
- /package/dist/{app-25RMFIPS.js.map → app-4G6ZBN4X.js.map} +0 -0
- /package/dist/{app-3ZRYAYRB.js.map → app-Y3YS3BID.js.map} +0 -0
- /package/dist/{bam-SOPRT6LE.js.map → bam-IUUQXY5Y.js.map} +0 -0
- /package/dist/{barchart-IDOREOQL.js.map → barchart-MOYKOKQS.js.map} +0 -0
- /package/dist/{barchart.data-RMFWNJXK.js.map → barchart.data-IEL6KSLJ.js.map} +0 -0
- /package/dist/{barchart.events-H7NLVSJT.js.map → barchart.events-Z7QOLPWN.js.map} +0 -0
- /package/dist/{barchart.integration.spec-EYTRUUIO.js.map → barchart.integration.spec-G7PFFUGF.js.map} +0 -0
- /package/dist/{block-KPI3VJPN.js.map → block-NBO4UBI7.js.map} +0 -0
- /package/dist/{block.init-77BL3B4V.js.map → block.init-NNS4ANQE.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-S2GQVF3X.js.map → block.mds.expressionrank-ODTPNOK3.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-JQTU4LMQ.js.map → block.mds.geneboxplot-KC56DQOZ.js.map} +0 -0
- /package/dist/{block.mds.junction-YDNRJPK5.js.map → block.mds.junction-TEHKBK4R.js.map} +0 -0
- /package/dist/{block.mds.svcnv-LMJVL2YO.js.map → block.mds.svcnv-55DPUJXC.js.map} +0 -0
- /package/dist/{block.tk.aicheck-MJ5ARVXM.js.map → block.tk.aicheck-3HNUORLT.js.map} +0 -0
- /package/dist/{block.tk.ase-4N62CZHL.js.map → block.tk.ase-NMH4T6CZ.js.map} +0 -0
- /package/dist/{block.tk.bam-FMSMECZN.js.map → block.tk.bam-N77FZEJ4.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-JIWOMGRS.js.map → block.tk.bedgraphdot-7HMT5SHP.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-DJ732IV2.js.map → block.tk.bigwig.ui-7ZKDHYHC.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-OBXWBUIG.js.map → block.tk.hicstraw-L2H4ZDQA.js.map} +0 -0
- /package/dist/{block.tk.junction-OWPRA4XY.js.map → block.tk.junction-WZANWQ2E.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-QKU2PWVU.js.map → block.tk.junction.textmatrixui-VAZV3DYJ.js.map} +0 -0
- /package/dist/{block.tk.ld-MZC62CZT.js.map → block.tk.ld-KUTCZV5R.js.map} +0 -0
- /package/dist/{block.tk.menu-YVLVGSN3.js.map → block.tk.menu-ZNU33CCX.js.map} +0 -0
- /package/dist/{block.tk.pgv-2TPFDPCI.js.map → block.tk.pgv-XFSLEWUO.js.map} +0 -0
- /package/dist/{brainImaging-5EKWOCY7.js.map → brainImaging-KCJ4SP5R.js.map} +0 -0
- /package/dist/{chat-CHI7DQST.js.map → chat-OL7SDF4V.js.map} +0 -0
- /package/dist/{chunk-BARWXJG6.js.map → chunk-2CLJHVGK.js.map} +0 -0
- /package/dist/{chunk-D46MBXKS.js.map → chunk-2GRNFI7P.js.map} +0 -0
- /package/dist/{chunk-CB2GMPWF.js.map → chunk-3PSPKZR3.js.map} +0 -0
- /package/dist/{chunk-OQW3QBXO.js.map → chunk-3XNTEIPM.js.map} +0 -0
- /package/dist/{chunk-KHZXSOQC.js.map → chunk-4JTNXI3N.js.map} +0 -0
- /package/dist/{chunk-GDVG55UR.js.map → chunk-4JXJ4UBP.js.map} +0 -0
- /package/dist/{chunk-OV5BP2F2.js.map → chunk-4OWX23N4.js.map} +0 -0
- /package/dist/{chunk-DYXTBZRW.js.map → chunk-4QXJ36HV.js.map} +0 -0
- /package/dist/{chunk-L7N5BOMJ.js.map → chunk-4YNEZISK.js.map} +0 -0
- /package/dist/{chunk-DFTUIQOR.js.map → chunk-5U3ZO5HT.js.map} +0 -0
- /package/dist/{chunk-DCPES4UL.js.map → chunk-5VJ6L4HP.js.map} +0 -0
- /package/dist/{chunk-O3L3J753.js.map → chunk-73DVVHY7.js.map} +0 -0
- /package/dist/{chunk-VEAKUIGZ.js.map → chunk-7FDVPL6E.js.map} +0 -0
- /package/dist/{chunk-GFGKCOEX.js.map → chunk-7FOCC2HQ.js.map} +0 -0
- /package/dist/{chunk-DGYMIZEA.js.map → chunk-BW2RLSXS.js.map} +0 -0
- /package/dist/{chunk-E3KBISUN.js.map → chunk-CFQQBWWZ.js.map} +0 -0
- /package/dist/{chunk-A2JX7P73.js.map → chunk-CRH6WHU2.js.map} +0 -0
- /package/dist/{chunk-THVVBAPD.js.map → chunk-CWQMRBZQ.js.map} +0 -0
- /package/dist/{chunk-F3TVBLHB.js.map → chunk-D4DDFKHV.js.map} +0 -0
- /package/dist/{chunk-JVERO5QC.js.map → chunk-DNQYUNC2.js.map} +0 -0
- /package/dist/{chunk-WLHGBR7Y.js.map → chunk-DUEH7N7W.js.map} +0 -0
- /package/dist/{chunk-BRBMNWOW.js.map → chunk-E3PED6HJ.js.map} +0 -0
- /package/dist/{chunk-BU3NYOPN.js.map → chunk-ELWZBAT6.js.map} +0 -0
- /package/dist/{chunk-QTAXM2J6.js.map → chunk-EUFBKP6Q.js.map} +0 -0
- /package/dist/{chunk-4LEZEUPT.js.map → chunk-FK3ZW7TT.js.map} +0 -0
- /package/dist/{chunk-6KEB65SH.js.map → chunk-GKEB4U23.js.map} +0 -0
- /package/dist/{chunk-EENIMZVS.js.map → chunk-HU274F27.js.map} +0 -0
- /package/dist/{chunk-TPRGUU57.js.map → chunk-IABYVAMO.js.map} +0 -0
- /package/dist/{chunk-HV2LKDSF.js.map → chunk-IJAPJGMG.js.map} +0 -0
- /package/dist/{chunk-BQZPB3G5.js.map → chunk-JHEPBM7J.js.map} +0 -0
- /package/dist/{chunk-BL52MOFL.js.map → chunk-K6HYNIAS.js.map} +0 -0
- /package/dist/{chunk-A6UVM6Q5.js.map → chunk-K7XKVWL2.js.map} +0 -0
- /package/dist/{chunk-DRD7Q7HJ.js.map → chunk-KO445K7J.js.map} +0 -0
- /package/dist/{chunk-YEKWAL2X.js.map → chunk-LZEQJFZ3.js.map} +0 -0
- /package/dist/{chunk-P7AEW6AK.js.map → chunk-MEFCSGAC.js.map} +0 -0
- /package/dist/{chunk-WDWTJNFY.js.map → chunk-MZ6DIHEL.js.map} +0 -0
- /package/dist/{chunk-QZBJDD2H.js.map → chunk-NNDNVBTX.js.map} +0 -0
- /package/dist/{chunk-K3GJ5DDY.js.map → chunk-OGTHZVXJ.js.map} +0 -0
- /package/dist/{chunk-O5YMPTKZ.js.map → chunk-PEYHMXE7.js.map} +0 -0
- /package/dist/{chunk-ATTHI76O.js.map → chunk-PGNZXLHB.js.map} +0 -0
- /package/dist/{chunk-U3DYPWZY.js.map → chunk-QTXO5QDM.js.map} +0 -0
- /package/dist/{chunk-2A6P3JE7.js.map → chunk-SQTISBFA.js.map} +0 -0
- /package/dist/{chunk-B3JQPOYL.js.map → chunk-TGG5VKA3.js.map} +0 -0
- /package/dist/{chunk-RKPU2VUA.js.map → chunk-TZ3VF4XU.js.map} +0 -0
- /package/dist/{chunk-HU7JAYZO.js.map → chunk-WLY655R4.js.map} +0 -0
- /package/dist/{chunk-DAAGB4FF.js.map → chunk-XC34XLSB.js.map} +0 -0
- /package/dist/{chunk-ZNDIZB5M.js.map → chunk-XGZBQXNE.js.map} +0 -0
- /package/dist/{chunk-NCGFSOTH.js.map → chunk-XT4XFXJW.js.map} +0 -0
- /package/dist/{chunk-OL6KWERA.js.map → chunk-YLARJFPF.js.map} +0 -0
- /package/dist/{chunk-O5H6DQIL.js.map → chunk-ZNQCWD2Y.js.map} +0 -0
- /package/dist/{chunk-CHOK2K4T.js.map → chunk-ZS4OL6CW.js.map} +0 -0
- /package/dist/{condition-DZ3YKPGA.js.map → condition-4AV7GQQZ.js.map} +0 -0
- /package/dist/{categorical-2MFYKDWT.js.map → controls-6H3GGIOF.js.map} +0 -0
- /package/dist/{controls-VJVPW24C.js.map → controls.config-I6TQRYM7.js.map} +0 -0
- /package/dist/{correlation-B2ZWSZNC.js.map → correlation-J3UYQ3LT.js.map} +0 -0
- /package/dist/{cuminc-R2M2XRTQ.js.map → cuminc-W4RQVEMD.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-L23AN5Q4.js.map → cuminc.integration.spec-M3EOPC5D.js.map} +0 -0
- /package/dist/{customdata.inputui-RPZJL4SI.js.map → customdata.inputui-TFM5JYFF.js.map} +0 -0
- /package/dist/{dataDownload-GYW5NVOQ.js.map → dataDownload-R4FGOJWP.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-R5OFWPPX.js.map → dataDownload.integration.spec-OLTFN27L.js.map} +0 -0
- /package/dist/{databrowser.ui-3B226IJK.js.map → databrowser.ui-BRZS7R5S.js.map} +0 -0
- /package/dist/{controls.config-PK7A52H6.js.map → density-2WOYR4NB.js.map} +0 -0
- /package/dist/{dictionary-B3M3DTP5.js.map → dictionary-7SGIE5UL.js.map} +0 -0
- /package/dist/{e2pca-OLBSEOT5.js.map → e2pca-VSEXUGQO.js.map} +0 -0
- /package/dist/{ep-2UJMJ7UW.js.map → ep-SRNHBEU5.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-JBQYNADV.js.map → expclust.gdc.spec-KMYKHAP3.js.map} +0 -0
- /package/dist/{facet-2PXT6JLK.js.map → facet-X26JAGPP.js.map} +0 -0
- /package/dist/{frequencyChart-U3BFHL4Q.js.map → frequencyChart-YTNTX2DN.js.map} +0 -0
- /package/dist/{frequencyChart.integration.spec-B7MVZLBC.js.map → frequencyChart.integration.spec-2FZSB5MJ.js.map} +0 -0
- /package/dist/{geneExpClustering-6FIAZRDE.js.map → geneExpClustering-L5G3B4AL.js.map} +0 -0
- /package/dist/{geneExpression-WS6JJGEX.js.map → geneExpression-4LOOH6RS.js.map} +0 -0
- /package/dist/{geneExpression-2MLPQZ4S.js.map → geneExpression-GDJE5F7I.js.map} +0 -0
- /package/dist/{geneExpression-IPWYIXKD.js.map → geneExpression-HRHBSIKP.js.map} +0 -0
- /package/dist/{geneORA-JIZ4EWNK.js.map → geneORA-UWQ3P7AU.js.map} +0 -0
- /package/dist/{density-W3FYAZZ3.js.map → geneVariant-AWKVUBAO.js.map} +0 -0
- /package/dist/{geneVariant-EY5UEJPT.js.map → geneVariant-RYJKK6TN.js.map} +0 -0
- /package/dist/{genefusion.ui-NXNEN2KF.js.map → genefusion.ui-YZRBUQ56.js.map} +0 -0
- /package/dist/{geneset-6MMSRD6B.js.map → geneset-B5VDMDP7.js.map} +0 -0
- /package/dist/{genomeBrowser-HNPINZO5.js.map → genomeBrowser-6C6M5QRC.js.map} +0 -0
- /package/dist/{geneVariant-PFQUZPCW.js.map → genomeBrowser.controls-ZL6Z3A4B.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-QN6B5Q7J.js.map → genomeBrowser.spec-TWIJACVS.js.map} +0 -0
- /package/dist/{grin2-CEQFJWZZ.js.map → grin2-7GW3S27T.js.map} +0 -0
- /package/dist/{grin2-PZDYNJE3.js.map → grin2-FB32LBKB.js.map} +0 -0
- /package/dist/{genomeBrowser.controls-FYDCKBUX.js.map → gsea-7H4EP5QX.js.map} +0 -0
- /package/dist/{groupsetting-PRR3IP7C.js.map → hierCluster-UXKBZMLO.js.map} +0 -0
- /package/dist/{gsea-LBY7JVX3.js.map → hierCluster-Y2FK2S5L.js.map} +0 -0
- /package/dist/{hierCluster-FPDWQLT3.js.map → hierCluster.config-7UEK5MJ5.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-BXMRMWF4.js.map → hierCluster.integration.spec-Z2NO3ZSN.js.map} +0 -0
- /package/dist/{hierCluster-QQOWLVGC.js.map → hierCluster.interactivity-RGI5XRPG.js.map} +0 -0
- /package/dist/{hierCluster.config-3K3GUPHD.js.map → hierCluster.renderers-6PLCOGYI.js.map} +0 -0
- /package/dist/{imagePlot-DMOMUE25.js.map → imagePlot-O26LDEII.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-STGUNYJX.js.map → importPlot-6IQTE6O4.js.map} +0 -0
- /package/dist/{hierCluster.renderers-UYDUNBTA.js.map → launch.adhoc-YVYBB7WH.js.map} +0 -0
- /package/dist/{lollipop-P2XKIIHR.js.map → lollipop-ZQ6RMLIJ.js.map} +0 -0
- /package/dist/{maf-WOIJNGLM.js.map → maf-AHK4ISWK.js.map} +0 -0
- /package/dist/{maftimeline-MDL4RBFP.js.map → maftimeline-7MCKV3OC.js.map} +0 -0
- /package/dist/{importPlot-HM553KTW.js.map → matrix-GYY4XOB2.js.map} +0 -0
- /package/dist/{launch.adhoc-J2HKCD4W.js.map → matrix-WJQWC6E6.js.map} +0 -0
- /package/dist/{matrix-5ZSZ3TAF.js.map → matrix.cells-ARW32HYP.js.map} +0 -0
- /package/dist/{matrix-U2O4LU23.js.map → matrix.config-XKV3MYB3.js.map} +0 -0
- /package/dist/{matrix.cells-PW3JRJAN.js.map → matrix.controls-HISIPNHJ.js.map} +0 -0
- /package/dist/{matrix.config-3RHQO4I4.js.map → matrix.data-USALDVQY.js.map} +0 -0
- /package/dist/{matrix.controls-H5MPOEMI.js.map → matrix.groups-2ZNRR56O.js.map} +0 -0
- /package/dist/{matrix.integration.spec-IT3PUQC7.js.map → matrix.integration.spec-U5SFKDLE.js.map} +0 -0
- /package/dist/{matrix.data-PTZW57YC.js.map → matrix.interactivity-PLS5VRBD.js.map} +0 -0
- /package/dist/{matrix.groups-OMR3I6OJ.js.map → matrix.layout-CIWDTBWE.js.map} +0 -0
- /package/dist/{matrix.interactivity-ESDGK7WO.js.map → matrix.legend-GEBKE674.js.map} +0 -0
- /package/dist/{matrix.layout-A53ZBR6O.js.map → matrix.renderers-DDZYFY3A.js.map} +0 -0
- /package/dist/{matrix.legend-IWXFC6WP.js.map → matrix.serieses-43Y763CP.js.map} +0 -0
- /package/dist/{matrix.renderers-KJ6BBMBP.js.map → matrix.sort-Y4NQ3QL2.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-N6FBIUHT.js.map → matrix.sort.unit.spec-VU3JMF2L.js.map} +0 -0
- /package/dist/{matrix.serieses-YN7OOK4R.js.map → matrix.sorterUi-47XHMDWW.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-R3B2VHAH.js.map → matrix.sorterUi.unit.spec-INLX4DJK.js.map} +0 -0
- /package/dist/{mavb-SZGOHDJD.js.map → mavb-3SX5TR23.js.map} +0 -0
- /package/dist/{mds.fimo-TYIMGJHI.js.map → mds.fimo-4OR2MHMZ.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-JBW2Q7C3.js.map → mds.samplescatterplot-UJCG4S2Z.js.map} +0 -0
- /package/dist/{mds.survivalplot-SQKCNSOR.js.map → mds.survivalplot-NSQY4YES.js.map} +0 -0
- /package/dist/{metaboliteIntensity-NUGGXBZR.js.map → metaboliteIntensity-IPW5TNAV.js.map} +0 -0
- /package/dist/{numeric-YRNPM3L6.js.map → numeric-C3HYUOIA.js.map} +0 -0
- /package/dist/{matrix.sort-66QD7QMD.js.map → numeric.discrete-FRK55BUD.js.map} +0 -0
- /package/dist/{matrix.sorterUi-XORAO5CO.js.map → numeric.toggle-X6LBTFQC.js.map} +0 -0
- /package/dist/{numericDictTermCluster-DOMHDQGH.js.map → numericDictTermCluster-DIFR4QFK.js.map} +0 -0
- /package/dist/{oncomatrix-6DSPTXEA.js.map → oncomatrix-IUTOCPLH.js.map} +0 -0
- /package/dist/{oncomatrix.spec-ZPCNPIG3.js.map → oncomatrix.spec-SCVNY2XK.js.map} +0 -0
- /package/dist/{plot.2dvaf-ZPML2DLS.js.map → plot.2dvaf-4CWLYMRY.js.map} +0 -0
- /package/dist/{numeric.discrete-APC56BLI.js.map → plot.app-JORKG3V6.js.map} +0 -0
- /package/dist/{plot.barplot-EEMXZNF3.js.map → plot.barplot-E2QSRJ2S.js.map} +0 -0
- /package/dist/{plot.boxplot-WHE5MAGY.js.map → plot.boxplot-SQGBCP4I.js.map} +0 -0
- /package/dist/{plot.brainImaging-JH2FZZQG.js.map → plot.brainImaging-7H4FGSBW.js.map} +0 -0
- /package/dist/{plot.disco-XHW45G2Q.js.map → plot.disco-OEO2GPW4.js.map} +0 -0
- /package/dist/{plot.dzi-OAUKPFIB.js.map → plot.dzi-M47RO2F4.js.map} +0 -0
- /package/dist/{plot.ssgq-XWUIHMDR.js.map → plot.ssgq-CKEPLRLG.js.map} +0 -0
- /package/dist/{plot.vaf2cov-5I55CHNZ.js.map → plot.vaf2cov-4S5KYZSF.js.map} +0 -0
- /package/dist/{plot.wsi-6TZMCQK7.js.map → plot.wsi-KJTM6ZXN.js.map} +0 -0
- /package/dist/{profile.spec-P4RPZ5A6.js.map → profile.spec-LRSANXLK.js.map} +0 -0
- /package/dist/{numeric.toggle-W5DA7ZOQ.js.map → profilePlot-NH7ZAXE2.js.map} +0 -0
- /package/dist/{plot.app-5D2G3UHS.js.map → qualitative-2XUNRJGW.js.map} +0 -0
- /package/dist/{profilePlot-Q4KWJ2QV.js.map → regression-SO5LO3AA.js.map} +0 -0
- /package/dist/{regression-7SRBC3DT.js.map → regression.inputs-S7YFVKU5.js.map} +0 -0
- /package/dist/{regression.inputs-JVPYHN2P.js.map → regression.inputs.term-7RTOJCBV.js.map} +0 -0
- /package/dist/{regression.inputs.term-OWBCJHVJ.js.map → regression.inputs.values.table-5K6VJ43R.js.map} +0 -0
- /package/dist/{regression.integration.spec-LG5N3VOU.js.map → regression.integration.spec-URYEIJBQ.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-DI2JIAUB.js.map → regression.results-TZ7MKK6W.js.map} +0 -0
- /package/dist/{regression.spec-S3TQCGC3.js.map → regression.spec-Y3YRMMNF.js.map} +0 -0
- /package/dist/{report-JSZN5SAN.js.map → report-L2FU44BT.js.map} +0 -0
- /package/dist/{regression.results-TGUAIQAM.js.map → runChart-XV6WKBOY.js.map} +0 -0
- /package/dist/{runchart.integration.spec-GTVD6ZGT.js.map → runchart.integration.spec-GEOMKOXQ.js.map} +0 -0
- /package/dist/{sampleScatter.spec-XJX6TPSQ.js.map → sampleScatter.spec-ITZLTKUM.js.map} +0 -0
- /package/dist/{runChart-UQITECVI.js.map → sampleView-ROG7PMHR.js.map} +0 -0
- /package/dist/{samplelst-RESPIXTD.js.map → samplelst-2IL63737.js.map} +0 -0
- /package/dist/{samplematrix-7NQGND4G.js.map → samplematrix-6VRFIIVU.js.map} +0 -0
- /package/dist/{sampleView-WWBW4KRR.js.map → scatter-MA3UZ6C6.js.map} +0 -0
- /package/dist/{scatter.integration.spec-H6XKPI4F.js.map → scatter.integration.spec-RFYQS5DE.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-YMGBVLTP.js.map → selectGenomeWithTklst-FIFYXXAQ.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-5UFOYOHS.js.map → singleCellGeneExpression-SBAJ6XML.js.map} +0 -0
- /package/dist/{scatter-746MFGKD.js.map → singleCellPlot-TRRGNH37.js.map} +0 -0
- /package/dist/{singlecell-IOMAYTTG.js.map → singlecell-55ELYBDU.js.map} +0 -0
- /package/dist/{singlecell-6I3EA3JI.js.map → singlecell-JCKJGEBH.js.map} +0 -0
- /package/dist/{snp-PFIKVSXQ.js.map → snp-LWS3OP2M.js.map} +0 -0
- /package/dist/{snplocus-H3PQ7IOE.js.map → snplocus-OTMVPVWC.js.map} +0 -0
- /package/dist/{singleCellPlot-XNKG2SUG.js.map → snplst-LQRIYCRZ.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-LPLFHRUM.js.map → spliceevent.a53ss.diagram-E3MTCYLV.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-RW6HC2MJ.js.map → spliceevent.exonskip.diagram-YJNJYQS6.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-JY2ZW7GS.js.map → spliceevent.noeventdiagram-L326T54B.js.map} +0 -0
- /package/dist/{ssGSEA-WT2KSWRV.js.map → ssGSEA-55UO2PTA.js.map} +0 -0
- /package/dist/{ssGSEA-VLBRB6CS.js.map → ssGSEA-GFLSCV25.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-E2V6ZBZL.js.map → summarizeCnvGeneexp-RNYFHQFL.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-X26HBT3H.js.map → summarizeGeneexpSurvival-PW6NFLNT.js.map} +0 -0
- /package/dist/{snplst-TW2N4WVV.js.map → summarizeMutationDiagnosis-6W4KBCA2.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-NHJGMWXZ.js.map → summarizeMutationSurvival-SFCYKQIL.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-T47H4CSS.js.map → summary-VB7SQ2BR.js.map} +0 -0
- /package/dist/{summary.integration.spec-YNGA4UNW.js.map → summary.integration.spec-5ILI25QN.js.map} +0 -0
- /package/dist/{summaryInput-RPOR3N2E.js.map → summaryInput-OPZ7DUPO.js.map} +0 -0
- /package/dist/{sunburst-NCETP2SZ.js.map → sunburst-Y6JFC4BA.js.map} +0 -0
- /package/dist/{survival-R3NVCNS2.js.map → survival-OWQWT6A2.js.map} +0 -0
- /package/dist/{survival.integration.spec-VMXEWYGH.js.map → survival.integration.spec-AFFOS6BO.js.map} +0 -0
- /package/dist/{svgraph-LBWTQZWL.js.map → svgraph-FLZA26LI.js.map} +0 -0
- /package/dist/{svmr-OQAV6LNF.js.map → svmr-JEVWYD2R.js.map} +0 -0
- /package/dist/{table-SIKE63ND.js.map → table-ZTC4W5MG.js.map} +0 -0
- /package/dist/{summary-3FEO3KMB.js.map → tk-JM7ED4NO.js.map} +0 -0
- /package/dist/{tp.ui-QQZXUXL7.js.map → tp.ui-AUFNIKW7.js.map} +0 -0
- /package/dist/{tk-AN2K2PBF.js.map → tvs.density-AYZ4U5VI.js.map} +0 -0
- /package/dist/{tvs.samplelst-JK4KKKCV.js.map → tvs.samplelst-CTJ6JLNQ.js.map} +0 -0
- /package/dist/{tvs.density-N62PJOTO.js.map → violin-UQYX7KKM.js.map} +0 -0
- /package/dist/{tvs.numeric-XKB55NHG.js.map → violin.interactivity-KHP24DHY.js.map} +0 -0
- /package/dist/{violin-GDU55FMF.js.map → violin.renderer-SWOKCTU3.js.map} +0 -0
- /package/dist/{violin.interactivity-IK6SNVZV.js.map → vocabulary-T2AVFI7D.js.map} +0 -0
|
@@ -0,0 +1,1366 @@
|
|
|
1
|
+
import {
|
|
2
|
+
axisstyle,
|
|
3
|
+
bulk_badline,
|
|
4
|
+
font,
|
|
5
|
+
make_table_2col,
|
|
6
|
+
newpane,
|
|
7
|
+
newpane3,
|
|
8
|
+
renderSandboxFormDiv,
|
|
9
|
+
sayerror,
|
|
10
|
+
to_svg
|
|
11
|
+
} from "./chunk-5GYHGTRN.js";
|
|
12
|
+
import "./chunk-HJ6L54YS.js";
|
|
13
|
+
import "./chunk-BX6ANKGQ.js";
|
|
14
|
+
import "./chunk-4JXJ4UBP.js";
|
|
15
|
+
import "./chunk-4YNEZISK.js";
|
|
16
|
+
import "./chunk-RY7CVONT.js";
|
|
17
|
+
import "./chunk-IQIXGTQV.js";
|
|
18
|
+
import "./chunk-EUFBKP6Q.js";
|
|
19
|
+
import {
|
|
20
|
+
mclass,
|
|
21
|
+
mclassnonstandard
|
|
22
|
+
} from "./chunk-PAV653SV.js";
|
|
23
|
+
import "./chunk-4W3BORF5.js";
|
|
24
|
+
import "./chunk-SU6RBYZK.js";
|
|
25
|
+
import "./chunk-2J7NXRQQ.js";
|
|
26
|
+
import {
|
|
27
|
+
Menu
|
|
28
|
+
} from "./chunk-IVJWQYGG.js";
|
|
29
|
+
import "./chunk-OMO754MK.js";
|
|
30
|
+
import "./chunk-RA5EXEHB.js";
|
|
31
|
+
import {
|
|
32
|
+
Symbol,
|
|
33
|
+
circle_default,
|
|
34
|
+
cross_default,
|
|
35
|
+
diamond_default,
|
|
36
|
+
square_default,
|
|
37
|
+
star_default,
|
|
38
|
+
triangle_default,
|
|
39
|
+
wye_default
|
|
40
|
+
} from "./chunk-PMZS3SHH.js";
|
|
41
|
+
import {
|
|
42
|
+
axisBottom,
|
|
43
|
+
axisLeft,
|
|
44
|
+
axisTop
|
|
45
|
+
} from "./chunk-LOZEKOES.js";
|
|
46
|
+
import "./chunk-TOU7EVFQ.js";
|
|
47
|
+
import {
|
|
48
|
+
format,
|
|
49
|
+
linear
|
|
50
|
+
} from "./chunk-W2IWHXLL.js";
|
|
51
|
+
import "./chunk-5OHXYXLD.js";
|
|
52
|
+
import "./chunk-UJUXE42U.js";
|
|
53
|
+
import "./chunk-OMR2DT66.js";
|
|
54
|
+
import {
|
|
55
|
+
select_default
|
|
56
|
+
} from "./chunk-NDWTN4U5.js";
|
|
57
|
+
import "./chunk-HFNDKYVF.js";
|
|
58
|
+
|
|
59
|
+
// src/2dmaf.anchors.js
|
|
60
|
+
var Anchors = class {
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
this.opts = opts;
|
|
63
|
+
this.anchorType = opts.anchorType;
|
|
64
|
+
this.shareheight = opts.shareheight;
|
|
65
|
+
this.sharewidth = opts.sharewidth;
|
|
66
|
+
const x = "x" in opts ? opts.x : 0;
|
|
67
|
+
const y = "y" in opts ? opts.y : 0;
|
|
68
|
+
this.settings = {
|
|
69
|
+
visible: true,
|
|
70
|
+
opacity: 0.3,
|
|
71
|
+
x,
|
|
72
|
+
y,
|
|
73
|
+
xOffset: opts.axiswidth + opts.sp + opts.sample2height,
|
|
74
|
+
yOffset: opts.shareheight,
|
|
75
|
+
currX: opts.axiswidth + opts.sp + opts.sample2height + x,
|
|
76
|
+
currY: opts.shareheight - y,
|
|
77
|
+
strokeWidth: "strokeWidth" in opts ? opts.strokeWidth : 5,
|
|
78
|
+
stroke: "stroke" in opts ? opts.stroke : "red",
|
|
79
|
+
xarmlen: "xarmlen" in opts ? opts.xarmlen : 25
|
|
80
|
+
};
|
|
81
|
+
this.addControls(this.anchorType ? null : this.opts.headerdiv);
|
|
82
|
+
}
|
|
83
|
+
setWrapper(g) {
|
|
84
|
+
this.opts.wrapper = g;
|
|
85
|
+
}
|
|
86
|
+
addControls(headerdiv = null) {
|
|
87
|
+
if (headerdiv) {
|
|
88
|
+
const anchorbtn = headerdiv.append("button").text("Anchors").on("click", (event) => {
|
|
89
|
+
this.anchormenu.showunder(event.target);
|
|
90
|
+
this.xInput.property("value", (this.settings.x / this.sharewidth).toFixed(2));
|
|
91
|
+
this.yInput.property("value", (this.settings.y / this.sharewidth).toFixed(2));
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
this.anchormenu = new Menu({ border: "solid 1px black" });
|
|
95
|
+
this.anchormenu.d.style("text-align", "center");
|
|
96
|
+
this.addCoordInput();
|
|
97
|
+
this.addColorInput();
|
|
98
|
+
this.addOpacityInput();
|
|
99
|
+
if (!this.anchorType) this.addSubmitBtns();
|
|
100
|
+
else this.addDeleteBtn();
|
|
101
|
+
}
|
|
102
|
+
addColorInput() {
|
|
103
|
+
const div = this.anchormenu.d.append("div");
|
|
104
|
+
div.append("label").html("Color: ");
|
|
105
|
+
this.strokeInput = div.append("input");
|
|
106
|
+
this.strokeInput.attr("this.anchorType", "text").property("value", this.settings.stroke).style("width", "50px");
|
|
107
|
+
}
|
|
108
|
+
addOpacityInput() {
|
|
109
|
+
const div = this.anchormenu.d.append("div");
|
|
110
|
+
div.append("label").html("Opacity: ");
|
|
111
|
+
this.opacityInput = div.append("input");
|
|
112
|
+
this.opacityInput.attr("this.anchorType", "number").attr("min", 0).attr("max", 1).attr("step", 0.01).property("value", this.settings.opacity).style("width", "50px");
|
|
113
|
+
}
|
|
114
|
+
addSubmitBtns() {
|
|
115
|
+
if (this.anchorType) return;
|
|
116
|
+
const div = this.anchormenu.d.append("div");
|
|
117
|
+
div.append("label").html("Add Anchor: ");
|
|
118
|
+
div.append("button").html("R").on("click", () => {
|
|
119
|
+
new SyncedAnchors(this.getSettings("r"));
|
|
120
|
+
this.anchormenu.hide();
|
|
121
|
+
});
|
|
122
|
+
div.append("button").html("D").on("click", () => {
|
|
123
|
+
new SyncedAnchors(this.getSettings("d"));
|
|
124
|
+
this.anchormenu.hide();
|
|
125
|
+
});
|
|
126
|
+
div.append("button").html("X").on("click", () => {
|
|
127
|
+
new SyncedAnchors(this.getSettings("x"));
|
|
128
|
+
this.anchormenu.hide();
|
|
129
|
+
});
|
|
130
|
+
div.append("button").html("synced").on("click", () => {
|
|
131
|
+
new SyncedAnchors(this.getSettings("synced"));
|
|
132
|
+
this.anchormenu.hide();
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
getSettings(anchorType) {
|
|
136
|
+
return Object.assign({}, this.opts, {
|
|
137
|
+
anchorType,
|
|
138
|
+
opacity: this.opacityInput.property("value"),
|
|
139
|
+
x: this.xInput.property("value") * this.sharewidth,
|
|
140
|
+
y: this.yInput.property("value") * this.shareheight,
|
|
141
|
+
stroke: this.strokeInput.property("value")
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
addCoordInput() {
|
|
145
|
+
const xdiv = this.anchormenu.d.append("div");
|
|
146
|
+
xdiv.append("label").html("X: ");
|
|
147
|
+
this.xInput = xdiv.append("input");
|
|
148
|
+
this.xInput.attr("this.anchorType", "number").attr("min", 0).attr("max", 1).attr("step", 0.01).property("value", 0).style("width", "80px");
|
|
149
|
+
const ydiv = this.anchormenu.d.append("div");
|
|
150
|
+
ydiv.append("label").html("Y: ");
|
|
151
|
+
this.yInput = ydiv.append("input");
|
|
152
|
+
this.yInput.attr("this.anchorType", "number").attr("min", 0).attr("max", 1).attr("step", 0.01).property("value", 0).style("width", "80px");
|
|
153
|
+
}
|
|
154
|
+
addDeleteBtn() {
|
|
155
|
+
if (!this.anchorType) return;
|
|
156
|
+
const div = this.anchormenu.d.append("div");
|
|
157
|
+
div.append("button").html("Delete").on("click", () => {
|
|
158
|
+
this.g_anchor.remove();
|
|
159
|
+
this.anchormenu.hide();
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
var SyncedAnchors = class extends Anchors {
|
|
164
|
+
constructor(opts) {
|
|
165
|
+
super(opts);
|
|
166
|
+
this.render();
|
|
167
|
+
this.strokeInput.on("change", () => {
|
|
168
|
+
this.settings.stroke = this.strokeInput.property("value");
|
|
169
|
+
this.g_anchor.style("stroke", this.settings.stroke);
|
|
170
|
+
this.anchormenu.hide();
|
|
171
|
+
});
|
|
172
|
+
this.opacityInput.on("change", () => {
|
|
173
|
+
this.settings.opacity = input.property("value");
|
|
174
|
+
this.g_anchor.style("opacity", this.settings.opacity);
|
|
175
|
+
this.anchormenu.hide();
|
|
176
|
+
});
|
|
177
|
+
this.xInput.on("change", () => {
|
|
178
|
+
this.settings.x = +this.xInput.property("value") * this.sharewidth;
|
|
179
|
+
this.settings.currX = this.settings.x + this.settings.xOffset;
|
|
180
|
+
if (this.d_anchor) {
|
|
181
|
+
this.d_anchor.transition().duration(1e3).attr("x1", this.settings.currX).attr("x2", this.settings.currX);
|
|
182
|
+
}
|
|
183
|
+
if (this.x_anchor) {
|
|
184
|
+
this.x_anchor.transition().duration(1e3).attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
|
|
185
|
+
}
|
|
186
|
+
this.anchormenu.hide();
|
|
187
|
+
});
|
|
188
|
+
this.yInput.on("change", () => {
|
|
189
|
+
this.settings.y = +this.yInput.property("value") * this.shareheight;
|
|
190
|
+
this.settings.currY = -this.settings.y + this.settings.yOffset;
|
|
191
|
+
if (this.r_anchor) {
|
|
192
|
+
this.r_anchor.transition().duration(1e3).attr("y1", this.settings.currY).attr("y2", this.settings.currY);
|
|
193
|
+
}
|
|
194
|
+
if (this.x_anchor) {
|
|
195
|
+
this.x_anchor.transition().duration(1e3).attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
|
|
196
|
+
}
|
|
197
|
+
this.anchormenu.hide();
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
render() {
|
|
201
|
+
this.g_anchor = this.opts.wrapper.append("g").style("stroke", this.settings.stroke).style("opacity", this.settings.opacity).style("display", this.settings.visible ? "" : "none").style("stroke-width", this.settings.strokeWidth).on(
|
|
202
|
+
"click",
|
|
203
|
+
this.anchorType == "synced" ? null : (event) => {
|
|
204
|
+
this.anchormenu.showunder(event.target);
|
|
205
|
+
}
|
|
206
|
+
);
|
|
207
|
+
this.renderD();
|
|
208
|
+
this.renderR();
|
|
209
|
+
this.renderX();
|
|
210
|
+
}
|
|
211
|
+
renderD() {
|
|
212
|
+
if (!["synced", "d"].includes(this.anchorType)) return;
|
|
213
|
+
this.d_anchor = this.g_anchor.append("line");
|
|
214
|
+
const o = this.opts;
|
|
215
|
+
this.updateD(o.shareheight + o.sp2, o.shareheight + o.sample1height);
|
|
216
|
+
}
|
|
217
|
+
updateD(y1, y2) {
|
|
218
|
+
if (!["synced", "d"].includes(this.anchorType)) return;
|
|
219
|
+
this.settings.D = { y1, y2 };
|
|
220
|
+
this.d_anchor.attr("x1", this.settings.currX).attr("x2", this.settings.currX).attr("y1", y1).attr("y2", y2);
|
|
221
|
+
}
|
|
222
|
+
renderR() {
|
|
223
|
+
if (!["synced", "r"].includes(this.anchorType)) return;
|
|
224
|
+
this.r_anchor = this.g_anchor.append("line");
|
|
225
|
+
const o = this.opts;
|
|
226
|
+
this.updateR(o.axiswidth + o.sp, o.sample2height + o.sp);
|
|
227
|
+
}
|
|
228
|
+
updateR(x1, x2) {
|
|
229
|
+
if (!["synced", "r"].includes(this.anchorType)) return;
|
|
230
|
+
this.settings.R = { x1, x2 };
|
|
231
|
+
this.r_anchor.attr("x1", x1).attr("x2", x2).attr("y1", this.settings.currY).attr("y2", this.settings.currY);
|
|
232
|
+
}
|
|
233
|
+
renderX() {
|
|
234
|
+
if (!["synced", "x"].includes(this.anchorType)) return;
|
|
235
|
+
this.x_anchor = this.g_anchor.append("g").attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
|
|
236
|
+
this.bindXDrag();
|
|
237
|
+
this.x_anchor.append("circle").attr("cx", 0).attr("cy", 0).attr("r", this.settings.xarmlen).style("opacity", 0);
|
|
238
|
+
this.x_anchor.append("line").attr("x1", -this.settings.xarmlen).attr("x2", this.settings.xarmlen).attr("y1", 0).attr("y2", 0);
|
|
239
|
+
this.x_anchor.append("line").attr("x1", 0).attr("x2", 0).attr("y1", this.settings.xarmlen).attr("y2", -this.settings.xarmlen);
|
|
240
|
+
}
|
|
241
|
+
bindXDrag() {
|
|
242
|
+
if (!["synced"].includes(this.anchorType)) return;
|
|
243
|
+
this.x_anchor.on("mousedown", (event) => {
|
|
244
|
+
const x = event.clientX;
|
|
245
|
+
const y = event.clientY;
|
|
246
|
+
let _x = this.settings.currX, _y = this.settings.currY;
|
|
247
|
+
this.x_anchor.on("mousemove", (event2) => {
|
|
248
|
+
_x = this.settings.currX - x + event2.clientX;
|
|
249
|
+
_y = this.settings.currY - y + event2.clientY;
|
|
250
|
+
this.r_anchor.attr("y1", _y).attr("y2", _y);
|
|
251
|
+
this.d_anchor.attr("x1", _x).attr("x2", _x);
|
|
252
|
+
this.x_anchor.attr("transform", "translate(" + _x + "," + _y + ")");
|
|
253
|
+
}).on("mouseup", (event2) => {
|
|
254
|
+
this.x_anchor.on("mousemove", null);
|
|
255
|
+
_x = this.settings.currX - x + event2.clientX;
|
|
256
|
+
_y = this.settings.currY - y + event2.clientY;
|
|
257
|
+
if (_x == this.settings.currX && _y == this.settings.currY) {
|
|
258
|
+
this.g_anchor.remove();
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
this.settings.x = _x < this.settings.xOffset ? 0 : _x - this.settings.xOffset;
|
|
262
|
+
this.settings.y = _y > this.settings.yOffset ? 0 : -(_y - this.settings.yOffset);
|
|
263
|
+
this.settings.currX = this.settings.x + this.settings.xOffset;
|
|
264
|
+
this.settings.currY = -this.settings.y + this.settings.yOffset;
|
|
265
|
+
this.r_anchor.transition().duration(100).attr("y1", this.settings.currY).attr("y2", this.settings.currY);
|
|
266
|
+
this.d_anchor.transition().duration(100).attr("x1", this.settings.currX).attr("x2", this.settings.currX);
|
|
267
|
+
this.x_anchor.transition().duration(100).attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
|
|
268
|
+
}).on("mouseleave", () => {
|
|
269
|
+
this.x_anchor.on("mousemove", null);
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
// src/2dmaf.js
|
|
276
|
+
var color1 = "#f9766c";
|
|
277
|
+
var color2 = "#609cff";
|
|
278
|
+
var colorshare = "#01b937";
|
|
279
|
+
var symbols = {
|
|
280
|
+
circle: circle_default,
|
|
281
|
+
cross: cross_default,
|
|
282
|
+
diamond: diamond_default,
|
|
283
|
+
square: square_default,
|
|
284
|
+
star: star_default,
|
|
285
|
+
triangle: triangle_default,
|
|
286
|
+
wye: wye_default
|
|
287
|
+
};
|
|
288
|
+
var symbolFilters = {
|
|
289
|
+
path: (d) => d.symbol,
|
|
290
|
+
circle: (d) => !d.symbol
|
|
291
|
+
};
|
|
292
|
+
var sharedFilters = {
|
|
293
|
+
path: (d) => d.symbol,
|
|
294
|
+
ellipse: (d) => !d.symbol
|
|
295
|
+
};
|
|
296
|
+
function d2mafui(genomes, holder) {
|
|
297
|
+
let pane, inputdiv, gselect, filediv, saydiv, visualdiv;
|
|
298
|
+
if (holder !== void 0) [inputdiv, gselect, filediv, saydiv, visualdiv] = renderSandboxFormDiv(holder, genomes);
|
|
299
|
+
else {
|
|
300
|
+
;
|
|
301
|
+
[pane, inputdiv, gselect, filediv, saydiv, visualdiv] = newpane3(100, 100, genomes);
|
|
302
|
+
pane.header.text("2DMAF: mutant allele fraction plot between a pair of samples");
|
|
303
|
+
pane.body.style("margin", "10px");
|
|
304
|
+
}
|
|
305
|
+
inputdiv.append("div").style("margin-top", "20px").html(
|
|
306
|
+
'<ul><li><a href="https://docs.google.com/document/d/1anyEDMcW1lTSf8399Li2G9r57V-Fqp2591WvoODY7n4/edit#heading=h.mne2ecmp9m13" target=_blank>File format</a></li><li>To define samples differently than "Diagnosis/Relapse", <a href=https://plus.google.com/+XinZhou_s/posts/WqBVvmd3wYR target=_blank>see how</a>.</li></ul>'
|
|
307
|
+
);
|
|
308
|
+
inputdiv.append("p").html("<a href=https://proteinpaint.stjude.org/ppdemo/hg19/2dmaf/2dmaf.txt target=_blank>Example file</a>");
|
|
309
|
+
function cmt(t, red) {
|
|
310
|
+
saydiv.style("color", red ? "red" : "black").html(t);
|
|
311
|
+
}
|
|
312
|
+
const fileui = () => {
|
|
313
|
+
filediv.selectAll("*").remove();
|
|
314
|
+
const input2 = filediv.append("input").attr("type", "file").on("change", (event) => {
|
|
315
|
+
const file = event.target.files[0];
|
|
316
|
+
if (!file) {
|
|
317
|
+
fileui();
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
320
|
+
if (!file.size) {
|
|
321
|
+
cmt("Invalid file " + file.name);
|
|
322
|
+
fileui();
|
|
323
|
+
return;
|
|
324
|
+
}
|
|
325
|
+
const reader = new FileReader();
|
|
326
|
+
reader.onload = (event2) => {
|
|
327
|
+
const usegenome = gselect.options[gselect.selectedIndex].innerHTML;
|
|
328
|
+
const err = parseraw(event2.target.result.trim().split(/\r?\n/), genomes[usegenome], file.name, visualdiv);
|
|
329
|
+
if (err) {
|
|
330
|
+
cmt(err, 1);
|
|
331
|
+
fileui();
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
inputdiv.remove();
|
|
335
|
+
filediv.remove();
|
|
336
|
+
saydiv.remove();
|
|
337
|
+
};
|
|
338
|
+
reader.onerror = function() {
|
|
339
|
+
cmt("Error reading file " + file.name, 1);
|
|
340
|
+
fileui();
|
|
341
|
+
return;
|
|
342
|
+
};
|
|
343
|
+
reader.readAsText(file, "utf8");
|
|
344
|
+
});
|
|
345
|
+
setTimeout(() => input2.node().focus(), 1100);
|
|
346
|
+
};
|
|
347
|
+
fileui();
|
|
348
|
+
}
|
|
349
|
+
function d2mafparseinput(obj, holder) {
|
|
350
|
+
if (!obj.genome) {
|
|
351
|
+
sayerror(holder, ".genome missing for 2dmaf");
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
if (!obj.input) {
|
|
355
|
+
sayerror(holder, ".input missing for 2dmaf");
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
358
|
+
const err = parseraw(obj.input.trim().split(/\r?\n/), obj.genome, obj.datasetname || "unnamed dataset", holder);
|
|
359
|
+
if (err) {
|
|
360
|
+
sayerror(holder, "2DMAF data error: " + err);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
function parseraw(lines, genome, filename, holder) {
|
|
364
|
+
const [headererror, header, headerattrlst] = parseheader(lines[0].trim());
|
|
365
|
+
if (headererror) {
|
|
366
|
+
return headererror;
|
|
367
|
+
}
|
|
368
|
+
const pairs = {};
|
|
369
|
+
const g2mlst = {};
|
|
370
|
+
const peoplehash = {};
|
|
371
|
+
const genehash = {};
|
|
372
|
+
const flag = {
|
|
373
|
+
good: 0,
|
|
374
|
+
purity1set: false,
|
|
375
|
+
purity2set: false,
|
|
376
|
+
pairsetname: {}
|
|
377
|
+
};
|
|
378
|
+
const badlines = [];
|
|
379
|
+
const mclasslabel2key = {};
|
|
380
|
+
for (const k in mclass) {
|
|
381
|
+
mclasslabel2key[mclass[k].label.toUpperCase()] = k;
|
|
382
|
+
}
|
|
383
|
+
for (let i = 1; i < lines.length; i++) {
|
|
384
|
+
if (lines[i] == "") continue;
|
|
385
|
+
if (lines[i][0] == "#") {
|
|
386
|
+
if (lines[i].startsWith("##samplename")) {
|
|
387
|
+
const l = lines[i].trim().split(/[\s\t]+/);
|
|
388
|
+
if (l.length == 4) {
|
|
389
|
+
flag.pairsetname[l[1]] = { 1: l[2], 2: l[3] };
|
|
390
|
+
} else {
|
|
391
|
+
return "Line " + (i + 1) + ': invalid samplename line: must be "##samplename [patient] [sample1] [sample2]"';
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
continue;
|
|
395
|
+
}
|
|
396
|
+
const lst = lines[i].trim().split(" ");
|
|
397
|
+
const m = {};
|
|
398
|
+
for (let j = 0; j < header.length; j++) {
|
|
399
|
+
if (lst[j] != void 0 && lst[j] != "") {
|
|
400
|
+
m[header[j]] = lst[j];
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
if (!m.sample) {
|
|
404
|
+
return "Line " + (i + 1) + ": missing sample";
|
|
405
|
+
}
|
|
406
|
+
if (m.chr) {
|
|
407
|
+
if (m.chr.indexOf("chr") != 0) {
|
|
408
|
+
m.chr = "chr" + m.chr;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
if (m.chrstart) {
|
|
412
|
+
m.chrstart = Number.parseInt(m.chrstart);
|
|
413
|
+
if (Number.isNaN(m.chrstart)) {
|
|
414
|
+
return "Line " + (i + 1) + ": invalid chromosome position";
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
if (m.Dcnvloh) {
|
|
418
|
+
m.Dcnvlohraw = m.Dcnvloh;
|
|
419
|
+
const s2 = m.Dcnvloh.toLowerCase();
|
|
420
|
+
if (s2 == "yes" || s2 != "diploid" && s2 != "haploid") {
|
|
421
|
+
m.Dcnvloh = true;
|
|
422
|
+
} else {
|
|
423
|
+
m.Dcnvloh = false;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
if (m.Rcnvloh) {
|
|
427
|
+
m.Rcnvlohraw = m.Rcnvloh;
|
|
428
|
+
const s2 = m.Rcnvloh.toLowerCase();
|
|
429
|
+
if (s2 == "yes" || s2 != "diploid" && s2 != "haploid") {
|
|
430
|
+
m.Rcnvloh = true;
|
|
431
|
+
} else {
|
|
432
|
+
m.Rcnvloh = false;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
if (!m.call_d) {
|
|
436
|
+
badlines.push([i, "missing call_d", lst]);
|
|
437
|
+
continue;
|
|
438
|
+
}
|
|
439
|
+
if (m.call_d != "somatic" && m.call_d != "wildtype") {
|
|
440
|
+
badlines.push([i, "call_d is neither somatic nor wildtype", lst]);
|
|
441
|
+
continue;
|
|
442
|
+
}
|
|
443
|
+
if (!m.call_r) {
|
|
444
|
+
badlines.push([i, "missing call_r", lst]);
|
|
445
|
+
continue;
|
|
446
|
+
}
|
|
447
|
+
if (m.call_r != "somatic" && m.call_r != "wildtype") {
|
|
448
|
+
badlines.push([i, "call_r is neither somatic nor wildtype", lst]);
|
|
449
|
+
continue;
|
|
450
|
+
}
|
|
451
|
+
if (m.call_d == "somatic") {
|
|
452
|
+
if (m.call_r == "somatic") {
|
|
453
|
+
m.set_share = true;
|
|
454
|
+
} else {
|
|
455
|
+
m.set_1 = true;
|
|
456
|
+
}
|
|
457
|
+
} else {
|
|
458
|
+
if (m.call_r == "somatic") {
|
|
459
|
+
m.set_2 = true;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
if (!m.type) {
|
|
463
|
+
badlines.push([i, "missing type", lst]);
|
|
464
|
+
continue;
|
|
465
|
+
}
|
|
466
|
+
const s = m.type.toLowerCase();
|
|
467
|
+
if (s == "snv" || s == "snp" || s == "mnv" || s == "complex") {
|
|
468
|
+
m.issnv = true;
|
|
469
|
+
} else if (s == "indel" || s == "ins" || s == "del") {
|
|
470
|
+
m.isindel = true;
|
|
471
|
+
} else {
|
|
472
|
+
badlines.push([i, "type must be either SNV or INDEL", lst]);
|
|
473
|
+
continue;
|
|
474
|
+
}
|
|
475
|
+
let key = "MinD.D";
|
|
476
|
+
let a = Number.parseInt(m[key]);
|
|
477
|
+
if (Number.isNaN(a) || a < 0) {
|
|
478
|
+
badlines.push([i, "invalid " + key + " value", lst]);
|
|
479
|
+
continue;
|
|
480
|
+
}
|
|
481
|
+
m[key] = a;
|
|
482
|
+
key = "TinD.D";
|
|
483
|
+
a = Number.parseInt(m[key]);
|
|
484
|
+
if (Number.isNaN(a) || a < 0) {
|
|
485
|
+
badlines.push([i, "invalid " + key + " value", lst]);
|
|
486
|
+
continue;
|
|
487
|
+
}
|
|
488
|
+
m[key] = a;
|
|
489
|
+
if (m["TinD.D"] < m["MinD.D"]) {
|
|
490
|
+
badlines.push([i, "TinD.D value lower than MinD.D", lst]);
|
|
491
|
+
continue;
|
|
492
|
+
}
|
|
493
|
+
key = "MinN.D";
|
|
494
|
+
if (key in m) {
|
|
495
|
+
a = Number.parseInt(m[key]);
|
|
496
|
+
if (Number.isNaN(a) || a < 0) {
|
|
497
|
+
delete m[key];
|
|
498
|
+
} else {
|
|
499
|
+
m[key] = a;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
key = "TinN.D";
|
|
503
|
+
if (key in m) {
|
|
504
|
+
a = Number.parseInt(m[key]);
|
|
505
|
+
if (Number.isNaN(a) || a < 0) {
|
|
506
|
+
delete m[key];
|
|
507
|
+
} else {
|
|
508
|
+
m[key] = a;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
key = "MinD.R";
|
|
512
|
+
a = Number.parseInt(m[key]);
|
|
513
|
+
if (Number.isNaN(a) || a < 0) {
|
|
514
|
+
badlines.push([i, "invalid " + key + " value", lst]);
|
|
515
|
+
continue;
|
|
516
|
+
}
|
|
517
|
+
m[key] = a;
|
|
518
|
+
key = "TinD.R";
|
|
519
|
+
a = Number.parseInt(m[key]);
|
|
520
|
+
if (Number.isNaN(a) || a < 0) {
|
|
521
|
+
badlines.push([i, "invalid " + key + " value", lst]);
|
|
522
|
+
continue;
|
|
523
|
+
}
|
|
524
|
+
m[key] = a;
|
|
525
|
+
if (m["TinD.R"] < m["MinD.R"]) {
|
|
526
|
+
badlines.push([i, "TinD.R value lower than MinD.R", lst]);
|
|
527
|
+
continue;
|
|
528
|
+
}
|
|
529
|
+
key = "MinN.R";
|
|
530
|
+
if (key in m) {
|
|
531
|
+
a = Number.parseInt(m[key]);
|
|
532
|
+
if (Number.isNaN(a) || a < 0) {
|
|
533
|
+
delete m[key];
|
|
534
|
+
} else {
|
|
535
|
+
m[key] = a;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
key = "TinN.R";
|
|
539
|
+
if (key in m) {
|
|
540
|
+
a = Number.parseInt(m[key]);
|
|
541
|
+
if (Number.isNaN(a) || a < 0) {
|
|
542
|
+
delete m[key];
|
|
543
|
+
} else {
|
|
544
|
+
m[key] = a;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
if (m.symbol) {
|
|
548
|
+
if (!symbols[m.symbol]) {
|
|
549
|
+
badlines.push([i, "Invalid symbol value='" + m.symbol + "'", lst]);
|
|
550
|
+
continue;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
if (m.class) {
|
|
554
|
+
const s2 = m.class.toUpperCase();
|
|
555
|
+
if (s2 in mclasslabel2key) {
|
|
556
|
+
m.class = mclasslabel2key[s2];
|
|
557
|
+
} else {
|
|
558
|
+
badlines.push([i, "invalid mutation class " + m.class, lst]);
|
|
559
|
+
continue;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
m.style = {
|
|
563
|
+
fill: m.issnv ? "white" : "black",
|
|
564
|
+
fillhl: m.class ? mclass[m.class].color : "#ccc",
|
|
565
|
+
stroke: m.chr == "chrX" ? "black" : m.issnv ? "black" : "none",
|
|
566
|
+
strokehl: m.class ? mclass[m.class].color : "black",
|
|
567
|
+
fillopacity: m.issnv ? 0 : 0.2,
|
|
568
|
+
strokeopacity: 0.2
|
|
569
|
+
};
|
|
570
|
+
if (m["TinD.D"] > 0) {
|
|
571
|
+
m.maf1 = m["MinD.D"] / m["TinD.D"];
|
|
572
|
+
}
|
|
573
|
+
if (m["TinD.R"] > 0) {
|
|
574
|
+
m.maf2 = m["MinD.R"] / m["TinD.R"];
|
|
575
|
+
}
|
|
576
|
+
peoplehash[m.sample] = 1;
|
|
577
|
+
if (m.gene) {
|
|
578
|
+
genehash[m.gene] = 1;
|
|
579
|
+
}
|
|
580
|
+
if (!(m.sample in pairs)) {
|
|
581
|
+
pairs[m.sample] = {
|
|
582
|
+
name: m.sample,
|
|
583
|
+
shown: false,
|
|
584
|
+
header,
|
|
585
|
+
mlst: []
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
const v = pairs[m.sample];
|
|
589
|
+
v.mlst.push(m);
|
|
590
|
+
if (m.purity1) {
|
|
591
|
+
let p = Number.parseFloat(m.purity1);
|
|
592
|
+
if (Number.isNaN(p)) {
|
|
593
|
+
badlines.push([i, "diagnosis tumor purity should be a number"]);
|
|
594
|
+
p = 0;
|
|
595
|
+
} else {
|
|
596
|
+
if (p > 1) {
|
|
597
|
+
p /= 100;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
if (p > 0) {
|
|
601
|
+
if (v.purity1 == void 0) {
|
|
602
|
+
v.purity1 = p;
|
|
603
|
+
flag.purity1set = true;
|
|
604
|
+
} else if (v.purity1 != p) {
|
|
605
|
+
badlines.push([
|
|
606
|
+
i,
|
|
607
|
+
"diagnosis tumor purity value " + p + " is different from existing value " + v.purity1 + " in " + m.sample,
|
|
608
|
+
lst
|
|
609
|
+
]);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
if (m.purity2) {
|
|
614
|
+
let p = Number.parseFloat(m.purity2);
|
|
615
|
+
if (Number.isNaN(p)) {
|
|
616
|
+
badlines.push([i, "relapse tumor purity should be a number"]);
|
|
617
|
+
p = 0;
|
|
618
|
+
} else {
|
|
619
|
+
if (p > 1) {
|
|
620
|
+
p /= 100;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
if (p > 0) {
|
|
624
|
+
if (v.purity2 == void 0) {
|
|
625
|
+
v.purity2 = p;
|
|
626
|
+
flag.purity2set = true;
|
|
627
|
+
} else if (v.purity2 != p) {
|
|
628
|
+
badlines.push([
|
|
629
|
+
i,
|
|
630
|
+
"relapse tumor purity value " + p + " is different from existing value " + v.purity2 + " in " + m.sample,
|
|
631
|
+
lst
|
|
632
|
+
]);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
flag.good++;
|
|
637
|
+
}
|
|
638
|
+
if (badlines.length > 0) {
|
|
639
|
+
bulk_badline(header, badlines);
|
|
640
|
+
}
|
|
641
|
+
if (flag.good == 0) {
|
|
642
|
+
return "No valid data.";
|
|
643
|
+
}
|
|
644
|
+
holder.append("p").text("File: " + filename);
|
|
645
|
+
let peopletotal = 0;
|
|
646
|
+
for (const n in peoplehash) peopletotal++;
|
|
647
|
+
let genetotal = 0;
|
|
648
|
+
for (const n in genehash) genetotal++;
|
|
649
|
+
const boxh = 16;
|
|
650
|
+
const table = holder.append("table");
|
|
651
|
+
const tr = table.append("tr");
|
|
652
|
+
const td = tr.append("td").attr("valign", "top");
|
|
653
|
+
td.append("div").html(
|
|
654
|
+
'<div style="display:inline-block;width:' + boxh + "px;height:" + boxh + "px;background-color:" + color1 + '"></div> Diagnosis only <div style="display:inline-block;width:' + boxh + "px;height:" + boxh + "px;background-color:" + colorshare + '"></div> Shared <div style="display:inline-block;width:' + boxh + "px;height:" + boxh + "px;background-color:" + color2 + '"></div> Relapse only'
|
|
655
|
+
);
|
|
656
|
+
const peopleholder = td.append("div").style("margin-top", "10px").style("height", "200px").style("width", "300px").style("padding", "5px").style("overflow-y", "scroll").style("resize", "both").style("border", "solid 1px #ccc");
|
|
657
|
+
const geneholder = td.append("div").style("margin-top", "10px").style("height", "200px").style("width", "300px").style("padding", "5px").style("overflow-y", "scroll").style("resize", "both").style("border", "solid 1px #ccc");
|
|
658
|
+
const showholder = tr.append("td").style("vertical-align", "top");
|
|
659
|
+
for (const n in pairs) {
|
|
660
|
+
const ss = flag.pairsetname[n];
|
|
661
|
+
if (ss) {
|
|
662
|
+
pairs[n].setname = ss;
|
|
663
|
+
} else {
|
|
664
|
+
pairs[n].setname = { 1: "Diagnosis", 2: "Relapse" };
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
const odata = {
|
|
668
|
+
genome,
|
|
669
|
+
//dsname:dsname,
|
|
670
|
+
pairs,
|
|
671
|
+
color1,
|
|
672
|
+
color2,
|
|
673
|
+
colorshare,
|
|
674
|
+
rowh: boxh,
|
|
675
|
+
peoplewidth: 150,
|
|
676
|
+
genewidth: 150,
|
|
677
|
+
showholder,
|
|
678
|
+
//peoplelimit:Math.min(20,peopletotal),
|
|
679
|
+
genelimit: Math.min(20, genetotal),
|
|
680
|
+
purity1set: flag.purity1set,
|
|
681
|
+
purity2set: flag.purity2set
|
|
682
|
+
};
|
|
683
|
+
d2maf_peopletable(odata, peopleholder);
|
|
684
|
+
}
|
|
685
|
+
function parseheader(line) {
|
|
686
|
+
const lower = line.toLowerCase().split(" ");
|
|
687
|
+
const header = line.split(" ");
|
|
688
|
+
if (header.length <= 1) {
|
|
689
|
+
return ["invalid file header"];
|
|
690
|
+
}
|
|
691
|
+
const htry = (...lst) => {
|
|
692
|
+
for (const i2 of lst) {
|
|
693
|
+
const j = lower.indexOf(i2);
|
|
694
|
+
if (j != -1) return j;
|
|
695
|
+
}
|
|
696
|
+
return -1;
|
|
697
|
+
};
|
|
698
|
+
let i = htry("person", "sample", "samplename", "patient");
|
|
699
|
+
if (i == -1) return ["sample missing from header"];
|
|
700
|
+
header[i] = "sample";
|
|
701
|
+
i = htry("type");
|
|
702
|
+
if (i == -1) return ["type missing from header"];
|
|
703
|
+
header[i] = "type";
|
|
704
|
+
i = htry("mind.d1_g1", "mind.d", "mind");
|
|
705
|
+
if (i == -1) return ["MinD.D missing from header"];
|
|
706
|
+
header[i] = "MinD.D";
|
|
707
|
+
i = htry("tind.d1_g1", "tind.d", "tind");
|
|
708
|
+
if (i == -1) return ["TinD.D missing from header"];
|
|
709
|
+
header[i] = "TinD.D";
|
|
710
|
+
i = htry("mind.r1_g1", "mind.r", "minr");
|
|
711
|
+
if (i == -1) return ["MinD.R missing from header"];
|
|
712
|
+
header[i] = "MinD.R";
|
|
713
|
+
i = htry("tind.r1_g1", "tind.r", "tinr");
|
|
714
|
+
if (i == -1) return ["TinD.R missing from header"];
|
|
715
|
+
header[i] = "TinD.R";
|
|
716
|
+
i = htry("call_d1_g1", "call_d");
|
|
717
|
+
if (i == -1) return ["call_d missing from header"];
|
|
718
|
+
header[i] = "call_d";
|
|
719
|
+
i = htry("call_r1_g1", "call_r");
|
|
720
|
+
if (i == -1) return ["call_r missing from header"];
|
|
721
|
+
header[i] = "call_r";
|
|
722
|
+
i = htry("genename", "gene");
|
|
723
|
+
if (i == -1) return ["gene missing from header"];
|
|
724
|
+
header[i] = "gene";
|
|
725
|
+
i = htry("amino_acid_change", "annovar_sj_aachange", "aachange", "protein_change");
|
|
726
|
+
if (i == -1) return ["amino_acid_change missing from header"];
|
|
727
|
+
header[i] = "mname";
|
|
728
|
+
i = htry("class", "mclass", "variant_class", "variant_classification", "annovar_sj_class");
|
|
729
|
+
if (i == -1) return ["variant_class missing from header"];
|
|
730
|
+
header[i] = "class";
|
|
731
|
+
i = htry("chromosome", "chr");
|
|
732
|
+
if (i == -1) return ["chromosome missing from header"];
|
|
733
|
+
header[i] = "chr";
|
|
734
|
+
i = htry("start", "start_position", "wu_hg19_pos", "chr_position");
|
|
735
|
+
if (i == -1) return ["start missing from header"];
|
|
736
|
+
header[i] = "chrstart";
|
|
737
|
+
i = htry("minn.d1_g1", "minn.d");
|
|
738
|
+
if (i != -1) header[i] = "MinN.D";
|
|
739
|
+
i = htry("tinn.d1_g1", "tinn.d");
|
|
740
|
+
if (i != -1) header[i] = "TinN.D";
|
|
741
|
+
i = htry("minn.r1_g1", "minn.r");
|
|
742
|
+
if (i != -1) header[i] = "MinN.R";
|
|
743
|
+
i = htry("tinn.r1_g1", "tinn.r");
|
|
744
|
+
if (i != -1) header[i] = "TinN.R";
|
|
745
|
+
i = htry("mrna_accession", "refseq_mrna_id", "annovar_sj_filter_isoform", "refseq");
|
|
746
|
+
if (i != -1) header[i] = "isoform";
|
|
747
|
+
i = htry("primary_purity", "purity_d");
|
|
748
|
+
if (i != -1) header[i] = "purity1";
|
|
749
|
+
i = htry("relapse_purity", "purity_r");
|
|
750
|
+
if (i != -1) header[i] = "purity2";
|
|
751
|
+
i = htry("tag_d_cnvloh", "cnvloh_d");
|
|
752
|
+
if (i != -1) header[i] = "Dcnvloh";
|
|
753
|
+
i = htry("tag_r_cnvloh", "cnvloh_r");
|
|
754
|
+
if (i != -1) header[i] = "Rcnvloh";
|
|
755
|
+
const atlst = [];
|
|
756
|
+
for (const j of header) {
|
|
757
|
+
switch (j) {
|
|
758
|
+
case "Dcnvloh":
|
|
759
|
+
atlst.push({
|
|
760
|
+
label: "D. CNV/LOH",
|
|
761
|
+
get: (m) => m.Dcnvlohraw
|
|
762
|
+
});
|
|
763
|
+
break;
|
|
764
|
+
case "Rcnvloh":
|
|
765
|
+
atlst.push({
|
|
766
|
+
label: "R. CNV/LOH",
|
|
767
|
+
get: (m) => m.Rcnvlohraw
|
|
768
|
+
});
|
|
769
|
+
break;
|
|
770
|
+
case "type":
|
|
771
|
+
atlst.push({
|
|
772
|
+
label: "Type",
|
|
773
|
+
get: (m) => m.type
|
|
774
|
+
});
|
|
775
|
+
break;
|
|
776
|
+
case "chr":
|
|
777
|
+
break;
|
|
778
|
+
case "chrstart":
|
|
779
|
+
atlst.push({
|
|
780
|
+
label: "Genome Loc.",
|
|
781
|
+
get: (m) => m.chr + ":" + (m.chrstart + 1)
|
|
782
|
+
});
|
|
783
|
+
break;
|
|
784
|
+
case "class":
|
|
785
|
+
atlst.push({
|
|
786
|
+
label: "Class",
|
|
787
|
+
get: (m) => {
|
|
788
|
+
if (m.class == mclassnonstandard) {
|
|
789
|
+
return m.originalclasslabel ? m.originalclasslabel : mclass[m.class].label;
|
|
790
|
+
}
|
|
791
|
+
return mclass[m.class].label;
|
|
792
|
+
}
|
|
793
|
+
});
|
|
794
|
+
break;
|
|
795
|
+
case "mname":
|
|
796
|
+
atlst.push({
|
|
797
|
+
label: "Mutation",
|
|
798
|
+
get: (m) => {
|
|
799
|
+
let s = m.mname;
|
|
800
|
+
if (!s) s = m.cdna_change;
|
|
801
|
+
return s;
|
|
802
|
+
}
|
|
803
|
+
});
|
|
804
|
+
break;
|
|
805
|
+
case "MinD.D":
|
|
806
|
+
atlst.push({
|
|
807
|
+
ismaf: true,
|
|
808
|
+
width: 60,
|
|
809
|
+
height: 14,
|
|
810
|
+
readcountcredible: 30,
|
|
811
|
+
get: (m) => m.maf_diagnosis,
|
|
812
|
+
label: "D. tumor MAF",
|
|
813
|
+
fill: "#F7483B",
|
|
814
|
+
fillbg: "#FCBAB6"
|
|
815
|
+
});
|
|
816
|
+
break;
|
|
817
|
+
case "TinD.D":
|
|
818
|
+
break;
|
|
819
|
+
case "MinD.R":
|
|
820
|
+
atlst.push({
|
|
821
|
+
ismaf: true,
|
|
822
|
+
width: 60,
|
|
823
|
+
height: 14,
|
|
824
|
+
readcountcredible: 30,
|
|
825
|
+
get: (m) => m.maf_relapse,
|
|
826
|
+
label: "R. tumor MAF",
|
|
827
|
+
fill: "#146EFF",
|
|
828
|
+
fillbg: "#B6D5FC"
|
|
829
|
+
});
|
|
830
|
+
break;
|
|
831
|
+
case "TinD.R":
|
|
832
|
+
break;
|
|
833
|
+
case "MinN.D":
|
|
834
|
+
atlst.push({
|
|
835
|
+
ismaf: true,
|
|
836
|
+
width: 60,
|
|
837
|
+
height: 14,
|
|
838
|
+
readcountcredible: 30,
|
|
839
|
+
get: (m) => m.maf_diagnosis_normal,
|
|
840
|
+
label: "D. normal MAF",
|
|
841
|
+
fill: "#F7483B",
|
|
842
|
+
fillbg: "#FCBAB6"
|
|
843
|
+
});
|
|
844
|
+
break;
|
|
845
|
+
case "TinN.D":
|
|
846
|
+
break;
|
|
847
|
+
case "MinN.R":
|
|
848
|
+
atlst.push({
|
|
849
|
+
ismaf: true,
|
|
850
|
+
width: 60,
|
|
851
|
+
height: 14,
|
|
852
|
+
readcountcredible: 30,
|
|
853
|
+
get: (m) => m.maf_relapse_normal,
|
|
854
|
+
label: "R. normal MAF",
|
|
855
|
+
fill: "#146EFF",
|
|
856
|
+
fillbg: "#B6D5FC"
|
|
857
|
+
});
|
|
858
|
+
break;
|
|
859
|
+
case "TinN.R":
|
|
860
|
+
break;
|
|
861
|
+
case "call_d":
|
|
862
|
+
atlst.push({
|
|
863
|
+
label: "D. call",
|
|
864
|
+
get: (m) => m.call_d
|
|
865
|
+
});
|
|
866
|
+
break;
|
|
867
|
+
case "call_r":
|
|
868
|
+
atlst.push({
|
|
869
|
+
label: "R. call",
|
|
870
|
+
get: (m) => m.call_r
|
|
871
|
+
});
|
|
872
|
+
break;
|
|
873
|
+
case "purity1":
|
|
874
|
+
atlst.push({
|
|
875
|
+
label: "D. purity",
|
|
876
|
+
get: (m) => m.purity1
|
|
877
|
+
});
|
|
878
|
+
break;
|
|
879
|
+
case "purity2":
|
|
880
|
+
atlst.push({
|
|
881
|
+
label: "R. purity",
|
|
882
|
+
get: (m) => m.purity2
|
|
883
|
+
});
|
|
884
|
+
break;
|
|
885
|
+
default:
|
|
886
|
+
atlst.push({
|
|
887
|
+
label: j,
|
|
888
|
+
get: (m) => m[j]
|
|
889
|
+
});
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
return [null, header, atlst];
|
|
893
|
+
}
|
|
894
|
+
function d2maf_render(showholder, pdata) {
|
|
895
|
+
const tooltip = new Menu({ border: "solid 1px black" });
|
|
896
|
+
const set_1 = [];
|
|
897
|
+
const set_2 = [];
|
|
898
|
+
const set_share = [];
|
|
899
|
+
const mlst = pdata.mlst;
|
|
900
|
+
const person = mlst[0].sample;
|
|
901
|
+
const symbolgen = Symbol();
|
|
902
|
+
let maxtotal = 0;
|
|
903
|
+
let bysymbol = {};
|
|
904
|
+
const mclasses = {};
|
|
905
|
+
for (const m of mlst) {
|
|
906
|
+
if (m["TinD.D"] > 0) {
|
|
907
|
+
maxtotal = Math.max(maxtotal, m["TinD.D"]);
|
|
908
|
+
}
|
|
909
|
+
if (m["TinD.R"] > 0) {
|
|
910
|
+
maxtotal = Math.max(maxtotal, m["TinD.R"]);
|
|
911
|
+
}
|
|
912
|
+
if (m.set_share) {
|
|
913
|
+
set_share.push(m);
|
|
914
|
+
} else if (m.set_1) {
|
|
915
|
+
set_1.push(m);
|
|
916
|
+
} else if (m.set_2) {
|
|
917
|
+
set_2.push(m);
|
|
918
|
+
}
|
|
919
|
+
if (!(m.class in mclasses)) {
|
|
920
|
+
mclasses[m.class] = 0;
|
|
921
|
+
}
|
|
922
|
+
if (m.symbol) {
|
|
923
|
+
if (!bysymbol[m.symbol]) {
|
|
924
|
+
bysymbol[m.symbol] = { numlines: 0, label: m.symbollabel, hidden: false };
|
|
925
|
+
}
|
|
926
|
+
bysymbol[m.symbol].numlines++;
|
|
927
|
+
}
|
|
928
|
+
mclasses[m.class]++;
|
|
929
|
+
}
|
|
930
|
+
const a = Math.min(window.innerWidth, window.innerHeight);
|
|
931
|
+
const axiswidth = 50, sharewidth = a * 0.5, shareheight = a * 0.5, sample1height = shareheight / 2, sample2height = sharewidth / 2, sp = axiswidth / 3, sp2 = sample1height / 5, labelfontsize = Math.min(20, 12 * a / 500), radius = a / 40, indelboxw = radius * 0.7, r_cnvloh = 3;
|
|
932
|
+
const radiusscale = linear().domain([0, maxtotal]).range([radius / 2, radius]);
|
|
933
|
+
const radiustoarea = (d) => Math.PI * Math.pow(radiusscale(d), 2);
|
|
934
|
+
for (const m of mlst) {
|
|
935
|
+
m.radius = Math.max(m["TinD.D"] ? radiusscale(m["TinD.D"]) : 0, m["TinD.R"] ? radiusscale(m["TinD.R"]) : 0);
|
|
936
|
+
}
|
|
937
|
+
const outtable = showholder.append("table");
|
|
938
|
+
const tr = outtable.append("tr");
|
|
939
|
+
const tdgraph = tr.append("td").style("vertical-align", "top");
|
|
940
|
+
const tdgenetable = tr.append("td").style("vertical-align", "top");
|
|
941
|
+
tdgenetable.append("div").style("margin", "10px").text("Name: " + person);
|
|
942
|
+
const headerdiv = tdgraph.append("div");
|
|
943
|
+
headerdiv.append("button").text("Hide").on("click", () => {
|
|
944
|
+
pdata.shown = false;
|
|
945
|
+
if (pdata.handle) {
|
|
946
|
+
pdata.handle.attr("font-weight", "normal");
|
|
947
|
+
}
|
|
948
|
+
outtable.remove();
|
|
949
|
+
});
|
|
950
|
+
const anchors = new Anchors({ axiswidth, sp, sp2, sample1height, sample2height, shareheight, sharewidth, headerdiv });
|
|
951
|
+
headerdiv.append("button").text("Screenshot").on("click", () => {
|
|
952
|
+
to_svg(svg.node(), "2dmaf_" + pdata.name);
|
|
953
|
+
});
|
|
954
|
+
{
|
|
955
|
+
const mcselect = headerdiv.append("select").on("change", (event) => {
|
|
956
|
+
const v = event.target.options[event.target.selectedIndex].value;
|
|
957
|
+
if (v == "all") {
|
|
958
|
+
select_share.transition().attr("transform", (d) => d.posstring + " scale(1)");
|
|
959
|
+
select_set1.transition().attr("transform", (d) => d.posstring + " scale(1)");
|
|
960
|
+
select_set2.transition().attr("transform", (d) => d.posstring + " scale(1)");
|
|
961
|
+
return;
|
|
962
|
+
}
|
|
963
|
+
select_share.transition().attr("transform", (d) => d.posstring + " scale(" + (d.class == v ? 1 : 0) + ")");
|
|
964
|
+
select_set1.transition().attr("transform", (d) => d.posstring + " scale(" + (d.class == v ? 1 : 0) + ")");
|
|
965
|
+
select_set2.transition().attr("transform", (d) => d.posstring + " scale(" + (d.class == v ? 1 : 0) + ")");
|
|
966
|
+
});
|
|
967
|
+
mcselect.append("option").text("Show all mutation classes").property("value", "all");
|
|
968
|
+
const lst = [];
|
|
969
|
+
for (const c3 in mclasses) {
|
|
970
|
+
lst.push([c3, mclasses[c3]]);
|
|
971
|
+
}
|
|
972
|
+
lst.sort((a2, b) => b[1] - a2[1]);
|
|
973
|
+
for (const i of lst) {
|
|
974
|
+
mcselect.append("option").text((i[0] in mclass ? mclass[i[0]].label : i[0]) + " (" + i[1] + ")").property("value", i[0]);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
const svg = tdgraph.append("svg").attr("width", axiswidth + sp + sample2height + sharewidth + sp * 2).attr("height", axiswidth + sp + sample1height + shareheight + sp * 2);
|
|
978
|
+
const g = svg.append("g").attr("transform", "translate(" + sp + "," + sp + ")");
|
|
979
|
+
anchors.setWrapper(g.append("g"));
|
|
980
|
+
const scale1 = linear().domain([0, 1]).range([0, sharewidth]);
|
|
981
|
+
const scalediv1 = g.append("g").attr("transform", "translate(" + (axiswidth + sp + sample2height) + "," + (shareheight + sample1height + sp) + ")").call(axisBottom().scale(scale1).tickSize(5));
|
|
982
|
+
axisstyle({ axis: scalediv1, showline: true, fontsize: labelfontsize * 0.8 });
|
|
983
|
+
const c = set_1.length + set_share.length;
|
|
984
|
+
scalediv1.append("text").text(pdata.setname[1] + ", n=" + c + (pdata.purity1 ? ", purity=" + pdata.purity1 : "")).attr("x", sharewidth / 2).attr("y", axiswidth - 4).attr("text-anchor", "middle").attr("font-size", labelfontsize);
|
|
985
|
+
const scale2 = linear().domain([0, 1]).range([shareheight, 0]);
|
|
986
|
+
const scalediv2 = g.append("g").attr("transform", "translate(" + axiswidth + ",0)").call(axisLeft().scale(scale2).tickSize(5));
|
|
987
|
+
axisstyle({ axis: scalediv2, showline: true, fontsize: labelfontsize * 0.8 });
|
|
988
|
+
const c2 = set_2.length + set_share.length;
|
|
989
|
+
scalediv2.append("text").text(pdata.setname[2] + ", n=" + c2 + (pdata.purity2 ? ", purity=" + pdata.purity2 : "")).attr("transform", "translate(" + (labelfontsize - axiswidth - 10) + "," + shareheight / 2 + ") rotate(-90)").attr("text-anchor", "middle").attr("font-size", labelfontsize);
|
|
990
|
+
g.append("path").attr(
|
|
991
|
+
"d",
|
|
992
|
+
"M" + (axiswidth + sp) + ",0h" + (sample2height + sharewidth) + "v" + (shareheight + sample1height) + "h-" + sharewidth + "v-" + (sample1height + shareheight) + "M" + (axiswidth + sp) + ",0v" + shareheight + "h" + (sample2height + sharewidth) + "M" + (axiswidth + sp + sample2height) + "," + shareheight + "l" + sharewidth + ",-" + shareheight
|
|
993
|
+
).attr("fill", "none").attr("stroke", "black").attr("shape-rendering", "crispEdges").attr("stroke-dasharray", "5,5");
|
|
994
|
+
const select_share = g.append("g").attr("transform", "translate(" + (axiswidth + sp + sample2height) + ",0)").selectAll().data(set_share).enter().append("g").attr("transform", (d) => {
|
|
995
|
+
d.posstring = "translate(" + scale1(d.maf1) + "," + scale2(d.maf2) + ")";
|
|
996
|
+
return d.posstring;
|
|
997
|
+
});
|
|
998
|
+
select_share.filter((d) => d.Dcnvloh).append("circle").attr("cy", (d) => {
|
|
999
|
+
return d.issnv ? radiusscale(d["TinD.R"]) : indelboxw / 2;
|
|
1000
|
+
}).attr("fill", "#858585").attr("r", r_cnvloh);
|
|
1001
|
+
select_share.filter((d) => d.Rcnvloh).append("circle").attr("cx", (d) => {
|
|
1002
|
+
return d.issnv ? -radiusscale(d["TinD.D"]) : -indelboxw / 2;
|
|
1003
|
+
}).attr("fill", "#858585").attr("r", r_cnvloh);
|
|
1004
|
+
let snv = select_share;
|
|
1005
|
+
for (const tagName in sharedFilters) {
|
|
1006
|
+
snv.filter(sharedFilters[tagName]).append(tagName).attr("rx", (d) => d.symbol ? null : radiusscale(d["TinD.D"])).attr("ry", (d) => d.symbol ? null : radiusscale(d["TinD.R"])).attr(
|
|
1007
|
+
"d",
|
|
1008
|
+
(d) => !d.symbol ? null : symbolgen.type(symbols[d.symbol]).size(radiustoarea(d["TinD.D"]) + radiustoarea(d["TinD.R"]) / 2)()
|
|
1009
|
+
).attr("fill", (d) => d.style.fill).attr("fill-opacity", (d) => d.style.fillopacity).attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("stroke-dasharray", (d) => d.chr == "chrX" ? "5,5" : "none").on("mouseover", (event, d) => d2maf_dotmover(event, d, tooltip)).on("mouseout", (event, d) => d2maf_dotmout(event, d, tooltip)).on("click", (event, d) => d2maf_minfo(event, pdata.header, d));
|
|
1010
|
+
}
|
|
1011
|
+
snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", -3).attr("x2", 3).attr("y2", 3);
|
|
1012
|
+
snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", 3).attr("x2", 3).attr("y2", -3);
|
|
1013
|
+
const set1totalscale = linear().domain([0, maxtotal]).range([sample1height - sp2, 0]);
|
|
1014
|
+
const g_set1 = g.append("g").attr("transform", "translate(" + (axiswidth + sp + sample2height) + "," + (shareheight + sp2) + ")");
|
|
1015
|
+
const emaflinecolor = "#FFBEAD";
|
|
1016
|
+
const emafline_1 = g_set1.append("rect").attr("fill", emaflinecolor).attr("fill-opacity", 0).attr("x", 0).attr("width", 3).attr("height", sample1height - sp2);
|
|
1017
|
+
axisstyle({
|
|
1018
|
+
axis: g_set1.call(axisLeft().scale(set1totalscale).tickValues([0, maxtotal])),
|
|
1019
|
+
showline: true,
|
|
1020
|
+
fontsize: labelfontsize * 0.8
|
|
1021
|
+
});
|
|
1022
|
+
g_set1.append("g").attr("transform", "translate(-" + labelfontsize / 2 + "," + (sample1height - sp2) / 2 + ")").append("text").text("D total").attr("font-size", labelfontsize * 0.8).attr("font-family", font).attr("fill", "black").attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("transform", "rotate(-90)");
|
|
1023
|
+
const select_set1 = g_set1.selectAll().data(set_1).enter().append("g").attr("transform", (d) => {
|
|
1024
|
+
d.posstring = "translate(" + scale1(d.maf1) + "," + set1totalscale(d["TinD.D"]) + ")";
|
|
1025
|
+
return d.posstring;
|
|
1026
|
+
});
|
|
1027
|
+
select_set1.filter((d) => d.Dcnvloh).append("circle").attr("cy", (d) => {
|
|
1028
|
+
return d.issnv ? radiusscale(d["TinD.R"]) : indelboxw / 2;
|
|
1029
|
+
}).attr("fill", "#858585").attr("r", r_cnvloh);
|
|
1030
|
+
select_set1.filter((d) => d.Rcnvloh).append("circle").attr("cx", (d) => d.issnv ? -radiusscale(d["TinD.D"]) : -indelboxw / 2).attr("fill", "#858585").attr("r", r_cnvloh);
|
|
1031
|
+
snv = select_set1;
|
|
1032
|
+
for (const tagName in symbolFilters) {
|
|
1033
|
+
snv.filter(symbolFilters[tagName]).append(tagName).attr("class", (d) => d.symbol ? "twodmaf-" + d.symbol : null).attr("r", (d) => d.symbol ? null : radiusscale(d["TinD.R"])).attr("d", (d) => !d.symbol ? null : symbolgen.type(symbols[d.symbol]).size(radiustoarea(d["TinD.R"]))()).attr("fill", (d) => d.style.fill).attr("fill-opacity", (d) => d.style.fillopacity).attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("stroke-dasharray", (d) => d.chr == "chrX" ? "5,5" : "none").on("mouseover", (event, d) => d2maf_dotmover(event, d, tooltip)).on("mouseout", (event, d) => d2maf_dotmout(event, d, tooltip)).on("click", (event, d) => d2maf_minfo(event, pdata.header, d));
|
|
1034
|
+
}
|
|
1035
|
+
snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", -3).attr("x2", 3).attr("y2", 3);
|
|
1036
|
+
snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", 3).attr("x2", 3).attr("y2", -3);
|
|
1037
|
+
const set2totalscale = linear().domain([0, maxtotal]).range([0, sample2height - sp2]);
|
|
1038
|
+
const g_set2 = g.append("g").attr("transform", "translate(" + (axiswidth + sp) + ",0)");
|
|
1039
|
+
const emafline_2 = g_set2.append("rect").attr("fill", emaflinecolor).attr("fill-opacity", 0).attr("y", shareheight).attr("width", sample2height - sp2).attr("height", 3);
|
|
1040
|
+
const g_set2_axis = g_set2.append("g").attr("transform", "translate(0," + shareheight + ")").call(axisBottom().scale(set2totalscale).tickValues([0, maxtotal]));
|
|
1041
|
+
axisstyle({
|
|
1042
|
+
axis: g_set2_axis,
|
|
1043
|
+
showline: true,
|
|
1044
|
+
fontsize: labelfontsize * 0.8
|
|
1045
|
+
});
|
|
1046
|
+
g_set2.append("text").text("R total").attr("font-size", labelfontsize * 0.8).attr("font-family", font).attr("fill", "black").attr("x", (sample2height - sp2) / 2).attr("y", shareheight + labelfontsize).attr("text-anchor", "middle");
|
|
1047
|
+
const select_set2 = g_set2.selectAll().data(set_2).enter().append("g").attr("transform", (d) => {
|
|
1048
|
+
d.posstring = "translate(" + set2totalscale(d["TinD.R"]) + "," + scale2(d.maf2) + ")";
|
|
1049
|
+
return d.posstring;
|
|
1050
|
+
});
|
|
1051
|
+
select_set2.filter((d) => d.Dcnvloh).append("circle").attr("cy", (d) => d.issnv ? radiusscale(d["TinD.R"]) : indelboxw / 2).attr("fill", "#858585").attr("r", r_cnvloh);
|
|
1052
|
+
select_set2.filter((d) => d.Rcnvloh).append("circle").attr("cx", (d) => d.issnv ? -radiusscale(d["TinD.D"]) : -indelboxw / 2).attr("fill", "#858585").attr("r", r_cnvloh);
|
|
1053
|
+
snv = select_set2;
|
|
1054
|
+
for (const tagName in symbolFilters) {
|
|
1055
|
+
snv.filter(symbolFilters[tagName]).append(tagName).attr("class", (d) => d.symbol ? "twodmaf-" + d.symbol : null).attr("r", (d) => d.symbol ? null : radiusscale(d["TinD.D"])).attr("d", (d) => !d.symbol ? null : symbolgen.type(symbols[d.symbol]).size(radiustoarea(d["TinD.R"]))()).attr("fill", (d) => d.style.fill).attr("fill-opacity", (d) => d.style.fillopacity).attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("stroke-dasharray", (d) => d.chr == "chrX" ? "5,5" : "none").on("mouseover", (event, d) => d2maf_dotmover(event, d, tooltip)).on("mouseout", (event, d) => d2maf_dotmout(event, d, tooltip)).on("click", (event, d) => d2maf_minfo(event, pdata.header, d));
|
|
1056
|
+
}
|
|
1057
|
+
snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", -3).attr("x2", 3).attr("y2", 3);
|
|
1058
|
+
snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", 3).attr("x2", 3).attr("y2", -3);
|
|
1059
|
+
const leng = g.append("g").attr("transform", "translate(0," + (shareheight + sp2) + ")");
|
|
1060
|
+
let y = labelfontsize;
|
|
1061
|
+
leng.append("text").text(person).attr("font-size", labelfontsize).attr("y", y);
|
|
1062
|
+
const r1 = radiusscale(20), r2 = radiusscale(maxtotal);
|
|
1063
|
+
y += labelfontsize + r2;
|
|
1064
|
+
let x;
|
|
1065
|
+
leng.append("text").text("SNV coverage").attr("y", y).attr("dominant-baseline", "middle").each(function() {
|
|
1066
|
+
x = this.getBBox().width;
|
|
1067
|
+
});
|
|
1068
|
+
x += r1 + 10;
|
|
1069
|
+
leng.append("circle").attr("cx", x).attr("cy", y).attr("r", r1).attr("stroke", "black").attr("fill", "none");
|
|
1070
|
+
leng.append("text").text(20).attr("x", x).attr("y", y).attr("text-anchor", "middle").attr("dominant-baseline", "middle");
|
|
1071
|
+
x += r1 + r2 + 10;
|
|
1072
|
+
leng.append("circle").attr("cx", x).attr("cy", y).attr("r", r2).attr("stroke", "black").attr("fill", "none");
|
|
1073
|
+
leng.append("text").text(maxtotal).attr("x", x).attr("y", y).attr("text-anchor", "middle").attr("dominant-baseline", "middle");
|
|
1074
|
+
y += r2 + 10;
|
|
1075
|
+
leng.append("text").text("Indel").attr("y", y).attr("dominant-baseline", "middle").each(function() {
|
|
1076
|
+
x = this.getBBox().width;
|
|
1077
|
+
});
|
|
1078
|
+
leng.append("circle").attr("cx", x + 10 + indelboxw / 2).attr("cy", y).attr("r", indelboxw / 2).attr("fill", "black").attr("fill-opacity", 0.3);
|
|
1079
|
+
y += 30;
|
|
1080
|
+
leng.append("text").text("chrX").attr("y", y).attr("dominant-baseline", "middle").each(function() {
|
|
1081
|
+
x = this.getBBox().width;
|
|
1082
|
+
});
|
|
1083
|
+
x += r1 + 10;
|
|
1084
|
+
leng.append("circle").attr("cx", x).attr("cy", y).attr("r", 10).attr("stroke", "black").attr("stroke-dasharray", "5,5").attr("fill", "none");
|
|
1085
|
+
y += 30;
|
|
1086
|
+
leng.append("text").text("D. CNV/LOH").attr("y", y).attr("dominant-baseline", "middle").each(function() {
|
|
1087
|
+
x = this.getBBox().width;
|
|
1088
|
+
});
|
|
1089
|
+
x += r1 + 10;
|
|
1090
|
+
leng.append("circle").attr("cx", x).attr("cy", y).attr("r", 10).attr("stroke", "black").attr("fill", "none");
|
|
1091
|
+
leng.append("circle").attr("cx", x).attr("cy", y + 10).attr("r", r_cnvloh).attr("fill", "black");
|
|
1092
|
+
y += 30;
|
|
1093
|
+
leng.append("text").text("R. CNV/LOH").attr("y", y).attr("dominant-baseline", "central").each(function() {
|
|
1094
|
+
x = this.getBBox().width;
|
|
1095
|
+
});
|
|
1096
|
+
x += r1 + 10;
|
|
1097
|
+
leng.append("circle").attr("cx", x).attr("cy", y).attr("r", 10).attr("stroke", "black").attr("fill", "none");
|
|
1098
|
+
leng.append("circle").attr("cx", x - 10).attr("cy", y).attr("r", r_cnvloh).attr("fill", "black");
|
|
1099
|
+
y += 30;
|
|
1100
|
+
if (pdata.purity1 != void 0 || pdata.purity2 != void 0) {
|
|
1101
|
+
leng.append("text").text("Expected MAF").attr("y", y).attr("dominant-baseline", "middle").each(function() {
|
|
1102
|
+
x = this.getBBox().width;
|
|
1103
|
+
});
|
|
1104
|
+
x += 10;
|
|
1105
|
+
leng.append("rect").attr("fill", emaflinecolor).attr("x", x).attr("y", y).attr("width", 40).attr("height", 3);
|
|
1106
|
+
y += 30;
|
|
1107
|
+
}
|
|
1108
|
+
const renderedsymbols = Object.keys(bysymbol);
|
|
1109
|
+
if (renderedsymbols.length) {
|
|
1110
|
+
leng.append("text").text("Symbols").attr("y", y).attr("dominant-baseline", "middle").each(function() {
|
|
1111
|
+
x = this.getBBox().width;
|
|
1112
|
+
});
|
|
1113
|
+
let x1;
|
|
1114
|
+
for (const symbolname in bysymbol) {
|
|
1115
|
+
const s = bysymbol[symbolname];
|
|
1116
|
+
const g3 = leng.append("g").on("click", () => {
|
|
1117
|
+
s.hidden = !s.hidden;
|
|
1118
|
+
svg.selectAll(".twodmaf-" + symbolname).style("display", s.hidden ? "none" : "");
|
|
1119
|
+
label.style("text-decoration", s.hidden ? "line-through" : "");
|
|
1120
|
+
});
|
|
1121
|
+
x1 = x + 20;
|
|
1122
|
+
g3.append("path").attr("transform", "translate(" + x1 + "," + y + ")").attr("d", symbolgen.type(symbols[symbolname]).size(100)()).attr("stroke", "black").attr("fill", "none").each(function() {
|
|
1123
|
+
x1 += this.getBBox().width;
|
|
1124
|
+
});
|
|
1125
|
+
const label = g3.append("text").text(s.label ? s.label + " (" + s.numlines + ")" : "").attr("y", y + 2).attr("x", x1).attr("dominant-baseline", "middle").style("text-decoration", s.hidden ? "line-through" : "");
|
|
1126
|
+
y += 30;
|
|
1127
|
+
}
|
|
1128
|
+
y += 30;
|
|
1129
|
+
}
|
|
1130
|
+
const g2m = {}, g1 = {}, g2 = {}, gs = {};
|
|
1131
|
+
for (const m of mlst) {
|
|
1132
|
+
if (!m.gene) continue;
|
|
1133
|
+
if (!(m.gene in g2m)) {
|
|
1134
|
+
g2m[m.gene] = [];
|
|
1135
|
+
}
|
|
1136
|
+
g2m[m.gene].push(m);
|
|
1137
|
+
if (m.set_1) {
|
|
1138
|
+
g1[m.gene] = 1;
|
|
1139
|
+
} else if (m.set_2) {
|
|
1140
|
+
g2[m.gene] = 1;
|
|
1141
|
+
} else if (m.set_share) {
|
|
1142
|
+
gs[m.gene] = 1;
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
const genelst = [];
|
|
1146
|
+
for (const n in g1) {
|
|
1147
|
+
genelst.push(n);
|
|
1148
|
+
}
|
|
1149
|
+
for (const n in g2) {
|
|
1150
|
+
if (!(n in g1)) {
|
|
1151
|
+
genelst.push(n);
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
for (const n in gs) {
|
|
1155
|
+
if (!(n in g1) && !(n in g2)) {
|
|
1156
|
+
genelst.push(n);
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
const table = tdgenetable.append("div").style("height", shareheight + sample1height + "px").style("margin", "10px").style("padding", "10px").style("border", "solid 1px #ccc").style("overflow-y", "scroll").style("resize", "both").append("table");
|
|
1160
|
+
{
|
|
1161
|
+
const tr2 = table.append("tr");
|
|
1162
|
+
tr2.append("td").text("Gene");
|
|
1163
|
+
tr2.append("td").text(pdata.setname[1] + " only");
|
|
1164
|
+
tr2.append("td").text(pdata.setname[2] + " only");
|
|
1165
|
+
tr2.append("td").text("Shared");
|
|
1166
|
+
}
|
|
1167
|
+
let bg = true;
|
|
1168
|
+
for (const name of genelst) {
|
|
1169
|
+
const tr2 = table.append("tr");
|
|
1170
|
+
if (bg) {
|
|
1171
|
+
tr2.style("background-color", "#f3f3f3");
|
|
1172
|
+
}
|
|
1173
|
+
bg = !bg;
|
|
1174
|
+
tr2.append("td").text(name);
|
|
1175
|
+
let mlst2 = [];
|
|
1176
|
+
if (name in g2m) {
|
|
1177
|
+
mlst2 = g2m[name];
|
|
1178
|
+
}
|
|
1179
|
+
const s1 = [], s2 = [], ss = [];
|
|
1180
|
+
for (const m of mlst2) {
|
|
1181
|
+
if (m.set_share) ss.push(m);
|
|
1182
|
+
else if (m.set_1) s1.push(m);
|
|
1183
|
+
else if (m.set_2) s2.push(m);
|
|
1184
|
+
}
|
|
1185
|
+
let td = tr2.append("td");
|
|
1186
|
+
if (s1.length) {
|
|
1187
|
+
for (const m of s1) {
|
|
1188
|
+
const div = td.append("div").attr("class", "sja_clbtext").style("color", m.style.fillhl).text(m.mname || "").on("click", (event) => {
|
|
1189
|
+
click(event.target, m, select_set1);
|
|
1190
|
+
});
|
|
1191
|
+
if (m.labelIsVisible) {
|
|
1192
|
+
click(div.node(), m, select_set1);
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
td = tr2.append("td");
|
|
1197
|
+
if (s2.length) {
|
|
1198
|
+
for (const m of s2) {
|
|
1199
|
+
const div = td.append("div").attr("class", "sja_clbtext").style("color", m.style.fillhl).text(m.mname || "").on("click", (event) => {
|
|
1200
|
+
click(event.target, m, select_set2);
|
|
1201
|
+
});
|
|
1202
|
+
if (m.labelIsVisible) {
|
|
1203
|
+
click(div.node(), m, select_set1);
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
td = tr2.append("td");
|
|
1208
|
+
if (ss.length) {
|
|
1209
|
+
for (const m of ss) {
|
|
1210
|
+
const div = td.append("div").attr("class", "sja_clbtext").style("color", m.style.fillhl).text(m.mname || "").on("click", (event) => {
|
|
1211
|
+
click(event.target, m, select_share);
|
|
1212
|
+
});
|
|
1213
|
+
if (m.labelIsVisible) {
|
|
1214
|
+
click(div.node(), m, select_set1);
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
function click(butt, m, select) {
|
|
1220
|
+
if (m.selected) {
|
|
1221
|
+
butt.style.border = "";
|
|
1222
|
+
m.selected = false;
|
|
1223
|
+
} else {
|
|
1224
|
+
butt.style.border = "solid 1px black";
|
|
1225
|
+
m.selected = true;
|
|
1226
|
+
}
|
|
1227
|
+
const found = select.filter((d) => {
|
|
1228
|
+
return d.gene == m.gene && d.class == m.class && d.mname == m.mname;
|
|
1229
|
+
});
|
|
1230
|
+
found.selectAll("rect").attr("fill-opacity", m.selected ? 0.5 : m.style.fillopacity).attr("fill", m.selected ? m.style.fillhl : m.style.fill);
|
|
1231
|
+
found.selectAll("circle,ellipse,line").attr("stroke-opacity", m.selected ? 1 : m.style.strokeopacity).attr("stroke", m.selected ? m.style.strokehl : m.style.stroke).attr("stroke-width", m.selected ? 2 : 1);
|
|
1232
|
+
if (m.selected) {
|
|
1233
|
+
let x2 = Math.max(20, m.radius), y2 = 0;
|
|
1234
|
+
if ((m.set_1 || m.set_share) && m.maf1 >= 0.8) {
|
|
1235
|
+
x2 = -m.radius;
|
|
1236
|
+
y2 = m.radius * 2;
|
|
1237
|
+
}
|
|
1238
|
+
const g3 = found.append("g").attr("class", "sja_2dmaf_mlabel").attr("transform", "translate(" + x2 + "," + y2 + ")");
|
|
1239
|
+
let w;
|
|
1240
|
+
g3.append("text").text(m.labelAs ? m.labelAs : m.gene + " " + m.mname).attr("fill", m.style.fillhl).attr("dominant-baseline", "middle").attr("text-anchor", "start").attr("font-size", m.radius).each(function() {
|
|
1241
|
+
w = this.getBBox().width;
|
|
1242
|
+
});
|
|
1243
|
+
g3.append("rect").attr("y", -m.radius / 2).attr("width", w).attr("height", m.radius).attr("fill", "black").attr("fill-opacity", 0).on("mouseover", (event) => select_default(event.target).attr("fill-opacity", 0.2)).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", 0)).on("mousedown", (event) => {
|
|
1244
|
+
const x0 = x2, y0 = y2, mx = event.clientX, my = event.clientY, body = select_default(document.body);
|
|
1245
|
+
body.on("mousemove", (event2) => {
|
|
1246
|
+
event2.preventDefault();
|
|
1247
|
+
x2 = x0 + event2.clientX - mx;
|
|
1248
|
+
y2 = y0 + event2.clientY - my;
|
|
1249
|
+
g3.attr("transform", "translate(" + x2 + "," + y2 + ")");
|
|
1250
|
+
});
|
|
1251
|
+
body.on("mouseup", () => {
|
|
1252
|
+
body.on("mousemove", null).on("mouseup", null);
|
|
1253
|
+
});
|
|
1254
|
+
});
|
|
1255
|
+
} else {
|
|
1256
|
+
found.select(".sja_2dmaf_mlabel").remove();
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
return outtable;
|
|
1260
|
+
}
|
|
1261
|
+
function d2maf_dotmover(event, m, tooltip) {
|
|
1262
|
+
if (!m.selected) {
|
|
1263
|
+
select_default(event.target).attr("fill", m.style.fillhl).attr("fill-opacity", 0.2);
|
|
1264
|
+
}
|
|
1265
|
+
tooltip.clear();
|
|
1266
|
+
tooltip.show(event.clientX, event.clientY);
|
|
1267
|
+
tooltip.d.append("div").html(
|
|
1268
|
+
(m.gene || "no gene") + ' <span style="color:' + m.style.fillhl + '">' + (m.mname || "") + "</span>" + (m.class ? ' <span style="font-size:70%">' + mclass[m.class].label + "</span>" : "")
|
|
1269
|
+
);
|
|
1270
|
+
}
|
|
1271
|
+
function d2maf_dotmout(event, m, tooltip) {
|
|
1272
|
+
if (!m.selected) {
|
|
1273
|
+
select_default(event.ele).attr("fill", m.style.fill).attr("fill-opacity", m.style.fillopacity).attr("stroke", m.style.stroke);
|
|
1274
|
+
}
|
|
1275
|
+
tooltip.hide();
|
|
1276
|
+
}
|
|
1277
|
+
function d2maf_minfo(event, header, m) {
|
|
1278
|
+
const pane = newpane({ x: event.clientX + 30, y: event.clientY - 30 });
|
|
1279
|
+
pane.header.text((m.gene ? m.gene : "No gene") + " " + (m.mname ? m.mname : ""));
|
|
1280
|
+
var data = [];
|
|
1281
|
+
for (let i = 0; i < header.length; i++) {
|
|
1282
|
+
data.push({ k: header[i], v: m[header[i]] });
|
|
1283
|
+
}
|
|
1284
|
+
make_table_2col(pane.body, data);
|
|
1285
|
+
}
|
|
1286
|
+
function d2maf_click(data, person) {
|
|
1287
|
+
const v = data.pairs[person];
|
|
1288
|
+
if (v.shown) {
|
|
1289
|
+
v.shown = false;
|
|
1290
|
+
v.holder.remove();
|
|
1291
|
+
if (v.handle) {
|
|
1292
|
+
v.handle.attr("font-weight", "normal");
|
|
1293
|
+
}
|
|
1294
|
+
} else {
|
|
1295
|
+
v.shown = true;
|
|
1296
|
+
if (v.holder) {
|
|
1297
|
+
data.showholder.node().appendChild(v.holder.node());
|
|
1298
|
+
} else {
|
|
1299
|
+
v.holder = d2maf_render(data.showholder, v);
|
|
1300
|
+
}
|
|
1301
|
+
if (v.handle) {
|
|
1302
|
+
v.handle.attr("font-weight", "bold");
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
function d2maf_peopletable(data, holder) {
|
|
1307
|
+
const plst = [];
|
|
1308
|
+
for (const n in data.pairs) {
|
|
1309
|
+
plst.push([n, data.pairs[n].mlst.length]);
|
|
1310
|
+
}
|
|
1311
|
+
holder.selectAll("*").remove();
|
|
1312
|
+
const searchrow = holder.append("div").style("margin-bottom", "5px");
|
|
1313
|
+
searchrow.append("span").text(plst.length + " individual" + (plst.length > 1 ? "s" : ""));
|
|
1314
|
+
const svg = holder.append("svg");
|
|
1315
|
+
const space = 5, axish = 20, rowh = data.rowh;
|
|
1316
|
+
let maxlabelw = 0;
|
|
1317
|
+
for (const s of plst) {
|
|
1318
|
+
svg.append("text").text(s[0]).attr("font-size", rowh).attr("font-family", font).each(function() {
|
|
1319
|
+
maxlabelw = Math.max(maxlabelw, this.getBBox().width);
|
|
1320
|
+
}).remove();
|
|
1321
|
+
}
|
|
1322
|
+
svg.attr("width", maxlabelw + space + data.peoplewidth + 30).attr("height", axish + space + rowh * plst.length);
|
|
1323
|
+
plst.sort((a, b) => b[1] - a[1]);
|
|
1324
|
+
let maxmcount = 0;
|
|
1325
|
+
for (const k in data.pairs) {
|
|
1326
|
+
maxmcount = Math.max(maxmcount, data.pairs[k].mlst.length);
|
|
1327
|
+
}
|
|
1328
|
+
const ag = svg.append("g").attr("transform", "translate(" + (maxlabelw + space) + "," + axish + ")").call(
|
|
1329
|
+
axisTop().scale(linear().domain([0, maxmcount]).range([0, data.peoplewidth])).tickFormat(format("d")).ticks(3)
|
|
1330
|
+
);
|
|
1331
|
+
axisstyle({
|
|
1332
|
+
axis: ag,
|
|
1333
|
+
showline: true,
|
|
1334
|
+
color: "black"
|
|
1335
|
+
});
|
|
1336
|
+
const wsf = data.peoplewidth / maxmcount;
|
|
1337
|
+
let y = axish + space;
|
|
1338
|
+
for (const s of plst) {
|
|
1339
|
+
const person = s[0];
|
|
1340
|
+
data.pairs[person].handle = svg.append("text").text(person).attr("class", "sja_svgtext2").attr("font-size", rowh - 2).attr("font-family", font).attr("x", maxlabelw).attr("y", y + space + rowh / 2).attr("text-anchor", "end").on("click", () => {
|
|
1341
|
+
d2maf_click(data, person);
|
|
1342
|
+
});
|
|
1343
|
+
let m1 = 0, m2 = 0, ms = 0;
|
|
1344
|
+
for (const m of data.pairs[person].mlst) {
|
|
1345
|
+
if (m.set_1) m1++;
|
|
1346
|
+
else if (m.set_2) m2++;
|
|
1347
|
+
else if (m.set_share) ms++;
|
|
1348
|
+
}
|
|
1349
|
+
const g = svg.append("g").attr("transform", "translate(" + (maxlabelw + space) + "," + y + ")");
|
|
1350
|
+
if (m1 > 0) {
|
|
1351
|
+
g.append("rect").attr("width", wsf * m1).attr("height", rowh - 1).attr("fill", data.color1);
|
|
1352
|
+
}
|
|
1353
|
+
if (ms > 0) {
|
|
1354
|
+
g.append("rect").attr("x", wsf * m1).attr("width", wsf * ms).attr("height", rowh - 1).attr("fill", data.colorshare);
|
|
1355
|
+
}
|
|
1356
|
+
if (m2 > 0) {
|
|
1357
|
+
g.append("rect").attr("x", wsf * (m1 + ms)).attr("width", wsf * m2).attr("height", rowh - 1).attr("fill", data.color2);
|
|
1358
|
+
}
|
|
1359
|
+
y += rowh;
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
export {
|
|
1363
|
+
d2mafparseinput,
|
|
1364
|
+
d2mafui
|
|
1365
|
+
};
|
|
1366
|
+
//# sourceMappingURL=2dmaf-OQWBGVA5.js.map
|