ROI centroid
Usage
at_roi_centroid(roi, call = rlang::caller_env())Arguments
- roi
An annot_roi.
- call
The calling environment, for error reporting.
Examples
at_roi_centroid(at_roi_rect(0, 0, 10, 10, label = "a"))
#> [1] 5 5
ROI centroid
at_roi_centroid(roi, call = rlang::caller_env())An annot_roi.
The calling environment, for error reporting.
at_roi_centroid(at_roi_rect(0, 0, 10, 10, label = "a"))
#> [1] 5 5