Read a multiscale OME-Zarr file
Arguments
- path
Path to the OME-Zarr file.
- s3_client
Object created by
paws.storage::s3(). Only required for a file on S3. Leave asNULLfor a file on local storage.- lazy
Logical. If
TRUE(the default), use ZarrArray to read data lazily. IfFALSE, read data into memory using Rarr. If the data can fit into memory, settinglazy = FALSEmay result in better performance.- validate
Logical.If
TRUE(the default), validate the OME-Zarr file.
Examples
omezarrzip <- system.file("extdata",
"test_ngff_image_v04.ome.zarr.zip",
package = "romeo")
dir.create(td <- tempfile())
unzip(omezarrzip, exdir = td)
x <- ome_read(td)