addImageFile: Add image to SpatialOverlay from disk

View source: R/addImage.R

addImageFileR Documentation

Add image to SpatialOverlay from disk

Description

Add image to SpatialOverlay from disk

Usage

addImageFile(overlay, imageFile = NULL, res = NULL)

Arguments

overlay

SpatialOverlay object

imageFile

path to image

res

what resolution is the image given? 1 = largest, higher number = smaller This value will affect the coordinates of the overlays. res = 2, resolution is 1/2 the size as the raw image res = 3, resolution is 1/4 the size as the raw image res = 4, resolution is 1/8 the size as the raw image resolution = 1/2^(res-1)

Value

SpatialOverlay object with image


Nanostring-Biostats/SpatialOmicsOverlay documentation built on Dec. 18, 2024, 9:26 a.m.