powered by
highlight one cell of grob matrix in gtab
highlightOneCell(gtab, row, col, currentPick)
returns gtab, a gtable object
a gtable object
integer row number of cell to highlight
integer col number of cell to highlight
Boolean TRUE if this is the most recently chosen cell and we are to apply special highlighting
if(interactive()){ load("data/x_mtab.RData") load("data/x_clickCoord.RData") highlightOneCell(x_mtab,x_clickCoord[1,"x"],x_clickCoord[1,"y"],FALSE) }
Run the code above in your browser using DataLab