Read images based on inForm composite, including composite with phenotype overlay, and phenotype overlay alone.

read_composites(path)

Arguments

path

Path to the composite image file

Value

A list of image matrices, possibly containing image metadata in attributes (see Details).

Details

If the selected file is a JPEG file, the returned value will be a list containing a single image matrix and no attributes other than dim.

If the selected file is a TIFF file, the returned value will be a list possibly containing multiple image matrices with many metadata attributes. In addition to the TIFF metadata provided by tiff::readTIFF(), attributes may include

  • composite_name - the user's name for this composite

  • components - a named list, where names are component names and values are hex colors

  • scheme_name - the user's name for the phenotype scheme

  • phenotypes - a named list, where names are phenotype names and values are hex colors