@sjcrh/proteinpaint-client 2.207.0 → 2.207.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-32F56QBJ.js +1367 -0
- package/dist/AggMatrixInput-RDFMGV47.js +277 -0
- package/dist/AggregateMatrix-TPXNNWVD.js +41 -0
- package/dist/AppHeader-SEJXDJE3.js +830 -0
- package/dist/BoxPlot-LOAO2MDO.js +1211 -0
- package/dist/CorrelationVolcano-AU6ZAFPG.js +614 -0
- package/dist/Cuminc-O533BXFY.js +1219 -0
- package/dist/DE-FDAUNOWU.js +89 -0
- package/dist/DEinput-TF2VYTIJ.js +499 -0
- package/dist/DM-42YN3OEO.js +90 -0
- package/dist/DifferentialAnalysis-H5NBPR3P.js +237 -0
- package/dist/Disco-FGFHIKUR.js +3389 -0
- package/dist/Disco.UI-YGIU2JPM.js +243 -0
- package/dist/DmrPlot-EQFXMAW5.js +637 -0
- package/dist/GB-244UT5VU.js +1391 -0
- package/dist/GSEA-KXQBR3HH.js +851 -0
- package/dist/GeneExpInput-ZY6SHXTX.js +42 -0
- package/dist/Geomap-6ZV4AM23.js +84 -0
- package/dist/HicApp-4UHX2YGP.js +2245 -0
- package/dist/IDCViewer-AB6LLO64.js +10812 -0
- package/dist/NumBinaryEditor-CGSO2T4L.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +312 -0
- package/dist/NumContEditor-YLKSC4Y2.js +105 -0
- package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +164 -0
- package/dist/NumCustomBinEditor-K3XSFHCC.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +397 -0
- package/dist/NumDiscreteEditor-RJCSIW4R.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +233 -0
- package/dist/NumRegularBinEditor-C3VIFDS4.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +278 -0
- package/dist/NumSplineEditor-XBE7OV7P.js +210 -0
- package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +224 -0
- package/dist/NumericDensity-ZL7UY7TL.js +33 -0
- package/dist/NumericDensity.unit.spec-CWTMSR56.js +418 -0
- package/dist/NumericHandler-56ENFMNK.js +34 -0
- package/dist/NumericHandler.unit.spec-3YW34TTJ.js +214 -0
- package/dist/ProteomeInput-HIS4GYWH.js +388 -0
- package/dist/Regression-C5GZYLEN.js +1416 -0
- package/dist/RunChart2-X5WKYLPQ.js +749 -0
- package/dist/SC-3Y5J65DT.js +1107 -0
- package/dist/Violin-F3QS2EMJ.js +1082 -0
- package/dist/Volcano-ZNYDKP2O.js +1649 -0
- package/dist/Wsi-B6EIGTI2.js +609 -0
- package/dist/adSandbox-A52OQSOW.js +33 -0
- package/dist/animatedBubbleChart-OQOZ3WFK.js +547 -0
- package/dist/app-4KIKXQX4.js +32 -0
- package/dist/app-NZUNKWKK.js +42 -0
- package/dist/app.js +14 -14
- package/dist/bam-SME7YD3E.js +876 -0
- package/dist/barchart-ESY6FOS4.js +42 -0
- package/dist/barchart2-XEJZGCES.js +309 -0
- package/dist/block-747IK2EW.js +6249 -0
- package/dist/block.init-ITZ42K43.js +33 -0
- package/dist/block.mds.expressionrank-Q63IJAJK.js +354 -0
- package/dist/block.mds.geneboxplot-EZIKAIKC.js +823 -0
- package/dist/block.mds.junction-TJXFKZ2Q.js +1539 -0
- package/dist/block.mds.svcnv-WSIEAII6.js +6796 -0
- package/dist/block.svg-CQX5W6R4.js +159 -0
- package/dist/block.tk.aicheck-J4MQ4BSD.js +278 -0
- package/dist/block.tk.ase-2JFNPWCZ.js +360 -0
- package/dist/block.tk.bam-RBQ4AXSQ.js +1901 -0
- package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +379 -0
- package/dist/block.tk.bigwig.ui-U5IBO3VF.js +206 -0
- package/dist/block.tk.hicstraw-ZRZMFLLX.js +818 -0
- package/dist/block.tk.junction-7U7ABE4O.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +194 -0
- package/dist/block.tk.ld-E7WPFL5P.js +94 -0
- package/dist/block.tk.menu-AITMEZTZ.js +1024 -0
- package/dist/block.tk.pgv-EDPZHI5L.js +938 -0
- package/dist/brainImaging-35LPNBDR.js +555 -0
- package/dist/brainRegions-JMTQT4X3.js +217 -0
- package/dist/bubbleHeatmap-FMBKMDUL.js +378 -0
- package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +278 -0
- package/dist/chunk-2GBG3KA7.js +129 -0
- package/dist/chunk-2IVN5DWA.js +302 -0
- package/dist/chunk-36AAUYZE.js +194 -0
- package/dist/chunk-3K7AYA3M.js +54 -0
- package/dist/chunk-4JFFFGL3.js +468 -0
- package/dist/chunk-4JFFFGL3.js.map +7 -0
- package/dist/chunk-4KJSNR5E.js +562 -0
- package/dist/chunk-52QHIKH2.js +2139 -0
- package/dist/chunk-5ALGKNTQ.js +6360 -0
- package/dist/chunk-5JCTTSV4.js +480 -0
- package/dist/chunk-5W7K7STT.js +26 -0
- package/dist/chunk-6CIGRV5K.js +677 -0
- package/dist/chunk-6U2OPC6J.js +176 -0
- package/dist/chunk-7AHTS4BP.js +382 -0
- package/dist/chunk-7HFAEB3C.js +55 -0
- package/dist/chunk-7HGZRJZZ.js +98 -0
- package/dist/chunk-A2ORIMUJ.js +339 -0
- package/dist/chunk-A32SGNCT.js +1233 -0
- package/dist/chunk-AKA6RWLC.js +217 -0
- package/dist/chunk-AMVZ6KT5.js +240 -0
- package/dist/chunk-ASXUC6SM.js +54 -0
- package/dist/chunk-BCO5T43J.js +379 -0
- package/dist/chunk-BDQPMVKD.js +783 -0
- package/dist/chunk-BOQZOLRA.js +274 -0
- package/dist/chunk-BSCMVKBP.js +5071 -0
- package/dist/chunk-BZN2O76M.js +119 -0
- package/dist/chunk-BZZZQFTI.js +34 -0
- package/dist/chunk-CRHGXVUQ.js +272 -0
- package/dist/chunk-D6AB63O3.js +216 -0
- package/dist/chunk-DPQP2GUW.js +626 -0
- package/dist/chunk-EKQ7NYOU.js +276 -0
- package/dist/chunk-EUQEQOFE.js +141 -0
- package/dist/chunk-FKA55PHV.js +281 -0
- package/dist/chunk-GVLWCGXX.js +397 -0
- package/dist/chunk-HLVWCJRO.js +518 -0
- package/dist/chunk-HPAW7XDM.js +178 -0
- package/dist/chunk-IV57XNTG.js +123 -0
- package/dist/chunk-JMAFJKGG.js +243 -0
- package/dist/chunk-JZHRVYNS.js +2676 -0
- package/dist/chunk-K6YUMBDY.js +55 -0
- package/dist/chunk-L6WNBKYN.js +158 -0
- package/dist/chunk-LGR6CJTW.js +2853 -0
- package/dist/chunk-LOWJQFCC.js +550 -0
- package/dist/chunk-M5SYLBBC.js +2327 -0
- package/dist/chunk-MKAILEWO.js +59 -0
- package/dist/chunk-MKAILEWO.js.map +7 -0
- package/dist/chunk-N4PDPZWQ.js +4366 -0
- package/dist/chunk-N4PDPZWQ.js.map +7 -0
- package/dist/chunk-OIJ6GRVS.js +134 -0
- package/dist/chunk-ONVIVITY.js +203 -0
- package/dist/chunk-OQX3HO46.js +56 -0
- package/dist/chunk-OYLGAFFY.js +31 -0
- package/dist/chunk-P7DIIYCX.js +197 -0
- package/dist/chunk-PC4MFDHP.js +24613 -0
- package/dist/chunk-PC4MFDHP.js.map +7 -0
- package/dist/chunk-PGKOJYV6.js +50 -0
- package/dist/chunk-PPSWNLMG.js +402 -0
- package/dist/chunk-R624P2GE.js +263 -0
- package/dist/chunk-RBSAEAQV.js +446 -0
- package/dist/chunk-RUBZCKIX.js +1608 -0
- package/dist/chunk-RUBZCKIX.js.map +7 -0
- package/dist/chunk-RZ3KEFZ2.js +339 -0
- package/dist/chunk-SS66BHGA.js +103 -0
- package/dist/chunk-SU63FEY6.js +294 -0
- package/dist/chunk-SVC65ZPG.js +102 -0
- package/dist/chunk-TG3QBMDK.js +102 -0
- package/dist/chunk-TMXW5HVE.js +1278 -0
- package/dist/chunk-TPDBOH3A.js +1339 -0
- package/dist/chunk-U5RWKZVS.js +1720 -0
- package/dist/chunk-UYKZ5HXA.js +1986 -0
- package/dist/chunk-VOYUJJQ6.js +70 -0
- package/dist/chunk-W4RYRU5D.js +38 -0
- package/dist/chunk-WFSMIVJT.js +2784 -0
- package/dist/chunk-Y4PX2ECH.js +299 -0
- package/dist/chunk-YKM46UX5.js +170 -0
- package/dist/chunk-Z7AO6A7M.js +14 -0
- package/dist/chunk-ZENZ5H2Q.js +49 -0
- package/dist/cohort-Q7TW5XTY.js +70 -0
- package/dist/condition-H6LBUHIF.js +327 -0
- package/dist/controls-DWDKFDXY.js +34 -0
- package/dist/controls.config-KF7PHZSG.js +34 -0
- package/dist/correlation-YMSARIER.js +95 -0
- package/dist/customdata.inputui-KEFE7ZHS.js +284 -0
- package/dist/dataDownload-G7TGPFGL.js +329 -0
- package/dist/databrowser.ui-NFIIFQJZ.js +425 -0
- package/dist/dictionary-ERJQMALC.js +113 -0
- package/dist/dnaMethylation-KVCXKAU3.js +33 -0
- package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +198 -0
- package/dist/dofetch-YRWLEQEH.js +48 -0
- package/dist/e2pca-M2F2CI6I.js +344 -0
- package/dist/ep-QAEG4RV4.js +1249 -0
- package/dist/expclust.gdc.spec-P77T6JR2.js +302 -0
- package/dist/facet-LJTSTASE.js +519 -0
- package/dist/gb-KSB2DQHH.js +81 -0
- package/dist/geneExpClustering-KHDCPE65.js +244 -0
- package/dist/geneExpression-AWWMOUAR.js +310 -0
- package/dist/geneExpression-Z2EDR6EN.js +33 -0
- package/dist/geneExpression.unit.spec-WB2ESPKT.js +128 -0
- package/dist/geneORA-NGZTMFSJ.js +273 -0
- package/dist/geneRanking-AYNBGFKU.js +548 -0
- package/dist/geneVariant-AL64NDHH.js +36 -0
- package/dist/geneVariant-QMKR3LUV.js +286 -0
- package/dist/geneVariant.integration.spec-N3U5CIRT.js +489 -0
- package/dist/genefusion.ui-IWJMF2BM.js +303 -0
- package/dist/geneset-APCO4BRX.js +203 -0
- package/dist/genomeBrowser.spec-JTCVUTO5.js +276 -0
- package/dist/grin2-FVX6AIST.js +70 -0
- package/dist/grin2-LF46UKFY.js +1137 -0
- package/dist/hierCluster-4DRHXD6W.js +55 -0
- package/dist/hierCluster-SFRQK3PS.js +59 -0
- package/dist/hierCluster.config-G2TFGBYF.js +36 -0
- package/dist/hierCluster.integration.spec-ZUZKCG6A.js +483 -0
- package/dist/hierCluster.interactivity-LQA6J56H.js +49 -0
- package/dist/hierCluster.renderers-TZZJEVFO.js +19 -0
- package/dist/imagePlot-OUHFWYKT.js +156 -0
- package/dist/importPlot-7V456QK7.js +8 -0
- package/dist/isoformExpression-NGUJJ6VI.js +35 -0
- package/dist/isoformExpression.unit.spec-DCRPXPBY.js +237 -0
- package/dist/junction-QYKLNXIW.js +36 -0
- package/dist/junction.customTerm-EHOOBR4V.js +16 -0
- package/dist/junction.unit.spec-LDNY7OFK.js +182 -0
- package/dist/launch.adhoc-FF7B3UG6.js +37 -0
- package/dist/leftlabel.sample-BTHMKLGF.js +258 -0
- package/dist/lollipop-H3UCNMHN.js +166 -0
- package/dist/maf-KWGUTPKO.js +455 -0
- package/dist/maftimeline-UD5VE4UW.js +587 -0
- package/dist/matrix-DLCX6GOO.js +59 -0
- package/dist/matrix-TIV42IQB.js +54 -0
- package/dist/matrix.cells-J3QZ7C6U.js +26 -0
- package/dist/matrix.config-VNMS6B7J.js +37 -0
- package/dist/matrix.data-PIE3TLKD.js +23 -0
- package/dist/matrix.groups-URBU775S.js +26 -0
- package/dist/matrix.integration.spec-LC6YMEKP.js +3160 -0
- package/dist/matrix.interactivity-W5AFOAQN.js +37 -0
- package/dist/matrix.layout-LU3NIJAL.js +39 -0
- package/dist/matrix.legend-LTP6ETZO.js +20 -0
- package/dist/matrix.renderers-762XI65L.js +34 -0
- package/dist/matrix.serieses-FHDBRPZA.js +19 -0
- package/dist/matrix.sort-Q6A6UWMY.js +26 -0
- package/dist/matrix.sort.unit.spec-CTCOPKVS.js +468 -0
- package/dist/matrix.sorterUi-4M5AU5EL.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +338 -0
- package/dist/matrix.unit.spec-DROPHFTM.js +150 -0
- package/dist/mavb-BWA73N3U.js +727 -0
- package/dist/mds.fimo-3UJWIH2J.js +513 -0
- package/dist/mds.samplescatterplot-EUS7DCSQ.js +1545 -0
- package/dist/mds.survivalplot-77UEBQIC.js +477 -0
- package/dist/multivalue-KZ2DMVIR.js +83 -0
- package/dist/numericDictTermCluster-C2MYJYPZ.js +63 -0
- package/dist/oncomatrix-6LGB3M7R.js +290 -0
- package/dist/oncomatrix.spec-UWMSLOHW.js +443 -0
- package/dist/plot.2dvaf-LZAVWH65.js +372 -0
- package/dist/plot.app-OEWE3AYV.js +36 -0
- package/dist/plot.barplot-VIBHGTUT.js +97 -0
- package/dist/plot.boxplot-NQI3PSKR.js +146 -0
- package/dist/plot.brainImaging-3MTTCZHI.js +51 -0
- package/dist/plot.disco-HODBY7SO.js +99 -0
- package/dist/plot.ssgq-4URQE673.js +134 -0
- package/dist/plot.vaf2cov-QIJNEKCK.js +253 -0
- package/dist/polar2-GVFQNSLK.js +232 -0
- package/dist/profileForms-Z22CJXI4.js +941 -0
- package/dist/profilePlot-IVQZBSID.js +49 -0
- package/dist/proteinView-AUK634AU.js +1357 -0
- package/dist/proteomeCohortCompare-7G2F35H5.js +912 -0
- package/dist/pseudbulk.unit.spec-JDKUQUCM.js +106 -0
- package/dist/pseudobulk-QTCUSH5I.js +37 -0
- package/dist/qualitative-7ST7SSBT.js +38 -0
- package/dist/radar2-CEE6SNBS.js +327 -0
- package/dist/radarFacility2-OSKDYIK7.js +335 -0
- package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +211 -0
- package/dist/render-MAD3WMVD.js +33 -0
- package/dist/report-6JXJVSEB.js +217 -0
- package/dist/sampleView-SG3QYZKQ.js +43 -0
- package/dist/samplelst-R765UFP6.js +106 -0
- package/dist/samplematrix-EBJYE5SM.js +2193 -0
- package/dist/sc-7ZXPFDHD.js +81 -0
- package/dist/scatter-3GUL4KF3.js +88 -0
- package/dist/scatter-RHUVER53.js +920 -0
- package/dist/scatter-RHUVER53.js.map +7 -0
- package/dist/selectGenomeWithTklst-K4YXGJYG.js +129 -0
- package/dist/singleCellCellType-TU5VTPLP.js +33 -0
- package/dist/singleCellCellType.unit.spec-IRITQIGT.js +154 -0
- package/dist/singleCellGeneExpression-3IL52QDK.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +148 -0
- package/dist/singleCellPlot-XG3HZS7I.js +48 -0
- package/dist/singlecell-BRF2HAV2.js +81 -0
- package/dist/singlecell-KVCJF2HI.js +1566 -0
- package/dist/snp-RMZRB426.js +33 -0
- package/dist/snp.unit.spec-JF6KR2NT.js +171 -0
- package/dist/snplocus-AHUFHQ3Q.js +203 -0
- package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +146 -0
- package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +278 -0
- package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +455 -0
- package/dist/ssGSEA-7RKWYZKX.js +33 -0
- package/dist/ssGSEA.unit.spec-XLCZHH7S.js +83 -0
- package/dist/stattable-NDYUCLVZ.js +117 -0
- package/dist/studyCatalog-TAXRF5NS.js +414 -0
- package/dist/summarizeCnvGeneexp-3QLHU6N7.js +158 -0
- package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +105 -0
- package/dist/summarizeMutationCnv-W7V7CKPI.js +159 -0
- package/dist/summarizeMutationDiagnosis-GCL4SRON.js +35 -0
- package/dist/summarizeMutationSurvival-6TTMSRRX.js +99 -0
- package/dist/summary-OUYDWLBF.js +44 -0
- package/dist/summary.integration.spec-4GTCG6HY.js +409 -0
- package/dist/summaryInput-UK3TLC7M.js +242 -0
- package/dist/sunburst-2UFHMNH3.js +278 -0
- package/dist/survival-SPWYSDVB.js +53 -0
- package/dist/survival-TL6UZ6FQ.js +1248 -0
- package/dist/survival.integration.spec-WWZELTKZ.js +613 -0
- package/dist/survival.integration.spec-WWZELTKZ.js.map +7 -0
- package/dist/svgraph-Z543MLIN.js +1382 -0
- package/dist/svmr-SZCAOAIF.js +3837 -0
- package/dist/table-IAQ6J4DO.js +197 -0
- package/dist/termCollection-3NGHR7QN.js +252 -0
- package/dist/termCollection-7P3WU6X6.js +33 -0
- package/dist/termCollection.unit.spec-EPYC7LOA.js +299 -0
- package/dist/termCollectionFractionSelection-YKIE6BME.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +188 -0
- package/dist/tk-TOXMU4GT.js +1121 -0
- package/dist/tk-X454XH5N.js +41 -0
- package/dist/tp.ui-FDQ76KPL.js +1454 -0
- package/dist/tvs.dt-U77PCG6X.js +34 -0
- package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +35 -0
- package/dist/tvs.dtcnv.continuous-4GJILFGP.js +67 -0
- package/dist/tvs.dtfusion-7YROAHVI.js +35 -0
- package/dist/tvs.dtitd-MIYU4ZHH.js +35 -0
- package/dist/tvs.dtsnvindel-XLDY7KWB.js +35 -0
- package/dist/tvs.dtsv-YMLJ37YR.js +35 -0
- package/dist/tvs.samplelst-KIVEXJKD.js +98 -0
- package/dist/tvs.termCollection-4CQV3EB3.js +124 -0
- package/dist/vocabulary-64GO4YDB.js +36 -0
- package/dist/wsi.direct-5MQVRJZX.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-5JKVMAPO.js +0 -1367
- package/dist/AggMatrixInput-254IEQYB.js +0 -277
- package/dist/AggregateMatrix-U3NZSNL6.js +0 -41
- package/dist/AppHeader-DK2GIYYT.js +0 -830
- package/dist/BoxPlot-POSL2ZLS.js +0 -1211
- package/dist/CorrelationVolcano-YZ6ACP5D.js +0 -614
- package/dist/Cuminc-SJVFK4VX.js +0 -1219
- package/dist/DE-RJMZGJ5Y.js +0 -89
- package/dist/DEinput-H25PS4QT.js +0 -499
- package/dist/DM-A3UCF7HM.js +0 -90
- package/dist/DifferentialAnalysis-4J75UMV7.js +0 -237
- package/dist/Disco-IXGGKIEI.js +0 -3389
- package/dist/Disco.UI-X3JG4ERN.js +0 -243
- package/dist/DmrPlot-SJWHTSMB.js +0 -637
- package/dist/GB-KPF7BZFQ.js +0 -1391
- package/dist/GSEA-BMVTJ6B7.js +0 -851
- package/dist/GeneExpInput-3KFGQEAY.js +0 -42
- package/dist/Geomap-R7Q3T3DZ.js +0 -84
- package/dist/HicApp-BTFHMXQE.js +0 -2245
- package/dist/IDCViewer-RVVWT7MH.js +0 -10812
- package/dist/NumBinaryEditor-V3YCDNRR.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-IVY27SEV.js +0 -312
- package/dist/NumContEditor-FSHA32UV.js +0 -105
- package/dist/NumContEditor.unit.spec-5IFB4GXP.js +0 -164
- package/dist/NumCustomBinEditor-63YQZU52.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-BJLGQQ4R.js +0 -397
- package/dist/NumDiscreteEditor-K4AZ6UQF.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-AHL7QA4N.js +0 -233
- package/dist/NumRegularBinEditor-5N3PWOIQ.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-SYPTBY5A.js +0 -278
- package/dist/NumSplineEditor-ZLB5MWYK.js +0 -210
- package/dist/NumSplineEditor.unit.spec-ZLAVLV7E.js +0 -224
- package/dist/NumericDensity-K4CTMN2G.js +0 -33
- package/dist/NumericDensity.unit.spec-BLWEQHZC.js +0 -418
- package/dist/NumericHandler-3KACLCOL.js +0 -34
- package/dist/NumericHandler.unit.spec-4P7HBSCB.js +0 -214
- package/dist/ProteomeInput-JZ6MKE7L.js +0 -388
- package/dist/Regression-QBR2VYHT.js +0 -1416
- package/dist/RunChart2-UKN6M5M5.js +0 -749
- package/dist/SC-COHN7DMJ.js +0 -1107
- package/dist/Violin-SDUSKIEX.js +0 -1082
- package/dist/Volcano-KON4MOIM.js +0 -1649
- package/dist/Wsi-SJC56PRR.js +0 -609
- package/dist/adSandbox-L6ZHCJJO.js +0 -33
- package/dist/animatedBubbleChart-IQBJBHPP.js +0 -547
- package/dist/app-2NSQK3GQ.js +0 -32
- package/dist/app-GMYTOBRB.js +0 -42
- package/dist/bam-B4ZPOZTX.js +0 -876
- package/dist/barchart-WF5VWDCV.js +0 -42
- package/dist/barchart2-3HGZ5Q2B.js +0 -309
- package/dist/block-A3I2INBA.js +0 -6249
- package/dist/block.init-YUHPWTMF.js +0 -33
- package/dist/block.mds.expressionrank-TGAZQTVW.js +0 -354
- package/dist/block.mds.geneboxplot-GPIQWNWB.js +0 -823
- package/dist/block.mds.junction-YREJCNYJ.js +0 -1539
- package/dist/block.mds.svcnv-2ZDNI2XE.js +0 -6796
- package/dist/block.svg-2BRKZJAO.js +0 -159
- package/dist/block.tk.aicheck-ZDTQFF7Q.js +0 -278
- package/dist/block.tk.ase-JAIOSXZO.js +0 -360
- package/dist/block.tk.bam-V27YBYQG.js +0 -1901
- package/dist/block.tk.bedgraphdot-QFJNEYKU.js +0 -379
- package/dist/block.tk.bigwig.ui-X77XUZLB.js +0 -206
- package/dist/block.tk.hicstraw-OCZXKJOV.js +0 -818
- package/dist/block.tk.junction-2KI3SPXW.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-G4OHYDVZ.js +0 -194
- package/dist/block.tk.ld-LM4A3V7Z.js +0 -94
- package/dist/block.tk.menu-GL6W3MKK.js +0 -1024
- package/dist/block.tk.pgv-T3YW5EGQ.js +0 -938
- package/dist/brainImaging-6WLB6DWG.js +0 -555
- package/dist/brainRegions-EVHXPPL5.js +0 -217
- package/dist/bubbleHeatmap-WZX7MLQF.js +0 -378
- package/dist/cellTypeBubbleHeatmap-3XY3U7EO.js +0 -278
- package/dist/chunk-26VFFI2G.js +0 -1278
- package/dist/chunk-2XOBD4ZZ.js +0 -102
- package/dist/chunk-4DXQJGJ7.js +0 -31
- package/dist/chunk-5UO7MKCO.js +0 -59
- package/dist/chunk-5UO7MKCO.js.map +0 -7
- package/dist/chunk-5X6CDEMT.js +0 -55
- package/dist/chunk-6BG5G6SC.js +0 -397
- package/dist/chunk-6EXPDXXV.js +0 -464
- package/dist/chunk-6EXPDXXV.js.map +0 -7
- package/dist/chunk-6KCG2NFA.js +0 -49
- package/dist/chunk-6KIZ3Q5X.js +0 -272
- package/dist/chunk-6MDL3FYD.js +0 -141
- package/dist/chunk-7CJKL3LK.js +0 -339
- package/dist/chunk-7T6G6BZF.js +0 -50
- package/dist/chunk-7WL4LROG.js +0 -1986
- package/dist/chunk-7WWTWWB7.js +0 -158
- package/dist/chunk-AEHBMP7F.js +0 -550
- package/dist/chunk-ANGLZ4XR.js +0 -26
- package/dist/chunk-B2XYBFGT.js +0 -299
- package/dist/chunk-BH55L7RJ.js +0 -480
- package/dist/chunk-BMQDU7KN.js +0 -38
- package/dist/chunk-BWE6BZK3.js +0 -240
- package/dist/chunk-BXM6PRTG.js +0 -274
- package/dist/chunk-CCYVGZGI.js +0 -178
- package/dist/chunk-DRKC4J62.js +0 -339
- package/dist/chunk-DX5WQOJU.js +0 -1339
- package/dist/chunk-E6FOW4UK.js +0 -562
- package/dist/chunk-EGKHDALO.js +0 -382
- package/dist/chunk-ESXQDVDP.js +0 -518
- package/dist/chunk-FIN6XVVG.js +0 -34
- package/dist/chunk-GH5EQCLQ.js +0 -379
- package/dist/chunk-GIBTGABW.js +0 -263
- package/dist/chunk-GJ6JKPEY.js +0 -626
- package/dist/chunk-GKB4YPSV.js +0 -14
- package/dist/chunk-GRVO7RW4.js +0 -2139
- package/dist/chunk-HZ3TCGBK.js +0 -402
- package/dist/chunk-IGJOH5LV.js +0 -276
- package/dist/chunk-IUT72AWA.js +0 -55
- package/dist/chunk-IYCSCSRS.js +0 -1720
- package/dist/chunk-IZUYLFOX.js +0 -1608
- package/dist/chunk-IZUYLFOX.js.map +0 -7
- package/dist/chunk-J2O74K2I.js +0 -129
- package/dist/chunk-JO5SX7RA.js +0 -176
- package/dist/chunk-JV5AGMUC.js +0 -123
- package/dist/chunk-KUHCBPKU.js +0 -446
- package/dist/chunk-L32KMIC3.js +0 -54
- package/dist/chunk-LWOWC4PF.js +0 -203
- package/dist/chunk-M3OUBH5W.js +0 -294
- package/dist/chunk-MZ6UOWXO.js +0 -2784
- package/dist/chunk-N7DVQTPC.js +0 -119
- package/dist/chunk-NQDF3U2C.js +0 -24607
- package/dist/chunk-NQDF3U2C.js.map +0 -7
- package/dist/chunk-P7EXGD5F.js +0 -281
- package/dist/chunk-QJQUSRGP.js +0 -134
- package/dist/chunk-RPKZLEY7.js +0 -170
- package/dist/chunk-RRGGHEA4.js +0 -783
- package/dist/chunk-S4XD4GGN.js +0 -6360
- package/dist/chunk-SKS6VDD4.js +0 -56
- package/dist/chunk-SPZQIZLJ.js +0 -70
- package/dist/chunk-SR35T6VI.js +0 -197
- package/dist/chunk-TEMNQTG3.js +0 -194
- package/dist/chunk-UG6RDT65.js +0 -5071
- package/dist/chunk-UO5AU7IW.js +0 -216
- package/dist/chunk-UTOWZWZ5.js +0 -243
- package/dist/chunk-V26BRUAV.js +0 -677
- package/dist/chunk-VRINIB6B.js +0 -1233
- package/dist/chunk-VVJMPICY.js +0 -217
- package/dist/chunk-VZKDGKCP.js +0 -103
- package/dist/chunk-WCAWZJ6M.js +0 -4311
- package/dist/chunk-WCAWZJ6M.js.map +0 -7
- package/dist/chunk-XCN3FKLF.js +0 -2676
- package/dist/chunk-XD2JMWMR.js +0 -54
- package/dist/chunk-XERHX42E.js +0 -98
- package/dist/chunk-XZXGNMNK.js +0 -2853
- package/dist/chunk-Y34GYPF6.js +0 -2327
- package/dist/chunk-YO5DWWBU.js +0 -102
- package/dist/chunk-Z4HZONN6.js +0 -302
- package/dist/cohort-ZLQA2KPW.js +0 -70
- package/dist/condition-SFZAHMKK.js +0 -327
- package/dist/controls-US3ID2ZR.js +0 -34
- package/dist/controls.config-Y7NGPB5K.js +0 -34
- package/dist/correlation-JD4FMZVF.js +0 -95
- package/dist/customdata.inputui-YUHO2ZSR.js +0 -284
- package/dist/dataDownload-4YQHUJQX.js +0 -329
- package/dist/databrowser.ui-4YE24U4B.js +0 -425
- package/dist/dictionary-LFOSXJGH.js +0 -113
- package/dist/dnaMethylation-2627GIZW.js +0 -33
- package/dist/dnaMethylation.integration.spec-HSZKXED3.js +0 -198
- package/dist/dofetch-7O5UTSGI.js +0 -48
- package/dist/e2pca-XL7F5BK3.js +0 -344
- package/dist/ep-35KADAYG.js +0 -1249
- package/dist/expclust.gdc.spec-TFJEXEAA.js +0 -302
- package/dist/facet-AWDU4CCU.js +0 -519
- package/dist/gb-UIBSH7KV.js +0 -81
- package/dist/geneExpClustering-VYZ5VDPL.js +0 -244
- package/dist/geneExpression-CNBSE3KW.js +0 -33
- package/dist/geneExpression-ECXW22H6.js +0 -310
- package/dist/geneExpression.unit.spec-SCBRU5BG.js +0 -128
- package/dist/geneORA-BQZ4XYJH.js +0 -273
- package/dist/geneRanking-GXRSXHIN.js +0 -548
- package/dist/geneVariant-Y7GASAY6.js +0 -36
- package/dist/geneVariant-ZVOUFF27.js +0 -286
- package/dist/geneVariant.integration.spec-2ATUV7NH.js +0 -489
- package/dist/genefusion.ui-CEMLY7HG.js +0 -303
- package/dist/geneset-HMADFO7Z.js +0 -203
- package/dist/genomeBrowser.spec-3U6KE3MK.js +0 -276
- package/dist/grin2-AJAXI4O4.js +0 -1137
- package/dist/grin2-CFAOAHY3.js +0 -70
- package/dist/hierCluster-JUJ7C7TQ.js +0 -59
- package/dist/hierCluster-N6B4L6FW.js +0 -55
- package/dist/hierCluster.config-RSSBKO6G.js +0 -36
- package/dist/hierCluster.integration.spec-YC6B3ID2.js +0 -483
- package/dist/hierCluster.interactivity-PRIWN65K.js +0 -49
- package/dist/hierCluster.renderers-3RHXOHZ5.js +0 -19
- package/dist/imagePlot-DSG4WJOG.js +0 -156
- package/dist/importPlot-QSWJBDWH.js +0 -8
- package/dist/isoformExpression-XWLMWXEK.js +0 -35
- package/dist/isoformExpression.unit.spec-T7VN2WPK.js +0 -237
- package/dist/junction-AUXJROOE.js +0 -36
- package/dist/junction.customTerm-FRYWSS4P.js +0 -16
- package/dist/junction.unit.spec-ODVQMDI5.js +0 -182
- package/dist/launch.adhoc-TNONPG6R.js +0 -37
- package/dist/leftlabel.sample-5VFAMSH5.js +0 -258
- package/dist/lollipop-NEDFCNJJ.js +0 -166
- package/dist/maf-2GO7PDOL.js +0 -455
- package/dist/maftimeline-UMVQGIXA.js +0 -587
- package/dist/matrix-74JSSVR5.js +0 -59
- package/dist/matrix-YARPFYCU.js +0 -54
- package/dist/matrix.cells-WYCIMZRW.js +0 -26
- package/dist/matrix.config-5SNEP3B4.js +0 -37
- package/dist/matrix.data-3H4GFMQK.js +0 -23
- package/dist/matrix.groups-FGLRK6IT.js +0 -26
- package/dist/matrix.integration.spec-4DQIRQQO.js +0 -3160
- package/dist/matrix.interactivity-GSV45F2N.js +0 -37
- package/dist/matrix.layout-BMH4V36B.js +0 -39
- package/dist/matrix.legend-5OVHDE6Q.js +0 -20
- package/dist/matrix.renderers-DENF4NZ6.js +0 -34
- package/dist/matrix.serieses-D7XPW5L4.js +0 -19
- package/dist/matrix.sort-XQEOXSEG.js +0 -26
- package/dist/matrix.sort.unit.spec-HGII2SCC.js +0 -468
- package/dist/matrix.sorterUi-J6PRUT6J.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-TNRATMUJ.js +0 -338
- package/dist/matrix.unit.spec-LBMDCANX.js +0 -150
- package/dist/mavb-UQFSJN4W.js +0 -727
- package/dist/mds.fimo-TXHCH6LW.js +0 -513
- package/dist/mds.samplescatterplot-G6IJO3I7.js +0 -1545
- package/dist/mds.survivalplot-XFB2EL23.js +0 -477
- package/dist/multivalue-GLE6G3ZO.js +0 -83
- package/dist/numericDictTermCluster-YTAMQDWZ.js +0 -63
- package/dist/oncomatrix-P6QVGFAR.js +0 -290
- package/dist/oncomatrix.spec-O6U52E22.js +0 -443
- package/dist/plot.2dvaf-VZL4SH6G.js +0 -372
- package/dist/plot.app-VYMIF4VU.js +0 -36
- package/dist/plot.barplot-I6S266DG.js +0 -97
- package/dist/plot.boxplot-3CHI4AA2.js +0 -146
- package/dist/plot.brainImaging-LRQYKMLQ.js +0 -51
- package/dist/plot.disco-NCTBMD2W.js +0 -99
- package/dist/plot.ssgq-CL3TGZ55.js +0 -134
- package/dist/plot.vaf2cov-5RG3OD6G.js +0 -253
- package/dist/polar2-ABI2UJNC.js +0 -232
- package/dist/profileForms-Z4Y55OQY.js +0 -941
- package/dist/profilePlot-LMDZVOJK.js +0 -49
- package/dist/proteinView-UYMM76WH.js +0 -1357
- package/dist/proteomeCohortCompare-5GFBARC5.js +0 -912
- package/dist/pseudbulk.unit.spec-JJ2I4KPM.js +0 -106
- package/dist/pseudobulk-Y7HWDLIV.js +0 -37
- package/dist/qualitative-H72GEWTZ.js +0 -38
- package/dist/radar2-OXUS5DLT.js +0 -327
- package/dist/radarFacility2-VOUNCM6A.js +0 -335
- package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +0 -211
- package/dist/render-KDLTAQVA.js +0 -33
- package/dist/report-PBRD2KBN.js +0 -217
- package/dist/sampleView-7HWFZCHE.js +0 -43
- package/dist/samplelst-3ZWV4XZQ.js +0 -106
- package/dist/samplematrix-YRJUNYQ6.js +0 -2193
- package/dist/sc-N4YM3GZI.js +0 -81
- package/dist/scatter-KBY6VF76.js +0 -88
- package/dist/scatter-TBGEXELG.js +0 -880
- package/dist/scatter-TBGEXELG.js.map +0 -7
- package/dist/selectGenomeWithTklst-25WQQ42Y.js +0 -129
- package/dist/singleCellCellType-35TDG2YM.js +0 -33
- package/dist/singleCellCellType.unit.spec-G5AVNAUK.js +0 -154
- package/dist/singleCellGeneExpression-7AHJYFWJ.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-LGZMOVTB.js +0 -148
- package/dist/singleCellPlot-AU5K4M7J.js +0 -49
- package/dist/singlecell-HNTYJLJ4.js +0 -81
- package/dist/singlecell-J4FIZPZF.js +0 -1566
- package/dist/snp-OXDVSFGB.js +0 -33
- package/dist/snp.unit.spec-B7LCCGWA.js +0 -171
- package/dist/snplocus-4VWXVQGS.js +0 -203
- package/dist/spliceevent.a53ss.diagram-YS32IFVI.js +0 -146
- package/dist/spliceevent.exonskip.diagram-PHFR53DH.js +0 -278
- package/dist/spliceevent.noeventdiagram-FFHMDEBQ.js +0 -455
- package/dist/ssGSEA-OYEIDW4M.js +0 -33
- package/dist/ssGSEA.unit.spec-SY5XFF45.js +0 -83
- package/dist/stattable-JCH2WPS6.js +0 -117
- package/dist/studyCatalog-FDB7D26M.js +0 -414
- package/dist/summarizeCnvGeneexp-KNW23YAI.js +0 -158
- package/dist/summarizeGeneexpSurvival-H57GGCXL.js +0 -105
- package/dist/summarizeMutationCnv-RBBDE27N.js +0 -159
- package/dist/summarizeMutationDiagnosis-R6YWQ4LQ.js +0 -35
- package/dist/summarizeMutationSurvival-Q6WKBNPD.js +0 -99
- package/dist/summary-AL3GEK3G.js +0 -42
- package/dist/summary.integration.spec-IFGDIEMW.js +0 -409
- package/dist/summaryInput-TYIKTBO3.js +0 -242
- package/dist/sunburst-4PA3CO44.js +0 -278
- package/dist/survival-GT4CSHX2.js +0 -53
- package/dist/survival-HXJCMNCG.js +0 -1248
- package/dist/survival.integration.spec-C7OJC4AG.js +0 -613
- package/dist/survival.integration.spec-C7OJC4AG.js.map +0 -7
- package/dist/svgraph-MZCOBO4J.js +0 -1382
- package/dist/svmr-FQPAAQHB.js +0 -3837
- package/dist/table-FKLXVILD.js +0 -197
- package/dist/termCollection-QDGR6J36.js +0 -33
- package/dist/termCollection-Y7CIC6GQ.js +0 -252
- package/dist/termCollection.unit.spec-PQMFOWLF.js +0 -299
- package/dist/termCollectionFractionSelection-2O32HROA.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-WXGCO2RF.js +0 -188
- package/dist/tk-IBYM4FZC.js +0 -41
- package/dist/tk-QJNN6WK2.js +0 -1121
- package/dist/tp.ui-RI7S54LI.js +0 -1454
- package/dist/tvs.dt-7CIYMLQF.js +0 -34
- package/dist/tvs.dtcnv.categorical-D3W6R6BM.js +0 -35
- package/dist/tvs.dtcnv.continuous-4WS2TN3K.js +0 -67
- package/dist/tvs.dtfusion-NUUFIGG4.js +0 -35
- package/dist/tvs.dtitd-UCSEWRNJ.js +0 -35
- package/dist/tvs.dtsnvindel-J4S7KU3Y.js +0 -35
- package/dist/tvs.dtsv-4OPYIWB6.js +0 -35
- package/dist/tvs.samplelst-RUZYZ2FF.js +0 -98
- package/dist/tvs.termCollection-D5X2HNWO.js +0 -124
- package/dist/vocabulary-4L3RHQFQ.js +0 -36
- package/dist/wsi.direct-FNCUUBEJ.js +0 -8343
- /package/dist/{2dmaf-5JKVMAPO.js.map → 2dmaf-32F56QBJ.js.map} +0 -0
- /package/dist/{AggMatrixInput-254IEQYB.js.map → AggMatrixInput-RDFMGV47.js.map} +0 -0
- /package/dist/{AggregateMatrix-U3NZSNL6.js.map → AggregateMatrix-TPXNNWVD.js.map} +0 -0
- /package/dist/{AppHeader-DK2GIYYT.js.map → AppHeader-SEJXDJE3.js.map} +0 -0
- /package/dist/{BoxPlot-POSL2ZLS.js.map → BoxPlot-LOAO2MDO.js.map} +0 -0
- /package/dist/{CorrelationVolcano-YZ6ACP5D.js.map → CorrelationVolcano-AU6ZAFPG.js.map} +0 -0
- /package/dist/{Cuminc-SJVFK4VX.js.map → Cuminc-O533BXFY.js.map} +0 -0
- /package/dist/{DE-RJMZGJ5Y.js.map → DE-FDAUNOWU.js.map} +0 -0
- /package/dist/{DEinput-H25PS4QT.js.map → DEinput-TF2VYTIJ.js.map} +0 -0
- /package/dist/{DM-A3UCF7HM.js.map → DM-42YN3OEO.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-4J75UMV7.js.map → DifferentialAnalysis-H5NBPR3P.js.map} +0 -0
- /package/dist/{Disco-IXGGKIEI.js.map → Disco-FGFHIKUR.js.map} +0 -0
- /package/dist/{Disco.UI-X3JG4ERN.js.map → Disco.UI-YGIU2JPM.js.map} +0 -0
- /package/dist/{DmrPlot-SJWHTSMB.js.map → DmrPlot-EQFXMAW5.js.map} +0 -0
- /package/dist/{GB-KPF7BZFQ.js.map → GB-244UT5VU.js.map} +0 -0
- /package/dist/{GSEA-BMVTJ6B7.js.map → GSEA-KXQBR3HH.js.map} +0 -0
- /package/dist/{GeneExpInput-3KFGQEAY.js.map → GeneExpInput-ZY6SHXTX.js.map} +0 -0
- /package/dist/{Geomap-R7Q3T3DZ.js.map → Geomap-6ZV4AM23.js.map} +0 -0
- /package/dist/{HicApp-BTFHMXQE.js.map → HicApp-4UHX2YGP.js.map} +0 -0
- /package/dist/{IDCViewer-RVVWT7MH.js.map → IDCViewer-AB6LLO64.js.map} +0 -0
- /package/dist/{NumBinaryEditor-V3YCDNRR.js.map → NumBinaryEditor-CGSO2T4L.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-IVY27SEV.js.map → NumBinaryEditor.unit.spec-3QHARZQJ.js.map} +0 -0
- /package/dist/{NumContEditor-FSHA32UV.js.map → NumContEditor-YLKSC4Y2.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-5IFB4GXP.js.map → NumContEditor.unit.spec-L3GC3ZTJ.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-63YQZU52.js.map → NumCustomBinEditor-K3XSFHCC.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-BJLGQQ4R.js.map → NumCustomBinEditor.unit.spec-2FUHE6BX.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-K4AZ6UQF.js.map → NumDiscreteEditor-RJCSIW4R.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-AHL7QA4N.js.map → NumDiscreteEditor.unit.spec-CUA6BOIS.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-5N3PWOIQ.js.map → NumRegularBinEditor-C3VIFDS4.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-SYPTBY5A.js.map → NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map} +0 -0
- /package/dist/{NumSplineEditor-ZLB5MWYK.js.map → NumSplineEditor-XBE7OV7P.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-ZLAVLV7E.js.map → NumSplineEditor.unit.spec-CKRRI4US.js.map} +0 -0
- /package/dist/{NumericDensity-K4CTMN2G.js.map → NumericDensity-ZL7UY7TL.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-BLWEQHZC.js.map → NumericDensity.unit.spec-CWTMSR56.js.map} +0 -0
- /package/dist/{NumericHandler-3KACLCOL.js.map → NumericHandler-56ENFMNK.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-4P7HBSCB.js.map → NumericHandler.unit.spec-3YW34TTJ.js.map} +0 -0
- /package/dist/{ProteomeInput-JZ6MKE7L.js.map → ProteomeInput-HIS4GYWH.js.map} +0 -0
- /package/dist/{Regression-QBR2VYHT.js.map → Regression-C5GZYLEN.js.map} +0 -0
- /package/dist/{RunChart2-UKN6M5M5.js.map → RunChart2-X5WKYLPQ.js.map} +0 -0
- /package/dist/{SC-COHN7DMJ.js.map → SC-3Y5J65DT.js.map} +0 -0
- /package/dist/{Violin-SDUSKIEX.js.map → Violin-F3QS2EMJ.js.map} +0 -0
- /package/dist/{Volcano-KON4MOIM.js.map → Volcano-ZNYDKP2O.js.map} +0 -0
- /package/dist/{Wsi-SJC56PRR.js.map → Wsi-B6EIGTI2.js.map} +0 -0
- /package/dist/{adSandbox-L6ZHCJJO.js.map → adSandbox-A52OQSOW.js.map} +0 -0
- /package/dist/{animatedBubbleChart-IQBJBHPP.js.map → animatedBubbleChart-OQOZ3WFK.js.map} +0 -0
- /package/dist/{app-2NSQK3GQ.js.map → app-4KIKXQX4.js.map} +0 -0
- /package/dist/{app-GMYTOBRB.js.map → app-NZUNKWKK.js.map} +0 -0
- /package/dist/{bam-B4ZPOZTX.js.map → bam-SME7YD3E.js.map} +0 -0
- /package/dist/{barchart-WF5VWDCV.js.map → barchart-ESY6FOS4.js.map} +0 -0
- /package/dist/{barchart2-3HGZ5Q2B.js.map → barchart2-XEJZGCES.js.map} +0 -0
- /package/dist/{block-A3I2INBA.js.map → block-747IK2EW.js.map} +0 -0
- /package/dist/{block.init-YUHPWTMF.js.map → block.init-ITZ42K43.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-TGAZQTVW.js.map → block.mds.expressionrank-Q63IJAJK.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-GPIQWNWB.js.map → block.mds.geneboxplot-EZIKAIKC.js.map} +0 -0
- /package/dist/{block.mds.junction-YREJCNYJ.js.map → block.mds.junction-TJXFKZ2Q.js.map} +0 -0
- /package/dist/{block.mds.svcnv-2ZDNI2XE.js.map → block.mds.svcnv-WSIEAII6.js.map} +0 -0
- /package/dist/{block.svg-2BRKZJAO.js.map → block.svg-CQX5W6R4.js.map} +0 -0
- /package/dist/{block.tk.aicheck-ZDTQFF7Q.js.map → block.tk.aicheck-J4MQ4BSD.js.map} +0 -0
- /package/dist/{block.tk.ase-JAIOSXZO.js.map → block.tk.ase-2JFNPWCZ.js.map} +0 -0
- /package/dist/{block.tk.bam-V27YBYQG.js.map → block.tk.bam-RBQ4AXSQ.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-QFJNEYKU.js.map → block.tk.bedgraphdot-ZQBOMVTO.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-X77XUZLB.js.map → block.tk.bigwig.ui-U5IBO3VF.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-OCZXKJOV.js.map → block.tk.hicstraw-ZRZMFLLX.js.map} +0 -0
- /package/dist/{block.tk.junction-2KI3SPXW.js.map → block.tk.junction-7U7ABE4O.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-G4OHYDVZ.js.map → block.tk.junction.textmatrixui-AEXZ7W3U.js.map} +0 -0
- /package/dist/{block.tk.ld-LM4A3V7Z.js.map → block.tk.ld-E7WPFL5P.js.map} +0 -0
- /package/dist/{block.tk.menu-GL6W3MKK.js.map → block.tk.menu-AITMEZTZ.js.map} +0 -0
- /package/dist/{block.tk.pgv-T3YW5EGQ.js.map → block.tk.pgv-EDPZHI5L.js.map} +0 -0
- /package/dist/{brainImaging-6WLB6DWG.js.map → brainImaging-35LPNBDR.js.map} +0 -0
- /package/dist/{brainRegions-EVHXPPL5.js.map → brainRegions-JMTQT4X3.js.map} +0 -0
- /package/dist/{bubbleHeatmap-WZX7MLQF.js.map → bubbleHeatmap-FMBKMDUL.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-3XY3U7EO.js.map → cellTypeBubbleHeatmap-ZPTAGEWW.js.map} +0 -0
- /package/dist/{chunk-J2O74K2I.js.map → chunk-2GBG3KA7.js.map} +0 -0
- /package/dist/{chunk-Z4HZONN6.js.map → chunk-2IVN5DWA.js.map} +0 -0
- /package/dist/{chunk-TEMNQTG3.js.map → chunk-36AAUYZE.js.map} +0 -0
- /package/dist/{chunk-XD2JMWMR.js.map → chunk-3K7AYA3M.js.map} +0 -0
- /package/dist/{chunk-E6FOW4UK.js.map → chunk-4KJSNR5E.js.map} +0 -0
- /package/dist/{chunk-GRVO7RW4.js.map → chunk-52QHIKH2.js.map} +0 -0
- /package/dist/{chunk-S4XD4GGN.js.map → chunk-5ALGKNTQ.js.map} +0 -0
- /package/dist/{chunk-BH55L7RJ.js.map → chunk-5JCTTSV4.js.map} +0 -0
- /package/dist/{chunk-ANGLZ4XR.js.map → chunk-5W7K7STT.js.map} +0 -0
- /package/dist/{chunk-V26BRUAV.js.map → chunk-6CIGRV5K.js.map} +0 -0
- /package/dist/{chunk-JO5SX7RA.js.map → chunk-6U2OPC6J.js.map} +0 -0
- /package/dist/{chunk-EGKHDALO.js.map → chunk-7AHTS4BP.js.map} +0 -0
- /package/dist/{chunk-IUT72AWA.js.map → chunk-7HFAEB3C.js.map} +0 -0
- /package/dist/{chunk-XERHX42E.js.map → chunk-7HGZRJZZ.js.map} +0 -0
- /package/dist/{chunk-7CJKL3LK.js.map → chunk-A2ORIMUJ.js.map} +0 -0
- /package/dist/{chunk-VRINIB6B.js.map → chunk-A32SGNCT.js.map} +0 -0
- /package/dist/{chunk-VVJMPICY.js.map → chunk-AKA6RWLC.js.map} +0 -0
- /package/dist/{chunk-BWE6BZK3.js.map → chunk-AMVZ6KT5.js.map} +0 -0
- /package/dist/{chunk-L32KMIC3.js.map → chunk-ASXUC6SM.js.map} +0 -0
- /package/dist/{chunk-GH5EQCLQ.js.map → chunk-BCO5T43J.js.map} +0 -0
- /package/dist/{chunk-RRGGHEA4.js.map → chunk-BDQPMVKD.js.map} +0 -0
- /package/dist/{chunk-BXM6PRTG.js.map → chunk-BOQZOLRA.js.map} +0 -0
- /package/dist/{chunk-UG6RDT65.js.map → chunk-BSCMVKBP.js.map} +0 -0
- /package/dist/{chunk-N7DVQTPC.js.map → chunk-BZN2O76M.js.map} +0 -0
- /package/dist/{chunk-FIN6XVVG.js.map → chunk-BZZZQFTI.js.map} +0 -0
- /package/dist/{chunk-6KIZ3Q5X.js.map → chunk-CRHGXVUQ.js.map} +0 -0
- /package/dist/{chunk-UO5AU7IW.js.map → chunk-D6AB63O3.js.map} +0 -0
- /package/dist/{chunk-GJ6JKPEY.js.map → chunk-DPQP2GUW.js.map} +0 -0
- /package/dist/{chunk-IGJOH5LV.js.map → chunk-EKQ7NYOU.js.map} +0 -0
- /package/dist/{chunk-6MDL3FYD.js.map → chunk-EUQEQOFE.js.map} +0 -0
- /package/dist/{chunk-P7EXGD5F.js.map → chunk-FKA55PHV.js.map} +0 -0
- /package/dist/{chunk-6BG5G6SC.js.map → chunk-GVLWCGXX.js.map} +0 -0
- /package/dist/{chunk-ESXQDVDP.js.map → chunk-HLVWCJRO.js.map} +0 -0
- /package/dist/{chunk-CCYVGZGI.js.map → chunk-HPAW7XDM.js.map} +0 -0
- /package/dist/{chunk-JV5AGMUC.js.map → chunk-IV57XNTG.js.map} +0 -0
- /package/dist/{chunk-UTOWZWZ5.js.map → chunk-JMAFJKGG.js.map} +0 -0
- /package/dist/{chunk-XCN3FKLF.js.map → chunk-JZHRVYNS.js.map} +0 -0
- /package/dist/{chunk-5X6CDEMT.js.map → chunk-K6YUMBDY.js.map} +0 -0
- /package/dist/{chunk-7WWTWWB7.js.map → chunk-L6WNBKYN.js.map} +0 -0
- /package/dist/{chunk-XZXGNMNK.js.map → chunk-LGR6CJTW.js.map} +0 -0
- /package/dist/{chunk-AEHBMP7F.js.map → chunk-LOWJQFCC.js.map} +0 -0
- /package/dist/{chunk-Y34GYPF6.js.map → chunk-M5SYLBBC.js.map} +0 -0
- /package/dist/{chunk-QJQUSRGP.js.map → chunk-OIJ6GRVS.js.map} +0 -0
- /package/dist/{chunk-LWOWC4PF.js.map → chunk-ONVIVITY.js.map} +0 -0
- /package/dist/{chunk-SKS6VDD4.js.map → chunk-OQX3HO46.js.map} +0 -0
- /package/dist/{chunk-4DXQJGJ7.js.map → chunk-OYLGAFFY.js.map} +0 -0
- /package/dist/{chunk-SR35T6VI.js.map → chunk-P7DIIYCX.js.map} +0 -0
- /package/dist/{chunk-7T6G6BZF.js.map → chunk-PGKOJYV6.js.map} +0 -0
- /package/dist/{chunk-HZ3TCGBK.js.map → chunk-PPSWNLMG.js.map} +0 -0
- /package/dist/{chunk-GIBTGABW.js.map → chunk-R624P2GE.js.map} +0 -0
- /package/dist/{chunk-KUHCBPKU.js.map → chunk-RBSAEAQV.js.map} +0 -0
- /package/dist/{chunk-DRKC4J62.js.map → chunk-RZ3KEFZ2.js.map} +0 -0
- /package/dist/{chunk-VZKDGKCP.js.map → chunk-SS66BHGA.js.map} +0 -0
- /package/dist/{chunk-M3OUBH5W.js.map → chunk-SU63FEY6.js.map} +0 -0
- /package/dist/{chunk-YO5DWWBU.js.map → chunk-SVC65ZPG.js.map} +0 -0
- /package/dist/{chunk-2XOBD4ZZ.js.map → chunk-TG3QBMDK.js.map} +0 -0
- /package/dist/{chunk-26VFFI2G.js.map → chunk-TMXW5HVE.js.map} +0 -0
- /package/dist/{chunk-DX5WQOJU.js.map → chunk-TPDBOH3A.js.map} +0 -0
- /package/dist/{chunk-IYCSCSRS.js.map → chunk-U5RWKZVS.js.map} +0 -0
- /package/dist/{chunk-7WL4LROG.js.map → chunk-UYKZ5HXA.js.map} +0 -0
- /package/dist/{chunk-SPZQIZLJ.js.map → chunk-VOYUJJQ6.js.map} +0 -0
- /package/dist/{chunk-BMQDU7KN.js.map → chunk-W4RYRU5D.js.map} +0 -0
- /package/dist/{chunk-MZ6UOWXO.js.map → chunk-WFSMIVJT.js.map} +0 -0
- /package/dist/{chunk-B2XYBFGT.js.map → chunk-Y4PX2ECH.js.map} +0 -0
- /package/dist/{chunk-RPKZLEY7.js.map → chunk-YKM46UX5.js.map} +0 -0
- /package/dist/{chunk-GKB4YPSV.js.map → chunk-Z7AO6A7M.js.map} +0 -0
- /package/dist/{chunk-6KCG2NFA.js.map → chunk-ZENZ5H2Q.js.map} +0 -0
- /package/dist/{cohort-ZLQA2KPW.js.map → cohort-Q7TW5XTY.js.map} +0 -0
- /package/dist/{condition-SFZAHMKK.js.map → condition-H6LBUHIF.js.map} +0 -0
- /package/dist/{controls-US3ID2ZR.js.map → controls-DWDKFDXY.js.map} +0 -0
- /package/dist/{controls.config-Y7NGPB5K.js.map → controls.config-KF7PHZSG.js.map} +0 -0
- /package/dist/{correlation-JD4FMZVF.js.map → correlation-YMSARIER.js.map} +0 -0
- /package/dist/{customdata.inputui-YUHO2ZSR.js.map → customdata.inputui-KEFE7ZHS.js.map} +0 -0
- /package/dist/{dataDownload-4YQHUJQX.js.map → dataDownload-G7TGPFGL.js.map} +0 -0
- /package/dist/{databrowser.ui-4YE24U4B.js.map → databrowser.ui-NFIIFQJZ.js.map} +0 -0
- /package/dist/{dictionary-LFOSXJGH.js.map → dictionary-ERJQMALC.js.map} +0 -0
- /package/dist/{dnaMethylation-2627GIZW.js.map → dnaMethylation-KVCXKAU3.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-HSZKXED3.js.map → dnaMethylation.integration.spec-3NXGGG4J.js.map} +0 -0
- /package/dist/{dofetch-7O5UTSGI.js.map → dofetch-YRWLEQEH.js.map} +0 -0
- /package/dist/{e2pca-XL7F5BK3.js.map → e2pca-M2F2CI6I.js.map} +0 -0
- /package/dist/{ep-35KADAYG.js.map → ep-QAEG4RV4.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-TFJEXEAA.js.map → expclust.gdc.spec-P77T6JR2.js.map} +0 -0
- /package/dist/{facet-AWDU4CCU.js.map → facet-LJTSTASE.js.map} +0 -0
- /package/dist/{gb-UIBSH7KV.js.map → gb-KSB2DQHH.js.map} +0 -0
- /package/dist/{geneExpClustering-VYZ5VDPL.js.map → geneExpClustering-KHDCPE65.js.map} +0 -0
- /package/dist/{geneExpression-ECXW22H6.js.map → geneExpression-AWWMOUAR.js.map} +0 -0
- /package/dist/{geneExpression-CNBSE3KW.js.map → geneExpression-Z2EDR6EN.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-SCBRU5BG.js.map → geneExpression.unit.spec-WB2ESPKT.js.map} +0 -0
- /package/dist/{geneORA-BQZ4XYJH.js.map → geneORA-NGZTMFSJ.js.map} +0 -0
- /package/dist/{geneRanking-GXRSXHIN.js.map → geneRanking-AYNBGFKU.js.map} +0 -0
- /package/dist/{geneVariant-Y7GASAY6.js.map → geneVariant-AL64NDHH.js.map} +0 -0
- /package/dist/{geneVariant-ZVOUFF27.js.map → geneVariant-QMKR3LUV.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-2ATUV7NH.js.map → geneVariant.integration.spec-N3U5CIRT.js.map} +0 -0
- /package/dist/{genefusion.ui-CEMLY7HG.js.map → genefusion.ui-IWJMF2BM.js.map} +0 -0
- /package/dist/{geneset-HMADFO7Z.js.map → geneset-APCO4BRX.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-3U6KE3MK.js.map → genomeBrowser.spec-JTCVUTO5.js.map} +0 -0
- /package/dist/{grin2-CFAOAHY3.js.map → grin2-FVX6AIST.js.map} +0 -0
- /package/dist/{grin2-AJAXI4O4.js.map → grin2-LF46UKFY.js.map} +0 -0
- /package/dist/{hierCluster-JUJ7C7TQ.js.map → hierCluster-4DRHXD6W.js.map} +0 -0
- /package/dist/{hierCluster-N6B4L6FW.js.map → hierCluster-SFRQK3PS.js.map} +0 -0
- /package/dist/{hierCluster.config-RSSBKO6G.js.map → hierCluster.config-G2TFGBYF.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-YC6B3ID2.js.map → hierCluster.integration.spec-ZUZKCG6A.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-PRIWN65K.js.map → hierCluster.interactivity-LQA6J56H.js.map} +0 -0
- /package/dist/{hierCluster.renderers-3RHXOHZ5.js.map → hierCluster.renderers-TZZJEVFO.js.map} +0 -0
- /package/dist/{imagePlot-DSG4WJOG.js.map → imagePlot-OUHFWYKT.js.map} +0 -0
- /package/dist/{importPlot-QSWJBDWH.js.map → importPlot-7V456QK7.js.map} +0 -0
- /package/dist/{isoformExpression-XWLMWXEK.js.map → isoformExpression-NGUJJ6VI.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-T7VN2WPK.js.map → isoformExpression.unit.spec-DCRPXPBY.js.map} +0 -0
- /package/dist/{junction-AUXJROOE.js.map → junction-QYKLNXIW.js.map} +0 -0
- /package/dist/{junction.customTerm-FRYWSS4P.js.map → junction.customTerm-EHOOBR4V.js.map} +0 -0
- /package/dist/{junction.unit.spec-ODVQMDI5.js.map → junction.unit.spec-LDNY7OFK.js.map} +0 -0
- /package/dist/{launch.adhoc-TNONPG6R.js.map → launch.adhoc-FF7B3UG6.js.map} +0 -0
- /package/dist/{leftlabel.sample-5VFAMSH5.js.map → leftlabel.sample-BTHMKLGF.js.map} +0 -0
- /package/dist/{lollipop-NEDFCNJJ.js.map → lollipop-H3UCNMHN.js.map} +0 -0
- /package/dist/{maf-2GO7PDOL.js.map → maf-KWGUTPKO.js.map} +0 -0
- /package/dist/{maftimeline-UMVQGIXA.js.map → maftimeline-UD5VE4UW.js.map} +0 -0
- /package/dist/{matrix-74JSSVR5.js.map → matrix-DLCX6GOO.js.map} +0 -0
- /package/dist/{matrix-YARPFYCU.js.map → matrix-TIV42IQB.js.map} +0 -0
- /package/dist/{matrix.cells-WYCIMZRW.js.map → matrix.cells-J3QZ7C6U.js.map} +0 -0
- /package/dist/{matrix.config-5SNEP3B4.js.map → matrix.config-VNMS6B7J.js.map} +0 -0
- /package/dist/{matrix.data-3H4GFMQK.js.map → matrix.data-PIE3TLKD.js.map} +0 -0
- /package/dist/{matrix.groups-FGLRK6IT.js.map → matrix.groups-URBU775S.js.map} +0 -0
- /package/dist/{matrix.integration.spec-4DQIRQQO.js.map → matrix.integration.spec-LC6YMEKP.js.map} +0 -0
- /package/dist/{matrix.interactivity-GSV45F2N.js.map → matrix.interactivity-W5AFOAQN.js.map} +0 -0
- /package/dist/{matrix.layout-BMH4V36B.js.map → matrix.layout-LU3NIJAL.js.map} +0 -0
- /package/dist/{matrix.legend-5OVHDE6Q.js.map → matrix.legend-LTP6ETZO.js.map} +0 -0
- /package/dist/{matrix.renderers-DENF4NZ6.js.map → matrix.renderers-762XI65L.js.map} +0 -0
- /package/dist/{matrix.serieses-D7XPW5L4.js.map → matrix.serieses-FHDBRPZA.js.map} +0 -0
- /package/dist/{matrix.sort-XQEOXSEG.js.map → matrix.sort-Q6A6UWMY.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-HGII2SCC.js.map → matrix.sort.unit.spec-CTCOPKVS.js.map} +0 -0
- /package/dist/{matrix.sorterUi-J6PRUT6J.js.map → matrix.sorterUi-4M5AU5EL.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-TNRATMUJ.js.map → matrix.sorterUi.unit.spec-Y7GC3PM5.js.map} +0 -0
- /package/dist/{matrix.unit.spec-LBMDCANX.js.map → matrix.unit.spec-DROPHFTM.js.map} +0 -0
- /package/dist/{mavb-UQFSJN4W.js.map → mavb-BWA73N3U.js.map} +0 -0
- /package/dist/{mds.fimo-TXHCH6LW.js.map → mds.fimo-3UJWIH2J.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-G6IJO3I7.js.map → mds.samplescatterplot-EUS7DCSQ.js.map} +0 -0
- /package/dist/{mds.survivalplot-XFB2EL23.js.map → mds.survivalplot-77UEBQIC.js.map} +0 -0
- /package/dist/{multivalue-GLE6G3ZO.js.map → multivalue-KZ2DMVIR.js.map} +0 -0
- /package/dist/{numericDictTermCluster-YTAMQDWZ.js.map → numericDictTermCluster-C2MYJYPZ.js.map} +0 -0
- /package/dist/{oncomatrix-P6QVGFAR.js.map → oncomatrix-6LGB3M7R.js.map} +0 -0
- /package/dist/{oncomatrix.spec-O6U52E22.js.map → oncomatrix.spec-UWMSLOHW.js.map} +0 -0
- /package/dist/{plot.2dvaf-VZL4SH6G.js.map → plot.2dvaf-LZAVWH65.js.map} +0 -0
- /package/dist/{plot.app-VYMIF4VU.js.map → plot.app-OEWE3AYV.js.map} +0 -0
- /package/dist/{plot.barplot-I6S266DG.js.map → plot.barplot-VIBHGTUT.js.map} +0 -0
- /package/dist/{plot.boxplot-3CHI4AA2.js.map → plot.boxplot-NQI3PSKR.js.map} +0 -0
- /package/dist/{plot.brainImaging-LRQYKMLQ.js.map → plot.brainImaging-3MTTCZHI.js.map} +0 -0
- /package/dist/{plot.disco-NCTBMD2W.js.map → plot.disco-HODBY7SO.js.map} +0 -0
- /package/dist/{plot.ssgq-CL3TGZ55.js.map → plot.ssgq-4URQE673.js.map} +0 -0
- /package/dist/{plot.vaf2cov-5RG3OD6G.js.map → plot.vaf2cov-QIJNEKCK.js.map} +0 -0
- /package/dist/{polar2-ABI2UJNC.js.map → polar2-GVFQNSLK.js.map} +0 -0
- /package/dist/{profileForms-Z4Y55OQY.js.map → profileForms-Z22CJXI4.js.map} +0 -0
- /package/dist/{profilePlot-LMDZVOJK.js.map → profilePlot-IVQZBSID.js.map} +0 -0
- /package/dist/{proteinView-UYMM76WH.js.map → proteinView-AUK634AU.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-5GFBARC5.js.map → proteomeCohortCompare-7G2F35H5.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-JJ2I4KPM.js.map → pseudbulk.unit.spec-JDKUQUCM.js.map} +0 -0
- /package/dist/{pseudobulk-Y7HWDLIV.js.map → pseudobulk-QTCUSH5I.js.map} +0 -0
- /package/dist/{qualitative-H72GEWTZ.js.map → qualitative-7ST7SSBT.js.map} +0 -0
- /package/dist/{radar2-OXUS5DLT.js.map → radar2-CEE6SNBS.js.map} +0 -0
- /package/dist/{radarFacility2-VOUNCM6A.js.map → radarFacility2-OSKDYIK7.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-N43O4YTF.js.map → rememberedGvQ.unit.spec-RYFUJ2NW.js.map} +0 -0
- /package/dist/{render-KDLTAQVA.js.map → render-MAD3WMVD.js.map} +0 -0
- /package/dist/{report-PBRD2KBN.js.map → report-6JXJVSEB.js.map} +0 -0
- /package/dist/{sampleView-7HWFZCHE.js.map → sampleView-SG3QYZKQ.js.map} +0 -0
- /package/dist/{samplelst-3ZWV4XZQ.js.map → samplelst-R765UFP6.js.map} +0 -0
- /package/dist/{samplematrix-YRJUNYQ6.js.map → samplematrix-EBJYE5SM.js.map} +0 -0
- /package/dist/{sc-N4YM3GZI.js.map → sc-7ZXPFDHD.js.map} +0 -0
- /package/dist/{scatter-KBY6VF76.js.map → scatter-3GUL4KF3.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-25WQQ42Y.js.map → selectGenomeWithTklst-K4YXGJYG.js.map} +0 -0
- /package/dist/{singleCellCellType-35TDG2YM.js.map → singleCellCellType-TU5VTPLP.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-G5AVNAUK.js.map → singleCellCellType.unit.spec-IRITQIGT.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-7AHJYFWJ.js.map → singleCellGeneExpression-3IL52QDK.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-LGZMOVTB.js.map → singleCellGeneExpression.unit.spec-WXC4C37T.js.map} +0 -0
- /package/dist/{singleCellPlot-AU5K4M7J.js.map → singleCellPlot-XG3HZS7I.js.map} +0 -0
- /package/dist/{singlecell-HNTYJLJ4.js.map → singlecell-BRF2HAV2.js.map} +0 -0
- /package/dist/{singlecell-J4FIZPZF.js.map → singlecell-KVCJF2HI.js.map} +0 -0
- /package/dist/{snp-OXDVSFGB.js.map → snp-RMZRB426.js.map} +0 -0
- /package/dist/{snp.unit.spec-B7LCCGWA.js.map → snp.unit.spec-JF6KR2NT.js.map} +0 -0
- /package/dist/{snplocus-4VWXVQGS.js.map → snplocus-AHUFHQ3Q.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-YS32IFVI.js.map → spliceevent.a53ss.diagram-OSZZ2CF2.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-PHFR53DH.js.map → spliceevent.exonskip.diagram-AMA2D2OL.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-FFHMDEBQ.js.map → spliceevent.noeventdiagram-RKTUXH5D.js.map} +0 -0
- /package/dist/{ssGSEA-OYEIDW4M.js.map → ssGSEA-7RKWYZKX.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-SY5XFF45.js.map → ssGSEA.unit.spec-XLCZHH7S.js.map} +0 -0
- /package/dist/{stattable-JCH2WPS6.js.map → stattable-NDYUCLVZ.js.map} +0 -0
- /package/dist/{studyCatalog-FDB7D26M.js.map → studyCatalog-TAXRF5NS.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-KNW23YAI.js.map → summarizeCnvGeneexp-3QLHU6N7.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-H57GGCXL.js.map → summarizeGeneexpSurvival-ARI4MPFX.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-RBBDE27N.js.map → summarizeMutationCnv-W7V7CKPI.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-R6YWQ4LQ.js.map → summarizeMutationDiagnosis-GCL4SRON.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-Q6WKBNPD.js.map → summarizeMutationSurvival-6TTMSRRX.js.map} +0 -0
- /package/dist/{summary-AL3GEK3G.js.map → summary-OUYDWLBF.js.map} +0 -0
- /package/dist/{summary.integration.spec-IFGDIEMW.js.map → summary.integration.spec-4GTCG6HY.js.map} +0 -0
- /package/dist/{summaryInput-TYIKTBO3.js.map → summaryInput-UK3TLC7M.js.map} +0 -0
- /package/dist/{sunburst-4PA3CO44.js.map → sunburst-2UFHMNH3.js.map} +0 -0
- /package/dist/{survival-GT4CSHX2.js.map → survival-SPWYSDVB.js.map} +0 -0
- /package/dist/{survival-HXJCMNCG.js.map → survival-TL6UZ6FQ.js.map} +0 -0
- /package/dist/{svgraph-MZCOBO4J.js.map → svgraph-Z543MLIN.js.map} +0 -0
- /package/dist/{svmr-FQPAAQHB.js.map → svmr-SZCAOAIF.js.map} +0 -0
- /package/dist/{table-FKLXVILD.js.map → table-IAQ6J4DO.js.map} +0 -0
- /package/dist/{termCollection-Y7CIC6GQ.js.map → termCollection-3NGHR7QN.js.map} +0 -0
- /package/dist/{termCollection-QDGR6J36.js.map → termCollection-7P3WU6X6.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-PQMFOWLF.js.map → termCollection.unit.spec-EPYC7LOA.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-2O32HROA.js.map → termCollectionFractionSelection-YKIE6BME.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-WXGCO2RF.js.map → termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map} +0 -0
- /package/dist/{tk-QJNN6WK2.js.map → tk-TOXMU4GT.js.map} +0 -0
- /package/dist/{tk-IBYM4FZC.js.map → tk-X454XH5N.js.map} +0 -0
- /package/dist/{tp.ui-RI7S54LI.js.map → tp.ui-FDQ76KPL.js.map} +0 -0
- /package/dist/{tvs.dt-7CIYMLQF.js.map → tvs.dt-U77PCG6X.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-D3W6R6BM.js.map → tvs.dtcnv.categorical-XYZU4XLO.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-4WS2TN3K.js.map → tvs.dtcnv.continuous-4GJILFGP.js.map} +0 -0
- /package/dist/{tvs.dtfusion-NUUFIGG4.js.map → tvs.dtfusion-7YROAHVI.js.map} +0 -0
- /package/dist/{tvs.dtitd-UCSEWRNJ.js.map → tvs.dtitd-MIYU4ZHH.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-J4S7KU3Y.js.map → tvs.dtsnvindel-XLDY7KWB.js.map} +0 -0
- /package/dist/{tvs.dtsv-4OPYIWB6.js.map → tvs.dtsv-YMLJ37YR.js.map} +0 -0
- /package/dist/{tvs.samplelst-RUZYZ2FF.js.map → tvs.samplelst-KIVEXJKD.js.map} +0 -0
- /package/dist/{tvs.termCollection-D5X2HNWO.js.map → tvs.termCollection-4CQV3EB3.js.map} +0 -0
- /package/dist/{vocabulary-4L3RHQFQ.js.map → vocabulary-64GO4YDB.js.map} +0 -0
- /package/dist/{wsi.direct-FNCUUBEJ.js.map → wsi.direct-5MQVRJZX.js.map} +0 -0
|
@@ -0,0 +1,1545 @@
|
|
|
1
|
+
import {
|
|
2
|
+
blocklazyload
|
|
3
|
+
} from "./chunk-Z7AO6A7M.js";
|
|
4
|
+
import {
|
|
5
|
+
d3lasso
|
|
6
|
+
} from "./chunk-JH73IL4C.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-PC4MFDHP.js";
|
|
27
|
+
import "./chunk-HJ6L54YS.js";
|
|
28
|
+
import "./chunk-KV4W2ACA.js";
|
|
29
|
+
import "./chunk-HPAW7XDM.js";
|
|
30
|
+
import {
|
|
31
|
+
Menu
|
|
32
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
33
|
+
import "./chunk-BZN2O76M.js";
|
|
34
|
+
import "./chunk-EEB5VE2A.js";
|
|
35
|
+
import "./chunk-6RRZRISL.js";
|
|
36
|
+
import "./chunk-2KM4PRQM.js";
|
|
37
|
+
import {
|
|
38
|
+
dofetch,
|
|
39
|
+
dofetch2
|
|
40
|
+
} from "./chunk-52QHIKH2.js";
|
|
41
|
+
import {
|
|
42
|
+
getFilteredSamples
|
|
43
|
+
} from "./chunk-A2ORIMUJ.js";
|
|
44
|
+
import "./chunk-PPSWNLMG.js";
|
|
45
|
+
import "./chunk-RUBZCKIX.js";
|
|
46
|
+
import "./chunk-WINIL2KN.js";
|
|
47
|
+
import "./chunk-PF4DSFDR.js";
|
|
48
|
+
import "./chunk-7X6NF7NI.js";
|
|
49
|
+
import "./chunk-W5J3LTYS.js";
|
|
50
|
+
import {
|
|
51
|
+
identity,
|
|
52
|
+
zoom_default
|
|
53
|
+
} from "./chunk-Z2ZITHT4.js";
|
|
54
|
+
import {
|
|
55
|
+
linear,
|
|
56
|
+
ordinal
|
|
57
|
+
} from "./chunk-4OLM3KSB.js";
|
|
58
|
+
import "./chunk-FXQXCOII.js";
|
|
59
|
+
import "./chunk-TLT4YIG3.js";
|
|
60
|
+
import "./chunk-5R63Q5KH.js";
|
|
61
|
+
import {
|
|
62
|
+
select_default
|
|
63
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
64
|
+
import "./chunk-Q5RDQNIT.js";
|
|
65
|
+
import "./chunk-DQC5FFGV.js";
|
|
66
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
67
|
+
|
|
68
|
+
// common/uncollide.js
|
|
69
|
+
function getDefaults(opts) {
|
|
70
|
+
const defaults = {
|
|
71
|
+
waitTime: 0,
|
|
72
|
+
pad: 5,
|
|
73
|
+
nameKey: "",
|
|
74
|
+
steps: [
|
|
75
|
+
{
|
|
76
|
+
type: "restyle",
|
|
77
|
+
applyTo: "all",
|
|
78
|
+
// or just the minColliders
|
|
79
|
+
css: {
|
|
80
|
+
selector: "text",
|
|
81
|
+
key: "font-size",
|
|
82
|
+
value: "12px"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
/*{
|
|
86
|
+
type: 'restyle',
|
|
87
|
+
css: {
|
|
88
|
+
selector: 'text',
|
|
89
|
+
key: 'text-anchor',
|
|
90
|
+
value: 'start'
|
|
91
|
+
}
|
|
92
|
+
},*/
|
|
93
|
+
{
|
|
94
|
+
type: "move",
|
|
95
|
+
repeat: 2,
|
|
96
|
+
pad: 0,
|
|
97
|
+
css: {
|
|
98
|
+
selector: "text"
|
|
99
|
+
},
|
|
100
|
+
boxSorter: (a, b) => {
|
|
101
|
+
if (a.x1 > b.x1) return -1;
|
|
102
|
+
if (b.x1 > a.x1) return 1;
|
|
103
|
+
if (a.y1 > b.y1) return -1;
|
|
104
|
+
if (b.y1 > a.y1) return 1;
|
|
105
|
+
return 0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
};
|
|
110
|
+
return Object.assign(defaults, opts);
|
|
111
|
+
}
|
|
112
|
+
async function uncollide(labels, _opts = {}) {
|
|
113
|
+
if (!labels || !labels.size()) return;
|
|
114
|
+
const opts = getDefaults(_opts);
|
|
115
|
+
if (!opts.steps || !opts.steps.length) return;
|
|
116
|
+
if (!opts.svg) opts.svg = labels.node().closest("svg");
|
|
117
|
+
await sleep(opts.waitTime);
|
|
118
|
+
opts.svgBox = opts.svg.getBoundingClientRect();
|
|
119
|
+
const boxes = getBoxes(labels, opts);
|
|
120
|
+
const minNonZeroCollisions = trackCollisions(boxes);
|
|
121
|
+
window.boxes = boxes;
|
|
122
|
+
if (minNonZeroCollisions) {
|
|
123
|
+
const step = opts.steps.shift();
|
|
124
|
+
const adjustees = step.applyTo == "all" ? boxes : step.type == "move" ? boxes.filter((b) => b.collisions.length) : boxes.filter((b) => b.collisions.length === minNonZeroCollisions);
|
|
125
|
+
if (adjustees.length) {
|
|
126
|
+
if (step.boxSorter) adjustees.sort(step.boxSorter);
|
|
127
|
+
for (const box of adjustees) {
|
|
128
|
+
const b = getBoxes(box.label, opts)[0];
|
|
129
|
+
Object.assign(box, b);
|
|
130
|
+
trackOverlaps(box, boxes.filter((b2) => b2 != box));
|
|
131
|
+
await adjusters[step.type](box, step, boxes, opts);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
if (typeof step.repeat == "number" && step.repeat > 0) {
|
|
135
|
+
step.repeat += -1;
|
|
136
|
+
opts.steps.unshift(step);
|
|
137
|
+
}
|
|
138
|
+
if (opts.steps.length) setTimeout(() => uncollide(labels, opts), 0);
|
|
139
|
+
else boxes.forEach(showBox);
|
|
140
|
+
} else boxes.forEach(showBox);
|
|
141
|
+
}
|
|
142
|
+
function getBoxes(labels, opts) {
|
|
143
|
+
const boxes = [];
|
|
144
|
+
labels.each(function(data) {
|
|
145
|
+
const elem = this;
|
|
146
|
+
const bbox = elem.getBoundingClientRect();
|
|
147
|
+
const box = {
|
|
148
|
+
elem,
|
|
149
|
+
label: select_default(elem),
|
|
150
|
+
x1: bbox.x - opts.svgBox.x,
|
|
151
|
+
x2: bbox.x - opts.svgBox.x + bbox.width,
|
|
152
|
+
y1: bbox.y - opts.svgBox.y,
|
|
153
|
+
y2: bbox.y - opts.svgBox.y + bbox.height,
|
|
154
|
+
width: bbox.width,
|
|
155
|
+
height: bbox.height
|
|
156
|
+
};
|
|
157
|
+
box.maxFree = {
|
|
158
|
+
n: Math.max(box.y1, 0),
|
|
159
|
+
s: Math.max(opts.svgBox.y + opts.svgBox.height - box.y2, 0),
|
|
160
|
+
e: Math.max(opts.svgBox.x + opts.svgBox.width - box.x2, 0),
|
|
161
|
+
w: Math.max(box.x1, 0)
|
|
162
|
+
};
|
|
163
|
+
box.corners = {};
|
|
164
|
+
box.overlapSum = 0;
|
|
165
|
+
box.collisions = [];
|
|
166
|
+
box.maxOverlaps = {};
|
|
167
|
+
if (opts.nameKey) box.name = data[opts.nameKey];
|
|
168
|
+
detectSvgOverflow(box, opts.svgBox);
|
|
169
|
+
boxes.push(box);
|
|
170
|
+
});
|
|
171
|
+
return boxes;
|
|
172
|
+
}
|
|
173
|
+
function trackCollisions(boxes) {
|
|
174
|
+
let minNonZeroCollisions = 0;
|
|
175
|
+
for (const box of boxes) {
|
|
176
|
+
const numCollisions = trackOverlaps(box, boxes.filter((b) => b != box));
|
|
177
|
+
if (minNonZeroCollisions === 0 || numCollisions > 0 && numCollisions < minNonZeroCollisions) {
|
|
178
|
+
minNonZeroCollisions = numCollisions;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
boxes.sort(sortBoxes);
|
|
182
|
+
return minNonZeroCollisions;
|
|
183
|
+
}
|
|
184
|
+
function sortBoxes(a, b) {
|
|
185
|
+
return a.collisions.length - b.collisions.length;
|
|
186
|
+
}
|
|
187
|
+
function trackOverlaps(box, boxes) {
|
|
188
|
+
const x1 = box.x1, x2 = box.x2;
|
|
189
|
+
const y1 = box.y1, y2 = box.y2;
|
|
190
|
+
for (const b of boxes) {
|
|
191
|
+
if (b === box) continue;
|
|
192
|
+
const free = {};
|
|
193
|
+
if (b.x2 < x1) {
|
|
194
|
+
free.w = x1 - b.x2;
|
|
195
|
+
} else if (b.x1 > x2) {
|
|
196
|
+
free.e = b.x1 - x2;
|
|
197
|
+
}
|
|
198
|
+
if (b.y2 < y1) {
|
|
199
|
+
free.n = y1 - b.y2;
|
|
200
|
+
} else if (b.y1 > y2) {
|
|
201
|
+
free.s = b.y1 - y2;
|
|
202
|
+
}
|
|
203
|
+
const corners = {};
|
|
204
|
+
if (Object.keys(free).length) {
|
|
205
|
+
if ("n" in free && free.n < box.maxFree.n) box.maxFree.n = free.n;
|
|
206
|
+
if ("s" in free && free.s < box.maxFree.s) box.maxFree.s = free.s;
|
|
207
|
+
if ("e" in free && free.e < box.maxFree.e) box.maxFree.e = free.e;
|
|
208
|
+
if ("w" in free && free.w < box.maxFree.w) box.maxFree.w = free.w;
|
|
209
|
+
} else {
|
|
210
|
+
if (b.x1 <= x1 && x2 <= b.x2) {
|
|
211
|
+
if (b.x1 <= x1 && x1 <= b.x2) {
|
|
212
|
+
const dx = b.x2 - x1;
|
|
213
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
|
|
214
|
+
if (b.y1 <= y1 && y1 <= b.y2) {
|
|
215
|
+
const dy = b.y2 - y1;
|
|
216
|
+
corners.nw = dx * dy;
|
|
217
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
218
|
+
}
|
|
219
|
+
if (b.y1 <= y2 && y2 <= b.y2) {
|
|
220
|
+
const dy = y2 - b.y1;
|
|
221
|
+
corners.sw = dx * dy;
|
|
222
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
if (b.x1 <= x2 && x2 <= b.x2) {
|
|
226
|
+
const dx = x2 - b.x1;
|
|
227
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
228
|
+
if (b.y1 <= y1 && y1 <= b.y2) {
|
|
229
|
+
const dy = b.y2 - y1;
|
|
230
|
+
corners.ne = dx * dy;
|
|
231
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
232
|
+
}
|
|
233
|
+
if (b.y1 <= y2 && y2 <= b.y2) {
|
|
234
|
+
const dy = y2 - b.y1;
|
|
235
|
+
corners.se = dx * dy;
|
|
236
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
} else {
|
|
240
|
+
if (x1 <= b.x1 && b.x1 <= x2) {
|
|
241
|
+
const dx = x2 - b.x1;
|
|
242
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
243
|
+
if (y1 <= b.y1 && b.y1 <= y2) {
|
|
244
|
+
const dy = y2 - b.y1;
|
|
245
|
+
corners.se = dx * dy;
|
|
246
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
247
|
+
}
|
|
248
|
+
if (y1 <= b.y2 && b.y2 <= y2) {
|
|
249
|
+
const dy = b.y2 - y1;
|
|
250
|
+
corners.ne = dx * dy;
|
|
251
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
if (x1 <= b.x2 && b.x2 <= x2) {
|
|
255
|
+
const dx = b.x2 - x1;
|
|
256
|
+
if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
|
|
257
|
+
if (y1 <= b.y1 && b.y1 <= y2) {
|
|
258
|
+
const dy = y2 - b.y1;
|
|
259
|
+
corners.sw = dx * dy;
|
|
260
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
261
|
+
}
|
|
262
|
+
if (y1 <= b.y2 && b.y2 <= y2) {
|
|
263
|
+
const dy = b.y2 - y1;
|
|
264
|
+
corners.nw = dx * dy;
|
|
265
|
+
if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
const keys = Object.keys(corners);
|
|
271
|
+
if (keys.length) {
|
|
272
|
+
box.collisions.push({ box: b.name, corners: keys });
|
|
273
|
+
for (const k of keys) {
|
|
274
|
+
if (!box.corners[k]) box.corners[k] = { against: [], sum: 0 };
|
|
275
|
+
box.corners[k].against.push(b.name);
|
|
276
|
+
box.corners[k].sum += corners[k];
|
|
277
|
+
box.overlapSum += corners[k];
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
return box.collisions.length;
|
|
282
|
+
}
|
|
283
|
+
function detectSvgOverflow(box, svgBox) {
|
|
284
|
+
const x1 = box.x1, x2 = box.x2;
|
|
285
|
+
const y1 = box.y1, y2 = box.y2;
|
|
286
|
+
const corners = [];
|
|
287
|
+
if (x1 < 0) {
|
|
288
|
+
box.maxOverlaps.x = { val: Math.abs(x1), dir: "w" };
|
|
289
|
+
corners.push("w");
|
|
290
|
+
box.corners.w = { against: [], sum: Math.abs(x1) * box.height };
|
|
291
|
+
box.overlapSum += box.corners.w.sum;
|
|
292
|
+
}
|
|
293
|
+
const dx = x2 - svgBox.width;
|
|
294
|
+
if (dx > 0 && (!box.maxOverlaps.x || box.maxOverlaps.x.val < dx)) {
|
|
295
|
+
box.maxOverlaps.x = { val: dx, dir: "e" };
|
|
296
|
+
corners.push("e");
|
|
297
|
+
box.corners.e = { against: ["svgbox"], sum: dx * box.height };
|
|
298
|
+
box.overlapSum += box.corners.e.sum;
|
|
299
|
+
}
|
|
300
|
+
if (y1 < 0) {
|
|
301
|
+
box.maxOverlaps.y = { val: Math.abs(y1), dir: "n" };
|
|
302
|
+
corners.push("n");
|
|
303
|
+
box.corners.n = { against: ["svgbox"], sum: Math.abs(y1) };
|
|
304
|
+
box.overlapSum += box.corners.n.sum;
|
|
305
|
+
}
|
|
306
|
+
const dy = y2 - svgBox.height;
|
|
307
|
+
if (dy > 0 && (!box.maxOverlaps.y || box.maxOverlaps.y.val < dy)) {
|
|
308
|
+
box.maxOverlaps.y = { val: dy, dir: "s" };
|
|
309
|
+
corners.push("s");
|
|
310
|
+
box.corners.s = { against: ["svgbox"], sum: dy * box.height };
|
|
311
|
+
box.overlapSum += box.corners.s.sum;
|
|
312
|
+
}
|
|
313
|
+
if (corners.length) box.collisions.push({ box: "svg", corners });
|
|
314
|
+
}
|
|
315
|
+
async function restyle(box, step, boxes, opts) {
|
|
316
|
+
const preAdjustedVal = /* @__PURE__ */ new Map();
|
|
317
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
318
|
+
const s = select_default(this);
|
|
319
|
+
preAdjustedVal.set(this, s.attr(step.css.key));
|
|
320
|
+
s.attr(step.css.key, step.css.value);
|
|
321
|
+
});
|
|
322
|
+
await sleep(opts.waitTime);
|
|
323
|
+
const adjustedBox = getBoxes(box.label, opts)[0];
|
|
324
|
+
const i = boxes.indexOf(box);
|
|
325
|
+
trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
|
|
326
|
+
if (step.applyTo == "all") {
|
|
327
|
+
Object.assign(box, adjustedBox);
|
|
328
|
+
} else {
|
|
329
|
+
if (adjustedBox.overlapSum >= box.overlapSum) {
|
|
330
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
331
|
+
select_default(this).attr(step.css.key, preAdjustedVal.get(this));
|
|
332
|
+
});
|
|
333
|
+
} else {
|
|
334
|
+
Object.assign(box, adjustedBox);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
async function move(box, step, boxes, opts) {
|
|
339
|
+
const freeDirections = Object.keys(box.maxFree).filter((dir) => box.maxFree[dir] > 0);
|
|
340
|
+
if (!freeDirections.length) return;
|
|
341
|
+
const preAdjustedVal = /* @__PURE__ */ new Map();
|
|
342
|
+
if (box.maxOverlaps.y && box.maxOverlaps.y.val > 0) {
|
|
343
|
+
if (box.maxOverlaps.y.dir == "s" && freeDirections.includes("n")) {
|
|
344
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
345
|
+
const s = select_default(this);
|
|
346
|
+
preAdjustedVal.set(this, s.attr("y") || 0);
|
|
347
|
+
s.attr("y", Math.max(-box.maxFree.n, -box.maxOverlaps.y.val) - step.pad);
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
if (box.maxOverlaps.y.dir == "n" && freeDirections.includes("s")) {
|
|
351
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
352
|
+
const s = select_default(this);
|
|
353
|
+
preAdjustedVal.set(this, s.attr("y") || 0);
|
|
354
|
+
s.attr("y", Math.min(box.maxFree.s, box.maxOverlaps.y.val) + step.pad);
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
if (preAdjustedVal.size) {
|
|
359
|
+
await sleep(opts.waitTime);
|
|
360
|
+
const adjustedBox2 = getBoxes(box.label, opts)[0];
|
|
361
|
+
trackOverlaps(adjustedBox2, boxes.filter((b) => b != box));
|
|
362
|
+
if (adjustedBox2.overlapSum >= box.overlapSum) {
|
|
363
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
364
|
+
select_default(this).attr("y", preAdjustedVal.get(this));
|
|
365
|
+
});
|
|
366
|
+
} else {
|
|
367
|
+
Object.assign(box, adjustedBox2);
|
|
368
|
+
if (!box.collisions.length) return;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
if (box.maxOverlaps.x && box.maxOverlaps.x.val > 0) {
|
|
372
|
+
if (box.maxOverlaps.x.dir == "e" && freeDirections.includes("w")) {
|
|
373
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
374
|
+
const s = select_default(this);
|
|
375
|
+
preAdjustedVal.set(this, s.attr("x") || 0);
|
|
376
|
+
s.attr("x", Math.max(-box.maxFree.w, -box.maxOverlaps.x.val) - step.pad);
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
if (box.maxOverlaps.x.dir == "w" && freeDirections.includes("e")) {
|
|
380
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
381
|
+
const s = select_default(this);
|
|
382
|
+
preAdjustedVal.set(this, s.attr("x") || 0);
|
|
383
|
+
s.attr("x", Math.min(box.maxFree.e, box.maxOverlaps.x.val) + step.pad);
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
if (!preAdjustedVal.size) return;
|
|
388
|
+
await sleep(opts.waitTime);
|
|
389
|
+
const adjustedBox = getBoxes(box.label, opts)[0];
|
|
390
|
+
trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
|
|
391
|
+
if (adjustedBox.overlapSum >= box.overlapSum) {
|
|
392
|
+
box.label.selectAll(step.css.selector).each(function(d) {
|
|
393
|
+
select_default(this).attr("x", preAdjustedVal.get(this));
|
|
394
|
+
});
|
|
395
|
+
} else {
|
|
396
|
+
Object.assign(box, adjustedBox);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
var adjusters = { restyle, move };
|
|
400
|
+
function showBox(box) {
|
|
401
|
+
return;
|
|
402
|
+
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");
|
|
403
|
+
}
|
|
404
|
+
function sleep(ms) {
|
|
405
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
// src/mds.samplescatterplot.js
|
|
409
|
+
var radius = 3;
|
|
410
|
+
var radius_tiny = 0.7;
|
|
411
|
+
var userdotcolor = "black";
|
|
412
|
+
async function init(obj, holder, debugmode) {
|
|
413
|
+
if (debugmode) {
|
|
414
|
+
window.obj = obj;
|
|
415
|
+
}
|
|
416
|
+
if (!obj.lasso)
|
|
417
|
+
obj.lasso = {
|
|
418
|
+
postSelectMenuOptions: [
|
|
419
|
+
/*{
|
|
420
|
+
label: 'Do something',
|
|
421
|
+
callback({samples, sample_attributes, sample2dot}) {....}
|
|
422
|
+
},*/
|
|
423
|
+
{
|
|
424
|
+
label: "List samples",
|
|
425
|
+
callback: "listSamples"
|
|
426
|
+
// will indicate to use the default callback of listing the samples
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
};
|
|
430
|
+
obj.menu = new Menu({ padding: "2px" });
|
|
431
|
+
obj.menu2 = new Menu({ padding: "10px" });
|
|
432
|
+
obj.tip = new Menu({ padding: "5px" });
|
|
433
|
+
obj.errordiv = holder.append("div").style("margin", "10px");
|
|
434
|
+
obj.sayerror = (e) => {
|
|
435
|
+
sayerror(obj.errordiv, typeof e == "string" ? e : e.message);
|
|
436
|
+
if (e.stack) console.log(e.stack);
|
|
437
|
+
};
|
|
438
|
+
const _table = holder.append("table").style("border-spacing", "20px");
|
|
439
|
+
const tr1 = _table.append("tr");
|
|
440
|
+
const tr1td1 = tr1.append("td").style("vertical-align", "top");
|
|
441
|
+
const tr1td2 = tr1.append("td").style("vertical-align", "top");
|
|
442
|
+
{
|
|
443
|
+
let searchStr2 = function(data, str) {
|
|
444
|
+
let found_flag = false;
|
|
445
|
+
let vals = Object.values(data).filter((a) => a != null && typeof a != "number");
|
|
446
|
+
let new_vals = vals.filter((a) => typeof a != "object").map((x) => x.toLowerCase());
|
|
447
|
+
new_vals.forEach((v) => {
|
|
448
|
+
if (v.toLowerCase().includes(str)) return found_flag = true;
|
|
449
|
+
});
|
|
450
|
+
if (!found_flag) {
|
|
451
|
+
vals.forEach((v) => {
|
|
452
|
+
if (v && typeof v == "object") {
|
|
453
|
+
const obj_vals = Object.values(v).filter((a) => a != null && typeof a != "number").map((x) => x.toLowerCase());
|
|
454
|
+
obj_vals.forEach((ov) => {
|
|
455
|
+
if (ov.toLowerCase().includes(str)) return found_flag = true;
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
return found_flag;
|
|
461
|
+
};
|
|
462
|
+
var searchStr = searchStr2;
|
|
463
|
+
const row = tr1td2.append("div").style("margin-bottom", "5px");
|
|
464
|
+
row.append("input").attr("type", "text").attr("placeholder", "Search sample").style("width", "200px").on("keyup", (event2) => {
|
|
465
|
+
const str0 = event2.target.value;
|
|
466
|
+
if (!str0) {
|
|
467
|
+
obj.dotselection.transition().attr("r", radius);
|
|
468
|
+
return;
|
|
469
|
+
}
|
|
470
|
+
const str = str0.toLowerCase();
|
|
471
|
+
obj.dotselection.filter((d) => searchStr2(d, str)).transition().attr("r", radius * 2);
|
|
472
|
+
obj.dotselection.filter((d) => !searchStr2(d, str)).transition().attr("r", 1);
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
const legend_div = tr1td2.append("div").style("overflow-x", "hidden").style("overflow-y", "auto").style("height", "100vh");
|
|
476
|
+
obj.legendtable = legend_div.append("table").style("border-spacing", "5px");
|
|
477
|
+
obj.filterDiv = tr1td1.append("div").style("position", "relative");
|
|
478
|
+
const scatterdiv = tr1td1.append("div").style("position", "relative");
|
|
479
|
+
obj.scattersvg = scatterdiv.append("svg");
|
|
480
|
+
obj.scattersvg_resizehandle = scatterdiv.append("div");
|
|
481
|
+
obj.scattersvg_buttons = scatterdiv.append("div");
|
|
482
|
+
try {
|
|
483
|
+
await get_data(obj);
|
|
484
|
+
finish_setup(obj);
|
|
485
|
+
init_dotcolor_legend(obj);
|
|
486
|
+
init_plot(obj);
|
|
487
|
+
} catch (e) {
|
|
488
|
+
if (e.stack) console.log(e.stack);
|
|
489
|
+
obj.sayerror(e.message || e);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
async function get_data(obj) {
|
|
493
|
+
if (obj.dslabel) {
|
|
494
|
+
const lst = ["genome=" + obj.genome.name, "dslabel=" + obj.dslabel];
|
|
495
|
+
if (obj.analysisdata) {
|
|
496
|
+
if (obj.analysisdata.subset) {
|
|
497
|
+
if (!obj.analysisdata.subset.key) throw ".subset.key missing";
|
|
498
|
+
if (!obj.analysisdata.subset.value) throw ".subset.value missing";
|
|
499
|
+
lst.push("subsetkey=" + obj.analysisdata.subset.key);
|
|
500
|
+
lst.push("subsetvalue=" + obj.analysisdata.subset.value);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
const data = await dofetch2("mdssamplescatterplot?" + lst.join("&"));
|
|
504
|
+
if (data.error) throw data.error;
|
|
505
|
+
if (!data.dots) throw "server error";
|
|
506
|
+
obj.sample2dot = /* @__PURE__ */ new Map();
|
|
507
|
+
for (const dot of data.dots) {
|
|
508
|
+
obj.sample2dot.set(dot.sample, dot);
|
|
509
|
+
}
|
|
510
|
+
combine_clientserverdata(obj, data);
|
|
511
|
+
obj.colorbyattributes = data.colorbyattributes;
|
|
512
|
+
obj.colorbygeneexpression = data.colorbygeneexpression;
|
|
513
|
+
obj.tracks = data.tracks;
|
|
514
|
+
obj.querykey = data.querykey;
|
|
515
|
+
obj.sample_attributes = obj.mds.sampleAttribute.attributes;
|
|
516
|
+
return;
|
|
517
|
+
}
|
|
518
|
+
const ad = obj.analysisdata;
|
|
519
|
+
if (obj.disco || ad.disco) {
|
|
520
|
+
const disco = obj.disco || ad.disco;
|
|
521
|
+
obj.mds = obj.genome.datasets[disco.dslabel];
|
|
522
|
+
} else if (obj.mds) {
|
|
523
|
+
obj.mds = obj.genome.datasets[obj.mds.dslabel];
|
|
524
|
+
}
|
|
525
|
+
if (!ad) throw "both .analysisdata{} and .dslabel are missing";
|
|
526
|
+
if (ad.samples) {
|
|
527
|
+
if (!Array.isArray(ad.samples)) throw ".analysisdata.samples is not array";
|
|
528
|
+
obj.dots = ad.samples;
|
|
529
|
+
} else if (ad.tabular_data) {
|
|
530
|
+
let lines = ad.tabular_data.split("\n");
|
|
531
|
+
if (lines.length < 2) throw "at least 2 rows, header row + at least 1 sample data must be supplied";
|
|
532
|
+
ad.samples = [];
|
|
533
|
+
const headers = lines.shift().split(" ");
|
|
534
|
+
if (headers.length < 3) throw "at least 3 columns are required with X, Y and sample name";
|
|
535
|
+
ad.samplekey = headers[2];
|
|
536
|
+
let xi = headers.indexOf("x");
|
|
537
|
+
if (xi == -1) xi = headers.indexOf("X");
|
|
538
|
+
if (xi == -1) throw '"X" or "x" column missing from tabular data';
|
|
539
|
+
let yi = headers.indexOf("y");
|
|
540
|
+
if (yi == -1) yi = headers.indexOf("Y");
|
|
541
|
+
if (yi == -1) throw '"Y" or "y" column missing from tabular data';
|
|
542
|
+
for (const line of lines) {
|
|
543
|
+
const values = line.split(" ");
|
|
544
|
+
const sample = {};
|
|
545
|
+
for (const [i, v] of values.entries()) {
|
|
546
|
+
if (i == xi) sample.x = Number.parseFloat(v);
|
|
547
|
+
else if (i == yi) sample.y = Number.parseFloat(v);
|
|
548
|
+
else sample[headers[i]] = v;
|
|
549
|
+
}
|
|
550
|
+
ad.samples.push(sample);
|
|
551
|
+
}
|
|
552
|
+
obj.dots = ad.samples;
|
|
553
|
+
if (ad.sample_attributes == void 0) {
|
|
554
|
+
ad.sample_attributes = {};
|
|
555
|
+
for (const [i, key] of headers.entries()) {
|
|
556
|
+
if (i <= 2) continue;
|
|
557
|
+
ad.sample_attributes[key] = { label: key };
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
if (!ad.colorbyattributes && headers.length > 3) ad.colorbyattributes = [{ key: headers[3] }];
|
|
561
|
+
} else {
|
|
562
|
+
throw "unknown data encoding in .analysisdata{}";
|
|
563
|
+
}
|
|
564
|
+
obj.sample2dot = /* @__PURE__ */ new Map();
|
|
565
|
+
for (const d of obj.dots) {
|
|
566
|
+
if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a sample";
|
|
567
|
+
if (ad.samplekey) {
|
|
568
|
+
d.sample = d[ad.samplekey];
|
|
569
|
+
delete d[ad.samplekey];
|
|
570
|
+
}
|
|
571
|
+
if (ad.sample_attributes) {
|
|
572
|
+
d.s = {};
|
|
573
|
+
for (const k in ad.sample_attributes) {
|
|
574
|
+
d.s[k] = d[k];
|
|
575
|
+
delete d[k];
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
obj.sample2dot.set(d.sample, d);
|
|
579
|
+
}
|
|
580
|
+
obj.sample_attributes = ad.sample_attributes;
|
|
581
|
+
obj.colorbyattributes = ad.colorbyattributes;
|
|
582
|
+
obj.attr_levels = ad.attr_levels;
|
|
583
|
+
if (ad.user_samples) {
|
|
584
|
+
if (!Array.isArray(ad.user_samples)) throw ".user_samples[] is not array";
|
|
585
|
+
obj.dots_user = [];
|
|
586
|
+
for (const d of ad.user_samples) {
|
|
587
|
+
if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a USER sample";
|
|
588
|
+
if (ad.samplekey) {
|
|
589
|
+
d.sample = d[ad.samplekey];
|
|
590
|
+
delete d[ad.samplekey];
|
|
591
|
+
}
|
|
592
|
+
if (!d.color) d.color = userdotcolor;
|
|
593
|
+
obj.dots_user.push(d);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
if (!obj.filterApi) {
|
|
597
|
+
obj.filterApi = filterInit({
|
|
598
|
+
btn: obj.filterDiv.append("div"),
|
|
599
|
+
btnLabel: "Filter",
|
|
600
|
+
emptyLabel: "+New Filter",
|
|
601
|
+
holder: obj.filterDiv.append("div"),
|
|
602
|
+
vocab: getVocabFromSamplesArray(ad),
|
|
603
|
+
//termdbConfig: opts.termdbConfig,
|
|
604
|
+
debug: true,
|
|
605
|
+
callback(filter) {
|
|
606
|
+
obj.filteredSamples = getFilteredSamples(ad.samples, filter);
|
|
607
|
+
if (obj.dotselection._groups[0].length != obj.filteredSamples.size) {
|
|
608
|
+
obj.dotselection.transition().attr("r", (d) => obj.filteredSamples.has(d.sample) ? radius : 0).style("opacity", (d) => obj.filteredSamples.has(d.sample) ? 1 : 0);
|
|
609
|
+
} else {
|
|
610
|
+
obj.dotselection.transition().attr("r", radius).style("opacity", 1);
|
|
611
|
+
}
|
|
612
|
+
update_dotcolor_legend(obj);
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
obj.filterApi.main({ type: "tvslst", join: "", lst: [] });
|
|
616
|
+
obj.filteredSamples = [];
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
function combine_clientserverdata(obj, data) {
|
|
620
|
+
if (!obj.analysisdata) {
|
|
621
|
+
obj.dots = data.dots;
|
|
622
|
+
return;
|
|
623
|
+
}
|
|
624
|
+
if (!obj.analysisdata.str) throw ".analysisdata.str missing while trying to combine client/server data";
|
|
625
|
+
const analysis = /* @__PURE__ */ new Map();
|
|
626
|
+
obj.dots_user = [];
|
|
627
|
+
for (const line of obj.analysisdata.str.trim().split("\n")) {
|
|
628
|
+
const l = line.split(" ");
|
|
629
|
+
if (l.length < 3) {
|
|
630
|
+
continue;
|
|
631
|
+
}
|
|
632
|
+
const sample = l[2];
|
|
633
|
+
if (!sample) continue;
|
|
634
|
+
const j = {
|
|
635
|
+
x: Number(l[0]),
|
|
636
|
+
y: Number(l[1])
|
|
637
|
+
};
|
|
638
|
+
if (Number.isNaN(j.x) || Number.isNaN(j.y)) continue;
|
|
639
|
+
if (l[3]) {
|
|
640
|
+
j.sample = sample;
|
|
641
|
+
j.color = userdotcolor;
|
|
642
|
+
obj.dots_user.push(j);
|
|
643
|
+
continue;
|
|
644
|
+
}
|
|
645
|
+
analysis.set(sample, j);
|
|
646
|
+
}
|
|
647
|
+
obj.dots = [];
|
|
648
|
+
for (const i of data.dots) {
|
|
649
|
+
const j = analysis.get(i.sample);
|
|
650
|
+
if (!j) continue;
|
|
651
|
+
i.x = j.x;
|
|
652
|
+
i.y = j.y;
|
|
653
|
+
obj.dots.push(i);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
function finish_setup(obj) {
|
|
657
|
+
if (obj.colorbyattributes) {
|
|
658
|
+
if (!Array.isArray(obj.colorbyattributes)) throw ".colorbyattributes[] is not array";
|
|
659
|
+
if (!obj.sample_attributes) throw ".sample_attributes{} missing when .colorbyattributes is defined";
|
|
660
|
+
for (const a of obj.colorbyattributes) {
|
|
661
|
+
if (typeof a != "object") throw "one of .colorbyattributes[] is not array";
|
|
662
|
+
if (!a.key) throw ".key missing from one of .colorbyattributes[]";
|
|
663
|
+
const a2 = obj.sample_attributes[a.key];
|
|
664
|
+
if (!a2) throw "unknown key from .colorbyattributes: " + a.key;
|
|
665
|
+
a.label = a2.label;
|
|
666
|
+
a.values = a2.values;
|
|
667
|
+
if (!a.values) {
|
|
668
|
+
a.values = {};
|
|
669
|
+
for (const d of obj.dots) {
|
|
670
|
+
const v = d.s[a.key];
|
|
671
|
+
if (v == void 0 || v == null) continue;
|
|
672
|
+
a.values[v] = {};
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
const cf = ordinal(schemeCategory20);
|
|
676
|
+
for (const k in a.values) {
|
|
677
|
+
if (!a.values[k].color) a.values[k].color = cf(k);
|
|
678
|
+
}
|
|
679
|
+
if (obj.analysisdata) {
|
|
680
|
+
const ad = obj.analysisdata.sample_attributes;
|
|
681
|
+
if (ad[a.key].values == void 0) ad[a.key].values = a.values;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
if (obj.attr_levels) {
|
|
686
|
+
if (!Array.isArray(obj.attr_levels)) throw ".attr_levels[] is not array";
|
|
687
|
+
if (obj.attr_levels.length < 2) throw ".attr_levels[] array has less than 2 items";
|
|
688
|
+
if (!obj.sample_attributes) throw ".sample_attributes is missing when .attr_levels is defined";
|
|
689
|
+
for (const l of obj.attr_levels) {
|
|
690
|
+
if (!l.key) throw ".key missing from one of attr_levels[]";
|
|
691
|
+
const register = obj.sample_attributes[l.key];
|
|
692
|
+
if (!register) throw ".attr_levels key missing from sample_attributes{}: " + l.key;
|
|
693
|
+
if (!register.values) {
|
|
694
|
+
register.values = {};
|
|
695
|
+
for (const d of obj.dots) {
|
|
696
|
+
const v = d.s[l.key];
|
|
697
|
+
if (v == void 0 || v == null || register.values[v]) continue;
|
|
698
|
+
register.values[v] = {};
|
|
699
|
+
}
|
|
700
|
+
const cf = ordinal(schemeCategory20);
|
|
701
|
+
for (const k in register.values) {
|
|
702
|
+
if (!register.values[k].color) register.values[k].color = cf(k);
|
|
703
|
+
}
|
|
704
|
+
register.orderByCount = true;
|
|
705
|
+
}
|
|
706
|
+
if (l.label) {
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
function init_plot(obj) {
|
|
712
|
+
const rootholder = obj.scattersvg.node().closest(".sja_root_holder");
|
|
713
|
+
let minx = obj.dots[0].x, maxx = minx, miny = obj.dots[0].y, maxy = miny;
|
|
714
|
+
for (const d of [...obj.dots, ...obj.dots_user || []]) {
|
|
715
|
+
minx = Math.min(minx, d.x);
|
|
716
|
+
maxx = Math.max(maxx, d.x);
|
|
717
|
+
miny = Math.min(miny, d.y);
|
|
718
|
+
maxy = Math.max(maxy, d.y);
|
|
719
|
+
}
|
|
720
|
+
let xscale = obj.xscale = linear().domain([minx, maxx]);
|
|
721
|
+
let yscale = obj.yscale = linear().domain([miny, maxy]);
|
|
722
|
+
if (!obj.dimensions) obj.dimensions = {};
|
|
723
|
+
if (!("autoResize" in obj.dimensions)) obj.dimensions.autoResize = true;
|
|
724
|
+
if (!("minWidth" in obj.dimensions)) obj.dimensions.minWidth = 300;
|
|
725
|
+
if (!("minHeight" in obj.dimensions)) obj.dimensions.minHeight = 300;
|
|
726
|
+
let currBbox;
|
|
727
|
+
const estlegendwidth = 250;
|
|
728
|
+
const bbox = rootholder.getBoundingClientRect();
|
|
729
|
+
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;
|
|
730
|
+
const svg = obj.scattersvg;
|
|
731
|
+
const dotg = obj.dotg = svg.append("g").attr("transform", "translate(" + (leftpad + vpad) + "," + toppad + ")");
|
|
732
|
+
const dots = dotg.selectAll().data(obj.dots).enter().append("g").attr("class", "sample_dot");
|
|
733
|
+
const circles = dots.append("circle").attr("stroke", "none").attr("r", radius).on("mouseover", (event2, d) => {
|
|
734
|
+
event2.target.setAttribute("stroke", "white");
|
|
735
|
+
const lst = [{ k: "Sample", v: d.sample }];
|
|
736
|
+
if (obj.sample_attributes) {
|
|
737
|
+
for (const attrkey in obj.sample_attributes) {
|
|
738
|
+
const attr = obj.sample_attributes[attrkey];
|
|
739
|
+
const v = d.s[attrkey];
|
|
740
|
+
lst.push({
|
|
741
|
+
k: attr.label,
|
|
742
|
+
v: d.s[attrkey]
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
make_table_2col(obj.tip.clear().d, lst);
|
|
747
|
+
obj.tip.show(event2.clientX, event2.clientY);
|
|
748
|
+
}).on("mouseout", (event2, d) => {
|
|
749
|
+
event2.target.setAttribute("stroke", "none");
|
|
750
|
+
obj.tip.hide();
|
|
751
|
+
}).on("click", (event2, d) => {
|
|
752
|
+
click_dot(d, obj, event2);
|
|
753
|
+
});
|
|
754
|
+
obj.dotselection = circles;
|
|
755
|
+
let userdots, usercircles, userlabelg, userlabels, userlabel_borders;
|
|
756
|
+
const userlabel_grp = obj.userlabel_grp = { userlabels, userlabel_borders };
|
|
757
|
+
if (obj.dots_user) {
|
|
758
|
+
userdots = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "sample_dot");
|
|
759
|
+
usercircles = userdots.append("circle").attr("stroke", "none").attr("fill", (d) => d.color).attr("r", radius).on("mouseover", (event2, d) => {
|
|
760
|
+
const lst = [{ k: "Sample", v: d.sample }];
|
|
761
|
+
if (obj.sample_attributes) {
|
|
762
|
+
for (const attrkey in obj.sample_attributes) {
|
|
763
|
+
const attr = obj.sample_attributes[attrkey];
|
|
764
|
+
if (d[attrkey])
|
|
765
|
+
lst.push({
|
|
766
|
+
k: attr.label,
|
|
767
|
+
v: d[attrkey]
|
|
768
|
+
});
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
make_table_2col(obj.tip.clear().d, lst);
|
|
772
|
+
obj.tip.show(event2.clientX, event2.clientY);
|
|
773
|
+
Object.values(userlabel_grp).forEach(
|
|
774
|
+
(labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "bold")
|
|
775
|
+
);
|
|
776
|
+
}).on("mouseout", (event2, d) => {
|
|
777
|
+
obj.tip.hide();
|
|
778
|
+
Object.values(userlabel_grp).forEach(
|
|
779
|
+
(labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "normal")
|
|
780
|
+
);
|
|
781
|
+
});
|
|
782
|
+
userlabelg = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "userlabelg");
|
|
783
|
+
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");
|
|
784
|
+
userlabel_grp.userlabels = userlabelg.append("text").attr("fill", (d) => d.color).attr("font-size", fontsize).text((d) => d.sample).on("mouseover", (event2, d) => {
|
|
785
|
+
usercircles.filter((i) => i.sample == d.sample).attr("r", radius * 2);
|
|
786
|
+
svg.style("cursor", "move");
|
|
787
|
+
const lst = [{ k: "Sample", v: d.sample }];
|
|
788
|
+
if (obj.sample_attributes) {
|
|
789
|
+
for (const attrkey in obj.sample_attributes) {
|
|
790
|
+
const attr = obj.sample_attributes[attrkey];
|
|
791
|
+
if (d[attrkey])
|
|
792
|
+
lst.push({
|
|
793
|
+
k: attr.label,
|
|
794
|
+
v: d[attrkey]
|
|
795
|
+
});
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
make_table_2col(obj.tip.clear().d, lst);
|
|
799
|
+
obj.tip.show(event2.clientX, event2.clientY);
|
|
800
|
+
}).on("mouseout", (event2, d) => {
|
|
801
|
+
usercircles.filter((i) => i.sample == d.sample).attr("r", radius);
|
|
802
|
+
svg.style("cursor", "auto");
|
|
803
|
+
obj.tip.hide();
|
|
804
|
+
}).on("mousedown", (event2, d) => {
|
|
805
|
+
event2.preventDefault();
|
|
806
|
+
event2.stopPropagation();
|
|
807
|
+
const b = select_default(document.body);
|
|
808
|
+
const x = event2.clientX;
|
|
809
|
+
const y = event2.clientY;
|
|
810
|
+
xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : obj.xscale;
|
|
811
|
+
yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : obj.yscale;
|
|
812
|
+
const g = userlabelg.filter((i) => i.sample == d.sample);
|
|
813
|
+
const [x1, y1] = g.attr("transform").match(/[\d\.]+/g).map(Number);
|
|
814
|
+
b.on("mousemove", (event3) => {
|
|
815
|
+
g.attr("transform", "translate(" + (x1 + event3.clientX - x) + "," + (y1 + event3.clientY - y) + ")");
|
|
816
|
+
});
|
|
817
|
+
b.on("mouseup", (event3) => {
|
|
818
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
819
|
+
d.x_ = xscale.invert(x1 + event3.clientX - x);
|
|
820
|
+
d.y_ = yscale.invert(y1 + event3.clientY - y);
|
|
821
|
+
});
|
|
822
|
+
}).on("dblclick", (event2, d) => {
|
|
823
|
+
obj.menu2.clear().show(event2.clientX - 90, event2.clientY);
|
|
824
|
+
obj.menu2.d.append("input").attr("type", "text").property("value", d.sample).style("display", "block").style("margin-bottom", "5px").on("keyup", (event3) => {
|
|
825
|
+
if (!keyupEnter(event3)) return;
|
|
826
|
+
const v = event3.target.value;
|
|
827
|
+
Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).text(v));
|
|
828
|
+
d.sample = v;
|
|
829
|
+
obj.menu2.hide();
|
|
830
|
+
});
|
|
831
|
+
obj.menu2.d.append("input").attr("type", "color").property("value", d.color).on("change", (event3) => {
|
|
832
|
+
const v = event3.target.value;
|
|
833
|
+
Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).attr("fill", v));
|
|
834
|
+
usercircles.filter((i) => i.sample == d.sample).attr("fill", v);
|
|
835
|
+
d.color = v;
|
|
836
|
+
});
|
|
837
|
+
});
|
|
838
|
+
userlabel_grp.userlabels.append("title").text("Double-click to edit");
|
|
839
|
+
}
|
|
840
|
+
assign_color4dots(obj);
|
|
841
|
+
function resize() {
|
|
842
|
+
bottompad = width / 20 + 20;
|
|
843
|
+
svg.attr("width", leftpad + vpad + width + rightpad).attr("height", toppad + height + vpad + bottompad);
|
|
844
|
+
const new_xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : xscale;
|
|
845
|
+
const new_yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : yscale;
|
|
846
|
+
new_xscale.range([0, width]);
|
|
847
|
+
new_yscale.range([height, 0]);
|
|
848
|
+
dots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
|
|
849
|
+
if (userdots) {
|
|
850
|
+
userdots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
|
|
851
|
+
userlabelg.attr("transform", (d) => {
|
|
852
|
+
const x = d.x_ ? new_xscale(d.x_) : new_xscale(d.x), y = d.y_ ? new_yscale(d.y_) : new_yscale(d.y);
|
|
853
|
+
let lw;
|
|
854
|
+
Object.values(userlabel_grp).forEach(
|
|
855
|
+
(labels) => labels.filter((i) => i.sample == d.sample).each(function() {
|
|
856
|
+
lw = this.getBBox().width;
|
|
857
|
+
}).attr("text-anchor", x + lw >= width ? "end" : "start")
|
|
858
|
+
);
|
|
859
|
+
return "translate(" + x + "," + y + ")";
|
|
860
|
+
});
|
|
861
|
+
}
|
|
862
|
+
currBbox = rootholder.getBoundingClientRect();
|
|
863
|
+
if (obj.userlabel_grp && userlabelg && userlabelg.size()) {
|
|
864
|
+
uncollide(userlabelg, { waitTime: 0, nameKey: "sample" });
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
resize();
|
|
868
|
+
obj.scattersvg_resizehandle.style("position", "absolute").style("right", "0px").style("bottom", "0px").attr("class", "sja_clbtext").text("drag to resize").on("mousedown", (event2) => {
|
|
869
|
+
event2.preventDefault();
|
|
870
|
+
const b = select_default(document.body);
|
|
871
|
+
const x = event2.clientX;
|
|
872
|
+
const y = event2.clientY;
|
|
873
|
+
const w0 = width;
|
|
874
|
+
const h0 = height;
|
|
875
|
+
b.on("mousemove", (event3) => {
|
|
876
|
+
width = w0 + event3.clientX - x;
|
|
877
|
+
height = h0 + event3.clientY - y;
|
|
878
|
+
resize();
|
|
879
|
+
});
|
|
880
|
+
b.on("mouseup", () => {
|
|
881
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
882
|
+
});
|
|
883
|
+
});
|
|
884
|
+
function resetDimensions() {
|
|
885
|
+
const bbox2 = rootholder.getBoundingClientRect();
|
|
886
|
+
const w = width * bbox2.width / currBbox.width;
|
|
887
|
+
width = obj.dimensions.minWidth ? Math.max(obj.dimensions.minWidth, w) : w;
|
|
888
|
+
const h = height * bbox2.height / currBbox.height;
|
|
889
|
+
height = obj.dimensions.minHeight ? Math.max(obj.dimensions.minHeight, h) : h;
|
|
890
|
+
currBbox = bbox2;
|
|
891
|
+
resize();
|
|
892
|
+
}
|
|
893
|
+
let timeout;
|
|
894
|
+
if (obj.dimensions.autoResize) {
|
|
895
|
+
window.addEventListener("resize", () => {
|
|
896
|
+
if (timeout) clearTimeout(timeout);
|
|
897
|
+
timeout = setTimeout(resetDimensions, 50);
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
makeConfigPanel(obj);
|
|
901
|
+
}
|
|
902
|
+
function makeConfigPanel(obj) {
|
|
903
|
+
const svg = obj.scattersvg;
|
|
904
|
+
obj.scattersvg_buttons.style("position", "absolute").style("right", "0px").style("top", "0px");
|
|
905
|
+
obj.zoom_active = false;
|
|
906
|
+
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);
|
|
907
|
+
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");
|
|
908
|
+
const zoom_inout_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
909
|
+
zoom_inout_div.append("div").style("display", "block").style("padding", "2px 4px").style("font-size", "80%").text("Zoom");
|
|
910
|
+
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>');
|
|
911
|
+
const zoom_in_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 7px").text("+");
|
|
912
|
+
const zoom_out_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("-");
|
|
913
|
+
const pan_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
914
|
+
pan_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Pan");
|
|
915
|
+
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>');
|
|
916
|
+
const reset_div = zoom_menu.append("div").style("margin", "5px 2px");
|
|
917
|
+
const reset_btn = reset_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("Reset");
|
|
918
|
+
function zoomToggle() {
|
|
919
|
+
obj.zoom_active = obj.zoom_active ? false : true;
|
|
920
|
+
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");
|
|
921
|
+
lasso_btn.style("pointer-events", obj.zoom_active ? "none" : "auto");
|
|
922
|
+
zoom_menu.style("display", obj.zoom_active ? "block" : "none");
|
|
923
|
+
const zoom = zoom_default().scaleExtent([1, 5]).on("zoom", obj.zoom_active ? zoomed : null);
|
|
924
|
+
function zoomed(event2) {
|
|
925
|
+
obj.new_xscale = event2.transform.rescaleX(obj.xscale);
|
|
926
|
+
obj.new_yscale = event2.transform.rescaleY(obj.yscale);
|
|
927
|
+
obj.zoomed_scale = event2.transform.k;
|
|
928
|
+
const dots = obj.dotg.selectAll(".sample_dot");
|
|
929
|
+
dots.attr("transform", (d) => "translate(" + obj.new_xscale(d.x) + "," + obj.new_yscale(d.y) + ")");
|
|
930
|
+
const userlabelg = obj.dotg.selectAll(".userlabelg");
|
|
931
|
+
userlabelg.attr(
|
|
932
|
+
"transform",
|
|
933
|
+
(d) => "translate(" + obj.new_xscale(d.x_ || d.x) + "," + obj.new_yscale(d.y_ || d.y) + ")"
|
|
934
|
+
);
|
|
935
|
+
}
|
|
936
|
+
if (obj.zoom_active) svg.call(zoom);
|
|
937
|
+
else svg.on(".zoom", null);
|
|
938
|
+
zoom_in_btn.on("click", () => {
|
|
939
|
+
zoom.scaleBy(svg.transition().duration(750), 1.5);
|
|
940
|
+
});
|
|
941
|
+
zoom_out_btn.on("click", () => {
|
|
942
|
+
zoom.scaleBy(svg.transition().duration(750), 0.5);
|
|
943
|
+
});
|
|
944
|
+
reset_btn.on("click", () => {
|
|
945
|
+
svg.transition().duration(750).call(zoom.transform, identity);
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
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);
|
|
949
|
+
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");
|
|
950
|
+
const lasso_div = lasso_menu.append("div").style("margin", "5px 2px");
|
|
951
|
+
lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Lasso usage");
|
|
952
|
+
lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html(
|
|
953
|
+
'<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>'
|
|
954
|
+
);
|
|
955
|
+
function lassoToggle() {
|
|
956
|
+
const dots = obj.dotg.selectAll("g");
|
|
957
|
+
obj.lasso_active = obj.lasso_active ? false : true;
|
|
958
|
+
zoom_btn.style("pointer-events", obj.lasso_active ? "none" : "auto");
|
|
959
|
+
lasso_menu.style("display", obj.lasso_active ? "block" : "none");
|
|
960
|
+
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");
|
|
961
|
+
lasso_select(obj, dots);
|
|
962
|
+
if (obj.lasso_active) return;
|
|
963
|
+
dots.selectAll("circle").classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
function assign_color4dots(obj) {
|
|
967
|
+
let byattr;
|
|
968
|
+
if (obj.colorbygeneexpression && obj.colorbygeneexpression.__inuse) {
|
|
969
|
+
} else if (obj.attr_levels) {
|
|
970
|
+
byattr = { key: obj.attr_levels[1].key };
|
|
971
|
+
byattr.values = obj.sample_attributes[byattr.key].values;
|
|
972
|
+
} else if (obj.colorbyattributes) {
|
|
973
|
+
byattr = { key: (obj.colorbyattributes.find((i) => i.__inuse) || obj.colorbyattributes[0]).key };
|
|
974
|
+
byattr.values = obj.sample_attributes[byattr.key].values;
|
|
975
|
+
}
|
|
976
|
+
obj.dotselection.transition().attr("fill", (d) => {
|
|
977
|
+
if (byattr) {
|
|
978
|
+
const v = d.s[byattr.key];
|
|
979
|
+
return byattr.values[v] ? byattr.values[v].color : "black";
|
|
980
|
+
}
|
|
981
|
+
return "#ccc";
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
function init_dotcolor_legend(obj) {
|
|
985
|
+
if (obj.attr_levels) {
|
|
986
|
+
legend_attr_levels(obj);
|
|
987
|
+
return;
|
|
988
|
+
}
|
|
989
|
+
if (obj.colorbyattributes) {
|
|
990
|
+
legend_flatlist(obj);
|
|
991
|
+
return;
|
|
992
|
+
}
|
|
993
|
+
if (obj.colorbygeneexpression) {
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
function legend_attr_levels(obj) {
|
|
997
|
+
const staydiv = obj.legendtable.append("tr").append("td").append("div").style("position", "relative");
|
|
998
|
+
const scrolldiv = staydiv.append("div");
|
|
999
|
+
const L1 = obj.attr_levels[0];
|
|
1000
|
+
L1.v2c = /* @__PURE__ */ new Map();
|
|
1001
|
+
L1.unannotated = 0;
|
|
1002
|
+
for (const d of obj.dots) {
|
|
1003
|
+
const v = d.s[L1.key];
|
|
1004
|
+
if (v == void 0 || v == null) {
|
|
1005
|
+
L1.unannotated++;
|
|
1006
|
+
continue;
|
|
1007
|
+
}
|
|
1008
|
+
if (!L1.v2c.has(v)) L1.v2c.set(v, { dots: [] });
|
|
1009
|
+
L1.v2c.get(v).dots.push(d);
|
|
1010
|
+
if (L1.label) {
|
|
1011
|
+
L1.v2c.get(v).label = d.s[L1.label];
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
for (const L1value of get_itemOrderList(L1, obj)) {
|
|
1015
|
+
const L1o = L1.v2c.get(L1value);
|
|
1016
|
+
const L1div = scrolldiv.append("div").style("margin-top", "20px").attr("class", "sja_lb_div");
|
|
1017
|
+
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");
|
|
1018
|
+
const L2 = obj.attr_levels[1];
|
|
1019
|
+
if (L2) {
|
|
1020
|
+
const L2values = obj.sample_attributes[L2.key].values;
|
|
1021
|
+
L2.v2c = /* @__PURE__ */ new Map();
|
|
1022
|
+
L2.unannotated = 0;
|
|
1023
|
+
for (const d of L1o.dots) {
|
|
1024
|
+
const v = d.s[L2.key];
|
|
1025
|
+
if (v == void 0 || v == null) {
|
|
1026
|
+
L2.unannotated++;
|
|
1027
|
+
continue;
|
|
1028
|
+
}
|
|
1029
|
+
if (!L2.v2c.has(v)) {
|
|
1030
|
+
const o = L2values[v];
|
|
1031
|
+
if (o) {
|
|
1032
|
+
o.dots = [];
|
|
1033
|
+
L2.v2c.set(v, o);
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
if (L2.v2c.has(v)) {
|
|
1037
|
+
L2.v2c.get(v).dots.push(d);
|
|
1038
|
+
if (L2.label) {
|
|
1039
|
+
L2.v2c.get(v).label = d.s[L2.label];
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
if (!obj.hide_subtype_legend) {
|
|
1044
|
+
for (const L2value of get_itemOrderList(L2, obj)) {
|
|
1045
|
+
const L2o = L2.v2c.get(L2value);
|
|
1046
|
+
const cell = L1div.append("div").style("display", "inline-block").style("white-space", "nowrap").attr("class", "sja_clb").on("click", () => {
|
|
1047
|
+
if (L2o.selected) {
|
|
1048
|
+
L2o.selected = false;
|
|
1049
|
+
cell.style("border", "");
|
|
1050
|
+
let alloff2 = true;
|
|
1051
|
+
for (const k in L2values) {
|
|
1052
|
+
if (L2values[k].selected) alloff2 = false;
|
|
1053
|
+
}
|
|
1054
|
+
if (alloff2) {
|
|
1055
|
+
obj.dotselection.transition().attr("r", radius);
|
|
1056
|
+
} else {
|
|
1057
|
+
obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius_tiny);
|
|
1058
|
+
}
|
|
1059
|
+
return;
|
|
1060
|
+
}
|
|
1061
|
+
let alloff = true;
|
|
1062
|
+
for (const k in L2values) {
|
|
1063
|
+
if (L2values[k].selected) alloff = false;
|
|
1064
|
+
}
|
|
1065
|
+
L2o.selected = true;
|
|
1066
|
+
cell.style("border", "solid 1px #858585");
|
|
1067
|
+
if (alloff) {
|
|
1068
|
+
obj.dotselection.transition().attr("r", (d) => d.s[L2.key] == L2value ? radius : radius_tiny);
|
|
1069
|
+
} else {
|
|
1070
|
+
obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius);
|
|
1071
|
+
}
|
|
1072
|
+
});
|
|
1073
|
+
cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", L2o.color).style("margin-right", "3px").text(L2o.dots.length);
|
|
1074
|
+
cell.append("div").style("display", "inline-block").style("color", L2o.color).text(L2o.label || L2value);
|
|
1075
|
+
L2o.cell = cell;
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
if (L2.unannotated) {
|
|
1079
|
+
const d = L1div.append("div").style("margin-top", "20px");
|
|
1080
|
+
d.append("div").text('Unannotated for "' + L2.key + '": ' + L2.unannotated);
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
if (L1.unannotated) {
|
|
1085
|
+
const d = scrolldiv.append("div").style("margin-top", "20px");
|
|
1086
|
+
d.append("div").html('Unannotated for "' + L1.key + '": ' + L1.unannotated);
|
|
1087
|
+
}
|
|
1088
|
+
if (L1.v2c.size > 10) {
|
|
1089
|
+
scrolldiv.style("overflow-y", "scroll").style("height", "800px").style("resize", "vertical");
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
function get_itemOrderList(level, obj) {
|
|
1093
|
+
const register = obj.sample_attributes[level.key];
|
|
1094
|
+
if (!register.values || register.orderByCount) {
|
|
1095
|
+
return [...level.v2c].sort((i, j) => j[1].dots.length - i[1].dots.length).map((i) => i[0]);
|
|
1096
|
+
}
|
|
1097
|
+
const lst = [];
|
|
1098
|
+
for (const k in register.values) {
|
|
1099
|
+
if (level.v2c.has(k)) lst.push(k);
|
|
1100
|
+
}
|
|
1101
|
+
return lst;
|
|
1102
|
+
}
|
|
1103
|
+
function legend_flatlist(obj) {
|
|
1104
|
+
if (!obj.colorbyattributes.find((i) => i.__inuse)) obj.colorbyattributes[0].__inuse = true;
|
|
1105
|
+
for (const attr of obj.colorbyattributes) {
|
|
1106
|
+
const tr = obj.legendtable.append("tr");
|
|
1107
|
+
attr.labelhandle = tr.append("td").append("div").style("white-space", "nowrap").text(attr.label).attr("class", "sja_clb").on("click", () => {
|
|
1108
|
+
for (const attr2 of obj.colorbyattributes) {
|
|
1109
|
+
attr2.__inuse = false;
|
|
1110
|
+
attr2.labelhandle.style("background", "").style("border-bottom", "");
|
|
1111
|
+
}
|
|
1112
|
+
attr.__inuse = true;
|
|
1113
|
+
attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
|
|
1114
|
+
assign_color4dots(obj);
|
|
1115
|
+
});
|
|
1116
|
+
if (attr.__inuse) {
|
|
1117
|
+
attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
|
|
1118
|
+
}
|
|
1119
|
+
for (const d of obj.dots) {
|
|
1120
|
+
const v = d.s[attr.key];
|
|
1121
|
+
if (v == void 0 || v == null) continue;
|
|
1122
|
+
if (!attr.values[v]) attr.values[v] = { color: "black" };
|
|
1123
|
+
attr.values[v].count = 1 + (attr.values[v].count || 0);
|
|
1124
|
+
}
|
|
1125
|
+
const cellholder = tr.append("td");
|
|
1126
|
+
for (const value in attr.values) {
|
|
1127
|
+
const o = attr.values[value];
|
|
1128
|
+
if (o.count == 0 || o.count == void 0) continue;
|
|
1129
|
+
const cell = cellholder.append("div").style("display", "inline-block").attr("class", "sja_clb").on("click", () => {
|
|
1130
|
+
if (o.selected) {
|
|
1131
|
+
o.selected = false;
|
|
1132
|
+
cell.style("border", "");
|
|
1133
|
+
let alloff2 = true;
|
|
1134
|
+
for (const k in attr.values) {
|
|
1135
|
+
if (attr.values[k].selected) alloff2 = false;
|
|
1136
|
+
}
|
|
1137
|
+
if (alloff2) {
|
|
1138
|
+
obj.dotselection.transition().attr("r", radius);
|
|
1139
|
+
} else {
|
|
1140
|
+
obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius_tiny);
|
|
1141
|
+
}
|
|
1142
|
+
return;
|
|
1143
|
+
}
|
|
1144
|
+
let alloff = true;
|
|
1145
|
+
for (const k in attr.values) {
|
|
1146
|
+
if (attr.values[k].selected) alloff = false;
|
|
1147
|
+
}
|
|
1148
|
+
o.selected = true;
|
|
1149
|
+
cell.style("border", "solid 1px #858585");
|
|
1150
|
+
if (alloff) {
|
|
1151
|
+
obj.dotselection.transition().attr("r", (d) => d.s[attr.key] == value ? radius : radius_tiny);
|
|
1152
|
+
} else {
|
|
1153
|
+
obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius);
|
|
1154
|
+
}
|
|
1155
|
+
});
|
|
1156
|
+
cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", o.color).style("margin-right", "3px").text(o.count);
|
|
1157
|
+
cell.append("div").style("display", "inline-block").style("color", o.color).text(o.name || value);
|
|
1158
|
+
o.cell = cell;
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
function update_dotcolor_legend(obj) {
|
|
1163
|
+
const filterd_dots = obj.dots.filter((d) => obj.filteredSamples.has(d.sample));
|
|
1164
|
+
const attrs_list = Array.from(filterd_dots, (d) => d.s);
|
|
1165
|
+
const key1 = obj.attr_levels?.[0].label || obj.attr_levels?.[0].key;
|
|
1166
|
+
const l1_labs = [...new Set(Array.from(attrs_list, (a) => a[key1]))];
|
|
1167
|
+
const key2 = obj.attr_levels?.[1].label || obj.attr_levels?.[1].key;
|
|
1168
|
+
const l2_labs = [...new Set(Array.from(attrs_list, (a) => a[key2]))];
|
|
1169
|
+
const legend_divs = obj.legendtable.node().querySelectorAll(".sja_lb_div");
|
|
1170
|
+
for (const div1 of legend_divs) {
|
|
1171
|
+
const l1_label = select_default(div1).select(".sja_l1lb").node().innerText.split(/\s{2}n=/)[0];
|
|
1172
|
+
if (!l1_labs.includes(l1_label)) select_default(div1).style("display", "none");
|
|
1173
|
+
else {
|
|
1174
|
+
select_default(div1).style("display", "block");
|
|
1175
|
+
const l2_divs = select_default(div1).node().querySelectorAll(".sja_clb");
|
|
1176
|
+
for (const div2 of l2_divs) {
|
|
1177
|
+
const clab = select_default(div2).node().querySelectorAll("div")[1];
|
|
1178
|
+
if (!l2_labs.includes(clab.innerText)) select_default(div2).style("display", "none");
|
|
1179
|
+
else select_default(div2).style("display", "inline-block");
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
function click_dot(dot, obj, event2) {
|
|
1185
|
+
if (obj.dslabel) {
|
|
1186
|
+
click_dot_mdsview(dot, obj, event2);
|
|
1187
|
+
return;
|
|
1188
|
+
}
|
|
1189
|
+
if (obj.mds) {
|
|
1190
|
+
click_dot_disco(dot, obj, event2);
|
|
1191
|
+
return;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
async function click_dot_disco(dot, obj, event2) {
|
|
1195
|
+
const pane = newpane({ x: event2.clientX, y: event2.clientY });
|
|
1196
|
+
pane.header.text(dot.sample);
|
|
1197
|
+
const wait = tab_wait(pane.body);
|
|
1198
|
+
try {
|
|
1199
|
+
const sjcharts = await getsjcharts();
|
|
1200
|
+
const arg = {
|
|
1201
|
+
genome: obj.genome.name,
|
|
1202
|
+
dslabel: obj.mds.label,
|
|
1203
|
+
querykey: obj.mds.querykey,
|
|
1204
|
+
getsample4disco: dot.sample
|
|
1205
|
+
};
|
|
1206
|
+
const data = await dofetch("/mdssvcnv", arg);
|
|
1207
|
+
if (data.error) throw data.error;
|
|
1208
|
+
if (!data.text) throw ".text missing";
|
|
1209
|
+
const discoHolder = pane.body.append("div");
|
|
1210
|
+
const renderer = await sjcharts.dtDisco({
|
|
1211
|
+
holderSelector: discoHolder,
|
|
1212
|
+
chromosomeType: obj.genome.name,
|
|
1213
|
+
majorchr: obj.genome.majorchr,
|
|
1214
|
+
settings: {
|
|
1215
|
+
showControls: false,
|
|
1216
|
+
selectedSamples: []
|
|
1217
|
+
},
|
|
1218
|
+
callbacks: {
|
|
1219
|
+
geneLabelClick: {
|
|
1220
|
+
type: "genomepaint",
|
|
1221
|
+
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1222
|
+
genome: obj.genome.name,
|
|
1223
|
+
dslabel: obj.mds.label,
|
|
1224
|
+
sample: dot.sample
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
});
|
|
1228
|
+
const disco_arg = {
|
|
1229
|
+
sampleName: dot.sample,
|
|
1230
|
+
data: JSON.parse(data.text)
|
|
1231
|
+
};
|
|
1232
|
+
renderer.main(disco_arg);
|
|
1233
|
+
wait.remove();
|
|
1234
|
+
} catch (e) {
|
|
1235
|
+
wait.text("Error: " + (e.message || e));
|
|
1236
|
+
if (e.stack) console.log(e.stack);
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
function click_dot_mdsview(dot, obj, event2) {
|
|
1240
|
+
const pane = newpane({ x: event2.clientX, y: event2.clientY });
|
|
1241
|
+
pane.header.text(dot.sample);
|
|
1242
|
+
const wait = pane.body.append("div").style("margin", "20px").text("Loading ...");
|
|
1243
|
+
dofetch("/mdssvcnv", {
|
|
1244
|
+
genome: obj.genome.name,
|
|
1245
|
+
dslabel: obj.dslabel,
|
|
1246
|
+
querykey: obj.querykey,
|
|
1247
|
+
// TODO general track
|
|
1248
|
+
gettrack4singlesample: dot.sample
|
|
1249
|
+
}).then((data) => {
|
|
1250
|
+
wait.remove();
|
|
1251
|
+
launch_singlesample({
|
|
1252
|
+
obj,
|
|
1253
|
+
dot,
|
|
1254
|
+
sampletracks: data.tracks,
|
|
1255
|
+
holder: pane.body
|
|
1256
|
+
});
|
|
1257
|
+
});
|
|
1258
|
+
}
|
|
1259
|
+
function lasso_select(obj, dots) {
|
|
1260
|
+
const svg = obj.scattersvg;
|
|
1261
|
+
let lasso;
|
|
1262
|
+
if (obj.lasso_active) {
|
|
1263
|
+
lasso = d3lasso().items(dots.selectAll("circle")).targetArea(svg);
|
|
1264
|
+
lasso.on("start", scatterplot_lasso_start).on("draw", scatterplot_lasso_draw).on("end", scatterplot_lasso_end);
|
|
1265
|
+
svg.call(lasso);
|
|
1266
|
+
} else {
|
|
1267
|
+
svg.selectAll(".lasso").remove();
|
|
1268
|
+
svg.on("mousedown.drag", null);
|
|
1269
|
+
}
|
|
1270
|
+
function scatterplot_lasso_start() {
|
|
1271
|
+
if (!obj.lasso_active) return;
|
|
1272
|
+
lasso.items().attr("r", 2).style("fill-opacity", ".5").classed("not_possible", true).classed("selected", false);
|
|
1273
|
+
}
|
|
1274
|
+
function scatterplot_lasso_draw() {
|
|
1275
|
+
if (!obj.lasso_active) return;
|
|
1276
|
+
lasso.possibleItems().attr("r", radius).style("fill-opacity", "1").classed("not_possible", false).classed("possible", true);
|
|
1277
|
+
}
|
|
1278
|
+
function scatterplot_lasso_end(event2) {
|
|
1279
|
+
if (!obj.lasso_active) return;
|
|
1280
|
+
const selected_samples = svg.selectAll(".possible").data().map((d) => d.sample);
|
|
1281
|
+
if (selected_samples.length) show_lasso_menu(event2, selected_samples);
|
|
1282
|
+
else obj.menu.hide();
|
|
1283
|
+
lasso.items().classed("not_possible", false).classed("possible", false);
|
|
1284
|
+
lasso.selectedItems().attr("r", radius);
|
|
1285
|
+
lasso.notSelectedItems().attr("r", selected_samples.length == 0 ? radius : radius_tiny).style("fill-opacity", "1");
|
|
1286
|
+
}
|
|
1287
|
+
function show_lasso_menu(event2, samples) {
|
|
1288
|
+
obj.menu.clear().show(event2.sourceEvent.clientX - 90, event2.sourceEvent.clientY);
|
|
1289
|
+
if (obj.mds && obj.mds.gene2mutcount) {
|
|
1290
|
+
obj.menu.d.append("div").attr("class", "sja_menuoption").text("Recurrently mutated genes").on("click", async () => {
|
|
1291
|
+
obj.menu.hide();
|
|
1292
|
+
await click_mutated_genes(obj, samples);
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
for (const opt of obj.lasso.postSelectMenuOptions) {
|
|
1296
|
+
obj.menu.d.append("div").attr("class", "sja_menuoption").text(opt.label).on("click", async () => {
|
|
1297
|
+
obj.menu.hide();
|
|
1298
|
+
const arg = {
|
|
1299
|
+
samples,
|
|
1300
|
+
sample_attributes: obj.sample_attributes,
|
|
1301
|
+
sample2dot: obj.sample2dot
|
|
1302
|
+
};
|
|
1303
|
+
if (opt.callback == "listSamples") printData(arg);
|
|
1304
|
+
else opt.callback(arg);
|
|
1305
|
+
});
|
|
1306
|
+
}
|
|
1307
|
+
obj.menu.d.append("div").attr("class", "sja_menuoption").text("Cancel").on("click", () => {
|
|
1308
|
+
lasso.items().classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
|
|
1309
|
+
obj.menu.hide();
|
|
1310
|
+
});
|
|
1311
|
+
obj.menu.d.append("div").style("padding", "10px").style("font-size", ".8em").style("width", "150px").text(samples.length + " samples selected");
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
function printData(obj) {
|
|
1315
|
+
const { samples, sample_attributes, sample2dot } = obj;
|
|
1316
|
+
const label_keys = Object.keys(sample_attributes);
|
|
1317
|
+
let labels = label_keys.map((k) => sample_attributes[k].label ? sample_attributes[k].label : k);
|
|
1318
|
+
labels.unshift("Sample");
|
|
1319
|
+
const labels_str = labels.join(" ");
|
|
1320
|
+
const lst = [labels_str];
|
|
1321
|
+
for (const s of samples) {
|
|
1322
|
+
if (sample2dot.get(s).s) {
|
|
1323
|
+
let sample_row = [];
|
|
1324
|
+
sample_row.push(s);
|
|
1325
|
+
for (const k of label_keys) sample_row.push(sample2dot.get(s).s[k]);
|
|
1326
|
+
lst.push(sample_row.join(" "));
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
export_data("List of selected samples", [{ text: lst.join("\n") }]);
|
|
1330
|
+
}
|
|
1331
|
+
function click_mutated_genes(obj, samples) {
|
|
1332
|
+
obj.pane = newpane({ x: event.clientX, y: event.clientY });
|
|
1333
|
+
obj.pane.header.text("Recurrently Mutated Genes");
|
|
1334
|
+
obj.pane.wait = tab_wait(obj.pane.body);
|
|
1335
|
+
obj.pane.matrix_criteria_div = obj.pane.body.append("div");
|
|
1336
|
+
obj.pane.sample_matrix_div = obj.pane.body.append("div");
|
|
1337
|
+
init_mutation_type_control(obj, samples);
|
|
1338
|
+
}
|
|
1339
|
+
function init_mutation_type_control(obj, samples) {
|
|
1340
|
+
let mutTypes = [], defaultTypes = [], selectedTypes = [], selected_cnv, nGenes = 15;
|
|
1341
|
+
const holder = obj.pane.matrix_criteria_div;
|
|
1342
|
+
if (obj.mds.mutCountType) {
|
|
1343
|
+
mutTypes = obj.mds.mutCountType;
|
|
1344
|
+
const non_cnv_types = mutTypes.filter((m) => !m.db_col.includes("cnv"));
|
|
1345
|
+
const cnv_types = mutTypes.filter((m) => m.db_col.includes("cnv"));
|
|
1346
|
+
const default_cnv = cnv_types.find((t) => t.default);
|
|
1347
|
+
selected_cnv = default_cnv;
|
|
1348
|
+
defaultTypes = mutTypes.filter((t) => t.default).map((t) => t.db_col);
|
|
1349
|
+
selectedTypes = [...defaultTypes];
|
|
1350
|
+
const buttonrow = holder.append("div").style("margin", "5px 20px");
|
|
1351
|
+
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");
|
|
1352
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("MUTATION COUNT & NO. OF GENE CRITERIA").attr("class", "sja_clbtext").on("click", () => {
|
|
1353
|
+
if (criteria_div.style("display") == "none") {
|
|
1354
|
+
appear(criteria_div);
|
|
1355
|
+
} else {
|
|
1356
|
+
disappear(criteria_div);
|
|
1357
|
+
}
|
|
1358
|
+
});
|
|
1359
|
+
const mut_div = criteria_div.append("div");
|
|
1360
|
+
const mut_label_div = mut_div.append("div").style("display", "table-cell").style("width", "110px");
|
|
1361
|
+
mut_label_div.append("div").text("Consequences").style("padding-right", "15px");
|
|
1362
|
+
const mut_types_div = mut_div.append("div").style("display", "table-cell").style("border-left", "solid 1px #ededed");
|
|
1363
|
+
non_cnv_types.forEach((type) => {
|
|
1364
|
+
const m_div = mut_types_div.append("div");
|
|
1365
|
+
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);
|
|
1366
|
+
checkbox.on("change", () => {
|
|
1367
|
+
if (checkbox.node().checked) {
|
|
1368
|
+
selectedTypes.push(checkbox.node().value);
|
|
1369
|
+
} else {
|
|
1370
|
+
selectedTypes = selectedTypes.filter((t) => t !== checkbox.node().value);
|
|
1371
|
+
}
|
|
1372
|
+
});
|
|
1373
|
+
m_div.append("label").attr("for", type.db_col).html(type.label);
|
|
1374
|
+
});
|
|
1375
|
+
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", () => {
|
|
1376
|
+
if (cnv_checkbox.node().checked) {
|
|
1377
|
+
size_select.property("disabled", false);
|
|
1378
|
+
ratio_select.property("disabled", false);
|
|
1379
|
+
} else {
|
|
1380
|
+
size_select.property("disabled", true);
|
|
1381
|
+
ratio_select.property("disabled", true);
|
|
1382
|
+
}
|
|
1383
|
+
});
|
|
1384
|
+
mut_types_div.append("label").attr("for", "cnv").text("CNV");
|
|
1385
|
+
const cnv_options_div = mut_types_div.append("div").style("display", "block").style("padding", "3px 15px");
|
|
1386
|
+
const cnv_size_cutoff = [...new Set(cnv_types.map((t) => t.sizecutoff))];
|
|
1387
|
+
const cnv_ratio_cutoff = [...new Set(cnv_types.map((t) => t.log2cutoff))];
|
|
1388
|
+
cnv_options_div.append("label").attr("for", "cnv_size").style("margin", "2px 10px").text("Size cutoff");
|
|
1389
|
+
const size_select = cnv_options_div.append("select").attr("name", "cnv_size");
|
|
1390
|
+
cnv_size_cutoff.forEach((size) => {
|
|
1391
|
+
size_select.append("option").attr("value", size).text(size);
|
|
1392
|
+
});
|
|
1393
|
+
size_select.property("selectedIndex", default_cnv.sizecutoff == "1Mb" ? 0 : default_cnv.sizecutoff == "2Mb" ? 1 : 2);
|
|
1394
|
+
cnv_options_div.append("label").attr("for", "log2_ratio").style("margin", "2px 10px").text("log2(ratio) cutoff");
|
|
1395
|
+
const ratio_select = cnv_options_div.append("select").attr("name", "log2_ratio");
|
|
1396
|
+
cnv_ratio_cutoff.forEach((ratio) => {
|
|
1397
|
+
ratio_select.append("option").attr("value", ratio.toFixed(1)).text(ratio.toFixed(1));
|
|
1398
|
+
});
|
|
1399
|
+
ratio_select.property("selectedIndex", default_cnv.log2cutoff == 0.1 ? 0 : default_cnv.log2cutoff == 0.2 ? 1 : 2);
|
|
1400
|
+
const gene_div = criteria_div.append("div").style("padding-top", "10px");
|
|
1401
|
+
const gene_label_div = gene_div.append("div").style("display", "table-cell").style("width", "110px");
|
|
1402
|
+
gene_label_div.append("div").text("No. of Genes").style("padding-right", "15px");
|
|
1403
|
+
const gene_n_select_div = gene_div.append("div").style("display", "table-cell").style("padding", "3px").style("border-left", "solid 1px #ededed");
|
|
1404
|
+
const gene_n = [10, 15, 20, 30, 40];
|
|
1405
|
+
const gene_n_select = gene_n_select_div.append("select").attr("name", "gene_n");
|
|
1406
|
+
gene_n.forEach((n) => {
|
|
1407
|
+
gene_n_select.append("option").attr("value", n).text(n);
|
|
1408
|
+
});
|
|
1409
|
+
gene_n_select.property(
|
|
1410
|
+
"selectedIndex",
|
|
1411
|
+
gene_n.findIndex((n) => n == nGenes)
|
|
1412
|
+
);
|
|
1413
|
+
const calc_btn = criteria_div.append("button").style("margin", "10px").style("padding", "3px 10px").text("Calculate").on("click", () => {
|
|
1414
|
+
const checked_boxes = mut_types_div.node().querySelectorAll("input:checked");
|
|
1415
|
+
selectedTypes = [];
|
|
1416
|
+
checked_boxes.forEach((checkbox) => {
|
|
1417
|
+
if (checkbox.value !== "cnv" && !selectedTypes.includes(checkbox.value)) selectedTypes.push(checkbox.value);
|
|
1418
|
+
else if (checkbox.value == "cnv") {
|
|
1419
|
+
const selected_size = size_select.node().value;
|
|
1420
|
+
const selected_ratio = ratio_select.node().value;
|
|
1421
|
+
selected_cnv = cnv_types.find((t) => t.sizecutoff == selected_size && t.log2cutoff == selected_ratio);
|
|
1422
|
+
selectedTypes.push(selected_cnv.db_col);
|
|
1423
|
+
}
|
|
1424
|
+
});
|
|
1425
|
+
nGenes = gene_n_select.node().value;
|
|
1426
|
+
get_mutation_count_data(obj, samples, selectedTypes, nGenes);
|
|
1427
|
+
defaultTypes = [...selectedTypes];
|
|
1428
|
+
});
|
|
1429
|
+
} else defaultTypes = ["total"];
|
|
1430
|
+
get_mutation_count_data(obj, samples, defaultTypes, nGenes);
|
|
1431
|
+
}
|
|
1432
|
+
async function get_mutation_count_data(obj, samples, selectedMutTypes, nGenes) {
|
|
1433
|
+
try {
|
|
1434
|
+
const arg = {
|
|
1435
|
+
genome: obj.genome.name,
|
|
1436
|
+
dslabel: obj.mds.label,
|
|
1437
|
+
samples,
|
|
1438
|
+
selectedMutTypes,
|
|
1439
|
+
nGenes
|
|
1440
|
+
};
|
|
1441
|
+
const data = await dofetch2("mdsgenecount", { method: "POST", body: JSON.stringify(arg) });
|
|
1442
|
+
if (data.error) throw data.error;
|
|
1443
|
+
if (!data.genes) throw ".genes missing";
|
|
1444
|
+
if (!data.genes.length) {
|
|
1445
|
+
obj.pane.wait.html("No gene retrived with mutations.");
|
|
1446
|
+
obj.pane.matrix_criteria_div.style("display", "none");
|
|
1447
|
+
return;
|
|
1448
|
+
}
|
|
1449
|
+
make_sample_matrix({ obj, genes: data.genes, samples, holder: obj.pane.body });
|
|
1450
|
+
obj.pane.wait.remove();
|
|
1451
|
+
} catch (e) {
|
|
1452
|
+
obj.pane.wait.text("Error: " + (e.message || e));
|
|
1453
|
+
if (e.stack) console.log(e.stack);
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
function make_sample_matrix(args) {
|
|
1457
|
+
const { obj, genes, samples } = args;
|
|
1458
|
+
const holder = obj.pane.sample_matrix_div;
|
|
1459
|
+
holder.selectAll("*").remove();
|
|
1460
|
+
for (const g of genes) {
|
|
1461
|
+
g.ismutation = true;
|
|
1462
|
+
g.genename = g.gene;
|
|
1463
|
+
g.label = g.gene;
|
|
1464
|
+
delete g.gene;
|
|
1465
|
+
g.querykeylst = ["svcnv", "snvindel"];
|
|
1466
|
+
obj.features_on_rows ? g.height = 50 : g.width = 50;
|
|
1467
|
+
}
|
|
1468
|
+
const arg = {
|
|
1469
|
+
genome: obj.genome,
|
|
1470
|
+
dslabel: obj.mds.label,
|
|
1471
|
+
features: genes,
|
|
1472
|
+
features_on_rows: obj.features_on_rows,
|
|
1473
|
+
ismutation_allsymbolic: true,
|
|
1474
|
+
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1475
|
+
limitbysamplesetgroup: { samples },
|
|
1476
|
+
jwt: sessionStorage.getItem("jwt") || "",
|
|
1477
|
+
holder: holder.append("div").style("margin", "20px")
|
|
1478
|
+
};
|
|
1479
|
+
import("./samplematrix-EBJYE5SM.js").then((_) => {
|
|
1480
|
+
const m = new _.Samplematrix(arg);
|
|
1481
|
+
m._pane = holder;
|
|
1482
|
+
});
|
|
1483
|
+
}
|
|
1484
|
+
function launch_singlesample(p) {
|
|
1485
|
+
const { obj, dot, sampletracks, holder } = p;
|
|
1486
|
+
const arg = {
|
|
1487
|
+
genome: obj.genome,
|
|
1488
|
+
hostURL: sessionStorage.getItem("hostURL") || "",
|
|
1489
|
+
jwt: sessionStorage.getItem("jwt") || "",
|
|
1490
|
+
holder,
|
|
1491
|
+
chr: obj.genome.defaultcoord.chr,
|
|
1492
|
+
start: obj.genome.defaultcoord.start,
|
|
1493
|
+
stop: obj.genome.defaultcoord.stop,
|
|
1494
|
+
nobox: 1,
|
|
1495
|
+
tklst: []
|
|
1496
|
+
};
|
|
1497
|
+
if (obj.tracks) {
|
|
1498
|
+
for (const t of obj.tracks) arg.tklst.push(t);
|
|
1499
|
+
}
|
|
1500
|
+
const mdstk = obj.mds.queries[obj.querykey];
|
|
1501
|
+
if (mdstk) {
|
|
1502
|
+
const tk = {
|
|
1503
|
+
singlesample: { name: dot.sample },
|
|
1504
|
+
mds: obj.mds,
|
|
1505
|
+
querykey: obj.querykey
|
|
1506
|
+
};
|
|
1507
|
+
for (const k in mdstk) {
|
|
1508
|
+
tk[k] = mdstk[k];
|
|
1509
|
+
}
|
|
1510
|
+
arg.tklst.push(tk);
|
|
1511
|
+
if (mdstk.checkexpressionrank) {
|
|
1512
|
+
const et = {
|
|
1513
|
+
type: tkt.mdsexpressionrank,
|
|
1514
|
+
name: dot.sample + " gene expression rank",
|
|
1515
|
+
//mds: tk.mds,
|
|
1516
|
+
dslabel: obj.mds.label,
|
|
1517
|
+
querykey: mdstk.checkexpressionrank.querykey,
|
|
1518
|
+
sample: dot.sample
|
|
1519
|
+
};
|
|
1520
|
+
if (mdstk.groupsamplebyattr) {
|
|
1521
|
+
const lst = mdstk.groupsamplebyattr.attrlst;
|
|
1522
|
+
if (lst && lst.length) {
|
|
1523
|
+
et.attributes = [];
|
|
1524
|
+
for (const attr of lst) {
|
|
1525
|
+
et.attributes.push({
|
|
1526
|
+
k: attr.k,
|
|
1527
|
+
label: attr.label,
|
|
1528
|
+
kvalue: dot.s[attr.k]
|
|
1529
|
+
});
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
arg.tklst.push(et);
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
if (sampletracks) {
|
|
1537
|
+
for (const t of sampletracks) arg.tklst.push(t);
|
|
1538
|
+
}
|
|
1539
|
+
first_genetrack_tolist(obj.genome, arg.tklst);
|
|
1540
|
+
blocklazyload(arg);
|
|
1541
|
+
}
|
|
1542
|
+
export {
|
|
1543
|
+
init
|
|
1544
|
+
};
|
|
1545
|
+
//# sourceMappingURL=mds.samplescatterplot-EUS7DCSQ.js.map
|