@sjcrh/proteinpaint-client 2.208.0 → 2.210.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-43QBND66.js +1367 -0
- package/dist/AggMatrixInput-X7NGFUHH.js +406 -0
- package/dist/AggregateMatrix-M4HRI4PX.js +41 -0
- package/dist/AppHeader-QBRQN6PM.js +830 -0
- package/dist/BoxPlot-V6SPSEQ2.js +1211 -0
- package/dist/CorrelationVolcano-UFPCYC77.js +617 -0
- package/dist/Cuminc-KXGXGLKZ.js +1219 -0
- package/dist/DE-K2YXHOOW.js +89 -0
- package/dist/DEinput-O6LBFAAH.js +501 -0
- package/dist/DEinput-O6LBFAAH.js.map +7 -0
- package/dist/DM-C7VN3RWB.js +90 -0
- package/dist/DifferentialAnalysis-A2BU4WB3.js +239 -0
- package/dist/DifferentialAnalysis-A2BU4WB3.js.map +7 -0
- package/dist/Disco-HECQVKXG.js +3389 -0
- package/dist/Disco.UI-XF2GEKRW.js +243 -0
- package/dist/DmrPlot-TVXVXOHL.js +362 -0
- package/dist/DmrPlot-TVXVXOHL.js.map +7 -0
- package/dist/GB-66ZGJ5ST.js +1428 -0
- package/dist/GB-66ZGJ5ST.js.map +7 -0
- package/dist/GSEA-Z4YPI4HY.js +875 -0
- package/dist/GSEA-Z4YPI4HY.js.map +7 -0
- package/dist/GeneExpInput-VBIZZV27.js +42 -0
- package/dist/Geomap-UIIOLRFA.js +84 -0
- package/dist/HicApp-73ESVNBA.js +2245 -0
- package/dist/IDCViewer-RBYN5A4P.js +10812 -0
- package/dist/NumBinaryEditor-DJLSNSLE.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-LCJHL3XM.js +312 -0
- package/dist/NumContEditor-SVLDJ2ML.js +105 -0
- package/dist/NumContEditor.unit.spec-JDMSK4HY.js +164 -0
- package/dist/NumCustomBinEditor-BI63AH3R.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-5433G7Y2.js +397 -0
- package/dist/NumDiscreteEditor-LEZTGXAV.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-5OEORHJ4.js +233 -0
- package/dist/NumRegularBinEditor-EXWHIWPM.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-QY25Z2TT.js +278 -0
- package/dist/NumSplineEditor-XPPMYYAD.js +210 -0
- package/dist/NumSplineEditor.unit.spec-GOGBKWMN.js +224 -0
- package/dist/NumericDensity-RKY2IQ72.js +33 -0
- package/dist/NumericDensity.unit.spec-5ZM6ICXM.js +418 -0
- package/dist/NumericHandler-FXF3M5M3.js +34 -0
- package/dist/NumericHandler.unit.spec-M2OQTBJX.js +214 -0
- package/dist/ProteomeInput-TMZ3THRL.js +388 -0
- package/dist/Regression-GQGAATHG.js +1416 -0
- package/dist/Regression-GQGAATHG.js.map +7 -0
- package/dist/RunChart2-7GNDWRKC.js +749 -0
- package/dist/SC-R2I2EMHA.js +1183 -0
- package/dist/SC-R2I2EMHA.js.map +7 -0
- package/dist/Violin-GKKEB55L.js +1081 -0
- package/dist/Violin-GKKEB55L.js.map +7 -0
- package/dist/Volcano-HRG5EFWH.js +2443 -0
- package/dist/Volcano-HRG5EFWH.js.map +7 -0
- package/dist/Wsi-OHRCGYYD.js +629 -0
- package/dist/adSandbox-H56B25WR.js +33 -0
- package/dist/animatedBubbleChart-7SXFHU4J.js +547 -0
- package/dist/app-22JCSULA.js +42 -0
- package/dist/app-RGZJB6LN.js +32 -0
- package/dist/app.js +14 -14
- package/dist/bam-HA65TRGX.js +876 -0
- package/dist/barchart-6XO75OMA.js +42 -0
- package/dist/barchart2-6E5BIRHD.js +309 -0
- package/dist/block-43KNTXZ5.js +6250 -0
- package/dist/block-43KNTXZ5.js.map +7 -0
- package/dist/block.init-TPU5QIPA.js +33 -0
- package/dist/block.mds.expressionrank-QZDRFXCH.js +354 -0
- package/dist/block.mds.geneboxplot-64QVBK5Q.js +823 -0
- package/dist/block.mds.junction-I4J6VXNT.js +1539 -0
- package/dist/block.mds.svcnv-GDQMSQFF.js +6796 -0
- package/dist/block.svg-2MZFT5QP.js +159 -0
- package/dist/block.tk.aicheck-2MKHF6LX.js +278 -0
- package/dist/block.tk.ase-CLYGKFTS.js +360 -0
- package/dist/block.tk.bam-XTR4QA5Z.js +1901 -0
- package/dist/block.tk.bedgraphdot-A2P2CXRU.js +379 -0
- package/dist/block.tk.bigwig.ui-YZH6JXEO.js +206 -0
- package/dist/block.tk.hicstraw-QBK5VWGU.js +818 -0
- package/dist/block.tk.junction-5DEVBA7G.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-7TTQMO6W.js +194 -0
- package/dist/block.tk.ld-PRIVUPKL.js +94 -0
- package/dist/block.tk.menu-JGBRFSS3.js +1024 -0
- package/dist/block.tk.pgv-KQJCJMVD.js +938 -0
- package/dist/brainImaging-4SLVJ2HV.js +555 -0
- package/dist/brainRegions-BDIVM2SG.js +217 -0
- package/dist/bubbleHeatmap-ORKFJNEQ.js +378 -0
- package/dist/cellTypeBubbleHeatmap-VOHLI4P7.js +278 -0
- package/dist/chunk-26N3B2JO.js +194 -0
- package/dist/chunk-2HNJF5ZI.js +240 -0
- package/dist/chunk-2LNGHIOC.js +281 -0
- package/dist/chunk-3FEP6B5T.js +119 -0
- package/dist/chunk-3SCQGODD.js +274 -0
- package/dist/chunk-47STLK7K.js +518 -0
- package/dist/chunk-4G73CMUL.js +38 -0
- package/dist/chunk-4XYQG3XU.js +276 -0
- package/dist/chunk-53XNEXR6.js +34 -0
- package/dist/chunk-55FABQU2.js +24955 -0
- package/dist/chunk-55FABQU2.js.map +7 -0
- package/dist/chunk-5UB5H7A3.js +123 -0
- package/dist/chunk-6FYQYTV6.js +141 -0
- package/dist/chunk-6RP6CR4Q.js +182 -0
- package/dist/chunk-A5D37SIL.js +103 -0
- package/dist/chunk-ADRFQ5AL.js +102 -0
- package/dist/chunk-AUZ63NKJ.js +70 -0
- package/dist/chunk-B563DUNQ.js +217 -0
- package/dist/chunk-B563DUNQ.js.map +7 -0
- package/dist/chunk-BK6UDL7F.js +339 -0
- package/dist/chunk-CFZ2ZW3E.js +382 -0
- package/dist/chunk-CKOU3P27.js +26 -0
- package/dist/chunk-CT4IG5IR.js +339 -0
- package/dist/chunk-D6UBH77N.js +1731 -0
- package/dist/chunk-DS4GLMJL.js +170 -0
- package/dist/chunk-DSBRHWZ7.js +2853 -0
- package/dist/chunk-DX35MKPR.js +272 -0
- package/dist/chunk-EDZJ3VNZ.js +54 -0
- package/dist/chunk-F47A4CVK.js +1339 -0
- package/dist/chunk-FSLOUTTK.js +37 -0
- package/dist/chunk-FSLOUTTK.js.map +7 -0
- package/dist/chunk-G4H34RNK.js +446 -0
- package/dist/chunk-G7RUMSHL.js +263 -0
- package/dist/chunk-GXFS25SK.js +480 -0
- package/dist/chunk-I25LKYC4.js +379 -0
- package/dist/chunk-I25LKYC4.js.map +7 -0
- package/dist/chunk-IAB2PRIH.js +396 -0
- package/dist/chunk-IAB2PRIH.js.map +7 -0
- package/dist/chunk-IBT6WRY6.js +692 -0
- package/dist/chunk-IJ7AIDEO.js +302 -0
- package/dist/chunk-JBFVJHZN.js +1233 -0
- package/dist/chunk-JDVBUIEU.js +56 -0
- package/dist/chunk-JTANDSTD.js +54 -0
- package/dist/chunk-K7RW5TPU.js +4375 -0
- package/dist/chunk-KIAMLQ7S.js +424 -0
- package/dist/chunk-KIAMLQ7S.js.map +7 -0
- package/dist/chunk-LBCIXRI2.js +49 -0
- package/dist/chunk-MNXL2UV5.js +98 -0
- package/dist/chunk-NDOKW2HJ.js +31 -0
- package/dist/chunk-NI5CVN43.js +203 -0
- package/dist/chunk-NOBXDQDU.js +397 -0
- package/dist/chunk-NQNVLZOA.js +6360 -0
- package/dist/chunk-NULFGPE3.js +158 -0
- package/dist/chunk-OUIXGM3K.js +299 -0
- package/dist/chunk-P4LGA36F.js +14 -0
- package/dist/chunk-PU5FQWAY.js +55 -0
- package/dist/chunk-PZ2OSHBF.js +56 -0
- package/dist/chunk-QBNDPW7O.js +5071 -0
- package/dist/chunk-QD75Q5LM.js +59 -0
- package/dist/chunk-R5PKBL7V.js +80 -0
- package/dist/chunk-R5PKBL7V.js.map +7 -0
- package/dist/chunk-RFSOP75Z.js +1988 -0
- package/dist/chunk-RFSOP75Z.js.map +7 -0
- package/dist/chunk-RI65SIN3.js +626 -0
- package/dist/chunk-RPGLLO4T.js +2676 -0
- package/dist/chunk-RXNZK7MF.js +134 -0
- package/dist/chunk-S2ICJ3RZ.js +550 -0
- package/dist/chunk-SB36AUG7.js +1614 -0
- package/dist/chunk-SB36AUG7.js.map +7 -0
- package/dist/chunk-SFHG6H2D.js +129 -0
- package/dist/chunk-TQ2DVEQO.js +783 -0
- package/dist/chunk-U6BJ4ZNU.js +176 -0
- package/dist/chunk-UXD6G6G4.js +178 -0
- package/dist/chunk-VA57CUC7.js +2146 -0
- package/dist/chunk-VA57CUC7.js.map +7 -0
- package/dist/chunk-VH5W6ODW.js +294 -0
- package/dist/chunk-VROF55EH.js +255 -0
- package/dist/chunk-VROF55EH.js.map +7 -0
- package/dist/chunk-VWA7BYSV.js +217 -0
- package/dist/chunk-X37BRSGS.js +102 -0
- package/dist/chunk-XQYDXA47.js +562 -0
- package/dist/chunk-XXPUZVS4.js +237 -0
- package/dist/chunk-XXPUZVS4.js.map +7 -0
- package/dist/chunk-Y7V5AIUH.js +468 -0
- package/dist/chunk-YBNIOGUE.js +243 -0
- package/dist/chunk-YEYMNF7V.js +2327 -0
- package/dist/chunk-YJ74QATP.js +1278 -0
- package/dist/chunk-ZG2HCGAO.js +2784 -0
- package/dist/chunk-ZZN7ZD7J.js +54 -0
- package/dist/cohort-6OCRQQ2S.js +70 -0
- package/dist/condition-SZVXH3VU.js +327 -0
- package/dist/controls-MO6ZND76.js +34 -0
- package/dist/controls.config-P4MSTGL4.js +34 -0
- package/dist/correlation-NMI3CM3T.js +95 -0
- package/dist/customdata.inputui-VCHSCA65.js +284 -0
- package/dist/dataDownload-VQHOTQ5D.js +329 -0
- package/dist/databrowser.ui-ZFOCAG32.js +425 -0
- package/dist/dictionary-S5YCFUWH.js +113 -0
- package/dist/dnaMethylation-MQZLZRGT.js +33 -0
- package/dist/dnaMethylation.integration.spec-H546EBUO.js +198 -0
- package/dist/dofetch-QZIYSC7H.js +48 -0
- package/dist/e2pca-XOXOS3PN.js +344 -0
- package/dist/ep-U6KRL7FR.js +1249 -0
- package/dist/expclust.gdc.spec-HCK65C63.js +302 -0
- package/dist/facet-DCC25KJO.js +519 -0
- package/dist/gb-TIFWFD4Y.js +81 -0
- package/dist/geneExpClustering-6DQEOTOY.js +244 -0
- package/dist/geneExpression-EASRAN6B.js +310 -0
- package/dist/geneExpression-G4YMDCBH.js +33 -0
- package/dist/geneExpression.unit.spec-XVEJYMPX.js +128 -0
- package/dist/geneExpression.unit.spec-XVEJYMPX.js.map +7 -0
- package/dist/geneORA-6UBS5GSC.js +273 -0
- package/dist/geneRanking-UXXYWHNB.js +548 -0
- package/dist/geneVariant-SZRJOXVC.js +289 -0
- package/dist/geneVariant-SZRJOXVC.js.map +7 -0
- package/dist/geneVariant-TKFKARZK.js +36 -0
- package/dist/geneVariant.integration.spec-PXMAYJN3.js +503 -0
- package/dist/geneVariant.integration.spec-PXMAYJN3.js.map +7 -0
- package/dist/genefusion.ui-TJLYXSVL.js +303 -0
- package/dist/geneset-YTBDLEIH.js +203 -0
- package/dist/genomeBrowser.spec-ZO4LFIXE.js +276 -0
- package/dist/grin2-FC4VYU54.js +949 -0
- package/dist/grin2-FC4VYU54.js.map +7 -0
- package/dist/grin2-LIFKBMVK.js +70 -0
- package/dist/hierCluster-56EGAPOR.js +59 -0
- package/dist/hierCluster-DR5NWCXA.js +55 -0
- package/dist/hierCluster.config-NACE3FH2.js +36 -0
- package/dist/hierCluster.integration.spec-PEEXPAS6.js +483 -0
- package/dist/hierCluster.interactivity-OCBGLUJM.js +49 -0
- package/dist/hierCluster.renderers-JNQUSAP4.js +19 -0
- package/dist/imagePlot-GR4JNUGG.js +156 -0
- package/dist/importPlot-4R4BSPVD.js +8 -0
- package/dist/isoformExpression-ST5ZW2NE.js +35 -0
- package/dist/isoformExpression.unit.spec-PPFC5Z7N.js +237 -0
- package/dist/junction-7AKZHOHV.js +36 -0
- package/dist/junction.customTerm-TMV43R7Z.js +16 -0
- package/dist/junction.unit.spec-SZUJXRQ2.js +182 -0
- package/dist/launch.adhoc-RWJQUOJ6.js +37 -0
- package/dist/leftlabel.sample-WRHLVQAQ.js +258 -0
- package/dist/lollipop-ZZWXTM23.js +166 -0
- package/dist/maf-N4XPZTQU.js +455 -0
- package/dist/maftimeline-2FBS6RWS.js +587 -0
- package/dist/matrix-5KEQPB5H.js +59 -0
- package/dist/matrix-RJUNXB5N.js +54 -0
- package/dist/matrix.cells-WXTPOJYB.js +26 -0
- package/dist/matrix.config-ZZFLLD6Z.js +37 -0
- package/dist/matrix.data-3PQ73GVJ.js +23 -0
- package/dist/matrix.groups-U6CKS6WW.js +26 -0
- package/dist/matrix.integration.spec-T53PMVHC.js +3160 -0
- package/dist/matrix.integration.spec-T53PMVHC.js.map +7 -0
- package/dist/matrix.interactivity-3LDZV3F7.js +37 -0
- package/dist/matrix.layout-MINLYQCA.js +39 -0
- package/dist/matrix.legend-6GSDFZHS.js +20 -0
- package/dist/matrix.renderers-5BKOXDE3.js +34 -0
- package/dist/matrix.serieses-6FCFIFAQ.js +19 -0
- package/dist/matrix.sort-EHVVYDZ3.js +26 -0
- package/dist/matrix.sort.unit.spec-BCWE4AFX.js +468 -0
- package/dist/matrix.sorterUi-WL5I6S3K.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-XJR5KXRL.js +338 -0
- package/dist/matrix.unit.spec-TUCKPE26.js +150 -0
- package/dist/mavb-GWSNRBLM.js +727 -0
- package/dist/mds.fimo-OMAQRSMW.js +513 -0
- package/dist/mds.samplescatterplot-4UW3CC45.js +1545 -0
- package/dist/mds.survivalplot-2CJYJBD2.js +477 -0
- package/dist/multivalue-G44MHEYI.js +83 -0
- package/dist/numericDictTermCluster-5BDRGVQG.js +63 -0
- package/dist/oncomatrix-ZTVO23ZH.js +290 -0
- package/dist/oncomatrix.spec-2QVK2A3Q.js +443 -0
- package/dist/plot.2dvaf-CL5YUXKH.js +372 -0
- package/dist/plot.app-4ANKPSNP.js +36 -0
- package/dist/plot.barplot-BMGDNZRA.js +97 -0
- package/dist/plot.boxplot-GMLQCDP6.js +146 -0
- package/dist/plot.brainImaging-RZXX3NUZ.js +51 -0
- package/dist/plot.disco-3MD4J4C7.js +99 -0
- package/dist/plot.ssgq-ZC4UYKOT.js +134 -0
- package/dist/plot.vaf2cov-4DHFMYQV.js +253 -0
- package/dist/polar2-TMB5EITR.js +232 -0
- package/dist/profileForms-GD7BIOOD.js +941 -0
- package/dist/profilePlot-CZLK5E74.js +49 -0
- package/dist/proteinView-FEEEXLKT.js +1357 -0
- package/dist/proteomeCohortCompare-NVLJ2FXX.js +912 -0
- package/dist/pseudbulk.unit.spec-GHQZPNAH.js +86 -0
- package/dist/pseudobulk-G5UQIRKL.js +35 -0
- package/dist/qualitative-EAUUCKU5.js +38 -0
- package/dist/radar2-CJQ2L6KE.js +327 -0
- package/dist/radarFacility2-BLVRZE4V.js +335 -0
- package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +211 -0
- package/dist/render-KKAQPH6Y.js +33 -0
- package/dist/report-OSOJHTSD.js +217 -0
- package/dist/sampleView-WB74RLD7.js +43 -0
- package/dist/samplelst-ZKXV5WOD.js +106 -0
- package/dist/samplematrix-WJFYMWLT.js +2193 -0
- package/dist/sc-RBRBUCLR.js +81 -0
- package/dist/scatter-5K3QTIDK.js +88 -0
- package/dist/scatter-SM7GQENM.js +925 -0
- package/dist/selectGenomeWithTklst-ZZUJ7AQ7.js +129 -0
- package/dist/singleCellCellType-LCF2JNZ2.js +33 -0
- package/dist/singleCellCellType.unit.spec-T6DYH4BC.js +154 -0
- package/dist/singleCellGeneExpression-2XUYTH4C.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-SMRCLOF4.js +148 -0
- package/dist/singleCellNumericValue-57I33FZT.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-4YNB4OEV.js +416 -0
- package/dist/singleCellPlot-L6TKQHGD.js +48 -0
- package/dist/singlecell-LZKR3UDV.js +81 -0
- package/dist/singlecell-UKN2VCXQ.js +1566 -0
- package/dist/snp-3LJITU5B.js +33 -0
- package/dist/snp.unit.spec-ZQNU6XRM.js +171 -0
- package/dist/snplocus-OME7UQBW.js +203 -0
- package/dist/spliceevent.a53ss.diagram-C32IEFMU.js +146 -0
- package/dist/spliceevent.exonskip.diagram-CZ7MVRLK.js +278 -0
- package/dist/spliceevent.noeventdiagram-ZO6R3776.js +455 -0
- package/dist/ssGSEA-BGPQ2PFY.js +33 -0
- package/dist/ssGSEA.unit.spec-U7TBUSSK.js +83 -0
- package/dist/stattable-FISGQCED.js +117 -0
- package/dist/studyCatalog-UHFUT2CJ.js +414 -0
- package/dist/summarizeCnvGeneexp-OVZO6KIB.js +158 -0
- package/dist/summarizeGeneexpSurvival-KVQ4JGWK.js +105 -0
- package/dist/summarizeMutationCnv-RAKGHNLE.js +159 -0
- package/dist/summarizeMutationDiagnosis-LGCINAGG.js +35 -0
- package/dist/summarizeMutationSurvival-J7H7L4FX.js +99 -0
- package/dist/summary-2632JZXH.js +44 -0
- package/dist/summary.integration.spec-5WBS2ZRP.js +409 -0
- package/dist/summaryInput-BH6C3ATV.js +242 -0
- package/dist/sunburst-AMRR2IHM.js +278 -0
- package/dist/survival-2RNJQVFS.js +1248 -0
- package/dist/survival-WYCH4QOQ.js +53 -0
- package/dist/survival.integration.spec-7IFPY4I4.js +613 -0
- package/dist/svgraph-YQWS52ZJ.js +1382 -0
- package/dist/svmr-NRN6LGKK.js +3837 -0
- package/dist/table-3QOMV2NN.js +197 -0
- package/dist/termCollection-2ZJ7TJGO.js +33 -0
- package/dist/termCollection-3MCVR7BA.js +252 -0
- package/dist/termCollection.unit.spec-QYOEA3X6.js +299 -0
- package/dist/termCollectionFractionSelection-5AH6EF4L.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-WPGW4WJN.js +188 -0
- package/dist/tk-DQ7D5UEO.js +41 -0
- package/dist/tk-ONKYBG6R.js +1121 -0
- package/dist/tp.ui-C7BTMHEI.js +1454 -0
- package/dist/tvs.dt-PLRMK7OT.js +34 -0
- package/dist/tvs.dtcnv.categorical-IZUY2AQO.js +35 -0
- package/dist/tvs.dtcnv.continuous-ENV3RHHA.js +67 -0
- package/dist/tvs.dtfusion-2DVCV6AM.js +35 -0
- package/dist/tvs.dtitd-XNDIRQYU.js +35 -0
- package/dist/tvs.dtsnvindel-4D3G7XSF.js +35 -0
- package/dist/tvs.dtsv-QYMIMC4Z.js +35 -0
- package/dist/tvs.numeric-M5LH3PRH.js +20 -0
- package/dist/tvs.samplelst-2KEU2ZWB.js +98 -0
- package/dist/tvs.termCollection-FEY746V5.js +124 -0
- package/dist/vocabulary-BR4NJDPS.js +36 -0
- package/dist/wsi.direct-JWDUNHIO.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-PN5YS362.js +0 -1367
- package/dist/AggMatrixInput-NJHU4FU2.js +0 -406
- package/dist/AggregateMatrix-IBWOJWOC.js +0 -41
- package/dist/AppHeader-XV6S7GG5.js +0 -830
- package/dist/BoxPlot-ZIVA55SK.js +0 -1211
- package/dist/CorrelationVolcano-33I4FC44.js +0 -617
- package/dist/Cuminc-WKY35UGV.js +0 -1219
- package/dist/DE-E256DHID.js +0 -89
- package/dist/DEinput-YU3W72K7.js +0 -499
- package/dist/DEinput-YU3W72K7.js.map +0 -7
- package/dist/DM-W7PXTIKY.js +0 -90
- package/dist/DifferentialAnalysis-SHMQHWJL.js +0 -236
- package/dist/DifferentialAnalysis-SHMQHWJL.js.map +0 -7
- package/dist/Disco-OZY5GW2Z.js +0 -3389
- package/dist/Disco.UI-NRALEYXK.js +0 -243
- package/dist/DmrPlot-QKUX5XUW.js +0 -637
- package/dist/DmrPlot-QKUX5XUW.js.map +0 -7
- package/dist/GB-ZYH7PGHT.js +0 -1391
- package/dist/GB-ZYH7PGHT.js.map +0 -7
- package/dist/GSEA-VQTD4MLY.js +0 -851
- package/dist/GSEA-VQTD4MLY.js.map +0 -7
- package/dist/GeneExpInput-XEFUTLFU.js +0 -42
- package/dist/Geomap-GEK7UEDU.js +0 -84
- package/dist/HicApp-ZY7UHV5H.js +0 -2245
- package/dist/IDCViewer-YNKG4V46.js +0 -10812
- package/dist/NumBinaryEditor-NEL727DX.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-GCGZMJYF.js +0 -312
- package/dist/NumContEditor-IM6RRDGU.js +0 -105
- package/dist/NumContEditor.unit.spec-B5AJXANS.js +0 -164
- package/dist/NumCustomBinEditor-EZT5DRKP.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-KLUDS6TH.js +0 -397
- package/dist/NumDiscreteEditor-2M6Q5AAZ.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-2JYZYJUX.js +0 -233
- package/dist/NumRegularBinEditor-AQDHA2PU.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-62BYFNYG.js +0 -278
- package/dist/NumSplineEditor-6Y5TZSTO.js +0 -210
- package/dist/NumSplineEditor.unit.spec-S65AV5EK.js +0 -224
- package/dist/NumericDensity-5ES4SDWZ.js +0 -33
- package/dist/NumericDensity.unit.spec-J6KZSE2P.js +0 -418
- package/dist/NumericHandler-ZTLDPP2F.js +0 -34
- package/dist/NumericHandler.unit.spec-BZFBVHGU.js +0 -214
- package/dist/ProteomeInput-IKEXPCGV.js +0 -388
- package/dist/Regression-6F6YP3AX.js +0 -1416
- package/dist/Regression-6F6YP3AX.js.map +0 -7
- package/dist/RunChart2-CVRPXQH5.js +0 -749
- package/dist/SC-FPXVXBXF.js +0 -1175
- package/dist/SC-FPXVXBXF.js.map +0 -7
- package/dist/Violin-BAS6DQHL.js +0 -1081
- package/dist/Violin-BAS6DQHL.js.map +0 -7
- package/dist/Volcano-FCCWUMX7.js +0 -1649
- package/dist/Volcano-FCCWUMX7.js.map +0 -7
- package/dist/Wsi-3YTFABWG.js +0 -629
- package/dist/adSandbox-QYIG6637.js +0 -33
- package/dist/animatedBubbleChart-X53PR73H.js +0 -547
- package/dist/app-HJLTRZPI.js +0 -32
- package/dist/app-MGY6A4DM.js +0 -42
- package/dist/bam-VRQHRCP5.js +0 -876
- package/dist/barchart-TWMOUZFL.js +0 -42
- package/dist/barchart2-CV7RMMRG.js +0 -309
- package/dist/block-L53P4UGQ.js +0 -6249
- package/dist/block-L53P4UGQ.js.map +0 -7
- package/dist/block.init-XYOJTXKP.js +0 -33
- package/dist/block.mds.expressionrank-77FSBDHA.js +0 -354
- package/dist/block.mds.geneboxplot-4TSYV4WS.js +0 -823
- package/dist/block.mds.junction-P4MYDET6.js +0 -1539
- package/dist/block.mds.svcnv-CYOFAS2T.js +0 -6796
- package/dist/block.svg-IT3ELCF4.js +0 -159
- package/dist/block.tk.aicheck-GULHJLV5.js +0 -278
- package/dist/block.tk.ase-RW5YL6HN.js +0 -360
- package/dist/block.tk.bam-MPGQW6KB.js +0 -1901
- package/dist/block.tk.bedgraphdot-EYRY374P.js +0 -379
- package/dist/block.tk.bigwig.ui-BKSXCDNM.js +0 -206
- package/dist/block.tk.hicstraw-76PV6NM3.js +0 -818
- package/dist/block.tk.junction-Z52QHQJQ.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-K32OOTZC.js +0 -194
- package/dist/block.tk.ld-DDGLRHPO.js +0 -94
- package/dist/block.tk.menu-MO6TESKI.js +0 -1024
- package/dist/block.tk.pgv-AKLKKSEP.js +0 -938
- package/dist/brainImaging-KSTJQJAB.js +0 -555
- package/dist/brainRegions-WCRMMSK4.js +0 -217
- package/dist/bubbleHeatmap-4YOQ3BAB.js +0 -378
- package/dist/cellTypeBubbleHeatmap-O6YZ2RW4.js +0 -278
- package/dist/chunk-3GUVLDUS.js +0 -299
- package/dist/chunk-3PQDD5HM.js +0 -446
- package/dist/chunk-3WYUHDDP.js +0 -1986
- package/dist/chunk-3WYUHDDP.js.map +0 -7
- package/dist/chunk-4C7MA5Q3.js +0 -158
- package/dist/chunk-4EZLVENZ.js +0 -1612
- package/dist/chunk-4EZLVENZ.js.map +0 -7
- package/dist/chunk-4PB5ZEOB.js +0 -102
- package/dist/chunk-5IMFPVGT.js +0 -119
- package/dist/chunk-6DPELKO5.js +0 -518
- package/dist/chunk-6HGTVMZM.js +0 -54
- package/dist/chunk-72P6O537.js +0 -1731
- package/dist/chunk-74C6G6JD.js +0 -397
- package/dist/chunk-A7TXS6JR.js +0 -276
- package/dist/chunk-AAJXHERO.js +0 -123
- package/dist/chunk-AVS4IXEA.js +0 -692
- package/dist/chunk-BFXZBZEV.js +0 -176
- package/dist/chunk-BGVGN73F.js +0 -480
- package/dist/chunk-BL7EYUZC.js +0 -6360
- package/dist/chunk-BPGZUNLL.js +0 -274
- package/dist/chunk-CPIPN5F6.js +0 -141
- package/dist/chunk-D5MSWPAZ.js +0 -217
- package/dist/chunk-DFT2PAIU.js +0 -243
- package/dist/chunk-DMWOK4DS.js +0 -178
- package/dist/chunk-E7NVJ44Z.js +0 -263
- package/dist/chunk-EMMGUSJB.js +0 -54
- package/dist/chunk-G3CCQOLH.js +0 -240
- package/dist/chunk-GGQVDHYF.js +0 -379
- package/dist/chunk-GGQVDHYF.js.map +0 -7
- package/dist/chunk-GMRIEUBW.js +0 -408
- package/dist/chunk-GMRIEUBW.js.map +0 -7
- package/dist/chunk-GPZYAJQH.js +0 -2676
- package/dist/chunk-GS6ZMPKP.js +0 -272
- package/dist/chunk-GUXKLMLM.js +0 -102
- package/dist/chunk-HELEV3LT.js +0 -2853
- package/dist/chunk-HKKTNIMX.js +0 -339
- package/dist/chunk-HKSRIEWJ.js +0 -26
- package/dist/chunk-IELQ3HMN.js +0 -70
- package/dist/chunk-IISNWG4X.js +0 -103
- package/dist/chunk-J7KB2MH3.js +0 -34
- package/dist/chunk-JEJV7V7M.js +0 -2327
- package/dist/chunk-JIZ3B32T.js +0 -626
- package/dist/chunk-KAY2ODXX.js +0 -38
- package/dist/chunk-KJM6PLXM.js +0 -5071
- package/dist/chunk-KTKZSYIH.js +0 -24
- package/dist/chunk-KTKZSYIH.js.map +0 -7
- package/dist/chunk-KZHF3MQX.js +0 -1278
- package/dist/chunk-MC674TS2.js +0 -194
- package/dist/chunk-MLKQZ3RL.js +0 -1339
- package/dist/chunk-MSSPT5YM.js +0 -550
- package/dist/chunk-N6IWVSFP.js +0 -4375
- package/dist/chunk-NBGVEZNX.js +0 -56
- package/dist/chunk-OBBR4UYN.js +0 -54
- package/dist/chunk-PQA3C2NY.js +0 -294
- package/dist/chunk-QJ2VBXFB.js +0 -134
- package/dist/chunk-QJ3HYZH3.js +0 -24772
- package/dist/chunk-QJ3HYZH3.js.map +0 -7
- package/dist/chunk-QP7EJXSU.js +0 -55
- package/dist/chunk-QUHXX7JE.js +0 -56
- package/dist/chunk-REPQKF5L.js +0 -182
- package/dist/chunk-SHXJW27D.js +0 -2784
- package/dist/chunk-SUNDNTVY.js +0 -302
- package/dist/chunk-SYPSS3JQ.js +0 -387
- package/dist/chunk-SYPSS3JQ.js.map +0 -7
- package/dist/chunk-TSI4W6XO.js +0 -98
- package/dist/chunk-TXIQ5PHR.js +0 -468
- package/dist/chunk-U45R6QNT.js +0 -562
- package/dist/chunk-UMZJQWWK.js +0 -1233
- package/dist/chunk-VMRO6DMC.js +0 -2140
- package/dist/chunk-VMRO6DMC.js.map +0 -7
- package/dist/chunk-VO7Q4WMM.js +0 -55
- package/dist/chunk-VO7Q4WMM.js.map +0 -7
- package/dist/chunk-VWGRKOVJ.js +0 -170
- package/dist/chunk-WCTKHF5T.js +0 -197
- package/dist/chunk-WCTKHF5T.js.map +0 -7
- package/dist/chunk-WOMERKMR.js +0 -31
- package/dist/chunk-WXX2YD4Q.js +0 -59
- package/dist/chunk-X44AR557.js +0 -382
- package/dist/chunk-XEU5HXOY.js +0 -783
- package/dist/chunk-XGYQZHNX.js +0 -281
- package/dist/chunk-XOND7UIK.js +0 -49
- package/dist/chunk-XRMUUWLS.js +0 -339
- package/dist/chunk-XTOGCXPD.js +0 -129
- package/dist/chunk-Y5BBFDC3.js +0 -14
- package/dist/chunk-Z2FSHODI.js +0 -203
- package/dist/cohort-JWIQOO7U.js +0 -70
- package/dist/condition-ZUAQYF5C.js +0 -327
- package/dist/controls-ZPQ6SXD2.js +0 -34
- package/dist/controls.config-NELL5HY5.js +0 -34
- package/dist/correlation-2X76UI3K.js +0 -95
- package/dist/customdata.inputui-V6QIGFRP.js +0 -284
- package/dist/dataDownload-NSDY4MSL.js +0 -329
- package/dist/databrowser.ui-DDLFQB6K.js +0 -425
- package/dist/dictionary-WSDD6TFI.js +0 -113
- package/dist/dnaMethylation-3IM4OACZ.js +0 -33
- package/dist/dnaMethylation.integration.spec-5CSJA67S.js +0 -198
- package/dist/dofetch-GZ7POIBV.js +0 -48
- package/dist/e2pca-AX7U2DOI.js +0 -344
- package/dist/ep-UKACHFJU.js +0 -1249
- package/dist/expclust.gdc.spec-46HDKH2Q.js +0 -302
- package/dist/facet-3EONZDDE.js +0 -519
- package/dist/gb-W7GX5NWS.js +0 -81
- package/dist/geneExpClustering-PJA6Y5GW.js +0 -244
- package/dist/geneExpression-EMLVPVNK.js +0 -310
- package/dist/geneExpression-JMGYBT53.js +0 -33
- package/dist/geneExpression.unit.spec-DDZVZJVC.js +0 -128
- package/dist/geneExpression.unit.spec-DDZVZJVC.js.map +0 -7
- package/dist/geneORA-CIAFQQWB.js +0 -273
- package/dist/geneRanking-JRAU6FMJ.js +0 -548
- package/dist/geneVariant-3DZTWQFG.js +0 -36
- package/dist/geneVariant-YWURIZ72.js +0 -286
- package/dist/geneVariant-YWURIZ72.js.map +0 -7
- package/dist/geneVariant.integration.spec-V3KECZMM.js +0 -489
- package/dist/geneVariant.integration.spec-V3KECZMM.js.map +0 -7
- package/dist/genefusion.ui-AO3TUDTL.js +0 -303
- package/dist/geneset-RCIP2GZH.js +0 -203
- package/dist/genomeBrowser.spec-7PZCNBL3.js +0 -276
- package/dist/grin2-EUBCNH4Q.js +0 -70
- package/dist/grin2-YYBB5XJK.js +0 -1137
- package/dist/grin2-YYBB5XJK.js.map +0 -7
- package/dist/hierCluster-AV5NO2GW.js +0 -59
- package/dist/hierCluster-W2MVN34V.js +0 -55
- package/dist/hierCluster.config-4MBWG6RZ.js +0 -36
- package/dist/hierCluster.integration.spec-JUIBIUKH.js +0 -483
- package/dist/hierCluster.interactivity-6PJE64PF.js +0 -49
- package/dist/hierCluster.renderers-RWDQ5SHY.js +0 -19
- package/dist/imagePlot-XLDQNUJA.js +0 -156
- package/dist/importPlot-7FISAQKR.js +0 -8
- package/dist/isoformExpression-WOQAOVZS.js +0 -35
- package/dist/isoformExpression.unit.spec-BMEGJNCO.js +0 -237
- package/dist/junction-6NO36IPU.js +0 -36
- package/dist/junction.customTerm-N6JAOWZO.js +0 -16
- package/dist/junction.unit.spec-UKGSQHO4.js +0 -182
- package/dist/launch.adhoc-42PUNEA6.js +0 -37
- package/dist/leftlabel.sample-EXAUDPSB.js +0 -258
- package/dist/lollipop-4ASTA5HO.js +0 -166
- package/dist/maf-HPXANL3M.js +0 -455
- package/dist/maftimeline-2SXFX3HF.js +0 -587
- package/dist/matrix-DX4W5XMX.js +0 -59
- package/dist/matrix-S34ITAPJ.js +0 -54
- package/dist/matrix.cells-BLULUGSZ.js +0 -26
- package/dist/matrix.config-Z3LWYH74.js +0 -37
- package/dist/matrix.data-73HY7Y2V.js +0 -23
- package/dist/matrix.groups-NOUMYNFY.js +0 -26
- package/dist/matrix.integration.spec-VTXYJ46U.js +0 -3160
- package/dist/matrix.integration.spec-VTXYJ46U.js.map +0 -7
- package/dist/matrix.interactivity-YHDIO5A2.js +0 -37
- package/dist/matrix.layout-25HYKUF2.js +0 -39
- package/dist/matrix.legend-IMK7DH4V.js +0 -20
- package/dist/matrix.renderers-3RZRN6HO.js +0 -34
- package/dist/matrix.serieses-ZTVHQ7QA.js +0 -19
- package/dist/matrix.sort-EDXHT6NZ.js +0 -26
- package/dist/matrix.sort.unit.spec-LSNY7PHU.js +0 -468
- package/dist/matrix.sorterUi-3DRNHG5Z.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-GNIIWGRJ.js +0 -338
- package/dist/matrix.unit.spec-7A6ZFRXI.js +0 -150
- package/dist/mavb-M5AXPLYX.js +0 -727
- package/dist/mds.fimo-QE5OFA22.js +0 -513
- package/dist/mds.samplescatterplot-664EOHX2.js +0 -1545
- package/dist/mds.survivalplot-H4TJD44D.js +0 -477
- package/dist/multivalue-JD3CNQJR.js +0 -83
- package/dist/numericDictTermCluster-XPKEYXD7.js +0 -63
- package/dist/oncomatrix-TX5PZQ76.js +0 -290
- package/dist/oncomatrix.spec-6X2WAHL7.js +0 -443
- package/dist/plot.2dvaf-5OHUFTMK.js +0 -372
- package/dist/plot.app-XIVVJHWG.js +0 -36
- package/dist/plot.barplot-PSODLAXD.js +0 -97
- package/dist/plot.boxplot-W3ASYFOG.js +0 -146
- package/dist/plot.brainImaging-JGDLKLR7.js +0 -51
- package/dist/plot.disco-TPMXTTZK.js +0 -99
- package/dist/plot.ssgq-KIZIOZIF.js +0 -134
- package/dist/plot.vaf2cov-MSMW72IY.js +0 -253
- package/dist/polar2-LA4MSRRN.js +0 -232
- package/dist/profileForms-BJRNB2ZF.js +0 -941
- package/dist/profilePlot-DDO53C4T.js +0 -49
- package/dist/proteinView-NFUR42XQ.js +0 -1357
- package/dist/proteomeCohortCompare-OZVF3X66.js +0 -912
- package/dist/pseudbulk.unit.spec-RY72JF7A.js +0 -86
- package/dist/pseudobulk-UVT5G2VL.js +0 -35
- package/dist/qualitative-X3VXNC7X.js +0 -38
- package/dist/radar2-RTVUJ3AN.js +0 -327
- package/dist/radarFacility2-ZGLZ5AKM.js +0 -335
- package/dist/rememberedGvQ.unit.spec-RLLLWU5M.js +0 -211
- package/dist/render-LR5BOYW6.js +0 -33
- package/dist/report-37W5OXUM.js +0 -217
- package/dist/sampleView-BDC2WPH7.js +0 -43
- package/dist/samplelst-V2EIVZC5.js +0 -106
- package/dist/samplematrix-XOSKILUL.js +0 -2193
- package/dist/sc-ZVZPWQY7.js +0 -81
- package/dist/scatter-2ZE5MCYH.js +0 -88
- package/dist/scatter-ZOWFPGIS.js +0 -925
- package/dist/selectGenomeWithTklst-EF7WYEAJ.js +0 -129
- package/dist/singleCellCellType-TKCGC3G3.js +0 -33
- package/dist/singleCellCellType.unit.spec-JZ6UHC5F.js +0 -154
- package/dist/singleCellGeneExpression-I2INGXGI.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-KL77FSHZ.js +0 -148
- package/dist/singleCellNumericValue-2X5NCEHL.js +0 -33
- package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js +0 -416
- package/dist/singleCellPlot-Q6INE54V.js +0 -48
- package/dist/singlecell-5N2P5ZAT.js +0 -81
- package/dist/singlecell-NPSWMNI3.js +0 -1566
- package/dist/snp-2WPJYPDE.js +0 -33
- package/dist/snp.unit.spec-PPWIIOX6.js +0 -171
- package/dist/snplocus-T3HZFZWA.js +0 -203
- package/dist/spliceevent.a53ss.diagram-APCF4LV5.js +0 -146
- package/dist/spliceevent.exonskip.diagram-TT5JGBSC.js +0 -278
- package/dist/spliceevent.noeventdiagram-CPXQSX3Z.js +0 -455
- package/dist/ssGSEA-FSX6P7HA.js +0 -33
- package/dist/ssGSEA.unit.spec-TXYT665R.js +0 -83
- package/dist/stattable-BD64SFYV.js +0 -117
- package/dist/studyCatalog-6BOWO4PO.js +0 -414
- package/dist/summarizeCnvGeneexp-AMLYJIPU.js +0 -158
- package/dist/summarizeGeneexpSurvival-IDM7T333.js +0 -105
- package/dist/summarizeMutationCnv-R6SYSJQC.js +0 -159
- package/dist/summarizeMutationDiagnosis-XZJ4JLW2.js +0 -35
- package/dist/summarizeMutationSurvival-ABJ5RL4L.js +0 -99
- package/dist/summary-NVYCTE6P.js +0 -44
- package/dist/summary.integration.spec-SSLTLVNW.js +0 -409
- package/dist/summaryInput-SJOZETRP.js +0 -242
- package/dist/sunburst-RU5ZPJKW.js +0 -278
- package/dist/survival-BHJQMXKI.js +0 -53
- package/dist/survival-DVG6Y2FV.js +0 -1248
- package/dist/survival.integration.spec-OJUPTY5N.js +0 -613
- package/dist/svgraph-ETFA4GRX.js +0 -1382
- package/dist/svmr-AI3RU4JK.js +0 -3837
- package/dist/table-YCTSMLQL.js +0 -197
- package/dist/termCollection-GMKEZR6D.js +0 -252
- package/dist/termCollection-VEVKKJZD.js +0 -33
- package/dist/termCollection.unit.spec-EU6YCEPX.js +0 -299
- package/dist/termCollectionFractionSelection-UBS74X36.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-Y5OJFGDD.js +0 -188
- package/dist/tk-HMF4HCNV.js +0 -1121
- package/dist/tk-W6Z4FJMW.js +0 -41
- package/dist/tp.ui-NECRDJCS.js +0 -1454
- package/dist/tvs.dt-2JEH3F35.js +0 -34
- package/dist/tvs.dtcnv.categorical-YBXKEBR2.js +0 -35
- package/dist/tvs.dtcnv.continuous-AD3SJ6BY.js +0 -67
- package/dist/tvs.dtfusion-ODI3CLQS.js +0 -35
- package/dist/tvs.dtitd-V3LYLPJY.js +0 -35
- package/dist/tvs.dtsnvindel-R3V5LTNL.js +0 -35
- package/dist/tvs.dtsv-ZQLKEDLJ.js +0 -35
- package/dist/tvs.numeric-22AHXO5K.js +0 -20
- package/dist/tvs.samplelst-G25A7HM6.js +0 -98
- package/dist/tvs.termCollection-WLVCWDEJ.js +0 -124
- package/dist/vocabulary-6K537FJM.js +0 -36
- package/dist/wsi.direct-SNPPQPVO.js +0 -8343
- /package/dist/{2dmaf-PN5YS362.js.map → 2dmaf-43QBND66.js.map} +0 -0
- /package/dist/{AggMatrixInput-NJHU4FU2.js.map → AggMatrixInput-X7NGFUHH.js.map} +0 -0
- /package/dist/{AggregateMatrix-IBWOJWOC.js.map → AggregateMatrix-M4HRI4PX.js.map} +0 -0
- /package/dist/{AppHeader-XV6S7GG5.js.map → AppHeader-QBRQN6PM.js.map} +0 -0
- /package/dist/{BoxPlot-ZIVA55SK.js.map → BoxPlot-V6SPSEQ2.js.map} +0 -0
- /package/dist/{CorrelationVolcano-33I4FC44.js.map → CorrelationVolcano-UFPCYC77.js.map} +0 -0
- /package/dist/{Cuminc-WKY35UGV.js.map → Cuminc-KXGXGLKZ.js.map} +0 -0
- /package/dist/{DE-E256DHID.js.map → DE-K2YXHOOW.js.map} +0 -0
- /package/dist/{DM-W7PXTIKY.js.map → DM-C7VN3RWB.js.map} +0 -0
- /package/dist/{Disco-OZY5GW2Z.js.map → Disco-HECQVKXG.js.map} +0 -0
- /package/dist/{Disco.UI-NRALEYXK.js.map → Disco.UI-XF2GEKRW.js.map} +0 -0
- /package/dist/{GeneExpInput-XEFUTLFU.js.map → GeneExpInput-VBIZZV27.js.map} +0 -0
- /package/dist/{Geomap-GEK7UEDU.js.map → Geomap-UIIOLRFA.js.map} +0 -0
- /package/dist/{HicApp-ZY7UHV5H.js.map → HicApp-73ESVNBA.js.map} +0 -0
- /package/dist/{IDCViewer-YNKG4V46.js.map → IDCViewer-RBYN5A4P.js.map} +0 -0
- /package/dist/{NumBinaryEditor-NEL727DX.js.map → NumBinaryEditor-DJLSNSLE.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-GCGZMJYF.js.map → NumBinaryEditor.unit.spec-LCJHL3XM.js.map} +0 -0
- /package/dist/{NumContEditor-IM6RRDGU.js.map → NumContEditor-SVLDJ2ML.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-B5AJXANS.js.map → NumContEditor.unit.spec-JDMSK4HY.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-EZT5DRKP.js.map → NumCustomBinEditor-BI63AH3R.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-KLUDS6TH.js.map → NumCustomBinEditor.unit.spec-5433G7Y2.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-2M6Q5AAZ.js.map → NumDiscreteEditor-LEZTGXAV.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-2JYZYJUX.js.map → NumDiscreteEditor.unit.spec-5OEORHJ4.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-AQDHA2PU.js.map → NumRegularBinEditor-EXWHIWPM.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-62BYFNYG.js.map → NumRegularBinEditor.unit.spec-QY25Z2TT.js.map} +0 -0
- /package/dist/{NumSplineEditor-6Y5TZSTO.js.map → NumSplineEditor-XPPMYYAD.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-S65AV5EK.js.map → NumSplineEditor.unit.spec-GOGBKWMN.js.map} +0 -0
- /package/dist/{NumericDensity-5ES4SDWZ.js.map → NumericDensity-RKY2IQ72.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-J6KZSE2P.js.map → NumericDensity.unit.spec-5ZM6ICXM.js.map} +0 -0
- /package/dist/{NumericHandler-ZTLDPP2F.js.map → NumericHandler-FXF3M5M3.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-BZFBVHGU.js.map → NumericHandler.unit.spec-M2OQTBJX.js.map} +0 -0
- /package/dist/{ProteomeInput-IKEXPCGV.js.map → ProteomeInput-TMZ3THRL.js.map} +0 -0
- /package/dist/{RunChart2-CVRPXQH5.js.map → RunChart2-7GNDWRKC.js.map} +0 -0
- /package/dist/{Wsi-3YTFABWG.js.map → Wsi-OHRCGYYD.js.map} +0 -0
- /package/dist/{adSandbox-QYIG6637.js.map → adSandbox-H56B25WR.js.map} +0 -0
- /package/dist/{animatedBubbleChart-X53PR73H.js.map → animatedBubbleChart-7SXFHU4J.js.map} +0 -0
- /package/dist/{app-HJLTRZPI.js.map → app-22JCSULA.js.map} +0 -0
- /package/dist/{app-MGY6A4DM.js.map → app-RGZJB6LN.js.map} +0 -0
- /package/dist/{bam-VRQHRCP5.js.map → bam-HA65TRGX.js.map} +0 -0
- /package/dist/{barchart-TWMOUZFL.js.map → barchart-6XO75OMA.js.map} +0 -0
- /package/dist/{barchart2-CV7RMMRG.js.map → barchart2-6E5BIRHD.js.map} +0 -0
- /package/dist/{block.init-XYOJTXKP.js.map → block.init-TPU5QIPA.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-77FSBDHA.js.map → block.mds.expressionrank-QZDRFXCH.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-4TSYV4WS.js.map → block.mds.geneboxplot-64QVBK5Q.js.map} +0 -0
- /package/dist/{block.mds.junction-P4MYDET6.js.map → block.mds.junction-I4J6VXNT.js.map} +0 -0
- /package/dist/{block.mds.svcnv-CYOFAS2T.js.map → block.mds.svcnv-GDQMSQFF.js.map} +0 -0
- /package/dist/{block.svg-IT3ELCF4.js.map → block.svg-2MZFT5QP.js.map} +0 -0
- /package/dist/{block.tk.aicheck-GULHJLV5.js.map → block.tk.aicheck-2MKHF6LX.js.map} +0 -0
- /package/dist/{block.tk.ase-RW5YL6HN.js.map → block.tk.ase-CLYGKFTS.js.map} +0 -0
- /package/dist/{block.tk.bam-MPGQW6KB.js.map → block.tk.bam-XTR4QA5Z.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-EYRY374P.js.map → block.tk.bedgraphdot-A2P2CXRU.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-BKSXCDNM.js.map → block.tk.bigwig.ui-YZH6JXEO.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-76PV6NM3.js.map → block.tk.hicstraw-QBK5VWGU.js.map} +0 -0
- /package/dist/{block.tk.junction-Z52QHQJQ.js.map → block.tk.junction-5DEVBA7G.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-K32OOTZC.js.map → block.tk.junction.textmatrixui-7TTQMO6W.js.map} +0 -0
- /package/dist/{block.tk.ld-DDGLRHPO.js.map → block.tk.ld-PRIVUPKL.js.map} +0 -0
- /package/dist/{block.tk.menu-MO6TESKI.js.map → block.tk.menu-JGBRFSS3.js.map} +0 -0
- /package/dist/{block.tk.pgv-AKLKKSEP.js.map → block.tk.pgv-KQJCJMVD.js.map} +0 -0
- /package/dist/{brainImaging-KSTJQJAB.js.map → brainImaging-4SLVJ2HV.js.map} +0 -0
- /package/dist/{brainRegions-WCRMMSK4.js.map → brainRegions-BDIVM2SG.js.map} +0 -0
- /package/dist/{bubbleHeatmap-4YOQ3BAB.js.map → bubbleHeatmap-ORKFJNEQ.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-O6YZ2RW4.js.map → cellTypeBubbleHeatmap-VOHLI4P7.js.map} +0 -0
- /package/dist/{chunk-MC674TS2.js.map → chunk-26N3B2JO.js.map} +0 -0
- /package/dist/{chunk-G3CCQOLH.js.map → chunk-2HNJF5ZI.js.map} +0 -0
- /package/dist/{chunk-XGYQZHNX.js.map → chunk-2LNGHIOC.js.map} +0 -0
- /package/dist/{chunk-5IMFPVGT.js.map → chunk-3FEP6B5T.js.map} +0 -0
- /package/dist/{chunk-BPGZUNLL.js.map → chunk-3SCQGODD.js.map} +0 -0
- /package/dist/{chunk-6DPELKO5.js.map → chunk-47STLK7K.js.map} +0 -0
- /package/dist/{chunk-KAY2ODXX.js.map → chunk-4G73CMUL.js.map} +0 -0
- /package/dist/{chunk-A7TXS6JR.js.map → chunk-4XYQG3XU.js.map} +0 -0
- /package/dist/{chunk-J7KB2MH3.js.map → chunk-53XNEXR6.js.map} +0 -0
- /package/dist/{chunk-AAJXHERO.js.map → chunk-5UB5H7A3.js.map} +0 -0
- /package/dist/{chunk-CPIPN5F6.js.map → chunk-6FYQYTV6.js.map} +0 -0
- /package/dist/{chunk-REPQKF5L.js.map → chunk-6RP6CR4Q.js.map} +0 -0
- /package/dist/{chunk-IISNWG4X.js.map → chunk-A5D37SIL.js.map} +0 -0
- /package/dist/{chunk-4PB5ZEOB.js.map → chunk-ADRFQ5AL.js.map} +0 -0
- /package/dist/{chunk-IELQ3HMN.js.map → chunk-AUZ63NKJ.js.map} +0 -0
- /package/dist/{chunk-HKKTNIMX.js.map → chunk-BK6UDL7F.js.map} +0 -0
- /package/dist/{chunk-X44AR557.js.map → chunk-CFZ2ZW3E.js.map} +0 -0
- /package/dist/{chunk-HKSRIEWJ.js.map → chunk-CKOU3P27.js.map} +0 -0
- /package/dist/{chunk-XRMUUWLS.js.map → chunk-CT4IG5IR.js.map} +0 -0
- /package/dist/{chunk-72P6O537.js.map → chunk-D6UBH77N.js.map} +0 -0
- /package/dist/{chunk-VWGRKOVJ.js.map → chunk-DS4GLMJL.js.map} +0 -0
- /package/dist/{chunk-HELEV3LT.js.map → chunk-DSBRHWZ7.js.map} +0 -0
- /package/dist/{chunk-GS6ZMPKP.js.map → chunk-DX35MKPR.js.map} +0 -0
- /package/dist/{chunk-6HGTVMZM.js.map → chunk-EDZJ3VNZ.js.map} +0 -0
- /package/dist/{chunk-MLKQZ3RL.js.map → chunk-F47A4CVK.js.map} +0 -0
- /package/dist/{chunk-3PQDD5HM.js.map → chunk-G4H34RNK.js.map} +0 -0
- /package/dist/{chunk-E7NVJ44Z.js.map → chunk-G7RUMSHL.js.map} +0 -0
- /package/dist/{chunk-BGVGN73F.js.map → chunk-GXFS25SK.js.map} +0 -0
- /package/dist/{chunk-AVS4IXEA.js.map → chunk-IBT6WRY6.js.map} +0 -0
- /package/dist/{chunk-SUNDNTVY.js.map → chunk-IJ7AIDEO.js.map} +0 -0
- /package/dist/{chunk-UMZJQWWK.js.map → chunk-JBFVJHZN.js.map} +0 -0
- /package/dist/{chunk-NBGVEZNX.js.map → chunk-JDVBUIEU.js.map} +0 -0
- /package/dist/{chunk-OBBR4UYN.js.map → chunk-JTANDSTD.js.map} +0 -0
- /package/dist/{chunk-N6IWVSFP.js.map → chunk-K7RW5TPU.js.map} +0 -0
- /package/dist/{chunk-XOND7UIK.js.map → chunk-LBCIXRI2.js.map} +0 -0
- /package/dist/{chunk-TSI4W6XO.js.map → chunk-MNXL2UV5.js.map} +0 -0
- /package/dist/{chunk-WOMERKMR.js.map → chunk-NDOKW2HJ.js.map} +0 -0
- /package/dist/{chunk-Z2FSHODI.js.map → chunk-NI5CVN43.js.map} +0 -0
- /package/dist/{chunk-74C6G6JD.js.map → chunk-NOBXDQDU.js.map} +0 -0
- /package/dist/{chunk-BL7EYUZC.js.map → chunk-NQNVLZOA.js.map} +0 -0
- /package/dist/{chunk-4C7MA5Q3.js.map → chunk-NULFGPE3.js.map} +0 -0
- /package/dist/{chunk-3GUVLDUS.js.map → chunk-OUIXGM3K.js.map} +0 -0
- /package/dist/{chunk-Y5BBFDC3.js.map → chunk-P4LGA36F.js.map} +0 -0
- /package/dist/{chunk-QP7EJXSU.js.map → chunk-PU5FQWAY.js.map} +0 -0
- /package/dist/{chunk-QUHXX7JE.js.map → chunk-PZ2OSHBF.js.map} +0 -0
- /package/dist/{chunk-KJM6PLXM.js.map → chunk-QBNDPW7O.js.map} +0 -0
- /package/dist/{chunk-WXX2YD4Q.js.map → chunk-QD75Q5LM.js.map} +0 -0
- /package/dist/{chunk-JIZ3B32T.js.map → chunk-RI65SIN3.js.map} +0 -0
- /package/dist/{chunk-GPZYAJQH.js.map → chunk-RPGLLO4T.js.map} +0 -0
- /package/dist/{chunk-QJ2VBXFB.js.map → chunk-RXNZK7MF.js.map} +0 -0
- /package/dist/{chunk-MSSPT5YM.js.map → chunk-S2ICJ3RZ.js.map} +0 -0
- /package/dist/{chunk-XTOGCXPD.js.map → chunk-SFHG6H2D.js.map} +0 -0
- /package/dist/{chunk-XEU5HXOY.js.map → chunk-TQ2DVEQO.js.map} +0 -0
- /package/dist/{chunk-BFXZBZEV.js.map → chunk-U6BJ4ZNU.js.map} +0 -0
- /package/dist/{chunk-DMWOK4DS.js.map → chunk-UXD6G6G4.js.map} +0 -0
- /package/dist/{chunk-PQA3C2NY.js.map → chunk-VH5W6ODW.js.map} +0 -0
- /package/dist/{chunk-D5MSWPAZ.js.map → chunk-VWA7BYSV.js.map} +0 -0
- /package/dist/{chunk-GUXKLMLM.js.map → chunk-X37BRSGS.js.map} +0 -0
- /package/dist/{chunk-U45R6QNT.js.map → chunk-XQYDXA47.js.map} +0 -0
- /package/dist/{chunk-TXIQ5PHR.js.map → chunk-Y7V5AIUH.js.map} +0 -0
- /package/dist/{chunk-DFT2PAIU.js.map → chunk-YBNIOGUE.js.map} +0 -0
- /package/dist/{chunk-JEJV7V7M.js.map → chunk-YEYMNF7V.js.map} +0 -0
- /package/dist/{chunk-KZHF3MQX.js.map → chunk-YJ74QATP.js.map} +0 -0
- /package/dist/{chunk-SHXJW27D.js.map → chunk-ZG2HCGAO.js.map} +0 -0
- /package/dist/{chunk-EMMGUSJB.js.map → chunk-ZZN7ZD7J.js.map} +0 -0
- /package/dist/{cohort-JWIQOO7U.js.map → cohort-6OCRQQ2S.js.map} +0 -0
- /package/dist/{condition-ZUAQYF5C.js.map → condition-SZVXH3VU.js.map} +0 -0
- /package/dist/{controls-ZPQ6SXD2.js.map → controls-MO6ZND76.js.map} +0 -0
- /package/dist/{controls.config-NELL5HY5.js.map → controls.config-P4MSTGL4.js.map} +0 -0
- /package/dist/{correlation-2X76UI3K.js.map → correlation-NMI3CM3T.js.map} +0 -0
- /package/dist/{customdata.inputui-V6QIGFRP.js.map → customdata.inputui-VCHSCA65.js.map} +0 -0
- /package/dist/{dataDownload-NSDY4MSL.js.map → dataDownload-VQHOTQ5D.js.map} +0 -0
- /package/dist/{databrowser.ui-DDLFQB6K.js.map → databrowser.ui-ZFOCAG32.js.map} +0 -0
- /package/dist/{dictionary-WSDD6TFI.js.map → dictionary-S5YCFUWH.js.map} +0 -0
- /package/dist/{dnaMethylation-3IM4OACZ.js.map → dnaMethylation-MQZLZRGT.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-5CSJA67S.js.map → dnaMethylation.integration.spec-H546EBUO.js.map} +0 -0
- /package/dist/{dofetch-GZ7POIBV.js.map → dofetch-QZIYSC7H.js.map} +0 -0
- /package/dist/{e2pca-AX7U2DOI.js.map → e2pca-XOXOS3PN.js.map} +0 -0
- /package/dist/{ep-UKACHFJU.js.map → ep-U6KRL7FR.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-46HDKH2Q.js.map → expclust.gdc.spec-HCK65C63.js.map} +0 -0
- /package/dist/{facet-3EONZDDE.js.map → facet-DCC25KJO.js.map} +0 -0
- /package/dist/{gb-W7GX5NWS.js.map → gb-TIFWFD4Y.js.map} +0 -0
- /package/dist/{geneExpClustering-PJA6Y5GW.js.map → geneExpClustering-6DQEOTOY.js.map} +0 -0
- /package/dist/{geneExpression-EMLVPVNK.js.map → geneExpression-EASRAN6B.js.map} +0 -0
- /package/dist/{geneExpression-JMGYBT53.js.map → geneExpression-G4YMDCBH.js.map} +0 -0
- /package/dist/{geneORA-CIAFQQWB.js.map → geneORA-6UBS5GSC.js.map} +0 -0
- /package/dist/{geneRanking-JRAU6FMJ.js.map → geneRanking-UXXYWHNB.js.map} +0 -0
- /package/dist/{geneVariant-3DZTWQFG.js.map → geneVariant-TKFKARZK.js.map} +0 -0
- /package/dist/{genefusion.ui-AO3TUDTL.js.map → genefusion.ui-TJLYXSVL.js.map} +0 -0
- /package/dist/{geneset-RCIP2GZH.js.map → geneset-YTBDLEIH.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-7PZCNBL3.js.map → genomeBrowser.spec-ZO4LFIXE.js.map} +0 -0
- /package/dist/{grin2-EUBCNH4Q.js.map → grin2-LIFKBMVK.js.map} +0 -0
- /package/dist/{hierCluster-AV5NO2GW.js.map → hierCluster-56EGAPOR.js.map} +0 -0
- /package/dist/{hierCluster-W2MVN34V.js.map → hierCluster-DR5NWCXA.js.map} +0 -0
- /package/dist/{hierCluster.config-4MBWG6RZ.js.map → hierCluster.config-NACE3FH2.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-JUIBIUKH.js.map → hierCluster.integration.spec-PEEXPAS6.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-6PJE64PF.js.map → hierCluster.interactivity-OCBGLUJM.js.map} +0 -0
- /package/dist/{hierCluster.renderers-RWDQ5SHY.js.map → hierCluster.renderers-JNQUSAP4.js.map} +0 -0
- /package/dist/{imagePlot-XLDQNUJA.js.map → imagePlot-GR4JNUGG.js.map} +0 -0
- /package/dist/{importPlot-7FISAQKR.js.map → importPlot-4R4BSPVD.js.map} +0 -0
- /package/dist/{isoformExpression-WOQAOVZS.js.map → isoformExpression-ST5ZW2NE.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-BMEGJNCO.js.map → isoformExpression.unit.spec-PPFC5Z7N.js.map} +0 -0
- /package/dist/{junction-6NO36IPU.js.map → junction-7AKZHOHV.js.map} +0 -0
- /package/dist/{junction.customTerm-N6JAOWZO.js.map → junction.customTerm-TMV43R7Z.js.map} +0 -0
- /package/dist/{junction.unit.spec-UKGSQHO4.js.map → junction.unit.spec-SZUJXRQ2.js.map} +0 -0
- /package/dist/{launch.adhoc-42PUNEA6.js.map → launch.adhoc-RWJQUOJ6.js.map} +0 -0
- /package/dist/{leftlabel.sample-EXAUDPSB.js.map → leftlabel.sample-WRHLVQAQ.js.map} +0 -0
- /package/dist/{lollipop-4ASTA5HO.js.map → lollipop-ZZWXTM23.js.map} +0 -0
- /package/dist/{maf-HPXANL3M.js.map → maf-N4XPZTQU.js.map} +0 -0
- /package/dist/{maftimeline-2SXFX3HF.js.map → maftimeline-2FBS6RWS.js.map} +0 -0
- /package/dist/{matrix-DX4W5XMX.js.map → matrix-5KEQPB5H.js.map} +0 -0
- /package/dist/{matrix-S34ITAPJ.js.map → matrix-RJUNXB5N.js.map} +0 -0
- /package/dist/{matrix.cells-BLULUGSZ.js.map → matrix.cells-WXTPOJYB.js.map} +0 -0
- /package/dist/{matrix.config-Z3LWYH74.js.map → matrix.config-ZZFLLD6Z.js.map} +0 -0
- /package/dist/{matrix.data-73HY7Y2V.js.map → matrix.data-3PQ73GVJ.js.map} +0 -0
- /package/dist/{matrix.groups-NOUMYNFY.js.map → matrix.groups-U6CKS6WW.js.map} +0 -0
- /package/dist/{matrix.interactivity-YHDIO5A2.js.map → matrix.interactivity-3LDZV3F7.js.map} +0 -0
- /package/dist/{matrix.layout-25HYKUF2.js.map → matrix.layout-MINLYQCA.js.map} +0 -0
- /package/dist/{matrix.legend-IMK7DH4V.js.map → matrix.legend-6GSDFZHS.js.map} +0 -0
- /package/dist/{matrix.renderers-3RZRN6HO.js.map → matrix.renderers-5BKOXDE3.js.map} +0 -0
- /package/dist/{matrix.serieses-ZTVHQ7QA.js.map → matrix.serieses-6FCFIFAQ.js.map} +0 -0
- /package/dist/{matrix.sort-EDXHT6NZ.js.map → matrix.sort-EHVVYDZ3.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-LSNY7PHU.js.map → matrix.sort.unit.spec-BCWE4AFX.js.map} +0 -0
- /package/dist/{matrix.sorterUi-3DRNHG5Z.js.map → matrix.sorterUi-WL5I6S3K.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-GNIIWGRJ.js.map → matrix.sorterUi.unit.spec-XJR5KXRL.js.map} +0 -0
- /package/dist/{matrix.unit.spec-7A6ZFRXI.js.map → matrix.unit.spec-TUCKPE26.js.map} +0 -0
- /package/dist/{mavb-M5AXPLYX.js.map → mavb-GWSNRBLM.js.map} +0 -0
- /package/dist/{mds.fimo-QE5OFA22.js.map → mds.fimo-OMAQRSMW.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-664EOHX2.js.map → mds.samplescatterplot-4UW3CC45.js.map} +0 -0
- /package/dist/{mds.survivalplot-H4TJD44D.js.map → mds.survivalplot-2CJYJBD2.js.map} +0 -0
- /package/dist/{multivalue-JD3CNQJR.js.map → multivalue-G44MHEYI.js.map} +0 -0
- /package/dist/{numericDictTermCluster-XPKEYXD7.js.map → numericDictTermCluster-5BDRGVQG.js.map} +0 -0
- /package/dist/{oncomatrix-TX5PZQ76.js.map → oncomatrix-ZTVO23ZH.js.map} +0 -0
- /package/dist/{oncomatrix.spec-6X2WAHL7.js.map → oncomatrix.spec-2QVK2A3Q.js.map} +0 -0
- /package/dist/{plot.2dvaf-5OHUFTMK.js.map → plot.2dvaf-CL5YUXKH.js.map} +0 -0
- /package/dist/{plot.app-XIVVJHWG.js.map → plot.app-4ANKPSNP.js.map} +0 -0
- /package/dist/{plot.barplot-PSODLAXD.js.map → plot.barplot-BMGDNZRA.js.map} +0 -0
- /package/dist/{plot.boxplot-W3ASYFOG.js.map → plot.boxplot-GMLQCDP6.js.map} +0 -0
- /package/dist/{plot.brainImaging-JGDLKLR7.js.map → plot.brainImaging-RZXX3NUZ.js.map} +0 -0
- /package/dist/{plot.disco-TPMXTTZK.js.map → plot.disco-3MD4J4C7.js.map} +0 -0
- /package/dist/{plot.ssgq-KIZIOZIF.js.map → plot.ssgq-ZC4UYKOT.js.map} +0 -0
- /package/dist/{plot.vaf2cov-MSMW72IY.js.map → plot.vaf2cov-4DHFMYQV.js.map} +0 -0
- /package/dist/{polar2-LA4MSRRN.js.map → polar2-TMB5EITR.js.map} +0 -0
- /package/dist/{profileForms-BJRNB2ZF.js.map → profileForms-GD7BIOOD.js.map} +0 -0
- /package/dist/{profilePlot-DDO53C4T.js.map → profilePlot-CZLK5E74.js.map} +0 -0
- /package/dist/{proteinView-NFUR42XQ.js.map → proteinView-FEEEXLKT.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-OZVF3X66.js.map → proteomeCohortCompare-NVLJ2FXX.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-RY72JF7A.js.map → pseudbulk.unit.spec-GHQZPNAH.js.map} +0 -0
- /package/dist/{pseudobulk-UVT5G2VL.js.map → pseudobulk-G5UQIRKL.js.map} +0 -0
- /package/dist/{qualitative-X3VXNC7X.js.map → qualitative-EAUUCKU5.js.map} +0 -0
- /package/dist/{radar2-RTVUJ3AN.js.map → radar2-CJQ2L6KE.js.map} +0 -0
- /package/dist/{radarFacility2-ZGLZ5AKM.js.map → radarFacility2-BLVRZE4V.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-RLLLWU5M.js.map → rememberedGvQ.unit.spec-DYRO2LO5.js.map} +0 -0
- /package/dist/{render-LR5BOYW6.js.map → render-KKAQPH6Y.js.map} +0 -0
- /package/dist/{report-37W5OXUM.js.map → report-OSOJHTSD.js.map} +0 -0
- /package/dist/{sampleView-BDC2WPH7.js.map → sampleView-WB74RLD7.js.map} +0 -0
- /package/dist/{samplelst-V2EIVZC5.js.map → samplelst-ZKXV5WOD.js.map} +0 -0
- /package/dist/{samplematrix-XOSKILUL.js.map → samplematrix-WJFYMWLT.js.map} +0 -0
- /package/dist/{sc-ZVZPWQY7.js.map → sc-RBRBUCLR.js.map} +0 -0
- /package/dist/{scatter-2ZE5MCYH.js.map → scatter-5K3QTIDK.js.map} +0 -0
- /package/dist/{scatter-ZOWFPGIS.js.map → scatter-SM7GQENM.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-EF7WYEAJ.js.map → selectGenomeWithTklst-ZZUJ7AQ7.js.map} +0 -0
- /package/dist/{singleCellCellType-TKCGC3G3.js.map → singleCellCellType-LCF2JNZ2.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-JZ6UHC5F.js.map → singleCellCellType.unit.spec-T6DYH4BC.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-I2INGXGI.js.map → singleCellGeneExpression-2XUYTH4C.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-KL77FSHZ.js.map → singleCellGeneExpression.unit.spec-SMRCLOF4.js.map} +0 -0
- /package/dist/{singleCellNumericValue-2X5NCEHL.js.map → singleCellNumericValue-57I33FZT.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-OUDBX5MY.js.map → singleCellNumericValue.unit.spec-4YNB4OEV.js.map} +0 -0
- /package/dist/{singleCellPlot-Q6INE54V.js.map → singleCellPlot-L6TKQHGD.js.map} +0 -0
- /package/dist/{singlecell-5N2P5ZAT.js.map → singlecell-LZKR3UDV.js.map} +0 -0
- /package/dist/{singlecell-NPSWMNI3.js.map → singlecell-UKN2VCXQ.js.map} +0 -0
- /package/dist/{snp-2WPJYPDE.js.map → snp-3LJITU5B.js.map} +0 -0
- /package/dist/{snp.unit.spec-PPWIIOX6.js.map → snp.unit.spec-ZQNU6XRM.js.map} +0 -0
- /package/dist/{snplocus-T3HZFZWA.js.map → snplocus-OME7UQBW.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-APCF4LV5.js.map → spliceevent.a53ss.diagram-C32IEFMU.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-TT5JGBSC.js.map → spliceevent.exonskip.diagram-CZ7MVRLK.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-CPXQSX3Z.js.map → spliceevent.noeventdiagram-ZO6R3776.js.map} +0 -0
- /package/dist/{ssGSEA-FSX6P7HA.js.map → ssGSEA-BGPQ2PFY.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-TXYT665R.js.map → ssGSEA.unit.spec-U7TBUSSK.js.map} +0 -0
- /package/dist/{stattable-BD64SFYV.js.map → stattable-FISGQCED.js.map} +0 -0
- /package/dist/{studyCatalog-6BOWO4PO.js.map → studyCatalog-UHFUT2CJ.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-AMLYJIPU.js.map → summarizeCnvGeneexp-OVZO6KIB.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-IDM7T333.js.map → summarizeGeneexpSurvival-KVQ4JGWK.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-R6SYSJQC.js.map → summarizeMutationCnv-RAKGHNLE.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-XZJ4JLW2.js.map → summarizeMutationDiagnosis-LGCINAGG.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-ABJ5RL4L.js.map → summarizeMutationSurvival-J7H7L4FX.js.map} +0 -0
- /package/dist/{summary-NVYCTE6P.js.map → summary-2632JZXH.js.map} +0 -0
- /package/dist/{summary.integration.spec-SSLTLVNW.js.map → summary.integration.spec-5WBS2ZRP.js.map} +0 -0
- /package/dist/{summaryInput-SJOZETRP.js.map → summaryInput-BH6C3ATV.js.map} +0 -0
- /package/dist/{sunburst-RU5ZPJKW.js.map → sunburst-AMRR2IHM.js.map} +0 -0
- /package/dist/{survival-DVG6Y2FV.js.map → survival-2RNJQVFS.js.map} +0 -0
- /package/dist/{survival-BHJQMXKI.js.map → survival-WYCH4QOQ.js.map} +0 -0
- /package/dist/{survival.integration.spec-OJUPTY5N.js.map → survival.integration.spec-7IFPY4I4.js.map} +0 -0
- /package/dist/{svgraph-ETFA4GRX.js.map → svgraph-YQWS52ZJ.js.map} +0 -0
- /package/dist/{svmr-AI3RU4JK.js.map → svmr-NRN6LGKK.js.map} +0 -0
- /package/dist/{table-YCTSMLQL.js.map → table-3QOMV2NN.js.map} +0 -0
- /package/dist/{termCollection-VEVKKJZD.js.map → termCollection-2ZJ7TJGO.js.map} +0 -0
- /package/dist/{termCollection-GMKEZR6D.js.map → termCollection-3MCVR7BA.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-EU6YCEPX.js.map → termCollection.unit.spec-QYOEA3X6.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-UBS74X36.js.map → termCollectionFractionSelection-5AH6EF4L.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-Y5OJFGDD.js.map → termCollectionFractionSelection.unit.spec-WPGW4WJN.js.map} +0 -0
- /package/dist/{tk-W6Z4FJMW.js.map → tk-DQ7D5UEO.js.map} +0 -0
- /package/dist/{tk-HMF4HCNV.js.map → tk-ONKYBG6R.js.map} +0 -0
- /package/dist/{tp.ui-NECRDJCS.js.map → tp.ui-C7BTMHEI.js.map} +0 -0
- /package/dist/{tvs.dt-2JEH3F35.js.map → tvs.dt-PLRMK7OT.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-YBXKEBR2.js.map → tvs.dtcnv.categorical-IZUY2AQO.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-AD3SJ6BY.js.map → tvs.dtcnv.continuous-ENV3RHHA.js.map} +0 -0
- /package/dist/{tvs.dtfusion-ODI3CLQS.js.map → tvs.dtfusion-2DVCV6AM.js.map} +0 -0
- /package/dist/{tvs.dtitd-V3LYLPJY.js.map → tvs.dtitd-XNDIRQYU.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-R3V5LTNL.js.map → tvs.dtsnvindel-4D3G7XSF.js.map} +0 -0
- /package/dist/{tvs.dtsv-ZQLKEDLJ.js.map → tvs.dtsv-QYMIMC4Z.js.map} +0 -0
- /package/dist/{tvs.numeric-22AHXO5K.js.map → tvs.numeric-M5LH3PRH.js.map} +0 -0
- /package/dist/{tvs.samplelst-G25A7HM6.js.map → tvs.samplelst-2KEU2ZWB.js.map} +0 -0
- /package/dist/{tvs.termCollection-WLVCWDEJ.js.map → tvs.termCollection-FEY746V5.js.map} +0 -0
- /package/dist/{vocabulary-6K537FJM.js.map → vocabulary-BR4NJDPS.js.map} +0 -0
- /package/dist/{wsi.direct-SNPPQPVO.js.map → wsi.direct-JWDUNHIO.js.map} +0 -0
|
@@ -1,1545 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
blocklazyload
|
|
3
|
-
} from "./chunk-Y5BBFDC3.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-QJ3HYZH3.js";
|
|
27
|
-
import "./chunk-HJ6L54YS.js";
|
|
28
|
-
import "./chunk-KV4W2ACA.js";
|
|
29
|
-
import "./chunk-DMWOK4DS.js";
|
|
30
|
-
import {
|
|
31
|
-
Menu
|
|
32
|
-
} from "./chunk-ELJX3QIQ.js";
|
|
33
|
-
import "./chunk-5IMFPVGT.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-VMRO6DMC.js";
|
|
41
|
-
import {
|
|
42
|
-
getFilteredSamples
|
|
43
|
-
} from "./chunk-HKKTNIMX.js";
|
|
44
|
-
import "./chunk-GMRIEUBW.js";
|
|
45
|
-
import "./chunk-4EZLVENZ.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-XOSKILUL.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-664EOHX2.js.map
|