Skip to content

Specify zMin / zMax / yMin / yMax to a single heatmap column #908

@jtourig

Description

@jtourig

When manually specifying the z/y Min/Max for plotHeatmap of a matrix with multiple samples, is it possible to only apply the parameters to one of the heatmaps and continue to use the automatic limits for the rest? I don't want one value to be reused for each, but rather only on one of three samples, the third in this case. I tried giving the empty string to samples I don't want to set, but that didn't work.

deeptools --version -> deeptools 3.3.0
python --version -> Python 3.7.3

plotHeatmap  --colorMap viridis --sortUsingSamples 1 \
	-m "$matrix" --plotFileFormat png -o "$out_path" \
	--colorMap viridis viridis magma \
	--zMin '' '' '-2' --zMax '' '' '2'

plotHeatmap: error: argument --zMin/-min: invalid float value: ''

My use case is in a script generating 30 sets of 3 heatmaps each, and eyeballing the limits for manual entry for the first two columns is getting old...

Also, great set of tools and thanks for it!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions