Skip to contents

The `ImageArray` class

Usage

ImageArray(data = list(), meta = Zattrs(), metadata = list(), ...)

# S4 method for class 'ImageArray'
data(x, i = 1)

# S4 method for class 'ImageArray'
dim(x)

Arguments

data

list of ZarrArrays

meta

Zattrs

metadata

optional list of arbitrary content describing the overall object.

...

option arguments passed to and from other methods.

x

ImageArray

scale

scalar index specifying which resolution to extract.

Value

ImageArray

Examples

dir.create(td <- tempfile())
pa <- unzip_merfish_demo(td)
#> returning path to cached zip
pa <- file.path(pa, "images", "rasterized")
(ia <- readImage(pa))
#> class: ImageArray  
#> Scales (1): (1,522,575)