Select a position in the heatmap
Usage
selectPosition(
ht_list = get_last_ht(),
pos = NULL,
mark = TRUE,
verbose = TRUE,
ht_pos = NULL,
calibrate = TRUE
)Arguments
- ht_list
A
ComplexHeatmap::HeatmapListobject returned byComplexHeatmap::draw,Heatmap-methodorComplexHeatmap::draw,HeatmapList-method. If it is omitted, it uses the last generated heatmap.- pos
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 agrid::unitobject with length two which corresponds to the x and y position of the point.- mark
Whether to mark the selected position as a point.
- verbose
Whether to print messages.
- ht_pos
A value returned by
htPositionsOnDevice().- calibrate
Internally used. Mainly works for Rstudio desktop IDE.
Value
A S4Vectors::DataFrame object with row indices and column indices corresponding to the selected position.