deepTools icon indicating copy to clipboard operation
deepTools copied to clipboard

some blank regions show in the plotHeatmap plot

Open wddyzxxx opened this issue 6 months ago • 0 comments

Hi deeptools team, thank you for having developed such good tools.

The problem I met is that, when combining "computeMatrix scale-regions" and "plotHeatmap", I alwasy see blank regions in the plot (see below). I don't know how it was generated and how to avoid it. But when using "computeMatrix reference-point", there is no such suitation.

Here is the code I used

samtools index $indir/K4me1.bam
bamCoverage -b $indir/K4me1.bam  -o $outdir/K4me1.bw -bs 50 -p 30

computeMatrix scale-regions \
    -a 5000 \
    -b 5000 \
    -S $outdir/K4me1.bw \
    -R Merged_K562.bed \
    -o $outdir/K4me1_Region.gz \
    -p 20 \
    --skipZeros \
    --missingDataAsZero

plotHeatmap \
    -m $outdir/K4me1_Region.gz \
    -o $outdir/2025-07-04_K4me1_Heatmap.pdf \
    --colorList 'white,#2600f6' \
    --samplesLabel K4me1_G15-16 \
    --zMax auto \
    --refPointLabel PeakCenter \
    --startLabel Start \
    --endLabel End
Image Image

wddyzxxx avatar Jul 04 '25 12:07 wddyzxxx