Usage
img_crop_raster(raster, hires_scale, tissue_positions)
Arguments
- raster
An image magick object that is plotted as the tissue.
- hires_scale
High resolution scale factor json file.
- tissue_positions
A `data.frame` with the pixel coordinates of each spot.
Value
A magick image object cropped to the appropriate bounding box.