@sjcrh/proteinpaint-client 2.196.0 → 2.198.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-R3PFZNRN.js +1373 -0
- package/dist/AIProjectAdmin-DM3KG6SR.js +958 -0
- package/dist/AppHeader-6DZQ6YZX.js +835 -0
- package/dist/BoxPlot-76NINVX4.js +1217 -0
- package/dist/CorrelationVolcano-U5UMJNH5.js +619 -0
- package/dist/DE-AXNYWIQK.js +95 -0
- package/dist/DEinput-JH6YY6LS.js +301 -0
- package/dist/DifferentialAnalysis-25P4CGIY.js +242 -0
- package/dist/DifferentialAnalysis-25P4CGIY.js.map +7 -0
- package/dist/Disco-NVMLF3BK.js +3392 -0
- package/dist/Disco-NVMLF3BK.js.map +7 -0
- package/dist/Disco.UI-C7CZINUQ.js +249 -0
- package/dist/DmrPlot-WROR4ENM.js +642 -0
- package/dist/GB-JUABODPH.js +1394 -0
- package/dist/GB-JUABODPH.js.map +7 -0
- package/dist/GSEA-Y5R2THIJ.js +846 -0
- package/dist/GSEA-Y5R2THIJ.js.map +7 -0
- package/dist/GeneExpInput-JDU6EI7K.js +367 -0
- package/dist/Geomap-J763OK2F.js +89 -0
- package/dist/Geomap-J763OK2F.js.map +7 -0
- package/dist/HicApp-UNIJLH4B.js +2250 -0
- package/dist/IDCViewer-KVPCIUDW.js +10803 -0
- package/dist/IDCViewer-KVPCIUDW.js.map +7 -0
- package/dist/NumBinaryEditor-WMN2GGO4.js +271 -0
- package/dist/NumBinaryEditor.unit.spec-TAMXV6SE.js +286 -0
- package/dist/NumContEditor-XYIOJY4E.js +109 -0
- package/dist/NumContEditor.unit.spec-WDZ75BHO.js +169 -0
- package/dist/NumCustomBinEditor-5SY3C4TY.js +38 -0
- package/dist/NumCustomBinEditor.unit.spec-XHTAIXR3.js +284 -0
- package/dist/NumDiscreteEditor-NRDRX4FD.js +179 -0
- package/dist/NumDiscreteEditor.unit.spec-2CJW7OAT.js +202 -0
- package/dist/NumRegularBinEditor-DUDVTNDC.js +38 -0
- package/dist/NumRegularBinEditor.unit.spec-H3GNQHMN.js +227 -0
- package/dist/NumSplineEditor-7Q4AC7KH.js +198 -0
- package/dist/NumSplineEditor.unit.spec-YRZK5PH5.js +199 -0
- package/dist/NumericDensity-NTNWUESG.js +38 -0
- package/dist/NumericDensity.unit.spec-5I5U6T6P.js +221 -0
- package/dist/NumericHandler-MEW2KMPX.js +39 -0
- package/dist/NumericHandler.unit.spec-JFX4BPRG.js +219 -0
- package/dist/ProteomeInput-K2ZHR2U6.js +395 -0
- package/dist/ProteomeInput-K2ZHR2U6.js.map +7 -0
- package/dist/RunChart2-BEBDU7RC.js +758 -0
- package/dist/SC-XCBFJVUJ.js +1120 -0
- package/dist/SC-XCBFJVUJ.js.map +7 -0
- package/dist/Volcano-4Y4TP3UX.js +1385 -0
- package/dist/Volcano-4Y4TP3UX.js.map +7 -0
- package/dist/WSIViewer-ZLQU62PD.js +48562 -0
- package/dist/WsiSamplesPlot-JMBSITOM.js +165 -0
- package/dist/adSandbox-664IRCRL.js +38 -0
- package/dist/animatedBubbleChart-TX7NW34K.js +555 -0
- package/dist/app-63WJ3BMP.js +37 -0
- package/dist/app-77FIZHCG.js +49 -0
- package/dist/app.js +19 -19
- package/dist/bam-IETNVAYD.js +860 -0
- package/dist/barchart-YUVXJNH4.js +47 -0
- package/dist/barchart.data-P4EIQXGE.js +22 -0
- package/dist/barchart.events-JPVCLTIG.js +47 -0
- package/dist/barchart.integration.spec-ZH7DEQI2.js +2196 -0
- package/dist/barchart2-XO2FG76J.js +314 -0
- package/dist/bars.renderer-AUIWUJDH.js +12 -0
- package/dist/block-NBTCOT3H.js +6255 -0
- package/dist/block-NBTCOT3H.js.map +7 -0
- package/dist/block.init-X7Y2EEVR.js +38 -0
- package/dist/block.mds.expressionrank-BIAOZIZ3.js +359 -0
- package/dist/block.mds.geneboxplot-CNICDVLK.js +828 -0
- package/dist/block.mds.junction-PQXCTSUI.js +1545 -0
- package/dist/block.mds.svcnv-32KMVTCT.js +6801 -0
- package/dist/block.svg-LRTOYQK2.js +164 -0
- package/dist/block.tk.aicheck-HDV7ZIUD.js +283 -0
- package/dist/block.tk.ase-JIDWKMYI.js +365 -0
- package/dist/block.tk.bam-5X3OS5HB.js +1906 -0
- package/dist/block.tk.bedgraphdot-T7JX7YQL.js +384 -0
- package/dist/block.tk.bigwig.ui-OSAYEBAE.js +212 -0
- package/dist/block.tk.hicstraw-DEY3VQFK.js +823 -0
- package/dist/block.tk.junction-7UAFEZSJ.js +2364 -0
- package/dist/block.tk.junction.textmatrixui-27LHS33U.js +199 -0
- package/dist/block.tk.ld-DF2PI7OO.js +99 -0
- package/dist/block.tk.menu-L2D5KBIV.js +1029 -0
- package/dist/block.tk.pgv-QO56SKBV.js +944 -0
- package/dist/brainImaging-NIPQWFWO.js +423 -0
- package/dist/brainRegions-ZNZ2WHSU.js +221 -0
- package/dist/bubbleHeatmap-ERWNEKZB.js +383 -0
- package/dist/chunk-2GYWFQML.js +299 -0
- package/dist/chunk-2HYJ4GDH.js +50 -0
- package/dist/chunk-2MG6XE6R.js +272 -0
- package/dist/chunk-2X6W4E3W.js +1507 -0
- package/dist/chunk-2X6W4E3W.js.map +7 -0
- package/dist/chunk-33K5PA52.js +54 -0
- package/dist/chunk-37XDBPOP.js +26 -0
- package/dist/chunk-3EWB3246.js +58 -0
- package/dist/chunk-3RSKOPIY.js +100 -0
- package/dist/chunk-3XVVN66M.js +4085 -0
- package/dist/chunk-3XVVN66M.js.map +7 -0
- package/dist/chunk-4DPVT4NE.js +1102 -0
- package/dist/chunk-4IH7DORZ.js +98 -0
- package/dist/chunk-4QNBFIIR.js +399 -0
- package/dist/chunk-4STKL6SR.js +217 -0
- package/dist/chunk-4TZIVSL5.js +34 -0
- package/dist/chunk-5ABGFJSP.js +467 -0
- package/dist/chunk-5AZNP47R.js +302 -0
- package/dist/chunk-5RL2OHXX.js +5070 -0
- package/dist/chunk-5RL2OHXX.js.map +7 -0
- package/dist/chunk-5VOPABBA.js +20941 -0
- package/dist/chunk-5VOPABBA.js.map +7 -0
- package/dist/chunk-6BB43SIB.js +102 -0
- package/dist/chunk-7OHRR2IE.js +276 -0
- package/dist/chunk-ARBHWDMY.js +226 -0
- package/dist/chunk-ARBHWDMY.js.map +7 -0
- package/dist/chunk-ASATD4T7.js +14 -0
- package/dist/chunk-AZ47Q7BX.js +1223 -0
- package/dist/chunk-AZ47Q7BX.js.map +7 -0
- package/dist/chunk-B5B3LZB3.js +236 -0
- package/dist/chunk-BHGISFCA.js +2681 -0
- package/dist/chunk-BMBOZ64T.js +2786 -0
- package/dist/chunk-BOZJHPJP.js +216 -0
- package/dist/chunk-CDD7LYJM.js +194 -0
- package/dist/chunk-CTQ3IUCA.js +2327 -0
- package/dist/chunk-D7TID3HR.js +158 -0
- package/dist/chunk-DBKNWR4J.js +1561 -0
- package/dist/chunk-DBKNWR4J.js.map +7 -0
- package/dist/chunk-E55LLYRX.js +55 -0
- package/dist/chunk-ESGXULRH.js +386 -0
- package/dist/chunk-EZ4LZ6ZT.js +117 -0
- package/dist/chunk-F3SJTVP5.js +4284 -0
- package/dist/chunk-F5IXNJO7.js +222 -0
- package/dist/chunk-FJYECRHW.js +448 -0
- package/dist/chunk-FPNRUQOU.js +833 -0
- package/dist/chunk-G5S4R77D.js +1942 -0
- package/dist/chunk-G5S4R77D.js.map +7 -0
- package/dist/chunk-G764NXQN.js +170 -0
- package/dist/chunk-GAPI4MML.js +148 -0
- package/dist/chunk-HLUZOZXJ.js +272 -0
- package/dist/chunk-HOKIK2FR.js +375 -0
- package/dist/chunk-I6WR4CG7.js +323 -0
- package/dist/chunk-I6WR4CG7.js.map +7 -0
- package/dist/chunk-KLGL6XZD.js +129 -0
- package/dist/chunk-KTKZSYIH.js +24 -0
- package/dist/chunk-KTKZSYIH.js.map +7 -0
- package/dist/chunk-L7IRWUKT.js +480 -0
- package/dist/chunk-LFCYMSVA.js +314 -0
- package/dist/chunk-LFCYMSVA.js.map +7 -0
- package/dist/chunk-LX6G7HJJ.js +617 -0
- package/dist/chunk-M2G5R4WB.js +142 -0
- package/dist/chunk-M4TTGGT4.js +102 -0
- package/dist/chunk-M6EF3WVV.js +1825 -0
- package/dist/chunk-M6KHT3MM.js +146 -0
- package/dist/chunk-MCZFHWIR.js +230 -0
- package/dist/chunk-MFQACKYU.js +448 -0
- package/dist/chunk-MVGAGTM3.js +343 -0
- package/dist/chunk-NELOT3NJ.js +119 -0
- package/dist/chunk-NRKMXULC.js +54 -0
- package/dist/chunk-NSTL4MY2.js +2110 -0
- package/dist/chunk-NSTL4MY2.js.map +7 -0
- package/dist/chunk-NYRZNRG5.js +177 -0
- package/dist/chunk-ONPKE6DC.js +368 -0
- package/dist/chunk-OXVLWQ6M.js +556 -0
- package/dist/chunk-OXVLWQ6M.js.map +7 -0
- package/dist/chunk-PFRWS4CR.js +203 -0
- package/dist/chunk-PJKQUXEN.js +1275 -0
- package/dist/chunk-Q2L44HK3.js +6364 -0
- package/dist/chunk-QNHT74XC.js +1245 -0
- package/dist/chunk-QNHT74XC.js.map +7 -0
- package/dist/chunk-RKO6BL5N.js +446 -0
- package/dist/chunk-T25QNZHB.js +254 -0
- package/dist/chunk-U7TBYVIQ.js +31 -0
- package/dist/chunk-UGRQXBL4.js +381 -0
- package/dist/chunk-USFSHSCJ.js +477 -0
- package/dist/chunk-VJ6UFVGC.js +2833 -0
- package/dist/chunk-W3WPPOXH.js +292 -0
- package/dist/chunk-WFCSOTBO.js +263 -0
- package/dist/chunk-WHP4AKDM.js +185 -0
- package/dist/chunk-WHP4AKDM.js.map +7 -0
- package/dist/chunk-WZ2L57MB.js +102 -0
- package/dist/chunk-XPY6AWXO.js +787 -0
- package/dist/chunk-XPY6AWXO.js.map +7 -0
- package/dist/chunk-Y4UAKFWC.js +37 -0
- package/dist/chunk-YQBS2ZCK.js +514 -0
- package/dist/chunk-Z5U6HOE4.js +190 -0
- package/dist/chunk-Z5U6HOE4.js.map +7 -0
- package/dist/chunk-ZNEJUKJW.js +140 -0
- package/dist/chunk-ZNEJUKJW.js.map +7 -0
- package/dist/chunk-ZTHM2TKP.js +176 -0
- package/dist/condition-2PASYSUC.js +332 -0
- package/dist/controls-5IMJ6K5L.js +41 -0
- package/dist/controls.config-P5PG2DHW.js +39 -0
- package/dist/correlation-U3EDLNHR.js +102 -0
- package/dist/cuminc-2HUFEROK.js +1149 -0
- package/dist/cuminc.integration.spec-WFWAPTDA.js +678 -0
- package/dist/cuminc.integration.spec-WFWAPTDA.js.map +7 -0
- package/dist/customdata.inputui-ZHWNEPFH.js +289 -0
- package/dist/dataDownload-VBSJBKMP.js +330 -0
- package/dist/dataDownload.integration.spec-LUFSETOP.js +193 -0
- package/dist/databrowser.ui-6H2KMSTJ.js +433 -0
- package/dist/dictionary-V37LXFIP.js +118 -0
- package/dist/dnaMethylation-OIZMHMLK.js +38 -0
- package/dist/dnaMethylation.integration.spec-CWPTJ74H.js +203 -0
- package/dist/dofetch-IWPZQB5N.js +51 -0
- package/dist/e2pca-7SLIAGYW.js +350 -0
- package/dist/ep-7L6KF6K4.js +1256 -0
- package/dist/expclust.gdc.spec-JT452Q3G.js +307 -0
- package/dist/facet-CXOUU5AS.js +521 -0
- package/dist/forms2-VPNCLQOY.js +539 -0
- package/dist/gb-P4VRXRED.js +88 -0
- package/dist/geneExpClustering-FQTCKRJJ.js +249 -0
- package/dist/geneExpression-BHO5326K.js +313 -0
- package/dist/geneExpression-ZMERB64E.js +38 -0
- package/dist/geneExpression.unit.spec-CNVHZWNG.js +102 -0
- package/dist/geneORA-FXVUCXGX.js +278 -0
- package/dist/geneRanking-SFK4UBKQ.js +553 -0
- package/dist/geneVariant-IYEHB4H7.js +41 -0
- package/dist/geneVariant-LIRRLUFR.js +39 -0
- package/dist/geneVariant.integration.spec-Y2NPNTYX.js +198 -0
- package/dist/genefusion.ui-L3HIJM3N.js +309 -0
- package/dist/geneset-A6VUFX63.js +208 -0
- package/dist/genomeBrowser.spec-CB4HHHBN.js +281 -0
- package/dist/grin2-FKBIMH5N.js +75 -0
- package/dist/grin2-V36KLEBU.js +1143 -0
- package/dist/grin2-V36KLEBU.js.map +7 -0
- package/dist/hierCluster-QFPRMHVA.js +63 -0
- package/dist/hierCluster-YWC3XYPV.js +59 -0
- package/dist/hierCluster.config-F7YYZNM3.js +40 -0
- package/dist/hierCluster.integration.spec-AF4L3YT6.js +488 -0
- package/dist/hierCluster.interactivity-RPY74PK6.js +54 -0
- package/dist/hierCluster.renderers-LOKHZ3V2.js +21 -0
- package/dist/imagePlot-BBEXA754.js +163 -0
- package/dist/importPlot-7QGANZGK.js +8 -0
- package/dist/isoformExpression-4SLLCVFD.js +40 -0
- package/dist/isoformExpression.unit.spec-GEL4JJ64.js +208 -0
- package/dist/launch.adhoc-LWLBQJS5.js +42 -0
- package/dist/leftlabel.sample-RTEZOIH2.js +264 -0
- package/dist/legacyDataset-VLD7ZYWI.js +119 -0
- package/dist/lollipop-XKQK5QZU.js +171 -0
- package/dist/maf-AZQPPWDO.js +459 -0
- package/dist/maftimeline-7MSVYKQU.js +593 -0
- package/dist/matrix-BGLWC25D.js +58 -0
- package/dist/matrix-IQR5SRMK.js +63 -0
- package/dist/matrix.cells-5C57NWOY.js +28 -0
- package/dist/matrix.config-2DQXAN2E.js +41 -0
- package/dist/matrix.data-ADCGF5H6.js +25 -0
- package/dist/matrix.groups-V4ITQ5F7.js +27 -0
- package/dist/matrix.integration.spec-IBNOO2WP.js +3072 -0
- package/dist/matrix.integration.spec-IBNOO2WP.js.map +7 -0
- package/dist/matrix.interactivity-JNELJFOV.js +42 -0
- package/dist/matrix.layout-WBVIV6GR.js +44 -0
- package/dist/matrix.legend-YHOWPK77.js +22 -0
- package/dist/matrix.renderers-5BGVRR3M.js +38 -0
- package/dist/matrix.serieses-2GZJOASZ.js +21 -0
- package/dist/matrix.sort-WKIWPJKP.js +27 -0
- package/dist/matrix.sort.unit.spec-L2E4D4AS.js +472 -0
- package/dist/matrix.sorterUi-TEJWWJ64.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-SHP7C4P7.js +342 -0
- package/dist/mavb-4MXNYUEO.js +732 -0
- package/dist/mds.fimo-WHIJIBOI.js +518 -0
- package/dist/mds.samplescatterplot-BRJ6NG2D.js +1550 -0
- package/dist/mds.survivalplot-OPCMB5PB.js +483 -0
- package/dist/numericDictTermCluster-7MIFOP2K.js +65 -0
- package/dist/oncomatrix-BGG6BEUI.js +295 -0
- package/dist/oncomatrix.spec-LYQ4L4F3.js +448 -0
- package/dist/plot.2dvaf-6WVCP2ZI.js +377 -0
- package/dist/plot.app-MLBP6WFP.js +41 -0
- package/dist/plot.barplot-JEPRZSCU.js +102 -0
- package/dist/plot.boxplot-GNFW42VM.js +152 -0
- package/dist/plot.brainImaging-5ACNSD45.js +51 -0
- package/dist/plot.disco-Q2V2KKIH.js +102 -0
- package/dist/plot.dzi-KVT6S7K7.js +33 -0
- package/dist/plot.ssgq-4N3KFJQ2.js +139 -0
- package/dist/plot.vaf2cov-ITRG5U43.js +259 -0
- package/dist/plot.wsi-26YZNU4V.js +36 -0
- package/dist/polar2-J7GVUK4X.js +231 -0
- package/dist/profileForms-VXV2JLXU.js +446 -0
- package/dist/profilePlot-ZZYZK4SY.js +54 -0
- package/dist/proteinView-7KN532D3.js +1568 -0
- package/dist/qualitative-MLRVLIAU.js +43 -0
- package/dist/radar2-WM2ZBOH3.js +326 -0
- package/dist/radarFacility2-3SBR2JJ3.js +334 -0
- package/dist/regression-WMRPQJW2.js +56 -0
- package/dist/regression.inputs-VWZKSYNY.js +48 -0
- package/dist/regression.inputs.term-OWE6GWHM.js +48 -0
- package/dist/regression.inputs.values.table-4INNZQI2.js +45 -0
- package/dist/regression.integration.spec-XKQ2JOOT.js +784 -0
- package/dist/regression.results-VZBYMBYC.js +40 -0
- package/dist/regression.spec-DU3UTDCJ.js +708 -0
- package/dist/render-N5FOF247.js +38 -0
- package/dist/report-DW3OHB67.js +222 -0
- package/dist/sampleScatter.spec-REFSK2V4.js +202 -0
- package/dist/sampleView-ICOT2R6O.js +48 -0
- package/dist/samplelst-TJEVASYG.js +111 -0
- package/dist/samplematrix-6DAWCXQ3.js +2198 -0
- package/dist/sc-53LNOB7N.js +86 -0
- package/dist/scatter-DKYSS4DL.js +851 -0
- package/dist/selectGenomeWithTklst-WTX66TV3.js +134 -0
- package/dist/singleCellCellType-D2CN2BHQ.js +38 -0
- package/dist/singleCellCellType.unit.spec-LADUCI4R.js +160 -0
- package/dist/singleCellGeneExpression-YR2ZT34W.js +38 -0
- package/dist/singleCellGeneExpression.unit.spec-BM63M432.js +153 -0
- package/dist/singleCellPlot-3ICIOILE.js +54 -0
- package/dist/singlecell-6ZUFA3BQ.js +86 -0
- package/dist/singlecell-KX7W4U57.js +1572 -0
- package/dist/snp-VIURB7L3.js +38 -0
- package/dist/snp.unit.spec-ACZNZUNS.js +176 -0
- package/dist/snplocus-3LW4ZUZR.js +208 -0
- package/dist/spliceevent.a53ss.diagram-AKTZGWNM.js +151 -0
- package/dist/spliceevent.exonskip.diagram-XZHXB77R.js +283 -0
- package/dist/spliceevent.exonskip.diagram-XZHXB77R.js.map +7 -0
- package/dist/spliceevent.noeventdiagram-YTXWWNTJ.js +460 -0
- package/dist/ssGSEA-THW4WFMI.js +38 -0
- package/dist/ssGSEA.unit.spec-HTRGQI2K.js +88 -0
- package/dist/summarizeCnvGeneexp-RFYC3H2Z.js +163 -0
- package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js +114 -0
- package/dist/summarizeMutationCnv-7AYEMHAI.js +164 -0
- package/dist/summarizeMutationDiagnosis-AKFJDSAF.js +40 -0
- package/dist/summarizeMutationSurvival-QJHZRQBZ.js +99 -0
- package/dist/summary-A5P7AYK4.js +49 -0
- package/dist/summary.integration.spec-HQISXGNL.js +414 -0
- package/dist/summaryInput-HP675QOQ.js +235 -0
- package/dist/sunburst-65LSYRXX.js +284 -0
- package/dist/survival-QNEI6YVK.js +46 -0
- package/dist/survival-UI74VXSM.js +58 -0
- package/dist/survival.integration.spec-X5N3JQXS.js +915 -0
- package/dist/survival.integration.spec-X5N3JQXS.js.map +7 -0
- package/dist/svgraph-PSX2NER3.js +1387 -0
- package/dist/svmr-QDQ33EFX.js +3842 -0
- package/dist/table-LWAI27UO.js +200 -0
- package/dist/termCollection-3JHR74FG.js +179 -0
- package/dist/termCollection-CDF5LYUG.js +38 -0
- package/dist/termCollection.unit.spec-HOJKYWHF.js +208 -0
- package/dist/tk-GL4QCL4K.js +1019 -0
- package/dist/tk-GL4QCL4K.js.map +7 -0
- package/dist/tk-OEQFO73V.js +46 -0
- package/dist/tp.ui-SHNERDGC.js +1459 -0
- package/dist/tvs.dt-CZDC4TSR.js +39 -0
- package/dist/tvs.dtcnv.categorical-OPBDHZGB.js +40 -0
- package/dist/tvs.dtcnv.continuous-AR6P4EP3.js +72 -0
- package/dist/tvs.dtfusion-2YQ7N6FQ.js +40 -0
- package/dist/tvs.dtitd-ATCHW735.js +40 -0
- package/dist/tvs.dtitd-ATCHW735.js.map +7 -0
- package/dist/tvs.dtsnvindel-WHHWAATJ.js +40 -0
- package/dist/tvs.dtsv-3UMCW65O.js +40 -0
- package/dist/tvs.numeric-TOEPASWN.js +21 -0
- package/dist/tvs.samplelst-M7XKXRTZ.js +104 -0
- package/dist/tvs.termCollection-WT4WZMYR.js +159 -0
- package/dist/violin-2YGXTBDS.js +46 -0
- package/dist/violin.integration.spec-YWNHVAGS.js +1425 -0
- package/dist/violin.interactivity-J6BE2UQL.js +38 -0
- package/dist/violin.renderer-3GRUWP2U.js +40 -0
- package/dist/vocabulary-2INCVPYJ.js +41 -0
- package/package.json +3 -3
- package/dist/2dmaf-SKNV7IHT.js +0 -1373
- package/dist/AIProjectAdmin-AOTVRBNH.js +0 -958
- package/dist/AppHeader-M2ZSS3M3.js +0 -835
- package/dist/BoxPlot-P3EECSQA.js +0 -1217
- package/dist/CorrelationVolcano-YCQ5S6MT.js +0 -619
- package/dist/DE-RBMOQZCR.js +0 -95
- package/dist/DEinput-PTW6RS6U.js +0 -301
- package/dist/DifferentialAnalysis-M6IDWPYX.js +0 -245
- package/dist/DifferentialAnalysis-M6IDWPYX.js.map +0 -7
- package/dist/Disco-GUKDAHUY.js +0 -3297
- package/dist/Disco-GUKDAHUY.js.map +0 -7
- package/dist/Disco.UI-YBIMV7RH.js +0 -249
- package/dist/DmrPlot-JQPLLU6P.js +0 -642
- package/dist/GB-UOTFNVJE.js +0 -1353
- package/dist/GB-UOTFNVJE.js.map +0 -7
- package/dist/GeneExpInput-3OPDDCXR.js +0 -367
- package/dist/HicApp-VFOWRP6G.js +0 -2250
- package/dist/IDCViewer-Y7EOIIBG.js +0 -10455
- package/dist/IDCViewer-Y7EOIIBG.js.map +0 -7
- package/dist/NumBinaryEditor-RL44SO3T.js +0 -271
- package/dist/NumBinaryEditor.unit.spec-P73PGAX5.js +0 -286
- package/dist/NumContEditor-MIC7M73G.js +0 -109
- package/dist/NumContEditor.unit.spec-5XZH7OCG.js +0 -169
- package/dist/NumCustomBinEditor-W357XTIR.js +0 -38
- package/dist/NumCustomBinEditor.unit.spec-CJMK4CYW.js +0 -284
- package/dist/NumDiscreteEditor-PRSUMS3I.js +0 -179
- package/dist/NumDiscreteEditor.unit.spec-A6R56P3Z.js +0 -202
- package/dist/NumRegularBinEditor-7OHUEUCC.js +0 -38
- package/dist/NumRegularBinEditor.unit.spec-NOAX42UZ.js +0 -227
- package/dist/NumSplineEditor-XI7AT5LM.js +0 -198
- package/dist/NumSplineEditor.unit.spec-ZH4M2N2C.js +0 -199
- package/dist/NumericDensity-X6IHQAW3.js +0 -38
- package/dist/NumericDensity.unit.spec-EKVD4AUG.js +0 -221
- package/dist/NumericHandler-5ONBWFJ5.js +0 -39
- package/dist/NumericHandler.unit.spec-SHI6E4VA.js +0 -219
- package/dist/ProteomeInput-HN46MIBP.js +0 -396
- package/dist/ProteomeInput-HN46MIBP.js.map +0 -7
- package/dist/RunChart2-Y6IY6MW2.js +0 -758
- package/dist/SC-JYF564FK.js +0 -1130
- package/dist/SC-JYF564FK.js.map +0 -7
- package/dist/Volcano-WZGAUYGY.js +0 -1380
- package/dist/Volcano-WZGAUYGY.js.map +0 -7
- package/dist/WSIViewer-RLLL7MAL.js +0 -48562
- package/dist/WsiSamplesPlot-FU3TCOTY.js +0 -165
- package/dist/adSandbox-ZINST5DE.js +0 -38
- package/dist/animatedBubbleChart-PIQWCVBJ.js +0 -555
- package/dist/app-N42SVGI2.js +0 -37
- package/dist/app-RWN4XLCP.js +0 -49
- package/dist/bam-QTSTXJ4N.js +0 -860
- package/dist/barchart-27BYTRVI.js +0 -47
- package/dist/barchart.data-OUNVH4JU.js +0 -22
- package/dist/barchart.events-PY4CEDSO.js +0 -47
- package/dist/barchart.integration.spec-H4WGHQ7R.js +0 -2196
- package/dist/barchart2-TIOTRAC2.js +0 -314
- package/dist/bars.renderer-57KSYAAT.js +0 -12
- package/dist/block-YPM767A4.js +0 -6226
- package/dist/block-YPM767A4.js.map +0 -7
- package/dist/block.init-LRZ3QAGC.js +0 -38
- package/dist/block.mds.expressionrank-IV7JLC52.js +0 -359
- package/dist/block.mds.geneboxplot-IBCE5XZU.js +0 -828
- package/dist/block.mds.junction-ISSCJHNF.js +0 -1545
- package/dist/block.mds.svcnv-ZEBVBTL7.js +0 -6801
- package/dist/block.svg-FYWA5VYH.js +0 -164
- package/dist/block.tk.aicheck-AD6DTKXR.js +0 -283
- package/dist/block.tk.ase-LO2J4KRE.js +0 -365
- package/dist/block.tk.bam-XGX22FCN.js +0 -1906
- package/dist/block.tk.bedgraphdot-SUIRFNFL.js +0 -384
- package/dist/block.tk.bigwig.ui-2Q7FAK3V.js +0 -212
- package/dist/block.tk.hicstraw-4MVP2PCL.js +0 -823
- package/dist/block.tk.junction-F54FTEPB.js +0 -2364
- package/dist/block.tk.junction.textmatrixui-ETROZJVK.js +0 -199
- package/dist/block.tk.ld-NJEDKSTU.js +0 -99
- package/dist/block.tk.menu-LZOY4FKT.js +0 -1029
- package/dist/block.tk.pgv-I3XHJ7VU.js +0 -944
- package/dist/brainImaging-BGP6VRFV.js +0 -423
- package/dist/brainRegions-AAN7LM2Y.js +0 -221
- package/dist/bubbleHeatmap-HNEU4CYA.js +0 -383
- package/dist/chunk-25XCVML7.js +0 -236
- package/dist/chunk-2XV6U42J.js +0 -100
- package/dist/chunk-36NAWXQ7.js +0 -5067
- package/dist/chunk-36NAWXQ7.js.map +0 -7
- package/dist/chunk-3LYZMOLO.js +0 -58
- package/dist/chunk-427UL37G.js +0 -222
- package/dist/chunk-4C3XRI6J.js +0 -54
- package/dist/chunk-4O6H4ZHL.js +0 -514
- package/dist/chunk-53JJ7SXN.js +0 -276
- package/dist/chunk-5CR24RTX.js +0 -381
- package/dist/chunk-5HMX4NUJ.js +0 -217
- package/dist/chunk-5QTJUPFS.js +0 -26
- package/dist/chunk-5V2BMEAS.js +0 -55
- package/dist/chunk-6MBTPVIM.js +0 -1275
- package/dist/chunk-6MQWYMPB.js +0 -183
- package/dist/chunk-6MQWYMPB.js.map +0 -7
- package/dist/chunk-7D3WX34I.js +0 -1230
- package/dist/chunk-7D3WX34I.js.map +0 -7
- package/dist/chunk-7FSIZZOX.js +0 -176
- package/dist/chunk-7KRS7L4U.js +0 -1443
- package/dist/chunk-7KRS7L4U.js.map +0 -7
- package/dist/chunk-A3URBFXN.js +0 -119
- package/dist/chunk-A45KH7LP.js +0 -254
- package/dist/chunk-B4GS7OLB.js +0 -4284
- package/dist/chunk-BKPDYW5T.js +0 -177
- package/dist/chunk-BWQV2OBL.js +0 -102
- package/dist/chunk-BXGQXLHP.js +0 -2786
- package/dist/chunk-CDJAHMAN.js +0 -299
- package/dist/chunk-CXHLROWX.js +0 -37
- package/dist/chunk-EKKQMKQI.js +0 -102
- package/dist/chunk-EPWIJEMK.js +0 -158
- package/dist/chunk-F7Y67LK7.js +0 -230
- package/dist/chunk-FDBVAL6K.js +0 -14
- package/dist/chunk-FISP5YN2.js +0 -292
- package/dist/chunk-G3FSS7GR.js +0 -477
- package/dist/chunk-GE4NJDV4.js +0 -98
- package/dist/chunk-GYGU4UT5.js +0 -34
- package/dist/chunk-I5IPJG2R.js +0 -148
- package/dist/chunk-I73KUUYG.js +0 -287
- package/dist/chunk-I73KUUYG.js.map +0 -7
- package/dist/chunk-IFK24IXL.js +0 -194
- package/dist/chunk-ILE6ML2D.js +0 -50
- package/dist/chunk-IRKP6IZ4.js +0 -216
- package/dist/chunk-J6ZOUCWN.js +0 -170
- package/dist/chunk-JFRSVFWO.js +0 -736
- package/dist/chunk-JFRSVFWO.js.map +0 -7
- package/dist/chunk-JNBJG57F.js +0 -448
- package/dist/chunk-K5UVG3FQ.js +0 -117
- package/dist/chunk-KE5B34CS.js +0 -102
- package/dist/chunk-L6A2BEXB.js +0 -2681
- package/dist/chunk-LQJMCE7G.js +0 -467
- package/dist/chunk-LSWU6EAQ.js +0 -31
- package/dist/chunk-LWEGSYDD.js +0 -226
- package/dist/chunk-LWEGSYDD.js.map +0 -7
- package/dist/chunk-LYVLF6HO.js +0 -1825
- package/dist/chunk-MBUQ34CF.js +0 -189
- package/dist/chunk-MBUQ34CF.js.map +0 -7
- package/dist/chunk-MN3KDNHC.js +0 -617
- package/dist/chunk-MNIBZTQE.js +0 -146
- package/dist/chunk-MTHEEXT2.js +0 -1450
- package/dist/chunk-MTHEEXT2.js.map +0 -7
- package/dist/chunk-MTZSN3H4.js +0 -302
- package/dist/chunk-N7O7NPUO.js +0 -534
- package/dist/chunk-N7O7NPUO.js.map +0 -7
- package/dist/chunk-NNFAUP2I.js +0 -315
- package/dist/chunk-NNFAUP2I.js.map +0 -7
- package/dist/chunk-OF5FE6GT.js +0 -142
- package/dist/chunk-OVSKJROY.js +0 -815
- package/dist/chunk-OVSKJROY.js.map +0 -7
- package/dist/chunk-PJ3FCJBZ.js +0 -480
- package/dist/chunk-PU2Q4SZR.js +0 -2327
- package/dist/chunk-PZPS56Z6.js +0 -343
- package/dist/chunk-QKR3ZD3S.js +0 -833
- package/dist/chunk-QMXCK4Y5.js +0 -203
- package/dist/chunk-ROJ3LJLE.js +0 -448
- package/dist/chunk-SLHWUFAW.js +0 -1943
- package/dist/chunk-SLHWUFAW.js.map +0 -7
- package/dist/chunk-SOTB4FRE.js +0 -2098
- package/dist/chunk-SOTB4FRE.js.map +0 -7
- package/dist/chunk-TJYRBEBK.js +0 -2878
- package/dist/chunk-TJYRBEBK.js.map +0 -7
- package/dist/chunk-U3G4JGKJ.js +0 -54
- package/dist/chunk-UN3O2MNB.js +0 -375
- package/dist/chunk-VDZ5QOF6.js +0 -446
- package/dist/chunk-VO5XZ2EG.js +0 -129
- package/dist/chunk-VRH7NP6R.js +0 -263
- package/dist/chunk-VTMJGRT5.js +0 -272
- package/dist/chunk-W5X6C7LY.js +0 -399
- package/dist/chunk-WJGUNGFK.js +0 -272
- package/dist/chunk-WKT46ZJ6.js +0 -368
- package/dist/chunk-WQCQWUUP.js +0 -2833
- package/dist/chunk-WY2PGUVX.js +0 -20898
- package/dist/chunk-WY2PGUVX.js.map +0 -7
- package/dist/chunk-WZ2U5QXJ.js +0 -6364
- package/dist/chunk-WZUWK5Q6.js +0 -1102
- package/dist/chunk-XPMTUVSS.js +0 -1220
- package/dist/chunk-XPMTUVSS.js.map +0 -7
- package/dist/chunk-YYFQPGIE.js +0 -386
- package/dist/condition-GVIEMQG7.js +0 -332
- package/dist/controls-73K3XBDR.js +0 -41
- package/dist/controls.config-FQKY2LRE.js +0 -39
- package/dist/correlation-AOAXIUFJ.js +0 -102
- package/dist/cuminc-OD2PPCEK.js +0 -1149
- package/dist/cuminc.integration.spec-TMIFW7EO.js +0 -678
- package/dist/cuminc.integration.spec-TMIFW7EO.js.map +0 -7
- package/dist/customdata.inputui-SWLGLATL.js +0 -289
- package/dist/dataDownload-456HL2OE.js +0 -330
- package/dist/dataDownload.integration.spec-5YS4MWK5.js +0 -193
- package/dist/databrowser.ui-7APC5MNM.js +0 -433
- package/dist/dictionary-A3HA5MVK.js +0 -118
- package/dist/dnaMethylation-6ONBKARD.js +0 -38
- package/dist/dnaMethylation.integration.spec-T3WEGVX3.js +0 -203
- package/dist/dofetch-RVPQUMVX.js +0 -51
- package/dist/e2pca-75WZ46XG.js +0 -350
- package/dist/ep-QG5CWPTW.js +0 -1256
- package/dist/expclust.gdc.spec-KBBQJR4M.js +0 -307
- package/dist/facet-QGB2Q7YV.js +0 -521
- package/dist/forms2-CJGDCWYH.js +0 -539
- package/dist/gb-NEFAHKQI.js +0 -88
- package/dist/geneExpClustering-ZVR44UZC.js +0 -249
- package/dist/geneExpression-25EX4DFK.js +0 -313
- package/dist/geneExpression-FALOA4GC.js +0 -38
- package/dist/geneExpression.unit.spec-BQLELQUS.js +0 -102
- package/dist/geneORA-K2B7JYWD.js +0 -278
- package/dist/geneRanking-6AXL5ZJS.js +0 -553
- package/dist/geneVariant-RZFDP5J5.js +0 -41
- package/dist/geneVariant-UIBZ5UIQ.js +0 -39
- package/dist/geneVariant.integration.spec-4EZQMPQB.js +0 -198
- package/dist/genefusion.ui-YK4TNS2P.js +0 -309
- package/dist/geneset-47J4D5ID.js +0 -208
- package/dist/genomeBrowser.spec-LFFWRIWG.js +0 -281
- package/dist/grin2-DQB2WW3C.js +0 -75
- package/dist/grin2-TZFU4JM3.js +0 -1078
- package/dist/grin2-TZFU4JM3.js.map +0 -7
- package/dist/gsea-KKLAMLMG.js +0 -47
- package/dist/hierCluster-3MZEJG6B.js +0 -59
- package/dist/hierCluster-YGBC4XCZ.js +0 -63
- package/dist/hierCluster.config-A4N54K3A.js +0 -40
- package/dist/hierCluster.integration.spec-GLKXFZDM.js +0 -488
- package/dist/hierCluster.interactivity-4TPWGIVC.js +0 -54
- package/dist/hierCluster.renderers-WUWSXXHU.js +0 -21
- package/dist/imagePlot-JRPYOV3Q.js +0 -163
- package/dist/importPlot-A3PFUP6K.js +0 -8
- package/dist/isoformExpression-5L4O3WKL.js +0 -40
- package/dist/isoformExpression.unit.spec-SLB6XIX4.js +0 -208
- package/dist/launch.adhoc-QI7TPYSC.js +0 -42
- package/dist/leftlabel.sample-OSIRTJFW.js +0 -264
- package/dist/legacyDataset-TNIIJABK.js +0 -119
- package/dist/lollipop-LAELXNQY.js +0 -171
- package/dist/maf-HZAYVZFO.js +0 -459
- package/dist/maftimeline-BLBNUGAL.js +0 -593
- package/dist/matrix-LVJSHXDM.js +0 -58
- package/dist/matrix-S5QQV4JU.js +0 -63
- package/dist/matrix.cells-JUTRYPG4.js +0 -28
- package/dist/matrix.config-ZTWWYNIZ.js +0 -41
- package/dist/matrix.data-BREYB54F.js +0 -25
- package/dist/matrix.groups-WMHTLOXC.js +0 -27
- package/dist/matrix.integration.spec-S6FIEE2X.js +0 -3072
- package/dist/matrix.integration.spec-S6FIEE2X.js.map +0 -7
- package/dist/matrix.interactivity-TMBVAM5M.js +0 -42
- package/dist/matrix.layout-POK5NOUV.js +0 -44
- package/dist/matrix.legend-6XVQ67AC.js +0 -22
- package/dist/matrix.renderers-G5FQZZ73.js +0 -38
- package/dist/matrix.serieses-XNLQSQS6.js +0 -21
- package/dist/matrix.sort-XNES23OQ.js +0 -27
- package/dist/matrix.sort.unit.spec-65BDBQUV.js +0 -472
- package/dist/matrix.sorterUi-WC2YX7S7.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-GZQBW7F7.js +0 -342
- package/dist/mavb-T2UCRWWM.js +0 -732
- package/dist/mds.fimo-65UUK7ER.js +0 -518
- package/dist/mds.samplescatterplot-4NHGQBJF.js +0 -1550
- package/dist/mds.survivalplot-WVAHDM3Z.js +0 -483
- package/dist/numericDictTermCluster-CXASCSQ6.js +0 -65
- package/dist/oncomatrix-5WMOICWR.js +0 -295
- package/dist/oncomatrix.spec-POVBNFJR.js +0 -448
- package/dist/plot.2dvaf-63K5RSIU.js +0 -377
- package/dist/plot.app-V5IY25QS.js +0 -41
- package/dist/plot.barplot-IQTYHNFE.js +0 -102
- package/dist/plot.boxplot-2RMTO7AS.js +0 -152
- package/dist/plot.brainImaging-DLUHAHHG.js +0 -51
- package/dist/plot.disco-WK6GDLNF.js +0 -102
- package/dist/plot.dzi-3V3FWE7U.js +0 -33
- package/dist/plot.ssgq-TENK2RP4.js +0 -139
- package/dist/plot.vaf2cov-P2QOOZGZ.js +0 -259
- package/dist/plot.wsi-BVRGJF4E.js +0 -36
- package/dist/polar2-NNOZOQQJ.js +0 -231
- package/dist/profileForms-RS4GEZZV.js +0 -446
- package/dist/profilePlot-3DLME3NH.js +0 -54
- package/dist/proteinView-NPKJAQAI.js +0 -1568
- package/dist/qualitative-S45RXXRJ.js +0 -43
- package/dist/radar2-EX7YBNMT.js +0 -326
- package/dist/radarFacility2-WU5O6O77.js +0 -334
- package/dist/regression-7MCOYJVD.js +0 -56
- package/dist/regression.inputs-QHSWJ23R.js +0 -48
- package/dist/regression.inputs.term-EJ4Z5Q5O.js +0 -48
- package/dist/regression.inputs.values.table-YKMAWNXN.js +0 -45
- package/dist/regression.integration.spec-XOX7OXXA.js +0 -784
- package/dist/regression.results-YKPOTPCC.js +0 -40
- package/dist/regression.spec-YIIY2AZA.js +0 -708
- package/dist/report-JEJFCWUU.js +0 -222
- package/dist/sampleScatter.spec-LBAZBDYA.js +0 -202
- package/dist/sampleView-WKZT5ZFE.js +0 -48
- package/dist/samplelst-HXM3H6M4.js +0 -111
- package/dist/samplematrix-LCGHK2EK.js +0 -2198
- package/dist/sc-3OE2G4BU.js +0 -86
- package/dist/scatter-AGVUDTTU.js +0 -851
- package/dist/selectGenomeWithTklst-WF2XZ6GH.js +0 -134
- package/dist/singleCellCellType-2SRGROMS.js +0 -38
- package/dist/singleCellCellType.unit.spec-DCGHNRJI.js +0 -160
- package/dist/singleCellGeneExpression-RASZA4NO.js +0 -38
- package/dist/singleCellGeneExpression.unit.spec-5MRGH2OO.js +0 -153
- package/dist/singleCellPlot-TIYA3GNM.js +0 -54
- package/dist/singlecell-CFA43TTU.js +0 -1572
- package/dist/singlecell-JS5SIZHY.js +0 -86
- package/dist/snp-VXZXPMKS.js +0 -38
- package/dist/snp.unit.spec-TR5TCO7X.js +0 -176
- package/dist/snplocus-VLPH5Y65.js +0 -208
- package/dist/spliceevent.a53ss.diagram-PATK67SH.js +0 -151
- package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js +0 -277
- package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js.map +0 -7
- package/dist/spliceevent.noeventdiagram-4NPNZUEN.js +0 -460
- package/dist/ssGSEA-XMW5BLAU.js +0 -38
- package/dist/ssGSEA.unit.spec-ASUWKVUT.js +0 -88
- package/dist/summarizeCnvGeneexp-KWRFGX32.js +0 -163
- package/dist/summarizeGeneexpSurvival-FIPIMEJR.js +0 -114
- package/dist/summarizeMutationCnv-IUYRVLZG.js +0 -164
- package/dist/summarizeMutationDiagnosis-ZFJPCABL.js +0 -40
- package/dist/summarizeMutationSurvival-HFHYB7DT.js +0 -99
- package/dist/summary-AZUNEZ5I.js +0 -49
- package/dist/summary.integration.spec-WLBAJL44.js +0 -414
- package/dist/summaryInput-NJWVXDXW.js +0 -235
- package/dist/sunburst-PXGF4WM6.js +0 -284
- package/dist/survival-RAU4XCKG.js +0 -58
- package/dist/survival-ZZ4QLZHK.js +0 -46
- package/dist/survival.integration.spec-GBQ5X362.js +0 -915
- package/dist/survival.integration.spec-GBQ5X362.js.map +0 -7
- package/dist/svgraph-7UCFRL6A.js +0 -1387
- package/dist/svmr-DB3RY2ID.js +0 -3842
- package/dist/table-HJRWWXGM.js +0 -200
- package/dist/termCollection-AW7M6DTP.js +0 -38
- package/dist/termCollection-WPON7RG3.js +0 -179
- package/dist/termCollection.unit.spec-254ESHOE.js +0 -208
- package/dist/tk-SUAFM5YA.js +0 -46
- package/dist/tp.ui-ELEQGSK2.js +0 -1459
- package/dist/tvs.dt-DCXY66YY.js +0 -39
- package/dist/tvs.dtcnv.categorical-SFQZMYX7.js +0 -40
- package/dist/tvs.dtcnv.continuous-AUZNJMC3.js +0 -72
- package/dist/tvs.dtfusion-5F7MYFHZ.js +0 -40
- package/dist/tvs.dtsnvindel-JJSPL4PH.js +0 -40
- package/dist/tvs.dtsv-DARTSV5H.js +0 -40
- package/dist/tvs.numeric-KYAU5OV3.js +0 -21
- package/dist/tvs.samplelst-HHBIO26C.js +0 -104
- package/dist/tvs.termCollection-KCMALH6B.js +0 -159
- package/dist/violin-C26FW5WK.js +0 -46
- package/dist/violin.integration.spec-QQ43XWHQ.js +0 -1425
- package/dist/violin.interactivity-H2BHC6M4.js +0 -38
- package/dist/violin.renderer-GSG2I7AV.js +0 -40
- package/dist/vocabulary-3G525O5V.js +0 -41
- /package/dist/{2dmaf-SKNV7IHT.js.map → 2dmaf-R3PFZNRN.js.map} +0 -0
- /package/dist/{AIProjectAdmin-AOTVRBNH.js.map → AIProjectAdmin-DM3KG6SR.js.map} +0 -0
- /package/dist/{AppHeader-M2ZSS3M3.js.map → AppHeader-6DZQ6YZX.js.map} +0 -0
- /package/dist/{BoxPlot-P3EECSQA.js.map → BoxPlot-76NINVX4.js.map} +0 -0
- /package/dist/{CorrelationVolcano-YCQ5S6MT.js.map → CorrelationVolcano-U5UMJNH5.js.map} +0 -0
- /package/dist/{DE-RBMOQZCR.js.map → DE-AXNYWIQK.js.map} +0 -0
- /package/dist/{DEinput-PTW6RS6U.js.map → DEinput-JH6YY6LS.js.map} +0 -0
- /package/dist/{Disco.UI-YBIMV7RH.js.map → Disco.UI-C7CZINUQ.js.map} +0 -0
- /package/dist/{DmrPlot-JQPLLU6P.js.map → DmrPlot-WROR4ENM.js.map} +0 -0
- /package/dist/{GeneExpInput-3OPDDCXR.js.map → GeneExpInput-JDU6EI7K.js.map} +0 -0
- /package/dist/{HicApp-VFOWRP6G.js.map → HicApp-UNIJLH4B.js.map} +0 -0
- /package/dist/{NumBinaryEditor-RL44SO3T.js.map → NumBinaryEditor-WMN2GGO4.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-P73PGAX5.js.map → NumBinaryEditor.unit.spec-TAMXV6SE.js.map} +0 -0
- /package/dist/{NumContEditor-MIC7M73G.js.map → NumContEditor-XYIOJY4E.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-5XZH7OCG.js.map → NumContEditor.unit.spec-WDZ75BHO.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-W357XTIR.js.map → NumCustomBinEditor-5SY3C4TY.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-CJMK4CYW.js.map → NumCustomBinEditor.unit.spec-XHTAIXR3.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-PRSUMS3I.js.map → NumDiscreteEditor-NRDRX4FD.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-A6R56P3Z.js.map → NumDiscreteEditor.unit.spec-2CJW7OAT.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-7OHUEUCC.js.map → NumRegularBinEditor-DUDVTNDC.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-NOAX42UZ.js.map → NumRegularBinEditor.unit.spec-H3GNQHMN.js.map} +0 -0
- /package/dist/{NumSplineEditor-XI7AT5LM.js.map → NumSplineEditor-7Q4AC7KH.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-ZH4M2N2C.js.map → NumSplineEditor.unit.spec-YRZK5PH5.js.map} +0 -0
- /package/dist/{NumericDensity-X6IHQAW3.js.map → NumericDensity-NTNWUESG.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-EKVD4AUG.js.map → NumericDensity.unit.spec-5I5U6T6P.js.map} +0 -0
- /package/dist/{NumericHandler-5ONBWFJ5.js.map → NumericHandler-MEW2KMPX.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-SHI6E4VA.js.map → NumericHandler.unit.spec-JFX4BPRG.js.map} +0 -0
- /package/dist/{RunChart2-Y6IY6MW2.js.map → RunChart2-BEBDU7RC.js.map} +0 -0
- /package/dist/{WSIViewer-RLLL7MAL.js.map → WSIViewer-ZLQU62PD.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-FU3TCOTY.js.map → WsiSamplesPlot-JMBSITOM.js.map} +0 -0
- /package/dist/{adSandbox-ZINST5DE.js.map → adSandbox-664IRCRL.js.map} +0 -0
- /package/dist/{animatedBubbleChart-PIQWCVBJ.js.map → animatedBubbleChart-TX7NW34K.js.map} +0 -0
- /package/dist/{app-N42SVGI2.js.map → app-63WJ3BMP.js.map} +0 -0
- /package/dist/{app-RWN4XLCP.js.map → app-77FIZHCG.js.map} +0 -0
- /package/dist/{bam-QTSTXJ4N.js.map → bam-IETNVAYD.js.map} +0 -0
- /package/dist/{barchart-27BYTRVI.js.map → barchart-YUVXJNH4.js.map} +0 -0
- /package/dist/{barchart.data-OUNVH4JU.js.map → barchart.data-P4EIQXGE.js.map} +0 -0
- /package/dist/{barchart.events-PY4CEDSO.js.map → barchart.events-JPVCLTIG.js.map} +0 -0
- /package/dist/{barchart.integration.spec-H4WGHQ7R.js.map → barchart.integration.spec-ZH7DEQI2.js.map} +0 -0
- /package/dist/{barchart2-TIOTRAC2.js.map → barchart2-XO2FG76J.js.map} +0 -0
- /package/dist/{bars.renderer-57KSYAAT.js.map → bars.renderer-AUIWUJDH.js.map} +0 -0
- /package/dist/{block.init-LRZ3QAGC.js.map → block.init-X7Y2EEVR.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-IV7JLC52.js.map → block.mds.expressionrank-BIAOZIZ3.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-IBCE5XZU.js.map → block.mds.geneboxplot-CNICDVLK.js.map} +0 -0
- /package/dist/{block.mds.junction-ISSCJHNF.js.map → block.mds.junction-PQXCTSUI.js.map} +0 -0
- /package/dist/{block.mds.svcnv-ZEBVBTL7.js.map → block.mds.svcnv-32KMVTCT.js.map} +0 -0
- /package/dist/{block.svg-FYWA5VYH.js.map → block.svg-LRTOYQK2.js.map} +0 -0
- /package/dist/{block.tk.aicheck-AD6DTKXR.js.map → block.tk.aicheck-HDV7ZIUD.js.map} +0 -0
- /package/dist/{block.tk.ase-LO2J4KRE.js.map → block.tk.ase-JIDWKMYI.js.map} +0 -0
- /package/dist/{block.tk.bam-XGX22FCN.js.map → block.tk.bam-5X3OS5HB.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-SUIRFNFL.js.map → block.tk.bedgraphdot-T7JX7YQL.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-2Q7FAK3V.js.map → block.tk.bigwig.ui-OSAYEBAE.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-4MVP2PCL.js.map → block.tk.hicstraw-DEY3VQFK.js.map} +0 -0
- /package/dist/{block.tk.junction-F54FTEPB.js.map → block.tk.junction-7UAFEZSJ.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-ETROZJVK.js.map → block.tk.junction.textmatrixui-27LHS33U.js.map} +0 -0
- /package/dist/{block.tk.ld-NJEDKSTU.js.map → block.tk.ld-DF2PI7OO.js.map} +0 -0
- /package/dist/{block.tk.menu-LZOY4FKT.js.map → block.tk.menu-L2D5KBIV.js.map} +0 -0
- /package/dist/{block.tk.pgv-I3XHJ7VU.js.map → block.tk.pgv-QO56SKBV.js.map} +0 -0
- /package/dist/{brainImaging-BGP6VRFV.js.map → brainImaging-NIPQWFWO.js.map} +0 -0
- /package/dist/{brainRegions-AAN7LM2Y.js.map → brainRegions-ZNZ2WHSU.js.map} +0 -0
- /package/dist/{bubbleHeatmap-HNEU4CYA.js.map → bubbleHeatmap-ERWNEKZB.js.map} +0 -0
- /package/dist/{chunk-CDJAHMAN.js.map → chunk-2GYWFQML.js.map} +0 -0
- /package/dist/{chunk-ILE6ML2D.js.map → chunk-2HYJ4GDH.js.map} +0 -0
- /package/dist/{chunk-VTMJGRT5.js.map → chunk-2MG6XE6R.js.map} +0 -0
- /package/dist/{chunk-4C3XRI6J.js.map → chunk-33K5PA52.js.map} +0 -0
- /package/dist/{chunk-5QTJUPFS.js.map → chunk-37XDBPOP.js.map} +0 -0
- /package/dist/{chunk-3LYZMOLO.js.map → chunk-3EWB3246.js.map} +0 -0
- /package/dist/{chunk-2XV6U42J.js.map → chunk-3RSKOPIY.js.map} +0 -0
- /package/dist/{chunk-WZUWK5Q6.js.map → chunk-4DPVT4NE.js.map} +0 -0
- /package/dist/{chunk-GE4NJDV4.js.map → chunk-4IH7DORZ.js.map} +0 -0
- /package/dist/{chunk-W5X6C7LY.js.map → chunk-4QNBFIIR.js.map} +0 -0
- /package/dist/{chunk-5HMX4NUJ.js.map → chunk-4STKL6SR.js.map} +0 -0
- /package/dist/{chunk-GYGU4UT5.js.map → chunk-4TZIVSL5.js.map} +0 -0
- /package/dist/{chunk-LQJMCE7G.js.map → chunk-5ABGFJSP.js.map} +0 -0
- /package/dist/{chunk-MTZSN3H4.js.map → chunk-5AZNP47R.js.map} +0 -0
- /package/dist/{chunk-KE5B34CS.js.map → chunk-6BB43SIB.js.map} +0 -0
- /package/dist/{chunk-53JJ7SXN.js.map → chunk-7OHRR2IE.js.map} +0 -0
- /package/dist/{chunk-FDBVAL6K.js.map → chunk-ASATD4T7.js.map} +0 -0
- /package/dist/{chunk-25XCVML7.js.map → chunk-B5B3LZB3.js.map} +0 -0
- /package/dist/{chunk-L6A2BEXB.js.map → chunk-BHGISFCA.js.map} +0 -0
- /package/dist/{chunk-BXGQXLHP.js.map → chunk-BMBOZ64T.js.map} +0 -0
- /package/dist/{chunk-IRKP6IZ4.js.map → chunk-BOZJHPJP.js.map} +0 -0
- /package/dist/{chunk-IFK24IXL.js.map → chunk-CDD7LYJM.js.map} +0 -0
- /package/dist/{chunk-PU2Q4SZR.js.map → chunk-CTQ3IUCA.js.map} +0 -0
- /package/dist/{chunk-EPWIJEMK.js.map → chunk-D7TID3HR.js.map} +0 -0
- /package/dist/{chunk-5V2BMEAS.js.map → chunk-E55LLYRX.js.map} +0 -0
- /package/dist/{chunk-YYFQPGIE.js.map → chunk-ESGXULRH.js.map} +0 -0
- /package/dist/{chunk-K5UVG3FQ.js.map → chunk-EZ4LZ6ZT.js.map} +0 -0
- /package/dist/{chunk-B4GS7OLB.js.map → chunk-F3SJTVP5.js.map} +0 -0
- /package/dist/{chunk-427UL37G.js.map → chunk-F5IXNJO7.js.map} +0 -0
- /package/dist/{chunk-ROJ3LJLE.js.map → chunk-FJYECRHW.js.map} +0 -0
- /package/dist/{chunk-QKR3ZD3S.js.map → chunk-FPNRUQOU.js.map} +0 -0
- /package/dist/{chunk-J6ZOUCWN.js.map → chunk-G764NXQN.js.map} +0 -0
- /package/dist/{chunk-I5IPJG2R.js.map → chunk-GAPI4MML.js.map} +0 -0
- /package/dist/{chunk-WJGUNGFK.js.map → chunk-HLUZOZXJ.js.map} +0 -0
- /package/dist/{chunk-UN3O2MNB.js.map → chunk-HOKIK2FR.js.map} +0 -0
- /package/dist/{chunk-VO5XZ2EG.js.map → chunk-KLGL6XZD.js.map} +0 -0
- /package/dist/{chunk-PJ3FCJBZ.js.map → chunk-L7IRWUKT.js.map} +0 -0
- /package/dist/{chunk-MN3KDNHC.js.map → chunk-LX6G7HJJ.js.map} +0 -0
- /package/dist/{chunk-OF5FE6GT.js.map → chunk-M2G5R4WB.js.map} +0 -0
- /package/dist/{chunk-EKKQMKQI.js.map → chunk-M4TTGGT4.js.map} +0 -0
- /package/dist/{chunk-LYVLF6HO.js.map → chunk-M6EF3WVV.js.map} +0 -0
- /package/dist/{chunk-MNIBZTQE.js.map → chunk-M6KHT3MM.js.map} +0 -0
- /package/dist/{chunk-F7Y67LK7.js.map → chunk-MCZFHWIR.js.map} +0 -0
- /package/dist/{chunk-JNBJG57F.js.map → chunk-MFQACKYU.js.map} +0 -0
- /package/dist/{chunk-PZPS56Z6.js.map → chunk-MVGAGTM3.js.map} +0 -0
- /package/dist/{chunk-A3URBFXN.js.map → chunk-NELOT3NJ.js.map} +0 -0
- /package/dist/{chunk-U3G4JGKJ.js.map → chunk-NRKMXULC.js.map} +0 -0
- /package/dist/{chunk-BKPDYW5T.js.map → chunk-NYRZNRG5.js.map} +0 -0
- /package/dist/{chunk-WKT46ZJ6.js.map → chunk-ONPKE6DC.js.map} +0 -0
- /package/dist/{chunk-QMXCK4Y5.js.map → chunk-PFRWS4CR.js.map} +0 -0
- /package/dist/{chunk-6MBTPVIM.js.map → chunk-PJKQUXEN.js.map} +0 -0
- /package/dist/{chunk-WZ2U5QXJ.js.map → chunk-Q2L44HK3.js.map} +0 -0
- /package/dist/{chunk-VDZ5QOF6.js.map → chunk-RKO6BL5N.js.map} +0 -0
- /package/dist/{chunk-A45KH7LP.js.map → chunk-T25QNZHB.js.map} +0 -0
- /package/dist/{chunk-LSWU6EAQ.js.map → chunk-U7TBYVIQ.js.map} +0 -0
- /package/dist/{chunk-5CR24RTX.js.map → chunk-UGRQXBL4.js.map} +0 -0
- /package/dist/{chunk-G3FSS7GR.js.map → chunk-USFSHSCJ.js.map} +0 -0
- /package/dist/{chunk-WQCQWUUP.js.map → chunk-VJ6UFVGC.js.map} +0 -0
- /package/dist/{chunk-FISP5YN2.js.map → chunk-W3WPPOXH.js.map} +0 -0
- /package/dist/{chunk-VRH7NP6R.js.map → chunk-WFCSOTBO.js.map} +0 -0
- /package/dist/{chunk-BWQV2OBL.js.map → chunk-WZ2L57MB.js.map} +0 -0
- /package/dist/{chunk-CXHLROWX.js.map → chunk-Y4UAKFWC.js.map} +0 -0
- /package/dist/{chunk-4O6H4ZHL.js.map → chunk-YQBS2ZCK.js.map} +0 -0
- /package/dist/{chunk-7FSIZZOX.js.map → chunk-ZTHM2TKP.js.map} +0 -0
- /package/dist/{condition-GVIEMQG7.js.map → condition-2PASYSUC.js.map} +0 -0
- /package/dist/{controls-73K3XBDR.js.map → controls-5IMJ6K5L.js.map} +0 -0
- /package/dist/{controls.config-FQKY2LRE.js.map → controls.config-P5PG2DHW.js.map} +0 -0
- /package/dist/{correlation-AOAXIUFJ.js.map → correlation-U3EDLNHR.js.map} +0 -0
- /package/dist/{cuminc-OD2PPCEK.js.map → cuminc-2HUFEROK.js.map} +0 -0
- /package/dist/{customdata.inputui-SWLGLATL.js.map → customdata.inputui-ZHWNEPFH.js.map} +0 -0
- /package/dist/{dataDownload-456HL2OE.js.map → dataDownload-VBSJBKMP.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-5YS4MWK5.js.map → dataDownload.integration.spec-LUFSETOP.js.map} +0 -0
- /package/dist/{databrowser.ui-7APC5MNM.js.map → databrowser.ui-6H2KMSTJ.js.map} +0 -0
- /package/dist/{dictionary-A3HA5MVK.js.map → dictionary-V37LXFIP.js.map} +0 -0
- /package/dist/{dnaMethylation-6ONBKARD.js.map → dnaMethylation-OIZMHMLK.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-T3WEGVX3.js.map → dnaMethylation.integration.spec-CWPTJ74H.js.map} +0 -0
- /package/dist/{dofetch-RVPQUMVX.js.map → dofetch-IWPZQB5N.js.map} +0 -0
- /package/dist/{e2pca-75WZ46XG.js.map → e2pca-7SLIAGYW.js.map} +0 -0
- /package/dist/{ep-QG5CWPTW.js.map → ep-7L6KF6K4.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-KBBQJR4M.js.map → expclust.gdc.spec-JT452Q3G.js.map} +0 -0
- /package/dist/{facet-QGB2Q7YV.js.map → facet-CXOUU5AS.js.map} +0 -0
- /package/dist/{forms2-CJGDCWYH.js.map → forms2-VPNCLQOY.js.map} +0 -0
- /package/dist/{gb-NEFAHKQI.js.map → gb-P4VRXRED.js.map} +0 -0
- /package/dist/{geneExpClustering-ZVR44UZC.js.map → geneExpClustering-FQTCKRJJ.js.map} +0 -0
- /package/dist/{geneExpression-25EX4DFK.js.map → geneExpression-BHO5326K.js.map} +0 -0
- /package/dist/{geneExpression-FALOA4GC.js.map → geneExpression-ZMERB64E.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-BQLELQUS.js.map → geneExpression.unit.spec-CNVHZWNG.js.map} +0 -0
- /package/dist/{geneORA-K2B7JYWD.js.map → geneORA-FXVUCXGX.js.map} +0 -0
- /package/dist/{geneRanking-6AXL5ZJS.js.map → geneRanking-SFK4UBKQ.js.map} +0 -0
- /package/dist/{geneVariant-RZFDP5J5.js.map → geneVariant-IYEHB4H7.js.map} +0 -0
- /package/dist/{geneVariant-UIBZ5UIQ.js.map → geneVariant-LIRRLUFR.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-4EZQMPQB.js.map → geneVariant.integration.spec-Y2NPNTYX.js.map} +0 -0
- /package/dist/{genefusion.ui-YK4TNS2P.js.map → genefusion.ui-L3HIJM3N.js.map} +0 -0
- /package/dist/{geneset-47J4D5ID.js.map → geneset-A6VUFX63.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-LFFWRIWG.js.map → genomeBrowser.spec-CB4HHHBN.js.map} +0 -0
- /package/dist/{grin2-DQB2WW3C.js.map → grin2-FKBIMH5N.js.map} +0 -0
- /package/dist/{gsea-KKLAMLMG.js.map → hierCluster-QFPRMHVA.js.map} +0 -0
- /package/dist/{hierCluster-3MZEJG6B.js.map → hierCluster-YWC3XYPV.js.map} +0 -0
- /package/dist/{hierCluster-YGBC4XCZ.js.map → hierCluster.config-F7YYZNM3.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-GLKXFZDM.js.map → hierCluster.integration.spec-AF4L3YT6.js.map} +0 -0
- /package/dist/{hierCluster.config-A4N54K3A.js.map → hierCluster.interactivity-RPY74PK6.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-4TPWGIVC.js.map → hierCluster.renderers-LOKHZ3V2.js.map} +0 -0
- /package/dist/{imagePlot-JRPYOV3Q.js.map → imagePlot-BBEXA754.js.map} +0 -0
- /package/dist/{hierCluster.renderers-WUWSXXHU.js.map → importPlot-7QGANZGK.js.map} +0 -0
- /package/dist/{importPlot-A3PFUP6K.js.map → isoformExpression-4SLLCVFD.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-SLB6XIX4.js.map → isoformExpression.unit.spec-GEL4JJ64.js.map} +0 -0
- /package/dist/{isoformExpression-5L4O3WKL.js.map → launch.adhoc-LWLBQJS5.js.map} +0 -0
- /package/dist/{leftlabel.sample-OSIRTJFW.js.map → leftlabel.sample-RTEZOIH2.js.map} +0 -0
- /package/dist/{legacyDataset-TNIIJABK.js.map → legacyDataset-VLD7ZYWI.js.map} +0 -0
- /package/dist/{lollipop-LAELXNQY.js.map → lollipop-XKQK5QZU.js.map} +0 -0
- /package/dist/{maf-HZAYVZFO.js.map → maf-AZQPPWDO.js.map} +0 -0
- /package/dist/{maftimeline-BLBNUGAL.js.map → maftimeline-7MSVYKQU.js.map} +0 -0
- /package/dist/{launch.adhoc-QI7TPYSC.js.map → matrix-BGLWC25D.js.map} +0 -0
- /package/dist/{matrix-LVJSHXDM.js.map → matrix-IQR5SRMK.js.map} +0 -0
- /package/dist/{matrix-S5QQV4JU.js.map → matrix.cells-5C57NWOY.js.map} +0 -0
- /package/dist/{matrix.cells-JUTRYPG4.js.map → matrix.config-2DQXAN2E.js.map} +0 -0
- /package/dist/{matrix.config-ZTWWYNIZ.js.map → matrix.data-ADCGF5H6.js.map} +0 -0
- /package/dist/{matrix.data-BREYB54F.js.map → matrix.groups-V4ITQ5F7.js.map} +0 -0
- /package/dist/{matrix.groups-WMHTLOXC.js.map → matrix.interactivity-JNELJFOV.js.map} +0 -0
- /package/dist/{matrix.interactivity-TMBVAM5M.js.map → matrix.layout-WBVIV6GR.js.map} +0 -0
- /package/dist/{matrix.layout-POK5NOUV.js.map → matrix.legend-YHOWPK77.js.map} +0 -0
- /package/dist/{matrix.legend-6XVQ67AC.js.map → matrix.renderers-5BGVRR3M.js.map} +0 -0
- /package/dist/{matrix.renderers-G5FQZZ73.js.map → matrix.serieses-2GZJOASZ.js.map} +0 -0
- /package/dist/{matrix.serieses-XNLQSQS6.js.map → matrix.sort-WKIWPJKP.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-65BDBQUV.js.map → matrix.sort.unit.spec-L2E4D4AS.js.map} +0 -0
- /package/dist/{matrix.sort-XNES23OQ.js.map → matrix.sorterUi-TEJWWJ64.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-GZQBW7F7.js.map → matrix.sorterUi.unit.spec-SHP7C4P7.js.map} +0 -0
- /package/dist/{mavb-T2UCRWWM.js.map → mavb-4MXNYUEO.js.map} +0 -0
- /package/dist/{mds.fimo-65UUK7ER.js.map → mds.fimo-WHIJIBOI.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-4NHGQBJF.js.map → mds.samplescatterplot-BRJ6NG2D.js.map} +0 -0
- /package/dist/{mds.survivalplot-WVAHDM3Z.js.map → mds.survivalplot-OPCMB5PB.js.map} +0 -0
- /package/dist/{numericDictTermCluster-CXASCSQ6.js.map → numericDictTermCluster-7MIFOP2K.js.map} +0 -0
- /package/dist/{oncomatrix-5WMOICWR.js.map → oncomatrix-BGG6BEUI.js.map} +0 -0
- /package/dist/{oncomatrix.spec-POVBNFJR.js.map → oncomatrix.spec-LYQ4L4F3.js.map} +0 -0
- /package/dist/{plot.2dvaf-63K5RSIU.js.map → plot.2dvaf-6WVCP2ZI.js.map} +0 -0
- /package/dist/{matrix.sorterUi-WC2YX7S7.js.map → plot.app-MLBP6WFP.js.map} +0 -0
- /package/dist/{plot.barplot-IQTYHNFE.js.map → plot.barplot-JEPRZSCU.js.map} +0 -0
- /package/dist/{plot.boxplot-2RMTO7AS.js.map → plot.boxplot-GNFW42VM.js.map} +0 -0
- /package/dist/{plot.brainImaging-DLUHAHHG.js.map → plot.brainImaging-5ACNSD45.js.map} +0 -0
- /package/dist/{plot.disco-WK6GDLNF.js.map → plot.disco-Q2V2KKIH.js.map} +0 -0
- /package/dist/{plot.dzi-3V3FWE7U.js.map → plot.dzi-KVT6S7K7.js.map} +0 -0
- /package/dist/{plot.ssgq-TENK2RP4.js.map → plot.ssgq-4N3KFJQ2.js.map} +0 -0
- /package/dist/{plot.vaf2cov-P2QOOZGZ.js.map → plot.vaf2cov-ITRG5U43.js.map} +0 -0
- /package/dist/{plot.wsi-BVRGJF4E.js.map → plot.wsi-26YZNU4V.js.map} +0 -0
- /package/dist/{polar2-NNOZOQQJ.js.map → polar2-J7GVUK4X.js.map} +0 -0
- /package/dist/{profileForms-RS4GEZZV.js.map → profileForms-VXV2JLXU.js.map} +0 -0
- /package/dist/{plot.app-V5IY25QS.js.map → profilePlot-ZZYZK4SY.js.map} +0 -0
- /package/dist/{proteinView-NPKJAQAI.js.map → proteinView-7KN532D3.js.map} +0 -0
- /package/dist/{profilePlot-3DLME3NH.js.map → qualitative-MLRVLIAU.js.map} +0 -0
- /package/dist/{radar2-EX7YBNMT.js.map → radar2-WM2ZBOH3.js.map} +0 -0
- /package/dist/{radarFacility2-WU5O6O77.js.map → radarFacility2-3SBR2JJ3.js.map} +0 -0
- /package/dist/{qualitative-S45RXXRJ.js.map → regression-WMRPQJW2.js.map} +0 -0
- /package/dist/{regression-7MCOYJVD.js.map → regression.inputs-VWZKSYNY.js.map} +0 -0
- /package/dist/{regression.inputs-QHSWJ23R.js.map → regression.inputs.term-OWE6GWHM.js.map} +0 -0
- /package/dist/{regression.inputs.term-EJ4Z5Q5O.js.map → regression.inputs.values.table-4INNZQI2.js.map} +0 -0
- /package/dist/{regression.integration.spec-XOX7OXXA.js.map → regression.integration.spec-XKQ2JOOT.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-YKMAWNXN.js.map → regression.results-VZBYMBYC.js.map} +0 -0
- /package/dist/{regression.spec-YIIY2AZA.js.map → regression.spec-DU3UTDCJ.js.map} +0 -0
- /package/dist/{regression.results-YKPOTPCC.js.map → render-N5FOF247.js.map} +0 -0
- /package/dist/{report-JEJFCWUU.js.map → report-DW3OHB67.js.map} +0 -0
- /package/dist/{sampleScatter.spec-LBAZBDYA.js.map → sampleScatter.spec-REFSK2V4.js.map} +0 -0
- /package/dist/{sampleView-WKZT5ZFE.js.map → sampleView-ICOT2R6O.js.map} +0 -0
- /package/dist/{samplelst-HXM3H6M4.js.map → samplelst-TJEVASYG.js.map} +0 -0
- /package/dist/{samplematrix-LCGHK2EK.js.map → samplematrix-6DAWCXQ3.js.map} +0 -0
- /package/dist/{sc-3OE2G4BU.js.map → sc-53LNOB7N.js.map} +0 -0
- /package/dist/{scatter-AGVUDTTU.js.map → scatter-DKYSS4DL.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-WF2XZ6GH.js.map → selectGenomeWithTklst-WTX66TV3.js.map} +0 -0
- /package/dist/{singleCellCellType-2SRGROMS.js.map → singleCellCellType-D2CN2BHQ.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-DCGHNRJI.js.map → singleCellCellType.unit.spec-LADUCI4R.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-RASZA4NO.js.map → singleCellGeneExpression-YR2ZT34W.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-5MRGH2OO.js.map → singleCellGeneExpression.unit.spec-BM63M432.js.map} +0 -0
- /package/dist/{singleCellPlot-TIYA3GNM.js.map → singleCellPlot-3ICIOILE.js.map} +0 -0
- /package/dist/{singlecell-JS5SIZHY.js.map → singlecell-6ZUFA3BQ.js.map} +0 -0
- /package/dist/{singlecell-CFA43TTU.js.map → singlecell-KX7W4U57.js.map} +0 -0
- /package/dist/{snp-VXZXPMKS.js.map → snp-VIURB7L3.js.map} +0 -0
- /package/dist/{snp.unit.spec-TR5TCO7X.js.map → snp.unit.spec-ACZNZUNS.js.map} +0 -0
- /package/dist/{snplocus-VLPH5Y65.js.map → snplocus-3LW4ZUZR.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-PATK67SH.js.map → spliceevent.a53ss.diagram-AKTZGWNM.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-4NPNZUEN.js.map → spliceevent.noeventdiagram-YTXWWNTJ.js.map} +0 -0
- /package/dist/{ssGSEA-XMW5BLAU.js.map → ssGSEA-THW4WFMI.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-ASUWKVUT.js.map → ssGSEA.unit.spec-HTRGQI2K.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-KWRFGX32.js.map → summarizeCnvGeneexp-RFYC3H2Z.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-FIPIMEJR.js.map → summarizeGeneexpSurvival-DQBZUTQ6.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-IUYRVLZG.js.map → summarizeMutationCnv-7AYEMHAI.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-ZFJPCABL.js.map → summarizeMutationDiagnosis-AKFJDSAF.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-HFHYB7DT.js.map → summarizeMutationSurvival-QJHZRQBZ.js.map} +0 -0
- /package/dist/{summary-AZUNEZ5I.js.map → summary-A5P7AYK4.js.map} +0 -0
- /package/dist/{summary.integration.spec-WLBAJL44.js.map → summary.integration.spec-HQISXGNL.js.map} +0 -0
- /package/dist/{summaryInput-NJWVXDXW.js.map → summaryInput-HP675QOQ.js.map} +0 -0
- /package/dist/{sunburst-PXGF4WM6.js.map → sunburst-65LSYRXX.js.map} +0 -0
- /package/dist/{survival-ZZ4QLZHK.js.map → survival-QNEI6YVK.js.map} +0 -0
- /package/dist/{survival-RAU4XCKG.js.map → survival-UI74VXSM.js.map} +0 -0
- /package/dist/{svgraph-7UCFRL6A.js.map → svgraph-PSX2NER3.js.map} +0 -0
- /package/dist/{svmr-DB3RY2ID.js.map → svmr-QDQ33EFX.js.map} +0 -0
- /package/dist/{table-HJRWWXGM.js.map → table-LWAI27UO.js.map} +0 -0
- /package/dist/{termCollection-WPON7RG3.js.map → termCollection-3JHR74FG.js.map} +0 -0
- /package/dist/{termCollection-AW7M6DTP.js.map → termCollection-CDF5LYUG.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-254ESHOE.js.map → termCollection.unit.spec-HOJKYWHF.js.map} +0 -0
- /package/dist/{tk-SUAFM5YA.js.map → tk-OEQFO73V.js.map} +0 -0
- /package/dist/{tp.ui-ELEQGSK2.js.map → tp.ui-SHNERDGC.js.map} +0 -0
- /package/dist/{tvs.dt-DCXY66YY.js.map → tvs.dt-CZDC4TSR.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-SFQZMYX7.js.map → tvs.dtcnv.categorical-OPBDHZGB.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-AUZNJMC3.js.map → tvs.dtcnv.continuous-AR6P4EP3.js.map} +0 -0
- /package/dist/{tvs.dtfusion-5F7MYFHZ.js.map → tvs.dtfusion-2YQ7N6FQ.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-JJSPL4PH.js.map → tvs.dtsnvindel-WHHWAATJ.js.map} +0 -0
- /package/dist/{tvs.dtsv-DARTSV5H.js.map → tvs.dtsv-3UMCW65O.js.map} +0 -0
- /package/dist/{tvs.numeric-KYAU5OV3.js.map → tvs.numeric-TOEPASWN.js.map} +0 -0
- /package/dist/{tvs.samplelst-HHBIO26C.js.map → tvs.samplelst-M7XKXRTZ.js.map} +0 -0
- /package/dist/{tvs.termCollection-KCMALH6B.js.map → tvs.termCollection-WT4WZMYR.js.map} +0 -0
- /package/dist/{violin-C26FW5WK.js.map → violin-2YGXTBDS.js.map} +0 -0
- /package/dist/{violin.integration.spec-QQ43XWHQ.js.map → violin.integration.spec-YWNHVAGS.js.map} +0 -0
- /package/dist/{violin.interactivity-H2BHC6M4.js.map → violin.interactivity-J6BE2UQL.js.map} +0 -0
- /package/dist/{violin.renderer-GSG2I7AV.js.map → violin.renderer-3GRUWP2U.js.map} +0 -0
- /package/dist/{vocabulary-3G525O5V.js.map → vocabulary-2INCVPYJ.js.map} +0 -0
|
@@ -0,0 +1,2198 @@
|
|
|
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-5VOPABBA.js";
|
|
11
|
+
import {
|
|
12
|
+
invalidcoord,
|
|
13
|
+
string2pos
|
|
14
|
+
} from "./chunk-HJ6L54YS.js";
|
|
15
|
+
import "./chunk-LSEFWW72.js";
|
|
16
|
+
import "./chunk-Z5U6HOE4.js";
|
|
17
|
+
import {
|
|
18
|
+
Menu
|
|
19
|
+
} from "./chunk-HYOEWQ5P.js";
|
|
20
|
+
import "./chunk-HBW42TDT.js";
|
|
21
|
+
import "./chunk-FN5XPUPH.js";
|
|
22
|
+
import "./chunk-5ABGFJSP.js";
|
|
23
|
+
import "./chunk-IIT367QZ.js";
|
|
24
|
+
import "./chunk-RZGEKL77.js";
|
|
25
|
+
import "./chunk-XPY6AWXO.js";
|
|
26
|
+
import "./chunk-NELOT3NJ.js";
|
|
27
|
+
import {
|
|
28
|
+
dofetch,
|
|
29
|
+
dofetch2,
|
|
30
|
+
dofetch3,
|
|
31
|
+
vcfparsemeta
|
|
32
|
+
} from "./chunk-M6EF3WVV.js";
|
|
33
|
+
import "./chunk-7IYJZZQI.js";
|
|
34
|
+
import "./chunk-M3J4MINX.js";
|
|
35
|
+
import "./chunk-PF4DSFDR.js";
|
|
36
|
+
import "./chunk-LFCYMSVA.js";
|
|
37
|
+
import "./chunk-I6WR4CG7.js";
|
|
38
|
+
import {
|
|
39
|
+
bplen,
|
|
40
|
+
dt2label,
|
|
41
|
+
dtcnv,
|
|
42
|
+
dtfusionrna,
|
|
43
|
+
dtitd,
|
|
44
|
+
dtloh,
|
|
45
|
+
dtsnvindel,
|
|
46
|
+
dtsv,
|
|
47
|
+
getMax_byiqr,
|
|
48
|
+
mclass,
|
|
49
|
+
mclassitd,
|
|
50
|
+
tkt,
|
|
51
|
+
validtkt
|
|
52
|
+
} from "./chunk-2X6W4E3W.js";
|
|
53
|
+
import "./chunk-NYRZNRG5.js";
|
|
54
|
+
import "./chunk-JNITUVXP.js";
|
|
55
|
+
import {
|
|
56
|
+
category10_default
|
|
57
|
+
} from "./chunk-3XVVN66M.js";
|
|
58
|
+
import "./chunk-LOZEKOES.js";
|
|
59
|
+
import "./chunk-VQZ2Z5YU.js";
|
|
60
|
+
import {
|
|
61
|
+
linear,
|
|
62
|
+
ordinal
|
|
63
|
+
} from "./chunk-NSTL4MY2.js";
|
|
64
|
+
import "./chunk-TLT4YIG3.js";
|
|
65
|
+
import "./chunk-KYBIQBXE.js";
|
|
66
|
+
import "./chunk-I6Y4O3RR.js";
|
|
67
|
+
import "./chunk-OMR2DT66.js";
|
|
68
|
+
import "./chunk-DQC5FFGV.js";
|
|
69
|
+
import "./chunk-HFNDKYVF.js";
|
|
70
|
+
|
|
71
|
+
// src/samplematrix.featuremenu.js
|
|
72
|
+
function showMenu_isgenevalue(smat, f) {
|
|
73
|
+
smat.menu.d.append("div").attr("class", "sja_menuoption").text("Sort").on("click", () => {
|
|
74
|
+
smat.menu.hide();
|
|
75
|
+
if (f.sort) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
for (const f2 of smat.features) {
|
|
79
|
+
if (f2.isgenevalue) delete f2.sort;
|
|
80
|
+
}
|
|
81
|
+
f.sort = 1;
|
|
82
|
+
smat.draw_matrix();
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function showMenu_iscnv(smat, f, obj) {
|
|
86
|
+
{
|
|
87
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
88
|
+
row.append("span").html("CNV log2(ratio) cutoff ");
|
|
89
|
+
row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
|
|
90
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
91
|
+
let v = Number.parseFloat(event2.target.value);
|
|
92
|
+
if (!v || v < 0) {
|
|
93
|
+
v = 0;
|
|
94
|
+
}
|
|
95
|
+
if (v == 0) {
|
|
96
|
+
if (obj.valuecutoff) {
|
|
97
|
+
obj.valuecutoff = 0;
|
|
98
|
+
smat.update_singlefeature(f);
|
|
99
|
+
} else {
|
|
100
|
+
}
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
if (obj.valuecutoff) {
|
|
104
|
+
if (obj.valuecutoff == v) {
|
|
105
|
+
} else {
|
|
106
|
+
obj.valuecutoff = v;
|
|
107
|
+
smat.update_singlefeature(f);
|
|
108
|
+
}
|
|
109
|
+
} else {
|
|
110
|
+
obj.valuecutoff = v;
|
|
111
|
+
smat.update_singlefeature(f);
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
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.");
|
|
115
|
+
}
|
|
116
|
+
{
|
|
117
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
118
|
+
row.append("span").html("CNV segment size limit ");
|
|
119
|
+
row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
|
|
120
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
121
|
+
let v = Number.parseInt(event2.target.value);
|
|
122
|
+
if (!v || v < 0) {
|
|
123
|
+
v = 0;
|
|
124
|
+
}
|
|
125
|
+
if (v == 0) {
|
|
126
|
+
if (obj.focalsizelimit) {
|
|
127
|
+
obj.focalsizelimit = 0;
|
|
128
|
+
smat.update_singlefeature(f);
|
|
129
|
+
} else {
|
|
130
|
+
}
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
if (obj.focalsizelimit) {
|
|
134
|
+
if (obj.focalsizelimit == v) {
|
|
135
|
+
} else {
|
|
136
|
+
obj.focalsizelimit = v;
|
|
137
|
+
smat.update_singlefeature(f);
|
|
138
|
+
}
|
|
139
|
+
} else {
|
|
140
|
+
obj.focalsizelimit = v;
|
|
141
|
+
smat.update_singlefeature(f);
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
row.append("span").text("bp");
|
|
145
|
+
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.");
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
function showMenu_isloh(smat, f, obj) {
|
|
149
|
+
{
|
|
150
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
151
|
+
row.append("span").html("LOH segmean cutoff ");
|
|
152
|
+
row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
|
|
153
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
154
|
+
let v = Number.parseFloat(event2.target.value);
|
|
155
|
+
if (!v || v < 0) {
|
|
156
|
+
v = 0;
|
|
157
|
+
}
|
|
158
|
+
if (v == 0) {
|
|
159
|
+
if (obj.valuecutoff) {
|
|
160
|
+
obj.valuecutoff = 0;
|
|
161
|
+
smat.update_singlefeature(f);
|
|
162
|
+
} else {
|
|
163
|
+
}
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
if (obj.valuecutoff) {
|
|
167
|
+
if (obj.valuecutoff == v) {
|
|
168
|
+
} else {
|
|
169
|
+
obj.valuecutoff = v;
|
|
170
|
+
smat.update_singlefeature(f);
|
|
171
|
+
}
|
|
172
|
+
} else {
|
|
173
|
+
obj.valuecutoff = v;
|
|
174
|
+
smat.update_singlefeature(f);
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
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.");
|
|
178
|
+
}
|
|
179
|
+
{
|
|
180
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
181
|
+
row.append("span").html("LOH segment size limit ");
|
|
182
|
+
row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
|
|
183
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
184
|
+
let v = Number.parseInt(event2.target.value);
|
|
185
|
+
if (!v || v < 0) {
|
|
186
|
+
v = 0;
|
|
187
|
+
}
|
|
188
|
+
if (v == 0) {
|
|
189
|
+
if (obj.focalsizelimit) {
|
|
190
|
+
obj.focalsizelimit = 0;
|
|
191
|
+
smat.update_singlefeature(f);
|
|
192
|
+
} else {
|
|
193
|
+
}
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
if (obj.focalsizelimit) {
|
|
197
|
+
if (obj.focalsizelimit == v) {
|
|
198
|
+
} else {
|
|
199
|
+
obj.focalsizelimit = v;
|
|
200
|
+
smat.update_singlefeature(f);
|
|
201
|
+
}
|
|
202
|
+
} else {
|
|
203
|
+
obj.focalsizelimit = v;
|
|
204
|
+
smat.update_singlefeature(f);
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
row.append("span").text("bp");
|
|
208
|
+
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.");
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
function showMenu_ismutation(smat, f) {
|
|
212
|
+
{
|
|
213
|
+
const div = smat.menu.d.append("div").style("margin", "10px").style("border", "solid 1px #ededed");
|
|
214
|
+
const update = () => {
|
|
215
|
+
smat.update_singlefeature(f);
|
|
216
|
+
smat.menu.hide();
|
|
217
|
+
};
|
|
218
|
+
const table = div.append("table").style("margin", "10px").style("border-spacing", "1px");
|
|
219
|
+
const tbody = table.append("tbody");
|
|
220
|
+
{
|
|
221
|
+
const tr = tbody.append("tr");
|
|
222
|
+
tr.append("td").style("opacity", 0.5).text("CNV");
|
|
223
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.cnv.hidden ? "Show" : "Hide").on("click", () => {
|
|
224
|
+
f.cnv.hidden = !f.cnv.hidden;
|
|
225
|
+
update();
|
|
226
|
+
});
|
|
227
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
228
|
+
ismutation_hideallclass(f);
|
|
229
|
+
delete f.cnv.hidden;
|
|
230
|
+
update();
|
|
231
|
+
});
|
|
232
|
+
const td = tr.append("td");
|
|
233
|
+
if (!f.cnv.hidden) {
|
|
234
|
+
td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
|
|
235
|
+
smat.menu.clear();
|
|
236
|
+
showMenu_iscnv(smat, f, f.cnv);
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
{
|
|
241
|
+
const tr = tbody.append("tr");
|
|
242
|
+
tr.append("td").style("opacity", 0.5).text("LOH");
|
|
243
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.loh.hidden ? "Show" : "Hide").on("click", () => {
|
|
244
|
+
f.loh.hidden = !f.loh.hidden;
|
|
245
|
+
update();
|
|
246
|
+
});
|
|
247
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
248
|
+
ismutation_hideallclass(f);
|
|
249
|
+
delete f.loh.hidden;
|
|
250
|
+
update();
|
|
251
|
+
});
|
|
252
|
+
const td = tr.append("td");
|
|
253
|
+
if (!f.loh.hidden) {
|
|
254
|
+
td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
|
|
255
|
+
smat.menu.clear();
|
|
256
|
+
showMenu_isloh(smat, f, f.loh);
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
{
|
|
261
|
+
const tr = tbody.append("tr");
|
|
262
|
+
tr.append("td").style("opacity", 0.5).text("ITD");
|
|
263
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.itd.hidden ? "Show" : "Hide").on("click", () => {
|
|
264
|
+
f.itd.hidden = !f.itd.hidden;
|
|
265
|
+
update();
|
|
266
|
+
});
|
|
267
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
268
|
+
ismutation_hideallclass(f);
|
|
269
|
+
delete f.itd.hidden;
|
|
270
|
+
update();
|
|
271
|
+
});
|
|
272
|
+
const td = tr.append("td");
|
|
273
|
+
if (!f.itd.hidden) {
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
{
|
|
277
|
+
const tr = tbody.append("tr");
|
|
278
|
+
tr.append("td").style("opacity", 0.5).text("SV");
|
|
279
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.sv.hidden ? "Show" : "Hide").on("click", () => {
|
|
280
|
+
f.sv.hidden = !f.sv.hidden;
|
|
281
|
+
update();
|
|
282
|
+
});
|
|
283
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
284
|
+
ismutation_hideallclass(f);
|
|
285
|
+
delete f.sv.hidden;
|
|
286
|
+
update();
|
|
287
|
+
});
|
|
288
|
+
const td = tr.append("td");
|
|
289
|
+
if (!f.sv.hidden) {
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
{
|
|
293
|
+
const tr = tbody.append("tr");
|
|
294
|
+
tr.append("td").style("opacity", 0.5).text("Fusion");
|
|
295
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.fusion.hidden ? "show" : "hide").on("click", () => {
|
|
296
|
+
f.fusion.hidden = !f.fusion.hidden;
|
|
297
|
+
update();
|
|
298
|
+
});
|
|
299
|
+
tr.append("td").attr("class", "sja_menuoption").text("show only").on("click", () => {
|
|
300
|
+
ismutation_hideallclass(f);
|
|
301
|
+
delete f.fusion.hidden;
|
|
302
|
+
update();
|
|
303
|
+
});
|
|
304
|
+
const td = tr.append("td");
|
|
305
|
+
if (!f.fusion.hidden) {
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
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", () => {
|
|
309
|
+
if (tbody2.style("display") == "none") {
|
|
310
|
+
tbody2.style("display", "table-row-group");
|
|
311
|
+
} else {
|
|
312
|
+
tbody2.style("display", "none");
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
const tbody2 = table.append("tbody").style("display", "none");
|
|
316
|
+
for (const k in mclass) {
|
|
317
|
+
const c = mclass[k];
|
|
318
|
+
if (c.dt != dtsnvindel) {
|
|
319
|
+
continue;
|
|
320
|
+
}
|
|
321
|
+
const tr = tbody2.append("tr");
|
|
322
|
+
tr.append("td").style("opacity", 0.5).text(c.label);
|
|
323
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.snvindel.excludeclasses[k] ? "Show" : "Hide").on("click", () => {
|
|
324
|
+
if (f.snvindel.excludeclasses[k]) {
|
|
325
|
+
delete f.snvindel.excludeclasses[k];
|
|
326
|
+
} else {
|
|
327
|
+
f.snvindel.excludeclasses[k] = 1;
|
|
328
|
+
}
|
|
329
|
+
update();
|
|
330
|
+
});
|
|
331
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
332
|
+
ismutation_hideallclass(f);
|
|
333
|
+
delete f.snvindel.excludeclasses[k];
|
|
334
|
+
update();
|
|
335
|
+
});
|
|
336
|
+
const td = tr.append("td");
|
|
337
|
+
}
|
|
338
|
+
div.append("div").style("margin", "10px").append("span").style("font-size", ".8em").text("Show all classes").attr("class", "sja_clbtext").on("click", () => {
|
|
339
|
+
f.cnv.hidden = false;
|
|
340
|
+
f.loh.hidden = false;
|
|
341
|
+
f.itd.hidden = false;
|
|
342
|
+
f.sv.hidden = false;
|
|
343
|
+
f.fusion.hidden = false;
|
|
344
|
+
f.snvindel.excludeclasses = {};
|
|
345
|
+
update();
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
function ismutation_hideallclass(f) {
|
|
350
|
+
f.cnv.hidden = true;
|
|
351
|
+
f.loh.hidden = true;
|
|
352
|
+
f.itd.hidden = true;
|
|
353
|
+
f.sv.hidden = true;
|
|
354
|
+
f.fusion.hidden = true;
|
|
355
|
+
f.snvindel.excludeclasses = {};
|
|
356
|
+
for (const k in mclass) {
|
|
357
|
+
if (mclass[k].dt == dtsnvindel) f.snvindel.excludeclasses[k] = 1;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
// src/samplematrix.kmplot.js
|
|
362
|
+
function may_add_kmplotbutton(smat, buttonrow) {
|
|
363
|
+
if (!smat.mds || !smat.mds.survivalplot) return;
|
|
364
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("SURVIVAL PLOT").attr("class", "sja_clbtext").on("click", (event2) => {
|
|
365
|
+
smat.menu.clear().showunder(event2.target);
|
|
366
|
+
kmplot_menu(smat);
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
async function kmplot_menu(smat) {
|
|
370
|
+
const mutation_features = smat.features.filter((i) => i.ismutation);
|
|
371
|
+
try {
|
|
372
|
+
if (mutation_features.length != 2) throw "only works with two genomic features.";
|
|
373
|
+
await kmplot_do(smat, mutation_features[0], mutation_features[1]);
|
|
374
|
+
} catch (e) {
|
|
375
|
+
smat.menu.d.append("div").style("margin", "20px").text("Cannot make survival plot: " + (e.message || e));
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
async function kmplot_do(smat, f1, f2) {
|
|
379
|
+
const s1 = [], s2 = [], s12 = [];
|
|
380
|
+
for (const i of smat.samples) {
|
|
381
|
+
const in1 = f1.items.find((j) => j.sample == i.name);
|
|
382
|
+
const in2 = f2.items.find((j) => j.sample == i.name);
|
|
383
|
+
if (in1) {
|
|
384
|
+
if (in2) s12.push(i.name);
|
|
385
|
+
else s1.push(i.name);
|
|
386
|
+
} else {
|
|
387
|
+
s2.push(i.name);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
const plot = {
|
|
391
|
+
renderplot: 1,
|
|
392
|
+
samplerule: {
|
|
393
|
+
full: {},
|
|
394
|
+
mutated_sets: [
|
|
395
|
+
{ name: f1.label + " mutated (n=" + s1.length + ")", samplenames: s1 },
|
|
396
|
+
{ name: f2.label + " mutated (n=" + s2.length + ")", samplenames: s2 },
|
|
397
|
+
{ name: f1.label + " and " + f2.label + " mutated (n=" + s12.length + ")", samplenames: s12 }
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
};
|
|
401
|
+
if (smat.limitsamplebyeitherannotation) {
|
|
402
|
+
plot.samplerule.full = {
|
|
403
|
+
byattr: 1,
|
|
404
|
+
key: smat.limitsamplebyeitherannotation[0].key,
|
|
405
|
+
value: smat.limitsamplebyeitherannotation[0].value,
|
|
406
|
+
immutable: 1
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
const pane = newpane({ x: 100, y: 100 });
|
|
410
|
+
pane.header.text(
|
|
411
|
+
(smat.limitsamplebyeitherannotation ? smat.limitsamplebyeitherannotation[0].value + " " : "") + "survival by " + f1.label + " and " + f2.label + " mutation status"
|
|
412
|
+
);
|
|
413
|
+
const _ = await import("./mds.survivalplot-OPCMB5PB.js");
|
|
414
|
+
_.init(
|
|
415
|
+
{
|
|
416
|
+
mds: smat.mds,
|
|
417
|
+
genome: smat.genome,
|
|
418
|
+
plotlist: [plot]
|
|
419
|
+
},
|
|
420
|
+
pane.body
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
// src/samplematrix.js
|
|
425
|
+
var saynovalue = "na";
|
|
426
|
+
var default_cnvgaincolor = "#D6683C";
|
|
427
|
+
var default_cnvlosscolor = "#67a9cf";
|
|
428
|
+
var default_genevaluecolor = "#095873";
|
|
429
|
+
var default_lohcolor = "#858585";
|
|
430
|
+
var default_svcolor = "#858585";
|
|
431
|
+
var minheight2showname = 8;
|
|
432
|
+
var Samplematrix = class {
|
|
433
|
+
/*
|
|
434
|
+
init ui
|
|
435
|
+
*/
|
|
436
|
+
constructor(p) {
|
|
437
|
+
for (const k in p) {
|
|
438
|
+
this[k] = p[k];
|
|
439
|
+
}
|
|
440
|
+
if (this.debugmode) window.smat = this;
|
|
441
|
+
this.tip = new Menu({ padding: "0px", hideXmute: 1, hideYmute: 1 });
|
|
442
|
+
this.menu = new Menu({ padding: "0px" });
|
|
443
|
+
this.errdiv = this.holder.append("div");
|
|
444
|
+
if (!this.iscustom) {
|
|
445
|
+
try {
|
|
446
|
+
if (!this.dslabel) throw "not custom data but dslabel is missing";
|
|
447
|
+
this.mds = this.genome.datasets[this.dslabel];
|
|
448
|
+
if (!this.mds) throw "invalid dataset name: " + this.dslabel;
|
|
449
|
+
if (!this.mds.isMds) throw "improper dataset: " + this.dslabel;
|
|
450
|
+
} catch (e) {
|
|
451
|
+
this.error(e);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
init_controlui(this);
|
|
455
|
+
if (this.header) {
|
|
456
|
+
this.holder.append("div").style("margin-bottom", "20px").html(this.header);
|
|
457
|
+
}
|
|
458
|
+
this.wait_div = this.holder.append("div");
|
|
459
|
+
this.wait_div.style("display", "block").text("Loading...");
|
|
460
|
+
this.svg = this.holder.append("svg");
|
|
461
|
+
this.validate_config().then(() => {
|
|
462
|
+
return this.get_features();
|
|
463
|
+
}).catch((err) => {
|
|
464
|
+
if (typeof err == "string") {
|
|
465
|
+
this.error(err);
|
|
466
|
+
} else {
|
|
467
|
+
this.error(err.message);
|
|
468
|
+
if (err.stack) console.log(err.stack);
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
error(m) {
|
|
473
|
+
sayerror(this.errdiv, m);
|
|
474
|
+
}
|
|
475
|
+
async validate_config() {
|
|
476
|
+
if (this.iscustom) {
|
|
477
|
+
if (!this.querykey2tracks) throw "querykey2tracks missing for custom dataset";
|
|
478
|
+
let novalidtk = true;
|
|
479
|
+
for (const key in this.querykey2tracks) {
|
|
480
|
+
const tk = this.querykey2tracks[key];
|
|
481
|
+
if (!tk.file && !tk.url) throw "no file or url for a custom track by key " + key;
|
|
482
|
+
if (!tk.type) throw "missing type for member track by key " + key;
|
|
483
|
+
if (!validtkt(tk.type)) throw "invalid type for a member track: " + tk.type;
|
|
484
|
+
novalidtk = false;
|
|
485
|
+
}
|
|
486
|
+
if (novalidtk) throw "no custom tracks from querykey2tracks";
|
|
487
|
+
let vcftk;
|
|
488
|
+
for (const key in this.querykey2tracks) {
|
|
489
|
+
const tk = this.querykey2tracks[key];
|
|
490
|
+
if (tk.type == tkt.mdsvcf) {
|
|
491
|
+
vcftk = tk;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
if (vcftk) {
|
|
495
|
+
await this.may_init_customvcf(vcftk);
|
|
496
|
+
}
|
|
497
|
+
} else {
|
|
498
|
+
if (this.mds.mdsIsUninitiated) {
|
|
499
|
+
const d = await dofetch3(`getDataset?genome=${this.genome.name}&dsname=${this.mds.label}`);
|
|
500
|
+
if (d.error) throw d.error;
|
|
501
|
+
if (!d.ds) throw "ds missing";
|
|
502
|
+
Object.assign(this.mds, d.ds);
|
|
503
|
+
delete this.mds.mdsIsUninitiated;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
if (this.limitsamplebyeitherannotation) {
|
|
507
|
+
if (!Array.isArray(this.limitsamplebyeitherannotation)) throw "limitsamplebyeitherannotation must be an array";
|
|
508
|
+
const tr = this.legendtable.append("tr");
|
|
509
|
+
for (const anno of this.limitsamplebyeitherannotation) {
|
|
510
|
+
if (!anno.key) throw ".key missing from an element of limitsamplebyeitherannotation";
|
|
511
|
+
if (!anno.value) throw ".value missing from an element of limitsamplebyeitherannotation";
|
|
512
|
+
}
|
|
513
|
+
this.showlegend_limitsample();
|
|
514
|
+
}
|
|
515
|
+
const cnv_tr = this.legendtable.append("tr");
|
|
516
|
+
cnv_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("CNV cutoff");
|
|
517
|
+
this.legendtable.cnv_td = cnv_tr.append("td");
|
|
518
|
+
const loh_tr = this.legendtable.append("tr");
|
|
519
|
+
loh_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("LOH cutoff");
|
|
520
|
+
this.legendtable.loh_td = loh_tr.append("td");
|
|
521
|
+
if (this.limitbysamplesetgroup) {
|
|
522
|
+
if (!Array.isArray(this.limitbysamplesetgroup.samples)) throw ".limitbysamplesetgroup.samples is not array";
|
|
523
|
+
}
|
|
524
|
+
if (!this.rowspace) this.rowspace = 1;
|
|
525
|
+
if (!this.colspace) this.colspace = 1;
|
|
526
|
+
if (!this.rowlabspace) this.rowlabspace = 5;
|
|
527
|
+
if (!this.collabspace) this.collabspace = 5;
|
|
528
|
+
if (!this.rowlabticksize) this.rowlabticksize = 5;
|
|
529
|
+
if (!this.collabticksize) this.collabticksize = 5;
|
|
530
|
+
if (!this.features) throw "missing features[]";
|
|
531
|
+
if (!Array.isArray(this.features)) throw "features must be an array";
|
|
532
|
+
if (this.features[0].height) this.ori_feature_height = this.features[0].height;
|
|
533
|
+
if (this.features[0].width) this.ori_feature_width = this.features[0].width;
|
|
534
|
+
for (const f of this.features) {
|
|
535
|
+
await this.validate_feature(f);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
showlegend_limitsample() {
|
|
539
|
+
if (!this.limitsamplebyeitherannotation) return;
|
|
540
|
+
}
|
|
541
|
+
feature_parseposition_maygene(f) {
|
|
542
|
+
return Promise.resolve().then(() => {
|
|
543
|
+
if (f.position) {
|
|
544
|
+
const o = string2pos(f.position, this.genome);
|
|
545
|
+
if (o) {
|
|
546
|
+
f.chr = o.chr;
|
|
547
|
+
f.start = o.start;
|
|
548
|
+
f.stop = o.stop;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
if (f.chr) {
|
|
552
|
+
const err = invalidcoord(this.genome, f.chr, f.start, f.stop);
|
|
553
|
+
if (err) {
|
|
554
|
+
throw 'feature "' + f.label + '" position error: ' + err;
|
|
555
|
+
} else {
|
|
556
|
+
return;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
if (!f.genename) throw "position required for a feature: no position or genename given";
|
|
560
|
+
return dofetch("/genelookup", {
|
|
561
|
+
input: f.genename,
|
|
562
|
+
genome: this.genome.name,
|
|
563
|
+
deep: 1
|
|
564
|
+
}).then((data) => {
|
|
565
|
+
if (data.error) throw data.error;
|
|
566
|
+
if (!data.gmlst || data.gmlst.length == 0) throw "no gene can be found for " + f.genename;
|
|
567
|
+
const regions = [];
|
|
568
|
+
for (const gm of data.gmlst) {
|
|
569
|
+
let nooverlap = true;
|
|
570
|
+
for (const region of regions) {
|
|
571
|
+
if (gm.chr == region.chr && Math.max(gm.start, region.start) < Math.min(gm.stop, region.stop)) {
|
|
572
|
+
nooverlap = false;
|
|
573
|
+
region.start = Math.min(region.start, gm.start);
|
|
574
|
+
region.stop = Math.max(region.stop, gm.stop);
|
|
575
|
+
break;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
if (nooverlap) {
|
|
579
|
+
regions.push({
|
|
580
|
+
chr: gm.chr,
|
|
581
|
+
start: gm.start,
|
|
582
|
+
stop: gm.stop
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
if (regions.length > 1) {
|
|
587
|
+
sayerror(
|
|
588
|
+
this.errdiv,
|
|
589
|
+
"multiple regions found for gene " + f.genename + " you'd better specify one in feature"
|
|
590
|
+
);
|
|
591
|
+
}
|
|
592
|
+
f.chr = regions[0].chr;
|
|
593
|
+
f.start = regions[0].start;
|
|
594
|
+
f.stop = regions[0].stop;
|
|
595
|
+
});
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
validate_feature(f) {
|
|
599
|
+
return Promise.resolve().then(() => {
|
|
600
|
+
f.id = Math.random().toString();
|
|
601
|
+
const tr = this.legendtable.append("tr");
|
|
602
|
+
f.legend_tr = tr;
|
|
603
|
+
if (f.isgenevalue) {
|
|
604
|
+
if (!f.genename) throw ".genename missing for isgenevalue feature";
|
|
605
|
+
f.label = f.genename + " expression";
|
|
606
|
+
if (this.dslabel) {
|
|
607
|
+
if (!f.querykey) throw ".querykey missing for isgenevalue feature while loading from official dataset";
|
|
608
|
+
} else {
|
|
609
|
+
}
|
|
610
|
+
if (!f.scale) f.scale = { auto: 1 };
|
|
611
|
+
if (f.missingvalue == void 0) f.missingvalue = 0;
|
|
612
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
613
|
+
f.legendholder = tr.append("td");
|
|
614
|
+
if (!f.width) f.width = 20;
|
|
615
|
+
if (!f.color) f.color = default_genevaluecolor;
|
|
616
|
+
return this.feature_parseposition_maygene(f);
|
|
617
|
+
}
|
|
618
|
+
if (f.iscnv) {
|
|
619
|
+
if (this.dslabel) {
|
|
620
|
+
if (!f.querykey) throw ".querykey missing for iscnv feature while loading from official dataset";
|
|
621
|
+
} else {
|
|
622
|
+
}
|
|
623
|
+
if (!f.label && f.genename) {
|
|
624
|
+
f.label = f.genename + " CNV";
|
|
625
|
+
}
|
|
626
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
627
|
+
f.legendholder = tr.append("td");
|
|
628
|
+
if (!f.width) f.width = 40;
|
|
629
|
+
if (!f.colorgain) f.colorgain = default_cnvgaincolor;
|
|
630
|
+
if (!f.colorloss) f.colorloss = default_cnvlosscolor;
|
|
631
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
632
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV";
|
|
633
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
if (f.isloh) {
|
|
637
|
+
if (this.dslabel) {
|
|
638
|
+
if (!f.querykey) throw ".querykey missing for isloh feature while loading from official dataset";
|
|
639
|
+
} else {
|
|
640
|
+
}
|
|
641
|
+
if (!f.label && f.genename) {
|
|
642
|
+
f.label = f.genename + " LOH";
|
|
643
|
+
}
|
|
644
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
645
|
+
f.legendholder = tr.append("td");
|
|
646
|
+
if (!f.width) f.width = 40;
|
|
647
|
+
if (!f.color) f.color = default_lohcolor;
|
|
648
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
649
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " LOH";
|
|
650
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
if (f.isvcf) {
|
|
654
|
+
if (this.dslabel) {
|
|
655
|
+
if (!f.querykey) throw ".querykey missing for isvcf feature while loading from official dataset";
|
|
656
|
+
} else {
|
|
657
|
+
}
|
|
658
|
+
if (!f.label && f.genename) {
|
|
659
|
+
f.label = f.genename + " SNV/indel";
|
|
660
|
+
}
|
|
661
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
662
|
+
f.legendholder = tr.append("td");
|
|
663
|
+
if (!f.width) f.width = 20;
|
|
664
|
+
if (!f.snvindel) f.snvindel = {};
|
|
665
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
666
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SNV/indel";
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
if (f.isitd) {
|
|
670
|
+
if (this.dslabel) {
|
|
671
|
+
if (!f.querykey) throw ".querykey missing for isitd feature while loading from official dataset";
|
|
672
|
+
} else {
|
|
673
|
+
}
|
|
674
|
+
if (!f.label && f.genename) {
|
|
675
|
+
f.label = f.genename + " ITD";
|
|
676
|
+
}
|
|
677
|
+
if (!f.width) f.width = 20;
|
|
678
|
+
if (!f.color) f.color = mclass[mclassitd].color;
|
|
679
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
680
|
+
f.legendholder = tr.append("td");
|
|
681
|
+
f.legendholder.append("div").style("width", "20px").html(" ").style("background", f.color);
|
|
682
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
683
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " ITD";
|
|
684
|
+
});
|
|
685
|
+
}
|
|
686
|
+
if (f.issvfusion) {
|
|
687
|
+
if (this.dslabel) {
|
|
688
|
+
if (!f.querykey) throw ".querykey missing for issvfusion feature while loading from official dataset";
|
|
689
|
+
} else {
|
|
690
|
+
}
|
|
691
|
+
if (!f.label && f.genename) {
|
|
692
|
+
f.label = f.genename + " SV/fusion";
|
|
693
|
+
}
|
|
694
|
+
if (!f.width) f.width = 20;
|
|
695
|
+
if (!f.color) f.color = default_svcolor;
|
|
696
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
697
|
+
f.legendholder = tr.append("td");
|
|
698
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
699
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SV/fusion";
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
if (f.issvcnv) {
|
|
703
|
+
if (this.dslabel) {
|
|
704
|
+
if (!f.querykey) throw ".querykey missing for issvcnv feature while loading from official dataset";
|
|
705
|
+
} else {
|
|
706
|
+
}
|
|
707
|
+
if (!f.label && f.genename) {
|
|
708
|
+
f.label = f.genename + " CNV/SV";
|
|
709
|
+
}
|
|
710
|
+
tr.append("td").text(f.label).style("color", "#858585").style("text-align", "right");
|
|
711
|
+
f.legendholder = tr.append("td");
|
|
712
|
+
initfeature_polymutation(f);
|
|
713
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
714
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV/SV";
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
if (f.ismutation) {
|
|
718
|
+
if (this.dslabel) {
|
|
719
|
+
if (!f.querykeylst) throw ".querykeylst missing for ismutation feature";
|
|
720
|
+
if (!Array.isArray(f.querykeylst)) throw ".querykeylst[] should be array for ismutation feature";
|
|
721
|
+
if (f.querykeylst.length == 0) throw "querykeylst[] empty array for ismutation feature";
|
|
722
|
+
} else {
|
|
723
|
+
}
|
|
724
|
+
if (!f.label && f.genename) {
|
|
725
|
+
f.label = f.genename + " mutation";
|
|
726
|
+
}
|
|
727
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
728
|
+
f.legendholder = tr.append("td");
|
|
729
|
+
initfeature_polymutation(f);
|
|
730
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
731
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " mutation";
|
|
732
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
733
|
+
});
|
|
734
|
+
}
|
|
735
|
+
if (f.issampleattribute) {
|
|
736
|
+
if (!this.dslabel) throw ".dslabel missing: sampleattribute only works for official dataset";
|
|
737
|
+
if (!f.key) throw ".key missing for issampleattribute feature";
|
|
738
|
+
if (!f.label) f.label = f.key;
|
|
739
|
+
if (this.mds && this.mds.sampleAttribute && this.mds.sampleAttribute.attributes) {
|
|
740
|
+
const registry = this.mds.sampleAttribute.attributes[f.key];
|
|
741
|
+
if (registry) {
|
|
742
|
+
f.values = registry.values;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
if (!f.values) {
|
|
746
|
+
f.values = {};
|
|
747
|
+
}
|
|
748
|
+
f.assignmissingcolor = ordinal(category10_default);
|
|
749
|
+
if (!f.width && !this.features_on_rows) f.width = 20;
|
|
750
|
+
else if (!f.height && this.features_on_rows) f.height = 50;
|
|
751
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
752
|
+
f.legendholder = tr.append("td");
|
|
753
|
+
return Promise.resolve();
|
|
754
|
+
}
|
|
755
|
+
throw "unknown feature type in validating feature";
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
get_features(featureset) {
|
|
759
|
+
this.max_cnv = 0;
|
|
760
|
+
this.min_cnv = 0;
|
|
761
|
+
this.max_loh = 0;
|
|
762
|
+
this.min_loh = 0;
|
|
763
|
+
const arg = {
|
|
764
|
+
genome: this.genome.name,
|
|
765
|
+
limitsamplebyeitherannotation: this.limitsamplebyeitherannotation,
|
|
766
|
+
features: (featureset || this.features).map(feature2arg)
|
|
767
|
+
};
|
|
768
|
+
if (this.limitbysamplesetgroup) {
|
|
769
|
+
arg.sampleset = this.limitbysamplesetgroup.samples;
|
|
770
|
+
}
|
|
771
|
+
if (this.iscustom) {
|
|
772
|
+
arg.iscustom = 1;
|
|
773
|
+
arg.querykey2tracks = {};
|
|
774
|
+
for (const f of arg.features) {
|
|
775
|
+
if (f.querykey) {
|
|
776
|
+
arg.querykey2tracks[f.querykey] = this.querykey2tracks[f.querykey];
|
|
777
|
+
} else if (f.querykeylst) {
|
|
778
|
+
for (const k of f.querykeylst) arg.querykey2tracks[k] = this.querykey2tracks[k];
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
} else {
|
|
782
|
+
arg.dslabel = this.mds.label;
|
|
783
|
+
}
|
|
784
|
+
return dofetch("/samplematrix", arg).then((data) => {
|
|
785
|
+
if (data.error) {
|
|
786
|
+
for (const f0 of arg.features) {
|
|
787
|
+
const f = this.features.find((f2) => f2.id == f0.id);
|
|
788
|
+
if (f) f.items = [];
|
|
789
|
+
}
|
|
790
|
+
throw data.error;
|
|
791
|
+
}
|
|
792
|
+
for (const dat of data.results) {
|
|
793
|
+
const f = this.features.find((f2) => f2.id == dat.id);
|
|
794
|
+
if (!f) throw "feature not found: " + f.id;
|
|
795
|
+
f.items = dat.items;
|
|
796
|
+
this.prep_featuredata(f);
|
|
797
|
+
}
|
|
798
|
+
this.draw_matrix();
|
|
799
|
+
this.make_legend();
|
|
800
|
+
this.wait_div.style("display", "none");
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
update_singlefeature(f) {
|
|
804
|
+
this.get_features([f]).catch((err) => {
|
|
805
|
+
if (typeof err == "string") {
|
|
806
|
+
this.error(err);
|
|
807
|
+
} else {
|
|
808
|
+
this.error(err.message);
|
|
809
|
+
if (err.stack) console.log(err.stack);
|
|
810
|
+
}
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
addnewfeature_update(f) {
|
|
814
|
+
this.features.push(f);
|
|
815
|
+
this.validate_feature(f).then(() => {
|
|
816
|
+
return this.get_features([f]);
|
|
817
|
+
}).catch((err) => {
|
|
818
|
+
this.error(typeof err == "string" ? err : err.message);
|
|
819
|
+
if (err.stack) console.log(err.stack);
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
prep_featuredata(f) {
|
|
823
|
+
if (f.isgenevalue) {
|
|
824
|
+
f.scale.maxv = 0;
|
|
825
|
+
f.scale.minv = 0;
|
|
826
|
+
for (const i of f.items) {
|
|
827
|
+
f.scale.maxv = Math.max(f.scale.maxv, i.value);
|
|
828
|
+
}
|
|
829
|
+
return;
|
|
830
|
+
}
|
|
831
|
+
if (f.iscnv) {
|
|
832
|
+
const gain = [], loss = [];
|
|
833
|
+
for (const i of f.items) {
|
|
834
|
+
if (i.value > 0) {
|
|
835
|
+
gain.push(i.value);
|
|
836
|
+
} else {
|
|
837
|
+
loss.push(-i.value);
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
const gmax = getMax_byiqr(gain, 0);
|
|
841
|
+
const lmax = getMax_byiqr(loss, 0);
|
|
842
|
+
f.maxabslogratio = Math.max(gmax, lmax);
|
|
843
|
+
if (f.maxabslogratio > this.max_cnv) this.max_cnv = f.maxabslogratio;
|
|
844
|
+
return;
|
|
845
|
+
}
|
|
846
|
+
if (f.isloh) {
|
|
847
|
+
const values = f.items.map((i) => i.segmean);
|
|
848
|
+
f.minvalue = 0;
|
|
849
|
+
f.maxvalue = Math.max(...values);
|
|
850
|
+
if (f.maxvalue > this.max_loh) this.max_loh = f.maxvalue;
|
|
851
|
+
return;
|
|
852
|
+
}
|
|
853
|
+
if (f.isvcf) {
|
|
854
|
+
return;
|
|
855
|
+
}
|
|
856
|
+
if (f.isitd) {
|
|
857
|
+
return;
|
|
858
|
+
}
|
|
859
|
+
if (f.issvfusion) {
|
|
860
|
+
return;
|
|
861
|
+
}
|
|
862
|
+
if (f.issvcnv || f.ismutation) {
|
|
863
|
+
const cnvgain = [], cnvloss = [];
|
|
864
|
+
let lohmax = 0;
|
|
865
|
+
for (const i of f.items) {
|
|
866
|
+
if (i.dt == dtcnv) {
|
|
867
|
+
if (i.value > 0) {
|
|
868
|
+
cnvgain.push(i.value);
|
|
869
|
+
} else {
|
|
870
|
+
cnvloss.push(-i.value);
|
|
871
|
+
}
|
|
872
|
+
} else if (i.dt == dtloh) {
|
|
873
|
+
lohmax = Math.max(i.segmean, lohmax);
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
if (cnvgain.length + cnvloss.length > 0) {
|
|
877
|
+
const gmax = getMax_byiqr(cnvgain, 0);
|
|
878
|
+
const lmax = getMax_byiqr(cnvloss, 0);
|
|
879
|
+
f.cnv.maxabslogratio = Math.max(gmax, lmax);
|
|
880
|
+
if (f.cnv.maxabslogratio > this.max_cnv) {
|
|
881
|
+
this.max_cnv = f.cnv.maxabslogratio;
|
|
882
|
+
this.min_cnv = -f.cnv.maxabslogratio;
|
|
883
|
+
this.cnv_colorloss = f.cnv.colorloss;
|
|
884
|
+
this.cnv_colorgain = f.cnv.colorgain;
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
if (lohmax) {
|
|
888
|
+
f.loh.minvalue = 0;
|
|
889
|
+
f.loh.maxvalue = lohmax;
|
|
890
|
+
if (f.loh.maxvalue > this.max_loh) this.max_loh = f.loh.maxvalue;
|
|
891
|
+
this.loh_color = f.loh.color;
|
|
892
|
+
}
|
|
893
|
+
return;
|
|
894
|
+
}
|
|
895
|
+
if (f.issampleattribute) {
|
|
896
|
+
for (const i of f.items) {
|
|
897
|
+
if (!f.values[i.value]) {
|
|
898
|
+
f.values[i.value] = {
|
|
899
|
+
name: i.value,
|
|
900
|
+
color: f.assignmissingcolor(i.value)
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
return;
|
|
905
|
+
}
|
|
906
|
+
throw "unknown feature type in preparing feature data";
|
|
907
|
+
}
|
|
908
|
+
make_legend() {
|
|
909
|
+
for (const f of this.features) {
|
|
910
|
+
const h = f.legendholder;
|
|
911
|
+
h.selectAll("*").remove();
|
|
912
|
+
if (f.isgenevalue) {
|
|
913
|
+
h.append("span").text(f.scale.minv.toFixed(3));
|
|
914
|
+
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 + ")");
|
|
915
|
+
h.append("span").text(f.scale.maxv.toFixed(3));
|
|
916
|
+
continue;
|
|
917
|
+
}
|
|
918
|
+
if (f.iscnv) {
|
|
919
|
+
h.append("span").html(
|
|
920
|
+
'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>"
|
|
921
|
+
);
|
|
922
|
+
continue;
|
|
923
|
+
}
|
|
924
|
+
if (f.isloh) {
|
|
925
|
+
h.append("span").text(f.minvalue.toFixed(3));
|
|
926
|
+
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 + ")");
|
|
927
|
+
h.append("span").text(f.maxvalue.toFixed(3));
|
|
928
|
+
continue;
|
|
929
|
+
}
|
|
930
|
+
if (f.isvcf) {
|
|
931
|
+
const classes = /* @__PURE__ */ new Set();
|
|
932
|
+
for (const m of f.items) {
|
|
933
|
+
if (m.class) {
|
|
934
|
+
classes.add(m.class);
|
|
935
|
+
} else {
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
for (const c of classes) {
|
|
939
|
+
const cell = h.append("div").style("display", "inline-block").style("margin-right", "10px");
|
|
940
|
+
cell.append("span").style("background", mclass[c].color).style("margin-right", "2px").html(" ");
|
|
941
|
+
cell.append("span").text(mclass[c].label).style("color", mclass[c].color);
|
|
942
|
+
}
|
|
943
|
+
continue;
|
|
944
|
+
}
|
|
945
|
+
if (f.isitd) {
|
|
946
|
+
continue;
|
|
947
|
+
}
|
|
948
|
+
if (f.issvfusion) {
|
|
949
|
+
continue;
|
|
950
|
+
}
|
|
951
|
+
if (f.issvcnv || f.ismutation) {
|
|
952
|
+
const vcfclass2count = /* @__PURE__ */ new Map();
|
|
953
|
+
let itdcount = 0;
|
|
954
|
+
let svcount = 0;
|
|
955
|
+
let fusioncount = 0;
|
|
956
|
+
for (const i of f.items) {
|
|
957
|
+
if (i.dt == dtsnvindel) {
|
|
958
|
+
if (i.class && i.sampledata) {
|
|
959
|
+
if (!vcfclass2count.has(i.class)) {
|
|
960
|
+
vcfclass2count.set(i.class, 0);
|
|
961
|
+
}
|
|
962
|
+
vcfclass2count.set(i.class, vcfclass2count.get(i.class) + i.sampledata.length);
|
|
963
|
+
} else {
|
|
964
|
+
}
|
|
965
|
+
} else if (i.dt == dtitd) {
|
|
966
|
+
itdcount++;
|
|
967
|
+
} else if (i.dt == dtsv) {
|
|
968
|
+
svcount++;
|
|
969
|
+
} else if (i.dt == dtfusionrna) {
|
|
970
|
+
fusioncount++;
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
if (vcfclass2count.size + itdcount + svcount + fusioncount > 0) {
|
|
974
|
+
const row = h.append("div").style("margin-bottom", "5px").style("white-space", "nowrap");
|
|
975
|
+
for (const [classname, count] of vcfclass2count) {
|
|
976
|
+
const c = mclass[classname];
|
|
977
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
978
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", c.color).text(count);
|
|
979
|
+
cell.append("span").text(c.label).style("color", c.color);
|
|
980
|
+
}
|
|
981
|
+
if (itdcount) {
|
|
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.itd.color).text(itdcount);
|
|
984
|
+
cell.append("span").text("ITD");
|
|
985
|
+
}
|
|
986
|
+
if (svcount) {
|
|
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.sv.color).text(svcount);
|
|
989
|
+
cell.append("span").text("SV");
|
|
990
|
+
}
|
|
991
|
+
if (fusioncount) {
|
|
992
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
993
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.fusion.color).text(fusioncount);
|
|
994
|
+
cell.append("span").text("Fusion");
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
continue;
|
|
998
|
+
}
|
|
999
|
+
if (f.issampleattribute) {
|
|
1000
|
+
const value2count = /* @__PURE__ */ new Map();
|
|
1001
|
+
for (const sample of this.samples) {
|
|
1002
|
+
const anno = f.items.find((i) => i.sample == sample.name);
|
|
1003
|
+
if (anno) {
|
|
1004
|
+
value2count.set(anno.value, (value2count.get(anno.value) || 0) + 1);
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
for (const [value, count] of value2count) {
|
|
1008
|
+
const cell = h.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
1009
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.values[value].color).text(count);
|
|
1010
|
+
cell.append("span").text(f.values[value].name);
|
|
1011
|
+
}
|
|
1012
|
+
continue;
|
|
1013
|
+
}
|
|
1014
|
+
throw "unknown feature type in making legend";
|
|
1015
|
+
}
|
|
1016
|
+
this.makeGlobalCnvLohLegend();
|
|
1017
|
+
}
|
|
1018
|
+
makeGlobalCnvLohLegend() {
|
|
1019
|
+
const legend_data = [
|
|
1020
|
+
{ type: "cnv", legend_label: "CNV log2(ratio): " },
|
|
1021
|
+
{ type: "loh", legend_label: "LOH seg.mean: " }
|
|
1022
|
+
];
|
|
1023
|
+
const min_cnv_orig = parseFloat(this.min_cnv.toFixed(3));
|
|
1024
|
+
const max_cnv_orig = parseFloat(this.max_cnv.toFixed(3));
|
|
1025
|
+
const min_loh_orig = parseFloat(this.min_loh.toFixed(3));
|
|
1026
|
+
const max_loh_orig = parseFloat(this.max_loh.toFixed(3));
|
|
1027
|
+
let changed_flag = false;
|
|
1028
|
+
legend_data.forEach((data) => {
|
|
1029
|
+
let min_cutoff = data.type == "cnv" ? this.min_cnv : this.min_loh;
|
|
1030
|
+
let max_cutoff = data.type == "cnv" ? this.max_cnv : this.max_loh;
|
|
1031
|
+
const td = data.type == "cnv" ? this.legendtable.cnv_td : this.legendtable.loh_td;
|
|
1032
|
+
const row = td.append("div").style("margin-bottom", "5px");
|
|
1033
|
+
row.append("span").text(data.legend_label);
|
|
1034
|
+
const lower_range_txt = row.append("span").text(min_cutoff.toFixed(3));
|
|
1035
|
+
const lower_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", min_cutoff.toFixed(3));
|
|
1036
|
+
if (data.type == "cnv") {
|
|
1037
|
+
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)");
|
|
1038
|
+
}
|
|
1039
|
+
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(
|
|
1040
|
+
"background",
|
|
1041
|
+
"linear-gradient( to right, white, " + (data.type == "cnv" ? this.cnv_colorgain : this.loh_color) + ")"
|
|
1042
|
+
);
|
|
1043
|
+
const upper_range_txt = row.append("span").text(max_cutoff.toFixed(3));
|
|
1044
|
+
const upper_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", max_cutoff.toFixed(3));
|
|
1045
|
+
const edit_btn = row.append("button").style("margin", "2px 5px").style("padding", "3px 10px").text("Edit").on("click", () => {
|
|
1046
|
+
lower_range_txt.style("display", "none");
|
|
1047
|
+
upper_range_txt.style("display", "none");
|
|
1048
|
+
lower_range_input.style("display", "inline-block");
|
|
1049
|
+
upper_range_input.style("display", "inline-block");
|
|
1050
|
+
edit_btn.style("display", "none");
|
|
1051
|
+
submit_btn.style("display", "inline-block");
|
|
1052
|
+
});
|
|
1053
|
+
const submit_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Submit").on("click", () => {
|
|
1054
|
+
if (data.type == "cnv") {
|
|
1055
|
+
this.min_cnv = min_cutoff = lower_range_input.property("value");
|
|
1056
|
+
this.max_cnv = max_cutoff = upper_range_input.property("value");
|
|
1057
|
+
if (this.min_cnv != min_cnv_orig || this.max_cnv != max_cnv_orig) changed_flag = true;
|
|
1058
|
+
} else {
|
|
1059
|
+
this.min_loh = min_cutoff = parseFloat(lower_range_input.property("value"));
|
|
1060
|
+
this.max_loh = max_cutoff = parseFloat(upper_range_input.property("value"));
|
|
1061
|
+
if (this.min_loh != min_loh_orig || this.max_loh != max_loh_orig) changed_flag = true;
|
|
1062
|
+
}
|
|
1063
|
+
lower_range_txt.style("display", "inline-block").text(parseFloat(min_cutoff).toFixed(3));
|
|
1064
|
+
upper_range_txt.style("display", "inline-block").text(parseFloat(max_cutoff).toFixed(3));
|
|
1065
|
+
lower_range_input.style("display", "none");
|
|
1066
|
+
upper_range_input.style("display", "none");
|
|
1067
|
+
edit_btn.style("display", "inline-block");
|
|
1068
|
+
submit_btn.style("display", "none");
|
|
1069
|
+
reset_btn.style("display", changed_flag ? "inline-block" : "none");
|
|
1070
|
+
this.draw_matrix();
|
|
1071
|
+
});
|
|
1072
|
+
const reset_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Reset").on("click", () => {
|
|
1073
|
+
if (data.type == "cnv") {
|
|
1074
|
+
this.min_cnv = min_cutoff = min_cnv_orig;
|
|
1075
|
+
this.max_cnv = max_cutoff = max_cnv_orig;
|
|
1076
|
+
} else {
|
|
1077
|
+
this.min_loh = min_cutoff = min_loh_orig;
|
|
1078
|
+
this.max_loh = max_cutoff = max_loh_orig;
|
|
1079
|
+
}
|
|
1080
|
+
lower_range_txt.text(parseFloat(min_cutoff).toFixed(3));
|
|
1081
|
+
upper_range_txt.text(parseFloat(max_cutoff).toFixed(3));
|
|
1082
|
+
lower_range_input.property("value", parseFloat(min_cutoff).toFixed(3));
|
|
1083
|
+
upper_range_input.property("value", parseFloat(max_cutoff).toFixed(3));
|
|
1084
|
+
reset_btn.style("display", "none");
|
|
1085
|
+
changed_flag = false;
|
|
1086
|
+
this.draw_matrix();
|
|
1087
|
+
});
|
|
1088
|
+
reset_btn.style("display", "none");
|
|
1089
|
+
});
|
|
1090
|
+
}
|
|
1091
|
+
gatherSamplesFromFeatureData() {
|
|
1092
|
+
const name2sample = /* @__PURE__ */ new Map();
|
|
1093
|
+
for (const feature of this.features) {
|
|
1094
|
+
if (feature.donotaddsample) {
|
|
1095
|
+
continue;
|
|
1096
|
+
}
|
|
1097
|
+
if (feature.isgenevalue || feature.iscnv || feature.isloh || feature.isitd || feature.issvfusion || feature.issvcnv) {
|
|
1098
|
+
for (const item of feature.items) {
|
|
1099
|
+
if (!name2sample.has(item.sample)) {
|
|
1100
|
+
name2sample.set(item.sample, {});
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
} else if (feature.isvcf) {
|
|
1104
|
+
for (const m of feature.items) {
|
|
1105
|
+
if (m.dt == dtsnvindel) {
|
|
1106
|
+
if (!m.sampledata) continue;
|
|
1107
|
+
for (const s of m.sampledata) {
|
|
1108
|
+
if (!name2sample.has(s.sampleobj.name)) {
|
|
1109
|
+
name2sample.set(s.sampleobj.name, {});
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
} else {
|
|
1113
|
+
console.error("unsupported dt from isvcf: " + m.dt);
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
} else if (feature.ismutation) {
|
|
1117
|
+
for (const m of feature.items) {
|
|
1118
|
+
if (m.dt == dtsnvindel) {
|
|
1119
|
+
if (!m.sampledata) continue;
|
|
1120
|
+
for (const s of m.sampledata) {
|
|
1121
|
+
if (!name2sample.has(s.sampleobj.name)) {
|
|
1122
|
+
name2sample.set(s.sampleobj.name, {});
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
} else {
|
|
1126
|
+
if (!m.sample) continue;
|
|
1127
|
+
if (!name2sample.has(m.sample)) {
|
|
1128
|
+
name2sample.set(m.sample, {});
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
} else if (feature.issampleattribute) {
|
|
1133
|
+
for (const i of feature.items) {
|
|
1134
|
+
if (!name2sample.has(i.sample)) {
|
|
1135
|
+
name2sample.set(i.sample, {});
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
} else {
|
|
1139
|
+
console.error("unknown feature type from this.data");
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
const uniformheight = Math.min(18, Math.max(1, Math.ceil(800 / name2sample.size)));
|
|
1143
|
+
this.samples = [];
|
|
1144
|
+
for (const [n, sample] of name2sample) {
|
|
1145
|
+
if (!this.features_on_rows) sample.height = uniformheight;
|
|
1146
|
+
else sample.width = uniformheight;
|
|
1147
|
+
sample.name = n;
|
|
1148
|
+
this.samples.push(sample);
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
/*********** __draw *****/
|
|
1152
|
+
draw_matrix() {
|
|
1153
|
+
this.svg.selectAll("*").remove();
|
|
1154
|
+
const svgg = this.svg.append("g");
|
|
1155
|
+
this.gatherSamplesFromFeatureData();
|
|
1156
|
+
this.sortsamplesbyfeatures();
|
|
1157
|
+
const rows_lst = this.features_on_rows ? this.features : this.samples;
|
|
1158
|
+
const cols_lst = this.features_on_rows ? this.samples : this.features;
|
|
1159
|
+
let y = 0, samplenamemaxwidth = 0;
|
|
1160
|
+
for (const r of rows_lst) {
|
|
1161
|
+
r.g = svgg.append("g").attr("transform", "translate(0," + y + ")");
|
|
1162
|
+
y += r.height + this.rowspace;
|
|
1163
|
+
if (r.height >= minheight2showname) {
|
|
1164
|
+
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() {
|
|
1165
|
+
samplenamemaxwidth = Math.max(samplenamemaxwidth, this.getBBox().width);
|
|
1166
|
+
}).attr("class", "sja_clbtext").on("mouseover", () => {
|
|
1167
|
+
this.features_on_rows ? this.showTip_feature(r) : this.showTip_sample(r);
|
|
1168
|
+
}).on("mouseout", () => {
|
|
1169
|
+
this.tip.hide();
|
|
1170
|
+
}).on("click", () => {
|
|
1171
|
+
if (this.features_on_rows) this.showMenu_feature(r);
|
|
1172
|
+
});
|
|
1173
|
+
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");
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
let x = 0, featurenamemaxwidth = 0;
|
|
1177
|
+
for (const c of cols_lst) {
|
|
1178
|
+
const g = svgg.append("g").attr("transform", "translate(" + (x + c.width / 2) + ",-" + (this.collabspace + this.collabticksize) + ")");
|
|
1179
|
+
x += c.width + this.colspace;
|
|
1180
|
+
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() {
|
|
1181
|
+
featurenamemaxwidth = Math.max(featurenamemaxwidth, this.getBBox().width);
|
|
1182
|
+
}).on("mouseover", () => {
|
|
1183
|
+
this.features_on_rows ? this.showTip_sample(c) : this.showTip_feature(c);
|
|
1184
|
+
}).on("mouseout", () => {
|
|
1185
|
+
this.tip.hide();
|
|
1186
|
+
}).on("click", () => {
|
|
1187
|
+
if (!this.features_on_rows) this.showMenu_feature(c);
|
|
1188
|
+
});
|
|
1189
|
+
if (c.isgenevalue) {
|
|
1190
|
+
label.attr("fill", c.color);
|
|
1191
|
+
}
|
|
1192
|
+
g.append("line").attr("y1", this.collabspace).attr("y2", this.collabspace + this.collabticksize).attr("stroke", "black").attr("shape-rendering", "crispEdges");
|
|
1193
|
+
}
|
|
1194
|
+
for (const r of rows_lst) {
|
|
1195
|
+
let x2 = 0;
|
|
1196
|
+
for (const c of cols_lst) {
|
|
1197
|
+
const sample = this.features_on_rows ? c : r;
|
|
1198
|
+
const feature = this.features_on_rows ? r : c;
|
|
1199
|
+
const cell = r.g.append("g").attr("transform", "translate(" + x2 + ",0)");
|
|
1200
|
+
x2 += c.width + this.colspace;
|
|
1201
|
+
if (feature.isgenevalue) {
|
|
1202
|
+
this.drawCell_isgenevalue(sample, feature, cell);
|
|
1203
|
+
} else if (feature.iscnv) {
|
|
1204
|
+
this.drawCell_iscnv(sample, feature, cell);
|
|
1205
|
+
} else if (feature.isloh) {
|
|
1206
|
+
this.drawCell_isloh(sample, feature, cell);
|
|
1207
|
+
} else if (feature.isvcf) {
|
|
1208
|
+
this.drawCell_isvcf(sample, feature, cell);
|
|
1209
|
+
} else if (feature.isitd) {
|
|
1210
|
+
this.drawCell_isitd(sample, feature, cell);
|
|
1211
|
+
} else if (feature.issvfusion) {
|
|
1212
|
+
this.drawCell_issvfusion(sample, feature, cell);
|
|
1213
|
+
} else if (feature.issvcnv || feature.ismutation) {
|
|
1214
|
+
this.drawCell_ismutation(sample, feature, cell);
|
|
1215
|
+
} else if (feature.issampleattribute) {
|
|
1216
|
+
this.drawCell_issampleattribute(sample, feature, cell);
|
|
1217
|
+
} else {
|
|
1218
|
+
console.error("unknown feature type when drawing cell");
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
svgg.attr(
|
|
1223
|
+
"transform",
|
|
1224
|
+
"translate(" + (samplenamemaxwidth + this.rowlabspace + this.rowlabticksize) + "," + (featurenamemaxwidth + this.collabspace + this.collabticksize) + ")"
|
|
1225
|
+
);
|
|
1226
|
+
this.svg.attr(
|
|
1227
|
+
"width",
|
|
1228
|
+
samplenamemaxwidth + this.rowlabspace + this.rowlabticksize + cols_lst.reduce((i, j) => i + j.width, 0) + cols_lst.length * this.colspace
|
|
1229
|
+
).attr(
|
|
1230
|
+
"height",
|
|
1231
|
+
featurenamemaxwidth + this.collabspace + this.collabticksize + rows_lst.reduce((i, j) => i + j.height, 0) + rows_lst.length * this.rowspace
|
|
1232
|
+
);
|
|
1233
|
+
}
|
|
1234
|
+
drawCell_isgenevalue(sample, feature, g) {
|
|
1235
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1236
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1237
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1238
|
+
if (!item) {
|
|
1239
|
+
this.drawEmptycell(sample, feature, g);
|
|
1240
|
+
return;
|
|
1241
|
+
}
|
|
1242
|
+
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) => {
|
|
1243
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1244
|
+
this.showTip_cell(sample, feature);
|
|
1245
|
+
}).on("mouseout", (event2) => {
|
|
1246
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1247
|
+
this.tip.hide();
|
|
1248
|
+
}).on("click", () => {
|
|
1249
|
+
this.click_cell(sample, feature);
|
|
1250
|
+
});
|
|
1251
|
+
if (item.value < feature.scale.maxv) {
|
|
1252
|
+
rect.attr("fill-opacity", item.value / feature.scale.maxv);
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
drawCell_iscnv(sample, feature, g) {
|
|
1256
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1257
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1258
|
+
const items = feature.items.filter((i) => i.sample == sample.name);
|
|
1259
|
+
if (items.length == 0) {
|
|
1260
|
+
this.drawEmptycell(sample, feature, g);
|
|
1261
|
+
return;
|
|
1262
|
+
}
|
|
1263
|
+
for (const item of items) {
|
|
1264
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1265
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1266
|
+
const maxabslogratio = this.max_cnv;
|
|
1267
|
+
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");
|
|
1268
|
+
}
|
|
1269
|
+
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) => {
|
|
1270
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1271
|
+
this.showTip_cell(sample, feature);
|
|
1272
|
+
}).on("mouseout", (event2) => {
|
|
1273
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1274
|
+
this.tip.hide();
|
|
1275
|
+
}).on("click", () => {
|
|
1276
|
+
this.click_cell(sample, feature);
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1279
|
+
drawCell_isloh(sample, feature, g) {
|
|
1280
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1281
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1282
|
+
const items = feature.items.filter((i) => i.sample == sample.name);
|
|
1283
|
+
if (items.length == 0) {
|
|
1284
|
+
this.drawEmptycell(sample, feature, g);
|
|
1285
|
+
return;
|
|
1286
|
+
}
|
|
1287
|
+
for (const item of items) {
|
|
1288
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1289
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1290
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1291
|
+
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");
|
|
1292
|
+
}
|
|
1293
|
+
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) => {
|
|
1294
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1295
|
+
this.showTip_cell(sample, feature);
|
|
1296
|
+
}).on("mouseout", (event2) => {
|
|
1297
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1298
|
+
this.tip.hide();
|
|
1299
|
+
}).on("click", () => {
|
|
1300
|
+
this.click_cell(sample, feature);
|
|
1301
|
+
});
|
|
1302
|
+
}
|
|
1303
|
+
drawCell_isvcf(sample, feature, g) {
|
|
1304
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1305
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1306
|
+
const mlst = getitemforsample_vcf(feature, sample);
|
|
1307
|
+
if (mlst.length == 0) {
|
|
1308
|
+
this.drawEmptycell(sample, feature, g);
|
|
1309
|
+
return;
|
|
1310
|
+
}
|
|
1311
|
+
const class2count = /* @__PURE__ */ new Map();
|
|
1312
|
+
for (const m of mlst) {
|
|
1313
|
+
if (!class2count.has(m.class)) {
|
|
1314
|
+
class2count.set(m.class, 0);
|
|
1315
|
+
}
|
|
1316
|
+
class2count.set(m.class, class2count.get(m.class) + 1);
|
|
1317
|
+
}
|
|
1318
|
+
let start = 0;
|
|
1319
|
+
for (const [cname, count] of class2count) {
|
|
1320
|
+
const span = count / mlst.length * this.features_on_rows ? height : width;
|
|
1321
|
+
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");
|
|
1322
|
+
start += span;
|
|
1323
|
+
}
|
|
1324
|
+
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) => {
|
|
1325
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1326
|
+
this.showTip_cell(sample, feature);
|
|
1327
|
+
}).on("mouseout", (event2) => {
|
|
1328
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1329
|
+
this.tip.hide();
|
|
1330
|
+
}).on("click", () => {
|
|
1331
|
+
this.click_cell(sample, feature);
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
drawCell_isitd(sample, feature, g) {
|
|
1335
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1336
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1337
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1338
|
+
if (!item) {
|
|
1339
|
+
this.drawEmptycell(sample, feature, g);
|
|
1340
|
+
return;
|
|
1341
|
+
}
|
|
1342
|
+
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) => {
|
|
1343
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1344
|
+
this.showTip_cell(sample, feature);
|
|
1345
|
+
}).on("mouseout", (event2) => {
|
|
1346
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1347
|
+
this.tip.hide();
|
|
1348
|
+
}).on("click", () => {
|
|
1349
|
+
this.click_cell(sample, feature);
|
|
1350
|
+
});
|
|
1351
|
+
}
|
|
1352
|
+
drawCell_issampleattribute(sample, feature, g) {
|
|
1353
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1354
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1355
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1356
|
+
if (!item) {
|
|
1357
|
+
this.drawEmptycell(sample, feature, g);
|
|
1358
|
+
return;
|
|
1359
|
+
}
|
|
1360
|
+
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) => {
|
|
1361
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1362
|
+
this.showTip_cell(sample, feature);
|
|
1363
|
+
}).on("mouseout", (event2) => {
|
|
1364
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1365
|
+
this.tip.hide();
|
|
1366
|
+
}).on("click", () => {
|
|
1367
|
+
this.click_cell(sample, feature);
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
drawCell_issvfusion(sample, feature, g) {
|
|
1371
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1372
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1373
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1374
|
+
if (!item) {
|
|
1375
|
+
this.drawEmptycell(sample, feature, g);
|
|
1376
|
+
return;
|
|
1377
|
+
}
|
|
1378
|
+
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) => {
|
|
1379
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1380
|
+
this.showTip_cell(sample, feature);
|
|
1381
|
+
}).on("mouseout", (event2) => {
|
|
1382
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1383
|
+
this.tip.hide();
|
|
1384
|
+
}).on("click", () => {
|
|
1385
|
+
this.click_cell(sample, feature);
|
|
1386
|
+
});
|
|
1387
|
+
}
|
|
1388
|
+
drawCell_ismutation(sample, feature, g) {
|
|
1389
|
+
const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(feature, sample);
|
|
1390
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1391
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1392
|
+
if (cnv.length + loh.length + itd.length + sv.length + fusion.length + snvindel.length == 0) {
|
|
1393
|
+
this.drawEmptycell(sample, feature, g);
|
|
1394
|
+
return;
|
|
1395
|
+
}
|
|
1396
|
+
let is_symbolic = false;
|
|
1397
|
+
if (this.ismutation_allsymbolic) {
|
|
1398
|
+
is_symbolic = true;
|
|
1399
|
+
} else if (this.ismutation_allnotsymbolic) {
|
|
1400
|
+
} else {
|
|
1401
|
+
if (height <= 4) {
|
|
1402
|
+
is_symbolic = true;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
if (is_symbolic) {
|
|
1406
|
+
this.drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel);
|
|
1407
|
+
} else {
|
|
1408
|
+
if (loh.length) {
|
|
1409
|
+
for (const item of loh) {
|
|
1410
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1411
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1412
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1413
|
+
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");
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
if (cnv.length) {
|
|
1417
|
+
for (const item of cnv) {
|
|
1418
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1419
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1420
|
+
const maxabslogratio = item.value > 0 ? this.max_cnv : this.min_cnv;
|
|
1421
|
+
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");
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
if (itd.length) {
|
|
1425
|
+
for (const item of itd) {
|
|
1426
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1427
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1428
|
+
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");
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
if (sv.length) {
|
|
1432
|
+
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");
|
|
1433
|
+
}
|
|
1434
|
+
if (fusion.length) {
|
|
1435
|
+
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");
|
|
1436
|
+
}
|
|
1437
|
+
if (snvindel.length) {
|
|
1438
|
+
const m = snvindel[0];
|
|
1439
|
+
const g2 = g.append("g").attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");
|
|
1440
|
+
const color = mclass[m.m.class].color;
|
|
1441
|
+
const w = Math.min(width, height) / 2;
|
|
1442
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", "white").attr("stroke-width", 3);
|
|
1443
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", "white").attr("stroke-width", 3);
|
|
1444
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", color);
|
|
1445
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", color);
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
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) => {
|
|
1449
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1450
|
+
this.showTip_cell(sample, feature);
|
|
1451
|
+
}).on("mouseout", (event2) => {
|
|
1452
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1453
|
+
this.tip.hide();
|
|
1454
|
+
}).on("click", () => {
|
|
1455
|
+
this.click_cell(sample, feature);
|
|
1456
|
+
});
|
|
1457
|
+
}
|
|
1458
|
+
drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel) {
|
|
1459
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1460
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1461
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1462
|
+
const lst = [];
|
|
1463
|
+
if (cnv.length) {
|
|
1464
|
+
for (const i of cnv) {
|
|
1465
|
+
const maxabslogratio = i.value > 0 ? this.max_cnv : this.min_cnv;
|
|
1466
|
+
let k;
|
|
1467
|
+
if (i.value > 0) {
|
|
1468
|
+
k = { color: feature.cnv.colorgain };
|
|
1469
|
+
} else {
|
|
1470
|
+
k = { color: feature.cnv.colorloss };
|
|
1471
|
+
}
|
|
1472
|
+
k.opacity = Math.abs(i.value / maxabslogratio);
|
|
1473
|
+
lst.push(k);
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
if (loh.length) {
|
|
1477
|
+
for (const i of loh) {
|
|
1478
|
+
lst.push({
|
|
1479
|
+
color: feature.loh.color,
|
|
1480
|
+
opacity: (i.segmean - this.min_loh) / loh_range
|
|
1481
|
+
});
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
if (itd.length) {
|
|
1485
|
+
for (const i of itd) {
|
|
1486
|
+
lst.push({ color: feature.itd.color });
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
if (sv.length) {
|
|
1490
|
+
for (const i of sv) {
|
|
1491
|
+
lst.push({ color: feature.sv.color });
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
if (fusion.length) {
|
|
1495
|
+
for (const i of fusion) {
|
|
1496
|
+
lst.push({ color: feature.fusion.color });
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
if (snvindel.length) {
|
|
1500
|
+
for (const i of snvindel) {
|
|
1501
|
+
lst.push({ color: mclass[i.m.class].color });
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
const f_len = this.features_on_rows ? height / lst.length : width / lst.length;
|
|
1505
|
+
let f_start = 0;
|
|
1506
|
+
for (const i of lst) {
|
|
1507
|
+
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");
|
|
1508
|
+
if (i.opacity) r.attr("opacity", i.opacity);
|
|
1509
|
+
f_start += f_len;
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
// __newattr draw cell for new feature
|
|
1513
|
+
/*********** __draw ends *****/
|
|
1514
|
+
async click_cell(sample, feature) {
|
|
1515
|
+
try {
|
|
1516
|
+
let svcnvtk;
|
|
1517
|
+
if (this.iscustom) {
|
|
1518
|
+
svcnvtk = {
|
|
1519
|
+
iscustom: true,
|
|
1520
|
+
type: tkt.mdssvcnv,
|
|
1521
|
+
singlesample: {
|
|
1522
|
+
name: sample.name
|
|
1523
|
+
}
|
|
1524
|
+
};
|
|
1525
|
+
for (const k in this.querykey2tracks) {
|
|
1526
|
+
const t = this.querykey2tracks[k];
|
|
1527
|
+
if (t.type == tkt.mdssvcnv) {
|
|
1528
|
+
svcnvtk.name = t.name || "Custom tk";
|
|
1529
|
+
svcnvtk.file = t.file;
|
|
1530
|
+
svcnvtk.url = t.url;
|
|
1531
|
+
svcnvtk.indexURL = t.indexURL;
|
|
1532
|
+
} else if (t.type == tkt.mdsvcf) {
|
|
1533
|
+
svcnvtk.checkvcf = {
|
|
1534
|
+
file: t.file,
|
|
1535
|
+
url: t.url,
|
|
1536
|
+
indexURL: t.indexURL
|
|
1537
|
+
};
|
|
1538
|
+
} else if (t.type == tkt.mdsexpression) {
|
|
1539
|
+
svcnvtk.checkexpressionrank = {
|
|
1540
|
+
file: t.file,
|
|
1541
|
+
url: t.url,
|
|
1542
|
+
indexURL: t.indexURL
|
|
1543
|
+
};
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
} else {
|
|
1547
|
+
if (!this.mds) throw "not custom but .mds{} missing";
|
|
1548
|
+
for (const querykey in this.mds.queries) {
|
|
1549
|
+
const tk = this.mds.queries[querykey];
|
|
1550
|
+
if (tk.type == tkt.mdssvcnv) {
|
|
1551
|
+
svcnvtk = {
|
|
1552
|
+
mds: this.mds,
|
|
1553
|
+
querykey,
|
|
1554
|
+
singlesample: {
|
|
1555
|
+
name: sample.name
|
|
1556
|
+
}
|
|
1557
|
+
};
|
|
1558
|
+
for (const k in tk) svcnvtk[k] = tk[k];
|
|
1559
|
+
break;
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
if (!svcnvtk) throw "cannot find a svcnv tk";
|
|
1564
|
+
svcnvtk.bplengthUpperLimit = 0;
|
|
1565
|
+
const pane = newpane({ x: 100, y: 100 });
|
|
1566
|
+
const blockarg = {
|
|
1567
|
+
jwt: this.jwt,
|
|
1568
|
+
hostURL: this.hostURL,
|
|
1569
|
+
nobox: 1,
|
|
1570
|
+
genome: this.genome,
|
|
1571
|
+
holder: pane.body,
|
|
1572
|
+
chr: feature.chr,
|
|
1573
|
+
start: feature.start,
|
|
1574
|
+
stop: feature.stop,
|
|
1575
|
+
tklst: []
|
|
1576
|
+
};
|
|
1577
|
+
first_genetrack_tolist(this.genome, blockarg.tklst);
|
|
1578
|
+
blockarg.tklst.push(svcnvtk);
|
|
1579
|
+
if (!this.iscustom) {
|
|
1580
|
+
if (!this.dslabel) throw "not custom but dslabel missing";
|
|
1581
|
+
const par = {
|
|
1582
|
+
genome: this.genome.name,
|
|
1583
|
+
dslabel: this.dslabel,
|
|
1584
|
+
querykey: svcnvtk.querykey,
|
|
1585
|
+
gettrack4singlesample: sample.name
|
|
1586
|
+
};
|
|
1587
|
+
const data = await dofetch("/mdssvcnv", par);
|
|
1588
|
+
if (data.error) throw "Error checking for assay track: " + data.error;
|
|
1589
|
+
if (data.tracks) {
|
|
1590
|
+
for (const t of data.tracks) blockarg.tklst.push(t);
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
const _ = await import("./block-NBTCOT3H.js");
|
|
1594
|
+
new _.Block(blockarg);
|
|
1595
|
+
} catch (e) {
|
|
1596
|
+
window.alert(e.message || e);
|
|
1597
|
+
if (e.stack) console.log(e.stack);
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
/********** __menu and tooltip **********/
|
|
1601
|
+
showTip_feature(f) {
|
|
1602
|
+
this.tip.clear();
|
|
1603
|
+
this.tipContent_feature(f, this.tip.d);
|
|
1604
|
+
this.tip.showunder(event.target);
|
|
1605
|
+
}
|
|
1606
|
+
showMenu_feature(f) {
|
|
1607
|
+
this.menu.showunder(event.target).clear();
|
|
1608
|
+
this.tipContent_feature(f, this.menu.d);
|
|
1609
|
+
this.menu.d.append("div").attr("class", "sja_menuoption").text("Remove this feature").on("click", () => {
|
|
1610
|
+
this.menu.hide();
|
|
1611
|
+
f.legend_tr.remove();
|
|
1612
|
+
this.features.splice(
|
|
1613
|
+
this.features.findIndex((i) => i.id == f.id),
|
|
1614
|
+
1
|
|
1615
|
+
);
|
|
1616
|
+
this.draw_matrix();
|
|
1617
|
+
});
|
|
1618
|
+
if (f.isgenevalue) return showMenu_isgenevalue(this, f);
|
|
1619
|
+
if (f.iscnv) return showMenu_iscnv(this, f, f);
|
|
1620
|
+
if (f.isloh) return showMenu_isloh(this, f, f);
|
|
1621
|
+
if (f.ismutation) return showMenu_ismutation(this, f);
|
|
1622
|
+
if (f.isitd) {
|
|
1623
|
+
return;
|
|
1624
|
+
}
|
|
1625
|
+
if (f.issvfusion) {
|
|
1626
|
+
return;
|
|
1627
|
+
}
|
|
1628
|
+
if (f.issvcnv) {
|
|
1629
|
+
return;
|
|
1630
|
+
}
|
|
1631
|
+
if (f.issampleattribute) {
|
|
1632
|
+
return;
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
tipContent_feature(f, holder) {
|
|
1636
|
+
holder.append("div").text(f.label).style("opacity", 0.5).style("font-size", ".7em").style("margin", "10px");
|
|
1637
|
+
if (f.isgenevalue || f.iscnv || f.isloh || f.isitd || f.issvfusion) {
|
|
1638
|
+
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");
|
|
1639
|
+
} else if (f.issvcnv || f.ismutation) {
|
|
1640
|
+
if (!f.genename) {
|
|
1641
|
+
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");
|
|
1642
|
+
}
|
|
1643
|
+
} else if (f.issampleattribute) {
|
|
1644
|
+
holder.append("div").text(f.label);
|
|
1645
|
+
}
|
|
1646
|
+
if (f.isgenevalue) {
|
|
1647
|
+
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");
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
showTip_sample(sample) {
|
|
1651
|
+
this.tip.clear().d.append("div").text(sample.name).style("padding", "10px").style("font-size", ".7em");
|
|
1652
|
+
const lst = [];
|
|
1653
|
+
for (const f of this.features) {
|
|
1654
|
+
if (lst.length > 10) {
|
|
1655
|
+
lst.push({ k: "more", v: "..." });
|
|
1656
|
+
break;
|
|
1657
|
+
}
|
|
1658
|
+
if (f.isgenevalue) {
|
|
1659
|
+
const v = f.items.find((i) => i.sample == sample.name);
|
|
1660
|
+
lst.push({ k: f.label, v: v ? v.value : saynovalue });
|
|
1661
|
+
continue;
|
|
1662
|
+
}
|
|
1663
|
+
if (f.iscnv) {
|
|
1664
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1665
|
+
let text;
|
|
1666
|
+
if (items.length == 0) {
|
|
1667
|
+
text = saynovalue;
|
|
1668
|
+
} else {
|
|
1669
|
+
const lst2 = items.map((i) => {
|
|
1670
|
+
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>";
|
|
1671
|
+
});
|
|
1672
|
+
text = lst2.join("");
|
|
1673
|
+
}
|
|
1674
|
+
lst.push({ k: f.label, v: text });
|
|
1675
|
+
continue;
|
|
1676
|
+
}
|
|
1677
|
+
if (f.isloh) {
|
|
1678
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1679
|
+
let text;
|
|
1680
|
+
if (items.length == 0) {
|
|
1681
|
+
text = saynovalue;
|
|
1682
|
+
} else {
|
|
1683
|
+
const lst2 = items.map((i) => {
|
|
1684
|
+
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>";
|
|
1685
|
+
});
|
|
1686
|
+
text = lst2.join("");
|
|
1687
|
+
}
|
|
1688
|
+
lst.push({ k: f.label, v: text });
|
|
1689
|
+
continue;
|
|
1690
|
+
}
|
|
1691
|
+
if (f.isvcf) {
|
|
1692
|
+
const mlst = getitemforsample_vcf(f, sample);
|
|
1693
|
+
let text;
|
|
1694
|
+
if (mlst.length == 0) {
|
|
1695
|
+
text = saynovalue;
|
|
1696
|
+
} else {
|
|
1697
|
+
text = mlst.map((m) => {
|
|
1698
|
+
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>";
|
|
1699
|
+
}).join("");
|
|
1700
|
+
}
|
|
1701
|
+
lst.push({ k: f.label, v: text });
|
|
1702
|
+
continue;
|
|
1703
|
+
}
|
|
1704
|
+
if (f.isitd) {
|
|
1705
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1706
|
+
let text;
|
|
1707
|
+
if (items.length == 0) {
|
|
1708
|
+
text = saynovalue;
|
|
1709
|
+
} else {
|
|
1710
|
+
text = '<div style="background:' + f.color + ';width:20px"> </div>';
|
|
1711
|
+
}
|
|
1712
|
+
lst.push({ k: f.label, v: text });
|
|
1713
|
+
continue;
|
|
1714
|
+
}
|
|
1715
|
+
if (f.issvfusion) {
|
|
1716
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1717
|
+
let text;
|
|
1718
|
+
if (items.length == 0) {
|
|
1719
|
+
text = saynovalue;
|
|
1720
|
+
} else {
|
|
1721
|
+
text = '<div style="background:' + f.color + ';width:20px"> </div>';
|
|
1722
|
+
}
|
|
1723
|
+
lst.push({ k: f.label, v: text });
|
|
1724
|
+
continue;
|
|
1725
|
+
}
|
|
1726
|
+
if (f.issvcnv) {
|
|
1727
|
+
continue;
|
|
1728
|
+
}
|
|
1729
|
+
if (f.ismutation) {
|
|
1730
|
+
continue;
|
|
1731
|
+
}
|
|
1732
|
+
if (f.issampleattribute) {
|
|
1733
|
+
const item = f.items.find((i) => i.sample == sample.name);
|
|
1734
|
+
if (item) {
|
|
1735
|
+
lst.push({ k: f.label, v: item.value });
|
|
1736
|
+
}
|
|
1737
|
+
continue;
|
|
1738
|
+
}
|
|
1739
|
+
console.error("sample tooltip: Unknown feature type");
|
|
1740
|
+
}
|
|
1741
|
+
make_table_2col(this.tip.d, lst);
|
|
1742
|
+
this.tip.show(event.clientX, event.clientY);
|
|
1743
|
+
}
|
|
1744
|
+
showTip_cell(sample, f) {
|
|
1745
|
+
const lst = [{ k: "sample", v: sample.name }];
|
|
1746
|
+
if (f.isgenevalue) {
|
|
1747
|
+
const v = f.items.find((i) => i.sample == sample.name);
|
|
1748
|
+
lst.push({ k: f.label, v: v ? v.value : saynovalue });
|
|
1749
|
+
} else if (f.iscnv) {
|
|
1750
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1751
|
+
let text;
|
|
1752
|
+
if (items.length == 0) {
|
|
1753
|
+
text = saynovalue;
|
|
1754
|
+
} else {
|
|
1755
|
+
const lst2 = items.map((i) => {
|
|
1756
|
+
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>";
|
|
1757
|
+
});
|
|
1758
|
+
text = lst2.join("");
|
|
1759
|
+
}
|
|
1760
|
+
lst.push({ k: f.label, v: text });
|
|
1761
|
+
} else if (f.isloh) {
|
|
1762
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1763
|
+
let text;
|
|
1764
|
+
if (items.length == 0) {
|
|
1765
|
+
text = saynovalue;
|
|
1766
|
+
} else {
|
|
1767
|
+
const lst2 = items.map((i) => {
|
|
1768
|
+
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>";
|
|
1769
|
+
});
|
|
1770
|
+
text = lst2.join("");
|
|
1771
|
+
}
|
|
1772
|
+
lst.push({ k: f.label, v: text });
|
|
1773
|
+
} else if (f.isvcf) {
|
|
1774
|
+
const mlst = getitemforsample_vcf(f, sample);
|
|
1775
|
+
let text;
|
|
1776
|
+
if (mlst.length == 0) {
|
|
1777
|
+
text = saynovalue;
|
|
1778
|
+
} else {
|
|
1779
|
+
text = mlst.map((m) => {
|
|
1780
|
+
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>";
|
|
1781
|
+
}).join("");
|
|
1782
|
+
}
|
|
1783
|
+
lst.push({ k: f.label, v: text });
|
|
1784
|
+
} else if (f.isitd) {
|
|
1785
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1786
|
+
let text;
|
|
1787
|
+
if (items.length == 0) {
|
|
1788
|
+
text = saynovalue;
|
|
1789
|
+
} else {
|
|
1790
|
+
const lst2 = items.map((i) => {
|
|
1791
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + " </div>";
|
|
1792
|
+
});
|
|
1793
|
+
text = lst2.join("");
|
|
1794
|
+
}
|
|
1795
|
+
lst.push({ k: f.label, v: text });
|
|
1796
|
+
} else if (f.issvfusion) {
|
|
1797
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1798
|
+
let text;
|
|
1799
|
+
if (items.length == 0) {
|
|
1800
|
+
text = saynovalue;
|
|
1801
|
+
} else {
|
|
1802
|
+
const lst2 = items.map((i) => {
|
|
1803
|
+
return "<div>" + i.chrA + ":" + i.posA + " - " + i.chrB + ":" + i.posB + " </div>";
|
|
1804
|
+
});
|
|
1805
|
+
text = lst2.join("");
|
|
1806
|
+
}
|
|
1807
|
+
lst.push({ k: f.label, v: text });
|
|
1808
|
+
} else if (f.issvcnv || f.ismutation) {
|
|
1809
|
+
const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(f, sample);
|
|
1810
|
+
if (cnv.length) {
|
|
1811
|
+
lst.push({
|
|
1812
|
+
k: (f.genename || f.label) + " CNV",
|
|
1813
|
+
v: cnv.map((i) => {
|
|
1814
|
+
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>";
|
|
1815
|
+
}).join("")
|
|
1816
|
+
});
|
|
1817
|
+
}
|
|
1818
|
+
if (loh.length) {
|
|
1819
|
+
lst.push({
|
|
1820
|
+
k: (f.genename || f.label) + " LOH",
|
|
1821
|
+
v: loh.map((i) => {
|
|
1822
|
+
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>";
|
|
1823
|
+
}).join("")
|
|
1824
|
+
});
|
|
1825
|
+
}
|
|
1826
|
+
if (itd.length) {
|
|
1827
|
+
lst.push({
|
|
1828
|
+
k: (f.genename || f.label) + " ITD",
|
|
1829
|
+
v: itd.map((i) => {
|
|
1830
|
+
return '<div style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + "</div>";
|
|
1831
|
+
}).join("")
|
|
1832
|
+
});
|
|
1833
|
+
}
|
|
1834
|
+
if (sv.length) {
|
|
1835
|
+
lst.push({
|
|
1836
|
+
k: (f.genename || f.label) + " SV",
|
|
1837
|
+
v: sv.map((i) => {
|
|
1838
|
+
return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " > " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
|
|
1839
|
+
}).join("")
|
|
1840
|
+
});
|
|
1841
|
+
}
|
|
1842
|
+
if (fusion.length) {
|
|
1843
|
+
lst.push({
|
|
1844
|
+
k: (f.genename || f.label) + " fusion",
|
|
1845
|
+
v: fusion.map((i) => {
|
|
1846
|
+
return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " > " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
|
|
1847
|
+
}).join("")
|
|
1848
|
+
});
|
|
1849
|
+
}
|
|
1850
|
+
if (snvindel.length) {
|
|
1851
|
+
lst.push({
|
|
1852
|
+
k: (f.genename || f.label) + " SNV/indel",
|
|
1853
|
+
v: snvindel.map((m) => {
|
|
1854
|
+
const c = mclass[m.m.class];
|
|
1855
|
+
return '<div><span style="color:' + c.color + '">' + (m.m.mname || "") + '</span> <span style="font-size:.7em;opacity:.5">' + c.label + "</span></div>";
|
|
1856
|
+
}).join("")
|
|
1857
|
+
});
|
|
1858
|
+
}
|
|
1859
|
+
} else if (f.issampleattribute) {
|
|
1860
|
+
const item = f.items.find((i) => i.sample == sample.name);
|
|
1861
|
+
if (item) {
|
|
1862
|
+
lst.push({
|
|
1863
|
+
k: f.label,
|
|
1864
|
+
v: item.value
|
|
1865
|
+
});
|
|
1866
|
+
}
|
|
1867
|
+
} else {
|
|
1868
|
+
console.error("cell tooltip: unknown feature type");
|
|
1869
|
+
}
|
|
1870
|
+
this.tip.clear();
|
|
1871
|
+
make_table_2col(this.tip.d, lst);
|
|
1872
|
+
this.tip.show(event.clientX, event.clientY);
|
|
1873
|
+
}
|
|
1874
|
+
/********** __menu ends **********/
|
|
1875
|
+
sortsamplesbyfeatures() {
|
|
1876
|
+
const sortbygenevalue = this.features.find((f) => f.isgenevalue && f.sort);
|
|
1877
|
+
if (sortbygenevalue && sortbygenevalue.items) {
|
|
1878
|
+
const sample2value = /* @__PURE__ */ new Map();
|
|
1879
|
+
for (const i of sortbygenevalue.items) {
|
|
1880
|
+
sample2value.set(i.sample, i.value);
|
|
1881
|
+
}
|
|
1882
|
+
this.samples.sort((i, j) => {
|
|
1883
|
+
const vi = sample2value.has(i.name) ? sample2value.get(i.name) : sortbygenevalue.missingvalue;
|
|
1884
|
+
const vj = sample2value.has(j.name) ? sample2value.get(j.name) : sortbygenevalue.missingvalue;
|
|
1885
|
+
return vj - vi;
|
|
1886
|
+
});
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
may_init_customvcf(tk) {
|
|
1890
|
+
if (tk.info) return;
|
|
1891
|
+
const arg = ["genome=" + this.genome.name];
|
|
1892
|
+
if (tk.file) {
|
|
1893
|
+
arg.push("file=" + tk.file);
|
|
1894
|
+
} else {
|
|
1895
|
+
arg.push("url=" + tk.url);
|
|
1896
|
+
if (tk.indexURL) arg.push("indexURL=" + tk.indexURL);
|
|
1897
|
+
}
|
|
1898
|
+
return dofetch2("vcfheader?" + arg.join("&")).then((data) => {
|
|
1899
|
+
const [info, format, samples, errs] = vcfparsemeta(data.metastr.split("\n"));
|
|
1900
|
+
if (errs) throw "Error parsing VCF meta lines: " + errs.join("; ");
|
|
1901
|
+
tk.info = info;
|
|
1902
|
+
tk.format = format;
|
|
1903
|
+
tk.samples = samples;
|
|
1904
|
+
tk.nochr = data.nochr;
|
|
1905
|
+
});
|
|
1906
|
+
}
|
|
1907
|
+
drawEmptycell(sample, feature, g) {
|
|
1908
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1909
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1910
|
+
if (height < 5) return;
|
|
1911
|
+
g.append("line").attr("x2", width).attr("y2", height).attr("stroke", "#ededed");
|
|
1912
|
+
}
|
|
1913
|
+
// end of class
|
|
1914
|
+
};
|
|
1915
|
+
function feature2arg(f) {
|
|
1916
|
+
if (f.isgenevalue) {
|
|
1917
|
+
return {
|
|
1918
|
+
id: f.id,
|
|
1919
|
+
isgenevalue: 1,
|
|
1920
|
+
querykey: f.querykey,
|
|
1921
|
+
genename: f.genename,
|
|
1922
|
+
chr: f.chr,
|
|
1923
|
+
start: f.start,
|
|
1924
|
+
stop: f.stop
|
|
1925
|
+
};
|
|
1926
|
+
}
|
|
1927
|
+
if (f.iscnv) {
|
|
1928
|
+
return {
|
|
1929
|
+
id: f.id,
|
|
1930
|
+
iscnv: 1,
|
|
1931
|
+
querykey: f.querykey,
|
|
1932
|
+
chr: f.chr,
|
|
1933
|
+
start: f.start,
|
|
1934
|
+
stop: f.stop,
|
|
1935
|
+
valuecutoff: f.valuecutoff,
|
|
1936
|
+
focalsizelimit: f.focalsizelimit
|
|
1937
|
+
};
|
|
1938
|
+
}
|
|
1939
|
+
if (f.isloh) {
|
|
1940
|
+
return {
|
|
1941
|
+
id: f.id,
|
|
1942
|
+
isloh: 1,
|
|
1943
|
+
querykey: f.querykey,
|
|
1944
|
+
chr: f.chr,
|
|
1945
|
+
start: f.start,
|
|
1946
|
+
stop: f.stop,
|
|
1947
|
+
valuecutoff: f.valuecutoff,
|
|
1948
|
+
focalsizelimit: f.focalsizelimit
|
|
1949
|
+
};
|
|
1950
|
+
}
|
|
1951
|
+
if (f.isvcf) {
|
|
1952
|
+
return {
|
|
1953
|
+
id: f.id,
|
|
1954
|
+
isvcf: 1,
|
|
1955
|
+
querykey: f.querykey,
|
|
1956
|
+
chr: f.chr,
|
|
1957
|
+
start: f.start,
|
|
1958
|
+
stop: f.stop,
|
|
1959
|
+
snvindel: {
|
|
1960
|
+
excludeclasses: f.snvindel.excludeclasses
|
|
1961
|
+
}
|
|
1962
|
+
};
|
|
1963
|
+
}
|
|
1964
|
+
if (f.isitd) {
|
|
1965
|
+
return {
|
|
1966
|
+
id: f.id,
|
|
1967
|
+
isitd: 1,
|
|
1968
|
+
querykey: f.querykey,
|
|
1969
|
+
chr: f.chr,
|
|
1970
|
+
start: f.start,
|
|
1971
|
+
stop: f.stop
|
|
1972
|
+
};
|
|
1973
|
+
}
|
|
1974
|
+
if (f.issvfusion) {
|
|
1975
|
+
return {
|
|
1976
|
+
id: f.id,
|
|
1977
|
+
issvfusion: 1,
|
|
1978
|
+
querykey: f.querykey,
|
|
1979
|
+
chr: f.chr,
|
|
1980
|
+
start: f.start,
|
|
1981
|
+
stop: f.stop
|
|
1982
|
+
};
|
|
1983
|
+
}
|
|
1984
|
+
if (f.issvcnv || f.ismutation) {
|
|
1985
|
+
const arg = {
|
|
1986
|
+
id: f.id,
|
|
1987
|
+
chr: f.chr,
|
|
1988
|
+
start: f.start,
|
|
1989
|
+
stop: f.stop,
|
|
1990
|
+
cnv: {
|
|
1991
|
+
hidden: f.cnv.hidden,
|
|
1992
|
+
valuecutoff: f.cnv.valuecutoff,
|
|
1993
|
+
focalsizelimit: f.cnv.focalsizelimit
|
|
1994
|
+
},
|
|
1995
|
+
loh: {
|
|
1996
|
+
hidden: f.loh.hidden,
|
|
1997
|
+
valuecutoff: f.loh.valuecutoff,
|
|
1998
|
+
focalsizelimit: f.loh.focalsizelimit
|
|
1999
|
+
},
|
|
2000
|
+
itd: {
|
|
2001
|
+
hidden: f.itd.hidden
|
|
2002
|
+
},
|
|
2003
|
+
sv: {
|
|
2004
|
+
hidden: f.sv.hidden
|
|
2005
|
+
},
|
|
2006
|
+
fusion: {
|
|
2007
|
+
hidden: f.fusion.hidden
|
|
2008
|
+
},
|
|
2009
|
+
snvindel: {
|
|
2010
|
+
excludeclasses: f.snvindel.excludeclasses
|
|
2011
|
+
}
|
|
2012
|
+
};
|
|
2013
|
+
if (f.issvcnv) {
|
|
2014
|
+
arg.issvcnv = 1;
|
|
2015
|
+
arg.querykey = f.querykey;
|
|
2016
|
+
} else {
|
|
2017
|
+
arg.ismutation = 1;
|
|
2018
|
+
arg.querykeylst = f.querykeylst;
|
|
2019
|
+
}
|
|
2020
|
+
return arg;
|
|
2021
|
+
}
|
|
2022
|
+
if (f.issampleattribute) {
|
|
2023
|
+
return {
|
|
2024
|
+
id: f.id,
|
|
2025
|
+
issampleattribute: 1,
|
|
2026
|
+
key: f.key
|
|
2027
|
+
};
|
|
2028
|
+
}
|
|
2029
|
+
throw "unknown feature type in making request parameter";
|
|
2030
|
+
}
|
|
2031
|
+
function getitemforsample_vcf(feature, sample) {
|
|
2032
|
+
const mlst = [];
|
|
2033
|
+
for (const m of feature.items) {
|
|
2034
|
+
if (m.dt == dtsnvindel) {
|
|
2035
|
+
if (m.sampledata.findIndex((i) => i.sampleobj.name == sample.name) != -1) {
|
|
2036
|
+
mlst.push(m);
|
|
2037
|
+
}
|
|
2038
|
+
} else {
|
|
2039
|
+
console.error("getitemforsample_vcf: unknown dt");
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
return mlst;
|
|
2043
|
+
}
|
|
2044
|
+
function getitemforsample_compound(feature, sample) {
|
|
2045
|
+
const cnv = [], loh = [], itd = [], sv = [], fusion = [], snvindel = [];
|
|
2046
|
+
for (const item of feature.items) {
|
|
2047
|
+
if (item.dt == dtsnvindel) {
|
|
2048
|
+
if (!item.sampledata) continue;
|
|
2049
|
+
const m_sample = item.sampledata.find((s) => s.sampleobj.name == sample.name);
|
|
2050
|
+
if (!m_sample) continue;
|
|
2051
|
+
snvindel.push({
|
|
2052
|
+
m: item,
|
|
2053
|
+
m_sample
|
|
2054
|
+
});
|
|
2055
|
+
continue;
|
|
2056
|
+
}
|
|
2057
|
+
if (item.sample != sample.name) continue;
|
|
2058
|
+
if (item.dt == dtcnv) {
|
|
2059
|
+
cnv.push(item);
|
|
2060
|
+
} else if (item.dt == dtloh) {
|
|
2061
|
+
loh.push(item);
|
|
2062
|
+
} else if (item.dt == dtitd) {
|
|
2063
|
+
itd.push(item);
|
|
2064
|
+
} else if (item.dt == dtsv) {
|
|
2065
|
+
sv.push(item);
|
|
2066
|
+
} else if (item.dt == dtfusionrna) {
|
|
2067
|
+
fusion.push(item);
|
|
2068
|
+
} else {
|
|
2069
|
+
console.error("unknown dt: " + item.dt);
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
return [cnv, loh, itd, sv, fusion, snvindel];
|
|
2073
|
+
}
|
|
2074
|
+
function initfeature_polymutation(f) {
|
|
2075
|
+
if (!f.width) f.width = 20;
|
|
2076
|
+
if (!f.cnv) f.cnv = {};
|
|
2077
|
+
if (!f.cnv.valuecutoff) f.cnv.valuecutoff = 0.2;
|
|
2078
|
+
if (!Number.isInteger(f.cnv.focalsizelimit)) f.cnv.focalsizelimit = 2e6;
|
|
2079
|
+
if (!f.cnv.colorgain) f.cnv.colorgain = default_cnvgaincolor;
|
|
2080
|
+
if (!f.cnv.colorloss) f.cnv.colorloss = default_cnvlosscolor;
|
|
2081
|
+
if (!f.loh) f.loh = {};
|
|
2082
|
+
if (!f.loh.valuecutoff) f.loh.valuecutoff = 0.1;
|
|
2083
|
+
if (!Number.isInteger(f.loh.focalsizelimit)) f.loh.focalsizelimit = 2e6;
|
|
2084
|
+
if (!f.loh.color) f.loh.color = default_lohcolor;
|
|
2085
|
+
if (!f.itd) f.itd = {};
|
|
2086
|
+
if (!f.itd.color) f.itd.color = mclass[mclassitd].color;
|
|
2087
|
+
if (!f.sv) f.sv = {};
|
|
2088
|
+
if (!f.sv.color) f.sv.color = default_svcolor;
|
|
2089
|
+
if (!f.fusion) f.fusion = {};
|
|
2090
|
+
if (!f.fusion.color) f.fusion.color = default_svcolor;
|
|
2091
|
+
if (!f.snvindel) f.snvindel = {};
|
|
2092
|
+
if (!f.snvindel.excludeclasses) f.snvindel.excludeclasses = {};
|
|
2093
|
+
}
|
|
2094
|
+
function init_controlui(o) {
|
|
2095
|
+
const buttonrow = o.holder.append("div").style("margin-bottom", "5px");
|
|
2096
|
+
const folderdiv = o.holder.append("div").style("margin-bottom", "20px");
|
|
2097
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("LEGEND").attr("class", "sja_clbtext").on("click", () => {
|
|
2098
|
+
if (o.legendtable.style("display") == "none") {
|
|
2099
|
+
appear(o.legendtable);
|
|
2100
|
+
} else {
|
|
2101
|
+
disappear(o.legendtable);
|
|
2102
|
+
}
|
|
2103
|
+
});
|
|
2104
|
+
o.legendtable = folderdiv.append("table").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("border-spacing", "10px").style("display", "none");
|
|
2105
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("CONFIG").attr("class", "sja_clbtext").on("click", () => {
|
|
2106
|
+
if (generalconfig.style("display") == "none") {
|
|
2107
|
+
appear(generalconfig);
|
|
2108
|
+
} else {
|
|
2109
|
+
disappear(generalconfig);
|
|
2110
|
+
}
|
|
2111
|
+
});
|
|
2112
|
+
const generalconfig = folderdiv.append("div").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("display", "none");
|
|
2113
|
+
const row = generalconfig.append("div").style("margin", "5px");
|
|
2114
|
+
row.append("div").style("vertical-align", "top").style("display", "inline-block").html("Show features as ");
|
|
2115
|
+
const opts_div = row.append("div").style("display", "inline-block");
|
|
2116
|
+
const mutation_opts = [
|
|
2117
|
+
{ value: "symbol", text: "CNV on genomic location, others as symbol" },
|
|
2118
|
+
{ value: "proportion", text: "All features as porportion" }
|
|
2119
|
+
];
|
|
2120
|
+
mutation_opts.forEach((opt) => {
|
|
2121
|
+
const opt_div = opts_div.append("div");
|
|
2122
|
+
opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "mutaion_display").attr("value", opt.value).property(
|
|
2123
|
+
"checked",
|
|
2124
|
+
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
|
|
2125
|
+
).on("change", function() {
|
|
2126
|
+
if (opt.value == "symbol" && o.ismutation_allnotsymbolic) return;
|
|
2127
|
+
else if (opt.value == "proportion" && o.ismutation_allsymbolic) return;
|
|
2128
|
+
else if (opt.value == "symbol") {
|
|
2129
|
+
delete o.ismutation_allsymbolic;
|
|
2130
|
+
o.ismutation_allnotsymbolic = true;
|
|
2131
|
+
} else if (opt.value == "proportion") {
|
|
2132
|
+
o.ismutation_allsymbolic = true;
|
|
2133
|
+
delete o.ismutation_allnotsymbolic;
|
|
2134
|
+
} else {
|
|
2135
|
+
return;
|
|
2136
|
+
}
|
|
2137
|
+
o.draw_matrix();
|
|
2138
|
+
});
|
|
2139
|
+
opt_div.append("label").attr("for", opt.value).text(opt.text);
|
|
2140
|
+
});
|
|
2141
|
+
const row2 = generalconfig.append("div").style("margin", "5px");
|
|
2142
|
+
row2.append("div").style("vertical-align", "top").style("display", "inline-block").html("Layout of Matrix ");
|
|
2143
|
+
const opts_div2 = row2.append("div").style("display", "inline-block");
|
|
2144
|
+
const layout_opts = [
|
|
2145
|
+
{ value: "gene_on_row", text: "Genes as Rows" },
|
|
2146
|
+
{ value: "sam_on_row", text: "Samples as Rows" }
|
|
2147
|
+
];
|
|
2148
|
+
layout_opts.forEach((opt) => {
|
|
2149
|
+
const opt_div = opts_div2.append("div");
|
|
2150
|
+
opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "layout").attr("value", opt.value).property(
|
|
2151
|
+
"checked",
|
|
2152
|
+
opt.value == "gene_on_row" && o.features_on_rows ? 1 : opt.value == "sam_on_row" && !o.features_on_rows ? 1 : 0
|
|
2153
|
+
).on("change", function() {
|
|
2154
|
+
if (opt.value == "gene_on_row" && o.features_on_rows) return;
|
|
2155
|
+
else if (opt.value == "sam_on_row" && !o.features_on_rows) return;
|
|
2156
|
+
else if (opt.value == "gene_on_row") {
|
|
2157
|
+
o.features_on_rows = true;
|
|
2158
|
+
if (o.ori_feature_width) o.features.forEach((f) => f.height = o.ori_feature_width);
|
|
2159
|
+
} else {
|
|
2160
|
+
o.features_on_rows = false;
|
|
2161
|
+
if (o.ori_feature_height) o.features.forEach((f) => f.width = o.ori_feature_height);
|
|
2162
|
+
}
|
|
2163
|
+
o.draw_matrix();
|
|
2164
|
+
});
|
|
2165
|
+
opt_div.append("label").attr("for", opt.value).text(opt.text);
|
|
2166
|
+
});
|
|
2167
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("DATA").attr("class", "sja_clbtext").on("click", () => {
|
|
2168
|
+
printData(o);
|
|
2169
|
+
});
|
|
2170
|
+
may_add_kmplotbutton(o, buttonrow);
|
|
2171
|
+
}
|
|
2172
|
+
function printData(o) {
|
|
2173
|
+
const lst = ["sample feature varianttype variant"];
|
|
2174
|
+
for (const s of o.samples) {
|
|
2175
|
+
for (const f of o.features) {
|
|
2176
|
+
for (const i of f.items) {
|
|
2177
|
+
if (i.sample && i.sample == s.name || i.sampledata && i.sampledata.findIndex((i2) => i2.sampleobj.name == s.name) != -1) {
|
|
2178
|
+
lst.push(s.name + " " + f.label + " " + dt2label[i.dt] + " " + item2string(i));
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
export_data("Matrix data", [{ text: lst.join("\n") }]);
|
|
2184
|
+
}
|
|
2185
|
+
function item2string(i) {
|
|
2186
|
+
if (i.dt == dtsnvindel)
|
|
2187
|
+
return i.mname + " " + mclass[i.class].label + " " + i.chr + "." + i.pos + "." + i.ref + "." + i.alt;
|
|
2188
|
+
if (i.dt == dtfusionrna || i.dt == dtsv)
|
|
2189
|
+
return i.chrA + "." + i.posA + "." + (i.strandA || "") + " > " + i.chrB + "." + i.posB + "." + (i.strandB || "");
|
|
2190
|
+
if (i.dt == dtcnv) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.value;
|
|
2191
|
+
if (i.dt == dtloh) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.segmean;
|
|
2192
|
+
if (i.dt == dtitd) return i.chr + ":" + i.start + "-" + i.stop;
|
|
2193
|
+
return "";
|
|
2194
|
+
}
|
|
2195
|
+
export {
|
|
2196
|
+
Samplematrix
|
|
2197
|
+
};
|
|
2198
|
+
//# sourceMappingURL=samplematrix-6DAWCXQ3.js.map
|