@sjcrh/proteinpaint-client 2.207.1 → 2.208.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-PN5YS362.js +1367 -0
- package/dist/AggMatrixInput-NJHU4FU2.js +406 -0
- package/dist/AggMatrixInput-NJHU4FU2.js.map +7 -0
- package/dist/AggregateMatrix-IBWOJWOC.js +41 -0
- package/dist/AppHeader-XV6S7GG5.js +830 -0
- package/dist/BoxPlot-ZIVA55SK.js +1211 -0
- package/dist/CorrelationVolcano-33I4FC44.js +617 -0
- package/dist/CorrelationVolcano-33I4FC44.js.map +7 -0
- package/dist/Cuminc-WKY35UGV.js +1219 -0
- package/dist/DE-E256DHID.js +89 -0
- package/dist/DEinput-YU3W72K7.js +499 -0
- package/dist/DM-W7PXTIKY.js +90 -0
- package/dist/DifferentialAnalysis-SHMQHWJL.js +236 -0
- package/dist/DifferentialAnalysis-SHMQHWJL.js.map +7 -0
- package/dist/Disco-OZY5GW2Z.js +3389 -0
- package/dist/Disco.UI-NRALEYXK.js +243 -0
- package/dist/DmrPlot-QKUX5XUW.js +637 -0
- package/dist/GB-ZYH7PGHT.js +1391 -0
- package/dist/GSEA-VQTD4MLY.js +851 -0
- package/dist/GeneExpInput-XEFUTLFU.js +42 -0
- package/dist/Geomap-GEK7UEDU.js +84 -0
- package/dist/HicApp-ZY7UHV5H.js +2245 -0
- package/dist/IDCViewer-YNKG4V46.js +10812 -0
- package/dist/NumBinaryEditor-NEL727DX.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-GCGZMJYF.js +312 -0
- package/dist/NumContEditor-IM6RRDGU.js +105 -0
- package/dist/NumContEditor.unit.spec-B5AJXANS.js +164 -0
- package/dist/NumCustomBinEditor-EZT5DRKP.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-KLUDS6TH.js +397 -0
- package/dist/NumDiscreteEditor-2M6Q5AAZ.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-2JYZYJUX.js +233 -0
- package/dist/NumRegularBinEditor-AQDHA2PU.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-62BYFNYG.js +278 -0
- package/dist/NumSplineEditor-6Y5TZSTO.js +210 -0
- package/dist/NumSplineEditor.unit.spec-S65AV5EK.js +224 -0
- package/dist/NumericDensity-5ES4SDWZ.js +33 -0
- package/dist/NumericDensity.unit.spec-J6KZSE2P.js +418 -0
- package/dist/NumericHandler-ZTLDPP2F.js +34 -0
- package/dist/NumericHandler.unit.spec-BZFBVHGU.js +214 -0
- package/dist/ProteomeInput-IKEXPCGV.js +388 -0
- package/dist/Regression-6F6YP3AX.js +1416 -0
- package/dist/RunChart2-CVRPXQH5.js +749 -0
- package/dist/SC-FPXVXBXF.js +1175 -0
- package/dist/SC-FPXVXBXF.js.map +7 -0
- package/dist/Violin-BAS6DQHL.js +1081 -0
- package/dist/Violin-BAS6DQHL.js.map +7 -0
- package/dist/Volcano-FCCWUMX7.js +1649 -0
- package/dist/Wsi-3YTFABWG.js +629 -0
- package/dist/Wsi-3YTFABWG.js.map +7 -0
- package/dist/adSandbox-QYIG6637.js +33 -0
- package/dist/animatedBubbleChart-X53PR73H.js +547 -0
- package/dist/app-HJLTRZPI.js +32 -0
- package/dist/app-MGY6A4DM.js +42 -0
- package/dist/app.js +14 -14
- package/dist/bam-VRQHRCP5.js +876 -0
- package/dist/barchart-TWMOUZFL.js +42 -0
- package/dist/barchart2-CV7RMMRG.js +309 -0
- package/dist/block-L53P4UGQ.js +6249 -0
- package/dist/block.init-XYOJTXKP.js +33 -0
- package/dist/block.mds.expressionrank-77FSBDHA.js +354 -0
- package/dist/block.mds.geneboxplot-4TSYV4WS.js +823 -0
- package/dist/block.mds.junction-P4MYDET6.js +1539 -0
- package/dist/block.mds.svcnv-CYOFAS2T.js +6796 -0
- package/dist/block.svg-IT3ELCF4.js +159 -0
- package/dist/block.tk.aicheck-GULHJLV5.js +278 -0
- package/dist/block.tk.ase-RW5YL6HN.js +360 -0
- package/dist/block.tk.bam-MPGQW6KB.js +1901 -0
- package/dist/block.tk.bedgraphdot-EYRY374P.js +379 -0
- package/dist/block.tk.bigwig.ui-BKSXCDNM.js +206 -0
- package/dist/block.tk.hicstraw-76PV6NM3.js +818 -0
- package/dist/block.tk.junction-Z52QHQJQ.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-K32OOTZC.js +194 -0
- package/dist/block.tk.ld-DDGLRHPO.js +94 -0
- package/dist/block.tk.menu-MO6TESKI.js +1024 -0
- package/dist/block.tk.pgv-AKLKKSEP.js +938 -0
- package/dist/brainImaging-KSTJQJAB.js +555 -0
- package/dist/brainRegions-WCRMMSK4.js +217 -0
- package/dist/bubbleHeatmap-4YOQ3BAB.js +378 -0
- package/dist/cellTypeBubbleHeatmap-O6YZ2RW4.js +278 -0
- package/dist/chunk-3GUVLDUS.js +299 -0
- package/dist/chunk-3PQDD5HM.js +446 -0
- package/dist/chunk-3WYUHDDP.js +1986 -0
- package/dist/chunk-4C7MA5Q3.js +158 -0
- package/dist/chunk-4EZLVENZ.js +1612 -0
- package/dist/chunk-4EZLVENZ.js.map +7 -0
- package/dist/chunk-4PB5ZEOB.js +102 -0
- package/dist/chunk-5IMFPVGT.js +119 -0
- package/dist/chunk-6DPELKO5.js +518 -0
- package/dist/chunk-6HGTVMZM.js +54 -0
- package/dist/chunk-6HGTVMZM.js.map +7 -0
- package/dist/chunk-72P6O537.js +1731 -0
- package/dist/chunk-72P6O537.js.map +7 -0
- package/dist/chunk-74C6G6JD.js +397 -0
- package/dist/chunk-A7TXS6JR.js +276 -0
- package/dist/chunk-AAJXHERO.js +123 -0
- package/dist/chunk-AVS4IXEA.js +692 -0
- package/dist/chunk-AVS4IXEA.js.map +7 -0
- package/dist/chunk-BFXZBZEV.js +176 -0
- package/dist/chunk-BGVGN73F.js +480 -0
- package/dist/chunk-BL7EYUZC.js +6360 -0
- package/dist/chunk-BPGZUNLL.js +274 -0
- package/dist/chunk-CPIPN5F6.js +141 -0
- package/dist/chunk-D5MSWPAZ.js +217 -0
- package/dist/chunk-DFT2PAIU.js +243 -0
- package/dist/chunk-DMWOK4DS.js +178 -0
- package/dist/chunk-DMWOK4DS.js.map +7 -0
- package/dist/chunk-E7NVJ44Z.js +263 -0
- package/dist/chunk-EMMGUSJB.js +54 -0
- package/dist/chunk-G3CCQOLH.js +240 -0
- package/dist/chunk-GGQVDHYF.js +379 -0
- package/dist/chunk-GMRIEUBW.js +408 -0
- package/dist/chunk-GMRIEUBW.js.map +7 -0
- package/dist/chunk-GPZYAJQH.js +2676 -0
- package/dist/chunk-GS6ZMPKP.js +272 -0
- package/dist/chunk-GUXKLMLM.js +102 -0
- package/dist/chunk-HELEV3LT.js +2853 -0
- package/dist/chunk-HKKTNIMX.js +339 -0
- package/dist/chunk-HKSRIEWJ.js +26 -0
- package/dist/chunk-IELQ3HMN.js +70 -0
- package/dist/chunk-IISNWG4X.js +103 -0
- package/dist/chunk-J7KB2MH3.js +34 -0
- package/dist/chunk-JEJV7V7M.js +2327 -0
- package/dist/chunk-JIZ3B32T.js +626 -0
- package/dist/chunk-KAY2ODXX.js +38 -0
- package/dist/chunk-KJM6PLXM.js +5071 -0
- package/dist/chunk-KZHF3MQX.js +1278 -0
- package/dist/chunk-MC674TS2.js +194 -0
- package/dist/chunk-MLKQZ3RL.js +1339 -0
- package/dist/chunk-MSSPT5YM.js +550 -0
- package/dist/chunk-N6IWVSFP.js +4375 -0
- package/dist/chunk-N6IWVSFP.js.map +7 -0
- package/dist/chunk-NBGVEZNX.js +56 -0
- package/dist/chunk-NBGVEZNX.js.map +7 -0
- package/dist/chunk-OBBR4UYN.js +54 -0
- package/dist/chunk-PQA3C2NY.js +294 -0
- package/dist/chunk-QJ2VBXFB.js +134 -0
- package/dist/chunk-QJ3HYZH3.js +24772 -0
- package/dist/chunk-QJ3HYZH3.js.map +7 -0
- package/dist/chunk-QP7EJXSU.js +55 -0
- package/dist/chunk-QUHXX7JE.js +56 -0
- package/dist/chunk-QUHXX7JE.js.map +7 -0
- package/dist/chunk-REPQKF5L.js +182 -0
- package/dist/chunk-REPQKF5L.js.map +7 -0
- package/dist/chunk-SHXJW27D.js +2784 -0
- package/dist/chunk-SUNDNTVY.js +302 -0
- package/dist/chunk-TSI4W6XO.js +98 -0
- package/dist/chunk-TXIQ5PHR.js +468 -0
- package/dist/chunk-U45R6QNT.js +562 -0
- package/dist/chunk-UMZJQWWK.js +1233 -0
- package/dist/chunk-VMRO6DMC.js +2140 -0
- package/dist/chunk-VMRO6DMC.js.map +7 -0
- package/dist/chunk-VO7Q4WMM.js +55 -0
- package/dist/chunk-VWGRKOVJ.js +170 -0
- package/dist/chunk-WCTKHF5T.js +197 -0
- package/dist/chunk-WOMERKMR.js +31 -0
- package/dist/chunk-WXX2YD4Q.js +59 -0
- package/dist/chunk-X44AR557.js +382 -0
- package/dist/chunk-XEU5HXOY.js +783 -0
- package/dist/chunk-XGYQZHNX.js +281 -0
- package/dist/chunk-XOND7UIK.js +49 -0
- package/dist/chunk-XRMUUWLS.js +339 -0
- package/dist/chunk-XTOGCXPD.js +129 -0
- package/dist/chunk-Y5BBFDC3.js +14 -0
- package/dist/chunk-Z2FSHODI.js +203 -0
- package/dist/cohort-JWIQOO7U.js +70 -0
- package/dist/condition-ZUAQYF5C.js +327 -0
- package/dist/controls-ZPQ6SXD2.js +34 -0
- package/dist/controls.config-NELL5HY5.js +34 -0
- package/dist/correlation-2X76UI3K.js +95 -0
- package/dist/customdata.inputui-V6QIGFRP.js +284 -0
- package/dist/dataDownload-NSDY4MSL.js +329 -0
- package/dist/databrowser.ui-DDLFQB6K.js +425 -0
- package/dist/dictionary-WSDD6TFI.js +113 -0
- package/dist/dnaMethylation-3IM4OACZ.js +33 -0
- package/dist/dnaMethylation.integration.spec-5CSJA67S.js +198 -0
- package/dist/dofetch-GZ7POIBV.js +48 -0
- package/dist/e2pca-AX7U2DOI.js +344 -0
- package/dist/ep-UKACHFJU.js +1249 -0
- package/dist/expclust.gdc.spec-46HDKH2Q.js +302 -0
- package/dist/facet-3EONZDDE.js +519 -0
- package/dist/gb-W7GX5NWS.js +81 -0
- package/dist/geneExpClustering-PJA6Y5GW.js +244 -0
- package/dist/geneExpression-EMLVPVNK.js +310 -0
- package/dist/geneExpression-JMGYBT53.js +33 -0
- package/dist/geneExpression.unit.spec-DDZVZJVC.js +128 -0
- package/dist/geneORA-CIAFQQWB.js +273 -0
- package/dist/geneRanking-JRAU6FMJ.js +548 -0
- package/dist/geneVariant-3DZTWQFG.js +36 -0
- package/dist/geneVariant-YWURIZ72.js +286 -0
- package/dist/geneVariant.integration.spec-V3KECZMM.js +489 -0
- package/dist/genefusion.ui-AO3TUDTL.js +303 -0
- package/dist/geneset-RCIP2GZH.js +203 -0
- package/dist/genomeBrowser.spec-7PZCNBL3.js +276 -0
- package/dist/grin2-EUBCNH4Q.js +70 -0
- package/dist/grin2-YYBB5XJK.js +1137 -0
- package/dist/hierCluster-AV5NO2GW.js +59 -0
- package/dist/hierCluster-W2MVN34V.js +55 -0
- package/dist/hierCluster.config-4MBWG6RZ.js +36 -0
- package/dist/hierCluster.integration.spec-JUIBIUKH.js +483 -0
- package/dist/hierCluster.interactivity-6PJE64PF.js +49 -0
- package/dist/hierCluster.renderers-RWDQ5SHY.js +19 -0
- package/dist/imagePlot-XLDQNUJA.js +156 -0
- package/dist/importPlot-7FISAQKR.js +8 -0
- package/dist/isoformExpression-WOQAOVZS.js +35 -0
- package/dist/isoformExpression.unit.spec-BMEGJNCO.js +237 -0
- package/dist/junction-6NO36IPU.js +36 -0
- package/dist/junction.customTerm-N6JAOWZO.js +16 -0
- package/dist/junction.unit.spec-UKGSQHO4.js +182 -0
- package/dist/launch.adhoc-42PUNEA6.js +37 -0
- package/dist/leftlabel.sample-EXAUDPSB.js +258 -0
- package/dist/lollipop-4ASTA5HO.js +166 -0
- package/dist/maf-HPXANL3M.js +455 -0
- package/dist/maftimeline-2SXFX3HF.js +587 -0
- package/dist/matrix-DX4W5XMX.js +59 -0
- package/dist/matrix-S34ITAPJ.js +54 -0
- package/dist/matrix.cells-BLULUGSZ.js +26 -0
- package/dist/matrix.config-Z3LWYH74.js +37 -0
- package/dist/matrix.data-73HY7Y2V.js +23 -0
- package/dist/matrix.groups-NOUMYNFY.js +26 -0
- package/dist/matrix.integration.spec-VTXYJ46U.js +3160 -0
- package/dist/matrix.interactivity-YHDIO5A2.js +37 -0
- package/dist/matrix.layout-25HYKUF2.js +39 -0
- package/dist/matrix.legend-IMK7DH4V.js +20 -0
- package/dist/matrix.renderers-3RZRN6HO.js +34 -0
- package/dist/matrix.serieses-ZTVHQ7QA.js +19 -0
- package/dist/matrix.sort-EDXHT6NZ.js +26 -0
- package/dist/matrix.sort.unit.spec-LSNY7PHU.js +468 -0
- package/dist/matrix.sorterUi-3DRNHG5Z.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-GNIIWGRJ.js +338 -0
- package/dist/matrix.unit.spec-7A6ZFRXI.js +150 -0
- package/dist/mavb-M5AXPLYX.js +727 -0
- package/dist/mds.fimo-QE5OFA22.js +513 -0
- package/dist/mds.samplescatterplot-664EOHX2.js +1545 -0
- package/dist/mds.survivalplot-H4TJD44D.js +477 -0
- package/dist/multivalue-JD3CNQJR.js +83 -0
- package/dist/numericDictTermCluster-XPKEYXD7.js +63 -0
- package/dist/oncomatrix-TX5PZQ76.js +290 -0
- package/dist/oncomatrix.spec-6X2WAHL7.js +443 -0
- package/dist/plot.2dvaf-5OHUFTMK.js +372 -0
- package/dist/plot.app-XIVVJHWG.js +36 -0
- package/dist/plot.barplot-PSODLAXD.js +97 -0
- package/dist/plot.boxplot-W3ASYFOG.js +146 -0
- package/dist/plot.brainImaging-JGDLKLR7.js +51 -0
- package/dist/plot.disco-TPMXTTZK.js +99 -0
- package/dist/plot.ssgq-KIZIOZIF.js +134 -0
- package/dist/plot.vaf2cov-MSMW72IY.js +253 -0
- package/dist/polar2-LA4MSRRN.js +232 -0
- package/dist/profileForms-BJRNB2ZF.js +941 -0
- package/dist/profilePlot-DDO53C4T.js +49 -0
- package/dist/proteinView-NFUR42XQ.js +1357 -0
- package/dist/proteomeCohortCompare-OZVF3X66.js +912 -0
- package/dist/pseudbulk.unit.spec-RY72JF7A.js +86 -0
- package/dist/pseudbulk.unit.spec-RY72JF7A.js.map +7 -0
- package/dist/pseudobulk-UVT5G2VL.js +35 -0
- package/dist/qualitative-X3VXNC7X.js +38 -0
- package/dist/radar2-RTVUJ3AN.js +327 -0
- package/dist/radarFacility2-ZGLZ5AKM.js +335 -0
- package/dist/rememberedGvQ.unit.spec-RLLLWU5M.js +211 -0
- package/dist/render-LR5BOYW6.js +33 -0
- package/dist/report-37W5OXUM.js +217 -0
- package/dist/sampleView-BDC2WPH7.js +43 -0
- package/dist/samplelst-V2EIVZC5.js +106 -0
- package/dist/samplematrix-XOSKILUL.js +2193 -0
- package/dist/sc-ZVZPWQY7.js +81 -0
- package/dist/scatter-2ZE5MCYH.js +88 -0
- package/dist/scatter-ZOWFPGIS.js +925 -0
- package/dist/scatter-ZOWFPGIS.js.map +7 -0
- package/dist/selectGenomeWithTklst-EF7WYEAJ.js +129 -0
- package/dist/singleCellCellType-TKCGC3G3.js +33 -0
- package/dist/singleCellCellType.unit.spec-JZ6UHC5F.js +154 -0
- package/dist/singleCellGeneExpression-I2INGXGI.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-KL77FSHZ.js +148 -0
- package/dist/singleCellNumericValue-2X5NCEHL.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js +416 -0
- package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js.map +7 -0
- package/dist/singleCellPlot-Q6INE54V.js +48 -0
- package/dist/singlecell-5N2P5ZAT.js +81 -0
- package/dist/singlecell-NPSWMNI3.js +1566 -0
- package/dist/snp-2WPJYPDE.js +33 -0
- package/dist/snp.unit.spec-PPWIIOX6.js +171 -0
- package/dist/snplocus-T3HZFZWA.js +203 -0
- package/dist/spliceevent.a53ss.diagram-APCF4LV5.js +146 -0
- package/dist/spliceevent.exonskip.diagram-TT5JGBSC.js +278 -0
- package/dist/spliceevent.noeventdiagram-CPXQSX3Z.js +455 -0
- package/dist/ssGSEA-FSX6P7HA.js +33 -0
- package/dist/ssGSEA.unit.spec-TXYT665R.js +83 -0
- package/dist/stattable-BD64SFYV.js +117 -0
- package/dist/studyCatalog-6BOWO4PO.js +414 -0
- package/dist/summarizeCnvGeneexp-AMLYJIPU.js +158 -0
- package/dist/summarizeGeneexpSurvival-IDM7T333.js +105 -0
- package/dist/summarizeMutationCnv-R6SYSJQC.js +159 -0
- package/dist/summarizeMutationDiagnosis-XZJ4JLW2.js +35 -0
- package/dist/summarizeMutationSurvival-ABJ5RL4L.js +99 -0
- package/dist/summary-NVYCTE6P.js +44 -0
- package/dist/summary.integration.spec-SSLTLVNW.js +409 -0
- package/dist/summaryInput-SJOZETRP.js +242 -0
- package/dist/sunburst-RU5ZPJKW.js +278 -0
- package/dist/survival-BHJQMXKI.js +53 -0
- package/dist/survival-DVG6Y2FV.js +1248 -0
- package/dist/survival.integration.spec-OJUPTY5N.js +613 -0
- package/dist/survival.integration.spec-OJUPTY5N.js.map +7 -0
- package/dist/svgraph-ETFA4GRX.js +1382 -0
- package/dist/svmr-AI3RU4JK.js +3837 -0
- package/dist/table-YCTSMLQL.js +197 -0
- package/dist/termCollection-GMKEZR6D.js +252 -0
- package/dist/termCollection-VEVKKJZD.js +33 -0
- package/dist/termCollection.unit.spec-EU6YCEPX.js +299 -0
- package/dist/termCollectionFractionSelection-UBS74X36.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-Y5OJFGDD.js +188 -0
- package/dist/tk-HMF4HCNV.js +1121 -0
- package/dist/tk-W6Z4FJMW.js +41 -0
- package/dist/tp.ui-NECRDJCS.js +1454 -0
- package/dist/tvs.dt-2JEH3F35.js +34 -0
- package/dist/tvs.dtcnv.categorical-YBXKEBR2.js +35 -0
- package/dist/tvs.dtcnv.continuous-AD3SJ6BY.js +67 -0
- package/dist/tvs.dtfusion-ODI3CLQS.js +35 -0
- package/dist/tvs.dtitd-V3LYLPJY.js +35 -0
- package/dist/tvs.dtsnvindel-R3V5LTNL.js +35 -0
- package/dist/tvs.dtsv-ZQLKEDLJ.js +35 -0
- package/dist/tvs.samplelst-G25A7HM6.js +98 -0
- package/dist/tvs.termCollection-WLVCWDEJ.js +124 -0
- package/dist/vocabulary-6K537FJM.js +36 -0
- package/dist/vocabulary-6K537FJM.js.map +7 -0
- package/dist/wsi.direct-SNPPQPVO.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-32F56QBJ.js +0 -1367
- package/dist/AggMatrixInput-RDFMGV47.js +0 -277
- package/dist/AggMatrixInput-RDFMGV47.js.map +0 -7
- package/dist/AggregateMatrix-TPXNNWVD.js +0 -41
- package/dist/AppHeader-SEJXDJE3.js +0 -830
- package/dist/BoxPlot-LOAO2MDO.js +0 -1211
- package/dist/CorrelationVolcano-AU6ZAFPG.js +0 -614
- package/dist/CorrelationVolcano-AU6ZAFPG.js.map +0 -7
- package/dist/Cuminc-O533BXFY.js +0 -1219
- package/dist/DE-FDAUNOWU.js +0 -89
- package/dist/DEinput-TF2VYTIJ.js +0 -499
- package/dist/DM-42YN3OEO.js +0 -90
- package/dist/DifferentialAnalysis-H5NBPR3P.js +0 -237
- package/dist/DifferentialAnalysis-H5NBPR3P.js.map +0 -7
- package/dist/Disco-FGFHIKUR.js +0 -3389
- package/dist/Disco.UI-YGIU2JPM.js +0 -243
- package/dist/DmrPlot-EQFXMAW5.js +0 -637
- package/dist/GB-244UT5VU.js +0 -1391
- package/dist/GSEA-KXQBR3HH.js +0 -851
- package/dist/GeneExpInput-ZY6SHXTX.js +0 -42
- package/dist/Geomap-6ZV4AM23.js +0 -84
- package/dist/HicApp-4UHX2YGP.js +0 -2245
- package/dist/IDCViewer-AB6LLO64.js +0 -10812
- package/dist/NumBinaryEditor-CGSO2T4L.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +0 -312
- package/dist/NumContEditor-YLKSC4Y2.js +0 -105
- package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +0 -164
- package/dist/NumCustomBinEditor-K3XSFHCC.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +0 -397
- package/dist/NumDiscreteEditor-RJCSIW4R.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +0 -233
- package/dist/NumRegularBinEditor-C3VIFDS4.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +0 -278
- package/dist/NumSplineEditor-XBE7OV7P.js +0 -210
- package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +0 -224
- package/dist/NumericDensity-ZL7UY7TL.js +0 -33
- package/dist/NumericDensity.unit.spec-CWTMSR56.js +0 -418
- package/dist/NumericHandler-56ENFMNK.js +0 -34
- package/dist/NumericHandler.unit.spec-3YW34TTJ.js +0 -214
- package/dist/ProteomeInput-HIS4GYWH.js +0 -388
- package/dist/Regression-C5GZYLEN.js +0 -1416
- package/dist/RunChart2-X5WKYLPQ.js +0 -749
- package/dist/SC-3Y5J65DT.js +0 -1107
- package/dist/SC-3Y5J65DT.js.map +0 -7
- package/dist/Violin-F3QS2EMJ.js +0 -1082
- package/dist/Violin-F3QS2EMJ.js.map +0 -7
- package/dist/Volcano-ZNYDKP2O.js +0 -1649
- package/dist/Wsi-B6EIGTI2.js +0 -609
- package/dist/Wsi-B6EIGTI2.js.map +0 -7
- package/dist/adSandbox-A52OQSOW.js +0 -33
- package/dist/animatedBubbleChart-OQOZ3WFK.js +0 -547
- package/dist/app-4KIKXQX4.js +0 -32
- package/dist/app-NZUNKWKK.js +0 -42
- package/dist/bam-SME7YD3E.js +0 -876
- package/dist/barchart-ESY6FOS4.js +0 -42
- package/dist/barchart2-XEJZGCES.js +0 -309
- package/dist/block-747IK2EW.js +0 -6249
- package/dist/block.init-ITZ42K43.js +0 -33
- package/dist/block.mds.expressionrank-Q63IJAJK.js +0 -354
- package/dist/block.mds.geneboxplot-EZIKAIKC.js +0 -823
- package/dist/block.mds.junction-TJXFKZ2Q.js +0 -1539
- package/dist/block.mds.svcnv-WSIEAII6.js +0 -6796
- package/dist/block.svg-CQX5W6R4.js +0 -159
- package/dist/block.tk.aicheck-J4MQ4BSD.js +0 -278
- package/dist/block.tk.ase-2JFNPWCZ.js +0 -360
- package/dist/block.tk.bam-RBQ4AXSQ.js +0 -1901
- package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +0 -379
- package/dist/block.tk.bigwig.ui-U5IBO3VF.js +0 -206
- package/dist/block.tk.hicstraw-ZRZMFLLX.js +0 -818
- package/dist/block.tk.junction-7U7ABE4O.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +0 -194
- package/dist/block.tk.ld-E7WPFL5P.js +0 -94
- package/dist/block.tk.menu-AITMEZTZ.js +0 -1024
- package/dist/block.tk.pgv-EDPZHI5L.js +0 -938
- package/dist/brainImaging-35LPNBDR.js +0 -555
- package/dist/brainRegions-JMTQT4X3.js +0 -217
- package/dist/bubbleHeatmap-FMBKMDUL.js +0 -378
- package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +0 -278
- package/dist/chunk-2GBG3KA7.js +0 -129
- package/dist/chunk-2IVN5DWA.js +0 -302
- package/dist/chunk-36AAUYZE.js +0 -194
- package/dist/chunk-3K7AYA3M.js +0 -54
- package/dist/chunk-4JFFFGL3.js +0 -468
- package/dist/chunk-4KJSNR5E.js +0 -562
- package/dist/chunk-52QHIKH2.js +0 -2139
- package/dist/chunk-52QHIKH2.js.map +0 -7
- package/dist/chunk-5ALGKNTQ.js +0 -6360
- package/dist/chunk-5JCTTSV4.js +0 -480
- package/dist/chunk-5W7K7STT.js +0 -26
- package/dist/chunk-6CIGRV5K.js +0 -677
- package/dist/chunk-6CIGRV5K.js.map +0 -7
- package/dist/chunk-6U2OPC6J.js +0 -176
- package/dist/chunk-7AHTS4BP.js +0 -382
- package/dist/chunk-7HFAEB3C.js +0 -55
- package/dist/chunk-7HGZRJZZ.js +0 -98
- package/dist/chunk-A2ORIMUJ.js +0 -339
- package/dist/chunk-A32SGNCT.js +0 -1233
- package/dist/chunk-AKA6RWLC.js +0 -217
- package/dist/chunk-AMVZ6KT5.js +0 -240
- package/dist/chunk-ASXUC6SM.js +0 -54
- package/dist/chunk-BCO5T43J.js +0 -379
- package/dist/chunk-BDQPMVKD.js +0 -783
- package/dist/chunk-BOQZOLRA.js +0 -274
- package/dist/chunk-BSCMVKBP.js +0 -5071
- package/dist/chunk-BZN2O76M.js +0 -119
- package/dist/chunk-BZZZQFTI.js +0 -34
- package/dist/chunk-CRHGXVUQ.js +0 -272
- package/dist/chunk-D6AB63O3.js +0 -216
- package/dist/chunk-D6AB63O3.js.map +0 -7
- package/dist/chunk-DPQP2GUW.js +0 -626
- package/dist/chunk-EKQ7NYOU.js +0 -276
- package/dist/chunk-EUQEQOFE.js +0 -141
- package/dist/chunk-FKA55PHV.js +0 -281
- package/dist/chunk-GVLWCGXX.js +0 -397
- package/dist/chunk-HLVWCJRO.js +0 -518
- package/dist/chunk-HPAW7XDM.js +0 -178
- package/dist/chunk-HPAW7XDM.js.map +0 -7
- package/dist/chunk-IV57XNTG.js +0 -123
- package/dist/chunk-JMAFJKGG.js +0 -243
- package/dist/chunk-JZHRVYNS.js +0 -2676
- package/dist/chunk-K6YUMBDY.js +0 -55
- package/dist/chunk-L6WNBKYN.js +0 -158
- package/dist/chunk-LGR6CJTW.js +0 -2853
- package/dist/chunk-LOWJQFCC.js +0 -550
- package/dist/chunk-M5SYLBBC.js +0 -2327
- package/dist/chunk-MKAILEWO.js +0 -59
- package/dist/chunk-N4PDPZWQ.js +0 -4366
- package/dist/chunk-N4PDPZWQ.js.map +0 -7
- package/dist/chunk-OIJ6GRVS.js +0 -134
- package/dist/chunk-ONVIVITY.js +0 -203
- package/dist/chunk-OQX3HO46.js +0 -56
- package/dist/chunk-OQX3HO46.js.map +0 -7
- package/dist/chunk-OYLGAFFY.js +0 -31
- package/dist/chunk-P7DIIYCX.js +0 -197
- package/dist/chunk-PC4MFDHP.js +0 -24613
- package/dist/chunk-PC4MFDHP.js.map +0 -7
- package/dist/chunk-PGKOJYV6.js +0 -50
- package/dist/chunk-PGKOJYV6.js.map +0 -7
- package/dist/chunk-PPSWNLMG.js +0 -402
- package/dist/chunk-PPSWNLMG.js.map +0 -7
- package/dist/chunk-R624P2GE.js +0 -263
- package/dist/chunk-RBSAEAQV.js +0 -446
- package/dist/chunk-RUBZCKIX.js +0 -1608
- package/dist/chunk-RUBZCKIX.js.map +0 -7
- package/dist/chunk-RZ3KEFZ2.js +0 -339
- package/dist/chunk-SS66BHGA.js +0 -103
- package/dist/chunk-SU63FEY6.js +0 -294
- package/dist/chunk-SVC65ZPG.js +0 -102
- package/dist/chunk-TG3QBMDK.js +0 -102
- package/dist/chunk-TMXW5HVE.js +0 -1278
- package/dist/chunk-TPDBOH3A.js +0 -1339
- package/dist/chunk-U5RWKZVS.js +0 -1720
- package/dist/chunk-U5RWKZVS.js.map +0 -7
- package/dist/chunk-UYKZ5HXA.js +0 -1986
- package/dist/chunk-VOYUJJQ6.js +0 -70
- package/dist/chunk-W4RYRU5D.js +0 -38
- package/dist/chunk-WFSMIVJT.js +0 -2784
- package/dist/chunk-Y4PX2ECH.js +0 -299
- package/dist/chunk-YKM46UX5.js +0 -170
- package/dist/chunk-Z7AO6A7M.js +0 -14
- package/dist/chunk-ZENZ5H2Q.js +0 -49
- package/dist/cohort-Q7TW5XTY.js +0 -70
- package/dist/condition-H6LBUHIF.js +0 -327
- package/dist/controls-DWDKFDXY.js +0 -34
- package/dist/controls.config-KF7PHZSG.js +0 -34
- package/dist/correlation-YMSARIER.js +0 -95
- package/dist/customdata.inputui-KEFE7ZHS.js +0 -284
- package/dist/dataDownload-G7TGPFGL.js +0 -329
- package/dist/databrowser.ui-NFIIFQJZ.js +0 -425
- package/dist/dictionary-ERJQMALC.js +0 -113
- package/dist/dnaMethylation-KVCXKAU3.js +0 -33
- package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +0 -198
- package/dist/dofetch-YRWLEQEH.js +0 -48
- package/dist/e2pca-M2F2CI6I.js +0 -344
- package/dist/ep-QAEG4RV4.js +0 -1249
- package/dist/expclust.gdc.spec-P77T6JR2.js +0 -302
- package/dist/facet-LJTSTASE.js +0 -519
- package/dist/gb-KSB2DQHH.js +0 -81
- package/dist/geneExpClustering-KHDCPE65.js +0 -244
- package/dist/geneExpression-AWWMOUAR.js +0 -310
- package/dist/geneExpression-Z2EDR6EN.js +0 -33
- package/dist/geneExpression.unit.spec-WB2ESPKT.js +0 -128
- package/dist/geneORA-NGZTMFSJ.js +0 -273
- package/dist/geneRanking-AYNBGFKU.js +0 -548
- package/dist/geneVariant-AL64NDHH.js +0 -36
- package/dist/geneVariant-QMKR3LUV.js +0 -286
- package/dist/geneVariant.integration.spec-N3U5CIRT.js +0 -489
- package/dist/genefusion.ui-IWJMF2BM.js +0 -303
- package/dist/geneset-APCO4BRX.js +0 -203
- package/dist/genomeBrowser.spec-JTCVUTO5.js +0 -276
- package/dist/grin2-FVX6AIST.js +0 -70
- package/dist/grin2-LF46UKFY.js +0 -1137
- package/dist/hierCluster-4DRHXD6W.js +0 -55
- package/dist/hierCluster-SFRQK3PS.js +0 -59
- package/dist/hierCluster.config-G2TFGBYF.js +0 -36
- package/dist/hierCluster.integration.spec-ZUZKCG6A.js +0 -483
- package/dist/hierCluster.interactivity-LQA6J56H.js +0 -49
- package/dist/hierCluster.renderers-TZZJEVFO.js +0 -19
- package/dist/imagePlot-OUHFWYKT.js +0 -156
- package/dist/importPlot-7V456QK7.js +0 -8
- package/dist/isoformExpression-NGUJJ6VI.js +0 -35
- package/dist/isoformExpression.unit.spec-DCRPXPBY.js +0 -237
- package/dist/junction-QYKLNXIW.js +0 -36
- package/dist/junction.customTerm-EHOOBR4V.js +0 -16
- package/dist/junction.unit.spec-LDNY7OFK.js +0 -182
- package/dist/launch.adhoc-FF7B3UG6.js +0 -37
- package/dist/leftlabel.sample-BTHMKLGF.js +0 -258
- package/dist/lollipop-H3UCNMHN.js +0 -166
- package/dist/maf-KWGUTPKO.js +0 -455
- package/dist/maftimeline-UD5VE4UW.js +0 -587
- package/dist/matrix-DLCX6GOO.js +0 -59
- package/dist/matrix-TIV42IQB.js +0 -54
- package/dist/matrix.cells-J3QZ7C6U.js +0 -26
- package/dist/matrix.config-VNMS6B7J.js +0 -37
- package/dist/matrix.data-PIE3TLKD.js +0 -23
- package/dist/matrix.groups-URBU775S.js +0 -26
- package/dist/matrix.integration.spec-LC6YMEKP.js +0 -3160
- package/dist/matrix.interactivity-W5AFOAQN.js +0 -37
- package/dist/matrix.layout-LU3NIJAL.js +0 -39
- package/dist/matrix.legend-LTP6ETZO.js +0 -20
- package/dist/matrix.renderers-762XI65L.js +0 -34
- package/dist/matrix.serieses-FHDBRPZA.js +0 -19
- package/dist/matrix.sort-Q6A6UWMY.js +0 -26
- package/dist/matrix.sort.unit.spec-CTCOPKVS.js +0 -468
- package/dist/matrix.sorterUi-4M5AU5EL.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +0 -338
- package/dist/matrix.unit.spec-DROPHFTM.js +0 -150
- package/dist/mavb-BWA73N3U.js +0 -727
- package/dist/mds.fimo-3UJWIH2J.js +0 -513
- package/dist/mds.samplescatterplot-EUS7DCSQ.js +0 -1545
- package/dist/mds.survivalplot-77UEBQIC.js +0 -477
- package/dist/multivalue-KZ2DMVIR.js +0 -83
- package/dist/numericDictTermCluster-C2MYJYPZ.js +0 -63
- package/dist/oncomatrix-6LGB3M7R.js +0 -290
- package/dist/oncomatrix.spec-UWMSLOHW.js +0 -443
- package/dist/plot.2dvaf-LZAVWH65.js +0 -372
- package/dist/plot.app-OEWE3AYV.js +0 -36
- package/dist/plot.barplot-VIBHGTUT.js +0 -97
- package/dist/plot.boxplot-NQI3PSKR.js +0 -146
- package/dist/plot.brainImaging-3MTTCZHI.js +0 -51
- package/dist/plot.disco-HODBY7SO.js +0 -99
- package/dist/plot.ssgq-4URQE673.js +0 -134
- package/dist/plot.vaf2cov-QIJNEKCK.js +0 -253
- package/dist/polar2-GVFQNSLK.js +0 -232
- package/dist/profileForms-Z22CJXI4.js +0 -941
- package/dist/profilePlot-IVQZBSID.js +0 -49
- package/dist/proteinView-AUK634AU.js +0 -1357
- package/dist/proteomeCohortCompare-7G2F35H5.js +0 -912
- package/dist/pseudbulk.unit.spec-JDKUQUCM.js +0 -106
- package/dist/pseudbulk.unit.spec-JDKUQUCM.js.map +0 -7
- package/dist/pseudobulk-QTCUSH5I.js +0 -37
- package/dist/qualitative-7ST7SSBT.js +0 -38
- package/dist/radar2-CEE6SNBS.js +0 -327
- package/dist/radarFacility2-OSKDYIK7.js +0 -335
- package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +0 -211
- package/dist/render-MAD3WMVD.js +0 -33
- package/dist/report-6JXJVSEB.js +0 -217
- package/dist/sampleView-SG3QYZKQ.js +0 -43
- package/dist/samplelst-R765UFP6.js +0 -106
- package/dist/samplematrix-EBJYE5SM.js +0 -2193
- package/dist/sc-7ZXPFDHD.js +0 -81
- package/dist/scatter-3GUL4KF3.js +0 -88
- package/dist/scatter-RHUVER53.js +0 -920
- package/dist/scatter-RHUVER53.js.map +0 -7
- package/dist/selectGenomeWithTklst-K4YXGJYG.js +0 -129
- package/dist/singleCellCellType-TU5VTPLP.js +0 -33
- package/dist/singleCellCellType.unit.spec-IRITQIGT.js +0 -154
- package/dist/singleCellGeneExpression-3IL52QDK.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +0 -148
- package/dist/singleCellPlot-XG3HZS7I.js +0 -48
- package/dist/singlecell-BRF2HAV2.js +0 -81
- package/dist/singlecell-KVCJF2HI.js +0 -1566
- package/dist/snp-RMZRB426.js +0 -33
- package/dist/snp.unit.spec-JF6KR2NT.js +0 -171
- package/dist/snplocus-AHUFHQ3Q.js +0 -203
- package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +0 -146
- package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +0 -278
- package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +0 -455
- package/dist/ssGSEA-7RKWYZKX.js +0 -33
- package/dist/ssGSEA.unit.spec-XLCZHH7S.js +0 -83
- package/dist/stattable-NDYUCLVZ.js +0 -117
- package/dist/studyCatalog-TAXRF5NS.js +0 -414
- package/dist/summarizeCnvGeneexp-3QLHU6N7.js +0 -158
- package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +0 -105
- package/dist/summarizeMutationCnv-W7V7CKPI.js +0 -159
- package/dist/summarizeMutationDiagnosis-GCL4SRON.js +0 -35
- package/dist/summarizeMutationSurvival-6TTMSRRX.js +0 -99
- package/dist/summary-OUYDWLBF.js +0 -44
- package/dist/summary.integration.spec-4GTCG6HY.js +0 -409
- package/dist/summaryInput-UK3TLC7M.js +0 -242
- package/dist/sunburst-2UFHMNH3.js +0 -278
- package/dist/survival-SPWYSDVB.js +0 -53
- package/dist/survival-TL6UZ6FQ.js +0 -1248
- package/dist/survival.integration.spec-WWZELTKZ.js +0 -613
- package/dist/survival.integration.spec-WWZELTKZ.js.map +0 -7
- package/dist/svgraph-Z543MLIN.js +0 -1382
- package/dist/svmr-SZCAOAIF.js +0 -3837
- package/dist/table-IAQ6J4DO.js +0 -197
- package/dist/termCollection-3NGHR7QN.js +0 -252
- package/dist/termCollection-7P3WU6X6.js +0 -33
- package/dist/termCollection.unit.spec-EPYC7LOA.js +0 -299
- package/dist/termCollectionFractionSelection-YKIE6BME.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +0 -188
- package/dist/tk-TOXMU4GT.js +0 -1121
- package/dist/tk-X454XH5N.js +0 -41
- package/dist/tp.ui-FDQ76KPL.js +0 -1454
- package/dist/tvs.dt-U77PCG6X.js +0 -34
- package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +0 -35
- package/dist/tvs.dtcnv.continuous-4GJILFGP.js +0 -67
- package/dist/tvs.dtfusion-7YROAHVI.js +0 -35
- package/dist/tvs.dtitd-MIYU4ZHH.js +0 -35
- package/dist/tvs.dtsnvindel-XLDY7KWB.js +0 -35
- package/dist/tvs.dtsv-YMLJ37YR.js +0 -35
- package/dist/tvs.samplelst-KIVEXJKD.js +0 -98
- package/dist/tvs.termCollection-4CQV3EB3.js +0 -124
- package/dist/vocabulary-64GO4YDB.js +0 -36
- package/dist/wsi.direct-5MQVRJZX.js +0 -8343
- /package/dist/{2dmaf-32F56QBJ.js.map → 2dmaf-PN5YS362.js.map} +0 -0
- /package/dist/{AggregateMatrix-TPXNNWVD.js.map → AggregateMatrix-IBWOJWOC.js.map} +0 -0
- /package/dist/{AppHeader-SEJXDJE3.js.map → AppHeader-XV6S7GG5.js.map} +0 -0
- /package/dist/{BoxPlot-LOAO2MDO.js.map → BoxPlot-ZIVA55SK.js.map} +0 -0
- /package/dist/{Cuminc-O533BXFY.js.map → Cuminc-WKY35UGV.js.map} +0 -0
- /package/dist/{DE-FDAUNOWU.js.map → DE-E256DHID.js.map} +0 -0
- /package/dist/{DEinput-TF2VYTIJ.js.map → DEinput-YU3W72K7.js.map} +0 -0
- /package/dist/{DM-42YN3OEO.js.map → DM-W7PXTIKY.js.map} +0 -0
- /package/dist/{Disco-FGFHIKUR.js.map → Disco-OZY5GW2Z.js.map} +0 -0
- /package/dist/{Disco.UI-YGIU2JPM.js.map → Disco.UI-NRALEYXK.js.map} +0 -0
- /package/dist/{DmrPlot-EQFXMAW5.js.map → DmrPlot-QKUX5XUW.js.map} +0 -0
- /package/dist/{GB-244UT5VU.js.map → GB-ZYH7PGHT.js.map} +0 -0
- /package/dist/{GSEA-KXQBR3HH.js.map → GSEA-VQTD4MLY.js.map} +0 -0
- /package/dist/{GeneExpInput-ZY6SHXTX.js.map → GeneExpInput-XEFUTLFU.js.map} +0 -0
- /package/dist/{Geomap-6ZV4AM23.js.map → Geomap-GEK7UEDU.js.map} +0 -0
- /package/dist/{HicApp-4UHX2YGP.js.map → HicApp-ZY7UHV5H.js.map} +0 -0
- /package/dist/{IDCViewer-AB6LLO64.js.map → IDCViewer-YNKG4V46.js.map} +0 -0
- /package/dist/{NumBinaryEditor-CGSO2T4L.js.map → NumBinaryEditor-NEL727DX.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-3QHARZQJ.js.map → NumBinaryEditor.unit.spec-GCGZMJYF.js.map} +0 -0
- /package/dist/{NumContEditor-YLKSC4Y2.js.map → NumContEditor-IM6RRDGU.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-L3GC3ZTJ.js.map → NumContEditor.unit.spec-B5AJXANS.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-K3XSFHCC.js.map → NumCustomBinEditor-EZT5DRKP.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-2FUHE6BX.js.map → NumCustomBinEditor.unit.spec-KLUDS6TH.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-RJCSIW4R.js.map → NumDiscreteEditor-2M6Q5AAZ.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-CUA6BOIS.js.map → NumDiscreteEditor.unit.spec-2JYZYJUX.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-C3VIFDS4.js.map → NumRegularBinEditor-AQDHA2PU.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map → NumRegularBinEditor.unit.spec-62BYFNYG.js.map} +0 -0
- /package/dist/{NumSplineEditor-XBE7OV7P.js.map → NumSplineEditor-6Y5TZSTO.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-CKRRI4US.js.map → NumSplineEditor.unit.spec-S65AV5EK.js.map} +0 -0
- /package/dist/{NumericDensity-ZL7UY7TL.js.map → NumericDensity-5ES4SDWZ.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-CWTMSR56.js.map → NumericDensity.unit.spec-J6KZSE2P.js.map} +0 -0
- /package/dist/{NumericHandler-56ENFMNK.js.map → NumericHandler-ZTLDPP2F.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-3YW34TTJ.js.map → NumericHandler.unit.spec-BZFBVHGU.js.map} +0 -0
- /package/dist/{ProteomeInput-HIS4GYWH.js.map → ProteomeInput-IKEXPCGV.js.map} +0 -0
- /package/dist/{Regression-C5GZYLEN.js.map → Regression-6F6YP3AX.js.map} +0 -0
- /package/dist/{RunChart2-X5WKYLPQ.js.map → RunChart2-CVRPXQH5.js.map} +0 -0
- /package/dist/{Volcano-ZNYDKP2O.js.map → Volcano-FCCWUMX7.js.map} +0 -0
- /package/dist/{adSandbox-A52OQSOW.js.map → adSandbox-QYIG6637.js.map} +0 -0
- /package/dist/{animatedBubbleChart-OQOZ3WFK.js.map → animatedBubbleChart-X53PR73H.js.map} +0 -0
- /package/dist/{app-4KIKXQX4.js.map → app-HJLTRZPI.js.map} +0 -0
- /package/dist/{app-NZUNKWKK.js.map → app-MGY6A4DM.js.map} +0 -0
- /package/dist/{bam-SME7YD3E.js.map → bam-VRQHRCP5.js.map} +0 -0
- /package/dist/{barchart-ESY6FOS4.js.map → barchart-TWMOUZFL.js.map} +0 -0
- /package/dist/{barchart2-XEJZGCES.js.map → barchart2-CV7RMMRG.js.map} +0 -0
- /package/dist/{block-747IK2EW.js.map → block-L53P4UGQ.js.map} +0 -0
- /package/dist/{block.init-ITZ42K43.js.map → block.init-XYOJTXKP.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-Q63IJAJK.js.map → block.mds.expressionrank-77FSBDHA.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-EZIKAIKC.js.map → block.mds.geneboxplot-4TSYV4WS.js.map} +0 -0
- /package/dist/{block.mds.junction-TJXFKZ2Q.js.map → block.mds.junction-P4MYDET6.js.map} +0 -0
- /package/dist/{block.mds.svcnv-WSIEAII6.js.map → block.mds.svcnv-CYOFAS2T.js.map} +0 -0
- /package/dist/{block.svg-CQX5W6R4.js.map → block.svg-IT3ELCF4.js.map} +0 -0
- /package/dist/{block.tk.aicheck-J4MQ4BSD.js.map → block.tk.aicheck-GULHJLV5.js.map} +0 -0
- /package/dist/{block.tk.ase-2JFNPWCZ.js.map → block.tk.ase-RW5YL6HN.js.map} +0 -0
- /package/dist/{block.tk.bam-RBQ4AXSQ.js.map → block.tk.bam-MPGQW6KB.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-ZQBOMVTO.js.map → block.tk.bedgraphdot-EYRY374P.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-U5IBO3VF.js.map → block.tk.bigwig.ui-BKSXCDNM.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-ZRZMFLLX.js.map → block.tk.hicstraw-76PV6NM3.js.map} +0 -0
- /package/dist/{block.tk.junction-7U7ABE4O.js.map → block.tk.junction-Z52QHQJQ.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-AEXZ7W3U.js.map → block.tk.junction.textmatrixui-K32OOTZC.js.map} +0 -0
- /package/dist/{block.tk.ld-E7WPFL5P.js.map → block.tk.ld-DDGLRHPO.js.map} +0 -0
- /package/dist/{block.tk.menu-AITMEZTZ.js.map → block.tk.menu-MO6TESKI.js.map} +0 -0
- /package/dist/{block.tk.pgv-EDPZHI5L.js.map → block.tk.pgv-AKLKKSEP.js.map} +0 -0
- /package/dist/{brainImaging-35LPNBDR.js.map → brainImaging-KSTJQJAB.js.map} +0 -0
- /package/dist/{brainRegions-JMTQT4X3.js.map → brainRegions-WCRMMSK4.js.map} +0 -0
- /package/dist/{bubbleHeatmap-FMBKMDUL.js.map → bubbleHeatmap-4YOQ3BAB.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-ZPTAGEWW.js.map → cellTypeBubbleHeatmap-O6YZ2RW4.js.map} +0 -0
- /package/dist/{chunk-Y4PX2ECH.js.map → chunk-3GUVLDUS.js.map} +0 -0
- /package/dist/{chunk-RBSAEAQV.js.map → chunk-3PQDD5HM.js.map} +0 -0
- /package/dist/{chunk-UYKZ5HXA.js.map → chunk-3WYUHDDP.js.map} +0 -0
- /package/dist/{chunk-L6WNBKYN.js.map → chunk-4C7MA5Q3.js.map} +0 -0
- /package/dist/{chunk-TG3QBMDK.js.map → chunk-4PB5ZEOB.js.map} +0 -0
- /package/dist/{chunk-BZN2O76M.js.map → chunk-5IMFPVGT.js.map} +0 -0
- /package/dist/{chunk-HLVWCJRO.js.map → chunk-6DPELKO5.js.map} +0 -0
- /package/dist/{chunk-GVLWCGXX.js.map → chunk-74C6G6JD.js.map} +0 -0
- /package/dist/{chunk-EKQ7NYOU.js.map → chunk-A7TXS6JR.js.map} +0 -0
- /package/dist/{chunk-IV57XNTG.js.map → chunk-AAJXHERO.js.map} +0 -0
- /package/dist/{chunk-6U2OPC6J.js.map → chunk-BFXZBZEV.js.map} +0 -0
- /package/dist/{chunk-5JCTTSV4.js.map → chunk-BGVGN73F.js.map} +0 -0
- /package/dist/{chunk-5ALGKNTQ.js.map → chunk-BL7EYUZC.js.map} +0 -0
- /package/dist/{chunk-BOQZOLRA.js.map → chunk-BPGZUNLL.js.map} +0 -0
- /package/dist/{chunk-EUQEQOFE.js.map → chunk-CPIPN5F6.js.map} +0 -0
- /package/dist/{chunk-AKA6RWLC.js.map → chunk-D5MSWPAZ.js.map} +0 -0
- /package/dist/{chunk-JMAFJKGG.js.map → chunk-DFT2PAIU.js.map} +0 -0
- /package/dist/{chunk-R624P2GE.js.map → chunk-E7NVJ44Z.js.map} +0 -0
- /package/dist/{chunk-3K7AYA3M.js.map → chunk-EMMGUSJB.js.map} +0 -0
- /package/dist/{chunk-AMVZ6KT5.js.map → chunk-G3CCQOLH.js.map} +0 -0
- /package/dist/{chunk-BCO5T43J.js.map → chunk-GGQVDHYF.js.map} +0 -0
- /package/dist/{chunk-JZHRVYNS.js.map → chunk-GPZYAJQH.js.map} +0 -0
- /package/dist/{chunk-CRHGXVUQ.js.map → chunk-GS6ZMPKP.js.map} +0 -0
- /package/dist/{chunk-SVC65ZPG.js.map → chunk-GUXKLMLM.js.map} +0 -0
- /package/dist/{chunk-LGR6CJTW.js.map → chunk-HELEV3LT.js.map} +0 -0
- /package/dist/{chunk-A2ORIMUJ.js.map → chunk-HKKTNIMX.js.map} +0 -0
- /package/dist/{chunk-5W7K7STT.js.map → chunk-HKSRIEWJ.js.map} +0 -0
- /package/dist/{chunk-VOYUJJQ6.js.map → chunk-IELQ3HMN.js.map} +0 -0
- /package/dist/{chunk-SS66BHGA.js.map → chunk-IISNWG4X.js.map} +0 -0
- /package/dist/{chunk-BZZZQFTI.js.map → chunk-J7KB2MH3.js.map} +0 -0
- /package/dist/{chunk-M5SYLBBC.js.map → chunk-JEJV7V7M.js.map} +0 -0
- /package/dist/{chunk-DPQP2GUW.js.map → chunk-JIZ3B32T.js.map} +0 -0
- /package/dist/{chunk-W4RYRU5D.js.map → chunk-KAY2ODXX.js.map} +0 -0
- /package/dist/{chunk-BSCMVKBP.js.map → chunk-KJM6PLXM.js.map} +0 -0
- /package/dist/{chunk-TMXW5HVE.js.map → chunk-KZHF3MQX.js.map} +0 -0
- /package/dist/{chunk-36AAUYZE.js.map → chunk-MC674TS2.js.map} +0 -0
- /package/dist/{chunk-TPDBOH3A.js.map → chunk-MLKQZ3RL.js.map} +0 -0
- /package/dist/{chunk-LOWJQFCC.js.map → chunk-MSSPT5YM.js.map} +0 -0
- /package/dist/{chunk-ASXUC6SM.js.map → chunk-OBBR4UYN.js.map} +0 -0
- /package/dist/{chunk-SU63FEY6.js.map → chunk-PQA3C2NY.js.map} +0 -0
- /package/dist/{chunk-OIJ6GRVS.js.map → chunk-QJ2VBXFB.js.map} +0 -0
- /package/dist/{chunk-7HFAEB3C.js.map → chunk-QP7EJXSU.js.map} +0 -0
- /package/dist/{chunk-WFSMIVJT.js.map → chunk-SHXJW27D.js.map} +0 -0
- /package/dist/{chunk-2IVN5DWA.js.map → chunk-SUNDNTVY.js.map} +0 -0
- /package/dist/{chunk-7HGZRJZZ.js.map → chunk-TSI4W6XO.js.map} +0 -0
- /package/dist/{chunk-4JFFFGL3.js.map → chunk-TXIQ5PHR.js.map} +0 -0
- /package/dist/{chunk-4KJSNR5E.js.map → chunk-U45R6QNT.js.map} +0 -0
- /package/dist/{chunk-A32SGNCT.js.map → chunk-UMZJQWWK.js.map} +0 -0
- /package/dist/{chunk-K6YUMBDY.js.map → chunk-VO7Q4WMM.js.map} +0 -0
- /package/dist/{chunk-YKM46UX5.js.map → chunk-VWGRKOVJ.js.map} +0 -0
- /package/dist/{chunk-P7DIIYCX.js.map → chunk-WCTKHF5T.js.map} +0 -0
- /package/dist/{chunk-OYLGAFFY.js.map → chunk-WOMERKMR.js.map} +0 -0
- /package/dist/{chunk-MKAILEWO.js.map → chunk-WXX2YD4Q.js.map} +0 -0
- /package/dist/{chunk-7AHTS4BP.js.map → chunk-X44AR557.js.map} +0 -0
- /package/dist/{chunk-BDQPMVKD.js.map → chunk-XEU5HXOY.js.map} +0 -0
- /package/dist/{chunk-FKA55PHV.js.map → chunk-XGYQZHNX.js.map} +0 -0
- /package/dist/{chunk-ZENZ5H2Q.js.map → chunk-XOND7UIK.js.map} +0 -0
- /package/dist/{chunk-RZ3KEFZ2.js.map → chunk-XRMUUWLS.js.map} +0 -0
- /package/dist/{chunk-2GBG3KA7.js.map → chunk-XTOGCXPD.js.map} +0 -0
- /package/dist/{chunk-Z7AO6A7M.js.map → chunk-Y5BBFDC3.js.map} +0 -0
- /package/dist/{chunk-ONVIVITY.js.map → chunk-Z2FSHODI.js.map} +0 -0
- /package/dist/{cohort-Q7TW5XTY.js.map → cohort-JWIQOO7U.js.map} +0 -0
- /package/dist/{condition-H6LBUHIF.js.map → condition-ZUAQYF5C.js.map} +0 -0
- /package/dist/{controls-DWDKFDXY.js.map → controls-ZPQ6SXD2.js.map} +0 -0
- /package/dist/{controls.config-KF7PHZSG.js.map → controls.config-NELL5HY5.js.map} +0 -0
- /package/dist/{correlation-YMSARIER.js.map → correlation-2X76UI3K.js.map} +0 -0
- /package/dist/{customdata.inputui-KEFE7ZHS.js.map → customdata.inputui-V6QIGFRP.js.map} +0 -0
- /package/dist/{dataDownload-G7TGPFGL.js.map → dataDownload-NSDY4MSL.js.map} +0 -0
- /package/dist/{databrowser.ui-NFIIFQJZ.js.map → databrowser.ui-DDLFQB6K.js.map} +0 -0
- /package/dist/{dictionary-ERJQMALC.js.map → dictionary-WSDD6TFI.js.map} +0 -0
- /package/dist/{dnaMethylation-KVCXKAU3.js.map → dnaMethylation-3IM4OACZ.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-3NXGGG4J.js.map → dnaMethylation.integration.spec-5CSJA67S.js.map} +0 -0
- /package/dist/{dofetch-YRWLEQEH.js.map → dofetch-GZ7POIBV.js.map} +0 -0
- /package/dist/{e2pca-M2F2CI6I.js.map → e2pca-AX7U2DOI.js.map} +0 -0
- /package/dist/{ep-QAEG4RV4.js.map → ep-UKACHFJU.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-P77T6JR2.js.map → expclust.gdc.spec-46HDKH2Q.js.map} +0 -0
- /package/dist/{facet-LJTSTASE.js.map → facet-3EONZDDE.js.map} +0 -0
- /package/dist/{gb-KSB2DQHH.js.map → gb-W7GX5NWS.js.map} +0 -0
- /package/dist/{geneExpClustering-KHDCPE65.js.map → geneExpClustering-PJA6Y5GW.js.map} +0 -0
- /package/dist/{geneExpression-AWWMOUAR.js.map → geneExpression-EMLVPVNK.js.map} +0 -0
- /package/dist/{geneExpression-Z2EDR6EN.js.map → geneExpression-JMGYBT53.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-WB2ESPKT.js.map → geneExpression.unit.spec-DDZVZJVC.js.map} +0 -0
- /package/dist/{geneORA-NGZTMFSJ.js.map → geneORA-CIAFQQWB.js.map} +0 -0
- /package/dist/{geneRanking-AYNBGFKU.js.map → geneRanking-JRAU6FMJ.js.map} +0 -0
- /package/dist/{geneVariant-AL64NDHH.js.map → geneVariant-3DZTWQFG.js.map} +0 -0
- /package/dist/{geneVariant-QMKR3LUV.js.map → geneVariant-YWURIZ72.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-N3U5CIRT.js.map → geneVariant.integration.spec-V3KECZMM.js.map} +0 -0
- /package/dist/{genefusion.ui-IWJMF2BM.js.map → genefusion.ui-AO3TUDTL.js.map} +0 -0
- /package/dist/{geneset-APCO4BRX.js.map → geneset-RCIP2GZH.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-JTCVUTO5.js.map → genomeBrowser.spec-7PZCNBL3.js.map} +0 -0
- /package/dist/{grin2-FVX6AIST.js.map → grin2-EUBCNH4Q.js.map} +0 -0
- /package/dist/{grin2-LF46UKFY.js.map → grin2-YYBB5XJK.js.map} +0 -0
- /package/dist/{hierCluster-4DRHXD6W.js.map → hierCluster-AV5NO2GW.js.map} +0 -0
- /package/dist/{hierCluster-SFRQK3PS.js.map → hierCluster-W2MVN34V.js.map} +0 -0
- /package/dist/{hierCluster.config-G2TFGBYF.js.map → hierCluster.config-4MBWG6RZ.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-ZUZKCG6A.js.map → hierCluster.integration.spec-JUIBIUKH.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-LQA6J56H.js.map → hierCluster.interactivity-6PJE64PF.js.map} +0 -0
- /package/dist/{hierCluster.renderers-TZZJEVFO.js.map → hierCluster.renderers-RWDQ5SHY.js.map} +0 -0
- /package/dist/{imagePlot-OUHFWYKT.js.map → imagePlot-XLDQNUJA.js.map} +0 -0
- /package/dist/{importPlot-7V456QK7.js.map → importPlot-7FISAQKR.js.map} +0 -0
- /package/dist/{isoformExpression-NGUJJ6VI.js.map → isoformExpression-WOQAOVZS.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-DCRPXPBY.js.map → isoformExpression.unit.spec-BMEGJNCO.js.map} +0 -0
- /package/dist/{junction-QYKLNXIW.js.map → junction-6NO36IPU.js.map} +0 -0
- /package/dist/{junction.customTerm-EHOOBR4V.js.map → junction.customTerm-N6JAOWZO.js.map} +0 -0
- /package/dist/{junction.unit.spec-LDNY7OFK.js.map → junction.unit.spec-UKGSQHO4.js.map} +0 -0
- /package/dist/{launch.adhoc-FF7B3UG6.js.map → launch.adhoc-42PUNEA6.js.map} +0 -0
- /package/dist/{leftlabel.sample-BTHMKLGF.js.map → leftlabel.sample-EXAUDPSB.js.map} +0 -0
- /package/dist/{lollipop-H3UCNMHN.js.map → lollipop-4ASTA5HO.js.map} +0 -0
- /package/dist/{maf-KWGUTPKO.js.map → maf-HPXANL3M.js.map} +0 -0
- /package/dist/{maftimeline-UD5VE4UW.js.map → maftimeline-2SXFX3HF.js.map} +0 -0
- /package/dist/{matrix-DLCX6GOO.js.map → matrix-DX4W5XMX.js.map} +0 -0
- /package/dist/{matrix-TIV42IQB.js.map → matrix-S34ITAPJ.js.map} +0 -0
- /package/dist/{matrix.cells-J3QZ7C6U.js.map → matrix.cells-BLULUGSZ.js.map} +0 -0
- /package/dist/{matrix.config-VNMS6B7J.js.map → matrix.config-Z3LWYH74.js.map} +0 -0
- /package/dist/{matrix.data-PIE3TLKD.js.map → matrix.data-73HY7Y2V.js.map} +0 -0
- /package/dist/{matrix.groups-URBU775S.js.map → matrix.groups-NOUMYNFY.js.map} +0 -0
- /package/dist/{matrix.integration.spec-LC6YMEKP.js.map → matrix.integration.spec-VTXYJ46U.js.map} +0 -0
- /package/dist/{matrix.interactivity-W5AFOAQN.js.map → matrix.interactivity-YHDIO5A2.js.map} +0 -0
- /package/dist/{matrix.layout-LU3NIJAL.js.map → matrix.layout-25HYKUF2.js.map} +0 -0
- /package/dist/{matrix.legend-LTP6ETZO.js.map → matrix.legend-IMK7DH4V.js.map} +0 -0
- /package/dist/{matrix.renderers-762XI65L.js.map → matrix.renderers-3RZRN6HO.js.map} +0 -0
- /package/dist/{matrix.serieses-FHDBRPZA.js.map → matrix.serieses-ZTVHQ7QA.js.map} +0 -0
- /package/dist/{matrix.sort-Q6A6UWMY.js.map → matrix.sort-EDXHT6NZ.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-CTCOPKVS.js.map → matrix.sort.unit.spec-LSNY7PHU.js.map} +0 -0
- /package/dist/{matrix.sorterUi-4M5AU5EL.js.map → matrix.sorterUi-3DRNHG5Z.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-Y7GC3PM5.js.map → matrix.sorterUi.unit.spec-GNIIWGRJ.js.map} +0 -0
- /package/dist/{matrix.unit.spec-DROPHFTM.js.map → matrix.unit.spec-7A6ZFRXI.js.map} +0 -0
- /package/dist/{mavb-BWA73N3U.js.map → mavb-M5AXPLYX.js.map} +0 -0
- /package/dist/{mds.fimo-3UJWIH2J.js.map → mds.fimo-QE5OFA22.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-EUS7DCSQ.js.map → mds.samplescatterplot-664EOHX2.js.map} +0 -0
- /package/dist/{mds.survivalplot-77UEBQIC.js.map → mds.survivalplot-H4TJD44D.js.map} +0 -0
- /package/dist/{multivalue-KZ2DMVIR.js.map → multivalue-JD3CNQJR.js.map} +0 -0
- /package/dist/{numericDictTermCluster-C2MYJYPZ.js.map → numericDictTermCluster-XPKEYXD7.js.map} +0 -0
- /package/dist/{oncomatrix-6LGB3M7R.js.map → oncomatrix-TX5PZQ76.js.map} +0 -0
- /package/dist/{oncomatrix.spec-UWMSLOHW.js.map → oncomatrix.spec-6X2WAHL7.js.map} +0 -0
- /package/dist/{plot.2dvaf-LZAVWH65.js.map → plot.2dvaf-5OHUFTMK.js.map} +0 -0
- /package/dist/{plot.app-OEWE3AYV.js.map → plot.app-XIVVJHWG.js.map} +0 -0
- /package/dist/{plot.barplot-VIBHGTUT.js.map → plot.barplot-PSODLAXD.js.map} +0 -0
- /package/dist/{plot.boxplot-NQI3PSKR.js.map → plot.boxplot-W3ASYFOG.js.map} +0 -0
- /package/dist/{plot.brainImaging-3MTTCZHI.js.map → plot.brainImaging-JGDLKLR7.js.map} +0 -0
- /package/dist/{plot.disco-HODBY7SO.js.map → plot.disco-TPMXTTZK.js.map} +0 -0
- /package/dist/{plot.ssgq-4URQE673.js.map → plot.ssgq-KIZIOZIF.js.map} +0 -0
- /package/dist/{plot.vaf2cov-QIJNEKCK.js.map → plot.vaf2cov-MSMW72IY.js.map} +0 -0
- /package/dist/{polar2-GVFQNSLK.js.map → polar2-LA4MSRRN.js.map} +0 -0
- /package/dist/{profileForms-Z22CJXI4.js.map → profileForms-BJRNB2ZF.js.map} +0 -0
- /package/dist/{profilePlot-IVQZBSID.js.map → profilePlot-DDO53C4T.js.map} +0 -0
- /package/dist/{proteinView-AUK634AU.js.map → proteinView-NFUR42XQ.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-7G2F35H5.js.map → proteomeCohortCompare-OZVF3X66.js.map} +0 -0
- /package/dist/{pseudobulk-QTCUSH5I.js.map → pseudobulk-UVT5G2VL.js.map} +0 -0
- /package/dist/{qualitative-7ST7SSBT.js.map → qualitative-X3VXNC7X.js.map} +0 -0
- /package/dist/{radar2-CEE6SNBS.js.map → radar2-RTVUJ3AN.js.map} +0 -0
- /package/dist/{radarFacility2-OSKDYIK7.js.map → radarFacility2-ZGLZ5AKM.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-RYFUJ2NW.js.map → rememberedGvQ.unit.spec-RLLLWU5M.js.map} +0 -0
- /package/dist/{render-MAD3WMVD.js.map → render-LR5BOYW6.js.map} +0 -0
- /package/dist/{report-6JXJVSEB.js.map → report-37W5OXUM.js.map} +0 -0
- /package/dist/{sampleView-SG3QYZKQ.js.map → sampleView-BDC2WPH7.js.map} +0 -0
- /package/dist/{samplelst-R765UFP6.js.map → samplelst-V2EIVZC5.js.map} +0 -0
- /package/dist/{samplematrix-EBJYE5SM.js.map → samplematrix-XOSKILUL.js.map} +0 -0
- /package/dist/{sc-7ZXPFDHD.js.map → sc-ZVZPWQY7.js.map} +0 -0
- /package/dist/{scatter-3GUL4KF3.js.map → scatter-2ZE5MCYH.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-K4YXGJYG.js.map → selectGenomeWithTklst-EF7WYEAJ.js.map} +0 -0
- /package/dist/{singleCellCellType-TU5VTPLP.js.map → singleCellCellType-TKCGC3G3.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-IRITQIGT.js.map → singleCellCellType.unit.spec-JZ6UHC5F.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-3IL52QDK.js.map → singleCellGeneExpression-I2INGXGI.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-WXC4C37T.js.map → singleCellGeneExpression.unit.spec-KL77FSHZ.js.map} +0 -0
- /package/dist/{singleCellPlot-XG3HZS7I.js.map → singleCellNumericValue-2X5NCEHL.js.map} +0 -0
- /package/dist/{snp-RMZRB426.js.map → singleCellPlot-Q6INE54V.js.map} +0 -0
- /package/dist/{singlecell-BRF2HAV2.js.map → singlecell-5N2P5ZAT.js.map} +0 -0
- /package/dist/{singlecell-KVCJF2HI.js.map → singlecell-NPSWMNI3.js.map} +0 -0
- /package/dist/{ssGSEA-7RKWYZKX.js.map → snp-2WPJYPDE.js.map} +0 -0
- /package/dist/{snp.unit.spec-JF6KR2NT.js.map → snp.unit.spec-PPWIIOX6.js.map} +0 -0
- /package/dist/{snplocus-AHUFHQ3Q.js.map → snplocus-T3HZFZWA.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-OSZZ2CF2.js.map → spliceevent.a53ss.diagram-APCF4LV5.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-AMA2D2OL.js.map → spliceevent.exonskip.diagram-TT5JGBSC.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-RKTUXH5D.js.map → spliceevent.noeventdiagram-CPXQSX3Z.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-GCL4SRON.js.map → ssGSEA-FSX6P7HA.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-XLCZHH7S.js.map → ssGSEA.unit.spec-TXYT665R.js.map} +0 -0
- /package/dist/{stattable-NDYUCLVZ.js.map → stattable-BD64SFYV.js.map} +0 -0
- /package/dist/{studyCatalog-TAXRF5NS.js.map → studyCatalog-6BOWO4PO.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-3QLHU6N7.js.map → summarizeCnvGeneexp-AMLYJIPU.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-ARI4MPFX.js.map → summarizeGeneexpSurvival-IDM7T333.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-W7V7CKPI.js.map → summarizeMutationCnv-R6SYSJQC.js.map} +0 -0
- /package/dist/{summary-OUYDWLBF.js.map → summarizeMutationDiagnosis-XZJ4JLW2.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-6TTMSRRX.js.map → summarizeMutationSurvival-ABJ5RL4L.js.map} +0 -0
- /package/dist/{termCollection-7P3WU6X6.js.map → summary-NVYCTE6P.js.map} +0 -0
- /package/dist/{summary.integration.spec-4GTCG6HY.js.map → summary.integration.spec-SSLTLVNW.js.map} +0 -0
- /package/dist/{summaryInput-UK3TLC7M.js.map → summaryInput-SJOZETRP.js.map} +0 -0
- /package/dist/{sunburst-2UFHMNH3.js.map → sunburst-RU5ZPJKW.js.map} +0 -0
- /package/dist/{survival-SPWYSDVB.js.map → survival-BHJQMXKI.js.map} +0 -0
- /package/dist/{survival-TL6UZ6FQ.js.map → survival-DVG6Y2FV.js.map} +0 -0
- /package/dist/{svgraph-Z543MLIN.js.map → svgraph-ETFA4GRX.js.map} +0 -0
- /package/dist/{svmr-SZCAOAIF.js.map → svmr-AI3RU4JK.js.map} +0 -0
- /package/dist/{table-IAQ6J4DO.js.map → table-YCTSMLQL.js.map} +0 -0
- /package/dist/{termCollection-3NGHR7QN.js.map → termCollection-GMKEZR6D.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-YKIE6BME.js.map → termCollection-VEVKKJZD.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-EPYC7LOA.js.map → termCollection.unit.spec-EU6YCEPX.js.map} +0 -0
- /package/dist/{tk-X454XH5N.js.map → termCollectionFractionSelection-UBS74X36.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map → termCollectionFractionSelection.unit.spec-Y5OJFGDD.js.map} +0 -0
- /package/dist/{tk-TOXMU4GT.js.map → tk-HMF4HCNV.js.map} +0 -0
- /package/dist/{tvs.dt-U77PCG6X.js.map → tk-W6Z4FJMW.js.map} +0 -0
- /package/dist/{tp.ui-FDQ76KPL.js.map → tp.ui-NECRDJCS.js.map} +0 -0
- /package/dist/{vocabulary-64GO4YDB.js.map → tvs.dt-2JEH3F35.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-XYZU4XLO.js.map → tvs.dtcnv.categorical-YBXKEBR2.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-4GJILFGP.js.map → tvs.dtcnv.continuous-AD3SJ6BY.js.map} +0 -0
- /package/dist/{tvs.dtfusion-7YROAHVI.js.map → tvs.dtfusion-ODI3CLQS.js.map} +0 -0
- /package/dist/{tvs.dtitd-MIYU4ZHH.js.map → tvs.dtitd-V3LYLPJY.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-XLDY7KWB.js.map → tvs.dtsnvindel-R3V5LTNL.js.map} +0 -0
- /package/dist/{tvs.dtsv-YMLJ37YR.js.map → tvs.dtsv-ZQLKEDLJ.js.map} +0 -0
- /package/dist/{tvs.samplelst-KIVEXJKD.js.map → tvs.samplelst-G25A7HM6.js.map} +0 -0
- /package/dist/{tvs.termCollection-4CQV3EB3.js.map → tvs.termCollection-WLVCWDEJ.js.map} +0 -0
- /package/dist/{wsi.direct-5MQVRJZX.js.map → wsi.direct-SNPPQPVO.js.map} +0 -0
package/dist/chunk-U5RWKZVS.js
DELETED
|
@@ -1,1720 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
recoverInit
|
|
3
|
-
} from "./chunk-X46YA4CB.js";
|
|
4
|
-
import {
|
|
5
|
-
parentCorsMessage
|
|
6
|
-
} from "./chunk-PRZWSBMA.js";
|
|
7
|
-
import {
|
|
8
|
-
chartsInit,
|
|
9
|
-
fillTermWrapper,
|
|
10
|
-
filterRxCompInit,
|
|
11
|
-
first_genetrack_tolist,
|
|
12
|
-
getDNAMethUnit,
|
|
13
|
-
getFilterItemByTag,
|
|
14
|
-
getSampleFilter,
|
|
15
|
-
groupsInit,
|
|
16
|
-
keyupEnter,
|
|
17
|
-
renderTable,
|
|
18
|
-
sayerror,
|
|
19
|
-
to_textfile
|
|
20
|
-
} from "./chunk-PC4MFDHP.js";
|
|
21
|
-
import {
|
|
22
|
-
importPlot
|
|
23
|
-
} from "./chunk-HPAW7XDM.js";
|
|
24
|
-
import {
|
|
25
|
-
Menu
|
|
26
|
-
} from "./chunk-ELJX3QIQ.js";
|
|
27
|
-
import {
|
|
28
|
-
icons
|
|
29
|
-
} from "./chunk-6RRZRISL.js";
|
|
30
|
-
import {
|
|
31
|
-
dofetch3
|
|
32
|
-
} from "./chunk-52QHIKH2.js";
|
|
33
|
-
import {
|
|
34
|
-
trimGvTermsForSave
|
|
35
|
-
} from "./chunk-PPSWNLMG.js";
|
|
36
|
-
import {
|
|
37
|
-
DNA_METHYLATION,
|
|
38
|
-
dtcnv,
|
|
39
|
-
dtfusionrna,
|
|
40
|
-
dtsnvindel,
|
|
41
|
-
dtsv
|
|
42
|
-
} from "./chunk-RUBZCKIX.js";
|
|
43
|
-
import {
|
|
44
|
-
getCompInit,
|
|
45
|
-
multiInit
|
|
46
|
-
} from "./chunk-WINIL2KN.js";
|
|
47
|
-
import {
|
|
48
|
-
select_default
|
|
49
|
-
} from "./chunk-I6Y4O3RR.js";
|
|
50
|
-
|
|
51
|
-
// mass/sessionBtn.js
|
|
52
|
-
var MassSessionBtn = class _MassSessionBtn {
|
|
53
|
-
static type = "sessionBtn";
|
|
54
|
-
constructor() {
|
|
55
|
-
this.type = _MassSessionBtn.type;
|
|
56
|
-
this.route = "termdb";
|
|
57
|
-
this.embedderOrigin = window.location.origin;
|
|
58
|
-
this.hostURL = sessionStorage.getItem("hostURL") || this.embedderOrigin;
|
|
59
|
-
}
|
|
60
|
-
async init(appState) {
|
|
61
|
-
const tip = new Menu({ padding: "0px" });
|
|
62
|
-
const copytip = new Menu({ padding: "5px" });
|
|
63
|
-
this.dom = {
|
|
64
|
-
button: this.opts.button,
|
|
65
|
-
tip,
|
|
66
|
-
copytip
|
|
67
|
-
};
|
|
68
|
-
this.dom.button.on("click", (event2) => {
|
|
69
|
-
event2.stopPropagation();
|
|
70
|
-
this.dom.tip.clear();
|
|
71
|
-
this.showMenu();
|
|
72
|
-
});
|
|
73
|
-
this.dslabel = appState.vocab.dslabel;
|
|
74
|
-
this.savedSessions = JSON.parse(localStorage.getItem("savedMassSessions") || `{}`);
|
|
75
|
-
this.requiredAuth = appState.termdbConfig?.requiredAuth?.find((a) => a.route == this.route && a.type == "jwt");
|
|
76
|
-
}
|
|
77
|
-
async showMenu() {
|
|
78
|
-
this.dom.tip.clear().d.style("padding", 0);
|
|
79
|
-
this.dom.tip.d.attr("id", "sjpp-session-menu");
|
|
80
|
-
const gt = `<span style='margin-left: 24px; float: right'>></span>`;
|
|
81
|
-
const options = [
|
|
82
|
-
{ label: `Open`, title: "Recover a saved session", callback: this.open },
|
|
83
|
-
{ label: `Save`, title: "Save the current view", callback: this.save },
|
|
84
|
-
{ label: `Share`, title: "Share the current view", callback: this.getSessionUrl }
|
|
85
|
-
];
|
|
86
|
-
if (!this.serverCachedSessions) await this.setServerCachedSessions();
|
|
87
|
-
if (Object.keys(this.savedSessions).length || Object.keys(this.serverCachedSessions).length) {
|
|
88
|
-
options.push({ label: `Delete`, title: "Delete a saved session", callback: this.delete });
|
|
89
|
-
}
|
|
90
|
-
this.dom.tip.clear().d.selectAll(".sja_menuoption sja_sharp_border").data(options).enter().append("div").attr("class", "sja_menuoption sja_sharp_border").attr("data-testid", (d) => `sjpp-session-btn-${d.label.toLowerCase().replace(/\s/g, "-")}`).attr("aria-label", (d) => d.title).html((d) => d.label).on("click", (event2, d) => {
|
|
91
|
-
this.dom.tip.clear().d.style("padding", "10px");
|
|
92
|
-
event2.stopPropagation();
|
|
93
|
-
this.showBackBtn();
|
|
94
|
-
d.callback.call(this);
|
|
95
|
-
});
|
|
96
|
-
this.dom.tip.showunder(this.dom.button.node());
|
|
97
|
-
}
|
|
98
|
-
async open() {
|
|
99
|
-
const radioName = `sjpp-session-open-radio-` + Math.random().toString().slice(-6);
|
|
100
|
-
this.dom.tip.d.append("div").style("display", "none").style("padding", "3px 9px").html(`
|
|
101
|
-
<b>Open in</b>
|
|
102
|
-
<label>
|
|
103
|
-
<input type='radio' name='${radioName}' value='new' style='margin-right: 0; vertical-align: bottom'/>
|
|
104
|
-
<span>a new tab</span>
|
|
105
|
-
</label>
|
|
106
|
-
<label style='margin-left: 5px'>
|
|
107
|
-
<input type='radio' name='${radioName}' value='current' checked=checked style='margin-right: 0; vertical-align: bottom'/>
|
|
108
|
-
<span>current tab</span>
|
|
109
|
-
</label>
|
|
110
|
-
`);
|
|
111
|
-
const t = await this.listSessions({
|
|
112
|
-
trClickHandler: async (event2, d) => {
|
|
113
|
-
const { loc, id: id2 } = d;
|
|
114
|
-
if (!id2) return;
|
|
115
|
-
if (loc.includes("browser")) {
|
|
116
|
-
this.sessionName = id2;
|
|
117
|
-
const state = structuredClone(this.savedSessions[id2]);
|
|
118
|
-
await preprocessState(state, this.app);
|
|
119
|
-
const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
|
|
120
|
-
if (targetWindow == "current") {
|
|
121
|
-
this.app.dispatch({ type: "app_refresh", state });
|
|
122
|
-
} else if (window.location.origin == this.hostURL) {
|
|
123
|
-
window.open(`/?mass-session-id=${id2}&src=browser`);
|
|
124
|
-
} else {
|
|
125
|
-
if (state.embedder) parentCorsMessage({ state });
|
|
126
|
-
else {
|
|
127
|
-
const { protocol, host, search, origin, href } = window.location;
|
|
128
|
-
const embedder = { protocol, host, search, origin, href };
|
|
129
|
-
parentCorsMessage({ state: Object.assign({ embedder }, state) });
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
this.dom.tip.hide();
|
|
133
|
-
} else if (loc == "server") {
|
|
134
|
-
const headers = await this.app.vocabApi.mayGetAuthHeaders(this.route);
|
|
135
|
-
const body = { id: id2, route: this.route, dslabel: this.dslabel, embedder: window.location.hostname };
|
|
136
|
-
const res = await dofetch3(`/massSession?`, { headers, body });
|
|
137
|
-
if (!res.state) throw res.error || "unable to get the cached session from the server";
|
|
138
|
-
await preprocessState(res.state, this.app);
|
|
139
|
-
this.savedSessions[id2] = res.state;
|
|
140
|
-
const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
|
|
141
|
-
if (targetWindow == "current") {
|
|
142
|
-
this.app.dispatch({ type: "app_refresh", state: res.state });
|
|
143
|
-
} else if (window.location.origin == this.hostURL) {
|
|
144
|
-
window.open(`/?mass-session-id=${id2}&src=cred&dslabel=${this.dslabel}&route=${this.route}`);
|
|
145
|
-
} else {
|
|
146
|
-
parentCorsMessage(res);
|
|
147
|
-
}
|
|
148
|
-
this.dom.tip.hide();
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
t.headtr.select("th").html("Open from");
|
|
153
|
-
const tr1 = t.tbody.insert("tr", "tr");
|
|
154
|
-
tr1.append("td").style("text-align", "center").style("padding", "3px 9px").html("Local file");
|
|
155
|
-
const label = tr1.append("td").style("text-align", "left").append("label");
|
|
156
|
-
label.append("span").style("padding", "3px 9px").style("text-decoration", "underline").style("cursor", "pointer").html("Choose File");
|
|
157
|
-
label.append("input").attr("type", "file").attr("placeholder", "file name").style("opacity", 0).style("width", "0.1px").style("height", "0.1px").style("position", "absolute").on("change", async () => {
|
|
158
|
-
const file = event.target.files.item(0);
|
|
159
|
-
const json = await file.text();
|
|
160
|
-
let sessionName = file.name;
|
|
161
|
-
if (this.savedSessions[sessionName]) {
|
|
162
|
-
sessionName = prompt(
|
|
163
|
-
`Leave as-is to overwrite a session with the same name, or enter a different session name.`,
|
|
164
|
-
sessionName
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
this.sessionName = sessionName;
|
|
168
|
-
const state = JSON.parse(json);
|
|
169
|
-
await preprocessState(state, this.app);
|
|
170
|
-
this.savedSessions[sessionName] = state;
|
|
171
|
-
localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
|
|
172
|
-
const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
|
|
173
|
-
if (targetWindow == "current") {
|
|
174
|
-
this.app.dispatch({ type: "app_refresh", state });
|
|
175
|
-
} else if (window.location.origin == this.hostURL) {
|
|
176
|
-
window.open(`/?mass-session-id=${sessionName}&src=browser`);
|
|
177
|
-
} else {
|
|
178
|
-
if (state.embedder) parentCorsMessage({ state });
|
|
179
|
-
else {
|
|
180
|
-
const { protocol, host, search, origin, href } = window.location;
|
|
181
|
-
const embedder = { protocol, host, search, origin, href };
|
|
182
|
-
parentCorsMessage({ state: Object.assign({ embedder }, state) });
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
this.dom.tip.hide();
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
async listSessions(opts = {}) {
|
|
189
|
-
const table = this.dom.tip.d.append("table").attr("class", "sjpp-controls-table");
|
|
190
|
-
const headtr = table.append("thead").append("tr");
|
|
191
|
-
headtr.selectAll("th").data(["Cache Location", "Session ID"]).enter().append("th").style("text-align", (d, i) => i === 0 ? "center" : "left").style("padding", "3px 9px").html((d) => d);
|
|
192
|
-
const sessionIds = Object.keys(this.savedSessions).map((id2) => ({ loc: "browser", id: id2 }));
|
|
193
|
-
if (!this.serverCachedSessions) await this.setServerCachedSessions();
|
|
194
|
-
sessionIds.push(...this.serverCachedSessions.map((id2) => ({ loc: "server", id: id2 })));
|
|
195
|
-
const tbody = table.append("tbody");
|
|
196
|
-
const trs = tbody.selectAll("tr").data(sessionIds).enter().append("tr").on("click", opts.trClickHandler || null);
|
|
197
|
-
trs.selectAll("td").data((d) => [d, d]).enter().append("td").style("text-align", (d, i) => i === 0 ? "center" : "left").style("padding", "3px 9px").style("cursor", "pointer").html((d, i) => i === 0 ? d.loc : d.id);
|
|
198
|
-
if (!this.serverCachedSessions.length && this.requiredAuth && !this.app.vocabApi.hasVerifiedToken()) {
|
|
199
|
-
const tbody2 = table.append("tbody").append("tr").selectAll("td").data(["server", "requires sign-in"]).enter().append("td").style("text-align", (d, i) => i === 0 ? "center" : "left").style("padding", "3px 9px").html((d) => d);
|
|
200
|
-
}
|
|
201
|
-
return { table, headtr, tbody, trs };
|
|
202
|
-
}
|
|
203
|
-
async setServerCachedSessions() {
|
|
204
|
-
const state = this.app.getState();
|
|
205
|
-
this.requiredAuth = state.termdbConfig?.requiredAuth?.find((a) => a.route == this.route && a.type == "jwt");
|
|
206
|
-
if (!this.requiredAuth) {
|
|
207
|
-
this.serverCachedSessions = [];
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
const headers = this.app.vocabApi.mayGetAuthHeaders(this.route);
|
|
211
|
-
const body = { route: this.route, dslabel: this.dslabel, embedder: window.location.hostname };
|
|
212
|
-
const res = await dofetch3("/sessionIds", { headers, body });
|
|
213
|
-
this.serverCachedSessions = res.sessionIds || [];
|
|
214
|
-
}
|
|
215
|
-
async save(d) {
|
|
216
|
-
const div = this.dom.tip.d;
|
|
217
|
-
const inputDiv = div.append("div");
|
|
218
|
-
inputDiv.append("span").html("Save as");
|
|
219
|
-
const sessionNames = Object.keys(this.savedSessions);
|
|
220
|
-
if (!this.serverCachedSessions) await this.setServerCachedSessions();
|
|
221
|
-
sessionNames.push(...this.serverCachedSessions.filter((d2) => !sessionNames.includes(d2)));
|
|
222
|
-
const placeholder = this.sessionName || "unnamed-session";
|
|
223
|
-
const input = inputDiv.append("input").attr("type", "text").attr("placeholder", placeholder).style("width", "220px").on("input", () => {
|
|
224
|
-
searchResultDiv.selectAll("*").remove();
|
|
225
|
-
const value = input.property("value");
|
|
226
|
-
const exactMatch = sessionNames.filter((s) => s === value);
|
|
227
|
-
const startsWith = sessionNames.filter((s) => s.startsWith(value));
|
|
228
|
-
const includes = sessionNames.filter((s) => s.includes(value) && s !== value && !startsWith.includes(s));
|
|
229
|
-
searchResultDiv.selectAll("div").data([...exactMatch, ...startsWith, ...includes]).enter().append("div").attr("class", "sja_menuoption").attr("data-testid", `sjpp-save-session-option`).html((d2) => d2).on("click", (event2, d2) => {
|
|
230
|
-
input.property("value", d2);
|
|
231
|
-
searchResultDiv.selectAll("*").remove();
|
|
232
|
-
});
|
|
233
|
-
});
|
|
234
|
-
const searchResultDiv = div.append("div");
|
|
235
|
-
const submitDiv = div.append("div");
|
|
236
|
-
submitDiv.append("span").html("Save to ");
|
|
237
|
-
submitDiv.append("button").style("min-width", "80px").html("Browser").attr(
|
|
238
|
-
"title",
|
|
239
|
-
`Save the session in your current browser's cache. The session can be easily recovered, but not shared among your other devices`
|
|
240
|
-
).on("click", () => {
|
|
241
|
-
this.sessionName = input.property("value") || placeholder;
|
|
242
|
-
this.savedSessions[this.sessionName] = this.getSavableState();
|
|
243
|
-
localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
|
|
244
|
-
this.confirmAction(`Cached '<b>${this.sessionName}</b>' in browser`);
|
|
245
|
-
});
|
|
246
|
-
submitDiv.append("button").style("min-width", "80px").html("File").attr(
|
|
247
|
-
"title",
|
|
248
|
-
`Save the session into a local file. The session can be easily recoved using the 'Open from local file' option.`
|
|
249
|
-
).on("click", () => {
|
|
250
|
-
const name = input.property("value") || placeholder;
|
|
251
|
-
this.savedSessions[name] = this.getSavableState();
|
|
252
|
-
this.download(name);
|
|
253
|
-
this.confirmAction(`Downloaded '<b>${name}</b>'`);
|
|
254
|
-
});
|
|
255
|
-
if (this.requiredAuth) {
|
|
256
|
-
const requiresSignIn = this.app.vocabApi.hasVerifiedToken() ? "" : "Requires sign-in. ";
|
|
257
|
-
submitDiv.append("button").style("min-width", "80px").html("Server").attr(
|
|
258
|
-
"title",
|
|
259
|
-
`${requiresSignIn}Save the session into a remote server. The session can be easily shared across your different devices and recovered using the 'Open from server' option.`
|
|
260
|
-
).property("disabled", !this.app.vocabApi.hasVerifiedToken()).on("click", async () => {
|
|
261
|
-
if (!this.app.vocabApi.hasVerifiedToken()) {
|
|
262
|
-
alert("Requires sign-in");
|
|
263
|
-
return;
|
|
264
|
-
}
|
|
265
|
-
const name = input.property("value") || placeholder;
|
|
266
|
-
this.savedSessions[name] = this.getSavableState();
|
|
267
|
-
const res = await this.getSessionUrl(name);
|
|
268
|
-
if (res.id != name) throw `error saving ${name}`;
|
|
269
|
-
this.confirmAction(`Saved '<b>${name}</b>' on the server`);
|
|
270
|
-
});
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
/* the state to serialize into a saved session: a detached copy of the app state, since
|
|
274
|
-
getState() returns a deeply frozen one, minus everything that opening the session
|
|
275
|
-
rebuilds anyway */
|
|
276
|
-
getSavableState() {
|
|
277
|
-
const state = structuredClone(this.app.getState());
|
|
278
|
-
delete state.termdbConfig;
|
|
279
|
-
return trimGvTermsForSave(state);
|
|
280
|
-
}
|
|
281
|
-
download(name = "") {
|
|
282
|
-
const sessionName = name || this.sessionName;
|
|
283
|
-
const ext = sessionName?.endsWith(".txt") ? "" : ".txt";
|
|
284
|
-
const filename = `${sessionName}${ext}`;
|
|
285
|
-
to_textfile(filename, JSON.stringify(this.savedSessions[sessionName]));
|
|
286
|
-
}
|
|
287
|
-
async getSessionUrl(filename = "") {
|
|
288
|
-
const headers = await this.app.vocabApi.mayGetAuthHeaders("termdb");
|
|
289
|
-
const state = this.getSavableState();
|
|
290
|
-
const { protocol, host, search, origin, href } = window.location;
|
|
291
|
-
state.embedder = { protocol, host, search, origin, href };
|
|
292
|
-
if (filename) {
|
|
293
|
-
state.__sessionFor__ = {
|
|
294
|
-
route: this.route,
|
|
295
|
-
filename,
|
|
296
|
-
dslabel: this.dslabel,
|
|
297
|
-
embedder: window.location.hostname
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
const res = await dofetch3("/massSession", {
|
|
301
|
-
headers,
|
|
302
|
-
method: "POST",
|
|
303
|
-
body: JSON.stringify(state)
|
|
304
|
-
});
|
|
305
|
-
if (filename) {
|
|
306
|
-
return res;
|
|
307
|
-
} else {
|
|
308
|
-
const url = `${this.hostURL}/?mass-session-id=${res.id}&noheader=1`;
|
|
309
|
-
this.dom.tip.showunder(this.dom.button.node());
|
|
310
|
-
const linkDiv = this.dom.tip.d.append("div").style("margin", "10px");
|
|
311
|
-
linkDiv.append("div").style("display", "flex").style("margin-bottom", "12px").html(`Open or copy the session link.`);
|
|
312
|
-
const a = linkDiv.append("a").style("display", "none").attr("href", url).attr("target", "_blank").html(res.id);
|
|
313
|
-
linkDiv.append("button").style("cursor", "pointer").text("Open link").on("click", () => {
|
|
314
|
-
a.node().click();
|
|
315
|
-
});
|
|
316
|
-
linkDiv.append("button").style("cursor", "pointer").style("margin-left", "10px").text("Copy link").on("click", async (event2) => {
|
|
317
|
-
await navigator.clipboard.writeText(url);
|
|
318
|
-
this.dom.copytip.clear().showunder(event2.target);
|
|
319
|
-
this.dom.copytip.d.append("div").html("✓");
|
|
320
|
-
setTimeout(() => {
|
|
321
|
-
this.dom.copytip.hide();
|
|
322
|
-
}, 1e3);
|
|
323
|
-
});
|
|
324
|
-
if (this.hostURL != window.location.origin) {
|
|
325
|
-
a.on("click", (event2) => {
|
|
326
|
-
event2.preventDefault();
|
|
327
|
-
parentCorsMessage({ state }, "noredirect");
|
|
328
|
-
return false;
|
|
329
|
-
});
|
|
330
|
-
}
|
|
331
|
-
linkDiv.append("div").html(`
|
|
332
|
-
<br>
|
|
333
|
-
<div style="max-width: 400px; font-size: 1em; opacity:.6">
|
|
334
|
-
<span>NOTES</span>
|
|
335
|
-
<ul>
|
|
336
|
-
<li>A recovered session may hide data or views to users that are not authorized to access the saved datasets or features.</li>
|
|
337
|
-
<li>This session will be saved for ${this.opts.massSessionDuration} days.</li>
|
|
338
|
-
</ul>
|
|
339
|
-
</div>`);
|
|
340
|
-
setTimeout(() => {
|
|
341
|
-
this.dom.button.property("disabled", false);
|
|
342
|
-
}, 1e3);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
async delete() {
|
|
346
|
-
const t = await this.listSessions({
|
|
347
|
-
trClickHandler: function(event2) {
|
|
348
|
-
const input = this.lastChild.querySelector("input");
|
|
349
|
-
const checked = event2.target == input ? input.checked : !input.checked;
|
|
350
|
-
select_default(this).style("text-decoration", checked ? "line-through" : "");
|
|
351
|
-
if (event2.target != input) input.checked = checked;
|
|
352
|
-
const checkedRows = t.table.node().querySelectorAll("input:checked");
|
|
353
|
-
submitBtn.property("disabled", checkedRows.length ? false : true);
|
|
354
|
-
}
|
|
355
|
-
});
|
|
356
|
-
t.headtr.append("th").html("Delete");
|
|
357
|
-
t.trs.each(function(d) {
|
|
358
|
-
select_default(this).append("td").style("text-align", "center").append("input").attr("type", "checkbox").attr("value", d.id);
|
|
359
|
-
});
|
|
360
|
-
const submitBtn = this.dom.tip.d.append("div").style("text-align", "center").append("button").html("Delete selected sessions").property("disabled", true).on("click", async () => {
|
|
361
|
-
const inputs = t.table.node().querySelectorAll("input");
|
|
362
|
-
const sessionIdsDeletedFromServer = [];
|
|
363
|
-
for (const input of inputs) {
|
|
364
|
-
if (select_default(input).property("checked")) {
|
|
365
|
-
const d = input.parentNode.parentNode.__data__;
|
|
366
|
-
if (d.loc == "browser") {
|
|
367
|
-
delete this.savedSessions[input.value];
|
|
368
|
-
} else if (d.loc == "server") {
|
|
369
|
-
delete this.serverCachedSessions[input.value];
|
|
370
|
-
sessionIdsDeletedFromServer.push(input.value);
|
|
371
|
-
} else throw `unknown cache location=${d.loc}`;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
|
|
375
|
-
try {
|
|
376
|
-
const headers = await this.app.vocabApi.mayGetAuthHeaders("termdb");
|
|
377
|
-
const body = {
|
|
378
|
-
ids: sessionIdsDeletedFromServer,
|
|
379
|
-
route: this.route,
|
|
380
|
-
dslabel: this.dslabel,
|
|
381
|
-
embedder: window.location.hostname
|
|
382
|
-
};
|
|
383
|
-
const res = dofetch3(`/massSession?`, { method: "DELETE", headers, body });
|
|
384
|
-
} catch (e) {
|
|
385
|
-
throw e;
|
|
386
|
-
}
|
|
387
|
-
this.dom.tip.hide();
|
|
388
|
-
});
|
|
389
|
-
}
|
|
390
|
-
showBackBtn() {
|
|
391
|
-
this.dom.tip.d.append("div").attr("class", "sja_clbtext2").style("margin-bottom", "10px").style("cursor", "pointer").html(`< Session Menu`).on("click", () => this.showMenu());
|
|
392
|
-
}
|
|
393
|
-
confirmAction(html) {
|
|
394
|
-
this.dom.tip.clear().d.append("div").html(html).transition().delay(3e3).duration(1e3).style("opacity", 0);
|
|
395
|
-
setTimeout(() => {
|
|
396
|
-
this.dom.tip.hide();
|
|
397
|
-
}, 3500);
|
|
398
|
-
}
|
|
399
|
-
};
|
|
400
|
-
async function preprocessState(state, app) {
|
|
401
|
-
delete state.termdbConfig;
|
|
402
|
-
if (state.plots) {
|
|
403
|
-
const promises = [];
|
|
404
|
-
for (const plot of state.plots) {
|
|
405
|
-
promises.push(
|
|
406
|
-
(async () => {
|
|
407
|
-
const _ = await importPlot(plot.chartType);
|
|
408
|
-
return await _.getPlotConfig(plot, app);
|
|
409
|
-
})()
|
|
410
|
-
);
|
|
411
|
-
}
|
|
412
|
-
try {
|
|
413
|
-
await Promise.all(promises);
|
|
414
|
-
} catch (e) {
|
|
415
|
-
console.log(e);
|
|
416
|
-
app.printError(e);
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
var sessionBtnInit = getCompInit(MassSessionBtn);
|
|
421
|
-
|
|
422
|
-
// mass/about.ts
|
|
423
|
-
var cohortTableActiveColor = "yellow";
|
|
424
|
-
var MassAbout = class _MassAbout {
|
|
425
|
-
constructor(opts) {
|
|
426
|
-
this.initCohort = (appState) => {
|
|
427
|
-
if (this.selectCohort == null) return;
|
|
428
|
-
if (!this.selectCohort.values) return;
|
|
429
|
-
const instanceNum2 = this.instanceNum;
|
|
430
|
-
const activeCohort = appState.activeCohort;
|
|
431
|
-
const app = this.app;
|
|
432
|
-
this.dom.cohortOpts.append("table").attr("data-testid", "sjpp-about-cohort-options-table").selectAll("tr").data(this.selectCohort.values).enter().append("tr").each(function(d, i, nodes) {
|
|
433
|
-
const tr = select_default(nodes[i]);
|
|
434
|
-
const td0 = tr.append("td");
|
|
435
|
-
const radioName = "sja-termdb-cohort-" + instanceNum2;
|
|
436
|
-
const radioId = radioName + "-" + i;
|
|
437
|
-
td0.append("input").style("scale", "1.2").attr("type", "radio").attr("name", radioName).attr("id", radioId).attr("value", i).property("checked", i === activeCohort).style("margin-right", "5px").style("margin-left", "0px").on("click", async (event2) => {
|
|
438
|
-
const state = app.getState();
|
|
439
|
-
const clearOnChange = state.termdbConfig.selectCohort.clearOnChange;
|
|
440
|
-
if (clearOnChange) {
|
|
441
|
-
const subactions = [];
|
|
442
|
-
const toBeCleared = [];
|
|
443
|
-
const plots = state.plots;
|
|
444
|
-
const filter = state.termfilter.filter.lst.find((f) => f.tag == "filterUiRoot")?.lst;
|
|
445
|
-
const groups = state.groups;
|
|
446
|
-
if (clearOnChange.plots && plots?.length) toBeCleared.push("plots");
|
|
447
|
-
for (const plot of plots) {
|
|
448
|
-
subactions.push({
|
|
449
|
-
type: "plot_delete",
|
|
450
|
-
id: plot.id
|
|
451
|
-
});
|
|
452
|
-
}
|
|
453
|
-
if (clearOnChange.filter && filter?.length) toBeCleared.push("filters");
|
|
454
|
-
subactions.push({
|
|
455
|
-
type: "filter_replace",
|
|
456
|
-
filter: {
|
|
457
|
-
type: "tvslst",
|
|
458
|
-
in: true,
|
|
459
|
-
join: "",
|
|
460
|
-
tag: "filterUiRoot",
|
|
461
|
-
lst: []
|
|
462
|
-
}
|
|
463
|
-
});
|
|
464
|
-
if (clearOnChange.groups && groups?.length) {
|
|
465
|
-
toBeCleared.push("groups");
|
|
466
|
-
for (const group of groups) {
|
|
467
|
-
subactions.push({
|
|
468
|
-
type: "delete_group",
|
|
469
|
-
name: group.name
|
|
470
|
-
});
|
|
471
|
-
}
|
|
472
|
-
for (const term of state.customTerms) {
|
|
473
|
-
subactions.push({
|
|
474
|
-
type: "delete_customTerm",
|
|
475
|
-
name: term.name
|
|
476
|
-
});
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
subactions.push({ type: "cohort_set", activeCohort: i });
|
|
480
|
-
if (toBeCleared.length) {
|
|
481
|
-
const confirm = window.confirm(
|
|
482
|
-
`Changing the cohort will clear all ${joinByComma(
|
|
483
|
-
toBeCleared
|
|
484
|
-
)}. To proceed, click "OK". To save the session, click "Cancel" and then click the "Session" button at the top of the page.`
|
|
485
|
-
);
|
|
486
|
-
if (!confirm) {
|
|
487
|
-
event2.preventDefault();
|
|
488
|
-
return;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
app.dispatch({
|
|
492
|
-
type: "app_refresh",
|
|
493
|
-
subactions
|
|
494
|
-
});
|
|
495
|
-
} else app.dispatch({ type: "cohort_set", activeCohort: i });
|
|
496
|
-
});
|
|
497
|
-
td0.append("label").style("font-size", "1.4em").attr("for", radioId).attr("colspan", 2).style("cursor", "pointer").html((d2) => d2.label);
|
|
498
|
-
tr.selectAll("td").style("max-width", "600px").style("padding-bottom", "10px").style("padding-right", "20px").style("vertical-align", "top");
|
|
499
|
-
});
|
|
500
|
-
this.dom.cohortTable = this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-table").style("margin-left", "12px");
|
|
501
|
-
if (this.selectCohort.asterisk) {
|
|
502
|
-
this.dom.cohortAsterisk = this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-asterisk").style("margin", "10px").style("font-size", ".8em").text(this.selectCohort.asterisk);
|
|
503
|
-
}
|
|
504
|
-
};
|
|
505
|
-
this.renderCohortsTable = async () => {
|
|
506
|
-
if (!this.dom.cohortTable) return;
|
|
507
|
-
this.dom.cohortTable.selectAll("*").remove();
|
|
508
|
-
const columns = [{ label: "Feature" }];
|
|
509
|
-
const rows = [];
|
|
510
|
-
const result = await this.app.vocabApi.getCohortsData();
|
|
511
|
-
if ("error" in result) throw result.error;
|
|
512
|
-
if (this.selectCohort?.values) {
|
|
513
|
-
const values = this.selectCohort.values;
|
|
514
|
-
result.cohorts.sort((a, b) => {
|
|
515
|
-
const aIndex = values.findIndex((v) => v.keys.toString() == a.cohort);
|
|
516
|
-
const bIndex = values.findIndex((v) => v.keys.toString() == b.cohort);
|
|
517
|
-
if (aIndex < bIndex) return -1;
|
|
518
|
-
if (aIndex > bIndex) return 1;
|
|
519
|
-
return 0;
|
|
520
|
-
});
|
|
521
|
-
}
|
|
522
|
-
if (!result.cfeatures.length) return;
|
|
523
|
-
for (const feature of result.features) rows.push([{ value: feature.name }]);
|
|
524
|
-
for (const cohort of result.cohorts) {
|
|
525
|
-
if (cohort.subcohorts?.length) continue;
|
|
526
|
-
columns.push({ label: cohort.name });
|
|
527
|
-
for (const [i, feature] of result.features.entries()) {
|
|
528
|
-
const cf = result.cfeatures.find((cf2) => cf2.idfeature === feature.idfeature && cf2.cohort === cohort.cohort);
|
|
529
|
-
if (cf) rows[i].push({ value: cf.value });
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
renderTable({
|
|
533
|
-
rows,
|
|
534
|
-
columns,
|
|
535
|
-
div: this.dom.cohortTable,
|
|
536
|
-
showLines: false,
|
|
537
|
-
maxHeight: "60vh",
|
|
538
|
-
header: { style: { "font-size": "1.2em", "font-weight": "bold" } }
|
|
539
|
-
});
|
|
540
|
-
this.dom.cohortTable.select("table").style("border-collapse", "collapse");
|
|
541
|
-
this.dom.cohortTable.selectAll(`tbody > tr > td`).style("background-color", "transparent").style("padding", "6px");
|
|
542
|
-
const state = this.app.getState();
|
|
543
|
-
const selectCohort = state.termdbConfig.selectCohort;
|
|
544
|
-
const activeCohort = state.activeCohort;
|
|
545
|
-
const keys = selectCohort.values[activeCohort].keys;
|
|
546
|
-
let selector = `tbody > tr > td:nth-child(${activeCohort + 2})`;
|
|
547
|
-
const combined = keys.length > 1;
|
|
548
|
-
if (combined) {
|
|
549
|
-
selector = "";
|
|
550
|
-
for (const key of keys) {
|
|
551
|
-
const i = result.cohorts.map((c) => c.cohort).indexOf(key);
|
|
552
|
-
if (selector !== "") selector += ",";
|
|
553
|
-
selector += `tbody > tr > td:nth-child(${i + 2})`;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
const activeColumns = this.dom.cohortTable.selectAll(selector);
|
|
557
|
-
const color = state.termdbConfig.massNav?.activeColor || cohortTableActiveColor;
|
|
558
|
-
activeColumns.style("background-color", color);
|
|
559
|
-
};
|
|
560
|
-
this.initCustomHtml = () => {
|
|
561
|
-
if (this.selectCohort != null) return;
|
|
562
|
-
if (!this.aboutOverrides?.html) return;
|
|
563
|
-
this.subheader.append("div").attr("data-testid", "sjpp-custom-about-content").style("padding", "10px").html(this.aboutOverrides.html);
|
|
564
|
-
};
|
|
565
|
-
// render the world map (from termdbConfig.geomap) directly on the landing tab when the dataset opts in.
|
|
566
|
-
// the renderer (and its ~170KB world.json basemap) is dynamically imported so it never loads for
|
|
567
|
-
// datasets that don't enable the map.
|
|
568
|
-
this.initGeomap = async (appState) => {
|
|
569
|
-
if (!this.aboutOverrides?.showGeomap) return;
|
|
570
|
-
const geomap = appState.termdbConfig?.geomap;
|
|
571
|
-
if (!geomap?.sites?.length) return;
|
|
572
|
-
const holder = this.subheader.append("div").attr("data-testid", "sjpp-about-geomap").style("padding", "10px");
|
|
573
|
-
const { renderGeomap } = await import("./render-MAD3WMVD.js");
|
|
574
|
-
renderGeomap(holder, geomap);
|
|
575
|
-
};
|
|
576
|
-
this.initActiveItems = () => {
|
|
577
|
-
if (!this.aboutOverrides?.activeItems) return;
|
|
578
|
-
if (this.aboutOverrides.activeItems.layout == "cards") {
|
|
579
|
-
this.initActiveItemCards();
|
|
580
|
-
return;
|
|
581
|
-
}
|
|
582
|
-
const div = this.subheader.append("div").attr("data-testid", "sjpp-custom-about-activeItems").style("padding", "0px 0px 10px 20px");
|
|
583
|
-
for (const item of this.aboutOverrides.activeItems.items) {
|
|
584
|
-
const btn = div.append("div").style("display", "inline-block").style("margin", "5px").attr("class", "sja_menuoption").attr("data-testid", "sjpp-custom-active-item-btn").html(item.title);
|
|
585
|
-
this.makeActivatable(btn, () => this.launchActiveItem(item, btn.node()));
|
|
586
|
-
}
|
|
587
|
-
};
|
|
588
|
-
// render activeItems as large square tiles (homepage style) that lift on hover
|
|
589
|
-
this.initActiveItemCards = () => {
|
|
590
|
-
const items = this.aboutOverrides.activeItems.items;
|
|
591
|
-
const holder = this.subheader.append("div").attr("data-testid", "sjpp-custom-about-activeItems").style("display", "flex").style("flex-wrap", "wrap").style("justify-content", "center").style("gap", "24px").style("padding", "20px 20px 30px 20px");
|
|
592
|
-
for (const item of items) {
|
|
593
|
-
const card = holder.append("div").attr("class", "sjpp-about-card").attr("data-testid", "sjpp-custom-active-item-card");
|
|
594
|
-
if (item.icon) card.append("div").attr("class", "sjpp-about-card-icon").html(item.icon);
|
|
595
|
-
card.append("div").attr("class", "sjpp-about-card-title").html(item.title);
|
|
596
|
-
card.append("div").attr("class", "sjpp-about-card-subtitle").text(item.subtitle || "");
|
|
597
|
-
this.makeActivatable(card, () => this.launchActiveItem(item, card.node()));
|
|
598
|
-
}
|
|
599
|
-
};
|
|
600
|
-
// make a non-native clickable element (a styled <div>) operable like a button:
|
|
601
|
-
this.makeActivatable = (sel, onActivate) => {
|
|
602
|
-
sel.attr("role", "button").attr("tabindex", 0).on("click", () => onActivate()).on("keydown", (event2) => {
|
|
603
|
-
if (event2.key == "Enter" || event2.key == " ") {
|
|
604
|
-
event2.preventDefault();
|
|
605
|
-
onActivate();
|
|
606
|
-
}
|
|
607
|
-
});
|
|
608
|
-
};
|
|
609
|
-
// launch behavior shared by button and card layouts
|
|
610
|
-
this.launchActiveItem = async (item, anchorEl) => {
|
|
611
|
-
if (item.openChartMenu) {
|
|
612
|
-
await this.openChartMenu(item.openChartMenu, anchorEl);
|
|
613
|
-
return;
|
|
614
|
-
}
|
|
615
|
-
if (!item.plot) {
|
|
616
|
-
console.error("about activeItem has neither .plot nor .openChartMenu", item);
|
|
617
|
-
return;
|
|
618
|
-
}
|
|
619
|
-
await this.app.dispatch({
|
|
620
|
-
type: "tab_set",
|
|
621
|
-
activeTab: 1
|
|
622
|
-
});
|
|
623
|
-
this.app.dispatch({
|
|
624
|
-
type: "plot_create",
|
|
625
|
-
id: getId(),
|
|
626
|
-
config: structuredClone(item.plot)
|
|
627
|
-
});
|
|
628
|
-
};
|
|
629
|
-
// open a chart-specific launch menu (e.g. gene search for proteinView) anchored to the tile.
|
|
630
|
-
// the chart module is dynamically imported so its code only loads when the tile is clicked.
|
|
631
|
-
this.openChartMenu = async (chartType, anchorEl) => {
|
|
632
|
-
const menu = this.chartMenu || (this.chartMenu = new Menu({ padding: "0px" }));
|
|
633
|
-
menu.clear();
|
|
634
|
-
const shimApp = {
|
|
635
|
-
opts: this.app.opts,
|
|
636
|
-
dispatch: async (action) => {
|
|
637
|
-
if (action.type == "plot_create") await this.app.dispatch({ type: "tab_set", activeTab: 1 });
|
|
638
|
-
return this.app.dispatch(action);
|
|
639
|
-
}
|
|
640
|
-
};
|
|
641
|
-
const chartsInstanceShim = { app: shimApp, dom: { tip: menu } };
|
|
642
|
-
const _ = await importPlot(chartType);
|
|
643
|
-
if (typeof _.makeChartBtnMenu != "function")
|
|
644
|
-
throw `about activeItem openChartMenu: chart '${chartType}' has no makeChartBtnMenu`;
|
|
645
|
-
_.makeChartBtnMenu(menu.d.append("div"), chartsInstanceShim, chartType);
|
|
646
|
-
menu.showunder(anchorEl);
|
|
647
|
-
};
|
|
648
|
-
this.initDisclaimer = () => {
|
|
649
|
-
const d = this.aboutOverrides?.disclaimer;
|
|
650
|
-
if (!d) return;
|
|
651
|
-
const div = this.subheader.append("div").attr("data-testid", "sjpp-custom-about-disclaimer").style("margin", "10px 0 20px 10px").style("opacity", 0.7).style("padding", "10px").style("background-color", "#f8f9fa").style("border-left", "4px solid #6c757d").style("font-size", "0.8em");
|
|
652
|
-
div.append("div").style("margin-bottom", "8px").style("font-weight", "bold").text("DISCLAIMER");
|
|
653
|
-
div.append("div").text(d.text);
|
|
654
|
-
};
|
|
655
|
-
this.showServerInfo = () => {
|
|
656
|
-
const state = this.app.getState();
|
|
657
|
-
const about = state.termdbConfig.massNav?.tabs?.about;
|
|
658
|
-
if (!about && !this.app.opts.pkgver && !this.app.opts.launchDate) return;
|
|
659
|
-
const dataRelease = about?.dataRelease;
|
|
660
|
-
const additionalInfo = about?.additionalInfo;
|
|
661
|
-
const div = this.subheader.append("div").attr("data-testid", "sjpp-about-server-info").style("margin", "10px").style("font-size", ".8em");
|
|
662
|
-
const htmlArr = [];
|
|
663
|
-
if (dataRelease) {
|
|
664
|
-
htmlArr.push(`Data Release: <a href=${dataRelease.link} target=_blank>${dataRelease.version}</a>`);
|
|
665
|
-
}
|
|
666
|
-
if (this.app.opts.pkgver) {
|
|
667
|
-
htmlArr.push(
|
|
668
|
-
`Software Release: <a href=https://github.com/stjude/proteinpaint/pkgs/container/ppfull target=_blank>${this.app.opts.pkgver}</a>`
|
|
669
|
-
);
|
|
670
|
-
}
|
|
671
|
-
if (this.app.opts.launchDate) {
|
|
672
|
-
htmlArr.push(`Server Launched: ${this.app.opts.launchDate}`);
|
|
673
|
-
}
|
|
674
|
-
if (additionalInfo) {
|
|
675
|
-
htmlArr.push(additionalInfo);
|
|
676
|
-
}
|
|
677
|
-
div.append("div").html(htmlArr.join("; "));
|
|
678
|
-
};
|
|
679
|
-
this.opts = opts;
|
|
680
|
-
this.type = _MassAbout.type;
|
|
681
|
-
this.app = opts.app;
|
|
682
|
-
this.subheader = opts.subheader;
|
|
683
|
-
this.instanceNum = opts.instanceNum;
|
|
684
|
-
this.aboutOverrides = opts.aboutOverrides;
|
|
685
|
-
this.selectCohort = opts.selectCohort;
|
|
686
|
-
this.dom = {
|
|
687
|
-
cohortDescription: this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-desc").style("margin-left", "10px")
|
|
688
|
-
};
|
|
689
|
-
if (opts?.selectCohort?.title) {
|
|
690
|
-
this.dom.cohortTitle = opts.subheader.append("h2").attr("data-testid", "sjpp-about-cohort-title").style("margin-left", "10px").text(opts.selectCohort.title);
|
|
691
|
-
}
|
|
692
|
-
if (opts.selectCohort?.prompt) {
|
|
693
|
-
this.dom.cohortPrompt = this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-prompt").style("margin-left", "10px").style("padding-top", "30px").style("padding-bottom", "10px").style("font-weight", "bold").style("font-size", "1.2em").text(opts.selectCohort.prompt);
|
|
694
|
-
}
|
|
695
|
-
if (opts.selectCohort) {
|
|
696
|
-
this.dom.cohortOpts = this.subheader.append("div").style("margin-bottom", "30px").style("margin-left", "10px");
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
static {
|
|
700
|
-
this.type = "about";
|
|
701
|
-
}
|
|
702
|
-
/* render all contents into this.subheader
|
|
703
|
-
do it through init() means that contents are rendered just once on launching mass ui and won't be rerendered or updated
|
|
704
|
-
since there's no reason to update about tab contents while user is interacting with mass ui
|
|
705
|
-
*/
|
|
706
|
-
init(appState) {
|
|
707
|
-
this.initCohort(appState);
|
|
708
|
-
this.initCustomHtml();
|
|
709
|
-
this.initGeomap(appState);
|
|
710
|
-
this.initActiveItems();
|
|
711
|
-
this.initDisclaimer();
|
|
712
|
-
this.showServerInfo();
|
|
713
|
-
}
|
|
714
|
-
async main() {
|
|
715
|
-
if (this.state.nav.activeTab !== 0) return;
|
|
716
|
-
await this.renderCohortsTable();
|
|
717
|
-
if (this.opts.selectCohort) {
|
|
718
|
-
if (this.opts.selectCohort.description) {
|
|
719
|
-
this.dom.cohortDescription.html(this.opts.selectCohort.description);
|
|
720
|
-
} else if (this.opts.selectCohort.descriptionByCohort) {
|
|
721
|
-
this.dom.cohortDescription.html(
|
|
722
|
-
this.opts.selectCohort.descriptionByCohort[this.state.termdbConfig.selectCohort.values[this.state.activeCohort].keys.join(",")]
|
|
723
|
-
);
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
};
|
|
728
|
-
var aboutInit = getCompInit(MassAbout);
|
|
729
|
-
function joinByComma(arr) {
|
|
730
|
-
if (!arr.length) return "";
|
|
731
|
-
else if (arr.length == 1) return arr[0];
|
|
732
|
-
else if (arr.length == 2) return arr.join(" and ");
|
|
733
|
-
else return `${arr.slice(0, -1).join(", ")}, and ${arr.slice(-1)}`;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
// mass/search.ts
|
|
737
|
-
var MIN_PROMPT_LENGTH_FOR_GENE_SEARCH = 1;
|
|
738
|
-
var MIN_PROMPT_LENGTH_FOR_OTHER_SEARCH = 3;
|
|
739
|
-
var MAX_PROMPT_LENGTH_FOR_OMNISEARCH = 20;
|
|
740
|
-
function makeMethylationRegionTerm(opts, vocabApi) {
|
|
741
|
-
const { chr, start, stop } = opts;
|
|
742
|
-
if (!chr || !Number.isInteger(start) || !Number.isInteger(stop)) throw new Error("invalid coordinate");
|
|
743
|
-
return {
|
|
744
|
-
chr,
|
|
745
|
-
start,
|
|
746
|
-
stop,
|
|
747
|
-
type: DNA_METHYLATION,
|
|
748
|
-
unit: getDNAMethUnit("region", vocabApi),
|
|
749
|
-
genomicFeatureType: "region"
|
|
750
|
-
};
|
|
751
|
-
}
|
|
752
|
-
async function embedMethylationRegionPicker(opts) {
|
|
753
|
-
const { holder, genomeObj, vocabApi, chr, start, stop, callback } = opts;
|
|
754
|
-
if (!chr || !Number.isInteger(start) || !Number.isInteger(stop)) throw new Error("unable to retrieve gene coordinate");
|
|
755
|
-
holder.selectAll("*").remove();
|
|
756
|
-
holder.style("display", "block");
|
|
757
|
-
holder.append("div").style("opacity", 0.6).text("Navigate genome browser to desired region");
|
|
758
|
-
const arg = {
|
|
759
|
-
holder,
|
|
760
|
-
genome: genomeObj,
|
|
761
|
-
// genome obj
|
|
762
|
-
chr,
|
|
763
|
-
start,
|
|
764
|
-
stop,
|
|
765
|
-
tklst: [],
|
|
766
|
-
nobox: true,
|
|
767
|
-
width: 500,
|
|
768
|
-
hidegenelegend: true,
|
|
769
|
-
debugmode: opts.debug
|
|
770
|
-
};
|
|
771
|
-
first_genetrack_tolist(genomeObj, arg.tklst);
|
|
772
|
-
const _ = await import("./block-747IK2EW.js");
|
|
773
|
-
const blockInstance = new _.Block(arg);
|
|
774
|
-
holder.append("div").attr("data-testid", "sjpp-dnaMethylation-submitDiv").style("margin", "10px 0px").append("button").style("border", "none").style("border-radius", "20px").style("padding", "10px 15px").text("Submit Region").on("click", async () => {
|
|
775
|
-
const { chr: chr2, start: start2, stop: stop2 } = blockInstance.rglst[0];
|
|
776
|
-
await callback(makeMethylationRegionTerm({ chr: chr2, start: start2, stop: stop2 }, vocabApi));
|
|
777
|
-
});
|
|
778
|
-
return blockInstance;
|
|
779
|
-
}
|
|
780
|
-
function parseCoordCandidates(prompt2) {
|
|
781
|
-
const m = /^\s*(\w+)\s*:\s*([\d,]+)\s*-\s*([\d,]+)\s*$/.exec(prompt2);
|
|
782
|
-
if (!m) return null;
|
|
783
|
-
const [, chrToken, start, stop] = m;
|
|
784
|
-
const chrCandidates = /^chr/i.test(chrToken) ? [chrToken, chrToken.replace(/^chr/i, "")] : [chrToken, "chr" + chrToken];
|
|
785
|
-
return chrCandidates.map((chr) => `${chr}:${start}-${stop}`);
|
|
786
|
-
}
|
|
787
|
-
async function handleOmnisearchKeyup(self, event2) {
|
|
788
|
-
if (keyupEnter(event2)) return;
|
|
789
|
-
const prompt2 = event2.target.value.trim();
|
|
790
|
-
if (!prompt2) {
|
|
791
|
-
self.dom.noMatchShown = false;
|
|
792
|
-
self.clear({ hide: true });
|
|
793
|
-
return;
|
|
794
|
-
}
|
|
795
|
-
const coordCandidates = parseCoordCandidates(prompt2);
|
|
796
|
-
if (coordCandidates || MIN_PROMPT_LENGTH_FOR_GENE_SEARCH <= prompt2.length && prompt2.length <= MAX_PROMPT_LENGTH_FOR_OMNISEARCH) {
|
|
797
|
-
try {
|
|
798
|
-
await doSearch(self, prompt2, coordCandidates);
|
|
799
|
-
} catch (e) {
|
|
800
|
-
if (e.stack) console.log(e.stack);
|
|
801
|
-
sayerror(self.dom.resultDiv, "Error: " + (e.message || e));
|
|
802
|
-
}
|
|
803
|
-
} else {
|
|
804
|
-
self.dom.noMatchShown = false;
|
|
805
|
-
self.clear({ hide: true });
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
async function fetchOmnisearch(opts) {
|
|
809
|
-
const data = await dofetch3("termdb/chat", {
|
|
810
|
-
body: {
|
|
811
|
-
genome: opts.genome,
|
|
812
|
-
dslabel: opts.dslabel,
|
|
813
|
-
omnisearch: true,
|
|
814
|
-
prompt: opts.prompt,
|
|
815
|
-
cohortStr: opts.cohortStr,
|
|
816
|
-
usecase: opts.usecase,
|
|
817
|
-
treeFilter: opts.treeFilter,
|
|
818
|
-
coordCandidates: opts.coordCandidates || void 0,
|
|
819
|
-
// gene search runs from 1 char; dictionary + sample search only once the prompt reaches the
|
|
820
|
-
// longer cutoff, so the server skips them (and their all-samples scan) for short prompts
|
|
821
|
-
includeDictAndSampleSearch: opts.prompt.trim().length >= MIN_PROMPT_LENGTH_FOR_OTHER_SEARCH
|
|
822
|
-
}
|
|
823
|
-
});
|
|
824
|
-
if (data.error) throw data.error;
|
|
825
|
-
return data;
|
|
826
|
-
}
|
|
827
|
-
function renderOmnisearchResults(self, data) {
|
|
828
|
-
const coord = data.coord || null;
|
|
829
|
-
const dictItems = Array.isArray(data.dictionaryTerms) ? data.dictionaryTerms : [];
|
|
830
|
-
const genes = Array.isArray(data.genes) ? data.genes : [];
|
|
831
|
-
const dictNames = new Set(dictItems.map((t) => t.name?.toUpperCase()));
|
|
832
|
-
const geneMap = /* @__PURE__ */ new Map();
|
|
833
|
-
for (const g of genes) {
|
|
834
|
-
const gene = g?.gene;
|
|
835
|
-
if (!gene || dictNames.has(gene.toUpperCase())) continue;
|
|
836
|
-
const dt = g.dataTypes || {};
|
|
837
|
-
const geneVariantTypes = [];
|
|
838
|
-
if (dt.snvindel) geneVariantTypes.push({ label: "SNV/indel", testid: "snvindel", dtCandidates: [dtsnvindel] });
|
|
839
|
-
if (dt.cnv) geneVariantTypes.push({ label: "CNV", testid: "cnv", dtCandidates: [dtcnv] });
|
|
840
|
-
if (dt.svfusion)
|
|
841
|
-
geneVariantTypes.push({ label: "SV/fusion", testid: "svfusion", dtCandidates: [dtsv, dtfusionrna] });
|
|
842
|
-
const entry = { name: gene, gene, isGene: true };
|
|
843
|
-
if (dt.geneExpression) entry.isGeneExpression = true;
|
|
844
|
-
if (geneVariantTypes.length) {
|
|
845
|
-
entry.isGeneVariant = true;
|
|
846
|
-
entry.geneVariantTypes = geneVariantTypes;
|
|
847
|
-
}
|
|
848
|
-
if (dt.genomeBrowser) {
|
|
849
|
-
entry.isGenomeBrowser = true;
|
|
850
|
-
entry.coord = g.coord;
|
|
851
|
-
}
|
|
852
|
-
if (dt.dnaMethylation) {
|
|
853
|
-
entry.isMethylation = true;
|
|
854
|
-
entry.coord = g.coord;
|
|
855
|
-
}
|
|
856
|
-
if (entry.isGeneExpression || entry.isGeneVariant || entry.isGenomeBrowser || entry.isMethylation) {
|
|
857
|
-
geneMap.set(gene.toUpperCase(), entry);
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
const geneItems = [...geneMap.values()];
|
|
861
|
-
const sampleItems = (Array.isArray(data.samples) ? data.samples : []).filter((s) => s?.name).map((s) => ({
|
|
862
|
-
isSample: true,
|
|
863
|
-
name: s.name,
|
|
864
|
-
sampleId: s.id,
|
|
865
|
-
singleCell: s.singleCell,
|
|
866
|
-
facetTracks: s.assays
|
|
867
|
-
}));
|
|
868
|
-
const coordItems = coord ? [{ isCoord: true, name: `${coord.chr}:${coord.start.toLocaleString()}-${coord.stop.toLocaleString()}`, coord }] : [];
|
|
869
|
-
const totals = data.totals || {};
|
|
870
|
-
const lst = [];
|
|
871
|
-
for (const group of [
|
|
872
|
-
{
|
|
873
|
-
key: "dictionary",
|
|
874
|
-
heading: "Dictionary",
|
|
875
|
-
noun: "dictionary variable",
|
|
876
|
-
items: dictItems,
|
|
877
|
-
returned: dictItems.length,
|
|
878
|
-
total: totals.dictionaryTerms
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
key: "genes",
|
|
882
|
-
heading: "Genes",
|
|
883
|
-
noun: "gene",
|
|
884
|
-
items: geneItems,
|
|
885
|
-
returned: Array.isArray(data.genes) ? data.genes.length : 0,
|
|
886
|
-
total: totals.genes
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
key: "samples",
|
|
890
|
-
heading: "Samples",
|
|
891
|
-
noun: "sample",
|
|
892
|
-
items: sampleItems,
|
|
893
|
-
returned: sampleItems.length,
|
|
894
|
-
total: totals.samples
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
key: "coord",
|
|
898
|
-
heading: "Genomic region",
|
|
899
|
-
noun: "",
|
|
900
|
-
items: coordItems,
|
|
901
|
-
returned: coordItems.length,
|
|
902
|
-
total: void 0
|
|
903
|
-
}
|
|
904
|
-
]) {
|
|
905
|
-
if (!group.items.length) continue;
|
|
906
|
-
lst.push({ isHeading: true, name: group.heading });
|
|
907
|
-
for (const item of group.items) lst.push(item);
|
|
908
|
-
if (typeof group.total == "number" && group.total > group.returned) {
|
|
909
|
-
lst.push({
|
|
910
|
-
isNote: true,
|
|
911
|
-
testid: `sjpp-mass-chat-note-${group.key}`,
|
|
912
|
-
name: `Displaying ${group.items.length} out of a total of ${group.total} ${group.noun} matches`
|
|
913
|
-
});
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
if (!lst.length) {
|
|
917
|
-
if (!self.dom.noMatchShown) {
|
|
918
|
-
self.dom.noMatchShown = true;
|
|
919
|
-
self.noResult();
|
|
920
|
-
}
|
|
921
|
-
} else {
|
|
922
|
-
self.dom.noMatchShown = false;
|
|
923
|
-
self.showTerms({ lst });
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
async function doSearch(self, prompt2, coordCandidates) {
|
|
927
|
-
if (!prompt2) {
|
|
928
|
-
self.clear({ hide: true });
|
|
929
|
-
return;
|
|
930
|
-
}
|
|
931
|
-
const seq = self.omnisearchSeq = (self.omnisearchSeq || 0) + 1;
|
|
932
|
-
const data = await fetchOmnisearch({
|
|
933
|
-
genome: self.app.vocabApi.vocab.genome,
|
|
934
|
-
dslabel: self.app.vocabApi.vocab.dslabel,
|
|
935
|
-
prompt: prompt2,
|
|
936
|
-
cohortStr: self.getState(self.app.getState()).cohortStr,
|
|
937
|
-
usecase: self.opts.usecase,
|
|
938
|
-
treeFilter: self.app.vocabApi.state?.treeFilter,
|
|
939
|
-
coordCandidates
|
|
940
|
-
});
|
|
941
|
-
if (seq !== self.omnisearchSeq) return;
|
|
942
|
-
renderOmnisearchResults(self, data);
|
|
943
|
-
}
|
|
944
|
-
function setSearchRenderers(self) {
|
|
945
|
-
let text = "No match";
|
|
946
|
-
if (self.isChat) {
|
|
947
|
-
text = "No match. Using the chatbot...";
|
|
948
|
-
}
|
|
949
|
-
self.noResult = () => {
|
|
950
|
-
self.clear();
|
|
951
|
-
self.dom.resultDiv.append("div").text(text).style("padding", "3px 3px 3px 0px").style("opacity", 0.5);
|
|
952
|
-
clearTimeout(self.noResultTimer);
|
|
953
|
-
self.noResultTimer = setTimeout(() => {
|
|
954
|
-
self.clear({ hide: true });
|
|
955
|
-
}, 1500);
|
|
956
|
-
};
|
|
957
|
-
self.showTerms = (data) => {
|
|
958
|
-
clearTimeout(self.noResultTimer);
|
|
959
|
-
if (self.opts.disable_terms)
|
|
960
|
-
data.lst.forEach((t) => {
|
|
961
|
-
if (t.disabled) self.opts.disable_terms.push(t);
|
|
962
|
-
});
|
|
963
|
-
self.clear({ hide: !data.lst.length });
|
|
964
|
-
if (data.lst.length) {
|
|
965
|
-
self.dom.resultDiv.append("table").selectAll().data(data.lst).enter().append("tr").each(self.showTerm);
|
|
966
|
-
}
|
|
967
|
-
};
|
|
968
|
-
self.launchPlot = async (config) => {
|
|
969
|
-
if (self.state?.nav?.activeTab == 0) {
|
|
970
|
-
await self.app.dispatch({ type: "tab_set", activeTab: 1 });
|
|
971
|
-
}
|
|
972
|
-
self.app.dispatch({ type: "plot_create", config });
|
|
973
|
-
self.dom.inputNode.value = "";
|
|
974
|
-
self.clear({ hide: true });
|
|
975
|
-
};
|
|
976
|
-
self.launchGeneVariantPlot = async (gene, dtCandidates) => {
|
|
977
|
-
let tw;
|
|
978
|
-
let lastErr;
|
|
979
|
-
for (const dt of dtCandidates) {
|
|
980
|
-
const candidate = {
|
|
981
|
-
term: {
|
|
982
|
-
id: gene,
|
|
983
|
-
name: gene,
|
|
984
|
-
genes: [{ kind: "gene", id: gene, gene, name: gene, type: "geneVariant" }],
|
|
985
|
-
type: "geneVariant"
|
|
986
|
-
},
|
|
987
|
-
q: { type: "predefined-groupset", dtLst: [dt] }
|
|
988
|
-
};
|
|
989
|
-
try {
|
|
990
|
-
await fillTermWrapper(candidate, self.app.vocabApi);
|
|
991
|
-
tw = candidate;
|
|
992
|
-
break;
|
|
993
|
-
} catch (e) {
|
|
994
|
-
lastErr = e;
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
if (!tw) throw lastErr;
|
|
998
|
-
await self.launchPlot({ chartType: "summary", term: tw });
|
|
999
|
-
};
|
|
1000
|
-
self.launchGenomeBrowserView = async (mode, opts) => {
|
|
1001
|
-
if (mode == "protein") {
|
|
1002
|
-
if (!opts.gene) throw new Error("gene symbol required for protein view");
|
|
1003
|
-
await self.launchPlot({
|
|
1004
|
-
chartType: "genomeBrowser",
|
|
1005
|
-
geneSearchResult: { geneSymbol: opts.gene },
|
|
1006
|
-
blockIsProteinMode: true
|
|
1007
|
-
});
|
|
1008
|
-
return;
|
|
1009
|
-
}
|
|
1010
|
-
if (!opts.coord) throw new Error("coordinate required for genomic view");
|
|
1011
|
-
await self.launchPlot({
|
|
1012
|
-
chartType: "genomeBrowser",
|
|
1013
|
-
geneSearchResult: { chr: opts.coord.chr, start: opts.coord.start, stop: opts.coord.stop },
|
|
1014
|
-
blockIsProteinMode: false
|
|
1015
|
-
});
|
|
1016
|
-
};
|
|
1017
|
-
self.launchGenomeBrowser = async (gene, coord) => {
|
|
1018
|
-
const gbRestrictMode = self.app.getState().termdbConfig?.queries?.gbRestrictMode;
|
|
1019
|
-
if (gbRestrictMode == "protein") {
|
|
1020
|
-
await self.launchGenomeBrowserView("protein", { gene });
|
|
1021
|
-
return;
|
|
1022
|
-
}
|
|
1023
|
-
if (gbRestrictMode == "genomic") {
|
|
1024
|
-
if (!coord) throw new Error(`Unable to resolve genomic coordinates for gene "${gene}".`);
|
|
1025
|
-
await self.launchGenomeBrowserView("genomic", { coord });
|
|
1026
|
-
return;
|
|
1027
|
-
}
|
|
1028
|
-
self.dom.tip.clear();
|
|
1029
|
-
self.dom.tip.showunder(self.dom.inputNode);
|
|
1030
|
-
const holder = self.dom.resultDiv.append("div").style("margin", "10px");
|
|
1031
|
-
holder.append("div").style("margin-bottom", "5px").text(gene);
|
|
1032
|
-
const btndiv = holder.append("div");
|
|
1033
|
-
const addViewBtn = (label, testid, mode) => {
|
|
1034
|
-
btndiv.append("button").attr("data-testid", testid).style("margin-right", "10px").text(label).on(
|
|
1035
|
-
"click",
|
|
1036
|
-
() => void self.launchGenomeBrowserView(mode, { gene, coord }).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1037
|
-
);
|
|
1038
|
-
};
|
|
1039
|
-
addViewBtn(`Protein view of ${gene}`, `sjpp-mass-chat-gb-protein-${gene}`, "protein");
|
|
1040
|
-
if (coord) addViewBtn(`Genomic view of ${gene}`, `sjpp-mass-chat-gb-genomic-${gene}`, "genomic");
|
|
1041
|
-
};
|
|
1042
|
-
self.launchMethylationPlot = async (gene, coord) => {
|
|
1043
|
-
if (!coord) throw new Error(`Could not resolve coordinates for gene "${gene}"`);
|
|
1044
|
-
self.dom.tip.clear();
|
|
1045
|
-
self.dom.tip.showunder(self.dom.inputNode);
|
|
1046
|
-
const holder = self.dom.resultDiv.append("div").style("margin", "10px");
|
|
1047
|
-
holder.append("div").style("margin-bottom", "5px").text(gene);
|
|
1048
|
-
await embedMethylationRegionPicker({
|
|
1049
|
-
holder: holder.append("div"),
|
|
1050
|
-
genomeObj: self.app.opts.genome,
|
|
1051
|
-
vocabApi: self.app.vocabApi,
|
|
1052
|
-
chr: coord.chr,
|
|
1053
|
-
start: coord.start,
|
|
1054
|
-
stop: coord.stop,
|
|
1055
|
-
callback: async (term) => {
|
|
1056
|
-
await self.launchPlot({ chartType: "summary", term: { term } });
|
|
1057
|
-
}
|
|
1058
|
-
});
|
|
1059
|
-
};
|
|
1060
|
-
self.showTerm = function(item) {
|
|
1061
|
-
const tr = select_default(this);
|
|
1062
|
-
if (item.isHeading) {
|
|
1063
|
-
tr.append("td").attr("colspan", 2).attr("data-testid", `sjpp-mass-chat-heading-${item.name.toLowerCase().replace(/\s+/g, "-")}`).text(item.name).style("padding", "6px 10px 2px").style("font-weight", "bold").style("font-size", "0.85em").style("text-transform", "uppercase").style("opacity", 0.5);
|
|
1064
|
-
return;
|
|
1065
|
-
}
|
|
1066
|
-
if (item.isNote) {
|
|
1067
|
-
tr.append("td").attr("colspan", 2).attr("data-testid", item.testid || "sjpp-mass-chat-note").text(item.name).style("padding", "2px 10px 6px").style("font-size", "0.8em").style("font-style", "italic").style("opacity", 0.6);
|
|
1068
|
-
return;
|
|
1069
|
-
}
|
|
1070
|
-
if (item.isCoord) {
|
|
1071
|
-
tr.append("td").text(item.name).style("padding", "5px 10px");
|
|
1072
|
-
tr.append("td").append("span").attr("class", "sja_menuoption").attr("data-testid", "sjpp-mass-chat-coord-genomebrowser").style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text("Genome Browser").on(
|
|
1073
|
-
"click",
|
|
1074
|
-
() => void self.launchGenomeBrowserView("genomic", { coord: item.coord }).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1075
|
-
);
|
|
1076
|
-
return;
|
|
1077
|
-
}
|
|
1078
|
-
if (item.isSample) {
|
|
1079
|
-
tr.append("td").text(item.name).style("padding", "5px 10px");
|
|
1080
|
-
tr.append("td").append("span").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-sample-view-${item.sampleId}`).style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text("Sample View").on(
|
|
1081
|
-
"click",
|
|
1082
|
-
() => void self.launchPlot({
|
|
1083
|
-
chartType: "sampleView",
|
|
1084
|
-
sample: { sampleId: item.sampleId, sampleName: item.name }
|
|
1085
|
-
}).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1086
|
-
);
|
|
1087
|
-
if (item.singleCell) {
|
|
1088
|
-
tr.select("td:nth-child(2)").append("button").attr("type", "button").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-single-cell-${item.sampleId}`).style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("border", "0").style("cursor", "pointer").text("Single cell").on(
|
|
1089
|
-
"click",
|
|
1090
|
-
() => void self.launchPlot({
|
|
1091
|
-
chartType: "sc",
|
|
1092
|
-
settings: { sc: { item: item.singleCell } }
|
|
1093
|
-
}).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1094
|
-
);
|
|
1095
|
-
}
|
|
1096
|
-
if (item.facetTracks?.length) {
|
|
1097
|
-
tr.select("td:nth-child(2)").append("button").attr("type", "button").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-assays-${item.sampleId}`).style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text("Facet Table").on(
|
|
1098
|
-
"click",
|
|
1099
|
-
() => void self.launchPlot({
|
|
1100
|
-
chartType: "genomeBrowser",
|
|
1101
|
-
hidePlotFilter: true,
|
|
1102
|
-
filter: getSampleFilter(item.sampleId)
|
|
1103
|
-
}).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1104
|
-
);
|
|
1105
|
-
}
|
|
1106
|
-
return;
|
|
1107
|
-
}
|
|
1108
|
-
if (item.isGene) {
|
|
1109
|
-
tr.append("td").text(item.name).style("padding", "5px 10px");
|
|
1110
|
-
const btnTd = tr.append("td");
|
|
1111
|
-
const addBtn = (label, testid, onClick) => {
|
|
1112
|
-
btnTd.append("span").attr("class", "sja_menuoption").attr("data-testid", testid).style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text(label).on("click", () => void onClick().catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e))));
|
|
1113
|
-
};
|
|
1114
|
-
if (item.isGeneExpression) {
|
|
1115
|
-
addBtn("Gene expression", `sjpp-mass-chat-gene-exp-${item.gene}`, async () => {
|
|
1116
|
-
await self.launchPlot({
|
|
1117
|
-
chartType: "summary",
|
|
1118
|
-
term: { term: { gene: item.gene, name: item.name, type: "geneExpression" } }
|
|
1119
|
-
});
|
|
1120
|
-
});
|
|
1121
|
-
}
|
|
1122
|
-
if (item.isGeneVariant) {
|
|
1123
|
-
for (const vt of item.geneVariantTypes || []) {
|
|
1124
|
-
addBtn(vt.label, `sjpp-mass-chat-gene-${vt.testid}-${item.gene}`, async () => {
|
|
1125
|
-
await self.launchGeneVariantPlot(item.gene, vt.dtCandidates);
|
|
1126
|
-
});
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
if (item.isGenomeBrowser) {
|
|
1130
|
-
addBtn("Genome Browser", `sjpp-mass-chat-gene-genomebrowser-${item.gene}`, async () => {
|
|
1131
|
-
await self.launchGenomeBrowser(item.gene, item.coord);
|
|
1132
|
-
});
|
|
1133
|
-
}
|
|
1134
|
-
if (item.isMethylation) {
|
|
1135
|
-
addBtn("DNA methylation", `sjpp-mass-chat-gene-methylation-${item.gene}`, async () => {
|
|
1136
|
-
await self.launchMethylationPlot(item.gene, item.coord);
|
|
1137
|
-
});
|
|
1138
|
-
}
|
|
1139
|
-
return;
|
|
1140
|
-
}
|
|
1141
|
-
const button = tr.append("td").text(item.name);
|
|
1142
|
-
if (item.type) {
|
|
1143
|
-
button.style("cursor", "pointer").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-term-${item.id}`).on("click", async () => {
|
|
1144
|
-
await self.launchPlot({
|
|
1145
|
-
chartType: item.type == "survival" ? "survival" : "summary",
|
|
1146
|
-
term: { term: item }
|
|
1147
|
-
});
|
|
1148
|
-
});
|
|
1149
|
-
} else {
|
|
1150
|
-
button.style("padding", "5px 10px").style("opacity", 0.5);
|
|
1151
|
-
}
|
|
1152
|
-
tr.append("td").text((item.__ancestorNames || []).join(" > ")).style("opacity", 0.5).style("font-size", ".7em");
|
|
1153
|
-
};
|
|
1154
|
-
self.clear = (opts = {}) => {
|
|
1155
|
-
self.dom.tip.clear();
|
|
1156
|
-
if (opts.hide) self.dom.tip.hide();
|
|
1157
|
-
else self.dom.tip.showunder(self.dom.inputNode);
|
|
1158
|
-
};
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
// mass/chat.ts
|
|
1162
|
-
var MIN_PROMPT_LENGTH_FOR_CHAT = 5;
|
|
1163
|
-
var MassAiChatBot = class _MassAiChatBot {
|
|
1164
|
-
static {
|
|
1165
|
-
this.type = "chat";
|
|
1166
|
-
}
|
|
1167
|
-
constructor(opts) {
|
|
1168
|
-
this.type = _MassAiChatBot.type;
|
|
1169
|
-
this.opts = opts;
|
|
1170
|
-
this.app = opts.app;
|
|
1171
|
-
this.opts.usecase = this.opts.usecase || { target: "dictionary", detail: "term" };
|
|
1172
|
-
this.opts.targetType = this.opts.targetType ? this.opts.targetType : "Dictionary Variables";
|
|
1173
|
-
this.isChat = this.app.getState().termdbConfig?.queries?.chat;
|
|
1174
|
-
setSearchRenderers(this);
|
|
1175
|
-
}
|
|
1176
|
-
getState(appState) {
|
|
1177
|
-
return {
|
|
1178
|
-
cohortStr: appState.activeCohort == -1 || !appState.termdbConfig.selectCohort ? "" : appState.termdbConfig.selectCohort.values[appState.activeCohort].keys.slice().sort().join(","),
|
|
1179
|
-
search: appState.search,
|
|
1180
|
-
nav: appState.nav
|
|
1181
|
-
};
|
|
1182
|
-
}
|
|
1183
|
-
async init() {
|
|
1184
|
-
this.initDom();
|
|
1185
|
-
}
|
|
1186
|
-
initDom() {
|
|
1187
|
-
let text = "Search an item";
|
|
1188
|
-
let height = "1px";
|
|
1189
|
-
if (this.isChat) {
|
|
1190
|
-
text = "Ask a question";
|
|
1191
|
-
height = "200px";
|
|
1192
|
-
}
|
|
1193
|
-
this.dom = {
|
|
1194
|
-
tip: new Menu({ padding: "5px" }),
|
|
1195
|
-
div: this.opts.subheader,
|
|
1196
|
-
error: this.opts.subheader.append("div").attr("id", "sjpp-corrVolcano-error").style("opacity", 0.75),
|
|
1197
|
-
bubbleDiv: this.opts.subheader.append("div").attr("class", "sjpp_show_scrollbar").style("margin", "5px 20px 0px 20px").style("height", height).style("overflow", "auto").style("scroll-behavior", "smooth")
|
|
1198
|
-
};
|
|
1199
|
-
const inputSel = this.dom.div.append("input").attr("type", "search").attr("data-testid", "sjpp-mass-omnisearch-input").style("margin", "15px").style("padding", "17px").style("border-radius", "34px").attr("size", 70).attr("placeholder", text);
|
|
1200
|
-
this.dom.inputNode = inputSel.node();
|
|
1201
|
-
this.dom.resultDiv = this.dom.tip.d.style("border-left", "solid 1px rgb(133,182,225)").style("padding-left", "5px").attr("tabindex", -1);
|
|
1202
|
-
inputSel.on("keyup.search", (event2) => handleOmnisearchKeyup(this, event2)).on("keyup.submit", async (event2) => {
|
|
1203
|
-
if (!keyupEnter(event2)) return;
|
|
1204
|
-
if (!this.isChat) {
|
|
1205
|
-
return;
|
|
1206
|
-
}
|
|
1207
|
-
const prompt2 = event2.target.value.trim();
|
|
1208
|
-
if (!prompt2) return;
|
|
1209
|
-
this.addBubble({ msg: escapeHtml(prompt2), me: 1 });
|
|
1210
|
-
event2.target.value = "";
|
|
1211
|
-
const serverBubble = this.addBubble({ msg: "..." });
|
|
1212
|
-
if (prompt2.length <= MIN_PROMPT_LENGTH_FOR_CHAT) {
|
|
1213
|
-
serverBubble.text("Your prompt is too short. Enter a longer prompt.");
|
|
1214
|
-
return;
|
|
1215
|
-
}
|
|
1216
|
-
const body = {
|
|
1217
|
-
genome: this.app.vocabApi.vocab.genome,
|
|
1218
|
-
dslabel: this.app.vocabApi.vocab.dslabel,
|
|
1219
|
-
filter: this.app.vocabApi.state.termfilter?.filter,
|
|
1220
|
-
prompt: prompt2
|
|
1221
|
-
};
|
|
1222
|
-
try {
|
|
1223
|
-
const data = await dofetch3("termdb/chat", { body });
|
|
1224
|
-
if (data.error) throw data.error;
|
|
1225
|
-
const result = data;
|
|
1226
|
-
if (result.type === "text") {
|
|
1227
|
-
serverBubble.text(result.text);
|
|
1228
|
-
} else if (result.type === "html") {
|
|
1229
|
-
serverBubble.html(result.html);
|
|
1230
|
-
} else if (result.type === "plot") {
|
|
1231
|
-
const optionField = findPossibleOptionsField(result.plot);
|
|
1232
|
-
if (optionField) {
|
|
1233
|
-
this.showPossibleOptions(serverBubble, result.plot, optionField, result.msg);
|
|
1234
|
-
} else {
|
|
1235
|
-
this.app.dispatch({
|
|
1236
|
-
type: "plot_create",
|
|
1237
|
-
config: result.plot
|
|
1238
|
-
});
|
|
1239
|
-
serverBubble.text(`${result.msg ? result.msg + ". " : ""}Please refer to the plot generated below.`);
|
|
1240
|
-
}
|
|
1241
|
-
}
|
|
1242
|
-
} catch (e) {
|
|
1243
|
-
if (e.stack) console.log(e.stack);
|
|
1244
|
-
serverBubble.html(`Error: ${e.message || e}`);
|
|
1245
|
-
}
|
|
1246
|
-
}).node().focus();
|
|
1247
|
-
}
|
|
1248
|
-
addBubble(arg) {
|
|
1249
|
-
const bubble = this.dom.bubbleDiv.append("div").style("padding", "10px").html(`${arg.me ? '<span style="font-size:.7em">[ME]</span> ' : ""}${arg.msg}`);
|
|
1250
|
-
if (arg.me) bubble.style("background", "#f1f1f1");
|
|
1251
|
-
const n = this.dom.bubbleDiv.node();
|
|
1252
|
-
n.scrollTop = n.scrollHeight;
|
|
1253
|
-
return bubble;
|
|
1254
|
-
}
|
|
1255
|
-
// Render click boxes for an incomplete plot state. `fieldKey` is the field of `plot` whose
|
|
1256
|
-
// value holds `possible_options`. Clicking a box completes the plot state and dispatches plot_create.
|
|
1257
|
-
// Each option completes the plot in one of two ways:
|
|
1258
|
-
// - opt.config: a config patch merged into the plot (the incomplete field is dropped). Used when the
|
|
1259
|
-
// choice sets other fields, e.g. the genome browser view sets blockIsProteinMode: true|false.
|
|
1260
|
-
// - otherwise: the incomplete field is set to { id: opt.id }, e.g. survival term selection -> term:{id}.
|
|
1261
|
-
showPossibleOptions(bubble, plot, fieldKey, msg) {
|
|
1262
|
-
const options = plot[fieldKey].possible_options || [];
|
|
1263
|
-
bubble.text(`${msg ? msg + ". " : ""}Multiple options are available. Please select one:`);
|
|
1264
|
-
const boxDiv = bubble.append("div").style("margin-top", "5px");
|
|
1265
|
-
for (const opt of options) {
|
|
1266
|
-
boxDiv.append("div").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-option-${opt.id}`).style("display", "inline-block").style("margin", "3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text(opt.name).on("click", () => {
|
|
1267
|
-
const config = JSON.parse(JSON.stringify(plot));
|
|
1268
|
-
if (opt.config) {
|
|
1269
|
-
delete config[fieldKey];
|
|
1270
|
-
Object.assign(config, opt.config);
|
|
1271
|
-
} else {
|
|
1272
|
-
config[fieldKey] = { id: opt.id };
|
|
1273
|
-
}
|
|
1274
|
-
this.app.dispatch({
|
|
1275
|
-
type: "plot_create",
|
|
1276
|
-
config
|
|
1277
|
-
});
|
|
1278
|
-
bubble.selectAll("*").remove();
|
|
1279
|
-
bubble.text(`Selected "${opt.name}". Please refer to the plot generated below.`);
|
|
1280
|
-
});
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
main() {
|
|
1284
|
-
if (this.opts.subheader.style("display") == "none") {
|
|
1285
|
-
this.dom.inputNode.blur();
|
|
1286
|
-
this.dom.tip.hide();
|
|
1287
|
-
return;
|
|
1288
|
-
}
|
|
1289
|
-
if (this.opts?.focus != "off") this.dom.inputNode.focus();
|
|
1290
|
-
}
|
|
1291
|
-
};
|
|
1292
|
-
var chatInit = getCompInit(MassAiChatBot);
|
|
1293
|
-
function escapeHtml(s) {
|
|
1294
|
-
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
1295
|
-
}
|
|
1296
|
-
function findPossibleOptionsField(plot) {
|
|
1297
|
-
if (!plot || typeof plot !== "object") return null;
|
|
1298
|
-
for (const key of Object.keys(plot)) {
|
|
1299
|
-
const val = plot[key];
|
|
1300
|
-
if (val && typeof val === "object" && Array.isArray(val.possible_options)) return key;
|
|
1301
|
-
}
|
|
1302
|
-
return null;
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
// mass/nav.js
|
|
1306
|
-
var activeTabBgColor = "#ececec";
|
|
1307
|
-
var activeTabBgColorHover = "#e0e0e0";
|
|
1308
|
-
var activeTabTextColor = "black";
|
|
1309
|
-
var inactiveTabBgColorHover = "#fcfced";
|
|
1310
|
-
var inactiveTabTextColor = "gray";
|
|
1311
|
-
var instanceNum = 0;
|
|
1312
|
-
var idPrefix = "_MASS_AUTOID_" + Math.random().toString().slice(-6);
|
|
1313
|
-
var id = (+/* @__PURE__ */ new Date()).toString().slice(-8);
|
|
1314
|
-
var headtip = new Menu({ padding: "0px", offsetX: 0, offsetY: 0 });
|
|
1315
|
-
headtip.d.style("z-index", 5555);
|
|
1316
|
-
var aboutTab = { top: "ABOUT", mid: "", btm: "", subheader: "about" };
|
|
1317
|
-
var chartTab = { top: "CHARTS", mid: "NONE", btm: "", subheader: "charts" };
|
|
1318
|
-
var groupsTab = { top: "GROUPS", mid: "NONE", btm: "", subheader: "groups" };
|
|
1319
|
-
var filterTab = { top: "FILTER", mid: "NONE", btm: "", subheader: "filter" };
|
|
1320
|
-
function getId() {
|
|
1321
|
-
return idPrefix + "_" + id++;
|
|
1322
|
-
}
|
|
1323
|
-
var TdbNav = class _TdbNav {
|
|
1324
|
-
static type = "nav";
|
|
1325
|
-
constructor(opts) {
|
|
1326
|
-
this.type = _TdbNav.type;
|
|
1327
|
-
this.instanceNum = instanceNum++;
|
|
1328
|
-
this.tabs = [];
|
|
1329
|
-
this.activeTab = 0;
|
|
1330
|
-
this.activeCohort = 0;
|
|
1331
|
-
this.samplecounts = {};
|
|
1332
|
-
this.searching = false;
|
|
1333
|
-
this.massSessionDuration = opts.massSessionDuration;
|
|
1334
|
-
this.sessionDaysLeft = opts.app.opts.sessionDaysLeft || null;
|
|
1335
|
-
this.sessionId = opts.app.opts.sessionId || null;
|
|
1336
|
-
this.pkgver = opts.pkgver || null;
|
|
1337
|
-
setInteractivity(this);
|
|
1338
|
-
setRenderers(this);
|
|
1339
|
-
}
|
|
1340
|
-
async init(appState) {
|
|
1341
|
-
try {
|
|
1342
|
-
this.cohortFilter = getFilterItemByTag(appState.termfilter.filter, "cohortFilter");
|
|
1343
|
-
this.initUI(appState);
|
|
1344
|
-
if (appState?.termdbConfig?.selectCohort) {
|
|
1345
|
-
this.dom.tds.filter((d) => d.colNum === 0).style("display", "");
|
|
1346
|
-
this.cohortNames = appState.termdbConfig.selectCohort.values.map((d) => d.keys.slice().sort().join(","));
|
|
1347
|
-
}
|
|
1348
|
-
this.components = await multiInit({
|
|
1349
|
-
filter: filterRxCompInit({
|
|
1350
|
-
app: this.app,
|
|
1351
|
-
vocabApi: this.app.vocabApi,
|
|
1352
|
-
holder: this.dom.subheader.filter.append("div").style("margin", "5px"),
|
|
1353
|
-
hideLabel: this.opts.header_mode === "with_tabs",
|
|
1354
|
-
emptyLabel: "+Add new filter",
|
|
1355
|
-
callback: (filter) => {
|
|
1356
|
-
this.app.dispatch({
|
|
1357
|
-
type: "filter_replace",
|
|
1358
|
-
filter
|
|
1359
|
-
});
|
|
1360
|
-
}
|
|
1361
|
-
}),
|
|
1362
|
-
charts: chartsInit({
|
|
1363
|
-
app: this.app,
|
|
1364
|
-
holder: this.dom.subheader.charts,
|
|
1365
|
-
vocab: this.opts.vocab
|
|
1366
|
-
}),
|
|
1367
|
-
groups: groupsInit({
|
|
1368
|
-
app: this.app,
|
|
1369
|
-
holder: this.dom.subheader.groups,
|
|
1370
|
-
vocab: this.opts.vocab
|
|
1371
|
-
}),
|
|
1372
|
-
recover: recoverInit({
|
|
1373
|
-
app: this.app,
|
|
1374
|
-
holder: this.dom.recoverDiv,
|
|
1375
|
-
// TODO: ???? may limit the tracked state to only the filter, activeCohort ???
|
|
1376
|
-
getState: (appState2) => appState2,
|
|
1377
|
-
reactsTo: (action) => action.type != "plot_edit",
|
|
1378
|
-
maxHistoryLen: 5
|
|
1379
|
-
}),
|
|
1380
|
-
sessionBtn: sessionBtnInit({
|
|
1381
|
-
app: this.app,
|
|
1382
|
-
button: this.dom.saveBtn,
|
|
1383
|
-
massSessionDuration: this.opts.massSessionDuration,
|
|
1384
|
-
sessionDaysLeft: this.app.opts.sessionDaysLeft || null
|
|
1385
|
-
}),
|
|
1386
|
-
about: aboutInit({
|
|
1387
|
-
app: this.app,
|
|
1388
|
-
subheader: this.dom.subheader.about,
|
|
1389
|
-
instanceNum: this.instanceNum,
|
|
1390
|
-
aboutOverrides: appState?.termdbConfig?.massNav?.tabs?.about || null,
|
|
1391
|
-
selectCohort: appState?.termdbConfig?.selectCohort || null
|
|
1392
|
-
}),
|
|
1393
|
-
chat: chatInit({
|
|
1394
|
-
app: this.app,
|
|
1395
|
-
subheader: this.dom.subheader.chat
|
|
1396
|
-
})
|
|
1397
|
-
});
|
|
1398
|
-
this.mayShowMessage_sessionDaysLeft();
|
|
1399
|
-
} catch (e) {
|
|
1400
|
-
throw e;
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
reactsTo(action) {
|
|
1404
|
-
if (action.type.startsWith("filter")) return true;
|
|
1405
|
-
if (action.type.startsWith("cohort")) return true;
|
|
1406
|
-
if (action.type.startsWith("tab")) return true;
|
|
1407
|
-
if (action.type == "plot_prep") return true;
|
|
1408
|
-
if (action.type == "plot_create") return true;
|
|
1409
|
-
if (action.type == "plot_delete") return true;
|
|
1410
|
-
if (action.type == "app_refresh") return true;
|
|
1411
|
-
if (action.type.endsWith("_customTerm")) return true;
|
|
1412
|
-
if (action.type.endsWith("_group")) return true;
|
|
1413
|
-
}
|
|
1414
|
-
getState(appState) {
|
|
1415
|
-
return {
|
|
1416
|
-
searching: this.searching,
|
|
1417
|
-
// for detection of internal state change
|
|
1418
|
-
nav: appState.nav,
|
|
1419
|
-
activeCohort: appState.activeCohort,
|
|
1420
|
-
termdbConfig: appState.termdbConfig,
|
|
1421
|
-
filter: appState.termfilter.filter,
|
|
1422
|
-
plots: appState.plots,
|
|
1423
|
-
groups: appState.groups
|
|
1424
|
-
};
|
|
1425
|
-
}
|
|
1426
|
-
async main() {
|
|
1427
|
-
this.dom.tabDiv.style("display", this.state.nav.header_mode === "with_tabs" ? "inline-block" : "none");
|
|
1428
|
-
this.dom.tip.hide();
|
|
1429
|
-
this.activeTab = this.state.nav.activeTab;
|
|
1430
|
-
this.prevCohort = this.activeCohort;
|
|
1431
|
-
this.activeCohort = +this.state.activeCohort;
|
|
1432
|
-
this.filterUiRoot = getFilterItemByTag(this.state.filter, "filterUiRoot");
|
|
1433
|
-
this.cohortFilter = getFilterItemByTag(this.state.filter, "cohortFilter");
|
|
1434
|
-
if (this.cohortNames) {
|
|
1435
|
-
this.activeCohortName = this.cohortNames[this.activeCohort];
|
|
1436
|
-
if (this.activeCohort !== -1)
|
|
1437
|
-
this.activeCohortLabel = this.state.termdbConfig.selectCohort.values[this.activeCohort].shortLabel;
|
|
1438
|
-
}
|
|
1439
|
-
this.filterJSON = JSON.stringify(this.state.filter);
|
|
1440
|
-
this.cohortsData = await this.app.vocabApi.getCohortsData();
|
|
1441
|
-
if (this.state.nav.header_mode === "with_tabs") {
|
|
1442
|
-
if (!(this.activeCohort in this.samplecounts)) {
|
|
1443
|
-
this.samplecounts[this.activeCohort] = await this.app.vocabApi.getCohortSampleCount(this.activeCohortName);
|
|
1444
|
-
}
|
|
1445
|
-
if (!(this.filterJSON in this.samplecounts)) {
|
|
1446
|
-
if (!this.filterUiRoot || !this.filterUiRoot.lst.length) {
|
|
1447
|
-
this.samplecounts[this.filterJSON] = this.samplecounts[this.activeCohort];
|
|
1448
|
-
} else {
|
|
1449
|
-
const n = await this.app.vocabApi.getFilteredSampleCount(this.filterJSON);
|
|
1450
|
-
this.samplecounts[this.filterJSON] = n;
|
|
1451
|
-
}
|
|
1452
|
-
}
|
|
1453
|
-
}
|
|
1454
|
-
this.updateUI();
|
|
1455
|
-
}
|
|
1456
|
-
};
|
|
1457
|
-
var navInit = getCompInit(TdbNav);
|
|
1458
|
-
function setRenderers(self) {
|
|
1459
|
-
self.initUI = (appState) => {
|
|
1460
|
-
const verifiedToken = self.app.vocabApi.verifiedToken;
|
|
1461
|
-
const invalidTokenErrorHandling = appState.termdbConfig.invalidTokenErrorHandling;
|
|
1462
|
-
if (!verifiedToken && invalidTokenErrorHandling?.affectedCharts?.includes("*"))
|
|
1463
|
-
throw new Error(appState.termdbConfig.invalidTokenErrorHandling.errorMessage);
|
|
1464
|
-
const header = self.opts.holder.append("div").style("white-space", "nowrap");
|
|
1465
|
-
const massNav = appState.termdbConfig?.massNav || {};
|
|
1466
|
-
let titleDiv = header.append("div").style("display", "inline-block").style("float", "right").style("font-size", "1.1em").style("margin", "50px 10px 0 0").text(massNav?.title?.text);
|
|
1467
|
-
const tabDiv = header.append("div").style("display", "none").style("vertical-align", "bottom");
|
|
1468
|
-
const controlsDiv = header.append("div").style("vertical-align", "top").style("margin", "10px").style("display", "inline-block").style("float", "right");
|
|
1469
|
-
if (self.opts.header_mode === "only_buttons") {
|
|
1470
|
-
tabDiv.style("display", "none");
|
|
1471
|
-
titleDiv.style("display", "none");
|
|
1472
|
-
controlsDiv.style("display", "none");
|
|
1473
|
-
}
|
|
1474
|
-
self.opts.holder.attr("class", "sjpp-nav");
|
|
1475
|
-
self.dom = {
|
|
1476
|
-
holder: self.opts.holder,
|
|
1477
|
-
header,
|
|
1478
|
-
tabDiv,
|
|
1479
|
-
controlsDiv,
|
|
1480
|
-
searchDiv: controlsDiv.append("div").style("margin", "10px"),
|
|
1481
|
-
sessionDiv: controlsDiv.append("div").style("display", "inline-block"),
|
|
1482
|
-
recoverDiv: controlsDiv.append("div").style("display", "inline-block"),
|
|
1483
|
-
pdfDiv: controlsDiv.append("div").style("display", "inline-block").style("padding", "4px").style("vertical-align", "middle"),
|
|
1484
|
-
deleteAllDiv: controlsDiv.append("div").style("display", "inline-block").style("padding", "4px").style("vertical-align", "middle"),
|
|
1485
|
-
helpDiv: controlsDiv.append("div").style("display", "none"),
|
|
1486
|
-
sessionElapsedMessageDiv: controlsDiv.append("div").style("display", "none"),
|
|
1487
|
-
subheaderDiv: self.opts.holder.append("div").style("display", "block").style("border-bottom", "1px solid #000"),
|
|
1488
|
-
messageDiv: self.opts.holder.append("div").style("margin", "30px").style("display", "none"),
|
|
1489
|
-
titleDiv,
|
|
1490
|
-
tip: new Menu({ padding: "5px" })
|
|
1491
|
-
};
|
|
1492
|
-
icons["trash"](self.dom.deleteAllDiv, {
|
|
1493
|
-
handler: self.deletePlots,
|
|
1494
|
-
title: "Delete all plots. To revert, click Undo button"
|
|
1495
|
-
});
|
|
1496
|
-
icons["pdf"](self.dom.pdfDiv, {
|
|
1497
|
-
handler: self.opts.downloadPlots,
|
|
1498
|
-
title: "Generate a PDF of all the plots opened"
|
|
1499
|
-
});
|
|
1500
|
-
if (self.opts.header_mode === "with_cohortHtmlSelect") {
|
|
1501
|
-
self.dom.cohortStandaloneDiv = header.append("div").style("display", "inline-block").style("margin", "10px").style("vertical-align", "top");
|
|
1502
|
-
self.dom.cohortStandaloneDiv.append("label").html("Cohort: ");
|
|
1503
|
-
self.dom.cohortSelect = self.dom.cohortStandaloneDiv.append("select").on("change", async function() {
|
|
1504
|
-
self.app.dispatch({ type: "cohort_set", activeCohort: +this.value });
|
|
1505
|
-
});
|
|
1506
|
-
self.dom.cohortSelect.selectAll("option").data(appState.termdbConfig.selectCohort.values).enter().append("option").attr("value", (d, i) => i).property("selected", (d, i) => i === appState.activeCohort).html((d) => d.shortLabel);
|
|
1507
|
-
}
|
|
1508
|
-
self.dom.subheader = Object.freeze({
|
|
1509
|
-
// For either the COHORT or ABOUT tab
|
|
1510
|
-
about: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-about").style("display", "none"),
|
|
1511
|
-
search: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-search").style("display", "none"),
|
|
1512
|
-
groups: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-groups").style("display", "none"),
|
|
1513
|
-
charts: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-charts").style("display", "none"),
|
|
1514
|
-
filter: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-filter").style("display", "none"),
|
|
1515
|
-
chat: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-chat").style("display", "none")
|
|
1516
|
-
// cart: self.dom.subheaderDiv.append('div').style('display', 'none').html('<br/>Cart feature under construction - work in progress<br/> <br/>'),
|
|
1517
|
-
});
|
|
1518
|
-
if (!massNav.tabs?.about?.hide) {
|
|
1519
|
-
self.tabs.push(aboutTab);
|
|
1520
|
-
const override = Object.assign({}, massNav.tabs?.about);
|
|
1521
|
-
if (appState.termdbConfig?.selectCohort) {
|
|
1522
|
-
if (!override.top) override.top = "COHORT";
|
|
1523
|
-
} else {
|
|
1524
|
-
if (!override.mid) override.mid = self.pickDatasetLabel(appState);
|
|
1525
|
-
}
|
|
1526
|
-
Object.assign(aboutTab, override);
|
|
1527
|
-
}
|
|
1528
|
-
if (!massNav.tabs?.charts?.hide) {
|
|
1529
|
-
self.tabs.push(chartTab);
|
|
1530
|
-
Object.assign(chartTab, massNav.tabs?.charts);
|
|
1531
|
-
}
|
|
1532
|
-
if (!massNav.tabs?.groups?.hide) {
|
|
1533
|
-
self.tabs.push(groupsTab);
|
|
1534
|
-
Object.assign(groupsTab, massNav.tabs?.groups);
|
|
1535
|
-
}
|
|
1536
|
-
if (!massNav.tabs?.filter?.hide) {
|
|
1537
|
-
self.tabs.push(filterTab);
|
|
1538
|
-
Object.assign(filterTab, massNav.tabs?.filter);
|
|
1539
|
-
}
|
|
1540
|
-
if (!massNav.tabs?.chat?.hide) {
|
|
1541
|
-
if (appState.termdbConfig?.queries?.chat) {
|
|
1542
|
-
const chatTab = { top: "CHAT", mid: "", btm: "", subheader: "chat" };
|
|
1543
|
-
Object.assign(chatTab, massNav.tabs?.chat);
|
|
1544
|
-
chatTab.top = "CHAT";
|
|
1545
|
-
self.tabs.push(chatTab);
|
|
1546
|
-
} else {
|
|
1547
|
-
const searchTab = { top: "SEARCH", mid: "", btm: "", subheader: "chat" };
|
|
1548
|
-
Object.assign(searchTab, massNav.tabs?.chat);
|
|
1549
|
-
searchTab.top = "SEARCH";
|
|
1550
|
-
self.tabs.push(searchTab);
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
const table = self.dom.tabDiv.append("table").attr("data-testid", "sjpp-nav-tabs-table").style("border-collapse", "collapse");
|
|
1554
|
-
table.selectAll("tr").data(["top", "mid", "btm"]).enter().append("tr").attr("class", (d, i) => `sjpp-nav-tabs-row-${i}`).style("font-size", (d, i) => i == 1 ? "20px" : "12px").selectAll("td").data(
|
|
1555
|
-
(key, i) => self.tabs.map((row, colNum) => {
|
|
1556
|
-
return {
|
|
1557
|
-
rowNum: i,
|
|
1558
|
-
key,
|
|
1559
|
-
colNum,
|
|
1560
|
-
label: row[key],
|
|
1561
|
-
subheader: row.subheader,
|
|
1562
|
-
disabled: row.disabled,
|
|
1563
|
-
disabledMessage: row.disabledMessage
|
|
1564
|
-
};
|
|
1565
|
-
})
|
|
1566
|
-
).enter().append("td").attr("class", (d) => `sjpp-nav-tab-col-${d.colNum}`).style("display", "none").style("width", "100px").style("padding", (d) => d.rowNum === 0 ? "12px 12px 3px 12px" : "3px 12px").style("text-align", "center").style("border-left", "1px solid #ccc").style("border-right", "1px solid #ccc").style("color", "#aaa").style("opacity", (d) => d.disabled ? 0.5 : 1).style("cursor", (d) => d.disabled ? "not-allowed" : "pointer").attr("title", (d) => d.disabledMessage || "").html((d) => d.label).on("click", (event2, d) => {
|
|
1567
|
-
self.setTab(event2, d);
|
|
1568
|
-
}).on("mouseover", (event2, d) => {
|
|
1569
|
-
self.mouseover(event2, d);
|
|
1570
|
-
}).on("mouseout", () => {
|
|
1571
|
-
self.mouseout();
|
|
1572
|
-
});
|
|
1573
|
-
self.dom.trs = table.selectAll("tr");
|
|
1574
|
-
self.dom.tds = table.selectAll("td");
|
|
1575
|
-
self.subheaderKeys = self.tabs.map((d) => d.subheader);
|
|
1576
|
-
self.dom.saveBtn = self.dom.sessionDiv.append("button").attr("data-testid", "sjpp-nav-session-btn").style("margin", "10px").text("Session \u25BC");
|
|
1577
|
-
if (self.sessionDaysLeft != null) {
|
|
1578
|
-
self.dom.fileBtn = self.dom.sessionDiv.append("button").attr("data-testid", "sjpp-nav-file-btn").style("margin", "10px").text("Export Session").on("click", (event2) => {
|
|
1579
|
-
self.getSessionFile(event2);
|
|
1580
|
-
});
|
|
1581
|
-
}
|
|
1582
|
-
};
|
|
1583
|
-
self.deletePlots = () => {
|
|
1584
|
-
const state = self.app.getState();
|
|
1585
|
-
const subactions = [];
|
|
1586
|
-
for (const plot of state.plots) subactions.push({ type: "plot_delete", id: plot.id });
|
|
1587
|
-
self.app.dispatch({ type: "app_refresh", subactions });
|
|
1588
|
-
};
|
|
1589
|
-
self.mayShowMessage_sessionDaysLeft = () => {
|
|
1590
|
-
if (!Number.isFinite(self.sessionDaysLeft)) {
|
|
1591
|
-
return;
|
|
1592
|
-
}
|
|
1593
|
-
self.dom.sessionElapsedMessageDiv.style("display", "block");
|
|
1594
|
-
self.dom.remainingDaysMessage = self.dom.sessionElapsedMessageDiv.append("div").style("display", "block").style("opacity", "0.65").html(
|
|
1595
|
-
`<u>${self.sessionDaysLeft} days</u> left until this session is removed. Click the "Session \u25BC" button and select "Save" option to create a new one.`
|
|
1596
|
-
);
|
|
1597
|
-
};
|
|
1598
|
-
self.updateUI = async () => {
|
|
1599
|
-
if (!self.dom.subheaderDiv) return;
|
|
1600
|
-
if (self.activeTab && self.state.termdbConfig.selectCohort && self.activeCohort == -1) {
|
|
1601
|
-
self.dom.subheaderDiv.style("display", "none");
|
|
1602
|
-
self.dom.messageDiv.selectAll("text").remove();
|
|
1603
|
-
self.dom.messageDiv.style("display", "").text('No cohort selected. Please select a cohort in the "COHORT" tab.');
|
|
1604
|
-
} else {
|
|
1605
|
-
if (self.dom.subheaderDiv) self.dom.subheaderDiv.style("display", self.activeTab != -1 ? "block" : "none");
|
|
1606
|
-
if (self.dom.messageDiv) self.dom.messageDiv.style("display", "none");
|
|
1607
|
-
}
|
|
1608
|
-
const selectCohort = self.state.termdbConfig.selectCohort;
|
|
1609
|
-
const massNav = self.state.termdbConfig.massNav;
|
|
1610
|
-
self.dom.searchDiv.style("display", selectCohort && self.activeCohort == -1 ? "none" : "inline-block");
|
|
1611
|
-
self.dom.header.style("border-bottom", self.state.nav.header_mode === "with_tabs" ? "1px solid #000" : "");
|
|
1612
|
-
self.dom.tds.style("display", "").style("color", (d) => d.colNum == self.activeTab ? activeTabTextColor : inactiveTabTextColor).style(
|
|
1613
|
-
"background-color",
|
|
1614
|
-
(d) => d.colNum == self.activeTab && self.dom.subheaderDiv.style("display") != "none" ? self.state.termdbConfig.massNav?.activeColor || activeTabBgColor : "transparent"
|
|
1615
|
-
).html(function(d, i) {
|
|
1616
|
-
if (d.key == "top") return this.innerHTML;
|
|
1617
|
-
if (d.subheader == "groups") {
|
|
1618
|
-
if (d.key == "mid") return self.state.groups.length || "NONE";
|
|
1619
|
-
return "";
|
|
1620
|
-
}
|
|
1621
|
-
if (d.subheader === "charts") {
|
|
1622
|
-
const n = self.state.plots.filter((p) => !p.parentId).length;
|
|
1623
|
-
if (d.key == "mid") return !n ? "NONE" : n;
|
|
1624
|
-
else return "";
|
|
1625
|
-
} else if (d.subheader === "about") {
|
|
1626
|
-
if (self.activeCohort != -1 && self.activeCohort in self.samplecounts) {
|
|
1627
|
-
const aboutMap = {
|
|
1628
|
-
top: this.innerHTML,
|
|
1629
|
-
mid: self.activeCohortLabel,
|
|
1630
|
-
btm: self.samplecounts[self.activeCohort]
|
|
1631
|
-
};
|
|
1632
|
-
return aboutMap[d.key] || "";
|
|
1633
|
-
} else if (!selectCohort) {
|
|
1634
|
-
const aboutMap = {
|
|
1635
|
-
top: massNav?.tabs?.about?.top || "ABOUT",
|
|
1636
|
-
mid: massNav?.tabs?.about?.mid || this.innerHTML,
|
|
1637
|
-
btm: massNav?.tabs?.about?.btm || self.samplecounts[self.activeCohort]
|
|
1638
|
-
};
|
|
1639
|
-
return aboutMap[d.key] || "";
|
|
1640
|
-
} else {
|
|
1641
|
-
return d.key === "mid" ? "NONE" : this.innerHTML;
|
|
1642
|
-
}
|
|
1643
|
-
} else if (d.subheader === "filter") {
|
|
1644
|
-
const filter = self.filterUiRoot ? self.filterUiRoot : { lst: [] };
|
|
1645
|
-
if (filter.lst.length === 0) {
|
|
1646
|
-
return d.key === "mid" ? "NONE" : "";
|
|
1647
|
-
} else {
|
|
1648
|
-
const n = self.samplecounts[self.filterJSON] != void 0 ? "" + self.samplecounts[self.filterJSON] : "";
|
|
1649
|
-
return d.key === "mid" ? filter.lst.length : n;
|
|
1650
|
-
}
|
|
1651
|
-
} else {
|
|
1652
|
-
return d.key === "mid" ? this.innerHTML : " ";
|
|
1653
|
-
}
|
|
1654
|
-
});
|
|
1655
|
-
for (const key in self.dom.subheader) {
|
|
1656
|
-
self.dom.subheader[key].style(
|
|
1657
|
-
"display",
|
|
1658
|
-
self.activeTab == -1 ? "none" : self.tabs[self.activeTab].subheader === key ? "block" : "none"
|
|
1659
|
-
);
|
|
1660
|
-
}
|
|
1661
|
-
if (self.opts.header_mode === "with_cohortHtmlSelect") {
|
|
1662
|
-
self.dom.cohortSelect.selectAll("option").property("value", self.activeCohort);
|
|
1663
|
-
}
|
|
1664
|
-
};
|
|
1665
|
-
}
|
|
1666
|
-
function setInteractivity(self) {
|
|
1667
|
-
self.setTab = async (event2, d) => {
|
|
1668
|
-
if (d.disabled) return;
|
|
1669
|
-
if (d.colNum === self.activeTab && !self.searching) {
|
|
1670
|
-
if (self.activeTab == 0) return;
|
|
1671
|
-
self.prevCohort = self.activeCohort;
|
|
1672
|
-
await self.updateUI();
|
|
1673
|
-
self.app.dispatch({ type: "tab_set", activeTab: -1 });
|
|
1674
|
-
return;
|
|
1675
|
-
}
|
|
1676
|
-
self.activeTab = d.colNum;
|
|
1677
|
-
self.searching = false;
|
|
1678
|
-
self.app.dispatch({ type: "tab_set", activeTab: self.activeTab });
|
|
1679
|
-
const chartsIdx = self.subheaderKeys.indexOf("charts");
|
|
1680
|
-
if (self.activeTab == chartsIdx && self.activeCohort != -1 && !self.state.plots.length) {
|
|
1681
|
-
const defaultChartType = self.state.termdbConfig.defaultChartType || "dictionary";
|
|
1682
|
-
self.app.dispatch({
|
|
1683
|
-
type: "plot_create",
|
|
1684
|
-
id: getId(),
|
|
1685
|
-
config: { chartType: defaultChartType }
|
|
1686
|
-
});
|
|
1687
|
-
}
|
|
1688
|
-
};
|
|
1689
|
-
self.mouseover = (event2, d) => {
|
|
1690
|
-
const defaultActiveColor = self.state.termdbConfig.massNav?.activeColor || activeTabBgColor;
|
|
1691
|
-
self.dom.tds.style("background-color", (t) => {
|
|
1692
|
-
if (t.colNum === d.colNum)
|
|
1693
|
-
return self.activeTab == t.colNum ? self.state.termdbConfig.massNav?.activeColorHover || activeTabBgColorHover : inactiveTabBgColorHover;
|
|
1694
|
-
return self.activeTab == t.colNum ? defaultActiveColor : "transparent";
|
|
1695
|
-
});
|
|
1696
|
-
};
|
|
1697
|
-
self.mouseout = () => {
|
|
1698
|
-
const defaultActiveColor = self.state.termdbConfig.massNav?.activeColor || activeTabBgColor;
|
|
1699
|
-
self.dom.tds.style("background-color", (t) => self.activeTab == t.colNum ? defaultActiveColor : "transparent");
|
|
1700
|
-
};
|
|
1701
|
-
self.getSessionFile = async (event2) => {
|
|
1702
|
-
const res = await dofetch3(`/massSession?id=${self.sessionId}`);
|
|
1703
|
-
const a = document.createElement("a");
|
|
1704
|
-
const dataStr = "data:application/json;charset=utf-8," + encodeURIComponent(JSON.stringify(res.state));
|
|
1705
|
-
a.setAttribute("href", dataStr);
|
|
1706
|
-
a.download = `${self.sessionId}.json`;
|
|
1707
|
-
a.click();
|
|
1708
|
-
a.remove();
|
|
1709
|
-
};
|
|
1710
|
-
self.pickDatasetLabel = (appState) => {
|
|
1711
|
-
const dslabel = appState.vocab.dslabel.toUpperCase();
|
|
1712
|
-
return dslabel.length > 10 ? `${dslabel.slice(0, 10)}...` : dslabel;
|
|
1713
|
-
};
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
export {
|
|
1717
|
-
getId,
|
|
1718
|
-
navInit
|
|
1719
|
-
};
|
|
1720
|
-
//# sourceMappingURL=chunk-U5RWKZVS.js.map
|