@sjcrh/proteinpaint-client 2.225.0 → 2.226.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-CSBPMYHO.js +1362 -0
- package/dist/AggMatrixInput-2HST4LLJ.js +402 -0
- package/dist/AggregateMatrix-UPOAX44L.js +37 -0
- package/dist/AppHeader-H5QBVKUS.js +826 -0
- package/dist/BoxPlot-JTBQA6PL.js +1247 -0
- package/dist/CorrelationVolcano-AWBPVDMT.js +613 -0
- package/dist/Cuminc-3BXJVWIH.js +1217 -0
- package/dist/DE-237VV46D.js +85 -0
- package/dist/DEinput-W443UW5T.js +479 -0
- package/dist/DM-TIW623IR.js +86 -0
- package/dist/DifferentialAnalysis-PHUA2GPK.js +236 -0
- package/dist/Disco-WHV52SCI.js +3445 -0
- package/dist/Disco.UI-UDUXNCZX.js +239 -0
- package/dist/DmrPlot-FZCD6FTX.js +366 -0
- package/dist/GB-6UW5LOUV.js +1388 -0
- package/dist/GSEA-3CNHMK6M.js +870 -0
- package/dist/GeneExpInput-ZOVP7BFY.js +38 -0
- package/dist/Geomap-JREOIESM.js +80 -0
- package/dist/HicApp-RKAMIUXQ.js +2240 -0
- package/dist/IDCViewer-KXV4FU3V.js +10810 -0
- package/dist/NumBinaryEditor-FNVYUK2J.js +274 -0
- package/dist/NumBinaryEditor.unit.spec-PWR23U3J.js +308 -0
- package/dist/NumContEditor-YLBJW64K.js +100 -0
- package/dist/NumContEditor.unit.spec-6JWBCPFY.js +160 -0
- package/dist/NumCustomBinEditor-42AFCXRN.js +29 -0
- package/dist/NumCustomBinEditor.unit.spec-AFBTF2CL.js +393 -0
- package/dist/NumDiscreteEditor-FJIBZTBP.js +165 -0
- package/dist/NumDiscreteEditor.unit.spec-MC4INDCB.js +229 -0
- package/dist/NumRegularBinEditor-2WRE72TL.js +29 -0
- package/dist/NumRegularBinEditor.unit.spec-L3S6NRCM.js +274 -0
- package/dist/NumSplineEditor-TVMVAN7I.js +205 -0
- package/dist/NumSplineEditor.unit.spec-GEL36GZZ.js +220 -0
- package/dist/NumericDensity-BNFAVOFO.js +29 -0
- package/dist/NumericDensity.unit.spec-XBYUFBTQ.js +414 -0
- package/dist/NumericHandler-4VFFJNX6.js +30 -0
- package/dist/NumericHandler.unit.spec-76T2IVRS.js +225 -0
- package/dist/ProteomeInput-M5UIO73Q.js +610 -0
- package/dist/Regression-5LB5TLA6.js +1412 -0
- package/dist/RunChart2-HIFXOEKZ.js +744 -0
- package/dist/SC-SMMW5MJG.js +1290 -0
- package/dist/Violin-COAFYZOV.js +1105 -0
- package/dist/Volcano-62II76B4.js +2748 -0
- package/dist/Wsi-OYW2L7FR.js +637 -0
- package/dist/aboutSunburst-3FYJGR6B.js +93 -0
- package/dist/adSandbox-4VHYWBQC.js +29 -0
- package/dist/animatedBubbleChart-QCCIC5IT.js +542 -0
- package/dist/app-IF7YPCGZ.js +28 -0
- package/dist/app-JZ43TSJP.js +38 -0
- package/dist/app.js +12 -12
- package/dist/bam-2VPZGSW3.js +872 -0
- package/dist/barchart-VYTWYYGG.js +38 -0
- package/dist/barchart2-XC7J4VEO.js +305 -0
- package/dist/block-YGQFUK5L.js +6203 -0
- package/dist/block.init-BVP3YZHQ.js +29 -0
- package/dist/block.mds.expressionrank-RKDDKY4J.js +350 -0
- package/dist/block.mds.geneboxplot-3FZ3EZZ6.js +819 -0
- package/dist/block.mds.junction-MCOG37RA.js +1534 -0
- package/dist/block.mds.svcnv-IEOR5IQZ.js +6325 -0
- package/dist/block.svg-3XHRHYCV.js +155 -0
- package/dist/block.tk.aicheck-TMDUGNZX.js +274 -0
- package/dist/block.tk.bam-73KW4QEJ.js +1906 -0
- package/dist/block.tk.bigwig.ui-E5W6R7DQ.js +202 -0
- package/dist/block.tk.hicstraw-BNNE6ZMW.js +814 -0
- package/dist/block.tk.junction-DMPRZRNY.js +2353 -0
- package/dist/block.tk.junction.textmatrixui-XS2E7MQL.js +190 -0
- package/dist/block.tk.ld-QD3XDLO4.js +90 -0
- package/dist/block.tk.menu-S6XI732E.js +1050 -0
- package/dist/block.tk.pgv-KH4TMR3A.js +934 -0
- package/dist/brainImaging-NK4JENN3.js +550 -0
- package/dist/brainRegions-YUEMTKYH.js +213 -0
- package/dist/bubbleHeatmap-LQCVS4WK.js +374 -0
- package/dist/cellTypeBubbleHeatmap-DFRSPWAY.js +274 -0
- package/dist/chunk-37ZEGLVY.js +267 -0
- package/dist/chunk-3RPX4ZVV.js +2334 -0
- package/dist/chunk-4LK5YFHF.js +102 -0
- package/dist/chunk-4WFG5Y3A.js +2095 -0
- package/dist/chunk-4WFG5Y3A.js.map +7 -0
- package/dist/chunk-4WFXCUT4.js +141 -0
- package/dist/chunk-5LY2ASQX.js +305 -0
- package/dist/chunk-6V7ITU5F.js +2349 -0
- package/dist/chunk-AAQDXVQT.js +134 -0
- package/dist/chunk-ADJBQCFM.js +243 -0
- package/dist/chunk-ATIITEOR.js +692 -0
- package/dist/chunk-BWVJAFEQ.js +35 -0
- package/dist/chunk-CDCNBN6G.js +50 -0
- package/dist/chunk-CGSBIFFO.js +1339 -0
- package/dist/chunk-DPWSIN62.js +26787 -0
- package/dist/chunk-DPWSIN62.js.map +7 -0
- package/dist/chunk-EARMOT6Q.js +176 -0
- package/dist/chunk-ECCXTB5S.js +562 -0
- package/dist/chunk-ECTOEM7X.js +96 -0
- package/dist/chunk-ECTOEM7X.js.map +7 -0
- package/dist/chunk-EKIWZUEO.js +54 -0
- package/dist/chunk-FALP6GXG.js +96 -0
- package/dist/chunk-FRD6LQF7.js +103 -0
- package/dist/chunk-FRPYXYYQ.js +263 -0
- package/dist/chunk-FV2GLMSI.js +397 -0
- package/dist/chunk-G6SP5IQT.js +626 -0
- package/dist/chunk-GZL6YFZJ.js +30 -0
- package/dist/chunk-H353EVLK.js +240 -0
- package/dist/chunk-HKR5R5YR.js +466 -0
- package/dist/chunk-HULTLO4D.js +217 -0
- package/dist/chunk-IIN4CG67.js +56 -0
- package/dist/chunk-ISWFHYEZ.js +123 -0
- package/dist/chunk-JBUTLI3V.js +1253 -0
- package/dist/chunk-JCNZJKLK.js +55 -0
- package/dist/chunk-JEVDRC64.js +56 -0
- package/dist/chunk-KBZAB2H2.js +340 -0
- package/dist/chunk-KDKJLITX.js +54 -0
- package/dist/chunk-KNFJN6CM.js +299 -0
- package/dist/chunk-KSYGLBZ4.js +4389 -0
- package/dist/chunk-KUOXZIH4.js +348 -0
- package/dist/chunk-KZ54E2FU.js +184 -0
- package/dist/chunk-L7FMBWWK.js +6375 -0
- package/dist/chunk-LMONIWPI.js +30 -0
- package/dist/chunk-LTY7WOAT.js +281 -0
- package/dist/chunk-LYDN734A.js +194 -0
- package/dist/chunk-LYMYO6TY.js +652 -0
- package/dist/chunk-MRZUZDRA.js +444 -0
- package/dist/chunk-NGBI4FST.js +195 -0
- package/dist/chunk-OKM4ACTA.js +170 -0
- package/dist/chunk-OUDHHMZU.js +159 -0
- package/dist/chunk-OYXRYWGU.js +2932 -0
- package/dist/chunk-P2HMCEMM.js +5254 -0
- package/dist/chunk-P5FHYGJK.js +848 -0
- package/dist/chunk-P7QDNXSH.js +276 -0
- package/dist/chunk-Q7GK35TB.js +257 -0
- package/dist/chunk-QXRM5NMW.js +274 -0
- package/dist/chunk-RI3GAHQE.js +255 -0
- package/dist/chunk-SH7SL4I5.js +1219 -0
- package/dist/chunk-SJHWZZ4M.js +70 -0
- package/dist/chunk-T2W4JHWJ.js +472 -0
- package/dist/chunk-T2W4JHWJ.js.map +7 -0
- package/dist/chunk-TDBS3UFZ.js +379 -0
- package/dist/chunk-THHYPA5K.js +48 -0
- package/dist/chunk-THHYPA5K.js.map +7 -0
- package/dist/chunk-U2OB3S3M.js +14 -0
- package/dist/chunk-UA2ADBTO.js +42 -0
- package/dist/chunk-USGUVW5Q.js +182 -0
- package/dist/chunk-UWVDD4C2.js +480 -0
- package/dist/chunk-W2SBSEKT.js +550 -0
- package/dist/chunk-XAHZYGKW.js +468 -0
- package/dist/chunk-XKWLP433.js +328 -0
- package/dist/chunk-YWB2QHV2.js +2799 -0
- package/dist/chunk-Z6M77JDG.js +2008 -0
- package/dist/chunk-Z7RFFJXU.js +516 -0
- package/dist/chunk-ZG7EBTHK.js +203 -0
- package/dist/chunk-ZJLJHQWM.js +418 -0
- package/dist/chunk-ZKU6RST3.js +2685 -0
- package/dist/chunk-ZLWEUYPT.js +296 -0
- package/dist/cohort-X327AG3O.js +66 -0
- package/dist/cohortSunburst-GNWIVDNA.js +402 -0
- package/dist/condition-3M4L2HIM.js +323 -0
- package/dist/controls-OKNHZJOU.js +30 -0
- package/dist/controls.config-FUKM5LEP.js +30 -0
- package/dist/correlation-PC4MXCFM.js +91 -0
- package/dist/customdata.inputui-HCRTX56R.js +280 -0
- package/dist/dataDownload-HJO7UW7S.js +326 -0
- package/dist/databrowser.ui-EY3H6B4S.js +424 -0
- package/dist/dictionary-L6CTMFY7.js +109 -0
- package/dist/dnaMethylation-FEB5GGXK.js +29 -0
- package/dist/dnaMethylation.integration.spec-4DC6TJNZ.js +194 -0
- package/dist/dnaMethylation.unit.spec-REOHQOBC.js +95 -0
- package/dist/dnaMethylation.unit.spec-REOHQOBC.js.map +7 -0
- package/dist/dofetch-YFGOKCKV.js +49 -0
- package/dist/e2pca-QSAVTCPL.js +340 -0
- package/dist/ep-LAFLKVSW.js +1247 -0
- package/dist/expclust.gdc.spec-OM4J6WBL.js +298 -0
- package/dist/facet-WHTV2VIX.js +556 -0
- package/dist/gb-DLXWWBB6.js +77 -0
- package/dist/geneExpClustering-KB2MB2VM.js +240 -0
- package/dist/geneExpression-3D7PDZ2I.js +309 -0
- package/dist/geneExpression-3RSRGYGQ.js +29 -0
- package/dist/geneExpression.unit.spec-EINAWLPR.js +150 -0
- package/dist/geneExpression.unit.spec-EINAWLPR.js.map +7 -0
- package/dist/geneORA-J4KVSZT3.js +269 -0
- package/dist/geneRanking-HKLJ7CN6.js +544 -0
- package/dist/geneVariant-3BRGRFPT.js +32 -0
- package/dist/geneVariant-VI5DGDAB.js +289 -0
- package/dist/geneVariant.integration.spec-3IBX4NNE.js +672 -0
- package/dist/genefusion.ui-OESQL7TW.js +299 -0
- package/dist/geneset-3BMV3KP4.js +199 -0
- package/dist/genomeBrowser.spec-I3WKAITC.js +272 -0
- package/dist/grin2-4BBCH3H5.js +66 -0
- package/dist/grin2-5L2U32LY.js +945 -0
- package/dist/hierCluster-KM56NTN6.js +51 -0
- package/dist/hierCluster-XCJF5IQ6.js +55 -0
- package/dist/hierCluster.config-E2EYOXX6.js +32 -0
- package/dist/hierCluster.integration.spec-IIEJ2YEI.js +479 -0
- package/dist/hierCluster.interactivity-AJFEJTGX.js +45 -0
- package/dist/hierCluster.renderers-XKI344FM.js +18 -0
- package/dist/imagePlot-3B3BXI6I.js +152 -0
- package/dist/importPlot-JDVH7Q2Z.js +8 -0
- package/dist/isoformExpression-UFHY5LB2.js +31 -0
- package/dist/isoformExpression.unit.spec-U6GDCNQR.js +233 -0
- package/dist/junction-W2STW5WW.js +32 -0
- package/dist/junction.unit.spec-R4DIBFLB.js +178 -0
- package/dist/launch.adhoc-KN7HFHJH.js +33 -0
- package/dist/leftlabel.sample-CK2EK7J6.js +254 -0
- package/dist/lollipop-EKIGAAK6.js +162 -0
- package/dist/maf-MK2MM7J4.js +451 -0
- package/dist/maftimeline-7RTMXWFA.js +583 -0
- package/dist/matrix-UM2EZODJ.js +50 -0
- package/dist/matrix-YBL4FZYJ.js +55 -0
- package/dist/matrix.cells-45ZFADK5.js +25 -0
- package/dist/matrix.config-QTBIRXKU.js +33 -0
- package/dist/matrix.data-WAMOLSKW.js +22 -0
- package/dist/matrix.groups-RXFXZABD.js +25 -0
- package/dist/matrix.integration.spec-JZDZRVOK.js +3156 -0
- package/dist/matrix.interactivity-P4VYGTB2.js +33 -0
- package/dist/matrix.layout-WWPRXXHX.js +35 -0
- package/dist/matrix.legend-4MCMVVKO.js +19 -0
- package/dist/matrix.renderers-JQTUODDS.js +30 -0
- package/dist/matrix.serieses-3IDRKSGO.js +18 -0
- package/dist/matrix.sort-EAWOB56R.js +25 -0
- package/dist/matrix.sort.unit.spec-FOWLULHA.js +464 -0
- package/dist/matrix.sorterUi.unit.spec-U5CQDTMX.js +334 -0
- package/dist/matrix.unit.spec-VTLD4EOZ.js +146 -0
- package/dist/mavb-JIIXJHBK.js +726 -0
- package/dist/mds.samplescatterplot-PTWA2V6E.js +1545 -0
- package/dist/mds.survivalplot-XVZ66GP5.js +472 -0
- package/dist/multivalue-2H7QX7MG.js +79 -0
- package/dist/numericDictTermCluster-EHCDRT6J.js +62 -0
- package/dist/oncomatrix-RZLZUC32.js +286 -0
- package/dist/oncomatrix.spec-Z5UQGTW2.js +439 -0
- package/dist/plot.2dvaf-IRBZBJ6B.js +368 -0
- package/dist/plot.app-I23IAZ3Z.js +32 -0
- package/dist/plot.barplot-PYLRAZB7.js +93 -0
- package/dist/plot.boxplot-VBWU7DUG.js +142 -0
- package/dist/plot.brainImaging-HDJMEMTK.js +51 -0
- package/dist/plot.disco-5BVG3WMT.js +100 -0
- package/dist/plot.ssgq-S3BKXJMW.js +130 -0
- package/dist/plot.vaf2cov-VD7DU2XR.js +249 -0
- package/dist/polar2-PYLEVG7E.js +228 -0
- package/dist/profileForms-CI2YYD3Y.js +937 -0
- package/dist/profilePlot-UCC4ZVHQ.js +45 -0
- package/dist/proteinView-FBY6TK3S.js +1346 -0
- package/dist/proteomeCohortCompare-2VUSLC6I.js +866 -0
- package/dist/pseudbulk.unit.spec-VPZWNTIA.js +82 -0
- package/dist/pseudobulk-RUXGZ7OY.js +31 -0
- package/dist/qualitative-3AVR4GRX.js +34 -0
- package/dist/qualitative-5QNBKDOZ.js +241 -0
- package/dist/radar2-AOYMS54Y.js +323 -0
- package/dist/radarFacility2-PP2MAXIP.js +331 -0
- package/dist/render-ASLVKYEX.js +29 -0
- package/dist/report-UVYKDMQC.js +213 -0
- package/dist/sampleView-6UHR7FSR.js +39 -0
- package/dist/samplelst-ABC2CCNN.js +114 -0
- package/dist/samplematrix-36UCHZLC.js +2188 -0
- package/dist/sc-XLSAM725.js +77 -0
- package/dist/scatter-ADOBAOW2.js +84 -0
- package/dist/scatter-ZNVLI627.js +919 -0
- package/dist/selectGenomeWithTklst-DPDBDYTR.js +125 -0
- package/dist/singleCellCellType-STVPYZD4.js +29 -0
- package/dist/singleCellCellType.unit.spec-ZLY37AXL.js +150 -0
- package/dist/singleCellGeneExpression-PCGLU35S.js +29 -0
- package/dist/singleCellGeneExpression.unit.spec-PSLKK362.js +144 -0
- package/dist/singleCellNumericValue-SR3SJEOB.js +29 -0
- package/dist/singleCellNumericValue.unit.spec-PXVXJ4HJ.js +412 -0
- package/dist/singleCellPlot-JXB7M6OH.js +44 -0
- package/dist/singlecell-EDSX56QO.js +1562 -0
- package/dist/singlecell-PH55NFRX.js +77 -0
- package/dist/snp-3VEYBTAQ.js +29 -0
- package/dist/snp.unit.spec-V7OB44US.js +167 -0
- package/dist/snplocus-HX67RBT5.js +200 -0
- package/dist/snplst-H5YXCY33.js +36 -0
- package/dist/spliceevent.a53ss.diagram-DBDEEHSK.js +142 -0
- package/dist/spliceevent.exonskip.diagram-EYEL6BY6.js +274 -0
- package/dist/spliceevent.noeventdiagram-64OEXK7U.js +451 -0
- package/dist/ssGSEA-3YWQH6KM.js +29 -0
- package/dist/ssGSEA.unit.spec-23V2IXP5.js +79 -0
- package/dist/stattable-GPSBCNYC.js +112 -0
- package/dist/studyCatalog-W5PATRNY.js +457 -0
- package/dist/summarizeCnvGeneexp-YGI23QH5.js +154 -0
- package/dist/summarizeGeneexpSurvival-KQ6OLWYR.js +101 -0
- package/dist/summarizeMutationCnv-XDHBNEPU.js +155 -0
- package/dist/summarizeMutationDiagnosis-VKIJRJ2Q.js +31 -0
- package/dist/summarizeMutationSurvival-57YKJGLE.js +95 -0
- package/dist/summary-4WQOVIUF.js +40 -0
- package/dist/summary.integration.spec-FRNWBU7F.js +405 -0
- package/dist/summaryInput-X7DS2YA7.js +238 -0
- package/dist/sunburst-3OEAQA3O.js +34 -0
- package/dist/sunburst-MSGTXYMM.js +274 -0
- package/dist/survival-5KC5CNZU.js +1248 -0
- package/dist/survival-QXDS6N46.js +49 -0
- package/dist/survival.integration.spec-PKENHLTZ.js +609 -0
- package/dist/svgraph-VJLB7BBN.js +1377 -0
- package/dist/svmr-6BDEZAS6.js +3834 -0
- package/dist/swimmer-R3DN7N36.js +993 -0
- package/dist/table-YF5VORU6.js +192 -0
- package/dist/termCollection-3KGLZFDW.js +29 -0
- package/dist/termCollection-KSHVOPS5.js +247 -0
- package/dist/termCollection.unit.spec-HTBDG5PL.js +295 -0
- package/dist/termCollectionFractionSelection-MK4NKWUX.js +38 -0
- package/dist/termCollectionFractionSelection.unit.spec-AMF32FDN.js +184 -0
- package/dist/tk-FDHBAKXQ.js +1198 -0
- package/dist/tk-Z54DOECH.js +38 -0
- package/dist/tp.ui-M4TZVT53.js +1453 -0
- package/dist/tvs.categorical-HY3BWCZR.js +28 -0
- package/dist/tvs.condition-Y36TRIX4.js +160 -0
- package/dist/tvs.dt-XKVJZP7Y.js +34 -0
- package/dist/tvs.dtcnv.categorical-OMRZR4Y7.js +31 -0
- package/dist/tvs.dtcnv.continuous-AGYOBI5K.js +72 -0
- package/dist/tvs.dtfusion-2JX5Y2IH.js +31 -0
- package/dist/tvs.dtitd-SDSLBBWC.js +31 -0
- package/dist/tvs.dtsnvindel-LI7K464K.js +31 -0
- package/dist/tvs.dtsv-VRCLX7QY.js +31 -0
- package/dist/tvs.multivalue-4OTY6J2S.js +84 -0
- package/dist/tvs.numeric-CDATYOR2.js +32 -0
- package/dist/tvs.samplelst-76JOJG2M.js +95 -0
- package/dist/tvs.survival-WTFJOKIZ.js +110 -0
- package/dist/tvs.termCollection-QQXAS7PE.js +118 -0
- package/dist/vocabulary-6ACAEFTL.js +32 -0
- package/dist/wsi.direct-OS32TQRM.js +11515 -0
- package/package.json +3 -3
- package/dist/2dmaf-4W2R2HXG.js +0 -1362
- package/dist/AggMatrixInput-3SQ7UW5L.js +0 -402
- package/dist/AggregateMatrix-QI55DXDU.js +0 -37
- package/dist/AppHeader-C26OHIUQ.js +0 -826
- package/dist/BoxPlot-27OYBGJ3.js +0 -1247
- package/dist/CorrelationVolcano-XIMXCSHG.js +0 -613
- package/dist/Cuminc-737O733E.js +0 -1217
- package/dist/DE-EDTGDY6L.js +0 -85
- package/dist/DEinput-ZN76I5M5.js +0 -479
- package/dist/DM-25IRANGL.js +0 -86
- package/dist/DifferentialAnalysis-7HQYEA5T.js +0 -236
- package/dist/Disco-4YNXWGRX.js +0 -3445
- package/dist/Disco.UI-67HBGS4Y.js +0 -239
- package/dist/DmrPlot-KZVDVPUT.js +0 -366
- package/dist/GB-HT3B7Y7R.js +0 -1388
- package/dist/GSEA-CMFMNK5Y.js +0 -870
- package/dist/GeneExpInput-HMGV23E7.js +0 -38
- package/dist/Geomap-RB4SGVPC.js +0 -80
- package/dist/HicApp-YRP6YQFA.js +0 -2240
- package/dist/IDCViewer-OUSOZNSR.js +0 -10810
- package/dist/NumBinaryEditor-YFQDPBB6.js +0 -274
- package/dist/NumBinaryEditor.unit.spec-6YC5PCPK.js +0 -308
- package/dist/NumContEditor-EH6MA2RW.js +0 -100
- package/dist/NumContEditor.unit.spec-Q2JBVIRT.js +0 -160
- package/dist/NumCustomBinEditor-USQA3BC6.js +0 -29
- package/dist/NumCustomBinEditor.unit.spec-PE2HFRCK.js +0 -393
- package/dist/NumDiscreteEditor-VKE4WT24.js +0 -165
- package/dist/NumDiscreteEditor.unit.spec-JNG673LE.js +0 -229
- package/dist/NumRegularBinEditor-KCCPGJSX.js +0 -29
- package/dist/NumRegularBinEditor.unit.spec-4BLKQRZU.js +0 -274
- package/dist/NumSplineEditor-4YELHGUO.js +0 -205
- package/dist/NumSplineEditor.unit.spec-CKHHK6GH.js +0 -220
- package/dist/NumericDensity-LCFM7VSY.js +0 -29
- package/dist/NumericDensity.unit.spec-R4ARTJ5I.js +0 -414
- package/dist/NumericHandler-2OHRSY6Z.js +0 -30
- package/dist/NumericHandler.unit.spec-M3TRIFZW.js +0 -225
- package/dist/ProteomeInput-G2EP6QH2.js +0 -610
- package/dist/Regression-2HKE6C7F.js +0 -1412
- package/dist/RunChart2-WRVW63PB.js +0 -744
- package/dist/SC-37RDNFGH.js +0 -1290
- package/dist/Violin-KD6FPWC7.js +0 -1105
- package/dist/Volcano-U62TCDEL.js +0 -2748
- package/dist/Wsi-PB77PVAA.js +0 -637
- package/dist/aboutSunburst-5Z24ODIN.js +0 -93
- package/dist/adSandbox-AFORHU3V.js +0 -29
- package/dist/animatedBubbleChart-F75OBRZW.js +0 -542
- package/dist/app-4RZ76DZZ.js +0 -28
- package/dist/app-IHE3RNI5.js +0 -38
- package/dist/bam-IIRZX3IK.js +0 -872
- package/dist/barchart-UIHRIMOE.js +0 -38
- package/dist/barchart2-DG3S6FDJ.js +0 -305
- package/dist/block-COZKGPXY.js +0 -6203
- package/dist/block.init-UBXYVTPQ.js +0 -29
- package/dist/block.mds.expressionrank-KSXPPPGR.js +0 -350
- package/dist/block.mds.geneboxplot-5RDFDVDE.js +0 -819
- package/dist/block.mds.junction-LMM24KXJ.js +0 -1534
- package/dist/block.mds.svcnv-4XRXZMPS.js +0 -6325
- package/dist/block.svg-VAKLMPMS.js +0 -155
- package/dist/block.tk.aicheck-6GHZK2YY.js +0 -274
- package/dist/block.tk.bam-7H3BSHR2.js +0 -1906
- package/dist/block.tk.bigwig.ui-KX2GACY5.js +0 -202
- package/dist/block.tk.hicstraw-OOWEWGMF.js +0 -814
- package/dist/block.tk.junction-U7W36OZA.js +0 -2353
- package/dist/block.tk.junction.textmatrixui-PAMSBYZT.js +0 -190
- package/dist/block.tk.ld-RFQPDG7Q.js +0 -90
- package/dist/block.tk.menu-JDJU2OGK.js +0 -1050
- package/dist/block.tk.pgv-G2UFCQUT.js +0 -934
- package/dist/brainImaging-ASAHWZJH.js +0 -550
- package/dist/brainRegions-XTJDLUU4.js +0 -213
- package/dist/bubbleHeatmap-UPUITTU6.js +0 -374
- package/dist/cellTypeBubbleHeatmap-25SOXC2Q.js +0 -274
- package/dist/chunk-2ZYAC3DC.js +0 -299
- package/dist/chunk-325X3T7G.js +0 -692
- package/dist/chunk-3UXHTSZJ.js +0 -159
- package/dist/chunk-4DFKK46J.js +0 -96
- package/dist/chunk-54W2RWRB.js +0 -123
- package/dist/chunk-5QGC2624.js +0 -54
- package/dist/chunk-5YKXYWP3.js +0 -480
- package/dist/chunk-6B4AME6E.js +0 -4389
- package/dist/chunk-6H4FFHFQ.js +0 -82
- package/dist/chunk-6H4FFHFQ.js.map +0 -7
- package/dist/chunk-72QBXULB.js +0 -102
- package/dist/chunk-7APH7QLC.js +0 -141
- package/dist/chunk-7HBAALWJ.js +0 -2685
- package/dist/chunk-7ZTUUKLX.js +0 -203
- package/dist/chunk-A7GCFL3R.js +0 -30
- package/dist/chunk-AGWIWLOP.js +0 -14
- package/dist/chunk-CHQ43UJQ.js +0 -397
- package/dist/chunk-CQWR4QZO.js +0 -70
- package/dist/chunk-D6TLBMIX.js +0 -1339
- package/dist/chunk-DDABG5BR.js +0 -328
- package/dist/chunk-DR5JLHTB.js +0 -35
- package/dist/chunk-E2Z4X6C2.js +0 -55
- package/dist/chunk-E4WAVMI5.js +0 -194
- package/dist/chunk-EM76Y3HQ.js +0 -1253
- package/dist/chunk-ES7XNERS.js +0 -468
- package/dist/chunk-F2RTD23W.js +0 -848
- package/dist/chunk-FEE2HAON.js +0 -418
- package/dist/chunk-G5BQJGRA.js +0 -2799
- package/dist/chunk-GAYYXHOG.js +0 -257
- package/dist/chunk-GDIKNIEA.js +0 -263
- package/dist/chunk-GIZTZCE5.js +0 -195
- package/dist/chunk-GONC3LVY.js +0 -626
- package/dist/chunk-HGC4EON3.js +0 -348
- package/dist/chunk-HM23KADV.js +0 -281
- package/dist/chunk-I7R6YROK.js +0 -267
- package/dist/chunk-JWX6GEWQ.js +0 -276
- package/dist/chunk-K4LZR3HU.js +0 -56
- package/dist/chunk-K55KOEI6.js +0 -6375
- package/dist/chunk-K7YJILBY.js +0 -5254
- package/dist/chunk-KLJM7HE5.js +0 -2349
- package/dist/chunk-LFH5VSSF.js +0 -176
- package/dist/chunk-MBWG3QHI.js +0 -1219
- package/dist/chunk-MZTVOOR6.js +0 -56
- package/dist/chunk-N2JOZ3QD.js +0 -444
- package/dist/chunk-NG2U3VHX.js +0 -170
- package/dist/chunk-NUGYNLTL.js +0 -2334
- package/dist/chunk-OCOB7XJW.js +0 -2008
- package/dist/chunk-OGDBTL5C.js +0 -54
- package/dist/chunk-OOVVKQSD.js +0 -26747
- package/dist/chunk-OOVVKQSD.js.map +0 -7
- package/dist/chunk-PAF5KZCR.js +0 -2932
- package/dist/chunk-PPICALUF.js +0 -2102
- package/dist/chunk-PPICALUF.js.map +0 -7
- package/dist/chunk-QFOT5WAZ.js +0 -134
- package/dist/chunk-QFQJO7LD.js +0 -472
- package/dist/chunk-QFQJO7LD.js.map +0 -7
- package/dist/chunk-QGCB5AKN.js +0 -243
- package/dist/chunk-QRZRAMHA.js +0 -184
- package/dist/chunk-RGOZHZCN.js +0 -103
- package/dist/chunk-RJKY22D4.js +0 -240
- package/dist/chunk-RZ2HG7G3.js +0 -102
- package/dist/chunk-RZ2HG7G3.js.map +0 -7
- package/dist/chunk-SI2KSG6E.js +0 -379
- package/dist/chunk-U4PLKSSS.js +0 -50
- package/dist/chunk-U7G65D2G.js +0 -466
- package/dist/chunk-UU3FWU6D.js +0 -305
- package/dist/chunk-UXLT7W2N.js +0 -562
- package/dist/chunk-VHQDN3OA.js +0 -182
- package/dist/chunk-VTMNHAFC.js +0 -30
- package/dist/chunk-W3K7KLIR.js +0 -217
- package/dist/chunk-WSLS55SH.js +0 -296
- package/dist/chunk-XQIB27PB.js +0 -516
- package/dist/chunk-XSBGICK5.js +0 -652
- package/dist/chunk-YHW2RAAG.js +0 -274
- package/dist/chunk-Z7CCL464.js +0 -550
- package/dist/chunk-ZBNPXXMK.js +0 -42
- package/dist/chunk-ZNHC46CT.js +0 -340
- package/dist/chunk-ZSTD6Y3K.js +0 -255
- package/dist/cohort-ZFGFEEBD.js +0 -66
- package/dist/cohortSunburst-EEPGV2RB.js +0 -402
- package/dist/condition-7EWFLQSO.js +0 -323
- package/dist/controls-QHDSDWKI.js +0 -30
- package/dist/controls.config-LBSCZ6GP.js +0 -30
- package/dist/correlation-IJQJPNNP.js +0 -91
- package/dist/customdata.inputui-TZGX2CUD.js +0 -280
- package/dist/dataDownload-33EWD3AD.js +0 -326
- package/dist/databrowser.ui-YNKDTAAN.js +0 -424
- package/dist/dictionary-OTR6Z5EZ.js +0 -109
- package/dist/dnaMethylation-LQTCTOOE.js +0 -29
- package/dist/dnaMethylation.integration.spec-U5VQYAK3.js +0 -194
- package/dist/dofetch-HLG7G7RX.js +0 -49
- package/dist/e2pca-AXDPYR7U.js +0 -340
- package/dist/ep-4WK46CH7.js +0 -1247
- package/dist/expclust.gdc.spec-CYGWGREQ.js +0 -298
- package/dist/facet-IZSSZDHK.js +0 -556
- package/dist/gb-AUZBUZFM.js +0 -77
- package/dist/geneExpClustering-AQBFLXLP.js +0 -240
- package/dist/geneExpression-HDJVPVPK.js +0 -309
- package/dist/geneExpression-V4JMTMLI.js +0 -29
- package/dist/geneExpression.unit.spec-KFMSDVMX.js +0 -151
- package/dist/geneExpression.unit.spec-KFMSDVMX.js.map +0 -7
- package/dist/geneORA-LDFFSEMQ.js +0 -269
- package/dist/geneRanking-IVKDSNDV.js +0 -544
- package/dist/geneVariant-7X7EEUDW.js +0 -289
- package/dist/geneVariant-TK3FJ22L.js +0 -32
- package/dist/geneVariant.integration.spec-ZHAFWQ2O.js +0 -672
- package/dist/genefusion.ui-U5YPVXAF.js +0 -299
- package/dist/geneset-NSHQ2NDR.js +0 -199
- package/dist/genomeBrowser.spec-HP4OQPCV.js +0 -272
- package/dist/grin2-5WKONQPG.js +0 -66
- package/dist/grin2-V2ZBOJBO.js +0 -945
- package/dist/hierCluster-7IOPNYFN.js +0 -55
- package/dist/hierCluster-IDBCUKHJ.js +0 -51
- package/dist/hierCluster.config-Z4NRL5P5.js +0 -32
- package/dist/hierCluster.integration.spec-PHEXOGPI.js +0 -479
- package/dist/hierCluster.interactivity-NHZ5EPBV.js +0 -45
- package/dist/hierCluster.renderers-WXJUMDFN.js +0 -18
- package/dist/imagePlot-NMNCAYS7.js +0 -152
- package/dist/importPlot-HZML5XMJ.js +0 -8
- package/dist/isoformExpression-4IU4AUQ2.js +0 -31
- package/dist/isoformExpression.unit.spec-KKMKU5Z2.js +0 -233
- package/dist/junction-EXA2WANI.js +0 -32
- package/dist/junction.unit.spec-H3FGTLEP.js +0 -178
- package/dist/launch.adhoc-YA6FRHSC.js +0 -33
- package/dist/leftlabel.sample-N6M4OL2X.js +0 -254
- package/dist/lollipop-EWLGYDIR.js +0 -162
- package/dist/maf-PXMHR3PY.js +0 -451
- package/dist/maftimeline-QFKT7PW2.js +0 -583
- package/dist/matrix-KASG3KIY.js +0 -55
- package/dist/matrix-VSX63V3L.js +0 -50
- package/dist/matrix.cells-7TTOQRWU.js +0 -25
- package/dist/matrix.config-U3I726EC.js +0 -33
- package/dist/matrix.data-Y4DXSR2P.js +0 -22
- package/dist/matrix.groups-C5CHYWQZ.js +0 -25
- package/dist/matrix.integration.spec-4KWLFXMY.js +0 -3156
- package/dist/matrix.interactivity-JK6URU6Z.js +0 -33
- package/dist/matrix.layout-KKOA7GGL.js +0 -35
- package/dist/matrix.legend-3FFHXTLX.js +0 -19
- package/dist/matrix.renderers-F7EWYQWL.js +0 -30
- package/dist/matrix.serieses-I4JWWONC.js +0 -18
- package/dist/matrix.sort-5JTCLBPB.js +0 -25
- package/dist/matrix.sort.unit.spec-EW53F5DT.js +0 -464
- package/dist/matrix.sorterUi.unit.spec-OGTYY6GC.js +0 -334
- package/dist/matrix.unit.spec-RXKKHRUN.js +0 -146
- package/dist/mavb-YI2WEGFI.js +0 -726
- package/dist/mds.samplescatterplot-GGJE67MF.js +0 -1545
- package/dist/mds.survivalplot-A6DS6FHO.js +0 -472
- package/dist/multivalue-3WCYDVL3.js +0 -79
- package/dist/numericDictTermCluster-AOTEPNEI.js +0 -62
- package/dist/oncomatrix-BB4SB5AJ.js +0 -286
- package/dist/oncomatrix.spec-M4ZC3KFC.js +0 -439
- package/dist/plot.2dvaf-QUD743E6.js +0 -368
- package/dist/plot.app-35I4DJXK.js +0 -32
- package/dist/plot.barplot-7OL4HWZB.js +0 -93
- package/dist/plot.boxplot-N2VSPDYA.js +0 -142
- package/dist/plot.brainImaging-4PIAFROV.js +0 -51
- package/dist/plot.disco-6CFYMWU3.js +0 -100
- package/dist/plot.ssgq-MGUBQNWE.js +0 -130
- package/dist/plot.vaf2cov-KVI2GMG4.js +0 -249
- package/dist/polar2-IGAOHGPE.js +0 -228
- package/dist/profileForms-MW7JQURG.js +0 -937
- package/dist/profilePlot-OVOSFR47.js +0 -45
- package/dist/proteinView-LFP5YYMK.js +0 -1346
- package/dist/proteomeCohortCompare-ONYL2UN4.js +0 -866
- package/dist/pseudbulk.unit.spec-CGV4JTEK.js +0 -82
- package/dist/pseudobulk-WFCQX5KR.js +0 -31
- package/dist/qualitative-4SLUE6BW.js +0 -241
- package/dist/qualitative-6H674T7D.js +0 -34
- package/dist/radar2-QXHO2MQA.js +0 -323
- package/dist/radarFacility2-JCVOYMH4.js +0 -331
- package/dist/render-IIFS3Y2N.js +0 -29
- package/dist/report-NFBB3PUI.js +0 -213
- package/dist/sampleView-XQXKIPC7.js +0 -39
- package/dist/samplelst-RIC5E2W4.js +0 -114
- package/dist/samplematrix-WLCFCPBR.js +0 -2188
- package/dist/sc-TXRF7D6F.js +0 -77
- package/dist/scatter-JUGGPR4B.js +0 -919
- package/dist/scatter-YQ47446T.js +0 -84
- package/dist/selectGenomeWithTklst-2ELB6HQK.js +0 -125
- package/dist/singleCellCellType-DUTH4SZF.js +0 -29
- package/dist/singleCellCellType.unit.spec-PWP6I5PZ.js +0 -150
- package/dist/singleCellGeneExpression-3563T7GE.js +0 -29
- package/dist/singleCellGeneExpression.unit.spec-66IDCFJC.js +0 -144
- package/dist/singleCellNumericValue-XVQTKLTS.js +0 -29
- package/dist/singleCellNumericValue.unit.spec-LJSTGKNS.js +0 -412
- package/dist/singleCellPlot-MKYJJXSG.js +0 -44
- package/dist/singlecell-ANCWPAAO.js +0 -1562
- package/dist/singlecell-KMRVFOC5.js +0 -77
- package/dist/snp-B5UHGWVD.js +0 -29
- package/dist/snp.unit.spec-YAHITASM.js +0 -167
- package/dist/snplocus-MLGICRGT.js +0 -200
- package/dist/snplst-DZPIQEKI.js +0 -36
- package/dist/spliceevent.a53ss.diagram-4NYPSFC2.js +0 -142
- package/dist/spliceevent.exonskip.diagram-WLLTP7NP.js +0 -274
- package/dist/spliceevent.noeventdiagram-NOSO752Y.js +0 -451
- package/dist/ssGSEA-4DVY6Z5U.js +0 -29
- package/dist/ssGSEA.unit.spec-UDXV4Q7S.js +0 -79
- package/dist/stattable-T5X76Q32.js +0 -112
- package/dist/studyCatalog-O3EPBJPW.js +0 -457
- package/dist/summarizeCnvGeneexp-ST36TPEJ.js +0 -154
- package/dist/summarizeGeneexpSurvival-AZOFCBMT.js +0 -101
- package/dist/summarizeMutationCnv-HRCW6BYV.js +0 -155
- package/dist/summarizeMutationDiagnosis-RQQO2MOR.js +0 -31
- package/dist/summarizeMutationSurvival-UHSUJ7FU.js +0 -95
- package/dist/summary-ZMM5ET67.js +0 -40
- package/dist/summary.integration.spec-GW5UGDDU.js +0 -405
- package/dist/summaryInput-ZO5TPARQ.js +0 -238
- package/dist/sunburst-6VJS2SUY.js +0 -34
- package/dist/sunburst-LXRG2SFE.js +0 -274
- package/dist/survival-QXHY7JRR.js +0 -49
- package/dist/survival-U6J6KFN2.js +0 -1248
- package/dist/survival.integration.spec-HN3LL6IY.js +0 -609
- package/dist/svgraph-CVI27CTM.js +0 -1377
- package/dist/svmr-GZHAP5IV.js +0 -3834
- package/dist/swimmer-M4JGBO72.js +0 -993
- package/dist/table-QO22C2ER.js +0 -192
- package/dist/termCollection-EN73BZV5.js +0 -247
- package/dist/termCollection-KWNFLRWJ.js +0 -29
- package/dist/termCollection.unit.spec-Z27AZUE6.js +0 -295
- package/dist/termCollectionFractionSelection-Q7QFEPKA.js +0 -38
- package/dist/termCollectionFractionSelection.unit.spec-PYLIFZN5.js +0 -184
- package/dist/tk-BISILMKL.js +0 -1198
- package/dist/tk-WVEDS5OU.js +0 -38
- package/dist/tp.ui-CG36YXBY.js +0 -1453
- package/dist/tvs.categorical-GCJISWBS.js +0 -28
- package/dist/tvs.condition-YTCVMB3I.js +0 -160
- package/dist/tvs.dt-UCSZ5S44.js +0 -34
- package/dist/tvs.dtcnv.categorical-KYB6XPL3.js +0 -31
- package/dist/tvs.dtcnv.continuous-MJWJNMKJ.js +0 -72
- package/dist/tvs.dtfusion-IZCEMTH5.js +0 -31
- package/dist/tvs.dtitd-DZ4WWGNO.js +0 -31
- package/dist/tvs.dtsnvindel-PMJCV4E7.js +0 -31
- package/dist/tvs.dtsv-5K2RNWDH.js +0 -31
- package/dist/tvs.multivalue-6NSC6JPR.js +0 -84
- package/dist/tvs.numeric-7U2NDY4A.js +0 -32
- package/dist/tvs.samplelst-3SIYTFWZ.js +0 -95
- package/dist/tvs.survival-Q3F5SLBW.js +0 -110
- package/dist/tvs.termCollection-OR73LBNX.js +0 -118
- package/dist/vocabulary-RWRAQ4VJ.js +0 -32
- package/dist/wsi.direct-HABLR3IF.js +0 -11515
- /package/dist/{2dmaf-4W2R2HXG.js.map → 2dmaf-CSBPMYHO.js.map} +0 -0
- /package/dist/{AggMatrixInput-3SQ7UW5L.js.map → AggMatrixInput-2HST4LLJ.js.map} +0 -0
- /package/dist/{AggregateMatrix-QI55DXDU.js.map → AggregateMatrix-UPOAX44L.js.map} +0 -0
- /package/dist/{AppHeader-C26OHIUQ.js.map → AppHeader-H5QBVKUS.js.map} +0 -0
- /package/dist/{BoxPlot-27OYBGJ3.js.map → BoxPlot-JTBQA6PL.js.map} +0 -0
- /package/dist/{CorrelationVolcano-XIMXCSHG.js.map → CorrelationVolcano-AWBPVDMT.js.map} +0 -0
- /package/dist/{Cuminc-737O733E.js.map → Cuminc-3BXJVWIH.js.map} +0 -0
- /package/dist/{DE-EDTGDY6L.js.map → DE-237VV46D.js.map} +0 -0
- /package/dist/{DEinput-ZN76I5M5.js.map → DEinput-W443UW5T.js.map} +0 -0
- /package/dist/{DM-25IRANGL.js.map → DM-TIW623IR.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-7HQYEA5T.js.map → DifferentialAnalysis-PHUA2GPK.js.map} +0 -0
- /package/dist/{Disco-4YNXWGRX.js.map → Disco-WHV52SCI.js.map} +0 -0
- /package/dist/{Disco.UI-67HBGS4Y.js.map → Disco.UI-UDUXNCZX.js.map} +0 -0
- /package/dist/{DmrPlot-KZVDVPUT.js.map → DmrPlot-FZCD6FTX.js.map} +0 -0
- /package/dist/{GB-HT3B7Y7R.js.map → GB-6UW5LOUV.js.map} +0 -0
- /package/dist/{GSEA-CMFMNK5Y.js.map → GSEA-3CNHMK6M.js.map} +0 -0
- /package/dist/{GeneExpInput-HMGV23E7.js.map → GeneExpInput-ZOVP7BFY.js.map} +0 -0
- /package/dist/{Geomap-RB4SGVPC.js.map → Geomap-JREOIESM.js.map} +0 -0
- /package/dist/{HicApp-YRP6YQFA.js.map → HicApp-RKAMIUXQ.js.map} +0 -0
- /package/dist/{IDCViewer-OUSOZNSR.js.map → IDCViewer-KXV4FU3V.js.map} +0 -0
- /package/dist/{NumBinaryEditor-YFQDPBB6.js.map → NumBinaryEditor-FNVYUK2J.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-6YC5PCPK.js.map → NumBinaryEditor.unit.spec-PWR23U3J.js.map} +0 -0
- /package/dist/{NumContEditor-EH6MA2RW.js.map → NumContEditor-YLBJW64K.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-Q2JBVIRT.js.map → NumContEditor.unit.spec-6JWBCPFY.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-USQA3BC6.js.map → NumCustomBinEditor-42AFCXRN.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-PE2HFRCK.js.map → NumCustomBinEditor.unit.spec-AFBTF2CL.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-VKE4WT24.js.map → NumDiscreteEditor-FJIBZTBP.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-JNG673LE.js.map → NumDiscreteEditor.unit.spec-MC4INDCB.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-KCCPGJSX.js.map → NumRegularBinEditor-2WRE72TL.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-4BLKQRZU.js.map → NumRegularBinEditor.unit.spec-L3S6NRCM.js.map} +0 -0
- /package/dist/{NumSplineEditor-4YELHGUO.js.map → NumSplineEditor-TVMVAN7I.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-CKHHK6GH.js.map → NumSplineEditor.unit.spec-GEL36GZZ.js.map} +0 -0
- /package/dist/{NumericDensity-LCFM7VSY.js.map → NumericDensity-BNFAVOFO.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-R4ARTJ5I.js.map → NumericDensity.unit.spec-XBYUFBTQ.js.map} +0 -0
- /package/dist/{NumericHandler-2OHRSY6Z.js.map → NumericHandler-4VFFJNX6.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-M3TRIFZW.js.map → NumericHandler.unit.spec-76T2IVRS.js.map} +0 -0
- /package/dist/{ProteomeInput-G2EP6QH2.js.map → ProteomeInput-M5UIO73Q.js.map} +0 -0
- /package/dist/{Regression-2HKE6C7F.js.map → Regression-5LB5TLA6.js.map} +0 -0
- /package/dist/{RunChart2-WRVW63PB.js.map → RunChart2-HIFXOEKZ.js.map} +0 -0
- /package/dist/{SC-37RDNFGH.js.map → SC-SMMW5MJG.js.map} +0 -0
- /package/dist/{Violin-KD6FPWC7.js.map → Violin-COAFYZOV.js.map} +0 -0
- /package/dist/{Volcano-U62TCDEL.js.map → Volcano-62II76B4.js.map} +0 -0
- /package/dist/{Wsi-PB77PVAA.js.map → Wsi-OYW2L7FR.js.map} +0 -0
- /package/dist/{aboutSunburst-5Z24ODIN.js.map → aboutSunburst-3FYJGR6B.js.map} +0 -0
- /package/dist/{adSandbox-AFORHU3V.js.map → adSandbox-4VHYWBQC.js.map} +0 -0
- /package/dist/{animatedBubbleChart-F75OBRZW.js.map → animatedBubbleChart-QCCIC5IT.js.map} +0 -0
- /package/dist/{app-4RZ76DZZ.js.map → app-IF7YPCGZ.js.map} +0 -0
- /package/dist/{app-IHE3RNI5.js.map → app-JZ43TSJP.js.map} +0 -0
- /package/dist/{bam-IIRZX3IK.js.map → bam-2VPZGSW3.js.map} +0 -0
- /package/dist/{barchart-UIHRIMOE.js.map → barchart-VYTWYYGG.js.map} +0 -0
- /package/dist/{barchart2-DG3S6FDJ.js.map → barchart2-XC7J4VEO.js.map} +0 -0
- /package/dist/{block-COZKGPXY.js.map → block-YGQFUK5L.js.map} +0 -0
- /package/dist/{block.init-UBXYVTPQ.js.map → block.init-BVP3YZHQ.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-KSXPPPGR.js.map → block.mds.expressionrank-RKDDKY4J.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-5RDFDVDE.js.map → block.mds.geneboxplot-3FZ3EZZ6.js.map} +0 -0
- /package/dist/{block.mds.junction-LMM24KXJ.js.map → block.mds.junction-MCOG37RA.js.map} +0 -0
- /package/dist/{block.mds.svcnv-4XRXZMPS.js.map → block.mds.svcnv-IEOR5IQZ.js.map} +0 -0
- /package/dist/{block.svg-VAKLMPMS.js.map → block.svg-3XHRHYCV.js.map} +0 -0
- /package/dist/{block.tk.aicheck-6GHZK2YY.js.map → block.tk.aicheck-TMDUGNZX.js.map} +0 -0
- /package/dist/{block.tk.bam-7H3BSHR2.js.map → block.tk.bam-73KW4QEJ.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-KX2GACY5.js.map → block.tk.bigwig.ui-E5W6R7DQ.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-OOWEWGMF.js.map → block.tk.hicstraw-BNNE6ZMW.js.map} +0 -0
- /package/dist/{block.tk.junction-U7W36OZA.js.map → block.tk.junction-DMPRZRNY.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-PAMSBYZT.js.map → block.tk.junction.textmatrixui-XS2E7MQL.js.map} +0 -0
- /package/dist/{block.tk.ld-RFQPDG7Q.js.map → block.tk.ld-QD3XDLO4.js.map} +0 -0
- /package/dist/{block.tk.menu-JDJU2OGK.js.map → block.tk.menu-S6XI732E.js.map} +0 -0
- /package/dist/{block.tk.pgv-G2UFCQUT.js.map → block.tk.pgv-KH4TMR3A.js.map} +0 -0
- /package/dist/{brainImaging-ASAHWZJH.js.map → brainImaging-NK4JENN3.js.map} +0 -0
- /package/dist/{brainRegions-XTJDLUU4.js.map → brainRegions-YUEMTKYH.js.map} +0 -0
- /package/dist/{bubbleHeatmap-UPUITTU6.js.map → bubbleHeatmap-LQCVS4WK.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-25SOXC2Q.js.map → cellTypeBubbleHeatmap-DFRSPWAY.js.map} +0 -0
- /package/dist/{chunk-I7R6YROK.js.map → chunk-37ZEGLVY.js.map} +0 -0
- /package/dist/{chunk-NUGYNLTL.js.map → chunk-3RPX4ZVV.js.map} +0 -0
- /package/dist/{chunk-72QBXULB.js.map → chunk-4LK5YFHF.js.map} +0 -0
- /package/dist/{chunk-7APH7QLC.js.map → chunk-4WFXCUT4.js.map} +0 -0
- /package/dist/{chunk-UU3FWU6D.js.map → chunk-5LY2ASQX.js.map} +0 -0
- /package/dist/{chunk-KLJM7HE5.js.map → chunk-6V7ITU5F.js.map} +0 -0
- /package/dist/{chunk-QFOT5WAZ.js.map → chunk-AAQDXVQT.js.map} +0 -0
- /package/dist/{chunk-QGCB5AKN.js.map → chunk-ADJBQCFM.js.map} +0 -0
- /package/dist/{chunk-325X3T7G.js.map → chunk-ATIITEOR.js.map} +0 -0
- /package/dist/{chunk-DR5JLHTB.js.map → chunk-BWVJAFEQ.js.map} +0 -0
- /package/dist/{chunk-U4PLKSSS.js.map → chunk-CDCNBN6G.js.map} +0 -0
- /package/dist/{chunk-D6TLBMIX.js.map → chunk-CGSBIFFO.js.map} +0 -0
- /package/dist/{chunk-LFH5VSSF.js.map → chunk-EARMOT6Q.js.map} +0 -0
- /package/dist/{chunk-UXLT7W2N.js.map → chunk-ECCXTB5S.js.map} +0 -0
- /package/dist/{chunk-5QGC2624.js.map → chunk-EKIWZUEO.js.map} +0 -0
- /package/dist/{chunk-4DFKK46J.js.map → chunk-FALP6GXG.js.map} +0 -0
- /package/dist/{chunk-RGOZHZCN.js.map → chunk-FRD6LQF7.js.map} +0 -0
- /package/dist/{chunk-GDIKNIEA.js.map → chunk-FRPYXYYQ.js.map} +0 -0
- /package/dist/{chunk-CHQ43UJQ.js.map → chunk-FV2GLMSI.js.map} +0 -0
- /package/dist/{chunk-GONC3LVY.js.map → chunk-G6SP5IQT.js.map} +0 -0
- /package/dist/{chunk-A7GCFL3R.js.map → chunk-GZL6YFZJ.js.map} +0 -0
- /package/dist/{chunk-RJKY22D4.js.map → chunk-H353EVLK.js.map} +0 -0
- /package/dist/{chunk-U7G65D2G.js.map → chunk-HKR5R5YR.js.map} +0 -0
- /package/dist/{chunk-W3K7KLIR.js.map → chunk-HULTLO4D.js.map} +0 -0
- /package/dist/{chunk-K4LZR3HU.js.map → chunk-IIN4CG67.js.map} +0 -0
- /package/dist/{chunk-54W2RWRB.js.map → chunk-ISWFHYEZ.js.map} +0 -0
- /package/dist/{chunk-EM76Y3HQ.js.map → chunk-JBUTLI3V.js.map} +0 -0
- /package/dist/{chunk-E2Z4X6C2.js.map → chunk-JCNZJKLK.js.map} +0 -0
- /package/dist/{chunk-MZTVOOR6.js.map → chunk-JEVDRC64.js.map} +0 -0
- /package/dist/{chunk-ZNHC46CT.js.map → chunk-KBZAB2H2.js.map} +0 -0
- /package/dist/{chunk-OGDBTL5C.js.map → chunk-KDKJLITX.js.map} +0 -0
- /package/dist/{chunk-2ZYAC3DC.js.map → chunk-KNFJN6CM.js.map} +0 -0
- /package/dist/{chunk-6B4AME6E.js.map → chunk-KSYGLBZ4.js.map} +0 -0
- /package/dist/{chunk-HGC4EON3.js.map → chunk-KUOXZIH4.js.map} +0 -0
- /package/dist/{chunk-QRZRAMHA.js.map → chunk-KZ54E2FU.js.map} +0 -0
- /package/dist/{chunk-K55KOEI6.js.map → chunk-L7FMBWWK.js.map} +0 -0
- /package/dist/{chunk-VTMNHAFC.js.map → chunk-LMONIWPI.js.map} +0 -0
- /package/dist/{chunk-HM23KADV.js.map → chunk-LTY7WOAT.js.map} +0 -0
- /package/dist/{chunk-E4WAVMI5.js.map → chunk-LYDN734A.js.map} +0 -0
- /package/dist/{chunk-XSBGICK5.js.map → chunk-LYMYO6TY.js.map} +0 -0
- /package/dist/{chunk-N2JOZ3QD.js.map → chunk-MRZUZDRA.js.map} +0 -0
- /package/dist/{chunk-GIZTZCE5.js.map → chunk-NGBI4FST.js.map} +0 -0
- /package/dist/{chunk-NG2U3VHX.js.map → chunk-OKM4ACTA.js.map} +0 -0
- /package/dist/{chunk-3UXHTSZJ.js.map → chunk-OUDHHMZU.js.map} +0 -0
- /package/dist/{chunk-PAF5KZCR.js.map → chunk-OYXRYWGU.js.map} +0 -0
- /package/dist/{chunk-K7YJILBY.js.map → chunk-P2HMCEMM.js.map} +0 -0
- /package/dist/{chunk-F2RTD23W.js.map → chunk-P5FHYGJK.js.map} +0 -0
- /package/dist/{chunk-JWX6GEWQ.js.map → chunk-P7QDNXSH.js.map} +0 -0
- /package/dist/{chunk-GAYYXHOG.js.map → chunk-Q7GK35TB.js.map} +0 -0
- /package/dist/{chunk-YHW2RAAG.js.map → chunk-QXRM5NMW.js.map} +0 -0
- /package/dist/{chunk-ZSTD6Y3K.js.map → chunk-RI3GAHQE.js.map} +0 -0
- /package/dist/{chunk-MBWG3QHI.js.map → chunk-SH7SL4I5.js.map} +0 -0
- /package/dist/{chunk-CQWR4QZO.js.map → chunk-SJHWZZ4M.js.map} +0 -0
- /package/dist/{chunk-SI2KSG6E.js.map → chunk-TDBS3UFZ.js.map} +0 -0
- /package/dist/{chunk-AGWIWLOP.js.map → chunk-U2OB3S3M.js.map} +0 -0
- /package/dist/{chunk-ZBNPXXMK.js.map → chunk-UA2ADBTO.js.map} +0 -0
- /package/dist/{chunk-VHQDN3OA.js.map → chunk-USGUVW5Q.js.map} +0 -0
- /package/dist/{chunk-5YKXYWP3.js.map → chunk-UWVDD4C2.js.map} +0 -0
- /package/dist/{chunk-Z7CCL464.js.map → chunk-W2SBSEKT.js.map} +0 -0
- /package/dist/{chunk-ES7XNERS.js.map → chunk-XAHZYGKW.js.map} +0 -0
- /package/dist/{chunk-DDABG5BR.js.map → chunk-XKWLP433.js.map} +0 -0
- /package/dist/{chunk-G5BQJGRA.js.map → chunk-YWB2QHV2.js.map} +0 -0
- /package/dist/{chunk-OCOB7XJW.js.map → chunk-Z6M77JDG.js.map} +0 -0
- /package/dist/{chunk-XQIB27PB.js.map → chunk-Z7RFFJXU.js.map} +0 -0
- /package/dist/{chunk-7ZTUUKLX.js.map → chunk-ZG7EBTHK.js.map} +0 -0
- /package/dist/{chunk-FEE2HAON.js.map → chunk-ZJLJHQWM.js.map} +0 -0
- /package/dist/{chunk-7HBAALWJ.js.map → chunk-ZKU6RST3.js.map} +0 -0
- /package/dist/{chunk-WSLS55SH.js.map → chunk-ZLWEUYPT.js.map} +0 -0
- /package/dist/{cohort-ZFGFEEBD.js.map → cohort-X327AG3O.js.map} +0 -0
- /package/dist/{cohortSunburst-EEPGV2RB.js.map → cohortSunburst-GNWIVDNA.js.map} +0 -0
- /package/dist/{condition-7EWFLQSO.js.map → condition-3M4L2HIM.js.map} +0 -0
- /package/dist/{controls-QHDSDWKI.js.map → controls-OKNHZJOU.js.map} +0 -0
- /package/dist/{controls.config-LBSCZ6GP.js.map → controls.config-FUKM5LEP.js.map} +0 -0
- /package/dist/{correlation-IJQJPNNP.js.map → correlation-PC4MXCFM.js.map} +0 -0
- /package/dist/{customdata.inputui-TZGX2CUD.js.map → customdata.inputui-HCRTX56R.js.map} +0 -0
- /package/dist/{dataDownload-33EWD3AD.js.map → dataDownload-HJO7UW7S.js.map} +0 -0
- /package/dist/{databrowser.ui-YNKDTAAN.js.map → databrowser.ui-EY3H6B4S.js.map} +0 -0
- /package/dist/{dictionary-OTR6Z5EZ.js.map → dictionary-L6CTMFY7.js.map} +0 -0
- /package/dist/{dnaMethylation-LQTCTOOE.js.map → dnaMethylation-FEB5GGXK.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-U5VQYAK3.js.map → dnaMethylation.integration.spec-4DC6TJNZ.js.map} +0 -0
- /package/dist/{dofetch-HLG7G7RX.js.map → dofetch-YFGOKCKV.js.map} +0 -0
- /package/dist/{e2pca-AXDPYR7U.js.map → e2pca-QSAVTCPL.js.map} +0 -0
- /package/dist/{ep-4WK46CH7.js.map → ep-LAFLKVSW.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-CYGWGREQ.js.map → expclust.gdc.spec-OM4J6WBL.js.map} +0 -0
- /package/dist/{facet-IZSSZDHK.js.map → facet-WHTV2VIX.js.map} +0 -0
- /package/dist/{gb-AUZBUZFM.js.map → gb-DLXWWBB6.js.map} +0 -0
- /package/dist/{geneExpClustering-AQBFLXLP.js.map → geneExpClustering-KB2MB2VM.js.map} +0 -0
- /package/dist/{geneExpression-HDJVPVPK.js.map → geneExpression-3D7PDZ2I.js.map} +0 -0
- /package/dist/{geneExpression-V4JMTMLI.js.map → geneExpression-3RSRGYGQ.js.map} +0 -0
- /package/dist/{geneORA-LDFFSEMQ.js.map → geneORA-J4KVSZT3.js.map} +0 -0
- /package/dist/{geneRanking-IVKDSNDV.js.map → geneRanking-HKLJ7CN6.js.map} +0 -0
- /package/dist/{geneVariant-TK3FJ22L.js.map → geneVariant-3BRGRFPT.js.map} +0 -0
- /package/dist/{geneVariant-7X7EEUDW.js.map → geneVariant-VI5DGDAB.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-ZHAFWQ2O.js.map → geneVariant.integration.spec-3IBX4NNE.js.map} +0 -0
- /package/dist/{genefusion.ui-U5YPVXAF.js.map → genefusion.ui-OESQL7TW.js.map} +0 -0
- /package/dist/{geneset-NSHQ2NDR.js.map → geneset-3BMV3KP4.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-HP4OQPCV.js.map → genomeBrowser.spec-I3WKAITC.js.map} +0 -0
- /package/dist/{grin2-5WKONQPG.js.map → grin2-4BBCH3H5.js.map} +0 -0
- /package/dist/{grin2-V2ZBOJBO.js.map → grin2-5L2U32LY.js.map} +0 -0
- /package/dist/{hierCluster-7IOPNYFN.js.map → hierCluster-KM56NTN6.js.map} +0 -0
- /package/dist/{hierCluster-IDBCUKHJ.js.map → hierCluster-XCJF5IQ6.js.map} +0 -0
- /package/dist/{hierCluster.config-Z4NRL5P5.js.map → hierCluster.config-E2EYOXX6.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-PHEXOGPI.js.map → hierCluster.integration.spec-IIEJ2YEI.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-NHZ5EPBV.js.map → hierCluster.interactivity-AJFEJTGX.js.map} +0 -0
- /package/dist/{hierCluster.renderers-WXJUMDFN.js.map → hierCluster.renderers-XKI344FM.js.map} +0 -0
- /package/dist/{imagePlot-NMNCAYS7.js.map → imagePlot-3B3BXI6I.js.map} +0 -0
- /package/dist/{importPlot-HZML5XMJ.js.map → importPlot-JDVH7Q2Z.js.map} +0 -0
- /package/dist/{isoformExpression-4IU4AUQ2.js.map → isoformExpression-UFHY5LB2.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-KKMKU5Z2.js.map → isoformExpression.unit.spec-U6GDCNQR.js.map} +0 -0
- /package/dist/{junction-EXA2WANI.js.map → junction-W2STW5WW.js.map} +0 -0
- /package/dist/{junction.unit.spec-H3FGTLEP.js.map → junction.unit.spec-R4DIBFLB.js.map} +0 -0
- /package/dist/{launch.adhoc-YA6FRHSC.js.map → launch.adhoc-KN7HFHJH.js.map} +0 -0
- /package/dist/{leftlabel.sample-N6M4OL2X.js.map → leftlabel.sample-CK2EK7J6.js.map} +0 -0
- /package/dist/{lollipop-EWLGYDIR.js.map → lollipop-EKIGAAK6.js.map} +0 -0
- /package/dist/{maf-PXMHR3PY.js.map → maf-MK2MM7J4.js.map} +0 -0
- /package/dist/{maftimeline-QFKT7PW2.js.map → maftimeline-7RTMXWFA.js.map} +0 -0
- /package/dist/{matrix-KASG3KIY.js.map → matrix-UM2EZODJ.js.map} +0 -0
- /package/dist/{matrix-VSX63V3L.js.map → matrix-YBL4FZYJ.js.map} +0 -0
- /package/dist/{matrix.cells-7TTOQRWU.js.map → matrix.cells-45ZFADK5.js.map} +0 -0
- /package/dist/{matrix.config-U3I726EC.js.map → matrix.config-QTBIRXKU.js.map} +0 -0
- /package/dist/{matrix.data-Y4DXSR2P.js.map → matrix.data-WAMOLSKW.js.map} +0 -0
- /package/dist/{matrix.groups-C5CHYWQZ.js.map → matrix.groups-RXFXZABD.js.map} +0 -0
- /package/dist/{matrix.integration.spec-4KWLFXMY.js.map → matrix.integration.spec-JZDZRVOK.js.map} +0 -0
- /package/dist/{matrix.interactivity-JK6URU6Z.js.map → matrix.interactivity-P4VYGTB2.js.map} +0 -0
- /package/dist/{matrix.layout-KKOA7GGL.js.map → matrix.layout-WWPRXXHX.js.map} +0 -0
- /package/dist/{matrix.legend-3FFHXTLX.js.map → matrix.legend-4MCMVVKO.js.map} +0 -0
- /package/dist/{matrix.renderers-F7EWYQWL.js.map → matrix.renderers-JQTUODDS.js.map} +0 -0
- /package/dist/{matrix.serieses-I4JWWONC.js.map → matrix.serieses-3IDRKSGO.js.map} +0 -0
- /package/dist/{matrix.sort-5JTCLBPB.js.map → matrix.sort-EAWOB56R.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-EW53F5DT.js.map → matrix.sort.unit.spec-FOWLULHA.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-OGTYY6GC.js.map → matrix.sorterUi.unit.spec-U5CQDTMX.js.map} +0 -0
- /package/dist/{matrix.unit.spec-RXKKHRUN.js.map → matrix.unit.spec-VTLD4EOZ.js.map} +0 -0
- /package/dist/{mavb-YI2WEGFI.js.map → mavb-JIIXJHBK.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-GGJE67MF.js.map → mds.samplescatterplot-PTWA2V6E.js.map} +0 -0
- /package/dist/{mds.survivalplot-A6DS6FHO.js.map → mds.survivalplot-XVZ66GP5.js.map} +0 -0
- /package/dist/{multivalue-3WCYDVL3.js.map → multivalue-2H7QX7MG.js.map} +0 -0
- /package/dist/{numericDictTermCluster-AOTEPNEI.js.map → numericDictTermCluster-EHCDRT6J.js.map} +0 -0
- /package/dist/{oncomatrix-BB4SB5AJ.js.map → oncomatrix-RZLZUC32.js.map} +0 -0
- /package/dist/{oncomatrix.spec-M4ZC3KFC.js.map → oncomatrix.spec-Z5UQGTW2.js.map} +0 -0
- /package/dist/{plot.2dvaf-QUD743E6.js.map → plot.2dvaf-IRBZBJ6B.js.map} +0 -0
- /package/dist/{plot.app-35I4DJXK.js.map → plot.app-I23IAZ3Z.js.map} +0 -0
- /package/dist/{plot.barplot-7OL4HWZB.js.map → plot.barplot-PYLRAZB7.js.map} +0 -0
- /package/dist/{plot.boxplot-N2VSPDYA.js.map → plot.boxplot-VBWU7DUG.js.map} +0 -0
- /package/dist/{plot.brainImaging-4PIAFROV.js.map → plot.brainImaging-HDJMEMTK.js.map} +0 -0
- /package/dist/{plot.disco-6CFYMWU3.js.map → plot.disco-5BVG3WMT.js.map} +0 -0
- /package/dist/{plot.ssgq-MGUBQNWE.js.map → plot.ssgq-S3BKXJMW.js.map} +0 -0
- /package/dist/{plot.vaf2cov-KVI2GMG4.js.map → plot.vaf2cov-VD7DU2XR.js.map} +0 -0
- /package/dist/{polar2-IGAOHGPE.js.map → polar2-PYLEVG7E.js.map} +0 -0
- /package/dist/{profileForms-MW7JQURG.js.map → profileForms-CI2YYD3Y.js.map} +0 -0
- /package/dist/{profilePlot-OVOSFR47.js.map → profilePlot-UCC4ZVHQ.js.map} +0 -0
- /package/dist/{proteinView-LFP5YYMK.js.map → proteinView-FBY6TK3S.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-ONYL2UN4.js.map → proteomeCohortCompare-2VUSLC6I.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-CGV4JTEK.js.map → pseudbulk.unit.spec-VPZWNTIA.js.map} +0 -0
- /package/dist/{pseudobulk-WFCQX5KR.js.map → pseudobulk-RUXGZ7OY.js.map} +0 -0
- /package/dist/{qualitative-6H674T7D.js.map → qualitative-3AVR4GRX.js.map} +0 -0
- /package/dist/{qualitative-4SLUE6BW.js.map → qualitative-5QNBKDOZ.js.map} +0 -0
- /package/dist/{radar2-QXHO2MQA.js.map → radar2-AOYMS54Y.js.map} +0 -0
- /package/dist/{radarFacility2-JCVOYMH4.js.map → radarFacility2-PP2MAXIP.js.map} +0 -0
- /package/dist/{render-IIFS3Y2N.js.map → render-ASLVKYEX.js.map} +0 -0
- /package/dist/{report-NFBB3PUI.js.map → report-UVYKDMQC.js.map} +0 -0
- /package/dist/{sampleView-XQXKIPC7.js.map → sampleView-6UHR7FSR.js.map} +0 -0
- /package/dist/{samplelst-RIC5E2W4.js.map → samplelst-ABC2CCNN.js.map} +0 -0
- /package/dist/{samplematrix-WLCFCPBR.js.map → samplematrix-36UCHZLC.js.map} +0 -0
- /package/dist/{sc-TXRF7D6F.js.map → sc-XLSAM725.js.map} +0 -0
- /package/dist/{scatter-YQ47446T.js.map → scatter-ADOBAOW2.js.map} +0 -0
- /package/dist/{scatter-JUGGPR4B.js.map → scatter-ZNVLI627.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-2ELB6HQK.js.map → selectGenomeWithTklst-DPDBDYTR.js.map} +0 -0
- /package/dist/{singleCellCellType-DUTH4SZF.js.map → singleCellCellType-STVPYZD4.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-PWP6I5PZ.js.map → singleCellCellType.unit.spec-ZLY37AXL.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-3563T7GE.js.map → singleCellGeneExpression-PCGLU35S.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-66IDCFJC.js.map → singleCellGeneExpression.unit.spec-PSLKK362.js.map} +0 -0
- /package/dist/{singleCellNumericValue-XVQTKLTS.js.map → singleCellNumericValue-SR3SJEOB.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-LJSTGKNS.js.map → singleCellNumericValue.unit.spec-PXVXJ4HJ.js.map} +0 -0
- /package/dist/{singleCellPlot-MKYJJXSG.js.map → singleCellPlot-JXB7M6OH.js.map} +0 -0
- /package/dist/{singlecell-ANCWPAAO.js.map → singlecell-EDSX56QO.js.map} +0 -0
- /package/dist/{singlecell-KMRVFOC5.js.map → singlecell-PH55NFRX.js.map} +0 -0
- /package/dist/{snp-B5UHGWVD.js.map → snp-3VEYBTAQ.js.map} +0 -0
- /package/dist/{snp.unit.spec-YAHITASM.js.map → snp.unit.spec-V7OB44US.js.map} +0 -0
- /package/dist/{snplocus-MLGICRGT.js.map → snplocus-HX67RBT5.js.map} +0 -0
- /package/dist/{snplst-DZPIQEKI.js.map → snplst-H5YXCY33.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-4NYPSFC2.js.map → spliceevent.a53ss.diagram-DBDEEHSK.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-WLLTP7NP.js.map → spliceevent.exonskip.diagram-EYEL6BY6.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-NOSO752Y.js.map → spliceevent.noeventdiagram-64OEXK7U.js.map} +0 -0
- /package/dist/{ssGSEA-4DVY6Z5U.js.map → ssGSEA-3YWQH6KM.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-UDXV4Q7S.js.map → ssGSEA.unit.spec-23V2IXP5.js.map} +0 -0
- /package/dist/{stattable-T5X76Q32.js.map → stattable-GPSBCNYC.js.map} +0 -0
- /package/dist/{studyCatalog-O3EPBJPW.js.map → studyCatalog-W5PATRNY.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-ST36TPEJ.js.map → summarizeCnvGeneexp-YGI23QH5.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-AZOFCBMT.js.map → summarizeGeneexpSurvival-KQ6OLWYR.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-HRCW6BYV.js.map → summarizeMutationCnv-XDHBNEPU.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-RQQO2MOR.js.map → summarizeMutationDiagnosis-VKIJRJ2Q.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-UHSUJ7FU.js.map → summarizeMutationSurvival-57YKJGLE.js.map} +0 -0
- /package/dist/{summary-ZMM5ET67.js.map → summary-4WQOVIUF.js.map} +0 -0
- /package/dist/{summary.integration.spec-GW5UGDDU.js.map → summary.integration.spec-FRNWBU7F.js.map} +0 -0
- /package/dist/{summaryInput-ZO5TPARQ.js.map → summaryInput-X7DS2YA7.js.map} +0 -0
- /package/dist/{sunburst-6VJS2SUY.js.map → sunburst-3OEAQA3O.js.map} +0 -0
- /package/dist/{sunburst-LXRG2SFE.js.map → sunburst-MSGTXYMM.js.map} +0 -0
- /package/dist/{survival-U6J6KFN2.js.map → survival-5KC5CNZU.js.map} +0 -0
- /package/dist/{survival-QXHY7JRR.js.map → survival-QXDS6N46.js.map} +0 -0
- /package/dist/{survival.integration.spec-HN3LL6IY.js.map → survival.integration.spec-PKENHLTZ.js.map} +0 -0
- /package/dist/{svgraph-CVI27CTM.js.map → svgraph-VJLB7BBN.js.map} +0 -0
- /package/dist/{svmr-GZHAP5IV.js.map → svmr-6BDEZAS6.js.map} +0 -0
- /package/dist/{swimmer-M4JGBO72.js.map → swimmer-R3DN7N36.js.map} +0 -0
- /package/dist/{table-QO22C2ER.js.map → table-YF5VORU6.js.map} +0 -0
- /package/dist/{termCollection-KWNFLRWJ.js.map → termCollection-3KGLZFDW.js.map} +0 -0
- /package/dist/{termCollection-EN73BZV5.js.map → termCollection-KSHVOPS5.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-Z27AZUE6.js.map → termCollection.unit.spec-HTBDG5PL.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-Q7QFEPKA.js.map → termCollectionFractionSelection-MK4NKWUX.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-PYLIFZN5.js.map → termCollectionFractionSelection.unit.spec-AMF32FDN.js.map} +0 -0
- /package/dist/{tk-BISILMKL.js.map → tk-FDHBAKXQ.js.map} +0 -0
- /package/dist/{tk-WVEDS5OU.js.map → tk-Z54DOECH.js.map} +0 -0
- /package/dist/{tp.ui-CG36YXBY.js.map → tp.ui-M4TZVT53.js.map} +0 -0
- /package/dist/{tvs.categorical-GCJISWBS.js.map → tvs.categorical-HY3BWCZR.js.map} +0 -0
- /package/dist/{tvs.condition-YTCVMB3I.js.map → tvs.condition-Y36TRIX4.js.map} +0 -0
- /package/dist/{tvs.dt-UCSZ5S44.js.map → tvs.dt-XKVJZP7Y.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-KYB6XPL3.js.map → tvs.dtcnv.categorical-OMRZR4Y7.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-MJWJNMKJ.js.map → tvs.dtcnv.continuous-AGYOBI5K.js.map} +0 -0
- /package/dist/{tvs.dtfusion-IZCEMTH5.js.map → tvs.dtfusion-2JX5Y2IH.js.map} +0 -0
- /package/dist/{tvs.dtitd-DZ4WWGNO.js.map → tvs.dtitd-SDSLBBWC.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-PMJCV4E7.js.map → tvs.dtsnvindel-LI7K464K.js.map} +0 -0
- /package/dist/{tvs.dtsv-5K2RNWDH.js.map → tvs.dtsv-VRCLX7QY.js.map} +0 -0
- /package/dist/{tvs.multivalue-6NSC6JPR.js.map → tvs.multivalue-4OTY6J2S.js.map} +0 -0
- /package/dist/{tvs.numeric-7U2NDY4A.js.map → tvs.numeric-CDATYOR2.js.map} +0 -0
- /package/dist/{tvs.samplelst-3SIYTFWZ.js.map → tvs.samplelst-76JOJG2M.js.map} +0 -0
- /package/dist/{tvs.survival-Q3F5SLBW.js.map → tvs.survival-WTFJOKIZ.js.map} +0 -0
- /package/dist/{tvs.termCollection-OR73LBNX.js.map → tvs.termCollection-QQXAS7PE.js.map} +0 -0
- /package/dist/{vocabulary-RWRAQ4VJ.js.map → vocabulary-6ACAEFTL.js.map} +0 -0
- /package/dist/{wsi.direct-HABLR3IF.js.map → wsi.direct-OS32TQRM.js.map} +0 -0
|
@@ -0,0 +1,2188 @@
|
|
|
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-DPWSIN62.js";
|
|
11
|
+
import {
|
|
12
|
+
invalidcoord,
|
|
13
|
+
string2pos
|
|
14
|
+
} from "./chunk-HJ6L54YS.js";
|
|
15
|
+
import "./chunk-KZ54E2FU.js";
|
|
16
|
+
import {
|
|
17
|
+
Menu
|
|
18
|
+
} from "./chunk-CNFTQSNE.js";
|
|
19
|
+
import "./chunk-DOC3HBOV.js";
|
|
20
|
+
import "./chunk-TVJOSRCH.js";
|
|
21
|
+
import "./chunk-3CIL7KH7.js";
|
|
22
|
+
import "./chunk-T4XPCSLP.js";
|
|
23
|
+
import {
|
|
24
|
+
dofetch,
|
|
25
|
+
dofetch2,
|
|
26
|
+
dofetch3,
|
|
27
|
+
vcfparsemeta
|
|
28
|
+
} from "./chunk-6V7ITU5F.js";
|
|
29
|
+
import "./chunk-W5J3LTYS.js";
|
|
30
|
+
import "./chunk-KUOXZIH4.js";
|
|
31
|
+
import "./chunk-T2W4JHWJ.js";
|
|
32
|
+
import {
|
|
33
|
+
bplen,
|
|
34
|
+
category10_default,
|
|
35
|
+
dt2label,
|
|
36
|
+
dtcnv,
|
|
37
|
+
dtfusionrna,
|
|
38
|
+
dtitd,
|
|
39
|
+
dtloh,
|
|
40
|
+
dtsnvindel,
|
|
41
|
+
dtsv,
|
|
42
|
+
getMax_byiqr,
|
|
43
|
+
mclass,
|
|
44
|
+
mclassitd,
|
|
45
|
+
tkt,
|
|
46
|
+
validtkt
|
|
47
|
+
} from "./chunk-2N345NXD.js";
|
|
48
|
+
import "./chunk-HBNB5TRH.js";
|
|
49
|
+
import "./chunk-PF4DSFDR.js";
|
|
50
|
+
import {
|
|
51
|
+
linear,
|
|
52
|
+
ordinal
|
|
53
|
+
} from "./chunk-4OLM3KSB.js";
|
|
54
|
+
import "./chunk-PWYMHUXY.js";
|
|
55
|
+
import "./chunk-TLT4YIG3.js";
|
|
56
|
+
import "./chunk-5R63Q5KH.js";
|
|
57
|
+
import "./chunk-I6Y4O3RR.js";
|
|
58
|
+
import "./chunk-Q5RDQNIT.js";
|
|
59
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
60
|
+
|
|
61
|
+
// src/samplematrix.featuremenu.js
|
|
62
|
+
function showMenu_isgenevalue(smat, f) {
|
|
63
|
+
smat.menu.d.append("div").attr("class", "sja_menuoption").text("Sort").on("click", () => {
|
|
64
|
+
smat.menu.hide();
|
|
65
|
+
if (f.sort) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
for (const f2 of smat.features) {
|
|
69
|
+
if (f2.isgenevalue) delete f2.sort;
|
|
70
|
+
}
|
|
71
|
+
f.sort = 1;
|
|
72
|
+
smat.draw_matrix();
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function showMenu_iscnv(smat, f, obj) {
|
|
76
|
+
{
|
|
77
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
78
|
+
row.append("span").html("CNV log2(ratio) cutoff ");
|
|
79
|
+
row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
|
|
80
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
81
|
+
let v = Number.parseFloat(event2.target.value);
|
|
82
|
+
if (!v || v < 0) {
|
|
83
|
+
v = 0;
|
|
84
|
+
}
|
|
85
|
+
if (v == 0) {
|
|
86
|
+
if (obj.valuecutoff) {
|
|
87
|
+
obj.valuecutoff = 0;
|
|
88
|
+
smat.update_singlefeature(f);
|
|
89
|
+
} else {
|
|
90
|
+
}
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
if (obj.valuecutoff) {
|
|
94
|
+
if (obj.valuecutoff == v) {
|
|
95
|
+
} else {
|
|
96
|
+
obj.valuecutoff = v;
|
|
97
|
+
smat.update_singlefeature(f);
|
|
98
|
+
}
|
|
99
|
+
} else {
|
|
100
|
+
obj.valuecutoff = v;
|
|
101
|
+
smat.update_singlefeature(f);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
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.");
|
|
105
|
+
}
|
|
106
|
+
{
|
|
107
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
108
|
+
row.append("span").html("CNV segment size limit ");
|
|
109
|
+
row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
|
|
110
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
111
|
+
let v = Number.parseInt(event2.target.value);
|
|
112
|
+
if (!v || v < 0) {
|
|
113
|
+
v = 0;
|
|
114
|
+
}
|
|
115
|
+
if (v == 0) {
|
|
116
|
+
if (obj.focalsizelimit) {
|
|
117
|
+
obj.focalsizelimit = 0;
|
|
118
|
+
smat.update_singlefeature(f);
|
|
119
|
+
} else {
|
|
120
|
+
}
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
if (obj.focalsizelimit) {
|
|
124
|
+
if (obj.focalsizelimit == v) {
|
|
125
|
+
} else {
|
|
126
|
+
obj.focalsizelimit = v;
|
|
127
|
+
smat.update_singlefeature(f);
|
|
128
|
+
}
|
|
129
|
+
} else {
|
|
130
|
+
obj.focalsizelimit = v;
|
|
131
|
+
smat.update_singlefeature(f);
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
row.append("span").text("bp");
|
|
135
|
+
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.");
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function showMenu_isloh(smat, f, obj) {
|
|
139
|
+
{
|
|
140
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
141
|
+
row.append("span").html("LOH segmean cutoff ");
|
|
142
|
+
row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
|
|
143
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
144
|
+
let v = Number.parseFloat(event2.target.value);
|
|
145
|
+
if (!v || v < 0) {
|
|
146
|
+
v = 0;
|
|
147
|
+
}
|
|
148
|
+
if (v == 0) {
|
|
149
|
+
if (obj.valuecutoff) {
|
|
150
|
+
obj.valuecutoff = 0;
|
|
151
|
+
smat.update_singlefeature(f);
|
|
152
|
+
} else {
|
|
153
|
+
}
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
if (obj.valuecutoff) {
|
|
157
|
+
if (obj.valuecutoff == v) {
|
|
158
|
+
} else {
|
|
159
|
+
obj.valuecutoff = v;
|
|
160
|
+
smat.update_singlefeature(f);
|
|
161
|
+
}
|
|
162
|
+
} else {
|
|
163
|
+
obj.valuecutoff = v;
|
|
164
|
+
smat.update_singlefeature(f);
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
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.");
|
|
168
|
+
}
|
|
169
|
+
{
|
|
170
|
+
const row = smat.menu.d.append("div").style("margin", "10px");
|
|
171
|
+
row.append("span").html("LOH segment size limit ");
|
|
172
|
+
row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
|
|
173
|
+
if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
|
|
174
|
+
let v = Number.parseInt(event2.target.value);
|
|
175
|
+
if (!v || v < 0) {
|
|
176
|
+
v = 0;
|
|
177
|
+
}
|
|
178
|
+
if (v == 0) {
|
|
179
|
+
if (obj.focalsizelimit) {
|
|
180
|
+
obj.focalsizelimit = 0;
|
|
181
|
+
smat.update_singlefeature(f);
|
|
182
|
+
} else {
|
|
183
|
+
}
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
if (obj.focalsizelimit) {
|
|
187
|
+
if (obj.focalsizelimit == v) {
|
|
188
|
+
} else {
|
|
189
|
+
obj.focalsizelimit = v;
|
|
190
|
+
smat.update_singlefeature(f);
|
|
191
|
+
}
|
|
192
|
+
} else {
|
|
193
|
+
obj.focalsizelimit = v;
|
|
194
|
+
smat.update_singlefeature(f);
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
row.append("span").text("bp");
|
|
198
|
+
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.");
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
function showMenu_ismutation(smat, f) {
|
|
202
|
+
{
|
|
203
|
+
const div = smat.menu.d.append("div").style("margin", "10px").style("border", "solid 1px #ededed");
|
|
204
|
+
const update = () => {
|
|
205
|
+
smat.update_singlefeature(f);
|
|
206
|
+
smat.menu.hide();
|
|
207
|
+
};
|
|
208
|
+
const table = div.append("table").style("margin", "10px").style("border-spacing", "1px");
|
|
209
|
+
const tbody = table.append("tbody");
|
|
210
|
+
{
|
|
211
|
+
const tr = tbody.append("tr");
|
|
212
|
+
tr.append("td").style("opacity", 0.5).text("CNV");
|
|
213
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.cnv.hidden ? "Show" : "Hide").on("click", () => {
|
|
214
|
+
f.cnv.hidden = !f.cnv.hidden;
|
|
215
|
+
update();
|
|
216
|
+
});
|
|
217
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
218
|
+
ismutation_hideallclass(f);
|
|
219
|
+
delete f.cnv.hidden;
|
|
220
|
+
update();
|
|
221
|
+
});
|
|
222
|
+
const td = tr.append("td");
|
|
223
|
+
if (!f.cnv.hidden) {
|
|
224
|
+
td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
|
|
225
|
+
smat.menu.clear();
|
|
226
|
+
showMenu_iscnv(smat, f, f.cnv);
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
{
|
|
231
|
+
const tr = tbody.append("tr");
|
|
232
|
+
tr.append("td").style("opacity", 0.5).text("LOH");
|
|
233
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.loh.hidden ? "Show" : "Hide").on("click", () => {
|
|
234
|
+
f.loh.hidden = !f.loh.hidden;
|
|
235
|
+
update();
|
|
236
|
+
});
|
|
237
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
238
|
+
ismutation_hideallclass(f);
|
|
239
|
+
delete f.loh.hidden;
|
|
240
|
+
update();
|
|
241
|
+
});
|
|
242
|
+
const td = tr.append("td");
|
|
243
|
+
if (!f.loh.hidden) {
|
|
244
|
+
td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
|
|
245
|
+
smat.menu.clear();
|
|
246
|
+
showMenu_isloh(smat, f, f.loh);
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
{
|
|
251
|
+
const tr = tbody.append("tr");
|
|
252
|
+
tr.append("td").style("opacity", 0.5).text("ITD");
|
|
253
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.itd.hidden ? "Show" : "Hide").on("click", () => {
|
|
254
|
+
f.itd.hidden = !f.itd.hidden;
|
|
255
|
+
update();
|
|
256
|
+
});
|
|
257
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
258
|
+
ismutation_hideallclass(f);
|
|
259
|
+
delete f.itd.hidden;
|
|
260
|
+
update();
|
|
261
|
+
});
|
|
262
|
+
const td = tr.append("td");
|
|
263
|
+
if (!f.itd.hidden) {
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
{
|
|
267
|
+
const tr = tbody.append("tr");
|
|
268
|
+
tr.append("td").style("opacity", 0.5).text("SV");
|
|
269
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.sv.hidden ? "Show" : "Hide").on("click", () => {
|
|
270
|
+
f.sv.hidden = !f.sv.hidden;
|
|
271
|
+
update();
|
|
272
|
+
});
|
|
273
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
274
|
+
ismutation_hideallclass(f);
|
|
275
|
+
delete f.sv.hidden;
|
|
276
|
+
update();
|
|
277
|
+
});
|
|
278
|
+
const td = tr.append("td");
|
|
279
|
+
if (!f.sv.hidden) {
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
{
|
|
283
|
+
const tr = tbody.append("tr");
|
|
284
|
+
tr.append("td").style("opacity", 0.5).text("Fusion");
|
|
285
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.fusion.hidden ? "show" : "hide").on("click", () => {
|
|
286
|
+
f.fusion.hidden = !f.fusion.hidden;
|
|
287
|
+
update();
|
|
288
|
+
});
|
|
289
|
+
tr.append("td").attr("class", "sja_menuoption").text("show only").on("click", () => {
|
|
290
|
+
ismutation_hideallclass(f);
|
|
291
|
+
delete f.fusion.hidden;
|
|
292
|
+
update();
|
|
293
|
+
});
|
|
294
|
+
const td = tr.append("td");
|
|
295
|
+
if (!f.fusion.hidden) {
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
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", () => {
|
|
299
|
+
if (tbody2.style("display") == "none") {
|
|
300
|
+
tbody2.style("display", "table-row-group");
|
|
301
|
+
} else {
|
|
302
|
+
tbody2.style("display", "none");
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
const tbody2 = table.append("tbody").style("display", "none");
|
|
306
|
+
for (const k in mclass) {
|
|
307
|
+
const c = mclass[k];
|
|
308
|
+
if (c.dt != dtsnvindel) {
|
|
309
|
+
continue;
|
|
310
|
+
}
|
|
311
|
+
const tr = tbody2.append("tr");
|
|
312
|
+
tr.append("td").style("opacity", 0.5).text(c.label);
|
|
313
|
+
tr.append("td").attr("class", "sja_menuoption").text(f.snvindel.excludeclasses[k] ? "Show" : "Hide").on("click", () => {
|
|
314
|
+
if (f.snvindel.excludeclasses[k]) {
|
|
315
|
+
delete f.snvindel.excludeclasses[k];
|
|
316
|
+
} else {
|
|
317
|
+
f.snvindel.excludeclasses[k] = 1;
|
|
318
|
+
}
|
|
319
|
+
update();
|
|
320
|
+
});
|
|
321
|
+
tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
|
|
322
|
+
ismutation_hideallclass(f);
|
|
323
|
+
delete f.snvindel.excludeclasses[k];
|
|
324
|
+
update();
|
|
325
|
+
});
|
|
326
|
+
const td = tr.append("td");
|
|
327
|
+
}
|
|
328
|
+
div.append("div").style("margin", "10px").append("span").style("font-size", ".8em").text("Show all classes").attr("class", "sja_clbtext").on("click", () => {
|
|
329
|
+
f.cnv.hidden = false;
|
|
330
|
+
f.loh.hidden = false;
|
|
331
|
+
f.itd.hidden = false;
|
|
332
|
+
f.sv.hidden = false;
|
|
333
|
+
f.fusion.hidden = false;
|
|
334
|
+
f.snvindel.excludeclasses = {};
|
|
335
|
+
update();
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
function ismutation_hideallclass(f) {
|
|
340
|
+
f.cnv.hidden = true;
|
|
341
|
+
f.loh.hidden = true;
|
|
342
|
+
f.itd.hidden = true;
|
|
343
|
+
f.sv.hidden = true;
|
|
344
|
+
f.fusion.hidden = true;
|
|
345
|
+
f.snvindel.excludeclasses = {};
|
|
346
|
+
for (const k in mclass) {
|
|
347
|
+
if (mclass[k].dt == dtsnvindel) f.snvindel.excludeclasses[k] = 1;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
// src/samplematrix.kmplot.js
|
|
352
|
+
function may_add_kmplotbutton(smat, buttonrow) {
|
|
353
|
+
if (!smat.mds || !smat.mds.survivalplot) return;
|
|
354
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("SURVIVAL PLOT").attr("class", "sja_clbtext").on("click", (event2) => {
|
|
355
|
+
smat.menu.clear().showunder(event2.target);
|
|
356
|
+
kmplot_menu(smat);
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
async function kmplot_menu(smat) {
|
|
360
|
+
const mutation_features = smat.features.filter((i) => i.ismutation);
|
|
361
|
+
try {
|
|
362
|
+
if (mutation_features.length != 2) throw "only works with two genomic features.";
|
|
363
|
+
await kmplot_do(smat, mutation_features[0], mutation_features[1]);
|
|
364
|
+
} catch (e) {
|
|
365
|
+
smat.menu.d.append("div").style("margin", "20px").text("Cannot make survival plot: " + (e.message || e));
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
async function kmplot_do(smat, f1, f2) {
|
|
369
|
+
const s1 = [], s2 = [], s12 = [];
|
|
370
|
+
for (const i of smat.samples) {
|
|
371
|
+
const in1 = f1.items.find((j) => j.sample == i.name);
|
|
372
|
+
const in2 = f2.items.find((j) => j.sample == i.name);
|
|
373
|
+
if (in1) {
|
|
374
|
+
if (in2) s12.push(i.name);
|
|
375
|
+
else s1.push(i.name);
|
|
376
|
+
} else {
|
|
377
|
+
s2.push(i.name);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
const plot = {
|
|
381
|
+
renderplot: 1,
|
|
382
|
+
samplerule: {
|
|
383
|
+
full: {},
|
|
384
|
+
mutated_sets: [
|
|
385
|
+
{ name: f1.label + " mutated (n=" + s1.length + ")", samplenames: s1 },
|
|
386
|
+
{ name: f2.label + " mutated (n=" + s2.length + ")", samplenames: s2 },
|
|
387
|
+
{ name: f1.label + " and " + f2.label + " mutated (n=" + s12.length + ")", samplenames: s12 }
|
|
388
|
+
]
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
if (smat.limitsamplebyeitherannotation) {
|
|
392
|
+
plot.samplerule.full = {
|
|
393
|
+
byattr: 1,
|
|
394
|
+
key: smat.limitsamplebyeitherannotation[0].key,
|
|
395
|
+
value: smat.limitsamplebyeitherannotation[0].value,
|
|
396
|
+
immutable: 1
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
const pane = newpane({ x: 100, y: 100 });
|
|
400
|
+
pane.header.text(
|
|
401
|
+
(smat.limitsamplebyeitherannotation ? smat.limitsamplebyeitherannotation[0].value + " " : "") + "survival by " + f1.label + " and " + f2.label + " mutation status"
|
|
402
|
+
);
|
|
403
|
+
const _ = await import("./mds.survivalplot-XVZ66GP5.js");
|
|
404
|
+
_.init(
|
|
405
|
+
{
|
|
406
|
+
mds: smat.mds,
|
|
407
|
+
genome: smat.genome,
|
|
408
|
+
plotlist: [plot]
|
|
409
|
+
},
|
|
410
|
+
pane.body
|
|
411
|
+
);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
// src/samplematrix.js
|
|
415
|
+
var saynovalue = "na";
|
|
416
|
+
var default_cnvgaincolor = "#D6683C";
|
|
417
|
+
var default_cnvlosscolor = "#67a9cf";
|
|
418
|
+
var default_genevaluecolor = "#095873";
|
|
419
|
+
var default_lohcolor = "#858585";
|
|
420
|
+
var default_svcolor = "#858585";
|
|
421
|
+
var minheight2showname = 8;
|
|
422
|
+
var Samplematrix = class {
|
|
423
|
+
/*
|
|
424
|
+
init ui
|
|
425
|
+
*/
|
|
426
|
+
constructor(p) {
|
|
427
|
+
for (const k in p) {
|
|
428
|
+
this[k] = p[k];
|
|
429
|
+
}
|
|
430
|
+
if (this.debugmode) window.smat = this;
|
|
431
|
+
this.tip = new Menu({ padding: "0px", hideXmute: 1, hideYmute: 1 });
|
|
432
|
+
this.menu = new Menu({ padding: "0px" });
|
|
433
|
+
this.errdiv = this.holder.append("div");
|
|
434
|
+
if (!this.iscustom) {
|
|
435
|
+
try {
|
|
436
|
+
if (!this.dslabel) throw "not custom data but dslabel is missing";
|
|
437
|
+
this.mds = this.genome.datasets[this.dslabel];
|
|
438
|
+
if (!this.mds) throw "invalid dataset name: " + this.dslabel;
|
|
439
|
+
if (!this.mds.isMds) throw "improper dataset: " + this.dslabel;
|
|
440
|
+
} catch (e) {
|
|
441
|
+
this.error(e);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
init_controlui(this);
|
|
445
|
+
if (this.header) {
|
|
446
|
+
this.holder.append("div").style("margin-bottom", "20px").html(this.header);
|
|
447
|
+
}
|
|
448
|
+
this.wait_div = this.holder.append("div");
|
|
449
|
+
this.wait_div.style("display", "block").text("Loading...");
|
|
450
|
+
this.svg = this.holder.append("svg");
|
|
451
|
+
this.validate_config().then(() => {
|
|
452
|
+
return this.get_features();
|
|
453
|
+
}).catch((err) => {
|
|
454
|
+
if (typeof err == "string") {
|
|
455
|
+
this.error(err);
|
|
456
|
+
} else {
|
|
457
|
+
this.error(err.message);
|
|
458
|
+
if (err.stack) console.log(err.stack);
|
|
459
|
+
}
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
error(m) {
|
|
463
|
+
sayerror(this.errdiv, m);
|
|
464
|
+
}
|
|
465
|
+
async validate_config() {
|
|
466
|
+
if (this.iscustom) {
|
|
467
|
+
if (!this.querykey2tracks) throw "querykey2tracks missing for custom dataset";
|
|
468
|
+
let novalidtk = true;
|
|
469
|
+
for (const key in this.querykey2tracks) {
|
|
470
|
+
const tk = this.querykey2tracks[key];
|
|
471
|
+
if (!tk.file && !tk.url) throw "no file or url for a custom track by key " + key;
|
|
472
|
+
if (!tk.type) throw "missing type for member track by key " + key;
|
|
473
|
+
if (!validtkt(tk.type)) throw "invalid type for a member track: " + tk.type;
|
|
474
|
+
novalidtk = false;
|
|
475
|
+
}
|
|
476
|
+
if (novalidtk) throw "no custom tracks from querykey2tracks";
|
|
477
|
+
let vcftk;
|
|
478
|
+
for (const key in this.querykey2tracks) {
|
|
479
|
+
const tk = this.querykey2tracks[key];
|
|
480
|
+
if (tk.type == tkt.mdsvcf) {
|
|
481
|
+
vcftk = tk;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
if (vcftk) {
|
|
485
|
+
await this.may_init_customvcf(vcftk);
|
|
486
|
+
}
|
|
487
|
+
} else {
|
|
488
|
+
if (this.mds.mdsIsUninitiated) {
|
|
489
|
+
const d = await dofetch3(`getDataset?genome=${this.genome.name}&dsname=${this.mds.label}`);
|
|
490
|
+
if (d.error) throw d.error;
|
|
491
|
+
if (!d.ds) throw "ds missing";
|
|
492
|
+
Object.assign(this.mds, d.ds);
|
|
493
|
+
delete this.mds.mdsIsUninitiated;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
if (this.limitsamplebyeitherannotation) {
|
|
497
|
+
if (!Array.isArray(this.limitsamplebyeitherannotation)) throw "limitsamplebyeitherannotation must be an array";
|
|
498
|
+
const tr = this.legendtable.append("tr");
|
|
499
|
+
for (const anno of this.limitsamplebyeitherannotation) {
|
|
500
|
+
if (!anno.key) throw ".key missing from an element of limitsamplebyeitherannotation";
|
|
501
|
+
if (!anno.value) throw ".value missing from an element of limitsamplebyeitherannotation";
|
|
502
|
+
}
|
|
503
|
+
this.showlegend_limitsample();
|
|
504
|
+
}
|
|
505
|
+
const cnv_tr = this.legendtable.append("tr");
|
|
506
|
+
cnv_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("CNV cutoff");
|
|
507
|
+
this.legendtable.cnv_td = cnv_tr.append("td");
|
|
508
|
+
const loh_tr = this.legendtable.append("tr");
|
|
509
|
+
loh_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("LOH cutoff");
|
|
510
|
+
this.legendtable.loh_td = loh_tr.append("td");
|
|
511
|
+
if (this.limitbysamplesetgroup) {
|
|
512
|
+
if (!Array.isArray(this.limitbysamplesetgroup.samples)) throw ".limitbysamplesetgroup.samples is not array";
|
|
513
|
+
}
|
|
514
|
+
if (!this.rowspace) this.rowspace = 1;
|
|
515
|
+
if (!this.colspace) this.colspace = 1;
|
|
516
|
+
if (!this.rowlabspace) this.rowlabspace = 5;
|
|
517
|
+
if (!this.collabspace) this.collabspace = 5;
|
|
518
|
+
if (!this.rowlabticksize) this.rowlabticksize = 5;
|
|
519
|
+
if (!this.collabticksize) this.collabticksize = 5;
|
|
520
|
+
if (!this.features) throw "missing features[]";
|
|
521
|
+
if (!Array.isArray(this.features)) throw "features must be an array";
|
|
522
|
+
if (this.features[0].height) this.ori_feature_height = this.features[0].height;
|
|
523
|
+
if (this.features[0].width) this.ori_feature_width = this.features[0].width;
|
|
524
|
+
for (const f of this.features) {
|
|
525
|
+
await this.validate_feature(f);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
showlegend_limitsample() {
|
|
529
|
+
if (!this.limitsamplebyeitherannotation) return;
|
|
530
|
+
}
|
|
531
|
+
feature_parseposition_maygene(f) {
|
|
532
|
+
return Promise.resolve().then(() => {
|
|
533
|
+
if (f.position) {
|
|
534
|
+
const o = string2pos(f.position, this.genome);
|
|
535
|
+
if (o) {
|
|
536
|
+
f.chr = o.chr;
|
|
537
|
+
f.start = o.start;
|
|
538
|
+
f.stop = o.stop;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
if (f.chr) {
|
|
542
|
+
const err = invalidcoord(this.genome, f.chr, f.start, f.stop);
|
|
543
|
+
if (err) {
|
|
544
|
+
throw 'feature "' + f.label + '" position error: ' + err;
|
|
545
|
+
} else {
|
|
546
|
+
return;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
if (!f.genename) throw "position required for a feature: no position or genename given";
|
|
550
|
+
return dofetch("/genelookup", {
|
|
551
|
+
input: f.genename,
|
|
552
|
+
genome: this.genome.name,
|
|
553
|
+
deep: 1
|
|
554
|
+
}).then((data) => {
|
|
555
|
+
if (data.error) throw data.error;
|
|
556
|
+
if (!data.gmlst || data.gmlst.length == 0) throw "no gene can be found for " + f.genename;
|
|
557
|
+
const regions = [];
|
|
558
|
+
for (const gm of data.gmlst) {
|
|
559
|
+
let nooverlap = true;
|
|
560
|
+
for (const region of regions) {
|
|
561
|
+
if (gm.chr == region.chr && Math.max(gm.start, region.start) < Math.min(gm.stop, region.stop)) {
|
|
562
|
+
nooverlap = false;
|
|
563
|
+
region.start = Math.min(region.start, gm.start);
|
|
564
|
+
region.stop = Math.max(region.stop, gm.stop);
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
if (nooverlap) {
|
|
569
|
+
regions.push({
|
|
570
|
+
chr: gm.chr,
|
|
571
|
+
start: gm.start,
|
|
572
|
+
stop: gm.stop
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
if (regions.length > 1) {
|
|
577
|
+
sayerror(
|
|
578
|
+
this.errdiv,
|
|
579
|
+
"multiple regions found for gene " + f.genename + " you'd better specify one in feature"
|
|
580
|
+
);
|
|
581
|
+
}
|
|
582
|
+
f.chr = regions[0].chr;
|
|
583
|
+
f.start = regions[0].start;
|
|
584
|
+
f.stop = regions[0].stop;
|
|
585
|
+
});
|
|
586
|
+
});
|
|
587
|
+
}
|
|
588
|
+
validate_feature(f) {
|
|
589
|
+
return Promise.resolve().then(() => {
|
|
590
|
+
f.id = Math.random().toString();
|
|
591
|
+
const tr = this.legendtable.append("tr");
|
|
592
|
+
f.legend_tr = tr;
|
|
593
|
+
if (f.isgenevalue) {
|
|
594
|
+
if (!f.genename) throw ".genename missing for isgenevalue feature";
|
|
595
|
+
f.label = f.genename + " expression";
|
|
596
|
+
if (this.dslabel) {
|
|
597
|
+
if (!f.querykey) throw ".querykey missing for isgenevalue feature while loading from official dataset";
|
|
598
|
+
} else {
|
|
599
|
+
}
|
|
600
|
+
if (!f.scale) f.scale = { auto: 1 };
|
|
601
|
+
if (f.missingvalue == void 0) f.missingvalue = 0;
|
|
602
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
603
|
+
f.legendholder = tr.append("td");
|
|
604
|
+
if (!f.width) f.width = 20;
|
|
605
|
+
if (!f.color) f.color = default_genevaluecolor;
|
|
606
|
+
return this.feature_parseposition_maygene(f);
|
|
607
|
+
}
|
|
608
|
+
if (f.iscnv) {
|
|
609
|
+
if (this.dslabel) {
|
|
610
|
+
if (!f.querykey) throw ".querykey missing for iscnv feature while loading from official dataset";
|
|
611
|
+
} else {
|
|
612
|
+
}
|
|
613
|
+
if (!f.label && f.genename) {
|
|
614
|
+
f.label = f.genename + " CNV";
|
|
615
|
+
}
|
|
616
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
617
|
+
f.legendholder = tr.append("td");
|
|
618
|
+
if (!f.width) f.width = 40;
|
|
619
|
+
if (!f.colorgain) f.colorgain = default_cnvgaincolor;
|
|
620
|
+
if (!f.colorloss) f.colorloss = default_cnvlosscolor;
|
|
621
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
622
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV";
|
|
623
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
624
|
+
});
|
|
625
|
+
}
|
|
626
|
+
if (f.isloh) {
|
|
627
|
+
if (this.dslabel) {
|
|
628
|
+
if (!f.querykey) throw ".querykey missing for isloh feature while loading from official dataset";
|
|
629
|
+
} else {
|
|
630
|
+
}
|
|
631
|
+
if (!f.label && f.genename) {
|
|
632
|
+
f.label = f.genename + " LOH";
|
|
633
|
+
}
|
|
634
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
635
|
+
f.legendholder = tr.append("td");
|
|
636
|
+
if (!f.width) f.width = 40;
|
|
637
|
+
if (!f.color) f.color = default_lohcolor;
|
|
638
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
639
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " LOH";
|
|
640
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
641
|
+
});
|
|
642
|
+
}
|
|
643
|
+
if (f.isvcf) {
|
|
644
|
+
if (this.dslabel) {
|
|
645
|
+
if (!f.querykey) throw ".querykey missing for isvcf feature while loading from official dataset";
|
|
646
|
+
} else {
|
|
647
|
+
}
|
|
648
|
+
if (!f.label && f.genename) {
|
|
649
|
+
f.label = f.genename + " SNV/indel";
|
|
650
|
+
}
|
|
651
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
652
|
+
f.legendholder = tr.append("td");
|
|
653
|
+
if (!f.width) f.width = 20;
|
|
654
|
+
if (!f.snvindel) f.snvindel = {};
|
|
655
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
656
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SNV/indel";
|
|
657
|
+
});
|
|
658
|
+
}
|
|
659
|
+
if (f.isitd) {
|
|
660
|
+
if (this.dslabel) {
|
|
661
|
+
if (!f.querykey) throw ".querykey missing for isitd feature while loading from official dataset";
|
|
662
|
+
} else {
|
|
663
|
+
}
|
|
664
|
+
if (!f.label && f.genename) {
|
|
665
|
+
f.label = f.genename + " ITD";
|
|
666
|
+
}
|
|
667
|
+
if (!f.width) f.width = 20;
|
|
668
|
+
if (!f.color) f.color = mclass[mclassitd].color;
|
|
669
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
670
|
+
f.legendholder = tr.append("td");
|
|
671
|
+
f.legendholder.append("div").style("width", "20px").html(" ").style("background", f.color);
|
|
672
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
673
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " ITD";
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
if (f.issvfusion) {
|
|
677
|
+
if (this.dslabel) {
|
|
678
|
+
if (!f.querykey) throw ".querykey missing for issvfusion feature while loading from official dataset";
|
|
679
|
+
} else {
|
|
680
|
+
}
|
|
681
|
+
if (!f.label && f.genename) {
|
|
682
|
+
f.label = f.genename + " SV/fusion";
|
|
683
|
+
}
|
|
684
|
+
if (!f.width) f.width = 20;
|
|
685
|
+
if (!f.color) f.color = default_svcolor;
|
|
686
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
687
|
+
f.legendholder = tr.append("td");
|
|
688
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
689
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SV/fusion";
|
|
690
|
+
});
|
|
691
|
+
}
|
|
692
|
+
if (f.issvcnv) {
|
|
693
|
+
if (this.dslabel) {
|
|
694
|
+
if (!f.querykey) throw ".querykey missing for issvcnv feature while loading from official dataset";
|
|
695
|
+
} else {
|
|
696
|
+
}
|
|
697
|
+
if (!f.label && f.genename) {
|
|
698
|
+
f.label = f.genename + " CNV/SV";
|
|
699
|
+
}
|
|
700
|
+
tr.append("td").text(f.label).style("color", "#858585").style("text-align", "right");
|
|
701
|
+
f.legendholder = tr.append("td");
|
|
702
|
+
initfeature_polymutation(f);
|
|
703
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
704
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV/SV";
|
|
705
|
+
});
|
|
706
|
+
}
|
|
707
|
+
if (f.ismutation) {
|
|
708
|
+
if (this.dslabel) {
|
|
709
|
+
if (!f.querykeylst) throw ".querykeylst missing for ismutation feature";
|
|
710
|
+
if (!Array.isArray(f.querykeylst)) throw ".querykeylst[] should be array for ismutation feature";
|
|
711
|
+
if (f.querykeylst.length == 0) throw "querykeylst[] empty array for ismutation feature";
|
|
712
|
+
} else {
|
|
713
|
+
}
|
|
714
|
+
if (!f.label && f.genename) {
|
|
715
|
+
f.label = f.genename + " mutation";
|
|
716
|
+
}
|
|
717
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
718
|
+
f.legendholder = tr.append("td");
|
|
719
|
+
initfeature_polymutation(f);
|
|
720
|
+
return this.feature_parseposition_maygene(f).then(() => {
|
|
721
|
+
if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " mutation";
|
|
722
|
+
f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
if (f.issampleattribute) {
|
|
726
|
+
if (!this.dslabel) throw ".dslabel missing: sampleattribute only works for official dataset";
|
|
727
|
+
if (!f.key) throw ".key missing for issampleattribute feature";
|
|
728
|
+
if (!f.label) f.label = f.key;
|
|
729
|
+
if (this.mds && this.mds.sampleAttribute && this.mds.sampleAttribute.attributes) {
|
|
730
|
+
const registry = this.mds.sampleAttribute.attributes[f.key];
|
|
731
|
+
if (registry) {
|
|
732
|
+
f.values = registry.values;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
if (!f.values) {
|
|
736
|
+
f.values = {};
|
|
737
|
+
}
|
|
738
|
+
f.assignmissingcolor = ordinal(category10_default);
|
|
739
|
+
if (!f.width && !this.features_on_rows) f.width = 20;
|
|
740
|
+
else if (!f.height && this.features_on_rows) f.height = 50;
|
|
741
|
+
tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
|
|
742
|
+
f.legendholder = tr.append("td");
|
|
743
|
+
return Promise.resolve();
|
|
744
|
+
}
|
|
745
|
+
throw "unknown feature type in validating feature";
|
|
746
|
+
});
|
|
747
|
+
}
|
|
748
|
+
get_features(featureset) {
|
|
749
|
+
this.max_cnv = 0;
|
|
750
|
+
this.min_cnv = 0;
|
|
751
|
+
this.max_loh = 0;
|
|
752
|
+
this.min_loh = 0;
|
|
753
|
+
const arg = {
|
|
754
|
+
genome: this.genome.name,
|
|
755
|
+
limitsamplebyeitherannotation: this.limitsamplebyeitherannotation,
|
|
756
|
+
features: (featureset || this.features).map(feature2arg)
|
|
757
|
+
};
|
|
758
|
+
if (this.limitbysamplesetgroup) {
|
|
759
|
+
arg.sampleset = this.limitbysamplesetgroup.samples;
|
|
760
|
+
}
|
|
761
|
+
if (this.iscustom) {
|
|
762
|
+
arg.iscustom = 1;
|
|
763
|
+
arg.querykey2tracks = {};
|
|
764
|
+
for (const f of arg.features) {
|
|
765
|
+
if (f.querykey) {
|
|
766
|
+
arg.querykey2tracks[f.querykey] = this.querykey2tracks[f.querykey];
|
|
767
|
+
} else if (f.querykeylst) {
|
|
768
|
+
for (const k of f.querykeylst) arg.querykey2tracks[k] = this.querykey2tracks[k];
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
} else {
|
|
772
|
+
arg.dslabel = this.mds.label;
|
|
773
|
+
}
|
|
774
|
+
return dofetch("/samplematrix", arg).then((data) => {
|
|
775
|
+
if (data.error) {
|
|
776
|
+
for (const f0 of arg.features) {
|
|
777
|
+
const f = this.features.find((f2) => f2.id == f0.id);
|
|
778
|
+
if (f) f.items = [];
|
|
779
|
+
}
|
|
780
|
+
throw data.error;
|
|
781
|
+
}
|
|
782
|
+
for (const dat of data.results) {
|
|
783
|
+
const f = this.features.find((f2) => f2.id == dat.id);
|
|
784
|
+
if (!f) throw "feature not found: " + f.id;
|
|
785
|
+
f.items = dat.items;
|
|
786
|
+
this.prep_featuredata(f);
|
|
787
|
+
}
|
|
788
|
+
this.draw_matrix();
|
|
789
|
+
this.make_legend();
|
|
790
|
+
this.wait_div.style("display", "none");
|
|
791
|
+
});
|
|
792
|
+
}
|
|
793
|
+
update_singlefeature(f) {
|
|
794
|
+
this.get_features([f]).catch((err) => {
|
|
795
|
+
if (typeof err == "string") {
|
|
796
|
+
this.error(err);
|
|
797
|
+
} else {
|
|
798
|
+
this.error(err.message);
|
|
799
|
+
if (err.stack) console.log(err.stack);
|
|
800
|
+
}
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
addnewfeature_update(f) {
|
|
804
|
+
this.features.push(f);
|
|
805
|
+
this.validate_feature(f).then(() => {
|
|
806
|
+
return this.get_features([f]);
|
|
807
|
+
}).catch((err) => {
|
|
808
|
+
this.error(typeof err == "string" ? err : err.message);
|
|
809
|
+
if (err.stack) console.log(err.stack);
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
prep_featuredata(f) {
|
|
813
|
+
if (f.isgenevalue) {
|
|
814
|
+
f.scale.maxv = 0;
|
|
815
|
+
f.scale.minv = 0;
|
|
816
|
+
for (const i of f.items) {
|
|
817
|
+
f.scale.maxv = Math.max(f.scale.maxv, i.value);
|
|
818
|
+
}
|
|
819
|
+
return;
|
|
820
|
+
}
|
|
821
|
+
if (f.iscnv) {
|
|
822
|
+
const gain = [], loss = [];
|
|
823
|
+
for (const i of f.items) {
|
|
824
|
+
if (i.value > 0) {
|
|
825
|
+
gain.push(i.value);
|
|
826
|
+
} else {
|
|
827
|
+
loss.push(-i.value);
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
const gmax = getMax_byiqr(gain, 0);
|
|
831
|
+
const lmax = getMax_byiqr(loss, 0);
|
|
832
|
+
f.maxabslogratio = Math.max(gmax, lmax);
|
|
833
|
+
if (f.maxabslogratio > this.max_cnv) this.max_cnv = f.maxabslogratio;
|
|
834
|
+
return;
|
|
835
|
+
}
|
|
836
|
+
if (f.isloh) {
|
|
837
|
+
const values = f.items.map((i) => i.segmean);
|
|
838
|
+
f.minvalue = 0;
|
|
839
|
+
f.maxvalue = Math.max(...values);
|
|
840
|
+
if (f.maxvalue > this.max_loh) this.max_loh = f.maxvalue;
|
|
841
|
+
return;
|
|
842
|
+
}
|
|
843
|
+
if (f.isvcf) {
|
|
844
|
+
return;
|
|
845
|
+
}
|
|
846
|
+
if (f.isitd) {
|
|
847
|
+
return;
|
|
848
|
+
}
|
|
849
|
+
if (f.issvfusion) {
|
|
850
|
+
return;
|
|
851
|
+
}
|
|
852
|
+
if (f.issvcnv || f.ismutation) {
|
|
853
|
+
const cnvgain = [], cnvloss = [];
|
|
854
|
+
let lohmax = 0;
|
|
855
|
+
for (const i of f.items) {
|
|
856
|
+
if (i.dt == dtcnv) {
|
|
857
|
+
if (i.value > 0) {
|
|
858
|
+
cnvgain.push(i.value);
|
|
859
|
+
} else {
|
|
860
|
+
cnvloss.push(-i.value);
|
|
861
|
+
}
|
|
862
|
+
} else if (i.dt == dtloh) {
|
|
863
|
+
lohmax = Math.max(i.segmean, lohmax);
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
if (cnvgain.length + cnvloss.length > 0) {
|
|
867
|
+
const gmax = getMax_byiqr(cnvgain, 0);
|
|
868
|
+
const lmax = getMax_byiqr(cnvloss, 0);
|
|
869
|
+
f.cnv.maxabslogratio = Math.max(gmax, lmax);
|
|
870
|
+
if (f.cnv.maxabslogratio > this.max_cnv) {
|
|
871
|
+
this.max_cnv = f.cnv.maxabslogratio;
|
|
872
|
+
this.min_cnv = -f.cnv.maxabslogratio;
|
|
873
|
+
this.cnv_colorloss = f.cnv.colorloss;
|
|
874
|
+
this.cnv_colorgain = f.cnv.colorgain;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
if (lohmax) {
|
|
878
|
+
f.loh.minvalue = 0;
|
|
879
|
+
f.loh.maxvalue = lohmax;
|
|
880
|
+
if (f.loh.maxvalue > this.max_loh) this.max_loh = f.loh.maxvalue;
|
|
881
|
+
this.loh_color = f.loh.color;
|
|
882
|
+
}
|
|
883
|
+
return;
|
|
884
|
+
}
|
|
885
|
+
if (f.issampleattribute) {
|
|
886
|
+
for (const i of f.items) {
|
|
887
|
+
if (!f.values[i.value]) {
|
|
888
|
+
f.values[i.value] = {
|
|
889
|
+
name: i.value,
|
|
890
|
+
color: f.assignmissingcolor(i.value)
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
return;
|
|
895
|
+
}
|
|
896
|
+
throw "unknown feature type in preparing feature data";
|
|
897
|
+
}
|
|
898
|
+
make_legend() {
|
|
899
|
+
for (const f of this.features) {
|
|
900
|
+
const h = f.legendholder;
|
|
901
|
+
h.selectAll("*").remove();
|
|
902
|
+
if (f.isgenevalue) {
|
|
903
|
+
h.append("span").text(f.scale.minv.toFixed(3));
|
|
904
|
+
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 + ")");
|
|
905
|
+
h.append("span").text(f.scale.maxv.toFixed(3));
|
|
906
|
+
continue;
|
|
907
|
+
}
|
|
908
|
+
if (f.iscnv) {
|
|
909
|
+
h.append("span").html(
|
|
910
|
+
'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>"
|
|
911
|
+
);
|
|
912
|
+
continue;
|
|
913
|
+
}
|
|
914
|
+
if (f.isloh) {
|
|
915
|
+
h.append("span").text(f.minvalue.toFixed(3));
|
|
916
|
+
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 + ")");
|
|
917
|
+
h.append("span").text(f.maxvalue.toFixed(3));
|
|
918
|
+
continue;
|
|
919
|
+
}
|
|
920
|
+
if (f.isvcf) {
|
|
921
|
+
const classes = /* @__PURE__ */ new Set();
|
|
922
|
+
for (const m of f.items) {
|
|
923
|
+
if (m.class) {
|
|
924
|
+
classes.add(m.class);
|
|
925
|
+
} else {
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
for (const c of classes) {
|
|
929
|
+
const cell = h.append("div").style("display", "inline-block").style("margin-right", "10px");
|
|
930
|
+
cell.append("span").style("background", mclass[c].color).style("margin-right", "2px").html(" ");
|
|
931
|
+
cell.append("span").text(mclass[c].label).style("color", mclass[c].color);
|
|
932
|
+
}
|
|
933
|
+
continue;
|
|
934
|
+
}
|
|
935
|
+
if (f.isitd) {
|
|
936
|
+
continue;
|
|
937
|
+
}
|
|
938
|
+
if (f.issvfusion) {
|
|
939
|
+
continue;
|
|
940
|
+
}
|
|
941
|
+
if (f.issvcnv || f.ismutation) {
|
|
942
|
+
const vcfclass2count = /* @__PURE__ */ new Map();
|
|
943
|
+
let itdcount = 0;
|
|
944
|
+
let svcount = 0;
|
|
945
|
+
let fusioncount = 0;
|
|
946
|
+
for (const i of f.items) {
|
|
947
|
+
if (i.dt == dtsnvindel) {
|
|
948
|
+
if (i.class && i.sampledata) {
|
|
949
|
+
if (!vcfclass2count.has(i.class)) {
|
|
950
|
+
vcfclass2count.set(i.class, 0);
|
|
951
|
+
}
|
|
952
|
+
vcfclass2count.set(i.class, vcfclass2count.get(i.class) + i.sampledata.length);
|
|
953
|
+
} else {
|
|
954
|
+
}
|
|
955
|
+
} else if (i.dt == dtitd) {
|
|
956
|
+
itdcount++;
|
|
957
|
+
} else if (i.dt == dtsv) {
|
|
958
|
+
svcount++;
|
|
959
|
+
} else if (i.dt == dtfusionrna) {
|
|
960
|
+
fusioncount++;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
if (vcfclass2count.size + itdcount + svcount + fusioncount > 0) {
|
|
964
|
+
const row = h.append("div").style("margin-bottom", "5px").style("white-space", "nowrap");
|
|
965
|
+
for (const [classname, count] of vcfclass2count) {
|
|
966
|
+
const c = mclass[classname];
|
|
967
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
968
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", c.color).text(count);
|
|
969
|
+
cell.append("span").text(c.label).style("color", c.color);
|
|
970
|
+
}
|
|
971
|
+
if (itdcount) {
|
|
972
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
973
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.itd.color).text(itdcount);
|
|
974
|
+
cell.append("span").text("ITD");
|
|
975
|
+
}
|
|
976
|
+
if (svcount) {
|
|
977
|
+
const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
978
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.sv.color).text(svcount);
|
|
979
|
+
cell.append("span").text("SV");
|
|
980
|
+
}
|
|
981
|
+
if (fusioncount) {
|
|
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.fusion.color).text(fusioncount);
|
|
984
|
+
cell.append("span").text("Fusion");
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
continue;
|
|
988
|
+
}
|
|
989
|
+
if (f.issampleattribute) {
|
|
990
|
+
const value2count = /* @__PURE__ */ new Map();
|
|
991
|
+
for (const sample of this.samples) {
|
|
992
|
+
const anno = f.items.find((i) => i.sample == sample.name);
|
|
993
|
+
if (anno) {
|
|
994
|
+
value2count.set(anno.value, (value2count.get(anno.value) || 0) + 1);
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
for (const [value, count] of value2count) {
|
|
998
|
+
const cell = h.append("div").style("display", "inline-block").style("margin-right", "20px");
|
|
999
|
+
cell.append("span").attr("class", "sja_mcdot").style("background", f.values[value].color).text(count);
|
|
1000
|
+
cell.append("span").text(f.values[value].name);
|
|
1001
|
+
}
|
|
1002
|
+
continue;
|
|
1003
|
+
}
|
|
1004
|
+
throw "unknown feature type in making legend";
|
|
1005
|
+
}
|
|
1006
|
+
this.makeGlobalCnvLohLegend();
|
|
1007
|
+
}
|
|
1008
|
+
makeGlobalCnvLohLegend() {
|
|
1009
|
+
const legend_data = [
|
|
1010
|
+
{ type: "cnv", legend_label: "CNV log2(ratio): " },
|
|
1011
|
+
{ type: "loh", legend_label: "LOH seg.mean: " }
|
|
1012
|
+
];
|
|
1013
|
+
const min_cnv_orig = parseFloat(this.min_cnv.toFixed(3));
|
|
1014
|
+
const max_cnv_orig = parseFloat(this.max_cnv.toFixed(3));
|
|
1015
|
+
const min_loh_orig = parseFloat(this.min_loh.toFixed(3));
|
|
1016
|
+
const max_loh_orig = parseFloat(this.max_loh.toFixed(3));
|
|
1017
|
+
let changed_flag = false;
|
|
1018
|
+
legend_data.forEach((data) => {
|
|
1019
|
+
let min_cutoff = data.type == "cnv" ? this.min_cnv : this.min_loh;
|
|
1020
|
+
let max_cutoff = data.type == "cnv" ? this.max_cnv : this.max_loh;
|
|
1021
|
+
const td = data.type == "cnv" ? this.legendtable.cnv_td : this.legendtable.loh_td;
|
|
1022
|
+
const row = td.append("div").style("margin-bottom", "5px");
|
|
1023
|
+
row.append("span").text(data.legend_label);
|
|
1024
|
+
const lower_range_txt = row.append("span").text(min_cutoff.toFixed(3));
|
|
1025
|
+
const lower_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", min_cutoff.toFixed(3));
|
|
1026
|
+
if (data.type == "cnv") {
|
|
1027
|
+
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)");
|
|
1028
|
+
}
|
|
1029
|
+
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(
|
|
1030
|
+
"background",
|
|
1031
|
+
"linear-gradient( to right, white, " + (data.type == "cnv" ? this.cnv_colorgain : this.loh_color) + ")"
|
|
1032
|
+
);
|
|
1033
|
+
const upper_range_txt = row.append("span").text(max_cutoff.toFixed(3));
|
|
1034
|
+
const upper_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", max_cutoff.toFixed(3));
|
|
1035
|
+
const edit_btn = row.append("button").style("margin", "2px 5px").style("padding", "3px 10px").text("Edit").on("click", () => {
|
|
1036
|
+
lower_range_txt.style("display", "none");
|
|
1037
|
+
upper_range_txt.style("display", "none");
|
|
1038
|
+
lower_range_input.style("display", "inline-block");
|
|
1039
|
+
upper_range_input.style("display", "inline-block");
|
|
1040
|
+
edit_btn.style("display", "none");
|
|
1041
|
+
submit_btn.style("display", "inline-block");
|
|
1042
|
+
});
|
|
1043
|
+
const submit_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Submit").on("click", () => {
|
|
1044
|
+
if (data.type == "cnv") {
|
|
1045
|
+
this.min_cnv = min_cutoff = lower_range_input.property("value");
|
|
1046
|
+
this.max_cnv = max_cutoff = upper_range_input.property("value");
|
|
1047
|
+
if (this.min_cnv != min_cnv_orig || this.max_cnv != max_cnv_orig) changed_flag = true;
|
|
1048
|
+
} else {
|
|
1049
|
+
this.min_loh = min_cutoff = parseFloat(lower_range_input.property("value"));
|
|
1050
|
+
this.max_loh = max_cutoff = parseFloat(upper_range_input.property("value"));
|
|
1051
|
+
if (this.min_loh != min_loh_orig || this.max_loh != max_loh_orig) changed_flag = true;
|
|
1052
|
+
}
|
|
1053
|
+
lower_range_txt.style("display", "inline-block").text(parseFloat(min_cutoff).toFixed(3));
|
|
1054
|
+
upper_range_txt.style("display", "inline-block").text(parseFloat(max_cutoff).toFixed(3));
|
|
1055
|
+
lower_range_input.style("display", "none");
|
|
1056
|
+
upper_range_input.style("display", "none");
|
|
1057
|
+
edit_btn.style("display", "inline-block");
|
|
1058
|
+
submit_btn.style("display", "none");
|
|
1059
|
+
reset_btn.style("display", changed_flag ? "inline-block" : "none");
|
|
1060
|
+
this.draw_matrix();
|
|
1061
|
+
});
|
|
1062
|
+
const reset_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Reset").on("click", () => {
|
|
1063
|
+
if (data.type == "cnv") {
|
|
1064
|
+
this.min_cnv = min_cutoff = min_cnv_orig;
|
|
1065
|
+
this.max_cnv = max_cutoff = max_cnv_orig;
|
|
1066
|
+
} else {
|
|
1067
|
+
this.min_loh = min_cutoff = min_loh_orig;
|
|
1068
|
+
this.max_loh = max_cutoff = max_loh_orig;
|
|
1069
|
+
}
|
|
1070
|
+
lower_range_txt.text(parseFloat(min_cutoff).toFixed(3));
|
|
1071
|
+
upper_range_txt.text(parseFloat(max_cutoff).toFixed(3));
|
|
1072
|
+
lower_range_input.property("value", parseFloat(min_cutoff).toFixed(3));
|
|
1073
|
+
upper_range_input.property("value", parseFloat(max_cutoff).toFixed(3));
|
|
1074
|
+
reset_btn.style("display", "none");
|
|
1075
|
+
changed_flag = false;
|
|
1076
|
+
this.draw_matrix();
|
|
1077
|
+
});
|
|
1078
|
+
reset_btn.style("display", "none");
|
|
1079
|
+
});
|
|
1080
|
+
}
|
|
1081
|
+
gatherSamplesFromFeatureData() {
|
|
1082
|
+
const name2sample = /* @__PURE__ */ new Map();
|
|
1083
|
+
for (const feature of this.features) {
|
|
1084
|
+
if (feature.donotaddsample) {
|
|
1085
|
+
continue;
|
|
1086
|
+
}
|
|
1087
|
+
if (feature.isgenevalue || feature.iscnv || feature.isloh || feature.isitd || feature.issvfusion || feature.issvcnv) {
|
|
1088
|
+
for (const item of feature.items) {
|
|
1089
|
+
if (!name2sample.has(item.sample)) {
|
|
1090
|
+
name2sample.set(item.sample, {});
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
} else if (feature.isvcf) {
|
|
1094
|
+
for (const m of feature.items) {
|
|
1095
|
+
if (m.dt == dtsnvindel) {
|
|
1096
|
+
if (!m.sampledata) continue;
|
|
1097
|
+
for (const s of m.sampledata) {
|
|
1098
|
+
if (!name2sample.has(s.sampleobj.name)) {
|
|
1099
|
+
name2sample.set(s.sampleobj.name, {});
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
} else {
|
|
1103
|
+
console.error("unsupported dt from isvcf: " + m.dt);
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
} else if (feature.ismutation) {
|
|
1107
|
+
for (const m of feature.items) {
|
|
1108
|
+
if (m.dt == dtsnvindel) {
|
|
1109
|
+
if (!m.sampledata) continue;
|
|
1110
|
+
for (const s of m.sampledata) {
|
|
1111
|
+
if (!name2sample.has(s.sampleobj.name)) {
|
|
1112
|
+
name2sample.set(s.sampleobj.name, {});
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
} else {
|
|
1116
|
+
if (!m.sample) continue;
|
|
1117
|
+
if (!name2sample.has(m.sample)) {
|
|
1118
|
+
name2sample.set(m.sample, {});
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
} else if (feature.issampleattribute) {
|
|
1123
|
+
for (const i of feature.items) {
|
|
1124
|
+
if (!name2sample.has(i.sample)) {
|
|
1125
|
+
name2sample.set(i.sample, {});
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
} else {
|
|
1129
|
+
console.error("unknown feature type from this.data");
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
const uniformheight = Math.min(18, Math.max(1, Math.ceil(800 / name2sample.size)));
|
|
1133
|
+
this.samples = [];
|
|
1134
|
+
for (const [n, sample] of name2sample) {
|
|
1135
|
+
if (!this.features_on_rows) sample.height = uniformheight;
|
|
1136
|
+
else sample.width = uniformheight;
|
|
1137
|
+
sample.name = n;
|
|
1138
|
+
this.samples.push(sample);
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
/*********** __draw *****/
|
|
1142
|
+
draw_matrix() {
|
|
1143
|
+
this.svg.selectAll("*").remove();
|
|
1144
|
+
const svgg = this.svg.append("g");
|
|
1145
|
+
this.gatherSamplesFromFeatureData();
|
|
1146
|
+
this.sortsamplesbyfeatures();
|
|
1147
|
+
const rows_lst = this.features_on_rows ? this.features : this.samples;
|
|
1148
|
+
const cols_lst = this.features_on_rows ? this.samples : this.features;
|
|
1149
|
+
let y = 0, samplenamemaxwidth = 0;
|
|
1150
|
+
for (const r of rows_lst) {
|
|
1151
|
+
r.g = svgg.append("g").attr("transform", "translate(0," + y + ")");
|
|
1152
|
+
y += r.height + this.rowspace;
|
|
1153
|
+
if (r.height >= minheight2showname) {
|
|
1154
|
+
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() {
|
|
1155
|
+
samplenamemaxwidth = Math.max(samplenamemaxwidth, this.getBBox().width);
|
|
1156
|
+
}).attr("class", "sja_clbtext").on("mouseover", () => {
|
|
1157
|
+
this.features_on_rows ? this.showTip_feature(r) : this.showTip_sample(r);
|
|
1158
|
+
}).on("mouseout", () => {
|
|
1159
|
+
this.tip.hide();
|
|
1160
|
+
}).on("click", () => {
|
|
1161
|
+
if (this.features_on_rows) this.showMenu_feature(r);
|
|
1162
|
+
});
|
|
1163
|
+
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");
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
let x = 0, featurenamemaxwidth = 0;
|
|
1167
|
+
for (const c of cols_lst) {
|
|
1168
|
+
const g = svgg.append("g").attr("transform", "translate(" + (x + c.width / 2) + ",-" + (this.collabspace + this.collabticksize) + ")");
|
|
1169
|
+
x += c.width + this.colspace;
|
|
1170
|
+
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() {
|
|
1171
|
+
featurenamemaxwidth = Math.max(featurenamemaxwidth, this.getBBox().width);
|
|
1172
|
+
}).on("mouseover", () => {
|
|
1173
|
+
this.features_on_rows ? this.showTip_sample(c) : this.showTip_feature(c);
|
|
1174
|
+
}).on("mouseout", () => {
|
|
1175
|
+
this.tip.hide();
|
|
1176
|
+
}).on("click", () => {
|
|
1177
|
+
if (!this.features_on_rows) this.showMenu_feature(c);
|
|
1178
|
+
});
|
|
1179
|
+
if (c.isgenevalue) {
|
|
1180
|
+
label.attr("fill", c.color);
|
|
1181
|
+
}
|
|
1182
|
+
g.append("line").attr("y1", this.collabspace).attr("y2", this.collabspace + this.collabticksize).attr("stroke", "black").attr("shape-rendering", "crispEdges");
|
|
1183
|
+
}
|
|
1184
|
+
for (const r of rows_lst) {
|
|
1185
|
+
let x2 = 0;
|
|
1186
|
+
for (const c of cols_lst) {
|
|
1187
|
+
const sample = this.features_on_rows ? c : r;
|
|
1188
|
+
const feature = this.features_on_rows ? r : c;
|
|
1189
|
+
const cell = r.g.append("g").attr("transform", "translate(" + x2 + ",0)");
|
|
1190
|
+
x2 += c.width + this.colspace;
|
|
1191
|
+
if (feature.isgenevalue) {
|
|
1192
|
+
this.drawCell_isgenevalue(sample, feature, cell);
|
|
1193
|
+
} else if (feature.iscnv) {
|
|
1194
|
+
this.drawCell_iscnv(sample, feature, cell);
|
|
1195
|
+
} else if (feature.isloh) {
|
|
1196
|
+
this.drawCell_isloh(sample, feature, cell);
|
|
1197
|
+
} else if (feature.isvcf) {
|
|
1198
|
+
this.drawCell_isvcf(sample, feature, cell);
|
|
1199
|
+
} else if (feature.isitd) {
|
|
1200
|
+
this.drawCell_isitd(sample, feature, cell);
|
|
1201
|
+
} else if (feature.issvfusion) {
|
|
1202
|
+
this.drawCell_issvfusion(sample, feature, cell);
|
|
1203
|
+
} else if (feature.issvcnv || feature.ismutation) {
|
|
1204
|
+
this.drawCell_ismutation(sample, feature, cell);
|
|
1205
|
+
} else if (feature.issampleattribute) {
|
|
1206
|
+
this.drawCell_issampleattribute(sample, feature, cell);
|
|
1207
|
+
} else {
|
|
1208
|
+
console.error("unknown feature type when drawing cell");
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
svgg.attr(
|
|
1213
|
+
"transform",
|
|
1214
|
+
"translate(" + (samplenamemaxwidth + this.rowlabspace + this.rowlabticksize) + "," + (featurenamemaxwidth + this.collabspace + this.collabticksize) + ")"
|
|
1215
|
+
);
|
|
1216
|
+
this.svg.attr(
|
|
1217
|
+
"width",
|
|
1218
|
+
samplenamemaxwidth + this.rowlabspace + this.rowlabticksize + cols_lst.reduce((i, j) => i + j.width, 0) + cols_lst.length * this.colspace
|
|
1219
|
+
).attr(
|
|
1220
|
+
"height",
|
|
1221
|
+
featurenamemaxwidth + this.collabspace + this.collabticksize + rows_lst.reduce((i, j) => i + j.height, 0) + rows_lst.length * this.rowspace
|
|
1222
|
+
);
|
|
1223
|
+
}
|
|
1224
|
+
drawCell_isgenevalue(sample, feature, g) {
|
|
1225
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1226
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1227
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1228
|
+
if (!item) {
|
|
1229
|
+
this.drawEmptycell(sample, feature, g);
|
|
1230
|
+
return;
|
|
1231
|
+
}
|
|
1232
|
+
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) => {
|
|
1233
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1234
|
+
this.showTip_cell(sample, feature);
|
|
1235
|
+
}).on("mouseout", (event2) => {
|
|
1236
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1237
|
+
this.tip.hide();
|
|
1238
|
+
}).on("click", () => {
|
|
1239
|
+
this.click_cell(sample, feature);
|
|
1240
|
+
});
|
|
1241
|
+
if (item.value < feature.scale.maxv) {
|
|
1242
|
+
rect.attr("fill-opacity", item.value / feature.scale.maxv);
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
drawCell_iscnv(sample, feature, g) {
|
|
1246
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1247
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1248
|
+
const items = feature.items.filter((i) => i.sample == sample.name);
|
|
1249
|
+
if (items.length == 0) {
|
|
1250
|
+
this.drawEmptycell(sample, feature, g);
|
|
1251
|
+
return;
|
|
1252
|
+
}
|
|
1253
|
+
for (const item of items) {
|
|
1254
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1255
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1256
|
+
const maxabslogratio = this.max_cnv;
|
|
1257
|
+
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");
|
|
1258
|
+
}
|
|
1259
|
+
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) => {
|
|
1260
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1261
|
+
this.showTip_cell(sample, feature);
|
|
1262
|
+
}).on("mouseout", (event2) => {
|
|
1263
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1264
|
+
this.tip.hide();
|
|
1265
|
+
}).on("click", () => {
|
|
1266
|
+
this.click_cell(sample, feature);
|
|
1267
|
+
});
|
|
1268
|
+
}
|
|
1269
|
+
drawCell_isloh(sample, feature, g) {
|
|
1270
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1271
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1272
|
+
const items = feature.items.filter((i) => i.sample == sample.name);
|
|
1273
|
+
if (items.length == 0) {
|
|
1274
|
+
this.drawEmptycell(sample, feature, g);
|
|
1275
|
+
return;
|
|
1276
|
+
}
|
|
1277
|
+
for (const item of items) {
|
|
1278
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1279
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1280
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1281
|
+
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");
|
|
1282
|
+
}
|
|
1283
|
+
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) => {
|
|
1284
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1285
|
+
this.showTip_cell(sample, feature);
|
|
1286
|
+
}).on("mouseout", (event2) => {
|
|
1287
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1288
|
+
this.tip.hide();
|
|
1289
|
+
}).on("click", () => {
|
|
1290
|
+
this.click_cell(sample, feature);
|
|
1291
|
+
});
|
|
1292
|
+
}
|
|
1293
|
+
drawCell_isvcf(sample, feature, g) {
|
|
1294
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1295
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1296
|
+
const mlst = getitemforsample_vcf(feature, sample);
|
|
1297
|
+
if (mlst.length == 0) {
|
|
1298
|
+
this.drawEmptycell(sample, feature, g);
|
|
1299
|
+
return;
|
|
1300
|
+
}
|
|
1301
|
+
const class2count = /* @__PURE__ */ new Map();
|
|
1302
|
+
for (const m of mlst) {
|
|
1303
|
+
if (!class2count.has(m.class)) {
|
|
1304
|
+
class2count.set(m.class, 0);
|
|
1305
|
+
}
|
|
1306
|
+
class2count.set(m.class, class2count.get(m.class) + 1);
|
|
1307
|
+
}
|
|
1308
|
+
let start = 0;
|
|
1309
|
+
for (const [cname, count] of class2count) {
|
|
1310
|
+
const span = count / mlst.length * this.features_on_rows ? height : width;
|
|
1311
|
+
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");
|
|
1312
|
+
start += span;
|
|
1313
|
+
}
|
|
1314
|
+
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) => {
|
|
1315
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1316
|
+
this.showTip_cell(sample, feature);
|
|
1317
|
+
}).on("mouseout", (event2) => {
|
|
1318
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1319
|
+
this.tip.hide();
|
|
1320
|
+
}).on("click", () => {
|
|
1321
|
+
this.click_cell(sample, feature);
|
|
1322
|
+
});
|
|
1323
|
+
}
|
|
1324
|
+
drawCell_isitd(sample, feature, g) {
|
|
1325
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1326
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1327
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1328
|
+
if (!item) {
|
|
1329
|
+
this.drawEmptycell(sample, feature, g);
|
|
1330
|
+
return;
|
|
1331
|
+
}
|
|
1332
|
+
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) => {
|
|
1333
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1334
|
+
this.showTip_cell(sample, feature);
|
|
1335
|
+
}).on("mouseout", (event2) => {
|
|
1336
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1337
|
+
this.tip.hide();
|
|
1338
|
+
}).on("click", () => {
|
|
1339
|
+
this.click_cell(sample, feature);
|
|
1340
|
+
});
|
|
1341
|
+
}
|
|
1342
|
+
drawCell_issampleattribute(sample, feature, g) {
|
|
1343
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1344
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1345
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1346
|
+
if (!item) {
|
|
1347
|
+
this.drawEmptycell(sample, feature, g);
|
|
1348
|
+
return;
|
|
1349
|
+
}
|
|
1350
|
+
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) => {
|
|
1351
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1352
|
+
this.showTip_cell(sample, feature);
|
|
1353
|
+
}).on("mouseout", (event2) => {
|
|
1354
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1355
|
+
this.tip.hide();
|
|
1356
|
+
}).on("click", () => {
|
|
1357
|
+
this.click_cell(sample, feature);
|
|
1358
|
+
});
|
|
1359
|
+
}
|
|
1360
|
+
drawCell_issvfusion(sample, feature, g) {
|
|
1361
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1362
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1363
|
+
const item = feature.items.find((i) => i.sample == sample.name);
|
|
1364
|
+
if (!item) {
|
|
1365
|
+
this.drawEmptycell(sample, feature, g);
|
|
1366
|
+
return;
|
|
1367
|
+
}
|
|
1368
|
+
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) => {
|
|
1369
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1370
|
+
this.showTip_cell(sample, feature);
|
|
1371
|
+
}).on("mouseout", (event2) => {
|
|
1372
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1373
|
+
this.tip.hide();
|
|
1374
|
+
}).on("click", () => {
|
|
1375
|
+
this.click_cell(sample, feature);
|
|
1376
|
+
});
|
|
1377
|
+
}
|
|
1378
|
+
drawCell_ismutation(sample, feature, g) {
|
|
1379
|
+
const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(feature, sample);
|
|
1380
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1381
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1382
|
+
if (cnv.length + loh.length + itd.length + sv.length + fusion.length + snvindel.length == 0) {
|
|
1383
|
+
this.drawEmptycell(sample, feature, g);
|
|
1384
|
+
return;
|
|
1385
|
+
}
|
|
1386
|
+
let is_symbolic = false;
|
|
1387
|
+
if (this.ismutation_allsymbolic) {
|
|
1388
|
+
is_symbolic = true;
|
|
1389
|
+
} else if (this.ismutation_allnotsymbolic) {
|
|
1390
|
+
} else {
|
|
1391
|
+
if (height <= 4) {
|
|
1392
|
+
is_symbolic = true;
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
if (is_symbolic) {
|
|
1396
|
+
this.drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel);
|
|
1397
|
+
} else {
|
|
1398
|
+
if (loh.length) {
|
|
1399
|
+
for (const item of loh) {
|
|
1400
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1401
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1402
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1403
|
+
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");
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
if (cnv.length) {
|
|
1407
|
+
for (const item of cnv) {
|
|
1408
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1409
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1410
|
+
const maxabslogratio = item.value > 0 ? this.max_cnv : this.min_cnv;
|
|
1411
|
+
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");
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
if (itd.length) {
|
|
1415
|
+
for (const item of itd) {
|
|
1416
|
+
const x1 = feature.coordscale(Math.max(feature.start, item.start));
|
|
1417
|
+
const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
|
|
1418
|
+
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");
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
if (sv.length) {
|
|
1422
|
+
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");
|
|
1423
|
+
}
|
|
1424
|
+
if (fusion.length) {
|
|
1425
|
+
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");
|
|
1426
|
+
}
|
|
1427
|
+
if (snvindel.length) {
|
|
1428
|
+
const m = snvindel[0];
|
|
1429
|
+
const g2 = g.append("g").attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");
|
|
1430
|
+
const color = mclass[m.m.class].color;
|
|
1431
|
+
const w = Math.min(width, height) / 2;
|
|
1432
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", "white").attr("stroke-width", 3);
|
|
1433
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", "white").attr("stroke-width", 3);
|
|
1434
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", color);
|
|
1435
|
+
g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", color);
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
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) => {
|
|
1439
|
+
event2.target.setAttribute("stroke-opacity", 1);
|
|
1440
|
+
this.showTip_cell(sample, feature);
|
|
1441
|
+
}).on("mouseout", (event2) => {
|
|
1442
|
+
event2.target.setAttribute("stroke-opacity", 0);
|
|
1443
|
+
this.tip.hide();
|
|
1444
|
+
}).on("click", () => {
|
|
1445
|
+
this.click_cell(sample, feature);
|
|
1446
|
+
});
|
|
1447
|
+
}
|
|
1448
|
+
drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel) {
|
|
1449
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1450
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1451
|
+
const loh_range = this.max_loh - this.min_loh;
|
|
1452
|
+
const lst = [];
|
|
1453
|
+
if (cnv.length) {
|
|
1454
|
+
for (const i of cnv) {
|
|
1455
|
+
const maxabslogratio = i.value > 0 ? this.max_cnv : this.min_cnv;
|
|
1456
|
+
let k;
|
|
1457
|
+
if (i.value > 0) {
|
|
1458
|
+
k = { color: feature.cnv.colorgain };
|
|
1459
|
+
} else {
|
|
1460
|
+
k = { color: feature.cnv.colorloss };
|
|
1461
|
+
}
|
|
1462
|
+
k.opacity = Math.abs(i.value / maxabslogratio);
|
|
1463
|
+
lst.push(k);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
if (loh.length) {
|
|
1467
|
+
for (const i of loh) {
|
|
1468
|
+
lst.push({
|
|
1469
|
+
color: feature.loh.color,
|
|
1470
|
+
opacity: (i.segmean - this.min_loh) / loh_range
|
|
1471
|
+
});
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
if (itd.length) {
|
|
1475
|
+
for (const i of itd) {
|
|
1476
|
+
lst.push({ color: feature.itd.color });
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
if (sv.length) {
|
|
1480
|
+
for (const i of sv) {
|
|
1481
|
+
lst.push({ color: feature.sv.color });
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
if (fusion.length) {
|
|
1485
|
+
for (const i of fusion) {
|
|
1486
|
+
lst.push({ color: feature.fusion.color });
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
if (snvindel.length) {
|
|
1490
|
+
for (const i of snvindel) {
|
|
1491
|
+
lst.push({ color: mclass[i.m.class].color });
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
const f_len = this.features_on_rows ? height / lst.length : width / lst.length;
|
|
1495
|
+
let f_start = 0;
|
|
1496
|
+
for (const i of lst) {
|
|
1497
|
+
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");
|
|
1498
|
+
if (i.opacity) r.attr("opacity", i.opacity);
|
|
1499
|
+
f_start += f_len;
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
// __newattr draw cell for new feature
|
|
1503
|
+
/*********** __draw ends *****/
|
|
1504
|
+
async click_cell(sample, feature) {
|
|
1505
|
+
try {
|
|
1506
|
+
let svcnvtk;
|
|
1507
|
+
if (this.iscustom) {
|
|
1508
|
+
svcnvtk = {
|
|
1509
|
+
iscustom: true,
|
|
1510
|
+
type: tkt.mdssvcnv,
|
|
1511
|
+
singlesample: {
|
|
1512
|
+
name: sample.name
|
|
1513
|
+
}
|
|
1514
|
+
};
|
|
1515
|
+
for (const k in this.querykey2tracks) {
|
|
1516
|
+
const t = this.querykey2tracks[k];
|
|
1517
|
+
if (t.type == tkt.mdssvcnv) {
|
|
1518
|
+
svcnvtk.name = t.name || "Custom tk";
|
|
1519
|
+
svcnvtk.file = t.file;
|
|
1520
|
+
svcnvtk.url = t.url;
|
|
1521
|
+
svcnvtk.indexURL = t.indexURL;
|
|
1522
|
+
} else if (t.type == tkt.mdsvcf) {
|
|
1523
|
+
svcnvtk.checkvcf = {
|
|
1524
|
+
file: t.file,
|
|
1525
|
+
url: t.url,
|
|
1526
|
+
indexURL: t.indexURL
|
|
1527
|
+
};
|
|
1528
|
+
} else if (t.type == tkt.mdsexpression) {
|
|
1529
|
+
svcnvtk.checkexpressionrank = {
|
|
1530
|
+
file: t.file,
|
|
1531
|
+
url: t.url,
|
|
1532
|
+
indexURL: t.indexURL
|
|
1533
|
+
};
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
} else {
|
|
1537
|
+
if (!this.mds) throw "not custom but .mds{} missing";
|
|
1538
|
+
for (const querykey in this.mds.queries) {
|
|
1539
|
+
const tk = this.mds.queries[querykey];
|
|
1540
|
+
if (tk.type == tkt.mdssvcnv) {
|
|
1541
|
+
svcnvtk = {
|
|
1542
|
+
mds: this.mds,
|
|
1543
|
+
querykey,
|
|
1544
|
+
singlesample: {
|
|
1545
|
+
name: sample.name
|
|
1546
|
+
}
|
|
1547
|
+
};
|
|
1548
|
+
for (const k in tk) svcnvtk[k] = tk[k];
|
|
1549
|
+
break;
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
if (!svcnvtk) throw "cannot find a svcnv tk";
|
|
1554
|
+
svcnvtk.bplengthUpperLimit = 0;
|
|
1555
|
+
const pane = newpane({ x: 100, y: 100 });
|
|
1556
|
+
const blockarg = {
|
|
1557
|
+
jwt: this.jwt,
|
|
1558
|
+
hostURL: this.hostURL,
|
|
1559
|
+
nobox: 1,
|
|
1560
|
+
genome: this.genome,
|
|
1561
|
+
holder: pane.body,
|
|
1562
|
+
chr: feature.chr,
|
|
1563
|
+
start: feature.start,
|
|
1564
|
+
stop: feature.stop,
|
|
1565
|
+
tklst: []
|
|
1566
|
+
};
|
|
1567
|
+
first_genetrack_tolist(this.genome, blockarg.tklst);
|
|
1568
|
+
blockarg.tklst.push(svcnvtk);
|
|
1569
|
+
if (!this.iscustom) {
|
|
1570
|
+
if (!this.dslabel) throw "not custom but dslabel missing";
|
|
1571
|
+
const par = {
|
|
1572
|
+
genome: this.genome.name,
|
|
1573
|
+
dslabel: this.dslabel,
|
|
1574
|
+
querykey: svcnvtk.querykey,
|
|
1575
|
+
gettrack4singlesample: sample.name
|
|
1576
|
+
};
|
|
1577
|
+
const data = await dofetch("/mdssvcnv", par);
|
|
1578
|
+
if (data.error) throw "Error checking for assay track: " + data.error;
|
|
1579
|
+
if (data.tracks) {
|
|
1580
|
+
for (const t of data.tracks) blockarg.tklst.push(t);
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
const _ = await import("./block-YGQFUK5L.js");
|
|
1584
|
+
new _.Block(blockarg);
|
|
1585
|
+
} catch (e) {
|
|
1586
|
+
window.alert(e.message || e);
|
|
1587
|
+
if (e.stack) console.log(e.stack);
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
/********** __menu and tooltip **********/
|
|
1591
|
+
showTip_feature(f) {
|
|
1592
|
+
this.tip.clear();
|
|
1593
|
+
this.tipContent_feature(f, this.tip.d);
|
|
1594
|
+
this.tip.showunder(event.target);
|
|
1595
|
+
}
|
|
1596
|
+
showMenu_feature(f) {
|
|
1597
|
+
this.menu.showunder(event.target).clear();
|
|
1598
|
+
this.tipContent_feature(f, this.menu.d);
|
|
1599
|
+
this.menu.d.append("div").attr("class", "sja_menuoption").text("Remove this feature").on("click", () => {
|
|
1600
|
+
this.menu.hide();
|
|
1601
|
+
f.legend_tr.remove();
|
|
1602
|
+
this.features.splice(
|
|
1603
|
+
this.features.findIndex((i) => i.id == f.id),
|
|
1604
|
+
1
|
|
1605
|
+
);
|
|
1606
|
+
this.draw_matrix();
|
|
1607
|
+
});
|
|
1608
|
+
if (f.isgenevalue) return showMenu_isgenevalue(this, f);
|
|
1609
|
+
if (f.iscnv) return showMenu_iscnv(this, f, f);
|
|
1610
|
+
if (f.isloh) return showMenu_isloh(this, f, f);
|
|
1611
|
+
if (f.ismutation) return showMenu_ismutation(this, f);
|
|
1612
|
+
if (f.isitd) {
|
|
1613
|
+
return;
|
|
1614
|
+
}
|
|
1615
|
+
if (f.issvfusion) {
|
|
1616
|
+
return;
|
|
1617
|
+
}
|
|
1618
|
+
if (f.issvcnv) {
|
|
1619
|
+
return;
|
|
1620
|
+
}
|
|
1621
|
+
if (f.issampleattribute) {
|
|
1622
|
+
return;
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
tipContent_feature(f, holder) {
|
|
1626
|
+
holder.append("div").text(f.label).style("opacity", 0.5).style("font-size", ".7em").style("margin", "10px");
|
|
1627
|
+
if (f.isgenevalue || f.iscnv || f.isloh || f.isitd || f.issvfusion) {
|
|
1628
|
+
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");
|
|
1629
|
+
} else if (f.issvcnv || f.ismutation) {
|
|
1630
|
+
if (!f.genename) {
|
|
1631
|
+
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");
|
|
1632
|
+
}
|
|
1633
|
+
} else if (f.issampleattribute) {
|
|
1634
|
+
holder.append("div").text(f.label);
|
|
1635
|
+
}
|
|
1636
|
+
if (f.isgenevalue) {
|
|
1637
|
+
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");
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
showTip_sample(sample) {
|
|
1641
|
+
this.tip.clear().d.append("div").text(sample.name).style("padding", "10px").style("font-size", ".7em");
|
|
1642
|
+
const lst = [];
|
|
1643
|
+
for (const f of this.features) {
|
|
1644
|
+
if (lst.length > 10) {
|
|
1645
|
+
lst.push({ k: "more", v: "..." });
|
|
1646
|
+
break;
|
|
1647
|
+
}
|
|
1648
|
+
if (f.isgenevalue) {
|
|
1649
|
+
const v = f.items.find((i) => i.sample == sample.name);
|
|
1650
|
+
lst.push({ k: f.label, v: v ? v.value : saynovalue });
|
|
1651
|
+
continue;
|
|
1652
|
+
}
|
|
1653
|
+
if (f.iscnv) {
|
|
1654
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1655
|
+
let text;
|
|
1656
|
+
if (items.length == 0) {
|
|
1657
|
+
text = saynovalue;
|
|
1658
|
+
} else {
|
|
1659
|
+
const lst2 = items.map((i) => {
|
|
1660
|
+
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>";
|
|
1661
|
+
});
|
|
1662
|
+
text = lst2.join("");
|
|
1663
|
+
}
|
|
1664
|
+
lst.push({ k: f.label, v: text });
|
|
1665
|
+
continue;
|
|
1666
|
+
}
|
|
1667
|
+
if (f.isloh) {
|
|
1668
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1669
|
+
let text;
|
|
1670
|
+
if (items.length == 0) {
|
|
1671
|
+
text = saynovalue;
|
|
1672
|
+
} else {
|
|
1673
|
+
const lst2 = items.map((i) => {
|
|
1674
|
+
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>";
|
|
1675
|
+
});
|
|
1676
|
+
text = lst2.join("");
|
|
1677
|
+
}
|
|
1678
|
+
lst.push({ k: f.label, v: text });
|
|
1679
|
+
continue;
|
|
1680
|
+
}
|
|
1681
|
+
if (f.isvcf) {
|
|
1682
|
+
const mlst = getitemforsample_vcf(f, sample);
|
|
1683
|
+
let text;
|
|
1684
|
+
if (mlst.length == 0) {
|
|
1685
|
+
text = saynovalue;
|
|
1686
|
+
} else {
|
|
1687
|
+
text = mlst.map((m) => {
|
|
1688
|
+
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>";
|
|
1689
|
+
}).join("");
|
|
1690
|
+
}
|
|
1691
|
+
lst.push({ k: f.label, v: text });
|
|
1692
|
+
continue;
|
|
1693
|
+
}
|
|
1694
|
+
if (f.isitd) {
|
|
1695
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1696
|
+
let text;
|
|
1697
|
+
if (items.length == 0) {
|
|
1698
|
+
text = saynovalue;
|
|
1699
|
+
} else {
|
|
1700
|
+
text = '<div style="background:' + f.color + ';width:20px"> </div>';
|
|
1701
|
+
}
|
|
1702
|
+
lst.push({ k: f.label, v: text });
|
|
1703
|
+
continue;
|
|
1704
|
+
}
|
|
1705
|
+
if (f.issvfusion) {
|
|
1706
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1707
|
+
let text;
|
|
1708
|
+
if (items.length == 0) {
|
|
1709
|
+
text = saynovalue;
|
|
1710
|
+
} else {
|
|
1711
|
+
text = '<div style="background:' + f.color + ';width:20px"> </div>';
|
|
1712
|
+
}
|
|
1713
|
+
lst.push({ k: f.label, v: text });
|
|
1714
|
+
continue;
|
|
1715
|
+
}
|
|
1716
|
+
if (f.issvcnv) {
|
|
1717
|
+
continue;
|
|
1718
|
+
}
|
|
1719
|
+
if (f.ismutation) {
|
|
1720
|
+
continue;
|
|
1721
|
+
}
|
|
1722
|
+
if (f.issampleattribute) {
|
|
1723
|
+
const item = f.items.find((i) => i.sample == sample.name);
|
|
1724
|
+
if (item) {
|
|
1725
|
+
lst.push({ k: f.label, v: item.value });
|
|
1726
|
+
}
|
|
1727
|
+
continue;
|
|
1728
|
+
}
|
|
1729
|
+
console.error("sample tooltip: Unknown feature type");
|
|
1730
|
+
}
|
|
1731
|
+
make_table_2col(this.tip.d, lst);
|
|
1732
|
+
this.tip.show(event.clientX, event.clientY);
|
|
1733
|
+
}
|
|
1734
|
+
showTip_cell(sample, f) {
|
|
1735
|
+
const lst = [{ k: "sample", v: sample.name }];
|
|
1736
|
+
if (f.isgenevalue) {
|
|
1737
|
+
const v = f.items.find((i) => i.sample == sample.name);
|
|
1738
|
+
lst.push({ k: f.label, v: v ? v.value : saynovalue });
|
|
1739
|
+
} else if (f.iscnv) {
|
|
1740
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1741
|
+
let text;
|
|
1742
|
+
if (items.length == 0) {
|
|
1743
|
+
text = saynovalue;
|
|
1744
|
+
} else {
|
|
1745
|
+
const lst2 = items.map((i) => {
|
|
1746
|
+
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>";
|
|
1747
|
+
});
|
|
1748
|
+
text = lst2.join("");
|
|
1749
|
+
}
|
|
1750
|
+
lst.push({ k: f.label, v: text });
|
|
1751
|
+
} else if (f.isloh) {
|
|
1752
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1753
|
+
let text;
|
|
1754
|
+
if (items.length == 0) {
|
|
1755
|
+
text = saynovalue;
|
|
1756
|
+
} else {
|
|
1757
|
+
const lst2 = items.map((i) => {
|
|
1758
|
+
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>";
|
|
1759
|
+
});
|
|
1760
|
+
text = lst2.join("");
|
|
1761
|
+
}
|
|
1762
|
+
lst.push({ k: f.label, v: text });
|
|
1763
|
+
} else if (f.isvcf) {
|
|
1764
|
+
const mlst = getitemforsample_vcf(f, sample);
|
|
1765
|
+
let text;
|
|
1766
|
+
if (mlst.length == 0) {
|
|
1767
|
+
text = saynovalue;
|
|
1768
|
+
} else {
|
|
1769
|
+
text = mlst.map((m) => {
|
|
1770
|
+
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>";
|
|
1771
|
+
}).join("");
|
|
1772
|
+
}
|
|
1773
|
+
lst.push({ k: f.label, v: text });
|
|
1774
|
+
} else if (f.isitd) {
|
|
1775
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1776
|
+
let text;
|
|
1777
|
+
if (items.length == 0) {
|
|
1778
|
+
text = saynovalue;
|
|
1779
|
+
} else {
|
|
1780
|
+
const lst2 = items.map((i) => {
|
|
1781
|
+
return "<div>" + i.chr + ":" + i.start + "-" + i.stop + " </div>";
|
|
1782
|
+
});
|
|
1783
|
+
text = lst2.join("");
|
|
1784
|
+
}
|
|
1785
|
+
lst.push({ k: f.label, v: text });
|
|
1786
|
+
} else if (f.issvfusion) {
|
|
1787
|
+
const items = f.items.filter((i) => i.sample == sample.name);
|
|
1788
|
+
let text;
|
|
1789
|
+
if (items.length == 0) {
|
|
1790
|
+
text = saynovalue;
|
|
1791
|
+
} else {
|
|
1792
|
+
const lst2 = items.map((i) => {
|
|
1793
|
+
return "<div>" + i.chrA + ":" + i.posA + " - " + i.chrB + ":" + i.posB + " </div>";
|
|
1794
|
+
});
|
|
1795
|
+
text = lst2.join("");
|
|
1796
|
+
}
|
|
1797
|
+
lst.push({ k: f.label, v: text });
|
|
1798
|
+
} else if (f.issvcnv || f.ismutation) {
|
|
1799
|
+
const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(f, sample);
|
|
1800
|
+
if (cnv.length) {
|
|
1801
|
+
lst.push({
|
|
1802
|
+
k: (f.genename || f.label) + " CNV",
|
|
1803
|
+
v: cnv.map((i) => {
|
|
1804
|
+
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>";
|
|
1805
|
+
}).join("")
|
|
1806
|
+
});
|
|
1807
|
+
}
|
|
1808
|
+
if (loh.length) {
|
|
1809
|
+
lst.push({
|
|
1810
|
+
k: (f.genename || f.label) + " LOH",
|
|
1811
|
+
v: loh.map((i) => {
|
|
1812
|
+
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>";
|
|
1813
|
+
}).join("")
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
if (itd.length) {
|
|
1817
|
+
lst.push({
|
|
1818
|
+
k: (f.genename || f.label) + " ITD",
|
|
1819
|
+
v: itd.map((i) => {
|
|
1820
|
+
return '<div style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + "</div>";
|
|
1821
|
+
}).join("")
|
|
1822
|
+
});
|
|
1823
|
+
}
|
|
1824
|
+
if (sv.length) {
|
|
1825
|
+
lst.push({
|
|
1826
|
+
k: (f.genename || f.label) + " SV",
|
|
1827
|
+
v: sv.map((i) => {
|
|
1828
|
+
return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " > " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
|
|
1829
|
+
}).join("")
|
|
1830
|
+
});
|
|
1831
|
+
}
|
|
1832
|
+
if (fusion.length) {
|
|
1833
|
+
lst.push({
|
|
1834
|
+
k: (f.genename || f.label) + " fusion",
|
|
1835
|
+
v: fusion.map((i) => {
|
|
1836
|
+
return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " > " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
|
|
1837
|
+
}).join("")
|
|
1838
|
+
});
|
|
1839
|
+
}
|
|
1840
|
+
if (snvindel.length) {
|
|
1841
|
+
lst.push({
|
|
1842
|
+
k: (f.genename || f.label) + " SNV/indel",
|
|
1843
|
+
v: snvindel.map((m) => {
|
|
1844
|
+
const c = mclass[m.m.class];
|
|
1845
|
+
return '<div><span style="color:' + c.color + '">' + (m.m.mname || "") + '</span> <span style="font-size:.7em;opacity:.5">' + c.label + "</span></div>";
|
|
1846
|
+
}).join("")
|
|
1847
|
+
});
|
|
1848
|
+
}
|
|
1849
|
+
} else if (f.issampleattribute) {
|
|
1850
|
+
const item = f.items.find((i) => i.sample == sample.name);
|
|
1851
|
+
if (item) {
|
|
1852
|
+
lst.push({
|
|
1853
|
+
k: f.label,
|
|
1854
|
+
v: item.value
|
|
1855
|
+
});
|
|
1856
|
+
}
|
|
1857
|
+
} else {
|
|
1858
|
+
console.error("cell tooltip: unknown feature type");
|
|
1859
|
+
}
|
|
1860
|
+
this.tip.clear();
|
|
1861
|
+
make_table_2col(this.tip.d, lst);
|
|
1862
|
+
this.tip.show(event.clientX, event.clientY);
|
|
1863
|
+
}
|
|
1864
|
+
/********** __menu ends **********/
|
|
1865
|
+
sortsamplesbyfeatures() {
|
|
1866
|
+
const sortbygenevalue = this.features.find((f) => f.isgenevalue && f.sort);
|
|
1867
|
+
if (sortbygenevalue && sortbygenevalue.items) {
|
|
1868
|
+
const sample2value = /* @__PURE__ */ new Map();
|
|
1869
|
+
for (const i of sortbygenevalue.items) {
|
|
1870
|
+
sample2value.set(i.sample, i.value);
|
|
1871
|
+
}
|
|
1872
|
+
this.samples.sort((i, j) => {
|
|
1873
|
+
const vi = sample2value.has(i.name) ? sample2value.get(i.name) : sortbygenevalue.missingvalue;
|
|
1874
|
+
const vj = sample2value.has(j.name) ? sample2value.get(j.name) : sortbygenevalue.missingvalue;
|
|
1875
|
+
return vj - vi;
|
|
1876
|
+
});
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
may_init_customvcf(tk) {
|
|
1880
|
+
if (tk.info) return;
|
|
1881
|
+
const arg = ["genome=" + this.genome.name];
|
|
1882
|
+
if (tk.file) {
|
|
1883
|
+
arg.push("file=" + tk.file);
|
|
1884
|
+
} else {
|
|
1885
|
+
arg.push("url=" + tk.url);
|
|
1886
|
+
if (tk.indexURL) arg.push("indexURL=" + tk.indexURL);
|
|
1887
|
+
}
|
|
1888
|
+
return dofetch2("vcfheader?" + arg.join("&")).then((data) => {
|
|
1889
|
+
const [info, format, samples, errs] = vcfparsemeta(data.metastr.split("\n"));
|
|
1890
|
+
if (errs) throw "Error parsing VCF meta lines: " + errs.join("; ");
|
|
1891
|
+
tk.info = info;
|
|
1892
|
+
tk.format = format;
|
|
1893
|
+
tk.samples = samples;
|
|
1894
|
+
tk.nochr = data.nochr;
|
|
1895
|
+
});
|
|
1896
|
+
}
|
|
1897
|
+
drawEmptycell(sample, feature, g) {
|
|
1898
|
+
const height = this.features_on_rows ? feature.height : sample.height;
|
|
1899
|
+
const width = this.features_on_rows ? sample.width : feature.width;
|
|
1900
|
+
if (height < 5) return;
|
|
1901
|
+
g.append("line").attr("x2", width).attr("y2", height).attr("stroke", "#ededed");
|
|
1902
|
+
}
|
|
1903
|
+
// end of class
|
|
1904
|
+
};
|
|
1905
|
+
function feature2arg(f) {
|
|
1906
|
+
if (f.isgenevalue) {
|
|
1907
|
+
return {
|
|
1908
|
+
id: f.id,
|
|
1909
|
+
isgenevalue: 1,
|
|
1910
|
+
querykey: f.querykey,
|
|
1911
|
+
genename: f.genename,
|
|
1912
|
+
chr: f.chr,
|
|
1913
|
+
start: f.start,
|
|
1914
|
+
stop: f.stop
|
|
1915
|
+
};
|
|
1916
|
+
}
|
|
1917
|
+
if (f.iscnv) {
|
|
1918
|
+
return {
|
|
1919
|
+
id: f.id,
|
|
1920
|
+
iscnv: 1,
|
|
1921
|
+
querykey: f.querykey,
|
|
1922
|
+
chr: f.chr,
|
|
1923
|
+
start: f.start,
|
|
1924
|
+
stop: f.stop,
|
|
1925
|
+
valuecutoff: f.valuecutoff,
|
|
1926
|
+
focalsizelimit: f.focalsizelimit
|
|
1927
|
+
};
|
|
1928
|
+
}
|
|
1929
|
+
if (f.isloh) {
|
|
1930
|
+
return {
|
|
1931
|
+
id: f.id,
|
|
1932
|
+
isloh: 1,
|
|
1933
|
+
querykey: f.querykey,
|
|
1934
|
+
chr: f.chr,
|
|
1935
|
+
start: f.start,
|
|
1936
|
+
stop: f.stop,
|
|
1937
|
+
valuecutoff: f.valuecutoff,
|
|
1938
|
+
focalsizelimit: f.focalsizelimit
|
|
1939
|
+
};
|
|
1940
|
+
}
|
|
1941
|
+
if (f.isvcf) {
|
|
1942
|
+
return {
|
|
1943
|
+
id: f.id,
|
|
1944
|
+
isvcf: 1,
|
|
1945
|
+
querykey: f.querykey,
|
|
1946
|
+
chr: f.chr,
|
|
1947
|
+
start: f.start,
|
|
1948
|
+
stop: f.stop,
|
|
1949
|
+
snvindel: {
|
|
1950
|
+
excludeclasses: f.snvindel.excludeclasses
|
|
1951
|
+
}
|
|
1952
|
+
};
|
|
1953
|
+
}
|
|
1954
|
+
if (f.isitd) {
|
|
1955
|
+
return {
|
|
1956
|
+
id: f.id,
|
|
1957
|
+
isitd: 1,
|
|
1958
|
+
querykey: f.querykey,
|
|
1959
|
+
chr: f.chr,
|
|
1960
|
+
start: f.start,
|
|
1961
|
+
stop: f.stop
|
|
1962
|
+
};
|
|
1963
|
+
}
|
|
1964
|
+
if (f.issvfusion) {
|
|
1965
|
+
return {
|
|
1966
|
+
id: f.id,
|
|
1967
|
+
issvfusion: 1,
|
|
1968
|
+
querykey: f.querykey,
|
|
1969
|
+
chr: f.chr,
|
|
1970
|
+
start: f.start,
|
|
1971
|
+
stop: f.stop
|
|
1972
|
+
};
|
|
1973
|
+
}
|
|
1974
|
+
if (f.issvcnv || f.ismutation) {
|
|
1975
|
+
const arg = {
|
|
1976
|
+
id: f.id,
|
|
1977
|
+
chr: f.chr,
|
|
1978
|
+
start: f.start,
|
|
1979
|
+
stop: f.stop,
|
|
1980
|
+
cnv: {
|
|
1981
|
+
hidden: f.cnv.hidden,
|
|
1982
|
+
valuecutoff: f.cnv.valuecutoff,
|
|
1983
|
+
focalsizelimit: f.cnv.focalsizelimit
|
|
1984
|
+
},
|
|
1985
|
+
loh: {
|
|
1986
|
+
hidden: f.loh.hidden,
|
|
1987
|
+
valuecutoff: f.loh.valuecutoff,
|
|
1988
|
+
focalsizelimit: f.loh.focalsizelimit
|
|
1989
|
+
},
|
|
1990
|
+
itd: {
|
|
1991
|
+
hidden: f.itd.hidden
|
|
1992
|
+
},
|
|
1993
|
+
sv: {
|
|
1994
|
+
hidden: f.sv.hidden
|
|
1995
|
+
},
|
|
1996
|
+
fusion: {
|
|
1997
|
+
hidden: f.fusion.hidden
|
|
1998
|
+
},
|
|
1999
|
+
snvindel: {
|
|
2000
|
+
excludeclasses: f.snvindel.excludeclasses
|
|
2001
|
+
}
|
|
2002
|
+
};
|
|
2003
|
+
if (f.issvcnv) {
|
|
2004
|
+
arg.issvcnv = 1;
|
|
2005
|
+
arg.querykey = f.querykey;
|
|
2006
|
+
} else {
|
|
2007
|
+
arg.ismutation = 1;
|
|
2008
|
+
arg.querykeylst = f.querykeylst;
|
|
2009
|
+
}
|
|
2010
|
+
return arg;
|
|
2011
|
+
}
|
|
2012
|
+
if (f.issampleattribute) {
|
|
2013
|
+
return {
|
|
2014
|
+
id: f.id,
|
|
2015
|
+
issampleattribute: 1,
|
|
2016
|
+
key: f.key
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
throw "unknown feature type in making request parameter";
|
|
2020
|
+
}
|
|
2021
|
+
function getitemforsample_vcf(feature, sample) {
|
|
2022
|
+
const mlst = [];
|
|
2023
|
+
for (const m of feature.items) {
|
|
2024
|
+
if (m.dt == dtsnvindel) {
|
|
2025
|
+
if (m.sampledata.findIndex((i) => i.sampleobj.name == sample.name) != -1) {
|
|
2026
|
+
mlst.push(m);
|
|
2027
|
+
}
|
|
2028
|
+
} else {
|
|
2029
|
+
console.error("getitemforsample_vcf: unknown dt");
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
return mlst;
|
|
2033
|
+
}
|
|
2034
|
+
function getitemforsample_compound(feature, sample) {
|
|
2035
|
+
const cnv = [], loh = [], itd = [], sv = [], fusion = [], snvindel = [];
|
|
2036
|
+
for (const item of feature.items) {
|
|
2037
|
+
if (item.dt == dtsnvindel) {
|
|
2038
|
+
if (!item.sampledata) continue;
|
|
2039
|
+
const m_sample = item.sampledata.find((s) => s.sampleobj.name == sample.name);
|
|
2040
|
+
if (!m_sample) continue;
|
|
2041
|
+
snvindel.push({
|
|
2042
|
+
m: item,
|
|
2043
|
+
m_sample
|
|
2044
|
+
});
|
|
2045
|
+
continue;
|
|
2046
|
+
}
|
|
2047
|
+
if (item.sample != sample.name) continue;
|
|
2048
|
+
if (item.dt == dtcnv) {
|
|
2049
|
+
cnv.push(item);
|
|
2050
|
+
} else if (item.dt == dtloh) {
|
|
2051
|
+
loh.push(item);
|
|
2052
|
+
} else if (item.dt == dtitd) {
|
|
2053
|
+
itd.push(item);
|
|
2054
|
+
} else if (item.dt == dtsv) {
|
|
2055
|
+
sv.push(item);
|
|
2056
|
+
} else if (item.dt == dtfusionrna) {
|
|
2057
|
+
fusion.push(item);
|
|
2058
|
+
} else {
|
|
2059
|
+
console.error("unknown dt: " + item.dt);
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
return [cnv, loh, itd, sv, fusion, snvindel];
|
|
2063
|
+
}
|
|
2064
|
+
function initfeature_polymutation(f) {
|
|
2065
|
+
if (!f.width) f.width = 20;
|
|
2066
|
+
if (!f.cnv) f.cnv = {};
|
|
2067
|
+
if (!f.cnv.valuecutoff) f.cnv.valuecutoff = 0.2;
|
|
2068
|
+
if (!Number.isInteger(f.cnv.focalsizelimit)) f.cnv.focalsizelimit = 2e6;
|
|
2069
|
+
if (!f.cnv.colorgain) f.cnv.colorgain = default_cnvgaincolor;
|
|
2070
|
+
if (!f.cnv.colorloss) f.cnv.colorloss = default_cnvlosscolor;
|
|
2071
|
+
if (!f.loh) f.loh = {};
|
|
2072
|
+
if (!f.loh.valuecutoff) f.loh.valuecutoff = 0.1;
|
|
2073
|
+
if (!Number.isInteger(f.loh.focalsizelimit)) f.loh.focalsizelimit = 2e6;
|
|
2074
|
+
if (!f.loh.color) f.loh.color = default_lohcolor;
|
|
2075
|
+
if (!f.itd) f.itd = {};
|
|
2076
|
+
if (!f.itd.color) f.itd.color = mclass[mclassitd].color;
|
|
2077
|
+
if (!f.sv) f.sv = {};
|
|
2078
|
+
if (!f.sv.color) f.sv.color = default_svcolor;
|
|
2079
|
+
if (!f.fusion) f.fusion = {};
|
|
2080
|
+
if (!f.fusion.color) f.fusion.color = default_svcolor;
|
|
2081
|
+
if (!f.snvindel) f.snvindel = {};
|
|
2082
|
+
if (!f.snvindel.excludeclasses) f.snvindel.excludeclasses = {};
|
|
2083
|
+
}
|
|
2084
|
+
function init_controlui(o) {
|
|
2085
|
+
const buttonrow = o.holder.append("div").style("margin-bottom", "5px");
|
|
2086
|
+
const folderdiv = o.holder.append("div").style("margin-bottom", "20px");
|
|
2087
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("LEGEND").attr("class", "sja_clbtext").on("click", () => {
|
|
2088
|
+
if (o.legendtable.style("display") == "none") {
|
|
2089
|
+
appear(o.legendtable);
|
|
2090
|
+
} else {
|
|
2091
|
+
disappear(o.legendtable);
|
|
2092
|
+
}
|
|
2093
|
+
});
|
|
2094
|
+
o.legendtable = folderdiv.append("table").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("border-spacing", "10px").style("display", "none");
|
|
2095
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("CONFIG").attr("class", "sja_clbtext").on("click", () => {
|
|
2096
|
+
if (generalconfig.style("display") == "none") {
|
|
2097
|
+
appear(generalconfig);
|
|
2098
|
+
} else {
|
|
2099
|
+
disappear(generalconfig);
|
|
2100
|
+
}
|
|
2101
|
+
});
|
|
2102
|
+
const generalconfig = folderdiv.append("div").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("display", "none");
|
|
2103
|
+
const row = generalconfig.append("div").style("margin", "5px");
|
|
2104
|
+
row.append("div").style("vertical-align", "top").style("display", "inline-block").html("Show features as ");
|
|
2105
|
+
const opts_div = row.append("div").style("display", "inline-block");
|
|
2106
|
+
const mutation_opts = [
|
|
2107
|
+
{ value: "symbol", text: "CNV on genomic location, others as symbol" },
|
|
2108
|
+
{ value: "proportion", text: "All features as porportion" }
|
|
2109
|
+
];
|
|
2110
|
+
mutation_opts.forEach((opt) => {
|
|
2111
|
+
const opt_div = opts_div.append("div");
|
|
2112
|
+
opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "mutaion_display").attr("value", opt.value).property(
|
|
2113
|
+
"checked",
|
|
2114
|
+
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
|
|
2115
|
+
).on("change", function() {
|
|
2116
|
+
if (opt.value == "symbol" && o.ismutation_allnotsymbolic) return;
|
|
2117
|
+
else if (opt.value == "proportion" && o.ismutation_allsymbolic) return;
|
|
2118
|
+
else if (opt.value == "symbol") {
|
|
2119
|
+
delete o.ismutation_allsymbolic;
|
|
2120
|
+
o.ismutation_allnotsymbolic = true;
|
|
2121
|
+
} else if (opt.value == "proportion") {
|
|
2122
|
+
o.ismutation_allsymbolic = true;
|
|
2123
|
+
delete o.ismutation_allnotsymbolic;
|
|
2124
|
+
} else {
|
|
2125
|
+
return;
|
|
2126
|
+
}
|
|
2127
|
+
o.draw_matrix();
|
|
2128
|
+
});
|
|
2129
|
+
opt_div.append("label").attr("for", opt.value).text(opt.text);
|
|
2130
|
+
});
|
|
2131
|
+
const row2 = generalconfig.append("div").style("margin", "5px");
|
|
2132
|
+
row2.append("div").style("vertical-align", "top").style("display", "inline-block").html("Layout of Matrix ");
|
|
2133
|
+
const opts_div2 = row2.append("div").style("display", "inline-block");
|
|
2134
|
+
const layout_opts = [
|
|
2135
|
+
{ value: "gene_on_row", text: "Genes as Rows" },
|
|
2136
|
+
{ value: "sam_on_row", text: "Samples as Rows" }
|
|
2137
|
+
];
|
|
2138
|
+
layout_opts.forEach((opt) => {
|
|
2139
|
+
const opt_div = opts_div2.append("div");
|
|
2140
|
+
opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "layout").attr("value", opt.value).property(
|
|
2141
|
+
"checked",
|
|
2142
|
+
opt.value == "gene_on_row" && o.features_on_rows ? 1 : opt.value == "sam_on_row" && !o.features_on_rows ? 1 : 0
|
|
2143
|
+
).on("change", function() {
|
|
2144
|
+
if (opt.value == "gene_on_row" && o.features_on_rows) return;
|
|
2145
|
+
else if (opt.value == "sam_on_row" && !o.features_on_rows) return;
|
|
2146
|
+
else if (opt.value == "gene_on_row") {
|
|
2147
|
+
o.features_on_rows = true;
|
|
2148
|
+
if (o.ori_feature_width) o.features.forEach((f) => f.height = o.ori_feature_width);
|
|
2149
|
+
} else {
|
|
2150
|
+
o.features_on_rows = false;
|
|
2151
|
+
if (o.ori_feature_height) o.features.forEach((f) => f.width = o.ori_feature_height);
|
|
2152
|
+
}
|
|
2153
|
+
o.draw_matrix();
|
|
2154
|
+
});
|
|
2155
|
+
opt_div.append("label").attr("for", opt.value).text(opt.text);
|
|
2156
|
+
});
|
|
2157
|
+
buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("DATA").attr("class", "sja_clbtext").on("click", () => {
|
|
2158
|
+
printData(o);
|
|
2159
|
+
});
|
|
2160
|
+
may_add_kmplotbutton(o, buttonrow);
|
|
2161
|
+
}
|
|
2162
|
+
function printData(o) {
|
|
2163
|
+
const lst = ["sample feature varianttype variant"];
|
|
2164
|
+
for (const s of o.samples) {
|
|
2165
|
+
for (const f of o.features) {
|
|
2166
|
+
for (const i of f.items) {
|
|
2167
|
+
if (i.sample && i.sample == s.name || i.sampledata && i.sampledata.findIndex((i2) => i2.sampleobj.name == s.name) != -1) {
|
|
2168
|
+
lst.push(s.name + " " + f.label + " " + dt2label[i.dt] + " " + item2string(i));
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
export_data("Matrix data", [{ text: lst.join("\n") }]);
|
|
2174
|
+
}
|
|
2175
|
+
function item2string(i) {
|
|
2176
|
+
if (i.dt == dtsnvindel)
|
|
2177
|
+
return i.mname + " " + mclass[i.class].label + " " + i.chr + "." + i.pos + "." + i.ref + "." + i.alt;
|
|
2178
|
+
if (i.dt == dtfusionrna || i.dt == dtsv)
|
|
2179
|
+
return i.chrA + "." + i.posA + "." + (i.strandA || "") + " > " + i.chrB + "." + i.posB + "." + (i.strandB || "");
|
|
2180
|
+
if (i.dt == dtcnv) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.value;
|
|
2181
|
+
if (i.dt == dtloh) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.segmean;
|
|
2182
|
+
if (i.dt == dtitd) return i.chr + ":" + i.start + "-" + i.stop;
|
|
2183
|
+
return "";
|
|
2184
|
+
}
|
|
2185
|
+
export {
|
|
2186
|
+
Samplematrix
|
|
2187
|
+
};
|
|
2188
|
+
//# sourceMappingURL=samplematrix-36UCHZLC.js.map
|