Skip to contents

unzip selected demo data to specified folder

Usage

unzip_spd_demo(
  zipname = "mibitof.zip",
  destination,
  cache = BiocFileCache::BiocFileCache(),
  source
)

Arguments

zipname

character(1) should be name of zipped zarr archive found in Bioconductor OSN bucket

destination

character(1) a path to a folder that must exist

cache

defaults to BiocFileCache::BiocFileCache(), will serve as destination or source

source

character(1) one of "biocOSN", "sandbox", "local"

Value

Returns path to base of unzipped archive

Examples

tf <- tempfile()
dir.create(tf)
pa <- unzip_spd_demo(zipname="mibitof.zip", destination=tf, source="biocOSN")
#> returning path to cached zip
dir(pa, full.names=TRUE)
#> [1] "/var/folders/n4/p9th81md60s8nv12yv40sv8m0000gp/T//RtmpwStVyQ/filec7e6b0b3036/data.zarr/images"   
#> [2] "/var/folders/n4/p9th81md60s8nv12yv40sv8m0000gp/T//RtmpwStVyQ/filec7e6b0b3036/data.zarr/labels"   
#> [3] "/var/folders/n4/p9th81md60s8nv12yv40sv8m0000gp/T//RtmpwStVyQ/filec7e6b0b3036/data.zarr/tables"   
#> [4] "/var/folders/n4/p9th81md60s8nv12yv40sv8m0000gp/T//RtmpwStVyQ/filec7e6b0b3036/data.zarr/zmetadata"