@sjcrh/proteinpaint-client 2.209.0 → 2.210.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-43QBND66.js +1367 -0
- package/dist/AggMatrixInput-X7NGFUHH.js +406 -0
- package/dist/AggregateMatrix-M4HRI4PX.js +41 -0
- package/dist/AppHeader-QBRQN6PM.js +830 -0
- package/dist/BoxPlot-V6SPSEQ2.js +1211 -0
- package/dist/CorrelationVolcano-UFPCYC77.js +617 -0
- package/dist/Cuminc-KXGXGLKZ.js +1219 -0
- package/dist/DE-K2YXHOOW.js +89 -0
- package/dist/DEinput-O6LBFAAH.js +501 -0
- package/dist/DEinput-O6LBFAAH.js.map +7 -0
- package/dist/DM-C7VN3RWB.js +90 -0
- package/dist/DifferentialAnalysis-A2BU4WB3.js +239 -0
- package/dist/Disco-HECQVKXG.js +3389 -0
- package/dist/Disco.UI-XF2GEKRW.js +243 -0
- package/dist/DmrPlot-TVXVXOHL.js +362 -0
- package/dist/GB-66ZGJ5ST.js +1428 -0
- package/dist/GSEA-Z4YPI4HY.js +875 -0
- package/dist/GeneExpInput-VBIZZV27.js +42 -0
- package/dist/Geomap-UIIOLRFA.js +84 -0
- package/dist/HicApp-73ESVNBA.js +2245 -0
- package/dist/IDCViewer-RBYN5A4P.js +10812 -0
- package/dist/NumBinaryEditor-DJLSNSLE.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-LCJHL3XM.js +312 -0
- package/dist/NumContEditor-SVLDJ2ML.js +105 -0
- package/dist/NumContEditor.unit.spec-JDMSK4HY.js +164 -0
- package/dist/NumCustomBinEditor-BI63AH3R.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-5433G7Y2.js +397 -0
- package/dist/NumDiscreteEditor-LEZTGXAV.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-5OEORHJ4.js +233 -0
- package/dist/NumRegularBinEditor-EXWHIWPM.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-QY25Z2TT.js +278 -0
- package/dist/NumSplineEditor-XPPMYYAD.js +210 -0
- package/dist/NumSplineEditor.unit.spec-GOGBKWMN.js +224 -0
- package/dist/NumericDensity-RKY2IQ72.js +33 -0
- package/dist/NumericDensity.unit.spec-5ZM6ICXM.js +418 -0
- package/dist/NumericHandler-FXF3M5M3.js +34 -0
- package/dist/NumericHandler.unit.spec-M2OQTBJX.js +214 -0
- package/dist/ProteomeInput-TMZ3THRL.js +388 -0
- package/dist/Regression-GQGAATHG.js +1416 -0
- package/dist/RunChart2-7GNDWRKC.js +749 -0
- package/dist/SC-R2I2EMHA.js +1183 -0
- package/dist/Violin-GKKEB55L.js +1081 -0
- package/dist/Volcano-HRG5EFWH.js +2443 -0
- package/dist/Wsi-OHRCGYYD.js +629 -0
- package/dist/adSandbox-H56B25WR.js +33 -0
- package/dist/animatedBubbleChart-7SXFHU4J.js +547 -0
- package/dist/app-22JCSULA.js +42 -0
- package/dist/app-RGZJB6LN.js +32 -0
- package/dist/app.js +12 -12
- package/dist/bam-HA65TRGX.js +876 -0
- package/dist/barchart-6XO75OMA.js +42 -0
- package/dist/barchart2-6E5BIRHD.js +309 -0
- package/dist/block-43KNTXZ5.js +6250 -0
- package/dist/block.init-TPU5QIPA.js +33 -0
- package/dist/block.mds.expressionrank-QZDRFXCH.js +354 -0
- package/dist/block.mds.geneboxplot-64QVBK5Q.js +823 -0
- package/dist/block.mds.junction-I4J6VXNT.js +1539 -0
- package/dist/block.mds.svcnv-GDQMSQFF.js +6796 -0
- package/dist/block.svg-2MZFT5QP.js +159 -0
- package/dist/block.tk.aicheck-2MKHF6LX.js +278 -0
- package/dist/block.tk.ase-CLYGKFTS.js +360 -0
- package/dist/block.tk.bam-XTR4QA5Z.js +1901 -0
- package/dist/block.tk.bedgraphdot-A2P2CXRU.js +379 -0
- package/dist/block.tk.bigwig.ui-YZH6JXEO.js +206 -0
- package/dist/block.tk.hicstraw-QBK5VWGU.js +818 -0
- package/dist/block.tk.junction-5DEVBA7G.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-7TTQMO6W.js +194 -0
- package/dist/block.tk.ld-PRIVUPKL.js +94 -0
- package/dist/block.tk.menu-JGBRFSS3.js +1024 -0
- package/dist/block.tk.pgv-KQJCJMVD.js +938 -0
- package/dist/brainImaging-4SLVJ2HV.js +555 -0
- package/dist/brainRegions-BDIVM2SG.js +217 -0
- package/dist/bubbleHeatmap-ORKFJNEQ.js +378 -0
- package/dist/cellTypeBubbleHeatmap-VOHLI4P7.js +278 -0
- package/dist/chunk-26N3B2JO.js +194 -0
- package/dist/chunk-2HNJF5ZI.js +240 -0
- package/dist/chunk-2LNGHIOC.js +281 -0
- package/dist/chunk-3SCQGODD.js +274 -0
- package/dist/chunk-47STLK7K.js +518 -0
- package/dist/chunk-4XYQG3XU.js +276 -0
- package/dist/chunk-53XNEXR6.js +34 -0
- package/dist/chunk-55FABQU2.js +24955 -0
- package/dist/chunk-55FABQU2.js.map +7 -0
- package/dist/chunk-5UB5H7A3.js +123 -0
- package/dist/chunk-6FYQYTV6.js +141 -0
- package/dist/chunk-6RP6CR4Q.js +182 -0
- package/dist/chunk-A5D37SIL.js +103 -0
- package/dist/chunk-ADRFQ5AL.js +102 -0
- package/dist/chunk-AUZ63NKJ.js +70 -0
- package/dist/chunk-B563DUNQ.js +217 -0
- package/dist/chunk-BK6UDL7F.js +339 -0
- package/dist/chunk-CT4IG5IR.js +339 -0
- package/dist/chunk-D6UBH77N.js +1731 -0
- package/dist/chunk-DS4GLMJL.js +170 -0
- package/dist/chunk-DSBRHWZ7.js +2853 -0
- package/dist/chunk-DX35MKPR.js +272 -0
- package/dist/chunk-EDZJ3VNZ.js +54 -0
- package/dist/chunk-F47A4CVK.js +1339 -0
- package/dist/chunk-G4H34RNK.js +446 -0
- package/dist/chunk-G7RUMSHL.js +263 -0
- package/dist/chunk-GXFS25SK.js +480 -0
- package/dist/chunk-I25LKYC4.js +379 -0
- package/dist/chunk-I25LKYC4.js.map +7 -0
- package/dist/chunk-IAB2PRIH.js +396 -0
- package/dist/chunk-IAB2PRIH.js.map +7 -0
- package/dist/chunk-IBT6WRY6.js +692 -0
- package/dist/chunk-IJ7AIDEO.js +302 -0
- package/dist/chunk-JBFVJHZN.js +1233 -0
- package/dist/chunk-JDVBUIEU.js +56 -0
- package/dist/chunk-K7RW5TPU.js +4375 -0
- package/dist/chunk-KIAMLQ7S.js +424 -0
- package/dist/chunk-KIAMLQ7S.js.map +7 -0
- package/dist/chunk-LBCIXRI2.js +49 -0
- package/dist/chunk-MNXL2UV5.js +98 -0
- package/dist/chunk-NI5CVN43.js +203 -0
- package/dist/chunk-NOBXDQDU.js +397 -0
- package/dist/chunk-NQNVLZOA.js +6360 -0
- package/dist/chunk-NULFGPE3.js +158 -0
- package/dist/chunk-OUIXGM3K.js +299 -0
- package/dist/chunk-P4LGA36F.js +14 -0
- package/dist/chunk-PU5FQWAY.js +55 -0
- package/dist/chunk-PZ2OSHBF.js +56 -0
- package/dist/chunk-QBNDPW7O.js +5071 -0
- package/dist/chunk-R5PKBL7V.js +80 -0
- package/dist/chunk-RFSOP75Z.js +1988 -0
- package/dist/chunk-RFSOP75Z.js.map +7 -0
- package/dist/chunk-RI65SIN3.js +626 -0
- package/dist/chunk-RPGLLO4T.js +2676 -0
- package/dist/chunk-RXNZK7MF.js +134 -0
- package/dist/chunk-S2ICJ3RZ.js +550 -0
- package/dist/chunk-SFHG6H2D.js +129 -0
- package/dist/chunk-TQ2DVEQO.js +783 -0
- package/dist/chunk-U6BJ4ZNU.js +176 -0
- package/dist/chunk-UXD6G6G4.js +178 -0
- package/dist/chunk-VA57CUC7.js +2146 -0
- package/dist/chunk-VH5W6ODW.js +294 -0
- package/dist/chunk-VROF55EH.js +255 -0
- package/dist/chunk-VWA7BYSV.js +217 -0
- package/dist/chunk-X37BRSGS.js +102 -0
- package/dist/chunk-XQYDXA47.js +562 -0
- package/dist/chunk-XXPUZVS4.js +237 -0
- package/dist/chunk-Y7V5AIUH.js +468 -0
- package/dist/chunk-YBNIOGUE.js +243 -0
- package/dist/chunk-YEYMNF7V.js +2327 -0
- package/dist/chunk-YJ74QATP.js +1278 -0
- package/dist/chunk-ZG2HCGAO.js +2784 -0
- package/dist/chunk-ZZN7ZD7J.js +54 -0
- package/dist/cohort-6OCRQQ2S.js +70 -0
- package/dist/condition-SZVXH3VU.js +327 -0
- package/dist/controls-MO6ZND76.js +34 -0
- package/dist/controls.config-P4MSTGL4.js +34 -0
- package/dist/correlation-NMI3CM3T.js +95 -0
- package/dist/customdata.inputui-VCHSCA65.js +284 -0
- package/dist/dataDownload-VQHOTQ5D.js +329 -0
- package/dist/databrowser.ui-ZFOCAG32.js +425 -0
- package/dist/dictionary-S5YCFUWH.js +113 -0
- package/dist/dnaMethylation-MQZLZRGT.js +33 -0
- package/dist/dnaMethylation.integration.spec-H546EBUO.js +198 -0
- package/dist/dofetch-QZIYSC7H.js +48 -0
- package/dist/e2pca-XOXOS3PN.js +344 -0
- package/dist/ep-U6KRL7FR.js +1249 -0
- package/dist/expclust.gdc.spec-HCK65C63.js +302 -0
- package/dist/facet-DCC25KJO.js +519 -0
- package/dist/gb-TIFWFD4Y.js +81 -0
- package/dist/geneExpClustering-6DQEOTOY.js +244 -0
- package/dist/geneExpression-EASRAN6B.js +310 -0
- package/dist/geneExpression-G4YMDCBH.js +33 -0
- package/dist/geneExpression.unit.spec-XVEJYMPX.js +128 -0
- package/dist/geneORA-6UBS5GSC.js +273 -0
- package/dist/geneRanking-UXXYWHNB.js +548 -0
- package/dist/geneVariant-SZRJOXVC.js +289 -0
- package/dist/geneVariant-TKFKARZK.js +36 -0
- package/dist/geneVariant.integration.spec-PXMAYJN3.js +503 -0
- package/dist/geneVariant.integration.spec-PXMAYJN3.js.map +7 -0
- package/dist/genefusion.ui-TJLYXSVL.js +303 -0
- package/dist/geneset-YTBDLEIH.js +203 -0
- package/dist/genomeBrowser.spec-ZO4LFIXE.js +276 -0
- package/dist/grin2-FC4VYU54.js +949 -0
- package/dist/grin2-LIFKBMVK.js +70 -0
- package/dist/hierCluster-56EGAPOR.js +59 -0
- package/dist/hierCluster-DR5NWCXA.js +55 -0
- package/dist/hierCluster.config-NACE3FH2.js +36 -0
- package/dist/hierCluster.integration.spec-PEEXPAS6.js +483 -0
- package/dist/hierCluster.interactivity-OCBGLUJM.js +49 -0
- package/dist/hierCluster.renderers-JNQUSAP4.js +19 -0
- package/dist/imagePlot-GR4JNUGG.js +156 -0
- package/dist/importPlot-4R4BSPVD.js +8 -0
- package/dist/isoformExpression-ST5ZW2NE.js +35 -0
- package/dist/isoformExpression.unit.spec-PPFC5Z7N.js +237 -0
- package/dist/junction-7AKZHOHV.js +36 -0
- package/dist/junction.unit.spec-SZUJXRQ2.js +182 -0
- package/dist/launch.adhoc-RWJQUOJ6.js +37 -0
- package/dist/leftlabel.sample-WRHLVQAQ.js +258 -0
- package/dist/lollipop-ZZWXTM23.js +166 -0
- package/dist/maf-N4XPZTQU.js +455 -0
- package/dist/maftimeline-2FBS6RWS.js +587 -0
- package/dist/matrix-5KEQPB5H.js +59 -0
- package/dist/matrix-RJUNXB5N.js +54 -0
- package/dist/matrix.cells-WXTPOJYB.js +26 -0
- package/dist/matrix.config-ZZFLLD6Z.js +37 -0
- package/dist/matrix.data-3PQ73GVJ.js +23 -0
- package/dist/matrix.groups-U6CKS6WW.js +26 -0
- package/dist/matrix.integration.spec-T53PMVHC.js +3160 -0
- package/dist/matrix.interactivity-3LDZV3F7.js +37 -0
- package/dist/matrix.layout-MINLYQCA.js +39 -0
- package/dist/matrix.legend-6GSDFZHS.js +20 -0
- package/dist/matrix.renderers-5BKOXDE3.js +34 -0
- package/dist/matrix.serieses-6FCFIFAQ.js +19 -0
- package/dist/matrix.sort-EHVVYDZ3.js +26 -0
- package/dist/matrix.sort.unit.spec-BCWE4AFX.js +468 -0
- package/dist/matrix.sorterUi.unit.spec-XJR5KXRL.js +338 -0
- package/dist/matrix.unit.spec-TUCKPE26.js +150 -0
- package/dist/mavb-GWSNRBLM.js +727 -0
- package/dist/mds.fimo-OMAQRSMW.js +513 -0
- package/dist/mds.samplescatterplot-4UW3CC45.js +1545 -0
- package/dist/mds.survivalplot-2CJYJBD2.js +477 -0
- package/dist/multivalue-G44MHEYI.js +83 -0
- package/dist/numericDictTermCluster-5BDRGVQG.js +63 -0
- package/dist/oncomatrix-ZTVO23ZH.js +290 -0
- package/dist/oncomatrix.spec-2QVK2A3Q.js +443 -0
- package/dist/plot.2dvaf-CL5YUXKH.js +372 -0
- package/dist/plot.app-4ANKPSNP.js +36 -0
- package/dist/plot.barplot-BMGDNZRA.js +97 -0
- package/dist/plot.boxplot-GMLQCDP6.js +146 -0
- package/dist/plot.brainImaging-RZXX3NUZ.js +51 -0
- package/dist/plot.disco-3MD4J4C7.js +99 -0
- package/dist/plot.ssgq-ZC4UYKOT.js +134 -0
- package/dist/plot.vaf2cov-4DHFMYQV.js +253 -0
- package/dist/polar2-TMB5EITR.js +232 -0
- package/dist/profileForms-GD7BIOOD.js +941 -0
- package/dist/profilePlot-CZLK5E74.js +49 -0
- package/dist/proteinView-FEEEXLKT.js +1357 -0
- package/dist/proteomeCohortCompare-NVLJ2FXX.js +912 -0
- package/dist/pseudbulk.unit.spec-GHQZPNAH.js +86 -0
- package/dist/pseudobulk-G5UQIRKL.js +35 -0
- package/dist/qualitative-EAUUCKU5.js +38 -0
- package/dist/radar2-CJQ2L6KE.js +327 -0
- package/dist/radarFacility2-BLVRZE4V.js +335 -0
- package/dist/render-KKAQPH6Y.js +33 -0
- package/dist/report-OSOJHTSD.js +217 -0
- package/dist/sampleView-WB74RLD7.js +43 -0
- package/dist/samplelst-ZKXV5WOD.js +106 -0
- package/dist/samplematrix-WJFYMWLT.js +2193 -0
- package/dist/sc-RBRBUCLR.js +81 -0
- package/dist/scatter-5K3QTIDK.js +88 -0
- package/dist/scatter-SM7GQENM.js +925 -0
- package/dist/selectGenomeWithTklst-ZZUJ7AQ7.js +129 -0
- package/dist/singleCellCellType-LCF2JNZ2.js +33 -0
- package/dist/singleCellCellType.unit.spec-T6DYH4BC.js +154 -0
- package/dist/singleCellGeneExpression-2XUYTH4C.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-SMRCLOF4.js +148 -0
- package/dist/singleCellNumericValue-57I33FZT.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-4YNB4OEV.js +416 -0
- package/dist/singleCellPlot-L6TKQHGD.js +48 -0
- package/dist/singlecell-LZKR3UDV.js +81 -0
- package/dist/singlecell-UKN2VCXQ.js +1566 -0
- package/dist/snp-3LJITU5B.js +33 -0
- package/dist/snp.unit.spec-ZQNU6XRM.js +171 -0
- package/dist/snplocus-OME7UQBW.js +203 -0
- package/dist/spliceevent.a53ss.diagram-C32IEFMU.js +146 -0
- package/dist/spliceevent.exonskip.diagram-CZ7MVRLK.js +278 -0
- package/dist/spliceevent.noeventdiagram-ZO6R3776.js +455 -0
- package/dist/ssGSEA-BGPQ2PFY.js +33 -0
- package/dist/ssGSEA.unit.spec-U7TBUSSK.js +83 -0
- package/dist/stattable-FISGQCED.js +117 -0
- package/dist/studyCatalog-UHFUT2CJ.js +414 -0
- package/dist/summarizeCnvGeneexp-OVZO6KIB.js +158 -0
- package/dist/summarizeGeneexpSurvival-KVQ4JGWK.js +105 -0
- package/dist/summarizeMutationCnv-RAKGHNLE.js +159 -0
- package/dist/summarizeMutationDiagnosis-LGCINAGG.js +35 -0
- package/dist/summarizeMutationSurvival-J7H7L4FX.js +99 -0
- package/dist/summary-2632JZXH.js +44 -0
- package/dist/summary.integration.spec-5WBS2ZRP.js +409 -0
- package/dist/summaryInput-BH6C3ATV.js +242 -0
- package/dist/sunburst-AMRR2IHM.js +278 -0
- package/dist/survival-2RNJQVFS.js +1248 -0
- package/dist/survival-WYCH4QOQ.js +53 -0
- package/dist/survival.integration.spec-7IFPY4I4.js +613 -0
- package/dist/svgraph-YQWS52ZJ.js +1382 -0
- package/dist/svmr-NRN6LGKK.js +3837 -0
- package/dist/table-3QOMV2NN.js +197 -0
- package/dist/termCollection-2ZJ7TJGO.js +33 -0
- package/dist/termCollection-3MCVR7BA.js +252 -0
- package/dist/termCollection.unit.spec-QYOEA3X6.js +299 -0
- package/dist/termCollectionFractionSelection-5AH6EF4L.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-WPGW4WJN.js +188 -0
- package/dist/tk-DQ7D5UEO.js +41 -0
- package/dist/tk-ONKYBG6R.js +1121 -0
- package/dist/tp.ui-C7BTMHEI.js +1454 -0
- package/dist/tvs.dt-PLRMK7OT.js +34 -0
- package/dist/tvs.dtcnv.categorical-IZUY2AQO.js +35 -0
- package/dist/tvs.dtcnv.continuous-ENV3RHHA.js +67 -0
- package/dist/tvs.dtfusion-2DVCV6AM.js +35 -0
- package/dist/tvs.dtitd-XNDIRQYU.js +35 -0
- package/dist/tvs.dtsnvindel-4D3G7XSF.js +35 -0
- package/dist/tvs.dtsv-QYMIMC4Z.js +35 -0
- package/dist/tvs.numeric-M5LH3PRH.js +20 -0
- package/dist/tvs.samplelst-2KEU2ZWB.js +98 -0
- package/dist/tvs.termCollection-FEY746V5.js +124 -0
- package/dist/vocabulary-BR4NJDPS.js +36 -0
- package/dist/wsi.direct-JWDUNHIO.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-VTMPVZGT.js +0 -1367
- package/dist/AggMatrixInput-CH3RQ2QC.js +0 -406
- package/dist/AggregateMatrix-DPCHUOMF.js +0 -41
- package/dist/AppHeader-RA7T467G.js +0 -830
- package/dist/BoxPlot-7Q7SMT26.js +0 -1211
- package/dist/CorrelationVolcano-YV4UHOAX.js +0 -617
- package/dist/Cuminc-ZN53C3MD.js +0 -1219
- package/dist/DE-BEWW5AIG.js +0 -89
- package/dist/DEinput-SJITUJF2.js +0 -499
- package/dist/DEinput-SJITUJF2.js.map +0 -7
- package/dist/DM-2LBNE4WE.js +0 -90
- package/dist/DifferentialAnalysis-WE4LBHEF.js +0 -239
- package/dist/Disco-PTZQF7IM.js +0 -3389
- package/dist/Disco.UI-NBR67N5M.js +0 -243
- package/dist/DmrPlot-QROLI66S.js +0 -362
- package/dist/GB-FEBSFX5U.js +0 -1428
- package/dist/GSEA-KOXOVC5V.js +0 -875
- package/dist/GeneExpInput-DYBK54HC.js +0 -42
- package/dist/Geomap-QRD2WZVL.js +0 -84
- package/dist/HicApp-VKET4QHD.js +0 -2245
- package/dist/IDCViewer-RLLTXGD7.js +0 -10812
- package/dist/NumBinaryEditor-GYHOYPQL.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-E2HKBWOO.js +0 -312
- package/dist/NumContEditor-3V76ZSEY.js +0 -105
- package/dist/NumContEditor.unit.spec-RTT5Q5E5.js +0 -164
- package/dist/NumCustomBinEditor-O5DMPY7H.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-5LZBP2JL.js +0 -397
- package/dist/NumDiscreteEditor-DFOJ7AIH.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-PPJGEBFX.js +0 -233
- package/dist/NumRegularBinEditor-O6RDO32C.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-GOB3BF25.js +0 -278
- package/dist/NumSplineEditor-PUXJF2RW.js +0 -210
- package/dist/NumSplineEditor.unit.spec-4VOAAMOU.js +0 -224
- package/dist/NumericDensity-E6MH2THZ.js +0 -33
- package/dist/NumericDensity.unit.spec-IRPFBQUS.js +0 -418
- package/dist/NumericHandler-42RR54X3.js +0 -34
- package/dist/NumericHandler.unit.spec-YYOO7XVT.js +0 -214
- package/dist/ProteomeInput-4N2G6IFX.js +0 -388
- package/dist/Regression-LIWUWAGQ.js +0 -1416
- package/dist/RunChart2-VAX5JGZY.js +0 -749
- package/dist/SC-UHBZ3HRO.js +0 -1183
- package/dist/Violin-V23VZR6B.js +0 -1081
- package/dist/Volcano-64S4AW66.js +0 -2443
- package/dist/Wsi-FOJCKDCP.js +0 -629
- package/dist/adSandbox-CLMUYNC3.js +0 -33
- package/dist/animatedBubbleChart-GMLNYTQC.js +0 -547
- package/dist/app-2SFDRDN2.js +0 -32
- package/dist/app-QOZ36UR4.js +0 -42
- package/dist/bam-LLAK7FVG.js +0 -876
- package/dist/barchart-SEC6VKQ2.js +0 -42
- package/dist/barchart2-D4FXZCTU.js +0 -309
- package/dist/block-XGK6TEGH.js +0 -6250
- package/dist/block.init-UMRCAKCF.js +0 -33
- package/dist/block.mds.expressionrank-LFPJ52SX.js +0 -354
- package/dist/block.mds.geneboxplot-2QIEN6AH.js +0 -823
- package/dist/block.mds.junction-Z4HUFSG2.js +0 -1539
- package/dist/block.mds.svcnv-3GXGY6ET.js +0 -6796
- package/dist/block.svg-7RCJLMAP.js +0 -159
- package/dist/block.tk.aicheck-5N6EGZ6F.js +0 -278
- package/dist/block.tk.ase-V3AJRYT6.js +0 -360
- package/dist/block.tk.bam-W6QOVVEU.js +0 -1901
- package/dist/block.tk.bedgraphdot-FKTPJZTH.js +0 -379
- package/dist/block.tk.bigwig.ui-Y3M2TDM2.js +0 -206
- package/dist/block.tk.hicstraw-3SWYTMFQ.js +0 -818
- package/dist/block.tk.junction-OXB22PDS.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-PWBLRGCO.js +0 -194
- package/dist/block.tk.ld-NTRJL5GA.js +0 -94
- package/dist/block.tk.menu-JIHSGGIO.js +0 -1024
- package/dist/block.tk.pgv-4Q6CY6QN.js +0 -938
- package/dist/brainImaging-MBI4XTTU.js +0 -555
- package/dist/brainRegions-YVTAESRP.js +0 -217
- package/dist/bubbleHeatmap-ZKTA3AIG.js +0 -378
- package/dist/cellTypeBubbleHeatmap-GJZNXDG4.js +0 -278
- package/dist/chunk-2PDBU42F.js +0 -4375
- package/dist/chunk-2RMSV4BS.js +0 -6360
- package/dist/chunk-33BE7AYS.js +0 -299
- package/dist/chunk-3XBG5HIV.js +0 -424
- package/dist/chunk-3XBG5HIV.js.map +0 -7
- package/dist/chunk-5FRETII3.js +0 -281
- package/dist/chunk-5LYVIIYR.js +0 -170
- package/dist/chunk-6FG6JFZP.js +0 -339
- package/dist/chunk-6G45AUSV.js +0 -237
- package/dist/chunk-6LDKSKYQ.js +0 -70
- package/dist/chunk-7FFTAYT4.js +0 -272
- package/dist/chunk-7GDRMBNO.js +0 -339
- package/dist/chunk-A2UUXYH6.js +0 -1986
- package/dist/chunk-A2UUXYH6.js.map +0 -7
- package/dist/chunk-AFQKYV4D.js +0 -2853
- package/dist/chunk-ANACCKCQ.js +0 -276
- package/dist/chunk-AR3HXZIW.js +0 -562
- package/dist/chunk-AVCEHJG7.js +0 -446
- package/dist/chunk-AVCIZWH5.js +0 -692
- package/dist/chunk-B6UXFX73.js +0 -178
- package/dist/chunk-BCCFJYPE.js +0 -54
- package/dist/chunk-BG3SGGVB.js +0 -134
- package/dist/chunk-C3HEDQPT.js +0 -24921
- package/dist/chunk-C3HEDQPT.js.map +0 -7
- package/dist/chunk-CN6KJORZ.js +0 -397
- package/dist/chunk-CYWEYHJQ.js +0 -203
- package/dist/chunk-D5ETVOOE.js +0 -158
- package/dist/chunk-DANF4CC5.js +0 -102
- package/dist/chunk-DNCFJTPI.js +0 -1339
- package/dist/chunk-FNW6BKOA.js +0 -480
- package/dist/chunk-FR5USNAT.js +0 -54
- package/dist/chunk-GYE6FU7P.js +0 -626
- package/dist/chunk-IEIGHCZS.js +0 -1278
- package/dist/chunk-J5GQGWYX.js +0 -1731
- package/dist/chunk-JMDUO47F.js +0 -5071
- package/dist/chunk-JTQPPUDG.js +0 -379
- package/dist/chunk-JTQPPUDG.js.map +0 -7
- package/dist/chunk-K32DV4QI.js +0 -302
- package/dist/chunk-K77W4SSI.js +0 -98
- package/dist/chunk-KEHVNCFK.js +0 -102
- package/dist/chunk-MMKSXXU2.js +0 -55
- package/dist/chunk-NGMM2MNC.js +0 -518
- package/dist/chunk-OASGOTRM.js +0 -80
- package/dist/chunk-OBDIJ4QS.js +0 -2146
- package/dist/chunk-OEBGQKQR.js +0 -2676
- package/dist/chunk-OI5KBFBE.js +0 -468
- package/dist/chunk-OWEBE64A.js +0 -243
- package/dist/chunk-P7X4LDW4.js +0 -783
- package/dist/chunk-Q4HTEL2O.js +0 -56
- package/dist/chunk-QGH5BM2D.js +0 -141
- package/dist/chunk-QSOFGLWZ.js +0 -240
- package/dist/chunk-QXDGIQYA.js +0 -217
- package/dist/chunk-R2QE6ROO.js +0 -176
- package/dist/chunk-RMHUDMZ7.js +0 -103
- package/dist/chunk-SXB4IZQ7.js +0 -123
- package/dist/chunk-SYPSS3JQ.js +0 -387
- package/dist/chunk-SYPSS3JQ.js.map +0 -7
- package/dist/chunk-T6Q76PDN.js +0 -182
- package/dist/chunk-TYR355RM.js +0 -263
- package/dist/chunk-ULZPHJYD.js +0 -2784
- package/dist/chunk-V3SOBDIT.js +0 -255
- package/dist/chunk-VFUSBU43.js +0 -14
- package/dist/chunk-VOF6NWTS.js +0 -274
- package/dist/chunk-WGDJX7WZ.js +0 -2327
- package/dist/chunk-WIQVSCD5.js +0 -294
- package/dist/chunk-WXXRVJSP.js +0 -56
- package/dist/chunk-X4MV2M5F.js +0 -129
- package/dist/chunk-XVVVNCXS.js +0 -217
- package/dist/chunk-YHP7MYB7.js +0 -49
- package/dist/chunk-YHWQWVWX.js +0 -550
- package/dist/chunk-YKZOQTT4.js +0 -1233
- package/dist/chunk-Z5HU276I.js +0 -34
- package/dist/chunk-Z6MCBFDM.js +0 -194
- package/dist/cohort-GVAJTICQ.js +0 -70
- package/dist/condition-EGPNMM47.js +0 -327
- package/dist/controls-HBROSXHF.js +0 -34
- package/dist/controls.config-FWKV66TU.js +0 -34
- package/dist/correlation-CEHE66EC.js +0 -95
- package/dist/customdata.inputui-LFT3N5FD.js +0 -284
- package/dist/dataDownload-ZPAIAAE4.js +0 -329
- package/dist/databrowser.ui-W5JGFBE6.js +0 -425
- package/dist/dictionary-RBE2CIZI.js +0 -113
- package/dist/dnaMethylation-CX22TSRO.js +0 -33
- package/dist/dnaMethylation.integration.spec-KEE6ZZRT.js +0 -198
- package/dist/dofetch-6NAGX5EG.js +0 -48
- package/dist/e2pca-XDGPTEXL.js +0 -344
- package/dist/ep-IUIDMIGW.js +0 -1249
- package/dist/expclust.gdc.spec-BMN2PTJX.js +0 -302
- package/dist/facet-DTJKZOBA.js +0 -519
- package/dist/gb-MV7MUJWO.js +0 -81
- package/dist/geneExpClustering-NFH5FS3S.js +0 -244
- package/dist/geneExpression-XVOLNYVN.js +0 -310
- package/dist/geneExpression-ZP2VWHED.js +0 -33
- package/dist/geneExpression.unit.spec-2NSK4ARK.js +0 -128
- package/dist/geneORA-HQ7FLMEJ.js +0 -273
- package/dist/geneRanking-MIABUKTN.js +0 -548
- package/dist/geneVariant-H52UUK6Z.js +0 -289
- package/dist/geneVariant-HDFWLALZ.js +0 -36
- package/dist/geneVariant.integration.spec-O36JK4B7.js +0 -503
- package/dist/geneVariant.integration.spec-O36JK4B7.js.map +0 -7
- package/dist/genefusion.ui-HSDZQHJA.js +0 -303
- package/dist/geneset-WKV3X2EJ.js +0 -203
- package/dist/genomeBrowser.spec-UTAHAU76.js +0 -276
- package/dist/grin2-M2JDZVYU.js +0 -70
- package/dist/grin2-N2QM3XTG.js +0 -949
- package/dist/hierCluster-LZI6OTRS.js +0 -59
- package/dist/hierCluster-VVXPOTQU.js +0 -55
- package/dist/hierCluster.config-NCYH3Y7Z.js +0 -36
- package/dist/hierCluster.integration.spec-ZDOOCTV3.js +0 -483
- package/dist/hierCluster.interactivity-4HP3JCON.js +0 -49
- package/dist/hierCluster.renderers-3F5GMEXA.js +0 -19
- package/dist/imagePlot-OA4WTMLU.js +0 -156
- package/dist/importPlot-OSTC2GPO.js +0 -8
- package/dist/isoformExpression-LZ5RTUS5.js +0 -35
- package/dist/isoformExpression.unit.spec-L6YDBKYM.js +0 -237
- package/dist/junction-UR6COY3A.js +0 -36
- package/dist/junction.unit.spec-NVBJTGA4.js +0 -182
- package/dist/launch.adhoc-AZG6QJG7.js +0 -37
- package/dist/leftlabel.sample-LYZG25RT.js +0 -258
- package/dist/lollipop-FJXVP5QM.js +0 -166
- package/dist/maf-OXJIJD6D.js +0 -455
- package/dist/maftimeline-75N6ZXEM.js +0 -587
- package/dist/matrix-QFKGEW5A.js +0 -54
- package/dist/matrix-XT7LUV5K.js +0 -59
- package/dist/matrix.cells-NB7LKKXV.js +0 -26
- package/dist/matrix.config-X6HS4UGD.js +0 -37
- package/dist/matrix.data-VLFF34SS.js +0 -23
- package/dist/matrix.groups-F62TSKIG.js +0 -26
- package/dist/matrix.integration.spec-7QBYWHW6.js +0 -3160
- package/dist/matrix.interactivity-2FBXB52E.js +0 -37
- package/dist/matrix.layout-6TPVKLSX.js +0 -39
- package/dist/matrix.legend-L4ULBMGX.js +0 -20
- package/dist/matrix.renderers-DK6YRLO2.js +0 -34
- package/dist/matrix.serieses-DCRJLJ3H.js +0 -19
- package/dist/matrix.sort-XSGPH44J.js +0 -26
- package/dist/matrix.sort.unit.spec-JF75F4I4.js +0 -468
- package/dist/matrix.sorterUi.unit.spec-66JMV5BK.js +0 -338
- package/dist/matrix.unit.spec-36AR4I43.js +0 -150
- package/dist/mavb-ZH4RO77H.js +0 -727
- package/dist/mds.fimo-MVP2G5PS.js +0 -513
- package/dist/mds.samplescatterplot-GYJ3OI4N.js +0 -1545
- package/dist/mds.survivalplot-Q6MYQGTB.js +0 -477
- package/dist/multivalue-BGFMPH4X.js +0 -83
- package/dist/numericDictTermCluster-FNNVLIWB.js +0 -63
- package/dist/oncomatrix-LIIALWWN.js +0 -290
- package/dist/oncomatrix.spec-NEMLM2ZN.js +0 -443
- package/dist/plot.2dvaf-HJO3SKNK.js +0 -372
- package/dist/plot.app-WSLFOFSR.js +0 -36
- package/dist/plot.barplot-SPI5JA37.js +0 -97
- package/dist/plot.boxplot-4W3XEY5I.js +0 -146
- package/dist/plot.brainImaging-KEOUTYIB.js +0 -51
- package/dist/plot.disco-7IDMKNAQ.js +0 -99
- package/dist/plot.ssgq-IOKUGDC4.js +0 -134
- package/dist/plot.vaf2cov-SFSZ6M43.js +0 -253
- package/dist/polar2-PLPE5TX5.js +0 -232
- package/dist/profileForms-ZDHG67GM.js +0 -941
- package/dist/profilePlot-UUZA2YG6.js +0 -49
- package/dist/proteinView-GHS3XARL.js +0 -1357
- package/dist/proteomeCohortCompare-TQ3BGIPS.js +0 -912
- package/dist/pseudbulk.unit.spec-HFESRN7A.js +0 -86
- package/dist/pseudobulk-ODXYIUD5.js +0 -35
- package/dist/qualitative-WOSYAIGQ.js +0 -38
- package/dist/radar2-2KXBS3Y3.js +0 -327
- package/dist/radarFacility2-JCOKJQQF.js +0 -335
- package/dist/render-IJ6GE3NE.js +0 -33
- package/dist/report-WLLFUA7L.js +0 -217
- package/dist/sampleView-LPKSYUNF.js +0 -43
- package/dist/samplelst-MNI2MGMT.js +0 -106
- package/dist/samplematrix-KEKJP2B4.js +0 -2193
- package/dist/sc-ZYKFRJU4.js +0 -81
- package/dist/scatter-BAEZOFWA.js +0 -88
- package/dist/scatter-IGFBIZ3B.js +0 -925
- package/dist/selectGenomeWithTklst-HBHRXEDY.js +0 -129
- package/dist/singleCellCellType-PMFDV24B.js +0 -33
- package/dist/singleCellCellType.unit.spec-ZLYDUDIY.js +0 -154
- package/dist/singleCellGeneExpression-SUYO3HR3.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-3N3HRXFN.js +0 -148
- package/dist/singleCellNumericValue-BV7C6Y34.js +0 -33
- package/dist/singleCellNumericValue.unit.spec-7VJOMYQ6.js +0 -416
- package/dist/singleCellPlot-BG7UJOHA.js +0 -48
- package/dist/singlecell-BANNFGBS.js +0 -81
- package/dist/singlecell-ZUTL5ZWE.js +0 -1566
- package/dist/snp-BHG4NVK4.js +0 -33
- package/dist/snp.unit.spec-Q3AZHQRC.js +0 -171
- package/dist/snplocus-HTJL63M3.js +0 -203
- package/dist/spliceevent.a53ss.diagram-UKRIP7EP.js +0 -146
- package/dist/spliceevent.exonskip.diagram-CU777CXQ.js +0 -278
- package/dist/spliceevent.noeventdiagram-LGLXCF25.js +0 -455
- package/dist/ssGSEA-BIEEKAKX.js +0 -33
- package/dist/ssGSEA.unit.spec-YD4UDIRH.js +0 -83
- package/dist/stattable-LFR3RSD6.js +0 -117
- package/dist/studyCatalog-RINIZ277.js +0 -414
- package/dist/summarizeCnvGeneexp-ZQFNPR65.js +0 -158
- package/dist/summarizeGeneexpSurvival-GIS7XMMH.js +0 -105
- package/dist/summarizeMutationCnv-FWF7YIGR.js +0 -159
- package/dist/summarizeMutationDiagnosis-V5L2OKTK.js +0 -35
- package/dist/summarizeMutationSurvival-LAUUF6XN.js +0 -99
- package/dist/summary-OMU3ACNE.js +0 -44
- package/dist/summary.integration.spec-6JZAT73L.js +0 -409
- package/dist/summaryInput-QIKL3HDD.js +0 -242
- package/dist/sunburst-32IW2R57.js +0 -278
- package/dist/survival-BMOPVAN2.js +0 -53
- package/dist/survival-H5AWMQ36.js +0 -1248
- package/dist/survival.integration.spec-66UOWSZG.js +0 -613
- package/dist/svgraph-B75FS3BB.js +0 -1382
- package/dist/svmr-IUEUOHVO.js +0 -3837
- package/dist/table-YAAH7WR6.js +0 -197
- package/dist/termCollection-7F5ZG2DB.js +0 -252
- package/dist/termCollection-KNFUELYY.js +0 -33
- package/dist/termCollection.unit.spec-S6M6QC4C.js +0 -299
- package/dist/termCollectionFractionSelection-X22VMJWY.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-ELU6SD7P.js +0 -188
- package/dist/tk-TT666UVE.js +0 -41
- package/dist/tk-UOPNJ323.js +0 -1121
- package/dist/tp.ui-HGAHRKO5.js +0 -1454
- package/dist/tvs.dt-H7YYR4EB.js +0 -34
- package/dist/tvs.dtcnv.categorical-IPJTKGMF.js +0 -35
- package/dist/tvs.dtcnv.continuous-XY5XZ4GH.js +0 -67
- package/dist/tvs.dtfusion-VFCBMXRM.js +0 -35
- package/dist/tvs.dtitd-RZVW6FTR.js +0 -35
- package/dist/tvs.dtsnvindel-IDPJWSGC.js +0 -35
- package/dist/tvs.dtsv-QERP756F.js +0 -35
- package/dist/tvs.numeric-22AHXO5K.js +0 -20
- package/dist/tvs.samplelst-6KNDHBIU.js +0 -98
- package/dist/tvs.termCollection-GWPJK3NE.js +0 -124
- package/dist/vocabulary-C5FIZMPQ.js +0 -36
- package/dist/wsi.direct-2RBCBXDA.js +0 -8343
- /package/dist/{2dmaf-VTMPVZGT.js.map → 2dmaf-43QBND66.js.map} +0 -0
- /package/dist/{AggMatrixInput-CH3RQ2QC.js.map → AggMatrixInput-X7NGFUHH.js.map} +0 -0
- /package/dist/{AggregateMatrix-DPCHUOMF.js.map → AggregateMatrix-M4HRI4PX.js.map} +0 -0
- /package/dist/{AppHeader-RA7T467G.js.map → AppHeader-QBRQN6PM.js.map} +0 -0
- /package/dist/{BoxPlot-7Q7SMT26.js.map → BoxPlot-V6SPSEQ2.js.map} +0 -0
- /package/dist/{CorrelationVolcano-YV4UHOAX.js.map → CorrelationVolcano-UFPCYC77.js.map} +0 -0
- /package/dist/{Cuminc-ZN53C3MD.js.map → Cuminc-KXGXGLKZ.js.map} +0 -0
- /package/dist/{DE-BEWW5AIG.js.map → DE-K2YXHOOW.js.map} +0 -0
- /package/dist/{DM-2LBNE4WE.js.map → DM-C7VN3RWB.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-WE4LBHEF.js.map → DifferentialAnalysis-A2BU4WB3.js.map} +0 -0
- /package/dist/{Disco-PTZQF7IM.js.map → Disco-HECQVKXG.js.map} +0 -0
- /package/dist/{Disco.UI-NBR67N5M.js.map → Disco.UI-XF2GEKRW.js.map} +0 -0
- /package/dist/{DmrPlot-QROLI66S.js.map → DmrPlot-TVXVXOHL.js.map} +0 -0
- /package/dist/{GB-FEBSFX5U.js.map → GB-66ZGJ5ST.js.map} +0 -0
- /package/dist/{GSEA-KOXOVC5V.js.map → GSEA-Z4YPI4HY.js.map} +0 -0
- /package/dist/{GeneExpInput-DYBK54HC.js.map → GeneExpInput-VBIZZV27.js.map} +0 -0
- /package/dist/{Geomap-QRD2WZVL.js.map → Geomap-UIIOLRFA.js.map} +0 -0
- /package/dist/{HicApp-VKET4QHD.js.map → HicApp-73ESVNBA.js.map} +0 -0
- /package/dist/{IDCViewer-RLLTXGD7.js.map → IDCViewer-RBYN5A4P.js.map} +0 -0
- /package/dist/{NumBinaryEditor-GYHOYPQL.js.map → NumBinaryEditor-DJLSNSLE.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-E2HKBWOO.js.map → NumBinaryEditor.unit.spec-LCJHL3XM.js.map} +0 -0
- /package/dist/{NumContEditor-3V76ZSEY.js.map → NumContEditor-SVLDJ2ML.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-RTT5Q5E5.js.map → NumContEditor.unit.spec-JDMSK4HY.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-O5DMPY7H.js.map → NumCustomBinEditor-BI63AH3R.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-5LZBP2JL.js.map → NumCustomBinEditor.unit.spec-5433G7Y2.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-DFOJ7AIH.js.map → NumDiscreteEditor-LEZTGXAV.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-PPJGEBFX.js.map → NumDiscreteEditor.unit.spec-5OEORHJ4.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-O6RDO32C.js.map → NumRegularBinEditor-EXWHIWPM.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-GOB3BF25.js.map → NumRegularBinEditor.unit.spec-QY25Z2TT.js.map} +0 -0
- /package/dist/{NumSplineEditor-PUXJF2RW.js.map → NumSplineEditor-XPPMYYAD.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-4VOAAMOU.js.map → NumSplineEditor.unit.spec-GOGBKWMN.js.map} +0 -0
- /package/dist/{NumericDensity-E6MH2THZ.js.map → NumericDensity-RKY2IQ72.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-IRPFBQUS.js.map → NumericDensity.unit.spec-5ZM6ICXM.js.map} +0 -0
- /package/dist/{NumericHandler-42RR54X3.js.map → NumericHandler-FXF3M5M3.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-YYOO7XVT.js.map → NumericHandler.unit.spec-M2OQTBJX.js.map} +0 -0
- /package/dist/{ProteomeInput-4N2G6IFX.js.map → ProteomeInput-TMZ3THRL.js.map} +0 -0
- /package/dist/{Regression-LIWUWAGQ.js.map → Regression-GQGAATHG.js.map} +0 -0
- /package/dist/{RunChart2-VAX5JGZY.js.map → RunChart2-7GNDWRKC.js.map} +0 -0
- /package/dist/{SC-UHBZ3HRO.js.map → SC-R2I2EMHA.js.map} +0 -0
- /package/dist/{Violin-V23VZR6B.js.map → Violin-GKKEB55L.js.map} +0 -0
- /package/dist/{Volcano-64S4AW66.js.map → Volcano-HRG5EFWH.js.map} +0 -0
- /package/dist/{Wsi-FOJCKDCP.js.map → Wsi-OHRCGYYD.js.map} +0 -0
- /package/dist/{adSandbox-CLMUYNC3.js.map → adSandbox-H56B25WR.js.map} +0 -0
- /package/dist/{animatedBubbleChart-GMLNYTQC.js.map → animatedBubbleChart-7SXFHU4J.js.map} +0 -0
- /package/dist/{app-2SFDRDN2.js.map → app-22JCSULA.js.map} +0 -0
- /package/dist/{app-QOZ36UR4.js.map → app-RGZJB6LN.js.map} +0 -0
- /package/dist/{bam-LLAK7FVG.js.map → bam-HA65TRGX.js.map} +0 -0
- /package/dist/{barchart-SEC6VKQ2.js.map → barchart-6XO75OMA.js.map} +0 -0
- /package/dist/{barchart2-D4FXZCTU.js.map → barchart2-6E5BIRHD.js.map} +0 -0
- /package/dist/{block-XGK6TEGH.js.map → block-43KNTXZ5.js.map} +0 -0
- /package/dist/{block.init-UMRCAKCF.js.map → block.init-TPU5QIPA.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-LFPJ52SX.js.map → block.mds.expressionrank-QZDRFXCH.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-2QIEN6AH.js.map → block.mds.geneboxplot-64QVBK5Q.js.map} +0 -0
- /package/dist/{block.mds.junction-Z4HUFSG2.js.map → block.mds.junction-I4J6VXNT.js.map} +0 -0
- /package/dist/{block.mds.svcnv-3GXGY6ET.js.map → block.mds.svcnv-GDQMSQFF.js.map} +0 -0
- /package/dist/{block.svg-7RCJLMAP.js.map → block.svg-2MZFT5QP.js.map} +0 -0
- /package/dist/{block.tk.aicheck-5N6EGZ6F.js.map → block.tk.aicheck-2MKHF6LX.js.map} +0 -0
- /package/dist/{block.tk.ase-V3AJRYT6.js.map → block.tk.ase-CLYGKFTS.js.map} +0 -0
- /package/dist/{block.tk.bam-W6QOVVEU.js.map → block.tk.bam-XTR4QA5Z.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-FKTPJZTH.js.map → block.tk.bedgraphdot-A2P2CXRU.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-Y3M2TDM2.js.map → block.tk.bigwig.ui-YZH6JXEO.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-3SWYTMFQ.js.map → block.tk.hicstraw-QBK5VWGU.js.map} +0 -0
- /package/dist/{block.tk.junction-OXB22PDS.js.map → block.tk.junction-5DEVBA7G.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-PWBLRGCO.js.map → block.tk.junction.textmatrixui-7TTQMO6W.js.map} +0 -0
- /package/dist/{block.tk.ld-NTRJL5GA.js.map → block.tk.ld-PRIVUPKL.js.map} +0 -0
- /package/dist/{block.tk.menu-JIHSGGIO.js.map → block.tk.menu-JGBRFSS3.js.map} +0 -0
- /package/dist/{block.tk.pgv-4Q6CY6QN.js.map → block.tk.pgv-KQJCJMVD.js.map} +0 -0
- /package/dist/{brainImaging-MBI4XTTU.js.map → brainImaging-4SLVJ2HV.js.map} +0 -0
- /package/dist/{brainRegions-YVTAESRP.js.map → brainRegions-BDIVM2SG.js.map} +0 -0
- /package/dist/{bubbleHeatmap-ZKTA3AIG.js.map → bubbleHeatmap-ORKFJNEQ.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-GJZNXDG4.js.map → cellTypeBubbleHeatmap-VOHLI4P7.js.map} +0 -0
- /package/dist/{chunk-Z6MCBFDM.js.map → chunk-26N3B2JO.js.map} +0 -0
- /package/dist/{chunk-QSOFGLWZ.js.map → chunk-2HNJF5ZI.js.map} +0 -0
- /package/dist/{chunk-5FRETII3.js.map → chunk-2LNGHIOC.js.map} +0 -0
- /package/dist/{chunk-VOF6NWTS.js.map → chunk-3SCQGODD.js.map} +0 -0
- /package/dist/{chunk-NGMM2MNC.js.map → chunk-47STLK7K.js.map} +0 -0
- /package/dist/{chunk-ANACCKCQ.js.map → chunk-4XYQG3XU.js.map} +0 -0
- /package/dist/{chunk-Z5HU276I.js.map → chunk-53XNEXR6.js.map} +0 -0
- /package/dist/{chunk-SXB4IZQ7.js.map → chunk-5UB5H7A3.js.map} +0 -0
- /package/dist/{chunk-QGH5BM2D.js.map → chunk-6FYQYTV6.js.map} +0 -0
- /package/dist/{chunk-T6Q76PDN.js.map → chunk-6RP6CR4Q.js.map} +0 -0
- /package/dist/{chunk-RMHUDMZ7.js.map → chunk-A5D37SIL.js.map} +0 -0
- /package/dist/{chunk-DANF4CC5.js.map → chunk-ADRFQ5AL.js.map} +0 -0
- /package/dist/{chunk-6LDKSKYQ.js.map → chunk-AUZ63NKJ.js.map} +0 -0
- /package/dist/{chunk-XVVVNCXS.js.map → chunk-B563DUNQ.js.map} +0 -0
- /package/dist/{chunk-6FG6JFZP.js.map → chunk-BK6UDL7F.js.map} +0 -0
- /package/dist/{chunk-7GDRMBNO.js.map → chunk-CT4IG5IR.js.map} +0 -0
- /package/dist/{chunk-J5GQGWYX.js.map → chunk-D6UBH77N.js.map} +0 -0
- /package/dist/{chunk-5LYVIIYR.js.map → chunk-DS4GLMJL.js.map} +0 -0
- /package/dist/{chunk-AFQKYV4D.js.map → chunk-DSBRHWZ7.js.map} +0 -0
- /package/dist/{chunk-7FFTAYT4.js.map → chunk-DX35MKPR.js.map} +0 -0
- /package/dist/{chunk-BCCFJYPE.js.map → chunk-EDZJ3VNZ.js.map} +0 -0
- /package/dist/{chunk-DNCFJTPI.js.map → chunk-F47A4CVK.js.map} +0 -0
- /package/dist/{chunk-AVCEHJG7.js.map → chunk-G4H34RNK.js.map} +0 -0
- /package/dist/{chunk-TYR355RM.js.map → chunk-G7RUMSHL.js.map} +0 -0
- /package/dist/{chunk-FNW6BKOA.js.map → chunk-GXFS25SK.js.map} +0 -0
- /package/dist/{chunk-AVCIZWH5.js.map → chunk-IBT6WRY6.js.map} +0 -0
- /package/dist/{chunk-K32DV4QI.js.map → chunk-IJ7AIDEO.js.map} +0 -0
- /package/dist/{chunk-YKZOQTT4.js.map → chunk-JBFVJHZN.js.map} +0 -0
- /package/dist/{chunk-WXXRVJSP.js.map → chunk-JDVBUIEU.js.map} +0 -0
- /package/dist/{chunk-2PDBU42F.js.map → chunk-K7RW5TPU.js.map} +0 -0
- /package/dist/{chunk-YHP7MYB7.js.map → chunk-LBCIXRI2.js.map} +0 -0
- /package/dist/{chunk-K77W4SSI.js.map → chunk-MNXL2UV5.js.map} +0 -0
- /package/dist/{chunk-CYWEYHJQ.js.map → chunk-NI5CVN43.js.map} +0 -0
- /package/dist/{chunk-CN6KJORZ.js.map → chunk-NOBXDQDU.js.map} +0 -0
- /package/dist/{chunk-2RMSV4BS.js.map → chunk-NQNVLZOA.js.map} +0 -0
- /package/dist/{chunk-D5ETVOOE.js.map → chunk-NULFGPE3.js.map} +0 -0
- /package/dist/{chunk-33BE7AYS.js.map → chunk-OUIXGM3K.js.map} +0 -0
- /package/dist/{chunk-VFUSBU43.js.map → chunk-P4LGA36F.js.map} +0 -0
- /package/dist/{chunk-MMKSXXU2.js.map → chunk-PU5FQWAY.js.map} +0 -0
- /package/dist/{chunk-Q4HTEL2O.js.map → chunk-PZ2OSHBF.js.map} +0 -0
- /package/dist/{chunk-JMDUO47F.js.map → chunk-QBNDPW7O.js.map} +0 -0
- /package/dist/{chunk-OASGOTRM.js.map → chunk-R5PKBL7V.js.map} +0 -0
- /package/dist/{chunk-GYE6FU7P.js.map → chunk-RI65SIN3.js.map} +0 -0
- /package/dist/{chunk-OEBGQKQR.js.map → chunk-RPGLLO4T.js.map} +0 -0
- /package/dist/{chunk-BG3SGGVB.js.map → chunk-RXNZK7MF.js.map} +0 -0
- /package/dist/{chunk-YHWQWVWX.js.map → chunk-S2ICJ3RZ.js.map} +0 -0
- /package/dist/{chunk-X4MV2M5F.js.map → chunk-SFHG6H2D.js.map} +0 -0
- /package/dist/{chunk-P7X4LDW4.js.map → chunk-TQ2DVEQO.js.map} +0 -0
- /package/dist/{chunk-R2QE6ROO.js.map → chunk-U6BJ4ZNU.js.map} +0 -0
- /package/dist/{chunk-B6UXFX73.js.map → chunk-UXD6G6G4.js.map} +0 -0
- /package/dist/{chunk-OBDIJ4QS.js.map → chunk-VA57CUC7.js.map} +0 -0
- /package/dist/{chunk-WIQVSCD5.js.map → chunk-VH5W6ODW.js.map} +0 -0
- /package/dist/{chunk-V3SOBDIT.js.map → chunk-VROF55EH.js.map} +0 -0
- /package/dist/{chunk-QXDGIQYA.js.map → chunk-VWA7BYSV.js.map} +0 -0
- /package/dist/{chunk-KEHVNCFK.js.map → chunk-X37BRSGS.js.map} +0 -0
- /package/dist/{chunk-AR3HXZIW.js.map → chunk-XQYDXA47.js.map} +0 -0
- /package/dist/{chunk-6G45AUSV.js.map → chunk-XXPUZVS4.js.map} +0 -0
- /package/dist/{chunk-OI5KBFBE.js.map → chunk-Y7V5AIUH.js.map} +0 -0
- /package/dist/{chunk-OWEBE64A.js.map → chunk-YBNIOGUE.js.map} +0 -0
- /package/dist/{chunk-WGDJX7WZ.js.map → chunk-YEYMNF7V.js.map} +0 -0
- /package/dist/{chunk-IEIGHCZS.js.map → chunk-YJ74QATP.js.map} +0 -0
- /package/dist/{chunk-ULZPHJYD.js.map → chunk-ZG2HCGAO.js.map} +0 -0
- /package/dist/{chunk-FR5USNAT.js.map → chunk-ZZN7ZD7J.js.map} +0 -0
- /package/dist/{cohort-GVAJTICQ.js.map → cohort-6OCRQQ2S.js.map} +0 -0
- /package/dist/{condition-EGPNMM47.js.map → condition-SZVXH3VU.js.map} +0 -0
- /package/dist/{controls-HBROSXHF.js.map → controls-MO6ZND76.js.map} +0 -0
- /package/dist/{controls.config-FWKV66TU.js.map → controls.config-P4MSTGL4.js.map} +0 -0
- /package/dist/{correlation-CEHE66EC.js.map → correlation-NMI3CM3T.js.map} +0 -0
- /package/dist/{customdata.inputui-LFT3N5FD.js.map → customdata.inputui-VCHSCA65.js.map} +0 -0
- /package/dist/{dataDownload-ZPAIAAE4.js.map → dataDownload-VQHOTQ5D.js.map} +0 -0
- /package/dist/{databrowser.ui-W5JGFBE6.js.map → databrowser.ui-ZFOCAG32.js.map} +0 -0
- /package/dist/{dictionary-RBE2CIZI.js.map → dictionary-S5YCFUWH.js.map} +0 -0
- /package/dist/{dnaMethylation-CX22TSRO.js.map → dnaMethylation-MQZLZRGT.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-KEE6ZZRT.js.map → dnaMethylation.integration.spec-H546EBUO.js.map} +0 -0
- /package/dist/{dofetch-6NAGX5EG.js.map → dofetch-QZIYSC7H.js.map} +0 -0
- /package/dist/{e2pca-XDGPTEXL.js.map → e2pca-XOXOS3PN.js.map} +0 -0
- /package/dist/{ep-IUIDMIGW.js.map → ep-U6KRL7FR.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-BMN2PTJX.js.map → expclust.gdc.spec-HCK65C63.js.map} +0 -0
- /package/dist/{facet-DTJKZOBA.js.map → facet-DCC25KJO.js.map} +0 -0
- /package/dist/{gb-MV7MUJWO.js.map → gb-TIFWFD4Y.js.map} +0 -0
- /package/dist/{geneExpClustering-NFH5FS3S.js.map → geneExpClustering-6DQEOTOY.js.map} +0 -0
- /package/dist/{geneExpression-XVOLNYVN.js.map → geneExpression-EASRAN6B.js.map} +0 -0
- /package/dist/{geneExpression-ZP2VWHED.js.map → geneExpression-G4YMDCBH.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-2NSK4ARK.js.map → geneExpression.unit.spec-XVEJYMPX.js.map} +0 -0
- /package/dist/{geneORA-HQ7FLMEJ.js.map → geneORA-6UBS5GSC.js.map} +0 -0
- /package/dist/{geneRanking-MIABUKTN.js.map → geneRanking-UXXYWHNB.js.map} +0 -0
- /package/dist/{geneVariant-H52UUK6Z.js.map → geneVariant-SZRJOXVC.js.map} +0 -0
- /package/dist/{geneVariant-HDFWLALZ.js.map → geneVariant-TKFKARZK.js.map} +0 -0
- /package/dist/{genefusion.ui-HSDZQHJA.js.map → genefusion.ui-TJLYXSVL.js.map} +0 -0
- /package/dist/{geneset-WKV3X2EJ.js.map → geneset-YTBDLEIH.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-UTAHAU76.js.map → genomeBrowser.spec-ZO4LFIXE.js.map} +0 -0
- /package/dist/{grin2-N2QM3XTG.js.map → grin2-FC4VYU54.js.map} +0 -0
- /package/dist/{grin2-M2JDZVYU.js.map → grin2-LIFKBMVK.js.map} +0 -0
- /package/dist/{hierCluster-LZI6OTRS.js.map → hierCluster-56EGAPOR.js.map} +0 -0
- /package/dist/{hierCluster-VVXPOTQU.js.map → hierCluster-DR5NWCXA.js.map} +0 -0
- /package/dist/{hierCluster.config-NCYH3Y7Z.js.map → hierCluster.config-NACE3FH2.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-ZDOOCTV3.js.map → hierCluster.integration.spec-PEEXPAS6.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-4HP3JCON.js.map → hierCluster.interactivity-OCBGLUJM.js.map} +0 -0
- /package/dist/{hierCluster.renderers-3F5GMEXA.js.map → hierCluster.renderers-JNQUSAP4.js.map} +0 -0
- /package/dist/{imagePlot-OA4WTMLU.js.map → imagePlot-GR4JNUGG.js.map} +0 -0
- /package/dist/{importPlot-OSTC2GPO.js.map → importPlot-4R4BSPVD.js.map} +0 -0
- /package/dist/{isoformExpression-LZ5RTUS5.js.map → isoformExpression-ST5ZW2NE.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-L6YDBKYM.js.map → isoformExpression.unit.spec-PPFC5Z7N.js.map} +0 -0
- /package/dist/{junction-UR6COY3A.js.map → junction-7AKZHOHV.js.map} +0 -0
- /package/dist/{junction.unit.spec-NVBJTGA4.js.map → junction.unit.spec-SZUJXRQ2.js.map} +0 -0
- /package/dist/{launch.adhoc-AZG6QJG7.js.map → launch.adhoc-RWJQUOJ6.js.map} +0 -0
- /package/dist/{leftlabel.sample-LYZG25RT.js.map → leftlabel.sample-WRHLVQAQ.js.map} +0 -0
- /package/dist/{lollipop-FJXVP5QM.js.map → lollipop-ZZWXTM23.js.map} +0 -0
- /package/dist/{maf-OXJIJD6D.js.map → maf-N4XPZTQU.js.map} +0 -0
- /package/dist/{maftimeline-75N6ZXEM.js.map → maftimeline-2FBS6RWS.js.map} +0 -0
- /package/dist/{matrix-QFKGEW5A.js.map → matrix-5KEQPB5H.js.map} +0 -0
- /package/dist/{matrix-XT7LUV5K.js.map → matrix-RJUNXB5N.js.map} +0 -0
- /package/dist/{matrix.cells-NB7LKKXV.js.map → matrix.cells-WXTPOJYB.js.map} +0 -0
- /package/dist/{matrix.config-X6HS4UGD.js.map → matrix.config-ZZFLLD6Z.js.map} +0 -0
- /package/dist/{matrix.data-VLFF34SS.js.map → matrix.data-3PQ73GVJ.js.map} +0 -0
- /package/dist/{matrix.groups-F62TSKIG.js.map → matrix.groups-U6CKS6WW.js.map} +0 -0
- /package/dist/{matrix.integration.spec-7QBYWHW6.js.map → matrix.integration.spec-T53PMVHC.js.map} +0 -0
- /package/dist/{matrix.interactivity-2FBXB52E.js.map → matrix.interactivity-3LDZV3F7.js.map} +0 -0
- /package/dist/{matrix.layout-6TPVKLSX.js.map → matrix.layout-MINLYQCA.js.map} +0 -0
- /package/dist/{matrix.legend-L4ULBMGX.js.map → matrix.legend-6GSDFZHS.js.map} +0 -0
- /package/dist/{matrix.renderers-DK6YRLO2.js.map → matrix.renderers-5BKOXDE3.js.map} +0 -0
- /package/dist/{matrix.serieses-DCRJLJ3H.js.map → matrix.serieses-6FCFIFAQ.js.map} +0 -0
- /package/dist/{matrix.sort-XSGPH44J.js.map → matrix.sort-EHVVYDZ3.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-JF75F4I4.js.map → matrix.sort.unit.spec-BCWE4AFX.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-66JMV5BK.js.map → matrix.sorterUi.unit.spec-XJR5KXRL.js.map} +0 -0
- /package/dist/{matrix.unit.spec-36AR4I43.js.map → matrix.unit.spec-TUCKPE26.js.map} +0 -0
- /package/dist/{mavb-ZH4RO77H.js.map → mavb-GWSNRBLM.js.map} +0 -0
- /package/dist/{mds.fimo-MVP2G5PS.js.map → mds.fimo-OMAQRSMW.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-GYJ3OI4N.js.map → mds.samplescatterplot-4UW3CC45.js.map} +0 -0
- /package/dist/{mds.survivalplot-Q6MYQGTB.js.map → mds.survivalplot-2CJYJBD2.js.map} +0 -0
- /package/dist/{multivalue-BGFMPH4X.js.map → multivalue-G44MHEYI.js.map} +0 -0
- /package/dist/{numericDictTermCluster-FNNVLIWB.js.map → numericDictTermCluster-5BDRGVQG.js.map} +0 -0
- /package/dist/{oncomatrix-LIIALWWN.js.map → oncomatrix-ZTVO23ZH.js.map} +0 -0
- /package/dist/{oncomatrix.spec-NEMLM2ZN.js.map → oncomatrix.spec-2QVK2A3Q.js.map} +0 -0
- /package/dist/{plot.2dvaf-HJO3SKNK.js.map → plot.2dvaf-CL5YUXKH.js.map} +0 -0
- /package/dist/{plot.app-WSLFOFSR.js.map → plot.app-4ANKPSNP.js.map} +0 -0
- /package/dist/{plot.barplot-SPI5JA37.js.map → plot.barplot-BMGDNZRA.js.map} +0 -0
- /package/dist/{plot.boxplot-4W3XEY5I.js.map → plot.boxplot-GMLQCDP6.js.map} +0 -0
- /package/dist/{plot.brainImaging-KEOUTYIB.js.map → plot.brainImaging-RZXX3NUZ.js.map} +0 -0
- /package/dist/{plot.disco-7IDMKNAQ.js.map → plot.disco-3MD4J4C7.js.map} +0 -0
- /package/dist/{plot.ssgq-IOKUGDC4.js.map → plot.ssgq-ZC4UYKOT.js.map} +0 -0
- /package/dist/{plot.vaf2cov-SFSZ6M43.js.map → plot.vaf2cov-4DHFMYQV.js.map} +0 -0
- /package/dist/{polar2-PLPE5TX5.js.map → polar2-TMB5EITR.js.map} +0 -0
- /package/dist/{profileForms-ZDHG67GM.js.map → profileForms-GD7BIOOD.js.map} +0 -0
- /package/dist/{profilePlot-UUZA2YG6.js.map → profilePlot-CZLK5E74.js.map} +0 -0
- /package/dist/{proteinView-GHS3XARL.js.map → proteinView-FEEEXLKT.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-TQ3BGIPS.js.map → proteomeCohortCompare-NVLJ2FXX.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-HFESRN7A.js.map → pseudbulk.unit.spec-GHQZPNAH.js.map} +0 -0
- /package/dist/{pseudobulk-ODXYIUD5.js.map → pseudobulk-G5UQIRKL.js.map} +0 -0
- /package/dist/{qualitative-WOSYAIGQ.js.map → qualitative-EAUUCKU5.js.map} +0 -0
- /package/dist/{radar2-2KXBS3Y3.js.map → radar2-CJQ2L6KE.js.map} +0 -0
- /package/dist/{radarFacility2-JCOKJQQF.js.map → radarFacility2-BLVRZE4V.js.map} +0 -0
- /package/dist/{render-IJ6GE3NE.js.map → render-KKAQPH6Y.js.map} +0 -0
- /package/dist/{report-WLLFUA7L.js.map → report-OSOJHTSD.js.map} +0 -0
- /package/dist/{sampleView-LPKSYUNF.js.map → sampleView-WB74RLD7.js.map} +0 -0
- /package/dist/{samplelst-MNI2MGMT.js.map → samplelst-ZKXV5WOD.js.map} +0 -0
- /package/dist/{samplematrix-KEKJP2B4.js.map → samplematrix-WJFYMWLT.js.map} +0 -0
- /package/dist/{sc-ZYKFRJU4.js.map → sc-RBRBUCLR.js.map} +0 -0
- /package/dist/{scatter-BAEZOFWA.js.map → scatter-5K3QTIDK.js.map} +0 -0
- /package/dist/{scatter-IGFBIZ3B.js.map → scatter-SM7GQENM.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-HBHRXEDY.js.map → selectGenomeWithTklst-ZZUJ7AQ7.js.map} +0 -0
- /package/dist/{singleCellCellType-PMFDV24B.js.map → singleCellCellType-LCF2JNZ2.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-ZLYDUDIY.js.map → singleCellCellType.unit.spec-T6DYH4BC.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-SUYO3HR3.js.map → singleCellGeneExpression-2XUYTH4C.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-3N3HRXFN.js.map → singleCellGeneExpression.unit.spec-SMRCLOF4.js.map} +0 -0
- /package/dist/{singleCellNumericValue-BV7C6Y34.js.map → singleCellNumericValue-57I33FZT.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-7VJOMYQ6.js.map → singleCellNumericValue.unit.spec-4YNB4OEV.js.map} +0 -0
- /package/dist/{singleCellPlot-BG7UJOHA.js.map → singleCellPlot-L6TKQHGD.js.map} +0 -0
- /package/dist/{singlecell-BANNFGBS.js.map → singlecell-LZKR3UDV.js.map} +0 -0
- /package/dist/{singlecell-ZUTL5ZWE.js.map → singlecell-UKN2VCXQ.js.map} +0 -0
- /package/dist/{snp-BHG4NVK4.js.map → snp-3LJITU5B.js.map} +0 -0
- /package/dist/{snp.unit.spec-Q3AZHQRC.js.map → snp.unit.spec-ZQNU6XRM.js.map} +0 -0
- /package/dist/{snplocus-HTJL63M3.js.map → snplocus-OME7UQBW.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-UKRIP7EP.js.map → spliceevent.a53ss.diagram-C32IEFMU.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-CU777CXQ.js.map → spliceevent.exonskip.diagram-CZ7MVRLK.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-LGLXCF25.js.map → spliceevent.noeventdiagram-ZO6R3776.js.map} +0 -0
- /package/dist/{ssGSEA-BIEEKAKX.js.map → ssGSEA-BGPQ2PFY.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-YD4UDIRH.js.map → ssGSEA.unit.spec-U7TBUSSK.js.map} +0 -0
- /package/dist/{stattable-LFR3RSD6.js.map → stattable-FISGQCED.js.map} +0 -0
- /package/dist/{studyCatalog-RINIZ277.js.map → studyCatalog-UHFUT2CJ.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-ZQFNPR65.js.map → summarizeCnvGeneexp-OVZO6KIB.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-GIS7XMMH.js.map → summarizeGeneexpSurvival-KVQ4JGWK.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-FWF7YIGR.js.map → summarizeMutationCnv-RAKGHNLE.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-V5L2OKTK.js.map → summarizeMutationDiagnosis-LGCINAGG.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-LAUUF6XN.js.map → summarizeMutationSurvival-J7H7L4FX.js.map} +0 -0
- /package/dist/{summary-OMU3ACNE.js.map → summary-2632JZXH.js.map} +0 -0
- /package/dist/{summary.integration.spec-6JZAT73L.js.map → summary.integration.spec-5WBS2ZRP.js.map} +0 -0
- /package/dist/{summaryInput-QIKL3HDD.js.map → summaryInput-BH6C3ATV.js.map} +0 -0
- /package/dist/{sunburst-32IW2R57.js.map → sunburst-AMRR2IHM.js.map} +0 -0
- /package/dist/{survival-H5AWMQ36.js.map → survival-2RNJQVFS.js.map} +0 -0
- /package/dist/{survival-BMOPVAN2.js.map → survival-WYCH4QOQ.js.map} +0 -0
- /package/dist/{survival.integration.spec-66UOWSZG.js.map → survival.integration.spec-7IFPY4I4.js.map} +0 -0
- /package/dist/{svgraph-B75FS3BB.js.map → svgraph-YQWS52ZJ.js.map} +0 -0
- /package/dist/{svmr-IUEUOHVO.js.map → svmr-NRN6LGKK.js.map} +0 -0
- /package/dist/{table-YAAH7WR6.js.map → table-3QOMV2NN.js.map} +0 -0
- /package/dist/{termCollection-KNFUELYY.js.map → termCollection-2ZJ7TJGO.js.map} +0 -0
- /package/dist/{termCollection-7F5ZG2DB.js.map → termCollection-3MCVR7BA.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-S6M6QC4C.js.map → termCollection.unit.spec-QYOEA3X6.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-X22VMJWY.js.map → termCollectionFractionSelection-5AH6EF4L.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-ELU6SD7P.js.map → termCollectionFractionSelection.unit.spec-WPGW4WJN.js.map} +0 -0
- /package/dist/{tk-TT666UVE.js.map → tk-DQ7D5UEO.js.map} +0 -0
- /package/dist/{tk-UOPNJ323.js.map → tk-ONKYBG6R.js.map} +0 -0
- /package/dist/{tp.ui-HGAHRKO5.js.map → tp.ui-C7BTMHEI.js.map} +0 -0
- /package/dist/{tvs.dt-H7YYR4EB.js.map → tvs.dt-PLRMK7OT.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-IPJTKGMF.js.map → tvs.dtcnv.categorical-IZUY2AQO.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-XY5XZ4GH.js.map → tvs.dtcnv.continuous-ENV3RHHA.js.map} +0 -0
- /package/dist/{tvs.dtfusion-VFCBMXRM.js.map → tvs.dtfusion-2DVCV6AM.js.map} +0 -0
- /package/dist/{tvs.dtitd-RZVW6FTR.js.map → tvs.dtitd-XNDIRQYU.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-IDPJWSGC.js.map → tvs.dtsnvindel-4D3G7XSF.js.map} +0 -0
- /package/dist/{tvs.dtsv-QERP756F.js.map → tvs.dtsv-QYMIMC4Z.js.map} +0 -0
- /package/dist/{tvs.numeric-22AHXO5K.js.map → tvs.numeric-M5LH3PRH.js.map} +0 -0
- /package/dist/{tvs.samplelst-6KNDHBIU.js.map → tvs.samplelst-2KEU2ZWB.js.map} +0 -0
- /package/dist/{tvs.termCollection-GWPJK3NE.js.map → tvs.termCollection-FEY746V5.js.map} +0 -0
- /package/dist/{vocabulary-C5FIZMPQ.js.map → vocabulary-BR4NJDPS.js.map} +0 -0
- /package/dist/{wsi.direct-2RBCBXDA.js.map → wsi.direct-JWDUNHIO.js.map} +0 -0
|
@@ -0,0 +1,1416 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appInit
|
|
3
|
+
} from "./chunk-6FYQYTV6.js";
|
|
4
|
+
import "./chunk-S2ICJ3RZ.js";
|
|
5
|
+
import {
|
|
6
|
+
getDefaultViolinSettings
|
|
7
|
+
} from "./chunk-4G73CMUL.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-F47A4CVK.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-55FABQU2.js";
|
|
26
|
+
import "./chunk-HJ6L54YS.js";
|
|
27
|
+
import "./chunk-KV4W2ACA.js";
|
|
28
|
+
import "./chunk-UXD6G6G4.js";
|
|
29
|
+
import {
|
|
30
|
+
Menu
|
|
31
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
32
|
+
import "./chunk-3FEP6B5T.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-VA57CUC7.js";
|
|
39
|
+
import "./chunk-BK6UDL7F.js";
|
|
40
|
+
import {
|
|
41
|
+
dictionaryNumericTypes,
|
|
42
|
+
isDictionaryType,
|
|
43
|
+
isNumericTw,
|
|
44
|
+
numericTypes
|
|
45
|
+
} from "./chunk-KIAMLQ7S.js";
|
|
46
|
+
import "./chunk-SB36AUG7.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="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-GQGAATHG.js.map
|