Skip to contents

pizzarr demo data

Usage

pizzarr_sample(
  dataset = NULL,
  outdir = file.path(tempdir(TRUE), "pizzarr_sample")
)

Arguments

dataset

character defining which demo dataset is desired, If NULL, all are returned

outdir

character directory path to store sample zarr stores

Value

path to ready to use zarr store

Details

For directory stores, unzips the store to a temporary directory and returns the resulting path.

Examples

zarr_samples <- pizzarr_sample()

#printing without system path for example
gsub(tempdir(), "...", zarr_samples, fixed = TRUE)
#> [1] ".../pizzarr_sample/bcsd.zarr"               
#> [2] ".../pizzarr_sample/dog.ome.zarr"            
#> [3] ".../pizzarr_sample/fixtures/v2/data.zarr"   
#> [4] ".../pizzarr_sample/fixtures/v2/example.zarr"
#> [5] ".../pizzarr_sample/fixtures/v3/data.zarr"