@sjcrh/proteinpaint-client 2.212.0 → 2.213.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-3FDGCUTK.js +1367 -0
- package/dist/AggMatrixInput-QA2FHMSY.js +406 -0
- package/dist/AggregateMatrix-XGVKDN2K.js +41 -0
- package/dist/AppHeader-NVLHCOVU.js +830 -0
- package/dist/BoxPlot-IVO7VBQZ.js +1208 -0
- package/dist/CorrelationVolcano-2XD5OH2S.js +617 -0
- package/dist/Cuminc-ECQ56PKO.js +1220 -0
- package/dist/DE-KWA2K24U.js +89 -0
- package/dist/DEinput-ZP6CYIRN.js +501 -0
- package/dist/DM-ME7CCC4E.js +90 -0
- package/dist/DifferentialAnalysis-6SIKR566.js +239 -0
- package/dist/Disco-LVRT7T3B.js +3389 -0
- package/dist/Disco.UI-GT64ZEK4.js +243 -0
- package/dist/DmrPlot-ZZYKJ4UH.js +362 -0
- package/dist/GB-WR6SENAZ.js +1392 -0
- package/dist/GSEA-U2GFOHWT.js +875 -0
- package/dist/GeneExpInput-CQSORTKI.js +42 -0
- package/dist/Geomap-CGJ7EIMD.js +84 -0
- package/dist/HicApp-DS3HC2G5.js +2245 -0
- package/dist/IDCViewer-6KWSZWZ7.js +10812 -0
- package/dist/NumBinaryEditor-BQVR2RDS.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-FAOFWPDH.js +312 -0
- package/dist/NumContEditor-6T6XFLAM.js +105 -0
- package/dist/NumContEditor.unit.spec-GTBA5F4D.js +164 -0
- package/dist/NumCustomBinEditor-Q2GJOFOH.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-TSJE3OVN.js +397 -0
- package/dist/NumDiscreteEditor-QFKPIRDW.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-VKDRO52H.js +233 -0
- package/dist/NumRegularBinEditor-SLFPSTA3.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-WROEDSWQ.js +278 -0
- package/dist/NumSplineEditor-AEXNF6E4.js +210 -0
- package/dist/NumSplineEditor.unit.spec-UOESCG7A.js +224 -0
- package/dist/NumericDensity-KPJ6C7N3.js +33 -0
- package/dist/NumericDensity.unit.spec-HM5IAPQT.js +418 -0
- package/dist/NumericHandler-S3HPYHOJ.js +34 -0
- package/dist/NumericHandler.unit.spec-B4CY2GR6.js +214 -0
- package/dist/ProteomeInput-AC5TRXHE.js +388 -0
- package/dist/Regression-MHGQ2ECB.js +1416 -0
- package/dist/RunChart2-6VSXLBNE.js +749 -0
- package/dist/SC-KPIQR5JQ.js +1348 -0
- package/dist/Violin-6BRIIZAY.js +1064 -0
- package/dist/Volcano-TNNAVPVQ.js +2456 -0
- package/dist/Wsi-JRAK47YP.js +629 -0
- package/dist/adSandbox-HZROPAPC.js +33 -0
- package/dist/animatedBubbleChart-C57NY3PX.js +547 -0
- package/dist/app-HU4F4WBL.js +32 -0
- package/dist/app-OS2T3Q6X.js +42 -0
- package/dist/app.js +13 -13
- package/dist/bam-XBYHZH7B.js +876 -0
- package/dist/barchart-7MOHGOPW.js +42 -0
- package/dist/barchart2-NOWNROMN.js +309 -0
- package/dist/block-PRB7FXIC.js +6250 -0
- package/dist/block.init-EQJ42A2H.js +33 -0
- package/dist/block.mds.expressionrank-W6GIHAAL.js +354 -0
- package/dist/block.mds.geneboxplot-GBP5N7AU.js +823 -0
- package/dist/block.mds.junction-TUIXESU2.js +1539 -0
- package/dist/block.mds.svcnv-YOUIXG4A.js +6796 -0
- package/dist/block.svg-XAQJBCOC.js +159 -0
- package/dist/block.tk.aicheck-MRR74ULN.js +278 -0
- package/dist/block.tk.ase-ZB5W537R.js +360 -0
- package/dist/block.tk.bam-66562WN7.js +1901 -0
- package/dist/block.tk.bedgraphdot-CGBLLLI7.js +379 -0
- package/dist/block.tk.bigwig.ui-FXE6KXRG.js +206 -0
- package/dist/block.tk.hicstraw-RZXW5CWM.js +818 -0
- package/dist/block.tk.junction-FSGFU7B3.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-VR4ZIEUP.js +194 -0
- package/dist/block.tk.ld-QE54JIGV.js +94 -0
- package/dist/block.tk.menu-GFGPEMXQ.js +1054 -0
- package/dist/block.tk.menu-GFGPEMXQ.js.map +7 -0
- package/dist/block.tk.pgv-IPX2D3GA.js +938 -0
- package/dist/brainImaging-J4HK4JON.js +555 -0
- package/dist/brainRegions-RH4EXEQ7.js +217 -0
- package/dist/bubbleHeatmap-R2CNWOAJ.js +378 -0
- package/dist/cellTypeBubbleHeatmap-KJSNP4A3.js +278 -0
- package/dist/chunk-2Z2TFFLP.js +299 -0
- package/dist/chunk-3447YXVI.js +129 -0
- package/dist/chunk-35DMRAGG.js +302 -0
- package/dist/chunk-3BBUXNES.js +480 -0
- package/dist/chunk-3CIL7KH7.js +481 -0
- package/dist/chunk-3KH5JUZV.js +1278 -0
- package/dist/chunk-3SBHDIJU.js +468 -0
- package/dist/chunk-3YNRU4SC.js +98 -0
- package/dist/chunk-4E2F26CC.js +143 -0
- package/dist/chunk-4VZ4HR3U.js +134 -0
- package/dist/chunk-5RFLLJRG.js +2327 -0
- package/dist/chunk-5X2MW4CV.js +102 -0
- package/dist/chunk-6TCULFEF.js +2784 -0
- package/dist/chunk-7HPICVA4.js +178 -0
- package/dist/chunk-7PBHM4JU.js +14 -0
- package/dist/chunk-B2FSMLYK.js +4375 -0
- package/dist/chunk-B5BLNQ2E.js +70 -0
- package/dist/chunk-BR76YIDV.js +240 -0
- package/dist/chunk-BS6IUMA6.js +1339 -0
- package/dist/chunk-BUX5YSDF.js +56 -0
- package/dist/chunk-C2KMMY53.js +339 -0
- package/dist/chunk-CD2WD7ZG.js +56 -0
- package/dist/chunk-CUHJN6CC.js +217 -0
- package/dist/chunk-CWWE77DH.js +498 -0
- package/dist/chunk-DCHHIXIP.js +103 -0
- package/dist/chunk-FDBT4PQ6.js +182 -0
- package/dist/chunk-FMFEQPMB.js +783 -0
- package/dist/chunk-FVADQZLY.js +2676 -0
- package/dist/chunk-GDJUSLDV.js +1812 -0
- package/dist/chunk-GPJLIBNO.js +102 -0
- package/dist/chunk-H6GPQPSM.js +203 -0
- package/dist/chunk-HBNB5TRH.js +787 -0
- package/dist/chunk-HBNB5TRH.js.map +7 -0
- package/dist/chunk-HFEFFFPL.js +1233 -0
- package/dist/chunk-HUGVRGQO.js +176 -0
- package/dist/chunk-IP2PLKC3.js +158 -0
- package/dist/chunk-JPJ2DKP5.js +2902 -0
- package/dist/chunk-JQ3JE2F6.js +141 -0
- package/dist/chunk-K2ITA56I.js +80 -0
- package/dist/chunk-K5P3JV6N.js +49 -0
- package/dist/chunk-KRQC5AOW.js +626 -0
- package/dist/chunk-LDDN2BHX.js +6360 -0
- package/dist/chunk-LOHACXSB.js +255 -0
- package/dist/chunk-MIG3QAYD.js +1988 -0
- package/dist/chunk-N5CSNFDP.js +272 -0
- package/dist/chunk-NZBCTASL.js +54 -0
- package/dist/chunk-O3EJBFK7.js +5217 -0
- package/dist/chunk-OB3S6QYD.js +243 -0
- package/dist/chunk-OLV3Q6TN.js +55 -0
- package/dist/chunk-PRPQ654B.js +263 -0
- package/dist/chunk-QI6X4V43.js +25009 -0
- package/dist/chunk-QZXUHBUV.js +550 -0
- package/dist/chunk-S2PNRIOW.js +123 -0
- package/dist/chunk-T4XPCSLP.js +117 -0
- package/dist/chunk-TCHFJHHC.js +237 -0
- package/dist/chunk-TR2BNELL.js +518 -0
- package/dist/chunk-TZZTJWLD.js +34 -0
- package/dist/chunk-UH5BHS42.js +692 -0
- package/dist/chunk-VRY727VE.js +276 -0
- package/dist/chunk-WA3C3A2M.js +147 -0
- package/dist/chunk-XIJC7RNK.js +217 -0
- package/dist/chunk-XVOHS4CK.js +54 -0
- package/dist/chunk-Y3ABEAKV.js +379 -0
- package/dist/chunk-YB2A2CWR.js +294 -0
- package/dist/chunk-YU7CVG4B.js +2258 -0
- package/dist/chunk-YU7CVG4B.js.map +7 -0
- package/dist/chunk-ZKZHYCO3.js +382 -0
- package/dist/cohort-J3JNIMCT.js +70 -0
- package/dist/condition-A6VAD4OS.js +327 -0
- package/dist/controls-2R2OQAX2.js +34 -0
- package/dist/controls.btns-6AKLIWOG.js +9 -0
- package/dist/controls.config-UPE6TAHK.js +34 -0
- package/dist/correlation-Q6HYOUOX.js +95 -0
- package/dist/customdata.inputui-KQJKSQNI.js +284 -0
- package/dist/dataDownload-PYQX2BWN.js +329 -0
- package/dist/databrowser.ui-LPFKGVW3.js +425 -0
- package/dist/dictionary-GYN7OXWQ.js +113 -0
- package/dist/dnaMethylation-TSRHGNNY.js +33 -0
- package/dist/dnaMethylation.integration.spec-3YYSFVKK.js +198 -0
- package/dist/dofetch-4YRJUWLJ.js +48 -0
- package/dist/e2pca-G4AVRHQC.js +344 -0
- package/dist/ep-MHT3CLGK.js +1249 -0
- package/dist/expclust.gdc.spec-2TWLDD2S.js +302 -0
- package/dist/facet-4O65ZSBQ.js +519 -0
- package/dist/facet-4O65ZSBQ.js.map +7 -0
- package/dist/gb-WLOGQSEU.js +81 -0
- package/dist/geneExpClustering-LOLLER5C.js +244 -0
- package/dist/geneExpression-NP2N4CRU.js +310 -0
- package/dist/geneExpression-RWE7PBBD.js +33 -0
- package/dist/geneExpression.unit.spec-MBE6YVKY.js +128 -0
- package/dist/geneORA-ZWZCCBL7.js +273 -0
- package/dist/geneRanking-UZXH5SLT.js +548 -0
- package/dist/geneVariant-MULXYJ7M.js +36 -0
- package/dist/geneVariant-ZPINPLRP.js +289 -0
- package/dist/geneVariant.integration.spec-6DNKP22T.js +503 -0
- package/dist/genefusion.ui-S4BPNRIO.js +303 -0
- package/dist/geneset-LZNALH2H.js +203 -0
- package/dist/genomeBrowser.spec-JOIKBWVC.js +276 -0
- package/dist/grin2-GFZ5REPY.js +949 -0
- package/dist/grin2-JPR6LCXT.js +70 -0
- package/dist/hierCluster-DCESQECE.js +55 -0
- package/dist/hierCluster-M6R4CH22.js +59 -0
- package/dist/hierCluster.config-DBQYJXML.js +36 -0
- package/dist/hierCluster.integration.spec-DPXTME5W.js +483 -0
- package/dist/hierCluster.interactivity-EKKKYVEP.js +49 -0
- package/dist/imagePlot-XXSCMNUV.js +156 -0
- package/dist/importPlot-LKMMP7ZV.js +8 -0
- package/dist/isoformExpression-A634VVY3.js +35 -0
- package/dist/isoformExpression.unit.spec-2J4VQH43.js +237 -0
- package/dist/junction-22DCADQW.js +36 -0
- package/dist/junction.unit.spec-NQDRD66O.js +182 -0
- package/dist/launch.adhoc-NAHAYONX.js +37 -0
- package/dist/leftlabel.sample-CRMQSNCJ.js +258 -0
- package/dist/lollipop-XLPUIZBA.js +166 -0
- package/dist/maf-LPXQMGJC.js +455 -0
- package/dist/maftimeline-X2YPHLLO.js +587 -0
- package/dist/matrix-U7PGR4MD.js +54 -0
- package/dist/matrix-UAU7QUP2.js +59 -0
- package/dist/matrix.config-HZ3TORDS.js +37 -0
- package/dist/matrix.data-D77IGADO.js +23 -0
- package/dist/matrix.dom-3Z5PNSKJ.js +11 -0
- package/dist/matrix.integration.spec-7QLCJO26.js +3160 -0
- package/dist/matrix.interactivity-OIKLY2O6.js +37 -0
- package/dist/matrix.layout-ICBZ5PCU.js +39 -0
- package/dist/matrix.renderers-PN56PKD3.js +34 -0
- package/dist/matrix.sort.unit.spec-IQOMDVVS.js +468 -0
- package/dist/matrix.sorterUi-UKANNCZM.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-JCN62VCG.js +338 -0
- package/dist/matrix.unit.spec-JASP2ZH6.js +150 -0
- package/dist/mavb-KHRJRSUD.js +727 -0
- package/dist/mds.fimo-LOR3DSLQ.js +513 -0
- package/dist/mds.samplescatterplot-W3TCPYHS.js +1545 -0
- package/dist/mds.survivalplot-EYAA5IO3.js +477 -0
- package/dist/multivalue-GGM5DFPD.js +83 -0
- package/dist/oncomatrix-MVLDAB6I.js +290 -0
- package/dist/oncomatrix.spec-43PZ4CLH.js +443 -0
- package/dist/plot.2dvaf-4H3YMAIV.js +372 -0
- package/dist/plot.app-OZGOECPK.js +36 -0
- package/dist/plot.barplot-OQKZAU3N.js +97 -0
- package/dist/plot.boxplot-4O4VNRMV.js +146 -0
- package/dist/plot.brainImaging-6I4HHUMD.js +51 -0
- package/dist/plot.disco-BOWNCFJV.js +99 -0
- package/dist/plot.ssgq-6STRLDEG.js +134 -0
- package/dist/plot.vaf2cov-75EZA7PJ.js +253 -0
- package/dist/polar2-QQ2ZYQ3I.js +232 -0
- package/dist/profileForms-WU7UNK7Y.js +941 -0
- package/dist/profilePlot-KW7UITCT.js +49 -0
- package/dist/proteinView-ET75MKLU.js +1357 -0
- package/dist/proteomeCohortCompare-SDX5D26O.js +912 -0
- package/dist/pseudbulk.unit.spec-T3B2T5FK.js +86 -0
- package/dist/pseudobulk-4O6GK2TZ.js +35 -0
- package/dist/qualitative-FUJ6JHPZ.js +38 -0
- package/dist/radar2-G75NIN2N.js +327 -0
- package/dist/radarFacility2-OOAUSL6F.js +335 -0
- package/dist/render-JMAJCJFT.js +33 -0
- package/dist/report-UKB7676O.js +217 -0
- package/dist/sampleView-JGWU2E5H.js +43 -0
- package/dist/samplelst-ZB23PILZ.js +106 -0
- package/dist/samplematrix-CQAB5PVO.js +2193 -0
- package/dist/sc-JOIUUG4I.js +81 -0
- package/dist/scatter-DCX72P3N.js +88 -0
- package/dist/scatter-JXBGEKLF.js +925 -0
- package/dist/selectGenomeWithTklst-EZTHPCBB.js +129 -0
- package/dist/singleCellCellType-BOQTDUZA.js +33 -0
- package/dist/singleCellCellType.unit.spec-3HUF7VWW.js +154 -0
- package/dist/singleCellGeneExpression-UBTHLFRN.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-YM6EQB3E.js +148 -0
- package/dist/singleCellNumericValue-53T6WOHJ.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-SYSMD5IW.js +416 -0
- package/dist/singleCellPlot-3V47EUB4.js +48 -0
- package/dist/singlecell-AFGFONXY.js +81 -0
- package/dist/singlecell-VZI3LEUT.js +1566 -0
- package/dist/snp-IPIYL7OY.js +33 -0
- package/dist/snp.unit.spec-OC5JHCXR.js +171 -0
- package/dist/snplocus-DSGUSGUP.js +203 -0
- package/dist/spliceevent.a53ss.diagram-RNAJHS4P.js +146 -0
- package/dist/spliceevent.exonskip.diagram-YWRATK46.js +278 -0
- package/dist/spliceevent.noeventdiagram-6ZJRJ4QZ.js +455 -0
- package/dist/ssGSEA-IWCC6JDL.js +33 -0
- package/dist/ssGSEA.unit.spec-3TKDENWO.js +83 -0
- package/dist/stattable-EXOWMETP.js +117 -0
- package/dist/studyCatalog-OAGHQXKY.js +414 -0
- package/dist/summarizeCnvGeneexp-K6XO5YEP.js +158 -0
- package/dist/summarizeGeneexpSurvival-WTAGCCU4.js +105 -0
- package/dist/summarizeMutationCnv-QKIDS3LI.js +159 -0
- package/dist/summarizeMutationDiagnosis-ACFWADSQ.js +35 -0
- package/dist/summarizeMutationSurvival-XPFPN4N5.js +99 -0
- package/dist/summary-VCU2NTIZ.js +44 -0
- package/dist/summary.integration.spec-2DE653PH.js +409 -0
- package/dist/summaryInput-GO75OPLA.js +242 -0
- package/dist/sunburst-BSCFRYSV.js +278 -0
- package/dist/survival-BEP7JNML.js +1249 -0
- package/dist/survival-XUO2D6CX.js +53 -0
- package/dist/survival.integration.spec-EO5KAFDQ.js +613 -0
- package/dist/svgraph-YGXOB3QY.js +1382 -0
- package/dist/svmr-MATMMI4E.js +3837 -0
- package/dist/table-DFSX7XYJ.js +197 -0
- package/dist/termCollection-GKPC4K2O.js +252 -0
- package/dist/termCollection-ZUJFB7YB.js +33 -0
- package/dist/termCollection.unit.spec-YE7IKC6S.js +299 -0
- package/dist/termCollectionFractionSelection-DLWXUEEN.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-N2LNHIWC.js +188 -0
- package/dist/termInfo-PZ7UDA5C.js +9 -0
- package/dist/tk-PHTWQHVV.js +41 -0
- package/dist/tk-RNUMIS5P.js +1121 -0
- package/dist/tp.ui-A52OBFJD.js +1454 -0
- package/dist/tvs.dt-SQSP3UXH.js +34 -0
- package/dist/tvs.dtcnv.categorical-3IWQMUEM.js +35 -0
- package/dist/tvs.dtcnv.continuous-ZD5WM32O.js +67 -0
- package/dist/tvs.dtfusion-G47Z7NP3.js +35 -0
- package/dist/tvs.dtitd-57PSTVRM.js +35 -0
- package/dist/tvs.dtsnvindel-CS3ZVFWN.js +35 -0
- package/dist/tvs.dtsv-LNWDVFCR.js +35 -0
- package/dist/tvs.samplelst-EMZOR4SY.js +98 -0
- package/dist/tvs.termCollection-RX5ASV3N.js +122 -0
- package/dist/vocabulary-JVAACQPU.js +36 -0
- package/dist/wsi.direct-J4SNIUUW.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-R23YQDZC.js +0 -1367
- package/dist/AggMatrixInput-4DIGZZN4.js +0 -406
- package/dist/AggregateMatrix-TF6XXFUN.js +0 -41
- package/dist/AppHeader-JB5HPAOQ.js +0 -830
- package/dist/BoxPlot-47TUXQDP.js +0 -1208
- package/dist/CorrelationVolcano-G7K5JEPM.js +0 -617
- package/dist/Cuminc-LBXPOENU.js +0 -1220
- package/dist/DE-JSWA6HXV.js +0 -89
- package/dist/DEinput-LEYRVYK6.js +0 -501
- package/dist/DM-332QECUP.js +0 -90
- package/dist/DifferentialAnalysis-JGH2OMTH.js +0 -239
- package/dist/Disco-36PJXFM6.js +0 -3389
- package/dist/Disco.UI-PY2KOGKY.js +0 -243
- package/dist/DmrPlot-5WMOBZOJ.js +0 -362
- package/dist/GB-6WWLTBIW.js +0 -1392
- package/dist/GSEA-GYUVO2XA.js +0 -875
- package/dist/GeneExpInput-UABEICGS.js +0 -42
- package/dist/Geomap-QB6FNV5R.js +0 -84
- package/dist/HicApp-TQKQKJTN.js +0 -2245
- package/dist/IDCViewer-L27ICGR5.js +0 -10812
- package/dist/NumBinaryEditor-FHSSXZV4.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-AMR32JHJ.js +0 -312
- package/dist/NumContEditor-R5JB5XPB.js +0 -105
- package/dist/NumContEditor.unit.spec-3PQRIC4G.js +0 -164
- package/dist/NumCustomBinEditor-B3PKD54F.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-YZKCYZQM.js +0 -397
- package/dist/NumDiscreteEditor-7AO35XU7.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-SNDHS6VK.js +0 -233
- package/dist/NumRegularBinEditor-OREKM2DX.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-SIGD7PLE.js +0 -278
- package/dist/NumSplineEditor-RDFDVNJG.js +0 -210
- package/dist/NumSplineEditor.unit.spec-TXRQVLUE.js +0 -224
- package/dist/NumericDensity-QPDF6UU5.js +0 -33
- package/dist/NumericDensity.unit.spec-JYUYDHDG.js +0 -418
- package/dist/NumericHandler-JW6DLSMJ.js +0 -34
- package/dist/NumericHandler.unit.spec-Q2ZNM5NH.js +0 -214
- package/dist/ProteomeInput-OS5JWC2O.js +0 -388
- package/dist/Regression-53XPZCCQ.js +0 -1416
- package/dist/RunChart2-WEO42KPP.js +0 -749
- package/dist/SC-VAWRWOUI.js +0 -1348
- package/dist/Violin-7VOFUOLE.js +0 -1064
- package/dist/Volcano-DI2RLILX.js +0 -2456
- package/dist/Wsi-6DNY4RUG.js +0 -629
- package/dist/adSandbox-B7GQZDYQ.js +0 -33
- package/dist/animatedBubbleChart-QGO3OY5E.js +0 -547
- package/dist/app-XBLP7YZQ.js +0 -32
- package/dist/app-ZARZ2HWS.js +0 -42
- package/dist/bam-FGNF7RYM.js +0 -876
- package/dist/barchart-6YLJJSRO.js +0 -42
- package/dist/barchart2-7TTZPYWA.js +0 -309
- package/dist/block-7WZWBQVA.js +0 -6250
- package/dist/block.init-YN4KHHJ2.js +0 -33
- package/dist/block.mds.expressionrank-6PKN3KIE.js +0 -354
- package/dist/block.mds.geneboxplot-M6TXRPKO.js +0 -823
- package/dist/block.mds.junction-WKRLLJBT.js +0 -1539
- package/dist/block.mds.svcnv-I3DNNGYV.js +0 -6796
- package/dist/block.svg-D72WTLKP.js +0 -159
- package/dist/block.tk.aicheck-QT5WYKTQ.js +0 -278
- package/dist/block.tk.ase-3WGJONXX.js +0 -360
- package/dist/block.tk.bam-Q5X7D5IR.js +0 -1901
- package/dist/block.tk.bedgraphdot-VWE2D2HR.js +0 -379
- package/dist/block.tk.bigwig.ui-Q22KXFQT.js +0 -206
- package/dist/block.tk.hicstraw-3BMDZCQH.js +0 -818
- package/dist/block.tk.junction-BMKRAVUI.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-ERLXPLGI.js +0 -194
- package/dist/block.tk.ld-KT5KQUXC.js +0 -94
- package/dist/block.tk.menu-RO7IJGFY.js +0 -1024
- package/dist/block.tk.menu-RO7IJGFY.js.map +0 -7
- package/dist/block.tk.pgv-PZ4AVD3V.js +0 -938
- package/dist/brainImaging-ZU3JSXFP.js +0 -555
- package/dist/brainRegions-DJELNKKN.js +0 -217
- package/dist/bubbleHeatmap-CPJ5KI6E.js +0 -378
- package/dist/cellTypeBubbleHeatmap-6NGBETXV.js +0 -278
- package/dist/chunk-232OR2PG.js +0 -263
- package/dist/chunk-26Y2MYFN.js +0 -129
- package/dist/chunk-2KM4PRQM.js +0 -117
- package/dist/chunk-33FULV5M.js +0 -302
- package/dist/chunk-3AXQF6GL.js +0 -103
- package/dist/chunk-3JHCCJ4I.js +0 -54
- package/dist/chunk-4ZVOO3NI.js +0 -217
- package/dist/chunk-5U7AYOEZ.js +0 -1988
- package/dist/chunk-5WIA4KFA.js +0 -178
- package/dist/chunk-5WMFEMII.js +0 -550
- package/dist/chunk-6OCWNYW3.js +0 -49
- package/dist/chunk-6RRZRISL.js +0 -481
- package/dist/chunk-6UAY2HAB.js +0 -5217
- package/dist/chunk-A4D2Z2LV.js +0 -141
- package/dist/chunk-AUJHCGU2.js +0 -14
- package/dist/chunk-CWLHJ7AC.js +0 -80
- package/dist/chunk-DU52GAOJ.js +0 -783
- package/dist/chunk-DVWCDEN3.js +0 -480
- package/dist/chunk-E24IUWHH.js +0 -294
- package/dist/chunk-FQYXNCZI.js +0 -498
- package/dist/chunk-FYXIK6Y6.js +0 -147
- package/dist/chunk-HL5B4NME.js +0 -379
- package/dist/chunk-IBZVZZ5J.js +0 -176
- package/dist/chunk-JZQEDIGZ.js +0 -518
- package/dist/chunk-LK7XDEFW.js +0 -1339
- package/dist/chunk-MXJKO73I.js +0 -272
- package/dist/chunk-N6NL4XG2.js +0 -2676
- package/dist/chunk-NC4RKYVE.js +0 -158
- package/dist/chunk-NK235VQ6.js +0 -4375
- package/dist/chunk-O3QKYUDH.js +0 -1812
- package/dist/chunk-PBWB5ZG2.js +0 -240
- package/dist/chunk-PCJF5MGF.js +0 -203
- package/dist/chunk-PF5UMQEJ.js +0 -692
- package/dist/chunk-PFRPC2SY.js +0 -382
- package/dist/chunk-PGRTCNOV.js +0 -217
- package/dist/chunk-Q6I2OH4P.js +0 -182
- package/dist/chunk-QOF27J24.js +0 -6360
- package/dist/chunk-QWCKIRW2.js +0 -237
- package/dist/chunk-R3LWGFGS.js +0 -54
- package/dist/chunk-REWUPST7.js +0 -1233
- package/dist/chunk-RMUK3TLD.js +0 -2149
- package/dist/chunk-RMUK3TLD.js.map +0 -7
- package/dist/chunk-RXQRCRHC.js +0 -134
- package/dist/chunk-SAMS5XBH.js +0 -2902
- package/dist/chunk-SXYZ274A.js +0 -2327
- package/dist/chunk-TAZQU2LC.js +0 -339
- package/dist/chunk-TFS2JZTH.js +0 -34
- package/dist/chunk-UFQDWGZU.js +0 -102
- package/dist/chunk-UJRURRJ2.js +0 -55
- package/dist/chunk-UWRWFS3K.js +0 -1278
- package/dist/chunk-UYSYZM45.js +0 -468
- package/dist/chunk-VHDYIOWU.js +0 -25009
- package/dist/chunk-VPOAFNVL.js +0 -70
- package/dist/chunk-WB57TMJN.js +0 -56
- package/dist/chunk-WILJJPWV.js +0 -255
- package/dist/chunk-WINIL2KN.js +0 -785
- package/dist/chunk-WINIL2KN.js.map +0 -7
- package/dist/chunk-X2HEDRFQ.js +0 -102
- package/dist/chunk-X3UNVPC5.js +0 -626
- package/dist/chunk-X46YA4CB.js +0 -143
- package/dist/chunk-XL4N3H32.js +0 -276
- package/dist/chunk-XNKLJMGF.js +0 -123
- package/dist/chunk-XZCRYWVL.js +0 -243
- package/dist/chunk-Y4MV62JA.js +0 -56
- package/dist/chunk-YKI4GLMT.js +0 -98
- package/dist/chunk-ZKINKYOJ.js +0 -2784
- package/dist/chunk-ZMSTQP6O.js +0 -299
- package/dist/cohort-CWGZR37O.js +0 -70
- package/dist/condition-B6XBQML4.js +0 -327
- package/dist/controls-QPW5HUAY.js +0 -34
- package/dist/controls.btns-BYM4DON4.js +0 -9
- package/dist/controls.config-IUYTWRHA.js +0 -34
- package/dist/correlation-M2NKGTK2.js +0 -95
- package/dist/customdata.inputui-RKYIMOWO.js +0 -284
- package/dist/dataDownload-LPBLB7QD.js +0 -329
- package/dist/databrowser.ui-VTWHELDY.js +0 -425
- package/dist/dictionary-NINKMF3F.js +0 -113
- package/dist/dnaMethylation-LSVNG7FK.js +0 -33
- package/dist/dnaMethylation.integration.spec-6IT3Y3FS.js +0 -198
- package/dist/dofetch-HLMSTOMY.js +0 -48
- package/dist/e2pca-6PKLCC7L.js +0 -344
- package/dist/ep-3RFB6K3B.js +0 -1249
- package/dist/expclust.gdc.spec-MEWKHFMD.js +0 -302
- package/dist/facet-A4JH7FCW.js +0 -519
- package/dist/facet-A4JH7FCW.js.map +0 -7
- package/dist/gb-PTF7CLDG.js +0 -81
- package/dist/geneExpClustering-VKUIAYCK.js +0 -244
- package/dist/geneExpression-3GQFWVJL.js +0 -310
- package/dist/geneExpression-VC7QPM3T.js +0 -33
- package/dist/geneExpression.unit.spec-PQS7BOMF.js +0 -128
- package/dist/geneORA-FCMFWZTN.js +0 -273
- package/dist/geneRanking-RTPPGBD4.js +0 -548
- package/dist/geneVariant-2TQ2JD4K.js +0 -36
- package/dist/geneVariant-4S6FLJTN.js +0 -289
- package/dist/geneVariant.integration.spec-YTFFHWQP.js +0 -503
- package/dist/genefusion.ui-P7YH32A6.js +0 -303
- package/dist/geneset-4J43JA3C.js +0 -203
- package/dist/genomeBrowser.spec-T2VFNUAV.js +0 -276
- package/dist/grin2-5TH4EBVQ.js +0 -949
- package/dist/grin2-KXMSYYYM.js +0 -70
- package/dist/hierCluster-2HFMEHAD.js +0 -59
- package/dist/hierCluster-5RQV7B5I.js +0 -55
- package/dist/hierCluster.config-PNBGJE6F.js +0 -36
- package/dist/hierCluster.integration.spec-TZLVKUC5.js +0 -483
- package/dist/hierCluster.interactivity-OQD3IQ4X.js +0 -49
- package/dist/imagePlot-6YH7S2PV.js +0 -156
- package/dist/importPlot-Z2UKA456.js +0 -8
- package/dist/isoformExpression-SRJMGXHD.js +0 -35
- package/dist/isoformExpression.unit.spec-PBVKSWCS.js +0 -237
- package/dist/junction-D4UP2AGY.js +0 -36
- package/dist/junction.unit.spec-M5CEGNUE.js +0 -182
- package/dist/launch.adhoc-SWJOT47S.js +0 -37
- package/dist/leftlabel.sample-4ZAM2JSS.js +0 -258
- package/dist/lollipop-GMGJPMJN.js +0 -166
- package/dist/maf-2TFOOAIF.js +0 -455
- package/dist/maftimeline-DRBM4ZYD.js +0 -587
- package/dist/matrix-22R4BC3F.js +0 -54
- package/dist/matrix-W4IRSBO5.js +0 -59
- package/dist/matrix.config-ZZ7NFCIT.js +0 -37
- package/dist/matrix.data-3W6P6NBU.js +0 -23
- package/dist/matrix.dom-YQNX4IQO.js +0 -11
- package/dist/matrix.integration.spec-X4UPLQRI.js +0 -3160
- package/dist/matrix.interactivity-NGS3LJPV.js +0 -37
- package/dist/matrix.layout-SAGZVQPG.js +0 -39
- package/dist/matrix.renderers-IG7Q2F6Y.js +0 -34
- package/dist/matrix.sort.unit.spec-DCWR5PZJ.js +0 -468
- package/dist/matrix.sorterUi-MVUI25W7.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-EBLSCLDL.js +0 -338
- package/dist/matrix.unit.spec-I6JGZHQZ.js +0 -150
- package/dist/mavb-MLVNZJSF.js +0 -727
- package/dist/mds.fimo-MOGZPFCK.js +0 -513
- package/dist/mds.samplescatterplot-YLGNYKTH.js +0 -1545
- package/dist/mds.survivalplot-R273N2GB.js +0 -477
- package/dist/multivalue-5GFBYENI.js +0 -83
- package/dist/oncomatrix-OAQT2CUN.js +0 -290
- package/dist/oncomatrix.spec-6C62LLJI.js +0 -443
- package/dist/plot.2dvaf-WDXWSC7L.js +0 -372
- package/dist/plot.app-YTHD3ZJQ.js +0 -36
- package/dist/plot.barplot-SRZM3GU3.js +0 -97
- package/dist/plot.boxplot-VWOMZPZE.js +0 -146
- package/dist/plot.brainImaging-6XL7YF5G.js +0 -51
- package/dist/plot.disco-VRKSTV5Z.js +0 -99
- package/dist/plot.ssgq-AXASDOZZ.js +0 -134
- package/dist/plot.vaf2cov-IF4DEEM5.js +0 -253
- package/dist/polar2-QQ3KHFME.js +0 -232
- package/dist/profileForms-2US7IYYM.js +0 -941
- package/dist/profilePlot-DZQCBKPA.js +0 -49
- package/dist/proteinView-TTLVQ43H.js +0 -1357
- package/dist/proteomeCohortCompare-BUZYOOIA.js +0 -912
- package/dist/pseudbulk.unit.spec-YNXQWDSU.js +0 -86
- package/dist/pseudobulk-VSXK2PTM.js +0 -35
- package/dist/qualitative-AKIZRNFO.js +0 -38
- package/dist/radar2-7GXYLICJ.js +0 -327
- package/dist/radarFacility2-WFKOWGH2.js +0 -335
- package/dist/render-F3CBMRD5.js +0 -33
- package/dist/report-6LHMHUDY.js +0 -217
- package/dist/sampleView-GWKPMVJH.js +0 -43
- package/dist/samplelst-TH6IBDVG.js +0 -106
- package/dist/samplematrix-RPCWT33H.js +0 -2193
- package/dist/sc-BFBHBAXF.js +0 -81
- package/dist/scatter-3IC6HOT7.js +0 -925
- package/dist/scatter-L6R6J2LC.js +0 -88
- package/dist/selectGenomeWithTklst-3ZK7FIOP.js +0 -129
- package/dist/singleCellCellType-CLJFCBV6.js +0 -33
- package/dist/singleCellCellType.unit.spec-W32PSTRO.js +0 -154
- package/dist/singleCellGeneExpression-L6MG37XE.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-SF46JHCU.js +0 -148
- package/dist/singleCellNumericValue-7QXK6KVZ.js +0 -33
- package/dist/singleCellNumericValue.unit.spec-VC7NQYM2.js +0 -416
- package/dist/singleCellPlot-5TRNRKPN.js +0 -48
- package/dist/singlecell-2YV3UAIQ.js +0 -1566
- package/dist/singlecell-I4PHM2LZ.js +0 -81
- package/dist/snp-ZIA4YWCZ.js +0 -33
- package/dist/snp.unit.spec-MVQHY4WJ.js +0 -171
- package/dist/snplocus-GM6IEDPR.js +0 -203
- package/dist/spliceevent.a53ss.diagram-ZFQDHHPY.js +0 -146
- package/dist/spliceevent.exonskip.diagram-ZK6JOUMU.js +0 -278
- package/dist/spliceevent.noeventdiagram-YKTF2VZE.js +0 -455
- package/dist/ssGSEA-FDN4CH2Y.js +0 -33
- package/dist/ssGSEA.unit.spec-YEUJBT6Z.js +0 -83
- package/dist/stattable-WIZRSKPH.js +0 -117
- package/dist/studyCatalog-X2IGVJ26.js +0 -414
- package/dist/summarizeCnvGeneexp-H7A5SI3R.js +0 -158
- package/dist/summarizeGeneexpSurvival-GJF6VD2S.js +0 -105
- package/dist/summarizeMutationCnv-WQLMD2TR.js +0 -159
- package/dist/summarizeMutationDiagnosis-3S52IDWF.js +0 -35
- package/dist/summarizeMutationSurvival-NTQIUNW7.js +0 -99
- package/dist/summary-LMRFRKKI.js +0 -44
- package/dist/summary.integration.spec-KQMZKSEQ.js +0 -409
- package/dist/summaryInput-NNHZVHQA.js +0 -242
- package/dist/sunburst-ICUSGIWV.js +0 -278
- package/dist/survival-K44Q2HAC.js +0 -1249
- package/dist/survival-K5YBNNVE.js +0 -53
- package/dist/survival.integration.spec-4LRJW2V2.js +0 -613
- package/dist/svgraph-U7MS7YEM.js +0 -1382
- package/dist/svmr-2JGDBPAI.js +0 -3837
- package/dist/table-CBWOHYW6.js +0 -197
- package/dist/termCollection-JFGGXVFI.js +0 -252
- package/dist/termCollection-VE3FFL6V.js +0 -33
- package/dist/termCollection.unit.spec-XQQTDV4A.js +0 -299
- package/dist/termCollectionFractionSelection-TFGF27GR.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-MKGG4JBC.js +0 -188
- package/dist/termInfo-J5Q7Y763.js +0 -9
- package/dist/tk-74SGUUZY.js +0 -41
- package/dist/tk-K4JFYIZY.js +0 -1121
- package/dist/tp.ui-727EXXMT.js +0 -1454
- package/dist/tvs.dt-YB2C3T33.js +0 -34
- package/dist/tvs.dtcnv.categorical-NOWMZOE5.js +0 -35
- package/dist/tvs.dtcnv.continuous-3KWUNU76.js +0 -67
- package/dist/tvs.dtfusion-NOJSTABU.js +0 -35
- package/dist/tvs.dtitd-OD5B377P.js +0 -35
- package/dist/tvs.dtsnvindel-WIQMZTRH.js +0 -35
- package/dist/tvs.dtsv-HPERDN3R.js +0 -35
- package/dist/tvs.samplelst-TC2Z7Z35.js +0 -98
- package/dist/tvs.termCollection-F64BHWAL.js +0 -122
- package/dist/vocabulary-ZOYF2VHS.js +0 -36
- package/dist/wsi.direct-Z5YUZEXG.js +0 -8343
- /package/dist/{2dmaf-R23YQDZC.js.map → 2dmaf-3FDGCUTK.js.map} +0 -0
- /package/dist/{AggMatrixInput-4DIGZZN4.js.map → AggMatrixInput-QA2FHMSY.js.map} +0 -0
- /package/dist/{AggregateMatrix-TF6XXFUN.js.map → AggregateMatrix-XGVKDN2K.js.map} +0 -0
- /package/dist/{AppHeader-JB5HPAOQ.js.map → AppHeader-NVLHCOVU.js.map} +0 -0
- /package/dist/{BoxPlot-47TUXQDP.js.map → BoxPlot-IVO7VBQZ.js.map} +0 -0
- /package/dist/{CorrelationVolcano-G7K5JEPM.js.map → CorrelationVolcano-2XD5OH2S.js.map} +0 -0
- /package/dist/{Cuminc-LBXPOENU.js.map → Cuminc-ECQ56PKO.js.map} +0 -0
- /package/dist/{DE-JSWA6HXV.js.map → DE-KWA2K24U.js.map} +0 -0
- /package/dist/{DEinput-LEYRVYK6.js.map → DEinput-ZP6CYIRN.js.map} +0 -0
- /package/dist/{DM-332QECUP.js.map → DM-ME7CCC4E.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-JGH2OMTH.js.map → DifferentialAnalysis-6SIKR566.js.map} +0 -0
- /package/dist/{Disco-36PJXFM6.js.map → Disco-LVRT7T3B.js.map} +0 -0
- /package/dist/{Disco.UI-PY2KOGKY.js.map → Disco.UI-GT64ZEK4.js.map} +0 -0
- /package/dist/{DmrPlot-5WMOBZOJ.js.map → DmrPlot-ZZYKJ4UH.js.map} +0 -0
- /package/dist/{GB-6WWLTBIW.js.map → GB-WR6SENAZ.js.map} +0 -0
- /package/dist/{GSEA-GYUVO2XA.js.map → GSEA-U2GFOHWT.js.map} +0 -0
- /package/dist/{GeneExpInput-UABEICGS.js.map → GeneExpInput-CQSORTKI.js.map} +0 -0
- /package/dist/{Geomap-QB6FNV5R.js.map → Geomap-CGJ7EIMD.js.map} +0 -0
- /package/dist/{HicApp-TQKQKJTN.js.map → HicApp-DS3HC2G5.js.map} +0 -0
- /package/dist/{IDCViewer-L27ICGR5.js.map → IDCViewer-6KWSZWZ7.js.map} +0 -0
- /package/dist/{NumBinaryEditor-FHSSXZV4.js.map → NumBinaryEditor-BQVR2RDS.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-AMR32JHJ.js.map → NumBinaryEditor.unit.spec-FAOFWPDH.js.map} +0 -0
- /package/dist/{NumContEditor-R5JB5XPB.js.map → NumContEditor-6T6XFLAM.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-3PQRIC4G.js.map → NumContEditor.unit.spec-GTBA5F4D.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-B3PKD54F.js.map → NumCustomBinEditor-Q2GJOFOH.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-YZKCYZQM.js.map → NumCustomBinEditor.unit.spec-TSJE3OVN.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-7AO35XU7.js.map → NumDiscreteEditor-QFKPIRDW.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-SNDHS6VK.js.map → NumDiscreteEditor.unit.spec-VKDRO52H.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-OREKM2DX.js.map → NumRegularBinEditor-SLFPSTA3.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-SIGD7PLE.js.map → NumRegularBinEditor.unit.spec-WROEDSWQ.js.map} +0 -0
- /package/dist/{NumSplineEditor-RDFDVNJG.js.map → NumSplineEditor-AEXNF6E4.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-TXRQVLUE.js.map → NumSplineEditor.unit.spec-UOESCG7A.js.map} +0 -0
- /package/dist/{NumericDensity-QPDF6UU5.js.map → NumericDensity-KPJ6C7N3.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-JYUYDHDG.js.map → NumericDensity.unit.spec-HM5IAPQT.js.map} +0 -0
- /package/dist/{NumericHandler-JW6DLSMJ.js.map → NumericHandler-S3HPYHOJ.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-Q2ZNM5NH.js.map → NumericHandler.unit.spec-B4CY2GR6.js.map} +0 -0
- /package/dist/{ProteomeInput-OS5JWC2O.js.map → ProteomeInput-AC5TRXHE.js.map} +0 -0
- /package/dist/{Regression-53XPZCCQ.js.map → Regression-MHGQ2ECB.js.map} +0 -0
- /package/dist/{RunChart2-WEO42KPP.js.map → RunChart2-6VSXLBNE.js.map} +0 -0
- /package/dist/{SC-VAWRWOUI.js.map → SC-KPIQR5JQ.js.map} +0 -0
- /package/dist/{Violin-7VOFUOLE.js.map → Violin-6BRIIZAY.js.map} +0 -0
- /package/dist/{Volcano-DI2RLILX.js.map → Volcano-TNNAVPVQ.js.map} +0 -0
- /package/dist/{Wsi-6DNY4RUG.js.map → Wsi-JRAK47YP.js.map} +0 -0
- /package/dist/{adSandbox-B7GQZDYQ.js.map → adSandbox-HZROPAPC.js.map} +0 -0
- /package/dist/{animatedBubbleChart-QGO3OY5E.js.map → animatedBubbleChart-C57NY3PX.js.map} +0 -0
- /package/dist/{app-XBLP7YZQ.js.map → app-HU4F4WBL.js.map} +0 -0
- /package/dist/{app-ZARZ2HWS.js.map → app-OS2T3Q6X.js.map} +0 -0
- /package/dist/{bam-FGNF7RYM.js.map → bam-XBYHZH7B.js.map} +0 -0
- /package/dist/{barchart-6YLJJSRO.js.map → barchart-7MOHGOPW.js.map} +0 -0
- /package/dist/{barchart2-7TTZPYWA.js.map → barchart2-NOWNROMN.js.map} +0 -0
- /package/dist/{block-7WZWBQVA.js.map → block-PRB7FXIC.js.map} +0 -0
- /package/dist/{block.init-YN4KHHJ2.js.map → block.init-EQJ42A2H.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-6PKN3KIE.js.map → block.mds.expressionrank-W6GIHAAL.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-M6TXRPKO.js.map → block.mds.geneboxplot-GBP5N7AU.js.map} +0 -0
- /package/dist/{block.mds.junction-WKRLLJBT.js.map → block.mds.junction-TUIXESU2.js.map} +0 -0
- /package/dist/{block.mds.svcnv-I3DNNGYV.js.map → block.mds.svcnv-YOUIXG4A.js.map} +0 -0
- /package/dist/{block.svg-D72WTLKP.js.map → block.svg-XAQJBCOC.js.map} +0 -0
- /package/dist/{block.tk.aicheck-QT5WYKTQ.js.map → block.tk.aicheck-MRR74ULN.js.map} +0 -0
- /package/dist/{block.tk.ase-3WGJONXX.js.map → block.tk.ase-ZB5W537R.js.map} +0 -0
- /package/dist/{block.tk.bam-Q5X7D5IR.js.map → block.tk.bam-66562WN7.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-VWE2D2HR.js.map → block.tk.bedgraphdot-CGBLLLI7.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-Q22KXFQT.js.map → block.tk.bigwig.ui-FXE6KXRG.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-3BMDZCQH.js.map → block.tk.hicstraw-RZXW5CWM.js.map} +0 -0
- /package/dist/{block.tk.junction-BMKRAVUI.js.map → block.tk.junction-FSGFU7B3.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-ERLXPLGI.js.map → block.tk.junction.textmatrixui-VR4ZIEUP.js.map} +0 -0
- /package/dist/{block.tk.ld-KT5KQUXC.js.map → block.tk.ld-QE54JIGV.js.map} +0 -0
- /package/dist/{block.tk.pgv-PZ4AVD3V.js.map → block.tk.pgv-IPX2D3GA.js.map} +0 -0
- /package/dist/{brainImaging-ZU3JSXFP.js.map → brainImaging-J4HK4JON.js.map} +0 -0
- /package/dist/{brainRegions-DJELNKKN.js.map → brainRegions-RH4EXEQ7.js.map} +0 -0
- /package/dist/{bubbleHeatmap-CPJ5KI6E.js.map → bubbleHeatmap-R2CNWOAJ.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-6NGBETXV.js.map → cellTypeBubbleHeatmap-KJSNP4A3.js.map} +0 -0
- /package/dist/{chunk-ZMSTQP6O.js.map → chunk-2Z2TFFLP.js.map} +0 -0
- /package/dist/{chunk-26Y2MYFN.js.map → chunk-3447YXVI.js.map} +0 -0
- /package/dist/{chunk-33FULV5M.js.map → chunk-35DMRAGG.js.map} +0 -0
- /package/dist/{chunk-DVWCDEN3.js.map → chunk-3BBUXNES.js.map} +0 -0
- /package/dist/{chunk-6RRZRISL.js.map → chunk-3CIL7KH7.js.map} +0 -0
- /package/dist/{chunk-UWRWFS3K.js.map → chunk-3KH5JUZV.js.map} +0 -0
- /package/dist/{chunk-UYSYZM45.js.map → chunk-3SBHDIJU.js.map} +0 -0
- /package/dist/{chunk-YKI4GLMT.js.map → chunk-3YNRU4SC.js.map} +0 -0
- /package/dist/{chunk-X46YA4CB.js.map → chunk-4E2F26CC.js.map} +0 -0
- /package/dist/{chunk-RXQRCRHC.js.map → chunk-4VZ4HR3U.js.map} +0 -0
- /package/dist/{chunk-SXYZ274A.js.map → chunk-5RFLLJRG.js.map} +0 -0
- /package/dist/{chunk-UFQDWGZU.js.map → chunk-5X2MW4CV.js.map} +0 -0
- /package/dist/{chunk-ZKINKYOJ.js.map → chunk-6TCULFEF.js.map} +0 -0
- /package/dist/{chunk-5WIA4KFA.js.map → chunk-7HPICVA4.js.map} +0 -0
- /package/dist/{chunk-AUJHCGU2.js.map → chunk-7PBHM4JU.js.map} +0 -0
- /package/dist/{chunk-NK235VQ6.js.map → chunk-B2FSMLYK.js.map} +0 -0
- /package/dist/{chunk-VPOAFNVL.js.map → chunk-B5BLNQ2E.js.map} +0 -0
- /package/dist/{chunk-PBWB5ZG2.js.map → chunk-BR76YIDV.js.map} +0 -0
- /package/dist/{chunk-LK7XDEFW.js.map → chunk-BS6IUMA6.js.map} +0 -0
- /package/dist/{chunk-Y4MV62JA.js.map → chunk-BUX5YSDF.js.map} +0 -0
- /package/dist/{chunk-TAZQU2LC.js.map → chunk-C2KMMY53.js.map} +0 -0
- /package/dist/{chunk-WB57TMJN.js.map → chunk-CD2WD7ZG.js.map} +0 -0
- /package/dist/{chunk-4ZVOO3NI.js.map → chunk-CUHJN6CC.js.map} +0 -0
- /package/dist/{chunk-FQYXNCZI.js.map → chunk-CWWE77DH.js.map} +0 -0
- /package/dist/{chunk-3AXQF6GL.js.map → chunk-DCHHIXIP.js.map} +0 -0
- /package/dist/{chunk-Q6I2OH4P.js.map → chunk-FDBT4PQ6.js.map} +0 -0
- /package/dist/{chunk-DU52GAOJ.js.map → chunk-FMFEQPMB.js.map} +0 -0
- /package/dist/{chunk-N6NL4XG2.js.map → chunk-FVADQZLY.js.map} +0 -0
- /package/dist/{chunk-O3QKYUDH.js.map → chunk-GDJUSLDV.js.map} +0 -0
- /package/dist/{chunk-X2HEDRFQ.js.map → chunk-GPJLIBNO.js.map} +0 -0
- /package/dist/{chunk-PCJF5MGF.js.map → chunk-H6GPQPSM.js.map} +0 -0
- /package/dist/{chunk-REWUPST7.js.map → chunk-HFEFFFPL.js.map} +0 -0
- /package/dist/{chunk-IBZVZZ5J.js.map → chunk-HUGVRGQO.js.map} +0 -0
- /package/dist/{chunk-NC4RKYVE.js.map → chunk-IP2PLKC3.js.map} +0 -0
- /package/dist/{chunk-SAMS5XBH.js.map → chunk-JPJ2DKP5.js.map} +0 -0
- /package/dist/{chunk-A4D2Z2LV.js.map → chunk-JQ3JE2F6.js.map} +0 -0
- /package/dist/{chunk-CWLHJ7AC.js.map → chunk-K2ITA56I.js.map} +0 -0
- /package/dist/{chunk-6OCWNYW3.js.map → chunk-K5P3JV6N.js.map} +0 -0
- /package/dist/{chunk-X3UNVPC5.js.map → chunk-KRQC5AOW.js.map} +0 -0
- /package/dist/{chunk-QOF27J24.js.map → chunk-LDDN2BHX.js.map} +0 -0
- /package/dist/{chunk-WILJJPWV.js.map → chunk-LOHACXSB.js.map} +0 -0
- /package/dist/{chunk-5U7AYOEZ.js.map → chunk-MIG3QAYD.js.map} +0 -0
- /package/dist/{chunk-MXJKO73I.js.map → chunk-N5CSNFDP.js.map} +0 -0
- /package/dist/{chunk-R3LWGFGS.js.map → chunk-NZBCTASL.js.map} +0 -0
- /package/dist/{chunk-6UAY2HAB.js.map → chunk-O3EJBFK7.js.map} +0 -0
- /package/dist/{chunk-XZCRYWVL.js.map → chunk-OB3S6QYD.js.map} +0 -0
- /package/dist/{chunk-UJRURRJ2.js.map → chunk-OLV3Q6TN.js.map} +0 -0
- /package/dist/{chunk-232OR2PG.js.map → chunk-PRPQ654B.js.map} +0 -0
- /package/dist/{chunk-VHDYIOWU.js.map → chunk-QI6X4V43.js.map} +0 -0
- /package/dist/{chunk-5WMFEMII.js.map → chunk-QZXUHBUV.js.map} +0 -0
- /package/dist/{chunk-XNKLJMGF.js.map → chunk-S2PNRIOW.js.map} +0 -0
- /package/dist/{chunk-2KM4PRQM.js.map → chunk-T4XPCSLP.js.map} +0 -0
- /package/dist/{chunk-QWCKIRW2.js.map → chunk-TCHFJHHC.js.map} +0 -0
- /package/dist/{chunk-JZQEDIGZ.js.map → chunk-TR2BNELL.js.map} +0 -0
- /package/dist/{chunk-TFS2JZTH.js.map → chunk-TZZTJWLD.js.map} +0 -0
- /package/dist/{chunk-PF5UMQEJ.js.map → chunk-UH5BHS42.js.map} +0 -0
- /package/dist/{chunk-XL4N3H32.js.map → chunk-VRY727VE.js.map} +0 -0
- /package/dist/{chunk-FYXIK6Y6.js.map → chunk-WA3C3A2M.js.map} +0 -0
- /package/dist/{chunk-PGRTCNOV.js.map → chunk-XIJC7RNK.js.map} +0 -0
- /package/dist/{chunk-3JHCCJ4I.js.map → chunk-XVOHS4CK.js.map} +0 -0
- /package/dist/{chunk-HL5B4NME.js.map → chunk-Y3ABEAKV.js.map} +0 -0
- /package/dist/{chunk-E24IUWHH.js.map → chunk-YB2A2CWR.js.map} +0 -0
- /package/dist/{chunk-PFRPC2SY.js.map → chunk-ZKZHYCO3.js.map} +0 -0
- /package/dist/{cohort-CWGZR37O.js.map → cohort-J3JNIMCT.js.map} +0 -0
- /package/dist/{condition-B6XBQML4.js.map → condition-A6VAD4OS.js.map} +0 -0
- /package/dist/{controls-QPW5HUAY.js.map → controls-2R2OQAX2.js.map} +0 -0
- /package/dist/{controls.btns-BYM4DON4.js.map → controls.btns-6AKLIWOG.js.map} +0 -0
- /package/dist/{controls.config-IUYTWRHA.js.map → controls.config-UPE6TAHK.js.map} +0 -0
- /package/dist/{correlation-M2NKGTK2.js.map → correlation-Q6HYOUOX.js.map} +0 -0
- /package/dist/{customdata.inputui-RKYIMOWO.js.map → customdata.inputui-KQJKSQNI.js.map} +0 -0
- /package/dist/{dataDownload-LPBLB7QD.js.map → dataDownload-PYQX2BWN.js.map} +0 -0
- /package/dist/{databrowser.ui-VTWHELDY.js.map → databrowser.ui-LPFKGVW3.js.map} +0 -0
- /package/dist/{dictionary-NINKMF3F.js.map → dictionary-GYN7OXWQ.js.map} +0 -0
- /package/dist/{dnaMethylation-LSVNG7FK.js.map → dnaMethylation-TSRHGNNY.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-6IT3Y3FS.js.map → dnaMethylation.integration.spec-3YYSFVKK.js.map} +0 -0
- /package/dist/{dofetch-HLMSTOMY.js.map → dofetch-4YRJUWLJ.js.map} +0 -0
- /package/dist/{e2pca-6PKLCC7L.js.map → e2pca-G4AVRHQC.js.map} +0 -0
- /package/dist/{ep-3RFB6K3B.js.map → ep-MHT3CLGK.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-MEWKHFMD.js.map → expclust.gdc.spec-2TWLDD2S.js.map} +0 -0
- /package/dist/{gb-PTF7CLDG.js.map → gb-WLOGQSEU.js.map} +0 -0
- /package/dist/{geneExpClustering-VKUIAYCK.js.map → geneExpClustering-LOLLER5C.js.map} +0 -0
- /package/dist/{geneExpression-3GQFWVJL.js.map → geneExpression-NP2N4CRU.js.map} +0 -0
- /package/dist/{geneExpression-VC7QPM3T.js.map → geneExpression-RWE7PBBD.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-PQS7BOMF.js.map → geneExpression.unit.spec-MBE6YVKY.js.map} +0 -0
- /package/dist/{geneORA-FCMFWZTN.js.map → geneORA-ZWZCCBL7.js.map} +0 -0
- /package/dist/{geneRanking-RTPPGBD4.js.map → geneRanking-UZXH5SLT.js.map} +0 -0
- /package/dist/{geneVariant-2TQ2JD4K.js.map → geneVariant-MULXYJ7M.js.map} +0 -0
- /package/dist/{geneVariant-4S6FLJTN.js.map → geneVariant-ZPINPLRP.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-YTFFHWQP.js.map → geneVariant.integration.spec-6DNKP22T.js.map} +0 -0
- /package/dist/{genefusion.ui-P7YH32A6.js.map → genefusion.ui-S4BPNRIO.js.map} +0 -0
- /package/dist/{geneset-4J43JA3C.js.map → geneset-LZNALH2H.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-T2VFNUAV.js.map → genomeBrowser.spec-JOIKBWVC.js.map} +0 -0
- /package/dist/{grin2-5TH4EBVQ.js.map → grin2-GFZ5REPY.js.map} +0 -0
- /package/dist/{grin2-KXMSYYYM.js.map → grin2-JPR6LCXT.js.map} +0 -0
- /package/dist/{hierCluster-2HFMEHAD.js.map → hierCluster-DCESQECE.js.map} +0 -0
- /package/dist/{hierCluster-5RQV7B5I.js.map → hierCluster-M6R4CH22.js.map} +0 -0
- /package/dist/{hierCluster.config-PNBGJE6F.js.map → hierCluster.config-DBQYJXML.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-TZLVKUC5.js.map → hierCluster.integration.spec-DPXTME5W.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-OQD3IQ4X.js.map → hierCluster.interactivity-EKKKYVEP.js.map} +0 -0
- /package/dist/{imagePlot-6YH7S2PV.js.map → imagePlot-XXSCMNUV.js.map} +0 -0
- /package/dist/{importPlot-Z2UKA456.js.map → importPlot-LKMMP7ZV.js.map} +0 -0
- /package/dist/{isoformExpression-SRJMGXHD.js.map → isoformExpression-A634VVY3.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-PBVKSWCS.js.map → isoformExpression.unit.spec-2J4VQH43.js.map} +0 -0
- /package/dist/{junction-D4UP2AGY.js.map → junction-22DCADQW.js.map} +0 -0
- /package/dist/{junction.unit.spec-M5CEGNUE.js.map → junction.unit.spec-NQDRD66O.js.map} +0 -0
- /package/dist/{launch.adhoc-SWJOT47S.js.map → launch.adhoc-NAHAYONX.js.map} +0 -0
- /package/dist/{leftlabel.sample-4ZAM2JSS.js.map → leftlabel.sample-CRMQSNCJ.js.map} +0 -0
- /package/dist/{lollipop-GMGJPMJN.js.map → lollipop-XLPUIZBA.js.map} +0 -0
- /package/dist/{maf-2TFOOAIF.js.map → maf-LPXQMGJC.js.map} +0 -0
- /package/dist/{maftimeline-DRBM4ZYD.js.map → maftimeline-X2YPHLLO.js.map} +0 -0
- /package/dist/{matrix-22R4BC3F.js.map → matrix-U7PGR4MD.js.map} +0 -0
- /package/dist/{matrix-W4IRSBO5.js.map → matrix-UAU7QUP2.js.map} +0 -0
- /package/dist/{matrix.config-ZZ7NFCIT.js.map → matrix.config-HZ3TORDS.js.map} +0 -0
- /package/dist/{matrix.data-3W6P6NBU.js.map → matrix.data-D77IGADO.js.map} +0 -0
- /package/dist/{matrix.dom-YQNX4IQO.js.map → matrix.dom-3Z5PNSKJ.js.map} +0 -0
- /package/dist/{matrix.integration.spec-X4UPLQRI.js.map → matrix.integration.spec-7QLCJO26.js.map} +0 -0
- /package/dist/{matrix.interactivity-NGS3LJPV.js.map → matrix.interactivity-OIKLY2O6.js.map} +0 -0
- /package/dist/{matrix.layout-SAGZVQPG.js.map → matrix.layout-ICBZ5PCU.js.map} +0 -0
- /package/dist/{matrix.renderers-IG7Q2F6Y.js.map → matrix.renderers-PN56PKD3.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-DCWR5PZJ.js.map → matrix.sort.unit.spec-IQOMDVVS.js.map} +0 -0
- /package/dist/{matrix.sorterUi-MVUI25W7.js.map → matrix.sorterUi-UKANNCZM.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-EBLSCLDL.js.map → matrix.sorterUi.unit.spec-JCN62VCG.js.map} +0 -0
- /package/dist/{matrix.unit.spec-I6JGZHQZ.js.map → matrix.unit.spec-JASP2ZH6.js.map} +0 -0
- /package/dist/{mavb-MLVNZJSF.js.map → mavb-KHRJRSUD.js.map} +0 -0
- /package/dist/{mds.fimo-MOGZPFCK.js.map → mds.fimo-LOR3DSLQ.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-YLGNYKTH.js.map → mds.samplescatterplot-W3TCPYHS.js.map} +0 -0
- /package/dist/{mds.survivalplot-R273N2GB.js.map → mds.survivalplot-EYAA5IO3.js.map} +0 -0
- /package/dist/{multivalue-5GFBYENI.js.map → multivalue-GGM5DFPD.js.map} +0 -0
- /package/dist/{oncomatrix-OAQT2CUN.js.map → oncomatrix-MVLDAB6I.js.map} +0 -0
- /package/dist/{oncomatrix.spec-6C62LLJI.js.map → oncomatrix.spec-43PZ4CLH.js.map} +0 -0
- /package/dist/{plot.2dvaf-WDXWSC7L.js.map → plot.2dvaf-4H3YMAIV.js.map} +0 -0
- /package/dist/{plot.app-YTHD3ZJQ.js.map → plot.app-OZGOECPK.js.map} +0 -0
- /package/dist/{plot.barplot-SRZM3GU3.js.map → plot.barplot-OQKZAU3N.js.map} +0 -0
- /package/dist/{plot.boxplot-VWOMZPZE.js.map → plot.boxplot-4O4VNRMV.js.map} +0 -0
- /package/dist/{plot.brainImaging-6XL7YF5G.js.map → plot.brainImaging-6I4HHUMD.js.map} +0 -0
- /package/dist/{plot.disco-VRKSTV5Z.js.map → plot.disco-BOWNCFJV.js.map} +0 -0
- /package/dist/{plot.ssgq-AXASDOZZ.js.map → plot.ssgq-6STRLDEG.js.map} +0 -0
- /package/dist/{plot.vaf2cov-IF4DEEM5.js.map → plot.vaf2cov-75EZA7PJ.js.map} +0 -0
- /package/dist/{polar2-QQ3KHFME.js.map → polar2-QQ2ZYQ3I.js.map} +0 -0
- /package/dist/{profileForms-2US7IYYM.js.map → profileForms-WU7UNK7Y.js.map} +0 -0
- /package/dist/{profilePlot-DZQCBKPA.js.map → profilePlot-KW7UITCT.js.map} +0 -0
- /package/dist/{proteinView-TTLVQ43H.js.map → proteinView-ET75MKLU.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-BUZYOOIA.js.map → proteomeCohortCompare-SDX5D26O.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-YNXQWDSU.js.map → pseudbulk.unit.spec-T3B2T5FK.js.map} +0 -0
- /package/dist/{pseudobulk-VSXK2PTM.js.map → pseudobulk-4O6GK2TZ.js.map} +0 -0
- /package/dist/{qualitative-AKIZRNFO.js.map → qualitative-FUJ6JHPZ.js.map} +0 -0
- /package/dist/{radar2-7GXYLICJ.js.map → radar2-G75NIN2N.js.map} +0 -0
- /package/dist/{radarFacility2-WFKOWGH2.js.map → radarFacility2-OOAUSL6F.js.map} +0 -0
- /package/dist/{render-F3CBMRD5.js.map → render-JMAJCJFT.js.map} +0 -0
- /package/dist/{report-6LHMHUDY.js.map → report-UKB7676O.js.map} +0 -0
- /package/dist/{sampleView-GWKPMVJH.js.map → sampleView-JGWU2E5H.js.map} +0 -0
- /package/dist/{samplelst-TH6IBDVG.js.map → samplelst-ZB23PILZ.js.map} +0 -0
- /package/dist/{samplematrix-RPCWT33H.js.map → samplematrix-CQAB5PVO.js.map} +0 -0
- /package/dist/{sc-BFBHBAXF.js.map → sc-JOIUUG4I.js.map} +0 -0
- /package/dist/{scatter-L6R6J2LC.js.map → scatter-DCX72P3N.js.map} +0 -0
- /package/dist/{scatter-3IC6HOT7.js.map → scatter-JXBGEKLF.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-3ZK7FIOP.js.map → selectGenomeWithTklst-EZTHPCBB.js.map} +0 -0
- /package/dist/{singleCellCellType-CLJFCBV6.js.map → singleCellCellType-BOQTDUZA.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-W32PSTRO.js.map → singleCellCellType.unit.spec-3HUF7VWW.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-L6MG37XE.js.map → singleCellGeneExpression-UBTHLFRN.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-SF46JHCU.js.map → singleCellGeneExpression.unit.spec-YM6EQB3E.js.map} +0 -0
- /package/dist/{singleCellNumericValue-7QXK6KVZ.js.map → singleCellNumericValue-53T6WOHJ.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-VC7NQYM2.js.map → singleCellNumericValue.unit.spec-SYSMD5IW.js.map} +0 -0
- /package/dist/{singleCellPlot-5TRNRKPN.js.map → singleCellPlot-3V47EUB4.js.map} +0 -0
- /package/dist/{singlecell-I4PHM2LZ.js.map → singlecell-AFGFONXY.js.map} +0 -0
- /package/dist/{singlecell-2YV3UAIQ.js.map → singlecell-VZI3LEUT.js.map} +0 -0
- /package/dist/{snp-ZIA4YWCZ.js.map → snp-IPIYL7OY.js.map} +0 -0
- /package/dist/{snp.unit.spec-MVQHY4WJ.js.map → snp.unit.spec-OC5JHCXR.js.map} +0 -0
- /package/dist/{snplocus-GM6IEDPR.js.map → snplocus-DSGUSGUP.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-ZFQDHHPY.js.map → spliceevent.a53ss.diagram-RNAJHS4P.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-ZK6JOUMU.js.map → spliceevent.exonskip.diagram-YWRATK46.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-YKTF2VZE.js.map → spliceevent.noeventdiagram-6ZJRJ4QZ.js.map} +0 -0
- /package/dist/{ssGSEA-FDN4CH2Y.js.map → ssGSEA-IWCC6JDL.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-YEUJBT6Z.js.map → ssGSEA.unit.spec-3TKDENWO.js.map} +0 -0
- /package/dist/{stattable-WIZRSKPH.js.map → stattable-EXOWMETP.js.map} +0 -0
- /package/dist/{studyCatalog-X2IGVJ26.js.map → studyCatalog-OAGHQXKY.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-H7A5SI3R.js.map → summarizeCnvGeneexp-K6XO5YEP.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-GJF6VD2S.js.map → summarizeGeneexpSurvival-WTAGCCU4.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-WQLMD2TR.js.map → summarizeMutationCnv-QKIDS3LI.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-3S52IDWF.js.map → summarizeMutationDiagnosis-ACFWADSQ.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-NTQIUNW7.js.map → summarizeMutationSurvival-XPFPN4N5.js.map} +0 -0
- /package/dist/{summary-LMRFRKKI.js.map → summary-VCU2NTIZ.js.map} +0 -0
- /package/dist/{summary.integration.spec-KQMZKSEQ.js.map → summary.integration.spec-2DE653PH.js.map} +0 -0
- /package/dist/{summaryInput-NNHZVHQA.js.map → summaryInput-GO75OPLA.js.map} +0 -0
- /package/dist/{sunburst-ICUSGIWV.js.map → sunburst-BSCFRYSV.js.map} +0 -0
- /package/dist/{survival-K44Q2HAC.js.map → survival-BEP7JNML.js.map} +0 -0
- /package/dist/{survival-K5YBNNVE.js.map → survival-XUO2D6CX.js.map} +0 -0
- /package/dist/{survival.integration.spec-4LRJW2V2.js.map → survival.integration.spec-EO5KAFDQ.js.map} +0 -0
- /package/dist/{svgraph-U7MS7YEM.js.map → svgraph-YGXOB3QY.js.map} +0 -0
- /package/dist/{svmr-2JGDBPAI.js.map → svmr-MATMMI4E.js.map} +0 -0
- /package/dist/{table-CBWOHYW6.js.map → table-DFSX7XYJ.js.map} +0 -0
- /package/dist/{termCollection-JFGGXVFI.js.map → termCollection-GKPC4K2O.js.map} +0 -0
- /package/dist/{termCollection-VE3FFL6V.js.map → termCollection-ZUJFB7YB.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-XQQTDV4A.js.map → termCollection.unit.spec-YE7IKC6S.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-TFGF27GR.js.map → termCollectionFractionSelection-DLWXUEEN.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-MKGG4JBC.js.map → termCollectionFractionSelection.unit.spec-N2LNHIWC.js.map} +0 -0
- /package/dist/{termInfo-J5Q7Y763.js.map → termInfo-PZ7UDA5C.js.map} +0 -0
- /package/dist/{tk-74SGUUZY.js.map → tk-PHTWQHVV.js.map} +0 -0
- /package/dist/{tk-K4JFYIZY.js.map → tk-RNUMIS5P.js.map} +0 -0
- /package/dist/{tp.ui-727EXXMT.js.map → tp.ui-A52OBFJD.js.map} +0 -0
- /package/dist/{tvs.dt-YB2C3T33.js.map → tvs.dt-SQSP3UXH.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-NOWMZOE5.js.map → tvs.dtcnv.categorical-3IWQMUEM.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-3KWUNU76.js.map → tvs.dtcnv.continuous-ZD5WM32O.js.map} +0 -0
- /package/dist/{tvs.dtfusion-NOJSTABU.js.map → tvs.dtfusion-G47Z7NP3.js.map} +0 -0
- /package/dist/{tvs.dtitd-OD5B377P.js.map → tvs.dtitd-57PSTVRM.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-WIQMZTRH.js.map → tvs.dtsnvindel-CS3ZVFWN.js.map} +0 -0
- /package/dist/{tvs.dtsv-HPERDN3R.js.map → tvs.dtsv-LNWDVFCR.js.map} +0 -0
- /package/dist/{tvs.samplelst-TC2Z7Z35.js.map → tvs.samplelst-EMZOR4SY.js.map} +0 -0
- /package/dist/{tvs.termCollection-F64BHWAL.js.map → tvs.termCollection-RX5ASV3N.js.map} +0 -0
- /package/dist/{vocabulary-ZOYF2VHS.js.map → vocabulary-JVAACQPU.js.map} +0 -0
- /package/dist/{wsi.direct-Z5YUZEXG.js.map → wsi.direct-J4SNIUUW.js.map} +0 -0
|
@@ -0,0 +1,1348 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PlotBase,
|
|
3
|
+
digestMessage,
|
|
4
|
+
filterRxCompInit,
|
|
5
|
+
formatHeaderText,
|
|
6
|
+
getCombinedTermFilter,
|
|
7
|
+
getGEunit,
|
|
8
|
+
getNormalRoot,
|
|
9
|
+
make_radios,
|
|
10
|
+
newSandboxDiv,
|
|
11
|
+
sortTableCallBack
|
|
12
|
+
} from "./chunk-QI6X4V43.js";
|
|
13
|
+
import "./chunk-HJ6L54YS.js";
|
|
14
|
+
import "./chunk-KV4W2ACA.js";
|
|
15
|
+
import {
|
|
16
|
+
importPlot
|
|
17
|
+
} from "./chunk-7HPICVA4.js";
|
|
18
|
+
import {
|
|
19
|
+
Menu
|
|
20
|
+
} from "./chunk-7XZA2XR2.js";
|
|
21
|
+
import "./chunk-DD3DWHUY.js";
|
|
22
|
+
import "./chunk-EEB5VE2A.js";
|
|
23
|
+
import {
|
|
24
|
+
icons
|
|
25
|
+
} from "./chunk-3CIL7KH7.js";
|
|
26
|
+
import "./chunk-T4XPCSLP.js";
|
|
27
|
+
import {
|
|
28
|
+
dofetch3
|
|
29
|
+
} from "./chunk-YU7CVG4B.js";
|
|
30
|
+
import "./chunk-HH5JKOE6.js";
|
|
31
|
+
import "./chunk-RU2UHH7M.js";
|
|
32
|
+
import {
|
|
33
|
+
SINGLECELL_CELLTYPE,
|
|
34
|
+
SINGLECELL_GENE_EXPRESSION,
|
|
35
|
+
TermTypeGroups
|
|
36
|
+
} from "./chunk-57Z4VYLM.js";
|
|
37
|
+
import {
|
|
38
|
+
copyMerge,
|
|
39
|
+
getCompInit,
|
|
40
|
+
multiInit
|
|
41
|
+
} from "./chunk-HBNB5TRH.js";
|
|
42
|
+
import "./chunk-PF4DSFDR.js";
|
|
43
|
+
import "./chunk-7X6NF7NI.js";
|
|
44
|
+
import "./chunk-W5J3LTYS.js";
|
|
45
|
+
import "./chunk-Z2ZITHT4.js";
|
|
46
|
+
import "./chunk-4OLM3KSB.js";
|
|
47
|
+
import "./chunk-6XKAOSQE.js";
|
|
48
|
+
import "./chunk-TLT4YIG3.js";
|
|
49
|
+
import "./chunk-5R63Q5KH.js";
|
|
50
|
+
import "./chunk-I6Y4O3RR.js";
|
|
51
|
+
import "./chunk-Q5RDQNIT.js";
|
|
52
|
+
import "./chunk-DQC5FFGV.js";
|
|
53
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
54
|
+
|
|
55
|
+
// plots/sc/model/SCModel.ts
|
|
56
|
+
var SCModel = class {
|
|
57
|
+
constructor(sc) {
|
|
58
|
+
/** whether a sample has a spatial image (with the consolidated h5ad the
|
|
59
|
+
spatial subplot needs), keyed by sID. Successful probes are cached;
|
|
60
|
+
failures return false for the current render and may be retried. */
|
|
61
|
+
this.sampleHasSpatial = {};
|
|
62
|
+
this.sc = sc;
|
|
63
|
+
this.app = sc.app;
|
|
64
|
+
this.id = sc.id;
|
|
65
|
+
this.state = sc.app.getState();
|
|
66
|
+
}
|
|
67
|
+
/********** All Single Cell SAMPLES for rendering the sample table ******** */
|
|
68
|
+
async getAllSampleData(state) {
|
|
69
|
+
const body = {
|
|
70
|
+
genome: state.vocab.genome,
|
|
71
|
+
dslabel: state.vocab.dslabel,
|
|
72
|
+
filter: getNormalRoot(state.termfilter.filter),
|
|
73
|
+
filter0: state.termfilter.filter0
|
|
74
|
+
};
|
|
75
|
+
return await dofetch3("termdb/singlecellSamples", { body, signal: this.sc.api?.getAbortSignal() });
|
|
76
|
+
}
|
|
77
|
+
//Fetches optional name for ds defined columns
|
|
78
|
+
async getColumnLabels(dsScSamples) {
|
|
79
|
+
if (!dsScSamples || !dsScSamples.sampleColumns) return;
|
|
80
|
+
const colsCopy = structuredClone(dsScSamples.sampleColumns);
|
|
81
|
+
for (const col of colsCopy) {
|
|
82
|
+
let label = col.termid;
|
|
83
|
+
try {
|
|
84
|
+
label = (await this.app.vocabApi.getterm(col.termid)).name;
|
|
85
|
+
} catch (e) {
|
|
86
|
+
if (e.message) {
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
col.label = label;
|
|
90
|
+
}
|
|
91
|
+
return colsCopy;
|
|
92
|
+
}
|
|
93
|
+
/********** Single Cell DATA for rendering plots ********
|
|
94
|
+
* This is for the plot buttons. Returns an array plots with found files or
|
|
95
|
+
* available data. */
|
|
96
|
+
async getSampleData() {
|
|
97
|
+
const body = this.getDataRequestOpts();
|
|
98
|
+
if (!body) return;
|
|
99
|
+
return await dofetch3("termdb/singlecellData", { body, signal: this.sc.api?.getAbortSignal() });
|
|
100
|
+
}
|
|
101
|
+
/** May provide active plots to the request and return plot data when
|
|
102
|
+
* checkPlotAvailability is false. When checkPlotAvailability is true,
|
|
103
|
+
* only returns which plots are available but not the actual data. */
|
|
104
|
+
getDataRequestOpts(_plots = [], checkPlotAvailability = true) {
|
|
105
|
+
const state = this.app.getState();
|
|
106
|
+
const singleCellTermdbConfig = state.termdbConfig?.queries?.singleCell;
|
|
107
|
+
if (!singleCellTermdbConfig?.data) throw new Error("No singleCell.data defined in termdbConfig.queries");
|
|
108
|
+
const config = state.plots.find((p) => p.id === this.id);
|
|
109
|
+
if (!config.settings.sc.item) return;
|
|
110
|
+
const plots = _plots?.length ? _plots : singleCellTermdbConfig.data.plots.map((p) => p.name);
|
|
111
|
+
return {
|
|
112
|
+
genome: this.state.vocab.genome,
|
|
113
|
+
dslabel: this.state.vocab.dslabel,
|
|
114
|
+
// if true, only return available plot names, but not actual plot data
|
|
115
|
+
checkPlotAvailability,
|
|
116
|
+
plots,
|
|
117
|
+
sample: {
|
|
118
|
+
eID: config.settings.sc.item.eID,
|
|
119
|
+
sID: config.settings.sc.item.sID
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
async hasSpatialImage(sID) {
|
|
124
|
+
if (!(sID in this.sampleHasSpatial)) {
|
|
125
|
+
if (!this.state.termdbConfig?.queries?.w2) return false;
|
|
126
|
+
let r;
|
|
127
|
+
try {
|
|
128
|
+
r = await dofetch3("termdb/wsiBySample", {
|
|
129
|
+
// imageType: only the spatial root is enumerated for the probe
|
|
130
|
+
body: {
|
|
131
|
+
genome: this.state.vocab.genome,
|
|
132
|
+
dslabel: this.state.vocab.dslabel,
|
|
133
|
+
sample_id: sID,
|
|
134
|
+
imageType: "spatial"
|
|
135
|
+
},
|
|
136
|
+
signal: this.sc.api?.getAbortSignal()
|
|
137
|
+
});
|
|
138
|
+
} catch (e) {
|
|
139
|
+
if (this.app.vocabApi?.isAbortError?.(e)) throw e;
|
|
140
|
+
return false;
|
|
141
|
+
}
|
|
142
|
+
if (r?.error) return false;
|
|
143
|
+
this.sampleHasSpatial[sID] = !!(r?.images || []).some((i) => i.type == "spatial" && i.spatialData);
|
|
144
|
+
}
|
|
145
|
+
return this.sampleHasSpatial[sID];
|
|
146
|
+
}
|
|
147
|
+
/** Essentially for the GDC. Maybe applied to other ds in the future. */
|
|
148
|
+
async getCategories(_plots) {
|
|
149
|
+
const body = this.getDataRequestOpts(_plots, false);
|
|
150
|
+
if (!body) return;
|
|
151
|
+
let res;
|
|
152
|
+
try {
|
|
153
|
+
res = await dofetch3("termdb/singlecellData", { body, signal: this.sc.api?.getAbortSignal() });
|
|
154
|
+
} catch (e) {
|
|
155
|
+
if (e instanceof Error) console.error(`${e.message || e}`);
|
|
156
|
+
}
|
|
157
|
+
return this.formatCategories(res);
|
|
158
|
+
}
|
|
159
|
+
formatCategories(res) {
|
|
160
|
+
const plot = structuredClone(res.plots[0]);
|
|
161
|
+
plot.cells = [...plot.noExpCells, ...plot.expCells];
|
|
162
|
+
const clusters = new Set(plot.cells.map((c) => c.category));
|
|
163
|
+
const sortedClusters = Array.from(clusters).sort((a, b) => {
|
|
164
|
+
const num1 = parseInt(a.split(" ")[1]);
|
|
165
|
+
const num2 = parseInt(b.split(" ")[1]);
|
|
166
|
+
return num1 - num2;
|
|
167
|
+
});
|
|
168
|
+
return sortedClusters;
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
// plots/sc/viewModel/SCViewModel.ts
|
|
173
|
+
var SCViewModel = class {
|
|
174
|
+
constructor(app, sampleColumns) {
|
|
175
|
+
this.app = app;
|
|
176
|
+
this.state = this.app.getState();
|
|
177
|
+
this.sampleColumns = sampleColumns || [];
|
|
178
|
+
this.metaResultIds = /* @__PURE__ */ new Set();
|
|
179
|
+
}
|
|
180
|
+
processData(config, _items) {
|
|
181
|
+
const items = _items.sort((a, b) => b.isMetaResult === a.isMetaResult ? 0 : b.isMetaResult ? 1 : -1);
|
|
182
|
+
const [rows, columns, sampleColIdx] = this.getTabelData(config, items, this.sampleColumns);
|
|
183
|
+
const selectedRows = [];
|
|
184
|
+
const sID = config.settings.sc.item?.sID;
|
|
185
|
+
const i = sID ? items.findIndex((item) => item.sample === sID || item.experiments?.some((e) => e.sampleName === sID)) : -1;
|
|
186
|
+
if (i != -1) selectedRows.push(i);
|
|
187
|
+
this.tableData = {
|
|
188
|
+
rows,
|
|
189
|
+
columns,
|
|
190
|
+
selectedRows,
|
|
191
|
+
sampleColIdx
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
/** Shape the selected sample's plot data for the plot buttons view:
|
|
195
|
+
* the server's plots plus flags the view only reads (hasSpatial shows
|
|
196
|
+
* the Spatial button). */
|
|
197
|
+
formatPlotsData(sampleData, hasSpatial) {
|
|
198
|
+
return { ...sampleData, hasSpatial };
|
|
199
|
+
}
|
|
200
|
+
getTabelData(plotConfig, items, sampleColumns) {
|
|
201
|
+
const rows = [];
|
|
202
|
+
const hasExperiments = items.some((i) => i.experiments);
|
|
203
|
+
let sampleColIdx = -1;
|
|
204
|
+
let firstColLabel = plotConfig.settings.sc.columns.sample;
|
|
205
|
+
if (items[0]?.isMetaResult) firstColLabel = "";
|
|
206
|
+
const columns = [{ label: firstColLabel, sortable: true }];
|
|
207
|
+
if (hasExperiments) {
|
|
208
|
+
columns.push({ label: "Sample", sortable: true });
|
|
209
|
+
sampleColIdx = 1;
|
|
210
|
+
} else sampleColIdx = 0;
|
|
211
|
+
columns.push({ label: "Shown plots" });
|
|
212
|
+
for (const col of sampleColumns || []) {
|
|
213
|
+
columns.push({
|
|
214
|
+
label: col.label,
|
|
215
|
+
width: "14vw",
|
|
216
|
+
sortable: true
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
if (hasExperiments) columns.push({ label: "Experiment", sortable: true });
|
|
220
|
+
for (const item of items) {
|
|
221
|
+
if (item.isMetaResult) this.metaResultIds.add(item.sample);
|
|
222
|
+
if (hasExperiments)
|
|
223
|
+
for (const exp of item.experiments) {
|
|
224
|
+
const row = [{ value: item.sample, __experimentID: exp.experimentID }];
|
|
225
|
+
row.push({ value: exp.sampleName });
|
|
226
|
+
row.push({ value: "" });
|
|
227
|
+
for (const col of sampleColumns || []) {
|
|
228
|
+
row.push({ value: item[col.termid] });
|
|
229
|
+
}
|
|
230
|
+
const urlTemp = this.state.termdbConfig?.urlTemplates?.scrnaExperimentId;
|
|
231
|
+
if (urlTemp) row.push({ value: exp.experimentID, url: `${urlTemp.base}${exp.experimentID}` });
|
|
232
|
+
else row.push({ value: exp.experimentID });
|
|
233
|
+
rows.push(row);
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
const row = item.isMetaResult ? [{ html: item.sample.replace(/_/g, " "), value: item.sample, elemId: "isMetaResult" }] : [{ value: item.sample }];
|
|
237
|
+
row.push({ value: "" });
|
|
238
|
+
for (const col of sampleColumns || []) {
|
|
239
|
+
const value = item[col.termid];
|
|
240
|
+
if (value == null && item.isMetaResult) row.push({ value: "All" });
|
|
241
|
+
else row.push({ value: item[col.termid] });
|
|
242
|
+
}
|
|
243
|
+
rows.push(row);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return [rows, columns, sampleColIdx];
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
// plots/sc/interactions/SCInteractions.ts
|
|
251
|
+
var SCInteractions = class {
|
|
252
|
+
constructor(sc) {
|
|
253
|
+
this.app = sc.app;
|
|
254
|
+
this.id = sc.id;
|
|
255
|
+
this.model = sc.model;
|
|
256
|
+
this.viewModel = sc.viewModel;
|
|
257
|
+
}
|
|
258
|
+
/** Add the plot to the state.plots array with .parentId. Adding
|
|
259
|
+
* .parentId prevents the plot from launching in a new sandbox outside SC.
|
|
260
|
+
* Pass the .parentId to both the plotConfig and the action.
|
|
261
|
+
* this.getState() in SC.ts will find all the subplots with the parentId==this.id
|
|
262
|
+
* SC.main() initializes the subplots as components in chartsDiv */
|
|
263
|
+
async createSubplot(config) {
|
|
264
|
+
const c = Object.assign({}, config, { parentId: this.id });
|
|
265
|
+
await this.app.dispatch({
|
|
266
|
+
type: "plot_create",
|
|
267
|
+
parentId: this.id,
|
|
268
|
+
config: c
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
/** Updates the selected item in the plot settings */
|
|
272
|
+
async updateItem(item) {
|
|
273
|
+
item.isMetaResult = this.viewModel.metaResultIds.has(item.sID);
|
|
274
|
+
await this.app.dispatch({
|
|
275
|
+
type: "plot_edit",
|
|
276
|
+
id: this.id,
|
|
277
|
+
config: { settings: { sc: { item } } }
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
async getDropDownOptions(plot) {
|
|
281
|
+
return this.model.getCategories(plot);
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
// plots/sc/view/SCSampleTable.ts
|
|
286
|
+
var SCSampleTable = class {
|
|
287
|
+
constructor(dom, tableData, opts = {}) {
|
|
288
|
+
this.showPlotsColumn = false;
|
|
289
|
+
this.rowMap = /* @__PURE__ */ new Map();
|
|
290
|
+
this.rows = [];
|
|
291
|
+
this.columns = [];
|
|
292
|
+
this.dom = dom;
|
|
293
|
+
this.holder = dom?.tableDiv || dom;
|
|
294
|
+
this.tableData = tableData;
|
|
295
|
+
this.sampleColIdx = tableData.sampleColIdx ?? 0;
|
|
296
|
+
this.rows = tableData.rows;
|
|
297
|
+
this.columns = tableData.columns;
|
|
298
|
+
this.onRowClick = opts.onRowClick;
|
|
299
|
+
this.renderStaticTable();
|
|
300
|
+
}
|
|
301
|
+
renderStaticTable() {
|
|
302
|
+
this.holder.selectAll("*").remove();
|
|
303
|
+
this.parentDiv = this.holder.append("div").style("background-color", "white").style("display", "inline-block").style("max-height", "30vh").style("max-width", "90vw").classed("sjpp_show_scrollbar", true);
|
|
304
|
+
this.table = this.parentDiv.append("table").style("width", "100%");
|
|
305
|
+
this.thead = this.table.append("thead");
|
|
306
|
+
this.thead.style("position", "sticky").style("top", "0").style("background-color", "white").style("z-index", "1");
|
|
307
|
+
this.tableHeaderRow = this.thead.append("tr");
|
|
308
|
+
this.tbody = this.table.append("tbody");
|
|
309
|
+
this.renderHeader();
|
|
310
|
+
this.renderRows();
|
|
311
|
+
}
|
|
312
|
+
renderHeader() {
|
|
313
|
+
this.tableHeaderRow.append("th").style("width", "1.5vw").style("padding", "0");
|
|
314
|
+
for (const [columnIndex, column] of this.columns.entries()) {
|
|
315
|
+
const th = this.tableHeaderRow.append("th").attr("class", "sjpp_table_item sjpp_table_header");
|
|
316
|
+
if (column.label === "Shown plots" && !this.showPlotsColumn) th.style("display", "none");
|
|
317
|
+
if (column.width) th.style("width", column.width);
|
|
318
|
+
if (column.tooltip) th.attr("title", column.tooltip);
|
|
319
|
+
const labelWrap = th.append("span").style("display", "inline-flex").style("align-items", "center");
|
|
320
|
+
labelWrap.append("span").text(column.label);
|
|
321
|
+
if (column.sortable) {
|
|
322
|
+
const sortDiv = labelWrap.append("div").style("display", "inline-block").style("padding-left", "6px");
|
|
323
|
+
let isAscending = false;
|
|
324
|
+
icons["updown"](sortDiv, {
|
|
325
|
+
handler: () => {
|
|
326
|
+
isAscending = !isAscending;
|
|
327
|
+
const nextRows = sortTableCallBack(columnIndex, this.rows, isAscending);
|
|
328
|
+
this.sortRows(nextRows);
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
renderRows() {
|
|
335
|
+
this.rowMap.clear();
|
|
336
|
+
for (const [rowIndex, row] of this.rows.entries()) {
|
|
337
|
+
const tr = this.tbody.append("tr").attr("class", "sjpp_row_wrapper").attr("tabindex", 0);
|
|
338
|
+
if (rowIndex % 2 === 1) tr.style("background-color", "rgb(245,245,245)");
|
|
339
|
+
const sampleCell = row[this.sampleColIdx];
|
|
340
|
+
const sampleId = String(sampleCell?.value ?? "");
|
|
341
|
+
if (!sampleId) continue;
|
|
342
|
+
const entry = {
|
|
343
|
+
sampleId,
|
|
344
|
+
row: tr,
|
|
345
|
+
cells: {}
|
|
346
|
+
};
|
|
347
|
+
const radioCell = tr.append("td").style("width", "1.5vw").style("padding", "0 6px").style("text-align", "center");
|
|
348
|
+
radioCell.append("input").attr("type", "radio").attr("name", "sjpp-sc-row-selection").attr("value", sampleId).attr("aria-label", `Select ${sampleId}`).property("checked", this.tableData.selectedRows.includes(rowIndex)).on("change", () => {
|
|
349
|
+
if (this.onRowClick) this.onRowClick(sampleId);
|
|
350
|
+
});
|
|
351
|
+
for (const [colIdx, cell] of row.entries()) {
|
|
352
|
+
const td = tr.append("td").attr("class", "sjpp_table_item").attr("data-testid", "sjpp-table-cell-item");
|
|
353
|
+
if (this.columns[colIdx]?.label === "Shown plots" && !this.showPlotsColumn) td.style("display", "none");
|
|
354
|
+
if (colIdx === this.sampleColIdx) {
|
|
355
|
+
entry.cells.sample = td;
|
|
356
|
+
}
|
|
357
|
+
if (this.columns[colIdx]?.label === "Shown plots") {
|
|
358
|
+
entry.cells.shownPlots = td;
|
|
359
|
+
}
|
|
360
|
+
if ("value" in cell) td.text(cell.value).attr("aria-label", cell.value);
|
|
361
|
+
else if (cell.html) td.html(cell.html);
|
|
362
|
+
else if (cell.url) td.append("a").text(cell.value || cell.url).attr("href", cell.url).attr("aria-label", `Click to ${cell.url}`);
|
|
363
|
+
}
|
|
364
|
+
tr.on("click", () => {
|
|
365
|
+
if (this.onRowClick) this.onRowClick(sampleId);
|
|
366
|
+
});
|
|
367
|
+
tr.on("keydown", (event) => {
|
|
368
|
+
if (event.key === "Enter") {
|
|
369
|
+
if (this.onRowClick) this.onRowClick(sampleId);
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
this.rowMap.set(sampleId, entry);
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
/** Patches the table in place when the incoming data describes the same
|
|
376
|
+
* set of samples/columns (e.g. a subplot state change re-triggers SC's
|
|
377
|
+
* main()/update() without the sample list itself changing). Only falls
|
|
378
|
+
* back to a full teardown+rebuild when the sample list or columns
|
|
379
|
+
* actually changed, so row identity (and scroll position) survives
|
|
380
|
+
* updates that only affect the "Shown plots" column. */
|
|
381
|
+
setTableData(tableData) {
|
|
382
|
+
const needsRebuild = !this.isSameShape(tableData);
|
|
383
|
+
this.tableData = tableData;
|
|
384
|
+
this.rows = tableData.rows;
|
|
385
|
+
this.columns = tableData.columns;
|
|
386
|
+
this.sampleColIdx = tableData.sampleColIdx ?? 0;
|
|
387
|
+
if (needsRebuild) {
|
|
388
|
+
this.renderStaticTable();
|
|
389
|
+
} else {
|
|
390
|
+
this.syncSelectedRows(tableData);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
/** Compares by the set of sample IDs rather than row order, since sortRows()
|
|
394
|
+
* reorders this.rows/DOM in place on user interaction. Comparing positionally
|
|
395
|
+
* would treat that as a "shape change" on the next incoming tableData and
|
|
396
|
+
* force an unnecessary rebuild that undoes the sort and resets scroll. */
|
|
397
|
+
isSameShape(tableData) {
|
|
398
|
+
if (tableData.columns.length !== this.columns.length) return false;
|
|
399
|
+
for (const [i, column] of this.columns.entries()) {
|
|
400
|
+
if (tableData.columns[i]?.label !== column.label) return false;
|
|
401
|
+
}
|
|
402
|
+
if (tableData.rows.length !== this.rows.length) return false;
|
|
403
|
+
const incomingSampleColIdx = tableData.sampleColIdx ?? this.sampleColIdx;
|
|
404
|
+
return tableData.rows.every((row) => this.rowMap.has(String(row[incomingSampleColIdx]?.value ?? "")));
|
|
405
|
+
}
|
|
406
|
+
/** selectedRows is always 0 or 1 entries (radio selection), see SCViewModel. */
|
|
407
|
+
syncSelectedRows(tableData) {
|
|
408
|
+
const sampleColIdx = tableData.sampleColIdx ?? this.sampleColIdx;
|
|
409
|
+
const selectedRowIndex = tableData.selectedRows[0];
|
|
410
|
+
const selectedId = selectedRowIndex != null ? String(tableData.rows[selectedRowIndex]?.[sampleColIdx]?.value ?? "") : "";
|
|
411
|
+
for (const [sampleId, entry] of this.rowMap) {
|
|
412
|
+
const input = entry.row.select('input[type="radio"]').node();
|
|
413
|
+
if (input) input.checked = sampleId === selectedId;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
setShownPlotsColumnVisibility(visible) {
|
|
417
|
+
if (visible !== this.showPlotsColumn) this.toggleShownPlotsColumn(visible);
|
|
418
|
+
}
|
|
419
|
+
toggleShownPlotsColumn(visible) {
|
|
420
|
+
this.showPlotsColumn = visible;
|
|
421
|
+
const shownPlotsHeaderIndex = this.columns.findIndex((c) => c.label === "Shown plots");
|
|
422
|
+
if (shownPlotsHeaderIndex === -1) return;
|
|
423
|
+
const domColumnIndex = shownPlotsHeaderIndex + 1;
|
|
424
|
+
const headerCells = this.tableHeaderRow.selectAll("th").nodes();
|
|
425
|
+
const visibleState = visible ? "table-cell" : "none";
|
|
426
|
+
if (headerCells[domColumnIndex]) headerCells[domColumnIndex].style.display = visibleState;
|
|
427
|
+
for (const entry of this.rowMap.values()) {
|
|
428
|
+
entry.cells.shownPlots?.style("display", visibleState);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Placeholder for future sorted-row updates.
|
|
433
|
+
*
|
|
434
|
+
* This intentionally keeps row identity stable and reorders existing DOM nodes
|
|
435
|
+
* instead of deleting/recreating the whole table when sorting.
|
|
436
|
+
*/
|
|
437
|
+
sortRows(sortedRows) {
|
|
438
|
+
const parentNode = this.tbody.node();
|
|
439
|
+
for (const row of sortedRows) {
|
|
440
|
+
const sampleId = String(row[this.sampleColIdx]?.value ?? "");
|
|
441
|
+
const entry = this.rowMap.get(sampleId);
|
|
442
|
+
if (!entry) continue;
|
|
443
|
+
parentNode.appendChild(entry.row.node());
|
|
444
|
+
}
|
|
445
|
+
this.rows = sortedRows;
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
// plots/sc/view/SampleTableRenderer.ts
|
|
450
|
+
var SampleTableRenderer = class {
|
|
451
|
+
constructor(dom, interactions, tableData) {
|
|
452
|
+
this.activeSandboxes = /* @__PURE__ */ new Map();
|
|
453
|
+
/** Tracks rendered btns per sample to avoid unnecessary destroy/recreate pattern. */
|
|
454
|
+
this.rendered = /* @__PURE__ */ new Map();
|
|
455
|
+
this.table = null;
|
|
456
|
+
this.dom = dom;
|
|
457
|
+
this.interactions = interactions;
|
|
458
|
+
this.tableData = tableData;
|
|
459
|
+
this.renderSamplesTable(tableData);
|
|
460
|
+
}
|
|
461
|
+
/** Users select one item at a time to render the plot buttons
|
|
462
|
+
* to init() plots in the dashboard.*/
|
|
463
|
+
renderSamplesTable(tableData) {
|
|
464
|
+
this.tableData = tableData;
|
|
465
|
+
this.table = new SCSampleTable(this.dom, tableData, {
|
|
466
|
+
onRowClick: (sampleId) => {
|
|
467
|
+
const data = this.tableData;
|
|
468
|
+
const sampleColIdx = data.sampleColIdx ?? 0;
|
|
469
|
+
const rowIndex = data.rows.findIndex((row) => String(row[sampleColIdx]?.value ?? "") === sampleId);
|
|
470
|
+
if (rowIndex === -1) return;
|
|
471
|
+
const item = this.buildItemFromRow(data, rowIndex);
|
|
472
|
+
this.interactions.updateItem(item);
|
|
473
|
+
this.dom.plotsBtnsDiv.style("display", "block");
|
|
474
|
+
}
|
|
475
|
+
});
|
|
476
|
+
this.reapplyAllPlotButtons();
|
|
477
|
+
}
|
|
478
|
+
/** Builds an item object from a table row, mapping column labels to keys.
|
|
479
|
+
* Converts 'sample' -> 'sID' and 'experiment' -> 'eID'.
|
|
480
|
+
* Extracted out from noButtonCallback for testing. */
|
|
481
|
+
buildItemFromRow(tableData, index) {
|
|
482
|
+
const item = {};
|
|
483
|
+
tableData.rows[index].forEach((r, idx) => {
|
|
484
|
+
if (!r.value) return;
|
|
485
|
+
let key = tableData.columns[idx].label.toLowerCase();
|
|
486
|
+
key = key === "sample" || key === "" ? "sID" : key === "experiment" ? "eID" : key;
|
|
487
|
+
item[key] = r.value;
|
|
488
|
+
});
|
|
489
|
+
if (!item.sID) throw new Error("Selected item must have sID property");
|
|
490
|
+
return item;
|
|
491
|
+
}
|
|
492
|
+
updateTable(tableData) {
|
|
493
|
+
this.tableData = tableData;
|
|
494
|
+
if (!this.table) {
|
|
495
|
+
this.renderSamplesTable(tableData);
|
|
496
|
+
return;
|
|
497
|
+
}
|
|
498
|
+
this.table.setTableData(tableData);
|
|
499
|
+
this.reapplyAllPlotButtons();
|
|
500
|
+
}
|
|
501
|
+
updatePlotBtns(activeSandboxes) {
|
|
502
|
+
this.activeSandboxes = activeSandboxes;
|
|
503
|
+
let totalPlots = 0;
|
|
504
|
+
for (const sandboxes of activeSandboxes.values()) totalPlots += sandboxes.length;
|
|
505
|
+
this.table?.setShownPlotsColumnVisibility(totalPlots >= 2);
|
|
506
|
+
this.reapplyAllPlotButtons();
|
|
507
|
+
}
|
|
508
|
+
/** Called by afterRender to re-apply buttons for all samples with subplots.
|
|
509
|
+
* Also called in updateTable when the active sandboxes (i.e. subplots) change.*/
|
|
510
|
+
reapplyAllPlotButtons() {
|
|
511
|
+
for (const sampleId of this.rendered.keys()) {
|
|
512
|
+
if (!this.activeSandboxes.has(sampleId)) {
|
|
513
|
+
this.deleteBtns(sampleId);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
for (const sampleId of this.activeSandboxes.keys()) {
|
|
517
|
+
this.applyButtonsForSample(sampleId);
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
deleteBtns(sampleId) {
|
|
521
|
+
const cached = this.rendered.get(sampleId);
|
|
522
|
+
if (cached) {
|
|
523
|
+
cached.cell.selectAll(".sjpp-sc-table-plot-btn").remove();
|
|
524
|
+
this.rendered.delete(sampleId);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
/** Applies buttons for a single sample. Skips DOM work if cell and plots are unchanged. */
|
|
528
|
+
applyButtonsForSample(sampleId) {
|
|
529
|
+
const sampleSandboxes = this.activeSandboxes.get(sampleId);
|
|
530
|
+
if (!sampleSandboxes || sampleSandboxes.length === 0) return;
|
|
531
|
+
if (!this.table) return;
|
|
532
|
+
const cell = this.table.rowMap.get(sampleId)?.cells?.shownPlots;
|
|
533
|
+
if (!cell) return;
|
|
534
|
+
const plotIds = sampleSandboxes.map((s) => s.plotId).join(",");
|
|
535
|
+
const cached = this.rendered.get(sampleId);
|
|
536
|
+
if (cached && cached.cell === cell && cached.plotIds === plotIds) return;
|
|
537
|
+
cell.selectAll(".sjpp-sc-table-plot-btn").remove();
|
|
538
|
+
this.rendered.set(sampleId, { cell, plotIds });
|
|
539
|
+
for (const { div, plotName } of sampleSandboxes) {
|
|
540
|
+
this.appendPlotBtn(cell, div, plotName, sampleId);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
appendPlotBtn(cell, sandboxDiv, plotName, sampleId) {
|
|
544
|
+
const text = plotName.length > 25 ? plotName.slice(0, 12) + "..." : plotName;
|
|
545
|
+
const label = `Scroll to ${plotName}`;
|
|
546
|
+
cell.append("button").attr("class", "sjpp-sc-table-plot-btn").attr("data-testid", `sjpp-sc-table-${sampleId}-${plotName}-btn`).style("padding", "2px 5px").style("margin-left", "4px").style("font-size", "0.8em").style("border-radius", "20px").style("border", "0.5px solid black").style("cursor", "pointer").text(text).attr("aria-label", label).attr("title", label).attr("tabindex", 0).on("click", () => {
|
|
547
|
+
sandboxDiv.node().scrollIntoView({ behavior: "smooth", block: "start" });
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
// plots/sc/view/PlotButtons.ts
|
|
553
|
+
var PlotButtons = class {
|
|
554
|
+
/** scctTerms and the scTermdbConfig are created on server init and will not change. */
|
|
555
|
+
constructor(interactions, holder, termdbConfig) {
|
|
556
|
+
holder.style("padding", "10px");
|
|
557
|
+
const promptDiv = holder.append("div").style("padding", "10px 0").text("Select data from");
|
|
558
|
+
this.plotBtnsDom = {
|
|
559
|
+
holder,
|
|
560
|
+
promptDiv,
|
|
561
|
+
selectPrompt: promptDiv.append("span"),
|
|
562
|
+
btnsDiv: holder.append("div"),
|
|
563
|
+
tip: new Menu({ padding: "" })
|
|
564
|
+
};
|
|
565
|
+
this.interactions = interactions;
|
|
566
|
+
this.scctTerms = termdbConfig?.termType2terms?.[TermTypeGroups.SINGLECELL_CELLTYPE];
|
|
567
|
+
this.scnvTerms = termdbConfig?.termType2terms?.[TermTypeGroups.SINGLECELL_NUMERIC_VALUE];
|
|
568
|
+
this.scTermdbConfig = termdbConfig.queries.singleCell;
|
|
569
|
+
}
|
|
570
|
+
update(settings, data) {
|
|
571
|
+
const item = settings.sc.item;
|
|
572
|
+
this.plotBtnsDom.holder.style("display", !item ? "none" : "block");
|
|
573
|
+
if (!item) return;
|
|
574
|
+
if (data != null && data.plots) this.data = data;
|
|
575
|
+
this.availablePlots = new Set(this.data?.plots?.map((p) => p.name));
|
|
576
|
+
this.settings = settings;
|
|
577
|
+
this.item = item;
|
|
578
|
+
const name = item.sID;
|
|
579
|
+
this.plotBtnsDom.selectPrompt.text(` ${name}:`);
|
|
580
|
+
this.renderChartBtns();
|
|
581
|
+
}
|
|
582
|
+
renderChartBtns() {
|
|
583
|
+
this.plotBtnsDom.btnsDiv.selectAll("*").remove();
|
|
584
|
+
const disabledPlots = this.scTermdbConfig?.scApp?.disabledPlots || [];
|
|
585
|
+
const btns = this.getChartBtnOpts().filter((b) => !disabledPlots.includes(b.chartType)).filter((b) => b.isVisible());
|
|
586
|
+
this.plotBtnsDom.btnsDiv.selectAll("button").data(btns).enter().append("button").attr("type", "button").attr("data-testid", (b) => `sjpp-sc-plot-btn-${b.label.toLowerCase().replace(/\s/g, "-")}`).style("padding", "10px 15px").style("border-radius", "20px").style("border-color", "transparent").style("background-color", "#CFE2F3").style("margin", "0 10px").style("cursor", "pointer").text((b) => b.label).on("click", async (e, plot) => {
|
|
587
|
+
if (plot.open) {
|
|
588
|
+
this.plotBtnsDom.tip.clear().showunder(e.target);
|
|
589
|
+
plot.open(plot, this);
|
|
590
|
+
} else {
|
|
591
|
+
if (!plot.getPlotConfig)
|
|
592
|
+
throw new Error(`No getPlotConfig function defined for this plot button = ${plot.label}`);
|
|
593
|
+
const config = await plot.getPlotConfig();
|
|
594
|
+
await this.interactions.createSubplot(config);
|
|
595
|
+
}
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
getChartBtnOpts() {
|
|
599
|
+
const btns = [];
|
|
600
|
+
for (const plot of this.scTermdbConfig?.data?.plots || []) {
|
|
601
|
+
if (!this.availablePlots.has(plot.name)) continue;
|
|
602
|
+
btns.push({
|
|
603
|
+
label: plot.name,
|
|
604
|
+
chartType: "sampleScatter",
|
|
605
|
+
isVisible: () => true,
|
|
606
|
+
getPlotConfig: async () => {
|
|
607
|
+
return await this.getSingleCellConfig(plot.name);
|
|
608
|
+
}
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
btns.push(
|
|
612
|
+
{
|
|
613
|
+
label: "Summary",
|
|
614
|
+
chartType: "dictionary",
|
|
615
|
+
/** Note: if only spatial image available, this plot should not show. */
|
|
616
|
+
isVisible: () => this.availablePlots.has("dictionary"),
|
|
617
|
+
getPlotConfig: () => {
|
|
618
|
+
const sample = { ...this.item, plots: Array.from(this.availablePlots) };
|
|
619
|
+
const isMeta = sample?.isMetaResult || false;
|
|
620
|
+
return {
|
|
621
|
+
chartType: "dictionary",
|
|
622
|
+
sample,
|
|
623
|
+
spawnConfig: {
|
|
624
|
+
parentId: this.interactions.id,
|
|
625
|
+
headerText: this.makeHeaderText(sample, isMeta),
|
|
626
|
+
hidePlotFilter: !isMeta,
|
|
627
|
+
sample
|
|
628
|
+
},
|
|
629
|
+
tree: {
|
|
630
|
+
usecase: {
|
|
631
|
+
target: "dictionary",
|
|
632
|
+
specialCase: {
|
|
633
|
+
type: "singleCell",
|
|
634
|
+
config: { sample }
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
label: "Gene expression",
|
|
643
|
+
chartType: "GeneExpInput",
|
|
644
|
+
isVisible: () => this.scTermdbConfig?.geneExpression && this.availablePlots.has(this.scTermdbConfig.geneExpression?.label || "Gene expression"),
|
|
645
|
+
getPlotConfig: () => {
|
|
646
|
+
const sample = this.item;
|
|
647
|
+
const isMeta = sample?.isMetaResult || false;
|
|
648
|
+
const headerText = this.makeHeaderText(sample, isMeta);
|
|
649
|
+
return {
|
|
650
|
+
chartType: "GeneExpInput",
|
|
651
|
+
termType: SINGLECELL_GENE_EXPRESSION,
|
|
652
|
+
headerText,
|
|
653
|
+
termProperties: { sample },
|
|
654
|
+
parentId: this.interactions.id,
|
|
655
|
+
sample,
|
|
656
|
+
spawnConfig: {
|
|
657
|
+
parentId: this.interactions.id,
|
|
658
|
+
headerText,
|
|
659
|
+
hidePlotFilter: !isMeta,
|
|
660
|
+
/** Must pass this to summary config in the event a continuous
|
|
661
|
+
* overlay is applied, launching the scatter plot. Without it,
|
|
662
|
+
* the single cell model is not used. */
|
|
663
|
+
singleCellPlot: {
|
|
664
|
+
name: [...this.availablePlots][0],
|
|
665
|
+
sample
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
label: "Differential expression",
|
|
673
|
+
chartType: "DA",
|
|
674
|
+
isVisible: () => this.scTermdbConfig?.DEgenes,
|
|
675
|
+
open: this.termDropdownMenu,
|
|
676
|
+
getPlotConfig: (value) => {
|
|
677
|
+
const isMeta = this.item?.isMetaResult || false;
|
|
678
|
+
return {
|
|
679
|
+
chartType: "differentialAnalysis",
|
|
680
|
+
termType: SINGLECELL_CELLTYPE,
|
|
681
|
+
categoryName: `${value}`,
|
|
682
|
+
headerText: `${isMeta ? "" : "Sample: "}${this.item.sID}, ${this.scTermdbConfig.DEgenes.termId} ${value}`,
|
|
683
|
+
termId: this.scTermdbConfig.DEgenes.termId,
|
|
684
|
+
sample: this.item,
|
|
685
|
+
plotName: "Differential expression"
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
label: this.scTermdbConfig?.images?.label || "Image",
|
|
691
|
+
chartType: "imagePlot",
|
|
692
|
+
isVisible: () => this.scTermdbConfig?.images && this.availablePlots.has(this.scTermdbConfig.images.label || "Image"),
|
|
693
|
+
getPlotConfig: () => {
|
|
694
|
+
const isMeta = this.item?.isMetaResult || false;
|
|
695
|
+
return {
|
|
696
|
+
chartType: "imagePlot",
|
|
697
|
+
sample: this.item,
|
|
698
|
+
imgDir: this.scTermdbConfig?.images,
|
|
699
|
+
headerText: this.makeHeaderText(this.item, isMeta),
|
|
700
|
+
settings: { imagePlot: { width: "", height: 400 } }
|
|
701
|
+
};
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
// spatial tissue viewer for samples with a spatial image (the model's
|
|
706
|
+
// wsiBySample probe sets data.hasSpatial); spawns the w2 wsi plot in
|
|
707
|
+
// fixed-sample mode, which has its own burger menu for the overlays
|
|
708
|
+
label: "Spatial",
|
|
709
|
+
chartType: "wsi",
|
|
710
|
+
isVisible: () => !!this.data?.hasSpatial,
|
|
711
|
+
getPlotConfig: () => {
|
|
712
|
+
const sample = this.item;
|
|
713
|
+
return {
|
|
714
|
+
chartType: "wsi",
|
|
715
|
+
name: `Sample: ${sample.sID} Spatial`,
|
|
716
|
+
sample,
|
|
717
|
+
plotName: "Spatial"
|
|
718
|
+
};
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
);
|
|
722
|
+
return btns;
|
|
723
|
+
}
|
|
724
|
+
makeHeaderText(sample, isMeta, plot) {
|
|
725
|
+
const caseText = sample.case ? ` Case: ${sample.case}` : "";
|
|
726
|
+
const projectText = sample?.["project id"] ? ` Project: ${sample["project id"]}` : "";
|
|
727
|
+
return `${isMeta ? "" : "Sample: "}${sample.sID}${caseText}${projectText}${plot ? ` (${plot})` : ""}`;
|
|
728
|
+
}
|
|
729
|
+
//********** Btn Menus **********/
|
|
730
|
+
async termDropdownMenu(plot, self) {
|
|
731
|
+
const _plot = Array.from(self.availablePlots)[0];
|
|
732
|
+
const options = await self.interactions.getDropDownOptions([_plot]);
|
|
733
|
+
if (!options?.length) throw new Error("No options found for this plot. Cannot open dropdown menu.");
|
|
734
|
+
self.plotBtnsDom.tip.clear();
|
|
735
|
+
const wrapper = self.plotBtnsDom.tip.d.append("div").style("padding", "10px");
|
|
736
|
+
wrapper.append("div").style("display", "block").style("width", "300px").text(`View differentially expressed genes of a ${self.scTermdbConfig.DEgenes.termId} versus rest of the cells:`);
|
|
737
|
+
const select = wrapper.append("select").style("margin", "10px 0").style("width", "auto").style("padding", "5px").on("change", async function() {
|
|
738
|
+
self.plotBtnsDom.tip.hide();
|
|
739
|
+
const value = select.node().value;
|
|
740
|
+
if (value.indexOf("Select") == 0) return;
|
|
741
|
+
const config = plot.getPlotConfig(value);
|
|
742
|
+
await self.interactions.createSubplot(config);
|
|
743
|
+
});
|
|
744
|
+
const regex = new RegExp(self.scTermdbConfig.DEgenes.termId, "gi");
|
|
745
|
+
options.unshift(`Select a ${self.scTermdbConfig.DEgenes.termId}...`);
|
|
746
|
+
for (const cluster of options) {
|
|
747
|
+
select.append("option").attr("value", cluster.replace(regex, "").trim()).text(cluster);
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
//********** Plot Config Helpers **********/
|
|
751
|
+
async getSingleCellConfig(plotName) {
|
|
752
|
+
if (!this.item) throw new Error("No item selected");
|
|
753
|
+
const plot = this.scTermdbConfig.data.plots.find((p) => p.name == plotName);
|
|
754
|
+
if (!plot) throw new Error(`No plot by name ${plotName} in data.plots.`);
|
|
755
|
+
const sample = this.item;
|
|
756
|
+
const isMeta = sample?.isMetaResult || false;
|
|
757
|
+
const config = {
|
|
758
|
+
chartType: "sampleScatter",
|
|
759
|
+
name: this.makeHeaderText(sample, isMeta, plotName),
|
|
760
|
+
sample,
|
|
761
|
+
singleCellPlot: {
|
|
762
|
+
name: plotName,
|
|
763
|
+
sample
|
|
764
|
+
}
|
|
765
|
+
};
|
|
766
|
+
if (plot.colorColumns?.[0]) {
|
|
767
|
+
const key = plot.colorColumns[0]?.type == "numeric" ? "scnv" : "scct";
|
|
768
|
+
config.colorTW = await this.makeScTW(key, sample, plot);
|
|
769
|
+
}
|
|
770
|
+
return config;
|
|
771
|
+
}
|
|
772
|
+
// Quick fix. Eventually use the handler to get the proper term from the termdbConfig
|
|
773
|
+
async makeScTW(key, item, plot) {
|
|
774
|
+
if (!key) throw new Error("Key is required for makeScTW");
|
|
775
|
+
const colorColName = plot.colorColumns[0].name;
|
|
776
|
+
const savedTerm = this[`${key}Terms`]?.find((t) => t.name == colorColName && t.plot == plot.name);
|
|
777
|
+
if (!savedTerm) {
|
|
778
|
+
const ttg = key === "scct" ? TermTypeGroups.SINGLECELL_CELLTYPE : TermTypeGroups.SINGLECELL_NUMERIC_VALUE;
|
|
779
|
+
throw new Error(`No term found for colorColumn=${colorColName} in .termType2terms.${ttg} for plot ${plot.name}`);
|
|
780
|
+
}
|
|
781
|
+
const term = Object.assign(structuredClone(savedTerm), {
|
|
782
|
+
sample: item
|
|
783
|
+
});
|
|
784
|
+
const id = await digestMessage(`${plot.name}-${item.sID}-${item.eID}`);
|
|
785
|
+
return Object.assign({ $id: id }, { term });
|
|
786
|
+
}
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
// plots/sc/view/SectionRenderer.ts
|
|
790
|
+
var SectionRenderer = class {
|
|
791
|
+
constructor(sectionsDiv, groupBy) {
|
|
792
|
+
this.sections = {};
|
|
793
|
+
this.holder = sectionsDiv;
|
|
794
|
+
this.plotId2Key = /* @__PURE__ */ new Map();
|
|
795
|
+
this.groupBy = groupBy;
|
|
796
|
+
}
|
|
797
|
+
/** Send the sc with the updated state. May not be necessary long term. If not,
|
|
798
|
+
* remove and put in the constructor. */
|
|
799
|
+
async update(sc, subplots, groupBy) {
|
|
800
|
+
if (groupBy !== this.groupBy) {
|
|
801
|
+
this.groupBy = groupBy;
|
|
802
|
+
this.regroupSections(sc, subplots);
|
|
803
|
+
return;
|
|
804
|
+
}
|
|
805
|
+
const activeSubplots = new Set(subplots.map((s) => s.id));
|
|
806
|
+
for (const plotId of Array.from(this.plotId2Key.keys())) {
|
|
807
|
+
if (!activeSubplots.has(plotId)) this.removeSandbox(plotId);
|
|
808
|
+
}
|
|
809
|
+
for (const subplot of subplots) {
|
|
810
|
+
const key = this.getKey(subplot, sc);
|
|
811
|
+
if (!key) continue;
|
|
812
|
+
if (!this.sections[key]) this.initSection(key, sc);
|
|
813
|
+
if (!this.sections[key].sandboxes[subplot.id]) {
|
|
814
|
+
this.plotId2Key.set(subplot.id, key);
|
|
815
|
+
sc.subplotManager.setSectionKey(subplot.id, key);
|
|
816
|
+
await this.initSandbox(sc, subplot, key);
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
for (const key of Object.keys(this.sections)) {
|
|
820
|
+
if (Object.keys(this.sections[key].sandboxes).length === 0) {
|
|
821
|
+
this.removeSection(key, sc);
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
/** Reparent existing sandboxes into new section containers
|
|
826
|
+
* without destroying/recreating plot components. */
|
|
827
|
+
regroupSections(sc, subplots) {
|
|
828
|
+
const detached = /* @__PURE__ */ new Map();
|
|
829
|
+
for (const [plotId, key] of this.plotId2Key) {
|
|
830
|
+
const sandboxNode = this.sections[key]?.sandboxes[plotId];
|
|
831
|
+
if (sandboxNode) {
|
|
832
|
+
sandboxNode.remove();
|
|
833
|
+
detached.set(plotId, sandboxNode);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
this.holder.selectAll("*").remove();
|
|
837
|
+
this.sections = {};
|
|
838
|
+
this.plotId2Key = /* @__PURE__ */ new Map();
|
|
839
|
+
for (const subplot of subplots) {
|
|
840
|
+
const key = this.getKey(subplot, sc);
|
|
841
|
+
if (!key) continue;
|
|
842
|
+
if (!this.sections[key]) this.initSection(key, sc);
|
|
843
|
+
this.plotId2Key.set(subplot.id, key);
|
|
844
|
+
sc.subplotManager.setSectionKey(subplot.id, key);
|
|
845
|
+
const existing = detached.get(subplot.id);
|
|
846
|
+
if (existing) {
|
|
847
|
+
this.sections[key].subplots.node().prepend(existing.node());
|
|
848
|
+
this.sections[key].sandboxes[subplot.id] = existing;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
getKey(subplot, sc) {
|
|
853
|
+
if (this.groupBy === "none") return "none";
|
|
854
|
+
if (this.groupBy === "sample") return this.getSampleId(subplot);
|
|
855
|
+
return sc.subplotManager.getPlotName(subplot);
|
|
856
|
+
}
|
|
857
|
+
/** Extract sID from a subplot's config.
|
|
858
|
+
* Actual subplots store sample as {sID, eID} at top level or on term.term.sample. */
|
|
859
|
+
getSampleId(subplot) {
|
|
860
|
+
return subplot.sample?.sID || subplot.singleCellPlot?.sample?.sID || subplot.term?.term?.sample?.sID;
|
|
861
|
+
}
|
|
862
|
+
initSection(key, sc) {
|
|
863
|
+
const item = this.findSampleMetadata(key, sc);
|
|
864
|
+
const titleAttrText = this.groupBy == "sample" ? "this sample section" : this.groupBy == "plot" ? "this plot section" : "all plots";
|
|
865
|
+
const sectionWrapper = this.holder.insert("div", ":first-child").style("padding", "10px").attr("data-testid", `sjpp-sc-section-wrapper-${key}`);
|
|
866
|
+
sectionWrapper.append("span").attr("data-testid", `sjpp-sc-section-remove-btn-${key}`).style("margin", "0px 5px").style("cursor", "pointer").attr("title", `Remove ${titleAttrText}`).html(
|
|
867
|
+
`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="#000" class="bi bi-x-lg" viewBox="0 0 12 12">
|
|
868
|
+
<path
|
|
869
|
+
stroke="#000"
|
|
870
|
+
transform="scale(0.75)"
|
|
871
|
+
d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>
|
|
872
|
+
</svg>`
|
|
873
|
+
).on("click", () => {
|
|
874
|
+
this.removeSection(key, sc);
|
|
875
|
+
});
|
|
876
|
+
const titleText = this.makeSectionTitleText(key, item);
|
|
877
|
+
const titleWrapper = sectionWrapper.append("span").style("font-weight", 600).style("opacity", 0.7).text(titleText);
|
|
878
|
+
if (titleText.length) {
|
|
879
|
+
const arrow = titleWrapper.append("span").style("font-size", "0.8em").style("padding-left", "3px").attr("title", `Show/hide plots in ${titleAttrText}`).text("\u25BC");
|
|
880
|
+
titleWrapper.on("click", () => {
|
|
881
|
+
const isHidden = this.sections[key].subplots.style("display") === "none";
|
|
882
|
+
this.sections[key].subplots.style("display", isHidden ? "block" : "none");
|
|
883
|
+
arrow.text(isHidden ? "\u25BC" : "\u25B2");
|
|
884
|
+
});
|
|
885
|
+
}
|
|
886
|
+
this.sections[key] = {
|
|
887
|
+
sectionWrapper,
|
|
888
|
+
title: titleWrapper,
|
|
889
|
+
subplots: sectionWrapper.append("div").attr("data-testid", `sjpp-sc-subplots-${key}`),
|
|
890
|
+
sandboxes: {}
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
/** Look up sample metadata from the fetched items list.
|
|
894
|
+
* For experiment datasets, matches sID against experiments[].sampleName.
|
|
895
|
+
* For non-experiment datasets, matches sID against item.sample. */
|
|
896
|
+
findSampleMetadata(sampleId, sc) {
|
|
897
|
+
if (!sc.items) return void 0;
|
|
898
|
+
return sc.items.find((item) => item.sample === sampleId || item.experiments?.some((e) => e.sampleName === sampleId));
|
|
899
|
+
}
|
|
900
|
+
makeSectionTitleText(key, item) {
|
|
901
|
+
if (this.groupBy === "none") return "All plots";
|
|
902
|
+
if (this.groupBy === "plot") return key;
|
|
903
|
+
const caseText = item?.sample && item.sample !== key ? `Case: ${item.sample}` : "";
|
|
904
|
+
const isMeta = item?.isMetaResult || false;
|
|
905
|
+
const itemText = `${isMeta ? "" : "Sample: "}${key}`;
|
|
906
|
+
const projectProp = item?.case?.project?.project_id || item?.["project id"];
|
|
907
|
+
const projectText = projectProp ? `Project: ${projectProp}` : "";
|
|
908
|
+
return [itemText, caseText, projectText].filter(Boolean).join(" ");
|
|
909
|
+
}
|
|
910
|
+
async initSandbox(sc, subplot, key) {
|
|
911
|
+
const sandboxHolder = this.sections[key].subplots.insert("div", ":first-child").attr("data-testid", `sjpp-sc-sandbox-${subplot.id}`);
|
|
912
|
+
const sandboxDiv = await sc.subplotManager.initSubplotSandbox(sandboxHolder, subplot, {
|
|
913
|
+
sectionKey: key
|
|
914
|
+
});
|
|
915
|
+
this.sections[key].sandboxes[subplot.id] = sandboxDiv;
|
|
916
|
+
}
|
|
917
|
+
removeSection(key, sc) {
|
|
918
|
+
const subactions = [];
|
|
919
|
+
for (const plotId of Object.keys(this.sections[key].sandboxes || {})) {
|
|
920
|
+
this.removeSandbox(plotId, key);
|
|
921
|
+
subactions.push({
|
|
922
|
+
type: "plot_delete",
|
|
923
|
+
id: plotId,
|
|
924
|
+
parentId: sc.id
|
|
925
|
+
});
|
|
926
|
+
}
|
|
927
|
+
if (subactions.length > 0) {
|
|
928
|
+
sc.app.dispatch({
|
|
929
|
+
type: "app_refresh",
|
|
930
|
+
subactions
|
|
931
|
+
});
|
|
932
|
+
}
|
|
933
|
+
this.sections[key].sectionWrapper.remove();
|
|
934
|
+
delete this.sections[key];
|
|
935
|
+
}
|
|
936
|
+
removeSandbox(plotId, _key) {
|
|
937
|
+
const key = _key || this.plotId2Key.get(plotId);
|
|
938
|
+
if (!key) return;
|
|
939
|
+
const section = this.sections[key];
|
|
940
|
+
const sandbox = section?.sandboxes?.[plotId];
|
|
941
|
+
if (sandbox) sandbox.remove();
|
|
942
|
+
if (section?.sandboxes?.[plotId]) delete section.sandboxes[plotId];
|
|
943
|
+
this.plotId2Key.delete(plotId);
|
|
944
|
+
}
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
// plots/sc/settings/Settings.ts
|
|
948
|
+
var GroupByOptions = ["sample", "plot", "none"];
|
|
949
|
+
|
|
950
|
+
// plots/sc/view/SCViewRenderer.ts
|
|
951
|
+
var SCViewRenderer = class _SCViewRenderer {
|
|
952
|
+
static {
|
|
953
|
+
//On load, show table
|
|
954
|
+
//Eventually maybe an app dispatch and not a flag
|
|
955
|
+
this.inUse = true;
|
|
956
|
+
}
|
|
957
|
+
constructor(sc) {
|
|
958
|
+
this.sc = sc;
|
|
959
|
+
this.dom = sc.dom;
|
|
960
|
+
this.interactions = sc.interactions;
|
|
961
|
+
this.dom.controlsDiv.style("padding", "10px");
|
|
962
|
+
}
|
|
963
|
+
render(settings, state) {
|
|
964
|
+
this.renderSelectBtn();
|
|
965
|
+
this.renderGroupByOptions(settings);
|
|
966
|
+
this.plotBtns = new PlotButtons(this.interactions, this.dom.plotsBtnsDiv, state.termdbConfig);
|
|
967
|
+
this.sectionRenderer = new SectionRenderer(this.dom.sectionsDiv, settings.groupBy);
|
|
968
|
+
}
|
|
969
|
+
/** Renders the select btn at the top of the page that
|
|
970
|
+
* show/hides the item table and plot buttons */
|
|
971
|
+
renderSelectBtn() {
|
|
972
|
+
const btn = this.dom.controlsDiv.append("button").attr("data-testid", "sjpp-sc-item-table-select-btn").attr("title", "Show/hide sample table and plot buttons").style("border-radius", "20px").style("padding", "5px 10px").style("background-color", "transparent").text("Select sample and plots");
|
|
973
|
+
const arrowSpan = btn.append("span").style("font-size", "0.8em").style("padding-left", "3px").text("\u25BC");
|
|
974
|
+
btn.on("click", () => {
|
|
975
|
+
_SCViewRenderer.inUse = !_SCViewRenderer.inUse;
|
|
976
|
+
arrowSpan.text(_SCViewRenderer.inUse ? "\u25BC" : "\u25B2");
|
|
977
|
+
this.dom.tableDiv.style("display", _SCViewRenderer.inUse ? "block" : "none");
|
|
978
|
+
this.dom.plotsBtnsDiv.style("display", _SCViewRenderer.inUse ? "block" : "none");
|
|
979
|
+
});
|
|
980
|
+
}
|
|
981
|
+
renderGroupByOptions(settings) {
|
|
982
|
+
this.groupsWrapper = this.dom.controlsDiv.append("div").style("display", "none");
|
|
983
|
+
this.groupsWrapper.append("span").style("padding", "3px 0px 3px 20px").style("opacity", 0.7).text("Group by:");
|
|
984
|
+
const optionsDiv = this.groupsWrapper.append("span").style("display", "inline-block");
|
|
985
|
+
const options = GroupByOptions.map((option) => {
|
|
986
|
+
return {
|
|
987
|
+
label: `${option.charAt(0).toUpperCase() + option.slice(1)}`,
|
|
988
|
+
value: option,
|
|
989
|
+
checked: settings.groupBy === option
|
|
990
|
+
};
|
|
991
|
+
});
|
|
992
|
+
make_radios({
|
|
993
|
+
holder: optionsDiv,
|
|
994
|
+
styles: { display: "inline-block" },
|
|
995
|
+
options,
|
|
996
|
+
callback: async (value) => {
|
|
997
|
+
await this.sc.app.dispatch({
|
|
998
|
+
type: "plot_edit",
|
|
999
|
+
id: this.sc.id,
|
|
1000
|
+
config: { settings: { sc: { ...settings, groupBy: value } } }
|
|
1001
|
+
});
|
|
1002
|
+
}
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
async update(settings, data, activeSubplots, tableData, subplotManager) {
|
|
1006
|
+
if (!this.sampleTableRenderer) {
|
|
1007
|
+
this.sampleTableRenderer = new SampleTableRenderer(this.dom, this.interactions, tableData);
|
|
1008
|
+
} else {
|
|
1009
|
+
this.sampleTableRenderer.updateTable(tableData);
|
|
1010
|
+
}
|
|
1011
|
+
this.plotBtns.update(settings, data);
|
|
1012
|
+
await this.sectionRenderer.update(
|
|
1013
|
+
this.sc,
|
|
1014
|
+
activeSubplots.map((s) => s.subplot),
|
|
1015
|
+
settings.sc.groupBy
|
|
1016
|
+
);
|
|
1017
|
+
const activeSandboxes = subplotManager.getSampleSandboxes();
|
|
1018
|
+
this.groupsWrapper.style("display", activeSandboxes.size > 1 ? "inline-block" : "none");
|
|
1019
|
+
this.sampleTableRenderer.updatePlotBtns(activeSandboxes);
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
|
|
1023
|
+
// plots/sc/settings/defaults.ts
|
|
1024
|
+
function getDefaultSCAppSettings(overrides = {}, app) {
|
|
1025
|
+
const defaults = {
|
|
1026
|
+
sc: {
|
|
1027
|
+
columns: {
|
|
1028
|
+
sample: "Sample"
|
|
1029
|
+
},
|
|
1030
|
+
item: void 0,
|
|
1031
|
+
groupBy: "sample"
|
|
1032
|
+
},
|
|
1033
|
+
hierCluster: {
|
|
1034
|
+
unit: getGEunit(app.vocabApi),
|
|
1035
|
+
yDendrogramHeight: 0,
|
|
1036
|
+
clusterSamples: false
|
|
1037
|
+
}
|
|
1038
|
+
};
|
|
1039
|
+
return Object.assign(defaults, overrides);
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
// plots/sc/subplots/DynamicSubplot.ts
|
|
1043
|
+
var DynamicSubplot = class _DynamicSubplot {
|
|
1044
|
+
constructor(opts) {
|
|
1045
|
+
this.dom = {};
|
|
1046
|
+
this.type = _DynamicSubplot.type;
|
|
1047
|
+
this.opts = opts;
|
|
1048
|
+
this.app = opts.app;
|
|
1049
|
+
this.parentId = opts?.parentId;
|
|
1050
|
+
}
|
|
1051
|
+
static {
|
|
1052
|
+
this.type = "dynamicSubplot";
|
|
1053
|
+
}
|
|
1054
|
+
async init() {
|
|
1055
|
+
this.opts.holder.app_div.attr("data-testid", "sjpp-sc-subplot-sandbox-" + this.opts.chartType);
|
|
1056
|
+
if (this.opts.chartType == "summary") return;
|
|
1057
|
+
this.dom = {
|
|
1058
|
+
holder: this.opts.holder,
|
|
1059
|
+
viz: this.opts.holder.body.append("div").style("position", "relative"),
|
|
1060
|
+
paneTitleDiv: this.opts.holder.header.append("div").style("position", "relative"),
|
|
1061
|
+
filterDiv: this.opts.holder.header.append("div").style("position", "relative"),
|
|
1062
|
+
errorDiv: this.opts.holder.body.append("div").style("position", "relative")
|
|
1063
|
+
};
|
|
1064
|
+
}
|
|
1065
|
+
getState(appState) {
|
|
1066
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1067
|
+
if (!config) {
|
|
1068
|
+
throw `No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`;
|
|
1069
|
+
}
|
|
1070
|
+
return {
|
|
1071
|
+
config
|
|
1072
|
+
};
|
|
1073
|
+
}
|
|
1074
|
+
async main() {
|
|
1075
|
+
if (!this.components) await this.setComponents();
|
|
1076
|
+
}
|
|
1077
|
+
async setComponents() {
|
|
1078
|
+
const _ = await importPlot(this.opts.chartType);
|
|
1079
|
+
const chartOpts = {
|
|
1080
|
+
app: this.app,
|
|
1081
|
+
id: this.id,
|
|
1082
|
+
parentId: this.parentId
|
|
1083
|
+
};
|
|
1084
|
+
if (this.opts.chartType == "summary") {
|
|
1085
|
+
chartOpts.holder = this.opts.holder;
|
|
1086
|
+
chartOpts.hidePlotFilter = this.opts.isMetaResult;
|
|
1087
|
+
} else {
|
|
1088
|
+
chartOpts.holder = this.dom.viz;
|
|
1089
|
+
chartOpts.header = this.dom.paneTitleDiv;
|
|
1090
|
+
}
|
|
1091
|
+
const promises = {
|
|
1092
|
+
chart: _.componentInit(chartOpts)
|
|
1093
|
+
};
|
|
1094
|
+
if (!this.state.config?.hidePlotFilter && this.opts.isMetaResult && this.opts.chartType != "summary") {
|
|
1095
|
+
promises.filter = filterRxCompInit({
|
|
1096
|
+
app: this.app,
|
|
1097
|
+
vocabApi: this.app.vocabApi,
|
|
1098
|
+
parentId: this.id,
|
|
1099
|
+
holder: this.dom.filterDiv,
|
|
1100
|
+
hideLabel: true,
|
|
1101
|
+
emptyLabel: "+Add new filter",
|
|
1102
|
+
callback: (filter) => {
|
|
1103
|
+
this.app.dispatch({
|
|
1104
|
+
id: this.id,
|
|
1105
|
+
type: "plot_edit",
|
|
1106
|
+
config: { filter }
|
|
1107
|
+
});
|
|
1108
|
+
}
|
|
1109
|
+
});
|
|
1110
|
+
}
|
|
1111
|
+
this.components = await multiInit(promises);
|
|
1112
|
+
}
|
|
1113
|
+
destroy() {
|
|
1114
|
+
const appDiv = this.dom?.holder?.app_div;
|
|
1115
|
+
if (appDiv) {
|
|
1116
|
+
appDiv.selectAll("*").remove();
|
|
1117
|
+
appDiv.remove();
|
|
1118
|
+
}
|
|
1119
|
+
for (const key in this.dom) {
|
|
1120
|
+
delete this.dom[key];
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
};
|
|
1124
|
+
var dynamicSubplotInit = getCompInit(DynamicSubplot);
|
|
1125
|
+
|
|
1126
|
+
// plots/sc/subplots/SubplotManager.ts
|
|
1127
|
+
var SubplotManager = class {
|
|
1128
|
+
constructor(sc) {
|
|
1129
|
+
this.sc = sc;
|
|
1130
|
+
this.scCompPlots = this.sc.components.plots;
|
|
1131
|
+
this.records = /* @__PURE__ */ new Map();
|
|
1132
|
+
}
|
|
1133
|
+
map(subplots) {
|
|
1134
|
+
const subplotIds = new Set(subplots.map((s) => s.id));
|
|
1135
|
+
for (const compPlotId of Object.keys(this.scCompPlots)) {
|
|
1136
|
+
if (!subplotIds.has(compPlotId)) {
|
|
1137
|
+
this.removeSubplot(compPlotId);
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
for (const recordId of Array.from(this.records.keys())) {
|
|
1141
|
+
if (!subplotIds.has(recordId)) this.records.delete(recordId);
|
|
1142
|
+
}
|
|
1143
|
+
for (const subplot of subplots) {
|
|
1144
|
+
this.updateSubplotRecord(subplot);
|
|
1145
|
+
}
|
|
1146
|
+
return this.getActiveSubplotsFlat();
|
|
1147
|
+
}
|
|
1148
|
+
updateSubplotRecord(subplot) {
|
|
1149
|
+
const existing = this.records.get(subplot.id);
|
|
1150
|
+
const sampleId = this.getSampleId(subplot);
|
|
1151
|
+
const isMeta = sampleId && this.sc.viewModel.metaResultIds.has(sampleId) || false;
|
|
1152
|
+
this.records.set(subplot.id, {
|
|
1153
|
+
plotId: subplot.id,
|
|
1154
|
+
sampleId,
|
|
1155
|
+
plotName: this.getPlotName(subplot),
|
|
1156
|
+
sectionKey: existing?.sectionKey,
|
|
1157
|
+
subplot,
|
|
1158
|
+
sandboxDiv: existing?.sandboxDiv,
|
|
1159
|
+
isMetaResult: isMeta
|
|
1160
|
+
});
|
|
1161
|
+
}
|
|
1162
|
+
removeSubplot(subplotId) {
|
|
1163
|
+
if (this.scCompPlots[subplotId]) this.scCompPlots[subplotId].destroy();
|
|
1164
|
+
delete this.scCompPlots[subplotId];
|
|
1165
|
+
this.records.delete(subplotId);
|
|
1166
|
+
}
|
|
1167
|
+
async initSubplotSandbox(sandboxHolder, subplot, initOpts = {}) {
|
|
1168
|
+
const sandbox = newSandboxDiv(sandboxHolder, {
|
|
1169
|
+
close: () => {
|
|
1170
|
+
this.removeSubplot(subplot.id);
|
|
1171
|
+
this.sc.app.dispatch({
|
|
1172
|
+
type: "plot_delete",
|
|
1173
|
+
id: subplot.id,
|
|
1174
|
+
parentId: this.sc.id
|
|
1175
|
+
});
|
|
1176
|
+
if (initOpts.onClose) initOpts.onClose();
|
|
1177
|
+
},
|
|
1178
|
+
plotId: subplot.id
|
|
1179
|
+
});
|
|
1180
|
+
const subplotOpts = Object.assign({}, subplot, {
|
|
1181
|
+
app: this.sc.app,
|
|
1182
|
+
parentId: this.sc.id,
|
|
1183
|
+
id: subplot.id,
|
|
1184
|
+
holder: sandbox,
|
|
1185
|
+
isMetaResult: this.records.get(subplot.id)?.isMetaResult || false
|
|
1186
|
+
});
|
|
1187
|
+
this.scCompPlots[subplot.id] = await dynamicSubplotInit(subplotOpts);
|
|
1188
|
+
this.setSandbox(subplot.id, sandbox.app_div);
|
|
1189
|
+
if (initOpts.sectionKey) this.setSectionKey(subplot.id, initOpts.sectionKey);
|
|
1190
|
+
return sandbox.app_div;
|
|
1191
|
+
}
|
|
1192
|
+
setSandbox(plotId, sandboxDiv) {
|
|
1193
|
+
const record = this.records.get(plotId);
|
|
1194
|
+
if (!record) return;
|
|
1195
|
+
record.sandboxDiv = sandboxDiv;
|
|
1196
|
+
this.records.set(plotId, record);
|
|
1197
|
+
}
|
|
1198
|
+
setSectionKey(plotId, sectionKey) {
|
|
1199
|
+
const record = this.records.get(plotId);
|
|
1200
|
+
if (!record) return;
|
|
1201
|
+
record.sectionKey = sectionKey;
|
|
1202
|
+
this.records.set(plotId, record);
|
|
1203
|
+
}
|
|
1204
|
+
getActiveSubplotsFlat() {
|
|
1205
|
+
return Array.from(this.records.values());
|
|
1206
|
+
}
|
|
1207
|
+
getSampleId(subplot) {
|
|
1208
|
+
return subplot.sample?.sID || subplot.singleCellPlot?.sample?.sID || subplot.term?.term?.sample?.sID;
|
|
1209
|
+
}
|
|
1210
|
+
getPlotName(subplot) {
|
|
1211
|
+
const nameOverrides = /* @__PURE__ */ new Map([
|
|
1212
|
+
["GeneExpInput", "Gene expression"],
|
|
1213
|
+
["imagePlot", subplot?.imgDir?.label || "Image"],
|
|
1214
|
+
["dictionary", "Summary"],
|
|
1215
|
+
["summary", "Summary"]
|
|
1216
|
+
]);
|
|
1217
|
+
let plotName = subplot?.plotName || nameOverrides.get(subplot?.chartType) || subplot?.singleCellPlot?.name;
|
|
1218
|
+
if (!plotName) {
|
|
1219
|
+
if (subplot?.term?.term?.plot) plotName = subplot.term.term.plot;
|
|
1220
|
+
else plotName = subplot.chartType || "Plot";
|
|
1221
|
+
}
|
|
1222
|
+
return plotName;
|
|
1223
|
+
}
|
|
1224
|
+
getSampleSandboxes(activeSubplots = this.getActiveSubplotsFlat()) {
|
|
1225
|
+
const sandboxes = /* @__PURE__ */ new Map();
|
|
1226
|
+
for (const active of activeSubplots) {
|
|
1227
|
+
if (!active.sampleId || !active.sandboxDiv) continue;
|
|
1228
|
+
if (!sandboxes.has(active.sampleId)) sandboxes.set(active.sampleId, []);
|
|
1229
|
+
sandboxes.get(active.sampleId).push({ plotId: active.plotId, div: active.sandboxDiv, plotName: active.plotName });
|
|
1230
|
+
}
|
|
1231
|
+
return sandboxes;
|
|
1232
|
+
}
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
// plots/sc/SC.ts
|
|
1236
|
+
var SCViewer = class _SCViewer extends PlotBase {
|
|
1237
|
+
static {
|
|
1238
|
+
this.type = "sc";
|
|
1239
|
+
}
|
|
1240
|
+
constructor(opts, api) {
|
|
1241
|
+
super(opts, api);
|
|
1242
|
+
this.type = _SCViewer.type;
|
|
1243
|
+
this.components = {
|
|
1244
|
+
plots: {}
|
|
1245
|
+
};
|
|
1246
|
+
const div = opts.holder.classed("sjpp-sc-main", true).append("div").style("padding", "5px").style("display", "inline-block").style("vertical-align", "top");
|
|
1247
|
+
this.dom = {
|
|
1248
|
+
div,
|
|
1249
|
+
loading: opts.holder.append("div").attr("class", "sjpp-sc-main-loading").attr("data-testid", "sjpp-sc-main-loading").style("position", "absolute").style("top", "0").style("left", "0").style("width", "100%").style("height", "100%").style("background-color", "rgba(255, 255, 255, 0.95)").style("text-align", "center"),
|
|
1250
|
+
controlsDiv: div.append("div").attr("id", "sjpp-sc-controls-btn"),
|
|
1251
|
+
tableDiv: div.append("div").attr("id", "sjpp-sc-item-table"),
|
|
1252
|
+
plotsBtnsDiv: div.append("div").attr("id", "sjpp-sc-plot-buttons").style("display", "none"),
|
|
1253
|
+
sectionsDiv: div.append("div").attr("id", "sjpp-sc-sections")
|
|
1254
|
+
};
|
|
1255
|
+
if (opts.header) formatHeaderText({
|
|
1256
|
+
header: opts.header,
|
|
1257
|
+
chartType: "SINGLE CELL"
|
|
1258
|
+
});
|
|
1259
|
+
}
|
|
1260
|
+
getState(appState) {
|
|
1261
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1262
|
+
if (!config) {
|
|
1263
|
+
throw new Error(
|
|
1264
|
+
`No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`
|
|
1265
|
+
);
|
|
1266
|
+
}
|
|
1267
|
+
const termfilter = getCombinedTermFilter(appState, config.filter);
|
|
1268
|
+
return {
|
|
1269
|
+
config,
|
|
1270
|
+
subplots: appState.plots.filter((p) => p.parentId === this.id),
|
|
1271
|
+
termfilter,
|
|
1272
|
+
termdbConfig: appState.termdbConfig,
|
|
1273
|
+
vocab: appState.vocab
|
|
1274
|
+
};
|
|
1275
|
+
}
|
|
1276
|
+
async init(appState) {
|
|
1277
|
+
const state = this.getState(appState);
|
|
1278
|
+
const dsScSamples = state.termdbConfig.queries?.singleCell?.samples;
|
|
1279
|
+
this.model = new SCModel(this);
|
|
1280
|
+
try {
|
|
1281
|
+
this.itemColumns = await this.model.getColumnLabels(dsScSamples);
|
|
1282
|
+
} catch (e) {
|
|
1283
|
+
if (e instanceof Error) console.error(`${e.message || e} [SC init()]`);
|
|
1284
|
+
else if (e.stack) console.log(e.stack);
|
|
1285
|
+
throw new Error(e.message || e);
|
|
1286
|
+
}
|
|
1287
|
+
this.viewModel = new SCViewModel(this.app, this.itemColumns);
|
|
1288
|
+
this.interactions = new SCInteractions(this);
|
|
1289
|
+
this.subplotManager = new SubplotManager(this);
|
|
1290
|
+
this.view = new SCViewRenderer(this);
|
|
1291
|
+
this.view.render(state.config.settings.sc, state);
|
|
1292
|
+
}
|
|
1293
|
+
async main() {
|
|
1294
|
+
if (!this.model) throw new Error(`Model not initialized`);
|
|
1295
|
+
if (!this.viewModel) throw new Error(`ViewModel not initialized`);
|
|
1296
|
+
if (!this.view) throw new Error(`View not initialized`);
|
|
1297
|
+
if (!this.interactions) throw new Error(`Interactions not initialized`);
|
|
1298
|
+
const state = structuredClone(this.state);
|
|
1299
|
+
const config = state.config;
|
|
1300
|
+
super.toggleLoadingDiv();
|
|
1301
|
+
let data;
|
|
1302
|
+
try {
|
|
1303
|
+
const allSampleData = await this.model.getAllSampleData(state);
|
|
1304
|
+
if (!allSampleData || allSampleData.error) {
|
|
1305
|
+
super.toggleLoadingDiv("none");
|
|
1306
|
+
super.printError(allSampleData?.error || "No samples found for this dataset");
|
|
1307
|
+
return;
|
|
1308
|
+
}
|
|
1309
|
+
this.items = allSampleData.samples;
|
|
1310
|
+
this.viewModel.processData(config, allSampleData.samples);
|
|
1311
|
+
if (config.settings?.sc?.item) {
|
|
1312
|
+
const sampleData = await this.model.getSampleData();
|
|
1313
|
+
if (!sampleData || sampleData.error) {
|
|
1314
|
+
super.toggleLoadingDiv("none");
|
|
1315
|
+
super.printError(sampleData?.error || "No data found for this sample");
|
|
1316
|
+
return;
|
|
1317
|
+
}
|
|
1318
|
+
const hasSpatial = await this.model.hasSpatialImage(config.settings.sc.item.sID);
|
|
1319
|
+
data = this.viewModel.formatPlotsData(sampleData, hasSpatial);
|
|
1320
|
+
}
|
|
1321
|
+
} catch (e) {
|
|
1322
|
+
if (e instanceof Error) console.error(`${e.message || e} [SC main()]`);
|
|
1323
|
+
else if (e.stack) console.log(e.stack);
|
|
1324
|
+
super.toggleLoadingDiv("none");
|
|
1325
|
+
super.printError(e.message || e);
|
|
1326
|
+
return;
|
|
1327
|
+
}
|
|
1328
|
+
const activeSubplots = this.subplotManager.map(state.subplots);
|
|
1329
|
+
await this.view.update(config.settings, data, activeSubplots, this.viewModel.tableData, this.subplotManager);
|
|
1330
|
+
super.toggleLoadingDiv("none");
|
|
1331
|
+
}
|
|
1332
|
+
};
|
|
1333
|
+
var SCInit = getCompInit(SCViewer);
|
|
1334
|
+
var componentInit = SCInit;
|
|
1335
|
+
function getPlotConfig(opts, app) {
|
|
1336
|
+
const config = {
|
|
1337
|
+
chartType: "sc",
|
|
1338
|
+
settings: getDefaultSCAppSettings(opts.overrides, app)
|
|
1339
|
+
};
|
|
1340
|
+
return copyMerge(config, opts);
|
|
1341
|
+
}
|
|
1342
|
+
export {
|
|
1343
|
+
SCInit,
|
|
1344
|
+
SCViewer,
|
|
1345
|
+
componentInit,
|
|
1346
|
+
getPlotConfig
|
|
1347
|
+
};
|
|
1348
|
+
//# sourceMappingURL=SC-KPIQR5JQ.js.map
|