@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
|
@@ -0,0 +1,2193 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appear2 as appear,
|
|
3
|
+
disappear2 as disappear,
|
|
4
|
+
export_data,
|
|
5
|
+
first_genetrack_tolist,
|
|
6
|
+
font,
|
|
7
|
+
make_table_2col,
|
|
8
|
+
newpane,
|
|
9
|
+
sayerror
|
|
10
|
+
} from "./chunk-CSAS3PVJ.js";
|
|
11
|
+
import {
|
|
12
|
+
invalidcoord,
|
|
13
|
+
string2pos
|
|
14
|
+
} from "./chunk-HJ6L54YS.js";
|
|
15
|
+
import "./chunk-KV4W2ACA.js";
|
|
16
|
+
import "./chunk-T4RYLTR3.js";
|
|
17
|
+
import {
|
|
18
|
+
Menu
|
|
19
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
20
|
+
import "./chunk-Y3SDMRDX.js";
|
|
21
|
+
import "./chunk-EEB5VE2A.js";
|
|
22
|
+
import "./chunk-6RRZRISL.js";
|
|
23
|
+
import "./chunk-2KM4PRQM.js";
|
|
24
|
+
import {
|
|
25
|
+
dofetch,
|
|
26
|
+
dofetch2,
|
|
27
|
+
dofetch3,
|
|
28
|
+
vcfparsemeta
|
|
29
|
+
} from "./chunk-VTHZGUSZ.js";
|
|
30
|
+
import "./chunk-3TV5WWUN.js";
|
|
31
|
+
import "./chunk-4Y5W26UF.js";
|
|
32
|
+
import {
|
|
33
|
+
bplen,
|
|
34
|
+
dt2label,
|
|
35
|
+
dtcnv,
|
|
36
|
+
dtfusionrna,
|
|
37
|
+
dtitd,
|
|
38
|
+
dtloh,
|
|
39
|
+
dtsnvindel,
|
|
40
|
+
dtsv,
|
|
41
|
+
getMax_byiqr,
|
|
42
|
+
mclass,
|
|
43
|
+
mclassitd,
|
|
44
|
+
tkt,
|
|
45
|
+
validtkt
|
|
46
|
+
} from "./chunk-UYKJOBRO.js";
|
|
47
|
+
import "./chunk-WINIL2KN.js";
|
|
48
|
+
import "./chunk-PF4DSFDR.js";
|
|
49
|
+
import "./chunk-7X6NF7NI.js";
|
|
50
|
+
import "./chunk-W5J3LTYS.js";
|
|
51
|
+
import {
|
|
52
|
+
category10_default
|
|
53
|
+
} from "./chunk-Z2ZITHT4.js";
|
|
54
|
+
import {
|
|
55
|
+
linear,
|
|
56
|
+
ordinal
|
|
57
|
+
} from "./chunk-4OLM3KSB.js";
|
|
58
|
+
import "./chunk-FXQXCOII.js";
|
|
59
|
+
import "./chunk-TLT4YIG3.js";
|
|
60
|
+
import "./chunk-5R63Q5KH.js";
|
|
61
|
+
import "./chunk-I6Y4O3RR.js";
|
|
62
|
+
import "./chunk-Q5RDQNIT.js";
|
|
63
|
+
import "./chunk-DQC5FFGV.js";
|
|
64
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
65
|
+
|
|
66
|
+
// src/samplematrix.featuremenu.js
|
|
67
|
+
function showMenu_isgenevalue(smat, f) {
|
|
68
|
+
smat.menu.d.append("div").attr("class", "sja_menuoption").text("Sort").on("click", () => {
|
|
69
|
+
smat.menu.hide();
|
|
70
|
+
if (f.sort) {
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
for (const f2 of smat.features) {
|
|
74
|
+
if (f2.isgenevalue) delete f2.sort;
|
|
75
|
+
}
|
|
76
|
+
f.sort = 1;
|
|
77
|
+
smat.draw_matrix();
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
function showMenu_iscnv(smat, f, obj) {
|
|
81
|
+
{
|
|
82
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
83
|
+
row.append("span").html("CNV log2(ratio) cutoff ");
|
|
84
|
+
row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
|
|
85
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
86
|
+
let v = Number.parseFloat(event2.target.value);
|
|
87
|
+
if (!v || v < 0) {
|
|
88
|
+
v = 0;
|
|
89
|
+
}
|
|
90
|
+
if (v == 0) {
|
|
91
|
+
if (obj.valuecutoff) {
|
|
92
|
+
obj.valuecutoff = 0;
|
|
93
|
+
smat.update_singlefeature(f);
|
|
94
|
+
} else {
|
|
95
|
+
}
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
if (obj.valuecutoff) {
|
|
99
|
+
if (obj.valuecutoff == v) {
|
|
100
|
+
} else {
|
|
101
|
+
obj.valuecutoff = v;
|
|
102
|
+
smat.update_singlefeature(f);
|
|
103
|
+
}
|
|
104
|
+
} else {
|
|
105
|
+
obj.valuecutoff = v;
|
|
106
|
+
smat.update_singlefeature(f);
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Only show CNV with absolute log2(ratio) no less than cutoff.<br>Set to 0 to cancel.");
|
|
110
|
+
}
|
|
111
|
+
{
|
|
112
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
113
|
+
row.append("span").html("CNV segment size limit ");
|
|
114
|
+
row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
|
|
115
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
116
|
+
let v = Number.parseInt(event2.target.value);
|
|
117
|
+
if (!v || v < 0) {
|
|
118
|
+
v = 0;
|
|
119
|
+
}
|
|
120
|
+
if (v == 0) {
|
|
121
|
+
if (obj.focalsizelimit) {
|
|
122
|
+
obj.focalsizelimit = 0;
|
|
123
|
+
smat.update_singlefeature(f);
|
|
124
|
+
} else {
|
|
125
|
+
}
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
if (obj.focalsizelimit) {
|
|
129
|
+
if (obj.focalsizelimit == v) {
|
|
130
|
+
} else {
|
|
131
|
+
obj.focalsizelimit = v;
|
|
132
|
+
smat.update_singlefeature(f);
|
|
133
|
+
}
|
|
134
|
+
} else {
|
|
135
|
+
obj.focalsizelimit = v;
|
|
136
|
+
smat.update_singlefeature(f);
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
row.append("span").text("bp");
|
|
140
|
+
row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Limit the CNV segment length to show only focal events.<br>Set to 0 to cancel.");
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
function showMenu_isloh(smat, f, obj) {
|
|
144
|
+
{
|
|
145
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
146
|
+
row.append("span").html("LOH segmean cutoff ");
|
|
147
|
+
row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
|
|
148
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
149
|
+
let v = Number.parseFloat(event2.target.value);
|
|
150
|
+
if (!v || v < 0) {
|
|
151
|
+
v = 0;
|
|
152
|
+
}
|
|
153
|
+
if (v == 0) {
|
|
154
|
+
if (obj.valuecutoff) {
|
|
155
|
+
obj.valuecutoff = 0;
|
|
156
|
+
smat.update_singlefeature(f);
|
|
157
|
+
} else {
|
|
158
|
+
}
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
if (obj.valuecutoff) {
|
|
162
|
+
if (obj.valuecutoff == v) {
|
|
163
|
+
} else {
|
|
164
|
+
obj.valuecutoff = v;
|
|
165
|
+
smat.update_singlefeature(f);
|
|
166
|
+
}
|
|
167
|
+
} else {
|
|
168
|
+
obj.valuecutoff = v;
|
|
169
|
+
smat.update_singlefeature(f);
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Only show LOH with segmean no less than cutoff.<br>Set to 0 to cancel.");
|
|
173
|
+
}
|
|
174
|
+
{
|
|
175
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
176
|
+
row.append("span").html("LOH segment size limit ");
|
|
177
|
+
row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
|
|
178
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
179
|
+
let v = Number.parseInt(event2.target.value);
|
|
180
|
+
if (!v || v < 0) {
|
|
181
|
+
v = 0;
|
|
182
|
+
}
|
|
183
|
+
if (v == 0) {
|
|
184
|
+
if (obj.focalsizelimit) {
|
|
185
|
+
obj.focalsizelimit = 0;
|
|
186
|
+
smat.update_singlefeature(f);
|
|
187
|
+
} else {
|
|
188
|
+
}
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
if (obj.focalsizelimit) {
|
|
192
|
+
if (obj.focalsizelimit == v) {
|
|
193
|
+
} else {
|
|
194
|
+
obj.focalsizelimit = v;
|
|
195
|
+
smat.update_singlefeature(f);
|
|
196
|
+
}
|
|
197
|
+
} else {
|
|
198
|
+
obj.focalsizelimit = v;
|
|
199
|
+
smat.update_singlefeature(f);
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
row.append("span").text("bp");
|
|
203
|
+
row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Limit the LOH segment length to show only focal events.<br>Set to 0 to cancel.");
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
function showMenu_ismutation(smat, f) {
|
|
207
|
+
{
|
|
208
|
+
const div = smat.menu.d.append("div").style("margin", "10px").style("border", "solid 1px #ededed");
|
|
209
|
+
const update = () => {
|
|
210
|
+
smat.update_singlefeature(f);
|
|
211
|
+
smat.menu.hide();
|
|
212
|
+
};
|
|
213
|
+
const table = div.append("table").style("margin", "10px").style("border-spacing", "1px");
|
|
214
|
+
const tbody = table.append("tbody");
|
|
215
|
+
{
|
|
216
|
+
const tr = tbody.append("tr");
|
|
217
|
+
tr.append("td").style("opacity", 0.5).text("CNV");
|
|
218
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.cnv.hidden ? "Show" : "Hide").on("click", () => {
|
|
219
|
+
f.cnv.hidden = !f.cnv.hidden;
|
|
220
|
+
update();
|
|
221
|
+
});
|
|
222
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
223
|
+
ismutation_hideallclass(f);
|
|
224
|
+
delete f.cnv.hidden;
|
|
225
|
+
update();
|
|
226
|
+
});
|
|
227
|
+
const td = tr.append("td");
|
|
228
|
+
if (!f.cnv.hidden) {
|
|
229
|
+
td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
|
|
230
|
+
smat.menu.clear();
|
|
231
|
+
showMenu_iscnv(smat, f, f.cnv);
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
{
|
|
236
|
+
const tr = tbody.append("tr");
|
|
237
|
+
tr.append("td").style("opacity", 0.5).text("LOH");
|
|
238
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.loh.hidden ? "Show" : "Hide").on("click", () => {
|
|
239
|
+
f.loh.hidden = !f.loh.hidden;
|
|
240
|
+
update();
|
|
241
|
+
});
|
|
242
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
243
|
+
ismutation_hideallclass(f);
|
|
244
|
+
delete f.loh.hidden;
|
|
245
|
+
update();
|
|
246
|
+
});
|
|
247
|
+
const td = tr.append("td");
|
|
248
|
+
if (!f.loh.hidden) {
|
|
249
|
+
td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
|
|
250
|
+
smat.menu.clear();
|
|
251
|
+
showMenu_isloh(smat, f, f.loh);
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
{
|
|
256
|
+
const tr = tbody.append("tr");
|
|
257
|
+
tr.append("td").style("opacity", 0.5).text("ITD");
|
|
258
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.itd.hidden ? "Show" : "Hide").on("click", () => {
|
|
259
|
+
f.itd.hidden = !f.itd.hidden;
|
|
260
|
+
update();
|
|
261
|
+
});
|
|
262
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
263
|
+
ismutation_hideallclass(f);
|
|
264
|
+
delete f.itd.hidden;
|
|
265
|
+
update();
|
|
266
|
+
});
|
|
267
|
+
const td = tr.append("td");
|
|
268
|
+
if (!f.itd.hidden) {
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
{
|
|
272
|
+
const tr = tbody.append("tr");
|
|
273
|
+
tr.append("td").style("opacity", 0.5).text("SV");
|
|
274
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.sv.hidden ? "Show" : "Hide").on("click", () => {
|
|
275
|
+
f.sv.hidden = !f.sv.hidden;
|
|
276
|
+
update();
|
|
277
|
+
});
|
|
278
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
279
|
+
ismutation_hideallclass(f);
|
|
280
|
+
delete f.sv.hidden;
|
|
281
|
+
update();
|
|
282
|
+
});
|
|
283
|
+
const td = tr.append("td");
|
|
284
|
+
if (!f.sv.hidden) {
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
{
|
|
288
|
+
const tr = tbody.append("tr");
|
|
289
|
+
tr.append("td").style("opacity", 0.5).text("Fusion");
|
|
290
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.fusion.hidden ? "show" : "hide").on("click", () => {
|
|
291
|
+
f.fusion.hidden = !f.fusion.hidden;
|
|
292
|
+
update();
|
|
293
|
+
});
|
|
294
|
+
tr.append("td").attr("class", "sja_menuoption").text("show only").on("click", () => {
|
|
295
|
+
ismutation_hideallclass(f);
|
|
296
|
+
delete f.fusion.hidden;
|
|
297
|
+
update();
|
|
298
|
+
});
|
|
299
|
+
const td = tr.append("td");
|
|
300
|
+
if (!f.fusion.hidden) {
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
table.append("tbody").append("tr").append("td").attr("colspan", 4).style("padding-top", "10px").append("span").style("font-size", ".8em").text("List SNV/indel").attr("class", "sja_clbtext").on("click", () => {
|
|
304
|
+
if (tbody2.style("display") == "none") {
|
|
305
|
+
tbody2.style("display", "table-row-group");
|
|
306
|
+
} else {
|
|
307
|
+
tbody2.style("display", "none");
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
const tbody2 = table.append("tbody").style("display", "none");
|
|
311
|
+
for (const k in mclass) {
|
|
312
|
+
const c = mclass[k];
|
|
313
|
+
if (c.dt != dtsnvindel) {
|
|
314
|
+
continue;
|
|
315
|
+
}
|
|
316
|
+
const tr = tbody2.append("tr");
|
|
317
|
+
tr.append("td").style("opacity", 0.5).text(c.label);
|
|
318
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.snvindel.excludeclasses[k] ? "Show" : "Hide").on("click", () => {
|
|
319
|
+
if (f.snvindel.excludeclasses[k]) {
|
|
320
|
+
delete f.snvindel.excludeclasses[k];
|
|
321
|
+
} else {
|
|
322
|
+
f.snvindel.excludeclasses[k] = 1;
|
|
323
|
+
}
|
|
324
|
+
update();
|
|
325
|
+
});
|
|
326
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
327
|
+
ismutation_hideallclass(f);
|
|
328
|
+
delete f.snvindel.excludeclasses[k];
|
|
329
|
+
update();
|
|
330
|
+
});
|
|
331
|
+
const td = tr.append("td");
|
|
332
|
+
}
|
|
333
|
+
div.append("div").style("margin", "10px").append("span").style("font-size", ".8em").text("Show all classes").attr("class", "sja_clbtext").on("click", () => {
|
|
334
|
+
f.cnv.hidden = false;
|
|
335
|
+
f.loh.hidden = false;
|
|
336
|
+
f.itd.hidden = false;
|
|
337
|
+
f.sv.hidden = false;
|
|
338
|
+
f.fusion.hidden = false;
|
|
339
|
+
f.snvindel.excludeclasses = {};
|
|
340
|
+
update();
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
function ismutation_hideallclass(f) {
|
|
345
|
+
f.cnv.hidden = true;
|
|
346
|
+
f.loh.hidden = true;
|
|
347
|
+
f.itd.hidden = true;
|
|
348
|
+
f.sv.hidden = true;
|
|
349
|
+
f.fusion.hidden = true;
|
|
350
|
+
f.snvindel.excludeclasses = {};
|
|
351
|
+
for (const k in mclass) {
|
|
352
|
+
if (mclass[k].dt == dtsnvindel) f.snvindel.excludeclasses[k] = 1;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// src/samplematrix.kmplot.js
|
|
357
|
+
function may_add_kmplotbutton(smat, buttonrow) {
|
|
358
|
+
if (!smat.mds || !smat.mds.survivalplot) return;
|
|
359
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("SURVIVAL PLOT").attr("class", "sja_clbtext").on("click", (event2) => {
|
|
360
|
+
smat.menu.clear().showunder(event2.target);
|
|
361
|
+
kmplot_menu(smat);
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
async function kmplot_menu(smat) {
|
|
365
|
+
const mutation_features = smat.features.filter((i) => i.ismutation);
|
|
366
|
+
try {
|
|
367
|
+
if (mutation_features.length != 2) throw "only works with two genomic features.";
|
|
368
|
+
await kmplot_do(smat, mutation_features[0], mutation_features[1]);
|
|
369
|
+
} catch (e) {
|
|
370
|
+
smat.menu.d.append("div").style("margin", "20px").text("Cannot make survival plot: " + (e.message || e));
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
async function kmplot_do(smat, f1, f2) {
|
|
374
|
+
const s1 = [], s2 = [], s12 = [];
|
|
375
|
+
for (const i of smat.samples) {
|
|
376
|
+
const in1 = f1.items.find((j) => j.sample == i.name);
|
|
377
|
+
const in2 = f2.items.find((j) => j.sample == i.name);
|
|
378
|
+
if (in1) {
|
|
379
|
+
if (in2) s12.push(i.name);
|
|
380
|
+
else s1.push(i.name);
|
|
381
|
+
} else {
|
|
382
|
+
s2.push(i.name);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
const plot = {
|
|
386
|
+
renderplot: 1,
|
|
387
|
+
samplerule: {
|
|
388
|
+
full: {},
|
|
389
|
+
mutated_sets: [
|
|
390
|
+
{ name: f1.label + " mutated (n=" + s1.length + ")", samplenames: s1 },
|
|
391
|
+
{ name: f2.label + " mutated (n=" + s2.length + ")", samplenames: s2 },
|
|
392
|
+
{ name: f1.label + " and " + f2.label + " mutated (n=" + s12.length + ")", samplenames: s12 }
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
if (smat.limitsamplebyeitherannotation) {
|
|
397
|
+
plot.samplerule.full = {
|
|
398
|
+
byattr: 1,
|
|
399
|
+
key: smat.limitsamplebyeitherannotation[0].key,
|
|
400
|
+
value: smat.limitsamplebyeitherannotation[0].value,
|
|
401
|
+
immutable: 1
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
const pane = newpane({ x: 100, y: 100 });
|
|
405
|
+
pane.header.text(
|
|
406
|
+
(smat.limitsamplebyeitherannotation ? smat.limitsamplebyeitherannotation[0].value + " " : "") + "survival by " + f1.label + " and " + f2.label + " mutation status"
|
|
407
|
+
);
|
|
408
|
+
const _ = await import("./mds.survivalplot-57NIKSSH.js");
|
|
409
|
+
_.init(
|
|
410
|
+
{
|
|
411
|
+
mds: smat.mds,
|
|
412
|
+
genome: smat.genome,
|
|
413
|
+
plotlist: [plot]
|
|
414
|
+
},
|
|
415
|
+
pane.body
|
|
416
|
+
);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
// src/samplematrix.js
|
|
420
|
+
var saynovalue = "na";
|
|
421
|
+
var default_cnvgaincolor = "#D6683C";
|
|
422
|
+
var default_cnvlosscolor = "#67a9cf";
|
|
423
|
+
var default_genevaluecolor = "#095873";
|
|
424
|
+
var default_lohcolor = "#858585";
|
|
425
|
+
var default_svcolor = "#858585";
|
|
426
|
+
var minheight2showname = 8;
|
|
427
|
+
var Samplematrix = class {
|
|
428
|
+
/*
|
|
429
|
+
init ui
|
|
430
|
+
*/
|
|
431
|
+
constructor(p) {
|
|
432
|
+
for (const k in p) {
|
|
433
|
+
this[k] = p[k];
|
|
434
|
+
}
|
|
435
|
+
if (this.debugmode) window.smat = this;
|
|
436
|
+
this.tip = new Menu({ padding: "0px", hideXmute: 1, hideYmute: 1 });
|
|
437
|
+
this.menu = new Menu({ padding: "0px" });
|
|
438
|
+
this.errdiv = this.holder.append("div");
|
|
439
|
+
if (!this.iscustom) {
|
|
440
|
+
try {
|
|
441
|
+
if (!this.dslabel) throw "not custom data but dslabel is missing";
|
|
442
|
+
this.mds = this.genome.datasets[this.dslabel];
|
|
443
|
+
if (!this.mds) throw "invalid dataset name: " + this.dslabel;
|
|
444
|
+
if (!this.mds.isMds) throw "improper dataset: " + this.dslabel;
|
|
445
|
+
} catch (e) {
|
|
446
|
+
this.error(e);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
init_controlui(this);
|
|
450
|
+
if (this.header) {
|
|
451
|
+
this.holder.append("div").style("margin-bottom", "20px").html(this.header);
|
|
452
|
+
}
|
|
453
|
+
this.wait_div = this.holder.append("div");
|
|
454
|
+
this.wait_div.style("display", "block").text("Loading...");
|
|
455
|
+
this.svg = this.holder.append("svg");
|
|
456
|
+
this.validate_config().then(() => {
|
|
457
|
+
return this.get_features();
|
|
458
|
+
}).catch((err) => {
|
|
459
|
+
if (typeof err == "string") {
|
|
460
|
+
this.error(err);
|
|
461
|
+
} else {
|
|
462
|
+
this.error(err.message);
|
|
463
|
+
if (err.stack) console.log(err.stack);
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
error(m) {
|
|
468
|
+
sayerror(this.errdiv, m);
|
|
469
|
+
}
|
|
470
|
+
async validate_config() {
|
|
471
|
+
if (this.iscustom) {
|
|
472
|
+
if (!this.querykey2tracks) throw "querykey2tracks missing for custom dataset";
|
|
473
|
+
let novalidtk = true;
|
|
474
|
+
for (const key in this.querykey2tracks) {
|
|
475
|
+
const tk = this.querykey2tracks[key];
|
|
476
|
+
if (!tk.file && !tk.url) throw "no file or url for a custom track by key " + key;
|
|
477
|
+
if (!tk.type) throw "missing type for member track by key " + key;
|
|
478
|
+
if (!validtkt(tk.type)) throw "invalid type for a member track: " + tk.type;
|
|
479
|
+
novalidtk = false;
|
|
480
|
+
}
|
|
481
|
+
if (novalidtk) throw "no custom tracks from querykey2tracks";
|
|
482
|
+
let vcftk;
|
|
483
|
+
for (const key in this.querykey2tracks) {
|
|
484
|
+
const tk = this.querykey2tracks[key];
|
|
485
|
+
if (tk.type == tkt.mdsvcf) {
|
|
486
|
+
vcftk = tk;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
if (vcftk) {
|
|
490
|
+
await this.may_init_customvcf(vcftk);
|
|
491
|
+
}
|
|
492
|
+
} else {
|
|
493
|
+
if (this.mds.mdsIsUninitiated) {
|
|
494
|
+
const d = await dofetch3(`getDataset?genome=${this.genome.name}&dsname=${this.mds.label}`);
|
|
495
|
+
if (d.error) throw d.error;
|
|
496
|
+
if (!d.ds) throw "ds missing";
|
|
497
|
+
Object.assign(this.mds, d.ds);
|
|
498
|
+
delete this.mds.mdsIsUninitiated;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
if (this.limitsamplebyeitherannotation) {
|
|
502
|
+
if (!Array.isArray(this.limitsamplebyeitherannotation)) throw "limitsamplebyeitherannotation must be an array";
|
|
503
|
+
const tr = this.legendtable.append("tr");
|
|
504
|
+
for (const anno of this.limitsamplebyeitherannotation) {
|
|
505
|
+
if (!anno.key) throw ".key missing from an element of limitsamplebyeitherannotation";
|
|
506
|
+
if (!anno.value) throw ".value missing from an element of limitsamplebyeitherannotation";
|
|
507
|
+
}
|
|
508
|
+
this.showlegend_limitsample();
|
|
509
|
+
}
|
|
510
|
+
const cnv_tr = this.legendtable.append("tr");
|
|
511
|
+
cnv_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("CNV cutoff");
|
|
512
|
+
this.legendtable.cnv_td = cnv_tr.append("td");
|
|
513
|
+
const loh_tr = this.legendtable.append("tr");
|
|
514
|
+
loh_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("LOH cutoff");
|
|
515
|
+
this.legendtable.loh_td = loh_tr.append("td");
|
|
516
|
+
if (this.limitbysamplesetgroup) {
|
|
517
|
+
if (!Array.isArray(this.limitbysamplesetgroup.samples)) throw ".limitbysamplesetgroup.samples is not array";
|
|
518
|
+
}
|
|
519
|
+
if (!this.rowspace) this.rowspace = 1;
|
|
520
|
+
if (!this.colspace) this.colspace = 1;
|
|
521
|
+
if (!this.rowlabspace) this.rowlabspace = 5;
|
|
522
|
+
if (!this.collabspace) this.collabspace = 5;
|
|
523
|
+
if (!this.rowlabticksize) this.rowlabticksize = 5;
|
|
524
|
+
if (!this.collabticksize) this.collabticksize = 5;
|
|
525
|
+
if (!this.features) throw "missing features[]";
|
|
526
|
+
if (!Array.isArray(this.features)) throw "features must be an array";
|
|
527
|
+
if (this.features[0].height) this.ori_feature_height = this.features[0].height;
|
|
528
|
+
if (this.features[0].width) this.ori_feature_width = this.features[0].width;
|
|
529
|
+
for (const f of this.features) {
|
|
530
|
+
await this.validate_feature(f);
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
showlegend_limitsample() {
|
|
534
|
+
if (!this.limitsamplebyeitherannotation) return;
|
|
535
|
+
}
|
|
536
|
+
feature_parseposition_maygene(f) {
|
|
537
|
+
return Promise.resolve().then(() => {
|
|
538
|
+
if (f.position) {
|
|
539
|
+
const o = string2pos(f.position, this.genome);
|
|
540
|
+
if (o) {
|
|
541
|
+
f.chr = o.chr;
|
|
542
|
+
f.start = o.start;
|
|
543
|
+
f.stop = o.stop;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
if (f.chr) {
|
|
547
|
+
const err = invalidcoord(this.genome, f.chr, f.start, f.stop);
|
|
548
|
+
if (err) {
|
|
549
|
+
throw 'feature "' + f.label + '" position error: ' + err;
|
|
550
|
+
} else {
|
|
551
|
+
return;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
if (!f.genename) throw "position required for a feature: no position or genename given";
|
|
555
|
+
return dofetch("/genelookup", {
|
|
556
|
+
input: f.genename,
|
|
557
|
+
genome: this.genome.name,
|
|
558
|
+
deep: 1
|
|
559
|
+
}).then((data) => {
|
|
560
|
+
if (data.error) throw data.error;
|
|
561
|
+
if (!data.gmlst || data.gmlst.length == 0) throw "no gene can be found for " + f.genename;
|
|
562
|
+
const regions = [];
|
|
563
|
+
for (const gm of data.gmlst) {
|
|
564
|
+
let nooverlap = true;
|
|
565
|
+
for (const region of regions) {
|
|
566
|
+
if (gm.chr == region.chr && Math.max(gm.start, region.start) < Math.min(gm.stop, region.stop)) {
|
|
567
|
+
nooverlap = false;
|
|
568
|
+
region.start = Math.min(region.start, gm.start);
|
|
569
|
+
region.stop = Math.max(region.stop, gm.stop);
|
|
570
|
+
break;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
if (nooverlap) {
|
|
574
|
+
regions.push({
|
|
575
|
+
chr: gm.chr,
|
|
576
|
+
start: gm.start,
|
|
577
|
+
stop: gm.stop
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
if (regions.length > 1) {
|
|
582
|
+
sayerror(
|
|
583
|
+
this.errdiv,
|
|
584
|
+
"multiple regions found for gene " + f.genename + " you'd better specify one in feature"
|
|
585
|
+
);
|
|
586
|
+
}
|
|
587
|
+
f.chr = regions[0].chr;
|
|
588
|
+
f.start = regions[0].start;
|
|
589
|
+
f.stop = regions[0].stop;
|
|
590
|
+
});
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
validate_feature(f) {
|
|
594
|
+
return Promise.resolve().then(() => {
|
|
595
|
+
f.id = Math.random().toString();
|
|
596
|
+
const tr = this.legendtable.append("tr");
|
|
597
|
+
f.legend_tr = tr;
|
|
598
|
+
if (f.isgenevalue) {
|
|
599
|
+
if (!f.genename) throw ".genename missing for isgenevalue feature";
|
|
600
|
+
f.label = f.genename + " expression";
|
|
601
|
+
if (this.dslabel) {
|
|
602
|
+
if (!f.querykey) throw ".querykey missing for isgenevalue feature while loading from official dataset";
|
|
603
|
+
} else {
|
|
604
|
+
}
|
|
605
|
+
if (!f.scale) f.scale = { auto: 1 };
|
|
606
|
+
if (f.missingvalue == void 0) f.missingvalue = 0;
|
|
607
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
608
|
+
f.legendholder = tr.append("td");
|
|
609
|
+
if (!f.width) f.width = 20;
|
|
610
|
+
if (!f.color) f.color = default_genevaluecolor;
|
|
611
|
+
return this.feature_parseposition_maygene(f);
|
|
612
|
+
}
|
|
613
|
+
if (f.iscnv) {
|
|
614
|
+
if (this.dslabel) {
|
|
615
|
+
if (!f.querykey) throw ".querykey missing for iscnv feature while loading from official dataset";
|
|
616
|
+
} else {
|
|
617
|
+
}
|
|
618
|
+
if (!f.label && f.genename) {
|
|
619
|
+
f.label = f.genename + " CNV";
|
|
620
|
+
}
|
|
621
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
622
|
+
f.legendholder = tr.append("td");
|
|
623
|
+
if (!f.width) f.width = 40;
|
|
624
|
+
if (!f.colorgain) f.colorgain = default_cnvgaincolor;
|
|
625
|
+
if (!f.colorloss) f.colorloss = default_cnvlosscolor;
|
|
626
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
627
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV";
|
|
628
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
629
|
+
});
|
|
630
|
+
}
|
|
631
|
+
if (f.isloh) {
|
|
632
|
+
if (this.dslabel) {
|
|
633
|
+
if (!f.querykey) throw ".querykey missing for isloh feature while loading from official dataset";
|
|
634
|
+
} else {
|
|
635
|
+
}
|
|
636
|
+
if (!f.label && f.genename) {
|
|
637
|
+
f.label = f.genename + " LOH";
|
|
638
|
+
}
|
|
639
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
640
|
+
f.legendholder = tr.append("td");
|
|
641
|
+
if (!f.width) f.width = 40;
|
|
642
|
+
if (!f.color) f.color = default_lohcolor;
|
|
643
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
644
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " LOH";
|
|
645
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
if (f.isvcf) {
|
|
649
|
+
if (this.dslabel) {
|
|
650
|
+
if (!f.querykey) throw ".querykey missing for isvcf feature while loading from official dataset";
|
|
651
|
+
} else {
|
|
652
|
+
}
|
|
653
|
+
if (!f.label && f.genename) {
|
|
654
|
+
f.label = f.genename + " SNV/indel";
|
|
655
|
+
}
|
|
656
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
657
|
+
f.legendholder = tr.append("td");
|
|
658
|
+
if (!f.width) f.width = 20;
|
|
659
|
+
if (!f.snvindel) f.snvindel = {};
|
|
660
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
661
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SNV/indel";
|
|
662
|
+
});
|
|
663
|
+
}
|
|
664
|
+
if (f.isitd) {
|
|
665
|
+
if (this.dslabel) {
|
|
666
|
+
if (!f.querykey) throw ".querykey missing for isitd feature while loading from official dataset";
|
|
667
|
+
} else {
|
|
668
|
+
}
|
|
669
|
+
if (!f.label && f.genename) {
|
|
670
|
+
f.label = f.genename + " ITD";
|
|
671
|
+
}
|
|
672
|
+
if (!f.width) f.width = 20;
|
|
673
|
+
if (!f.color) f.color = mclass[mclassitd].color;
|
|
674
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
675
|
+
f.legendholder = tr.append("td");
|
|
676
|
+
f.legendholder.append("div").style("width", "20px").html(" ").style("background", f.color);
|
|
677
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
678
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " ITD";
|
|
679
|
+
});
|
|
680
|
+
}
|
|
681
|
+
if (f.issvfusion) {
|
|
682
|
+
if (this.dslabel) {
|
|
683
|
+
if (!f.querykey) throw ".querykey missing for issvfusion feature while loading from official dataset";
|
|
684
|
+
} else {
|
|
685
|
+
}
|
|
686
|
+
if (!f.label && f.genename) {
|
|
687
|
+
f.label = f.genename + " SV/fusion";
|
|
688
|
+
}
|
|
689
|
+
if (!f.width) f.width = 20;
|
|
690
|
+
if (!f.color) f.color = default_svcolor;
|
|
691
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
692
|
+
f.legendholder = tr.append("td");
|
|
693
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
694
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SV/fusion";
|
|
695
|
+
});
|
|
696
|
+
}
|
|
697
|
+
if (f.issvcnv) {
|
|
698
|
+
if (this.dslabel) {
|
|
699
|
+
if (!f.querykey) throw ".querykey missing for issvcnv feature while loading from official dataset";
|
|
700
|
+
} else {
|
|
701
|
+
}
|
|
702
|
+
if (!f.label && f.genename) {
|
|
703
|
+
f.label = f.genename + " CNV/SV";
|
|
704
|
+
}
|
|
705
|
+
tr.append("td").text(f.label).style("color", "#858585").style("text-align", "right");
|
|
706
|
+
f.legendholder = tr.append("td");
|
|
707
|
+
initfeature_polymutation(f);
|
|
708
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
709
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV/SV";
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
if (f.ismutation) {
|
|
713
|
+
if (this.dslabel) {
|
|
714
|
+
if (!f.querykeylst) throw ".querykeylst missing for ismutation feature";
|
|
715
|
+
if (!Array.isArray(f.querykeylst)) throw ".querykeylst[] should be array for ismutation feature";
|
|
716
|
+
if (f.querykeylst.length == 0) throw "querykeylst[] empty array for ismutation feature";
|
|
717
|
+
} else {
|
|
718
|
+
}
|
|
719
|
+
if (!f.label && f.genename) {
|
|
720
|
+
f.label = f.genename + " mutation";
|
|
721
|
+
}
|
|
722
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
723
|
+
f.legendholder = tr.append("td");
|
|
724
|
+
initfeature_polymutation(f);
|
|
725
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
726
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " mutation";
|
|
727
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
728
|
+
});
|
|
729
|
+
}
|
|
730
|
+
if (f.issampleattribute) {
|
|
731
|
+
if (!this.dslabel) throw ".dslabel missing: sampleattribute only works for official dataset";
|
|
732
|
+
if (!f.key) throw ".key missing for issampleattribute feature";
|
|
733
|
+
if (!f.label) f.label = f.key;
|
|
734
|
+
if (this.mds && this.mds.sampleAttribute && this.mds.sampleAttribute.attributes) {
|
|
735
|
+
const registry = this.mds.sampleAttribute.attributes[f.key];
|
|
736
|
+
if (registry) {
|
|
737
|
+
f.values = registry.values;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
if (!f.values) {
|
|
741
|
+
f.values = {};
|
|
742
|
+
}
|
|
743
|
+
f.assignmissingcolor = ordinal(category10_default);
|
|
744
|
+
if (!f.width && !this.features_on_rows) f.width = 20;
|
|
745
|
+
else if (!f.height && this.features_on_rows) f.height = 50;
|
|
746
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
747
|
+
f.legendholder = tr.append("td");
|
|
748
|
+
return Promise.resolve();
|
|
749
|
+
}
|
|
750
|
+
throw "unknown feature type in validating feature";
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
get_features(featureset) {
|
|
754
|
+
this.max_cnv = 0;
|
|
755
|
+
this.min_cnv = 0;
|
|
756
|
+
this.max_loh = 0;
|
|
757
|
+
this.min_loh = 0;
|
|
758
|
+
const arg = {
|
|
759
|
+
genome: this.genome.name,
|
|
760
|
+
limitsamplebyeitherannotation: this.limitsamplebyeitherannotation,
|
|
761
|
+
features: (featureset || this.features).map(feature2arg)
|
|
762
|
+
};
|
|
763
|
+
if (this.limitbysamplesetgroup) {
|
|
764
|
+
arg.sampleset = this.limitbysamplesetgroup.samples;
|
|
765
|
+
}
|
|
766
|
+
if (this.iscustom) {
|
|
767
|
+
arg.iscustom = 1;
|
|
768
|
+
arg.querykey2tracks = {};
|
|
769
|
+
for (const f of arg.features) {
|
|
770
|
+
if (f.querykey) {
|
|
771
|
+
arg.querykey2tracks[f.querykey] = this.querykey2tracks[f.querykey];
|
|
772
|
+
} else if (f.querykeylst) {
|
|
773
|
+
for (const k of f.querykeylst) arg.querykey2tracks[k] = this.querykey2tracks[k];
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
} else {
|
|
777
|
+
arg.dslabel = this.mds.label;
|
|
778
|
+
}
|
|
779
|
+
return dofetch("/samplematrix", arg).then((data) => {
|
|
780
|
+
if (data.error) {
|
|
781
|
+
for (const f0 of arg.features) {
|
|
782
|
+
const f = this.features.find((f2) => f2.id == f0.id);
|
|
783
|
+
if (f) f.items = [];
|
|
784
|
+
}
|
|
785
|
+
throw data.error;
|
|
786
|
+
}
|
|
787
|
+
for (const dat of data.results) {
|
|
788
|
+
const f = this.features.find((f2) => f2.id == dat.id);
|
|
789
|
+
if (!f) throw "feature not found: " + f.id;
|
|
790
|
+
f.items = dat.items;
|
|
791
|
+
this.prep_featuredata(f);
|
|
792
|
+
}
|
|
793
|
+
this.draw_matrix();
|
|
794
|
+
this.make_legend();
|
|
795
|
+
this.wait_div.style("display", "none");
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
update_singlefeature(f) {
|
|
799
|
+
this.get_features([f]).catch((err) => {
|
|
800
|
+
if (typeof err == "string") {
|
|
801
|
+
this.error(err);
|
|
802
|
+
} else {
|
|
803
|
+
this.error(err.message);
|
|
804
|
+
if (err.stack) console.log(err.stack);
|
|
805
|
+
}
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
addnewfeature_update(f) {
|
|
809
|
+
this.features.push(f);
|
|
810
|
+
this.validate_feature(f).then(() => {
|
|
811
|
+
return this.get_features([f]);
|
|
812
|
+
}).catch((err) => {
|
|
813
|
+
this.error(typeof err == "string" ? err : err.message);
|
|
814
|
+
if (err.stack) console.log(err.stack);
|
|
815
|
+
});
|
|
816
|
+
}
|
|
817
|
+
prep_featuredata(f) {
|
|
818
|
+
if (f.isgenevalue) {
|
|
819
|
+
f.scale.maxv = 0;
|
|
820
|
+
f.scale.minv = 0;
|
|
821
|
+
for (const i of f.items) {
|
|
822
|
+
f.scale.maxv = Math.max(f.scale.maxv, i.value);
|
|
823
|
+
}
|
|
824
|
+
return;
|
|
825
|
+
}
|
|
826
|
+
if (f.iscnv) {
|
|
827
|
+
const gain = [], loss = [];
|
|
828
|
+
for (const i of f.items) {
|
|
829
|
+
if (i.value > 0) {
|
|
830
|
+
gain.push(i.value);
|
|
831
|
+
} else {
|
|
832
|
+
loss.push(-i.value);
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
const gmax = getMax_byiqr(gain, 0);
|
|
836
|
+
const lmax = getMax_byiqr(loss, 0);
|
|
837
|
+
f.maxabslogratio = Math.max(gmax, lmax);
|
|
838
|
+
if (f.maxabslogratio > this.max_cnv) this.max_cnv = f.maxabslogratio;
|
|
839
|
+
return;
|
|
840
|
+
}
|
|
841
|
+
if (f.isloh) {
|
|
842
|
+
const values = f.items.map((i) => i.segmean);
|
|
843
|
+
f.minvalue = 0;
|
|
844
|
+
f.maxvalue = Math.max(...values);
|
|
845
|
+
if (f.maxvalue > this.max_loh) this.max_loh = f.maxvalue;
|
|
846
|
+
return;
|
|
847
|
+
}
|
|
848
|
+
if (f.isvcf) {
|
|
849
|
+
return;
|
|
850
|
+
}
|
|
851
|
+
if (f.isitd) {
|
|
852
|
+
return;
|
|
853
|
+
}
|
|
854
|
+
if (f.issvfusion) {
|
|
855
|
+
return;
|
|
856
|
+
}
|
|
857
|
+
if (f.issvcnv || f.ismutation) {
|
|
858
|
+
const cnvgain = [], cnvloss = [];
|
|
859
|
+
let lohmax = 0;
|
|
860
|
+
for (const i of f.items) {
|
|
861
|
+
if (i.dt == dtcnv) {
|
|
862
|
+
if (i.value > 0) {
|
|
863
|
+
cnvgain.push(i.value);
|
|
864
|
+
} else {
|
|
865
|
+
cnvloss.push(-i.value);
|
|
866
|
+
}
|
|
867
|
+
} else if (i.dt == dtloh) {
|
|
868
|
+
lohmax = Math.max(i.segmean, lohmax);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
if (cnvgain.length + cnvloss.length > 0) {
|
|
872
|
+
const gmax = getMax_byiqr(cnvgain, 0);
|
|
873
|
+
const lmax = getMax_byiqr(cnvloss, 0);
|
|
874
|
+
f.cnv.maxabslogratio = Math.max(gmax, lmax);
|
|
875
|
+
if (f.cnv.maxabslogratio > this.max_cnv) {
|
|
876
|
+
this.max_cnv = f.cnv.maxabslogratio;
|
|
877
|
+
this.min_cnv = -f.cnv.maxabslogratio;
|
|
878
|
+
this.cnv_colorloss = f.cnv.colorloss;
|
|
879
|
+
this.cnv_colorgain = f.cnv.colorgain;
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
if (lohmax) {
|
|
883
|
+
f.loh.minvalue = 0;
|
|
884
|
+
f.loh.maxvalue = lohmax;
|
|
885
|
+
if (f.loh.maxvalue > this.max_loh) this.max_loh = f.loh.maxvalue;
|
|
886
|
+
this.loh_color = f.loh.color;
|
|
887
|
+
}
|
|
888
|
+
return;
|
|
889
|
+
}
|
|
890
|
+
if (f.issampleattribute) {
|
|
891
|
+
for (const i of f.items) {
|
|
892
|
+
if (!f.values[i.value]) {
|
|
893
|
+
f.values[i.value] = {
|
|
894
|
+
name: i.value,
|
|
895
|
+
color: f.assignmissingcolor(i.value)
|
|
896
|
+
};
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
return;
|
|
900
|
+
}
|
|
901
|
+
throw "unknown feature type in preparing feature data";
|
|
902
|
+
}
|
|
903
|
+
make_legend() {
|
|
904
|
+
for (const f of this.features) {
|
|
905
|
+
const h = f.legendholder;
|
|
906
|
+
h.selectAll("*").remove();
|
|
907
|
+
if (f.isgenevalue) {
|
|
908
|
+
h.append("span").text(f.scale.minv.toFixed(3));
|
|
909
|
+
h.append("div").style("margin", "2px 10px").style("display", "inline-block").style("width", "100px").style("height", "15px").style("background", "linear-gradient( to right, white, " + f.color + ")");
|
|
910
|
+
h.append("span").text(f.scale.maxv.toFixed(3));
|
|
911
|
+
continue;
|
|
912
|
+
}
|
|
913
|
+
if (f.iscnv) {
|
|
914
|
+
h.append("span").html(
|
|
915
|
+
'Gain <span style="background:' + f.colorgain + ';color:white;padding:1px 5px">' + f.maxabslogratio.toFixed(3) + '</span> Loss <span style="background:' + f.colorloss + ';color:white;padding:1px 5px">-' + f.maxabslogratio.toFixed(3) + "</span>"
|
|
916
|
+
);
|
|
917
|
+
continue;
|
|
918
|
+
}
|
|
919
|
+
if (f.isloh) {
|
|
920
|
+
h.append("span").text(f.minvalue.toFixed(3));
|
|
921
|
+
h.append("div").style("margin", "2px 10px").style("display", "inline-block").style("width", "100px").style("height", "15px").style("background", "linear-gradient( to right, white, " + f.color + ")");
|
|
922
|
+
h.append("span").text(f.maxvalue.toFixed(3));
|
|
923
|
+
continue;
|
|
924
|
+
}
|
|
925
|
+
if (f.isvcf) {
|
|
926
|
+
const classes = /* @__PURE__ */ new Set();
|
|
927
|
+
for (const m of f.items) {
|
|
928
|
+
if (m.class) {
|
|
929
|
+
classes.add(m.class);
|
|
930
|
+
} else {
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
for (const c of classes) {
|
|
934
|
+
const cell = h.append("div").style("display", "inline-block").style("margin-right", "10px");
|
|
935
|
+
cell.append("span").style("background", mclass[c].color).style("margin-right", "2px").html(" ");
|
|
936
|
+
cell.append("span").text(mclass[c].label).style("color", mclass[c].color);
|
|
937
|
+
}
|
|
938
|
+
continue;
|
|
939
|
+
}
|
|
940
|
+
if (f.isitd) {
|
|
941
|
+
continue;
|
|
942
|
+
}
|
|
943
|
+
if (f.issvfusion) {
|
|
944
|
+
continue;
|
|
945
|
+
}
|
|
946
|
+
if (f.issvcnv || f.ismutation) {
|
|
947
|
+
const vcfclass2count = /* @__PURE__ */ new Map();
|
|
948
|
+
let itdcount = 0;
|
|
949
|
+
let svcount = 0;
|
|
950
|
+
let fusioncount = 0;
|
|
951
|
+
for (const i of f.items) {
|
|
952
|
+
if (i.dt == dtsnvindel) {
|
|
953
|
+
if (i.class && i.sampledata) {
|
|
954
|
+
if (!vcfclass2count.has(i.class)) {
|
|
955
|
+
vcfclass2count.set(i.class, 0);
|
|
956
|
+
}
|
|
957
|
+
vcfclass2count.set(i.class, vcfclass2count.get(i.class) + i.sampledata.length);
|
|
958
|
+
} else {
|
|
959
|
+
}
|
|
960
|
+
} else if (i.dt == dtitd) {
|
|
961
|
+
itdcount++;
|
|
962
|
+
} else if (i.dt == dtsv) {
|
|
963
|
+
svcount++;
|
|
964
|
+
} else if (i.dt == dtfusionrna) {
|
|
965
|
+
fusioncount++;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
if (vcfclass2count.size + itdcount + svcount + fusioncount > 0) {
|
|
969
|
+
const row = h.append("div").style("margin-bottom", "5px").style("white-space", "nowrap");
|
|
970
|
+
for (const [classname, count] of vcfclass2count) {
|
|
971
|
+
const c = mclass[classname];
|
|
972
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
973
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", c.color).text(count);
|
|
974
|
+
cell.append("span").text(c.label).style("color", c.color);
|
|
975
|
+
}
|
|
976
|
+
if (itdcount) {
|
|
977
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
978
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.itd.color).text(itdcount);
|
|
979
|
+
cell.append("span").text("ITD");
|
|
980
|
+
}
|
|
981
|
+
if (svcount) {
|
|
982
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
983
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.sv.color).text(svcount);
|
|
984
|
+
cell.append("span").text("SV");
|
|
985
|
+
}
|
|
986
|
+
if (fusioncount) {
|
|
987
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
988
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.fusion.color).text(fusioncount);
|
|
989
|
+
cell.append("span").text("Fusion");
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
continue;
|
|
993
|
+
}
|
|
994
|
+
if (f.issampleattribute) {
|
|
995
|
+
const value2count = /* @__PURE__ */ new Map();
|
|
996
|
+
for (const sample of this.samples) {
|
|
997
|
+
const anno = f.items.find((i) => i.sample == sample.name);
|
|
998
|
+
if (anno) {
|
|
999
|
+
value2count.set(anno.value, (value2count.get(anno.value) || 0) + 1);
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
for (const [value, count] of value2count) {
|
|
1003
|
+
const cell = h.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
1004
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.values[value].color).text(count);
|
|
1005
|
+
cell.append("span").text(f.values[value].name);
|
|
1006
|
+
}
|
|
1007
|
+
continue;
|
|
1008
|
+
}
|
|
1009
|
+
throw "unknown feature type in making legend";
|
|
1010
|
+
}
|
|
1011
|
+
this.makeGlobalCnvLohLegend();
|
|
1012
|
+
}
|
|
1013
|
+
makeGlobalCnvLohLegend() {
|
|
1014
|
+
const legend_data = [
|
|
1015
|
+
{ type: "cnv", legend_label: "CNV log2(ratio): " },
|
|
1016
|
+
{ type: "loh", legend_label: "LOH seg.mean: " }
|
|
1017
|
+
];
|
|
1018
|
+
const min_cnv_orig = parseFloat(this.min_cnv.toFixed(3));
|
|
1019
|
+
const max_cnv_orig = parseFloat(this.max_cnv.toFixed(3));
|
|
1020
|
+
const min_loh_orig = parseFloat(this.min_loh.toFixed(3));
|
|
1021
|
+
const max_loh_orig = parseFloat(this.max_loh.toFixed(3));
|
|
1022
|
+
let changed_flag = false;
|
|
1023
|
+
legend_data.forEach((data) => {
|
|
1024
|
+
let min_cutoff = data.type == "cnv" ? this.min_cnv : this.min_loh;
|
|
1025
|
+
let max_cutoff = data.type == "cnv" ? this.max_cnv : this.max_loh;
|
|
1026
|
+
const td = data.type == "cnv" ? this.legendtable.cnv_td : this.legendtable.loh_td;
|
|
1027
|
+
const row = td.append("div").style("margin-bottom", "5px");
|
|
1028
|
+
row.append("span").text(data.legend_label);
|
|
1029
|
+
const lower_range_txt = row.append("span").text(min_cutoff.toFixed(3));
|
|
1030
|
+
const lower_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", min_cutoff.toFixed(3));
|
|
1031
|
+
if (data.type == "cnv") {
|
|
1032
|
+
row.append("div").style("margin", "4px 0 1px 10px").style("display", "inline-block").style("width", "50px").style("height", "15px").style("background", "linear-gradient( to right," + this.cnv_colorloss + ",white)");
|
|
1033
|
+
}
|
|
1034
|
+
row.append("div").style("margin", "4px 10px 1px 10px").style("margin-left", data.type == "cnv" ? "0" : "10px").style("display", "inline-block").style("width", data.type == "cnv" ? "50px" : "100px").style("height", "15px").style(
|
|
1035
|
+
"background",
|
|
1036
|
+
"linear-gradient( to right, white, " + (data.type == "cnv" ? this.cnv_colorgain : this.loh_color) + ")"
|
|
1037
|
+
);
|
|
1038
|
+
const upper_range_txt = row.append("span").text(max_cutoff.toFixed(3));
|
|
1039
|
+
const upper_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", max_cutoff.toFixed(3));
|
|
1040
|
+
const edit_btn = row.append("button").style("margin", "2px 5px").style("padding", "3px 10px").text("Edit").on("click", () => {
|
|
1041
|
+
lower_range_txt.style("display", "none");
|
|
1042
|
+
upper_range_txt.style("display", "none");
|
|
1043
|
+
lower_range_input.style("display", "inline-block");
|
|
1044
|
+
upper_range_input.style("display", "inline-block");
|
|
1045
|
+
edit_btn.style("display", "none");
|
|
1046
|
+
submit_btn.style("display", "inline-block");
|
|
1047
|
+
});
|
|
1048
|
+
const submit_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Submit").on("click", () => {
|
|
1049
|
+
if (data.type == "cnv") {
|
|
1050
|
+
this.min_cnv = min_cutoff = lower_range_input.property("value");
|
|
1051
|
+
this.max_cnv = max_cutoff = upper_range_input.property("value");
|
|
1052
|
+
if (this.min_cnv != min_cnv_orig || this.max_cnv != max_cnv_orig) changed_flag = true;
|
|
1053
|
+
} else {
|
|
1054
|
+
this.min_loh = min_cutoff = parseFloat(lower_range_input.property("value"));
|
|
1055
|
+
this.max_loh = max_cutoff = parseFloat(upper_range_input.property("value"));
|
|
1056
|
+
if (this.min_loh != min_loh_orig || this.max_loh != max_loh_orig) changed_flag = true;
|
|
1057
|
+
}
|
|
1058
|
+
lower_range_txt.style("display", "inline-block").text(parseFloat(min_cutoff).toFixed(3));
|
|
1059
|
+
upper_range_txt.style("display", "inline-block").text(parseFloat(max_cutoff).toFixed(3));
|
|
1060
|
+
lower_range_input.style("display", "none");
|
|
1061
|
+
upper_range_input.style("display", "none");
|
|
1062
|
+
edit_btn.style("display", "inline-block");
|
|
1063
|
+
submit_btn.style("display", "none");
|
|
1064
|
+
reset_btn.style("display", changed_flag ? "inline-block" : "none");
|
|
1065
|
+
this.draw_matrix();
|
|
1066
|
+
});
|
|
1067
|
+
const reset_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Reset").on("click", () => {
|
|
1068
|
+
if (data.type == "cnv") {
|
|
1069
|
+
this.min_cnv = min_cutoff = min_cnv_orig;
|
|
1070
|
+
this.max_cnv = max_cutoff = max_cnv_orig;
|
|
1071
|
+
} else {
|
|
1072
|
+
this.min_loh = min_cutoff = min_loh_orig;
|
|
1073
|
+
this.max_loh = max_cutoff = max_loh_orig;
|
|
1074
|
+
}
|
|
1075
|
+
lower_range_txt.text(parseFloat(min_cutoff).toFixed(3));
|
|
1076
|
+
upper_range_txt.text(parseFloat(max_cutoff).toFixed(3));
|
|
1077
|
+
lower_range_input.property("value", parseFloat(min_cutoff).toFixed(3));
|
|
1078
|
+
upper_range_input.property("value", parseFloat(max_cutoff).toFixed(3));
|
|
1079
|
+
reset_btn.style("display", "none");
|
|
1080
|
+
changed_flag = false;
|
|
1081
|
+
this.draw_matrix();
|
|
1082
|
+
});
|
|
1083
|
+
reset_btn.style("display", "none");
|
|
1084
|
+
});
|
|
1085
|
+
}
|
|
1086
|
+
gatherSamplesFromFeatureData() {
|
|
1087
|
+
const name2sample = /* @__PURE__ */ new Map();
|
|
1088
|
+
for (const feature of this.features) {
|
|
1089
|
+
if (feature.donotaddsample) {
|
|
1090
|
+
continue;
|
|
1091
|
+
}
|
|
1092
|
+
if (feature.isgenevalue || feature.iscnv || feature.isloh || feature.isitd || feature.issvfusion || feature.issvcnv) {
|
|
1093
|
+
for (const item of feature.items) {
|
|
1094
|
+
if (!name2sample.has(item.sample)) {
|
|
1095
|
+
name2sample.set(item.sample, {});
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
} else if (feature.isvcf) {
|
|
1099
|
+
for (const m of feature.items) {
|
|
1100
|
+
if (m.dt == dtsnvindel) {
|
|
1101
|
+
if (!m.sampledata) continue;
|
|
1102
|
+
for (const s of m.sampledata) {
|
|
1103
|
+
if (!name2sample.has(s.sampleobj.name)) {
|
|
1104
|
+
name2sample.set(s.sampleobj.name, {});
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
} else {
|
|
1108
|
+
console.error("unsupported dt from isvcf: " + m.dt);
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
} else if (feature.ismutation) {
|
|
1112
|
+
for (const m of feature.items) {
|
|
1113
|
+
if (m.dt == dtsnvindel) {
|
|
1114
|
+
if (!m.sampledata) continue;
|
|
1115
|
+
for (const s of m.sampledata) {
|
|
1116
|
+
if (!name2sample.has(s.sampleobj.name)) {
|
|
1117
|
+
name2sample.set(s.sampleobj.name, {});
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
} else {
|
|
1121
|
+
if (!m.sample) continue;
|
|
1122
|
+
if (!name2sample.has(m.sample)) {
|
|
1123
|
+
name2sample.set(m.sample, {});
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
} else if (feature.issampleattribute) {
|
|
1128
|
+
for (const i of feature.items) {
|
|
1129
|
+
if (!name2sample.has(i.sample)) {
|
|
1130
|
+
name2sample.set(i.sample, {});
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
} else {
|
|
1134
|
+
console.error("unknown feature type from this.data");
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
const uniformheight = Math.min(18, Math.max(1, Math.ceil(800 / name2sample.size)));
|
|
1138
|
+
this.samples = [];
|
|
1139
|
+
for (const [n, sample] of name2sample) {
|
|
1140
|
+
if (!this.features_on_rows) sample.height = uniformheight;
|
|
1141
|
+
else sample.width = uniformheight;
|
|
1142
|
+
sample.name = n;
|
|
1143
|
+
this.samples.push(sample);
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
/*********** __draw *****/
|
|
1147
|
+
draw_matrix() {
|
|
1148
|
+
this.svg.selectAll("*").remove();
|
|
1149
|
+
const svgg = this.svg.append("g");
|
|
1150
|
+
this.gatherSamplesFromFeatureData();
|
|
1151
|
+
this.sortsamplesbyfeatures();
|
|
1152
|
+
const rows_lst = this.features_on_rows ? this.features : this.samples;
|
|
1153
|
+
const cols_lst = this.features_on_rows ? this.samples : this.features;
|
|
1154
|
+
let y = 0, samplenamemaxwidth = 0;
|
|
1155
|
+
for (const r of rows_lst) {
|
|
1156
|
+
r.g = svgg.append("g").attr("transform", "translate(0," + y + ")");
|
|
1157
|
+
y += r.height + this.rowspace;
|
|
1158
|
+
if (r.height >= minheight2showname) {
|
|
1159
|
+
r.g.append("text").attr("font-family", font).attr("font-size", Math.min(16, r.height)).attr("text-anchor", "end").attr("dominant-baseline", "central").attr("x", -this.rowlabspace - this.rowlabticksize).attr("y", r.height / 2).text(this.features_on_rows ? r.label + (r.count ? " (" + r.count + ")" : "") : r.name).each(function() {
|
|
1160
|
+
samplenamemaxwidth = Math.max(samplenamemaxwidth, this.getBBox().width);
|
|
1161
|
+
}).attr("class", "sja_clbtext").on("mouseover", () => {
|
|
1162
|
+
this.features_on_rows ? this.showTip_feature(r) : this.showTip_sample(r);
|
|
1163
|
+
}).on("mouseout", () => {
|
|
1164
|
+
this.tip.hide();
|
|
1165
|
+
}).on("click", () => {
|
|
1166
|
+
if (this.features_on_rows) this.showMenu_feature(r);
|
|
1167
|
+
});
|
|
1168
|
+
r.g.append("line").attr("x1", -this.rowlabticksize).attr("y1", r.height / 2).attr("y2", r.height / 2).attr("stroke", "black").attr("shape-rendering", "crispEdges");
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
let x = 0, featurenamemaxwidth = 0;
|
|
1172
|
+
for (const c of cols_lst) {
|
|
1173
|
+
const g = svgg.append("g").attr("transform", "translate(" + (x + c.width / 2) + ",-" + (this.collabspace + this.collabticksize) + ")");
|
|
1174
|
+
x += c.width + this.colspace;
|
|
1175
|
+
const label = g.append("text").attr("font-family", font).attr("font-size", Math.min(16, c.width - 2)).attr("dominant-baseline", "central").attr("transform", "rotate(-90)").text(this.features_on_rows ? c.name : c.label + (c.count ? " (" + c.count + ")" : "")).each(function() {
|
|
1176
|
+
featurenamemaxwidth = Math.max(featurenamemaxwidth, this.getBBox().width);
|
|
1177
|
+
}).on("mouseover", () => {
|
|
1178
|
+
this.features_on_rows ? this.showTip_sample(c) : this.showTip_feature(c);
|
|
1179
|
+
}).on("mouseout", () => {
|
|
1180
|
+
this.tip.hide();
|
|
1181
|
+
}).on("click", () => {
|
|
1182
|
+
if (!this.features_on_rows) this.showMenu_feature(c);
|
|
1183
|
+
});
|
|
1184
|
+
if (c.isgenevalue) {
|
|
1185
|
+
label.attr("fill", c.color);
|
|
1186
|
+
}
|
|
1187
|
+
g.append("line").attr("y1", this.collabspace).attr("y2", this.collabspace + this.collabticksize).attr("stroke", "black").attr("shape-rendering", "crispEdges");
|
|
1188
|
+
}
|
|
1189
|
+
for (const r of rows_lst) {
|
|
1190
|
+
let x2 = 0;
|
|
1191
|
+
for (const c of cols_lst) {
|
|
1192
|
+
const sample = this.features_on_rows ? c : r;
|
|
1193
|
+
const feature = this.features_on_rows ? r : c;
|
|
1194
|
+
const cell = r.g.append("g").attr("transform", "translate(" + x2 + ",0)");
|
|
1195
|
+
x2 += c.width + this.colspace;
|
|
1196
|
+
if (feature.isgenevalue) {
|
|
1197
|
+
this.drawCell_isgenevalue(sample, feature, cell);
|
|
1198
|
+
} else if (feature.iscnv) {
|
|
1199
|
+
this.drawCell_iscnv(sample, feature, cell);
|
|
1200
|
+
} else if (feature.isloh) {
|
|
1201
|
+
this.drawCell_isloh(sample, feature, cell);
|
|
1202
|
+
} else if (feature.isvcf) {
|
|
1203
|
+
this.drawCell_isvcf(sample, feature, cell);
|
|
1204
|
+
} else if (feature.isitd) {
|
|
1205
|
+
this.drawCell_isitd(sample, feature, cell);
|
|
1206
|
+
} else if (feature.issvfusion) {
|
|
1207
|
+
this.drawCell_issvfusion(sample, feature, cell);
|
|
1208
|
+
} else if (feature.issvcnv || feature.ismutation) {
|
|
1209
|
+
this.drawCell_ismutation(sample, feature, cell);
|
|
1210
|
+
} else if (feature.issampleattribute) {
|
|
1211
|
+
this.drawCell_issampleattribute(sample, feature, cell);
|
|
1212
|
+
} else {
|
|
1213
|
+
console.error("unknown feature type when drawing cell");
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
svgg.attr(
|
|
1218
|
+
"transform",
|
|
1219
|
+
"translate(" + (samplenamemaxwidth + this.rowlabspace + this.rowlabticksize) + "," + (featurenamemaxwidth + this.collabspace + this.collabticksize) + ")"
|
|
1220
|
+
);
|
|
1221
|
+
this.svg.attr(
|
|
1222
|
+
"width",
|
|
1223
|
+
samplenamemaxwidth + this.rowlabspace + this.rowlabticksize + cols_lst.reduce((i, j) => i + j.width, 0) + cols_lst.length * this.colspace
|
|
1224
|
+
).attr(
|
|
1225
|
+
"height",
|
|
1226
|
+
featurenamemaxwidth + this.collabspace + this.collabticksize + rows_lst.reduce((i, j) => i + j.height, 0) + rows_lst.length * this.rowspace
|
|
1227
|
+
);
|
|
1228
|
+
}
|
|
1229
|
+
drawCell_isgenevalue(sample, feature, g) {
|
|
1230
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1231
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1232
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1233
|
+
if (!item) {
|
|
1234
|
+
this.drawEmptycell(sample, feature, g);
|
|
1235
|
+
return;
|
|
1236
|
+
}
|
|
1237
|
+
const rect = g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1238
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1239
|
+
this.showTip_cell(sample, feature);
|
|
1240
|
+
}).on("mouseout", (event2) => {
|
|
1241
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1242
|
+
this.tip.hide();
|
|
1243
|
+
}).on("click", () => {
|
|
1244
|
+
this.click_cell(sample, feature);
|
|
1245
|
+
});
|
|
1246
|
+
if (item.value < feature.scale.maxv) {
|
|
1247
|
+
rect.attr("fill-opacity", item.value / feature.scale.maxv);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
drawCell_iscnv(sample, feature, g) {
|
|
1251
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1252
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1253
|
+
const items = feature.items.filter((i) => i.sample == sample.name);
|
|
1254
|
+
if (items.length == 0) {
|
|
1255
|
+
this.drawEmptycell(sample, feature, g);
|
|
1256
|
+
return;
|
|
1257
|
+
}
|
|
1258
|
+
for (const item of items) {
|
|
1259
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1260
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1261
|
+
const maxabslogratio = this.max_cnv;
|
|
1262
|
+
g.append("rect").attr("x", x1).attr("width", Math.max(1, x2 - x1)).attr("height", sample.height).attr("fill", item.value > 0 ? feature.colorgain : feature.colorloss).attr("fill-opacity", Math.abs(item.value / maxabslogratio)).attr("shape-rendering", "crispEdges");
|
|
1263
|
+
}
|
|
1264
|
+
g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1265
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1266
|
+
this.showTip_cell(sample, feature);
|
|
1267
|
+
}).on("mouseout", (event2) => {
|
|
1268
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1269
|
+
this.tip.hide();
|
|
1270
|
+
}).on("click", () => {
|
|
1271
|
+
this.click_cell(sample, feature);
|
|
1272
|
+
});
|
|
1273
|
+
}
|
|
1274
|
+
drawCell_isloh(sample, feature, g) {
|
|
1275
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1276
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1277
|
+
const items = feature.items.filter((i) => i.sample == sample.name);
|
|
1278
|
+
if (items.length == 0) {
|
|
1279
|
+
this.drawEmptycell(sample, feature, g);
|
|
1280
|
+
return;
|
|
1281
|
+
}
|
|
1282
|
+
for (const item of items) {
|
|
1283
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1284
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1285
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1286
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.color).attr("fill-opacity", (item.segmean - this.min_loh) / loh_range).attr("shape-rendering", "crispEdges");
|
|
1287
|
+
}
|
|
1288
|
+
g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1289
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1290
|
+
this.showTip_cell(sample, feature);
|
|
1291
|
+
}).on("mouseout", (event2) => {
|
|
1292
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1293
|
+
this.tip.hide();
|
|
1294
|
+
}).on("click", () => {
|
|
1295
|
+
this.click_cell(sample, feature);
|
|
1296
|
+
});
|
|
1297
|
+
}
|
|
1298
|
+
drawCell_isvcf(sample, feature, g) {
|
|
1299
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1300
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1301
|
+
const mlst = getitemforsample_vcf(feature, sample);
|
|
1302
|
+
if (mlst.length == 0) {
|
|
1303
|
+
this.drawEmptycell(sample, feature, g);
|
|
1304
|
+
return;
|
|
1305
|
+
}
|
|
1306
|
+
const class2count = /* @__PURE__ */ new Map();
|
|
1307
|
+
for (const m of mlst) {
|
|
1308
|
+
if (!class2count.has(m.class)) {
|
|
1309
|
+
class2count.set(m.class, 0);
|
|
1310
|
+
}
|
|
1311
|
+
class2count.set(m.class, class2count.get(m.class) + 1);
|
|
1312
|
+
}
|
|
1313
|
+
let start = 0;
|
|
1314
|
+
for (const [cname, count] of class2count) {
|
|
1315
|
+
const span = count / mlst.length * this.features_on_rows ? height : width;
|
|
1316
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : start).attr("y", this.features_on_rows ? start : 0).attr("width", this.features_on_rows ? width : span).attr("height", this.features_on_rows ? span : height).attr("fill", mclass[cname].color).attr("shape-rendering", "crispEdges");
|
|
1317
|
+
start += span;
|
|
1318
|
+
}
|
|
1319
|
+
g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1320
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1321
|
+
this.showTip_cell(sample, feature);
|
|
1322
|
+
}).on("mouseout", (event2) => {
|
|
1323
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1324
|
+
this.tip.hide();
|
|
1325
|
+
}).on("click", () => {
|
|
1326
|
+
this.click_cell(sample, feature);
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
drawCell_isitd(sample, feature, g) {
|
|
1330
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1331
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1332
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1333
|
+
if (!item) {
|
|
1334
|
+
this.drawEmptycell(sample, feature, g);
|
|
1335
|
+
return;
|
|
1336
|
+
}
|
|
1337
|
+
g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1338
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1339
|
+
this.showTip_cell(sample, feature);
|
|
1340
|
+
}).on("mouseout", (event2) => {
|
|
1341
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1342
|
+
this.tip.hide();
|
|
1343
|
+
}).on("click", () => {
|
|
1344
|
+
this.click_cell(sample, feature);
|
|
1345
|
+
});
|
|
1346
|
+
}
|
|
1347
|
+
drawCell_issampleattribute(sample, feature, g) {
|
|
1348
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1349
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1350
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1351
|
+
if (!item) {
|
|
1352
|
+
this.drawEmptycell(sample, feature, g);
|
|
1353
|
+
return;
|
|
1354
|
+
}
|
|
1355
|
+
g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.values[item.value].color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1356
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1357
|
+
this.showTip_cell(sample, feature);
|
|
1358
|
+
}).on("mouseout", (event2) => {
|
|
1359
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1360
|
+
this.tip.hide();
|
|
1361
|
+
}).on("click", () => {
|
|
1362
|
+
this.click_cell(sample, feature);
|
|
1363
|
+
});
|
|
1364
|
+
}
|
|
1365
|
+
drawCell_issvfusion(sample, feature, g) {
|
|
1366
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1367
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1368
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1369
|
+
if (!item) {
|
|
1370
|
+
this.drawEmptycell(sample, feature, g);
|
|
1371
|
+
return;
|
|
1372
|
+
}
|
|
1373
|
+
g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1374
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1375
|
+
this.showTip_cell(sample, feature);
|
|
1376
|
+
}).on("mouseout", (event2) => {
|
|
1377
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1378
|
+
this.tip.hide();
|
|
1379
|
+
}).on("click", () => {
|
|
1380
|
+
this.click_cell(sample, feature);
|
|
1381
|
+
});
|
|
1382
|
+
}
|
|
1383
|
+
drawCell_ismutation(sample, feature, g) {
|
|
1384
|
+
const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(feature, sample);
|
|
1385
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1386
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1387
|
+
if (cnv.length + loh.length + itd.length + sv.length + fusion.length + snvindel.length == 0) {
|
|
1388
|
+
this.drawEmptycell(sample, feature, g);
|
|
1389
|
+
return;
|
|
1390
|
+
}
|
|
1391
|
+
let is_symbolic = false;
|
|
1392
|
+
if (this.ismutation_allsymbolic) {
|
|
1393
|
+
is_symbolic = true;
|
|
1394
|
+
} else if (this.ismutation_allnotsymbolic) {
|
|
1395
|
+
} else {
|
|
1396
|
+
if (height <= 4) {
|
|
1397
|
+
is_symbolic = true;
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
if (is_symbolic) {
|
|
1401
|
+
this.drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel);
|
|
1402
|
+
} else {
|
|
1403
|
+
if (loh.length) {
|
|
1404
|
+
for (const item of loh) {
|
|
1405
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1406
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1407
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1408
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.loh.color).attr("fill-opacity", (item.segmean - this.min_loh) / loh_range).attr("shape-rendering", "crispEdges");
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
if (cnv.length) {
|
|
1412
|
+
for (const item of cnv) {
|
|
1413
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1414
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1415
|
+
const maxabslogratio = item.value > 0 ? this.max_cnv : this.min_cnv;
|
|
1416
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", item.value > 0 ? feature.cnv.colorgain : feature.cnv.colorloss).attr("fill-opacity", Math.abs(item.value / maxabslogratio)).attr("shape-rendering", "crispEdges");
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
if (itd.length) {
|
|
1420
|
+
for (const item of itd) {
|
|
1421
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1422
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1423
|
+
g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.itd.color).attr("shape-rendering", "crispEdges");
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
if (sv.length) {
|
|
1427
|
+
g.append("circle").attr("cx", width / 2).attr("cy", height / 2).attr("r", Math.min(width, height) / 2).attr("stroke", feature.sv.color).attr("fill", "none");
|
|
1428
|
+
}
|
|
1429
|
+
if (fusion.length) {
|
|
1430
|
+
g.append("circle").attr("cx", width / 2).attr("cy", height / 2).attr("r", Math.min(width, height) / 2).attr("stroke", feature.fusion.color).attr("fill", "none");
|
|
1431
|
+
}
|
|
1432
|
+
if (snvindel.length) {
|
|
1433
|
+
const m = snvindel[0];
|
|
1434
|
+
const g2 = g.append("g").attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");
|
|
1435
|
+
const color = mclass[m.m.class].color;
|
|
1436
|
+
const w = Math.min(width, height) / 2;
|
|
1437
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", "white").attr("stroke-width", 3);
|
|
1438
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", "white").attr("stroke-width", 3);
|
|
1439
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", color);
|
|
1440
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", color);
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
g.append("rect").attr("width", width).attr("height", height).attr("fill", "white").attr("fill-opacity", 0).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
|
|
1444
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1445
|
+
this.showTip_cell(sample, feature);
|
|
1446
|
+
}).on("mouseout", (event2) => {
|
|
1447
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1448
|
+
this.tip.hide();
|
|
1449
|
+
}).on("click", () => {
|
|
1450
|
+
this.click_cell(sample, feature);
|
|
1451
|
+
});
|
|
1452
|
+
}
|
|
1453
|
+
drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel) {
|
|
1454
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1455
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1456
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1457
|
+
const lst = [];
|
|
1458
|
+
if (cnv.length) {
|
|
1459
|
+
for (const i of cnv) {
|
|
1460
|
+
const maxabslogratio = i.value > 0 ? this.max_cnv : this.min_cnv;
|
|
1461
|
+
let k;
|
|
1462
|
+
if (i.value > 0) {
|
|
1463
|
+
k = { color: feature.cnv.colorgain };
|
|
1464
|
+
} else {
|
|
1465
|
+
k = { color: feature.cnv.colorloss };
|
|
1466
|
+
}
|
|
1467
|
+
k.opacity = Math.abs(i.value / maxabslogratio);
|
|
1468
|
+
lst.push(k);
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
if (loh.length) {
|
|
1472
|
+
for (const i of loh) {
|
|
1473
|
+
lst.push({
|
|
1474
|
+
color: feature.loh.color,
|
|
1475
|
+
opacity: (i.segmean - this.min_loh) / loh_range
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
if (itd.length) {
|
|
1480
|
+
for (const i of itd) {
|
|
1481
|
+
lst.push({ color: feature.itd.color });
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
if (sv.length) {
|
|
1485
|
+
for (const i of sv) {
|
|
1486
|
+
lst.push({ color: feature.sv.color });
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
if (fusion.length) {
|
|
1490
|
+
for (const i of fusion) {
|
|
1491
|
+
lst.push({ color: feature.fusion.color });
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
if (snvindel.length) {
|
|
1495
|
+
for (const i of snvindel) {
|
|
1496
|
+
lst.push({ color: mclass[i.m.class].color });
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
const f_len = this.features_on_rows ? height / lst.length : width / lst.length;
|
|
1500
|
+
let f_start = 0;
|
|
1501
|
+
for (const i of lst) {
|
|
1502
|
+
const r = g.append("rect").attr("x", this.features_on_rows ? 0 : f_start).attr("y", this.features_on_rows ? f_start : 0).attr("width", this.features_on_rows ? width : f_len).attr("height", this.features_on_rows ? f_len : height).attr("fill", i.color).attr("shape-rendering", "crispEdges");
|
|
1503
|
+
if (i.opacity) r.attr("opacity", i.opacity);
|
|
1504
|
+
f_start += f_len;
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
// __newattr draw cell for new feature
|
|
1508
|
+
/*********** __draw ends *****/
|
|
1509
|
+
async click_cell(sample, feature) {
|
|
1510
|
+
try {
|
|
1511
|
+
let svcnvtk;
|
|
1512
|
+
if (this.iscustom) {
|
|
1513
|
+
svcnvtk = {
|
|
1514
|
+
iscustom: true,
|
|
1515
|
+
type: tkt.mdssvcnv,
|
|
1516
|
+
singlesample: {
|
|
1517
|
+
name: sample.name
|
|
1518
|
+
}
|
|
1519
|
+
};
|
|
1520
|
+
for (const k in this.querykey2tracks) {
|
|
1521
|
+
const t = this.querykey2tracks[k];
|
|
1522
|
+
if (t.type == tkt.mdssvcnv) {
|
|
1523
|
+
svcnvtk.name = t.name || "Custom tk";
|
|
1524
|
+
svcnvtk.file = t.file;
|
|
1525
|
+
svcnvtk.url = t.url;
|
|
1526
|
+
svcnvtk.indexURL = t.indexURL;
|
|
1527
|
+
} else if (t.type == tkt.mdsvcf) {
|
|
1528
|
+
svcnvtk.checkvcf = {
|
|
1529
|
+
file: t.file,
|
|
1530
|
+
url: t.url,
|
|
1531
|
+
indexURL: t.indexURL
|
|
1532
|
+
};
|
|
1533
|
+
} else if (t.type == tkt.mdsexpression) {
|
|
1534
|
+
svcnvtk.checkexpressionrank = {
|
|
1535
|
+
file: t.file,
|
|
1536
|
+
url: t.url,
|
|
1537
|
+
indexURL: t.indexURL
|
|
1538
|
+
};
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
} else {
|
|
1542
|
+
if (!this.mds) throw "not custom but .mds{} missing";
|
|
1543
|
+
for (const querykey in this.mds.queries) {
|
|
1544
|
+
const tk = this.mds.queries[querykey];
|
|
1545
|
+
if (tk.type == tkt.mdssvcnv) {
|
|
1546
|
+
svcnvtk = {
|
|
1547
|
+
mds: this.mds,
|
|
1548
|
+
querykey,
|
|
1549
|
+
singlesample: {
|
|
1550
|
+
name: sample.name
|
|
1551
|
+
}
|
|
1552
|
+
};
|
|
1553
|
+
for (const k in tk) svcnvtk[k] = tk[k];
|
|
1554
|
+
break;
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
if (!svcnvtk) throw "cannot find a svcnv tk";
|
|
1559
|
+
svcnvtk.bplengthUpperLimit = 0;
|
|
1560
|
+
const pane = newpane({ x: 100, y: 100 });
|
|
1561
|
+
const blockarg = {
|
|
1562
|
+
jwt: this.jwt,
|
|
1563
|
+
hostURL: this.hostURL,
|
|
1564
|
+
nobox: 1,
|
|
1565
|
+
genome: this.genome,
|
|
1566
|
+
holder: pane.body,
|
|
1567
|
+
chr: feature.chr,
|
|
1568
|
+
start: feature.start,
|
|
1569
|
+
stop: feature.stop,
|
|
1570
|
+
tklst: []
|
|
1571
|
+
};
|
|
1572
|
+
first_genetrack_tolist(this.genome, blockarg.tklst);
|
|
1573
|
+
blockarg.tklst.push(svcnvtk);
|
|
1574
|
+
if (!this.iscustom) {
|
|
1575
|
+
if (!this.dslabel) throw "not custom but dslabel missing";
|
|
1576
|
+
const par = {
|
|
1577
|
+
genome: this.genome.name,
|
|
1578
|
+
dslabel: this.dslabel,
|
|
1579
|
+
querykey: svcnvtk.querykey,
|
|
1580
|
+
gettrack4singlesample: sample.name
|
|
1581
|
+
};
|
|
1582
|
+
const data = await dofetch("/mdssvcnv", par);
|
|
1583
|
+
if (data.error) throw "Error checking for assay track: " + data.error;
|
|
1584
|
+
if (data.tracks) {
|
|
1585
|
+
for (const t of data.tracks) blockarg.tklst.push(t);
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
const _ = await import("./block-GEG4UUOU.js");
|
|
1589
|
+
new _.Block(blockarg);
|
|
1590
|
+
} catch (e) {
|
|
1591
|
+
window.alert(e.message || e);
|
|
1592
|
+
if (e.stack) console.log(e.stack);
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
/********** __menu and tooltip **********/
|
|
1596
|
+
showTip_feature(f) {
|
|
1597
|
+
this.tip.clear();
|
|
1598
|
+
this.tipContent_feature(f, this.tip.d);
|
|
1599
|
+
this.tip.showunder(event.target);
|
|
1600
|
+
}
|
|
1601
|
+
showMenu_feature(f) {
|
|
1602
|
+
this.menu.showunder(event.target).clear();
|
|
1603
|
+
this.tipContent_feature(f, this.menu.d);
|
|
1604
|
+
this.menu.d.append("div").attr("class", "sja_menuoption").text("Remove this feature").on("click", () => {
|
|
1605
|
+
this.menu.hide();
|
|
1606
|
+
f.legend_tr.remove();
|
|
1607
|
+
this.features.splice(
|
|
1608
|
+
this.features.findIndex((i) => i.id == f.id),
|
|
1609
|
+
1
|
|
1610
|
+
);
|
|
1611
|
+
this.draw_matrix();
|
|
1612
|
+
});
|
|
1613
|
+
if (f.isgenevalue) return showMenu_isgenevalue(this, f);
|
|
1614
|
+
if (f.iscnv) return showMenu_iscnv(this, f, f);
|
|
1615
|
+
if (f.isloh) return showMenu_isloh(this, f, f);
|
|
1616
|
+
if (f.ismutation) return showMenu_ismutation(this, f);
|
|
1617
|
+
if (f.isitd) {
|
|
1618
|
+
return;
|
|
1619
|
+
}
|
|
1620
|
+
if (f.issvfusion) {
|
|
1621
|
+
return;
|
|
1622
|
+
}
|
|
1623
|
+
if (f.issvcnv) {
|
|
1624
|
+
return;
|
|
1625
|
+
}
|
|
1626
|
+
if (f.issampleattribute) {
|
|
1627
|
+
return;
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
tipContent_feature(f, holder) {
|
|
1631
|
+
holder.append("div").text(f.label).style("opacity", 0.5).style("font-size", ".7em").style("margin", "10px");
|
|
1632
|
+
if (f.isgenevalue || f.iscnv || f.isloh || f.isitd || f.issvfusion) {
|
|
1633
|
+
holder.append("div").html(f.chr + ":" + f.start + "-" + f.stop + " " + bplen(f.stop - f.start)).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
|
|
1634
|
+
} else if (f.issvcnv || f.ismutation) {
|
|
1635
|
+
if (!f.genename) {
|
|
1636
|
+
holder.append("div").html(f.chr + ":" + f.start + "-" + f.stop + " " + bplen(f.stop - f.start)).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
|
|
1637
|
+
}
|
|
1638
|
+
} else if (f.issampleattribute) {
|
|
1639
|
+
holder.append("div").text(f.label);
|
|
1640
|
+
}
|
|
1641
|
+
if (f.isgenevalue) {
|
|
1642
|
+
holder.append("div").text("Min: " + f.scale.minv + ", max: " + f.scale.maxv).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
showTip_sample(sample) {
|
|
1646
|
+
this.tip.clear().d.append("div").text(sample.name).style("padding", "10px").style("font-size", ".7em");
|
|
1647
|
+
const lst = [];
|
|
1648
|
+
for (const f of this.features) {
|
|
1649
|
+
if (lst.length > 10) {
|
|
1650
|
+
lst.push({ k: "more", v: "..." });
|
|
1651
|
+
break;
|
|
1652
|
+
}
|
|
1653
|
+
if (f.isgenevalue) {
|
|
1654
|
+
const v = f.items.find((i) => i.sample == sample.name);
|
|
1655
|
+
lst.push({ k: f.label, v: v ? v.value : saynovalue });
|
|
1656
|
+
continue;
|
|
1657
|
+
}
|
|
1658
|
+
if (f.iscnv) {
|
|
1659
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1660
|
+
let text;
|
|
1661
|
+
if (items.length == 0) {
|
|
1662
|
+
text = saynovalue;
|
|
1663
|
+
} else {
|
|
1664
|
+
const lst2 = items.map((i) => {
|
|
1665
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + (i.value > 0 ? f.colorgain : f.colorloss) + ';color:white;padding:1px 5px">' + i.value + "</span></div>";
|
|
1666
|
+
});
|
|
1667
|
+
text = lst2.join("");
|
|
1668
|
+
}
|
|
1669
|
+
lst.push({ k: f.label, v: text });
|
|
1670
|
+
continue;
|
|
1671
|
+
}
|
|
1672
|
+
if (f.isloh) {
|
|
1673
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1674
|
+
let text;
|
|
1675
|
+
if (items.length == 0) {
|
|
1676
|
+
text = saynovalue;
|
|
1677
|
+
} else {
|
|
1678
|
+
const lst2 = items.map((i) => {
|
|
1679
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + f.color + ';color:white;padding:1px 5px">' + i.segmean + "</span></div>";
|
|
1680
|
+
});
|
|
1681
|
+
text = lst2.join("");
|
|
1682
|
+
}
|
|
1683
|
+
lst.push({ k: f.label, v: text });
|
|
1684
|
+
continue;
|
|
1685
|
+
}
|
|
1686
|
+
if (f.isvcf) {
|
|
1687
|
+
const mlst = getitemforsample_vcf(f, sample);
|
|
1688
|
+
let text;
|
|
1689
|
+
if (mlst.length == 0) {
|
|
1690
|
+
text = saynovalue;
|
|
1691
|
+
} else {
|
|
1692
|
+
text = mlst.map((m) => {
|
|
1693
|
+
return '<div><span style="color:' + mclass[m.class].color + '">' + m.mname + '</span> <span style="font-size:.7em;opacity:.5">' + mclass[m.class].label + "</span></div>";
|
|
1694
|
+
}).join("");
|
|
1695
|
+
}
|
|
1696
|
+
lst.push({ k: f.label, v: text });
|
|
1697
|
+
continue;
|
|
1698
|
+
}
|
|
1699
|
+
if (f.isitd) {
|
|
1700
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1701
|
+
let text;
|
|
1702
|
+
if (items.length == 0) {
|
|
1703
|
+
text = saynovalue;
|
|
1704
|
+
} else {
|
|
1705
|
+
text = '<div style="background:' + f.color + ';width:20px"> </div>';
|
|
1706
|
+
}
|
|
1707
|
+
lst.push({ k: f.label, v: text });
|
|
1708
|
+
continue;
|
|
1709
|
+
}
|
|
1710
|
+
if (f.issvfusion) {
|
|
1711
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1712
|
+
let text;
|
|
1713
|
+
if (items.length == 0) {
|
|
1714
|
+
text = saynovalue;
|
|
1715
|
+
} else {
|
|
1716
|
+
text = '<div style="background:' + f.color + ';width:20px"> </div>';
|
|
1717
|
+
}
|
|
1718
|
+
lst.push({ k: f.label, v: text });
|
|
1719
|
+
continue;
|
|
1720
|
+
}
|
|
1721
|
+
if (f.issvcnv) {
|
|
1722
|
+
continue;
|
|
1723
|
+
}
|
|
1724
|
+
if (f.ismutation) {
|
|
1725
|
+
continue;
|
|
1726
|
+
}
|
|
1727
|
+
if (f.issampleattribute) {
|
|
1728
|
+
const item = f.items.find((i) => i.sample == sample.name);
|
|
1729
|
+
if (item) {
|
|
1730
|
+
lst.push({ k: f.label, v: item.value });
|
|
1731
|
+
}
|
|
1732
|
+
continue;
|
|
1733
|
+
}
|
|
1734
|
+
console.error("sample tooltip: Unknown feature type");
|
|
1735
|
+
}
|
|
1736
|
+
make_table_2col(this.tip.d, lst);
|
|
1737
|
+
this.tip.show(event.clientX, event.clientY);
|
|
1738
|
+
}
|
|
1739
|
+
showTip_cell(sample, f) {
|
|
1740
|
+
const lst = [{ k: "sample", v: sample.name }];
|
|
1741
|
+
if (f.isgenevalue) {
|
|
1742
|
+
const v = f.items.find((i) => i.sample == sample.name);
|
|
1743
|
+
lst.push({ k: f.label, v: v ? v.value : saynovalue });
|
|
1744
|
+
} else if (f.iscnv) {
|
|
1745
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1746
|
+
let text;
|
|
1747
|
+
if (items.length == 0) {
|
|
1748
|
+
text = saynovalue;
|
|
1749
|
+
} else {
|
|
1750
|
+
const lst2 = items.map((i) => {
|
|
1751
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + (i.value > 0 ? f.colorgain : f.colorloss) + ';color:white;padding:1px 5px">' + i.value + "</span></div>";
|
|
1752
|
+
});
|
|
1753
|
+
text = lst2.join("");
|
|
1754
|
+
}
|
|
1755
|
+
lst.push({ k: f.label, v: text });
|
|
1756
|
+
} else if (f.isloh) {
|
|
1757
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1758
|
+
let text;
|
|
1759
|
+
if (items.length == 0) {
|
|
1760
|
+
text = saynovalue;
|
|
1761
|
+
} else {
|
|
1762
|
+
const lst2 = items.map((i) => {
|
|
1763
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + f.color + ';color:white;padding:1px 5px">' + i.segmean + "</span></div>";
|
|
1764
|
+
});
|
|
1765
|
+
text = lst2.join("");
|
|
1766
|
+
}
|
|
1767
|
+
lst.push({ k: f.label, v: text });
|
|
1768
|
+
} else if (f.isvcf) {
|
|
1769
|
+
const mlst = getitemforsample_vcf(f, sample);
|
|
1770
|
+
let text;
|
|
1771
|
+
if (mlst.length == 0) {
|
|
1772
|
+
text = saynovalue;
|
|
1773
|
+
} else {
|
|
1774
|
+
text = mlst.map((m) => {
|
|
1775
|
+
return '<div><span style="color:' + mclass[m.class].color + '">' + m.mname + '</span> <span style="font-size:.7em;opacity:.5">' + mclass[m.class].label + "</span></div>";
|
|
1776
|
+
}).join("");
|
|
1777
|
+
}
|
|
1778
|
+
lst.push({ k: f.label, v: text });
|
|
1779
|
+
} else if (f.isitd) {
|
|
1780
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1781
|
+
let text;
|
|
1782
|
+
if (items.length == 0) {
|
|
1783
|
+
text = saynovalue;
|
|
1784
|
+
} else {
|
|
1785
|
+
const lst2 = items.map((i) => {
|
|
1786
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + " </div>";
|
|
1787
|
+
});
|
|
1788
|
+
text = lst2.join("");
|
|
1789
|
+
}
|
|
1790
|
+
lst.push({ k: f.label, v: text });
|
|
1791
|
+
} else if (f.issvfusion) {
|
|
1792
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1793
|
+
let text;
|
|
1794
|
+
if (items.length == 0) {
|
|
1795
|
+
text = saynovalue;
|
|
1796
|
+
} else {
|
|
1797
|
+
const lst2 = items.map((i) => {
|
|
1798
|
+
return "<div>" + i.chrA + ":" + i.posA + " - " + i.chrB + ":" + i.posB + " </div>";
|
|
1799
|
+
});
|
|
1800
|
+
text = lst2.join("");
|
|
1801
|
+
}
|
|
1802
|
+
lst.push({ k: f.label, v: text });
|
|
1803
|
+
} else if (f.issvcnv || f.ismutation) {
|
|
1804
|
+
const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(f, sample);
|
|
1805
|
+
if (cnv.length) {
|
|
1806
|
+
lst.push({
|
|
1807
|
+
k: (f.genename || f.label) + " CNV",
|
|
1808
|
+
v: cnv.map((i) => {
|
|
1809
|
+
return '<div><span style="background:' + (i.value > 0 ? f.cnv.colorgain : f.cnv.colorloss) + ';color:white;padding:0px 3px">' + i.value + '</span> <span style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + " " + bplen(i.stop - i.start) + "</span></div>";
|
|
1810
|
+
}).join("")
|
|
1811
|
+
});
|
|
1812
|
+
}
|
|
1813
|
+
if (loh.length) {
|
|
1814
|
+
lst.push({
|
|
1815
|
+
k: (f.genename || f.label) + " LOH",
|
|
1816
|
+
v: loh.map((i) => {
|
|
1817
|
+
return '<div><span style="background:' + f.loh.color + ';color:white;padding:0px 3px">' + i.segmean + '</span> <span style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + " " + bplen(i.stop - i.start) + "</span></div>";
|
|
1818
|
+
}).join("")
|
|
1819
|
+
});
|
|
1820
|
+
}
|
|
1821
|
+
if (itd.length) {
|
|
1822
|
+
lst.push({
|
|
1823
|
+
k: (f.genename || f.label) + " ITD",
|
|
1824
|
+
v: itd.map((i) => {
|
|
1825
|
+
return '<div style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + "</div>";
|
|
1826
|
+
}).join("")
|
|
1827
|
+
});
|
|
1828
|
+
}
|
|
1829
|
+
if (sv.length) {
|
|
1830
|
+
lst.push({
|
|
1831
|
+
k: (f.genename || f.label) + " SV",
|
|
1832
|
+
v: sv.map((i) => {
|
|
1833
|
+
return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " > " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
|
|
1834
|
+
}).join("")
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1837
|
+
if (fusion.length) {
|
|
1838
|
+
lst.push({
|
|
1839
|
+
k: (f.genename || f.label) + " fusion",
|
|
1840
|
+
v: fusion.map((i) => {
|
|
1841
|
+
return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " > " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
|
|
1842
|
+
}).join("")
|
|
1843
|
+
});
|
|
1844
|
+
}
|
|
1845
|
+
if (snvindel.length) {
|
|
1846
|
+
lst.push({
|
|
1847
|
+
k: (f.genename || f.label) + " SNV/indel",
|
|
1848
|
+
v: snvindel.map((m) => {
|
|
1849
|
+
const c = mclass[m.m.class];
|
|
1850
|
+
return '<div><span style="color:' + c.color + '">' + (m.m.mname || "") + '</span> <span style="font-size:.7em;opacity:.5">' + c.label + "</span></div>";
|
|
1851
|
+
}).join("")
|
|
1852
|
+
});
|
|
1853
|
+
}
|
|
1854
|
+
} else if (f.issampleattribute) {
|
|
1855
|
+
const item = f.items.find((i) => i.sample == sample.name);
|
|
1856
|
+
if (item) {
|
|
1857
|
+
lst.push({
|
|
1858
|
+
k: f.label,
|
|
1859
|
+
v: item.value
|
|
1860
|
+
});
|
|
1861
|
+
}
|
|
1862
|
+
} else {
|
|
1863
|
+
console.error("cell tooltip: unknown feature type");
|
|
1864
|
+
}
|
|
1865
|
+
this.tip.clear();
|
|
1866
|
+
make_table_2col(this.tip.d, lst);
|
|
1867
|
+
this.tip.show(event.clientX, event.clientY);
|
|
1868
|
+
}
|
|
1869
|
+
/********** __menu ends **********/
|
|
1870
|
+
sortsamplesbyfeatures() {
|
|
1871
|
+
const sortbygenevalue = this.features.find((f) => f.isgenevalue && f.sort);
|
|
1872
|
+
if (sortbygenevalue && sortbygenevalue.items) {
|
|
1873
|
+
const sample2value = /* @__PURE__ */ new Map();
|
|
1874
|
+
for (const i of sortbygenevalue.items) {
|
|
1875
|
+
sample2value.set(i.sample, i.value);
|
|
1876
|
+
}
|
|
1877
|
+
this.samples.sort((i, j) => {
|
|
1878
|
+
const vi = sample2value.has(i.name) ? sample2value.get(i.name) : sortbygenevalue.missingvalue;
|
|
1879
|
+
const vj = sample2value.has(j.name) ? sample2value.get(j.name) : sortbygenevalue.missingvalue;
|
|
1880
|
+
return vj - vi;
|
|
1881
|
+
});
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
may_init_customvcf(tk) {
|
|
1885
|
+
if (tk.info) return;
|
|
1886
|
+
const arg = ["genome=" + this.genome.name];
|
|
1887
|
+
if (tk.file) {
|
|
1888
|
+
arg.push("file=" + tk.file);
|
|
1889
|
+
} else {
|
|
1890
|
+
arg.push("url=" + tk.url);
|
|
1891
|
+
if (tk.indexURL) arg.push("indexURL=" + tk.indexURL);
|
|
1892
|
+
}
|
|
1893
|
+
return dofetch2("vcfheader?" + arg.join("&")).then((data) => {
|
|
1894
|
+
const [info, format, samples, errs] = vcfparsemeta(data.metastr.split("\n"));
|
|
1895
|
+
if (errs) throw "Error parsing VCF meta lines: " + errs.join("; ");
|
|
1896
|
+
tk.info = info;
|
|
1897
|
+
tk.format = format;
|
|
1898
|
+
tk.samples = samples;
|
|
1899
|
+
tk.nochr = data.nochr;
|
|
1900
|
+
});
|
|
1901
|
+
}
|
|
1902
|
+
drawEmptycell(sample, feature, g) {
|
|
1903
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1904
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1905
|
+
if (height < 5) return;
|
|
1906
|
+
g.append("line").attr("x2", width).attr("y2", height).attr("stroke", "#ededed");
|
|
1907
|
+
}
|
|
1908
|
+
// end of class
|
|
1909
|
+
};
|
|
1910
|
+
function feature2arg(f) {
|
|
1911
|
+
if (f.isgenevalue) {
|
|
1912
|
+
return {
|
|
1913
|
+
id: f.id,
|
|
1914
|
+
isgenevalue: 1,
|
|
1915
|
+
querykey: f.querykey,
|
|
1916
|
+
genename: f.genename,
|
|
1917
|
+
chr: f.chr,
|
|
1918
|
+
start: f.start,
|
|
1919
|
+
stop: f.stop
|
|
1920
|
+
};
|
|
1921
|
+
}
|
|
1922
|
+
if (f.iscnv) {
|
|
1923
|
+
return {
|
|
1924
|
+
id: f.id,
|
|
1925
|
+
iscnv: 1,
|
|
1926
|
+
querykey: f.querykey,
|
|
1927
|
+
chr: f.chr,
|
|
1928
|
+
start: f.start,
|
|
1929
|
+
stop: f.stop,
|
|
1930
|
+
valuecutoff: f.valuecutoff,
|
|
1931
|
+
focalsizelimit: f.focalsizelimit
|
|
1932
|
+
};
|
|
1933
|
+
}
|
|
1934
|
+
if (f.isloh) {
|
|
1935
|
+
return {
|
|
1936
|
+
id: f.id,
|
|
1937
|
+
isloh: 1,
|
|
1938
|
+
querykey: f.querykey,
|
|
1939
|
+
chr: f.chr,
|
|
1940
|
+
start: f.start,
|
|
1941
|
+
stop: f.stop,
|
|
1942
|
+
valuecutoff: f.valuecutoff,
|
|
1943
|
+
focalsizelimit: f.focalsizelimit
|
|
1944
|
+
};
|
|
1945
|
+
}
|
|
1946
|
+
if (f.isvcf) {
|
|
1947
|
+
return {
|
|
1948
|
+
id: f.id,
|
|
1949
|
+
isvcf: 1,
|
|
1950
|
+
querykey: f.querykey,
|
|
1951
|
+
chr: f.chr,
|
|
1952
|
+
start: f.start,
|
|
1953
|
+
stop: f.stop,
|
|
1954
|
+
snvindel: {
|
|
1955
|
+
excludeclasses: f.snvindel.excludeclasses
|
|
1956
|
+
}
|
|
1957
|
+
};
|
|
1958
|
+
}
|
|
1959
|
+
if (f.isitd) {
|
|
1960
|
+
return {
|
|
1961
|
+
id: f.id,
|
|
1962
|
+
isitd: 1,
|
|
1963
|
+
querykey: f.querykey,
|
|
1964
|
+
chr: f.chr,
|
|
1965
|
+
start: f.start,
|
|
1966
|
+
stop: f.stop
|
|
1967
|
+
};
|
|
1968
|
+
}
|
|
1969
|
+
if (f.issvfusion) {
|
|
1970
|
+
return {
|
|
1971
|
+
id: f.id,
|
|
1972
|
+
issvfusion: 1,
|
|
1973
|
+
querykey: f.querykey,
|
|
1974
|
+
chr: f.chr,
|
|
1975
|
+
start: f.start,
|
|
1976
|
+
stop: f.stop
|
|
1977
|
+
};
|
|
1978
|
+
}
|
|
1979
|
+
if (f.issvcnv || f.ismutation) {
|
|
1980
|
+
const arg = {
|
|
1981
|
+
id: f.id,
|
|
1982
|
+
chr: f.chr,
|
|
1983
|
+
start: f.start,
|
|
1984
|
+
stop: f.stop,
|
|
1985
|
+
cnv: {
|
|
1986
|
+
hidden: f.cnv.hidden,
|
|
1987
|
+
valuecutoff: f.cnv.valuecutoff,
|
|
1988
|
+
focalsizelimit: f.cnv.focalsizelimit
|
|
1989
|
+
},
|
|
1990
|
+
loh: {
|
|
1991
|
+
hidden: f.loh.hidden,
|
|
1992
|
+
valuecutoff: f.loh.valuecutoff,
|
|
1993
|
+
focalsizelimit: f.loh.focalsizelimit
|
|
1994
|
+
},
|
|
1995
|
+
itd: {
|
|
1996
|
+
hidden: f.itd.hidden
|
|
1997
|
+
},
|
|
1998
|
+
sv: {
|
|
1999
|
+
hidden: f.sv.hidden
|
|
2000
|
+
},
|
|
2001
|
+
fusion: {
|
|
2002
|
+
hidden: f.fusion.hidden
|
|
2003
|
+
},
|
|
2004
|
+
snvindel: {
|
|
2005
|
+
excludeclasses: f.snvindel.excludeclasses
|
|
2006
|
+
}
|
|
2007
|
+
};
|
|
2008
|
+
if (f.issvcnv) {
|
|
2009
|
+
arg.issvcnv = 1;
|
|
2010
|
+
arg.querykey = f.querykey;
|
|
2011
|
+
} else {
|
|
2012
|
+
arg.ismutation = 1;
|
|
2013
|
+
arg.querykeylst = f.querykeylst;
|
|
2014
|
+
}
|
|
2015
|
+
return arg;
|
|
2016
|
+
}
|
|
2017
|
+
if (f.issampleattribute) {
|
|
2018
|
+
return {
|
|
2019
|
+
id: f.id,
|
|
2020
|
+
issampleattribute: 1,
|
|
2021
|
+
key: f.key
|
|
2022
|
+
};
|
|
2023
|
+
}
|
|
2024
|
+
throw "unknown feature type in making request parameter";
|
|
2025
|
+
}
|
|
2026
|
+
function getitemforsample_vcf(feature, sample) {
|
|
2027
|
+
const mlst = [];
|
|
2028
|
+
for (const m of feature.items) {
|
|
2029
|
+
if (m.dt == dtsnvindel) {
|
|
2030
|
+
if (m.sampledata.findIndex((i) => i.sampleobj.name == sample.name) != -1) {
|
|
2031
|
+
mlst.push(m);
|
|
2032
|
+
}
|
|
2033
|
+
} else {
|
|
2034
|
+
console.error("getitemforsample_vcf: unknown dt");
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
return mlst;
|
|
2038
|
+
}
|
|
2039
|
+
function getitemforsample_compound(feature, sample) {
|
|
2040
|
+
const cnv = [], loh = [], itd = [], sv = [], fusion = [], snvindel = [];
|
|
2041
|
+
for (const item of feature.items) {
|
|
2042
|
+
if (item.dt == dtsnvindel) {
|
|
2043
|
+
if (!item.sampledata) continue;
|
|
2044
|
+
const m_sample = item.sampledata.find((s) => s.sampleobj.name == sample.name);
|
|
2045
|
+
if (!m_sample) continue;
|
|
2046
|
+
snvindel.push({
|
|
2047
|
+
m: item,
|
|
2048
|
+
m_sample
|
|
2049
|
+
});
|
|
2050
|
+
continue;
|
|
2051
|
+
}
|
|
2052
|
+
if (item.sample != sample.name) continue;
|
|
2053
|
+
if (item.dt == dtcnv) {
|
|
2054
|
+
cnv.push(item);
|
|
2055
|
+
} else if (item.dt == dtloh) {
|
|
2056
|
+
loh.push(item);
|
|
2057
|
+
} else if (item.dt == dtitd) {
|
|
2058
|
+
itd.push(item);
|
|
2059
|
+
} else if (item.dt == dtsv) {
|
|
2060
|
+
sv.push(item);
|
|
2061
|
+
} else if (item.dt == dtfusionrna) {
|
|
2062
|
+
fusion.push(item);
|
|
2063
|
+
} else {
|
|
2064
|
+
console.error("unknown dt: " + item.dt);
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
return [cnv, loh, itd, sv, fusion, snvindel];
|
|
2068
|
+
}
|
|
2069
|
+
function initfeature_polymutation(f) {
|
|
2070
|
+
if (!f.width) f.width = 20;
|
|
2071
|
+
if (!f.cnv) f.cnv = {};
|
|
2072
|
+
if (!f.cnv.valuecutoff) f.cnv.valuecutoff = 0.2;
|
|
2073
|
+
if (!Number.isInteger(f.cnv.focalsizelimit)) f.cnv.focalsizelimit = 2e6;
|
|
2074
|
+
if (!f.cnv.colorgain) f.cnv.colorgain = default_cnvgaincolor;
|
|
2075
|
+
if (!f.cnv.colorloss) f.cnv.colorloss = default_cnvlosscolor;
|
|
2076
|
+
if (!f.loh) f.loh = {};
|
|
2077
|
+
if (!f.loh.valuecutoff) f.loh.valuecutoff = 0.1;
|
|
2078
|
+
if (!Number.isInteger(f.loh.focalsizelimit)) f.loh.focalsizelimit = 2e6;
|
|
2079
|
+
if (!f.loh.color) f.loh.color = default_lohcolor;
|
|
2080
|
+
if (!f.itd) f.itd = {};
|
|
2081
|
+
if (!f.itd.color) f.itd.color = mclass[mclassitd].color;
|
|
2082
|
+
if (!f.sv) f.sv = {};
|
|
2083
|
+
if (!f.sv.color) f.sv.color = default_svcolor;
|
|
2084
|
+
if (!f.fusion) f.fusion = {};
|
|
2085
|
+
if (!f.fusion.color) f.fusion.color = default_svcolor;
|
|
2086
|
+
if (!f.snvindel) f.snvindel = {};
|
|
2087
|
+
if (!f.snvindel.excludeclasses) f.snvindel.excludeclasses = {};
|
|
2088
|
+
}
|
|
2089
|
+
function init_controlui(o) {
|
|
2090
|
+
const buttonrow = o.holder.append("div").style("margin-bottom", "5px");
|
|
2091
|
+
const folderdiv = o.holder.append("div").style("margin-bottom", "20px");
|
|
2092
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("LEGEND").attr("class", "sja_clbtext").on("click", () => {
|
|
2093
|
+
if (o.legendtable.style("display") == "none") {
|
|
2094
|
+
appear(o.legendtable);
|
|
2095
|
+
} else {
|
|
2096
|
+
disappear(o.legendtable);
|
|
2097
|
+
}
|
|
2098
|
+
});
|
|
2099
|
+
o.legendtable = folderdiv.append("table").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("border-spacing", "10px").style("display", "none");
|
|
2100
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("CONFIG").attr("class", "sja_clbtext").on("click", () => {
|
|
2101
|
+
if (generalconfig.style("display") == "none") {
|
|
2102
|
+
appear(generalconfig);
|
|
2103
|
+
} else {
|
|
2104
|
+
disappear(generalconfig);
|
|
2105
|
+
}
|
|
2106
|
+
});
|
|
2107
|
+
const generalconfig = folderdiv.append("div").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("display", "none");
|
|
2108
|
+
const row = generalconfig.append("div").style("margin", "5px");
|
|
2109
|
+
row.append("div").style("vertical-align", "top").style("display", "inline-block").html("Show features as ");
|
|
2110
|
+
const opts_div = row.append("div").style("display", "inline-block");
|
|
2111
|
+
const mutation_opts = [
|
|
2112
|
+
{ value: "symbol", text: "CNV on genomic location, others as symbol" },
|
|
2113
|
+
{ value: "proportion", text: "All features as porportion" }
|
|
2114
|
+
];
|
|
2115
|
+
mutation_opts.forEach((opt) => {
|
|
2116
|
+
const opt_div = opts_div.append("div");
|
|
2117
|
+
opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "mutaion_display").attr("value", opt.value).property(
|
|
2118
|
+
"checked",
|
|
2119
|
+
opt.value == "symbol" && o.ismutation_allsymbolic === void 0 && o.ismutation_allnotsymbolic === void 0 ? 1 : opt.value == "symbol" && o.ismutation_allnotsymbolic ? 1 : opt.value == "proportion" && o.ismutation_allsymbolic ? 1 : 0
|
|
2120
|
+
).on("change", function() {
|
|
2121
|
+
if (opt.value == "symbol" && o.ismutation_allnotsymbolic) return;
|
|
2122
|
+
else if (opt.value == "proportion" && o.ismutation_allsymbolic) return;
|
|
2123
|
+
else if (opt.value == "symbol") {
|
|
2124
|
+
delete o.ismutation_allsymbolic;
|
|
2125
|
+
o.ismutation_allnotsymbolic = true;
|
|
2126
|
+
} else if (opt.value == "proportion") {
|
|
2127
|
+
o.ismutation_allsymbolic = true;
|
|
2128
|
+
delete o.ismutation_allnotsymbolic;
|
|
2129
|
+
} else {
|
|
2130
|
+
return;
|
|
2131
|
+
}
|
|
2132
|
+
o.draw_matrix();
|
|
2133
|
+
});
|
|
2134
|
+
opt_div.append("label").attr("for", opt.value).text(opt.text);
|
|
2135
|
+
});
|
|
2136
|
+
const row2 = generalconfig.append("div").style("margin", "5px");
|
|
2137
|
+
row2.append("div").style("vertical-align", "top").style("display", "inline-block").html("Layout of Matrix ");
|
|
2138
|
+
const opts_div2 = row2.append("div").style("display", "inline-block");
|
|
2139
|
+
const layout_opts = [
|
|
2140
|
+
{ value: "gene_on_row", text: "Genes as Rows" },
|
|
2141
|
+
{ value: "sam_on_row", text: "Samples as Rows" }
|
|
2142
|
+
];
|
|
2143
|
+
layout_opts.forEach((opt) => {
|
|
2144
|
+
const opt_div = opts_div2.append("div");
|
|
2145
|
+
opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "layout").attr("value", opt.value).property(
|
|
2146
|
+
"checked",
|
|
2147
|
+
opt.value == "gene_on_row" && o.features_on_rows ? 1 : opt.value == "sam_on_row" && !o.features_on_rows ? 1 : 0
|
|
2148
|
+
).on("change", function() {
|
|
2149
|
+
if (opt.value == "gene_on_row" && o.features_on_rows) return;
|
|
2150
|
+
else if (opt.value == "sam_on_row" && !o.features_on_rows) return;
|
|
2151
|
+
else if (opt.value == "gene_on_row") {
|
|
2152
|
+
o.features_on_rows = true;
|
|
2153
|
+
if (o.ori_feature_width) o.features.forEach((f) => f.height = o.ori_feature_width);
|
|
2154
|
+
} else {
|
|
2155
|
+
o.features_on_rows = false;
|
|
2156
|
+
if (o.ori_feature_height) o.features.forEach((f) => f.width = o.ori_feature_height);
|
|
2157
|
+
}
|
|
2158
|
+
o.draw_matrix();
|
|
2159
|
+
});
|
|
2160
|
+
opt_div.append("label").attr("for", opt.value).text(opt.text);
|
|
2161
|
+
});
|
|
2162
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("DATA").attr("class", "sja_clbtext").on("click", () => {
|
|
2163
|
+
printData(o);
|
|
2164
|
+
});
|
|
2165
|
+
may_add_kmplotbutton(o, buttonrow);
|
|
2166
|
+
}
|
|
2167
|
+
function printData(o) {
|
|
2168
|
+
const lst = ["sample feature varianttype variant"];
|
|
2169
|
+
for (const s of o.samples) {
|
|
2170
|
+
for (const f of o.features) {
|
|
2171
|
+
for (const i of f.items) {
|
|
2172
|
+
if (i.sample && i.sample == s.name || i.sampledata && i.sampledata.findIndex((i2) => i2.sampleobj.name == s.name) != -1) {
|
|
2173
|
+
lst.push(s.name + " " + f.label + " " + dt2label[i.dt] + " " + item2string(i));
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
export_data("Matrix data", [{ text: lst.join("\n") }]);
|
|
2179
|
+
}
|
|
2180
|
+
function item2string(i) {
|
|
2181
|
+
if (i.dt == dtsnvindel)
|
|
2182
|
+
return i.mname + " " + mclass[i.class].label + " " + i.chr + "." + i.pos + "." + i.ref + "." + i.alt;
|
|
2183
|
+
if (i.dt == dtfusionrna || i.dt == dtsv)
|
|
2184
|
+
return i.chrA + "." + i.posA + "." + (i.strandA || "") + " > " + i.chrB + "." + i.posB + "." + (i.strandB || "");
|
|
2185
|
+
if (i.dt == dtcnv) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.value;
|
|
2186
|
+
if (i.dt == dtloh) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.segmean;
|
|
2187
|
+
if (i.dt == dtitd) return i.chr + ":" + i.start + "-" + i.stop;
|
|
2188
|
+
return "";
|
|
2189
|
+
}
|
|
2190
|
+
export {
|
|
2191
|
+
Samplematrix
|
|
2192
|
+
};
|
|
2193
|
+
//# sourceMappingURL=samplematrix-MNFCXOWO.js.map
|