highlightOneCell {clickableImageMap}R Documentation

highlightOneCell

Description

highlight one cell of grob matrix in gtab

Usage

highlightOneCell(gtab, row, col, currentPick)

Arguments

gtab

a gtable object

row

integer row number of cell to highlight

col

integer col number of cell to highlight

currentPick

Boolean TRUE if this is the most recently chosen cell and we are to apply special highlighting

Value

returns gtab, a gtable object

Examples

if(interactive()){
load("data/x_mtab.RData")
load("data/x_clickCoord.RData")
highlightOneCell(x_mtab,x_clickCoord[1,"x"],x_clickCoord[1,"y"],FALSE)
}


[Package clickableImageMap version 1.0 Index]