@sjcrh/proteinpaint-client 2.191.4 → 2.192.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-BNMEUJVM.js +1373 -0
- package/dist/AIProjectAdmin-AEXQY5LY.js +958 -0
- package/dist/AIProjectAdmin-AEXQY5LY.js.map +7 -0
- package/dist/AppHeader-RXDJBHXZ.js +835 -0
- package/dist/BoxPlot-HDP3SIGU.js +1217 -0
- package/dist/BoxPlot-HDP3SIGU.js.map +7 -0
- package/dist/CorrelationVolcano-V2E566XL.js +619 -0
- package/dist/DE-7YUZSW4E.js +95 -0
- package/dist/DEinput-P2HOQC4Z.js +301 -0
- package/dist/DifferentialAnalysis-2Z6BHS7A.js +245 -0
- package/dist/Disco-ZLC54X7T.js +3297 -0
- package/dist/Disco-ZLC54X7T.js.map +7 -0
- package/dist/Disco.UI-LXJJYQVV.js +249 -0
- package/dist/Disco.UI-LXJJYQVV.js.map +7 -0
- package/dist/DmrPlot-OEJRGNI3.js +642 -0
- package/dist/GB-2GHDD3MW.js +1130 -0
- package/dist/GeneExpInput-PWLPDLYT.js +367 -0
- package/dist/GeneExpInput-PWLPDLYT.js.map +7 -0
- package/dist/HicApp-CAYC4DPO.js +2250 -0
- package/dist/NumBinaryEditor-EUOYSGPM.js +271 -0
- package/dist/NumBinaryEditor.unit.spec-5B3W4B4F.js +286 -0
- package/dist/NumContEditor-7KK6CIB3.js +109 -0
- package/dist/NumContEditor.unit.spec-IMKGVYFZ.js +169 -0
- package/dist/NumCustomBinEditor-PDAF6I7B.js +38 -0
- package/dist/NumCustomBinEditor.unit.spec-IU3DPECJ.js +284 -0
- package/dist/NumDiscreteEditor-YTKUHG6Z.js +179 -0
- package/dist/NumDiscreteEditor.unit.spec-FUBS7Z7Z.js +202 -0
- package/dist/NumRegularBinEditor-LU3KLBLY.js +38 -0
- package/dist/NumRegularBinEditor.unit.spec-2BKOHI7L.js +227 -0
- package/dist/NumSplineEditor-56RJ2HT2.js +198 -0
- package/dist/NumSplineEditor.unit.spec-PW6VUUBZ.js +199 -0
- package/dist/NumericDensity-EB4H54EF.js +38 -0
- package/dist/NumericDensity.unit.spec-LSEM4OEY.js +221 -0
- package/dist/NumericHandler-VGPDXP35.js +39 -0
- package/dist/NumericHandler.unit.spec-NR3F7XHV.js +219 -0
- package/dist/ProteomeInput-AUXWUIWK.js +396 -0
- package/dist/RunChart2-SQ6TFOHD.js +758 -0
- package/dist/SC-OWJ6LYIW.js +1124 -0
- package/dist/SC-OWJ6LYIW.js.map +7 -0
- package/dist/Volcano-XHDH6UN7.js +1379 -0
- package/dist/WSIViewer-WT2QV747.js +48562 -0
- package/dist/WSIViewer-WT2QV747.js.map +7 -0
- package/dist/WsiSamplesPlot-YUOAWG2A.js +165 -0
- package/dist/adSandbox-VMMAL22L.js +38 -0
- package/dist/animatedBubbleChart-Q6Z5W2UL.js +555 -0
- package/dist/animatedBubbleChart-Q6Z5W2UL.js.map +7 -0
- package/dist/app-FX3KZ67X.js +37 -0
- package/dist/app-X7ZYEOZN.js +49 -0
- package/dist/app.js +20 -20
- package/dist/bam-ZYLH4U5R.js +860 -0
- package/dist/barchart-MXSPTKV4.js +47 -0
- package/dist/barchart.data-ZWF6EVJH.js +22 -0
- package/dist/barchart.events-XON2ANOC.js +47 -0
- package/dist/barchart.integration.spec-PJIENJGT.js +1980 -0
- package/dist/barchart2-HIKBGSSE.js +314 -0
- package/dist/barchart2-HIKBGSSE.js.map +7 -0
- package/dist/bars.renderer-57KSYAAT.js +12 -0
- package/dist/block-EGPYVWNP.js +6226 -0
- package/dist/block-EGPYVWNP.js.map +7 -0
- package/dist/block.init-IJBRPZNM.js +38 -0
- package/dist/block.mds.expressionrank-3DANCP7E.js +359 -0
- package/dist/block.mds.geneboxplot-CRGSCZMG.js +828 -0
- package/dist/block.mds.junction-4UIH2ZYN.js +1545 -0
- package/dist/block.mds.svcnv-NF4UIRR2.js +6801 -0
- package/dist/block.svg-AIZ47JCQ.js +164 -0
- package/dist/block.tk.aicheck-7HZFGE63.js +283 -0
- package/dist/block.tk.ase-U3VNPZEA.js +365 -0
- package/dist/block.tk.bam-4TQ7P2OX.js +1906 -0
- package/dist/block.tk.bedgraphdot-MYHKKO6K.js +384 -0
- package/dist/block.tk.bigwig.ui-E3YVGIDN.js +212 -0
- package/dist/block.tk.hicstraw-Y4XOMG7T.js +823 -0
- package/dist/block.tk.junction-T5C7LK6F.js +2364 -0
- package/dist/block.tk.junction.textmatrixui-Z3ACCVXH.js +199 -0
- package/dist/block.tk.ld-Y5KDA5AU.js +99 -0
- package/dist/block.tk.menu-EWRRISDY.js +1029 -0
- package/dist/block.tk.pgv-3JYGOZVQ.js +944 -0
- package/dist/brainImaging-P3AF3C5N.js +423 -0
- package/dist/brainRegions-YA2H2QOI.js +221 -0
- package/dist/brainRegions-YA2H2QOI.js.map +7 -0
- package/dist/chunk-2JR7RPB6.js +1825 -0
- package/dist/chunk-2U2CP2Y2.js +317 -0
- package/dist/chunk-2U2CP2Y2.js.map +7 -0
- package/dist/chunk-3BBK6A4X.js +176 -0
- package/dist/chunk-3BBK6A4X.js.map +7 -0
- package/dist/chunk-3FVIDQOX.js +54 -0
- package/dist/chunk-3K2O2NIH.js +446 -0
- package/dist/chunk-3RSJU6YM.js +2681 -0
- package/dist/chunk-3ZKD6C5S.js +34 -0
- package/dist/chunk-46AEH34Z.js +95 -0
- package/dist/chunk-4CQVC6XL.js +182 -0
- package/dist/chunk-5FXNI724.js +216 -0
- package/dist/chunk-634MOGE3.js +314 -0
- package/dist/chunk-634MOGE3.js.map +7 -0
- package/dist/chunk-6JHIX4RA.js +4269 -0
- package/dist/chunk-6JHIX4RA.js.map +7 -0
- package/dist/chunk-7PFRBGMN.js +129 -0
- package/dist/chunk-7R63MAPC.js +448 -0
- package/dist/chunk-7R63MAPC.js.map +7 -0
- package/dist/chunk-A4Z3CI24.js +276 -0
- package/dist/chunk-AI2LUQS6.js +119 -0
- package/dist/chunk-AJYJW4LX.js +6364 -0
- package/dist/chunk-BKPDYW5T.js +177 -0
- package/dist/chunk-BMS32SNA.js +37 -0
- package/dist/chunk-C4BCMAIK.js +188 -0
- package/dist/chunk-C4BCMAIK.js.map +7 -0
- package/dist/chunk-CJPGYPI3.js +291 -0
- package/dist/chunk-CTQH7LQ6.js +31 -0
- package/dist/chunk-D5CVYITI.js +203 -0
- package/dist/chunk-DMSX5PSO.js +477 -0
- package/dist/chunk-E3JRW3T3.js +1102 -0
- package/dist/chunk-E574SMCX.js +283 -0
- package/dist/chunk-E76O5Z42.js +98 -0
- package/dist/chunk-EEW443GL.js +14 -0
- package/dist/chunk-EVNMW7BS.js +833 -0
- package/dist/chunk-EVNMW7BS.js.map +7 -0
- package/dist/chunk-F2WPS7VY.js +1943 -0
- package/dist/chunk-FDPWWODM.js +2832 -0
- package/dist/chunk-FDPWWODM.js.map +7 -0
- package/dist/chunk-FVHUROIJ.js +446 -0
- package/dist/chunk-FVHUROIJ.js.map +7 -0
- package/dist/chunk-FYFX42YD.js +222 -0
- package/dist/chunk-G6RZYGWY.js +386 -0
- package/dist/chunk-GTZV2UZV.js +736 -0
- package/dist/chunk-H34LAFGH.js +142 -0
- package/dist/chunk-I2R5O2XX.js +263 -0
- package/dist/chunk-IEYDMN3H.js +26 -0
- package/dist/chunk-JWBP4ZZB.js +148 -0
- package/dist/chunk-KUZPTJJO.js +20874 -0
- package/dist/chunk-KUZPTJJO.js.map +7 -0
- package/dist/chunk-KVIH5JPC.js +1275 -0
- package/dist/chunk-L5HCOTRF.js +302 -0
- package/dist/chunk-LHKDLWG5.js +194 -0
- package/dist/chunk-LQJMCE7G.js +467 -0
- package/dist/chunk-M7UKOCJA.js +234 -0
- package/dist/chunk-M7UKOCJA.js.map +7 -0
- package/dist/chunk-MHFH66I3.js +1289 -0
- package/dist/chunk-MHFH66I3.js.map +7 -0
- package/dist/chunk-MNIBZTQE.js +146 -0
- package/dist/chunk-MP3DN6JK.js +117 -0
- package/dist/chunk-N5OVBS5L.js +2786 -0
- package/dist/chunk-NEKAGDTL.js +58 -0
- package/dist/chunk-NPCNDM6Y.js +54 -0
- package/dist/chunk-NYN2WQN3.js +100 -0
- package/dist/chunk-O6WL7USJ.js +343 -0
- package/dist/chunk-OH5I6I2D.js +368 -0
- package/dist/chunk-PDFCQ7AU.js +5054 -0
- package/dist/chunk-PDFCQ7AU.js.map +7 -0
- package/dist/chunk-PSJVMAWA.js +294 -0
- package/dist/chunk-PSJVMAWA.js.map +7 -0
- package/dist/chunk-PTQ774XH.js +514 -0
- package/dist/chunk-PXOH4ZN2.js +399 -0
- package/dist/chunk-QG4BJUM7.js +102 -0
- package/dist/chunk-R7AV73BV.js +617 -0
- package/dist/chunk-R7AV73BV.js.map +7 -0
- package/dist/chunk-RITTG5WN.js +158 -0
- package/dist/chunk-SMSFTTEO.js +272 -0
- package/dist/chunk-SOTB4FRE.js +2098 -0
- package/dist/chunk-SOTB4FRE.js.map +7 -0
- package/dist/chunk-TBZKVKR4.js +50 -0
- package/dist/chunk-TJYRBEBK.js +2878 -0
- package/dist/chunk-TLTS33EY.js +287 -0
- package/dist/chunk-TMM7BWW7.js +381 -0
- package/dist/chunk-TTC4MNEM.js +2327 -0
- package/dist/chunk-UN3O2MNB.js +375 -0
- package/dist/chunk-UN3O2MNB.js.map +7 -0
- package/dist/chunk-UQ5CDHYF.js +1218 -0
- package/dist/chunk-UQ5CDHYF.js.map +7 -0
- package/dist/chunk-UXIZYI3X.js +226 -0
- package/dist/chunk-VIUATDO2.js +170 -0
- package/dist/chunk-VIUDFDN4.js +102 -0
- package/dist/chunk-VQZ2Z5YU.js +587 -0
- package/dist/chunk-VQZ2Z5YU.js.map +7 -0
- package/dist/chunk-W5OEFZCR.js +254 -0
- package/dist/chunk-WXSRK3XR.js +534 -0
- package/dist/chunk-XHGMDBTS.js +230 -0
- package/dist/chunk-XQ2OBL6R.js +1205 -0
- package/dist/chunk-XQ2OBL6R.js.map +7 -0
- package/dist/chunk-XVGS3QXS.js +55 -0
- package/dist/chunk-XYNYQMLH.js +482 -0
- package/dist/chunk-Y4JJMUWG.js +217 -0
- package/dist/chunk-Z457XQSX.js +815 -0
- package/dist/chunk-ZF6HNVYD.js +1444 -0
- package/dist/chunk-ZF6HNVYD.js.map +7 -0
- package/dist/condition-QXTOTGZX.js +332 -0
- package/dist/controls-7TDB75LK.js +41 -0
- package/dist/controls.config-IBF5ILFP.js +39 -0
- package/dist/correlation-M2T5R7CM.js +102 -0
- package/dist/correlation-M2T5R7CM.js.map +7 -0
- package/dist/cuminc-CAHPKW7W.js +1149 -0
- package/dist/cuminc.integration.spec-NNSQGBRI.js +678 -0
- package/dist/customdata.inputui-RRTQK7OK.js +289 -0
- package/dist/dataDownload-SOUCBKXM.js +330 -0
- package/dist/dataDownload.integration.spec-C6TLWSSO.js +193 -0
- package/dist/databrowser.ui-KLFEU5QA.js +433 -0
- package/dist/dictionary-RUT5VXDD.js +118 -0
- package/dist/dictionary-RUT5VXDD.js.map +7 -0
- package/dist/dnaMethylation-WOKGG33W.js +38 -0
- package/dist/dnaMethylation.integration.spec-YUPP42UK.js +203 -0
- package/dist/dofetch-V7PLLWSO.js +51 -0
- package/dist/e2pca-VT7EM4E3.js +350 -0
- package/dist/ep-X6B43UXE.js +1256 -0
- package/dist/expclust.gdc.spec-DTBFOXBC.js +307 -0
- package/dist/facet-T5ZX7ZGV.js +521 -0
- package/dist/forms2-S5OGBFKL.js +539 -0
- package/dist/forms2-S5OGBFKL.js.map +7 -0
- package/dist/gb-TWXREZIP.js +88 -0
- package/dist/geneExpClustering-2G6YDCIN.js +249 -0
- package/dist/geneExpression-2A4ZPT7K.js +38 -0
- package/dist/geneExpression-ZHQH6SNA.js +313 -0
- package/dist/geneExpression.unit.spec-2M223S4P.js +102 -0
- package/dist/geneORA-YLIRUMCZ.js +278 -0
- package/dist/geneRanking-JDJXNGEC.js +551 -0
- package/dist/geneVariant-5ZIOT5BT.js +39 -0
- package/dist/geneVariant-GIXIMJ2I.js +41 -0
- package/dist/geneVariant.integration.spec-QCROW73S.js +198 -0
- package/dist/genefusion.ui-56UQLUKJ.js +309 -0
- package/dist/geneset-ACRMGBJO.js +208 -0
- package/dist/genomeBrowser.spec-EDILOQON.js +281 -0
- package/dist/grin2-5P7CYUT7.js +1560 -0
- package/dist/grin2-GNB35CMF.js +871 -0
- package/dist/grin2-GNB35CMF.js.map +7 -0
- package/dist/gsea-2PQ5HNNT.js +47 -0
- package/dist/hierCluster-H5HB7FPW.js +63 -0
- package/dist/hierCluster-L3LCP2II.js +59 -0
- package/dist/hierCluster.config-6UIJWCND.js +40 -0
- package/dist/hierCluster.integration.spec-EVAPT2VF.js +395 -0
- package/dist/hierCluster.interactivity-7MW6ZT6O.js +54 -0
- package/dist/hierCluster.renderers-F34EVY5J.js +21 -0
- package/dist/imagePlot-RSFZ2OKD.js +163 -0
- package/dist/importPlot-DQFWY5A7.js +8 -0
- package/dist/isoformExpression-2KANPCBH.js +40 -0
- package/dist/isoformExpression.unit.spec-6FSMHT4K.js +208 -0
- package/dist/launch.adhoc-ZYTIRVIC.js +42 -0
- package/dist/leftlabel.sample-66U6MHPN.js +260 -0
- package/dist/legacyDataset-TNIIJABK.js +119 -0
- package/dist/lollipop-PJDUFWEY.js +171 -0
- package/dist/maf-DLJHCKHJ.js +452 -0
- package/dist/maftimeline-NK5QYJMJ.js +593 -0
- package/dist/matrix-7BFYR6QL.js +63 -0
- package/dist/matrix-USAB2CHO.js +58 -0
- package/dist/matrix.cells-OTAXAJ4N.js +28 -0
- package/dist/matrix.config-AL4WSFZ7.js +41 -0
- package/dist/matrix.data-BDHCSN2G.js +25 -0
- package/dist/matrix.groups-MV2D2636.js +27 -0
- package/dist/matrix.integration.spec-DESORC2Y.js +3072 -0
- package/dist/matrix.interactivity-H7EJW3P2.js +42 -0
- package/dist/matrix.layout-7CAS2IBO.js +44 -0
- package/dist/matrix.legend-JDVG2JDF.js +22 -0
- package/dist/matrix.renderers-PDR5FIBC.js +38 -0
- package/dist/matrix.serieses-QVDS5HKK.js +21 -0
- package/dist/matrix.sort-HCK4CSTJ.js +27 -0
- package/dist/matrix.sort.unit.spec-2GC4E26N.js +472 -0
- package/dist/matrix.sorterUi-XGBQOPG4.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-BJQKDU2F.js +342 -0
- package/dist/mavb-6E6Z4LPK.js +732 -0
- package/dist/mds.fimo-5P2TK5U4.js +518 -0
- package/dist/mds.samplescatterplot-KLKOD4AS.js +1550 -0
- package/dist/mds.survivalplot-SWQCOFIU.js +483 -0
- package/dist/numericDictTermCluster-WIVO33AV.js +72 -0
- package/dist/oncomatrix-SDUUQZCK.js +295 -0
- package/dist/oncomatrix.spec-YGQYIUDT.js +448 -0
- package/dist/plot.2dvaf-K53KTP5W.js +377 -0
- package/dist/plot.app-FNJVWLPQ.js +41 -0
- package/dist/plot.barplot-VTC3N6BR.js +102 -0
- package/dist/plot.boxplot-RJFGQSLA.js +152 -0
- package/dist/plot.brainImaging-6KVNPPMT.js +51 -0
- package/dist/plot.disco-ZFH5RK6B.js +102 -0
- package/dist/plot.dzi-IA2SOFUD.js +33 -0
- package/dist/plot.ssgq-QARGQVKB.js +139 -0
- package/dist/plot.vaf2cov-2JUXYCPG.js +259 -0
- package/dist/plot.wsi-C2DULA7U.js +36 -0
- package/dist/polar2-3HS3QBU6.js +231 -0
- package/dist/polar2-3HS3QBU6.js.map +7 -0
- package/dist/profileForms-Y6ZBMZWQ.js +446 -0
- package/dist/profileForms-Y6ZBMZWQ.js.map +7 -0
- package/dist/profilePlot-SVI3QKMD.js +54 -0
- package/dist/proteinView-YPFJSBL7.js +1556 -0
- package/dist/proteinView-YPFJSBL7.js.map +7 -0
- package/dist/qualitative-AQFKAZID.js +43 -0
- package/dist/radar2-TTQZLARY.js +326 -0
- package/dist/radar2-TTQZLARY.js.map +7 -0
- package/dist/radarFacility2-YGS56QUA.js +334 -0
- package/dist/radarFacility2-YGS56QUA.js.map +7 -0
- package/dist/regression-DLPBCDZT.js +56 -0
- package/dist/regression.inputs-42LY4MEZ.js +48 -0
- package/dist/regression.inputs.term-TTUFFPG6.js +48 -0
- package/dist/regression.inputs.values.table-CJAPTSMS.js +45 -0
- package/dist/regression.integration.spec-UDA26OGS.js +784 -0
- package/dist/regression.results-IA3C7SHR.js +40 -0
- package/dist/regression.spec-HEXCL3QV.js +708 -0
- package/dist/report-4CFOWNPJ.js +222 -0
- package/dist/sampleScatter.spec-N6V4BQ5Q.js +202 -0
- package/dist/sampleView-CZF7U23I.js +48 -0
- package/dist/samplelst-XUGDS5TU.js +111 -0
- package/dist/samplematrix-R5PZLZDE.js +2198 -0
- package/dist/sc-WTZZA5J5.js +86 -0
- package/dist/scatter-EY7HQVCO.js +851 -0
- package/dist/scatter-EY7HQVCO.js.map +7 -0
- package/dist/scatter.integration.spec-CRMLFO4J.js +1206 -0
- package/dist/scatter.integration.spec-CRMLFO4J.js.map +7 -0
- package/dist/selectGenomeWithTklst-2S2MXVCI.js +134 -0
- package/dist/singleCellCellType-LJWFG7MY.js +38 -0
- package/dist/singleCellCellType.unit.spec-RGN2XVUR.js +160 -0
- package/dist/singleCellGeneExpression-IW2QXTTU.js +38 -0
- package/dist/singleCellGeneExpression.unit.spec-4PO3Q7TM.js +153 -0
- package/dist/singleCellPlot-6EZ6JXCM.js +54 -0
- package/dist/singlecell-3LFPQ6KO.js +86 -0
- package/dist/singlecell-NTTAVVMR.js +1572 -0
- package/dist/snp-XB4IBG4Z.js +38 -0
- package/dist/snp.unit.spec-HAJPM53L.js +176 -0
- package/dist/snplocus-HE6TITSX.js +208 -0
- package/dist/spliceevent.a53ss.diagram-TCZMBMD7.js +151 -0
- package/dist/spliceevent.exonskip.diagram-VESOF6UC.js +277 -0
- package/dist/spliceevent.noeventdiagram-4K7FMO4F.js +460 -0
- package/dist/ssGSEA-2XYMX36P.js +38 -0
- package/dist/ssGSEA.unit.spec-J36KM2HO.js +88 -0
- package/dist/summarizeCnvGeneexp-LYVDZXXD.js +163 -0
- package/dist/summarizeGeneexpSurvival-Y52TGAHF.js +108 -0
- package/dist/summarizeMutationCnv-6EEJT3PV.js +164 -0
- package/dist/summarizeMutationDiagnosis-HZKXHOOQ.js +40 -0
- package/dist/summarizeMutationSurvival-TU7TQYFQ.js +99 -0
- package/dist/summary-4QQZUAMU.js +49 -0
- package/dist/summary.integration.spec-SLIIM4HN.js +414 -0
- package/dist/summaryInput-6HROPKCE.js +235 -0
- package/dist/sunburst-MBJJPERL.js +284 -0
- package/dist/survival-CXLMQSV2.js +58 -0
- package/dist/survival-QSL2KDKD.js +46 -0
- package/dist/survival.integration.spec-EUAAALVW.js +821 -0
- package/dist/svgraph-JM5MHQDX.js +1387 -0
- package/dist/svmr-MCMST2FL.js +3842 -0
- package/dist/table-MVX3IMAL.js +200 -0
- package/dist/termCollection-FZ2SCVA7.js +38 -0
- package/dist/termCollection-IGC7REFK.js +179 -0
- package/dist/termCollection.unit.spec-VY2EZZIP.js +208 -0
- package/dist/tk-5F3TWZ2G.js +46 -0
- package/dist/tp.ui-IURWTMAS.js +1459 -0
- package/dist/tvs.dt-BPZCFPYK.js +39 -0
- package/dist/tvs.dtcnv.categorical-UFS62DTR.js +40 -0
- package/dist/tvs.dtcnv.continuous-R6YXNNLA.js +72 -0
- package/dist/tvs.dtfusion-FGXXS4XX.js +40 -0
- package/dist/tvs.dtsnvindel-DR43K7X3.js +40 -0
- package/dist/tvs.dtsv-NO34GIOL.js +40 -0
- package/dist/tvs.numeric-KYAU5OV3.js +21 -0
- package/dist/tvs.samplelst-2QP7IV2Y.js +104 -0
- package/dist/tvs.termCollection-UEJDG22G.js +159 -0
- package/dist/violin-NBZTGGYF.js +46 -0
- package/dist/violin.integration.spec-5CLYJSAR.js +1425 -0
- package/dist/violin.interactivity-KXVKTT22.js +38 -0
- package/dist/violin.renderer-37OF6K7Q.js +40 -0
- package/dist/vocabulary-GR6J3VKW.js +41 -0
- package/package.json +3 -3
- package/dist/2dmaf-Z3D2M3FB.js +0 -1373
- package/dist/AIProjectAdmin-2OQOQXH4.js +0 -956
- package/dist/AIProjectAdmin-2OQOQXH4.js.map +0 -7
- package/dist/AppHeader-PXLGVCVS.js +0 -835
- package/dist/BoxPlot-PUZKHACO.js +0 -1211
- package/dist/BoxPlot-PUZKHACO.js.map +0 -7
- package/dist/CorrelationVolcano-RO6CFLZA.js +0 -619
- package/dist/DE-CCA5SBJG.js +0 -95
- package/dist/DEinput-MRUQW6X6.js +0 -301
- package/dist/DifferentialAnalysis-5YQQLJKR.js +0 -245
- package/dist/Disco-4FTOJBLG.js +0 -3237
- package/dist/Disco-4FTOJBLG.js.map +0 -7
- package/dist/Disco.UI-IWVSK3RN.js +0 -245
- package/dist/Disco.UI-IWVSK3RN.js.map +0 -7
- package/dist/DmrPlot-FPJJHTM5.js +0 -642
- package/dist/GB-H6JETPRC.js +0 -1130
- package/dist/GeneExpInput-Q42COANS.js +0 -366
- package/dist/GeneExpInput-Q42COANS.js.map +0 -7
- package/dist/HicApp-BBD2YOMT.js +0 -2250
- package/dist/NumBinaryEditor-WMSF7HIO.js +0 -271
- package/dist/NumBinaryEditor.unit.spec-QQATLHF7.js +0 -286
- package/dist/NumContEditor-4CSTHVRX.js +0 -109
- package/dist/NumContEditor.unit.spec-2YF3OS3A.js +0 -169
- package/dist/NumCustomBinEditor-KFAYUWYV.js +0 -38
- package/dist/NumCustomBinEditor.unit.spec-YHAUSGPN.js +0 -284
- package/dist/NumDiscreteEditor-F46H5CME.js +0 -179
- package/dist/NumDiscreteEditor.unit.spec-5BIAWAVN.js +0 -202
- package/dist/NumRegularBinEditor-G7KOA7NR.js +0 -38
- package/dist/NumRegularBinEditor.unit.spec-Y6CBCWLN.js +0 -227
- package/dist/NumSplineEditor-JP2V2L4Y.js +0 -198
- package/dist/NumSplineEditor.unit.spec-N34QBZN3.js +0 -199
- package/dist/NumericDensity-JOPHLURB.js +0 -38
- package/dist/NumericDensity.unit.spec-N45PCLOT.js +0 -221
- package/dist/NumericHandler-SIM4E2Z5.js +0 -39
- package/dist/NumericHandler.unit.spec-NKLYDVTG.js +0 -219
- package/dist/ProteomeInput-5KMNE3PZ.js +0 -396
- package/dist/RunChart2-N7AZVQXJ.js +0 -758
- package/dist/SC-M6RGALZM.js +0 -936
- package/dist/SC-M6RGALZM.js.map +0 -7
- package/dist/Volcano-YH4RJTT5.js +0 -1379
- package/dist/WSIViewer-7LOVM3AU.js +0 -48508
- package/dist/WSIViewer-7LOVM3AU.js.map +0 -7
- package/dist/WsiSamplesPlot-QPPB7OOD.js +0 -165
- package/dist/adSandbox-R2QP74P7.js +0 -38
- package/dist/app-AIIN4WDE.js +0 -37
- package/dist/app-FJT5VXMF.js +0 -49
- package/dist/bam-QBO22VQB.js +0 -860
- package/dist/barchart-VDOP6FQU.js +0 -47
- package/dist/barchart.data-Z2E72EET.js +0 -22
- package/dist/barchart.events-NUYQBI5S.js +0 -47
- package/dist/barchart.integration.spec-COVZPXMH.js +0 -1980
- package/dist/barchart2-KMSU4ROO.js +0 -311
- package/dist/barchart2-KMSU4ROO.js.map +0 -7
- package/dist/bars.renderer-JHCZDSM6.js +0 -12
- package/dist/block-TTN2IQAH.js +0 -6202
- package/dist/block-TTN2IQAH.js.map +0 -7
- package/dist/block.init-RRHHCNSR.js +0 -38
- package/dist/block.mds.expressionrank-7NWBRUII.js +0 -359
- package/dist/block.mds.geneboxplot-4BAJJWCC.js +0 -828
- package/dist/block.mds.junction-XRUIHAF5.js +0 -1545
- package/dist/block.mds.svcnv-YZ7PL733.js +0 -6801
- package/dist/block.svg-FUMP2J7A.js +0 -164
- package/dist/block.tk.aicheck-AIZEND45.js +0 -283
- package/dist/block.tk.ase-H26PKO5U.js +0 -365
- package/dist/block.tk.bam-XNZFHSDQ.js +0 -1906
- package/dist/block.tk.bedgraphdot-QTDBLBO2.js +0 -384
- package/dist/block.tk.bigwig.ui-OSRCPTQC.js +0 -212
- package/dist/block.tk.hicstraw-7GH6LVIH.js +0 -823
- package/dist/block.tk.junction-AJYML4AW.js +0 -2364
- package/dist/block.tk.junction.textmatrixui-4RIH3EZI.js +0 -199
- package/dist/block.tk.ld-AJYQ4C6T.js +0 -99
- package/dist/block.tk.menu-57OP5UW5.js +0 -1029
- package/dist/block.tk.pgv-XO7HP5MM.js +0 -944
- package/dist/brainImaging-65QDNR4D.js +0 -423
- package/dist/chunk-2XCUERHJ.js +0 -102
- package/dist/chunk-322QC6R4.js +0 -222
- package/dist/chunk-35SCELN4.js +0 -217
- package/dist/chunk-36EHIPV4.js +0 -514
- package/dist/chunk-3SZ6GKLB.js +0 -14
- package/dist/chunk-3ZLJDFJU.js +0 -368
- package/dist/chunk-4DXZGZOB.js +0 -54
- package/dist/chunk-4UWS5Y3N.js +0 -1438
- package/dist/chunk-4UWS5Y3N.js.map +0 -7
- package/dist/chunk-54EMVNPW.js +0 -102
- package/dist/chunk-57RBC6IZ.js +0 -302
- package/dist/chunk-5OUTR67M.js +0 -37
- package/dist/chunk-67DBIM6H.js +0 -293
- package/dist/chunk-67DBIM6H.js.map +0 -7
- package/dist/chunk-6A3IPDE2.js +0 -1943
- package/dist/chunk-6GN7X6LU.js +0 -2681
- package/dist/chunk-72X7LSBN.js +0 -54
- package/dist/chunk-74ZU4BT6.js +0 -2824
- package/dist/chunk-74ZU4BT6.js.map +0 -7
- package/dist/chunk-7EMWHCVW.js +0 -1825
- package/dist/chunk-7FACFCZK.js +0 -226
- package/dist/chunk-7XFGYYRV.js +0 -371
- package/dist/chunk-7XFGYYRV.js.map +0 -7
- package/dist/chunk-B6CSYKZJ.js +0 -1275
- package/dist/chunk-BDIKFVWZ.js +0 -443
- package/dist/chunk-BDIKFVWZ.js.map +0 -7
- package/dist/chunk-BWGU5NJS.js +0 -291
- package/dist/chunk-C5ZMAQXQ.js +0 -1173
- package/dist/chunk-C5ZMAQXQ.js.map +0 -7
- package/dist/chunk-CC3GFVV6.js +0 -117
- package/dist/chunk-CXQ6KS3Z.js +0 -1348
- package/dist/chunk-CXQ6KS3Z.js.map +0 -7
- package/dist/chunk-DCH54HC5.js +0 -824
- package/dist/chunk-DCH54HC5.js.map +0 -7
- package/dist/chunk-DD4R5P6W.js +0 -177
- package/dist/chunk-DKVUOBIE.js +0 -203
- package/dist/chunk-DR6H3QAA.js +0 -399
- package/dist/chunk-EH4NQ7C4.js +0 -170
- package/dist/chunk-EVN6KWPN.js +0 -50
- package/dist/chunk-FFEIP5CT.js +0 -458
- package/dist/chunk-FFEIP5CT.js.map +0 -7
- package/dist/chunk-FJP77STI.js +0 -158
- package/dist/chunk-FJP77STI.js.map +0 -7
- package/dist/chunk-G6O3URDN.js +0 -467
- package/dist/chunk-GNIK4JYM.js +0 -534
- package/dist/chunk-HKSNADSX.js +0 -477
- package/dist/chunk-I5RAQKKJ.js +0 -129
- package/dist/chunk-IW57W7EQ.js +0 -1210
- package/dist/chunk-IW57W7EQ.js.map +0 -7
- package/dist/chunk-J4SOF2ZH.js +0 -263
- package/dist/chunk-KPJZBCVI.js +0 -272
- package/dist/chunk-KSGA62R2.js +0 -2878
- package/dist/chunk-LTOBEUM2.js +0 -98
- package/dist/chunk-MYF2BWKC.js +0 -205
- package/dist/chunk-MYF2BWKC.js.map +0 -7
- package/dist/chunk-N2SKTCDK.js +0 -148
- package/dist/chunk-NGM3ZLIP.js +0 -230
- package/dist/chunk-NOEAT6CX.js +0 -317
- package/dist/chunk-NOEAT6CX.js.map +0 -7
- package/dist/chunk-NSXZPWRP.js +0 -482
- package/dist/chunk-O3JB4PIX.js +0 -31
- package/dist/chunk-OAWQ6LOO.js +0 -2063
- package/dist/chunk-OAWQ6LOO.js.map +0 -7
- package/dist/chunk-ODG6RD7P.js +0 -254
- package/dist/chunk-OEDZHPBJ.js +0 -58
- package/dist/chunk-ORL44TIK.js +0 -386
- package/dist/chunk-P3IENRWJ.js +0 -613
- package/dist/chunk-P3IENRWJ.js.map +0 -7
- package/dist/chunk-PCZNTK74.js +0 -26
- package/dist/chunk-QH6W3NVF.js +0 -287
- package/dist/chunk-QNETLNPB.js +0 -343
- package/dist/chunk-QQZ3SBF3.js +0 -216
- package/dist/chunk-R2MMURGK.js +0 -2786
- package/dist/chunk-SA7APTJR.js +0 -20792
- package/dist/chunk-SA7APTJR.js.map +0 -7
- package/dist/chunk-SHWLROJG.js +0 -283
- package/dist/chunk-SKREEF3H.js +0 -184
- package/dist/chunk-SKREEF3H.js.map +0 -7
- package/dist/chunk-TOU7EVFQ.js +0 -396
- package/dist/chunk-TOU7EVFQ.js.map +0 -7
- package/dist/chunk-UGVNZMLU.js +0 -4274
- package/dist/chunk-UGVNZMLU.js.map +0 -7
- package/dist/chunk-UI7OCM2A.js +0 -815
- package/dist/chunk-UJKW42DI.js +0 -6364
- package/dist/chunk-ULPMYS5B.js +0 -100
- package/dist/chunk-UOVALHAJ.js +0 -182
- package/dist/chunk-VGJSASRT.js +0 -446
- package/dist/chunk-VGYTAYFK.js +0 -276
- package/dist/chunk-VHOEJBFP.js +0 -736
- package/dist/chunk-VOUMS6IP.js +0 -1102
- package/dist/chunk-VV36JRUF.js +0 -381
- package/dist/chunk-W55XSG6K.js +0 -142
- package/dist/chunk-W6ME65LV.js +0 -34
- package/dist/chunk-WHI6466S.js +0 -146
- package/dist/chunk-WSDUD52Y.js +0 -55
- package/dist/chunk-XAVNZNXQ.js +0 -95
- package/dist/chunk-XMLURPEP.js +0 -194
- package/dist/chunk-YKXUK7HJ.js +0 -5041
- package/dist/chunk-YKXUK7HJ.js.map +0 -7
- package/dist/chunk-YZK37YCC.js +0 -119
- package/dist/chunk-ZTYNN6G5.js +0 -2327
- package/dist/chunk-ZXTHADSC.js +0 -158
- package/dist/condition-HDVYPJJD.js +0 -332
- package/dist/controls-YEEW46C6.js +0 -41
- package/dist/controls.config-C535H5DL.js +0 -39
- package/dist/correlation-AOSSSSL3.js +0 -99
- package/dist/correlation-AOSSSSL3.js.map +0 -7
- package/dist/cuminc-II7NFIFP.js +0 -1149
- package/dist/cuminc.integration.spec-B4N6OMBJ.js +0 -678
- package/dist/customdata.inputui-AI4ZBIEP.js +0 -289
- package/dist/dataDownload-ZQYLXN6D.js +0 -330
- package/dist/dataDownload.integration.spec-2PKYZ2AY.js +0 -193
- package/dist/databrowser.ui-WGD7D3XV.js +0 -433
- package/dist/dictionary-RYM4WP2W.js +0 -111
- package/dist/dictionary-RYM4WP2W.js.map +0 -7
- package/dist/dnaMethylation-WGJMJL5B.js +0 -38
- package/dist/dnaMethylation.integration.spec-DO3PV4MO.js +0 -203
- package/dist/dofetch-RADX3AFU.js +0 -51
- package/dist/e2pca-KOAAU2JX.js +0 -350
- package/dist/ep-CXCATXYH.js +0 -1256
- package/dist/expclust.gdc.spec-UJO2R3CW.js +0 -307
- package/dist/facet-2FBUAD7P.js +0 -521
- package/dist/forms2-ZBT5BZW3.js +0 -534
- package/dist/forms2-ZBT5BZW3.js.map +0 -7
- package/dist/gb-VCJFV63W.js +0 -88
- package/dist/geneExpClustering-FUNS6D2P.js +0 -249
- package/dist/geneExpression-2BWWGYL4.js +0 -38
- package/dist/geneExpression-2OPFWV2K.js +0 -313
- package/dist/geneExpression.unit.spec-G7BSHJQT.js +0 -102
- package/dist/geneORA-S3KQMBYL.js +0 -278
- package/dist/geneRanking-UZ36XAL7.js +0 -551
- package/dist/geneVariant-OOZ2SBXO.js +0 -41
- package/dist/geneVariant-ZHNVEKQ6.js +0 -39
- package/dist/geneVariant.integration.spec-2C7EWKEV.js +0 -198
- package/dist/genefusion.ui-ASICJNII.js +0 -309
- package/dist/geneset-SNM4M6UM.js +0 -208
- package/dist/genomeBrowser.spec-DJIRW2X7.js +0 -281
- package/dist/grin2-7AOJP5QJ.js +0 -1560
- package/dist/grin2-RKJXYWJ5.js +0 -821
- package/dist/grin2-RKJXYWJ5.js.map +0 -7
- package/dist/gsea-SPTQJW67.js +0 -47
- package/dist/hierCluster-KDE5SMYP.js +0 -63
- package/dist/hierCluster-XG4YLVL3.js +0 -59
- package/dist/hierCluster.config-VNEEJCKJ.js +0 -40
- package/dist/hierCluster.integration.spec-SSDN7LSH.js +0 -395
- package/dist/hierCluster.interactivity-DKBSJ644.js +0 -54
- package/dist/hierCluster.renderers-OG6LZAT7.js +0 -21
- package/dist/imagePlot-M5JSHEY4.js +0 -163
- package/dist/importPlot-YH7ZY6RJ.js +0 -8
- package/dist/isoformExpression-EV27MKYZ.js +0 -40
- package/dist/isoformExpression.unit.spec-7T2GOHH3.js +0 -208
- package/dist/launch.adhoc-NOISOX5E.js +0 -42
- package/dist/leftlabel.sample-42AX4KTV.js +0 -260
- package/dist/legacyDataset-SWJCAWIR.js +0 -119
- package/dist/lollipop-LQCQBTSX.js +0 -171
- package/dist/maf-U237OWZ3.js +0 -452
- package/dist/maftimeline-NLZLMHT2.js +0 -593
- package/dist/matrix-DZJXYRYN.js +0 -63
- package/dist/matrix-Y5345QQG.js +0 -58
- package/dist/matrix.cells-PT7S74QP.js +0 -28
- package/dist/matrix.config-2ORCUWKX.js +0 -41
- package/dist/matrix.data-C6VPQJJ4.js +0 -25
- package/dist/matrix.groups-CEOCG2CT.js +0 -27
- package/dist/matrix.integration.spec-U4B3JB6N.js +0 -3072
- package/dist/matrix.interactivity-GFLIFIER.js +0 -42
- package/dist/matrix.layout-DOVDHTDX.js +0 -44
- package/dist/matrix.legend-JE4ZSLP7.js +0 -22
- package/dist/matrix.renderers-GPUJQ7KF.js +0 -38
- package/dist/matrix.serieses-REE4DCSR.js +0 -21
- package/dist/matrix.sort-VD5URUWY.js +0 -27
- package/dist/matrix.sort.unit.spec-4IOFVHJN.js +0 -472
- package/dist/matrix.sorterUi-VQYY6KBK.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-V5O2EJBX.js +0 -342
- package/dist/mavb-SQDA3B2B.js +0 -732
- package/dist/mds.fimo-ZJSEPLD7.js +0 -518
- package/dist/mds.samplescatterplot-Y5V73GOY.js +0 -1550
- package/dist/mds.survivalplot-CZBRMHYN.js +0 -483
- package/dist/numericDictTermCluster-TFXBBUVI.js +0 -72
- package/dist/oncomatrix-ZILACPPI.js +0 -295
- package/dist/oncomatrix.spec-RLIVVVD6.js +0 -448
- package/dist/plot.2dvaf-BNRZPIKU.js +0 -377
- package/dist/plot.app-NRUARQCN.js +0 -41
- package/dist/plot.barplot-342AYQC7.js +0 -102
- package/dist/plot.boxplot-OHEJDPTW.js +0 -152
- package/dist/plot.brainImaging-KV72PAON.js +0 -51
- package/dist/plot.disco-OUE4RFHL.js +0 -102
- package/dist/plot.dzi-T3GPUH36.js +0 -33
- package/dist/plot.ssgq-WJHGMXW5.js +0 -139
- package/dist/plot.vaf2cov-NGD5PCV4.js +0 -259
- package/dist/plot.wsi-2MU5BDG3.js +0 -36
- package/dist/polar2-YCWPBPFU.js +0 -226
- package/dist/polar2-YCWPBPFU.js.map +0 -7
- package/dist/profileForms-OV3I6RK7.js +0 -441
- package/dist/profileForms-OV3I6RK7.js.map +0 -7
- package/dist/profilePlot-OMVO3K4H.js +0 -54
- package/dist/proteinView-OAR2RC6U.js +0 -1320
- package/dist/proteinView-OAR2RC6U.js.map +0 -7
- package/dist/qualitative-MEYBRUC6.js +0 -43
- package/dist/radar2-KREAMGVV.js +0 -321
- package/dist/radar2-KREAMGVV.js.map +0 -7
- package/dist/radarFacility2-DBPEV7VC.js +0 -329
- package/dist/radarFacility2-DBPEV7VC.js.map +0 -7
- package/dist/regression-ZPDPLI6G.js +0 -56
- package/dist/regression.inputs-QOSBAGL6.js +0 -48
- package/dist/regression.inputs.term-HMUMPY7X.js +0 -48
- package/dist/regression.inputs.values.table-VMCTZHLG.js +0 -45
- package/dist/regression.integration.spec-RP74JTAA.js +0 -784
- package/dist/regression.results-5XC6M67C.js +0 -40
- package/dist/regression.spec-EZYM24J7.js +0 -708
- package/dist/report-ZOVQCOGQ.js +0 -222
- package/dist/sampleScatter.spec-CD52FEOC.js +0 -202
- package/dist/sampleView-SVTLSWRG.js +0 -48
- package/dist/samplelst-HXF5POJD.js +0 -111
- package/dist/samplematrix-NYDAH74I.js +0 -2198
- package/dist/sc-JIDT4W4K.js +0 -86
- package/dist/scatter-WNRTPSEE.js +0 -849
- package/dist/scatter-WNRTPSEE.js.map +0 -7
- package/dist/scatter.integration.spec-3EYTPY5B.js +0 -1197
- package/dist/scatter.integration.spec-3EYTPY5B.js.map +0 -7
- package/dist/selectGenomeWithTklst-OSB7B6L3.js +0 -134
- package/dist/singleCellCellType-3BH7LWQ6.js +0 -38
- package/dist/singleCellCellType.unit.spec-RU4RJXFF.js +0 -160
- package/dist/singleCellGeneExpression-3UA4YER7.js +0 -38
- package/dist/singleCellGeneExpression.unit.spec-4ZTBG37H.js +0 -153
- package/dist/singleCellPlot-ZUAWK5RE.js +0 -54
- package/dist/singlecell-BGJZB7MF.js +0 -86
- package/dist/singlecell-RO3BL5OO.js +0 -1572
- package/dist/snp-HD7VQKBR.js +0 -38
- package/dist/snp.unit.spec-ISXCLMWW.js +0 -176
- package/dist/snplocus-IL5Z4XWV.js +0 -208
- package/dist/spliceevent.a53ss.diagram-LLJSPV7M.js +0 -151
- package/dist/spliceevent.exonskip.diagram-LAOIOIST.js +0 -277
- package/dist/spliceevent.noeventdiagram-MVA7Q3HT.js +0 -460
- package/dist/ssGSEA-7T6S3DSE.js +0 -38
- package/dist/ssGSEA.unit.spec-XJ3W4NWX.js +0 -88
- package/dist/summarizeCnvGeneexp-RRP6JUV6.js +0 -163
- package/dist/summarizeGeneexpSurvival-AFLHDD6Q.js +0 -108
- package/dist/summarizeMutationCnv-NABUYHMX.js +0 -164
- package/dist/summarizeMutationDiagnosis-2LQ7JU3K.js +0 -40
- package/dist/summarizeMutationSurvival-3WBT5TXG.js +0 -99
- package/dist/summary-FRDKOFXW.js +0 -49
- package/dist/summary.integration.spec-ZLRIA7G2.js +0 -414
- package/dist/summaryInput-4JO6MHP4.js +0 -235
- package/dist/sunburst-DRCVSC2X.js +0 -284
- package/dist/survival-AK75COPY.js +0 -58
- package/dist/survival-IF5NI3A6.js +0 -46
- package/dist/survival.integration.spec-7IWBTPJG.js +0 -821
- package/dist/svgraph-QBDF2SLB.js +0 -1387
- package/dist/svmr-O4GJJUT2.js +0 -3842
- package/dist/table-FQAIXKLE.js +0 -200
- package/dist/termCollection-GMDDL3L7.js +0 -179
- package/dist/termCollection-ZO5PZ7E3.js +0 -38
- package/dist/termCollection.unit.spec-5JBCTXHX.js +0 -208
- package/dist/tk-GJX23IV7.js +0 -46
- package/dist/tp.ui-T7FVMTGQ.js +0 -1459
- package/dist/tvs.dt-X7L7NSU6.js +0 -39
- package/dist/tvs.dtcnv.categorical-73G2V6CH.js +0 -40
- package/dist/tvs.dtcnv.continuous-DWFJL3X7.js +0 -72
- package/dist/tvs.dtfusion-HQADHCSV.js +0 -40
- package/dist/tvs.dtsnvindel-PY5OBMGW.js +0 -40
- package/dist/tvs.dtsv-OTBEEWSW.js +0 -40
- package/dist/tvs.numeric-WGDHEBJV.js +0 -21
- package/dist/tvs.samplelst-LCXSU5MG.js +0 -104
- package/dist/tvs.termCollection-L527XN4X.js +0 -159
- package/dist/violin-6VKRUQV3.js +0 -46
- package/dist/violin.integration.spec-RJATDLQH.js +0 -1425
- package/dist/violin.interactivity-SKF5H7MN.js +0 -38
- package/dist/violin.renderer-GB4TPX3B.js +0 -40
- package/dist/vocabulary-D3W44IWE.js +0 -41
- /package/dist/{2dmaf-Z3D2M3FB.js.map → 2dmaf-BNMEUJVM.js.map} +0 -0
- /package/dist/{AppHeader-PXLGVCVS.js.map → AppHeader-RXDJBHXZ.js.map} +0 -0
- /package/dist/{CorrelationVolcano-RO6CFLZA.js.map → CorrelationVolcano-V2E566XL.js.map} +0 -0
- /package/dist/{DE-CCA5SBJG.js.map → DE-7YUZSW4E.js.map} +0 -0
- /package/dist/{DEinput-MRUQW6X6.js.map → DEinput-P2HOQC4Z.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-5YQQLJKR.js.map → DifferentialAnalysis-2Z6BHS7A.js.map} +0 -0
- /package/dist/{DmrPlot-FPJJHTM5.js.map → DmrPlot-OEJRGNI3.js.map} +0 -0
- /package/dist/{GB-H6JETPRC.js.map → GB-2GHDD3MW.js.map} +0 -0
- /package/dist/{HicApp-BBD2YOMT.js.map → HicApp-CAYC4DPO.js.map} +0 -0
- /package/dist/{NumBinaryEditor-WMSF7HIO.js.map → NumBinaryEditor-EUOYSGPM.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-QQATLHF7.js.map → NumBinaryEditor.unit.spec-5B3W4B4F.js.map} +0 -0
- /package/dist/{NumContEditor-4CSTHVRX.js.map → NumContEditor-7KK6CIB3.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-2YF3OS3A.js.map → NumContEditor.unit.spec-IMKGVYFZ.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-KFAYUWYV.js.map → NumCustomBinEditor-PDAF6I7B.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-YHAUSGPN.js.map → NumCustomBinEditor.unit.spec-IU3DPECJ.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-F46H5CME.js.map → NumDiscreteEditor-YTKUHG6Z.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-5BIAWAVN.js.map → NumDiscreteEditor.unit.spec-FUBS7Z7Z.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-G7KOA7NR.js.map → NumRegularBinEditor-LU3KLBLY.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-Y6CBCWLN.js.map → NumRegularBinEditor.unit.spec-2BKOHI7L.js.map} +0 -0
- /package/dist/{NumSplineEditor-JP2V2L4Y.js.map → NumSplineEditor-56RJ2HT2.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-N34QBZN3.js.map → NumSplineEditor.unit.spec-PW6VUUBZ.js.map} +0 -0
- /package/dist/{NumericDensity-JOPHLURB.js.map → NumericDensity-EB4H54EF.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-N45PCLOT.js.map → NumericDensity.unit.spec-LSEM4OEY.js.map} +0 -0
- /package/dist/{NumericHandler-SIM4E2Z5.js.map → NumericHandler-VGPDXP35.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-NKLYDVTG.js.map → NumericHandler.unit.spec-NR3F7XHV.js.map} +0 -0
- /package/dist/{ProteomeInput-5KMNE3PZ.js.map → ProteomeInput-AUXWUIWK.js.map} +0 -0
- /package/dist/{RunChart2-N7AZVQXJ.js.map → RunChart2-SQ6TFOHD.js.map} +0 -0
- /package/dist/{Volcano-YH4RJTT5.js.map → Volcano-XHDH6UN7.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-QPPB7OOD.js.map → WsiSamplesPlot-YUOAWG2A.js.map} +0 -0
- /package/dist/{adSandbox-R2QP74P7.js.map → adSandbox-VMMAL22L.js.map} +0 -0
- /package/dist/{app-AIIN4WDE.js.map → app-FX3KZ67X.js.map} +0 -0
- /package/dist/{app-FJT5VXMF.js.map → app-X7ZYEOZN.js.map} +0 -0
- /package/dist/{bam-QBO22VQB.js.map → bam-ZYLH4U5R.js.map} +0 -0
- /package/dist/{barchart-VDOP6FQU.js.map → barchart-MXSPTKV4.js.map} +0 -0
- /package/dist/{barchart.data-Z2E72EET.js.map → barchart.data-ZWF6EVJH.js.map} +0 -0
- /package/dist/{barchart.events-NUYQBI5S.js.map → barchart.events-XON2ANOC.js.map} +0 -0
- /package/dist/{barchart.integration.spec-COVZPXMH.js.map → barchart.integration.spec-PJIENJGT.js.map} +0 -0
- /package/dist/{bars.renderer-JHCZDSM6.js.map → bars.renderer-57KSYAAT.js.map} +0 -0
- /package/dist/{block.init-RRHHCNSR.js.map → block.init-IJBRPZNM.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-7NWBRUII.js.map → block.mds.expressionrank-3DANCP7E.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-4BAJJWCC.js.map → block.mds.geneboxplot-CRGSCZMG.js.map} +0 -0
- /package/dist/{block.mds.junction-XRUIHAF5.js.map → block.mds.junction-4UIH2ZYN.js.map} +0 -0
- /package/dist/{block.mds.svcnv-YZ7PL733.js.map → block.mds.svcnv-NF4UIRR2.js.map} +0 -0
- /package/dist/{block.svg-FUMP2J7A.js.map → block.svg-AIZ47JCQ.js.map} +0 -0
- /package/dist/{block.tk.aicheck-AIZEND45.js.map → block.tk.aicheck-7HZFGE63.js.map} +0 -0
- /package/dist/{block.tk.ase-H26PKO5U.js.map → block.tk.ase-U3VNPZEA.js.map} +0 -0
- /package/dist/{block.tk.bam-XNZFHSDQ.js.map → block.tk.bam-4TQ7P2OX.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-QTDBLBO2.js.map → block.tk.bedgraphdot-MYHKKO6K.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-OSRCPTQC.js.map → block.tk.bigwig.ui-E3YVGIDN.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-7GH6LVIH.js.map → block.tk.hicstraw-Y4XOMG7T.js.map} +0 -0
- /package/dist/{block.tk.junction-AJYML4AW.js.map → block.tk.junction-T5C7LK6F.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-4RIH3EZI.js.map → block.tk.junction.textmatrixui-Z3ACCVXH.js.map} +0 -0
- /package/dist/{block.tk.ld-AJYQ4C6T.js.map → block.tk.ld-Y5KDA5AU.js.map} +0 -0
- /package/dist/{block.tk.menu-57OP5UW5.js.map → block.tk.menu-EWRRISDY.js.map} +0 -0
- /package/dist/{block.tk.pgv-XO7HP5MM.js.map → block.tk.pgv-3JYGOZVQ.js.map} +0 -0
- /package/dist/{brainImaging-65QDNR4D.js.map → brainImaging-P3AF3C5N.js.map} +0 -0
- /package/dist/{chunk-7EMWHCVW.js.map → chunk-2JR7RPB6.js.map} +0 -0
- /package/dist/{chunk-72X7LSBN.js.map → chunk-3FVIDQOX.js.map} +0 -0
- /package/dist/{chunk-VGJSASRT.js.map → chunk-3K2O2NIH.js.map} +0 -0
- /package/dist/{chunk-6GN7X6LU.js.map → chunk-3RSJU6YM.js.map} +0 -0
- /package/dist/{chunk-W6ME65LV.js.map → chunk-3ZKD6C5S.js.map} +0 -0
- /package/dist/{chunk-XAVNZNXQ.js.map → chunk-46AEH34Z.js.map} +0 -0
- /package/dist/{chunk-UOVALHAJ.js.map → chunk-4CQVC6XL.js.map} +0 -0
- /package/dist/{chunk-QQZ3SBF3.js.map → chunk-5FXNI724.js.map} +0 -0
- /package/dist/{chunk-I5RAQKKJ.js.map → chunk-7PFRBGMN.js.map} +0 -0
- /package/dist/{chunk-VGYTAYFK.js.map → chunk-A4Z3CI24.js.map} +0 -0
- /package/dist/{chunk-YZK37YCC.js.map → chunk-AI2LUQS6.js.map} +0 -0
- /package/dist/{chunk-UJKW42DI.js.map → chunk-AJYJW4LX.js.map} +0 -0
- /package/dist/{chunk-DD4R5P6W.js.map → chunk-BKPDYW5T.js.map} +0 -0
- /package/dist/{chunk-5OUTR67M.js.map → chunk-BMS32SNA.js.map} +0 -0
- /package/dist/{chunk-BWGU5NJS.js.map → chunk-CJPGYPI3.js.map} +0 -0
- /package/dist/{chunk-O3JB4PIX.js.map → chunk-CTQH7LQ6.js.map} +0 -0
- /package/dist/{chunk-DKVUOBIE.js.map → chunk-D5CVYITI.js.map} +0 -0
- /package/dist/{chunk-HKSNADSX.js.map → chunk-DMSX5PSO.js.map} +0 -0
- /package/dist/{chunk-VOUMS6IP.js.map → chunk-E3JRW3T3.js.map} +0 -0
- /package/dist/{chunk-SHWLROJG.js.map → chunk-E574SMCX.js.map} +0 -0
- /package/dist/{chunk-LTOBEUM2.js.map → chunk-E76O5Z42.js.map} +0 -0
- /package/dist/{chunk-3SZ6GKLB.js.map → chunk-EEW443GL.js.map} +0 -0
- /package/dist/{chunk-6A3IPDE2.js.map → chunk-F2WPS7VY.js.map} +0 -0
- /package/dist/{chunk-322QC6R4.js.map → chunk-FYFX42YD.js.map} +0 -0
- /package/dist/{chunk-ORL44TIK.js.map → chunk-G6RZYGWY.js.map} +0 -0
- /package/dist/{chunk-VHOEJBFP.js.map → chunk-GTZV2UZV.js.map} +0 -0
- /package/dist/{chunk-W55XSG6K.js.map → chunk-H34LAFGH.js.map} +0 -0
- /package/dist/{chunk-J4SOF2ZH.js.map → chunk-I2R5O2XX.js.map} +0 -0
- /package/dist/{chunk-PCZNTK74.js.map → chunk-IEYDMN3H.js.map} +0 -0
- /package/dist/{chunk-N2SKTCDK.js.map → chunk-JWBP4ZZB.js.map} +0 -0
- /package/dist/{chunk-B6CSYKZJ.js.map → chunk-KVIH5JPC.js.map} +0 -0
- /package/dist/{chunk-57RBC6IZ.js.map → chunk-L5HCOTRF.js.map} +0 -0
- /package/dist/{chunk-XMLURPEP.js.map → chunk-LHKDLWG5.js.map} +0 -0
- /package/dist/{chunk-G6O3URDN.js.map → chunk-LQJMCE7G.js.map} +0 -0
- /package/dist/{chunk-WHI6466S.js.map → chunk-MNIBZTQE.js.map} +0 -0
- /package/dist/{chunk-CC3GFVV6.js.map → chunk-MP3DN6JK.js.map} +0 -0
- /package/dist/{chunk-R2MMURGK.js.map → chunk-N5OVBS5L.js.map} +0 -0
- /package/dist/{chunk-OEDZHPBJ.js.map → chunk-NEKAGDTL.js.map} +0 -0
- /package/dist/{chunk-4DXZGZOB.js.map → chunk-NPCNDM6Y.js.map} +0 -0
- /package/dist/{chunk-ULPMYS5B.js.map → chunk-NYN2WQN3.js.map} +0 -0
- /package/dist/{chunk-QNETLNPB.js.map → chunk-O6WL7USJ.js.map} +0 -0
- /package/dist/{chunk-3ZLJDFJU.js.map → chunk-OH5I6I2D.js.map} +0 -0
- /package/dist/{chunk-36EHIPV4.js.map → chunk-PTQ774XH.js.map} +0 -0
- /package/dist/{chunk-DR6H3QAA.js.map → chunk-PXOH4ZN2.js.map} +0 -0
- /package/dist/{chunk-54EMVNPW.js.map → chunk-QG4BJUM7.js.map} +0 -0
- /package/dist/{chunk-ZXTHADSC.js.map → chunk-RITTG5WN.js.map} +0 -0
- /package/dist/{chunk-KPJZBCVI.js.map → chunk-SMSFTTEO.js.map} +0 -0
- /package/dist/{chunk-EVN6KWPN.js.map → chunk-TBZKVKR4.js.map} +0 -0
- /package/dist/{chunk-KSGA62R2.js.map → chunk-TJYRBEBK.js.map} +0 -0
- /package/dist/{chunk-QH6W3NVF.js.map → chunk-TLTS33EY.js.map} +0 -0
- /package/dist/{chunk-VV36JRUF.js.map → chunk-TMM7BWW7.js.map} +0 -0
- /package/dist/{chunk-ZTYNN6G5.js.map → chunk-TTC4MNEM.js.map} +0 -0
- /package/dist/{chunk-7FACFCZK.js.map → chunk-UXIZYI3X.js.map} +0 -0
- /package/dist/{chunk-EH4NQ7C4.js.map → chunk-VIUATDO2.js.map} +0 -0
- /package/dist/{chunk-2XCUERHJ.js.map → chunk-VIUDFDN4.js.map} +0 -0
- /package/dist/{chunk-ODG6RD7P.js.map → chunk-W5OEFZCR.js.map} +0 -0
- /package/dist/{chunk-GNIK4JYM.js.map → chunk-WXSRK3XR.js.map} +0 -0
- /package/dist/{chunk-NGM3ZLIP.js.map → chunk-XHGMDBTS.js.map} +0 -0
- /package/dist/{chunk-WSDUD52Y.js.map → chunk-XVGS3QXS.js.map} +0 -0
- /package/dist/{chunk-NSXZPWRP.js.map → chunk-XYNYQMLH.js.map} +0 -0
- /package/dist/{chunk-35SCELN4.js.map → chunk-Y4JJMUWG.js.map} +0 -0
- /package/dist/{chunk-UI7OCM2A.js.map → chunk-Z457XQSX.js.map} +0 -0
- /package/dist/{condition-HDVYPJJD.js.map → condition-QXTOTGZX.js.map} +0 -0
- /package/dist/{controls-YEEW46C6.js.map → controls-7TDB75LK.js.map} +0 -0
- /package/dist/{controls.config-C535H5DL.js.map → controls.config-IBF5ILFP.js.map} +0 -0
- /package/dist/{cuminc-II7NFIFP.js.map → cuminc-CAHPKW7W.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-B4N6OMBJ.js.map → cuminc.integration.spec-NNSQGBRI.js.map} +0 -0
- /package/dist/{customdata.inputui-AI4ZBIEP.js.map → customdata.inputui-RRTQK7OK.js.map} +0 -0
- /package/dist/{dataDownload-ZQYLXN6D.js.map → dataDownload-SOUCBKXM.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-2PKYZ2AY.js.map → dataDownload.integration.spec-C6TLWSSO.js.map} +0 -0
- /package/dist/{databrowser.ui-WGD7D3XV.js.map → databrowser.ui-KLFEU5QA.js.map} +0 -0
- /package/dist/{dnaMethylation-WGJMJL5B.js.map → dnaMethylation-WOKGG33W.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-DO3PV4MO.js.map → dnaMethylation.integration.spec-YUPP42UK.js.map} +0 -0
- /package/dist/{dofetch-RADX3AFU.js.map → dofetch-V7PLLWSO.js.map} +0 -0
- /package/dist/{e2pca-KOAAU2JX.js.map → e2pca-VT7EM4E3.js.map} +0 -0
- /package/dist/{ep-CXCATXYH.js.map → ep-X6B43UXE.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-UJO2R3CW.js.map → expclust.gdc.spec-DTBFOXBC.js.map} +0 -0
- /package/dist/{facet-2FBUAD7P.js.map → facet-T5ZX7ZGV.js.map} +0 -0
- /package/dist/{gb-VCJFV63W.js.map → gb-TWXREZIP.js.map} +0 -0
- /package/dist/{geneExpClustering-FUNS6D2P.js.map → geneExpClustering-2G6YDCIN.js.map} +0 -0
- /package/dist/{geneExpression-2BWWGYL4.js.map → geneExpression-2A4ZPT7K.js.map} +0 -0
- /package/dist/{geneExpression-2OPFWV2K.js.map → geneExpression-ZHQH6SNA.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-G7BSHJQT.js.map → geneExpression.unit.spec-2M223S4P.js.map} +0 -0
- /package/dist/{geneORA-S3KQMBYL.js.map → geneORA-YLIRUMCZ.js.map} +0 -0
- /package/dist/{geneRanking-UZ36XAL7.js.map → geneRanking-JDJXNGEC.js.map} +0 -0
- /package/dist/{geneVariant-OOZ2SBXO.js.map → geneVariant-5ZIOT5BT.js.map} +0 -0
- /package/dist/{geneVariant-ZHNVEKQ6.js.map → geneVariant-GIXIMJ2I.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-2C7EWKEV.js.map → geneVariant.integration.spec-QCROW73S.js.map} +0 -0
- /package/dist/{genefusion.ui-ASICJNII.js.map → genefusion.ui-56UQLUKJ.js.map} +0 -0
- /package/dist/{geneset-SNM4M6UM.js.map → geneset-ACRMGBJO.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-DJIRW2X7.js.map → genomeBrowser.spec-EDILOQON.js.map} +0 -0
- /package/dist/{grin2-7AOJP5QJ.js.map → grin2-5P7CYUT7.js.map} +0 -0
- /package/dist/{gsea-SPTQJW67.js.map → gsea-2PQ5HNNT.js.map} +0 -0
- /package/dist/{hierCluster-KDE5SMYP.js.map → hierCluster-H5HB7FPW.js.map} +0 -0
- /package/dist/{hierCluster-XG4YLVL3.js.map → hierCluster-L3LCP2II.js.map} +0 -0
- /package/dist/{hierCluster.config-VNEEJCKJ.js.map → hierCluster.config-6UIJWCND.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-SSDN7LSH.js.map → hierCluster.integration.spec-EVAPT2VF.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-DKBSJ644.js.map → hierCluster.interactivity-7MW6ZT6O.js.map} +0 -0
- /package/dist/{hierCluster.renderers-OG6LZAT7.js.map → hierCluster.renderers-F34EVY5J.js.map} +0 -0
- /package/dist/{imagePlot-M5JSHEY4.js.map → imagePlot-RSFZ2OKD.js.map} +0 -0
- /package/dist/{importPlot-YH7ZY6RJ.js.map → importPlot-DQFWY5A7.js.map} +0 -0
- /package/dist/{isoformExpression-EV27MKYZ.js.map → isoformExpression-2KANPCBH.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-7T2GOHH3.js.map → isoformExpression.unit.spec-6FSMHT4K.js.map} +0 -0
- /package/dist/{launch.adhoc-NOISOX5E.js.map → launch.adhoc-ZYTIRVIC.js.map} +0 -0
- /package/dist/{leftlabel.sample-42AX4KTV.js.map → leftlabel.sample-66U6MHPN.js.map} +0 -0
- /package/dist/{legacyDataset-SWJCAWIR.js.map → legacyDataset-TNIIJABK.js.map} +0 -0
- /package/dist/{lollipop-LQCQBTSX.js.map → lollipop-PJDUFWEY.js.map} +0 -0
- /package/dist/{maf-U237OWZ3.js.map → maf-DLJHCKHJ.js.map} +0 -0
- /package/dist/{maftimeline-NLZLMHT2.js.map → maftimeline-NK5QYJMJ.js.map} +0 -0
- /package/dist/{matrix-DZJXYRYN.js.map → matrix-7BFYR6QL.js.map} +0 -0
- /package/dist/{matrix-Y5345QQG.js.map → matrix-USAB2CHO.js.map} +0 -0
- /package/dist/{matrix.cells-PT7S74QP.js.map → matrix.cells-OTAXAJ4N.js.map} +0 -0
- /package/dist/{matrix.config-2ORCUWKX.js.map → matrix.config-AL4WSFZ7.js.map} +0 -0
- /package/dist/{matrix.data-C6VPQJJ4.js.map → matrix.data-BDHCSN2G.js.map} +0 -0
- /package/dist/{matrix.groups-CEOCG2CT.js.map → matrix.groups-MV2D2636.js.map} +0 -0
- /package/dist/{matrix.integration.spec-U4B3JB6N.js.map → matrix.integration.spec-DESORC2Y.js.map} +0 -0
- /package/dist/{matrix.interactivity-GFLIFIER.js.map → matrix.interactivity-H7EJW3P2.js.map} +0 -0
- /package/dist/{matrix.layout-DOVDHTDX.js.map → matrix.layout-7CAS2IBO.js.map} +0 -0
- /package/dist/{matrix.legend-JE4ZSLP7.js.map → matrix.legend-JDVG2JDF.js.map} +0 -0
- /package/dist/{matrix.renderers-GPUJQ7KF.js.map → matrix.renderers-PDR5FIBC.js.map} +0 -0
- /package/dist/{matrix.serieses-REE4DCSR.js.map → matrix.serieses-QVDS5HKK.js.map} +0 -0
- /package/dist/{matrix.sort-VD5URUWY.js.map → matrix.sort-HCK4CSTJ.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-4IOFVHJN.js.map → matrix.sort.unit.spec-2GC4E26N.js.map} +0 -0
- /package/dist/{matrix.sorterUi-VQYY6KBK.js.map → matrix.sorterUi-XGBQOPG4.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-V5O2EJBX.js.map → matrix.sorterUi.unit.spec-BJQKDU2F.js.map} +0 -0
- /package/dist/{mavb-SQDA3B2B.js.map → mavb-6E6Z4LPK.js.map} +0 -0
- /package/dist/{mds.fimo-ZJSEPLD7.js.map → mds.fimo-5P2TK5U4.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-Y5V73GOY.js.map → mds.samplescatterplot-KLKOD4AS.js.map} +0 -0
- /package/dist/{mds.survivalplot-CZBRMHYN.js.map → mds.survivalplot-SWQCOFIU.js.map} +0 -0
- /package/dist/{numericDictTermCluster-TFXBBUVI.js.map → numericDictTermCluster-WIVO33AV.js.map} +0 -0
- /package/dist/{oncomatrix-ZILACPPI.js.map → oncomatrix-SDUUQZCK.js.map} +0 -0
- /package/dist/{oncomatrix.spec-RLIVVVD6.js.map → oncomatrix.spec-YGQYIUDT.js.map} +0 -0
- /package/dist/{plot.2dvaf-BNRZPIKU.js.map → plot.2dvaf-K53KTP5W.js.map} +0 -0
- /package/dist/{plot.app-NRUARQCN.js.map → plot.app-FNJVWLPQ.js.map} +0 -0
- /package/dist/{plot.barplot-342AYQC7.js.map → plot.barplot-VTC3N6BR.js.map} +0 -0
- /package/dist/{plot.boxplot-OHEJDPTW.js.map → plot.boxplot-RJFGQSLA.js.map} +0 -0
- /package/dist/{plot.brainImaging-KV72PAON.js.map → plot.brainImaging-6KVNPPMT.js.map} +0 -0
- /package/dist/{plot.disco-OUE4RFHL.js.map → plot.disco-ZFH5RK6B.js.map} +0 -0
- /package/dist/{plot.dzi-T3GPUH36.js.map → plot.dzi-IA2SOFUD.js.map} +0 -0
- /package/dist/{plot.ssgq-WJHGMXW5.js.map → plot.ssgq-QARGQVKB.js.map} +0 -0
- /package/dist/{plot.vaf2cov-NGD5PCV4.js.map → plot.vaf2cov-2JUXYCPG.js.map} +0 -0
- /package/dist/{plot.wsi-2MU5BDG3.js.map → plot.wsi-C2DULA7U.js.map} +0 -0
- /package/dist/{profilePlot-OMVO3K4H.js.map → profilePlot-SVI3QKMD.js.map} +0 -0
- /package/dist/{qualitative-MEYBRUC6.js.map → qualitative-AQFKAZID.js.map} +0 -0
- /package/dist/{regression-ZPDPLI6G.js.map → regression-DLPBCDZT.js.map} +0 -0
- /package/dist/{regression.inputs-QOSBAGL6.js.map → regression.inputs-42LY4MEZ.js.map} +0 -0
- /package/dist/{regression.inputs.term-HMUMPY7X.js.map → regression.inputs.term-TTUFFPG6.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-VMCTZHLG.js.map → regression.inputs.values.table-CJAPTSMS.js.map} +0 -0
- /package/dist/{regression.integration.spec-RP74JTAA.js.map → regression.integration.spec-UDA26OGS.js.map} +0 -0
- /package/dist/{regression.results-5XC6M67C.js.map → regression.results-IA3C7SHR.js.map} +0 -0
- /package/dist/{regression.spec-EZYM24J7.js.map → regression.spec-HEXCL3QV.js.map} +0 -0
- /package/dist/{report-ZOVQCOGQ.js.map → report-4CFOWNPJ.js.map} +0 -0
- /package/dist/{sampleScatter.spec-CD52FEOC.js.map → sampleScatter.spec-N6V4BQ5Q.js.map} +0 -0
- /package/dist/{sampleView-SVTLSWRG.js.map → sampleView-CZF7U23I.js.map} +0 -0
- /package/dist/{samplelst-HXF5POJD.js.map → samplelst-XUGDS5TU.js.map} +0 -0
- /package/dist/{samplematrix-NYDAH74I.js.map → samplematrix-R5PZLZDE.js.map} +0 -0
- /package/dist/{sc-JIDT4W4K.js.map → sc-WTZZA5J5.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-OSB7B6L3.js.map → selectGenomeWithTklst-2S2MXVCI.js.map} +0 -0
- /package/dist/{singleCellCellType-3BH7LWQ6.js.map → singleCellCellType-LJWFG7MY.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-RU4RJXFF.js.map → singleCellCellType.unit.spec-RGN2XVUR.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-3UA4YER7.js.map → singleCellGeneExpression-IW2QXTTU.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-4ZTBG37H.js.map → singleCellGeneExpression.unit.spec-4PO3Q7TM.js.map} +0 -0
- /package/dist/{singleCellPlot-ZUAWK5RE.js.map → singleCellPlot-6EZ6JXCM.js.map} +0 -0
- /package/dist/{singlecell-BGJZB7MF.js.map → singlecell-3LFPQ6KO.js.map} +0 -0
- /package/dist/{singlecell-RO3BL5OO.js.map → singlecell-NTTAVVMR.js.map} +0 -0
- /package/dist/{snp-HD7VQKBR.js.map → snp-XB4IBG4Z.js.map} +0 -0
- /package/dist/{snp.unit.spec-ISXCLMWW.js.map → snp.unit.spec-HAJPM53L.js.map} +0 -0
- /package/dist/{snplocus-IL5Z4XWV.js.map → snplocus-HE6TITSX.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-LLJSPV7M.js.map → spliceevent.a53ss.diagram-TCZMBMD7.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-LAOIOIST.js.map → spliceevent.exonskip.diagram-VESOF6UC.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-MVA7Q3HT.js.map → spliceevent.noeventdiagram-4K7FMO4F.js.map} +0 -0
- /package/dist/{ssGSEA-7T6S3DSE.js.map → ssGSEA-2XYMX36P.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-XJ3W4NWX.js.map → ssGSEA.unit.spec-J36KM2HO.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-RRP6JUV6.js.map → summarizeCnvGeneexp-LYVDZXXD.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-AFLHDD6Q.js.map → summarizeGeneexpSurvival-Y52TGAHF.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-NABUYHMX.js.map → summarizeMutationCnv-6EEJT3PV.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-2LQ7JU3K.js.map → summarizeMutationDiagnosis-HZKXHOOQ.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-3WBT5TXG.js.map → summarizeMutationSurvival-TU7TQYFQ.js.map} +0 -0
- /package/dist/{summary-FRDKOFXW.js.map → summary-4QQZUAMU.js.map} +0 -0
- /package/dist/{summary.integration.spec-ZLRIA7G2.js.map → summary.integration.spec-SLIIM4HN.js.map} +0 -0
- /package/dist/{summaryInput-4JO6MHP4.js.map → summaryInput-6HROPKCE.js.map} +0 -0
- /package/dist/{sunburst-DRCVSC2X.js.map → sunburst-MBJJPERL.js.map} +0 -0
- /package/dist/{survival-AK75COPY.js.map → survival-CXLMQSV2.js.map} +0 -0
- /package/dist/{survival-IF5NI3A6.js.map → survival-QSL2KDKD.js.map} +0 -0
- /package/dist/{survival.integration.spec-7IWBTPJG.js.map → survival.integration.spec-EUAAALVW.js.map} +0 -0
- /package/dist/{svgraph-QBDF2SLB.js.map → svgraph-JM5MHQDX.js.map} +0 -0
- /package/dist/{svmr-O4GJJUT2.js.map → svmr-MCMST2FL.js.map} +0 -0
- /package/dist/{table-FQAIXKLE.js.map → table-MVX3IMAL.js.map} +0 -0
- /package/dist/{termCollection-ZO5PZ7E3.js.map → termCollection-FZ2SCVA7.js.map} +0 -0
- /package/dist/{termCollection-GMDDL3L7.js.map → termCollection-IGC7REFK.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-5JBCTXHX.js.map → termCollection.unit.spec-VY2EZZIP.js.map} +0 -0
- /package/dist/{tk-GJX23IV7.js.map → tk-5F3TWZ2G.js.map} +0 -0
- /package/dist/{tp.ui-T7FVMTGQ.js.map → tp.ui-IURWTMAS.js.map} +0 -0
- /package/dist/{tvs.dt-X7L7NSU6.js.map → tvs.dt-BPZCFPYK.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-73G2V6CH.js.map → tvs.dtcnv.categorical-UFS62DTR.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-DWFJL3X7.js.map → tvs.dtcnv.continuous-R6YXNNLA.js.map} +0 -0
- /package/dist/{tvs.dtfusion-HQADHCSV.js.map → tvs.dtfusion-FGXXS4XX.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-PY5OBMGW.js.map → tvs.dtsnvindel-DR43K7X3.js.map} +0 -0
- /package/dist/{tvs.dtsv-OTBEEWSW.js.map → tvs.dtsv-NO34GIOL.js.map} +0 -0
- /package/dist/{tvs.numeric-WGDHEBJV.js.map → tvs.numeric-KYAU5OV3.js.map} +0 -0
- /package/dist/{tvs.samplelst-LCXSU5MG.js.map → tvs.samplelst-2QP7IV2Y.js.map} +0 -0
- /package/dist/{tvs.termCollection-L527XN4X.js.map → tvs.termCollection-UEJDG22G.js.map} +0 -0
- /package/dist/{violin-6VKRUQV3.js.map → violin-NBZTGGYF.js.map} +0 -0
- /package/dist/{violin.integration.spec-RJATDLQH.js.map → violin.integration.spec-5CLYJSAR.js.map} +0 -0
- /package/dist/{violin.interactivity-SKF5H7MN.js.map → violin.interactivity-KXVKTT22.js.map} +0 -0
- /package/dist/{violin.renderer-GB4TPX3B.js.map → violin.renderer-37OF6K7Q.js.map} +0 -0
- /package/dist/{vocabulary-D3W44IWE.js.map → vocabulary-GR6J3VKW.js.map} +0 -0
|
@@ -0,0 +1,1550 @@
|
|
|
1
|
+
import {
|
|
2
|
+
blocklazyload
|
|
3
|
+
} from "./chunk-EEW443GL.js";
|
|
4
|
+
import {
|
|
5
|
+
d3lasso
|
|
6
|
+
} from "./chunk-K5XPMCKP.js";
|
|
7
|
+
import {
|
|
8
|
+
schemeCategory20
|
|
9
|
+
} from "./chunk-V2OJLJSK.js";
|
|
10
|
+
import {
|
|
11
|
+
getsjcharts
|
|
12
|
+
} from "./chunk-MKAF2BHB.js";
|
|
13
|
+
import {
|
|
14
|
+
appear2 as appear,
|
|
15
|
+
disappear2 as disappear,
|
|
16
|
+
export_data,
|
|
17
|
+
filterInit,
|
|
18
|
+
first_genetrack_tolist,
|
|
19
|
+
getVocabFromSamplesArray,
|
|
20
|
+
keyupEnter,
|
|
21
|
+
make_table_2col,
|
|
22
|
+
newpane,
|
|
23
|
+
sayerror,
|
|
24
|
+
tab_wait,
|
|
25
|
+
tkt
|
|
26
|
+
} from "./chunk-KUZPTJJO.js";
|
|
27
|
+
import "./chunk-HJ6L54YS.js";
|
|
28
|
+
import "./chunk-LSEFWW72.js";
|
|
29
|
+
import "./chunk-C4BCMAIK.js";
|
|
30
|
+
import {
|
|
31
|
+
Menu
|
|
32
|
+
} from "./chunk-HYOEWQ5P.js";
|
|
33
|
+
import "./chunk-HBW42TDT.js";
|
|
34
|
+
import "./chunk-LQJMCE7G.js";
|
|
35
|
+
import "./chunk-FN5XPUPH.js";
|
|
36
|
+
import "./chunk-IIT367QZ.js";
|
|
37
|
+
import "./chunk-RZGEKL77.js";
|
|
38
|
+
import "./chunk-Z457XQSX.js";
|
|
39
|
+
import "./chunk-AI2LUQS6.js";
|
|
40
|
+
import {
|
|
41
|
+
dofetch,
|
|
42
|
+
dofetch2
|
|
43
|
+
} from "./chunk-2JR7RPB6.js";
|
|
44
|
+
import {
|
|
45
|
+
getFilteredSamples
|
|
46
|
+
} from "./chunk-7IYJZZQI.js";
|
|
47
|
+
import "./chunk-M3J4MINX.js";
|
|
48
|
+
import "./chunk-PF4DSFDR.js";
|
|
49
|
+
import "./chunk-TLTS33EY.js";
|
|
50
|
+
import "./chunk-2U2CP2Y2.js";
|
|
51
|
+
import "./chunk-ZF6HNVYD.js";
|
|
52
|
+
import "./chunk-BKPDYW5T.js";
|
|
53
|
+
import "./chunk-JNITUVXP.js";
|
|
54
|
+
import {
|
|
55
|
+
identity,
|
|
56
|
+
zoom_default
|
|
57
|
+
} from "./chunk-TJYRBEBK.js";
|
|
58
|
+
import "./chunk-LOZEKOES.js";
|
|
59
|
+
import "./chunk-VQZ2Z5YU.js";
|
|
60
|
+
import {
|
|
61
|
+
linear,
|
|
62
|
+
ordinal
|
|
63
|
+
} from "./chunk-SOTB4FRE.js";
|
|
64
|
+
import "./chunk-TLT4YIG3.js";
|
|
65
|
+
import "./chunk-KYBIQBXE.js";
|
|
66
|
+
import {
|
|
67
|
+
select_default
|
|
68
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
69
|
+
import "./chunk-OMR2DT66.js";
|
|
70
|
+
import "./chunk-DQC5FFGV.js";
|
|
71
|
+
import "./chunk-HFNDKYVF.js";
|
|
72
|
+
|
|
73
|
+
// common/uncollide.js
|
|
74
|
+
function getDefaults(opts) {
|
|
75
|
+
const defaults = {
|
|
76
|
+
waitTime: 0,
|
|
77
|
+
pad: 5,
|
|
78
|
+
nameKey: "",
|
|
79
|
+
steps: [
|
|
80
|
+
{
|
|
81
|
+
type: "restyle",
|
|
82
|
+
applyTo: "all",
|
|
83
|
+
// or just the minColliders
|
|
84
|
+
css: {
|
|
85
|
+
selector: "text",
|
|
86
|
+
key: "font-size",
|
|
87
|
+
value: "12px"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
/*{
|
|
91
|
+
type: 'restyle',
|
|
92
|
+
css: {
|
|
93
|
+
selector: 'text',
|
|
94
|
+
key: 'text-anchor',
|
|
95
|
+
value: 'start'
|
|
96
|
+
}
|
|
97
|
+
},*/
|
|
98
|
+
{
|
|
99
|
+
type: "move",
|
|
100
|
+
repeat: 2,
|
|
101
|
+
pad: 0,
|
|
102
|
+
css: {
|
|
103
|
+
selector: "text"
|
|
104
|
+
},
|
|
105
|
+
boxSorter: (a, b) => {
|
|
106
|
+
if (a.x1 > b.x1) return -1;
|
|
107
|
+
if (b.x1 > a.x1) return 1;
|
|
108
|
+
if (a.y1 > b.y1) return -1;
|
|
109
|
+
if (b.y1 > a.y1) return 1;
|
|
110
|
+
return 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
};
|
|
115
|
+
return Object.assign(defaults, opts);
|
|
116
|
+
}
|
|
117
|
+
async function uncollide(labels, _opts = {}) {
|
|
118
|
+
if (!labels || !labels.size()) return;
|
|
119
|
+
const opts = getDefaults(_opts);
|
|
120
|
+
if (!opts.steps || !opts.steps.length) return;
|
|
121
|
+
if (!opts.svg) opts.svg = labels.node().closest("svg");
|
|
122
|
+
await sleep(opts.waitTime);
|
|
123
|
+
opts.svgBox = opts.svg.getBoundingClientRect();
|
|
124
|
+
const boxes = getBoxes(labels, opts);
|
|
125
|
+
const minNonZeroCollisions = trackCollisions(boxes);
|
|
126
|
+
window.boxes = boxes;
|
|
127
|
+
if (minNonZeroCollisions) {
|
|
128
|
+
const step = opts.steps.shift();
|
|
129
|
+
const adjustees = step.applyTo == "all" ? boxes : step.type == "move" ? boxes.filter((b) => b.collisions.length) : boxes.filter((b) => b.collisions.length === minNonZeroCollisions);
|
|
130
|
+
if (adjustees.length) {
|
|
131
|
+
if (step.boxSorter) adjustees.sort(step.boxSorter);
|
|
132
|
+
for (const box of adjustees) {
|
|
133
|
+
const b = getBoxes(box.label, opts)[0];
|
|
134
|
+
Object.assign(box, b);
|
|
135
|
+
trackOverlaps(box, boxes.filter((b2) => b2 != box));
|
|
136
|
+
await adjusters[step.type](box, step, boxes, opts);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
if (typeof step.repeat == "number" && step.repeat > 0) {
|
|
140
|
+
step.repeat += -1;
|
|
141
|
+
opts.steps.unshift(step);
|
|
142
|
+
}
|
|
143
|
+
if (opts.steps.length) setTimeout(() => uncollide(labels, opts), 0);
|
|
144
|
+
else boxes.forEach(showBox);
|
|
145
|
+
} else boxes.forEach(showBox);
|
|
146
|
+
}
|
|
147
|
+
function getBoxes(labels, opts) {
|
|
148
|
+
const boxes = [];
|
|
149
|
+
labels.each(function(data) {
|
|
150
|
+
const elem = this;
|
|
151
|
+
const bbox = elem.getBoundingClientRect();
|
|
152
|
+
const box = {
|
|
153
|
+
elem,
|
|
154
|
+
label: select_default(elem),
|
|
155
|
+
x1: bbox.x - opts.svgBox.x,
|
|
156
|
+
x2: bbox.x - opts.svgBox.x + bbox.width,
|
|
157
|
+
y1: bbox.y - opts.svgBox.y,
|
|
158
|
+
y2: bbox.y - opts.svgBox.y + bbox.height,
|
|
159
|
+
width: bbox.width,
|
|
160
|
+
height: bbox.height
|
|
161
|
+
};
|
|
162
|
+
box.maxFree = {
|
|
163
|
+
n: Math.max(box.y1, 0),
|
|
164
|
+
s: Math.max(opts.svgBox.y + opts.svgBox.height - box.y2, 0),
|
|
165
|
+
e: Math.max(opts.svgBox.x + opts.svgBox.width - box.x2, 0),
|
|
166
|
+
w: Math.max(box.x1, 0)
|
|
167
|
+
};
|
|
168
|
+
box.corners = {};
|
|
169
|
+
box.overlapSum = 0;
|
|
170
|
+
box.collisions = [];
|
|
171
|
+
box.maxOverlaps = {};
|
|
172
|
+
if (opts.nameKey) box.name = data[opts.nameKey];
|
|
173
|
+
detectSvgOverflow(box, opts.svgBox);
|
|
174
|
+
boxes.push(box);
|
|
175
|
+
});
|
|
176
|
+
return boxes;
|
|
177
|
+
}
|
|
178
|
+
function trackCollisions(boxes) {
|
|
179
|
+
let minNonZeroCollisions = 0;
|
|
180
|
+
for (const box of boxes) {
|
|
181
|
+
const numCollisions = trackOverlaps(box, boxes.filter((b) => b != box));
|
|
182
|
+
if (minNonZeroCollisions === 0 || numCollisions > 0 && numCollisions < minNonZeroCollisions) {
|
|
183
|
+
minNonZeroCollisions = numCollisions;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
boxes.sort(sortBoxes);
|
|
187
|
+
return minNonZeroCollisions;
|
|
188
|
+
}
|
|
189
|
+
function sortBoxes(a, b) {
|
|
190
|
+
return a.collisions.length - b.collisions.length;
|
|
191
|
+
}
|
|
192
|
+
function trackOverlaps(box, boxes) {
|
|
193
|
+
const x1 = box.x1, x2 = box.x2;
|
|
194
|
+
const y1 = box.y1, y2 = box.y2;
|
|
195
|
+
for (const b of boxes) {
|
|
196
|
+
if (b === box) continue;
|
|
197
|
+
const free = {};
|
|
198
|
+
if (b.x2 < x1) {
|
|
199
|
+
free.w = x1 - b.x2;
|
|
200
|
+
} else if (b.x1 > x2) {
|
|
201
|
+
free.e = b.x1 - x2;
|
|
202
|
+
}
|
|
203
|
+
if (b.y2 < y1) {
|
|
204
|
+
free.n = y1 - b.y2;
|
|
205
|
+
} else if (b.y1 > y2) {
|
|
206
|
+
free.s = b.y1 - y2;
|
|
207
|
+
}
|
|
208
|
+
const corners = {};
|
|
209
|
+
if (Object.keys(free).length) {
|
|
210
|
+
if ("n" in free && free.n < box.maxFree.n) box.maxFree.n = free.n;
|
|
211
|
+
if ("s" in free && free.s < box.maxFree.s) box.maxFree.s = free.s;
|
|
212
|
+
if ("e" in free && free.e < box.maxFree.e) box.maxFree.e = free.e;
|
|
213
|
+
if ("w" in free && free.w < box.maxFree.w) box.maxFree.w = free.w;
|
|
214
|
+
} else {
|
|
215
|
+
if (b.x1 <= x1 && x2 <= b.x2) {
|
|
216
|
+
if (b.x1 <= x1 && x1 <= b.x2) {
|
|
217
|
+
const dx = b.x2 - x1;
|
|
218
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
|
|
219
|
+
if (b.y1 <= y1 && y1 <= b.y2) {
|
|
220
|
+
const dy = b.y2 - y1;
|
|
221
|
+
corners.nw = dx * dy;
|
|
222
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
223
|
+
}
|
|
224
|
+
if (b.y1 <= y2 && y2 <= b.y2) {
|
|
225
|
+
const dy = y2 - b.y1;
|
|
226
|
+
corners.sw = dx * dy;
|
|
227
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
if (b.x1 <= x2 && x2 <= b.x2) {
|
|
231
|
+
const dx = x2 - b.x1;
|
|
232
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
233
|
+
if (b.y1 <= y1 && y1 <= b.y2) {
|
|
234
|
+
const dy = b.y2 - y1;
|
|
235
|
+
corners.ne = dx * dy;
|
|
236
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
237
|
+
}
|
|
238
|
+
if (b.y1 <= y2 && y2 <= b.y2) {
|
|
239
|
+
const dy = y2 - b.y1;
|
|
240
|
+
corners.se = dx * dy;
|
|
241
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
} else {
|
|
245
|
+
if (x1 <= b.x1 && b.x1 <= x2) {
|
|
246
|
+
const dx = x2 - b.x1;
|
|
247
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
248
|
+
if (y1 <= b.y1 && b.y1 <= y2) {
|
|
249
|
+
const dy = y2 - b.y1;
|
|
250
|
+
corners.se = dx * dy;
|
|
251
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
252
|
+
}
|
|
253
|
+
if (y1 <= b.y2 && b.y2 <= y2) {
|
|
254
|
+
const dy = b.y2 - y1;
|
|
255
|
+
corners.ne = dx * dy;
|
|
256
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
if (x1 <= b.x2 && b.x2 <= x2) {
|
|
260
|
+
const dx = b.x2 - x1;
|
|
261
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
|
|
262
|
+
if (y1 <= b.y1 && b.y1 <= y2) {
|
|
263
|
+
const dy = y2 - b.y1;
|
|
264
|
+
corners.sw = dx * dy;
|
|
265
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
266
|
+
}
|
|
267
|
+
if (y1 <= b.y2 && b.y2 <= y2) {
|
|
268
|
+
const dy = b.y2 - y1;
|
|
269
|
+
corners.nw = dx * dy;
|
|
270
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
const keys = Object.keys(corners);
|
|
276
|
+
if (keys.length) {
|
|
277
|
+
box.collisions.push({ box: b.name, corners: keys });
|
|
278
|
+
for (const k of keys) {
|
|
279
|
+
if (!box.corners[k]) box.corners[k] = { against: [], sum: 0 };
|
|
280
|
+
box.corners[k].against.push(b.name);
|
|
281
|
+
box.corners[k].sum += corners[k];
|
|
282
|
+
box.overlapSum += corners[k];
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
return box.collisions.length;
|
|
287
|
+
}
|
|
288
|
+
function detectSvgOverflow(box, svgBox) {
|
|
289
|
+
const x1 = box.x1, x2 = box.x2;
|
|
290
|
+
const y1 = box.y1, y2 = box.y2;
|
|
291
|
+
const corners = [];
|
|
292
|
+
if (x1 < 0) {
|
|
293
|
+
box.maxOverlaps.x = { val: Math.abs(x1), dir: "w" };
|
|
294
|
+
corners.push("w");
|
|
295
|
+
box.corners.w = { against: [], sum: Math.abs(x1) * box.height };
|
|
296
|
+
box.overlapSum += box.corners.w.sum;
|
|
297
|
+
}
|
|
298
|
+
const dx = x2 - svgBox.width;
|
|
299
|
+
if (dx > 0 && (!box.maxOverlaps.x || box.maxOverlaps.x.val < dx)) {
|
|
300
|
+
box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
301
|
+
corners.push("e");
|
|
302
|
+
box.corners.e = { against: ["svgbox"], sum: dx * box.height };
|
|
303
|
+
box.overlapSum += box.corners.e.sum;
|
|
304
|
+
}
|
|
305
|
+
if (y1 < 0) {
|
|
306
|
+
box.maxOverlaps.y = { val: Math.abs(y1), dir: "n" };
|
|
307
|
+
corners.push("n");
|
|
308
|
+
box.corners.n = { against: ["svgbox"], sum: Math.abs(y1) };
|
|
309
|
+
box.overlapSum += box.corners.n.sum;
|
|
310
|
+
}
|
|
311
|
+
const dy = y2 - svgBox.height;
|
|
312
|
+
if (dy > 0 && (!box.maxOverlaps.y || box.maxOverlaps.y.val < dy)) {
|
|
313
|
+
box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
314
|
+
corners.push("s");
|
|
315
|
+
box.corners.s = { against: ["svgbox"], sum: dy * box.height };
|
|
316
|
+
box.overlapSum += box.corners.s.sum;
|
|
317
|
+
}
|
|
318
|
+
if (corners.length) box.collisions.push({ box: "svg", corners });
|
|
319
|
+
}
|
|
320
|
+
async function restyle(box, step, boxes, opts) {
|
|
321
|
+
const preAdjustedVal = /* @__PURE__ */ new Map();
|
|
322
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
323
|
+
const s = select_default(this);
|
|
324
|
+
preAdjustedVal.set(this, s.attr(step.css.key));
|
|
325
|
+
s.attr(step.css.key, step.css.value);
|
|
326
|
+
});
|
|
327
|
+
await sleep(opts.waitTime);
|
|
328
|
+
const adjustedBox = getBoxes(box.label, opts)[0];
|
|
329
|
+
const i = boxes.indexOf(box);
|
|
330
|
+
trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
|
|
331
|
+
if (step.applyTo == "all") {
|
|
332
|
+
Object.assign(box, adjustedBox);
|
|
333
|
+
} else {
|
|
334
|
+
if (adjustedBox.overlapSum >= box.overlapSum) {
|
|
335
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
336
|
+
select_default(this).attr(step.css.key, preAdjustedVal.get(this));
|
|
337
|
+
});
|
|
338
|
+
} else {
|
|
339
|
+
Object.assign(box, adjustedBox);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
async function move(box, step, boxes, opts) {
|
|
344
|
+
const freeDirections = Object.keys(box.maxFree).filter((dir) => box.maxFree[dir] > 0);
|
|
345
|
+
if (!freeDirections.length) return;
|
|
346
|
+
const preAdjustedVal = /* @__PURE__ */ new Map();
|
|
347
|
+
if (box.maxOverlaps.y && box.maxOverlaps.y.val > 0) {
|
|
348
|
+
if (box.maxOverlaps.y.dir == "s" && freeDirections.includes("n")) {
|
|
349
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
350
|
+
const s = select_default(this);
|
|
351
|
+
preAdjustedVal.set(this, s.attr("y") || 0);
|
|
352
|
+
s.attr("y", Math.max(-box.maxFree.n, -box.maxOverlaps.y.val) - step.pad);
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
if (box.maxOverlaps.y.dir == "n" && freeDirections.includes("s")) {
|
|
356
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
357
|
+
const s = select_default(this);
|
|
358
|
+
preAdjustedVal.set(this, s.attr("y") || 0);
|
|
359
|
+
s.attr("y", Math.min(box.maxFree.s, box.maxOverlaps.y.val) + step.pad);
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
if (preAdjustedVal.size) {
|
|
364
|
+
await sleep(opts.waitTime);
|
|
365
|
+
const adjustedBox2 = getBoxes(box.label, opts)[0];
|
|
366
|
+
trackOverlaps(adjustedBox2, boxes.filter((b) => b != box));
|
|
367
|
+
if (adjustedBox2.overlapSum >= box.overlapSum) {
|
|
368
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
369
|
+
select_default(this).attr("y", preAdjustedVal.get(this));
|
|
370
|
+
});
|
|
371
|
+
} else {
|
|
372
|
+
Object.assign(box, adjustedBox2);
|
|
373
|
+
if (!box.collisions.length) return;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
if (box.maxOverlaps.x && box.maxOverlaps.x.val > 0) {
|
|
377
|
+
if (box.maxOverlaps.x.dir == "e" && freeDirections.includes("w")) {
|
|
378
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
379
|
+
const s = select_default(this);
|
|
380
|
+
preAdjustedVal.set(this, s.attr("x") || 0);
|
|
381
|
+
s.attr("x", Math.max(-box.maxFree.w, -box.maxOverlaps.x.val) - step.pad);
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
if (box.maxOverlaps.x.dir == "w" && freeDirections.includes("e")) {
|
|
385
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
386
|
+
const s = select_default(this);
|
|
387
|
+
preAdjustedVal.set(this, s.attr("x") || 0);
|
|
388
|
+
s.attr("x", Math.min(box.maxFree.e, box.maxOverlaps.x.val) + step.pad);
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
if (!preAdjustedVal.size) return;
|
|
393
|
+
await sleep(opts.waitTime);
|
|
394
|
+
const adjustedBox = getBoxes(box.label, opts)[0];
|
|
395
|
+
trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
|
|
396
|
+
if (adjustedBox.overlapSum >= box.overlapSum) {
|
|
397
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
398
|
+
select_default(this).attr("x", preAdjustedVal.get(this));
|
|
399
|
+
});
|
|
400
|
+
} else {
|
|
401
|
+
Object.assign(box, adjustedBox);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
var adjusters = { restyle, move };
|
|
405
|
+
function showBox(box) {
|
|
406
|
+
return;
|
|
407
|
+
const rect = select_default(box.elem.closest("svg")).append("rect").attr("x", box.x1).attr("y", box.y1).attr("width", box.width).attr("height", box.height).style("stroke", "blue").style("fill", "transparent");
|
|
408
|
+
}
|
|
409
|
+
function sleep(ms) {
|
|
410
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
// src/mds.samplescatterplot.js
|
|
414
|
+
var radius = 3;
|
|
415
|
+
var radius_tiny = 0.7;
|
|
416
|
+
var userdotcolor = "black";
|
|
417
|
+
async function init(obj, holder, debugmode) {
|
|
418
|
+
if (debugmode) {
|
|
419
|
+
window.obj = obj;
|
|
420
|
+
}
|
|
421
|
+
if (!obj.lasso)
|
|
422
|
+
obj.lasso = {
|
|
423
|
+
postSelectMenuOptions: [
|
|
424
|
+
/*{
|
|
425
|
+
label: 'Do something',
|
|
426
|
+
callback({samples, sample_attributes, sample2dot}) {....}
|
|
427
|
+
},*/
|
|
428
|
+
{
|
|
429
|
+
label: "List samples",
|
|
430
|
+
callback: "listSamples"
|
|
431
|
+
// will indicate to use the default callback of listing the samples
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
};
|
|
435
|
+
obj.menu = new Menu({ padding: "2px" });
|
|
436
|
+
obj.menu2 = new Menu({ padding: "10px" });
|
|
437
|
+
obj.tip = new Menu({ padding: "5px" });
|
|
438
|
+
obj.errordiv = holder.append("div").style("margin", "10px");
|
|
439
|
+
obj.sayerror = (e) => {
|
|
440
|
+
sayerror(obj.errordiv, typeof e == "string" ? e : e.message);
|
|
441
|
+
if (e.stack) console.log(e.stack);
|
|
442
|
+
};
|
|
443
|
+
const _table = holder.append("table").style("border-spacing", "20px");
|
|
444
|
+
const tr1 = _table.append("tr");
|
|
445
|
+
const tr1td1 = tr1.append("td").style("vertical-align", "top");
|
|
446
|
+
const tr1td2 = tr1.append("td").style("vertical-align", "top");
|
|
447
|
+
{
|
|
448
|
+
let searchStr2 = function(data, str) {
|
|
449
|
+
let found_flag = false;
|
|
450
|
+
let vals = Object.values(data).filter((a) => a != null && typeof a != "number");
|
|
451
|
+
let new_vals = vals.filter((a) => typeof a != "object").map((x) => x.toLowerCase());
|
|
452
|
+
new_vals.forEach((v) => {
|
|
453
|
+
if (v.toLowerCase().includes(str)) return found_flag = true;
|
|
454
|
+
});
|
|
455
|
+
if (!found_flag) {
|
|
456
|
+
vals.forEach((v) => {
|
|
457
|
+
if (v && typeof v == "object") {
|
|
458
|
+
const obj_vals = Object.values(v).filter((a) => a != null && typeof a != "number").map((x) => x.toLowerCase());
|
|
459
|
+
obj_vals.forEach((ov) => {
|
|
460
|
+
if (ov.toLowerCase().includes(str)) return found_flag = true;
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
return found_flag;
|
|
466
|
+
};
|
|
467
|
+
var searchStr = searchStr2;
|
|
468
|
+
const row = tr1td2.append("div").style("margin-bottom", "5px");
|
|
469
|
+
row.append("input").attr("type", "text").attr("placeholder", "Search sample").style("width", "200px").on("keyup", (event2) => {
|
|
470
|
+
const str0 = event2.target.value;
|
|
471
|
+
if (!str0) {
|
|
472
|
+
obj.dotselection.transition().attr("r", radius);
|
|
473
|
+
return;
|
|
474
|
+
}
|
|
475
|
+
const str = str0.toLowerCase();
|
|
476
|
+
obj.dotselection.filter((d) => searchStr2(d, str)).transition().attr("r", radius * 2);
|
|
477
|
+
obj.dotselection.filter((d) => !searchStr2(d, str)).transition().attr("r", 1);
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
const legend_div = tr1td2.append("div").style("overflow-x", "hidden").style("overflow-y", "auto").style("height", "100vh");
|
|
481
|
+
obj.legendtable = legend_div.append("table").style("border-spacing", "5px");
|
|
482
|
+
obj.filterDiv = tr1td1.append("div").style("position", "relative");
|
|
483
|
+
const scatterdiv = tr1td1.append("div").style("position", "relative");
|
|
484
|
+
obj.scattersvg = scatterdiv.append("svg");
|
|
485
|
+
obj.scattersvg_resizehandle = scatterdiv.append("div");
|
|
486
|
+
obj.scattersvg_buttons = scatterdiv.append("div");
|
|
487
|
+
try {
|
|
488
|
+
await get_data(obj);
|
|
489
|
+
finish_setup(obj);
|
|
490
|
+
init_dotcolor_legend(obj);
|
|
491
|
+
init_plot(obj);
|
|
492
|
+
} catch (e) {
|
|
493
|
+
if (e.stack) console.log(e.stack);
|
|
494
|
+
obj.sayerror(e.message || e);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
async function get_data(obj) {
|
|
498
|
+
if (obj.dslabel) {
|
|
499
|
+
const lst = ["genome=" + obj.genome.name, "dslabel=" + obj.dslabel];
|
|
500
|
+
if (obj.analysisdata) {
|
|
501
|
+
if (obj.analysisdata.subset) {
|
|
502
|
+
if (!obj.analysisdata.subset.key) throw ".subset.key missing";
|
|
503
|
+
if (!obj.analysisdata.subset.value) throw ".subset.value missing";
|
|
504
|
+
lst.push("subsetkey=" + obj.analysisdata.subset.key);
|
|
505
|
+
lst.push("subsetvalue=" + obj.analysisdata.subset.value);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
const data = await dofetch2("mdssamplescatterplot?" + lst.join("&"));
|
|
509
|
+
if (data.error) throw data.error;
|
|
510
|
+
if (!data.dots) throw "server error";
|
|
511
|
+
obj.sample2dot = /* @__PURE__ */ new Map();
|
|
512
|
+
for (const dot of data.dots) {
|
|
513
|
+
obj.sample2dot.set(dot.sample, dot);
|
|
514
|
+
}
|
|
515
|
+
combine_clientserverdata(obj, data);
|
|
516
|
+
obj.colorbyattributes = data.colorbyattributes;
|
|
517
|
+
obj.colorbygeneexpression = data.colorbygeneexpression;
|
|
518
|
+
obj.tracks = data.tracks;
|
|
519
|
+
obj.querykey = data.querykey;
|
|
520
|
+
obj.sample_attributes = obj.mds.sampleAttribute.attributes;
|
|
521
|
+
return;
|
|
522
|
+
}
|
|
523
|
+
const ad = obj.analysisdata;
|
|
524
|
+
if (obj.disco || ad.disco) {
|
|
525
|
+
const disco = obj.disco || ad.disco;
|
|
526
|
+
obj.mds = obj.genome.datasets[disco.dslabel];
|
|
527
|
+
} else if (obj.mds) {
|
|
528
|
+
obj.mds = obj.genome.datasets[obj.mds.dslabel];
|
|
529
|
+
}
|
|
530
|
+
if (!ad) throw "both .analysisdata{} and .dslabel are missing";
|
|
531
|
+
if (ad.samples) {
|
|
532
|
+
if (!Array.isArray(ad.samples)) throw ".analysisdata.samples is not array";
|
|
533
|
+
obj.dots = ad.samples;
|
|
534
|
+
} else if (ad.tabular_data) {
|
|
535
|
+
let lines = ad.tabular_data.split("\n");
|
|
536
|
+
if (lines.length < 2) throw "at least 2 rows, header row + at least 1 sample data must be supplied";
|
|
537
|
+
ad.samples = [];
|
|
538
|
+
const headers = lines.shift().split(" ");
|
|
539
|
+
if (headers.length < 3) throw "at least 3 columns are required with X, Y and sample name";
|
|
540
|
+
ad.samplekey = headers[2];
|
|
541
|
+
let xi = headers.indexOf("x");
|
|
542
|
+
if (xi == -1) xi = headers.indexOf("X");
|
|
543
|
+
if (xi == -1) throw '"X" or "x" column missing from tabular data';
|
|
544
|
+
let yi = headers.indexOf("y");
|
|
545
|
+
if (yi == -1) yi = headers.indexOf("Y");
|
|
546
|
+
if (yi == -1) throw '"Y" or "y" column missing from tabular data';
|
|
547
|
+
for (const line of lines) {
|
|
548
|
+
const values = line.split(" ");
|
|
549
|
+
const sample = {};
|
|
550
|
+
for (const [i, v] of values.entries()) {
|
|
551
|
+
if (i == xi) sample.x = Number.parseFloat(v);
|
|
552
|
+
else if (i == yi) sample.y = Number.parseFloat(v);
|
|
553
|
+
else sample[headers[i]] = v;
|
|
554
|
+
}
|
|
555
|
+
ad.samples.push(sample);
|
|
556
|
+
}
|
|
557
|
+
obj.dots = ad.samples;
|
|
558
|
+
if (ad.sample_attributes == void 0) {
|
|
559
|
+
ad.sample_attributes = {};
|
|
560
|
+
for (const [i, key] of headers.entries()) {
|
|
561
|
+
if (i <= 2) continue;
|
|
562
|
+
ad.sample_attributes[key] = { label: key };
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
if (!ad.colorbyattributes && headers.length > 3) ad.colorbyattributes = [{ key: headers[3] }];
|
|
566
|
+
} else {
|
|
567
|
+
throw "unknown data encoding in .analysisdata{}";
|
|
568
|
+
}
|
|
569
|
+
obj.sample2dot = /* @__PURE__ */ new Map();
|
|
570
|
+
for (const d of obj.dots) {
|
|
571
|
+
if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a sample";
|
|
572
|
+
if (ad.samplekey) {
|
|
573
|
+
d.sample = d[ad.samplekey];
|
|
574
|
+
delete d[ad.samplekey];
|
|
575
|
+
}
|
|
576
|
+
if (ad.sample_attributes) {
|
|
577
|
+
d.s = {};
|
|
578
|
+
for (const k in ad.sample_attributes) {
|
|
579
|
+
d.s[k] = d[k];
|
|
580
|
+
delete d[k];
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
obj.sample2dot.set(d.sample, d);
|
|
584
|
+
}
|
|
585
|
+
obj.sample_attributes = ad.sample_attributes;
|
|
586
|
+
obj.colorbyattributes = ad.colorbyattributes;
|
|
587
|
+
obj.attr_levels = ad.attr_levels;
|
|
588
|
+
if (ad.user_samples) {
|
|
589
|
+
if (!Array.isArray(ad.user_samples)) throw ".user_samples[] is not array";
|
|
590
|
+
obj.dots_user = [];
|
|
591
|
+
for (const d of ad.user_samples) {
|
|
592
|
+
if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a USER sample";
|
|
593
|
+
if (ad.samplekey) {
|
|
594
|
+
d.sample = d[ad.samplekey];
|
|
595
|
+
delete d[ad.samplekey];
|
|
596
|
+
}
|
|
597
|
+
if (!d.color) d.color = userdotcolor;
|
|
598
|
+
obj.dots_user.push(d);
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
if (!obj.filterApi) {
|
|
602
|
+
obj.filterApi = filterInit({
|
|
603
|
+
btn: obj.filterDiv.append("div"),
|
|
604
|
+
btnLabel: "Filter",
|
|
605
|
+
emptyLabel: "+New Filter",
|
|
606
|
+
holder: obj.filterDiv.append("div"),
|
|
607
|
+
vocab: getVocabFromSamplesArray(ad),
|
|
608
|
+
//termdbConfig: opts.termdbConfig,
|
|
609
|
+
debug: true,
|
|
610
|
+
callback(filter) {
|
|
611
|
+
obj.filteredSamples = getFilteredSamples(ad.samples, filter);
|
|
612
|
+
if (obj.dotselection._groups[0].length != obj.filteredSamples.size) {
|
|
613
|
+
obj.dotselection.transition().attr("r", (d) => obj.filteredSamples.has(d.sample) ? radius : 0).style("opacity", (d) => obj.filteredSamples.has(d.sample) ? 1 : 0);
|
|
614
|
+
} else {
|
|
615
|
+
obj.dotselection.transition().attr("r", radius).style("opacity", 1);
|
|
616
|
+
}
|
|
617
|
+
update_dotcolor_legend(obj);
|
|
618
|
+
}
|
|
619
|
+
});
|
|
620
|
+
obj.filterApi.main({ type: "tvslst", join: "", lst: [] });
|
|
621
|
+
obj.filteredSamples = [];
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
function combine_clientserverdata(obj, data) {
|
|
625
|
+
if (!obj.analysisdata) {
|
|
626
|
+
obj.dots = data.dots;
|
|
627
|
+
return;
|
|
628
|
+
}
|
|
629
|
+
if (!obj.analysisdata.str) throw ".analysisdata.str missing while trying to combine client/server data";
|
|
630
|
+
const analysis = /* @__PURE__ */ new Map();
|
|
631
|
+
obj.dots_user = [];
|
|
632
|
+
for (const line of obj.analysisdata.str.trim().split("\n")) {
|
|
633
|
+
const l = line.split(" ");
|
|
634
|
+
if (l.length < 3) {
|
|
635
|
+
continue;
|
|
636
|
+
}
|
|
637
|
+
const sample = l[2];
|
|
638
|
+
if (!sample) continue;
|
|
639
|
+
const j = {
|
|
640
|
+
x: Number(l[0]),
|
|
641
|
+
y: Number(l[1])
|
|
642
|
+
};
|
|
643
|
+
if (Number.isNaN(j.x) || Number.isNaN(j.y)) continue;
|
|
644
|
+
if (l[3]) {
|
|
645
|
+
j.sample = sample;
|
|
646
|
+
j.color = userdotcolor;
|
|
647
|
+
obj.dots_user.push(j);
|
|
648
|
+
continue;
|
|
649
|
+
}
|
|
650
|
+
analysis.set(sample, j);
|
|
651
|
+
}
|
|
652
|
+
obj.dots = [];
|
|
653
|
+
for (const i of data.dots) {
|
|
654
|
+
const j = analysis.get(i.sample);
|
|
655
|
+
if (!j) continue;
|
|
656
|
+
i.x = j.x;
|
|
657
|
+
i.y = j.y;
|
|
658
|
+
obj.dots.push(i);
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
function finish_setup(obj) {
|
|
662
|
+
if (obj.colorbyattributes) {
|
|
663
|
+
if (!Array.isArray(obj.colorbyattributes)) throw ".colorbyattributes[] is not array";
|
|
664
|
+
if (!obj.sample_attributes) throw ".sample_attributes{} missing when .colorbyattributes is defined";
|
|
665
|
+
for (const a of obj.colorbyattributes) {
|
|
666
|
+
if (typeof a != "object") throw "one of .colorbyattributes[] is not array";
|
|
667
|
+
if (!a.key) throw ".key missing from one of .colorbyattributes[]";
|
|
668
|
+
const a2 = obj.sample_attributes[a.key];
|
|
669
|
+
if (!a2) throw "unknown key from .colorbyattributes: " + a.key;
|
|
670
|
+
a.label = a2.label;
|
|
671
|
+
a.values = a2.values;
|
|
672
|
+
if (!a.values) {
|
|
673
|
+
a.values = {};
|
|
674
|
+
for (const d of obj.dots) {
|
|
675
|
+
const v = d.s[a.key];
|
|
676
|
+
if (v == void 0 || v == null) continue;
|
|
677
|
+
a.values[v] = {};
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
const cf = ordinal(schemeCategory20);
|
|
681
|
+
for (const k in a.values) {
|
|
682
|
+
if (!a.values[k].color) a.values[k].color = cf(k);
|
|
683
|
+
}
|
|
684
|
+
if (obj.analysisdata) {
|
|
685
|
+
const ad = obj.analysisdata.sample_attributes;
|
|
686
|
+
if (ad[a.key].values == void 0) ad[a.key].values = a.values;
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
if (obj.attr_levels) {
|
|
691
|
+
if (!Array.isArray(obj.attr_levels)) throw ".attr_levels[] is not array";
|
|
692
|
+
if (obj.attr_levels.length < 2) throw ".attr_levels[] array has less than 2 items";
|
|
693
|
+
if (!obj.sample_attributes) throw ".sample_attributes is missing when .attr_levels is defined";
|
|
694
|
+
for (const l of obj.attr_levels) {
|
|
695
|
+
if (!l.key) throw ".key missing from one of attr_levels[]";
|
|
696
|
+
const register = obj.sample_attributes[l.key];
|
|
697
|
+
if (!register) throw ".attr_levels key missing from sample_attributes{}: " + l.key;
|
|
698
|
+
if (!register.values) {
|
|
699
|
+
register.values = {};
|
|
700
|
+
for (const d of obj.dots) {
|
|
701
|
+
const v = d.s[l.key];
|
|
702
|
+
if (v == void 0 || v == null || register.values[v]) continue;
|
|
703
|
+
register.values[v] = {};
|
|
704
|
+
}
|
|
705
|
+
const cf = ordinal(schemeCategory20);
|
|
706
|
+
for (const k in register.values) {
|
|
707
|
+
if (!register.values[k].color) register.values[k].color = cf(k);
|
|
708
|
+
}
|
|
709
|
+
register.orderByCount = true;
|
|
710
|
+
}
|
|
711
|
+
if (l.label) {
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
function init_plot(obj) {
|
|
717
|
+
const rootholder = obj.scattersvg.node().closest(".sja_root_holder");
|
|
718
|
+
let minx = obj.dots[0].x, maxx = minx, miny = obj.dots[0].y, maxy = miny;
|
|
719
|
+
for (const d of [...obj.dots, ...obj.dots_user || []]) {
|
|
720
|
+
minx = Math.min(minx, d.x);
|
|
721
|
+
maxx = Math.max(maxx, d.x);
|
|
722
|
+
miny = Math.min(miny, d.y);
|
|
723
|
+
maxy = Math.max(maxy, d.y);
|
|
724
|
+
}
|
|
725
|
+
let xscale = obj.xscale = linear().domain([minx, maxx]);
|
|
726
|
+
let yscale = obj.yscale = linear().domain([miny, maxy]);
|
|
727
|
+
if (!obj.dimensions) obj.dimensions = {};
|
|
728
|
+
if (!("autoResize" in obj.dimensions)) obj.dimensions.autoResize = true;
|
|
729
|
+
if (!("minWidth" in obj.dimensions)) obj.dimensions.minWidth = 300;
|
|
730
|
+
if (!("minHeight" in obj.dimensions)) obj.dimensions.minHeight = 300;
|
|
731
|
+
let currBbox;
|
|
732
|
+
const estlegendwidth = 250;
|
|
733
|
+
const bbox = rootholder.getBoundingClientRect();
|
|
734
|
+
let toppad = 30, bottompad = 50, leftpad = 100, rightpad = 30, vpad = 20, width = obj.dimensions.width ? obj.dimensions.width : Math.max(obj.dimensions.minWidth, 0.75 * (bbox.width - estlegendwidth)), height = obj.dimensions.height ? obj.dimensions.height : Math.max(obj.dimensions.minHeight, Math.min(1.2 * width, 0.5 * bbox.height)), fontsize = 18;
|
|
735
|
+
const svg = obj.scattersvg;
|
|
736
|
+
const dotg = obj.dotg = svg.append("g").attr("transform", "translate(" + (leftpad + vpad) + "," + toppad + ")");
|
|
737
|
+
const dots = dotg.selectAll().data(obj.dots).enter().append("g").attr("class", "sample_dot");
|
|
738
|
+
const circles = dots.append("circle").attr("stroke", "none").attr("r", radius).on("mouseover", (event2, d) => {
|
|
739
|
+
event2.target.setAttribute("stroke", "white");
|
|
740
|
+
const lst = [{ k: "Sample", v: d.sample }];
|
|
741
|
+
if (obj.sample_attributes) {
|
|
742
|
+
for (const attrkey in obj.sample_attributes) {
|
|
743
|
+
const attr = obj.sample_attributes[attrkey];
|
|
744
|
+
const v = d.s[attrkey];
|
|
745
|
+
lst.push({
|
|
746
|
+
k: attr.label,
|
|
747
|
+
v: d.s[attrkey]
|
|
748
|
+
});
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
make_table_2col(obj.tip.clear().d, lst);
|
|
752
|
+
obj.tip.show(event2.clientX, event2.clientY);
|
|
753
|
+
}).on("mouseout", (event2, d) => {
|
|
754
|
+
event2.target.setAttribute("stroke", "none");
|
|
755
|
+
obj.tip.hide();
|
|
756
|
+
}).on("click", (event2, d) => {
|
|
757
|
+
click_dot(d, obj, event2);
|
|
758
|
+
});
|
|
759
|
+
obj.dotselection = circles;
|
|
760
|
+
let userdots, usercircles, userlabelg, userlabels, userlabel_borders;
|
|
761
|
+
const userlabel_grp = obj.userlabel_grp = { userlabels, userlabel_borders };
|
|
762
|
+
if (obj.dots_user) {
|
|
763
|
+
userdots = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "sample_dot");
|
|
764
|
+
usercircles = userdots.append("circle").attr("stroke", "none").attr("fill", (d) => d.color).attr("r", radius).on("mouseover", (event2, d) => {
|
|
765
|
+
const lst = [{ k: "Sample", v: d.sample }];
|
|
766
|
+
if (obj.sample_attributes) {
|
|
767
|
+
for (const attrkey in obj.sample_attributes) {
|
|
768
|
+
const attr = obj.sample_attributes[attrkey];
|
|
769
|
+
if (d[attrkey])
|
|
770
|
+
lst.push({
|
|
771
|
+
k: attr.label,
|
|
772
|
+
v: d[attrkey]
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
make_table_2col(obj.tip.clear().d, lst);
|
|
777
|
+
obj.tip.show(event2.clientX, event2.clientY);
|
|
778
|
+
Object.values(userlabel_grp).forEach(
|
|
779
|
+
(labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "bold")
|
|
780
|
+
);
|
|
781
|
+
}).on("mouseout", (event2, d) => {
|
|
782
|
+
obj.tip.hide();
|
|
783
|
+
Object.values(userlabel_grp).forEach(
|
|
784
|
+
(labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "normal")
|
|
785
|
+
);
|
|
786
|
+
});
|
|
787
|
+
userlabelg = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "userlabelg");
|
|
788
|
+
userlabel_grp.userlabel_borders = userlabelg.append("text").attr("fill", "#fff").attr("font-size", fontsize).attr("stroke", "white").attr("stroke-width", "3px").text((d) => d.sample).attr("text-anchor", "end");
|
|
789
|
+
userlabel_grp.userlabels = userlabelg.append("text").attr("fill", (d) => d.color).attr("font-size", fontsize).text((d) => d.sample).on("mouseover", (event2, d) => {
|
|
790
|
+
usercircles.filter((i) => i.sample == d.sample).attr("r", radius * 2);
|
|
791
|
+
svg.style("cursor", "move");
|
|
792
|
+
const lst = [{ k: "Sample", v: d.sample }];
|
|
793
|
+
if (obj.sample_attributes) {
|
|
794
|
+
for (const attrkey in obj.sample_attributes) {
|
|
795
|
+
const attr = obj.sample_attributes[attrkey];
|
|
796
|
+
if (d[attrkey])
|
|
797
|
+
lst.push({
|
|
798
|
+
k: attr.label,
|
|
799
|
+
v: d[attrkey]
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
make_table_2col(obj.tip.clear().d, lst);
|
|
804
|
+
obj.tip.show(event2.clientX, event2.clientY);
|
|
805
|
+
}).on("mouseout", (event2, d) => {
|
|
806
|
+
usercircles.filter((i) => i.sample == d.sample).attr("r", radius);
|
|
807
|
+
svg.style("cursor", "auto");
|
|
808
|
+
obj.tip.hide();
|
|
809
|
+
}).on("mousedown", (event2, d) => {
|
|
810
|
+
event2.preventDefault();
|
|
811
|
+
event2.stopPropagation();
|
|
812
|
+
const b = select_default(document.body);
|
|
813
|
+
const x = event2.clientX;
|
|
814
|
+
const y = event2.clientY;
|
|
815
|
+
xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : obj.xscale;
|
|
816
|
+
yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : obj.yscale;
|
|
817
|
+
const g = userlabelg.filter((i) => i.sample == d.sample);
|
|
818
|
+
const [x1, y1] = g.attr("transform").match(/[\d\.]+/g).map(Number);
|
|
819
|
+
b.on("mousemove", (event3) => {
|
|
820
|
+
g.attr("transform", "translate(" + (x1 + event3.clientX - x) + "," + (y1 + event3.clientY - y) + ")");
|
|
821
|
+
});
|
|
822
|
+
b.on("mouseup", (event3) => {
|
|
823
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
824
|
+
d.x_ = xscale.invert(x1 + event3.clientX - x);
|
|
825
|
+
d.y_ = yscale.invert(y1 + event3.clientY - y);
|
|
826
|
+
});
|
|
827
|
+
}).on("dblclick", (event2, d) => {
|
|
828
|
+
obj.menu2.clear().show(event2.clientX - 90, event2.clientY);
|
|
829
|
+
obj.menu2.d.append("input").attr("type", "text").property("value", d.sample).style("display", "block").style("margin-bottom", "5px").on("keyup", (event3) => {
|
|
830
|
+
if (!keyupEnter(event3)) return;
|
|
831
|
+
const v = event3.target.value;
|
|
832
|
+
Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).text(v));
|
|
833
|
+
d.sample = v;
|
|
834
|
+
obj.menu2.hide();
|
|
835
|
+
});
|
|
836
|
+
obj.menu2.d.append("input").attr("type", "color").property("value", d.color).on("change", (event3) => {
|
|
837
|
+
const v = event3.target.value;
|
|
838
|
+
Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).attr("fill", v));
|
|
839
|
+
usercircles.filter((i) => i.sample == d.sample).attr("fill", v);
|
|
840
|
+
d.color = v;
|
|
841
|
+
});
|
|
842
|
+
});
|
|
843
|
+
userlabel_grp.userlabels.append("title").text("Double-click to edit");
|
|
844
|
+
}
|
|
845
|
+
assign_color4dots(obj);
|
|
846
|
+
function resize() {
|
|
847
|
+
bottompad = width / 20 + 20;
|
|
848
|
+
svg.attr("width", leftpad + vpad + width + rightpad).attr("height", toppad + height + vpad + bottompad);
|
|
849
|
+
const new_xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : xscale;
|
|
850
|
+
const new_yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : yscale;
|
|
851
|
+
new_xscale.range([0, width]);
|
|
852
|
+
new_yscale.range([height, 0]);
|
|
853
|
+
dots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
|
|
854
|
+
if (userdots) {
|
|
855
|
+
userdots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
|
|
856
|
+
userlabelg.attr("transform", (d) => {
|
|
857
|
+
const x = d.x_ ? new_xscale(d.x_) : new_xscale(d.x), y = d.y_ ? new_yscale(d.y_) : new_yscale(d.y);
|
|
858
|
+
let lw;
|
|
859
|
+
Object.values(userlabel_grp).forEach(
|
|
860
|
+
(labels) => labels.filter((i) => i.sample == d.sample).each(function() {
|
|
861
|
+
lw = this.getBBox().width;
|
|
862
|
+
}).attr("text-anchor", x + lw >= width ? "end" : "start")
|
|
863
|
+
);
|
|
864
|
+
return "translate(" + x + "," + y + ")";
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
currBbox = rootholder.getBoundingClientRect();
|
|
868
|
+
if (obj.userlabel_grp && userlabelg && userlabelg.size()) {
|
|
869
|
+
uncollide(userlabelg, { waitTime: 0, nameKey: "sample" });
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
resize();
|
|
873
|
+
obj.scattersvg_resizehandle.style("position", "absolute").style("right", "0px").style("bottom", "0px").attr("class", "sja_clbtext").text("drag to resize").on("mousedown", (event2) => {
|
|
874
|
+
event2.preventDefault();
|
|
875
|
+
const b = select_default(document.body);
|
|
876
|
+
const x = event2.clientX;
|
|
877
|
+
const y = event2.clientY;
|
|
878
|
+
const w0 = width;
|
|
879
|
+
const h0 = height;
|
|
880
|
+
b.on("mousemove", (event3) => {
|
|
881
|
+
width = w0 + event3.clientX - x;
|
|
882
|
+
height = h0 + event3.clientY - y;
|
|
883
|
+
resize();
|
|
884
|
+
});
|
|
885
|
+
b.on("mouseup", () => {
|
|
886
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
887
|
+
});
|
|
888
|
+
});
|
|
889
|
+
function resetDimensions() {
|
|
890
|
+
const bbox2 = rootholder.getBoundingClientRect();
|
|
891
|
+
const w = width * bbox2.width / currBbox.width;
|
|
892
|
+
width = obj.dimensions.minWidth ? Math.max(obj.dimensions.minWidth, w) : w;
|
|
893
|
+
const h = height * bbox2.height / currBbox.height;
|
|
894
|
+
height = obj.dimensions.minHeight ? Math.max(obj.dimensions.minHeight, h) : h;
|
|
895
|
+
currBbox = bbox2;
|
|
896
|
+
resize();
|
|
897
|
+
}
|
|
898
|
+
let timeout;
|
|
899
|
+
if (obj.dimensions.autoResize) {
|
|
900
|
+
window.addEventListener("resize", () => {
|
|
901
|
+
if (timeout) clearTimeout(timeout);
|
|
902
|
+
timeout = setTimeout(resetDimensions, 50);
|
|
903
|
+
});
|
|
904
|
+
}
|
|
905
|
+
makeConfigPanel(obj);
|
|
906
|
+
}
|
|
907
|
+
function makeConfigPanel(obj) {
|
|
908
|
+
const svg = obj.scattersvg;
|
|
909
|
+
obj.scattersvg_buttons.style("position", "absolute").style("right", "0px").style("top", "0px");
|
|
910
|
+
obj.zoom_active = false;
|
|
911
|
+
const zoom_btn = obj.scattersvg_buttons.append("div").style("padding", "2px 5px").style("border", "1px solid #999").style("color", "#999").style("background-color", "#fff").style("cursor", "pointer").style("font-weight", "300").style("border-radius", "5px").style("text-align", "center").text("Pan / Zoom").on("click", zoomToggle);
|
|
912
|
+
const zoom_menu = obj.scattersvg_buttons.append("div").style("margin-top", "2px").style("padding", "2px 5px").style("border-radius", "5px").style("text-align", "center").style("display", obj.zoom_active ? "block" : "none").style("background-color", "#ddd");
|
|
913
|
+
const zoom_inout_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
914
|
+
zoom_inout_div.append("div").style("display", "block").style("padding", "2px 4px").style("font-size", "80%").text("Zoom");
|
|
915
|
+
zoom_inout_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html('<p style="margin:1px;">Mouse wheel </br>or use these buttons</p>');
|
|
916
|
+
const zoom_in_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 7px").text("+");
|
|
917
|
+
const zoom_out_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("-");
|
|
918
|
+
const pan_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
919
|
+
pan_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Pan");
|
|
920
|
+
pan_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html('<p style="margin:1px;">Mouse click </br>+ Mouse move</p>');
|
|
921
|
+
const reset_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
922
|
+
const reset_btn = reset_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("Reset");
|
|
923
|
+
function zoomToggle() {
|
|
924
|
+
obj.zoom_active = obj.zoom_active ? false : true;
|
|
925
|
+
zoom_btn.style("border", obj.zoom_active ? "2px solid #000" : "1px solid #999").style("color", obj.zoom_active ? "#000" : "#999").style("background-color", obj.zoom_active ? "#eee" : "#fff").style("font-weight", obj.zoom_active ? "400" : "300");
|
|
926
|
+
lasso_btn.style("pointer-events", obj.zoom_active ? "none" : "auto");
|
|
927
|
+
zoom_menu.style("display", obj.zoom_active ? "block" : "none");
|
|
928
|
+
const zoom = zoom_default().scaleExtent([1, 5]).on("zoom", obj.zoom_active ? zoomed : null);
|
|
929
|
+
function zoomed(event2) {
|
|
930
|
+
obj.new_xscale = event2.transform.rescaleX(obj.xscale);
|
|
931
|
+
obj.new_yscale = event2.transform.rescaleY(obj.yscale);
|
|
932
|
+
obj.zoomed_scale = event2.transform.k;
|
|
933
|
+
const dots = obj.dotg.selectAll(".sample_dot");
|
|
934
|
+
dots.attr("transform", (d) => "translate(" + obj.new_xscale(d.x) + "," + obj.new_yscale(d.y) + ")");
|
|
935
|
+
const userlabelg = obj.dotg.selectAll(".userlabelg");
|
|
936
|
+
userlabelg.attr(
|
|
937
|
+
"transform",
|
|
938
|
+
(d) => "translate(" + obj.new_xscale(d.x_ || d.x) + "," + obj.new_yscale(d.y_ || d.y) + ")"
|
|
939
|
+
);
|
|
940
|
+
}
|
|
941
|
+
if (obj.zoom_active) svg.call(zoom);
|
|
942
|
+
else svg.on(".zoom", null);
|
|
943
|
+
zoom_in_btn.on("click", () => {
|
|
944
|
+
zoom.scaleBy(svg.transition().duration(750), 1.5);
|
|
945
|
+
});
|
|
946
|
+
zoom_out_btn.on("click", () => {
|
|
947
|
+
zoom.scaleBy(svg.transition().duration(750), 0.5);
|
|
948
|
+
});
|
|
949
|
+
reset_btn.on("click", () => {
|
|
950
|
+
svg.transition().duration(750).call(zoom.transform, identity);
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
const lasso_btn = obj.scattersvg_buttons.append("div").style("display", "block").style("padding", "2px 5px").style("margin-top", "5px").style("border", "1px solid #999").style("color", "#999").style("background-color", "#fff").style("cursor", "pointer").style("font-weight", "300").style("border-radius", "5px").style("text-align", "center").text("Lasso select").on("click", lassoToggle);
|
|
954
|
+
const lasso_menu = obj.scattersvg_buttons.append("div").style("margin-top", "2px").style("padding", "2px 5px").style("border-radius", "5px").style("text-align", "center").style("display", obj.lasso_active ? "block" : "none").style("background-color", "#ddd");
|
|
955
|
+
const lasso_div = lasso_menu.append("div").style("margin", "5px 2px");
|
|
956
|
+
lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Lasso usage");
|
|
957
|
+
lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html(
|
|
958
|
+
'<p style="margin:1px;">Mouse click </br>+ Mouse move <br>TIP: Release the mouse <br> when desired dots <br> are selected, without <br>closing the loop. </p>'
|
|
959
|
+
);
|
|
960
|
+
function lassoToggle() {
|
|
961
|
+
const dots = obj.dotg.selectAll("g");
|
|
962
|
+
obj.lasso_active = obj.lasso_active ? false : true;
|
|
963
|
+
zoom_btn.style("pointer-events", obj.lasso_active ? "none" : "auto");
|
|
964
|
+
lasso_menu.style("display", obj.lasso_active ? "block" : "none");
|
|
965
|
+
lasso_btn.style("border", obj.lasso_active ? "2px solid #000" : "1px solid #999").style("color", obj.lasso_active ? "#000" : "#999").style("background-color", obj.lasso_active ? "#eee" : "#fff").style("font-weight", obj.lasso_active ? "400" : "300");
|
|
966
|
+
lasso_select(obj, dots);
|
|
967
|
+
if (obj.lasso_active) return;
|
|
968
|
+
dots.selectAll("circle").classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
function assign_color4dots(obj) {
|
|
972
|
+
let byattr;
|
|
973
|
+
if (obj.colorbygeneexpression && obj.colorbygeneexpression.__inuse) {
|
|
974
|
+
} else if (obj.attr_levels) {
|
|
975
|
+
byattr = { key: obj.attr_levels[1].key };
|
|
976
|
+
byattr.values = obj.sample_attributes[byattr.key].values;
|
|
977
|
+
} else if (obj.colorbyattributes) {
|
|
978
|
+
byattr = { key: (obj.colorbyattributes.find((i) => i.__inuse) || obj.colorbyattributes[0]).key };
|
|
979
|
+
byattr.values = obj.sample_attributes[byattr.key].values;
|
|
980
|
+
}
|
|
981
|
+
obj.dotselection.transition().attr("fill", (d) => {
|
|
982
|
+
if (byattr) {
|
|
983
|
+
const v = d.s[byattr.key];
|
|
984
|
+
return byattr.values[v] ? byattr.values[v].color : "black";
|
|
985
|
+
}
|
|
986
|
+
return "#ccc";
|
|
987
|
+
});
|
|
988
|
+
}
|
|
989
|
+
function init_dotcolor_legend(obj) {
|
|
990
|
+
if (obj.attr_levels) {
|
|
991
|
+
legend_attr_levels(obj);
|
|
992
|
+
return;
|
|
993
|
+
}
|
|
994
|
+
if (obj.colorbyattributes) {
|
|
995
|
+
legend_flatlist(obj);
|
|
996
|
+
return;
|
|
997
|
+
}
|
|
998
|
+
if (obj.colorbygeneexpression) {
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
function legend_attr_levels(obj) {
|
|
1002
|
+
const staydiv = obj.legendtable.append("tr").append("td").append("div").style("position", "relative");
|
|
1003
|
+
const scrolldiv = staydiv.append("div");
|
|
1004
|
+
const L1 = obj.attr_levels[0];
|
|
1005
|
+
L1.v2c = /* @__PURE__ */ new Map();
|
|
1006
|
+
L1.unannotated = 0;
|
|
1007
|
+
for (const d of obj.dots) {
|
|
1008
|
+
const v = d.s[L1.key];
|
|
1009
|
+
if (v == void 0 || v == null) {
|
|
1010
|
+
L1.unannotated++;
|
|
1011
|
+
continue;
|
|
1012
|
+
}
|
|
1013
|
+
if (!L1.v2c.has(v)) L1.v2c.set(v, { dots: [] });
|
|
1014
|
+
L1.v2c.get(v).dots.push(d);
|
|
1015
|
+
if (L1.label) {
|
|
1016
|
+
L1.v2c.get(v).label = d.s[L1.label];
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
for (const L1value of get_itemOrderList(L1, obj)) {
|
|
1020
|
+
const L1o = L1.v2c.get(L1value);
|
|
1021
|
+
const L1div = scrolldiv.append("div").style("margin-top", "20px").attr("class", "sja_lb_div");
|
|
1022
|
+
L1div.append("div").attr("class", "sja_l1lb").html((L1o.label || L1value) + ' <span style="font-size:.8em">n=' + L1o.dots.length + "</span>").style("margin-top", "15px");
|
|
1023
|
+
const L2 = obj.attr_levels[1];
|
|
1024
|
+
if (L2) {
|
|
1025
|
+
const L2values = obj.sample_attributes[L2.key].values;
|
|
1026
|
+
L2.v2c = /* @__PURE__ */ new Map();
|
|
1027
|
+
L2.unannotated = 0;
|
|
1028
|
+
for (const d of L1o.dots) {
|
|
1029
|
+
const v = d.s[L2.key];
|
|
1030
|
+
if (v == void 0 || v == null) {
|
|
1031
|
+
L2.unannotated++;
|
|
1032
|
+
continue;
|
|
1033
|
+
}
|
|
1034
|
+
if (!L2.v2c.has(v)) {
|
|
1035
|
+
const o = L2values[v];
|
|
1036
|
+
if (o) {
|
|
1037
|
+
o.dots = [];
|
|
1038
|
+
L2.v2c.set(v, o);
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
if (L2.v2c.has(v)) {
|
|
1042
|
+
L2.v2c.get(v).dots.push(d);
|
|
1043
|
+
if (L2.label) {
|
|
1044
|
+
L2.v2c.get(v).label = d.s[L2.label];
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
if (!obj.hide_subtype_legend) {
|
|
1049
|
+
for (const L2value of get_itemOrderList(L2, obj)) {
|
|
1050
|
+
const L2o = L2.v2c.get(L2value);
|
|
1051
|
+
const cell = L1div.append("div").style("display", "inline-block").style("white-space", "nowrap").attr("class", "sja_clb").on("click", () => {
|
|
1052
|
+
if (L2o.selected) {
|
|
1053
|
+
L2o.selected = false;
|
|
1054
|
+
cell.style("border", "");
|
|
1055
|
+
let alloff2 = true;
|
|
1056
|
+
for (const k in L2values) {
|
|
1057
|
+
if (L2values[k].selected) alloff2 = false;
|
|
1058
|
+
}
|
|
1059
|
+
if (alloff2) {
|
|
1060
|
+
obj.dotselection.transition().attr("r", radius);
|
|
1061
|
+
} else {
|
|
1062
|
+
obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius_tiny);
|
|
1063
|
+
}
|
|
1064
|
+
return;
|
|
1065
|
+
}
|
|
1066
|
+
let alloff = true;
|
|
1067
|
+
for (const k in L2values) {
|
|
1068
|
+
if (L2values[k].selected) alloff = false;
|
|
1069
|
+
}
|
|
1070
|
+
L2o.selected = true;
|
|
1071
|
+
cell.style("border", "solid 1px #858585");
|
|
1072
|
+
if (alloff) {
|
|
1073
|
+
obj.dotselection.transition().attr("r", (d) => d.s[L2.key] == L2value ? radius : radius_tiny);
|
|
1074
|
+
} else {
|
|
1075
|
+
obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius);
|
|
1076
|
+
}
|
|
1077
|
+
});
|
|
1078
|
+
cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", L2o.color).style("margin-right", "3px").text(L2o.dots.length);
|
|
1079
|
+
cell.append("div").style("display", "inline-block").style("color", L2o.color).text(L2o.label || L2value);
|
|
1080
|
+
L2o.cell = cell;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
if (L2.unannotated) {
|
|
1084
|
+
const d = L1div.append("div").style("margin-top", "20px");
|
|
1085
|
+
d.append("div").text('Unannotated for "' + L2.key + '": ' + L2.unannotated);
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
if (L1.unannotated) {
|
|
1090
|
+
const d = scrolldiv.append("div").style("margin-top", "20px");
|
|
1091
|
+
d.append("div").html('Unannotated for "' + L1.key + '": ' + L1.unannotated);
|
|
1092
|
+
}
|
|
1093
|
+
if (L1.v2c.size > 10) {
|
|
1094
|
+
scrolldiv.style("overflow-y", "scroll").style("height", "800px").style("resize", "vertical");
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
function get_itemOrderList(level, obj) {
|
|
1098
|
+
const register = obj.sample_attributes[level.key];
|
|
1099
|
+
if (!register.values || register.orderByCount) {
|
|
1100
|
+
return [...level.v2c].sort((i, j) => j[1].dots.length - i[1].dots.length).map((i) => i[0]);
|
|
1101
|
+
}
|
|
1102
|
+
const lst = [];
|
|
1103
|
+
for (const k in register.values) {
|
|
1104
|
+
if (level.v2c.has(k)) lst.push(k);
|
|
1105
|
+
}
|
|
1106
|
+
return lst;
|
|
1107
|
+
}
|
|
1108
|
+
function legend_flatlist(obj) {
|
|
1109
|
+
if (!obj.colorbyattributes.find((i) => i.__inuse)) obj.colorbyattributes[0].__inuse = true;
|
|
1110
|
+
for (const attr of obj.colorbyattributes) {
|
|
1111
|
+
const tr = obj.legendtable.append("tr");
|
|
1112
|
+
attr.labelhandle = tr.append("td").append("div").style("white-space", "nowrap").text(attr.label).attr("class", "sja_clb").on("click", () => {
|
|
1113
|
+
for (const attr2 of obj.colorbyattributes) {
|
|
1114
|
+
attr2.__inuse = false;
|
|
1115
|
+
attr2.labelhandle.style("background", "").style("border-bottom", "");
|
|
1116
|
+
}
|
|
1117
|
+
attr.__inuse = true;
|
|
1118
|
+
attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
|
|
1119
|
+
assign_color4dots(obj);
|
|
1120
|
+
});
|
|
1121
|
+
if (attr.__inuse) {
|
|
1122
|
+
attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
|
|
1123
|
+
}
|
|
1124
|
+
for (const d of obj.dots) {
|
|
1125
|
+
const v = d.s[attr.key];
|
|
1126
|
+
if (v == void 0 || v == null) continue;
|
|
1127
|
+
if (!attr.values[v]) attr.values[v] = { color: "black" };
|
|
1128
|
+
attr.values[v].count = 1 + (attr.values[v].count || 0);
|
|
1129
|
+
}
|
|
1130
|
+
const cellholder = tr.append("td");
|
|
1131
|
+
for (const value in attr.values) {
|
|
1132
|
+
const o = attr.values[value];
|
|
1133
|
+
if (o.count == 0 || o.count == void 0) continue;
|
|
1134
|
+
const cell = cellholder.append("div").style("display", "inline-block").attr("class", "sja_clb").on("click", () => {
|
|
1135
|
+
if (o.selected) {
|
|
1136
|
+
o.selected = false;
|
|
1137
|
+
cell.style("border", "");
|
|
1138
|
+
let alloff2 = true;
|
|
1139
|
+
for (const k in attr.values) {
|
|
1140
|
+
if (attr.values[k].selected) alloff2 = false;
|
|
1141
|
+
}
|
|
1142
|
+
if (alloff2) {
|
|
1143
|
+
obj.dotselection.transition().attr("r", radius);
|
|
1144
|
+
} else {
|
|
1145
|
+
obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius_tiny);
|
|
1146
|
+
}
|
|
1147
|
+
return;
|
|
1148
|
+
}
|
|
1149
|
+
let alloff = true;
|
|
1150
|
+
for (const k in attr.values) {
|
|
1151
|
+
if (attr.values[k].selected) alloff = false;
|
|
1152
|
+
}
|
|
1153
|
+
o.selected = true;
|
|
1154
|
+
cell.style("border", "solid 1px #858585");
|
|
1155
|
+
if (alloff) {
|
|
1156
|
+
obj.dotselection.transition().attr("r", (d) => d.s[attr.key] == value ? radius : radius_tiny);
|
|
1157
|
+
} else {
|
|
1158
|
+
obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius);
|
|
1159
|
+
}
|
|
1160
|
+
});
|
|
1161
|
+
cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", o.color).style("margin-right", "3px").text(o.count);
|
|
1162
|
+
cell.append("div").style("display", "inline-block").style("color", o.color).text(o.name || value);
|
|
1163
|
+
o.cell = cell;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
function update_dotcolor_legend(obj) {
|
|
1168
|
+
const filterd_dots = obj.dots.filter((d) => obj.filteredSamples.has(d.sample));
|
|
1169
|
+
const attrs_list = Array.from(filterd_dots, (d) => d.s);
|
|
1170
|
+
const key1 = obj.attr_levels?.[0].label || obj.attr_levels?.[0].key;
|
|
1171
|
+
const l1_labs = [...new Set(Array.from(attrs_list, (a) => a[key1]))];
|
|
1172
|
+
const key2 = obj.attr_levels?.[1].label || obj.attr_levels?.[1].key;
|
|
1173
|
+
const l2_labs = [...new Set(Array.from(attrs_list, (a) => a[key2]))];
|
|
1174
|
+
const legend_divs = obj.legendtable.node().querySelectorAll(".sja_lb_div");
|
|
1175
|
+
for (const div1 of legend_divs) {
|
|
1176
|
+
const l1_label = select_default(div1).select(".sja_l1lb").node().innerText.split(/\s{2}n=/)[0];
|
|
1177
|
+
if (!l1_labs.includes(l1_label)) select_default(div1).style("display", "none");
|
|
1178
|
+
else {
|
|
1179
|
+
select_default(div1).style("display", "block");
|
|
1180
|
+
const l2_divs = select_default(div1).node().querySelectorAll(".sja_clb");
|
|
1181
|
+
for (const div2 of l2_divs) {
|
|
1182
|
+
const clab = select_default(div2).node().querySelectorAll("div")[1];
|
|
1183
|
+
if (!l2_labs.includes(clab.innerText)) select_default(div2).style("display", "none");
|
|
1184
|
+
else select_default(div2).style("display", "inline-block");
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
function click_dot(dot, obj, event2) {
|
|
1190
|
+
if (obj.dslabel) {
|
|
1191
|
+
click_dot_mdsview(dot, obj, event2);
|
|
1192
|
+
return;
|
|
1193
|
+
}
|
|
1194
|
+
if (obj.mds) {
|
|
1195
|
+
click_dot_disco(dot, obj, event2);
|
|
1196
|
+
return;
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
async function click_dot_disco(dot, obj, event2) {
|
|
1200
|
+
const pane = newpane({ x: event2.clientX, y: event2.clientY });
|
|
1201
|
+
pane.header.text(dot.sample);
|
|
1202
|
+
const wait = tab_wait(pane.body);
|
|
1203
|
+
try {
|
|
1204
|
+
const sjcharts = await getsjcharts();
|
|
1205
|
+
const arg = {
|
|
1206
|
+
genome: obj.genome.name,
|
|
1207
|
+
dslabel: obj.mds.label,
|
|
1208
|
+
querykey: obj.mds.querykey,
|
|
1209
|
+
getsample4disco: dot.sample
|
|
1210
|
+
};
|
|
1211
|
+
const data = await dofetch("/mdssvcnv", arg);
|
|
1212
|
+
if (data.error) throw data.error;
|
|
1213
|
+
if (!data.text) throw ".text missing";
|
|
1214
|
+
const discoHolder = pane.body.append("div");
|
|
1215
|
+
const renderer = await sjcharts.dtDisco({
|
|
1216
|
+
holderSelector: discoHolder,
|
|
1217
|
+
chromosomeType: obj.genome.name,
|
|
1218
|
+
majorchr: obj.genome.majorchr,
|
|
1219
|
+
settings: {
|
|
1220
|
+
showControls: false,
|
|
1221
|
+
selectedSamples: []
|
|
1222
|
+
},
|
|
1223
|
+
callbacks: {
|
|
1224
|
+
geneLabelClick: {
|
|
1225
|
+
type: "genomepaint",
|
|
1226
|
+
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1227
|
+
genome: obj.genome.name,
|
|
1228
|
+
dslabel: obj.mds.label,
|
|
1229
|
+
sample: dot.sample
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
});
|
|
1233
|
+
const disco_arg = {
|
|
1234
|
+
sampleName: dot.sample,
|
|
1235
|
+
data: JSON.parse(data.text)
|
|
1236
|
+
};
|
|
1237
|
+
renderer.main(disco_arg);
|
|
1238
|
+
wait.remove();
|
|
1239
|
+
} catch (e) {
|
|
1240
|
+
wait.text("Error: " + (e.message || e));
|
|
1241
|
+
if (e.stack) console.log(e.stack);
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
function click_dot_mdsview(dot, obj, event2) {
|
|
1245
|
+
const pane = newpane({ x: event2.clientX, y: event2.clientY });
|
|
1246
|
+
pane.header.text(dot.sample);
|
|
1247
|
+
const wait = pane.body.append("div").style("margin", "20px").text("Loading ...");
|
|
1248
|
+
dofetch("/mdssvcnv", {
|
|
1249
|
+
genome: obj.genome.name,
|
|
1250
|
+
dslabel: obj.dslabel,
|
|
1251
|
+
querykey: obj.querykey,
|
|
1252
|
+
// TODO general track
|
|
1253
|
+
gettrack4singlesample: dot.sample
|
|
1254
|
+
}).then((data) => {
|
|
1255
|
+
wait.remove();
|
|
1256
|
+
launch_singlesample({
|
|
1257
|
+
obj,
|
|
1258
|
+
dot,
|
|
1259
|
+
sampletracks: data.tracks,
|
|
1260
|
+
holder: pane.body
|
|
1261
|
+
});
|
|
1262
|
+
});
|
|
1263
|
+
}
|
|
1264
|
+
function lasso_select(obj, dots) {
|
|
1265
|
+
const svg = obj.scattersvg;
|
|
1266
|
+
let lasso;
|
|
1267
|
+
if (obj.lasso_active) {
|
|
1268
|
+
lasso = d3lasso().items(dots.selectAll("circle")).targetArea(svg);
|
|
1269
|
+
lasso.on("start", scatterplot_lasso_start).on("draw", scatterplot_lasso_draw).on("end", scatterplot_lasso_end);
|
|
1270
|
+
svg.call(lasso);
|
|
1271
|
+
} else {
|
|
1272
|
+
svg.selectAll(".lasso").remove();
|
|
1273
|
+
svg.on("mousedown.drag", null);
|
|
1274
|
+
}
|
|
1275
|
+
function scatterplot_lasso_start() {
|
|
1276
|
+
if (!obj.lasso_active) return;
|
|
1277
|
+
lasso.items().attr("r", 2).style("fill-opacity", ".5").classed("not_possible", true).classed("selected", false);
|
|
1278
|
+
}
|
|
1279
|
+
function scatterplot_lasso_draw() {
|
|
1280
|
+
if (!obj.lasso_active) return;
|
|
1281
|
+
lasso.possibleItems().attr("r", radius).style("fill-opacity", "1").classed("not_possible", false).classed("possible", true);
|
|
1282
|
+
}
|
|
1283
|
+
function scatterplot_lasso_end(event2) {
|
|
1284
|
+
if (!obj.lasso_active) return;
|
|
1285
|
+
const selected_samples = svg.selectAll(".possible").data().map((d) => d.sample);
|
|
1286
|
+
if (selected_samples.length) show_lasso_menu(event2, selected_samples);
|
|
1287
|
+
else obj.menu.hide();
|
|
1288
|
+
lasso.items().classed("not_possible", false).classed("possible", false);
|
|
1289
|
+
lasso.selectedItems().attr("r", radius);
|
|
1290
|
+
lasso.notSelectedItems().attr("r", selected_samples.length == 0 ? radius : radius_tiny).style("fill-opacity", "1");
|
|
1291
|
+
}
|
|
1292
|
+
function show_lasso_menu(event2, samples) {
|
|
1293
|
+
obj.menu.clear().show(event2.sourceEvent.clientX - 90, event2.sourceEvent.clientY);
|
|
1294
|
+
if (obj.mds && obj.mds.gene2mutcount) {
|
|
1295
|
+
obj.menu.d.append("div").attr("class", "sja_menuoption").text("Recurrently mutated genes").on("click", async () => {
|
|
1296
|
+
obj.menu.hide();
|
|
1297
|
+
await click_mutated_genes(obj, samples);
|
|
1298
|
+
});
|
|
1299
|
+
}
|
|
1300
|
+
for (const opt of obj.lasso.postSelectMenuOptions) {
|
|
1301
|
+
obj.menu.d.append("div").attr("class", "sja_menuoption").text(opt.label).on("click", async () => {
|
|
1302
|
+
obj.menu.hide();
|
|
1303
|
+
const arg = {
|
|
1304
|
+
samples,
|
|
1305
|
+
sample_attributes: obj.sample_attributes,
|
|
1306
|
+
sample2dot: obj.sample2dot
|
|
1307
|
+
};
|
|
1308
|
+
if (opt.callback == "listSamples") printData(arg);
|
|
1309
|
+
else opt.callback(arg);
|
|
1310
|
+
});
|
|
1311
|
+
}
|
|
1312
|
+
obj.menu.d.append("div").attr("class", "sja_menuoption").text("Cancel").on("click", () => {
|
|
1313
|
+
lasso.items().classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
|
|
1314
|
+
obj.menu.hide();
|
|
1315
|
+
});
|
|
1316
|
+
obj.menu.d.append("div").style("padding", "10px").style("font-size", ".8em").style("width", "150px").text(samples.length + " samples selected");
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
function printData(obj) {
|
|
1320
|
+
const { samples, sample_attributes, sample2dot } = obj;
|
|
1321
|
+
const label_keys = Object.keys(sample_attributes);
|
|
1322
|
+
let labels = label_keys.map((k) => sample_attributes[k].label ? sample_attributes[k].label : k);
|
|
1323
|
+
labels.unshift("Sample");
|
|
1324
|
+
const labels_str = labels.join(" ");
|
|
1325
|
+
const lst = [labels_str];
|
|
1326
|
+
for (const s of samples) {
|
|
1327
|
+
if (sample2dot.get(s).s) {
|
|
1328
|
+
let sample_row = [];
|
|
1329
|
+
sample_row.push(s);
|
|
1330
|
+
for (const k of label_keys) sample_row.push(sample2dot.get(s).s[k]);
|
|
1331
|
+
lst.push(sample_row.join(" "));
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
export_data("List of selected samples", [{ text: lst.join("\n") }]);
|
|
1335
|
+
}
|
|
1336
|
+
function click_mutated_genes(obj, samples) {
|
|
1337
|
+
obj.pane = newpane({ x: event.clientX, y: event.clientY });
|
|
1338
|
+
obj.pane.header.text("Recurrently Mutated Genes");
|
|
1339
|
+
obj.pane.wait = tab_wait(obj.pane.body);
|
|
1340
|
+
obj.pane.matrix_criteria_div = obj.pane.body.append("div");
|
|
1341
|
+
obj.pane.sample_matrix_div = obj.pane.body.append("div");
|
|
1342
|
+
init_mutation_type_control(obj, samples);
|
|
1343
|
+
}
|
|
1344
|
+
function init_mutation_type_control(obj, samples) {
|
|
1345
|
+
let mutTypes = [], defaultTypes = [], selectedTypes = [], selected_cnv, nGenes = 15;
|
|
1346
|
+
const holder = obj.pane.matrix_criteria_div;
|
|
1347
|
+
if (obj.mds.mutCountType) {
|
|
1348
|
+
mutTypes = obj.mds.mutCountType;
|
|
1349
|
+
const non_cnv_types = mutTypes.filter((m) => !m.db_col.includes("cnv"));
|
|
1350
|
+
const cnv_types = mutTypes.filter((m) => m.db_col.includes("cnv"));
|
|
1351
|
+
const default_cnv = cnv_types.find((t) => t.default);
|
|
1352
|
+
selected_cnv = default_cnv;
|
|
1353
|
+
defaultTypes = mutTypes.filter((t) => t.default).map((t) => t.db_col);
|
|
1354
|
+
selectedTypes = [...defaultTypes];
|
|
1355
|
+
const buttonrow = holder.append("div").style("margin", "5px 20px");
|
|
1356
|
+
const criteria_div = holder.append("div").style("margin", "5px 20px").style("padding", "5px").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("background-color", "#FCFBF7").style("font-size", ".8em");
|
|
1357
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("MUTATION COUNT & NO. OF GENE CRITERIA").attr("class", "sja_clbtext").on("click", () => {
|
|
1358
|
+
if (criteria_div.style("display") == "none") {
|
|
1359
|
+
appear(criteria_div);
|
|
1360
|
+
} else {
|
|
1361
|
+
disappear(criteria_div);
|
|
1362
|
+
}
|
|
1363
|
+
});
|
|
1364
|
+
const mut_div = criteria_div.append("div");
|
|
1365
|
+
const mut_label_div = mut_div.append("div").style("display", "table-cell").style("width", "110px");
|
|
1366
|
+
mut_label_div.append("div").text("Consequences").style("padding-right", "15px");
|
|
1367
|
+
const mut_types_div = mut_div.append("div").style("display", "table-cell").style("border-left", "solid 1px #ededed");
|
|
1368
|
+
non_cnv_types.forEach((type) => {
|
|
1369
|
+
const m_div = mut_types_div.append("div");
|
|
1370
|
+
const checkbox = m_div.append("input").attr("type", "checkbox").attr("name", "mut_type").attr("value", type.db_col).style("margin", "3px").style("margin-left", "4px").property("checked", type.default);
|
|
1371
|
+
checkbox.on("change", () => {
|
|
1372
|
+
if (checkbox.node().checked) {
|
|
1373
|
+
selectedTypes.push(checkbox.node().value);
|
|
1374
|
+
} else {
|
|
1375
|
+
selectedTypes = selectedTypes.filter((t) => t !== checkbox.node().value);
|
|
1376
|
+
}
|
|
1377
|
+
});
|
|
1378
|
+
m_div.append("label").attr("for", type.db_col).html(type.label);
|
|
1379
|
+
});
|
|
1380
|
+
const cnv_checkbox = mut_types_div.append("input").attr("type", "checkbox").attr("name", "noncnv").attr("value", "cnv").style("margin", "3px").style("margin-left", "4px").property("checked", default_cnv ? true : false).on("change", () => {
|
|
1381
|
+
if (cnv_checkbox.node().checked) {
|
|
1382
|
+
size_select.property("disabled", false);
|
|
1383
|
+
ratio_select.property("disabled", false);
|
|
1384
|
+
} else {
|
|
1385
|
+
size_select.property("disabled", true);
|
|
1386
|
+
ratio_select.property("disabled", true);
|
|
1387
|
+
}
|
|
1388
|
+
});
|
|
1389
|
+
mut_types_div.append("label").attr("for", "cnv").text("CNV");
|
|
1390
|
+
const cnv_options_div = mut_types_div.append("div").style("display", "block").style("padding", "3px 15px");
|
|
1391
|
+
const cnv_size_cutoff = [...new Set(cnv_types.map((t) => t.sizecutoff))];
|
|
1392
|
+
const cnv_ratio_cutoff = [...new Set(cnv_types.map((t) => t.log2cutoff))];
|
|
1393
|
+
cnv_options_div.append("label").attr("for", "cnv_size").style("margin", "2px 10px").text("Size cutoff");
|
|
1394
|
+
const size_select = cnv_options_div.append("select").attr("name", "cnv_size");
|
|
1395
|
+
cnv_size_cutoff.forEach((size) => {
|
|
1396
|
+
size_select.append("option").attr("value", size).text(size);
|
|
1397
|
+
});
|
|
1398
|
+
size_select.property("selectedIndex", default_cnv.sizecutoff == "1Mb" ? 0 : default_cnv.sizecutoff == "2Mb" ? 1 : 2);
|
|
1399
|
+
cnv_options_div.append("label").attr("for", "log2_ratio").style("margin", "2px 10px").text("log2(ratio) cutoff");
|
|
1400
|
+
const ratio_select = cnv_options_div.append("select").attr("name", "log2_ratio");
|
|
1401
|
+
cnv_ratio_cutoff.forEach((ratio) => {
|
|
1402
|
+
ratio_select.append("option").attr("value", ratio.toFixed(1)).text(ratio.toFixed(1));
|
|
1403
|
+
});
|
|
1404
|
+
ratio_select.property("selectedIndex", default_cnv.log2cutoff == 0.1 ? 0 : default_cnv.log2cutoff == 0.2 ? 1 : 2);
|
|
1405
|
+
const gene_div = criteria_div.append("div").style("padding-top", "10px");
|
|
1406
|
+
const gene_label_div = gene_div.append("div").style("display", "table-cell").style("width", "110px");
|
|
1407
|
+
gene_label_div.append("div").text("No. of Genes").style("padding-right", "15px");
|
|
1408
|
+
const gene_n_select_div = gene_div.append("div").style("display", "table-cell").style("padding", "3px").style("border-left", "solid 1px #ededed");
|
|
1409
|
+
const gene_n = [10, 15, 20, 30, 40];
|
|
1410
|
+
const gene_n_select = gene_n_select_div.append("select").attr("name", "gene_n");
|
|
1411
|
+
gene_n.forEach((n) => {
|
|
1412
|
+
gene_n_select.append("option").attr("value", n).text(n);
|
|
1413
|
+
});
|
|
1414
|
+
gene_n_select.property(
|
|
1415
|
+
"selectedIndex",
|
|
1416
|
+
gene_n.findIndex((n) => n == nGenes)
|
|
1417
|
+
);
|
|
1418
|
+
const calc_btn = criteria_div.append("button").style("margin", "10px").style("padding", "3px 10px").text("Calculate").on("click", () => {
|
|
1419
|
+
const checked_boxes = mut_types_div.node().querySelectorAll("input:checked");
|
|
1420
|
+
selectedTypes = [];
|
|
1421
|
+
checked_boxes.forEach((checkbox) => {
|
|
1422
|
+
if (checkbox.value !== "cnv" && !selectedTypes.includes(checkbox.value)) selectedTypes.push(checkbox.value);
|
|
1423
|
+
else if (checkbox.value == "cnv") {
|
|
1424
|
+
const selected_size = size_select.node().value;
|
|
1425
|
+
const selected_ratio = ratio_select.node().value;
|
|
1426
|
+
selected_cnv = cnv_types.find((t) => t.sizecutoff == selected_size && t.log2cutoff == selected_ratio);
|
|
1427
|
+
selectedTypes.push(selected_cnv.db_col);
|
|
1428
|
+
}
|
|
1429
|
+
});
|
|
1430
|
+
nGenes = gene_n_select.node().value;
|
|
1431
|
+
get_mutation_count_data(obj, samples, selectedTypes, nGenes);
|
|
1432
|
+
defaultTypes = [...selectedTypes];
|
|
1433
|
+
});
|
|
1434
|
+
} else defaultTypes = ["total"];
|
|
1435
|
+
get_mutation_count_data(obj, samples, defaultTypes, nGenes);
|
|
1436
|
+
}
|
|
1437
|
+
async function get_mutation_count_data(obj, samples, selectedMutTypes, nGenes) {
|
|
1438
|
+
try {
|
|
1439
|
+
const arg = {
|
|
1440
|
+
genome: obj.genome.name,
|
|
1441
|
+
dslabel: obj.mds.label,
|
|
1442
|
+
samples,
|
|
1443
|
+
selectedMutTypes,
|
|
1444
|
+
nGenes
|
|
1445
|
+
};
|
|
1446
|
+
const data = await dofetch2("mdsgenecount", { method: "POST", body: JSON.stringify(arg) });
|
|
1447
|
+
if (data.error) throw data.error;
|
|
1448
|
+
if (!data.genes) throw ".genes missing";
|
|
1449
|
+
if (!data.genes.length) {
|
|
1450
|
+
obj.pane.wait.html("No gene retrived with mutations.");
|
|
1451
|
+
obj.pane.matrix_criteria_div.style("display", "none");
|
|
1452
|
+
return;
|
|
1453
|
+
}
|
|
1454
|
+
make_sample_matrix({ obj, genes: data.genes, samples, holder: obj.pane.body });
|
|
1455
|
+
obj.pane.wait.remove();
|
|
1456
|
+
} catch (e) {
|
|
1457
|
+
obj.pane.wait.text("Error: " + (e.message || e));
|
|
1458
|
+
if (e.stack) console.log(e.stack);
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
function make_sample_matrix(args) {
|
|
1462
|
+
const { obj, genes, samples } = args;
|
|
1463
|
+
const holder = obj.pane.sample_matrix_div;
|
|
1464
|
+
holder.selectAll("*").remove();
|
|
1465
|
+
for (const g of genes) {
|
|
1466
|
+
g.ismutation = true;
|
|
1467
|
+
g.genename = g.gene;
|
|
1468
|
+
g.label = g.gene;
|
|
1469
|
+
delete g.gene;
|
|
1470
|
+
g.querykeylst = ["svcnv", "snvindel"];
|
|
1471
|
+
obj.features_on_rows ? g.height = 50 : g.width = 50;
|
|
1472
|
+
}
|
|
1473
|
+
const arg = {
|
|
1474
|
+
genome: obj.genome,
|
|
1475
|
+
dslabel: obj.mds.label,
|
|
1476
|
+
features: genes,
|
|
1477
|
+
features_on_rows: obj.features_on_rows,
|
|
1478
|
+
ismutation_allsymbolic: true,
|
|
1479
|
+
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1480
|
+
limitbysamplesetgroup: { samples },
|
|
1481
|
+
jwt: sessionStorage.getItem("jwt") || "",
|
|
1482
|
+
holder: holder.append("div").style("margin", "20px")
|
|
1483
|
+
};
|
|
1484
|
+
import("./samplematrix-R5PZLZDE.js").then((_) => {
|
|
1485
|
+
const m = new _.Samplematrix(arg);
|
|
1486
|
+
m._pane = holder;
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
function launch_singlesample(p) {
|
|
1490
|
+
const { obj, dot, sampletracks, holder } = p;
|
|
1491
|
+
const arg = {
|
|
1492
|
+
genome: obj.genome,
|
|
1493
|
+
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1494
|
+
jwt: sessionStorage.getItem("jwt") || "",
|
|
1495
|
+
holder,
|
|
1496
|
+
chr: obj.genome.defaultcoord.chr,
|
|
1497
|
+
start: obj.genome.defaultcoord.start,
|
|
1498
|
+
stop: obj.genome.defaultcoord.stop,
|
|
1499
|
+
nobox: 1,
|
|
1500
|
+
tklst: []
|
|
1501
|
+
};
|
|
1502
|
+
if (obj.tracks) {
|
|
1503
|
+
for (const t of obj.tracks) arg.tklst.push(t);
|
|
1504
|
+
}
|
|
1505
|
+
const mdstk = obj.mds.queries[obj.querykey];
|
|
1506
|
+
if (mdstk) {
|
|
1507
|
+
const tk = {
|
|
1508
|
+
singlesample: { name: dot.sample },
|
|
1509
|
+
mds: obj.mds,
|
|
1510
|
+
querykey: obj.querykey
|
|
1511
|
+
};
|
|
1512
|
+
for (const k in mdstk) {
|
|
1513
|
+
tk[k] = mdstk[k];
|
|
1514
|
+
}
|
|
1515
|
+
arg.tklst.push(tk);
|
|
1516
|
+
if (mdstk.checkexpressionrank) {
|
|
1517
|
+
const et = {
|
|
1518
|
+
type: tkt.mdsexpressionrank,
|
|
1519
|
+
name: dot.sample + " gene expression rank",
|
|
1520
|
+
//mds: tk.mds,
|
|
1521
|
+
dslabel: obj.mds.label,
|
|
1522
|
+
querykey: mdstk.checkexpressionrank.querykey,
|
|
1523
|
+
sample: dot.sample
|
|
1524
|
+
};
|
|
1525
|
+
if (mdstk.groupsamplebyattr) {
|
|
1526
|
+
const lst = mdstk.groupsamplebyattr.attrlst;
|
|
1527
|
+
if (lst && lst.length) {
|
|
1528
|
+
et.attributes = [];
|
|
1529
|
+
for (const attr of lst) {
|
|
1530
|
+
et.attributes.push({
|
|
1531
|
+
k: attr.k,
|
|
1532
|
+
label: attr.label,
|
|
1533
|
+
kvalue: dot.s[attr.k]
|
|
1534
|
+
});
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
arg.tklst.push(et);
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
if (sampletracks) {
|
|
1542
|
+
for (const t of sampletracks) arg.tklst.push(t);
|
|
1543
|
+
}
|
|
1544
|
+
first_genetrack_tolist(obj.genome, arg.tklst);
|
|
1545
|
+
blocklazyload(arg);
|
|
1546
|
+
}
|
|
1547
|
+
export {
|
|
1548
|
+
init
|
|
1549
|
+
};
|
|
1550
|
+
//# sourceMappingURL=mds.samplescatterplot-KLKOD4AS.js.map
|