read_components: Read a component TIFF file.

Description Usage Arguments Details Value See Also Examples

View source: R/read_components.R

Description

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.

Usage

1

Arguments

path

Path to the component_data.tif file.

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 PerkinElmer fork of the tiff package to remove this limitation.

Value

A named list of matrices, one for each component.

See Also

Other file readers: get_field_info, list_cell_seg_files, read_cell_seg_data, read_maps

Examples

1
2
3
4
5
## Not run: 
path <- "/path/to/my_component_data.tif"
components <- read_components(path)

## End(Not run)

PerkinElmer/phenoptr documentation built on May 30, 2019, 8:01 a.m.