@sjcrh/proteinpaint-client 2.206.0 → 2.207.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-5JKVMAPO.js +1367 -0
- package/dist/AggMatrixInput-254IEQYB.js +277 -0
- package/dist/AggregateMatrix-U3NZSNL6.js +41 -0
- package/dist/AppHeader-DK2GIYYT.js +830 -0
- package/dist/BoxPlot-POSL2ZLS.js +1211 -0
- package/dist/CorrelationVolcano-YZ6ACP5D.js +614 -0
- package/dist/Cuminc-SJVFK4VX.js +1219 -0
- package/dist/DE-RJMZGJ5Y.js +89 -0
- package/dist/DEinput-H25PS4QT.js +499 -0
- package/dist/DM-A3UCF7HM.js +90 -0
- package/dist/DifferentialAnalysis-4J75UMV7.js +237 -0
- package/dist/Disco-IXGGKIEI.js +3389 -0
- package/dist/Disco.UI-X3JG4ERN.js +243 -0
- package/dist/DmrPlot-SJWHTSMB.js +637 -0
- package/dist/GB-KPF7BZFQ.js +1391 -0
- package/dist/GSEA-BMVTJ6B7.js +851 -0
- package/dist/GeneExpInput-3KFGQEAY.js +42 -0
- package/dist/Geomap-R7Q3T3DZ.js +84 -0
- package/dist/HicApp-BTFHMXQE.js +2245 -0
- package/dist/IDCViewer-RVVWT7MH.js +10812 -0
- package/dist/NumBinaryEditor-V3YCDNRR.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-IVY27SEV.js +312 -0
- package/dist/NumContEditor-FSHA32UV.js +105 -0
- package/dist/NumContEditor.unit.spec-5IFB4GXP.js +164 -0
- package/dist/NumCustomBinEditor-63YQZU52.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-BJLGQQ4R.js +397 -0
- package/dist/NumDiscreteEditor-K4AZ6UQF.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-AHL7QA4N.js +233 -0
- package/dist/NumRegularBinEditor-5N3PWOIQ.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-SYPTBY5A.js +278 -0
- package/dist/NumSplineEditor-ZLB5MWYK.js +210 -0
- package/dist/NumSplineEditor.unit.spec-ZLAVLV7E.js +224 -0
- package/dist/NumericDensity-K4CTMN2G.js +33 -0
- package/dist/NumericDensity.unit.spec-BLWEQHZC.js +418 -0
- package/dist/NumericHandler-3KACLCOL.js +34 -0
- package/dist/NumericHandler.unit.spec-4P7HBSCB.js +214 -0
- package/dist/ProteomeInput-JZ6MKE7L.js +388 -0
- package/dist/Regression-QBR2VYHT.js +1416 -0
- package/dist/RunChart2-UKN6M5M5.js +749 -0
- package/dist/SC-COHN7DMJ.js +1107 -0
- package/dist/Violin-SDUSKIEX.js +1082 -0
- package/dist/Volcano-KON4MOIM.js +1649 -0
- package/dist/Wsi-SJC56PRR.js +609 -0
- package/dist/Wsi-SJC56PRR.js.map +7 -0
- package/dist/adSandbox-L6ZHCJJO.js +33 -0
- package/dist/animatedBubbleChart-IQBJBHPP.js +547 -0
- package/dist/app-2NSQK3GQ.js +32 -0
- package/dist/app-GMYTOBRB.js +42 -0
- package/dist/app.js +13 -13
- package/dist/bam-B4ZPOZTX.js +876 -0
- package/dist/barchart-WF5VWDCV.js +42 -0
- package/dist/barchart2-3HGZ5Q2B.js +309 -0
- package/dist/block-A3I2INBA.js +6249 -0
- package/dist/block.init-YUHPWTMF.js +33 -0
- package/dist/block.mds.expressionrank-TGAZQTVW.js +354 -0
- package/dist/block.mds.geneboxplot-GPIQWNWB.js +823 -0
- package/dist/block.mds.junction-YREJCNYJ.js +1539 -0
- package/dist/block.mds.svcnv-2ZDNI2XE.js +6796 -0
- package/dist/block.svg-2BRKZJAO.js +159 -0
- package/dist/block.tk.aicheck-ZDTQFF7Q.js +278 -0
- package/dist/block.tk.ase-JAIOSXZO.js +360 -0
- package/dist/block.tk.bam-V27YBYQG.js +1901 -0
- package/dist/block.tk.bedgraphdot-QFJNEYKU.js +379 -0
- package/dist/block.tk.bigwig.ui-X77XUZLB.js +206 -0
- package/dist/block.tk.hicstraw-OCZXKJOV.js +818 -0
- package/dist/block.tk.junction-2KI3SPXW.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-G4OHYDVZ.js +194 -0
- package/dist/block.tk.ld-LM4A3V7Z.js +94 -0
- package/dist/block.tk.menu-GL6W3MKK.js +1024 -0
- package/dist/block.tk.pgv-T3YW5EGQ.js +938 -0
- package/dist/brainImaging-6WLB6DWG.js +555 -0
- package/dist/brainImaging-6WLB6DWG.js.map +7 -0
- package/dist/brainRegions-EVHXPPL5.js +217 -0
- package/dist/bubbleHeatmap-WZX7MLQF.js +378 -0
- package/dist/cellTypeBubbleHeatmap-3XY3U7EO.js +278 -0
- package/dist/chunk-26VFFI2G.js +1278 -0
- package/dist/chunk-26VFFI2G.js.map +7 -0
- package/dist/chunk-2XOBD4ZZ.js +102 -0
- package/dist/chunk-5X6CDEMT.js +55 -0
- package/dist/chunk-5X6CDEMT.js.map +7 -0
- package/dist/chunk-6BG5G6SC.js +397 -0
- package/dist/chunk-6EXPDXXV.js +464 -0
- package/dist/chunk-6KCG2NFA.js +49 -0
- package/dist/chunk-6KIZ3Q5X.js +272 -0
- package/dist/chunk-6MDL3FYD.js +141 -0
- package/dist/chunk-7CJKL3LK.js +339 -0
- package/dist/chunk-7T6G6BZF.js +50 -0
- package/dist/chunk-7WL4LROG.js +1986 -0
- package/dist/chunk-7WWTWWB7.js +158 -0
- package/dist/chunk-AEHBMP7F.js +550 -0
- package/dist/chunk-B2XYBFGT.js +299 -0
- package/dist/chunk-BH55L7RJ.js +480 -0
- package/dist/chunk-BWE6BZK3.js +240 -0
- package/dist/chunk-BXM6PRTG.js +274 -0
- package/dist/chunk-CCYVGZGI.js +178 -0
- package/dist/chunk-DRKC4J62.js +339 -0
- package/dist/chunk-DX5WQOJU.js +1339 -0
- package/dist/chunk-E6FOW4UK.js +562 -0
- package/dist/chunk-ESXQDVDP.js +518 -0
- package/dist/chunk-FIN6XVVG.js +34 -0
- package/dist/chunk-GH5EQCLQ.js +379 -0
- package/dist/chunk-GIBTGABW.js +263 -0
- package/dist/chunk-GJ6JKPEY.js +626 -0
- package/dist/chunk-GKB4YPSV.js +14 -0
- package/dist/chunk-GRVO7RW4.js +2139 -0
- package/dist/chunk-GRVO7RW4.js.map +7 -0
- package/dist/chunk-HZ3TCGBK.js +402 -0
- package/dist/chunk-HZ3TCGBK.js.map +7 -0
- package/dist/chunk-IGJOH5LV.js +276 -0
- package/dist/chunk-IUT72AWA.js +55 -0
- package/dist/chunk-IYCSCSRS.js +1720 -0
- package/dist/chunk-J2O74K2I.js +129 -0
- package/dist/chunk-JO5SX7RA.js +176 -0
- package/dist/chunk-JV5AGMUC.js +123 -0
- package/dist/chunk-KUHCBPKU.js +446 -0
- package/dist/chunk-LWOWC4PF.js +203 -0
- package/dist/chunk-M3OUBH5W.js +294 -0
- package/dist/chunk-MZ6UOWXO.js +2784 -0
- package/dist/chunk-NQDF3U2C.js +24607 -0
- package/dist/chunk-NQDF3U2C.js.map +7 -0
- package/dist/chunk-P7EXGD5F.js +281 -0
- package/dist/chunk-QJQUSRGP.js +134 -0
- package/dist/chunk-RPKZLEY7.js +170 -0
- package/dist/chunk-RRGGHEA4.js +783 -0
- package/dist/chunk-RRGGHEA4.js.map +7 -0
- package/dist/chunk-S4XD4GGN.js +6360 -0
- package/dist/chunk-SKS6VDD4.js +56 -0
- package/dist/chunk-SPZQIZLJ.js +70 -0
- package/dist/chunk-SR35T6VI.js +197 -0
- package/dist/chunk-TEMNQTG3.js +194 -0
- package/dist/chunk-UG6RDT65.js +5071 -0
- package/dist/chunk-UO5AU7IW.js +216 -0
- package/dist/chunk-UO5AU7IW.js.map +7 -0
- package/dist/chunk-UTOWZWZ5.js +243 -0
- package/dist/chunk-V26BRUAV.js +677 -0
- package/dist/chunk-VRINIB6B.js +1233 -0
- package/dist/chunk-VVJMPICY.js +217 -0
- package/dist/chunk-VZKDGKCP.js +103 -0
- package/dist/chunk-WCAWZJ6M.js +4311 -0
- package/dist/chunk-XCN3FKLF.js +2676 -0
- package/dist/chunk-XCN3FKLF.js.map +7 -0
- package/dist/chunk-XD2JMWMR.js +54 -0
- package/dist/chunk-XERHX42E.js +98 -0
- package/dist/chunk-XZXGNMNK.js +2853 -0
- package/dist/chunk-Y34GYPF6.js +2327 -0
- package/dist/chunk-YO5DWWBU.js +102 -0
- package/dist/chunk-Z4HZONN6.js +302 -0
- package/dist/cohort-ZLQA2KPW.js +70 -0
- package/dist/condition-SFZAHMKK.js +327 -0
- package/dist/controls-US3ID2ZR.js +34 -0
- package/dist/controls.config-Y7NGPB5K.js +34 -0
- package/dist/correlation-JD4FMZVF.js +95 -0
- package/dist/customdata.inputui-YUHO2ZSR.js +284 -0
- package/dist/dataDownload-4YQHUJQX.js +329 -0
- package/dist/databrowser.ui-4YE24U4B.js +425 -0
- package/dist/dictionary-LFOSXJGH.js +113 -0
- package/dist/dnaMethylation-2627GIZW.js +33 -0
- package/dist/dnaMethylation.integration.spec-HSZKXED3.js +198 -0
- package/dist/dofetch-7O5UTSGI.js +48 -0
- package/dist/e2pca-XL7F5BK3.js +344 -0
- package/dist/ep-35KADAYG.js +1249 -0
- package/dist/expclust.gdc.spec-TFJEXEAA.js +302 -0
- package/dist/facet-AWDU4CCU.js +519 -0
- package/dist/gb-UIBSH7KV.js +81 -0
- package/dist/geneExpClustering-VYZ5VDPL.js +244 -0
- package/dist/geneExpression-CNBSE3KW.js +33 -0
- package/dist/geneExpression-ECXW22H6.js +310 -0
- package/dist/geneExpression.unit.spec-SCBRU5BG.js +128 -0
- package/dist/geneExpression.unit.spec-SCBRU5BG.js.map +7 -0
- package/dist/geneORA-BQZ4XYJH.js +273 -0
- package/dist/geneRanking-GXRSXHIN.js +548 -0
- package/dist/geneVariant-Y7GASAY6.js +36 -0
- package/dist/geneVariant-ZVOUFF27.js +286 -0
- package/dist/geneVariant.integration.spec-2ATUV7NH.js +489 -0
- package/dist/geneVariant.integration.spec-2ATUV7NH.js.map +7 -0
- package/dist/genefusion.ui-CEMLY7HG.js +303 -0
- package/dist/geneset-HMADFO7Z.js +203 -0
- package/dist/genomeBrowser.spec-3U6KE3MK.js +276 -0
- package/dist/grin2-AJAXI4O4.js +1137 -0
- package/dist/grin2-CFAOAHY3.js +70 -0
- package/dist/hierCluster-JUJ7C7TQ.js +59 -0
- package/dist/hierCluster-N6B4L6FW.js +55 -0
- package/dist/hierCluster.config-RSSBKO6G.js +36 -0
- package/dist/hierCluster.integration.spec-YC6B3ID2.js +483 -0
- package/dist/hierCluster.interactivity-PRIWN65K.js +49 -0
- package/dist/hierCluster.renderers-3RHXOHZ5.js +19 -0
- package/dist/imagePlot-DSG4WJOG.js +156 -0
- package/dist/importPlot-QSWJBDWH.js +8 -0
- package/dist/isoformExpression-XWLMWXEK.js +35 -0
- package/dist/isoformExpression.unit.spec-T7VN2WPK.js +237 -0
- package/dist/junction-AUXJROOE.js +36 -0
- package/dist/junction.unit.spec-ODVQMDI5.js +182 -0
- package/dist/launch.adhoc-TNONPG6R.js +37 -0
- package/dist/leftlabel.sample-5VFAMSH5.js +258 -0
- package/dist/lollipop-NEDFCNJJ.js +166 -0
- package/dist/maf-2GO7PDOL.js +455 -0
- package/dist/maftimeline-UMVQGIXA.js +587 -0
- package/dist/matrix-74JSSVR5.js +59 -0
- package/dist/matrix-YARPFYCU.js +54 -0
- package/dist/matrix.cells-WYCIMZRW.js +26 -0
- package/dist/matrix.config-5SNEP3B4.js +37 -0
- package/dist/matrix.data-3H4GFMQK.js +23 -0
- package/dist/matrix.groups-FGLRK6IT.js +26 -0
- package/dist/matrix.integration.spec-4DQIRQQO.js +3160 -0
- package/dist/matrix.interactivity-GSV45F2N.js +37 -0
- package/dist/matrix.layout-BMH4V36B.js +39 -0
- package/dist/matrix.legend-5OVHDE6Q.js +20 -0
- package/dist/matrix.renderers-DENF4NZ6.js +34 -0
- package/dist/matrix.serieses-D7XPW5L4.js +19 -0
- package/dist/matrix.sort-XQEOXSEG.js +26 -0
- package/dist/matrix.sort.unit.spec-HGII2SCC.js +468 -0
- package/dist/matrix.sorterUi.unit.spec-TNRATMUJ.js +338 -0
- package/dist/matrix.unit.spec-LBMDCANX.js +150 -0
- package/dist/mavb-UQFSJN4W.js +727 -0
- package/dist/mds.fimo-TXHCH6LW.js +513 -0
- package/dist/mds.samplescatterplot-G6IJO3I7.js +1545 -0
- package/dist/mds.survivalplot-XFB2EL23.js +477 -0
- package/dist/multivalue-GLE6G3ZO.js +83 -0
- package/dist/numericDictTermCluster-YTAMQDWZ.js +63 -0
- package/dist/oncomatrix-P6QVGFAR.js +290 -0
- package/dist/oncomatrix.spec-O6U52E22.js +443 -0
- package/dist/plot.2dvaf-VZL4SH6G.js +372 -0
- package/dist/plot.app-VYMIF4VU.js +36 -0
- package/dist/plot.barplot-I6S266DG.js +97 -0
- package/dist/plot.boxplot-3CHI4AA2.js +146 -0
- package/dist/plot.brainImaging-LRQYKMLQ.js +51 -0
- package/dist/plot.brainImaging-LRQYKMLQ.js.map +7 -0
- package/dist/plot.disco-NCTBMD2W.js +99 -0
- package/dist/plot.ssgq-CL3TGZ55.js +134 -0
- package/dist/plot.vaf2cov-5RG3OD6G.js +253 -0
- package/dist/polar2-ABI2UJNC.js +232 -0
- package/dist/profileForms-Z4Y55OQY.js +941 -0
- package/dist/profilePlot-LMDZVOJK.js +49 -0
- package/dist/proteinView-UYMM76WH.js +1357 -0
- package/dist/proteomeCohortCompare-5GFBARC5.js +912 -0
- package/dist/pseudbulk.unit.spec-JJ2I4KPM.js +106 -0
- package/dist/pseudbulk.unit.spec-JJ2I4KPM.js.map +7 -0
- package/dist/pseudobulk-Y7HWDLIV.js +37 -0
- package/dist/qualitative-H72GEWTZ.js +38 -0
- package/dist/radar2-OXUS5DLT.js +327 -0
- package/dist/radarFacility2-VOUNCM6A.js +335 -0
- package/dist/render-KDLTAQVA.js +33 -0
- package/dist/report-PBRD2KBN.js +217 -0
- package/dist/sampleView-7HWFZCHE.js +43 -0
- package/dist/samplelst-3ZWV4XZQ.js +106 -0
- package/dist/samplematrix-YRJUNYQ6.js +2193 -0
- package/dist/sc-N4YM3GZI.js +81 -0
- package/dist/scatter-KBY6VF76.js +88 -0
- package/dist/scatter-TBGEXELG.js +880 -0
- package/dist/selectGenomeWithTklst-25WQQ42Y.js +129 -0
- package/dist/singleCellCellType-35TDG2YM.js +33 -0
- package/dist/singleCellCellType.unit.spec-G5AVNAUK.js +154 -0
- package/dist/singleCellGeneExpression-7AHJYFWJ.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-LGZMOVTB.js +148 -0
- package/dist/singleCellPlot-AU5K4M7J.js +49 -0
- package/dist/singlecell-HNTYJLJ4.js +81 -0
- package/dist/singlecell-J4FIZPZF.js +1566 -0
- package/dist/snp-OXDVSFGB.js +33 -0
- package/dist/snp.unit.spec-B7LCCGWA.js +171 -0
- package/dist/snplocus-4VWXVQGS.js +203 -0
- package/dist/spliceevent.a53ss.diagram-YS32IFVI.js +146 -0
- package/dist/spliceevent.exonskip.diagram-PHFR53DH.js +278 -0
- package/dist/spliceevent.noeventdiagram-FFHMDEBQ.js +455 -0
- package/dist/ssGSEA-OYEIDW4M.js +33 -0
- package/dist/ssGSEA.unit.spec-SY5XFF45.js +83 -0
- package/dist/stattable-JCH2WPS6.js +117 -0
- package/dist/studyCatalog-FDB7D26M.js +414 -0
- package/dist/summarizeCnvGeneexp-KNW23YAI.js +158 -0
- package/dist/summarizeGeneexpSurvival-H57GGCXL.js +105 -0
- package/dist/summarizeMutationCnv-RBBDE27N.js +159 -0
- package/dist/summarizeMutationDiagnosis-R6YWQ4LQ.js +35 -0
- package/dist/summarizeMutationSurvival-Q6WKBNPD.js +99 -0
- package/dist/summary-AL3GEK3G.js +42 -0
- package/dist/summary.integration.spec-IFGDIEMW.js +409 -0
- package/dist/summaryInput-TYIKTBO3.js +242 -0
- package/dist/sunburst-4PA3CO44.js +278 -0
- package/dist/survival-GT4CSHX2.js +53 -0
- package/dist/survival-HXJCMNCG.js +1248 -0
- package/dist/survival.integration.spec-C7OJC4AG.js +613 -0
- package/dist/svgraph-MZCOBO4J.js +1382 -0
- package/dist/svmr-FQPAAQHB.js +3837 -0
- package/dist/table-FKLXVILD.js +197 -0
- package/dist/termCollection-QDGR6J36.js +33 -0
- package/dist/termCollection-Y7CIC6GQ.js +252 -0
- package/dist/termCollection.unit.spec-PQMFOWLF.js +299 -0
- package/dist/termCollectionFractionSelection-2O32HROA.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-WXGCO2RF.js +188 -0
- package/dist/tk-IBYM4FZC.js +41 -0
- package/dist/tk-QJNN6WK2.js +1121 -0
- package/dist/tp.ui-RI7S54LI.js +1454 -0
- package/dist/tvs.dt-7CIYMLQF.js +34 -0
- package/dist/tvs.dtcnv.categorical-D3W6R6BM.js +35 -0
- package/dist/tvs.dtcnv.continuous-4WS2TN3K.js +67 -0
- package/dist/tvs.dtfusion-NUUFIGG4.js +35 -0
- package/dist/tvs.dtitd-UCSEWRNJ.js +35 -0
- package/dist/tvs.dtsnvindel-J4S7KU3Y.js +35 -0
- package/dist/tvs.dtsv-4OPYIWB6.js +35 -0
- package/dist/tvs.samplelst-RUZYZ2FF.js +98 -0
- package/dist/tvs.termCollection-D5X2HNWO.js +124 -0
- package/dist/vocabulary-4L3RHQFQ.js +36 -0
- package/dist/vocabulary-4L3RHQFQ.js.map +7 -0
- package/dist/wsi.direct-FNCUUBEJ.js +8343 -0
- package/dist/wsi.direct-FNCUUBEJ.js.map +7 -0
- package/package.json +3 -3
- package/dist/2dmaf-5OYM4MXA.js +0 -1367
- package/dist/AggMatrixInput-4VTI4Y6E.js +0 -277
- package/dist/AggregateMatrix-K7SGNO63.js +0 -41
- package/dist/AppHeader-WU6TO2OZ.js +0 -830
- package/dist/BoxPlot-OW7U3XTF.js +0 -1211
- package/dist/CorrelationVolcano-B3JTTZHF.js +0 -614
- package/dist/Cuminc-AJEXWRU2.js +0 -1219
- package/dist/DE-2J7DSRPC.js +0 -89
- package/dist/DEinput-I7JWNOSD.js +0 -499
- package/dist/DM-NQ46YPGF.js +0 -90
- package/dist/DifferentialAnalysis-BFCQBX5J.js +0 -237
- package/dist/Disco-ZJLVQRTC.js +0 -3389
- package/dist/Disco.UI-AEDACXW2.js +0 -243
- package/dist/DmrPlot-QMRXAOM3.js +0 -637
- package/dist/GB-MFU2UJ22.js +0 -1391
- package/dist/GSEA-E3NHU22A.js +0 -851
- package/dist/GeneExpInput-MIUNSOPY.js +0 -362
- package/dist/GeneExpInput-MIUNSOPY.js.map +0 -7
- package/dist/Geomap-HAJG3STN.js +0 -84
- package/dist/HicApp-ECFFIRWI.js +0 -2245
- package/dist/IDCViewer-TNSD3U2V.js +0 -10812
- package/dist/NumBinaryEditor-CNBGZ6WY.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-SKFDALF3.js +0 -312
- package/dist/NumContEditor-7ID2U7JL.js +0 -105
- package/dist/NumContEditor.unit.spec-XHSQSAWK.js +0 -164
- package/dist/NumCustomBinEditor-PAIPRJPO.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-QYVZMMHV.js +0 -397
- package/dist/NumDiscreteEditor-K2NZZQTH.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-3CG5VEQL.js +0 -233
- package/dist/NumRegularBinEditor-EOVZ22TP.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-FHTVH5FH.js +0 -278
- package/dist/NumSplineEditor-N3REMJUC.js +0 -210
- package/dist/NumSplineEditor.unit.spec-DZCP35GL.js +0 -224
- package/dist/NumericDensity-42MWVI2S.js +0 -33
- package/dist/NumericDensity.unit.spec-T2HHSQON.js +0 -418
- package/dist/NumericHandler-5XU3SSPD.js +0 -34
- package/dist/NumericHandler.unit.spec-3F23KSAQ.js +0 -214
- package/dist/ProteomeInput-UN2BUNRO.js +0 -388
- package/dist/Regression-HWLJENA5.js +0 -1416
- package/dist/RunChart2-YO55WE4M.js +0 -749
- package/dist/SC-LEDJ4DQR.js +0 -1107
- package/dist/Violin-E6PDJZ2B.js +0 -1082
- package/dist/Volcano-XJTBWYUK.js +0 -1649
- package/dist/Wsi-S675CYTW.js +0 -431
- package/dist/Wsi-S675CYTW.js.map +0 -7
- package/dist/adSandbox-ZJQ5ZW2T.js +0 -33
- package/dist/animatedBubbleChart-LRUS7W36.js +0 -547
- package/dist/app-7Q3QIBU4.js +0 -32
- package/dist/app-PKSI4MV5.js +0 -42
- package/dist/bam-X5JH5ZT7.js +0 -876
- package/dist/barchart-UT6J4L2N.js +0 -42
- package/dist/barchart2-ZG5QJO3C.js +0 -309
- package/dist/block-TC466NGW.js +0 -6249
- package/dist/block.init-CIBNSYAC.js +0 -33
- package/dist/block.mds.expressionrank-EY5PCQCK.js +0 -354
- package/dist/block.mds.geneboxplot-R6AOMHO5.js +0 -823
- package/dist/block.mds.junction-JMV6FNYC.js +0 -1539
- package/dist/block.mds.svcnv-IHTV3QYG.js +0 -6796
- package/dist/block.svg-NTFLVQAQ.js +0 -159
- package/dist/block.tk.aicheck-FYPL32Y4.js +0 -278
- package/dist/block.tk.ase-FWCB6VBO.js +0 -360
- package/dist/block.tk.bam-Q5UFUABN.js +0 -1901
- package/dist/block.tk.bedgraphdot-KBI3GFDM.js +0 -379
- package/dist/block.tk.bigwig.ui-KXNFX7G7.js +0 -206
- package/dist/block.tk.hicstraw-MQBH3YAJ.js +0 -818
- package/dist/block.tk.junction-EBTVXLJH.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-ETYLCP2O.js +0 -194
- package/dist/block.tk.ld-NLB6L6WQ.js +0 -94
- package/dist/block.tk.menu-PJLCOXVJ.js +0 -1024
- package/dist/block.tk.pgv-JOIQVWL2.js +0 -938
- package/dist/brainImaging-SPRC3QFB.js +0 -515
- package/dist/brainImaging-SPRC3QFB.js.map +0 -7
- package/dist/brainRegions-LGQGRWG7.js +0 -217
- package/dist/bubbleHeatmap-CFTZ5RXH.js +0 -378
- package/dist/cellTypeBubbleHeatmap-DXPLFT5U.js +0 -278
- package/dist/chunk-2BQ572SL.js +0 -102
- package/dist/chunk-2DQIQYY3.js +0 -103
- package/dist/chunk-2POQWEK6.js +0 -134
- package/dist/chunk-2SQEVMAL.js +0 -446
- package/dist/chunk-37HTZ6IG.js +0 -158
- package/dist/chunk-452765PG.js +0 -2676
- package/dist/chunk-452765PG.js.map +0 -7
- package/dist/chunk-54KC7DAB.js +0 -178
- package/dist/chunk-5D5YTFI2.js +0 -783
- package/dist/chunk-5D5YTFI2.js.map +0 -7
- package/dist/chunk-5DBW3WLK.js +0 -129
- package/dist/chunk-5ILEFNXJ.js +0 -402
- package/dist/chunk-5ILEFNXJ.js.map +0 -7
- package/dist/chunk-7R7P6VMT.js +0 -243
- package/dist/chunk-C5TU4AYP.js +0 -281
- package/dist/chunk-DBQA6QIJ.js +0 -4311
- package/dist/chunk-DHNET3P4.js +0 -42
- package/dist/chunk-DHNET3P4.js.map +0 -7
- package/dist/chunk-EPWGUWQP.js +0 -34
- package/dist/chunk-F3EYPES3.js +0 -1339
- package/dist/chunk-FTLCINDC.js +0 -294
- package/dist/chunk-GT6WJUJY.js +0 -480
- package/dist/chunk-GWCK5QGV.js +0 -70
- package/dist/chunk-HJSGHFJ6.js +0 -464
- package/dist/chunk-HS6BTSFX.js +0 -49
- package/dist/chunk-IB5TKNG5.js +0 -5071
- package/dist/chunk-IIMTOPH3.js +0 -54
- package/dist/chunk-JAXN3Q3K.js +0 -272
- package/dist/chunk-K6PYTAXW.js +0 -2853
- package/dist/chunk-KIRZXPMB.js +0 -141
- package/dist/chunk-KT4OZVO3.js +0 -1275
- package/dist/chunk-KT4OZVO3.js.map +0 -7
- package/dist/chunk-LB7NENEB.js +0 -123
- package/dist/chunk-LDWMVZYF.js +0 -562
- package/dist/chunk-M4XXKTH2.js +0 -339
- package/dist/chunk-ME7OF3CS.js +0 -176
- package/dist/chunk-N2CXLMNX.js +0 -626
- package/dist/chunk-N7TD7N7D.js +0 -518
- package/dist/chunk-NBX6TT5C.js +0 -299
- package/dist/chunk-NLR7JIMM.js +0 -1986
- package/dist/chunk-NSRGYBDM.js +0 -339
- package/dist/chunk-NVS7KYYI.js +0 -379
- package/dist/chunk-OVPEMVXT.js +0 -397
- package/dist/chunk-OXWLQQXL.js +0 -274
- package/dist/chunk-Q5SK3U2T.js +0 -24163
- package/dist/chunk-Q5SK3U2T.js.map +0 -7
- package/dist/chunk-QGGSYEVJ.js +0 -55
- package/dist/chunk-QLEVONLD.js +0 -50
- package/dist/chunk-RFW5BRIZ.js +0 -1233
- package/dist/chunk-RNWHB5DI.js +0 -98
- package/dist/chunk-RPDVFM7E.js +0 -2133
- package/dist/chunk-RPDVFM7E.js.map +0 -7
- package/dist/chunk-RUHLDUOT.js +0 -203
- package/dist/chunk-RV34WFGZ.js +0 -197
- package/dist/chunk-SDVE5ECI.js +0 -6360
- package/dist/chunk-SWO6DZTG.js +0 -170
- package/dist/chunk-TDM3645O.js +0 -2327
- package/dist/chunk-VVO3R5JV.js +0 -217
- package/dist/chunk-VYEU6Y35.js +0 -14
- package/dist/chunk-WGXC6IEF.js +0 -263
- package/dist/chunk-WPDM57B5.js +0 -1720
- package/dist/chunk-WS7WKS2B.js +0 -2784
- package/dist/chunk-X63NSV33.js +0 -276
- package/dist/chunk-XXNRSSBR.js +0 -56
- package/dist/chunk-YD6UGDFI.js +0 -102
- package/dist/chunk-YRIYDFNU.js +0 -160
- package/dist/chunk-YRIYDFNU.js.map +0 -7
- package/dist/chunk-YY5WQQ3J.js +0 -194
- package/dist/chunk-Z4SM3FBK.js +0 -302
- package/dist/chunk-ZEYEIUEZ.js +0 -240
- package/dist/chunk-ZLYTDHQP.js +0 -677
- package/dist/chunk-ZWCVRVV4.js +0 -550
- package/dist/cohort-FZNMFWOX.js +0 -70
- package/dist/condition-AJJLFCBQ.js +0 -327
- package/dist/controls-SZOLV37V.js +0 -34
- package/dist/controls.config-CVP75WFA.js +0 -34
- package/dist/correlation-UFJFQHQ3.js +0 -95
- package/dist/customdata.inputui-HOVA4A6O.js +0 -284
- package/dist/dataDownload-VTUG4IOK.js +0 -329
- package/dist/databrowser.ui-O5S4Y4EK.js +0 -425
- package/dist/dictionary-L2UNNNP7.js +0 -113
- package/dist/dnaMethylation-B4SWZI4O.js +0 -33
- package/dist/dnaMethylation.integration.spec-ANJAMNYJ.js +0 -198
- package/dist/dofetch-F5XSHQIS.js +0 -48
- package/dist/e2pca-66ARIMKL.js +0 -344
- package/dist/ep-OFGJYVUY.js +0 -1249
- package/dist/expclust.gdc.spec-22RXQTTP.js +0 -302
- package/dist/facet-GVZQ3RPN.js +0 -519
- package/dist/gb-HEPGVYEK.js +0 -81
- package/dist/geneExpClustering-3NU2U422.js +0 -244
- package/dist/geneExpression-FXQ4L2J2.js +0 -310
- package/dist/geneExpression-XYVYJJA5.js +0 -33
- package/dist/geneExpression.unit.spec-K3FIRSNK.js +0 -99
- package/dist/geneExpression.unit.spec-K3FIRSNK.js.map +0 -7
- package/dist/geneORA-5M2JSDMF.js +0 -273
- package/dist/geneRanking-TP3R3CS3.js +0 -548
- package/dist/geneVariant-232EYUFJ.js +0 -36
- package/dist/geneVariant-BHXTPUDC.js +0 -286
- package/dist/geneVariant.integration.spec-ICFHVFIR.js +0 -388
- package/dist/geneVariant.integration.spec-ICFHVFIR.js.map +0 -7
- package/dist/genefusion.ui-ABRCUQFC.js +0 -303
- package/dist/geneset-N42FIVA6.js +0 -203
- package/dist/genomeBrowser.spec-5HKQKLRU.js +0 -276
- package/dist/grin2-H2KJYLP6.js +0 -1137
- package/dist/grin2-NGMTEMXF.js +0 -70
- package/dist/hierCluster-JU5JPLM7.js +0 -55
- package/dist/hierCluster-LSSH275H.js +0 -59
- package/dist/hierCluster.config-ILOR7GBB.js +0 -36
- package/dist/hierCluster.integration.spec-CNR5OJOH.js +0 -483
- package/dist/hierCluster.interactivity-TLEIVTFK.js +0 -49
- package/dist/hierCluster.renderers-P7JNIT3N.js +0 -19
- package/dist/imagePlot-BF67SXQR.js +0 -156
- package/dist/importPlot-OHXSXNZN.js +0 -8
- package/dist/isoformExpression-4VKHE4HA.js +0 -35
- package/dist/isoformExpression.unit.spec-4TVSIFG4.js +0 -237
- package/dist/junction-VUHORV43.js +0 -36
- package/dist/junction.unit.spec-KKVLYT7Q.js +0 -182
- package/dist/launch.adhoc-UDYMFZTQ.js +0 -37
- package/dist/leftlabel.sample-R5FFBWG3.js +0 -258
- package/dist/lollipop-3IX6ZYUN.js +0 -166
- package/dist/maf-42UFYSL4.js +0 -455
- package/dist/maftimeline-M5WYEN62.js +0 -587
- package/dist/matrix-CI76EDHU.js +0 -54
- package/dist/matrix-WJZKA6VR.js +0 -59
- package/dist/matrix.cells-ZFKVIPDC.js +0 -26
- package/dist/matrix.config-24TFHBEM.js +0 -37
- package/dist/matrix.data-NCGZPNWR.js +0 -23
- package/dist/matrix.groups-XQJTGM6M.js +0 -26
- package/dist/matrix.integration.spec-OGXZUDE6.js +0 -3160
- package/dist/matrix.interactivity-ZOOTPNSW.js +0 -37
- package/dist/matrix.layout-5J2YENK3.js +0 -39
- package/dist/matrix.legend-U36VCS46.js +0 -20
- package/dist/matrix.renderers-4KFE7ZVR.js +0 -34
- package/dist/matrix.serieses-AW7XBXLJ.js +0 -19
- package/dist/matrix.sort-7PMECLOE.js +0 -26
- package/dist/matrix.sort.unit.spec-GIA2YOTQ.js +0 -468
- package/dist/matrix.sorterUi.unit.spec-OPGKZZL6.js +0 -338
- package/dist/matrix.unit.spec-7UIVVR4T.js +0 -150
- package/dist/mavb-MSYUMT6W.js +0 -727
- package/dist/mds.fimo-OYEAQP37.js +0 -513
- package/dist/mds.samplescatterplot-EXISSRQQ.js +0 -1545
- package/dist/mds.survivalplot-SZST6BLN.js +0 -477
- package/dist/multivalue-YDE7L75Y.js +0 -83
- package/dist/numericDictTermCluster-5AKP6ICC.js +0 -63
- package/dist/oncomatrix-2OEIYWR6.js +0 -290
- package/dist/oncomatrix.spec-CXQW4JWU.js +0 -443
- package/dist/plot.2dvaf-LN7A3NNC.js +0 -372
- package/dist/plot.app-YIQOY2Z7.js +0 -36
- package/dist/plot.barplot-HF2J25XP.js +0 -97
- package/dist/plot.boxplot-YJH4L27U.js +0 -146
- package/dist/plot.brainImaging-PS4TRSPI.js +0 -51
- package/dist/plot.brainImaging-PS4TRSPI.js.map +0 -7
- package/dist/plot.disco-BN5RNZ6Q.js +0 -99
- package/dist/plot.ssgq-N2HTOIY3.js +0 -134
- package/dist/plot.vaf2cov-6AOHRUQ2.js +0 -253
- package/dist/polar2-TC5OEJRE.js +0 -232
- package/dist/profileForms-5WV2TSBB.js +0 -941
- package/dist/profilePlot-OJLLW44P.js +0 -49
- package/dist/proteinView-CGNAJN4S.js +0 -1357
- package/dist/proteomeCohortCompare-XXQGGVCF.js +0 -912
- package/dist/pseudbulk.unit.spec-RAYRGN6C.js +0 -86
- package/dist/pseudbulk.unit.spec-RAYRGN6C.js.map +0 -7
- package/dist/pseudobulk-ADHAYVSQ.js +0 -35
- package/dist/qualitative-JXEI3IYC.js +0 -38
- package/dist/radar2-BWTKSTT3.js +0 -327
- package/dist/radarFacility2-WIRSKTDG.js +0 -335
- package/dist/render-J7WOYBOL.js +0 -33
- package/dist/report-DRPCXX2B.js +0 -217
- package/dist/sampleView-BV6BQGGQ.js +0 -43
- package/dist/samplelst-ZD63EYO7.js +0 -106
- package/dist/samplematrix-ZZ3DVELU.js +0 -2193
- package/dist/sc-MUI43YTB.js +0 -81
- package/dist/scatter-7B44HTKN.js +0 -88
- package/dist/scatter-UEDVIE4Y.js +0 -880
- package/dist/selectGenomeWithTklst-WGOKGVZ5.js +0 -129
- package/dist/singleCellCellType-Z7OXK7PI.js +0 -33
- package/dist/singleCellCellType.unit.spec-IIOVCCJQ.js +0 -154
- package/dist/singleCellGeneExpression-LYZAIJ2Z.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-67AAWZTG.js +0 -148
- package/dist/singleCellPlot-TXPYQLSH.js +0 -49
- package/dist/singlecell-22OG6HNI.js +0 -1566
- package/dist/singlecell-7TBALI2S.js +0 -81
- package/dist/snp-3U2G3Z57.js +0 -33
- package/dist/snp.unit.spec-BMBBUBYD.js +0 -171
- package/dist/snplocus-SSVZDIQV.js +0 -203
- package/dist/spliceevent.a53ss.diagram-FK7CN4AU.js +0 -146
- package/dist/spliceevent.exonskip.diagram-EFLGV3O4.js +0 -278
- package/dist/spliceevent.noeventdiagram-2DYO7CCZ.js +0 -455
- package/dist/ssGSEA-52LWBQJP.js +0 -33
- package/dist/ssGSEA.unit.spec-3JV6WHUQ.js +0 -83
- package/dist/stattable-RLMYQ4G6.js +0 -117
- package/dist/studyCatalog-DKB3U7EV.js +0 -414
- package/dist/summarizeCnvGeneexp-QPRYAKC2.js +0 -158
- package/dist/summarizeGeneexpSurvival-RWVQXEKB.js +0 -105
- package/dist/summarizeMutationCnv-DW5F6NUJ.js +0 -159
- package/dist/summarizeMutationDiagnosis-5FOQ7CHI.js +0 -35
- package/dist/summarizeMutationSurvival-4UKB4EVO.js +0 -99
- package/dist/summary-TYC6QNT4.js +0 -42
- package/dist/summary.integration.spec-5GLJJZNM.js +0 -409
- package/dist/summaryInput-4IJGKW4P.js +0 -242
- package/dist/sunburst-G7DGATWP.js +0 -278
- package/dist/survival-IHM6A7LL.js +0 -1248
- package/dist/survival-MKNABJPU.js +0 -53
- package/dist/survival.integration.spec-THOKI3DL.js +0 -613
- package/dist/svgraph-VB7JWWR5.js +0 -1382
- package/dist/svmr-VLQIO2U5.js +0 -3837
- package/dist/table-EAXMDWOY.js +0 -197
- package/dist/termCollection-5LG7ICQY.js +0 -252
- package/dist/termCollection-SB6MWLFK.js +0 -33
- package/dist/termCollection.unit.spec-H5ITGTR3.js +0 -299
- package/dist/termCollectionFractionSelection-2XZSTDCQ.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-BIO7V6KA.js +0 -188
- package/dist/tk-TRWYZLQ2.js +0 -1121
- package/dist/tk-VZI5HNSX.js +0 -41
- package/dist/tp.ui-J5SNNAT3.js +0 -1454
- package/dist/tvs.dt-6YHFJPER.js +0 -34
- package/dist/tvs.dtcnv.categorical-WTIE63GM.js +0 -35
- package/dist/tvs.dtcnv.continuous-OCMKGTF5.js +0 -67
- package/dist/tvs.dtfusion-CA23UNM3.js +0 -35
- package/dist/tvs.dtitd-VSYMR3OD.js +0 -35
- package/dist/tvs.dtsnvindel-YBNO3CYF.js +0 -35
- package/dist/tvs.dtsv-S743GBB5.js +0 -35
- package/dist/tvs.samplelst-XAJO4EM6.js +0 -98
- package/dist/tvs.termCollection-QOVJGAUC.js +0 -124
- package/dist/vocabulary-6EADTHP3.js +0 -36
- package/dist/wsi.direct-2WB2NGC5.js +0 -8184
- package/dist/wsi.direct-2WB2NGC5.js.map +0 -7
- /package/dist/{2dmaf-5OYM4MXA.js.map → 2dmaf-5JKVMAPO.js.map} +0 -0
- /package/dist/{AggMatrixInput-4VTI4Y6E.js.map → AggMatrixInput-254IEQYB.js.map} +0 -0
- /package/dist/{AggregateMatrix-K7SGNO63.js.map → AggregateMatrix-U3NZSNL6.js.map} +0 -0
- /package/dist/{AppHeader-WU6TO2OZ.js.map → AppHeader-DK2GIYYT.js.map} +0 -0
- /package/dist/{BoxPlot-OW7U3XTF.js.map → BoxPlot-POSL2ZLS.js.map} +0 -0
- /package/dist/{CorrelationVolcano-B3JTTZHF.js.map → CorrelationVolcano-YZ6ACP5D.js.map} +0 -0
- /package/dist/{Cuminc-AJEXWRU2.js.map → Cuminc-SJVFK4VX.js.map} +0 -0
- /package/dist/{DE-2J7DSRPC.js.map → DE-RJMZGJ5Y.js.map} +0 -0
- /package/dist/{DEinput-I7JWNOSD.js.map → DEinput-H25PS4QT.js.map} +0 -0
- /package/dist/{DM-NQ46YPGF.js.map → DM-A3UCF7HM.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-BFCQBX5J.js.map → DifferentialAnalysis-4J75UMV7.js.map} +0 -0
- /package/dist/{Disco-ZJLVQRTC.js.map → Disco-IXGGKIEI.js.map} +0 -0
- /package/dist/{Disco.UI-AEDACXW2.js.map → Disco.UI-X3JG4ERN.js.map} +0 -0
- /package/dist/{DmrPlot-QMRXAOM3.js.map → DmrPlot-SJWHTSMB.js.map} +0 -0
- /package/dist/{GB-MFU2UJ22.js.map → GB-KPF7BZFQ.js.map} +0 -0
- /package/dist/{GSEA-E3NHU22A.js.map → GSEA-BMVTJ6B7.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-PAIPRJPO.js.map → GeneExpInput-3KFGQEAY.js.map} +0 -0
- /package/dist/{Geomap-HAJG3STN.js.map → Geomap-R7Q3T3DZ.js.map} +0 -0
- /package/dist/{HicApp-ECFFIRWI.js.map → HicApp-BTFHMXQE.js.map} +0 -0
- /package/dist/{IDCViewer-TNSD3U2V.js.map → IDCViewer-RVVWT7MH.js.map} +0 -0
- /package/dist/{NumBinaryEditor-CNBGZ6WY.js.map → NumBinaryEditor-V3YCDNRR.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-SKFDALF3.js.map → NumBinaryEditor.unit.spec-IVY27SEV.js.map} +0 -0
- /package/dist/{NumContEditor-7ID2U7JL.js.map → NumContEditor-FSHA32UV.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-XHSQSAWK.js.map → NumContEditor.unit.spec-5IFB4GXP.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-EOVZ22TP.js.map → NumCustomBinEditor-63YQZU52.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-QYVZMMHV.js.map → NumCustomBinEditor.unit.spec-BJLGQQ4R.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-K2NZZQTH.js.map → NumDiscreteEditor-K4AZ6UQF.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-3CG5VEQL.js.map → NumDiscreteEditor.unit.spec-AHL7QA4N.js.map} +0 -0
- /package/dist/{NumericDensity-42MWVI2S.js.map → NumRegularBinEditor-5N3PWOIQ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-FHTVH5FH.js.map → NumRegularBinEditor.unit.spec-SYPTBY5A.js.map} +0 -0
- /package/dist/{NumSplineEditor-N3REMJUC.js.map → NumSplineEditor-ZLB5MWYK.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-DZCP35GL.js.map → NumSplineEditor.unit.spec-ZLAVLV7E.js.map} +0 -0
- /package/dist/{NumericHandler-5XU3SSPD.js.map → NumericDensity-K4CTMN2G.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-T2HHSQON.js.map → NumericDensity.unit.spec-BLWEQHZC.js.map} +0 -0
- /package/dist/{adSandbox-ZJQ5ZW2T.js.map → NumericHandler-3KACLCOL.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-3F23KSAQ.js.map → NumericHandler.unit.spec-4P7HBSCB.js.map} +0 -0
- /package/dist/{ProteomeInput-UN2BUNRO.js.map → ProteomeInput-JZ6MKE7L.js.map} +0 -0
- /package/dist/{Regression-HWLJENA5.js.map → Regression-QBR2VYHT.js.map} +0 -0
- /package/dist/{RunChart2-YO55WE4M.js.map → RunChart2-UKN6M5M5.js.map} +0 -0
- /package/dist/{SC-LEDJ4DQR.js.map → SC-COHN7DMJ.js.map} +0 -0
- /package/dist/{Violin-E6PDJZ2B.js.map → Violin-SDUSKIEX.js.map} +0 -0
- /package/dist/{Volcano-XJTBWYUK.js.map → Volcano-KON4MOIM.js.map} +0 -0
- /package/dist/{app-7Q3QIBU4.js.map → adSandbox-L6ZHCJJO.js.map} +0 -0
- /package/dist/{animatedBubbleChart-LRUS7W36.js.map → animatedBubbleChart-IQBJBHPP.js.map} +0 -0
- /package/dist/{app-PKSI4MV5.js.map → app-2NSQK3GQ.js.map} +0 -0
- /package/dist/{barchart-UT6J4L2N.js.map → app-GMYTOBRB.js.map} +0 -0
- /package/dist/{bam-X5JH5ZT7.js.map → bam-B4ZPOZTX.js.map} +0 -0
- /package/dist/{block.init-CIBNSYAC.js.map → barchart-WF5VWDCV.js.map} +0 -0
- /package/dist/{barchart2-ZG5QJO3C.js.map → barchart2-3HGZ5Q2B.js.map} +0 -0
- /package/dist/{block-TC466NGW.js.map → block-A3I2INBA.js.map} +0 -0
- /package/dist/{controls-SZOLV37V.js.map → block.init-YUHPWTMF.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-EY5PCQCK.js.map → block.mds.expressionrank-TGAZQTVW.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-R6AOMHO5.js.map → block.mds.geneboxplot-GPIQWNWB.js.map} +0 -0
- /package/dist/{block.mds.junction-JMV6FNYC.js.map → block.mds.junction-YREJCNYJ.js.map} +0 -0
- /package/dist/{block.mds.svcnv-IHTV3QYG.js.map → block.mds.svcnv-2ZDNI2XE.js.map} +0 -0
- /package/dist/{block.svg-NTFLVQAQ.js.map → block.svg-2BRKZJAO.js.map} +0 -0
- /package/dist/{block.tk.aicheck-FYPL32Y4.js.map → block.tk.aicheck-ZDTQFF7Q.js.map} +0 -0
- /package/dist/{block.tk.ase-FWCB6VBO.js.map → block.tk.ase-JAIOSXZO.js.map} +0 -0
- /package/dist/{block.tk.bam-Q5UFUABN.js.map → block.tk.bam-V27YBYQG.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-KBI3GFDM.js.map → block.tk.bedgraphdot-QFJNEYKU.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-KXNFX7G7.js.map → block.tk.bigwig.ui-X77XUZLB.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-MQBH3YAJ.js.map → block.tk.hicstraw-OCZXKJOV.js.map} +0 -0
- /package/dist/{block.tk.junction-EBTVXLJH.js.map → block.tk.junction-2KI3SPXW.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-ETYLCP2O.js.map → block.tk.junction.textmatrixui-G4OHYDVZ.js.map} +0 -0
- /package/dist/{block.tk.ld-NLB6L6WQ.js.map → block.tk.ld-LM4A3V7Z.js.map} +0 -0
- /package/dist/{block.tk.menu-PJLCOXVJ.js.map → block.tk.menu-GL6W3MKK.js.map} +0 -0
- /package/dist/{block.tk.pgv-JOIQVWL2.js.map → block.tk.pgv-T3YW5EGQ.js.map} +0 -0
- /package/dist/{brainRegions-LGQGRWG7.js.map → brainRegions-EVHXPPL5.js.map} +0 -0
- /package/dist/{bubbleHeatmap-CFTZ5RXH.js.map → bubbleHeatmap-WZX7MLQF.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-DXPLFT5U.js.map → cellTypeBubbleHeatmap-3XY3U7EO.js.map} +0 -0
- /package/dist/{chunk-YD6UGDFI.js.map → chunk-2XOBD4ZZ.js.map} +0 -0
- /package/dist/{chunk-OVPEMVXT.js.map → chunk-6BG5G6SC.js.map} +0 -0
- /package/dist/{chunk-HJSGHFJ6.js.map → chunk-6EXPDXXV.js.map} +0 -0
- /package/dist/{chunk-HS6BTSFX.js.map → chunk-6KCG2NFA.js.map} +0 -0
- /package/dist/{chunk-JAXN3Q3K.js.map → chunk-6KIZ3Q5X.js.map} +0 -0
- /package/dist/{chunk-KIRZXPMB.js.map → chunk-6MDL3FYD.js.map} +0 -0
- /package/dist/{chunk-M4XXKTH2.js.map → chunk-7CJKL3LK.js.map} +0 -0
- /package/dist/{chunk-QLEVONLD.js.map → chunk-7T6G6BZF.js.map} +0 -0
- /package/dist/{chunk-NLR7JIMM.js.map → chunk-7WL4LROG.js.map} +0 -0
- /package/dist/{chunk-37HTZ6IG.js.map → chunk-7WWTWWB7.js.map} +0 -0
- /package/dist/{chunk-ZWCVRVV4.js.map → chunk-AEHBMP7F.js.map} +0 -0
- /package/dist/{chunk-NBX6TT5C.js.map → chunk-B2XYBFGT.js.map} +0 -0
- /package/dist/{chunk-GT6WJUJY.js.map → chunk-BH55L7RJ.js.map} +0 -0
- /package/dist/{chunk-ZEYEIUEZ.js.map → chunk-BWE6BZK3.js.map} +0 -0
- /package/dist/{chunk-OXWLQQXL.js.map → chunk-BXM6PRTG.js.map} +0 -0
- /package/dist/{chunk-54KC7DAB.js.map → chunk-CCYVGZGI.js.map} +0 -0
- /package/dist/{chunk-NSRGYBDM.js.map → chunk-DRKC4J62.js.map} +0 -0
- /package/dist/{chunk-F3EYPES3.js.map → chunk-DX5WQOJU.js.map} +0 -0
- /package/dist/{chunk-LDWMVZYF.js.map → chunk-E6FOW4UK.js.map} +0 -0
- /package/dist/{chunk-N7TD7N7D.js.map → chunk-ESXQDVDP.js.map} +0 -0
- /package/dist/{chunk-EPWGUWQP.js.map → chunk-FIN6XVVG.js.map} +0 -0
- /package/dist/{chunk-NVS7KYYI.js.map → chunk-GH5EQCLQ.js.map} +0 -0
- /package/dist/{chunk-WGXC6IEF.js.map → chunk-GIBTGABW.js.map} +0 -0
- /package/dist/{chunk-N2CXLMNX.js.map → chunk-GJ6JKPEY.js.map} +0 -0
- /package/dist/{chunk-VYEU6Y35.js.map → chunk-GKB4YPSV.js.map} +0 -0
- /package/dist/{chunk-X63NSV33.js.map → chunk-IGJOH5LV.js.map} +0 -0
- /package/dist/{chunk-QGGSYEVJ.js.map → chunk-IUT72AWA.js.map} +0 -0
- /package/dist/{chunk-WPDM57B5.js.map → chunk-IYCSCSRS.js.map} +0 -0
- /package/dist/{chunk-5DBW3WLK.js.map → chunk-J2O74K2I.js.map} +0 -0
- /package/dist/{chunk-ME7OF3CS.js.map → chunk-JO5SX7RA.js.map} +0 -0
- /package/dist/{chunk-LB7NENEB.js.map → chunk-JV5AGMUC.js.map} +0 -0
- /package/dist/{chunk-2SQEVMAL.js.map → chunk-KUHCBPKU.js.map} +0 -0
- /package/dist/{chunk-RUHLDUOT.js.map → chunk-LWOWC4PF.js.map} +0 -0
- /package/dist/{chunk-FTLCINDC.js.map → chunk-M3OUBH5W.js.map} +0 -0
- /package/dist/{chunk-WS7WKS2B.js.map → chunk-MZ6UOWXO.js.map} +0 -0
- /package/dist/{chunk-C5TU4AYP.js.map → chunk-P7EXGD5F.js.map} +0 -0
- /package/dist/{chunk-2POQWEK6.js.map → chunk-QJQUSRGP.js.map} +0 -0
- /package/dist/{chunk-SWO6DZTG.js.map → chunk-RPKZLEY7.js.map} +0 -0
- /package/dist/{chunk-SDVE5ECI.js.map → chunk-S4XD4GGN.js.map} +0 -0
- /package/dist/{chunk-XXNRSSBR.js.map → chunk-SKS6VDD4.js.map} +0 -0
- /package/dist/{chunk-GWCK5QGV.js.map → chunk-SPZQIZLJ.js.map} +0 -0
- /package/dist/{chunk-RV34WFGZ.js.map → chunk-SR35T6VI.js.map} +0 -0
- /package/dist/{chunk-YY5WQQ3J.js.map → chunk-TEMNQTG3.js.map} +0 -0
- /package/dist/{chunk-IB5TKNG5.js.map → chunk-UG6RDT65.js.map} +0 -0
- /package/dist/{chunk-7R7P6VMT.js.map → chunk-UTOWZWZ5.js.map} +0 -0
- /package/dist/{chunk-ZLYTDHQP.js.map → chunk-V26BRUAV.js.map} +0 -0
- /package/dist/{chunk-RFW5BRIZ.js.map → chunk-VRINIB6B.js.map} +0 -0
- /package/dist/{chunk-VVO3R5JV.js.map → chunk-VVJMPICY.js.map} +0 -0
- /package/dist/{chunk-2DQIQYY3.js.map → chunk-VZKDGKCP.js.map} +0 -0
- /package/dist/{chunk-DBQA6QIJ.js.map → chunk-WCAWZJ6M.js.map} +0 -0
- /package/dist/{chunk-IIMTOPH3.js.map → chunk-XD2JMWMR.js.map} +0 -0
- /package/dist/{chunk-RNWHB5DI.js.map → chunk-XERHX42E.js.map} +0 -0
- /package/dist/{chunk-K6PYTAXW.js.map → chunk-XZXGNMNK.js.map} +0 -0
- /package/dist/{chunk-TDM3645O.js.map → chunk-Y34GYPF6.js.map} +0 -0
- /package/dist/{chunk-2BQ572SL.js.map → chunk-YO5DWWBU.js.map} +0 -0
- /package/dist/{chunk-Z4SM3FBK.js.map → chunk-Z4HZONN6.js.map} +0 -0
- /package/dist/{cohort-FZNMFWOX.js.map → cohort-ZLQA2KPW.js.map} +0 -0
- /package/dist/{condition-AJJLFCBQ.js.map → condition-SFZAHMKK.js.map} +0 -0
- /package/dist/{controls.config-CVP75WFA.js.map → controls-US3ID2ZR.js.map} +0 -0
- /package/dist/{dnaMethylation-B4SWZI4O.js.map → controls.config-Y7NGPB5K.js.map} +0 -0
- /package/dist/{correlation-UFJFQHQ3.js.map → correlation-JD4FMZVF.js.map} +0 -0
- /package/dist/{customdata.inputui-HOVA4A6O.js.map → customdata.inputui-YUHO2ZSR.js.map} +0 -0
- /package/dist/{dataDownload-VTUG4IOK.js.map → dataDownload-4YQHUJQX.js.map} +0 -0
- /package/dist/{databrowser.ui-O5S4Y4EK.js.map → databrowser.ui-4YE24U4B.js.map} +0 -0
- /package/dist/{dictionary-L2UNNNP7.js.map → dictionary-LFOSXJGH.js.map} +0 -0
- /package/dist/{dofetch-F5XSHQIS.js.map → dnaMethylation-2627GIZW.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-ANJAMNYJ.js.map → dnaMethylation.integration.spec-HSZKXED3.js.map} +0 -0
- /package/dist/{geneExpression-XYVYJJA5.js.map → dofetch-7O5UTSGI.js.map} +0 -0
- /package/dist/{e2pca-66ARIMKL.js.map → e2pca-XL7F5BK3.js.map} +0 -0
- /package/dist/{ep-OFGJYVUY.js.map → ep-35KADAYG.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-22RXQTTP.js.map → expclust.gdc.spec-TFJEXEAA.js.map} +0 -0
- /package/dist/{facet-GVZQ3RPN.js.map → facet-AWDU4CCU.js.map} +0 -0
- /package/dist/{gb-HEPGVYEK.js.map → gb-UIBSH7KV.js.map} +0 -0
- /package/dist/{geneExpClustering-3NU2U422.js.map → geneExpClustering-VYZ5VDPL.js.map} +0 -0
- /package/dist/{geneVariant-232EYUFJ.js.map → geneExpression-CNBSE3KW.js.map} +0 -0
- /package/dist/{geneExpression-FXQ4L2J2.js.map → geneExpression-ECXW22H6.js.map} +0 -0
- /package/dist/{geneORA-5M2JSDMF.js.map → geneORA-BQZ4XYJH.js.map} +0 -0
- /package/dist/{geneRanking-TP3R3CS3.js.map → geneRanking-GXRSXHIN.js.map} +0 -0
- /package/dist/{hierCluster-JU5JPLM7.js.map → geneVariant-Y7GASAY6.js.map} +0 -0
- /package/dist/{geneVariant-BHXTPUDC.js.map → geneVariant-ZVOUFF27.js.map} +0 -0
- /package/dist/{genefusion.ui-ABRCUQFC.js.map → genefusion.ui-CEMLY7HG.js.map} +0 -0
- /package/dist/{geneset-N42FIVA6.js.map → geneset-HMADFO7Z.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-5HKQKLRU.js.map → genomeBrowser.spec-3U6KE3MK.js.map} +0 -0
- /package/dist/{grin2-H2KJYLP6.js.map → grin2-AJAXI4O4.js.map} +0 -0
- /package/dist/{grin2-NGMTEMXF.js.map → grin2-CFAOAHY3.js.map} +0 -0
- /package/dist/{hierCluster-LSSH275H.js.map → hierCluster-JUJ7C7TQ.js.map} +0 -0
- /package/dist/{hierCluster.config-ILOR7GBB.js.map → hierCluster-N6B4L6FW.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-TLEIVTFK.js.map → hierCluster.config-RSSBKO6G.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-CNR5OJOH.js.map → hierCluster.integration.spec-YC6B3ID2.js.map} +0 -0
- /package/dist/{hierCluster.renderers-P7JNIT3N.js.map → hierCluster.interactivity-PRIWN65K.js.map} +0 -0
- /package/dist/{importPlot-OHXSXNZN.js.map → hierCluster.renderers-3RHXOHZ5.js.map} +0 -0
- /package/dist/{imagePlot-BF67SXQR.js.map → imagePlot-DSG4WJOG.js.map} +0 -0
- /package/dist/{isoformExpression-4VKHE4HA.js.map → importPlot-QSWJBDWH.js.map} +0 -0
- /package/dist/{junction-VUHORV43.js.map → isoformExpression-XWLMWXEK.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-4TVSIFG4.js.map → isoformExpression.unit.spec-T7VN2WPK.js.map} +0 -0
- /package/dist/{launch.adhoc-UDYMFZTQ.js.map → junction-AUXJROOE.js.map} +0 -0
- /package/dist/{junction.unit.spec-KKVLYT7Q.js.map → junction.unit.spec-ODVQMDI5.js.map} +0 -0
- /package/dist/{matrix-CI76EDHU.js.map → launch.adhoc-TNONPG6R.js.map} +0 -0
- /package/dist/{leftlabel.sample-R5FFBWG3.js.map → leftlabel.sample-5VFAMSH5.js.map} +0 -0
- /package/dist/{lollipop-3IX6ZYUN.js.map → lollipop-NEDFCNJJ.js.map} +0 -0
- /package/dist/{maf-42UFYSL4.js.map → maf-2GO7PDOL.js.map} +0 -0
- /package/dist/{maftimeline-M5WYEN62.js.map → maftimeline-UMVQGIXA.js.map} +0 -0
- /package/dist/{matrix-WJZKA6VR.js.map → matrix-74JSSVR5.js.map} +0 -0
- /package/dist/{matrix.cells-ZFKVIPDC.js.map → matrix-YARPFYCU.js.map} +0 -0
- /package/dist/{matrix.config-24TFHBEM.js.map → matrix.cells-WYCIMZRW.js.map} +0 -0
- /package/dist/{matrix.data-NCGZPNWR.js.map → matrix.config-5SNEP3B4.js.map} +0 -0
- /package/dist/{matrix.groups-XQJTGM6M.js.map → matrix.data-3H4GFMQK.js.map} +0 -0
- /package/dist/{matrix.interactivity-ZOOTPNSW.js.map → matrix.groups-FGLRK6IT.js.map} +0 -0
- /package/dist/{matrix.integration.spec-OGXZUDE6.js.map → matrix.integration.spec-4DQIRQQO.js.map} +0 -0
- /package/dist/{matrix.layout-5J2YENK3.js.map → matrix.interactivity-GSV45F2N.js.map} +0 -0
- /package/dist/{matrix.legend-U36VCS46.js.map → matrix.layout-BMH4V36B.js.map} +0 -0
- /package/dist/{matrix.renderers-4KFE7ZVR.js.map → matrix.legend-5OVHDE6Q.js.map} +0 -0
- /package/dist/{matrix.serieses-AW7XBXLJ.js.map → matrix.renderers-DENF4NZ6.js.map} +0 -0
- /package/dist/{matrix.sort-7PMECLOE.js.map → matrix.serieses-D7XPW5L4.js.map} +0 -0
- /package/dist/{plot.app-YIQOY2Z7.js.map → matrix.sort-XQEOXSEG.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-GIA2YOTQ.js.map → matrix.sort.unit.spec-HGII2SCC.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-OPGKZZL6.js.map → matrix.sorterUi.unit.spec-TNRATMUJ.js.map} +0 -0
- /package/dist/{matrix.unit.spec-7UIVVR4T.js.map → matrix.unit.spec-LBMDCANX.js.map} +0 -0
- /package/dist/{mavb-MSYUMT6W.js.map → mavb-UQFSJN4W.js.map} +0 -0
- /package/dist/{mds.fimo-OYEAQP37.js.map → mds.fimo-TXHCH6LW.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-EXISSRQQ.js.map → mds.samplescatterplot-G6IJO3I7.js.map} +0 -0
- /package/dist/{mds.survivalplot-SZST6BLN.js.map → mds.survivalplot-XFB2EL23.js.map} +0 -0
- /package/dist/{multivalue-YDE7L75Y.js.map → multivalue-GLE6G3ZO.js.map} +0 -0
- /package/dist/{numericDictTermCluster-5AKP6ICC.js.map → numericDictTermCluster-YTAMQDWZ.js.map} +0 -0
- /package/dist/{oncomatrix-2OEIYWR6.js.map → oncomatrix-P6QVGFAR.js.map} +0 -0
- /package/dist/{oncomatrix.spec-CXQW4JWU.js.map → oncomatrix.spec-O6U52E22.js.map} +0 -0
- /package/dist/{plot.2dvaf-LN7A3NNC.js.map → plot.2dvaf-VZL4SH6G.js.map} +0 -0
- /package/dist/{profilePlot-OJLLW44P.js.map → plot.app-VYMIF4VU.js.map} +0 -0
- /package/dist/{plot.barplot-HF2J25XP.js.map → plot.barplot-I6S266DG.js.map} +0 -0
- /package/dist/{plot.boxplot-YJH4L27U.js.map → plot.boxplot-3CHI4AA2.js.map} +0 -0
- /package/dist/{plot.disco-BN5RNZ6Q.js.map → plot.disco-NCTBMD2W.js.map} +0 -0
- /package/dist/{plot.ssgq-N2HTOIY3.js.map → plot.ssgq-CL3TGZ55.js.map} +0 -0
- /package/dist/{plot.vaf2cov-6AOHRUQ2.js.map → plot.vaf2cov-5RG3OD6G.js.map} +0 -0
- /package/dist/{polar2-TC5OEJRE.js.map → polar2-ABI2UJNC.js.map} +0 -0
- /package/dist/{profileForms-5WV2TSBB.js.map → profileForms-Z4Y55OQY.js.map} +0 -0
- /package/dist/{pseudobulk-ADHAYVSQ.js.map → profilePlot-LMDZVOJK.js.map} +0 -0
- /package/dist/{proteinView-CGNAJN4S.js.map → proteinView-UYMM76WH.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-XXQGGVCF.js.map → proteomeCohortCompare-5GFBARC5.js.map} +0 -0
- /package/dist/{qualitative-JXEI3IYC.js.map → pseudobulk-Y7HWDLIV.js.map} +0 -0
- /package/dist/{render-J7WOYBOL.js.map → qualitative-H72GEWTZ.js.map} +0 -0
- /package/dist/{radar2-BWTKSTT3.js.map → radar2-OXUS5DLT.js.map} +0 -0
- /package/dist/{radarFacility2-WIRSKTDG.js.map → radarFacility2-VOUNCM6A.js.map} +0 -0
- /package/dist/{sampleView-BV6BQGGQ.js.map → render-KDLTAQVA.js.map} +0 -0
- /package/dist/{report-DRPCXX2B.js.map → report-PBRD2KBN.js.map} +0 -0
- /package/dist/{singleCellCellType-Z7OXK7PI.js.map → sampleView-7HWFZCHE.js.map} +0 -0
- /package/dist/{samplelst-ZD63EYO7.js.map → samplelst-3ZWV4XZQ.js.map} +0 -0
- /package/dist/{samplematrix-ZZ3DVELU.js.map → samplematrix-YRJUNYQ6.js.map} +0 -0
- /package/dist/{sc-MUI43YTB.js.map → sc-N4YM3GZI.js.map} +0 -0
- /package/dist/{scatter-7B44HTKN.js.map → scatter-KBY6VF76.js.map} +0 -0
- /package/dist/{scatter-UEDVIE4Y.js.map → scatter-TBGEXELG.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-WGOKGVZ5.js.map → selectGenomeWithTklst-25WQQ42Y.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-LYZAIJ2Z.js.map → singleCellCellType-35TDG2YM.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-IIOVCCJQ.js.map → singleCellCellType.unit.spec-G5AVNAUK.js.map} +0 -0
- /package/dist/{singleCellPlot-TXPYQLSH.js.map → singleCellGeneExpression-7AHJYFWJ.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-67AAWZTG.js.map → singleCellGeneExpression.unit.spec-LGZMOVTB.js.map} +0 -0
- /package/dist/{snp-3U2G3Z57.js.map → singleCellPlot-AU5K4M7J.js.map} +0 -0
- /package/dist/{singlecell-7TBALI2S.js.map → singlecell-HNTYJLJ4.js.map} +0 -0
- /package/dist/{singlecell-22OG6HNI.js.map → singlecell-J4FIZPZF.js.map} +0 -0
- /package/dist/{ssGSEA-52LWBQJP.js.map → snp-OXDVSFGB.js.map} +0 -0
- /package/dist/{snp.unit.spec-BMBBUBYD.js.map → snp.unit.spec-B7LCCGWA.js.map} +0 -0
- /package/dist/{snplocus-SSVZDIQV.js.map → snplocus-4VWXVQGS.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-FK7CN4AU.js.map → spliceevent.a53ss.diagram-YS32IFVI.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-EFLGV3O4.js.map → spliceevent.exonskip.diagram-PHFR53DH.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-2DYO7CCZ.js.map → spliceevent.noeventdiagram-FFHMDEBQ.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-5FOQ7CHI.js.map → ssGSEA-OYEIDW4M.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-3JV6WHUQ.js.map → ssGSEA.unit.spec-SY5XFF45.js.map} +0 -0
- /package/dist/{stattable-RLMYQ4G6.js.map → stattable-JCH2WPS6.js.map} +0 -0
- /package/dist/{studyCatalog-DKB3U7EV.js.map → studyCatalog-FDB7D26M.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-QPRYAKC2.js.map → summarizeCnvGeneexp-KNW23YAI.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-RWVQXEKB.js.map → summarizeGeneexpSurvival-H57GGCXL.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-DW5F6NUJ.js.map → summarizeMutationCnv-RBBDE27N.js.map} +0 -0
- /package/dist/{summary-TYC6QNT4.js.map → summarizeMutationDiagnosis-R6YWQ4LQ.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-4UKB4EVO.js.map → summarizeMutationSurvival-Q6WKBNPD.js.map} +0 -0
- /package/dist/{termCollection-SB6MWLFK.js.map → summary-AL3GEK3G.js.map} +0 -0
- /package/dist/{summary.integration.spec-5GLJJZNM.js.map → summary.integration.spec-IFGDIEMW.js.map} +0 -0
- /package/dist/{summaryInput-4IJGKW4P.js.map → summaryInput-TYIKTBO3.js.map} +0 -0
- /package/dist/{sunburst-G7DGATWP.js.map → sunburst-4PA3CO44.js.map} +0 -0
- /package/dist/{survival-MKNABJPU.js.map → survival-GT4CSHX2.js.map} +0 -0
- /package/dist/{survival-IHM6A7LL.js.map → survival-HXJCMNCG.js.map} +0 -0
- /package/dist/{survival.integration.spec-THOKI3DL.js.map → survival.integration.spec-C7OJC4AG.js.map} +0 -0
- /package/dist/{svgraph-VB7JWWR5.js.map → svgraph-MZCOBO4J.js.map} +0 -0
- /package/dist/{svmr-VLQIO2U5.js.map → svmr-FQPAAQHB.js.map} +0 -0
- /package/dist/{table-EAXMDWOY.js.map → table-FKLXVILD.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-2XZSTDCQ.js.map → termCollection-QDGR6J36.js.map} +0 -0
- /package/dist/{termCollection-5LG7ICQY.js.map → termCollection-Y7CIC6GQ.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-H5ITGTR3.js.map → termCollection.unit.spec-PQMFOWLF.js.map} +0 -0
- /package/dist/{tk-VZI5HNSX.js.map → termCollectionFractionSelection-2O32HROA.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-BIO7V6KA.js.map → termCollectionFractionSelection.unit.spec-WXGCO2RF.js.map} +0 -0
- /package/dist/{tvs.dt-6YHFJPER.js.map → tk-IBYM4FZC.js.map} +0 -0
- /package/dist/{tk-TRWYZLQ2.js.map → tk-QJNN6WK2.js.map} +0 -0
- /package/dist/{tp.ui-J5SNNAT3.js.map → tp.ui-RI7S54LI.js.map} +0 -0
- /package/dist/{vocabulary-6EADTHP3.js.map → tvs.dt-7CIYMLQF.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-WTIE63GM.js.map → tvs.dtcnv.categorical-D3W6R6BM.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-OCMKGTF5.js.map → tvs.dtcnv.continuous-4WS2TN3K.js.map} +0 -0
- /package/dist/{tvs.dtfusion-CA23UNM3.js.map → tvs.dtfusion-NUUFIGG4.js.map} +0 -0
- /package/dist/{tvs.dtitd-VSYMR3OD.js.map → tvs.dtitd-UCSEWRNJ.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-YBNO3CYF.js.map → tvs.dtsnvindel-J4S7KU3Y.js.map} +0 -0
- /package/dist/{tvs.dtsv-S743GBB5.js.map → tvs.dtsv-4OPYIWB6.js.map} +0 -0
- /package/dist/{tvs.samplelst-XAJO4EM6.js.map → tvs.samplelst-RUZYZ2FF.js.map} +0 -0
- /package/dist/{tvs.termCollection-QOVJGAUC.js.map → tvs.termCollection-D5X2HNWO.js.map} +0 -0
|
@@ -0,0 +1,1416 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appInit
|
|
3
|
+
} from "./chunk-6MDL3FYD.js";
|
|
4
|
+
import "./chunk-AEHBMP7F.js";
|
|
5
|
+
import {
|
|
6
|
+
getDefaultViolinSettings
|
|
7
|
+
} from "./chunk-BMQDU7KN.js";
|
|
8
|
+
import "./chunk-X46YA4CB.js";
|
|
9
|
+
import "./chunk-SKMFMGCD.js";
|
|
10
|
+
import {
|
|
11
|
+
mayRunSnplstTask
|
|
12
|
+
} from "./chunk-7OYOC7XY.js";
|
|
13
|
+
import {
|
|
14
|
+
RegressionResults
|
|
15
|
+
} from "./chunk-DX5WQOJU.js";
|
|
16
|
+
import {
|
|
17
|
+
PlotBase,
|
|
18
|
+
fillTermWrapper,
|
|
19
|
+
get$id,
|
|
20
|
+
getActiveCohortStr,
|
|
21
|
+
getCombinedTermFilter,
|
|
22
|
+
make_one_checkbox,
|
|
23
|
+
sayerror,
|
|
24
|
+
termsettingInit
|
|
25
|
+
} from "./chunk-NQDF3U2C.js";
|
|
26
|
+
import "./chunk-HJ6L54YS.js";
|
|
27
|
+
import "./chunk-KV4W2ACA.js";
|
|
28
|
+
import "./chunk-CCYVGZGI.js";
|
|
29
|
+
import {
|
|
30
|
+
Menu
|
|
31
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
32
|
+
import "./chunk-N7DVQTPC.js";
|
|
33
|
+
import "./chunk-EEB5VE2A.js";
|
|
34
|
+
import "./chunk-6RRZRISL.js";
|
|
35
|
+
import "./chunk-2KM4PRQM.js";
|
|
36
|
+
import {
|
|
37
|
+
get_bin_label
|
|
38
|
+
} from "./chunk-GRVO7RW4.js";
|
|
39
|
+
import "./chunk-7CJKL3LK.js";
|
|
40
|
+
import {
|
|
41
|
+
dictionaryNumericTypes,
|
|
42
|
+
isDictionaryType,
|
|
43
|
+
isNumericTw,
|
|
44
|
+
numericTypes
|
|
45
|
+
} from "./chunk-HZ3TCGBK.js";
|
|
46
|
+
import "./chunk-IZUYLFOX.js";
|
|
47
|
+
import {
|
|
48
|
+
copyMerge,
|
|
49
|
+
getCompInit
|
|
50
|
+
} from "./chunk-WINIL2KN.js";
|
|
51
|
+
import "./chunk-PF4DSFDR.js";
|
|
52
|
+
import "./chunk-7X6NF7NI.js";
|
|
53
|
+
import {
|
|
54
|
+
getValueConversionFactor
|
|
55
|
+
} from "./chunk-W5J3LTYS.js";
|
|
56
|
+
import "./chunk-Z2ZITHT4.js";
|
|
57
|
+
import "./chunk-4OLM3KSB.js";
|
|
58
|
+
import "./chunk-FXQXCOII.js";
|
|
59
|
+
import {
|
|
60
|
+
roundValue
|
|
61
|
+
} from "./chunk-TLT4YIG3.js";
|
|
62
|
+
import "./chunk-5R63Q5KH.js";
|
|
63
|
+
import {
|
|
64
|
+
select_default
|
|
65
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
66
|
+
import "./chunk-Q5RDQNIT.js";
|
|
67
|
+
import "./chunk-DQC5FFGV.js";
|
|
68
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
69
|
+
|
|
70
|
+
// plots/regression/regression.inputs.values.table.ts
|
|
71
|
+
var row_hover_bgcolor = "#fff6dc";
|
|
72
|
+
var graytextcolor = "#555";
|
|
73
|
+
var InputValuesTable = class {
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
this.opts = opts;
|
|
76
|
+
this.input = opts.input;
|
|
77
|
+
setRenderers(this);
|
|
78
|
+
this.setDOM(opts.holder);
|
|
79
|
+
}
|
|
80
|
+
main() {
|
|
81
|
+
try {
|
|
82
|
+
const term = this.input.term;
|
|
83
|
+
if (!term || !this.input.termStatus) {
|
|
84
|
+
this.dom.holder.style("display", "none");
|
|
85
|
+
this.dom.loading_div.style("display", "none");
|
|
86
|
+
return;
|
|
87
|
+
} else if (term) {
|
|
88
|
+
this.dom.holder.style("display", "block");
|
|
89
|
+
this.dom.loading_div.style("display", "block");
|
|
90
|
+
this.updateValueCount();
|
|
91
|
+
this.dom.loading_div.style("display", "none");
|
|
92
|
+
this.render();
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
} catch (e) {
|
|
96
|
+
this.dom.loading_div.style("display", "none");
|
|
97
|
+
throw e;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
updateValueCount() {
|
|
101
|
+
const i = this.input;
|
|
102
|
+
try {
|
|
103
|
+
if (i.pill && i.pill.validateQ) {
|
|
104
|
+
i.pill.validateQ({
|
|
105
|
+
term: i.term.term,
|
|
106
|
+
q: i.term.q,
|
|
107
|
+
sampleCounts: i.termStatus.sampleCounts
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
} catch (e) {
|
|
111
|
+
i.term.error = e;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
function setRenderers(self) {
|
|
116
|
+
self.setDOM = (holder) => {
|
|
117
|
+
self.dom = {
|
|
118
|
+
holder: holder.style("margin", "10px").style("font-size", ".8em").style("text-align", "left").style("color", graytextcolor),
|
|
119
|
+
loading_div: holder.append("div").text("Loading..").style("display", "none"),
|
|
120
|
+
top_info_div: holder.append("div").style("padding-bottom", "5px"),
|
|
121
|
+
violin_div: holder.append("div").style("color", "black").style("padding-top", "5px"),
|
|
122
|
+
table_div: holder.append("table").style("margin", "5px 0px 15px 0px").style("border-collapse", "collapse").style("color", "black"),
|
|
123
|
+
bottom_info_div: holder.append("div"),
|
|
124
|
+
excluded_div: holder.append("table").style("display", "none").style("margin", "5px 10px").style("border-collapse", "collapse")
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
self.render = async () => {
|
|
128
|
+
const input = self.input;
|
|
129
|
+
renderTopInfo(input);
|
|
130
|
+
await renderValuesTable(input);
|
|
131
|
+
renderBottomInfo(input);
|
|
132
|
+
renderExcludedValues(input);
|
|
133
|
+
};
|
|
134
|
+
function renderTopInfo(input) {
|
|
135
|
+
if (input.termStatus.topInfoStatus?.length) {
|
|
136
|
+
self.dom.top_info_div.style("display", "block").html(input.termStatus.topInfoStatus.join("<br>"));
|
|
137
|
+
} else {
|
|
138
|
+
self.dom.top_info_div.style("display", "none");
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
async function renderValuesTable(input) {
|
|
142
|
+
if (input.term.q.mode == "continuous" || input.term.q.mode == "spline") {
|
|
143
|
+
self.dom.violin_div.style("display", "block");
|
|
144
|
+
self.dom.table_div.style("display", "none");
|
|
145
|
+
if (self.plotAppApi) {
|
|
146
|
+
const action = {
|
|
147
|
+
type: "app_refresh",
|
|
148
|
+
state: { termfilter: structuredClone(self.input.parent.state?.termfilter) },
|
|
149
|
+
subactions: [
|
|
150
|
+
{
|
|
151
|
+
type: "plot_edit",
|
|
152
|
+
id: self.violinApi.id,
|
|
153
|
+
config: {
|
|
154
|
+
term: input.term
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
};
|
|
159
|
+
self.plotAppApi.dispatch(action);
|
|
160
|
+
} else {
|
|
161
|
+
const opts = {
|
|
162
|
+
holder: self.dom.violin_div,
|
|
163
|
+
vocabApi: self.input.parent.app.vocabApi,
|
|
164
|
+
state: {
|
|
165
|
+
vocab: {
|
|
166
|
+
genome: self.input.parent.app.vocabApi.genome,
|
|
167
|
+
dslabel: self.input.parent.app.vocabApi.dslabel
|
|
168
|
+
},
|
|
169
|
+
termfilter: structuredClone(self.input.parent.state?.termfilter),
|
|
170
|
+
plots: [
|
|
171
|
+
{
|
|
172
|
+
chartType: "violin",
|
|
173
|
+
term: input.term,
|
|
174
|
+
settings: {
|
|
175
|
+
violin: getDefaultViolinSettings(null, {
|
|
176
|
+
svgw: 350,
|
|
177
|
+
axisHeight: 25,
|
|
178
|
+
rightMargin: 10,
|
|
179
|
+
datasymbol: "rug",
|
|
180
|
+
radius: 8,
|
|
181
|
+
plotThickness: 80
|
|
182
|
+
})
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
// global options for plotAppApi
|
|
188
|
+
// opts.violin will apply to all violin plots within the plotApp
|
|
189
|
+
// rx will pass options by component type, which are not tracked in state
|
|
190
|
+
// examples are callbacks, event listeners, etc
|
|
191
|
+
violin: {
|
|
192
|
+
mode: "minimal"
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
self.plotAppApi = await appInit(opts);
|
|
196
|
+
const plotId = self.plotAppApi.getState().plots[0].id;
|
|
197
|
+
self.violinApi = self.plotAppApi.getComponents(`plots.${plotId}`);
|
|
198
|
+
}
|
|
199
|
+
} else {
|
|
200
|
+
self.dom.violin_div.style("display", "none");
|
|
201
|
+
const data = input.termStatus.sampleCounts;
|
|
202
|
+
if (!data || !data.length) {
|
|
203
|
+
self.dom.table_div.style("display", "none");
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
self.dom.table_div.style("display", "block").attr("data-testid", "sjpp-regression-barchart");
|
|
207
|
+
const l = self.input.orderedLabels;
|
|
208
|
+
const sortFxn = l && l.length ? (a, b) => l.indexOf(a.label) - l.indexOf(b.label) : (a, b) => b.samplecount - a.samplecount;
|
|
209
|
+
const tr_data = data.sort(sortFxn);
|
|
210
|
+
const maxCount = Math.max(...tr_data.map((v) => v.samplecount), 0);
|
|
211
|
+
tr_data.forEach((v) => v.bar_width_frac = Number((1 - (maxCount - v.samplecount) / maxCount).toFixed(4)));
|
|
212
|
+
self.dom.table_div.selectAll("tr").remove();
|
|
213
|
+
const trs = self.dom.table_div.selectAll("tr").data(tr_data, (b) => b.key);
|
|
214
|
+
trs.enter().append("tr").each(trEnter);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
function renderBottomInfo(input) {
|
|
218
|
+
if (input.termStatus.bottomSummaryStatus) {
|
|
219
|
+
self.dom.bottom_info_div.style("display", "block").html(input.termStatus.bottomSummaryStatus);
|
|
220
|
+
} else {
|
|
221
|
+
self.dom.bottom_info_div.style("display", "none");
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
function renderExcludedValues(input) {
|
|
225
|
+
const data = input.termStatus.excludeCounts;
|
|
226
|
+
if (!data || !data.length) {
|
|
227
|
+
self.dom.excluded_div.style("display", "none");
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
self.dom.excluded_div.style("display", "block").selectAll("tr").remove();
|
|
231
|
+
const trs = self.dom.excluded_div.selectAll("tr").data(data, (b) => b.key);
|
|
232
|
+
trs.enter().append("tr").each(trEnter);
|
|
233
|
+
self.dom.excluded_div.selectAll("td").style("color", graytextcolor);
|
|
234
|
+
}
|
|
235
|
+
function trEnter(item) {
|
|
236
|
+
const tr = select_default(this);
|
|
237
|
+
const input = this.parentNode.__data__;
|
|
238
|
+
const maxBarWidth = 150;
|
|
239
|
+
tr.style("text-align", "left").style("cursor", input.termStatus.allowToSelectRefGrp ? "pointer" : "default");
|
|
240
|
+
const tdSpacing = "1px 10px 1px 0px";
|
|
241
|
+
tr.append("td").style("padding", tdSpacing).style("text-align", "left").style("color", "black").text(item.samplecount !== void 0 ? "n=" + item.samplecount : "");
|
|
242
|
+
tr.append("td").style("padding", tdSpacing).style("text-align", "left").style("color", "black").text(item.label);
|
|
243
|
+
const bar_td = tr.append("td").style("padding", tdSpacing);
|
|
244
|
+
const barWidth = maxBarWidth * item.bar_width_frac;
|
|
245
|
+
bar_td.append("div").style("margin", tdSpacing).style("width", barWidth + "px").style("height", "15px").style("background-color", "#ddd");
|
|
246
|
+
addTrBehavior({ input, item, tr, rendered: false });
|
|
247
|
+
}
|
|
248
|
+
function addTrBehavior({ input, item, tr, rendered }) {
|
|
249
|
+
if (!item.bar_width_frac) return;
|
|
250
|
+
const t = input.term;
|
|
251
|
+
const hover_flag = input.termStatus.allowToSelectRefGrp;
|
|
252
|
+
let ref_text;
|
|
253
|
+
if (rendered) {
|
|
254
|
+
tr.style("background", "white");
|
|
255
|
+
ref_text = select_default(tr.node().lastChild).select("div").style("display", item.key === t.refGrp && hover_flag ? "inline-block" : "none").style("border", item.key === t.refGrp && hover_flag ? "1px solid #bbb" : "");
|
|
256
|
+
} else if (input.term.q.mode != "cutoff") {
|
|
257
|
+
const reference_td = tr.append("td").style("padding", "1px 5px").style("text-align", "left");
|
|
258
|
+
ref_text = reference_td.append("div").style("display", item.key === t.refGrp && hover_flag ? "inline-block" : "none").style("padding", "2px 10px").style("border", item.key === t.refGrp && hover_flag ? "1px solid #bbb" : "").style("border-radius", "10px").style("color", graytextcolor).style("font-size", ".7em").text("REFERENCE");
|
|
259
|
+
if (hover_flag) {
|
|
260
|
+
tr.on("mouseover", () => {
|
|
261
|
+
if (t.refGrp !== item.key) {
|
|
262
|
+
tr.style("background", row_hover_bgcolor);
|
|
263
|
+
ref_text.style("display", "inline-block").style("border", "").text("Set as reference");
|
|
264
|
+
} else tr.style("background", "white");
|
|
265
|
+
}).on("mouseout", () => {
|
|
266
|
+
tr.style("background", "white");
|
|
267
|
+
if (t.refGrp !== item.key) ref_text.style("display", "none");
|
|
268
|
+
}).on("click", () => {
|
|
269
|
+
t.refGrp = item.key;
|
|
270
|
+
ref_text.style("border", "1px solid #bbb").text("REFERENCE");
|
|
271
|
+
self.opts.callback(t);
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// plots/regression/regression.inputs.term.ts
|
|
279
|
+
var graytextcolor2 = "#555";
|
|
280
|
+
var InputTerm = class {
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
this.opts = opts;
|
|
283
|
+
this.section = opts.section;
|
|
284
|
+
this.term = opts.term;
|
|
285
|
+
this.parent = opts.parent;
|
|
286
|
+
this.vocabApi = this.parent.parent.vocabApi;
|
|
287
|
+
}
|
|
288
|
+
async init(holder) {
|
|
289
|
+
const termRow = holder.append("div");
|
|
290
|
+
const pillDiv = termRow.append("span").style("display", "inline-block");
|
|
291
|
+
const interactionDiv = termRow.append("span").style("margin-left", "20px");
|
|
292
|
+
this.dom = {
|
|
293
|
+
holder,
|
|
294
|
+
termRow,
|
|
295
|
+
pillDiv,
|
|
296
|
+
interactionDiv,
|
|
297
|
+
err_div: holder.append("div").style("display", "none").style("padding", "5px").style("background-color", "rgba(255,100,100,0.2)"),
|
|
298
|
+
infoDiv: holder.append("div"),
|
|
299
|
+
tip: new Menu()
|
|
300
|
+
};
|
|
301
|
+
try {
|
|
302
|
+
const { app, config, state, disable_terms } = this.parent;
|
|
303
|
+
const arg = {
|
|
304
|
+
placeholder: this.section.selectPrompt,
|
|
305
|
+
placeholderIcon: this.section.placeholderIcon,
|
|
306
|
+
holder: this.dom.pillDiv,
|
|
307
|
+
vocabApi: this.vocabApi,
|
|
308
|
+
noTermPromptOptions: this.opts.noTermPromptOptions,
|
|
309
|
+
activeCohort: state.activeCohort,
|
|
310
|
+
debug: app.opts.debug,
|
|
311
|
+
menuOptions: this.getMenuOptions(),
|
|
312
|
+
usecase: { target: "regression", detail: this.section.configKey, regressionType: config.regressionType },
|
|
313
|
+
disable_terms,
|
|
314
|
+
abbrCutoff: 50,
|
|
315
|
+
genomeObj: this.parent.parent.genomeObj,
|
|
316
|
+
// required for snplocus
|
|
317
|
+
defaultQ4fillTW: get_defaultQ4fillTW(config.regressionType, this.section.configKey),
|
|
318
|
+
callback: (term) => {
|
|
319
|
+
this.parent.editConfig(this, term);
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
this.furbishTsConstructorArg(arg);
|
|
323
|
+
this.pill = await termsettingInit(arg);
|
|
324
|
+
if (this.section.configKey == "outcome") {
|
|
325
|
+
this.setQ = getQSetter4outcome(config.regressionType);
|
|
326
|
+
}
|
|
327
|
+
this.valuesTable = new InputValuesTable({
|
|
328
|
+
holder: this.dom.infoDiv,
|
|
329
|
+
input: this,
|
|
330
|
+
callback: (term) => {
|
|
331
|
+
this.parent.editConfig(this, term);
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
} catch (e) {
|
|
335
|
+
this.displayError([e]);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
furbishTsConstructorArg(arg) {
|
|
339
|
+
const type = this.parent.config.regressionType;
|
|
340
|
+
if (this.section.configKey == "outcome") {
|
|
341
|
+
if (type == "logistic") {
|
|
342
|
+
arg.numericEditMenuVersion = ["binary"];
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
if (type == "linear") {
|
|
346
|
+
arg.numericEditMenuVersion = ["continuous"];
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
if (type == "cox") {
|
|
350
|
+
return;
|
|
351
|
+
}
|
|
352
|
+
throw "unknown regressionType";
|
|
353
|
+
}
|
|
354
|
+
if (this.section.configKey == "independent") {
|
|
355
|
+
arg.numericEditMenuVersion = ["continuous", "discrete", "spline"];
|
|
356
|
+
arg.geneVariantEditMenuOnlyGrp = true;
|
|
357
|
+
return;
|
|
358
|
+
}
|
|
359
|
+
throw "unknown section.configKey: " + this.section.configKey;
|
|
360
|
+
}
|
|
361
|
+
displayError(errors) {
|
|
362
|
+
this.hasError = true;
|
|
363
|
+
this.dom.err_div.selectAll("*").remove();
|
|
364
|
+
this.dom.err_div.style("display", "block").selectAll("div").data(Array.isArray(errors) ? errors : [errors]).enter().append("div").text((e) => e);
|
|
365
|
+
this.parent.handleError();
|
|
366
|
+
console.error(errors);
|
|
367
|
+
}
|
|
368
|
+
async main() {
|
|
369
|
+
const tw = this.term;
|
|
370
|
+
if (tw) {
|
|
371
|
+
delete tw.error;
|
|
372
|
+
}
|
|
373
|
+
this.dom.err_div.style("display", "none").text("");
|
|
374
|
+
this.hasError = false;
|
|
375
|
+
const errors = [];
|
|
376
|
+
try {
|
|
377
|
+
if (tw && this.setQ) {
|
|
378
|
+
const {
|
|
379
|
+
/*app,*/
|
|
380
|
+
state
|
|
381
|
+
} = this.parent;
|
|
382
|
+
await this.setQ[tw.term.type](tw, this.vocabApi, this.parent.parent.filter, state);
|
|
383
|
+
}
|
|
384
|
+
try {
|
|
385
|
+
await this.updateTerm();
|
|
386
|
+
} catch (e2) {
|
|
387
|
+
errors.push(e2);
|
|
388
|
+
}
|
|
389
|
+
await this.pill.main(this.getPillArgs());
|
|
390
|
+
this.renderInteractionPrompt();
|
|
391
|
+
await this.valuesTable.main();
|
|
392
|
+
if (tw && !tw.$id) tw.$id = await get$id(this.vocabApi.getTwMinCopy(tw));
|
|
393
|
+
const e = tw && tw.error || this.pill.error;
|
|
394
|
+
if (e) errors.push(e);
|
|
395
|
+
if (errors.length) throw errors;
|
|
396
|
+
} catch (errors2) {
|
|
397
|
+
this.displayError(errors2);
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
async updateTerm() {
|
|
401
|
+
const tw = this.term;
|
|
402
|
+
if (!tw) return;
|
|
403
|
+
if (!tw.q) throw ".term.q missing on this input";
|
|
404
|
+
if (!tw.q.mode && isDictionaryType(tw.term.type)) {
|
|
405
|
+
if (tw.term.type == "categorical" || tw.term.type == "condition" || tw.term.type == "survival" || tw.term.type == "samplelst")
|
|
406
|
+
tw.q.mode = "discrete";
|
|
407
|
+
else tw.q.mode = "continuous";
|
|
408
|
+
}
|
|
409
|
+
const body = tw.term.type == "snplst" || tw.term.type == "snplocus" ? { cacheid: tw.q.cacheid } : {};
|
|
410
|
+
const wait = this.dom.holder.append("div").style("padding", "5px").text("Loading...");
|
|
411
|
+
let data;
|
|
412
|
+
try {
|
|
413
|
+
data = await this.vocabApi.getTwCategories(tw, this.parent.parent.filter, body);
|
|
414
|
+
if (!data) throw `no data for term.id='${tw.term.id}'`;
|
|
415
|
+
if (data.error) throw data.error;
|
|
416
|
+
} finally {
|
|
417
|
+
wait.remove();
|
|
418
|
+
}
|
|
419
|
+
mayRunSnplstTask(tw, data);
|
|
420
|
+
this.termStatus = {
|
|
421
|
+
topInfoStatus: [],
|
|
422
|
+
bottomSummaryStatus: void 0,
|
|
423
|
+
sampleCounts: void 0,
|
|
424
|
+
excludeCounts: void 0,
|
|
425
|
+
allowToSelectRefGrp: false
|
|
426
|
+
};
|
|
427
|
+
if (tw.q.numOfSampleWithAnyValidGT) {
|
|
428
|
+
const invalid_snps_count = tw.term.snps.reduce((i, j) => i + (j.invalid ? 1 : 0), 0);
|
|
429
|
+
this.termStatus.topInfoStatus.push(
|
|
430
|
+
`${tw.q.numOfSampleWithAnyValidGT} samples with valid genotypes` + (invalid_snps_count > 0 ? ` ${invalid_snps_count} invalid SNP${invalid_snps_count > 1 ? "s" : ""}.` : "")
|
|
431
|
+
);
|
|
432
|
+
}
|
|
433
|
+
if ("geneticModel" in tw.q) {
|
|
434
|
+
this.termStatus.topInfoStatus.push(
|
|
435
|
+
"Genetic model: " + (tw.q.geneticModel == 0 ? "Additive" : tw.q.geneticModel == 1 ? "Dominant" : tw.q.geneticModel == 2 ? "Recessive" : "By genotype")
|
|
436
|
+
);
|
|
437
|
+
}
|
|
438
|
+
if (tw.q.restrictAncestry) {
|
|
439
|
+
this.termStatus.topInfoStatus.push("Analyzing " + tw.q.restrictAncestry.name);
|
|
440
|
+
if (tw.q.restrictAncestry.PCcount) {
|
|
441
|
+
this.termStatus.topInfoStatus.push(
|
|
442
|
+
`Adjusting for top ${tw.q.restrictAncestry.PCcount} ancestry principal components`
|
|
443
|
+
);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
if (tw.term.reachedVariantLimit) {
|
|
447
|
+
this.termStatus.topInfoStatus.push(
|
|
448
|
+
`<span class=sja_mcdot style="background:#aaa;font-size:1em">
|
|
449
|
+
⚠ Restricted to first ${tw.term.snps.length}
|
|
450
|
+
variants of this region. </span> Try zooming in.`
|
|
451
|
+
);
|
|
452
|
+
}
|
|
453
|
+
this.orderedLabels = data.orderedLabels;
|
|
454
|
+
if (data.lst) {
|
|
455
|
+
this.summarizeSample(tw, data.lst);
|
|
456
|
+
if (isNumericTw(tw)) {
|
|
457
|
+
if (tw.q.mode != "continuous" && tw.q.mode != "spline") {
|
|
458
|
+
this.termStatus.allowToSelectRefGrp = true;
|
|
459
|
+
}
|
|
460
|
+
if (tw.q.scale && tw.q.scale != 1) this.termStatus.topInfoStatus.push(`Scale: Per ${tw.q.scale}`);
|
|
461
|
+
if (tw.q.mode == "discrete") {
|
|
462
|
+
this.termStatus.topInfoStatus.push(`Discrete variable with ${this.termStatus?.sampleCounts?.length} bins`);
|
|
463
|
+
}
|
|
464
|
+
const vc = tw.term.valueConversion;
|
|
465
|
+
const isConverted = vc && (tw.q.mode == "continuous" || tw.q.mode == "spline");
|
|
466
|
+
if (isConverted) {
|
|
467
|
+
this.termStatus.topInfoStatus.push(`Analyzed by the unit of ${vc.toUnit}, converted from ${vc.fromUnit}`);
|
|
468
|
+
}
|
|
469
|
+
if (tw.q.mode == "spline") {
|
|
470
|
+
const f = getValueConversionFactor(tw.term);
|
|
471
|
+
this.termStatus.topInfoStatus.push(
|
|
472
|
+
`Cubic spline variable with ${tw.q.knots.length} knots: ${tw.q.knots.map((x) => Number(x.value) * f).sort((a, b) => a - b).map((v) => f == 1 ? v : roundValue(v, 2)).join(", ")}${isConverted ? ` ${vc.toUnit}s` : ""}`
|
|
473
|
+
);
|
|
474
|
+
}
|
|
475
|
+
} else if (tw.term.type == "categorical" || tw.term.type == "geneVariant" || tw.term.type == "samplelst") {
|
|
476
|
+
this.termStatus.allowToSelectRefGrp = true;
|
|
477
|
+
} else if (tw.term.type == "condition") {
|
|
478
|
+
if (this.section.configKey == "outcome" && this.parent.opts.regressionType == "logistic") {
|
|
479
|
+
this.termStatus.allowToSelectRefGrp = true;
|
|
480
|
+
}
|
|
481
|
+
if (this.section.configKey == "outcome" && this.parent.opts.regressionType == "cox") {
|
|
482
|
+
if (!["age", "time"].includes(tw.q.timeScale)) throw "invalid q.timeScale";
|
|
483
|
+
const tdb = this.vocabApi.termdbConfig;
|
|
484
|
+
this.termStatus.topInfoStatus.push(`Time axis: ${tw.q.timeScale == "time" ? tdb.timeUnit : "age"}`);
|
|
485
|
+
this.termStatus.topInfoStatus.push(
|
|
486
|
+
`<span style="padding-left: 10px;">-start: ${tw.q.timeScale == "time" ? " " : "age at "}entry into the cohort (i.e., ${tdb.cohortStartTimeMsg})</span>`
|
|
487
|
+
);
|
|
488
|
+
this.termStatus.topInfoStatus.push(
|
|
489
|
+
`<span style="padding-left: 10px;">-end: ${tw.q.timeScale == "time" ? " " : "age at "}event or censoring/death</span>`
|
|
490
|
+
);
|
|
491
|
+
const grades = Object.keys(tw.term.values).map(Number);
|
|
492
|
+
const maxgrade = Math.max(...grades);
|
|
493
|
+
this.termStatus.topInfoStatus.push(
|
|
494
|
+
`<div style="padding-top: 8px;">Event: first occurrence of grade ${tw.q.breaks[0] === maxgrade ? tw.q.breaks[0] : `${tw.q.breaks[0]}-${maxgrade}</div>`}`
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
this.maySet_refGrp(tw);
|
|
499
|
+
if (this.section.configKey == "outcome") {
|
|
500
|
+
if (this.parent.config.regressionType == "logistic") {
|
|
501
|
+
tw.nonRefGrp = getLogisticOutcomeNonref(tw);
|
|
502
|
+
} else if (this.parent.config.regressionType == "cox") {
|
|
503
|
+
tw.eventLabel = getCoxOutcomeEventLabel(tw);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
summarizeSample(tw, datalst) {
|
|
509
|
+
const excluded_values = /* @__PURE__ */ new Set();
|
|
510
|
+
if (tw.term.values) {
|
|
511
|
+
for (const i in tw.term.values) {
|
|
512
|
+
if (tw.term.values[i].uncomputable) excluded_values.add(tw.term.values[i].label);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
if (tw.q.mode == "cox") {
|
|
516
|
+
const toExclude = datalst.find((x) => x.key == -1);
|
|
517
|
+
if (toExclude) excluded_values.add(toExclude.label);
|
|
518
|
+
}
|
|
519
|
+
const sampleCounts = this.termStatus.sampleCounts = datalst.filter((v) => !excluded_values.has(v.label));
|
|
520
|
+
const excludeCounts = this.termStatus.excludeCounts = datalst.filter((v) => excluded_values.has(v.label));
|
|
521
|
+
const totalCount = { included: 0, excluded: 0, total: 0 };
|
|
522
|
+
sampleCounts.forEach((v) => totalCount.included += v.samplecount);
|
|
523
|
+
excludeCounts.forEach((v) => totalCount.excluded += v.samplecount);
|
|
524
|
+
totalCount.total = totalCount.included + totalCount.excluded;
|
|
525
|
+
if (tw.term.type == "condition" && totalCount.total) {
|
|
526
|
+
totalCount.excluded = totalCount.total - totalCount.included;
|
|
527
|
+
}
|
|
528
|
+
this.termStatus.bottomSummaryStatus = `${totalCount.included} samples included` + (totalCount.excluded ? `. ${totalCount.excluded} samples excluded:` : "");
|
|
529
|
+
if (tw && tw.q.mode !== "continuous" && sampleCounts.length < 2)
|
|
530
|
+
throw `there should be two or more discrete values with samples for variable='${tw.term.name}'`;
|
|
531
|
+
}
|
|
532
|
+
maySet_refGrp(tw) {
|
|
533
|
+
if (this.section.configKey == "outcome" && this.parent.config.regressionType == "cox") {
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
if (tw.q.mode == "continuous") {
|
|
537
|
+
tw.refGrp = "NA";
|
|
538
|
+
return;
|
|
539
|
+
}
|
|
540
|
+
const sc = this.termStatus.sampleCounts;
|
|
541
|
+
if (!sc) throw new Error("termStatus.sampleCounts missing");
|
|
542
|
+
if (!("refGrp" in tw) || !sc.find((i) => i.key == tw.refGrp)) {
|
|
543
|
+
if (tw.term.type == "geneVariant") {
|
|
544
|
+
const wtGrp = getGeneVariantWildtypeGrp(tw, sc);
|
|
545
|
+
if (wtGrp) {
|
|
546
|
+
tw.refGrp = wtGrp;
|
|
547
|
+
return;
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
const o = this.orderedLabels;
|
|
551
|
+
if (o && o.length) sc.sort((a, b) => o.indexOf(a.key) - o.indexOf(b.key));
|
|
552
|
+
else sc.sort((a, b) => a.samplecount < b.samplecount ? 1 : -1);
|
|
553
|
+
tw.refGrp = sc[0].key;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
/*
|
|
557
|
+
recomputed on every main() and not just at init(), since switching cohort can change whether the
|
|
558
|
+
outcome term is the only one this dataset offers
|
|
559
|
+
*/
|
|
560
|
+
getMenuOptions() {
|
|
561
|
+
const { config, state } = this.parent;
|
|
562
|
+
if (this.section.configKey != "outcome") return "{edit,reuse,remove}";
|
|
563
|
+
return isLoneOutcome(config.regressionType, this.vocabApi.termdbConfig, state.activeCohort) ? "{edit,reuse}" : "{edit,reuse,replace}";
|
|
564
|
+
}
|
|
565
|
+
getPillArgs() {
|
|
566
|
+
const section = this.section;
|
|
567
|
+
const { config, state, disable_terms } = this.parent;
|
|
568
|
+
const args = Object.assign(
|
|
569
|
+
{
|
|
570
|
+
activeCohort: state.activeCohort,
|
|
571
|
+
disable_terms,
|
|
572
|
+
menuOptions: this.getMenuOptions(),
|
|
573
|
+
usecase: {
|
|
574
|
+
target: "regression",
|
|
575
|
+
detail: section.configKey,
|
|
576
|
+
regressionType: config.regressionType
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
this.term
|
|
580
|
+
);
|
|
581
|
+
args.filter = this.parent.parent.filter;
|
|
582
|
+
return args;
|
|
583
|
+
}
|
|
584
|
+
remove() {
|
|
585
|
+
this.dom.termRow.transition().duration(500).style("opacity", 0).remove();
|
|
586
|
+
for (const key in this.dom) {
|
|
587
|
+
delete this.dom[key];
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
renderInteractionPrompt() {
|
|
591
|
+
this.dom.interactionDiv.style("display", "none");
|
|
592
|
+
if (!this.term) return;
|
|
593
|
+
if (this.section.configKey != "independent") return;
|
|
594
|
+
if (this.term.q.mode == "spline") return;
|
|
595
|
+
if (this.vocabApi.termdbConfig.regression?.settings?.disableInteractions) return;
|
|
596
|
+
{
|
|
597
|
+
let count = 0;
|
|
598
|
+
for (const input of this.section.inputLst) {
|
|
599
|
+
if (input.term && input.term.q.mode != "spline") {
|
|
600
|
+
count++;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
if (count < 2) return;
|
|
604
|
+
}
|
|
605
|
+
const n = this.term.interactions.length;
|
|
606
|
+
this.dom.interactionDiv.style("display", "inline").html(n == 0 ? "Add interactions" : `${n} interaction${n > 1 ? "s" : ""}`).style("padding", "5px").style("background-color", n == 0 ? "" : "#ececec").style("border-radius", n == 0 ? "" : "6px").style("color", n == 0 ? graytextcolor2 : "#000").style("font-size", n == 0 ? "0.8em" : "").style("cursor", "pointer").on("click", () => this.renderInteractionOptions());
|
|
607
|
+
}
|
|
608
|
+
renderInteractionOptions() {
|
|
609
|
+
const self = this;
|
|
610
|
+
this.dom.tip.clear().showunder(this.dom.interactionDiv.node());
|
|
611
|
+
if (this.parent.config.includeUnivariate) {
|
|
612
|
+
const label = this.parent.dom.univariateCheckboxDiv.select("label").text().trim();
|
|
613
|
+
this.dom.tip.d.append("div").text(`Cannot add interactions. Please uncheck the "${label}" checkbox.`);
|
|
614
|
+
return;
|
|
615
|
+
}
|
|
616
|
+
this.dom.tip.d.append("div").style("padding", "5px").style("font-size", "0.8em").style("color", graytextcolor2).html(`Selected variables will each form pairwise interaction with ${this.term.term.name}`);
|
|
617
|
+
this.dom.tip.d.append("div").selectAll("div").data(this.parent.config.independent.filter((tw) => tw && tw.$id != this.term.$id && tw.q.mode != "spline")).enter().append("div").style("margin", "5px").each(function(tw) {
|
|
618
|
+
const elem = select_default(this).append("label");
|
|
619
|
+
elem.append("input").attr("type", "checkbox").property("checked", self.term.interactions.includes(tw.$id));
|
|
620
|
+
elem.append("span").text(" " + tw.term.name);
|
|
621
|
+
});
|
|
622
|
+
this.dom.tip.d.append("button").text("Apply").style("margin", "5px").on("click", () => {
|
|
623
|
+
this.dom.tip.hide();
|
|
624
|
+
this.term.interactions = [];
|
|
625
|
+
this.dom.tip.d.selectAll("input").each(function(tw) {
|
|
626
|
+
if (select_default(this).property("checked")) self.term.interactions.push(tw.$id);
|
|
627
|
+
});
|
|
628
|
+
for (const tw of this.parent.config.independent) {
|
|
629
|
+
const interactions = new Set(tw.interactions);
|
|
630
|
+
if (this.term.interactions.includes(tw.$id)) interactions.add(this.term.$id);
|
|
631
|
+
else interactions.delete(this.term.$id);
|
|
632
|
+
tw.interactions = [...interactions];
|
|
633
|
+
}
|
|
634
|
+
this.parent.editConfig(this, this.term);
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
function getQSetter4outcome(regressionType) {
|
|
639
|
+
return {
|
|
640
|
+
integer: regressionType == "logistic" ? maySetTwoBins : setContMode,
|
|
641
|
+
float: regressionType == "logistic" ? maySetTwoBins : setContMode,
|
|
642
|
+
geneExpression: regressionType == "logistic" ? maySetTwoBins : setContMode,
|
|
643
|
+
//Added geneExpression, but still breaks, need to fix
|
|
644
|
+
categorical: maySetTwoGroups,
|
|
645
|
+
condition: setQ4tteOutcome,
|
|
646
|
+
survival: setQ4tteOutcome
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
async function maySetTwoBins(tw, vocabApi, _, state) {
|
|
650
|
+
if (tw.q.mode == "binary" && tw.q.lst && tw.q.lst.length == 2) {
|
|
651
|
+
tw.q.mode = "binary";
|
|
652
|
+
return;
|
|
653
|
+
}
|
|
654
|
+
const data = await vocabApi.getPercentile(tw.term, [50], state.termfilter);
|
|
655
|
+
if (data.error || !data.values.length || !Number.isFinite(data.values[0]))
|
|
656
|
+
throw "cannot get median value: " + (data.error || "no data");
|
|
657
|
+
const median = tw.term.type == "integer" ? Math.round(data.values[0]) : Number(data.values[0].toFixed(2));
|
|
658
|
+
tw.q = {
|
|
659
|
+
mode: "binary",
|
|
660
|
+
type: "custom-bin",
|
|
661
|
+
lst: [
|
|
662
|
+
{
|
|
663
|
+
startunbounded: true,
|
|
664
|
+
stopinclusive: true,
|
|
665
|
+
stop: median
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
stopunbounded: true,
|
|
669
|
+
startinclusive: false,
|
|
670
|
+
start: median
|
|
671
|
+
}
|
|
672
|
+
]
|
|
673
|
+
};
|
|
674
|
+
tw.q.lst.forEach((bin) => {
|
|
675
|
+
bin.label = get_bin_label(bin, tw.q);
|
|
676
|
+
});
|
|
677
|
+
tw.refGrp = tw.q.lst[0].label;
|
|
678
|
+
}
|
|
679
|
+
function setQ4tteOutcome(tw, vocabApi, filter, state) {
|
|
680
|
+
if (state.config.regressionType == "logistic") {
|
|
681
|
+
if (!tw.refGrp) tw.refGrp = tw.q.groups[0].name;
|
|
682
|
+
}
|
|
683
|
+
if (state.config.regressionType == "cox") {
|
|
684
|
+
if (!tw.q.timeScale) tw.q.timeScale = "time";
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
async function maySetTwoGroups(tw, vocabApi, filter, state) {
|
|
688
|
+
const { term, q } = tw;
|
|
689
|
+
if (q.mode == "binary") {
|
|
690
|
+
if (q.type == "values" && Object.keys(term.values).length == 2) return;
|
|
691
|
+
if (q.type == "predefined-groupset") {
|
|
692
|
+
const idx = q.predefined_groupset_idx;
|
|
693
|
+
const t_gs2 = term.groupsetting;
|
|
694
|
+
if (t_gs2[idx] && Object.keys(t_gs2[idx]).length == 2) return;
|
|
695
|
+
}
|
|
696
|
+
if (q.type == "custom-groupset") {
|
|
697
|
+
const gs = q.customset;
|
|
698
|
+
if (gs.groups.filter((g) => !g.uncomputable).length == 2) return;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
const data = await vocabApi.getCategories(term, filter);
|
|
702
|
+
if (data.error) throw "cannot get categories: " + data.error;
|
|
703
|
+
const category2samplecount = /* @__PURE__ */ new Map();
|
|
704
|
+
const computableCategories = [];
|
|
705
|
+
const uncomputableCategories = [];
|
|
706
|
+
for (const i of data.lst) {
|
|
707
|
+
category2samplecount.set(i.key, i.samplecount);
|
|
708
|
+
if (term.values && term.values[i.key] && term.values[i.key].uncomputable) uncomputableCategories.push(i.key);
|
|
709
|
+
else computableCategories.push(i.key);
|
|
710
|
+
}
|
|
711
|
+
if (computableCategories.length < 2) {
|
|
712
|
+
q.type = "values";
|
|
713
|
+
tw.error = "less than 2 categories/grades - cannot create separate groups";
|
|
714
|
+
return;
|
|
715
|
+
}
|
|
716
|
+
if (computableCategories.length == 2) {
|
|
717
|
+
q.type = "values";
|
|
718
|
+
return;
|
|
719
|
+
}
|
|
720
|
+
const t_gs = term.groupsetting;
|
|
721
|
+
if (q.customset && q.customset.groups && q.customset.groups.length == 2 && groupsetNoEmptyGroup(q.customset, category2samplecount)) {
|
|
722
|
+
q.type = "custom-groupset";
|
|
723
|
+
return;
|
|
724
|
+
}
|
|
725
|
+
if (t_gs && t_gs.lst) {
|
|
726
|
+
if (q.predefined_groupset_idx >= 0 && t_gs.lst[q.predefined_groupset_idx] && t_gs.lst[q.predefined_groupset_idx].groups.length == 2 && groupsetNoEmptyGroup(t_gs.lst[q.predefined_groupset_idx], category2samplecount)) {
|
|
727
|
+
q.type = "predefined-groupset";
|
|
728
|
+
return;
|
|
729
|
+
}
|
|
730
|
+
const i = t_gs.lst.findIndex((g) => g.groups.length == 2);
|
|
731
|
+
if (i != -1 && groupsetNoEmptyGroup(t_gs.lst[i], category2samplecount)) {
|
|
732
|
+
q.predefined_groupset_idx = i;
|
|
733
|
+
q.type = "predefined-groupset";
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
const customset = {
|
|
738
|
+
activeCohort: state.activeCohort,
|
|
739
|
+
// creating 3 groups instead of 2 groups since current groupset UI expects first group to be excluded group
|
|
740
|
+
// TODO: refactor client/termsetting/handlers/qualitative.ts to not consider the first group (i.e. group.currentIdx === 0) as the excluded group, but rather to consider group.excluded=true as the excluded group
|
|
741
|
+
groups: [
|
|
742
|
+
{
|
|
743
|
+
name: "Excluded categories",
|
|
744
|
+
type: "values",
|
|
745
|
+
values: uncomputableCategories.map((v) => {
|
|
746
|
+
return { key: v };
|
|
747
|
+
})
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
name: "Group 1",
|
|
751
|
+
type: "values",
|
|
752
|
+
values: []
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
name: "Group 2",
|
|
756
|
+
type: "values",
|
|
757
|
+
values: []
|
|
758
|
+
}
|
|
759
|
+
]
|
|
760
|
+
};
|
|
761
|
+
const group_i_cutoff = Math.round(computableCategories.length / 2);
|
|
762
|
+
for (const [i, v] of computableCategories.entries()) {
|
|
763
|
+
if (i < group_i_cutoff) customset.groups[1].values.push({ key: v });
|
|
764
|
+
else customset.groups[2].values.push({ key: v });
|
|
765
|
+
}
|
|
766
|
+
q.customset = customset;
|
|
767
|
+
q.type = "custom-groupset";
|
|
768
|
+
}
|
|
769
|
+
function setContMode(tw) {
|
|
770
|
+
tw.q.mode = "continuous";
|
|
771
|
+
}
|
|
772
|
+
function groupsetNoEmptyGroup(gs, c2s) {
|
|
773
|
+
for (const g of gs.groups) {
|
|
774
|
+
let total = 0;
|
|
775
|
+
if (g.type == "values") {
|
|
776
|
+
for (const i of g.values) total += c2s.get(i.key) || 0;
|
|
777
|
+
if (total == 0) return false;
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
return true;
|
|
781
|
+
}
|
|
782
|
+
function getGeneVariantWildtypeGrp(tw, sampleCounts) {
|
|
783
|
+
const groupset = tw.q.type == "predefined-groupset" ? tw.term.groupsetting?.lst?.[tw.q.predefined_groupset_idx] : tw.q.type == "custom-groupset" ? tw.q.customset : null;
|
|
784
|
+
if (!groupset?.groups) return;
|
|
785
|
+
for (const g of groupset.groups) {
|
|
786
|
+
if (g.type != "filter") continue;
|
|
787
|
+
const isWt = g.filter?.lst?.some((i) => i.tvs && (i.tvs.genotype == "wt" || i.tvs.cnvWT));
|
|
788
|
+
if (!isWt) continue;
|
|
789
|
+
if (sampleCounts.find((i) => i.key == g.name)) return g.name;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
function getLogisticOutcomeNonref(outcome) {
|
|
793
|
+
if (outcome.term.type == "condition") {
|
|
794
|
+
for (const i of outcome.q.groups) {
|
|
795
|
+
if (i.name != outcome.refGrp) return i.name;
|
|
796
|
+
}
|
|
797
|
+
throw "nonref group not found for logistic outcome";
|
|
798
|
+
}
|
|
799
|
+
if (outcome.q.type == "predefined-groupset") {
|
|
800
|
+
if (!Number.isInteger(outcome.q.predefined_groupset_idx))
|
|
801
|
+
throw 'outcome.q.predefined_groupset_idx not integer when q.type is "predefined-groupset"';
|
|
802
|
+
if (!outcome.term.groupsetting) throw "outcome.term.groupsetting missing";
|
|
803
|
+
const grpset = outcome.term.groupsetting.lst[outcome.q.predefined_groupset_idx];
|
|
804
|
+
if (!grpset) throw "groupset not found by outcome.q.predefined_groupset_idx";
|
|
805
|
+
const nonrefgrp = grpset.groups.find((i) => i.name != outcome.refGrp);
|
|
806
|
+
if (!nonrefgrp) throw "non-ref group not found for predefined-groupset";
|
|
807
|
+
return nonrefgrp.name;
|
|
808
|
+
}
|
|
809
|
+
if (outcome.q.type == "custom-groupset") {
|
|
810
|
+
if (!outcome.q.customset) throw "outcome.q.customset missing";
|
|
811
|
+
const nonrefgrp = outcome.q.customset.groups.find((i) => i.name != outcome.refGrp);
|
|
812
|
+
if (!nonrefgrp) throw "non-ref group not found for custom-groupset";
|
|
813
|
+
return nonrefgrp.name;
|
|
814
|
+
}
|
|
815
|
+
if (outcome.q.type == "values") {
|
|
816
|
+
if (!outcome.term.values) throw "outcome.term.values{} missing";
|
|
817
|
+
for (const k in outcome.term.values) {
|
|
818
|
+
const v = outcome.term.values[k];
|
|
819
|
+
if (v.label != outcome.refGrp) return v.label;
|
|
820
|
+
}
|
|
821
|
+
throw "unknown nonref group from outcome.term.values";
|
|
822
|
+
}
|
|
823
|
+
if (outcome.q.type == "custom-bin") {
|
|
824
|
+
const nonrefbin = outcome.q.lst.find((i) => i.label != outcome.refGrp);
|
|
825
|
+
if (!nonrefbin) throw "non-ref bin is not found for custom-bin";
|
|
826
|
+
return nonrefbin.label;
|
|
827
|
+
}
|
|
828
|
+
if (outcome.q.type == "regular-bin") {
|
|
829
|
+
throw "do not know a way to find computed bin list for type=regular-bin";
|
|
830
|
+
}
|
|
831
|
+
throw "unknown outcome.q.type";
|
|
832
|
+
}
|
|
833
|
+
function getCoxOutcomeEventLabel(tw) {
|
|
834
|
+
let eventLabel;
|
|
835
|
+
if (!tw.term.values) throw "tw.term.values missing";
|
|
836
|
+
if (tw.term.type == "condition") {
|
|
837
|
+
const grades = Object.keys(tw.term.values).map((k) => {
|
|
838
|
+
const grade = Number(k);
|
|
839
|
+
if (!Number.isFinite(grade)) throw "grade is not a number";
|
|
840
|
+
return grade;
|
|
841
|
+
});
|
|
842
|
+
const startGrade = tw.q.breaks[0];
|
|
843
|
+
const endGrade = Math.max(...grades);
|
|
844
|
+
eventLabel = `Grades ${startGrade}-${endGrade}`;
|
|
845
|
+
} else if (tw.term.type == "survival") {
|
|
846
|
+
const exitCodes = Object.keys(tw.term.values).map((k) => {
|
|
847
|
+
const code = Number(k);
|
|
848
|
+
if (!Number.isFinite(code)) throw "exit code is not a number";
|
|
849
|
+
return code;
|
|
850
|
+
});
|
|
851
|
+
eventLabel = tw.term.values[Math.max(...exitCodes)].label;
|
|
852
|
+
} else {
|
|
853
|
+
throw "unexpected tw.term.type";
|
|
854
|
+
}
|
|
855
|
+
return eventLabel;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
// plots/regression/regression.inputs.ts
|
|
859
|
+
var allNonDictionaryTerms = [
|
|
860
|
+
{
|
|
861
|
+
termtype: "snplst",
|
|
862
|
+
//html: 'A list of SNPs <span style="font-size:.7em">All SNPs are analyzed in one model</span>'
|
|
863
|
+
html: "A list of variants"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
termtype: "snplocus",
|
|
867
|
+
//html: 'Variants in a locus <span style="font-size:.7em">Variants are analyzed individually</span>'
|
|
868
|
+
html: "Variants in a locus"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
termtype: "prs",
|
|
872
|
+
text: "Polygenic risk score"
|
|
873
|
+
}
|
|
874
|
+
];
|
|
875
|
+
var RegressionInputs = class {
|
|
876
|
+
constructor(opts) {
|
|
877
|
+
this.hasError = false;
|
|
878
|
+
this.disable_terms = [];
|
|
879
|
+
this.opts = opts;
|
|
880
|
+
this.app = opts.app;
|
|
881
|
+
this.parent = opts.parent;
|
|
882
|
+
setInteractivity(this);
|
|
883
|
+
setRenderers2(this);
|
|
884
|
+
this.createSectionConfigs();
|
|
885
|
+
this.initUI();
|
|
886
|
+
}
|
|
887
|
+
createSectionConfigs() {
|
|
888
|
+
this.outcome = {
|
|
889
|
+
/*** static configuration ***/
|
|
890
|
+
heading: "Outcome variable",
|
|
891
|
+
selectPrompt: this.opts.regressionType == "linear" ? "Select continuous outcome variable" : "Select outcome variable",
|
|
892
|
+
placeholderIcon: "+",
|
|
893
|
+
configKey: "outcome",
|
|
894
|
+
limit: 1,
|
|
895
|
+
usecase: { target: "regression", regressionType: this.opts.regressionType, detail: "outcome" },
|
|
896
|
+
/*** dynamic configuration ***/
|
|
897
|
+
inputLst: [],
|
|
898
|
+
/*** tracker for this section's DOM elements ***/
|
|
899
|
+
dom: {}
|
|
900
|
+
};
|
|
901
|
+
this.independent = {
|
|
902
|
+
/*** static configuration ***/
|
|
903
|
+
heading: "Independent variable(s)",
|
|
904
|
+
selectPrompt: "Add independent variable",
|
|
905
|
+
placeholderIcon: "+",
|
|
906
|
+
configKey: "independent",
|
|
907
|
+
limit: 10,
|
|
908
|
+
usecase: { target: "regression", regressionType: this.opts.regressionType, detail: "independent" },
|
|
909
|
+
/*** dynamic configuration ***/
|
|
910
|
+
inputLst: [],
|
|
911
|
+
/*** tracker for this section's DOM elements ***/
|
|
912
|
+
dom: {}
|
|
913
|
+
};
|
|
914
|
+
this.sections = [this.outcome, this.independent];
|
|
915
|
+
}
|
|
916
|
+
async main() {
|
|
917
|
+
try {
|
|
918
|
+
this.config = this.parent.config;
|
|
919
|
+
this.state = this.parent.state;
|
|
920
|
+
this.hasError = false;
|
|
921
|
+
this.setDisableTerms();
|
|
922
|
+
const updates = [];
|
|
923
|
+
for (const section of this.sections) {
|
|
924
|
+
await this.renderSection(section);
|
|
925
|
+
for (const input of section.inputLst) {
|
|
926
|
+
input.dom.holder.style("border-left", input.term ? "1px solid #bbb" : "");
|
|
927
|
+
updates.push(input.main());
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
await Promise.all(updates);
|
|
931
|
+
for (const section of this.sections) {
|
|
932
|
+
for (const input of section.inputLst) {
|
|
933
|
+
if (input.term && input.term.error || input.hasError) {
|
|
934
|
+
this.hasError = true;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
} catch (e) {
|
|
939
|
+
this.hasError = true;
|
|
940
|
+
throw e;
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
setDisableTerms() {
|
|
944
|
+
this.disable_terms = [];
|
|
945
|
+
if (this.config.outcome && this.config.outcome.term) this.disable_terms.push(this.config.outcome.term);
|
|
946
|
+
if (this.config.independent) {
|
|
947
|
+
for (const vb of this.config.independent) {
|
|
948
|
+
this.disable_terms.push(vb.term);
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
handleError() {
|
|
953
|
+
this.hasError = true;
|
|
954
|
+
this.dom.submitBtn.property("disabled", true);
|
|
955
|
+
}
|
|
956
|
+
getNoTermPromptOptions(section) {
|
|
957
|
+
if (section.configKey != "independent") return;
|
|
958
|
+
const lst = [];
|
|
959
|
+
for (const i of structuredClone(allNonDictionaryTerms)) {
|
|
960
|
+
const item = i;
|
|
961
|
+
if (!this.state.allowedTermTypes.includes(item.termtype)) {
|
|
962
|
+
continue;
|
|
963
|
+
}
|
|
964
|
+
if (section.inputLst.find((i2) => i2.term && i2.term.term.type == item.termtype)) {
|
|
965
|
+
continue;
|
|
966
|
+
}
|
|
967
|
+
if (item.termtype == "snplocus") {
|
|
968
|
+
if (this.config.includeUnivariate) {
|
|
969
|
+
item.invalid = true;
|
|
970
|
+
const label = this.dom.univariateCheckboxDiv.select("label").text().trim();
|
|
971
|
+
item.invalidMsg = `Cannot add this variable. Please uncheck the "${label}" checkbox.`;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
lst.push(item);
|
|
975
|
+
}
|
|
976
|
+
if (lst.length) {
|
|
977
|
+
lst.unshift({
|
|
978
|
+
isDictionary: true,
|
|
979
|
+
text: "Dictionary variable"
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
return lst;
|
|
983
|
+
}
|
|
984
|
+
};
|
|
985
|
+
function setRenderers2(self) {
|
|
986
|
+
self.initUI = () => {
|
|
987
|
+
const controls = self.opts.holder.append("div").style("display", "block");
|
|
988
|
+
self.dom = {
|
|
989
|
+
div: self.opts.holder,
|
|
990
|
+
//.style('margin', '10px 0px'),
|
|
991
|
+
controls,
|
|
992
|
+
body: controls.append("div"),
|
|
993
|
+
foot: controls.append("div").style("margin", "0px 20px").style("display", "flex").style("align-items", "center").style("gap", "20px")
|
|
994
|
+
};
|
|
995
|
+
self.dom.submitBtn = self.dom.foot.append("div").append("button").style("display", "none").style("padding", "5px 15px").style("border-radius", "15px").style("cursor", "pointer").text("Run analysis").on("click", self.submit);
|
|
996
|
+
self.dom.univariateCheckboxDiv = self.dom.foot.append("div").style("display", "none");
|
|
997
|
+
self.dom.univariateCheckbox = make_one_checkbox({
|
|
998
|
+
labeltext: "Include univariate results",
|
|
999
|
+
checked: false,
|
|
1000
|
+
holder: self.dom.univariateCheckboxDiv,
|
|
1001
|
+
callback: (checked) => {
|
|
1002
|
+
const invalid = self.config.independent.find((v) => v.interactions.length || v.term.type == "snplocus");
|
|
1003
|
+
if (invalid) {
|
|
1004
|
+
self.dom.univariateCheckbox.property("checked", false);
|
|
1005
|
+
const tip = new Menu();
|
|
1006
|
+
tip.showunder(self.dom.univariateCheckboxDiv.node());
|
|
1007
|
+
const msg = `Cannot include univariate results. Please remove ${invalid.interactions.length ? "all interactions" : `the "${invalid.term.name}" variable`}.`;
|
|
1008
|
+
tip.d.append("div").text(msg);
|
|
1009
|
+
return;
|
|
1010
|
+
}
|
|
1011
|
+
self.app.dispatch({
|
|
1012
|
+
type: "plot_edit",
|
|
1013
|
+
id: self.parent.id,
|
|
1014
|
+
chartType: "regression",
|
|
1015
|
+
config: {
|
|
1016
|
+
hasUnsubmittedEdits: true,
|
|
1017
|
+
includeUnivariate: checked
|
|
1018
|
+
}
|
|
1019
|
+
});
|
|
1020
|
+
}
|
|
1021
|
+
});
|
|
1022
|
+
self.dom.submitMsgs = self.dom.foot.append("div").style("color", "#cc0000").style("font-style", "italic").style("font-size", "0.8em");
|
|
1023
|
+
self.submitMsgs = {};
|
|
1024
|
+
for (const section of self.sections) {
|
|
1025
|
+
const div = self.dom.body.append("div");
|
|
1026
|
+
self.addSection(section, div);
|
|
1027
|
+
}
|
|
1028
|
+
};
|
|
1029
|
+
self.addSection = function(section, div) {
|
|
1030
|
+
div.style("display", "none").style("margin", "3px 5px").style("padding", "3px 5px").attr("data-testid", section.configKey);
|
|
1031
|
+
section.dom = {
|
|
1032
|
+
holder: div,
|
|
1033
|
+
headingDiv: div.append("div").style("margin", "3px 5px 20px 5px").style("font-size", "17px").style("color", "#555").text(section.heading),
|
|
1034
|
+
inputsDiv: div.append("div")
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
self.renderSection = function(section) {
|
|
1038
|
+
section.dom.holder.style("display", section.configKey == "outcome" || self.config.outcome ? "block" : "none");
|
|
1039
|
+
syncInputsWithConfig(section);
|
|
1040
|
+
const inputs = section.dom.inputsDiv.selectAll(":scope > div").data(section.inputLst, (input) => input.term && (input.term.term.id || input.term.term.name));
|
|
1041
|
+
inputs.exit().each(removeInput);
|
|
1042
|
+
inputs.enter().append("div").each(addInput);
|
|
1043
|
+
};
|
|
1044
|
+
function syncInputsWithConfig(section) {
|
|
1045
|
+
const selected = self.config[section.configKey];
|
|
1046
|
+
const selectedArray = Array.isArray(selected) ? selected : selected ? [selected] : [];
|
|
1047
|
+
mayConvertInteractionIds(selectedArray, section);
|
|
1048
|
+
for (const variable of selectedArray) {
|
|
1049
|
+
if (section.configKey == "independent") {
|
|
1050
|
+
if (!variable.interactions) variable.interactions = [];
|
|
1051
|
+
for (const id of variable.interactions) {
|
|
1052
|
+
const tw = selectedArray.find((i) => i.$id == id);
|
|
1053
|
+
if (!tw) throw "interacting partner not found in independents: " + id;
|
|
1054
|
+
if (!tw.interactions) tw.interactions = [];
|
|
1055
|
+
if (!tw.interactions.includes(variable.$id)) tw.interactions.push(variable.$id);
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
const input = section.inputLst.find((input2) => input2.term?.$id == variable.$id);
|
|
1059
|
+
if (!input) {
|
|
1060
|
+
section.inputLst.push(
|
|
1061
|
+
new InputTerm({
|
|
1062
|
+
section,
|
|
1063
|
+
term: variable,
|
|
1064
|
+
parent: self
|
|
1065
|
+
})
|
|
1066
|
+
);
|
|
1067
|
+
} else {
|
|
1068
|
+
input.term = variable;
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
mayAddBlankInput(section, self);
|
|
1072
|
+
}
|
|
1073
|
+
function mayConvertInteractionIds(selectedArray, section) {
|
|
1074
|
+
if (section.configKey != "independent") return;
|
|
1075
|
+
const id2$id = /* @__PURE__ */ new Map();
|
|
1076
|
+
for (const v of selectedArray) {
|
|
1077
|
+
if (v.id) id2$id.set(v.id, v.$id);
|
|
1078
|
+
}
|
|
1079
|
+
for (const v of selectedArray) {
|
|
1080
|
+
if (v.interactions?.length) {
|
|
1081
|
+
for (const [i, id] of v.interactions.entries()) {
|
|
1082
|
+
const $id = id2$id.get(id);
|
|
1083
|
+
if ($id) v.interactions[i] = $id;
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
async function addInput(input) {
|
|
1089
|
+
await input.init(
|
|
1090
|
+
select_default(this).style("width", "fit-content").style("margin", "0px 15px 35px 25px").style("padding", "0px 5px")
|
|
1091
|
+
);
|
|
1092
|
+
}
|
|
1093
|
+
function removeInput(input) {
|
|
1094
|
+
input.remove();
|
|
1095
|
+
for (const key in input.dom) {
|
|
1096
|
+
delete input.dom[key];
|
|
1097
|
+
}
|
|
1098
|
+
const div = select_default(this);
|
|
1099
|
+
div.transition().duration(500).style("opacity", 0).remove();
|
|
1100
|
+
}
|
|
1101
|
+
self.resetSubmitButton = () => {
|
|
1102
|
+
self.dom.submitBtn.text("Run analysis").style("display", self.config.outcome && self.config.independent.length ? "block" : "none").property("disabled", self.hasError);
|
|
1103
|
+
};
|
|
1104
|
+
self.mayShowUnivariateCheckbox = () => {
|
|
1105
|
+
if (!self.config.outcome || self.config.independent.length < 2) {
|
|
1106
|
+
self.dom.univariateCheckboxDiv.style("display", "none");
|
|
1107
|
+
return;
|
|
1108
|
+
}
|
|
1109
|
+
self.dom.univariateCheckboxDiv.style("display", "block");
|
|
1110
|
+
self.dom.univariateCheckbox.property("checked", self.config.includeUnivariate);
|
|
1111
|
+
};
|
|
1112
|
+
self.mayShowSubmitMsgs = () => {
|
|
1113
|
+
self.dom.submitMsgs.selectAll("div").data(Object.values(self.submitMsgs)).join("div").text((d) => d);
|
|
1114
|
+
};
|
|
1115
|
+
}
|
|
1116
|
+
function setInteractivity(self) {
|
|
1117
|
+
self.editConfig = async (input, variable) => {
|
|
1118
|
+
if (!variable) {
|
|
1119
|
+
const i = input.section.inputLst.findIndex((d) => d === input);
|
|
1120
|
+
if (i == -1) throw `deleting an unknown input`;
|
|
1121
|
+
input.section.inputLst.splice(i, 1);
|
|
1122
|
+
if (input.term) {
|
|
1123
|
+
for (const other of input.section.inputLst) {
|
|
1124
|
+
if (!other.term || !other.term.interactions?.length) continue;
|
|
1125
|
+
const i2 = other.term.interactions.indexOf(input.term.$id);
|
|
1126
|
+
if (i2 != -1) other.term.interactions.splice(i2, 1);
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
} else {
|
|
1130
|
+
const prevTerm = input.term;
|
|
1131
|
+
if (prevTerm && variable.term.id === prevTerm.term.id) {
|
|
1132
|
+
for (const k in prevTerm) {
|
|
1133
|
+
if (!(k in variable)) variable[k] = prevTerm[k];
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
input.term = variable;
|
|
1137
|
+
if (variable.q.mode == "spline" && variable.interactions) {
|
|
1138
|
+
for (const other of input.section.inputLst) {
|
|
1139
|
+
if (!other.term || !other.term.interactions) continue;
|
|
1140
|
+
const i = other.term.interactions.indexOf(input.term.$id);
|
|
1141
|
+
if (i != -1) other.term.interactions.splice(i, 1);
|
|
1142
|
+
}
|
|
1143
|
+
variable.interactions = [];
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
const selected = [];
|
|
1147
|
+
for (const i of input.section.inputLst) {
|
|
1148
|
+
if (i.term) selected.push(i.term);
|
|
1149
|
+
}
|
|
1150
|
+
const key = input.section.configKey;
|
|
1151
|
+
const configValue = Array.isArray(self.config[key]) ? selected : selected[0];
|
|
1152
|
+
self.app.dispatch({
|
|
1153
|
+
type: "plot_edit",
|
|
1154
|
+
id: self.parent.id,
|
|
1155
|
+
chartType: "regression",
|
|
1156
|
+
config: {
|
|
1157
|
+
hasUnsubmittedEdits: true,
|
|
1158
|
+
// replace config.outcome or config.independent
|
|
1159
|
+
[key]: JSON.parse(JSON.stringify(configValue))
|
|
1160
|
+
}
|
|
1161
|
+
});
|
|
1162
|
+
};
|
|
1163
|
+
self.submit = () => {
|
|
1164
|
+
self.dom.submitBtn.property("disabled", true);
|
|
1165
|
+
if (self.hasError) {
|
|
1166
|
+
alert("Please fix the input variable errors (highlighted in red background).");
|
|
1167
|
+
return;
|
|
1168
|
+
}
|
|
1169
|
+
const config = JSON.parse(JSON.stringify(self.config));
|
|
1170
|
+
config.hasUnsubmittedEdits = false;
|
|
1171
|
+
self.app.dispatch({
|
|
1172
|
+
type: "plot_edit",
|
|
1173
|
+
id: self.parent.id,
|
|
1174
|
+
chartType: "regression",
|
|
1175
|
+
config
|
|
1176
|
+
});
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
function mayAddBlankInput(section, self) {
|
|
1180
|
+
if (section.inputLst.length >= section.limit) {
|
|
1181
|
+
return;
|
|
1182
|
+
}
|
|
1183
|
+
const blankInput = section.inputLst.find((i) => !i.term);
|
|
1184
|
+
if (blankInput) {
|
|
1185
|
+
const noTermPromptOptions = self.getNoTermPromptOptions(section);
|
|
1186
|
+
if (noTermPromptOptions) {
|
|
1187
|
+
blankInput.pill.main({ noTermPromptOptions });
|
|
1188
|
+
}
|
|
1189
|
+
return;
|
|
1190
|
+
}
|
|
1191
|
+
section.inputLst.push(
|
|
1192
|
+
new InputTerm({
|
|
1193
|
+
section,
|
|
1194
|
+
parent: self,
|
|
1195
|
+
noTermPromptOptions: self.getNoTermPromptOptions(section)
|
|
1196
|
+
})
|
|
1197
|
+
);
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
// plots/regression/Regression.ts
|
|
1201
|
+
var Regression = class _Regression extends PlotBase {
|
|
1202
|
+
static {
|
|
1203
|
+
this.type = "regression";
|
|
1204
|
+
}
|
|
1205
|
+
constructor(opts, api) {
|
|
1206
|
+
super(opts, api);
|
|
1207
|
+
this.type = _Regression.type;
|
|
1208
|
+
this.genomeObj = opts.app.opts.genome;
|
|
1209
|
+
}
|
|
1210
|
+
async init(appState) {
|
|
1211
|
+
this.dom = {
|
|
1212
|
+
header: this.opts.header,
|
|
1213
|
+
// header is optional
|
|
1214
|
+
errordiv: this.opts.holder.append("div"),
|
|
1215
|
+
inputs: this.opts.holder.append("div").style("margin", "20px 10px"),
|
|
1216
|
+
results: this.opts.holder.append("div").style("margin-left", "40px")
|
|
1217
|
+
};
|
|
1218
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1219
|
+
this.inputs = new RegressionInputs({
|
|
1220
|
+
app: this.app,
|
|
1221
|
+
parent: this,
|
|
1222
|
+
id: this.id,
|
|
1223
|
+
holder: this.dom.inputs,
|
|
1224
|
+
regressionType: config.regressionType
|
|
1225
|
+
});
|
|
1226
|
+
this.results = new RegressionResults({
|
|
1227
|
+
app: this.app,
|
|
1228
|
+
parent: this,
|
|
1229
|
+
id: this.id,
|
|
1230
|
+
holder: this.dom.results,
|
|
1231
|
+
regressionType: config.regressionType
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
getState(appState) {
|
|
1235
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1236
|
+
if (!config) {
|
|
1237
|
+
throw `No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`;
|
|
1238
|
+
}
|
|
1239
|
+
if (!config.regressionType) throw "regressionType is required";
|
|
1240
|
+
const parentConfig = this.parentId && appState.plots.find((p) => p.id === this.parentId);
|
|
1241
|
+
const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
|
|
1242
|
+
return {
|
|
1243
|
+
vocab: appState.vocab,
|
|
1244
|
+
formIsComplete: config.outcome && config.independent.length,
|
|
1245
|
+
activeCohort: appState.activeCohort,
|
|
1246
|
+
termfilter,
|
|
1247
|
+
config,
|
|
1248
|
+
allowedTermTypes: appState.termdbConfig.allowedTermTypes,
|
|
1249
|
+
minTimeSinceDx: appState.termdbConfig.minTimeSinceDx
|
|
1250
|
+
};
|
|
1251
|
+
}
|
|
1252
|
+
/* do not set reactsTo
|
|
1253
|
+
so it reacts to all actions matching with the plot id (controlled by store method)
|
|
1254
|
+
including filter/cohort change
|
|
1255
|
+
*/
|
|
1256
|
+
async main() {
|
|
1257
|
+
try {
|
|
1258
|
+
this.config = JSON.parse(JSON.stringify(this.state.config));
|
|
1259
|
+
this.mayUpdateSandboxHeader();
|
|
1260
|
+
this.getFilter();
|
|
1261
|
+
await this.inputs.main();
|
|
1262
|
+
await this.results.main();
|
|
1263
|
+
this.inputs.resetSubmitButton();
|
|
1264
|
+
this.inputs.mayShowUnivariateCheckbox();
|
|
1265
|
+
this.inputs.mayShowSubmitMsgs();
|
|
1266
|
+
} catch (e) {
|
|
1267
|
+
if (this.inputs.hasError) {
|
|
1268
|
+
this.results.main();
|
|
1269
|
+
}
|
|
1270
|
+
sayerror(this.dom.errordiv, "Error: " + (e.error || e));
|
|
1271
|
+
if (e.stack) console.log(e.stack);
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
mayUpdateSandboxHeader() {
|
|
1275
|
+
if (!this.dom.header) return;
|
|
1276
|
+
const o = this.config.outcome;
|
|
1277
|
+
this.dom.header.html(
|
|
1278
|
+
(o ? o.term.name : "") + '<span style="opacity:.6;font-size:.7em;margin-left:10px;">' + this.config.regressionType.toUpperCase() + " REGRESSION</span>"
|
|
1279
|
+
);
|
|
1280
|
+
}
|
|
1281
|
+
getFilter() {
|
|
1282
|
+
const filters = [];
|
|
1283
|
+
if (this.state.termfilter?.filter) filters.push(this.state.termfilter.filter);
|
|
1284
|
+
const tws = [this.config.outcome, ...this.config.independent];
|
|
1285
|
+
const tws_restrictAncestry = tws.filter((tw) => tw?.q.restrictAncestry);
|
|
1286
|
+
if (tws_restrictAncestry.length) {
|
|
1287
|
+
if (tws_restrictAncestry.length > 1) {
|
|
1288
|
+
const ancestries = new Set(tws_restrictAncestry.map((tw2) => tw2.q.restrictAncestry.name));
|
|
1289
|
+
if (ancestries.size > 1) throw "samples cannot be restricted to more than 1 ancestry";
|
|
1290
|
+
}
|
|
1291
|
+
const tw = tws_restrictAncestry[0];
|
|
1292
|
+
filters.push({ type: "tvs", tvs: tw.q.restrictAncestry.tvs });
|
|
1293
|
+
this.inputs.submitMsgs.restrictAncestry = `Restricting analysis to samples of ${tw.q.restrictAncestry.name}`;
|
|
1294
|
+
} else {
|
|
1295
|
+
delete this.inputs.submitMsgs.restrictAncestry;
|
|
1296
|
+
}
|
|
1297
|
+
this.filter = { type: "tvslst", join: "and", lst: filters };
|
|
1298
|
+
}
|
|
1299
|
+
};
|
|
1300
|
+
var regressionInit = getCompInit(Regression);
|
|
1301
|
+
var componentInit = regressionInit;
|
|
1302
|
+
var _ID_ = 1;
|
|
1303
|
+
async function getPlotConfig(opts, app, activeCohort) {
|
|
1304
|
+
if (!opts.outcome) opts.outcome = mayGetLoneOutcome(opts.regressionType, app, activeCohort);
|
|
1305
|
+
const id = "id" in opts ? opts.id : `_REGRESSION_${_ID_++}`;
|
|
1306
|
+
const config = { id };
|
|
1307
|
+
if (opts.outcome) {
|
|
1308
|
+
await fillTermWrapper(opts.outcome, app.vocabApi, getDefaultQ4tw(opts.outcome, opts.regressionType, "outcome"));
|
|
1309
|
+
config.outcome = opts.outcome;
|
|
1310
|
+
}
|
|
1311
|
+
if (opts.independent) {
|
|
1312
|
+
if (!Array.isArray(opts.independent)) throw ".independent[] is not array";
|
|
1313
|
+
for (const t of opts.independent) {
|
|
1314
|
+
await fillTermWrapper(
|
|
1315
|
+
t,
|
|
1316
|
+
app.vocabApi,
|
|
1317
|
+
t.q?.mode ? void 0 : getDefaultQ4tw(t, opts.regressionType, "independent")
|
|
1318
|
+
);
|
|
1319
|
+
}
|
|
1320
|
+
config.independent = opts.independent;
|
|
1321
|
+
} else {
|
|
1322
|
+
config.independent = [];
|
|
1323
|
+
}
|
|
1324
|
+
return copyMerge(config, opts);
|
|
1325
|
+
}
|
|
1326
|
+
function mayGetLoneOutcome(regressionType, app, activeCohort) {
|
|
1327
|
+
if (regressionType != "cox") return;
|
|
1328
|
+
const byType = getLoneTermByType(app.vocabApi.termdbConfig, activeCohort);
|
|
1329
|
+
const t1 = byType?.survival;
|
|
1330
|
+
const t2 = byType?.condition;
|
|
1331
|
+
if (t1 && t2) return;
|
|
1332
|
+
if (t1) return { term: structuredClone(t1) };
|
|
1333
|
+
if (t2) return { term: structuredClone(t2) };
|
|
1334
|
+
return;
|
|
1335
|
+
}
|
|
1336
|
+
var coxOutcomeTypes = ["survival", "condition"];
|
|
1337
|
+
function getLoneTermByType(termdbConfig, activeCohort) {
|
|
1338
|
+
if (!termdbConfig?.loneTermByType) return;
|
|
1339
|
+
if (termdbConfig.selectCohort && !Number.isInteger(activeCohort)) return;
|
|
1340
|
+
return termdbConfig.loneTermByType[getActiveCohortStr({ termdbConfig, activeCohort })];
|
|
1341
|
+
}
|
|
1342
|
+
function isLoneOutcome(regressionType, termdbConfig, activeCohort) {
|
|
1343
|
+
if (regressionType != "cox") return false;
|
|
1344
|
+
const byType = getLoneTermByType(termdbConfig, activeCohort);
|
|
1345
|
+
if (!byType) return false;
|
|
1346
|
+
const loneTypes = coxOutcomeTypes.filter((type) => byType[type]);
|
|
1347
|
+
if (loneTypes.length != 1) return false;
|
|
1348
|
+
const otherType = coxOutcomeTypes.find((type) => type != loneTypes[0]);
|
|
1349
|
+
return !termdbConfig.allowedTermTypes?.includes(otherType);
|
|
1350
|
+
}
|
|
1351
|
+
function get_defaultQ4fillTW(regressionType, useCase = "") {
|
|
1352
|
+
const defaultQ = {};
|
|
1353
|
+
defaultQ["numeric"] = regressionType == "logistic" && useCase == "outcome" ? { mode: "binary" } : { mode: "discrete" };
|
|
1354
|
+
for (const t of numericTypes) {
|
|
1355
|
+
if (dictionaryNumericTypes.has(t)) continue;
|
|
1356
|
+
defaultQ[t] = regressionType == "logistic" && useCase == "outcome" ? { mode: "binary" } : { mode: "discrete", type: "custom-bin", preferredBins: "median" };
|
|
1357
|
+
}
|
|
1358
|
+
defaultQ["categorical"] = regressionType == "logistic" && useCase == "outcome" ? { mode: "binary" } : { mode: "discrete" };
|
|
1359
|
+
if (useCase == "outcome") {
|
|
1360
|
+
if (regressionType == "cox") {
|
|
1361
|
+
defaultQ.condition = { mode: "cox" };
|
|
1362
|
+
}
|
|
1363
|
+
if (regressionType == "logistic") {
|
|
1364
|
+
defaultQ.condition = { mode: "binary" };
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
defaultQ["geneVariant"] = { type: "predefined-groupset" };
|
|
1368
|
+
return defaultQ;
|
|
1369
|
+
}
|
|
1370
|
+
function getDefaultQ4tw(tw, regressionType, useCase) {
|
|
1371
|
+
const defaultQ = get_defaultQ4fillTW(regressionType, useCase);
|
|
1372
|
+
if (tw?.term?.type == "geneVariant" && tw.q?.type) delete defaultQ.geneVariant;
|
|
1373
|
+
return defaultQ;
|
|
1374
|
+
}
|
|
1375
|
+
async function makeChartBtnMenu(holder, chartsInstance) {
|
|
1376
|
+
const allMethods = [
|
|
1377
|
+
{ label: "Linear", type: "linear" },
|
|
1378
|
+
{ label: "Logistic", type: "logistic" },
|
|
1379
|
+
{ label: "Cox", type: "cox" }
|
|
1380
|
+
];
|
|
1381
|
+
const useMethods = allMethods.filter((i) => chartsInstance.state.currentCohortChartTypes.includes(i.type));
|
|
1382
|
+
if (useMethods.length == 0) return holder.append("div").text("Error: no methods available");
|
|
1383
|
+
if (useMethods.length == 1) {
|
|
1384
|
+
chartsInstance.dom.tip.hide();
|
|
1385
|
+
chartsInstance.prepPlot({ config: await getPrepConfig(useMethods[0].type, chartsInstance) });
|
|
1386
|
+
return;
|
|
1387
|
+
}
|
|
1388
|
+
for (const { label, type } of useMethods) {
|
|
1389
|
+
holder.append("div").attr("class", "sja_menuoption sja_sharp_border").text(label).on("click", async () => {
|
|
1390
|
+
chartsInstance.dom.tip.hide();
|
|
1391
|
+
chartsInstance.prepPlot({ config: await getPrepConfig(type, chartsInstance) });
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
async function getPrepConfig(regressionType, chartsInstance) {
|
|
1396
|
+
const config = { chartType: "regression", regressionType, independent: [] };
|
|
1397
|
+
const { app, state } = chartsInstance;
|
|
1398
|
+
const outcome = mayGetLoneOutcome(regressionType, app, state.activeCohort);
|
|
1399
|
+
if (!outcome) return config;
|
|
1400
|
+
try {
|
|
1401
|
+
await fillTermWrapper(outcome, app.vocabApi, get_defaultQ4fillTW(regressionType, "outcome"));
|
|
1402
|
+
config.outcome = outcome;
|
|
1403
|
+
} catch (e) {
|
|
1404
|
+
console.error(`cannot prefill ${regressionType} outcome with "${outcome.term.id}": ${e}`);
|
|
1405
|
+
}
|
|
1406
|
+
return config;
|
|
1407
|
+
}
|
|
1408
|
+
export {
|
|
1409
|
+
componentInit,
|
|
1410
|
+
getPlotConfig,
|
|
1411
|
+
get_defaultQ4fillTW,
|
|
1412
|
+
isLoneOutcome,
|
|
1413
|
+
makeChartBtnMenu,
|
|
1414
|
+
regressionInit
|
|
1415
|
+
};
|
|
1416
|
+
//# sourceMappingURL=Regression-QBR2VYHT.js.map
|