@sjcrh/proteinpaint-client 2.210.0 → 2.210.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-7VZ536T5.js +1367 -0
- package/dist/AggMatrixInput-UTUOXTGA.js +406 -0
- package/dist/AggregateMatrix-X75HUZYO.js +41 -0
- package/dist/AppHeader-X2DR6VSM.js +830 -0
- package/dist/BoxPlot-NQMPJICU.js +1211 -0
- package/dist/CorrelationVolcano-IDBUJH2E.js +617 -0
- package/dist/Cuminc-BYFIMOLO.js +1219 -0
- package/dist/DE-BI7DHHW4.js +89 -0
- package/dist/DEinput-W66CT4U2.js +501 -0
- package/dist/DM-62TEJA3C.js +90 -0
- package/dist/DifferentialAnalysis-PRTA6CYW.js +239 -0
- package/dist/Disco-4JQP3FRW.js +3389 -0
- package/dist/Disco.UI-6RHAA5KU.js +243 -0
- package/dist/DmrPlot-VYQYMTQ7.js +362 -0
- package/dist/GB-LULUM5LH.js +1392 -0
- package/dist/GB-LULUM5LH.js.map +7 -0
- package/dist/GSEA-DT3SYXOZ.js +875 -0
- package/dist/GeneExpInput-UILWAGRH.js +42 -0
- package/dist/Geomap-AFKEGMR5.js +84 -0
- package/dist/HicApp-APDL5POY.js +2245 -0
- package/dist/IDCViewer-DQXAORHT.js +10812 -0
- package/dist/NumBinaryEditor-OUVIOEH7.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-VBX2X4CT.js +312 -0
- package/dist/NumContEditor-JVPRBZPW.js +105 -0
- package/dist/NumContEditor.unit.spec-EQNB6RMI.js +164 -0
- package/dist/NumCustomBinEditor-E2SXZDF4.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-VLR7MGNL.js +397 -0
- package/dist/NumDiscreteEditor-CUA55FU3.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-7IPCMUDQ.js +233 -0
- package/dist/NumRegularBinEditor-CWU7YBEP.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-RGV3EUPC.js +278 -0
- package/dist/NumSplineEditor-PC5X7AUJ.js +210 -0
- package/dist/NumSplineEditor.unit.spec-QCR3RL5W.js +224 -0
- package/dist/NumericDensity-CFUEE5ZN.js +33 -0
- package/dist/NumericDensity.unit.spec-JOCVEC32.js +418 -0
- package/dist/NumericHandler-VL2Z55KF.js +34 -0
- package/dist/NumericHandler.unit.spec-ULM5FSSA.js +214 -0
- package/dist/ProteomeInput-3WKTVCYT.js +388 -0
- package/dist/Regression-M7AQTYXL.js +1416 -0
- package/dist/RunChart2-54SVOXJR.js +749 -0
- package/dist/SC-QRWDGHB2.js +1183 -0
- package/dist/Violin-2AD6QRJB.js +1081 -0
- package/dist/Volcano-T57VFSWR.js +2456 -0
- package/dist/Volcano-T57VFSWR.js.map +7 -0
- package/dist/Wsi-U3U3EILE.js +629 -0
- package/dist/adSandbox-S3JP7XF3.js +33 -0
- package/dist/animatedBubbleChart-LZKNERIM.js +547 -0
- package/dist/app-2MERLGNJ.js +42 -0
- package/dist/app-ZNSUUOFJ.js +32 -0
- package/dist/app.js +14 -14
- package/dist/bam-ESRPS4TQ.js +876 -0
- package/dist/barchart-BPUEO4RK.js +42 -0
- package/dist/barchart2-Z36PNSM2.js +309 -0
- package/dist/block-GEG4UUOU.js +6250 -0
- package/dist/block.init-SB6OX35E.js +33 -0
- package/dist/block.mds.expressionrank-2JLMS334.js +354 -0
- package/dist/block.mds.geneboxplot-BZMGG6G3.js +823 -0
- package/dist/block.mds.junction-636PWE2O.js +1539 -0
- package/dist/block.mds.svcnv-S4L2HMZW.js +6796 -0
- package/dist/block.svg-A7EABUXG.js +159 -0
- package/dist/block.tk.aicheck-KNFJVUTW.js +278 -0
- package/dist/block.tk.ase-BPU25OLX.js +360 -0
- package/dist/block.tk.bam-VC4CZCUS.js +1901 -0
- package/dist/block.tk.bedgraphdot-FQS4Z4RC.js +379 -0
- package/dist/block.tk.bigwig.ui-7STXSD3X.js +206 -0
- package/dist/block.tk.hicstraw-CVDCOMPP.js +818 -0
- package/dist/block.tk.junction-PG4RZFH3.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-JRW4ZJIK.js +194 -0
- package/dist/block.tk.ld-DLDP2NHJ.js +94 -0
- package/dist/block.tk.menu-PWGFMKBQ.js +1024 -0
- package/dist/block.tk.pgv-HOBOXQIN.js +938 -0
- package/dist/brainImaging-GUQTOHQF.js +555 -0
- package/dist/brainRegions-JWBIBCTG.js +217 -0
- package/dist/bubbleHeatmap-EUO3DUVT.js +378 -0
- package/dist/cellTypeBubbleHeatmap-TIBGPZTB.js +278 -0
- package/dist/chunk-3CGAABHZ.js +176 -0
- package/dist/chunk-3ELYMSGO.js +26 -0
- package/dist/chunk-3QL3U6FU.js +2853 -0
- package/dist/chunk-3TV5WWUN.js +339 -0
- package/dist/chunk-4Y5W26UF.js +424 -0
- package/dist/chunk-5XE3WSUX.js +6360 -0
- package/dist/chunk-665X7R7S.js +382 -0
- package/dist/chunk-6MQPXWOR.js +55 -0
- package/dist/chunk-7DSL65G7.js +14 -0
- package/dist/chunk-A6F3CSXP.js +626 -0
- package/dist/chunk-AB6JQFIQ.js +129 -0
- package/dist/chunk-ACOHIDWO.js +240 -0
- package/dist/chunk-AIVPAC5Q.js +102 -0
- package/dist/chunk-AKKJFMW5.js +4375 -0
- package/dist/chunk-AR2UIN77.js +255 -0
- package/dist/chunk-AXF6SVNQ.js +56 -0
- package/dist/chunk-BLYD6SQO.js +98 -0
- package/dist/chunk-BSWPONNA.js +550 -0
- package/dist/chunk-BX3P73XH.js +299 -0
- package/dist/chunk-CSAS3PVJ.js +24956 -0
- package/dist/chunk-CSAS3PVJ.js.map +7 -0
- package/dist/chunk-CW35X5ZL.js +5071 -0
- package/dist/chunk-D4XHYQNS.js +281 -0
- package/dist/chunk-DH74ZT37.js +141 -0
- package/dist/chunk-E76UYIT2.js +182 -0
- package/dist/chunk-EM6KUVI5.js +194 -0
- package/dist/chunk-F4GYWCRF.js +302 -0
- package/dist/chunk-FJ3JD7B3.js +59 -0
- package/dist/chunk-FW3ME75U.js +54 -0
- package/dist/chunk-G2X2PN74.js +783 -0
- package/dist/chunk-G3QKTYUT.js +2676 -0
- package/dist/chunk-G5USS6FI.js +56 -0
- package/dist/chunk-GLPTPX45.js +203 -0
- package/dist/chunk-GPY6SBCX.js +339 -0
- package/dist/chunk-GWHIKECP.js +1731 -0
- package/dist/chunk-GWVVEOYX.js +263 -0
- package/dist/chunk-HDV3LHCN.js +379 -0
- package/dist/chunk-HGXSYPU6.js +2327 -0
- package/dist/chunk-HMKEVTRM.js +446 -0
- package/dist/chunk-HPCKKXRK.js +1233 -0
- package/dist/chunk-J5JBHGRN.js +31 -0
- package/dist/chunk-JHOGTGIS.js +1988 -0
- package/dist/chunk-KCX54MGS.js +480 -0
- package/dist/chunk-KVRSO2OZ.js +34 -0
- package/dist/chunk-M4PUW3ML.js +243 -0
- package/dist/chunk-ME325OQC.js +562 -0
- package/dist/chunk-NJWNKBRC.js +468 -0
- package/dist/chunk-O5FUHCNU.js +397 -0
- package/dist/chunk-ODHQPTHU.js +134 -0
- package/dist/chunk-PTQ4GQCS.js +692 -0
- package/dist/chunk-PUSSP76H.js +70 -0
- package/dist/chunk-Q3PAXUCU.js +54 -0
- package/dist/chunk-QWBKN2IC.js +80 -0
- package/dist/chunk-R4E7BXC6.js +49 -0
- package/dist/chunk-SDYFM3UL.js +274 -0
- package/dist/chunk-SP6WCXY6.js +217 -0
- package/dist/chunk-SRTZQOK7.js +102 -0
- package/dist/chunk-T4RYLTR3.js +178 -0
- package/dist/chunk-TANWA6SU.js +54 -0
- package/dist/chunk-TBIHBC5V.js +170 -0
- package/dist/chunk-TGTCOCPF.js +1278 -0
- package/dist/chunk-TOFOT2BN.js +294 -0
- package/dist/chunk-UOYIPBTX.js +217 -0
- package/dist/chunk-USULBM4V.js +2784 -0
- package/dist/chunk-UYKJOBRO.js +1616 -0
- package/dist/chunk-UYKJOBRO.js.map +7 -0
- package/dist/chunk-V3WSMWBF.js +123 -0
- package/dist/chunk-VTHZGUSZ.js +2146 -0
- package/dist/chunk-WMQDFVJK.js +103 -0
- package/dist/chunk-WTQQWFV4.js +38 -0
- package/dist/chunk-XDLKYVYU.js +276 -0
- package/dist/chunk-XNJN5J3U.js +37 -0
- package/dist/chunk-XQLOEZ7T.js +158 -0
- package/dist/chunk-Y3SDMRDX.js +119 -0
- package/dist/chunk-Y5FE3G6J.js +518 -0
- package/dist/chunk-YMEWZVRG.js +237 -0
- package/dist/chunk-YPHFEKWI.js +1339 -0
- package/dist/chunk-Z4HW3FEE.js +272 -0
- package/dist/cohort-NYFUILFO.js +70 -0
- package/dist/condition-6M4AVISY.js +327 -0
- package/dist/controls-LMTWS3SY.js +34 -0
- package/dist/controls.config-4PK7HLFJ.js +34 -0
- package/dist/correlation-X6GB6ITK.js +95 -0
- package/dist/customdata.inputui-MDG3BTTG.js +284 -0
- package/dist/dataDownload-TFRI3VFM.js +329 -0
- package/dist/databrowser.ui-L2K7VVDW.js +425 -0
- package/dist/dictionary-MS6R3VNY.js +113 -0
- package/dist/dnaMethylation-2KYSQWNE.js +33 -0
- package/dist/dnaMethylation.integration.spec-2BHNKOGN.js +198 -0
- package/dist/dofetch-BETN7HEX.js +48 -0
- package/dist/e2pca-QC2EI5JM.js +344 -0
- package/dist/ep-BTRMR4OT.js +1249 -0
- package/dist/expclust.gdc.spec-C5ZMBCGO.js +302 -0
- package/dist/facet-LPXKLX53.js +519 -0
- package/dist/gb-PHJ2SM5D.js +81 -0
- package/dist/geneExpClustering-OXZJHEPD.js +244 -0
- package/dist/geneExpression-54RGEGML.js +310 -0
- package/dist/geneExpression-FLBQXMSX.js +33 -0
- package/dist/geneExpression.unit.spec-ZCE7G6HI.js +128 -0
- package/dist/geneORA-TELI5AFV.js +273 -0
- package/dist/geneRanking-7YZA5GNG.js +548 -0
- package/dist/geneVariant-NJYUEY4C.js +36 -0
- package/dist/geneVariant-VKWTXUMK.js +289 -0
- package/dist/geneVariant.integration.spec-RWYP523U.js +503 -0
- package/dist/genefusion.ui-B6J7I3RA.js +303 -0
- package/dist/geneset-VG4SFYML.js +203 -0
- package/dist/genomeBrowser.spec-5IS5Y2NG.js +276 -0
- package/dist/grin2-3T6KRC34.js +70 -0
- package/dist/grin2-FOOH736B.js +949 -0
- package/dist/hierCluster-WLAFGZAT.js +55 -0
- package/dist/hierCluster-XBL2TOOL.js +59 -0
- package/dist/hierCluster.config-VCBRBGDZ.js +36 -0
- package/dist/hierCluster.integration.spec-TNJD2QT6.js +483 -0
- package/dist/hierCluster.interactivity-PEEJ3BRC.js +49 -0
- package/dist/hierCluster.renderers-7ESGKIGM.js +19 -0
- package/dist/imagePlot-LWL6JMKM.js +156 -0
- package/dist/importPlot-CLBY6QZN.js +8 -0
- package/dist/isoformExpression-36P3BBN7.js +35 -0
- package/dist/isoformExpression.unit.spec-SF2SPTRC.js +237 -0
- package/dist/junction-B7DSIG4E.js +36 -0
- package/dist/junction.customTerm-7VZS4JDE.js +16 -0
- package/dist/junction.unit.spec-4MWU36MR.js +182 -0
- package/dist/launch.adhoc-3B34GV4S.js +37 -0
- package/dist/leftlabel.sample-6OM5H67E.js +258 -0
- package/dist/lollipop-SL2F5G6K.js +166 -0
- package/dist/maf-FRYGN5GR.js +455 -0
- package/dist/maftimeline-3UFWS73J.js +587 -0
- package/dist/matrix-DDKSOJ4C.js +59 -0
- package/dist/matrix-H2ZH2QKC.js +54 -0
- package/dist/matrix.cells-JTMC35SK.js +26 -0
- package/dist/matrix.config-EUBXWEBS.js +37 -0
- package/dist/matrix.data-CO5RBWY5.js +23 -0
- package/dist/matrix.groups-AKOJ2W6U.js +26 -0
- package/dist/matrix.integration.spec-66KNZO3S.js +3160 -0
- package/dist/matrix.interactivity-DY5YJIYB.js +37 -0
- package/dist/matrix.layout-MQQNHBI2.js +39 -0
- package/dist/matrix.legend-CGU7T6GF.js +20 -0
- package/dist/matrix.renderers-HC7PJN4B.js +34 -0
- package/dist/matrix.serieses-W4L6ZO37.js +19 -0
- package/dist/matrix.sort-T74DWFB2.js +26 -0
- package/dist/matrix.sort.unit.spec-EQEHQXTO.js +468 -0
- package/dist/matrix.sorterUi-GFQG4HFV.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-XQHFOEYE.js +338 -0
- package/dist/matrix.unit.spec-4ZWUGZUC.js +150 -0
- package/dist/mavb-3CL5OHWB.js +727 -0
- package/dist/mds.fimo-2RFJQKJM.js +513 -0
- package/dist/mds.samplescatterplot-X6CXMY4C.js +1545 -0
- package/dist/mds.survivalplot-57NIKSSH.js +477 -0
- package/dist/multivalue-3TUGYL4J.js +83 -0
- package/dist/numericDictTermCluster-RLX5CLTN.js +63 -0
- package/dist/oncomatrix-COK76MJN.js +290 -0
- package/dist/oncomatrix.spec-SO3ZN5BF.js +443 -0
- package/dist/plot.2dvaf-TETCE4VG.js +372 -0
- package/dist/plot.app-5YUAVZA4.js +36 -0
- package/dist/plot.barplot-JUGY5Z7A.js +97 -0
- package/dist/plot.boxplot-QZXICT7J.js +146 -0
- package/dist/plot.brainImaging-2F6E6QS4.js +51 -0
- package/dist/plot.disco-H4P4B6QS.js +99 -0
- package/dist/plot.ssgq-LEQF3STZ.js +134 -0
- package/dist/plot.vaf2cov-UBMD2CN7.js +253 -0
- package/dist/polar2-AVEZM2T5.js +232 -0
- package/dist/profileForms-CUSUGTPC.js +941 -0
- package/dist/profilePlot-67Z7AXQ4.js +49 -0
- package/dist/proteinView-7K7VHGX3.js +1357 -0
- package/dist/proteomeCohortCompare-MRGH6HHI.js +912 -0
- package/dist/pseudbulk.unit.spec-ZHDL6GIM.js +86 -0
- package/dist/pseudobulk-ZNXPF7QB.js +35 -0
- package/dist/qualitative-QXMZHDWU.js +38 -0
- package/dist/radar2-QJDGNLED.js +327 -0
- package/dist/radarFacility2-LGGOOWX4.js +335 -0
- package/dist/rememberedGvQ.unit.spec-YKUMMYFT.js +211 -0
- package/dist/render-LSSRZJY3.js +33 -0
- package/dist/report-TTECPO44.js +217 -0
- package/dist/sampleView-EFS2UBRS.js +43 -0
- package/dist/samplelst-FXULLJBO.js +106 -0
- package/dist/samplematrix-MNFCXOWO.js +2193 -0
- package/dist/sc-2BUOXML2.js +81 -0
- package/dist/scatter-AVRTALYY.js +925 -0
- package/dist/scatter-CPEIVL3K.js +88 -0
- package/dist/selectGenomeWithTklst-3BG2ZPPN.js +129 -0
- package/dist/singleCellCellType-QLAEBVN2.js +33 -0
- package/dist/singleCellCellType.unit.spec-P4NAWYKL.js +154 -0
- package/dist/singleCellGeneExpression-IZ2PMDDL.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-DKBZICJM.js +148 -0
- package/dist/singleCellNumericValue-NB3QFH7H.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-ZKK2KWRQ.js +416 -0
- package/dist/singleCellPlot-ZU655L4Z.js +48 -0
- package/dist/singlecell-NKPTXVHW.js +1566 -0
- package/dist/singlecell-PEIEFXVU.js +81 -0
- package/dist/snp-G55JGINX.js +33 -0
- package/dist/snp.unit.spec-47CCZKJO.js +171 -0
- package/dist/snplocus-TRVAEAPF.js +203 -0
- package/dist/spliceevent.a53ss.diagram-FL2R6F22.js +146 -0
- package/dist/spliceevent.exonskip.diagram-XDZWTJXR.js +278 -0
- package/dist/spliceevent.noeventdiagram-L322N534.js +455 -0
- package/dist/ssGSEA-DZY4LFQY.js +33 -0
- package/dist/ssGSEA.unit.spec-P6C3VTVZ.js +83 -0
- package/dist/stattable-R7O6OIMB.js +117 -0
- package/dist/studyCatalog-OMDE4JRD.js +414 -0
- package/dist/summarizeCnvGeneexp-A7HW6FJI.js +158 -0
- package/dist/summarizeGeneexpSurvival-ODI4HGFH.js +105 -0
- package/dist/summarizeMutationCnv-C2YB73OL.js +159 -0
- package/dist/summarizeMutationDiagnosis-4Y322NYU.js +35 -0
- package/dist/summarizeMutationSurvival-7IHNURLC.js +99 -0
- package/dist/summary-E4L5MZTF.js +44 -0
- package/dist/summary.integration.spec-SDCGE6BQ.js +409 -0
- package/dist/summaryInput-DHIMU5DM.js +242 -0
- package/dist/sunburst-ULNPFEAM.js +278 -0
- package/dist/survival-CU4N5KZO.js +53 -0
- package/dist/survival-KWWH6REE.js +1248 -0
- package/dist/survival.integration.spec-UW6SYVLP.js +613 -0
- package/dist/svgraph-HFI6NNF3.js +1382 -0
- package/dist/svmr-VHS7Z4SO.js +3837 -0
- package/dist/table-GJUXHKQI.js +197 -0
- package/dist/termCollection-CCZ4BFIU.js +33 -0
- package/dist/termCollection-O5CQ472U.js +252 -0
- package/dist/termCollection.unit.spec-KR5G6JFU.js +299 -0
- package/dist/termCollectionFractionSelection-IKU5MFBT.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-6ZWHNGES.js +188 -0
- package/dist/tk-3DLMAFW7.js +41 -0
- package/dist/tk-CAYWF7LX.js +1121 -0
- package/dist/tp.ui-NF5ZYOHW.js +1454 -0
- package/dist/tvs.dt-43A4SSLG.js +34 -0
- package/dist/tvs.dtcnv.categorical-DYXHUNP2.js +35 -0
- package/dist/tvs.dtcnv.continuous-NOKNP4UG.js +67 -0
- package/dist/tvs.dtfusion-4NAOCC2X.js +35 -0
- package/dist/tvs.dtitd-SZC6EITI.js +35 -0
- package/dist/tvs.dtsnvindel-EYSBCNQK.js +35 -0
- package/dist/tvs.dtsv-VSPWIIFO.js +35 -0
- package/dist/tvs.samplelst-3YQ4GKNG.js +98 -0
- package/dist/tvs.termCollection-EVM4ATPW.js +124 -0
- package/dist/vocabulary-HCPEIO2P.js +36 -0
- package/dist/wsi.direct-K2J6GGWY.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-43QBND66.js +0 -1367
- package/dist/AggMatrixInput-X7NGFUHH.js +0 -406
- package/dist/AggregateMatrix-M4HRI4PX.js +0 -41
- package/dist/AppHeader-QBRQN6PM.js +0 -830
- package/dist/BoxPlot-V6SPSEQ2.js +0 -1211
- package/dist/CorrelationVolcano-UFPCYC77.js +0 -617
- package/dist/Cuminc-KXGXGLKZ.js +0 -1219
- package/dist/DE-K2YXHOOW.js +0 -89
- package/dist/DEinput-O6LBFAAH.js +0 -501
- package/dist/DM-C7VN3RWB.js +0 -90
- package/dist/DifferentialAnalysis-A2BU4WB3.js +0 -239
- package/dist/Disco-HECQVKXG.js +0 -3389
- package/dist/Disco.UI-XF2GEKRW.js +0 -243
- package/dist/DmrPlot-TVXVXOHL.js +0 -362
- package/dist/GB-66ZGJ5ST.js +0 -1428
- package/dist/GB-66ZGJ5ST.js.map +0 -7
- package/dist/GSEA-Z4YPI4HY.js +0 -875
- package/dist/GeneExpInput-VBIZZV27.js +0 -42
- package/dist/Geomap-UIIOLRFA.js +0 -84
- package/dist/HicApp-73ESVNBA.js +0 -2245
- package/dist/IDCViewer-RBYN5A4P.js +0 -10812
- package/dist/NumBinaryEditor-DJLSNSLE.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-LCJHL3XM.js +0 -312
- package/dist/NumContEditor-SVLDJ2ML.js +0 -105
- package/dist/NumContEditor.unit.spec-JDMSK4HY.js +0 -164
- package/dist/NumCustomBinEditor-BI63AH3R.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-5433G7Y2.js +0 -397
- package/dist/NumDiscreteEditor-LEZTGXAV.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-5OEORHJ4.js +0 -233
- package/dist/NumRegularBinEditor-EXWHIWPM.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-QY25Z2TT.js +0 -278
- package/dist/NumSplineEditor-XPPMYYAD.js +0 -210
- package/dist/NumSplineEditor.unit.spec-GOGBKWMN.js +0 -224
- package/dist/NumericDensity-RKY2IQ72.js +0 -33
- package/dist/NumericDensity.unit.spec-5ZM6ICXM.js +0 -418
- package/dist/NumericHandler-FXF3M5M3.js +0 -34
- package/dist/NumericHandler.unit.spec-M2OQTBJX.js +0 -214
- package/dist/ProteomeInput-TMZ3THRL.js +0 -388
- package/dist/Regression-GQGAATHG.js +0 -1416
- package/dist/RunChart2-7GNDWRKC.js +0 -749
- package/dist/SC-R2I2EMHA.js +0 -1183
- package/dist/Violin-GKKEB55L.js +0 -1081
- package/dist/Volcano-HRG5EFWH.js +0 -2443
- package/dist/Volcano-HRG5EFWH.js.map +0 -7
- package/dist/Wsi-OHRCGYYD.js +0 -629
- package/dist/adSandbox-H56B25WR.js +0 -33
- package/dist/animatedBubbleChart-7SXFHU4J.js +0 -547
- package/dist/app-22JCSULA.js +0 -42
- package/dist/app-RGZJB6LN.js +0 -32
- package/dist/bam-HA65TRGX.js +0 -876
- package/dist/barchart-6XO75OMA.js +0 -42
- package/dist/barchart2-6E5BIRHD.js +0 -309
- package/dist/block-43KNTXZ5.js +0 -6250
- package/dist/block.init-TPU5QIPA.js +0 -33
- package/dist/block.mds.expressionrank-QZDRFXCH.js +0 -354
- package/dist/block.mds.geneboxplot-64QVBK5Q.js +0 -823
- package/dist/block.mds.junction-I4J6VXNT.js +0 -1539
- package/dist/block.mds.svcnv-GDQMSQFF.js +0 -6796
- package/dist/block.svg-2MZFT5QP.js +0 -159
- package/dist/block.tk.aicheck-2MKHF6LX.js +0 -278
- package/dist/block.tk.ase-CLYGKFTS.js +0 -360
- package/dist/block.tk.bam-XTR4QA5Z.js +0 -1901
- package/dist/block.tk.bedgraphdot-A2P2CXRU.js +0 -379
- package/dist/block.tk.bigwig.ui-YZH6JXEO.js +0 -206
- package/dist/block.tk.hicstraw-QBK5VWGU.js +0 -818
- package/dist/block.tk.junction-5DEVBA7G.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-7TTQMO6W.js +0 -194
- package/dist/block.tk.ld-PRIVUPKL.js +0 -94
- package/dist/block.tk.menu-JGBRFSS3.js +0 -1024
- package/dist/block.tk.pgv-KQJCJMVD.js +0 -938
- package/dist/brainImaging-4SLVJ2HV.js +0 -555
- package/dist/brainRegions-BDIVM2SG.js +0 -217
- package/dist/bubbleHeatmap-ORKFJNEQ.js +0 -378
- package/dist/cellTypeBubbleHeatmap-VOHLI4P7.js +0 -278
- package/dist/chunk-26N3B2JO.js +0 -194
- package/dist/chunk-2HNJF5ZI.js +0 -240
- package/dist/chunk-2LNGHIOC.js +0 -281
- package/dist/chunk-3FEP6B5T.js +0 -119
- package/dist/chunk-3SCQGODD.js +0 -274
- package/dist/chunk-47STLK7K.js +0 -518
- package/dist/chunk-4G73CMUL.js +0 -38
- package/dist/chunk-4XYQG3XU.js +0 -276
- package/dist/chunk-53XNEXR6.js +0 -34
- package/dist/chunk-55FABQU2.js +0 -24955
- package/dist/chunk-55FABQU2.js.map +0 -7
- package/dist/chunk-5UB5H7A3.js +0 -123
- package/dist/chunk-6FYQYTV6.js +0 -141
- package/dist/chunk-6RP6CR4Q.js +0 -182
- package/dist/chunk-A5D37SIL.js +0 -103
- package/dist/chunk-ADRFQ5AL.js +0 -102
- package/dist/chunk-AUZ63NKJ.js +0 -70
- package/dist/chunk-B563DUNQ.js +0 -217
- package/dist/chunk-BK6UDL7F.js +0 -339
- package/dist/chunk-CFZ2ZW3E.js +0 -382
- package/dist/chunk-CKOU3P27.js +0 -26
- package/dist/chunk-CT4IG5IR.js +0 -339
- package/dist/chunk-D6UBH77N.js +0 -1731
- package/dist/chunk-DS4GLMJL.js +0 -170
- package/dist/chunk-DSBRHWZ7.js +0 -2853
- package/dist/chunk-DX35MKPR.js +0 -272
- package/dist/chunk-EDZJ3VNZ.js +0 -54
- package/dist/chunk-F47A4CVK.js +0 -1339
- package/dist/chunk-FSLOUTTK.js +0 -37
- package/dist/chunk-G4H34RNK.js +0 -446
- package/dist/chunk-G7RUMSHL.js +0 -263
- package/dist/chunk-GXFS25SK.js +0 -480
- package/dist/chunk-I25LKYC4.js +0 -379
- package/dist/chunk-IBT6WRY6.js +0 -692
- package/dist/chunk-IJ7AIDEO.js +0 -302
- package/dist/chunk-JBFVJHZN.js +0 -1233
- package/dist/chunk-JDVBUIEU.js +0 -56
- package/dist/chunk-JTANDSTD.js +0 -54
- package/dist/chunk-K7RW5TPU.js +0 -4375
- package/dist/chunk-KIAMLQ7S.js +0 -424
- package/dist/chunk-LBCIXRI2.js +0 -49
- package/dist/chunk-MNXL2UV5.js +0 -98
- package/dist/chunk-NDOKW2HJ.js +0 -31
- package/dist/chunk-NI5CVN43.js +0 -203
- package/dist/chunk-NOBXDQDU.js +0 -397
- package/dist/chunk-NQNVLZOA.js +0 -6360
- package/dist/chunk-NULFGPE3.js +0 -158
- package/dist/chunk-OUIXGM3K.js +0 -299
- package/dist/chunk-P4LGA36F.js +0 -14
- package/dist/chunk-PU5FQWAY.js +0 -55
- package/dist/chunk-PZ2OSHBF.js +0 -56
- package/dist/chunk-QBNDPW7O.js +0 -5071
- package/dist/chunk-QD75Q5LM.js +0 -59
- package/dist/chunk-R5PKBL7V.js +0 -80
- package/dist/chunk-RFSOP75Z.js +0 -1988
- package/dist/chunk-RI65SIN3.js +0 -626
- package/dist/chunk-RPGLLO4T.js +0 -2676
- package/dist/chunk-RXNZK7MF.js +0 -134
- package/dist/chunk-S2ICJ3RZ.js +0 -550
- package/dist/chunk-SB36AUG7.js +0 -1614
- package/dist/chunk-SB36AUG7.js.map +0 -7
- package/dist/chunk-SFHG6H2D.js +0 -129
- package/dist/chunk-TQ2DVEQO.js +0 -783
- package/dist/chunk-U6BJ4ZNU.js +0 -176
- package/dist/chunk-UXD6G6G4.js +0 -178
- package/dist/chunk-VA57CUC7.js +0 -2146
- package/dist/chunk-VH5W6ODW.js +0 -294
- package/dist/chunk-VROF55EH.js +0 -255
- package/dist/chunk-VWA7BYSV.js +0 -217
- package/dist/chunk-X37BRSGS.js +0 -102
- package/dist/chunk-XQYDXA47.js +0 -562
- package/dist/chunk-XXPUZVS4.js +0 -237
- package/dist/chunk-Y7V5AIUH.js +0 -468
- package/dist/chunk-YBNIOGUE.js +0 -243
- package/dist/chunk-YEYMNF7V.js +0 -2327
- package/dist/chunk-YJ74QATP.js +0 -1278
- package/dist/chunk-ZG2HCGAO.js +0 -2784
- package/dist/chunk-ZZN7ZD7J.js +0 -54
- package/dist/cohort-6OCRQQ2S.js +0 -70
- package/dist/condition-SZVXH3VU.js +0 -327
- package/dist/controls-MO6ZND76.js +0 -34
- package/dist/controls.config-P4MSTGL4.js +0 -34
- package/dist/correlation-NMI3CM3T.js +0 -95
- package/dist/customdata.inputui-VCHSCA65.js +0 -284
- package/dist/dataDownload-VQHOTQ5D.js +0 -329
- package/dist/databrowser.ui-ZFOCAG32.js +0 -425
- package/dist/dictionary-S5YCFUWH.js +0 -113
- package/dist/dnaMethylation-MQZLZRGT.js +0 -33
- package/dist/dnaMethylation.integration.spec-H546EBUO.js +0 -198
- package/dist/dofetch-QZIYSC7H.js +0 -48
- package/dist/e2pca-XOXOS3PN.js +0 -344
- package/dist/ep-U6KRL7FR.js +0 -1249
- package/dist/expclust.gdc.spec-HCK65C63.js +0 -302
- package/dist/facet-DCC25KJO.js +0 -519
- package/dist/gb-TIFWFD4Y.js +0 -81
- package/dist/geneExpClustering-6DQEOTOY.js +0 -244
- package/dist/geneExpression-EASRAN6B.js +0 -310
- package/dist/geneExpression-G4YMDCBH.js +0 -33
- package/dist/geneExpression.unit.spec-XVEJYMPX.js +0 -128
- package/dist/geneORA-6UBS5GSC.js +0 -273
- package/dist/geneRanking-UXXYWHNB.js +0 -548
- package/dist/geneVariant-SZRJOXVC.js +0 -289
- package/dist/geneVariant-TKFKARZK.js +0 -36
- package/dist/geneVariant.integration.spec-PXMAYJN3.js +0 -503
- package/dist/genefusion.ui-TJLYXSVL.js +0 -303
- package/dist/geneset-YTBDLEIH.js +0 -203
- package/dist/genomeBrowser.spec-ZO4LFIXE.js +0 -276
- package/dist/grin2-FC4VYU54.js +0 -949
- package/dist/grin2-LIFKBMVK.js +0 -70
- package/dist/hierCluster-56EGAPOR.js +0 -59
- package/dist/hierCluster-DR5NWCXA.js +0 -55
- package/dist/hierCluster.config-NACE3FH2.js +0 -36
- package/dist/hierCluster.integration.spec-PEEXPAS6.js +0 -483
- package/dist/hierCluster.interactivity-OCBGLUJM.js +0 -49
- package/dist/hierCluster.renderers-JNQUSAP4.js +0 -19
- package/dist/imagePlot-GR4JNUGG.js +0 -156
- package/dist/importPlot-4R4BSPVD.js +0 -8
- package/dist/isoformExpression-ST5ZW2NE.js +0 -35
- package/dist/isoformExpression.unit.spec-PPFC5Z7N.js +0 -237
- package/dist/junction-7AKZHOHV.js +0 -36
- package/dist/junction.customTerm-TMV43R7Z.js +0 -16
- package/dist/junction.unit.spec-SZUJXRQ2.js +0 -182
- package/dist/launch.adhoc-RWJQUOJ6.js +0 -37
- package/dist/leftlabel.sample-WRHLVQAQ.js +0 -258
- package/dist/lollipop-ZZWXTM23.js +0 -166
- package/dist/maf-N4XPZTQU.js +0 -455
- package/dist/maftimeline-2FBS6RWS.js +0 -587
- package/dist/matrix-5KEQPB5H.js +0 -59
- package/dist/matrix-RJUNXB5N.js +0 -54
- package/dist/matrix.cells-WXTPOJYB.js +0 -26
- package/dist/matrix.config-ZZFLLD6Z.js +0 -37
- package/dist/matrix.data-3PQ73GVJ.js +0 -23
- package/dist/matrix.groups-U6CKS6WW.js +0 -26
- package/dist/matrix.integration.spec-T53PMVHC.js +0 -3160
- package/dist/matrix.interactivity-3LDZV3F7.js +0 -37
- package/dist/matrix.layout-MINLYQCA.js +0 -39
- package/dist/matrix.legend-6GSDFZHS.js +0 -20
- package/dist/matrix.renderers-5BKOXDE3.js +0 -34
- package/dist/matrix.serieses-6FCFIFAQ.js +0 -19
- package/dist/matrix.sort-EHVVYDZ3.js +0 -26
- package/dist/matrix.sort.unit.spec-BCWE4AFX.js +0 -468
- package/dist/matrix.sorterUi-WL5I6S3K.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-XJR5KXRL.js +0 -338
- package/dist/matrix.unit.spec-TUCKPE26.js +0 -150
- package/dist/mavb-GWSNRBLM.js +0 -727
- package/dist/mds.fimo-OMAQRSMW.js +0 -513
- package/dist/mds.samplescatterplot-4UW3CC45.js +0 -1545
- package/dist/mds.survivalplot-2CJYJBD2.js +0 -477
- package/dist/multivalue-G44MHEYI.js +0 -83
- package/dist/numericDictTermCluster-5BDRGVQG.js +0 -63
- package/dist/oncomatrix-ZTVO23ZH.js +0 -290
- package/dist/oncomatrix.spec-2QVK2A3Q.js +0 -443
- package/dist/plot.2dvaf-CL5YUXKH.js +0 -372
- package/dist/plot.app-4ANKPSNP.js +0 -36
- package/dist/plot.barplot-BMGDNZRA.js +0 -97
- package/dist/plot.boxplot-GMLQCDP6.js +0 -146
- package/dist/plot.brainImaging-RZXX3NUZ.js +0 -51
- package/dist/plot.disco-3MD4J4C7.js +0 -99
- package/dist/plot.ssgq-ZC4UYKOT.js +0 -134
- package/dist/plot.vaf2cov-4DHFMYQV.js +0 -253
- package/dist/polar2-TMB5EITR.js +0 -232
- package/dist/profileForms-GD7BIOOD.js +0 -941
- package/dist/profilePlot-CZLK5E74.js +0 -49
- package/dist/proteinView-FEEEXLKT.js +0 -1357
- package/dist/proteomeCohortCompare-NVLJ2FXX.js +0 -912
- package/dist/pseudbulk.unit.spec-GHQZPNAH.js +0 -86
- package/dist/pseudobulk-G5UQIRKL.js +0 -35
- package/dist/qualitative-EAUUCKU5.js +0 -38
- package/dist/radar2-CJQ2L6KE.js +0 -327
- package/dist/radarFacility2-BLVRZE4V.js +0 -335
- package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +0 -211
- package/dist/render-KKAQPH6Y.js +0 -33
- package/dist/report-OSOJHTSD.js +0 -217
- package/dist/sampleView-WB74RLD7.js +0 -43
- package/dist/samplelst-ZKXV5WOD.js +0 -106
- package/dist/samplematrix-WJFYMWLT.js +0 -2193
- package/dist/sc-RBRBUCLR.js +0 -81
- package/dist/scatter-5K3QTIDK.js +0 -88
- package/dist/scatter-SM7GQENM.js +0 -925
- package/dist/selectGenomeWithTklst-ZZUJ7AQ7.js +0 -129
- package/dist/singleCellCellType-LCF2JNZ2.js +0 -33
- package/dist/singleCellCellType.unit.spec-T6DYH4BC.js +0 -154
- package/dist/singleCellGeneExpression-2XUYTH4C.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-SMRCLOF4.js +0 -148
- package/dist/singleCellNumericValue-57I33FZT.js +0 -33
- package/dist/singleCellNumericValue.unit.spec-4YNB4OEV.js +0 -416
- package/dist/singleCellPlot-L6TKQHGD.js +0 -48
- package/dist/singlecell-LZKR3UDV.js +0 -81
- package/dist/singlecell-UKN2VCXQ.js +0 -1566
- package/dist/snp-3LJITU5B.js +0 -33
- package/dist/snp.unit.spec-ZQNU6XRM.js +0 -171
- package/dist/snplocus-OME7UQBW.js +0 -203
- package/dist/spliceevent.a53ss.diagram-C32IEFMU.js +0 -146
- package/dist/spliceevent.exonskip.diagram-CZ7MVRLK.js +0 -278
- package/dist/spliceevent.noeventdiagram-ZO6R3776.js +0 -455
- package/dist/ssGSEA-BGPQ2PFY.js +0 -33
- package/dist/ssGSEA.unit.spec-U7TBUSSK.js +0 -83
- package/dist/stattable-FISGQCED.js +0 -117
- package/dist/studyCatalog-UHFUT2CJ.js +0 -414
- package/dist/summarizeCnvGeneexp-OVZO6KIB.js +0 -158
- package/dist/summarizeGeneexpSurvival-KVQ4JGWK.js +0 -105
- package/dist/summarizeMutationCnv-RAKGHNLE.js +0 -159
- package/dist/summarizeMutationDiagnosis-LGCINAGG.js +0 -35
- package/dist/summarizeMutationSurvival-J7H7L4FX.js +0 -99
- package/dist/summary-2632JZXH.js +0 -44
- package/dist/summary.integration.spec-5WBS2ZRP.js +0 -409
- package/dist/summaryInput-BH6C3ATV.js +0 -242
- package/dist/sunburst-AMRR2IHM.js +0 -278
- package/dist/survival-2RNJQVFS.js +0 -1248
- package/dist/survival-WYCH4QOQ.js +0 -53
- package/dist/survival.integration.spec-7IFPY4I4.js +0 -613
- package/dist/svgraph-YQWS52ZJ.js +0 -1382
- package/dist/svmr-NRN6LGKK.js +0 -3837
- package/dist/table-3QOMV2NN.js +0 -197
- package/dist/termCollection-2ZJ7TJGO.js +0 -33
- package/dist/termCollection-3MCVR7BA.js +0 -252
- package/dist/termCollection.unit.spec-QYOEA3X6.js +0 -299
- package/dist/termCollectionFractionSelection-5AH6EF4L.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-WPGW4WJN.js +0 -188
- package/dist/tk-DQ7D5UEO.js +0 -41
- package/dist/tk-ONKYBG6R.js +0 -1121
- package/dist/tp.ui-C7BTMHEI.js +0 -1454
- package/dist/tvs.dt-PLRMK7OT.js +0 -34
- package/dist/tvs.dtcnv.categorical-IZUY2AQO.js +0 -35
- package/dist/tvs.dtcnv.continuous-ENV3RHHA.js +0 -67
- package/dist/tvs.dtfusion-2DVCV6AM.js +0 -35
- package/dist/tvs.dtitd-XNDIRQYU.js +0 -35
- package/dist/tvs.dtsnvindel-4D3G7XSF.js +0 -35
- package/dist/tvs.dtsv-QYMIMC4Z.js +0 -35
- package/dist/tvs.samplelst-2KEU2ZWB.js +0 -98
- package/dist/tvs.termCollection-FEY746V5.js +0 -124
- package/dist/vocabulary-BR4NJDPS.js +0 -36
- package/dist/wsi.direct-JWDUNHIO.js +0 -8343
- /package/dist/{2dmaf-43QBND66.js.map → 2dmaf-7VZ536T5.js.map} +0 -0
- /package/dist/{AggMatrixInput-X7NGFUHH.js.map → AggMatrixInput-UTUOXTGA.js.map} +0 -0
- /package/dist/{AggregateMatrix-M4HRI4PX.js.map → AggregateMatrix-X75HUZYO.js.map} +0 -0
- /package/dist/{AppHeader-QBRQN6PM.js.map → AppHeader-X2DR6VSM.js.map} +0 -0
- /package/dist/{BoxPlot-V6SPSEQ2.js.map → BoxPlot-NQMPJICU.js.map} +0 -0
- /package/dist/{CorrelationVolcano-UFPCYC77.js.map → CorrelationVolcano-IDBUJH2E.js.map} +0 -0
- /package/dist/{Cuminc-KXGXGLKZ.js.map → Cuminc-BYFIMOLO.js.map} +0 -0
- /package/dist/{DE-K2YXHOOW.js.map → DE-BI7DHHW4.js.map} +0 -0
- /package/dist/{DEinput-O6LBFAAH.js.map → DEinput-W66CT4U2.js.map} +0 -0
- /package/dist/{DM-C7VN3RWB.js.map → DM-62TEJA3C.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-A2BU4WB3.js.map → DifferentialAnalysis-PRTA6CYW.js.map} +0 -0
- /package/dist/{Disco-HECQVKXG.js.map → Disco-4JQP3FRW.js.map} +0 -0
- /package/dist/{Disco.UI-XF2GEKRW.js.map → Disco.UI-6RHAA5KU.js.map} +0 -0
- /package/dist/{DmrPlot-TVXVXOHL.js.map → DmrPlot-VYQYMTQ7.js.map} +0 -0
- /package/dist/{GSEA-Z4YPI4HY.js.map → GSEA-DT3SYXOZ.js.map} +0 -0
- /package/dist/{GeneExpInput-VBIZZV27.js.map → GeneExpInput-UILWAGRH.js.map} +0 -0
- /package/dist/{Geomap-UIIOLRFA.js.map → Geomap-AFKEGMR5.js.map} +0 -0
- /package/dist/{HicApp-73ESVNBA.js.map → HicApp-APDL5POY.js.map} +0 -0
- /package/dist/{IDCViewer-RBYN5A4P.js.map → IDCViewer-DQXAORHT.js.map} +0 -0
- /package/dist/{NumBinaryEditor-DJLSNSLE.js.map → NumBinaryEditor-OUVIOEH7.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-LCJHL3XM.js.map → NumBinaryEditor.unit.spec-VBX2X4CT.js.map} +0 -0
- /package/dist/{NumContEditor-SVLDJ2ML.js.map → NumContEditor-JVPRBZPW.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-JDMSK4HY.js.map → NumContEditor.unit.spec-EQNB6RMI.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-BI63AH3R.js.map → NumCustomBinEditor-E2SXZDF4.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-5433G7Y2.js.map → NumCustomBinEditor.unit.spec-VLR7MGNL.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-LEZTGXAV.js.map → NumDiscreteEditor-CUA55FU3.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-5OEORHJ4.js.map → NumDiscreteEditor.unit.spec-7IPCMUDQ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-EXWHIWPM.js.map → NumRegularBinEditor-CWU7YBEP.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-QY25Z2TT.js.map → NumRegularBinEditor.unit.spec-RGV3EUPC.js.map} +0 -0
- /package/dist/{NumSplineEditor-XPPMYYAD.js.map → NumSplineEditor-PC5X7AUJ.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-GOGBKWMN.js.map → NumSplineEditor.unit.spec-QCR3RL5W.js.map} +0 -0
- /package/dist/{NumericDensity-RKY2IQ72.js.map → NumericDensity-CFUEE5ZN.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-5ZM6ICXM.js.map → NumericDensity.unit.spec-JOCVEC32.js.map} +0 -0
- /package/dist/{NumericHandler-FXF3M5M3.js.map → NumericHandler-VL2Z55KF.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-M2OQTBJX.js.map → NumericHandler.unit.spec-ULM5FSSA.js.map} +0 -0
- /package/dist/{ProteomeInput-TMZ3THRL.js.map → ProteomeInput-3WKTVCYT.js.map} +0 -0
- /package/dist/{Regression-GQGAATHG.js.map → Regression-M7AQTYXL.js.map} +0 -0
- /package/dist/{RunChart2-7GNDWRKC.js.map → RunChart2-54SVOXJR.js.map} +0 -0
- /package/dist/{SC-R2I2EMHA.js.map → SC-QRWDGHB2.js.map} +0 -0
- /package/dist/{Violin-GKKEB55L.js.map → Violin-2AD6QRJB.js.map} +0 -0
- /package/dist/{Wsi-OHRCGYYD.js.map → Wsi-U3U3EILE.js.map} +0 -0
- /package/dist/{adSandbox-H56B25WR.js.map → adSandbox-S3JP7XF3.js.map} +0 -0
- /package/dist/{animatedBubbleChart-7SXFHU4J.js.map → animatedBubbleChart-LZKNERIM.js.map} +0 -0
- /package/dist/{app-22JCSULA.js.map → app-2MERLGNJ.js.map} +0 -0
- /package/dist/{app-RGZJB6LN.js.map → app-ZNSUUOFJ.js.map} +0 -0
- /package/dist/{bam-HA65TRGX.js.map → bam-ESRPS4TQ.js.map} +0 -0
- /package/dist/{barchart-6XO75OMA.js.map → barchart-BPUEO4RK.js.map} +0 -0
- /package/dist/{barchart2-6E5BIRHD.js.map → barchart2-Z36PNSM2.js.map} +0 -0
- /package/dist/{block-43KNTXZ5.js.map → block-GEG4UUOU.js.map} +0 -0
- /package/dist/{block.init-TPU5QIPA.js.map → block.init-SB6OX35E.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-QZDRFXCH.js.map → block.mds.expressionrank-2JLMS334.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-64QVBK5Q.js.map → block.mds.geneboxplot-BZMGG6G3.js.map} +0 -0
- /package/dist/{block.mds.junction-I4J6VXNT.js.map → block.mds.junction-636PWE2O.js.map} +0 -0
- /package/dist/{block.mds.svcnv-GDQMSQFF.js.map → block.mds.svcnv-S4L2HMZW.js.map} +0 -0
- /package/dist/{block.svg-2MZFT5QP.js.map → block.svg-A7EABUXG.js.map} +0 -0
- /package/dist/{block.tk.aicheck-2MKHF6LX.js.map → block.tk.aicheck-KNFJVUTW.js.map} +0 -0
- /package/dist/{block.tk.ase-CLYGKFTS.js.map → block.tk.ase-BPU25OLX.js.map} +0 -0
- /package/dist/{block.tk.bam-XTR4QA5Z.js.map → block.tk.bam-VC4CZCUS.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-A2P2CXRU.js.map → block.tk.bedgraphdot-FQS4Z4RC.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-YZH6JXEO.js.map → block.tk.bigwig.ui-7STXSD3X.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-QBK5VWGU.js.map → block.tk.hicstraw-CVDCOMPP.js.map} +0 -0
- /package/dist/{block.tk.junction-5DEVBA7G.js.map → block.tk.junction-PG4RZFH3.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-7TTQMO6W.js.map → block.tk.junction.textmatrixui-JRW4ZJIK.js.map} +0 -0
- /package/dist/{block.tk.ld-PRIVUPKL.js.map → block.tk.ld-DLDP2NHJ.js.map} +0 -0
- /package/dist/{block.tk.menu-JGBRFSS3.js.map → block.tk.menu-PWGFMKBQ.js.map} +0 -0
- /package/dist/{block.tk.pgv-KQJCJMVD.js.map → block.tk.pgv-HOBOXQIN.js.map} +0 -0
- /package/dist/{brainImaging-4SLVJ2HV.js.map → brainImaging-GUQTOHQF.js.map} +0 -0
- /package/dist/{brainRegions-BDIVM2SG.js.map → brainRegions-JWBIBCTG.js.map} +0 -0
- /package/dist/{bubbleHeatmap-ORKFJNEQ.js.map → bubbleHeatmap-EUO3DUVT.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-VOHLI4P7.js.map → cellTypeBubbleHeatmap-TIBGPZTB.js.map} +0 -0
- /package/dist/{chunk-U6BJ4ZNU.js.map → chunk-3CGAABHZ.js.map} +0 -0
- /package/dist/{chunk-CKOU3P27.js.map → chunk-3ELYMSGO.js.map} +0 -0
- /package/dist/{chunk-DSBRHWZ7.js.map → chunk-3QL3U6FU.js.map} +0 -0
- /package/dist/{chunk-BK6UDL7F.js.map → chunk-3TV5WWUN.js.map} +0 -0
- /package/dist/{chunk-KIAMLQ7S.js.map → chunk-4Y5W26UF.js.map} +0 -0
- /package/dist/{chunk-NQNVLZOA.js.map → chunk-5XE3WSUX.js.map} +0 -0
- /package/dist/{chunk-CFZ2ZW3E.js.map → chunk-665X7R7S.js.map} +0 -0
- /package/dist/{chunk-PU5FQWAY.js.map → chunk-6MQPXWOR.js.map} +0 -0
- /package/dist/{chunk-P4LGA36F.js.map → chunk-7DSL65G7.js.map} +0 -0
- /package/dist/{chunk-RI65SIN3.js.map → chunk-A6F3CSXP.js.map} +0 -0
- /package/dist/{chunk-SFHG6H2D.js.map → chunk-AB6JQFIQ.js.map} +0 -0
- /package/dist/{chunk-2HNJF5ZI.js.map → chunk-ACOHIDWO.js.map} +0 -0
- /package/dist/{chunk-ADRFQ5AL.js.map → chunk-AIVPAC5Q.js.map} +0 -0
- /package/dist/{chunk-K7RW5TPU.js.map → chunk-AKKJFMW5.js.map} +0 -0
- /package/dist/{chunk-VROF55EH.js.map → chunk-AR2UIN77.js.map} +0 -0
- /package/dist/{chunk-JDVBUIEU.js.map → chunk-AXF6SVNQ.js.map} +0 -0
- /package/dist/{chunk-MNXL2UV5.js.map → chunk-BLYD6SQO.js.map} +0 -0
- /package/dist/{chunk-S2ICJ3RZ.js.map → chunk-BSWPONNA.js.map} +0 -0
- /package/dist/{chunk-OUIXGM3K.js.map → chunk-BX3P73XH.js.map} +0 -0
- /package/dist/{chunk-QBNDPW7O.js.map → chunk-CW35X5ZL.js.map} +0 -0
- /package/dist/{chunk-2LNGHIOC.js.map → chunk-D4XHYQNS.js.map} +0 -0
- /package/dist/{chunk-6FYQYTV6.js.map → chunk-DH74ZT37.js.map} +0 -0
- /package/dist/{chunk-6RP6CR4Q.js.map → chunk-E76UYIT2.js.map} +0 -0
- /package/dist/{chunk-26N3B2JO.js.map → chunk-EM6KUVI5.js.map} +0 -0
- /package/dist/{chunk-IJ7AIDEO.js.map → chunk-F4GYWCRF.js.map} +0 -0
- /package/dist/{chunk-QD75Q5LM.js.map → chunk-FJ3JD7B3.js.map} +0 -0
- /package/dist/{chunk-ZZN7ZD7J.js.map → chunk-FW3ME75U.js.map} +0 -0
- /package/dist/{chunk-TQ2DVEQO.js.map → chunk-G2X2PN74.js.map} +0 -0
- /package/dist/{chunk-RPGLLO4T.js.map → chunk-G3QKTYUT.js.map} +0 -0
- /package/dist/{chunk-PZ2OSHBF.js.map → chunk-G5USS6FI.js.map} +0 -0
- /package/dist/{chunk-NI5CVN43.js.map → chunk-GLPTPX45.js.map} +0 -0
- /package/dist/{chunk-CT4IG5IR.js.map → chunk-GPY6SBCX.js.map} +0 -0
- /package/dist/{chunk-D6UBH77N.js.map → chunk-GWHIKECP.js.map} +0 -0
- /package/dist/{chunk-G7RUMSHL.js.map → chunk-GWVVEOYX.js.map} +0 -0
- /package/dist/{chunk-I25LKYC4.js.map → chunk-HDV3LHCN.js.map} +0 -0
- /package/dist/{chunk-YEYMNF7V.js.map → chunk-HGXSYPU6.js.map} +0 -0
- /package/dist/{chunk-G4H34RNK.js.map → chunk-HMKEVTRM.js.map} +0 -0
- /package/dist/{chunk-JBFVJHZN.js.map → chunk-HPCKKXRK.js.map} +0 -0
- /package/dist/{chunk-NDOKW2HJ.js.map → chunk-J5JBHGRN.js.map} +0 -0
- /package/dist/{chunk-RFSOP75Z.js.map → chunk-JHOGTGIS.js.map} +0 -0
- /package/dist/{chunk-GXFS25SK.js.map → chunk-KCX54MGS.js.map} +0 -0
- /package/dist/{chunk-53XNEXR6.js.map → chunk-KVRSO2OZ.js.map} +0 -0
- /package/dist/{chunk-YBNIOGUE.js.map → chunk-M4PUW3ML.js.map} +0 -0
- /package/dist/{chunk-XQYDXA47.js.map → chunk-ME325OQC.js.map} +0 -0
- /package/dist/{chunk-Y7V5AIUH.js.map → chunk-NJWNKBRC.js.map} +0 -0
- /package/dist/{chunk-NOBXDQDU.js.map → chunk-O5FUHCNU.js.map} +0 -0
- /package/dist/{chunk-RXNZK7MF.js.map → chunk-ODHQPTHU.js.map} +0 -0
- /package/dist/{chunk-IBT6WRY6.js.map → chunk-PTQ4GQCS.js.map} +0 -0
- /package/dist/{chunk-AUZ63NKJ.js.map → chunk-PUSSP76H.js.map} +0 -0
- /package/dist/{chunk-JTANDSTD.js.map → chunk-Q3PAXUCU.js.map} +0 -0
- /package/dist/{chunk-R5PKBL7V.js.map → chunk-QWBKN2IC.js.map} +0 -0
- /package/dist/{chunk-LBCIXRI2.js.map → chunk-R4E7BXC6.js.map} +0 -0
- /package/dist/{chunk-3SCQGODD.js.map → chunk-SDYFM3UL.js.map} +0 -0
- /package/dist/{chunk-VWA7BYSV.js.map → chunk-SP6WCXY6.js.map} +0 -0
- /package/dist/{chunk-X37BRSGS.js.map → chunk-SRTZQOK7.js.map} +0 -0
- /package/dist/{chunk-UXD6G6G4.js.map → chunk-T4RYLTR3.js.map} +0 -0
- /package/dist/{chunk-EDZJ3VNZ.js.map → chunk-TANWA6SU.js.map} +0 -0
- /package/dist/{chunk-DS4GLMJL.js.map → chunk-TBIHBC5V.js.map} +0 -0
- /package/dist/{chunk-YJ74QATP.js.map → chunk-TGTCOCPF.js.map} +0 -0
- /package/dist/{chunk-VH5W6ODW.js.map → chunk-TOFOT2BN.js.map} +0 -0
- /package/dist/{chunk-B563DUNQ.js.map → chunk-UOYIPBTX.js.map} +0 -0
- /package/dist/{chunk-ZG2HCGAO.js.map → chunk-USULBM4V.js.map} +0 -0
- /package/dist/{chunk-5UB5H7A3.js.map → chunk-V3WSMWBF.js.map} +0 -0
- /package/dist/{chunk-VA57CUC7.js.map → chunk-VTHZGUSZ.js.map} +0 -0
- /package/dist/{chunk-A5D37SIL.js.map → chunk-WMQDFVJK.js.map} +0 -0
- /package/dist/{chunk-4G73CMUL.js.map → chunk-WTQQWFV4.js.map} +0 -0
- /package/dist/{chunk-4XYQG3XU.js.map → chunk-XDLKYVYU.js.map} +0 -0
- /package/dist/{chunk-FSLOUTTK.js.map → chunk-XNJN5J3U.js.map} +0 -0
- /package/dist/{chunk-NULFGPE3.js.map → chunk-XQLOEZ7T.js.map} +0 -0
- /package/dist/{chunk-3FEP6B5T.js.map → chunk-Y3SDMRDX.js.map} +0 -0
- /package/dist/{chunk-47STLK7K.js.map → chunk-Y5FE3G6J.js.map} +0 -0
- /package/dist/{chunk-XXPUZVS4.js.map → chunk-YMEWZVRG.js.map} +0 -0
- /package/dist/{chunk-F47A4CVK.js.map → chunk-YPHFEKWI.js.map} +0 -0
- /package/dist/{chunk-DX35MKPR.js.map → chunk-Z4HW3FEE.js.map} +0 -0
- /package/dist/{cohort-6OCRQQ2S.js.map → cohort-NYFUILFO.js.map} +0 -0
- /package/dist/{condition-SZVXH3VU.js.map → condition-6M4AVISY.js.map} +0 -0
- /package/dist/{controls-MO6ZND76.js.map → controls-LMTWS3SY.js.map} +0 -0
- /package/dist/{controls.config-P4MSTGL4.js.map → controls.config-4PK7HLFJ.js.map} +0 -0
- /package/dist/{correlation-NMI3CM3T.js.map → correlation-X6GB6ITK.js.map} +0 -0
- /package/dist/{customdata.inputui-VCHSCA65.js.map → customdata.inputui-MDG3BTTG.js.map} +0 -0
- /package/dist/{dataDownload-VQHOTQ5D.js.map → dataDownload-TFRI3VFM.js.map} +0 -0
- /package/dist/{databrowser.ui-ZFOCAG32.js.map → databrowser.ui-L2K7VVDW.js.map} +0 -0
- /package/dist/{dictionary-S5YCFUWH.js.map → dictionary-MS6R3VNY.js.map} +0 -0
- /package/dist/{dnaMethylation-MQZLZRGT.js.map → dnaMethylation-2KYSQWNE.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-H546EBUO.js.map → dnaMethylation.integration.spec-2BHNKOGN.js.map} +0 -0
- /package/dist/{dofetch-QZIYSC7H.js.map → dofetch-BETN7HEX.js.map} +0 -0
- /package/dist/{e2pca-XOXOS3PN.js.map → e2pca-QC2EI5JM.js.map} +0 -0
- /package/dist/{ep-U6KRL7FR.js.map → ep-BTRMR4OT.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-HCK65C63.js.map → expclust.gdc.spec-C5ZMBCGO.js.map} +0 -0
- /package/dist/{facet-DCC25KJO.js.map → facet-LPXKLX53.js.map} +0 -0
- /package/dist/{gb-TIFWFD4Y.js.map → gb-PHJ2SM5D.js.map} +0 -0
- /package/dist/{geneExpClustering-6DQEOTOY.js.map → geneExpClustering-OXZJHEPD.js.map} +0 -0
- /package/dist/{geneExpression-EASRAN6B.js.map → geneExpression-54RGEGML.js.map} +0 -0
- /package/dist/{geneExpression-G4YMDCBH.js.map → geneExpression-FLBQXMSX.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-XVEJYMPX.js.map → geneExpression.unit.spec-ZCE7G6HI.js.map} +0 -0
- /package/dist/{geneORA-6UBS5GSC.js.map → geneORA-TELI5AFV.js.map} +0 -0
- /package/dist/{geneRanking-UXXYWHNB.js.map → geneRanking-7YZA5GNG.js.map} +0 -0
- /package/dist/{geneVariant-TKFKARZK.js.map → geneVariant-NJYUEY4C.js.map} +0 -0
- /package/dist/{geneVariant-SZRJOXVC.js.map → geneVariant-VKWTXUMK.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-PXMAYJN3.js.map → geneVariant.integration.spec-RWYP523U.js.map} +0 -0
- /package/dist/{genefusion.ui-TJLYXSVL.js.map → genefusion.ui-B6J7I3RA.js.map} +0 -0
- /package/dist/{geneset-YTBDLEIH.js.map → geneset-VG4SFYML.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-ZO4LFIXE.js.map → genomeBrowser.spec-5IS5Y2NG.js.map} +0 -0
- /package/dist/{grin2-LIFKBMVK.js.map → grin2-3T6KRC34.js.map} +0 -0
- /package/dist/{grin2-FC4VYU54.js.map → grin2-FOOH736B.js.map} +0 -0
- /package/dist/{hierCluster-56EGAPOR.js.map → hierCluster-WLAFGZAT.js.map} +0 -0
- /package/dist/{hierCluster-DR5NWCXA.js.map → hierCluster-XBL2TOOL.js.map} +0 -0
- /package/dist/{hierCluster.config-NACE3FH2.js.map → hierCluster.config-VCBRBGDZ.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-PEEXPAS6.js.map → hierCluster.integration.spec-TNJD2QT6.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-OCBGLUJM.js.map → hierCluster.interactivity-PEEJ3BRC.js.map} +0 -0
- /package/dist/{hierCluster.renderers-JNQUSAP4.js.map → hierCluster.renderers-7ESGKIGM.js.map} +0 -0
- /package/dist/{imagePlot-GR4JNUGG.js.map → imagePlot-LWL6JMKM.js.map} +0 -0
- /package/dist/{importPlot-4R4BSPVD.js.map → importPlot-CLBY6QZN.js.map} +0 -0
- /package/dist/{isoformExpression-ST5ZW2NE.js.map → isoformExpression-36P3BBN7.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-PPFC5Z7N.js.map → isoformExpression.unit.spec-SF2SPTRC.js.map} +0 -0
- /package/dist/{junction-7AKZHOHV.js.map → junction-B7DSIG4E.js.map} +0 -0
- /package/dist/{junction.customTerm-TMV43R7Z.js.map → junction.customTerm-7VZS4JDE.js.map} +0 -0
- /package/dist/{junction.unit.spec-SZUJXRQ2.js.map → junction.unit.spec-4MWU36MR.js.map} +0 -0
- /package/dist/{launch.adhoc-RWJQUOJ6.js.map → launch.adhoc-3B34GV4S.js.map} +0 -0
- /package/dist/{leftlabel.sample-WRHLVQAQ.js.map → leftlabel.sample-6OM5H67E.js.map} +0 -0
- /package/dist/{lollipop-ZZWXTM23.js.map → lollipop-SL2F5G6K.js.map} +0 -0
- /package/dist/{maf-N4XPZTQU.js.map → maf-FRYGN5GR.js.map} +0 -0
- /package/dist/{maftimeline-2FBS6RWS.js.map → maftimeline-3UFWS73J.js.map} +0 -0
- /package/dist/{matrix-5KEQPB5H.js.map → matrix-DDKSOJ4C.js.map} +0 -0
- /package/dist/{matrix-RJUNXB5N.js.map → matrix-H2ZH2QKC.js.map} +0 -0
- /package/dist/{matrix.cells-WXTPOJYB.js.map → matrix.cells-JTMC35SK.js.map} +0 -0
- /package/dist/{matrix.config-ZZFLLD6Z.js.map → matrix.config-EUBXWEBS.js.map} +0 -0
- /package/dist/{matrix.data-3PQ73GVJ.js.map → matrix.data-CO5RBWY5.js.map} +0 -0
- /package/dist/{matrix.groups-U6CKS6WW.js.map → matrix.groups-AKOJ2W6U.js.map} +0 -0
- /package/dist/{matrix.integration.spec-T53PMVHC.js.map → matrix.integration.spec-66KNZO3S.js.map} +0 -0
- /package/dist/{matrix.interactivity-3LDZV3F7.js.map → matrix.interactivity-DY5YJIYB.js.map} +0 -0
- /package/dist/{matrix.layout-MINLYQCA.js.map → matrix.layout-MQQNHBI2.js.map} +0 -0
- /package/dist/{matrix.legend-6GSDFZHS.js.map → matrix.legend-CGU7T6GF.js.map} +0 -0
- /package/dist/{matrix.renderers-5BKOXDE3.js.map → matrix.renderers-HC7PJN4B.js.map} +0 -0
- /package/dist/{matrix.serieses-6FCFIFAQ.js.map → matrix.serieses-W4L6ZO37.js.map} +0 -0
- /package/dist/{matrix.sort-EHVVYDZ3.js.map → matrix.sort-T74DWFB2.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-BCWE4AFX.js.map → matrix.sort.unit.spec-EQEHQXTO.js.map} +0 -0
- /package/dist/{matrix.sorterUi-WL5I6S3K.js.map → matrix.sorterUi-GFQG4HFV.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-XJR5KXRL.js.map → matrix.sorterUi.unit.spec-XQHFOEYE.js.map} +0 -0
- /package/dist/{matrix.unit.spec-TUCKPE26.js.map → matrix.unit.spec-4ZWUGZUC.js.map} +0 -0
- /package/dist/{mavb-GWSNRBLM.js.map → mavb-3CL5OHWB.js.map} +0 -0
- /package/dist/{mds.fimo-OMAQRSMW.js.map → mds.fimo-2RFJQKJM.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-4UW3CC45.js.map → mds.samplescatterplot-X6CXMY4C.js.map} +0 -0
- /package/dist/{mds.survivalplot-2CJYJBD2.js.map → mds.survivalplot-57NIKSSH.js.map} +0 -0
- /package/dist/{multivalue-G44MHEYI.js.map → multivalue-3TUGYL4J.js.map} +0 -0
- /package/dist/{numericDictTermCluster-5BDRGVQG.js.map → numericDictTermCluster-RLX5CLTN.js.map} +0 -0
- /package/dist/{oncomatrix-ZTVO23ZH.js.map → oncomatrix-COK76MJN.js.map} +0 -0
- /package/dist/{oncomatrix.spec-2QVK2A3Q.js.map → oncomatrix.spec-SO3ZN5BF.js.map} +0 -0
- /package/dist/{plot.2dvaf-CL5YUXKH.js.map → plot.2dvaf-TETCE4VG.js.map} +0 -0
- /package/dist/{plot.app-4ANKPSNP.js.map → plot.app-5YUAVZA4.js.map} +0 -0
- /package/dist/{plot.barplot-BMGDNZRA.js.map → plot.barplot-JUGY5Z7A.js.map} +0 -0
- /package/dist/{plot.boxplot-GMLQCDP6.js.map → plot.boxplot-QZXICT7J.js.map} +0 -0
- /package/dist/{plot.brainImaging-RZXX3NUZ.js.map → plot.brainImaging-2F6E6QS4.js.map} +0 -0
- /package/dist/{plot.disco-3MD4J4C7.js.map → plot.disco-H4P4B6QS.js.map} +0 -0
- /package/dist/{plot.ssgq-ZC4UYKOT.js.map → plot.ssgq-LEQF3STZ.js.map} +0 -0
- /package/dist/{plot.vaf2cov-4DHFMYQV.js.map → plot.vaf2cov-UBMD2CN7.js.map} +0 -0
- /package/dist/{polar2-TMB5EITR.js.map → polar2-AVEZM2T5.js.map} +0 -0
- /package/dist/{profileForms-GD7BIOOD.js.map → profileForms-CUSUGTPC.js.map} +0 -0
- /package/dist/{profilePlot-CZLK5E74.js.map → profilePlot-67Z7AXQ4.js.map} +0 -0
- /package/dist/{proteinView-FEEEXLKT.js.map → proteinView-7K7VHGX3.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-NVLJ2FXX.js.map → proteomeCohortCompare-MRGH6HHI.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-GHQZPNAH.js.map → pseudbulk.unit.spec-ZHDL6GIM.js.map} +0 -0
- /package/dist/{pseudobulk-G5UQIRKL.js.map → pseudobulk-ZNXPF7QB.js.map} +0 -0
- /package/dist/{qualitative-EAUUCKU5.js.map → qualitative-QXMZHDWU.js.map} +0 -0
- /package/dist/{radar2-CJQ2L6KE.js.map → radar2-QJDGNLED.js.map} +0 -0
- /package/dist/{radarFacility2-BLVRZE4V.js.map → radarFacility2-LGGOOWX4.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-DYRO2LO5.js.map → rememberedGvQ.unit.spec-YKUMMYFT.js.map} +0 -0
- /package/dist/{render-KKAQPH6Y.js.map → render-LSSRZJY3.js.map} +0 -0
- /package/dist/{report-OSOJHTSD.js.map → report-TTECPO44.js.map} +0 -0
- /package/dist/{sampleView-WB74RLD7.js.map → sampleView-EFS2UBRS.js.map} +0 -0
- /package/dist/{samplelst-ZKXV5WOD.js.map → samplelst-FXULLJBO.js.map} +0 -0
- /package/dist/{samplematrix-WJFYMWLT.js.map → samplematrix-MNFCXOWO.js.map} +0 -0
- /package/dist/{sc-RBRBUCLR.js.map → sc-2BUOXML2.js.map} +0 -0
- /package/dist/{scatter-SM7GQENM.js.map → scatter-AVRTALYY.js.map} +0 -0
- /package/dist/{scatter-5K3QTIDK.js.map → scatter-CPEIVL3K.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-ZZUJ7AQ7.js.map → selectGenomeWithTklst-3BG2ZPPN.js.map} +0 -0
- /package/dist/{singleCellCellType-LCF2JNZ2.js.map → singleCellCellType-QLAEBVN2.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-T6DYH4BC.js.map → singleCellCellType.unit.spec-P4NAWYKL.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-2XUYTH4C.js.map → singleCellGeneExpression-IZ2PMDDL.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-SMRCLOF4.js.map → singleCellGeneExpression.unit.spec-DKBZICJM.js.map} +0 -0
- /package/dist/{singleCellNumericValue-57I33FZT.js.map → singleCellNumericValue-NB3QFH7H.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-4YNB4OEV.js.map → singleCellNumericValue.unit.spec-ZKK2KWRQ.js.map} +0 -0
- /package/dist/{singleCellPlot-L6TKQHGD.js.map → singleCellPlot-ZU655L4Z.js.map} +0 -0
- /package/dist/{singlecell-UKN2VCXQ.js.map → singlecell-NKPTXVHW.js.map} +0 -0
- /package/dist/{singlecell-LZKR3UDV.js.map → singlecell-PEIEFXVU.js.map} +0 -0
- /package/dist/{snp-3LJITU5B.js.map → snp-G55JGINX.js.map} +0 -0
- /package/dist/{snp.unit.spec-ZQNU6XRM.js.map → snp.unit.spec-47CCZKJO.js.map} +0 -0
- /package/dist/{snplocus-OME7UQBW.js.map → snplocus-TRVAEAPF.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-C32IEFMU.js.map → spliceevent.a53ss.diagram-FL2R6F22.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-CZ7MVRLK.js.map → spliceevent.exonskip.diagram-XDZWTJXR.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-ZO6R3776.js.map → spliceevent.noeventdiagram-L322N534.js.map} +0 -0
- /package/dist/{ssGSEA-BGPQ2PFY.js.map → ssGSEA-DZY4LFQY.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-U7TBUSSK.js.map → ssGSEA.unit.spec-P6C3VTVZ.js.map} +0 -0
- /package/dist/{stattable-FISGQCED.js.map → stattable-R7O6OIMB.js.map} +0 -0
- /package/dist/{studyCatalog-UHFUT2CJ.js.map → studyCatalog-OMDE4JRD.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-OVZO6KIB.js.map → summarizeCnvGeneexp-A7HW6FJI.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-KVQ4JGWK.js.map → summarizeGeneexpSurvival-ODI4HGFH.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-RAKGHNLE.js.map → summarizeMutationCnv-C2YB73OL.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-LGCINAGG.js.map → summarizeMutationDiagnosis-4Y322NYU.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-J7H7L4FX.js.map → summarizeMutationSurvival-7IHNURLC.js.map} +0 -0
- /package/dist/{summary-2632JZXH.js.map → summary-E4L5MZTF.js.map} +0 -0
- /package/dist/{summary.integration.spec-5WBS2ZRP.js.map → summary.integration.spec-SDCGE6BQ.js.map} +0 -0
- /package/dist/{summaryInput-BH6C3ATV.js.map → summaryInput-DHIMU5DM.js.map} +0 -0
- /package/dist/{sunburst-AMRR2IHM.js.map → sunburst-ULNPFEAM.js.map} +0 -0
- /package/dist/{survival-WYCH4QOQ.js.map → survival-CU4N5KZO.js.map} +0 -0
- /package/dist/{survival-2RNJQVFS.js.map → survival-KWWH6REE.js.map} +0 -0
- /package/dist/{survival.integration.spec-7IFPY4I4.js.map → survival.integration.spec-UW6SYVLP.js.map} +0 -0
- /package/dist/{svgraph-YQWS52ZJ.js.map → svgraph-HFI6NNF3.js.map} +0 -0
- /package/dist/{svmr-NRN6LGKK.js.map → svmr-VHS7Z4SO.js.map} +0 -0
- /package/dist/{table-3QOMV2NN.js.map → table-GJUXHKQI.js.map} +0 -0
- /package/dist/{termCollection-2ZJ7TJGO.js.map → termCollection-CCZ4BFIU.js.map} +0 -0
- /package/dist/{termCollection-3MCVR7BA.js.map → termCollection-O5CQ472U.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-QYOEA3X6.js.map → termCollection.unit.spec-KR5G6JFU.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-5AH6EF4L.js.map → termCollectionFractionSelection-IKU5MFBT.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-WPGW4WJN.js.map → termCollectionFractionSelection.unit.spec-6ZWHNGES.js.map} +0 -0
- /package/dist/{tk-DQ7D5UEO.js.map → tk-3DLMAFW7.js.map} +0 -0
- /package/dist/{tk-ONKYBG6R.js.map → tk-CAYWF7LX.js.map} +0 -0
- /package/dist/{tp.ui-C7BTMHEI.js.map → tp.ui-NF5ZYOHW.js.map} +0 -0
- /package/dist/{tvs.dt-PLRMK7OT.js.map → tvs.dt-43A4SSLG.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-IZUY2AQO.js.map → tvs.dtcnv.categorical-DYXHUNP2.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-ENV3RHHA.js.map → tvs.dtcnv.continuous-NOKNP4UG.js.map} +0 -0
- /package/dist/{tvs.dtfusion-2DVCV6AM.js.map → tvs.dtfusion-4NAOCC2X.js.map} +0 -0
- /package/dist/{tvs.dtitd-XNDIRQYU.js.map → tvs.dtitd-SZC6EITI.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-4D3G7XSF.js.map → tvs.dtsnvindel-EYSBCNQK.js.map} +0 -0
- /package/dist/{tvs.dtsv-QYMIMC4Z.js.map → tvs.dtsv-VSPWIIFO.js.map} +0 -0
- /package/dist/{tvs.samplelst-2KEU2ZWB.js.map → tvs.samplelst-3YQ4GKNG.js.map} +0 -0
- /package/dist/{tvs.termCollection-FEY746V5.js.map → tvs.termCollection-EVM4ATPW.js.map} +0 -0
- /package/dist/{vocabulary-BR4NJDPS.js.map → vocabulary-HCPEIO2P.js.map} +0 -0
- /package/dist/{wsi.direct-JWDUNHIO.js.map → wsi.direct-K2J6GGWY.js.map} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../shared/types/src/routes/hicgenome.ts", "../../shared/types/src/routes/termdb.bubbleHeatmap.ts", "../../shared/types/src/routes/termdb.categories.ts", "../../shared/types/src/routes/termdb.chat.ts", "../../shared/types/src/routes/termdb.descrstats.ts", "../../shared/types/src/routes/termdb.diffMeth.ts", "../../shared/types/src/routes/termdb.percentile.ts", "../../shared/types/src/routes/termdb.rootterm.ts", "../../shared/types/src/routes/termdb.runChart.ts", "../../shared/types/src/routes/termdb.singleCellPlots.ts", "../../shared/types/src/routes/termdb.termchildren.ts", "../../shared/types/src/routes/termdb.violinBox.ts", "../../shared/types/src/terms/constants.ts", "../../shared/types/src/terms/pseudobulk.ts", "../../shared/utils/src/common.ts"],
|
|
4
|
-
"sourcesContent": ["import type { BaseHicRequest, XYZCoord } from './hicdata.ts'\n\nexport type HicGenomeRequest = BaseHicRequest & {\n\t/** Entire chromosome list read from the file (see hicstate) */\n\tchrlst: string[]\n\t/** window location */\n\tembedder: string\n\t/** whether or not the file contains 'chr' for the chromosomes */\n\tnochr: boolean\n}\n\nexport type HicGenomeResponse = {\n\tdata: {\n\t\t/** First chromosome */\n\t\tlead: string\n\t\t/** Second chromosome */\n\t\tfollow: string\n\t\titems: XYZCoord[]\n\t}[]\n\t/** Error message to display on the client, if applicable */\n\terror?: string\n}\n\n// TODO: write payload examples to help with automated testing and documentation, for non-prod use only\n// The example below will not work in github CI where only termdb test\nexport const hicGenomePayloadExample = {\n\texamples: [\n\t\t{\n\t\t\trequest: {\n\t\t\t\tbody: {\n\t\t\t\t\tembedder: 'localhost',\n\t\t\t\t\turl: 'https://proteinpaint.stjude.org/ppdemo/hg19/hic/hic_demo.hic',\n\t\t\t\t\tmatrixType: 'observed',\n\t\t\t\t\tnmeth: 'NONE',\n\t\t\t\t\tpos1: '3',\n\t\t\t\t\tpos2: '2',\n\t\t\t\t\tresolution: 1000000\n\t\t\t\t} // satisfies HicGenomeRequest // TODO: fix the type or example\n\t\t\t},\n\t\t\tresponse: {\n\t\t\t\theader: { status: 200 }\n\t\t\t}\n\t\t}\n\t]\n}\n", "import type { ErrorResponse } from './errorResponse.ts'\n\nexport type BubbleHeatmapRequest = {\n\tgenome: string\n\tdslabel: string\n\tgene: string\n}\n\n/** One modification site (PTM) or one protein-level measurement (whole/insoluble\n * proteome). PTM cells carry many of these; protein-level cells carry exactly one. */\nexport type BubbleSite = {\n\t/** site identifier \u2014 the DAPfile `identifier` column (modified peptide for PTM,\n\t * e.g. `K.VAVVRT%PPKSPSS*AK.S`; protein id for protein-level rows) */\n\tid: string\n\t/** raw per-site log2 fold change from the DAPfile */\n\tlog2FC: number\n\t/** per-site FDR (adjusted p-value) from the DAPfile */\n\tfdr: number\n\t/** true when fdr < the response's fdrThreshold; non-significant sites\n\t * are still returned (the client draws non-significant protein-level dots faded\n\t * and hides non-significant PTM sites) */\n\tsignificant: boolean\n\t/** matched reference-assay (total protein) log2FC for this protein (base UniProt\n\t * acc) + cohort, if available */\n\tproteinLog2FC?: number\n\t/** protein-abundance-adjusted change = log2FC \u2212 proteinLog2FC (point estimate),\n\t * present only when proteinLog2FC is available */\n\tadjustedLog2FC?: number\n\t/** true when a matched protein value existed and adjustedLog2FC was computed */\n\tadjustedAvailable: boolean\n}\n\nexport type BubbleCell = {\n\t/** all sites for this (acc, assay, cohort); one entry for protein-level assays */\n\tsites: BubbleSite[]\n}\n\nexport type BubbleHeatmapIsoform = {\n\tgene_name: string\n\t/** data[assay][cohort] \u2192 cell (omitted when the cohort doesn't exist under the\n\t * assay or the gene has no row in that DAPfile) */\n\tdata: {\n\t\t[assay: string]: {\n\t\t\t[cohort: string]: BubbleCell\n\t\t}\n\t}\n}\n\nexport type BubbleHeatmapResponse =\n\t| ErrorResponse\n\t| {\n\t\t\tisoforms: { [isoformId: string]: BubbleHeatmapIsoform }\n\t\t\t/** subset of `assays` that are PTM assays \u2014 rendered as multiple small\n\t\t\t * per-site dots; the rest render as a single big dot per cell */\n\t\t\tptmAssays: string[]\n\t\t\t/** Row order */\n\t\t\tassays: string[]\n\t\t\t/** Column order */\n\t\t\tcohorts: string[]\n\t\t\t/** FDR threshold below which a site is significant. Sites with\n\t\t\t * fdr \u2265 threshold are still returned with `significant: false`; the client\n\t\t\t * draws non-significant protein-level dots faded and omits non-significant\n\t\t\t * PTM sites. */\n\t\t\tfdrThreshold: number\n\t\t\t/** assay used as the total-protein baseline for protein-abundance\n\t\t\t * adjustment, or null when adjustment is not configured for this dataset */\n\t\t\tproteinReferenceAssay: string | null\n\t }\n\nexport const bubbleHeatmapPayload = {\n\trequest: { typeId: 'BubbleHeatmapRequest' },\n\tresponse: { typeId: 'BubbleHeatmapResponse' }\n}\n", "import type { Filter } from '../filter.ts'\nimport type { TermWrapper } from '../terms/tw.ts'\n\nexport type CategoriesRequest = {\n\tgenome: string\n\tdslabel: string\n\tembedder: string\n\t/** termwrapper object */\n\ttw: TermWrapper\n\tfilter?: Filter\n\tfilter0?: any\n\t/** quick fix only for gdc */\n\tcurrentGeneNames?: string[]\n\t/** optional property added by mds3 tk, to limit to cases mutated in this region */\n\trglst?: any\n}\n\ninterface Entries {\n\tsamplecount: number\n\tkey: string\n\tlabel: string\n}\n\n/** number of samples per mutation class, k: mclass key (e.g. \"M\") */\ntype DtClasses = { [mclass: string]: number }\n\n/** a distinct pair of breakpoints of the sv/fusion events of a MnameEntry: one on the\n * queried gene and one on the partner gene named by that entry's mname. lets the\n * term-editing UIs chart the breakpoints of either gene, and select a range of them */\nexport type BreakpointEntry = {\n\t/** breakpoint on the queried gene */\n\tpos: number\n\t/** chr of the partner gene, may differ from that of the queried gene */\n\tpartnerChr: string\n\t/** breakpoint on the partner gene */\n\tpartnerPos: number\n\t/** samples having a sv/fusion of both these breakpoints. NOTE these counts are per\n\t * pair, so summing them across the breakpoints of one .pos (e.g. to chart the\n\t * breakpoints of the queried gene alone) may count a sample with two events at\n\t * that position, to different partners, more than once */\n\tsamplecount: number\n}\n\n/** an amino acid change (e.g. \"G12D\") and its sample count, within a mutation class.\n * for a sv/fusion, .mname is the partner gene (or its chr when unannotated) */\nexport type MnameEntry = {\n\tmname: string\n\tclass: string\n\tsamplecount: number\n\t/** gene of this variant, only present when annotated on the mutation data;\n\t * distinguishes variants of a geneVariant term with multiple genes */\n\tgene?: string\n\t/** breakpoints of the sv/fusion events of this entry, sorted by ascending position.\n\t * only present for a sv/fusion dt, and only for events carrying coordinates */\n\tbreakpoints?: BreakpointEntry[]\n\t/** number of samples whose sv/fusion events of this entry lack a breakpoint\n\t * coordinate, and so are absent from .breakpoints and cannot satisfy a breakpoint\n\t * range. only present when non-zero, so that the ui may caveat the chart */\n\tnoPositionCount?: number\n}\n\n/** per-dt entry returned for a geneVariant term without groupsetting */\nexport type GvCategoryEntry = {\n\tdt: number\n\tclasses: DtClasses | { byOrigin: { [origin: string]: DtClasses } }\n\t/** amino acid changes present for this dt, sorted by descending sample count.\n\t * only served by the termdb/categories route, and only when the mutation data\n\t * carries mname; the same entries returned within a data request (see\n\t * mayGetCategories() in termdb.matrix.js) omit this field */\n\tmnames?: MnameEntry[] | { byOrigin: { [origin: string]: MnameEntry[] } }\n}\n\nexport type CategoriesResponse = {\n\tlst: Entries[] | GvCategoryEntry[]\n\torderedLabels?: []\n}\n\n// TODO: write more payload examples to help with automated testing and documentation, for non-prod use only\n\nexport const termdbCategoriesPayloadExamples = {\n\trequest: {\n\t\ttypeId: 'CategoriesRequest'\n\t},\n\tresponse: {\n\t\ttypeId: 'CategoriesResponse'\n\t},\n\texamples: [\n\t\t{\n\t\t\trequest: {\n\t\t\t\tbody: {\n\t\t\t\t\tgenome: 'hg38-test',\n\t\t\t\t\tdslabel: 'TermdbTest',\n\t\t\t\t\tembedder: 'localhost',\n\t\t\t\t\ttw: { id: 'diaggrp' },\n\t\t\t\t\tfilter: {\n\t\t\t\t\t\ttype: 'tvslst',\n\t\t\t\t\t\tin: true,\n\t\t\t\t\t\tjoin: '',\n\t\t\t\t\t\tlst: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t//tag: 'cohortFilter',\n\t\t\t\t\t\t\t\ttype: 'tvs',\n\t\t\t\t\t\t\t\ttvs: {\n\t\t\t\t\t\t\t\t\tterm: {\n\t\t\t\t\t\t\t\t\t\tname: 'Cohort',\n\t\t\t\t\t\t\t\t\t\ttype: 'categorical',\n\t\t\t\t\t\t\t\t\t\tvalues: { ABC: { label: 'ABC' }, XYZ: { label: 'XYZ' } },\n\t\t\t\t\t\t\t\t\t\tid: 'subcohort',\n\t\t\t\t\t\t\t\t\t\tisleaf: false,\n\t\t\t\t\t\t\t\t\t\tgroupsetting: { disabled: true }\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tvalues: [{ key: 'ABC', label: 'ABC' }]\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t} // satisfies CategoriesRequest // TODO: use the type definition\n\t\t\t},\n\t\t\tresponse: {\n\t\t\t\theader: { status: 200 }\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t// geneVariant term without groupsetting, returns per-dt entries\n\t\t\t// with classes and mnames (amino acid changes), see GvCategoryEntry\n\t\t\trequest: {\n\t\t\t\tbody: {\n\t\t\t\t\tgenome: 'hg38-test',\n\t\t\t\t\tdslabel: 'TermdbTest',\n\t\t\t\t\tembedder: 'localhost',\n\t\t\t\t\ttw: {\n\t\t\t\t\t\tterm: { type: 'geneVariant', name: 'TP53', genes: [{ kind: 'gene', gene: 'TP53' }] },\n\t\t\t\t\t\tq: { type: 'values' }\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tresponse: {\n\t\t\t\theader: { status: 200 }\n\t\t\t}\n\t\t}\n\t]\n}\n", "import type { TermTypes } from '../terms/constants.ts'\nimport type { Filter } from '../filter.ts'\n\n/** */\n// Helps track ambiguous points in the LLM reasoning process for debugging and improvement purposes.\n// Create a fresh array per request/pipeline run to avoid sharing mutable state across module consumers.\nexport const createAmbiguousPoints = (): string[] => []\n\nexport type ChatRequest = {\n\tgenome: string\n\tdslabel: string\n\tfilter?: Filter\n\t/** user prompt */\n\tprompt: string\n\t__protected__?: any\n}\n\nexport type TextResponse = {\n\ttype: 'text'\n\t/** Plain text message to display in the chat */\n\ttext: string\n}\nexport type HtmlResponse = {\n\ttype: 'html'\n\t/** Pre-approved HTML from the dataset JSON resources array */\n\thtml: string\n}\nexport type PlotResponse = {\n\ttype: 'plot'\n\tplot: object\n\tmsg?: string\n\t/** Specifies what action to take e.g. Summary plot or no action. Will add more chart types later */\n}\n\nexport interface GeneDataTypeResult {\n\tgene: string\n\tdataType: string\n}\n\n/** Gene data types a dataset supports, for the mass omnisearch to decide which gene-search actions\n * (expression / variant sub-types / methylation / genome browser) to offer. */\nexport interface GeneDataTypeAvailability {\n\tgeneExpression: boolean\n\tdnaMethylation: boolean\n\tsnvindel: boolean\n\tcnv: boolean\n\tsvfusion: boolean\n\t/** True when any genomic-alteration data type (snvindel/cnv/svfusion) is available, meaning a\n\t * genome browser can be seeded for the gene. Derived from the three flags above. */\n\tgenomeBrowser: boolean\n}\n\n/** One matched gene together with the data types available for that specific gene. */\nexport interface GeneMatch {\n\tgene: string\n\tdataTypes: GeneDataTypeAvailability\n\t/** Default genomic coordinate for the gene, used to seed a genome browser track (e.g. the DNA\n\t * methylation region picker) so the client needs no separate genelookup request. Null when the\n\t * gene is not resolved to a coordinate (only resolved for genes that need a genome browser). */\n\tcoord: { chr: string; start: number; stop: number } | null\n}\n\n/** One matched sample. Only sent when the dataset allows displaying sample ids\n * (authApi.canDisplaySampleIds); a dataset that does not permit it yields no samples at all, so the\n * client needs no permission check of its own. */\nexport interface SampleMatch {\n\tid: number | string\n\tname: string\n\t/** Sample selection for the single-cell viewer, when this sample has single-cell data. */\n\tsingleCell?: { sID: string; eID?: string }\n\t/** Facet-table assays available for this sample, when track-list facet data exists. */\n\tassays?: { facet: string; names: string[] }[]\n\t/** true when the sample has plain whole-slide images on disk\n\t (ds.queries.w2.wsiFolder); shows the \"Whole Slide Images\" action */\n\twsimages?: boolean\n}\n\n/** Result of the mass omnisearch: matched dictionary terms and matched genes, each carrying its own\n * available gene data types so the client can offer the appropriate per-gene action buttons. */\nexport interface OmnisearchResult {\n\tdictionaryTerms: any[]\n\tgenes: GeneMatch[]\n\t/** Matched samples. Always [] for a dataset that does not allow displaying sample ids. */\n\tsamples: SampleMatch[]\n\t/** Total match count per result type BEFORE the per-type display cap. Lets the client show a\n\t * \"Displaying N out of M\" note when a type's matches were truncated (total > the returned array length). */\n\ttotals?: { dictionaryTerms: number; genes: number; samples: number }\n\t/** Parsed genomic coordinate when the prompt is a valid \"chr:start-stop\" range AND the dataset\n\t * supports the genome browser genomic view (has snvindel/cnv/svfusion and gbRestrictMode !== 'protein').\n\t * Null/absent otherwise. Resolved server-side (via string2pos) so the client needs no genome object. */\n\tcoord?: { chr: string; start: number; stop: number } | null\n\terror?: any\n}\n\nexport type LlmConfig = {\n\tprovider: 'SJ' | 'ollama' | 'huggingface' | 'azure'\n\tEmbeddingProvider: 'SJ' | 'ollama' | 'huggingface'\n\tEmbeddingProviderApi: string\n\tapi: string\n\tapiToken?: string\n\tEmbeddingProviderApiToken?: string\n\tmodel: ModelConfig\n\tembeddingModelName: string\n\t/** Whether to load the embedding model locally (via transformers.js) or call a remote API. Defaults to 'api'. */\n\tembeddingModelAccess?: 'local' | 'api'\n\t/** Smaller model to use for LLM classification fallback. Defaults to `model` if not set. */\n\tclassifierModelConfig?: ModelConfig\n\t/** Log verbose debug output (e.g. raw embedding arrays) to the terminal. Defaults to false. */\n\tverbose?: boolean\n}\n\nexport type ModelConfig = {\n\tmodelName: string\n\tmaxTokens: number\n}\n\nexport interface GeneSetDataTypeResult {\n\tgeneSet: string\n\tdataType: typeof TermTypes.SSGSEA | typeof TermTypes.GENE_VARIANT | 'ambiguous' | typeof TermTypes.GENE_EXPRESSION\n}\n\nexport type ChatResponse = TextResponse | HtmlResponse | PlotResponse\n\nexport type SummaryType = {\n\t/** Name of 1st term */\n\tterm: string\n\t/** Name of 2nd term */\n\tterm2?: string\n\t/** Optional simple filter terms */\n\tsimpleFilter: FilterTerm[]\n\t/** Optional explicit child type requested by the user. If omitted, the logic of the data types picks the child type. */\n\tchildType?: 'violin' | 'boxplot' | 'sampleScatter' | 'barchart'\n}\n\nexport type FilterTerm =\n\t| CategoricalFilterTerm\n\t| NumericFilterTerm /** FilterTerm can either be numeric or categorical */\n\nexport type CategoricalFilterTerm = {\n\t/** Name of categorical term */\n\tterm: string\n\t/** The category of the term */\n\tcategory: string\n\t/** join term to be used only when there is more than one filter term and should be placed from the 2nd filter term onwards describing how it connects to the previous term */\n\tjoin?: 'and' | 'or'\n}\n\nexport type NumericFilterTerm = {\n\t/** Name of numeric term */\n\tterm: string\n\t/** start position (or lower limit) of numeric term */\n\tstart?: number\n\t/** stop position (or upper limit) of numeric term */\n\tstop?: number\n\t/** join term to be used only when there is more than one filter term and should be placed from the 2nd filter term onwards describing how it connects to the previous term */\n\tjoin?: 'and' | 'or'\n}\n\nexport type DbRows = {\n\t/** Name of the term */\n\tname: string\n\t/** Description of the term in plain language */\n\tdescription: string\n\t/** The type of variable stored in the DB (e.g. categorical, float) */\n\tterm_type: string\n\t/** Array of {key,value} terms storing the possible categories for a categorical variable */\n\tvalues: DbValue[]\n}\n\nexport type DbValue = {\n\t/** Name of the key */\n\tkey: string\n\t/** Object of values corresponding to the key */\n\tvalue: any\n}\n\nexport type ClassificationType =\n\t| plot_type\n\t| resource_type\n\t| none_type /** Variable containing the type of action the UI needs to take */\n\nexport type plot_type = {\n\t/** When type == plot, show the corresponding plot in the plot field */\n\ttype: 'plot'\n\t/** The type of plot to be displayed on the UI.\n\t * Standard categories are listed; datasets may define additional custom categories. */\n\tplot: 'summary' | 'dge' | 'survival' | 'matrix' | 'sampleScatter' | 'hierCluster' | 'genomeBrowser'\n}\n\nexport type resource_type = {\n\t/** When type == resource, invoke the resource agent to return a matching resource link */\n\ttype: 'resource'\n}\n\nexport type none_type = {\n\t/** When type == none, the query did not match any known category */\n\ttype: 'none'\n}\n\n/** Top-level classification returned by classifyQuery: plot or notplot (subtype determined separately by plot.ts) */\nexport type QueryClassification = { type: 'plot' } | { type: 'notplot' } | { type: 'binaryQuery' }\n\n/** Specific plot type returned by classifyPlotType in plot.ts */\nexport type PlotType =\n\t| 'summary'\n\t| 'dge'\n\t| 'survival'\n\t| 'cox'\n\t| 'matrix'\n\t| 'prebuiltscatter'\n\t| 'hiercluster'\n\t| 'genomeBrowser'\n\nexport type DEType = {\n\t/** Name of group1 which is an array of filter terms */\n\tgroup1: FilterTerm[]\n\t/** Name of group2 which is an array of filter terms */\n\tgroup2: FilterTerm[]\n\t/** Method used for carrying out differential gene expression analysis */\n\tmethod?: 'edgeR' | 'limma' | 'wilcoxon'\n}\n\nexport type MatrixType = {\n\t/** Names of dictionary terms to include as rows in the matrix (e.g. \"Diagnosis\", \"Gender\", \"Race\") */\n\tterms?: string[]\n\t/** Names of genes to include as gene variant rows in the matrix (e.g. \"TP53\", \"KRAS\", \"NRAS\") */\n\tgeneNames?: string[]\n\t/** Names of gene sets containing ssGSEA enrichment scores */\n\tgenesetNames?: string[]\n\t/** Optional simple filter terms to restrict the sample set */\n\tsimpleFilter?: FilterTerm[]\n}\n\nexport type HierClusterType = {\n\t/** Names of genes to include in the hierarchical clustering (e.g. \"TP53\", \"KRAS\", \"BCR\") */\n\tgeneNames?: string[]\n\t/** Names of gene sets containing list of genes to be used for hierarchical clustering */\n\tgenesetNames?: string[]\n\t/** Optional simple filter terms to restrict the sample set */\n\tsimpleFilter?: FilterTerm[]\n}\n\nexport type SampleScatterType = {\n\t/** Name of the pre-built plot (e.g. \"Transcriptome t-SNE\", \"Transcriptome UMAP\") */\n\tplotName: string\n\t/** Term or gene name to overlay as color, or null to remove color overlay */\n\tcolorTW?: string | null\n\t/** Term or gene name to overlay as shape, or null to remove shape overlay */\n\tshapeTW?: string | null\n\t/** Term or gene name to overlay as Z-divide, or null to remove divide overlay */\n\tterm0?: string | null\n\t/** Optional simple filter terms */\n\tsimpleFilter?: FilterTerm[]\n}\n", "import type { Filter } from '../filter.ts'\nimport type { TermWrapper } from '../terms/tw.ts'\n\nexport type DescrStatsRequest = {\n\t/** genome label in the serverconfig.json */\n\tgenome: string\n\t/** dataset label for the given genome */\n\tdslabel: string\n\t// embedder: string\n\t/** wrapper of a numeric term, q.mode can be any as getData() will always pull sample-level values for summarizing */\n\ttw: TermWrapper\n\t/** if true, the (violin) plot is in log scale and must exclude 0-values from the stat */\n\tlogScale?: boolean\n\t/** optional pp filter */\n\tfilter?: Filter\n\t/** optional gdc filter */\n\tfilter0?: any\n}\n\nexport type DescrStats = {\n\t[key: string]: {\n\t\tkey: string\n\t\tlabel: string\n\t\tvalue: number\n\t}\n}\n\nexport type DescrStatsResponse = DescrStats\n\n// TODO: write more payload examples to help with automated testing and documentation, for non-prod use only\n\nexport const descrStatsPayloadExamples = {\n\trequest: {\n\t\ttypeId: 'DescrStatsRequest'\n\t},\n\tresponse: {\n\t\ttypeId: 'DescrStatsResponse'\n\t},\n\texamples: [\n\t\t{\n\t\t\trequest: {\n\t\t\t\tbody: {\n\t\t\t\t\tgenome: 'hg38-test',\n\t\t\t\t\tdslabel: 'TermdbTest',\n\t\t\t\t\tembedder: 'localhost',\n\t\t\t\t\ttw: { term: { id: 'hrtavg' }, q: { mode: 'continuous' } },\n\t\t\t\t\tfilter: {\n\t\t\t\t\t\ttype: 'tvslst',\n\t\t\t\t\t\tin: true,\n\t\t\t\t\t\tjoin: '',\n\t\t\t\t\t\tlst: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttag: 'cohortFilter',\n\t\t\t\t\t\t\t\ttype: 'tvs',\n\t\t\t\t\t\t\t\ttvs: {\n\t\t\t\t\t\t\t\t\tterm: {\n\t\t\t\t\t\t\t\t\t\tname: 'Cohort',\n\t\t\t\t\t\t\t\t\t\ttype: 'categorical',\n\t\t\t\t\t\t\t\t\t\tvalues: { ABC: { label: 'ABC' }, XYZ: { label: 'XYZ' } },\n\t\t\t\t\t\t\t\t\t\tid: 'subcohort',\n\t\t\t\t\t\t\t\t\t\tisleaf: false,\n\t\t\t\t\t\t\t\t\t\tgroupsetting: { disabled: true }\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tvalues: [{ key: 'ABC', label: 'ABC' }]\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t} // satisfies DescrStatsRequest // TODO: enable type check\n\t\t\t},\n\t\t\tresponse: {\n\t\t\t\theader: { status: 200 }\n\t\t\t}\n\t\t}\n\t]\n}\n", "import type { DataEntry, VolcanoData, VolcanoRenderRequest } from './termdb.DE.js'\nimport type { DmrRunResources, TermdbDmrBatchSuccessResponse } from './termdb.dmrBatch.js'\n\n/** The element_type that asks the differential-methylation volcano to call DMRs de novo across\n * the genome (termdb/dmrBatch scan mode) instead of testing a pre-annotated element class. Not a\n * key into ds.queries.dnaMethylation.elements; termdb.config.ts lists it among elementTypes when\n * the dataset has a matrix the region analysis can run on. */\nexport const DMR_SCAN_ELEMENT_TYPE = 'dmr_scan'\n\nexport type DiffMethRequest = {\n\t/** Discriminator tag. Matches the `kind` field on `DmCacheResult` and\n\t * lets the GSEA route tell a snapshot DM request apart from a snapshot\n\t * DE request without structural-shape probing. */\n\tkind: 'DM'\n\t/** Genome build name */\n\tgenome: string\n\t/** Dataset label */\n\tdslabel: string\n\t/** Object containing two arrays of samples for differential methylation analysis */\n\tsamplelst: any\n\t/** Minimum non-NA samples required per group (default 3) */\n\tmin_samples_per_group?: number\n\t/** Drop chrX/chrY elements before testing (default false). X-inactivation makes\n\t * chrX methylation strongly sex-dependent, so a sex-imbalanced comparison produces\n\t * chrX hits that are sex rather than the grouping variable. */\n\texclude_sex_chr?: boolean\n\t/** Which regulatory-element class to test, keying into\n\t * ds.queries.dnaMethylation.elements. Absent means 'promoter', which keeps every\n\t * existing client request and cache entry valid. The available keys and their\n\t * display labels come from the dataset config, so the picker is data-driven rather\n\t * than a hardcoded list. */\n\telement_type?: string\n\t/** Only read when element_type is DMR_SCAN_ELEMENT_TYPE. Every field has a default, so a bare\n\t * scan request scans the whole genome uncorrected and keeps DMRs of 5+ CpGs. */\n\tscan?: {\n\t\t/** one chromosome to scan; absent = every major chromosome except the mitochondrion */\n\t\tchromosome?: string\n\t\t/** score each DMR against matched intergenic background (termdb/dmrBatch\n\t\t * backgroundCorrection); the volcano's p then becomes that empirical p and DMRs whose\n\t\t * stratum held too little background are left out of the rows */\n\t\tbackgroundCorrection?: boolean\n\t\t/** drop DMRs called from fewer CpGs than this before rendering */\n\t\tminCpgs?: number\n\t\t/** display width of the methylome-wide profile's bins, in bp. Several native bins are\n\t\t * averaged into one at render time; absent or at/below the native width draws them as\n\t\t * computed. Not part of any cache key -- changing it redraws a cached scan. */\n\t\tprofileBinBp?: number\n\t\t/** DMRcate lambda, C and per-CpG FDR cutoff, passed to termdb/dmrBatch; absent = its defaults.\n\t\t * Part of the scan's cache key, so changing one refits. */\n\t\tlambda?: number\n\t\tC?: number\n\t\tfdrCutoff?: number\n\t}\n\t/** Term for confounding variable 1 (if present) */\n\ttw?: any\n\t/** Term for confounding variable 2 (if present) */\n\ttw2?: any\n\t/** Option to return early with actual number of samples with methylation values */\n\tpreAnalysis?: boolean\n\t/** Parameters for the server-side `da` Rust renderer. Always required \u2014 the\n\t * server always returns a rendered PNG plus the threshold-passing rows. */\n\tvolcanoRender: VolcanoRenderRequest\n}\n\n/** Response when DiffMethRequest.preAnalysis === true. Returns per-group\n * sample counts (keyed by group name) plus an optional validation alert. */\nexport type DiffMethPreAnalysisResponse = {\n\t/** number of samples with methylation data, keyed by group name. a group name is\n\t * user-supplied, so it must not share this object with any other property */\n\tdata: Record<string, number>\n\t/** validation message; the client hides the run button while it is present */\n\talert?: string\n}\n\n/** Response for a full differential methylation run (preAnalysis absent/false). */\nexport type DiffMethFullResponse = {\n\t/** The volcano payload \u2014 per-element interactive dots + PNG + extents +\n\t * totals. See VolcanoData for details. */\n\tdata: VolcanoData<DiffMethEntry>\n\t/** Effective sample size for group 1 */\n\tsample_size1: number\n\t/** Effective sample size for group 2 */\n\tsample_size2: number\n\t/** Present only for a DMR scan: what the scan did and found, beyond the rows themselves. */\n\tscan?: DmrScanSummary\n}\n\n/** Whole-scan facts the volcano's Statistics panel and genome map are drawn from. Every count here\n * is over the scan as returned by termdb/dmrBatch, before the volcano's own thresholds, so the\n * panel can state what the rows were selected from. */\nexport type DmrScanSummary = {\n\t/** chromosomes scanned, in genome order */\n\tchromosomes: string[]\n\ttotalProbesAnalyzed: number\n\t/** DMRs the scan called, before any filtering here */\n\tcalled: number\n\t/** the minCpgs that was applied, and how many DMRs met it */\n\tminCpgs: number\n\tkept: number\n\t/** direction split of the kept DMRs */\n\thyper: number\n\thypo: number\n\t/** width quantiles (bp) of the kept DMRs; absent when none were kept */\n\twidth?: { median: number; q1: number; q3: number }\n\tglobalMethylation?: { controlMeanBeta: number; caseMeanBeta: number; shift: number; valuesCounted: number }\n\tregionMask?: { sources: string[]; overlapFrac: number; dmrsDropped: number }\n\t/** present when the correction ran. `scored` and `significant` count the kept DMRs; `unscored`\n\t * kept DMRs had no background in their stratum and are not among the rows */\n\tbackgroundCorrection?: { windows: number; scored: number; unscored: number; significant: number; matchedOn: string[] }\n\t/** genes under kept hypomethylated gene-body DMRs -- the set the expression test\n\t * (termdb/dmrGeneDE) runs on. With the background correction on, a region must also beat its\n\t * matched background (p<0.05), which makes this the stricter of two readings rather than the\n\t * only one. Absent when no DMR qualifies. */\n\tgeneBodyLoss?: { regions: number; genes: string[] }\n\t/** The two groups cut to the samples with methylation data, as sample ids: the cohort any\n\t * expression step after a scan should run on, so both readings come from the same patients. */\n\tmatchedSamplelst?: { groups: { name: string; values: { sampleId: number | string }[]; [k: string]: any }[] }\n\t/** what the scan cost when it was computed; see DmrRunResources */\n\tresources?: DmrRunResources\n\t/** Mean methylation per group in fixed-width bins along the genome: the profile methylome\n\t * papers plot for a genome-wide comparison, covering every bin with probes rather than only\n\t * the called DMRs. See TermdbDmrBatchSuccessResponse.binMethylation. */\n\tbinMethylation?: NonNullable<TermdbDmrBatchSuccessResponse['binMethylation']>\n\t/** The rendered genome-wide methylation profile: the per-bin group difference along the genome.\n\t * Rendered per request, after the cache, like the DMR Manhattan. `interactive` is how many bins\n\t * per direction carry pixel coordinates; `dotRadius` is the radius the PNG was drawn at, which\n\t * the client's hover layer must match to land on the dots. */\n\tprofile?: {\n\t\tpng: string\n\t\tplotData: any\n\t\t/** the width actually drawn, which is the requested display width when one was asked for */\n\t\tbinBp: number\n\t\tplotWidth: number\n\t\tplotHeight: number\n\t\tdotRadius: number\n\t\t/** bins drawn at that width */\n\t\tbins: number\n\t\t/** how many of them are hoverable: the top N per direction by |delta beta|, so at a coarse\n\t\t * width where the rule reaches every bin this equals `bins` */\n\t\tinteractive: number\n\t}\n\t/** Quantiles of the per-bin difference and the fraction of bins that moved beyond a threshold:\n\t * how much of the measured methylome changed, which the DMR counts alone do not say. */\n\tprofileSummary?: {\n\t\tbins: number\n\t\tmedian: number\n\t\tq1: number\n\t\tq3: number\n\t\tfractionBeyond05: number\n\t\tfractionBeyond10: number\n\t\tfractionHyper: number\n\t}\n\t/** the cached scan the rows came from, so its DMRs can be fetched back for a browser track\n\t * (termdb/dmrScanTrack) without recomputing anything */\n\tcacheId?: string\n\t/** Every kept DMR drawn along the genome, hyper above the line and hypo below, y = signed\n\t * -log10 of the q the volcano plots; the N most significant per direction carry pixel\n\t * coordinates and are interactive. Rendered per request, after the cache, because it depends\n\t * on the client's pixel ratio. */\n\tmanhattan?: { png: string; plotData: any; interactive: number; plotWidth: number; plotHeight: number }\n}\n\nexport type DiffMethResponse = DiffMethPreAnalysisResponse | DiffMethFullResponse\n\n/** One tested regulatory element. Despite the field names, this is NOT promoter-specific:\n * the same shape describes promoters, cCRE classes, eQTM blocks and promoter sub-window tiles.\n * `promoter_id` keeps its name only for backward compatibility with existing clients \u2014 read\n * `element_class` to know what a row actually is. */\nexport type DiffMethEntry = DataEntry & {\n\t/** Row key, unique within a result. For an untiled run this equals `element_id`; for a\n\t * tiled run it is the composite \"<element_id>::tile<N>\", so rows stay unique while\n\t * `element_id` remains groupable. Named `promoter_id` for backward compatibility from when\n\t * the analysis was promoter-only. */\n\tpromoter_id: string\n\t/** The bare element identifier, without any tile suffix \u2014 e.g. an ENCODE cCRE accession\n\t * (EH38E3756858) for cCRE builds, or the builder's own id for eQTM blocks. Resolved from\n\t * meta/element/elementID, meta/element_id, or legacy meta/promoter/promoterID. */\n\telement_id: string\n\t/** Which class this row belongs to: 'promoter', 'enhancer_distal', 'eqtm_block', etc.\n\t * Present per row because one matrix may hold several classes, in which case the run-level\n\t * label is 'mixed' while each row still names its own. */\n\telement_class: string\n\t/** Sub-window index within the element, 5'->3'. Only present when the input was a tile\n\t * matrix (build_element_matrix.py --tiles N); absent otherwise, so a non-tiled run's shape\n\t * is unchanged. */\n\ttile_index?: number\n\t/** Gene symbol(s) associated with the element (comma-separated if multiple, may be empty) */\n\tgene_name: string\n\t/** Chromosome (e.g. \"chr1\") */\n\tchr: string\n\t/** Element start coordinate (0-based). For a tile row this is the tile's own span, not the\n\t * parent element's. */\n\tstart: number\n\t/** Element end coordinate (exclusive) */\n\tstop: number\n\t/** Group 1 (control) mean beta, over observed cells only. Absent on a DMR-scan row, which\n\t * carries the difference but not the two means. */\n\tmean_beta_control?: number\n\t/** Group 2 (case) mean beta, over observed cells only */\n\tmean_beta_case?: number\n\t/** mean_beta_case - mean_beta_control. The interpretable effect size: fold_change is a\n\t * difference of M-values (a logit), so it does not say how much methylation changed.\n\t * Same sign as fold_change, since both are case - control. Derived by back-transforming\n\t * the stored M-values, which yields the alpha-smoothed beta and so shrinks the difference\n\t * toward zero by 2/(depth+2) \u2014 under 1% at this cohort's typical promoter depth. */\n\tdelta_beta: number\n\t/** DMR-scan rows only (element_class 'dmr'): CpGs the region was called from, and when the\n\t * background correction ran, the observed delta-beta minus the matched drift. */\n\tno_cpgs?: number\n\texcess?: number\n}\n\n/** What diffMeth.R actually tested, as opposed to what was asked for. Emitted by the R script\n * alongside the rows; NOT currently forwarded to the client by termdb.diffMeth.ts, which passes\n * only `promoter_data` through. Documented here because the R output is a shared contract and a\n * caller reading it directly (or a future route that does forward it) needs the shape.\n *\n * It exists because promoter, enhancer and tile runs all use identical column names, so without\n * it a result is indistinguishable from any other. */\nexport type DiffMethElementMeta = {\n\t/** The class tested, or 'mixed' when the retained rows span more than one. Computed over the\n\t * rows that survived filtering, not over the whole matrix. */\n\telement_class: string\n\t/** Which h5 path supplied the row ids \u2014 meta/element/elementID, meta/element_id, or\n\t * meta/promoter/promoterID. Distinguishes a new build from a legacy promoter-only one. */\n\tid_source: string\n\t/** Whether the input was a tile matrix, i.e. whether rows carry tile_index. */\n\tis_tiled: boolean\n\t/** Elements that passed filtering and entered the model. */\n\tn_elements_tested: number\n}\n\n// TODO: write payload examples to help with automated testing and documentation, for non-prod use only\n", "import type { Filter } from '../filter.ts'\nimport type { Term } from '../terms/term.ts'\n\nexport type PercentileRequest = {\n\t/** a user-defined genome label in the serverconfig.json, hg38, hg19, mm10, etc */\n\tgenome: string\n\t/** a user-defined dataset label in the serverconfig.json, such as ClinVar, SJLife, GDC, etc */\n\tdslabel: string\n\tembedder: string\n\tgetpercentile: number[]\n\t/** term id string */\n\tterm: Term\n\tfilter?: Filter\n\tfilter0?: any\n}\n\nexport type PercentileResponse = {\n\tvalues: number[]\n}\n\n// TODO: write more payload examples to help with automated testing and documentation, for non-prod use only\n\nexport const percentilePayloadExamples = {\n\trequest: {\n\t\ttypeId: 'PercentileRequest'\n\t},\n\tresponse: {\n\t\ttypeId: 'PercentileResponse'\n\t},\n\texamples: [\n\t\t{\n\t\t\trequest: {\n\t\t\t\tbody: {\n\t\t\t\t\tgenome: 'hg38-test',\n\t\t\t\t\tdslabel: 'TermdbTest',\n\t\t\t\t\tembedder: 'localhost',\n\t\t\t\t\tgetpercentile: [50],\n\t\t\t\t\tterm: { id: 'agedx' },\n\t\t\t\t\tfilter: {\n\t\t\t\t\t\ttype: 'tvslst',\n\t\t\t\t\t\tin: true,\n\t\t\t\t\t\tjoin: '',\n\t\t\t\t\t\tlst: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttag: 'cohortFilter',\n\t\t\t\t\t\t\t\ttype: 'tvs',\n\t\t\t\t\t\t\t\ttvs: {\n\t\t\t\t\t\t\t\t\tterm: {\n\t\t\t\t\t\t\t\t\t\tname: 'Cohort',\n\t\t\t\t\t\t\t\t\t\ttype: 'categorical',\n\t\t\t\t\t\t\t\t\t\tvalues: { ABC: { label: 'ABC' }, XYZ: { label: 'XYZ' } },\n\t\t\t\t\t\t\t\t\t\tid: 'subcohort',\n\t\t\t\t\t\t\t\t\t\tisleaf: false,\n\t\t\t\t\t\t\t\t\t\tgroupsetting: { disabled: true }\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tvalues: [{ key: 'ABC', label: 'ABC' }]\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t} // satisfies PercentileRequest // TODO: enable type check\n\t\t\t},\n\t\t\tresponse: {\n\t\t\t\theader: { status: 200 }\n\t\t\t}\n\t\t}\n\t]\n}\n", "export type RootTermRequest = {\n\t/** a user-defined genome label in the serverconfig.json, hg38, hg19, mm10, etc */\n\tgenome: string\n\t/** a user-defined dataset label in the serverconfig.json, such as ClinVar, SJLife, GDC, etc */\n\tdslabel: string\n\tembedder: string\n\tdefault_rootterm: number\n\tcohortValues: string\n\ttreeFilter: string\n}\n\ninterface Entries {\n\tname: string\n\tid: string\n\tisleaf: boolean\n\tincluded_types: string[]\n\tchild_types: string[]\n}\n\nexport type RootTermResponse = {\n\tlst: Entries[]\n}\n\nexport const rootTermPayloadExamples = {\n\trequest: {\n\t\ttypeId: 'RootTermRequest'\n\t},\n\tresponse: {\n\t\ttypeId: 'RootTermResponse'\n\t},\n\texamples: [\n\t\t{\n\t\t\trequest: {\n\t\t\t\tbody: {\n\t\t\t\t\tgenome: 'hg38-test',\n\t\t\t\t\tdslabel: 'TermdbTest',\n\t\t\t\t\tembedder: 'localhost',\n\t\t\t\t\tdefault_rootterm: 1,\n\t\t\t\t\tcohortValues: 'ABC'\n\t\t\t\t} // satisfies RootTermRequest // TODO: enable type check\n\t\t\t},\n\t\t\tresponse: {\n\t\t\t\theader: { status: 200 }\n\t\t\t}\n\t\t}\n\t]\n}\n", "export type RunChartRequest = {\n\tgenome: string\n\tdslabel: string\n\t/**\n\t * term wrapper for x axis: { term, q }.\n\t * runChart2: q.mode='continuous' \u2192 1 series.\n\t * runChart2Period: q.mode='discrete' (with bins) \u2192 multiple series by period.\n\t */\n\txtw: { term: { id: string }; q?: { mode?: 'continuous' | 'discrete' }; $id?: string }\n\t/** term wrapper for y axis: { term, q }. When omitted, chart renders as frequency (count per time bucket). */\n\tytw?: { term: { id: string }; q?: { mode?: string }; $id?: string }\n\taggregation?: 'median'\n\t/** When true (frequency mode only), series Y values are cumulative counts. */\n\tshowCumulativeFrequency?: boolean\n\tfilter?: any\n\t__protected__?: any // auth token for accessing protected data\n}\n\nexport type RunChartSeries = {\n\t/** period/series identifier */\n\tseriesId?: string\n\t/** calculated Y median value for this curve */\n\tmedian: number\n\tpoints: Point[]\n}\n\nexport type RunChartSuccessResponse = {\n\tstatus: 'ok'\n\t/** each series is one curve, with a median. a runchart may show 1 or multiple curves */\n\tseries: RunChartSeries[]\n}\n\nexport type RunChartErrorResponse = {\n\terror: string\n\t/** Always empty on error; present so response shape is consistent for clients/checkers. */\n\tseries: RunChartSeries[]\n}\n\n/** Discriminated union: server returns success shape on 200 or error shape with series: []. */\nexport type RunChartResponse = RunChartSuccessResponse | RunChartErrorResponse\n\nexport function isRunChartSuccess(r: RunChartResponse): r is RunChartSuccessResponse {\n\treturn 'status' in r && r.status === 'ok'\n}\n\ntype Point = {\n\t/** decimal year, e.g. 2024.21321321 */\n\tx: number\n\t/** text of human-readable x value, e.g. \"Jan 2024\" which may be by the months, depends on dataset customization */\n\txName: string\n\t/** timeline, e.g. number of days */\n\ty: number\n\t/** number of samples with this timeline at this time point */\n\tsampleCount: number\n}\n\n// TODO: write payload examples to help with automated testing and documentation, for non-prod use only\n", "import type { Filter } from '../filter.ts'\nimport type { ErrorResponse } from './errorResponse.ts'\nimport type { ColorLegendEntry, ShapeLegendEntry } from './termdb.sampleScatter.ts'\nimport type { TermWrapper } from '../terms/tw.ts'\n\n/** Test sample ID for single cell plots.\n * Recreated here from utils/src/test/testData.ts so\n * es-lint doesn't complain. */\nconst scTestSample = '2646'\n\nexport type TermdbSingleCellPlotsRequest = {\n\t/** Genome id */\n\tgenome: string\n\t/** Dataset label */\n\tdslabel: string\n\tsingleCellPlot: {\n\t\t/** Name of the single cell plot type, e.g. 'umap', 'tsne' */\n\t\tname: string\n\t\tsample?: { eID?: string; sID: string }\n\t\tisMetaResult?: boolean\n\t}\n\tfilter?: Filter\n\tfilter0?: any //ds specific filter, specifically for api requests\n\t/** When sample size is too large, canvas rendering uses\n\t * these settings to control how the plot is rendered. */\n\tcanvasSettings: {\n\t\t/** Maximum number of samples to render on the client side.\n\t\t * If over the cutoff, will return an image instead of sample array.\n\t\t * Matches the maxSvgSamplesCutoff in scatter settings.*/\n\t\tcutoff: number\n\t\t/** Width of the scatter canvas */\n\t\twidth: number\n\t\t/** Height of the scatter canvas */\n\t\theight: number\n\t\t/** Radius of the points in the scatter plot. In scatter,\n\t\t * this is the setting size. */\n\t\tradius: number\n\t\t/** Default or user defined lower limit cutoff for x scale */\n\t\tminXScale: number | null\n\t\t/** Default or user defined upper limit cutoff for x scale */\n\t\tmaxXScale: number | null\n\t\t/** Default or user defined lower limit cutoff for y scale */\n\t\tminYScale: number | null\n\t\t/** Default or user defined upper limit cutoff for y scale */\n\t\tmaxYScale: number | null\n\t\t/** Default or user defined opacity for the scatter plot points */\n\t\topacity: number\n\t\t/** Required non expression color for scge plots. 'startColor' is the\n\t\t * settings key in the scatter. */\n\t\tstartColor: string\n\t\t/** Required non expression color for scge plots. 'stopColor' is the\n\t\t * settings key in the scatter. */\n\t\tstopColor: string\n\t\t/** Device pixel ratio from the client for HiDPI rendering */\n\t\tdevicePixelRatio?: number\n\t\tcolorScaleMode?: 'auto' | 'fixed' | 'percentile'\n\t\tcolorScaleMinFixed?: number | null\n\t\tcolorScaleMaxFixed?: number | null\n\t\tcolorScalePercentile?: number\n\t}\n\t/** Term wrapper for coloring the single cell plot */\n\tcolorTW?: TermWrapper\n\t/** Term wrappers for gene expression */\n\tcoordTWs?: TermWrapper[]\n}\n\nexport type TermdbSingleCellPlotsResponse = ErrorResponse | ValidSingleCellPlotsResponse\n\n/** The computed coordinate and gene expression range for cells\n * returned in a single request. Scoped to the specific plot type\n * (e.g. 'umap', 'tsne') and optional sample filter \u2014 not a global\n * range across all plots or samples. Used to define axis domains\n * and color scale domains for rendering. */\nexport type SingleCellRange = {\n\t/** Minimum x coordinate across all cells in this plot response */\n\txMin: number\n\t/** Maximum x coordinate across all cells in this plot response */\n\txMax: number\n\t/** Minimum y coordinate across all cells in this plot response */\n\tyMin: number\n\t/** Maximum y coordinate across all cells in this plot response */\n\tyMax: number\n\t/** Minimum gene expression value (Infinity when no expression data) */\n\tgeMin: number\n\t/** Maximum gene expression value (-Infinity when no expression data) */\n\tgeMax: number\n}\n\n/** Returns cell data formatted in samples array for the sampleScatter */\nexport type FormattedCell2Sample = {\n\t/** Cell identifier used as the sample id */\n\tsampleId: string\n\t/** X coordinate of the cell in the plot */\n\tx: number\n\t/** Y coordinate of the cell in the plot */\n\ty: number\n\t/** Z coordinate, always 0 (2D plots only) */\n\tz: number\n\t/** Cell type or group assignment for coloring */\n\tcategory: string\n\t/** Shape key for the legend, always 'Ref' */\n\tshape: string\n\t/** Visibility state based on user-hidden categories */\n\thidden: { category: boolean }\n\t/** Gene expression value for this cell, undefined when not applicable */\n\tgeneExp: number | undefined\n}\n\nexport type SingleCellPlotDataResult = {\n\t/** Resolved numeric color domain shared by the canvas and its legend. */\n\tcolorDomain?: [number, number]\n\tcolorLegend: ColorLegendEntry[]\n\tshapeLegend: ShapeLegendEntry[]\n\tsamples?: FormattedCell2Sample[]\n\t/** If over the cutoff, will return image instead of sample array */\n\tsrc?: string\n\t/** css dimensions of the canvas image, used to display at\n\t * the correct size when devicePixelRatio > 1 */\n\tcanvasWidth?: number\n\tcanvasHeight?: number\n\t/** When no sample array is returned, send the total sample count for\n\t * the legend. */\n\ttotalSampleCount?: number\n}\n\nexport type ValidSingleCellPlotsResponse = {\n\trange: SingleCellRange\n\tresult: { Default: SingleCellPlotDataResult }\n}\n\nconst TermdbSingleCellPlotsRequestExample = {\n\tgenome: 'hg38-test',\n\tdslabel: 'TermdbTest',\n\tsingleCellPlot: {\n\t\tname: 'umap',\n\t\tsample: { sID: scTestSample }\n\t},\n\tfilter: {\n\t\ttype: 'tvslst',\n\t\tin: true,\n\t\tjoin: '',\n\t\tlst: [\n\t\t\t{\n\t\t\t\ttag: 'cohortFilter',\n\t\t\t\ttype: 'tvs',\n\t\t\t\ttvs: {\n\t\t\t\t\tterm: { id: 'subcohort', type: 'multivalue' },\n\t\t\t\t\tvalues: [{ key: 'ABC', label: 'ABC' }]\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t},\n\tfilter0: undefined,\n\tcanvasSettings: {\n\t\tcutoff: 10000,\n\t\twidth: 800,\n\t\theight: 600,\n\t\tradius: 3,\n\t\tminXScale: null,\n\t\tmaxXScale: null,\n\t\tminYScale: null,\n\t\tmaxYScale: null,\n\t\topacity: 0.8,\n\t\tstartColor: '#0000ff',\n\t\tstopColor: '#ff0000',\n\t\tdevicePixelRatio: 2\n\t},\n\tcolorTW: {\n\t\tterm: {\n\t\t\tname: 'Cell Type',\n\t\t\tplot: 'UMAP',\n\t\t\ttype: 'singleCellCellType',\n\t\t\tsample: { sID: scTestSample },\n\t\t\tgroupsetting: { disabled: false },\n\t\t\tvalues: {}\n\t\t},\n\t\tq: { mode: 'discrete', type: 'values', hiddenValues: {} }\n\t}\n}\n\nconst TermdbSingleCellPlotsResponseExample = {\n\trange: {\n\t\txMin: -2.45230826499861,\n\t\txMax: 2.02116419939392,\n\t\tyMin: -2.670907125487,\n\t\tyMax: 2.97596441655721,\n\t\tgeMin: null,\n\t\tgeMax: null\n\t},\n\tresult: {\n\t\tDefault: {\n\t\t\tcolorLegend: [\n\t\t\t\t[\n\t\t\t\t\t'T_NK',\n\t\t\t\t\t{\n\t\t\t\t\t\tsampleCount: 20,\n\t\t\t\t\t\tcolor: '#1b9e77',\n\t\t\t\t\t\tkey: 'T_NK'\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t[\n\t\t\t\t\t'Blast',\n\t\t\t\t\t{\n\t\t\t\t\t\tsampleCount: 54,\n\t\t\t\t\t\tcolor: '#030303',\n\t\t\t\t\t\tkey: 'Blast'\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t[\n\t\t\t\t\t'Monocyte',\n\t\t\t\t\t{\n\t\t\t\t\t\tsampleCount: 26,\n\t\t\t\t\t\tcolor: '#7570b3',\n\t\t\t\t\t\tkey: 'Monocyte'\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t],\n\t\t\tshapeLegend: [\n\t\t\t\t[\n\t\t\t\t\t'Ref',\n\t\t\t\t\t{\n\t\t\t\t\t\tsampleCount: 100,\n\t\t\t\t\t\tshape: 0,\n\t\t\t\t\t\tkey: 'Ref'\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t],\n\t\t\tsamples: [\n\t\t\t\t{\n\t\t\t\t\tsampleId: 'cell1',\n\t\t\t\t\tx: 0.958429213345285,\n\t\t\t\t\ty: 1.94008987552318,\n\t\t\t\t\tz: 0,\n\t\t\t\t\tcategory: 'T_NK',\n\t\t\t\t\tshape: 'Ref',\n\t\t\t\t\thidden: {\n\t\t\t\t\t\tcategory: false\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsampleId: 'cell2',\n\t\t\t\t\tx: 0.678836078621254,\n\t\t\t\t\ty: -1.13854914348622,\n\t\t\t\t\tz: 0,\n\t\t\t\t\tcategory: 'T_NK',\n\t\t\t\t\tshape: 'Ref',\n\t\t\t\t\thidden: {\n\t\t\t\t\t\tcategory: false\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsampleId: 'cell3',\n\t\t\t\t\tx: -2.11135267144421,\n\t\t\t\t\ty: -2.33519450621652,\n\t\t\t\t\tz: 0,\n\t\t\t\t\tcategory: 'T_NK',\n\t\t\t\t\tshape: 'Ref',\n\t\t\t\t\thidden: {\n\t\t\t\t\t\tcategory: false\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsampleId: 'cell4',\n\t\t\t\t\tx: 0.551783876521269,\n\t\t\t\t\ty: -1.24685552943596,\n\t\t\t\t\tz: 0,\n\t\t\t\t\tcategory: 'T_NK',\n\t\t\t\t\tshape: 'Ref',\n\t\t\t\t\thidden: {\n\t\t\t\t\t\tcategory: false\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsampleId: 'cell5',\n\t\t\t\t\tx: 1.84959385901015,\n\t\t\t\t\ty: 2.68311790617899,\n\t\t\t\t\tz: 0,\n\t\t\t\t\tcategory: 'T_NK',\n\t\t\t\t\tshape: 'Ref',\n\t\t\t\t\thidden: {\n\t\t\t\t\t\tcategory: false\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}\n\nexport const TermdbSingleCellPlotsExample = {\n\trequest: {\n\t\tbody: TermdbSingleCellPlotsRequestExample\n\t},\n\tresponse: {\n\t\tbody: TermdbSingleCellPlotsResponseExample\n\t}\n}\n", "export type TermChildrenRequest = {\n\t/** a user-defined genome label in the serverconfig.json, hg38, hg19, mm10, etc */\n\tgenome: string\n\t/** a user-defined dataset label in the serverconfig.json, such as ClinVar, SJLife, GDC, etc */\n\tdslabel: string\n\tembedder: string\n\tget_children: number\n\tcohortValues?: string\n\ttid: string\n}\n\ninterface Entries {\n\tname: string\n\tid: string\n\tisleaf: boolean\n\tincluded_types: string[]\n\tchild_types: string[]\n}\n\nexport type TermChildrenResponse = {\n\tlst: Entries[]\n}\n\nexport const termChildrenPayloadExamples = {\n\trequest: {\n\t\ttypeId: 'TermChildrenRequest'\n\t},\n\tresponse: {\n\t\ttypeId: 'TermChildrenResponse'\n\t},\n\texamples: [\n\t\t{\n\t\t\trequest: {\n\t\t\t\tbody: {\n\t\t\t\t\tgenome: 'hg38-test',\n\t\t\t\t\tdslabel: 'TermdbTest',\n\t\t\t\t\tembedder: 'localhost',\n\t\t\t\t\tget_children: 1,\n\t\t\t\t\tcohortValues: 'ABC',\n\t\t\t\t\ttid: 'GO:0000001'\n\t\t\t\t} satisfies TermChildrenRequest // TODO: enable type check\n\t\t\t},\n\t\t\tresponse: {\n\t\t\t\theader: { status: 200 }\n\t\t\t}\n\t\t}\n\t]\n}\n", "import type { TermWrapper } from '../terms/tw.ts'\nimport type { Filter } from '../filter.ts'\nimport type { ErrorResponse } from './errorResponse.ts'\nimport type { DescrStats } from './termdb.descrstats.ts'\n\n/** Common properties shared by both violin and box plots */\ntype CommonProps = {\n\t/** numeric tw to fetch numeric data. tw.q.mode must be continuous */\n\ttw: TermWrapper\n\tdslabel: string\n\tgenome: string\n\t/** overlay tw for multiple violins/boxplots */\n\toverlayTw?: TermWrapper\n\t/** tw to divide to multiple charts */\n\tdivideTw?: TermWrapper\n\t/** mass filter */\n\tfilter?: Filter\n\t/** read-only invisible filter */\n\tfilter0?: any\n\t/** TODO: Needs description FIXME delete */\n\tcurrentGeneNames?: string[]\n\t/** if true, use log scale; if false or undefined, use linear scale */\n\tisLogScale?: boolean\n}\n\n/** Request type for violin plots with required violin-specific parameters */\nexport type ViolinRequest = CommonProps & {\n\t/** Indicates the type of chart to render */\n\tplotType: 'violin'\n\t/** A number representing the dimension perpendicular to the violin spread */\n\taxisHeight?: number\n\t/** A string representing the type of symbol used on the plot */\n\tdatasymbol?: string\n\t/** A number representing the device's pixel ratio */\n\tdevicePixelRatio: number\n\t/** If true, uses KDE method to build plot */\n\tisKDE?: boolean\n\t/** A string with two possible values: 'horizontal' or 'vertical' */\n\torientation: string\n\t/** A number representing the radius of the data symbols */\n\tradius: number\n\t/** A number representing the right margin */\n\trightMargin?: number\n\t/** Term may be scaled from regression analysis */\n\tscale?: any\n\t/** A number representing the width of the stroke */\n\tstrokeWidth?: number\n\t/** A number representing the width of the SVG box */\n\tsvgw: number\n\t/** Number of bins to build the plot. Default is 20. */\n\tticks?: number\n}\n\n/** Request type for box plots with required box-specific parameters */\nexport type BoxRequest = CommonProps & {\n\t/** Indicates the type of chart to render */\n\tplotType: 'box'\n\t/** sort plots by median value */\n\torderByMedian?: boolean\n\t/** Remove outliers from the plot */\n\tremoveOutliers?: boolean\n\t/** If true, show association tests table */\n\tshowAssocTests?: boolean\n}\n\n/**Unified request type for violin and boxplot - union of ViolinRequest and BoxRequest */\nexport type ViolinBoxRequest = ViolinRequest | BoxRequest\n\nexport type ViolinBoxResponse = ViolinResponse | BoxPlotResponse | ErrorResponse\n\n/** Type guard to check if response is an ErrorResponse */\nexport function isErrorResponse(response: ViolinBoxResponse): response is ErrorResponse {\n\treturn 'error' in response && 'status' in response\n}\n\n/** Type guard to check if response is a BoxPlotResponse */\nexport function isBoxPlotResponse(response: ViolinBoxResponse): response is BoxPlotResponse {\n\treturn !isErrorResponse(response) && 'charts' in response && 'descrStats' in response\n}\n\n/** Type guard to check if response is a ViolinResponse */\nexport function isViolinResponse(response: ViolinBoxResponse): response is ViolinResponse {\n\treturn !isErrorResponse(response) && 'min' in response && 'max' in response\n}\n\n/** Violin response types */\ninterface BinsEntries {\n\tx0: number\n\tx1: number\n\tdensity: number\n}\n\ninterface PValueEntries {\n\tvalue?: string\n\thtml?: string\n}\n\ntype ViolinDensity = {\n\tbins: BinsEntries[]\n\tdensityMax: number\n\tdensityMin: number\n}\n\nexport type ViolinPlotEntry = {\n\tcolor: string\n\tchartId: string\n\tdensity: ViolinDensity\n\tlabel: string\n\tplotValueCount: number\n\tseriesId: string\n\tsrc: string\n\tsummaryStats: DescrStats\n}\n\nexport type ViolinResponseChart = {\n\tchartId: string\n\tplots: ViolinPlotEntry[]\n\tpvalues?: PValueEntries[][]\n}\n\nexport type ViolinResponse = {\n\tbins: { [index: string]: any }\n\tcharts: {\n\t\t[index: string]: ViolinResponseChart\n\t}\n\tmin: number\n\tmax: number\n\tuncomputableValues: { [index: string]: number }[] | null\n\tdescrStats?: DescrStats\n}\n\n/** Boxplot response types */\nexport type BoxPlotData = {\n\tw1: number | undefined\n\tw2: number | undefined\n\tp05: number\n\tp25: number\n\tp50: number\n\tp75: number\n\tp95: number\n\tiqr: number\n\tout: { value: number }[]\n}\n\nexport type BoxPlotEntry = {\n\tboxplot: BoxPlotData & { label: string }\n\tcolor?: string\n\tdescrStats: DescrStats\n\tisHidden?: boolean\n\tkey: string\n\tseriesId?: string\n}\n\nexport type BoxPlotChartEntry = {\n\tchartId: string\n\tplots: BoxPlotEntry[]\n\tsampleCount: number\n\twilcoxon?: [{ value: string }, { value: string }, { html: string }][]\n}\n\nexport type BoxPlotResponse = {\n\tabsMin?: number\n\tabsMax?: number\n\tbins?: {\n\t\t[index: string]: any\n\t}\n\tcharts: {\n\t\t[chartId: string]: BoxPlotChartEntry\n\t}\n\tdescrStats: DescrStats\n\tuncomputableValues: { label: string; value: number }[] | null\n}\n\n// TODO: write more payload examples to help with automated testing and documentation, for non-prod use only\n\nexport const violinBoxPayload = {\n\trequest: {\n\t\ttypeId: 'ViolinBoxRequest'\n\t},\n\tresponse: {\n\t\ttypeId: 'ViolinBoxResponse'\n\t},\n\texamples: [\n\t\t{\n\t\t\trequest: {\n\t\t\t\tbody: {\n\t\t\t\t\tplotType: 'violin',\n\t\t\t\t\tgenome: 'hg38-test',\n\t\t\t\t\tdslabel: 'TermdbTest',\n\t\t\t\t\ttw: {\n\t\t\t\t\t\tterm: { id: 'aaclassic_5', type: 'float' },\n\t\t\t\t\t\tq: { mode: 'continuous' }\n\t\t\t\t\t},\n\t\t\t\t\tdevicePixelRatio: 2,\n\t\t\t\t\tsvgw: 200,\n\t\t\t\t\torientation: 'horizontal',\n\t\t\t\t\tdatasymbol: 'rug',\n\t\t\t\t\tradius: 5,\n\t\t\t\t\tisLogScale: false\n\t\t\t\t} // satisfies ViolinBoxRequest // TODO: enable type check\n\t\t\t},\n\t\t\tresponse: {\n\t\t\t\theader: { status: 200 }\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\trequest: {\n\t\t\t\tbody: {\n\t\t\t\t\tplotType: 'box',\n\t\t\t\t\tgenome: 'hg38-test',\n\t\t\t\t\tdslabel: 'TermdbTest',\n\t\t\t\t\ttw: {\n\t\t\t\t\t\tterm: { id: 'agedx', type: 'float' },\n\t\t\t\t\t\tq: { mode: 'continuous' }\n\t\t\t\t\t},\n\t\t\t\t\toverlayTw: {\n\t\t\t\t\t\tterm: { id: 'sex', type: 'categorical' }\n\t\t\t\t\t},\n\t\t\t\t\torderByMedian: true\n\t\t\t\t} // satisfies ViolinBoxRequest // TODO: enable type check\n\t\t\t},\n\t\t\tresponse: {\n\t\t\t\theader: { status: 200 }\n\t\t\t}\n\t\t}\n\t]\n}\n", "export const CATEGORICAL = 'categorical'\nexport const CONDITION = 'condition'\nexport const DATE = 'date'\nexport const DNA_METHYLATION = 'dnaMethylation'\n// dt term types, used for filtering variants of a geneVariant term;\n// the matching dt term entries are declared in `#shared/common.js` dtTerms[]\nexport const DTCNV = 'dtcnv'\nexport const DTFUSION = 'dtfusion'\nexport const DTITD = 'dtitd'\nexport const DTSNVINDEL = 'dtsnvindel'\nexport const DTSV = 'dtsv'\nexport const FLOAT = 'float'\nexport const GENE_VARIANT = 'geneVariant'\nexport const GENE_EXPRESSION = 'geneExpression'\nexport const ISOFORM_EXPRESSION = 'isoformExpression'\nexport const INTEGER = 'integer'\nexport const JUNCTION = 'junction'\nexport const METABOLITE_INTENSITY = 'metaboliteIntensity'\nexport const MULTIVALUE = 'multivalue'\nexport const PROTEOME_ABUNDANCE = 'proteomeAbundance'\nexport const PROTEOME_DAP = 'proteomeDAP'\nexport const PSEUDOBULK = 'pseudobulk'\nexport const SAMPLELST = 'samplelst'\nexport const SINGLECELL_CELLTYPE = 'singleCellCellType'\nexport const SINGLECELL_GENE_EXPRESSION = 'singleCellGeneExpression'\nexport const SINGLECELL_NUMERIC_VALUE = 'singleCellNumericValue'\nexport const SNP = 'snp'\nexport const SNP_LIST = 'snplst'\nexport const SNP_LOCUS = 'snplocus'\nexport const SSGSEA = 'ssGSEA'\nexport const SURVIVAL = 'survival'\nexport const TERM_COLLECTION = 'termCollection'\nexport const COHORT = 'cohort'\n\n//Term types should be used gradually using these constants instead of hardcoding the values,\n// eg: type == CATEGORICAL instead of type == 'categorical'\n// NOTE: keep this list complete at declaration, do not add entries to it at runtime,\n// so that consumers see the same keys regardless of module load order\nexport const TermTypes = {\n\tGENE_VARIANT,\n\tGENE_EXPRESSION,\n\tISOFORM_EXPRESSION,\n\tSSGSEA,\n\tDNA_METHYLATION,\n\tCATEGORICAL,\n\tINTEGER,\n\tJUNCTION,\n\tFLOAT,\n\tSNP,\n\tSNP_LIST,\n\tSNP_LOCUS,\n\tCONDITION,\n\tSURVIVAL,\n\tSAMPLELST,\n\tMETABOLITE_INTENSITY,\n\tPROTEOME_ABUNDANCE,\n\tPSEUDOBULK,\n\tSINGLECELL_CELLTYPE,\n\tSINGLECELL_GENE_EXPRESSION,\n\tSINGLECELL_NUMERIC_VALUE,\n\tMULTIVALUE,\n\tDATE,\n\tTERM_COLLECTION,\n\tCOHORT,\n\tDTCNV,\n\tDTFUSION,\n\tDTITD,\n\tDTSNVINDEL,\n\tDTSV\n}\n", "import type { NumericBaseTerm, NumTW, PresetNumericBins, RawNumTW } from '../index.ts'\n\nexport const PseudobulkAssay = ['geneExpression'] as const //Add more assays here\n\nexport type PseudobulkTerm = NumericBaseTerm & {\n\ttype: 'pseudobulk'\n\t/** Corresponds to the singleCell.pseudobulk[assay] */\n\tassay: (typeof PseudobulkAssay)[number]\n\t/** Corresponds to the singleCell.pseudobulk[assay][memberId] */\n\tmemberId: string\n\t/** Corresponds to one key in singleCell.pseudobulk[assay][memberId].categories{} */\n\tcategory: string\n\t/** gene symbol */\n\tgene: string\n\tbins?: PresetNumericBins\n}\n\nexport type PseudobulkTW = NumTW & { term: PseudobulkTerm }\n\nexport type RawPseudobulkTerm = PseudobulkTerm & { name?: string }\n\nexport type RawPseudobulkTW = RawNumTW & { term: RawPseudobulkTerm }\n", "/*\nshared between client and server\n\nexported functions\n- bplen()\n- mclasstester()\n- basecompliment()\n\n\n*/\nimport { rgb } from 'd3-color'\nimport * as d3scale from 'd3-scale'\nimport * as d3 from 'd3'\nimport { DTCNV, DTFUSION, DTITD, DTSNVINDEL, DTSV } from '#types'\n\n// moved from `#shared/terms` to here, so that this can be passed as\n// part of 'common' argument to exported dataset js function, at server runtime\n// 3/30/2026 - changed from literal object to a class with static properties\n// to make it easier for IDEs and tsc compiler to catch typos in consumer code\nexport class TermTypeGroups {\n\tstatic DICTIONARY_VARIABLES = 'Dictionary Variables'\n\tstatic DNA_METHYLATION = 'DNA Methylation'\n\tstatic GENE_DEPENDENCY = 'Gene Dependency'\n\tstatic GENE_EXPRESSION = 'Gene Expression'\n\tstatic ISOFORM_EXPRESSION = 'Isoform Expression'\n\tstatic GSEA = 'GSEA'\n\tstatic METABOLITE_INTENSITY = 'Metabolite Intensity'\n\tstatic PROTEOME_ABUNDANCE = 'Proteome Abundance'\n\tstatic MUTATION_CNV_FUSION = 'Mutation/CNV/Fusion'\n\tstatic MUTATION_SIGNATURE = 'Mutation Signature'\n\tstatic PROTEIN_EXPRESSION = 'Protein Expression'\n\tstatic PSEUDOBULK = 'Pseudobulk'\n\tstatic SINGLECELL_CELLTYPE = 'Single-cell Cell Type'\n\tstatic SINGLECELL_GENE_EXPRESSION = 'Single-cell Gene Expression'\n\tstatic SINGLECELL_NUMERIC_VALUE = 'Single-cell Numeric Value'\n\tstatic SNP = 'SNP Genotype'\n\tstatic SNP_LIST = 'SNP List'\n\tstatic SNP_LOCUS = 'SNP Locus'\n\tstatic SPLICE_JUNCTION = 'Splice Junction'\n\tstatic SSGSEA = 'Geneset Expression'\n\tstatic TERM_COLLECTION = 'Term Collection'\n\tstatic VARIANT_GENOTYPE = 'Variant Genotype'\n\tstatic COHORT = 'Cohort'\n}\n// freeze so that mutating any of the static properties above will throw at runtime\nObject.freeze(TermTypeGroups)\n\nexport const defaultcolor = rgb('#8AB1D4').darker()\nexport const default_text_color = rgb('#aaa').darker().darker()\n\nexport const exoncolor = '#4F8053'\nexport const plotColor = '#ce768e'\n\n// something that has something to do with coding gene reading frame\nexport const IN_frame = true\nexport const OUT_frame = false\n\n/********************************\n* on dt usage *\n*********************************\n- once a dt value is decided and used with actual dataset,\n the value must not be altered, since dataset file may hardcode such value and reassigning to a new integer will break!\n- never test dt value by range e.g. if(dt>10), it breaks! only test equality!\n- in code import variable from here and DO NOT use literal values, to make code tractable\n*/\nexport const dtsnvindel = 1\nexport const dtfusionrna = 2\nexport const dtgeneexpression = 3\nexport const dtcnv = 4\nexport const dtsv = 5\nexport const dtitd = 6\nexport const dtdel = 7\nexport const dtnloss = 8\nexport const dtcloss = 9\nexport const dtloh = 10\nexport const dtmetaboliteintensity = 11\nexport const dtssgsea = 12\nexport const dtdnamethylation = 13\nexport const dtproteomeabundance = 14\n// add new dt value here. !!!DO NOT change value of existing dt!!!\n\nexport const dt2label = {\n\t[dtsnvindel]: 'SNV/indel',\n\t[dtfusionrna]: 'Fusion RNA',\n\t[dtcnv]: 'CNV',\n\t[dtsv]: 'SV',\n\t[dtitd]: 'ITD',\n\t[dtdel]: 'Deletion',\n\t[dtnloss]: 'N-loss',\n\t[dtcloss]: 'C-loss',\n\t[dtloh]: 'LOH',\n\t[dtgeneexpression]: 'Gene Expression',\n\t[dtmetaboliteintensity]: 'Metabolite Intensity',\n\t[dtproteomeabundance]: 'Proteome Abundance'\n}\n\n// Maps dt types to UI labels and lesion types for GRIN2\n// All dt types use lesionTypes array for consistency\nexport const dt2lesion = {\n\t[dtsnvindel]: {\n\t\tuilabel: 'SNV/INDEL (Mutation)',\n\t\tlesionTypes: [{ name: 'Mutation', lesionType: 'mutation', color: '#44AA44' }]\n\t},\n\t[dtcnv]: {\n\t\tuilabel: 'CNV (Copy Number Variation)',\n\t\tlesionTypes: [\n\t\t\t{ name: 'Loss', lesionType: 'loss', color: '#4444FF' },\n\t\t\t{ name: 'Gain', lesionType: 'gain', color: '#FF4444' }\n\t\t]\n\t},\n\t[dtsv]: {\n\t\tuilabel: 'SV (Structural Variation)',\n\t\tlesionTypes: [{ name: 'SV', lesionType: 'sv', color: '#9932CC' }]\n\t},\n\t[dtfusionrna]: {\n\t\tuilabel: 'Fusion (RNA Fusion)',\n\t\tlesionTypes: [{ name: 'Fusion', lesionType: 'fusion', color: '#FFA500' }]\n\t},\n\t[dtitd]: {\n\t\tuilabel: 'ITD (Internal Tandem Duplication)',\n\t\tlesionTypes: [{ name: 'ITD', lesionType: 'itd', color: '#ff70ff' }]\n\t}\n}\n\n// Maps GRIN2 option types to their corresponding dt values\nexport const optionToDt = {\n\tsnvindelOptions: dtsnvindel,\n\tcnvOptions: dtcnv,\n\tfusionOptions: dtfusionrna,\n\tsvOptions: dtsv,\n\titdOptions: dtitd\n}\n\nexport const mclass = {\n\tM: {\n\t\tlabel: 'MISSENSE',\n\t\tcolor: '#3987CC',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'A sequence variant, that changes one or more bases, resulting in a different amino acid sequence but where the length is preserved',\n\t\tkey: 'M'\n\t},\n\tE: { label: 'EXON', color: '#bcbd22', dt: dtsnvindel, desc: 'A variant in the exon of a non-coding RNA.', key: 'E' },\n\tF: {\n\t\tlabel: 'FRAMESHIFT',\n\t\tcolor: 'rgb(200, 61, 61)',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'A sequence variant which causes a disruption of the translational reading frame, because the number of nucleotides inserted or deleted is not a multiple of three',\n\t\tkey: 'F'\n\t},\n\tN: {\n\t\tlabel: 'NONSENSE',\n\t\tcolor: '#ff7f0e',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'A sequence variant whereby at least one base of a codon is changed, resulting in a premature stop codon, leading to a shortened transcript',\n\t\tkey: 'N'\n\t},\n\tS: {\n\t\tlabel: 'SILENT',\n\t\tcolor: '#2ca02c',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'A sequence variant where there is no resulting change to the encoded amino acid',\n\t\tkey: 'S'\n\t},\n\tD: {\n\t\tlabel: 'PROTEINDEL',\n\t\tcolor: 'rgb(100, 100, 100)',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'An inframe non synonymous variant that deletes bases from the coding sequence',\n\t\tkey: 'D'\n\t},\n\tI: {\n\t\tlabel: 'PROTEININS',\n\t\tcolor: '#8c564b',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'An inframe non synonymous variant that inserts bases into in the coding sequence',\n\t\tkey: 'I'\n\t},\n\tProteinAltering: {\n\t\tlabel: 'PROTEINALTERING',\n\t\tcolor: '#5a0034',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'An inframe complex change to the coding sequence',\n\t\tkey: 'ProteinAltering'\n\t},\n\tP: {\n\t\tlabel: 'SPLICE_REGION',\n\t\tcolor: '#9467bd',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'A sequence variant in which a change has occurred within the region of the splice site, either within 1-3 bases of the exon or 3-8 bases of the intron',\n\t\tkey: 'P'\n\t},\n\tL: {\n\t\tlabel: 'SPLICE',\n\t\tcolor: '#6633FF',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'A variant near an exon edge that may affect splicing functionality',\n\t\tkey: 'L'\n\t},\n\tIntron: { label: 'INTRON', color: '#656565', dt: dtsnvindel, desc: 'An intronic variant.', key: 'Intron' },\n\n\tStopLost: {\n\t\tlabel: 'Stop lost',\n\t\tcolor: '#ff7f0e',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'A sequence variant where at least one base of the terminator codon (stop) is changed, resulting in an elongated transcript',\n\t\tkey: 'StopLost'\n\t},\n\tStartLost: {\n\t\tlabel: 'Start lost',\n\t\tcolor: '#ff7f0e',\n\t\tdt: dtsnvindel,\n\t\tdesc: 'A codon variant that changes at least one base of the canonical start codon',\n\t\tkey: 'StartLost'\n\t},\n\n\t// quick fix!! for showing genes that are not tested in samples (e.g. gene panels) in the heatmap\n\tBlank: { label: 'Not tested', color: '#fff', dt: dtsnvindel, desc: 'This gene is not tested.', key: 'Blank' },\n\n\tWT: { label: 'Wildtype', color: '#D3D3D3', dt: dtsnvindel, desc: 'Wildtype', key: 'WT' }\n}\nexport const mclassitd = 'ITD'\nmclass[mclassitd] = {\n\tlabel: 'ITD',\n\tcolor: '#ff70ff',\n\tdt: dtitd,\n\tdesc: 'In-frame internal tandem duplication',\n\tkey: mclassitd\n}\n\nexport const mclassdel = 'DEL'\nmclass[mclassdel] = {\n\tlabel: 'DELETION, intragenic',\n\tcolor: '#858585',\n\tdt: dtdel,\n\tdesc: 'Intragenic deletion',\n\tkey: mclassdel\n}\n\nexport const mclassnloss = 'NLOSS'\nmclass[mclassnloss] = {\n\tlabel: 'N-terminus loss',\n\tcolor: '#545454',\n\tdt: dtnloss,\n\tdesc: 'N-terminus loss due to translocation',\n\tkey: mclassnloss\n}\n\nexport const mclasscloss = 'CLOSS'\nmclass[mclasscloss] = {\n\tlabel: 'C-terminus loss',\n\tcolor: '#545454',\n\tdt: dtcloss,\n\tdesc: 'C-terminus loss due to translocation',\n\tkey: mclasscloss\n}\n\nexport const mclassutr3 = 'Utr3'\nmclass[mclassutr3] = {\n\tlabel: 'UTR_3',\n\tcolor: '#998199',\n\tdt: dtsnvindel,\n\tdesc: \"A variant in the 3' untranslated region\",\n\tkey: mclassutr3\n}\n\nexport const mclassutr5 = 'Utr5'\nmclass[mclassutr5] = {\n\tlabel: 'UTR_5',\n\tcolor: '#819981',\n\tdt: dtsnvindel,\n\tdesc: \"A variant in the 5' untranslated region\",\n\tkey: mclassutr5\n}\n\nexport const mclassnonstandard = 'X'\nmclass[mclassnonstandard] = {\n\tlabel: 'NONSTANDARD',\n\tcolor: 'black',\n\tdt: dtsnvindel,\n\tdesc: 'A mutation class that either does not match our notation, or is unspecified',\n\tkey: mclassnonstandard\n}\n\nexport const mclassnoncoding = 'noncoding'\nmclass[mclassnoncoding] = {\n\tlabel: 'NONCODING',\n\tcolor: 'black',\n\tdt: dtsnvindel,\n\tdesc: 'Noncoding mutation',\n\tkey: mclassnoncoding\n}\n\n/*\nincludes full list of consequences from\nhttps://www.ensembl.org/info/genome/variation/prediction/predicted_data.html\neach entry is SO term with matching pp class\nentries that cannot be mapped to dtsnvindel classes are commented off\norder of entries is severity\n\n* since source of data! *\nfrom this array derives multiple types of lookup tables to perform mapping on both ways\n*/\nconst SOterms = [\n\t//transcript_ablation // not supported: 1) do not expect this in maf/vcf 2) should be represented as cnv deletion but not the legacy unused value \"dtdel\"; if needed can reenable\n\t['splice_acceptor_variant', 'L'],\n\t['splice_donor_variant', 'L'],\n\t['stop_gained', 'N'],\n\t['frameshift_variant', 'F'],\n\t['stop_lost', 'StopLost'],\n\t['start_lost', 'StartLost'],\n\t//transcript_amplification // not supported, should be represented by cnv instead\n\t['feature_elongation', mclassnoncoding],\n\t['feature_truncation', mclassnoncoding],\n\t['inframe_insertion', 'I'],\n\t['inframe_deletion', 'D'],\n\t['missense_variant', 'M'],\n\t['protein_altering_variant', 'ProteinAltering'],\n\t['splice_donor_5th_base_variant', 'P'],\n\t['splice_region_variant', 'P'],\n\t['splice_donor_region_variant', 'P'],\n\t['splice_polypyrimidine_tract_variant', 'P'],\n\t['incomplete_terminal_codon_variant', 'N'],\n\t['start_retained_variant', 'S'],\n\t['stop_retained_variant', 'S'],\n\t['synonymous_variant', 'S'],\n\t['coding_sequence_variant', 'E'],\n\t['mature_miRNA_variant', 'E'],\n\t['5_prime_UTR_variant', mclassutr5],\n\t['3_prime_UTR_variant', mclassutr3],\n\t['non_coding_transcript_exon_variant', 'E'],\n\t['intron_variant', 'Intron'],\n\t['NMD_transcript_variant', 'F'],\n\t['non_coding_transcript_variant', 'E'],\n\t['coding_transcript_variant', 'E'],\n\t['upstream_gene_variant', mclassnoncoding],\n\t['downstream_gene_variant', mclassnoncoding],\n\t['TFBS_ablation', mclassnoncoding],\n\t['TFBS_amplification', mclassnoncoding],\n\t['TF_binding_site_variant', mclassnoncoding],\n\t['regulatory_region_ablation', mclassnoncoding],\n\t['regulatory_region_amplification', mclassnoncoding],\n\t['regulatory_region_variant', mclassnoncoding],\n\t['intergenic_variant', mclassnoncoding],\n\t['sequence_variant', mclassnonstandard]\n]\n\n// maps a pp class to an array of consequences\n// k: pp class, v: array of consequences. case sensitive\nexport const class2SOterm = new Map()\nfor (const [csq, cls] of SOterms) {\n\tif (!class2SOterm.has(cls)) class2SOterm.set(cls, [])\n\tclass2SOterm.get(cls).push(csq)\n}\n\n// maps a consequence to a pp class. no severity info. use vepinfo() if needs severity\n// k: consequence, v: pp class. case sensitive.\nexport const SOterm2class = new Map()\nfor (const [csq, cls] of SOterms) {\n\tSOterm2class.set(csq, cls)\n}\n\n// outdated function to match with adhoc nonstandard notations, only used in legacy code utils/src/bulk.snv.js\n// DO NOT USE to map vep consequences\nexport function mclasstester(s) {\n\tswitch (s.toLowerCase()) {\n\t\tcase 'missense_mutation':\n\t\t\treturn 'M'\n\t\tcase 'nonsense_mutation':\n\t\t\treturn 'N'\n\t\tcase 'splice_site':\n\t\t\treturn 'L'\n\t\tcase 'splice_region':\n\t\t\treturn 'P'\n\t\tcase 'rna':\n\t\t\treturn mclassnoncoding\n\t\tcase 'frame_shift_del':\n\t\t\treturn 'F'\n\t\tcase 'frame_shift_ins':\n\t\t\treturn 'F'\n\t\tcase 'in_frame_del':\n\t\t\treturn 'D'\n\t\tcase 'in_frame_ins':\n\t\t\treturn 'I'\n\t\tcase 'protein_altering_variant':\n\t\t\treturn 'ProteinAltering'\n\t\tcase 'translation_start_site':\n\t\t\treturn mclassnonstandard\n\t\tcase 'nonstop_mutation':\n\t\t\treturn 'N'\n\t\tcase \"3'utr\":\n\t\t\treturn mclassutr3\n\t\tcase \"3'flank\":\n\t\t\treturn mclassnoncoding\n\t\tcase \"5'utr\":\n\t\t\treturn mclassutr5\n\t\tcase \"5'flank\":\n\t\t\treturn mclassnoncoding\n\t\tcase 'silent':\n\t\t\treturn 'S'\n\t\tcase 'blank':\n\t\t\treturn 'Blank'\n\t\tdefault:\n\t\t\treturn null\n\t}\n}\n\nexport const mclassfusionrna = 'Fuserna'\nmclass[mclassfusionrna] = {\n\tlabel: 'Fusion transcript',\n\tcolor: '#545454',\n\tdt: dtfusionrna,\n\tdesc:\n\t\t'Marks the break points leading to fusion transcripts.<br>' +\n\t\t'<span style=\"font-size:150%\">◐</span> - 3\\' end of the break point is fused to the 5\\' end of another break point in a different gene.<br>' +\n\t\t'<span style=\"font-size:150%\">◑</span> - 5\\' end of the break point is fused to the 3\\' end of another break point in a different gene.',\n\tkey: mclassfusionrna\n}\nexport const mclasssv = 'SV'\nmclass[mclasssv] = {\n\tlabel: 'Structural variation',\n\tcolor: '#858585',\n\tdt: dtsv,\n\tdesc:\n\t\t'<span style=\"font-size:150%\">◐</span> - 3\\' end of the break point is fused to the 5\\' end of another break point in a different gene.<br>' +\n\t\t'<span style=\"font-size:150%\">◑</span> - 5\\' end of the break point is fused to the 3\\' end of another break point in a different gene.',\n\tkey: mclasssv\n}\n\n// \"CNV_amp\" represents \"CNV Gain\" and is used in both 2-category and 5-category CNV data representation\n// \"CNV_amplification\" represents CNV amplification and is used in 5-category CNV\n// \"CNV_amp\" have to stay as-is since it may be hardcoded in lots of data beyond portal code.\nexport const mclasscnvgain = 'CNV_amp'\nmclass[mclasscnvgain] = {\n\tlabel: 'Copy number gain', // TODO change to 'Gain'\n\tcolor: '#e9a3c9',\n\tdt: dtcnv,\n\tdesc: 'Copy number gain',\n\tkey: mclasscnvgain\n}\n\nexport const mclasscnvloss = 'CNV_loss'\nmclass[mclasscnvloss] = {\n\tlabel: 'Copy number loss',\n\tcolor: '#a1d76a',\n\tdt: dtcnv,\n\tdesc: 'Copy number loss',\n\tkey: mclasscnvloss\n}\n\n// mclasscnvAmp is next level above mclasscnvgain and is used in 5-category CNV data\nexport const mclasscnvAmp = 'CNV_amplification'\nmclass[mclasscnvAmp] = {\n\tlabel: 'Copy number amplification',\n\tcolor: '#ff0000',\n\tdt: dtcnv,\n\tdesc: 'Copy number amplification',\n\tkey: mclasscnvAmp\n}\n\nexport const mclasscnvHomozygousDel = 'CNV_homozygous_deletion'\nmclass[mclasscnvHomozygousDel] = {\n\tlabel: 'Copy number homozygous deletion',\n\tcolor: '#0000ff',\n\tdt: dtcnv,\n\tdesc: 'Copy number homozygous deletion',\n\tkey: mclasscnvHomozygousDel\n}\n\nexport const mclasscnvloh = 'CNV_loh'\nmclass[mclasscnvloh] = { label: 'LOH', color: '#12EDFC', dt: dtcnv, desc: 'Loss of heterozygosity', key: mclasscnvloh }\n\n// for VCF\nexport const mclasssnv = 'snv'\nmclass[mclasssnv] = {\n\tlabel: 'SNV',\n\tcolor: '#92a2d4',\n\tdt: dtsnvindel,\n\tdesc: 'Single nucleotide variation',\n\tkey: mclasssnv\n}\n\nexport const mclassmnv = 'mnv'\nmclass[mclassmnv] = {\n\tlabel: 'MNV',\n\tcolor: '#92a2d4',\n\tdt: dtsnvindel,\n\tdesc: 'Multiple nucleotide variation',\n\tkey: mclassmnv\n}\n\nexport const mclassinsertion = 'insertion'\nmclass[mclassinsertion] = {\n\tlabel: 'Sequence insertion',\n\tcolor: '#bd8e91',\n\tdt: dtsnvindel,\n\tdesc: 'Sequence insertion',\n\tkey: mclassinsertion\n}\n\nexport const mclassdeletion = 'deletion'\nmclass[mclassdeletion] = {\n\tlabel: 'Sequence deletion',\n\tcolor: '#b5a174',\n\tdt: dtsnvindel,\n\tdesc: 'Sequence deletion',\n\tkey: mclassdeletion\n}\n// TODO complex indel\n\n/* tricky\nwhen a mds3 tk uses numeric cnv, data points from tk.cnv.cnvLst[] has .class=dtcnv but no class!\na \"cnv\" entry needs to be present in mclass legend, and thus this wrapper function over mclass{} to allow dtcnv as key\nthe tricky case doesn't apply to other plots\n*/\nexport function mds3tkMclass(k) {\n\tif (k == dtcnv) {\n\t\treturn {\n\t\t\tcolor: '#858585',\n\t\t\tlabel: 'CNV',\n\t\t\tdesc: 'Copy number variation'\n\t\t}\n\t}\n\treturn mclass[k]\n}\n\nexport const dt2color = {\n\t[dtsnvindel]: mclass.M.color // general color for snvindel irrespective of class (when class is not available)\n\t// add new dt as needed\n}\n\n// option to override mutation class attribute values\nexport function applyOverrides(overrides: Record<string, any> = {}) {\n\tif (overrides.mclass) {\n\t\tfor (const key in overrides.mclass) {\n\t\t\t// allow to fill-in mutation class that are missing from mclass;\n\t\t\t// may be useful for things like 'Not tested', etc, that may not be in mclass by default\n\t\t\t// but are used by a customer with its own PP server instance\n\t\t\tif (!mclass[key]) mclass[key] = {}\n\t\t\tfor (const subkey in overrides.mclass[key]) {\n\t\t\t\tmclass[key][subkey] = overrides.mclass[key][subkey]\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* legacy function. input is comma-joined multiple consequences\nperforms case insensitive match and returns severity rank\nTODO share data with SOterms\n*/\nexport const vepinfo = function (s) {\n\tconst l = s.toLowerCase().split(',')\n\tlet rank = 1\n\tif (l.indexOf('transcript_ablation') != -1) {\n\t\t// FIXME no class for whole gene deletion\n\t\treturn [dtdel, mclassdel, rank]\n\t}\n\trank++\n\tif (l.indexOf('splice_acceptor_variant') != -1) return [dtsnvindel, 'L', rank]\n\trank++\n\tif (l.indexOf('splice_donor_variant') != -1) return [dtsnvindel, 'L', rank]\n\trank++\n\tif (l.indexOf('stop_gained') != -1) return [dtsnvindel, 'N', rank]\n\trank++\n\tif (l.indexOf('frameshift_variant') != -1) return [dtsnvindel, 'F', rank]\n\trank++\n\tif (l.indexOf('stop_lost') != -1) return [dtsnvindel, 'N', rank]\n\trank++\n\tif (l.indexOf('start_lost') != -1) return [dtsnvindel, 'N', rank]\n\trank++\n\tif (l.indexOf('transcript_amplification') != -1) {\n\t\t// FIXME no class for whole gene amp\n\t\treturn [dtsnvindel, mclassnonstandard, rank]\n\t}\n\trank++\n\tif (\n\t\tl.indexOf('inframe_insertion') != -1 ||\n\t\tl.indexOf('conservative_inframe_insertion') != -1 ||\n\t\tl.indexOf('disruptive_inframe_insertion') != -1\n\t)\n\t\treturn [dtsnvindel, 'I', rank]\n\trank++\n\tif (\n\t\tl.indexOf('inframe_deletion') != -1 ||\n\t\tl.indexOf('conservative_inframe_deletion') != -1 ||\n\t\tl.indexOf('disruptive_inframe_deletion') != -1\n\t)\n\t\treturn [dtsnvindel, 'D', rank]\n\trank++\n\tif (l.indexOf('missense_variant') != -1) return [dtsnvindel, 'M', rank]\n\trank++\n\tif (l.indexOf('protein_altering_variant') != -1) return [dtsnvindel, 'ProteinAltering', rank]\n\trank++\n\tif (l.indexOf('splice_region_variant') != -1) return [dtsnvindel, 'P', rank]\n\trank++\n\tif (l.indexOf('incomplete_terminal_codon_variant') != -1) return [dtsnvindel, 'N', rank]\n\trank++\n\tif (l.indexOf('stop_retained_variant') != -1) return [dtsnvindel, 'S', rank]\n\trank++\n\tif (l.indexOf('synonymous_variant') != -1) return [dtsnvindel, 'S', rank]\n\trank++\n\tif (l.indexOf('coding_sequence_variant') != -1) return [dtsnvindel, mclassnonstandard, rank]\n\trank++\n\tif (l.indexOf('mature_mirna_variant') != -1) return [dtsnvindel, 'E', rank]\n\trank++\n\tif (l.indexOf('5_prime_utr_variant') != -1) return [dtsnvindel, mclassutr5, rank]\n\trank++\n\tif (l.indexOf('3_prime_utr_variant') != -1) return [dtsnvindel, mclassutr3, rank]\n\trank++\n\tif (l.indexOf('non_coding_transcript_exon_variant') != -1) return [dtsnvindel, 'E', rank]\n\trank++\n\tif (l.indexOf('intron_variant') != -1) return [dtsnvindel, 'Intron', rank]\n\trank++\n\tif (l.indexOf('nmd_transcript_variant') != -1) return [dtsnvindel, 'S', rank]\n\trank++\n\tif (l.indexOf('non_coding_transcript_variant') != -1) return [dtsnvindel, 'E', rank]\n\trank++\n\tif (l.indexOf('upstream_gene_variant') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('downstream_gene_variant') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('tfbs_ablation') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('tfbs_amplification') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('tf_binding_site_variant') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('regulatory_region_ablation') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('regulatory_region_amplification') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('feature_elongation') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('regulatory_region_variant') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('feature_truncation') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\tif (l.indexOf('intergenic_variant') != -1) return [dtsnvindel, mclassnoncoding, rank]\n\trank++\n\treturn [dtsnvindel, mclassnonstandard, rank]\n}\n\n// m orgin\nexport const germlinelegend =\n\t'<circle cx=\"7\" cy=\"12\" r=\"7\" fill=\"#b1b1b1\"></circle><path d=\"M6.735557395310443e-16,-11A11,11 0 0,1 11,0L9,0A9,9 0 0,0 5.51091059616309e-16,-9Z\" transform=\"translate(7,12)\" fill=\"#858585\" stroke=\"none\"></path>'\n\nexport const morigin: Record<string, any> = {}\n\nexport const moriginsomatic = 'S'\nmorigin[moriginsomatic] = {\n\tlabel: 'Somatic',\n\tdesc: 'A variant found only in a tumor sample. The proportion is indicated by lack of any arc.',\n\tlegend: '<circle cx=\"7\" cy=\"12\" r=\"7\" fill=\"#b1b1b1\"></circle>'\n}\nexport const morigingermline = 'G'\nmorigin[morigingermline] = {\n\tlabel: 'Germline',\n\tdesc: 'A constitutional variant found in a normal sample. The proportion is indicated by the span of the solid arc within the whole circle.',\n\tlegend: germlinelegend\n}\n\nmorigin.germline = morigin[morigingermline]\nmorigin.somatic = morigin[moriginsomatic]\n\nexport const moriginrelapse = 'R'\nmorigin[moriginrelapse] = {\n\tlabel: 'Relapse',\n\tdesc: 'A somatic variant found only in a relapse sample. The proportion is indicated by the span of the hollow arc within the whole circle.',\n\tlegend:\n\t\t'<circle cx=\"7\" cy=\"12\" r=\"7\" fill=\"#b1b1b1\"></circle><path d=\"M6.735557395310443e-16,-11A11,11 0 0,1 11,0L9,0A9,9 0 0,0 5.51091059616309e-16,-9Z\" transform=\"translate(7,12)\" fill=\"none\" stroke=\"#858585\"></path>'\n}\nexport const morigingermlinepathogenic = 'GP'\nmorigin[morigingermlinepathogenic] = {\n\tlabel: 'Germline pathogenic',\n\tdesc: 'A constitutional variant with pathogenic allele.',\n\tlegend: germlinelegend\n}\nexport const morigingermlinenonpathogenic = 'GNP'\nmorigin[morigingermlinenonpathogenic] = {\n\tlabel: 'Germline non-pathogenic',\n\tdesc: 'A constitutional variant with non-pathogenic allele.',\n\tlegend: germlinelegend,\n\thidden: true\n}\n\nexport const tkt = {\n\tusegm: 'usegm',\n\tds: 'dataset',\n\tbigwig: 'bigwig',\n\tbigwigstranded: 'bigwigstranded',\n\tjunction: 'junction',\n\tmdsjunction: 'mdsjunction',\n\tmdssvcnv: 'mdssvcnv', // replaced by mds3\n\tmdsexpressionrank: 'mdsexpressionrank',\n\tmdsvcf: 'mdsvcf', // for snv/indels, currently vcf, may include MAF\n\t//mdsgeneral:'mdsgeneral', // replaces mdssvcnv ****** not ready yet\n\tbedj: 'bedj',\n\tpgv: 'profilegenevalue',\n\tbampile: 'bampile',\n\thicstraw: 'hicstraw',\n\texpressionrank: 'expressionrank',\n\taicheck: 'aicheck',\n\tase: 'ase',\n\tmds3: 'mds3', //\n\tbedgraphdot: 'bedgraphdot',\n\tbam: 'bam',\n\tld: 'ld',\n\tj2: 'j2' // mds3 cohort junction\n}\n\nexport function validtkt(what) {\n\tfor (const k in tkt) {\n\t\tif (what == tkt[k]) {\n\t\t\treturn true\n\t\t}\n\t}\n\treturn false\n}\n\n/*\nmember track types from mdsvcf\nto get rid of hardcoded strings\nin future may include MAF format files\n*/\nexport const mdsvcftype = {\n\tvcf: 'vcf'\n}\n\n/*\nfor custom mdssvcnv track\nor general track\nto avoid using hard-coded string\n*/\nexport const custommdstktype = {\n\tvcf: 'vcf',\n\tsvcnvitd: 'svcnvitd',\n\tgeneexpression: 'geneexpression'\n}\n\n// codons that are not here are stop codon!!\nexport const codon = {\n\tGCT: 'A',\n\tGCC: 'A',\n\tGCA: 'A',\n\tGCG: 'A',\n\tCGT: 'R',\n\tCGC: 'R',\n\tCGA: 'R',\n\tCGG: 'R',\n\tAGA: 'R',\n\tAGG: 'R',\n\tAAT: 'N',\n\tAAC: 'N',\n\tGAT: 'D',\n\tGAC: 'D',\n\tTGT: 'C',\n\tTGC: 'C',\n\tCAA: 'Q',\n\tCAG: 'Q',\n\tGAA: 'E',\n\tGAG: 'E',\n\tGGT: 'G',\n\tGGC: 'G',\n\tGGA: 'G',\n\tGGG: 'G',\n\tCAT: 'H',\n\tCAC: 'H',\n\tATT: 'I',\n\tATC: 'I',\n\tATA: 'I',\n\tTTA: 'L',\n\tTTG: 'L',\n\tCTT: 'L',\n\tCTC: 'L',\n\tCTA: 'L',\n\tCTG: 'L',\n\tAAA: 'K',\n\tAAG: 'K',\n\tATG: 'M',\n\tTTT: 'F',\n\tTTC: 'F',\n\tCCT: 'P',\n\tCCC: 'P',\n\tCCA: 'P',\n\tCCG: 'P',\n\tTCT: 'S',\n\tTCC: 'S',\n\tTCA: 'S',\n\tTCG: 'S',\n\tAGT: 'S',\n\tAGC: 'S',\n\tACT: 'T',\n\tACC: 'T',\n\tACA: 'T',\n\tACG: 'T',\n\tTGG: 'W',\n\tTAT: 'Y',\n\tTAC: 'Y',\n\tGTT: 'V',\n\tGTC: 'V',\n\tGTA: 'V',\n\tGTG: 'V'\n}\n\nexport const codon_stop = '*'\n\nexport function nt2aa(gm) {\n\t// must convert genome seq to upper case!!!\n\tif (!gm.genomicseq) return undefined\n\tconst enlst: string[] = []\n\tif (gm.coding) {\n\t\tfor (const e of gm.coding.values()) {\n\t\t\tconst s = gm.genomicseq.substr(e[0] - gm.start, e[1] - e[0])\n\t\t\tif (gm.strand == '-') {\n\t\t\t\tenlst.push(reversecompliment(s))\n\t\t\t} else {\n\t\t\t\tenlst.push(s)\n\t\t\t}\n\t\t}\n\t}\n\tconst nt = enlst.join('')\n\tconst pep: string[] = []\n\n\t/*\n\tif startCodonFrame is set, will not begin translation from first nt, but will skip 1 or 2 nt at the beginning\n\tin case of IGKC, frame=1 means it will borrow 1 nt from the previous IGKJ exons\n\tso the first two nucleotides from the current exon will have to be skipped when translating IGKC alone\n\t*/\n\tconst startntidx = gm.startCodonFrame ? 3 - gm.startCodonFrame : 0\n\tfor (let i = startntidx; i < nt.length; i += 3) {\n\t\tconst a = codon[nt.substr(i, 3)]\n\t\tpep.push(a || codon_stop)\n\t}\n\tgm.cdseq = nt\n\treturn pep.join('')\n}\n\nexport function bplen(len, isfile?: boolean) {\n\t// if \"isfile\" is true, to measure file size instead of basepair len\n\tif (len >= 1000000000) return (len / 1000000000).toFixed(1) + ' Gb'\n\tif (len >= 10000000) return Math.ceil(len / 1000000) + ' Mb'\n\tif (len >= 1000000) return (len / 1000000).toFixed(1) + ' Mb'\n\tif (len >= 10000) return Math.ceil(len / 1000) + ' Kb'\n\tif (len >= 1000) return (len / 1000).toFixed(1) + ' Kb'\n\treturn len + (isfile ? 'bytes' : ' bp')\n}\n\nexport const basecolor = {\n\tA: '#ca0020',\n\tT: '#f4a582',\n\tC: '#92c5de',\n\tG: '#0571b0'\n}\n\nexport function basecompliment(nt) {\n\tswitch (nt) {\n\t\tcase 'A':\n\t\t\treturn 'T'\n\t\tcase 'T':\n\t\t\treturn 'A'\n\t\tcase 'C':\n\t\t\treturn 'G'\n\t\tcase 'G':\n\t\t\treturn 'C'\n\t\tcase 'a':\n\t\t\treturn 't'\n\t\tcase 't':\n\t\t\treturn 'a'\n\t\tcase 'c':\n\t\t\treturn 'g'\n\t\tcase 'g':\n\t\t\treturn 'c'\n\t\tdefault:\n\t\t\treturn nt\n\t}\n}\n\nexport function reversecompliment(s) {\n\tconst tmp: string[] = []\n\tfor (let i = s.length - 1; i >= 0; i--) {\n\t\ttmp.push(basecompliment(s[i]))\n\t}\n\treturn tmp.join('')\n}\n\nexport function spliceeventchangegmexon(gm, evt) {\n\t/*\n\talter gm.coding[], by exon-skip/alt events\n\tfor frame checking\n\tgm must have coding\n\t*/\n\tconst gm2 = {\n\t\tchr: gm.chr,\n\t\tstart: gm.start,\n\t\tstop: gm.stop,\n\t\tstrand: gm.strand,\n\t\tcoding: [] as number[][]\n\t}\n\tif (evt.isskipexon || evt.isaltexon) {\n\t\tfor (let i = 0; i < gm.exon.length; i++) {\n\t\t\tconst codingstart = Math.max(gm.codingstart, gm.exon[i][0])\n\t\t\tconst codingstop = Math.min(gm.codingstop, gm.exon[i][1])\n\t\t\tif (codingstart > codingstop) {\n\t\t\t\t// not coding exon\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (evt.skippedexon.indexOf(i) == -1) {\n\t\t\t\t// not skipped\n\t\t\t\tgm2.coding.push([codingstart, codingstop])\n\t\t\t} else {\n\t\t\t\t// skipped\n\t\t\t}\n\t\t}\n\t} else if (evt.a5ss || evt.a3ss) {\n\t\t// still equal number of exons\n\t\t// adjust the affected exon first, then figure out coding[]\n\t\tconst exons = gm.exon.map(e => [e[0], e[1]])\n\t\tconst forward = gm.strand == '+'\n\t\tif (evt.a5ss) {\n\t\t\tif (forward) {\n\t\t\t\texons[evt.exon5idx][1] = evt.junctionB.start\n\t\t\t} else {\n\t\t\t\texons[evt.exon5idx + 1][0] = evt.junctionB.stop\n\t\t\t}\n\t\t} else {\n\t\t\tif (forward) {\n\t\t\t\texons[evt.exon5idx + 1][0] = evt.junctionB.stop\n\t\t\t} else {\n\t\t\t\texons[evt.exon5idx][1] = evt.junctionB.start\n\t\t\t}\n\t\t}\n\t\t// from new exons, figure out coding exons\n\t\tfor (const e of exons) {\n\t\t\tconst codingstart = Math.max(gm.codingstart, e[0])\n\t\t\tconst codingstop = Math.min(gm.codingstop, e[1])\n\t\t\tif (codingstart > codingstop) {\n\t\t\t\t// not coding exon\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tgm2.coding.push([codingstart, codingstop])\n\t\t}\n\t}\n\treturn gm2\n}\n\nexport function fasta2gmframecheck(gm, str) {\n\t/*\n\tgm{}\n\t\t.chr\n\t\t.start\n\t\t.stop\n\t\t\tstart/stop is transcript position\n\t\t.strand\n\t\t.coding[]\n\tstr\n\t\tsamtools faidx output\n\t*/\n\tconst lines = str.split('\\n')\n\t// remove fasta header\n\tlines.shift()\n\tgm.genomicseq = lines.join('').toUpperCase()\n\n\tconst aaseq = nt2aa(gm)\n\tif (!aaseq) return OUT_frame\n\n\tlet thisframe = OUT_frame\n\tconst stopcodonidx = aaseq.indexOf(codon_stop)\n\tif (stopcodonidx == aaseq.length - 1) {\n\t\t// the first appearance of stop codon is at the last of translation\n\t\tthisframe = IN_frame\n\t}\n\treturn thisframe\n}\n\nexport function validate_vcfinfofilter(obj) {\n\t/*\n\tvalidate vcfinfofilter as from embedding api or dataset\n\t*/\n\n\tif (!obj.lst) return '.lst missing'\n\n\tif (!Array.isArray(obj.lst)) return 'input is not an array'\n\n\tfor (const set of obj.lst) {\n\t\tif (!set.name) return 'name missing from a set of .vcfinfofilter.lst'\n\n\t\tif (set.autocategory || set.categories) {\n\t\t\t// categorical info, auto or defined\n\n\t\t\tif (!set.autocategory) {\n\t\t\t\tfor (const k in set.categories) {\n\t\t\t\t\tconst v = set.categories[k]\n\t\t\t\t\tif (!set.autocolor && !v.color)\n\t\t\t\t\t\treturn '.color missing for class ' + k + ' from .categories of set ' + set.name\n\t\t\t\t\tif (!v.label) {\n\t\t\t\t\t\tv.label = k\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (set.categoryhidden) {\n\t\t\t\tfor (const k in set.categoryhidden) {\n\t\t\t\t\tif (!set.categories[k]) return 'unknown hidden-by-default category ' + k + ' from set ' + set.name\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tset.categoryhidden = {}\n\t\t\t}\n\t\t} else if (set.numericfilter) {\n\t\t\t// otherwise, numerical value, the style of population frequency filter\n\t\t\tconst lst: any[] = []\n\t\t\tfor (const v of set.numericfilter) {\n\t\t\t\tif (typeof v == 'number') {\n\t\t\t\t\t/*\n\t\t\t\t\tjust a number, defaults to 'lower-than'\n\t\t\t\t\t*/\n\t\t\t\t\tlst.push({ side: '<', value: v })\n\t\t\t\t} else {\n\t\t\t\t\tlst.push({\n\t\t\t\t\t\tside: v.side || '<',\n\t\t\t\t\t\tvalue: v.value\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t\tset.numericfilter = lst\n\n\t\t\t//return 'no .categories or .numericfilter from set '+set.name\n\t\t}\n\n\t\tif (set.altalleleinfo) {\n\t\t\tif (!set.altalleleinfo.key) {\n\t\t\t\treturn '.key missing from .altalleleinfo from set ' + set.name\n\t\t\t}\n\t\t} else if (set.locusinfo) {\n\t\t\tif (!set.locusinfo.key) {\n\t\t\t\treturn '.key missing from .locusinfo from set ' + set.name\n\t\t\t}\n\t\t} else {\n\t\t\treturn 'neither .altalleleinfo or .locusinfo is available from set ' + set.name\n\t\t}\n\t}\n}\n\nexport function contigNameNoChr(genome, chrlst) {\n\t/*\n\tFIXME hard-coded for human genome styled chromosome names\n\t*/\n\tfor (const n in genome.majorchr) {\n\t\tif (chrlst.indexOf(n.replace('chr', '')) != -1) {\n\t\t\treturn true\n\t\t}\n\t}\n\tif (genome.minorchr) {\n\t\tfor (const n in genome.minorchr) {\n\t\t\tif (chrlst.indexOf(n.replace('chr', '')) != -1) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t}\n\t}\n\treturn false\n}\nexport function contigNameNoChr2(genome, chrlst) {\n\t// returns number of matching chr names that either includes \"chr\" or not\n\t// for detecting if chrlst entirely mismatch with what's in the genome build\n\t// TODO replace contigNameNoChr\n\tlet nochrcount = 0,\n\t\thaschrcount = 0\n\tfor (const n in genome.majorchr) {\n\t\tif (chrlst.includes(n)) {\n\t\t\thaschrcount++\n\t\t} else if (chrlst.includes(n.replace('chr', ''))) {\n\t\t\tnochrcount++\n\t\t}\n\t}\n\tif (genome.minorchr) {\n\t\tfor (const n in genome.minorchr) {\n\t\t\tif (chrlst.includes(n)) {\n\t\t\t\thaschrcount++\n\t\t\t} else if (chrlst.includes(n.replace('chr', ''))) {\n\t\t\t\tnochrcount++\n\t\t\t}\n\t\t}\n\t}\n\treturn [nochrcount, haschrcount]\n}\n\nexport function getMax_byiqr(lst, novaluemax) {\n\t/*\n\tlst: array of numbers\n\tnovaluemax: when lst is empty, return this value\n\tcutoff value based on IQR to exclude outlier values\n\t*/\n\tif (lst.length == 0) return novaluemax\n\tlst.sort((i, j) => i - j)\n\tconst max = lst[lst.length - 1]\n\tif (lst.length <= 5) return max\n\tconst q1 = lst[Math.floor(lst.length / 4)]\n\tconst q2 = lst[Math.floor((lst.length * 3) / 4)]\n\treturn Math.min(q2 + (q2 - q1) * 1.5, max)\n}\n\nexport function alleleInGenotypeStr(genotype, allele) {\n\tif (!genotype) return false\n\tif (genotype.indexOf('/') != -1) {\n\t\treturn genotype.split('/').indexOf(allele) != -1\n\t}\n\treturn genotype.split('|').indexOf(allele) != -1\n}\n\nexport const gmmode = {\n\tgenomic: 'genomic',\n\tsplicingrna: 'splicing RNA', // if just 1 exon, use \"RNA\" as label\n\texononly: 'exon only',\n\tprotein: 'protein',\n\tgmsum: 'aggregated exons'\n}\n\n/*\ninput:\n\nm={}\n\tm.csq=[]\n\t\telement: {\n\t\t\tAllele: str,\n\t\t\tConsequence: str,\n\t\t\tCANONICAL: str, // true if _isoform is canonical\n\t\t\t...\n\t\t\t_isoform: str,\n\t\t\t_class: str,\n\t\t\t_csqrank: int\n\t\t}\n\tm.ann=[]\n\t\tannovar output. may be derelict\nblock={}\n\tblock.usegm={ isoform }\n\tcan be a mock object when running this function in node!\n\ndoes:\n\tfind an annotation from m.csq[] that's fitting the circumstance\n\t- current gm isoform displayed in block gene mode\n\t- any canonical isoform from m.csq[] (can be missing if vep is not instructed to do it)\n\t- one with highest _csqrank\n\tthen, copy its class/mname to m{}\n\thas many fall-back and always try to assign class/mname\n\nno return\n*/\nexport function vcfcopymclass(m, block) {\n\tif (m.csq) {\n\t\tlet useone // point to the element of m.csq[], from this class/mname is copied to m{}\n\n\t\tif (block.usegm) {\n\t\t\t// block is in gm mode, find a csq matching with the genemodel isoform\n\t\t\tuseone = m.csq.find(i => i._isoform == block.usegm.isoform)\n\t\t\tif (!useone) {\n\t\t\t\t// no match to usegm isoform\n\t\t\t\tif (block.gmmode == 'genomic') {\n\t\t\t\t\t// in genomic mode and zoomed out, where this variant is from a neighboring gene near block.usegm and is expected not to match\n\t\t\t\t} else {\n\t\t\t\t\t// not in genomic mode and all variants must be within range of this isoform, the csq may mismatch with the isoform. set this flag to alert on client\n\t\t\t\t\tm.__cim = true\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (!useone) {\n\t\t\t// find one using canonical isoform\n\t\t\tuseone = m.csq.find(i => i.CANONICAL)\n\n\t\t\tif (!useone) {\n\t\t\t\t// none of the elements in m.csq[] is using a canonical isoform, as that's a vep optional output\n\t\t\t\t// last method: choose *colorful* annotation based on if is canonical, _csqrank\n\t\t\t\tuseone = m.csq[0]\n\t\t\t\tfor (const q of m.csq) {\n\t\t\t\t\tif (q._csqrank < useone._csqrank) {\n\t\t\t\t\t\tuseone = q\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (useone) {\n\t\t\tm.gene = useone._gene\n\t\t\tm.isoform = useone._isoform\n\t\t\tm.class = useone._class\n\t\t\tm.dt = useone._dt\n\t\t\tm.mname = useone._mname\n\n\t\t\tif (m.class == mclassnoncoding) {\n\t\t\t\t// noncoding converted from csq is not a meaningful, drab color, has no mname label, delete so later will be converted to non-protein class\n\t\t\t\tdelete m.class\n\t\t\t}\n\t\t}\n\t} else if (m.ann) {\n\t\t// there could be many applicable annotations, the first one not always desirable\n\t\t// choose *colorful* annotation based on _csqrank\n\t\tlet useone: any = null\n\t\tif (block.usegm) {\n\t\t\tfor (const q of m.ann) {\n\t\t\t\tif (q._isoform != block.usegm.isoform) continue\n\t\t\t\tif (useone) {\n\t\t\t\t\tif (q._csqrank < useone._csqrank) {\n\t\t\t\t\t\tuseone = q\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tuseone = q\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!useone && block.gmmode == gmmode.genomic) {\n\t\t\t\t// no match to this gene, but in genomic mode, maybe from other genes?\n\t\t\t\tuseone = m.ann[0]\n\t\t\t}\n\t\t} else {\n\t\t\tuseone = m.ann[0]\n\t\t\tfor (const q of m.ann) {\n\t\t\t\tif (q._csqrank < useone._csqrank) {\n\t\t\t\t\tuseone = q\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (useone) {\n\t\t\tm.gene = useone._gene\n\t\t\tm.isoform = useone._isoform\n\t\t\tm.class = useone._class\n\t\t\tm.dt = useone._dt\n\t\t\tm.mname = useone._mname\n\n\t\t\tif (m.class == mclassnoncoding) {\n\t\t\t\tdelete m.class\n\t\t\t}\n\t\t}\n\t}\n\n\tif (m.class == undefined) {\n\t\t// infer class from m.type, which was assigned by vcf.js\n\t\tif (mclass[m.type]) {\n\t\t\tm.class = m.type\n\t\t\tm.dt = mclass[m.type].dt\n\t\t\tm.mname = m.id && m.id != '.' ? m.id : m.ref + '>' + m.alt\n\t\t\tif (m.mname.length > 15) {\n\t\t\t\t// avoid long indel\n\t\t\t\tm.mname = m.type\n\t\t\t}\n\t\t} else {\n\t\t\tm.class = mclassnonstandard\n\t\t\tm.dt = dtsnvindel\n\t\t\tm.mname = m.type\n\t\t}\n\t}\n\n\tdelete m.type\n}\n\n/*\nused in:\n\tmdssvcnv track, mutation attributes, items that are not annotated by an attribute for showing in legend, and server-side filtering\n*/\nexport const not_annotated = 'Unannotated'\n\n// kernal density estimator as from https://www.d3-graph-gallery.com/graph/density_basic.html\n\nexport function kernelDensityEstimator(kernel, X) {\n\treturn function (V) {\n\t\treturn X.map(x => {\n\t\t\treturn [x, V.map(v => kernel(x - v)).reduce((i, j) => i + j, 0) / V.length]\n\t\t})\n\t}\n}\n\nexport function kernelEpanechnikov(k) {\n\treturn function (v) {\n\t\treturn Math.abs((v /= k)) <= 1 ? (0.75 * (1 - v * v)) / k : 0\n\t}\n}\n\n/////////////////////// color sets /////////////////////////\n\nexport const schemeCategory20 = [\n\t'#1f77b4',\n\t'#aec7e8',\n\t'#ff7f0e',\n\t'#ffbb78',\n\t'#2ca02c',\n\t'#98df8a',\n\t'#d62728',\n\t'#ff9896',\n\t'#9467bd',\n\t'#c5b0d5',\n\t'#8c564b',\n\t'#c49c94',\n\t'#e377c2',\n\t'#f7b6d2',\n\t'#7f7f7f',\n\t'#c7c7c7',\n\t'#bcbd22',\n\t'#dbdb8d',\n\t'#17becf',\n\t'#9edae5'\n]\nexport const schemeCategory2 = ['#e75480', 'blue']\n\nexport function getColorScheme(number) {\n\tif (number > 20) {\n\t\tconst scheme: string[] = []\n\t\tfor (let i = 0; i < number; i++) scheme.push(d3.interpolateRainbow(i / number))\n\t\treturn scheme\n\t}\n\tif (number > 12) return schemeCategory20\n\telse if (number > 8) return d3.schemePaired\n\telse if (number > 2) return d3.schemeDark2\n\telse return schemeCategory2\n}\nexport function getColors(number) {\n\tconst scheme = getColorScheme(number)\n\treturn d3scale.scaleOrdinal(scheme)\n}\n\n// for now not using getColorScheme() for protein domains, because this color list have been in use since 2015...\nconst proteinDomainColors = [\n\t'#8dd3c7',\n\t'#bebada',\n\t'#fb8072',\n\t'#80b1d3',\n\t'#E8E89E',\n\t'#a6d854',\n\t'#fdb462',\n\t'#ffd92f',\n\t'#e5c494',\n\t'#b3b3b3'\n]\nexport function proteinDomainColorScale() {\n\treturn d3scale.scaleOrdinal().range(proteinDomainColors)\n}\n\n/////////////////////// end of color sets /////////////////////////\n\nexport const truncatingMutations = ['F', 'N', 'L', 'P']\nexport const proteinChangingMutations = ['F', 'N', 'L', 'P', 'D', 'I', 'ProteinAltering', 'M']\nexport const synonymousMutations = ['S', 'Intron', 'Utr3', 'Utr5', 'noncoding', 'E']\nexport const mutationClasses = Object.values(mclass)\n\t.filter(m => m.dt == dtsnvindel)\n\t.map(m => m.key)\nexport const CNVClasses = Object.values(mclass)\n\t.filter(m => m.dt == dtcnv)\n\t.map(m => m.key)\n\n// dt terms used for filtering variants for geneVariant term\nconst dtTerms_temp = [\n\t{\n\t\tid: 'snvindel',\n\t\tquery: 'snvindel',\n\t\tname: dt2label[dtsnvindel],\n\t\tparent_id: null,\n\t\tisleaf: true,\n\t\ttype: DTSNVINDEL,\n\t\tdt: dtsnvindel,\n\t\tvalues: {}\n\t},\n\t{\n\t\tid: 'cnv',\n\t\tquery: 'cnv',\n\t\tname: dt2label[dtcnv],\n\t\tparent_id: null,\n\t\tisleaf: true,\n\t\ttype: DTCNV,\n\t\tdt: dtcnv,\n\t\tvalues: {}\n\t},\n\t{\n\t\tid: 'fusion',\n\t\tquery: 'svfusion',\n\t\tname: dt2label[dtfusionrna],\n\t\tparent_id: null,\n\t\tisleaf: true,\n\t\ttype: DTFUSION,\n\t\tdt: dtfusionrna,\n\t\tvalues: {}\n\t},\n\t{\n\t\tid: 'sv',\n\t\tquery: 'svfusion',\n\t\tname: dt2label[dtsv],\n\t\tparent_id: null,\n\t\tisleaf: true,\n\t\ttype: DTSV,\n\t\tdt: dtsv,\n\t\tvalues: {}\n\t},\n\t{\n\t\tid: 'itd',\n\t\tquery: 'itd',\n\t\tname: dt2label[dtitd],\n\t\tparent_id: null,\n\t\tisleaf: true,\n\t\ttype: DTITD,\n\t\tdt: dtitd,\n\t\tvalues: {}\n\t}\n]\n// add origin annotations to dt terms\nconst dtTerms_temp2: any[] = []\nfor (const dtTerm of dtTerms_temp as any[]) {\n\tdtTerm.name_noOrigin = dtTerm.name // for labeling groups in groupsetting\n\tdtTerms_temp2.push(dtTerm) // no origin\n\tfor (const origin of ['somatic', 'germline']) {\n\t\t// add origins\n\t\tconst addOrigin = {\n\t\t\tid: `${dtTerm.id}_${origin}`,\n\t\t\tname: `${dtTerm.name} (${origin})`,\n\t\t\torigin\n\t\t}\n\t\tdtTerms_temp2.push(Object.assign({}, dtTerm, addOrigin))\n\t}\n}\nexport const dtTerms = dtTerms_temp2\n\nexport const colorScaleMap = {\n\tblueWhiteRed: { domain: [0, 0.5, 1], range: ['blue', 'white', 'red'] },\n\tgreenWhiteRed: { domain: [0, 0.5, 1], range: ['green', 'white', 'red'] },\n\tblueYellowRed: {\n\t\tdomain: [0, 0.17, 0.33, 0.5, 0.67, 0.83, 1],\n\t\trange: ['#313695', '#649AC7', '#BCE1ED', '#FFFFBF', '#FDBE70', '#EA5839', '#A50026']\n\t},\n\tgreenBlackRed: {\n\t\tdomain: [0, 0.17, 0.33, 0.5, 0.67, 0.83, 1],\n\t\trange: ['#00FF00', '#14E10C', '#1AAF10', '#000000', '#B01205', '#E20E03', '#FF0000']\n\t},\n\tblueBlackYellow: {\n\t\tdomain: [0, 0.17, 0.33, 0.5, 0.67, 0.83, 1],\n\t\trange: ['#0000FF', '#0000CC', '#000099', '#202020', '#999900', '#CCCC00', '#FFFF00']\n\t},\n\t// when hierCluster z-score transformation is not performed, should use two-color scale\n\twhiteRed: { domain: [0, 1], range: ['white', 'red'] }\n}\n\nexport function invalidcoord(thisgenome, chrom, start, stop) {\n\tif (!thisgenome) return 'no genome'\n\tif (!chrom) return 'no chr name'\n\tconst chr = thisgenome.chrlookup[chrom.toUpperCase()]\n\tif (!chr) return 'Invalid chromosome name: ' + chr\n\tif (!Number.isInteger(start)) return 'Non-numerical position: ' + start\n\tif (start < 0 || start >= chr.len) return 'Position out of range: ' + start\n\tif (!Number.isInteger(stop)) return 'Non-numerical position: ' + stop\n\tif (stop < 0 || stop > chr.len) return 'Position out of range: ' + stop\n\tif (start > stop) return 'Start position is greater than stop'\n\treturn false\n}\n\nexport function string2pos(s, genome, donotextend) {\n\ts = s.replace(/,/g, '')\n\tconst chr = genome.chrlookup[s.toUpperCase()]\n\tif (chr) {\n\t\t// chr name only, to middle\n\t\treturn {\n\t\t\tchr: chr.name,\n\t\t\tchrlen: chr.len,\n\t\t\tstart: Math.max(0, Math.ceil(chr.len / 2) - 10000),\n\t\t\tstop: Math.min(chr.len, Math.ceil(chr.len / 2) + 10000)\n\t\t}\n\t}\n\t{\n\t\t// special handling for snv4\n\t\tconst tmp = s.split('.')\n\t\tif (tmp.length >= 2) {\n\t\t\tconst chr = genome.chrlookup[tmp[0].toUpperCase()]\n\t\t\tconst pos = Number.parseInt(tmp[1])\n\t\t\tconst e = invalidcoord(genome, tmp[0], pos, pos + 1)\n\t\t\tif (!e) {\n\t\t\t\t// valid snv4\n\t\t\t\tconst bpspan = 400\n\t\t\t\treturn {\n\t\t\t\t\tchr: chr.name,\n\t\t\t\t\tchrlen: chr.len,\n\t\t\t\t\tstart: Math.max(0, pos - Math.ceil(bpspan / 2)),\n\t\t\t\t\tstop: Math.min(chr.len, pos + Math.ceil(bpspan / 2)),\n\t\t\t\t\tactualposition: { position: pos, len: 1 }\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tconst tmp = s.split(/[-:\\s]+/)\n\tif (tmp.length == 2) {\n\t\t// must be chr - pos\n\t\tconst pos = Number.parseInt(tmp[1])\n\t\tconst e = invalidcoord(genome, tmp[0], pos, pos + 1)\n\t\tif (e) {\n\t\t\treturn null\n\t\t}\n\t\tconst chr = genome.chrlookup[tmp[0].toUpperCase()]\n\t\tconst bpspan = 400\n\t\treturn {\n\t\t\tchr: chr.name,\n\t\t\tchrlen: chr.len,\n\t\t\tstart: Math.max(0, pos - Math.ceil(bpspan / 2)),\n\t\t\tstop: Math.min(chr.len, pos + Math.ceil(bpspan / 2)),\n\t\t\tactualposition: { position: pos, len: 1 }\n\t\t}\n\t}\n\tif (tmp.length == 3) {\n\t\t// must be chr - start - stop\n\t\tlet start = Number.parseInt(tmp[1]),\n\t\t\tstop = Number.parseInt(tmp[2])\n\t\tconst e = invalidcoord(genome, tmp[0], start, stop)\n\t\tif (e) {\n\t\t\treturn null\n\t\t}\n\t\tconst actualposition = { position: start, len: stop - start }\n\t\tconst chr = genome.chrlookup[tmp[0].toUpperCase()]\n\n\t\tif (!donotextend) {\n\t\t\tconst minspan = 400\n\t\t\tif (stop - start < minspan) {\n\t\t\t\tlet center = Math.ceil((start + stop) / 2)\n\t\t\t\tif (center + minspan / 2 >= chr.len) {\n\t\t\t\t\tcenter = chr.len - Math.ceil(minspan / 2)\n\t\t\t\t}\n\t\t\t\tstart = Math.max(0, center - Math.ceil(minspan / 2))\n\t\t\t\tstop = start + minspan\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tchr: chr.name,\n\t\t\tchrlen: chr.len,\n\t\t\tstart,\n\t\t\tstop,\n\t\t\tactualposition\n\t\t}\n\t}\n\treturn null\n}\n\n/////////////// splice junction event types\nexport const JT_na = 'na'\nexport const JT_canonical = 'canonical'\nexport const JT_exonskip = 'exonskip'\nexport const JT_exonaltuse = 'exonaltuse'\nexport const JT_a5ss = 'a5ss'\nexport const JT_a3ss = 'a3ss'\nexport const JTypes = {\n\t[JT_canonical]: {\n\t\tcolor: '#0C72A8',\n\t\tname: 'Canonical'\n\t},\n\t[JT_exonskip]: {\n\t\tcolor: '#D14747',\n\t\tname: 'ExonSkip'\n\t},\n\t[JT_a5ss]: {\n\t\tcolor: '#476CD1',\n\t\tname: \"Alt 5'SS\"\n\t},\n\t[JT_a3ss]: {\n\t\tcolor: '#47B582',\n\t\tname: \"Alt 3'SS\"\n\t},\n\t[JT_exonaltuse]: {\n\t\tcolor: '#E69525',\n\t\tname: 'Alternative exon'\n\t},\n\t[JT_na]: {\n\t\tcolor: '#787854',\n\t\tname: 'Unannotated'\n\t}\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;AKOO,IAAM,wBAAwB;AMgE9B,SAAS,gBAAgB,UAAwD;AACvF,SAAO,WAAW,YAAY,YAAY;AAC3C;ACzEO,IAAM,cAAc;AACpB,IAAM,YAAY;AAClB,IAAM,OAAO;AACb,IAAM,kBAAkB;AAGxB,IAAM,QAAQ;AACd,IAAM,WAAW;AACjB,IAAM,QAAQ;AACd,IAAM,aAAa;AACnB,IAAM,OAAO;AACb,IAAM,QAAQ;AACd,IAAM,eAAe;AACrB,IAAM,kBAAkB;AACxB,IAAM,qBAAqB;AAC3B,IAAM,UAAU;AAChB,IAAM,WAAW;AACjB,IAAM,uBAAuB;AAC7B,IAAM,aAAa;AACnB,IAAM,qBAAqB;AAC3B,IAAM,eAAe;AACrB,IAAM,aAAa;AACnB,IAAM,YAAY;AAClB,IAAM,sBAAsB;AAC5B,IAAM,6BAA6B;AACnC,IAAM,2BAA2B;AACjC,IAAM,MAAM;AACZ,IAAM,WAAW;AACjB,IAAM,YAAY;AAClB,IAAM,SAAS;AACf,IAAM,WAAW;AACjB,IAAM,kBAAkB;AACxB,IAAM,SAAS;AAMf,IAAM,YAAY;EACxB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;E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3
|
-
} from "./chunk-55FABQU2.js";
|
|
4
|
-
|
|
5
|
-
// src/block.mds.svcnv.share.js
|
|
6
|
-
function rnabamtk_initparam(c) {
|
|
7
|
-
if (!c.dna_mintotalreads) c.dna_mintotalreads = 8;
|
|
8
|
-
if (!c.rna_mintotalreads) c.rna_mintotalreads = 8;
|
|
9
|
-
if (!c.hetsnp_minbaf) c.hetsnp_minbaf = 0.3;
|
|
10
|
-
if (!c.hetsnp_maxbaf) c.hetsnp_maxbaf = 0.7;
|
|
11
|
-
if (c.rnapileup_q == void 0) c.rnapileup_q = 0;
|
|
12
|
-
if (!c.rnapileup_Q) c.rnapileup_Q = 13;
|
|
13
|
-
if (!c.binompvaluecutoff) c.binompvaluecutoff = 0.05;
|
|
14
|
-
if (!c.clientcolor_snpinuse) c.clientcolor_snpinuse = "blue";
|
|
15
|
-
if (!c.clientcolor_markernotinuse) c.clientcolor_markernotinuse = "#bbb";
|
|
16
|
-
}
|
|
17
|
-
function configPanel_rnabam(tk, block, loadTk) {
|
|
18
|
-
const c = tk.checkrnabam;
|
|
19
|
-
if (!c) return;
|
|
20
|
-
tk.tkconfigtip.d.append("hr");
|
|
21
|
-
const d = tk.tkconfigtip.d.append("div").style("margin", "15px 0px");
|
|
22
|
-
d.append("div").style("opacity", 0.5).style("font-size", ".9em").text("Finding heterozygous SNPs in DNA");
|
|
23
|
-
{
|
|
24
|
-
const row = d.append("div").style("margin-top", "5px");
|
|
25
|
-
row.append("span").html("DNA minimum total read count ");
|
|
26
|
-
row.append("input").attr("type", "number").style("width", "50px").property("value", c.dna_mintotalreads).on("keyup", (event) => {
|
|
27
|
-
if (!keyupEnter(event)) return;
|
|
28
|
-
let v = Number.parseInt(event.target.value);
|
|
29
|
-
if (!v || v <= 0) return;
|
|
30
|
-
if (c.dna_mintotalreads == v) {
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
c.dna_mintotalreads = v;
|
|
34
|
-
loadTk(tk, block);
|
|
35
|
-
});
|
|
36
|
-
row.append("div").style("opacity", ".5").style("font-size", ".8em").text("If a SNP's total coverage is below cutoff, it will be skipped.");
|
|
37
|
-
}
|
|
38
|
-
{
|
|
39
|
-
const row = d.append("div").style("margin-top", "5px");
|
|
40
|
-
row.append("span").html("Heterozygous SNP BAF range ");
|
|
41
|
-
row.append("input").attr("type", "number").style("width", "50px").property("value", c.hetsnp_minbaf).on("keyup", (event) => {
|
|
42
|
-
if (!keyupEnter(event)) return;
|
|
43
|
-
let v = Number.parseFloat(event.target.value);
|
|
44
|
-
if (!v || v <= 0) return;
|
|
45
|
-
if (c.hetsnp_minbaf == v) {
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
c.hetsnp_minbaf = v;
|
|
49
|
-
loadTk(tk, block);
|
|
50
|
-
});
|
|
51
|
-
row.append("span").style("opacity", ".5").style("font-size", ".8em").html(" ≤ BAF ≤ ");
|
|
52
|
-
row.append("input").attr("type", "number").style("width", "50px").property("value", c.hetsnp_maxbaf).on("keyup", (event) => {
|
|
53
|
-
if (!keyupEnter(event)) return;
|
|
54
|
-
let v = Number.parseFloat(event.target.value);
|
|
55
|
-
if (!v || v <= 0) return;
|
|
56
|
-
if (c.hetsnp_maxbaf == v) {
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
c.hetsnp_maxbaf = v;
|
|
60
|
-
loadTk(tk, block);
|
|
61
|
-
});
|
|
62
|
-
row.append("div").style("opacity", ".5").style("font-size", ".8em").text("If a SNP's BAF (B-allele fraction) is within this range, it is heterozygous.");
|
|
63
|
-
}
|
|
64
|
-
d.append("div").style("margin-top", "20px").style("opacity", 0.5).style("font-size", ".9em").text("Counting alleles in RNA-seq BAM file");
|
|
65
|
-
{
|
|
66
|
-
const row = d.append("div").style("margin-top", "5px");
|
|
67
|
-
row.append("span").html("Skip alignments with mapQ smaller than ");
|
|
68
|
-
row.append("input").attr("type", "number").style("width", "50px").property("value", c.rnapileup_q).on("keyup", (event) => {
|
|
69
|
-
if (!keyupEnter(event)) return;
|
|
70
|
-
let v = Number.parseInt(event.target.value);
|
|
71
|
-
if (!v || v < 0) return;
|
|
72
|
-
if (c.rnapileup_q == v) {
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
c.rnapileup_q = v;
|
|
76
|
-
loadTk(tk, block);
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
{
|
|
80
|
-
const row = d.append("div").style("margin-top", "5px");
|
|
81
|
-
row.append("span").html("Skip bases with baseQ/BAQ smaller than ");
|
|
82
|
-
row.append("input").attr("type", "number").style("width", "50px").property("value", c.rnapileup_Q).on("keyup", (event) => {
|
|
83
|
-
if (!keyupEnter(event)) return;
|
|
84
|
-
let v = Number.parseInt(event.target.value);
|
|
85
|
-
if (!v || v <= 0) return;
|
|
86
|
-
if (c.rnapileup_Q == v) {
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
c.rnapileup_Q = v;
|
|
90
|
-
loadTk(tk, block);
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
d.append("div").style("margin-top", "20px").style("opacity", 0.5).style("font-size", ".9em").text("Binomial test on whether a heterozygous SNP shows allelic bias in RNA");
|
|
94
|
-
{
|
|
95
|
-
const row = d.append("div").style("margin-top", "5px");
|
|
96
|
-
row.append("span").html("P-value cutoff ");
|
|
97
|
-
row.append("input").attr("type", "number").style("width", "50px").property("value", c.binompvaluecutoff).on("keyup", (event) => {
|
|
98
|
-
if (!keyupEnter(event)) return;
|
|
99
|
-
let v = Number.parseFloat(event.target.value);
|
|
100
|
-
if (!v || v <= 0 || v >= 1) return;
|
|
101
|
-
if (c.binompvaluecutoff == v) {
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
c.binompvaluecutoff = v;
|
|
105
|
-
loadTk(tk, block);
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
{
|
|
109
|
-
const row = d.append("div").style("margin-top", "5px");
|
|
110
|
-
row.append("span").html("RNA minimum total read count ");
|
|
111
|
-
row.append("input").attr("type", "number").style("width", "50px").property("value", c.rna_mintotalreads).on("keyup", (event) => {
|
|
112
|
-
if (!keyupEnter(event)) return;
|
|
113
|
-
let v = Number.parseInt(event.target.value);
|
|
114
|
-
if (!v || v <= 0) return;
|
|
115
|
-
if (c.rna_mintotalreads == v) {
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
c.rna_mintotalreads = v;
|
|
119
|
-
loadTk(tk, block);
|
|
120
|
-
});
|
|
121
|
-
row.append("div").style("opacity", ".5").style("font-size", ".8em").text("If a SNP's total read count from RNA is below cutoff, it won't do binomial test.");
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export {
|
|
126
|
-
rnabamtk_initparam,
|
|
127
|
-
configPanel_rnabam
|
|
128
|
-
};
|
|
129
|
-
//# sourceMappingURL=chunk-SFHG6H2D.js.map
|