Skip to content

some blank regions show in the plotHeatmap plot #1407

@wddyzxxx

Description

@wddyzxxx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions