@sjcrh/proteinpaint-client 2.211.0 → 2.212.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-R23YQDZC.js +1367 -0
- package/dist/AggMatrixInput-4DIGZZN4.js +406 -0
- package/dist/AggregateMatrix-TF6XXFUN.js +41 -0
- package/dist/AppHeader-JB5HPAOQ.js +830 -0
- package/dist/BoxPlot-47TUXQDP.js +1208 -0
- package/dist/CorrelationVolcano-G7K5JEPM.js +617 -0
- package/dist/Cuminc-LBXPOENU.js +1220 -0
- package/dist/Cuminc-LBXPOENU.js.map +7 -0
- package/dist/DE-JSWA6HXV.js +89 -0
- package/dist/DEinput-LEYRVYK6.js +501 -0
- package/dist/DM-332QECUP.js +90 -0
- package/dist/DifferentialAnalysis-JGH2OMTH.js +239 -0
- package/dist/Disco-36PJXFM6.js +3389 -0
- package/dist/Disco.UI-PY2KOGKY.js +243 -0
- package/dist/DmrPlot-5WMOBZOJ.js +362 -0
- package/dist/GB-6WWLTBIW.js +1392 -0
- package/dist/GSEA-GYUVO2XA.js +875 -0
- package/dist/GeneExpInput-UABEICGS.js +42 -0
- package/dist/Geomap-QB6FNV5R.js +84 -0
- package/dist/HicApp-TQKQKJTN.js +2245 -0
- package/dist/IDCViewer-L27ICGR5.js +10812 -0
- package/dist/NumBinaryEditor-FHSSXZV4.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-AMR32JHJ.js +312 -0
- package/dist/NumContEditor-R5JB5XPB.js +105 -0
- package/dist/NumContEditor.unit.spec-3PQRIC4G.js +164 -0
- package/dist/NumCustomBinEditor-B3PKD54F.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-YZKCYZQM.js +397 -0
- package/dist/NumDiscreteEditor-7AO35XU7.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-SNDHS6VK.js +233 -0
- package/dist/NumRegularBinEditor-OREKM2DX.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-SIGD7PLE.js +278 -0
- package/dist/NumSplineEditor-RDFDVNJG.js +210 -0
- package/dist/NumSplineEditor.unit.spec-TXRQVLUE.js +224 -0
- package/dist/NumericDensity-QPDF6UU5.js +33 -0
- package/dist/NumericDensity.unit.spec-JYUYDHDG.js +418 -0
- package/dist/NumericHandler-JW6DLSMJ.js +34 -0
- package/dist/NumericHandler.unit.spec-Q2ZNM5NH.js +214 -0
- package/dist/ProteomeInput-OS5JWC2O.js +388 -0
- package/dist/Regression-53XPZCCQ.js +1416 -0
- package/dist/RunChart2-WEO42KPP.js +749 -0
- package/dist/SC-VAWRWOUI.js +1348 -0
- package/dist/SC-VAWRWOUI.js.map +7 -0
- package/dist/Violin-7VOFUOLE.js +1064 -0
- package/dist/Volcano-DI2RLILX.js +2456 -0
- package/dist/Wsi-6DNY4RUG.js +629 -0
- package/dist/adSandbox-B7GQZDYQ.js +33 -0
- package/dist/animatedBubbleChart-QGO3OY5E.js +547 -0
- package/dist/app-XBLP7YZQ.js +32 -0
- package/dist/app-ZARZ2HWS.js +42 -0
- package/dist/app.js +12 -12
- package/dist/bam-FGNF7RYM.js +876 -0
- package/dist/barchart-6YLJJSRO.js +42 -0
- package/dist/barchart2-7TTZPYWA.js +309 -0
- package/dist/block-7WZWBQVA.js +6250 -0
- package/dist/block.init-YN4KHHJ2.js +33 -0
- package/dist/block.mds.expressionrank-6PKN3KIE.js +354 -0
- package/dist/block.mds.geneboxplot-M6TXRPKO.js +823 -0
- package/dist/block.mds.junction-WKRLLJBT.js +1539 -0
- package/dist/block.mds.svcnv-I3DNNGYV.js +6796 -0
- package/dist/block.svg-D72WTLKP.js +159 -0
- package/dist/block.tk.aicheck-QT5WYKTQ.js +278 -0
- package/dist/block.tk.ase-3WGJONXX.js +360 -0
- package/dist/block.tk.bam-Q5X7D5IR.js +1901 -0
- package/dist/block.tk.bedgraphdot-VWE2D2HR.js +379 -0
- package/dist/block.tk.bigwig.ui-Q22KXFQT.js +206 -0
- package/dist/block.tk.hicstraw-3BMDZCQH.js +818 -0
- package/dist/block.tk.junction-BMKRAVUI.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-ERLXPLGI.js +194 -0
- package/dist/block.tk.ld-KT5KQUXC.js +94 -0
- package/dist/block.tk.menu-RO7IJGFY.js +1024 -0
- package/dist/block.tk.pgv-PZ4AVD3V.js +938 -0
- package/dist/brainImaging-ZU3JSXFP.js +555 -0
- package/dist/brainRegions-DJELNKKN.js +217 -0
- package/dist/bubbleHeatmap-CPJ5KI6E.js +378 -0
- package/dist/cellTypeBubbleHeatmap-6NGBETXV.js +278 -0
- package/dist/chunk-232OR2PG.js +263 -0
- package/dist/chunk-26Y2MYFN.js +129 -0
- package/dist/chunk-33FULV5M.js +302 -0
- package/dist/chunk-3AXQF6GL.js +103 -0
- package/dist/chunk-3JHCCJ4I.js +54 -0
- package/dist/chunk-4S7TWVOY.js +397 -0
- package/dist/chunk-4ZVOO3NI.js +217 -0
- package/dist/chunk-5U7AYOEZ.js +1988 -0
- package/dist/chunk-5WIA4KFA.js +178 -0
- package/dist/chunk-5WMFEMII.js +550 -0
- package/dist/chunk-6OCWNYW3.js +49 -0
- package/dist/chunk-6UAY2HAB.js +5217 -0
- package/dist/chunk-6UAY2HAB.js.map +7 -0
- package/dist/chunk-753GDKSC.js +562 -0
- package/dist/chunk-7AOA5WZY.js +274 -0
- package/dist/chunk-A4D2Z2LV.js +141 -0
- package/dist/chunk-AUJHCGU2.js +14 -0
- package/dist/chunk-CWLHJ7AC.js +80 -0
- package/dist/chunk-DU52GAOJ.js +783 -0
- package/dist/chunk-DVWCDEN3.js +480 -0
- package/dist/chunk-E24IUWHH.js +294 -0
- package/dist/chunk-G4A3ZDDS.js +446 -0
- package/dist/chunk-HH5JKOE6.js +339 -0
- package/dist/chunk-HL5B4NME.js +379 -0
- package/dist/chunk-HYOCZPKO.js +281 -0
- package/dist/chunk-I6P4LZP3.js +194 -0
- package/dist/chunk-IBZVZZ5J.js +176 -0
- package/dist/chunk-JZQEDIGZ.js +518 -0
- package/dist/chunk-LK7XDEFW.js +1339 -0
- package/dist/chunk-MXJKO73I.js +272 -0
- package/dist/chunk-N6NL4XG2.js +2676 -0
- package/dist/chunk-NC4RKYVE.js +158 -0
- package/dist/chunk-NK235VQ6.js +4375 -0
- package/dist/chunk-NK235VQ6.js.map +7 -0
- package/dist/chunk-O3QKYUDH.js +1812 -0
- package/dist/chunk-O3QKYUDH.js.map +7 -0
- package/dist/chunk-OSYSJHAA.js +170 -0
- package/dist/chunk-PBWB5ZG2.js +240 -0
- package/dist/chunk-PCJF5MGF.js +203 -0
- package/dist/chunk-PF5UMQEJ.js +692 -0
- package/dist/chunk-PGRTCNOV.js +217 -0
- package/dist/chunk-Q6I2OH4P.js +182 -0
- package/dist/chunk-QOF27J24.js +6360 -0
- package/dist/chunk-QWCKIRW2.js +237 -0
- package/dist/chunk-R3LWGFGS.js +54 -0
- package/dist/chunk-REWUPST7.js +1233 -0
- package/dist/chunk-RMUK3TLD.js +2149 -0
- package/dist/chunk-RU2UHH7M.js +424 -0
- package/dist/chunk-RU2UHH7M.js.map +7 -0
- package/dist/chunk-RXQRCRHC.js +134 -0
- package/dist/chunk-SAMS5XBH.js +2902 -0
- package/dist/chunk-SXYZ274A.js +2327 -0
- package/dist/chunk-TAZQU2LC.js +339 -0
- package/dist/chunk-TFS2JZTH.js +34 -0
- package/dist/chunk-UFQDWGZU.js +102 -0
- package/dist/chunk-UJRURRJ2.js +55 -0
- package/dist/chunk-UWRWFS3K.js +1278 -0
- package/dist/chunk-UYSYZM45.js +468 -0
- package/dist/chunk-VHDYIOWU.js +25009 -0
- package/dist/chunk-VHDYIOWU.js.map +7 -0
- package/dist/chunk-VPOAFNVL.js +70 -0
- package/dist/chunk-WB57TMJN.js +56 -0
- package/dist/chunk-WILJJPWV.js +255 -0
- package/dist/chunk-X2HEDRFQ.js +102 -0
- package/dist/chunk-X3UNVPC5.js +626 -0
- package/dist/chunk-XL4N3H32.js +276 -0
- package/dist/chunk-XNKLJMGF.js +123 -0
- package/dist/chunk-XZCRYWVL.js +243 -0
- package/dist/chunk-Y4MV62JA.js +56 -0
- package/dist/chunk-YKI4GLMT.js +98 -0
- package/dist/chunk-ZKINKYOJ.js +2784 -0
- package/dist/chunk-ZMSTQP6O.js +299 -0
- package/dist/cohort-CWGZR37O.js +70 -0
- package/dist/condition-B6XBQML4.js +327 -0
- package/dist/controls-QPW5HUAY.js +34 -0
- package/dist/controls.config-IUYTWRHA.js +34 -0
- package/dist/correlation-M2NKGTK2.js +95 -0
- package/dist/customdata.inputui-RKYIMOWO.js +284 -0
- package/dist/dataDownload-LPBLB7QD.js +329 -0
- package/dist/databrowser.ui-VTWHELDY.js +425 -0
- package/dist/dictionary-NINKMF3F.js +113 -0
- package/dist/dnaMethylation-LSVNG7FK.js +33 -0
- package/dist/dnaMethylation.integration.spec-6IT3Y3FS.js +198 -0
- package/dist/dofetch-HLMSTOMY.js +48 -0
- package/dist/e2pca-6PKLCC7L.js +344 -0
- package/dist/ep-3RFB6K3B.js +1249 -0
- package/dist/expclust.gdc.spec-MEWKHFMD.js +302 -0
- package/dist/facet-A4JH7FCW.js +519 -0
- package/dist/gb-PTF7CLDG.js +81 -0
- package/dist/geneExpClustering-VKUIAYCK.js +244 -0
- package/dist/geneExpression-3GQFWVJL.js +310 -0
- package/dist/geneExpression-VC7QPM3T.js +33 -0
- package/dist/geneExpression.unit.spec-PQS7BOMF.js +128 -0
- package/dist/geneORA-FCMFWZTN.js +273 -0
- package/dist/geneRanking-RTPPGBD4.js +548 -0
- package/dist/geneVariant-2TQ2JD4K.js +36 -0
- package/dist/geneVariant-4S6FLJTN.js +289 -0
- package/dist/geneVariant.integration.spec-YTFFHWQP.js +503 -0
- package/dist/genefusion.ui-P7YH32A6.js +303 -0
- package/dist/geneset-4J43JA3C.js +203 -0
- package/dist/genomeBrowser.spec-T2VFNUAV.js +276 -0
- package/dist/grin2-5TH4EBVQ.js +949 -0
- package/dist/grin2-KXMSYYYM.js +70 -0
- package/dist/hierCluster-2HFMEHAD.js +59 -0
- package/dist/hierCluster-5RQV7B5I.js +55 -0
- package/dist/hierCluster.config-PNBGJE6F.js +36 -0
- package/dist/hierCluster.integration.spec-TZLVKUC5.js +483 -0
- package/dist/hierCluster.interactivity-OQD3IQ4X.js +49 -0
- package/dist/hierCluster.renderers-DUDSHKDT.js +19 -0
- package/dist/imagePlot-6YH7S2PV.js +156 -0
- package/dist/importPlot-Z2UKA456.js +8 -0
- package/dist/isoformExpression-SRJMGXHD.js +35 -0
- package/dist/isoformExpression.unit.spec-PBVKSWCS.js +237 -0
- package/dist/junction-D4UP2AGY.js +36 -0
- package/dist/junction.unit.spec-M5CEGNUE.js +182 -0
- package/dist/launch.adhoc-SWJOT47S.js +37 -0
- package/dist/leftlabel.sample-4ZAM2JSS.js +258 -0
- package/dist/lollipop-GMGJPMJN.js +166 -0
- package/dist/maf-2TFOOAIF.js +455 -0
- package/dist/maftimeline-DRBM4ZYD.js +587 -0
- package/dist/matrix-22R4BC3F.js +54 -0
- package/dist/matrix-W4IRSBO5.js +59 -0
- package/dist/matrix.cells-QKWO5EP4.js +26 -0
- package/dist/matrix.config-ZZ7NFCIT.js +37 -0
- package/dist/matrix.data-3W6P6NBU.js +23 -0
- package/dist/matrix.groups-XW2G5BJH.js +26 -0
- package/dist/matrix.integration.spec-X4UPLQRI.js +3160 -0
- package/dist/matrix.interactivity-NGS3LJPV.js +37 -0
- package/dist/matrix.layout-SAGZVQPG.js +39 -0
- package/dist/matrix.legend-C3MQRAZJ.js +20 -0
- package/dist/matrix.renderers-IG7Q2F6Y.js +34 -0
- package/dist/matrix.serieses-SNMIQFKB.js +19 -0
- package/dist/matrix.sort-WHVUSUJZ.js +26 -0
- package/dist/matrix.sort.unit.spec-DCWR5PZJ.js +468 -0
- package/dist/matrix.sorterUi.unit.spec-EBLSCLDL.js +338 -0
- package/dist/matrix.unit.spec-I6JGZHQZ.js +150 -0
- package/dist/mavb-MLVNZJSF.js +727 -0
- package/dist/mds.fimo-MOGZPFCK.js +513 -0
- package/dist/mds.samplescatterplot-YLGNYKTH.js +1545 -0
- package/dist/mds.survivalplot-R273N2GB.js +477 -0
- package/dist/multivalue-5GFBYENI.js +83 -0
- package/dist/numericDictTermCluster-MJK6SIWE.js +63 -0
- package/dist/oncomatrix-OAQT2CUN.js +290 -0
- package/dist/oncomatrix.spec-6C62LLJI.js +443 -0
- package/dist/plot.2dvaf-WDXWSC7L.js +372 -0
- package/dist/plot.app-YTHD3ZJQ.js +36 -0
- package/dist/plot.barplot-SRZM3GU3.js +97 -0
- package/dist/plot.boxplot-VWOMZPZE.js +146 -0
- package/dist/plot.brainImaging-6XL7YF5G.js +51 -0
- package/dist/plot.disco-VRKSTV5Z.js +99 -0
- package/dist/plot.ssgq-AXASDOZZ.js +134 -0
- package/dist/plot.vaf2cov-IF4DEEM5.js +253 -0
- package/dist/polar2-QQ3KHFME.js +232 -0
- package/dist/profileForms-2US7IYYM.js +941 -0
- package/dist/profilePlot-DZQCBKPA.js +49 -0
- package/dist/proteinView-TTLVQ43H.js +1357 -0
- package/dist/proteomeCohortCompare-BUZYOOIA.js +912 -0
- package/dist/pseudbulk.unit.spec-YNXQWDSU.js +86 -0
- package/dist/pseudobulk-VSXK2PTM.js +35 -0
- package/dist/qualitative-AKIZRNFO.js +38 -0
- package/dist/radar2-7GXYLICJ.js +327 -0
- package/dist/radarFacility2-WFKOWGH2.js +335 -0
- package/dist/render-F3CBMRD5.js +33 -0
- package/dist/report-6LHMHUDY.js +217 -0
- package/dist/sampleView-GWKPMVJH.js +43 -0
- package/dist/samplelst-TH6IBDVG.js +106 -0
- package/dist/samplematrix-RPCWT33H.js +2193 -0
- package/dist/sc-BFBHBAXF.js +81 -0
- package/dist/scatter-3IC6HOT7.js +925 -0
- package/dist/scatter-L6R6J2LC.js +88 -0
- package/dist/selectGenomeWithTklst-3ZK7FIOP.js +129 -0
- package/dist/singleCellCellType-CLJFCBV6.js +33 -0
- package/dist/singleCellCellType.unit.spec-W32PSTRO.js +154 -0
- package/dist/singleCellGeneExpression-L6MG37XE.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-SF46JHCU.js +148 -0
- package/dist/singleCellNumericValue-7QXK6KVZ.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-VC7NQYM2.js +416 -0
- package/dist/singleCellPlot-5TRNRKPN.js +48 -0
- package/dist/singlecell-2YV3UAIQ.js +1566 -0
- package/dist/singlecell-I4PHM2LZ.js +81 -0
- package/dist/snp-ZIA4YWCZ.js +33 -0
- package/dist/snp.unit.spec-MVQHY4WJ.js +171 -0
- package/dist/snplocus-GM6IEDPR.js +203 -0
- package/dist/spliceevent.a53ss.diagram-ZFQDHHPY.js +146 -0
- package/dist/spliceevent.exonskip.diagram-ZK6JOUMU.js +278 -0
- package/dist/spliceevent.noeventdiagram-YKTF2VZE.js +455 -0
- package/dist/ssGSEA-FDN4CH2Y.js +33 -0
- package/dist/ssGSEA.unit.spec-YEUJBT6Z.js +83 -0
- package/dist/stattable-WIZRSKPH.js +117 -0
- package/dist/studyCatalog-X2IGVJ26.js +414 -0
- package/dist/summarizeCnvGeneexp-H7A5SI3R.js +158 -0
- package/dist/summarizeGeneexpSurvival-GJF6VD2S.js +105 -0
- package/dist/summarizeMutationCnv-WQLMD2TR.js +159 -0
- package/dist/summarizeMutationDiagnosis-3S52IDWF.js +35 -0
- package/dist/summarizeMutationSurvival-NTQIUNW7.js +99 -0
- package/dist/summary-LMRFRKKI.js +44 -0
- package/dist/summary.integration.spec-KQMZKSEQ.js +409 -0
- package/dist/summaryInput-NNHZVHQA.js +242 -0
- package/dist/sunburst-ICUSGIWV.js +278 -0
- package/dist/survival-K44Q2HAC.js +1249 -0
- package/dist/survival-K44Q2HAC.js.map +7 -0
- package/dist/survival-K5YBNNVE.js +53 -0
- package/dist/survival.integration.spec-4LRJW2V2.js +613 -0
- package/dist/svgraph-U7MS7YEM.js +1382 -0
- package/dist/svmr-2JGDBPAI.js +3837 -0
- package/dist/table-CBWOHYW6.js +197 -0
- package/dist/termCollection-JFGGXVFI.js +252 -0
- package/dist/termCollection-VE3FFL6V.js +33 -0
- package/dist/termCollection.unit.spec-XQQTDV4A.js +299 -0
- package/dist/termCollectionFractionSelection-TFGF27GR.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-MKGG4JBC.js +188 -0
- package/dist/tk-74SGUUZY.js +41 -0
- package/dist/tk-K4JFYIZY.js +1121 -0
- package/dist/tp.ui-727EXXMT.js +1454 -0
- package/dist/tvs.dt-YB2C3T33.js +34 -0
- package/dist/tvs.dtcnv.categorical-NOWMZOE5.js +35 -0
- package/dist/tvs.dtcnv.continuous-3KWUNU76.js +67 -0
- package/dist/tvs.dtfusion-NOJSTABU.js +35 -0
- package/dist/tvs.dtitd-OD5B377P.js +35 -0
- package/dist/tvs.dtsnvindel-WIQMZTRH.js +35 -0
- package/dist/tvs.dtsv-HPERDN3R.js +35 -0
- package/dist/tvs.samplelst-TC2Z7Z35.js +98 -0
- package/dist/tvs.termCollection-F64BHWAL.js +122 -0
- package/dist/vocabulary-ZOYF2VHS.js +36 -0
- package/dist/wsi.direct-Z5YUZEXG.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-FEZRNHDF.js +0 -1367
- package/dist/AggMatrixInput-6FJIELYO.js +0 -406
- package/dist/AggregateMatrix-MUPBUGIZ.js +0 -41
- package/dist/AppHeader-ZTNZ62UL.js +0 -830
- package/dist/BoxPlot-P5SVFYSB.js +0 -1208
- package/dist/CorrelationVolcano-42NYXAXG.js +0 -617
- package/dist/Cuminc-6AKLT6HF.js +0 -1219
- package/dist/Cuminc-6AKLT6HF.js.map +0 -7
- package/dist/DE-KJHFZWND.js +0 -89
- package/dist/DEinput-HXB3LYZW.js +0 -501
- package/dist/DM-AAHX4PLH.js +0 -90
- package/dist/DifferentialAnalysis-JX4EDEOY.js +0 -239
- package/dist/Disco-GXKO4QQH.js +0 -3389
- package/dist/Disco.UI-DGD4RXJP.js +0 -243
- package/dist/DmrPlot-DQ3XTMTN.js +0 -362
- package/dist/GB-OUWNNBBK.js +0 -1392
- package/dist/GSEA-DSKGFAPG.js +0 -875
- package/dist/GeneExpInput-FZLOBE2Q.js +0 -42
- package/dist/Geomap-GP5KD3OX.js +0 -84
- package/dist/HicApp-2N6WYWZX.js +0 -2245
- package/dist/IDCViewer-MSUC7IXX.js +0 -10812
- package/dist/NumBinaryEditor-C4G2IH36.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-ZAVAUGXA.js +0 -312
- package/dist/NumContEditor-VEEMMWHX.js +0 -105
- package/dist/NumContEditor.unit.spec-65ORC42O.js +0 -164
- package/dist/NumCustomBinEditor-YIUHJAXP.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-NT5VK2LO.js +0 -397
- package/dist/NumDiscreteEditor-A4WELAJH.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-7QABM6KK.js +0 -233
- package/dist/NumRegularBinEditor-IPVPLSQY.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-Q4DMWATB.js +0 -278
- package/dist/NumSplineEditor-5E6CIWLP.js +0 -210
- package/dist/NumSplineEditor.unit.spec-DHJF5F6H.js +0 -224
- package/dist/NumericDensity-GXMWWK2A.js +0 -33
- package/dist/NumericDensity.unit.spec-OAPOMSEW.js +0 -418
- package/dist/NumericHandler-H5WHGFXD.js +0 -34
- package/dist/NumericHandler.unit.spec-PBNOJEMS.js +0 -214
- package/dist/ProteomeInput-ZA7R5S43.js +0 -388
- package/dist/Regression-WSWTSXFX.js +0 -1416
- package/dist/RunChart2-J5CTJI5C.js +0 -749
- package/dist/SC-POCQDMWZ.js +0 -1181
- package/dist/SC-POCQDMWZ.js.map +0 -7
- package/dist/Violin-VA6FBRUQ.js +0 -1064
- package/dist/Volcano-4IEQIEDS.js +0 -2456
- package/dist/Wsi-LJ6AY5RI.js +0 -629
- package/dist/adSandbox-EIN4KEML.js +0 -33
- package/dist/animatedBubbleChart-LINYUKMD.js +0 -547
- package/dist/app-SE7UQ5DB.js +0 -42
- package/dist/app-VGMZNGWP.js +0 -32
- package/dist/bam-ZXEZWRSZ.js +0 -876
- package/dist/barchart-N4B4C2FO.js +0 -42
- package/dist/barchart2-EDVEWTVX.js +0 -309
- package/dist/block-E7YUGCHL.js +0 -6250
- package/dist/block.init-FSOCF2IM.js +0 -33
- package/dist/block.mds.expressionrank-EDBTITXU.js +0 -354
- package/dist/block.mds.geneboxplot-GG5672SY.js +0 -823
- package/dist/block.mds.junction-HUC4S24K.js +0 -1539
- package/dist/block.mds.svcnv-EQHYCIBU.js +0 -6796
- package/dist/block.svg-HBVPUQJ2.js +0 -159
- package/dist/block.tk.aicheck-TRJ5IIWZ.js +0 -278
- package/dist/block.tk.ase-COV7YYYO.js +0 -360
- package/dist/block.tk.bam-MDSLY6NH.js +0 -1901
- package/dist/block.tk.bedgraphdot-MKWEL53X.js +0 -379
- package/dist/block.tk.bigwig.ui-UKKJX7TA.js +0 -206
- package/dist/block.tk.hicstraw-6LNXEIOF.js +0 -818
- package/dist/block.tk.junction-F3SERFFD.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-2XUMSKLS.js +0 -194
- package/dist/block.tk.ld-COP5RUJJ.js +0 -94
- package/dist/block.tk.menu-SRDPD44N.js +0 -1024
- package/dist/block.tk.pgv-3SVINTXN.js +0 -938
- package/dist/brainImaging-UNBA4KA3.js +0 -555
- package/dist/brainRegions-DC6TQB53.js +0 -217
- package/dist/bubbleHeatmap-X3W3AZJY.js +0 -378
- package/dist/cellTypeBubbleHeatmap-LFI6TGOO.js +0 -278
- package/dist/chunk-2ANFUNS3.js +0 -102
- package/dist/chunk-2G4SFRWC.js +0 -1278
- package/dist/chunk-3CGMCYZB.js +0 -237
- package/dist/chunk-3I4DBVLM.js +0 -55
- package/dist/chunk-42VFF74T.js +0 -397
- package/dist/chunk-4HTRCXLS.js +0 -98
- package/dist/chunk-55T2AMJ3.js +0 -281
- package/dist/chunk-5JDG5NNA.js +0 -203
- package/dist/chunk-6AFMWQXZ.js +0 -339
- package/dist/chunk-6ECKCC4X.js +0 -294
- package/dist/chunk-6QMC7LFA.js +0 -299
- package/dist/chunk-72L6NTNT.js +0 -14
- package/dist/chunk-7ISAV37C.js +0 -194
- package/dist/chunk-7MFY22IZ.js +0 -2902
- package/dist/chunk-A32XQLMP.js +0 -49
- package/dist/chunk-A3MYBXG3.js +0 -274
- package/dist/chunk-AU3Y6IQF.js +0 -1339
- package/dist/chunk-AXL3CC4U.js +0 -468
- package/dist/chunk-CME6DYDH.js +0 -424
- package/dist/chunk-CME6DYDH.js.map +0 -7
- package/dist/chunk-DKED35KW.js +0 -2327
- package/dist/chunk-DPGALT5N.js +0 -255
- package/dist/chunk-DPTGY4BW.js +0 -129
- package/dist/chunk-DQD4MTK4.js +0 -379
- package/dist/chunk-EFLRT7JY.js +0 -243
- package/dist/chunk-EMSO3BNW.js +0 -34
- package/dist/chunk-F2LWFF7V.js +0 -158
- package/dist/chunk-F5QB5YEE.js +0 -276
- package/dist/chunk-FKSR53VK.js +0 -182
- package/dist/chunk-FSWBNSQD.js +0 -178
- package/dist/chunk-GP4VLNMZ.js +0 -2149
- package/dist/chunk-HTZJQNHP.js +0 -562
- package/dist/chunk-ITYNHDDD.js +0 -56
- package/dist/chunk-IWVCFZHQ.js +0 -170
- package/dist/chunk-J4WRX5G6.js +0 -263
- package/dist/chunk-JZLIHI6A.js +0 -339
- package/dist/chunk-K7HFOAR7.js +0 -25008
- package/dist/chunk-K7HFOAR7.js.map +0 -7
- package/dist/chunk-KJGYGPJZ.js +0 -103
- package/dist/chunk-L3UFI52T.js +0 -217
- package/dist/chunk-L4ZPMF7E.js +0 -692
- package/dist/chunk-L62JI5UL.js +0 -302
- package/dist/chunk-MRPYHLFW.js +0 -518
- package/dist/chunk-MVWJHZ5G.js +0 -783
- package/dist/chunk-NGWU4QLU.js +0 -134
- package/dist/chunk-OC2FSBFB.js +0 -176
- package/dist/chunk-OYBYKZUR.js +0 -6360
- package/dist/chunk-PLHOCPJD.js +0 -272
- package/dist/chunk-PQDZLOY7.js +0 -102
- package/dist/chunk-QDNUIS2Y.js +0 -70
- package/dist/chunk-RHOMR2GY.js +0 -2676
- package/dist/chunk-SLPZ6SBN.js +0 -626
- package/dist/chunk-SPFK5XZH.js +0 -446
- package/dist/chunk-SQGAWR2L.js +0 -141
- package/dist/chunk-UKOOGNUF.js +0 -1233
- package/dist/chunk-UL5PEVZW.js +0 -123
- package/dist/chunk-UTMIX2H2.js +0 -2784
- package/dist/chunk-UZNFOCE7.js +0 -56
- package/dist/chunk-V7UVHM57.js +0 -550
- package/dist/chunk-VP2JWT5W.js +0 -1988
- package/dist/chunk-VSTHBKQW.js +0 -480
- package/dist/chunk-X7TJBXJJ.js +0 -54
- package/dist/chunk-XEEMCYP6.js +0 -4375
- package/dist/chunk-XEEMCYP6.js.map +0 -7
- package/dist/chunk-XTQWAVWJ.js +0 -54
- package/dist/chunk-YAN2MOON.js +0 -5071
- package/dist/chunk-YAN2MOON.js.map +0 -7
- package/dist/chunk-YCBENC6R.js +0 -1769
- package/dist/chunk-YCBENC6R.js.map +0 -7
- package/dist/chunk-YCORHJ64.js +0 -240
- package/dist/chunk-YOBTHZVU.js +0 -80
- package/dist/chunk-ZTT6ZHU5.js +0 -217
- package/dist/cohort-RF4FT2NT.js +0 -70
- package/dist/condition-WXE2CFYT.js +0 -327
- package/dist/controls-AYF4H7UG.js +0 -34
- package/dist/controls.config-TXZKQNYC.js +0 -34
- package/dist/correlation-UAYMVVUS.js +0 -95
- package/dist/customdata.inputui-I7RFOGYM.js +0 -284
- package/dist/dataDownload-4AGSDSEO.js +0 -329
- package/dist/databrowser.ui-RGJEA2BI.js +0 -425
- package/dist/dictionary-AWWQXIRP.js +0 -113
- package/dist/dnaMethylation-PICKZS2M.js +0 -33
- package/dist/dnaMethylation.integration.spec-JUSB3CFZ.js +0 -198
- package/dist/dofetch-ZJMKEYN2.js +0 -48
- package/dist/e2pca-K4W7ZJZG.js +0 -344
- package/dist/ep-OY5YQMEF.js +0 -1249
- package/dist/expclust.gdc.spec-LYDBM3TZ.js +0 -302
- package/dist/facet-7NJHLLCZ.js +0 -519
- package/dist/gb-COV44BMA.js +0 -81
- package/dist/geneExpClustering-EQR5XX4J.js +0 -244
- package/dist/geneExpression-2BNDQ6S6.js +0 -310
- package/dist/geneExpression-PGB6WF5H.js +0 -33
- package/dist/geneExpression.unit.spec-OUNGGOJP.js +0 -128
- package/dist/geneORA-EKNEVQOS.js +0 -273
- package/dist/geneRanking-XUXLRERA.js +0 -548
- package/dist/geneVariant-JZDYV6LS.js +0 -36
- package/dist/geneVariant-KPZ2FYLK.js +0 -289
- package/dist/geneVariant.integration.spec-ISMLGTKC.js +0 -503
- package/dist/genefusion.ui-GRUXFC4U.js +0 -303
- package/dist/geneset-RM4XIX23.js +0 -203
- package/dist/genomeBrowser.spec-X7EOK2LS.js +0 -276
- package/dist/grin2-5XRUMYQO.js +0 -949
- package/dist/grin2-SWZLKD52.js +0 -70
- package/dist/hierCluster-I6T4XD3P.js +0 -55
- package/dist/hierCluster-XVDGUOW7.js +0 -59
- package/dist/hierCluster.config-66CKAAPG.js +0 -36
- package/dist/hierCluster.integration.spec-OEHHO2RT.js +0 -483
- package/dist/hierCluster.interactivity-B5ZNFF4R.js +0 -49
- package/dist/hierCluster.renderers-R2DTKTLI.js +0 -19
- package/dist/imagePlot-ZM4IVDJT.js +0 -156
- package/dist/importPlot-FQ65CZRI.js +0 -8
- package/dist/isoformExpression-BFCLGD2U.js +0 -35
- package/dist/isoformExpression.unit.spec-KYI4HI7U.js +0 -237
- package/dist/junction-BKH6RWOP.js +0 -36
- package/dist/junction.unit.spec-MQIHKSNE.js +0 -182
- package/dist/launch.adhoc-AHTCA2BP.js +0 -37
- package/dist/leftlabel.sample-LIBMKP22.js +0 -258
- package/dist/lollipop-26ZQH3EL.js +0 -166
- package/dist/maf-W3W2XJ5B.js +0 -455
- package/dist/maftimeline-LCJD5O2M.js +0 -587
- package/dist/matrix-H634EZWK.js +0 -59
- package/dist/matrix-O2AINT5M.js +0 -54
- package/dist/matrix.cells-3U3CUU5I.js +0 -26
- package/dist/matrix.config-F6IPB5B5.js +0 -37
- package/dist/matrix.data-KQNBNYC6.js +0 -23
- package/dist/matrix.groups-QFL2ZDHD.js +0 -26
- package/dist/matrix.integration.spec-OVGSXJWO.js +0 -3160
- package/dist/matrix.interactivity-Q5ODZPDL.js +0 -37
- package/dist/matrix.layout-YPYM7FRY.js +0 -39
- package/dist/matrix.legend-ZO57ENXP.js +0 -20
- package/dist/matrix.renderers-NIGONKWO.js +0 -34
- package/dist/matrix.serieses-ZQD2U6RF.js +0 -19
- package/dist/matrix.sort-RZU65LR2.js +0 -26
- package/dist/matrix.sort.unit.spec-NDFK2A5C.js +0 -468
- package/dist/matrix.sorterUi.unit.spec-4ZKNOV2L.js +0 -338
- package/dist/matrix.unit.spec-V5XNLECG.js +0 -150
- package/dist/mavb-LF7A7BDK.js +0 -727
- package/dist/mds.fimo-KJ4HPMZP.js +0 -513
- package/dist/mds.samplescatterplot-ZHNWWWYI.js +0 -1545
- package/dist/mds.survivalplot-DNG7I22N.js +0 -477
- package/dist/multivalue-SJQF7PHU.js +0 -83
- package/dist/numericDictTermCluster-O6PKT2FJ.js +0 -63
- package/dist/oncomatrix-YJCPKS72.js +0 -290
- package/dist/oncomatrix.spec-MWGBQCIQ.js +0 -443
- package/dist/plot.2dvaf-KIPQYNEH.js +0 -372
- package/dist/plot.app-WHG3SEOG.js +0 -36
- package/dist/plot.barplot-DTSYFUPC.js +0 -97
- package/dist/plot.boxplot-MQDULP3P.js +0 -146
- package/dist/plot.brainImaging-DGVJQSCH.js +0 -51
- package/dist/plot.disco-HYPRBLMQ.js +0 -99
- package/dist/plot.ssgq-J5MMN7OD.js +0 -134
- package/dist/plot.vaf2cov-CID7GQB5.js +0 -253
- package/dist/polar2-QTSO2HCB.js +0 -232
- package/dist/profileForms-SRR2M5OS.js +0 -941
- package/dist/profilePlot-NDC4S2SC.js +0 -49
- package/dist/proteinView-EFNQL3LD.js +0 -1357
- package/dist/proteomeCohortCompare-WMR53HEL.js +0 -912
- package/dist/pseudbulk.unit.spec-6MRZNXFI.js +0 -86
- package/dist/pseudobulk-O5EC44RY.js +0 -35
- package/dist/qualitative-W6MFYG7Z.js +0 -38
- package/dist/radar2-GIQILMWK.js +0 -327
- package/dist/radarFacility2-5YJZ5JCK.js +0 -335
- package/dist/render-2J4LR3UI.js +0 -33
- package/dist/report-MUMQK6XY.js +0 -217
- package/dist/sampleView-NKZMNBMH.js +0 -43
- package/dist/samplelst-X74JZMTR.js +0 -106
- package/dist/samplematrix-QDQXB5ZG.js +0 -2193
- package/dist/sc-FGHV5CBJ.js +0 -81
- package/dist/scatter-QFVRBA7F.js +0 -925
- package/dist/scatter-YXF5VQGZ.js +0 -88
- package/dist/selectGenomeWithTklst-DP4RPV7U.js +0 -129
- package/dist/singleCellCellType-XCHCMRR6.js +0 -33
- package/dist/singleCellCellType.unit.spec-S3JTP235.js +0 -154
- package/dist/singleCellGeneExpression-FD6REV7Y.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-PVMZYD4G.js +0 -148
- package/dist/singleCellNumericValue-SIITQPMD.js +0 -33
- package/dist/singleCellNumericValue.unit.spec-7PJEHLF7.js +0 -416
- package/dist/singleCellPlot-YJCFAYJW.js +0 -48
- package/dist/singlecell-6R7YK5P3.js +0 -1566
- package/dist/singlecell-KHMH732Y.js +0 -81
- package/dist/snp-HXCVSW2F.js +0 -33
- package/dist/snp.unit.spec-HXMFR4QS.js +0 -171
- package/dist/snplocus-YQVHAKBC.js +0 -203
- package/dist/spliceevent.a53ss.diagram-4IBTR3JD.js +0 -146
- package/dist/spliceevent.exonskip.diagram-5ZTG65CE.js +0 -278
- package/dist/spliceevent.noeventdiagram-WO5KSC45.js +0 -455
- package/dist/ssGSEA-VJ3LVYJV.js +0 -33
- package/dist/ssGSEA.unit.spec-JQIJ4NZP.js +0 -83
- package/dist/stattable-COVQSHRZ.js +0 -117
- package/dist/studyCatalog-EXVRH4FI.js +0 -414
- package/dist/summarizeCnvGeneexp-UJBTMXXH.js +0 -158
- package/dist/summarizeGeneexpSurvival-XLQJGDRY.js +0 -105
- package/dist/summarizeMutationCnv-7RWSXB6F.js +0 -159
- package/dist/summarizeMutationDiagnosis-42MG737O.js +0 -35
- package/dist/summarizeMutationSurvival-FWVKVEHK.js +0 -99
- package/dist/summary-NR26ZPQB.js +0 -44
- package/dist/summary.integration.spec-Z7JSUTGK.js +0 -409
- package/dist/summaryInput-DGKUOJVC.js +0 -242
- package/dist/sunburst-C5JNGFT7.js +0 -278
- package/dist/survival-GCEX3EAZ.js +0 -53
- package/dist/survival-OAQA5JQN.js +0 -1248
- package/dist/survival-OAQA5JQN.js.map +0 -7
- package/dist/survival.integration.spec-ZX5RD6VQ.js +0 -613
- package/dist/svgraph-XCFZ2WAG.js +0 -1382
- package/dist/svmr-4XTTURHA.js +0 -3837
- package/dist/table-FQZ4UAH6.js +0 -197
- package/dist/termCollection-5QCR6LED.js +0 -33
- package/dist/termCollection-DN6A6HJU.js +0 -252
- package/dist/termCollection.unit.spec-RSSSXDHU.js +0 -299
- package/dist/termCollectionFractionSelection-OSN7FITY.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-UW6D3DVK.js +0 -188
- package/dist/tk-4CZCVYBP.js +0 -41
- package/dist/tk-BIPJNXBZ.js +0 -1121
- package/dist/tp.ui-NI4U7567.js +0 -1454
- package/dist/tvs.dt-YRDNDXUU.js +0 -34
- package/dist/tvs.dtcnv.categorical-REP4T33P.js +0 -35
- package/dist/tvs.dtcnv.continuous-K7OREEP5.js +0 -67
- package/dist/tvs.dtfusion-AB5MPH3Q.js +0 -35
- package/dist/tvs.dtitd-AFWU7ACY.js +0 -35
- package/dist/tvs.dtsnvindel-G7XQEKEO.js +0 -35
- package/dist/tvs.dtsv-Y6BEY4J2.js +0 -35
- package/dist/tvs.samplelst-XRRWPC2E.js +0 -98
- package/dist/tvs.termCollection-PL4AN3GA.js +0 -122
- package/dist/vocabulary-DJZWOO6Q.js +0 -36
- package/dist/wsi.direct-XUWANMKV.js +0 -8343
- /package/dist/{2dmaf-FEZRNHDF.js.map → 2dmaf-R23YQDZC.js.map} +0 -0
- /package/dist/{AggMatrixInput-6FJIELYO.js.map → AggMatrixInput-4DIGZZN4.js.map} +0 -0
- /package/dist/{AggregateMatrix-MUPBUGIZ.js.map → AggregateMatrix-TF6XXFUN.js.map} +0 -0
- /package/dist/{AppHeader-ZTNZ62UL.js.map → AppHeader-JB5HPAOQ.js.map} +0 -0
- /package/dist/{BoxPlot-P5SVFYSB.js.map → BoxPlot-47TUXQDP.js.map} +0 -0
- /package/dist/{CorrelationVolcano-42NYXAXG.js.map → CorrelationVolcano-G7K5JEPM.js.map} +0 -0
- /package/dist/{DE-KJHFZWND.js.map → DE-JSWA6HXV.js.map} +0 -0
- /package/dist/{DEinput-HXB3LYZW.js.map → DEinput-LEYRVYK6.js.map} +0 -0
- /package/dist/{DM-AAHX4PLH.js.map → DM-332QECUP.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-JX4EDEOY.js.map → DifferentialAnalysis-JGH2OMTH.js.map} +0 -0
- /package/dist/{Disco-GXKO4QQH.js.map → Disco-36PJXFM6.js.map} +0 -0
- /package/dist/{Disco.UI-DGD4RXJP.js.map → Disco.UI-PY2KOGKY.js.map} +0 -0
- /package/dist/{DmrPlot-DQ3XTMTN.js.map → DmrPlot-5WMOBZOJ.js.map} +0 -0
- /package/dist/{GB-OUWNNBBK.js.map → GB-6WWLTBIW.js.map} +0 -0
- /package/dist/{GSEA-DSKGFAPG.js.map → GSEA-GYUVO2XA.js.map} +0 -0
- /package/dist/{GeneExpInput-FZLOBE2Q.js.map → GeneExpInput-UABEICGS.js.map} +0 -0
- /package/dist/{Geomap-GP5KD3OX.js.map → Geomap-QB6FNV5R.js.map} +0 -0
- /package/dist/{HicApp-2N6WYWZX.js.map → HicApp-TQKQKJTN.js.map} +0 -0
- /package/dist/{IDCViewer-MSUC7IXX.js.map → IDCViewer-L27ICGR5.js.map} +0 -0
- /package/dist/{NumBinaryEditor-C4G2IH36.js.map → NumBinaryEditor-FHSSXZV4.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-ZAVAUGXA.js.map → NumBinaryEditor.unit.spec-AMR32JHJ.js.map} +0 -0
- /package/dist/{NumContEditor-VEEMMWHX.js.map → NumContEditor-R5JB5XPB.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-65ORC42O.js.map → NumContEditor.unit.spec-3PQRIC4G.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-YIUHJAXP.js.map → NumCustomBinEditor-B3PKD54F.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-NT5VK2LO.js.map → NumCustomBinEditor.unit.spec-YZKCYZQM.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-A4WELAJH.js.map → NumDiscreteEditor-7AO35XU7.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-7QABM6KK.js.map → NumDiscreteEditor.unit.spec-SNDHS6VK.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-IPVPLSQY.js.map → NumRegularBinEditor-OREKM2DX.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-Q4DMWATB.js.map → NumRegularBinEditor.unit.spec-SIGD7PLE.js.map} +0 -0
- /package/dist/{NumSplineEditor-5E6CIWLP.js.map → NumSplineEditor-RDFDVNJG.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-DHJF5F6H.js.map → NumSplineEditor.unit.spec-TXRQVLUE.js.map} +0 -0
- /package/dist/{NumericDensity-GXMWWK2A.js.map → NumericDensity-QPDF6UU5.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-OAPOMSEW.js.map → NumericDensity.unit.spec-JYUYDHDG.js.map} +0 -0
- /package/dist/{NumericHandler-H5WHGFXD.js.map → NumericHandler-JW6DLSMJ.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-PBNOJEMS.js.map → NumericHandler.unit.spec-Q2ZNM5NH.js.map} +0 -0
- /package/dist/{ProteomeInput-ZA7R5S43.js.map → ProteomeInput-OS5JWC2O.js.map} +0 -0
- /package/dist/{Regression-WSWTSXFX.js.map → Regression-53XPZCCQ.js.map} +0 -0
- /package/dist/{RunChart2-J5CTJI5C.js.map → RunChart2-WEO42KPP.js.map} +0 -0
- /package/dist/{Violin-VA6FBRUQ.js.map → Violin-7VOFUOLE.js.map} +0 -0
- /package/dist/{Volcano-4IEQIEDS.js.map → Volcano-DI2RLILX.js.map} +0 -0
- /package/dist/{Wsi-LJ6AY5RI.js.map → Wsi-6DNY4RUG.js.map} +0 -0
- /package/dist/{adSandbox-EIN4KEML.js.map → adSandbox-B7GQZDYQ.js.map} +0 -0
- /package/dist/{animatedBubbleChart-LINYUKMD.js.map → animatedBubbleChart-QGO3OY5E.js.map} +0 -0
- /package/dist/{app-SE7UQ5DB.js.map → app-XBLP7YZQ.js.map} +0 -0
- /package/dist/{app-VGMZNGWP.js.map → app-ZARZ2HWS.js.map} +0 -0
- /package/dist/{bam-ZXEZWRSZ.js.map → bam-FGNF7RYM.js.map} +0 -0
- /package/dist/{barchart-N4B4C2FO.js.map → barchart-6YLJJSRO.js.map} +0 -0
- /package/dist/{barchart2-EDVEWTVX.js.map → barchart2-7TTZPYWA.js.map} +0 -0
- /package/dist/{block-E7YUGCHL.js.map → block-7WZWBQVA.js.map} +0 -0
- /package/dist/{block.init-FSOCF2IM.js.map → block.init-YN4KHHJ2.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-EDBTITXU.js.map → block.mds.expressionrank-6PKN3KIE.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-GG5672SY.js.map → block.mds.geneboxplot-M6TXRPKO.js.map} +0 -0
- /package/dist/{block.mds.junction-HUC4S24K.js.map → block.mds.junction-WKRLLJBT.js.map} +0 -0
- /package/dist/{block.mds.svcnv-EQHYCIBU.js.map → block.mds.svcnv-I3DNNGYV.js.map} +0 -0
- /package/dist/{block.svg-HBVPUQJ2.js.map → block.svg-D72WTLKP.js.map} +0 -0
- /package/dist/{block.tk.aicheck-TRJ5IIWZ.js.map → block.tk.aicheck-QT5WYKTQ.js.map} +0 -0
- /package/dist/{block.tk.ase-COV7YYYO.js.map → block.tk.ase-3WGJONXX.js.map} +0 -0
- /package/dist/{block.tk.bam-MDSLY6NH.js.map → block.tk.bam-Q5X7D5IR.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-MKWEL53X.js.map → block.tk.bedgraphdot-VWE2D2HR.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-UKKJX7TA.js.map → block.tk.bigwig.ui-Q22KXFQT.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-6LNXEIOF.js.map → block.tk.hicstraw-3BMDZCQH.js.map} +0 -0
- /package/dist/{block.tk.junction-F3SERFFD.js.map → block.tk.junction-BMKRAVUI.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-2XUMSKLS.js.map → block.tk.junction.textmatrixui-ERLXPLGI.js.map} +0 -0
- /package/dist/{block.tk.ld-COP5RUJJ.js.map → block.tk.ld-KT5KQUXC.js.map} +0 -0
- /package/dist/{block.tk.menu-SRDPD44N.js.map → block.tk.menu-RO7IJGFY.js.map} +0 -0
- /package/dist/{block.tk.pgv-3SVINTXN.js.map → block.tk.pgv-PZ4AVD3V.js.map} +0 -0
- /package/dist/{brainImaging-UNBA4KA3.js.map → brainImaging-ZU3JSXFP.js.map} +0 -0
- /package/dist/{brainRegions-DC6TQB53.js.map → brainRegions-DJELNKKN.js.map} +0 -0
- /package/dist/{bubbleHeatmap-X3W3AZJY.js.map → bubbleHeatmap-CPJ5KI6E.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-LFI6TGOO.js.map → cellTypeBubbleHeatmap-6NGBETXV.js.map} +0 -0
- /package/dist/{chunk-J4WRX5G6.js.map → chunk-232OR2PG.js.map} +0 -0
- /package/dist/{chunk-DPTGY4BW.js.map → chunk-26Y2MYFN.js.map} +0 -0
- /package/dist/{chunk-L62JI5UL.js.map → chunk-33FULV5M.js.map} +0 -0
- /package/dist/{chunk-KJGYGPJZ.js.map → chunk-3AXQF6GL.js.map} +0 -0
- /package/dist/{chunk-X7TJBXJJ.js.map → chunk-3JHCCJ4I.js.map} +0 -0
- /package/dist/{chunk-42VFF74T.js.map → chunk-4S7TWVOY.js.map} +0 -0
- /package/dist/{chunk-L3UFI52T.js.map → chunk-4ZVOO3NI.js.map} +0 -0
- /package/dist/{chunk-VP2JWT5W.js.map → chunk-5U7AYOEZ.js.map} +0 -0
- /package/dist/{chunk-FSWBNSQD.js.map → chunk-5WIA4KFA.js.map} +0 -0
- /package/dist/{chunk-V7UVHM57.js.map → chunk-5WMFEMII.js.map} +0 -0
- /package/dist/{chunk-A32XQLMP.js.map → chunk-6OCWNYW3.js.map} +0 -0
- /package/dist/{chunk-HTZJQNHP.js.map → chunk-753GDKSC.js.map} +0 -0
- /package/dist/{chunk-A3MYBXG3.js.map → chunk-7AOA5WZY.js.map} +0 -0
- /package/dist/{chunk-SQGAWR2L.js.map → chunk-A4D2Z2LV.js.map} +0 -0
- /package/dist/{chunk-72L6NTNT.js.map → chunk-AUJHCGU2.js.map} +0 -0
- /package/dist/{chunk-YOBTHZVU.js.map → chunk-CWLHJ7AC.js.map} +0 -0
- /package/dist/{chunk-MVWJHZ5G.js.map → chunk-DU52GAOJ.js.map} +0 -0
- /package/dist/{chunk-VSTHBKQW.js.map → chunk-DVWCDEN3.js.map} +0 -0
- /package/dist/{chunk-6ECKCC4X.js.map → chunk-E24IUWHH.js.map} +0 -0
- /package/dist/{chunk-SPFK5XZH.js.map → chunk-G4A3ZDDS.js.map} +0 -0
- /package/dist/{chunk-6AFMWQXZ.js.map → chunk-HH5JKOE6.js.map} +0 -0
- /package/dist/{chunk-DQD4MTK4.js.map → chunk-HL5B4NME.js.map} +0 -0
- /package/dist/{chunk-55T2AMJ3.js.map → chunk-HYOCZPKO.js.map} +0 -0
- /package/dist/{chunk-7ISAV37C.js.map → chunk-I6P4LZP3.js.map} +0 -0
- /package/dist/{chunk-OC2FSBFB.js.map → chunk-IBZVZZ5J.js.map} +0 -0
- /package/dist/{chunk-MRPYHLFW.js.map → chunk-JZQEDIGZ.js.map} +0 -0
- /package/dist/{chunk-AU3Y6IQF.js.map → chunk-LK7XDEFW.js.map} +0 -0
- /package/dist/{chunk-PLHOCPJD.js.map → chunk-MXJKO73I.js.map} +0 -0
- /package/dist/{chunk-RHOMR2GY.js.map → chunk-N6NL4XG2.js.map} +0 -0
- /package/dist/{chunk-F2LWFF7V.js.map → chunk-NC4RKYVE.js.map} +0 -0
- /package/dist/{chunk-IWVCFZHQ.js.map → chunk-OSYSJHAA.js.map} +0 -0
- /package/dist/{chunk-YCORHJ64.js.map → chunk-PBWB5ZG2.js.map} +0 -0
- /package/dist/{chunk-5JDG5NNA.js.map → chunk-PCJF5MGF.js.map} +0 -0
- /package/dist/{chunk-L4ZPMF7E.js.map → chunk-PF5UMQEJ.js.map} +0 -0
- /package/dist/{chunk-ZTT6ZHU5.js.map → chunk-PGRTCNOV.js.map} +0 -0
- /package/dist/{chunk-FKSR53VK.js.map → chunk-Q6I2OH4P.js.map} +0 -0
- /package/dist/{chunk-OYBYKZUR.js.map → chunk-QOF27J24.js.map} +0 -0
- /package/dist/{chunk-3CGMCYZB.js.map → chunk-QWCKIRW2.js.map} +0 -0
- /package/dist/{chunk-XTQWAVWJ.js.map → chunk-R3LWGFGS.js.map} +0 -0
- /package/dist/{chunk-UKOOGNUF.js.map → chunk-REWUPST7.js.map} +0 -0
- /package/dist/{chunk-GP4VLNMZ.js.map → chunk-RMUK3TLD.js.map} +0 -0
- /package/dist/{chunk-NGWU4QLU.js.map → chunk-RXQRCRHC.js.map} +0 -0
- /package/dist/{chunk-7MFY22IZ.js.map → chunk-SAMS5XBH.js.map} +0 -0
- /package/dist/{chunk-DKED35KW.js.map → chunk-SXYZ274A.js.map} +0 -0
- /package/dist/{chunk-JZLIHI6A.js.map → chunk-TAZQU2LC.js.map} +0 -0
- /package/dist/{chunk-EMSO3BNW.js.map → chunk-TFS2JZTH.js.map} +0 -0
- /package/dist/{chunk-2ANFUNS3.js.map → chunk-UFQDWGZU.js.map} +0 -0
- /package/dist/{chunk-3I4DBVLM.js.map → chunk-UJRURRJ2.js.map} +0 -0
- /package/dist/{chunk-2G4SFRWC.js.map → chunk-UWRWFS3K.js.map} +0 -0
- /package/dist/{chunk-AXL3CC4U.js.map → chunk-UYSYZM45.js.map} +0 -0
- /package/dist/{chunk-QDNUIS2Y.js.map → chunk-VPOAFNVL.js.map} +0 -0
- /package/dist/{chunk-UZNFOCE7.js.map → chunk-WB57TMJN.js.map} +0 -0
- /package/dist/{chunk-DPGALT5N.js.map → chunk-WILJJPWV.js.map} +0 -0
- /package/dist/{chunk-PQDZLOY7.js.map → chunk-X2HEDRFQ.js.map} +0 -0
- /package/dist/{chunk-SLPZ6SBN.js.map → chunk-X3UNVPC5.js.map} +0 -0
- /package/dist/{chunk-F5QB5YEE.js.map → chunk-XL4N3H32.js.map} +0 -0
- /package/dist/{chunk-UL5PEVZW.js.map → chunk-XNKLJMGF.js.map} +0 -0
- /package/dist/{chunk-EFLRT7JY.js.map → chunk-XZCRYWVL.js.map} +0 -0
- /package/dist/{chunk-ITYNHDDD.js.map → chunk-Y4MV62JA.js.map} +0 -0
- /package/dist/{chunk-4HTRCXLS.js.map → chunk-YKI4GLMT.js.map} +0 -0
- /package/dist/{chunk-UTMIX2H2.js.map → chunk-ZKINKYOJ.js.map} +0 -0
- /package/dist/{chunk-6QMC7LFA.js.map → chunk-ZMSTQP6O.js.map} +0 -0
- /package/dist/{cohort-RF4FT2NT.js.map → cohort-CWGZR37O.js.map} +0 -0
- /package/dist/{condition-WXE2CFYT.js.map → condition-B6XBQML4.js.map} +0 -0
- /package/dist/{controls-AYF4H7UG.js.map → controls-QPW5HUAY.js.map} +0 -0
- /package/dist/{controls.config-TXZKQNYC.js.map → controls.config-IUYTWRHA.js.map} +0 -0
- /package/dist/{correlation-UAYMVVUS.js.map → correlation-M2NKGTK2.js.map} +0 -0
- /package/dist/{customdata.inputui-I7RFOGYM.js.map → customdata.inputui-RKYIMOWO.js.map} +0 -0
- /package/dist/{dataDownload-4AGSDSEO.js.map → dataDownload-LPBLB7QD.js.map} +0 -0
- /package/dist/{databrowser.ui-RGJEA2BI.js.map → databrowser.ui-VTWHELDY.js.map} +0 -0
- /package/dist/{dictionary-AWWQXIRP.js.map → dictionary-NINKMF3F.js.map} +0 -0
- /package/dist/{dnaMethylation-PICKZS2M.js.map → dnaMethylation-LSVNG7FK.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-JUSB3CFZ.js.map → dnaMethylation.integration.spec-6IT3Y3FS.js.map} +0 -0
- /package/dist/{dofetch-ZJMKEYN2.js.map → dofetch-HLMSTOMY.js.map} +0 -0
- /package/dist/{e2pca-K4W7ZJZG.js.map → e2pca-6PKLCC7L.js.map} +0 -0
- /package/dist/{ep-OY5YQMEF.js.map → ep-3RFB6K3B.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-LYDBM3TZ.js.map → expclust.gdc.spec-MEWKHFMD.js.map} +0 -0
- /package/dist/{facet-7NJHLLCZ.js.map → facet-A4JH7FCW.js.map} +0 -0
- /package/dist/{gb-COV44BMA.js.map → gb-PTF7CLDG.js.map} +0 -0
- /package/dist/{geneExpClustering-EQR5XX4J.js.map → geneExpClustering-VKUIAYCK.js.map} +0 -0
- /package/dist/{geneExpression-2BNDQ6S6.js.map → geneExpression-3GQFWVJL.js.map} +0 -0
- /package/dist/{geneExpression-PGB6WF5H.js.map → geneExpression-VC7QPM3T.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-OUNGGOJP.js.map → geneExpression.unit.spec-PQS7BOMF.js.map} +0 -0
- /package/dist/{geneORA-EKNEVQOS.js.map → geneORA-FCMFWZTN.js.map} +0 -0
- /package/dist/{geneRanking-XUXLRERA.js.map → geneRanking-RTPPGBD4.js.map} +0 -0
- /package/dist/{geneVariant-JZDYV6LS.js.map → geneVariant-2TQ2JD4K.js.map} +0 -0
- /package/dist/{geneVariant-KPZ2FYLK.js.map → geneVariant-4S6FLJTN.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-ISMLGTKC.js.map → geneVariant.integration.spec-YTFFHWQP.js.map} +0 -0
- /package/dist/{genefusion.ui-GRUXFC4U.js.map → genefusion.ui-P7YH32A6.js.map} +0 -0
- /package/dist/{geneset-RM4XIX23.js.map → geneset-4J43JA3C.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-X7EOK2LS.js.map → genomeBrowser.spec-T2VFNUAV.js.map} +0 -0
- /package/dist/{grin2-5XRUMYQO.js.map → grin2-5TH4EBVQ.js.map} +0 -0
- /package/dist/{grin2-SWZLKD52.js.map → grin2-KXMSYYYM.js.map} +0 -0
- /package/dist/{hierCluster-I6T4XD3P.js.map → hierCluster-2HFMEHAD.js.map} +0 -0
- /package/dist/{hierCluster-XVDGUOW7.js.map → hierCluster-5RQV7B5I.js.map} +0 -0
- /package/dist/{hierCluster.config-66CKAAPG.js.map → hierCluster.config-PNBGJE6F.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-OEHHO2RT.js.map → hierCluster.integration.spec-TZLVKUC5.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-B5ZNFF4R.js.map → hierCluster.interactivity-OQD3IQ4X.js.map} +0 -0
- /package/dist/{hierCluster.renderers-R2DTKTLI.js.map → hierCluster.renderers-DUDSHKDT.js.map} +0 -0
- /package/dist/{imagePlot-ZM4IVDJT.js.map → imagePlot-6YH7S2PV.js.map} +0 -0
- /package/dist/{importPlot-FQ65CZRI.js.map → importPlot-Z2UKA456.js.map} +0 -0
- /package/dist/{isoformExpression-BFCLGD2U.js.map → isoformExpression-SRJMGXHD.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-KYI4HI7U.js.map → isoformExpression.unit.spec-PBVKSWCS.js.map} +0 -0
- /package/dist/{junction-BKH6RWOP.js.map → junction-D4UP2AGY.js.map} +0 -0
- /package/dist/{junction.unit.spec-MQIHKSNE.js.map → junction.unit.spec-M5CEGNUE.js.map} +0 -0
- /package/dist/{launch.adhoc-AHTCA2BP.js.map → launch.adhoc-SWJOT47S.js.map} +0 -0
- /package/dist/{leftlabel.sample-LIBMKP22.js.map → leftlabel.sample-4ZAM2JSS.js.map} +0 -0
- /package/dist/{lollipop-26ZQH3EL.js.map → lollipop-GMGJPMJN.js.map} +0 -0
- /package/dist/{maf-W3W2XJ5B.js.map → maf-2TFOOAIF.js.map} +0 -0
- /package/dist/{maftimeline-LCJD5O2M.js.map → maftimeline-DRBM4ZYD.js.map} +0 -0
- /package/dist/{matrix-H634EZWK.js.map → matrix-22R4BC3F.js.map} +0 -0
- /package/dist/{matrix-O2AINT5M.js.map → matrix-W4IRSBO5.js.map} +0 -0
- /package/dist/{matrix.cells-3U3CUU5I.js.map → matrix.cells-QKWO5EP4.js.map} +0 -0
- /package/dist/{matrix.config-F6IPB5B5.js.map → matrix.config-ZZ7NFCIT.js.map} +0 -0
- /package/dist/{matrix.data-KQNBNYC6.js.map → matrix.data-3W6P6NBU.js.map} +0 -0
- /package/dist/{matrix.groups-QFL2ZDHD.js.map → matrix.groups-XW2G5BJH.js.map} +0 -0
- /package/dist/{matrix.integration.spec-OVGSXJWO.js.map → matrix.integration.spec-X4UPLQRI.js.map} +0 -0
- /package/dist/{matrix.interactivity-Q5ODZPDL.js.map → matrix.interactivity-NGS3LJPV.js.map} +0 -0
- /package/dist/{matrix.layout-YPYM7FRY.js.map → matrix.layout-SAGZVQPG.js.map} +0 -0
- /package/dist/{matrix.legend-ZO57ENXP.js.map → matrix.legend-C3MQRAZJ.js.map} +0 -0
- /package/dist/{matrix.renderers-NIGONKWO.js.map → matrix.renderers-IG7Q2F6Y.js.map} +0 -0
- /package/dist/{matrix.serieses-ZQD2U6RF.js.map → matrix.serieses-SNMIQFKB.js.map} +0 -0
- /package/dist/{matrix.sort-RZU65LR2.js.map → matrix.sort-WHVUSUJZ.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-NDFK2A5C.js.map → matrix.sort.unit.spec-DCWR5PZJ.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-4ZKNOV2L.js.map → matrix.sorterUi.unit.spec-EBLSCLDL.js.map} +0 -0
- /package/dist/{matrix.unit.spec-V5XNLECG.js.map → matrix.unit.spec-I6JGZHQZ.js.map} +0 -0
- /package/dist/{mavb-LF7A7BDK.js.map → mavb-MLVNZJSF.js.map} +0 -0
- /package/dist/{mds.fimo-KJ4HPMZP.js.map → mds.fimo-MOGZPFCK.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-ZHNWWWYI.js.map → mds.samplescatterplot-YLGNYKTH.js.map} +0 -0
- /package/dist/{mds.survivalplot-DNG7I22N.js.map → mds.survivalplot-R273N2GB.js.map} +0 -0
- /package/dist/{multivalue-SJQF7PHU.js.map → multivalue-5GFBYENI.js.map} +0 -0
- /package/dist/{numericDictTermCluster-O6PKT2FJ.js.map → numericDictTermCluster-MJK6SIWE.js.map} +0 -0
- /package/dist/{oncomatrix-YJCPKS72.js.map → oncomatrix-OAQT2CUN.js.map} +0 -0
- /package/dist/{oncomatrix.spec-MWGBQCIQ.js.map → oncomatrix.spec-6C62LLJI.js.map} +0 -0
- /package/dist/{plot.2dvaf-KIPQYNEH.js.map → plot.2dvaf-WDXWSC7L.js.map} +0 -0
- /package/dist/{plot.app-WHG3SEOG.js.map → plot.app-YTHD3ZJQ.js.map} +0 -0
- /package/dist/{plot.barplot-DTSYFUPC.js.map → plot.barplot-SRZM3GU3.js.map} +0 -0
- /package/dist/{plot.boxplot-MQDULP3P.js.map → plot.boxplot-VWOMZPZE.js.map} +0 -0
- /package/dist/{plot.brainImaging-DGVJQSCH.js.map → plot.brainImaging-6XL7YF5G.js.map} +0 -0
- /package/dist/{plot.disco-HYPRBLMQ.js.map → plot.disco-VRKSTV5Z.js.map} +0 -0
- /package/dist/{plot.ssgq-J5MMN7OD.js.map → plot.ssgq-AXASDOZZ.js.map} +0 -0
- /package/dist/{plot.vaf2cov-CID7GQB5.js.map → plot.vaf2cov-IF4DEEM5.js.map} +0 -0
- /package/dist/{polar2-QTSO2HCB.js.map → polar2-QQ3KHFME.js.map} +0 -0
- /package/dist/{profileForms-SRR2M5OS.js.map → profileForms-2US7IYYM.js.map} +0 -0
- /package/dist/{profilePlot-NDC4S2SC.js.map → profilePlot-DZQCBKPA.js.map} +0 -0
- /package/dist/{proteinView-EFNQL3LD.js.map → proteinView-TTLVQ43H.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-WMR53HEL.js.map → proteomeCohortCompare-BUZYOOIA.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-6MRZNXFI.js.map → pseudbulk.unit.spec-YNXQWDSU.js.map} +0 -0
- /package/dist/{pseudobulk-O5EC44RY.js.map → pseudobulk-VSXK2PTM.js.map} +0 -0
- /package/dist/{qualitative-W6MFYG7Z.js.map → qualitative-AKIZRNFO.js.map} +0 -0
- /package/dist/{radar2-GIQILMWK.js.map → radar2-7GXYLICJ.js.map} +0 -0
- /package/dist/{radarFacility2-5YJZ5JCK.js.map → radarFacility2-WFKOWGH2.js.map} +0 -0
- /package/dist/{render-2J4LR3UI.js.map → render-F3CBMRD5.js.map} +0 -0
- /package/dist/{report-MUMQK6XY.js.map → report-6LHMHUDY.js.map} +0 -0
- /package/dist/{sampleView-NKZMNBMH.js.map → sampleView-GWKPMVJH.js.map} +0 -0
- /package/dist/{samplelst-X74JZMTR.js.map → samplelst-TH6IBDVG.js.map} +0 -0
- /package/dist/{samplematrix-QDQXB5ZG.js.map → samplematrix-RPCWT33H.js.map} +0 -0
- /package/dist/{sc-FGHV5CBJ.js.map → sc-BFBHBAXF.js.map} +0 -0
- /package/dist/{scatter-QFVRBA7F.js.map → scatter-3IC6HOT7.js.map} +0 -0
- /package/dist/{scatter-YXF5VQGZ.js.map → scatter-L6R6J2LC.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-DP4RPV7U.js.map → selectGenomeWithTklst-3ZK7FIOP.js.map} +0 -0
- /package/dist/{singleCellCellType-XCHCMRR6.js.map → singleCellCellType-CLJFCBV6.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-S3JTP235.js.map → singleCellCellType.unit.spec-W32PSTRO.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-FD6REV7Y.js.map → singleCellGeneExpression-L6MG37XE.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-PVMZYD4G.js.map → singleCellGeneExpression.unit.spec-SF46JHCU.js.map} +0 -0
- /package/dist/{singleCellNumericValue-SIITQPMD.js.map → singleCellNumericValue-7QXK6KVZ.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-7PJEHLF7.js.map → singleCellNumericValue.unit.spec-VC7NQYM2.js.map} +0 -0
- /package/dist/{singleCellPlot-YJCFAYJW.js.map → singleCellPlot-5TRNRKPN.js.map} +0 -0
- /package/dist/{singlecell-6R7YK5P3.js.map → singlecell-2YV3UAIQ.js.map} +0 -0
- /package/dist/{singlecell-KHMH732Y.js.map → singlecell-I4PHM2LZ.js.map} +0 -0
- /package/dist/{snp-HXCVSW2F.js.map → snp-ZIA4YWCZ.js.map} +0 -0
- /package/dist/{snp.unit.spec-HXMFR4QS.js.map → snp.unit.spec-MVQHY4WJ.js.map} +0 -0
- /package/dist/{snplocus-YQVHAKBC.js.map → snplocus-GM6IEDPR.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-4IBTR3JD.js.map → spliceevent.a53ss.diagram-ZFQDHHPY.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-5ZTG65CE.js.map → spliceevent.exonskip.diagram-ZK6JOUMU.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-WO5KSC45.js.map → spliceevent.noeventdiagram-YKTF2VZE.js.map} +0 -0
- /package/dist/{ssGSEA-VJ3LVYJV.js.map → ssGSEA-FDN4CH2Y.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-JQIJ4NZP.js.map → ssGSEA.unit.spec-YEUJBT6Z.js.map} +0 -0
- /package/dist/{stattable-COVQSHRZ.js.map → stattable-WIZRSKPH.js.map} +0 -0
- /package/dist/{studyCatalog-EXVRH4FI.js.map → studyCatalog-X2IGVJ26.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-UJBTMXXH.js.map → summarizeCnvGeneexp-H7A5SI3R.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-XLQJGDRY.js.map → summarizeGeneexpSurvival-GJF6VD2S.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-7RWSXB6F.js.map → summarizeMutationCnv-WQLMD2TR.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-42MG737O.js.map → summarizeMutationDiagnosis-3S52IDWF.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-FWVKVEHK.js.map → summarizeMutationSurvival-NTQIUNW7.js.map} +0 -0
- /package/dist/{summary-NR26ZPQB.js.map → summary-LMRFRKKI.js.map} +0 -0
- /package/dist/{summary.integration.spec-Z7JSUTGK.js.map → summary.integration.spec-KQMZKSEQ.js.map} +0 -0
- /package/dist/{summaryInput-DGKUOJVC.js.map → summaryInput-NNHZVHQA.js.map} +0 -0
- /package/dist/{sunburst-C5JNGFT7.js.map → sunburst-ICUSGIWV.js.map} +0 -0
- /package/dist/{survival-GCEX3EAZ.js.map → survival-K5YBNNVE.js.map} +0 -0
- /package/dist/{survival.integration.spec-ZX5RD6VQ.js.map → survival.integration.spec-4LRJW2V2.js.map} +0 -0
- /package/dist/{svgraph-XCFZ2WAG.js.map → svgraph-U7MS7YEM.js.map} +0 -0
- /package/dist/{svmr-4XTTURHA.js.map → svmr-2JGDBPAI.js.map} +0 -0
- /package/dist/{table-FQZ4UAH6.js.map → table-CBWOHYW6.js.map} +0 -0
- /package/dist/{termCollection-DN6A6HJU.js.map → termCollection-JFGGXVFI.js.map} +0 -0
- /package/dist/{termCollection-5QCR6LED.js.map → termCollection-VE3FFL6V.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-RSSSXDHU.js.map → termCollection.unit.spec-XQQTDV4A.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-OSN7FITY.js.map → termCollectionFractionSelection-TFGF27GR.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-UW6D3DVK.js.map → termCollectionFractionSelection.unit.spec-MKGG4JBC.js.map} +0 -0
- /package/dist/{tk-4CZCVYBP.js.map → tk-74SGUUZY.js.map} +0 -0
- /package/dist/{tk-BIPJNXBZ.js.map → tk-K4JFYIZY.js.map} +0 -0
- /package/dist/{tp.ui-NI4U7567.js.map → tp.ui-727EXXMT.js.map} +0 -0
- /package/dist/{tvs.dt-YRDNDXUU.js.map → tvs.dt-YB2C3T33.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-REP4T33P.js.map → tvs.dtcnv.categorical-NOWMZOE5.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-K7OREEP5.js.map → tvs.dtcnv.continuous-3KWUNU76.js.map} +0 -0
- /package/dist/{tvs.dtfusion-AB5MPH3Q.js.map → tvs.dtfusion-NOJSTABU.js.map} +0 -0
- /package/dist/{tvs.dtitd-AFWU7ACY.js.map → tvs.dtitd-OD5B377P.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-G7XQEKEO.js.map → tvs.dtsnvindel-WIQMZTRH.js.map} +0 -0
- /package/dist/{tvs.dtsv-Y6BEY4J2.js.map → tvs.dtsv-HPERDN3R.js.map} +0 -0
- /package/dist/{tvs.samplelst-XRRWPC2E.js.map → tvs.samplelst-TC2Z7Z35.js.map} +0 -0
- /package/dist/{tvs.termCollection-PL4AN3GA.js.map → tvs.termCollection-F64BHWAL.js.map} +0 -0
- /package/dist/{vocabulary-DJZWOO6Q.js.map → vocabulary-ZOYF2VHS.js.map} +0 -0
- /package/dist/{wsi.direct-XUWANMKV.js.map → wsi.direct-Z5YUZEXG.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-VHDYIOWU.js";
|
|
13
|
+
import "./chunk-HJ6L54YS.js";
|
|
14
|
+
import "./chunk-KV4W2ACA.js";
|
|
15
|
+
import {
|
|
16
|
+
importPlot
|
|
17
|
+
} from "./chunk-5WIA4KFA.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-6RRZRISL.js";
|
|
26
|
+
import "./chunk-2KM4PRQM.js";
|
|
27
|
+
import {
|
|
28
|
+
dofetch3
|
|
29
|
+
} from "./chunk-RMUK3TLD.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-WINIL2KN.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-VAWRWOUI.js.map
|