coords {heatmaps}R Documentation

Return or set the coords in a Heatmap

Description

Return or set the coords in a Heatmap

Usage

coords(x)

## S4 method for signature 'Heatmap'
coords(x)

coords(x) <- value

## S4 replacement method for signature 'Heatmap'
coords(x) <- value

Arguments

x

A heatmap

value

Replacement value

Value

integer, length 2, value of x@coords

Examples


data(HeatmapExamples)
coords(hm) = c(-100, 100)

[Package heatmaps version 1.8.0 Index]