selectArea.Rd
Select an area in the heatmap
selectArea(ht_list = get_last_ht(), pos1 = NULL, pos2 = NULL, mark = TRUE, verbose = TRUE,
ht_pos = NULL, include_annotation = FALSE, calibrate = TRUE)
A HeatmapList-class
object returned by draw,Heatmap-method
or draw,HeatmapList-method
. If it is omitted, it uses the last generated heatmap.
Whether to mark the selected area as a rectangle.
If the value is NULL
, it can be selected by click on the heatmap (of cource, the heatmap should be on the interactive graphics device). If it is set, it must be a unit
object with length two which corresponds to the x and y position of the point.
Another point as pos1
, together with pos1
defines the selected region.
Whether to print messages.
A value returned by htPositionsOnDevice
.
Internally used.
Internally used. Mainly works for Rstudio desktop IDE.
The regions can be selected interactively or selected manually by setting pos1
and pos2
.
A DataFrame
object with row indices and column indices corresponding to the selected region.