selectArea: Select an area in the heatmap

Description Usage Arguments Details Value Author(s) Examples

View source: R/selectArea.R

Description

Select an area in the heatmap

Usage

1
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 <[email protected]>

Examples

1
2
# No example for this function
NULL

eilslabs/ComplexHeatmap documentation built on Oct. 19, 2017, 2:13 p.m.