@sjcrh/proteinpaint-client 2.191.4 → 2.193.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-US2ZAJJJ.js +1373 -0
- package/dist/AIProjectAdmin-QQO2PNAJ.js +958 -0
- package/dist/AIProjectAdmin-QQO2PNAJ.js.map +7 -0
- package/dist/AppHeader-UKB344GC.js +835 -0
- package/dist/BoxPlot-JEBLRKBY.js +1217 -0
- package/dist/BoxPlot-JEBLRKBY.js.map +7 -0
- package/dist/CorrelationVolcano-J3IFVSZB.js +619 -0
- package/dist/DE-PAPJP6AH.js +95 -0
- package/dist/DEinput-YON466QQ.js +301 -0
- package/dist/DifferentialAnalysis-DEUODXGG.js +245 -0
- package/dist/Disco-OZM4S7HF.js +3297 -0
- package/dist/Disco-OZM4S7HF.js.map +7 -0
- package/dist/Disco.UI-VIHYJGYU.js +249 -0
- package/dist/Disco.UI-VIHYJGYU.js.map +7 -0
- package/dist/DmrPlot-DSELMC4E.js +642 -0
- package/dist/GB-MUPI6RL5.js +1151 -0
- package/dist/GB-MUPI6RL5.js.map +7 -0
- package/dist/GeneExpInput-3AQEPTFZ.js +367 -0
- package/dist/GeneExpInput-3AQEPTFZ.js.map +7 -0
- package/dist/HicApp-BP7PSXY2.js +2250 -0
- package/dist/NumBinaryEditor-CHWQT445.js +271 -0
- package/dist/NumBinaryEditor.unit.spec-MXRNK7XH.js +286 -0
- package/dist/NumContEditor-XS3RA7GY.js +109 -0
- package/dist/NumContEditor.unit.spec-662MHSP4.js +169 -0
- package/dist/NumCustomBinEditor-LUVIAXMZ.js +38 -0
- package/dist/NumCustomBinEditor.unit.spec-3D3GY3F4.js +284 -0
- package/dist/NumDiscreteEditor-24W2A5IN.js +179 -0
- package/dist/NumDiscreteEditor.unit.spec-B5T42Z5S.js +202 -0
- package/dist/NumRegularBinEditor-AING4HZ5.js +38 -0
- package/dist/NumRegularBinEditor.unit.spec-UKSVZH2S.js +227 -0
- package/dist/NumSplineEditor-54KNKHJX.js +198 -0
- package/dist/NumSplineEditor.unit.spec-5FTST3Y5.js +199 -0
- package/dist/NumericDensity-C7DQZ5Q5.js +38 -0
- package/dist/NumericDensity.unit.spec-HV6SD3ZS.js +221 -0
- package/dist/NumericHandler-FV3L23EC.js +39 -0
- package/dist/NumericHandler.unit.spec-E72DXVBB.js +219 -0
- package/dist/ProteomeInput-3XTK74SN.js +396 -0
- package/dist/RunChart2-X5FBZVRX.js +758 -0
- package/dist/SC-WE5DG2CQ.js +1127 -0
- package/dist/SC-WE5DG2CQ.js.map +7 -0
- package/dist/Volcano-2USCTLKO.js +1379 -0
- package/dist/WSIViewer-U6VSJUFF.js +48562 -0
- package/dist/WSIViewer-U6VSJUFF.js.map +7 -0
- package/dist/WsiSamplesPlot-VIKSG63U.js +165 -0
- package/dist/adSandbox-VXUJGPD3.js +38 -0
- package/dist/animatedBubbleChart-4P7XLKSB.js +555 -0
- package/dist/animatedBubbleChart-4P7XLKSB.js.map +7 -0
- package/dist/app-KHZT2BVF.js +49 -0
- package/dist/app-XLYH3YPL.js +37 -0
- package/dist/app.js +20 -20
- package/dist/bam-C23ZARYE.js +860 -0
- package/dist/barchart-KGXLYEIP.js +47 -0
- package/dist/barchart.data-7OI5GZZ6.js +22 -0
- package/dist/barchart.events-3KDNIFBG.js +47 -0
- package/dist/barchart.integration.spec-OQYY54AQ.js +2010 -0
- package/dist/barchart.integration.spec-OQYY54AQ.js.map +7 -0
- package/dist/barchart2-AT5FXOUY.js +314 -0
- package/dist/barchart2-AT5FXOUY.js.map +7 -0
- package/dist/bars.renderer-57KSYAAT.js +12 -0
- package/dist/block-TCWYUB4R.js +6226 -0
- package/dist/block-TCWYUB4R.js.map +7 -0
- package/dist/block.init-7FHXQJNE.js +38 -0
- package/dist/block.mds.expressionrank-UGZQK7Z3.js +359 -0
- package/dist/block.mds.geneboxplot-2CQLB4YN.js +828 -0
- package/dist/block.mds.junction-JHPHWVOS.js +1545 -0
- package/dist/block.mds.svcnv-E7P2SVKK.js +6801 -0
- package/dist/block.svg-MVRR3C6V.js +164 -0
- package/dist/block.tk.aicheck-KX46G4TR.js +283 -0
- package/dist/block.tk.ase-WMXI47BF.js +365 -0
- package/dist/block.tk.bam-KFEGVEQQ.js +1906 -0
- package/dist/block.tk.bedgraphdot-P4DBCWFK.js +384 -0
- package/dist/block.tk.bigwig.ui-WJPH2Z7F.js +212 -0
- package/dist/block.tk.hicstraw-RSD6I2NX.js +823 -0
- package/dist/block.tk.junction-VZS2DEDO.js +2364 -0
- package/dist/block.tk.junction.textmatrixui-UCWGHZDI.js +199 -0
- package/dist/block.tk.ld-ERSIIBM2.js +99 -0
- package/dist/block.tk.menu-2ZNXE7CE.js +1029 -0
- package/dist/block.tk.pgv-EJLACCFR.js +944 -0
- package/dist/brainImaging-BMZJY6OT.js +423 -0
- package/dist/brainRegions-RZEBXPAS.js +221 -0
- package/dist/brainRegions-RZEBXPAS.js.map +7 -0
- package/dist/bubbleHeatmap-ERJFMLPK.js +383 -0
- package/dist/bubbleHeatmap-ERJFMLPK.js.map +7 -0
- package/dist/chunk-27FPMFP2.js +54 -0
- package/dist/chunk-3LYZMOLO.js +58 -0
- package/dist/chunk-455XZIIA.js +222 -0
- package/dist/chunk-474DTKP7.js +263 -0
- package/dist/chunk-4AP3O3JW.js +226 -0
- package/dist/chunk-4JWN7E7Q.js +117 -0
- package/dist/chunk-55MOHL3P.js +158 -0
- package/dist/chunk-5CR24RTX.js +381 -0
- package/dist/chunk-5QTJUPFS.js +26 -0
- package/dist/chunk-5TJQ6633.js +291 -0
- package/dist/chunk-5X5LI5YM.js +254 -0
- package/dist/chunk-634MOGE3.js +314 -0
- package/dist/chunk-634MOGE3.js.map +7 -0
- package/dist/chunk-6G4YOMWW.js +1825 -0
- package/dist/chunk-6SCBPP4C.js +95 -0
- package/dist/chunk-6YVEYTNH.js +4269 -0
- package/dist/chunk-6YVEYTNH.js.map +7 -0
- package/dist/chunk-73R5BVCY.js +5067 -0
- package/dist/chunk-73R5BVCY.js.map +7 -0
- package/dist/chunk-74XVBQF7.js +55 -0
- package/dist/chunk-7I3LST7R.js +272 -0
- package/dist/chunk-7KRS7L4U.js +1443 -0
- package/dist/chunk-7KRS7L4U.js.map +7 -0
- package/dist/chunk-ATUYZWHV.js +1289 -0
- package/dist/chunk-ATUYZWHV.js.map +7 -0
- package/dist/chunk-B6U3EDAF.js +448 -0
- package/dist/chunk-B6U3EDAF.js.map +7 -0
- package/dist/chunk-BKPDYW5T.js +177 -0
- package/dist/chunk-BO47H3VP.js +477 -0
- package/dist/chunk-BOO4W7WD.js +482 -0
- package/dist/chunk-C6YT5EM2.js +217 -0
- package/dist/chunk-CDUNE45Q.js +534 -0
- package/dist/chunk-CLN7ANNL.js +216 -0
- package/dist/chunk-CLNSNNQU.js +302 -0
- package/dist/chunk-COYULNJF.js +119 -0
- package/dist/chunk-DBFKUPM6.js +1275 -0
- package/dist/chunk-DNVSEW6P.js +170 -0
- package/dist/chunk-E6XLLQCG.js +299 -0
- package/dist/chunk-E6XLLQCG.js.map +7 -0
- package/dist/chunk-EC3SKPQT.js +446 -0
- package/dist/chunk-EDXQKDVQ.js +368 -0
- package/dist/chunk-EY253UB7.js +448 -0
- package/dist/chunk-EY253UB7.js.map +7 -0
- package/dist/chunk-FABY3ISP.js +176 -0
- package/dist/chunk-FABY3ISP.js.map +7 -0
- package/dist/chunk-FOPHIWFD.js +100 -0
- package/dist/chunk-FVX76DZS.js +203 -0
- package/dist/chunk-FXGE233W.js +2681 -0
- package/dist/chunk-GBXX3AHJ.js +343 -0
- package/dist/chunk-GVCQGWN7.js +34 -0
- package/dist/chunk-HXNUQOGN.js +234 -0
- package/dist/chunk-HXNUQOGN.js.map +7 -0
- package/dist/chunk-HXZSSHEB.js +37 -0
- package/dist/chunk-I73KUUYG.js +287 -0
- package/dist/chunk-IKDWQJZE.js +736 -0
- package/dist/chunk-IVXCWCKS.js +317 -0
- package/dist/chunk-IVXCWCKS.js.map +7 -0
- package/dist/chunk-JEZUPG4J.js +617 -0
- package/dist/chunk-JEZUPG4J.js.map +7 -0
- package/dist/chunk-JWHFMFF2.js +142 -0
- package/dist/chunk-K3OJJZCQ.js +230 -0
- package/dist/chunk-KM4JBR26.js +815 -0
- package/dist/chunk-KNOFEVOJ.js +54 -0
- package/dist/chunk-L7VDSIM7.js +20881 -0
- package/dist/chunk-L7VDSIM7.js.map +7 -0
- package/dist/chunk-LLX3NKB4.js +148 -0
- package/dist/chunk-LQJMCE7G.js +467 -0
- package/dist/chunk-LSWU6EAQ.js +31 -0
- package/dist/chunk-MNIBZTQE.js +146 -0
- package/dist/chunk-MQJVDIQK.js +2786 -0
- package/dist/chunk-N25ENPO3.js +14 -0
- package/dist/chunk-N3JT3KCV.js +399 -0
- package/dist/chunk-N6QEVQZV.js +194 -0
- package/dist/chunk-NJDW6ZQP.js +102 -0
- package/dist/chunk-NLQQIVTC.js +276 -0
- package/dist/chunk-NU2W6B7I.js +833 -0
- package/dist/chunk-NU2W6B7I.js.map +7 -0
- package/dist/chunk-OR43PGBV.js +98 -0
- package/dist/chunk-PWUERAAF.js +182 -0
- package/dist/chunk-PXCFA4ZQ.js +2327 -0
- package/dist/chunk-QSEGY3U5.js +129 -0
- package/dist/chunk-SC6IPDJR.js +6364 -0
- package/dist/chunk-SDMOLIEU.js +1205 -0
- package/dist/chunk-SDMOLIEU.js.map +7 -0
- package/dist/chunk-SOTB4FRE.js +2098 -0
- package/dist/chunk-SOTB4FRE.js.map +7 -0
- package/dist/chunk-T46LHXJW.js +283 -0
- package/dist/chunk-TJYRBEBK.js +2878 -0
- package/dist/chunk-UDL2DEBB.js +50 -0
- package/dist/chunk-UN3O2MNB.js +375 -0
- package/dist/chunk-UN3O2MNB.js.map +7 -0
- package/dist/chunk-UXDVUCXU.js +190 -0
- package/dist/chunk-UXDVUCXU.js.map +7 -0
- package/dist/chunk-VDIVDU3T.js +386 -0
- package/dist/chunk-VQZ2Z5YU.js +587 -0
- package/dist/chunk-VQZ2Z5YU.js.map +7 -0
- package/dist/chunk-VRLC7DAU.js +2833 -0
- package/dist/chunk-VRLC7DAU.js.map +7 -0
- package/dist/chunk-XQSQQSGB.js +1102 -0
- package/dist/chunk-XVXAQ3FI.js +1943 -0
- package/dist/chunk-Y45JIQ5Y.js +1219 -0
- package/dist/chunk-Y45JIQ5Y.js.map +7 -0
- package/dist/chunk-YQMENK5H.js +102 -0
- package/dist/chunk-ZUC4XNWU.js +514 -0
- package/dist/condition-ZPFBPMEZ.js +332 -0
- package/dist/controls-LIVMV2GV.js +41 -0
- package/dist/controls.config-2EOMBN5E.js +39 -0
- package/dist/correlation-D6GAPOP5.js +102 -0
- package/dist/correlation-D6GAPOP5.js.map +7 -0
- package/dist/cuminc-GPFDRNUP.js +1149 -0
- package/dist/cuminc.integration.spec-V4JYKLA6.js +678 -0
- package/dist/customdata.inputui-DSEUS3CT.js +289 -0
- package/dist/dataDownload-KT6K3M7Q.js +330 -0
- package/dist/dataDownload.integration.spec-VEX2RTSA.js +193 -0
- package/dist/databrowser.ui-VJKNMIXA.js +433 -0
- package/dist/dictionary-B27BMR5H.js +118 -0
- package/dist/dictionary-B27BMR5H.js.map +7 -0
- package/dist/dnaMethylation-BWQGUXVR.js +38 -0
- package/dist/dnaMethylation.integration.spec-YMGT2HYZ.js +203 -0
- package/dist/dofetch-BMSZZAAQ.js +51 -0
- package/dist/e2pca-KSY4DP53.js +350 -0
- package/dist/ep-4PAYGMWK.js +1256 -0
- package/dist/expclust.gdc.spec-XXFP2HHE.js +307 -0
- package/dist/facet-VCJQ7QPE.js +521 -0
- package/dist/forms2-IUD2SNOQ.js +539 -0
- package/dist/forms2-IUD2SNOQ.js.map +7 -0
- package/dist/gb-JDH242LG.js +88 -0
- package/dist/geneExpClustering-L23JB7XA.js +249 -0
- package/dist/geneExpression-P2ERCRXO.js +313 -0
- package/dist/geneExpression-QGPVFAN4.js +38 -0
- package/dist/geneExpression.unit.spec-6BQBM6VL.js +102 -0
- package/dist/geneORA-XIMJP665.js +278 -0
- package/dist/geneRanking-AJH5G22J.js +551 -0
- package/dist/geneVariant-AUUZ7S2B.js +41 -0
- package/dist/geneVariant-H6BGRRON.js +39 -0
- package/dist/geneVariant.integration.spec-FRCH6VI4.js +198 -0
- package/dist/genefusion.ui-AAJ37VFA.js +309 -0
- package/dist/geneset-5ARBBUYH.js +208 -0
- package/dist/genomeBrowser.spec-RV7YBSMZ.js +281 -0
- package/dist/grin2-4MYLICII.js +75 -0
- package/dist/grin2-4MYLICII.js.map +7 -0
- package/dist/grin2-RBK4NI6W.js +967 -0
- package/dist/grin2-RBK4NI6W.js.map +7 -0
- package/dist/gsea-XUMCVLFK.js +47 -0
- package/dist/hierCluster-HXOTNMC5.js +63 -0
- package/dist/hierCluster-PEDY7OTZ.js +59 -0
- package/dist/hierCluster.config-RKYCGNWW.js +40 -0
- package/dist/hierCluster.integration.spec-YKMAT7UU.js +395 -0
- package/dist/hierCluster.interactivity-LPTHVWHR.js +54 -0
- package/dist/hierCluster.renderers-4XWKHCNW.js +21 -0
- package/dist/imagePlot-3DF7ZH3U.js +163 -0
- package/dist/importPlot-N74SV3TL.js +8 -0
- package/dist/isoformExpression-FU7Y4OGU.js +40 -0
- package/dist/isoformExpression.unit.spec-BLQDKV37.js +208 -0
- package/dist/launch.adhoc-Y35FZV6H.js +42 -0
- package/dist/leftlabel.sample-ERJGAYTF.js +264 -0
- package/dist/leftlabel.sample-ERJGAYTF.js.map +7 -0
- package/dist/legacyDataset-TNIIJABK.js +119 -0
- package/dist/lollipop-DU37Q5E2.js +171 -0
- package/dist/maf-NRLSNDOT.js +452 -0
- package/dist/maftimeline-GRXGOOSJ.js +593 -0
- package/dist/matrix-G3BULZ7Y.js +58 -0
- package/dist/matrix-TCTX26A4.js +63 -0
- package/dist/matrix.cells-ED6RS5EC.js +28 -0
- package/dist/matrix.config-QHO2YNOT.js +41 -0
- package/dist/matrix.data-KQFMXWRX.js +25 -0
- package/dist/matrix.groups-RE74EFLY.js +27 -0
- package/dist/matrix.integration.spec-Y4FCZ2Q2.js +3072 -0
- package/dist/matrix.interactivity-3DW5WAM3.js +42 -0
- package/dist/matrix.layout-W57D765I.js +44 -0
- package/dist/matrix.legend-ZST44PIB.js +22 -0
- package/dist/matrix.renderers-NFRKXO7Y.js +38 -0
- package/dist/matrix.serieses-6ZKTFVWY.js +21 -0
- package/dist/matrix.sort-2UE47IOC.js +27 -0
- package/dist/matrix.sort.unit.spec-5CMWEXPE.js +472 -0
- package/dist/matrix.sorterUi-WC2YX7S7.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-Y2HXWHJN.js +342 -0
- package/dist/mavb-BI4XKI5P.js +732 -0
- package/dist/mds.fimo-UJYESPNC.js +518 -0
- package/dist/mds.samplescatterplot-JKU5B4QR.js +1550 -0
- package/dist/mds.survivalplot-OP7Y4D3L.js +483 -0
- package/dist/numericDictTermCluster-DRIEJJSP.js +72 -0
- package/dist/oncomatrix-A3IE47HV.js +295 -0
- package/dist/oncomatrix.spec-TDWB2ROF.js +448 -0
- package/dist/plot.2dvaf-XY34TDSM.js +377 -0
- package/dist/plot.app-WRCBLYGO.js +41 -0
- package/dist/plot.barplot-RXGOUNHM.js +102 -0
- package/dist/plot.boxplot-GBZGSS3D.js +152 -0
- package/dist/plot.brainImaging-DYPKMNHL.js +51 -0
- package/dist/plot.disco-5K2SCKJ4.js +102 -0
- package/dist/plot.dzi-THJIFHIS.js +33 -0
- package/dist/plot.ssgq-FSIUIV3A.js +139 -0
- package/dist/plot.vaf2cov-HP6KEBVJ.js +259 -0
- package/dist/plot.wsi-MR6JMOXW.js +36 -0
- package/dist/polar2-IT3OF5DX.js +231 -0
- package/dist/polar2-IT3OF5DX.js.map +7 -0
- package/dist/profileForms-XXGJVF2T.js +446 -0
- package/dist/profileForms-XXGJVF2T.js.map +7 -0
- package/dist/profilePlot-J2C35OEY.js +54 -0
- package/dist/proteinView-7FDCILPH.js +1556 -0
- package/dist/proteinView-7FDCILPH.js.map +7 -0
- package/dist/qualitative-N7S2JHZM.js +43 -0
- package/dist/radar2-CDDOQGQX.js +326 -0
- package/dist/radar2-CDDOQGQX.js.map +7 -0
- package/dist/radarFacility2-ZQTHO2ON.js +334 -0
- package/dist/radarFacility2-ZQTHO2ON.js.map +7 -0
- package/dist/regression-PBGAMZAV.js +56 -0
- package/dist/regression.inputs-54E5YKI4.js +48 -0
- package/dist/regression.inputs.term-52MBTMVM.js +48 -0
- package/dist/regression.inputs.values.table-F3FOAYFV.js +45 -0
- package/dist/regression.integration.spec-M4RPJUE4.js +784 -0
- package/dist/regression.results-JOK6I2ZD.js +40 -0
- package/dist/regression.spec-O4HZB2HQ.js +708 -0
- package/dist/report-BDDTM7SV.js +222 -0
- package/dist/sampleScatter.spec-272GLYEK.js +202 -0
- package/dist/sampleView-E6OHEEP4.js +48 -0
- package/dist/samplelst-3LNF3DBG.js +111 -0
- package/dist/samplematrix-HL445X7I.js +2198 -0
- package/dist/sc-4LELHVIS.js +86 -0
- package/dist/scatter-IZIZURQD.js +851 -0
- package/dist/scatter-IZIZURQD.js.map +7 -0
- package/dist/scatter.integration.spec-BBEWMA7M.js +1206 -0
- package/dist/scatter.integration.spec-BBEWMA7M.js.map +7 -0
- package/dist/selectGenomeWithTklst-5LQGT4Z7.js +134 -0
- package/dist/singleCellCellType-T3ZT64EK.js +38 -0
- package/dist/singleCellCellType.unit.spec-AE4IAHOF.js +160 -0
- package/dist/singleCellGeneExpression-SRJXSDEB.js +38 -0
- package/dist/singleCellGeneExpression.unit.spec-EPL73UUO.js +153 -0
- package/dist/singleCellPlot-P2BHFTYZ.js +54 -0
- package/dist/singlecell-32SSD7VN.js +1572 -0
- package/dist/singlecell-7KRD5DP7.js +86 -0
- package/dist/snp-LE5R377N.js +38 -0
- package/dist/snp.unit.spec-UY6KQ5NJ.js +176 -0
- package/dist/snplocus-CP34ABUJ.js +208 -0
- package/dist/spliceevent.a53ss.diagram-JWLWQDNJ.js +151 -0
- package/dist/spliceevent.exonskip.diagram-C5526P7P.js +277 -0
- package/dist/spliceevent.noeventdiagram-352M63YB.js +460 -0
- package/dist/ssGSEA-BFTCECV3.js +38 -0
- package/dist/ssGSEA.unit.spec-4OUCKRDQ.js +88 -0
- package/dist/summarizeCnvGeneexp-Y3AWFIZA.js +163 -0
- package/dist/summarizeGeneexpSurvival-U5JSPG22.js +108 -0
- package/dist/summarizeMutationCnv-KCOVQEBC.js +164 -0
- package/dist/summarizeMutationDiagnosis-EQXEQABW.js +40 -0
- package/dist/summarizeMutationSurvival-4VGLG4SC.js +99 -0
- package/dist/summary-DXYCBNI4.js +49 -0
- package/dist/summary.integration.spec-MZTJISLP.js +414 -0
- package/dist/summaryInput-5Z3XVIL6.js +235 -0
- package/dist/sunburst-WVSQJYP2.js +284 -0
- package/dist/survival-3R3J2JBE.js +46 -0
- package/dist/survival-XQWFVGCJ.js +58 -0
- package/dist/survival.integration.spec-EBDPIBYM.js +821 -0
- package/dist/svgraph-SY2HVMYL.js +1387 -0
- package/dist/svmr-TIIMFKG7.js +3842 -0
- package/dist/table-5RFTXIQL.js +200 -0
- package/dist/termCollection-23QXTZDN.js +38 -0
- package/dist/termCollection-7KXABWVW.js +179 -0
- package/dist/termCollection.unit.spec-4AN2Z4PQ.js +208 -0
- package/dist/tk-WW6PJGPQ.js +46 -0
- package/dist/tp.ui-S5PO3MPH.js +1459 -0
- package/dist/tvs.dt-O7LUM5TK.js +39 -0
- package/dist/tvs.dtcnv.categorical-2OUFOD3W.js +40 -0
- package/dist/tvs.dtcnv.continuous-NOOUY5SZ.js +72 -0
- package/dist/tvs.dtfusion-KXQMP3UF.js +40 -0
- package/dist/tvs.dtsnvindel-PWHFTWZU.js +40 -0
- package/dist/tvs.dtsv-25FLS572.js +40 -0
- package/dist/tvs.numeric-KYAU5OV3.js +21 -0
- package/dist/tvs.samplelst-FLXNJFIV.js +104 -0
- package/dist/tvs.termCollection-PSVOMJE4.js +159 -0
- package/dist/violin-SWMEFWRA.js +46 -0
- package/dist/violin.integration.spec-6EQ6GC2N.js +1425 -0
- package/dist/violin.interactivity-WBIWPLSM.js +38 -0
- package/dist/violin.renderer-3WARZUOH.js +40 -0
- package/dist/vocabulary-WLHYHDX7.js +41 -0
- package/package.json +3 -3
- package/dist/2dmaf-Z3D2M3FB.js +0 -1373
- package/dist/AIProjectAdmin-2OQOQXH4.js +0 -956
- package/dist/AIProjectAdmin-2OQOQXH4.js.map +0 -7
- package/dist/AppHeader-PXLGVCVS.js +0 -835
- package/dist/BoxPlot-PUZKHACO.js +0 -1211
- package/dist/BoxPlot-PUZKHACO.js.map +0 -7
- package/dist/CorrelationVolcano-RO6CFLZA.js +0 -619
- package/dist/DE-CCA5SBJG.js +0 -95
- package/dist/DEinput-MRUQW6X6.js +0 -301
- package/dist/DifferentialAnalysis-5YQQLJKR.js +0 -245
- package/dist/Disco-4FTOJBLG.js +0 -3237
- package/dist/Disco-4FTOJBLG.js.map +0 -7
- package/dist/Disco.UI-IWVSK3RN.js +0 -245
- package/dist/Disco.UI-IWVSK3RN.js.map +0 -7
- package/dist/DmrPlot-FPJJHTM5.js +0 -642
- package/dist/GB-H6JETPRC.js +0 -1130
- package/dist/GB-H6JETPRC.js.map +0 -7
- package/dist/GeneExpInput-Q42COANS.js +0 -366
- package/dist/GeneExpInput-Q42COANS.js.map +0 -7
- package/dist/HicApp-BBD2YOMT.js +0 -2250
- package/dist/NumBinaryEditor-WMSF7HIO.js +0 -271
- package/dist/NumBinaryEditor.unit.spec-QQATLHF7.js +0 -286
- package/dist/NumContEditor-4CSTHVRX.js +0 -109
- package/dist/NumContEditor.unit.spec-2YF3OS3A.js +0 -169
- package/dist/NumCustomBinEditor-KFAYUWYV.js +0 -38
- package/dist/NumCustomBinEditor.unit.spec-YHAUSGPN.js +0 -284
- package/dist/NumDiscreteEditor-F46H5CME.js +0 -179
- package/dist/NumDiscreteEditor.unit.spec-5BIAWAVN.js +0 -202
- package/dist/NumRegularBinEditor-G7KOA7NR.js +0 -38
- package/dist/NumRegularBinEditor.unit.spec-Y6CBCWLN.js +0 -227
- package/dist/NumSplineEditor-JP2V2L4Y.js +0 -198
- package/dist/NumSplineEditor.unit.spec-N34QBZN3.js +0 -199
- package/dist/NumericDensity-JOPHLURB.js +0 -38
- package/dist/NumericDensity.unit.spec-N45PCLOT.js +0 -221
- package/dist/NumericHandler-SIM4E2Z5.js +0 -39
- package/dist/NumericHandler.unit.spec-NKLYDVTG.js +0 -219
- package/dist/ProteomeInput-5KMNE3PZ.js +0 -396
- package/dist/RunChart2-N7AZVQXJ.js +0 -758
- package/dist/SC-M6RGALZM.js +0 -936
- package/dist/SC-M6RGALZM.js.map +0 -7
- package/dist/Volcano-YH4RJTT5.js +0 -1379
- package/dist/WSIViewer-7LOVM3AU.js +0 -48508
- package/dist/WSIViewer-7LOVM3AU.js.map +0 -7
- package/dist/WsiSamplesPlot-QPPB7OOD.js +0 -165
- package/dist/adSandbox-R2QP74P7.js +0 -38
- package/dist/app-AIIN4WDE.js +0 -37
- package/dist/app-FJT5VXMF.js +0 -49
- package/dist/bam-QBO22VQB.js +0 -860
- package/dist/barchart-VDOP6FQU.js +0 -47
- package/dist/barchart.data-Z2E72EET.js +0 -22
- package/dist/barchart.events-NUYQBI5S.js +0 -47
- package/dist/barchart.integration.spec-COVZPXMH.js +0 -1980
- package/dist/barchart.integration.spec-COVZPXMH.js.map +0 -7
- package/dist/barchart2-KMSU4ROO.js +0 -311
- package/dist/barchart2-KMSU4ROO.js.map +0 -7
- package/dist/bars.renderer-JHCZDSM6.js +0 -12
- package/dist/block-TTN2IQAH.js +0 -6202
- package/dist/block-TTN2IQAH.js.map +0 -7
- package/dist/block.init-RRHHCNSR.js +0 -38
- package/dist/block.mds.expressionrank-7NWBRUII.js +0 -359
- package/dist/block.mds.geneboxplot-4BAJJWCC.js +0 -828
- package/dist/block.mds.junction-XRUIHAF5.js +0 -1545
- package/dist/block.mds.svcnv-YZ7PL733.js +0 -6801
- package/dist/block.svg-FUMP2J7A.js +0 -164
- package/dist/block.tk.aicheck-AIZEND45.js +0 -283
- package/dist/block.tk.ase-H26PKO5U.js +0 -365
- package/dist/block.tk.bam-XNZFHSDQ.js +0 -1906
- package/dist/block.tk.bedgraphdot-QTDBLBO2.js +0 -384
- package/dist/block.tk.bigwig.ui-OSRCPTQC.js +0 -212
- package/dist/block.tk.hicstraw-7GH6LVIH.js +0 -823
- package/dist/block.tk.junction-AJYML4AW.js +0 -2364
- package/dist/block.tk.junction.textmatrixui-4RIH3EZI.js +0 -199
- package/dist/block.tk.ld-AJYQ4C6T.js +0 -99
- package/dist/block.tk.menu-57OP5UW5.js +0 -1029
- package/dist/block.tk.pgv-XO7HP5MM.js +0 -944
- package/dist/brainImaging-65QDNR4D.js +0 -423
- package/dist/chunk-2XCUERHJ.js +0 -102
- package/dist/chunk-322QC6R4.js +0 -222
- package/dist/chunk-35SCELN4.js +0 -217
- package/dist/chunk-36EHIPV4.js +0 -514
- package/dist/chunk-3SZ6GKLB.js +0 -14
- package/dist/chunk-3ZLJDFJU.js +0 -368
- package/dist/chunk-4DXZGZOB.js +0 -54
- package/dist/chunk-4UWS5Y3N.js +0 -1438
- package/dist/chunk-4UWS5Y3N.js.map +0 -7
- package/dist/chunk-54EMVNPW.js +0 -102
- package/dist/chunk-57RBC6IZ.js +0 -302
- package/dist/chunk-5OUTR67M.js +0 -37
- package/dist/chunk-67DBIM6H.js +0 -293
- package/dist/chunk-67DBIM6H.js.map +0 -7
- package/dist/chunk-6A3IPDE2.js +0 -1943
- package/dist/chunk-6GN7X6LU.js +0 -2681
- package/dist/chunk-72X7LSBN.js +0 -54
- package/dist/chunk-74ZU4BT6.js +0 -2824
- package/dist/chunk-74ZU4BT6.js.map +0 -7
- package/dist/chunk-7EMWHCVW.js +0 -1825
- package/dist/chunk-7FACFCZK.js +0 -226
- package/dist/chunk-7XFGYYRV.js +0 -371
- package/dist/chunk-7XFGYYRV.js.map +0 -7
- package/dist/chunk-B6CSYKZJ.js +0 -1275
- package/dist/chunk-BDIKFVWZ.js +0 -443
- package/dist/chunk-BDIKFVWZ.js.map +0 -7
- package/dist/chunk-BWGU5NJS.js +0 -291
- package/dist/chunk-C5ZMAQXQ.js +0 -1173
- package/dist/chunk-C5ZMAQXQ.js.map +0 -7
- package/dist/chunk-CC3GFVV6.js +0 -117
- package/dist/chunk-CXQ6KS3Z.js +0 -1348
- package/dist/chunk-CXQ6KS3Z.js.map +0 -7
- package/dist/chunk-DCH54HC5.js +0 -824
- package/dist/chunk-DCH54HC5.js.map +0 -7
- package/dist/chunk-DD4R5P6W.js +0 -177
- package/dist/chunk-DKVUOBIE.js +0 -203
- package/dist/chunk-DR6H3QAA.js +0 -399
- package/dist/chunk-EH4NQ7C4.js +0 -170
- package/dist/chunk-EVN6KWPN.js +0 -50
- package/dist/chunk-FFEIP5CT.js +0 -458
- package/dist/chunk-FFEIP5CT.js.map +0 -7
- package/dist/chunk-FJP77STI.js +0 -158
- package/dist/chunk-FJP77STI.js.map +0 -7
- package/dist/chunk-G6O3URDN.js +0 -467
- package/dist/chunk-GNIK4JYM.js +0 -534
- package/dist/chunk-HKSNADSX.js +0 -477
- package/dist/chunk-I5RAQKKJ.js +0 -129
- package/dist/chunk-IW57W7EQ.js +0 -1210
- package/dist/chunk-IW57W7EQ.js.map +0 -7
- package/dist/chunk-J4SOF2ZH.js +0 -263
- package/dist/chunk-KPJZBCVI.js +0 -272
- package/dist/chunk-KSGA62R2.js +0 -2878
- package/dist/chunk-LTOBEUM2.js +0 -98
- package/dist/chunk-MYF2BWKC.js +0 -205
- package/dist/chunk-MYF2BWKC.js.map +0 -7
- package/dist/chunk-N2SKTCDK.js +0 -148
- package/dist/chunk-NGM3ZLIP.js +0 -230
- package/dist/chunk-NOEAT6CX.js +0 -317
- package/dist/chunk-NOEAT6CX.js.map +0 -7
- package/dist/chunk-NSXZPWRP.js +0 -482
- package/dist/chunk-O3JB4PIX.js +0 -31
- package/dist/chunk-OAWQ6LOO.js +0 -2063
- package/dist/chunk-OAWQ6LOO.js.map +0 -7
- package/dist/chunk-ODG6RD7P.js +0 -254
- package/dist/chunk-OEDZHPBJ.js +0 -58
- package/dist/chunk-ORL44TIK.js +0 -386
- package/dist/chunk-P3IENRWJ.js +0 -613
- package/dist/chunk-P3IENRWJ.js.map +0 -7
- package/dist/chunk-PCZNTK74.js +0 -26
- package/dist/chunk-QH6W3NVF.js +0 -287
- package/dist/chunk-QNETLNPB.js +0 -343
- package/dist/chunk-QQZ3SBF3.js +0 -216
- package/dist/chunk-R2MMURGK.js +0 -2786
- package/dist/chunk-SA7APTJR.js +0 -20792
- package/dist/chunk-SA7APTJR.js.map +0 -7
- package/dist/chunk-SHWLROJG.js +0 -283
- package/dist/chunk-SKREEF3H.js +0 -184
- package/dist/chunk-SKREEF3H.js.map +0 -7
- package/dist/chunk-TOU7EVFQ.js +0 -396
- package/dist/chunk-TOU7EVFQ.js.map +0 -7
- package/dist/chunk-UGVNZMLU.js +0 -4274
- package/dist/chunk-UGVNZMLU.js.map +0 -7
- package/dist/chunk-UI7OCM2A.js +0 -815
- package/dist/chunk-UJKW42DI.js +0 -6364
- package/dist/chunk-ULPMYS5B.js +0 -100
- package/dist/chunk-UOVALHAJ.js +0 -182
- package/dist/chunk-VGJSASRT.js +0 -446
- package/dist/chunk-VGYTAYFK.js +0 -276
- package/dist/chunk-VHOEJBFP.js +0 -736
- package/dist/chunk-VOUMS6IP.js +0 -1102
- package/dist/chunk-VV36JRUF.js +0 -381
- package/dist/chunk-W55XSG6K.js +0 -142
- package/dist/chunk-W6ME65LV.js +0 -34
- package/dist/chunk-WHI6466S.js +0 -146
- package/dist/chunk-WSDUD52Y.js +0 -55
- package/dist/chunk-XAVNZNXQ.js +0 -95
- package/dist/chunk-XMLURPEP.js +0 -194
- package/dist/chunk-YKXUK7HJ.js +0 -5041
- package/dist/chunk-YKXUK7HJ.js.map +0 -7
- package/dist/chunk-YZK37YCC.js +0 -119
- package/dist/chunk-ZTYNN6G5.js +0 -2327
- package/dist/chunk-ZXTHADSC.js +0 -158
- package/dist/condition-HDVYPJJD.js +0 -332
- package/dist/controls-YEEW46C6.js +0 -41
- package/dist/controls.config-C535H5DL.js +0 -39
- package/dist/correlation-AOSSSSL3.js +0 -99
- package/dist/correlation-AOSSSSL3.js.map +0 -7
- package/dist/cuminc-II7NFIFP.js +0 -1149
- package/dist/cuminc.integration.spec-B4N6OMBJ.js +0 -678
- package/dist/customdata.inputui-AI4ZBIEP.js +0 -289
- package/dist/dataDownload-ZQYLXN6D.js +0 -330
- package/dist/dataDownload.integration.spec-2PKYZ2AY.js +0 -193
- package/dist/databrowser.ui-WGD7D3XV.js +0 -433
- package/dist/dictionary-RYM4WP2W.js +0 -111
- package/dist/dictionary-RYM4WP2W.js.map +0 -7
- package/dist/dnaMethylation-WGJMJL5B.js +0 -38
- package/dist/dnaMethylation.integration.spec-DO3PV4MO.js +0 -203
- package/dist/dofetch-RADX3AFU.js +0 -51
- package/dist/e2pca-KOAAU2JX.js +0 -350
- package/dist/ep-CXCATXYH.js +0 -1256
- package/dist/expclust.gdc.spec-UJO2R3CW.js +0 -307
- package/dist/facet-2FBUAD7P.js +0 -521
- package/dist/forms2-ZBT5BZW3.js +0 -534
- package/dist/forms2-ZBT5BZW3.js.map +0 -7
- package/dist/gb-VCJFV63W.js +0 -88
- package/dist/geneExpClustering-FUNS6D2P.js +0 -249
- package/dist/geneExpression-2BWWGYL4.js +0 -38
- package/dist/geneExpression-2OPFWV2K.js +0 -313
- package/dist/geneExpression.unit.spec-G7BSHJQT.js +0 -102
- package/dist/geneORA-S3KQMBYL.js +0 -278
- package/dist/geneRanking-UZ36XAL7.js +0 -551
- package/dist/geneVariant-OOZ2SBXO.js +0 -41
- package/dist/geneVariant-ZHNVEKQ6.js +0 -39
- package/dist/geneVariant.integration.spec-2C7EWKEV.js +0 -198
- package/dist/genefusion.ui-ASICJNII.js +0 -309
- package/dist/geneset-SNM4M6UM.js +0 -208
- package/dist/genomeBrowser.spec-DJIRW2X7.js +0 -281
- package/dist/grin2-7AOJP5QJ.js +0 -1560
- package/dist/grin2-7AOJP5QJ.js.map +0 -7
- package/dist/grin2-RKJXYWJ5.js +0 -821
- package/dist/grin2-RKJXYWJ5.js.map +0 -7
- package/dist/gsea-SPTQJW67.js +0 -47
- package/dist/hierCluster-KDE5SMYP.js +0 -63
- package/dist/hierCluster-XG4YLVL3.js +0 -59
- package/dist/hierCluster.config-VNEEJCKJ.js +0 -40
- package/dist/hierCluster.integration.spec-SSDN7LSH.js +0 -395
- package/dist/hierCluster.interactivity-DKBSJ644.js +0 -54
- package/dist/hierCluster.renderers-OG6LZAT7.js +0 -21
- package/dist/imagePlot-M5JSHEY4.js +0 -163
- package/dist/importPlot-YH7ZY6RJ.js +0 -8
- package/dist/isoformExpression-EV27MKYZ.js +0 -40
- package/dist/isoformExpression.unit.spec-7T2GOHH3.js +0 -208
- package/dist/launch.adhoc-NOISOX5E.js +0 -42
- package/dist/leftlabel.sample-42AX4KTV.js +0 -260
- package/dist/leftlabel.sample-42AX4KTV.js.map +0 -7
- package/dist/legacyDataset-SWJCAWIR.js +0 -119
- package/dist/lollipop-LQCQBTSX.js +0 -171
- package/dist/maf-U237OWZ3.js +0 -452
- package/dist/maftimeline-NLZLMHT2.js +0 -593
- package/dist/matrix-DZJXYRYN.js +0 -63
- package/dist/matrix-Y5345QQG.js +0 -58
- package/dist/matrix.cells-PT7S74QP.js +0 -28
- package/dist/matrix.config-2ORCUWKX.js +0 -41
- package/dist/matrix.data-C6VPQJJ4.js +0 -25
- package/dist/matrix.groups-CEOCG2CT.js +0 -27
- package/dist/matrix.integration.spec-U4B3JB6N.js +0 -3072
- package/dist/matrix.interactivity-GFLIFIER.js +0 -42
- package/dist/matrix.layout-DOVDHTDX.js +0 -44
- package/dist/matrix.legend-JE4ZSLP7.js +0 -22
- package/dist/matrix.renderers-GPUJQ7KF.js +0 -38
- package/dist/matrix.serieses-REE4DCSR.js +0 -21
- package/dist/matrix.sort-VD5URUWY.js +0 -27
- package/dist/matrix.sort.unit.spec-4IOFVHJN.js +0 -472
- package/dist/matrix.sorterUi-VQYY6KBK.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-V5O2EJBX.js +0 -342
- package/dist/mavb-SQDA3B2B.js +0 -732
- package/dist/mds.fimo-ZJSEPLD7.js +0 -518
- package/dist/mds.samplescatterplot-Y5V73GOY.js +0 -1550
- package/dist/mds.survivalplot-CZBRMHYN.js +0 -483
- package/dist/numericDictTermCluster-TFXBBUVI.js +0 -72
- package/dist/oncomatrix-ZILACPPI.js +0 -295
- package/dist/oncomatrix.spec-RLIVVVD6.js +0 -448
- package/dist/plot.2dvaf-BNRZPIKU.js +0 -377
- package/dist/plot.app-NRUARQCN.js +0 -41
- package/dist/plot.barplot-342AYQC7.js +0 -102
- package/dist/plot.boxplot-OHEJDPTW.js +0 -152
- package/dist/plot.brainImaging-KV72PAON.js +0 -51
- package/dist/plot.disco-OUE4RFHL.js +0 -102
- package/dist/plot.dzi-T3GPUH36.js +0 -33
- package/dist/plot.ssgq-WJHGMXW5.js +0 -139
- package/dist/plot.vaf2cov-NGD5PCV4.js +0 -259
- package/dist/plot.wsi-2MU5BDG3.js +0 -36
- package/dist/polar2-YCWPBPFU.js +0 -226
- package/dist/polar2-YCWPBPFU.js.map +0 -7
- package/dist/profileForms-OV3I6RK7.js +0 -441
- package/dist/profileForms-OV3I6RK7.js.map +0 -7
- package/dist/profilePlot-OMVO3K4H.js +0 -54
- package/dist/proteinView-OAR2RC6U.js +0 -1320
- package/dist/proteinView-OAR2RC6U.js.map +0 -7
- package/dist/qualitative-MEYBRUC6.js +0 -43
- package/dist/radar2-KREAMGVV.js +0 -321
- package/dist/radar2-KREAMGVV.js.map +0 -7
- package/dist/radarFacility2-DBPEV7VC.js +0 -329
- package/dist/radarFacility2-DBPEV7VC.js.map +0 -7
- package/dist/regression-ZPDPLI6G.js +0 -56
- package/dist/regression.inputs-QOSBAGL6.js +0 -48
- package/dist/regression.inputs.term-HMUMPY7X.js +0 -48
- package/dist/regression.inputs.values.table-VMCTZHLG.js +0 -45
- package/dist/regression.integration.spec-RP74JTAA.js +0 -784
- package/dist/regression.results-5XC6M67C.js +0 -40
- package/dist/regression.spec-EZYM24J7.js +0 -708
- package/dist/report-ZOVQCOGQ.js +0 -222
- package/dist/sampleScatter.spec-CD52FEOC.js +0 -202
- package/dist/sampleView-SVTLSWRG.js +0 -48
- package/dist/samplelst-HXF5POJD.js +0 -111
- package/dist/samplematrix-NYDAH74I.js +0 -2198
- package/dist/sc-JIDT4W4K.js +0 -86
- package/dist/scatter-WNRTPSEE.js +0 -849
- package/dist/scatter-WNRTPSEE.js.map +0 -7
- package/dist/scatter.integration.spec-3EYTPY5B.js +0 -1197
- package/dist/scatter.integration.spec-3EYTPY5B.js.map +0 -7
- package/dist/selectGenomeWithTklst-OSB7B6L3.js +0 -134
- package/dist/singleCellCellType-3BH7LWQ6.js +0 -38
- package/dist/singleCellCellType.unit.spec-RU4RJXFF.js +0 -160
- package/dist/singleCellGeneExpression-3UA4YER7.js +0 -38
- package/dist/singleCellGeneExpression.unit.spec-4ZTBG37H.js +0 -153
- package/dist/singleCellPlot-ZUAWK5RE.js +0 -54
- package/dist/singlecell-BGJZB7MF.js +0 -86
- package/dist/singlecell-RO3BL5OO.js +0 -1572
- package/dist/snp-HD7VQKBR.js +0 -38
- package/dist/snp.unit.spec-ISXCLMWW.js +0 -176
- package/dist/snplocus-IL5Z4XWV.js +0 -208
- package/dist/spliceevent.a53ss.diagram-LLJSPV7M.js +0 -151
- package/dist/spliceevent.exonskip.diagram-LAOIOIST.js +0 -277
- package/dist/spliceevent.noeventdiagram-MVA7Q3HT.js +0 -460
- package/dist/ssGSEA-7T6S3DSE.js +0 -38
- package/dist/ssGSEA.unit.spec-XJ3W4NWX.js +0 -88
- package/dist/summarizeCnvGeneexp-RRP6JUV6.js +0 -163
- package/dist/summarizeGeneexpSurvival-AFLHDD6Q.js +0 -108
- package/dist/summarizeMutationCnv-NABUYHMX.js +0 -164
- package/dist/summarizeMutationDiagnosis-2LQ7JU3K.js +0 -40
- package/dist/summarizeMutationSurvival-3WBT5TXG.js +0 -99
- package/dist/summary-FRDKOFXW.js +0 -49
- package/dist/summary.integration.spec-ZLRIA7G2.js +0 -414
- package/dist/summaryInput-4JO6MHP4.js +0 -235
- package/dist/sunburst-DRCVSC2X.js +0 -284
- package/dist/survival-AK75COPY.js +0 -58
- package/dist/survival-IF5NI3A6.js +0 -46
- package/dist/survival.integration.spec-7IWBTPJG.js +0 -821
- package/dist/svgraph-QBDF2SLB.js +0 -1387
- package/dist/svmr-O4GJJUT2.js +0 -3842
- package/dist/table-FQAIXKLE.js +0 -200
- package/dist/termCollection-GMDDL3L7.js +0 -179
- package/dist/termCollection-ZO5PZ7E3.js +0 -38
- package/dist/termCollection.unit.spec-5JBCTXHX.js +0 -208
- package/dist/tk-GJX23IV7.js +0 -46
- package/dist/tp.ui-T7FVMTGQ.js +0 -1459
- package/dist/tvs.dt-X7L7NSU6.js +0 -39
- package/dist/tvs.dtcnv.categorical-73G2V6CH.js +0 -40
- package/dist/tvs.dtcnv.continuous-DWFJL3X7.js +0 -72
- package/dist/tvs.dtfusion-HQADHCSV.js +0 -40
- package/dist/tvs.dtsnvindel-PY5OBMGW.js +0 -40
- package/dist/tvs.dtsv-OTBEEWSW.js +0 -40
- package/dist/tvs.numeric-WGDHEBJV.js +0 -21
- package/dist/tvs.samplelst-LCXSU5MG.js +0 -104
- package/dist/tvs.termCollection-L527XN4X.js +0 -159
- package/dist/violin-6VKRUQV3.js +0 -46
- package/dist/violin.integration.spec-RJATDLQH.js +0 -1425
- package/dist/violin.interactivity-SKF5H7MN.js +0 -38
- package/dist/violin.renderer-GB4TPX3B.js +0 -40
- package/dist/vocabulary-D3W44IWE.js +0 -41
- /package/dist/{2dmaf-Z3D2M3FB.js.map → 2dmaf-US2ZAJJJ.js.map} +0 -0
- /package/dist/{AppHeader-PXLGVCVS.js.map → AppHeader-UKB344GC.js.map} +0 -0
- /package/dist/{CorrelationVolcano-RO6CFLZA.js.map → CorrelationVolcano-J3IFVSZB.js.map} +0 -0
- /package/dist/{DE-CCA5SBJG.js.map → DE-PAPJP6AH.js.map} +0 -0
- /package/dist/{DEinput-MRUQW6X6.js.map → DEinput-YON466QQ.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-5YQQLJKR.js.map → DifferentialAnalysis-DEUODXGG.js.map} +0 -0
- /package/dist/{DmrPlot-FPJJHTM5.js.map → DmrPlot-DSELMC4E.js.map} +0 -0
- /package/dist/{HicApp-BBD2YOMT.js.map → HicApp-BP7PSXY2.js.map} +0 -0
- /package/dist/{NumBinaryEditor-WMSF7HIO.js.map → NumBinaryEditor-CHWQT445.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-QQATLHF7.js.map → NumBinaryEditor.unit.spec-MXRNK7XH.js.map} +0 -0
- /package/dist/{NumContEditor-4CSTHVRX.js.map → NumContEditor-XS3RA7GY.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-2YF3OS3A.js.map → NumContEditor.unit.spec-662MHSP4.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-KFAYUWYV.js.map → NumCustomBinEditor-LUVIAXMZ.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-YHAUSGPN.js.map → NumCustomBinEditor.unit.spec-3D3GY3F4.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-F46H5CME.js.map → NumDiscreteEditor-24W2A5IN.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-5BIAWAVN.js.map → NumDiscreteEditor.unit.spec-B5T42Z5S.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-G7KOA7NR.js.map → NumRegularBinEditor-AING4HZ5.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-Y6CBCWLN.js.map → NumRegularBinEditor.unit.spec-UKSVZH2S.js.map} +0 -0
- /package/dist/{NumSplineEditor-JP2V2L4Y.js.map → NumSplineEditor-54KNKHJX.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-N34QBZN3.js.map → NumSplineEditor.unit.spec-5FTST3Y5.js.map} +0 -0
- /package/dist/{NumericDensity-JOPHLURB.js.map → NumericDensity-C7DQZ5Q5.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-N45PCLOT.js.map → NumericDensity.unit.spec-HV6SD3ZS.js.map} +0 -0
- /package/dist/{NumericHandler-SIM4E2Z5.js.map → NumericHandler-FV3L23EC.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-NKLYDVTG.js.map → NumericHandler.unit.spec-E72DXVBB.js.map} +0 -0
- /package/dist/{ProteomeInput-5KMNE3PZ.js.map → ProteomeInput-3XTK74SN.js.map} +0 -0
- /package/dist/{RunChart2-N7AZVQXJ.js.map → RunChart2-X5FBZVRX.js.map} +0 -0
- /package/dist/{Volcano-YH4RJTT5.js.map → Volcano-2USCTLKO.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-QPPB7OOD.js.map → WsiSamplesPlot-VIKSG63U.js.map} +0 -0
- /package/dist/{adSandbox-R2QP74P7.js.map → adSandbox-VXUJGPD3.js.map} +0 -0
- /package/dist/{app-AIIN4WDE.js.map → app-KHZT2BVF.js.map} +0 -0
- /package/dist/{app-FJT5VXMF.js.map → app-XLYH3YPL.js.map} +0 -0
- /package/dist/{bam-QBO22VQB.js.map → bam-C23ZARYE.js.map} +0 -0
- /package/dist/{barchart-VDOP6FQU.js.map → barchart-KGXLYEIP.js.map} +0 -0
- /package/dist/{barchart.data-Z2E72EET.js.map → barchart.data-7OI5GZZ6.js.map} +0 -0
- /package/dist/{barchart.events-NUYQBI5S.js.map → barchart.events-3KDNIFBG.js.map} +0 -0
- /package/dist/{bars.renderer-JHCZDSM6.js.map → bars.renderer-57KSYAAT.js.map} +0 -0
- /package/dist/{block.init-RRHHCNSR.js.map → block.init-7FHXQJNE.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-7NWBRUII.js.map → block.mds.expressionrank-UGZQK7Z3.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-4BAJJWCC.js.map → block.mds.geneboxplot-2CQLB4YN.js.map} +0 -0
- /package/dist/{block.mds.junction-XRUIHAF5.js.map → block.mds.junction-JHPHWVOS.js.map} +0 -0
- /package/dist/{block.mds.svcnv-YZ7PL733.js.map → block.mds.svcnv-E7P2SVKK.js.map} +0 -0
- /package/dist/{block.svg-FUMP2J7A.js.map → block.svg-MVRR3C6V.js.map} +0 -0
- /package/dist/{block.tk.aicheck-AIZEND45.js.map → block.tk.aicheck-KX46G4TR.js.map} +0 -0
- /package/dist/{block.tk.ase-H26PKO5U.js.map → block.tk.ase-WMXI47BF.js.map} +0 -0
- /package/dist/{block.tk.bam-XNZFHSDQ.js.map → block.tk.bam-KFEGVEQQ.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-QTDBLBO2.js.map → block.tk.bedgraphdot-P4DBCWFK.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-OSRCPTQC.js.map → block.tk.bigwig.ui-WJPH2Z7F.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-7GH6LVIH.js.map → block.tk.hicstraw-RSD6I2NX.js.map} +0 -0
- /package/dist/{block.tk.junction-AJYML4AW.js.map → block.tk.junction-VZS2DEDO.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-4RIH3EZI.js.map → block.tk.junction.textmatrixui-UCWGHZDI.js.map} +0 -0
- /package/dist/{block.tk.ld-AJYQ4C6T.js.map → block.tk.ld-ERSIIBM2.js.map} +0 -0
- /package/dist/{block.tk.menu-57OP5UW5.js.map → block.tk.menu-2ZNXE7CE.js.map} +0 -0
- /package/dist/{block.tk.pgv-XO7HP5MM.js.map → block.tk.pgv-EJLACCFR.js.map} +0 -0
- /package/dist/{brainImaging-65QDNR4D.js.map → brainImaging-BMZJY6OT.js.map} +0 -0
- /package/dist/{chunk-72X7LSBN.js.map → chunk-27FPMFP2.js.map} +0 -0
- /package/dist/{chunk-OEDZHPBJ.js.map → chunk-3LYZMOLO.js.map} +0 -0
- /package/dist/{chunk-322QC6R4.js.map → chunk-455XZIIA.js.map} +0 -0
- /package/dist/{chunk-J4SOF2ZH.js.map → chunk-474DTKP7.js.map} +0 -0
- /package/dist/{chunk-7FACFCZK.js.map → chunk-4AP3O3JW.js.map} +0 -0
- /package/dist/{chunk-CC3GFVV6.js.map → chunk-4JWN7E7Q.js.map} +0 -0
- /package/dist/{chunk-ZXTHADSC.js.map → chunk-55MOHL3P.js.map} +0 -0
- /package/dist/{chunk-VV36JRUF.js.map → chunk-5CR24RTX.js.map} +0 -0
- /package/dist/{chunk-PCZNTK74.js.map → chunk-5QTJUPFS.js.map} +0 -0
- /package/dist/{chunk-BWGU5NJS.js.map → chunk-5TJQ6633.js.map} +0 -0
- /package/dist/{chunk-ODG6RD7P.js.map → chunk-5X5LI5YM.js.map} +0 -0
- /package/dist/{chunk-7EMWHCVW.js.map → chunk-6G4YOMWW.js.map} +0 -0
- /package/dist/{chunk-XAVNZNXQ.js.map → chunk-6SCBPP4C.js.map} +0 -0
- /package/dist/{chunk-WSDUD52Y.js.map → chunk-74XVBQF7.js.map} +0 -0
- /package/dist/{chunk-KPJZBCVI.js.map → chunk-7I3LST7R.js.map} +0 -0
- /package/dist/{chunk-DD4R5P6W.js.map → chunk-BKPDYW5T.js.map} +0 -0
- /package/dist/{chunk-HKSNADSX.js.map → chunk-BO47H3VP.js.map} +0 -0
- /package/dist/{chunk-NSXZPWRP.js.map → chunk-BOO4W7WD.js.map} +0 -0
- /package/dist/{chunk-35SCELN4.js.map → chunk-C6YT5EM2.js.map} +0 -0
- /package/dist/{chunk-GNIK4JYM.js.map → chunk-CDUNE45Q.js.map} +0 -0
- /package/dist/{chunk-QQZ3SBF3.js.map → chunk-CLN7ANNL.js.map} +0 -0
- /package/dist/{chunk-57RBC6IZ.js.map → chunk-CLNSNNQU.js.map} +0 -0
- /package/dist/{chunk-YZK37YCC.js.map → chunk-COYULNJF.js.map} +0 -0
- /package/dist/{chunk-B6CSYKZJ.js.map → chunk-DBFKUPM6.js.map} +0 -0
- /package/dist/{chunk-EH4NQ7C4.js.map → chunk-DNVSEW6P.js.map} +0 -0
- /package/dist/{chunk-VGJSASRT.js.map → chunk-EC3SKPQT.js.map} +0 -0
- /package/dist/{chunk-3ZLJDFJU.js.map → chunk-EDXQKDVQ.js.map} +0 -0
- /package/dist/{chunk-ULPMYS5B.js.map → chunk-FOPHIWFD.js.map} +0 -0
- /package/dist/{chunk-DKVUOBIE.js.map → chunk-FVX76DZS.js.map} +0 -0
- /package/dist/{chunk-6GN7X6LU.js.map → chunk-FXGE233W.js.map} +0 -0
- /package/dist/{chunk-QNETLNPB.js.map → chunk-GBXX3AHJ.js.map} +0 -0
- /package/dist/{chunk-W6ME65LV.js.map → chunk-GVCQGWN7.js.map} +0 -0
- /package/dist/{chunk-5OUTR67M.js.map → chunk-HXZSSHEB.js.map} +0 -0
- /package/dist/{chunk-QH6W3NVF.js.map → chunk-I73KUUYG.js.map} +0 -0
- /package/dist/{chunk-VHOEJBFP.js.map → chunk-IKDWQJZE.js.map} +0 -0
- /package/dist/{chunk-W55XSG6K.js.map → chunk-JWHFMFF2.js.map} +0 -0
- /package/dist/{chunk-NGM3ZLIP.js.map → chunk-K3OJJZCQ.js.map} +0 -0
- /package/dist/{chunk-UI7OCM2A.js.map → chunk-KM4JBR26.js.map} +0 -0
- /package/dist/{chunk-4DXZGZOB.js.map → chunk-KNOFEVOJ.js.map} +0 -0
- /package/dist/{chunk-N2SKTCDK.js.map → chunk-LLX3NKB4.js.map} +0 -0
- /package/dist/{chunk-G6O3URDN.js.map → chunk-LQJMCE7G.js.map} +0 -0
- /package/dist/{chunk-O3JB4PIX.js.map → chunk-LSWU6EAQ.js.map} +0 -0
- /package/dist/{chunk-WHI6466S.js.map → chunk-MNIBZTQE.js.map} +0 -0
- /package/dist/{chunk-R2MMURGK.js.map → chunk-MQJVDIQK.js.map} +0 -0
- /package/dist/{chunk-3SZ6GKLB.js.map → chunk-N25ENPO3.js.map} +0 -0
- /package/dist/{chunk-DR6H3QAA.js.map → chunk-N3JT3KCV.js.map} +0 -0
- /package/dist/{chunk-XMLURPEP.js.map → chunk-N6QEVQZV.js.map} +0 -0
- /package/dist/{chunk-54EMVNPW.js.map → chunk-NJDW6ZQP.js.map} +0 -0
- /package/dist/{chunk-VGYTAYFK.js.map → chunk-NLQQIVTC.js.map} +0 -0
- /package/dist/{chunk-LTOBEUM2.js.map → chunk-OR43PGBV.js.map} +0 -0
- /package/dist/{chunk-UOVALHAJ.js.map → chunk-PWUERAAF.js.map} +0 -0
- /package/dist/{chunk-ZTYNN6G5.js.map → chunk-PXCFA4ZQ.js.map} +0 -0
- /package/dist/{chunk-I5RAQKKJ.js.map → chunk-QSEGY3U5.js.map} +0 -0
- /package/dist/{chunk-UJKW42DI.js.map → chunk-SC6IPDJR.js.map} +0 -0
- /package/dist/{chunk-SHWLROJG.js.map → chunk-T46LHXJW.js.map} +0 -0
- /package/dist/{chunk-KSGA62R2.js.map → chunk-TJYRBEBK.js.map} +0 -0
- /package/dist/{chunk-EVN6KWPN.js.map → chunk-UDL2DEBB.js.map} +0 -0
- /package/dist/{chunk-ORL44TIK.js.map → chunk-VDIVDU3T.js.map} +0 -0
- /package/dist/{chunk-VOUMS6IP.js.map → chunk-XQSQQSGB.js.map} +0 -0
- /package/dist/{chunk-6A3IPDE2.js.map → chunk-XVXAQ3FI.js.map} +0 -0
- /package/dist/{chunk-2XCUERHJ.js.map → chunk-YQMENK5H.js.map} +0 -0
- /package/dist/{chunk-36EHIPV4.js.map → chunk-ZUC4XNWU.js.map} +0 -0
- /package/dist/{condition-HDVYPJJD.js.map → condition-ZPFBPMEZ.js.map} +0 -0
- /package/dist/{controls-YEEW46C6.js.map → controls-LIVMV2GV.js.map} +0 -0
- /package/dist/{controls.config-C535H5DL.js.map → controls.config-2EOMBN5E.js.map} +0 -0
- /package/dist/{cuminc-II7NFIFP.js.map → cuminc-GPFDRNUP.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-B4N6OMBJ.js.map → cuminc.integration.spec-V4JYKLA6.js.map} +0 -0
- /package/dist/{customdata.inputui-AI4ZBIEP.js.map → customdata.inputui-DSEUS3CT.js.map} +0 -0
- /package/dist/{dataDownload-ZQYLXN6D.js.map → dataDownload-KT6K3M7Q.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-2PKYZ2AY.js.map → dataDownload.integration.spec-VEX2RTSA.js.map} +0 -0
- /package/dist/{databrowser.ui-WGD7D3XV.js.map → databrowser.ui-VJKNMIXA.js.map} +0 -0
- /package/dist/{dnaMethylation-WGJMJL5B.js.map → dnaMethylation-BWQGUXVR.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-DO3PV4MO.js.map → dnaMethylation.integration.spec-YMGT2HYZ.js.map} +0 -0
- /package/dist/{dofetch-RADX3AFU.js.map → dofetch-BMSZZAAQ.js.map} +0 -0
- /package/dist/{e2pca-KOAAU2JX.js.map → e2pca-KSY4DP53.js.map} +0 -0
- /package/dist/{ep-CXCATXYH.js.map → ep-4PAYGMWK.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-UJO2R3CW.js.map → expclust.gdc.spec-XXFP2HHE.js.map} +0 -0
- /package/dist/{facet-2FBUAD7P.js.map → facet-VCJQ7QPE.js.map} +0 -0
- /package/dist/{gb-VCJFV63W.js.map → gb-JDH242LG.js.map} +0 -0
- /package/dist/{geneExpClustering-FUNS6D2P.js.map → geneExpClustering-L23JB7XA.js.map} +0 -0
- /package/dist/{geneExpression-2OPFWV2K.js.map → geneExpression-P2ERCRXO.js.map} +0 -0
- /package/dist/{geneExpression-2BWWGYL4.js.map → geneExpression-QGPVFAN4.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-G7BSHJQT.js.map → geneExpression.unit.spec-6BQBM6VL.js.map} +0 -0
- /package/dist/{geneORA-S3KQMBYL.js.map → geneORA-XIMJP665.js.map} +0 -0
- /package/dist/{geneRanking-UZ36XAL7.js.map → geneRanking-AJH5G22J.js.map} +0 -0
- /package/dist/{geneVariant-OOZ2SBXO.js.map → geneVariant-AUUZ7S2B.js.map} +0 -0
- /package/dist/{geneVariant-ZHNVEKQ6.js.map → geneVariant-H6BGRRON.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-2C7EWKEV.js.map → geneVariant.integration.spec-FRCH6VI4.js.map} +0 -0
- /package/dist/{genefusion.ui-ASICJNII.js.map → genefusion.ui-AAJ37VFA.js.map} +0 -0
- /package/dist/{geneset-SNM4M6UM.js.map → geneset-5ARBBUYH.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-DJIRW2X7.js.map → genomeBrowser.spec-RV7YBSMZ.js.map} +0 -0
- /package/dist/{gsea-SPTQJW67.js.map → gsea-XUMCVLFK.js.map} +0 -0
- /package/dist/{hierCluster-KDE5SMYP.js.map → hierCluster-HXOTNMC5.js.map} +0 -0
- /package/dist/{hierCluster-XG4YLVL3.js.map → hierCluster-PEDY7OTZ.js.map} +0 -0
- /package/dist/{hierCluster.config-VNEEJCKJ.js.map → hierCluster.config-RKYCGNWW.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-SSDN7LSH.js.map → hierCluster.integration.spec-YKMAT7UU.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-DKBSJ644.js.map → hierCluster.interactivity-LPTHVWHR.js.map} +0 -0
- /package/dist/{hierCluster.renderers-OG6LZAT7.js.map → hierCluster.renderers-4XWKHCNW.js.map} +0 -0
- /package/dist/{imagePlot-M5JSHEY4.js.map → imagePlot-3DF7ZH3U.js.map} +0 -0
- /package/dist/{importPlot-YH7ZY6RJ.js.map → importPlot-N74SV3TL.js.map} +0 -0
- /package/dist/{isoformExpression-EV27MKYZ.js.map → isoformExpression-FU7Y4OGU.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-7T2GOHH3.js.map → isoformExpression.unit.spec-BLQDKV37.js.map} +0 -0
- /package/dist/{launch.adhoc-NOISOX5E.js.map → launch.adhoc-Y35FZV6H.js.map} +0 -0
- /package/dist/{legacyDataset-SWJCAWIR.js.map → legacyDataset-TNIIJABK.js.map} +0 -0
- /package/dist/{lollipop-LQCQBTSX.js.map → lollipop-DU37Q5E2.js.map} +0 -0
- /package/dist/{maf-U237OWZ3.js.map → maf-NRLSNDOT.js.map} +0 -0
- /package/dist/{maftimeline-NLZLMHT2.js.map → maftimeline-GRXGOOSJ.js.map} +0 -0
- /package/dist/{matrix-DZJXYRYN.js.map → matrix-G3BULZ7Y.js.map} +0 -0
- /package/dist/{matrix-Y5345QQG.js.map → matrix-TCTX26A4.js.map} +0 -0
- /package/dist/{matrix.cells-PT7S74QP.js.map → matrix.cells-ED6RS5EC.js.map} +0 -0
- /package/dist/{matrix.config-2ORCUWKX.js.map → matrix.config-QHO2YNOT.js.map} +0 -0
- /package/dist/{matrix.data-C6VPQJJ4.js.map → matrix.data-KQFMXWRX.js.map} +0 -0
- /package/dist/{matrix.groups-CEOCG2CT.js.map → matrix.groups-RE74EFLY.js.map} +0 -0
- /package/dist/{matrix.integration.spec-U4B3JB6N.js.map → matrix.integration.spec-Y4FCZ2Q2.js.map} +0 -0
- /package/dist/{matrix.interactivity-GFLIFIER.js.map → matrix.interactivity-3DW5WAM3.js.map} +0 -0
- /package/dist/{matrix.layout-DOVDHTDX.js.map → matrix.layout-W57D765I.js.map} +0 -0
- /package/dist/{matrix.legend-JE4ZSLP7.js.map → matrix.legend-ZST44PIB.js.map} +0 -0
- /package/dist/{matrix.renderers-GPUJQ7KF.js.map → matrix.renderers-NFRKXO7Y.js.map} +0 -0
- /package/dist/{matrix.serieses-REE4DCSR.js.map → matrix.serieses-6ZKTFVWY.js.map} +0 -0
- /package/dist/{matrix.sort-VD5URUWY.js.map → matrix.sort-2UE47IOC.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-4IOFVHJN.js.map → matrix.sort.unit.spec-5CMWEXPE.js.map} +0 -0
- /package/dist/{matrix.sorterUi-VQYY6KBK.js.map → matrix.sorterUi-WC2YX7S7.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-V5O2EJBX.js.map → matrix.sorterUi.unit.spec-Y2HXWHJN.js.map} +0 -0
- /package/dist/{mavb-SQDA3B2B.js.map → mavb-BI4XKI5P.js.map} +0 -0
- /package/dist/{mds.fimo-ZJSEPLD7.js.map → mds.fimo-UJYESPNC.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-Y5V73GOY.js.map → mds.samplescatterplot-JKU5B4QR.js.map} +0 -0
- /package/dist/{mds.survivalplot-CZBRMHYN.js.map → mds.survivalplot-OP7Y4D3L.js.map} +0 -0
- /package/dist/{numericDictTermCluster-TFXBBUVI.js.map → numericDictTermCluster-DRIEJJSP.js.map} +0 -0
- /package/dist/{oncomatrix-ZILACPPI.js.map → oncomatrix-A3IE47HV.js.map} +0 -0
- /package/dist/{oncomatrix.spec-RLIVVVD6.js.map → oncomatrix.spec-TDWB2ROF.js.map} +0 -0
- /package/dist/{plot.2dvaf-BNRZPIKU.js.map → plot.2dvaf-XY34TDSM.js.map} +0 -0
- /package/dist/{plot.app-NRUARQCN.js.map → plot.app-WRCBLYGO.js.map} +0 -0
- /package/dist/{plot.barplot-342AYQC7.js.map → plot.barplot-RXGOUNHM.js.map} +0 -0
- /package/dist/{plot.boxplot-OHEJDPTW.js.map → plot.boxplot-GBZGSS3D.js.map} +0 -0
- /package/dist/{plot.brainImaging-KV72PAON.js.map → plot.brainImaging-DYPKMNHL.js.map} +0 -0
- /package/dist/{plot.disco-OUE4RFHL.js.map → plot.disco-5K2SCKJ4.js.map} +0 -0
- /package/dist/{plot.dzi-T3GPUH36.js.map → plot.dzi-THJIFHIS.js.map} +0 -0
- /package/dist/{plot.ssgq-WJHGMXW5.js.map → plot.ssgq-FSIUIV3A.js.map} +0 -0
- /package/dist/{plot.vaf2cov-NGD5PCV4.js.map → plot.vaf2cov-HP6KEBVJ.js.map} +0 -0
- /package/dist/{plot.wsi-2MU5BDG3.js.map → plot.wsi-MR6JMOXW.js.map} +0 -0
- /package/dist/{profilePlot-OMVO3K4H.js.map → profilePlot-J2C35OEY.js.map} +0 -0
- /package/dist/{qualitative-MEYBRUC6.js.map → qualitative-N7S2JHZM.js.map} +0 -0
- /package/dist/{regression-ZPDPLI6G.js.map → regression-PBGAMZAV.js.map} +0 -0
- /package/dist/{regression.inputs-QOSBAGL6.js.map → regression.inputs-54E5YKI4.js.map} +0 -0
- /package/dist/{regression.inputs.term-HMUMPY7X.js.map → regression.inputs.term-52MBTMVM.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-VMCTZHLG.js.map → regression.inputs.values.table-F3FOAYFV.js.map} +0 -0
- /package/dist/{regression.integration.spec-RP74JTAA.js.map → regression.integration.spec-M4RPJUE4.js.map} +0 -0
- /package/dist/{regression.results-5XC6M67C.js.map → regression.results-JOK6I2ZD.js.map} +0 -0
- /package/dist/{regression.spec-EZYM24J7.js.map → regression.spec-O4HZB2HQ.js.map} +0 -0
- /package/dist/{report-ZOVQCOGQ.js.map → report-BDDTM7SV.js.map} +0 -0
- /package/dist/{sampleScatter.spec-CD52FEOC.js.map → sampleScatter.spec-272GLYEK.js.map} +0 -0
- /package/dist/{sampleView-SVTLSWRG.js.map → sampleView-E6OHEEP4.js.map} +0 -0
- /package/dist/{samplelst-HXF5POJD.js.map → samplelst-3LNF3DBG.js.map} +0 -0
- /package/dist/{samplematrix-NYDAH74I.js.map → samplematrix-HL445X7I.js.map} +0 -0
- /package/dist/{sc-JIDT4W4K.js.map → sc-4LELHVIS.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-OSB7B6L3.js.map → selectGenomeWithTklst-5LQGT4Z7.js.map} +0 -0
- /package/dist/{singleCellCellType-3BH7LWQ6.js.map → singleCellCellType-T3ZT64EK.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-RU4RJXFF.js.map → singleCellCellType.unit.spec-AE4IAHOF.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-3UA4YER7.js.map → singleCellGeneExpression-SRJXSDEB.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-4ZTBG37H.js.map → singleCellGeneExpression.unit.spec-EPL73UUO.js.map} +0 -0
- /package/dist/{singleCellPlot-ZUAWK5RE.js.map → singleCellPlot-P2BHFTYZ.js.map} +0 -0
- /package/dist/{singlecell-RO3BL5OO.js.map → singlecell-32SSD7VN.js.map} +0 -0
- /package/dist/{singlecell-BGJZB7MF.js.map → singlecell-7KRD5DP7.js.map} +0 -0
- /package/dist/{snp-HD7VQKBR.js.map → snp-LE5R377N.js.map} +0 -0
- /package/dist/{snp.unit.spec-ISXCLMWW.js.map → snp.unit.spec-UY6KQ5NJ.js.map} +0 -0
- /package/dist/{snplocus-IL5Z4XWV.js.map → snplocus-CP34ABUJ.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-LLJSPV7M.js.map → spliceevent.a53ss.diagram-JWLWQDNJ.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-LAOIOIST.js.map → spliceevent.exonskip.diagram-C5526P7P.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-MVA7Q3HT.js.map → spliceevent.noeventdiagram-352M63YB.js.map} +0 -0
- /package/dist/{ssGSEA-7T6S3DSE.js.map → ssGSEA-BFTCECV3.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-XJ3W4NWX.js.map → ssGSEA.unit.spec-4OUCKRDQ.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-RRP6JUV6.js.map → summarizeCnvGeneexp-Y3AWFIZA.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-AFLHDD6Q.js.map → summarizeGeneexpSurvival-U5JSPG22.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-NABUYHMX.js.map → summarizeMutationCnv-KCOVQEBC.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-2LQ7JU3K.js.map → summarizeMutationDiagnosis-EQXEQABW.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-3WBT5TXG.js.map → summarizeMutationSurvival-4VGLG4SC.js.map} +0 -0
- /package/dist/{summary-FRDKOFXW.js.map → summary-DXYCBNI4.js.map} +0 -0
- /package/dist/{summary.integration.spec-ZLRIA7G2.js.map → summary.integration.spec-MZTJISLP.js.map} +0 -0
- /package/dist/{summaryInput-4JO6MHP4.js.map → summaryInput-5Z3XVIL6.js.map} +0 -0
- /package/dist/{sunburst-DRCVSC2X.js.map → sunburst-WVSQJYP2.js.map} +0 -0
- /package/dist/{survival-IF5NI3A6.js.map → survival-3R3J2JBE.js.map} +0 -0
- /package/dist/{survival-AK75COPY.js.map → survival-XQWFVGCJ.js.map} +0 -0
- /package/dist/{survival.integration.spec-7IWBTPJG.js.map → survival.integration.spec-EBDPIBYM.js.map} +0 -0
- /package/dist/{svgraph-QBDF2SLB.js.map → svgraph-SY2HVMYL.js.map} +0 -0
- /package/dist/{svmr-O4GJJUT2.js.map → svmr-TIIMFKG7.js.map} +0 -0
- /package/dist/{table-FQAIXKLE.js.map → table-5RFTXIQL.js.map} +0 -0
- /package/dist/{termCollection-ZO5PZ7E3.js.map → termCollection-23QXTZDN.js.map} +0 -0
- /package/dist/{termCollection-GMDDL3L7.js.map → termCollection-7KXABWVW.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-5JBCTXHX.js.map → termCollection.unit.spec-4AN2Z4PQ.js.map} +0 -0
- /package/dist/{tk-GJX23IV7.js.map → tk-WW6PJGPQ.js.map} +0 -0
- /package/dist/{tp.ui-T7FVMTGQ.js.map → tp.ui-S5PO3MPH.js.map} +0 -0
- /package/dist/{tvs.dt-X7L7NSU6.js.map → tvs.dt-O7LUM5TK.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-73G2V6CH.js.map → tvs.dtcnv.categorical-2OUFOD3W.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-DWFJL3X7.js.map → tvs.dtcnv.continuous-NOOUY5SZ.js.map} +0 -0
- /package/dist/{tvs.dtfusion-HQADHCSV.js.map → tvs.dtfusion-KXQMP3UF.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-PY5OBMGW.js.map → tvs.dtsnvindel-PWHFTWZU.js.map} +0 -0
- /package/dist/{tvs.dtsv-OTBEEWSW.js.map → tvs.dtsv-25FLS572.js.map} +0 -0
- /package/dist/{tvs.numeric-WGDHEBJV.js.map → tvs.numeric-KYAU5OV3.js.map} +0 -0
- /package/dist/{tvs.samplelst-LCXSU5MG.js.map → tvs.samplelst-FLXNJFIV.js.map} +0 -0
- /package/dist/{tvs.termCollection-L527XN4X.js.map → tvs.termCollection-PSVOMJE4.js.map} +0 -0
- /package/dist/{violin-6VKRUQV3.js.map → violin-SWMEFWRA.js.map} +0 -0
- /package/dist/{violin.integration.spec-RJATDLQH.js.map → violin.integration.spec-6EQ6GC2N.js.map} +0 -0
- /package/dist/{violin.interactivity-SKF5H7MN.js.map → violin.interactivity-WBIWPLSM.js.map} +0 -0
- /package/dist/{violin.renderer-GB4TPX3B.js.map → violin.renderer-3WARZUOH.js.map} +0 -0
- /package/dist/{vocabulary-D3W44IWE.js.map → vocabulary-WLHYHDX7.js.map} +0 -0
|
@@ -0,0 +1,2364 @@
|
|
|
1
|
+
import {
|
|
2
|
+
spliceevent_exonskip_getdefault_default
|
|
3
|
+
} from "./chunk-LSWU6EAQ.js";
|
|
4
|
+
import {
|
|
5
|
+
spliceevent_phrase_default
|
|
6
|
+
} from "./chunk-74XVBQF7.js";
|
|
7
|
+
import {
|
|
8
|
+
legend_newrow
|
|
9
|
+
} from "./chunk-SC6IPDJR.js";
|
|
10
|
+
import "./chunk-V2OJLJSK.js";
|
|
11
|
+
import "./chunk-NLQQIVTC.js";
|
|
12
|
+
import {
|
|
13
|
+
appear2 as appear,
|
|
14
|
+
axisstyle,
|
|
15
|
+
category2legend,
|
|
16
|
+
export_data,
|
|
17
|
+
font,
|
|
18
|
+
gmmode,
|
|
19
|
+
keyupEnter,
|
|
20
|
+
sayerror,
|
|
21
|
+
tkt
|
|
22
|
+
} from "./chunk-L7VDSIM7.js";
|
|
23
|
+
import "./chunk-HJ6L54YS.js";
|
|
24
|
+
import "./chunk-LSEFWW72.js";
|
|
25
|
+
import "./chunk-UXDVUCXU.js";
|
|
26
|
+
import {
|
|
27
|
+
Menu
|
|
28
|
+
} from "./chunk-HYOEWQ5P.js";
|
|
29
|
+
import "./chunk-HBW42TDT.js";
|
|
30
|
+
import "./chunk-LQJMCE7G.js";
|
|
31
|
+
import "./chunk-FN5XPUPH.js";
|
|
32
|
+
import "./chunk-IIT367QZ.js";
|
|
33
|
+
import "./chunk-RZGEKL77.js";
|
|
34
|
+
import "./chunk-KM4JBR26.js";
|
|
35
|
+
import "./chunk-COYULNJF.js";
|
|
36
|
+
import {
|
|
37
|
+
dofetch2,
|
|
38
|
+
dofetch3
|
|
39
|
+
} from "./chunk-6G4YOMWW.js";
|
|
40
|
+
import "./chunk-7IYJZZQI.js";
|
|
41
|
+
import "./chunk-M3J4MINX.js";
|
|
42
|
+
import "./chunk-PF4DSFDR.js";
|
|
43
|
+
import "./chunk-I73KUUYG.js";
|
|
44
|
+
import "./chunk-IVXCWCKS.js";
|
|
45
|
+
import {
|
|
46
|
+
IN_frame,
|
|
47
|
+
OUT_frame,
|
|
48
|
+
bplen,
|
|
49
|
+
defaultcolor,
|
|
50
|
+
spliceeventchangegmexon
|
|
51
|
+
} from "./chunk-7KRS7L4U.js";
|
|
52
|
+
import "./chunk-BKPDYW5T.js";
|
|
53
|
+
import "./chunk-JNITUVXP.js";
|
|
54
|
+
import {
|
|
55
|
+
category10_default
|
|
56
|
+
} from "./chunk-TJYRBEBK.js";
|
|
57
|
+
import {
|
|
58
|
+
axisRight
|
|
59
|
+
} from "./chunk-LOZEKOES.js";
|
|
60
|
+
import "./chunk-VQZ2Z5YU.js";
|
|
61
|
+
import {
|
|
62
|
+
linear,
|
|
63
|
+
log,
|
|
64
|
+
ordinal
|
|
65
|
+
} from "./chunk-SOTB4FRE.js";
|
|
66
|
+
import "./chunk-TLT4YIG3.js";
|
|
67
|
+
import "./chunk-KYBIQBXE.js";
|
|
68
|
+
import {
|
|
69
|
+
select_default
|
|
70
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
71
|
+
import "./chunk-OMR2DT66.js";
|
|
72
|
+
import "./chunk-DQC5FFGV.js";
|
|
73
|
+
import {
|
|
74
|
+
__commonJS,
|
|
75
|
+
__toESM
|
|
76
|
+
} from "./chunk-HFNDKYVF.js";
|
|
77
|
+
|
|
78
|
+
// ../node_modules/d3-beeswarm/build/d3-beeswarm.js
|
|
79
|
+
var require_d3_beeswarm = __commonJS({
|
|
80
|
+
"../node_modules/d3-beeswarm/build/d3-beeswarm.js"(exports, module) {
|
|
81
|
+
(function(global, factory) {
|
|
82
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global.d3 = global.d3 || {});
|
|
83
|
+
})(exports, function(exports2) {
|
|
84
|
+
"use strict";
|
|
85
|
+
function beeswarm2() {
|
|
86
|
+
var data = [];
|
|
87
|
+
var radius = 4;
|
|
88
|
+
var orientation = "horizontal";
|
|
89
|
+
var side = "symetric";
|
|
90
|
+
var distributeOn = (
|
|
91
|
+
// accessor to the x value
|
|
92
|
+
function(datum) {
|
|
93
|
+
return datum.x;
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
var minDistanceBetweenCircles;
|
|
97
|
+
var minSquareDistanceBetweenCircles;
|
|
98
|
+
var xBasedDataManager;
|
|
99
|
+
var xBasedColliderManager;
|
|
100
|
+
var yBasedColliderManager;
|
|
101
|
+
var arrangement;
|
|
102
|
+
var totalPossibleColliders, maxPossibleColliders, totalTestedPlacements, visitedColliderCount, totalVisitedColliders, maxVisitedColliders;
|
|
103
|
+
function _beeswarm() {
|
|
104
|
+
}
|
|
105
|
+
_beeswarm.data = function(_) {
|
|
106
|
+
if (!arguments.length) {
|
|
107
|
+
return data;
|
|
108
|
+
}
|
|
109
|
+
data = _;
|
|
110
|
+
return _beeswarm;
|
|
111
|
+
};
|
|
112
|
+
_beeswarm.radius = function(_) {
|
|
113
|
+
if (!arguments.length) {
|
|
114
|
+
return radius;
|
|
115
|
+
}
|
|
116
|
+
radius = _;
|
|
117
|
+
return _beeswarm;
|
|
118
|
+
};
|
|
119
|
+
_beeswarm.orientation = function(_) {
|
|
120
|
+
if (!arguments.length) {
|
|
121
|
+
return orientation;
|
|
122
|
+
}
|
|
123
|
+
if (_ === "horizontal" || _ === "vertical") {
|
|
124
|
+
orientation = _;
|
|
125
|
+
}
|
|
126
|
+
return _beeswarm;
|
|
127
|
+
};
|
|
128
|
+
_beeswarm.side = function(_) {
|
|
129
|
+
if (!arguments.length) {
|
|
130
|
+
return side;
|
|
131
|
+
}
|
|
132
|
+
if (_ === "symetric" || _ === "positive" || _ === "negative") {
|
|
133
|
+
side = _;
|
|
134
|
+
}
|
|
135
|
+
return _beeswarm;
|
|
136
|
+
};
|
|
137
|
+
_beeswarm.distributeOn = function(_) {
|
|
138
|
+
if (!arguments.length) {
|
|
139
|
+
return distributeOn;
|
|
140
|
+
}
|
|
141
|
+
distributeOn = _;
|
|
142
|
+
return _beeswarm;
|
|
143
|
+
};
|
|
144
|
+
_beeswarm.arrange = function() {
|
|
145
|
+
initArrangement();
|
|
146
|
+
arrangement.forEach(function(d) {
|
|
147
|
+
var bestYPosition = -Infinity, relativeYPos, xBasedPossibleColliders = gatherXBasedPossibleColliders(d);
|
|
148
|
+
if (xBasedPossibleColliders.length === 0) {
|
|
149
|
+
bestYPosition = 0;
|
|
150
|
+
} else {
|
|
151
|
+
yBasedColliderManager.clear();
|
|
152
|
+
yBasedColliderManager.addMany(xBasedPossibleColliders);
|
|
153
|
+
d.free = 0;
|
|
154
|
+
if (!collidesWithOther(d, yBasedColliderManager.closestTo0())) {
|
|
155
|
+
bestYPosition = 0;
|
|
156
|
+
totalVisitedColliders += visitedColliderCount;
|
|
157
|
+
if (visitedColliderCount > maxVisitedColliders) {
|
|
158
|
+
maxVisitedColliders = visitedColliderCount;
|
|
159
|
+
}
|
|
160
|
+
visitedColliderCount = 0;
|
|
161
|
+
totalTestedPlacements += 1;
|
|
162
|
+
} else {
|
|
163
|
+
xBasedPossibleColliders.forEach(function(xbpc) {
|
|
164
|
+
relativeYPos = yPosRelativeToXbpc(xbpc, d);
|
|
165
|
+
placeBelow(d, xbpc, relativeYPos);
|
|
166
|
+
if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
|
|
167
|
+
bestYPosition = d.free;
|
|
168
|
+
}
|
|
169
|
+
totalVisitedColliders += visitedColliderCount;
|
|
170
|
+
if (visitedColliderCount > maxVisitedColliders) {
|
|
171
|
+
maxVisitedColliders = visitedColliderCount;
|
|
172
|
+
}
|
|
173
|
+
visitedColliderCount = 0;
|
|
174
|
+
totalTestedPlacements += 1;
|
|
175
|
+
placeAbove(d, xbpc, relativeYPos);
|
|
176
|
+
if (isAuthorizedPlacement(d) && isBetterPlacement(d, bestYPosition) && !collidesWithOther(d, yBasedColliderManager.dln(xbpc))) {
|
|
177
|
+
bestYPosition = d.free;
|
|
178
|
+
}
|
|
179
|
+
totalVisitedColliders += visitedColliderCount;
|
|
180
|
+
if (visitedColliderCount > maxVisitedColliders) {
|
|
181
|
+
maxVisitedColliders = visitedColliderCount;
|
|
182
|
+
}
|
|
183
|
+
visitedColliderCount = 0;
|
|
184
|
+
totalTestedPlacements += 1;
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
;
|
|
189
|
+
d.free = bestYPosition;
|
|
190
|
+
if (orientation === "horizontal") {
|
|
191
|
+
d.x = d.fixed;
|
|
192
|
+
d.y = bestYPosition;
|
|
193
|
+
} else {
|
|
194
|
+
d.x = bestYPosition;
|
|
195
|
+
d.y = d.fixed;
|
|
196
|
+
}
|
|
197
|
+
xBasedColliderManager.add(d);
|
|
198
|
+
});
|
|
199
|
+
return arrangement;
|
|
200
|
+
};
|
|
201
|
+
_beeswarm.metrics = function() {
|
|
202
|
+
return {
|
|
203
|
+
totalPossibleColliders,
|
|
204
|
+
maxPossibleColliders,
|
|
205
|
+
totalTestedPlacements,
|
|
206
|
+
visitedColliderCount,
|
|
207
|
+
totalVisitedColliders,
|
|
208
|
+
maxVisitedColliders
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
function initArrangement() {
|
|
212
|
+
arrangement = data.map(function(d, i) {
|
|
213
|
+
return {
|
|
214
|
+
datum: d,
|
|
215
|
+
id: i,
|
|
216
|
+
fixed: distributeOn(d),
|
|
217
|
+
free: -Infinity
|
|
218
|
+
};
|
|
219
|
+
});
|
|
220
|
+
minDistanceBetweenCircles = 2 * radius;
|
|
221
|
+
minSquareDistanceBetweenCircles = Math.pow(minDistanceBetweenCircles, 2);
|
|
222
|
+
xBasedDataManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
|
|
223
|
+
return d.fixed;
|
|
224
|
+
}).addMany(arrangement);
|
|
225
|
+
xBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
|
|
226
|
+
return d.fixed;
|
|
227
|
+
});
|
|
228
|
+
yBasedColliderManager = new SortedDirectAccessDoublyLinkedList().valueAccessor(function(d) {
|
|
229
|
+
return d.free;
|
|
230
|
+
});
|
|
231
|
+
totalPossibleColliders = maxPossibleColliders = 0;
|
|
232
|
+
totalTestedPlacements = 0;
|
|
233
|
+
visitedColliderCount = totalVisitedColliders = maxVisitedColliders = 0;
|
|
234
|
+
}
|
|
235
|
+
function findNearestPossibleCollider(dln, visitedDln, direction) {
|
|
236
|
+
if (visitedDln === null) {
|
|
237
|
+
return null;
|
|
238
|
+
} else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
|
|
239
|
+
return null;
|
|
240
|
+
} else {
|
|
241
|
+
if (isFinite(visitedDln.datum.free)) {
|
|
242
|
+
return visitedDln.datum;
|
|
243
|
+
}
|
|
244
|
+
return findNearestPossibleCollider(dln, visitedDln[direction], direction);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
function visitToGatherXBasedPossibleColliders(dln, visitedDln, direction, xBasedPossibleColliders) {
|
|
248
|
+
if (visitedDln === null) {
|
|
249
|
+
return;
|
|
250
|
+
} else if (direction === "prev" ? dln.value - visitedDln.value > minDistanceBetweenCircles : visitedDln.value - dln.value > minDistanceBetweenCircles) {
|
|
251
|
+
return;
|
|
252
|
+
} else {
|
|
253
|
+
xBasedPossibleColliders.push(visitedDln.datum);
|
|
254
|
+
visitToGatherXBasedPossibleColliders(dln, visitedDln[direction], direction, xBasedPossibleColliders);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
function gatherXBasedPossibleColliders(datum) {
|
|
258
|
+
var xBasedPossibleColliders = [];
|
|
259
|
+
var dln = xBasedDataManager.dln(datum);
|
|
260
|
+
var nearestXPrevAlreadyArrangedData = findNearestPossibleCollider(dln, dln.prev, "prev");
|
|
261
|
+
var nearestXNextAlreadyArrangedData = findNearestPossibleCollider(dln, dln.next, "next");
|
|
262
|
+
if (nearestXPrevAlreadyArrangedData != null) {
|
|
263
|
+
dln = xBasedColliderManager.dln(nearestXPrevAlreadyArrangedData);
|
|
264
|
+
visitToGatherXBasedPossibleColliders(dln, dln, "prev", xBasedPossibleColliders);
|
|
265
|
+
}
|
|
266
|
+
if (nearestXNextAlreadyArrangedData != null) {
|
|
267
|
+
dln = xBasedColliderManager.dln(nearestXNextAlreadyArrangedData);
|
|
268
|
+
visitToGatherXBasedPossibleColliders(dln, dln, "next", xBasedPossibleColliders);
|
|
269
|
+
}
|
|
270
|
+
totalPossibleColliders += xBasedPossibleColliders.length;
|
|
271
|
+
if (xBasedPossibleColliders.length > maxPossibleColliders) {
|
|
272
|
+
maxPossibleColliders = xBasedPossibleColliders.length;
|
|
273
|
+
}
|
|
274
|
+
return xBasedPossibleColliders;
|
|
275
|
+
}
|
|
276
|
+
function isAuthorizedPlacement(datum) {
|
|
277
|
+
if (side === "symetric") {
|
|
278
|
+
return true;
|
|
279
|
+
} else if (side === "positive") {
|
|
280
|
+
return datum.free >= 0;
|
|
281
|
+
} else {
|
|
282
|
+
return datum.free <= 0;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
function isBetterPlacement(datum, bestYPosition) {
|
|
286
|
+
return Math.abs(datum.free) < Math.abs(bestYPosition);
|
|
287
|
+
}
|
|
288
|
+
function yPosRelativeToXbpc(xbpc, d) {
|
|
289
|
+
return Math.sqrt(minSquareDistanceBetweenCircles - Math.pow(d.fixed - xbpc.fixed, 2)) + 1e-6;
|
|
290
|
+
}
|
|
291
|
+
function placeBelow(d, aad, relativeYPos) {
|
|
292
|
+
d.free = aad.free - relativeYPos;
|
|
293
|
+
}
|
|
294
|
+
function placeAbove(d, aad, relativeYPos) {
|
|
295
|
+
d.free = aad.free + relativeYPos;
|
|
296
|
+
}
|
|
297
|
+
function areCirclesColliding(d0, d1) {
|
|
298
|
+
visitedColliderCount++;
|
|
299
|
+
return Math.pow(d1.free - d0.free, 2) + Math.pow(d1.fixed - d0.fixed, 2) < minSquareDistanceBetweenCircles;
|
|
300
|
+
}
|
|
301
|
+
function visitToDetectCollisionWithOther(datum, visitedDln, direction, visitCount) {
|
|
302
|
+
if (visitedDln === null) {
|
|
303
|
+
return false;
|
|
304
|
+
} else if (direction === "prev" ? datum.free - visitedDln.datum.free > minDistanceBetweenCircles : visitedDln.datum.free - datum.free > minDistanceBetweenCircles) {
|
|
305
|
+
return false;
|
|
306
|
+
} else if (areCirclesColliding(datum, visitedDln.datum)) {
|
|
307
|
+
return true;
|
|
308
|
+
} else {
|
|
309
|
+
return visitToDetectCollisionWithOther(datum, visitedDln[direction], direction, visitCount++);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
function collidesWithOther(datum, visitedDln) {
|
|
313
|
+
var visitCount = 0;
|
|
314
|
+
if (visitToDetectCollisionWithOther(datum, visitedDln, "prev", visitCount++)) {
|
|
315
|
+
return true;
|
|
316
|
+
} else {
|
|
317
|
+
return visitToDetectCollisionWithOther(datum, visitedDln, "next", visitCount++);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
function SortedDirectAccessDoublyLinkedList() {
|
|
321
|
+
this._valueAccesor = // accessor to the value to sort on
|
|
322
|
+
function(obj) {
|
|
323
|
+
return obj.value;
|
|
324
|
+
};
|
|
325
|
+
this._min = null;
|
|
326
|
+
this._max = null;
|
|
327
|
+
this._closestTo0 = null;
|
|
328
|
+
this.size = 0;
|
|
329
|
+
this._idToNode = {};
|
|
330
|
+
}
|
|
331
|
+
SortedDirectAccessDoublyLinkedList.prototype.valueAccessor = function(_) {
|
|
332
|
+
if (!arguments.length) {
|
|
333
|
+
return this._valueAccesor;
|
|
334
|
+
}
|
|
335
|
+
this._valueAccesor = _;
|
|
336
|
+
return this;
|
|
337
|
+
};
|
|
338
|
+
SortedDirectAccessDoublyLinkedList.prototype.closestTo0 = function() {
|
|
339
|
+
return this._closestTo0;
|
|
340
|
+
};
|
|
341
|
+
SortedDirectAccessDoublyLinkedList.prototype.clear = function() {
|
|
342
|
+
this._min = null;
|
|
343
|
+
this._max = null;
|
|
344
|
+
this._closestTo0 = null;
|
|
345
|
+
this.size = 0;
|
|
346
|
+
this._idToNode = {};
|
|
347
|
+
return this;
|
|
348
|
+
};
|
|
349
|
+
SortedDirectAccessDoublyLinkedList.prototype.dln = function(datum) {
|
|
350
|
+
return this._idToNode[datum.id];
|
|
351
|
+
};
|
|
352
|
+
SortedDirectAccessDoublyLinkedList.prototype.addMany = function(data2) {
|
|
353
|
+
data2.forEach(function(datum, item) {
|
|
354
|
+
this.add(datum);
|
|
355
|
+
}, this);
|
|
356
|
+
return this;
|
|
357
|
+
};
|
|
358
|
+
SortedDirectAccessDoublyLinkedList.prototype.add = function(datum) {
|
|
359
|
+
var dln = {
|
|
360
|
+
datum,
|
|
361
|
+
// original datum
|
|
362
|
+
value: this._valueAccesor(datum),
|
|
363
|
+
prev: null,
|
|
364
|
+
// previous value-based node
|
|
365
|
+
next: null
|
|
366
|
+
// next value-based node
|
|
367
|
+
};
|
|
368
|
+
if (this.size === 0) {
|
|
369
|
+
this._min = this._max = this._closestTo0 = dln;
|
|
370
|
+
} else {
|
|
371
|
+
if (dln.value <= this._min.value) {
|
|
372
|
+
dln.next = this._min;
|
|
373
|
+
dln.next.prev = dln;
|
|
374
|
+
this._min = dln;
|
|
375
|
+
} else if (dln.value >= this._max.value) {
|
|
376
|
+
dln.prev = this._max;
|
|
377
|
+
dln.prev.next = dln;
|
|
378
|
+
this._max = dln;
|
|
379
|
+
} else {
|
|
380
|
+
var current = this._max;
|
|
381
|
+
while (current.value > dln.value) {
|
|
382
|
+
current = current.prev;
|
|
383
|
+
}
|
|
384
|
+
dln.prev = current;
|
|
385
|
+
dln.next = current.next;
|
|
386
|
+
dln.next.prev = dln;
|
|
387
|
+
dln.prev.next = dln;
|
|
388
|
+
}
|
|
389
|
+
if (Math.abs(dln.value) < Math.abs(this._closestTo0.value)) {
|
|
390
|
+
this._closestTo0 = dln;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
this._idToNode[dln.datum.id] = dln;
|
|
394
|
+
this.size++;
|
|
395
|
+
return this;
|
|
396
|
+
};
|
|
397
|
+
SortedDirectAccessDoublyLinkedList.prototype.remove = function(datum) {
|
|
398
|
+
var dln = this.dln(datum);
|
|
399
|
+
if (this.size === 1) {
|
|
400
|
+
this._min = this._max = this._closestTo0 = null;
|
|
401
|
+
} else {
|
|
402
|
+
if (dln === this._closestTo0) {
|
|
403
|
+
if (this._closestTo0.next === null) {
|
|
404
|
+
this._closestTo0 = dln.prev;
|
|
405
|
+
} else if (this.closestToZero.prev === null) {
|
|
406
|
+
this._closestTo0 = dln.prev;
|
|
407
|
+
} else {
|
|
408
|
+
var prevAbsValue = Math.abs(this._closestTo0.prev.value);
|
|
409
|
+
var nextAbsValue = Math.abs(this._closestTo0.next.value);
|
|
410
|
+
if (prevAbsValue < nextAbsValue) {
|
|
411
|
+
this._closestTo0 = this._closestTo0.prev;
|
|
412
|
+
} else {
|
|
413
|
+
this._closestTo0 = this._closestTo0.next;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
if (dln === this._min) {
|
|
418
|
+
this._min = this._min.next;
|
|
419
|
+
this._min.prev = null;
|
|
420
|
+
} else if (dln === this._max) {
|
|
421
|
+
this._max = this._max.prev;
|
|
422
|
+
this._max.next = null;
|
|
423
|
+
} else {
|
|
424
|
+
dln.next.prev = dln.prev;
|
|
425
|
+
dln.prev.next = dln.next;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
dln = null;
|
|
429
|
+
delete this._idToNode[datum.id];
|
|
430
|
+
this.size--;
|
|
431
|
+
return this;
|
|
432
|
+
};
|
|
433
|
+
return _beeswarm;
|
|
434
|
+
}
|
|
435
|
+
;
|
|
436
|
+
exports2.beeswarm = beeswarm2;
|
|
437
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
});
|
|
441
|
+
|
|
442
|
+
// src/spliceevent.prep.js
|
|
443
|
+
function mapjunctiontoexons(junctions, genes) {
|
|
444
|
+
for (const j of junctions) {
|
|
445
|
+
j.exonleft = [];
|
|
446
|
+
j.exonright = [];
|
|
447
|
+
j.exonleftin = [];
|
|
448
|
+
j.exonrightin = [];
|
|
449
|
+
j.intronleft = [];
|
|
450
|
+
j.intronright = [];
|
|
451
|
+
j.leftout = [];
|
|
452
|
+
j.rightout = [];
|
|
453
|
+
j.matchisoform = [];
|
|
454
|
+
}
|
|
455
|
+
const usegenes = [];
|
|
456
|
+
for (const gene of genes) {
|
|
457
|
+
let use = false;
|
|
458
|
+
for (const j of junctions) {
|
|
459
|
+
if (gene.chr == j.chr && Math.max(gene.start, j.start) < Math.min(gene.stop, j.stop)) {
|
|
460
|
+
use = true;
|
|
461
|
+
break;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
if (use) {
|
|
465
|
+
usegenes.push(gene);
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
if (usegenes.length == 0) {
|
|
469
|
+
return;
|
|
470
|
+
}
|
|
471
|
+
const leftpos = /* @__PURE__ */ new Map();
|
|
472
|
+
const rightpos = /* @__PURE__ */ new Map();
|
|
473
|
+
for (const j of junctions) {
|
|
474
|
+
if (!leftpos.has(j.start)) {
|
|
475
|
+
leftpos.set(j.start, []);
|
|
476
|
+
}
|
|
477
|
+
leftpos.get(j.start).push(j);
|
|
478
|
+
if (!rightpos.has(j.stop)) {
|
|
479
|
+
rightpos.set(j.stop, []);
|
|
480
|
+
}
|
|
481
|
+
rightpos.get(j.stop).push(j);
|
|
482
|
+
}
|
|
483
|
+
for (const [pos, jlst] of leftpos) {
|
|
484
|
+
for (const gm of usegenes) {
|
|
485
|
+
if (!gm.exon) continue;
|
|
486
|
+
for (let i = 0; i < gm.exon.length; i++) {
|
|
487
|
+
if (gm.exon[i][1] - 1 == pos) {
|
|
488
|
+
for (const j of jlst) {
|
|
489
|
+
j.exonleft.push({
|
|
490
|
+
gm,
|
|
491
|
+
exonidx: i
|
|
492
|
+
});
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
if (gm.exon[i][0] <= pos && gm.exon[i][1] - 1 > pos) {
|
|
496
|
+
for (const j of jlst) {
|
|
497
|
+
j.exonleftin.push({
|
|
498
|
+
gm,
|
|
499
|
+
exonidx: i
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
if (gm.intron) {
|
|
505
|
+
for (let i = 0; i < gm.intron.length; i++) {
|
|
506
|
+
if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
|
|
507
|
+
for (const j of jlst) {
|
|
508
|
+
j.intronleft.push({
|
|
509
|
+
gm,
|
|
510
|
+
intronidx: i
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
for (const [pos, jlst] of rightpos) {
|
|
519
|
+
for (const gm of usegenes) {
|
|
520
|
+
if (!gm.exon) continue;
|
|
521
|
+
for (let i = 0; i < gm.exon.length; i++) {
|
|
522
|
+
if (gm.exon[i][0] == pos) {
|
|
523
|
+
for (const j of jlst) {
|
|
524
|
+
j.exonright.push({
|
|
525
|
+
gm,
|
|
526
|
+
exonidx: i
|
|
527
|
+
});
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
if (gm.exon[i][0] < pos && gm.exon[i][1] > pos) {
|
|
531
|
+
for (const j of jlst) {
|
|
532
|
+
j.exonrightin.push({
|
|
533
|
+
gm,
|
|
534
|
+
exonidx: i
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
if (gm.intron) {
|
|
540
|
+
for (let i = 0; i < gm.intron.length; i++) {
|
|
541
|
+
if (gm.intron[i][0] <= pos && gm.intron[i][1] > pos) {
|
|
542
|
+
for (const j of jlst) {
|
|
543
|
+
j.intronright.push({
|
|
544
|
+
gm,
|
|
545
|
+
intronidx: i
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
for (const j of junctions) {
|
|
554
|
+
{
|
|
555
|
+
const isoforms = /* @__PURE__ */ new Set();
|
|
556
|
+
for (const q of j.exonleft) isoforms.add(q.gm.isoform);
|
|
557
|
+
for (const q of j.exonleftin) isoforms.add(q.gm.isoform);
|
|
558
|
+
for (const q of j.intronleft) isoforms.add(q.gm.isoform);
|
|
559
|
+
if (isoforms.size) {
|
|
560
|
+
for (const gm of usegenes) {
|
|
561
|
+
if (!isoforms.has(gm.isoform)) continue;
|
|
562
|
+
if (gm.stop <= j.stop) {
|
|
563
|
+
j.rightout.push({
|
|
564
|
+
gm
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
{
|
|
571
|
+
const isoforms = /* @__PURE__ */ new Set();
|
|
572
|
+
for (const q of j.exonright) isoforms.add(q.gm.isoform);
|
|
573
|
+
for (const q of j.exonrightin) isoforms.add(q.gm.isoform);
|
|
574
|
+
for (const q of j.intronright) isoforms.add(q.gm.isoform);
|
|
575
|
+
if (isoforms.size) {
|
|
576
|
+
for (const gm of usegenes) {
|
|
577
|
+
if (!isoforms.has(gm.isoform)) continue;
|
|
578
|
+
if (gm.start > j.start) {
|
|
579
|
+
j.leftout.push({
|
|
580
|
+
gm
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
for (const j of junctions) {
|
|
588
|
+
if (j.exonleft.length == 0 || j.exonright.length == 0) continue;
|
|
589
|
+
for (const el of j.exonleft) {
|
|
590
|
+
for (const er of j.exonright) {
|
|
591
|
+
if (el.gm.isoform == er.gm.isoform) {
|
|
592
|
+
j.matchisoform.push({
|
|
593
|
+
gm: el.gm,
|
|
594
|
+
leftexonidx: el.exonidx,
|
|
595
|
+
rightexonidx: er.exonidx
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
// src/spliceevent.exonskip.js
|
|
604
|
+
var exonskipcolor = "#99004d";
|
|
605
|
+
var exonaltcolor = "#004d99";
|
|
606
|
+
function findexonskipping(multisample, junctions, gmdata) {
|
|
607
|
+
const allevents = [];
|
|
608
|
+
for (const j0 of junctions) {
|
|
609
|
+
if (!j0.matchisoform || j0.matchisoform.length == 0) {
|
|
610
|
+
continue;
|
|
611
|
+
}
|
|
612
|
+
for (const j0isoform of j0.matchisoform) {
|
|
613
|
+
const j0exonbegin = Math.min(j0isoform.leftexonidx, j0isoform.rightexonidx);
|
|
614
|
+
const j0exonend = Math.max(j0isoform.leftexonidx, j0isoform.rightexonidx);
|
|
615
|
+
if (j0exonend - j0exonbegin <= 1) {
|
|
616
|
+
continue;
|
|
617
|
+
}
|
|
618
|
+
const jB = j0;
|
|
619
|
+
const thisevent = {
|
|
620
|
+
skippedexon: [],
|
|
621
|
+
junctionB: jB,
|
|
622
|
+
junctionAlst: []
|
|
623
|
+
};
|
|
624
|
+
for (let i = j0exonbegin + 1; i < j0exonend; i++) {
|
|
625
|
+
thisevent.skippedexon.push(i);
|
|
626
|
+
}
|
|
627
|
+
let gmB = null;
|
|
628
|
+
for (const gm of gmdata) {
|
|
629
|
+
if (!gm.intron) continue;
|
|
630
|
+
for (const i of gm.intron) {
|
|
631
|
+
if (i[0] - 1 == jB.start && i[1] == jB.stop) {
|
|
632
|
+
gmB = gm;
|
|
633
|
+
break;
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
if (gmB) {
|
|
637
|
+
break;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
if (gmB) {
|
|
641
|
+
thisevent.isaltexon = true;
|
|
642
|
+
thisevent.color = exonaltcolor;
|
|
643
|
+
thisevent.gmA = j0isoform.gm;
|
|
644
|
+
thisevent.gmB = gmB;
|
|
645
|
+
} else {
|
|
646
|
+
thisevent.isskipexon = true;
|
|
647
|
+
thisevent.color = exonskipcolor;
|
|
648
|
+
thisevent.gm = j0isoform.gm;
|
|
649
|
+
const [utr3, utr5, coding] = checkexoncodingutr(thisevent.skippedexon, thisevent.gm);
|
|
650
|
+
if (utr3) thisevent.utr3 = true;
|
|
651
|
+
if (utr5) thisevent.utr5 = true;
|
|
652
|
+
if (coding) thisevent.coding = true;
|
|
653
|
+
}
|
|
654
|
+
{
|
|
655
|
+
const jAlst = findjunctionAlst(junctions, j0isoform.gm, j0exonbegin, j0exonend);
|
|
656
|
+
for (const ja of jAlst) {
|
|
657
|
+
thisevent.junctionAlst.push(ja);
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
if (thisevent.isskipexon) {
|
|
661
|
+
findupdown1junction4exonskip(thisevent, j0isoform.gm, junctions);
|
|
662
|
+
}
|
|
663
|
+
if (multisample) {
|
|
664
|
+
if (!jB.data) {
|
|
665
|
+
console.error("exonskip: jB.data missing when it is multi-sample");
|
|
666
|
+
continue;
|
|
667
|
+
}
|
|
668
|
+
if (jB.data.length == 0) {
|
|
669
|
+
console.error("exonskip: jB.data.length==0");
|
|
670
|
+
continue;
|
|
671
|
+
}
|
|
672
|
+
let percentagesamplesum = 0;
|
|
673
|
+
for (const sampleBdata of jB.data) {
|
|
674
|
+
const bcount = sampleBdata.v;
|
|
675
|
+
let acountsum = 0;
|
|
676
|
+
for (const junctionA of thisevent.junctionAlst) {
|
|
677
|
+
if (!junctionA) {
|
|
678
|
+
continue;
|
|
679
|
+
}
|
|
680
|
+
if (!junctionA.data) {
|
|
681
|
+
console.log("exonskip: jA.data missing when multi-sample");
|
|
682
|
+
continue;
|
|
683
|
+
}
|
|
684
|
+
for (const sampleAdata of junctionA.data) {
|
|
685
|
+
if (sampleAdata.tkid == sampleBdata.tkid) {
|
|
686
|
+
acountsum += sampleAdata.v;
|
|
687
|
+
break;
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
percentagesamplesum += 100 * bcount / (bcount + acountsum / thisevent.junctionAlst.length);
|
|
692
|
+
}
|
|
693
|
+
thisevent.percentage = Math.ceil(percentagesamplesum / jB.data.length);
|
|
694
|
+
} else {
|
|
695
|
+
let asum = 0;
|
|
696
|
+
for (const _j of thisevent.junctionAlst) {
|
|
697
|
+
asum += _j ? _j.data[0].v : 0;
|
|
698
|
+
}
|
|
699
|
+
thisevent.percentage = Math.ceil(
|
|
700
|
+
100 * thisevent.junctionB.data[0].v / (thisevent.junctionB.data[0].v + asum / thisevent.junctionAlst.length)
|
|
701
|
+
);
|
|
702
|
+
}
|
|
703
|
+
allevents.push(thisevent);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
const exoncoords = /* @__PURE__ */ new Map();
|
|
707
|
+
for (const evt of allevents) {
|
|
708
|
+
const positionlst = [];
|
|
709
|
+
for (const eid of evt.skippedexon) {
|
|
710
|
+
let thisexon;
|
|
711
|
+
if (evt.isskipexon) {
|
|
712
|
+
thisexon = evt.gm.exon[eid];
|
|
713
|
+
} else {
|
|
714
|
+
thisexon = evt.gmA.exon[eid];
|
|
715
|
+
}
|
|
716
|
+
positionlst.push(thisexon[0]);
|
|
717
|
+
positionlst.push(thisexon[1]);
|
|
718
|
+
}
|
|
719
|
+
if (positionlst.length == 0) {
|
|
720
|
+
console.error("not possible: no skipped exon position for exon-skip");
|
|
721
|
+
console.log(evt);
|
|
722
|
+
continue;
|
|
723
|
+
}
|
|
724
|
+
positionlst.sort();
|
|
725
|
+
const posstr = positionlst.join(".") + "|" + evt.junctionB.start + "." + evt.junctionB.stop;
|
|
726
|
+
if (!exoncoords.has(posstr)) {
|
|
727
|
+
exoncoords.set(posstr, []);
|
|
728
|
+
}
|
|
729
|
+
exoncoords.get(posstr).push(evt);
|
|
730
|
+
}
|
|
731
|
+
const eventsetlst = [];
|
|
732
|
+
for (const eventlst of exoncoords.values()) {
|
|
733
|
+
const thisset = {
|
|
734
|
+
eventlst,
|
|
735
|
+
exonlst: []
|
|
736
|
+
// each exon: {start:, stop:}
|
|
737
|
+
};
|
|
738
|
+
eventsetlst.push(thisset);
|
|
739
|
+
const firstevent = eventlst[0];
|
|
740
|
+
for (const eid of firstevent.skippedexon) {
|
|
741
|
+
const gm = firstevent.isskipexon ? firstevent.gm : firstevent.gmA;
|
|
742
|
+
const thisexon = gm.exon[eid];
|
|
743
|
+
thisset.exonlst.push({
|
|
744
|
+
chr: gm.chr,
|
|
745
|
+
start: thisexon[0],
|
|
746
|
+
stop: thisexon[1]
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
let eventcount_skip = 0, eventcount_alt = 0;
|
|
750
|
+
for (const evt of eventlst) {
|
|
751
|
+
if (evt.isskipexon) {
|
|
752
|
+
eventcount_skip++;
|
|
753
|
+
} else {
|
|
754
|
+
eventcount_alt++;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
thisset.color = eventcount_skip > 0 ? exonskipcolor : exonaltcolor;
|
|
758
|
+
const exonnumberset = /* @__PURE__ */ new Set();
|
|
759
|
+
for (const evt of eventlst) {
|
|
760
|
+
const thisexonnumbers = [];
|
|
761
|
+
for (const eid of evt.skippedexon) {
|
|
762
|
+
thisexonnumbers.push(eid + 1);
|
|
763
|
+
}
|
|
764
|
+
exonnumberset.add(thisexonnumbers.join(","));
|
|
765
|
+
}
|
|
766
|
+
if (exonnumberset.size == 1) {
|
|
767
|
+
thisset.toplabelsays = "exon " + [...exonnumberset][0] + " ";
|
|
768
|
+
} else {
|
|
769
|
+
thisset.toplabelsays = "exon ";
|
|
770
|
+
}
|
|
771
|
+
thisset.toplabelsays += eventcount_skip ? "skip" + (eventcount_alt ? "|alt" : "") : "alt";
|
|
772
|
+
if (multisample) {
|
|
773
|
+
let samplecount = 0;
|
|
774
|
+
for (const evt of eventlst) {
|
|
775
|
+
samplecount = Math.max(samplecount, evt.junctionB.data.length);
|
|
776
|
+
}
|
|
777
|
+
thisset.middlelabelsays = samplecount + " sample" + (samplecount > 1 ? "s" : "");
|
|
778
|
+
}
|
|
779
|
+
thisset.bottomlabelsays = firstevent.percentage + "%";
|
|
780
|
+
}
|
|
781
|
+
return eventsetlst;
|
|
782
|
+
}
|
|
783
|
+
function findjunctionbystartstop(lst, p1, p2) {
|
|
784
|
+
const start = Math.min(p1, p2);
|
|
785
|
+
const stop = Math.max(p1, p2);
|
|
786
|
+
for (const j of lst) {
|
|
787
|
+
if (j.start == start && j.stop == stop) return j;
|
|
788
|
+
}
|
|
789
|
+
return null;
|
|
790
|
+
}
|
|
791
|
+
function findjunctionAlst(junctions, gm, exonbegin, exonend) {
|
|
792
|
+
const lst = [];
|
|
793
|
+
const exonstart = Math.min(exonbegin, exonend);
|
|
794
|
+
const exonstop = Math.max(exonbegin, exonend);
|
|
795
|
+
if (gm.strand == "+") {
|
|
796
|
+
for (let i = exonstart; i < exonstop; i++) {
|
|
797
|
+
const p1 = gm.exon[i][1] - 1;
|
|
798
|
+
const p2 = gm.exon[i + 1][0];
|
|
799
|
+
lst.push(findjunctionbystartstop(junctions, p1, p2));
|
|
800
|
+
}
|
|
801
|
+
} else {
|
|
802
|
+
for (let i = exonstop; i > exonstart; i--) {
|
|
803
|
+
const p1 = gm.exon[i][1] - 1;
|
|
804
|
+
const p2 = gm.exon[i - 1][0];
|
|
805
|
+
lst.unshift(findjunctionbystartstop(junctions, p1, p2));
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
return lst;
|
|
809
|
+
}
|
|
810
|
+
function findupdown1junction4exonskip(evt, gm, junctions) {
|
|
811
|
+
let exonidx = evt.skippedexon[0];
|
|
812
|
+
if (exonidx > 1) {
|
|
813
|
+
let p1, p2;
|
|
814
|
+
if (gm.strand == "+") {
|
|
815
|
+
p1 = gm.exon[exonidx - 2][1] - 1;
|
|
816
|
+
p2 = gm.exon[exonidx - 1][0];
|
|
817
|
+
} else {
|
|
818
|
+
p1 = gm.exon[exonidx - 1][1] - 1;
|
|
819
|
+
p2 = gm.exon[exonidx - 2][0];
|
|
820
|
+
}
|
|
821
|
+
evt.up1junction = findjunctionbystartstop(junctions, p1, p2);
|
|
822
|
+
}
|
|
823
|
+
exonidx = evt.skippedexon[evt.skippedexon.length - 1];
|
|
824
|
+
if (exonidx < gm.exon.length - 2) {
|
|
825
|
+
let p1, p2;
|
|
826
|
+
if (gm.strand == "+") {
|
|
827
|
+
p1 = gm.exon[exonidx + 1][1] - 1;
|
|
828
|
+
p2 = gm.exon[exonidx + 2][0];
|
|
829
|
+
} else {
|
|
830
|
+
p1 = gm.exon[exonidx + 2][1] - 1;
|
|
831
|
+
p2 = gm.exon[exonidx + 1][0];
|
|
832
|
+
}
|
|
833
|
+
evt.down1junction = findjunctionbystartstop(junctions, p1, p2);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
function checkexoncodingutr(exonidlst, gm) {
|
|
837
|
+
if (!gm.coding) {
|
|
838
|
+
return [false, false, false];
|
|
839
|
+
}
|
|
840
|
+
let exonstart = gm.exon[exonidlst[0]][0];
|
|
841
|
+
let exonstop = gm.exon[exonidlst[0]][1];
|
|
842
|
+
for (const idx of exonidlst) {
|
|
843
|
+
exonstart = Math.min(gm.exon[idx][0], exonstart);
|
|
844
|
+
exonstop = Math.max(gm.exon[idx][1], exonstop);
|
|
845
|
+
}
|
|
846
|
+
const forward = gm.strand == "+";
|
|
847
|
+
let utr3 = false, utr5 = false, coding = false;
|
|
848
|
+
if (exonstop <= gm.codingstart) {
|
|
849
|
+
if (forward) {
|
|
850
|
+
utr5 = true;
|
|
851
|
+
} else {
|
|
852
|
+
utr3 = true;
|
|
853
|
+
}
|
|
854
|
+
} else if (exonstart >= gm.codingstop) {
|
|
855
|
+
if (forward) {
|
|
856
|
+
utr3 = true;
|
|
857
|
+
} else {
|
|
858
|
+
utr5 = true;
|
|
859
|
+
}
|
|
860
|
+
} else {
|
|
861
|
+
coding = true;
|
|
862
|
+
}
|
|
863
|
+
return [utr3, utr5, coding];
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
// src/block.tk.junction.spliceevent.js
|
|
867
|
+
function spliceeventanalyze(tk, block) {
|
|
868
|
+
if (tk.eventsg) {
|
|
869
|
+
tk.eventsg.selectAll("*").remove();
|
|
870
|
+
}
|
|
871
|
+
if (tk.type != tkt.junction) {
|
|
872
|
+
return;
|
|
873
|
+
}
|
|
874
|
+
if (!tk.data) {
|
|
875
|
+
return;
|
|
876
|
+
}
|
|
877
|
+
if (tk.data.length == 0) {
|
|
878
|
+
return;
|
|
879
|
+
}
|
|
880
|
+
const [gmdataerr, gmdata] = getgmdata(block);
|
|
881
|
+
if (gmdataerr) {
|
|
882
|
+
const fontsize = 12;
|
|
883
|
+
const pad = 2;
|
|
884
|
+
tk.eventsg.append("rect").attr("width", block.width).attr("height", pad * 2 + fontsize).attr("fill", "#f1f1f1");
|
|
885
|
+
tk.eventsg.append("text").text(gmdataerr).attr("font-family", font).attr("font-size", fontsize).attr("fill", "#858585").attr("text-anchor", "middle").attr("x", block.width / 2).attr("y", pad + fontsize / 2).attr("dominant-baseline", "central");
|
|
886
|
+
tk.height_main += pad * 2 + fontsize;
|
|
887
|
+
block.block_setheight();
|
|
888
|
+
return;
|
|
889
|
+
}
|
|
890
|
+
if (!gmdata) {
|
|
891
|
+
return;
|
|
892
|
+
}
|
|
893
|
+
for (const junction of tk.data) {
|
|
894
|
+
delete junction.spliceevents;
|
|
895
|
+
}
|
|
896
|
+
mapjunctiontoexons(tk.data, gmdata);
|
|
897
|
+
const allevents = [];
|
|
898
|
+
const exonskipalt = findexonskipping(tk.totalsamplecount > 1, tk.data, gmdata);
|
|
899
|
+
if (exonskipalt.length > 0) {
|
|
900
|
+
for (const exonset of exonskipalt) {
|
|
901
|
+
if (exonlstoutofrange(exonset.exonlst, block)) {
|
|
902
|
+
continue;
|
|
903
|
+
}
|
|
904
|
+
allevents.push(exonset);
|
|
905
|
+
for (const thisevt of exonset.eventlst) {
|
|
906
|
+
if (!thisevt.junctionB.spliceevents) {
|
|
907
|
+
thisevt.junctionB.spliceevents = [];
|
|
908
|
+
}
|
|
909
|
+
thisevt.junctionB.spliceevents.push(thisevt);
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
if (allevents.length) {
|
|
914
|
+
rendereventsintrack(allevents, tk, block);
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
function rendereventsintrack(allevents, tk, block) {
|
|
918
|
+
const labelfontsize = 10;
|
|
919
|
+
const stackspace = 1;
|
|
920
|
+
const boxlabelspacing = 2;
|
|
921
|
+
let stackheight;
|
|
922
|
+
if (tk.totalsamplecount > 1) {
|
|
923
|
+
stackheight = labelfontsize * 3 + stackspace * 2;
|
|
924
|
+
} else {
|
|
925
|
+
stackheight = labelfontsize * 2 + stackspace;
|
|
926
|
+
}
|
|
927
|
+
for (const eventset of allevents) {
|
|
928
|
+
eventset.g = tk.eventsg.append("g");
|
|
929
|
+
const junctionB = eventset.eventlst[0].junctionB;
|
|
930
|
+
const jbstr = junctionB.chr + "-" + junctionB.start + "-" + junctionB.stop;
|
|
931
|
+
eventset.toplabel = eventset.g.append("text").text(eventset.toplabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize / 2).attr("dominant-baseline", "central");
|
|
932
|
+
if (tk.totalsamplecount > 1) {
|
|
933
|
+
eventset.middlelabel = eventset.g.append("text").text(eventset.middlelabelsays).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", labelfontsize * 1.5).attr("dominant-baseline", "central");
|
|
934
|
+
}
|
|
935
|
+
let willshowframe = false;
|
|
936
|
+
let thiseventframe = null;
|
|
937
|
+
for (const evt of eventset.eventlst) {
|
|
938
|
+
if (evt.isaltexon) {
|
|
939
|
+
evt.framenocheck = true;
|
|
940
|
+
continue;
|
|
941
|
+
}
|
|
942
|
+
if (evt.isskipexon) {
|
|
943
|
+
if (!evt.gm.coding) {
|
|
944
|
+
evt.framenocheck = true;
|
|
945
|
+
continue;
|
|
946
|
+
}
|
|
947
|
+
if (evt.utr3 || evt.utr5) {
|
|
948
|
+
evt.framenocheck = true;
|
|
949
|
+
continue;
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
willshowframe = true;
|
|
953
|
+
if (block.genome.junctionframecache.has(jbstr)) {
|
|
954
|
+
let isoform;
|
|
955
|
+
if (evt.isskipexon) {
|
|
956
|
+
isoform = evt.gm.isoform;
|
|
957
|
+
}
|
|
958
|
+
const thisframe = block.genome.junctionframecache.get(jbstr).get(isoform);
|
|
959
|
+
if (thisframe == void 0) {
|
|
960
|
+
} else {
|
|
961
|
+
evt.frame = thisframe;
|
|
962
|
+
if (thiseventframe == null) {
|
|
963
|
+
thiseventframe = thisframe;
|
|
964
|
+
} else {
|
|
965
|
+
if (thisframe == IN_frame) {
|
|
966
|
+
thiseventframe = IN_frame;
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
} else {
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
eventset.bottomlabel = eventset.g.append("text").text(
|
|
974
|
+
eventset.bottomlabelsays + (willshowframe ? ", " + (thiseventframe == null ? "checking" : thiseventframe == IN_frame ? "IN" : "OUT") : "")
|
|
975
|
+
).attr("font-size", labelfontsize).attr("font-family", font).attr("fill", eventset.color).attr("y", stackheight - labelfontsize / 2).attr("dominant-baseline", "central");
|
|
976
|
+
if (willshowframe && thiseventframe == null) {
|
|
977
|
+
for (const evt of eventset.eventlst) {
|
|
978
|
+
let gm;
|
|
979
|
+
if (evt.isaltexon) {
|
|
980
|
+
gm = evt.gmB;
|
|
981
|
+
} else if (evt.isskipexon) {
|
|
982
|
+
gm = evt.gm;
|
|
983
|
+
}
|
|
984
|
+
if (!block.genome.junctionframecache.has(jbstr)) {
|
|
985
|
+
checkjunctionframe({
|
|
986
|
+
jbstr,
|
|
987
|
+
evt,
|
|
988
|
+
gm,
|
|
989
|
+
block,
|
|
990
|
+
eventset
|
|
991
|
+
});
|
|
992
|
+
continue;
|
|
993
|
+
}
|
|
994
|
+
if (!block.genome.junctionframecache.get(jbstr).has(gm.isoform)) {
|
|
995
|
+
checkjunctionframe({
|
|
996
|
+
jbstr,
|
|
997
|
+
evt,
|
|
998
|
+
gm,
|
|
999
|
+
block,
|
|
1000
|
+
eventset
|
|
1001
|
+
});
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
const exonobjlst = [];
|
|
1006
|
+
let boxstart = null, boxstop;
|
|
1007
|
+
for (const exon of eventset.exonlst) {
|
|
1008
|
+
const pointa = block.seekcoord(exon.chr, exon.start)[0];
|
|
1009
|
+
if (!pointa) {
|
|
1010
|
+
console.log("skipped exon start position not mapped: " + exon.start);
|
|
1011
|
+
return;
|
|
1012
|
+
}
|
|
1013
|
+
const pointb = block.seekcoord(exon.chr, exon.stop - 1)[0];
|
|
1014
|
+
if (!pointb) {
|
|
1015
|
+
console.log("skipped exon stop position not mapped: " + exon.stop);
|
|
1016
|
+
return;
|
|
1017
|
+
}
|
|
1018
|
+
const exonobj = {
|
|
1019
|
+
x: Math.min(pointa.x, pointb.x),
|
|
1020
|
+
w: Math.max(1, Math.abs(pointa.x - pointb.x))
|
|
1021
|
+
};
|
|
1022
|
+
exonobj.rect = eventset.g.append("rect").attr("fill", eventset.color).attr("width", exonobj.w).attr("height", stackheight).attr("shape-rendering", "crispEdges").on("click", () => {
|
|
1023
|
+
console.log(eventset);
|
|
1024
|
+
});
|
|
1025
|
+
if (boxstart == null) {
|
|
1026
|
+
boxstart = exonobj.x;
|
|
1027
|
+
boxstop = exonobj.x + exonobj.w;
|
|
1028
|
+
} else {
|
|
1029
|
+
boxstart = Math.min(boxstart, exonobj.x);
|
|
1030
|
+
boxstop = Math.max(boxstop, exonobj.x + exonobj.w);
|
|
1031
|
+
}
|
|
1032
|
+
exonobjlst.push(exonobj);
|
|
1033
|
+
}
|
|
1034
|
+
for (const exon of exonobjlst) {
|
|
1035
|
+
exon.rect.attr("x", exon.x - boxstart);
|
|
1036
|
+
}
|
|
1037
|
+
eventset.boxstart = boxstart;
|
|
1038
|
+
eventset.boxwidth = boxstop - boxstart;
|
|
1039
|
+
if (eventset.exonlst.length > 1) {
|
|
1040
|
+
eventset.g.append("line").attr("stroke", eventset.color).attr("stroke-opacity", 0.2).attr("stroke-width", 2).attr("shape-rendering", "crispEdges").attr("x1", 0).attr("x2", eventset.boxwidth).attr("y1", stackheight / 2 - 0.5).attr("y2", stackheight / 2 - 0.5);
|
|
1041
|
+
}
|
|
1042
|
+
eventset.toplabel.each(function() {
|
|
1043
|
+
eventset.labelwidth = this.getBBox().width;
|
|
1044
|
+
});
|
|
1045
|
+
if (eventset.middlelabel) {
|
|
1046
|
+
eventset.middlelabel.each(function() {
|
|
1047
|
+
eventset.labelwidth = this.getBBox().width;
|
|
1048
|
+
});
|
|
1049
|
+
}
|
|
1050
|
+
eventset.bottomlabel.each(function() {
|
|
1051
|
+
eventset.labelwidth = Math.max(eventset.labelwidth, this.getBBox().width);
|
|
1052
|
+
});
|
|
1053
|
+
if (eventset.labelwidth > eventset.boxstart) {
|
|
1054
|
+
eventset.labelonright = true;
|
|
1055
|
+
eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing);
|
|
1056
|
+
eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing);
|
|
1057
|
+
if (eventset.middlelabel) {
|
|
1058
|
+
eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing);
|
|
1059
|
+
}
|
|
1060
|
+
} else {
|
|
1061
|
+
eventset.toplabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
|
|
1062
|
+
eventset.bottomlabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
|
|
1063
|
+
if (eventset.middlelabel) {
|
|
1064
|
+
eventset.middlelabel.attr("text-anchor", "end").attr("x", -boxlabelspacing);
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
eventset.cover = eventset.g.append("rect").attr("x", eventset.labelonright ? 0 : -eventset.labelwidth - boxlabelspacing).attr("width", eventset.labelwidth + boxlabelspacing + eventset.boxwidth).attr("height", stackheight).attr("fill", "#858585").attr("fill-opacity", 0).on("mouseover", () => {
|
|
1068
|
+
eventset.cover.attr("fill-opacity", 0.1);
|
|
1069
|
+
}).on("mouseout", () => {
|
|
1070
|
+
eventset.cover.attr("fill-opacity", 0);
|
|
1071
|
+
}).on("click", () => {
|
|
1072
|
+
tk.tktip.clear();
|
|
1073
|
+
displayspliceevents(eventset.eventlst, tk.tktip.d);
|
|
1074
|
+
tk.tktip.showunder(eventset.cover.node());
|
|
1075
|
+
});
|
|
1076
|
+
}
|
|
1077
|
+
const stacks = [0];
|
|
1078
|
+
for (const eventset of allevents) {
|
|
1079
|
+
let x1 = eventset.boxstart - (eventset.labelonright ? 0 : boxlabelspacing + eventset.labelwidth);
|
|
1080
|
+
let x2 = eventset.boxstart + eventset.boxwidth + (eventset.labelonright ? boxlabelspacing + eventset.labelwidth : 0);
|
|
1081
|
+
for (let stackidx = 0; stackidx < stacks.length; stackidx++) {
|
|
1082
|
+
if (x1 > stacks[stackidx]) {
|
|
1083
|
+
eventset.stackidx = stackidx;
|
|
1084
|
+
stacks[stackidx] = x2;
|
|
1085
|
+
break;
|
|
1086
|
+
}
|
|
1087
|
+
if (!eventset.labelonright) {
|
|
1088
|
+
const newx1 = eventset.boxstart;
|
|
1089
|
+
const newx2 = eventset.boxstart + eventset.boxwidth + boxlabelspacing + eventset.labelwidth;
|
|
1090
|
+
if (newx1 > stacks[stackidx] && newx2 <= block.width) {
|
|
1091
|
+
eventset.labelonright = true;
|
|
1092
|
+
eventset.stackidx = stackidx;
|
|
1093
|
+
stacks[stackidx] = newx2;
|
|
1094
|
+
eventset.toplabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
|
|
1095
|
+
eventset.bottomlabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
|
|
1096
|
+
if (eventset.middlelabel) {
|
|
1097
|
+
eventset.middlelabel.attr("x", eventset.boxwidth + boxlabelspacing).attr("text-anchor", "start");
|
|
1098
|
+
}
|
|
1099
|
+
eventset.cover.attr("x", 0);
|
|
1100
|
+
break;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
if (eventset.stackidx == void 0) {
|
|
1105
|
+
eventset.stackidx = stacks.length;
|
|
1106
|
+
stacks.push(x2);
|
|
1107
|
+
}
|
|
1108
|
+
eventset.g.attr(
|
|
1109
|
+
"transform",
|
|
1110
|
+
"translate(" + eventset.boxstart + "," + eventset.stackidx * (stackheight + stackspace) + ")"
|
|
1111
|
+
);
|
|
1112
|
+
}
|
|
1113
|
+
tk.height_main += stacks.length * (stackheight + stackspace) + tk.bottompad;
|
|
1114
|
+
block.block_setheight();
|
|
1115
|
+
}
|
|
1116
|
+
function checkjunctionframe(arg) {
|
|
1117
|
+
if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
|
|
1118
|
+
arg.block.genome.junctionframecache.set(arg.jbstr, /* @__PURE__ */ new Map());
|
|
1119
|
+
}
|
|
1120
|
+
if (!arg.gm.coding) {
|
|
1121
|
+
arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, false);
|
|
1122
|
+
mayupdateeventsetlabel(arg);
|
|
1123
|
+
return;
|
|
1124
|
+
}
|
|
1125
|
+
const gm2 = spliceeventchangegmexon(arg.gm, arg.evt);
|
|
1126
|
+
dofetch2("translategm", { method: "POST", body: JSON.stringify({ genome: arg.block.genome.name, gm: gm2 }) }).then((data) => {
|
|
1127
|
+
if (!data) {
|
|
1128
|
+
console.log("server error");
|
|
1129
|
+
return;
|
|
1130
|
+
}
|
|
1131
|
+
if (data.error) {
|
|
1132
|
+
console.log(data.error);
|
|
1133
|
+
return;
|
|
1134
|
+
}
|
|
1135
|
+
if (typeof data.frame != "boolean") {
|
|
1136
|
+
console.log("invalid result from translategm: " + data.frame);
|
|
1137
|
+
return;
|
|
1138
|
+
}
|
|
1139
|
+
arg.evt.frame = data.frame;
|
|
1140
|
+
arg.block.genome.junctionframecache.get(arg.jbstr).set(arg.gm.isoform, data.frame);
|
|
1141
|
+
mayupdateeventsetlabel(arg);
|
|
1142
|
+
});
|
|
1143
|
+
}
|
|
1144
|
+
function mayupdateeventsetlabel(arg) {
|
|
1145
|
+
if (!arg.block.genome.junctionframecache.has(arg.jbstr)) {
|
|
1146
|
+
return;
|
|
1147
|
+
}
|
|
1148
|
+
let frame = OUT_frame;
|
|
1149
|
+
for (const evt of arg.eventset.eventlst) {
|
|
1150
|
+
if (evt.framenocheck) {
|
|
1151
|
+
continue;
|
|
1152
|
+
}
|
|
1153
|
+
let isoform;
|
|
1154
|
+
if (evt.isskipexon) {
|
|
1155
|
+
isoform = evt.gm.isoform;
|
|
1156
|
+
}
|
|
1157
|
+
const thisframe = arg.block.genome.junctionframecache.get(arg.jbstr).get(isoform);
|
|
1158
|
+
if (thisframe == void 0) {
|
|
1159
|
+
return;
|
|
1160
|
+
}
|
|
1161
|
+
if (thisframe == IN_frame) {
|
|
1162
|
+
frame = IN_frame;
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
arg.eventset.bottomlabel.text(arg.eventset.bottomlabelsays + ", " + (frame == IN_frame ? "IN" : "OUT"));
|
|
1166
|
+
}
|
|
1167
|
+
function displayspliceevents(events, holder) {
|
|
1168
|
+
const evt2showidx = spliceevent_exonskip_getdefault_default(events);
|
|
1169
|
+
if (events.length > 1) {
|
|
1170
|
+
holder.append("div").style("margin", "3px 0px").style("color", "#858585").text("Additional interpretations:");
|
|
1171
|
+
const name = Math.random().toString();
|
|
1172
|
+
for (const [idx, evt] of events.entries()) {
|
|
1173
|
+
const id = name + idx;
|
|
1174
|
+
const row = holder.append("div").style("margin-top", "3px");
|
|
1175
|
+
row.append("input").attr("type", "radio").property("checked", idx == evt2showidx).attr("name", name).attr("id", id).on("change", () => {
|
|
1176
|
+
displayspliceevents_show(events, idx, showdiv);
|
|
1177
|
+
});
|
|
1178
|
+
row.append("label").attr("for", id).html(" " + spliceevent_phrase_default(evt));
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
const showdiv = holder.append("div");
|
|
1182
|
+
displayspliceevents_show(events, evt2showidx, showdiv);
|
|
1183
|
+
}
|
|
1184
|
+
function displayspliceevents_show(events, idx, div) {
|
|
1185
|
+
div.selectAll("*").remove();
|
|
1186
|
+
import("./spliceevent.exonskip.diagram-C5526P7P.js").then((p) => {
|
|
1187
|
+
p.default({
|
|
1188
|
+
event: events[idx],
|
|
1189
|
+
holder: div,
|
|
1190
|
+
nophrase: events.length > 1
|
|
1191
|
+
});
|
|
1192
|
+
});
|
|
1193
|
+
}
|
|
1194
|
+
function exonlstoutofrange(lst, block) {
|
|
1195
|
+
const chr = lst[0].chr;
|
|
1196
|
+
let start = lst[0].start;
|
|
1197
|
+
let stop = lst[0].stop;
|
|
1198
|
+
for (const e of lst) {
|
|
1199
|
+
start = Math.min(start, e.start);
|
|
1200
|
+
stop = Math.max(stop, e.stop);
|
|
1201
|
+
}
|
|
1202
|
+
const starthit = block.seekcoord(chr, start)[0];
|
|
1203
|
+
const stophit = block.seekcoord(chr, stop)[0];
|
|
1204
|
+
if (!starthit || !stophit) {
|
|
1205
|
+
return true;
|
|
1206
|
+
}
|
|
1207
|
+
let startoutleft = false;
|
|
1208
|
+
let startoutright = false;
|
|
1209
|
+
if (starthit.x <= 0) {
|
|
1210
|
+
startoutleft = true;
|
|
1211
|
+
} else if (starthit.x >= block.width) {
|
|
1212
|
+
startoutright = true;
|
|
1213
|
+
}
|
|
1214
|
+
let stopoutleft = false;
|
|
1215
|
+
let stopoutright = false;
|
|
1216
|
+
if (stophit.x <= 0) {
|
|
1217
|
+
stopoutleft = true;
|
|
1218
|
+
} else if (stophit.x >= block.width) {
|
|
1219
|
+
stopoutright = true;
|
|
1220
|
+
}
|
|
1221
|
+
if (startoutleft && stopoutleft) return true;
|
|
1222
|
+
if (startoutright && stopoutright) return true;
|
|
1223
|
+
return false;
|
|
1224
|
+
}
|
|
1225
|
+
function getgmdata(block) {
|
|
1226
|
+
if (!block.gmmode || block.gmmode == gmmode.genomic) {
|
|
1227
|
+
const genetk = [];
|
|
1228
|
+
for (const t of block.tklst) {
|
|
1229
|
+
if (t.__isgene) {
|
|
1230
|
+
genetk.push(t);
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
if (genetk.length == 0) {
|
|
1234
|
+
return ["Add a gene track to analyze splice junctions."];
|
|
1235
|
+
}
|
|
1236
|
+
const gmdatalst = [];
|
|
1237
|
+
for (const t of genetk) {
|
|
1238
|
+
if (t.gmdata) {
|
|
1239
|
+
for (const m of t.gmdata) {
|
|
1240
|
+
gmdatalst.push(m);
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
if (gmdatalst.length == 0) {
|
|
1245
|
+
return [null];
|
|
1246
|
+
}
|
|
1247
|
+
const regions = [];
|
|
1248
|
+
for (const m of gmdatalst) {
|
|
1249
|
+
let overlap = false;
|
|
1250
|
+
for (const r of regions) {
|
|
1251
|
+
if (Math.max(r.start, m.start) < Math.min(r.stop, m.stop)) {
|
|
1252
|
+
overlap = true;
|
|
1253
|
+
r.start = Math.min(r.start, m.start);
|
|
1254
|
+
r.stop = Math.max(r.stop, m.stop);
|
|
1255
|
+
break;
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
if (!overlap) {
|
|
1259
|
+
regions.push({ start: m.start, stop: m.stop });
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
if (regions.length >= 3) {
|
|
1263
|
+
return ["Zoom in on a single gene to analyze splice junctions."];
|
|
1264
|
+
}
|
|
1265
|
+
return [null, gmdatalst];
|
|
1266
|
+
}
|
|
1267
|
+
if (block.gmmode == gmmode.gmsum) {
|
|
1268
|
+
if (!block.allgm) {
|
|
1269
|
+
return ["Error: block.allgm[] is missing"];
|
|
1270
|
+
}
|
|
1271
|
+
return [null, block.allgm];
|
|
1272
|
+
}
|
|
1273
|
+
if (!block.usegm) {
|
|
1274
|
+
return ["Error: block.usegm is missing"];
|
|
1275
|
+
}
|
|
1276
|
+
return [null, [block.usegm]];
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
// src/block.tk.junction.renderjunctions.js
|
|
1280
|
+
var import_d3_beeswarm = __toESM(require_d3_beeswarm(), 1);
|
|
1281
|
+
var colorfunc = ordinal(category10_default);
|
|
1282
|
+
var minfontsize = 12;
|
|
1283
|
+
function rendertk(junctions, tk, block) {
|
|
1284
|
+
if (tk.data) {
|
|
1285
|
+
const map = /* @__PURE__ */ new Map();
|
|
1286
|
+
for (const j of tk.data) {
|
|
1287
|
+
map.set(j.chr + "." + j.start + "." + j.stop, j);
|
|
1288
|
+
}
|
|
1289
|
+
const pannedpx = Number.isInteger(block.pannedpx) ? block.pannedpx : 0;
|
|
1290
|
+
for (const i of junctions) {
|
|
1291
|
+
const j = map.get(i.chr + "." + i.start + "." + i.stop);
|
|
1292
|
+
if (j) {
|
|
1293
|
+
i.x = j.x + pannedpx;
|
|
1294
|
+
i.mode = j.mode;
|
|
1295
|
+
i.modefix = j.modefix;
|
|
1296
|
+
if (i.mode == modesample) {
|
|
1297
|
+
i.mode = moderaise;
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
tk.data = junctions;
|
|
1303
|
+
tk.glider.selectAll("*").remove();
|
|
1304
|
+
tk.leftaxis.selectAll("*").remove();
|
|
1305
|
+
if (tk.readcountcutoff) {
|
|
1306
|
+
const newj = [];
|
|
1307
|
+
for (const j of tk.data) {
|
|
1308
|
+
if (j.data) {
|
|
1309
|
+
const newsamples = [];
|
|
1310
|
+
for (const s of j.data) {
|
|
1311
|
+
if (s.v >= tk.readcountcutoff) {
|
|
1312
|
+
newsamples.push(s);
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
if (newsamples.length == 0) {
|
|
1316
|
+
continue;
|
|
1317
|
+
}
|
|
1318
|
+
j.data = newsamples;
|
|
1319
|
+
newj.push(j);
|
|
1320
|
+
} else {
|
|
1321
|
+
if (j.v >= tk.readcountcutoff) {
|
|
1322
|
+
newj.push(j);
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
tk.data = newj;
|
|
1327
|
+
}
|
|
1328
|
+
if (tk.data.length == 0) {
|
|
1329
|
+
tk.height_main = 50;
|
|
1330
|
+
block.tkcloakoff(tk, { error: tk.name + ": No junction in view range" });
|
|
1331
|
+
tk.label_mcount.text("");
|
|
1332
|
+
if (tk.label_samplecount) {
|
|
1333
|
+
tk.label_samplecount.text("");
|
|
1334
|
+
}
|
|
1335
|
+
get_leftLabelMaxwidth(tk);
|
|
1336
|
+
block.setllabel();
|
|
1337
|
+
block.block_setheight();
|
|
1338
|
+
return;
|
|
1339
|
+
}
|
|
1340
|
+
tk.label_mcount.text(tk.data.length + " junction" + (tk.data.length > 1 ? "s" : ""));
|
|
1341
|
+
get_leftLabelMaxwidth(tk);
|
|
1342
|
+
block.setllabel();
|
|
1343
|
+
junctiontype2color(tk, block);
|
|
1344
|
+
const mg = tk.glider.append("g");
|
|
1345
|
+
tk.data.sort((a, b) => {
|
|
1346
|
+
return a._x - b._x;
|
|
1347
|
+
});
|
|
1348
|
+
let maxsamplecount = 0;
|
|
1349
|
+
if (tk.totalsamplecount > 1) {
|
|
1350
|
+
maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data.length), 0);
|
|
1351
|
+
const radius = 5;
|
|
1352
|
+
let mrd = 0;
|
|
1353
|
+
const w = Math.pow(radius, 2) * Math.PI;
|
|
1354
|
+
if (maxsamplecount <= 10) {
|
|
1355
|
+
mrd = w * maxsamplecount * 0.9;
|
|
1356
|
+
} else if (maxsamplecount <= 100) {
|
|
1357
|
+
mrd = w * 10;
|
|
1358
|
+
} else if (maxsamplecount <= 1e3) {
|
|
1359
|
+
mrd = w * 14;
|
|
1360
|
+
} else {
|
|
1361
|
+
mrd = w * 20;
|
|
1362
|
+
}
|
|
1363
|
+
const sf_discradius = linear().domain([
|
|
1364
|
+
1,
|
|
1365
|
+
maxsamplecount * 0.5 + 0.1,
|
|
1366
|
+
maxsamplecount * 0.6 + 0.1,
|
|
1367
|
+
maxsamplecount * 0.7 + 0.1,
|
|
1368
|
+
maxsamplecount * 0.8 + 0.1,
|
|
1369
|
+
maxsamplecount
|
|
1370
|
+
]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
|
|
1371
|
+
let maxradius = 0;
|
|
1372
|
+
for (const j of tk.data) {
|
|
1373
|
+
j.radius = Math.sqrt(sf_discradius(j.data.length) / Math.PI);
|
|
1374
|
+
if (j.data.length > 1) {
|
|
1375
|
+
mg.append("text").attr("font-family", font).attr("font-size", Math.max(minfontsize, j.radius)).text(j.data.length).each(function() {
|
|
1376
|
+
const b = this.getBBox();
|
|
1377
|
+
const newrad = Math.sqrt(Math.pow(b.width, 2) + Math.pow(b.height, 2)) / 2;
|
|
1378
|
+
j.radius = Math.max(j.radius, newrad);
|
|
1379
|
+
}).remove();
|
|
1380
|
+
}
|
|
1381
|
+
j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
|
|
1382
|
+
j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
|
|
1383
|
+
maxradius = Math.max(maxradius, j.radius2);
|
|
1384
|
+
}
|
|
1385
|
+
tk.maxradius = maxradius;
|
|
1386
|
+
} else {
|
|
1387
|
+
maxsamplecount = tk.data.reduce((max, j) => Math.max(max, j.data[0].v), 0);
|
|
1388
|
+
const radius = 5;
|
|
1389
|
+
let mrd = 0;
|
|
1390
|
+
const w = Math.pow(radius, 2) * Math.PI;
|
|
1391
|
+
if (maxsamplecount <= 10) {
|
|
1392
|
+
mrd = w * maxsamplecount * 0.9;
|
|
1393
|
+
} else if (maxsamplecount <= 100) {
|
|
1394
|
+
mrd = w * 5;
|
|
1395
|
+
} else if (maxsamplecount <= 1e3) {
|
|
1396
|
+
mrd = w * 7;
|
|
1397
|
+
} else {
|
|
1398
|
+
mrd = w * 10;
|
|
1399
|
+
}
|
|
1400
|
+
const sf_discradius = linear().domain([
|
|
1401
|
+
1,
|
|
1402
|
+
maxsamplecount * 0.5 + 0.1,
|
|
1403
|
+
maxsamplecount * 0.6 + 0.1,
|
|
1404
|
+
maxsamplecount * 0.7 + 0.1,
|
|
1405
|
+
maxsamplecount * 0.8 + 0.1,
|
|
1406
|
+
maxsamplecount
|
|
1407
|
+
]).range([w, w + (mrd - w) * 0.8, w + (mrd - w) * 0.85, w + (mrd - w) * 0.9, w + (mrd - w) * 0.95, mrd]);
|
|
1408
|
+
let maxradius = 0;
|
|
1409
|
+
for (const j of tk.data) {
|
|
1410
|
+
j.radius = Math.sqrt(sf_discradius(j.data[0].v) / Math.PI);
|
|
1411
|
+
j.rimwidth = j.rimcount ? Math.max(2, j.radius / 6) : 0;
|
|
1412
|
+
j.radius2 = j.radius + j.rimwidth + (j.rimwidth > 0 ? 1 : 0);
|
|
1413
|
+
maxradius = Math.max(maxradius, j.radius2);
|
|
1414
|
+
}
|
|
1415
|
+
tk.maxradius = maxradius;
|
|
1416
|
+
}
|
|
1417
|
+
let maxread = 0, maxmedian = 0, maxmedianradius = 0;
|
|
1418
|
+
for (const j of tk.data) {
|
|
1419
|
+
for (const s of j.data) {
|
|
1420
|
+
maxread = Math.max(s.v, maxread);
|
|
1421
|
+
}
|
|
1422
|
+
if (j.data.length == 1) {
|
|
1423
|
+
j.median = j.data[0].v;
|
|
1424
|
+
} else {
|
|
1425
|
+
const readlst = j.data.map((s) => s.v);
|
|
1426
|
+
readlst.sort((a, b) => a - b);
|
|
1427
|
+
j.median = readlst[Math.floor(j.data.length / 2)];
|
|
1428
|
+
}
|
|
1429
|
+
if (j.median > maxmedian) {
|
|
1430
|
+
maxmedian = j.median;
|
|
1431
|
+
maxmedianradius = j.radius;
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
tk.yscale = log().domain([tk.readcountcutoff || 1, maxread]).range([tk.axisheight, 0]);
|
|
1435
|
+
axisstyle({
|
|
1436
|
+
axis: tk.leftaxis.call(axisRight().scale(tk.yscale).ticks(6, ".0f")),
|
|
1437
|
+
color: "black",
|
|
1438
|
+
showline: true
|
|
1439
|
+
});
|
|
1440
|
+
tk.height_main = tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight + tk.lowpad + tk.legheight + tk.bottompad;
|
|
1441
|
+
tk.eventsg = tk.glider.append("g").attr("transform", "translate(0," + (tk.height_main - tk.toppad) + ")");
|
|
1442
|
+
automode(tk, null, block.width);
|
|
1443
|
+
mg.attr("transform", "translate(0," + (tk.height_main - tk.toppad - tk.bottompad) + ")");
|
|
1444
|
+
{
|
|
1445
|
+
const topy = -tk.legheight - tk.lowpad - tk.maxradius * 4 - tk.padheight - tk.axisheight;
|
|
1446
|
+
mg.append("line").attr("x1", 0).attr("y1", topy).attr("y2", topy).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
|
|
1447
|
+
mg.append("line").attr("x1", 0).attr("y1", topy + tk.axisheight).attr("y2", topy + tk.axisheight).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("shape-rendering", "crispEdges");
|
|
1448
|
+
let v = 10;
|
|
1449
|
+
while (v <= maxread) {
|
|
1450
|
+
mg.append("line").attr("x1", 0).attr("y1", topy + tk.yscale(v)).attr("y2", topy + tk.yscale(v)).attr("x2", block.width).attr("stroke", "#858585").attr("stroke-opacity", 0.2).attr("stroke-dasharray", "4,4").attr("shape-rendering", "crispEdges");
|
|
1451
|
+
v *= 10;
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
const jug = mg.selectAll().data(tk.data).enter().append("g").attr("transform", (d) => set_jug(d)).each(function(j) {
|
|
1455
|
+
j.jugg = this;
|
|
1456
|
+
});
|
|
1457
|
+
tk.jug = jug;
|
|
1458
|
+
if (tk.hljunctions) {
|
|
1459
|
+
jug.attr("class", (d) => {
|
|
1460
|
+
for (const j of tk.hljunctions) {
|
|
1461
|
+
if (d.chr == j.chr && d.start == j.start && d.stop == j.stop) {
|
|
1462
|
+
return "sja_pulse";
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
return null;
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
jug.append("line").attr("stroke", (d) => d.color).attr("x1", (d) => set_leg_x1(d)).attr("y2", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
|
|
1469
|
+
d.leg1 = this;
|
|
1470
|
+
}).classed("sja_jug_leg1", true);
|
|
1471
|
+
jug.append("line").attr("stroke", (d) => d.color).attr("x2", (d) => set_leg_x2(d)).attr("y1", (d) => set_leg_y(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).classed("sja_jug_leg2", true).each(function(d) {
|
|
1472
|
+
d.leg2 = this;
|
|
1473
|
+
});
|
|
1474
|
+
const jug2 = jug.append("g").attr("class", "sja_jug_jug2").attr("transform", (d) => set_jug2(d, tk));
|
|
1475
|
+
jug2.append("line").attr("stroke", (d) => d.color).classed("sja_jug_stem", true).attr("stroke-dasharray", "2,2").attr("shape-rendering", "crispEdges").attr("y1", (d) => set_stem_y1(d)).attr("y2", (d) => set_stem_y2(d, tk)).attr("stroke-opacity", (d) => set_lineopacity(d)).each(function(d) {
|
|
1476
|
+
d.stem = this;
|
|
1477
|
+
});
|
|
1478
|
+
jug2.append("circle").attr("r", (d) => d.radius).attr("fill", (d) => d.color).attr("stroke", "white").attr("fill-opacity", 0.5);
|
|
1479
|
+
jug2.filter((d) => d.data.length > 1).append("text").text((d) => d.data.length).attr("font-size", (d) => Math.max(minfontsize, d.radius)).attr("fill-opacity", (d) => set_discnum(d)).classed("sja_jug_discnum", true).attr("fill", "white").attr("font-family", font).attr("text-anchor", "middle").attr("dominant-baseline", "central");
|
|
1480
|
+
jug2.append("circle").attr("r", (d) => d.radius).attr("stroke", (d) => d.color).classed("sja_aa_disckick", true).attr("fill", "white").attr("fill-opacity", 0).attr("stroke-opacity", 0).on("mouseover", (event, d) => {
|
|
1481
|
+
jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", 0.2);
|
|
1482
|
+
jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", 0.2);
|
|
1483
|
+
jug.selectAll(".sja_jug_stem").attr("stroke-opacity", 0.2);
|
|
1484
|
+
select_default(d.leg1).attr("stroke-opacity", 1);
|
|
1485
|
+
select_default(d.leg2).attr("stroke-opacity", 1);
|
|
1486
|
+
select_default(d.stem).attr("stroke-opacity", 1);
|
|
1487
|
+
if (d.mode == modefold) {
|
|
1488
|
+
foldedjunctioninfo(d, tk);
|
|
1489
|
+
return;
|
|
1490
|
+
}
|
|
1491
|
+
const circle = event.target.getBoundingClientRect();
|
|
1492
|
+
expandedjunctioninfo(d, tk, circle);
|
|
1493
|
+
}).on("mouseout", () => {
|
|
1494
|
+
tk.pica.g.selectAll("*").remove();
|
|
1495
|
+
tk.tktip.hide();
|
|
1496
|
+
jug.selectAll(".sja_jug_leg1").attr("stroke-opacity", (d) => set_lineopacity(d));
|
|
1497
|
+
jug.selectAll(".sja_jug_leg2").attr("stroke-opacity", (d) => set_lineopacity(d));
|
|
1498
|
+
jug.selectAll(".sja_jug_stem").attr("stroke-opacity", (d) => set_lineopacity(d));
|
|
1499
|
+
}).on("mousedown", (event) => {
|
|
1500
|
+
event.stopPropagation();
|
|
1501
|
+
}).on("click", (event, d) => {
|
|
1502
|
+
if (d.mode == modefold) {
|
|
1503
|
+
d.mode = moderaise;
|
|
1504
|
+
} else if (d.mode == moderaise) {
|
|
1505
|
+
if (d.data.length == 1) {
|
|
1506
|
+
d.mode = modefold;
|
|
1507
|
+
} else {
|
|
1508
|
+
d.mode = modesample;
|
|
1509
|
+
junctionsamplespread(d, tk, block);
|
|
1510
|
+
}
|
|
1511
|
+
} else {
|
|
1512
|
+
d.mode = modefold;
|
|
1513
|
+
}
|
|
1514
|
+
d.modefix = true;
|
|
1515
|
+
horiplace(tk.data, block.width, tk);
|
|
1516
|
+
});
|
|
1517
|
+
horiplace(tk.data, block.width, tk);
|
|
1518
|
+
function set_lineopacity(d) {
|
|
1519
|
+
return 0.5;
|
|
1520
|
+
}
|
|
1521
|
+
block.onloadalltk.push(() => {
|
|
1522
|
+
spliceeventanalyze(tk, block);
|
|
1523
|
+
});
|
|
1524
|
+
block.tkcloakoff(tk, {});
|
|
1525
|
+
block.block_setheight();
|
|
1526
|
+
}
|
|
1527
|
+
function horiplace(lst, width, tk) {
|
|
1528
|
+
const todo = [];
|
|
1529
|
+
for (const i of lst) {
|
|
1530
|
+
if (i.x0 < 0) {
|
|
1531
|
+
i.tox = i.x1 - i.radius2 * 2;
|
|
1532
|
+
} else if (i.x1 > width) {
|
|
1533
|
+
i.tox = i.x0 + i.radius2 * 2;
|
|
1534
|
+
} else {
|
|
1535
|
+
i.tox = i._x;
|
|
1536
|
+
}
|
|
1537
|
+
if (i.mode == modefold) {
|
|
1538
|
+
i.x = i.tox;
|
|
1539
|
+
} else {
|
|
1540
|
+
todo.push(i);
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
for (const i of lst) {
|
|
1544
|
+
i.x = i.tox;
|
|
1545
|
+
}
|
|
1546
|
+
set_all(tk);
|
|
1547
|
+
return;
|
|
1548
|
+
}
|
|
1549
|
+
function automode(tk, usemode, blockwidth) {
|
|
1550
|
+
for (const i of tk.data) {
|
|
1551
|
+
if (!i.mode) i.mode = moderaise;
|
|
1552
|
+
}
|
|
1553
|
+
return;
|
|
1554
|
+
const samplecountlst = [];
|
|
1555
|
+
for (let i = 0; i < tk.data.length; i++) {
|
|
1556
|
+
samplecountlst.push({
|
|
1557
|
+
idx: i,
|
|
1558
|
+
count: tk.data[i].data ? tk.data[i].data.length : tk.data[i].v
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
samplecountlst.sort((a, b) => b.count - a.count);
|
|
1562
|
+
let cumx = 0;
|
|
1563
|
+
for (const cc of samplecountlst) {
|
|
1564
|
+
const d = tk.data[cc.idx];
|
|
1565
|
+
if (!d.mode) {
|
|
1566
|
+
cumx += d.radius2 * 2;
|
|
1567
|
+
d.mode = cumx >= blockwidth ? modefold : moderaise;
|
|
1568
|
+
} else {
|
|
1569
|
+
if (d.modefix) {
|
|
1570
|
+
if (d.mode != modefold) {
|
|
1571
|
+
cumx += d.radius2 * 2;
|
|
1572
|
+
}
|
|
1573
|
+
} else {
|
|
1574
|
+
if (usemode) {
|
|
1575
|
+
d.mode = usemode;
|
|
1576
|
+
if (d.mode != modefold) {
|
|
1577
|
+
cumx += d.radius2 * 2;
|
|
1578
|
+
}
|
|
1579
|
+
} else {
|
|
1580
|
+
cumx += d.radius2 * 2;
|
|
1581
|
+
d.mode = cumx >= blockwidth ? modefold : moderaise;
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
function set_jug(d) {
|
|
1588
|
+
return "translate(" + d.x + ",0)";
|
|
1589
|
+
}
|
|
1590
|
+
function set_leg_x1(d) {
|
|
1591
|
+
return d.x0 - d.x;
|
|
1592
|
+
}
|
|
1593
|
+
function set_leg_x2(d) {
|
|
1594
|
+
return d.x1 - d.x;
|
|
1595
|
+
}
|
|
1596
|
+
function set_discnum(d) {
|
|
1597
|
+
return d.mode == modefold ? 0 : 1;
|
|
1598
|
+
}
|
|
1599
|
+
function set_stem_y1(d) {
|
|
1600
|
+
if (d.mode == modefold) return d.radius;
|
|
1601
|
+
return d.radius2;
|
|
1602
|
+
}
|
|
1603
|
+
function set_qmg(d, tk) {
|
|
1604
|
+
if (d.mode == modesample)
|
|
1605
|
+
return "translate(0,-" + (tk.legheight + tk.maxradius * 4 + tk.lowpad + tk.padheight) + ") scale(1)";
|
|
1606
|
+
return "translate(0,0) scale(0)";
|
|
1607
|
+
}
|
|
1608
|
+
function set_leg_y(d, tk) {
|
|
1609
|
+
if (d.mode == modefold) return -tk.legheight;
|
|
1610
|
+
return -tk.legheight - tk.lowpad - tk.maxradius * 2;
|
|
1611
|
+
}
|
|
1612
|
+
function set_jug2(d, tk) {
|
|
1613
|
+
if (d.mode == modefold) return "translate(0,-" + (tk.legheight + tk.lowpad + d.radius) + ")";
|
|
1614
|
+
if (d.mode == moderaise)
|
|
1615
|
+
return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 4 + tk.padheight + tk.axisheight - tk.yscale(d.median)) + ")";
|
|
1616
|
+
return "translate(0,-" + (tk.legheight + tk.lowpad + tk.maxradius * 3 + tk.padheight) + ")";
|
|
1617
|
+
}
|
|
1618
|
+
function set_stem_y2(d, tk) {
|
|
1619
|
+
if (d.mode == modefold) return d.radius + tk.lowpad;
|
|
1620
|
+
if (d.mode == moderaise) return tk.padheight + tk.maxradius * 2 + tk.axisheight - tk.yscale(d.median);
|
|
1621
|
+
return tk.maxradius + tk.padheight;
|
|
1622
|
+
}
|
|
1623
|
+
function set_all(tk) {
|
|
1624
|
+
const dur = 500;
|
|
1625
|
+
if (tk.totalsamplecount > 1) {
|
|
1626
|
+
tk.jug.selectAll(".sja_jug_qmg").transition().duration(dur).attr("transform", (d) => set_qmg(d, tk));
|
|
1627
|
+
tk.jug.selectAll(".sja_jug_discnum").transition().duration(dur).attr("fill-opacity", (d) => set_discnum(d));
|
|
1628
|
+
}
|
|
1629
|
+
tk.jug.selectAll(".sja_jug_leg1").transition().duration(dur).attr("y2", (d) => set_leg_y(d, tk)).attr("x1", (d) => set_leg_x1(d));
|
|
1630
|
+
tk.jug.selectAll(".sja_jug_leg2").transition().duration(dur).attr("y1", (d) => set_leg_y(d, tk)).attr("x2", (d) => set_leg_x2(d));
|
|
1631
|
+
tk.jug.selectAll(".sja_jug_jug2").transition().duration(dur).attr("transform", (d) => set_jug2(d, tk));
|
|
1632
|
+
tk.jug.selectAll(".sja_jug_stem").transition().duration(dur).attr("y2", (d) => set_stem_y2(d, tk)).attr("y1", (d) => set_stem_y1(d));
|
|
1633
|
+
tk.jug.transition().duration(dur).attr("transform", (d) => set_jug(d));
|
|
1634
|
+
}
|
|
1635
|
+
function junctiontype2color(tk, block) {
|
|
1636
|
+
for (const j of tk.data) {
|
|
1637
|
+
j.color = defaultcolor;
|
|
1638
|
+
}
|
|
1639
|
+
if (tk.nocatepreconfig) {
|
|
1640
|
+
let categories = {};
|
|
1641
|
+
if (tk.categories) {
|
|
1642
|
+
categories = tk.categories;
|
|
1643
|
+
}
|
|
1644
|
+
let hasnewtype = false;
|
|
1645
|
+
for (const j of tk.data) {
|
|
1646
|
+
if (j.type) {
|
|
1647
|
+
if (!categories[j.type]) {
|
|
1648
|
+
hasnewtype = true;
|
|
1649
|
+
categories[j.type] = {
|
|
1650
|
+
label: j.type
|
|
1651
|
+
};
|
|
1652
|
+
if (j.type.toLowerCase() == "known") {
|
|
1653
|
+
categories[j.type].color = "#0C72A8";
|
|
1654
|
+
} else if (j.type.toLowerCase() == "novel") {
|
|
1655
|
+
categories[j.type].color = "#A80C33";
|
|
1656
|
+
} else {
|
|
1657
|
+
categories[j.type].color = colorfunc(j.type);
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
if (hasnewtype) {
|
|
1663
|
+
tk.categories = categories;
|
|
1664
|
+
if (!tk.tr_legend) {
|
|
1665
|
+
const [tr, td] = legend_newrow(block, tk.name);
|
|
1666
|
+
tk.tr_legend = tr;
|
|
1667
|
+
tk.td_legend = td;
|
|
1668
|
+
tr.style("display", "none");
|
|
1669
|
+
appear(tr, "table-row");
|
|
1670
|
+
}
|
|
1671
|
+
category2legend(tk.categories, tk.td_legend);
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
if (tk.categories) {
|
|
1675
|
+
for (const j of tk.data) {
|
|
1676
|
+
if (j.type && tk.categories[j.type]) {
|
|
1677
|
+
j.color = tk.categories[j.type].color;
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
function foldedjunctioninfo(d, tk) {
|
|
1683
|
+
const fontsize = 15;
|
|
1684
|
+
let pad = 5, y = pad, width = 0;
|
|
1685
|
+
const bg = tk.pica.g.append("rect").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("fill", "white").attr("fill-opacity", 0.8);
|
|
1686
|
+
if (d.type) {
|
|
1687
|
+
tk.pica.g.append("text").text(d.type).attr("fill", d.color).attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
|
|
1688
|
+
width = this.getBBox().width;
|
|
1689
|
+
});
|
|
1690
|
+
y += fontsize;
|
|
1691
|
+
}
|
|
1692
|
+
if (d.data) {
|
|
1693
|
+
tk.pica.g.append("text").text(d.data.length + " sample" + (d.data.length > 1 ? "s" : "")).attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
|
|
1694
|
+
width = Math.max(width, this.getBBox().width);
|
|
1695
|
+
});
|
|
1696
|
+
y += fontsize;
|
|
1697
|
+
tk.pica.g.append("text").text(d.median + " median").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
|
|
1698
|
+
width = Math.max(width, this.getBBox().width);
|
|
1699
|
+
});
|
|
1700
|
+
y += fontsize;
|
|
1701
|
+
} else {
|
|
1702
|
+
tk.pica.g.append("text").text(d.v + " reads").attr("fill", "#858585").attr("font-size", fontsize - 2).attr("font-family", font).attr("x", pad).attr("y", y + fontsize / 2).attr("dominant-baseline", "central").each(function() {
|
|
1703
|
+
width = Math.max(width, this.getBBox().width);
|
|
1704
|
+
});
|
|
1705
|
+
y += fontsize;
|
|
1706
|
+
}
|
|
1707
|
+
y += pad;
|
|
1708
|
+
bg.attr("width", pad * 2 + width).attr("height", y);
|
|
1709
|
+
tk.pica.g.append("line").attr("stroke", d.color).attr("shape-rendering", "crispEdges").attr("x1", 30).attr("x2", 30).attr("y1", y).attr("y2", y + 15);
|
|
1710
|
+
y += 15;
|
|
1711
|
+
tk.pica.g.attr(
|
|
1712
|
+
"transform",
|
|
1713
|
+
"translate(" + (d.x - 30) + "," + (tk.toppad + tk.axisheight + tk.maxradius * 4 + tk.padheight - d.radius * 2 - y) + ")"
|
|
1714
|
+
);
|
|
1715
|
+
}
|
|
1716
|
+
function expandedjunctioninfo(d, tk, circle) {
|
|
1717
|
+
tk.tktip.clear();
|
|
1718
|
+
const holder = tk.tktip.d;
|
|
1719
|
+
if (d.type) {
|
|
1720
|
+
holder.append("div").style("display", "inline-block").text(d.type).classed("sja_mcdot", true).style("background-color", d.color).style("padding", "1px 8px").style("margin-bottom", "3px");
|
|
1721
|
+
}
|
|
1722
|
+
holder.append("div").html(
|
|
1723
|
+
bplen(d.stop - d.start) + ' <span style="font-size:.8em;">' + d.chr + ":" + (d.start + 1) + "-" + (d.stop + 1) + "</span>"
|
|
1724
|
+
);
|
|
1725
|
+
if (d.data) {
|
|
1726
|
+
if (d.data.length > 1) {
|
|
1727
|
+
holder.append("div").html(d.data.length + ' <span style="font-size:.8em;color:#858585">samples</span>');
|
|
1728
|
+
if (d.rimcount) {
|
|
1729
|
+
holder.append("div").html(d.rimcount + ' <span style="font-size:.8em;color:#858585">show ' + tk.rimwhat + "</span>");
|
|
1730
|
+
}
|
|
1731
|
+
holder.append("div").html(d.median + ' <span style="font-size:.8em;color:#858585">median read count</span>');
|
|
1732
|
+
} else if (d.data.length == 1) {
|
|
1733
|
+
samplejunctiontooltip(d, d.data[0], tk, holder);
|
|
1734
|
+
}
|
|
1735
|
+
} else {
|
|
1736
|
+
holder.append("div").html(d.v + ' <span style="font-size:.8em;color:#858585">read count</span>');
|
|
1737
|
+
}
|
|
1738
|
+
if (d.spliceevents && d.spliceevents.length > 0) {
|
|
1739
|
+
const renderdiv = holder.append("div").style("margin", "10px 0px");
|
|
1740
|
+
displayspliceevents(d.spliceevents, renderdiv);
|
|
1741
|
+
}
|
|
1742
|
+
tk.tktip.show(circle.left + circle.width, circle.top - 50);
|
|
1743
|
+
}
|
|
1744
|
+
function junctionsamplespread(j, tk, block) {
|
|
1745
|
+
if (j.qmg) {
|
|
1746
|
+
j.qmg.remove();
|
|
1747
|
+
}
|
|
1748
|
+
if (tk.cohortsetting && tk.cohortsetting.uselevelidx != void 0) {
|
|
1749
|
+
for (const d of j.data) {
|
|
1750
|
+
if (!d[tk.cohortsetting.cohort.levels[0].k]) {
|
|
1751
|
+
d.color = "gray";
|
|
1752
|
+
continue;
|
|
1753
|
+
}
|
|
1754
|
+
const levelkeys = [];
|
|
1755
|
+
for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
|
|
1756
|
+
const levelvalue = d[tk.cohortsetting.cohort.levels[lidx].k];
|
|
1757
|
+
if (levelvalue) {
|
|
1758
|
+
levelkeys.push(levelvalue);
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
const str = levelkeys.join(tk.cohortsetting.levelseparator);
|
|
1762
|
+
d.color = tk.cohortsetting.colorfunc(str);
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
j.swarm = (0, import_d3_beeswarm.beeswarm)().data(j.data).distributeOn((d) => tk.axisheight - tk.yscale(d.v)).radius(tk.qmradius).orientation("vertical").side("symetric").arrange();
|
|
1766
|
+
const jugg = select_default(j.jugg);
|
|
1767
|
+
j.qmg = jugg.append("g").attr("class", "sja_jug_qmg").attr("transform", set_qmg(j, tk));
|
|
1768
|
+
const opacity = 0.8;
|
|
1769
|
+
j.qmg.selectAll().data(j.swarm).enter().append("circle").attr("cx", 0).attr("cy", (bee) => -bee.y).attr("r", tk.qmradius).attr("fill", (bee) => {
|
|
1770
|
+
return bee.datum.color || "green";
|
|
1771
|
+
}).attr("fill-opacity", opacity).on("mousedown", (event) => event.stopPropagation()).on("mousemove", (event) => event.stopPropagation()).on("mouseover", (event, bee) => {
|
|
1772
|
+
select_default(event.target).attr("fill-opacity", 1);
|
|
1773
|
+
const p = event.target.getBoundingClientRect();
|
|
1774
|
+
tk.tktip.clear();
|
|
1775
|
+
tk.tktip.show(p.left + 20, p.top - 40);
|
|
1776
|
+
samplejunctiontooltip(j, bee.datum, tk, tk.tktip.d);
|
|
1777
|
+
}).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", opacity)).on("click", (event, bee) => {
|
|
1778
|
+
if (tk.tracks) {
|
|
1779
|
+
return;
|
|
1780
|
+
}
|
|
1781
|
+
}).transition().attr("cx", (bee) => bee.x);
|
|
1782
|
+
}
|
|
1783
|
+
function samplejunctiontooltip(j, sample, tk, holder) {
|
|
1784
|
+
if (sample.sample) {
|
|
1785
|
+
holder.append("div").html(sample.sample);
|
|
1786
|
+
} else if (sample.name) {
|
|
1787
|
+
holder.append("div").html(sample.name);
|
|
1788
|
+
} else if (sample.patient || sample.sampletype) {
|
|
1789
|
+
if (sample.patient) {
|
|
1790
|
+
holder.append("div").html(sample.patient + ' <span style="font-size:.7em;color:#858585">patient</span>');
|
|
1791
|
+
}
|
|
1792
|
+
if (sample.sampletype) {
|
|
1793
|
+
holder.append("div").html(sample.sampletype + ' <span style="font-size:.7em;color:#858585">sample type</span>');
|
|
1794
|
+
}
|
|
1795
|
+
} else if (sample.tkid) {
|
|
1796
|
+
for (const t of tk.tracks) {
|
|
1797
|
+
if (t.tkid == sample.tkid) {
|
|
1798
|
+
holder.append("div").text(t.name || "unnamed member");
|
|
1799
|
+
break;
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
if (tk.cohortsetting && tk.cohortsetting.cohort && tk.cohortsetting.cohort.levels) {
|
|
1804
|
+
for (const lev of tk.cohortsetting.cohort.levels) {
|
|
1805
|
+
if (sample[lev.k]) {
|
|
1806
|
+
holder.append("div").html(sample[lev.k] + ' <span style="font-size:.7em;color:#858585">' + lev.label + "</span>");
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
holder.append("div").html(sample.v + ' <span style="font-size:.7em;color:#858585">read count</span>');
|
|
1811
|
+
if (sample.metadata) {
|
|
1812
|
+
holder.append("div").html(
|
|
1813
|
+
'<span style="background-color:' + sample.metadata.color + '" class=sja_mcdot> </span> ' + sample.metadata.value + ' <span style="font-size:.7em;color:#858585">' + tk.metadata.m.label + "</span>"
|
|
1814
|
+
);
|
|
1815
|
+
}
|
|
1816
|
+
if (sample.hasrim) {
|
|
1817
|
+
holder.append("div").text(tk.rimwhat);
|
|
1818
|
+
}
|
|
1819
|
+
if (j.spliceevents) {
|
|
1820
|
+
const evtidx = spliceevent_exonskip_getdefault_default(j.spliceevents);
|
|
1821
|
+
const evt = j.spliceevents[evtidx];
|
|
1822
|
+
const skipwhichexon = "exon " + evt.skippedexon.map((i) => i + 1).join(",") + " " + (evt.isskipexon ? "skip" : "alt. use");
|
|
1823
|
+
let jbcount = 0;
|
|
1824
|
+
if (evt.junctionB && evt.junctionB.data) {
|
|
1825
|
+
for (const d of evt.junctionB.data) {
|
|
1826
|
+
if (d.tkid == sample.tkid) {
|
|
1827
|
+
jbcount = d.v;
|
|
1828
|
+
break;
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
let acountsum = 0;
|
|
1833
|
+
if (evt.junctionAlst) {
|
|
1834
|
+
for (const ja of evt.junctionAlst) {
|
|
1835
|
+
if (ja && ja.data) {
|
|
1836
|
+
for (const d of ja.data) {
|
|
1837
|
+
if (d.tkid == sample.tkid) {
|
|
1838
|
+
acountsum += d.v;
|
|
1839
|
+
break;
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
let percent;
|
|
1846
|
+
if (jbcount == 0) {
|
|
1847
|
+
percent = 0;
|
|
1848
|
+
} else {
|
|
1849
|
+
percent = Math.ceil(100 * jbcount / (jbcount + acountsum / evt.junctionAlst.length));
|
|
1850
|
+
}
|
|
1851
|
+
holder.append("div").html(percent + '% <span style="font-size:.7em;color:#858585;">' + skipwhichexon + "</span>");
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
function get_leftLabelMaxwidth(tk) {
|
|
1855
|
+
const collectlabw = [];
|
|
1856
|
+
tk.tklabel.each(function() {
|
|
1857
|
+
collectlabw.push(this.getBBox().width);
|
|
1858
|
+
});
|
|
1859
|
+
if (tk.label_mcount) {
|
|
1860
|
+
tk.label_mcount.each(function() {
|
|
1861
|
+
collectlabw.push(this.getBBox().width);
|
|
1862
|
+
});
|
|
1863
|
+
}
|
|
1864
|
+
tk.leftLabelMaxwidth = Math.max(...collectlabw);
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
// src/block.tk.junction.js
|
|
1868
|
+
var binpxw = 5;
|
|
1869
|
+
var modefold = 1;
|
|
1870
|
+
var moderaise = 2;
|
|
1871
|
+
var modesample = 3;
|
|
1872
|
+
var labyspace = 5;
|
|
1873
|
+
function makeTk(tk, block) {
|
|
1874
|
+
tk.leftaxis = tk.gleft.append("g");
|
|
1875
|
+
let laby = labyspace + block.labelfontsize;
|
|
1876
|
+
const thistip = new Menu({ padding: "none" });
|
|
1877
|
+
tk.label_mcount = block.maketklefthandle(tk, laby).on("click", (event) => {
|
|
1878
|
+
label_mcount_fillpane(tk, block, thistip);
|
|
1879
|
+
});
|
|
1880
|
+
laby += labyspace + block.labelfontsize;
|
|
1881
|
+
tk.totalsamplecount = 0;
|
|
1882
|
+
tk.height_main = 100;
|
|
1883
|
+
tk.config_handle = block.maketkconfighandle(tk).on("click", (event) => configpanel(tk, block));
|
|
1884
|
+
if (tk.categories || tk.cohortsetting) {
|
|
1885
|
+
const [tr, td] = legend_newrow(block, tk.name);
|
|
1886
|
+
tk.tr_legend = tr;
|
|
1887
|
+
tk.td_legend = td;
|
|
1888
|
+
}
|
|
1889
|
+
if (tk.categories) {
|
|
1890
|
+
category2legend(tk.categories, tk.td_legend);
|
|
1891
|
+
}
|
|
1892
|
+
if (tk.cohortsetting) {
|
|
1893
|
+
tk.cohortsetting.holder = tk.td_legend.append("div").style("margin-top", "10px");
|
|
1894
|
+
tk.cohortsetting.legendholder = tk.cohortsetting.holder.append("div");
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
function junctionload(tk, block) {
|
|
1898
|
+
if (tk.uninitialized) {
|
|
1899
|
+
makeTk(tk, block);
|
|
1900
|
+
delete tk.uninitialized;
|
|
1901
|
+
}
|
|
1902
|
+
if ((block.zoomedin || block.resized) && tk.data) {
|
|
1903
|
+
const junc = [];
|
|
1904
|
+
for (const i of tk.data) {
|
|
1905
|
+
const oldx = i.x;
|
|
1906
|
+
const e = j2block(i, block);
|
|
1907
|
+
if (e) {
|
|
1908
|
+
continue;
|
|
1909
|
+
}
|
|
1910
|
+
if (i.x0 >= 0 && i.x0 <= block.width || i.x1 >= 0 && i.x1 <= block.width) {
|
|
1911
|
+
i.x = oldx;
|
|
1912
|
+
junc.push(i);
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
rendertk(junc, tk, block);
|
|
1916
|
+
return;
|
|
1917
|
+
}
|
|
1918
|
+
if (tk.fixeddata) {
|
|
1919
|
+
block.tkcloakon(tk);
|
|
1920
|
+
const junc2 = [];
|
|
1921
|
+
for (const j of tk.fixeddata) {
|
|
1922
|
+
const j2 = {
|
|
1923
|
+
chr: j.chr,
|
|
1924
|
+
start: j.start,
|
|
1925
|
+
stop: j.stop,
|
|
1926
|
+
data: j.data,
|
|
1927
|
+
type: j.type
|
|
1928
|
+
};
|
|
1929
|
+
const e = j2block(j2, block);
|
|
1930
|
+
if (e) {
|
|
1931
|
+
continue;
|
|
1932
|
+
}
|
|
1933
|
+
junc2.push(j2);
|
|
1934
|
+
}
|
|
1935
|
+
tk.totalsamplecount = tk.tracks[0].samplecount;
|
|
1936
|
+
tk.axisheight = 200;
|
|
1937
|
+
tk.legheight = 50;
|
|
1938
|
+
tk.bottompad = 0;
|
|
1939
|
+
tk.qmradius = 2;
|
|
1940
|
+
tk.lowpad = 15;
|
|
1941
|
+
tk.padheight = 10;
|
|
1942
|
+
rendertk(junc2, tk, block);
|
|
1943
|
+
return;
|
|
1944
|
+
}
|
|
1945
|
+
if (!tk.tracks) {
|
|
1946
|
+
block.tkcloakoff(tk, { error: "neither .tracks[] or .fixeddata[] are available" });
|
|
1947
|
+
tk.height_main = 50;
|
|
1948
|
+
block.block_setheight();
|
|
1949
|
+
return;
|
|
1950
|
+
}
|
|
1951
|
+
block.block_setheight();
|
|
1952
|
+
block.tkcloakon(tk);
|
|
1953
|
+
const bincount = Math.ceil(block.width / binpxw);
|
|
1954
|
+
let bins = null;
|
|
1955
|
+
let donenum = 0;
|
|
1956
|
+
const tasks = [];
|
|
1957
|
+
const allfiledata = [];
|
|
1958
|
+
for (const t of tk.tracks) {
|
|
1959
|
+
const getheader = new Promise((resolve, reject) => {
|
|
1960
|
+
if (t.rnapegfile) {
|
|
1961
|
+
t.samplecount = 1;
|
|
1962
|
+
return resolve();
|
|
1963
|
+
}
|
|
1964
|
+
if (t.samplecount != void 0 && t.checkedheader) return resolve();
|
|
1965
|
+
const par = {};
|
|
1966
|
+
if (t.file) {
|
|
1967
|
+
par.file = t.file;
|
|
1968
|
+
} else {
|
|
1969
|
+
par.url = t.url;
|
|
1970
|
+
if (t.indexURL) par.indexURL = t.indexURL;
|
|
1971
|
+
}
|
|
1972
|
+
dofetch3("tabixheader", { body: par }).then((data) => {
|
|
1973
|
+
if (data.error) return reject("cannot load header for member track " + t.name + ": " + data.error);
|
|
1974
|
+
t.checkedheader = true;
|
|
1975
|
+
const str = data.lines.join("");
|
|
1976
|
+
if (!str) {
|
|
1977
|
+
} else {
|
|
1978
|
+
const l = str.trim().split(" ");
|
|
1979
|
+
t.headersamples = [];
|
|
1980
|
+
for (let i = 5; i < l.length; i++) {
|
|
1981
|
+
const str2 = l[i];
|
|
1982
|
+
let j = null;
|
|
1983
|
+
if (str2[0] == "{" && str2[str2.length - 1] == "}") {
|
|
1984
|
+
try {
|
|
1985
|
+
j = JSON.parse(str2);
|
|
1986
|
+
} catch (e) {
|
|
1987
|
+
console.error("header line field [" + i + "] is broken json: " + str2);
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
if (j) {
|
|
1991
|
+
j.tkid = Math.random().toString();
|
|
1992
|
+
t.headersamples.push(j);
|
|
1993
|
+
} else {
|
|
1994
|
+
t.headersamples.push({
|
|
1995
|
+
name: l[i],
|
|
1996
|
+
tkid: Math.random().toString()
|
|
1997
|
+
});
|
|
1998
|
+
}
|
|
1999
|
+
}
|
|
2000
|
+
t.samplecount = t.headersamples.length;
|
|
2001
|
+
tk.totalsamplecount += t.samplecount;
|
|
2002
|
+
}
|
|
2003
|
+
resolve();
|
|
2004
|
+
});
|
|
2005
|
+
});
|
|
2006
|
+
const getdata = new Promise((resolve, reject) => {
|
|
2007
|
+
getheader.then(() => {
|
|
2008
|
+
const par = {
|
|
2009
|
+
genome: block.genome.name,
|
|
2010
|
+
rglst: block.tkarg_maygm(t)
|
|
2011
|
+
};
|
|
2012
|
+
if (bincount) par.bincount = bincount;
|
|
2013
|
+
if (t.file || t.rnapegfile) {
|
|
2014
|
+
par.file = t.file || t.rnapegfile;
|
|
2015
|
+
} else {
|
|
2016
|
+
par.url = t.url;
|
|
2017
|
+
if (t.indexURL) par.indexURL = t.indexURL;
|
|
2018
|
+
}
|
|
2019
|
+
if (t.rnapegfile) {
|
|
2020
|
+
par.isrnapeg = 1;
|
|
2021
|
+
}
|
|
2022
|
+
dofetch3("junction", { body: par }).then((data) => {
|
|
2023
|
+
donenum++;
|
|
2024
|
+
if (tk.tracks.length > 1) {
|
|
2025
|
+
block.tkprogress(tk, donenum / tk.tracks.length);
|
|
2026
|
+
}
|
|
2027
|
+
if (!data) reject("server error for getting member track " + t.name);
|
|
2028
|
+
if (data.error) reject("Cannot get data: " + data.error);
|
|
2029
|
+
if (!data.lst && !data.bins) reject("wrong response when getting data for " + t.name);
|
|
2030
|
+
if (data.lst) {
|
|
2031
|
+
if (data.lst[0] && data.lst[0].rawdata && t.samplecount == void 0) {
|
|
2032
|
+
t.samplecount = data.lst[0].rawdata.length;
|
|
2033
|
+
tk.totalsamplecount += t.samplecount;
|
|
2034
|
+
}
|
|
2035
|
+
if (bins) {
|
|
2036
|
+
} else {
|
|
2037
|
+
const thisfilejunctions = [];
|
|
2038
|
+
for (const k of data.lst) {
|
|
2039
|
+
k.data = [];
|
|
2040
|
+
for (let i = 0; i < k.rawdata.length; i++) {
|
|
2041
|
+
const v = k.rawdata[i];
|
|
2042
|
+
if (!Number.isInteger(v) || v <= 0) {
|
|
2043
|
+
continue;
|
|
2044
|
+
}
|
|
2045
|
+
const s = { v };
|
|
2046
|
+
if (t.headersamples) {
|
|
2047
|
+
const s0 = t.headersamples[i];
|
|
2048
|
+
if (s0) {
|
|
2049
|
+
for (const _k in s0) {
|
|
2050
|
+
s[_k] = s0[_k];
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
} else {
|
|
2054
|
+
if (t.name) s.name = t.name;
|
|
2055
|
+
if (t.sample) s.sample = t.sample;
|
|
2056
|
+
if (t.patient) s.patient = t.patient;
|
|
2057
|
+
if (t.sampeltype) s.sampletype = t.sampletype;
|
|
2058
|
+
if (t.tkid) s.tkid = t.tkid;
|
|
2059
|
+
if (t.file) s.file = t.file;
|
|
2060
|
+
if (t.url) s.url = t.url;
|
|
2061
|
+
if (t.indexURL) s.indexURL = t.indexURL;
|
|
2062
|
+
}
|
|
2063
|
+
k.data.push(s);
|
|
2064
|
+
}
|
|
2065
|
+
delete k.rawdata;
|
|
2066
|
+
thisfilejunctions.push(k);
|
|
2067
|
+
}
|
|
2068
|
+
resolve(thisfilejunctions);
|
|
2069
|
+
}
|
|
2070
|
+
} else {
|
|
2071
|
+
}
|
|
2072
|
+
});
|
|
2073
|
+
}).catch((err) => reject(err));
|
|
2074
|
+
});
|
|
2075
|
+
tasks.push(getdata);
|
|
2076
|
+
}
|
|
2077
|
+
Promise.all(tasks).then((data) => {
|
|
2078
|
+
const junc = [];
|
|
2079
|
+
data.forEach((dat) => {
|
|
2080
|
+
if (!dat) return;
|
|
2081
|
+
dat.forEach((k) => {
|
|
2082
|
+
let notfound = true;
|
|
2083
|
+
for (const j of junc) {
|
|
2084
|
+
if (j.start == k.start && j.stop == k.stop) {
|
|
2085
|
+
j.data = j.data.concat(k.data);
|
|
2086
|
+
notfound = false;
|
|
2087
|
+
break;
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
if (notfound) {
|
|
2091
|
+
junc.push(k);
|
|
2092
|
+
}
|
|
2093
|
+
});
|
|
2094
|
+
});
|
|
2095
|
+
for (const j of junc) {
|
|
2096
|
+
j2block(j, block);
|
|
2097
|
+
}
|
|
2098
|
+
for (const j of junc) {
|
|
2099
|
+
smuggleattributes(j);
|
|
2100
|
+
}
|
|
2101
|
+
if (!tk.axisheight) {
|
|
2102
|
+
if (tk.totalsamplecount > 1) {
|
|
2103
|
+
tk.axisheight = 200;
|
|
2104
|
+
tk.legheight = 50;
|
|
2105
|
+
tk.bottompad = 0;
|
|
2106
|
+
tk.qmradius = 2;
|
|
2107
|
+
tk.lowpad = 15;
|
|
2108
|
+
tk.padheight = 10;
|
|
2109
|
+
} else {
|
|
2110
|
+
tk.axisheight = 100;
|
|
2111
|
+
tk.legheight = 20;
|
|
2112
|
+
tk.bottompad = 0;
|
|
2113
|
+
tk.lowpad = 10;
|
|
2114
|
+
tk.padheight = 10;
|
|
2115
|
+
}
|
|
2116
|
+
if (tk.cohortsetting) {
|
|
2117
|
+
initcohortsetting(tk, block);
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
rendertk(junc, tk, block);
|
|
2121
|
+
}).catch((err) => {
|
|
2122
|
+
tk.glider.selectAll("*").remove();
|
|
2123
|
+
block.tkcloakoff(tk, { error: err });
|
|
2124
|
+
block.block_setheight();
|
|
2125
|
+
});
|
|
2126
|
+
}
|
|
2127
|
+
function j2block(j, block) {
|
|
2128
|
+
const starthit = block.seekcoord(j.chr, j.start)[0];
|
|
2129
|
+
if (!starthit) {
|
|
2130
|
+
return true;
|
|
2131
|
+
}
|
|
2132
|
+
const stophit = block.seekcoord(j.chr, j.stop)[0];
|
|
2133
|
+
if (!stophit) {
|
|
2134
|
+
return true;
|
|
2135
|
+
}
|
|
2136
|
+
const startout = starthit.x < 0 || starthit.x > block.width;
|
|
2137
|
+
const stopout = stophit.x < 0 || stophit.x > block.width;
|
|
2138
|
+
if (startout && stopout) {
|
|
2139
|
+
return true;
|
|
2140
|
+
}
|
|
2141
|
+
j.x0 = starthit.x;
|
|
2142
|
+
j.x1 = stophit.x;
|
|
2143
|
+
j.x = (j.x0 + j.x1) / 2;
|
|
2144
|
+
j._x = j.x;
|
|
2145
|
+
if (!j.modefix) {
|
|
2146
|
+
j.mode = moderaise;
|
|
2147
|
+
}
|
|
2148
|
+
return false;
|
|
2149
|
+
}
|
|
2150
|
+
function smuggleattributes(j) {
|
|
2151
|
+
}
|
|
2152
|
+
function label_mcount_fillpane(tk, block, tip) {
|
|
2153
|
+
tip.clear();
|
|
2154
|
+
const holder = tip.d;
|
|
2155
|
+
const types = /* @__PURE__ */ new Map();
|
|
2156
|
+
for (const j of tk.data) {
|
|
2157
|
+
if (!j.type) continue;
|
|
2158
|
+
if (!types.has(j.type)) {
|
|
2159
|
+
types.set(j.type, []);
|
|
2160
|
+
}
|
|
2161
|
+
if (j.data) {
|
|
2162
|
+
types.get(j.type).push(j.data.map((i) => i.v));
|
|
2163
|
+
} else {
|
|
2164
|
+
types.get(j.type).push(j.v);
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
if (types.size) {
|
|
2168
|
+
const d = holder.append("div").style("margin", "8px");
|
|
2169
|
+
for (const [type, valuelst] of types) {
|
|
2170
|
+
d.append("div").style("margin", "2px").html(
|
|
2171
|
+
valuelst.length + ' <span style="font-size:.8em;color:' + tk.categories[type].color + '">' + type + " junction" + (valuelst.length > 1 ? "s" : "") + "</span>"
|
|
2172
|
+
);
|
|
2173
|
+
let vlst = valuelst;
|
|
2174
|
+
if (tk.tracks) {
|
|
2175
|
+
vlst = [];
|
|
2176
|
+
for (const l of valuelst) {
|
|
2177
|
+
vlst.push(...l);
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
if (vlst.length == 1) {
|
|
2181
|
+
} else {
|
|
2182
|
+
d.append("table").style("margin-left", "20px").html(
|
|
2183
|
+
'<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
|
|
2184
|
+
);
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
} else {
|
|
2188
|
+
let vlst = [];
|
|
2189
|
+
if (tk.tracks) {
|
|
2190
|
+
for (const j of tk.data) {
|
|
2191
|
+
vlst.push(...j.data.map((i) => i.v));
|
|
2192
|
+
}
|
|
2193
|
+
} else {
|
|
2194
|
+
vlst = tk.data.map((j) => j.v);
|
|
2195
|
+
}
|
|
2196
|
+
if (vlst.length > 1) {
|
|
2197
|
+
holder.append("table").html(
|
|
2198
|
+
'<tr><td style="text-align:right;">' + Math.max(...vlst) + '</td><td style="color:#858585;font-size:.7em">max read count</td></tr><tr><td style="text-align:right;">' + Math.min(...vlst) + '</td><td style="color:#858585;font-size:.7em">min</td></tr><tr><td style="text-align:right;">' + Math.ceil(vlst.reduce((i, j) => j + i, 0) / vlst.length) + '</td><td style="color:#858585;font-size:.7em">mean</td></tr>'
|
|
2199
|
+
);
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
holder.append("div").text("Fold").classed("sja_menuoption", true).on("click", (event) => {
|
|
2203
|
+
tip.hide();
|
|
2204
|
+
for (const j of tk.data) {
|
|
2205
|
+
j.mode = modefold;
|
|
2206
|
+
j.modefix = true;
|
|
2207
|
+
}
|
|
2208
|
+
horiplace(tk.data, block.width, tk);
|
|
2209
|
+
});
|
|
2210
|
+
holder.append("div").text("Expand").classed("sja_menuoption", true).on("click", (event) => {
|
|
2211
|
+
tip.hide();
|
|
2212
|
+
for (const j of tk.data) {
|
|
2213
|
+
j.modefix = false;
|
|
2214
|
+
}
|
|
2215
|
+
automode(tk, null, block.width);
|
|
2216
|
+
for (const j of tk.data) {
|
|
2217
|
+
j.modefix = true;
|
|
2218
|
+
}
|
|
2219
|
+
horiplace(tk.data, block.width, tk);
|
|
2220
|
+
});
|
|
2221
|
+
holder.append("div").text("Download").classed("sja_menuoption", true).on("click", (event) => {
|
|
2222
|
+
tip.hide();
|
|
2223
|
+
downloadjunctions(tk);
|
|
2224
|
+
});
|
|
2225
|
+
tip.showunder(tk.label_mcount.node());
|
|
2226
|
+
}
|
|
2227
|
+
function downloadjunctions(tk) {
|
|
2228
|
+
const txt = [];
|
|
2229
|
+
if (tk.file || tk.url) {
|
|
2230
|
+
if (tk.data) {
|
|
2231
|
+
txt.push("chromosome start stop read_count" + (tk.categories ? " type" : ""));
|
|
2232
|
+
for (const j of tk.data) {
|
|
2233
|
+
txt.push(j.chr + " " + j.start + " " + j.stop + " " + j.v + (tk.categories ? " " + j.type : ""));
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
} else if (tk.tracks) {
|
|
2237
|
+
if (tk.data) {
|
|
2238
|
+
const header = ["chromosome start stop" + (tk.categories ? " type" : "")];
|
|
2239
|
+
for (const t of tk.tracks) {
|
|
2240
|
+
const lst = [];
|
|
2241
|
+
if (t.patient) lst.push(t.patient);
|
|
2242
|
+
if (t.sampletype) lst.push(t.sampletype);
|
|
2243
|
+
if (lst.length == 0) {
|
|
2244
|
+
lst.push(t.name);
|
|
2245
|
+
}
|
|
2246
|
+
header.push(lst.join(", "));
|
|
2247
|
+
}
|
|
2248
|
+
txt.push(header.join(" "));
|
|
2249
|
+
for (const j of tk.data) {
|
|
2250
|
+
const lst = [j.chr + " " + j.start + " " + j.stop + (tk.categories ? " " + j.type : "")];
|
|
2251
|
+
const hash = /* @__PURE__ */ new Map();
|
|
2252
|
+
for (const jsample of j.data) {
|
|
2253
|
+
hash.set(jsample.tkid, jsample.v);
|
|
2254
|
+
}
|
|
2255
|
+
for (const t of tk.tracks) {
|
|
2256
|
+
lst.push(hash.has(t.tkid) ? hash.get(t.tkid) : "");
|
|
2257
|
+
}
|
|
2258
|
+
txt.push(lst.join(" "));
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
export_data(tk.name, [{ label: "Splice junction", text: txt.join("\n") }]);
|
|
2263
|
+
}
|
|
2264
|
+
function configpanel(tk, block) {
|
|
2265
|
+
tk.tkconfigtip.clear().showunder(tk.config_handle.node());
|
|
2266
|
+
const holder = tk.tkconfigtip.d;
|
|
2267
|
+
{
|
|
2268
|
+
const row = holder.append("div").style("margin-bottom", "10px");
|
|
2269
|
+
row.append("span").html("Read count cutoff ");
|
|
2270
|
+
row.append("input").property("value", tk.readcountcutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event) => {
|
|
2271
|
+
if (!keyupEnter(event)) return;
|
|
2272
|
+
const v = Number.parseFloat(event.target.value);
|
|
2273
|
+
if (v == 0) {
|
|
2274
|
+
if (tk.readcountcutoff) {
|
|
2275
|
+
tk.readcountcutoff = 0;
|
|
2276
|
+
junctionload(tk, block);
|
|
2277
|
+
} else {
|
|
2278
|
+
}
|
|
2279
|
+
return;
|
|
2280
|
+
}
|
|
2281
|
+
if (!v || v < 0) {
|
|
2282
|
+
return;
|
|
2283
|
+
}
|
|
2284
|
+
if (tk.readcountcutoff) {
|
|
2285
|
+
if (tk.readcountcutoff == v) {
|
|
2286
|
+
} else if (tk.readcountcutoff > v) {
|
|
2287
|
+
tk.readcountcutoff = v;
|
|
2288
|
+
junctionload(tk, block);
|
|
2289
|
+
} else {
|
|
2290
|
+
tk.readcountcutoff = v;
|
|
2291
|
+
rendertk(tk.data, tk, block);
|
|
2292
|
+
}
|
|
2293
|
+
} else {
|
|
2294
|
+
tk.readcountcutoff = v;
|
|
2295
|
+
junctionload(tk, block);
|
|
2296
|
+
}
|
|
2297
|
+
});
|
|
2298
|
+
const note = row.append("div").style("font-size", ".7em").style("color", "#858585");
|
|
2299
|
+
if (tk.totalsamplecount > 1) {
|
|
2300
|
+
note.text("For a junction, samples with read count lower than cutoff will not be shown.");
|
|
2301
|
+
} else {
|
|
2302
|
+
note.text("Junctions with read count lower than cutoff will not be shown.");
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
function initcohortsetting(tk, block) {
|
|
2307
|
+
if (!tk.cohortsetting.cohort) {
|
|
2308
|
+
sayerror(tk.cohortsetting.holder, ".cohort missing from tk.cohortsetting");
|
|
2309
|
+
return;
|
|
2310
|
+
}
|
|
2311
|
+
if (!tk.cohortsetting.cohort.levels) {
|
|
2312
|
+
sayerror(tk.cohortsetting.holder, ".levels missing from tk.cohortsetting.cohort");
|
|
2313
|
+
return;
|
|
2314
|
+
}
|
|
2315
|
+
if (!tk.cohortsetting.cohort.levels[0]) {
|
|
2316
|
+
sayerror(tk.cohortsetting.holder, "tk.cohortsetting.cohort.levels[0] is invalid");
|
|
2317
|
+
return;
|
|
2318
|
+
}
|
|
2319
|
+
tk.cohortsetting.levelseperator = ".";
|
|
2320
|
+
tk.cohortsetting.uselevelidx = 0;
|
|
2321
|
+
setcohortlegend_usecohortlevel(tk, block);
|
|
2322
|
+
}
|
|
2323
|
+
function setcohortlegend_usecohortlevel(tk, block) {
|
|
2324
|
+
tk.cohortsetting.legendholder.selectAll("*").remove();
|
|
2325
|
+
tk.cohortsetting.colorfunc = ordinal(category10_default);
|
|
2326
|
+
const stratkey2count = /* @__PURE__ */ new Map();
|
|
2327
|
+
for (const t of tk.tracks) {
|
|
2328
|
+
for (const s of t.headersamples) {
|
|
2329
|
+
if (!s[tk.cohortsetting.cohort.levels[0].k]) {
|
|
2330
|
+
continue;
|
|
2331
|
+
}
|
|
2332
|
+
const thissamplekeys = [];
|
|
2333
|
+
for (let lidx = 0; lidx <= tk.cohortsetting.uselevelidx; lidx++) {
|
|
2334
|
+
const thislevelkey = s[tk.cohortsetting.cohort.levels[lidx].k];
|
|
2335
|
+
if (thislevelkey) {
|
|
2336
|
+
thissamplekeys.push(thislevelkey);
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2339
|
+
const str = thissamplekeys.join(tk.cohortsetting.levelseperator);
|
|
2340
|
+
if (!stratkey2count.has(str)) {
|
|
2341
|
+
stratkey2count.set(str, {
|
|
2342
|
+
count: 0,
|
|
2343
|
+
label: s[tk.cohortsetting.cohort.levels[tk.cohortsetting.uselevelidx].full]
|
|
2344
|
+
});
|
|
2345
|
+
}
|
|
2346
|
+
stratkey2count.get(str).count++;
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2349
|
+
const sorteditems = [...stratkey2count].sort((a, b) => b[1].count - a[1].count);
|
|
2350
|
+
for (const item of sorteditems) {
|
|
2351
|
+
const color = tk.cohortsetting.colorfunc(item[0]);
|
|
2352
|
+
const label = item[1].label;
|
|
2353
|
+
const row = tk.cohortsetting.legendholder.append("div").style("margin-top", "5px");
|
|
2354
|
+
row.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background-color", color).style("margin-right", "10px").html(" ");
|
|
2355
|
+
row.append("div").style("display", "inline-block").text(label);
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
export {
|
|
2359
|
+
junctionload,
|
|
2360
|
+
modefold,
|
|
2361
|
+
moderaise,
|
|
2362
|
+
modesample
|
|
2363
|
+
};
|
|
2364
|
+
//# sourceMappingURL=block.tk.junction-VZS2DEDO.js.map
|