selectROI-methods {Cardinal} | R Documentation |
Manually select regions-of-interest or pixels on an imaging dataset. This uses the built-in locator
function. The method has the same form as the image
method for plotting imaging datasets.
## S4 method for signature 'SparseImagingExperiment' selectROI(object, ..., mode = c("region", "pixels")) ## S4 method for signature 'SImageSet' selectROI(object, formula = ~ x * y, mode = c("region", "pixels"), ..., main, subset = TRUE, lattice = FALSE)
object |
An imaging dataset. |
formula |
Passed to |
mode |
What kind of selection to perform: 'region' to select a region-of-interest, or 'pixels' to select individual pixels. |
... |
Addtional arguments to be passed to |
main |
Passed to |
subset |
Passed to |
lattice |
Must be false. |
A logical
vector of length equal to the number of pixels.
Kylie A. Bemis