@sjcrh/proteinpaint-client 2.203.0 → 2.203.1
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-6CEBP4SA.js +1366 -0
- package/dist/AIProjectAdmin-2CKKFC3A.js +951 -0
- package/dist/AggregateMatrix-5TBUMFE5.js +665 -0
- package/dist/AppHeader-5YBPWF44.js +829 -0
- package/dist/BoxPlot-UOJS5SJV.js +1210 -0
- package/dist/CorrelationVolcano-KX6JPZMT.js +613 -0
- package/dist/Cuminc-TLOOLZWR.js +1208 -0
- package/dist/DE-HUQLQ2Z3.js +87 -0
- package/dist/DEinput-WWUISAF2.js +404 -0
- package/dist/DifferentialAnalysis-6DTAGCEY.js +237 -0
- package/dist/Disco-P6ZLPYLF.js +3388 -0
- package/dist/Disco.UI-WGTMAFK2.js +242 -0
- package/dist/DmrPlot-3FRU5KUK.js +636 -0
- package/dist/GB-NWOBARL3.js +1390 -0
- package/dist/GSEA-DEEUAAMI.js +850 -0
- package/dist/GeneExpInput-6QWGEAFV.js +361 -0
- package/dist/Geomap-6HT2B7RH.js +83 -0
- package/dist/HicApp-PCNOUULF.js +2244 -0
- package/dist/IDCViewer-H3QPXVM3.js +10811 -0
- package/dist/NumBinaryEditor-IU6OLMKN.js +278 -0
- package/dist/NumBinaryEditor.unit.spec-YUPUILIV.js +311 -0
- package/dist/NumContEditor-KFDA76QN.js +104 -0
- package/dist/NumContEditor.unit.spec-QBOT5QHU.js +163 -0
- package/dist/NumCustomBinEditor-EOSTEXLB.js +32 -0
- package/dist/NumCustomBinEditor.unit.spec-B46XWFYH.js +396 -0
- package/dist/NumDiscreteEditor-Y4EAADXC.js +169 -0
- package/dist/NumDiscreteEditor.unit.spec-SJGHLWSM.js +232 -0
- package/dist/NumRegularBinEditor-3BNG7DIN.js +32 -0
- package/dist/NumRegularBinEditor.unit.spec-KM45QXXG.js +277 -0
- package/dist/NumSplineEditor-K4KPDC4S.js +209 -0
- package/dist/NumSplineEditor.unit.spec-TKQP5XTS.js +223 -0
- package/dist/NumericDensity-Z6JFVN3D.js +32 -0
- package/dist/NumericDensity.unit.spec-YEYBVLEP.js +417 -0
- package/dist/NumericHandler-ITT6HMPN.js +33 -0
- package/dist/NumericHandler.unit.spec-QVONMXY4.js +213 -0
- package/dist/ProteomeInput-PRS3DEMZ.js +387 -0
- package/dist/Regression-LJJJBBT6.js +1413 -0
- package/dist/Regression-LJJJBBT6.js.map +7 -0
- package/dist/RunChart2-AMM2JFF5.js +749 -0
- package/dist/SC-F7IE66VZ.js +1106 -0
- package/dist/Violin-RJ6OJZ4F.js +1073 -0
- package/dist/Volcano-BJA5HN5Y.js +1414 -0
- package/dist/WSIViewer-RJZGRUIR.js +26194 -0
- package/dist/Wsi-DXP6KOQA.js +232 -0
- package/dist/WsiSamplesPlot-2IAWV2B6.js +159 -0
- package/dist/adSandbox-RGWOIV3W.js +32 -0
- package/dist/animatedBubbleChart-J4Q2NAEW.js +546 -0
- package/dist/app-3QXNR4VG.js +31 -0
- package/dist/app-B4B7YNP3.js +41 -0
- package/dist/app.js +12 -12
- package/dist/bam-LRUMN45P.js +875 -0
- package/dist/barchart-L2G6GEHK.js +41 -0
- package/dist/barchart2-DWNVAZAJ.js +308 -0
- package/dist/block-TVEVAXNP.js +6248 -0
- package/dist/block.init-YOHAKPRI.js +32 -0
- package/dist/block.mds.expressionrank-PU6JH4W5.js +353 -0
- package/dist/block.mds.geneboxplot-WYYFDNE3.js +822 -0
- package/dist/block.mds.junction-4WCTL7Y4.js +1538 -0
- package/dist/block.mds.svcnv-MR3VCYUW.js +6795 -0
- package/dist/block.svg-LR3Y4ZO7.js +158 -0
- package/dist/block.tk.aicheck-A5AWKJZI.js +277 -0
- package/dist/block.tk.ase-AQBBAQEH.js +359 -0
- package/dist/block.tk.bam-QBTA2O3V.js +1900 -0
- package/dist/block.tk.bedgraphdot-4ALZG2MY.js +378 -0
- package/dist/block.tk.bigwig.ui-32W6XW37.js +205 -0
- package/dist/block.tk.hicstraw-PKBHBAG2.js +817 -0
- package/dist/block.tk.junction-AO5CXUCU.js +2357 -0
- package/dist/block.tk.junction.textmatrixui-RORVUIPI.js +193 -0
- package/dist/block.tk.ld-TNBSR4FT.js +93 -0
- package/dist/block.tk.menu-QDJO54J5.js +1023 -0
- package/dist/block.tk.pgv-6222WWYR.js +937 -0
- package/dist/brainImaging-2TPE7MXB.js +426 -0
- package/dist/brainImaging-2TPE7MXB.js.map +7 -0
- package/dist/brainRegions-KTFH6DE2.js +215 -0
- package/dist/bubbleHeatmap-LNXZLFY6.js +377 -0
- package/dist/cellTypeBubbleHeatmap-SRHUNX3S.js +277 -0
- package/dist/chunk-3TXVDBGN.js +626 -0
- package/dist/chunk-4HLHKBHP.js +274 -0
- package/dist/chunk-5GG7Q2ZG.js +397 -0
- package/dist/chunk-5HVAVJKW.js +518 -0
- package/dist/chunk-5HVAVJKW.js.map +7 -0
- package/dist/chunk-5PMFCQKC.js +98 -0
- package/dist/chunk-67URJYN7.js +84 -0
- package/dist/chunk-67URJYN7.js.map +7 -0
- package/dist/chunk-6AKSOLBX.js +5071 -0
- package/dist/chunk-6AKSOLBX.js.map +7 -0
- package/dist/chunk-6X7PP7A4.js +2126 -0
- package/dist/chunk-A3EDLRUN.js +54 -0
- package/dist/chunk-ACXFPMJP.js +14 -0
- package/dist/chunk-ASRW3UJ5.js +102 -0
- package/dist/chunk-BBILSUDX.js +176 -0
- package/dist/chunk-BOWI37X2.js +100 -0
- package/dist/chunk-BVA26EFK.js +368 -0
- package/dist/chunk-D5J57ENI.js +797 -0
- package/dist/chunk-D5PX2UDG.js +23878 -0
- package/dist/chunk-D5PX2UDG.js.map +7 -0
- package/dist/chunk-DAGONMWK.js +261 -0
- package/dist/chunk-DAGONMWK.js.map +7 -0
- package/dist/chunk-DXLO4OAB.js +357 -0
- package/dist/chunk-DXLO4OAB.js.map +7 -0
- package/dist/chunk-E5BFGDLA.js +292 -0
- package/dist/chunk-ECISCOPF.js +134 -0
- package/dist/chunk-ECLUUJVE.js +158 -0
- package/dist/chunk-EGDQ5I54.js +272 -0
- package/dist/chunk-ELNVTA7O.js +56 -0
- package/dist/chunk-EO6M3LY3.js +339 -0
- package/dist/chunk-EO6M3LY3.js.map +7 -0
- package/dist/chunk-F4PMOAQK.js +494 -0
- package/dist/chunk-FISQTHD4.js +2327 -0
- package/dist/chunk-FXT2XM4E.js +1337 -0
- package/dist/chunk-FXT2XM4E.js.map +7 -0
- package/dist/chunk-HIWTGMTE.js +1721 -0
- package/dist/chunk-HIWTGMTE.js.map +7 -0
- package/dist/chunk-HL6GJIOH.js +1254 -0
- package/dist/chunk-IGZAOCTU.js +55 -0
- package/dist/chunk-JMDJI7KM.js +6360 -0
- package/dist/chunk-JQVA264Z.js +49 -0
- package/dist/chunk-JRF7SRLB.js +2784 -0
- package/dist/chunk-KLWSW6CC.js +203 -0
- package/dist/chunk-KNNSOOTG.js +194 -0
- package/dist/chunk-KTPXQH2N.js +170 -0
- package/dist/chunk-LGKXSWY4.js +276 -0
- package/dist/chunk-LP2GIXVK.js +4274 -0
- package/dist/chunk-M2ZZL5EV.js +2669 -0
- package/dist/chunk-M2ZZL5EV.js.map +7 -0
- package/dist/chunk-MBHERRJR.js +302 -0
- package/dist/chunk-MLYQDJUQ.js +480 -0
- package/dist/chunk-NBGDLLMX.js +446 -0
- package/dist/chunk-OPMMU6DQ.js +183 -0
- package/dist/chunk-OPMMU6DQ.js.map +7 -0
- package/dist/chunk-P3JEXVBT.js +50 -0
- package/dist/chunk-PZPPJY4K.js +34 -0
- package/dist/chunk-Q6JF4ZLT.js +141 -0
- package/dist/chunk-QF5IH7PC.js +263 -0
- package/dist/chunk-QJ6SO7CF.js +465 -0
- package/dist/chunk-QQUOVIOM.js +2899 -0
- package/dist/chunk-R3OBOAOF.js +240 -0
- package/dist/chunk-SNCZRDS5.js +557 -0
- package/dist/chunk-SNCZRDS5.js.map +7 -0
- package/dist/chunk-SPDNUC76.js +70 -0
- package/dist/chunk-T3663ZQL.js +37 -0
- package/dist/chunk-TSK4ZTFK.js +340 -0
- package/dist/chunk-USW6WRDZ.js +217 -0
- package/dist/chunk-WBMYHNKH.js +299 -0
- package/dist/chunk-X46LAU4Q.js +187 -0
- package/dist/chunk-XE6E526E.js +129 -0
- package/dist/chunk-XWCWBHLB.js +123 -0
- package/dist/chunk-YCECQV3T.js +160 -0
- package/dist/chunk-YROOKO3Q.js +1954 -0
- package/dist/chunk-YROOKO3Q.js.map +7 -0
- package/dist/chunk-Z4NADGZX.js +243 -0
- package/dist/chunk-Z53KOPRJ.js +102 -0
- package/dist/cohort-U7M6Q2UX.js +69 -0
- package/dist/condition-EGAV2PMJ.js +326 -0
- package/dist/controls-PTMYWUZV.js +33 -0
- package/dist/controls.config-DOA6PTP2.js +33 -0
- package/dist/correlation-Y3EL6GB7.js +94 -0
- package/dist/customdata.inputui-4NDDG6FL.js +283 -0
- package/dist/dataDownload-EQGUAOK2.js +328 -0
- package/dist/databrowser.ui-ABGOJUWQ.js +424 -0
- package/dist/dictionary-YOLLEDE5.js +112 -0
- package/dist/dnaMethylation-JZT63UHO.js +32 -0
- package/dist/dnaMethylation.integration.spec-EATCABJW.js +197 -0
- package/dist/dofetch-YNBIUFV5.js +48 -0
- package/dist/e2pca-RD6COCRL.js +343 -0
- package/dist/ep-BAI7WUET.js +1248 -0
- package/dist/expclust.gdc.spec-LKV2CQA5.js +301 -0
- package/dist/facet-X3SXQIAC.js +518 -0
- package/dist/gb-K324K7XB.js +80 -0
- package/dist/geneExpClustering-BJD5U3KG.js +243 -0
- package/dist/geneExpression-2TK3XLZ5.js +310 -0
- package/dist/geneExpression-F6NRTHZ4.js +32 -0
- package/dist/geneExpression.unit.spec-IFZN3J6A.js +96 -0
- package/dist/geneORA-DUEP735U.js +272 -0
- package/dist/geneRanking-LURDNT7L.js +547 -0
- package/dist/geneVariant-EAVCWQAZ.js +35 -0
- package/dist/geneVariant-IZTFYAG6.js +284 -0
- package/dist/geneVariant-IZTFYAG6.js.map +7 -0
- package/dist/geneVariant.integration.spec-LHL4ERFO.js +192 -0
- package/dist/genefusion.ui-4T5R7DT7.js +302 -0
- package/dist/geneset-3PWXPBG2.js +202 -0
- package/dist/genomeBrowser.spec-5SEN7R2P.js +275 -0
- package/dist/grin2-EXBG7TMS.js +1136 -0
- package/dist/grin2-XIXVFVWO.js +69 -0
- package/dist/hierCluster-5XQIWXAY.js +57 -0
- package/dist/hierCluster-I4TAQWPF.js +53 -0
- package/dist/hierCluster.config-T7HVAWES.js +34 -0
- package/dist/hierCluster.integration.spec-XWX43K4D.js +482 -0
- package/dist/hierCluster.interactivity-MYIDHFSL.js +48 -0
- package/dist/hierCluster.renderers-YRXA5ZUK.js +19 -0
- package/dist/imagePlot-4JQB6JUG.js +155 -0
- package/dist/importPlot-D3MXCCLN.js +8 -0
- package/dist/isoformExpression-WNGGUVIZ.js +34 -0
- package/dist/isoformExpression.unit.spec-NVJ5TIKM.js +236 -0
- package/dist/junction-O7N57JE3.js +35 -0
- package/dist/junction.unit.spec-Z63DRTRR.js +181 -0
- package/dist/launch.adhoc-MBDRXD3B.js +36 -0
- package/dist/leftlabel.sample-IG6FOQ26.js +257 -0
- package/dist/lollipop-ZUYBLPGN.js +165 -0
- package/dist/maf-QOS5LURG.js +454 -0
- package/dist/maftimeline-FEHP2J55.js +586 -0
- package/dist/matrix-BG4J4RXA.js +57 -0
- package/dist/matrix-PX4LWTGN.js +52 -0
- package/dist/matrix.cells-PTIDQVCI.js +26 -0
- package/dist/matrix.config-NHW7BLIE.js +35 -0
- package/dist/matrix.data-FMIQRXOA.js +23 -0
- package/dist/matrix.dom-4S2UYJOU.js +11 -0
- package/dist/matrix.groups-QMID5XAO.js +25 -0
- package/dist/matrix.integration.spec-H6T7KP5R.js +3066 -0
- package/dist/matrix.interactivity-WQUO25HB.js +36 -0
- package/dist/matrix.layout-CTPVZZ34.js +38 -0
- package/dist/matrix.legend-K6EYUN6L.js +20 -0
- package/dist/matrix.renderers-5DIAUY6R.js +32 -0
- package/dist/matrix.serieses-LRMN2J52.js +19 -0
- package/dist/matrix.sort-RGAGEA6Z.js +25 -0
- package/dist/matrix.sort.unit.spec-RGICZZJL.js +466 -0
- package/dist/matrix.sorterUi.unit.spec-45QPEGWE.js +336 -0
- package/dist/matrix.unit.spec-TMRZM5DU.js +148 -0
- package/dist/matrix.unit.spec-TMRZM5DU.js.map +7 -0
- package/dist/mavb-VEIVB62L.js +726 -0
- package/dist/mds.fimo-BG4LTWFB.js +512 -0
- package/dist/mds.samplescatterplot-PWADJZ2J.js +1544 -0
- package/dist/mds.survivalplot-BX4HZ23K.js +476 -0
- package/dist/multivalue-OZALSBFW.js +82 -0
- package/dist/numericDictTermCluster-7PGJ7KV4.js +63 -0
- package/dist/oncomatrix-Q2EQZPLS.js +289 -0
- package/dist/oncomatrix.spec-YEQOQRPW.js +442 -0
- package/dist/plot.2dvaf-NJSB3HNH.js +371 -0
- package/dist/plot.app-AEUR6XGI.js +35 -0
- package/dist/plot.barplot-OXN2P5KL.js +96 -0
- package/dist/plot.boxplot-2KHEVVFE.js +145 -0
- package/dist/plot.brainImaging-JWDX4BZG.js +51 -0
- package/dist/plot.disco-LUFC5GGC.js +99 -0
- package/dist/plot.ssgq-FMM3IRNA.js +133 -0
- package/dist/plot.vaf2cov-K5TAQUC5.js +252 -0
- package/dist/plot.wsi-CNQCNZ4Z.js +36 -0
- package/dist/polar2-AB6SVYRS.js +231 -0
- package/dist/profileForms-AIEHZ4GC.js +933 -0
- package/dist/profilePlot-PZDFGXKZ.js +48 -0
- package/dist/proteinView-7GWHQYXC.js +1561 -0
- package/dist/proteomeCohortCompare-BTN4HHFL.js +779 -0
- package/dist/proteomeCohortCompare-BTN4HHFL.js.map +7 -0
- package/dist/pseudbulk.unit.spec-NFT4VNTI.js +85 -0
- package/dist/pseudobulk-WDGWTXW4.js +34 -0
- package/dist/qualitative-PZYJENE7.js +37 -0
- package/dist/radar2-QHRGH3YS.js +326 -0
- package/dist/radarFacility2-2JD26FL6.js +334 -0
- package/dist/render-YA4Z56LT.js +32 -0
- package/dist/report-2NUKFJTF.js +216 -0
- package/dist/sampleView-2XVPJTVR.js +42 -0
- package/dist/samplelst-DMILFDT5.js +105 -0
- package/dist/samplematrix-LYA5XTUM.js +2192 -0
- package/dist/sc-CM2C34MN.js +80 -0
- package/dist/scatter-C3CH3HTF.js +879 -0
- package/dist/scatter-GO6LV6NY.js +87 -0
- package/dist/selectGenomeWithTklst-5C7UBTGZ.js +128 -0
- package/dist/singleCellCellType-EZYESBVZ.js +32 -0
- package/dist/singleCellCellType.unit.spec-DB6FM4XR.js +153 -0
- package/dist/singleCellGeneExpression-DZLEFPW4.js +32 -0
- package/dist/singleCellGeneExpression.unit.spec-ZTBK3V43.js +147 -0
- package/dist/singleCellPlot-VF4TZ4FT.js +48 -0
- package/dist/singlecell-2MHROPBN.js +1565 -0
- package/dist/singlecell-GPAFNOUZ.js +80 -0
- package/dist/snp-K4EAEVW4.js +32 -0
- package/dist/snp.unit.spec-BUVQLVOY.js +170 -0
- package/dist/snplocus-GEVISN6Z.js +202 -0
- package/dist/spliceevent.a53ss.diagram-5UPWNAZF.js +145 -0
- package/dist/spliceevent.exonskip.diagram-7TKAQURC.js +277 -0
- package/dist/spliceevent.noeventdiagram-CDXZLR3Z.js +454 -0
- package/dist/ssGSEA-NMCJUQXT.js +32 -0
- package/dist/ssGSEA.unit.spec-3FQALTPQ.js +82 -0
- package/dist/stattable-2RXQPWKK.js +116 -0
- package/dist/studyCatalog-WWFCTTX7.js +377 -0
- package/dist/studyCatalog-WWFCTTX7.js.map +7 -0
- package/dist/summarizeCnvGeneexp-4BQS5AFM.js +157 -0
- package/dist/summarizeGeneexpSurvival-HTBZQFB5.js +104 -0
- package/dist/summarizeMutationCnv-XUWZGPCM.js +158 -0
- package/dist/summarizeMutationDiagnosis-QUJX42TO.js +34 -0
- package/dist/summarizeMutationSurvival-3R47TTR6.js +93 -0
- package/dist/summary-6UUB63QR.js +41 -0
- package/dist/summary.integration.spec-JJDE6SRV.js +408 -0
- package/dist/summaryInput-JG4AW6FW.js +225 -0
- package/dist/sunburst-YKB42RZX.js +277 -0
- package/dist/survival-3IFFTDQA.js +52 -0
- package/dist/survival-HOFNJENX.js +1236 -0
- package/dist/survival.integration.spec-7YZYKEUW.js +612 -0
- package/dist/survival.integration.spec-7YZYKEUW.js.map +7 -0
- package/dist/svgraph-WFEY4ZIZ.js +1381 -0
- package/dist/svmr-44EIX7YD.js +3836 -0
- package/dist/table-6MKVJUNC.js +196 -0
- package/dist/termCollection-6JBVQL6Y.js +251 -0
- package/dist/termCollection-TTELZVC5.js +32 -0
- package/dist/termCollection.unit.spec-6Z7X646L.js +298 -0
- package/dist/termCollectionFractionSelection-5DVIJBM5.js +41 -0
- package/dist/termCollectionFractionSelection.unit.spec-3HIM5BIF.js +187 -0
- package/dist/tk-HSYWJCGQ.js +40 -0
- package/dist/tk-PNOVG2XS.js +1120 -0
- package/dist/tp.ui-COBBSUPB.js +1453 -0
- package/dist/tvs.dt-35AKURFI.js +33 -0
- package/dist/tvs.dtcnv.categorical-3EHXYROL.js +34 -0
- package/dist/tvs.dtcnv.continuous-AXQ2GU6S.js +66 -0
- package/dist/tvs.dtfusion-PLJIMPNX.js +34 -0
- package/dist/tvs.dtitd-JS6RFBV5.js +34 -0
- package/dist/tvs.dtsnvindel-MDEM5MPT.js +34 -0
- package/dist/tvs.dtsv-OU756YLO.js +34 -0
- package/dist/tvs.samplelst-5NDICES4.js +98 -0
- package/dist/tvs.termCollection-5URPDPH6.js +123 -0
- package/dist/vocabulary-CHCVMPK5.js +35 -0
- package/dist/wsi.direct-JSKV4H4X.js +75 -0
- package/package.json +4 -4
- package/dist/2dmaf-I4HBWRNQ.js +0 -1366
- package/dist/AIProjectAdmin-SZYSG7HR.js +0 -951
- package/dist/AggregateMatrix-U7HHALFR.js +0 -665
- package/dist/AppHeader-O4RBZQZF.js +0 -829
- package/dist/BoxPlot-NOXWAGX6.js +0 -1210
- package/dist/CorrelationVolcano-IJ5UT6N5.js +0 -613
- package/dist/Cuminc-NGUDAOAD.js +0 -1208
- package/dist/DE-MIAHOI5J.js +0 -87
- package/dist/DEinput-FYBSL2ER.js +0 -404
- package/dist/DifferentialAnalysis-I6S5YQXY.js +0 -237
- package/dist/Disco-VLUBOZDC.js +0 -3388
- package/dist/Disco.UI-QQYWQEW7.js +0 -242
- package/dist/DmrPlot-DFOBEN7A.js +0 -636
- package/dist/GB-5FSXJMEZ.js +0 -1390
- package/dist/GSEA-JISHQOVY.js +0 -850
- package/dist/GeneExpInput-5YEX22VD.js +0 -361
- package/dist/Geomap-YVF6YBK5.js +0 -83
- package/dist/HicApp-ZCMOOKTY.js +0 -2244
- package/dist/IDCViewer-5ZNTAEUG.js +0 -10811
- package/dist/NumBinaryEditor-BEF5YCKI.js +0 -278
- package/dist/NumBinaryEditor.unit.spec-GCYZGHB2.js +0 -311
- package/dist/NumContEditor-TUXPB6YJ.js +0 -104
- package/dist/NumContEditor.unit.spec-5CMHHWIP.js +0 -163
- package/dist/NumCustomBinEditor-HS7RSGFV.js +0 -32
- package/dist/NumCustomBinEditor.unit.spec-MM3JJXT4.js +0 -396
- package/dist/NumDiscreteEditor-ZL7PP6ZT.js +0 -169
- package/dist/NumDiscreteEditor.unit.spec-OEWX2KJC.js +0 -232
- package/dist/NumRegularBinEditor-YBXK7YV6.js +0 -32
- package/dist/NumRegularBinEditor.unit.spec-FVHN4J5L.js +0 -277
- package/dist/NumSplineEditor-VN4XBTTI.js +0 -209
- package/dist/NumSplineEditor.unit.spec-AI642DWP.js +0 -223
- package/dist/NumericDensity-2KTY7DGH.js +0 -32
- package/dist/NumericDensity.unit.spec-6EA72A24.js +0 -417
- package/dist/NumericHandler-62EN6AD3.js +0 -33
- package/dist/NumericHandler.unit.spec-FXOJ2L2L.js +0 -213
- package/dist/ProteomeInput-MBBDXO2Z.js +0 -387
- package/dist/Regression-OQETMZPL.js +0 -1408
- package/dist/Regression-OQETMZPL.js.map +0 -7
- package/dist/RunChart2-RHZFHH4M.js +0 -749
- package/dist/SC-FAQXOHO4.js +0 -1106
- package/dist/Violin-2A3ICNBP.js +0 -1073
- package/dist/Volcano-X5KGHLHZ.js +0 -1414
- package/dist/WSIViewer-F2SD6LLP.js +0 -26194
- package/dist/Wsi-KAFAC3Q5.js +0 -232
- package/dist/WsiSamplesPlot-VKPMLDZI.js +0 -159
- package/dist/adSandbox-QKG5EA23.js +0 -32
- package/dist/animatedBubbleChart-ES62XWMN.js +0 -546
- package/dist/app-2HLLOBTD.js +0 -41
- package/dist/app-GJL6K6V4.js +0 -31
- package/dist/bam-DCPAAVPX.js +0 -875
- package/dist/barchart-DCVGCEZO.js +0 -41
- package/dist/barchart2-5X57VSIN.js +0 -308
- package/dist/block-XYSUTBXJ.js +0 -6248
- package/dist/block.init-5B27QKPU.js +0 -32
- package/dist/block.mds.expressionrank-Z7BGGPZ7.js +0 -353
- package/dist/block.mds.geneboxplot-4U4UZH2J.js +0 -822
- package/dist/block.mds.junction-ZPCUEQZJ.js +0 -1538
- package/dist/block.mds.svcnv-OGGPBOL2.js +0 -6795
- package/dist/block.svg-BWGAMNDS.js +0 -158
- package/dist/block.tk.aicheck-XHHW7WST.js +0 -277
- package/dist/block.tk.ase-BZ2IL3CQ.js +0 -359
- package/dist/block.tk.bam-WRHOOWXN.js +0 -1900
- package/dist/block.tk.bedgraphdot-B536STRA.js +0 -378
- package/dist/block.tk.bigwig.ui-K5X3BSQC.js +0 -205
- package/dist/block.tk.hicstraw-OYOKZ45W.js +0 -817
- package/dist/block.tk.junction-S5JMMMR6.js +0 -2357
- package/dist/block.tk.junction.textmatrixui-OLZY5BYR.js +0 -193
- package/dist/block.tk.ld-KINDO5UU.js +0 -93
- package/dist/block.tk.menu-3FNBVZ7J.js +0 -1023
- package/dist/block.tk.pgv-UHDY3T4G.js +0 -937
- package/dist/brainImaging-KWFRX3XB.js +0 -422
- package/dist/brainImaging-KWFRX3XB.js.map +0 -7
- package/dist/brainRegions-YI7K4OVE.js +0 -215
- package/dist/bubbleHeatmap-EQ44CSG5.js +0 -377
- package/dist/cellTypeBubbleHeatmap-O3KL2YBF.js +0 -277
- package/dist/chunk-254KEDDH.js +0 -129
- package/dist/chunk-25RPYQRT.js +0 -203
- package/dist/chunk-2OEMKKLP.js +0 -272
- package/dist/chunk-34AV6DED.js +0 -299
- package/dist/chunk-3UOSDVFJ.js +0 -1710
- package/dist/chunk-3UOSDVFJ.js.map +0 -7
- package/dist/chunk-4GN3CSDT.js +0 -98
- package/dist/chunk-4KUGV44F.js +0 -397
- package/dist/chunk-4WF3XDQP.js +0 -220
- package/dist/chunk-4WF3XDQP.js.map +0 -7
- package/dist/chunk-55PGOBTR.js +0 -123
- package/dist/chunk-5RHE36DQ.js +0 -37
- package/dist/chunk-6456HESK.js +0 -160
- package/dist/chunk-6THPWBBU.js +0 -102
- package/dist/chunk-6ZLCBVJA.js +0 -54
- package/dist/chunk-7AYGTMED.js +0 -182
- package/dist/chunk-7AYGTMED.js.map +0 -7
- package/dist/chunk-7ROMS7YT.js +0 -626
- package/dist/chunk-7UFK4GVI.js +0 -263
- package/dist/chunk-7UFK4GVI.js.map +0 -7
- package/dist/chunk-ALXSSRGI.js +0 -263
- package/dist/chunk-AT7HWXMW.js +0 -302
- package/dist/chunk-AVR4LFOO.js +0 -194
- package/dist/chunk-BY5B5BM5.js +0 -170
- package/dist/chunk-BZ36NJHA.js +0 -797
- package/dist/chunk-BZKHE26Z.js +0 -340
- package/dist/chunk-CBRZIMNF.js +0 -217
- package/dist/chunk-CTO247UZ.js +0 -5069
- package/dist/chunk-CTO247UZ.js.map +0 -7
- package/dist/chunk-D27C6HZW.js +0 -50
- package/dist/chunk-D73PJ4WC.js +0 -512
- package/dist/chunk-D73PJ4WC.js.map +0 -7
- package/dist/chunk-DLXMO6EK.js +0 -494
- package/dist/chunk-EK7CQC3P.js +0 -100
- package/dist/chunk-FCMHDCMO.js +0 -56
- package/dist/chunk-GJFG2MML.js +0 -1254
- package/dist/chunk-GQQ4R6BI.js +0 -24060
- package/dist/chunk-GQQ4R6BI.js.map +0 -7
- package/dist/chunk-HENLCRVM.js +0 -2126
- package/dist/chunk-I56CSICA.js +0 -292
- package/dist/chunk-I5KBI5PC.js +0 -274
- package/dist/chunk-IHDVUZFC.js +0 -1947
- package/dist/chunk-IHDVUZFC.js.map +0 -7
- package/dist/chunk-IUA3PSTK.js +0 -6360
- package/dist/chunk-J3TIXBCS.js +0 -276
- package/dist/chunk-JJHMFHRC.js +0 -257
- package/dist/chunk-JJHMFHRC.js.map +0 -7
- package/dist/chunk-JPQSDB2H.js +0 -102
- package/dist/chunk-LIMDUEVX.js +0 -1336
- package/dist/chunk-LIMDUEVX.js.map +0 -7
- package/dist/chunk-MECQLU4J.js +0 -243
- package/dist/chunk-MEJMWIBD.js +0 -187
- package/dist/chunk-MT5MHYL3.js +0 -480
- package/dist/chunk-NVH5I6EP.js +0 -176
- package/dist/chunk-OGQMELRU.js +0 -14
- package/dist/chunk-PBRW6QLS.js +0 -4274
- package/dist/chunk-PPJMCBVT.js +0 -82
- package/dist/chunk-PPJMCBVT.js.map +0 -7
- package/dist/chunk-RRI3RX4A.js +0 -2669
- package/dist/chunk-RRI3RX4A.js.map +0 -7
- package/dist/chunk-S2D6GH6D.js +0 -465
- package/dist/chunk-SACNULB3.js +0 -368
- package/dist/chunk-SEJGXC2L.js +0 -141
- package/dist/chunk-TMZZ4Z7L.js +0 -34
- package/dist/chunk-TRWFL52W.js +0 -446
- package/dist/chunk-VP2FPPLA.js +0 -70
- package/dist/chunk-VTYMSJGY.js +0 -49
- package/dist/chunk-WEF6INPI.js +0 -2784
- package/dist/chunk-WO4CL5JL.js +0 -240
- package/dist/chunk-WVVH56ZU.js +0 -2327
- package/dist/chunk-WZTZJNSG.js +0 -2899
- package/dist/chunk-XPSUKXMF.js +0 -556
- package/dist/chunk-XPSUKXMF.js.map +0 -7
- package/dist/chunk-XXITHNR2.js +0 -134
- package/dist/chunk-YCLNEB4L.js +0 -158
- package/dist/chunk-ZPFN3CYR.js +0 -55
- package/dist/cohort-JCMVMOBQ.js +0 -69
- package/dist/condition-SHRWEMG7.js +0 -326
- package/dist/controls-EKIHLQS6.js +0 -33
- package/dist/controls.config-WSVX6UC6.js +0 -33
- package/dist/correlation-ALFFZLKD.js +0 -94
- package/dist/customdata.inputui-L2UAIU6I.js +0 -283
- package/dist/dataDownload-73N5364T.js +0 -328
- package/dist/databrowser.ui-NTOGXDYE.js +0 -424
- package/dist/dictionary-CUAU2X6Q.js +0 -112
- package/dist/dnaMethylation-AGWAGXVD.js +0 -32
- package/dist/dnaMethylation.integration.spec-K22XXOU4.js +0 -197
- package/dist/dofetch-BVJ77SP7.js +0 -48
- package/dist/e2pca-4HIJWLSC.js +0 -343
- package/dist/ep-U4RGH62P.js +0 -1248
- package/dist/expclust.gdc.spec-JJGGQDQK.js +0 -301
- package/dist/facet-NNUPVXCG.js +0 -518
- package/dist/gb-2MYXJEMY.js +0 -80
- package/dist/geneExpClustering-6ORRRH43.js +0 -243
- package/dist/geneExpression-4JVWKJWP.js +0 -310
- package/dist/geneExpression-MARWAIHW.js +0 -32
- package/dist/geneExpression.unit.spec-3CQTUSDK.js +0 -96
- package/dist/geneORA-M2L2YEX3.js +0 -272
- package/dist/geneRanking-S2B3LSTU.js +0 -547
- package/dist/geneVariant-D2ANGINP.js +0 -35
- package/dist/geneVariant-T4NG72OL.js +0 -33
- package/dist/geneVariant.integration.spec-62NJS7GD.js +0 -192
- package/dist/genefusion.ui-4ZZNKANU.js +0 -302
- package/dist/geneset-QCLFANPD.js +0 -202
- package/dist/genomeBrowser.spec-BV5M6JFN.js +0 -275
- package/dist/grin2-J4VDS2JT.js +0 -1136
- package/dist/grin2-K5G3N5XP.js +0 -69
- package/dist/hierCluster-FMK524WF.js +0 -57
- package/dist/hierCluster-XF7ZWVKD.js +0 -53
- package/dist/hierCluster.config-LYAQCO3L.js +0 -34
- package/dist/hierCluster.integration.spec-NSLTJBL4.js +0 -482
- package/dist/hierCluster.interactivity-VKAOR2DR.js +0 -48
- package/dist/hierCluster.renderers-6C5F7LRL.js +0 -19
- package/dist/imagePlot-IPTIFVLT.js +0 -155
- package/dist/importPlot-V3P6DCUR.js +0 -8
- package/dist/isoformExpression-6IIPJI4M.js +0 -34
- package/dist/isoformExpression.unit.spec-IYZWSLO5.js +0 -236
- package/dist/junction-E6FB2OP4.js +0 -35
- package/dist/junction.unit.spec-M4EN7KPG.js +0 -181
- package/dist/launch.adhoc-SU5L2YXN.js +0 -36
- package/dist/leftlabel.sample-5WTK5NBD.js +0 -257
- package/dist/lollipop-L64ZTEEX.js +0 -165
- package/dist/maf-QLNFANWO.js +0 -454
- package/dist/maftimeline-U7FMTMTV.js +0 -586
- package/dist/matrix-GFVK3PEB.js +0 -57
- package/dist/matrix-HFJQGPJJ.js +0 -52
- package/dist/matrix.cells-5JKTBI3X.js +0 -26
- package/dist/matrix.config-QPTQ22RR.js +0 -35
- package/dist/matrix.data-MXIUMSRR.js +0 -23
- package/dist/matrix.dom-ENBFB4CW.js +0 -11
- package/dist/matrix.groups-6DYTBVGR.js +0 -25
- package/dist/matrix.integration.spec-X4HM67TN.js +0 -3066
- package/dist/matrix.interactivity-QTB56LXE.js +0 -36
- package/dist/matrix.layout-VQAORIIH.js +0 -38
- package/dist/matrix.legend-SDJXYNHE.js +0 -20
- package/dist/matrix.renderers-6PMYIP2S.js +0 -32
- package/dist/matrix.serieses-WWY7474U.js +0 -19
- package/dist/matrix.sort-V46C2MAZ.js +0 -25
- package/dist/matrix.sort.unit.spec-3RM7V6CS.js +0 -466
- package/dist/matrix.sorterUi.unit.spec-YOV6FBRT.js +0 -336
- package/dist/mavb-PJA76T7F.js +0 -726
- package/dist/mds.fimo-GW7XPJGQ.js +0 -512
- package/dist/mds.samplescatterplot-ZAIEWPO4.js +0 -1544
- package/dist/mds.survivalplot-ETLLFDWR.js +0 -476
- package/dist/multivalue-AZPAQJQD.js +0 -82
- package/dist/numericDictTermCluster-KOJODGZT.js +0 -63
- package/dist/oncomatrix-2TRXETOJ.js +0 -289
- package/dist/oncomatrix.spec-DOVKLS24.js +0 -442
- package/dist/plot.2dvaf-RQN6QADW.js +0 -371
- package/dist/plot.app-MOIVGIS6.js +0 -35
- package/dist/plot.barplot-46QRWJOX.js +0 -96
- package/dist/plot.boxplot-54J4UWQX.js +0 -145
- package/dist/plot.brainImaging-Y32KQFLS.js +0 -51
- package/dist/plot.disco-4R5J7Z5S.js +0 -99
- package/dist/plot.ssgq-6LCKYRYD.js +0 -133
- package/dist/plot.vaf2cov-UCBH4NSC.js +0 -252
- package/dist/plot.wsi-DAC7NUQE.js +0 -36
- package/dist/polar2-JKV74QV5.js +0 -231
- package/dist/profileForms-VDYCFH4M.js +0 -933
- package/dist/profilePlot-PR3LVRYU.js +0 -48
- package/dist/proteinView-A3EM6OR5.js +0 -1561
- package/dist/proteomeCohortCompare-QGFEJTDQ.js +0 -793
- package/dist/proteomeCohortCompare-QGFEJTDQ.js.map +0 -7
- package/dist/pseudbulk.unit.spec-CUMTLAH7.js +0 -85
- package/dist/pseudobulk-5E5MSMU3.js +0 -34
- package/dist/qualitative-WPXUBISK.js +0 -37
- package/dist/radar2-A5OYMORS.js +0 -326
- package/dist/radarFacility2-4TPJB6M4.js +0 -334
- package/dist/render-XQBWWS33.js +0 -32
- package/dist/report-NCJOTYIC.js +0 -216
- package/dist/sampleView-2PUSMG4W.js +0 -42
- package/dist/samplelst-FV7BAUN5.js +0 -105
- package/dist/samplematrix-DFD3PNI4.js +0 -2192
- package/dist/sc-GIMTDVLG.js +0 -80
- package/dist/scatter-4GJ5HKUY.js +0 -879
- package/dist/scatter-P3ISZB3R.js +0 -87
- package/dist/selectGenomeWithTklst-ZZ4CEHDU.js +0 -128
- package/dist/singleCellCellType-CEERCVTR.js +0 -32
- package/dist/singleCellCellType.unit.spec-JNEIICK5.js +0 -153
- package/dist/singleCellGeneExpression-G5B7DDES.js +0 -32
- package/dist/singleCellGeneExpression.unit.spec-CGRZGY66.js +0 -147
- package/dist/singleCellPlot-US5KTHS4.js +0 -48
- package/dist/singlecell-IPTSIKNA.js +0 -1565
- package/dist/singlecell-VB4KLPJF.js +0 -80
- package/dist/snp-6V2SCCRN.js +0 -32
- package/dist/snp.unit.spec-Q537NGVG.js +0 -170
- package/dist/snplocus-BV6WJTVP.js +0 -202
- package/dist/spliceevent.a53ss.diagram-3BUQVK4Q.js +0 -145
- package/dist/spliceevent.exonskip.diagram-CQZ2DFQ5.js +0 -277
- package/dist/spliceevent.noeventdiagram-QAEPR6LD.js +0 -454
- package/dist/ssGSEA-XNI5S7AC.js +0 -32
- package/dist/ssGSEA.unit.spec-A337IMC7.js +0 -82
- package/dist/stattable-J4ZQKJFM.js +0 -116
- package/dist/studyCatalog-BJTJJGBC.js +0 -352
- package/dist/studyCatalog-BJTJJGBC.js.map +0 -7
- package/dist/summarizeCnvGeneexp-76UJXLA4.js +0 -157
- package/dist/summarizeGeneexpSurvival-ZUEHXA2R.js +0 -104
- package/dist/summarizeMutationCnv-EBCBVMG6.js +0 -158
- package/dist/summarizeMutationDiagnosis-VLFI2ZIZ.js +0 -34
- package/dist/summarizeMutationSurvival-QRFMJLLO.js +0 -93
- package/dist/summary-U3YKEMZC.js +0 -41
- package/dist/summary.integration.spec-52WP6SNY.js +0 -408
- package/dist/summaryInput-WUJNHCGH.js +0 -225
- package/dist/sunburst-IJ3ZG2BC.js +0 -277
- package/dist/survival-F2B5JKOO.js +0 -1236
- package/dist/survival-SQRYWGWZ.js +0 -52
- package/dist/survival.integration.spec-YGRZJ2OL.js +0 -967
- package/dist/survival.integration.spec-YGRZJ2OL.js.map +0 -7
- package/dist/svgraph-HVCMF6KI.js +0 -1381
- package/dist/svmr-PROHTMTP.js +0 -3836
- package/dist/table-3E64OJNV.js +0 -196
- package/dist/termCollection-MUH7P6B5.js +0 -32
- package/dist/termCollection-WKT6ESMI.js +0 -251
- package/dist/termCollection.unit.spec-XMOCMVER.js +0 -298
- package/dist/termCollectionFractionSelection-P5G6WIJJ.js +0 -41
- package/dist/termCollectionFractionSelection.unit.spec-MG7E3EIZ.js +0 -187
- package/dist/tk-HWUPUGOS.js +0 -1120
- package/dist/tk-SBM2GN3S.js +0 -40
- package/dist/tp.ui-RRB5MJRD.js +0 -1453
- package/dist/tvs.dt-I2ECKHQ2.js +0 -33
- package/dist/tvs.dtcnv.categorical-7RJPQKMX.js +0 -34
- package/dist/tvs.dtcnv.continuous-FW4ZXIYY.js +0 -66
- package/dist/tvs.dtfusion-3GDWW3ML.js +0 -34
- package/dist/tvs.dtitd-FER4H4UO.js +0 -34
- package/dist/tvs.dtsnvindel-ISEOJ5UA.js +0 -34
- package/dist/tvs.dtsv-JDML7EWE.js +0 -34
- package/dist/tvs.samplelst-MJTM6GSV.js +0 -98
- package/dist/tvs.termCollection-GMOXBJWF.js +0 -123
- package/dist/vocabulary-5EJMLXI2.js +0 -35
- package/dist/vocabulary-5EJMLXI2.js.map +0 -7
- package/dist/wsi.direct-IVPACPNT.js +0 -75
- /package/dist/{2dmaf-I4HBWRNQ.js.map → 2dmaf-6CEBP4SA.js.map} +0 -0
- /package/dist/{AIProjectAdmin-SZYSG7HR.js.map → AIProjectAdmin-2CKKFC3A.js.map} +0 -0
- /package/dist/{AggregateMatrix-U7HHALFR.js.map → AggregateMatrix-5TBUMFE5.js.map} +0 -0
- /package/dist/{AppHeader-O4RBZQZF.js.map → AppHeader-5YBPWF44.js.map} +0 -0
- /package/dist/{BoxPlot-NOXWAGX6.js.map → BoxPlot-UOJS5SJV.js.map} +0 -0
- /package/dist/{CorrelationVolcano-IJ5UT6N5.js.map → CorrelationVolcano-KX6JPZMT.js.map} +0 -0
- /package/dist/{Cuminc-NGUDAOAD.js.map → Cuminc-TLOOLZWR.js.map} +0 -0
- /package/dist/{DE-MIAHOI5J.js.map → DE-HUQLQ2Z3.js.map} +0 -0
- /package/dist/{DEinput-FYBSL2ER.js.map → DEinput-WWUISAF2.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-I6S5YQXY.js.map → DifferentialAnalysis-6DTAGCEY.js.map} +0 -0
- /package/dist/{Disco-VLUBOZDC.js.map → Disco-P6ZLPYLF.js.map} +0 -0
- /package/dist/{Disco.UI-QQYWQEW7.js.map → Disco.UI-WGTMAFK2.js.map} +0 -0
- /package/dist/{DmrPlot-DFOBEN7A.js.map → DmrPlot-3FRU5KUK.js.map} +0 -0
- /package/dist/{GB-5FSXJMEZ.js.map → GB-NWOBARL3.js.map} +0 -0
- /package/dist/{GSEA-JISHQOVY.js.map → GSEA-DEEUAAMI.js.map} +0 -0
- /package/dist/{GeneExpInput-5YEX22VD.js.map → GeneExpInput-6QWGEAFV.js.map} +0 -0
- /package/dist/{Geomap-YVF6YBK5.js.map → Geomap-6HT2B7RH.js.map} +0 -0
- /package/dist/{HicApp-ZCMOOKTY.js.map → HicApp-PCNOUULF.js.map} +0 -0
- /package/dist/{IDCViewer-5ZNTAEUG.js.map → IDCViewer-H3QPXVM3.js.map} +0 -0
- /package/dist/{NumBinaryEditor-BEF5YCKI.js.map → NumBinaryEditor-IU6OLMKN.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-GCYZGHB2.js.map → NumBinaryEditor.unit.spec-YUPUILIV.js.map} +0 -0
- /package/dist/{NumContEditor-TUXPB6YJ.js.map → NumContEditor-KFDA76QN.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-5CMHHWIP.js.map → NumContEditor.unit.spec-QBOT5QHU.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-HS7RSGFV.js.map → NumCustomBinEditor-EOSTEXLB.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-MM3JJXT4.js.map → NumCustomBinEditor.unit.spec-B46XWFYH.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-ZL7PP6ZT.js.map → NumDiscreteEditor-Y4EAADXC.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-OEWX2KJC.js.map → NumDiscreteEditor.unit.spec-SJGHLWSM.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-YBXK7YV6.js.map → NumRegularBinEditor-3BNG7DIN.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-FVHN4J5L.js.map → NumRegularBinEditor.unit.spec-KM45QXXG.js.map} +0 -0
- /package/dist/{NumSplineEditor-VN4XBTTI.js.map → NumSplineEditor-K4KPDC4S.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-AI642DWP.js.map → NumSplineEditor.unit.spec-TKQP5XTS.js.map} +0 -0
- /package/dist/{NumericDensity-2KTY7DGH.js.map → NumericDensity-Z6JFVN3D.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-6EA72A24.js.map → NumericDensity.unit.spec-YEYBVLEP.js.map} +0 -0
- /package/dist/{NumericHandler-62EN6AD3.js.map → NumericHandler-ITT6HMPN.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-FXOJ2L2L.js.map → NumericHandler.unit.spec-QVONMXY4.js.map} +0 -0
- /package/dist/{ProteomeInput-MBBDXO2Z.js.map → ProteomeInput-PRS3DEMZ.js.map} +0 -0
- /package/dist/{RunChart2-RHZFHH4M.js.map → RunChart2-AMM2JFF5.js.map} +0 -0
- /package/dist/{SC-FAQXOHO4.js.map → SC-F7IE66VZ.js.map} +0 -0
- /package/dist/{Violin-2A3ICNBP.js.map → Violin-RJ6OJZ4F.js.map} +0 -0
- /package/dist/{Volcano-X5KGHLHZ.js.map → Volcano-BJA5HN5Y.js.map} +0 -0
- /package/dist/{WSIViewer-F2SD6LLP.js.map → WSIViewer-RJZGRUIR.js.map} +0 -0
- /package/dist/{Wsi-KAFAC3Q5.js.map → Wsi-DXP6KOQA.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-VKPMLDZI.js.map → WsiSamplesPlot-2IAWV2B6.js.map} +0 -0
- /package/dist/{adSandbox-QKG5EA23.js.map → adSandbox-RGWOIV3W.js.map} +0 -0
- /package/dist/{animatedBubbleChart-ES62XWMN.js.map → animatedBubbleChart-J4Q2NAEW.js.map} +0 -0
- /package/dist/{app-2HLLOBTD.js.map → app-3QXNR4VG.js.map} +0 -0
- /package/dist/{app-GJL6K6V4.js.map → app-B4B7YNP3.js.map} +0 -0
- /package/dist/{bam-DCPAAVPX.js.map → bam-LRUMN45P.js.map} +0 -0
- /package/dist/{barchart-DCVGCEZO.js.map → barchart-L2G6GEHK.js.map} +0 -0
- /package/dist/{barchart2-5X57VSIN.js.map → barchart2-DWNVAZAJ.js.map} +0 -0
- /package/dist/{block-XYSUTBXJ.js.map → block-TVEVAXNP.js.map} +0 -0
- /package/dist/{block.init-5B27QKPU.js.map → block.init-YOHAKPRI.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-Z7BGGPZ7.js.map → block.mds.expressionrank-PU6JH4W5.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-4U4UZH2J.js.map → block.mds.geneboxplot-WYYFDNE3.js.map} +0 -0
- /package/dist/{block.mds.junction-ZPCUEQZJ.js.map → block.mds.junction-4WCTL7Y4.js.map} +0 -0
- /package/dist/{block.mds.svcnv-OGGPBOL2.js.map → block.mds.svcnv-MR3VCYUW.js.map} +0 -0
- /package/dist/{block.svg-BWGAMNDS.js.map → block.svg-LR3Y4ZO7.js.map} +0 -0
- /package/dist/{block.tk.aicheck-XHHW7WST.js.map → block.tk.aicheck-A5AWKJZI.js.map} +0 -0
- /package/dist/{block.tk.ase-BZ2IL3CQ.js.map → block.tk.ase-AQBBAQEH.js.map} +0 -0
- /package/dist/{block.tk.bam-WRHOOWXN.js.map → block.tk.bam-QBTA2O3V.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-B536STRA.js.map → block.tk.bedgraphdot-4ALZG2MY.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-K5X3BSQC.js.map → block.tk.bigwig.ui-32W6XW37.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-OYOKZ45W.js.map → block.tk.hicstraw-PKBHBAG2.js.map} +0 -0
- /package/dist/{block.tk.junction-S5JMMMR6.js.map → block.tk.junction-AO5CXUCU.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-OLZY5BYR.js.map → block.tk.junction.textmatrixui-RORVUIPI.js.map} +0 -0
- /package/dist/{block.tk.ld-KINDO5UU.js.map → block.tk.ld-TNBSR4FT.js.map} +0 -0
- /package/dist/{block.tk.menu-3FNBVZ7J.js.map → block.tk.menu-QDJO54J5.js.map} +0 -0
- /package/dist/{block.tk.pgv-UHDY3T4G.js.map → block.tk.pgv-6222WWYR.js.map} +0 -0
- /package/dist/{brainRegions-YI7K4OVE.js.map → brainRegions-KTFH6DE2.js.map} +0 -0
- /package/dist/{bubbleHeatmap-EQ44CSG5.js.map → bubbleHeatmap-LNXZLFY6.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-O3KL2YBF.js.map → cellTypeBubbleHeatmap-SRHUNX3S.js.map} +0 -0
- /package/dist/{chunk-7ROMS7YT.js.map → chunk-3TXVDBGN.js.map} +0 -0
- /package/dist/{chunk-I5KBI5PC.js.map → chunk-4HLHKBHP.js.map} +0 -0
- /package/dist/{chunk-4KUGV44F.js.map → chunk-5GG7Q2ZG.js.map} +0 -0
- /package/dist/{chunk-4GN3CSDT.js.map → chunk-5PMFCQKC.js.map} +0 -0
- /package/dist/{chunk-HENLCRVM.js.map → chunk-6X7PP7A4.js.map} +0 -0
- /package/dist/{chunk-6ZLCBVJA.js.map → chunk-A3EDLRUN.js.map} +0 -0
- /package/dist/{chunk-OGQMELRU.js.map → chunk-ACXFPMJP.js.map} +0 -0
- /package/dist/{chunk-JPQSDB2H.js.map → chunk-ASRW3UJ5.js.map} +0 -0
- /package/dist/{chunk-NVH5I6EP.js.map → chunk-BBILSUDX.js.map} +0 -0
- /package/dist/{chunk-EK7CQC3P.js.map → chunk-BOWI37X2.js.map} +0 -0
- /package/dist/{chunk-SACNULB3.js.map → chunk-BVA26EFK.js.map} +0 -0
- /package/dist/{chunk-BZ36NJHA.js.map → chunk-D5J57ENI.js.map} +0 -0
- /package/dist/{chunk-I56CSICA.js.map → chunk-E5BFGDLA.js.map} +0 -0
- /package/dist/{chunk-XXITHNR2.js.map → chunk-ECISCOPF.js.map} +0 -0
- /package/dist/{chunk-YCLNEB4L.js.map → chunk-ECLUUJVE.js.map} +0 -0
- /package/dist/{chunk-2OEMKKLP.js.map → chunk-EGDQ5I54.js.map} +0 -0
- /package/dist/{chunk-FCMHDCMO.js.map → chunk-ELNVTA7O.js.map} +0 -0
- /package/dist/{chunk-DLXMO6EK.js.map → chunk-F4PMOAQK.js.map} +0 -0
- /package/dist/{chunk-WVVH56ZU.js.map → chunk-FISQTHD4.js.map} +0 -0
- /package/dist/{chunk-GJFG2MML.js.map → chunk-HL6GJIOH.js.map} +0 -0
- /package/dist/{chunk-ZPFN3CYR.js.map → chunk-IGZAOCTU.js.map} +0 -0
- /package/dist/{chunk-IUA3PSTK.js.map → chunk-JMDJI7KM.js.map} +0 -0
- /package/dist/{chunk-VTYMSJGY.js.map → chunk-JQVA264Z.js.map} +0 -0
- /package/dist/{chunk-WEF6INPI.js.map → chunk-JRF7SRLB.js.map} +0 -0
- /package/dist/{chunk-25RPYQRT.js.map → chunk-KLWSW6CC.js.map} +0 -0
- /package/dist/{chunk-AVR4LFOO.js.map → chunk-KNNSOOTG.js.map} +0 -0
- /package/dist/{chunk-BY5B5BM5.js.map → chunk-KTPXQH2N.js.map} +0 -0
- /package/dist/{chunk-J3TIXBCS.js.map → chunk-LGKXSWY4.js.map} +0 -0
- /package/dist/{chunk-PBRW6QLS.js.map → chunk-LP2GIXVK.js.map} +0 -0
- /package/dist/{chunk-AT7HWXMW.js.map → chunk-MBHERRJR.js.map} +0 -0
- /package/dist/{chunk-MT5MHYL3.js.map → chunk-MLYQDJUQ.js.map} +0 -0
- /package/dist/{chunk-TRWFL52W.js.map → chunk-NBGDLLMX.js.map} +0 -0
- /package/dist/{chunk-D27C6HZW.js.map → chunk-P3JEXVBT.js.map} +0 -0
- /package/dist/{chunk-TMZZ4Z7L.js.map → chunk-PZPPJY4K.js.map} +0 -0
- /package/dist/{chunk-SEJGXC2L.js.map → chunk-Q6JF4ZLT.js.map} +0 -0
- /package/dist/{chunk-ALXSSRGI.js.map → chunk-QF5IH7PC.js.map} +0 -0
- /package/dist/{chunk-S2D6GH6D.js.map → chunk-QJ6SO7CF.js.map} +0 -0
- /package/dist/{chunk-WZTZJNSG.js.map → chunk-QQUOVIOM.js.map} +0 -0
- /package/dist/{chunk-WO4CL5JL.js.map → chunk-R3OBOAOF.js.map} +0 -0
- /package/dist/{chunk-VP2FPPLA.js.map → chunk-SPDNUC76.js.map} +0 -0
- /package/dist/{chunk-5RHE36DQ.js.map → chunk-T3663ZQL.js.map} +0 -0
- /package/dist/{chunk-BZKHE26Z.js.map → chunk-TSK4ZTFK.js.map} +0 -0
- /package/dist/{chunk-CBRZIMNF.js.map → chunk-USW6WRDZ.js.map} +0 -0
- /package/dist/{chunk-34AV6DED.js.map → chunk-WBMYHNKH.js.map} +0 -0
- /package/dist/{chunk-MEJMWIBD.js.map → chunk-X46LAU4Q.js.map} +0 -0
- /package/dist/{chunk-254KEDDH.js.map → chunk-XE6E526E.js.map} +0 -0
- /package/dist/{chunk-55PGOBTR.js.map → chunk-XWCWBHLB.js.map} +0 -0
- /package/dist/{chunk-6456HESK.js.map → chunk-YCECQV3T.js.map} +0 -0
- /package/dist/{chunk-MECQLU4J.js.map → chunk-Z4NADGZX.js.map} +0 -0
- /package/dist/{chunk-6THPWBBU.js.map → chunk-Z53KOPRJ.js.map} +0 -0
- /package/dist/{cohort-JCMVMOBQ.js.map → cohort-U7M6Q2UX.js.map} +0 -0
- /package/dist/{condition-SHRWEMG7.js.map → condition-EGAV2PMJ.js.map} +0 -0
- /package/dist/{controls-EKIHLQS6.js.map → controls-PTMYWUZV.js.map} +0 -0
- /package/dist/{controls.config-WSVX6UC6.js.map → controls.config-DOA6PTP2.js.map} +0 -0
- /package/dist/{correlation-ALFFZLKD.js.map → correlation-Y3EL6GB7.js.map} +0 -0
- /package/dist/{customdata.inputui-L2UAIU6I.js.map → customdata.inputui-4NDDG6FL.js.map} +0 -0
- /package/dist/{dataDownload-73N5364T.js.map → dataDownload-EQGUAOK2.js.map} +0 -0
- /package/dist/{databrowser.ui-NTOGXDYE.js.map → databrowser.ui-ABGOJUWQ.js.map} +0 -0
- /package/dist/{dictionary-CUAU2X6Q.js.map → dictionary-YOLLEDE5.js.map} +0 -0
- /package/dist/{dnaMethylation-AGWAGXVD.js.map → dnaMethylation-JZT63UHO.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-K22XXOU4.js.map → dnaMethylation.integration.spec-EATCABJW.js.map} +0 -0
- /package/dist/{dofetch-BVJ77SP7.js.map → dofetch-YNBIUFV5.js.map} +0 -0
- /package/dist/{e2pca-4HIJWLSC.js.map → e2pca-RD6COCRL.js.map} +0 -0
- /package/dist/{ep-U4RGH62P.js.map → ep-BAI7WUET.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-JJGGQDQK.js.map → expclust.gdc.spec-LKV2CQA5.js.map} +0 -0
- /package/dist/{facet-NNUPVXCG.js.map → facet-X3SXQIAC.js.map} +0 -0
- /package/dist/{gb-2MYXJEMY.js.map → gb-K324K7XB.js.map} +0 -0
- /package/dist/{geneExpClustering-6ORRRH43.js.map → geneExpClustering-BJD5U3KG.js.map} +0 -0
- /package/dist/{geneExpression-4JVWKJWP.js.map → geneExpression-2TK3XLZ5.js.map} +0 -0
- /package/dist/{geneExpression-MARWAIHW.js.map → geneExpression-F6NRTHZ4.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-3CQTUSDK.js.map → geneExpression.unit.spec-IFZN3J6A.js.map} +0 -0
- /package/dist/{geneORA-M2L2YEX3.js.map → geneORA-DUEP735U.js.map} +0 -0
- /package/dist/{geneRanking-S2B3LSTU.js.map → geneRanking-LURDNT7L.js.map} +0 -0
- /package/dist/{geneVariant-D2ANGINP.js.map → geneVariant-EAVCWQAZ.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-62NJS7GD.js.map → geneVariant.integration.spec-LHL4ERFO.js.map} +0 -0
- /package/dist/{genefusion.ui-4ZZNKANU.js.map → genefusion.ui-4T5R7DT7.js.map} +0 -0
- /package/dist/{geneset-QCLFANPD.js.map → geneset-3PWXPBG2.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-BV5M6JFN.js.map → genomeBrowser.spec-5SEN7R2P.js.map} +0 -0
- /package/dist/{grin2-J4VDS2JT.js.map → grin2-EXBG7TMS.js.map} +0 -0
- /package/dist/{grin2-K5G3N5XP.js.map → grin2-XIXVFVWO.js.map} +0 -0
- /package/dist/{geneVariant-T4NG72OL.js.map → hierCluster-5XQIWXAY.js.map} +0 -0
- /package/dist/{hierCluster-FMK524WF.js.map → hierCluster-I4TAQWPF.js.map} +0 -0
- /package/dist/{hierCluster-XF7ZWVKD.js.map → hierCluster.config-T7HVAWES.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-NSLTJBL4.js.map → hierCluster.integration.spec-XWX43K4D.js.map} +0 -0
- /package/dist/{hierCluster.config-LYAQCO3L.js.map → hierCluster.interactivity-MYIDHFSL.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-VKAOR2DR.js.map → hierCluster.renderers-YRXA5ZUK.js.map} +0 -0
- /package/dist/{imagePlot-IPTIFVLT.js.map → imagePlot-4JQB6JUG.js.map} +0 -0
- /package/dist/{hierCluster.renderers-6C5F7LRL.js.map → importPlot-D3MXCCLN.js.map} +0 -0
- /package/dist/{importPlot-V3P6DCUR.js.map → isoformExpression-WNGGUVIZ.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-IYZWSLO5.js.map → isoformExpression.unit.spec-NVJ5TIKM.js.map} +0 -0
- /package/dist/{isoformExpression-6IIPJI4M.js.map → junction-O7N57JE3.js.map} +0 -0
- /package/dist/{junction.unit.spec-M4EN7KPG.js.map → junction.unit.spec-Z63DRTRR.js.map} +0 -0
- /package/dist/{junction-E6FB2OP4.js.map → launch.adhoc-MBDRXD3B.js.map} +0 -0
- /package/dist/{leftlabel.sample-5WTK5NBD.js.map → leftlabel.sample-IG6FOQ26.js.map} +0 -0
- /package/dist/{lollipop-L64ZTEEX.js.map → lollipop-ZUYBLPGN.js.map} +0 -0
- /package/dist/{maf-QLNFANWO.js.map → maf-QOS5LURG.js.map} +0 -0
- /package/dist/{maftimeline-U7FMTMTV.js.map → maftimeline-FEHP2J55.js.map} +0 -0
- /package/dist/{launch.adhoc-SU5L2YXN.js.map → matrix-BG4J4RXA.js.map} +0 -0
- /package/dist/{matrix-GFVK3PEB.js.map → matrix-PX4LWTGN.js.map} +0 -0
- /package/dist/{matrix-HFJQGPJJ.js.map → matrix.cells-PTIDQVCI.js.map} +0 -0
- /package/dist/{matrix.cells-5JKTBI3X.js.map → matrix.config-NHW7BLIE.js.map} +0 -0
- /package/dist/{matrix.config-QPTQ22RR.js.map → matrix.data-FMIQRXOA.js.map} +0 -0
- /package/dist/{matrix.data-MXIUMSRR.js.map → matrix.dom-4S2UYJOU.js.map} +0 -0
- /package/dist/{matrix.dom-ENBFB4CW.js.map → matrix.groups-QMID5XAO.js.map} +0 -0
- /package/dist/{matrix.integration.spec-X4HM67TN.js.map → matrix.integration.spec-H6T7KP5R.js.map} +0 -0
- /package/dist/{matrix.groups-6DYTBVGR.js.map → matrix.interactivity-WQUO25HB.js.map} +0 -0
- /package/dist/{matrix.interactivity-QTB56LXE.js.map → matrix.layout-CTPVZZ34.js.map} +0 -0
- /package/dist/{matrix.layout-VQAORIIH.js.map → matrix.legend-K6EYUN6L.js.map} +0 -0
- /package/dist/{matrix.legend-SDJXYNHE.js.map → matrix.renderers-5DIAUY6R.js.map} +0 -0
- /package/dist/{matrix.renderers-6PMYIP2S.js.map → matrix.serieses-LRMN2J52.js.map} +0 -0
- /package/dist/{matrix.serieses-WWY7474U.js.map → matrix.sort-RGAGEA6Z.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-3RM7V6CS.js.map → matrix.sort.unit.spec-RGICZZJL.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-YOV6FBRT.js.map → matrix.sorterUi.unit.spec-45QPEGWE.js.map} +0 -0
- /package/dist/{mavb-PJA76T7F.js.map → mavb-VEIVB62L.js.map} +0 -0
- /package/dist/{mds.fimo-GW7XPJGQ.js.map → mds.fimo-BG4LTWFB.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-ZAIEWPO4.js.map → mds.samplescatterplot-PWADJZ2J.js.map} +0 -0
- /package/dist/{mds.survivalplot-ETLLFDWR.js.map → mds.survivalplot-BX4HZ23K.js.map} +0 -0
- /package/dist/{multivalue-AZPAQJQD.js.map → multivalue-OZALSBFW.js.map} +0 -0
- /package/dist/{numericDictTermCluster-KOJODGZT.js.map → numericDictTermCluster-7PGJ7KV4.js.map} +0 -0
- /package/dist/{oncomatrix-2TRXETOJ.js.map → oncomatrix-Q2EQZPLS.js.map} +0 -0
- /package/dist/{oncomatrix.spec-DOVKLS24.js.map → oncomatrix.spec-YEQOQRPW.js.map} +0 -0
- /package/dist/{plot.2dvaf-RQN6QADW.js.map → plot.2dvaf-NJSB3HNH.js.map} +0 -0
- /package/dist/{matrix.sort-V46C2MAZ.js.map → plot.app-AEUR6XGI.js.map} +0 -0
- /package/dist/{plot.barplot-46QRWJOX.js.map → plot.barplot-OXN2P5KL.js.map} +0 -0
- /package/dist/{plot.boxplot-54J4UWQX.js.map → plot.boxplot-2KHEVVFE.js.map} +0 -0
- /package/dist/{plot.brainImaging-Y32KQFLS.js.map → plot.brainImaging-JWDX4BZG.js.map} +0 -0
- /package/dist/{plot.disco-4R5J7Z5S.js.map → plot.disco-LUFC5GGC.js.map} +0 -0
- /package/dist/{plot.ssgq-6LCKYRYD.js.map → plot.ssgq-FMM3IRNA.js.map} +0 -0
- /package/dist/{plot.vaf2cov-UCBH4NSC.js.map → plot.vaf2cov-K5TAQUC5.js.map} +0 -0
- /package/dist/{plot.wsi-DAC7NUQE.js.map → plot.wsi-CNQCNZ4Z.js.map} +0 -0
- /package/dist/{polar2-JKV74QV5.js.map → polar2-AB6SVYRS.js.map} +0 -0
- /package/dist/{profileForms-VDYCFH4M.js.map → profileForms-AIEHZ4GC.js.map} +0 -0
- /package/dist/{plot.app-MOIVGIS6.js.map → profilePlot-PZDFGXKZ.js.map} +0 -0
- /package/dist/{proteinView-A3EM6OR5.js.map → proteinView-7GWHQYXC.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-CUMTLAH7.js.map → pseudbulk.unit.spec-NFT4VNTI.js.map} +0 -0
- /package/dist/{profilePlot-PR3LVRYU.js.map → pseudobulk-WDGWTXW4.js.map} +0 -0
- /package/dist/{pseudobulk-5E5MSMU3.js.map → qualitative-PZYJENE7.js.map} +0 -0
- /package/dist/{radar2-A5OYMORS.js.map → radar2-QHRGH3YS.js.map} +0 -0
- /package/dist/{radarFacility2-4TPJB6M4.js.map → radarFacility2-2JD26FL6.js.map} +0 -0
- /package/dist/{qualitative-WPXUBISK.js.map → render-YA4Z56LT.js.map} +0 -0
- /package/dist/{report-NCJOTYIC.js.map → report-2NUKFJTF.js.map} +0 -0
- /package/dist/{render-XQBWWS33.js.map → sampleView-2XVPJTVR.js.map} +0 -0
- /package/dist/{samplelst-FV7BAUN5.js.map → samplelst-DMILFDT5.js.map} +0 -0
- /package/dist/{samplematrix-DFD3PNI4.js.map → samplematrix-LYA5XTUM.js.map} +0 -0
- /package/dist/{sc-GIMTDVLG.js.map → sc-CM2C34MN.js.map} +0 -0
- /package/dist/{scatter-4GJ5HKUY.js.map → scatter-C3CH3HTF.js.map} +0 -0
- /package/dist/{scatter-P3ISZB3R.js.map → scatter-GO6LV6NY.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-ZZ4CEHDU.js.map → selectGenomeWithTklst-5C7UBTGZ.js.map} +0 -0
- /package/dist/{sampleView-2PUSMG4W.js.map → singleCellCellType-EZYESBVZ.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-JNEIICK5.js.map → singleCellCellType.unit.spec-DB6FM4XR.js.map} +0 -0
- /package/dist/{singleCellCellType-CEERCVTR.js.map → singleCellGeneExpression-DZLEFPW4.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-CGRZGY66.js.map → singleCellGeneExpression.unit.spec-ZTBK3V43.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-G5B7DDES.js.map → singleCellPlot-VF4TZ4FT.js.map} +0 -0
- /package/dist/{singlecell-IPTSIKNA.js.map → singlecell-2MHROPBN.js.map} +0 -0
- /package/dist/{singlecell-VB4KLPJF.js.map → singlecell-GPAFNOUZ.js.map} +0 -0
- /package/dist/{singleCellPlot-US5KTHS4.js.map → snp-K4EAEVW4.js.map} +0 -0
- /package/dist/{snp.unit.spec-Q537NGVG.js.map → snp.unit.spec-BUVQLVOY.js.map} +0 -0
- /package/dist/{snplocus-BV6WJTVP.js.map → snplocus-GEVISN6Z.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-3BUQVK4Q.js.map → spliceevent.a53ss.diagram-5UPWNAZF.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-CQZ2DFQ5.js.map → spliceevent.exonskip.diagram-7TKAQURC.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-QAEPR6LD.js.map → spliceevent.noeventdiagram-CDXZLR3Z.js.map} +0 -0
- /package/dist/{snp-6V2SCCRN.js.map → ssGSEA-NMCJUQXT.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-A337IMC7.js.map → ssGSEA.unit.spec-3FQALTPQ.js.map} +0 -0
- /package/dist/{stattable-J4ZQKJFM.js.map → stattable-2RXQPWKK.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-76UJXLA4.js.map → summarizeCnvGeneexp-4BQS5AFM.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-ZUEHXA2R.js.map → summarizeGeneexpSurvival-HTBZQFB5.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-EBCBVMG6.js.map → summarizeMutationCnv-XUWZGPCM.js.map} +0 -0
- /package/dist/{ssGSEA-XNI5S7AC.js.map → summarizeMutationDiagnosis-QUJX42TO.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-QRFMJLLO.js.map → summarizeMutationSurvival-3R47TTR6.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-VLFI2ZIZ.js.map → summary-6UUB63QR.js.map} +0 -0
- /package/dist/{summary.integration.spec-52WP6SNY.js.map → summary.integration.spec-JJDE6SRV.js.map} +0 -0
- /package/dist/{summaryInput-WUJNHCGH.js.map → summaryInput-JG4AW6FW.js.map} +0 -0
- /package/dist/{sunburst-IJ3ZG2BC.js.map → sunburst-YKB42RZX.js.map} +0 -0
- /package/dist/{survival-SQRYWGWZ.js.map → survival-3IFFTDQA.js.map} +0 -0
- /package/dist/{survival-F2B5JKOO.js.map → survival-HOFNJENX.js.map} +0 -0
- /package/dist/{svgraph-HVCMF6KI.js.map → svgraph-WFEY4ZIZ.js.map} +0 -0
- /package/dist/{svmr-PROHTMTP.js.map → svmr-44EIX7YD.js.map} +0 -0
- /package/dist/{table-3E64OJNV.js.map → table-6MKVJUNC.js.map} +0 -0
- /package/dist/{termCollection-WKT6ESMI.js.map → termCollection-6JBVQL6Y.js.map} +0 -0
- /package/dist/{summary-U3YKEMZC.js.map → termCollection-TTELZVC5.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-XMOCMVER.js.map → termCollection.unit.spec-6Z7X646L.js.map} +0 -0
- /package/dist/{termCollection-MUH7P6B5.js.map → termCollectionFractionSelection-5DVIJBM5.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-MG7E3EIZ.js.map → termCollectionFractionSelection.unit.spec-3HIM5BIF.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-P5G6WIJJ.js.map → tk-HSYWJCGQ.js.map} +0 -0
- /package/dist/{tk-HWUPUGOS.js.map → tk-PNOVG2XS.js.map} +0 -0
- /package/dist/{tp.ui-RRB5MJRD.js.map → tp.ui-COBBSUPB.js.map} +0 -0
- /package/dist/{tk-SBM2GN3S.js.map → tvs.dt-35AKURFI.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-7RJPQKMX.js.map → tvs.dtcnv.categorical-3EHXYROL.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-FW4ZXIYY.js.map → tvs.dtcnv.continuous-AXQ2GU6S.js.map} +0 -0
- /package/dist/{tvs.dtfusion-3GDWW3ML.js.map → tvs.dtfusion-PLJIMPNX.js.map} +0 -0
- /package/dist/{tvs.dtitd-FER4H4UO.js.map → tvs.dtitd-JS6RFBV5.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-ISEOJ5UA.js.map → tvs.dtsnvindel-MDEM5MPT.js.map} +0 -0
- /package/dist/{tvs.dtsv-JDML7EWE.js.map → tvs.dtsv-OU756YLO.js.map} +0 -0
- /package/dist/{tvs.samplelst-MJTM6GSV.js.map → tvs.samplelst-5NDICES4.js.map} +0 -0
- /package/dist/{tvs.termCollection-GMOXBJWF.js.map → tvs.termCollection-5URPDPH6.js.map} +0 -0
- /package/dist/{tvs.dt-I2ECKHQ2.js.map → vocabulary-CHCVMPK5.js.map} +0 -0
- /package/dist/{wsi.direct-IVPACPNT.js.map → wsi.direct-JSKV4H4X.js.map} +0 -0
|
@@ -0,0 +1,1413 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appInit
|
|
3
|
+
} from "./chunk-Q6JF4ZLT.js";
|
|
4
|
+
import "./chunk-F4PMOAQK.js";
|
|
5
|
+
import "./chunk-SKMFMGCD.js";
|
|
6
|
+
import {
|
|
7
|
+
getDefaultViolinSettings
|
|
8
|
+
} from "./chunk-IHU55O2R.js";
|
|
9
|
+
import "./chunk-UILBQKQ6.js";
|
|
10
|
+
import {
|
|
11
|
+
mayRunSnplstTask
|
|
12
|
+
} from "./chunk-7OYOC7XY.js";
|
|
13
|
+
import {
|
|
14
|
+
RegressionResults
|
|
15
|
+
} from "./chunk-FXT2XM4E.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-D5PX2UDG.js";
|
|
26
|
+
import "./chunk-HJ6L54YS.js";
|
|
27
|
+
import "./chunk-XFAL46LZ.js";
|
|
28
|
+
import "./chunk-OPMMU6DQ.js";
|
|
29
|
+
import {
|
|
30
|
+
Menu
|
|
31
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
32
|
+
import "./chunk-7BLXK3GI.js";
|
|
33
|
+
import "./chunk-VSSZJHOR.js";
|
|
34
|
+
import "./chunk-5RUVBYLK.js";
|
|
35
|
+
import {
|
|
36
|
+
get_bin_label
|
|
37
|
+
} from "./chunk-6X7PP7A4.js";
|
|
38
|
+
import "./chunk-EO6M3LY3.js";
|
|
39
|
+
import {
|
|
40
|
+
dictionaryNumericTypes,
|
|
41
|
+
isDictionaryType,
|
|
42
|
+
isNumericTerm,
|
|
43
|
+
numericTypes
|
|
44
|
+
} from "./chunk-DXLO4OAB.js";
|
|
45
|
+
import "./chunk-4QBRVM4V.js";
|
|
46
|
+
import {
|
|
47
|
+
copyMerge,
|
|
48
|
+
getCompInit
|
|
49
|
+
} from "./chunk-H6INPPUC.js";
|
|
50
|
+
import "./chunk-PF4DSFDR.js";
|
|
51
|
+
import "./chunk-IMYSFDE5.js";
|
|
52
|
+
import {
|
|
53
|
+
getValueConversionFactor
|
|
54
|
+
} from "./chunk-W5J3LTYS.js";
|
|
55
|
+
import "./chunk-4ZL6IBXM.js";
|
|
56
|
+
import "./chunk-OZVWP4ZR.js";
|
|
57
|
+
import "./chunk-FXQXCOII.js";
|
|
58
|
+
import {
|
|
59
|
+
roundValue
|
|
60
|
+
} from "./chunk-TLT4YIG3.js";
|
|
61
|
+
import "./chunk-5R63Q5KH.js";
|
|
62
|
+
import {
|
|
63
|
+
select_default
|
|
64
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
65
|
+
import "./chunk-Q5RDQNIT.js";
|
|
66
|
+
import "./chunk-DQC5FFGV.js";
|
|
67
|
+
import "./chunk-HFNDKYVF.js";
|
|
68
|
+
|
|
69
|
+
// plots/regression/regression.inputs.values.table.ts
|
|
70
|
+
var row_hover_bgcolor = "#fff6dc";
|
|
71
|
+
var InputValuesTable = class {
|
|
72
|
+
constructor(opts) {
|
|
73
|
+
this.opts = opts;
|
|
74
|
+
this.input = opts.input;
|
|
75
|
+
setRenderers(this);
|
|
76
|
+
this.setDOM(opts.holder);
|
|
77
|
+
}
|
|
78
|
+
main() {
|
|
79
|
+
try {
|
|
80
|
+
const term = this.input.term;
|
|
81
|
+
if (!term || !this.input.termStatus) {
|
|
82
|
+
this.dom.holder.style("display", "none");
|
|
83
|
+
this.dom.loading_div.style("display", "none");
|
|
84
|
+
return;
|
|
85
|
+
} else if (term) {
|
|
86
|
+
this.dom.holder.style("display", "block");
|
|
87
|
+
this.dom.loading_div.style("display", "block");
|
|
88
|
+
this.updateValueCount();
|
|
89
|
+
this.dom.loading_div.style("display", "none");
|
|
90
|
+
this.render();
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
} catch (e) {
|
|
94
|
+
this.dom.loading_div.style("display", "none");
|
|
95
|
+
throw e;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
updateValueCount() {
|
|
99
|
+
const i = this.input;
|
|
100
|
+
try {
|
|
101
|
+
if (i.pill && i.pill.validateQ) {
|
|
102
|
+
i.pill.validateQ({
|
|
103
|
+
term: i.term.term,
|
|
104
|
+
q: i.term.q,
|
|
105
|
+
sampleCounts: i.termStatus.sampleCounts
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
} catch (e) {
|
|
109
|
+
i.term.error = e;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
function setRenderers(self) {
|
|
114
|
+
self.setDOM = (holder) => {
|
|
115
|
+
self.dom = {
|
|
116
|
+
holder: holder.style("margin", "10px").style("font-size", ".8em").style("text-align", "left").style("color", "#999"),
|
|
117
|
+
loading_div: holder.append("div").text("Loading..").style("display", "none"),
|
|
118
|
+
top_info_div: holder.append("div").style("padding-bottom", "5px"),
|
|
119
|
+
violin_div: holder.append("div").style("color", "black").style("padding-top", "5px"),
|
|
120
|
+
table_div: holder.append("table").style("margin", "5px 0px 15px 0px").style("border-collapse", "collapse").style("color", "black"),
|
|
121
|
+
bottom_info_div: holder.append("div"),
|
|
122
|
+
excluded_div: holder.append("table").style("display", "none").style("margin", "5px 10px").style("border-collapse", "collapse")
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
self.render = async () => {
|
|
126
|
+
const input = self.input;
|
|
127
|
+
renderTopInfo(input);
|
|
128
|
+
await renderValuesTable(input);
|
|
129
|
+
renderBottomInfo(input);
|
|
130
|
+
renderExcludedValues(input);
|
|
131
|
+
};
|
|
132
|
+
function renderTopInfo(input) {
|
|
133
|
+
if (input.termStatus.topInfoStatus?.length) {
|
|
134
|
+
self.dom.top_info_div.style("display", "block").html(input.termStatus.topInfoStatus.join("<br>"));
|
|
135
|
+
} else {
|
|
136
|
+
self.dom.top_info_div.style("display", "none");
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
async function renderValuesTable(input) {
|
|
140
|
+
if (input.term.q.mode == "continuous" || input.term.q.mode == "spline") {
|
|
141
|
+
self.dom.violin_div.style("display", "block");
|
|
142
|
+
self.dom.table_div.style("display", "none");
|
|
143
|
+
if (self.plotAppApi) {
|
|
144
|
+
const action = {
|
|
145
|
+
type: "app_refresh",
|
|
146
|
+
state: { termfilter: structuredClone(self.input.parent.state?.termfilter) },
|
|
147
|
+
subactions: [
|
|
148
|
+
{
|
|
149
|
+
type: "plot_edit",
|
|
150
|
+
id: self.violinApi.id,
|
|
151
|
+
config: {
|
|
152
|
+
term: input.term
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
};
|
|
157
|
+
self.plotAppApi.dispatch(action);
|
|
158
|
+
} else {
|
|
159
|
+
const opts = {
|
|
160
|
+
holder: self.dom.violin_div,
|
|
161
|
+
vocabApi: self.input.parent.app.vocabApi,
|
|
162
|
+
state: {
|
|
163
|
+
vocab: {
|
|
164
|
+
genome: self.input.parent.app.vocabApi.genome,
|
|
165
|
+
dslabel: self.input.parent.app.vocabApi.dslabel
|
|
166
|
+
},
|
|
167
|
+
termfilter: structuredClone(self.input.parent.state?.termfilter),
|
|
168
|
+
plots: [
|
|
169
|
+
{
|
|
170
|
+
chartType: "violin",
|
|
171
|
+
term: input.term,
|
|
172
|
+
settings: {
|
|
173
|
+
violin: getDefaultViolinSettings(null, {
|
|
174
|
+
svgw: 350,
|
|
175
|
+
axisHeight: 25,
|
|
176
|
+
rightMargin: 10,
|
|
177
|
+
datasymbol: "rug",
|
|
178
|
+
radius: 8,
|
|
179
|
+
plotThickness: 80
|
|
180
|
+
})
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
// global options for plotAppApi
|
|
186
|
+
// opts.violin will apply to all violin plots within the plotApp
|
|
187
|
+
// rx will pass options by component type, which are not tracked in state
|
|
188
|
+
// examples are callbacks, event listeners, etc
|
|
189
|
+
violin: {
|
|
190
|
+
mode: "minimal"
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
self.plotAppApi = await appInit(opts);
|
|
194
|
+
const plotId = self.plotAppApi.getState().plots[0].id;
|
|
195
|
+
self.violinApi = self.plotAppApi.getComponents(`plots.${plotId}`);
|
|
196
|
+
}
|
|
197
|
+
} else {
|
|
198
|
+
self.dom.violin_div.style("display", "none");
|
|
199
|
+
const data = input.termStatus.sampleCounts;
|
|
200
|
+
if (!data || !data.length) {
|
|
201
|
+
self.dom.table_div.style("display", "none");
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
self.dom.table_div.style("display", "block").attr("data-testid", "sjpp-regression-barchart");
|
|
205
|
+
const l = self.input.orderedLabels;
|
|
206
|
+
const sortFxn = l && l.length ? (a, b) => l.indexOf(a.label) - l.indexOf(b.label) : (a, b) => b.samplecount - a.samplecount;
|
|
207
|
+
const tr_data = data.sort(sortFxn);
|
|
208
|
+
const maxCount = Math.max(...tr_data.map((v) => v.samplecount), 0);
|
|
209
|
+
tr_data.forEach((v) => v.bar_width_frac = Number((1 - (maxCount - v.samplecount) / maxCount).toFixed(4)));
|
|
210
|
+
self.dom.table_div.selectAll("tr").remove();
|
|
211
|
+
const trs = self.dom.table_div.selectAll("tr").data(tr_data, (b) => b.key);
|
|
212
|
+
trs.enter().append("tr").each(trEnter);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
function renderBottomInfo(input) {
|
|
216
|
+
if (input.termStatus.bottomSummaryStatus) {
|
|
217
|
+
self.dom.bottom_info_div.style("display", "block").html(input.termStatus.bottomSummaryStatus);
|
|
218
|
+
} else {
|
|
219
|
+
self.dom.bottom_info_div.style("display", "none");
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
function renderExcludedValues(input) {
|
|
223
|
+
const data = input.termStatus.excludeCounts;
|
|
224
|
+
if (!data || !data.length) {
|
|
225
|
+
self.dom.excluded_div.style("display", "none");
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
self.dom.excluded_div.style("display", "block").selectAll("tr").remove();
|
|
229
|
+
const trs = self.dom.excluded_div.selectAll("tr").data(data, (b) => b.key);
|
|
230
|
+
trs.enter().append("tr").each(trEnter);
|
|
231
|
+
self.dom.excluded_div.selectAll("td").style("color", "#999");
|
|
232
|
+
}
|
|
233
|
+
function trEnter(item) {
|
|
234
|
+
const tr = select_default(this);
|
|
235
|
+
const input = this.parentNode.__data__;
|
|
236
|
+
const maxBarWidth = 150;
|
|
237
|
+
tr.style("text-align", "left").style("cursor", input.termStatus.allowToSelectRefGrp ? "pointer" : "default");
|
|
238
|
+
const tdSpacing = "1px 10px 1px 0px";
|
|
239
|
+
tr.append("td").style("padding", tdSpacing).style("text-align", "left").style("color", "black").text(item.samplecount !== void 0 ? "n=" + item.samplecount : "");
|
|
240
|
+
tr.append("td").style("padding", tdSpacing).style("text-align", "left").style("color", "black").text(item.label);
|
|
241
|
+
const bar_td = tr.append("td").style("padding", tdSpacing);
|
|
242
|
+
const barWidth = maxBarWidth * item.bar_width_frac;
|
|
243
|
+
bar_td.append("div").style("margin", tdSpacing).style("width", barWidth + "px").style("height", "15px").style("background-color", "#ddd");
|
|
244
|
+
addTrBehavior({ input, item, tr, rendered: false });
|
|
245
|
+
}
|
|
246
|
+
function addTrBehavior({ input, item, tr, rendered }) {
|
|
247
|
+
if (!item.bar_width_frac) return;
|
|
248
|
+
const t = input.term;
|
|
249
|
+
const hover_flag = input.termStatus.allowToSelectRefGrp;
|
|
250
|
+
let ref_text;
|
|
251
|
+
if (rendered) {
|
|
252
|
+
tr.style("background", "white");
|
|
253
|
+
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" : "");
|
|
254
|
+
} else if (input.term.q.mode != "cutoff") {
|
|
255
|
+
const reference_td = tr.append("td").style("padding", "1px 5px").style("text-align", "left");
|
|
256
|
+
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", "#999").style("font-size", ".7em").text("REFERENCE");
|
|
257
|
+
if (hover_flag) {
|
|
258
|
+
tr.on("mouseover", () => {
|
|
259
|
+
if (t.refGrp !== item.key) {
|
|
260
|
+
tr.style("background", row_hover_bgcolor);
|
|
261
|
+
ref_text.style("display", "inline-block").style("border", "").text("Set as reference");
|
|
262
|
+
} else tr.style("background", "white");
|
|
263
|
+
}).on("mouseout", () => {
|
|
264
|
+
tr.style("background", "white");
|
|
265
|
+
if (t.refGrp !== item.key) ref_text.style("display", "none");
|
|
266
|
+
}).on("click", () => {
|
|
267
|
+
t.refGrp = item.key;
|
|
268
|
+
ref_text.style("border", "1px solid #bbb").text("REFERENCE");
|
|
269
|
+
self.opts.callback(t);
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// plots/regression/regression.inputs.term.ts
|
|
277
|
+
var InputTerm = class {
|
|
278
|
+
constructor(opts) {
|
|
279
|
+
this.opts = opts;
|
|
280
|
+
this.section = opts.section;
|
|
281
|
+
this.term = opts.term;
|
|
282
|
+
this.parent = opts.parent;
|
|
283
|
+
this.vocabApi = this.parent.parent.vocabApi;
|
|
284
|
+
}
|
|
285
|
+
async init(holder) {
|
|
286
|
+
const termRow = holder.append("div");
|
|
287
|
+
const pillDiv = termRow.append("span").style("display", "inline-block");
|
|
288
|
+
const interactionDiv = termRow.append("span").style("margin-left", "20px");
|
|
289
|
+
this.dom = {
|
|
290
|
+
holder,
|
|
291
|
+
termRow,
|
|
292
|
+
pillDiv,
|
|
293
|
+
interactionDiv,
|
|
294
|
+
err_div: holder.append("div").style("display", "none").style("padding", "5px").style("background-color", "rgba(255,100,100,0.2)"),
|
|
295
|
+
infoDiv: holder.append("div"),
|
|
296
|
+
tip: new Menu()
|
|
297
|
+
};
|
|
298
|
+
try {
|
|
299
|
+
const { app, config, state, disable_terms } = this.parent;
|
|
300
|
+
const arg = {
|
|
301
|
+
placeholder: this.section.selectPrompt,
|
|
302
|
+
placeholderIcon: this.section.placeholderIcon,
|
|
303
|
+
holder: this.dom.pillDiv,
|
|
304
|
+
vocabApi: this.vocabApi,
|
|
305
|
+
noTermPromptOptions: this.opts.noTermPromptOptions,
|
|
306
|
+
activeCohort: state.activeCohort,
|
|
307
|
+
debug: app.opts.debug,
|
|
308
|
+
menuOptions: this.getMenuOptions(),
|
|
309
|
+
usecase: { target: "regression", detail: this.section.configKey, regressionType: config.regressionType },
|
|
310
|
+
disable_terms,
|
|
311
|
+
abbrCutoff: 50,
|
|
312
|
+
genomeObj: this.parent.parent.genomeObj,
|
|
313
|
+
// required for snplocus
|
|
314
|
+
defaultQ4fillTW: get_defaultQ4fillTW(config.regressionType, this.section.configKey),
|
|
315
|
+
callback: (term) => {
|
|
316
|
+
this.parent.editConfig(this, term);
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
this.furbishTsConstructorArg(arg);
|
|
320
|
+
this.pill = await termsettingInit(arg);
|
|
321
|
+
if (this.section.configKey == "outcome") {
|
|
322
|
+
this.setQ = getQSetter4outcome(config.regressionType);
|
|
323
|
+
}
|
|
324
|
+
this.valuesTable = new InputValuesTable({
|
|
325
|
+
holder: this.dom.infoDiv,
|
|
326
|
+
input: this,
|
|
327
|
+
callback: (term) => {
|
|
328
|
+
this.parent.editConfig(this, term);
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
} catch (e) {
|
|
332
|
+
this.displayError([e]);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
furbishTsConstructorArg(arg) {
|
|
336
|
+
const type = this.parent.config.regressionType;
|
|
337
|
+
if (this.section.configKey == "outcome") {
|
|
338
|
+
if (type == "logistic") {
|
|
339
|
+
arg.numericEditMenuVersion = ["binary"];
|
|
340
|
+
return;
|
|
341
|
+
}
|
|
342
|
+
if (type == "linear") {
|
|
343
|
+
arg.numericEditMenuVersion = ["continuous"];
|
|
344
|
+
return;
|
|
345
|
+
}
|
|
346
|
+
if (type == "cox") {
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
throw "unknown regressionType";
|
|
350
|
+
}
|
|
351
|
+
if (this.section.configKey == "independent") {
|
|
352
|
+
arg.numericEditMenuVersion = ["continuous", "discrete", "spline"];
|
|
353
|
+
arg.geneVariantEditMenuOnlyGrp = true;
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
356
|
+
throw "unknown section.configKey: " + this.section.configKey;
|
|
357
|
+
}
|
|
358
|
+
displayError(errors) {
|
|
359
|
+
this.hasError = true;
|
|
360
|
+
this.dom.err_div.selectAll("*").remove();
|
|
361
|
+
this.dom.err_div.style("display", "block").selectAll("div").data(Array.isArray(errors) ? errors : [errors]).enter().append("div").text((e) => e);
|
|
362
|
+
this.parent.handleError();
|
|
363
|
+
console.error(errors);
|
|
364
|
+
}
|
|
365
|
+
async main() {
|
|
366
|
+
const tw = this.term;
|
|
367
|
+
if (tw) {
|
|
368
|
+
delete tw.error;
|
|
369
|
+
}
|
|
370
|
+
this.dom.err_div.style("display", "none").text("");
|
|
371
|
+
this.hasError = false;
|
|
372
|
+
const errors = [];
|
|
373
|
+
try {
|
|
374
|
+
if (tw && this.setQ) {
|
|
375
|
+
const {
|
|
376
|
+
/*app,*/
|
|
377
|
+
state
|
|
378
|
+
} = this.parent;
|
|
379
|
+
await this.setQ[tw.term.type](tw, this.vocabApi, this.parent.parent.filter, state);
|
|
380
|
+
}
|
|
381
|
+
try {
|
|
382
|
+
await this.updateTerm();
|
|
383
|
+
} catch (e2) {
|
|
384
|
+
errors.push(e2);
|
|
385
|
+
}
|
|
386
|
+
await this.pill.main(this.getPillArgs());
|
|
387
|
+
this.renderInteractionPrompt();
|
|
388
|
+
await this.valuesTable.main();
|
|
389
|
+
if (tw && !tw.$id) tw.$id = await get$id(this.vocabApi.getTwMinCopy(tw));
|
|
390
|
+
const e = tw && tw.error || this.pill.error;
|
|
391
|
+
if (e) errors.push(e);
|
|
392
|
+
if (errors.length) throw errors;
|
|
393
|
+
} catch (errors2) {
|
|
394
|
+
this.displayError(errors2);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
async updateTerm() {
|
|
398
|
+
const tw = this.term;
|
|
399
|
+
if (!tw) return;
|
|
400
|
+
if (!tw.q) throw ".term.q missing on this input";
|
|
401
|
+
if (!tw.q.mode && isDictionaryType(tw.term.type)) {
|
|
402
|
+
if (tw.term.type == "categorical" || tw.term.type == "condition" || tw.term.type == "survival" || tw.term.type == "samplelst")
|
|
403
|
+
tw.q.mode = "discrete";
|
|
404
|
+
else tw.q.mode = "continuous";
|
|
405
|
+
}
|
|
406
|
+
const body = tw.term.type == "snplst" || tw.term.type == "snplocus" ? { cacheid: tw.q.cacheid } : { term1_q: tw.q };
|
|
407
|
+
const wait = this.dom.holder.append("div").style("padding", "5px").text("Loading...");
|
|
408
|
+
let data;
|
|
409
|
+
try {
|
|
410
|
+
data = await this.vocabApi.getCategories(tw.term, this.parent.parent.filter, body);
|
|
411
|
+
if (!data) throw `no data for term.id='${tw.term.id}'`;
|
|
412
|
+
if (data.error) throw data.error;
|
|
413
|
+
} finally {
|
|
414
|
+
wait.remove();
|
|
415
|
+
}
|
|
416
|
+
mayRunSnplstTask(tw, data);
|
|
417
|
+
this.termStatus = {
|
|
418
|
+
topInfoStatus: [],
|
|
419
|
+
bottomSummaryStatus: void 0,
|
|
420
|
+
sampleCounts: void 0,
|
|
421
|
+
excludeCounts: void 0,
|
|
422
|
+
allowToSelectRefGrp: false
|
|
423
|
+
};
|
|
424
|
+
if (tw.q.numOfSampleWithAnyValidGT) {
|
|
425
|
+
const invalid_snps_count = tw.term.snps.reduce((i, j) => i + (j.invalid ? 1 : 0), 0);
|
|
426
|
+
this.termStatus.topInfoStatus.push(
|
|
427
|
+
`${tw.q.numOfSampleWithAnyValidGT} samples with valid genotypes` + (invalid_snps_count > 0 ? ` ${invalid_snps_count} invalid SNP${invalid_snps_count > 1 ? "s" : ""}.` : "")
|
|
428
|
+
);
|
|
429
|
+
}
|
|
430
|
+
if ("geneticModel" in tw.q) {
|
|
431
|
+
this.termStatus.topInfoStatus.push(
|
|
432
|
+
"Genetic model: " + (tw.q.geneticModel == 0 ? "Additive" : tw.q.geneticModel == 1 ? "Dominant" : tw.q.geneticModel == 2 ? "Recessive" : "By genotype")
|
|
433
|
+
);
|
|
434
|
+
}
|
|
435
|
+
if (tw.q.restrictAncestry) {
|
|
436
|
+
this.termStatus.topInfoStatus.push("Analyzing " + tw.q.restrictAncestry.name);
|
|
437
|
+
if (tw.q.restrictAncestry.PCcount) {
|
|
438
|
+
this.termStatus.topInfoStatus.push(
|
|
439
|
+
`Adjusting for top ${tw.q.restrictAncestry.PCcount} ancestry principal components`
|
|
440
|
+
);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
if (tw.term.reachedVariantLimit) {
|
|
444
|
+
this.termStatus.topInfoStatus.push(
|
|
445
|
+
`<span class=sja_mcdot style="background:#aaa;font-size:1em">
|
|
446
|
+
⚠ Restricted to first ${tw.term.snps.length}
|
|
447
|
+
variants of this region. </span> Try zooming in.`
|
|
448
|
+
);
|
|
449
|
+
}
|
|
450
|
+
this.orderedLabels = data.orderedLabels;
|
|
451
|
+
if (data.lst) {
|
|
452
|
+
this.summarizeSample(tw, data.lst);
|
|
453
|
+
if (isNumericTerm(tw.term)) {
|
|
454
|
+
if (tw.q.mode != "continuous" && tw.q.mode != "spline") {
|
|
455
|
+
this.termStatus.allowToSelectRefGrp = true;
|
|
456
|
+
}
|
|
457
|
+
if (tw.q.scale && tw.q.scale != 1) this.termStatus.topInfoStatus.push(`Scale: Per ${tw.q.scale}`);
|
|
458
|
+
if (tw.q.mode == "discrete") {
|
|
459
|
+
this.termStatus.topInfoStatus.push(`Discrete variable with ${this.termStatus?.sampleCounts?.length} bins`);
|
|
460
|
+
}
|
|
461
|
+
const vc = tw.term.valueConversion;
|
|
462
|
+
const isConverted = vc && (tw.q.mode == "continuous" || tw.q.mode == "spline");
|
|
463
|
+
if (isConverted) {
|
|
464
|
+
this.termStatus.topInfoStatus.push(`Analyzed by the unit of ${vc.toUnit}, converted from ${vc.fromUnit}`);
|
|
465
|
+
}
|
|
466
|
+
if (tw.q.mode == "spline") {
|
|
467
|
+
const f = getValueConversionFactor(tw.term);
|
|
468
|
+
this.termStatus.topInfoStatus.push(
|
|
469
|
+
`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` : ""}`
|
|
470
|
+
);
|
|
471
|
+
}
|
|
472
|
+
} else if (tw.term.type == "categorical" || tw.term.type == "geneVariant" || tw.term.type == "samplelst") {
|
|
473
|
+
this.termStatus.allowToSelectRefGrp = true;
|
|
474
|
+
} else if (tw.term.type == "condition") {
|
|
475
|
+
if (this.section.configKey == "outcome" && this.parent.opts.regressionType == "logistic") {
|
|
476
|
+
this.termStatus.allowToSelectRefGrp = true;
|
|
477
|
+
}
|
|
478
|
+
if (this.section.configKey == "outcome" && this.parent.opts.regressionType == "cox") {
|
|
479
|
+
if (!["age", "time"].includes(tw.q.timeScale)) throw "invalid q.timeScale";
|
|
480
|
+
const tdb = this.vocabApi.termdbConfig;
|
|
481
|
+
this.termStatus.topInfoStatus.push(`Time axis: ${tw.q.timeScale == "time" ? tdb.timeUnit : "age"}`);
|
|
482
|
+
this.termStatus.topInfoStatus.push(
|
|
483
|
+
`<span style="padding-left: 10px;">-start: ${tw.q.timeScale == "time" ? " " : "age at "}entry into the cohort (i.e., ${tdb.cohortStartTimeMsg})</span>`
|
|
484
|
+
);
|
|
485
|
+
this.termStatus.topInfoStatus.push(
|
|
486
|
+
`<span style="padding-left: 10px;">-end: ${tw.q.timeScale == "time" ? " " : "age at "}event or censoring/death</span>`
|
|
487
|
+
);
|
|
488
|
+
const grades = Object.keys(tw.term.values).map(Number);
|
|
489
|
+
const maxgrade = Math.max(...grades);
|
|
490
|
+
this.termStatus.topInfoStatus.push(
|
|
491
|
+
`<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>`}`
|
|
492
|
+
);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
this.maySet_refGrp(tw);
|
|
496
|
+
if (this.section.configKey == "outcome") {
|
|
497
|
+
if (this.parent.config.regressionType == "logistic") {
|
|
498
|
+
tw.nonRefGrp = getLogisticOutcomeNonref(tw);
|
|
499
|
+
} else if (this.parent.config.regressionType == "cox") {
|
|
500
|
+
tw.eventLabel = getCoxOutcomeEventLabel(tw);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
summarizeSample(tw, datalst) {
|
|
506
|
+
const excluded_values = /* @__PURE__ */ new Set();
|
|
507
|
+
if (tw.term.values) {
|
|
508
|
+
for (const i in tw.term.values) {
|
|
509
|
+
if (tw.term.values[i].uncomputable) excluded_values.add(tw.term.values[i].label);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
if (tw.q.mode == "cox") {
|
|
513
|
+
const toExclude = datalst.find((x) => x.key == -1);
|
|
514
|
+
if (toExclude) excluded_values.add(toExclude.label);
|
|
515
|
+
}
|
|
516
|
+
const sampleCounts = this.termStatus.sampleCounts = datalst.filter((v) => !excluded_values.has(v.label));
|
|
517
|
+
const excludeCounts = this.termStatus.excludeCounts = datalst.filter((v) => excluded_values.has(v.label));
|
|
518
|
+
const totalCount = { included: 0, excluded: 0, total: 0 };
|
|
519
|
+
sampleCounts.forEach((v) => totalCount.included += v.samplecount);
|
|
520
|
+
excludeCounts.forEach((v) => totalCount.excluded += v.samplecount);
|
|
521
|
+
totalCount.total = totalCount.included + totalCount.excluded;
|
|
522
|
+
if (tw.term.type == "condition" && totalCount.total) {
|
|
523
|
+
totalCount.excluded = totalCount.total - totalCount.included;
|
|
524
|
+
}
|
|
525
|
+
this.termStatus.bottomSummaryStatus = `${totalCount.included} samples included` + (totalCount.excluded ? `. ${totalCount.excluded} samples excluded:` : "");
|
|
526
|
+
if (tw && tw.q.mode !== "continuous" && sampleCounts.length < 2)
|
|
527
|
+
throw `there should be two or more discrete values with samples for variable='${tw.term.name}'`;
|
|
528
|
+
}
|
|
529
|
+
maySet_refGrp(tw) {
|
|
530
|
+
if (this.section.configKey == "outcome" && this.parent.config.regressionType == "cox") {
|
|
531
|
+
return;
|
|
532
|
+
}
|
|
533
|
+
if (tw.q.mode == "continuous") {
|
|
534
|
+
tw.refGrp = "NA";
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
537
|
+
const sc = this.termStatus.sampleCounts;
|
|
538
|
+
if (!sc) throw new Error("termStatus.sampleCounts missing");
|
|
539
|
+
if (!("refGrp" in tw) || !sc.find((i) => i.key == tw.refGrp)) {
|
|
540
|
+
if (tw.term.type == "geneVariant") {
|
|
541
|
+
const wtGrp = getGeneVariantWildtypeGrp(tw, sc);
|
|
542
|
+
if (wtGrp) {
|
|
543
|
+
tw.refGrp = wtGrp;
|
|
544
|
+
return;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
const o = this.orderedLabels;
|
|
548
|
+
if (o && o.length) sc.sort((a, b) => o.indexOf(a.key) - o.indexOf(b.key));
|
|
549
|
+
else sc.sort((a, b) => a.samplecount < b.samplecount ? 1 : -1);
|
|
550
|
+
tw.refGrp = sc[0].key;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
/*
|
|
554
|
+
recomputed on every main() and not just at init(), since switching cohort can change whether the
|
|
555
|
+
outcome term is the only one this dataset offers
|
|
556
|
+
*/
|
|
557
|
+
getMenuOptions() {
|
|
558
|
+
const { config, state } = this.parent;
|
|
559
|
+
if (this.section.configKey != "outcome") return "{edit,reuse,remove}";
|
|
560
|
+
return isLoneOutcome(config.regressionType, this.vocabApi.termdbConfig, state.activeCohort) ? "{edit,reuse}" : "{edit,reuse,replace}";
|
|
561
|
+
}
|
|
562
|
+
getPillArgs() {
|
|
563
|
+
const section = this.section;
|
|
564
|
+
const { config, state, disable_terms } = this.parent;
|
|
565
|
+
const args = Object.assign(
|
|
566
|
+
{
|
|
567
|
+
activeCohort: state.activeCohort,
|
|
568
|
+
disable_terms,
|
|
569
|
+
menuOptions: this.getMenuOptions(),
|
|
570
|
+
usecase: {
|
|
571
|
+
target: "regression",
|
|
572
|
+
detail: section.configKey,
|
|
573
|
+
regressionType: config.regressionType
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
this.term
|
|
577
|
+
);
|
|
578
|
+
args.filter = this.parent.parent.filter;
|
|
579
|
+
return args;
|
|
580
|
+
}
|
|
581
|
+
remove() {
|
|
582
|
+
this.dom.termRow.transition().duration(500).style("opacity", 0).remove();
|
|
583
|
+
for (const key in this.dom) {
|
|
584
|
+
delete this.dom[key];
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
renderInteractionPrompt() {
|
|
588
|
+
this.dom.interactionDiv.style("display", "none");
|
|
589
|
+
if (!this.term) return;
|
|
590
|
+
if (this.section.configKey != "independent") return;
|
|
591
|
+
if (this.term.q.mode == "spline") return;
|
|
592
|
+
if (this.vocabApi.termdbConfig.regression?.settings?.disableInteractions) return;
|
|
593
|
+
{
|
|
594
|
+
let count = 0;
|
|
595
|
+
for (const input of this.section.inputLst) {
|
|
596
|
+
if (input.term && input.term.q.mode != "spline") {
|
|
597
|
+
count++;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
if (count < 2) return;
|
|
601
|
+
}
|
|
602
|
+
const n = this.term.interactions.length;
|
|
603
|
+
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 ? "rgb(153, 153, 153)" : "#000").style("font-size", n == 0 ? "0.8em" : "").style("cursor", "pointer").on("click", () => this.renderInteractionOptions());
|
|
604
|
+
}
|
|
605
|
+
renderInteractionOptions() {
|
|
606
|
+
const self = this;
|
|
607
|
+
this.dom.tip.clear().showunder(this.dom.interactionDiv.node());
|
|
608
|
+
if (this.parent.config.includeUnivariate) {
|
|
609
|
+
const label = this.parent.dom.univariateCheckboxDiv.select("label").text().trim();
|
|
610
|
+
this.dom.tip.d.append("div").text(`Cannot add interactions. Please uncheck the "${label}" checkbox.`);
|
|
611
|
+
return;
|
|
612
|
+
}
|
|
613
|
+
this.dom.tip.d.append("div").style("padding", "5px").style("font-size", "0.8em").style("color", "rgb(153, 153, 153)").html(`Selected variables will each form pairwise interaction with ${this.term.term.name}`);
|
|
614
|
+
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) {
|
|
615
|
+
const elem = select_default(this).append("label");
|
|
616
|
+
elem.append("input").attr("type", "checkbox").property("checked", self.term.interactions.includes(tw.$id));
|
|
617
|
+
elem.append("span").text(" " + tw.term.name);
|
|
618
|
+
});
|
|
619
|
+
this.dom.tip.d.append("button").text("Apply").style("margin", "5px").on("click", () => {
|
|
620
|
+
this.dom.tip.hide();
|
|
621
|
+
this.term.interactions = [];
|
|
622
|
+
this.dom.tip.d.selectAll("input").each(function(tw) {
|
|
623
|
+
if (select_default(this).property("checked")) self.term.interactions.push(tw.$id);
|
|
624
|
+
});
|
|
625
|
+
for (const tw of this.parent.config.independent) {
|
|
626
|
+
const interactions = new Set(tw.interactions);
|
|
627
|
+
if (this.term.interactions.includes(tw.$id)) interactions.add(this.term.$id);
|
|
628
|
+
else interactions.delete(this.term.$id);
|
|
629
|
+
tw.interactions = [...interactions];
|
|
630
|
+
}
|
|
631
|
+
this.parent.editConfig(this, this.term);
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
};
|
|
635
|
+
function getQSetter4outcome(regressionType) {
|
|
636
|
+
return {
|
|
637
|
+
integer: regressionType == "logistic" ? maySetTwoBins : setContMode,
|
|
638
|
+
float: regressionType == "logistic" ? maySetTwoBins : setContMode,
|
|
639
|
+
geneExpression: regressionType == "logistic" ? maySetTwoBins : setContMode,
|
|
640
|
+
//Added geneExpression, but still breaks, need to fix
|
|
641
|
+
categorical: maySetTwoGroups,
|
|
642
|
+
condition: setQ4tteOutcome,
|
|
643
|
+
survival: setQ4tteOutcome
|
|
644
|
+
};
|
|
645
|
+
}
|
|
646
|
+
async function maySetTwoBins(tw, vocabApi, _, state) {
|
|
647
|
+
if (tw.q.mode == "binary" && tw.q.lst && tw.q.lst.length == 2) {
|
|
648
|
+
tw.q.mode = "binary";
|
|
649
|
+
return;
|
|
650
|
+
}
|
|
651
|
+
const data = await vocabApi.getPercentile(tw.term, [50], state.termfilter);
|
|
652
|
+
if (data.error || !data.values.length || !Number.isFinite(data.values[0]))
|
|
653
|
+
throw "cannot get median value: " + (data.error || "no data");
|
|
654
|
+
const median = tw.term.type == "integer" ? Math.round(data.values[0]) : Number(data.values[0].toFixed(2));
|
|
655
|
+
tw.q = {
|
|
656
|
+
mode: "binary",
|
|
657
|
+
type: "custom-bin",
|
|
658
|
+
lst: [
|
|
659
|
+
{
|
|
660
|
+
startunbounded: true,
|
|
661
|
+
stopinclusive: true,
|
|
662
|
+
stop: median
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
stopunbounded: true,
|
|
666
|
+
startinclusive: false,
|
|
667
|
+
start: median
|
|
668
|
+
}
|
|
669
|
+
]
|
|
670
|
+
};
|
|
671
|
+
tw.q.lst.forEach((bin) => {
|
|
672
|
+
bin.label = get_bin_label(bin, tw.q);
|
|
673
|
+
});
|
|
674
|
+
tw.refGrp = tw.q.lst[0].label;
|
|
675
|
+
}
|
|
676
|
+
function setQ4tteOutcome(tw, vocabApi, filter, state) {
|
|
677
|
+
if (state.config.regressionType == "logistic") {
|
|
678
|
+
if (!tw.refGrp) tw.refGrp = tw.q.groups[0].name;
|
|
679
|
+
}
|
|
680
|
+
if (state.config.regressionType == "cox") {
|
|
681
|
+
if (!tw.q.timeScale) tw.q.timeScale = "time";
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
async function maySetTwoGroups(tw, vocabApi, filter, state) {
|
|
685
|
+
const { term, q } = tw;
|
|
686
|
+
if (q.mode == "binary") {
|
|
687
|
+
if (q.type == "values" && Object.keys(term.values).length == 2) return;
|
|
688
|
+
if (q.type == "predefined-groupset") {
|
|
689
|
+
const idx = q.predefined_groupset_idx;
|
|
690
|
+
const t_gs2 = term.groupsetting;
|
|
691
|
+
if (t_gs2[idx] && Object.keys(t_gs2[idx]).length == 2) return;
|
|
692
|
+
}
|
|
693
|
+
if (q.type == "custom-groupset") {
|
|
694
|
+
const gs = q.customset;
|
|
695
|
+
if (gs.groups.filter((g) => !g.uncomputable).length == 2) return;
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
const data = await vocabApi.getCategories(term, filter);
|
|
699
|
+
if (data.error) throw "cannot get categories: " + data.error;
|
|
700
|
+
const category2samplecount = /* @__PURE__ */ new Map();
|
|
701
|
+
const computableCategories = [];
|
|
702
|
+
const uncomputableCategories = [];
|
|
703
|
+
for (const i of data.lst) {
|
|
704
|
+
category2samplecount.set(i.key, i.samplecount);
|
|
705
|
+
if (term.values && term.values[i.key] && term.values[i.key].uncomputable) uncomputableCategories.push(i.key);
|
|
706
|
+
else computableCategories.push(i.key);
|
|
707
|
+
}
|
|
708
|
+
if (computableCategories.length < 2) {
|
|
709
|
+
q.type = "values";
|
|
710
|
+
tw.error = "less than 2 categories/grades - cannot create separate groups";
|
|
711
|
+
return;
|
|
712
|
+
}
|
|
713
|
+
if (computableCategories.length == 2) {
|
|
714
|
+
q.type = "values";
|
|
715
|
+
return;
|
|
716
|
+
}
|
|
717
|
+
const t_gs = term.groupsetting;
|
|
718
|
+
if (q.customset && q.customset.groups && q.customset.groups.length == 2 && groupsetNoEmptyGroup(q.customset, category2samplecount)) {
|
|
719
|
+
q.type = "custom-groupset";
|
|
720
|
+
return;
|
|
721
|
+
}
|
|
722
|
+
if (t_gs && t_gs.lst) {
|
|
723
|
+
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)) {
|
|
724
|
+
q.type = "predefined-groupset";
|
|
725
|
+
return;
|
|
726
|
+
}
|
|
727
|
+
const i = t_gs.lst.findIndex((g) => g.groups.length == 2);
|
|
728
|
+
if (i != -1 && groupsetNoEmptyGroup(t_gs.lst[i], category2samplecount)) {
|
|
729
|
+
q.predefined_groupset_idx = i;
|
|
730
|
+
q.type = "predefined-groupset";
|
|
731
|
+
return;
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
const customset = {
|
|
735
|
+
activeCohort: state.activeCohort,
|
|
736
|
+
// creating 3 groups instead of 2 groups since current groupset UI expects first group to be excluded group
|
|
737
|
+
// 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
|
|
738
|
+
groups: [
|
|
739
|
+
{
|
|
740
|
+
name: "Excluded categories",
|
|
741
|
+
type: "values",
|
|
742
|
+
values: uncomputableCategories.map((v) => {
|
|
743
|
+
return { key: v };
|
|
744
|
+
})
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
name: "Group 1",
|
|
748
|
+
type: "values",
|
|
749
|
+
values: []
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
name: "Group 2",
|
|
753
|
+
type: "values",
|
|
754
|
+
values: []
|
|
755
|
+
}
|
|
756
|
+
]
|
|
757
|
+
};
|
|
758
|
+
const group_i_cutoff = Math.round(computableCategories.length / 2);
|
|
759
|
+
for (const [i, v] of computableCategories.entries()) {
|
|
760
|
+
if (i < group_i_cutoff) customset.groups[1].values.push({ key: v });
|
|
761
|
+
else customset.groups[2].values.push({ key: v });
|
|
762
|
+
}
|
|
763
|
+
q.customset = customset;
|
|
764
|
+
q.type = "custom-groupset";
|
|
765
|
+
}
|
|
766
|
+
function setContMode(tw) {
|
|
767
|
+
tw.q.mode = "continuous";
|
|
768
|
+
}
|
|
769
|
+
function groupsetNoEmptyGroup(gs, c2s) {
|
|
770
|
+
for (const g of gs.groups) {
|
|
771
|
+
let total = 0;
|
|
772
|
+
if (g.type == "values") {
|
|
773
|
+
for (const i of g.values) total += c2s.get(i.key) || 0;
|
|
774
|
+
if (total == 0) return false;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
return true;
|
|
778
|
+
}
|
|
779
|
+
function getGeneVariantWildtypeGrp(tw, sampleCounts) {
|
|
780
|
+
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;
|
|
781
|
+
if (!groupset?.groups) return;
|
|
782
|
+
for (const g of groupset.groups) {
|
|
783
|
+
if (g.type != "filter") continue;
|
|
784
|
+
const isWt = g.filter?.lst?.some((i) => i.tvs && (i.tvs.genotype == "wt" || i.tvs.cnvWT));
|
|
785
|
+
if (!isWt) continue;
|
|
786
|
+
if (sampleCounts.find((i) => i.key == g.name)) return g.name;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
function getLogisticOutcomeNonref(outcome) {
|
|
790
|
+
if (outcome.term.type == "condition") {
|
|
791
|
+
for (const i of outcome.q.groups) {
|
|
792
|
+
if (i.name != outcome.refGrp) return i.name;
|
|
793
|
+
}
|
|
794
|
+
throw "nonref group not found for logistic outcome";
|
|
795
|
+
}
|
|
796
|
+
if (outcome.q.type == "predefined-groupset") {
|
|
797
|
+
if (!Number.isInteger(outcome.q.predefined_groupset_idx))
|
|
798
|
+
throw 'outcome.q.predefined_groupset_idx not integer when q.type is "predefined-groupset"';
|
|
799
|
+
if (!outcome.term.groupsetting) throw "outcome.term.groupsetting missing";
|
|
800
|
+
const grpset = outcome.term.groupsetting.lst[outcome.q.predefined_groupset_idx];
|
|
801
|
+
if (!grpset) throw "groupset not found by outcome.q.predefined_groupset_idx";
|
|
802
|
+
const nonrefgrp = grpset.groups.find((i) => i.name != outcome.refGrp);
|
|
803
|
+
if (!nonrefgrp) throw "non-ref group not found for predefined-groupset";
|
|
804
|
+
return nonrefgrp.name;
|
|
805
|
+
}
|
|
806
|
+
if (outcome.q.type == "custom-groupset") {
|
|
807
|
+
if (!outcome.q.customset) throw "outcome.q.customset missing";
|
|
808
|
+
const nonrefgrp = outcome.q.customset.groups.find((i) => i.name != outcome.refGrp);
|
|
809
|
+
if (!nonrefgrp) throw "non-ref group not found for custom-groupset";
|
|
810
|
+
return nonrefgrp.name;
|
|
811
|
+
}
|
|
812
|
+
if (outcome.q.type == "values") {
|
|
813
|
+
if (!outcome.term.values) throw "outcome.term.values{} missing";
|
|
814
|
+
for (const k in outcome.term.values) {
|
|
815
|
+
const v = outcome.term.values[k];
|
|
816
|
+
if (v.label != outcome.refGrp) return v.label;
|
|
817
|
+
}
|
|
818
|
+
throw "unknown nonref group from outcome.term.values";
|
|
819
|
+
}
|
|
820
|
+
if (outcome.q.type == "custom-bin") {
|
|
821
|
+
const nonrefbin = outcome.q.lst.find((i) => i.label != outcome.refGrp);
|
|
822
|
+
if (!nonrefbin) throw "non-ref bin is not found for custom-bin";
|
|
823
|
+
return nonrefbin.label;
|
|
824
|
+
}
|
|
825
|
+
if (outcome.q.type == "regular-bin") {
|
|
826
|
+
throw "do not know a way to find computed bin list for type=regular-bin";
|
|
827
|
+
}
|
|
828
|
+
throw "unknown outcome.q.type";
|
|
829
|
+
}
|
|
830
|
+
function getCoxOutcomeEventLabel(tw) {
|
|
831
|
+
let eventLabel;
|
|
832
|
+
if (!tw.term.values) throw "tw.term.values missing";
|
|
833
|
+
if (tw.term.type == "condition") {
|
|
834
|
+
const grades = Object.keys(tw.term.values).map((k) => {
|
|
835
|
+
const grade = Number(k);
|
|
836
|
+
if (!Number.isFinite(grade)) throw "grade is not a number";
|
|
837
|
+
return grade;
|
|
838
|
+
});
|
|
839
|
+
const startGrade = tw.q.breaks[0];
|
|
840
|
+
const endGrade = Math.max(...grades);
|
|
841
|
+
eventLabel = `Grades ${startGrade}-${endGrade}`;
|
|
842
|
+
} else if (tw.term.type == "survival") {
|
|
843
|
+
const exitCodes = Object.keys(tw.term.values).map((k) => {
|
|
844
|
+
const code = Number(k);
|
|
845
|
+
if (!Number.isFinite(code)) throw "exit code is not a number";
|
|
846
|
+
return code;
|
|
847
|
+
});
|
|
848
|
+
eventLabel = tw.term.values[Math.max(...exitCodes)].label;
|
|
849
|
+
} else {
|
|
850
|
+
throw "unexpected tw.term.type";
|
|
851
|
+
}
|
|
852
|
+
return eventLabel;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
// plots/regression/regression.inputs.ts
|
|
856
|
+
var allNonDictionaryTerms = [
|
|
857
|
+
{
|
|
858
|
+
termtype: "snplst",
|
|
859
|
+
//html: 'A list of SNPs <span style="font-size:.7em">All SNPs are analyzed in one model</span>'
|
|
860
|
+
html: "A list of variants"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
termtype: "snplocus",
|
|
864
|
+
//html: 'Variants in a locus <span style="font-size:.7em">Variants are analyzed individually</span>'
|
|
865
|
+
html: "Variants in a locus"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
termtype: "prs",
|
|
869
|
+
text: "Polygenic risk score"
|
|
870
|
+
}
|
|
871
|
+
];
|
|
872
|
+
var RegressionInputs = class {
|
|
873
|
+
constructor(opts) {
|
|
874
|
+
this.hasError = false;
|
|
875
|
+
this.disable_terms = [];
|
|
876
|
+
this.opts = opts;
|
|
877
|
+
this.app = opts.app;
|
|
878
|
+
this.parent = opts.parent;
|
|
879
|
+
setInteractivity(this);
|
|
880
|
+
setRenderers2(this);
|
|
881
|
+
this.createSectionConfigs();
|
|
882
|
+
this.initUI();
|
|
883
|
+
}
|
|
884
|
+
createSectionConfigs() {
|
|
885
|
+
this.outcome = {
|
|
886
|
+
/*** static configuration ***/
|
|
887
|
+
heading: "Outcome variable",
|
|
888
|
+
selectPrompt: this.opts.regressionType == "linear" ? "Select continuous outcome variable" : "Select outcome variable",
|
|
889
|
+
placeholderIcon: "+",
|
|
890
|
+
configKey: "outcome",
|
|
891
|
+
limit: 1,
|
|
892
|
+
usecase: { target: "regression", regressionType: this.opts.regressionType, detail: "outcome" },
|
|
893
|
+
/*** dynamic configuration ***/
|
|
894
|
+
inputLst: [],
|
|
895
|
+
/*** tracker for this section's DOM elements ***/
|
|
896
|
+
dom: {}
|
|
897
|
+
};
|
|
898
|
+
this.independent = {
|
|
899
|
+
/*** static configuration ***/
|
|
900
|
+
heading: "Independent variable(s)",
|
|
901
|
+
selectPrompt: "Add independent variable",
|
|
902
|
+
placeholderIcon: "+",
|
|
903
|
+
configKey: "independent",
|
|
904
|
+
limit: 10,
|
|
905
|
+
usecase: { target: "regression", regressionType: this.opts.regressionType, detail: "independent" },
|
|
906
|
+
/*** dynamic configuration ***/
|
|
907
|
+
inputLst: [],
|
|
908
|
+
/*** tracker for this section's DOM elements ***/
|
|
909
|
+
dom: {}
|
|
910
|
+
};
|
|
911
|
+
this.sections = [this.outcome, this.independent];
|
|
912
|
+
}
|
|
913
|
+
async main() {
|
|
914
|
+
try {
|
|
915
|
+
this.config = this.parent.config;
|
|
916
|
+
this.state = this.parent.state;
|
|
917
|
+
this.hasError = false;
|
|
918
|
+
this.setDisableTerms();
|
|
919
|
+
const updates = [];
|
|
920
|
+
for (const section of this.sections) {
|
|
921
|
+
await this.renderSection(section);
|
|
922
|
+
for (const input of section.inputLst) {
|
|
923
|
+
input.dom.holder.style("border-left", input.term ? "1px solid #bbb" : "");
|
|
924
|
+
updates.push(input.main());
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
await Promise.all(updates);
|
|
928
|
+
for (const section of this.sections) {
|
|
929
|
+
for (const input of section.inputLst) {
|
|
930
|
+
if (input.term && input.term.error || input.hasError) {
|
|
931
|
+
this.hasError = true;
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
} catch (e) {
|
|
936
|
+
this.hasError = true;
|
|
937
|
+
throw e;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
setDisableTerms() {
|
|
941
|
+
this.disable_terms = [];
|
|
942
|
+
if (this.config.outcome && this.config.outcome.term) this.disable_terms.push(this.config.outcome.term);
|
|
943
|
+
if (this.config.independent) {
|
|
944
|
+
for (const vb of this.config.independent) {
|
|
945
|
+
this.disable_terms.push(vb.term);
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
handleError() {
|
|
950
|
+
this.hasError = true;
|
|
951
|
+
this.dom.submitBtn.property("disabled", true);
|
|
952
|
+
}
|
|
953
|
+
getNoTermPromptOptions(section) {
|
|
954
|
+
if (section.configKey != "independent") return;
|
|
955
|
+
const lst = [];
|
|
956
|
+
for (const i of structuredClone(allNonDictionaryTerms)) {
|
|
957
|
+
const item = i;
|
|
958
|
+
if (!this.state.allowedTermTypes.includes(item.termtype)) {
|
|
959
|
+
continue;
|
|
960
|
+
}
|
|
961
|
+
if (section.inputLst.find((i2) => i2.term && i2.term.term.type == item.termtype)) {
|
|
962
|
+
continue;
|
|
963
|
+
}
|
|
964
|
+
if (item.termtype == "snplocus") {
|
|
965
|
+
if (this.config.includeUnivariate) {
|
|
966
|
+
item.invalid = true;
|
|
967
|
+
const label = this.dom.univariateCheckboxDiv.select("label").text().trim();
|
|
968
|
+
item.invalidMsg = `Cannot add this variable. Please uncheck the "${label}" checkbox.`;
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
lst.push(item);
|
|
972
|
+
}
|
|
973
|
+
if (lst.length) {
|
|
974
|
+
lst.unshift({
|
|
975
|
+
isDictionary: true,
|
|
976
|
+
text: "Dictionary variable"
|
|
977
|
+
});
|
|
978
|
+
}
|
|
979
|
+
return lst;
|
|
980
|
+
}
|
|
981
|
+
};
|
|
982
|
+
function setRenderers2(self) {
|
|
983
|
+
self.initUI = () => {
|
|
984
|
+
const controls = self.opts.holder.append("div").style("display", "block");
|
|
985
|
+
self.dom = {
|
|
986
|
+
div: self.opts.holder,
|
|
987
|
+
//.style('margin', '10px 0px'),
|
|
988
|
+
controls,
|
|
989
|
+
body: controls.append("div"),
|
|
990
|
+
foot: controls.append("div").style("margin", "0px 20px").style("display", "flex").style("align-items", "center").style("gap", "20px")
|
|
991
|
+
};
|
|
992
|
+
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);
|
|
993
|
+
self.dom.univariateCheckboxDiv = self.dom.foot.append("div").style("display", "none");
|
|
994
|
+
self.dom.univariateCheckbox = make_one_checkbox({
|
|
995
|
+
labeltext: "Include univariate results",
|
|
996
|
+
checked: false,
|
|
997
|
+
holder: self.dom.univariateCheckboxDiv,
|
|
998
|
+
callback: (checked) => {
|
|
999
|
+
const invalid = self.config.independent.find((v) => v.interactions.length || v.term.type == "snplocus");
|
|
1000
|
+
if (invalid) {
|
|
1001
|
+
self.dom.univariateCheckbox.property("checked", false);
|
|
1002
|
+
const tip = new Menu();
|
|
1003
|
+
tip.showunder(self.dom.univariateCheckboxDiv.node());
|
|
1004
|
+
const msg = `Cannot include univariate results. Please remove ${invalid.interactions.length ? "all interactions" : `the "${invalid.term.name}" variable`}.`;
|
|
1005
|
+
tip.d.append("div").text(msg);
|
|
1006
|
+
return;
|
|
1007
|
+
}
|
|
1008
|
+
self.app.dispatch({
|
|
1009
|
+
type: "plot_edit",
|
|
1010
|
+
id: self.parent.id,
|
|
1011
|
+
chartType: "regression",
|
|
1012
|
+
config: {
|
|
1013
|
+
hasUnsubmittedEdits: true,
|
|
1014
|
+
includeUnivariate: checked
|
|
1015
|
+
}
|
|
1016
|
+
});
|
|
1017
|
+
}
|
|
1018
|
+
});
|
|
1019
|
+
self.dom.submitMsgs = self.dom.foot.append("div").style("color", "#cc0000").style("font-style", "italic").style("font-size", "0.8em");
|
|
1020
|
+
self.submitMsgs = {};
|
|
1021
|
+
for (const section of self.sections) {
|
|
1022
|
+
const div = self.dom.body.append("div");
|
|
1023
|
+
self.addSection(section, div);
|
|
1024
|
+
}
|
|
1025
|
+
};
|
|
1026
|
+
self.addSection = function(section, div) {
|
|
1027
|
+
div.style("display", "none").style("margin", "3px 5px").style("padding", "3px 5px").attr("data-testid", section.configKey);
|
|
1028
|
+
section.dom = {
|
|
1029
|
+
holder: div,
|
|
1030
|
+
headingDiv: div.append("div").style("margin", "3px 5px 20px 5px").style("font-size", "17px").style("color", "#bbb").text(section.heading),
|
|
1031
|
+
inputsDiv: div.append("div")
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
self.renderSection = function(section) {
|
|
1035
|
+
section.dom.holder.style("display", section.configKey == "outcome" || self.config.outcome ? "block" : "none");
|
|
1036
|
+
syncInputsWithConfig(section);
|
|
1037
|
+
const inputs = section.dom.inputsDiv.selectAll(":scope > div").data(section.inputLst, (input) => input.term && (input.term.term.id || input.term.term.name));
|
|
1038
|
+
inputs.exit().each(removeInput);
|
|
1039
|
+
inputs.enter().append("div").each(addInput);
|
|
1040
|
+
};
|
|
1041
|
+
function syncInputsWithConfig(section) {
|
|
1042
|
+
const selected = self.config[section.configKey];
|
|
1043
|
+
const selectedArray = Array.isArray(selected) ? selected : selected ? [selected] : [];
|
|
1044
|
+
mayConvertInteractionIds(selectedArray, section);
|
|
1045
|
+
for (const variable of selectedArray) {
|
|
1046
|
+
if (section.configKey == "independent") {
|
|
1047
|
+
if (!variable.interactions) variable.interactions = [];
|
|
1048
|
+
for (const id of variable.interactions) {
|
|
1049
|
+
const tw = selectedArray.find((i) => i.$id == id);
|
|
1050
|
+
if (!tw) throw "interacting partner not found in independents: " + id;
|
|
1051
|
+
if (!tw.interactions) tw.interactions = [];
|
|
1052
|
+
if (!tw.interactions.includes(variable.$id)) tw.interactions.push(variable.$id);
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
const input = section.inputLst.find((input2) => input2.term?.$id == variable.$id);
|
|
1056
|
+
if (!input) {
|
|
1057
|
+
section.inputLst.push(
|
|
1058
|
+
new InputTerm({
|
|
1059
|
+
section,
|
|
1060
|
+
term: variable,
|
|
1061
|
+
parent: self
|
|
1062
|
+
})
|
|
1063
|
+
);
|
|
1064
|
+
} else {
|
|
1065
|
+
input.term = variable;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
mayAddBlankInput(section, self);
|
|
1069
|
+
}
|
|
1070
|
+
function mayConvertInteractionIds(selectedArray, section) {
|
|
1071
|
+
if (section.configKey != "independent") return;
|
|
1072
|
+
const id2$id = /* @__PURE__ */ new Map();
|
|
1073
|
+
for (const v of selectedArray) {
|
|
1074
|
+
if (v.id) id2$id.set(v.id, v.$id);
|
|
1075
|
+
}
|
|
1076
|
+
for (const v of selectedArray) {
|
|
1077
|
+
if (v.interactions?.length) {
|
|
1078
|
+
for (const [i, id] of v.interactions.entries()) {
|
|
1079
|
+
const $id = id2$id.get(id);
|
|
1080
|
+
if ($id) v.interactions[i] = $id;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
async function addInput(input) {
|
|
1086
|
+
await input.init(
|
|
1087
|
+
select_default(this).style("width", "fit-content").style("margin", "0px 15px 35px 25px").style("padding", "0px 5px")
|
|
1088
|
+
);
|
|
1089
|
+
}
|
|
1090
|
+
function removeInput(input) {
|
|
1091
|
+
input.remove();
|
|
1092
|
+
for (const key in input.dom) {
|
|
1093
|
+
delete input.dom[key];
|
|
1094
|
+
}
|
|
1095
|
+
const div = select_default(this);
|
|
1096
|
+
div.transition().duration(500).style("opacity", 0).remove();
|
|
1097
|
+
}
|
|
1098
|
+
self.resetSubmitButton = () => {
|
|
1099
|
+
self.dom.submitBtn.text("Run analysis").style("display", self.config.outcome && self.config.independent.length ? "block" : "none").property("disabled", self.hasError);
|
|
1100
|
+
};
|
|
1101
|
+
self.mayShowUnivariateCheckbox = () => {
|
|
1102
|
+
if (!self.config.outcome || self.config.independent.length < 2) {
|
|
1103
|
+
self.dom.univariateCheckboxDiv.style("display", "none");
|
|
1104
|
+
return;
|
|
1105
|
+
}
|
|
1106
|
+
self.dom.univariateCheckboxDiv.style("display", "block");
|
|
1107
|
+
self.dom.univariateCheckbox.property("checked", self.config.includeUnivariate);
|
|
1108
|
+
};
|
|
1109
|
+
self.mayShowSubmitMsgs = () => {
|
|
1110
|
+
self.dom.submitMsgs.selectAll("div").data(Object.values(self.submitMsgs)).join("div").text((d) => d);
|
|
1111
|
+
};
|
|
1112
|
+
}
|
|
1113
|
+
function setInteractivity(self) {
|
|
1114
|
+
self.editConfig = async (input, variable) => {
|
|
1115
|
+
if (!variable) {
|
|
1116
|
+
const i = input.section.inputLst.findIndex((d) => d === input);
|
|
1117
|
+
if (i == -1) throw `deleting an unknown input`;
|
|
1118
|
+
input.section.inputLst.splice(i, 1);
|
|
1119
|
+
if (input.term) {
|
|
1120
|
+
for (const other of input.section.inputLst) {
|
|
1121
|
+
if (!other.term || !other.term.interactions?.length) continue;
|
|
1122
|
+
const i2 = other.term.interactions.indexOf(input.term.$id);
|
|
1123
|
+
if (i2 != -1) other.term.interactions.splice(i2, 1);
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
} else {
|
|
1127
|
+
const prevTerm = input.term;
|
|
1128
|
+
if (prevTerm && variable.term.id === prevTerm.term.id) {
|
|
1129
|
+
for (const k in prevTerm) {
|
|
1130
|
+
if (!(k in variable)) variable[k] = prevTerm[k];
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
input.term = variable;
|
|
1134
|
+
if (variable.q.mode == "spline" && variable.interactions) {
|
|
1135
|
+
for (const other of input.section.inputLst) {
|
|
1136
|
+
if (!other.term || !other.term.interactions) continue;
|
|
1137
|
+
const i = other.term.interactions.indexOf(input.term.$id);
|
|
1138
|
+
if (i != -1) other.term.interactions.splice(i, 1);
|
|
1139
|
+
}
|
|
1140
|
+
variable.interactions = [];
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
const selected = [];
|
|
1144
|
+
for (const i of input.section.inputLst) {
|
|
1145
|
+
if (i.term) selected.push(i.term);
|
|
1146
|
+
}
|
|
1147
|
+
const key = input.section.configKey;
|
|
1148
|
+
const configValue = Array.isArray(self.config[key]) ? selected : selected[0];
|
|
1149
|
+
self.app.dispatch({
|
|
1150
|
+
type: "plot_edit",
|
|
1151
|
+
id: self.parent.id,
|
|
1152
|
+
chartType: "regression",
|
|
1153
|
+
config: {
|
|
1154
|
+
hasUnsubmittedEdits: true,
|
|
1155
|
+
// replace config.outcome or config.independent
|
|
1156
|
+
[key]: JSON.parse(JSON.stringify(configValue))
|
|
1157
|
+
}
|
|
1158
|
+
});
|
|
1159
|
+
};
|
|
1160
|
+
self.submit = () => {
|
|
1161
|
+
self.dom.submitBtn.property("disabled", true);
|
|
1162
|
+
if (self.hasError) {
|
|
1163
|
+
alert("Please fix the input variable errors (highlighted in red background).");
|
|
1164
|
+
return;
|
|
1165
|
+
}
|
|
1166
|
+
const config = JSON.parse(JSON.stringify(self.config));
|
|
1167
|
+
config.hasUnsubmittedEdits = false;
|
|
1168
|
+
self.app.dispatch({
|
|
1169
|
+
type: "plot_edit",
|
|
1170
|
+
id: self.parent.id,
|
|
1171
|
+
chartType: "regression",
|
|
1172
|
+
config
|
|
1173
|
+
});
|
|
1174
|
+
};
|
|
1175
|
+
}
|
|
1176
|
+
function mayAddBlankInput(section, self) {
|
|
1177
|
+
if (section.inputLst.length >= section.limit) {
|
|
1178
|
+
return;
|
|
1179
|
+
}
|
|
1180
|
+
const blankInput = section.inputLst.find((i) => !i.term);
|
|
1181
|
+
if (blankInput) {
|
|
1182
|
+
const noTermPromptOptions = self.getNoTermPromptOptions(section);
|
|
1183
|
+
if (noTermPromptOptions) {
|
|
1184
|
+
blankInput.pill.main({ noTermPromptOptions });
|
|
1185
|
+
}
|
|
1186
|
+
return;
|
|
1187
|
+
}
|
|
1188
|
+
section.inputLst.push(
|
|
1189
|
+
new InputTerm({
|
|
1190
|
+
section,
|
|
1191
|
+
parent: self,
|
|
1192
|
+
noTermPromptOptions: self.getNoTermPromptOptions(section)
|
|
1193
|
+
})
|
|
1194
|
+
);
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
// plots/regression/Regression.ts
|
|
1198
|
+
var Regression = class _Regression extends PlotBase {
|
|
1199
|
+
static {
|
|
1200
|
+
this.type = "regression";
|
|
1201
|
+
}
|
|
1202
|
+
constructor(opts, api) {
|
|
1203
|
+
super(opts, api);
|
|
1204
|
+
this.type = _Regression.type;
|
|
1205
|
+
this.genomeObj = opts.app.opts.genome;
|
|
1206
|
+
}
|
|
1207
|
+
async init(appState) {
|
|
1208
|
+
this.dom = {
|
|
1209
|
+
header: this.opts.header,
|
|
1210
|
+
// header is optional
|
|
1211
|
+
errordiv: this.opts.holder.append("div"),
|
|
1212
|
+
inputs: this.opts.holder.append("div").style("margin", "20px 10px"),
|
|
1213
|
+
results: this.opts.holder.append("div").style("margin-left", "40px")
|
|
1214
|
+
};
|
|
1215
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1216
|
+
this.inputs = new RegressionInputs({
|
|
1217
|
+
app: this.app,
|
|
1218
|
+
parent: this,
|
|
1219
|
+
id: this.id,
|
|
1220
|
+
holder: this.dom.inputs,
|
|
1221
|
+
regressionType: config.regressionType
|
|
1222
|
+
});
|
|
1223
|
+
this.results = new RegressionResults({
|
|
1224
|
+
app: this.app,
|
|
1225
|
+
parent: this,
|
|
1226
|
+
id: this.id,
|
|
1227
|
+
holder: this.dom.results,
|
|
1228
|
+
regressionType: config.regressionType
|
|
1229
|
+
});
|
|
1230
|
+
}
|
|
1231
|
+
getState(appState) {
|
|
1232
|
+
const config = appState.plots.find((p) => p.id === this.id);
|
|
1233
|
+
if (!config) {
|
|
1234
|
+
throw `No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`;
|
|
1235
|
+
}
|
|
1236
|
+
if (!config.regressionType) throw "regressionType is required";
|
|
1237
|
+
const parentConfig = this.parentId && appState.plots.find((p) => p.id === this.parentId);
|
|
1238
|
+
const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
|
|
1239
|
+
return {
|
|
1240
|
+
vocab: appState.vocab,
|
|
1241
|
+
formIsComplete: config.outcome && config.independent.length,
|
|
1242
|
+
activeCohort: appState.activeCohort,
|
|
1243
|
+
termfilter,
|
|
1244
|
+
config,
|
|
1245
|
+
allowedTermTypes: appState.termdbConfig.allowedTermTypes,
|
|
1246
|
+
minTimeSinceDx: appState.termdbConfig.minTimeSinceDx
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1249
|
+
/* do not set reactsTo
|
|
1250
|
+
so it reacts to all actions matching with the plot id (controlled by store method)
|
|
1251
|
+
including filter/cohort change
|
|
1252
|
+
*/
|
|
1253
|
+
async main() {
|
|
1254
|
+
try {
|
|
1255
|
+
this.config = JSON.parse(JSON.stringify(this.state.config));
|
|
1256
|
+
this.mayUpdateSandboxHeader();
|
|
1257
|
+
this.getFilter();
|
|
1258
|
+
await this.inputs.main();
|
|
1259
|
+
await this.results.main();
|
|
1260
|
+
this.inputs.resetSubmitButton();
|
|
1261
|
+
this.inputs.mayShowUnivariateCheckbox();
|
|
1262
|
+
this.inputs.mayShowSubmitMsgs();
|
|
1263
|
+
} catch (e) {
|
|
1264
|
+
if (this.inputs.hasError) {
|
|
1265
|
+
this.results.main();
|
|
1266
|
+
}
|
|
1267
|
+
sayerror(this.dom.errordiv, "Error: " + (e.error || e));
|
|
1268
|
+
if (e.stack) console.log(e.stack);
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
mayUpdateSandboxHeader() {
|
|
1272
|
+
if (!this.dom.header) return;
|
|
1273
|
+
const o = this.config.outcome;
|
|
1274
|
+
this.dom.header.html(
|
|
1275
|
+
(o ? o.term.name : "") + '<span style="opacity:.6;font-size:.7em;margin-left:10px;">' + this.config.regressionType.toUpperCase() + " REGRESSION</span>"
|
|
1276
|
+
);
|
|
1277
|
+
}
|
|
1278
|
+
getFilter() {
|
|
1279
|
+
const filters = [];
|
|
1280
|
+
if (this.state.termfilter?.filter) filters.push(this.state.termfilter.filter);
|
|
1281
|
+
const tws = [this.config.outcome, ...this.config.independent];
|
|
1282
|
+
const tws_restrictAncestry = tws.filter((tw) => tw?.q.restrictAncestry);
|
|
1283
|
+
if (tws_restrictAncestry.length) {
|
|
1284
|
+
if (tws_restrictAncestry.length > 1) {
|
|
1285
|
+
const ancestries = new Set(tws_restrictAncestry.map((tw2) => tw2.q.restrictAncestry.name));
|
|
1286
|
+
if (ancestries.size > 1) throw "samples cannot be restricted to more than 1 ancestry";
|
|
1287
|
+
}
|
|
1288
|
+
const tw = tws_restrictAncestry[0];
|
|
1289
|
+
filters.push({ type: "tvs", tvs: tw.q.restrictAncestry.tvs });
|
|
1290
|
+
this.inputs.submitMsgs.restrictAncestry = `Restricting analysis to samples of ${tw.q.restrictAncestry.name}`;
|
|
1291
|
+
} else {
|
|
1292
|
+
delete this.inputs.submitMsgs.restrictAncestry;
|
|
1293
|
+
}
|
|
1294
|
+
this.filter = { type: "tvslst", join: "and", lst: filters };
|
|
1295
|
+
}
|
|
1296
|
+
};
|
|
1297
|
+
var regressionInit = getCompInit(Regression);
|
|
1298
|
+
var componentInit = regressionInit;
|
|
1299
|
+
var _ID_ = 1;
|
|
1300
|
+
async function getPlotConfig(opts, app, activeCohort) {
|
|
1301
|
+
if (!opts.outcome) opts.outcome = mayGetLoneOutcome(opts.regressionType, app, activeCohort);
|
|
1302
|
+
const id = "id" in opts ? opts.id : `_REGRESSION_${_ID_++}`;
|
|
1303
|
+
const config = { id };
|
|
1304
|
+
if (opts.outcome) {
|
|
1305
|
+
await fillTermWrapper(opts.outcome, app.vocabApi, getDefaultQ4tw(opts.outcome, opts.regressionType, "outcome"));
|
|
1306
|
+
config.outcome = opts.outcome;
|
|
1307
|
+
}
|
|
1308
|
+
if (opts.independent) {
|
|
1309
|
+
if (!Array.isArray(opts.independent)) throw ".independent[] is not array";
|
|
1310
|
+
for (const t of opts.independent) {
|
|
1311
|
+
await fillTermWrapper(
|
|
1312
|
+
t,
|
|
1313
|
+
app.vocabApi,
|
|
1314
|
+
t.q?.mode ? void 0 : getDefaultQ4tw(t, opts.regressionType, "independent")
|
|
1315
|
+
);
|
|
1316
|
+
}
|
|
1317
|
+
config.independent = opts.independent;
|
|
1318
|
+
} else {
|
|
1319
|
+
config.independent = [];
|
|
1320
|
+
}
|
|
1321
|
+
return copyMerge(config, opts);
|
|
1322
|
+
}
|
|
1323
|
+
function mayGetLoneOutcome(regressionType, app, activeCohort) {
|
|
1324
|
+
if (regressionType != "cox") return;
|
|
1325
|
+
const byType = getLoneTermByType(app.vocabApi.termdbConfig, activeCohort);
|
|
1326
|
+
const t1 = byType?.survival;
|
|
1327
|
+
const t2 = byType?.condition;
|
|
1328
|
+
if (t1 && t2) return;
|
|
1329
|
+
if (t1) return { term: structuredClone(t1) };
|
|
1330
|
+
if (t2) return { term: structuredClone(t2) };
|
|
1331
|
+
return;
|
|
1332
|
+
}
|
|
1333
|
+
var coxOutcomeTypes = ["survival", "condition"];
|
|
1334
|
+
function getLoneTermByType(termdbConfig, activeCohort) {
|
|
1335
|
+
if (!termdbConfig?.loneTermByType) return;
|
|
1336
|
+
if (termdbConfig.selectCohort && !Number.isInteger(activeCohort)) return;
|
|
1337
|
+
return termdbConfig.loneTermByType[getActiveCohortStr({ termdbConfig, activeCohort })];
|
|
1338
|
+
}
|
|
1339
|
+
function isLoneOutcome(regressionType, termdbConfig, activeCohort) {
|
|
1340
|
+
if (regressionType != "cox") return false;
|
|
1341
|
+
const byType = getLoneTermByType(termdbConfig, activeCohort);
|
|
1342
|
+
if (!byType) return false;
|
|
1343
|
+
const loneTypes = coxOutcomeTypes.filter((type) => byType[type]);
|
|
1344
|
+
if (loneTypes.length != 1) return false;
|
|
1345
|
+
const otherType = coxOutcomeTypes.find((type) => type != loneTypes[0]);
|
|
1346
|
+
return !termdbConfig.allowedTermTypes?.includes(otherType);
|
|
1347
|
+
}
|
|
1348
|
+
function get_defaultQ4fillTW(regressionType, useCase = "") {
|
|
1349
|
+
const defaultQ = {};
|
|
1350
|
+
defaultQ["numeric"] = regressionType == "logistic" && useCase == "outcome" ? { mode: "binary" } : { mode: "discrete" };
|
|
1351
|
+
for (const t of numericTypes) {
|
|
1352
|
+
if (dictionaryNumericTypes.has(t)) continue;
|
|
1353
|
+
defaultQ[t] = regressionType == "logistic" && useCase == "outcome" ? { mode: "binary" } : { mode: "discrete", type: "custom-bin", preferredBins: "median" };
|
|
1354
|
+
}
|
|
1355
|
+
defaultQ["categorical"] = regressionType == "logistic" && useCase == "outcome" ? { mode: "binary" } : { mode: "discrete" };
|
|
1356
|
+
if (useCase == "outcome") {
|
|
1357
|
+
if (regressionType == "cox") {
|
|
1358
|
+
defaultQ.condition = { mode: "cox" };
|
|
1359
|
+
}
|
|
1360
|
+
if (regressionType == "logistic") {
|
|
1361
|
+
defaultQ.condition = { mode: "binary" };
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
defaultQ["geneVariant"] = { type: "predefined-groupset" };
|
|
1365
|
+
return defaultQ;
|
|
1366
|
+
}
|
|
1367
|
+
function getDefaultQ4tw(tw, regressionType, useCase) {
|
|
1368
|
+
const defaultQ = get_defaultQ4fillTW(regressionType, useCase);
|
|
1369
|
+
if (tw?.term?.type == "geneVariant" && tw.q?.type) delete defaultQ.geneVariant;
|
|
1370
|
+
return defaultQ;
|
|
1371
|
+
}
|
|
1372
|
+
async function makeChartBtnMenu(holder, chartsInstance) {
|
|
1373
|
+
const allMethods = [
|
|
1374
|
+
{ label: "Linear", type: "linear" },
|
|
1375
|
+
{ label: "Logistic", type: "logistic" },
|
|
1376
|
+
{ label: "Cox", type: "cox" }
|
|
1377
|
+
];
|
|
1378
|
+
const useMethods = allMethods.filter((i) => chartsInstance.state.currentCohortChartTypes.includes(i.type));
|
|
1379
|
+
if (useMethods.length == 0) return holder.append("div").text("Error: no methods available");
|
|
1380
|
+
if (useMethods.length == 1) {
|
|
1381
|
+
chartsInstance.dom.tip.hide();
|
|
1382
|
+
chartsInstance.prepPlot({ config: await getPrepConfig(useMethods[0].type, chartsInstance) });
|
|
1383
|
+
return;
|
|
1384
|
+
}
|
|
1385
|
+
for (const { label, type } of useMethods) {
|
|
1386
|
+
holder.append("div").attr("class", "sja_menuoption sja_sharp_border").text(label).on("click", async () => {
|
|
1387
|
+
chartsInstance.dom.tip.hide();
|
|
1388
|
+
chartsInstance.prepPlot({ config: await getPrepConfig(type, chartsInstance) });
|
|
1389
|
+
});
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
async function getPrepConfig(regressionType, chartsInstance) {
|
|
1393
|
+
const config = { chartType: "regression", regressionType, independent: [] };
|
|
1394
|
+
const { app, state } = chartsInstance;
|
|
1395
|
+
const outcome = mayGetLoneOutcome(regressionType, app, state.activeCohort);
|
|
1396
|
+
if (!outcome) return config;
|
|
1397
|
+
try {
|
|
1398
|
+
await fillTermWrapper(outcome, app.vocabApi, get_defaultQ4fillTW(regressionType, "outcome"));
|
|
1399
|
+
config.outcome = outcome;
|
|
1400
|
+
} catch (e) {
|
|
1401
|
+
console.error(`cannot prefill ${regressionType} outcome with "${outcome.term.id}": ${e}`);
|
|
1402
|
+
}
|
|
1403
|
+
return config;
|
|
1404
|
+
}
|
|
1405
|
+
export {
|
|
1406
|
+
componentInit,
|
|
1407
|
+
getPlotConfig,
|
|
1408
|
+
get_defaultQ4fillTW,
|
|
1409
|
+
isLoneOutcome,
|
|
1410
|
+
makeChartBtnMenu,
|
|
1411
|
+
regressionInit
|
|
1412
|
+
};
|
|
1413
|
+
//# sourceMappingURL=Regression-LJJJBBT6.js.map
|