Read an inForm component_data.tif file. If the file contains multiple resolutions or other data, keep only the full-resolution component images, extract the component names from the image descriptions, and return a named list of image matrices.

read_components(path)

Arguments

path

Path to the component_data.tif file.

Value

A named list of matrices, one for each component.

Details

Images are oriented to match the coordinates in a cell seg data file, i.e. (0, 0) at the top left and the row corresponding to Y and column corresponding to X.

Limited to 1x1 fields due to limitations in the tiff package. Install the Akoya Biosciences fork of the tiff package to remove this limitation.

See also

Examples

if (FALSE) {
path <- "/path/to/my_component_data.tif"
components <- read_components(path)
}