Skip to contents

Collapses the primary scene's channel list into a one-row-per-channel data.frame for quick inspection. Multi-valued fields such as color_rgb are rendered as strings.

Usage

channel_table(meta)

Arguments

meta

A QPTIFFMetadata object.

Value

A data.frame with one row per channel; zero rows when the image has no channel metadata.

Examples

path <- system.file("extdata", "PA_HNC_sample.ome.tiff", package = "bgnormR")
img  <- read_qptiff(path)
#> Reading TIFF directory structure ...
#> Reading OME-TIFF metadata ...
#> Reading IFD page layouts ...
#> Loading 5 channel(s) ...
#> Loading 5 channel(s) ...
channel_table(metadata(img))
#> Error: unable to find an inherited method for function ‘metadata’ for signature ‘x = "QPTIFFImage"’