selectArea {ComplexHeatmap} | R Documentation

## Select an area in the heatmap

### Description

Select an area in the heatmap

### Usage

    selectArea(mark = TRUE)

### Arguments

`mark` | whether mark the selected area as a rectangle

### Details

Users can use mouse to click two positions on the heatmap, the function will return the row index and column index for the selected region in the selected matrix.

This function only works under interactive graphical environment.

### Value

A list containing row index and column index corresponding to the selected region.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    # No example for this function
    NULL

[Package ComplexHeatmap version 1.18.1 Index]